diff --git a/wasm/basque.html.mem b/wasm/basque.html.mem index ea0cce7..439af52 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 75dabb1..06bc274 100644 --- a/wasm/basque.js +++ b/wasm/basque.js @@ -12,7 +12,7 @@ start:4982839,end:5028193,audio:0},{filename:"/assets/data/map_layout_7.txt",sta start:5212406,end:5470133,audio:0},{filename:"/assets/icons/basque_logo.png",start:5470133,end:5480776,audio:0},{filename:"/assets/icons/basque_logo.ico",start:5480776,end:5583606,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_256x256@2x.png",start:5583606,end:5703977,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_64x64@2x.png",start:5703977,end:5723947,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_128x128@2x.png",start:5723947,end:5776335,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_64x64.png", start:5776335,end:5784515,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_128x128.png",start:5784515,end:5804485,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_32x32@2x.png",start:5804485,end:5812665,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_512x512.png",start:5812665,end:5933036,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_16x16@2x.png",start:5933036,end:5937238,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_8x8@2x.png",start:5937238, end:5940145,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_16x16.png",start:5940145,end:5943052,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_512x512@2x.png",start:5943052,end:6170841,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_32x32.png",start:6170841,end:6175043,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_256x256.png",start:6175043,end:6227431,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_1024x1024.png",start:6227431,end:6455220, -audio:0}],remote_package_size:6455220,package_uuid:"cbf0e8ed-13c8-48ec-a3c7-5dcb482e4390"});var aa={},ba;for(ba in h)h.hasOwnProperty(ba)&&(aa[ba]=h[ba]);var ca=[],da="./this.program";function ea(a,b){throw b;}var fa=!1,ha=!1,ia=!1,ja=!1;fa="object"===typeof window;ha="function"===typeof importScripts;ia="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;ja=!fa&&!ia&&!ha;var ka="";function la(a){return h.locateFile?h.locateFile(a,ka):ka+a} +audio:0}],remote_package_size:6455220,package_uuid:"53af6a04-971b-4d1f-b077-ea7a9a87d89d"});var aa={},ba;for(ba in h)h.hasOwnProperty(ba)&&(aa[ba]=h[ba]);var ca=[],da="./this.program";function ea(a,b){throw b;}var fa=!1,ha=!1,ia=!1,ja=!1;fa="object"===typeof window;ha="function"===typeof importScripts;ia="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;ja=!fa&&!ia&&!ha;var ka="";function la(a){return h.locateFile?h.locateFile(a,ka):ka+a} var ma,na,oa,pa,qa,ra; if(ia){if(ka=ha?require("path").dirname(ka)+"/":__dirname+"/",ma=function(a,b){qa||(qa=require("fs"));ra||(ra=require("path"));a=ra.normalize(a);return qa.readFileSync(a,b?null:"utf8")},oa=function(a){a=ma(a,!0);a.buffer||(a=new Uint8Array(a));assert(a.buffer);return a},1>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.Yf!==a&&(d.yf=new Int32Array(a.buffer),d.zf=new Uint8Array(a.buffer)),a=d.yf,c=a.length,a.set(w.subarray(b,b+c)),a=d.zf,b=3,e=b+4*c,0==c%8)for(;b>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.Yf!==a&&(d.yf=new Int32Array(a.buffer),d.zf=new Uint8Array(a.buffer)),a=d.yf,c=a.length,a.set(w.subarray(b,b+c)),a=d.zf,b=3,e=b+4*c,0==c%8)for(;b>=2;var m=0,n;if("undefined"!==typeof CanvasPixelArray&&b instanceof CanvasPixelArray)for(n=b.length;m>8&255;b[m+2]=r>>16&255;b[m+3]=r>>24&255;e++;m+=4}else b=new Int32Array(b.buffer),n=b.length,b.set(w.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=F(c.length+ -1);E(c,d,c.length+1);return d},62224:function(a){h.canvas&&(h.canvas.style.cursor=B(a));return 0},62317:function(){h.canvas&&(h.canvas.style.cursor="none")},63542:function(){return screen.width},63569:function(){return screen.height},63597:function(){return window.innerWidth},63629:function(){return window.innerHeight},63707:function(a){"undefined"!==typeof pa&&pa(B(a));return 0},63841:function(){return"undefined"!==typeof AudioContext||"undefined"!==typeof webkitAudioContext?1:0},64007:function(){return"undefined"!== -typeof navigator.mediaDevices&&"undefined"!==typeof navigator.mediaDevices.getUserMedia||"undefined"!==typeof navigator.webkitGetUserMedia?1:0},64233:function(a){"undefined"===typeof h.SDL2&&(h.SDL2={});var b=h.SDL2;a?b.capture={}:b.audio={};b.fe||("undefined"!==typeof AudioContext?b.fe=new AudioContext:"undefined"!==typeof webkitAudioContext&&(b.fe=new webkitAudioContext),b.fe&&ib(b.fe));return void 0===b.fe?-1:0},64786:function(){return h.SDL2.fe.sampleRate},64856:function(a,b,c,d){function e(){} +1);E(c,d,c.length+1);return d},156208:function(a){h.canvas&&(h.canvas.style.cursor=B(a));return 0},156301:function(){h.canvas&&(h.canvas.style.cursor="none")},157526:function(){return screen.width},157553:function(){return screen.height},157581:function(){return window.innerWidth},157613:function(){return window.innerHeight},157691:function(a){"undefined"!==typeof pa&&pa(B(a));return 0},157825:function(){return"undefined"!==typeof AudioContext||"undefined"!==typeof webkitAudioContext?1:0},157991:function(){return"undefined"!== +typeof navigator.mediaDevices&&"undefined"!==typeof navigator.mediaDevices.getUserMedia||"undefined"!==typeof navigator.webkitGetUserMedia?1:0},158217:function(a){"undefined"===typeof h.SDL2&&(h.SDL2={});var b=h.SDL2;a?b.capture={}:b.audio={};b.fe||("undefined"!==typeof AudioContext?b.fe=new AudioContext:"undefined"!==typeof webkitAudioContext&&(b.fe=new webkitAudioContext),b.fe&&ib(b.fe));return void 0===b.fe?-1:0},158770:function(){return h.SDL2.fe.sampleRate},158840:function(a,b,c,d){function e(){} function f(m){void 0!==g.capture.Ee&&(clearTimeout(g.capture.Ee),g.capture.Ee=void 0);g.capture.Ie=g.fe.createMediaStreamSource(m);g.capture.je=g.fe.createScriptProcessor(b,a,1);g.capture.je.onaudioprocess=function(n){void 0!==g&&void 0!==g.capture&&(n.outputBuffer.getChannelData(0).fill(0),g.capture.Ne=n.inputBuffer,n=[d],G.get(c).apply(null,n))};g.capture.Ie.connect(g.capture.je);g.capture.je.connect(g.fe.destination);g.capture.stream=m}var g=h.SDL2;g.capture.Le=g.fe.createBuffer(a,b,g.fe.sampleRate); -g.capture.Le.getChannelData(0).fill(0);g.capture.Ee=setTimeout(function(){g.capture.Ne=g.capture.Le;var m=[d];G.get(c).apply(null,m)},b/g.fe.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)},66508:function(a,b,c,d){var e=h.SDL2;e.audio.je=e.fe.createScriptProcessor(b,0,a);e.audio.je.onaudioprocess= -function(f){void 0!==e&&void 0!==e.audio&&(e.audio.af=f.outputBuffer,f=[d],G.get(c).apply(null,f))};e.audio.je.connect(e.fe.destination)},66918:function(a,b){for(var c=h.SDL2,d=c.capture.Ne.numberOfChannels,e=0;e>2]}},68003:function(a){var b=h.SDL2;if(a){void 0!==b.capture.Ee&&clearTimeout(b.capture.Ee);if(void 0!==b.capture.stream){a=b.capture.stream.getAudioTracks();for(var c=0;c>2]}},161987:function(a){var b=h.SDL2;if(a){void 0!==b.capture.Ee&&clearTimeout(b.capture.Ee);if(void 0!==b.capture.stream){a=b.capture.stream.getAudioTracks();for(var c=0;c>2]=28} function ob(a,b){for(var c=0,d=a.length-1;0<=d;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c;c--)a.unshift("..");return a}function pb(a){var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=ob(a.split("/").filter(function(d){return!!d}),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a} @@ -137,62 +137,62 @@ Object.defineProperties(Qb.prototype,{read:{get:function(){return 365===(this.mo Yb({se:function(){var a=Bb("/proc/self","fd",16895,73);a.ce={lookup:function(b,c){var d=Gb[+c];if(!d)throw new I(8);b={parent:null,se:{nf:"fake"},ce:{readlink:function(){return d.path}}};return b.parent=b}};return a}},"/proc/self/fd");h.FS_createPath=nc;h.FS_createDataFile=pc;h.FS_createPreloadedFile=tc;h.FS_createLazyFile=sc;h.FS_createDevice=qc;h.FS_unlink=cc;h.requestFullscreen=function(a,b){gd(a,b)};h.requestAnimationFrame=function(a){Ic(a)}; h.setCanvasSize=function(a,b,c){id(h.canvas,a,b);c||jd()};h.pauseMainLoop=function(){Fc=null;Lc++};h.resumeMainLoop=function(){Lc++;var a=Cc,b=Dc,c=Ec;Ec=null;Jc(c,0,!1,Kc,!0);Bc(a,b);Fc()};h.getUserMedia=function(){window.getUserMedia||(window.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia);window.getUserMedia(void 0)};h.createContext=function(a,b,c,d){return Zc(a,b,c,d)};for(var N,Y=0;32>Y;++Y)ue.push(Array(Y));var We=new Float32Array(288); for(Y=0;288>Y;++Y)De[Y]=We.subarray(0,Y+1);var Xe=new Int32Array(288);for(Y=0;288>Y;++Y)Ee[Y]=Xe.subarray(0,Y+1);function hb(a,b){var c=Array(Ia(a)+1);a=Ha(a,c,0,c.length);b&&(c.length=a);return c}Sa.push({ff:function(){Ye()}}); -var nf={_:function(a,b,c,d){l("Assertion failed: "+B(a)+", at: "+[b?B(b):"unknown filename",c,d?B(d):"unknown function"])},x:function(a,b,c){xc=c;try{var d=zc(a);switch(b){case 0:var e=yc();return 0>e?-28:ec(d.path,d.flags,0,e).fd;case 1:case 2:return 0;case 3:return d.flags;case 4:return e=yc(),d.flags|=e,0;case 12:return e=yc(),Aa[e+0>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-28;case 9:return mb(),-1;default:return-28}}catch(f){return"undefined"!==typeof M&&f instanceof I||l(f),-f.ie}}, +var nf={_:function(a,b,c,d){l("Assertion failed: "+B(a)+", at: "+[b?B(b):"unknown filename",c,d?B(d):"unknown function"])},w:function(a,b,c){xc=c;try{var d=zc(a);switch(b){case 0:var e=yc();return 0>e?-28:ec(d.path,d.flags,0,e).fd;case 1:case 2:return 0;case 3:return d.flags;case 4:return e=yc(),d.flags|=e,0;case 12:return e=yc(),Aa[e+0>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-28;case 9:return mb(),-1;default:return-28}}catch(f){return"undefined"!==typeof M&&f instanceof I||l(f),-f.ie}}, ma:function(a,b,c){xc=c;try{var d=zc(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=yc();return w[e>>2]=0;case 21520:return d.tty?-28:-59;case 21531:a=e=yc();if(!d.de.If)throw new I(59);return d.de.If(d,b,a);case 21523:return d.tty?0:-59;case 21524:return d.tty?0:-59;default:l("bad ioctl syscall "+b)}}catch(f){return"undefined"!==typeof M&&f instanceof I||l(f),-f.ie}},na:function(a, b,c){xc=c;try{var d=B(a),e=yc();return ec(d,b,e).fd}catch(f){return"undefined"!==typeof M&&f instanceof I||l(f),-f.ie}},oa:function(a){try{a=B(a);var b=Kb(a,{parent:!0}).node,c=rb(a),d=Db(b,c),e=Ub(b,c,!0);if(e)throw new I(e);if(!b.ce.rmdir)throw new I(63);if(d.xe)throw new I(10);try{L.willDeletePath&&L.willDeletePath(a)}catch(f){k("FS.trackingDelegate['willDeletePath']('"+a+"') threw an exception: "+f.message)}b.ce.rmdir(b,c);Ob(d);try{if(L.onDeletePath)L.onDeletePath(a)}catch(f){k("FS.trackingDelegate['onDeletePath']('"+ a+"') threw an exception: "+f.message)}return 0}catch(f){return"undefined"!==typeof M&&f instanceof I||l(f),-f.ie}},qa:function(a,b){try{a=B(a);a:{try{var c=Kb(a,{He:!0}).node;if(!c)throw new I(44);if(!c.ce.qe)throw new I(63);var d=c.ce.qe(c)}catch(f){if(f&&f.node&&pb(a)!==pb(Mb(f.node))){var e=-54;break a}throw f;}w[b>>2]=d.dev;w[b+4>>2]=0;w[b+8>>2]=d.ino;w[b+12>>2]=d.mode;w[b+16>>2]=d.nlink;w[b+20>>2]=d.uid;w[b+24>>2]=d.gid;w[b+28>>2]=d.rdev;w[b+32>>2]=0;x=[d.size>>>0,(y=d.size,1<=+Math.abs(y)? 0>>0:~~+Math.ceil((y-+(~~y>>>0))/4294967296)>>>0:0)];w[b+40>>2]=x[0];w[b+44>>2]=x[1];w[b+48>>2]=4096;w[b+52>>2]=d.blocks;w[b+56>>2]=d.atime.getTime()/1E3|0;w[b+60>>2]=0;w[b+64>>2]=d.mtime.getTime()/1E3|0;w[b+68>>2]=0;w[b+72>>2]=d.ctime.getTime()/1E3|0;w[b+76>>2]=0;x=[d.ino>>>0,(y=d.ino,1<=+Math.abs(y)?0>>0:~~+Math.ceil((y-+(~~y>>>0))/4294967296)>>>0:0)];w[b+80>>2]=x[0];w[b+84>>2]=x[1];e=0}return e}catch(f){return"undefined"!== -typeof M&&f instanceof I||l(f),-f.ie}},pa:function(a){try{return a=B(a),cc(a),0}catch(b){return"undefined"!==typeof M&&b instanceof I||l(b),-b.ie}},mc:function(){l()},o:function(a,b){if(0===a)a=Date.now();else if(1===a||4===a)a=Ac();else return mb(),-1;w[b>>2]=a/1E3|0;w[b+4>>2]=a%1E3*1E6|0;return 0},ta:function(){l("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")},Ka:function(a){if(12448==a)return P=12288,1;P=12300;return 0}, -mb:function(a,b,c,d,e){if(62E3!=a)P=12296,c=0;else{if(b)for(;;){a=w[b>>2];if(12321==a)Q.alpha=0>2];else if(12325==a)Q.depth=0>2];else if(12326==a)Q.stencil=0>2];else if(12337==a)a=w[b+4>>2],Q.antialias=0>2],Q.antialias=1==a;else if(12544==a)Q.dg=12547!=w[b+4>>2];else if(12344==a)break;b+=8}c&&d||e?(e&&(w[e>>2]=1),c&&0>2]=62002),P=12288,c=1):(P=12300,c=0)}return c},Aa:function(a,b,c,d){if(62E3!=a)return P=12296,0;for(a=1;;){b=w[d>>2];if(12440== -b)a=w[d+4>>2];else if(12344==b)break;else return P=12292,0;d+=8}if(2!=a)return P=12293,0;Q.lf=a-1;Q.eg=0;rd=ad(h.canvas,Q);if(0!=rd)return P=12288,cd(rd),h.Tf=!0,Sc.forEach(function(e){e()}),cd(null),62004;P=12297;return 0},Ca:function(a,b){if(62E3!=a)return P=12296,0;if(62002!=b)return P=12293,0;P=12288;return 62006},Ba:function(a,b){if(62E3!=a)return P=12296,0;if(62004!=b)return P=12294,0;a=rd;Id===bd[a]&&(Id=null);if("object"===typeof Wd)for(var c=bd[a].te.canvas,d=0;d>2]=Q.alpha?32:24,1;case 12321:return w[d>>2]=Q.alpha?8:0,1;case 12322:return w[d>>2]=8,1;case 12323:return w[d>>2]=8,1;case 12324:return w[d>> +typeof M&&f instanceof I||l(f),-f.ie}},pa:function(a){try{return a=B(a),cc(a),0}catch(b){return"undefined"!==typeof M&&b instanceof I||l(b),-b.ie}},kc:function(){l()},o:function(a,b){if(0===a)a=Date.now();else if(1===a||4===a)a=Ac();else return mb(),-1;w[b>>2]=a/1E3|0;w[b+4>>2]=a%1E3*1E6|0;return 0},ta:function(){l("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")},Ia:function(a){if(12448==a)return P=12288,1;P=12300;return 0}, +kb:function(a,b,c,d,e){if(62E3!=a)P=12296,c=0;else{if(b)for(;;){a=w[b>>2];if(12321==a)Q.alpha=0>2];else if(12325==a)Q.depth=0>2];else if(12326==a)Q.stencil=0>2];else if(12337==a)a=w[b+4>>2],Q.antialias=0>2],Q.antialias=1==a;else if(12544==a)Q.dg=12547!=w[b+4>>2];else if(12344==a)break;b+=8}c&&d||e?(e&&(w[e>>2]=1),c&&0>2]=62002),P=12288,c=1):(P=12300,c=0)}return c},za:function(a,b,c,d){if(62E3!=a)return P=12296,0;for(a=1;;){b=w[d>>2];if(12440== +b)a=w[d+4>>2];else if(12344==b)break;else return P=12292,0;d+=8}if(2!=a)return P=12293,0;Q.lf=a-1;Q.eg=0;rd=ad(h.canvas,Q);if(0!=rd)return P=12288,cd(rd),h.Tf=!0,Sc.forEach(function(e){e()}),cd(null),62004;P=12297;return 0},Ba:function(a,b){if(62E3!=a)return P=12296,0;if(62002!=b)return P=12293,0;P=12288;return 62006},Aa:function(a,b){if(62E3!=a)return P=12296,0;if(62004!=b)return P=12294,0;a=rd;Id===bd[a]&&(Id=null);if("object"===typeof Wd)for(var c=bd[a].te.canvas,d=0;d>2]=Q.alpha?32:24,1;case 12321:return w[d>>2]=Q.alpha?8:0,1;case 12322:return w[d>>2]=8,1;case 12323:return w[d>>2]=8,1;case 12324:return w[d>> 2]=8,1;case 12325:return w[d>>2]=Q.depth?24:0,1;case 12326:return w[d>>2]=Q.stencil?8:0,1;case 12327:return w[d>>2]=12344,1;case 12328:return w[d>>2]=62002,1;case 12329:return w[d>>2]=0,1;case 12330:return w[d>>2]=4096,1;case 12331:return w[d>>2]=16777216,1;case 12332:return w[d>>2]=4096,1;case 12333:return w[d>>2]=0,1;case 12334:return w[d>>2]=0,1;case 12335:return w[d>>2]=12344,1;case 12337:return w[d>>2]=Q.antialias?4:0,1;case 12338:return w[d>>2]=Q.antialias?1:0,1;case 12339:return w[d>>2]=4, -1;case 12340:return w[d>>2]=12344,1;case 12341:case 12342:case 12343:return w[d>>2]=-1,1;case 12345:case 12346:return w[d>>2]=0,1;case 12347:return w[d>>2]=0,1;case 12348:return w[d>>2]=1;case 12349:case 12350:return w[d>>2]=0,1;case 12351:return w[d>>2]=12430,1;case 12352:return w[d>>2]=4,1;case 12354:return w[d>>2]=0,1;default:return P=12292,0}},X:function(){P=12288;return 62E3},za:function(){return P},La:function(a){return Ze(a)},Sa:function(a,b,c){if(62E3==a)return b&&(w[b>>2]=1),c&&(w[c>>2]= -4),md=!0,P=12288,1;P=12296;return 0},Ea:function(a,b,c,d){if(62E3!=a)return P=12296,0;if(0!=d&&62004!=d)return P=12294,0;if(0!=c&&62006!=c||0!=b&&62006!=b)return P=12301,0;cd(d?rd:null);nd=d;pd=b;od=c;P=12288;return 1},ya:function(a,b){if(62E3!=a)return P=12296,0;P=12288;if(qd[b])return qd[b];switch(b){case 12371:a=Ja("Emscripten");break;case 12372:a=Ja("1.4 Emscripten EGL");break;case 12373:a=Ja("");break;case 12429:a=Ja("OpenGL_ES");break;default:return P=12300,0}return qd[b]=a},Fa:function(){if(md)if(h.pe)if(h.pe.isContextLost())P= -12302;else return P=12288,1;else P=12290;else P=12289;return 0},Ga:function(a,b){if(62E3!=a)return P=12296,0;0==b?Bc(0,0):Bc(1,b);P=12288;return 1},bb:function(a){if(62E3!=a)return P=12296,0;pd=od=nd=0;md=!1;P=12288;return 1},Ja:function(){P=12288;return 1},Ha:function(){P=12288;return 1},d:function(a,b,c){Ve.length=0;var d;for(c>>=2;d=D[b++];)(d=105>d)&&c&1&&c++,Ve.push(d?Ca[c++>>1]:w[c]),++c;return jb[a].apply(null,Ve)},ua:function(){if(!Vd())return-1;Pd(qe);var a=je[1];if(a.exitFullscreen)a.fullscreenElement&& -a.exitFullscreen();else if(a.webkitExitFullscreen)a.webkitFullscreenElement&&a.webkitExitFullscreen();else return-1;return 0},wa:function(){Pd(re);if(document.exitPointerLock)document.exitPointerLock();else if(document.ge)document.ge();else return-1;return 0},j:function(){return"number"===typeof devicePixelRatio&&devicePixelRatio||1},g:function(a,b,c){a=V(a);if(!a)return-4;a=pe(a);Ca[b>>3]=a.width;Ca[c>>3]=a.height;return 0},A:function(a,b){if(0>a||a>=Xd.length)return-5;if(!Xd[a])return-7;se(b,Xd[a]); -return 0},sa:function(){return Xd.length},Ia:te,xa:function(a,b,c){a=h._fileno(a);return(a=Gb[a])?te(a.path,b,c):0},Dd:function(a){N.activeTexture(a)},Cd:function(a,b){N.attachShader(R[a],T[b])},da:function(a,b){N.ne.beginQueryEXT(a,Bd[b])},Bd:function(a,b,c){N.bindAttribLocation(R[a],b,B(c))},Ad:function(a,b){N.bindBuffer(a,wd[b])},zd:function(a,b){N.bindFramebuffer(a,xd[b])},yd:function(a,b){N.bindRenderbuffer(a,yd[b])},xd:function(a,b){N.bindTexture(a,zd[b])},Ld:function(a){N.bindVertexArray(Ad[a])}, -wd:function(a,b,c,d){N.blendColor(a,b,c,d)},vd:function(a){N.blendEquation(a)},ud:function(a,b){N.blendEquationSeparate(a,b)},td:function(a,b){N.blendFunc(a,b)},sd:function(a,b,c,d){N.blendFuncSeparate(a,b,c,d)},rd:function(a,b,c,d){N.bufferData(a,c?D.subarray(c,c+b):b,d)},qd:function(a,b,c,d){N.bufferSubData(a,b,D.subarray(d,d+c))},pd:function(a){return N.checkFramebufferStatus(a)},od:function(a){N.clear(a)},nd:function(a,b,c,d){N.clearColor(a,b,c,d)},md:function(a){N.clearDepth(a)},ld:function(a){N.clearStencil(a)}, -kd:function(a,b,c,d){N.colorMask(!!a,!!b,!!c,!!d)},jd:function(a){N.compileShader(T[a])},id:function(a,b,c,d,e,f,g,m){N.compressedTexImage2D(a,b,c,d,e,f,m?D.subarray(m,m+g):null)},hd:function(a,b,c,d,e,f,g,m,n){N.compressedTexSubImage2D(a,b,c,d,e,f,g,n?D.subarray(n,n+m):null)},gd:function(a,b,c,d,e,f,g,m){N.copyTexImage2D(a,b,c,d,e,f,g,m)},fd:function(a,b,c,d,e,f,g,m){N.copyTexSubImage2D(a,b,c,d,e,f,g,m)},ed:function(){var a=Gd(R),b=N.createProgram();b.name=a;R[a]=b;return a},dd:function(a){var b= -Gd(T);T[b]=N.createShader(a);return b},cd:function(a){N.cullFace(a)},bd:function(a,b){for(var c=0;c>2],e=wd[d];e&&(N.deleteBuffer(e),e.name=0,wd[d]=null)}},ad:function(a,b){for(var c=0;c>2],e=xd[d];e&&(N.deleteFramebuffer(e),e.name=0,xd[d]=null)}},$c:function(a){if(a){var b=R[a];b?(N.deleteProgram(b),b.name=0,R[a]=null,Cd[a]=null):U(1281)}},fa:function(a,b){for(var c=0;c>2],e=Bd[d];e&&(N.ne.deleteQueryEXT(e),Bd[d]=null)}},_c:function(a, -b){for(var c=0;c>2],e=yd[d];e&&(N.deleteRenderbuffer(e),e.name=0,yd[d]=null)}},Zc:function(a){if(a){var b=T[a];b?(N.deleteShader(b),T[a]=null):U(1281)}},Yc:function(a,b){for(var c=0;c>2],e=zd[d];e&&(N.deleteTexture(e),e.name=0,zd[d]=null)}},Kd:function(a,b){for(var c=0;c>2];N.deleteVertexArray(Ad[d]);Ad[d]=null}},Xc:function(a){N.depthFunc(a)},Wc:function(a){N.depthMask(!!a)},Vc:function(a,b){N.depthRange(a,b)},Uc:function(a,b){N.detachShader(R[a], -T[b])},Tc:function(a){N.disable(a)},Sc:function(a){N.disableVertexAttribArray(a)},Rc:function(a,b,c){N.drawArrays(a,b,c)},Gd:function(a,b,c,d){N.drawArraysInstanced(a,b,c,d)},Hd:function(a,b){for(var c=ue[a],d=0;d>2];N.drawBuffers(c)},Qc:function(a,b,c,d){N.drawElements(a,b,c,d)},Fd:function(a,b,c,d,e){N.drawElementsInstanced(a,b,c,d,e)},Pc:function(a){N.enable(a)},Oc:function(a){N.enableVertexAttribArray(a)},ca:function(a){N.ne.endQueryEXT(a)},Nc:function(){N.finish()},Mc:function(){N.flush()}, -Lc:function(a,b,c,d){N.framebufferRenderbuffer(a,b,c,yd[d])},Kc:function(a,b,c,d,e){N.framebufferTexture2D(a,b,c,zd[d],e)},Jc:function(a){N.frontFace(a)},Hc:function(a,b){ve(a,b,"createBuffer",wd)},Fc:function(a,b){ve(a,b,"createFramebuffer",xd)},ga:function(a,b){for(var c=0;c>2]=0;break}var e=Gd(Bd);d.name=e;Bd[e]=d;w[b+4*c>>2]=e}},Ec:function(a,b){ve(a,b,"createRenderbuffer",yd)},Dc:function(a,b){ve(a,b,"createTexture",zd)},Jd:function(a, -b){ve(a,b,"createVertexArray",Ad)},Gc:function(a){N.generateMipmap(a)},Cc:function(a,b,c,d,e,f,g){we("getActiveAttrib",a,b,c,d,e,f,g)},Bc:function(a,b,c,d,e,f,g){we("getActiveUniform",a,b,c,d,e,f,g)},Ac:function(a,b,c,d){a=N.getAttachedShaders(R[a]);var e=a.length;e>b&&(e=b);w[c>>2]=e;for(b=0;b>2]=T.indexOf(a[b])},zc:function(a,b){return N.getAttribLocation(R[a],B(b))},yc:function(a,b){ye(a,b,4)},wc:function(a,b,c){c?w[c>>2]=N.getBufferParameter(a,b):U(1281)},vc:function(){var a=N.getError()|| -Fd;Fd=0;return a},uc:function(a,b){ye(a,b,2)},tc:function(a,b,c,d){a=N.getFramebufferAttachmentParameter(a,b,c);if(a instanceof WebGLRenderbuffer||a instanceof WebGLTexture)a=a.name|0;w[d>>2]=a},sc:function(a,b){ye(a,b,0)},qc:function(a,b,c,d){a=N.getProgramInfoLog(R[a]);null===a&&(a="(unknown error)");b=0>2]=b)},rc:function(a,b,c){if(c)if(a>=vd)U(1281);else{var d=Cd[a];if(d)if(35716==b)a=N.getProgramInfoLog(R[a]),null===a&&(a="(unknown error)"),w[c>>2]=a.length+1;else if(35719== -b)w[c>>2]=d.Re;else if(35722==b){if(-1==d.Ce){a=R[a];var e=N.getProgramParameter(a,35721);for(b=d.Ce=0;b>2]=d.Ce}else if(35381==b){if(-1==d.De)for(a=R[a],e=N.getProgramParameter(a,35382),b=d.De=0;b>2]=d.De}else w[c>>2]=N.getProgramParameter(R[a],b);else U(1282)}else U(1281)},Nd:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a? -d=a?1:0:d=a;xe(c,d)}else U(1281)},$:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;w[c>>2]=d}else U(1281)},Md:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;xe(c,d)}else U(1281)},Od:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;w[c>>2]=d}else U(1281)},aa:function(a,b,c){c?w[c>>2]=N.ne.getQueryEXT(a,b):U(1281)},pc:function(a,b,c){c?w[c>>2]=N.getRenderbufferParameter(a, -b):U(1281)},nc:function(a,b,c,d){a=N.getShaderInfoLog(T[a]);null===a&&(a="(unknown error)");b=0>2]=b)},lc:function(a,b,c,d){a=N.getShaderPrecisionFormat(a,b);w[c>>2]=a.rangeMin;w[c+4>>2]=a.rangeMax;w[d>>2]=a.precision},kc:function(a,b,c,d){if(a=N.getShaderSource(T[a]))b=0>2]=b)},oc:function(a,b,c){c?35716==b?(a=N.getShaderInfoLog(T[a]),null===a&&(a="(unknown error)"),w[c>>2]=a?a.length+1:0):35720==b?(a=N.getShaderSource(T[a]),w[c>>2]=a?a.length+1: -0):w[c>>2]=N.getShaderParameter(T[a],b):U(1281)},jc:function(a){if(Dd[a])return Dd[a];switch(a){case 7939:var b=N.getSupportedExtensions()||[];b=b.concat(b.map(function(d){return"GL_"+d}));b=ze(b.join(" "));break;case 7936:case 7937:case 37445:case 37446:(b=N.getParameter(a))||U(1280);b=ze(b);break;case 7938:b=ze("OpenGL ES 2.0 ("+N.getParameter(7938)+")");break;case 35724:b=N.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=ze(b);break;default:return U(1280),0}return Dd[a]=b},ic:function(a,b,c){c?A[c>>2]=N.getTexParameter(a,b):U(1281)},hc:function(a,b,c){c?w[c>>2]=N.getTexParameter(a,b):U(1281)},ec:function(a,b){b=B(b);var c=0;if("]"==b[b.length-1]){var d=b.lastIndexOf("[");c="]"!=b[d+1]?parseInt(b.slice(d+1)):0;b=b.slice(0,d)}return(a=Cd[a]&&Cd[a].tf[b])&&0<=c&&c>2]=N.getVertexAttribOffset(a, -b):U(1281)},dc:function(a,b,c){Be(a,b,c,2)},cc:function(a,b,c){Be(a,b,c,5)},ac:function(a,b){N.hint(a,b)},$b:function(a){return(a=wd[a])?N.isBuffer(a):0},_b:function(a){return N.isEnabled(a)},Zb:function(a){return(a=xd[a])?N.isFramebuffer(a):0},Yb:function(a){return(a=R[a])?N.isProgram(a):0},ea:function(a){return(a=Bd[a])?N.ne.isQueryEXT(a):0},Xb:function(a){return(a=yd[a])?N.isRenderbuffer(a):0},Wb:function(a){return(a=T[a])?N.isShader(a):0},Vb:function(a){return(a=zd[a])?N.isTexture(a):0},Id:function(a){return(a= -Ad[a])?N.isVertexArray(a):0},Ub:function(a){N.lineWidth(a)},Sb:function(a){N.linkProgram(R[a]);var b=R[a];a=Cd[a]={tf:{},Re:0,Ce:-1,De:-1};for(var c=a.tf,d=N.getProgramParameter(b,35718),e=0;e>2]:-1;e+=B(w[c+4*f>>2],0>g?void 0:g)}N.shaderSource(T[a],e)},Hb:function(a, -b,c){N.stencilFunc(a,b,c)},Gb:function(a,b,c,d){N.stencilFuncSeparate(a,b,c,d)},Fb:function(a){N.stencilMask(a)},Eb:function(a,b){N.stencilMaskSeparate(a,b)},Db:function(a,b,c){N.stencilOp(a,b,c)},Cb:function(a,b,c,d){N.stencilOpSeparate(a,b,c,d)},Bb:function(a,b,c,d,e,f,g,m,n){N.texImage2D(a,b,c,d,e,f,g,m,n?Ce(m,g,d,e,n):null)},Ab:function(a,b,c){N.texParameterf(a,b,c)},zb:function(a,b,c){N.texParameterf(a,b,A[c>>2])},yb:function(a,b,c){N.texParameteri(a,b,c)},wb:function(a,b,c){N.texParameteri(a, -b,w[c>>2])},vb:function(a,b,c,d,e,f,g,m,n){var r=null;n&&(r=Ce(m,g,e,f,n));N.texSubImage2D(a,b,c,d,e,f,g,m,r)},ub:function(a,b){N.uniform1f(S[a],b)},tb:function(a,b,c){if(288>=b)for(var d=De[b-1],e=0;e>2];else d=A.subarray(c>>2,c+4*b>>2);N.uniform1fv(S[a],d)},sb:function(a,b){N.uniform1i(S[a],b)},rb:function(a,b,c){if(288>=b)for(var d=Ee[b-1],e=0;e>2];else d=w.subarray(c>>2,c+4*b>>2);N.uniform1iv(S[a],d)},qb:function(a,b,c){N.uniform2f(S[a],b,c)},pb:function(a, -b,c){if(144>=b)for(var d=De[2*b-1],e=0;e<2*b;e+=2)d[e]=A[c+4*e>>2],d[e+1]=A[c+(4*e+4)>>2];else d=A.subarray(c>>2,c+8*b>>2);N.uniform2fv(S[a],d)},ob:function(a,b,c){N.uniform2i(S[a],b,c)},nb:function(a,b,c){if(144>=b)for(var d=Ee[2*b-1],e=0;e<2*b;e+=2)d[e]=w[c+4*e>>2],d[e+1]=w[c+(4*e+4)>>2];else d=w.subarray(c>>2,c+8*b>>2);N.uniform2iv(S[a],d)},lb:function(a,b,c,d){N.uniform3f(S[a],b,c,d)},kb:function(a,b,c){if(96>=b)for(var d=De[3*b-1],e=0;e<3*b;e+=3)d[e]=A[c+4*e>>2],d[e+1]=A[c+(4*e+4)>>2],d[e+2]= -A[c+(4*e+8)>>2];else d=A.subarray(c>>2,c+12*b>>2);N.uniform3fv(S[a],d)},jb:function(a,b,c,d){N.uniform3i(S[a],b,c,d)},ib:function(a,b,c){if(96>=b)for(var d=Ee[3*b-1],e=0;e<3*b;e+=3)d[e]=w[c+4*e>>2],d[e+1]=w[c+(4*e+4)>>2],d[e+2]=w[c+(4*e+8)>>2];else d=w.subarray(c>>2,c+12*b>>2);N.uniform3iv(S[a],d)},hb:function(a,b,c,d,e){N.uniform4f(S[a],b,c,d,e)},gb:function(a,b,c){if(72>=b){var d=De[4*b-1],e=A;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=A.subarray(c>> -2,c+16*b>>2);N.uniform4fv(S[a],d)},fb:function(a,b,c,d,e){N.uniform4i(S[a],b,c,d,e)},eb:function(a,b,c){if(72>=b)for(var d=Ee[4*b-1],e=0;e<4*b;e+=4)d[e]=w[c+4*e>>2],d[e+1]=w[c+(4*e+4)>>2],d[e+2]=w[c+(4*e+8)>>2],d[e+3]=w[c+(4*e+12)>>2];else d=w.subarray(c>>2,c+16*b>>2);N.uniform4iv(S[a],d)},db:function(a,b,c,d){if(72>=b)for(var e=De[4*b-1],f=0;f<4*b;f+=4)e[f]=A[d+4*f>>2],e[f+1]=A[d+(4*f+4)>>2],e[f+2]=A[d+(4*f+8)>>2],e[f+3]=A[d+(4*f+12)>>2];else e=A.subarray(d>>2,d+16*b>>2);N.uniformMatrix2fv(S[a], -!!c,e)},cb:function(a,b,c,d){if(32>=b)for(var e=De[9*b-1],f=0;f<9*b;f+=9)e[f]=A[d+4*f>>2],e[f+1]=A[d+(4*f+4)>>2],e[f+2]=A[d+(4*f+8)>>2],e[f+3]=A[d+(4*f+12)>>2],e[f+4]=A[d+(4*f+16)>>2],e[f+5]=A[d+(4*f+20)>>2],e[f+6]=A[d+(4*f+24)>>2],e[f+7]=A[d+(4*f+28)>>2],e[f+8]=A[d+(4*f+32)>>2];else e=A.subarray(d>>2,d+36*b>>2);N.uniformMatrix3fv(S[a],!!c,e)},ab:function(a,b,c,d){if(18>=b){var e=De[16*b-1],f=A;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=A.subarray(d>>2,d+64*b>>2);N.uniformMatrix4fv(S[a],!!c,e)},$a:function(a){N.useProgram(R[a])},_a:function(a){N.validateProgram(R[a])},Za:function(a,b){N.vertexAttrib1f(a,b)},Ya:function(a,b){N.vertexAttrib1f(a,A[b>>2])},Xa:function(a,b,c){N.vertexAttrib2f(a,b,c)},Wa:function(a,b){N.vertexAttrib2f(a,A[b>>2],A[b+4>>2])},Va:function(a, -b,c,d){N.vertexAttrib3f(a,b,c,d)},Ua:function(a,b){N.vertexAttrib3f(a,A[b>>2],A[b+4>>2],A[b+8>>2])},Ta:function(a,b,c,d,e){N.vertexAttrib4f(a,b,c,d,e)},Ra:function(a,b){N.vertexAttrib4f(a,A[b>>2],A[b+4>>2],A[b+8>>2],A[b+12>>2])},Ed:function(a,b){N.vertexAttribDivisor(a,b)},Qa:function(a,b,c,d,e,f){N.vertexAttribPointer(a,b,c,!!d,e,f)},Pa:function(a,b,c,d){N.viewport(a,b,c,d)},r:function(){return 0},e:function(a,b){Z(a,b||1);throw"longjmp";},ha:function(a,b,c){D.copyWithin(a,b,b+c)},va:function(a, +1;case 12340:return w[d>>2]=12344,1;case 12341:case 12342:case 12343:return w[d>>2]=-1,1;case 12345:case 12346:return w[d>>2]=0,1;case 12347:return w[d>>2]=0,1;case 12348:return w[d>>2]=1;case 12349:case 12350:return w[d>>2]=0,1;case 12351:return w[d>>2]=12430,1;case 12352:return w[d>>2]=4,1;case 12354:return w[d>>2]=0,1;default:return P=12292,0}},X:function(){P=12288;return 62E3},ya:function(){return P},Ja:function(a){return Ze(a)},Qa:function(a,b,c){if(62E3==a)return b&&(w[b>>2]=1),c&&(w[c>>2]= +4),md=!0,P=12288,1;P=12296;return 0},Da:function(a,b,c,d){if(62E3!=a)return P=12296,0;if(0!=d&&62004!=d)return P=12294,0;if(0!=c&&62006!=c||0!=b&&62006!=b)return P=12301,0;cd(d?rd:null);nd=d;pd=b;od=c;P=12288;return 1},xa:function(a,b){if(62E3!=a)return P=12296,0;P=12288;if(qd[b])return qd[b];switch(b){case 12371:a=Ja("Emscripten");break;case 12372:a=Ja("1.4 Emscripten EGL");break;case 12373:a=Ja("");break;case 12429:a=Ja("OpenGL_ES");break;default:return P=12300,0}return qd[b]=a},Ea:function(){if(md)if(h.pe)if(h.pe.isContextLost())P= +12302;else return P=12288,1;else P=12290;else P=12289;return 0},Fa:function(a,b){if(62E3!=a)return P=12296,0;0==b?Bc(0,0):Bc(1,b);P=12288;return 1},$a:function(a){if(62E3!=a)return P=12296,0;pd=od=nd=0;md=!1;P=12288;return 1},Ha:function(){P=12288;return 1},Ga:function(){P=12288;return 1},d:function(a,b,c){Ve.length=0;var d;for(c>>=2;d=D[b++];)(d=105>d)&&c&1&&c++,Ve.push(d?Ca[c++>>1]:w[c]),++c;return jb[a].apply(null,Ve)},ua:function(){if(!Vd())return-1;Pd(qe);var a=je[1];if(a.exitFullscreen)a.fullscreenElement&& +a.exitFullscreen();else if(a.webkitExitFullscreen)a.webkitFullscreenElement&&a.webkitExitFullscreen();else return-1;return 0},wa:function(){Pd(re);if(document.exitPointerLock)document.exitPointerLock();else if(document.ge)document.ge();else return-1;return 0},k:function(){return"number"===typeof devicePixelRatio&&devicePixelRatio||1},h:function(a,b,c){a=V(a);if(!a)return-4;a=pe(a);Ca[b>>3]=a.width;Ca[c>>3]=a.height;return 0},z:function(a,b){if(0>a||a>=Xd.length)return-5;if(!Xd[a])return-7;se(b,Xd[a]); +return 0},sa:function(){return Xd.length},Od:te,Dd:function(a,b,c){a=h._fileno(a);return(a=Gb[a])?te(a.path,b,c):0},Bd:function(a){N.activeTexture(a)},Ad:function(a,b){N.attachShader(R[a],T[b])},da:function(a,b){N.ne.beginQueryEXT(a,Bd[b])},zd:function(a,b,c){N.bindAttribLocation(R[a],b,B(c))},yd:function(a,b){N.bindBuffer(a,wd[b])},xd:function(a,b){N.bindFramebuffer(a,xd[b])},wd:function(a,b){N.bindRenderbuffer(a,yd[b])},vd:function(a,b){N.bindTexture(a,zd[b])},Kd:function(a){N.bindVertexArray(Ad[a])}, +ud:function(a,b,c,d){N.blendColor(a,b,c,d)},td:function(a){N.blendEquation(a)},sd:function(a,b){N.blendEquationSeparate(a,b)},rd:function(a,b){N.blendFunc(a,b)},qd:function(a,b,c,d){N.blendFuncSeparate(a,b,c,d)},pd:function(a,b,c,d){N.bufferData(a,c?D.subarray(c,c+b):b,d)},od:function(a,b,c,d){N.bufferSubData(a,b,D.subarray(d,d+c))},nd:function(a){return N.checkFramebufferStatus(a)},md:function(a){N.clear(a)},ld:function(a,b,c,d){N.clearColor(a,b,c,d)},kd:function(a){N.clearDepth(a)},jd:function(a){N.clearStencil(a)}, +id:function(a,b,c,d){N.colorMask(!!a,!!b,!!c,!!d)},hd:function(a){N.compileShader(T[a])},gd:function(a,b,c,d,e,f,g,m){N.compressedTexImage2D(a,b,c,d,e,f,m?D.subarray(m,m+g):null)},fd:function(a,b,c,d,e,f,g,m,n){N.compressedTexSubImage2D(a,b,c,d,e,f,g,n?D.subarray(n,n+m):null)},ed:function(a,b,c,d,e,f,g,m){N.copyTexImage2D(a,b,c,d,e,f,g,m)},dd:function(a,b,c,d,e,f,g,m){N.copyTexSubImage2D(a,b,c,d,e,f,g,m)},cd:function(){var a=Gd(R),b=N.createProgram();b.name=a;R[a]=b;return a},bd:function(a){var b= +Gd(T);T[b]=N.createShader(a);return b},ad:function(a){N.cullFace(a)},$c:function(a,b){for(var c=0;c>2],e=wd[d];e&&(N.deleteBuffer(e),e.name=0,wd[d]=null)}},_c:function(a,b){for(var c=0;c>2],e=xd[d];e&&(N.deleteFramebuffer(e),e.name=0,xd[d]=null)}},Zc:function(a){if(a){var b=R[a];b?(N.deleteProgram(b),b.name=0,R[a]=null,Cd[a]=null):U(1281)}},fa:function(a,b){for(var c=0;c>2],e=Bd[d];e&&(N.ne.deleteQueryEXT(e),Bd[d]=null)}},Yc:function(a, +b){for(var c=0;c>2],e=yd[d];e&&(N.deleteRenderbuffer(e),e.name=0,yd[d]=null)}},Xc:function(a){if(a){var b=T[a];b?(N.deleteShader(b),T[a]=null):U(1281)}},Wc:function(a,b){for(var c=0;c>2],e=zd[d];e&&(N.deleteTexture(e),e.name=0,zd[d]=null)}},Jd:function(a,b){for(var c=0;c>2];N.deleteVertexArray(Ad[d]);Ad[d]=null}},Vc:function(a){N.depthFunc(a)},Uc:function(a){N.depthMask(!!a)},Tc:function(a,b){N.depthRange(a,b)},Sc:function(a,b){N.detachShader(R[a], +T[b])},Rc:function(a){N.disable(a)},Qc:function(a){N.disableVertexAttribArray(a)},Pc:function(a,b,c){N.drawArrays(a,b,c)},Fd:function(a,b,c,d){N.drawArraysInstanced(a,b,c,d)},Gd:function(a,b){for(var c=ue[a],d=0;d>2];N.drawBuffers(c)},Oc:function(a,b,c,d){N.drawElements(a,b,c,d)},Ed:function(a,b,c,d,e){N.drawElementsInstanced(a,b,c,d,e)},Nc:function(a){N.enable(a)},Mc:function(a){N.enableVertexAttribArray(a)},ca:function(a){N.ne.endQueryEXT(a)},Lc:function(){N.finish()},Kc:function(){N.flush()}, +Jc:function(a,b,c,d){N.framebufferRenderbuffer(a,b,c,yd[d])},Ic:function(a,b,c,d,e){N.framebufferTexture2D(a,b,c,zd[d],e)},Hc:function(a){N.frontFace(a)},Fc:function(a,b){ve(a,b,"createBuffer",wd)},Dc:function(a,b){ve(a,b,"createFramebuffer",xd)},ga:function(a,b){for(var c=0;c>2]=0;break}var e=Gd(Bd);d.name=e;Bd[e]=d;w[b+4*c>>2]=e}},Cc:function(a,b){ve(a,b,"createRenderbuffer",yd)},Bc:function(a,b){ve(a,b,"createTexture",zd)},Id:function(a, +b){ve(a,b,"createVertexArray",Ad)},Ec:function(a){N.generateMipmap(a)},Ac:function(a,b,c,d,e,f,g){we("getActiveAttrib",a,b,c,d,e,f,g)},zc:function(a,b,c,d,e,f,g){we("getActiveUniform",a,b,c,d,e,f,g)},yc:function(a,b,c,d){a=N.getAttachedShaders(R[a]);var e=a.length;e>b&&(e=b);w[c>>2]=e;for(b=0;b>2]=T.indexOf(a[b])},xc:function(a,b){return N.getAttribLocation(R[a],B(b))},wc:function(a,b){ye(a,b,4)},uc:function(a,b,c){c?w[c>>2]=N.getBufferParameter(a,b):U(1281)},tc:function(){var a=N.getError()|| +Fd;Fd=0;return a},sc:function(a,b){ye(a,b,2)},rc:function(a,b,c,d){a=N.getFramebufferAttachmentParameter(a,b,c);if(a instanceof WebGLRenderbuffer||a instanceof WebGLTexture)a=a.name|0;w[d>>2]=a},qc:function(a,b){ye(a,b,0)},oc:function(a,b,c,d){a=N.getProgramInfoLog(R[a]);null===a&&(a="(unknown error)");b=0>2]=b)},pc:function(a,b,c){if(c)if(a>=vd)U(1281);else{var d=Cd[a];if(d)if(35716==b)a=N.getProgramInfoLog(R[a]),null===a&&(a="(unknown error)"),w[c>>2]=a.length+1;else if(35719== +b)w[c>>2]=d.Re;else if(35722==b){if(-1==d.Ce){a=R[a];var e=N.getProgramParameter(a,35721);for(b=d.Ce=0;b>2]=d.Ce}else if(35381==b){if(-1==d.De)for(a=R[a],e=N.getProgramParameter(a,35382),b=d.De=0;b>2]=d.De}else w[c>>2]=N.getProgramParameter(R[a],b);else U(1282)}else U(1281)},Md:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a? +d=a?1:0:d=a;xe(c,d)}else U(1281)},$:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;w[c>>2]=d}else U(1281)},Ld:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;xe(c,d)}else U(1281)},Nd:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;w[c>>2]=d}else U(1281)},aa:function(a,b,c){c?w[c>>2]=N.ne.getQueryEXT(a,b):U(1281)},nc:function(a,b,c){c?w[c>>2]=N.getRenderbufferParameter(a, +b):U(1281)},lc:function(a,b,c,d){a=N.getShaderInfoLog(T[a]);null===a&&(a="(unknown error)");b=0>2]=b)},jc:function(a,b,c,d){a=N.getShaderPrecisionFormat(a,b);w[c>>2]=a.rangeMin;w[c+4>>2]=a.rangeMax;w[d>>2]=a.precision},ic:function(a,b,c,d){if(a=N.getShaderSource(T[a]))b=0>2]=b)},mc:function(a,b,c){c?35716==b?(a=N.getShaderInfoLog(T[a]),null===a&&(a="(unknown error)"),w[c>>2]=a?a.length+1:0):35720==b?(a=N.getShaderSource(T[a]),w[c>>2]=a?a.length+1: +0):w[c>>2]=N.getShaderParameter(T[a],b):U(1281)},hc:function(a){if(Dd[a])return Dd[a];switch(a){case 7939:var b=N.getSupportedExtensions()||[];b=b.concat(b.map(function(d){return"GL_"+d}));b=ze(b.join(" "));break;case 7936:case 7937:case 37445:case 37446:(b=N.getParameter(a))||U(1280);b=ze(b);break;case 7938:b=ze("OpenGL ES 2.0 ("+N.getParameter(7938)+")");break;case 35724:b=N.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=ze(b);break;default:return U(1280),0}return Dd[a]=b},gc:function(a,b,c){c?A[c>>2]=N.getTexParameter(a,b):U(1281)},fc:function(a,b,c){c?w[c>>2]=N.getTexParameter(a,b):U(1281)},cc:function(a,b){b=B(b);var c=0;if("]"==b[b.length-1]){var d=b.lastIndexOf("[");c="]"!=b[d+1]?parseInt(b.slice(d+1)):0;b=b.slice(0,d)}return(a=Cd[a]&&Cd[a].tf[b])&&0<=c&&c>2]=N.getVertexAttribOffset(a, +b):U(1281)},bc:function(a,b,c){Be(a,b,c,2)},ac:function(a,b,c){Be(a,b,c,5)},_b:function(a,b){N.hint(a,b)},Zb:function(a){return(a=wd[a])?N.isBuffer(a):0},Yb:function(a){return N.isEnabled(a)},Xb:function(a){return(a=xd[a])?N.isFramebuffer(a):0},Wb:function(a){return(a=R[a])?N.isProgram(a):0},ea:function(a){return(a=Bd[a])?N.ne.isQueryEXT(a):0},Vb:function(a){return(a=yd[a])?N.isRenderbuffer(a):0},Ub:function(a){return(a=T[a])?N.isShader(a):0},Tb:function(a){return(a=zd[a])?N.isTexture(a):0},Hd:function(a){return(a= +Ad[a])?N.isVertexArray(a):0},Sb:function(a){N.lineWidth(a)},Qb:function(a){N.linkProgram(R[a]);var b=R[a];a=Cd[a]={tf:{},Re:0,Ce:-1,De:-1};for(var c=a.tf,d=N.getProgramParameter(b,35718),e=0;e>2]:-1;e+=B(w[c+4*f>>2],0>g?void 0:g)}N.shaderSource(T[a],e)},Fb:function(a, +b,c){N.stencilFunc(a,b,c)},Eb:function(a,b,c,d){N.stencilFuncSeparate(a,b,c,d)},Db:function(a){N.stencilMask(a)},Cb:function(a,b){N.stencilMaskSeparate(a,b)},Bb:function(a,b,c){N.stencilOp(a,b,c)},Ab:function(a,b,c,d){N.stencilOpSeparate(a,b,c,d)},zb:function(a,b,c,d,e,f,g,m,n){N.texImage2D(a,b,c,d,e,f,g,m,n?Ce(m,g,d,e,n):null)},yb:function(a,b,c){N.texParameterf(a,b,c)},xb:function(a,b,c){N.texParameterf(a,b,A[c>>2])},wb:function(a,b,c){N.texParameteri(a,b,c)},ub:function(a,b,c){N.texParameteri(a, +b,w[c>>2])},tb:function(a,b,c,d,e,f,g,m,n){var r=null;n&&(r=Ce(m,g,e,f,n));N.texSubImage2D(a,b,c,d,e,f,g,m,r)},sb:function(a,b){N.uniform1f(S[a],b)},rb:function(a,b,c){if(288>=b)for(var d=De[b-1],e=0;e>2];else d=A.subarray(c>>2,c+4*b>>2);N.uniform1fv(S[a],d)},qb:function(a,b){N.uniform1i(S[a],b)},pb:function(a,b,c){if(288>=b)for(var d=Ee[b-1],e=0;e>2];else d=w.subarray(c>>2,c+4*b>>2);N.uniform1iv(S[a],d)},ob:function(a,b,c){N.uniform2f(S[a],b,c)},nb:function(a, +b,c){if(144>=b)for(var d=De[2*b-1],e=0;e<2*b;e+=2)d[e]=A[c+4*e>>2],d[e+1]=A[c+(4*e+4)>>2];else d=A.subarray(c>>2,c+8*b>>2);N.uniform2fv(S[a],d)},mb:function(a,b,c){N.uniform2i(S[a],b,c)},lb:function(a,b,c){if(144>=b)for(var d=Ee[2*b-1],e=0;e<2*b;e+=2)d[e]=w[c+4*e>>2],d[e+1]=w[c+(4*e+4)>>2];else d=w.subarray(c>>2,c+8*b>>2);N.uniform2iv(S[a],d)},jb:function(a,b,c,d){N.uniform3f(S[a],b,c,d)},ib:function(a,b,c){if(96>=b)for(var d=De[3*b-1],e=0;e<3*b;e+=3)d[e]=A[c+4*e>>2],d[e+1]=A[c+(4*e+4)>>2],d[e+2]= +A[c+(4*e+8)>>2];else d=A.subarray(c>>2,c+12*b>>2);N.uniform3fv(S[a],d)},hb:function(a,b,c,d){N.uniform3i(S[a],b,c,d)},gb:function(a,b,c){if(96>=b)for(var d=Ee[3*b-1],e=0;e<3*b;e+=3)d[e]=w[c+4*e>>2],d[e+1]=w[c+(4*e+4)>>2],d[e+2]=w[c+(4*e+8)>>2];else d=w.subarray(c>>2,c+12*b>>2);N.uniform3iv(S[a],d)},fb:function(a,b,c,d,e){N.uniform4f(S[a],b,c,d,e)},eb:function(a,b,c){if(72>=b){var d=De[4*b-1],e=A;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=A.subarray(c>> +2,c+16*b>>2);N.uniform4fv(S[a],d)},db:function(a,b,c,d,e){N.uniform4i(S[a],b,c,d,e)},cb:function(a,b,c){if(72>=b)for(var d=Ee[4*b-1],e=0;e<4*b;e+=4)d[e]=w[c+4*e>>2],d[e+1]=w[c+(4*e+4)>>2],d[e+2]=w[c+(4*e+8)>>2],d[e+3]=w[c+(4*e+12)>>2];else d=w.subarray(c>>2,c+16*b>>2);N.uniform4iv(S[a],d)},bb:function(a,b,c,d){if(72>=b)for(var e=De[4*b-1],f=0;f<4*b;f+=4)e[f]=A[d+4*f>>2],e[f+1]=A[d+(4*f+4)>>2],e[f+2]=A[d+(4*f+8)>>2],e[f+3]=A[d+(4*f+12)>>2];else e=A.subarray(d>>2,d+16*b>>2);N.uniformMatrix2fv(S[a], +!!c,e)},ab:function(a,b,c,d){if(32>=b)for(var e=De[9*b-1],f=0;f<9*b;f+=9)e[f]=A[d+4*f>>2],e[f+1]=A[d+(4*f+4)>>2],e[f+2]=A[d+(4*f+8)>>2],e[f+3]=A[d+(4*f+12)>>2],e[f+4]=A[d+(4*f+16)>>2],e[f+5]=A[d+(4*f+20)>>2],e[f+6]=A[d+(4*f+24)>>2],e[f+7]=A[d+(4*f+28)>>2],e[f+8]=A[d+(4*f+32)>>2];else e=A.subarray(d>>2,d+36*b>>2);N.uniformMatrix3fv(S[a],!!c,e)},_a:function(a,b,c,d){if(18>=b){var e=De[16*b-1],f=A;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=A.subarray(d>>2,d+64*b>>2);N.uniformMatrix4fv(S[a],!!c,e)},Za:function(a){N.useProgram(R[a])},Ya:function(a){N.validateProgram(R[a])},Xa:function(a,b){N.vertexAttrib1f(a,b)},Wa:function(a,b){N.vertexAttrib1f(a,A[b>>2])},Va:function(a,b,c){N.vertexAttrib2f(a,b,c)},Ua:function(a,b){N.vertexAttrib2f(a,A[b>>2],A[b+4>>2])},Ta:function(a, +b,c,d){N.vertexAttrib3f(a,b,c,d)},Sa:function(a,b){N.vertexAttrib3f(a,A[b>>2],A[b+4>>2],A[b+8>>2])},Ra:function(a,b,c,d,e){N.vertexAttrib4f(a,b,c,d,e)},Pa:function(a,b){N.vertexAttrib4f(a,A[b>>2],A[b+4>>2],A[b+8>>2],A[b+12>>2])},Cd:function(a,b){N.vertexAttribDivisor(a,b)},Oa:function(a,b,c,d,e,f){N.vertexAttribPointer(a,b,c,!!d,e,f)},Na:function(a,b,c,d){N.viewport(a,b,c,d)},r:function(){return 0},e:function(a,b){Z(a,b||1);throw"longjmp";},ha:function(a,b,c){D.copyWithin(a,b,b+c)},va:function(a, b,c){return Fe(a,{Ue:w[c>>2],Me:w[c+4>>2],Df:w[c+8>>2],Af:b,Ge:w[c+12>>2],Ze:w[c+16>>2]})},W:function(a,b){a=V(a);return a?a.requestPointerLock||a.Ke?Jd&&Rd.ue?re(a):b?(Od(re,2,[a]),1):-2:-1:-4},ia:function(a){a>>>=0;var b=D.length;if(2147483648=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,a+100663296);d=Math.max(16777216,a,d);0>>16);Pa(Da.buffer);var e=1;break a}catch(f){}e=void 0}if(e)return!0}return!1}, -B:function(){return(Xd=navigator.getGamepads?navigator.getGamepads():navigator.webkitGetGamepads?navigator.webkitGetGamepads():null)?0:-1},C:function(a,b,c){if("undefined"===typeof onbeforeunload)return-1;if(1!==c)return-5;Ge(a,b);return 0},O:function(a,b,c,d){He(a,b,c,d,12,"blur");return 0},i:le,p:function(a,b,c){a=V(a);if(!a)return-4;a.style.width=b+"px";a.style.height=c+"px";return 0},P:function(a,b,c,d){He(a,b,c,d,13,"focus");return 0},F:function(a,b,c,d){if(!Vd())return-1;a=V(a);if(!a)return-4; -Ie(a,b,c,d,"fullscreenchange");Ie(a,b,c,d,"webkitfullscreenchange");return 0},z:function(a,b,c){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;Je(a,b,c,26,"gamepadconnected");return 0},y:function(a,b,c){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;Je(a,b,c,27,"gamepaddisconnected");return 0},I:function(a,b,c,d){Ke(a,b,c,d,2,"keydown");return 0},G:function(a,b,c,d){Ke(a,b,c,d,1,"keypress");return 0},H:function(a,b,c,d){Ke(a,b,c,d,3,"keyup");return 0},Tb:function(a, +A:function(){return(Xd=navigator.getGamepads?navigator.getGamepads():navigator.webkitGetGamepads?navigator.webkitGetGamepads():null)?0:-1},C:function(a,b,c){if("undefined"===typeof onbeforeunload)return-1;if(1!==c)return-5;Ge(a,b);return 0},O:function(a,b,c,d){He(a,b,c,d,12,"blur");return 0},i:le,p:function(a,b,c){a=V(a);if(!a)return-4;a.style.width=b+"px";a.style.height=c+"px";return 0},P:function(a,b,c,d){He(a,b,c,d,13,"focus");return 0},F:function(a,b,c,d){if(!Vd())return-1;a=V(a);if(!a)return-4; +Ie(a,b,c,d,"fullscreenchange");Ie(a,b,c,d,"webkitfullscreenchange");return 0},y:function(a,b,c){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;Je(a,b,c,26,"gamepadconnected");return 0},x:function(a,b,c){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;Je(a,b,c,27,"gamepaddisconnected");return 0},I:function(a,b,c,d){Ke(a,b,c,d,2,"keydown");return 0},G:function(a,b,c,d){Ke(a,b,c,d,1,"keypress");return 0},H:function(a,b,c,d){Ke(a,b,c,d,3,"keyup");return 0},Rb:function(a, b,c,d,e){Jc(function(){G.get(a)()},b,c,d,e)},U:function(a,b,c,d){Me(a,b,c,d,5,"mousedown");return 0},S:function(a,b,c,d){Me(a,b,c,d,33,"mouseenter");return 0},R:function(a,b,c,d){Me(a,b,c,d,34,"mouseleave");return 0},V:function(a,b,c,d){Me(a,b,c,d,8,"mousemove");return 0},T:function(a,b,c,d){Me(a,b,c,d,6,"mouseup");return 0},J:function(a,b,c,d){if(!document||!document.body||!(document.body.requestPointerLock||document.body.ge||document.body.Be||document.body.Ke))return-1;a=V(a);if(!a)return-4;Ne(a, b,c,d,"pointerlockchange");Ne(a,b,c,d,"mozpointerlockchange");Ne(a,b,c,d,"webkitpointerlockchange");Ne(a,b,c,d,"mspointerlockchange");return 0},E:function(a,b,c,d){Oe(a,b,c,d);return 0},K:function(a,b,c,d){Pe(a,b,c,d,25,"touchcancel");return 0},M:function(a,b,c,d){Pe(a,b,c,d,23,"touchend");return 0},L:function(a,b,c,d){Pe(a,b,c,d,24,"touchmove");return 0},N:function(a,b,c,d){Pe(a,b,c,d,22,"touchstart");return 0},D:function(a,b,c){if(!je[1])return-4;Qe(a,b,c);return 0},Q:function(a,b,c,d){a=V(a);return"undefined"!== typeof a.onwheel?(Re(a,b,c,d),0):-1},q:function(){throw"Please compile your program with async support in order to use asynchronous operations like emscripten_sleep";},ja:function(a,b){try{var c=0;Te().forEach(function(d,e){var f=b+c;e=w[a+4*e>>2]=f;for(f=0;f>0]=d.charCodeAt(f);q[e>>0]=0;c+=d.length+1});return 0}catch(d){return"undefined"!==typeof M&&d instanceof I||l(d),d.ie}},ka:function(a,b){try{var c=Te();w[a>>2]=c.length;var d=0;c.forEach(function(e){d+=e.length+1});w[b>> -2]=d;return 0}catch(e){return"undefined"!==typeof M&&e instanceof I||l(e),e.ie}},t:function(a){$e(a)},w:function(a){try{var b=zc(a);hc(b);return 0}catch(c){return"undefined"!==typeof M&&c instanceof I||l(c),c.ie}},la:function(a,b,c,d){try{a:{for(var e=zc(a),f=a=0;f>2],m=e,n=w[b+8*f>>2],r=g,p=void 0,t=q;if(0>r||0>p)throw new I(28);if(null===m.fd)throw new I(8);if(1===(m.flags&2097155))throw new I(8);if(K(m.node.mode))throw new I(31);if(!m.de.read)throw new I(28);var u="undefined"!== -typeof p;if(!u)p=m.position;else if(!m.seekable)throw new I(70);var v=m.de.read(m,t,n,r,p);u||(m.position+=v);var z=v;if(0>z){var C=-1;break a}a+=z;if(z>2]=C;return 0}catch(H){return"undefined"!==typeof M&&H instanceof I||l(H),H.ie}},Ma:function(a,b,c,d,e){try{var f=zc(a);a=4294967296*c+(b>>>0);if(-9007199254740992>=a||9007199254740992<=a)return-61;ic(f,a,d);x=[f.position>>>0,(y=f.position,1<=+Math.abs(y)?0>>0:~~+Math.ceil((y- -+(~~y>>>0))/4294967296)>>>0:0)];w[e>>2]=x[0];w[e+4>>2]=x[1];f.Pe&&0===a&&0===d&&(f.Pe=null);return 0}catch(g){return"undefined"!==typeof M&&g instanceof I||l(g),g.ie}},v:function(a,b,c,d){try{a:{for(var e=zc(a),f=a=0;f>2],w[b+(8*f+4)>>2],void 0);if(0>g){var m=-1;break a}a+=g}m=a}w[d>>2]=m;return 0}catch(n){return"undefined"!==typeof M&&n instanceof I||l(n),n.ie}},b:function(){return xa},n:function(a){var b=Date.now();w[a>>2]=b/1E3|0;w[a+4>>2]=b%1E3*1E3|0;return 0},xc:af, -m:bf,k:cf,s:df,u:ef,Ic:ff,Y:gf,Oa:hf,Na:jf,h:kf,l:lf,Z:mf,a:Da,ra:function(a,b){if(0===a)return mb(),-1;var c=w[a>>2];a=w[a+4>>2];if(0>a||999999999c)return mb(),-1;0!==b&&(w[b>>2]=0,w[b+4>>2]=0);b=1E6*c+a/1E3;for(c=Ac();Ac()-c>2],m=e,n=w[b+8*f>>2],r=g,p=void 0,t=q;if(0>r||0>p)throw new I(28);if(null===m.fd)throw new I(8);if(1===(m.flags&2097155))throw new I(8);if(K(m.node.mode))throw new I(31);if(!m.de.read)throw new I(28);var u="undefined"!== +typeof p;if(!u)p=m.position;else if(!m.seekable)throw new I(70);var v=m.de.read(m,t,n,r,p);u||(m.position+=v);var z=v;if(0>z){var C=-1;break a}a+=z;if(z>2]=C;return 0}catch(H){return"undefined"!==typeof M&&H instanceof I||l(H),H.ie}},Ka:function(a,b,c,d,e){try{var f=zc(a);a=4294967296*c+(b>>>0);if(-9007199254740992>=a||9007199254740992<=a)return-61;ic(f,a,d);x=[f.position>>>0,(y=f.position,1<=+Math.abs(y)?0>>0:~~+Math.ceil((y- ++(~~y>>>0))/4294967296)>>>0:0)];w[e>>2]=x[0];w[e+4>>2]=x[1];f.Pe&&0===a&&0===d&&(f.Pe=null);return 0}catch(g){return"undefined"!==typeof M&&g instanceof I||l(g),g.ie}},u:function(a,b,c,d){try{a:{for(var e=zc(a),f=a=0;f>2],w[b+(8*f+4)>>2],void 0);if(0>g){var m=-1;break a}a+=g}m=a}w[d>>2]=m;return 0}catch(n){return"undefined"!==typeof M&&n instanceof I||l(n),n.ie}},b:function(){return xa},n:function(a){var b=Date.now();w[a>>2]=b/1E3|0;w[a+4>>2]=b%1E3*1E3|0;return 0},vc:af, +s:bf,j:cf,m:df,B:ef,Gc:ff,Y:gf,Ma:hf,La:jf,g:kf,l:lf,Z:mf,a:Da,ra:function(a,b){if(0===a)return mb(),-1;var c=w[a>>2];a=w[a+4>>2];if(0>a||999999999c)return mb(),-1;0!==b&&(w[b>>2]=0,w[b+4>>2]=0);b=1E6*c+a/1E3;for(c=Ac();Ac()-cg.indexOf("_rwasm=0")&&(location.href+=(g?g+"&":"?")+"_rwasm=0")}l(f)})}var d={a:nf};$a("wasm-instantiate");if(h.instantiateWasm)try{return h.instantiateWasm(d,a)}catch(e){return k("Module.instantiateWasm callback failed with error: "+ e),!1}(function(){return ya||"function"!==typeof WebAssembly.instantiateStreaming||db(eb)||cb(eb,"file://")||"function"!==typeof fetch?c(b):fetch(eb,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,d).then(b,function(f){k("wasm streaming compile failed: "+f);k("falling back to ArrayBuffer instantiation");return c(b)})})})();return{}})(); var Ye=h.___wasm_call_ctors=function(){return(Ye=h.___wasm_call_ctors=h.asm.Qd).apply(null,arguments)},F=h._malloc=function(){return(F=h._malloc=h.asm.Rd).apply(null,arguments)};h._main=function(){return(h._main=h.asm.Sd).apply(null,arguments)};var nb=h.___errno_location=function(){return(nb=h.___errno_location=h.asm.Td).apply(null,arguments)},Ze=h._emscripten_GetProcAddress=function(){return(Ze=h._emscripten_GetProcAddress=h.asm.Ud).apply(null,arguments)}; h._fileno=function(){return(h._fileno=h.asm.Vd).apply(null,arguments)}; var W=h.stackSave=function(){return(W=h.stackSave=h.asm.Wd).apply(null,arguments)},X=h.stackRestore=function(){return(X=h.stackRestore=h.asm.Xd).apply(null,arguments)},La=h.stackAlloc=function(){return(La=h.stackAlloc=h.asm.Yd).apply(null,arguments)},Z=h._setThrew=function(){return(Z=h._setThrew=h.asm.Zd).apply(null,arguments)},of=h.dynCall_ji=function(){return(of=h.dynCall_ji=h.asm._d).apply(null,arguments)},pf=h.dynCall_jiji=function(){return(pf=h.dynCall_jiji=h.asm.$d).apply(null,arguments)}; -h.dynCall_iiji=function(){return(h.dynCall_iiji=h.asm.ae).apply(null,arguments)};function bf(a,b){var c=W();try{return G.get(a)(b)}catch(d){X(c);if(d!==d+0&&"longjmp"!==d)throw d;Z(1,0)}}function ef(a,b,c,d,e){var f=W();try{return G.get(a)(b,c,d,e)}catch(g){X(f);if(g!==g+0&&"longjmp"!==g)throw g;Z(1,0)}}function df(a,b,c,d){var e=W();try{return G.get(a)(b,c,d)}catch(f){X(e);if(f!==f+0&&"longjmp"!==f)throw f;Z(1,0)}} -function kf(a,b){var c=W();try{G.get(a)(b)}catch(d){X(c);if(d!==d+0&&"longjmp"!==d)throw d;Z(1,0)}}function mf(a,b,c,d){var e=W();try{G.get(a)(b,c,d)}catch(f){X(e);if(f!==f+0&&"longjmp"!==f)throw f;Z(1,0)}}function lf(a,b,c){var d=W();try{G.get(a)(b,c)}catch(e){X(d);if(e!==e+0&&"longjmp"!==e)throw e;Z(1,0)}}function cf(a,b,c){var d=W();try{return G.get(a)(b,c)}catch(e){X(d);if(e!==e+0&&"longjmp"!==e)throw e;Z(1,0)}} +h.dynCall_iiji=function(){return(h.dynCall_iiji=h.asm.ae).apply(null,arguments)};function cf(a,b,c){var d=W();try{return G.get(a)(b,c)}catch(e){X(d);if(e!==e+0&&"longjmp"!==e)throw e;Z(1,0)}}function ef(a,b,c,d,e){var f=W();try{return G.get(a)(b,c,d,e)}catch(g){X(f);if(g!==g+0&&"longjmp"!==g)throw g;Z(1,0)}}function df(a,b,c,d){var e=W();try{return G.get(a)(b,c,d)}catch(f){X(e);if(f!==f+0&&"longjmp"!==f)throw f;Z(1,0)}} +function kf(a,b){var c=W();try{G.get(a)(b)}catch(d){X(c);if(d!==d+0&&"longjmp"!==d)throw d;Z(1,0)}}function bf(a,b){var c=W();try{return G.get(a)(b)}catch(d){X(c);if(d!==d+0&&"longjmp"!==d)throw d;Z(1,0)}}function mf(a,b,c,d){var e=W();try{G.get(a)(b,c,d)}catch(f){X(e);if(f!==f+0&&"longjmp"!==f)throw f;Z(1,0)}}function lf(a,b,c){var d=W();try{G.get(a)(b,c)}catch(e){X(d);if(e!==e+0&&"longjmp"!==e)throw e;Z(1,0)}} function gf(a,b,c,d,e,f,g,m,n,r){var p=W();try{return G.get(a)(b,c,d,e,f,g,m,n,r)}catch(t){X(p);if(t!==t+0&&"longjmp"!==t)throw t;Z(1,0)}}function ff(a,b,c,d,e,f,g,m,n){var r=W();try{return G.get(a)(b,c,d,e,f,g,m,n)}catch(p){X(r);if(p!==p+0&&"longjmp"!==p)throw p;Z(1,0)}}function af(a){var b=W();try{return G.get(a)()}catch(c){X(b);if(c!==c+0&&"longjmp"!==c)throw c;Z(1,0)}}function hf(a,b){var c=W();try{return of(a,b)}catch(d){X(c);if(d!==d+0&&"longjmp"!==d)throw d;Z(1,0)}} function jf(a,b,c,d,e){var f=W();try{return pf(a,b,c,d,e)}catch(g){X(f);if(g!==g+0&&"longjmp"!==g)throw g;Z(1,0)}}h.addRunDependency=$a;h.removeRunDependency=ab;h.FS_createPath=nc;h.FS_createDataFile=pc;h.FS_createPreloadedFile=tc;h.FS_createLazyFile=sc;h.FS_createDevice=qc;h.FS_unlink=cc; if(bb)if(db(bb)||(bb=la(bb)),ia||ja){var qf=oa(bb);D.set(qf,1024)}else{$a("memory initializer");var rf=function(a){a.byteLength&&(a=new Uint8Array(a));D.set(a,1024);h.memoryInitializerRequest&&delete h.memoryInitializerRequest.response;ab("memory initializer")},sf=function(){na(bb,rf,function(){throw Error("could not load memory initializer "+bb);})};if(h.memoryInitializerRequest){var tf=function(){var a=h.memoryInitializerRequest,b=a.response;200!==a.status&&0!==a.status?(console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+ diff --git a/wasm/basque.wasm b/wasm/basque.wasm index 1ab4700..7f70c68 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 67b871e..b591806 100644 --- a/wasm/basque.wasm.js +++ b/wasm/basque.wasm.js @@ -32,37 +32,37 @@ WebAssembly = { // EMSCRIPTEN_START_ASM function instantiate(xP){function nP(yP){yP.set=(function(zP,AP){this[zP]=AP});yP.get=(function(zP){return this[zP]});return yP}var a;var b=new ArrayBuffer(16);var c=new Int32Array(b);var d=new Float32Array(b);var e=new Float64Array(b);function oP(BP){return c[BP]}function pP(BP,CP){c[BP]=CP}function qP(){return e[0]}function rP(CP){e[0]=CP}function sP(){return d[2]}function tP(CP){d[2]=CP}function uP(DP){var f=DP.a;var g=f.buffer;f.grow=wP;var h=new Int8Array(g);var i=new Int16Array(g);var j=new Int32Array(g);var k=new Uint8Array(g);var l=new Uint16Array(g);var m=new Uint32Array(g);var n=new Float32Array(g);var o=new Float64Array(g);var p=Math.imul;var q=Math.fround;var r=Math.abs;var s=Math.clz32;var t=Math.min;var u=Math.max;var v=Math.floor;var w=Math.ceil;var x=Math.trunc;var y=Math.sqrt;var z=DP.abort;var A=NaN;var B=Infinity;var C=DP.b;var D=DP.c;var E=DP.d;var F=DP.e;var G=DP.f;var H=DP.g;var I=DP.h;var J=DP.i;var K=DP.j;var L=DP.k;var M=DP.l;var N=DP.m;var O=DP.n;var P=DP.o;var Q=DP.p;var R=DP.q;var S=DP.r;var T=DP.s;var U=DP.t;var V=DP.u;var W=DP.v;var X=DP.w;var Y=DP.x;var Z=DP.y;var _=DP.z;var $=DP.A;var aa=DP.B;var ba=DP.C;var ca=DP.D;var da=DP.E;var ea=DP.F;var fa=DP.G;var ga=DP.H;var ha=DP.I;var ia=DP.J;var ja=DP.K;var ka=DP.L;var la=DP.M;var ma=DP.N;var na=DP.O;var oa=DP.P;var pa=DP.Q;var qa=DP.R;var ra=DP.S;var sa=DP.T;var ta=DP.U;var ua=DP.V;var va=DP.W;var wa=DP.X;var xa=DP.Y;var ya=DP.Z;var za=DP._;var Aa=DP.$;var Ba=DP.aa;var Ca=DP.ba;var Da=DP.ca;var Ea=DP.da;var Fa=DP.ea;var Ga=DP.fa;var Ha=DP.ga;var Ia=DP.ha;var Ja=DP.ia;var Ka=DP.ja;var La=DP.ka;var Ma=DP.la;var Na=DP.ma;var Oa=DP.na;var Pa=DP.oa;var Qa=DP.pa;var Ra=DP.qa;var Sa=DP.ra;var Ta=DP.sa;var Ua=DP.ta;var Va=DP.ua;var Wa=DP.va;var Xa=DP.wa;var Ya=DP.xa;var Za=DP.ya;var _a=DP.za;var $a=DP.Aa;var ab=DP.Ba;var bb=DP.Ca;var cb=DP.Da;var db=DP.Ea;var eb=DP.Fa;var fb=DP.Ga;var gb=DP.Ha;var hb=DP.Ia;var ib=DP.Ja;var jb=DP.Ka;var kb=DP.La;var lb=DP.Ma;var mb=DP.Na;var nb=DP.Oa;var ob=DP.Pa;var pb=DP.Qa;var qb=DP.Ra;var rb=DP.Sa;var sb=DP.Ta;var tb=DP.Ua;var ub=DP.Va;var vb=DP.Wa;var wb=DP.Xa;var xb=DP.Ya;var yb=DP.Za;var zb=DP._a;var Ab=DP.$a;var Bb=DP.ab;var Cb=DP.bb;var Db=DP.cb;var Eb=DP.db;var Fb=DP.eb;var Gb=DP.fb;var Hb=DP.gb;var Ib=DP.hb;var Jb=DP.ib;var Kb=DP.jb;var Lb=DP.kb;var Mb=DP.lb;var Nb=DP.mb;var Ob=DP.nb;var Pb=DP.ob;var Qb=DP.pb;var Rb=DP.qb;var Sb=DP.rb;var Tb=DP.sb;var Ub=DP.tb;var Vb=DP.ub;var Wb=DP.vb;var Xb=DP.wb;var Yb=DP.xb;var Zb=DP.yb;var _b=DP.zb;var $b=DP.Ab;var ac=DP.Bb;var bc=DP.Cb;var cc=DP.Db;var dc=DP.Eb;var ec=DP.Fb;var fc=DP.Gb;var gc=DP.Hb;var hc=DP.Ib;var ic=DP.Jb;var jc=DP.Kb;var kc=DP.Lb;var lc=DP.Mb;var mc=DP.Nb;var nc=DP.Ob;var oc=DP.Pb;var pc=DP.Qb;var qc=DP.Rb;var rc=DP.Sb;var sc=DP.Tb;var tc=DP.Ub;var uc=DP.Vb;var vc=DP.Wb;var wc=DP.Xb;var xc=DP.Yb;var yc=DP.Zb;var zc=DP._b;var Ac=DP.$b;var Bc=DP.ac;var Cc=DP.bc;var Dc=DP.cc;var Ec=DP.dc;var Fc=DP.ec;var Gc=DP.fc;var Hc=DP.gc;var Ic=DP.hc;var Jc=DP.ic;var Kc=DP.jc;var Lc=DP.kc;var Mc=DP.lc;var Nc=DP.mc;var Oc=DP.nc;var Pc=DP.oc;var Qc=DP.pc;var Rc=DP.qc;var Sc=DP.rc;var Tc=DP.sc;var Uc=DP.tc;var Vc=DP.uc;var Wc=DP.vc;var Xc=DP.wc;var Yc=DP.xc;var Zc=DP.yc;var _c=DP.zc;var $c=DP.Ac;var ad=DP.Bc;var bd=DP.Cc;var cd=DP.Dc;var dd=DP.Ec;var ed=DP.Fc;var fd=DP.Gc;var gd=DP.Hc;var hd=DP.Ic;var id=DP.Jc;var jd=DP.Kc;var kd=DP.Lc;var ld=DP.Mc;var md=DP.Nc;var nd=DP.Oc;var od=DP.Pc;var pd=DP.Qc;var qd=DP.Rc;var rd=DP.Sc;var sd=DP.Tc;var td=DP.Uc;var ud=DP.Vc;var vd=DP.Wc;var wd=DP.Xc;var xd=DP.Yc;var yd=DP.Zc;var zd=DP._c;var Ad=DP.$c;var Bd=DP.ad;var Cd=DP.bd;var Dd=DP.cd;var Ed=DP.dd;var Fd=DP.ed;var Gd=DP.fd;var Hd=DP.gd;var Id=DP.hd;var Jd=DP.id;var Kd=DP.jd;var Ld=DP.kd;var Md=DP.ld;var Nd=DP.md;var Od=DP.nd;var Pd=DP.od;var Qd=DP.pd;var Rd=DP.qd;var Sd=DP.rd;var Td=DP.sd;var Ud=DP.td;var Vd=DP.ud;var Wd=DP.vd;var Xd=DP.wd;var Yd=DP.xd;var Zd=DP.yd;var _d=DP.zd;var $d=DP.Ad;var ae=DP.Bd;var be=DP.Cd;var ce=DP.Dd;var de=DP.Ed;var ee=DP.Fd;var fe=DP.Gd;var ge=DP.Hd;var he=DP.Id;var ie=DP.Jd;var je=DP.Kd;var ke=DP.Ld;var le=DP.Md;var me=DP.Nd;var ne=DP.Od;var oe=537139920;var pe=0; // EMSCRIPTEN_START_FUNCS -function OH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;r=oe+ -64|0;oe=r;j[a+256>>2]=0;b=a;a:{if(l[a+216>>1]!=l[a+218>>1]){e=911;g=912;d=909;c=910;break a}e=915;g=916;d=913;c=914}j[b+604>>2]=d;j[a+600>>2]=c;j[a+596>>2]=e;j[a+592>>2]=g;th(a);b=j[a+312>>2];if((b&255)>>>0<=7){j[a+568>>2]=j[(b<<24>>22)+159544>>2]}C=a+180|0;D=a+144|0;v=a+72|0;t=a+36|0;w=a+108|0;b=j[a+360>>2];b:{c:{d:{e:{while(1){o=j[a+356>>2];f=k[o+b|0];h[a+368|0]=f;g=h[f+158080|0];j[a+372>>2]=g;f:{if((f&254)!=64){e=j[a+364>>2];break f}e=j[a+364>>2];c=b+1|0;if((e|0)<=(c|0)){e=131;break d}g=2-p(k[c+o|0],g)|0;j[a+372>>2]=g}if((b+g|0)>(e|0)){e=131;break d}d=k[f+158336|0];c=d>>>4|0;b=j[a+16>>2]-c|0;j[a+28>>2]=b;if((b|0)<=-1){if(k[a+561|0]){e=129;break d}if(c){Ee(j[a+24>>2],0,c<<2)}j[a+28>>2]=0;b=0}q=(d&15)+b|0;j[a+32>>2]=q;e=130;c=j[a+20>>2];if((c|0)<(q|0)){break d}j[a+12>>2]=0;h[a+376|0]=1;n=j[a+24>>2];d=n+(b<<2)|0;e=135;g:{h:{i:{j:{k:{l:{m:{n:{switch(f|0){case 0:case 1:case 2:case 3:case 4:case 5:b=f<<14&16384;c=b^16384;if(f>>>0<=3){i[a+296>>1]=c;i[a+294>>1]=b;i[a+292>>1]=c;i[a+290>>1]=b}if(!(f&2)){i[a+300>>1]=c;i[a+298>>1]=b}th(a);break m;case 6:case 7:o:{b=l[d+4>>1];if(b>>>0>1]){c=l[d>>1];if(c>>>0>1]){break o}}if(!k[a+561|0]){break m}e=134;break d}c=j[a+88>>2]+(c<<3)|0;d=j[a+124>>2]+(b<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=!(f&1)|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;p:{q:{if((d^b+d)>16383){break q}d=c>>31;if((d+c^d)>16383){break q}if(!(b|c)){break p}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,H=De(d,b),i[G+294>>1]=H;G=a,H=De(c,b),i[G+296>>1]=H}b=l[a+294>>1]|l[a+296>>1]<<16;i[a+290>>1]=b;i[a+292>>1]=b>>>16;th(a);break m;case 8:case 9:r:{b=l[d+4>>1];if(b>>>0>1]){c=l[d>>1];if(c>>>0>1]){break r}}if(!k[a+561|0]){break m}e=134;break d}c=j[a+88>>2]+(c<<3)|0;d=j[a+124>>2]+(b<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=!(f&1)|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;s:{t:{if((d^b+d)>16383){break t}d=c>>31;if((d+c^d)>16383){break t}if(!(b|c)){break s}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,H=De(d,b),i[G+298>>1]=H;G=a,H=De(c,b),i[G+300>>1]=H}th(a);break m;case 10:e=j[d+4>>2]<<16;b=e>>16;d=j[d>>2]<<16;c=d>>16;f=d>>31;u:{v:{if((c+f^f)>16383){break v}f=b>>31;if((f+b^f)>16383){break v}if(!(b|c)){break u}b=e>>2;c=d>>2}d=c;c=ig(c,b)<<2;G=a,H=De(d,c),i[G+294>>1]=H;G=a,H=De(b,c),i[G+296>>1]=H}b=l[a+294>>1]|l[a+296>>1]<<16;i[a+290>>1]=b;i[a+292>>1]=b>>>16;th(a);break m;case 11:e=j[d+4>>2]<<16;b=e>>16;d=j[d>>2]<<16;c=d>>16;f=d>>31;w:{x:{if((c+f^f)>16383){break x}f=b>>31;if((f+b^f)>16383){break x}if(!(b|c)){break w}b=e>>2;c=d>>2}d=c;c=ig(c,b)<<2;G=a,H=De(d,c),i[G+298>>1]=H;G=a,H=De(b,c),i[G+300>>1]=H}th(a);break m;case 13:j[d>>2]=i[a+298>>1];j[d+4>>2]=i[a+300>>1];break m;case 14:b=l[a+294>>1]|l[a+296>>1]<<16;i[a+298>>1]=b;i[a+300>>1]=b>>>16;th(a);break m;case 15:y:{c=l[d+12>>1];b=l[a+44>>1];z:{if(c>>>0>=b>>>0){break z}e=l[d+16>>1];if(e>>>0>=b>>>0){break z}f=l[d+4>>1];b=l[a+80>>1];if(f>>>0>=b>>>0){break z}n=l[d+8>>1];if(n>>>0>=b>>>0){break z}b=l[d>>1];if(b>>>0>1]){break y}}if(!k[a+561|0]){break m}e=134;break d}o=j[a+52>>2];z=c<<3;c=o+z|0;d=j[c+4>>2];B=e<<3;g=B+o|0;q=j[g+4>>2];o=j[a+88>>2];e=f<<3;s=o+e|0;f=j[s>>2];E=n<<3;o=E+o|0;u=j[o>>2];n=j[s+4>>2];s=j[o+4>>2];o=j[c>>2];c=j[g>>2];g=b+j[a+132>>2]|0;h[g|0]=k[g|0]|24;g=u-f|0;y=q-d|0;A=0-y|0;q=s-n|0;s=c-o|0;c=Ne(g,A,64)+Ne(q,s,64)|0;u=c>>31;x=Ne(g,s,64)+Ne(q,y,64)|0;y=x>>31;if((p(c+u^u,19)|0)>(y^y+x)){d=Ne(o-f|0,A,64)+Ne(d-n|0,s,64)|0;f=Ne(d,g,c);c=Ne(d,q,c);b=j[a+124>>2]+(b<<3)|0;d=e+j[a+88>>2]|0;j[b>>2]=f+j[d>>2];j[b+4>>2]=c+j[d+4>>2];break m}b=j[a+124>>2]+(b<<3)|0;c=j[a+52>>2];d=c+z|0;f=j[a+88>>2];n=f+E|0;e=e+f|0;c=c+B|0;j[b>>2]=((j[d>>2]+(j[n>>2]+j[e>>2]|0)|0)+j[c>>2]|0)/4;j[b+4>>2]=(j[c+4>>2]+(j[d+4>>2]+(j[n+4>>2]+j[e+4>>2]|0)|0)|0)/4;break m;case 16:i[a+284>>1]=j[d>>2];break m;case 17:i[a+286>>1]=j[d>>2];break m;case 18:i[a+288>>1]=j[d>>2];break m;case 19:b=C;A:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break A}}c=j[b+4>>2];j[t>>2]=j[b>>2];j[t+4>>2]=c;j[t+32>>2]=j[b+32>>2];c=j[b+28>>2];j[t+24>>2]=j[b+24>>2];j[t+28>>2]=c;c=j[b+20>>2];j[t+16>>2]=j[b+16>>2];j[t+20>>2]=c;c=j[b+12>>2];j[t+8>>2]=j[b+8>>2];j[t+12>>2]=c;i[a+344>>1]=j[d>>2];break m;case 20:b=C;B:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break B}}c=j[b+4>>2];j[v>>2]=j[b>>2];j[v+4>>2]=c;j[v+32>>2]=j[b+32>>2];c=j[b+28>>2];j[v+24>>2]=j[b+24>>2];j[v+28>>2]=c;c=j[b+20>>2];j[v+16>>2]=j[b+16>>2];j[v+20>>2]=c;c=j[b+12>>2];j[v+8>>2]=j[b+8>>2];j[v+12>>2]=c;i[a+346>>1]=j[d>>2];break m;case 21:b=C;C:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break C}}c=j[b+4>>2];j[w>>2]=j[b>>2];j[w+4>>2]=c;j[w+32>>2]=j[b+32>>2];c=j[b+28>>2];j[w+24>>2]=j[b+24>>2];j[w+28>>2]=c;c=j[b+20>>2];j[w+16>>2]=j[b+16>>2];j[w+20>>2]=c;c=j[b+12>>2];j[w+8>>2]=j[b+8>>2];j[w+12>>2]=c;i[a+348>>1]=j[d>>2];break m;case 22:b=C;D:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break D}}c=j[b+4>>2];o=j[b>>2];j[t>>2]=o;j[t+4>>2]=c;g=j[b+32>>2];j[t+32>>2]=g;e=j[b+28>>2];q=j[b+24>>2];j[t+24>>2]=q;j[t+28>>2]=e;f=j[b+20>>2];s=j[b+16>>2];j[t+16>>2]=s;j[t+20>>2]=f;n=j[b+12>>2];b=j[b+8>>2];j[t+8>>2]=b;j[t+12>>2]=n;j[v+32>>2]=g;j[v+24>>2]=q;j[v+28>>2]=e;j[v+16>>2]=s;j[v+20>>2]=f;j[v+8>>2]=b;j[v+12>>2]=n;j[v>>2]=o;j[v+4>>2]=c;j[w+32>>2]=j[t+32>>2];b=j[t+28>>2];j[w+24>>2]=j[t+24>>2];j[w+28>>2]=b;b=j[t+20>>2];j[w+16>>2]=j[t+16>>2];j[w+20>>2]=b;b=j[t+12>>2];j[w+8>>2]=j[t+8>>2];j[w+12>>2]=b;b=j[t+4>>2];j[w>>2]=j[t>>2];j[w+4>>2]=b;b=l[d>>1];i[a+348>>1]=b;i[a+346>>1]=b;i[a+344>>1]=b;break m;case 23:b=j[d>>2];if((b|0)<0){e=132;break d}j[a+304>>2]=b;break m;case 24:j[a+568>>2]=917;j[a+312>>2]=1;break m;case 25:j[a+568>>2]=918;j[a+312>>2]=0;break m;case 26:j[a+308>>2]=j[d>>2];break m;case 27:b=j[a+360>>2];c=j[a+364>>2];d=1;while(1){b=b+g|0;j[a+360>>2]=b;if((b|0)>=(c|0)){e=131;break d}e=k[b+o|0];h[a+368|0]=e;g=h[e+158080|0];j[a+372>>2]=g;if((e&254)==64){f=b+1|0;if((f|0)>=(c|0)){e=131;break d}g=2-p(k[f+o|0],g)|0;j[a+372>>2]=g}if((c|0)<(b+g|0)){e=131;break d}E:{switch(e-88|0){case 0:d=d+1|0;if(d){continue}break m;case 1:d=d-1|0;break;default:break E}}if(d){continue}break}break m;case 28:c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;F:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break F}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 29:j[a+320>>2]=j[d>>2];break m;case 30:j[a+324>>2]=j[d>>2];break m;case 31:G=a,H=ye(j[d>>2],j[a+260>>2]),j[G+328>>2]=H;break m;case 32:j[d+4>>2]=j[d>>2];break m;case 35:G=d,H=mP(j[d>>2],j[d+4>>2]),j[G>>2]=H;j[d+4>>2]=pe;break m;case 36:j[d>>2]=j[a+16>>2];break m;case 37:c=d;e=j[d>>2];G:{if(!((b|0)>=(e|0)?(e|0)>=1:0)){b=0;if(!k[a+561|0]){break G}j[a+12>>2]=134;j[d>>2]=0;break m}b=j[(b-e<<2)+n>>2]}j[c>>2]=b;break m;case 38:c=j[d>>2];if(!((b|0)>=(c|0)?(c|0)>=1:0)){if(!k[a+561|0]){break m}e=134;break d}b=(b-c<<2)+n|0;d=j[b>>2];yg(b,b+4|0,(c<<2)-4|0);j[(j[a+24>>2]+(j[a+28>>2]<<2)|0)-4>>2]=d;break m;case 39:H:{b=l[d>>1];if(b>>>0>1]){c=l[d+4>>1];if(c>>>0>1]){break H}}if(!k[a+561|0]){break m}e=134;break d}f=b;d=j[a+52>>2]+(c<<3)|0;b=j[a+88>>2]+(b<<3)|0;b=(qe[j[a+572>>2]](a,j[d>>2]-j[b>>2]|0,j[d+4>>2]-j[b+4>>2]|0)|0)/2|0;qe[j[a+584>>2]](a,v,f,b);qe[j[a+584>>2]](a,t,c,0-b|0);break m;case 40:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=40)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;I:{if(b>>>0>=3){j[a+12>>2]=132;break I}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break I}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break I}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 41:b=l[d>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break m}e=134;break d}b=b+j[a+60>>2]|0;c=b;d=k[b|0];b=l[a+298>>1]?-9:-1;h[c|0]=d&(l[a+300>>1]?b&239:b);break m;case 42:e=134;f=j[d+4>>2];b=j[a+420>>2]+1|0;if(f>>>0>=b>>>0){break d}c=j[a+404>>2];n=j[a+396>>2];J:{if((n|0)==(b|0)){b=c+p(f,24)|0;if((f|0)==j[b+12>>2]){break J}}o=c+p(n,24)|0;b=c;K:{if((n|0)<1){break K}while(1){if((f|0)==j[b+12>>2]){break K}b=b+24|0;if(o>>>0>b>>>0){continue}break}}if((b|0)==(o|0)){break d}}if(!k[b+16|0]){break d}e=130;f=j[a+428>>2];if((f|0)>=j[a+432>>2]){break d}if(j[d>>2]<1){break m}c=j[a+436>>2]+(f<<4)|0;j[c>>2]=j[a+352>>2];j[c+4>>2]=j[a+360>>2]+1;d=j[d>>2];j[c+12>>2]=b;j[c+8>>2]=d;j[a+428>>2]=f+1;d=j[b>>2];c=d-1|0;L:{if(c>>>0>=3){j[a+12>>2]=132;break L}e=j[((c<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break L}c=j[((c<<3)+a|0)+448>>2];b=j[b+4>>2];if((c|0)<(b|0)){j[a+12>>2]=131;break L}j[a+364>>2]=c;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=d}h[a+376|0]=0;break m;case 43:e=134;d=j[d>>2];b=j[a+420>>2]+1|0;if(d>>>0>=b>>>0){break d}c=j[a+404>>2];f=j[a+396>>2];M:{if((f|0)==(b|0)){b=c+p(d,24)|0;if((d|0)==j[b+12>>2]){break M}}n=c+p(f,24)|0;b=c;N:{if((f|0)<1){break N}while(1){if((d|0)==j[b+12>>2]){break N}b=b+24|0;if(n>>>0>b>>>0){continue}break}}if((b|0)==(n|0)){break d}}if(!k[b+16|0]){break d}e=130;d=j[a+428>>2];if((d|0)>=j[a+432>>2]){break d}c=j[a+436>>2]+(d<<4)|0;j[c>>2]=j[a+352>>2];e=j[a+360>>2];j[c+12>>2]=b;j[c+8>>2]=1;j[c+4>>2]=e+1;j[a+428>>2]=d+1;d=j[b>>2];c=d-1|0;O:{if(c>>>0>=3){j[a+12>>2]=132;break O}e=j[((c<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break O}c=j[((c<<3)+a|0)+448>>2];b=j[b+4>>2];if((c|0)<(b|0)){j[a+12>>2]=131;break O}j[a+364>>2]=c;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=d}h[a+376|0]=0;break m;case 44:b=j[a+404>>2];e=j[a+396>>2];f=b+p(e,24)|0;c=j[d>>2];P:{if((e|0)<1){break P}while(1){if((c|0)==j[b+12>>2]){break P}b=b+24|0;if(f>>>0>b>>>0){continue}break}}if((b|0)==(f|0)){if(e>>>0>=m[a+400>>2]){e=140;break d}j[a+396>>2]=e+1}if(c>>>0>65535){e=140;break d}d=j[a+352>>2];j[b+12>>2]=c;j[b>>2]=d;d=j[a+360>>2];j[b+20>>2]=0;i[b+16>>1]=1;j[b+4>>2]=d+1;if(c>>>0>m[a+420>>2]){j[a+420>>2]=c}f=j[a+364>>2];while(1){d=d+g|0;j[a+360>>2]=d;if((d|0)>=(f|0)){e=131;break d}c=k[d+o|0];h[a+368|0]=c;g=h[c+158080|0];j[a+372>>2]=g;if((c&254)==64){e=d+1|0;if((e|0)>=(f|0)){e=131;break d}g=2-p(k[e+o|0],g)|0;j[a+372>>2]=g}if((f|0)<(d+g|0)){e=131;break d}e=137;Q:{switch(c-44|0){case 1:j[b+8>>2]=d;break m;case 0:break d;default:break Q}}if((c|0)!=137){continue}break}break d;case 34:j[a+32>>2]=0;break k;case 33:case 89:case 126:case 127:j[a+16>>2]=q;break j;case 12:j[d>>2]=i[a+294>>1];j[d+4>>2]=i[a+296>>1];break m;default:if(f>>>0>=224){R:{S:{f=l[d>>1];T:{if(f>>>0>=l[a+80>>1]){break T}b=j[d+4>>2];c=b+1|0;if(c>>>0>=j[a+380>>2]+1>>>0){break T}if(l[a+284>>1]>1]){break S}}if(!k[a+561|0]){break R}j[a+12>>2]=134;break R}q=j[a+320>>2];o=j[a+308>>2];g=0;if(c){g=qe[j[a+596>>2]](a,b)|0}b=j[a+328>>2];d=g-b|0;c=d>>31;b=j[a+324>>2]>(c^c+d)?(g|0)>-1?b:0-b|0:g;c=0-b|0;U:{if(l[a+346>>1]){break U}d=i[a+298>>1];c=d>>31;n=c^c+d;c=b>>31;g=c+b^c;s=g>>>16|0;u=p(n,s);e=u<<16|8192;y=f<<3;c=y+j[a+84>>2]|0;z=j[a+48>>2]+(l[a+284>>1]<<3)|0;A=e;x=n;n=g&65535;e=e+p(x,n)|0;e=(u>>>16|0)+(A>>>0>e>>>0)<<18|e>>>14;j[c>>2]=j[z>>2]+((b^d)>-1?e:0-e|0);d=i[a+300>>1];e=d>>31;g=e^d+e;s=p(g,s);e=s<<16|8192;x=e;e=e+p(g,n)|0;e=(s>>>16|0)+(x>>>0>e>>>0)<<18|e>>>14;j[c+4>>2]=j[z+4>>2]+((b^d)>-1?e:0-e|0);e=j[c+4>>2];d=y+j[a+88>>2]|0;j[d>>2]=j[c>>2];j[d+4>>2]=e;c=0-b|0}d=f<<3;e=d+j[a+84>>2]|0;n=j[a+48>>2]+(l[a+284>>1]<<3)|0;n=qe[j[a+576>>2]](a,j[e>>2]-j[n>>2]|0,j[e+4>>2]-j[n+4>>2]|0)|0;d=d+j[a+88>>2]|0;e=j[a+52>>2]+(l[a+284>>1]<<3)|0;g=qe[j[a+572>>2]](a,j[d>>2]-j[e>>2]|0,j[d+4>>2]-j[e+4>>2]|0)|0;b=(b^n)<0?k[a+316|0]?c:b:b;c=k[a+368|0];V:{if(c&4){d=a;if(l[a+344>>1]==l[a+346>>1]){s=b-n|0;e=s>>31;b=(q|0)<(e^e+s)?n:b}e=qe[j[a+568>>2]](d,b,j[(((c&3)<<2)+a|0)+264>>2])|0;c=k[a+368|0];break V}d=j[(((c&3)<<2)+a|0)+264>>2];if((b|0)>=0){b=b+d|0;e=(b|0)>0?b:0;break V}b=b-d|0;e=b>>31&b}W:{if(!(c&8)){break W}if((n|0)>=0){e=(e|0)<(o|0)?o:e;break W}b=0-o|0;e=(b|0)<(e|0)?b:e}qe[j[a+584>>2]](a,v,f,e-g|0)}i[a+286>>1]=l[a+284>>1];if(k[a+368|0]&16){i[a+284>>1]=f}i[a+288>>1]=f;break m}if(f>>>0>=192){X:{Y:{b=l[d>>1];if(b>>>0>1]){c=l[a+284>>1];if(c>>>0>1]){break Y}}if(!k[a+561|0]){break X}j[a+12>>2]=134;break X}f=j[a+308>>2];Z:{if(!(l[a+346>>1]?l[a+344>>1]:0)){d=j[a+84>>2]+(b<<3)|0;c=j[a+48>>2]+(c<<3)|0;c=qe[j[a+576>>2]](a,j[d>>2]-j[c>>2]|0,j[d+4>>2]-j[c+4>>2]|0)|0;break Z}c=j[a+56>>2]+(c<<3)|0;d=j[a+92>>2]+(b<<3)|0;e=j[a+220>>2];if((e|0)==j[a+224>>2]){c=ye(qe[j[a+576>>2]](a,j[d>>2]-j[c>>2]|0,j[d+4>>2]-j[c+4>>2]|0)|0,j[a+220>>2]);break Z}c=(H=a,I=ye(j[d>>2]-j[c>>2]|0,e),J=ye(j[d+4>>2]-j[c+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](H|0,I|0,J|0)|0)}d=j[a+328>>2];n=c-d|0;e=n>>31;d=j[a+324>>2]>(e^e+n)?(c|0)>-1?d:0-d|0:c;c=k[a+368|0];_:{if(c&4){e=qe[j[a+568>>2]](a,d,j[(((c&3)<<2)+a|0)+264>>2])|0;c=k[a+368|0];break _}e=j[(((c&3)<<2)+a|0)+264>>2];if((d|0)>=0){e=d+e|0;e=(e|0)>0?e:0;break _}e=d-e|0;e=e>>31&e}$:{if(!(c&8)){break $}if((d|0)>=0){e=(e|0)<(f|0)?f:e;break $}c=0-f|0;e=(c|0)<(e|0)?c:e}c=j[a+88>>2]+(b<<3)|0;d=j[a+52>>2]+(l[a+284>>1]<<3)|0;J=a,I=v,H=b,K=e-(qe[j[a+572>>2]](a,j[c>>2]-j[d>>2]|0,j[c+4>>2]-j[d+4>>2]|0)|0)|0,G=j[a+584>>2],qe[G](J|0,I|0,H|0,K|0)}i[a+288>>1]=b;i[a+286>>1]=l[a+284>>1];if(!(k[a+368|0]&16)){break m}i[a+284>>1]=b;break m}if(f>>>0>=184){e=130;f=f+65353&65535;if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}b=j[a+360>>2];c=b+1|0;j[a+360>>2]=c;aa:{if(!f){break aa}j[a+360>>2]=b+3;j[d>>2]=(k[(b+o|0)+2|0]|k[c+o|0]<<8)<<16>>16;b=1;c=1;if((f|0)==1){break aa}while(1){e=j[a+360>>2];j[a+360>>2]=e+2;n=d+(b<<2)|0;b=e+o|0;b=k[b|0]|k[b+1|0]<<8;j[n>>2]=(b<<24|b<<8&16711680)>>16;c=c+1|0;b=c&65535;if(f>>>0>b>>>0){continue}break}}h[a+376|0]=0;break m}if(f>>>0>=176){b=1;e=130;f=f+65361&65535;if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}c=1;if(!f){break m}while(1){j[(d+(b<<2)|0)-4>>2]=k[o+(j[a+360>>2]+b|0)|0];c=c+1|0;b=c&65535;if(f>>>0>=b>>>0){continue}break}break m}b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){c=p(g,24)+b|0;d=b;while(1){if(!(!k[d+16|0]|(f|0)!=k[d+12|0])){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];c=j[a+360>>2];j[b+12>>2]=d;j[b+8>>2]=1;j[b+4>>2]=c+1;c=j[d>>2];b=c-1|0;ba:{if(b>>>0>=3){j[a+12>>2]=132;break ba}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ba}b=j[((b<<3)+a|0)+448>>2];d=j[d+4>>2];if((b|0)<(d|0)){j[a+12>>2]=131;break ba}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=d;j[a+352>>2]=c}h[a+376|0]=0;break m}d=d+24|0;if(c>>>0>d>>>0){continue}break}}j[a+12>>2]=128;break l;case 143:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=143)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;ca:{if(b>>>0>=3){j[a+12>>2]=132;break ca}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ca}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break ca}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 142:b=j[d+4>>2]-1|0;if(b>>>0>=3){if(!k[a+561|0]){break m}e=134;break d}c=j[d>>2];b=1<>2];if((b|0)<0){break m}j[a+340>>2]=b;break m;case 140:b=j[d+4>>2];if((b|0)>=j[d>>2]){break m}j[d>>2]=b;break m;case 139:b=j[d+4>>2];if((b|0)<=j[d>>2]){break m}j[d>>2]=b;break m;case 138:b=j[d+4>>2];c=j[d+8>>2];j[d+8>>2]=j[d>>2];j[d>>2]=b;j[d+4>>2]=c;break m;case 137:b=j[a+416>>2];c=j[a+408>>2];e=b+p(c,24)|0;da:{if((c|0)<1){break da}f=j[d>>2];while(1){if((f|0)==j[b+12>>2]){break da}b=b+24|0;if(e>>>0>b>>>0){continue}break}}if((b|0)==(e|0)){if(c>>>0>=m[a+412>>2]){e=141;break d}j[a+408>>2]=c+1}c=j[d>>2];if(c>>>0>255){e=141;break d}j[b+12>>2]=c;c=j[a+360>>2];j[b+4>>2]=c+1;e=j[a+352>>2];h[b+16|0]=1;j[b>>2]=e;b=j[d>>2];if(b>>>0>m[a+424>>2]){j[a+424>>2]=b&255}d=j[a+364>>2];while(1){c=c+g|0;j[a+360>>2]=c;if((c|0)>=(d|0)){e=131;break d}b=k[c+o|0];h[a+368|0]=b;g=h[b+158080|0];j[a+372>>2]=g;if((b&254)==64){e=c+1|0;if((e|0)>=(d|0)){e=131;break d}g=2-p(k[e+o|0],g)|0;j[a+372>>2]=g}if((d|0)<(c+g|0)){e=131;break d}e=137;ea:{switch(b-44|0){case 1:break m;case 0:break d;default:break ea}}if((b|0)!=137){continue}break}break d;case 136:c=j[d>>2];b=0-(c&1)&35;b=c&2?k[a+281|0]?b|128:b:b;b=c&4?k[a+282|0]?b|256:b:b;if(c&32){b=k[a+608|0]?b|4096:b}j[d>>2]=b;break m;case 134:case 135:fa:{b=l[d>>1];if(b>>>0>1]){d=l[d+4>>1];if(d>>>0>1]){break fa}}if(!k[a+561|0]){break m}e=134;break d}e=j[a+84>>2]+(b<<3)|0;n=j[a+120>>2]+(d<<3)|0;c=j[e+4>>2]-j[n+4>>2]|0;n=j[e>>2]-j[n>>2]|0;e=c|n;n=e?n:16384;f=!(f&1)|!e;e=f?c:n;c=f?n:0-c|0;n=c>>31;ga:{ha:{if((n^c+n)>16383){break ha}n=e>>31;if((n+e^n)>16383){break ha}if(!(c|e)){break ga}e=e<<14;c=c<<14}n=c;c=ig(c,e)<<2;G=a,K=De(n,c),i[G+290>>1]=K;G=a,K=De(e,c),i[G+292>>1]=K}c=j[a+88>>2]+(b<<3)|0;d=j[a+124>>2]+(d<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=f|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;ia:{ja:{if((d^b+d)>16383){break ja}d=c>>31;if((d+c^d)>16383){break ja}if(!(b|c)){break ia}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,K=De(d,b),i[G+294>>1]=K;G=a,K=De(c,b),i[G+296>>1]=K}th(a);break m;case 133:ka:{b=j[d>>2];c=b&255;if(c){if((c|0)!=255){break ka}h[a+337|0]=1;break m}h[a+337|0]=0;break m}if(!(!(b&256)|c>>>0>1])){h[a+337|0]=1}if(!(!(b&512)|!k[a+281|0])){h[a+337|0]=1}if(!(!(b&1024)|!k[a+282|0])){h[a+337|0]=1}if(!(!(b&2048)|c>>>0>=l[a+252>>1])){h[a+337|0]=0}if(!(!(b&4096)|!k[a+281|0])){h[a+337|0]=0}if(!(b&8192)|!k[a+282|0]){break m}h[a+337|0]=0;break m;case 131:case 132:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){c=p(g,24)+b|0;d=b;while(1){if(!(!k[d+16|0]|(f|0)!=k[d+12|0])){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];c=j[a+360>>2];j[b+12>>2]=d;j[b+8>>2]=1;j[b+4>>2]=c+1;c=j[d>>2];b=c-1|0;la:{if(b>>>0>=3){j[a+12>>2]=132;break la}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break la}b=j[((b<<3)+a|0)+448>>2];d=j[d+4>>2];if((b|0)<(d|0)){j[a+12>>2]=131;break la}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=d;j[a+352>>2]=c}h[a+376|0]=0;break m}d=d+24|0;if(c>>>0>d>>>0){continue}break}}j[a+12>>2]=128;break l;case 130:ma:{e=l[d+4>>1];c=l[a+152>>1];if(e>>>0>=c>>>0){break ma}b=l[d>>1];if(c>>>0<=b>>>0){break ma}if(b>>>0>e>>>0){break m}c=b;while(1){b=j[a+168>>2]+b|0;h[b|0]=k[b|0]&254;c=c+1|0;b=c&65535;if(e>>>0>=b>>>0){continue}break}break m}if(!k[a+561|0]){break m}e=134;break d;case 129:na:{e=l[d+4>>1];c=l[a+152>>1];if(e>>>0>=c>>>0){break na}b=l[d>>1];if(c>>>0<=b>>>0){break na}if(b>>>0>e>>>0){break m}c=b;while(1){b=j[a+168>>2]+b|0;h[b|0]=k[b|0]|1;c=c+1|0;b=c&65535;if(e>>>0>=b>>>0){continue}break}break m}if(!k[a+561|0]){break m}e=134;break d;case 128:oa:{pa:{c=j[a+304>>2];if((c|0)<=j[a+16>>2]){if((c|0)>0){break pa}break oa}if(!k[a+561|0]){break oa}j[a+12>>2]=129;break oa}while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];qa:{if(b>>>0>=l[a+152>>1]){if(!k[a+561|0]){break qa}e=134;break d}b=b+j[a+168>>2]|0;h[b|0]=k[b|0]^1;c=j[a+304>>2]}d=c-1|0;j[a+304>>2]=d;b=j[a+28>>2];if((c|0)<2){break oa}n=j[a+24>>2];c=d;continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 125:j[a+568>>2]=919;j[a+312>>2]=3;break m;case 124:j[a+568>>2]=920;j[a+312>>2]=4;break m;case 123:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=123)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;ra:{if(b>>>0>=3){j[a+12>>2]=132;break ra}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ra}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break ra}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 122:j[a+568>>2]=921;j[a+312>>2]=5;break m;case 121:if(j[d+4>>2]){break m}c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;sa:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break sa}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 120:if(!j[d+4>>2]){break m}c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;ta:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break ta}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 119:e=j[d>>2];b=e>>>4|0;d=j[(b&12)+159592>>2];j[a+476>>2]=d;ua:{va:{wa:{xa:{c=b&3;switch(c-1|0){case 2:break va;case 1:break wa;case 0:break xa;default:break ua}}c=d>>>10|0;break ua}c=d>>>9|0;break ua}c=p(d,3)>>>10|0}j[a+480>>2]=c;j[a+568>>2]=922;j[a+312>>2]=7;b=a;e=e&15;c=d-1|0;ya:{if(!e){break ya}c=(p(d,e-4|0)|0)/8|0}j[b+484>>2]=c>>8;j[a+476>>2]=d>>>8;break m;case 118:e=j[d>>2];b=e>>>4|0;d=j[(b&12)+159576>>2];j[a+476>>2]=d;za:{Aa:{Ba:{Ca:{c=b&3;switch(c-1|0){case 2:break Aa;case 1:break Ba;case 0:break Ca;default:break za}}c=d>>>10|0;break za}c=d>>>9|0;break za}c=p(d,3)>>>10|0}j[a+480>>2]=c;j[a+568>>2]=923;j[a+312>>2]=6;b=a;e=e&15;c=d-1|0;Da:{if(!e){break Da}c=(p(d,e-4|0)|0)/8|0}j[b+484>>2]=c>>8;j[a+476>>2]=d>>>8;break m;case 115:case 116:case 117:e=qe[j[a+592>>2]](a)|0;c=1;d=j[d>>2];Ea:{if(!d){break Ea}while(1){b=j[a+28>>2];if((b|0)<=1){if(k[a+561|0]){j[a+12>>2]=129}j[a+28>>2]=0;break Ea}f=b-2|0;j[a+28>>2]=f;n=b<<2;b=j[a+24>>2];n=j[(n+b|0)-4>>2];Fa:{if(n>>>0>=m[a+380>>2]){if(!k[a+561|0]){break Fa}e=134;break d}f=j[b+(f<<2)>>2];b=f>>>4&15;Ga:{Ha:{switch(k[a+368|0]-116|0){case 0:b=b|16;break Ga;case 1:break Ha;default:break Ga}}b=b|32}if((e|0)!=(l[a+332>>1]+b|0)){break Fa}b=f&15;qe[j[a+604>>2]](a,n,(b>>>0>7?-7:-8)+b<<6-l[a+334>>1])}c=c+1|0;if(d>>>0>=c>>>0){continue}break}}j[a+32>>2]=j[a+28>>2];break m;case 113:case 114:pq(a,d);break m;case 112:b=j[d>>2];if(b>>>0>=m[a+380>>2]){if(!k[a+561|0]){break m}e=134;break d}c=ye(j[d+4>>2],j[a+260>>2]);j[j[a+384>>2]+(b<<2)>>2]=c;break m;case 108:case 109:case 110:case 111:b=j[((f<<2)+a|0)-168>>2];c=j[d>>2];if((c|0)>=0){b=b+c|0;j[d>>2]=(b|0)>0?b:0;break m}b=c-b|0;j[d>>2]=b>>31&b;break m;case 104:case 105:case 106:case 107:G=d,K=qe[j[a+568>>2]](a,j[d>>2],j[((f<<2)+a|0)-152>>2])|0,j[G>>2]=K;break m;case 103:j[d>>2]=j[d>>2]+63&-64;break m;case 102:j[d>>2]=j[d>>2]&-64;break m;case 101:j[d>>2]=0-j[d>>2];break m;case 100:c=j[d>>2];b=c>>31;j[d>>2]=b^b+c;break m;case 99:G=d,K=Ne(j[d>>2],j[d+4>>2],64),j[G>>2]=K;break m;case 98:b=j[d+4>>2];if(!b){e=133;break d}G=d,K=yk(j[d>>2],64,b),j[G>>2]=K;break m;case 97:j[d>>2]=j[d>>2]-j[d+4>>2];break m;case 96:j[d>>2]=j[d>>2]+j[d+4>>2];break m;case 95:b=j[d>>2];if(b>>>0>6){e=132;break d}i[a+334>>1]=b;break m;case 94:i[a+332>>1]=j[d>>2];break m;case 93:pq(a,d);break m;case 92:j[d>>2]=!j[d>>2];break m;case 91:b=d;j[b>>2]=j[b>>2]?1:j[b+4>>2]!=0;break m;case 90:if(!j[d>>2]){j[d>>2]=0;break m}j[d>>2]=j[d+4>>2]!=0;break m;case 88:if(j[d>>2]){break m}b=j[a+360>>2];e=j[a+364>>2];d=1;while(1){b=b+g|0;j[a+360>>2]=b;if((b|0)>=(e|0)){e=131;break d}c=k[b+o|0];h[a+368|0]=c;g=h[c+158080|0];j[a+372>>2]=g;if((c&254)==64){f=b+1|0;if((f|0)>=(e|0)){e=131;break d}g=2-p(k[f+o|0],g)|0;j[a+372>>2]=g}if((e|0)<(b+g|0)){e=131;break d}Ia:{if((c|0)!=27){Ja:{switch(c-88|0){case 1:break Ia;case 0:break Ja;default:continue}}d=d+1|0;continue}if((d|0)!=1){continue}break m}d=d-1|0;if(d){continue}break}break m;case 87:G=d,K=!(qe[j[a+568>>2]](a,j[d>>2],0)&127),j[G>>2]=K;break m;case 86:G=d,K=(qe[j[a+568>>2]](a,j[d>>2],0)&127)==64,j[G>>2]=K;break m;case 85:j[d>>2]=j[d>>2]!=j[d+4>>2];break m;case 84:j[d>>2]=j[d>>2]==j[d+4>>2];break m;case 83:j[d>>2]=j[d>>2]>=j[d+4>>2];break m;case 82:j[d>>2]=j[d>>2]>j[d+4>>2];break m;case 81:j[d>>2]=j[d>>2]<=j[d+4>>2];break m;case 80:j[d>>2]=j[d>>2]>2];break m;case 78:h[a+316|0]=0;break k;case 77:h[a+316|0]=1;break k;case 76:G=d,K=qe[j[a+592>>2]](a)|0,j[G>>2]=K;break m;case 75:G=d,K=qe[j[a+592>>2]](a)|0,j[G>>2]=K;break m;case 73:case 74:Ka:{La:{b=d;e=l[b>>1];if(e>>>0>1]){c=l[d+4>>1];if(c>>>0>1]){break La}}c=0;if(!k[a+561|0]){break Ka}j[a+12>>2]=134;j[d>>2]=0;break m}if(f&1){b=j[a+52>>2]+(e<<3)|0;c=j[a+88>>2]+(c<<3)|0;G=d,K=qe[j[a+572>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0,j[G>>2]=K;break m}if(!(l[a+346>>1]?l[a+344>>1]:0)){b=j[a+48>>2]+(e<<3)|0;c=j[a+84>>2]+(c<<3)|0;G=d,K=qe[j[a+576>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0,j[G>>2]=K;break m}c=j[a+92>>2]+(c<<3)|0;e=j[a+56>>2]+(e<<3)|0;f=j[a+220>>2];if((f|0)==j[a+224>>2]){G=d,K=ye(qe[j[a+576>>2]](a,j[e>>2]-j[c>>2]|0,j[e+4>>2]-j[c+4>>2]|0)|0,j[a+220>>2]),j[G>>2]=K;break m}c=(K=a,H=ye(j[e>>2]-j[c>>2]|0,f),I=ye(j[e+4>>2]-j[c+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](K|0,H|0,I|0)|0)}j[b>>2]=c;break m;case 72:b=l[d>>1];if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break m}e=134;break d}c=b<<3;e=c+j[a+124>>2]|0;e=qe[j[a+572>>2]](a,j[e>>2],j[e+4>>2])|0;qe[j[a+584>>2]](a,w,b,j[d+4>>2]-e|0);if(l[a+348>>1]){break m}b=c+j[a+120>>2]|0;c=c+j[a+124>>2]|0;d=j[c+4>>2];j[b>>2]=j[c>>2];j[b+4>>2]=d;break m;case 70:case 71:b=d;c=j[b>>2];Ma:{if(c>>>0>=l[a+116>>1]){c=0;if(!k[a+561|0]){break Ma}j[a+12>>2]=134;j[d>>2]=0;break m}if(f&1){b=j[a+120>>2]+(c<<3)|0;G=d,I=qe[j[a+576>>2]](a,j[b>>2],j[b+4>>2])|0,j[G>>2]=I;break m}c=j[a+124>>2]+(c<<3)|0;c=qe[j[a+572>>2]](a,j[c>>2],j[c+4>>2])|0}j[b>>2]=c;break m;case 69:b=d;d=b;c=j[b>>2];Na:{if(c>>>0>=m[a+380>>2]){b=0;if(!k[a+561|0]){break Na}e=134;break d}b=qe[j[a+596>>2]](a,c)|0}j[d>>2]=b;break m;case 68:b=j[d>>2];if(b>>>0>=m[a+380>>2]){if(!k[a+561|0]){break m}e=134;break d}qe[j[a+600>>2]](a,b,j[d+4>>2]);break m;case 67:b=d;d=b;c=j[b>>2];Oa:{if(c>>>0>=l[a+468>>1]){b=0;if(!k[a+561|0]){break Oa}e=134;break d}b=j[j[a+472>>2]+(c<<2)>>2]}j[d>>2]=b;break m;case 66:b=j[d>>2];if(b>>>0>=l[a+468>>1]){if(!k[a+561|0]){break m}e=134;break d}j[j[a+472>>2]+(b<<2)>>2]=j[d+4>>2];break m;case 65:e=130;n=(c-j[a+16>>2]|0)+1|0;b=j[a+360>>2];c=b+o|0;f=k[c+1|0];if(n>>>0<=f>>>0){break d}e=b+2|0;j[a+360>>2]=e;Pa:{if(!f){break Pa}j[a+360>>2]=b+4;j[d>>2]=(k[c+3|0]|k[e+o|0]<<8)<<16>>16;b=1;c=1;if((f|0)==1){break Pa}while(1){e=j[a+360>>2];j[a+360>>2]=e+2;n=d+(b<<2)|0;b=e+o|0;b=k[b|0]|k[b+1|0]<<8;j[n>>2]=(b<<24|b<<8&16711680)>>16;c=c+1|0;b=c&65535;if(f>>>0>b>>>0){continue}break}}h[a+376|0]=0;j[a+32>>2]=f+j[a+32>>2];break m;case 64:e=130;b=o+j[a+360>>2]|0;f=k[b+1|0];if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}Qa:{if(!f){break Qa}j[d>>2]=k[b+2|0];b=2;c=2;if((f|0)==1){break Qa}while(1){j[(d+(b<<2)|0)-4>>2]=k[(o+(j[a+360>>2]+b|0)|0)+1|0];c=c+1|0;b=c&65535;if(f>>>0>=b>>>0){continue}break}}j[a+32>>2]=f+j[a+32>>2];break m;case 62:case 63:Ra:{Sa:{c=l[d>>1];if(c>>>0>1]){b=j[d+4>>2];if(b>>>0>2]){break Sa}}if(!k[a+561|0]){break Ra}j[a+12>>2]=134;break Ra}g=j[a+320>>2];b=qe[j[a+596>>2]](a,b)|0;if(!l[a+344>>1]){e=i[a+298>>1];d=e>>31;n=d^d+e;d=b>>31;o=d+b^d;q=o>>>16|0;s=p(n,q);f=s<<16|8192;u=c<<3;d=u+j[a+48>>2]|0;A=f;x=n;n=o&65535;f=f+p(x,n)|0;f=(s>>>16|0)+(A>>>0>f>>>0)<<18|f>>>14;j[d>>2]=(b^e)>-1?f:0-f|0;e=i[a+300>>1];f=e>>31;o=f^e+f;q=p(o,q);f=q<<16|8192;x=f;f=f+p(o,n)|0;f=(q>>>16|0)+(x>>>0>f>>>0)<<18|f>>>14;j[d+4>>2]=(b^e)>-1?f:0-f|0;f=j[d+4>>2];e=u+j[a+52>>2]|0;j[e>>2]=j[d>>2];j[e+4>>2]=f}d=j[a+52>>2]+(c<<3)|0;n=qe[j[a+572>>2]](a,j[d>>2],j[d+4>>2])|0;d=a;e=t;f=c;if(h[a+368|0]&1){q=b-n|0;o=q>>31;b=qe[j[a+568>>2]](a,(g|0)<(o^o+q)?n:b,j[a+264>>2])|0}qe[j[a+584>>2]](d,e,f,b-n|0)}i[a+286>>1]=c;i[a+284>>1]=c;break m;case 61:j[a+568>>2]=924;j[a+312>>2]=2;break m;case 60:Ta:{c=j[a+304>>2];if(!(l[a+284>>1]>1]?(c|0)<=j[a+16>>2]:0)){if(!k[a+561|0]){break Ta}j[a+12>>2]=134;break Ta}if((c|0)<1){break Ta}while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];Ua:{if(b>>>0>=l[a+80>>1]){if(!k[a+561|0]){break Ua}e=134;break d}d=b;b=j[a+88>>2]+(b<<3)|0;c=j[a+52>>2]+(l[a+284>>1]<<3)|0;I=a,H=v,K=d,J=0-(qe[j[a+572>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0)|0,G=j[a+584>>2],qe[G](I|0,H|0,K|0,J|0);c=j[a+304>>2]}d=c-1|0;j[a+304>>2]=d;b=j[a+28>>2];if((c|0)<2){break Ta}n=j[a+24>>2];c=d;continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 58:case 59:Va:{b=l[d>>1];if(b>>>0>1]){c=l[a+284>>1];if(c>>>0>1]){break Va}}if(!k[a+561|0]){break m}e=134;break d}if(!l[a+346>>1]){c=j[a+48>>2]+(c<<3)|0;n=j[c+4>>2];e=b<<3;f=e+j[a+84>>2]|0;j[f>>2]=j[c>>2];j[f+4>>2]=n;qe[j[a+588>>2]](a,v,b,j[d+4>>2]);c=e+j[a+88>>2]|0;e=e+j[a+84>>2]|0;f=j[e+4>>2];j[c>>2]=j[e>>2];j[c+4>>2]=f;c=l[a+284>>1]}e=j[a+88>>2]+(b<<3)|0;c=j[a+52>>2]+(c<<3)|0;c=qe[j[a+572>>2]](a,j[e>>2]-j[c>>2]|0,j[e+4>>2]-j[c+4>>2]|0)|0;qe[j[a+584>>2]](a,v,b,j[d+4>>2]-c|0);i[a+288>>1]=b;i[a+286>>1]=l[a+284>>1];if(!(h[a+368|0]&1)){break m}i[a+284>>1]=b;break m;case 57:c=j[a+304>>2];Wa:{if((c|0)>j[a+16>>2]){if(!k[a+561|0]){break Wa}j[a+12>>2]=134;break Wa}d=1;d=!l[a+344>>1]|!l[a+346>>1]?d:!l[a+348>>1];b=l[a+286>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break Wa}j[a+12>>2]=134;break Wa}f=j[(d?48:56)+a>>2];e=b<<3;n=f+e|0;q=j[a+52>>2];s=q+e|0;e=0;g=0;o=l[a+288>>1];if(o>>>0>1]){Xa:{if(d){c=j[a+84>>2]+(o<<3)|0;g=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[(f+(b<<3)|0)+4>>2]|0)|0;break Xa}c=j[a+220>>2];if((c|0)==j[a+224>>2]){c=j[a+92>>2]+(o<<3)|0;g=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[(f+(b<<3)|0)+4>>2]|0)|0;break Xa}g=(J=a,K=ye(j[j[a+92>>2]+(o<<3)>>2]-j[n>>2]|0,c),H=ye(j[(j[a+92>>2]+(l[a+288>>1]<<3)|0)+4>>2]-j[(f+(b<<3)|0)+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](J|0,K|0,H|0)|0)}c=j[a+88>>2]+(l[a+288>>1]<<3)|0;e=qe[j[a+572>>2]](a,j[c>>2]-j[s>>2]|0,j[c+4>>2]-j[(q+(b<<3)|0)+4>>2]|0)|0;c=j[a+304>>2]}if((c|0)<1){break Wa}b=b<<3;q=b+q|0;o=b+f|0;while(1){b=j[a+28>>2]-1|0;j[a+28>>2]=b;A=a;b=j[j[a+24>>2]+(b<<2)>>2];Ya:{if(b>>>0>=l[a+116>>1]){b=c;if(!k[a+561|0]){break Ya}e=134;break d}Za:{if(d){c=j[a+120>>2]+(b<<3)|0;c=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[o+4>>2]|0)|0;break Za}c=j[a+220>>2];if((c|0)==j[a+224>>2]){c=j[a+128>>2]+(b<<3)|0;c=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[o+4>>2]|0)|0;break Za}u=b<<3;c=(H=a,K=ye(j[u+j[a+128>>2]>>2]-j[n>>2]|0,c),J=ye(j[(u+j[a+128>>2]|0)+4>>2]-j[o+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](H|0,K|0,J|0)|0)}u=j[a+124>>2]+(b<<3)|0;u=qe[j[a+572>>2]](a,j[u>>2]-j[s>>2]|0,j[u+4>>2]-j[q+4>>2]|0)|0;x=a;f=w;b=b&65535;if(!(!g|!c)){c=Ne(c,e,g)}qe[j[a+584>>2]](x,f,b,c-u|0);b=j[a+304>>2]}c=b-1|0;j[A+304>>2]=c;if((b|0)>1){continue}break}}j[a+304>>2]=1;j[a+32>>2]=j[a+28>>2];break m;case 56:_a:{c=j[a+304>>2];if((c|0)>=j[a+16>>2]){if(!k[a+561|0]){break _a}j[a+12>>2]=134;break _a}if((c|0)<1){break _a}e=i[a+300>>1];f=e>>31;c=j[d>>2];d=c>>31;f=f^e+f;o=d^c+d;g=o>>>16|0;q=p(f,g);d=q<<16|8192;A=d;x=f;f=o&65535;d=d+p(x,f)|0;d=(q>>>16|0)+(A>>>0>d>>>0)<<18|d>>>14;o=(c^e)>-1?d:0-d|0;d=i[a+298>>1];e=d>>31;x=g;g=e^d+e;q=p(x,g);e=q<<16|8192;x=e;e=e+p(f,g)|0;e=(q>>>16|0)+(x>>>0>e>>>0)<<18|e>>>14;c=(c^d)>-1?e:0-e|0;while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];$a:{if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break $a}e=134;break d}if(l[a+298>>1]){d=j[a+124>>2]+(b<<3)|0;j[d>>2]=c+j[d>>2];d=b+j[a+132>>2]|0;h[d|0]=k[d|0]|8}if(!l[a+300>>1]){break $a}d=j[a+124>>2]+(b<<3)|0;j[d+4>>2]=o+j[d+4>>2];b=b+j[a+132>>2]|0;h[b|0]=k[b|0]|16}d=j[a+304>>2];j[a+304>>2]=d-1;b=j[a+28>>2];if((d|0)<2){break _a}n=j[a+24>>2];continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 54:case 55:if(m[d>>2]>=2){if(!k[a+561|0]){break m}j[a+12>>2]=134;break m}if(Vl(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}ab:{bb:{switch(l[a+348>>1]){case 0:b=l[a+116>>1];break ab;case 1:break bb;default:break m}}b=i[a+118>>1];if((b|0)<1){break m}b=l[(j[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}d=b&65535;if(!d){break m}c=j[a+124>>2];b=0;e=l[r+22>>1];f=j[r+16>>2];n=j[r+12>>2];o=j[r+40>>2];while(1){cb:{if((b|0)==(e|0)?(c|0)==(o|0):0){break cb}if(l[a+298>>1]){g=c+(b<<3)|0;j[g>>2]=f+j[g>>2]}if(!l[a+300>>1]){break cb}g=c+(b<<3)|0;j[g+4>>2]=n+j[g+4>>2]}b=b+1|0;if((d|0)!=(b|0)){continue}break}break m;case 52:case 53:if(l[a+348>>1]){f=i[a+118>>1]}else{f=1}b=j[d>>2]<<16;c=b>>16;if(f>>>0<=c>>>0){if(!k[a+561|0]){break m}j[a+12>>2]=134;break m}if(Vl(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}b=(b?(l[(j[a+136>>2]+(c<<1)|0)-2>>1]-l[a+140>>1]|0)+1|0:0)&65535;d=b;if(l[a+348>>1]){c=(l[j[a+136>>2]+(c<<1)>>1]-l[a+140>>1]|0)+1|0}else{c=l[a+116>>1]}c=c&65535;if(d>>>0>=c>>>0){break m}d=l[r+22>>1];e=j[r+16>>2];f=j[r+12>>2];n=j[r+40>>2];while(1){o=j[a+124>>2];db:{if((o|0)==(n|0)?(b|0)==(d|0):0){break db}if(l[a+298>>1]){o=o+(b<<3)|0;j[o>>2]=e+j[o>>2];o=j[a+132>>2]+b|0;h[o|0]=k[o|0]|8}if(!l[a+300>>1]){break db}o=j[a+124>>2]+(b<<3)|0;j[o+4>>2]=f+j[o+4>>2];o=j[a+132>>2]+b|0;h[o|0]=k[o|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break}break m;case 50:case 51:eb:{if(j[a+16>>2]>2]){if(!k[a+561|0]){break eb}j[a+12>>2]=134;break eb}if(Vl(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}if(j[a+304>>2]<1){break eb}c=j[r+16>>2];d=j[r+12>>2];while(1){b=j[a+28>>2]-1|0;j[a+28>>2]=b;b=l[j[a+24>>2]+(b<<2)>>1];fb:{if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break fb}j[a+12>>2]=134;break m}if(l[a+298>>1]){e=j[a+124>>2]+(b<<3)|0;j[e>>2]=c+j[e>>2];e=b+j[a+132>>2]|0;h[e|0]=k[e|0]|8}if(!l[a+300>>1]){break fb}e=j[a+124>>2]+(b<<3)|0;j[e+4>>2]=d+j[e+4>>2];b=b+j[a+132>>2]|0;h[b|0]=k[b|0]|16}b=j[a+304>>2];j[a+304>>2]=b-1;if((b|0)>1){continue}break}}j[a+304>>2]=1;j[a+32>>2]=j[a+28>>2];break m;case 48:case 49:if(!l[a+154>>1]){break m}gb:{if(f&1){z=j[a+156>>2];j[r+24>>2]=z;u=j[a+160>>2];j[r+28>>2]=u;j[r+32>>2]=j[a+164>>2];b=8;break gb}z=j[a+156>>2]+4|0;j[r+24>>2]=z;u=j[a+160>>2]+4|0;j[r+28>>2]=u;j[r+32>>2]=j[a+164>>2]+4;b=16}q=b;c=l[a+152>>1];j[r+36>>2]=c;y=0;d=0;while(1){b=l[j[a+172>>2]+(y<<1)>>1]-l[a+176>>1]|0;c=c&65535;s=b>>>0>>0?b:c-1|0;hb:{if(s>>>0>>0){b=d;break hb}g=j[a+168>>2];c=d;ib:{jb:{while(1){kb:{b=c+1|0;if(q&k[c+g|0]){n=b;e=c;o=c;lb:{B=b>>>0>s>>>0;if(!B){while(1){f=n;if(q&k[f+g|0]){Ul(r+24|0,o+1|0,e,o,f);o=f}n=f+1|0;if(s>>>0>=n>>>0){g=j[a+168>>2];e=f;continue}break}if((c|0)!=(o|0)){break lb}}e=c<<3;e=j[e+u>>2]-j[e+z>>2]|0;if(!e){break ib}if(c>>>0>d>>>0){break kb}break jb}Ul(r+24|0,o+1&65535,s,o,c);if(!c){break ib}Ul(r+24|0,d,c-1|0,o,c);break ib}c=b;if(b>>>0<=s>>>0){continue}break hb}break}while(1){f=(d<<3)+u|0;j[f>>2]=e+j[f>>2];d=d+1|0;if((d|0)!=(c|0)){continue}break}}if(B){break ib}while(1){c=(b<<3)+u|0;j[c>>2]=e+j[c>>2];b=b+1|0;if(s>>>0>=b>>>0){continue}break}}b=n}y=y+1|0;if((y|0)>=i[a+154>>1]){break m}c=l[a+152>>1];d=b;continue};case 46:case 47:b=l[d>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break m}e=134;break d}e=a;d=t;c=b;if(f&1){f=j[a+52>>2]+(b<<3)|0;f=qe[j[a+572>>2]](a,j[f>>2],j[f+4>>2])|0;f=(qe[j[a+568>>2]](a,f,j[a+264>>2])|0)-f|0}else{f=0}qe[j[a+584>>2]](e,d,c,f);i[a+286>>1]=b;i[a+284>>1]=b;break m;case 45:break n;case 79:break d}}c=j[a+428>>2];if((c|0)<1){e=136;break d}b=c-1|0;j[a+428>>2]=b;b=j[a+436>>2]+(b<<4)|0;d=j[b+8>>2];j[b+8>>2]=d-1;h[a+376|0]=0;if((d|0)>=2){j[a+428>>2]=c;j[a+360>>2]=j[j[b+12>>2]+4>>2];break m}c=j[b>>2];d=c-1|0;if(d>>>0>2){e=132;break d}d=(d<<3)+a|0;e=j[d+444>>2];if(!e){e=138;break d}d=j[d+448>>2];b=j[b+4>>2];if((d|0)<(b|0)){e=131;break d}j[a+364>>2]=d;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=c}e=j[a+12>>2];if(!e){break k}if((e|0)!=128){break e}g=j[a+408>>2];b=j[a+416>>2]}e=128;if((g|0)<1){break d}c=p(g,24)+b|0;while(1){if(!(!k[b+16|0]|k[a+368|0]!=k[b+12|0])){c=j[a+428>>2];if((c|0)>=j[a+432>>2]){e=134;break d}c=j[a+436>>2]+(c<<4)|0;j[c>>2]=j[a+352>>2];d=j[a+360>>2];j[c+12>>2]=b;j[c+8>>2]=1;j[c+4>>2]=d+1;c=j[b>>2];d=c-1|0;if(d>>>0>2){e=132;break d}d=(d<<3)+a|0;e=j[d+444>>2];if(!e){e=138;break d}d=j[d+448>>2];b=j[b+4>>2];if((d|0)>=(b|0)){break h}e=131;break d}b=b+24|0;if(c>>>0>b>>>0){continue}break}break d}j[a+16>>2]=j[a+32>>2];if(!k[a+376|0]){break i}}j[a+360>>2]=j[a+360>>2]+j[a+372>>2]}if((F|0)<=999999){F=F+1|0;break g}b=139;break b}j[a+364>>2]=d;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=c}b=j[a+360>>2];if((b|0)>=j[a+364>>2]){b=0;e=131;if(j[a+428>>2]>0){break d}break b}if(!k[a+488|0]){continue}break}b=0;break b}if(e){break c}b=0;break b}j[a+12>>2]=e}if(!(k[a+488|0]|j[a+352>>2]!=3)){a=j[a+4>>2];j[a+296>>2]=-1;j[a+300>>2]=-1}b=e}oe=r- -64|0;return b|0}function qm(a,b,c,d,e,f,g,n){var o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;o=oe-15840|0;oe=o;j[o+15824>>2]=g;j[o+15828>>2]=f;A=j[a+132>>2];q=j[j[A+736>>2]+532>>2];I=j[a+48>>2];E=j[a>>2];f=o+15732|0;j[f>>2]=0;j[f+4>>2]=0;f=o+15740|0;j[f>>2]=0;j[f+4>>2]=0;j[o+15808>>2]=0;j[o+15812>>2]=0;j[o+15800>>2]=10;j[o+15804>>2]=0;j[o+15792>>2]=20;j[o+15796>>2]=0;H=a+4|0;j[o+15788>>2]=H;j[o+15784>>2]=E;j[o+15776>>2]=0;j[o+15780>>2]=0;j[o+15768>>2]=10;j[o+15772>>2]=0;j[o+15760>>2]=20;j[o+15764>>2]=0;j[o+15756>>2]=H;j[o+15752>>2]=E;j[o+15724>>2]=0;j[o+15728>>2]=0;j[o+15720>>2]=H;Ee(o+15640|0,0,80);f=o+15572|0;j[f>>2]=0;j[f+4>>2]=0;f=o+15564|0;j[f>>2]=10;j[f+4>>2]=0;f=o+15556|0;j[f>>2]=8;j[f+4>>2]=0;j[o+15552>>2]=H;j[o+15548>>2]=E;j[o+3940>>2]=c;j[o+3936>>2]=a;Ee(o+11692|0,0,3856);f=k[a+140|0];j[o+11696>>2]=I;h[o+11693|0]=f;J=o+15548|0;j[o+11688>>2]=J;K=o+11680|0;j[o+11684>>2]=K;j[o+11680>>2]=a;Ee(o+7824|0,0,3856);j[o+7828>>2]=I;h[o+7825|0]=f;j[o+7820>>2]=J;j[o+7816>>2]=K;j[o+7812>>2]=a;Ee(o+3956|0,0,3856);j[o+3960>>2]=I;h[o+3957|0]=f;j[o+3952>>2]=J;j[o+3948>>2]=K;j[o+3944>>2]=a;j[o+15580>>2]=j[a+36>>2];f=j[a+44>>2];j[o+15588>>2]=I;j[o+15584>>2]=f;f=j[d+4>>2];r=j[d>>2];j[o+15620>>2]=a+196;j[o+15616>>2]=g;j[o+15592>>2]=r;j[o+15596>>2]=f;j[o+15612>>2]=o+15720;j[o+15608>>2]=o+15752;j[o+15604>>2]=o+15784;h[o+15602|0]=k[a+141|0];g=j[a+184>>2];j[o+15624>>2]=g;f=j[a+188>>2];j[o+15636>>2]=6554;j[o+15628>>2]=f;h[o+15680|0]=0;i[o+15600>>1]=0;h[o+15823|0]=0;N=1;h[o+15603|0]=1;r=g;g=g>>31;g=r+g^g;r=f;f=f>>31;f=r+f^f;j[o+15632>>2]=((f|0)<(g|0)?g:f)<<1;j[n>>2]=j[j[A+736>>2]+528>>2]<<16;j[o+64>>2]=0;s=gj(E,396,o- -64|0);a:{b:{c:{d:{e:{if(!j[o+64>>2]){j[s+4>>2]=H;j[s>>2]=E;j[s+392>>2]=s+8;N=!s;break e}if(!s){break d}N=0}j[o+64>>2]=0;D=xe(E,1,0,272,0,o- -64|0);f:{if(!j[o+64>>2]){Q=17;break f}if(j[a+4>>2]){break f}j[a+4>>2]=64}f=j[b+4>>2];j[D>>2]=j[b>>2];j[D+4>>2]=f;f=j[b+12>>2];j[D+8>>2]=j[b+8>>2];j[D+12>>2]=f;if(j[a+4>>2]){break a}L=q<<16;u=s+8|0;t=s+392|0;S=o+32|4;T=o+76|0;O=o+7812|0;F=o+15648|0;M=o+15640|0;C=o+3944|0;P=2e7;v=D;while(1){b=j[v+12>>2];q=j[v+8>>2];g:{if(b>>>0>=q>>>0){x=G?11:14;break g}f=b+1|0;j[v+12>>2]=f;x=k[b|0];b=f}if(j[a+4>>2]){break a}P=P-1|0;if(!P){b=18;break b}h:{i:{j:{k:{l:{switch(x|0){case 1:case 18:if(k[o+15724|0]){break k}pm(a,s,o+15784|0,n,o+15823|0);if(!k[j[a+132>>2]+561|0]){break k}b=0;break c;case 3:case 23:if(k[o+15724|0]){break k}pm(a,s,o+15752|0,n,o+15823|0);if(!k[j[a+132>>2]+561|0]){break k}b=0;break c;case 4:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<2)){b=n;m:{n:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break m;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break m}f=f- -8192>>14;break m;default:break n}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}o:{if((g|0)==(u|0)){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break o}j[f>>2]=161;break o}b=g-8|0;j[t>>2]=b;p:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break o;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break o}b=b- -8192>>14;break o;default:break p}}b=j[b>>2]}b=j[o+15824>>2]+b|0;j[o+15824>>2]=b;f=j[o+15828>>2];if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){g=j[F+4>>2];j[o>>2]=j[F>>2];j[o+4>>2]=g;Qh(o+3936|0,C,M,o,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=b;j[o+15656>>2]=f;j[o+15672>>2]=f;j[o+15660>>2]=b;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){xh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 5:q:{q=j[t>>2];b=q-u|0;if(!b){break q}r=b>>3;b=0;while(1){g=q-u>>3;r:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break r}j[f>>2]=130;break r}s:{t:{u:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break t;case 1:break u;default:break s}}q=j[f+8>>2]<<16;break r}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break r}q=f- -8192>>14;break r}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;f=b|1;v:{if(f>>>0>=g>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break v}j[g>>2]=130;q=j[o+15828>>2];break v}w:{x:{y:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break x;case 1:break y;default:break w}}f=j[f+8>>2]<<16;break v}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break v}f=f- -8192>>14;break v}f=j[f+8>>2]}f=j[o+15824>>2]+f|0;j[o+15824>>2]=f;ch(o+3936|0,q,f);b=b+2|0;if(r>>>0<=b>>>0){break q}q=j[t>>2];continue}}j[t>>2]=u;continue;case 6:case 7:z:{f=j[t>>2];b=f-u|0;if(!b){break z}g=u-f|0;g=((b|0)>(g|0)?b:g)>>>3|0;b=(b|0)>-1?b:-1;b=p(g,(b|0)<1?b:1);r=b>>>0>1?b:1;q=(x|0)==6;b=0;while(1){A:{if(f-u>>3>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break A}j[g>>2]=130;break A}B:{C:{D:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break C;case 1:break D;default:break B}}f=j[f+8>>2]<<16;break A}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break A}f=f- -8192>>14;break A}f=j[f+8>>2]}E:{if(q&255){f=j[o+15828>>2]+f|0;j[o+15828>>2]=f;y=j[o+15824>>2];break E}y=j[o+15824>>2]+f|0;j[o+15824>>2]=y;f=j[o+15828>>2]}ch(o+3936|0,f,y);b=b+1|0;if((r|0)==(b|0)){break z}q=q^1;f=j[t>>2];continue}}j[t>>2]=u;continue;case 8:case 24:q=6;b=0;y=j[t>>2];R=y-u>>3;if(R>>>0<6){break h}while(1){f=q;q=y-u>>3;F:{if(q>>>0<=b>>>0){g=0;r=j[s+4>>2];if(!r|j[r>>2]){break F}j[r>>2]=130;break F}G:{H:{I:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break H;case 1:break I;default:break G}}g=j[g+8>>2]<<16;break F}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break F}g=g- -8192>>14;break F}g=j[g+8>>2]}y=j[o+15828>>2];r=b|1;J:{if(r>>>0>=q>>>0){w=0;r=j[s+4>>2];if(!r|j[r>>2]){break J}j[r>>2]=130;break J}K:{L:{M:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break L;case 1:break M;default:break K}}w=j[r+8>>2]<<16;break J}r=j[r+8>>2];if((r|0)<=-1){w=0-(8192-r>>14)|0;break J}w=r- -8192>>14;break J}w=j[r+8>>2]}B=j[o+15824>>2];r=b+2|0;N:{if(r>>>0>=q>>>0){z=0;r=j[s+4>>2];if(!r|j[r>>2]){break N}j[r>>2]=130;break N}O:{P:{Q:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break P;case 1:break Q;default:break O}}z=j[r+8>>2]<<16;break N}r=j[r+8>>2];if((r|0)<=-1){z=0-(8192-r>>14)|0;break N}z=r- -8192>>14;break N}z=j[r+8>>2]}y=g+y|0;g=b+3|0;R:{if(g>>>0>=q>>>0){g=0;r=j[s+4>>2];if(!r|j[r>>2]){break R}j[r>>2]=130;break R}S:{T:{U:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break T;case 1:break U;default:break S}}g=j[g+8>>2]<<16;break R}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break R}g=g- -8192>>14;break R}g=j[g+8>>2]}w=w+B|0;B=y+z|0;r=b+4|0;V:{if(r>>>0>=q>>>0){z=0;r=j[s+4>>2];if(!r|j[r>>2]){break V}j[r>>2]=130;break V}W:{X:{Y:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break X;case 1:break Y;default:break W}}z=j[r+8>>2]<<16;break V}r=j[r+8>>2];if((r|0)<=-1){z=0-(8192-r>>14)|0;break V}z=r- -8192>>14;break V}z=j[r+8>>2]}g=g+w|0;r=z+B|0;b=b+5|0;Z:{if(b>>>0>=q>>>0){b=0;q=j[s+4>>2];if(!q|j[q>>2]){break Z}j[q>>2]=130;break Z}_:{$:{aa:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break $;case 1:break aa;default:break _}}b=j[b+8>>2]<<16;break Z}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Z}b=b- -8192>>14;break Z}b=j[b+8>>2]}b=b+g|0;Ph(o+3936|0,y,w,B,g,r,b);j[o+15824>>2]=b;j[o+15828>>2]=r;q=f+6|0;if(R>>>0>>0){b=f;break h}else{y=j[t>>2];b=f;continue}};default:if(x>>>0<=246){b=j[t>>2];if((b|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[b>>2]=x-139;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}if(x>>>0<=250){ba:{if(b>>>0>>0){j[v+12>>2]=b+1;q=k[b|0];break ba}q=0;b=j[v>>2];if(!b|j[b>>2]){break ba}j[b>>2]=85}b=j[t>>2];if((b|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[b>>2]=((x<<8)+q|0)-63124;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}if((x|0)!=255){ca:{if(b>>>0>>0){j[v+12>>2]=b+1;b=k[b|0];break ca}b=0;f=j[v>>2];if(!f|j[f>>2]){break ca}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=((0-(x<<8)|0)-b|0)+64148;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}da:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;y=k[b|0];break da}y=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ea:{if(f>>>0>>0){b=f+1|0;j[v+12>>2]=b;r=k[f|0];break ea}r=0;b=j[v>>2];if(!(!b|j[b>>2])){j[b>>2]=85}b=f}fa:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;g=k[b|0];break fa}g=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ga:{if(f>>>0>>0){j[v+12>>2]=f+1;b=k[f|0];break ga}b=0;f=j[v>>2];if(!f|j[f>>2]){break ga}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=r<<16|y<<24|g<<8|b;b=j[t>>2];j[b+4>>2]=0;j[t>>2]=b+8;continue;case 28:ha:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;y=k[b|0];break ha}y=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ia:{if(f>>>0>>0){j[v+12>>2]=f+1;b=k[f|0];break ia}b=0;f=j[v>>2];if(!f|j[f>>2]){break ia}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=(b<<16|y<<24)>>16;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue;case 30:case 31:b=j[t>>2]-u>>3;B=b&-3;b=b&2;if(B>>>0>b>>>0){x=(x|0)==31;while(1){ja:{if(x&255){r=j[t>>2]-u>>3;ka:{if(r>>>0<=b>>>0){y=0;f=j[s+4>>2];if(!f|j[f>>2]){break ka}j[f>>2]=130;break ka}la:{ma:{na:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break ma;case 1:break na;default:break la}}y=j[f+8>>2]<<16;break ka}f=j[f+8>>2];if((f|0)<=-1){y=0-(8192-f>>14)|0;break ka}y=f- -8192>>14;break ka}y=j[f+8>>2]}x=j[o+15828>>2];f=j[o+15824>>2];z=b+1|0;oa:{if(r>>>0<=z>>>0){g=0;q=j[s+4>>2];if(!q|j[q>>2]){break oa}j[q>>2]=130;break oa}pa:{qa:{ra:{g=(z<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break qa;case 1:break ra;default:break pa}}g=j[g+8>>2]<<16;break oa}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break oa}g=g- -8192>>14;break oa}g=j[g+8>>2]}q=b+2|0;sa:{if(q>>>0>=r>>>0){w=0;q=j[s+4>>2];if(!q|j[q>>2]){break sa}j[q>>2]=130;break sa}ta:{ua:{va:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break ua;case 1:break va;default:break ta}}w=j[q+8>>2]<<16;break sa}q=j[q+8>>2];if((q|0)<=-1){w=0-(8192-q>>14)|0;break sa}w=q- -8192>>14;break sa}w=j[q+8>>2]}y=y+x|0;w=f+w|0;q=b+3|0;wa:{if(q>>>0>=r>>>0){q=0;x=j[s+4>>2];if(!x|j[x>>2]){break wa}j[x>>2]=130;break wa}xa:{ya:{za:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break ya;case 1:break za;default:break xa}}q=j[q+8>>2]<<16;break wa}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break wa}q=q- -8192>>14;break wa}q=j[q+8>>2]}g=g+y|0;q=q+w|0;x=0;if((B-b|0)!=5){z=b;r=g;break ja}b=b+4|0;Aa:{if(b>>>0>=r>>>0){r=j[s+4>>2];b=0;if(!r|j[r>>2]){break Aa}j[r>>2]=130;r=g;break ja}Ba:{Ca:{Da:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break Ca;case 1:break Da;default:break Ba}}r=(j[b+8>>2]<<16)+g|0;break ja}b=j[b+8>>2];if((b|0)<=-1){r=g-(8192-b>>14)|0;break ja}r=(b- -8192>>14)+g|0;break ja}b=j[b+8>>2]}r=b+g|0;break ja}y=j[o+15828>>2];q=j[t>>2]-u>>3;Ea:{if(q>>>0<=b>>>0){r=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ea}j[f>>2]=130;break Ea}Fa:{Ga:{Ha:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ga;case 1:break Ha;default:break Fa}}r=j[f+8>>2]<<16;break Ea}f=j[f+8>>2];if((f|0)<=-1){r=0-(8192-f>>14)|0;break Ea}r=f- -8192>>14;break Ea}r=j[f+8>>2]}x=j[o+15824>>2];z=b+1|0;Ia:{if(q>>>0<=z>>>0){g=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ia}j[f>>2]=130;break Ia}Ja:{Ka:{La:{f=(z<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ka;case 1:break La;default:break Ja}}g=j[f+8>>2]<<16;break Ia}f=j[f+8>>2];if((f|0)<=-1){g=0-(8192-f>>14)|0;break Ia}g=f- -8192>>14;break Ia}g=j[f+8>>2]}f=b+2|0;Ma:{if(f>>>0>=q>>>0){w=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ma}j[f>>2]=130;break Ma}Na:{Oa:{Pa:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Oa;case 1:break Pa;default:break Na}}w=j[f+8>>2]<<16;break Ma}f=j[f+8>>2];if((f|0)<=-1){w=0-(8192-f>>14)|0;break Ma}w=f- -8192>>14;break Ma}w=j[f+8>>2]}f=r+x|0;g=g+y|0;r=b+3|0;Qa:{if(r>>>0>=q>>>0){r=0;x=j[s+4>>2];if(!x|j[x>>2]){break Qa}j[x>>2]=130;break Qa}Ra:{Sa:{Ta:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break Sa;case 1:break Ta;default:break Ra}}r=j[r+8>>2]<<16;break Qa}r=j[r+8>>2];if((r|0)<=-1){r=0-(8192-r>>14)|0;break Qa}r=r- -8192>>14;break Qa}r=j[r+8>>2]}w=f+w|0;r=g+r|0;x=1;if((B-b|0)!=5){z=b;q=w;break ja}b=b+4|0;Ua:{if(b>>>0>=q>>>0){b=0;q=j[s+4>>2];if(!q|j[q>>2]){break Ua}j[q>>2]=130;break Ua}Va:{Wa:{Xa:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break Wa;case 1:break Xa;default:break Va}}b=j[b+8>>2]<<16;break Ua}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Ua}b=b- -8192>>14;break Ua}b=j[b+8>>2]}q=b+w|0}Ph(o+3936|0,y,f,g,w,r,q);j[o+15824>>2]=q;j[o+15828>>2]=r;b=z+4|0;if(B>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 27:z=j[t>>2]-u>>3;w=z&-3;b=z&2;if(w>>>0>b>>>0){while(1){Ya:{if(z-b&1){q=j[t>>2]-u>>3;Za:{if(q>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break Za}j[g>>2]=130;break Za}_a:{$a:{ab:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break $a;case 1:break ab;default:break _a}}f=j[f+8>>2]<<16;break Za}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break Za}f=f- -8192>>14;break Za}f=j[f+8>>2]}b=b+1|0;g=j[o+15824>>2]+f|0;break Ya}q=j[t>>2]-u>>3;g=j[o+15824>>2]}bb:{if(b>>>0>=q>>>0){y=0;f=j[s+4>>2];if(!f|j[f>>2]){break bb}j[f>>2]=130;break bb}cb:{db:{eb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break db;case 1:break eb;default:break cb}}y=j[f+8>>2]<<16;break bb}f=j[f+8>>2];if((f|0)<=-1){y=0-(8192-f>>14)|0;break bb}y=f- -8192>>14;break bb}y=j[f+8>>2]}x=j[o+15828>>2];f=b+1|0;fb:{if(f>>>0>=q>>>0){r=0;f=j[s+4>>2];if(!f|j[f>>2]){break fb}j[f>>2]=130;break fb}gb:{hb:{ib:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break hb;case 1:break ib;default:break gb}}r=j[f+8>>2]<<16;break fb}f=j[f+8>>2];if((f|0)<=-1){r=0-(8192-f>>14)|0;break fb}r=f- -8192>>14;break fb}r=j[f+8>>2]}y=y+x|0;f=b+2|0;jb:{if(f>>>0>=q>>>0){f=0;x=j[s+4>>2];if(!x|j[x>>2]){break jb}j[x>>2]=130;break jb}kb:{lb:{mb:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break lb;case 1:break mb;default:break kb}}f=j[f+8>>2]<<16;break jb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break jb}f=f- -8192>>14;break jb}f=j[f+8>>2]}r=r+y|0;f=f+g|0;x=q;q=b+3|0;nb:{if(x>>>0<=q>>>0){q=0;x=j[s+4>>2];if(!x|j[x>>2]){break nb}j[x>>2]=130;break nb}ob:{pb:{qb:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break pb;case 1:break qb;default:break ob}}q=j[q+8>>2]<<16;break nb}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break nb}q=q- -8192>>14;break nb}q=j[q+8>>2]}x=g;g=q+r|0;Ph(o+3936|0,y,x,r,f,g,f);j[o+15824>>2]=f;j[o+15828>>2]=g;b=b+4|0;if(w>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 26:z=j[t>>2]-u>>3;x=z&-3;b=z&2;if(x>>>0>b>>>0){while(1){rb:{if(z-b&1){q=j[t>>2]-u>>3;sb:{if(q>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break sb}j[g>>2]=130;break sb}tb:{ub:{vb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break ub;case 1:break vb;default:break tb}}f=j[f+8>>2]<<16;break sb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break sb}f=f- -8192>>14;break sb}f=j[f+8>>2]}b=b+1|0;f=j[o+15828>>2]+f|0;break rb}q=j[t>>2]-u>>3;f=j[o+15828>>2]}wb:{if(b>>>0>=q>>>0){y=0;g=j[s+4>>2];if(!g|j[g>>2]){break wb}j[g>>2]=130;break wb}xb:{yb:{zb:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break yb;case 1:break zb;default:break xb}}y=j[g+8>>2]<<16;break wb}g=j[g+8>>2];if((g|0)<=-1){y=0-(8192-g>>14)|0;break wb}y=g- -8192>>14;break wb}y=j[g+8>>2]}w=j[o+15824>>2];g=b+1|0;Ab:{if(g>>>0>=q>>>0){r=0;g=j[s+4>>2];if(!g|j[g>>2]){break Ab}j[g>>2]=130;break Ab}Bb:{Cb:{Db:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Cb;case 1:break Db;default:break Bb}}r=j[g+8>>2]<<16;break Ab}g=j[g+8>>2];if((g|0)<=-1){r=0-(8192-g>>14)|0;break Ab}r=g- -8192>>14;break Ab}r=j[g+8>>2]}y=w+y|0;g=b+2|0;Eb:{if(g>>>0>=q>>>0){w=0;g=j[s+4>>2];if(!g|j[g>>2]){break Eb}j[g>>2]=130;break Eb}Fb:{Gb:{Hb:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Gb;case 1:break Hb;default:break Fb}}w=j[g+8>>2]<<16;break Eb}g=j[g+8>>2];if((g|0)<=-1){w=0-(8192-g>>14)|0;break Eb}w=g- -8192>>14;break Eb}w=j[g+8>>2]}g=f+r|0;r=w+y|0;w=q;q=b+3|0;Ib:{if(w>>>0<=q>>>0){q=0;w=j[s+4>>2];if(!w|j[w>>2]){break Ib}j[w>>2]=130;break Ib}Jb:{Kb:{Lb:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break Kb;case 1:break Lb;default:break Jb}}q=j[q+8>>2]<<16;break Ib}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break Ib}q=q- -8192>>14;break Ib}q=j[q+8>>2]}w=f;f=q+r|0;Ph(o+3936|0,w,y,g,r,g,f);j[o+15824>>2]=f;j[o+15828>>2]=g;b=b+4|0;if(x>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 25:b=0;q=j[t>>2];z=q-u>>3;if(z>>>0>6){while(1){g=q-u>>3;Mb:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break Mb}j[f>>2]=130;break Mb}Nb:{Ob:{Pb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ob;case 1:break Pb;default:break Nb}}q=j[f+8>>2]<<16;break Mb}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break Mb}q=f- -8192>>14;break Mb}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;f=b|1;Qb:{if(f>>>0>=g>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break Qb}j[g>>2]=130;q=j[o+15828>>2];break Qb}Rb:{Sb:{Tb:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Sb;case 1:break Tb;default:break Rb}}f=j[f+8>>2]<<16;break Qb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break Qb}f=f- -8192>>14;break Qb}f=j[f+8>>2]}f=j[o+15824>>2]+f|0;j[o+15824>>2]=f;ch(o+3936|0,q,f);f=b+2|0;if(z>>>0>b+8>>>0){q=j[t>>2];b=f;continue}break}b=f}if(b>>>0>>0){while(1){f=j[t>>2]-u>>3;Ub:{if(f>>>0<=b>>>0){r=0;g=j[s+4>>2];if(!g|j[g>>2]){break Ub}j[g>>2]=130;break Ub}Vb:{Wb:{Xb:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Wb;case 1:break Xb;default:break Vb}}r=j[g+8>>2]<<16;break Ub}g=j[g+8>>2];if((g|0)<=-1){r=0-(8192-g>>14)|0;break Ub}r=g- -8192>>14;break Ub}r=j[g+8>>2]}y=j[o+15828>>2];g=b|1;Yb:{if(g>>>0>=f>>>0){g=0;q=j[s+4>>2];if(!q|j[q>>2]){break Yb}j[q>>2]=130;break Yb}Zb:{_b:{$b:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break _b;case 1:break $b;default:break Zb}}g=j[g+8>>2]<<16;break Yb}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break Yb}g=g- -8192>>14;break Yb}g=j[g+8>>2]}B=j[o+15824>>2];q=b+2|0;ac:{if(q>>>0>=f>>>0){w=0;q=j[s+4>>2];if(!q|j[q>>2]){break ac}j[q>>2]=130;break ac}bc:{cc:{dc:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break cc;case 1:break dc;default:break bc}}w=j[q+8>>2]<<16;break ac}q=j[q+8>>2];if((q|0)<=-1){w=0-(8192-q>>14)|0;break ac}w=q- -8192>>14;break ac}w=j[q+8>>2]}r=r+y|0;q=b+3|0;ec:{if(q>>>0>=f>>>0){x=0;q=j[s+4>>2];if(!q|j[q>>2]){break ec}j[q>>2]=130;break ec}fc:{gc:{hc:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break gc;case 1:break hc;default:break fc}}x=j[q+8>>2]<<16;break ec}q=j[q+8>>2];if((q|0)<=-1){x=0-(8192-q>>14)|0;break ec}x=q- -8192>>14;break ec}x=j[q+8>>2]}y=g+B|0;B=r+w|0;g=b+4|0;ic:{if(g>>>0>=f>>>0){w=0;g=j[s+4>>2];if(!g|j[g>>2]){break ic}j[g>>2]=130;break ic}jc:{kc:{lc:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break kc;case 1:break lc;default:break jc}}w=j[g+8>>2]<<16;break ic}g=j[g+8>>2];if((g|0)<=-1){w=0-(8192-g>>14)|0;break ic}w=g- -8192>>14;break ic}w=j[g+8>>2]}g=y+x|0;w=w+B|0;q=f;f=b+5|0;mc:{if(q>>>0<=f>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break mc}j[f>>2]=130;break mc}nc:{oc:{pc:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break oc;case 1:break pc;default:break nc}}q=j[f+8>>2]<<16;break mc}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break mc}q=f- -8192>>14;break mc}q=j[f+8>>2]}f=g+q|0;Ph(o+3936|0,r,y,B,g,w,f);j[o+15824>>2]=f;j[o+15828>>2]=w;b=b+6|0;if(z>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 22:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<2)){b=n;qc:{rc:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break qc;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break qc}f=f- -8192>>14;break qc;default:break rc}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}sc:{if((g|0)==(u|0)){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break sc}j[f>>2]=161;break sc}b=g-8|0;j[t>>2]=b;tc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break sc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break sc}b=b- -8192>>14;break sc;default:break tc}}b=j[b>>2]}b=j[o+15828>>2]+b|0;j[o+15828>>2]=b;f=j[o+15824>>2];if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){g=j[F+4>>2];j[o+24>>2]=j[F>>2];j[o+28>>2]=g;Qh(o+3936|0,C,M,o+24|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=f;j[o+15656>>2]=b;j[o+15672>>2]=b;j[o+15660>>2]=f;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){xh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 21:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<3)){b=n;uc:{vc:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break uc;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break uc}f=f- -8192>>14;break uc;default:break vc}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}wc:{xc:{yc:{if((g|0)==(u|0)){b=j[s+4>>2];if(!(!b|j[b>>2])){j[b>>2]=161}q=j[o+15824>>2];break yc}f=g-8|0;j[t>>2]=f;b=o;zc:{Ac:{switch(j[f+4>>2]-1|0){case 0:q=j[f>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break zc}q=q- -8192>>14;break zc;default:q=j[f>>2];break zc;case 1:break Ac}}q=j[f>>2]<<16}q=q+j[o+15824>>2]|0;j[b+15824>>2]=q;if((f|0)!=(u|0)){break xc}}b=0;f=j[s+4>>2];if(!f|j[f>>2]){break wc}j[f>>2]=161;q=j[o+15824>>2];break wc}b=g-16|0;j[t>>2]=b;Bc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break wc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break wc}b=b- -8192>>14;break wc;default:break Bc}}b=j[b>>2]}b=j[o+15828>>2]+b|0;j[o+15828>>2]=b;if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){f=j[F+4>>2];j[o+16>>2]=j[F>>2];j[o+20>>2]=f;Qh(o+3936|0,C,M,o+16|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=q;j[o+15656>>2]=b;j[o+15672>>2]=b;j[o+15660>>2]=q;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){xh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 19:case 20:if(j[t>>2]-u>>3>>>0>1?k[o+15724|0]:0){break k}pm(a,s,o+15752|0,n,o+15823|0);if(k[j[a+132>>2]+561|0]){b=0;break c}if((x|0)==19){b=j[o+15772>>2]+j[o+15804>>2]|0;if(b>>>0>=97){b=j[o+15720>>2];if(!b|j[b>>2]){break k}j[b>>2]=18;j[t>>2]=u;continue}j[o+15728>>2]=b;i[o+15724>>1]=257;f=b+7>>>3|0;j[o+15732>>2]=f;if(!b|!f){break k}b=0;while(1){f=j[v+12>>2];Cc:{if(f>>>0>2]){j[v+12>>2]=f+1;q=k[f|0];break Cc}q=0;f=j[v>>2];if(!f|j[f>>2]){break Cc}j[f>>2]=85}h[(b+o|0)+15736|0]=q;b=b+1|0;if(b>>>0>2]){continue}break}break k}Ee(T,0,3856);b=k[a+140|0];j[o+80>>2]=I;h[o+77|0]=b;j[o+72>>2]=J;j[o+68>>2]=K;j[o+64>>2]=a;b=S;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0;j[o+32>>2]=H;b=j[o+15772>>2]+j[o+15804>>2]|0;Dc:{if(b>>>0>=97){if(j[a+4>>2]){break Dc}j[a+4>>2]=18;break Dc}j[o+40>>2]=b;i[o+36>>1]=257;f=b+7>>>3|0;j[o+44>>2]=f;if(!b|!f){break Dc}b=0;while(1){f=j[v+12>>2];Ec:{if(f>>>0>2]){j[v+12>>2]=f+1;q=k[f|0];break Ec}q=0;f=j[v>>2];if(!f|j[f>>2]){break Ec}j[f>>2]=85}h[(b+o|0)+48|0]=q;b=b+1|0;if(b>>>0>2]){continue}break}}xh(o- -64|0,o+15784|0,o+15752|0,o+32|0,0,0);j[t>>2]=u;continue;case 14:Fc:{Gc:{v=j[t>>2];f=v-u>>3;switch(f-1|0){case 0:case 4:break Gc;default:break Fc}}if(k[o+15823|0]){break Fc}Hc:{Ic:{switch(j[s+12>>2]-1|0){case 1:b=j[u>>2]<<16;break Hc;case 0:b=j[u>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Hc}b=b- -8192>>14;break Hc;default:break Ic}}b=j[u>>2]}j[n>>2]=b+L}h[o+15823|0]=1;b=0;if(k[j[a+132>>2]+561|0]){break c}if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){f=j[F+4>>2];j[o+8>>2]=j[F>>2];j[o+12>>2]=f;Qh(o+3936|0,C,M,o+8|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0;h[o+15603|0]=1;v=j[t>>2];f=v-u>>3}if(f>>>0<2){break c}b=18;if(e){break c}Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{if((u|0)==(v|0)){q=0;b=j[s+4>>2];if(!b){f=0;break Nc}f=0;if(j[b>>2]){break Nc}j[b>>2]=161;break Qc}Rc:{if(j[v-4>>2]!=2){q=0;b=j[s+4>>2];if(!b|j[b>>2]){break Rc}j[b>>2]=160;break Rc}v=v-8|0;j[t>>2]=v;q=j[v>>2]}if((u|0)!=(v|0)){break Pc}}f=0;b=j[s+4>>2];if(!b|j[b>>2]){break Nc}j[b>>2]=161;break Oc}Sc:{if(j[v-4>>2]!=2){f=0;b=j[s+4>>2];if(!b|j[b>>2]){break Sc}j[b>>2]=160;break Sc}v=v-8|0;j[t>>2]=v;f=j[v>>2]}if((u|0)!=(v|0)){break Mc}}b=j[s+4>>2];if(!b|j[b>>2]){break Nc}j[b>>2]=161}j[o+15824>>2]=0;break Lc}e=v-8|0;j[t>>2]=e;b=o;Tc:{Uc:{switch(j[e+4>>2]-1|0){case 0:g=j[e>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break Tc}g=g- -8192>>14;break Tc;default:g=j[e>>2];break Tc;case 1:break Uc}}g=j[e>>2]<<16}j[b+15824>>2]=g;if((e|0)!=(u|0)){break Kc}}b=0;e=j[s+4>>2];if(!e|j[e>>2]){break Jc}j[e>>2]=161;break Jc}b=v-16|0;j[t>>2]=b;Vc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break Jc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Jc}b=b- -8192>>14;break Jc;default:break Vc}}b=j[b>>2]}j[o+72>>2]=0;j[o+76>>2]=0;j[o+15828>>2]=b;j[o+64>>2]=0;j[o+68>>2]=0;Wc:{Xc:{e=j[A+4>>2];b=j[j[e+128>>2]+48>>2];if(!b){b=18;if(q>>>0>255){break c}g=j[A+76>>2];n=j[g+1160>>2];if(!n){break c}r=j[g+12>>2];if(!r){break c}g=0;q=l[(q<<1)+78720>>1];while(1){if((q|0)==l[n+(g<<1)>>1]){break Xc}g=g+1|0;if((r|0)!=(g|0)){continue}break}break c}b=qe[j[j[b>>2]>>2]](j[b+4>>2],q,o+32|0)|0;j[o+15836>>2]=j[o+32>>2];j[o+15832>>2]=j[o+36>>2];break Wc}if((g|0)<0){break c}b=zi(j[e+656>>2]+1176|0,g,o+15836|0,o+15832|0)}if(b){break c}b=j[o+15836>>2];j[o+68>>2]=b;j[o+76>>2]=b;n=j[o+15832>>2];j[o+72>>2]=n+b;qm(a,o- -64|0,c,d,1,j[o+15828>>2],j[o+15824>>2],o+3932|0);e=o- -64|4;q=j[A+4>>2];g=j[j[q+128>>2]+48>>2];Yc:{if(g){j[o+36>>2]=n;j[o+32>>2]=b;qe[j[j[g>>2]+4>>2]](j[g+4>>2],o+32|0);break Yc}b=j[q+656>>2];if(j[b+1204>>2]){break Yc}jf(j[b+1176>>2],e)}j[o+72>>2]=0;j[o+76>>2]=0;j[o+64>>2]=0;j[o+68>>2]=0;Zc:{_c:{n=j[A+4>>2];b=j[j[n+128>>2]+48>>2];if(!b){b=18;if(f>>>0>255){break c}g=j[A+76>>2];q=j[g+1160>>2];if(!q){break c}r=j[g+12>>2];if(!r){break c}g=0;f=l[(f<<1)+78720>>1];while(1){if((f|0)==l[q+(g<<1)>>1]){break _c}g=g+1|0;if((r|0)!=(g|0)){continue}break}break c}b=qe[j[j[b>>2]>>2]](j[b+4>>2],f,o+32|0)|0;j[o+15836>>2]=j[o+32>>2];j[o+15832>>2]=j[o+36>>2];break Zc}if((g|0)<0){break c}b=zi(j[n+656>>2]+1176|0,g,o+15836|0,o+15832|0)}if(b){break c}b=j[o+15836>>2];j[o+68>>2]=b;j[o+76>>2]=b;j[o+72>>2]=b+j[o+15832>>2];b=0;qm(a,o- -64|0,c,d,1,0,0,o+3932|0);d=j[A+4>>2];c=j[j[d+128>>2]+48>>2];if(c){d=j[o+72>>2];e=j[o+68>>2];j[o+32>>2]=e;j[o+36>>2]=d-e;qe[j[j[c>>2]+4>>2]](j[c+4>>2],o+32|0);break c}c=j[d+656>>2];if(j[c+1204>>2]){break c}jf(j[c+1176>>2],e);break c;case 10:case 29:break i;case 11:break j;case 0:case 2:case 9:case 13:case 15:case 16:case 17:break k;case 12:break l}}if(b>>>0>=q>>>0){b=j[v>>2];if(!b|j[b>>2]){break k}j[b>>2]=85;j[t>>2]=u;continue}j[v+12>>2]=b+1;$c:{switch(k[b|0]-34|0){case 0:ok(s,o+15828|0,o+15824|0,o+3936|0,78663,0);continue;case 2:ok(s,o+15828|0,o+15824|0,o+3936|0,78687,0);continue;case 3:ok(s,o+15828|0,o+15824|0,o+3936|0,78699,1);continue;case 1:break $c;default:break k}}ok(s,o+15828|0,o+15824|0,o+3936|0,78675,0)}j[t>>2]=u;continue}if((G|0)<1){b=18;break c}f=D;G=G-1|0;b=G;if(b>>>0>=Q>>>0){j[a+4>>2]=130;b=0}v=(b<<4)+f|0;continue}b=18;if((G|0)>16){break c}g=D;G=G+1|0;f=G;if(f>>>0>=Q>>>0){j[a+4>>2]=130;f=0}v=(f<<4)+g|0;f=j[t>>2];ad:{if((f|0)==(u|0)){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break ad}j[f>>2]=161;break ad}if(j[f-4>>2]!=2){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break ad}j[f>>2]=160;break ad}f=f-8|0;j[t>>2]=f;q=j[f>>2]}j[v>>2]=0;j[v+4>>2]=0;j[v+8>>2]=0;j[v+12>>2]=0;if((x|0)==29){f=j[A+708>>2]+q|0;if(f>>>0>=m[A+700>>2]){break c}b=j[A+716>>2]+(f<<2)|0;f=j[b>>2];j[v+4>>2]=f;j[v+12>>2]=f;j[v+8>>2]=j[b+4>>2];continue}f=j[A+704>>2]+q|0;if(f>>>0>=m[A+696>>2]){break c}b=j[A+712>>2]+(f<<2)|0;f=j[b>>2];j[v+4>>2]=f;j[v+12>>2]=f;j[v+8>>2]=j[b+4>>2];continue}if((x|0)==24){g=j[t>>2]-u>>3;bd:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break bd}j[f>>2]=130;break bd}cd:{dd:{ed:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break dd;case 1:break ed;default:break cd}}q=j[f+8>>2]<<16;break bd}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break bd}q=f- -8192>>14;break bd}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;b=b|1;fd:{if(b>>>0>=g>>>0){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break fd}j[f>>2]=130;q=j[o+15828>>2];break fd}gd:{hd:{id:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break hd;case 1:break id;default:break gd}}b=j[b+8>>2]<<16;break fd}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break fd}b=b- -8192>>14;break fd}b=j[b+8>>2]}b=j[o+15824>>2]+b|0;j[o+15824>>2]=b;ch(o+3936|0,q,b)}j[t>>2]=u;continue}}b=64}if(j[a+4>>2]){break a}}j[a+4>>2]=b}j[o+15568>>2]=0;j[o+15572>>2]=0;j[o+15560>>2]=0;a=j[o+15548>>2];b=j[o+15576>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15576>>2]=0;j[o+15772>>2]=0;j[o+15776>>2]=0;j[o+15764>>2]=0;a=j[o+15752>>2];b=j[o+15780>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15780>>2]=0;j[o+15804>>2]=0;j[o+15808>>2]=0;j[o+15796>>2]=0;a=j[o+15784>>2];b=j[o+15812>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15812>>2]=0;if(D){qe[j[E+8>>2]](E,D)}if(!N){a=j[s>>2];if(s){qe[j[a+8>>2]](a,s)}}oe=o+15840|0}function oK(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0;w=oe-16|0;oe=w;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{c=j[a+384>>2];if(c){if((j[a+212>>2]&16448)==16384){break l}d=j[a+216>>2];m:{if(!(d&4096)){break m}if(k[b+8|0]==3){m=c+1|0;e=j[b>>2];o=l[a+428>>1];q=j[a+528>>2];n=j[a+416>>2];c=k[b+9|0];n:{if(c>>>0<=7){o:{p:{switch(c-1|0){case 0:if(!e){break o}f=e+m|0;c=0-e&7;d=m+(e-1>>>3|0)|0;while(1){f=f-1|0;h[f|0]=k[d|0]>>>c&1;r=(c|0)==7;c=r?0:c+1|0;d=r?d-1|0:d;g=g+1|0;if((e|0)!=(g|0)){continue}break}break o;case 1:if(!e){break o}f=e+m|0;c=m+(e-1>>>2|0)|0;d=((e<<1)+6^-1)&6;while(1){f=f-1|0;h[f|0]=k[c|0]>>>d&3;r=(d|0)==6;d=r?0:d+2|0;c=r?c-1|0:c;g=g+1|0;if((e|0)!=(g|0)){continue}break}break o;case 3:break p;default:break o}}if(!e){break o}f=e+m|0;c=e<<2&4;d=m+(e-1>>>1|0)|0;while(1){f=f-1|0;h[f|0]=k[d|0]>>>c&15;r=(c|0)==4;c=r?0:c+4|0;d=r?d-1|0:d;g=g+1|0;if((e|0)!=(g|0)){continue}break}}h[b+11|0]=8;h[b+9|0]=8;j[b+4>>2]=e;break n}if((c|0)!=8){break m}}if(o){f=e<<2;if(e){c=e+m|0;d=f+m|0;g=0;while(1){r=d-1|0;c=c-1|0;m=k[c|0];if(m>>>0>>0){v=k[m+q|0]}else{v=255}h[r|0]=v;h[d-2|0]=k[(n+p(k[c|0],3)|0)+2|0];h[d-3|0]=k[(n+p(k[c|0],3)|0)+1|0];d=d-4|0;h[d|0]=k[n+p(k[c|0],3)|0];g=g+1|0;if((e|0)!=(g|0)){continue}break}}j[b+8>>2]=537135110;j[b+4>>2]=f;break m}g=p(e,3);if(e){c=e+m|0;d=m+g|0;f=0;while(1){c=c-1|0;h[d-1|0]=k[(n+p(k[c|0],3)|0)+2|0];h[d-2|0]=k[(n+p(k[c|0],3)|0)+1|0];d=d-3|0;h[d|0]=k[n+p(k[c|0],3)|0];f=f+1|0;if((e|0)!=(f|0)){continue}break}}j[b+8>>2]=402851842;j[b+4>>2]=g;break m}c=c+1|0;if(!(!(d&33554432)|!l[a+428>>1])){Rq(b,c,a+532|0);break m}Rq(b,c,0)}c=j[a+216>>2];q:{if((c&262272)!=262144){break q}r:{switch(k[b+8|0]-4|0){case 0:case 2:break r;default:break q}}hq(b,j[a+384>>2]+1|0);c=j[a+216>>2]}s:{if(!(c&6291456)){break s}d=k[b+8|0];if((d&3)!=2){break s}c=j[a+384>>2]+1|0;o=d&4;q=l[a+702>>1];r=l[a+704>>1];t=32768-(q+r|0)|0;n=j[b>>2];t:{if(k[b+9|0]==8){u:{u=j[a+500>>2];if(!u){break u}g=j[a+504>>2];if(!g){break u}e=0;if(!n){break t}f=c;m=0;while(1){d=k[c|0];s=k[c+1|0];x=k[c+2|0];v:{w:{if(!((x|0)==(d|0)?(d|0)==(s|0):0)){e=e|1;d=u+(((p(q,k[d+g|0])+p(r,k[g+s|0])|0)+p(t,k[g+x|0])|0)+16384>>>15|0)|0;break w}s=j[a+492>>2];if(!s){break v}d=d+s|0}d=k[d|0]}h[f|0]=d;x:{if(!o){f=f+1|0;c=c+3|0;break x}h[f+1|0]=k[c+3|0];f=f+2|0;c=c+4|0}m=m+1|0;if((n|0)!=(m|0)){continue}break}break t}e=0;if(!n){break t}f=c;m=0;while(1){g=f;d=k[c|0];u=k[c+1|0];s=k[c+2|0];if(!((s|0)==(d|0)?(d|0)==(u|0):0)){e=e|1;d=(p(r,u)+p(d,q)|0)+p(t,s)>>>15|0}h[g|0]=d;y:{if(!o){f=f+1|0;c=c+3|0;break y}h[f+1|0]=k[c+3|0];f=f+2|0;c=c+4|0}m=m+1|0;if((n|0)!=(m|0)){continue}break}break t}z:{m=j[a+512>>2];if(!m){break z}y=j[a+508>>2];if(!y){break z}e=0;if(!n){break t}d=c;while(1){f=k[c+4|0]|k[c+5|0]<<8;u=(f<<24|f<<8&16711680)>>>16|0;g=k[c+1|0];f=k[c|0];s=g|f<<8;x=k[c+3|0];v=k[c+2|0];A:{if(!((s|0)!=(x|v<<8)|(s|0)!=(u|0))){u=j[a+496>>2];if(!u){break A}g=l[j[u+(x>>>j[a+484>>2]<<2)>>2]+(v<<1)>>1];f=g>>>8|0;break A}f=j[a+484>>2];g=((p(q,l[j[m+((s&255)>>>f<<2)>>2]+(s>>>7&510)>>1])+p(r,l[j[m+(x>>>f<<2)>>2]+(v<<1)>>1])|0)+p(t,l[j[m+((u&255)>>>f<<2)>>2]+(u>>>7&510)>>1])|0)+16384|0;g=l[j[((g>>>15&255)>>>f<<2)+y>>2]+(g>>>22&510)>>1];f=g>>>8|0;e=e|1}h[d+1|0]=g;h[d|0]=f;B:{if(!o){d=d+2|0;c=c+6|0;break B}h[d+2|0]=k[c+6|0];h[d+3|0]=k[c+7|0];d=d+4|0;c=c+8|0}A=A+1|0;if((n|0)!=(A|0)){continue}break}break t}e=0;if(!n){break t}g=0;d=c;while(1){f=k[d+1|0]|k[d|0]<<8;m=k[d+3|0]|k[d+2|0]<<8;u=k[d+5|0]|k[d+4|0]<<8;s=((p(f,q)+p(m,r)|0)+p(u,t)|0)+16384|0;h[c+1|0]=s>>>15;h[c|0]=s>>>23;f=(f|0)!=(m|0)|(f|0)!=(u|0);C:{if(!o){d=d+6|0;c=c+2|0;break C}h[c+2|0]=k[d+6|0];h[c+3|0]=k[d+7|0];d=d+8|0;c=c+4|0}e=e|f;g=g+1|0;if((n|0)!=(g|0)){continue}break}}c=k[b+10|0]-2|0;h[b+10|0]=c;h[b+8|0]=k[b+8|0]&253;d=p(c,k[b+9|0]);h[b+11|0]=d;c=b;d=d&255;D:{if(d>>>0>=8){d=p(n,d>>>3|0);break D}d=p(d,n)+7>>>3|0}j[c+4>>2]=d;if(!e){c=j[a+216>>2];break s}h[a+700|0]=1;c=j[a+216>>2];if((c&6291456)==4194304){Ze(a,7904);c=j[a+216>>2]}if((c&6291456)==2097152){break k}}if(!(!(c&16384)|k[a+209|0]&8)){Oq(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(!(c&128)){break a}r=j[a+212>>2]&8192;c=j[a+384>>2]+1|0;n=j[b>>2];o=j[a+484>>2];f=j[a+512>>2];e=j[a+508>>2];q=j[a+496>>2];g=j[a+504>>2];t=j[a+500>>2];m=j[a+492>>2];E:{switch(k[b+8|0]){case 0:F:{switch(k[b+9|0]-1|0){case 0:if(!n){break a}d=l[a+540>>1];m=0;e=7;while(1){f=k[c|0];if((d|0)==(f>>>e&1)){h[c|0]=f&32639>>>7-e|l[a+460>>1]<>1];g=0;e=6;while(1){d=c;o=k[c|0];f=o>>>e&3;G:{if((f|0)==(q|0)){f=l[a+460>>1]<>>6-e;break G}f=o&16191>>>6-e|k[m+(f|f<<2|f<<4|f<<6)|0]>>>6<>1];f=0;e=4;while(1){d=c;g=k[c|0];o=g>>>e&15;H:{if((o|0)==(q|0)){g=l[a+460>>1]<>>4-e;break H}g=g&3855>>>4-e|k[m+(o|o<<4)|0]>>>4<>1];while(1){d=c;f=k[c|0];o=k[a+460|0];I:{if((f|0)==(g|0)){break I}o=k[f+m|0]}h[d|0]=o;c=c+1|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a;case 15:break F;default:break a}}if(q){if(!n){break a}e=a+460|0;m=l[a+540>>1];g=0;while(1){d=e;f=c;t=k[c+1|0];r=k[c|0];if((m|0)!=(t|r<<8)){d=j[q+(t>>>o<<2)>>2]+(r<<1)|0}d=l[d>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[f|0]=d;h[f+1|0]=d>>>8;c=c+2|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}break a}if(!n){break a}d=l[a+540>>1];e=0;while(1){if((d|0)==(k[c+1|0]|k[c|0]<<8)){f=l[a+460>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8}c=c+2|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a;case 2:if(k[b+9|0]==8){if(!m){break e}if(!n){break a}f=0;e=l[a+534>>1];while(1){g=k[c|0];d=k[c+1|0];J:{if(!((g|0)!=(e|0)|(d|0)!=l[a+536>>1]|l[a+538>>1]!=k[c+2|0])){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break J}h[c|0]=k[m+g|0];h[c+1|0]=k[d+m|0];h[c+2|0]=k[m+k[c+2|0]|0]}c=c+3|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!q){break f}if(!n){break a}e=a+458|0;u=l[a+534>>1];g=0;while(1){f=k[c+4|0];m=k[c+5|0];d=c;v=c;x=k[c+1|0];s=k[c|0];t=k[c+3|0];r=k[c+2|0];K:{if(!((u|0)!=(x|s<<8)|l[a+536>>1]!=(t|r<<8)|l[a+538>>1]!=(m|f<<8))){f=l[a+454>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8;f=l[a+456>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+2|0]=f;h[c+3|0]=f>>>8;f=e;break K}s=l[j[q+(x>>>o<<2)>>2]+(s<<1)>>1];s=(s<<24|s<<8&16711680)>>>16|0;h[c|0]=s;h[c+1|0]=s>>>8;r=l[j[q+(t>>>o<<2)>>2]+(r<<1)>>1];r=(r<<24|r<<8&16711680)>>>16|0;h[c+2|0]=r;h[c+3|0]=r>>>8;f=j[q+(m>>>o<<2)>>2]+(f<<1)|0}f=l[f>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[v+4|0]=f;h[d+5|0]=f>>>8;c=c+6|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}break a;case 4:if(k[b+9|0]==8){if(g?!(!m|!t):0){break g}if(!n){break a}m=0;while(1){f=k[c+1|0];if((f|0)!=255){d=c;if(f){f=(p(l[a+460>>1],f^255)+p(f,k[c|0])|0)+128&65535;f=(f>>>8|0)+f>>>8|0}else{f=k[a+460|0]}h[d|0]=f}c=c+2|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}if(f?!(!q|!e):0){break h}if(!n){break a}m=0;while(1){d=k[c+3|0]|k[c+2|0]<<8;L:{if((d|0)==65535){break L}if(!d){d=l[a+460>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c|0]=d;h[c+1|0]=d>>>8;break L}d=(p(l[a+460>>1],d^65535)+p(d,k[c+1|0]|k[c|0]<<8)|0)+32768|0;d=(d>>>16|0)+d|0;h[c+1|0]=d>>>16;h[c|0]=d>>>24}c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a;case 6:break E;default:break a}}if(k[b+9|0]==8){if(g?!(!m|!t):0){break i}if(!n){break a}m=0;while(1){d=k[c+3|0];M:{if((d|0)==255){break M}if(!d){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break M}f=d^255;e=(p(d,k[c|0])+p(f,l[a+454>>1])|0)+128|0;h[c|0]=(e>>>8&255)+e>>>8;e=(p(d,k[c+1|0])+p(f,l[a+456>>1])|0)+128|0;h[c+1|0]=(e>>>8&255)+e>>>8;d=(p(d,k[c+2|0])+p(f,l[a+458>>1])|0)+128|0;h[c+2|0]=(d>>>8&255)+d>>>8}c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}if(f?!(!q|!e):0){break j}if(!n){break a}m=0;while(1){d=k[c+7|0]|k[c+6|0]<<8;N:{if((d|0)==65535){break N}if(!d){d=l[a+454>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c|0]=d;h[c+1|0]=d>>>8;d=l[a+456>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c+2|0]=d;h[c+3|0]=d>>>8;d=l[a+458>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c+4|0]=d;h[c+5|0]=d>>>8;break N}f=d^65535;e=(p(d,k[c+1|0]|k[c|0]<<8)+p(f,l[a+454>>1])|0)+32768|0;e=(e>>>16|0)+e|0;h[c+1|0]=e>>>16;h[c|0]=e>>>24;e=(p(d,k[c+3|0]|k[c+2|0]<<8)+p(f,l[a+456>>1])|0)+32768|0;e=(e>>>16|0)+e|0;h[c+2|0]=e>>>24;h[c+3|0]=e>>>16;d=(p(d,k[c+5|0]|k[c+4|0]<<8)+p(f,l[a+458>>1])|0)+32768|0;d=(d>>>16|0)+d|0;h[c+4|0]=d>>>24;h[c+5|0]=d>>>16}c=c+8|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}Ye(a,7870);z()}Ye(a,7886);z()}Ye(a,7904);z()}if(!n){break a}d=0;while(1){O:{P:{t=k[c+7|0]|k[c+6|0]<<8;if(t){if((t|0)!=65535){break P}g=l[j[q+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;g=l[j[q+(k[c+3|0]>>>o<<2)>>2]+(k[c+2|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+2|0]=g;h[c+3|0]=g>>>8;g=l[j[q+(k[c+5|0]>>>o<<2)>>2]+(k[c+4|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+4|0]=g;h[c+5|0]=g>>>8;break O}g=l[a+454>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;g=l[a+456>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+2|0]=g;h[c+3|0]=g>>>8;g=l[a+458>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+4|0]=g;h[c+5|0]=g>>>8;break O}u=t^65535;g=(p(t,l[j[f+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1])+p(u,l[a+464>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+1|0]=g;h[c|0]=m;g=(p(t,l[j[f+(k[c+3|0]>>>o<<2)>>2]+(k[c+2|0]<<1)>>1])+p(u,l[a+466>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+3|0]=g;h[c+2|0]=m;g=(p(t,l[j[f+(k[c+5|0]>>>o<<2)>>2]+(k[c+4|0]<<1)>>1])+p(u,l[a+468>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+5|0]=g;h[c+4|0]=m}c=c+8|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break a}if(!n){break a}f=0;while(1){Q:{R:{o=k[c+3|0];if(o){if((o|0)!=255){break R}h[c|0]=k[m+k[c|0]|0];h[c+1|0]=k[m+k[c+1|0]|0];h[c+2|0]=k[m+k[c+2|0]|0];break Q}h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break Q}q=o^255;d=(p(o,k[g+k[c|0]|0])+p(q,l[a+464>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;e=c;if(!r){d=k[t+(d&255)|0]}h[e|0]=d;d=(p(o,k[g+k[c+1|0]|0])+p(q,l[a+466>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!r){d=k[t+(d&255)|0]}h[e+1|0]=d;d=(p(o,k[g+k[c+2|0]|0])+p(q,l[a+468>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!r){d=k[t+(d&255)|0]}h[e+2|0]=d}c=c+4|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!n){break a}d=0;while(1){S:{T:{g=k[c+3|0]|k[c+2|0]<<8;if(g){if((g|0)!=65535){break T}g=l[j[q+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;break S}g=l[a+460>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;break S}g=(p(g,l[j[f+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1])+p(l[a+470>>1],g^65535)|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>16|0;if(r){g=g>>>24|0}else{m=l[j[e+((m&255)>>>o<<2)>>2]+(g>>>23&510)>>1];g=m>>>8|0}h[c+1|0]=m;h[c|0]=g}c=c+4|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break a}if(!n){break a}f=0;while(1){v=c;U:{V:{e=k[c+1|0];if(e){if((e|0)!=255){break V}d=k[m+k[c|0]|0];break U}d=k[a+460|0];break U}e=(p(l[a+470>>1],e^255)+p(e,k[g+k[c|0]|0])|0)+128&65535;o=(e>>>8|0)+e>>>8|0;d=o;if(r){break U}d=k[t+(o&255)|0]}h[v|0]=d;c=c+2|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!n){break a}d=l[a+534>>1];e=0;while(1){if(!((d|0)!=(k[c+1|0]|k[c|0]<<8)|l[a+536>>1]!=(k[c+3|0]|k[c+2|0]<<8)|l[a+538>>1]!=(k[c+5|0]|k[c+4|0]<<8))){f=l[a+454>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8;f=l[a+456>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+2|0]=f;h[c+3|0]=f>>>8;f=l[a+458>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+4|0]=f;h[c+5|0]=f>>>8}c=c+6|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}e=0;d=l[a+534>>1];while(1){if(!((d|0)!=k[c|0]|l[a+536>>1]!=k[c+1|0]|l[a+538>>1]!=k[c+2|0])){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0]}c=c+3|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}e=0;d=l[a+540>>1];while(1){if((d|0)==k[c|0]){h[c|0]=k[a+460|0]}c=c+1|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}d=l[a+540>>1];m=0;e=4;while(1){f=k[c|0];if((d|0)==(f>>>e&15)){h[c|0]=f&3855>>>4-e|l[a+460>>1]<>1];m=0;e=6;while(1){f=k[c|0];if((d|0)==(f>>>e&3)){h[c|0]=f&16191>>>6-e|l[a+460>>1]<>2];W:{if((c&6299648)!=8192){break W}X:{if(!(c&128)){c=k[a+435|0];break X}if(l[a+428>>1]){break W}c=k[a+435|0];if(c&4){break W}}if((c&255)==3){break W}c=j[a+384>>2];n=j[b>>2];m=j[a+484>>2];f=j[a+496>>2];d=j[a+492>>2];g=k[b+9|0];if(!f|(g&255)!=16?!(g>>>0<9?d:0):0){break W}c=c+1|0;Y:{switch(k[b+8|0]){case 2:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;e=l[j[f+(k[c+3|0]>>>m<<2)>>2]+(k[c+2|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+2|0]=e;h[c+3|0]=e>>>8;e=l[j[f+(k[c+5|0]>>>m<<2)>>2]+(k[c+4|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+4|0]=e;h[c+5|0]=e>>>8;c=c+6|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];h[c+1|0]=k[d+k[c+1|0]|0];h[c+2|0]=k[d+k[c+2|0]|0];c=c+3|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 6:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;e=l[j[f+(k[c+3|0]>>>m<<2)>>2]+(k[c+2|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+2|0]=e;h[c+3|0]=e>>>8;e=l[j[f+(k[c+5|0]>>>m<<2)>>2]+(k[c+4|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+4|0]=e;h[c+5|0]=e>>>8;c=c+8|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];h[c+1|0]=k[d+k[c+1|0]|0];h[c+2|0]=k[d+k[c+2|0]|0];c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 4:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;c=c+4|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];c=c+2|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 0:break Y;default:break W}}Z:{_:{$:{if(!(!n|(g&255)!=2)){g=0;e=c;while(1){o=k[e|0];q=o&48;v=k[d+(q<<2|q|q>>>2|q>>>4)|0]>>>2&48;q=o&192;v=v|k[d+(q|o>>>6|q>>>2|q>>>4)|0]&192;q=o&12;o=o&3;h[e|0]=v|k[d+(q<<2|q|q<<4|q>>>2)|0]>>>4&12|k[d+(o<<4|o|o<<6|o<<2)|0]>>>6;e=e+1|0;g=g+4|0;if(n>>>0>g>>>0){continue}break}g=k[b+9|0]}switch((g&255)-4|0){case 0:break Z;case 4:break _;case 12:break $;default:break W}}if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;c=c+2|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];c=c+1|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W}if(!n){break W}f=0;while(1){e=k[c|0];g=e&15;h[c|0]=k[d+(g<<4|g)|0]>>>4|k[d+(e&240|e>>>4)|0]&240;c=c+1|0;f=f+2|0;if(n>>>0>f>>>0){continue}break}}c=j[a+216>>2];aa:{if((c&262272)!=262272){break aa}ba:{switch(k[b+8|0]-4|0){case 0:case 2:break ba;default:break aa}}hq(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ca:{if(!(c&8388608)){break ca}f=k[b+8|0];c=f&4;if(!c){break ca}da:{if(!c){break da}c=j[a+384>>2];d=j[b>>2];ea:{switch(k[b+9|0]-8|0){case 0:e=j[a+500>>2];if(!e){break da}if(!d){break ca}f=f&2?4:2;while(1){c=c+f|0;h[c|0]=k[e+k[c|0]|0];d=d-1|0;if(d){continue}break}break ca;case 8:break ea;default:break da}}e=j[a+508>>2];if(!e){break da}if(!d){break ca}g=j[a+484>>2];f=f&2?8:4;c=(f+c|0)-1|0;while(1){m=l[j[e+(k[c+1|0]>>>g<<2)>>2]+(k[c|0]<<1)>>1];m=(m<<24|m<<8&16711680)>>>16|0;h[c|0]=m;h[c+1|0]=m>>>8;c=c+f|0;d=d-1|0;if(d){continue}break}break ca}Ze(a,8038)}c=j[a+216>>2];if(!(!(c&67108864)|k[b+9|0]!=16)){d=j[b+4>>2];if((d|0)>=1){c=j[a+384>>2]+1|0;f=d+c|0;d=c;while(1){e=k[c|0];h[d|0]=(p(k[c+1|0]-e|0,65535)+8388480>>>24|0)+e;d=d+1|0;c=c+2|0;if(f>>>0>c>>>0){continue}break}c=j[a+216>>2]}h[b+9|0]=8;d=k[b+10|0];h[b+11|0]=d<<3;j[b+4>>2]=p(d,j[b>>2])}if(!(!(c&1024)|k[b+9|0]!=16)){d=j[b+4>>2];if((d|0)>=1){c=j[a+384>>2]+1|0;f=d+c|0;d=c;while(1){h[d|0]=k[c|0];d=d+1|0;c=c+2|0;if(f>>>0>c>>>0){continue}break}c=j[a+216>>2]}h[b+9|0]=8;d=k[b+10|0];h[b+11|0]=d<<3;j[b+4>>2]=p(d,j[b>>2])}fa:{ga:{ha:{if(c&64){ia:{if(k[b+9|0]!=8){break ia}c=j[a+384>>2]+1|0;f=j[b>>2];g=j[a+616>>2];e=j[a+612>>2];d=k[b+8|0];if(!(!e|(d|0)!=2)){d=8;if(f){m=0;d=c;while(1){h[d|0]=k[e+(k[c+1|0]<<2&992|k[c|0]<<7&31744|k[c+2|0]>>>3)|0];d=d+1|0;c=c+3|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}d=k[b+9|0]}h[b+11|0]=d;h[b+10|0]=1;h[b+8|0]=3;c=d&255;if(c>>>0>=8){j[b+4>>2]=p(f,c>>>3|0);break ia}j[b+4>>2]=p(c,f)+7>>>3;break ia}if(!(!e|(d|0)!=6)){d=8;if(f){m=0;d=c;while(1){h[d|0]=k[e+(k[c+1|0]<<2&992|k[c|0]<<7&31744|k[c+2|0]>>>3)|0];d=d+1|0;c=c+4|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}d=k[b+9|0]}h[b+11|0]=d;h[b+10|0]=1;h[b+8|0]=3;c=d&255;if(c>>>0>=8){j[b+4>>2]=p(f,c>>>3|0);break ia}j[b+4>>2]=p(c,f)+7>>>3;break ia}if(!f|!g|(d|0)!=3){break ia}d=0;while(1){h[c|0]=k[g+k[c|0]|0];c=c+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if(!j[b+4>>2]){break ha}c=j[a+216>>2]}if(!(!(c&512)|k[b+9|0]!=8|k[b+8|0]==3)){d=j[b+4>>2];if((d|0)>=1){c=(j[a+384>>2]+1|0)+d|0;d=d+c|0;while(1){f=d-2|0;c=c-1|0;e=k[c|0];h[f|0]=e;h[d-1|0]=e;d=f;if(d>>>0>c>>>0){continue}break}d=j[b+4>>2];c=j[a+216>>2]}h[b+9|0]=16;j[b+4>>2]=d<<1;h[b+11|0]=k[b+10|0]<<4}if(!(!(c&16384)|!(k[a+209|0]&8))){Oq(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&32){hH(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ja:{if(!(c&524288)){break ja}d=j[a+384>>2]+1|0;c=j[b>>2];ka:{switch(k[b+8|0]-4|0){case 2:if(k[b+9|0]==8){if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;d=d-4|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja}if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;f=d-2|0;h[f|0]=k[f|0]^-1;d=d-8|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja;case 0:break ka;default:break ja}}if(k[b+9|0]==8){if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;d=d-2|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja}if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;f=d-2|0;h[f|0]=k[f|0]^-1;d=d-4|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}e=j[a+216>>2];if(!(e&8)){break fa}c=k[b+8|0];if((c|0)==3){break fa}g=k[b+9|0];la:{if(c&2){d=k[a+521|0];j[w+4>>2]=g-k[a+522|0];j[w+8>>2]=g-k[a+523|0];f=3;break la}d=k[a+524|0];f=1}m=j[a+384>>2];j[w>>2]=g-(d&255);if(c&4){j[(f<<2|w)>>2]=g-k[a+525|0];f=f+1|0}m=m+1|0;c=0;d=1;while(1){n=(c<<2)+w|0;o=j[n>>2];if(!((g|0)>(o|0)?(o|0)>=1:0)){j[n>>2]=0;c=c+1|0;if((f|0)!=(c|0)){continue}if(d&1){break fa}break ga}d=0;c=c+1|0;if((f|0)!=(c|0)){continue}break}break ga}Ye(a,7943);z()}ma:{na:{switch(lP(g-2|0,31)|0){case 0:c=j[b+4>>2];if((c|0)<1){break ma}c=c+m|0;while(1){h[m|0]=k[m|0]>>>1&85;m=m+1|0;if(c>>>0>m>>>0){continue}break}break ma;case 1:c=j[b+4>>2];if((c|0)<1){break ma}d=j[w>>2];f=15>>>d|0;f=f<<4|f;c=c+m|0;while(1){h[m|0]=f&k[m|0]>>>d;m=m+1|0;if(c>>>0>m>>>0){continue}break}break ma;case 3:c=j[b+4>>2];if((c|0)<1){break ma}d=c+m|0;c=0;while(1){h[m|0]=k[m|0]>>>j[(c<<2)+w>>2];c=c+1|0;c=(c|0)<(f|0)?c:0;m=m+1|0;if(d>>>0>m>>>0){continue}break}break ma;case 7:break na;default:break ma}}c=j[b+4>>2];if((c|0)<1){break ma}d=c+m|0;c=0;while(1){e=(k[m+1|0]|k[m|0]<<8)>>>j[(c<<2)+w>>2]|0;e=(e<<24|e<<8&16711680)>>>16|0;h[m|0]=e;h[m+1|0]=e>>>8;c=c+1|0;c=(c|0)<(f|0)?c:0;m=m+2|0;if(d>>>0>m>>>0){continue}break}}e=j[a+216>>2]}oa:{if(!(e&4)){break oa}c=k[b+9|0];if(c>>>0>7){break oa}d=j[a+384>>2]+1|0;e=j[b>>2];pa:{qa:{switch(c-1|0){case 0:if(!e){break pa}m=d+e|0;c=0-e&7;d=d+(e-1>>>3|0)|0;f=0;while(1){m=m-1|0;h[m|0]=k[d|0]>>>c&1;g=(c|0)==7;c=g?0:c+1|0;d=g?d-1|0:d;f=f+1|0;if((e|0)!=(f|0)){continue}break}break pa;case 1:if(!e){break pa}m=d+e|0;c=d+(e-1>>>2|0)|0;d=((e<<1)+6^-1)&6;f=0;while(1){m=m-1|0;h[m|0]=k[c|0]>>>d&3;g=(d|0)==6;d=g?0:d+2|0;c=g?c-1|0:c;f=f+1|0;if((e|0)!=(f|0)){continue}break}break pa;case 3:break qa;default:break pa}}if(!e){break pa}m=d+e|0;c=e<<2&4;d=d+(e-1>>>1|0)|0;f=0;while(1){m=m-1|0;h[m|0]=k[d|0]>>>c&15;d=(c|0)==4?d-1|0:d;c=((c|0)!=4)<<2;f=f+1|0;if((e|0)!=(f|0)){continue}break}}h[b+9|0]=8;c=k[b+10|0];h[b+11|0]=c<<3;j[b+4>>2]=p(c,e)}if(!(k[b+8|0]!=3|j[a+424>>2]<0)){DG(a,b)}c=j[a+216>>2];if(c&1){MG(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&65536){_G(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ra:{if(!(c&32768)){break ra}n=l[a+444>>1];d=n>>>8|0;c=j[a+384>>2]+1|0;m=j[b>>2];f=j[a+212>>2];sa:{switch(k[b+8|0]){case 0:ta:{switch(k[b+9|0]-8|0){case 0:c=c+m|0;if(f&128){e=c+m|0;if(m>>>0>=2){f=1;while(1){h[e-1|0]=n;e=e-2|0;c=c-1|0;h[e|0]=k[c|0];f=f+1|0;if((m|0)!=(f|0)){continue}break}}h[e-1|0]=n;i[b+10>>1]=4098;j[b+4>>2]=m<<1;break ra}if(m){e=c+m|0;f=0;while(1){c=c-1|0;g=k[c|0];d=e-2|0;h[d|0]=n;h[e-1|0]=g;e=d;f=f+1|0;if((m|0)!=(f|0)){continue}break}}i[b+10>>1]=4098;j[b+4>>2]=m<<1;break ra;case 8:break ta;default:break ra}}g=1;e=m<<1;c=e+c|0;if(f&128){e=c+e|0;if(m>>>0>=2){while(1){h[e-2|0]=d;h[e-1|0]=n;h[e-3|0]=k[c-1|0];e=e-4|0;c=c-2|0;h[e|0]=k[c|0];g=g+1|0;if((m|0)!=(g|0)){continue}break}}h[e-2|0]=d;h[e-1|0]=n;i[b+10>>1]=8194;j[b+4>>2]=m<<2;break ra}if(m){e=c+e|0;g=0;while(1){h[e-1|0]=k[c-1|0];c=c-2|0;f=k[c|0];h[e-3|0]=n;h[e-2|0]=f;e=e-4|0;h[e|0]=d;g=g+1|0;if((m|0)!=(g|0)){continue}break}}i[b+10>>1]=8194;j[b+4>>2]=m<<2;break ra;case 2:break sa;default:break ra}}ua:{switch(k[b+9|0]-8|0){case 0:c=c+p(m,3)|0;if(f&128){e=c+m|0;if(m>>>0>=2){f=1;while(1){h[e-1|0]=n;h[e-2|0]=k[c-1|0];h[e-3|0]=k[c-2|0];e=e-4|0;c=c-3|0;h[e|0]=k[c|0];f=f+1|0;if((m|0)!=(f|0)){continue}break}}h[e-1|0]=n;i[b+10>>1]=8196;j[b+4>>2]=m<<2;break ra}if(m){e=c+m|0;f=0;while(1){h[e-1|0]=k[c-1|0];h[e-2|0]=k[c-2|0];c=c-3|0;g=k[c|0];d=e-4|0;h[d|0]=n;h[e-3|0]=g;e=d;f=f+1|0;if((m|0)!=(f|0)){continue}break}}i[b+10>>1]=8196;j[b+4>>2]=m<<2;break ra;case 8:break ua;default:break ra}}c=c+p(m,6)|0;if(f&128){g=1;e=(m<<1)+c|0;if(m>>>0>=2){while(1){h[e-2|0]=d;h[e-1|0]=n;h[e-3|0]=k[c-1|0];h[e-4|0]=k[c-2|0];h[e-5|0]=k[c-3|0];h[e-6|0]=k[c-4|0];h[e-7|0]=k[c-5|0];e=e-8|0;c=c-6|0;h[e|0]=k[c|0];g=g+1|0;if((m|0)!=(g|0)){continue}break}}h[e-2|0]=d;h[e-1|0]=n;i[b+10>>1]=16388;j[b+4>>2]=m<<3;break ra}if(m){e=(m<<1)+c|0;g=0;while(1){h[e-1|0]=k[c-1|0];h[e-2|0]=k[c-2|0];h[e-3|0]=k[c-3|0];h[e-4|0]=k[c-4|0];h[e-5|0]=k[c-5|0];c=c-6|0;f=k[c|0];h[e-7|0]=n;h[e-6|0]=f;e=e-8|0;h[e|0]=d;g=g+1|0;if((m|0)!=(g|0)){continue}break}}i[b+10>>1]=16388;j[b+4>>2]=m<<3}va:{if(!(k[a+218|0]&2)){break va}c=j[a+384>>2]+1|0;d=j[b>>2];wa:{switch(k[b+8|0]-4|0){case 2:if(k[b+9|0]==8){if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-1|0;g=k[f|0];o=f;f=c-2|0;h[o|0]=k[f|0];m=c-3|0;n=k[m|0];c=c-4|0;h[m|0]=k[c|0];h[f|0]=n;h[c|0]=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va}if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-2|0;m=k[f|0]|k[f+1|0]<<8;g=c-4|0;n=k[g|0]|k[g+1|0]<<8;h[f|0]=n;h[f+1|0]=n>>>8;f=c-6|0;n=k[f|0]|k[f+1|0]<<8;h[g|0]=n;h[g+1|0]=n>>>8;c=c-8|0;g=k[c|0]|k[c+1|0]<<8;h[f|0]=g;h[f+1|0]=g>>>8;h[c|0]=m;h[c+1|0]=m>>>8;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va;case 0:break wa;default:break va}}if(k[b+9|0]==8){if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-1|0;g=k[f|0];c=c-2|0;h[f|0]=k[c|0];h[c|0]=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va}if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){c=c-4|0;f=lP(k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24),16);h[c|0]=f;h[c+1|0]=f>>>8;h[c+2|0]=f>>>16;h[c+3|0]=f>>>24;e=e+1|0;if((d|0)!=(e|0)){continue}break}}c=j[a+216>>2];if(c&16){cH(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&1048576){c=j[a+192>>2];if(c){qe[c|0](a,b,j[a+384>>2]+1|0)}c=k[a+204|0];if(c){h[b+9|0]=c}c=k[a+205|0];xa:{if(!c){c=k[b+10|0];break xa}h[b+10|0]=c}c=p(k[b+9|0],c);h[b+11|0]=c;a=j[b>>2];c=c&255;ya:{if(c>>>0>=8){a=p(a,c>>>3|0);break ya}a=p(a,c)+7>>>3|0}j[b+4>>2]=a}oe=w+16|0}function Ex(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=oe-32|0;oe=f;o=j[a+56>>2];g=j[a+40>>2];n=k[g+9|0];d=j[a+44>>2];v=j[d+24>>2];p=0;a:{if(!v){break a}p=k[a+63|0]}x=j[a+36>>2];c=j[a+20>>2];y=j[a+16>>2];b=j[a>>2];t=j[a+28>>2];e=j[a+24>>2];q=j[g+24>>2]^-1;m=q&o;o=j[d>>2];u=j[g>>2];b:{c:{d:{e:{f:{g:{w=k[d+9|0];if(!((n|0)!=4|(w|0)!=4)){r=j[g+12>>2];if((r|0)!=j[d+12>>2]){break g}s=j[g+16>>2];if((s|0)!=j[d+16>>2]){break g}z=j[g+20>>2];if((z|0)!=j[d+20>>2]){break g}if(!v){break c}if(!t){break b}o=k[a+63|0]<>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=1;continue;case 1:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=2;continue;case 2:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=3;continue;case 3:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=4;continue;case 4:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=5;continue;case 5:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=6;continue;case 6:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=7;continue;default:break k}}e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}e=t-1|0;b=b+4|0;c=c+4|0;l:{if((a|0)>1){a=a-1|0;break l}c=c+x|0;b=b+y|0;t=e;if(e){continue h}break b}e=0;continue}}}a=(o|0)==386930691;v=(u|0)==386930691;if((u|0)!=386930691){break f}if((o|0)==386930691){break e}break f}if(!((u|0)==372711428|(o|0)==372711428)){hh(g,d,f+24|0,f+20|0,f+16|0,f+12|0,f+28|0);if(!t){break b}d=e&7;o=(e+7|0)/8|0;m:while(1){a=o;n:{o:{switch(d-1|0){default:e=0;break n;case 0:e=7;break n;case 1:e=6;break n;case 2:e=5;break n;case 3:e=4;break n;case 4:e=3;break n;case 5:e=2;break n;case 6:break o}}e=1}while(1){p:{switch(e|0){case 0:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=1;continue;case 1:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=2;continue;case 2:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=3;continue;case 3:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=4;continue;case 4:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=5;continue;case 5:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=6;continue;case 6:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=7;continue;default:break p}}if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}e=t-1|0;c=c+4|0;b=b+4|0;q:{if((a|0)>1){a=a-1|0;break q}c=c+x|0;b=b+y|0;t=e;if(e){continue m}break b}e=0;continue}}}a=(o|0)==386930691;v=(u|0)==386930691}if((u|0)!=390076419|(o|0)!=390076419){break d}}if(!t){break b}q=e&7;o=m>>>8|0;d=m>>>16|0;p=(e+7|0)/8|0;g=m&255;r:while(1){a=p;s:{t:{switch(q-1|0){default:e=0;break s;case 0:e=7;break s;case 1:e=6;break s;case 2:e=5;break s;case 3:e=4;break s;case 4:e=3;break s;case 5:e=2;break s;case 6:break t}}e=1}while(1){u:{switch(e|0){case 0:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=1;continue;case 1:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=2;continue;case 2:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=3;continue;case 3:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=4;continue;case 4:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=5;continue;case 5:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=6;continue;case 6:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=7;continue;default:break u}}e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}e=t-1|0;c=c+3|0;b=b+3|0;v:{if((a|0)>1){a=a-1|0;break v}c=c+x|0;b=b+y|0;t=e;if(e){continue r}break b}e=0;continue}}}if(!((o|0)==390076419&v?0:!((u|0)==390076419&a))){if(!t){break b}q=e&7;o=m>>>8|0;d=m>>>16|0;p=(e+7|0)/8|0;g=m&255;w:while(1){a=p;x:{y:{switch(q-1|0){default:e=0;break x;case 0:e=7;break x;case 1:e=6;break x;case 2:e=5;break x;case 3:e=4;break x;case 4:e=3;break x;case 5:e=2;break x;case 6:break y}}e=1}while(1){z:{switch(e|0){case 0:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=1;continue;case 1:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=2;continue;case 2:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=3;continue;case 3:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=4;continue;case 4:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=5;continue;case 5:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=6;continue;case 6:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=7;continue;default:break z}}e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}e=t-1|0;c=c+3|0;b=b+3|0;A:{if((a|0)>1){a=a-1|0;break A}c=c+x|0;b=b+y|0;t=e;if(e){continue w}break b}e=0;continue}}}B:{if(!((n|0)!=4|(w|0)!=3)){if((u|0)==372711428){break B}hh(g,d,f+28|0,f+24|0,f+20|0,f+16|0,0);if(!t){break b}o=e&7;p=(e+7|0)/8|0;C:while(1){a=p;D:{E:{switch(o-1|0){default:e=0;break D;case 0:e=7;break D;case 1:e=6;break D;case 2:e=5;break D;case 3:e=4;break D;case 4:e=3;break D;case 5:e=2;break D;case 6:break E}}e=1}while(1){F:{switch(e|0){case 0:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=1;continue;case 1:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=2;continue;case 2:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=3;continue;case 3:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=4;continue;case 4:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=5;continue;case 5:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=6;continue;case 6:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=7;continue;default:break F}}if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}e=t-1|0;c=c+3|0;b=b+4|0;G:{if((a|0)>1){a=a-1|0;break G}c=c+x|0;b=b+y|0;t=e;if(e){continue C}break b}e=0;continue}}}if((o|0)==372711428|(n|0)!=3|(w|0)!=4){break B}hh(g,d,f+24|0,f+20|0,f+16|0,f+12|0,f+28|0);if(!t){break b}q=e&7;d=m>>>8|0;g=m>>>16|0;o=(e+7|0)/8|0;m=m&255;H:while(1){a=o;I:{J:{switch(q-1|0){default:e=0;break I;case 0:e=7;break I;case 1:e=6;break I;case 2:e=5;break I;case 3:e=4;break I;case 4:e=3;break I;case 5:e=2;break I;case 6:break J}}e=1}while(1){K:{switch(e|0){case 0:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=1;continue;case 1:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=2;continue;case 2:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=3;continue;case 3:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=4;continue;case 4:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=5;continue;case 5:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=6;continue;case 6:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=7;continue;default:break K}}if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}e=t-1|0;c=c+4|0;b=b+3|0;L:{if((a|0)>1){a=a-1|0;break L}c=c+x|0;b=b+y|0;t=e;if(e){continue H}break b}e=0;continue}}}if(!t){break b}z=e&7;o=(e+7|0)/8|0;u=n-1|0;v=w-1|0;while(1){e=o;M:{N:{switch(z-1|0){default:a=7;break M;case 0:a=6;break M;case 1:a=5;break M;case 2:a=4;break M;case 3:a=3;break M;case 4:a=2;break M;case 5:a=1;break M;case 6:break N}}a=0}while(1){O:{P:{switch(a|0){case 0:a=0;Q:{R:{switch(u|0){case 0:a=k[b|0];break Q;case 1:a=l[b>>1];break Q;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break Q;case 3:break R;default:break Q}}a=j[b>>2]}S:{if((m|0)==(a&q)){break S}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];T:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break S;case 3:break T;default:break S}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break U;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break U;case 3:break V;default:break U}}a=j[b>>2]}W:{if((m|0)==(a&q)){break W}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];X:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break W;case 3:break X;default:break W}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break Y;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break Y;case 3:break Z;default:break Y}}a=j[b>>2]}_:{if((m|0)==(a&q)){break _}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];$:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break _;case 3:break $;default:break _}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break aa;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break aa;case 3:break ba;default:break aa}}a=j[b>>2]}ca:{if((m|0)==(a&q)){break ca}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];da:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ca;case 3:break da;default:break ca}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ea;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ea;case 3:break fa;default:break ea}}a=j[b>>2]}ga:{if((m|0)==(a&q)){break ga}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];ha:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ga;case 3:break ha;default:break ga}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ia;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ia;case 3:break ja;default:break ia}}a=j[b>>2]}ka:{if((m|0)==(a&q)){break ka}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];la:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ka;case 3:break la;default:break ka}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ma;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ma;case 3:break na;default:break ma}}a=j[b>>2]}oa:{if((m|0)==(a&q)){break oa}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];pa:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break oa;case 3:break pa;default:break oa}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break qa;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break qa;case 3:break ra;default:break qa}}a=j[b>>2]}sa:{if((m|0)==(a&q)){break sa}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];ta:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break sa;case 3:break ta;default:break sa}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=1;continue;case 1:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=2;continue;case 2:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=3;continue;case 3:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=4;continue;case 4:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=5;continue;case 5:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=6;continue;case 6:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=7;continue;default:break xa}}e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}e=t-1|0;b=b+4|0;c=c+4|0;ya:{if((a|0)>1){a=a-1|0;break ya}c=c+x|0;b=b+y|0;t=e;if(e){continue ua}break b}e=0;continue}}}oe=f+32|0}function Cn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;w=j[a+8>>2];a:{if(!(k[c|0]&2)){break a}if((Eg(c)|0)>=0){break a}return-1}o=j[d>>2];n=j[a+4>>2];q=k[n+9|0];m=j[d+4>>2];s=j[c+16>>2];t=j[c+20>>2];r=j[a+52>>2];e=j[r+12>>2];b:{g=j[b+4>>2];c:{if(!g){break c}d:{switch(q-1|0){case 0:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];e:{if(e){d=d+e|0;e=e+f|0;break e}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 1:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];f:{if(e){d=d+e|0;e=f+(e<<1)|0;break f}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 2:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];g:{if(e){d=d+e|0;e=f+p(e,3)|0;break g}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 3:break d;default:break c}}while(1){d=0;while(1){f=e+4|0;d=l[e>>1]+d|0;e=l[e+2>>1];h:{if(e){d=d+e|0;e=f+(e<<2)|0;break h}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}}o=(t+p(m,s)|0)+p(o,q)|0;m=k[r+79|0];i:{j:{k:{t=j[b>>2];if(!(j[b+8>>2]==j[a+8>>2]?!t:0)){f=j[c+4>>2];a=k[f+9|0];if((m|0)==255){l:{switch(a-1|0){case 0:g=o-t|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];m:{if(a){n:{if((d|0)>=(q|0)){break n}e=t-d|0;o:{if((e|0)<1){e=0;b=a;break o}b=a-e|0;if((b|0)<1){break n}}m=d+e|0;o=q-m|0;Ge(g+m|0,e+f|0,(b|0)>(o|0)?o:b)}d=a+d|0;e=a+f|0;break m}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 1:g=o-(t<<1)|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];p:{if(a){q:{if((d|0)>=(q|0)){break q}e=t-d|0;r:{if((e|0)<1){e=0;b=a;break r}b=a-e|0;if((b|0)<1){break q}}m=d+e|0;o=q-m|0;Ge((m<<1)+g|0,f+(e<<1)|0,((b|0)>(o|0)?o:b)<<1)}d=a+d|0;e=f+(a<<1)|0;break p}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 2:g=p(t,-3)+o|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];s:{if(a){t:{if((d|0)>=(q|0)){break t}e=t-d|0;u:{if((e|0)<1){e=0;b=a;break u}b=a-e|0;if((b|0)<1){break t}}m=d+e|0;o=q-m|0;Ge(p(m,3)+g|0,f+p(e,3)|0,p((b|0)>(o|0)?o:b,3))}d=a+d|0;e=f+p(a,3)|0;break s}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 3:break l;default:break b}}g=o-(t<<2)|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+4|0;d=l[e>>1]+d|0;a=l[e+2>>1];v:{if(a){w:{if((d|0)>=(q|0)){break w}e=t-d|0;x:{if((e|0)<1){e=0;b=a;break x}b=a-e|0;if((b|0)<1){break w}}m=d+e|0;o=q-m|0;Ge((m<<2)+g|0,f+(e<<2)|0,((b|0)>(o|0)?o:b)<<2)}d=a+d|0;e=f+(a<<2)|0;break v}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b}y:{switch(a-2|0){case 0:z:{u=j[f+20>>2];g=j[f+16>>2];r=j[f+12>>2];a=u|(g|r);if((a|0)!=32767){if((a|0)!=65535|((u|0)!=2016?!((r|0)==2016|(g|0)==2016):0)){break z}q=o-(t<<1)|0;n=t+j[b+8>>2]|0;o=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;a=k[e+1|0];A:{if(a){B:{if((b|0)>=(n|0)){break B}f=t-b|0;C:{if((f|0)<1){f=0;d=a;break C}d=a-f|0;if((d|0)<1){break B}}m=b+f|0;e=n-m|0;e=(d|0)>(e|0)?e:d;d=(m<<1)+q|0;f=g+(f<<1)|0;if((d^f)&3){if(!e){break B}while(1){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&2081)+((s&63454)+(m&63454)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break B}if(f&3){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&2081)+((s&63454)+(m&63454)>>>1|0);e=e-1|0;f=f+2|0;d=d+2|0}if(e>>>0>=2){while(1){m=j[f>>2];s=j[d>>2];j[d>>2]=((m&s&136382497)+(m>>>1&2079292399)|0)+(s>>>1&2079292399);d=d+4|0;f=f+4|0;e=e-2|0;if(e>>>0>1){continue}break}}if(!e){break B}v=d;e=l[f>>1];d=l[d>>1];i[v>>1]=(e&d&2081)+((d&63454)+(e&63454)>>>1|0)}b=a+b|0;e=g+(a<<1)|0;break A}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;o=o-1|0;if(o){continue}break b}}m=m>>>3|0;while(1){a=0;while(1){g=e+2|0;a=k[e|0]+a|0;b=k[e+1|0];D:{if(b){E:{if((a|0)>=(n|0)){break E}d=t-a|0;F:{if((d|0)<1){d=0;f=b;break F}f=b-d|0;if((f|0)<1){break E}}e=a+d|0;r=n-e|0;r=(f|0)>(r|0)?r:f;if((r|0)<1){break E}f=g+(d<<1)|0;d=(e<<1)+q|0;e=0;while(1){u=l[f>>1];v=(u<<16|u)&132184095;u=l[d>>1];u=(u<<16|u)&132184095;u=(p(m,v-u|0)>>>5|0)+u&132184095;i[d>>1]=u>>>16|u;d=d+2|0;f=f+2|0;e=e+1|0;if((r|0)!=(e|0)){continue}break}}a=a+b|0;e=g+(b<<1)|0;break D}e=g;if(!a){break b}}if((a|0)!=(w|0)){continue}break}q=q+s|0;o=o-1|0;if(o){continue}break}break b}if((u|0)!=992?!((r|0)==992|(g|0)==992):0){break z}q=o-(t<<1)|0;n=t+j[b+8>>2]|0;o=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;a=k[e+1|0];G:{if(a){H:{if((b|0)>=(n|0)){break H}f=t-b|0;I:{if((f|0)<1){f=0;d=a;break I}d=a-f|0;if((d|0)<1){break H}}m=b+f|0;e=n-m|0;e=(d|0)>(e|0)?e:d;d=(m<<1)+q|0;f=g+(f<<1)|0;if((d^f)&3){if(!e){break H}while(1){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&1057)+((s&64478)+(m&64478)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break H}if(f&3){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&1057)+((s&64478)+(m&64478)>>>1|0);e=e-1|0;f=f+2|0;d=d+2|0}if(e>>>0>=2){while(1){m=j[f>>2];s=j[d>>2];j[d>>2]=((m&s&69272609)+(m>>>1&2112847343)|0)+(s>>>1&2112847343);d=d+4|0;f=f+4|0;e=e-2|0;if(e>>>0>1){continue}break}}if(!e){break H}v=d;e=l[f>>1];d=l[d>>1];i[v>>1]=(e&d&1057)+((d&64478)+(e&64478)>>>1|0)}b=a+b|0;e=g+(a<<1)|0;break G}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;o=o-1|0;if(o){continue}break b}}m=m>>>3|0;while(1){a=0;while(1){g=e+2|0;a=k[e|0]+a|0;b=k[e+1|0];J:{if(b){K:{if((a|0)>=(n|0)){break K}d=t-a|0;L:{if((d|0)<1){d=0;f=b;break L}f=b-d|0;if((f|0)<1){break K}}e=a+d|0;r=n-e|0;r=(f|0)>(r|0)?r:f;if((r|0)<1){break K}f=g+(d<<1)|0;d=(e<<1)+q|0;e=0;while(1){u=l[f>>1];v=(u<<16|u)&65043487;u=l[d>>1];u=(u<<16|u)&65043487;u=(p(m,v-u|0)>>>5|0)+u&65043487;i[d>>1]=u>>>16|u;d=d+2|0;f=f+2|0;e=e+1|0;if((r|0)!=(e|0)){continue}break}}a=a+b|0;e=g+(b<<1)|0;break J}e=g;if(!a){break b}}if((a|0)!=(w|0)){continue}break}q=q+s|0;o=o-1|0;if(o){continue}break}break b}o=o-(t<<1)|0;G=t+j[b+8>>2]|0;x=j[b+12>>2];while(1){n=0;while(1){d=e+2|0;n=k[e|0]+n|0;b=k[e+1|0];M:{if(b){N:{if((n|0)>=(G|0)){break N}e=t-n|0;O:{if((e|0)<1){e=0;a=b;break O}a=b-e|0;if((a|0)<1){break N}}q=e+n|0;y=G-q|0;H=(a|0)>(y|0)?y:a;if((H|0)<1){break N}a=d+(e<<1)|0;e=(q<<1)+o|0;J=k[f+30|0];B=j[(J<<2)+234976>>2];I=k[f+29|0];C=j[(I<<2)+234976>>2];K=k[f+28|0];A=j[(K<<2)+234976>>2];M=j[f+24>>2];y=k[f+34|0];E=k[f+33|0];v=k[f+32|0];q=0;while(1){D=l[a>>1];F=l[e>>1];z=k[A+((F&r)>>>v|0)|0];L=(p(m,k[A+((D&r)>>>v|0)|0]-z|0)>>>8|0)+z>>>K<>>E|0)|0];z=L|(p(m,k[C+((g&D)>>>E|0)|0]-z|0)>>>8|0)+z>>>I<>>y|0)|0];D=k[B+((u&F)>>>y|0)|0];i[e>>1]=z|(p(m,L-D|0)>>>8|0)+D>>>J<>2]|0;n=j[b+12>>2];while(1){o=0;while(1){d=e+2|0;o=k[e|0]+o|0;b=k[e+1|0];P:{if(b){Q:{if((o|0)>=(s|0)){break Q}e=t-o|0;R:{if((e|0)<1){e=0;a=b;break R}a=b-e|0;if((a|0)<1){break Q}}g=e+o|0;r=s-g|0;B=(a|0)>(r|0)?r:a;if((B|0)<1){break Q}a=d+p(e,3)|0;e=p(g,3)+q|0;g=0;while(1){C=k[f+28|0];A=j[(C<<2)+234976>>2];x=j[f+12>>2];r=k[e|0]|(k[e+1|0]<<8|k[e+2|0]<<16);u=k[f+32|0];y=k[A+((x&r)>>>u|0)|0];F=k[f+29|0];H=j[(F<<2)+234976>>2];D=j[f+16>>2];E=k[f+33|0];v=k[H+((D&r)>>>E|0)|0];I=k[f+30|0];K=j[(I<<2)+234976>>2];J=j[f+20>>2];z=J&r;r=k[f+34|0];G=k[K+(z>>>r|0)|0];z=x;x=k[a|0]|(k[a+1|0]<<8|k[a+2|0]<<16);r=j[f+24>>2]|y+(p(m,k[A+((z&x)>>>u|0)|0]-y|0)>>>8|0)>>>C<>>E|0)|0]-v|0)>>>8|0)>>>F<>>r|0)|0]-G|0)>>>8|0)>>>I<>>16;h[e+1|0]=r>>>8;e=e+3|0;a=a+3|0;g=g+1|0;if((B|0)!=(g|0)){continue}break}}o=b+o|0;e=d+p(b,3)|0;break P}e=d;if(!o){break b}}if((o|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;n=n-1|0;if(n){continue}break}break b;case 2:break y;default:break b}}g=j[f+20>>2];a=j[f+16>>2];d=j[f+12>>2];if(!((g|(a|d))!=16777215|((g|0)!=65280?!((d|0)==65280|(a|0)==65280):0))){q=o-(t<<2)|0;o=t+j[b+8>>2]|0;n=j[b+12>>2];if((m|0)!=128){break k}while(1){b=0;while(1){g=e+4|0;b=l[e>>1]+b|0;a=l[e+2>>1];S:{if(a){T:{if((b|0)>=(o|0)){break T}d=t-b|0;U:{if((d|0)<1){d=0;f=a;break U}f=a-d|0;if((f|0)<1){break T}}e=b+d|0;m=o-e|0;m=(f|0)>(m|0)?m:f;if((m|0)<1){break T}f=g+(d<<2)|0;d=(e<<2)+q|0;e=0;while(1){s=j[d>>2];r=j[f>>2];j[d>>2]=((s&16711422)+(r&16711422)>>>1|0)+(s&r&65793);d=d+4|0;f=f+4|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}b=a+b|0;e=g+(a<<2)|0;break S}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;n=n-1|0;if(n){continue}break}break b}o=o-(t<<2)|0;y=t+j[b+8>>2]|0;r=j[b+12>>2];while(1){s=0;while(1){d=e+4|0;s=l[e>>1]+s|0;b=l[e+2>>1];V:{if(b){W:{if((s|0)>=(y|0)){break W}e=t-s|0;X:{if((e|0)<1){e=0;a=b;break X}a=b-e|0;if((a|0)<1){break W}}g=e+s|0;q=y-g|0;D=(a|0)>(q|0)?q:a;if((D|0)<1){break W}a=d+(e<<2)|0;e=(g<<2)+o|0;F=k[f+30|0];E=j[(F<<2)+234976>>2];H=k[f+29|0];v=j[(H<<2)+234976>>2];J=k[f+28|0];G=j[(J<<2)+234976>>2];g=k[f+34|0];n=k[f+33|0];u=k[f+32|0];q=0;while(1){A=j[f+12>>2];x=j[e>>2];B=k[G+((A&x)>>>u|0)|0];I=j[f+16>>2];C=k[v+((I&x)>>>n|0)|0];K=j[f+20>>2];x=k[E+((K&x)>>>g|0)|0];z=A;A=j[a>>2];j[e>>2]=j[f+24>>2]|B+(p(m,k[G+((z&A)>>>u|0)|0]-B|0)>>>8|0)>>>J<>>n|0)|0]-C|0)>>>8|0)>>>H<>>g|0)|0]-x|0)>>>8|0)>>>F<>2]+o|0;r=r-1|0;if(r){continue}break}break b}if((m|0)==255){Y:{switch(q-1|0){case 0:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];Z:{if(e){Ge(d+o|0,b,e);d=d+e|0;e=b+e|0;break Z}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 1:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];_:{if(e){f=e<<1;Ge((d<<1)+o|0,b,f);d=d+e|0;e=b+f|0;break _}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 2:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];$:{if(e){f=p(e,3);Ge(p(d,3)+o|0,b,f);d=d+e|0;e=b+f|0;break $}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 3:break Y;default:break b}}a=j[b+12>>2];while(1){d=0;while(1){b=e+4|0;d=l[e>>1]+d|0;e=l[e+2>>1];aa:{if(e){f=e<<2;Ge((d<<2)+o|0,b,f);d=d+e|0;e=b+f|0;break aa}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b}ba:{switch(q-2|0){case 0:ca:{t=j[n+20>>2];d=j[n+16>>2];f=j[n+12>>2];a=t|(d|f);if((a|0)!=32767){if((a|0)!=65535|((t|0)!=2016?!((f|0)==2016|(d|0)==2016):0)){break ca}n=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;q=k[e+1|0];da:{if(q){d=(b<<1)+o|0;ea:{if((g^d)&3){e=q;f=g;while(1){a=l[f>>1];m=l[d>>1];i[d>>1]=(a&m&2081)+((m&63454)+(a&63454)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break ea}fa:{if(!(g&3)){f=g;a=q;break fa}a=l[e+2>>1];f=l[d>>1];i[d>>1]=(a&f&2081)+((f&63454)+(a&63454)>>>1|0);d=d+2|0;f=e+4|0;a=q-1|0}if(a>>>0>=2){while(1){e=j[f>>2];m=j[d>>2];j[d>>2]=((e&m&136382497)+(e>>>1&2079292399)|0)+(m>>>1&2079292399);d=d+4|0;f=f+4|0;a=a-2|0;if(a>>>0>1){continue}break}}if(!a){break ea}e=d;a=l[f>>1];d=l[d>>1];i[e>>1]=(a&d&2081)+((d&63454)+(a&63454)>>>1|0)}b=b+q|0;e=g+(q<<1)|0;break da}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;n=n-1|0;if(n){continue}break b}}q=m>>>3|0;while(1){g=0;while(1){a=e+2|0;g=k[e|0]+g|0;b=k[e+1|0];ga:{if(b){d=(g<<1)+o|0;e=0;f=a;while(1){m=l[f>>1];v=(m<<16|m)&132184095;m=l[d>>1];m=(m<<16|m)&132184095;m=(p(q,v-m|0)>>>5|0)+m&132184095;i[d>>1]=m>>>16|m;d=d+2|0;f=f+2|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<1)|0;break ga}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=o+s|0;n=n-1|0;if(n){continue}break}break b}if((t|0)!=992?!((f|0)==992|(d|0)==992):0){break ca}n=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;q=k[e+1|0];ha:{if(q){d=(b<<1)+o|0;ia:{if((g^d)&3){e=q;f=g;while(1){a=l[f>>1];m=l[d>>1];i[d>>1]=(a&m&1057)+((m&64478)+(a&64478)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break ia}ja:{if(!(g&3)){f=g;a=q;break ja}a=l[e+2>>1];f=l[d>>1];i[d>>1]=(a&f&1057)+((f&64478)+(a&64478)>>>1|0);d=d+2|0;f=e+4|0;a=q-1|0}if(a>>>0>=2){while(1){e=j[f>>2];m=j[d>>2];j[d>>2]=((e&m&69272609)+(e>>>1&2112847343)|0)+(m>>>1&2112847343);d=d+4|0;f=f+4|0;a=a-2|0;if(a>>>0>1){continue}break}}if(!a){break ia}e=d;a=l[f>>1];d=l[d>>1];i[e>>1]=(a&d&1057)+((d&64478)+(a&64478)>>>1|0)}b=b+q|0;e=g+(q<<1)|0;break ha}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;n=n-1|0;if(n){continue}break b}}q=m>>>3|0;while(1){g=0;while(1){a=e+2|0;g=k[e|0]+g|0;b=k[e+1|0];ka:{if(b){d=(g<<1)+o|0;e=0;f=a;while(1){m=l[f>>1];v=(m<<16|m)&65043487;m=l[d>>1];m=(m<<16|m)&65043487;m=(p(q,v-m|0)>>>5|0)+m&65043487;i[d>>1]=m>>>16|m;d=d+2|0;f=f+2|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<1)|0;break ka}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=o+s|0;n=n-1|0;if(n){continue}break}break b}r=j[b+12>>2];while(1){b=0;while(1){a=e+2|0;b=k[e|0]+b|0;u=k[e+1|0];la:{if(u){e=(b<<1)+o|0;D=k[n+30|0];G=j[(D<<2)+234976>>2];F=k[n+29|0];x=j[(F<<2)+234976>>2];H=k[n+28|0];B=j[(H<<2)+234976>>2];J=j[n+24>>2];y=k[n+34|0];E=k[n+33|0];v=k[n+32|0];q=0;g=a;while(1){C=l[g>>1];A=l[e>>1];I=k[B+((A&f)>>>v|0)|0];z=J|(p(m,k[B+((C&f)>>>v|0)|0]-I|0)>>>8|0)+I>>>H<>>E|0)|0];z=z|(p(m,k[x+((d&C)>>>E|0)|0]-I|0)>>>8|0)+I>>>F<>>y|0)|0];C=k[G+((t&A)>>>y|0)|0];i[e>>1]=z|(p(m,I-C|0)>>>8|0)+C>>>D<>2];while(1){q=0;while(1){b=e+2|0;q=k[e|0]+q|0;d=k[e+1|0];ma:{if(d){e=p(q,3)+o|0;g=0;a=b;while(1){G=k[n+28|0];x=j[(G<<2)+234976>>2];v=j[n+12>>2];f=k[e|0]|(k[e+1|0]<<8|k[e+2|0]<<16);t=k[n+32|0];r=k[x+((v&f)>>>t|0)|0];C=k[n+29|0];A=j[(C<<2)+234976>>2];B=j[n+16>>2];u=k[n+33|0];y=k[A+((B&f)>>>u|0)|0];F=k[n+30|0];H=j[(F<<2)+234976>>2];D=j[n+20>>2];z=D&f;f=k[n+34|0];E=k[H+(z>>>f|0)|0];z=v;v=k[a|0]|(k[a+1|0]<<8|k[a+2|0]<<16);f=j[n+24>>2]|r+(p(m,k[x+((z&v)>>>t|0)|0]-r|0)>>>8|0)>>>G<>>u|0)|0]-y|0)>>>8|0)>>>C<>>f|0)|0]-E|0)>>>8|0)>>>F<>>16;h[e+1|0]=f>>>8;e=e+3|0;a=a+3|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}q=d+q|0;e=b+p(d,3)|0;break ma}e=b;if(!q){break b}}if((q|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;s=s-1|0;if(s){continue}break}break b;case 2:break ba;default:break b}}f=j[n+20>>2];a=j[n+16>>2];d=j[n+12>>2];if(!((f|(a|d))!=16777215|((f|0)!=65280?!((d|0)==65280|(a|0)==65280):0))){q=j[b+12>>2];if((m|0)!=128){break j}while(1){g=0;while(1){a=e+4|0;g=l[e>>1]+g|0;b=l[e+2>>1];na:{if(b){d=(g<<2)+o|0;e=0;f=a;while(1){n=j[d>>2];m=j[f>>2];j[d>>2]=((n&16711422)+(m&16711422)>>>1|0)+(n&m&65793);d=d+4|0;f=f+4|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<2)|0;break na}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;q=q-1|0;if(q){continue}break}break b}r=j[b+12>>2];while(1){b=0;while(1){a=e+4|0;b=l[e>>1]+b|0;d=l[e+2>>1];oa:{if(d){e=(b<<2)+o|0;C=k[n+30|0];u=j[(C<<2)+234976>>2];A=k[n+29|0];y=j[(A<<2)+234976>>2];D=k[n+28|0];E=j[(D<<2)+234976>>2];f=k[n+34|0];t=k[n+33|0];s=k[n+32|0];q=0;g=a;while(1){B=j[n+12>>2];v=j[e>>2];G=k[E+((B&v)>>>s|0)|0];F=j[n+16>>2];x=k[y+((F&v)>>>t|0)|0];H=j[n+20>>2];v=k[u+((H&v)>>>f|0)|0];z=B;B=j[g>>2];j[e>>2]=j[n+24>>2]|G+(p(m,k[E+((z&B)>>>s|0)|0]-G|0)>>>8|0)>>>D<>>t|0)|0]-x|0)>>>8|0)>>>A<>>f|0)|0]-v|0)>>>8|0)>>>C<>2]+o|0;r=r-1|0;if(r){continue}break}break b}g=0;break i}n=0;while(1){b=e+4|0;n=l[e>>1]+n|0;d=l[e+2>>1];pa:{if(d){f=(n<<2)+o|0;a=0;e=b;while(1){g=j[e>>2];t=j[f>>2];s=t&16711935;v=(p(m,(g&16711935)-s|0)>>>8|0)+s&16711935;x=g&65280;g=t&65280;j[f>>2]=v|(p(m,x-g|0)>>>8|0)+g&65280;f=f+4|0;e=e+4|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}n=d+n|0;e=b+(d<<2)|0;break pa}e=b;if(!n){break b}}if((n|0)!=(w|0)){continue}o=j[c+16>>2]+o|0;q=q-1|0;if(!q){break b}n=0;continue}}while(1){d=e+4|0;g=l[e>>1]+g|0;b=l[e+2>>1];qa:{if(b){ra:{if((g|0)>=(o|0)){break ra}f=t-g|0;sa:{if((f|0)<1){f=0;e=b;break sa}e=b-f|0;if((e|0)<1){break ra}}a=f+g|0;s=o-a|0;s=(e|0)>(s|0)?s:e;if((s|0)<1){break ra}e=d+(f<<2)|0;f=(a<<2)+q|0;a=0;while(1){r=j[e>>2];u=j[f>>2];y=u&16711935;v=(p(m,(r&16711935)-y|0)>>>8|0)+y&16711935;x=r&65280;r=u&65280;j[f>>2]=v|(p(m,x-r|0)>>>8|0)+r&65280;f=f+4|0;e=e+4|0;a=a+1|0;if((s|0)!=(a|0)){continue}break}}g=b+g|0;e=d+(b<<2)|0;break qa}e=d;if(!g){break b}}if((g|0)!=(w|0)){continue}q=j[c+16>>2]+q|0;n=n-1|0;if(!n){break b}g=0;continue}}if(k[c|0]&2){jg(c)}return 0}function Nx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;g=oe-32|0;oe=g;b=j[a+40>>2];u=k[b+9|0];d=j[a+44>>2];o=0;a:{if(!j[d+24>>2]){break a}o=k[a+63|0]}x=j[a+36>>2];c=j[a+20>>2];y=j[a+16>>2];e=j[a>>2];s=j[a+28>>2];a=j[a+24>>2];b:{c:{f=(u|0)!=4;t=k[d+9|0];if(!(f|(t|0)!=4)){if(j[b>>2]==372711428|j[d>>2]==372711428){break c}hh(b,d,g+24|0,g+20|0,g+16|0,g+12|0,g+28|0);if(!s){break b}n=a&7;f=(a+7|0)/8|0;d:while(1){r=f;e:{f:{switch(n-1|0){default:a=0;break e;case 0:a=7;break e;case 1:a=6;break e;case 2:a=5;break e;case 3:a=4;break e;case 4:a=3;break e;case 5:a=2;break e;case 6:break f}}a=1}while(1){g:{switch(a|0){case 0:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=1;continue;case 1:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=2;continue;case 2:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=3;continue;case 3:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=4;continue;case 4:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=5;continue;case 5:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=6;continue;case 6:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=7;continue;default:break g}}a=s-1|0;h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;h:{if((r|0)>1){r=r-1|0;break h}c=c+x|0;e=e+y|0;s=a;if(a){continue d}break b}a=0;continue}}}if(!((t|0)!=3|f)){if(j[b>>2]==372711428){break c}hh(b,d,g+28|0,g+24|0,g+20|0,g+16|0,0);if(!s){break b}o=a&7;f=(a+7|0)/8|0;i:while(1){r=f;j:{k:{switch(o-1|0){default:a=0;break j;case 0:a=7;break j;case 1:a=6;break j;case 2:a=5;break j;case 3:a=4;break j;case 4:a=3;break j;case 5:a=2;break j;case 6:break k}}a=1}while(1){l:{switch(a|0){case 0:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=1;continue;case 1:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=2;continue;case 2:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=3;continue;case 3:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=4;continue;case 4:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=5;continue;case 5:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=6;continue;case 6:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=7;continue;default:break l}}a=s-1|0;h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;m:{if((r|0)>1){r=r-1|0;break m}c=c+x|0;e=e+y|0;s=a;if(a){continue i}break b}a=0;continue}}}if((u|0)!=3|(t|0)!=4|j[d>>2]==372711428){break c}hh(b,d,g+24|0,g+20|0,g+16|0,g+12|0,g+28|0);if(!s){break b}n=a&7;f=(a+7|0)/8|0;n:while(1){r=f;o:{p:{switch(n-1|0){default:a=0;break o;case 0:a=7;break o;case 1:a=6;break o;case 2:a=5;break o;case 3:a=4;break o;case 4:a=3;break o;case 5:a=2;break o;case 6:break p}}a=1}while(1){q:{switch(a|0){case 0:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=1;continue;case 1:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=2;continue;case 2:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=3;continue;case 3:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=4;continue;case 4:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=5;continue;case 5:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=6;continue;case 6:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=7;continue;default:break q}}a=s-1|0;h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;r:{if((r|0)>1){r=r-1|0;break r}c=c+x|0;e=e+y|0;s=a;if(a){continue n}break b}a=0;continue}}}if(!s){break b}z=a&7;A=(a+7|0)/8|0;v=u-1|0;w=t-1|0;while(1){r=A;s:{t:{switch(z-1|0){default:a=7;break s;case 0:a=6;break s;case 1:a=5;break s;case 2:a=4;break s;case 3:a=3;break s;case 4:a=2;break s;case 5:a=1;break s;case 6:break t}}a=0}while(1){u:{v:{switch(a|0){case 0:a=0;m=0;f=0;w:{x:{y:{switch(v|0){case 0:f=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break x;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break x;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break x;case 3:break y;default:break w}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}a=k[a|0];m=k[m|0];f=k[f|0]}p=a&255;q=m&255;n=f;z:{A:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=f;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=a;break z;case 3:break A;default:break z}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 2:a=(k[b+34|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;break C;case 3:break D;default:break B}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0}m=k[a|0];a=k[f|0];f=k[n|0]}p=a&255;q=m&255;n=f;E:{F:{switch(w|0){case 0:h[c|0]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=f;h[(k[d+33|0]>>>3|0)+c|0]=a;h[(k[d+34|0]>>>3|0)+c|0]=m;break E;case 3:break F;default:break E}}j[c>>2]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break H;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break H;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break H;case 3:break I;default:break G}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;J:{K:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break J;case 3:break K;default:break J}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break M;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break M;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break M;case 3:break N;default:break L}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;O:{P:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break O;case 3:break P;default:break O}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break R;case 3:break S;default:break Q}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;T:{U:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break T;case 3:break U;default:break T}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break W;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break W;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break W;case 3:break X;default:break V}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;Y:{Z:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break Y;case 3:break Z;default:break Y}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break $;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break $;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break $;case 3:break aa;default:break _}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;ba:{ca:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break ba;case 3:break ca;default:break ba}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break ea;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break ea;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break ea;case 3:break fa;default:break da}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}a=k[a|0];m=k[m|0];f=k[f|0]}p=a&255;q=m&255;n=f;ga:{ha:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=f;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=a;break ga;case 3:break ha;default:break ga}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2];p=j[b+24>>2]^-1;q=p&j[a+56>>2];y=j[a+36>>2];e=j[a+20>>2];z=j[a+16>>2];d=j[a>>2];u=j[a+28>>2];f=j[a+24>>2];a:{r=j[b>>2];c=j[a+44>>2];a=j[c>>2];if((r|0)==(a|0)){a=lP(r-372645892|0,12);if(!u|(a>>>0>5|!(1<>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=1;continue;case 1:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=2;continue;case 2:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=3;continue;case 3:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=4;continue;case 4:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=5;continue;case 5:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=6;continue;case 6:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=7;continue;default:break e}}a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}a=u-1|0;e=e+4|0;d=d+4|0;f:{if((f|0)>1){f=f-1|0;break f}e=e+y|0;d=d+z|0;u=a;if(a){continue b}break a}a=0;continue}}}s=k[c+9|0];t=k[b+9|0];g:{if(!((a|0)==372711428|(r|0)==372711428|(s|0)!=4)){if((t|0)==4){break g}}if(!u){break a}A=f&7;x=(f+7|0)/8|0;v=t-1|0;w=s-1|0;while(1){r=x;h:{i:{switch(A-1|0){default:a=7;break h;case 0:a=6;break h;case 1:a=5;break h;case 2:a=4;break h;case 3:a=3;break h;case 4:a=2;break h;case 5:a=1;break h;case 6:break i}}a=0}while(1){j:{k:{switch(a|0){case 0:a=0;n=0;f=0;g=0;m=0;l:{m:{switch(v|0){case 0:a=k[d|0];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break l;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break l;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break l;case 3:break m;default:break l}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}n:{if((a&p)==(q|0)){break n}o:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break n;case 3:break o;default:break n}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break p;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break p;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break p;case 3:break q;default:break p}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}r:{if((a&p)==(q|0)){break r}s:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break r;case 3:break s;default:break r}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break t;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break t;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break t;case 3:break u;default:break t}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}v:{if((a&p)==(q|0)){break v}w:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break v;case 3:break w;default:break v}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break x;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break x;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break x;case 3:break y;default:break x}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}z:{if((a&p)==(q|0)){break z}A:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break z;case 3:break A;default:break z}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break B;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break B;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break B;case 3:break C;default:break B}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}D:{if((a&p)==(q|0)){break D}E:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break D;case 3:break E;default:break D}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break F;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break F;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break F;case 3:break G;default:break F}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}H:{if((a&p)==(q|0)){break H}I:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break H;case 3:break I;default:break H}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break J;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break J;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break J;case 3:break K;default:break J}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}L:{if((a&p)==(q|0)){break L}M:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break L;case 3:break M;default:break L}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break N;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break N;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break N;case 3:break O;default:break N}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}P:{if((a&p)==(q|0)){break P}Q:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break P;case 3:break Q;default:break P}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=1;continue;case 1:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=2;continue;case 2:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=3;continue;case 3:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=4;continue;case 4:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=5;continue;case 5:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=6;continue;case 6:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=7;continue;default:break U}}if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}a=u-1|0;e=e+4|0;d=d+4|0;V:{if((f|0)>1){f=f-1|0;break V}e=e+y|0;d=d+z|0;u=a;if(a){continue R}break a}a=0;continue}}}oe=o+16|0}function Gx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;b=j[a+40>>2];o=j[b+24>>2]^-1;q=o&j[a+56>>2];u=j[a+36>>2];i=j[a+20>>2];v=j[a+16>>2];c=j[a>>2];s=j[a+28>>2];f=j[a+24>>2];n=k[b+9|0];r=j[a+48>>2];a:{if(r){if(!s){break a}w=f&7;t=(f+7|0)/8|0;p=n-1|0;while(1){f=t;b:{c:{switch(w-1|0){default:a=7;break b;case 0:a=6;break b;case 1:a=5;break b;case 2:a=4;break b;case 3:a=3;break b;case 4:a=2;break b;case 5:a=1;break b;case 6:break c}}a=0}while(1){d:{e:{switch(a|0){case 0:a=0;d=0;e=0;g=0;f:{g:{h:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break g;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break g;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break g;case 3:break h;default:break f}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=1;continue;case 1:a=0;d=0;e=0;g=0;i:{j:{k:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break j;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break j;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break j;case 3:break k;default:break i}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=2;continue;case 2:a=0;d=0;e=0;g=0;l:{m:{n:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break m;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break m;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break m;case 3:break n;default:break l}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=3;continue;case 3:a=0;d=0;e=0;g=0;o:{p:{q:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break p;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break p;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break p;case 3:break q;default:break o}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=4;continue;case 4:a=0;d=0;e=0;g=0;r:{s:{t:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break s;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break s;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break s;case 3:break t;default:break r}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=5;continue;case 5:a=0;d=0;e=0;g=0;u:{v:{w:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break v;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break v;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break v;case 3:break w;default:break u}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=6;continue;case 6:a=0;d=0;e=0;g=0;x:{y:{z:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break y;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break y;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break y;case 3:break z;default:break x}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}a=s-1|0;c=c+n|0;i=i+1|0;if((f|0)<=1){break d}f=f-1|0;a=7;continue;default:break e}}a=0;e=0;g=0;d=0;A:{B:{C:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;e=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break B;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;e=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break B;case 2:d=(k[b+34|0]>>>3|0)+c|0;g=(k[b+33|0]>>>3|0)+c|0;e=(k[b+32|0]>>>3|0)+c|0;break B;case 3:break C;default:break A}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;e=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}d=k[d|0];e=k[e|0];g=k[g|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(g>>>3&28|e&224|(d&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=0;continue}break}i=i+u|0;c=c+v|0;s=a;if(a){continue}break}break a}if(!s){break a}m=f&7;r=(f+7|0)/8|0;p=n-1|0;while(1){t=r;D:{E:{switch(m-1|0){default:a=7;break D;case 0:a=6;break D;case 1:a=5;break D;case 2:a=4;break D;case 3:a=3;break D;case 4:a=2;break D;case 5:a=1;break D;case 6:break E}}a=0}while(1){F:{G:{switch(a|0){case 0:a=0;f=0;d=0;e=0;H:{I:{J:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break I;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break I;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break I;case 3:break J;default:break H}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=1;continue;case 1:a=0;f=0;d=0;e=0;K:{L:{M:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break L;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break L;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break L;case 3:break M;default:break K}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=2;continue;case 2:a=0;f=0;d=0;e=0;N:{O:{P:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break O;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break O;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break O;case 3:break P;default:break N}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=3;continue;case 3:a=0;f=0;d=0;e=0;Q:{R:{S:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break R;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break R;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break R;case 3:break S;default:break Q}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=4;continue;case 4:a=0;f=0;d=0;e=0;T:{U:{V:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break U;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break U;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break U;case 3:break V;default:break T}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=5;continue;case 5:a=0;f=0;d=0;e=0;W:{X:{Y:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break X;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break X;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break X;case 3:break Y;default:break W}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=6;continue;case 6:a=0;f=0;d=0;e=0;Z:{_:{$:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break _;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break _;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break _;case 3:break $;default:break Z}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}a=s-1|0;c=c+n|0;i=i+1|0;if((t|0)<=1){break F}t=t-1|0;a=7;continue;default:break G}}a=0;d=0;e=0;f=0;aa:{ba:{ca:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break ba;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break ba;case 2:f=(k[b+34|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;d=(k[b+32|0]>>>3|0)+c|0;break ba;case 3:break ca;default:break aa}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}f=k[f|0];d=k[d|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=e>>>3&28|d&224|(f&192)>>>6}c=c+n|0;i=i+1|0;a=0;continue}break}i=i+u|0;c=c+v|0;s=a;if(a){continue}break}}}function uz(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0;E=g^255;a:{b:{c:{d:{e:{f:{g:{h=j[a+4>>2];switch(k[h+9|0]-2|0){case 2:break e;case 0:break g;default:break f}}h:{switch(c-1|0){case 1:break b;case 3:break c;case 0:break h;default:break d}}c=0;C=j[b+12>>2];if(!C){break a}n=j[a+16>>2]/2|0;a=(j[a+20>>2]+(p(n,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;g=j[b+8>>2];D=g&3;b=(g+3|0)/4|0;z=n-g<<1;i:while(1){j:{k:{l:{m:{n:{switch(D-1|0){case 0:q=j[h+24>>2];v=k[h+34|0];r=j[h+20>>2];t=k[h+30|0];w=k[h+33|0];s=j[h+16>>2];y=k[h+29|0];n=k[h+32|0];u=j[h+12>>2];o=k[h+28|0];x=b;break k;case 1:I=k[h+30|0];Z=j[(I<<2)+234976>>2];J=k[h+29|0];_=j[(J<<2)+234976>>2];F=k[h+28|0];$=j[(F<<2)+234976>>2];q=j[h+24>>2];r=j[h+20>>2];s=j[h+16>>2];u=j[h+12>>2];B=k[h+34|0];v=B;t=I;N=k[h+33|0];w=N;y=J;O=k[h+32|0];n=O;o=F;x=b;break l;case 2:I=k[h+30|0];Z=j[(I<<2)+234976>>2];J=k[h+29|0];_=j[(J<<2)+234976>>2];F=k[h+28|0];$=j[(F<<2)+234976>>2];q=j[h+24>>2];r=j[h+20>>2];s=j[h+16>>2];u=j[h+12>>2];B=k[h+34|0];v=B;t=I;N=k[h+33|0];w=N;y=J;O=k[h+32|0];n=O;o=F;x=b;break m;default:break n}}t=k[h+30|0];Z=j[(t<<2)+234976>>2];y=k[h+29|0];_=j[(y<<2)+234976>>2];o=k[h+28|0];$=j[(o<<2)+234976>>2];q=j[h+24>>2];v=k[h+34|0];r=j[h+20>>2];w=k[h+33|0];s=j[h+16>>2];n=k[h+32|0];u=j[h+12>>2];x=b;m=0;break j}m=1;break j}m=2;break j}m=3}while(1){o:{switch(m|0){case 0:g=l[a>>1];N=w&255;J=y&255;O=n&255;F=o&255;B=v&255;I=t&255;i[a>>1]=((p(k[((g&s)>>>N|0)+_|0],E)>>>0)/255|0)+e>>>J<>>O|0)+$|0],E)>>>0)/255|0)+d>>>F<>>B|0)+Z|0],E)>>>0)/255|0)+f>>>I<>1];i[a>>1]=((p(k[((g&s)>>>N|0)+_|0],E)>>>0)/255|0)+e>>>J<>>O|0)+$|0],E)>>>0)/255|0)+d>>>F<>>B|0)+Z|0],E)>>>0)/255|0)+f>>>I<>1];i[a>>1]=((p(k[((g&s)>>>N|0)+_|0],E)>>>0)/255|0)+e>>>J<>>O|0)+$|0],E)>>>0)/255|0)+d>>>F<>>B|0)+Z|0],E)>>>0)/255|0)+f>>>I<>2];A=l[a>>1];G=w&255;H=((p(k[_+((A&s)>>>G|0)|0],E)>>>0)/255|0)+e>>>m<>2];G=n&255;L=H|((p(k[$+((u&A)>>>G|0)|0],E)>>>0)/255|0)+d>>>m<>2];H=r&A;A=v&255;i[a>>1]=L|((p(k[Z+(H>>>A|0)|0],E)>>>0)/255|0)+f>>>m<1){x=x-1|0;break p}a=a+z|0;C=g;if(g){continue i}break a}m=0;continue}}}c=Be(4);break a}q:{switch(c-1|0){case 0:c=0;D=j[b+12>>2];if(!D){break a}n=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;g=j[b+8>>2];x=g&3;b=(g+3|0)/4|0;z=n-g<<2;r:while(1){s:{t:{u:{v:{w:{switch(x-1|0){case 0:q=k[h+34|0];r=k[h+30|0];s=k[h+33|0];u=k[h+29|0];v=k[h+32|0];n=k[h+28|0];o=b;break t;case 1:G=k[h+30|0];aa=j[(G<<2)+234976>>2];K=k[h+29|0];ba=j[(K<<2)+234976>>2];P=k[h+28|0];ca=j[(P<<2)+234976>>2];y=k[h+34|0];q=y;r=G;w=k[h+33|0];s=w;u=K;t=k[h+32|0];v=t;n=P;o=b;break u;case 2:G=k[h+30|0];aa=j[(G<<2)+234976>>2];K=k[h+29|0];ba=j[(K<<2)+234976>>2];P=k[h+28|0];ca=j[(P<<2)+234976>>2];y=k[h+34|0];q=y;r=G;w=k[h+33|0];s=w;u=K;t=k[h+32|0];v=t;n=P;o=b;break v;default:break w}}r=k[h+30|0];aa=j[(r<<2)+234976>>2];u=k[h+29|0];ba=j[(u<<2)+234976>>2];n=k[h+28|0];ca=j[(n<<2)+234976>>2];q=k[h+34|0];s=k[h+33|0];v=k[h+32|0];o=b;m=0;break s}m=1;break s}m=2;break s}m=3}while(1){x:{switch(m|0){case 0:g=j[a>>2];w=s&255;K=u&255;t=v&255;P=n&255;y=q&255;G=r&255;j[a>>2]=j[h+24>>2]|(((p(k[((g&j[h+16>>2])>>>w|0)+ba|0],E)>>>0)/255|0)+e>>>K<>2])>>>t|0)+ca|0],E)>>>0)/255|0)+d>>>P<>2])>>>y|0)+aa|0],E)>>>0)/255|0)+f>>>G<>2];j[a>>2]=j[h+24>>2]|(((p(k[((g&j[h+16>>2])>>>w|0)+ba|0],E)>>>0)/255|0)+e>>>K<>2])>>>t|0)+ca|0],E)>>>0)/255|0)+d>>>P<>2])>>>y|0)+aa|0],E)>>>0)/255|0)+f>>>G<>2];j[a>>2]=j[h+24>>2]|(((p(k[((g&j[h+16>>2])>>>w|0)+ba|0],E)>>>0)/255|0)+e>>>K<>2])>>>t|0)+ca|0],E)>>>0)/255|0)+d>>>P<>2])>>>y|0)+aa|0],E)>>>0)/255|0)+f>>>G<>2];A=j[a>>2];C=s&255;B=((p(k[ba+((A&j[h+16>>2])>>>C|0)|0],E)>>>0)/255|0)+e>>>m<>2];C=v&255;H=j[h+24>>2]|(B|((p(k[ca+((A&j[h+12>>2])>>>C|0)|0],E)>>>0)/255|0)+d>>>m<>2];B=A&j[h+20>>2];A=q&255;j[a>>2]=H|((p(k[aa+(B>>>A|0)|0],E)>>>0)/255|0)+f>>>m<1){o=o-1|0;break y}a=a+z|0;D=g;if(g){continue r}break a}m=0;continue}};default:c=0;w=j[b+12>>2];if(!w){break a}n=j[a+16>>2]/4|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;a=j[b+8>>2];o=a&3;b=(a+3|0)/4|0;n=n-a<<2;z:while(1){A:{B:{C:{D:{E:{switch(o-1|0){case 0:m=k[h+34|0];q=k[h+30|0];r=k[h+33|0];s=k[h+29|0];u=k[h+32|0];v=k[h+28|0];t=b;break B;case 1:s=k[h+29|0];r=k[h+33|0];v=k[h+28|0];u=k[h+32|0];oa=e>>>s<>>v<>>q<>>s<>>v<>>q<>>q<>>s<>>v<>2]=pa|(oa|j[h+24>>2]);g=g+4|0;a=1;continue;case 1:j[g>>2]=j[h+24>>2]|oa|pa;g=g+4|0;a=2;continue;case 2:j[g>>2]=j[h+24>>2]|oa|pa;g=g+4|0;a=3;continue;default:break F}}a=w-1|0;j[g>>2]=j[h+24>>2]|(e>>>s<>>v<>>q<1){t=t-1|0;break G}g=g+n|0;w=a;if(a){continue z}break a}a=0;continue}};case 3:c=0;A=j[b+12>>2];if(!A){break a}n=j[a+16>>2]/4|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;a=j[b+8>>2];x=a&3;b=(a+3|0)/4|0;D=n-a<<2;H:while(1){I:{J:{K:{L:{M:{switch(x-1|0){case 0:s=k[h+34|0];u=k[h+30|0];v=k[h+33|0];t=k[h+29|0];w=k[h+32|0];y=k[h+28|0];n=b;break J;case 1:Q=k[h+30|0];da=j[(Q<<2)+234976>>2];R=k[h+29|0];ea=j[(R<<2)+234976>>2];S=k[h+28|0];C=j[(S<<2)+234976>>2];r=k[h+34|0];s=r;u=Q;q=k[h+33|0];v=q;t=R;m=k[h+32|0];w=m;y=S;n=b;break K;case 2:Q=k[h+30|0];da=j[(Q<<2)+234976>>2];R=k[h+29|0];ea=j[(R<<2)+234976>>2];S=k[h+28|0];C=j[(S<<2)+234976>>2];r=k[h+34|0];s=r;u=Q;q=k[h+33|0];v=q;t=R;m=k[h+32|0];w=m;y=S;n=b;break L;default:break M}}u=k[h+30|0];da=j[(u<<2)+234976>>2];t=k[h+29|0];ea=j[(t<<2)+234976>>2];y=k[h+28|0];C=j[(y<<2)+234976>>2];s=k[h+34|0];v=k[h+33|0];w=k[h+32|0];n=b;a=0;break I}a=1;break I}a=2;break I}a=3}while(1){N:{switch(a|0){case 0:a=j[g>>2];q=v&255;R=t&255;m=w&255;S=y&255;r=s&255;Q=u&255;j[g>>2]=j[h+24>>2]|((p(k[((a&j[h+16>>2])>>>q|0)+ea|0],e)>>>0)/255>>>R<>2])>>>m|0)+C|0],d)>>>0)/255>>>S<>2])>>>r|0)+da|0],f)>>>0)/255>>>Q<>2];j[g>>2]=j[h+24>>2]|((p(k[((a&j[h+16>>2])>>>q|0)+ea|0],e)>>>0)/255>>>R<>2])>>>m|0)+C|0],d)>>>0)/255>>>S<>2])>>>r|0)+da|0],f)>>>0)/255>>>Q<>2];j[g>>2]=j[h+24>>2]|((p(k[((a&j[h+16>>2])>>>q|0)+ea|0],e)>>>0)/255>>>R<>2])>>>m|0)+C|0],d)>>>0)/255>>>S<>2])>>>r|0)+da|0],f)>>>0)/255>>>Q<>2];o=j[g>>2];C=v&255;B=(p(k[ea+((o&j[h+16>>2])>>>C|0)|0],e)>>>0)/255>>>z<>2];I=w&255;H=j[h+24>>2]|(B|(p(k[C+((o&j[h+12>>2])>>>I|0)|0],d)>>>0)/255>>>z<>2];B=o&j[h+20>>2];o=s&255;j[g>>2]=H|(p(k[da+(B>>>o|0)|0],f)>>>0)/255>>>z<1){n=n-1|0;break O}g=g+D|0;A=a;if(a){continue H}break a}a=0;continue}};case 1:break q}}c=0;D=j[b+12>>2];if(!D){break a}n=j[a+16>>2]/4|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;a=j[b+8>>2];A=a&3;b=(a+3|0)/4|0;x=n-a<<2;P:while(1){Q:{R:{S:{T:{U:{switch(A-1|0){case 0:m=k[h+34|0];q=k[h+30|0];r=k[h+33|0];t=k[h+29|0];w=k[h+32|0];y=k[h+28|0];n=b;break R;case 1:T=k[h+30|0];fa=j[(T<<2)+234976>>2];U=k[h+29|0];ga=j[(U<<2)+234976>>2];V=k[h+28|0];ha=j[(V<<2)+234976>>2];v=k[h+34|0];m=v;q=T;u=k[h+33|0];r=u;t=U;s=k[h+32|0];w=s;y=V;n=b;break S;case 2:T=k[h+30|0];fa=j[(T<<2)+234976>>2];U=k[h+29|0];ga=j[(U<<2)+234976>>2];V=k[h+28|0];ha=j[(V<<2)+234976>>2];v=k[h+34|0];m=v;q=T;u=k[h+33|0];r=u;t=U;s=k[h+32|0];w=s;y=V;n=b;break T;default:break U}}q=k[h+30|0];fa=j[(q<<2)+234976>>2];t=k[h+29|0];ga=j[(t<<2)+234976>>2];y=k[h+28|0];ha=j[(y<<2)+234976>>2];m=k[h+34|0];r=k[h+33|0];w=k[h+32|0];n=b;a=0;break Q}a=1;break Q}a=2;break Q}a=3}while(1){V:{switch(a|0){case 0:a=j[g>>2];u=r&255;o=k[((a&j[h+16>>2])>>>u|0)+ga|0]+e|0;U=t&255;z=(o>>>0<255?o:255)>>>U<>2])>>>s|0)+ha|0]+d|0;V=y&255;v=m&255;a=k[((a&j[h+20>>2])>>>v|0)+fa|0]+f|0;T=q&255;j[g>>2]=j[h+24>>2]|(z|(o>>>0<255?o:255)>>>V<>>0<255?a:255)>>>T<>2];o=k[((a&j[h+16>>2])>>>u|0)+ga|0]+e|0;z=(o>>>0<255?o:255)>>>U<>2])>>>s|0)+ha|0]+d|0;a=k[((a&j[h+20>>2])>>>v|0)+fa|0]+f|0;j[g>>2]=j[h+24>>2]|(z|(o>>>0<255?o:255)>>>V<>>0<255?a:255)>>>T<>2];o=k[((a&j[h+16>>2])>>>u|0)+ga|0]+e|0;z=(o>>>0<255?o:255)>>>U<>2])>>>s|0)+ha|0]+d|0;a=k[((a&j[h+20>>2])>>>v|0)+fa|0]+f|0;j[g>>2]=j[h+24>>2]|(z|(o>>>0<255?o:255)>>>V<>>0<255?a:255)>>>T<>2];o=j[g>>2];C=r&255;I=k[ga+((o&j[h+16>>2])>>>C|0)|0]+e|0;B=(I>>>0<255?I:255)>>>z<>2];C=w&255;I=k[ha+((o&j[h+12>>2])>>>C|0)|0]+d|0;H=j[h+24>>2]|(B|(I>>>0<255?I:255)>>>z<>2];B=o&j[h+20>>2];o=m&255;C=k[fa+(B>>>o|0)|0]+f|0;j[g>>2]=H|(C>>>0<255?C:255)>>>z<1){n=n-1|0;break W}g=g+x|0;D=a;if(a){continue P}break a}a=0;continue}}}c=0;y=j[b+12>>2];if(!y){break a}n=j[a+16>>2]/2|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;a=j[b+8>>2];o=a&3;b=(a+3|0)/4|0;n=n-a<<1;X:while(1){Y:{Z:{_:{$:{aa:{switch(o-1|0){case 0:m=j[h+24>>2];q=k[h+34|0];r=k[h+30|0];s=k[h+33|0];u=k[h+29|0];v=k[h+32|0];t=k[h+28|0];w=b;break Z;case 1:m=j[h+24>>2];u=k[h+29|0];s=k[h+33|0];t=k[h+28|0];v=k[h+32|0];r=k[h+30|0];q=k[h+34|0];qa=m|(e>>>u<>>t<>>r<>2];u=k[h+29|0];s=k[h+33|0];t=k[h+28|0];v=k[h+32|0];r=k[h+30|0];q=k[h+34|0];qa=m|(e>>>u<>>t<>>r<>2];q=k[h+34|0];r=k[h+30|0];s=k[h+33|0];u=k[h+29|0];v=k[h+32|0];t=k[h+28|0];w=b;a=0;break Y}a=1;break Y}a=2;break Y}a=3}while(1){ba:{switch(a|0){case 0:qa=e>>>u<>>t<>>r<>1]=qa;g=g+2|0;a=1;continue;case 1:i[g>>1]=qa;g=g+2|0;a=2;continue;case 2:i[g>>1]=qa;g=g+2|0;a=3;continue;default:break ba}}a=y-1|0;i[g>>1]=e>>>u<>>t<>>r<1){w=w-1|0;break ca}g=g+n|0;y=a;if(a){continue X}break a}a=0;continue}}}c=0;B=j[b+12>>2];if(!B){break a}t=j[a+16>>2]/2|0;g=(j[a+20>>2]+(p(t,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;a=j[b+8>>2];C=a&3;b=(a+3|0)/4|0;I=t-a<<1;da:while(1){ea:{fa:{ga:{ha:{ia:{switch(C-1|0){case 0:m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];v=k[h+30|0];t=k[h+33|0];r=j[h+16>>2];w=k[h+29|0];y=k[h+32|0];s=j[h+12>>2];z=k[h+28|0];A=b;break fa;case 1:W=k[h+30|0];ia=j[(W<<2)+234976>>2];X=k[h+29|0];ja=j[(X<<2)+234976>>2];M=k[h+28|0];ka=j[(M<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];x=k[h+34|0];u=x;v=W;o=k[h+33|0];t=o;w=X;n=k[h+32|0];y=n;z=M;A=b;break ga;case 2:W=k[h+30|0];ia=j[(W<<2)+234976>>2];X=k[h+29|0];ja=j[(X<<2)+234976>>2];M=k[h+28|0];ka=j[(M<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];x=k[h+34|0];u=x;v=W;o=k[h+33|0];t=o;w=X;n=k[h+32|0];y=n;z=M;A=b;break ha;default:break ia}}v=k[h+30|0];ia=j[(v<<2)+234976>>2];w=k[h+29|0];ja=j[(w<<2)+234976>>2];z=k[h+28|0];ka=j[(z<<2)+234976>>2];m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];t=k[h+33|0];r=j[h+16>>2];y=k[h+32|0];s=j[h+12>>2];A=b;a=0;break ea}a=1;break ea}a=2;break ea}a=3}while(1){ja:{switch(a|0){case 0:a=l[g>>1];o=t&255;X=w&255;n=y&255;M=z&255;x=u&255;W=v&255;i[g>>1]=(p(k[((a&r)>>>o|0)+ja|0],e)>>>0)/255>>>X<>>n|0)+ka|0],d)>>>0)/255>>>M<>>x|0)+ia|0],f)>>>0)/255>>>W<>1];i[g>>1]=(p(k[((a&r)>>>o|0)+ja|0],e)>>>0)/255>>>X<>>n|0)+ka|0],d)>>>0)/255>>>M<>>x|0)+ia|0],f)>>>0)/255>>>W<>1];i[g>>1]=(p(k[((a&r)>>>o|0)+ja|0],e)>>>0)/255>>>X<>>n|0)+ka|0],d)>>>0)/255>>>M<>>x|0)+ia|0],f)>>>0)/255>>>W<>2];D=l[g>>1];F=t&255;H=(p(k[ja+((D&r)>>>F|0)|0],e)>>>0)/255>>>J<>2];F=y&255;L=H|(p(k[ka+((s&D)>>>F|0)|0],d)>>>0)/255>>>J<>2];H=q&D;D=u&255;i[g>>1]=L|(p(k[ia+(H>>>D|0)|0],f)>>>0)/255>>>J<1){A=A-1|0;break ka}g=g+I|0;B=a;if(a){continue da}break a}a=0;continue}}}c=0;C=j[b+12>>2];if(!C){break a}n=j[a+16>>2]/2|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;a=j[b+8>>2];I=a&3;b=(a+3|0)/4|0;J=n-a<<1;la:while(1){ma:{na:{oa:{pa:{qa:{switch(I-1|0){case 0:m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];v=k[h+30|0];t=k[h+33|0];r=j[h+16>>2];w=k[h+29|0];y=k[h+32|0];s=j[h+12>>2];n=k[h+28|0];o=b;break na;case 1:Y=k[h+30|0];la=j[(Y<<2)+234976>>2];L=k[h+29|0];ma=j[(L<<2)+234976>>2];H=k[h+28|0];na=j[(H<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];D=k[h+34|0];u=D;v=Y;A=k[h+33|0];t=A;w=L;z=k[h+32|0];y=z;n=H;o=b;break oa;case 2:Y=k[h+30|0];la=j[(Y<<2)+234976>>2];L=k[h+29|0];ma=j[(L<<2)+234976>>2];H=k[h+28|0];na=j[(H<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];D=k[h+34|0];u=D;v=Y;A=k[h+33|0];t=A;w=L;z=k[h+32|0];y=z;n=H;o=b;break pa;default:break qa}}v=k[h+30|0];la=j[(v<<2)+234976>>2];w=k[h+29|0];ma=j[(w<<2)+234976>>2];n=k[h+28|0];na=j[(n<<2)+234976>>2];m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];t=k[h+33|0];r=j[h+16>>2];y=k[h+32|0];s=j[h+12>>2];o=b;a=0;break ma}a=1;break ma}a=2;break ma}a=3}while(1){ra:{switch(a|0){case 0:a=l[g>>1];A=t&255;x=k[((a&r)>>>A|0)+ma|0]+e|0;L=w&255;B=(x>>>0<255?x:255)>>>L<>>z|0)+na|0]+d|0;H=n&255;D=u&255;a=k[((a&q)>>>D|0)+la|0]+f|0;Y=v&255;i[g>>1]=B|(x>>>0<255?x:255)>>>H<>>0<255?a:255)>>>Y<>1];x=k[((a&r)>>>A|0)+ma|0]+e|0;B=(x>>>0<255?x:255)>>>L<>>z|0)+na|0]+d|0;a=k[((a&q)>>>D|0)+la|0]+f|0;i[g>>1]=B|(x>>>0<255?x:255)>>>H<>>0<255?a:255)>>>Y<>1];x=k[((a&r)>>>A|0)+ma|0]+e|0;B=(x>>>0<255?x:255)>>>L<>>z|0)+na|0]+d|0;a=k[((a&q)>>>D|0)+la|0]+f|0;i[g>>1]=B|(x>>>0<255?x:255)>>>H<>>0<255?a:255)>>>Y<>2];x=l[g>>1];G=t&255;K=k[ma+((x&r)>>>G|0)|0]+e|0;B=(K>>>0<255?K:255)>>>F<>2];G=y&255;K=k[na+((s&x)>>>G|0)|0]+d|0;M=B|(K>>>0<255?K:255)>>>F<>2];B=q&x;x=u&255;G=k[la+(B>>>x|0)|0]+f|0;i[g>>1]=M|(G>>>0<255?G:255)>>>F<1){o=o-1|0;break sa}g=g+J|0;C=a;if(a){continue la}break a}a=0;continue}}}return c|0}function lr(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;u=oe-32|0;oe=u;y=-2;a:{if(!a){break a}c=j[a+28>>2];if(!c|!j[a>>2]){break a}n=-5;x=(b|0)==4?-5:0;while(1){b=1;w=-3;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(j[c>>2]){case 0:b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;b=k[b|0];j[c+4>>2]=b;c=j[a+28>>2];if((b&15)!=8){j[c>>2]=13;j[a+24>>2]=85032;break c}if(m[c+16>>2]<(j[c+4>>2]>>>4|0)+8>>>0){j[c>>2]=13;j[a+24>>2]=85059;break c}j[c>>2]=1;n=x;case 1:b=n;e=j[a+4>>2];if(!e){break e}b=e-1|0;j[a+4>>2]=b;j[a+8>>2]=j[a+8>>2]+1;e=j[a>>2];j[a>>2]=e+1;e=k[e|0];if(((e|j[c+4>>2]<<8)>>>0)%31|0){j[c>>2]=13;j[a+24>>2]=85079;break c}if(!(e&32)){j[c>>2]=7;break b}j[c>>2]=2;n=x;break o;case 8:break i;case 7:break j;case 6:break k;case 5:break l;case 4:break m;case 3:break n;case 2:break p;case 13:break d;case 12:break e;case 11:break f;case 10:break g;case 9:break h;default:break a}}b=j[a+4>>2]}y=n;if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=k[b|0]<<24;c=j[a+28>>2];j[c>>2]=3;n=x}y=n;b=j[a+4>>2];if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<16);c=j[a+28>>2];j[c>>2]=4;n=x}y=n;b=j[a+4>>2];if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<8);c=j[a+28>>2];j[c>>2]=5;n=x}y=n;b=j[a+4>>2];if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+k[b|0];b=a;a=j[a+28>>2];j[b+48>>2]=j[a+8>>2];j[a>>2]=6;y=2;break a}j[c>>2]=13;j[a+24>>2]=85102;j[c+4>>2]=0;break a}d=j[c+20>>2];q=j[d+52>>2];b=j[d+48>>2];q:{if(q>>>0>>0){b=b+(q^-1)|0;break q}b=j[d+44>>2]-q|0}o=j[a+4>>2];e=j[a>>2];f=j[d+28>>2];g=j[d+32>>2];B=d+20|0;A=d+16|0;r:{while(1){s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{c=j[d>>2];if((c|0)!=2){S:{T:{switch(c|0){case 5:b=j[d+8>>2];break D;case 3:if(f>>>0<=13){break R}l=f;c=e;break K;case 1:if(f>>>0<=31){break S}l=f;c=e;break x;case 8:break A;case 7:break B;case 6:break C;case 9:break P;case 4:break Q;case 0:break T;default:break M}}U:{V:{W:{X:{Y:{if(f>>>0>2){l=f;c=e;break Y}if(!o){break X}o=o-1|0;l=f+8|0;g=k[e|0]<>2]=g&1;switch((g>>>1&3)-1|0){case 2:break U;case 1:break V;case 0:break W;default:break O}}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}e=qe[j[a+32>>2]](j[a+40>>2],1,28)|0;if(!e){j[d+32>>2]=g;j[d+4>>2]=0;j[d+28>>2]=l;break H}j[e+24>>2]=89504;j[e+20>>2]=85408;i[e+16>>1]=1289;j[e>>2]=0;j[d+4>>2]=e;f=l-3|0;g=g>>>3|0;l=6;break N}f=l-3|0;g=g>>>3|0;l=3;break N}j[d>>2]=9;j[a+24>>2]=85139;j[d+28>>2]=l-3;j[d+32>>2]=g>>>3;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break u}if(o){break y}break w}if(!o){j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}if(b){c=q;break z}Z:{if(j[d+44>>2]!=(q|0)){c=q;break Z}c=j[d+40>>2];b=j[d+48>>2];if((c|0)==(b|0)){c=q;break Z}b=b>>>0>c>>>0?b+(c^-1)|0:q-c|0;if(b){break z}}j[d+52>>2]=c;r=Cf(d,a,n);n=j[d+52>>2];l=j[d+48>>2];_:{if(n>>>0>>0){c=j[d+44>>2];b=l+(n^-1)|0;break _}c=j[d+44>>2];b=c-n|0}$:{if((c|0)!=(n|0)){c=n;break $}c=j[d+40>>2];if((l|0)==(c|0)){c=n;break $}b=c>>>0>>0?l+(c^-1)|0:n-c|0}if(b){break z}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=c;w=Cf(d,a,r);break r}if(o){break L}break J}b=j[d+8>>2];if(b>>>0<(j[d+4>>2]>>>10|0)+4>>>0){break F}break E}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break u}e=l-3|0;g=g>>>3>>>(e&7)|0;f=e&-8;l=1}e=c;j[d>>2]=l;continue}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;w=Cf(d,a,-2);break r}aa:{while(1){l=f+8|0;c=e+1|0;o=o-1|0;g=k[e|0]<>>0>=6){break aa}f=l;e=c;if(o){continue}break}n=0;break J}n=0}j[d+4>>2]=g&16383;b=g&31;if(b>>>0<=29){e=g>>>5&31;if(e>>>0<30){break I}}j[d>>2]=9;j[a+24>>2]=85187;j[d+28>>2]=l;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break u}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}b=qe[j[a+32>>2]](j[a+40>>2],(b+e|0)+258|0,4)|0;j[d+12>>2]=b;if(b){break G}j[d+28>>2]=l;j[d+32>>2]=g}j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);j[d+52>>2]=q;w=Cf(d,a,-4);break r}j[d>>2]=4;b=0;j[d+8>>2]=0;f=l-14|0;g=g>>>14|0;e=c}while(1){ba:{if(f>>>0<=2){if(!o){break ba}o=o-1|0;g=k[e|0]<>2]=b+1;j[j[d+12>>2]+(j[(b<<2)+85232>>2]<<2)>>2]=g&7;f=f-3|0;g=g>>>3|0;b=j[d+8>>2];if(b>>>0<(j[d+4>>2]>>>10|0)+4>>>0){continue}break E}break}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}if(b>>>0<19){while(1){j[d+8>>2]=b+1;j[j[d+12>>2]+(j[(b<<2)+85232>>2]<<2)>>2]=0;b=j[d+8>>2];if(b>>>0<19){continue}break}}j[d+16>>2]=7;c=j[d+12>>2];l=j[d+36>>2];j[u+28>>2]=0;ca:{b=qe[j[a+32>>2]](j[a+40>>2],19,4)|0;da:{if(!b){c=-4;break da}s=89760;ea:{fa:{ga:{ha:{ia:{c=lm(c,19,19,0,0,B,A,l,u+28|0,b);switch(c+5|0){case 2:break ga;case 0:break ha;default:break ia}}if(j[A>>2]){break fa}}s=89800}j[a+24>>2]=s;qe[j[a+36>>2]](j[a+40>>2],b);break ea}qe[j[a+36>>2]](j[a+40>>2],b);if(!c){break ca}if((c|0)!=-3){break da}}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=9;c=-3}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;w=Cf(d,a,c);break r}j[d>>2]=5;j[d+8>>2]=0;b=0}l=j[d+4>>2];c=l&31;l=l>>>5&31;p=(c+l|0)+258|0;if(b>>>0

>>0){while(1){ja:{ka:{la:{t=j[A>>2];ma:{if(t>>>0<=f>>>0){c=f;r=e;l=o;break ma}c=f;s=e;l=o;if(!o){break la}na:{while(1){r=s+1|0;l=l-1|0;g=k[s|0]<>>0<=c>>>0){break na}s=r;if(l){continue}break}n=0;break la}n=0}e=j[B>>2]+((j[(t<<2)+85312>>2]&g)<<3)|0;t=k[e+1|0];v=j[e+4>>2];if(v>>>0>15){break ka}j[d+8>>2]=b+1;j[j[d+12>>2]+(b<<2)>>2]=v;f=c-t|0;g=g>>>t|0;b=j[d+8>>2];e=r;o=l;break ja}j[d+32>>2]=g;j[d+28>>2]=(o<<3)+f;j[a+4>>2]=0;b=j[a>>2];c=e+o|0;j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break s}oa:{pa:{C=(v|0)==18;z=C?7:v-14|0;D=z+t|0;qa:{if(D>>>0<=c>>>0){f=c;e=r;o=l;break qa}f=c;s=r;o=l;if(!o){break pa}ra:{while(1){e=s+1|0;o=o-1|0;g=k[s|0]<>>0<=f>>>0){break ra}s=e;if(o){continue}break}n=0;break pa}n=0}f=(f-t|0)-z|0;c=g>>>t|0;g=c>>>z|0;c=(c&j[(z<<2)+85312>>2])+(C?11:3)|0;if((v|0)!=16|b?c+b>>>0<=p>>>0:0){break oa}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=9;j[a+24>>2]=85380;j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break u}j[d+32>>2]=g;j[d+28>>2]=(l<<3)+c;j[a+4>>2]=0;b=j[a>>2];c=l+r|0;j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break s}l=0;l=(v|0)==16?j[(j[d+12>>2]+(b<<2)|0)-4>>2]:l;while(1){j[j[d+12>>2]+(b<<2)>>2]=l;b=b+1|0;c=c-1|0;if(c){continue}break}j[d+8>>2]=b}l=j[d+4>>2];c=l&31;l=l>>>5&31;p=(c+l|0)+258|0;if(p>>>0>b>>>0){continue}break}}j[d+20>>2]=0;j[u+24>>2]=9;j[u+20>>2]=6;r=j[d+36>>2];v=j[d+12>>2];j[u+28>>2]=0;sa:{ta:{ua:{b=qe[j[a+32>>2]](j[a+40>>2],288,4)|0;va:{if(!b){b=-4;break va}t=90092;wa:{xa:{ya:{za:{Aa:{z=c+257|0;s=lm(v,z,257,89840,89968,u+16|0,u+24|0,r,u+28|0,b);switch(s+4|0){case 0:break wa;case 1:break ya;case 4:break Aa;default:break za}}t=j[u+24>>2];if(t){break xa}}t=90127}j[a+24>>2]=t;s=-3;break wa}p=90408;Ba:{Ca:{Da:{Ea:{Fa:{Ga:{s=lm(v+(z<<2)|0,l+1|0,0,90160,90288,u+12|0,u+20|0,r,u+28|0,b);switch(s+5|0){case 1:break Ba;case 2:break Ca;case 0:break Da;case 5:break Ga;default:break Fa}}l=j[u+20>>2];if(l|!c){break Ea}}p=90462;break Ca}qe[j[a+36>>2]](j[a+40>>2],b);break ua}p=90437}j[a+24>>2]=p;s=-3}}qe[j[a+36>>2]](j[a+40>>2],b);b=-4;Ha:{switch(s+3|0){case 3:break ua;case 0:break Ha;default:break va}}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=9;b=-3}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;c=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-c|0);j[d+52>>2]=q;break ta}c=j[u+12>>2];r=j[u+16>>2];b=qe[j[a+32>>2]](j[a+40>>2],1,28)|0;if(b){j[b+24>>2]=c;j[b+20>>2]=r;h[b+17|0]=l;h[b+16|0]=t;j[b>>2]=0;j[d+4>>2]=b;b=n;c=1;break sa}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;b=-4}w=Cf(d,a,b);c=0}if(!c){break r}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=6;n=b}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;p=j[d+4>>2];b=j[d+48>>2];Ia:{if(b>>>0>q>>>0){l=b+(q^-1)|0;break Ia}l=j[d+44>>2]-q|0}b=j[p>>2];Ja:{while(1){Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{$a:{ab:{bb:{cb:{db:{switch(b|0){case 1:t=j[p+12>>2];break cb;case 3:t=j[p+12>>2];break Na;case 5:c=j[p+12>>2];break Oa;case 9:break Ya;case 8:break Za;case 7:break _a;case 6:break $a;case 4:break ab;case 2:break bb;case 0:break db;default:break Xa}}j[p>>2]=1;t=k[p+16|0];j[p+12>>2]=t;j[p+8>>2]=j[p+20>>2]}if(f>>>0>=t>>>0){b=f;s=e;c=o;break Qa}b=f;r=e;c=o;if(c){break Ra}break Ka}v=j[p+8>>2];if(v>>>0<=f>>>0){b=f;break Sa}b=f;r=e;c=o;if(c){break Ta}break Ka}t=j[p+8>>2];if(t>>>0<=f>>>0){b=f;break Ua}b=f;r=e;c=o;if(c){break Va}break Ka}if(l){c=q;break Wa}eb:{if(j[d+44>>2]!=(q|0)){c=q;break eb}c=j[d+40>>2];b=j[d+48>>2];if((c|0)==(b|0)){c=q;break eb}l=b>>>0>c>>>0?b+(c^-1)|0:q-c|0;if(l){break Wa}}j[d+52>>2]=c;r=Cf(d,a,n);b=j[d+52>>2];n=j[d+48>>2];fb:{if(b>>>0>>0){c=j[d+44>>2];l=n+(b^-1)|0;break fb}c=j[d+44>>2];l=c-b|0}gb:{if((b|0)!=(c|0)){c=b;break gb}c=j[d+40>>2];if((n|0)==(c|0)){c=b;break gb}l=c>>>0>>0?n+(c^-1)|0:b-c|0}if(l){break Wa}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=c;b=Cf(d,a,r);break Ja}j[d+52>>2]=q;b=f>>>0>7;e=b?e-1|0:e;f=b?f-8|0:f;o=b+o|0;b=Cf(d,a,n);q=j[d+52>>2];if((q|0)!=j[d+48>>2]){j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;c=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-c|0);b=Cf(d,a,b);break Ja}j[p>>2]=8}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;b=Cf(d,a,1);break Ja}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break Ma}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;b=Cf(d,a,-2);break Ja}h[c|0]=j[p+8>>2];b=0;j[p>>2]=0;l=l-1|0;q=c+1|0;n=0;continue}hb:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break hb}r=s;if(c){continue}break}n=0;break Ka}n=0;e=s;o=c}j[p>>2]=5;c=j[p+12>>2]+(j[(t<<2)+85312>>2]&g)|0;j[p+12>>2]=c;f=b-t|0;g=g>>>t|0;break Oa}ib:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break ib}r=s;if(c){continue}break}n=0;break Ka}n=0;e=s;o=c}j[p>>2]=3;t=k[p+17|0];j[p+12>>2]=t;j[p+8>>2]=j[p+24>>2];j[p+4>>2]=j[p+4>>2]+(j[(v<<2)+85312>>2]&g);f=b-v|0;g=g>>>v|0;break Na}jb:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break jb}r=s;if(c){continue}break}n=0;break Ka}n=0}f=b;b=j[p+8>>2]+((j[(t<<2)+85312>>2]&g)<<3)|0;e=k[b+1|0];f=f-e|0;g=g>>>e|0;e=k[b|0];kb:{if(!e){b=j[b+4>>2];j[p>>2]=6;j[p+8>>2]=b;b=6;break kb}if(e&16){j[p+8>>2]=e&15;b=j[b+4>>2];j[p>>2]=2;j[p+4>>2]=b;b=2;break kb}if(!(e&64)){j[p+12>>2]=e;j[p+8>>2]=b+(j[b+4>>2]<<3);b=1;break kb}if(!(e&32)){break Pa}j[p>>2]=7;b=7}e=s;o=c;continue}j[p>>2]=9;j[a+24>>2]=90495;j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=c;b=j[a>>2];j[a>>2]=s;j[a+8>>2]=j[a+8>>2]+(s-b|0);break Ma}b=q-c|0;c=j[d+40>>2];if(b>>>0>>0){r=j[d+44>>2]-c|0;while(1){b=b+r|0;if(c>>>0>b>>>0){continue}break}}if(j[p+4>>2]){while(1){lb:{if(l){c=q;break lb}mb:{if(j[d+44>>2]!=(q|0)){c=q;break mb}c=j[d+40>>2];l=j[d+48>>2];if((c|0)==(l|0)){c=q;break mb}l=c>>>0>>0?l+(c^-1)|0:q-c|0;if(l){break lb}}j[d+52>>2]=c;s=Cf(d,a,n);n=j[d+52>>2];r=j[d+48>>2];nb:{if(n>>>0>>0){c=j[d+44>>2];l=r+(n^-1)|0;break nb}c=j[d+44>>2];l=c-n|0}ob:{if((c|0)!=(n|0)){c=n;break ob}c=j[d+40>>2];if((r|0)==(c|0)){c=n;break ob}l=c>>>0>>0?r+(c^-1)|0:n-c|0}if(l){break lb}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=c;b=Cf(d,a,s);break Ja}h[c|0]=k[b|0];b=b+1|0;if((b|0)==j[d+44>>2]){b=j[d+40>>2]}l=l-1|0;q=c+1|0;c=j[p+4>>2]-1|0;j[p+4>>2]=c;n=0;if(c){continue}break}}b=0;j[p>>2]=0;continue}pb:{if(f>>>0>=t>>>0){b=f;s=e;c=o;break pb}b=f;r=e;c=o;if(!c){break Ka}qb:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break qb}r=s;if(c){continue}break}n=0;break Ka}n=0}f=b;r=j[p+8>>2];o=j[(t<<2)+85312>>2]&g;e=r+(o<<3)|0;b=k[e+1|0];f=f-b|0;g=g>>>b|0;b=k[e|0];if(b&16){j[p+8>>2]=b&15;e=j[e+4>>2];b=4;j[p>>2]=4;j[p+12>>2]=e;break La}if(!(b&64)){j[p+12>>2]=b;b=3;j[p+8>>2]=e+(j[(r+(o<<3)|0)+4>>2]<<3);break La}j[p>>2]=9;j[a+24>>2]=90523;j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=c;b=j[a>>2];j[a>>2]=s;j[a+8>>2]=j[a+8>>2]+(s-b|0)}j[d+52>>2]=q;b=Cf(d,a,-3);break Ja}e=s;o=c;continue}break}j[d+32>>2]=g;j[d+28>>2]=(o<<3)+f;j[a+4>>2]=0;b=j[a>>2];c=e+o|0;j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);j[d+52>>2]=q;b=Cf(d,a,n)}if((b|0)!=1){w=Cf(d,a,b);break r}qe[j[a+36>>2]](j[a+40>>2],j[d+4>>2]);q=j[d+52>>2];b=j[d+48>>2];rb:{if(q>>>0>>0){b=b+(q^-1)|0;break rb}b=j[d+44>>2]-q|0}f=j[d+28>>2];g=j[d+32>>2];o=j[a+4>>2];e=j[a>>2];if(!j[d+24>>2]){n=0;j[d>>2]=0;continue}j[d>>2]=7;n=0}j[d+52>>2]=q;b=Cf(d,a,n);q=j[d+52>>2];if((q|0)!=j[d+48>>2]){j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;c=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-c|0);w=Cf(d,a,b);break r}j[d>>2]=8}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;w=Cf(d,a,1);break r}n=c;c=j[d+4>>2];c=c>>>0>o>>>0?o:c;c=b>>>0>>0?b:c;n=Ae(n,e,c);l=j[d+4>>2]-c|0;j[d+4>>2]=l;b=b-c|0;q=c+n|0;o=o-c|0;e=c+e|0;n=0;if(l){continue}j[d>>2]=j[d+24>>2]?7:0;continue}sb:{while(1){l=f+8|0;c=e+1|0;o=o-1|0;g=k[e|0]<>>0>=24){break sb}f=l;e=c;if(o){continue}break}n=0;break w}n=0}e=(g^-1)>>>16|0;if((e|0)==(g&65535)){break v}j[d>>2]=9;j[a+24>>2]=85158;j[d+28>>2]=l;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break u}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}j[d+4>>2]=e;if(e){g=0;l=2;break t}g=0;l=j[d+24>>2]?7:0;break t}j[d+52>>2]=q;w=Cf(d,a,-3);break r}f=0;e=c;j[d>>2]=l;continue}break}j[d+52>>2]=q;w=Cf(d,a,n)}b=x;tb:{switch(w+3|0){case 0:b=j[a+28>>2];j[b>>2]=13;j[b+4>>2]=0;n=-3;c=j[a+28>>2];continue;case 4:break tb;case 3:break e;default:break d}}b=j[a+28>>2];c=j[b+20>>2];j[b+4>>2]=j[c+60>>2];b=j[c>>2];if((b&-2)==4){qe[j[a+36>>2]](j[a+40>>2],j[c+12>>2]);b=j[c>>2]}if((b|0)==6){qe[j[a+36>>2]](j[a+40>>2],j[c+4>>2])}j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;b=j[c+40>>2];j[c+52>>2]=b;j[c+48>>2]=b;b=j[c+56>>2];if(b){b=qe[b|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b}c=j[a+28>>2];if(j[c+12>>2]){j[c>>2]=12;break b}j[c>>2]=8;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=k[b|0]<<24;c=j[a+28>>2];j[c>>2]=9;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<16);c=j[a+28>>2];j[c>>2]=10;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<8);c=j[a+28>>2];j[c>>2]=11;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+k[b|0];b=j[a+28>>2];if(j[b+4>>2]!=j[b+8>>2]){j[b>>2]=13;j[a+24>>2]=85118;j[b+4>>2]=5;break b}j[b>>2]=12;y=1;break a}y=b;break a}y=w;break a}j[c+4>>2]=5}c=j[a+28>>2];n=x;continue}}oe=u+32|0;return y}function Ox(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=j[a+36>>2];i=j[a+20>>2];s=j[a+16>>2];e=j[a>>2];p=j[a+28>>2];d=j[a+24>>2];b=j[a+40>>2];m=k[b+9|0];n=j[a+48>>2];a:{if(n){if(!p){break a}t=d&7;c=(d+7|0)/8|0;o=m-1|0;while(1){q=c;b:{c:{switch(t-1|0){default:a=7;break b;case 0:a=6;break b;case 1:a=5;break b;case 2:a=4;break b;case 3:a=3;break b;case 4:a=2;break b;case 5:a=1;break b;case 6:break c}}a=0}while(1){d:{e:{switch(a|0){case 0:a=0;g=0;d=0;f:{g:{h:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break g;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break g;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break g;case 3:break h;default:break f}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=1;continue;case 1:a=0;g=0;d=0;i:{j:{k:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break j;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break j;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break j;case 3:break k;default:break i}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=2;continue;case 2:a=0;g=0;d=0;l:{m:{n:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break m;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break m;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break m;case 3:break n;default:break l}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=3;continue;case 3:a=0;g=0;d=0;o:{p:{q:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break p;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break p;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break p;case 3:break q;default:break o}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=4;continue;case 4:a=0;g=0;d=0;r:{s:{t:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break s;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break s;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break s;case 3:break t;default:break r}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=5;continue;case 5:a=0;g=0;d=0;u:{v:{w:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break v;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break v;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break v;case 3:break w;default:break u}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=6;continue;case 6:a=0;g=0;d=0;x:{y:{z:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break y;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break y;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break y;case 3:break z;default:break x}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}f=p-1|0;h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;if((q|0)<=1){break d}q=q-1|0;a=7;continue;default:break e}}g=0;d=0;a=0;A:{B:{C:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;break B;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;break B;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+32|0]>>>3|0)+e|0;d=(k[b+33|0]>>>3|0)+e|0;break B;case 3:break C;default:break A}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0}a=k[a|0];g=k[g|0];d=k[d|0]}h[i|0]=k[n+(d>>>3&28|g&224|(a&192)>>>6)|0];e=e+m|0;i=i+1|0;a=0;continue}break}i=i+r|0;e=e+s|0;p=f;if(f){continue}break}break a}if(!p){break a}o=d&7;q=(d+7|0)/8|0;n=m-1|0;while(1){d=q;D:{E:{switch(o-1|0){default:a=7;break D;case 0:a=6;break D;case 1:a=5;break D;case 2:a=4;break D;case 3:a=3;break D;case 4:a=2;break D;case 5:a=1;break D;case 6:break E}}a=0}while(1){F:{G:{switch(a|0){case 0:a=0;f=0;g=0;H:{I:{J:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break I;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break I;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break I;case 3:break J;default:break H}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=1;continue;case 1:a=0;f=0;g=0;K:{L:{M:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break L;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break L;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break L;case 3:break M;default:break K}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=2;continue;case 2:a=0;f=0;g=0;N:{O:{P:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break O;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break O;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break O;case 3:break P;default:break N}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=3;continue;case 3:a=0;f=0;g=0;Q:{R:{S:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break R;case 3:break S;default:break Q}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=4;continue;case 4:a=0;f=0;g=0;T:{U:{V:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break U;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break U;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break U;case 3:break V;default:break T}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=5;continue;case 5:a=0;f=0;g=0;W:{X:{Y:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break X;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break X;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break X;case 3:break Y;default:break W}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=6;continue;case 6:a=0;f=0;g=0;Z:{_:{$:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break _;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break _;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break _;case 3:break $;default:break Z}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}c=p-1|0;h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;if((d|0)<=1){break F}d=d-1|0;a=7;continue;default:break G}}f=0;g=0;a=0;aa:{ba:{ca:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break ba;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break ba;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break ba;case 3:break ca;default:break aa}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}a=k[a|0];f=k[c|0];g=k[g|0]}h[i|0]=g>>>3&28|f&224|(a&192)>>>6;e=e+m|0;i=i+1|0;a=0;continue}break}i=i+r|0;e=e+s|0;p=c;if(c){continue}break}}}function ly(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;a:{w=j[a+28>>2];if(!w){break a}m=k[a+63|0];u=j[a+56>>2];y=j[a+36>>2];z=j[a+16>>2];v=j[j[j[a+40>>2]+4>>2]+4>>2];b=j[a+44>>2];g=b;d=j[a+24>>2];A=d&7;B=(d+7|0)/8|0;r=j[a>>2];a=j[a+20>>2];t=k[b+9|0];s=t-1|0;b:while(1){x=B;c:{d:{switch(A-1|0){default:d=0;break c;case 0:d=7;break c;case 1:d=6;break c;case 2:d=5;break c;case 3:d=4;break c;case 4:d=3;break c;case 5:d=2;break c;case 6:break d}}d=1}while(1){e:{switch(d|0){case 0:d=k[r|0];f:{if((d|0)==(u|0)){break f}d=(d<<2)+v|0;n=k[d+2|0];o=k[d+1|0];q=k[d|0];d=0;e=0;f=0;c=0;g:{h:{switch(s|0){case 0:c=k[a|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break g;case 3:break h;default:break g}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;i:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break f;case 3:break i;default:break f}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break k;case 3:break l;default:break k}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;m:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break j;case 3:break m;default:break j}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break o;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break o;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break o;case 3:break p;default:break o}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;q:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break n;case 3:break q;default:break n}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break s;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break s;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break s;case 3:break t;default:break s}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;u:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break r;case 3:break u;default:break r}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break w;case 3:break x;default:break w}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;y:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break v;case 3:break y;default:break v}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break A;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break A;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break A;case 3:break B;default:break A}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;C:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break z;case 3:break C;default:break z}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break E;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break E;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break E;case 3:break F;default:break E}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;G:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break D;case 3:break G;default:break D}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break I;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break I;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break I;case 3:break J;default:break I}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;K:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break H;case 3:break K;default:break H}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<1){x=x-1|0;break L}a=a+y|0;r=r+z|0;w=d;if(d){continue b}break a}d=0;continue}}}}function ol(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0;l=oe-288|0;oe=l;a:{if(!a){j[l>>2]=23639;i=ve(23613,l);break a}Oe(a,0,84);b:{c:{d:{e:{if((b|0)<=33055){i=b-32776|0;if(i>>>0<=24){break e}break d}f:{switch(b-36880|0){case 0:case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break c;default:break f}}if((b|0)==33056|(b|0)==37152){break b}break c}if(1<>>0<=24){break k}break j}l:{switch(e-36880|0){case 0:case 16:break h;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break i;default:break l}}if((e|0)==33056|(e|0)==37152){break h}break i}if(1<>>0<=8:0)){i=ve(23692,0);break a}if(!(1<>>0<=8:0)){i=ve(23716,0);break a}if((d|0)<=0){i=ve(23745,0);break a}if((g|0)<=0){i=ve(23787,0);break a}if((d|0)>=4194303){i=ve(23834,0);break a}if((g|0)>=4194303){i=ve(23858,0);break a}h[a+6|0]=e;h[a+7|0]=e>>>8;h[a+4|0]=b;h[a+5|0]=b>>>8;h[a+80|0]=0;h[a+81|0]=0;h[a+82|0]=0;h[a+83|0]=0;h[a|0]=0;h[a+1|0]=0;h[a+2|0]=0;h[a+3|0]=0;Oe(a+40|0,0,40);h[a+32|0]=0;h[a+33|0]=0;h[a+34|0]=0;h[a+35|0]=0;h[a+36|0]=0;h[a+37|0]=0;h[a+38|0]=240;h[a+39|0]=63;h[a+28|0]=1;h[a+29|0]=0;h[a+30|0]=0;h[a+31|0]=0;s=+(g|0);t=+(d|0);q=s/t;rP(+q);i=oP(1)|0;m=oP(0)|0;h[a+8|0]=m;h[a+9|0]=m>>>8;h[a+10|0]=m>>>16;h[a+11|0]=m>>>24;h[a+12|0]=i;h[a+13|0]=i>>>8;h[a+14|0]=i>>>16;h[a+15|0]=i>>>24;WB();n:{o:{p:{q:{if((c|0)!=(f|0)|(d|0)!=(g|0)){break q}i=0;if((b|0)==(e|0)){break a}if((b^e)&61439){break q}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;d=a+40|0;c=d+(c<<2)|0;h[c|0]=121;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=d+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break n}j[l+16>>2]=9;if((ve(23994,l+16|0)|0)>=0){break n}break p}r:{if(!(b&4096)){break r}m=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((m|0)<=8){i=m+1|0;h[a+80|0]=i;h[a+81|0]=i>>>8;h[a+82|0]=i>>>16;h[a+83|0]=i>>>24;n=a+40|0;m=n+(m<<2)|0;h[m|0]=121;h[m+1|0]=0;h[m+2|0]=0;h[m+3|0]=0;i=n+(i<<2)|0;h[i|0]=0;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;break r}j[l+272>>2]=9;if((ve(23994,l+272|0)|0)<0){break p}}s:{if(b&256){break s}i=264372;t:{u:{v:{w:{x:{y:{m=b&61439;switch(m-32776|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:break t;case 0:break u;case 24:break v;case 8:break x;default:break y}}z:{switch(m-8|0){case 8:break w;case 0:break z;default:break t}}i=264376;break u}i=264380;break u}i=264384;break u}i=264388}i=j[i>>2];if(!i){break t}n=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);A:{if((n|0)<=8){m=n+1|0;h[a+80|0]=m;h[a+81|0]=m>>>8;h[a+82|0]=m>>>16;h[a+83|0]=m>>>24;u=a+40|0;n=u+(n<<2)|0;h[n|0]=i;h[n+1|0]=i>>>8;h[n+2|0]=i>>>16;h[n+3|0]=i>>>24;i=(m<<2)+u|0;h[i|0]=0;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;break A}j[l+256>>2]=9;if((ve(23994,l+256|0)|0)<0){break p}}i=b&255;if(i>>>0<=31){i=32/((b&255)>>>0)|0;b=p(i,k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24));h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()*+(i>>>0)));b=oP(1)|0;i=oP(0)|0;h[a+32|0]=i;h[a+33|0]=i>>>8;h[a+34|0]=i>>>16;h[a+35|0]=i>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;break s}if((i|0)==32){break s}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()/+(i>>>5>>>0)));b=oP(1)|0;i=oP(0)|0;h[a+32|0]=i;h[a+33|0]=i>>>8;h[a+34|0]=i>>>16;h[a+35|0]=i>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;break s}if((ve(24057,0)|0)<0){break p}}B:{C:{D:{if(c>>>0>>0){if((c|0)!=1|f>>>0<2){break C}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=122;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break D}j[l+160>>2]=9;if((ve(23994,l+160|0)|0)>=0){break D}break p}if(c>>>0<=f>>>0){break B}if(!((c|0)!=8|f>>>0>6)){c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);E:{if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=123;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break E}j[l+240>>2]=9;if((ve(23994,l+240|0)|0)<0){break p}}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()*.75));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=6}b=a;n=a;F:{G:{H:{I:{J:{if(!((c|0)==6?f>>>0<=2:0)){if((f|0)!=4){break H}if((c|0)==6){break J}break H}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=124;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break I}j[l+192>>2]=9;if((ve(23994,l+192|0)|0)>=0){break I}break p}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);K:{if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=125;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break K}j[l+224>>2]=9;if((ve(23994,l+224|0)|0)<0){break p}}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,c|0);o=+qP();rP(+((o+o)/3));c=oP(1)|0;i=oP(0)|0;h[a+32|0]=i;h[a+33|0]=i>>>8;h[a+34|0]=i>>>16;h[a+35|0]=i>>>24;h[a+36|0]=c;h[a+37|0]=c>>>8;h[a+38|0]=c>>>16;h[a+39|0]=c>>>24;c=4;break H}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,c|0);o=+qP()/3;break G}if((c|0)!=4|f>>>0>2){break F}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);L:{if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=126;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break L}j[l+208>>2]=9;if((ve(23994,l+208|0)|0)<0){break p}}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,c|0);o=+qP()*.5}rP(+o);c=oP(1)|0;i=oP(0)|0;h[n+32|0]=i;h[b+33|0]=i>>>8;h[b+34|0]=i>>>16;h[b+35|0]=i>>>24;h[b+36|0]=c;h[b+37|0]=c>>>8;h[b+38|0]=c>>>16;h[b+39|0]=c>>>24;c=2}if((f|0)!=1|(c|0)!=2){break B}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);M:{if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=127;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break M}j[l+176>>2]=9;if((ve(23994,l+176|0)|0)<0){break p}}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()*.5));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=1;break B}b=(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24))<<1;h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);o=+qP();rP(+(o+o));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=2}b=a;n=a;N:{O:{P:{Q:{i=f>>>0<6;if(!((c|0)==2?!i:0)){if(i){break N}if((c|0)==4){break Q}break N}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=128;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break P}j[l+128>>2]=9;if((ve(23994,l+128|0)|0)>=0){break P}break p}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);R:{if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=129;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break R}j[l+144>>2]=9;if((ve(23994,l+144|0)|0)<0){break p}}o=1.5;c=(p(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24),3)+1|0)/2|0;break O}o=3;c=p(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24),3)}h[n+28|0]=c;h[b+29|0]=c>>>8;h[b+30|0]=c>>>16;h[b+31|0]=c>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()*o));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=6}S:{T:{U:{if(!((c|0)==6?(f|0)==8:0)){if((f|0)!=4|(c|0)!=2){break B}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)>8){break U}b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=130;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break S}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=131;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break T}j[l+96>>2]=9;if((ve(23994,l+96|0)|0)>=0){break T}break p}j[l+112>>2]=9;if((ve(23994,l+112|0)|0)>=0){break S}break p}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()*4/3));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;b=((k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24))<<2|2)/3|0;h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;c=8;break B}b=(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24))<<1;h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);o=+qP();rP(+(o+o));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=4}if((c|0)!=(f|0)){i=ve(23887,0);break a}V:{if((d|0)==(g|0)){break V}f=f-1|0;b=f&255;W:{if(!(b>>>0>=8|!(171>>>b&1))){i=-1;if((zo()|0)<0){break a}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);X:{if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;f=j[(f<<24>>24<<2)+24208>>2];h[c|0]=f;h[c+1|0]=f>>>8;h[c+2|0]=f>>>16;h[c+3|0]=f>>>24;c=i+(b<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break X}j[l+80>>2]=9;if((ve(23994,l+80|0)|0)<0){break a}b=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24)}if((b|0)>=7){j[l+64>>2]=7;b=ve(23994,l- -64|0);break W}h[a+76|0]=g;h[a+77|0]=g>>>8;h[a+78|0]=g>>>16;h[a+79|0]=g>>>24;h[a+72|0]=d;h[a+73|0]=d>>>8;h[a+74|0]=d>>>16;h[a+75|0]=d>>>24;b=a;f=a;Y:{if((d|0)<(g|0)){c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,c|0);rP(+(q*+qP()));c=oP(1)|0;d=oP(0)|0;h[a+32|0]=d;h[a+33|0]=d>>>8;h[a+34|0]=d>>>16;h[a+35|0]=d>>>24;h[a+36|0]=c;h[a+37|0]=c>>>8;h[a+38|0]=c>>>16;h[a+39|0]=c>>>24;q=w(q);Z:{if(r(q)<2147483648){c=~~q;break Z}c=-2147483648}c=p(c,k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24));break Y}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,c|0);rP(+(+qP()/(t/s)));c=oP(1)|0;d=oP(0)|0;h[a+32|0]=d;h[a+33|0]=d>>>8;h[a+34|0]=d>>>16;h[a+35|0]=d>>>24;h[a+36|0]=c;h[a+37|0]=c>>>8;h[a+38|0]=c>>>16;h[a+39|0]=c>>>24;c=k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24)}c=c<<1;h[f+28|0]=c;h[b+29|0]=c>>>8;h[b+30|0]=c>>>16;h[b+31|0]=c>>>24;break V}b=ve(24109,0)}if((b|0)<0){break p}}_:{$:{if(e&256){break $}b=264392;aa:{ba:{ca:{da:{ea:{c=e&61439;switch(c-32776|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:break _;case 0:break aa;case 24:break ba;case 8:break da;default:break ea}}fa:{switch(c-8|0){case 8:break ca;case 0:break fa;default:break _}}b=264396;break aa}b=264400;break aa}b=264404;break aa}b=264408}b=j[b>>2];if(!b){break _}d=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);ga:{if((d|0)<=8){c=d+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;f=a+40|0;d=f+(d<<2)|0;h[d|0]=b;h[d+1|0]=b>>>8;h[d+2|0]=b>>>16;h[d+3|0]=b>>>24;b=f+(c<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break ga}j[l+48>>2]=9;if((ve(23994,l+48|0)|0)<0){break p}}b=e&255;if(b>>>0>=33){c=b>>>5|0;b=p(c,k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24));h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()*+(c>>>0)));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;break $}if((b|0)==32){break $}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()/+(32/((e&255)>>>0)>>>0)));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24}if(!(e&4096)){break o}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;d=a+40|0;c=d+(c<<2)|0;h[c|0]=121;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=d+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break o}j[l+32>>2]=9;if((ve(23994,l+32|0)|0)>=0){break o}break p}if((ve(24149,0)|0)>=0){break o}}i=-1;break a}i=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))!=0;h[a|0]=i;h[a+1|0]=i>>>8;h[a+2|0]=i>>>16;h[a+3|0]=i>>>24;break a}i=1;h[a|0]=1;h[a+1|0]=0;h[a+2|0]=0;h[a+3|0]=0}oe=l+288|0;return i}function ui(a,b){var c=0,d=0,e=0,f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;v=oe-16|0;oe=v;C=-2;a:{if(!a){break a}c=j[a+28>>2];if(!c){break a}w=j[a+12>>2];if(!w){break a}n=j[a>>2];if(j[a+4>>2]?!n:0){break a}e=j[c>>2];if((e|0)==11){j[c>>2]=12;e=12}K=b-5|0;L=c+88|0;E=c+752|0;H=c+112|0;I=c+84|0;F=c+108|0;D=c+1328|0;f=j[c+60>>2];g=j[c+56>>2];J=j[a+4>>2];o=J;u=j[a+16>>2];B=u;b:{c:{d:while(1){e:{d=-3;q=1;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{switch(e|0){case 23:q=j[c+72>>2];break x;case 21:q=j[c+72>>2];break z;case 18:q=j[c+104>>2];break N;case 0:e=j[c+8>>2];if(!e){break H}if(f>>>0<16){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<8;f=f+8|0;n=n+1|0;if(d){continue}break}}if(!(!(e&2)|(g|0)!=35615)){g=0;d=Sf(0,0,0);j[c+24>>2]=d;h[v+12|0]=31;h[v+13|0]=139;d=Sf(d,v+12|0,2);j[c>>2]=1;j[c+24>>2]=d;f=0;e=j[c>>2];continue}j[c+16>>2]=0;d=j[c+32>>2];if(d){j[d+48>>2]=-1}if(!(((g<<8&65280)+(g>>>8|0)>>>0)%31|0?0:e&1)){j[a+24>>2]=17318;j[c>>2]=29;e=j[c>>2];continue}if((g&15)!=8){j[a+24>>2]=17341;j[c>>2]=29;e=j[c>>2];continue}d=g>>>4|0;p=d&15;q=p+8|0;e=j[c+36>>2];if(!e){j[c+36>>2]=q;break f}if(e>>>0>=q>>>0){break f}f=f-4|0;j[a+24>>2]=17368;j[c>>2]=29;g=d;e=j[c>>2];continue;case 1:if(f>>>0<16){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<8;f=f+8|0;n=n+1|0;if(d){continue}break}}j[c+16>>2]=g;if((g&255)!=8){j[a+24>>2]=17341;j[c>>2]=29;e=j[c>>2];continue}if(g&57344){j[a+24>>2]=17388;j[c>>2]=29;e=j[c>>2];continue}d=j[c+32>>2];if(d){j[d>>2]=g>>>8&1}if(g&512){h[v+12|0]=g;h[v+13|0]=g>>>8;M=c,N=Sf(j[c+24>>2],v+12|0,2),j[M+24>>2]=N}j[c>>2]=2;f=0;g=0;break ea;case 28:break h;case 8:break k;case 7:break l;case 6:break m;case 5:break n;case 24:break w;case 22:break y;case 27:break I;case 26:break J;case 25:break K;case 30:break b;case 20:break L;case 19:break M;case 17:break Q;case 16:break R;case 15:break S;case 14:break T;case 13:break U;case 29:break c;case 12:break V;case 11:break W;case 10:break X;case 9:break Y;case 4:break $;case 3:break ca;case 2:break fa;default:break a}}if(f>>>0>31){break da}}e=n;while(1){if(!o){o=0;n=e;d=y;break c}o=o-1|0;g=(k[e|0]<>>0<24;f=f+8|0;n=e+1|0;e=n;if(d){continue}break}}d=j[c+32>>2];if(d){j[d+4>>2]=g}if(k[c+17|0]&2){h[v+12|0]=g;h[v+13|0]=g>>>8;h[v+14|0]=g>>>16;h[v+15|0]=g>>>24;M=c,N=Sf(j[c+24>>2],v+12|0,4),j[M+24>>2]=N}j[c>>2]=3;f=0;g=0;break ba}if(f>>>0>15){break aa}}e=n;while(1){if(!o){o=0;n=e;d=y;break c}o=o-1|0;g=(k[e|0]<>>0<8;f=f+8|0;n=e+1|0;e=n;if(d){continue}break}}d=j[c+32>>2];if(d){j[d+12>>2]=g>>>8;j[d+8>>2]=g&255}if(k[c+17|0]&2){h[v+12|0]=g;h[v+13|0]=g>>>8;M=c,N=Sf(j[c+24>>2],v+12|0,2),j[M+24>>2]=N}j[c>>2]=4;e=0;f=0;g=0;q=j[c+16>>2];if(q&1024){break _}break p}q=j[c+16>>2];if(!(q&1024)){e=f;break p}e=g;if(f>>>0>15){break Z}}while(1){if(!o){o=0;g=e;d=y;break c}o=o-1|0;e=(k[n|0]<>>0<8;f=f+8|0;d=n+1|0;n=d;if(p){continue}break}n=d;g=e}j[c+64>>2]=g;d=j[c+32>>2];if(d){j[d+20>>2]=g}f=0;if(q&512){h[v+12|0]=g;h[v+13|0]=g>>>8;M=c,N=Sf(j[c+24>>2],v+12|0,2),j[M+24>>2]=N}g=0;break o}if(f>>>0<32){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}d=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);j[c+24>>2]=d;j[a+48>>2]=d;j[c>>2]=10;g=0;f=0}if(!j[c+12>>2]){j[a+16>>2]=u;j[a+12>>2]=w;j[a+4>>2]=o;j[a>>2]=n;j[c+60>>2]=f;j[c+56>>2]=g;C=2;break a}d=wi(0,0,0);j[c+24>>2]=d;j[a+48>>2]=d;j[c>>2]=11}if(K>>>0<2){break i}}ga:{ha:{if(!j[c+4>>2]){d=f;if(f>>>0>2){break ga}if(o){break ha}break j}j[c>>2]=26;g=g>>>(f&7)|0;f=f&-8;e=j[c>>2];continue}o=o-1|0;g=(k[n|0]<>2]=g&1;f=13;ia:{ja:{ka:{switch((g>>>1&3)-1|0){case 0:j[c+76>>2]=17792;j[c+84>>2]=9;j[c+88>>2]=5;j[c+80>>2]=19840;j[c>>2]=19;if((b|0)!=6){break ia}f=d-3|0;g=g>>>3|0;d=y;break c;case 1:f=16;break ja;case 2:break ka;default:break ja}}j[a+24>>2]=17433;f=29}j[c>>2]=f}f=d-3|0;g=g>>>3|0;e=j[c>>2];continue}g=g>>>(f&7)|0;f=f&-8;if(f>>>0<=31){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}d=g&65535;if((d|0)!=((g^-1)>>>16|0)){j[a+24>>2]=17452;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=14;j[c+64>>2]=d;g=0;f=0;if((b|0)!=6){break T}break i}j[c>>2]=15}d=j[c+64>>2];if(d){d=d>>>0>o>>>0?o:d;e=d>>>0>u>>>0?u:d;if(!e){break i}d=Ae(w,n,e);j[c+64>>2]=j[c+64>>2]-e;w=e+d|0;u=u-e|0;n=e+n|0;o=o-e|0;e=j[c>>2];continue}j[c>>2]=11;e=j[c>>2];continue}if(f>>>0<14){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<6;f=f+8|0;n=n+1|0;if(d){continue}break}}e=g&31;j[c+96>>2]=e+257;d=g>>>5&31;j[c+100>>2]=d+1;p=(g>>>10&15)+4|0;j[c+92>>2]=p;f=f-14|0;g=g>>>14|0;if(!(d>>>0<30?e>>>0<=29:0)){j[a+24>>2]=17481;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=17;e=0;j[c+104>>2]=0;break P}e=j[c+104>>2];p=j[c+92>>2];if(e>>>0>=p>>>0){break O}}d=e;while(1){if(f>>>0<=2){if(!o){break e}o=o-1|0;g=(k[n|0]<>2]=e;i[((l[(d<<1)+17280>>1]<<1)+c|0)+112>>1]=g&7;f=f-3|0;g=g>>>3|0;d=e;if(d>>>0

>>0){continue}break}}if(e>>>0<19){while(1){i[((l[(e<<1)+17280>>1]<<1)+c|0)+112>>1]=0;e=e+1|0;if((e|0)!=19){continue}break}j[c+104>>2]=19}j[c+84>>2]=7;j[c+76>>2]=D;j[c+108>>2]=D;q=0;y=Hl(0,H,19,F,I,E);if(y){j[a+24>>2]=17517;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=18;j[c+104>>2]=0;y=0}z=j[c+96>>2];t=z+j[c+100>>2]|0;if(t>>>0>q>>>0){x=-1<>2]^-1;G=j[c+76>>2];while(1){r=f;e=o;d=n;A=g&x;s=k[((A<<2)+G|0)+1|0];la:{if(s>>>0<=f>>>0){p=f;break la}while(1){if(!e){break G}s=k[d|0]<>>0>p>>>0){continue}break}}f=l[((A<<2)+G|0)+2>>1];ma:{if(f>>>0<=15){n=q+1|0;j[c+104>>2]=n;i[((q<<1)+c|0)+112>>1]=f;f=p-s|0;g=g>>>s|0;q=n;break ma}na:{oa:{pa:{switch(f-16|0){case 0:n=s+2|0;if(n>>>0>p>>>0){while(1){if(!e){break q}e=e-1|0;g=(k[d|0]<>>0>p>>>0){continue}break}}f=p-s|0;p=g>>>s|0;if(!q){j[a+24>>2]=17542;j[c>>2]=29;n=d;o=e;g=p;e=j[c>>2];continue d}f=f-2|0;g=p>>>2|0;o=(p&3)+3|0;n=l[((q<<1)+c|0)+110>>1];break na;case 1:n=s+3|0;if(n>>>0>p>>>0){while(1){if(!e){break q}e=e-1|0;g=(k[d|0]<>>0>p>>>0){continue}break}}n=g>>>s|0;g=n>>>3|0;o=(n&7)+3|0;f=(p-s|0)-3|0;break oa;default:break pa}}n=s+7|0;if(n>>>0>p>>>0){while(1){if(!e){break q}e=e-1|0;g=(k[d|0]<>>0>p>>>0){continue}break}}n=g>>>s|0;g=n>>>7|0;o=(n&127)+11|0;f=(p-s|0)-7|0}n=0}if(t>>>0>>0){j[a+24>>2]=17542;j[c>>2]=29;n=d;o=e;e=j[c>>2];continue d}while(1){i[((q<<1)+c|0)+112>>1]=n;q=q+1|0;o=o-1|0;if(o){continue}break}j[c+104>>2]=q}n=d;o=e;if(q>>>0>>0){continue}break}}if(!l[c+624>>1]){j[a+24>>2]=17568;j[c>>2]=29;e=j[c>>2];continue}j[c+84>>2]=9;j[c+76>>2]=D;j[c+108>>2]=D;y=Hl(1,H,z,F,I,E);if(y){j[a+24>>2]=17605;j[c>>2]=29;e=j[c>>2];continue}j[c+88>>2]=6;j[c+80>>2]=j[c+108>>2];y=Hl(2,((j[c+96>>2]<<1)+c|0)+112|0,j[c+100>>2],F,L,E);if(y){j[a+24>>2]=17633;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=19;y=0;q=0;if((b|0)==6){break h}}j[c>>2]=20}if(!(u>>>0<258|o>>>0<6)){j[a+16>>2]=u;j[a+12>>2]=w;j[a+4>>2]=o;j[a>>2]=n;j[c+60>>2]=f;j[c+56>>2]=g;$F(a,B);f=j[c+60>>2];g=j[c+56>>2];o=j[a+4>>2];n=j[a>>2];u=j[a+16>>2];w=j[a+12>>2];if(j[c>>2]!=11){break v}j[c+7108>>2]=-1;e=j[c>>2];continue}j[c+7108>>2]=0;q=f;e=o;d=n;x=j[c+76>>2];z=-1<>2]^-1;s=z&g;r=k[(x+(s<<2)|0)+1|0];qa:{if(r>>>0<=f>>>0){p=f;break qa}while(1){if(!e){break E}r=k[d|0]<>>0>p>>>0){continue}break}}f=r;n=x+(s<<2)|0;A=l[n+2>>1];t=k[n|0];if(!t|t&240){break B}o=e;n=d;q=p;z=-1<>>f|0)+A|0;r=k[(x+(t<<2)|0)+1|0];ra:{if(p>>>0>=r+f>>>0){s=p;break ra}while(1){if(!o){break F}r=k[n|0]<>>f|0)+A|0;r=k[(x+(t<<2)|0)+1|0];if(q>>>0>>0){continue}break}}d=x+(t<<2)|0;t=k[d|0];A=l[d+2>>1];j[c+7108>>2]=f;p=s-f|0;g=g>>>f|0;break A}if(!u){break i}h[w|0]=j[c+64>>2];j[c>>2]=20;u=u-1|0;w=w+1|0;e=j[c>>2];continue}if(j[c+8>>2]){if(f>>>0<=31){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}q=B-u|0;j[a+20>>2]=q+j[a+20>>2];j[c+28>>2]=q+j[c+28>>2];sa:{if(!q){e=j[c+24>>2];break sa}p=w-q|0;e=j[c+24>>2];d=c;ta:{if(j[c+16>>2]){e=Sf(e,p,q);break ta}e=wi(e,p,q)}j[d+24>>2]=e;j[a+48>>2]=e}if(((j[c+16>>2]?g:g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))|0)!=(e|0)){break D}g=0;B=u;f=0}j[c>>2]=27}if(!(!j[c+8>>2]|!j[c+16>>2])){if(f>>>0<=31){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}if(j[c+28>>2]!=(g|0)){break C}g=0;f=0}j[c>>2]=28;d=1;break c}j[c>>2]=12;break v}n=n+o|0;f=(o<<3)+f|0;break e}n=e+d|0;f=(e<<3)+p|0;break e}n=n+o|0;f=(o<<3)+f|0;break e}j[a+24>>2]=17735;j[c>>2]=29;B=u;e=j[c>>2];continue}j[a+24>>2]=17756;j[c>>2]=29;e=j[c>>2];continue}f=0;n=d;o=e}j[c+64>>2]=A&65535;j[c+7108>>2]=f+r;f=p-r|0;g=g>>>r|0;if(!t){j[c>>2]=25;e=j[c>>2];continue}if(t&32){j[c>>2]=11;j[c+7108>>2]=-1;e=j[c>>2];continue}if(t&64){j[a+24>>2]=17655;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=21;q=t&15;j[c+72>>2]=q}p=n;r=o;ua:{if(!q){d=j[c+64>>2];break ua}d=p;e=f;if(e>>>0>>0){while(1){if(!o){break r}o=o-1|0;g=(k[d|0]<>>0>e>>>0){continue}break}}j[c+7108>>2]=j[c+7108>>2]+q;d=j[c+64>>2]+((-1<>2]=d;f=e-q|0;g=g>>>q|0}j[c>>2]=22;j[c+7112>>2]=d}q=f;e=o;d=n;x=j[c+80>>2];z=-1<>2]^-1;s=z&g;r=k[(x+(s<<2)|0)+1|0];va:{if(r>>>0<=f>>>0){p=f;break va}while(1){if(!e){break s}r=k[d|0]<>>0>p>>>0){continue}break}}n=x+(s<<2)|0;A=l[n+2>>1];t=k[n|0];wa:{if(t&240){f=j[c+7108>>2];n=d;o=e;q=r;break wa}o=e;n=d;f=p;z=-1<>>r|0)+A|0;q=k[(x+(t<<2)|0)+1|0];xa:{if(f>>>0>=r+q>>>0){s=p;break xa}while(1){if(!o){break t}q=k[n|0]<>>r|0)+A|0;q=k[(x+(t<<2)|0)+1|0];if(f>>>0>>0){continue}break}}d=x+(t<<2)|0;t=k[d|0];A=l[d+2>>1];f=j[c+7108>>2]+r|0;j[c+7108>>2]=f;p=s-r|0;g=g>>>r|0}j[c+7108>>2]=f+q;f=p-q|0;g=g>>>q|0;if(t&64){j[a+24>>2]=17683;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=23;q=t&15;j[c+72>>2]=q;j[c+68>>2]=A&65535}p=n;r=o;if(q){d=p;e=f;if(e>>>0>>0){while(1){if(!o){break u}o=o-1|0;g=(k[d|0]<>>0>e>>>0){continue}break}}j[c+7108>>2]=j[c+7108>>2]+q;j[c+68>>2]=j[c+68>>2]+((-1<>>q|0;f=e-q|0}j[c>>2]=24}if(!u){break i}e=j[c+68>>2];d=B-u|0;ya:{if(e>>>0>d>>>0){e=e-d|0;if(!(!j[c+7104>>2]|e>>>0<=m[c+44>>2])){j[a+24>>2]=17705;j[c>>2]=29;e=j[c>>2];continue}d=j[c+48>>2];za:{if(d>>>0>>0){e=e-d|0;q=j[c+40>>2]-e|0;break za}q=d-e|0}p=j[c+64>>2];d=e>>>0>p>>>0?p:e;e=q+j[c+52>>2]|0;break ya}p=j[c+64>>2];d=p;e=w-e|0}q=p;p=d>>>0>u>>>0?u:d;j[c+64>>2]=q-p;d=p;while(1){h[w|0]=k[e|0];w=w+1|0;e=e+1|0;d=d-1|0;if(d){continue}break}u=u-p|0;if(j[c+64>>2]){break v}j[c>>2]=20;e=j[c>>2];continue}e=j[c>>2];continue}n=p+r|0;f=(r<<3)+f|0;break e}n=e+d|0;f=(e<<3)+p|0;break e}n=n+o|0;f=(o<<3)+f|0;break e}n=p+r|0;f=(r<<3)+f|0;break e}o=0;n=d;f=p;d=y;break c}d=j[c+32>>2];if(d){j[d+16>>2]=0}f=e}j[c>>2]=5}q=j[c+16>>2];if(q&1024){e=j[c+64>>2];r=e>>>0>o>>>0?o:e;if(r){p=j[c+32>>2];Aa:{if(!p){break Aa}d=j[p+16>>2];if(!d){break Aa}e=j[p+20>>2]-e|0;q=e+d|0;d=j[p+24>>2];Ae(q,n,d>>>0>>0?d-e|0:r);q=j[c+16>>2]}if(q&512){M=c,N=Sf(j[c+24>>2],n,r),j[M+24>>2]=N}e=j[c+64>>2]-r|0;j[c+64>>2]=e;o=o-r|0;n=n+r|0}if(e){break i}}j[c>>2]=6;j[c+64>>2]=0}Ba:{if(k[c+17|0]&8){d=0;if(!o){break j}while(1){e=d+1|0;q=k[d+n|0];p=j[c+32>>2];Ca:{if(!p){break Ca}d=j[p+28>>2];if(!d){break Ca}r=j[p+32>>2];p=j[c+64>>2];if(r>>>0<=p>>>0){break Ca}j[c+64>>2]=p+1;h[d+p|0]=q}if(e>>>0>>0){d=e;if(q){continue}}break}if(k[c+17|0]&2){M=c,N=Sf(j[c+24>>2],n,e),j[M+24>>2]=N}n=e+n|0;o=o-e|0;if(!q){break Ba}break i}d=j[c+32>>2];if(!d){break Ba}j[d+28>>2]=0}j[c>>2]=7;j[c+64>>2]=0}Da:{if(k[c+17|0]&16){d=0;if(!o){break j}while(1){e=d+1|0;q=k[d+n|0];p=j[c+32>>2];Ea:{if(!p){break Ea}d=j[p+36>>2];if(!d){break Ea}r=j[p+40>>2];p=j[c+64>>2];if(r>>>0<=p>>>0){break Ea}j[c+64>>2]=p+1;h[d+p|0]=q}if(e>>>0>>0){d=e;if(q){continue}}break}if(k[c+17|0]&2){M=c,N=Sf(j[c+24>>2],n,e),j[M+24>>2]=N}n=e+n|0;o=o-e|0;if(!q){break Da}break i}d=j[c+32>>2];if(!d){break Da}j[d+36>>2]=0}j[c>>2]=8}e=j[c+16>>2];if(e&512){if(f>>>0<=15){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<8;f=f+8|0;n=n+1|0;if(d){continue}break}}if(l[c+24>>1]!=(g|0)){break g}g=0;f=0}d=j[c+32>>2];if(d){j[d+48>>2]=1;j[d+44>>2]=e>>>9&1}d=Sf(0,0,0);j[c+24>>2]=d;j[a+48>>2]=d;j[c>>2]=11;e=j[c>>2];continue}o=0}q=y}d=q;break c}j[a+24>>2]=17413;j[c>>2]=29;e=j[c>>2];continue}j[c+20>>2]=256<>2]=d;j[a+48>>2]=d;j[c>>2]=g&8192?9:11;g=0;e=j[c>>2];continue}break}o=0;d=y}j[a+16>>2]=u;j[a+12>>2]=w;j[a+4>>2]=o;j[a>>2]=n;j[c+60>>2]=f;j[c+56>>2]=g;Fa:{Ga:{Ha:{if(j[c+40>>2]){break Ha}if((u|0)==(B|0)){break Ga}e=j[c>>2];if(e>>>0>28){break Ga}if((b|0)!=4){break Ha}if(e>>>0>25){break Ga}}if(BF(a,w,B-u|0)){break Fa}u=j[a+16>>2];o=j[a+4>>2]}n=J-o|0;j[a+8>>2]=n+j[a+8>>2];p=B-u|0;j[a+20>>2]=p+j[a+20>>2];j[c+28>>2]=p+j[c+28>>2];if(!(!p|!j[c+8>>2])){o=j[a+12>>2]-p|0;f=j[c+24>>2];e=c;Ia:{if(j[c+16>>2]){f=Sf(f,o,p);break Ia}f=wi(f,o,p)}j[e+24>>2]=f;j[a+48>>2]=f}e=a;a=j[c>>2];j[e+44>>2]=((j[c+60>>2]+((j[c+4>>2]!=0)<<6)|0)+(((a|0)==11)<<7)|0)+((a|0)==19?256:((a|0)==14)<<8);C=d?d:(b|0)==4?-5:n|p?d:-5;break a}j[c>>2]=30}C=-4}oe=v+16|0;return C}function Um(a,b,c,d,e,f,g){var i=q(0),k=0,l=q(0),m=q(0),o=q(0),s=q(0),t=q(0),u=0,v=0,w=0,x=0,y=0,z=q(0),A=q(0),B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=q(0),L=q(0),M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=q(0),V=q(0),W=q(0),X=0,Y=0;v=oe-48|0;oe=v;B=j[58753];y=(B|0)==3?(b|0)<577?1:2:B;O=p(y,40)+58160|0;R=a&1;B=(a|0)/2|0;N=(b|0)/2|0;a:{b:{c:{d:{if((e|0)<=1431918168){e:{switch(e-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 0:case 11:break d;default:break e}}if((e|0)==825382478){break d}if((e|0)==844715353){break c}break b}if((e|0)==1431918169|(e|0)==1498831189){break c}if((e|0)!=1448433993){break b}}Zh(b,e,f,g,v+44|0,v+40|0,v+36|0,v+32|0,v+28|0);f=j[v+32>>2];E=p(f,b);k=j[v+44>>2];if((b|0)>=1){F=f-a|0;f=p(y,40);G=f+58172|0;H=f+58168|0;C=f+58164|0;D=(a|0)<1;f=k;u=c;while(1){if(!D){w=j[O>>2];i=n[G>>2];o=n[H>>2];s=n[C>>2];g=0;while(1){M=f;x=j[(g<<2)+u>>2];l=q(q(q(i*q((x&255)>>>0))+q(q(s*q((x>>>16&255)>>>0))+q(o*q((x>>>8&255)>>>0))))+q(.5));f:{if(q(r(l))>2]=f}O=b&1;P=d<<1;f=k+E|0;g=c+d|0;g:{h:{i:{switch(e-842094158|0){default:if((e|0)!=1448433993){break h};case 11:d=(a+1|0)/-2|0;if((b|0)>=2){x=d+j[v+28>>2]|0;b=p(y,40);E=b+58196|0;F=b+58192|0;G=b+58188|0;H=b+58184|0;C=b+58180|0;D=b+58176|0;d=0;f=j[v+36>>2];k=j[v+40>>2];Q=(a|0)<2;while(1){if(Q){b=0}else{i=n[E>>2];o=n[F>>2];s=n[G>>2];l=n[H>>2];K=n[C>>2];L=n[D>>2];u=0;while(1){b=k;e=u<<3;J=e|4;w=j[J+c>>2];I=j[c+e>>2];e=j[e+g>>2];J=j[g+J>>2];t=q((((w&255)+(I&255)|0)+(e&255)|0)+(J&255)>>>2>>>0);z=q((((w&16711680)+(I&16711680)|0)+(e&16711680)|0)+(J&16711680)>>>18>>>0);A=q((((w&65280)+(I&65280)|0)+(e&65280)|0)+(J&65280)>>>10>>>0);m=q(q(q(l*t)+q(q(L*z)+q(K*A)))+q(.5));j:{if(q(r(m))>2];u=j[c+u>>2];i=q((b&255)+(u&255)>>>1>>>0);o=q((b&16711680)+(u&16711680)>>>17>>>0);s=q((b&65280)+(u&65280)>>>9>>>0);l=q(q(q(n[H>>2]*i)+q(q(n[D>>2]*o)+q(n[C>>2]*s)))+q(.5));l:{if(q(r(l))>2]*o)+q(n[F>>2]*s))+q(n[E>>2]*i))+q(.5));m:{if(q(r(i))>2]=f;j[v+40>>2]=k}if(!O){break g}f=0;if((a|0)>=2){a=p(y,40);i=n[a+58196>>2];o=n[a+58192>>2];s=n[a+58188>>2];l=n[a+58184>>2];K=n[a+58180>>2];L=n[a+58176>>2];k=0;f=j[v+36>>2];g=j[v+40>>2];while(1){a=g;d=k<<3;b=j[(d|4)+c>>2];d=j[c+d>>2];t=q((b&255)+(d&255)>>>1>>>0);z=q((b&16711680)+(d&16711680)>>>17>>>0);A=q((b&65280)+(d&65280)>>>9>>>0);m=q(q(q(l*t)+q(q(L*z)+q(K*A)))+q(.5));n:{if(q(r(m))>2]=f;j[v+40>>2]=g;f=B<<1}if(!R){break g}c=j[(f<<2)+c>>2];a=j[v+40>>2];j[v+40>>2]=a+1;b=p(y,40);i=q((c&255)>>>0);o=q((c>>>16&255)>>>0);s=q((c>>>8&255)>>>0);l=q(q(q(n[b+58184>>2]*i)+q(q(n[b+58176>>2]*o)+q(n[b+58180>>2]*s)))+q(.5));p:{if(q(r(l))>2];j[v+36>>2]=a+1;i=q(q(q(q(n[b+58188>>2]*o)+q(n[b+58192>>2]*s))+q(n[b+58196>>2]*i))+q(.5));q:{if(q(r(i))=2){I=j[v+28>>2]+(d<<1)|0;b=p(y,40);u=b+58196|0;x=b+58192|0;E=b+58188|0;F=b+58184|0;G=b+58180|0;H=b+58176|0;e=0;J=(a|0)<2;while(1){if(J){b=0}else{i=n[u>>2];o=n[x>>2];s=n[E>>2];l=n[F>>2];K=n[G>>2];L=n[H>>2];k=0;while(1){b=f;d=k<<3;w=d|4;C=j[w+c>>2];D=j[c+d>>2];d=j[d+g>>2];w=j[g+w>>2];t=q((((C&16711680)+(D&16711680)|0)+(d&16711680)|0)+(w&16711680)>>>18>>>0);z=q((((C&65280)+(D&65280)|0)+(d&65280)|0)+(w&65280)>>>10>>>0);A=q((((C&255)+(D&255)|0)+(d&255)|0)+(w&255)>>>2>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));r:{if(q(r(m))>2];k=j[c+k>>2];i=q((b&16711680)+(k&16711680)>>>17>>>0);o=q((b&65280)+(k&65280)>>>9>>>0);s=q((b&255)+(k&255)>>>1>>>0);l=q(q(q(q(n[E>>2]*i)+q(n[x>>2]*o))+q(n[u>>2]*s))+q(.5));t:{if(q(r(l))>2]*s)+q(q(n[H>>2]*i)+q(n[G>>2]*o)))+q(.5));u:{if(q(r(i))=2){a=p(y,40);i=n[a+58196>>2];o=n[a+58192>>2];s=n[a+58188>>2];l=n[a+58184>>2];K=n[a+58180>>2];L=n[a+58176>>2];g=0;while(1){a=f;d=g<<3;b=j[(d|4)+c>>2];d=j[c+d>>2];t=q((b&16711680)+(d&16711680)>>>17>>>0);z=q((b&65280)+(d&65280)>>>9>>>0);A=q((b&255)+(d&255)>>>1>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));v:{if(q(r(m))>2];i=q((c>>>16&255)>>>0);o=q((c>>>8&255)>>>0);s=q((c&255)>>>0);l=q(q(q(q(n[b+58188>>2]*i)+q(n[b+58192>>2]*o))+q(n[b+58196>>2]*s))+q(.5));x:{if(q(r(l))>2]*s)+q(q(n[b+58176>>2]*i)+q(n[b+58180>>2]*o)))+q(.5));y:{if(q(r(i))=2){I=j[v+28>>2]+(d<<1)|0;b=p(y,40);u=b+58184|0;x=b+58180|0;E=b+58176|0;F=b+58196|0;G=b+58192|0;H=b+58188|0;e=0;J=(a|0)<2;while(1){if(J){b=0}else{i=n[u>>2];o=n[x>>2];s=n[E>>2];l=n[F>>2];K=n[G>>2];L=n[H>>2];k=0;while(1){b=f;d=k<<3;w=d|4;C=j[w+c>>2];D=j[c+d>>2];d=j[d+g>>2];w=j[g+w>>2];t=q((((C&16711680)+(D&16711680)|0)+(d&16711680)|0)+(w&16711680)>>>18>>>0);z=q((((C&65280)+(D&65280)|0)+(d&65280)|0)+(w&65280)>>>10>>>0);A=q((((C&255)+(D&255)|0)+(d&255)|0)+(w&255)>>>2>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));z:{if(q(r(m))>2];k=j[c+k>>2];i=q((b&16711680)+(k&16711680)>>>17>>>0);o=q((b&65280)+(k&65280)>>>9>>>0);s=q((b&255)+(k&255)>>>1>>>0);l=q(q(q(q(n[E>>2]*i)+q(n[x>>2]*o))+q(n[u>>2]*s))+q(.5));B:{if(q(r(l))>2]*s)+q(q(n[H>>2]*i)+q(n[G>>2]*o)))+q(.5));C:{if(q(r(i))=2){a=p(y,40);i=n[a+58184>>2];o=n[a+58180>>2];s=n[a+58176>>2];l=n[a+58196>>2];K=n[a+58192>>2];L=n[a+58188>>2];g=0;while(1){a=f;d=g<<3;b=j[(d|4)+c>>2];d=j[c+d>>2];t=q((b&16711680)+(d&16711680)>>>17>>>0);z=q((b&65280)+(d&65280)>>>9>>>0);A=q((b&255)+(d&255)>>>1>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));D:{if(q(r(m))>2];i=q((c>>>16&255)>>>0);o=q((c>>>8&255)>>>0);s=q((c&255)>>>0);l=q(q(q(q(n[b+58176>>2]*i)+q(n[b+58180>>2]*o))+q(n[b+58184>>2]*s))+q(.5));F:{if(q(r(l))>2]*s)+q(q(n[b+58188>>2]*i)+q(n[b+58192>>2]*o)))+q(.5));G:{if(q(r(i))(g|0)){j[v+16>>2]=k;g=ve(58280,v+16|0);break a}P=g-k|0;g=0;H:{if((e|0)!=844715353){if((e|0)==1498831189){break H}if((e|0)!=1431918169|(b|0)<1){break a}e=p(y,40);y=e+58184|0;N=e+58180|0;x=e+58176|0;E=e+58196|0;F=e+58192|0;G=e+58188|0;H=e+58172|0;C=e+58168|0;D=e+58164|0;w=(a|0)<2;while(1){if(w){a=0}else{l=n[y>>2];K=n[N>>2];L=n[x>>2];t=n[E>>2];z=n[F>>2];A=n[G>>2];g=j[O>>2];i=n[H>>2];o=n[C>>2];s=n[D>>2];k=0;while(1){e=k<<3;a=j[e+c>>2];I=a>>>16&255;J=a>>>8&255;Q=a&255;m=q(q(q(q(s*q(I>>>0))+q(o*q(J>>>0)))+q(i*q(Q>>>0)))+q(.5));I:{if(q(r(m))>2];h[f|0]=a+g;M=f;a=e&255;S=e>>>16&255;e=e>>>8&255;m=q(q(q(i*q(a>>>0))+q(q(s*q(S>>>0))+q(o*q(e>>>0))))+q(.5));J:{if(q(r(m))>>1>>>0);U=q(e+J>>>1>>>0);V=q(a+Q>>>1>>>0);W=q(q(q(q(L*m)+q(K*U))+q(l*V))+q(.5));K:{if(q(r(W))>2];i=q((a>>>16&255)>>>0);o=q((a>>>8&255)>>>0);s=q((a&255)>>>0);l=q(q(q(q(n[x>>2]*i)+q(n[N>>2]*o))+q(n[y>>2]*s))+q(.5));M:{if(q(r(l))>2]*s)+q(q(n[D>>2]*i)+q(n[C>>2]*o)))+q(.5));N:{if(q(r(l))>2]|0;h[a+2|0]=g;a=f;i=q(q(q(q(n[G>>2]*i)+q(n[F>>2]*o))+q(n[E>>2]*s))+q(.5));O:{if(q(r(i))>2];K=n[N>>2];L=n[x>>2];t=n[E>>2];z=n[F>>2];A=n[G>>2];g=j[O>>2];i=n[H>>2];o=n[C>>2];s=n[D>>2];k=0;while(1){e=k<<3;a=j[e+c>>2];I=a>>>16&255;J=a>>>8&255;Q=a&255;m=q(q(q(q(s*q(I>>>0))+q(o*q(J>>>0)))+q(i*q(Q>>>0)))+q(.5));P:{if(q(r(m))>2];h[f|0]=a+g;M=f;a=e&255;S=e>>>16&255;e=e>>>8&255;m=q(q(q(i*q(a>>>0))+q(q(s*q(S>>>0))+q(o*q(e>>>0))))+q(.5));Q:{if(q(r(m))>>1>>>0);U=q(e+J>>>1>>>0);V=q(a+Q>>>1>>>0);W=q(q(q(q(L*m)+q(K*U))+q(l*V))+q(.5));R:{if(q(r(W))>2];i=q((a>>>16&255)>>>0);o=q((a>>>8&255)>>>0);s=q((a&255)>>>0);l=q(q(q(q(n[x>>2]*i)+q(n[N>>2]*o))+q(n[y>>2]*s))+q(.5));T:{if(q(r(l))>2]*s)+q(q(n[D>>2]*i)+q(n[C>>2]*o)))+q(.5));U:{if(q(r(l))>2]|0;h[a+2|0]=g;a=f;i=q(q(q(q(n[G>>2]*i)+q(n[F>>2]*o))+q(n[E>>2]*s))+q(.5));V:{if(q(r(i))>2];K=n[N>>2];L=n[x>>2];g=j[O>>2];i=n[E>>2];o=n[F>>2];s=n[G>>2];t=n[H>>2];z=n[C>>2];A=n[D>>2];k=0;while(1){e=k<<3;a=j[e+c>>2];I=a>>>16&255;J=a>>>8&255;Q=a&255;m=q(q(q(q(s*q(I>>>0))+q(o*q(J>>>0)))+q(i*q(Q>>>0)))+q(.5));W:{if(q(r(m))>2];h[f+1|0]=a+g;M=f;a=e>>>16&255;S=e>>>8&255;e=e&255;m=q(q(q(q(s*q(a>>>0))+q(o*q(S>>>0)))+q(i*q(e>>>0)))+q(.5));X:{if(q(r(m))>>1>>>0);U=q(J+S>>>1>>>0);V=q(e+Q>>>1>>>0);W=q(q(q(q(L*m)+q(K*U))+q(l*V))+q(.5));Y:{if(q(r(W))>2];i=q((a>>>16&255)>>>0);o=q((a>>>8&255)>>>0);s=q((a&255)>>>0);l=q(q(q(q(n[G>>2]*i)+q(n[F>>2]*o))+q(n[E>>2]*s))+q(.5));_:{if(q(r(l))>2]|0;h[e+3|0]=g;a=f;l=q(q(q(q(n[x>>2]*i)+q(n[N>>2]*o))+q(n[y>>2]*s))+q(.5));$:{if(q(r(l))>2]*s)+q(q(n[D>>2]*i)+q(n[C>>2]*o)))+q(.5));aa:{if(q(r(i))>2]=Y;g=ve(58334,v)}oe=v+48|0;return g}function eN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=oe-96|0;oe=g;q=j[j[b+96>>2]+4>>2];f=dh(q,78432);a:{b:{if(!f){j[g+12>>2]=11;break b}A=Bh(j[b+96>>2],78592);C=dh(q,79232);o=Fe(a,0);j[g+12>>2]=o;if(o){break b}B=qe[j[f+4>>2]](a,b,c,d,e)|0;c:{if(!B){if(j[b+148>>2]!=1330926671){j[g+12>>2]=2;break b}o=0;if((c|0)<0){break a}d:{if(!(qe[j[b+508>>2]](b,1751474532,a,0)|0)){d=qe[j[f+8>>2]](a,b,c,d,e)|0;j[g+12>>2]=d;if(!d){break d}break b}d=qe[j[f+32>>2]](b,a)|0;j[g+12>>2]=d;if(d){break b}u=1}d=qe[j[b+508>>2]](b,1128678944,a,0)|0;j[g+12>>2]=d;if(!d){break c}break b}d=Fe(a,0);j[g+12>>2]=d;if(d){break b}j[g+12>>2]=0;u=1}w=j[b+100>>2];f=He(w,2980,g+12|0);if(j[g+12>>2]){break b}j[b+656>>2]=f;n=j[a+28>>2];d=Ee(f+8|0,0,2972);j[g+72>>2]=0;j[g+76>>2]=0;e=g- -64|0;j[e>>2]=0;j[e+4>>2]=0;j[g+56>>2]=0;j[g+60>>2]=0;j[g+48>>2]=0;j[g+52>>2]=0;j[f+4>>2]=n;j[f>>2]=a;r=j[a+8>>2];e=$e(a,79264,f);j[g+84>>2]=e;e:{if(e){break e}f:{g:{if(k[f+16|0]!=1){break g}e=k[f+18|0];if(e>>>0<4){break g}if(k[f+19|0]<5){break f}}j[g+84>>2]=2;break e}e=xf(a,e-4|0);j[g+84>>2]=e;if(e){break e}x=f+20|0;e=Rh(x,a,0);j[g+84>>2]=e;if(e){break e}o=f+1208|0;e=Rh(o,a,0);j[g+84>>2]=e;if(e){break e}e=Rh(g+48|0,a,1);j[g+84>>2]=e;if(e){break e}s=f+84|0;e=Rh(s,a,1);j[g+84>>2]=e;if(e){break e}e=sm(g+48|0,f+1316|0,f+1320|0);j[g+84>>2]=e;if(e){break e}j[f+1312>>2]=j[g+56>>2];e=j[f+28>>2];h:{i:{if(u){if(c>>>0>>0){break i}j[g+84>>2]=6;break e}d=0;if(e>>>0<2){break h}j[g+84>>2]=3;break e}j[d>>2]=e;d=c}if((c|0)<0){break e}v=d;d=Dr(f+1324|0,o,d,a,r,q);j[g+84>>2]=d;if(d){break e}d=Fe(a,r+j[f+1436>>2]|0);j[g+84>>2]=d;if(d){break e}d=Rh(f+1176|0,a,0);j[g+84>>2]=d;if(d){break e}j:{if(j[f+1456>>2]!=65535){d=Fe(a,r+j[f+1488>>2]|0);j[g+84>>2]=d;if(d){break e}o=0;d=Rh(g+16|0,a,0);j[g+84>>2]=d;if(d){break e}e=j[g+24>>2];k:{if(e>>>0>256){break k}j[f+1896>>2]=e;d=0;e=xe(n,572,0,e,0,g+84|0);o=j[g+84>>2];if(o){break k}o=j[g+24>>2];if(o){while(1){j[((d<<2)+f|0)+1900>>2]=e+p(d,572);d=d+1|0;if((o|0)!=(d|0)){continue}break}e=0;while(1){o=Dr(j[((e<<2)+f|0)+1900>>2],g+16|0,e,a,r,q);j[g+84>>2]=o;if(o){break k}e=e+1|0;if(e>>>0>2]){continue}break}}e=j[f+1184>>2];o=Fe(a,r+j[f+1492>>2]|0);j[g+92>>2]=o;l:{if(o){break l}d=hg(a,g+92|0);o=j[g+92>>2];if(o){break l}j[f+2944>>2]=0;h[f+2924|0]=d;o=3;m:{switch(d&255){case 3:d=qf(a,g+92|0);o=j[g+92>>2];if(o){break l}o=3;if(!d){break l}e=p(d,3)+2|0;break;case 0:break m;default:break l}}j[f+2936>>2]=e;o=_f(a,e,f+2932|0)}j[g+84>>2]=o}d=j[g+16>>2];if(d){e=j[d+28>>2];if(j[g+44>>2]){jf(d,g+44|0)}d=j[g+40>>2];if(d){qe[j[e+8>>2]](e,d)}o=j[g+84>>2]}if(!o){break j}break e}j[f+1896>>2]=0}if(!j[f+1436>>2]){j[g+84>>2]=3;break e}j[f+12>>2]=j[f+1184>>2];d=sm(s,f+1308|0,0);j[g+84>>2]=d;if(d){break e}q=j[f+12>>2];n:{if(!q){break n}n=j[a+28>>2];t=j[f+1456>>2];d=j[f+1428>>2];j[g+92>>2]=0;s=f+1152|0;o:{p:{q:{r:{if(d>>>0>=3){d=d+r|0;j[f+1156>>2]=d;d=Fe(a,d);j[g+92>>2]=d;if(d){break p}D=s,E=hg(a,g+92|0)&255,j[D>>2]=E;if(j[g+92>>2]){break p}d=xe(n,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}i[d>>1]=0;s:{switch(j[s>>2]){case 0:e=1;d=_e(a,(q<<1)-2|0);j[g+92>>2]=d;if(d){break p}if(q>>>0>=2){while(1){d=af(a);i[j[f+1160>>2]+(e<<1)>>1]=d;e=e+1|0;if((q|0)!=(e|0)){continue}break}}Ve(a);break r;case 1:case 2:e=1;if(q>>>0<=1){break r}while(1){d=qf(a,g+92|0);if(j[g+92>>2]){break p}t:{if(j[s>>2]==2){o=qf(a,g+92|0);if(!j[g+92>>2]){break t}break p}o=hg(a,g+92|0);if(j[g+92>>2]){break p}o=o&255}u:{if(e>>>0>=q>>>0){break u}y=(o^65535)>>>0>>0?d^65535:o;z=j[f+1160>>2];o=0;while(1){i[z+(e<<1)>>1]=d;e=e+1|0;if(o>>>0>=y>>>0){break u}d=d+1|0;o=o+1|0;if(e>>>0>>0){continue}break}}if(e>>>0>>0){continue}break}break r;default:break s}}j[g+92>>2]=3;break p}j[f+1156>>2]=d;v:{switch(d|0){case 0:if(q>>>0>=230){j[g+92>>2]=3;break p}d=xe(n,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}Ae(d,80800,q<<1);break r;case 1:if(q>>>0>=167){j[g+92>>2]=3;break p}d=xe(n,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}Ae(d,81264,q<<1);break r;case 2:break v;default:break q}}if(q>>>0>=88){j[g+92>>2]=3;break p}d=xe(n,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}Ae(d,81600,q<<1)}w:{if(!((t|0)!=65535?u:0)){e=j[g+92>>2];break w}e=0;j[g+16>>2]=0;x:{if(j[f+1168>>2]){break x}o=j[f+1160>>2];d=0;while(1){t=l[o+(d<<1)>>1];e=t>>>0>(e&65535)>>>0?t:e;d=d+1|0;if((q|0)!=(d|0)){continue}break}o=e&65535;t=xe(n,2,0,o+1|0,0,g+16|0);j[f+1164>>2]=t;e=j[g+16>>2];if(e){break x}if((q|0)>=1){y=j[f+1160>>2];e=q;while(1){d=e-1|0;i[t+(l[y+(d<<1)>>1]<<1)>>1]=d;z=(e|0)>1;e=d;if(z){continue}break}}j[f+1172>>2]=q;j[f+1168>>2]=o;e=0}j[g+92>>2]=e}if(e){break p}j[g+84>>2]=0;break o}j[g+92>>2]=3}d=j[f+1160>>2];if(d){qe[j[n+8>>2]](n,d)}j[f+1160>>2]=0;d=j[f+1164>>2];if(d){qe[j[n+8>>2]](n,d)}j[s+8>>2]=0;j[s+12>>2]=0;j[s>>2]=0;j[s+4>>2]=0;d=j[g+92>>2];j[g+84>>2]=d;if(d){break e}}if(j[f+1456>>2]!=65535){break n}d=j[f+1432>>2];q=j[f+12>>2];j[g+92>>2]=0;n=3;y:{z:{s=j[f+1160>>2];if(!s){break z}e=Ee(f+128|0,0,1024);A:{if(d>>>0>=2){d=d+r|0;j[f+120>>2]=d;n=Fe(a,d);j[g+92>>2]=n;if(n){break z}D=f,E=hg(a,g+92|0)&255,j[D+116>>2]=E;n=j[g+92>>2];if(n){break z}d=hg(a,g+92|0);n=j[g+92>>2];if(n){break z}r=d&255;n=3;B:{C:{switch(j[f+116>>2]&127){case 0:j[f+124>>2]=r+1;n=_e(a,r);j[g+92>>2]=n;if(n){break z}if(d){d=j[a+32>>2];n=1;while(1){if(n>>>0>>0){e=(k[d|0]<<1)+f|0;i[e+640>>1]=n;i[e+128>>1]=l[j[f+1160>>2]+(n<<1)>>1]}d=d+1|0;e=(n|0)!=(r|0);n=n+1|0;if(e){continue}break}}Ve(a);break B;case 1:break C;default:break z}}s=0;j[f+124>>2]=0;if(!d){break B}d=1;while(1){t=hg(a,g+92|0);n=j[g+92>>2];if(n){break z}e=hg(a,g+92|0);n=j[g+92>>2];if(n){break z}n=e&255;e=n+1|0;o=j[f+124>>2];if(n>>>0>=o>>>0){j[f+124>>2]=e;o=e}e=d+e|0;if(e>>>0>d>>>0){n=t&255;while(1){if(!(n>>>0>255|d>>>0>=q>>>0)){t=(n<<1)+f|0;i[t+640>>1]=d;i[t+128>>1]=l[j[f+1160>>2]+(d<<1)>>1]}n=n+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}d=e;s=s+1|0;if((r|0)!=(s|0)){continue}break}if(o>>>0<257){break B}j[f+124>>2]=256}if(!(k[f+116|0]&128)){n=j[g+92>>2];break y}d=hg(a,g+92|0);n=j[g+92>>2];if(!d|n){break y}e=d&255;o=0;while(1){r=hg(a,g+92|0);n=j[g+92>>2];if(n){break z}d=qf(a,g+92|0);n=j[g+92>>2];if(n){break z}r=((r&255)<<1)+f|0;i[r+128>>1]=d;D:{if(!q){break D}s=j[f+1160>>2];n=0;while(1){if((d|0)==l[s+(n<<1)>>1]){i[r+640>>1]=n;break D}n=n+1|0;if((q|0)!=(n|0)){continue}break}}o=o+1|0;if((e|0)!=(o|0)){continue}break}break A}E:{F:{switch(d|0){case 0:Ae(e,78720,512);break E;case 1:break F;default:break z}}Ae(e,81776,512)}j[f+124>>2]=0;a=j[a+28>>2];j[g+16>>2]=0;e=j[f+1168>>2];if(!e){e=0;d=f;o=a;if(q){a=0;while(1){n=l[s+(a<<1)>>1];e=n>>>0>(e&65535)>>>0?n:e;a=a+1|0;if((q|0)!=(a|0)){continue}break}e=e&65535}o=xe(o,2,0,e+1|0,0,g+16|0);j[d+1164>>2]=o;n=j[g+16>>2];if(n){break z}if((q|0)>=1){n=j[f+1160>>2];a=q;while(1){d=a-1|0;i[o+(l[n+(d<<1)>>1]<<1)>>1]=d;r=(a|0)>1;a=d;if(r){continue}break}}j[f+1172>>2]=q;j[f+1168>>2]=e}j[g+92>>2]=0;a=0;while(1){d=(a<<1)+f|0;q=d;G:{H:{o=l[d+128>>1];if(!o|e>>>0>>0){break H}o=l[j[f+1164>>2]+(o<<1)>>1];if(!o){break H}i[d+640>>1]=o;a=a+1|0;j[f+124>>2]=a;break G}i[d+640>>1]=0;i[q+128>>1]=0;a=a+1|0}if((a|0)!=256){continue}break}}j[g+84>>2]=0;break n}j[g+84>>2]=n;break e}j[g+84>>2]=n;if(n){break e}}d=j[j[x>>2]+28>>2];e=zi(x,v,g+16|0,g+92|0);j[g+88>>2]=e;a=0;I:{if(e){break I}a=d;d=j[g+92>>2];a=He(a,d+1|0,g+88|0);if(!j[g+88>>2]){D=Ae(a,j[g+16>>2],d)+d|0,E=0,h[D|0]=E}if(j[f+48>>2]){break I}jf(j[x>>2],g+16|0)}j[f+1304>>2]=a}a=j[g+48>>2];if(a){d=j[a+28>>2];if(j[g+76>>2]){jf(a,g+76|0)}a=j[g+72>>2];if(a){qe[j[d+8>>2]](d,a)}}a=j[g+84>>2];j[g+12>>2]=a;if(a){break b}j[f+2956>>2]=A;j[f+2952>>2]=C;j[b+4>>2]=c;j[b+16>>2]=j[f+12>>2];if(!(j[f+1456>>2]!=65535|A)){j[g+12>>2]=11;break b}if(!k[f+1388|0]){j[f+1392>>2]=u?1e3:l[b+68>>1]}d=j[f+1384>>2];a=d>>31;a=a^a+d;J:{if((a|0)==65536){a=j[f+1400>>2];break J}D=f,E=De(j[f+1392>>2],a),j[D+1392>>2]=E;D=f,E=De(j[f+1372>>2],a),j[D+1372>>2]=E;D=f,E=De(j[f+1380>>2],a),j[D+1380>>2]=E;D=f,E=De(j[f+1376>>2],a),j[D+1376>>2]=E;D=f,E=De(j[f+1384>>2],a),j[D+1384>>2]=E;D=f,E=De(j[f+1396>>2],a),j[D+1396>>2]=E;a=De(j[f+1400>>2],a);j[f+1400>>2]=a}j[f+1400>>2]=a>>16;j[f+1396>>2]=j[f+1396>>2]>>16;n=j[f+1896>>2];if(n){r=f+1900|0;o=f+1372|0;q=o;while(1){n=n-1|0;a=j[r+(n<<2)>>2];K:{if(k[a+64|0]){if(!k[f+1388|0]){break K}e=1;d=j[f+1392>>2];L:{if(d>>>0<2){break L}v=j[a+68>>2];if(v>>>0<2){break L}e=d>>>0>>0?d:v}Hs(o,a+48|0,e);Gs(a+72|0,o,e);D=a,E=Ne(j[a+68>>2],j[f+1392>>2],e),j[D+68>>2]=E;break K}d=j[o+4>>2];j[a+48>>2]=j[o>>2];j[a+52>>2]=d;d=j[q+12>>2];j[a+56>>2]=j[q+8>>2];j[a+60>>2]=d;d=j[f+1400>>2];j[a+72>>2]=j[f+1396>>2];j[a+76>>2]=d;j[a+68>>2]=j[f+1392>>2]}e=j[a+60>>2];d=e>>31;d=d^d+e;M:{if((d|0)==65536){e=j[a+76>>2];break M}D=a,E=De(j[a+68>>2],d),j[D+68>>2]=E;D=a,E=De(j[a+48>>2],d),j[D+48>>2]=E;D=a,E=De(j[a+56>>2],d),j[D+56>>2]=E;D=a,E=De(j[a+52>>2],d),j[D+52>>2]=E;D=a,E=De(j[a+60>>2],d),j[D+60>>2]=E;D=a,E=De(j[a+72>>2],d),j[D+72>>2]=E;e=De(j[a+76>>2],d);j[a+76>>2]=e}j[a+76>>2]=e>>16;j[a+72>>2]=j[a+72>>2]>>16;if(n){continue}break}}N:{O:{P:{Q:{R:{if(u){j[b>>2]=j[f+8>>2];a=b;if(j[f+1456>>2]!=65535){d=j[f+1168>>2]+1|0}else{d=j[f+1184>>2]}j[a+16>>2]=d;j[b+52>>2]=j[f+1408>>2]>>16;a=j[f+1412>>2]>>16;j[b+56>>2]=a;j[b+60>>2]=j[f+1416>>2]+65535>>16;d=j[f+1420>>2]+65535>>16;j[b- -64>>2]=d;e=j[f+1392>>2];i[b+72>>1]=a;i[b+70>>1]=d;i[b+68>>1]=e;a=d-a|0;d=(p(e&65535,12)>>>0)/10|0;i[b+74>>1]=(a|0)>d<<16>>16?a:d;i[b+80>>1]=l[f+1358>>1];i[b+82>>1]=l[f+1362>>1];a=j[j[f+20>>2]+28>>2];c=zi(f+20|0,c,g+48|0,g+16|0);j[g+92>>2]=c;n=0;S:{if(c){break S}c=a;a=j[g+16>>2];n=He(c,a+1|0,g+92|0);if(!j[g+92>>2]){D=Ae(n,j[g+48>>2],a)+a|0,E=0,h[D|0]=E}if(j[f+48>>2]){break S}jf(j[f+20>>2],g+48|0)}j[b+20>>2]=n;if(!n){break R}d=0;a=j[f+1336>>2];T:{if((a|0)==65535){break T}if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[f+1312>>2]){break T}d=j[j[f+1316>>2]+(a<<2)>>2];break T}c=j[f+2956>>2];if(!c){break T}d=qe[j[c+20>>2]](a)|0;n=j[b+20>>2]}a=Le(n);U:{if((a|0)<6){break U}c=a+1|0;while(1){if(k[n+6|0]!=43|(k[n+5|0]-65&255)>>>0>25|((k[n+4|0]-65&255)>>>0>25|(k[n+3|0]-65&255)>>>0>25)){break U}if((k[n+2|0]-65&255)>>>0>25|(k[n|0]-65&255)>>>0>25|(k[n+1|0]-65&255)>>>0>25){break U}a=7;if((c|0)<8){break U}while(1){e=a+n|0;h[e-7|0]=k[e|0];a=a+1|0;if((c|0)!=(a|0)){continue}break}a=(c|0)>13;c=c-7|0;if(a){continue}break}}a=j[f+1340>>2];if(a){e=0;V:{if((a|0)==65535){break V}if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[f+1312>>2]){break V}e=j[j[f+1316>>2]+(a<<2)>>2];break V}c=j[f+2956>>2];if(!c){break V}e=qe[j[c+20>>2]](a)|0}n=e?e:n}if(!d|!n){break Q}c=k[d|0];if(!c){break Q}while(1){a=d;W:{while(1){d=c&255;e=k[n|0];if((d|0)==(e|0)){n=n+1|0;break W}o=d-32|0;if(!o|(o|0)==13){break W}X:{switch(e-32|0){case 0:case 13:n=n+1|0;if(d){continue}break Q;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break Q;default:break X}}break}if(e){break Q}a=gg(w,a,g+48|0);d=j[b+20>>2];o=Le(d);c=Le(a);Y:{if((o|0)<=(c|0)){break Y}e=1;if((c|0)>=1){while(1){if(k[d+(o-e|0)|0]!=k[(c-e|0)+a|0]){break P}q=(c|0)==(e|0);e=e+1|0;if(!q){continue}break}}e=o+(c^-1)|0;if((e|0)<1){break Y}while(1){c=d+e|0;o=k[c|0];q=o-32|0;if(!((1<>>0<=13:0)|(o|0)==95)){h[c+1|0]=0;if(!a){break Q}break P}c=(e|0)>1;e=e-1|0;if(c){continue}break}}if(!a){break Q}break P}d=a+1|0;c=k[a+1|0];if(c){continue}break}break Q}d=0;if(j[f+1456>>2]!=65535){break N}break O}a=j[f+1496>>2];if((a|0)==65535){break Q}Z:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[f+1312>>2]){break Q}a=j[j[f+1316>>2]+(a<<2)>>2];break Z}c=j[f+2956>>2];if(!c){break Q}a=qe[j[c+20>>2]](a)|0}if(!a){break Q}D=b,E=gg(w,a,g+48|0),j[D+20>>2]=E}a=gg(w,79241,g+48|0)}j[b+24>>2]=a;a=B?2065:2073;j[b+8>>2]=j[b+8>>2]|(k[f+1348|0]?a|4:a);a=j[f+1352>>2]!=0;c=j[f+1344>>2];_:{if((c|0)==65535){break _}$:{if(c>>>0>=391){c=c-391|0;if(c>>>0>=m[f+1312>>2]){break _}c=j[j[f+1316>>2]+(c<<2)>>2];break $}d=j[f+2956>>2];if(!d){break _}c=qe[j[d+20>>2]](c)|0}if(!c){break _}if(we(c,79249)){if(we(c,79254)){break _}}a=a|2}aa:{if(a&2){break aa}c=j[b+24>>2];if(!c){break aa}if(Qe(c,79249,4)){if(Qe(c,79254,5)){break aa}}a=a|2}j[b+12>>2]=a;if(j[f+1456>>2]==65535){break O}d=0;if(!u){break N}j[b+8>>2]=j[b+8>>2]|4096;break N}j[b+8>>2]=j[b+8>>2]|512;d=1}c=j[b+36>>2];ba:{if(c){e=j[b+40>>2];a=0;while(1){ca:{da:{o=j[e+(a<<2)>>2];switch(l[o+8>>1]){case 0:break ba;case 3:break da;default:break ca}}if(l[o+10>>1]==1){break ba}}a=a+1|0;if(c>>>0>a>>>0){continue}break}}if((d^1)&u){break b}j[g+48>>2]=b;j[g+52>>2]=1970170211;j[g+56>>2]=65539;a=qg(78324,0,g+48|0,0);j[g+12>>2]=a;if((a&255)!=163?a:0){break b}j[g+12>>2]=0;if(j[b+92>>2]|(c|0)==j[b+36>>2]){break ba}j[b+92>>2]=j[j[b+40>>2]+(c<<2)>>2]}if(!j[f+124>>2]){break b}i[g+56>>1]=7;j[g+48>>2]=b;b=1094995778;a=0;ea:{fa:{switch(j[f+120>>2]){case 1:b=1094992453;a=1;break ea;case 0:break ea;default:break fa}}b=1094992451;a=2}j[g+52>>2]=b;i[g+58>>1]=a;D=g,E=qg(78284,0,g+48|0,0),j[D+12>>2]=E}o=j[g+12>>2]}oe=g+96|0;return o|0}function YK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;u=oe-16|0;oe=u;j[u+8>>2]=b;j[u+12>>2]=a;d=u+4^(u+8^u+12);d=(d>>>10^d^d>>20)&65535;j[u+4>>2]=d?d:29572;v=a+1140|0;j[a+1344>>2]=v;j[a+1136>>2]=a+112;j[a+64>>2]=0;s=j[a+72>>2];d=j[a+1488>>2];a:{if(!d){break a}f=j[a+1492>>2];if(!f){break a}Ee(d,0,f<<2);b=j[u+8>>2]}j[a+1140>>2]=b;x=b+c|0;j[a+1148>>2]=x;j[a+1144>>2]=b;o=j[a+28>>2];n=j[a+24>>2];if(s){qe[j[s+4>>2]](j[s>>2])}b:{c:{if((c|0)<1){break c}e=j[u+12>>2];B=n;while(1){r=b+1|0;f=j[e+1136>>2];w=0;c=0;q=0;C=0;d=16;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{A=k[b|0];switch(A-1|0){case 11:break i;case 30:break j;case 29:break k;case 21:break l;case 20:break m;case 14:break n;case 13:break o;case 12:break p;case 10:break q;case 9:break r;case 8:break s;case 7:break t;case 6:break u;case 5:break v;case 4:break w;case 3:break x;case 2:break y;case 0:break d;case 1:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break g;default:break h}}d=18;break d}d=14;break d}d=9;break d}d=6;break d}d=13;break d}d=11;break d}d=5;break d}d=22;break d}d=24;break d}d=2;break d}d=1;break d}d=26;break d}d=10;break d}d=7;break d}d=12;break d}d=8;break d}g=160;if(r>>>0>x>>>0){break b}r=b+2|0;d=15;z:{switch(k[b+1|0]){case 1:d=19;break d;case 2:d=17;break d;case 6:d=3;break d;case 7:d=4;break d;case 12:d=20;q=1;break d;case 16:d=21;C=1;break d;case 17:d=23;break d;case 33:break z;case 0:break d;default:break b}}d=25;break d}if((A|0)==255){break f}}g=160;if(A>>>0<32){break b}A:{if(A>>>0<=246){c=A-139|0;break A}b=b+2|0;if(b>>>0>x>>>0){break b}if(A>>>0<=250){c=(k[r|0]|A<<8)-63124|0}else{c=64148-(k[r|0]|A<<8)|0}r=b}b=z&255;w=b?c:c<<16;z=(b|0)!=0;break e}r=b+5|0;if(x>>>0>>0){g=160;break b}b=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);w=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(w+32e3>>>0>64e3){c=1;d=0;z=1;break d}b=z&255;w=b?w:w<<16;z=(b|0)!=0}c=1;d=0}if(!(1<>>0>24):0)){t=0}z=q?z:c?z:z&255?0:z;B:{if(c){if(((f-e|0)-112|0)>1020){g=160;break b}j[f>>2]=w;j[e+1136>>2]=f+4;break B}C:{D:{E:{F:{if(C){g=161;c=e+112|0;if((f-c|0)<8){break b}d=f-8|0;q=j[d>>2];b=q>>16;if((b|0)>d-c>>2){break b}d=d-(b<<2)|0;t=0;y=0;G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{g=j[f-4>>2];f=g>>16;switch(f|0){case 12:case 13:break C;case 28:break H;case 27:break I;case 25:break J;case 24:break K;case 23:break L;case 22:break M;case 21:break N;case 20:break O;case 19:break P;case 14:case 15:case 16:case 17:case 18:break Q;case 3:break R;case 2:break S;case 1:break T;case 0:break U;default:break G}}g=160;if(!j[e+1400>>2]|(b|0)!=3|j[e+1404>>2]!=7){break b}j[d+4>>2]=o;j[d>>2]=n;y=2;c=d;break C}if(b){g=160;break b}j[e+1400>>2]=1;j[e+1404>>2]=0;g=vh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+6>>>0<=m[b+4>>2]){break D}c=d;g=yf(b,6,0);if(g){break b}break C}g=160;if(!j[e+1400>>2]|b){break b}f=j[e+1404>>2];j[e+1404>>2]=f+1;if(f-1>>>0>5){break D}c=j[a+20>>2];if(k[a+68|0]){e=j[c+8>>2];g=i[c+2>>1];b=j[c+4>>2]+(g<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+g|0]=(f|0)!=3?(f|0)!=6?2:1:1}i[c+2>>1]=l[c+2>>1]+1;break D}if((b|0)!=1){g=160;break b}y=1;if(!s){break E}qe[j[s+20>>2]](j[s>>2],i[j[a+20>>2]+2>>1]);break E}g=160;t=j[e+1464>>2];if(!t){break b}e=j[t>>2];y=(f+((f|0)==18)|0)-13|0;if((b|0)!=(p(e,y)|0)){break b}b=d+(y<<2)|0;w=0;q=d;while(1){f=j[q>>2];c=1;if(e>>>0>=2){while(1){f=ye(j[b>>2],j[j[t+136>>2]+(c<<2)>>2])+f|0;b=b+4|0;c=c+1|0;e=j[t>>2];if(c>>>0>>0){continue}break}}j[q>>2]=f;q=q+4|0;w=w+1|0;if((y|0)!=(w|0)){continue}break}t=0;c=d;break C}g=160;if((b|0)!=1){break b}b=j[e+1464>>2];if(!b){break b}c=j[d>>2];if((c|0)<0){break b}f=j[b>>2];c=c>>16;if(m[e+1492>>2]>>0){break b}Ae(j[e+1488>>2]+(c<<2)|0,j[b+136>>2],f<<2);break D}if((b|0)!=2){g=160;break b}j[d>>2]=j[d>>2]+j[d+4>>2];break F}if((b|0)!=2){g=160;break b}j[d>>2]=j[d>>2]-j[d+4>>2];break F}if((b|0)!=2){g=160;break b}D=d,E=ye(j[d>>2],j[d+4>>2]),j[D>>2]=E;break F}g=160;if((b|0)!=2){break b}b=j[d+4>>2];if(!b){break b}D=d,E=De(j[d>>2],b),j[D>>2]=E;break F}g=160;if(!j[e+1464>>2]|(b|0)!=2){break b}b=j[d+4>>2];if((b|0)<0){break b}b=b>>16;if(b>>>0>=m[e+1492>>2]){break b}j[j[e+1488>>2]+(b<<2)>>2]=j[d>>2];break D}g=160;if(!j[e+1464>>2]|(b|0)!=1){break b}b=j[d>>2];if((b|0)<0){break b}b=b>>16;if(b>>>0>=m[e+1492>>2]){break b}j[d>>2]=j[j[e+1488>>2]+(b<<2)>>2];break F}if((b|0)!=4){g=160;break b}y=1;if(j[d+8>>2]<=j[d+12>>2]){break E}j[d>>2]=j[d+4>>2];c=d;break C}if(b){g=160;break b}b=j[u+4>>2];j[d>>2]=((b|0)>32767)+b;b=j[u+4>>2];b=ye(b,65536-b|0);j[u+4>>2]=b?b:10355;break F}c=d;t=b;if((g|q)>=0){break C}g=160;break b}b=j[(d<<2)+92192>>2];if((b|0)>(f-e|0)-112>>2){g=161;break b}c=f-(b<<2)|0;g=160;V:{W:{X:{switch(d-1|0){case 0:c=j[a+20>>2];Y:{if(!c){break Y}d=0;b=l[c>>1];f=b<<16>>16;if((f|0)>=2){d=i[(j[c+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[c+2>>1];Z:{if((b|0)<2){break Z}r=j[c+4>>2];n=r+(d<<3)|0;r=(r+(b<<3)|0)-8|0;if(j[n>>2]!=j[r>>2]|j[n+4>>2]!=j[r+4>>2]|k[(j[c+8>>2]+b|0)-1|0]!=1){break Z}b=b-1|0;i[c+2>>1]=b}if((f|0)<1){break Y}n=d;d=(b<<16>>16)-1|0;if((n|0)==(d|0)){i[c+2>>1]=b-1;i[c>>1]=f-1;break Y}i[(j[c+12>>2]+(f<<1)|0)-2>>1]=d}if(s){if(qe[j[s+8>>2]](j[s>>2],i[c+2>>1])|0){break b}g=qe[j[s+24>>2]](j[s>>2],j[a+20>>2],j[a+76>>2],j[j[u+12>>2]+1468>>2])|0;if(g){break b}}Xh(j[a+12>>2]);break c;case 1:j[a+64>>2]=1;j[a+32>>2]=j[a+32>>2]+j[c>>2];b=j[c+4>>2];g=0;j[a+44>>2]=0;j[a+40>>2]=b;if(k[a+70|0]){break b}o=j[a+28>>2];B=j[c>>2]+j[a+24>>2]|0;n=B;break V;case 2:if(k[e+1496|0]|k[e+70|0]){break b}b=j[c+16>>2]>>16;f=j[c+12>>2]>>16;d=j[c+8>>2];r=j[c+4>>2];n=j[c>>2];q=j[e+32>>2];a=j[j[j[e+4>>2]+128>>2]+48>>2];_:{if(!j[e+1356>>2]){if(a){break _}break b}if(a){break _}c=-1;$:{if(f>>>0>255){break $}a=j[e+1348>>2];a=qe[j[a+20>>2]](l[j[a+24>>2]+(f<<1)>>1])|0;t=j[e+1352>>2];if(!t){break $}x=j[e+1356>>2];c=0;while(1){f=j[x+(c<<2)>>2];if(!(!f|k[f|0]!=k[a|0])){if(!we(f,a)){break $}}c=c+1|0;if((t|0)!=(c|0)){continue}break}c=-1}aa:{ba:{if(b>>>0>255){break ba}a=j[e+1348>>2];a=qe[j[a+20>>2]](l[j[a+24>>2]+(b<<1)>>1])|0;t=j[e+1352>>2];if(!t){break ba}x=j[e+1356>>2];b=0;while(1){f=j[x+(b<<2)>>2];if(!(!f|k[f|0]!=k[a|0])){if(!we(f,a)){break aa}}b=b+1|0;if((t|0)!=(b|0)){continue}break}}b=-1}f=c}if((b|f)<0){break b}q=q+r|0;if(k[e+69|0]){c=j[e+8>>2];r=j[j[c+156>>2]>>2];g=fs(r,2);if(g){break b}a=j[r+88>>2];j[a+32>>2]=b;j[a+8>>2]=0;j[a+12>>2]=0;i[a+4>>1]=514;j[a>>2]=f;i[a+36>>1]=2;b=a;f=q-n|0;n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[b+40>>2]=n>>16;j[a+44>>2]=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16;j[c+128>>2]=2;a=j[r+52>>2];j[c+72>>2]=1668246896;j[c+132>>2]=a;j[r+84>>2]=2;break c}yO(j[e+12>>2]);h[e+1496|0]=1;g=qe[j[e+1472>>2]](e,f)|0;h[e+1496|0]=0;if(g){break b}h[e+1496|0]=1;j[e+28>>2]=d;a=j[e+32>>2];c=j[e+36>>2];j[e+32>>2]=0;j[e+36>>2]=0;j[e+24>>2]=q-n;d=j[e+40>>2];f=j[e+44>>2];g=qe[j[e+1472>>2]](e,b)|0;h[e+1496|0]=0;if(g){break b}j[e+40>>2]=d;j[e+44>>2]=f;j[e+32>>2]=a;j[e+36>>2]=c;j[e+24>>2]=0;j[e+28>>2]=0;break c;case 3:j[a+64>>2]=1;j[a+32>>2]=j[a+32>>2]+j[c>>2];j[a+36>>2]=j[a+36>>2]+j[c+4>>2];j[a+40>>2]=j[c+8>>2];j[a+44>>2]=j[c+12>>2];if(k[a+70|0]){break c}o=j[c+4>>2]+j[a+28>>2]|0;n=j[c>>2]+j[a+24>>2]|0;break V;case 4:ca:{if((j[a+64>>2]&-2)!=2){break ca}b=j[a+20>>2];if(!b){break ca}e=0;f=l[b>>1];d=f<<16>>16;if((d|0)>=2){e=i[(j[b+12>>2]+(f<<1)|0)-4>>1]+1|0}f=i[b+2>>1];da:{if((f|0)<2){break da}q=j[b+4>>2];g=q+(e<<3)|0;q=(q+(f<<3)|0)-8|0;if(j[g>>2]!=j[q>>2]|j[g+4>>2]!=j[q+4>>2]|k[(j[b+8>>2]+f|0)-1|0]!=1){break da}f=f-1|0;i[b+2>>1]=f}if((d|0)<1){break ca}q=(f<<16>>16)-1|0;if((q|0)==(e|0)){i[b+2>>1]=f-1;i[b>>1]=d-1;break ca}i[(j[b+12>>2]+(d<<1)|0)-2>>1]=q}j[a+64>>2]=1;break V;case 5:g=vh(a,n,o);if(g){break b}n=j[c>>2]+n|0;break W;case 6:n=j[c>>2]+n|0;if(j[e+1400>>2]){break V}if(!j[a+64>>2]){break b}j[a+64>>2]=2;break V;case 7:g=vh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+3>>>0>m[b+4>>2]){g=yf(b,3,0);if(g){break b}}f=j[c>>2]+n|0;e=0;q=0;d=j[a+20>>2];b=d;if(k[a+68|0]){q=j[d+8>>2];g=i[d+2>>1];b=j[d+4>>2]+(g<<3)|0;j[b>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[g+q|0]=2;q=k[a+68|0];b=j[a+20>>2]}i[d+2>>1]=l[d+2>>1]+1;o=j[c+8>>2]+o|0;n=f+j[c+4>>2]|0;f=b;if(q&255){q=j[b+8>>2];e=i[b+2>>1];d=j[b+4>>2]+(e<<3)|0;j[d>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[d+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=2;e=k[a+68|0];f=j[a+20>>2]}i[b+2>>1]=l[b+2>>1]+1;o=o+j[c+12>>2]|0;if(e&255){q=j[f+8>>2];e=i[f+2>>1];b=j[f+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[f+2>>1]=l[f+2>>1]+1;break V;case 8:g=vh(a,n,o);if(g){break b}o=j[c+4>>2]+o|0;n=j[c>>2]+n|0;break W;case 9:o=j[c+4>>2]+o|0;n=j[c>>2]+n|0;if(j[e+1400>>2]){break V}if(!j[a+64>>2]){break b}j[a+64>>2]=2;break V;case 10:g=vh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+3>>>0>m[b+4>>2]){g=yf(b,3,0);if(g){break b}}f=j[c+4>>2]+o|0;n=j[c>>2]+n|0;q=0;w=0;d=j[a+20>>2];b=d;if(k[a+68|0]){o=j[d+8>>2];g=i[d+2>>1];b=j[d+4>>2]+(g<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;h[o+g|0]=2;w=k[a+68|0];b=j[a+20>>2]}i[d+2>>1]=l[d+2>>1]+1;e=f+j[c+12>>2]|0;n=n+j[c+8>>2]|0;f=b;if(w&255){q=j[b+8>>2];o=i[b+2>>1];d=j[b+4>>2]+(o<<3)|0;j[d>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[d+4>>2]=((e|0)>=0?e+32768&-65536:0-(32768-e&-65536)|0)>>16;h[o+q|0]=2;q=k[a+68|0];f=j[a+20>>2]}i[b+2>>1]=l[b+2>>1]+1;o=e+j[c+20>>2]|0;n=n+j[c+16>>2]|0;if(q&255){q=j[f+8>>2];e=i[f+2>>1];b=j[f+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[f+2>>1]=l[f+2>>1]+1;break V;case 11:g=vh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+3>>>0>m[b+4>>2]){g=yf(b,3,0);if(g){break b}}f=j[c>>2]+o|0;e=0;q=0;d=j[a+20>>2];b=d;if(k[a+68|0]){o=j[d+8>>2];g=i[d+2>>1];b=j[d+4>>2]+(g<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;h[o+g|0]=2;q=k[a+68|0];b=j[a+20>>2]}i[d+2>>1]=l[d+2>>1]+1;o=f+j[c+8>>2]|0;n=j[c+4>>2]+n|0;f=b;if(q&255){q=j[b+8>>2];e=i[b+2>>1];d=j[b+4>>2]+(e<<3)|0;j[d>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[d+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=2;e=k[a+68|0];f=j[a+20>>2]}i[b+2>>1]=l[b+2>>1]+1;n=n+j[c+12>>2]|0;if(e&255){q=j[f+8>>2];e=i[f+2>>1];b=j[f+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[f+2>>1]=l[f+2>>1]+1;break V;case 12:g=vh(a,n,o);if(g){break b}o=j[c>>2]+o|0;break W;case 13:o=j[c>>2]+o|0;if(j[e+1400>>2]){break V}if(!j[a+64>>2]){break b}j[a+64>>2]=2;break V;case 19:D=c,E=De(j[c>>2],j[c+4>>2]),j[D>>2]=E;c=c+4|0;z=0;break V;case 21:b=j[c>>2];if((b|0)<0){break b}d=b>>16;if(((v-e|0)-1140|0)>180|(d|0)>=j[e+1364>>2]){break b}j[v>>2]=r;d=d<<2;b=j[u+12>>2];f=d+j[b+1368>>2]|0;r=j[f>>2];j[v+16>>2]=r;q=j[b+1372>>2];ea:{if(q){x=j[d+q>>2]+r|0;break ea}d=j[b+1360>>2];r=((d|0)>0?d:0)+r|0;j[v+16>>2]=r;x=j[f+4>>2]}j[v+12>>2]=r;j[v+20>>2]=x;if(!r){break b}v=v+12|0;j[b+1344>>2]=v;break V;case 22:if((y|0)>=1){y=y-1|0;break V}if(!t){break b}c=c+4|0;t=t-1|0;break V;case 23:if(e+1140>>>0>=v>>>0){break b}v=v-12|0;x=j[v+8>>2];r=j[v>>2];j[e+1344>>2]=v;break V;case 15:if(!s){break V}qe[j[s+12>>2]](j[s>>2],1,c);break V;case 16:if(!s){break V}qe[j[s+16>>2]](j[s>>2],1,c);break V;case 17:if(!s){break V}j[c>>2]=j[c>>2]+B;qe[j[s+12>>2]](j[s>>2],0,c);break V;case 18:if(!s){break V}j[c>>2]=j[c>>2]+B;j[c+8>>2]=j[c+8>>2]+B;j[c+16>>2]=j[c+16>>2]+B;qe[j[s+16>>2]](j[s>>2],0,c);break V;case 14:case 25:break V;case 24:break X;default:break b}}o=j[c+4>>2];n=j[c>>2];j[e+1400>>2]=0;break V}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+1>>>0>m[b+4>>2]){g=yf(b,1,0);if(g){break b}}d=j[a+20>>2];if(k[a+68|0]){q=j[d+8>>2];e=i[d+2>>1];b=j[d+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[d+2>>1]=l[d+2>>1]+1}e=j[u+12>>2];j[e+1136>>2]=c;break B}y=1;c=d;break C}c=d;break C}c=d}e=j[u+12>>2];j[e+1136>>2]=(y<<2)+c}b=r;if(x>>>0>b>>>0){continue}break}}g=0}oe=u+16|0;return g|0}function qh(a,b,c,d,e){var f=0,g=0,m=0,r=0,s=0,t=0,u=0,v=q(0),w=q(0),x=q(0),y=0,z=q(0),A=0,B=q(0),C=0,D=0,E=0;f=oe-1328|0;oe=f;a:{if(!j[57840]){t=-1;if(!c){break a}ve(24869,0);break a}b:{if(!c){if((b|0)<1){break b}y=f+1076|0;c=0;while(1){C=t;d=j[57841];c:{if((d|0)>=65535){j[f>>2]=d;ve(24949,f);d=0;break c}m=j[57845];d:{if(!m){m=qe[j[57972]](80)|0;if(m){j[57976]=j[57976]+1}if(m){break d}d=0;break c}j[57845]=j[m+72>>2]}e=p(c,56)+a|0;g=j[66367];e:{if(!g){break e}d=j[e>>2];if((d|0)==1024|(d|0)==1794?(g|0)<=1:0){break e}h[f+1168|0]=0;h[f+1296|0]=0;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{if((d&-32768)==32768){Re(f+1296|0,24981,32);d=j[e>>2];ca:{if(d>>>0>=32769){j[f+1088>>2]=d-32768;Ue(f+1104|0,16,24995,f+1088|0);break ca}h[f+1104|0]=0}d=j[e+4>>2];g=j[e+8>>2];r=j[e+16>>2];s=j[e+12>>2];j[y>>2]=j[e+20>>2];j[f+1072>>2]=r;j[f+1068>>2]=s;j[f+1060>>2]=d;j[f+1064>>2]=g;j[f+1056>>2]=f+1104;Ue(f+1168|0,128,24999,f+1056|0);d=j[e>>2]}if((d|0)<=1535){if((d|0)<=767){da:{switch(d-256|0){case 6:break X;case 5:break Y;case 4:break Z;case 3:break _;case 2:break $;case 1:break aa;case 0:break ba;default:break da}}switch(d-512|0){case 1:break R;case 0:break S;default:break j}}ea:{switch(d-768|0){case 3:break N;case 2:break O;case 1:break P;case 0:break Q;case 4:break W;default:break ea}}switch(d-1024|0){case 3:break J;case 2:break K;case 1:break L;case 0:break M;default:break i}}if((d|0)<=2047){fa:{switch(d-1536|0){case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:break i;case 85:break w;case 84:break x;case 83:break y;case 82:break z;case 81:break A;case 80:break B;case 6:break C;case 5:break D;case 4:break E;case 3:break F;case 2:break G;case 1:break H;case 0:break I;default:break fa}}switch(d-1792|0){case 2:break t;case 1:break u;case 0:break v;default:break i}}if((d|0)<=4095){switch(d-2048|0){case 2:break q;case 1:break r;case 0:break s;default:break V}}ga:{switch(d-4096|0){case 3:break m;case 2:break n;case 1:break o;case 0:break p;default:break ga}}ha:{switch(d-4352|0){case 1:break k;case 0:break l;default:break ha}}switch(d+ -8192|0){case 1:break T;case 0:break U;default:break i}}Re(f+1296|0,25097,32);j[f+48>>2]=j[e+4>>2];Ue(f+1168|0,128,25106,f+48|0);break g}Re(f+1296|0,25122,32);break g}Re(f+1296|0,25142,32);break g}Re(f+1296|0,25160,32);break g}Re(f+1296|0,25188,32);break g}Re(f+1296|0,25215,32);break g}Re(f+1296|0,25243,32);break g}Re(f+1296|0,25270,32);break g}if((d|0)!=2304){break i}Re(f+1296|0,25288,32);break g}Re(f+1296|0,25308,32);break g}Re(f+1296|0,25333,32);break g}Re(f+1296|0,25357,32);t=f+1104|0;d=h[e+12|0];if(d>>>0<=16){d=j[(d<<2)+27480>>2]}else{d=25815}Re(t,d,64);d=j[e+16>>2];g=j[e+4>>2];r=j[e+8>>2];j[f+80>>2]=j[e+20>>2];j[f+64>>2]=g;j[f+68>>2]=r;j[f+76>>2]=d;j[f+72>>2]=f+1104;Ue(f+1168|0,128,25837,f- -64|0);break g}Re(f+1296|0,25892,32);j[f+96>>2]=j[e+4>>2];Ue(f+1168|0,128,25106,f+96|0);break g}Re(f+1296|0,25907,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+20>>2];s=j[e+16>>2];u=k[e+12|0];t=k[e+13|0];j[f+136>>2]=l[e+24>>1];j[f+128>>2]=s;j[f+132>>2]=r;j[f+124>>2]=t?26013:26018;j[f+112>>2]=d;j[f+116>>2]=g;j[f+120>>2]=(u|0)==1?25996:26004;Ue(f+1168|0,128,25919,f+112|0);break g}Re(f+1296|0,26024,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+20>>2];s=j[e+16>>2];u=k[e+12|0];t=k[e+13|0];j[f+168>>2]=l[e+24>>1];j[f+160>>2]=s;j[f+164>>2]=r;j[f+156>>2]=t?26013:26018;j[f+144>>2]=d;j[f+148>>2]=g;j[f+152>>2]=(u|0)==1?25996:26004;Ue(f+1168|0,128,25919,f+144|0);break g}Re(f+1296|0,26034,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+44>>2];j[f+192>>2]=j[e+48>>2];j[f+188>>2]=r;j[f+176>>2]=d;j[f+180>>2]=g;j[f+184>>2]=e+12;Ue(f+1168|0,128,26050,f+176|0);break g}Re(f+1296|0,26107,32);d=j[e+4>>2];g=j[e+8>>2];j[f+216>>2]=e+12;j[f+208>>2]=d;j[f+212>>2]=g;Ue(f+1168|0,128,26121,f+208|0);break g}Re(f+1296|0,26159,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+16>>2];s=j[e+28>>2];u=j[e+24>>2];t=j[e+32>>2];A=j[e+12>>2];j[f+240>>2]=j[e+20>>2];j[f+252>>2]=t;j[f+244>>2]=u;j[f+248>>2]=s;j[f+236>>2]=r;j[f+224>>2]=d;j[f+228>>2]=g;j[f+232>>2]=A;Ue(f+1168|0,128,26175,f+224|0);break g}Re(f+1296|0,26247,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+16|0];s=j[e+24>>2];u=j[e+12>>2];t=k[e+17|0];A=j[e+20>>2];j[f+276>>2]=k[e+18|0];j[f+280>>2]=A;j[f+284>>2]=s;j[f+272>>2]=(t|0)==1?25996:26004;j[f+268>>2]=r;j[f+256>>2]=d;j[f+260>>2]=g;j[f+264>>2]=u;Ue(f+1168|0,128,26267,f+256|0);break g}Re(f+1296|0,26343,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+16|0];s=j[e+24>>2];u=j[e+12>>2];t=k[e+17|0];A=j[e+20>>2];j[f+308>>2]=k[e+18|0];j[f+312>>2]=A;j[f+316>>2]=s;j[f+304>>2]=(t|0)==1?25996:26004;j[f+300>>2]=r;j[f+288>>2]=d;j[f+292>>2]=g;j[f+296>>2]=u;Ue(f+1168|0,128,26267,f+288|0);break g}Re(f+1296|0,26361,32);d=j[e+16>>2];g=j[e+4>>2];r=j[e+8>>2];s=j[e+24>>2];u=j[e+12>>2];j[f+336>>2]=j[e+20>>2];j[f+340>>2]=s?26443:26436;j[f+320>>2]=g;j[f+324>>2]=r;j[f+332>>2]=d;j[f+328>>2]=u;Ue(f+1168|0,128,26376,f+320|0);break g}Re(f+1296|0,26451,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+12|0];j[f+364>>2]=i[e+16>>1];j[f+360>>2]=r;j[f+352>>2]=d;j[f+356>>2]=g;Ue(f+1168|0,128,26469,f+352|0);break g}Re(f+1296|0,26511,32);d=j[e+4>>2];g=j[e+8>>2];r=i[e+16>>1];s=k[e+12|0];j[f+384>>2]=i[e+18>>1];j[f+380>>2]=r;j[f+376>>2]=s;j[f+368>>2]=d;j[f+372>>2]=g;Ue(f+1168|0,128,26529,f+368|0);break g}Re(f+1296|0,26578,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+12|0];j[f+412>>2]=k[e+13|0];j[f+408>>2]=r;j[f+400>>2]=d;j[f+404>>2]=g;Ue(f+1168|0,128,26595,f+400|0);break g}Re(f+1296|0,26636,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+424>>2]=k[e+12|0];j[f+416>>2]=d;j[f+420>>2]=g;j[f+428>>2]=(r|0)==1?25996:26004;Ue(f+1168|0,128,26654,f+416|0);break g}Re(f+1296|0,26698,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+440>>2]=k[e+12|0];j[f+432>>2]=d;j[f+436>>2]=g;j[f+444>>2]=(r|0)==1?25996:26004;Ue(f+1168|0,128,26654,f+432|0);break g}Re(f+1296|0,26714,32);d=j[e+8>>2];j[f+448>>2]=j[e+4>>2];j[f+452>>2]=d;Ue(f+1168|0,128,26733,f+448|0);break g}Re(f+1296|0,26758,32);d=j[e+8>>2];j[f+464>>2]=j[e+4>>2];j[f+468>>2]=d;Ue(f+1168|0,128,26733,f+464|0);break g}Re(f+1296|0,26779,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+12|0];j[f+492>>2]=i[e+16>>1];j[f+488>>2]=r;j[f+480>>2]=d;j[f+484>>2]=g;Ue(f+1168|0,128,26469,f+480|0);break g}Re(f+1296|0,26804,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+504>>2]=k[e+12|0];j[f+496>>2]=d;j[f+500>>2]=g;j[f+508>>2]=(r|0)==1?25996:26004;Ue(f+1168|0,128,26654,f+496|0);break g}Re(f+1296|0,26829,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+520>>2]=k[e+12|0];j[f+512>>2]=d;j[f+516>>2]=g;j[f+524>>2]=(r|0)==1?25996:26004;Ue(f+1168|0,128,26654,f+512|0);break g}Re(f+1296|0,26852,32);d=j[e+8>>2];j[f+528>>2]=j[e+4>>2];j[f+532>>2]=d;Ue(f+1168|0,128,26733,f+528|0);break g}Re(f+1296|0,26878,32);d=j[e+8>>2];j[f+544>>2]=j[e+4>>2];j[f+548>>2]=d;Ue(f+1168|0,128,26733,f+544|0);break g}Re(f+1296|0,26906,32);d=j[e+8>>2];j[f+560>>2]=j[e+4>>2];j[f+564>>2]=d;Ue(f+1168|0,128,26733,f+560|0);break g}Re(f+1296|0,26935,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+24>>2];w=n[e+28>>2];x=n[e+32>>2];z=n[e+36>>2];B=n[e+40>>2];s=j[e+20>>2];j[f+592>>2]=j[e+16>>2];j[f+596>>2]=s;o[f+632>>3]=B;o[f+624>>3]=z;o[f+616>>3]=x;o[f+608>>3]=w;o[f+600>>3]=v;j[f+584>>2]=g;j[f+588>>2]=r;j[f+576>>2]=d;Ue(f+1168|0,128,26950,f+576|0);break g}Re(f+1296|0,27027,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+24>>2];w=n[e+28>>2];x=n[e+32>>2];z=n[e+36>>2];B=n[e+40>>2];s=j[e+20>>2];j[f+656>>2]=j[e+16>>2];j[f+660>>2]=s;o[f+696>>3]=B;o[f+688>>3]=z;o[f+680>>3]=x;o[f+672>>3]=w;o[f+664>>3]=v;j[f+648>>2]=g;j[f+652>>2]=r;j[f+640>>2]=d;Ue(f+1168|0,128,26950,f+640|0);break g}Re(f+1296|0,27040,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+24>>2];w=n[e+28>>2];x=n[e+32>>2];z=n[e+36>>2];B=n[e+40>>2];s=j[e+20>>2];j[f+720>>2]=j[e+16>>2];j[f+724>>2]=s;o[f+760>>3]=B;o[f+752>>3]=z;o[f+744>>3]=x;o[f+736>>3]=w;o[f+728>>3]=v;j[f+712>>2]=g;j[f+716>>2]=r;j[f+704>>2]=d;Ue(f+1168|0,128,26950,f+704|0);break g}Re(f+1296|0,27057,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+28>>2];w=n[e+32>>2];x=n[e+36>>2];s=j[e+20>>2];u=j[e+16>>2];j[f+792>>2]=j[e+24>>2];j[f+784>>2]=u;j[f+788>>2]=s;o[f+816>>3]=x;o[f+808>>3]=w;o[f+800>>3]=v;j[f+776>>2]=g;j[f+780>>2]=r;j[f+768>>2]=d;Ue(f+1168|0,128,27075,f+768|0);break g}Re(f+1296|0,27152,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+28>>2];w=n[e+32>>2];x=n[e+36>>2];s=j[e+20>>2];u=j[e+16>>2];j[f+856>>2]=j[e+24>>2];j[f+848>>2]=u;j[f+852>>2]=s;o[f+880>>3]=x;o[f+872>>3]=w;o[f+864>>3]=v;j[f+840>>2]=g;j[f+844>>2]=r;j[f+832>>2]=d;Ue(f+1168|0,128,27075,f+832|0);break g}Re(f+1296|0,27169,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+16>>2];w=n[e+24>>2];x=n[e+28>>2];z=n[e+20>>2];j[f+944>>2]=l[e+32>>1];o[f+920>>3]=z;o[f+936>>3]=x;o[f+928>>3]=w;o[f+912>>3]=v;j[f+904>>2]=g;j[f+908>>2]=r;j[f+896>>2]=d;Ue(f+1168|0,128,27186,f+896|0);break g}Re(f+1296|0,27258,32);d=j[e+4>>2];g=j[e+8>>2];j[f+968>>2]=j[e+12>>2];D=f,E=mP(d,g),j[D+960>>2]=E;j[f+964>>2]=pe;Ue(f+1168|0,128,27271,f+960|0);break g}Re(f+1296|0,27309,32);d=j[e+4>>2];g=j[e+8>>2];j[f+984>>2]=j[e+12>>2];D=f,E=mP(d,g),j[D+976>>2]=E;j[f+980>>2]=pe;Ue(f+1168|0,128,27271,f+976|0);break g}Re(f+1296|0,27322,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1e3>>2]=j[e+12>>2];D=f,E=mP(d,g),j[D+992>>2]=E;j[f+996>>2]=pe;Ue(f+1168|0,128,27271,f+992|0);break g}Re(f+1296|0,27336,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1016>>2]=j[e+12>>2];D=f,E=mP(d,g),j[D+1008>>2]=E;j[f+1012>>2]=pe;Ue(f+1168|0,128,27271,f+1008|0);break g}Re(f+1296|0,27353,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1032>>2]=k[e+12|0]?26013:26018;j[f+1024>>2]=d;j[f+1028>>2]=g;Ue(f+1168|0,128,27374,f+1024|0);break g}Re(f+1296|0,27412,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1048>>2]=k[e+12|0]?26013:26018;j[f+1040>>2]=d;j[f+1044>>2]=g;Ue(f+1168|0,128,27374,f+1040|0);break g}if(!d){break h}}if(k[f+1296|0]){break f}Re(f+1296|0,27435,32);j[f+32>>2]=j[e>>2];Ue(f+1168|0,128,27443,f+32|0);break g}Re(f+1296|0,25055,32);Re(f+1168|0,25070,128)}if(!k[f+1296|0]){break e}}j[f+20>>2]=f+1168;j[f+16>>2]=f+1296;Zg(27463,f+16|0)}d=j[e+4>>2];j[m>>2]=j[e>>2];j[m+4>>2]=d;d=j[e+52>>2];j[m+48>>2]=j[e+48>>2];j[m+52>>2]=d;d=j[e+44>>2];j[m+40>>2]=j[e+40>>2];j[m+44>>2]=d;d=j[e+36>>2];j[m+32>>2]=j[e+32>>2];j[m+36>>2]=d;d=j[e+28>>2];j[m+24>>2]=j[e+24>>2];j[m+28>>2]=d;d=j[e+20>>2];j[m+16>>2]=j[e+16>>2];j[m+20>>2]=d;d=j[e+12>>2];j[m+8>>2]=j[e+8>>2];j[m+12>>2]=d;if(j[e>>2]==513){d=j[e+8>>2];e=j[d+4>>2];j[m+56>>2]=j[d>>2];j[m+60>>2]=e;j[m- -64>>2]=j[d+8>>2];j[m+8>>2]=m+56}d=j[57844];ia:{if(d){j[d+72>>2]=m;break ia}j[57843]=m}j[57844]=m;j[m+72>>2]=0;j[m+68>>2]=d;e=j[57841];j[57841]=e+1;d=1;if((e|0)>2];j[y+12>>2]=t;t=y;if(m){continue}break}j[57847]=t}j[57846]=0}t=0;y=j[57843];if(!y){break b}s=(c|0)!=2;while(1){if((b|0)<=(t|0)?a:0){break b}c=y;y=j[c+72>>2];m=j[c>>2];if(!(m>>>0>>0|e>>>0>>0)){ja:{if(!a){break ja}r=j[c+4>>2];g=p(t,56)+a|0;m=g;j[m>>2]=j[c>>2];j[m+4>>2]=r;m=j[c+52>>2];j[g+48>>2]=j[c+48>>2];j[g+52>>2]=m;m=j[c+44>>2];j[g+40>>2]=j[c+40>>2];j[g+44>>2]=m;m=j[c+36>>2];j[g+32>>2]=j[c+32>>2];j[g+36>>2]=m;m=j[c+28>>2];j[g+24>>2]=j[c+24>>2];j[g+28>>2]=m;m=j[c+20>>2];j[g+16>>2]=j[c+16>>2];j[g+20>>2]=m;m=j[c+12>>2];j[g+8>>2]=j[c+8>>2];j[g+12>>2]=m;if(j[c>>2]==513){m=j[57847];ka:{if(m){j[57847]=j[m+12>>2];break ka}m=qe[j[57972]](16)|0;if(m){j[57976]=j[57976]+1}}r=j[c+8>>2];u=j[r+4>>2];j[m>>2]=j[r>>2];j[m+4>>2]=u;j[m+8>>2]=j[r+8>>2];j[m+12>>2]=j[57846];j[57846]=m;j[g+8>>2]=m}if(s){break ja}m=j[c+68>>2];if(m){j[m+72>>2]=j[c+72>>2]}g=j[c+72>>2];if(g){j[g+68>>2]=m}if((c|0)==j[57843]){j[57843]=g}if((c|0)==j[57844]){j[57844]=j[c+68>>2]}j[c+72>>2]=j[57845];j[57845]=c;j[57841]=j[57841]-1}t=t+1|0}if(y){continue}break}}if(!j[57839]){break a}}oe=f+1328|0;return t}function jr(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=oe-32|0;oe=e;u=j[b+100>>2];c=1;a:{b:{c:{d:{e:{f:{if(Fe(a,0)){break f}d=$e(a,90896,b+184|0);j[e+28>>2]=d;if(d){break f}c=3;if(j[b+184>>2]!=1885562369){break f}d=j[b+188>>2];if(d-1>>>0>134217726){break f}d=xe(u,16,0,d,0,e+28|0);j[b+192>>2]=d;c=64;if(j[e+28>>2]){break f}g:{if(j[b+188>>2]){while(1){c=$e(a,90912,d);j[e+28>>2]=c;if(c){break d}d=d+16|0;f=f+1|0;c=j[b+188>>2];if(f>>>0>>0){continue}break}r=1;d=j[b+192>>2];if((c|0)==1){break g}f=c}c=0;h:{i:{while(1){n=c+1|0;if((n|0)==(f|0)){g=f-1|0;q=j[a+4>>2];d=j[b+192>>2];break i}q=c^-1;g=j[d+12>>2];o=0;r=0;while(1){c=(r<<4)+d|0;r=r+1|0;l=(r<<4)+d|0;f=j[l+12>>2];if(g>>>0>f>>>0){g=j[c+12>>2];j[e+16>>2]=j[c+8>>2];j[e+20>>2]=g;g=j[c+4>>2];j[e+8>>2]=j[c>>2];j[e+12>>2]=g;g=j[l+12>>2];j[c+8>>2]=j[l+8>>2];j[c+12>>2]=g;g=j[l+4>>2];j[c>>2]=j[l>>2];j[c+4>>2]=g;g=j[e+20>>2];j[l+8>>2]=j[e+16>>2];j[l+12>>2]=g;g=j[e+12>>2];j[l>>2]=j[e+8>>2];j[l+4>>2]=g;o=1;f=j[l+12>>2]}g=j[c+8>>2];if(g>>>0>f>>>0|m[c+12>>2]>f-g>>>0){break h}g=f;f=j[b+188>>2];if(q+f>>>0>r>>>0){continue}break}g=f-1|0;if(o){c=n;if(g>>>0>c>>>0){continue}}break}r=1;q=j[a+4>>2];d=j[b+192>>2];n=d;if((f|0)==1){break e}}l=g>>>0>1?g:1;n=(l<<4)+d|0;g=0;c=d;while(1){o=j[c+8>>2];if(!(m[c+12>>2]<=q-o>>>0?o>>>0<=q>>>0:0)){j[e+28>>2]=8;break d}c=c+16|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}r=f;break e}j[e+28>>2]=9;break d}q=j[a+4>>2];n=d;break e}j[e+4>>2]=c;break b}c=j[n+12>>2];if(c>>>0>q>>>0){j[e+28>>2]=8;break d}c=q-c|0;if(c>>>0>2]){j[n+8>>2]=c}j[e+4>>2]=0;break c}d=j[b+192>>2];if(d){qe[j[u+8>>2]](u,d)}d=0;j[b+192>>2]=0;c=j[e+28>>2];j[e+4>>2]=c;if(c){break b}r=j[b+188>>2]}n=j[b+100>>2];q=3;j:{k:{l:{if(!r){break l}c=0;while(1){if(j[(c<<4)+d>>2]==1){q=83;g=j[((c<<4)+d|0)+12>>2];f=j[a+8>>2];if(g>>>0>>0){break l}if(xf(a,g-f|0)){break l}l=j[((c<<4)+d|0)+8>>2];d=0;j[e+8>>2]=0;c=Zf(a,e+8|0);if(c>>>0<=255){break k}c=0;break j}c=c+1|0;if((r|0)!=(c|0)){continue}break}}j[e+8>>2]=q;d=0;c=0;break j}if(j[e+8>>2]){c=0;break j}f=c&4;m:{if(f){g=sf(a,e+8|0);break m}g=Zf(a,e+8|0)}if(j[e+8>>2]){c=0;break j}if(g>>>0>(l>>>0)/9>>>0){j[e+8>>2]=8;c=0;break j}j[b+280>>2]=g;c=xe(n,12,0,g,0,e+8|0);if(j[e+8>>2]){break j}n:{if(!g){break n}while(1){o=p(d,12)+c|0;o:{if(f){o=$e(a,90944,o);j[e+8>>2]=o;if(!o){break o}d=0;break j}o=$e(a,90976,o);j[e+8>>2]=o;if(!o){break o}d=0;break j}d=d+1|0;if((g|0)!=(d|0)){continue}break}d=g&3;if(!d){break n}d=xf(a,4-d|0);j[e+8>>2]=d;if(!d){break n}j[e+8>>2]=83;d=0;break j}p:{if(f){f=sf(a,e+8|0);break p}f=Zf(a,e+8|0)}d=0;if(j[e+8>>2]){break j}if(f>>>0>l+p(g,-9)>>>0){j[e+8>>2]=8;break j}d=xe(n,1,0,f+1|0,0,e+8|0);if(j[e+8>>2]){break j}l=uf(a,d,f);j[e+8>>2]=l;if(l){break j}q=0;r=xe(n,12,0,g,0,e+8|0);if(j[e+8>>2]){break j}j[b+284>>2]=r;if(g){while(1){o=p(q,12);l=o+c|0;s=j[l>>2];if(!(f>>>0>=s>>>0?(s|0)>=0:0)){j[e+8>>2]=9;break j}o=o+r|0;y=o,z=gg(n,d+s|0,e+8|0),j[y>>2]=z;if(j[e+8>>2]){break j}s=k[l+4|0];h[o+4|0]=s;l=j[l+8>>2];q:{if(s){if(!(f>>>0>=l>>>0?(l|0)>=0:0)){j[e+8>>2]=9;break j}y=o,z=gg(n,d+l|0,e+8|0),j[y+8>>2]=z;if(!j[e+8>>2]){break q}break j}j[o+8>>2]=l}q=q+1|0;if((g|0)!=(q|0)){continue}break}}j[e+8>>2]=0}if(c){qe[j[n+8>>2]](n,c)}if(d){qe[j[n+8>>2]](n,d)}d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}r:{s:{d=j[b+188>>2];if(!d){break s}f=j[b+192>>2];c=0;while(1){if(j[(c<<4)+f>>2]!=256){c=c+1|0;if((d|0)!=(c|0)){continue}break s}break}g=0;break r}d=ir(a,b,2);j[e+4>>2]=d;if(d){break b}d=j[b+188>>2];f=j[b+192>>2];g=1}if(!d){j[e+4>>2]=3;break b}l=j[b+100>>2];c=0;t:{u:{while(1){if(j[(c<<4)+f>>2]==4){d=83;n=j[((c<<4)+f|0)+12>>2];o=j[a+8>>2];if(n>>>0>>0){break t}if(xf(a,n-o|0)){break t}f=j[((c<<4)+f|0)+8>>2];j[e+28>>2]=0;n=Zf(a,e+28|0);d=j[e+28>>2];if(d){break t}if(((n|256)&-256)==256){break u}j[e+4>>2]=3;break b}c=c+1|0;if((d|0)!=(c|0)){continue}break}j[e+4>>2]=3;break b}d=n&4;v:{if(n>>>0<=255){if(d){c=sf(a,e+28|0);break v}c=Zf(a,e+28|0);break v}if(d){c=qf(a,e+28|0);break v}c=Or(a,e+28|0)}d=3;if(j[e+28>>2]){break t}j[b+288>>2]=c;d=8;if(!c){break t}w:{if(n>>>0<=255){if(c>>>0<=(f>>>0)/12>>>0){break w}break t}if(c>>>0>(f>>>0)/5>>>0){break t}}f=xe(l,16,0,c,0,e+28|0);j[b+292>>2]=f;d=64;if(j[e+28>>2]){break t}o=c>>>0>1?c:1;r=n&4?91136:91168;n=n>>>0>255;d=0;x:{y:{while(1){z:{if(!n){c=$e(a,r,f);break z}c=$e(a,91200,e+8|0);if(c){break z}i[f>>1]=k[e+8|0]-128;i[f+2>>1]=k[e+9|0]-128;i[f+4>>1]=k[e+10|0]-128;i[f+6>>1]=k[e+11|0]-128;q=k[e+12|0];i[f+10>>1]=0;i[f+8>>1]=q-128}j[e+28>>2]=c;j[f+12>>2]=0;if(c){break y}if(!((i[f+8>>1]+i[f+6>>1]|0)>-1?i[f+2>>1]>=i[f>>1]:0)){j[f>>2]=0;j[f+4>>2]=0;i[f+8>>1]=0}f=f+16|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}j[e+4>>2]=0;break x}d=j[b+292>>2];if(d){qe[j[l+8>>2]](l,d)}j[b+292>>2]=0;d=j[e+28>>2];j[e+4>>2]=d;if(d){break b}}f=j[b+188>>2];if(!f){j[e+4>>2]=3;break b}d=j[b+192>>2];l=j[b+100>>2];c=0;A:{B:{while(1){if(j[d+(c<<4)>>2]==8){f=83;n=j[(d+(c<<4)|0)+12>>2];o=j[a+8>>2];if(n>>>0>>0){break A}if(xf(a,n-o|0)){break A}q=j[(d+(c<<4)|0)+8>>2];f=_e(a,8);j[e+8>>2]=f;if(!f){break B}break A}c=c+1|0;if((f|0)!=(c|0)){continue}break}j[e+4>>2]=3;break b}o=zm(a);r=o&4;C:{if(r){d=Ff(a);break C}d=zm(a)}Ve(a);if(o>>>0>255){j[e+4>>2]=3;break b}f=3;if((d|0)!=j[b+288>>2]){break A}c=0;n=xe(l,4,0,d,0,e+8|0);f=j[e+8>>2];if(f){break A}D:{if(d){while(1){s=n+(c<<2)|0;E:{if(r){f=sf(a,e+8|0);break E}f=Zf(a,e+8|0)}j[s>>2]=f;c=c+1|0;if((d|0)!=(c|0)){continue}break}if(j[e+8>>2]){break D}}F:{if(!r){Zf(a,e+8|0);if(j[e+8>>2]){break D}Zf(a,e+8|0);if(j[e+8>>2]){break D}Zf(a,e+8|0);if(j[e+8>>2]){break D}Zf(a,e+8|0);break F}sf(a,e+8|0);if(j[e+8>>2]){break D}sf(a,e+8|0);if(j[e+8>>2]){break D}sf(a,e+8|0);if(j[e+8>>2]){break D}sf(a,e+8|0)}if(j[e+8>>2]){break D}if(d){c=0;while(1){f=j[n+(c<<2)>>2];if(!((f|0)<0|f>>>0>q>>>0)){j[(j[b+292>>2]+(c<<4)|0)+12>>2]=f+j[a+8>>2]}c=c+1|0;if((d|0)!=(c|0)){continue}break}}j[b+308>>2]=o}if(n){qe[j[l+8>>2]](l,n)}d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}q=3;G:{f=j[b+188>>2];if(!f){break G}d=j[b+192>>2];r=j[b+100>>2];c=0;while(1){H:{if(j[d+(c<<4)>>2]==32){q=83;d=j[(d+(c<<4)|0)+12>>2];c=j[a+8>>2];if(d>>>0>>0){break G}if(xf(a,d-c|0)){break G}q=_e(a,14);j[e+8>>2]=q;if(!q){break H}break G}c=c+1|0;if((f|0)!=(c|0)){continue}break G}break}d=b;n=zm(a);t=n&4;I:{if(t){f=af(a);o=af(a);l=af(a);s=af(a);c=af(a);break I}f=pg(a);o=pg(a);l=pg(a);s=pg(a);c=pg(a)}i[d+304>>1]=c;Ve(a);q=3;if(n>>>0>255){break G}q=8;d=f<<16;if(d>>16<0){break G}c=o<<16>>16;if((c|0)>16|(c|0)>255){break G}c=l<<16>>16;if((c|0)<0|(c|0)>s<<16>>16|s<<16>>16>255){break G}q=64;f=0;v=s<<16>>16;n=l<<16>>16;w=o<<16>>16;o=d>>16;s=p((v-n|0)+1|0,(w-o|0)+1|0);l=xe(r,8,0,s,0,e+8|0);if(j[e+8>>2]){break G}d=_e(a,s<<1);j[e+8>>2]=d;J:{K:{if(d){break K}while(1){q=n<<8;c=o;while(1){L:{if(t){d=af(a);break L}d=pg(a)}if(d<<16>>16>=0){x=(f<<3)+l|0;i[x+4>>1]=d;j[x>>2]=c+q;f=f+1|0}d=(c|0)!=(w|0);c=c+1|0;if(d){continue}break}d=(n|0)!=(v|0);n=n+1|0;if(d){continue}break}Ve(a);l=xe(r,8,s,f,l,e+8|0);if(j[e+8>>2]){break K}j[b+300>>2]=l;j[b+296>>2]=f;j[e+4>>2]=0;break J}if(l){qe[j[r+8>>2]](r,l)}d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}}if(!g){a=ir(a,b,256);j[e+4>>2]=a;if(a){break b}}j[b>>2]=1;j[b+4>>2]=0;a=j[b+8>>2];j[b+8>>2]=a|146;if(k[b+199|0]){j[b+8>>2]=a|150}d=0;j[e+8>>2]=0;j[b+12>>2]=0;r=1;w=j[b+100>>2];c=j[b+280>>2];M:{N:{if((c|0)<1){g=0;t=0;s=0;o=1;n=0;f=0;v=1;break N}f=j[b+284>>2];while(1){O:{a=d;g=we(j[f+p(a,12)>>2],91228);d=a+1|0;if((c|0)<=(d|0)){break O}if(g){continue}}break}d=0;q=2;P:{if(g){n=0;break P}a=f+p(a,12)|0;if(!k[a+4|0]){n=0;break P}n=0;Q:{switch(k[j[a+8>>2]]-73|0){case 0:case 6:case 32:case 38:break Q;default:break P}}j[b+12>>2]=1;n=(k[j[a+8>>2]]&223)==79?91234:91242;q=3}while(1){R:{a=d;g=we(j[f+p(a,12)>>2],91249);d=a+1|0;if((c|0)<=(d|0)){break R}if(g){continue}}break}d=0;s=0;o=1;S:{if(g){break S}a=f+p(a,12)|0;o=1;if(!k[a+4|0]){break S}o=1;if((k[j[a+8>>2]]|32)!=98){break S}j[b+12>>2]=q;s=91261;o=0}while(1){T:{a=d;l=we(j[f+p(a,12)>>2],91266);d=a+1|0;if((c|0)<=(d|0)){break T}if(l){continue}}break}d=0;g=0;U:{if(l){break U}a=f+p(a,12)|0;g=0;if(!k[a+4|0]){break U}a=j[a+8>>2];l=k[a|0];g=0;if(!l){break U}g=0;if((l|0)==78){break U}g=0;if((l|0)==110){break U}g=a}while(1){V:{a=d;r=we(j[f+p(a,12)>>2],91280);d=a+1|0;if((c|0)<=(d|0)){break V}if(r){continue}}break}t=0;l=0;q=0;c=0;W:{if(r){break W}X:{a=f+p(a,12)|0;if(!k[a+4|0]){break X}a=j[a+8>>2];d=k[a|0];if(!d|(d|0)==78){break X}c=0;if((d|0)==110){break W}l=a;q=Le(a);c=q+1|0;break W}c=0}Y:{if(o){s=0;break Y}t=Le(s);c=(t+c|0)+1|0}d=0;Z:{if(!n){f=0;break Z}f=Le(n);c=(f+c|0)+1|0}r=!n;v=!g;if(g){d=Le(g);c=(d+c|0)+1|0}if(c){break M}}c=8;q=7;l=91295}c=He(w,c,e+8|0);j[b+24>>2]=c;a=j[e+8>>2];if(a){j[e+4>>2]=a;break b}if(l){c=Ae(c,l,q);if(q){a=0;while(1){l=a+c|0;if(k[l|0]==32){h[l|0]=45}a=a+1|0;if((q|0)!=(a|0)){continue}break}}c=c+q|0}if(!o){if(j[b+24>>2]!=(c|0)){h[c|0]=32;c=c+1|0}c=Ae(c,s,t)+t|0}if(!r){if(j[b+24>>2]!=(c|0)){h[c|0]=32;c=c+1|0}c=Ae(c,n,f)+f|0}if(!v){if(j[b+24>>2]!=(c|0)){h[c|0]=32;c=c+1|0}c=Ae(c,g,d);if(d){a=0;while(1){g=a+c|0;if(k[g|0]==32){h[g|0]=45}a=a+1|0;if((d|0)!=(a|0)){continue}break}}c=c+d|0}a=0;h[c|0]=0;d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}_:{$:{f=j[b+280>>2];if((f|0)<1){break $}c=j[b+284>>2];while(1){aa:{d=a;g=we(j[c+p(a,12)>>2],90780);a=a+1|0;if((f|0)<=(a|0)){break aa}if(g){continue}}break}if(g){break $}a=c+p(d,12)|0;if(!k[a+4|0]){break $}y=b,z=gg(u,j[a+8>>2],e+4|0),j[y+20>>2]=z;if(!j[e+4>>2]){break _}break b}j[b+20>>2]=0}j[b+28>>2]=1;j[b+16>>2]=j[b+288>>2]+1;d=0;a=xe(u,16,0,1,0,e+4|0);j[b+32>>2]=a;if(j[e+4>>2]){break b}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;o=j[b+208>>2]+j[b+204>>2]|0;i[a>>1]=o;f=j[b+284>>2];c=a;ba:{ca:{l=j[b+280>>2];if((l|0)<1){break ca}while(1){da:{g=d;n=we(j[f+p(d,12)>>2],90792);d=d+1|0;if((l|0)<=(d|0)){break da}if(n){continue}}break}if(n){break ca}d=(j[(f+p(g,12)|0)+8>>2]+5|0)/10|0;break ba}d=(o<<16>>15)/3|0}i[c+2>>1]=d;d=0;ea:{if((l|0)>0){while(1){fa:{c=d;n=we(j[f+p(c,12)>>2],90806);d=c+1|0;if((l|0)<=(d|0)){break fa}if(n){continue}}break}d=0;g=0;if(!n){g=(p(j[(f+p(c,12)|0)+8>>2],460800)+36135|0)/72270|0;j[a+4>>2]=g}while(1){ga:{c=d;o=we(j[f+p(c,12)>>2],90817);d=c+1|0;if((l|0)<=(d|0)){break ga}if(o){continue}}break}d=0;n=0;if(!o){n=j[(f+p(c,12)|0)+8>>2]<<16>>10;j[a+12>>2]=n}while(1){ha:{c=d;r=we(j[f+p(c,12)>>2],90828);d=c+1|0;if((l|0)<=(d|0)){break ha}if(r){continue}}break}d=0;o=0;o=r?o:i[(f+p(c,12)|0)+8>>1];while(1){ia:{c=d;r=we(j[f+p(c,12)>>2],90841);d=c+1|0;if((l|0)<=(d|0)){break ia}if(r){continue}}break}d=0;d=r?d:j[(f+p(c,12)|0)+8>>2];if(!n){j[a+12>>2]=g;if(!(d&65535)){break ea}n=(p(d<<16>>16,g)|0)/72|0;j[a+12>>2]=n}if(!o){g=n;break ea}if(!(d&65535)){g=n;break ea}g=(p(n,o)|0)/(d<<16>>16)|0;break ea}g=0;j[a+12>>2]=0}j[a+8>>2]=g;ja:{ka:{if((l|0)<1){break ka}d=0;while(1){la:{a=d;c=we(j[f+p(a,12)>>2],90854);d=a+1|0;if((l|0)<=(d|0)){break la}if(c){continue}}break}if(c){break ka}c=f+p(a,12)|0;break ja}c=0}ma:{na:{if((l|0)<1){break na}d=0;while(1){oa:{a=d;g=we(j[f+p(a,12)>>2],90871);d=a+1|0;if((l|0)<=(d|0)){break oa}if(g){continue}}break}if(g){break na}d=f+p(a,12)|0;break ma}d=0}a=0;if(!c|(!d|!k[c+4|0])){break a}if(!k[d+4|0]){break a}y=b,z=gg(u,j[d+8>>2],e+4|0),j[y+176>>2]=z;if(j[e+4>>2]){break b}y=b,z=gg(u,j[c+8>>2],e+4|0),j[y+180>>2]=z;if(!j[e+4>>2]){break a}break b}j[e+4>>2]=q;break b}j[e+4>>2]=f;break b}j[e+4>>2]=d}a=3}oe=e+32|0;return a}function Ez(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;n=j[a+4>>2];if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}r=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}o=k[n+31|0];q=j[(o<<2)+234976>>2];s=k[n+30|0];t=j[(s<<2)+234976>>2];u=k[n+29|0];w=j[(u<<2)+234976>>2];x=k[n+28|0];v=j[(x<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];m=k[n+32|0];while(1){b=j[c>>2];j[c>>2]=((p(r,k[w+((b&j[n+16>>2])>>>f|0)|0])>>>0)/255|0)+h>>>u<>2])>>>m|0)|0])>>>0)/255|0)+g>>>x<>2])>>>e|0)|0])>>>0)/255|0)+i>>>s<>2])>>>d|0)|0])>>>0)/255|0)+l>>>o<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){l=(m|0)!=0;o=a+(b<<2)|0;a=d-b|0;break d}a=a+(d<<2)|0;o=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}l=k[n+31|0];m=j[(l<<2)+234976>>2];q=k[n+30|0];r=j[(q<<2)+234976>>2];s=k[n+29|0];t=j[(s<<2)+234976>>2];u=k[n+28|0];w=j[(u<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];while(1){a=j[o>>2];x=k[t+((a&j[n+16>>2])>>>e|0)|0]+h|0;v=(x>>>0<255?x:255)>>>s<>2])>>>f|0)|0]+g|0;v=v|(x>>>0<255?x:255)>>>u<>2])>>>d|0)|0]+i|0;j[o>>2]=v|(x>>>0<255?x:255)>>>q<>2])>>>c|0)|0]>>>l<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){l=(m|0)!=0;o=a+(b<<2)|0;a=d-b|0;break e}a=a+(d<<2)|0;o=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}l=k[n+31|0];m=j[(l<<2)+234976>>2];q=k[n+30|0];r=j[(q<<2)+234976>>2];s=k[n+29|0];t=j[(s<<2)+234976>>2];u=k[n+28|0];w=j[(u<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];while(1){a=j[o>>2];j[o>>2]=(p(k[t+((a&j[n+16>>2])>>>e|0)|0],h)>>>0)/255>>>s<>2])>>>f|0)|0],g)>>>0)/255>>>u<>2])>>>d|0)|0],i)>>>0)/255>>>q<>2])>>>c|0)|0]>>>l<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;o=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;o=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2]=a;o=o+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}q=k[n+31|0];s=j[(q<<2)+234976>>2];t=k[n+30|0];u=j[(t<<2)+234976>>2];w=k[n+29|0];x=j[(w<<2)+234976>>2];v=k[n+28|0];y=j[(v<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];m=k[n+33|0];o=k[n+32|0];while(1){c=j[b>>2];j[b>>2]=((p(r,k[x+((c&j[n+16>>2])>>>m|0)|0])>>>0)/255|0)+h>>>w<>2])>>>o|0)|0])>>>0)/255|0)+g>>>v<>2])>>>e|0)|0])>>>0)/255|0)+i>>>t<>2])>>>d|0)|0])>>>0)/255|0)+l>>>q<>2]/k[n+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;o=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];l=k[n+32|0];while(1){a=j[o>>2];v=k[u+((a&j[n+16>>2])>>>e|0)|0]+h|0;y=(v>>>0<255?v:255)>>>t<>2])>>>l|0)|0]+g|0;y=y|(v>>>0<255?v:255)>>>w<>2])>>>d|0)|0]+i|0;j[o>>2]=y|(v>>>0<255?v:255)>>>r<>2])>>>c|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;o=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];l=k[n+32|0];while(1){a=j[o>>2];j[o>>2]=(p(k[u+((a&j[n+16>>2])>>>e|0)|0],h)>>>0)/255>>>t<>2])>>>l|0)|0],g)>>>0)/255>>>w<>2])>>>d|0)|0],i)>>>0)/255>>>r<>2])>>>c|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){o=(a+(p(b,c)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(b,e)<<2)|0)+(d<<2)|0;o=m?a:a+(b<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2]=a;o=b+o|0;c=c-1|0;if(c){continue}break}break a}w=b-d|0;o=w>>31;q=c-e|0;u=q>>31;if((o^o+w)==(u^q+u)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}o=k[n+31|0];q=j[(o<<2)+234976>>2];s=k[n+30|0];t=j[(s<<2)+234976>>2];u=k[n+29|0];w=j[(u<<2)+234976>>2];x=k[n+28|0];v=j[(x<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];m=k[n+32|0];y=c<<2;while(1){c=j[a>>2];j[a>>2]=((p(r,k[w+((c&j[n+16>>2])>>>f|0)|0])>>>0)/255|0)+h>>>u<>2])>>>m|0)|0])>>>0)/255|0)+g>>>x<>2])>>>e|0)|0])>>>0)/255|0)+i>>>s<>2])>>>d|0)|0])>>>0)/255|0)+l>>>o<>2]/k[n+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;o=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];l=k[n+32|0];c=c<<2;while(1){a=j[o>>2];v=k[u+((a&j[n+16>>2])>>>f|0)|0]+h|0;y=(v>>>0<255?v:255)>>>t<>2])>>>l|0)|0]+g|0;y=y|(v>>>0<255?v:255)>>>w<>2])>>>e|0)|0]+i|0;j[o>>2]=y|(v>>>0<255?v:255)>>>r<>2])>>>d|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;o=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];l=k[n+32|0];c=c<<2;while(1){a=j[o>>2];j[o>>2]=(p(k[u+((a&j[n+16>>2])>>>f|0)|0],h)>>>0)/255>>>t<>2])>>>l|0)|0],g)>>>0)/255>>>w<>2])>>>e|0)|0],i)>>>0)/255>>>r<>2])>>>d|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;o=m?a:a+(b<<2)|0}c=((m|0)!=0)+q|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2]=a;o=b+o|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:q=d-b|0;f=q>>31;s=e-c|0;o=s>>31;q=f^f+q;o=o^o+s;r:{if((q|0)>=(o|0)){u=o-q|0;s=o<<1;f=s-q|0;o=1;break r}u=q-o|0;t=1;s=q<<1;f=s-o|0;q=o;o=0}w=((m|0)!=0)+q|0;if(!w){break a}e=(c|0)>(e|0);x=e?0-t|0:t;d=(b|0)>(d|0);v=d?0-o|0:o;y=e?-1:1;C=d?-1:1;u=u<<1;z=k[n+31|0];D=j[(z<<2)+234976>>2];A=k[n+30|0];E=j[(A<<2)+234976>>2];B=k[n+29|0];F=j[(B<<2)+234976>>2];G=k[n+28|0];H=j[(G<<2)+234976>>2];e=k[n+35|0];m=k[n+34|0];o=k[n+33|0];q=k[n+32|0];J=j[a+20>>2];t=0;while(1){I=(p(j[a+16>>2],c)+J|0)+(b<<2)|0;d=j[I>>2];j[I>>2]=((p(r,k[F+((d&j[n+16>>2])>>>o|0)|0])>>>0)/255|0)+h>>>B<>2])>>>q|0)|0])>>>0)/255|0)+g>>>G<>2])>>>m|0)|0])>>>0)/255|0)+i>>>A<>2])>>>e|0)|0])>>>0)/255|0)+l>>>z<>31;q=e-c|0;l=q>>31;o=f^f+o;f=l^l+q;s:{if((o|0)>=(f|0)){s=f-o|0;t=f<<1;l=t-o|0;r=0;f=1;break s}s=o-f|0;r=1;t=o<<1;l=t-f|0;o=f;f=0}u=((m|0)!=0)+o|0;if(!u){break a}e=(c|0)>(e|0);w=e?0-r|0:r;d=(b|0)>(d|0);x=d?0-f|0:f;v=e?-1:1;y=d?-1:1;s=s<<1;C=k[n+31|0];z=j[(C<<2)+234976>>2];D=k[n+30|0];A=j[(D<<2)+234976>>2];E=k[n+29|0];B=j[(E<<2)+234976>>2];F=k[n+28|0];G=j[(F<<2)+234976>>2];e=k[n+35|0];f=k[n+34|0];m=k[n+33|0];o=k[n+32|0];H=j[a+20>>2];q=0;while(1){J=(H+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[J>>2];r=k[B+((d&j[n+16>>2])>>>m|0)|0]+h|0;I=(r>>>0<255?r:255)>>>E<>2])>>>o|0)|0]+g|0;I=I|(r>>>0<255?r:255)>>>F<>2])>>>f|0)|0]+i|0;j[J>>2]=I|(r>>>0<255?r:255)>>>D<>2])>>>e|0)|0]>>>C<>31;q=e-c|0;l=q>>31;o=f^f+o;f=l^l+q;t:{if((o|0)>=(f|0)){t=f-o|0;r=f<<1;l=r-o|0;f=1;break t}t=o-f|0;s=1;r=o<<1;l=r-f|0;o=f;f=0}u=((m|0)!=0)+o|0;if(!u){break a}e=(c|0)>(e|0);s=e?0-s|0:s;d=(b|0)>(d|0);w=d?0-f|0:f;x=e?-1:1;v=d?-1:1;t=t<<1;y=k[n+31|0];C=j[(y<<2)+234976>>2];z=k[n+30|0];D=j[(z<<2)+234976>>2];A=k[n+29|0];E=j[(A<<2)+234976>>2];B=k[n+28|0];F=j[(B<<2)+234976>>2];e=k[n+35|0];f=k[n+34|0];m=k[n+33|0];o=k[n+32|0];G=j[a+20>>2];q=0;while(1){H=(G+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[H>>2];j[H>>2]=(p(k[E+((d&j[n+16>>2])>>>m|0)|0],h)>>>0)/255>>>A<>2])>>>o|0)|0],g)>>>0)/255>>>B<>2])>>>f|0)|0],i)>>>0)/255>>>z<>2])>>>e|0)|0]>>>y<>31;r=e-c|0;o=r>>31;q=f^f+q;r=o^o+r;u:{if((q|0)>=(r|0)){t=r-q|0;f=r<<1;o=f-q|0;r=1;break u}t=q-r|0;s=1;f=q<<1;o=f-r|0;q=r;r=0}m=((m|0)!=0)+q|0;if(!m){break a}e=(c|0)>(e|0);q=e?0-s|0:s;d=(b|0)>(d|0);r=d?0-r|0:r;e=e?-1:1;s=d?-1:1;t=t<<1;g=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2];h=0;while(1){j[(i+p(j[a+16>>2],c)|0)+(b<<2)>>2]=g;d=(o|0)<0;o=(d?f:t)+o|0;b=(d?r:s)+b|0;c=(d?q:e)+c|0;h=h+1|0;if((m|0)!=(h|0)){continue}break}}}function Eu(a,b,c,d,e,f,g,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;n=oe-96|0;oe=n;a:{b:{if((c|0)==(f|0)){if((d|0)==(g|0)){break a}c:{d:{if((c|0)<=1431918168){e:{switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;case 0:case 11:break d;default:break e}}if((c|0)==825382478){break d}if((c|0)!=844715353){break c}break b}if((c|0)==1431918169|(c|0)==1498831189){break b}if((c|0)!=1448433993){break c}}if(b){o=b;while(1){Ge(g,d,a);g=g+m|0;d=d+e|0;o=o-1|0;if(o){continue}break}}f:{g:{switch(c-842094158|0){default:if((c|0)==825382478){break f}if((c|0)!=1448433993){break a}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break a;case 0:break f;case 11:break g}}if(b+2>>>0<3){break a}c=(m+1|0)/2|0;e=(e+1|0)/2|0;a=(a+1|0)/2|0;o=(b+1|0)/2<<1;while(1){Ge(g,d,a);g=c+g|0;d=d+e|0;o=o-1|0;if(o){continue}break}break a}if(b+2>>>0<3){break a}c=(m+1|0)/2<<1;e=(e+1|0)/2<<1;a=(a+1|0)/2<<1;o=(b+1|0)/2|0;while(1){Ge(g,d,a);g=c+g|0;d=d+e|0;o=o-1|0;if(o){continue}break}break a}D=n,E=Gg(c),j[D>>2]=E;t=ve(58373,n);break a}h:{i:{j:{k:{l:{m:{n:{if((c|0)<=1431918168){o:{switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 0:case 11:break n;default:break o}}if((c|0)==825382478){break n}if((c|0)==844715353){break m}break i}if((c|0)==1431918169|(c|0)==1498831189){break m}if((c|0)!=1448433993){break i}}p:{q:{r:{switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break p;case 0:case 11:break q;default:break r}}if((f|0)==1448433993){break q}if((f|0)!=825382478){break p}}if(!(!b|(d|0)==(g|0))){o=g;q=d;r=b;while(1){Ge(o,q,a);o=m+o|0;q=e+q|0;r=r-1|0;if(r){continue}break}}s:{t:{u:{v:{w:{x:{y:{switch(c-842094158|0){default:if((c|0)==825382478){break u}if((c|0)!=1448433993){break s}switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break s;case 0:break w;case 11:break x;default:break t};case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break s;case 0:break v;case 11:break y}}if((f|0)!=825382478){if((f|0)!=842094158){if((f|0)!=1448433993){break s}t=Tm(a,b,d,e,g,m);break a}t=pj(a,b,d,e,g,m,1);break a}t=pj(a,b,d,e,g,m,0);break a}t=Tm(a,b,d,e,g,m);break a}t=pj(a,b,d,e,g,m,0);break a}if((f|0)!=825382478){if((f|0)!=1448433993){if((f|0)!=842094169){break s}t=oj(a,b,d,e,g,m,1);break a}t=oj(a,b,d,e,g,m,0);break a}if(b+2>>>0<3){break a}c=(e+1|0)/2|0;d=p(b,e)+d|0;g=p(b,m)+g|0;e=(b+1|0)/2|0;b=a+2>>>0<3;a=(a+1|0)/2|0;f=(((m+1|0)/2|0)-a&2147483647)<<1;c=(c-a&2147483647)<<1;while(1){e=e-1|0;o=a;if(!b){while(1){m=l[d>>1];i[g>>1]=(m<<24|m<<8&16711680)>>>16;g=g+2|0;d=d+2|0;o=o-1|0;if(o){continue}break}}g=f+g|0;d=c+d|0;if(e){continue}break}break a}z:{switch(f-842094158|0){case 11:t=oj(a,b,d,e,g,m,0);break a;default:if((f|0)!=1448433993){break s}t=oj(a,b,d,e,g,m,1);break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break s;case 0:break z}}if(b+2>>>0<3){break a}c=(e+1|0)/2|0;d=p(b,e)+d|0;g=p(b,m)+g|0;e=(b+1|0)/2|0;b=a+2>>>0<3;a=(a+1|0)/2|0;f=(((m+1|0)/2|0)-a&2147483647)<<1;c=(c-a&2147483647)<<1;while(1){e=e-1|0;o=a;if(!b){while(1){m=l[d>>1];i[g>>1]=(m<<24|m<<8&16711680)>>>16;g=g+2|0;d=d+2|0;o=o-1|0;if(o){continue}break}}g=f+g|0;d=c+d|0;if(e){continue}break}break a}if((f|0)==825382478){break h}}a=Gg(c);D=n,E=Gg(f),j[D+52>>2]=E;j[n+48>>2]=a;t=ve(58435,n+48|0);break a}if((c|0)<=844715352){switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 0:case 11:break k;default:break l}}if((c|0)==844715353){break m}if((c|0)==1448433993){break k}if((c|0)!=1431918169){break i}}if(!((f|0)!=1431918169?!((f|0)==844715353|(f|0)==1498831189):0)){A:{B:{if((c|0)!=1498831189){if((c|0)==1431918169){break B}if((c|0)!=844715353){break A}if((f|0)!=1431918169){if((f|0)!=1498831189){break A}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d+1|0];q=k[d|0];r=k[d+3|0];h[g+3|0]=k[d+2|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d|0];q=k[d+3|0];r=k[d+2|0];h[g+3|0]=k[d+1|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if((f|0)!=1431918169){if((f|0)!=844715353){break A}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d+1|0];q=k[d|0];r=k[d+3|0];h[g+3|0]=k[d+2|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;f=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!f){while(1){q=k[d+3|0];a=k[d+1|0]|k[d+2|0]<<8;h[g+3|0]=k[d|0];h[g|0]=a;h[g+1|0]=a>>>8;h[g+2|0]=q;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if((f|0)!=1498831189){if((f|0)!=844715353){break A}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d|0];q=k[d+3|0];r=k[d+2|0];h[g+3|0]=k[d+1|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d+3|0];q=k[d|0];r=k[d+1|0];h[g+3|0]=k[d+2|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}a=Gg(c);D=n,E=Gg(f),j[D+36>>2]=E;j[n+32>>2]=a;t=ve(58514,n+32|0);break a}if((c|0)<=1448433992){if((c|0)==844715353|(c|0)==1431918169){break j}break i}if((c|0)==1498831189){break j}if((c|0)!=1448433993){break i}break k}if((c|0)!=825382478){break i}}if(!((f|0)!=1431918169?!((f|0)==844715353|(f|0)==1498831189):0)){if((d|0)==(g|0)){t=ve(58589,0);break a}t=-1;if((Zh(b,c,d,e,n+92|0,n+88|0,n+84|0,n+80|0,n+76|0)|0)<0){break a}e=j[n+80>>2];d=j[n+92>>2];C:{if(!((c|0)!=825382478?(c|0)!=842094158:0)){u=j[n+76>>2]+((a+1|0)/-2<<1)|0;r=2;break C}u=j[n+76>>2]+((a+1|0)/-2|0)|0;r=1}if((Zh(b,f,g,m,n+72|0,n+68|0,n- -64|0,n+60|0,n+56|0)|0)<0){break a}v=b-1|0;c=(a+1|0)/-2|0;if((b|0)>=2){A=e-a|0;g=d+e|0;e=j[n+60>>2];t=e+(c<<2)|0;w=a&-2;x=a-1|0;c=j[n+72>>2];o=e+c|0;f=j[n+68>>2];e=j[n+56>>2];q=f+e|0;s=j[n+64>>2];e=e+s|0;C=(a|0)<2;while(1){m=0;if(C){c=0}else{while(1){j[n+92>>2]=d+1;h[c|0]=k[d|0];j[n+92>>2]=d+2;c=j[n+72>>2];j[n+72>>2]=c+2;h[c+2|0]=k[d+1|0];j[n+72>>2]=j[n+72>>2]+2;h[j[n+68>>2]]=k[j[n+88>>2]];h[j[n+64>>2]]=k[j[n+84>>2]];h[o|0]=k[g|0];h[o+2|0]=k[g+1|0];h[q|0]=k[j[n+88>>2]];h[e|0]=k[j[n+84>>2]];j[n+88>>2]=r+j[n+88>>2];j[n+84>>2]=r+j[n+84>>2];f=j[n+68>>2]+4|0;j[n+68>>2]=f;s=j[n+64>>2]+4|0;j[n+64>>2]=s;e=e+4|0;q=q+4|0;o=o+4|0;g=g+2|0;m=m+2|0;if((m|0)<(x|0)){c=j[n+72>>2];d=j[n+92>>2];continue}break}c=w}D:{if((c|0)!=(x|0)){m=j[n+88>>2];c=j[n+84>>2];break D}c=j[n+92>>2];h[j[n+72>>2]]=k[c|0];j[n+92>>2]=c+1;d=j[n+72>>2];j[n+72>>2]=d+2;h[d+2|0]=k[c|0];j[n+72>>2]=j[n+72>>2]+2;h[f|0]=k[j[n+88>>2]];h[j[n+64>>2]]=k[j[n+84>>2]];h[o|0]=k[g|0];h[o+2|0]=k[g|0];h[q|0]=k[j[n+88>>2]];h[e|0]=k[j[n+84>>2]];e=e+4|0;q=q+4|0;o=o+4|0;g=g+1|0;s=j[n+64>>2]+4|0;f=j[n+68>>2]+4|0;m=r+j[n+88>>2]|0;c=r+j[n+84>>2]|0}j[n+88>>2]=m+u;j[n+84>>2]=c+u;B=A+j[n+80>>2]|0;d=B+j[n+92>>2]|0;j[n+92>>2]=d;y=t+j[n+60>>2]|0;c=y+j[n+72>>2]|0;j[n+72>>2]=c;m=t+j[n+56>>2]|0;f=m+f|0;j[n+68>>2]=f;s=m+s|0;j[n+64>>2]=s;e=e+m|0;q=m+q|0;o=o+y|0;g=g+B|0;z=z+2|0;if((v|0)>(z|0)){continue}break}o=b&-2}t=0;if((o|0)!=(v|0)){break a}b=a-1|0;if((a|0)<2){a=0}else{m=0;g=j[n+64>>2];o=j[n+84>>2];q=j[n+68>>2];e=j[n+88>>2];while(1){h[j[n+72>>2]]=k[d|0];c=j[n+72>>2];j[n+72>>2]=c+2;h[c+2|0]=k[d+1|0];j[n+72>>2]=j[n+72>>2]+2;h[q|0]=k[e|0];h[g|0]=k[o|0];g=g+4|0;q=q+4|0;o=o+r|0;e=e+r|0;d=d+2|0;m=m+2|0;if((b|0)>(m|0)){continue}break}j[n+88>>2]=e;j[n+92>>2]=d;j[n+68>>2]=q;j[n+84>>2]=o;j[n+64>>2]=g;a=a&-2}if((a|0)!=(b|0)){break a}h[j[n+72>>2]]=k[d|0];j[n+92>>2]=d+1;a=j[n+72>>2];j[n+72>>2]=a+2;h[a+2|0]=k[d|0];j[n+72>>2]=j[n+72>>2]+2;a=j[n+68>>2];b=j[n+88>>2];h[a|0]=k[b|0];c=j[n+64>>2];d=j[n+84>>2];h[c|0]=k[d|0];j[n+84>>2]=d+r;j[n+88>>2]=b+r;j[n+68>>2]=a+4;j[n+64>>2]=c+4;break a}if((c|0)==1431918169){break j}if((c|0)!=844715353){break i}}E:{F:{switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 0:case 11:break E;default:break F}}if((f|0)==1448433993){break E}if((f|0)!=825382478){break i}}if((d|0)==(g|0)){t=ve(58589,0);break a}t=-1;if((Zh(b,c,d,e,n+92|0,n+88|0,n+84|0,n+80|0,n+76|0)|0)<0){break a}r=j[n+80>>2];w=j[n+92>>2];c=j[n+88>>2];s=j[n+84>>2];d=j[n+76>>2];if((Zh(b,f,g,m,n+72|0,n+68|0,n- -64|0,n+60|0,n+56|0)|0)<0){break a}g=(a+1|0)/2|0;G:{if(!((f|0)!=825382478?(f|0)!=842094158:0)){u=j[n+56>>2]-(g<<1)|0;f=2;break G}u=j[n+56>>2]-g|0;f=1}o=j[n+72>>2];v=b-1|0;t=0;if((b|0)<2){b=0}else{q=d+s|0;e=c+d|0;d=r+w|0;x=r-(g<<2)|0;g=j[n+60>>2];C=g-a|0;g=g+o|0;w=a&-2;A=a-1|0;B=(a|0)<2;while(1){r=0;if(B){m=0}else{while(1){h[o|0]=k[j[n+92>>2]];c=j[n+92>>2];j[n+92>>2]=c+2;c=k[c+2|0];j[n+72>>2]=o+2;h[o+1|0]=c;j[n+92>>2]=j[n+92>>2]+2;h[g|0]=k[d|0];h[g+1|0]=k[d+2|0];m=j[n+68>>2];c=j[n+88>>2];h[m|0]=k[e|0]+k[c|0]>>>1;o=j[n+64>>2];s=j[n+84>>2];h[o|0]=k[q|0]+k[s|0]>>>1;s=s+4|0;j[n+84>>2]=s;c=c+4|0;j[n+88>>2]=c;j[n+68>>2]=f+m;j[n+64>>2]=f+o;q=q+4|0;e=e+4|0;d=d+4|0;g=g+2|0;r=r+2|0;if((r|0)<(A|0)){o=j[n+72>>2];continue}break}m=w}H:{if((m|0)!=(A|0)){r=j[n+68>>2];m=j[n+64>>2];break H}c=j[n+72>>2];h[c|0]=k[j[n+92>>2]];m=j[n+92>>2];j[n+92>>2]=m+2;m=k[m+2|0];j[n+72>>2]=c+1;h[c|0]=m;j[n+92>>2]=j[n+92>>2]+2;h[g|0]=k[d|0];h[g|0]=k[d+2|0];c=j[n+68>>2];m=j[n+88>>2];h[c|0]=k[e|0]+k[m|0]>>>1;o=j[n+64>>2];s=j[n+84>>2];h[o|0]=k[q|0]+k[s|0]>>>1;q=q+4|0;e=e+4|0;d=d+4|0;g=g+1|0;r=c+f|0;c=m+4|0;s=s+4|0;m=f+o|0}j[n+68>>2]=r+u;j[n+64>>2]=m+u;r=x+j[n+80>>2]|0;j[n+92>>2]=r+j[n+92>>2];m=x+j[n+76>>2]|0;c=m+c|0;j[n+88>>2]=c;s=m+s|0;j[n+84>>2]=s;y=C+j[n+60>>2]|0;o=y+j[n+72>>2]|0;j[n+72>>2]=o;g=g+y|0;q=m+q|0;e=e+m|0;d=d+r|0;z=z+2|0;if((v|0)>(z|0)){continue}break}b=b&-2}if((b|0)!=(v|0)){break a}b=a-1|0;if((a|0)<2){a=0}else{q=0;d=j[n+64>>2];g=j[n+68>>2];while(1){h[o|0]=k[j[n+92>>2]];e=j[n+92>>2];j[n+92>>2]=e+2;h[o+1|0]=k[e+2|0];j[n+92>>2]=j[n+92>>2]+2;h[g|0]=k[c|0];h[d|0]=k[s|0];d=d+f|0;g=f+g|0;s=s+4|0;c=c+4|0;o=o+2|0;q=q+2|0;if((b|0)>(q|0)){continue}break}j[n+88>>2]=c;j[n+72>>2]=o;j[n+68>>2]=g;j[n+84>>2]=s;j[n+64>>2]=d;a=a&-2}if((a|0)!=(b|0)){break a}h[o|0]=k[j[n+92>>2]];h[j[n+68>>2]]=k[j[n+88>>2]];h[j[n+64>>2]]=k[j[n+84>>2]];break a}a=Gg(c);D=n,E=Gg(f),j[D+20>>2]=E;j[n+16>>2]=a;t=ve(57973,n+16|0);break a}t=pj(a,b,d,e,g,m,1);break a}if(!b){break a}a=(a+1|0)/2<<2;while(1){Ge(g,d,a);g=g+m|0;d=d+e|0;b=b-1|0;if(b){continue}break}}oe=n+96|0;return t}function Wx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;a:{o=k[a+63|0];if(!o){break a}x=j[a+28>>2];if(!x){break a}y=j[a+36>>2];z=j[a+16>>2];c=j[a+24>>2];A=c&3;B=(c+3|0)/4|0;n=j[a>>2];g=j[a+20>>2];d=j[a+40>>2];u=k[d+9|0];w=u-1|0;b=j[a+44>>2];v=k[b+9|0];t=v-1|0;while(1){a=B;b:{c:{switch(A-1|0){default:m=3;break b;case 0:m=2;break b;case 1:m=1;break b;case 2:break c}}m=0}while(1){d:{e:{switch(m|0){case 0:m=0;e=0;f=0;c=0;f:{g:{h:{switch(w|0){case 0:c=k[n|0];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break g;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break g;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break g;case 3:break h;default:break f}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;i:{j:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break i;case 3:break j;default:break i}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;k:{l:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break k;case 3:break l;default:break k}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break n;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break n;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break n;case 3:break o;default:break m}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;p:{q:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break p;case 3:break q;default:break p}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;r:{s:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break r;case 3:break s;default:break r}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break u;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break u;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break u;case 3:break v;default:break t}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;w:{x:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break w;case 3:break x;default:break w}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;y:{z:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break y;case 3:break z;default:break y}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break B;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break B;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break B;case 3:break C;default:break A}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;D:{E:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break D;case 3:break E;default:break D}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;F:{G:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break F;case 3:break G;default:break F}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>0<=244){g=j[67128];f=a>>>0<11?16:a+11&-8;a=f>>>3|0;b=g>>>a|0;if(b&3){c=a+((b^-1)&1)|0;f=c<<3;b=j[f+268560>>2];a=b+8|0;d=j[b+8>>2];f=f+268552|0;m:{if((d|0)==(f|0)){q=268512,r=lP(-2,c)&g,j[q>>2]=r;break m}j[d+12>>2]=f;j[f+8>>2]=d}c=c<<3;j[b+4>>2]=c|3;b=b+c|0;j[b+4>>2]=j[b+4>>2]|1;break a}i=j[67130];if(i>>>0>=f>>>0){break l}if(b){c=2<>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;c=(c|b)+(a>>>b|0)|0;d=c<<3;b=j[d+268560>>2];a=j[b+8>>2];d=d+268552|0;n:{if((a|0)==(d|0)){g=lP(-2,c)&g;j[67128]=g;break n}j[a+12>>2]=d;j[d+8>>2]=a}a=b+8|0;j[b+4>>2]=f|3;e=b+f|0;c=c<<3;f=c-f|0;j[e+4>>2]=f|1;j[b+c>>2]=f;if(i){c=i>>>3|0;b=(c<<3)+268552|0;d=j[67133];c=1<>2]}j[b+8>>2]=d;j[c+12>>2]=d;j[d+12>>2]=b;j[d+8>>2]=c}j[67133]=e;j[67130]=f;break a}n=j[67129];if(!n){break l}a=(n&0-n)-1|0;b=a>>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;b=j[((c|b)+(a>>>b|0)<<2)+268816>>2];e=(j[b+4>>2]&-8)-f|0;c=b;while(1){p:{a=j[c+16>>2];if(!a){a=j[c+20>>2];if(!a){break p}}d=(j[a+4>>2]&-8)-f|0;c=d>>>0>>0;e=c?d:e;b=c?a:b;c=a;continue}break}o=b+f|0;if(o>>>0<=b>>>0){break k}l=j[b+24>>2];d=j[b+12>>2];if((d|0)!=(b|0)){a=j[b+8>>2];j[a+12>>2]=d;j[d+8>>2]=a;break b}c=b+20|0;a=j[c>>2];if(!a){a=j[b+16>>2];if(!a){break j}c=b+16|0}while(1){h=c;d=a;c=a+20|0;a=j[c>>2];if(a){continue}c=d+16|0;a=j[d+16>>2];if(a){continue}break}j[h>>2]=0;break b}f=-1;if(a>>>0>4294967231){break l}a=a+11|0;f=a&-8;i=j[67129];if(!i){break l}h=31;e=0-f|0;if(f>>>0<=16777215){b=a>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;g=c<>>16&2;a=(g<>>15|0)-(c|(a|b))|0;h=(a<<1|f>>>a+21&1)+28|0}c=j[(h<<2)+268816>>2];q:{r:{s:{if(!c){a=0;break s}a=0;b=f<<((h|0)==31?0:25-(h>>>1|0)|0);while(1){t:{g=(j[c+4>>2]&-8)-f|0;if(g>>>0>=e>>>0){break t}d=c;e=g;if(e){break t}e=0;a=c;break r}g=j[c+20>>2];c=j[((b>>>29&4)+c|0)+16>>2];a=g?(g|0)==(c|0)?a:g:a;b=b<<1;if(c){continue}break}}if(!(a|d)){a=2<>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;a=j[((c|b)+(a>>>b|0)<<2)+268816>>2]}if(!a){break q}}while(1){c=(j[a+4>>2]&-8)-f|0;b=c>>>0>>0;e=b?c:e;d=b?a:d;b=j[a+16>>2];if(b){a=b}else{a=j[a+20>>2]}if(a){continue}break}}if(!d|j[67130]-f>>>0<=e>>>0){break l}h=d+f|0;if(h>>>0<=d>>>0){break k}l=j[d+24>>2];b=j[d+12>>2];if((d|0)!=(b|0)){a=j[d+8>>2];j[a+12>>2]=b;j[b+8>>2]=a;break c}c=d+20|0;a=j[c>>2];if(!a){a=j[d+16>>2];if(!a){break i}c=d+16|0}while(1){g=c;b=a;c=a+20|0;a=j[c>>2];if(a){continue}c=b+16|0;a=j[b+16>>2];if(a){continue}break}j[g>>2]=0;break c}b=j[67130];if(b>>>0>=f>>>0){a=j[67133];c=b-f|0;u:{if(c>>>0>=16){j[67130]=c;d=a+f|0;j[67133]=d;j[d+4>>2]=c|1;j[a+b>>2]=c;j[a+4>>2]=f|3;break u}j[67133]=0;j[67130]=0;j[a+4>>2]=b|3;b=a+b|0;j[b+4>>2]=j[b+4>>2]|1}a=a+8|0;break a}d=j[67131];if(d>>>0>f>>>0){b=d-f|0;j[67131]=b;a=j[67134];c=a+f|0;j[67134]=c;j[c+4>>2]=b|1;j[a+4>>2]=f|3;a=a+8|0;break a}a=0;e=f+47|0;c=e;if(j[67246]){b=j[67248]}else{j[67249]=-1;j[67250]=-1;j[67247]=4096;j[67248]=4096;j[67246]=p+12&-16^1431655768;j[67251]=0;j[67239]=0;b=4096}g=c+b|0;h=0-b|0;c=g&h;if(c>>>0<=f>>>0){break a}i=j[67238];if(i){l=j[67236];b=l+c|0;if(b>>>0<=l>>>0|b>>>0>i>>>0){break a}}if(k[268956]&4){break f}v:{w:{b=j[67134];if(b){a=268960;while(1){i=j[a>>2];if(b>>>0>2]>>>0?i>>>0<=b>>>0:0){break w}a=j[a+8>>2];if(a){continue}break}}b=Jh(0);if((b|0)==-1){break g}g=c;a=j[67247];d=a-1|0;if(d&b){g=(c-b|0)+(b+d&0-a)|0}if(g>>>0>2147483646|f>>>0>=g>>>0){break g}d=j[67238];if(d){h=j[67236];a=h+g|0;if(a>>>0<=h>>>0|a>>>0>d>>>0){break g}}a=Jh(g);if((b|0)!=(a|0)){break v}break e}g=h&g-d;if(g>>>0>2147483646){break g}b=Jh(g);if((b|0)==(j[a>>2]+j[a+4>>2]|0)){break h}a=b}if(!((a|0)==-1|f+48>>>0<=g>>>0)){b=j[67248];b=b+(e-g|0)&0-b;if(b>>>0>2147483646){b=a;break e}if((Jh(b)|0)!=-1){g=b+g|0;b=a;break e}Jh(0-g|0);break g}b=a;if((a|0)!=-1){break e}break g}z()}d=0;break b}b=0;break c}if((b|0)!=-1){break e}}j[67239]=j[67239]|4}if(c>>>0>2147483646){break d}b=Jh(c);a=Jh(0);if(b>>>0>=a>>>0|(b|0)==-1|(a|0)==-1){break d}g=a-b|0;if(g>>>0<=f+40>>>0){break d}}a=j[67236]+g|0;j[67236]=a;if(a>>>0>m[67237]){j[67237]=a}x:{y:{z:{e=j[67134];if(e){a=268960;while(1){c=j[a>>2];d=j[a+4>>2];if((c+d|0)==(b|0)){break z}a=j[a+8>>2];if(a){continue}break}break y}a=j[67132];if(!(a>>>0<=b>>>0?a:0)){j[67132]=b}a=0;j[67241]=g;j[67240]=b;j[67136]=-1;j[67137]=j[67246];j[67243]=0;while(1){c=a<<3;d=c+268552|0;j[c+268560>>2]=d;j[c+268564>>2]=d;a=a+1|0;if((a|0)!=32){continue}break}a=g-40|0;c=b+8&7?-8-b&7:0;d=a-c|0;j[67131]=d;c=b+c|0;j[67134]=c;j[c+4>>2]=d|1;j[(a+b|0)+4>>2]=40;j[67135]=j[67250];break x}if(k[a+12|0]&8|b>>>0<=e>>>0|c>>>0>e>>>0){break y}j[a+4>>2]=d+g;a=e+8&7?-8-e&7:0;b=a+e|0;j[67134]=b;c=j[67131]+g|0;a=c-a|0;j[67131]=a;j[b+4>>2]=a|1;j[(c+e|0)+4>>2]=40;j[67135]=j[67250];break x}d=j[67132];if(d>>>0>b>>>0){j[67132]=b;d=0}c=b+g|0;a=268960;A:{B:{C:{D:{E:{F:{while(1){if((c|0)!=j[a>>2]){a=j[a+8>>2];if(a){continue}break F}break}if(!(k[a+12|0]&8)){break E}}a=268960;while(1){c=j[a>>2];if(c>>>0<=e>>>0){d=c+j[a+4>>2]|0;if(d>>>0>e>>>0){break D}}a=j[a+8>>2];continue}}j[a>>2]=b;j[a+4>>2]=j[a+4>>2]+g;l=(b+8&7?-8-b&7:0)+b|0;j[l+4>>2]=f|3;b=c+(c+8&7?-8-c&7:0)|0;a=(b-l|0)-f|0;h=f+l|0;if((b|0)==(e|0)){j[67134]=h;a=j[67131]+a|0;j[67131]=a;j[h+4>>2]=a|1;break B}if(j[67133]==(b|0)){j[67133]=h;a=j[67130]+a|0;j[67130]=a;j[h+4>>2]=a|1;j[a+h>>2]=a;break B}c=j[b+4>>2];if((c&3)==1){n=c&-8;G:{if(c>>>0<=255){f=c>>>3|0;c=j[b+8>>2];d=j[b+12>>2];if((d|0)==(c|0)){q=268512,r=j[67128]&lP(-2,f),j[q>>2]=r;break G}j[c+12>>2]=d;j[d+8>>2]=c;break G}i=j[b+24>>2];g=j[b+12>>2];H:{if((g|0)!=(b|0)){c=j[b+8>>2];j[c+12>>2]=g;j[g+8>>2]=c;break H}I:{e=b+20|0;f=j[e>>2];if(f){break I}e=b+16|0;f=j[e>>2];if(f){break I}g=0;break H}while(1){c=e;g=f;e=f+20|0;f=j[e>>2];if(f){continue}e=g+16|0;f=j[g+16>>2];if(f){continue}break}j[c>>2]=0}if(!i){break G}c=j[b+28>>2];d=(c<<2)+268816|0;J:{if(j[d>>2]==(b|0)){j[d>>2]=g;if(g){break J}q=268516,r=j[67129]&lP(-2,c),j[q>>2]=r;break G}j[i+(j[i+16>>2]==(b|0)?16:20)>>2]=g;if(!g){break G}}j[g+24>>2]=i;c=j[b+16>>2];if(c){j[g+16>>2]=c;j[c+24>>2]=g}c=j[b+20>>2];if(!c){break G}j[g+20>>2]=c;j[c+24>>2]=g}b=b+n|0;a=a+n|0}j[b+4>>2]=j[b+4>>2]&-2;j[h+4>>2]=a|1;j[a+h>>2]=a;if(a>>>0<=255){b=a>>>3|0;a=(b<<3)+268552|0;c=j[67128];b=1<>2]}j[a+8>>2]=h;j[b+12>>2]=h;j[h+12>>2]=a;j[h+8>>2]=b;break B}e=31;if(a>>>0<=16777215){c=a>>>8|0;b=c+1048320>>>16&8;d=c<>>16&4;f=d<>>16&2;b=(f<>>15|0)-(d|(b|c))|0;e=(b<<1|a>>>b+21&1)+28|0}j[h+28>>2]=e;j[h+16>>2]=0;j[h+20>>2]=0;b=(e<<2)+268816|0;c=j[67129];d=1<>2]=h;j[h+24>>2]=b;break L}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=j[b>>2];while(1){c=b;if((j[b+4>>2]&-8)==(a|0)){break C}b=e>>>29|0;e=e<<1;d=c+(b&4)|0;b=j[d+16>>2];if(b){continue}break}j[d+16>>2]=h;j[h+24>>2]=c}j[h+12>>2]=h;j[h+8>>2]=h;break B}a=g-40|0;c=b+8&7?-8-b&7:0;h=a-c|0;j[67131]=h;c=b+c|0;j[67134]=c;j[c+4>>2]=h|1;j[(a+b|0)+4>>2]=40;j[67135]=j[67250];a=(d+(d-39&7?39-d&7:0)|0)-47|0;c=a>>>0>>0?e:a;j[c+4>>2]=27;a=j[67243];j[c+16>>2]=j[67242];j[c+20>>2]=a;a=j[67241];j[c+8>>2]=j[67240];j[c+12>>2]=a;j[67242]=c+8;j[67241]=g;j[67240]=b;j[67243]=0;a=c+24|0;while(1){j[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((c|0)==(e|0)){break x}j[c+4>>2]=j[c+4>>2]&-2;d=c-e|0;j[e+4>>2]=d|1;j[c>>2]=d;if(d>>>0<=255){b=d>>>3|0;a=(b<<3)+268552|0;c=j[67128];b=1<>2]}j[a+8>>2]=e;j[b+12>>2]=e;j[e+12>>2]=a;j[e+8>>2]=b;break x}a=31;j[e+16>>2]=0;j[e+20>>2]=0;if(d>>>0<=16777215){b=d>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;g=c<>>16&2;a=(g<>>15|0)-(c|(a|b))|0;a=(a<<1|d>>>a+21&1)+28|0}j[e+28>>2]=a;b=(a<<2)+268816|0;c=j[67129];g=1<>2]=e;j[e+24>>2]=b;break N}a=d<<((a|0)==31?0:25-(a>>>1|0)|0);b=j[b>>2];while(1){c=b;if((d|0)==(j[b+4>>2]&-8)){break A}b=a>>>29|0;a=a<<1;g=c+(b&4)|0;b=j[g+16>>2];if(b){continue}break}j[g+16>>2]=e;j[e+24>>2]=c}j[e+12>>2]=e;j[e+8>>2]=e;break x}a=j[c+8>>2];j[a+12>>2]=h;j[c+8>>2]=h;j[h+24>>2]=0;j[h+12>>2]=c;j[h+8>>2]=a}a=l+8|0;break a}a=j[c+8>>2];j[a+12>>2]=e;j[c+8>>2]=e;j[e+24>>2]=0;j[e+12>>2]=c;j[e+8>>2]=a}a=j[67131];if(a>>>0<=f>>>0){break d}b=a-f|0;j[67131]=b;a=j[67134];c=a+f|0;j[67134]=c;j[c+4>>2]=b|1;j[a+4>>2]=f|3;a=a+8|0;break a}j[67100]=48;a=0;break a}O:{if(!l){break O}a=j[d+28>>2];c=(a<<2)+268816|0;P:{if(j[c>>2]==(d|0)){j[c>>2]=b;if(b){break P}i=lP(-2,a)&i;j[67129]=i;break O}j[l+(j[l+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break O}}j[b+24>>2]=l;a=j[d+16>>2];if(a){j[b+16>>2]=a;j[a+24>>2]=b}a=j[d+20>>2];if(!a){break O}j[b+20>>2]=a;j[a+24>>2]=b}Q:{if(e>>>0<=15){a=e+f|0;j[d+4>>2]=a|3;a=a+d|0;j[a+4>>2]=j[a+4>>2]|1;break Q}j[d+4>>2]=f|3;j[h+4>>2]=e|1;j[e+h>>2]=e;if(e>>>0<=255){b=e>>>3|0;a=(b<<3)+268552|0;c=j[67128];b=1<>2]}j[a+8>>2]=h;j[b+12>>2]=h;j[h+12>>2]=a;j[h+8>>2]=b;break Q}a=31;if(e>>>0<=16777215){b=e>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;f=c<>>16&2;a=(f<>>15|0)-(c|(a|b))|0;a=(a<<1|e>>>a+21&1)+28|0}j[h+28>>2]=a;j[h+16>>2]=0;j[h+20>>2]=0;b=(a<<2)+268816|0;S:{c=1<>2]=h;break T}a=e<<((a|0)==31?0:25-(a>>>1|0)|0);f=j[b>>2];while(1){b=f;if((j[b+4>>2]&-8)==(e|0)){break S}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;f=j[c+16>>2];if(f){continue}break}j[c+16>>2]=h}j[h+24>>2]=b;j[h+12>>2]=h;j[h+8>>2]=h;break Q}a=j[b+8>>2];j[a+12>>2]=h;j[b+8>>2]=h;j[h+24>>2]=0;j[h+12>>2]=b;j[h+8>>2]=a}a=d+8|0;break a}U:{if(!l){break U}a=j[b+28>>2];c=(a<<2)+268816|0;V:{if(j[c>>2]==(b|0)){j[c>>2]=d;if(d){break V}q=268516,r=lP(-2,a)&n,j[q>>2]=r;break U}j[l+(j[l+16>>2]==(b|0)?16:20)>>2]=d;if(!d){break U}}j[d+24>>2]=l;a=j[b+16>>2];if(a){j[d+16>>2]=a;j[a+24>>2]=d}a=j[b+20>>2];if(!a){break U}j[d+20>>2]=a;j[a+24>>2]=d}W:{if(e>>>0<=15){a=e+f|0;j[b+4>>2]=a|3;a=a+b|0;j[a+4>>2]=j[a+4>>2]|1;break W}j[b+4>>2]=f|3;j[o+4>>2]=e|1;j[e+o>>2]=e;if(i){c=i>>>3|0;a=(c<<3)+268552|0;d=j[67133];c=1<>2]}j[a+8>>2]=d;j[c+12>>2]=d;j[d+12>>2]=a;j[d+8>>2]=c}j[67133]=o;j[67130]=e}a=b+8|0}oe=p+16|0;return a|0}function Az(a,b,c,d,e,f,g,h,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;m=m|0;n=n|0;o=o|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;q=j[a+4>>2];if(f-1>>>0<=1){m=(p(m,n)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0}t=n^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;c:{if((b|0)<=(d|0)){e=(o|0)!=0;c=a+(b<<1)|0;a=d-b|0;break c}a=a+(d<<1)|0;c=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}n=k[q+30|0];o=j[(n<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];b=k[q+34|0];z=j[q+20>>2];d=k[q+33|0];w=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];while(1){f=l[c>>1];i[c>>1]=y|(((p(t,k[r+((f&w)>>>d|0)|0])>>>0)/255|0)+h>>>s<>>e|0)|0])>>>0)/255|0)+g>>>u<>>b|0)|0])>>>0)/255|0)+m>>>n<>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<1)|0;a=(o|0)!=0;break d}a=a+(d<<1)|0;n=o?a:a+2|0;c=b-d|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];c=k[q+33|0];z=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];while(1){e=l[n>>1];w=k[r+((e&z)>>>c|0)|0]+h|0;x=(w>>>0<255?w:255)>>>s<>>d|0)|0]+g|0;e=k[o+((e&y)>>>a|0)|0]+m|0;i[n>>1]=v|(x|(w>>>0<255?w:255)>>>t<>>0<255?e:255)>>>f<>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<1)|0;a=(o|0)!=0;break e}a=a+(d<<1)|0;n=o?a:a+2|0;c=b-d|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];c=k[q+33|0];z=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];while(1){e=l[n>>1];i[n>>1]=v|((p(k[r+((e&z)>>>c|0)|0],h)>>>0)/255>>>s<>>d|0)|0],g)>>>0)/255>>>t<>>a|0)|0],m)>>>0)/255>>>f<>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<1)|0;a=(o|0)!=0;break f}a=a+(d<<1)|0;n=o?a:a+2|0;c=b-d|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>1]=a;n=n+2|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[q+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break h}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}a=a+c|0;if(!a){break a}n=k[q+30|0];o=j[(n<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];c=k[q+34|0];z=j[q+20>>2];d=k[q+33|0];w=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];x=f<<1;while(1){f=l[b>>1];i[b>>1]=y|(((p(t,k[r+((f&w)>>>d|0)|0])>>>0)/255|0)+h>>>s<>>e|0)|0])>>>0)/255|0)+g>>>u<>>c|0)|0])>>>0)/255|0)+m>>>n<>2]/k[q+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break i}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}o=k[q+30|0];s=j[(o<<2)+234976>>2];r=k[q+29|0];t=j[(r<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];a=k[q+34|0];z=j[q+20>>2];c=k[q+33|0];w=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];f=f<<1;while(1){e=l[n>>1];x=k[t+((e&w)>>>c|0)|0]+h|0;A=(x>>>0<255?x:255)>>>r<>>d|0)|0]+g|0;e=k[s+((e&z)>>>a|0)|0]+m|0;i[n>>1]=y|(A|(x>>>0<255?x:255)>>>u<>>0<255?e:255)>>>o<>2]/k[q+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break j}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}o=k[q+30|0];s=j[(o<<2)+234976>>2];r=k[q+29|0];t=j[(r<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];a=k[q+34|0];z=j[q+20>>2];c=k[q+33|0];w=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];f=f<<1;while(1){e=l[n>>1];i[n>>1]=y|((p(k[t+((e&w)>>>c|0)|0],h)>>>0)/255>>>r<>>d|0)|0],g)>>>0)/255>>>u<>>a|0)|0],m)>>>0)/255>>>o<>2]/k[q+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break k}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}v=b-d|0;n=v>>31;s=c-e|0;r=s>>31;if((n^n+v)==(r^r+s)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[q+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=o?a:a+(c<<1)|0}b=((o|0)!=0)+s|0;if(!b){break a}n=k[q+30|0];o=j[(n<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];d=k[q+34|0];z=j[q+20>>2];e=k[q+33|0];w=j[q+16>>2];f=k[q+32|0];q=j[q+12>>2];x=c<<1;while(1){c=l[a>>1];i[a>>1]=y|(((p(t,k[r+((c&w)>>>e|0)|0])>>>0)/255|0)+h>>>s<>>f|0)|0])>>>0)/255|0)+g>>>u<>>d|0)|0])>>>0)/255|0)+m>>>n<>2]/k[q+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+s|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];d=k[q+33|0];z=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];w=c<<1;while(1){c=l[n>>1];x=k[r+((c&z)>>>d|0)|0]+h|0;A=(x>>>0<255?x:255)>>>s<>>e|0)|0]+g|0;c=k[o+((c&y)>>>a|0)|0]+m|0;i[n>>1]=v|(A|(x>>>0<255?x:255)>>>t<>>0<255?c:255)>>>f<>2]/k[q+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+s|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];d=k[q+33|0];z=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];w=c<<1;while(1){c=l[n>>1];i[n>>1]=v|((p(k[r+((c&z)>>>d|0)|0],h)>>>0)/255>>>s<>>e|0)|0],g)>>>0)/255>>>t<>>a|0)|0],m)>>>0)/255>>>f<>2]/k[q+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}c=((o|0)!=0)+s|0;if(!c){break a}a=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;f=n>>31;r=e-c|0;s=r>>31;n=f^f+n;r=s^r+s;r:{if((n|0)>=(r|0)){v=r-n|0;s=r<<1;f=s-n|0;r=1;break r}v=n-r|0;u=1;s=n<<1;f=s-r|0;n=r;r=0}y=((o|0)!=0)+n|0;if(!y){break a}e=(c|0)>(e|0);u=e?0-u|0:u;d=(b|0)>(d|0);r=d?0-r|0:r;z=e?-1:1;w=d?-1:1;v=v<<1;x=k[q+30|0];C=j[(x<<2)+234976>>2];A=k[q+29|0];D=j[(A<<2)+234976>>2];B=k[q+28|0];F=j[(B<<2)+234976>>2];G=j[q+24>>2];e=k[q+34|0];H=j[q+20>>2];n=k[q+33|0];I=j[q+16>>2];o=k[q+32|0];q=j[q+12>>2];J=j[a+16>>2];E=j[a+20>>2];a=0;while(1){K=(E+p(c,J)|0)+(b<<1)|0;d=l[K>>1];i[K>>1]=G|(((p(t,k[D+((d&I)>>>n|0)|0])>>>0)/255|0)+h>>>A<>>o|0)|0])>>>0)/255|0)+g>>>B<>>e|0)|0])>>>0)/255|0)+m>>>x<>31;r=e-c|0;n=r>>31;f=f^f+s;r=n^n+r;s:{if((f|0)>=(r|0)){v=r-f|0;s=r<<1;n=s-f|0;t=0;r=1;break s}v=f-r|0;t=1;s=f<<1;n=s-r|0;f=r;r=0}u=((o|0)!=0)+f|0;if(!u){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);y=d?0-r|0:r;z=e?-1:1;w=d?-1:1;v=v<<1;x=k[q+30|0];C=j[(x<<2)+234976>>2];A=k[q+29|0];D=j[(A<<2)+234976>>2];B=k[q+28|0];F=j[(B<<2)+234976>>2];G=j[q+24>>2];d=k[q+34|0];H=j[q+20>>2];e=k[q+33|0];I=j[q+16>>2];f=k[q+32|0];q=j[q+12>>2];J=j[a+16>>2];E=j[a+20>>2];a=0;while(1){K=(E+p(c,J)|0)+(b<<1)|0;o=l[K>>1];r=k[D+((o&I)>>>e|0)|0]+h|0;L=(r>>>0<255?r:255)>>>A<>>f|0)|0]+g|0;o=k[C+((o&H)>>>d|0)|0]+m|0;i[K>>1]=G|(L|(r>>>0<255?r:255)>>>B<>>0<255?o:255)>>>x<>31;r=e-c|0;n=r>>31;f=f^f+s;r=n^n+r;t:{if((f|0)>=(r|0)){u=r-f|0;t=1;s=r<<1;n=s-f|0;r=0;break t}u=f-r|0;s=f<<1;n=s-r|0;t=0;f=r;r=1}v=((o|0)!=0)+f|0;if(!v){break a}e=(c|0)>(e|0);r=e?0-r|0:r;d=(b|0)>(d|0);t=d?0-t|0:t;y=e?-1:1;z=d?-1:1;u=u<<1;w=k[q+30|0];x=j[(w<<2)+234976>>2];C=k[q+29|0];A=j[(C<<2)+234976>>2];D=k[q+28|0];B=j[(D<<2)+234976>>2];F=j[q+24>>2];e=k[q+34|0];G=j[q+20>>2];f=k[q+33|0];H=j[q+16>>2];o=k[q+32|0];q=j[q+12>>2];I=j[a+16>>2];J=j[a+20>>2];a=0;while(1){E=(J+p(c,I)|0)+(b<<1)|0;d=l[E>>1];i[E>>1]=F|((p(k[A+((d&H)>>>f|0)|0],h)>>>0)/255>>>C<>>o|0)|0],g)>>>0)/255>>>D<>>e|0)|0],m)>>>0)/255>>>w<>31;r=e-c|0;n=r>>31;s=f^f+s;r=n^n+r;u:{if((s|0)>=(r|0)){u=r-s|0;t=1;f=r<<1;n=f-s|0;r=0;break u}u=s-r|0;f=s<<1;n=f-r|0;t=0;s=r;r=1}o=((o|0)!=0)+s|0;if(!o){break a}e=(c|0)>(e|0);s=e?0-r|0:r;d=(b|0)>(d|0);r=d?0-t|0:t;e=e?-1:1;d=d?-1:1;t=u<<1;g=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>2];q=j[a+20>>2];m=0;while(1){i[(q+p(c,h)|0)+(b<<1)>>1]=g;a=(n|0)<0;n=(a?f:t)+n|0;b=(a?r:d)+b|0;c=(a?s:e)+c|0;m=m+1|0;if((o|0)!=(m|0)){continue}break}}}function wN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;n=oe-48|0;oe=n;u=j[b+100>>2];d=Fe(a,0);j[n+36>>2]=d;a:{if(d){break a}j[n+24>>2]=0;j[n+28>>2]=8;j[n+16>>2]=1;j[n+20>>2]=1;j[n+40>>2]=0;m=He(u,139324,n+40|0);b:{c:{d:{d=j[n+40>>2];if(!d){j[m+139320>>2]=u;i[m+12>>1]=32767;j[m+139304>>2]=0;j[m+139308>>2]=0;j[m+139316>>2]=u;j[m+139312>>2]=0;j[m+36>>2]=n+16;v=j[a+28>>2];j[n+44>>2]=0;d=1024;t=xe(v,1,0,1024,0,n+44|0);if(j[n+44>>2]){break d}j[n>>2]=580;h[t|0]=0;r=256;e=0;w=1;e:while(1){g=d;f:while(1){f=0;d=0;while(1){if(!(f&1)){q=Bm(a,e+t|0,g-e|0);o=q+e|0;e=0}g:{h:{i:{j:{if((d|0)>=(o|0)){break j}x=d+t|0;f=h[x|0];if((r|0)==(f|0)){break g}s=d;while(1){k:{y=f&255;switch(y-10|0){case 0:case 3:break i;default:break k}}s=s+1|0;if((s|0)==(o|0)){break j}f=k[s+t|0];continue}}if(!q){break d}if(!d){if(g>>>0<65536){break h}j[n+44>>2]=6;break d}q=o-d|0;yg(t,d+t|0,q);e=q;o=d;continue f}r=s+t|0;h[r|0]=0;l:{m:{switch(k[x|0]-26|0){case 0:case 9:break l;default:break m}}if((d|0)>=(s|0)){break l}z=s-d|0;d=qe[j[n>>2]](x,z,w,n,m)|0;j[n+44>>2]=d;if((d|0)==-1){d=qe[j[n>>2]](x,z,w,n,m)|0;j[n+44>>2]=d}if(d){break d}}h[r|0]=f;r=(y|0)==10?13:(y|0)==13?10:256;f=1;d=s+1|0;w=w+1|0;continue}d=g<<1;t=xe(v,1,g,d,t,n+44|0);e=g;if(!j[n+44>>2]){continue e}break d}f=1;d=d+1|0;r=256;continue}}}}e=0;if(!m){break b}break c}if(t){qe[j[v+8>>2]](v,t)}a=j[n+44>>2];j[n+40>>2]=a;e=j[m+32>>2];n:{if(a){break n}o:{p:{if(e){if(j[e+28>>2]!=8){i[e+32>>1]=l[e+4>>1]}a=j[e+64>>2];d=j[e+52>>2];if(j[m+4>>2]!=(a+d|0)){i[e+278660>>1]=1}q:{if(!(a|d)|!j[j[m+36>>2]>>2]){break q}a=i[m+12>>1];d=i[m+16>>1]-a|0;if((d|0)!=l[e+4>>1]){i[e+278660>>1]=1;i[e+4>>1]=d}if(l[e+8>>1]!=(a&65535)){i[e+278660>>1]=1;i[e+8>>1]=a}a=l[m+18>>1];d=a<<16;if((a|0)!=l[e+12>>1]){i[e+278660>>1]=1;i[e+12>>1]=a}a=l[m+20>>1];g=a<<16>>16;if((a|0)!=l[e+14>>1]){i[e+278660>>1]=1;i[e+14>>1]=a;i[e+10>>1]=0-a}a=g+(d>>16)|0;if((a|0)==l[e+6>>1]){break q}i[e+6>>1]=a}d=j[m>>2];if(d&1){break p}a=j[e+88>>2];if(!a){break c}a=xe(j[e+278664>>2],1,a,a+1|0,j[e+84>>2],n+40|0);e=j[m+32>>2];j[e+84>>2]=a;if(j[n+40>>2]){break n}h[a+j[e+88>>2]|0]=0;e=j[m+32>>2];break c}d=j[m>>2];if(!(d&1)){break o}}if(!(d&32)){j[n+40>>2]=185;e=0;break c}j[n+40>>2]=186;e=0;break c}j[n+40>>2]=3;e=0;break c}Er(e);a=j[m+32>>2];if(a){qe[j[u+8>>2]](u,a)}e=0;j[m+32>>2]=0}d=j[m+139316>>2];if(d){a=m+139304|0;g=j[a>>2];if(g){qe[j[d+8>>2]](d,g)}j[a+8>>2]=0;j[a+12>>2]=0;j[a>>2]=0;j[a+4>>2]=0}if(m){qe[j[u+8>>2]](u,m)}d=j[n+40>>2]}j[n+36>>2]=d;r:{s:{if((d&255)!=176){if(d){break a}j[b+140>>2]=e;if((c|0)>=1){vm(b);d=6;break a}j[b>>2]=1;j[b+4>>2]=0;c=j[b+8>>2];j[b+8>>2]=c|146;if(!e){break s}g=j[e+72>>2];if(!g){break s}d=j[e+128>>2];a=j[d+12>>2];m=j[d+4>>2];f=a+(3000791075%(m>>>0)<<2)|0;d=j[f>>2];if(d){m=(a+(m<<2)|0)-4|0;t:{while(1){u:{q=j[d>>2];if(k[q|0]==83){if(!we(q,75184)){break u}}d=f-4|0;f=a>>>0>d>>>0?m:d;d=j[f>>2];if(d){continue}break t}break}a=j[e+80>>2];if(!a){break t}a=a+(j[d+4>>2]<<4)|0;if(j[a+4>>2]!=1){break t}a=j[a+12>>2];if(!a){break t}v:{w:{a=k[a|0];switch(a-67|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break t;case 0:case 10:break v;default:break w}}switch(a-99|0){case 0:case 10:break v;default:break t}}j[b+8>>2]=c|150}if(!g){break s}}c=j[e+128>>2];a=j[c+12>>2];c=j[c+4>>2];f=a+(1183963782%(c>>>0)<<2)|0;d=j[f>>2];if(!d){break s}c=(a+(c<<2)|0)-4|0;while(1){x:{g=j[d>>2];if(k[g|0]==70){if(!we(g,75192)){break x}}d=f-4|0;f=a>>>0>d>>>0?c:d;d=j[f>>2];if(d){continue}break s}break}a=j[e+80>>2];if(!a){break s}a=j[(a+(j[d+4>>2]<<4)|0)+12>>2];if(!a){break s}A=b,B=gg(u,a,n+36|0),j[A+20>>2]=B;d=j[n+36>>2];if(d){break a}a=j[b+140>>2];break r}vm(b);d=2;break a}j[b+20>>2]=0;a=e}o=0;j[n>>2]=0;j[b+12>>2]=0;x=j[b+100>>2];q=1;c=a;y:{z:{if(!(!a|!j[a+72>>2])){w=0;a=0;g=2;d=j[c+128>>2];q=j[d+12>>2];o=j[d+4>>2];r=q+(78981326%(o>>>0)<<2)|0;f=j[r>>2];A:{if(!f){break A}a=(q+(o<<2)|0)-4|0;B:{while(1){d=j[f>>2];if(k[d|0]==83){if(!we(d,77589)){break B}}d=r-4|0;r=d>>>0>>0?a:d;f=j[r>>2];if(f){continue}break}a=0;break A}a=j[c+80>>2];if(!a){a=0;break A}d=a+(j[f+4>>2]<<4)|0;if(j[d+4>>2]!=1){a=0;break A}f=j[d+12>>2];if(!f){a=0;break A}a=0;C:{switch(k[f|0]-73|0){case 0:case 6:case 32:case 38:break C;default:break A}}j[b+12>>2]=1;a=(k[j[d+12>>2]]&223)==79?78154:78162;g=3}t=1;r=q+(4260511730%(o>>>0)<<2)|0;f=j[r>>2];D:{if(!f){break D}d=(q+(o<<2)|0)-4|0;while(1){E:{m=j[f>>2];if(k[m|0]==87){if(!we(m,77775)){break E}}f=r-4|0;r=f>>>0>>0?d:f;f=j[r>>2];if(f){continue}break D}break}d=j[c+80>>2];if(!d){break D}d=d+(j[f+4>>2]<<4)|0;if(j[d+4>>2]!=1){break D}d=j[d+12>>2];if(!d|(k[d|0]|32)!=98){break D}j[b+12>>2]=g;w=78169;t=0}m=0;r=q+(41411398%(o>>>0)<<2)|0;f=j[r>>2];g=0;F:{if(!f){break F}d=(q+(o<<2)|0)-4|0;G:{while(1){g=j[f>>2];if(k[g|0]==83){if(!we(g,77575)){break G}}g=r-4|0;r=g>>>0>>0?d:g;f=j[r>>2];if(f){continue}break}g=0;break F}d=j[c+80>>2];g=0;if(!d){break F}d=d+(j[f+4>>2]<<4)|0;g=0;if(j[d+4>>2]!=1){break F}d=j[d+12>>2];g=0;if(!d){break F}f=k[d|0];g=0;if(!f){break F}g=0;if((f|0)==78){break F}g=0;if((f|0)==110){break F}g=d}r=q+(657458935%(o>>>0)<<2)|0;f=j[r>>2];H:{I:{if(!f){break I}d=(q+(o<<2)|0)-4|0;J:{while(1){K:{o=j[f>>2];if(k[o|0]==65){if(!we(o,76784)){break K}}f=r-4|0;r=f>>>0>>0?d:f;f=j[r>>2];if(f){continue}break J}break}c=j[c+80>>2];if(!c){break J}r=0;c=c+(j[f+4>>2]<<4)|0;d=0;if(j[c+4>>2]!=1){break H}c=j[c+12>>2];if(!c){break J}f=k[c|0];if(!f|(f|0)==78){break I}d=0;if((f|0)==110){break H}m=c;r=Le(c);d=r+1|0;break H}}r=0;d=0}s=0;L:{if(t){v=0;break L}v=Le(w);d=(v+d|0)+1|0}if(a){s=Le(a);d=(s+d|0)+1|0}M:{if(!g){o=0;break M}o=Le(g);d=(o+d|0)+1|0}q=!a;c=!g;f=c;if(!d){break z}break y}g=0;v=0;w=0;t=1;a=0;s=0;f=1}c=f;d=8;r=7;m=78174}f=He(x,d,n);j[b+24>>2]=f;d=j[n>>2];if(d){j[n+36>>2]=d;break a}if(m){f=Ae(f,m,r);if(r){d=0;while(1){m=d+f|0;if(k[m|0]==32){h[m|0]=45}d=d+1|0;if((r|0)!=(d|0)){continue}break}}f=f+r|0}if(!t){if(j[b+24>>2]!=(f|0)){h[f|0]=32;f=f+1|0}f=Ae(f,w,v)+v|0}if(!q){if(j[b+24>>2]!=(f|0)){h[f|0]=32;f=f+1|0}f=Ae(f,a,s)+s|0}if(!c){if(j[b+24>>2]!=(f|0)){h[f|0]=32;f=f+1|0}a=Ae(f,g,o);if(o){d=0;while(1){c=a+d|0;if(k[c|0]==32){h[c|0]=45}d=d+1|0;if((o|0)!=(d|0)){continue}break}}f=a+o|0}h[f|0]=0;d=j[n>>2];j[n+36>>2]=d;if(d){break a}a=j[e+48>>2];j[b+28>>2]=1;j[b+16>>2]=a+1;c=xe(u,16,0,1,0,n+36|0);j[b+32>>2]=c;d=j[n+36>>2];if(d){break a}j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;m=j[e+44>>2]+j[e+40>>2]|0;i[c>>1]=m;g=c;N:{O:{q=j[e+72>>2];if(!q){break O}d=j[e+128>>2];a=j[d+12>>2];o=j[d+4>>2];f=a+(3825651940%(o>>>0)<<2)|0;d=j[f>>2];if(!d){break O}o=(a+(o<<2)|0)-4|0;while(1){P:{s=j[d>>2];if(k[s|0]==65){if(!we(s,75204)){break P}}d=f-4|0;f=a>>>0>d>>>0?o:d;d=j[f>>2];if(d){continue}break O}break}a=j[e+80>>2];if(!a){break O}a=(j[(a+(j[d+4>>2]<<4)|0)+12>>2]+5|0)/10|0;break N}a=(m<<16>>15)/3|0}i[g+2>>1]=a;m=c;Q:{R:{if(!e|!q){break R}d=j[e+128>>2];g=j[d+12>>2];o=j[d+4>>2];f=g+(1780881776%(o>>>0)<<2)|0;d=j[f>>2];if(!d){break R}o=(g+(o<<2)|0)-4|0;while(1){S:{s=j[d>>2];if(k[s|0]==80){if(!we(s,75218)){break S}}d=f-4|0;f=d>>>0>>0?o:d;d=j[f>>2];if(d){continue}break R}break}g=j[e+80>>2];if(!g){break R}g=(p(j[(g+(j[d+4>>2]<<4)|0)+12>>2],460800)+36135|0)/72270|0;break Q}g=a<<16>>10}j[m+4>>2]=g;T:{if(!e){j[c+12>>2]=g;break T}if(!q){j[c+12>>2]=g;break T}m=0;a=0;d=j[e+128>>2];o=j[d+12>>2];U:{V:{s=j[d+4>>2];f=o+(486426170%(s>>>0)<<2)|0;d=j[f>>2];if(!d){break V}a=(o+(s<<2)|0)-4|0;W:{X:{while(1){s=j[d>>2];if(k[s|0]==80){if(!we(s,75229)){break X}}d=f-4|0;f=d>>>0>>0?a:d;d=j[f>>2];if(d){continue}break}a=0;break W}a=j[e+80>>2];if(!a){a=0;break W}a=j[(a+(j[d+4>>2]<<4)|0)+12>>2]<<16>>10;j[c+12>>2]=a}if(q){break V}q=0;break U}d=j[e+128>>2];o=j[d+12>>2];Y:{s=j[d+4>>2];f=o+(2286220677%(s>>>0)<<2)|0;d=j[f>>2];if(!d){break Y}m=(o+(s<<2)|0)-4|0;Z:{_:{while(1){s=j[d>>2];if(k[s|0]==82){if(!we(s,75240)){break _}}d=f-4|0;f=d>>>0>>0?m:d;d=j[f>>2];if(d){continue}break}m=0;break Z}f=j[e+80>>2];m=0;if(!f){break Z}m=j[(f+(j[d+4>>2]<<4)|0)+12>>2]}if(q){break Y}q=0;break U}q=0;d=j[e+128>>2];o=j[d+12>>2];s=j[d+4>>2];f=o+(2286220678%(s>>>0)<<2)|0;d=j[f>>2];if(!d){break U}s=(o+(s<<2)|0)-4|0;while(1){$:{r=j[d>>2];if(k[r|0]==82){if(!we(r,75253)){break $}}d=f-4|0;f=d>>>0>>0?s:d;d=j[f>>2];if(d){continue}break U}break}f=j[e+80>>2];if(!f){break U}q=j[(f+(j[d+4>>2]<<4)|0)+12>>2]}if(!a){j[c+12>>2]=g;if(!(q&65535)){break T}a=(p(q<<16>>16,g)|0)/72|0;j[c+12>>2]=a}d=m<<16;if(!d){g=a;break T}if(!(q&65535)){g=a;break T}g=(p(d>>16,a)|0)/(q<<16>>16)|0}j[c+8>>2]=g;c=j[e+56>>2];g=xe(u,8,0,j[e+48>>2],0,n+36|0);j[b+144>>2]=g;d=j[n+36>>2];if(d){break a}j[b+164>>2]=0;f=j[e+48>>2];if(f){m=j[e+36>>2];d=0;while(1){a=j[(c+p(d,36)|0)+4>>2];q=g+(d<<3)|0;i[q+4>>1]=d;j[q>>2]=a;if((a|0)==(m|0)){j[b+164>>2]=d}d=d+1|0;if((f|0)!=(d|0)){continue}break}}aa:{c=j[e+72>>2];if(!c){break aa}d=j[e+128>>2];a=j[d+12>>2];g=j[d+4>>2];f=a+(3781719536%(g>>>0)<<2)|0;d=j[f>>2];ba:{if(!d){g=0;break ba}g=(a+(g<<2)|0)-4|0;ca:{da:{while(1){m=j[d>>2];if(k[m|0]==67){if(!we(m,75266)){break da}}d=f-4|0;f=a>>>0>d>>>0?g:d;d=j[f>>2];if(d){continue}break}g=0;break ca}g=j[e+80>>2]+(j[d+4>>2]<<4)|0}if(!e|!c){break aa}}c=j[e+128>>2];a=j[c+12>>2];c=j[c+4>>2];f=a+(1888187142%(c>>>0)<<2)|0;d=j[f>>2];if(!d){break aa}c=(a+(c<<2)|0)-4|0;while(1){ea:{m=j[d>>2];if(k[m|0]==67){if(!we(m,75283)){break ea}}d=f-4|0;f=a>>>0>d>>>0?c:d;d=j[f>>2];if(d){continue}break aa}break}if(!g){break aa}a=j[e+80>>2];if(!a|j[g+4>>2]!=1){break aa}c=j[d+4>>2];if(!j[g+12>>2]|j[(a+(c<<4)|0)+4>>2]!=1){break aa}a=j[(a+(c<<4)|0)+12>>2];if(!a){break aa}A=b,B=gg(u,a,n+36|0),j[A+132>>2]=B;d=j[n+36>>2];if(d){break a}c=gg(u,j[g+12>>2],n+36|0);j[b+136>>2]=c;d=j[n+36>>2];if(d){break a}a=n;d=a;fa:{ga:{ha:{if((k[c|0]|32)!=105|(k[c+1|0]|32)!=115|(k[c+2|0]|32)!=111){break ha}c=c+3|0;if(!we(c,75300)){break ga}if(we(c,75306)){break ha}if(!we(j[b+132>>2],75311)){break ga}}j[n>>2]=b;c=0;b=0;break fa}j[n>>2]=b;c=65539;b=1970170211}j[d+4>>2]=b;j[a+8>>2]=c;d=qg(75316,0,n,0);break a}j[n+4>>2]=1094995778;j[n+8>>2]=7;j[n>>2]=b;d=qg(75316,0,n,0);j[n+36>>2]=d;if(!j[b+36>>2]){break a}j[b+92>>2]=j[j[b+40>>2]>>2]}oe=n+48|0;return d|0}function Dz(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;n=j[a+4>>2];if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}q=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}l=k[n+30|0];m=j[(l<<2)+234976>>2];o=k[n+29|0];r=j[(o<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];b=k[n+34|0];d=k[n+33|0];e=k[n+32|0];while(1){f=j[c>>2];j[c>>2]=j[n+24>>2]|(((p(q,k[r+((f&j[n+16>>2])>>>d|0)|0])>>>0)/255|0)+h>>>o<>2])>>>e|0)|0])>>>0)/255|0)+g>>>s<>2])>>>b|0)|0])>>>0)/255|0)+i>>>l<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break d}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];t=k[q+((e&j[n+16>>2])>>>c|0)|0]+h|0;u=(t>>>0<255?t:255)>>>o<>2])>>>d|0)|0]+g|0;e=k[m+((e&j[n+20>>2])>>>a|0)|0]+i|0;j[l>>2]=j[n+24>>2]|(u|(t>>>0<255?t:255)>>>r<>>0<255?e:255)>>>f<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break e}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];j[l>>2]=j[n+24>>2]|((p(k[q+((e&j[n+16>>2])>>>c|0)|0],h)>>>0)/255>>>o<>2])>>>d|0)|0],g)>>>0)/255>>>r<>2])>>>a|0)|0],i)>>>0)/255>>>f<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2]=b|(a|j[n+24>>2]);l=l+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}m=k[n+30|0];o=j[(m<<2)+234976>>2];r=k[n+29|0];s=j[(r<<2)+234976>>2];t=k[n+28|0];u=j[(t<<2)+234976>>2];c=k[n+34|0];d=k[n+33|0];e=k[n+32|0];while(1){l=j[b>>2];j[b>>2]=j[n+24>>2]|(((p(q,k[s+((l&j[n+16>>2])>>>d|0)|0])>>>0)/255|0)+h>>>r<>2])>>>e|0)|0])>>>0)/255|0)+g>>>t<>2])>>>c|0)|0])>>>0)/255|0)+i>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+30|0];o=j[(m<<2)+234976>>2];q=k[n+29|0];r=j[(q<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];u=k[r+((e&j[n+16>>2])>>>c|0)|0]+h|0;v=(u>>>0<255?u:255)>>>q<>2])>>>d|0)|0]+g|0;e=k[o+((e&j[n+20>>2])>>>a|0)|0]+i|0;j[l>>2]=j[n+24>>2]|(v|(u>>>0<255?u:255)>>>s<>>0<255?e:255)>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+30|0];o=j[(m<<2)+234976>>2];q=k[n+29|0];r=j[(q<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];j[l>>2]=j[n+24>>2]|((p(k[r+((e&j[n+16>>2])>>>c|0)|0],h)>>>0)/255>>>q<>2])>>>d|0)|0],g)>>>0)/255>>>s<>2])>>>a|0)|0],i)>>>0)/255>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){l=(a+(p(b,c)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(b,e)<<2)|0)+(d<<2)|0;l=m?a:a+(b<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2]=d|(a|j[n+24>>2]);l=b+l|0;c=c-1|0;if(c){continue}break}break a}u=b-d|0;l=u>>31;o=c-e|0;t=o>>31;if((l^l+u)==(t^o+t)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}l=k[n+30|0];m=j[(l<<2)+234976>>2];o=k[n+29|0];r=j[(o<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];u=c<<2;while(1){c=j[a>>2];j[a>>2]=j[n+24>>2]|(((p(q,k[r+((c&j[n+16>>2])>>>e|0)|0])>>>0)/255|0)+h>>>o<>2])>>>f|0)|0])>>>0)/255|0)+g>>>s<>2])>>>d|0)|0])>>>0)/255|0)+i>>>l<>2]/k[n+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];d=k[n+33|0];e=k[n+32|0];t=c<<2;while(1){c=j[l>>2];u=k[q+((c&j[n+16>>2])>>>d|0)|0]+h|0;v=(u>>>0<255?u:255)>>>o<>2])>>>e|0)|0]+g|0;c=k[m+((c&j[n+20>>2])>>>a|0)|0]+i|0;j[l>>2]=j[n+24>>2]|(v|(u>>>0<255?u:255)>>>r<>>0<255?c:255)>>>f<>2]/k[n+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];d=k[n+33|0];e=k[n+32|0];t=c<<2;while(1){c=j[l>>2];j[l>>2]=j[n+24>>2]|((p(k[q+((c&j[n+16>>2])>>>d|0)|0],h)>>>0)/255>>>o<>2])>>>e|0)|0],g)>>>0)/255>>>r<>2])>>>a|0)|0],i)>>>0)/255>>>f<>2]/k[n+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(b<<2)|0}c=((m|0)!=0)+o|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2]=d|(a|j[n+24>>2]);l=b+l|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:o=d-b|0;f=o>>31;r=e-c|0;l=r>>31;o=f^f+o;l=l^l+r;r:{if((o|0)>=(l|0)){r=l-o|0;s=1;t=l<<1;f=t-o|0;l=0;break r}r=o-l|0;t=o<<1;f=t-l|0;o=l;l=1}o=((m|0)!=0)+o|0;if(!o){break a}e=(c|0)>(e|0);u=e?0-l|0:l;d=(b|0)>(d|0);C=d?0-s|0:s;D=e?-1:1;y=d?-1:1;r=r<<1;v=k[n+30|0];z=j[(v<<2)+234976>>2];w=k[n+29|0];A=j[(w<<2)+234976>>2];x=k[n+28|0];E=j[(x<<2)+234976>>2];e=k[n+34|0];l=k[n+33|0];m=k[n+32|0];B=j[a+20>>2];s=0;while(1){F=(B+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[F>>2];j[F>>2]=j[n+24>>2]|(((p(q,k[A+((d&j[n+16>>2])>>>l|0)|0])>>>0)/255|0)+h>>>w<>2])>>>m|0)|0])>>>0)/255|0)+g>>>x<>2])>>>e|0)|0])>>>0)/255|0)+i>>>v<>31;q=e-c|0;l=q>>31;f=f^f+o;o=l^l+q;s:{if((f|0)>=(o|0)){r=o-f|0;s=1;t=o<<1;l=t-f|0;o=0;break s}r=f-o|0;t=f<<1;l=t-o|0;f=o;o=1}u=((m|0)!=0)+f|0;if(!u){break a}e=(c|0)>(e|0);C=e?0-o|0:o;d=(b|0)>(d|0);s=d?0-s|0:s;D=e?-1:1;y=d?-1:1;r=r<<1;v=k[n+30|0];z=j[(v<<2)+234976>>2];w=k[n+29|0];A=j[(w<<2)+234976>>2];x=k[n+28|0];E=j[(x<<2)+234976>>2];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];B=j[a+20>>2];o=0;while(1){F=(B+p(j[a+16>>2],c)|0)+(b<<2)|0;m=j[F>>2];q=k[A+((m&j[n+16>>2])>>>e|0)|0]+h|0;G=(q>>>0<255?q:255)>>>w<>2])>>>f|0)|0]+g|0;m=k[z+((m&j[n+20>>2])>>>d|0)|0]+i|0;j[F>>2]=j[n+24>>2]|(G|(q>>>0<255?q:255)>>>x<>>0<255?m:255)>>>v<>31;q=e-c|0;l=q>>31;f=f^f+o;o=l^l+q;t:{if((f|0)>=(o|0)){q=o-f|0;s=o<<1;l=s-f|0;o=1;break t}q=f-o|0;r=1;s=f<<1;l=s-o|0;f=o;o=0}t=((m|0)!=0)+f|0;if(!t){break a}e=(c|0)>(e|0);r=e?0-r|0:r;d=(b|0)>(d|0);u=d?0-o|0:o;C=e?-1:1;D=d?-1:1;q=q<<1;y=k[n+30|0];v=j[(y<<2)+234976>>2];z=k[n+29|0];w=j[(z<<2)+234976>>2];A=k[n+28|0];x=j[(A<<2)+234976>>2];e=k[n+34|0];f=k[n+33|0];m=k[n+32|0];E=j[a+20>>2];o=0;while(1){B=(E+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[B>>2];j[B>>2]=j[n+24>>2]|((p(k[w+((d&j[n+16>>2])>>>f|0)|0],h)>>>0)/255>>>z<>2])>>>m|0)|0],g)>>>0)/255>>>A<>2])>>>e|0)|0],i)>>>0)/255>>>y<>31;q=e-c|0;l=q>>31;o=f^f+o;q=l^l+q;u:{if((o|0)>=(q|0)){s=q-o|0;f=q<<1;l=f-o|0;q=1;break u}s=o-q|0;r=1;f=o<<1;l=f-q|0;o=q;q=0}m=((m|0)!=0)+o|0;if(!m){break a}e=(c|0)>(e|0);o=e?0-r|0:r;d=(b|0)>(d|0);q=d?0-q|0:q;e=e?-1:1;r=d?-1:1;s=s<<1;g=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2];i=0;while(1){j[(t+p(j[a+16>>2],c)|0)+(b<<2)>>2]=h|(g|j[n+24>>2]);d=(l|0)<0;l=(d?f:s)+l|0;b=(d?q:r)+b|0;c=(d?o:e)+c|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}}}function Lx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;p=j[a+28>>2];if(p){r=j[a+36>>2];s=j[a+16>>2];b=j[a+40>>2];i=b;c=j[a+24>>2];t=c&7;u=(c+7|0)/8|0;e=j[a>>2];a=j[a+20>>2];n=k[b+9|0];o=n-1|0;while(1){q=u;a:{b:{switch(t-1|0){default:c=7;break a;case 0:c=6;break a;case 1:c=5;break a;case 2:c=4;break a;case 3:c=3;break a;case 4:c=2;break a;case 5:c=1;break a;case 6:break b}}c=0}while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{switch(c|0){case 0:m=0;c=0;d=0;g=0;f=0;h=0;y:{z:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break y;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break y;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break y;case 3:break z;default:break u}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break w}break v;case 1:m=0;c=0;d=0;g=0;f=0;h=0;A:{B:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break A;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break A;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break A;case 3:break B;default:break r}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break t}break s;case 2:m=0;c=0;d=0;g=0;f=0;h=0;C:{D:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break C;case 3:break D;default:break o}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break q}break p;case 3:m=0;c=0;d=0;g=0;f=0;h=0;E:{F:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break E;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break E;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break E;case 3:break F;default:break l}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break n}break m;case 4:m=0;c=0;d=0;g=0;f=0;h=0;G:{H:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break G;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break G;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break G;case 3:break H;default:break i}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break k}break j;case 5:m=0;c=0;d=0;g=0;f=0;h=0;I:{J:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break I;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break I;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break I;case 3:break J;default:break f}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break h}break g;case 6:m=0;c=0;d=0;g=0;f=0;h=0;K:{L:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break K;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break K;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break K;case 3:break L;default:break c}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break e}break d;default:break x}}m=0;c=0;d=0;g=0;f=0;h=0;M:{N:{O:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break N;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break N;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break N;case 3:break O;default:break M}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=0;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=1;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=2;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=3;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=4;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=5;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=6;continue}m=h<<22|3145728}f=d;h=c}v=p-1|0;j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;if((q|0)>1){q=q-1|0;c=7;continue}break}a=a+r|0;e=e+s|0;p=v;if(p){continue}break}}}function lN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;r=oe-16|0;oe=r;j[r+8>>2]=0;g=j[e+32>>2];u=j[g+278664>>2];a:{b:{c:{d:{if(Qe(a,75356,7)){break d}e:{c=k[a+7|0];switch(c|0){case 0:case 9:case 10:case 13:case 32:break e;default:break d}}j[r+12>>2]=0;d=j[g+88>>2];o=d;d=(c?-8:-7)+b|0;f=d+1|0;o=xe(u,1,o,o+f|0,j[g+84>>2],r+12|0);j[g+84>>2]=o;b=j[r+12>>2];if(!b){A=Ae(o+j[g+88>>2]|0,c?a+8|0:a+7|0,d)+d|0,B=10,h[A|0]=B;j[g+88>>2]=f+j[g+88>>2];b=j[r+12>>2]}j[r+8>>2]=b;break c}o=r;f:{g:{h:{i:{j:{k:{d=j[e>>2];if(!(d&32)){l:{m:{if(Qe(a,76749,5)){break m}switch(k[a+5|0]){case 0:case 9:case 10:case 13:case 32:break l;default:break m}}c=180;break i}c=e+139304|0;b=og(c,76720,a,b);j[r+8>>2]=b;if(b){break b}a=j[j[c>>2]+4>>2];if(!a){break k}f=k[a|0];if(!f){break k}c=77888;n=10;b=a;n:{if((f|0)!=48){break n}if((k[a+1|0]|32)!=120){f=48;b=a;break n}f=k[a+2|0];c=77856;n=16;b=a+2|0}a=f<<24>>24;if(!(k[((f&248)>>>3|0)+c|0]>>>(a&7)&1)){break k}f=0;while(1){f=k[a+77920|0]+p(f,n)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}j[g+48>>2]=f;j[e+4>>2]=f;if(!f){break h}if(f>>>0<1114112){break g}c=6;break i}o:{p:{if(Qe(a,78086,7)){break p}q:{switch(k[a+7|0]){case 0:case 9:case 10:case 13:case 32:break q;default:break p}}if(!(d&4032)){break o}c=186;break i}r:{if(Qe(a,78094,7)){break r}s:{switch(k[a+7|0]){case 0:case 9:case 10:case 13:case 32:break s;default:break r}}j[e+28>>2]=0;j[e>>2]=d&-4033;break f}q=d&64;if(j[j[e+36>>2]+4>>2]?0:!(!q|j[e+28>>2]!=-1)){break f}t:{if(Qe(a,78102,9)){break t}u:{switch(k[a+9|0]){case 0:case 9:case 10:case 13:case 32:break u;default:break t}}c=j[e+24>>2];if(c){qe[j[u+8>>2]](u,c)}j[e+24>>2]=0;g=e+139304|0;b=og(g,76720,a,b);j[r+8>>2]=b;if(b){break b}v:{w:{a=j[e+139312>>2];switch(a|0){case 0:break j;case 1:break v;default:break w}}c=a-1|0;a=0;b=1;while(1){d=j[g>>2];j[d+(a<<2)>>2]=j[d+(b<<2)>>2];b=b+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}j[e+139312>>2]=c;if(!c){break j}b=0;f=j[j[g>>2]>>2];a=f;while(1){d=k[a|0];if(d){while(1){h[b+f|0]=d;b=b+1|0;d=k[a+1|0];a=a+1|0;if(d){continue}break}c=j[e+139312>>2]}n=n+1|0;if(n>>>0>>0){h[b+f|0]=32;c=j[e+139312>>2];b=b+1|0}if(c>>>0>n>>>0){a=j[j[g>>2]+(n<<2)>>2];continue}break}if((f|0)!=77841){h[b+f|0]=0}a=b+1|0;c=xe(u,1,0,a,0,r+8|0);j[e+24>>2]=c;b=j[r+8>>2];if(b){break b}Ae(c,f,a);j[e>>2]=j[e>>2]|64;break f}j[e+139312>>2]=0;break j}x:{if(Qe(a,78112,8)){break x}y:{switch(k[a+8|0]){case 0:case 9:case 10:case 13:case 32:break y;default:break x}}c=181;if(!q){break i}c=e+139304|0;b=og(c,76720,a,b);j[r+8>>2]=b;if(b){break b}z:{A:{B:{C:{D:{E:{s=j[c>>2];a=j[s+4>>2];if(!a){break E}q=k[a|0];if(!q){break E}c=77888;n=10;t=(q|0)==45;d=t?a+1|0:a;b=d;a=k[a+t|0];F:{if((a|0)!=48){break F}if((k[d+1|0]|32)!=120){a=48;b=d;break F}a=k[d+2|0];c=77856;n=16;b=d+2|0}d=k[((a&248)>>>3|0)+c|0];a=a<<24>>24;if(d>>>(a&7)&1){while(1){f=k[a+77920|0]+p(f,n)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}}c=e+28|0;a=(q|0)==45?0-f|0:f;G:{H:{if((a|0)<=-2){j[e+28>>2]=-1;break H}j[e+28>>2]=a;if((a|0)!=-1){break G}}if(m[e+139312>>2]<3){break A}a=j[s+8>>2];if(!a){break D}q=k[a|0];if(!q){break D}n=77888;d=10;s=(q|0)==45;f=s?a+1|0:a;b=f;a=k[a+s|0];I:{if((a|0)!=48){break I}if((k[f+1|0]|32)!=120){a=48;b=f;break I}a=k[f+2|0];n=77856;d=16;b=f+2|0}f=0;x=k[((a&248)>>>3|0)+n|0];a=a<<24>>24;if(x>>>(a&7)&1){while(1){f=k[a+77920|0]+p(d,f)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+n|0]>>>(a&7)&1){continue}break}}a=(q|0)==45?0-f|0:f;j[e+28>>2]=a;if((a|0)<-1){break B}}if(a>>>0>1114111?(a|0)>=1:0){break j}if((a|0)>-1){break C}break A}c=e+28|0}a=0;j[c>>2]=0}b=(a>>>3&536870908)+e|0;d=j[b+40>>2];f=1<>2]=-1;i[g+278660>>1]=1;break A}j[b+40>>2]=d|f;b=j[g+52>>2];J:{if((b|0)!=j[g+48>>2]){f=j[g+56>>2];break J}f=xe(u,36,b,b- -64|0,j[g+56>>2],r+8|0);j[g+56>>2]=f;b=j[r+8>>2];if(b){break b}j[g+48>>2]=j[g+48>>2]- -64;b=j[g+52>>2];a=j[c>>2]}j[g+52>>2]=b+1;c=j[e+24>>2];b=p(b,36)+f|0;j[b+4>>2]=a;j[b>>2]=c;break z}j[e+28>>2]=-1}if(j[j[e+36>>2]+4>>2]){a=j[g+64>>2];K:{if((a|0)!=j[g+60>>2]){f=j[g+68>>2];break K}f=xe(u,36,a,a+4|0,j[g+68>>2],r+8|0);j[g+68>>2]=f;b=j[r+8>>2];if(b){break b}j[g+60>>2]=j[g+60>>2]+4;a=j[g+64>>2]}b=p(a,36)+f|0;j[b>>2]=j[e+24>>2];j[g+64>>2]=a+1;j[b+4>>2]=a;break z}a=j[e+24>>2];if(a){qe[j[u+8>>2]](u,a)}}j[e+24>>2]=0;j[e>>2]=j[e>>2]&1073741695|128;break f}c=j[e+28>>2]==-1;s=j[g+(c?64:52)>>2]-1|0;t=j[g+(c?68:56)>>2];if(d&2048){c=j[e+8>>2];b=p(s,36)+t|0;if(c>>>0>=l[b+14>>1]){if((d|0)<0){break f}j[e>>2]=d|-2147483648;i[g+278660>>1]=1;break f}d=c;c=j[b+28>>2];b=j[b+24>>2]+p(d,c)|0;d=c<<1;L:{if(!d){c=0;break L}M:{while(1){c=f;o=k[f+a|0];f=o<<24>>24;if(!(k[(o>>>3|0)+77856|0]>>>(f&7)&1)){break M}h[b|0]=k[f+77920|0]+(k[b|0]<<4);f=c+1|0;if(!(!(c&1)|d>>>0<=f>>>0)){h[b+1|0]=0;b=b+1|0}if((d|0)!=(f|0)){continue}break}c=d;break L}f=j[e>>2];if(f&1073741824){break L}j[e>>2]=f|1073741824;i[g+278660>>1]=1}f=l[(p(s,36)+t|0)+12>>1];if(f){h[b|0]=k[b|0]&k[(p(f,l[j[e+32>>2]+278662>>1])&7)+78121|0]}N:{if((c|0)!=(d|0)){break N}a=k[a+d|0];if(!(k[(a>>>3|0)+77856|0]>>>(a&7)&1)){break N}a=j[e>>2];if(a&1073741824){break N}j[e>>2]=a|1073741824;i[g+278660>>1]=1}j[e+8>>2]=j[e+8>>2]+1;break f}O:{P:{if(Qe(a,78129,6)){break P}Q:{switch(k[a+6|0]){case 0:case 9:case 10:case 13:case 32:break Q;default:break P}}if(!(d&128)){break O}c=e+139304|0;b=og(c,76720,a,b);j[r+8>>2]=b;if(b){break b}d=0;a=j[j[c>>2]+4>>2];R:{if(!a){break R}n=k[a|0];if(!n){break R}f=77888;c=10;b=a;S:{if((n|0)!=48){break S}if((k[a+1|0]|32)!=120){n=48;b=a;break S}n=k[a+2|0];f=77856;c=16;b=a+2|0}a=n<<24>>24;if(!(k[((n&248)>>>3|0)+f|0]>>>(a&7)&1)){break R}while(1){d=k[a+77920|0]+p(c,d)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+f|0]>>>(a&7)&1){continue}break}}i[(p(s,36)+t|0)+8>>1]=d;j[e>>2]=j[e>>2]|256;break f}T:{if(Qe(a,78136,6)){break T}U:{switch(k[a+6|0]){case 0:case 9:case 10:case 13:case 32:break U;default:break T}}if(!(d&128)){break O}c=e+139304|0;b=og(c,76720,a,b);j[r+8>>2]=b;if(b){break b}a=j[j[c>>2]+4>>2];V:{if(!a){break V}q=k[a|0];if(!q){break V}c=77888;n=10;b=a;W:{if((q|0)!=48){break W}if((k[a+1|0]|32)!=120){q=48;b=a;break W}q=k[a+2|0];c=77856;n=16;b=a+2|0}a=q<<24>>24;if(!(k[((q&248)>>>3|0)+c|0]>>>(a&7)&1)){break V}while(1){f=k[a+77920|0]+p(f,n)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}}c=p(s,36)+t|0;i[c+10>>1]=f;b=e;a=j[b>>2];if(!(a&256)){A=c,B=Ne(f&65535,72e3,p(j[g+20>>2],j[g+16>>2])),i[A+8>>1]=B;a=j[e>>2]}j[b>>2]=a|512;break f}X:{if(Qe(a,78143,3)){break X}Y:{switch(k[a+3|0]){case 0:case 9:case 10:case 13:case 32:break Y;default:break X}}if(!(d&128)){break O}d=e+139304|0;b=og(d,76720,a,b);j[r+8>>2]=b;if(b){break b}c=0;v=j[d>>2];a=j[v+4>>2];Z:{if(!a){break Z}d=k[a|0];if(!d){break Z}n=77888;q=10;b=a;_:{if((d|0)!=48){break _}if((k[a+1|0]|32)!=120){d=48;b=a;break _}d=k[a+2|0];n=77856;q=16;b=a+2|0}a=d<<24>>24;if(!(k[((d&248)>>>3|0)+n|0]>>>(a&7)&1)){break Z}while(1){f=k[a+77920|0]+p(f,q)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+n|0]>>>(a&7)&1){continue}break}}o=p(s,36)+t|0;i[o+12>>1]=f;a=j[v+8>>2];$:{if(!a){break $}d=k[a|0];if(!d){break $}n=77888;q=10;b=a;aa:{if((d|0)!=48){break aa}if((k[a+1|0]|32)!=120){d=48;b=a;break aa}d=k[a+2|0];n=77856;q=16;b=a+2|0}a=d<<24>>24;if(!(k[((d&248)>>>3|0)+n|0]>>>(a&7)&1)){break $}while(1){c=k[a+77920|0]+p(c,q)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+n|0]>>>(a&7)&1){continue}break}}i[o+14>>1]=c;y=p(s,36)+t|0;x=y;a=j[v+12>>2];o=0;ba:{if(!a){break ba}z=k[a|0];o=0;if(!z){break ba}q=77888;d=10;n=(z|0)==45;o=n?a+1|0:a;b=o;a=k[a+n|0];ca:{if((a|0)!=48){break ca}if((k[o+1|0]|32)!=120){a=48;b=o;break ca}a=k[o+2|0];q=77856;d=16;b=o+2|0}n=0;o=k[((a&248)>>>3|0)+q|0];a=a<<24>>24;if(o>>>(a&7)&1){while(1){n=k[a+77920|0]+p(d,n)<<16>>16;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+q|0]>>>(a&7)&1){continue}break}}o=(z|0)==45?0-n|0:n}i[x+16>>1]=o;a=j[v+16>>2];da:{if(!a){break da}v=k[a|0];if(!v){break da}q=77888;d=10;w=(v|0)==45;n=w?a+1|0:a;b=n;a=k[a+w|0];ea:{if((a|0)!=48){break ea}if((k[n+1|0]|32)!=120){a=48;b=n;break ea}a=k[n+2|0];q=77856;d=16;b=n+2|0}n=0;x=k[((a&248)>>>3|0)+q|0];a=a<<24>>24;if(x>>>(a&7)&1){while(1){n=k[a+77920|0]+p(d,n)<<16>>16;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+q|0]>>>(a&7)&1){continue}break}}w=(v|0)==45?0-n|0:n}a=0-w|0;i[y+22>>1]=a;b=c+w|0;i[y+20>>1]=b;i[y+18>>1]=w;c=f+o|0;i[e+22>>1]=c;d=i[e+18>>1];i[e+18>>1]=(d|0)>16?b:d;b=i[e+20>>1];i[e+20>>1]=(b|0)>16?a:b;a=i[e+16>>1];i[e+16>>1]=(a|0)>16?c:a;a=i[e+12>>1];b=a;a=o<<16>>16;i[e+12>>1]=(b|0)>(a|0)?o:b;b=i[e+14>>1];i[e+14>>1]=(a|0)>(b|0)?o:b;a=j[e>>2];if(!(a&512)){i[(p(s,36)+t|0)+10>>1]=f}fa:{if(!j[j[e+36>>2]>>2]){break fa}a=p(s,36)+t|0;b=Ne(l[a+10>>1],72e3,p(j[g+20>>2],j[g+16>>2]));if(l[a+8>>1]==(b&65535)){a=j[e>>2];break fa}i[a+8>>1]=b;ga:{if(j[e+28>>2]==-1){b=j[g+64>>2]-1|0;a=(g+(b>>>3&536870908)|0)+139396|0;break ga}b=j[(p(s,36)+t|0)+4>>2];a=(g+(b>>5<<2)|0)+132|0}j[a>>2]=j[a>>2]|1<>2];i[g+278660>>1]=1;a=a|4096}j[e>>2]=a|1024;break f}if(Qe(a,78147,6)){break j}ha:{switch(k[a+6|0]){case 0:case 9:case 10:case 13:case 32:break ha;default:break j}}c=183;if(!(d&1024)){break i}a=p(s,36)+t|0;c=p(l[g+278662>>1],l[a+12>>1]);b=c+7>>>3|0;j[a+28>>2]=b;ia:{if(c>>>0<=524280){a=p(b,l[a+14>>1]);if(a>>>0<65536){break ia}}c=184;break i}b=p(s,36)+t|0;i[b+32>>1]=a;A=b,B=xe(u,1,0,a,0,r+8|0),j[A+24>>2]=B;b=j[r+8>>2];if(b){break b}j[e+8>>2]=0;j[e>>2]=j[e>>2]|2048;break f}c=182;break i}fg(j[g+56>>2],j[g+52>>2],36,583);j[e>>2]=j[e>>2]&-2;break f}j[g+48>>2]=0;j[e+4>>2]=0;break h}c=3}b=c;j[o+8>>2]=b;break b}f=64;j[g+48>>2]=64}A=g,B=xe(u,36,0,f,0,r+8|0),j[A+56>>2]=B;b=j[r+8>>2];if(b){break b}j[e>>2]=j[e>>2]|32}b=j[r+8>>2]}if(b){break b}b=0;break a}if(!(k[e|0]&64)){break a}a=j[e+24>>2];if(a){qe[j[u+8>>2]](u,a)}j[e+24>>2]=0;b=j[r+8>>2]}oe=r+16|0;return b|0}function Zl(a,b,c,d){var e=0,f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;e=oe-144|0;oe=e;j[e+140>>2]=0;u=j[a+12>>2];x=j[a>>2];a:{if(!(c>>>0<2|l[x+290>>1]>=c>>>0)){j[e+140>>2]=21;break a}j[a+20>>2]=b;r=65536;o=65536;if(!(h[a+16|0]&1)){f=j[a+4>>2];r=j[f+52>>2];o=j[f+48>>2]}y=j[j[x+128>>2]+48>>2];b:{if(y){f=qe[j[j[y>>2]>>2]](j[y+4>>2],b,e+88|0)|0;j[e+140>>2]=f;if(f){break a}p=j[e+92>>2];j[a+28>>2]=p;j[e+128>>2]=0;j[e+132>>2]=0;j[e+120>>2]=0;j[e+124>>2]=0;j[e+112>>2]=0;j[e+116>>2]=0;j[e+104>>2]=0;j[e+108>>2]=0;j[e+96>>2]=0;j[e+100>>2]=0;f=j[e+88>>2];j[e+128>>2]=0;j[e+104>>2]=0;j[e+100>>2]=p;j[e+96>>2]=f;j[e+116>>2]=0;j[e+120>>2]=0;j[a+24>>2]=e+96;p=0;break b}p=_l(x,b,a+28|0)}t=j[a+28>>2];f=t;c:{d:{e:{f:{if((f|0)>=1){f=j[a+84>>2];if(!(f|j[j[x+128>>2]+48>>2])){j[e+140>>2]=8;break c}f=qe[j[x+512>>2]](a,b,f+p|0,t)|0;j[e+140>>2]=f;if(f){break c}f=qe[j[x+520>>2]](a)|0;j[e+140>>2]=f;if(f){break f}f=lq(a,b);j[e+140>>2]=f;if(d|f){break f}f=j[a+28>>2]}g:{h:{if(f){s=l[a+32>>1];if(s){break h}}j[a+36>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+48>>2]=0;c=lq(a,b);j[e+140>>2]=c;if(c|d){break g}j[a+184>>2]=0;j[a+192>>2]=0;j[a+72>>2]=0;j[a+80>>2]=0;p=j[a+52>>2];c=j[a+36>>2]-p|0;j[a+68>>2]=c;f=j[a+56>>2];j[a+76>>2]=f+c;c=j[a+176>>2]+j[a+48>>2]|0;j[a+188>>2]=c;j[a+196>>2]=c-j[a+180>>2];c=j[a>>2];g=j[j[c+128>>2]+48>>2];i:{if(!g){break i}d=j[j[g>>2]+8>>2];if(!d){break i}j[e+60>>2]=0;j[e+56>>2]=f;j[e+52>>2]=0;j[e+48>>2]=p;j:{if(qe[d|0](j[g+4>>2],b,0,e+48|0)|0){break j}c=i[e+48>>1];d=l[e+56>>1];j[a+176>>2]=0;j[a+180>>2]=0;j[a+56>>2]=d;j[a+52>>2]=c;if(k[a+64|0]){break j}j[a+60>>2]=d;h[a+64|0]=1}c=j[a>>2]}if(k[c+672|0]){j[e+44>>2]=16843009;j[e+32>>2]=65536;j[e+36>>2]=196610;j[e+48>>2]=j[a+68>>2];j[e+52>>2]=j[a+72>>2];j[e+56>>2]=j[a+76>>2];j[e+60>>2]=j[a+80>>2];j[e+64>>2]=j[a+184>>2];j[e+68>>2]=j[a+188>>2];j[e+72>>2]=j[a+192>>2];j[e+76>>2]=j[a+196>>2];j[e+8>>2]=262148;j[e+20>>2]=e+32;j[e+16>>2]=e+44;j[e+12>>2]=e+48;b=Ql(c,b,e+8|0,4);j[e+140>>2]=b;if(b){break g}j[a+68>>2]=j[e+48>>2];j[a+72>>2]=j[e+52>>2];j[a+76>>2]=j[e+56>>2];j[a+80>>2]=j[e+60>>2];j[a+184>>2]=j[e+64>>2];j[a+188>>2]=j[e+68>>2];j[a+192>>2]=j[e+72>>2];j[a+196>>2]=j[e+76>>2]}if(!(h[a+16|0]&1)){H=a,I=ye(j[a+68>>2],o),j[H+68>>2]=I;H=a,I=ye(j[a+76>>2],o),j[H+76>>2]=I;H=a,I=ye(j[a+184>>2],o),j[H+184>>2]=I;H=a,I=ye(j[a+188>>2],r),j[H+188>>2]=I;H=a,I=ye(j[a+192>>2],o),j[H+192>>2]=I;H=a,I=ye(j[a+196>>2],r),j[H+196>>2]=I}j[e+140>>2]=0;break g}j[a+184>>2]=0;j[a+192>>2]=0;j[a+72>>2]=0;j[a+80>>2]=0;w=j[a+52>>2];d=j[a+36>>2]-w|0;j[a+68>>2]=d;f=j[a+56>>2];j[a+76>>2]=f+d;d=j[a+176>>2]+j[a+48>>2]|0;j[a+188>>2]=d;j[a+196>>2]=d-j[a+180>>2];p=j[j[j[a>>2]+128>>2]+48>>2];k:{if(!p){break k}d=j[j[p>>2]+8>>2];if(!d){break k}j[e+60>>2]=0;j[e+56>>2]=f;j[e+52>>2]=0;j[e+48>>2]=w;l:{if(qe[d|0](j[p+4>>2],b,0,e+48|0)|0){break l}d=i[e+48>>1];f=l[e+56>>1];j[a+176>>2]=0;j[a+180>>2]=0;j[a+56>>2]=f;j[a+52>>2]=d;if(k[a+64|0]){break l}j[a+60>>2]=f;h[a+64|0]=1}s=l[a+32>>1]}if(s<<16>>16>=1){b=qe[j[x+524>>2]](a)|0;j[e+140>>2]=b;if(b){break g}qe[j[x+516>>2]](a);n=j[a+12>>2];d=n;q=i[d+58>>1];b=j[a+72>>2];c=j[d+60>>2]+(q<<3)|0;j[c>>2]=j[a+68>>2];j[c+4>>2]=b;b=j[a+80>>2];v=q+1|0;c=j[d+60>>2]+(v<<3)|0;j[c>>2]=j[a+76>>2];j[c+4>>2]=b;b=j[a+188>>2];t=q+2|0;c=j[d+60>>2]+(t<<3)|0;j[c>>2]=j[a+184>>2];j[c+4>>2]=b;b=j[a+196>>2];g=q+3|0;c=j[d+60>>2]+(g<<3)|0;j[c>>2]=j[a+192>>2];j[c+4>>2]=b;b=d- -64|0;h[q+j[b>>2]|0]=0;h[v+j[b>>2]|0]=0;h[t+j[b>>2]|0]=0;h[g+j[b>>2]|0]=0;p=q+4|0;m:{b=j[a>>2];if(!k[b+672|0]){break m}b=Ql(b,j[a+20>>2],n+56|0,p);if(!b){break m}j[e+140>>2]=b;break c}o=j[a+16>>2];if(!(o&2)){f=l[n+58>>1];i[a+132>>1]=f;i[a+134>>1]=l[n+56>>1];j[a+136>>2]=j[n+76>>2];d=j[n+60>>2];j[a+140>>2]=d;c=j[n+80>>2];j[a+144>>2]=c;j[a+148>>2]=j[n+64>>2];b=j[n+68>>2];i[a+156>>1]=0;j[a+152>>2]=b;Ae(c,d,(f<<3)+32|0);o=j[a+16>>2]}if(!(o&1)){b=j[n+60>>2];c=a;if((q|0)>=-3){p=(p<<3)+b|0;d=j[a+4>>2];f=j[d+52>>2];d=j[d+48>>2];while(1){H=b,I=ye(j[b>>2],d),j[H>>2]=I;H=b,I=ye(j[b+4>>2],f),j[H+4>>2]=I;b=b+8|0;if(p>>>0>b>>>0){continue}break}o=j[a+16>>2];b=j[n+60>>2]}d=(q<<3)+b|0;b=j[d+4>>2];j[c+68>>2]=j[d>>2];j[c+72>>2]=b;c=j[n+60>>2]+(v<<3)|0;b=j[c+4>>2];j[a+76>>2]=j[c>>2];j[a+80>>2]=b;c=j[n+60>>2]+(t<<3)|0;b=j[c+4>>2];j[a+184>>2]=j[c>>2];j[a+188>>2]=b;c=j[n+60>>2]+(g<<3)|0;b=j[c+4>>2];j[a+192>>2]=j[c>>2];j[a+196>>2]=b}if(o&2){j[e+140>>2]=0;Xh(u);break c}i[a+132>>1]=l[a+132>>1]+4;a=kq(a,0);j[e+140>>2]=a;if(a){break c}Xh(u);break c}if((s&65535)==65535){p=i[u+22>>1];z=i[u+20>>1];d=qe[j[x+528>>2]](a)|0;j[e+140>>2]=d;if(d){break g}B=j[a+168>>2];qe[j[x+516>>2]](a);if(k[x+672|0]){f=j[x+100>>2];n=j[u+84>>2];d=n+4|0;i[e+48>>1]=d;i[e+50>>1]=d;t=d<<16>>16;q=xe(f,8,0,t,0,e+140|0);n:{if(j[e+140>>2]){break n}v=xe(f,1,0,t,0,e+140|0);if(j[e+140>>2]){break n}w=xe(f,2,0,t,0,e+140|0);if(j[e+140>>2]){break n}if(n){s=j[u+88>>2]+(j[u+48>>2]<<5)|0;d=0;while(1){g=q+(d<<3)|0;j[g>>2]=j[s+8>>2];j[g+4>>2]=j[s+12>>2];h[d+v|0]=1;i[(d<<1)+w>>1]=d;s=s+32|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}}d=q+(n<<3)|0;j[d>>2]=j[a+68>>2];j[d+4>>2]=j[a+72>>2];h[n+v|0]=1;i[(n<<1)+w>>1]=n;g=n+1|0;d=q+(g<<3)|0;j[d>>2]=j[a+76>>2];j[d+4>>2]=j[a+80>>2];h[g+v|0]=1;i[(g<<1)+w>>1]=g;g=n+2|0;d=q+(g<<3)|0;j[d>>2]=j[a+184>>2];j[d+4>>2]=j[a+188>>2];h[g+v|0]=1;i[(g<<1)+w>>1]=g;g=n+3|0;d=q+(g<<3)|0;j[d>>2]=j[a+192>>2];j[d+4>>2]=j[a+196>>2];h[g+v|0]=1;i[(g<<1)+w>>1]=g;j[e+60>>2]=w;j[e+56>>2]=v;j[e+52>>2]=q;b=Ql(x,b,e+48|0,t);j[e+140>>2]=b;if(b){break n}if(n){b=j[u+88>>2]+(j[u+48>>2]<<5)|0;d=0;while(1){g=q+(d<<3)|0;j[b+8>>2]=i[g>>1];j[b+12>>2]=i[g+4>>1];b=b+32|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}}b=q+(n<<3)|0;j[a+68>>2]=j[b>>2];j[a+72>>2]=j[b+4>>2];j[a+76>>2]=j[b+8>>2];j[a+80>>2]=j[b+12>>2];j[a+184>>2]=j[b+16>>2];j[a+188>>2]=j[b+20>>2];j[a+192>>2]=j[b+24>>2];j[a+196>>2]=j[b+28>>2]}if(q){qe[j[f+8>>2]](f,q)}if(v){qe[j[f+8>>2]](f,v)}if(w){qe[j[f+8>>2]](f,w)}if(j[e+140>>2]){break c}}b=j[a+16>>2];if(!(b&1)){H=a,I=ye(j[a+68>>2],o),j[H+68>>2]=I;H=a,I=ye(j[a+76>>2],o),j[H+76>>2]=I;H=a,I=ye(j[a+184>>2],o),j[H+184>>2]=I;H=a,I=ye(j[a+188>>2],r),j[H+188>>2]=I;H=a,I=ye(j[a+192>>2],o),j[H+192>>2]=I;H=a,I=ye(j[a+196>>2],r),j[H+196>>2]=I;b=j[a+16>>2]}if(b&1024){Xh(u);j[j[a+8>>2]+72>>2]=1668246896;break c}C=j[u+48>>2];A=j[u+84>>2];D=j[a+28>>2];E=j[a+24>>2];Xh(u);o:{if(!A){s=0;b=p;break o}F=c+1|0;w=0;while(1){c=i[u+22>>1];G=j[a+192>>2];o=j[a+196>>2];r=j[a+184>>2];n=j[a+188>>2];q=j[a+76>>2];v=j[a+80>>2];t=j[a+68>>2];g=j[a+72>>2];d=w<<5;f=C<<5;b=Zl(a,j[d+(f+j[u+52>>2]|0)>>2],F,0);j[e+140>>2]=b;if(b){break c}s=d+(f+j[u+52>>2]|0)|0;if(!(k[s+5|0]&2)){j[a+192>>2]=G;j[a+196>>2]=o;j[a+184>>2]=r;j[a+188>>2]=n;j[a+76>>2]=q;j[a+80>>2]=v;j[a+68>>2]=t;j[a+72>>2]=g}g=l[u+22>>1];d=c&65535;if((g|0)!=(d|0)){f=j[a+12>>2];b=l[f+22>>1];q=b<<16>>16;t=j[f+24>>2];o=l[s+4>>1];v=o&200;if(!(!v|b>>>0<=d>>>0)){d=s+16|0;b=c;while(1){Tg(t+(b<<3)|0,d);b=b+1|0;if((q|0)!=(b|0)){continue}break}o=l[s+4>>1]}d=j[s+12>>2];r=j[s+8>>2];p:{q:{if(!(o&2)){b=r+p|0;if(b>>>0>=c>>>0){break e}d=c+d|0;if(d>>>0>=q>>>0){break e}n=b<<3;b=j[f+24>>2];f=n+b|0;b=b+(d<<3)|0;d=j[f+4>>2]-j[b+4>>2]|0;r=j[f>>2]-j[b>>2]|0;break q}if(!(d|r)){break p}if(!(!v|!(o&2048))){f=ig(j[s+16>>2],j[s+20>>2]);b=ig(j[s+28>>2],j[s+24>>2]);r=ye(r,f);d=ye(d,b)}if(h[a+16|0]&1){break q}f=j[a+4>>2];b=j[f+52>>2];f=ye(r,j[f+48>>2]);d=ye(d,b);b=k[s+4|0]&4;r=b?f+32&-64:f;d=b?d+32&-64:d}if(!(d|r)){break p}f=t+(c<<3)|0;t=q-c|0;r:{if(!t){break r}b=0;if(!r){break r}while(1){c=f+(b<<3)|0;j[c>>2]=j[c>>2]+r;b=b+1|0;if((t|0)!=(b|0)){continue}break}}if(!t){break p}b=0;if(!d){break p}while(1){c=f+(b<<3)|0;j[c+4>>2]=j[c+4>>2]+d;b=b+1|0;if((t|0)!=(b|0)){continue}break}}j[e+140>>2]=0}w=w+1|0;if((A|0)!=(w|0)){continue}break}b=g<<16>>16}j[a+168>>2]=B;j[a+28>>2]=D;j[a+24>>2]=E;if(!(l[s+4>>1]&256)|(k[a+16|0]&2|b>>>0<=p>>>0)){break c}f=j[a+12>>2];d=i[f+22>>1];b=d+4|0;s:{if(!b){d=-4;break s}if(m[f+4>>2]>=i[f+58>>1]+(b+d|0)>>>0){break s}c=yf(f,b,0);if(c){break d}d=i[f+22>>1]}b=j[a+72>>2];c=j[f+24>>2]+(d<<3)|0;j[c>>2]=j[a+68>>2];j[c+4>>2]=b;b=j[a+80>>2];c=j[f+24>>2]+(i[f+22>>1]<<3)|0;j[c+8>>2]=j[a+76>>2];j[c+12>>2]=b;b=j[a+188>>2];c=j[f+24>>2]+(i[f+22>>1]<<3)|0;j[c+16>>2]=j[a+184>>2];j[c+20>>2]=b;b=j[a+196>>2];c=j[f+24>>2]+(i[f+22>>1]<<3)|0;j[c+24>>2]=j[a+192>>2];j[c+28>>2]=b;h[j[f+28>>2]+i[f+22>>1]|0]=0;h[(i[f+22>>1]+j[f+28>>2]|0)+1|0]=0;h[(i[f+22>>1]+j[f+28>>2]|0)+2|0]=0;h[(i[f+22>>1]+j[f+28>>2]|0)+3|0]=0;b=j[a+24>>2];c=Fe(b,j[a+168>>2]);j[e+8>>2]=c;if(c){break d}d=qf(b,e+8|0);c=j[e+8>>2];if(c){break d}t:{if(d>>>0>l[j[a>>2]+286>>1]){c=22;if((d|0)>j[a+28>>2]){break d}c=0;o=j[a+160>>2];r=j[o+388>>2];if(d>>>0>r>>>0){H=o,I=xe(j[o+8>>2],1,r,d,j[o+392>>2],e+48|0),j[H+392>>2]=I;o=j[a+160>>2];c=j[e+48>>2];r=c?r:d}j[e+8>>2]=c;j[o+388>>2]=r&65535;if(!c){break t}break d}if(!d){j[e+140>>2]=0;break c}o=j[a+160>>2]}c=uf(b,j[o+392>>2],d);j[e+8>>2]=c;if(c){break d}c=j[j[a+160>>2]+392>>2];b=j[a+8>>2];j[b+140>>2]=d;j[b+136>>2]=c;c=j[a+12>>2];f=l[c+22>>1]-p|0;i[a+132>>1]=f;i[a+134>>1]=l[c+20>>1]-z;b=p<<3;j[a+136>>2]=b+j[c+40>>2];j[a+140>>2]=b+j[c+24>>2];j[a+144>>2]=b+j[c+44>>2];g=j[c+28>>2]+p|0;j[a+148>>2]=g;c=j[c+32>>2];i[a+156>>1]=p;b=1;j[a+152>>2]=c+(z<<1);d=a;if(f&65535){h[g|0]=k[g|0]&231;c=l[a+132>>1];if(c>>>0>=2){while(1){c=j[a+148>>2]+b|0;h[c|0]=k[c|0]&231;b=b+1|0;c=l[a+132>>1];if(b>>>0>>0){continue}break}}b=c+4|0}else{b=4}i[d+132>>1]=b;H=e,I=kq(a,1),j[H+140>>2]=I;break c}j[e+140>>2]=20}if((t|0)<1){break c}}qe[j[x+516>>2]](a);break c}j[e+140>>2]=21;break c}j[e+140>>2]=c}if(!y){break a}a=j[j[x+128>>2]+48>>2];qe[j[j[a>>2]+4>>2]](j[a+4>>2],e+88|0)}oe=e+144|0;return j[e+140>>2]}function $x(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;A=j[a+28>>2];if(A){B=j[a+36>>2];C=j[a+16>>2];y=j[a+24>>2];D=y&3;y=(y+3|0)/4|0;q=j[a>>2];f=j[a+20>>2];e=j[a+40>>2];w=k[e+9|0];z=w-1|0;b=j[a+44>>2];x=k[b+9|0];v=x-1|0;while(1){a=y;a:{b:{switch(D-1|0){default:g=3;break a;case 0:g=2;break a;case 1:g=1;break a;case 2:break b}}g=0}while(1){c:{d:{switch(g|0){case 0:e:{f:{g:{h:{switch(z|0){case 0:d=k[q|0];break g;case 1:d=l[q>>1];break g;case 2:n=(k[e+34|0]>>>3|0)+q|0;o=(k[e+33|0]>>>3|0)+q|0;g=255;d=(k[e+32|0]>>>3|0)+q|0;break f;case 3:break h;default:break e}}d=j[q>>2]}g=k[j[(k[e+31|0]<<2)+234976>>2]+((d&j[e+24>>2])>>>k[e+35|0]|0)|0];if(!g){break e}n=j[(k[e+30|0]<<2)+234976>>2]+((d&j[e+20>>2])>>>k[e+34|0]|0)|0;o=j[(k[e+29|0]<<2)+234976>>2]+((d&j[e+16>>2])>>>k[e+33|0]|0)|0;d=j[(k[e+28|0]<<2)+234976>>2]+((d&j[e+12>>2])>>>k[e+32|0]|0)|0}s=k[n|0];t=k[o|0];d=k[d|0];m=0;n=0;o=0;r=0;i:{j:{switch(v|0){case 0:c=k[f|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[f>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:n=k[(k[b+34|0]>>>3|0)+f|0];o=k[(k[b+33|0]>>>3|0)+f|0];r=k[(k[b+32|0]>>>3|0)+f|0];m=255;break i;case 3:break j;default:break i}}c=j[f>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(g+m|0)-((p(g,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,g)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,g)|0)/255|0)+o|0;c=t&255;d=((p(d-r|0,g)|0)/255|0)+r|0;g=d&255;k:{switch(v|0){case 0:h[f|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+f|0]=d;h[(k[b+33|0]>>>3|0)+f|0]=t;h[(k[b+34|0]>>>3|0)+f|0]=s;break e;case 3:break k;default:break e}}j[f>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break n;case 2:n=(k[e+34|0]>>>3|0)+q|0;o=(k[e+33|0]>>>3|0)+q|0;g=255;d=(k[e+32|0]>>>3|0)+q|0;break m;case 3:break o;default:break l}}d=j[q>>2]}g=k[j[(k[e+31|0]<<2)+234976>>2]+((d&j[e+24>>2])>>>k[e+35|0]|0)|0];if(!g){break l}n=j[(k[e+30|0]<<2)+234976>>2]+((d&j[e+20>>2])>>>k[e+34|0]|0)|0;o=j[(k[e+29|0]<<2)+234976>>2]+((d&j[e+16>>2])>>>k[e+33|0]|0)|0;d=j[(k[e+28|0]<<2)+234976>>2]+((d&j[e+12>>2])>>>k[e+32|0]|0)|0}s=k[n|0];t=k[o|0];d=k[d|0];m=0;n=0;o=0;r=0;p:{q:{switch(v|0){case 0:c=k[f|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 1:c=l[f>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 2:n=k[(k[b+34|0]>>>3|0)+f|0];o=k[(k[b+33|0]>>>3|0)+f|0];r=k[(k[b+32|0]>>>3|0)+f|0];m=255;break p;case 3:break q;default:break p}}c=j[f>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(g+m|0)-((p(g,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,g)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,g)|0)/255|0)+o|0;c=t&255;d=((p(d-r|0,g)|0)/255|0)+r|0;g=d&255;r:{switch(v|0){case 0:h[f|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+f|0]=d;h[(k[b+33|0]>>>3|0)+f|0]=t;h[(k[b+34|0]>>>3|0)+f|0]=s;break l;case 3:break r;default:break l}}j[f>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break u;case 2:n=(k[e+34|0]>>>3|0)+q|0;o=(k[e+33|0]>>>3|0)+q|0;g=255;d=(k[e+32|0]>>>3|0)+q|0;break t;case 3:break v;default:break s}}d=j[q>>2]}g=k[j[(k[e+31|0]<<2)+234976>>2]+((d&j[e+24>>2])>>>k[e+35|0]|0)|0];if(!g){break s}n=j[(k[e+30|0]<<2)+234976>>2]+((d&j[e+20>>2])>>>k[e+34|0]|0)|0;o=j[(k[e+29|0]<<2)+234976>>2]+((d&j[e+16>>2])>>>k[e+33|0]|0)|0;d=j[(k[e+28|0]<<2)+234976>>2]+((d&j[e+12>>2])>>>k[e+32|0]|0)|0}s=k[n|0];t=k[o|0];d=k[d|0];m=0;n=0;o=0;r=0;w:{x:{switch(v|0){case 0:c=k[f|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 1:c=l[f>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 2:n=k[(k[b+34|0]>>>3|0)+f|0];o=k[(k[b+33|0]>>>3|0)+f|0];r=k[(k[b+32|0]>>>3|0)+f|0];m=255;break w;case 3:break x;default:break w}}c=j[f>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(g+m|0)-((p(g,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,g)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,g)|0)/255|0)+o|0;c=t&255;d=((p(d-r|0,g)|0)/255|0)+r|0;g=d&255;y:{switch(v|0){case 0:h[f|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+f|0]=d;h[(k[b+33|0]>>>3|0)+f|0]=t;h[(k[b+34|0]>>>3|0)+f|0]=s;break s;case 3:break y;default:break s}}j[f>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break B;case 2:n=(k[e+34|0]>>>3|0)+q|0;o=(k[e+33|0]>>>3|0)+q|0;g=255;d=(k[e+32|0]>>>3|0)+q|0;break A;case 3:break C;default:break z}}d=j[q>>2]}g=k[j[(k[e+31|0]<<2)+234976>>2]+((d&j[e+24>>2])>>>k[e+35|0]|0)|0];if(!g){break z}n=j[(k[e+30|0]<<2)+234976>>2]+((d&j[e+20>>2])>>>k[e+34|0]|0)|0;o=j[(k[e+29|0]<<2)+234976>>2]+((d&j[e+16>>2])>>>k[e+33|0]|0)|0;d=j[(k[e+28|0]<<2)+234976>>2]+((d&j[e+12>>2])>>>k[e+32|0]|0)|0}s=k[n|0];t=k[o|0];d=k[d|0];m=0;n=0;o=0;r=0;D:{E:{switch(v|0){case 0:c=k[f|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 1:c=l[f>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 2:n=k[(k[b+34|0]>>>3|0)+f|0];o=k[(k[b+33|0]>>>3|0)+f|0];r=k[(k[b+32|0]>>>3|0)+f|0];m=255;break D;case 3:break E;default:break D}}c=j[f>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(g+m|0)-((p(g,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,g)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,g)|0)/255|0)+o|0;c=t&255;d=((p(d-r|0,g)|0)/255|0)+r|0;g=d&255;F:{switch(v|0){case 0:h[f|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+f|0]=d;h[(k[b+33|0]>>>3|0)+f|0]=t;h[(k[b+34|0]>>>3|0)+f|0]=s;break z;case 3:break F;default:break z}}j[f>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];if(!(!e|!l[b>>1])){Ee(g+8|0,0,128);B=j[c>>2];j[g+24>>2]=B;E=g,F=xe(B,40,0,e,0,g+144|0),j[E+16>>2]=F;u=j[g+144>>2];a:{if(u){break a}n=xe(B,8,0,i[b>>1],0,g+144|0);j[g+20>>2]=n;u=j[g+144>>2];if(u){break a}u=i[b+2>>1];j[g+8>>2]=u;e=i[b>>1];j[g+12>>2]=e;q=j[g+16>>2];if(e){x=e>>>0>1?e:1;t=j[b+12>>2];e=0;while(1){w=i[t+(r<<1)>>1];o=q+p(e,40)|0;j[n>>2]=o;s=w+1|0;f=s-e|0;j[n+4>>2]=f;if(f){j[o>>2]=q+p(w,40);j[o+8>>2]=n;e=o;if((f|0)!=1){while(1){j[e+48>>2]=n;w=e+40|0;j[e+4>>2]=w;j[e+40>>2]=e;e=w;f=f-1|0;if(f>>>0>1){continue}break}}j[e+4>>2]=o}n=n+8|0;e=s;r=r+1|0;if((x|0)!=(r|0)){continue}break}}b:{if(!u){j[g+32>>2]=c;j[g+28>>2]=b;break b}s=j[b+4>>2];f=0;e=q;while(1){x=(j[e+4>>2]-q|0)/40|0;n=(j[e>>2]-q|0)/40|0;if(!(h[j[b+8>>2]+f|0]&1)){j[e+12>>2]=1}r=e;o=s+(f<<3)|0;t=j[o+4>>2];u=s+(n<<3)|0;w=t-j[u+4>>2]|0;n=w>>31;v=j[o>>2];u=v-j[u>>2]|0;o=u>>31;o=o^o+u;y=n^n+w;n=(u|0)>-1?2:-2;c:{if((o|0)>(p(y,12)|0)){break c}n=4;if((y|0)<=(p(o,12)|0)){break c}n=(w|0)>-1?-1:1}o=n;h[r+20|0]=o;r=e;y=s+(x<<3)|0;x=j[y+4>>2]-t|0;n=x>>31;t=j[y>>2]-v|0;v=t>>31;v=v^t+v;y=n^n+x;n=(t|0)>-1?2:-2;d:{if((v|0)>(p(y,12)|0)){break d}n=4;if((y|0)<=(p(v,12)|0)){break d}n=(x|0)>-1?-1:1}h[r+21|0]=n;r=j[e+12>>2];e:{if(r&1){j[e+12>>2]=r|2;break e}if((o|0)!=(n|0)){break e}o=e;if((n|0)==4){if(!Nm(u,w,t,x)){break e}r=j[e+12>>2]}j[o+12>>2]=r|2}e=e+40|0;f=f+1|0;n=j[g+8>>2];if(f>>>0>>0){continue}break}j[g+32>>2]=c;j[g+28>>2]=b;if(!n){break b}f=j[b+4>>2];e=j[g+16>>2];while(1){j[e+24>>2]=0;j[e+16>>2]=0;b=j[f+4>>2];j[e+28>>2]=j[f>>2];j[e+32>>2]=b;f=f+8|0;e=e+40|0;n=n-1|0;if(n){continue}break}}if(j[g+12>>2]){while(1){b=j[g+20>>2]+(A<<3)|0;f:{if(m[b+4>>2]<4){break f}b=j[b>>2];e=b;while(1){e=j[e+4>>2];if((b|0)==(e|0)){break f}q=j[e+32>>2]-j[b+32>>2]|0;r=j[e+28>>2]-j[b+28>>2]|0;if(!(q|r)){continue}break}s=b;while(1){w=s;s=j[s>>2];if((b|0)==(s|0)){break f}f=j[w+32>>2]-j[s+32>>2]|0;o=j[w+28>>2]-j[s+28>>2]|0;if(!(f|o)){continue}n=Om(r,q,o,f);if(!n){continue}break}r=w;while(1){u=n;x=f;t=o;q=r;s=0;while(1){n=j[e+32>>2];b=j[e+28>>2];while(1){r=e;e=j[e+4>>2];v=j[e+28>>2];o=v-b|0;b=j[e+32>>2];f=b-n|0;s=(e|0)==(w|0)?1:s;n=b;b=v;if(!(f|o)){continue}break}n=Om(t,x,o,f);if(!n){continue}break}if((n^u)<=-1){while(1){j[q+12>>2]=j[q+12>>2]|4;q=j[q+4>>2];if((r|0)!=(q|0)){continue}break}j[r+12>>2]=j[r+12>>2]|4}if(!s){continue}break}}A=A+1|0;if(A>>>0>2]){continue}break}}u=_q(g+36|0,a+16|0,a+28|0,B);j[g+144>>2]=u;if(u){break a}u=_q(g+76|0,a+52|0,a- -64|0,B);if(u){break a}a=j[g+32>>2];x=j[a+200>>2];w=c+416|0;B=j[a+404>>2];a=ye(j[w>>2],B);b=a+32&-64;C=!b|(a|0)==(b|0);if(!C){e=Ne(B,b,a);hm(j[g+32>>2],(a|0)>(b|0)?x+((x|0)/-50|0)|0:x,e,0,0)}i[g+128>>1]=257;h[g+132|0]=(d|0)!=1;h[g+131|0]=(d|0)==2|(d|0)==4;h[g+130|0]=(d&-2)==2;u=1;s=0;while(1){b=j[g+8>>2];if(b){f=j[j[g+28>>2]+4>>2];e=j[g+16>>2];o=b;while(1){j[e+24>>2]=0;j[e+16>>2]=0;a=u&1;d=j[(a?0:4)+f>>2];j[e+32>>2]=j[(a?4:0)+f>>2];j[e+28>>2]=d;f=f+8|0;e=e+40|0;o=o-1|0;if(o){continue}break}}n=j[g+12>>2];g:{if(!n){q=0;break g}r=0;t=j[g+20>>2];while(1){h:{a=t+(r<<3)|0;if(!j[a+4>>2]){break h}a=j[a>>2];f=a;while(1){f=j[f>>2];if((a|0)==(f|0)){q=r+1|0;break g}if(j[f+28>>2]==j[a+28>>2]){continue}break}q=j[f+4>>2];e=q;while(1){o=e;while(1){e=j[e+4>>2];if((q|0)==(e|0)){break h}d=j[e+28>>2];a=j[o+28>>2];if((d|0)==(a|0)){continue}break}i:{j:{if((a|0)>j[f+28>>2]){if((a|0)>(d|0)){break j}break i}if((a|0)>=(d|0)){break i}}while(1){j[o+16>>2]=j[o+16>>2]|64;o=j[o+4>>2];if((o|0)!=(e|0)){continue}break}}f=j[e>>2];continue}}q=0;r=r+1|0;if((n|0)!=(r|0)){continue}break}}while(1){if(b>>>0>q>>>0){d=j[g+16>>2];e=p(q,40);a=d+e|0;f=j[a+16>>2];k:{if(!(f&64)){break k}r=d+e|0;e=a;while(1){e=j[e>>2];if((a|0)==(e|0)){break k}n=j[e+32>>2];d=j[r+32>>2];if((n|0)==(d|0)){continue}break}e=a;while(1){e=j[e+4>>2];if((a|0)==(e|0)){break k}r=j[e+32>>2];if((r|0)==(d|0)){continue}break}if(!((d|0)<=(n|0)|(d|0)>=(r|0))){j[a+16>>2]=f|128;q=q+1|0;continue}if((d|0)<=(r|0)|(d|0)>=(n|0)){break k}j[a+16>>2]=f|256}q=q+1|0;continue}break}o=j[g+32>>2];n=(g+8|0)+p(s,40)|0;q=n+28|0;f=j[q>>2];if(f){e=j[n+36>>2];while(1){Zq(e,o,s,g+8|0);e=e+28|0;f=f-1|0;if(f){continue}break}o=j[g+32>>2]}a=j[n+60>>2];e=j[a+8>>2];b=j[a>>2];r=p(s,204);a=De(32,j[(r+o|0)+200>>2]);t=(a|0)<30?a:30;y=u&1;v=y?1:2;l:{m:{n:{if(b>>>0>=2){f=j[g+8>>2];d=0;if(!f){break l}a=j[e+12>>2];o=a>>>0>f>>>0?f:a;while(1){a=e;e=e+16|0;a=j[a+28>>2];a=a>>>0>>0?a:f;if(a>>>0>o>>>0){d=j[g+16>>2];Yq(q,e);Xq(q,d+p(o,40)|0,a-o|0,t,v)}b=b-1|0;if(b>>>0<2){break n}f=j[g+8>>2];o=a;continue}}if((b|0)!=1){break m}}a=j[g+16>>2];b=j[g+8>>2];Yq(q,j[j[n+60>>2]+8>>2]);Xq(q,a,b,t,v)}a=j[g+8>>2];d=0;if(!a){break l}e=j[g+16>>2];f=a;while(1){o:{if(!j[e+24>>2]){break o}b=j[e+16>>2];if(b&16){break o}j[e+16>>2]=b|16}e=e+40|0;f=f-1|0;if(f){continue}break}if(s&1){o=j[g+16>>2];q=a;while(1){b=k[o+20|0];p:{q:{if((b|0)==2|(b|0)==254){break q}b=k[o+21|0];if((b|0)==254){break q}if((b|0)!=2){break p}}b=j[o+16>>2];if(b&16){break p}d=j[o+28>>2];n=j[c+412>>2];r:{if(!n){break r}f=j[c+2488>>2];s=0-f|0;e=w;while(1){t=d-j[e+12>>2]|0;if((t|0)<(s|0)){break r}if(!((d|0)>(f+j[e+8>>2]|0)|((t|0)>j[c+2484>>2]?!k[c+2492|0]:0))){t=j[e+24>>2];b=b|48;j[o+16>>2]=b;j[o+36>>2]=t}e=e+32|0;n=n-1|0;if(n){continue}break}}n=j[c+928>>2];if(!n){break p}f=j[c+2488>>2];s=0-f|0;e=((n<<5)+c|0)+932|0;while(1){t=j[e-24>>2]-d|0;if((t|0)<(s|0)){break p}if(!((d|0)<(j[e-20>>2]-f|0)|((t|0)>=j[c+2484>>2]?!k[c+2492|0]:0))){t=j[e-4>>2];b=b|48;j[o+16>>2]=b;j[o+36>>2]=t}e=e-32|0;n=n-1|0;if(n){continue}break}}o=o+40|0;q=q-1|0;if(q){continue}break}}q=j[(r+j[g+32>>2]|0)+200>>2];e=j[g+16>>2];while(1){d=j[e+24>>2];if(d){b=e;f=j[e+16>>2];o=j[d+8>>2];s:{if(f&512){break s}o=j[d+12>>2]+j[d+8>>2]|0;if(f&1024){break s}f=j[e+28>>2]-j[d>>2]|0;if((f|0)<=0){o=j[d+8>>2]+ye(f,q)|0;break s}n=j[d+12>>2];o=j[d+8>>2];d=j[d+4>>2];if((d|0)<=(f|0)){o=ye(f-d|0,q)+(o+n|0)|0;break s}o=Ne(f,n,d)+o|0}j[b+36>>2]=o;j[e+16>>2]=j[e+16>>2]|32}e=e+40|0;a=a-1|0;if(a){continue}break}d=j[g+8>>2]}t:{if((d|0)<1){break t}q=j[g+16>>2];s=q+p(d,40)|0;f=0;e=q;while(1){f=(j[e+16>>2]>>>4&1)+f|0;e=e+40|0;if(s>>>0>e>>>0){continue}break}if(!f){break t}v=j[(r+j[g+32>>2]|0)+200>>2];t=j[g+24>>2];o=g+144|0;if(f>>>0>=17){o=xe(t,4,0,f,0,g+140|0);if(j[g+140>>2]){break t}}b=0;a=q;while(1){if(k[a+16|0]&16){e=(b<<2)+o|0;u:{if((b|0)<1){f=e;break u}d=j[a+28>>2];while(1){f=e-4|0;n=j[f>>2];if((d|0)>=j[n+28>>2]){f=e;break u}j[e>>2]=n;e=f;if(o>>>0>>0){continue}break}}j[f>>2]=a;b=b+1|0}a=a+40|0;if(s>>>0>a>>>0){continue}break}A=((b<<2)+o|0)-4|0;while(1){d=j[q+16>>2];v:{if(d&16){break v}a=j[q+12>>2];if(a&2){e=k[q+20|0];if(!(a&4|d&64)|((e|0)==4|(e|0)!=k[q+21|0])){break v}j[q+12>>2]=a&-3}f=j[q+28>>2];e=0;d=q;w:{x:{if(b){y:{while(1){if((f|0)>2]+28>>2]){break y}e=e+1|0;if((e|0)!=(b|0)){continue}break}e=b}if(e){break x}}a=j[o>>2];z=j[a+36>>2]+ye(f-j[a+28>>2]|0,v)|0;break w}e=j[((e<<2)+o|0)-4>>2];n=b;while(1){a=n;if(a){n=a-1|0;if((f|0)<=j[j[(n<<2)+o>>2]+28>>2]){continue}}break}if((a|0)==(b|0)){a=j[A>>2];z=j[a+36>>2]+ye(f-j[a+28>>2]|0,v)|0;break w}n=j[e+28>>2];z=j[e+36>>2];if((n|0)==(f|0)){break w}a=j[(a<<2)+o>>2];z=j[a+28>>2];if((z|0)==(f|0)){z=j[a+36>>2];break w}D=j[a+36>>2];a=j[e+36>>2];z=Ne(f-n|0,D-a|0,z-n|0)+a|0}j[d+36>>2]=z;j[q+16>>2]=j[q+16>>2]|32}q=q+40|0;if(s>>>0>q>>>0){continue}break}if((g+144|0)==(o|0)){break t}if(o){qe[j[t+8>>2]](t,o)}}A=j[g+12>>2];if(A){a=r+j[g+32>>2]|0;t=j[a+200>>2];z=j[a+204>>2];v=j[g+20>>2];while(1){a=j[v+4>>2];z:{if((a|0)<1){break z}f=j[v>>2];a=f+p(a,40)|0;o=0;e=f;q=0;while(1){b=j[e+16>>2]&32;q=b?q?q:e:q;o=(b>>>5|0)+o|0;e=e+40|0;if(a>>>0>e>>>0){continue}break}e=q;if(o>>>0<=1){if((o|0)==1){z=j[q+36>>2]-ye(j[q+28>>2],t)|0}while(1){if((f|0)!=(q|0)){E=f,F=ye(j[f+28>>2],t)+z|0,j[E+36>>2]=F}f=f+40|0;if(a>>>0>f>>>0){continue}break}break z}while(1){a=e;e=j[e+4>>2];if((q|0)==(e|0)){break z}if(k[e+16|0]&32){continue}f=e;while(1){f=j[f+4>>2];if(!(k[f+16|0]&32)){continue}break}b=j[a+28>>2];d=j[f+28>>2];A:{if((b|0)<=(d|0)){s=d-b|0;r=a;d=f;break A}s=b-d|0;r=f;b=d;d=a}d=j[d+36>>2];o=j[r+36>>2];B:{if((s|0)<1){r=65536;break B}r=De(d-o|0,s);e=j[a+4>>2]}while(1){a=j[e+28>>2]-b|0;C:{D:{if((a|0)<=0){n=ye(a,t);break D}if((a|0)>=(s|0)){n=d;a=ye(a-s|0,t);break C}n=ye(a,r)}a=o}j[e+36>>2]=a+n;e=j[e+4>>2];if((f|0)!=(e|0)){continue}break}e=f;if((q|0)!=(e|0)){continue}break}}v=v+8|0;A=A-1|0;if(A){continue}break}}n=j[g+8>>2];if(n){a=j[g+28>>2];b=j[a+8>>2];a=j[a+4>>2];d=y?32:64;f=0;e=j[g+16>>2];while(1){q=a+(f<<3)|0;j[(y?q:q+4|0)>>2]=j[e+36>>2];if(k[e+16|0]&16){q=b+f|0;h[q|0]=d|k[q|0];n=j[g+8>>2]}e=e+40|0;f=f+1|0;if(n>>>0>f>>>0){continue}break}}if(!C){hm(j[g+32>>2],x,B,0,0)}s=1;a=u&1;u=0;if(a){continue}break}}a=j[g+24>>2];b=a;c=j[g+100>>2];if(c){qe[j[b+8>>2]](b,c)}j[g+104>>2]=0;j[g+96>>2]=0;j[g+100>>2]=0;b=j[g+88>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+88>>2]=0;b=j[g+84>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+84>>2]=0;j[g+92>>2]=0;j[g+76>>2]=0;j[g+80>>2]=0;b=j[g+60>>2];if(b){qe[j[a+8>>2]](a,b)}j[g- -64>>2]=0;j[g+56>>2]=0;j[g+60>>2]=0;b=j[g+48>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+48>>2]=0;b=j[g+44>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+44>>2]=0;j[g+52>>2]=0;j[g+36>>2]=0;j[g+40>>2]=0;b=j[g+16>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+16>>2]=0;b=j[g+20>>2];if(b){qe[j[a+8>>2]](a,b)}}oe=g+208|0;return u|0}function ay(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;v=j[a+28>>2];if(v){n=k[a+63|0];s=j[a+56>>2];o=j[a+48>>2];x=j[a+36>>2];y=j[a+16>>2];b=j[a+40>>2];i=b;g=j[a+24>>2];z=g&7;A=(g+7|0)/8|0;e=j[a>>2];g=j[a+20>>2];t=j[a+44>>2];r=k[b+9|0];u=r-1|0;while(1){w=A;a:{b:{switch(z-1|0){default:a=7;break a;case 0:a=6;break a;case 1:a=5;break a;case 2:a=4;break a;case 3:a=3;break a;case 4:a=2;break a;case 5:a=1;break a;case 6:break b}}a=0}while(1){c:{d:{switch(a|0){case 0:a=0;c=0;d=0;m=0;e:{f:{g:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break f;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break f;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break f;case 3:break g;default:break e}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=1;continue;case 1:a=0;c=0;d=0;m=0;h:{i:{j:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break i;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break i;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break i;case 3:break j;default:break h}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=2;continue;case 2:a=0;c=0;d=0;m=0;k:{l:{m:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break l;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break l;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break l;case 3:break m;default:break k}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=3;continue;case 3:a=0;c=0;d=0;m=0;n:{o:{p:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break o;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break o;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break o;case 3:break p;default:break n}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=4;continue;case 4:a=0;c=0;d=0;m=0;q:{r:{s:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break r;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break r;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break r;case 3:break s;default:break q}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=5;continue;case 5:a=0;c=0;d=0;m=0;t:{u:{v:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break u;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break u;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break u;case 3:break v;default:break t}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=6;continue;case 6:a=0;c=0;d=0;m=0;w:{x:{y:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break x;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break x;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break x;case 3:break y;default:break w}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}a=v-1|0;e=e+r|0;g=g+1|0;if((w|0)<=1){break c}w=w-1|0;a=7;continue;default:break d}}a=0;d=0;m=0;c=0;z:{A:{B:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break A;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break A;case 2:c=(k[i+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break A;case 3:break B;default:break z}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}c=k[c|0];d=k[d|0];m=k[m|0]}if((a|0)!=(s|0)){q=m&255;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;m=k[a+1|0];f=d;d=k[a|0];a=k[a+2|0];a=((p(q-m|0,n)|0)/255|0)+m>>>3&28|((p(f-d|0,n)|0)/255|0)+d&-32|(((p((c&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=0;continue}break}g=g+x|0;e=e+y|0;v=a;if(a){continue}break}}}function by(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;y=j[a+28>>2];if(y){o=k[a+63|0];w=j[a+56>>2];z=j[a+36>>2];A=j[a+16>>2];d=j[a+24>>2];B=d&3;C=(d+3|0)/4|0;n=j[a>>2];e=j[a+20>>2];m=j[a+40>>2];u=k[m+9|0];x=u-1|0;b=j[a+44>>2];v=k[b+9|0];t=v-1|0;while(1){a=C;a:{b:{switch(B-1|0){default:d=3;break a;case 0:d=2;break a;case 1:d=1;break a;case 2:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:d=0;e:{f:{switch(x|0){case 0:d=k[n|0];break e;case 1:d=l[n>>1];break e;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break e;case 3:break f;default:break e}}d=j[n>>2]}g:{if(!o|(d|0)==(w|0)){break g}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;h:{i:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break h;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break h;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break h;case 3:break i;default:break h}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;j:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break g;case 3:break j;default:break g}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break k;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break k;case 3:break l;default:break k}}d=j[n>>2]}m:{if(!o|(d|0)==(w|0)){break m}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;n:{o:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break n;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break n;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break n;case 3:break o;default:break n}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;p:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break m;case 3:break p;default:break m}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break q;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break q;case 3:break r;default:break q}}d=j[n>>2]}s:{if(!o|(d|0)==(w|0)){break s}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;t:{u:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break t;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break t;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break t;case 3:break u;default:break t}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;v:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break s;case 3:break v;default:break s}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break w;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break w;case 3:break x;default:break w}}d=j[n>>2]}y:{if(!o|(d|0)==(w|0)){break y}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;z:{A:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break z;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break z;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break z;case 3:break A;default:break z}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;B:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break y;case 3:break B;default:break y}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];if(k[h+9|0]==4){e:{switch(c-1|0){case 1:break b;case 3:break c;case 0:break e;default:break d}}H=j[b+12>>2];if(!H){break a}m=g^255;c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;i=j[b+8>>2];F=i&3;b=(i+3|0)/4|0;B=c-i<<2;f:while(1){g:{h:{i:{j:{k:{switch(F-1|0){case 0:q=k[h+35|0];r=k[h+31|0];s=k[h+34|0];t=k[h+30|0];u=k[h+33|0];n=k[h+29|0];v=k[h+32|0];D=k[h+28|0];i=b;break h;case 1:G=k[h+31|0];O=j[(G<<2)+234976>>2];M=k[h+30|0];P=j[(M<<2)+234976>>2];N=k[h+29|0];Q=j[(N<<2)+234976>>2];C=k[h+28|0];I=j[(C<<2)+234976>>2];y=k[h+35|0];q=y;r=G;z=k[h+34|0];s=z;t=M;x=k[h+33|0];u=x;n=N;w=k[h+32|0];v=w;D=C;i=b;break i;case 2:G=k[h+31|0];O=j[(G<<2)+234976>>2];M=k[h+30|0];P=j[(M<<2)+234976>>2];N=k[h+29|0];Q=j[(N<<2)+234976>>2];C=k[h+28|0];I=j[(C<<2)+234976>>2];y=k[h+35|0];q=y;r=G;z=k[h+34|0];s=z;t=M;x=k[h+33|0];u=x;n=N;w=k[h+32|0];v=w;D=C;i=b;break j;default:break k}}r=k[h+31|0];O=j[(r<<2)+234976>>2];t=k[h+30|0];P=j[(t<<2)+234976>>2];n=k[h+29|0];Q=j[(n<<2)+234976>>2];D=k[h+28|0];I=j[(D<<2)+234976>>2];q=k[h+35|0];s=k[h+34|0];u=k[h+33|0];v=k[h+32|0];i=b;l=0;break g}l=1;break g}l=2;break g}l=3}while(1){l:{switch(l|0){case 0:c=j[a>>2];x=u&255;N=n&255;w=v&255;C=D&255;z=s&255;M=t&255;y=q&255;G=r&255;j[a>>2]=((p(m,k[((c&j[h+16>>2])>>>x|0)+Q|0])>>>0)/255|0)+e>>>N<>2])>>>w|0)+I|0])>>>0)/255|0)+d>>>C<>2])>>>z|0)+P|0])>>>0)/255|0)+f>>>M<>2])>>>y|0)+O|0])>>>0)/255|0)+g>>>G<>2];j[a>>2]=((p(m,k[((c&j[h+16>>2])>>>x|0)+Q|0])>>>0)/255|0)+e>>>N<>2])>>>w|0)+I|0])>>>0)/255|0)+d>>>C<>2])>>>z|0)+P|0])>>>0)/255|0)+f>>>M<>2])>>>y|0)+O|0])>>>0)/255|0)+g>>>G<>2];j[a>>2]=((p(m,k[((c&j[h+16>>2])>>>x|0)+Q|0])>>>0)/255|0)+e>>>N<>2])>>>w|0)+I|0])>>>0)/255|0)+d>>>C<>2])>>>z|0)+P|0])>>>0)/255|0)+f>>>M<>2])>>>y|0)+O|0])>>>0)/255|0)+g>>>G<>2];E=j[a>>2];l=u&255;A=((p(m,k[Q+((E&j[h+16>>2])>>>l|0)|0])>>>0)/255|0)+e>>>o<>2];l=v&255;A=A|((p(m,k[I+((E&j[h+12>>2])>>>l|0)|0])>>>0)/255|0)+d>>>o<>2];l=s&255;A=A|((p(m,k[P+((E&j[h+20>>2])>>>l|0)|0])>>>0)/255|0)+f>>>o<>2];l=q&255;j[a>>2]=A|((p(m,k[O+((E&j[h+24>>2])>>>l|0)|0])>>>0)/255|0)+g>>>o<1){i=i-1|0;break m}a=a+B|0;H=c;if(c){continue f}break a}l=0;continue}}}W=Be(4);break a}x=j[b+12>>2];if(!x){break a}c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;i=j[b+8>>2];y=i&3;b=(i+3|0)/4|0;i=c-i<<2;n:while(1){o:{p:{q:{r:{s:{switch(y-1|0){case 0:l=k[h+35|0];q=k[h+31|0];r=k[h+34|0];s=k[h+30|0];t=k[h+33|0];u=k[h+29|0];n=k[h+32|0];v=k[h+28|0];w=b;break p;case 1:u=k[h+29|0];t=k[h+33|0];v=k[h+28|0];n=k[h+32|0];s=k[h+30|0];r=k[h+34|0];q=k[h+31|0];l=k[h+35|0];V=e>>>u<>>v<>>s<>>q<>>u<>>v<>>s<>>q<>>u<>>v<>>s<>>q<>2]=V;a=a+4|0;c=1;continue;case 1:j[a>>2]=V;a=a+4|0;c=2;continue;case 2:j[a>>2]=V;a=a+4|0;c=3;continue;default:break t}}c=x-1|0;j[a>>2]=e>>>u<>>v<>>s<>>q<1){w=w-1|0;break u}a=a+i|0;x=c;if(c){continue n}break a}c=0;continue}}}J=j[b+12>>2];if(!J){break a}c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;g=j[b+8>>2];E=g&3;b=(g+3|0)/4|0;F=c-g<<2;v:while(1){w:{x:{y:{z:{A:{switch(E-1|0){case 0:t=k[h+35|0];u=k[h+31|0];n=k[h+34|0];v=k[h+30|0];w=k[h+33|0];x=k[h+29|0];z=k[h+32|0];y=k[h+28|0];g=b;break x;case 1:K=k[h+31|0];R=j[(K<<2)+234976>>2];L=k[h+30|0];S=j[(L<<2)+234976>>2];A=k[h+29|0];i=j[(A<<2)+234976>>2];m=k[h+28|0];D=j[(m<<2)+234976>>2];s=k[h+35|0];t=s;u=K;r=k[h+34|0];n=r;v=L;q=k[h+33|0];w=q;x=A;l=k[h+32|0];z=l;y=m;g=b;break y;case 2:K=k[h+31|0];R=j[(K<<2)+234976>>2];L=k[h+30|0];S=j[(L<<2)+234976>>2];A=k[h+29|0];i=j[(A<<2)+234976>>2];m=k[h+28|0];D=j[(m<<2)+234976>>2];s=k[h+35|0];t=s;u=K;r=k[h+34|0];n=r;v=L;q=k[h+33|0];w=q;x=A;l=k[h+32|0];z=l;y=m;g=b;break z;default:break A}}u=k[h+31|0];R=j[(u<<2)+234976>>2];v=k[h+30|0];S=j[(v<<2)+234976>>2];x=k[h+29|0];i=j[(x<<2)+234976>>2];y=k[h+28|0];D=j[(y<<2)+234976>>2];t=k[h+35|0];n=k[h+34|0];w=k[h+33|0];z=k[h+32|0];g=b;c=0;break w}c=1;break w}c=2;break w}c=3}while(1){B:{switch(c|0){case 0:c=j[a>>2];q=w&255;A=x&255;l=z;m=y&255;r=n&255;L=v&255;s=t&255;K=u&255;j[a>>2]=(p(k[((c&j[h+16>>2])>>>q|0)+i|0],e)>>>0)/255>>>A<>2])>>>l|0)+D|0],d)>>>0)/255>>>m<>2])>>>r|0)+S|0],f)>>>0)/255>>>L<>2])>>>s|0)+R|0]>>>K<>2];j[a>>2]=(p(k[((c&j[h+16>>2])>>>q|0)+i|0],e)>>>0)/255>>>A<>2])>>>l|0)+D|0],d)>>>0)/255>>>m<>2])>>>r|0)+S|0],f)>>>0)/255>>>L<>2])>>>s|0)+R|0]>>>K<>2];j[a>>2]=(p(k[((c&j[h+16>>2])>>>q|0)+i|0],e)>>>0)/255>>>A<>2])>>>l|0)+D|0],d)>>>0)/255>>>m<>2])>>>r|0)+S|0],f)>>>0)/255>>>L<>2])>>>s|0)+R|0]>>>K<>2];C=j[a>>2];o=w&255;B=(p(k[i+((C&j[h+16>>2])>>>o|0)|0],e)>>>0)/255>>>B<>2];G=B|(p(k[D+((C&j[h+12>>2])>>>z|0)|0],d)>>>0)/255>>>o<>2];o=n&255;G=G|(p(k[S+((C&j[h+20>>2])>>>o|0)|0],f)>>>0)/255>>>B<>2];o=t&255;j[a>>2]=G|k[R+((C&j[h+24>>2])>>>o|0)|0]>>>B<1){g=g-1|0;break C}a=a+F|0;J=c;if(c){continue v}break a}c=0;continue}}}I=j[b+12>>2];if(!I){break a}c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;g=j[b+8>>2];K=g&3;b=(g+3|0)/4|0;L=c-g<<2;D:while(1){E:{F:{G:{H:{I:{switch(K-1|0){case 0:l=k[h+35|0];q=k[h+31|0];r=k[h+34|0];s=k[h+30|0];w=k[h+33|0];x=k[h+29|0];z=k[h+32|0];y=k[h+28|0];g=b;break F;case 1:E=k[h+31|0];T=j[(E<<2)+234976>>2];F=k[h+30|0];J=j[(F<<2)+234976>>2];B=k[h+29|0];H=j[(B<<2)+234976>>2];o=k[h+28|0];U=j[(o<<2)+234976>>2];v=k[h+35|0];l=v;q=E;n=k[h+34|0];r=n;s=F;u=k[h+33|0];w=u;x=B;t=k[h+32|0];z=t;y=o;g=b;break G;case 2:E=k[h+31|0];T=j[(E<<2)+234976>>2];F=k[h+30|0];J=j[(F<<2)+234976>>2];B=k[h+29|0];H=j[(B<<2)+234976>>2];o=k[h+28|0];U=j[(o<<2)+234976>>2];v=k[h+35|0];l=v;q=E;n=k[h+34|0];r=n;s=F;u=k[h+33|0];w=u;x=B;t=k[h+32|0];z=t;y=o;g=b;break H;default:break I}}q=k[h+31|0];T=j[(q<<2)+234976>>2];s=k[h+30|0];J=j[(s<<2)+234976>>2];x=k[h+29|0];H=j[(x<<2)+234976>>2];y=k[h+28|0];U=j[(y<<2)+234976>>2];l=k[h+35|0];r=k[h+34|0];w=k[h+33|0];z=k[h+32|0];g=b;c=0;break E}c=1;break E}c=2;break E}c=3}while(1){J:{switch(c|0){case 0:v=l;i=j[a>>2];u=w&255;c=k[((i&j[h+16>>2])>>>u|0)+H|0]+e|0;B=x&255;n=(c>>>0<255?c:255)>>>B<>2])>>>t|0)+U|0]+d|0;o=y&255;m=n|(c>>>0<255?c:255)>>>o<>2])>>>n|0)+J|0]+f|0;F=s&255;E=q&255;j[a>>2]=m|(c>>>0<255?c:255)>>>F<>2])>>>l|0)+T|0]>>>E<>2];c=k[((i&j[h+16>>2])>>>u|0)+H|0]+e|0;m=(c>>>0<255?c:255)>>>B<>2])>>>t|0)+U|0]+d|0;m=m|(c>>>0<255?c:255)>>>o<>2])>>>n|0)+J|0]+f|0;j[a>>2]=m|(c>>>0<255?c:255)>>>F<>2])>>>v|0)+T|0]>>>E<>2];c=k[((i&j[h+16>>2])>>>u|0)+H|0]+e|0;m=(c>>>0<255?c:255)>>>B<>2])>>>t|0)+U|0]+d|0;m=m|(c>>>0<255?c:255)>>>o<>2])>>>n|0)+J|0]+f|0;j[a>>2]=m|(c>>>0<255?c:255)>>>F<>2])>>>v|0)+T|0]>>>E<>2];C=j[a>>2];m=w&255;i=k[H+((C&j[h+16>>2])>>>m|0)|0]+e|0;A=(i>>>0<255?i:255)>>>A<>2];i=k[U+((C&j[h+12>>2])>>>z|0)|0]+d|0;D=A|(i>>>0<255?i:255)>>>m<>2];m=r&255;i=k[J+((C&j[h+20>>2])>>>m|0)|0]+f|0;m=D|(i>>>0<255?i:255)>>>A<>2];j[a>>2]=m|k[T+((C&j[h+24>>2])>>>l|0)|0]>>>i<1){g=g-1|0;break K}a=a+L|0;I=c;if(c){continue D}break a}c=0;continue}}}return W|0}function Xo(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=oe-192|0;oe=n;z=h;F=i&65535;o=d;p=e&65535;G=(e^i)&-2147483648;m=i>>>16&32767;a:{u=e>>>16&32767;b:{c:{if(m-1>>>0<32766?u-1>>>0<=32765:0){break c}H=e&2147483647;l=H;k=d;if(!(!k&(l|0)==2147418112?!(b|c):l>>>0<2147418112)){J=d;G=e|32768;break b}H=i&2147483647;e=H;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){J=h;G=i|32768;b=f;c=g;break b}if(!(b|k|(l^2147418112|c))){if(!(d|f|(e^2147418112|g))){b=0;c=0;G=2147450880;break b}G=G|2147418112;b=0;c=0;break b}if(!(d|f|(e^2147418112|g))){b=0;c=0;break b}if(!(b|k|(c|l))){break a}if(!(d|f|(e|g))){G=G|2147418112;b=0;c=0;break b}if((l|0)==65535|l>>>0<65535){i=b;d=!(p|o);h=d<<6;k=s(d?b:o)+32|0;b=s(d?c:p);b=h+((b|0)==32?k:b)|0;Nf(n+176|0,i,c,o,p,b-15|0);I=16-b|0;o=j[n+184>>2];p=j[n+188>>2];c=j[n+180>>2];b=j[n+176>>2]}if(e>>>0>65535){break c}d=!(z|F);e=d<<6;h=s(d?f:z)+32|0;d=s(d?g:F);d=e+((d|0)==32?h:d)|0;Nf(n+160|0,f,g,z,F,d-15|0);I=(d+I|0)-16|0;z=j[n+168>>2];F=j[n+172>>2];f=j[n+160>>2];g=j[n+164>>2]}e=F|65536;H=e;N=z;d=z;l=e<<15|d>>>17;d=d<<15|g>>>17;h=-102865788-d|0;e=l;k=l;i=1963258675-(k+(d>>>0>4192101508)|0)|0;zg(n+144|0,d,k,h,i);k=j[n+152>>2];zg(n+128|0,0-k|0,0-(j[n+156>>2]+((k|0)!=0)|0)|0,h,i);h=j[n+136>>2];i=h<<1|j[n+132>>2]>>>31;h=j[n+140>>2]<<1|h>>>31;zg(n+112|0,i,h,d,l);k=h;h=j[n+120>>2];zg(n+96|0,i,k,0-h|0,0-(j[n+124>>2]+((h|0)!=0)|0)|0);h=j[n+104>>2];i=h<<1|j[n+100>>2]>>>31;h=j[n+108>>2]<<1|h>>>31;zg(n+80|0,i,h,d,l);k=h;h=j[n+88>>2];zg(n- -64|0,i,k,0-h|0,0-(j[n+92>>2]+((h|0)!=0)|0)|0);h=j[n+72>>2];i=h<<1|j[n+68>>2]>>>31;h=j[n+76>>2]<<1|h>>>31;zg(n+48|0,i,h,d,l);k=h;h=j[n+56>>2];zg(n+32|0,i,k,0-h|0,0-(j[n+60>>2]+((h|0)!=0)|0)|0);h=j[n+40>>2];i=h<<1|j[n+36>>2]>>>31;h=j[n+44>>2]<<1|h>>>31;zg(n+16|0,i,h,d,l);k=h;h=j[n+24>>2];zg(n,i,k,0-h|0,0-(j[n+28>>2]+((h|0)!=0)|0)|0);I=(u-m|0)+I|0;h=j[n+8>>2];k=j[n+12>>2]<<1|h>>>31;l=h<<1|j[n+4>>2]>>>31;h=l-1|0;l=k-(l>>>0<1)|0;k=0;C=k;i=h;q=e;e=0;r=gP(h,k,q,e);k=pe;v=k;y=l;m=0;u=d;h=gP(l,m,d,0);d=h+r|0;k=pe+k|0;k=d>>>0>>0?k+1|0:k;h=d;d=k;k=0;l=(d|0)==(v|0)&h>>>0>>0|d>>>0>>0;r=gP(y,m,q,e);e=r+d|0;l=pe+(k|l)|0;k=e;e=k>>>0>>0?l+1|0:l;q=k;l=h;r=0;h=gP(i,C,u,t);d=r+h|0;k=pe+l|0;k=d>>>0>>0?k+1|0:k;h=k;u=(l|0)==(k|0)&r>>>0>d>>>0|k>>>0>>0;l=q+u|0;k=e;A=l;e=l>>>0>>0?k+1|0:k;q=d;r=d;u=h;d=g;B=(d&131071)<<15|f>>>17;v=gP(i,C,B,0);d=pe;t=d;k=f;l=k<<15&-32768;x=0;D=gP(y,m,l,x);h=D+v|0;k=pe+d|0;k=h>>>0>>0?k+1|0:k;d=k;D=0;E=gP(i,C,l,x);x=D+E|0;l=h;k=l+pe|0;k=x>>>0>>0?k+1|0:k;w=(k|0)==(l|0)&x>>>0>>0|k>>>0>>0;k=(d|0)==(t|0)&l>>>0>>0|d>>>0>>0;h=d;d=gP(y,m,B,K)+d|0;l=k+pe|0;l=d>>>0>>0?l+1|0:l;h=d;d=w+d|0;k=l;k=d>>>0>>0?k+1|0:k;h=d;d=d+r|0;k=k+u|0;k=d>>>0>>0?k+1|0:k;r=d;v=k;h=(k|0)==(u|0)&d>>>0>>0|k>>>0>>0;d=h+A|0;k=e;k=d>>>0>>0?k+1|0:k;e=(r|0)!=0|(v|0)!=0;d=e+d|0;l=d>>>0>>0?k+1|0:k;h=d;t=0-d|0;A=0;u=gP(t,A,i,C);d=pe;x=d;e=u;q=d;A=gP(y,m,t,A);d=pe;w=d;B=0-(((h|0)!=0)+l|0)|0;t=0;l=gP(i,C,B,t);h=l+A|0;k=pe+d|0;k=h>>>0>>0?k+1|0:k;d=k;l=h+q|0;e=0+e|0;q=e;k=e;l=k>>>0>>0?l+1|0:l;e=l;l=(x|0)==(l|0)&k>>>0>>0|l>>>0>>0;k=(d|0)==(w|0)&h>>>0>>0|d>>>0>>0;h=d;d=gP(y,m,B,t)+d|0;k=k+pe|0;k=d>>>0>>0?k+1|0:k;h=d;d=l+d|0;w=d;h=d>>>0>>0?k+1|0:k;d=0-r|0;B=0-(((r|0)!=0)+v|0)|0;r=0;A=gP(B,r,i,C);x=pe;v=d;l=gP(d,0,y,m);d=l+A|0;k=pe+x|0;k=d>>>0>>0?k+1|0:k;l=d;d=k;C=gP(i,C,v,K);v=0+C|0;k=l+pe|0;k=v>>>0>>0?k+1|0:k;v=(l|0)==(k|0)&v>>>0>>0|l>>>0>k>>>0;i=(d|0)==(x|0)&l>>>0>>0|d>>>0>>0;l=d;d=gP(y,m,B,r)+l|0;k=i+pe|0;k=d>>>0>>0?k+1|0:k;i=d;d=d+v|0;l=d>>>0>>0?k+1|0:k;i=d;d=d+q|0;k=l+e|0;k=d>>>0>>0?k+1|0:k;i=d;l=d;d=k;l=(e|0)==(k|0)&l>>>0>>0|e>>>0>k>>>0;e=l+w|0;k=h;k=e>>>0>>0?k+1|0:k;l=e;e=i;v=e-2|0;h=v;r=d-(e>>>0<2)|0;e=r;e=(d|0)==(e|0)&h>>>0>>0|d>>>0>e>>>0;d=l+e|0;k=d>>>0>>0?k+1|0:k;e=d;d=d-1|0;h=k-(e>>>0<1)|0;e=0;x=e;m=d;i=o;w=i<<2|c>>>30;B=0;q=gP(d,e,w,B);e=pe;t=e;l=e;e=c;K=(e&1073741823)<<2|b>>>30;u=0;D=h;i=0;e=gP(K,u,h,i);d=e+q|0;l=pe+l|0;l=d>>>0>>0?l+1|0:l;k=(l|0)==(t|0)&d>>>0>>0|l>>>0>>0;q=d;h=l;A=r;l=0;r=l;c=k;E=((p&1073741823)<<2|o>>>30)&-262145|262144;l=gP(A,l,E,0);d=l+d|0;k=pe+h|0;k=d>>>0>>0?k+1|0:k;p=d;e=k;h=(k|0)==(h|0)&d>>>0>>0|h>>>0>k>>>0;d=c+h|0;k=0;k=d>>>0>>0?1:k;h=gP(D,i,E,M);d=h+d|0;l=pe+k|0;l=d>>>0>>0?l+1|0:l;o=gP(m,x,E,M);h=pe;c=d;t=gP(w,B,D,i);d=t+o|0;k=pe+h|0;k=d>>>0>>0?k+1|0:k;t=d;d=k;k=(h|0)==(k|0)&o>>>0>t>>>0|h>>>0>k>>>0;o=c+d|0;k=k+l|0;l=o;h=l>>>0>>0?k+1|0:k;q=p;c=l;p=0;d=q+p|0;o=e;l=t+e|0;l=d>>>0

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

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

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

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

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

>>0?l+1|0:l;m=gP(d,e,g,o);p=m+k|0;l=gP(i,c,z,F);c=l+p|0;l=c;z=0;c=w+z|0;k=b+l|0;k=c>>>0>>0?k+1|0:k;b=c;z=C-b|0;F=u-((b>>>0>C>>>0)+k|0)|0;I=I-1|0;p=r-q|0;b=v-((r>>>0>>0)+t|0)|0;break d}r=i>>>1|0;l=0;o=b<<16;h=(i&1)<<31|h>>>1;i=d<<31|i>>>1;w=0;m=f;B=0;b=gP(h,w,m,B);k=pe;u=k;k=(b|0)!=0|(k|0)!=0;v=0-k|0;E=o-(c>>>0>>0)|0;q=0-b|0;t=0-(((b|0)!=0)+u|0)|0;o=0;u=gP(h,w,g,o);b=pe;D=b;k=e<<31|d>>>1;r=r|d<<31;O=k|l;C=r;L=0;l=gP(r,L,m,B);c=l+u|0;k=pe+b|0;k=c>>>0>>0?k+1|0:k;b=k;l=c;x=l;y=0;k=(l|0)==(t|0)&y>>>0>q>>>0|l>>>0>t>>>0;A=v-k|0;v=E-(k>>>0>v>>>0)|0;k=gP(h,i,H,0);E=pe;M=gP(m,g,e>>>1|0,0);l=M+k|0;k=pe+E|0;E=l;l=l>>>0>>0?k+1|0:k;k=E;d=(e&1)<<31|d>>>1;e=e>>>1|0;E=gP(d,e,g,o);k=k+E|0;l=pe+l|0;F=gP(r,O,z,F);k=F+k|0;r=0;F=k;k=gP(g,o,C,L);o=pe;m=gP(d,0,m,B);l=m+k|0;k=pe+o|0;k=l>>>0>>0?k+1|0:k;z=gP(h,w,z,0);l=z+l|0;k=pe+k|0;p=l;l=l>>>0>>0?k+1|0:k;z=(b|0)==(D|0)&c>>>0>>0|b>>>0>>0;c=b;b=b+p|0;l=l+z|0;l=b>>>0>>0?l+1|0:l;c=b;b=b+r|0;l=l+F|0;l=b>>>0>>0?l+1|0:l;z=A-b|0;F=v-((b>>>0>A>>>0)+l|0)|0;p=q-y|0;b=t-((q>>>0>>0)+x|0)|0}if((I|0)>=16384){G=G|2147418112;b=0;c=0;break b}m=I+16383|0;if((I|0)<=-16383){e:{if(m){break e}m=p;k=b<<1|m>>>31;m=m<<1;c=(g|0)==(k|0)&f>>>0>>0|g>>>0>>0;f=z;k=F<<1|f>>>31;g=f<<1|b>>>31;l=g;f=(l|0)==(N|0)&(k|0)==(H|0)?c:(H|0)==(k|0)&l>>>0>N>>>0|k>>>0>H>>>0;b=f+h|0;k=i;k=b>>>0>>0?k+1|0:k;c=k;f=d+((i|0)==(k|0)&b>>>0>>0|i>>>0>k>>>0)|0;l=e&65535;e=f;l=d>>>0>e>>>0?l+1|0:l;d=l;if(!(l&65536)){break e}J=e|J;G=d|G;break b}b=0;c=0;break b}o=p;l=b<<1|o>>>31;o=o<<1;c=(g|0)==(l|0)&f>>>0<=o>>>0|g>>>0>>0;f=z;l=F<<1|f>>>31;f=f<<1|b>>>31;f=(f|0)==(N|0)&(l|0)==(H|0)?c:(H|0)==(l|0)&f>>>0>=N>>>0|l>>>0>H>>>0;b=f+h|0;k=i;k=b>>>0>>0?k+1|0:k;c=k;f=d+((i|0)==(k|0)&b>>>0>>0|i>>>0>k>>>0)|0;l=e&65535;l=d>>>0>f>>>0?l+1|0:l;e=0;d=e+f|0;k=(m<<16)+l|0;J=d|J;G=G|(d>>>0>>0?k+1|0:k)}j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=J;j[a+12>>2]=G;oe=n+192|0;return}j[a>>2]=0;j[a+4>>2]=0;b=!(d|f|(e|g));j[a+8>>2]=b?0:J;j[a+12>>2]=b?2147450880:G;oe=n+192|0}function Nq(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;q=oe-16|0;oe=q;c=j[a+1020>>2];d=0;a:{if((c|0)<0){break a}b:{while(1){e=j[a+4>>2];d=(c<<2)+a|0;j[a+80>>2]=p(e,i[d+958>>1]);d=i[d+956>>1];j[a+44>>2]=0;j[a+48>>2]=0;j[a+92>>2]=0;c=j[a+28>>2];j[a+40>>2]=c;i[a+86>>1]=0;j[a+88>>2]=c;r=j[a+32>>2]-32|0;j[a+36>>2]=r;j[a+76>>2]=p(d,e);j[c+8>>2]=c;i[a+84>>1]=0;c:{d:{e:{f:{g:{h:{if(i[a+128>>1]<1){break h}d=j[a+8>>2];f=j[a+140>>2];g=0;w=0;while(1){j[a+96>>2]=0;j[a+100>>2]=0;o=g&65535;g=j[a+132>>2];c=(o<<3)+g|0;e=j[a+24>>2];m=(j[c+4>>2]<>2]<>1];s=g+(u<<3)|0;f=(j[s+4>>2]<>2]<>2];g=f+o|0;d=k[g|0];if(d&4){h[a+176|0]=d>>>5;d=k[g|0]}d=d&3;j:{if((d|0)==3){break j}k:{switch(d-1|0){case 0:break j;case 1:break b;default:break k}}l:{if((k[f+u|0]&3)==1){s=s-8|0;break l}e=(e+n|0)/2|0;r=(r+t|0)/2|0}t=r;n=e;g=g-1|0;c=c-8|0}j[a+72>>2]=n;j[a+68>>2]=t;m:{if(c>>>0>>0){while(1){d=g+1|0;m=c+8|0;n:{o:{p:{switch(k[g+1|0]&3){case 1:f=j[c+8>>2];e=c;g=d;c=m;d=j[a+24>>2];m=j[e+12>>2]<>2];m=m-e|0;d=(f<>2];f=j[a+8>>2];o=(j[c+8>>2]<>2]<>>0>=s>>>0){break o}m=j[a+24>>2];o=j[a+8>>2];g=(j[c+8>>2]<>2]<>>0>s>>>0){break b}f=c+24|0;v=j[a+24>>2];x=j[a+8>>2];m=(j[c+16>>2]<>2]<>2]<>2]<>>0<=s>>>0){d=(j[c+28>>2]<>2]<>>0>>0){continue}break}}if(Hq(a,t,n)){break e}}f=j[a+140>>2];o=l[y+f>>1];m=j[a+4>>2];g=m-1|0;c=j[a+72>>2];r=g&c;r:{if(r|(c|0)>2]|(c|0)>j[a+80>>2]){break r}d=j[a+96>>2];if(!d|(l[j[a+88>>2]+12>>1]^l[d+12>>1])&8){break r}j[a+40>>2]=j[a+40>>2]-4}e=j[a+40>>2];n=j[a+88>>2];t=j[n+8>>2];s:{if(!((e|0)==(t|0)|!(k[n+12|0]&8))){d=j[a+8>>2];c=(r|0)>=(d|0);break s}d=j[a+8>>2];c=(d|0)<=((c+g&0-m)-c|0)}m=e-t|0;if((m|0)<=-1){j[a+44>>2]=99;d=1;break a}t:{if(!m){c=e;break t}j[n+16>>2]=m>>2;if(c){c=l[n+12>>1];i[n+12>>1]=(c&8?16:32)|c}j[a+88>>2]=e;c=e+32|0;j[a+40>>2]=c;j[e+8>>2]=c;j[e+16>>2]=0;j[n+28>>2]=e;i[a+84>>1]=l[a+84>>1]+1}r=j[a+36>>2];if(r>>>0<=c>>>0){break d}h[a+87|0]=0;e=j[a+96>>2];if(e){j[n+28>>2]=e}g=o+1|0;w=w+1|0;if((w|0)>1]){continue}break}w=l[a+84>>1];if(w>>>0<2){break h}m=j[a+92>>2];d=m;if(!d){break h}while(1){e=d;u:{v:{switch(w&65535){default:n=j[d+8>>2]+(j[d+16>>2]<<2)|0;break u;case 1:break v;case 0:break g}}n=0}j[e+4>>2]=n;o=j[d+16>>2];f=j[d+20>>2];w:{if(k[d+12|0]&8){e=f;f=(o+e|0)-1|0;break w}e=(f-o|0)+1|0;j[d+20>>2]=e;j[d+8>>2]=(j[d+8>>2]+(o<<2)|0)-4}s=f;o=j[a+48>>2];u=0-o|0;v=j[a+32>>2];t=v-(o<<2)|0;d=o;x:{y:{while(1){g=d;if((d|0)<1){break y}d=g-1|0;x=t+(d<<2)|0;f=j[x>>2];if((f|0)>(e|0)){continue}break}if((e|0)<=(f|0)){t=o;break x}j[x>>2]=e;if((g|0)<2){e=f;break y}d=g-2|0;while(1){g=t+(d<<2)|0;e=j[g>>2];j[g>>2]=f;g=(d|0)>0;d=d-1|0;f=e;if(g){continue}break}}r=r-4|0;j[a+36>>2]=r;if(c>>>0>=r>>>0){break d}t=o+1|0;j[a+48>>2]=t;u=o^-1;j[v+(u<<2)>>2]=e}e=s+1|0;g=v+(u<<2)|0;d=t;z:{A:{while(1){o=d;if((d|0)<1){break A}d=o-1|0;u=g+(d<<2)|0;f=j[u>>2];if((f|0)>(e|0)){continue}break}if((f|0)>(s|0)){break z}j[u>>2]=e;if((o|0)<2){e=f;break A}d=o-2|0;while(1){o=g+(d<<2)|0;e=j[o>>2];j[o>>2]=f;o=(d|0)>0;d=d-1|0;f=e;if(o){continue}break}}r=r-4|0;j[a+36>>2]=r;if(c>>>0>=r>>>0){break d}j[a+48>>2]=t+1;j[v+((t^-1)<<2)>>2]=e}w=w-1|0;d=n;continue}}j[a+92>>2]=0;if(c>>>0>>0){break f}break e}if(c>>>0>=r>>>0){break e}j[q+8>>2]=0;j[q+4>>2]=0;j[q>>2]=0;d=j[a>>2];e=j[a+76>>2]>>d;i[q+12>>1]=e;f=j[a+80>>2]>>d;i[q+14>>1]=f;while(1){d=m;c=j[d+20>>2];n=(c+j[d+16>>2]<<16)-65536>>16;if(c<<16>>16>16){i[q+14>>1]=c;f=c}if((n|0)>e<<16>>16){i[q+12>>1]=n;e=n}m=j[d+4>>2];j[d>>2]=0;g=q+8|0;c=j[q+8>>2];B:{if(!c){c=0;break B}if(j[c>>2]>0){break B}C:{while(1){n=c;c=j[c+4>>2];if(c){if(j[c>>2]<=0){continue}break C}break}c=0}g=n+4|0}j[d+4>>2]=c;j[g>>2]=d;if(m){continue}break}if(!j[a+48>>2]){j[a+44>>2]=20;d=20;break a}qe[j[a+160>>2]](a,q+14|0,q+12|0);s=i[q+14>>1];c=j[q+8>>2];if(c){d=c;while(1){j[d+24>>2]=j[d+20>>2]-s;d=j[d+4>>2];if(d){continue}break}}d=j[a+48>>2];D:{if((d|0)<1){break D}E:{if(j[j[a+32>>2]-(d<<2)>>2]!=(s|0)){r=d;break E}r=d-1|0;j[a+48>>2]=r;if((d|0)<2){break D}}d=0;while(1){if(c){o=d<<16>>16;while(1){d=j[c+24>>2]-o|0;j[c+24>>2]=d;e=j[c+4>>2];if(!d){d=j[q+8>>2];F:{if(!d){break F}if((c|0)==(d|0)){j[q+8>>2]=e;break F}while(1){n=d;d=j[d+4>>2];if(!d){break F}if((c|0)!=(d|0)){continue}break}j[n+4>>2]=e}f=j[c>>2];G:{if(k[c+12|0]&8){m=q+4|0;d=j[q+4>>2];if(!d){d=0;break G}if((f|0)>2]){break G}H:{while(1){n=d;d=j[d+4>>2];if(d){if((f|0)>=j[d>>2]){continue}break H}break}d=0}m=n+4|0;break G}m=q;d=j[q>>2];if(!d){d=0;break G}if((f|0)>2]){break G}I:{while(1){n=d;d=j[d+4>>2];if(d){if((f|0)>=j[d>>2]){continue}break I}break}d=0}m=n+4|0}j[c+4>>2]=d;j[m>>2]=c}c=e;if(c){continue}break}}d=j[q+4>>2];c=d;J:{if(!c){break J}while(1){e=j[c+8>>2];j[c>>2]=j[e>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=e+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}c=j[d+4>>2];if(!c){break J}g=d+4|0;e=q+4|0;while(1){K:{if(j[d>>2]<=j[c>>2]){e=g;d=c;break K}j[e>>2]=c;j[g>>2]=j[c+4>>2];j[c+4>>2]=d;e=q+4|0;d=j[q+4>>2]}g=d+4|0;c=j[d+4>>2];if(c){continue}break}}n=j[q>>2];c=n;L:{if(!c){n=0;break L}while(1){d=j[c+8>>2];j[c>>2]=j[d>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=d+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}d=j[n+4>>2];if(!d){break L}g=n+4|0;e=q;c=n;while(1){M:{if(j[c>>2]<=j[d>>2]){e=g;break M}j[e>>2]=d;j[g>>2]=j[d+4>>2];j[d+4>>2]=c;e=q;n=j[e>>2];d=n}c=d;g=c+4|0;d=j[c+4>>2];if(d){continue}break}}j[a+48>>2]=r-1;w=j[j[a+32>>2]-(r<<2)>>2];v=w<<16>>16;N:{if((v|0)>s<<16>>16){o=s;while(1){t=0;d=n;O:{f=j[q+4>>2];c=f;if(!c){break O}while(1){m=j[c>>2];g=j[d>>2];r=(m|0)>(g|0);P:{Q:{e=r?m:g;m=r?g:m;g=j[a+4>>2];if((e-m|0)>(g|0)){break Q}u=0-g|0;r=u&m;if((r|0)==(m|0)){break Q}u=u&(e+g|0)-1;if((u|0)==(e|0)|((u|0)!=(g+r|0)?(r|0)<=(u|0):0)){break Q}if((l[c+12>>1]&7)==2){break P}j[c>>2]=m;j[d>>2]=e;j[c+24>>2]=1;t=t+1|0;break P}qe[j[a+164>>2]](a,o<<16>>16,m,e,c,d)}c=j[c+4>>2];if(c){d=j[d+4>>2];continue}break}d=n;c=f;if(t<<16>>16<=0){break O}while(1){if(j[c+24>>2]){j[c+24>>2]=0;qe[j[a+168>>2]](a,o<<16>>16,j[c>>2],j[d>>2],c,d)}c=j[c+4>>2];if(!c){break O}d=j[d+4>>2];continue}}qe[j[a+172>>2]](a);o=o+1|0;if((v|0)<=o<<16>>16){break N}c=f;m=n;R:{if(!c){break R}while(1){d=j[c+8>>2];j[c>>2]=j[d>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=d+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}c=j[f+4>>2];m=n;if(!c){break R}d=f+4|0;g=q+4|0;while(1){if(!(j[f>>2]<=j[c>>2])){j[g>>2]=c;j[d>>2]=j[c+4>>2];j[c+4>>2]=f;c=j[q+4>>2];d=q+4|0}g=d;f=c;d=c+4|0;c=j[c+4>>2];if(c){continue}break}m=j[q>>2]}n=0;c=m;if(!c){continue}while(1){d=j[c+8>>2];j[c>>2]=j[d>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=d+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}g=m+4|0;e=q;n=m;c=n;d=j[c+4>>2];if(!d){continue}while(1){S:{if(j[c>>2]<=j[d>>2]){e=g;break S}j[e>>2]=d;j[g>>2]=j[d+4>>2];j[d+4>>2]=c;e=q;m=j[e>>2];d=m}c=d;g=c+4|0;d=j[c+4>>2];if(d){continue}break}n=m;continue}}f=j[q+4>>2];o=s}if(f){while(1){d=f;f=j[d+4>>2];T:{if(j[d+16>>2]){break T}c=j[q+4>>2];if(!c){break T}if((c|0)==(d|0)){j[q+4>>2]=f;break T}while(1){e=c;c=j[c+4>>2];if(!c){break T}if((c|0)!=(d|0)){continue}break}j[e+4>>2]=f}if(f){continue}break}}U:{if(!n){break U}while(1){d=n;n=j[d+4>>2];V:{if(j[d+16>>2]){break V}c=j[q>>2];if(!c){break V}if((c|0)==(d|0)){j[q>>2]=n;if(!n){break U}continue}while(1){e=c;c=j[c+4>>2];if(!c){break V}if((c|0)!=(d|0)){continue}break}j[e+4>>2]=n;if(!n){break U}continue}if(n){continue}break}}r=j[a+48>>2];if((r|0)>=1){d=w-s|0;c=j[q+8>>2];s=o;continue}break}s=o}if(i[q+12>>1]>16){break f}while(1){qe[j[a+172>>2]](a);s=(s<<16)+65536>>16;if((s|0)<=i[q+12>>1]){continue}break}}c=j[a+1020>>2]-1|0;break c}if(j[a+44>>2]==98){break d}d=1;break a}j[a+44>>2]=0;c=j[a+1020>>2];d=(c<<2)+a|0;e=d;n=i[d+958>>1];f=i[d+956>>1];d=(n+f|0)/2|0;if(!((d|0)>=(f|0)?(c|0)<=6:0)){j[a+44>>2]=20;j[a+1020>>2]=0;d=20;break a}c=c+1|0;f=(c<<2)+a|0;i[f+958>>1]=n;i[f+956>>1]=d;i[e+958>>1]=d-1}j[a+1020>>2]=c;if((c|0)>-1){continue}break}d=0;break a}j[a+44>>2]=20;d=1}oe=q+16|0;return d}function aH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=oe-1520|0;oe=f;j[b>>2]=1;s=Bh(j[b+96>>2],159945);j[b+484>>2]=s;r=dh(j[j[b+96>>2]+4>>2],159962);j[b+488>>2]=r;a:{if(!r){a=11;break a}x=b,y=dh(j[j[b+96>>2]+4>>2],159968),j[x+548>>2]=y;o=j[b+488>>2];Ee(f+8|0,0,376);j[b+540>>2]=0;j[b+532>>2]=-1;j[b+536>>2]=-1;j[b+284>>2]=1;j[b+348>>2]=3932;j[b+172>>2]=4;j[b+276>>2]=2596864;j[b+280>>2]=7;d=j[b+104>>2];e=j[b+100>>2];qe[j[j[o+4>>2]>>2]](f+8|0,0,0,e);j[f+92>>2]=0;j[f+96>>2]=0;h[f+99|0]=0;h[f+100|0]=0;h[f+101|0]=0;h[f+102|0]=0;j[f+84>>2]=0;j[f+88>>2]=0;j[f+80>>2]=d;a=jq(d,160004,14);j[f+4>>2]=a;b:{c:{d:{if(a){if((a&255)!=2){break d}a=jq(d,160019,10);j[f+4>>2]=a;if(a){break d}}a=Fe(d,0);j[f+4>>2]=a;if(a){break d}n=qf(d,f+1512|0);e:{f:{g:{h:{a=j[f+1512>>2];if(!a){if((n+32767&65535)>>>0>=2){j[f+4>>2]=0;break g}g=Zf(d,f+1512|0);a=j[f+1512>>2];if(!a){break h}}j[f+4>>2]=a;break d}j[f+4>>2]=0;if((n|0)==32769){break f}}a=Fe(d,0);j[f+4>>2]=a;if(a){break d}g=j[d+4>>2];break e}h[f+100|0]=1}i:{if(!j[d+20>>2]){a=j[d+8>>2];n=j[d>>2];h[f+101|0]=1;j[f+88>>2]=g;j[f+84>>2]=a+n;a=xf(d,g);j[f+4>>2]=a;if(a){break d}g=j[f+88>>2];break i}n=He(e,g,f+4|0);j[f+84>>2]=n;a=j[f+4>>2];if(a){break d}a=uf(d,n,g);j[f+4>>2]=a;if(a){break d}j[f+88>>2]=g}d=j[f+84>>2];j[f+12>>2]=d;j[f+8>>2]=d;j[f+16>>2]=d+g;j[f>>2]=0;break c}if(k[f+101|0]){j[f>>2]=a;break b}a=j[f+84>>2];if(a){qe[j[e+8>>2]](e,a)}d=0;j[f+84>>2]=0;a=j[f+4>>2];j[f>>2]=a;if(a){break b}g=j[f+88>>2]}a=iq(b,f+8|0,d,g);j[f>>2]=a;if(a){break b}q=j[f+24>>2];d=j[f+80>>2];j[f+4>>2]=0;j:{k:{l:{m:{if(k[f+100|0]){n=j[d+8>>2];j[f+96>>2]=0;while(1){e=qf(d,f+1512|0);a=j[f+1512>>2];if(a){break k}if((e+32767&65535)>>>0>=2){j[f+4>>2]=0;break m}g=Zf(d,f+1512|0);a=j[f+1512>>2];if(a){break k}j[f+4>>2]=0;if((e|0)!=32770){break m}j[f+96>>2]=g+j[f+96>>2];a=xf(d,g);j[f+4>>2]=a;if(!a){continue}break}break k}e=j[f+84>>2];g=j[f+88>>2];d=e+g|0;a=e;while(1){n:{o:{if(k[a|0]!=101|a+9>>>0>=d>>>0|(k[a+1|0]!=101|k[a+2|0]!=120)){break o}if(k[a+3|0]!=101){break o}if(k[a+4|0]==99){break n}}a=a+1|0;if(d>>>0>a>>>0){continue}j[f>>2]=3;break b}a=a+10|0;j[f+16>>2]=a;j[f+8>>2]=e;p:{if(a>>>0>e>>>0){while(1){if(k[e|0]==101){if(!Qe(e,160030,5)){break p}}qe[j[f+40>>2]](f+8|0);if(!j[f+20>>2]){qe[j[f+36>>2]](f+8|0);e=j[f+8>>2];if(e>>>0>>0){continue}}break}g=j[f+88>>2];e=j[f+84>>2]}d=e+g|0;continue}break}j[f+16>>2]=j[f+84>>2]+j[f+88>>2];qe[j[f+40>>2]](f+8|0);n=j[f+16>>2];d=j[f+8>>2];a=n-d|0;g=Mh(d,10,a);e=1;q:{if(!g){break q}e=Mh(d,13,a)>>>0>>0}a=3;if(d>>>0>=n>>>0){break k}g=(e|0)!=0;while(1){r:{e=k[d|0];if(!((e|0)==9|(e|0)==32|(e|0)==10)){if(!(g&(e|0)==13)){break r}}d=d+1|0;if((n|0)!=(d|0)){continue}break k}break}g=j[f+84>>2];e=j[f+88>>2]+(g-d|0)|0;s:{if(k[f+101|0]){g=He(q,e+1|0,f+4|0);j[f+92>>2]=g;a=j[f+4>>2];if(a){break k}j[f+96>>2]=e;break s}j[f+96>>2]=e;j[f+92>>2]=g;h[f+102|0]=1;j[f+84>>2]=0;j[f+88>>2]=0}t:{if(n>>>0<=d+3>>>0){break t}u:{a=k[d|0];if(a-48>>>0<10){break u}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break u;default:break t}}v:{a=k[d+1|0];if(a-48>>>0<10){break v}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break v;default:break t}}w:{a=k[d+2|0];if(a-48>>>0<10){break w}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break w;default:break t}}x:{a=k[d+3|0];if(a-48>>>0<10){break x}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break x;default:break t}}j[f+8>>2]=d;qe[j[j[o+4>>2]+24>>2]](f+8|0,g,e,f+1512|0,0)|0;a=j[f+1512>>2];j[f+96>>2]=a;h[a+j[f+92>>2]|0]=0;break l}yg(g,d,e);break l}if(!j[f+96>>2]){j[f>>2]=3;break b}a=Fe(d,n);j[f+4>>2]=a;if(a){break k}x=f,y=He(q,j[f+96>>2],f+4|0),j[x+92>>2]=y;a=j[f+4>>2];if(a){break k}j[f+96>>2]=0;a=qf(d,f+1512|0);y:{if(j[f+1512>>2]){break y}while(1){if((a+32767&65535)>>>0>1){break y}e=Zf(d,f+1512|0);if(j[f+1512>>2]){break y}j[f+4>>2]=0;if((a&65535)!=32770){break y}a=uf(d,j[f+92>>2]+j[f+96>>2]|0,e);j[f+4>>2]=a;if(a){break k}j[f+96>>2]=e+j[f+96>>2];a=qf(d,f+1512|0);if(!j[f+1512>>2]){continue}break}}j[f+4>>2]=0}qe[j[o+16>>2]](j[f+92>>2],j[f+96>>2],55665);a=3;if(m[f+96>>2]>3){break j}}j[f>>2]=a;break b}h[j[f+92>>2]]=32;h[j[f+92>>2]+1|0]=32;h[j[f+92>>2]+2|0]=32;h[j[f+92>>2]+3|0]=32;a=j[f+92>>2];j[f+12>>2]=a;j[f+8>>2]=a;d=j[f+96>>2];j[f+16>>2]=d+a;e=j[f+4>>2];j[f>>2]=e;if(e){break b}a=iq(b,f+8|0,a,d);j[f>>2]=a;if(a){break b}h[b+176|0]=k[b+176|0]&254;z:{A:{d=j[b+528>>2];if(!d){break A}a=j[d+416>>2];if(!(!a|(a|0)==j[d+4>>2])){j[d+416>>2]=0}B:{C:{if(j[d>>2]){e=j[d+4>>2];if(e){break C}}Ol(b);d=j[b+528>>2];if(!d){break A}e=j[d+4>>2];if(!e){break B}}a=0;while(1){if(k[(p(a,12)+d|0)+88|0]){a=a+1|0;if((e|0)!=(a|0)){continue}break B}break}Ol(b);if(!j[b+528>>2]){break A}}a=j[b+540>>2];if(!a){break z}x=b,y=xe(j[b+100>>2],4,0,a,0,f),j[x+544>>2]=y;if(!j[f>>2]){break z}j[b+540>>2]=0;break b}j[b+540>>2]=0}o=j[f+160>>2];j[b+416>>2]=o;if(j[f+336>>2]){j[f+336>>2]=0;j[b+404>>2]=j[f+320>>2];j[b+392>>2]=j[f+324>>2];j[b+408>>2]=j[f+348>>2];j[b+412>>2]=j[f+352>>2]}if(!(j[j[b+128>>2]+48>>2]|j[f+228>>2])){j[f>>2]=3}e=0;j[f+228>>2]=0;j[b+396>>2]=j[f+216>>2];j[b+424>>2]=j[f+240>>2];j[b+428>>2]=j[f+244>>2];j[b+400>>2]=j[f+164>>2];j[b+420>>2]=j[f+188>>2];j[f+188>>2]=0;j[f+164>>2]=0;if(j[b+368>>2]!=1){break b}g=0;t=j[f+124>>2];if((t|0)>=1){d=0;while(1){u=d<<1;i[u+j[b+384>>2]>>1]=0;n=d<<2;j[n+j[b+388>>2]>>2]=159996;D:{if((o|0)<1){break D}v=j[n+j[f+132>>2]>>2];if(!v){break D}w=j[b+420>>2];a=0;while(1){q=j[(a<<2)+w>>2];if(!we(v,q)){i[j[b+384>>2]+u>>1]=a;j[n+j[b+388>>2]>>2]=q;if(!we(159996,q)){break D}g=(d|0)<(g|0)?g:d+1|0;e=(d|0)<(e|0)?d:e;break D}a=a+1|0;if((o|0)!=(a|0)){continue}break}}d=d+1|0;if((t|0)!=(d|0)){continue}break}}j[b+380>>2]=g;j[b+376>>2]=e;j[b+372>>2]=j[f+104>>2]}a=j[f+156>>2];if(a){qe[a|0](f+108|0)}a=j[f+264>>2];if(a){qe[a|0](f+216|0)}a=j[f+212>>2];if(a){qe[a|0](f+164|0)}a=j[f+316>>2];if(a){qe[a|0](f+268|0)}a=j[f+372>>2];if(a){qe[a|0](f+324|0)}a=j[f+24>>2];d=a;e=j[f+92>>2];if(e){qe[j[d+8>>2]](d,e)}j[f+92>>2]=0;if(!k[f+101|0]){d=j[f+84>>2];if(d){qe[j[a+8>>2]](a,d)}j[f+84>>2]=0}qe[j[f+32>>2]](f+8|0);a=j[f>>2];if(a|(c|0)<0){break a}a=6;if((c|0)>0){break a}j[b+4>>2]=0;j[b+16>>2]=j[b+416>>2];c=j[b+8>>2];a=c|2577;j[b+8>>2]=a;if(k[b+156|0]){a=c|2581;j[b+8>>2]=a}e=j[b+528>>2];if(e){j[b+8>>2]=a|256}j[b+24>>2]=0;d=j[b+144>>2];j[b+20>>2]=d;E:{F:{if(d){a=j[b+140>>2];if(!a){break F}c=k[a|0];if(!c){a=159977;break E}while(1){G:{H:{g=c&255;c=k[d|0];if((g|0)==(c|0)){a=a+1|0;break H}g=g-32|0;if(!((g|0)!=13?g:0)){a=a+1|0;break G}I:{switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break F;case 0:case 13:break H;default:break I}}if(c){break F}break E}d=d+1|0}c=k[a|0];if(c){continue}break}a=159977;break E}a=j[b+364>>2];if(!a){break F}j[b+20>>2]=a}a=j[b+148>>2];a=a?a:159977}j[b+24>>2]=a;c=j[b+152>>2]!=0;j[b+12>>2]=c;a=j[b+148>>2];J:{if(!a){break J}if(we(a,159985)){if(we(a,159990)){break J}}j[b+12>>2]=c|2}j[b+28>>2]=0;j[b+32>>2]=0;j[b+52>>2]=j[b+460>>2]>>16;a=j[b+464>>2]>>16;j[b+56>>2]=a;g=j[b+468>>2]+65535>>16;j[b+60>>2]=g;d=j[b+472>>2]+65535>>16;j[b- -64>>2]=d;c=l[b+68>>1];if(!c){i[b+68>>1]=1e3;c=1e3}i[b+76>>1]=g;i[b+72>>1]=a;i[b+70>>1]=d;a=d-a|0;c=(p(c,12)>>>0)/10|0;i[b+74>>1]=(a|0)>c<<16>>16?a:c;d=0;a=e;e=j[b+488>>2];if(!(qe[j[j[e+12>>2]>>2]](f+8|0,b,0,0,j[b+420>>2],a,0,0,954)|0)){h[f+76|0]=0;h[f+78|0]=1;j[f+1372>>2]=j[b+404>>2];j[f+1376>>2]=j[b+408>>2];j[f+1380>>2]=j[b+412>>2];j[f+1496>>2]=j[b+544>>2];j[f+1500>>2]=j[b+540>>2];if(j[b+416>>2]>=1){a=0;while(1){K:{if(ik(f+8|0,a,f+1512|0)){break K}c=j[j[j[f+12>>2]+128>>2]+48>>2];if(!c){break K}qe[j[j[c>>2]+4>>2]](j[c+4>>2],f+1512|0)}c=j[f+48>>2];d=a?(c|0)>(d|0)?c:d:c;a=a+1|0;if((a|0)>2]){continue}break}}qe[j[j[e+12>>2]+4>>2]](f+8|0);i[b+76>>1]=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>>16}i[b+78>>1]=l[b+74>>1];j[b+80>>2]=l[b+158>>1]|l[b+160>>1]<<16;if(!s){a=0;break a}d=j[r+20>>2];j[f+8>>2]=b;j[f+12>>2]=1970170211;j[f+16>>2]=65539;a=qg(j[d+12>>2],0,f+8|0,0);L:{if((a&255)!=163?a:0){break L}i[f+16>>1]=7;a=0;M:{N:{switch(j[b+368>>2]-1|0){case 1:i[f+18>>1]=0;j[f+12>>2]=1094995778;break M;case 3:i[f+18>>1]=1;j[f+12>>2]=1094992453;d=d+4|0;break M;case 0:i[f+18>>1]=2;j[f+12>>2]=1094992451;d=d+8|0;break M;case 2:break N;default:break L}}d=d+12|0;i[f+18>>1]=3;j[f+12>>2]=1818326065}b=j[d>>2];if(!b){break L}a=qg(b,0,f+8|0,0)}oe=f+1520|0;return a|0}oe=f+1520|0;return a|0}function Lr(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;f=oe-352|0;oe=f;m=6;a:{if(!a|!b|(!c|!d)){break a}b:{c:{d:{e:{p=j[b>>2];if((j[a+8>>2]-p|0)+1>>>0>2){break e}e=j[b+4>>2];if((j[a+12>>2]-e|0)+1>>>0>2){break e}g=p;p=j[c>>2];if((g-p|0)+1>>>0>2){break e}g=e;e=j[c+4>>2];if((g-e|0)+1>>>0>2|(p-j[d>>2]|0)+1>>>0>2|(e-j[d+4>>2]|0)+1>>>0>2){break e}break d}e=j[d+4>>2];j[f+32>>2]=j[d>>2];j[f+36>>2]=e;e=j[c+4>>2];j[f+40>>2]=j[c>>2];j[f+44>>2]=e;c=j[b+4>>2];j[f+48>>2]=j[b>>2];j[f+52>>2]=c;b=j[a+12>>2];j[f+56>>2]=j[a+8>>2];j[f+60>>2]=b;w=a- -64|0;o=f+32|0;b=1;while(1){c=j[a>>2];B=f+32|0;f:{g:{if((u|0)>31){e=c;p=c;break g}g=j[o+20>>2];v=g-j[o+28>>2]|0;i=j[o+8>>2];p=j[o+16>>2];n=i-p|0;e=j[o+12>>2];l=e-g|0;g=n+1>>>0<3&l+1>>>0<3;r=j[o>>2]-i|0;q=(f+32|0)+(u<<3)|0;s=j[q+4>>2]-e|0;i=r+1>>>0<3&s+1>>>0<3;h:{i:{j:{e=p-j[o+24>>2]|0;k:{if(!(e+1>>>0>2|v+1>>>0>2)){if(g){e=c;p=c;if(i){break h}c=Gf(r,s);break k}c=Gf(n,l);if(i){break k}p=Gf(r,s);e=c;break h}c=Gf(e,v);if(!g){break i}if(!i){break j}}e=c;p=c;break h}p=Gf(r,s);e=((Df(c,p)|0)/2|0)+c|0;break h}e=Gf(n,l);if(i){p=e;break h}p=Gf(r,s)}i=Df(c,e);g=Df(e,p);l=i;i=i>>31;if((l+i^i)<=1474559){i=g>>31;if((i+g^i)<1474560){break g}}if(k[a+20|0]){j[a>>2]=c}c=j[o+24>>2];j[o+48>>2]=c;g=j[o+28>>2];j[o+52>>2]=g;i=j[o+8>>2];e=(i+j[o>>2]|0)/2|0;j[o+8>>2]=e;p=c;c=j[o+16>>2];p=(p+c|0)/2|0;j[o+40>>2]=p;c=(c+i|0)/2|0;e=(c+e|0)/2|0;j[o+16>>2]=e;c=(c+p|0)/2|0;j[o+32>>2]=c;j[o+24>>2]=(c+e|0)/2;i=j[(q|4)>>2];e=j[o+20>>2];c=(e+g|0)/2|0;j[o+44>>2]=c;g=c;c=j[o+12>>2];p=(c+e|0)/2|0;e=(g+p|0)/2|0;j[o+36>>2]=e;c=(c+i|0)/2|0;j[o+12>>2]=c;c=(c+p|0)/2|0;j[o+20>>2]=c;j[o+28>>2]=(c+e|0)/2;u=u+3|0;break f}l:{m:{n:{if(b&255){if(k[a+20|0]){of(f+336|0,j[a+60>>2],c+5898240|0);s=j[a+12>>2];v=j[f+340>>2];n=j[a+8>>2];l=j[f+336>>2];b=j[a+84>>2];o:{if((b|0)>=0){r=j[w>>2];if(r>>>0<=b+1>>>0){j[w>>2]=b;break o}g=r-1|0;j[a+64>>2]=g;i=j[a+72>>2];q=i+(b<<3)|0;g=i+(g<<3)|0;i=j[g+4>>2];j[q>>2]=j[g>>2];j[q+4>>2]=i;b=j[a+76>>2]+b|0;h[b|0]=k[b|0]|4;b=(r+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[w>>2]}i=s+v|0;n=l+n|0;h[a+80|0]=0;j[a+84>>2]=b;p:{q:{if(!b){break q}g=j[a+72>>2]+(b-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break q}if((j[g+4>>2]-i|0)+1>>>0<3){break p}}g=j[a+68>>2];j[f+24>>2]=0;q=b+1|0;r:{if(q>>>0<=g>>>0){t=j[a+76>>2];break r}l=j[a+88>>2];b=g;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}D=a,E=xe(l,8,g,b,j[a+72>>2],f+24|0),j[D+72>>2]=E;m=j[f+24>>2];if(m){break n}t=xe(l,1,g,b,j[a+76>>2],f+24|0);j[a+76>>2]=t;m=j[f+24>>2];if(m){break n}j[a+68>>2]=b;b=j[a+64>>2]}g=j[a+72>>2]+(b<<3)|0;j[g>>2]=n;j[g+4>>2]=i;h[b+t|0]=1;h[a+80|0]=0;j[a+64>>2]=j[a+64>>2]+1}s=j[a+12>>2];v=j[f+340>>2];n=j[a+8>>2];l=j[f+336>>2];b=j[a+116>>2];s:{if((b|0)>=0){r=j[a+96>>2];if(r>>>0<=b+1>>>0){j[a+96>>2]=b;break s}g=r-1|0;j[a+96>>2]=g;i=j[a+104>>2];q=i+(b<<3)|0;g=i+(g<<3)|0;i=j[g+4>>2];j[q>>2]=j[g>>2];j[q+4>>2]=i;b=j[a+108>>2]+b|0;h[b|0]=k[b|0]|4;b=(r+j[a+108>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[a+96>>2]}i=s-v|0;n=n-l|0;h[a+112|0]=0;j[a+116>>2]=b;t:{u:{if(!b){break u}g=j[a+104>>2]+(b-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break u}m=0;if((j[g+4>>2]-i|0)+1>>>0<3){break t}}g=j[a+100>>2];j[f+24>>2]=0;q=b+1|0;v:{w:{if(q>>>0<=g>>>0){t=j[a+108>>2];break w}l=j[a+120>>2];b=g;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}D=a,E=xe(l,8,g,b,j[a+104>>2],f+24|0),j[D+104>>2]=E;m=j[f+24>>2];if(m){break v}t=xe(l,1,g,b,j[a+108>>2],f+24|0);j[a+108>>2]=t;m=j[f+24>>2];if(m){break v}j[a+100>>2]=b;b=j[a+96>>2]}g=j[a+104>>2]+(b<<3)|0;j[g>>2]=n;j[g+4>>2]=i;h[b+t|0]=1;j[a+96>>2]=j[a+96>>2]+1;m=0}h[a+112|0]=0}j[a+36>>2]=0;h[a+20|0]=0;j[a+24>>2]=c;break m}j[a+4>>2]=c;b=Df(j[a>>2],c);if(!b){break l}m=Di(a,b>>>31|0,0);if(m){break a}m=Ci(a,(b^-1)>>>31|0,0);break m}m=0;b=Df(j[a>>2],c);i=b>>31;if((i^b+i)<368641){break m}i=j[o+28>>2];b=j[o+24>>2];j[a+48>>2]=0;j[a+4>>2]=c;j[a+8>>2]=b;j[a+12>>2]=i;b=Df(j[a>>2],c);x:{if(!b){break x}m=Di(a,b>>>31|0,0);if(m){break x}m=Ci(a,(b^-1)>>>31|0,0)}j[a+48>>2]=j[a+52>>2];break m}h[a+80|0]=0}if(m){break a}}q=Df(c,e);g=Df(e,p);i=(Df(c,e)|0)/2|0;b=(Df(e,p)|0)/2|0;C=De(j[a+60>>2],Bi((q|0)/2|0));r=De(j[a+60>>2],Bi((g|0)/2|0));if(k[a+40|0]){q=Gf(j[o>>2]-j[o+24>>2]|0,j[((f+32|0)+(u<<3)|0)+4>>2]-j[o+28>>2]|0)}else{q=0}s=c+i|0;v=b+e|0;y=(f+32|0)+(u<<3)|4;b=5898240;t=1;c=w;while(1){of(f+336|0,C,b+s|0);j[f+336>>2]=j[f+336>>2]+j[o+16>>2];j[f+340>>2]=j[f+340>>2]+j[o+20>>2];of(f+24|0,r,b+v|0);j[f+24>>2]=j[f+24>>2]+j[o+8>>2];j[f+28>>2]=j[f+28>>2]+j[o+12>>2];of(f+16|0,j[a+60>>2],b+p|0);n=j[f+16>>2]+j[o>>2]|0;j[f+16>>2]=n;l=j[f+20>>2]+j[y>>2]|0;j[f+20>>2]=l;y:{z:{if(!k[a+40|0]){break z}e=(j[c+8>>2]+(j[c>>2]<<3)|0)-8|0;b=j[e+4>>2];i=j[e>>2];g=b;e=i;x=b;l=Gf(n-e|0,l-b|0);b=Df(q,l);n=b>>31;if((n^b+n)<5898241){break z}z=Gf(j[o+24>>2]-e|0,j[o+28>>2]-x|0);b=Gf(j[o>>2]-j[f+16>>2]|0,j[y>>2]-j[f+20>>2]|0);j[f+8>>2]=j[f+16>>2]-e;j[f+12>>2]=j[f+20>>2]-x;n=pk(f+8|0);l=Ai(l-b|0);A=l>>31;b=Ai(z-b|0);m=b>>31;of(f,Ne(n,A^l+A,m^b+m),z);n=e+j[f>>2]|0;j[f>>2]=n;l=x+j[f+4>>2]|0;j[f+4>>2]=l;h[c+16|0]=0;b=j[c>>2];A:{B:{C:{D:{if(!b){break D}e=j[c+8>>2]+(b-1<<3)|0;if((j[e>>2]-n|0)+1>>>0>2){break D}if((j[e+4>>2]-l|0)+1>>>0<3){break C}}e=j[c+4>>2];j[f+348>>2]=0;l=b+1|0;E:{if(l>>>0<=e>>>0){e=j[c+12>>2];break E}n=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(l>>>0>b>>>0){continue}break}D=c,E=xe(n,8,e,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}e=xe(n,1,e,b,j[c+12>>2],f+348|0);j[c+12>>2]=e;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;b=j[c>>2]}l=j[f+4>>2];n=j[c+8>>2]+(b<<3)|0;j[n>>2]=j[f>>2];j[n+4>>2]=l;h[b+e|0]=1;e=0;h[c+16|0]=0;l=j[c>>2];b=l+1|0;j[c>>2]=b;if(b>>>0>>0){break B}}l=j[c+8>>2]+(b-1<<3)|0;if((j[l>>2]-j[f+16>>2]|0)+1>>>0>2){e=b;break B}e=b;if((j[l+4>>2]-j[f+20>>2]|0)+1>>>0<3){break A}}l=j[c+4>>2];j[f+348>>2]=0;n=e+1|0;F:{if(n>>>0<=l>>>0){n=j[c+12>>2];break F}e=j[c+24>>2];b=l;while(1){b=((b>>>1|0)+b|0)+16|0;if(n>>>0>b>>>0){continue}break}D=c,E=xe(e,8,l,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}n=xe(e,1,l,b,j[c+12>>2],f+348|0);j[c+12>>2]=n;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;e=j[c>>2]}b=j[f+20>>2];l=j[c+8>>2]+(e<<3)|0;j[l>>2]=j[f+16>>2];j[l+4>>2]=b;h[e+n|0]=1;h[c+16|0]=0;b=j[c>>2]+1|0;j[c>>2]=b}e=j[c+4>>2];j[f+348>>2]=0;l=b+3|0;G:{if(l>>>0<=e>>>0){e=j[c+12>>2];break G}n=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(l>>>0>b>>>0){continue}break}D=c,E=xe(n,8,e,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}e=xe(n,1,e,b,j[c+12>>2],f+348|0);j[c+12>>2]=e;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;b=j[c>>2]}l=j[f+28>>2];m=j[c+8>>2]+(b<<3)|0;j[m>>2]=j[f+24>>2];j[m+4>>2]=l;n=j[f+336>>2];l=j[f+340>>2];j[m+16>>2]=i;j[m+20>>2]=g;j[m+8>>2]=n;j[m+12>>2]=l;b=b+e|0;h[b+2|0]=1;h[b|0]=2;h[b+1|0]=2;h[c+16|0]=0;i=j[c>>2];b=i+3|0;j[c>>2]=b;H:{if(!b){break H}e=j[c+8>>2]+(i+2<<3)|0;if((j[e>>2]-j[f+16>>2]|0)+1>>>0>2){break H}if((j[e+4>>2]-j[f+20>>2]|0)+1>>>0<3){break y}}e=j[c+4>>2];j[f+348>>2]=0;i=i+4|0;I:{if(i>>>0<=e>>>0){e=j[c+12>>2];break I}g=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}D=c,E=xe(g,8,e,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}e=xe(g,1,e,b,j[c+12>>2],f+348|0);j[c+12>>2]=e;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;b=j[c>>2]}i=j[f+20>>2];g=j[c+8>>2]+(b<<3)|0;j[g>>2]=j[f+16>>2];j[g+4>>2]=i;h[b+e|0]=1;h[c+16|0]=0;j[c>>2]=j[c>>2]+1;break y}e=j[c+4>>2];b=j[c>>2];j[f+8>>2]=0;i=b+3|0;J:{if(i>>>0<=e>>>0){e=j[c+12>>2];break J}g=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}D=c,E=xe(g,8,e,b,j[c+8>>2],f+8|0),j[D+8>>2]=E;m=j[f+8>>2];if(m){break b}e=xe(g,1,e,b,j[c+12>>2],f+8|0);j[c+12>>2]=e;m=j[f+8>>2];if(m){break b}j[c+4>>2]=b;b=j[c>>2]}i=j[f+340>>2];g=j[c+8>>2]+(b<<3)|0;j[g>>2]=j[f+336>>2];j[g+4>>2]=i;i=j[f+28>>2];j[g+8>>2]=j[f+24>>2];j[g+12>>2]=i;i=j[f+20>>2];j[g+16>>2]=j[f+16>>2];j[g+20>>2]=i;b=b+e|0;h[b+2|0]=1;h[b|0]=2;h[b+1|0]=2;h[c+16|0]=0;j[c>>2]=j[c>>2]+3}c=c+32|0;e=t&1;b=-5898240;t=0;if(e){continue}break}j[a>>2]=p;b=0;u=u-3|0}o=B+(u<<3)|0;if((u|0)>-1){continue}break}}b=j[d+4>>2];j[a+8>>2]=j[d>>2];j[a+12>>2]=b;m=0;break a}h[c+16|0]=0;break a}h[c+16|0]=0}oe=f+352|0;return m}function VD(a,b,c,d,e,f,g){var h=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;h=oe-8976|0;oe=h;z=d+e|0;F=0-z|0;a:{b:{while(1){if((c|0)!=48){c:{if((c|0)!=46){break a}c=j[b+4>>2];if(c>>>0>=m[b+104>>2]){break c}j[b+4>>2]=c+1;c=k[c|0];break b}}else{c=j[b+4>>2];if(c>>>0>2]){l=1;j[b+4>>2]=c+1;c=k[c|0]}else{l=1;c=ff(b)}continue}break}c=ff(b)}n=1;if((c|0)!=48){break a}while(1){c=q;q=c-1|0;o=o-(c>>>0<1)|0;c=j[b+4>>2];d:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break d}c=ff(b)}if((c|0)==48){continue}break}l=1}j[h+784>>2]=0;e:{f:{t=(c|0)==46;s=c-48|0;g:{h:{i:{j:{if(t|s>>>0<=9){while(1){k:{if(t&1){if(!n){q=r;o=i;n=1;break k}l=!l;break j}r=r+1|0;i=r>>>0<1?i+1|0:i;if((v|0)<=2044){y=(c|0)==48?y:r;l=(h+784|0)+(v<<2)|0;t=l;if(u){s=(p(j[l>>2],10)+c|0)-48|0}j[t>>2]=s;l=1;s=u+1|0;c=(s|0)==9;u=c?0:s;v=c+v|0;break k}if((c|0)==48){break k}j[h+8960>>2]=j[h+8960>>2]|1;y=18396}c=j[b+4>>2];l:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break l}c=ff(b)}t=(c|0)==46;s=c-48|0;if(t|s>>>0<10){continue}break}}q=n?q:r;o=n?o:i;if(!(!l|(c&-33)!=69)){n=cp(b,g);c=pe;t=c;m:{if(n|(c|0)!=-2147483648){break m}if(!g){break g}n=0;t=0;if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1}if(!l){break h}o=o+t|0;b=n+q|0;o=b>>>0>>0?o+1|0:o;q=b;break f}l=!l;if((c|0)<0){break i}}if(!j[b+104>>2]){break i}j[b+4>>2]=j[b+4>>2]-1}if(!l){break f}}j[67100]=28}r=0;i=0;kg(b,0,0);c=0;b=0;break e}b=j[h+784>>2];if(!b){Lg(h,+(f|0)*0);r=j[h>>2];i=j[h+4>>2];c=j[h+12>>2];b=j[h+8>>2];break e}if(!((q|0)!=(r|0)|(i|0)!=(o|0)|((i|0)>0?1:(i|0)>=0?r>>>0>9:0)|(b>>>d|0?(d|0)<=30:0))){ag(h+48|0,f);li(h+32|0,b);lf(h+16|0,j[h+48>>2],j[h+52>>2],j[h+56>>2],j[h+60>>2],j[h+32>>2],j[h+36>>2],j[h+40>>2],j[h+44>>2]);r=j[h+16>>2];i=j[h+20>>2];c=j[h+28>>2];b=j[h+24>>2];break e}if((o|0)>0?1:(o|0)>=0?q>>>0>(e|0)/-2>>>0:0){j[67100]=68;ag(h+96|0,f);lf(h+80|0,j[h+96>>2],j[h+100>>2],j[h+104>>2],j[h+108>>2],-1,-1,-1,2147418111);lf(h- -64|0,j[h+80>>2],j[h+84>>2],j[h+88>>2],j[h+92>>2],-1,-1,-1,2147418111);r=j[h+64>>2];i=j[h+68>>2];c=j[h+76>>2];b=j[h+72>>2];break e}b=e-226|0;c=q>>>0>>0;b=b>>31;if((b|0)>(o|0)?1:(o|0)<=(b|0)?c:0){j[67100]=68;ag(h+144|0,f);lf(h+128|0,j[h+144>>2],j[h+148>>2],j[h+152>>2],j[h+156>>2],0,0,0,65536);lf(h+112|0,j[h+128>>2],j[h+132>>2],j[h+136>>2],j[h+140>>2],0,0,0,65536);r=j[h+112>>2];i=j[h+116>>2];c=j[h+124>>2];b=j[h+120>>2];break e}if(u){if((u|0)<=8){c=(h+784|0)+(v<<2)|0;b=j[c>>2];while(1){b=p(b,10);u=u+1|0;if((u|0)!=9){continue}break}j[c>>2]=b}v=v+1|0}n:{n=q;if((y|0)>(n|0)|(y|0)>=9|(n|0)>17){break n}if((n|0)==9){ag(h+192|0,f);li(h+176|0,j[h+784>>2]);lf(h+160|0,j[h+192>>2],j[h+196>>2],j[h+200>>2],j[h+204>>2],j[h+176>>2],j[h+180>>2],j[h+184>>2],j[h+188>>2]);r=j[h+160>>2];i=j[h+164>>2];c=j[h+172>>2];b=j[h+168>>2];break e}if((n|0)<=8){ag(h+272|0,f);li(h+256|0,j[h+784>>2]);lf(h+240|0,j[h+272>>2],j[h+276>>2],j[h+280>>2],j[h+284>>2],j[h+256>>2],j[h+260>>2],j[h+264>>2],j[h+268>>2]);ag(h+224|0,j[(0-n<<2)+227584>>2]);Xo(h+208|0,j[h+240>>2],j[h+244>>2],j[h+248>>2],j[h+252>>2],j[h+224>>2],j[h+228>>2],j[h+232>>2],j[h+236>>2]);r=j[h+208>>2];i=j[h+212>>2];c=j[h+220>>2];b=j[h+216>>2];break e}b=(p(n,-3)+d|0)+27|0;c=j[h+784>>2];if(c>>>b|0?(b|0)<=30:0){break n}ag(h+352|0,f);li(h+336|0,c);lf(h+320|0,j[h+352>>2],j[h+356>>2],j[h+360>>2],j[h+364>>2],j[h+336>>2],j[h+340>>2],j[h+344>>2],j[h+348>>2]);ag(h+304|0,j[(n<<2)+227512>>2]);lf(h+288|0,j[h+320>>2],j[h+324>>2],j[h+328>>2],j[h+332>>2],j[h+304>>2],j[h+308>>2],j[h+312>>2],j[h+316>>2]);r=j[h+288>>2];i=j[h+292>>2];c=j[h+300>>2];b=j[h+296>>2];break e}while(1){c=v;v=c-1|0;if(!j[(h+784|0)+(v<<2)>>2]){continue}break}u=0;b=(n|0)%9|0;o:{if(!b){l=0;break o}g=(n|0)>-1?b:b+9|0;p:{if(!c){l=0;c=0;break p}q=j[(0-g<<2)+227584>>2];o=1e9/(q|0)|0;t=0;b=0;l=0;while(1){s=t;i=(h+784|0)+(b<<2)|0;r=j[i>>2];t=(r>>>0)/(q>>>0)|0;s=s+t|0;j[i>>2]=s;s=!s&(b|0)==(l|0);l=s?l+1&2047:l;n=s?n-9|0:n;t=p(o,r-p(q,t)|0);b=b+1|0;if((c|0)!=(b|0)){continue}break}if(!t){break p}j[(h+784|0)+(c<<2)>>2]=t;c=c+1|0}n=(n-g|0)+9|0}while(1){r=(h+784|0)+(l<<2)|0;q:{while(1){if((n|0)!=36|m[r>>2]>=10384593?(n|0)>=36:0){break q}v=c+2047|0;t=0;s=c;while(1){c=s;i=v&2047;s=(h+784|0)+(i<<2)|0;b=j[s>>2];o=b>>>3|0;g=b<<29;b=g+t|0;o=b>>>0>>0?o+1|0:o;q=b;g=0;r:{if(!o&b>>>0<1000000001){break r}g=iP(b,o,1e9);q=q-gP(g,pe,1e9,0)|0}t=g;j[s>>2]=q;s=(i|0)!=(c-1&2047)?c:(i|0)==(l|0)?c:q?c:i;v=i-1|0;if((i|0)!=(l|0)){continue}break}u=u-29|0;if(!t){continue}break}l=l-1&2047;if((s|0)==(l|0)){b=(h+784|0)+((s+2046&2047)<<2)|0;c=s-1&2047;j[b>>2]=j[b>>2]|j[(h+784|0)+(c<<2)>>2]}n=n+9|0;j[(h+784|0)+(l<<2)>>2]=t;continue}break}s:{t:while(1){g=c+1&2047;o=(h+784|0)+((c-1&2047)<<2)|0;while(1){q=(n|0)>45?9:1;u:{while(1){s=l;b=0;v:{while(1){w:{l=b+s&2047;if((l|0)==(c|0)){break w}l=j[(h+784|0)+(l<<2)>>2];i=j[(b<<2)+227536>>2];if(l>>>0>>0){break w}if(i>>>0>>0){break v}b=b+1|0;if((b|0)!=4){continue}}break}if((n|0)!=36){break v}q=0;o=0;b=0;r=0;i=0;while(1){g=b+s&2047;if((g|0)==(c|0)){c=c+1&2047;j[((c<<2)+h|0)+780>>2]=0}lf(h+768|0,q,o,r,i,0,0,1342177280,1075633366);li(h+752|0,j[(h+784|0)+(g<<2)>>2]);Wf(h+736|0,j[h+768>>2],j[h+772>>2],j[h+776>>2],j[h+780>>2],j[h+752>>2],j[h+756>>2],j[h+760>>2],j[h+764>>2]);r=j[h+744>>2];i=j[h+748>>2];q=j[h+736>>2];o=j[h+740>>2];b=b+1|0;if((b|0)!=4){continue}break}ag(h+720|0,f);lf(h+704|0,q,o,r,i,j[h+720>>2],j[h+724>>2],j[h+728>>2],j[h+732>>2]);r=j[h+712>>2];i=j[h+716>>2];q=0;o=0;n=j[h+704>>2];t=j[h+708>>2];l=u+113|0;e=l-e|0;g=(e|0)<(d|0);d=g?(e|0)>0?e:0:d;if((d|0)<=112){break u}break s}u=q+u|0;l=c;if((c|0)==(s|0)){continue}break}i=1e9>>>q|0;r=-1<>2];b=(v>>>q|0)+b|0;j[t>>2]=b;b=!b&(l|0)==(s|0);l=b?l+1&2047:l;n=b?n-9|0:n;b=p(i,r&v);s=s+1&2047;if((s|0)!=(c|0)){continue}break}if(!b){continue}if((g|0)!=(l|0)){j[(h+784|0)+(c<<2)>>2]=b;c=g;continue t}j[o>>2]=j[o>>2]|1;l=g;continue}break}break}Lg(h+656|0,Kg(1,225-d|0));fp(h+688|0,j[h+656>>2],j[h+660>>2],j[h+664>>2],j[h+668>>2],n,t,r,i);A=j[h+696>>2];B=j[h+700>>2];C=j[h+688>>2];D=j[h+692>>2];Lg(h+640|0,Kg(1,113-d|0));Vo(h+672|0,n,t,r,i,j[h+640>>2],j[h+644>>2],j[h+648>>2],j[h+652>>2]);q=j[h+672>>2];o=j[h+676>>2];w=j[h+680>>2];x=j[h+684>>2];ul(h+624|0,n,t,r,i,q,o,w,x);Wf(h+608|0,C,D,A,B,j[h+624>>2],j[h+628>>2],j[h+632>>2],j[h+636>>2]);r=j[h+616>>2];i=j[h+620>>2];n=j[h+608>>2];t=j[h+612>>2]}b=s+4&2047;x:{if((b|0)==(c|0)){break x}b=j[(h+784|0)+(b<<2)>>2];y:{if(b>>>0<=499999999){if((s+5&2047)==(c|0)?!b:0){break y}Lg(h+496|0,+(f|0)*.25);Wf(h+480|0,q,o,w,x,j[h+496>>2],j[h+500>>2],j[h+504>>2],j[h+508>>2]);w=j[h+488>>2];x=j[h+492>>2];q=j[h+480>>2];o=j[h+484>>2];break y}if((b|0)!=5e8){Lg(h+592|0,+(f|0)*.75);Wf(h+576|0,q,o,w,x,j[h+592>>2],j[h+596>>2],j[h+600>>2],j[h+604>>2]);w=j[h+584>>2];x=j[h+588>>2];q=j[h+576>>2];o=j[h+580>>2];break y}E=+(f|0);if((s+5&2047)==(c|0)){Lg(h+528|0,E*.5);Wf(h+512|0,q,o,w,x,j[h+528>>2],j[h+532>>2],j[h+536>>2],j[h+540>>2]);w=j[h+520>>2];x=j[h+524>>2];q=j[h+512>>2];o=j[h+516>>2];break y}Lg(h+560|0,E*.75);Wf(h+544|0,q,o,w,x,j[h+560>>2],j[h+564>>2],j[h+568>>2],j[h+572>>2]);w=j[h+552>>2];x=j[h+556>>2];q=j[h+544>>2];o=j[h+548>>2]}if((d|0)>111){break x}Vo(h+464|0,q,o,w,x,0,0,0,1073676288);if(Kh(j[h+464>>2],j[h+468>>2],j[h+472>>2],j[h+476>>2],0,0,0,0)){break x}Wf(h+448|0,q,o,w,x,0,0,0,1073676288);w=j[h+456>>2];x=j[h+460>>2];q=j[h+448>>2];o=j[h+452>>2]}Wf(h+432|0,n,t,r,i,q,o,w,x);ul(h+416|0,j[h+432>>2],j[h+436>>2],j[h+440>>2],j[h+444>>2],C,D,A,B);r=j[h+424>>2];i=j[h+428>>2];n=j[h+416>>2];t=j[h+420>>2];z:{if((-2-z|0)>=(l&2147483647)){break z}j[h+408>>2]=r;j[h+412>>2]=i&2147483647;j[h+400>>2]=n;j[h+404>>2]=t;lf(h+384|0,n,t,r,i,0,0,0,1073610752);c=Yo(j[h+400>>2],j[h+404>>2],j[h+408>>2],j[h+412>>2],1081081856);b=(c|0)<0;r=b?r:j[h+392>>2];i=b?i:j[h+396>>2];n=b?n:j[h+384>>2];t=b?t:j[h+388>>2];u=((c|0)>-1)+u|0;if(G=!(g&(b|(d|0)!=(e|0))&(Kh(q,o,w,x,0,0,0,0)|0)!=0),H=0,I=(u+110|0)<=(F|0),I?G:H){break z}j[67100]=68}ep(h+368|0,n,t,r,i,u);r=j[h+368>>2];i=j[h+372>>2];c=j[h+380>>2];b=j[h+376>>2]}j[a>>2]=r;j[a+4>>2]=i;j[a+8>>2]=b;j[a+12>>2]=c;oe=h+8976|0}function vN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0,u=0,v=0;l=oe-304|0;oe=l;j[l+28>>2]=0;f=j[e+32>>2];if(f){m=j[f+278664>>2]}a:{b:{if(Qe(a,75356,7)){break b}c:{o=k[a+7|0];switch(o|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!f|!j[j[e+36>>2]+8>>2]){break a}c=j[f+278664>>2];j[l+48>>2]=0;e=c;c=j[f+88>>2];b=(o?-8:-7)+b|0;d=b+1|0;e=xe(e,1,c,d+c|0,j[f+84>>2],l+48|0);j[f+84>>2]=e;c=j[l+48>>2];if(c){break a}u=Ae(e+j[f+88>>2]|0,o?a+8|0:a+7|0,b)+b|0,v=10,h[u|0]=v;j[f+88>>2]=d+j[f+88>>2];c=j[l+48>>2];break a}g=j[e>>2];if(!(g&1)){d=j[e+139320>>2];c=176;if(Qe(a,75364,9)){break a}d:{switch(k[a+9|0]){case 0:case 9:case 10:case 13:case 32:break d;default:break a}}a=0;j[e+32>>2]=0;j[e>>2]=1;b=He(d,278692,l+28|0);c=j[l+28>>2];if(c){break a}j[e+32>>2]=b;j[b+278664>>2]=j[e+139320>>2];j[e+139320>>2]=0;j[l+48>>2]=0;j[b+278684>>2]=0;j[b+278676>>2]=80;j[b+278680>>2]=241;u=b,v=xe(d,4,0,241,0,l+48|0),j[u+278688>>2]=v;c=j[l+48>>2];j[l+28>>2]=c;if(c){break a}b=b+278676|0;f=75376;while(1){c=um(j[f>>2],a,b,d);j[l+28>>2]=c;if(c){break a}f=f+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=He(d,16,l+28|0);j[j[e+32>>2]+128>>2]=a;c=j[l+28>>2];if(c){break a}j[l+48>>2]=0;j[a+8>>2]=0;j[a>>2]=80;j[a+4>>2]=241;u=a,v=xe(d,4,0,241,0,l+48|0),j[u+12>>2]=v;c=j[l+48>>2];if(c){break a}a=j[j[e+36>>2]+12>>2];b=j[e+32>>2];j[b+36>>2]=-1;j[b+28>>2]=a;c=0;break a}e:{if(Qe(a,76704,15)){break e}f:{switch(k[a+15|0]){case 0:case 9:case 10:case 13:case 32:break f;default:break e}}c=179;if(!(g&8)){break a}o=e+139304|0;c=og(o,76720,a,b);j[l+28>>2]=c;if(c){break a}f=0;a=j[j[o>>2]+4>>2];g:{if(!a){break g}g=k[a|0];if(!g){break g}b=77888;n=10;c=a;h:{if((g|0)!=48){break h}if((k[a+1|0]|32)!=120){g=48;c=a;break h}g=k[a+2|0];b=77856;n=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+b|0]>>>(a&7)&1)){break g}while(1){f=k[a+77920|0]+p(f,n)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}j[j[e+32>>2]+72>>2]=f;j[e+4>>2]=f;a=xe(m,16,0,f,0,l+28|0);b=j[e+32>>2];j[b+80>>2]=a;c=j[l+28>>2];if(c){j[b+72>>2]=0;break a}j[e>>2]=j[e>>2]|16;j[d>>2]=581;c=0;break a}o=l;i:{j:{if(Qe(a,76723,15)){break j}k:{switch(k[a+15|0]){case 0:case 9:case 10:case 13:case 32:break k;default:break j}}c=178;if(!(g&4)){break i}d=e+139304|0;c=og(d,76720,a,b);j[l+28>>2]=c;if(c){break a}f=0;b=0;q=j[d>>2];a=j[q+4>>2];l:{if(!a){break l}n=k[a|0];if(!n){break l}m=77888;d=10;c=a;m:{if((n|0)!=48){break m}if((k[a+1|0]|32)!=120){n=48;c=a;break m}n=k[a+2|0];m=77856;d=16;c=a+2|0}a=n<<24>>24;if(!(k[((n&248)>>>3|0)+m|0]>>>(a&7)&1)){break l}while(1){b=k[a+77920|0]+p(b,d)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}o=j[e+32>>2];i[o+4>>1]=b;a=j[q+8>>2];n:{if(!a){break n}d=k[a|0];if(!d){break n}b=77888;m=10;c=a;o:{if((d|0)!=48){break o}if((k[a+1|0]|32)!=120){d=48;c=a;break o}d=k[a+2|0];b=77856;m=16;c=a+2|0}a=d<<24>>24;if(!(k[((d&248)>>>3|0)+b|0]>>>(a&7)&1)){break n}while(1){f=k[a+77920|0]+p(f,m)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}i[o+6>>1]=f;g=0;t=o;a=j[q+12>>2];b=0;p:{if(!a){break p}n=k[a|0];b=0;if(!n){break p}m=77888;d=10;r=(n|0)==45;b=r?a+1|0:a;c=b;a=k[a+r|0];q:{if((a|0)!=48){break q}if((k[b+1|0]|32)!=120){a=48;c=b;break q}a=k[b+2|0];m=77856;d=16;c=b+2|0}b=0;r=k[((a&248)>>>3|0)+m|0];a=a<<24>>24;if(r>>>(a&7)&1){while(1){b=k[a+77920|0]+p(b,d)<<16>>16;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}b=(n|0)==45?0-b|0:b}i[t+8>>1]=b;a=j[q+16>>2];r:{if(!a){break r}n=k[a|0];if(!n){break r}m=77888;d=10;g=(n|0)==45;b=g?a+1|0:a;c=b;a=k[a+g|0];s:{if((a|0)!=48){break s}if((k[b+1|0]|32)!=120){a=48;c=b;break s}a=k[b+2|0];m=77856;d=16;c=b+2|0}b=0;t=k[((a&248)>>>3|0)+m|0];a=a<<24>>24;if(t>>>(a&7)&1){while(1){b=k[a+77920|0]+p(b,d)<<16>>16;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}g=(n|0)==45?0-b|0:b}c=0;i[o+14>>1]=0-g;i[o+12>>1]=f+g;i[o+10>>1]=g;j[e>>2]=j[e>>2]|8;break a}t:{u:{v:{w:{x:{y:{if(Qe(a,76739,4)){break y}z:{switch(k[a+4|0]){case 0:case 9:case 10:case 13:case 32:break z;default:break y}}g=e+139304|0;c=og(g,76720,a,b);j[l+28>>2]=c;if(c){break a}A:{B:{C:{D:{E:{F:{a=j[e+139312>>2];switch(a|0){case 0:break t;case 1:break E;default:break F}}d=a-1|0;a=0;c=1;while(1){b=j[g>>2];j[b+(a<<2)>>2]=j[b+(c<<2)>>2];c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}j[e+139312>>2]=d;if(!d){break t}c=0;b=j[j[g>>2]>>2];a=b;while(1){f=k[a|0];if(f){while(1){h[b+c|0]=f;c=c+1|0;f=k[a+1|0];a=a+1|0;if(f){continue}break}d=j[e+139312>>2]}n=n+1|0;if(n>>>0>>0){h[b+c|0]=32;d=j[e+139312>>2];c=c+1|0}if(d>>>0>n>>>0){a=j[j[g>>2]+(n<<2)>>2];continue}break}if((b|0)!=77841){h[b+c|0]=0}a=j[j[e+32>>2]>>2];if(a){qe[j[m+8>>2]](m,a)}j[j[e+32>>2]>>2]=0;d=c+1|0;a=xe(m,1,0,d,0,l+28|0);j[j[e+32>>2]>>2]=a;c=j[l+28>>2];if(c){break a}Ae(a,b,d);a=j[e+32>>2];if(!a){break x}b=j[a>>2];if(!b|!k[b|0]){break x}c=j[e+36>>2];d=j[a+278664>>2];j[l+40>>2]=0;j[l+32>>2]=0;j[l+36>>2]=0;j[l+44>>2]=d;j[a+28>>2]=j[c+12>>2];c=Le(b)+1|0;if(c>>>0>255){break x}Ae(l+48|0,b,c);c=og(l+32|0,78084,l+48|0,c);if(c|j[l+40>>2]!=15){break A}switch(h[j[j[l+32>>2]+44>>2]]-67|0){case 13:case 45:break B;case 10:case 42:break C;case 0:case 32:break D;default:break A}}j[e+139312>>2]=0;break t}j[a+28>>2]=32;break A}j[a+28>>2]=16;break A}j[a+28>>2]=8}a=j[l+44>>2];if(a){b=j[l+32>>2];if(b){qe[j[a+8>>2]](a,b)}}j[l+28>>2]=c;if(c){break a}j[e>>2]=j[e>>2]|2;c=0;break a}G:{if(Qe(a,76744,4)){break G}H:{switch(k[a+4|0]){case 0:case 9:case 10:case 13:case 32:break H;default:break G}}c=177;if(!(g&2)){break i}d=e+139304|0;c=og(d,76720,a,b);j[l+28>>2]=c;if(c){break a}b=0;f=0;n=j[d>>2];a=j[n+4>>2];I:{if(!a){break I}g=k[a|0];if(!g){break I}m=77888;d=10;c=a;J:{if((g|0)!=48){break J}if((k[a+1|0]|32)!=120){g=48;c=a;break J}g=k[a+2|0];m=77856;d=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+m|0]>>>(a&7)&1)){break I}while(1){f=k[a+77920|0]+p(d,f)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}o=j[e+32>>2];j[o+16>>2]=f;a=j[n+8>>2];K:{if(!a){break K}g=k[a|0];if(!g){break K}f=77888;m=10;c=a;L:{if((g|0)!=48){break L}if((k[a+1|0]|32)!=120){g=48;c=a;break L}g=k[a+2|0];f=77856;m=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+f|0]>>>(a&7)&1)){break K}while(1){b=k[a+77920|0]+p(b,m)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+f|0]>>>(a&7)&1){continue}break}}j[o+20>>2]=b;f=0;a=j[n+12>>2];M:{if(!a){break M}g=k[a|0];if(!g){break M}b=77888;m=10;c=a;N:{if((g|0)!=48){break N}if((k[a+1|0]|32)!=120){g=48;c=a;break N}g=k[a+2|0];b=77856;m=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+b|0]>>>(a&7)&1)){break M}while(1){f=k[a+77920|0]+p(f,m)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}j[o+24>>2]=f;if(j[e+139312>>2]==5){a=j[n+16>>2];if(!a){break w}g=k[a|0];if(!g){break w}b=77888;m=10;n=(g|0)==45;d=n?a+1|0:a;c=d;a=k[a+n|0];O:{if((a|0)!=48){break O}if((k[d+1|0]|32)!=120){a=48;c=d;break O}a=k[d+2|0];b=77856;m=16;c=d+2|0}n=0;f=0;d=k[((a&248)>>>3|0)+b|0];a=a<<24>>24;if(d>>>(a&7)&1){while(1){f=k[a+77920|0]+p(f,m)<<16>>16;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}d=(g|0)==45?0-f|0:f;i[o+278662>>1]=d;m=o+278662|0;b=d&65535;a=1;if(!b){break v}b=32-s(b)|0;a=0;c=d;f=0;while(1){f=c&1?a:f;a=a+1|0;c=(c&65534)>>>1|0;b=b-1|0;if(b&65535){continue}break}n=d&65535;a=f&65535;a=a>>>0>3?8:1<>1]=1;break u}if(Qe(a,76749,5)){break t}P:{switch(k[a+5|0]){case 0:case 9:case 10:case 13:case 32:break P;default:break t}}c=179;if(!(g&8)){break i}a=i[f+12>>1];j[f+40>>2]=a;j[l+16>>2]=a;$j(l+48|0,l+16|0);c=Sh(j[e+32>>2],76759,l+48|0);j[l+28>>2]=c;if(c){break a}b=j[e+32>>2];a=i[b+14>>1];j[b+44>>2]=a;j[l>>2]=a;$j(l+48|0,l);c=Sh(j[e+32>>2],76771,l+48|0);if(c){break a}i[j[e+32>>2]+278660>>1]=1;j[d>>2]=582;c=-1;break i}c=6;break i}n=0;i[o+278662>>1]=0;m=o+278662|0;a=1}if((a|0)==(n|0)){break u}i[m>>1]=a<<1}j[e>>2]=j[e>>2]|4;c=0;break a}c=3}j[o+28>>2]=c}oe=l+304|0;return c|0}function Bz(a,b,c,d,e,f,g,h,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;m=m|0;n=n|0;o=o|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;if(f-1>>>0<=1){m=(p(m,n)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0}s=n^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;c:{if((b|0)<=(d|0)){e=d-b|0;c=a+(b<<1)|0;a=(o|0)!=0;break c}a=a+(d<<1)|0;c=o?a:a+2|0;e=b-d|0;a=(o|0)!=0}e=a+e|0;if(!e){break a}d=j[58746];a=j[58747];while(1){b=l[c>>1];i[c>>1]=((p(s,k[d+(b>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[a+(b>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[a+(b&31)|0])>>>0)/255|0)+m>>>3;c=c+2|0;e=e-1|0;if(e){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break d}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}b=a+e|0;if(!b){break a}d=j[58746];a=j[58747];while(1){c=l[n>>1];e=k[d+(c>>>5&63)|0]+h|0;f=(e>>>0<255?e:255)<<3&8160;e=k[a+(c>>>11|0)|0]+g|0;c=k[a+(c&31)|0]+m|0;i[n>>1]=f|(e>>>0<255?e:255)<<8&63488|(c>>>0<255?c:255)>>>3;n=n+2|0;b=b-1|0;if(b){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break e}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}b=a+e|0;if(!b){break a}d=j[58746];a=j[58747];while(1){c=l[n>>1];i[n>>1]=(p(k[d+(c>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[a+(c>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[a+(c&31)|0],m)>>>0)/255>>>3;n=n+2|0;b=b-1|0;if(b){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break f}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}c=a+e|0;if(!c){break a}a=g<<8&63488|(h<<3&4064|m>>>3);while(1){i[n>>1]=a;n=n+2|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break h}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}e=a+c|0;if(!e){break a}d=j[58746];a=j[58747];f=f<<1;while(1){c=l[b>>1];i[b>>1]=((p(s,k[d+(c>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[a+(c>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[a+(c&31)|0])>>>0)/255|0)+m>>>3;b=b+f|0;e=e-1|0;if(e){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break i}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}d=j[58746];a=j[58747];e=f<<1;while(1){c=l[n>>1];f=k[d+(c>>>5&63)|0]+h|0;o=(f>>>0<255?f:255)<<3&8160;f=k[a+(c>>>11|0)|0]+g|0;c=k[a+(c&31)|0]+m|0;i[n>>1]=o|(f>>>0<255?f:255)<<8&63488|(c>>>0<255?c:255)>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break j}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}d=j[58746];a=j[58747];e=f<<1;while(1){c=l[n>>1];i[n>>1]=(p(k[d+(c>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[a+(c>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[a+(c&31)|0],m)>>>0)/255>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;default:break g}}b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break k}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=g<<8&63488|(h<<3&4064|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}u=b-d|0;n=u>>31;r=c-e|0;q=r>>31;if((n^n+u)==(q^q+r)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=o?a:a+(c<<1)|0}b=((o|0)!=0)+r|0;if(!b){break a}e=j[58746];d=j[58747];f=c<<1;while(1){c=l[a>>1];i[a>>1]=((p(s,k[e+(c>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[d+(c>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[d+(c&31)|0])>>>0)/255|0)+m>>>3;a=a+f|0;b=b-1|0;if(b){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+r|0;if(!b){break a}d=j[58746];a=j[58747];e=c<<1;while(1){c=l[n>>1];f=k[d+(c>>>5&63)|0]+h|0;o=(f>>>0<255?f:255)<<3&8160;f=k[a+(c>>>11|0)|0]+g|0;c=k[a+(c&31)|0]+m|0;i[n>>1]=o|(f>>>0<255?f:255)<<8&63488|(c>>>0<255?c:255)>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+r|0;if(!b){break a}d=j[58746];a=j[58747];e=c<<1;while(1){c=l[n>>1];i[n>>1]=(p(k[d+(c>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[a+(c>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[a+(c&31)|0],m)>>>0)/255>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}c=((o|0)!=0)+r|0;if(!c){break a}a=g<<8&63488|(h<<3&4064|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;f=n>>31;q=e-c|0;r=q>>31;n=f^f+n;q=r^q+r;r:{if((n|0)>=(q|0)){u=q-n|0;r=q<<1;f=r-n|0;q=1;break r}u=n-q|0;t=1;r=n<<1;f=r-q|0;n=q;q=0}n=((o|0)!=0)+n|0;if(!n){break a}e=(c|0)>(e|0);o=e?0-t|0:t;d=(b|0)>(d|0);q=d?0-q|0:q;t=e?-1:1;w=d?-1:1;u=u<<1;x=j[58746];e=j[58747];y=j[a+16>>2];v=j[a+20>>2];a=0;while(1){z=(v+p(c,y)|0)+(b<<1)|0;d=l[z>>1];i[z>>1]=((p(s,k[x+(d>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[e+(d>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[e+(d&31)|0])>>>0)/255|0)+m>>>3;d=(f|0)<0;f=(d?r:u)+f|0;b=(d?q:w)+b|0;c=(d?o:t)+c|0;a=a+1|0;if((n|0)!=(a|0)){continue}break}break a;case 1:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;f=f^f+r;q=n^n+q;s:{if((f|0)>=(q|0)){u=q-f|0;s=1;r=q<<1;n=r-f|0;q=0;break s}u=f-q|0;r=f<<1;n=r-q|0;s=0;f=q;q=1}o=((o|0)!=0)+f|0;if(!o){break a}e=(c|0)>(e|0);q=e?0-q|0:q;d=(b|0)>(d|0);s=d?0-s|0:s;t=e?-1:1;w=d?-1:1;u=u<<1;x=j[58746];d=j[58747];y=j[a+16>>2];v=j[a+20>>2];a=0;while(1){z=(v+p(c,y)|0)+(b<<1)|0;e=l[z>>1];f=k[x+(e>>>5&63)|0]+h|0;A=(f>>>0<255?f:255)<<3&8160;f=k[d+(e>>>11|0)|0]+g|0;e=k[d+(e&31)|0]+m|0;i[z>>1]=A|(f>>>0<255?f:255)<<8&63488|(e>>>0<255?e:255)>>>3;e=(n|0)<0;n=(e?r:u)+n|0;b=(e?s:w)+b|0;c=(e?q:t)+c|0;a=a+1|0;if((o|0)!=(a|0)){continue}break}break a;case 3:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;t:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break t}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;s=e?-1:1;u=d?-1:1;t=t<<1;w=j[58746];e=j[58747];x=j[a+16>>2];y=j[a+20>>2];a=0;while(1){v=(y+p(c,x)|0)+(b<<1)|0;d=l[v>>1];i[v>>1]=(p(k[w+(d>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[e+(d>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[e+(d&31)|0],m)>>>0)/255>>>3;d=(n|0)<0;n=(d?f:t)+n|0;b=(d?q:u)+b|0;c=(d?r:s)+c|0;a=a+1|0;if((o|0)!=(a|0)){continue}break}break a;default:break q}}r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;u:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break u}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;e=e?-1:1;d=d?-1:1;s=t<<1;g=g<<8&63488|(h<<3&4064|m>>>3);h=j[a+16>>2];t=j[a+20>>2];m=0;while(1){i[(t+p(c,h)|0)+(b<<1)>>1]=g;a=(n|0)<0;n=(a?f:s)+n|0;b=(a?q:d)+b|0;c=(a?r:e)+c|0;m=m+1|0;if((o|0)!=(m|0)){continue}break}}}function vM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;f=oe-384|0;oe=f;j[b>>2]=1;a:{if(!j[b+136>>2]){d=dh(j[j[b+96>>2]+4>>2],82540);if(!d){a=11;break a}j[b+136>>2]=d}if(!j[b+320>>2]){A=b,B=dh(j[j[b+96>>2]+4>>2],82546),j[A+320>>2]=B}a=Fe(a,0);if(a){break a}t=j[b+100>>2];j[f+108>>2]=0;m=j[b+104>>2];a=j[b+136>>2];Ee(f+8|0,0,100);qe[j[j[a+4>>2]>>2]](f+8|0,0,0,t);j[f+80>>2]=m;q=j[m+8>>2];b:{c:{d:{d=_e(m,31);e:{if(d){break e}a=Qe(j[m+32>>2],82574,31);Ve(m);if(a){j[f+4>>2]=2;break b}s=f+84|0;r=f+112|10;while(1){g=j[m+8>>2];f:{d=j[m+4>>2]-j[m+8>>2]|0;if(d){o=266;a=f+112|0;while(1){e=d>>>0>o>>>0?o:d;d=uf(m,a,e);if(d){break e}if(e>>>0<=255){h[a+e|0]=0}d=f+112|0;e=(a+e|0)-10|0;if(e>>>0>f+112>>>0){d=k[f+112|0];a=f+112|0;while(1){g:{if((d&255)!=83){break g}if(Qe(a,82606,9)){break g}o=10;break f}h:{d=k[a+1|0];if((d|0)!=115){break h}if(Qe(a,82616,6)){break h}o=7;break f}a=a+1|0;if((e|0)!=(a|0)){continue}break}d=e}a=k[d+4|0]|k[d+5|0]<<8|(k[d+6|0]<<16|k[d+7|0]<<24);e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);i[f+120>>1]=k[d+8|0]|k[d+9|0]<<8;j[f+112>>2]=e;j[f+116>>2]=a;o=256;g=g+256|0;a=r;d=j[m+4>>2]-j[m+8>>2]|0;if(d){continue}break}}j[f+4>>2]=3;break b}d=Fe(m,q);if(d){break e}n=((o-(f+112|0)|0)+a|0)+g|0;a=n-q|0;d=_f(m,a,s);if(d){break e}j[f+92>>2]=n;g=j[f+84>>2];j[f+12>>2]=g;j[f+104>>2]=-1;j[f+8>>2]=g;j[f+88>>2]=a;j[f+16>>2]=a+g;qe[j[f+40>>2]](f+8|0);qe[j[f+36>>2]](f+8|0);a=j[f+8>>2];qe[j[f+40>>2]](f+8|0);qe[j[f+36>>2]](f+8|0);d=j[f+8>>2];o=j[f+16>>2];if(d>>>0>>0){while(1){e=a;a=d;d=j[f+20>>2];if(d){break e}i:{if(k[a|0]!=83){break i}if(Qe(a,82606,9)){break i}if(Qe(g,82623,5)){break c}a=rf(e);if((a|0)>=0){break d}j[f+4>>2]=3;break b}j:{if(k[a+1|0]!=115){break j}if(Qe(a,82616,6)){break j}j[f+4>>2]=2;break b}qe[j[f+40>>2]](f+8|0);qe[j[f+36>>2]](f+8|0);g=e;d=j[f+8>>2];if(o>>>0>d>>>0){continue}break}}jf(m,s);d=Fe(m,n);if(!d){continue}break}}j[f+4>>2]=d;break b}j[f+96>>2]=a}j[f+4>>2]=0;j[f+20>>2]=0;a=j[f+84>>2];n=a+j[f+88>>2]|0;j[f+16>>2]=n;r=b+164|0;m=b+312|0;q=b+196|0;s=b+140|0;v=n-1|0;k:{l:{m:while(1){j[f+8>>2]=a;qe[j[f+36>>2]](f+8|0);e=j[f+8>>2];d=e>>>0>>0;g=(d?e:v)-17|0;if(g>>>0>a>>>0){while(1){n:{if(k[a|0]!=37){break n}if(Qe(a,82629,17)|j[b+300>>2]<1){break n}j[f+104>>2]=j[f+104>>2]+1}a=a+1|0;if((g|0)!=(a|0)){continue}break}}if(!d){d=j[f+20>>2];break k}qe[j[f+40>>2]](f+8|0);d=j[f+20>>2];a=j[f+8>>2];if(d|n>>>0<=a>>>0){break k}if(k[e|0]!=47|n>>>0<=e+2>>>0){continue}u=e+1|0;o=a-u|0;if(o-1>>>0>20){continue}w=k[u|0];d=82656;e=84492;while(1){o:{g=d;p:{if((w|0)!=k[e|0]){break p}if((Le(e)|0)!=(o|0)){break p}d=1;if(o>>>0<=1){break o}while(1){if(k[d+u|0]!=k[d+e|0]){break p}d=d+1|0;if((o|0)!=(d|0)){continue}break}break o}d=g+36|0;e=j[g+36>>2];if(e){continue}continue m}break}q:{e=f;o=j[g+8>>2];r:{if((o|0)==11){qe[j[g+12>>2]](b,f+8|0);a=j[f+20>>2];break r}d=s;s:{t:{switch(j[g+4>>2]){case 3:d=r;break s;case 2:d=m;break s;case 5:d=q;break s;case 0:break s;default:break t}}a=j[f+104>>2];if((a|0)<0|(a|0)>=j[b+300>>2]){break q}d=j[b+304>>2]+p(a,252)|0}j[f+112>>2]=d;if(o-9>>>0<=1){a=qe[j[f+76>>2]](f+8|0,g,f+112|0,0,0)|0;break r}a=qe[j[f+72>>2]](f+8|0,g,f+112|0,0,0)|0}j[e+20>>2]=a;if(a){break l}a=j[f+8>>2];continue}break}a=160;j[f+20>>2]=160}j[f+4>>2]=a;break b}j[f+4>>2]=d;if(d|(c|0)<0){break b}a=He(t,40,f+4|0);j[b+328>>2]=a;if(j[f+4>>2]){break b}r=b;d=j[f+96>>2];u:{if(d){d=He(t,d,f+4|0);j[b+324>>2]=d;if(j[f+4>>2]){break b}a=j[f+96>>2];q=j[b+104>>2];if(Fe(q,j[f+92>>2])){break b}v:{if((a|0)<1){break v}o=a+d|0;n=1;a=f+112|0;m=a;while(1){w:{x:{if(a>>>0>=m>>>0){e=j[q+8>>2];a=j[q+4>>2]-e|0;if(!a){break b}if(uf(q,f+112|0,a>>>0<256?a:256)){break b}m=(j[q+8>>2]+(f+112|0)|0)-e|0;a=f+112|0}s=k[a|0];e=s-48|0;if(e>>>0>9){e=s-97|0;g=(e&255)>>>0<6;if(g){break w}if((s-65&255)>>>0>5){break x}e=s-55|0}g=1;break w}e=0;y:{switch(s|0){case 62:break w;case 0:case 9:case 10:case 12:case 13:case 32:break y;default:break b}}a=a+1|0;continue}z:{if(n&255){h[d|0]=e<<4;break z}h[d|0]=k[d|0]+e;d=d+1|0}if(!g){break v}a=a+1|0;n=1-n|0;if(d>>>0>>0){continue}break}}d=j[b+324>>2];e=j[f+96>>2];a=j[b+328>>2];j[a+32>>2]=0;j[a+8>>2]=0;j[a+4>>2]=e;j[a>>2]=d;j[a+20>>2]=0;j[a+24>>2]=0;a=0;break u}d=j[b+104>>2];e=j[d+4>>2];j[a>>2]=j[d>>2];j[a+4>>2]=e;e=j[d+36>>2];j[a+32>>2]=j[d+32>>2];j[a+36>>2]=e;e=j[d+28>>2];j[a+24>>2]=j[d+24>>2];j[a+28>>2]=e;e=j[d+20>>2];j[a+16>>2]=j[d+16>>2];j[a+20>>2]=e;e=j[d+12>>2];j[a+8>>2]=j[d+8>>2];j[a+12>>2]=e;a=j[f+92>>2]}j[r+308>>2]=a;u=j[b+328>>2];w=j[b+136>>2];g=0;r=j[b+100>>2];t=xe(r,8,0,j[b+300>>2],0,f+112|0);j[b+316>>2]=t;A:{if(j[f+112>>2]|j[b+300>>2]<1){break A}v=0;q=0;while(1){B:{d=j[b+304>>2]+p(v,252)|0;n=j[d+240>>2];if((n|0)==-1){j[f+112>>2]=160;break B}y=j[d+4>>2];if(n>>>0>=q>>>0){a=n+4&-4;if(a>>>0<=q>>>0){j[f+112>>2]=160;break B}g=xe(r,4,q,a,g,f+112|0);q=a;if(j[f+112>>2]){break B}}a=Fe(u,j[d+244>>2]+j[b+308>>2]|0);j[f+112>>2]=a;if(a){break B}x=n+1|0;a=_e(u,p(x,j[d+248>>2]));j[f+112>>2]=a;if(a){break B}s=j[d+248>>2];z=(s-1&255)+1|0;m=j[u+32>>2];o=0;while(1){a=m;d=0;e=s;if(e&255){while(1){d=k[a|0]|d<<8;a=a+1|0;e=e-1|0;if(e&255){continue}break}m=m+z|0}j[(o<<2)+g>>2]=d;o=o+1|0;if(n>>>0>=o>>>0){continue}break}Ve(u);a=1;e=j[g>>2];d=e;if(n){while(1){m=d;d=j[(a<<2)+g>>2];if(m>>>0>d>>>0){break B}a=a+1|0;if(n>>>0>=a>>>0){continue}break}}a=j[(n<<2)+g>>2];A=t,B=xe(r,4,0,x,0,f+112|0),j[A+4>>2]=B;if(j[f+112>>2]){break B}a=a-e|0;d=He(r,a,f+112|0);j[j[t+4>>2]>>2]=d;if(j[f+112>>2]){break B}d=Fe(u,j[g>>2]+j[b+308>>2]|0);j[f+112>>2]=d;if(d){break B}a=uf(u,j[j[t+4>>2]>>2],a);j[f+112>>2]=a;if(a){break B}C:{if(!n){break C}a=1;m=j[g>>2];d=m;while(1){e=a<<2;s=e+j[t+4>>2]|0;e=j[e+g>>2];j[s>>2]=j[s-4>>2]+(e-d|0);d=e;a=a+1|0;if(n>>>0>=a>>>0){continue}break}if((y|0)<0){break C}qe[j[w+16>>2]](j[j[t+4>>2]>>2],j[g+4>>2]-m|0,4330);a=1;if((n|0)==1){break C}e=g+4|0;while(1){m=j[j[t+4>>2]+(a<<2)>>2];a=a+1|0;d=(a<<2)+g|0;qe[j[w+16>>2]](m,j[d>>2]-j[e>>2]|0,4330);e=d;if((a|0)!=(n|0)){continue}break}}j[t>>2]=n;t=t+8|0;v=v+1|0;if((v|0)>2]){continue}break A}break}a=j[b+316>>2];if(!a){break A}if(j[b+300>>2]>=1){e=0;while(1){d=r;m=e<<3;q=j[(m+a|0)+4>>2];if(q){a=j[q>>2];if(a){qe[j[r+8>>2]](r,a)}j[j[(m+j[b+316>>2]|0)+4>>2]>>2]=0;a=j[b+316>>2]}a=j[(a+m|0)+4>>2];if(a){qe[j[d+8>>2]](d,a)}a=j[b+316>>2];j[(m+a|0)+4>>2]=0;e=e+1|0;if((e|0)>2]){continue}break}}if(a){qe[j[r+8>>2]](r,a)}j[b+316>>2]=0}if(g){qe[j[r+8>>2]](r,g)}j[f+4>>2]=j[f+112>>2]}if(j[f+84>>2]){jf(j[f+80>>2],f+84|0)}qe[j[f+32>>2]](f+8|0);a=j[f+4>>2];if(a|(c|0)<0){break a}a=6;if(c){break a}j[b+36>>2]=0;j[b+4>>2]=0;j[b+16>>2]=j[b+296>>2];a=j[b+8>>2];j[b+8>>2]=a|2065;if(k[b+188|0]){j[b+8>>2]=a|2069}j[b+24>>2]=82555;d=j[b+176>>2];j[b+20>>2]=d;D:{if(d){a=j[b+172>>2];if(!a){break D}e=k[a|0];if(!e){break D}while(1){e=e&255;c=k[d|0];E:{if((e|0)==(c|0)){a=a+1|0;d=d+1|0;break E}e=e-32|0;if(!(!e|(e|0)==13)){F:{switch(c-32|0){case 0:case 13:d=d+1|0;break E;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break D;default:break F}}if(c){break D}j[b+24>>2]=a;break D}a=a+1|0}e=k[a|0];if(e){continue}break}break D}a=j[b+140>>2];if(!a){break D}j[b+20>>2]=a}c=j[b+184>>2]!=0;j[b+12>>2]=c;a=j[b+180>>2];G:{if(!a){break G}if(we(a,82563)){if(we(a,82568)){break G}}j[b+12>>2]=c|2}j[b+28>>2]=0;j[b+32>>2]=0;j[b+52>>2]=j[b+196>>2]>>16;a=j[b+200>>2]>>16;j[b+56>>2]=a;j[b+60>>2]=j[b+204>>2]+65535>>16;c=j[b+208>>2]+65535>>16;j[b- -64>>2]=c;e=l[b+68>>1];if(!e){i[b+68>>1]=1e3;e=1e3}i[b+72>>1]=a;i[b+70>>1]=c;j[b+80>>2]=l[b+190>>1]|l[b+192>>1]<<16;d=b;a=c-a|0;b=(p(e,12)>>>0)/10|0;i[d+74>>1]=(a|0)>b<<16>>16?a:b;a=0}oe=f+384|0;return a|0}function Cz(a,b,c,d,e,f,g,h,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;m=m|0;n=n|0;o=o|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if(f-1>>>0<=1){m=(p(m,n)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0}s=n^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;c:{if((b|0)<=(d|0)){e=d-b|0;c=a+(b<<1)|0;a=(o|0)!=0;break c}a=a+(d<<1)|0;c=o?a:a+2|0;e=b-d|0;a=(o|0)!=0}a=a+e|0;if(!a){break a}b=j[58747];while(1){d=l[c>>1];i[c>>1]=((p(s,k[b+(d>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[b+(d>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[b+(d&31)|0])>>>0)/255|0)+m>>>3;c=c+2|0;a=a-1|0;if(a){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break d}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}e=a+e|0;if(!e){break a}a=j[58747];while(1){b=l[n>>1];c=k[a+(b>>>5&31)|0]+h|0;d=(c>>>0<255?c:255)<<2&4064;c=k[a+(b>>>10&31)|0]+g|0;b=k[a+(b&31)|0]+m|0;i[n>>1]=d|(c>>>0<255?c:255)<<7&64512|(b>>>0<255?b:255)>>>3;n=n+2|0;e=e-1|0;if(e){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break e}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}e=a+e|0;if(!e){break a}a=j[58747];while(1){b=l[n>>1];i[n>>1]=(p(k[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[a+(b&31)|0],m)>>>0)/255>>>3;n=n+2|0;e=e-1|0;if(e){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break f}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}c=a+e|0;if(!c){break a}a=g<<7&64512|(h<<2&2016|m>>>3);while(1){i[n>>1]=a;n=n+2|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break h}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}a=a+c|0;if(!a){break a}c=j[58747];e=f<<1;while(1){d=l[b>>1];i[b>>1]=((p(s,k[c+(d>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[c+(d>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[c+(d&31)|0])>>>0)/255|0)+m>>>3;b=b+e|0;a=a-1|0;if(a){continue}break}break a;case 1:b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break i}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}e=a+c|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];d=k[a+(b>>>5&31)|0]+h|0;f=(d>>>0<255?d:255)<<2&4064;d=k[a+(b>>>10&31)|0]+g|0;b=k[a+(b&31)|0]+m|0;i[n>>1]=f|(d>>>0<255?d:255)<<7&64512|(b>>>0<255?b:255)>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;case 3:b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break j}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}e=a+c|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];i[n>>1]=(p(k[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[a+(b&31)|0],m)>>>0)/255>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;default:break g}}b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break k}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=g<<7&64512|(h<<2&2016|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}u=b-d|0;n=u>>31;r=c-e|0;q=r>>31;if((n^n+u)==(q^q+r)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;a=o?a:a+(b<<1)|0}e=((o|0)!=0)+r|0;if(!e){break a}c=j[58747];d=b<<1;while(1){b=l[a>>1];i[a>>1]=((p(s,k[c+(b>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[c+(b>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[c+(b&31)|0])>>>0)/255|0)+m>>>3;a=a+d|0;e=e-1|0;if(e){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}e=((o|0)!=0)+r|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];d=k[a+(b>>>5&31)|0]+h|0;f=(d>>>0<255?d:255)<<2&4064;d=k[a+(b>>>10&31)|0]+g|0;b=k[a+(b&31)|0]+m|0;i[n>>1]=f|(d>>>0<255?d:255)<<7&64512|(b>>>0<255?b:255)>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}e=((o|0)!=0)+r|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];i[n>>1]=(p(k[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[a+(b&31)|0],m)>>>0)/255>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}c=((o|0)!=0)+r|0;if(!c){break a}a=g<<7&64512|(h<<2&2016|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;f=n>>31;q=e-c|0;r=q>>31;n=f^f+n;q=r^q+r;r:{if((n|0)>=(q|0)){u=q-n|0;r=q<<1;f=r-n|0;q=1;break r}u=n-q|0;t=1;r=n<<1;f=r-q|0;n=q;q=0}n=((o|0)!=0)+n|0;if(!n){break a}e=(c|0)>(e|0);o=e?0-t|0:t;d=(b|0)>(d|0);q=d?0-q|0:q;t=e?-1:1;w=d?-1:1;u=u<<1;e=j[58747];x=j[a+16>>2];v=j[a+20>>2];d=0;while(1){y=(v+p(c,x)|0)+(b<<1)|0;a=l[y>>1];i[y>>1]=((p(s,k[e+(a>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[e+(a>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[e+(a&31)|0])>>>0)/255|0)+m>>>3;a=(f|0)<0;f=(a?r:u)+f|0;b=(a?q:w)+b|0;c=(a?o:t)+c|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break a;case 1:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;f=f^f+r;q=n^n+q;s:{if((f|0)>=(q|0)){u=q-f|0;s=1;r=q<<1;n=r-f|0;q=0;break s}u=f-q|0;r=f<<1;n=r-q|0;s=0;f=q;q=1}o=((o|0)!=0)+f|0;if(!o){break a}e=(c|0)>(e|0);q=e?0-q|0:q;d=(b|0)>(d|0);s=d?0-s|0:s;t=e?-1:1;w=d?-1:1;u=u<<1;e=j[58747];x=j[a+16>>2];v=j[a+20>>2];d=0;while(1){y=(v+p(c,x)|0)+(b<<1)|0;a=l[y>>1];f=k[e+(a>>>5&31)|0]+h|0;z=(f>>>0<255?f:255)<<2&4064;f=k[e+(a>>>10&31)|0]+g|0;a=k[e+(a&31)|0]+m|0;i[y>>1]=z|(f>>>0<255?f:255)<<7&64512|(a>>>0<255?a:255)>>>3;a=(n|0)<0;n=(a?r:u)+n|0;b=(a?s:w)+b|0;c=(a?q:t)+c|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}break a;case 3:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;t:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break t}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;s=e?-1:1;u=d?-1:1;t=t<<1;e=j[58747];w=j[a+16>>2];x=j[a+20>>2];d=0;while(1){v=(x+p(c,w)|0)+(b<<1)|0;a=l[v>>1];i[v>>1]=(p(k[e+(a>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[e+(a>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[e+(a&31)|0],m)>>>0)/255>>>3;a=(n|0)<0;n=(a?f:t)+n|0;b=(a?q:u)+b|0;c=(a?r:s)+c|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}break a;default:break q}}r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;u:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break u}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;e=e?-1:1;d=d?-1:1;s=t<<1;g=g<<7&64512|(h<<2&2016|m>>>3);h=j[a+16>>2];t=j[a+20>>2];m=0;while(1){i[(t+p(c,h)|0)+(b<<1)>>1]=g;a=(n|0)<0;n=(a?f:s)+n|0;b=(a?q:d)+b|0;c=(a?r:e)+c|0;m=m+1|0;if((o|0)!=(m|0)){continue}break}}}function my(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;v=j[a+28>>2];if(v){m=k[a+63|0];w=j[a+36>>2];x=j[a+16>>2];u=j[j[j[a+40>>2]+4>>2]+4>>2];d=j[a+24>>2];y=d&3;z=(d+3|0)/4|0;r=j[a>>2];e=j[a+20>>2];b=j[a+44>>2];t=k[b+9|0];s=t-1|0;while(1){a=z;a:{b:{switch(y-1|0){default:d=3;break a;case 0:d=2;break a;case 1:d=1;break a;case 2:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:d=(k[r|0]<<2)+u|0;n=k[d+2|0];o=k[d+1|0];q=k[d|0];d=0;f=0;g=0;c=0;e:{f:{switch(s|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break e;case 3:break f;default:break e}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;g:{h:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break g;case 3:break h;default:break g}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break i;case 3:break j;default:break i}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;k:{l:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break k;case 3:break l;default:break k}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break m;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break m;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break m;case 3:break n;default:break m}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;o:{p:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break o;case 3:break p;default:break o}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break q;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break q;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break q;case 3:break r;default:break q}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;s:{t:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break s;case 3:break t;default:break s}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]=0;a:{b:{c:{if(!a){break c}i=4;j[67126]=0;o=nb(32,a|0)|0;q=C()|0;d=j[67126];j[67126]=0;b=-1;d:{if(!d){break d}c=j[67127];if(!c){break d}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;e:{f:{if((b|0)==1){break f}j[67126]=0;f=N(33,2)|0;d=j[67126];j[67126]=0;b=-1;g:{if(!d){break g}c=j[67127];if(!c){break g}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break f}if(!f){c=0;break c}j[e+28>>2]=0;j[e+52>>2]=0;j[e+56>>2]=0;j[67126]=0;j[e+60>>2]=0;d=V(34,2215,0,0,0)|0;c=j[67126];j[67126]=0;b=-1;h:{if(!c){break h}f=j[67127];if(!f){break h}b=ef(j[c>>2],g,4);if(!b){break a}D(f|0)}c=C()|0;if((b|0)==1){break f}j[e+56>>2]=d;if(!d){m=2222;b=0;break e}j[67126]=0;f=N(35,d|0)|0;d=j[67126];j[67126]=0;b=-1;i:{if(!d){break i}c=j[67127];if(!c){break i}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break f}j[e+52>>2]=f;j:{k:{if(!f){m=2284;break k}j[67126]=0;f=T(36,j[e+56>>2],37,156)|0;d=j[67126];j[67126]=0;b=-1;l:{if(!d){break l}c=j[67127];if(!c){break l}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;if((b|0)!=1){break j}break f}b=2;break e}c=0;g=ki(f,1,g,4);i=C()|0}b=1}while(1){m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{switch(b|0){case 0:if(!j[e+28>>2]){break u}j[67126]=0;I(38,j[e+28>>2]);d=j[67126];j[67126]=0;b=-1;if(!d){break v}c=j[67127];if(!c){break v}b=ef(j[d>>2],g,i);if(b){break w}break b;case 1:if(c){m=2331;break n}j[67126]=0;ya(39,j[e+56>>2],a|0,40);d=j[67126];j[67126]=0;b=-1;if(!d){break z}c=j[67127];if(!c){break z}b=ef(j[d>>2],g,i);if(b){break A}break b;default:break B}}if(!j[e+56>>2]){break r}j[67126]=0;ya(41,e+56|0,(j[e+52>>2]?e+52|0:0)|0,0);d=j[67126];j[67126]=0;b=-1;if(!d){break x}c=j[67127];if(!c){break x}b=ef(j[d>>2],g,i);if(b){break y}break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;M(42,j[e+56>>2],j[e+52>>2]);d=j[67126];j[67126]=0;b=-1;if(!d){break s}c=j[67127];if(!c){break s}b=ef(j[d>>2],g,i);if(b){break t}break b}D(c|0)}c=C()|0;if((b|0)!=1){break r}break m}D(c|0)}c=C()|0;if((b|0)==1){break m}}if(!m){break q}j[67126]=0;b=mb(43,a|0,o|0,q|0,0)|0;C()|0;d=j[67126];j[67126]=0;b=-1;C:{if(!d){break C}c=j[67127];if(!c){break C}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}if(j[e+60>>2]){j[67126]=0;I(44,j[e+60>>2]);d=j[67126];j[67126]=0;b=-1;D:{if(!d){break D}c=j[67127];if(!c){break D}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[e+60>>2]=0}j[67126]=0;L(45,m|0,0)|0;d=j[67126];j[67126]=0;b=-1;E:{if(!d){break E}c=j[67127];if(!c){break E}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}break q}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;xa(46,j[e+56>>2],j[e+52>>2],e+48|0,e+44|0,e+40|0,e+36|0,e+32|0,0,0)|0;d=j[67126];j[67126]=0;b=-1;F:{if(!d){break F}c=j[67127];if(!c){break F}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;I(47,j[e+56>>2]);d=j[67126];j[67126]=0;b=-1;G:{if(!d){break G}c=j[67127];if(!c){break G}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;b=j[e+56>>2];if(!(!b|k[b+436|0]>7)){h[b+437|0]=8;j[b+216>>2]=j[b+216>>2]|4}d=j[67126];j[67126]=0;b=-1;H:{if(!d){break H}c=j[67127];if(!c){break H}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}if(!j[e+36>>2]){j[67126]=0;I(49,j[e+56>>2]);d=j[67126];j[67126]=0;b=-1;I:{if(!d){break I}c=j[67127];if(!c){break I}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}}j[67126]=0;b=j[e+52>>2];if(!j[e+56>>2]|!b){f=0}else{f=j[b+8>>2]&16}d=j[67126];j[67126]=0;b=-1;J:{if(!d){break J}c=j[67127];if(!c){break J}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}if(!f){b=-1;break o}j[67126]=0;on(j[e+56>>2],j[e+52>>2],e+16|0,e+20|0,e+24|0);d=j[67126];j[67126]=0;b=-1;K:{if(!d){break K}c=j[67127];if(!c){break K}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}b=0;if(j[e+36>>2]!=3){break o}f=j[e+20>>2];if((f|0)<1){b=-1;c=0;break p}c=0;l=j[e+16>>2];d=-1;while(1){L:{b=k[c+l|0];if((b|0)==255){b=d;break L}if(!b){b=c;if((d|0)<=-1){break L}}b=d;break p}d=b;c=c+1|0;if((f|0)!=(c|0)){continue}break}break o}b=0;continue}c=j[e+60>>2];break c}if((c|0)==(f|0)){break o}j[67126]=0;I(49,j[e+56>>2]);c=j[67126];j[67126]=0;b=-1;d=-1;M:{if(!c){break M}f=j[67127];if(!f){break M}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}}if(j[e+36>>2]==4){j[67126]=0;I(52,j[e+56>>2]);c=j[67126];j[67126]=0;d=-1;N:{if(!c){break N}f=j[67127];if(!f){break N}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}}j[67126]=0;M(53,j[e+56>>2],j[e+52>>2]);c=j[67126];j[67126]=0;d=-1;O:{if(!c){break O}f=j[67127];if(!f){break O}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}j[67126]=0;xa(46,j[e+56>>2],j[e+52>>2],e+48|0,e+44|0,e+40|0,e+36|0,e+32|0,0,0)|0;c=j[67126];j[67126]=0;d=-1;P:{if(!c){break P}f=j[67127];if(!f){break P}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}j[67126]=0;d=j[e+52>>2];if(!j[e+56>>2]|!d){f=0}else{f=k[d+29|0]}c=j[67126];j[67126]=0;d=-1;Q:{if(!c){break Q}l=j[67127];if(!l){break Q}d=ef(j[c>>2],g,i);if(!d){F(c|0,l|0);z()}D(l|0)}c=C()|0;if((d|0)==1){break m}c=0;d=0;l=0;n=0;if(f>>>0>=3){n=(f|0)==4?-16777216:0;l=16711680;c=255;d=65280}j[67126]=0;l=hd(55,0,j[e+48>>2],j[e+44>>2],p(f,j[e+40>>2])|0,c|0,d|0,l|0,n|0)|0;c=j[67126];j[67126]=0;d=-1;R:{if(!c){break R}f=j[67127];if(!f){break R}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}j[e+60>>2]=l;S:{T:{U:{V:{W:{X:{if(!j[e+60>>2]){j[67126]=0;m=Yc(56)|0;d=j[67126];j[67126]=0;b=-1;if(!d){break W}c=j[67127];if(!c){break W}b=ef(j[d>>2],g,i);if(b){break X}break b}d=-1;if((b|0)==-1){break S}if(j[e+36>>2]==3){break T}b=j[e+24>>2];c=k[b+6|0];f=k[b+4|0];b=k[b+2|0];l=j[j[e+60>>2]+4>>2];j[67126]=0;b=nn(l,b,f,c);c=j[67126];j[67126]=0;f=-1;if(!c){break U}l=j[67127];if(!l){break U}f=ef(j[c>>2],g,i);if(f){break V}F(c|0,l|0);z()}D(c|0)}c=C()|0;if((b|0)==1){break m}break n}D(l|0)}c=C()|0;if((f|0)==1){break m}}j[67126]=0;T(58,j[e+60>>2],1,b|0)|0;c=j[67126];j[67126]=0;b=-1;Y:{if(!c){break Y}f=j[67127];if(!f){break Y}b=ef(j[c>>2],g,i);if(!b){break a}D(f|0)}c=C()|0;if((b|0)==1){break m}}j[67126]=0;f=N(59,j[e+44>>2]<<2)|0;b=j[67126];j[67126]=0;Z:{if(!b){break Z}c=j[67127];if(!c){break Z}d=ef(j[b>>2],g,i);if(!d){F(b|0,c|0);z()}D(c|0)}c=C()|0;if((d|0)==1){break m}j[e+28>>2]=f;if(!j[e+28>>2]){m=2359;break n}b=j[e+44>>2];if((b|0)>=1){c=0;while(1){j[j[e+28>>2]+(c<<2)>>2]=j[j[e+60>>2]+20>>2]+p(j[j[e+60>>2]+16>>2],c);c=c+1|0;if((b|0)!=(c|0)){continue}break}}j[67126]=0;M(60,j[e+56>>2],j[e+28>>2]);d=j[67126];j[67126]=0;b=-1;_:{if(!d){break _}c=j[67127];if(!c){break _}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}d=j[j[j[e+60>>2]+4>>2]+4>>2];$:{if(!d){break $}j[67126]=0;qn(j[e+56>>2],j[e+52>>2],e+8|0,e+12|0);c=j[67126];j[67126]=0;b=-1;aa:{if(!c){break aa}f=j[67127];if(!f){break aa}b=ef(j[c>>2],g,i);if(!b){break a}D(f|0)}c=C()|0;if((b|0)==1){break m}if(!j[e+36>>2]){j[d>>2]=256;f=j[d+4>>2];b=0;while(1){d=f+(b<<2)|0;h[d+2|0]=b;h[d+1|0]=b;h[d|0]=b;b=b+1|0;if((b|0)!=256){continue}break}break $}b=j[e+12>>2];if((b|0)<1){break $}j[d>>2]=b;m=j[e+12>>2];if((m|0)<1){break $}l=j[d+4>>2];b=0;n=j[e+8>>2];while(1){d=l+(b<<2)|0;f=n+p(b,3)|0;h[d+2|0]=k[f+2|0];h[d+1|0]=k[f+1|0];h[d|0]=k[f|0];b=b+1|0;if((m|0)!=(b|0)){continue}break}}m=0}b=2;continue}b=1;continue}}ze(g);oe=e- -64|0;return c|0}F(d|0,c|0);z()}F(c|0,f|0);z()}function gF(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,s=0,u=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;s=oe+ -64|0;oe=s;D=si(a,-1);C=pe;p=-131;a:{if(j[a+88>>2]<2){break a}if(!j[a+4>>2]){p=-138;break a}if((c|0)<0|((c|0)>(C|0)?1:(c|0)>=(C|0)?b>>>0>D>>>0:0)){break a}p=j[a+52>>2];n=p&p>>31;B=n-1|0;l=j[a+68>>2];i=l;b:{while(1){g=p;if((g|0)<=0){d=l+(B<<4|8)|0;f=j[d>>2];d=j[d+4>>2];o=B<<1;break b}o=D;p=g-1|0;d=l+(p<<4|8)|0;f=j[d>>2];D=o-f|0;d=j[d+4>>2];C=C-(d+(o>>>0>>0)|0)|0;o=C;if((c|0)<(o|0)?1:(c|0)<=(o|0)?b>>>0>>0:0){continue}break}n=g;B=p;o=B<<1}g=i+(o<<3)|0;z=j[g>>2];H=j[g+4>>2];o=j[a+60>>2]+(B<<3)|0;u=j[o>>2];n=j[a+56>>2]+(n<<3)|0;g=j[n>>2];q=j[o+4>>2];n=j[n+4>>2];c:{d:{if((u|0)!=(g|0)|(q|0)!=(n|0)){p=0;break d}i=j[a>>2];if(!i){e=-129;break c}if(j[a+8>>2]!=(g|0)|j[a+12>>2]!=(n|0)){e=-128;o=j[a+708>>2];if(!o){break c}if((qe[o|0](i,g,n,0)|0)==-1){break c}j[a+8>>2]=g;j[a+12>>2]=n;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}p=1;e=Of(a,s+48|0,1,0);o=pe;i=o;if((i|0)<0){break c}}e:{f:{g:{h:{if((n|0)<(q|0)?1:(n|0)<=(q|0)?g>>>0<=u>>>0:0){f=e;break h}e=b;i=D;l=e-i|0;o=l+z|0;G=(c-((e>>>0>>0)+C|0)|0)+H|0;G=l>>>0>o>>>0?G+1|0:G;K=o;e=d+H|0;d=f;f=z;i=d+f|0;L=i;M=f>>>0>i>>>0?e+1|0:e;A=a+24|0;O=B<<2;I=-1;J=-1;while(1){l=q;i=u;e=i;d=n-(l+(e>>>0>g>>>0)|0)|0;x=g-e|0;f=d;if((d|0)>0?1:(d|0)>=0?x>>>0>=65536:0){e=u;o=q;E=+(x>>>0)+ +(f|0)*4294967296;d=K;f=z;E=E*(+(d-f>>>0)+ +(G-((d>>>0>>0)+H|0)|0)*4294967296);d=L;E=E/(+(d-f>>>0)+ +(M-((d>>>0>>0)+H|0)|0)*4294967296);i:{if(r(E)<0x8000000000000000){f=r(E)>=1?E>0?~~t(v(E*2.3283064365386963e-10),4294967295)>>>0:~~w((E- +(~~E>>>0>>>0))*2.3283064365386963e-10)>>>0:0;i=~~E>>>0;break i}f=-2147483648;i=0}d=u;i=i+d|0;f=f+q|0;f=d>>>0>i>>>0?f+1|0:f;d=i;i=d-65536|0;d=f-(d>>>0<65536)|0;f=d;x=e;l=i;e=q;i=u+65536|0;e=i>>>0<65536?e+1|0:e;d=(d|0)<(e|0)?1:(d|0)<=(e|0)?l>>>0>>0:0;i=d?x:l;l=d?o:f}d=j[a>>2];if(!d){e=-129;break c}if(j[a+8>>2]!=(i|0)|j[a+12>>2]!=(l|0)){e=-128;f=j[a+708>>2];if(!f){break c}if((qe[f|0](d,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[A+4>>2]>=0){j[A+8>>2]=0;j[A+12>>2]=0;j[A+24>>2]=0;j[A+16>>2]=0;j[A+20>>2]=0}}f=0;j:{k:{if((n|0)<(q|0)?1:(n|0)<=(q|0)?g>>>0<=u>>>0:0){break k}l:while(1){d=g;f=j[a+8>>2];f=Of(a,s+48|0,d-f|0,n-(j[a+12>>2]+(d>>>0>>0)|0)|0);e=pe;d=e;if((f|0)==-128&(d|0)==-1){e=-128;break c}while(1){m:{n:{if((d|0)<-1?1:(d|0)<=-1){e=q;x=u+1|0;e=x>>>0<1?e+1|0:e;F=x;y=e;if((e|0)>(l|0)?1:(e|0)>=(l|0)?x>>>0>=i>>>0:0){break j}e=f;if(!(i|l)){break c}f=j[a>>2];if(!f){e=-129;break c}x=0;o=n;d=l-(i>>>0<65536)|0;i=i-65536|0;l=(d|0)>(q|0)?1:(d|0)>=(q|0)?i>>>0>u>>>0:0;i=l?i:F;l=l?d:y;d=g;if((i|0)==j[a+8>>2]&(l|0)==j[a+12>>2]){break n}d=j[a+708>>2];if(!d){e=-128;break c}e=-128;if((qe[d|0](f,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[A+4>>2]>=0){j[A+8>>2]=0;j[A+12>>2]=0;j[A+24>>2]=0;j[A+16>>2]=0;j[A+20>>2]=0}d=g;break n}e=j[s+48>>2];if(j[O+j[a+64>>2]>>2]!=(k[e+14|0]|k[e+15|0]<<8|(k[e+16|0]<<16|k[e+17|0]<<24))){break m}e=j[s+48>>2];y=k[e+10|0]|k[e+11|0]<<8|(k[e+12|0]<<16|k[e+13|0]<<24);F=k[e+6|0]|k[e+7|0]<<8|(k[e+8|0]<<16|k[e+9|0]<<24);if((F|0)==-1&(y|0)==-1){break m}if((y|0)<(G|0)?1:(y|0)<=(G|0)?F>>>0>>0:0){p=1;x=f;I=f;J=d;u=j[a+8>>2];i=u;q=j[a+12>>2];l=q;o=n;H=y;y=K;z=F;F=G-(H+(y>>>0>>0)|0)|0;d=g;if((F|0)<0?1:(F|0)<=0?y-z>>>0<=44100:0){break n}break k}e=q;o=u+1|0;e=o>>>0<1?e+1|0:e;N=o;o=e;if((e|0)>(l|0)?1:(l|0)<=(e|0)?i>>>0<=N>>>0:0){p=1;break j}if((g|0)!=j[a+8>>2]|(n|0)!=j[a+12>>2]){p=1;g=i;n=l;L=F;M=y;break k}y=j[a>>2];if(!y){e=-129;break c}p=1;x=0;e=l-(i>>>0<65536)|0;i=i-65536|0;l=(e|0)>(q|0)?1:(e|0)>=(q|0)?i>>>0>u>>>0:0;i=l?i:N;l=l?e:o;if((g|0)==(i|0)&(n|0)==(l|0)){i=g;l=n;o=d;d=f;break n}g=j[a+708>>2];if(!g){e=-128;break c}e=-128;if((qe[g|0](y,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[A+4>>2]>=0){j[A+8>>2]=0;j[A+12>>2]=0;j[A+24>>2]=0;j[A+16>>2]=0;j[A+20>>2]=0}o=d;d=f}g=d;n=o;if((n|0)>(q|0)?1:(q|0)<=(n|0)?g>>>0>u>>>0:0){continue l}f=x;break k}e=-128;p=1;d=g;f=j[a+8>>2];f=Of(a,s+48|0,d-f|0,n-(j[a+12>>2]+(d>>>0>>0)|0)|0);o=pe;d=o;if((f|0)!=-128|(d|0)!=-1){continue}break}break}break c}if((n|0)>(q|0)?1:(n|0)>=(q|0)?g>>>0>u>>>0:0){continue}}break}if((I|0)!=-1|(J|0)!=-1){break g}}if(!p){e=f;break c}g=j[a+60>>2]+(B<<3)|0;if((u|0)!=j[g>>2]|(q|0)!=j[g+4>>2]){e=f;break c}e=f;d=j[s+48>>2];if(j[j[a+64>>2]+(B<<2)>>2]!=(k[d+14|0]|k[d+15|0]<<8|(k[d+16|0]<<16|k[d+17|0]<<24))){break c}j[a+80>>2]=D;j[a+84>>2]=C;d=a+480|0;o:{if(j[a+96>>2]!=(B|0)){Cg(d);ah(a+592|0);j[a+96>>2]=B;p=j[j[a+64>>2]+(B<<2)>>2];j[a+92>>2]=p;j[a+88>>2]=3;break o}Il(d);p=j[a+92>>2]}d=a+120|0;sh(d,p);Ng(d,s+48|0);D=j[a+80>>2];C=j[a+84>>2];break f}d=j[a>>2];if(!d){e=-129;break e}if(j[a+8>>2]!=(I|0)|j[a+12>>2]!=(J|0)){e=-128;f=j[a+708>>2];if(!f){break e}if((qe[f|0](d,I,J,0)|0)==-1){break e}j[a+8>>2]=I;j[a+12>>2]=J;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}j[a+80>>2]=-1;j[a+84>>2]=-1;e=Of(a,s+32|0,-1,-1);if((pe|0)<0){break c}d=a+480|0;p:{if(j[a+96>>2]!=(B|0)){Cg(d);ah(a+592|0);j[a+96>>2]=B;p=j[j[a+64>>2]+(B<<2)>>2];j[a+92>>2]=p;j[a+88>>2]=3;break p}Il(d);p=j[a+92>>2]}u=a+120|0;sh(u,p);Ng(u,s+32|0);z=a+24|0;p=B<<3;while(1){q:{r:{e=Ap(u,s);if(e){i=e>>31;break r}d=J;i=d;f=I;g=p+j[a+60>>2]|0;e=f>>>0<=m[g>>2];g=j[g+4>>2];if((d|0)<(g|0)?1:(g|0)>=(d|0)?e:0){break r}while(1){q=d;o=f;i=f;l=d;while(1){d=j[a>>2];if(!d){e=-129;break c}f=(l|0)>0?1:(l|0)>=0?i>>>0>65536:0;g=f?i:65536;i=g-65536|0;x=i;y=(f?l:0)-(g>>>0<65536)|0;l=y;if(j[a+8>>2]!=(i|0)|(l|0)!=j[a+12>>2]){e=-128;f=j[a+708>>2];if(!f){break c}if((qe[f|0](d,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[z+4>>2]>=0){j[z+8>>2]=0;j[z+12>>2]=0;j[z+24>>2]=0;j[z+16>>2]=0;j[z+20>>2]=0}y=j[a+12>>2];x=j[a+8>>2]}g=-1;n=-1;s:{t:{if((q|0)<(y|0)?1:(q|0)<=(y|0)?o>>>0<=x>>>0:0){break t}while(1){j[s+40>>2]=0;j[s+44>>2]=0;j[s+32>>2]=0;j[s+36>>2]=0;e=-128;d=o;f=Of(a,s+32|0,d-x|0,q-((d>>>0>>0)+y|0)|0);x=pe;d=x;if((f|0)==-128&(d|0)==-1){break c}if((d|0)<-1?1:(d|0)<=-1){break t}g=f;n=d;x=j[a+8>>2];y=j[a+12>>2];e=y;if((e|0)<(q|0)?1:(e|0)<=(q|0)?x>>>0>>0:0){continue}break}break s}f=g;d=n;if((g|0)==-1&(d|0)==-1){continue}}break}if(!j[s+36>>2]){g=j[a>>2];if(!g){e=-129;break c}if(j[a+8>>2]!=(f|0)|j[a+12>>2]!=(d|0)){e=-128;n=j[a+708>>2];if(!n){break c}if((qe[n|0](g,f,d,0)|0)==-1){break c}j[a+8>>2]=f;j[a+12>>2]=d;if(j[z+4>>2]>=0){j[z+8>>2]=0;j[z+12>>2]=0;j[z+24>>2]=0;j[z+16>>2]=0;j[z+20>>2]=0}}e=-129;Of(a,s+32|0,65536,0);if((pe|0)<0){break c}}u:{g=j[s+32>>2];if(j[a+92>>2]==(k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24))){g=j[s+32>>2];g;if(!(h[j[s+32>>2]+5|0]&1)|(k[g+10|0]|k[g+11|0]<<8|(k[g+12|0]<<16|k[g+13|0]<<24))>-1){break u}}g=p+j[a+60>>2]|0;e=m[g>>2]>>0;g=j[g+4>>2];if((d|0)>(g|0)?1:(g|0)<=(d|0)?e:0){continue}break q}break}p=Mp(a,f,d);break a}if((i|0)>0?1:(i|0)>=0){break q}e=-136;break c}d=j[s+16>>2];g=j[s+20>>2];if((d|0)==-1&(g|0)==-1){mg(u,0);continue}break}e=j[a+68>>2]+(j[a+96>>2]<<4)|0;n=j[e>>2];g=g-(j[e+4>>2]+(d>>>0>>0)|0)|0;d=d-n|0;n=(g|0)>0?1:(g|0)>=0?!!d:0;d=D+(n?d:0)|0;e=C+(n?g:0)|0;e=d>>>0>>0?e+1|0:e;D=d;j[a+80>>2]=d;C=e;j[a+84>>2]=e}e=-129;if((c|0)<(C|0)?1:(c|0)<=(C|0)?b>>>0>>0:0){break c}d=si(a,-1)>>>0>>0;b=pe;if((b|0)<(c|0)?1:(c|0)>=(b|0)?d:0){break c}j[a+104>>2]=0;j[a+108>>2]=0;j[a+112>>2]=0;j[a+116>>2]=0;p=0;break a}j[a+80>>2]=-1;j[a+84>>2]=-1}j[a+80>>2]=-1;j[a+84>>2]=-1;Cg(a+480|0);ah(a+592|0);j[a+88>>2]=2;p=e}oe=s- -64|0;return p}function ym(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;f=oe-320|0;oe=f;i=6;a:{if(!c|(!a|!b)){break a}b:{c:{d:{e:{e=j[b>>2];if((j[a+8>>2]-e|0)+1>>>0>2){break e}d=j[b+4>>2];if((j[a+12>>2]-d|0)+1>>>0>2|(e-j[c>>2]|0)+1>>>0>2|(d-j[c+4>>2]|0)+1>>>0>2){break e}break d}e=j[c+4>>2];j[f+32>>2]=j[c>>2];j[f+36>>2]=e;e=j[b+4>>2];j[f+40>>2]=j[b>>2];j[f+44>>2]=e;b=j[a+12>>2];j[f+48>>2]=j[a+8>>2];j[f+52>>2]=b;t=a- -64|0;m=f+32|0;b=1;while(1){e=j[a>>2];x=f+32|0;f:{g:{if((s|0)>29){p=e;break g}d=j[m+12>>2];p=d-j[m+20>>2]|0;o=(f+32|0)+(s<<3)|0;d=j[o+4>>2]-d|0;g=j[m+8>>2];l=j[m>>2]-g|0;h:{i:{j:{k:{l:{m:{g=g-j[m+16>>2]|0;if(g+1>>>0<=2){n=p+1|0;if(l+1>>>0>=3){break k}q=d+1|0;if(n>>>0>=3){break m}g=e;if(q>>>0<3){break h}break i}if(l+1>>>0>2){break j}if(d+1>>>0<3){break l}break j}if(q>>>0>2){break j}}e=Gf(g,p);g=e;break h}if(n>>>0<3){break i}}e=Gf(g,p);g=Gf(l,d);break h}e=Gf(l,d);g=e}p=g;l=Df(e,p);d=l>>31;if((d^d+l)<1966080){break g}if(k[a+20|0]){j[a>>2]=e}e=j[m+16>>2];j[m+32>>2]=e;d=j[m+20>>2];j[m+36>>2]=d;p=j[m+8>>2];l=(p+j[m>>2]|0)/2|0;j[m+8>>2]=l;e=(e+p|0)/2|0;j[m+24>>2]=e;g=d;d=j[m+12>>2];p=(g+d|0)/2|0;j[m+28>>2]=p;j[m+16>>2]=(e+l|0)/2;e=(d+j[(o|4)>>2]|0)/2|0;j[m+12>>2]=e;j[m+20>>2]=(e+p|0)/2;s=s+2|0;break f}n:{o:{p:{if(b&255){if(k[a+20|0]){of(f+304|0,j[a+60>>2],e+5898240|0);l=j[a+12>>2];g=j[f+308>>2];n=j[a+8>>2];q=j[f+304>>2];b=j[a+84>>2];q:{if((b|0)>=0){d=j[t>>2];if(d>>>0<=b+1>>>0){j[t>>2]=b;break q}o=d-1|0;j[a+64>>2]=o;i=j[a+72>>2];r=i+(b<<3)|0;o=i+(o<<3)|0;i=j[o+4>>2];j[r>>2]=j[o>>2];j[r+4>>2]=i;b=j[a+76>>2]+b|0;h[b|0]=k[b|0]|4;b=(d+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[t>>2]}l=g+l|0;g=n+q|0;h[a+80|0]=0;j[a+84>>2]=b;r:{s:{if(!b){break s}d=j[a+72>>2]+(b-1<<3)|0;if((j[d>>2]-g|0)+1>>>0>2){break s}if((j[d+4>>2]-l|0)+1>>>0<3){break r}}d=j[a+68>>2];j[f+24>>2]=0;q=b+1|0;t:{if(q>>>0<=d>>>0){d=j[a+76>>2];break t}n=j[a+88>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}B=a,C=xe(n,8,d,b,j[a+72>>2],f+24|0),j[B+72>>2]=C;i=j[f+24>>2];if(i){break p}d=xe(n,1,d,b,j[a+76>>2],f+24|0);j[a+76>>2]=d;i=j[f+24>>2];if(i){break p}j[a+68>>2]=b;b=j[a+64>>2]}n=j[a+72>>2]+(b<<3)|0;j[n>>2]=g;j[n+4>>2]=l;h[b+d|0]=1;h[a+80|0]=0;j[a+64>>2]=j[a+64>>2]+1}l=j[a+12>>2];g=j[f+308>>2];n=j[a+8>>2];q=j[f+304>>2];b=j[a+116>>2];u:{if((b|0)>=0){d=j[a+96>>2];if(d>>>0<=b+1>>>0){j[a+96>>2]=b;break u}o=d-1|0;j[a+96>>2]=o;i=j[a+104>>2];r=i+(b<<3)|0;o=i+(o<<3)|0;i=j[o+4>>2];j[r>>2]=j[o>>2];j[r+4>>2]=i;b=j[a+108>>2]+b|0;h[b|0]=k[b|0]|4;b=(d+j[a+108>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[a+96>>2]}l=l-g|0;g=n-q|0;h[a+112|0]=0;j[a+116>>2]=b;v:{w:{if(!b){break w}d=j[a+104>>2]+(b-1<<3)|0;if((j[d>>2]-g|0)+1>>>0>2){break w}i=0;if((j[d+4>>2]-l|0)+1>>>0<3){break v}}d=j[a+100>>2];j[f+24>>2]=0;q=b+1|0;x:{y:{if(q>>>0<=d>>>0){d=j[a+108>>2];break y}n=j[a+120>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}B=a,C=xe(n,8,d,b,j[a+104>>2],f+24|0),j[B+104>>2]=C;i=j[f+24>>2];if(i){break x}d=xe(n,1,d,b,j[a+108>>2],f+24|0);j[a+108>>2]=d;i=j[f+24>>2];if(i){break x}j[a+100>>2]=b;b=j[a+96>>2]}n=j[a+104>>2]+(b<<3)|0;j[n>>2]=g;j[n+4>>2]=l;h[b+d|0]=1;j[a+96>>2]=j[a+96>>2]+1;i=0}h[a+112|0]=0}j[a+36>>2]=0;h[a+20|0]=0;j[a+24>>2]=e;break o}j[a+4>>2]=e;b=Df(j[a>>2],e);if(!b){break n}i=Di(a,b>>>31|0,0);if(i){break a}i=Ci(a,(b^-1)>>>31|0,0);break o}d=Df(j[a>>2],e);b=d>>31;if((b^b+d)<491521){break n}b=j[m+20>>2];d=j[m+16>>2];i=0;j[a+48>>2]=0;j[a+4>>2]=e;j[a+8>>2]=d;j[a+12>>2]=b;b=Df(j[a>>2],e);z:{if(!b){break z}i=Di(a,b>>>31|0,0);if(i){break z}i=Ci(a,(b^-1)>>>31|0,0)}j[a+48>>2]=j[a+52>>2];break o}h[a+80|0]=0}if(i){break a}}b=Df(e,p);d=(b|0)/2|0;y=De(j[a+60>>2],Bi(d));if(k[a+40|0]){q=Gf(j[m>>2]-j[m+16>>2]|0,j[((f+32|0)+(s<<3)|0)+4>>2]-j[m+20>>2]|0)}else{q=0}z=e+d|0;A=(f+32|0)+(s<<3)|4;b=5898240;n=1;e=t;while(1){of(f+304|0,y,b+z|0);j[f+304>>2]=j[f+304>>2]+j[m+8>>2];j[f+308>>2]=j[f+308>>2]+j[m+12>>2];of(f+24|0,j[a+60>>2],b+p|0);b=j[f+24>>2]+j[m>>2]|0;j[f+24>>2]=b;i=j[A>>2];g=i+j[f+28>>2]|0;j[f+28>>2]=g;A:{B:{if(!k[a+40|0]){break B}l=(j[e+8>>2]+(j[e>>2]<<3)|0)-8|0;d=j[l+4>>2];l=j[l>>2];o=d;r=b;b=l;r=Gf(r-b|0,g-d|0);u=Df(q,r);g=u>>31;if((g^g+u)<5898241){break B}g=Gf(j[m+16>>2]-b|0,j[m+20>>2]-d|0);i=Gf(j[m>>2]-j[f+24>>2]|0,i-j[f+28>>2]|0);j[f+16>>2]=j[f+24>>2]-b;j[f+20>>2]=j[f+28>>2]-d;u=pk(f+16|0);v=Ai(r-i|0);r=v>>31;w=Ai(g-i|0);i=w>>31;of(f+8|0,Ne(u,r^r+v,i^i+w),g);g=b+j[f+8>>2]|0;j[f+8>>2]=g;d=d+j[f+12>>2]|0;j[f+12>>2]=d;h[e+16|0]=0;b=j[e>>2];C:{D:{E:{F:{if(!b){break F}i=j[e+8>>2]+(b-1<<3)|0;if((j[i>>2]-g|0)+1>>>0>2){break F}if((j[i+4>>2]-d|0)+1>>>0<3){break E}}d=j[e+4>>2];j[f+316>>2]=0;i=b+1|0;G:{if(i>>>0<=d>>>0){d=j[e+12>>2];break G}g=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}B=e,C=xe(g,8,d,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}d=xe(g,1,d,b,j[e+12>>2],f+316|0);j[e+12>>2]=d;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;b=j[e>>2]}i=j[f+12>>2];g=j[e+8>>2]+(b<<3)|0;j[g>>2]=j[f+8>>2];j[g+4>>2]=i;h[b+d|0]=1;d=0;h[e+16|0]=0;g=j[e>>2];b=g+1|0;j[e>>2]=b;if(b>>>0>>0){break D}}g=j[e+8>>2]+(b-1<<3)|0;if((j[g>>2]-j[f+24>>2]|0)+1>>>0>2){d=b;break D}d=b;if((j[g+4>>2]-j[f+28>>2]|0)+1>>>0<3){break C}}g=j[e+4>>2];j[f+316>>2]=0;i=d+1|0;H:{if(i>>>0<=g>>>0){g=j[e+12>>2];break H}d=j[e+24>>2];b=g;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}B=e,C=xe(d,8,g,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}g=xe(d,1,g,b,j[e+12>>2],f+316|0);j[e+12>>2]=g;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;d=j[e>>2]}i=j[f+28>>2];b=j[e+8>>2]+(d<<3)|0;j[b>>2]=j[f+24>>2];j[b+4>>2]=i;h[d+g|0]=1;h[e+16|0]=0;b=j[e>>2]+1|0;j[e>>2]=b}d=j[e+4>>2];j[f+316>>2]=0;i=b+2|0;I:{if(i>>>0<=d>>>0){d=j[e+12>>2];break I}g=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}B=e,C=xe(g,8,d,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}d=xe(g,1,d,b,j[e+12>>2],f+316|0);j[e+12>>2]=d;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;b=j[e>>2]}i=j[f+304>>2];r=j[f+308>>2];g=j[e+8>>2]+(b<<3)|0;j[g+8>>2]=l;j[g+12>>2]=o;j[g>>2]=i;j[g+4>>2]=r;b=b+d|0;h[b|0]=0;h[b+1|0]=1;h[e+16|0]=0;l=j[e>>2];b=l+2|0;j[e>>2]=b;J:{if(!b){break J}d=j[e+8>>2]+(l+1<<3)|0;if((j[d>>2]-j[f+24>>2]|0)+1>>>0>2){break J}if((j[d+4>>2]-j[f+28>>2]|0)+1>>>0<3){break A}}d=j[e+4>>2];j[f+316>>2]=0;g=l+3|0;K:{if(g>>>0<=d>>>0){d=j[e+12>>2];break K}l=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(g>>>0>b>>>0){continue}break}B=e,C=xe(l,8,d,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}d=xe(l,1,d,b,j[e+12>>2],f+316|0);j[e+12>>2]=d;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;b=j[e>>2]}g=j[f+28>>2];l=j[e+8>>2]+(b<<3)|0;j[l>>2]=j[f+24>>2];j[l+4>>2]=g;h[b+d|0]=1;h[e+16|0]=0;j[e>>2]=j[e>>2]+1;break A}d=j[e+4>>2];b=j[e>>2];j[f+16>>2]=0;g=b+2|0;L:{if(g>>>0<=d>>>0){d=j[e+12>>2];break L}l=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(g>>>0>b>>>0){continue}break}B=e,C=xe(l,8,d,b,j[e+8>>2],f+16|0),j[B+8>>2]=C;i=j[f+16>>2];if(i){break b}d=xe(l,1,d,b,j[e+12>>2],f+16|0);j[e+12>>2]=d;i=j[f+16>>2];if(i){break b}j[e+4>>2]=b;b=j[e>>2]}o=j[f+308>>2];l=j[e+8>>2]+(b<<3)|0;g=l;j[g>>2]=j[f+304>>2];j[g+4>>2]=o;g=j[f+28>>2];j[l+8>>2]=j[f+24>>2];j[l+12>>2]=g;b=b+d|0;h[b|0]=0;h[b+1|0]=1;h[e+16|0]=0;j[e>>2]=j[e>>2]+2}e=e+32|0;d=n;b=-5898240;n=0;if(d){continue}break}j[a>>2]=p;b=0;s=s-2|0}m=x+(s<<3)|0;if((s|0)>-1){continue}break}}b=j[c+4>>2];j[a+8>>2]=j[c>>2];j[a+12>>2]=b;i=0;break a}h[e+16|0]=0;break a}h[e+16|0]=0}oe=f+320|0;return i}function QH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;t=oe-240|0;oe=t;a:{if(!b){e=36;break a}e=j[a+4>>2];if(!e){e=35;break a}if(!(j[j[e+128>>2]+48>>2]|m[e+16>>2]>c>>>0)){e=6;break a}if(d&2){d=k[e+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(k[e+9|0]&32?9:11)|d}b:{if(d&8){break b}f=j[b+112>>2];if((f|0)==-1){break b}if(qe[j[j[e+532>>2]+72>>2]](e,f,c,d,j[e+104>>2],a+76|0,t)|0){break b}e=0;j[a+108>>2]=0;j[a+24>>2]=l[t+2>>1]<<6;j[a+28>>2]=l[t>>1]<<6;f=i[t+4>>1];j[a+32>>2]=f<<6;g=i[t+6>>1];j[a+36>>2]=g<<6;j[a+40>>2]=l[t+8>>1]<<6;n=i[t+10>>1];j[a+44>>2]=n<<6;r=i[t+12>>1];j[a+48>>2]=r<<6;s=l[t+14>>1];o=g;g=d&16;j[a+104>>2]=g?r:o;j[a+100>>2]=g?n:f;j[a+72>>2]=1651078259;j[a+52>>2]=s<<6;g=j[a+4>>2];if(!(h[g+8|0]&1)){break a}e=j[g+104>>2];f=Ee(t,0,208);o=0;c:{d:{if(j[j[g+128>>2]+48>>2]){break d}r=qe[j[g+508>>2]](g,1735162214,e,0)|0;o=0;if((r&255)==142){break d}if(r){break c}o=j[e+8>>2]}n=o;j[f+16>>2]=d;j[f+84>>2]=n;j[f+24>>2]=e;j[f+8>>2]=a;j[f+4>>2]=b;j[f>>2]=g}e=0;Zl(f,c,0,1);c=j[f+60>>2];j[a+56>>2]=c;j[a+60>>2]=j[f+180>>2];if(!(j[a+40>>2]|!c)){z=a,A=ye(c,j[b+16>>2]),j[z+40>>2]=A}if(j[a+52>>2]){break a}c=j[a+60>>2];if(!c){break a}z=a,A=ye(c,j[b+20>>2]),j[z+52>>2]=A;break a}y=d&1;if(!(y|k[b+108|0])){e=36;break a}e=6;if(d&16384){break a}s=j[a+4>>2];v=j[s+104>>2];g=Ee(t,0,208);x=d&2;if(!x){u=d&128;e:{f:{g:{e=j[b+296>>2];h:{if((e|0)>=0){f=j[b+300>>2];if((f|0)<0){break h}if(e){break a}e=f;if(!e){break e}break a}n=j[b>>2];e=j[n+100>>2];f=e;q=j[b+124>>2];if(q){qe[j[f+8>>2]](f,q)}j[b+124>>2]=0;f=j[b+136>>2];if(f){qe[j[e+8>>2]](e,f)}j[b+136>>2]=0;f=j[b+244>>2];if(f){qe[j[e+8>>2]](e,f)}j[b+244>>2]=0;f=j[b+252>>2];if(f){qe[j[e+8>>2]](e,f)}j[b+252>>2]=0;f=j[b+292>>2];if(f){j[f+440>>2]=0;q=j[f+8>>2];o=q;w=j[f+24>>2];if(w){qe[j[o+8>>2]](o,w)}j[f+20>>2]=0;j[f+24>>2]=0;o=j[f+436>>2];if(o){qe[j[q+8>>2]](q,o)}j[f+436>>2]=0;j[f+428>>2]=0;j[f+432>>2]=0;o=j[f+392>>2];if(o){qe[j[q+8>>2]](q,o)}j[f+388>>2]=0;j[f+392>>2]=0;j[f>>2]=0;j[f+4>>2]=0;if(f){qe[j[q+8>>2]](q,f)}}f=b+256|0;Yl(f);j[b+296>>2]=-1;j[b+300>>2]=-1;z=b,A=PH(j[n+96>>2]),j[z+292>>2]=A;q=l[n+280>>1];j[b+120>>2]=q;o=l[n+282>>1];j[b+140>>2]=0;j[b+144>>2]=0;j[b+128>>2]=0;j[b+116>>2]=0;j[b+132>>2]=o;j[b+240>>2]=j[n+644>>2];o=l[n+278>>1];h[b+109|0]=0;h[b+110|0]=0;i[b+248>>1]=o;j[b+92>>2]=0;j[b+96>>2]=0;j[b+100>>2]=0;j[b+104>>2]=0;z=b,A=xe(e,24,0,q,0,g+208|0),j[z+124>>2]=A;i:{if(j[g+208>>2]){break i}z=b,A=xe(e,24,0,j[b+132>>2],0,g+208|0),j[z+136>>2]=A;if(j[g+208>>2]){break i}z=b,A=xe(e,4,0,j[b+240>>2],0,g+208|0),j[z+244>>2]=A;if(j[g+208>>2]){break i}z=b,A=xe(e,4,0,l[b+248>>1],0,g+208|0),j[z+252>>2]=A;if(j[g+208>>2]){break i}q=l[n+276>>1];j[f+28>>2]=0;j[f+32>>2]=0;j[f+20>>2]=0;j[f+24>>2]=0;j[f+12>>2]=0;j[f+16>>2]=0;j[f+4>>2]=0;j[f+8>>2]=0;j[f>>2]=e;o=q+4|0;q=o&65535;z=f,A=xe(e,8,0,q,0,g+224|0),j[z+12>>2]=A;j:{k:{if(j[g+224>>2]){break k}z=f,A=xe(e,8,0,q,0,g+224|0),j[z+16>>2]=A;if(j[g+224>>2]){break k}z=f,A=xe(e,8,0,q,0,g+224|0),j[z+20>>2]=A;if(j[g+224>>2]){break k}z=f,A=xe(e,1,0,q,0,g+224|0),j[z+24>>2]=A;if(j[g+224>>2]){break k}z=f,A=xe(e,2,0,0,0,g+224|0),j[z+28>>2]=A;if(j[g+224>>2]){break k}i[f+6>>1]=0;i[f+4>>1]=o;j[g+208>>2]=0;break j}Yl(f);e=j[g+224>>2];j[g+208>>2]=e;if(e){break i}}i[b+264>>1]=o;Ae(b+172|0,158004,68);e=j[j[j[n+96>>2]+4>>2]+172>>2];j[n+652>>2]=e?e:908;e=j[b+292>>2];f=j[b>>2];n=Xl(e,f,b);if(!n){j[e+480>>2]=0;j[e+484>>2]=0;j[e+476>>2]=64;j[e+16>>2]=0;j[e+428>>2]=0;j[e+564>>2]=16384;h[e+561|0]=u;j[e+216>>2]=0;j[e+220>>2]=0;h[e+488|0]=0;i[e+252>>1]=0;j[e+224>>2]=0;j[e+256>>2]=65536;j[e+260>>2]=0;q=j[f+632>>2];n=j[f+628>>2];j[e+452>>2]=0;j[e+456>>2]=0;j[e+448>>2]=n;j[e+444>>2]=q;j[e+460>>2]=0;j[e+464>>2]=0;if(!n){j[b+296>>2]=0;break g}j[e+364>>2]=n;j[e+356>>2]=q;j[e+360>>2]=0;j[e+352>>2]=1;n=qe[j[f+652>>2]](e)|0;j[b+296>>2]=n;if(!n){break g}}j[g+208>>2]=n}rq(b);e=j[g+208>>2];if(e){break a}e=j[b+296>>2]}if(e){break e}break f}j[b+116>>2]=j[e+396>>2];j[b+128>>2]=j[e+408>>2];j[b+140>>2]=j[e+420>>2];j[b+144>>2]=j[e+424>>2];f=j[e+448>>2];j[b+148>>2]=j[e+444>>2];j[b+152>>2]=f;f=j[e+456>>2];j[b+156>>2]=j[e+452>>2];j[b+160>>2]=f;f=j[e+464>>2];j[b+164>>2]=j[e+460>>2];j[b+168>>2]=f}if(j[b+300>>2]>-1){break e}if(j[b+240>>2]){f=j[b>>2];e=0;while(1){n=ye(i[j[f+648>>2]+(e<<1)>>1],j[b+88>>2]);j[j[b+244>>2]+(e<<2)>>2]=n;e=e+1|0;if(e>>>0>2]){continue}break}}e=l[b+264>>1];if(e){f=e>>>0>1?e:1;n=j[b+272>>2];q=j[b+268>>2];e=0;while(1){o=e<<3;w=o+q|0;j[w>>2]=0;j[w+4>>2]=0;o=n+o|0;j[o>>2]=0;j[o+4>>2]=0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}e=l[b+248>>1];if(e){Ee(j[b+252>>2],0,(e>>>0>1?e:1)<<2)}Ae(b+172|0,158004,68);e=qq(b,u);if(e){break a}}f=j[b+292>>2];if(!f){e=153;break a}e=Xl(f,s,b);if(e){break a}e=(d&983040)!=131072;if((e|0)!=k[f+608|0]){h[f+608|0]=e;if(j[b+240>>2]){e=0;while(1){n=ye(i[j[s+648>>2]+(e<<1)>>1],j[b+88>>2]);j[j[b+244>>2]+(e<<2)>>2]=n;e=e+1|0;if(e>>>0>2]){continue}break}}e=qq(b,u);if(e){break a}}e=k[f+336|0];n=e<<1&2;if(e&2){Ae(f+284|0,158004,68)}h[f+561|0]=u;j[g+160>>2]=f;j[g+164>>2]=j[f+392>>2];d=d|n}l:{if(j[j[s+128>>2]+48>>2]){break l}e=qe[j[s+508>>2]](s,1735162214,v,0)|0;if((e&255)==142){break l}if(e){break a}r=j[v+8>>2]}j[g+84>>2]=r;e=j[j[a+156>>2]>>2];Yh(e);j[g+16>>2]=d;j[g+12>>2]=e;j[g+24>>2]=v;j[g+8>>2]=a;j[g+4>>2]=b;j[g>>2]=s;j[a+72>>2]=1869968492;j[a+124>>2]=0;j[a+128>>2]=0;e=Zl(g,c,0,0);m:{if(e){break m}d=j[g+12>>2];n:{if(j[a+72>>2]==1668246896){j[a+128>>2]=j[d+48>>2];j[a+132>>2]=j[d+52>>2];break n}f=j[d+24>>2];e=a+108|0;j[e>>2]=j[d+20>>2];j[e+4>>2]=f;j[e+16>>2]=j[d+36>>2];f=j[d+32>>2];j[e+8>>2]=j[d+28>>2];j[e+12>>2]=f;j[a+124>>2]=j[a+124>>2]&-513;d=j[g+68>>2];if(!d){break n}Tf(e,0-d|0,0)}o:{if(x){break o}d=j[g+160>>2];if(k[d+337|0]){p:{switch(j[d+340>>2]){case 0:j[a+124>>2]=j[a+124>>2]|32;break o;case 4:j[a+124>>2]=j[a+124>>2]|48;break o;case 5:j[a+124>>2]=j[a+124>>2]|16;break o;case 1:break o;default:break p}}j[a+124>>2]=j[a+124>>2]|8;break o}j[a+124>>2]=j[a+124>>2]|8}n=65536;r=j[g+4>>2];d=j[g+8>>2];n=h[g+16|0]&1?n:j[r+20>>2];f=j[g>>2];q:{if(j[d+72>>2]!=1668246896){Ug(d+108|0,g+224|0);break q}e=j[g+48>>2];j[g+232>>2]=j[g+44>>2];j[g+236>>2]=e;e=j[g+40>>2];j[g+224>>2]=j[g+36>>2];j[g+228>>2]=e}j[d+56>>2]=j[g+60>>2];u=j[g+224>>2];j[d+32>>2]=u;s=j[g+236>>2];j[d+36>>2]=s;j[d+40>>2]=j[g+76>>2]-j[g+68>>2];r:{if(j[f+480>>2]|k[g+16|0]&2){break r}v=j[f+712>>2];if(!v){break r}o=j[f+704>>2]+8|0;q=j[f+716>>2];x=j[f+720>>2];e=0;r=l[r+12>>1];while(1){if((r|0)==k[e+x|0]){r=c+2|0;if(r>>>0>=q>>>0){break r}j[d+40>>2]=k[r+(o+p(e,q)|0)|0]<<6;break r}e=e+1|0;if((v|0)!=(e|0)){continue}break}}j[d+24>>2]=j[g+232>>2]-u;e=s-j[g+228>>2]|0;j[d+28>>2]=e;s:{if(!(!k[f+292|0]|!l[f+330>>1])){r=De(j[g+188>>2]-s|0,n)<<16>>16;e=0;s=j[g+188>>2];q=j[g+196>>2];if((s|0)<=(q|0)){break s}e=De(s-q|0,n)&65535;break s}r=De(e,n);e=l[f+364>>1]==65535;e=i[f+(e?220:434)>>1]-i[f+(e?222:436)>>1]|0;r=(e-(r<<16>>16)|0)/2|0}f=j[j[f+128>>2]+48>>2];t:{if(!f){break t}s=j[j[f>>2]+8>>2];if(!s){break t}j[g+216>>2]=e;j[g+212>>2]=r;j[g+208>>2]=0;e=qe[s|0](j[f+4>>2],c,1,g+208|0)|0;if(e){break m}e=j[g+216>>2];r=j[g+212>>2]}j[d+60>>2]=e;c=d;if(!(h[g+16|0]&1)){r=ye(r,n);e=ye(e,n)}j[c+52>>2]=e;j[d+48>>2]=r;j[d+44>>2]=j[d+32>>2]+(j[d+40>>2]/-2|0);e=0}if(l[b+14>>1]>23|y){break a}j[a+124>>2]=j[a+124>>2]|256}oe=t+240|0;return e|0}function Gz(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}r=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=j[c>>2];j[c>>2]=((p(b>>>24|0,r)>>>0)/255|0)+l<<24|((p(b&255,r)>>>0)/255|0)+i|((p(b>>>16&255,r)>>>0)/255|0)+g<<16|((p(b>>>8&255,r)>>>0)/255|0)+h<<8;c=c+4|0;a=a-1|0;if(a){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){l=(m|0)!=0;n=a+(b<<2)|0;a=d-b|0;break d}a=a+(d<<2)|0;n=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}while(1){c=j[n>>2];a=(c&255)+i|0;d=(a>>>0<255?a:255)|c&-16777216;a=(c>>>16&255)+g|0;d=d|(a>>>0<255?a:255)<<16;a=(c>>>8&255)+h|0;j[n>>2]=d|(a>>>0<255?a:255)<<8;n=n+4|0;b=b-1|0;if(b){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){l=(m|0)!=0;n=a+(b<<2)|0;a=d-b|0;break e}a=a+(d<<2)|0;n=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}while(1){a=j[n>>2];j[n>>2]=(p(a&255,i)>>>0)/255|a&-16777216|(p(a>>>16&255,g)>>>0)/255<<16|(p(a>>>8&255,h)>>>0)/255<<8;n=n+4|0;b=b-1|0;if(b){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;n=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=l<<24|i|h<<8|g<<16;while(1){j[n>>2]=a;n=n+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}c=f<<2;while(1){d=j[b>>2];j[b>>2]=((p(d>>>24|0,r)>>>0)/255|0)+l<<24|((p(d&255,r)>>>0)/255|0)+i|((p(d>>>16&255,r)>>>0)/255|0)+g<<16|((p(d>>>8&255,r)>>>0)/255|0)+h<<8;b=b+c|0;a=a-1|0;if(a){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;n=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}c=f<<2;while(1){d=j[n>>2];a=(d&255)+i|0;e=(a>>>0<255?a:255)|d&-16777216;a=(d>>>16&255)+g|0;e=e|(a>>>0<255?a:255)<<16;a=(d>>>8&255)+h|0;j[n>>2]=e|(a>>>0<255?a:255)<<8;n=c+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;n=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}a=f<<2;while(1){c=j[n>>2];j[n>>2]=(p(c&255,i)>>>0)/255|c&-16777216|(p(c>>>16&255,g)>>>0)/255<<16|(p(c>>>8&255,h)>>>0)/255<<8;n=a+n|0;b=b-1|0;if(b){continue}break}break a;default:break g}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;n=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}b=l<<24|i|h<<8|g<<16;a=f<<2;while(1){j[n>>2]=b;n=a+n|0;c=c-1|0;if(c){continue}break}break a}n=b-d|0;v=n>>31;q=c-e|0;o=q>>31;if((v^n+v)==(o^o+q)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}c=c<<2;while(1){d=j[a>>2];j[a>>2]=((p(d>>>24|0,r)>>>0)/255|0)+l<<24|((p(d&255,r)>>>0)/255|0)+i|((p(d>>>16&255,r)>>>0)/255|0)+g<<16|((p(d>>>8&255,r)>>>0)/255|0)+h<<8;a=a+c|0;b=b-1|0;if(b){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}c=c<<2;while(1){d=j[n>>2];a=(d&255)+i|0;e=(a>>>0<255?a:255)|d&-16777216;a=(d>>>16&255)+g|0;e=e|(a>>>0<255?a:255)<<16;a=(d>>>8&255)+h|0;j[n>>2]=e|(a>>>0<255?a:255)<<8;n=c+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}a=c<<2;while(1){c=j[n>>2];j[n>>2]=(p(c&255,i)>>>0)/255|c&-16777216|(p(c>>>16&255,g)>>>0)/255<<16|(p(c>>>8&255,h)>>>0)/255<<8;n=a+n|0;b=b-1|0;if(b){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=m?a:a+(b<<2)|0}c=((m|0)!=0)+q|0;if(!c){break a}d=l<<24|i|h<<8|g<<16;a=b<<2;while(1){j[n>>2]=d;n=a+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;o=n>>31;f=e-c|0;q=f>>31;o=o^n+o;n=q^f+q;r:{if((o|0)>=(n|0)){u=n-o|0;x=1;q=n<<1;f=q-o|0;n=0;break r}u=o-n|0;q=o<<1;f=q-n|0;o=n;n=1}s=((m|0)!=0)+o|0;if(!s){break a}e=(c|0)>(e|0);w=e?0-n|0:n;d=(b|0)>(d|0);t=d?0-x|0:x;v=e?-1:1;o=d?-1:1;n=u<<1;m=j[a+20>>2];d=0;while(1){e=(m+p(j[a+16>>2],c)|0)+(b<<2)|0;u=j[e>>2];j[e>>2]=((p(u&255,r)>>>0)/255|0)+i|((p(u>>>24|0,r)>>>0)/255|0)+l<<24|((p(u>>>16&255,r)>>>0)/255|0)+g<<16|((p(u>>>8&255,r)>>>0)/255|0)+h<<8;e=(f|0)<0;f=(e?q:n)+f|0;b=(e?t:o)+b|0;c=(e?w:v)+c|0;d=d+1|0;if((s|0)!=(d|0)){continue}break}break a;case 1:l=d-b|0;n=l>>31;f=e-c|0;o=f>>31;n=n^l+n;o=o^f+o;s:{if((n|0)>=(o|0)){s=o-n|0;f=o<<1;l=f-n|0;o=1;break s}s=n-o|0;t=1;f=n<<1;l=f-o|0;n=o;o=0}w=((m|0)!=0)+n|0;if(!w){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);v=d?0-o|0:o;q=e?-1:1;o=d?-1:1;n=s<<1;m=j[a+20>>2];e=0;while(1){d=(m+p(j[a+16>>2],c)|0)+(b<<2)|0;u=j[d>>2];s=(u&255)+i|0;r=d;d=(u>>>16&255)+g|0;s=u&-16777216|(s>>>0<255?s:255)|(d>>>0<255?d:255)<<16;d=(u>>>8&255)+h|0;j[r>>2]=s|(d>>>0<255?d:255)<<8;d=(l|0)<0;l=(d?f:n)+l|0;b=(d?v:o)+b|0;c=(d?t:q)+c|0;e=e+1|0;if((w|0)!=(e|0)){continue}break}break a;case 3:l=d-b|0;n=l>>31;f=e-c|0;o=f>>31;n=n^l+n;o=o^f+o;t:{if((n|0)>=(o|0)){x=o-n|0;f=o<<1;l=f-n|0;o=1;break t}x=n-o|0;t=1;f=n<<1;l=f-o|0;n=o;o=0}w=((m|0)!=0)+n|0;if(!w){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);v=d?0-o|0:o;q=e?-1:1;o=d?-1:1;n=x<<1;m=j[a+20>>2];e=0;while(1){d=(m+p(j[a+16>>2],c)|0)+(b<<2)|0;s=j[d>>2];j[d>>2]=(p(s&255,i)>>>0)/255|s&-16777216|(p(s>>>16&255,g)>>>0)/255<<16|(p(s>>>8&255,h)>>>0)/255<<8;d=(l|0)<0;l=(d?f:n)+l|0;b=(d?v:o)+b|0;c=(d?t:q)+c|0;e=e+1|0;if((w|0)!=(e|0)){continue}break}break a;default:break q}}n=d-b|0;q=n>>31;f=e-c|0;o=f>>31;q=q^n+q;o=o^f+o;u:{if((q|0)>=(o|0)){s=o-q|0;f=o<<1;n=f-q|0;o=1;break u}s=q-o|0;x=1;f=q<<1;n=f-o|0;q=o;o=0}w=((m|0)!=0)+q|0;if(!w){break a}e=(c|0)>(e|0);t=e?0-x|0:x;d=(b|0)>(d|0);v=d?0-o|0:o;q=e?-1:1;o=d?-1:1;m=s<<1;e=l<<24|i|h<<8|g<<16;d=j[a+20>>2];i=0;while(1){j[(d+p(j[a+16>>2],c)|0)+(b<<2)>>2]=e;g=(n|0)<0;n=(g?f:m)+n|0;b=(g?v:o)+b|0;c=(g?t:q)+c|0;i=i+1|0;if((w|0)!=(i|0)){continue}break}}}function EL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;n=oe-32|0;oe=n;a:{b:{f=Fe(a,0);if(!f){f=$e(a,91520,b+132|0);if(!f){break b}}j[n+24>>2]=f;break a}j[b+168>>2]=j[b+168>>2]+(j[b+204>>2]<<16);j[n+24>>2]=0;c:{if(!(j[b+132>>2]!=1346785840|m[b+136>>2]>4|m[b+144>>2]<58)){if(j[b+140>>2]==3338){break c}}f=2;j[n+24>>2]=2;break a}f=Fe(a,j[b+152>>2]);j[n+8>>2]=f;if(f){break a}d=qf(a,n+8|0);f=j[n+8>>2];j[n+24>>2]=f;if(f){break a}j[b>>2]=d;f=0;if((c|0)<0){break a}f=6;if((c|0)>=(d|0)){break a}q=j[b+204>>2];f=Fe(a,j[b+152>>2]);j[n+8>>2]=f;if(f){break a}d=qf(a,n+8|0);f=j[n+8>>2];if(f){break a}f=6;if(c>>>0>=d>>>0){break a}f=xf(a,p(c,5));j[n+8>>2]=f;if(f){break a}d=qf(a,n+8|0);f=j[n+8>>2];if(f){break a}e=ON(a,n+8|0);f=j[n+8>>2];if(f){break a}j[b+240>>2]=d;j[b+244>>2]=e;f=Fe(a,e);j[n+8>>2]=f;if(f){break a}f=_e(a,d);j[n+8>>2]=f;if(f){break a}d:{e:{f:{if(d>>>0<13){break f}e=j[a+32>>2];o=e+d|0;j[b+248>>2]=k[e+2|0]|(k[e+1|0]<<8|k[e|0]<<16);j[b+252>>2]=k[e+5|0]|(k[e+4|0]<<8|k[e+3|0]<<16);j[b+256>>2]=k[e+8|0]|(k[e+7|0]<<8|k[e+6|0]<<16);j[b+260>>2]=k[e+11|0]|(k[e+10|0]<<8|k[e+9|0]<<16);d=0;t=o;g=e+13|0;u=g;r=k[e+12|0];f=r&4;if(f){d=r&8?2:1;d=r&3?d:d+3|0}s=r&32;if(t>>>0>31&(s?2:1))|0)>>>0){break f}u=r&16;g:{if(!f){break g}d=b;h:{if(r&8){g=e+15|0;e=k[e+13|0]|k[e+14|0]<<8;e=(e<<24|e<<8&16711680)>>16;break h}g=e+14|0;e=k[e+13|0]}j[d+268>>2]=e;if(r&3){break g}j[b+276>>2]=k[g+2|0]|(k[g+1|0]<<8|k[g|0]<<16);g=g+3|0}i:{if(!u){d=g;break i}j:{if(s){d=k[g|0]|k[g+1|0]<<8;f=(d<<24|d<<8&16711680)>>16;d=g+2|0;break j}f=k[g|0];d=g+1|0}j[b+272>>2]=f}k:{if(!(r&64)){f=d;break k}f=d+1|0;if(o>>>0>>0){break e}e=k[d|0];if(e){while(1){d=f+2|0;if(d>>>0>o>>>0){break e}f=d+k[f|0]|0;if(o>>>0>>0){break e}e=e-1|0;if(e){continue}break}}j[n+8>>2]=0}if(o>>>0>>0){break f}d=k[f+1|0]|k[f|0]<<8;j[b+280>>2]=d;j[b+284>>2]=k[f+4|0]|(k[f+3|0]<<8|k[f+2|0]<<16);if(!q){break d}if(o>>>0>>0){break f}j[b+280>>2]=d|k[f+5|0]<<16;break d}j[n+8>>2]=8;break d}j[n+8>>2]=8}Ve(a);f=j[n+8>>2];j[n+24>>2]=f;if(f){break a}g=j[b+280>>2];x=j[b+284>>2];w=j[a+28>>2];j[b+428>>2]=b+424;j[b+424>>2]=0;j[b+292>>2]=x;o=b+288|0;j[o>>2]=w;f=Fe(a,x);if(f){break a}f=_e(a,g);j[n+28>>2]=f;if(f){break a}d=j[a+32>>2];j[o+148>>2]=d;l:{m:{n:{o:{if((g|0)<15){break o}j[o+8>>2]=k[d+1|0]|k[d|0]<<8;j[o+12>>2]=k[d+3|0]|k[d+2|0]<<8;j[o+16>>2]=k[d+5|0]|k[d+4|0]<<8;e=k[d+6|0]|k[d+7|0]<<8;j[o+20>>2]=(e<<24|e<<8&16711680)>>16;e=k[d+8|0]|k[d+9|0]<<8;j[o+24>>2]=(e<<24|e<<8&16711680)>>16;e=k[d+10|0]|k[d+11|0]<<8;j[o+28>>2]=(e<<24|e<<8&16711680)>>16;e=k[d+12|0]|k[d+13|0]<<8;j[o+32>>2]=(e<<24|e<<8&16711680)>>16;u=k[d+14|0];j[o+36>>2]=u;y=u&4;e=d+15|0;p:{if(y){break p}if((g|0)<17){break o}e=k[d+15|0]|k[d+16|0]<<8;j[o+40>>2]=(e<<24|e<<8&16711680)>>16;e=d+17|0}r=d+g|0;if(u&128){f=8;d=e+1|0;if(r>>>0>>0){break m}s=k[e|0];q:{if(!s){e=d;break q}while(1){q=d+2|0;if(q>>>0>r>>>0){break n}e=q+k[d|0]|0;if(r>>>0>>0){break n}f=91648;g=680;d=k[d+1|0];r:{if((d|0)!=1){while(1){g=j[f+12>>2];if(!g){break r}f=f+8|0;if((d|0)!=j[f>>2]){continue}break}}f=qe[g|0](q,e,o)|0;if(f){break m}}d=e;s=s-1|0;if(s){continue}break}}j[n+28>>2]=0}g=e+3|0;if(r>>>0>>0){break o}s=k[e+2|0]|(k[e+1|0]<<8|k[e|0]<<16);if(s){e=g+s|0;if(e>>>0>r>>>0){break o}while(1){s:{v=g+4|0;if(v>>>0>e>>>0){break s}q=k[g+1|0]|k[g|0]<<8;if(q>>>0<4|q>>>0>s>>>0){break s}t:{u:{v:{w:{x:{d=k[g+2|0]|k[g+3|0]<<8;switch(((d<<24|d<<8&16711680)>>>16|0)-1|0){case 2:break v;case 1:break w;case 0:break x;default:break t}}j[n+8>>2]=0;y:{z:{d=q-4|0;if(!d){break z}f=q-5|0;if(!k[f+v|0]){d=f;if(!f){break z}}f=0;while(1){t=k[f+v|0];if(t>>>0<32|t<<24>>24<0){break z}f=f+1|0;if((f|0)!=(d|0)){continue}break}break y}j[o+84>>2]=0;j[n+28>>2]=0;break t}t=He(w,d+1|0,n+8|0);f=j[n+8>>2];if(f){j[o+84>>2]=t;break a}f=d;d=Ae(t,v,d);h[f+d|0]=0;f=j[n+8>>2];j[o+84>>2]=d;break u}if(q>>>0<36){break t}d=k[g+14|0]|k[g+15|0]<<8;j[o+44>>2]=(d<<24|d<<8&16711680)>>16;d=k[g+16|0]|k[g+17|0]<<8;j[o+48>>2]=(d<<24|d<<8&16711680)>>16;d=k[g+18|0]|k[g+19|0]<<8;j[o+52>>2]=(d<<24|d<<8&16711680)>>16;break t}j[n+8>>2]=0;A:{B:{d=q-4|0;if(!d){break B}f=q-5|0;if(!k[f+v|0]){d=f;if(!f){break B}}f=0;while(1){t=k[f+v|0];if(t>>>0<32|t<<24>>24<0){break B}f=f+1|0;if((f|0)!=(d|0)){continue}break}break A}j[o+88>>2]=0;j[n+28>>2]=0;break t}t=He(w,d+1|0,n+8|0);f=j[n+8>>2];if(f){j[o+88>>2]=t;break a}f=d;d=Ae(t,v,d);h[f+d|0]=0;f=j[n+8>>2];j[o+88>>2]=d}j[n+28>>2]=f;if(f){break a}}g=g+q|0;s=s-q|0;if(s){continue}}break}g=e}f=g+1|0;if(r>>>0>>0){break o}d=k[g|0];j[o+104>>2]=d;if(r>>>0<(d<<1)+f>>>0){break o}g=0;e=xe(w,4,0,d,0,n+28|0);j[o+108>>2]=e;if(j[n+28>>2]){break l}if(d){while(1){q=k[f|0]|k[f+1|0]<<8;j[e+(g<<2)>>2]=(q<<24|q<<8&16711680)>>16;f=f+2|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}g=f+8|0;if(r>>>0>>0){break o}j[o+112>>2]=k[f|0];j[o+116>>2]=k[f+1|0];j[o+68>>2]=k[f+3|0]|k[f+2|0]<<8;j[o+56>>2]=k[f+5|0]|k[f+4|0]<<8;q=k[f+7|0]|k[f+6|0]<<8;j[o+120>>2]=q;j[o+124>>2]=(g+x|0)-j[a+32>>2];v=xe(w,16,0,q,0,n+28|0);j[o+128>>2]=v;if(j[n+28>>2]){break l}w=u&2;x=u&8;t=u&16;u=u&32;if(r>>>0>>1|(w?5:4))+(x>>>3|0)+(t>>>4)+(u>>>5)|0)+g>>>0){break o}if(!q){break l}d=0;while(1){C:{if(w){f=g+2|0;e=k[g+1|0]|k[g|0]<<8;break C}f=g+1|0;e=k[g|0]}g=v+(d<<4)|0;j[g>>2]=e;D:{if(y){e=k[f|0]|k[f+1|0]<<8;e=(e<<24|e<<8&16711680)>>16;f=f+2|0;break D}e=j[o+40>>2]}j[g+4>>2]=e;f=x?f+1|0:f;E:{if(t){e=k[f+1|0]|k[f|0]<<8;f=f+2|0;break E}e=k[f|0];f=f+1|0}j[g+8>>2]=e;e=g;F:{if(u){g=f+3|0;s=2;r=k[f+1|0]<<8|k[f|0]<<16;break F}g=f+2|0;s=1;r=k[f|0]<<8}j[e+12>>2]=r|k[f+s|0];d=d+1|0;if((q|0)!=(d|0)){continue}break}break l}j[n+28>>2]=8;break l}f=8}j[n+28>>2]=f}Ve(a);e=0;a=j[a+8>>2];j[o+148>>2]=0;j[o+144>>2]=a;f=j[n+28>>2];j[n+24>>2]=f;if(f){break a}j[b+4>>2]=c;a=j[b+408>>2];j[b+16>>2]=a+1;c=j[b+8>>2]|1;j[b+8>>2]=c;G:{H:{I:{if(!a){break I}d=j[o+128>>2];while(1){if(j[(d+(e<<4)|0)+12>>2]){break I}e=e+1|0;if((a|0)!=(e|0)){continue}break}break H}if((a|0)!=(e|0)){break G}}c=0;if(j[o+92>>2]){break G}f=3;break a}a=j[b+324>>2];f=(a^-1)&4|c|(a&1?32:16);j[b+8>>2]=f;c=j[b+380>>2];if(c){f=f|2;j[b+8>>2]=f}if(j[o+132>>2]){j[b+8>>2]=f|64}d=j[b+372>>2];j[b+20>>2]=d;if(!d){j[b+20>>2]=j[b+368>>2]}j[b+28>>2]=0;j[b+32>>2]=0;j[b+24>>2]=j[b+376>>2];d=j[o+28>>2];e=j[o+32>>2];f=j[o+24>>2];g=j[o+20>>2];r=j[b+300>>2];i[b+68>>1]=r;q=j[b+320>>2];i[b+70>>1]=q;s=j[b+312>>2];i[b+72>>1]=s;j[b+52>>2]=g;j[b+56>>2]=f;j[b+60>>2]=d;j[b+64>>2]=e;d=(q<<16>>16)-(s<<16>>16)|0;e=(p(r&65535,12)>>>0)/10|0;i[b+74>>1]=(d|0)>e<<16>>16?d:e;if(c){e=0;a=xe(j[j[b+104>>2]+28>>2],16,0,c,0,n+24|0);j[b+32>>2]=a;f=j[n+24>>2];if(f){break a}f=j[o+100>>2];while(1){g=j[f+4>>2];i[a>>1]=g;d=j[f>>2];g=g<<6;j[a+12>>2]=g;j[a+4>>2]=g;i[a+2>>1]=d;j[a+8>>2]=d<<6;f=f+36|0;a=a+16|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}j[b+28>>2]=c;a=j[b+324>>2]}J:{if(!(a&4)){f=j[o+40>>2];break J}c=j[o+120>>2];if(!c){f=0;break J}a=j[o+128>>2];f=0;while(1){d=j[a+4>>2];f=(d|0)>(f|0)?d:f;a=a+16|0;c=c-1|0;if(c){continue}break}}i[b+76>>1]=f;i[b+78>>1]=l[b+74>>1];a=l[b+68>>1];i[b+82>>1]=(a>>>0)/30;i[b+80>>1]=(a|0)/-10;j[n+8>>2]=b;j[n+12>>2]=1970170211;j[n+16>>2]=65539;f=qg(91304,0,n+8|0,0);if(!j[b+420>>2]){break a}j[b+8>>2]=j[b+8>>2]|64}oe=n+32|0;return f|0}function hr(a,b,c,d,e){var f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;q=oe-48|0;oe=q;d=Fe(b,c+d|0);a:{if(d){break a}d=_e(b,e);if(d){break a}g=j[b+32>>2];r=g+e|0;if(!(!e|h[g|0]>-1)){s=j[a+16>>2];t=j[a+28>>2];j[q>>2]=0;d=8;b:{if((e|0)<1){break b}o=k[g|0];if(!(o&128)){break b}n=g+1|0;x=j[t>>2];c:{if(!(o&8)){e=n;break c}if((e|0)<2){break b}e=g+2|0;f=k[n|0];if(f){while(1){n=e+2|0;if(n>>>0>r>>>0){break b}e=n+k[e|0]|0;if(r>>>0>>0){break b}f=f-1|0;if(f){continue}break}}j[q>>2]=0}u=o&63;n=u+s|0;g=j[a+20>>2];d:{if(n>>>0<=g>>>0){f=j[a+24>>2];break d}n=n+3&-4;if(n>>>0>64){break b}f=xe(x,24,g,n,j[a+24>>2],q);j[a+24>>2]=f;d=j[q>>2];if(d){break b}j[a+20>>2]=n}if(!u){d=0;break b}f=p(s,24)+f|0;while(1){o=e+1|0;if(r>>>0>>0){d=8;break b}g=k[e|0];j[f>>2]=65536;if(g&16){o=e+3|0;if(r>>>0>>0){d=8;break b}d=k[e+1|0]|k[e+2|0]<<8;j[f>>2]=(d<<24|d<<8&16711680)>>16<<4}j[f+4>>2]=65536;e:{if(!(g&32)){d=o;break e}d=o+2|0;if(r>>>0>>0){d=8;break b}e=k[o|0]|k[o+1|0]<<8;j[f+4>>2]=(e<<24|e<<8&16711680)>>16<<4}o=0;e=0;f:{g:{switch((g&3)-1|0){case 0:n=d+2|0;if(n>>>0>r>>>0){d=8;break b}d=k[d|0]|k[d+1|0]<<8;e=(d<<24|d<<8&16711680)>>16;d=n;break f;case 1:break g;default:break f}}n=d+1|0;if(n>>>0>r>>>0){d=8;break b}e=h[d|0];d=n}h:{i:{switch((g>>>2&3)-1|0){case 0:n=d+2|0;if(n>>>0>r>>>0){d=8;break b}d=k[d|0]|k[d+1|0]<<8;o=(d<<24|d<<8&16711680)>>16;d=n;break h;case 1:break i;default:break h}}n=d+1|0;if(n>>>0>r>>>0){d=8;break b}o=h[d|0];d=n}j[f+12>>2]=o;j[f+8>>2]=e;e=f;j:{if(g&64){o=d+2|0;if(r>>>0>>0){d=8;break b}d=k[d+1|0]|k[d|0]<<8;break j}o=d+1|0;if(r>>>0>>0){d=8;break b}d=k[d|0]}j[e+20>>2]=d;k:{if(g&128){e=o+3|0;if(r>>>0>>0){d=8;break b}n=2;d=k[o+1|0]<<8|k[o|0]<<16;break k}e=o+2|0;if(r>>>0>>0){d=8;break b}n=1;d=k[o|0]<<8}j[f+16>>2]=d|k[n+o|0];j[a+16>>2]=j[a+16>>2]+1;f=f+24|0;d=0;v=v+1|0;if((u|0)!=(v|0)){continue}break}}Ve(b);if(d){break a}r=j[a+16>>2]-s|0;if(!r){d=0;break a}o=0;while(1){g=i[t+22>>1];f=p(o,24);e=p(s,24);d=f+(e+j[a+24>>2]|0)|0;d=hr(a,b,c,j[d+16>>2],j[d+20>>2]);if(d){break a}n=i[t+22>>1]-g|0;e=f+(e+j[a+24>>2]|0)|0;u=j[e>>2];l:{if(!(j[e+4>>2]==65536?(u|0)==65536:0)){if((n|0)<1){break l}d=j[t+24>>2]+(g<<3)|0;f=0;while(1){z=d,A=ye(j[d>>2],u)+j[e+8>>2]|0,j[z>>2]=A;z=d,A=ye(j[d+4>>2],j[e+4>>2])+j[e+12>>2]|0,j[z+4>>2]=A;f=f+1|0;if((n|0)==(f|0)){break l}d=d+8|0;u=j[e>>2];continue}}if((n|0)<1){break l}d=j[t+24>>2]+(g<<3)|0;g=j[e+12>>2];f=j[e+8>>2];e=0;while(1){j[d>>2]=f+j[d>>2];j[d+4>>2]=g+j[d+4>>2];d=d+8|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}d=0;o=o+1|0;if((r|0)!=(o|0)){continue}break}break a}j[q+44>>2]=0;d=8;m:{if((e|0)<1){break m}o=k[g|0];if(o&128){break m}f=j[j[a+28>>2]>>2];n:{if(o&4){if((e|0)<2){break m}n=g+2|0;c=k[g+1|0];x=c>>>4|0;v=c&15;break n}if(o&2){if((e|0)<2){break m}v=k[g+1|0];c=g+2|0}else{c=g+1|0}if(!(o&1)){n=c;break n}n=c+1|0;if(r>>>0>>0){break m}x=k[c|0]}o:{g=v+x|0;c=j[a+4>>2];p:{q:{if(g>>>0>c>>>0){d=c;c=g+7&1016;s=xe(f,4,d,c,j[a+8>>2],q+44|0);j[a+8>>2]=s;d=j[q+44>>2];if(d){break m}u=a+8|0;j[a+4>>2]=c;j[a+12>>2]=(v<<2)+s;y=a+12|0;break q}s=j[a+8>>2];j[a+12>>2]=s+(v<<2);y=a+12|0;u=a+8|0;if(!g){break p}}c=0;e=0;d=0;while(1){r:{if(d&7){f=n;break r}f=n+1|0;if(r>>>0>>0){break o}e=k[n|0]}t=(d<<2)+s|0;s:{if(e&1){n=f+2|0;if(r>>>0>>0){break o}c=k[f|0]|k[f+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;break s}n=f+1|0;if(r>>>0>>0){break o}c=k[f|0]+c|0}j[t>>2]=c;e=e>>>1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=8;t:{if(!(o&8)){e=n;break t}e=n+1|0;if(r>>>0>>0){break m}f=k[n|0];if(f){while(1){c=e+2|0;if(c>>>0>r>>>0){break m}e=c+k[e|0]|0;if(r>>>0>>0){break m}f=f-1|0;if(f){continue}break}}j[q+44>>2]=0}h[a+32|0]=0;j[q+24>>2]=0;j[q+28>>2]=0;j[q>>2]=0;j[q+4>>2]=0;c=0;n=0;while(1){g=e+1|0;if(g>>>0>r>>>0){break o}d=k[e|0];f=d&15;s=1;u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{w=d>>>4|0;switch(w|0){case 0:break z;case 1:case 4:case 5:break A;case 7:break C;case 6:break D;case 3:break F;case 2:break G;default:break B}}if(f>>>0>=v>>>0){break o}d=j[j[u>>2]+(f<<2)>>2];j[q+4>>2]=c;j[q>>2]=d;d=j[q+4>>2];c=j[q>>2];j[q+24>>2]=c;j[q+28>>2]=d;n=c;break E}if(f>>>0>=x>>>0){break o}j[q>>2]=n;j[q+4>>2]=j[j[y>>2]+(f<<2)>>2];d=j[q+4>>2];c=j[q>>2];j[q+24>>2]=c;j[q+28>>2]=d;n=c}c=d;e=g;break w}f=2958;s=3;break A}f=3627;s=3;break A}s=4}o=0;d=q;e=g;while(1){H:{I:{switch(f&3){case 0:g=e+1|0;if(g>>>0>r>>>0){break o}e=k[e|0];if(e>>>0>=v>>>0){break o}n=j[j[u>>2]+(e<<2)>>2];e=g;break H;case 1:g=e+2|0;if(g>>>0>r>>>0){break o}e=k[e|0]|k[e+1|0]<<8;n=(e<<24|e<<8&16711680)>>16;e=g;break H;case 2:break I;default:break H}}g=e+1|0;if(g>>>0>r>>>0){break o}n=h[e|0]+n|0;e=g}j[d>>2]=n;J:{K:{switch(f>>>2&3){case 0:n=e+1|0;if(n>>>0>r>>>0){break o}c=k[e|0];if(c>>>0>=x>>>0){break o}c=j[j[y>>2]+(c<<2)>>2];e=n;break J;case 1:n=e+2|0;if(n>>>0>r>>>0){break o}c=k[e|0]|k[e+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;e=n;break J;case 2:break K;default:break J}}n=e+1|0;if(n>>>0>r>>>0){break o}c=h[e|0]+c|0;e=n}j[d+4>>2]=c;L:{if(!((s|0)!=4|o)){c=e+1|0;if(c>>>0>r>>>0){break o}f=k[e|0];s=3;e=c;break L}f=f>>>4|0}c=j[d+4>>2];g=j[d>>2];j[q+24>>2]=g;j[q+28>>2]=c;d=d+8|0;t=c;n=g;o=o+1|0;if(s>>>0>o>>>0){continue}break}c=t;switch(w|0){case 1:case 2:case 3:break w;case 4:case 5:break y;case 0:break z;default:break x}}d=j[a+28>>2];if(k[a+32|0]){n=i[d+58>>1];e=n-1|0;f=e;o=l[d+56>>1];g=o<<16>>16;c=0;M:{if((g|0)<1){break M}c=i[(j[d+68>>2]+(o<<1)|0)-2>>1]}N:{if((f|0)<=(c|0)){break N}f=j[d+60>>2];o=f+(c<<3)|0;f=f+(e<<3)|0;if(j[o>>2]!=j[f>>2]|j[o+4>>2]!=j[f+4>>2]){break N}i[d+58>>1]=n-1;e=n-2|0}if((c|0)<=(e|0)){i[d+56>>1]=g+1;i[j[d+68>>2]+(g<<1)>>1]=e}h[a+32|0]=0}Xh(d);d=j[q+44>>2];break m}f=j[a+28>>2];O:{if(!k[a+32|0]){break O}o=i[f+58>>1];d=o-1|0;s=d;w=l[f+56>>1];t=w<<16>>16;g=0;P:{if((t|0)<1){break P}g=i[(j[f+68>>2]+(w<<1)|0)-2>>1]}Q:{if((s|0)<=(g|0)){break Q}s=j[f+60>>2];w=s+(g<<3)|0;s=s+(d<<3)|0;if(j[w>>2]!=j[s>>2]|j[w+4>>2]!=j[s+4>>2]){break Q}i[f+58>>1]=o-1;d=o-2|0}if((d|0)<(g|0)){break O}i[f+56>>1]=t+1;i[j[f+68>>2]+(t<<1)>>1]=d}h[a+32|0]=1;d=i[f+58>>1];o=(d+i[f+22>>1]|0)+1|0;s=j[f+4>>2];if(!(m[f+8>>2]>=(i[f+20>>1]+i[f+56>>1]|0)+1>>>0?o>>>0<=s>>>0:0)){d=yf(f,1,1);if(d){break u}if(!k[a+32|0]){d=8;break u}f=j[a+28>>2];d=i[f+58>>1];o=(d+i[f+22>>1]|0)+1|0;s=j[f+4>>2]}if(o>>>0>s>>>0){d=yf(f,1,0);if(d){break u}d=i[f+58>>1]}o=j[q+4>>2];g=j[f+60>>2]+(d<<3)|0;j[g>>2]=j[q>>2];j[g+4>>2]=o;h[j[f- -64>>2]+d|0]=1;i[f+58>>1]=l[f+58>>1]+1;break v}if(!k[a+32|0]){d=8;break u}g=j[a+28>>2];d=i[g+58>>1];if((d+i[g+22>>1]|0)+3>>>0>m[g+4>>2]){d=yf(g,3,0);if(d){break u}d=i[g+58>>1]}o=j[g- -64>>2];t=j[q+4>>2];f=j[g+60>>2]+(d<<3)|0;j[f>>2]=j[q>>2];j[f+4>>2]=t;t=j[q+12>>2];j[f+8>>2]=j[q+8>>2];j[f+12>>2]=t;t=j[q+20>>2];j[f+16>>2]=j[q+16>>2];j[f+20>>2]=t;d=d+o|0;h[d+2|0]=1;h[d|0]=2;h[d+1|0]=2;i[g+58>>1]=l[g+58>>1]+3;break v}if(!k[a+32|0]){d=8;break u}g=j[a+28>>2];d=i[g+58>>1];if((d+i[g+22>>1]|0)+1>>>0>m[g+4>>2]){d=yf(g,1,0);if(d){break u}d=i[g+58>>1]}o=j[q+4>>2];f=j[g+60>>2]+(d<<3)|0;j[f>>2]=j[q>>2];j[f+4>>2]=o;h[j[g- -64>>2]+d|0]=1;i[g+58>>1]=l[g+58>>1]+1}d=0}j[q+44>>2]=d;if(!d){continue}break}break m}d=8}Ve(b)}oe=q+48|0;return d}function UK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;e=oe-80|0;oe=e;n=j[a+8>>2];a:{if(!n){b=6;break a}o=j[a>>2];c=j[a+4>>2];b:{if(j[c+12>>2]>1){break b}bh(c);if(j[c+12>>2]>1){break b}i=j[c+8>>2];b=j[c>>2];c:{while(1){if(b>>>0>=i>>>0){break c}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;d:{switch(l-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}j[c+12>>2]=2;break b}j[c+12>>2]=3}while(1){e:{j[c+12>>2]=0;f=uh(c);if(f){break e}b=2;if(j[c+12>>2]==2){continue}break a}break}b=2;if((j[c>>2]+(f^-1)|0)!=16){break a}if(Qe(f,92317,16)){break a}b=160;f:{g:while(1){g=j[a+4>>2];h:{if(j[g+12>>2]>1){break h}bh(g);if(j[g+12>>2]>1){break h}c=j[g+8>>2];f=j[g>>2];i:{while(1){if(c>>>0<=f>>>0){break i}l=f+1|0;j[g>>2]=l;i=k[f|0];f=l;j:{switch(i-10|0){case 16:break i;case 0:case 3:break j;default:continue}}break}j[g+12>>2]=2;break h}j[g+12>>2]=3}while(1){k:{j[g+12>>2]=0;i=uh(g);if(i){break k}if(j[g+12>>2]==2){continue}break f}break}f=j[g>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){l:{m=j[(d<<2)+92336>>2];if((l|0)==k[m|0]){if(d>>>0>73){continue g}while(1){if(!Qe(m,i,f)){break l}d=d+1|0;if((d|0)==74){continue g}m=j[(d<<2)+92336>>2];if((l|0)==k[m|0]){continue}break}continue g}d=d+1|0;if((d|0)!=74){continue}continue g}break}m:{n:{o:{p:{switch(d|0){case 40:j[e+32>>2]=3;if((Qg(a,e+32|0,1)|0)!=1){break f}if(!(j[e+36>>2]&-3)){continue}b=7;break f;case 30:j[e>>2]=4;if((Qg(a,e,1)|0)!=1){break f}h[n|0]=k[e+4|0];continue;case 26:j[e+24>>2]=2;j[e+16>>2]=2;j[e+8>>2]=2;j[e>>2]=2;if((Qg(a,e,4)|0)!=4){break f}j[n+4>>2]=j[e+4>>2];j[n+8>>2]=j[e+12>>2];j[n+12>>2]=j[e+20>>2];j[n+16>>2]=j[e+28>>2];continue;case 0:j[e>>2]=2;if((Qg(a,e,1)|0)!=1){break f}j[n+20>>2]=j[e+4>>2];continue;case 14:j[e>>2]=2;if((Qg(a,e,1)|0)!=1){break f}j[n+24>>2]=j[e+4>>2];continue;case 45:j[e+32>>2]=3;if((Qg(a,e+32|0,1)|0)!=1){break f}f=j[e+36>>2];if((f|0)<=0){break n}while(1){g=j[a+4>>2];q:{if(j[g+12>>2]>1){break q}bh(g);if(j[g+12>>2]>1){break q}c=j[g+8>>2];b=j[g>>2];r:{while(1){if(b>>>0>=c>>>0){break r}l=b+1|0;j[g>>2]=l;i=k[b|0];b=l;s:{switch(i-10|0){case 16:break r;case 0:case 3:break s;default:continue}}break}j[g+12>>2]=2;break q}j[g+12>>2]=3}b=f-1|0;while(1){t:{j[g+12>>2]=0;if(uh(g)){break t}if(j[g+12>>2]==2){continue}break m}break}l=(f|0)<2;f=b;if(!l){continue}break}break n;case 20:break o;case 49:break p;default:continue}}u:while(1){c=j[a+4>>2];v:{if(j[c+12>>2]>1){break v}bh(c);if(j[c+12>>2]>1){break v}i=j[c+8>>2];b=j[c>>2];w:{while(1){if(b>>>0>=i>>>0){break w}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;x:{switch(l-10|0){case 16:break w;case 0:case 3:break x;default:continue}}break}j[c+12>>2]=2;break v}j[c+12>>2]=3}y:{while(1){j[c+12>>2]=0;i=uh(c);if(i){break y}if(j[c+12>>2]==2){continue}break}b=160;break f}b=j[c>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){z:{f=j[(d<<2)+92336>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue u}while(1){if(!Qe(f,i,b)){break z}d=d+1|0;if((d|0)==74){continue u}f=j[(d<<2)+92336>>2];if((l|0)==k[f|0]){continue}break}continue u}d=d+1|0;if((d|0)!=74){continue}continue u}break}b=160;A:{switch(d-20|0){case 33:c=j[a+8>>2];j[e+32>>2]=3;if((Qg(a,e+32|0,1)|0)!=1){break f}b=j[e+36>>2];if((b|0)<0){b=160;break f}j[c+32>>2]=b;if(b){q=c,r=xe(j[a>>2],20,0,b,0,e+32|0),j[q+28>>2]=r;b=j[e+32>>2];if(b){break f}}m=-1;B:{C:while(1){g=j[a+4>>2];D:{if(j[g+12>>2]>1){break D}bh(g);if(j[g+12>>2]>1){break D}i=j[g+8>>2];b=j[g>>2];E:{while(1){if(b>>>0>=i>>>0){break E}f=b+1|0;j[g>>2]=f;l=k[b|0];b=f;F:{switch(l-10|0){case 16:break E;case 0:case 3:break F;default:continue}}break}j[g+12>>2]=2;break D}j[g+12>>2]=3}G:{while(1){j[g+12>>2]=0;i=uh(g);if(i){break G}if(j[g+12>>2]==2){continue}break}b=160;break f}b=j[g>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){H:{f=j[(d<<2)+92336>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue C}while(1){if(!Qe(f,i,b)){break H}d=d+1|0;if((d|0)==74){continue C}f=j[(d<<2)+92336>>2];if((l|0)==k[f|0]){continue}break}continue C}d=d+1|0;if((d|0)!=74){continue}continue C}break}I:{J:{switch(d-20|0){case 36:m=m+1|0;if((m|0)>=j[c+32>>2]){break I}b=j[c+28>>2];j[e+64>>2]=2;j[e+56>>2]=2;j[e+48>>2]=2;j[e+40>>2]=2;j[e+32>>2]=3;if((Qg(a,e+32|0,5)|0)!=5){break I}b=b+p(m,20)|0;j[b>>2]=j[e+36>>2];j[b+4>>2]=j[e+44>>2];j[b+8>>2]=j[e+52>>2];j[b+12>>2]=j[e+60>>2];j[b+16>>2]=j[e+68>>2];continue;case 0:case 1:case 3:break B;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:break I;default:break J}}if((d|0)==75){continue}}break}b=160;break f}j[c+32>>2]=m+1;continue;case 0:case 1:break o;case 55:continue;case 30:case 31:break A;default:break f}}g=j[a+8>>2];j[e+32>>2]=3;if((Qg(a,e+32|0,1)|0)!=1){break f}b=j[e+36>>2];if((b|0)<0){b=160;break f}j[g+40>>2]=b;if(b){q=g,r=xe(j[a>>2],16,0,b,0,e+32|0),j[q+36>>2]=r;b=j[e+32>>2];if(b){break f}}m=-1;K:{L:while(1){c=j[a+4>>2];M:{if(j[c+12>>2]>1){break M}bh(c);if(j[c+12>>2]>1){break M}i=j[c+8>>2];b=j[c>>2];N:{while(1){if(b>>>0>=i>>>0){break N}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;O:{switch(l-10|0){case 16:break N;case 0:case 3:break O;default:continue}}break}j[c+12>>2]=2;break M}j[c+12>>2]=3}P:{while(1){j[c+12>>2]=0;i=uh(c);if(i){break P}if(j[c+12>>2]==2){continue}break}b=160;break f}b=j[c>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){Q:{f=j[(d<<2)+92336>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue L}while(1){if(!Qe(f,i,b)){break Q}d=d+1|0;if((d|0)==74){continue L}f=j[(d<<2)+92336>>2];if((l|0)==k[f|0]){continue}break}continue L}d=d+1|0;if((d|0)!=74){continue}continue L}break}if((d|0)==75){continue}b=d-20|0;if(b>>>0>17){b=160;break f}b=1<=j[g+40>>2]){break R}b=j[g+36>>2];j[e+56>>2]=3;j[e+48>>2]=3;j[e+40>>2]=5;j[e+32>>2]=5;c=Qg(a,e+32|0,4);if((c|0)<3){break R}i=b+(m<<4)|0;j[i>>2]=j[e+36>>2];j[i+4>>2]=j[e+44>>2];f=0;b=j[e+52>>2];l=i;if((d|0)!=37){f=b;b=(d|0)==34?(c|0)==4?j[e+60>>2]:0:0}j[l+12>>2]=b;j[i+8>>2]=f;continue}break}b=160;break f}b=m+1|0;j[g+40>>2]=b;fg(j[g+36>>2],b,16,698);continue}}b=0;break a}S:while(1){c=j[a+4>>2];T:{if(j[c+12>>2]>1){break T}bh(c);if(j[c+12>>2]>1){break T}i=j[c+8>>2];b=j[c>>2];U:{while(1){if(b>>>0>=i>>>0){break U}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;V:{switch(l-10|0){case 16:break U;case 0:case 3:break V;default:continue}}break}j[c+12>>2]=2;break T}j[c+12>>2]=3}while(1){W:{j[c+12>>2]=0;i=uh(c);if(i){break W}if(j[c+12>>2]==2){continue}break m}break}b=j[c>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){X:{f=j[(d<<2)+92336>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue S}while(1){if(!Qe(f,i,b)){break X}d=d+1|0;if((d|0)==74){continue S}f=j[(d<<2)+92336>>2];if((l|0)==k[f|0]){continue}break}continue S}d=d+1|0;if((d|0)!=74){continue}continue S}break}b=0;switch(d-17|0){case 0:case 3:continue g;default:continue}}}break}b=160;break a}a=j[n+28>>2];if(a){qe[j[o+8>>2]](o,a)}j[n+28>>2]=0;j[n+32>>2]=0;a=j[n+36>>2];if(a){qe[j[o+8>>2]](o,a)}j[n+36>>2]=0;j[n+40>>2]=0;h[n|0]=0}oe=e+80|0;return b|0}function Fz(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}q=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=j[c>>2];j[c>>2]=((p(q,b>>>8&255)>>>0)/255|0)+h<<8|((p(q,b&255)>>>0)/255|0)+i|((p(q,b>>>16&255)>>>0)/255|0)+g<<16;c=c+4|0;a=a-1|0;if(a){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break d}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}while(1){a=j[l>>2];c=(a>>>8&255)+h|0;d=(c>>>0<255?c:255)<<8;c=(a&255)+i|0;a=(a>>>16&255)+g|0;j[l>>2]=d|(c>>>0<255?c:255)|(a>>>0<255?a:255)<<16;l=l+4|0;b=b-1|0;if(b){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break e}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}while(1){a=j[l>>2];j[l>>2]=(p(a>>>8&255,h)>>>0)/255<<8|(p(a&255,i)>>>0)/255|(p(a>>>16&255,g)>>>0)/255<<16;l=l+4|0;b=b-1|0;if(b){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h<<8|i|g<<16;while(1){j[l>>2]=a;l=l+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}d=f<<2;while(1){c=j[b>>2];j[b>>2]=((p(q,c>>>8&255)>>>0)/255|0)+h<<8|((p(q,c&255)>>>0)/255|0)+i|((p(q,c>>>16&255)>>>0)/255|0)+g<<16;b=b+d|0;a=a-1|0;if(a){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}c=f<<2;while(1){a=j[l>>2];d=(a>>>8&255)+h|0;e=(d>>>0<255?d:255)<<8;d=(a&255)+i|0;a=(a>>>16&255)+g|0;j[l>>2]=e|(d>>>0<255?d:255)|(a>>>0<255?a:255)<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}c=f<<2;while(1){a=j[l>>2];j[l>>2]=(p(a>>>8&255,h)>>>0)/255<<8|(p(a&255,i)>>>0)/255|(p(a>>>16&255,g)>>>0)/255<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;default:break g}}b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){l=(a+(p(b,c)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(b,e)<<2)|0)+(d<<2)|0;l=m?a:a+(b<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h<<8|i|g<<16;b=b<<2;while(1){j[l>>2]=a;l=b+l|0;c=c-1|0;if(c){continue}break}break a}s=b-d|0;l=s>>31;o=c-e|0;n=o>>31;if((l^l+s)==(n^n+o)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}d=c<<2;while(1){c=j[a>>2];j[a>>2]=((p(q,c>>>8&255)>>>0)/255|0)+h<<8|((p(q,c&255)>>>0)/255|0)+i|((p(q,c>>>16&255)>>>0)/255|0)+g<<16;a=a+d|0;b=b-1|0;if(b){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}c=c<<2;while(1){a=j[l>>2];d=(a>>>8&255)+h|0;e=(d>>>0<255?d:255)<<8;d=(a&255)+i|0;a=(a>>>16&255)+g|0;j[l>>2]=e|(d>>>0<255?d:255)|(a>>>0<255?a:255)<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}c=c<<2;while(1){a=j[l>>2];j[l>>2]=(p(a>>>8&255,h)>>>0)/255<<8|(p(a&255,i)>>>0)/255|(p(a>>>16&255,g)>>>0)/255<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(b<<2)|0}c=((m|0)!=0)+o|0;if(!c){break a}a=h<<8|i|g<<16;b=b<<2;while(1){j[l>>2]=a;l=b+l|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:l=d-b|0;f=l>>31;n=e-c|0;o=n>>31;l=f^f+l;n=o^n+o;r:{if((l|0)>=(n|0)){s=n-l|0;o=n<<1;f=o-l|0;n=1;break r}s=l-n|0;r=1;o=l<<1;f=o-n|0;l=n;n=0}l=((m|0)!=0)+l|0;if(!l){break a}e=(c|0)>(e|0);m=e?0-r|0:r;d=(b|0)>(d|0);n=d?0-n|0:n;r=e?-1:1;u=d?-1:1;s=s<<1;t=j[a+20>>2];d=0;while(1){v=(t+p(j[a+16>>2],c)|0)+(b<<2)|0;e=j[v>>2];j[v>>2]=((p(q,e&255)>>>0)/255|0)+i|((p(q,e>>>8&255)>>>0)/255|0)+h<<8|((p(q,e>>>16&255)>>>0)/255|0)+g<<16;e=(f|0)<0;f=(e?o:s)+f|0;b=(e?n:u)+b|0;c=(e?m:r)+c|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}break a;case 1:o=d-b|0;f=o>>31;n=e-c|0;l=n>>31;f=f^f+o;n=l^l+n;s:{if((f|0)>=(n|0)){s=n-f|0;q=1;o=n<<1;l=o-f|0;n=0;break s}s=f-n|0;o=f<<1;l=o-n|0;q=0;f=n;n=1}m=((m|0)!=0)+f|0;if(!m){break a}e=(c|0)>(e|0);n=e?0-n|0:n;d=(b|0)>(d|0);q=d?0-q|0:q;r=e?-1:1;u=d?-1:1;s=s<<1;t=j[a+20>>2];d=0;while(1){v=(t+p(j[a+16>>2],c)|0)+(b<<2)|0;e=j[v>>2];f=(e>>>8&255)+h|0;w=(f>>>0<255?f:255)<<8;f=(e&255)+i|0;e=(e>>>16&255)+g|0;j[v>>2]=w|(f>>>0<255?f:255)|(e>>>0<255?e:255)<<16;e=(l|0)<0;l=(e?o:s)+l|0;b=(e?q:u)+b|0;c=(e?n:r)+c|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}break a;case 3:o=d-b|0;f=o>>31;n=e-c|0;l=n>>31;o=f^f+o;n=l^l+n;t:{if((o|0)>=(n|0)){r=n-o|0;q=1;f=n<<1;l=f-o|0;n=0;break t}r=o-n|0;f=o<<1;l=f-n|0;q=0;o=n;n=1}m=((m|0)!=0)+o|0;if(!m){break a}e=(c|0)>(e|0);o=e?0-n|0:n;d=(b|0)>(d|0);n=d?0-q|0:q;q=e?-1:1;s=d?-1:1;r=r<<1;u=j[a+20>>2];d=0;while(1){t=(u+p(j[a+16>>2],c)|0)+(b<<2)|0;e=j[t>>2];j[t>>2]=(p(e&255,i)>>>0)/255|(p(e>>>8&255,h)>>>0)/255<<8|(p(e>>>16&255,g)>>>0)/255<<16;e=(l|0)<0;l=(e?f:r)+l|0;b=(e?n:s)+b|0;c=(e?o:q)+c|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}break a;default:break q}}o=d-b|0;f=o>>31;n=e-c|0;l=n>>31;o=f^f+o;n=l^l+n;u:{if((o|0)>=(n|0)){r=n-o|0;q=1;f=n<<1;l=f-o|0;n=0;break u}r=o-n|0;f=o<<1;l=f-n|0;q=0;o=n;n=1}m=((m|0)!=0)+o|0;if(!m){break a}e=(c|0)>(e|0);o=e?0-n|0:n;d=(b|0)>(d|0);n=d?0-q|0:q;e=e?-1:1;q=d?-1:1;r=r<<1;g=h<<8|i|g<<16;h=j[a+20>>2];i=0;while(1){j[(h+p(j[a+16>>2],c)|0)+(b<<2)>>2]=g;d=(l|0)<0;l=(d?f:r)+l|0;b=(d?n:q)+b|0;c=(d?o:e)+c|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}}}function Br(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;e=oe-800|0;oe=e;a:{if(!a){d=37;break a}g=d|3;n=b?d:g;r=n&1?0:b;b:{if(!r){b=j[a+4>>2];break b}d=35;f=j[b>>2];b=j[a+4>>2];if((f|0)!=(b|0)){break a}}c:{d:{o=j[b+656>>2];if(j[o+1456>>2]==65535){break d}f=j[o+1164>>2];if(!f){break d}if(!c){c=0;break c}d=6;if(m[o+1168>>2]>>0){break a}c=l[f+(c<<1)>>1];if(c){break c}break a}d=6;if(m[o+12>>2]<=c>>>0){break a}}j[a+164>>2]=65536;j[a+168>>2]=65536;s=n&1024?g:n;e:{f:{if(!r){break f}j[a+164>>2]=j[r+16>>2];j[a+168>>2]=j[r+20>>2];g=j[r+44>>2];if(s&8|(g|0)==-1){break f}f=j[r>>2];d=j[f+532>>2];if(!j[d+96>>2]){break f}if(qe[j[d+72>>2]](b,g,c,s,j[f+104>>2],a+76|0,e+56|0)|0){break f}j[a+108>>2]=0;j[a+24>>2]=l[e+58>>1]<<6;j[a+28>>2]=l[e+56>>1]<<6;p=i[e+60>>1];j[a+32>>2]=p<<6;n=i[e+62>>1];j[a+36>>2]=n<<6;j[a+40>>2]=l[e+64>>1]<<6;g=i[e+66>>1];j[a+44>>2]=g<<6;d=i[e+68>>1];j[a+48>>2]=d<<6;f=l[e+70>>1];o=d;d=s&16;j[a+104>>2]=d?o:n;j[a+100>>2]=d?g:p;j[a+72>>2]=1651078259;j[a+52>>2]=f<<6;qe[j[j[b+532>>2]+112>>2]](b,0,c,e+16|0,e+40|0);j[a+56>>2]=l[e+40>>1];if(!(!k[b+292|0]|!l[b+330>>1])){qe[j[j[b+532>>2]+112>>2]](b,1,c,e+16|0,e+40|0);j[a+60>>2]=l[e+40>>1];break e}if(l[b+364>>1]!=65535){j[a+60>>2]=i[b+434>>1]-i[b+436>>1];break e}j[a+60>>2]=i[b+220>>1]-i[b+222>>1];break e}d=6;if(s&16384){break a}p=j[o+1896>>2];g:{if(p){d=0;h:{i:{switch(k[o+2924|0]){case 0:d=k[j[o+2932>>2]+c|0];break h;case 3:break i;default:break h}}if(m[o+2944>>2]>c-j[o+2940>>2]>>>0){d=k[o+2948|0];break h}d=j[o+2932>>2];n=d+j[o+2936>>2]|0;f=k[d+1|0]|k[d|0]<<8;d=d+2|0;while(1){if(c>>>0>=f>>>0){g=k[d+2|0]|k[d+1|0]<<8;if(g>>>0>c>>>0){d=k[d|0];h[o+2948|0]=d;j[o+2944>>2]=g-f;j[o+2940>>2]=f;break h}f=g;d=d+3|0;if(n>>>0>d>>>0){continue}}break}d=0}f=(o+(((p>>>0>(d&255)>>>0?d:p-1|0)&255)<<2)|0)+1900|0;p=j[f>>2];n=j[p+68>>2];g=j[o+1392>>2];d=j[p+60>>2];j[e+48>>2]=j[p+56>>2];j[e+52>>2]=d;d=j[p+52>>2];j[e+40>>2]=j[p+48>>2];j[e+44>>2]=d;d=j[f>>2];u=j[d+72>>2];v=j[d+76>>2];if((g|0)==(n|0)){break g}z=a,A=Ne(j[a+164>>2],g,n),j[z+164>>2]=A;z=a,A=Ne(j[a+168>>2],g,n),j[z+168>>2]=A;x=1;break g}f=o+1380|0;d=j[f+4>>2];j[e+48>>2]=j[f>>2];j[e+52>>2]=d;f=o+1372|0;d=j[f+4>>2];j[e+40>>2]=j[f>>2];j[e+44>>2]=d;v=j[o+1400>>2];u=j[o+1396>>2]}f=0;j[a+108>>2]=0;j[a+72>>2]=1869968492;y=s&1;h[a+161|0]=y^1;w=(s>>>1^-1)&1;h[a+160|0]=w;n=j[b+656>>2];Ee(e+80|0,0,716);j[e+64>>2]=a;j[e+60>>2]=b;h[e+121|0]=1;j[e+56>>2]=j[b+100>>2];d=j[j[a+156>>2]>>2];j[e+68>>2]=d;j[e+76>>2]=d+56;j[e+72>>2]=d+20;Yh(d);j[e+124>>2]=0;j[e+128>>2]=0;d=s>>>16|0;if(!(!r|!w)){j[e+128>>2]=j[j[r+40>>2]>>2];j[e+124>>2]=j[j[a+156>>2]+36>>2]}d=d&15;j[e+96>>2]=0;j[e+100>>2]=0;j[e+88>>2]=0;j[e+92>>2]=0;j[e+80>>2]=0;j[e+84>>2]=0;j[e+132>>2]=n;g=j[n+92>>2];j[e+756>>2]=g;j[e+772>>2]=j[n+1308>>2];j:{if(j[n+1368>>2]==1){break j}f=107;if(g>>>0<1240){break j}f=g>>>0<33900?1131:32768}j[e+784>>2]=d;j[e+764>>2]=f;if(s&256){h[e+617|0]=1}h[e+122|0]=0;d=j[j[b+128>>2]+48>>2];k:{if(d){d=qe[j[j[d>>2]>>2]](j[d+4>>2],c,e+16|0)|0;j[e+8>>2]=j[e+16>>2];j[e+36>>2]=j[e+20>>2];break k}d=zi(j[b+656>>2]+1176|0,c,e+8|0,e+36|0)}if(d){break a}q=j[j[e+60>>2]+656>>2];t=j[q+1896>>2];l:{if(!t){d=q+1324|0;break l}n=0;m:{n:{switch(k[q+2924|0]){case 0:n=k[j[q+2932>>2]+c|0];break m;case 3:break n;default:break m}}if(m[q+2944>>2]>c-j[q+2940>>2]>>>0){n=k[q+2948|0];break m}d=j[q+2932>>2];p=d+j[q+2936>>2]|0;f=k[d+1|0]|k[d|0]<<8;d=d+2|0;while(1){if(c>>>0>>0){break m}g=k[d+2|0]|k[d+1|0]<<8;if(g>>>0>c>>>0){n=k[d|0];h[q+2948|0]=n;j[q+2944>>2]=g-f;j[q+2940>>2]=f;break m}f=g;d=d+3|0;if(p>>>0>d>>>0){continue}break}}d=3;if(n>>>0>=t>>>0){break a}d=j[(q+(n<<2)|0)+1900>>2];if(!r|!j[e+124>>2]){break l}j[e+128>>2]=j[(j[r+40>>2]+(n<<2)|0)+4>>2]}g=j[d+544>>2];j[e+752>>2]=g;j[e+768>>2]=j[d+568>>2];f=e;n=0;o:{if(j[j[e+132>>2]+1368>>2]==1){break o}n=107;if(g>>>0<1240){break o}n=g>>>0<33900?1131:32768}j[f+760>>2]=n;j[e+608>>2]=j[d+528>>2];f=j[d+532>>2];j[e+792>>2]=d;j[e+612>>2]=f;g=j[e+36>>2];d=Ar(e+56|0,j[e+8>>2],g);if((d&255)==164){w=0;h[a+160|0]=0;x=1;d=Ar(e+56|0,j[e+8>>2],g)}f=j[j[b+128>>2]+48>>2];p:{if(f){j[e+20>>2]=g;j[e+16>>2]=j[e+8>>2];qe[j[j[f>>2]+4>>2]](j[f+4>>2],e+16|0);break p}f=j[b+656>>2];if(j[f+1204>>2]){break p}jf(j[f+1176>>2],e+8|0)}if(d){break a}f=0;n=0;d=j[j[b+128>>2]+48>>2];q:{if(!d){f=j[o+1200>>2];if(!f){break q}n=g;f=(j[o+1204>>2]+j[f+(c<<2)>>2]|0)-1|0}j[a+140>>2]=n;j[a+136>>2]=f}g=j[e+64>>2];if(g){f=j[e+72>>2];d=j[f+4>>2];j[g+108>>2]=j[f>>2];j[g+112>>2]=d;j[g+124>>2]=j[f+16>>2];d=j[f+12>>2];j[g+116>>2]=j[f+8>>2];j[g+120>>2]=d;d=j[j[b+128>>2]+48>>2]}r:{if(!d){break r}g=j[j[d>>2]+8>>2];if(!g){break r}j[e+20>>2]=0;j[e+16>>2]=j[e+88>>2];f=j[e+100>>2];j[e+24>>2]=j[e+96>>2];j[e+28>>2]=f;d=qe[g|0](j[d+4>>2],c,0,e+16|0)|0;j[e+88>>2]=j[e+16>>2];f=j[e+28>>2];j[e+96>>2]=j[e+24>>2];j[e+100>>2]=f;if(d){break a}}if(s&1024){j[a+32>>2]=j[e+88>>2];j[a+40>>2]=j[e+608>>2];f=j[e+48>>2];d=j[e+52>>2];c=j[e+40>>2];b=j[e+44>>2];a=j[a+156>>2];j[a+28>>2]=u;j[a+32>>2]=v;h[a+8|0]=1;j[a+20>>2]=f;j[a+24>>2]=d;j[a+12>>2]=c;j[a+16>>2]=b;break e}s:{if(l[b+250>>1]){i[e+16>>1]=0;i[e+8>>1]=0;qe[j[j[b+532>>2]+112>>2]](b,0,c,e+16|0,e+8|0);d=l[e+8>>1];j[a+32>>2]=i[e+16>>1];break s}d=j[e+608>>2]}j[a+56>>2]=d;j[a+40>>2]=d;h[j[a+156>>2]+8|0]=0;t:{if(!(!k[b+292|0]|!l[b+330>>1])){i[e+16>>1]=0;i[e+8>>1]=0;qe[j[j[b+532>>2]+112>>2]](b,1,c,e+16|0,e+8|0);j[a+48>>2]=i[e+16>>1];d=l[e+8>>1];j[a+52>>2]=d;f=1;break t}u:{if(l[b+364>>1]!=65535){d=i[b+434>>1]-i[b+436>>1]|0;j[a+52>>2]=d;break u}d=i[b+220>>1]-i[b+222>>1]|0;j[a+52>>2]=d}f=0}j[a+72>>2]=1869968492;j[a+60>>2]=d;t=a+108|0;j[a+124>>2]=r?l[r+14>>1]<24?260:4:4;v:{if(!(j[e+44>>2]|(j[e+40>>2]!=65536|j[e+52>>2]!=65536))){if(!j[e+48>>2]){break v}}Ah(t,e+40|0)}if(u|v){Tf(t,u,v)}c=j[a+40>>2];j[e+12>>2]=0;j[e+8>>2]=c;Tg(e+8|0,e+40|0);j[a+40>>2]=j[e+8>>2]+u;j[e+8>>2]=0;j[e+12>>2]=j[a+52>>2];Tg(e+8|0,e+40|0);j[a+52>>2]=j[e+12>>2]+v;if(!(x?0:y)){d=j[a+112>>2];p=j[a+168>>2];n=j[a+164>>2];w:{if(j[e+124>>2]?w:0){break w}c=i[a+110>>1];if((c|0)<1){break w}c=c&65535;while(1){z=d,A=ye(j[d>>2],n),j[z>>2]=A;z=d,A=ye(j[d+4>>2],p),j[z+4>>2]=A;d=d+8|0;g=(c|0)>1;c=c-1|0;if(g){continue}break}}z=a,A=ye(j[a+40>>2],n),j[z+40>>2]=A;z=a,A=ye(j[a+52>>2],p),j[z+52>>2]=A}Ug(t,e+16|0);d=j[e+16>>2];j[a+24>>2]=j[e+24>>2]-d;c=j[e+28>>2];j[a+28>>2]=c-j[e+20>>2];if(!l[b+250>>1]){j[a+32>>2]=d}j[a+36>>2]=c;if(f){j[a+44>>2]=j[a+32>>2]+(j[a+40>>2]/-2|0);break e}if(!(s&16)){break e}Fi(a+24|0,j[a+52>>2])}d=0}oe=e+800|0;return d|0}function Ej(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0;i=oe-48|0;oe=i;l=j[b>>2];h=j[b+16>>2];g=j[b+20>>2];m=j[a+404>>2];if(j[a+356>>2]){f=j[a+184>>2];e=j[a+340>>2];a:{if(j[a+364>>2]){d=j[a+352>>2];k=j[a+344>>2];break a}d=j[a+352>>2];k=(j[a+420>>2]-j[a+344>>2]|0)-d|0}qe[f|0](e,k,j[a+348>>2],d);d=j[a+348>>2];b:{if(!d){break b}e=j[a+352>>2];if(!e){break b}n[a+428>>2]=q(2)/q(d|0);d=j[a+364>>2];n[a+480>>2]=d?q(-1):q(1);n[a+448>>2]=(d?q(2):q(-2))/q(e|0)}j[a+356>>2]=0}if(j[a+372>>2]){c:{if(!j[a+376>>2]){qe[j[a+64>>2]](3089);break c}qe[j[a+76>>2]](3089)}j[a+372>>2]=0}if(!(!j[a+376>>2]|!j[a+380>>2])){f=j[a+140>>2];e=j[a+384>>2]+j[a+340>>2]|0;d:{if(j[a+364>>2]){d=j[a+396>>2];k=j[a+388>>2]+j[a+344>>2]|0;break d}d=j[a+396>>2];k=((j[a+420>>2]-j[a+344>>2]|0)-j[a+388>>2]|0)-d|0}qe[f|0](e,k,j[a+392>>2],d);j[a+380>>2]=0}if((g|0)!=j[a+360>>2]){if(j[a+400>>2]!=((g|0)!=0|0)){d=a;e:{if(!g){qe[j[a+68>>2]](1);e=0;break e}qe[j[a+80>>2]](1);e=1}j[d+400>>2]=e}if(g){d=j[g+76>>2];f:{if(j[d+24>>2]){qe[j[a+8>>2]](33986);qe[j[a+20>>2]](j[d+4>>2],j[d+32>>2]);qe[j[a+8>>2]](33985);qe[j[a+20>>2]](j[d+4>>2],j[d+36>>2]);qe[j[a+8>>2]](33984);break f}if(!j[d+28>>2]){break f}qe[j[a+8>>2]](33985);qe[j[a+20>>2]](j[d+4>>2],j[d+36>>2]);qe[j[a+8>>2]](33984)}qe[j[a+20>>2]](j[d+4>>2],j[d>>2])}j[a+360>>2]=g}if(g){qe[j[a+180>>2]](1,2,5126,0,0,j[b+4>>2]+32|0);d=j[g+16>>2]}else{d=0}e=d;f=-1;g:{h:{i:{j:{k:{l:{m:{switch(c-1|0){case 3:c=5;break i;case 4:c=4;break i;case 5:d=j[58753];c=(e|0)<577?1:2;n:{if((d|0)==3){break n}c=d}if(c>>>0<3){break l}c=i;b=j[58753];d=(e|0)<577?1:2;o:{if((b|0)==3){break o}d=b}j[c>>2]=d;ve(33859,i);break h;case 6:d=j[58753];c=(e|0)<577?1:2;p:{if((d|0)==3){break p}c=d}if(c>>>0<3){break k}c=i;b=j[58753];d=(e|0)<577?1:2;q:{if((b|0)==3){break q}d=b}j[c+16>>2]=d;ve(33859,i+16|0);break h;case 7:d=j[58753];c=(e|0)<577?1:2;r:{if((d|0)==3){break r}c=d}if(c>>>0<3){break j}c=i;b=j[58753];d=(e|0)<577?1:2;s:{if((b|0)==3){break s}d=b}j[c+32>>2]=d;ve(33859,i+32|0);break h;case 0:case 1:case 2:break i;case 8:break m;default:break h}}c=15;break i}c=c+6|0;break i}c=c+9|0;break i}c=c+12|0}e=Sn(a,0);if(!e){break h}t:{u:{v:{w:{g=Sn(a,c);x:{if(!g){break x}d=j[a+424>>2];if((g|0)==j[d+8>>2]?!(!d|(e|0)!=j[d+4>>2]):0){break t}y:{z:{c=j[a+260>>2];if(c){d=c;while(1){if((g|0)==j[d+8>>2]?(e|0)==j[d+4>>2]:0){break z}d=j[d+148>>2];if(d){continue}break}}d=Xe(1,152);if(d){break y}Be(0);break x}if((c|0)==(d|0)){break v}f=j[d+148>>2];if(f){j[f+144>>2]=j[d+144>>2]}e=j[d+144>>2];if(e){j[e+148>>2]=f}j[d+148>>2]=c;j[d+144>>2]=0;j[c+144>>2]=d;j[a+260>>2]=d;break u}j[d+8>>2]=g;j[d+4>>2]=e;c=qe[j[a+44>>2]]()|0;j[d>>2]=c;qe[j[a+12>>2]](c,j[e>>2]);qe[j[a+12>>2]](j[d>>2],j[g>>2]);qe[j[a+16>>2]](j[d>>2],0,34073);qe[j[a+16>>2]](j[d>>2],1,34084);qe[j[a+16>>2]](j[d>>2],2,34095);qe[j[a+16>>2]](j[d>>2],3,34103);qe[j[a+128>>2]](j[d>>2]);qe[j[a+112>>2]](j[d>>2],35714,i+44|0);if(j[i+44>>2]){break w}qe[j[a+52>>2]](j[d>>2]);if(d){qe[j[57975]](d);j[57976]=j[57976]-1}ve(34112,0)}if(j[e+12>>2]<=0){c=j[e+20>>2];if(c){j[c+16>>2]=j[e+16>>2]}b=j[e+16>>2];if(b){j[b+20>>2]=c}if((e|0)==j[a+252>>2]){j[a+252>>2]=j[e+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[e>>2]);if(e){qe[j[57975]](e);j[57976]=j[57976]-1}}if(!g|j[g+12>>2]>0){break h}c=j[g+20>>2];if(c){j[c+16>>2]=j[g+16>>2]}b=j[g+16>>2];if(b){j[b+20>>2]=c}if((g|0)==j[a+252>>2]){j[a+252>>2]=j[g+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[g>>2]);if(g){qe[j[57975]](g);j[57976]=j[57976]-1}break h}o=d,p=qe[j[a+124>>2]](j[d>>2],34142)|0,j[o+12>>2]=p;o=d,p=qe[j[a+124>>2]](j[d>>2],34155)|0,j[o+28>>2]=p;o=d,p=qe[j[a+124>>2]](j[d>>2],34167)|0,j[o+24>>2]=p;o=d,p=qe[j[a+124>>2]](j[d>>2],34179)|0,j[o+16>>2]=p;c=qe[j[a+124>>2]](j[d>>2],34189)|0;j[d+76>>2]=0;j[d+20>>2]=c;qe[j[a+176>>2]](j[d>>2]);c=j[d+28>>2];if((c|0)!=-1){qe[j[a+164>>2]](c,2)}c=j[d+24>>2];if((c|0)!=-1){qe[j[a+164>>2]](c,1)}c=j[d+16>>2];if((c|0)!=-1){qe[j[a+164>>2]](c,0)}c=j[d+12>>2];if((c|0)!=-1){qe[j[a+172>>2]](c,1,0,d+80|0)}c=j[d+20>>2];if((c|0)!=-1){qe[j[a+168>>2]](c,q(0),q(0),q(0),q(0))}c=j[a+260>>2];A:{if(c){j[d+148>>2]=c;c=c+144|0;break A}c=a+264|0}j[c>>2]=d;j[a+260>>2]=d;c=j[a+256>>2];j[a+256>>2]=c+1;j[e+12>>2]=j[e+12>>2]+1;j[g+12>>2]=j[g+12>>2]+1;if((c|0)<8){break u}c=j[a+264>>2];f=j[c+4>>2];e=j[f+12>>2];j[f+12>>2]=e-1;if((e|0)<=1){e=j[f+20>>2];if(e){j[e+16>>2]=j[f+16>>2]}c=j[f+16>>2];if(c){j[c+20>>2]=e}if((f|0)==j[a+252>>2]){j[a+252>>2]=j[f+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[f>>2]);if(f){qe[j[57975]](f);j[57976]=j[57976]-1}c=j[a+264>>2]}f=j[c+8>>2];e=j[f+12>>2];j[f+12>>2]=e-1;if((e|0)<=1){e=j[f+20>>2];if(e){j[e+16>>2]=j[f+16>>2]}c=j[f+16>>2];if(c){j[c+20>>2]=e}if((f|0)==j[a+252>>2]){j[a+252>>2]=j[f+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[f>>2]);if(f){qe[j[57975]](f);j[57976]=j[57976]-1}c=j[a+264>>2]}qe[j[a+52>>2]](j[c>>2]);c=j[j[a+264>>2]+144>>2];j[a+264>>2]=c;if(c){c=j[c+148>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[j[a+264>>2]+148>>2]=0}j[a+256>>2]=j[a+256>>2]-1;break u}d=c}qe[j[a+176>>2]](j[d>>2]);j[a+424>>2]=d}B:{if(j[d+12>>2]==-1){break B}c=d+80|0;e=a+428|0;if(!wf(c,e,64)){break B}qe[j[a+172>>2]](j[d+12>>2],1,0,e);Ge(c,e,64)}c=j[d+20>>2];C:{if((c|0)==-1){break C}e=j[a+408>>2];if((e|0)==j[d+76>>2]){break C}qe[j[a+168>>2]](c,q(q(e>>>16&255)*q(.003921568859368563)),q(q(e>>>8&255)*q(.003921568859368563)),q(q(e&255)*q(.003921568859368563)),q(q(e>>>24|0)*q(.003921568859368563)));j[d+76>>2]=j[a+408>>2]}if(j[a+368>>2]!=(h|0)){D:{if(!h){qe[j[a+64>>2]](3042);break D}qe[j[a+76>>2]](3042);g=j[a+28>>2];c=Yn(h)-1|0;if(c>>>0<=9){e=j[(c<<2)+34400>>2]}else{e=1280}c=Xn(h)-1|0;if(c>>>0<=9){d=j[(c<<2)+34400>>2]}else{d=1280}c=Wn(h)-1|0;if(c>>>0<=9){c=j[(c<<2)+34400>>2]}else{c=1280}f=Vn(h)-1|0;if(f>>>0<=9){k=j[(f<<2)+34400>>2]}else{k=1280}qe[g|0](e,d,c,k);e=j[a+24>>2];if(!(23>>>h&1)|h>>>0>=5){c=h&15}else{c=1}c=c-1|0;if(c>>>0<=2){c=j[(c<<2)+34440>>2]}else{c=1280}if(!(23>>>h&1)|h>>>0>=5){d=h>>>16&15}else{d=1}d=d-1|0;if(d>>>0<=2){d=j[(d<<2)+34440>>2]}else{d=1280}qe[e|0](c,d)}j[a+368>>2]=h}f=0;qe[j[a+180>>2]](0,2,5126,0,0,j[b+4>>2]);c=(l|0)==9;if((c|0)!=(m|0)){E:{if((l|0)==9){qe[j[a+80>>2]](2);qe[j[a+80>>2]](3);break E}qe[j[a+68>>2]](2);qe[j[a+68>>2]](3)}j[a+404>>2]=c}if((l|0)!=9){break g}qe[j[a+180>>2]](2,2,5126,0,0,j[b+4>>2]- -64|0);qe[j[a+180>>2]](3,2,5126,0,0,j[b+4>>2]+96|0);break g}j[a+424>>2]=0}oe=i+48|0;return f}function xv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;b=j[a+44>>2];B=k[b+9|0];c=j[a+40>>2];z=k[c+9|0];g=j[c+24>>2];e=j[a+28>>2];d=e-1|0;j[a+28>>2]=d;w=j[a+24>>2];E=(j[a+4>>2]<<16)/(w|0)|0;F=(j[a+8>>2]<<16)/(e|0)|0;a:{if(!e){break a}G=g^-1;H=j[a+56>>2];I=k[a+63|0];J=k[a+62|0];K=k[a+61|0];L=k[a+60|0];e=j[a+52>>2];M=e&48;N=e&2;O=e&1;P=e&256;Q=e>>>4&7;m=j[a+20>>2];C=z-1|0;y=B-1|0;while(1){if((u|0)>=65536){e=(u-((u|0)<131071?u:131071)|0)+65535|0;u=(u-(e&-65536)|0)-65536|0;D=((e>>>16|0)+D|0)+1|0}R=a;if(w){t=65536;A=-1;r=0;while(1){if((t|0)>=65536){d=(t-((t|0)<131071?t:131071)|0)+65535|0;A=((d>>>16|0)+A|0)+1|0;r=(j[a>>2]+p(j[a+12>>2],D)|0)+p(A,z)|0;t=(t-(d&-65536)|0)-65536|0}e=j[c+24>>2];b:{if(e){d=0;g=0;n=0;o=0;q=0;c:{switch(C|0){case 0:d=k[r|0];g=k[j[(k[c+31|0]<<2)+234976>>2]+((e&d)>>>k[c+35|0]|0)|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((j[c+20>>2]&d)>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 1:d=l[r>>1];g=k[j[(k[c+31|0]<<2)+234976>>2]+((e&d)>>>k[c+35|0]|0)|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((j[c+20>>2]&d)>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 2:n=k[(k[c+34|0]>>>3|0)+r|0];o=k[(k[c+33|0]>>>3|0)+r|0];q=k[(k[c+32|0]>>>3|0)+r|0];g=255;break b;case 3:break c;default:break b}}d=j[r>>2];g=k[j[(k[c+31|0]<<2)+234976>>2]+((e&d)>>>k[c+35|0]|0)|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((j[c+20>>2]&d)>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b}d=0;g=255;n=0;o=0;q=0;d:{switch(C|0){case 0:d=k[r|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((d&j[c+20>>2])>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 1:d=l[r>>1];n=k[j[(k[c+30|0]<<2)+234976>>2]+((d&j[c+20>>2])>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 2:n=k[(k[c+34|0]>>>3|0)+r|0];o=k[(k[c+33|0]>>>3|0)+r|0];q=k[(k[c+32|0]>>>3|0)+r|0];break b;case 3:break d;default:break b}}d=j[r>>2];n=k[j[(k[c+30|0]<<2)+234976>>2]+((d&j[c+20>>2])>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0]}w=w-1|0;n=n&255;o=o&255;q=q&255;e:{if(P){if((z|0)==3){d=o<>2];f:{if(x){s=0;e=0;d=0;f=0;g:{switch(y|0){case 0:f=k[m|0];s=k[j[(k[b+31|0]<<2)+234976>>2]+((f&x)>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 1:f=l[m>>1];s=k[j[(k[b+31|0]<<2)+234976>>2]+((f&x)>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 2:e=k[(k[b+34|0]>>>3|0)+m|0];d=k[(k[b+33|0]>>>3|0)+m|0];f=k[(k[b+32|0]>>>3|0)+m|0];s=255;break f;case 3:break g;default:break f}}f=j[m>>2];s=k[j[(k[b+31|0]<<2)+234976>>2]+((f&x)>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f}e=0;s=255;d=0;f=0;h:{switch(y|0){case 0:f=k[m|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 1:f=l[m>>1];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 2:e=k[(k[b+34|0]>>>3|0)+m|0];d=k[(k[b+33|0]>>>3|0)+m|0];f=k[(k[b+32|0]>>>3|0)+m|0];break f;case 3:break h;default:break f}}f=j[m>>2];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0]}if(O){o=(p(o,K)>>>0)/255|0;q=(p(q,L)>>>0)/255|0;n=(p(n,J)>>>0)/255|0}g=g&255;v=N?(p(g,I)>>>0)/255|0:g;if(!(!M|v>>>0>254)){o=(p(o,v)>>>0)/255|0;q=(p(q,v)>>>0)/255|0;n=(p(n,v)>>>0)/255|0}s=s&255;g=e&255;e=d&255;d=f;i:{j:{switch(Q|0){case 0:s=v;g=n;e=o;d=q;break i;case 1:f=255-v|0;s=((p(f,s)>>>0)/255|0)+v|0;g=((p(f,g)>>>0)/255|0)+n|0;e=((p(e,f)>>>0)/255|0)+o|0;d=((p(d,f)>>>0)/255|0)+q|0;break i;case 2:g=g+n|0;g=g>>>0<255?g:255;e=e+o|0;e=e>>>0<255?e:255;d=d+q|0;d=d>>>0<255?d:255;break i;case 4:break j;default:break i}}g=(p(g,n)>>>0)/255|0;e=(p(e,o)>>>0)/255|0;d=(p(d,q)>>>0)/255|0}if(x){k:{switch(y|0){case 0:h[m|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+m|0]=d;h[(k[b+33|0]>>>3|0)+m|0]=e;h[(k[b+34|0]>>>3|0)+m|0]=g;break e;case 3:break k;default:break e}}j[m>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>3|0)+m|0]=d;h[(k[b+33|0]>>>3|0)+m|0]=e;h[(k[b+34|0]>>>3|0)+m|0]=g;break e;case 3:break l;default:break e}}j[m>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>2];d=j[a+28>>2]}e=d;d=e-1|0;j[R+28>>2]=d;m=j[a+32>>2]+m|0;j[a+20>>2]=m;if(!e){break a}u=u+F|0;w=j[a+24>>2];continue}}}function FK(a){var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;s=oe-16|0;oe=s;b=j[a+488>>2];c=a;f=j[a+824>>2];a:{b:{c:{if(f){if(b){e=1;if(Tz(s+12|0,f,b)){e=j[s+12>>2]-95e3>>>0>1e4}i[a+898>>1]=l[a+898>>1]|1;if(!e){break b}b=j[a+216>>2]|8192;break a}x=a,y=Ni(f),j[x+488>>2]=y;break c}if(b){x=a,y=Ni(b),j[x+824>>2]=y;break c}j[a+488>>2]=1e5;j[a+824>>2]=1e5}i[a+898>>1]=l[a+898>>1]|1}b=j[a+216>>2]&-8193}j[c+216>>2]=b;if((b&262272)==262144){i[a+428>>1]=0;j[a+216>>2]=b&-41943297;j[a+212>>2]=j[a+212>>2]&-8193}b=j[a+216>>2];if(j[a+488>>2]-95e3>>>0<=1e4){b=b&-8388609;j[a+216>>2]=b;j[a+212>>2]=j[a+212>>2]&-8193}if(b&6291456){cA(a);b=j[a+216>>2]}d:{if(b&256){if(k[a+435|0]&2){break d}j[a+208>>2]=j[a+208>>2]|2048;break d}if((b&16512)!=16512){break d}c=l[a+454>>1];if((c|0)!=l[a+456>>1]|(c|0)!=l[a+458>>1]){break d}i[a+460>>1]=c;j[a+208>>2]=j[a+208>>2]|2048}f=k[a+435|0];e:{if((f|0)==3){f=l[a+428>>1];f:{if(f){d=j[a+528>>2];c=0;while(1){e=k[c+d|0];if((e|0)!=255){if(e){c=b;break f}g=1}c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=b&-8388609;j[a+216>>2]=c;j[a+212>>2]=j[a+212>>2]&-8193;if(g){break f}c=b&-8388993;j[a+216>>2]=c}if((c&4352)!=4352){break e}b=j[a+416>>2]+p(k[a+452|0],3)|0;i[a+454>>1]=k[b|0];i[a+456>>1]=k[b+1|0];i[a+458>>1]=k[b+2|0];if(!f|(c&34078720)!=524288){break e}b=j[a+528>>2];c=0;while(1){d=c+b|0;h[d|0]=k[d|0]^-1;c=c+1|0;if((f|0)!=(c|0)){continue}break}c=j[a+216>>2];break e}g:{if(f&4){c=b;break g}c=b&-8388609;j[a+216>>2]=c;j[a+212>>2]=j[a+212>>2]&-8193;if(l[a+428>>1]){break g}c=b&-8388993;j[a+216>>2]=c}if(f&2|(c&4352)!=4352){break e}e=l[a+540>>1];d=l[a+460>>1];h:{i:{switch(k[a+436|0]-1|0){case 0:e=p(e,255);d=p(d,255);break h;case 1:e=p(e,85);d=p(d,85);break h;case 3:break i;default:break h}}e=p(e,17);d=p(d,17)}i[a+456>>1]=d;i[a+458>>1]=d;i[a+454>>1]=d;if(c&33554432){break e}i[a+536>>1]=e;i[a+538>>1]=e;i[a+534>>1]=e}if(!(k[a+436|0]==16|(c&896)!=640)){i[a+454>>1]=p(l[a+454>>1],255)+32895>>>16;i[a+456>>1]=p(l[a+456>>1],255)+32895>>>16;i[a+458>>1]=p(l[a+458>>1],255)+32895>>>16;i[a+460>>1]=p(l[a+460>>1],255)+32895>>>16}if(!(!(c&67109888)|(c&384)!=128|k[a+436|0]!=16)){i[a+454>>1]=p(l[a+454>>1],257);i[a+456>>1]=p(l[a+456>>1],257);i[a+458>>1]=p(l[a+458>>1],257);i[a+460>>1]=p(l[a+460>>1],257)}b=l[a+456>>1]|l[a+458>>1]<<16;f=l[a+452>>1]|l[a+454>>1]<<16;i[a+462>>1]=f;i[a+464>>1]=f>>>16;i[a+466>>1]=b;i[a+468>>1]=b>>>16;i[a+470>>1]=l[a+460>>1];f=a;j:{k:{l:{if(c&8192){break l}if(c&6291456){if(j[a+824>>2]-95e3>>>0>1e4|j[a+488>>2]-95e3>>>0>1e4){break l}c=j[a+216>>2]}m:{if(!(c&128)){break m}if(j[a+824>>2]-95e3>>>0>1e4|j[a+488>>2]-95e3>>>0>1e4){break l}if(k[a+446|0]!=3){break m}if(j[a+448>>2]-95e3>>>0>1e4){break l}}b=j[a+216>>2];if(b&8388608){if(j[a+488>>2]-95e3>>>0>1e4){break l}b=j[a+216>>2]}if(!(b&128)|k[a+435|0]!=3){break j}m=l[a+428>>1];if(m){e=k[a+458|0];g=k[a+456|0];q=k[a+454|0];o=j[a+416>>2];c=0;while(1){r=j[a+528>>2]+c|0;d=k[r|0];n:{if((d|0)==255){break n}if(!d){b=o+p(c,3)|0;h[b+2|0]=e;h[b+1|0]=g;h[b|0]=q;break n}b=o+p(c,3)|0;d=(p(q,d^255)+p(d,k[b|0])|0)+128|0;h[b|0]=d+((d&65280)>>>8|0)>>>8;d=k[r|0];d=(p(g,d^255)+p(d,k[b+1|0])|0)+128|0;h[b+1|0]=((d&65280)>>>8|0)+d>>>8;n=b;d=k[r|0];b=(p(e,d^255)+p(d,k[b+2|0])|0)+128|0;h[n+2|0]=((b&65280)>>>8|0)+b>>>8}c=c+1|0;if((m|0)!=(c|0)){continue}break}b=j[a+216>>2]}b=b&-129;break k}Qy(a,k[a+436|0]);b=j[a+216>>2];if(b&128){if(b&6291456){Ze(a,7754)}if(k[a+435|0]==3){r=l[a+420>>1];q=j[a+416>>2];d=1e5;c=1e5;o:{p:{q:{switch(k[a+446|0]-1|0){case 1:b=j[a+504>>2];g=l[a+458>>1];c=k[b+g|0];o=l[a+456>>1];e=k[o+b|0];m=l[a+454>>1];d=k[m+b|0];b=g;g=j[a+492>>2];b=k[b+g|0];o=k[g+o|0];g=k[g+m|0];break o;case 0:c=j[a+488>>2];break p;case 2:break q;default:break p}}c=Ni(j[a+448>>2]);d=Uk(j[a+448>>2],j[a+488>>2])}g=l[a+454>>1];r:{if(d-95e3>>>0>1e4){g=ci(g,d);o=ci(l[a+456>>1],d);b=ci(l[a+458>>1],d);break r}o=k[a+456|0];b=k[a+458|0]}d=l[a+454>>1];if(c-95e3>>>0>1e4){d=ci(d,c);e=ci(l[a+456>>1],c);c=ci(l[a+458>>1],c);break o}c=k[a+458|0];e=k[a+456|0]}if(r){u=c&255;v=e&255;w=d&255;c=0;while(1){s:{t:{if(l[a+428>>1]<=c>>>0){break t}m=j[a+528>>2]+c|0;e=k[m|0];if((e|0)==255){break t}if(!e){d=p(c,3)+q|0;h[d+2|0]=b;h[d+1|0]=o;h[d|0]=g;break s}t=j[a+504>>2];d=p(c,3)+q|0;e=(p(w,e^255)+p(e,k[t+k[d|0]|0])|0)+128|0;n=e+(e>>>8&255)>>>8&255;e=j[a+500>>2];h[d|0]=k[n+e|0];n=k[m|0];n=(p(v,n^255)+p(n,k[t+k[d+1|0]|0])|0)+128|0;h[d+1|0]=k[e+((n>>>8&255)+n>>>8&255)|0];n=d;m=k[m|0];d=(p(u,m^255)+p(m,k[t+k[d+2|0]|0])|0)+128|0;h[n+2|0]=k[e+((d>>>8&255)+d>>>8&255)|0];break s}d=p(c,3)+q|0;e=j[a+492>>2];h[d|0]=k[e+k[d|0]|0];h[d+1|0]=k[e+k[d+1|0]|0];h[d+2|0]=k[e+k[d+2|0]|0]}c=c+1|0;if((r|0)!=(c|0)){continue}break}}b=j[a+216>>2]&-8321;break k}u:{v:{switch(k[a+446|0]-1|0){case 1:c=Ni(j[a+824>>2]);b=Uk(j[a+824>>2],j[a+488>>2]);break u;case 2:c=Ni(j[a+448>>2]);b=Uk(j[a+448>>2],j[a+488>>2]);break u;default:Ye(a,7807);z();case 0:break v}}c=j[a+488>>2];b=1e5}d=b-95e3>>>0>1e4;e=c-95e3>>>0>1e4;if(e){x=a,y=kh(a,l[a+460>>1],c),i[x+470>>1]=y}if(d){x=a,y=kh(a,l[a+460>>1],b),i[x+460>>1]=y}f=l[a+454>>1];w:{if(!((f|0)==l[a+460>>1]?!((f|0)!=l[a+456>>1]|(f|0)!=l[a+458>>1]):0)){if(e){x=a,y=kh(a,f,c),i[x+464>>1]=y;x=a,y=kh(a,l[a+456>>1],c),i[x+466>>1]=y;x=a,y=kh(a,l[a+458>>1],c),i[x+468>>1]=y}if(!d){break w}x=a,y=kh(a,l[a+454>>1],b),i[x+454>>1]=y;x=a,y=kh(a,l[a+456>>1],b),i[x+456>>1]=y;x=a,y=kh(a,l[a+458>>1],b),i[x+458>>1]=y;break w}i[a+458>>1]=f;i[a+456>>1]=f;i[a+454>>1]=f;b=l[a+470>>1];i[a+468>>1]=b;i[a+466>>1]=b;i[a+464>>1]=b}h[a+446|0]=1;b=j[a+216>>2];break j}if(k[a+435|0]!=3|(b&6291456?b&4096:0)){break j}g=l[a+420>>1];if(g){q=j[a+416>>2];d=j[a+492>>2];e=0;while(1){c=q+p(e,3)|0;h[c|0]=k[d+k[c|0]|0];h[c+1|0]=k[d+k[c+1|0]|0];h[c+2|0]=k[d+k[c+2|0]|0];e=e+1|0;if((g|0)!=(e|0)){continue}break}}b=b&-8193}j[f+216>>2]=b}x:{if((b&4104)!=8|k[a+435|0]!=3){break x}j[a+216>>2]=b&-9;b=l[a+420>>1];c=k[a+516|0];if(!(!b|(c-1&255)>>>0>6)){c=8-c|0;f=j[a+416>>2];d=0;while(1){e=f+p(d,3)|0;h[e|0]=k[e|0]>>>c;d=d+1|0;if((b|0)!=(d|0)){continue}break}}c=k[a+517|0];if(!(!b|(c-1&255)>>>0>6)){c=8-c|0;f=j[a+416>>2];d=0;while(1){e=f+p(d,3)|0;h[e+1|0]=k[e+1|0]>>>c;d=d+1|0;if((b|0)!=(d|0)){continue}break}}c=k[a+518|0];if(!b|(c-1&255)>>>0>6){break x}c=8-c|0;f=j[a+416>>2];a=0;while(1){d=f+p(a,3)|0;h[d+2|0]=k[d+2|0]>>>c;a=a+1|0;if((b|0)!=(a|0)){continue}break}}oe=s+16|0}function TO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;g=oe-10096|0;oe=g;O=j[b+92>>2];j[a+40>>2]=l[b+68>>1];if(!qk(b)){c=j[b+100>>2];Ee(g+3216|4,0,2996);j[g+3216>>2]=c;j[a+1624>>2]=0;j[a+52>>2]=0;f=j[(j[j[a>>2]+8>>2]<<2)+73072>>2];o=j[f+8>>2];c=0;d=j[j[a+36>>2]>>2];a:{if(!d){break a}d=j[d+92>>2];if(!d){break a}c=qe[j[j[d+12>>2]+12>>2]](d,o)|0}d=c;b:{c:{if(c){break c}o=j[f+12>>2];if(!o){break b}d=0;c=j[j[a+36>>2]>>2];d:{if(!c){break d}c=j[c+92>>2];if(!c){break d}d=qe[j[j[c+12>>2]+12>>2]](c,o)|0}if(d){break c}f=j[f+16>>2];if(!f){break b}d=0;c=j[j[a+36>>2]>>2];e:{if(!c){break e}c=j[c+92>>2];if(!c){break e}d=qe[j[j[c+12>>2]+12>>2]](c,f)|0}if(!d){break b}}if(Wh(b,d,1)){break b}c=j[b+84>>2];if(i[c+110>>1]<1){break b}Ee(g+16|0,0,3188);d=j[a+40>>2];j[g+32>>2]=0;j[g+36>>2]=0;j[g+40>>2]=0;j[g+44>>2]=0;j[g+24>>2]=65536;j[g+28>>2]=65536;j[g+56>>2]=d;j[g+20>>2]=b;j[g+6196>>2]=0;j[g+6204>>2]=g+16;if(mj(g+3216|0,c+108|0)){break b}j[g+12>>2]=0;if(Gi(g+3216|0,0)){break b}lj(g+3216|0,0,0,0);c=j[g+3260>>2];if((c|0)>=1){d=j[g+3268>>2];f=d+p(c,48)|0;while(1){c=j[d+20>>2];if(!(!c|c>>>0<=d>>>0|(j[c+20>>2]!=(d|0)|e>>>0>15))){o=i[d+2>>1]-i[c+2>>1]|0;c=o>>31;j[(p(e,12)+a|0)+56>>2]=c^c+o;e=e+1|0}d=d+48|0;if(f>>>0>d>>>0){continue}break}j[g+12>>2]=e}uk(g+12|0,a+56|0,m[g+56>>2]/100|0);j[a+52>>2]=j[g+12>>2];e=0;j[g+12>>2]=0;if(Gi(g+3216|0,1)){break b}lj(g+3216|0,0,0,1);c=j[g+4728>>2];if((c|0)>=1){d=j[g+4736>>2];f=d+p(c,48)|0;while(1){c=j[d+20>>2];if(!(!c|c>>>0<=d>>>0|(j[c+20>>2]!=(d|0)|e>>>0>15))){o=i[d+2>>1]-i[c+2>>1]|0;c=o>>31;j[(p(e,12)+a|0)+1628>>2]=c^c+o;e=e+1|0}d=d+48|0;if(f>>>0>d>>>0){continue}break}j[g+12>>2]=e}uk(g+12|0,a+1628|0,m[g+56>>2]/100|0);j[a+1624>>2]=j[g+12>>2]}if(j[a+52>>2]){c=j[a+56>>2]}else{c=(p(j[a+40>>2],50)|0)/2048|0}h[a+256|0]=0;j[a+252>>2]=c;j[a+248>>2]=(c|0)/5;if(j[a+1624>>2]){c=j[a+1628>>2]}else{c=(p(j[a+40>>2],50)|0)/2048|0}h[a+1828|0]=0;j[a+1824>>2]=c;j[a+1820>>2]=(c|0)/5;Jm(g+3216|0);d=(j[j[a>>2]+12>>2]<<3)+71120|0;n=j[d>>2];if((n|0)!=759){while(1){B=d;E=n+70352|0;d=k[E|0];f:{if(!d){break f}C=0;x=0;while(1){n=d&255;E=E+1|0;if(d<<24>>24<=-1){c=n>>>0<240;f=n>>>0<224;n=(f?31:c?15:7)&n;d=E;c=f?1:c?2:3;r=c;while(1){n=k[d|0]&63|n<<6;d=d+1|0;r=r-1|0;if(r){continue}break}E=c+E|0}c=0;d=j[j[a+36>>2]>>2];g:{if(!d){break g}d=j[d+92>>2];if(!d){break g}c=qe[j[j[d+12>>2]+12>>2]](d,n)|0}h:{if(!c){break h}if(Wh(b,c,1)){break h}c=j[b+84>>2];if(i[c+110>>1]<3){break h}n=0;s=i[c+108>>1];i:{if((s|0)<1){break i}u=j[c+120>>2];D=j[c+116>>2];v=j[c+112>>2];c=-1;y=0;z=0;f=0;t=0;while(1){o=i[u+(t<<1)>>1];if((o|0)>(f|0)){d=c;r=f;e=f;j:{if(h[B+4|0]&1){while(1){q=j[((r<<3)+v|0)+4>>2];e=(d|0)<0|(q|0)>(n|0);n=e?q:n;d=e?r:d;e=(o|0)==(r|0);r=r+1|0;if(!e){continue}break j}}while(1){r=j[((e<<3)+v|0)+4>>2];q=(d|0)<0|(r|0)<(n|0);n=q?r:n;d=q?e:d;q=(e|0)!=(o|0);e=e+1|0;if(q){continue}break}}c=(c|0)==(d|0);y=c?y:f;z=c?z:o;c=d}f=o+1|0;t=t+1|0;if((s|0)!=(t|0)){continue}break}if((c|0)<0){break i}H=j[(c<<3)+v>>2];o=c;d=(k[c+D|0]&3)==1?c:-1;r=d;k:{while(1){f=(o|0)>(y|0)?o-1|0:z;q=(f<<3)+v|0;s=j[q+4>>2]-n|0;e=s>>31;s=e^e+s;if((s|0)>=6){q=j[q>>2]-H|0;e=q>>31;if((p(s,20)|0)>=(e^e+q)){break k}}o=(k[f+D|0]&3)==1;r=(r|0)<0?o?f:r:r;d=o?f:d;o=f;if((f|0)!=(c|0)){continue}break}o=c}f=c;l:{while(1){e=(f|0)<(z|0)?f+1|0:y;J=(e<<3)+v|0;s=j[J+4>>2]-n|0;q=s>>31;s=q^q+s;if((s|0)>=6){t=j[J>>2]-H|0;q=t>>31;if((p(s,20)|0)>=(q^q+t)){break l}}f=(k[e+D|0]&3)==1;d=(d|0)<0?f?e:d:d;r=f?e:r;f=e;if((e|0)!=(c|0)){continue}break}f=c}K=l[B+4>>1];m:{n:{if(!(K&8)){break n}q=j[(f<<3)+v>>2]-j[(o<<3)+v>>2]|0;e=q>>31;s=j[a+40>>2];L=(s>>>0)/25|0;if((L|0)<=(e^e+q)){break n}e=c;if(((f-o|0)+2|0)>(z-y|0)){break n}while(1){e=(e|0)>(y|0)?e-1|0:z;M=j[(e<<3)+v>>2];if((c|0)!=(e|0)?(M|0)==(H|0):0){continue}break}if((c|0)==(e|0)){break h}P=s>>>2|0;F=0;q=f;e=f;t=0;c=0;while(1){if(!F){q=e;t=(k[e+D|0]&3)==1?e:-1;c=t}e=(e|0)<(z|0)?e+1|0:y;F=0;u=(q<<3)+v|0;s=j[u+4>>2];A=n-s|0;w=A>>31;o:{if((w^w+A)>(P|0)){break o}w=(e<<3)+v|0;A=j[w+4>>2]-s|0;F=A>>31;A=F^F+A;p:{if((A|0)<=5){I=j[w>>2];w=j[u>>2];u=I-w|0;G=0-u|0;break p}F=0;I=j[w>>2];w=j[u>>2];u=I-w|0;G=u>>31;if((p(A,20)|0)>=(G^u+G)){break o}G=0-u|0}F=1;N=(k[e+D|0]&3)==1;t=(t|0)<0?N?e:t:t;c=N?e:c;if((w|0)<(I|0)^(H|0)>(M|0)|(((u|0)<0?G:u)|0)<(L|0)){break o}f=p(A,20);while(1){e=(e|0)<(z|0)?e+1|0:y;n=j[((e<<3)+v|0)+4>>2]-s|0;d=n>>31;q:{if((d^d+n)<6){break q}n=j[J>>2]-w|0;d=n>>31;if((f|0)<(d^d+n)){break q}f=(e|0)>(y|0)?e-1|0:z;break m}t=(t|0)<0?(k[e+D|0]&3)==1?e:t:t;c=e;if((o|0)!=(c|0)){continue}break}f=o;c=f;break m}if((e|0)!=(o|0)){continue}break}}q=o;t=d;c=r;s=n}r:{if((c|t)>=0){d=j[(c<<3)+v>>2]-j[(t<<3)+v>>2]|0;c=d>>31;if((c^c+d)>>>0>j[a+40>>2]>>>3>>>0){break r}}if((k[f+D|0]&3)==1?(k[q+D|0]&3)==1:0){break r}if(K&2){break h}j[(g+16|0)+(x<<2)>>2]=s;x=x+1|0;break h}n=s}j[(g+3216|0)+(C<<2)>>2]=n;C=C+1|0}d=k[E|0];if(d){continue}break}if(!(x|C)){break f}c=1;if(x>>>0>=2){while(1){o=j[(g+16|0)+(c<<2)>>2];d=c;while(1){f=d-1|0;e=(g+16|0)+(f<<2)|0;n=j[e>>2];if((n|0)>(o|0)){j[(g+16|0)+(d<<2)>>2]=n;j[e>>2]=o;d=f;if(d){continue}}break}c=c+1|0;if((x|0)!=(c|0)){continue}break}}c=1;if(C>>>0>=2){while(1){o=j[(g+3216|0)+(c<<2)>>2];d=c;while(1){f=d-1|0;e=(g+3216|0)+(f<<2)|0;n=j[e>>2];if((n|0)>(o|0)){j[(g+3216|0)+(d<<2)>>2]=n;j[e>>2]=o;d=f;if(d){continue}}break}c=c+1|0;if((C|0)!=(c|0)){continue}break}}c=j[a+1832>>2];j[a+1832>>2]=c+1;n=p(c,28)+a|0;c=n+1848|0;f=n+1836|0;s:{t:{if(!C){d=j[(g+16|0)+(x<<1&-4)>>2];break t}d=j[(g+3216|0)+(C<<1&-4)>>2];if(!x){break t}j[f>>2]=d;e=j[(g+16|0)+(x<<1&-4)>>2];j[c>>2]=e;if((d|0)==(e|0)){o=l[B+4>>1];break s}o=l[B+4>>1];if(o&1^(d|0)>=(e|0)){break s}r=c;c=(d+e|0)/2|0;j[r>>2]=c;j[f>>2]=c;break s}j[c>>2]=d;j[f>>2]=d;o=l[B+4>>1]}c=n+1860|0;d=o<<1&2;j[c>>2]=d;f=l[B+4>>1];if(!(f&6)){break f}e=c;c=f<<1;j[e>>2]=d|c&4|c&8}d=B+8|0;n=j[B+8>>2];if((n|0)!=759){continue}break}}d=48;e=0;while(1){u:{if(a){c=0;f=j[j[a+36>>2]>>2];v:{if(!f){break v}f=j[f+92>>2];if(!f){break v}c=qe[j[j[f+12>>2]+12>>2]](f,d)|0}n=c}w:{if(!n){break w}if(Km(b,n,g+3216|0)){break w}f=e&255;e=1;c=j[g+3216>>2];if(!f){Q=c;break w}if((c|0)==(Q|0)){break w}r=0;break u}r=1;d=d+1|0;if((d|0)!=58){continue}}break}h[a+32|0]=r}Uh(b,O);oe=g+10096|0;return 0}function xh(a,b,c,d,e,f){var g=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;g=oe-80|0;oe=g;u=j[a>>2];a:{if(f){break a}l=j[a+4>>2];if(k[l+12|0]){break a}n=j[d>>2];j[g+68>>2]=0;j[g+72>>2]=0;j[g+60>>2]=0;j[g+64>>2]=0;j[g+52>>2]=0;j[g+56>>2]=0;j[g+48>>2]=n;xh(l,b,c,g+48|0,e,1)}b:{c:{if(k[d+4|0]){break c}c=j[c+20>>2]+j[b+20>>2]|0;if(c>>>0>=97){a=j[d>>2];if(!a|j[a>>2]){break b}j[a>>2]=18;break b}j[d+8>>2]=c;i[d+4>>1]=257;l=c+7>>>3|0;j[d+12>>2]=l;if(!c){break c}n=-1<<(0-c&7);if(l){c=0;while(1){h[(c+d|0)+16|0]=255;c=c+1|0;l=j[d+12>>2];if(c>>>0>>0){continue}break}c=l-1|0}else{c=-1}c=c+d|0;h[c+16|0]=n&k[c+16|0];if(!k[d+4|0]){break b}}j[a+20>>2]=0;j[a+24>>2]=0;j[g+72>>2]=j[d+24>>2];l=j[d+20>>2];x=g- -64|0;c=x;j[c>>2]=j[d+16>>2];j[c+4>>2]=l;c=j[d+12>>2];j[g+56>>2]=j[d+8>>2];j[g+60>>2]=c;c=j[d+4>>2];j[g+48>>2]=j[d>>2];j[g+52>>2]=c;y=j[b+20>>2];if(y>>>0>m[d+8>>2]){break b}if(k[u+205|0]){j[g+40>>2]=0;j[g+32>>2]=0;j[g+36>>2]=0;j[g+24>>2]=0;j[g+28>>2]=0;fj(a,u+244|0,g+24|0);fj(a,g+24|0,u+224|0)}d:{e:{if(y){l=x;A=128;while(1){f:{if(!(k[l|0]&A)){break f}t=j[a+16>>2];c=q;r=j[b+20>>2];g:{if(c>>>0>>0){break g}c=0;n=j[b+4>>2];if(!n|j[n>>2]){break g}j[n>>2]=130}c=j[b+28>>2]+p(j[b+8>>2],c)|0;n=j[c+8>>2];v=j[c+4>>2];s=n-v|0;h:{i:{if((s|0)!=-1310720){j:{if((s|0)==-1376256){j[g+24>>2]=1;s=17;o=1;break j}j[g+24>>2]=4;n=(s|0)<0?n:v;s=20;o=4}j[g+40>>2]=t;j[g+28>>2]=q;n=e+n|0;j[g+32>>2]=n;if(!k[c|0]){break i}v=j[c+12>>2];j[g+24>>2]=s;j[g+36>>2]=v;break h}j[g+40>>2]=t;j[g+32>>2]=e;j[g+24>>2]=0;j[g+28>>2]=q;n=e;o=0}s=o;v=ye(n,t);j[g+36>>2]=v;r=j[b+20>>2]}w=j[a+16>>2];c=q;k:{if(r>>>0>c>>>0){break k}c=0;o=j[b+4>>2];if(!o|j[o>>2]){break k}j[o>>2]=130}l:{m:{n:{o:{c=j[b+28>>2]+p(j[b+8>>2],c)|0;t=j[c+8>>2];r=j[c+4>>2];o=t-r|0;if((o|0)!=-1310720){if((o|0)!=-1376256){break o}j[g+16>>2]=w;j[g+8>>2]=e;t=0;j[g>>2]=0;j[g+4>>2]=q;o=e;break m}j[g>>2]=2;t=2;break n}j[g>>2]=8;r=(o|0)<0?r:t;t=8}o=j[u+188>>2];j[g+16>>2]=w;j[g+4>>2]=q;o=((o<<1)+r|0)+e|0;j[g+8>>2]=o;if(!k[c|0]){break m}w=j[c+16>>2];t=t|16;j[g>>2]=t;break l}w=ye(o,w)}j[g+12>>2]=w;p:{if((s|t)&16){break p}C=j[u+200>>2];if(!C){break f}B=j[u+216>>2];D=t&10;E=s&5;c=0;while(1){r=u+p(c,20)|0;z=r;q:{r:{if(k[r+280|0]){if(!E|(j[z+264>>2]-B|0)>(n|0)){break q}z=j[r+268>>2];if((z+B|0)<(n|0)){break q}c=j[r+276>>2]-v|0;if(k[u+204|0]){break r}c=v+32768&-65536;if(j[u+212>>2]<=(z-n|0)){n=j[r+276>>2]-65536|0;c=(c|0)<(n|0)?c:n}c=c-v|0;break r}if(!D){break q}z=j[z+264>>2];if((B+j[r+268>>2]|0)<(o|0)|(z-B|0)>(o|0)){break q}c=j[r+276>>2];s:{if(k[u+204|0]){break s}n=w+32768&-65536;c=n;if(j[u+212>>2]>(o-z|0)){break s}c=j[r+276>>2]+65536|0;c=(c|0)<(n|0)?n:c}c=c-w|0}if(s){j[g+24>>2]=s|16;j[g+36>>2]=c+v}if(!t){break p}j[g>>2]=t|16;j[g+12>>2]=c+w;break p}c=c+1|0;if((C|0)!=(c|0)){continue}break}break f}fj(a,g+24|0,g);h[l|0]=k[l|0]&(A^-1)}c=(q&7)==7;l=c?l+1|0:l;A=c?128:A>>>1&127;q=q+1|0;if((y|0)!=(q|0)){continue}break}if(f){break e}if(!y){break d}r=128;c=0;while(1){if(k[x|0]&r){q=j[a+16>>2];l=c;n=j[b+20>>2];t:{if(n>>>0>c>>>0){break t}l=0;o=j[b+4>>2];if(!o|j[o>>2]){break t}j[o>>2]=130}o=j[b+28>>2]+p(j[b+8>>2],l)|0;l=j[o+8>>2];t=j[o+4>>2];s=l-t|0;u:{v:{if((s|0)!=-1310720){w:{if((s|0)==-1376256){j[g+24>>2]=1;s=17;break w}j[g+24>>2]=4;l=(s|0)<0?l:t;s=20}j[g+40>>2]=q;j[g+28>>2]=c;l=e+l|0;j[g+32>>2]=l;if(!k[o|0]){break v}l=j[o+12>>2];j[g+24>>2]=s;j[g+36>>2]=l;break u}j[g+40>>2]=q;j[g+32>>2]=e;j[g+24>>2]=0;j[g+28>>2]=c;l=e}F=g,G=ye(l,q),j[F+36>>2]=G;n=j[b+20>>2]}q=j[a+16>>2];l=c;x:{if(c>>>0>>0){break x}l=0;n=j[b+4>>2];if(!n|j[n>>2]){break x}j[n>>2]=130}y:{z:{A:{B:{l=j[b+28>>2]+p(j[b+8>>2],l)|0;s=j[l+8>>2];n=j[l+4>>2];o=s-n|0;if((o|0)!=-1310720){if((o|0)!=-1376256){break B}j[g+16>>2]=q;j[g+8>>2]=e;j[g>>2]=0;j[g+4>>2]=c;n=e;break z}j[g>>2]=2;o=18;break A}j[g>>2]=8;n=(o|0)<0?n:s;o=24}s=j[u+188>>2];j[g+16>>2]=q;j[g+4>>2]=c;n=((s<<1)+n|0)+e|0;j[g+8>>2]=n;if(!k[l|0]){break z}l=j[l+16>>2];j[g>>2]=o;j[g+12>>2]=l;break y}F=g,G=ye(n,q),j[F+12>>2]=G}fj(a,g+24|0,g)}l=(c&7)==7;x=l?x+1|0:x;r=l?128:r>>>1&127;c=c+1|0;if((y|0)!=(c|0)){continue}break}break d}if(!f){break d}}c=j[a+20>>2];if(j[(p(c,20)+a|0)+16>>2]>-1?!(!c|j[a+36>>2]>0):0){break d}j[g+36>>2]=0;j[g+28>>2]=0;j[g+32>>2]=0;j[g+24>>2]=49;c=j[a+16>>2];j[g+8>>2]=0;j[g+12>>2]=0;j[g+16>>2]=0;j[g>>2]=0;j[g+4>>2]=0;j[g+40>>2]=c;fj(a,g+24|0,g)}j[j[a+8>>2]+20>>2]=0;n=j[a+20>>2];C:{if(!n){break C}c=0;while(1){s=c+1|0;u=p(c,20);x=u+a|0;e=j[x+28>>2];v=e&12;t=v?s:c;D:{if(e&16){break D}l=a+28|0;w=l+u|0;o=j[w+12>>2];e=o&65535;r=e?65536-e|0:0;y=l+p(t,20)|0;A=j[y+12>>2];q=A&65535;l=q?65536-q|0:0;l=l>>>0>r>>>0?r:l;r=e>>>0>>0?e:q;q=0-r|0;E:{F:{if(t>>>0>>0){n=p(t+1|0,20)+a|0;if(j[n+40>>2]<((l+A|0)+32768|0)){break F}}if(!(!c|j[x+20>>2]<=((o-r|0)-32768|0))){e=l;break E}e=(l|0)>(r|0)?q:l;break E}G:{if(c){e=0;if(j[x+20>>2]>((o-r|0)-32768|0)){break G}}e=q;if((l|0)<(r|0)){break G}break E}if(k[n+28|0]&16){break E}j[g+24>>2]=t;j[g+28>>2]=l-e;ur(j[a+8>>2],g+24|0);o=j[w+12>>2]}j[w+12>>2]=e+o;if(!v){break D}j[y+12>>2]=j[y+12>>2]+e}H:{if(!c){break H}e=j[x+36>>2];l=j[x+16>>2];if((e|0)==(l|0)){break H}n=a+28|0;q=n+p(c-1|0,20)|0;F=q,G=De(j[(n+u|0)+12>>2]-j[q+12>>2]|0,e-l|0),j[F+16>>2]=G}if(v){c=p(t,20);e=c+a|0;l=j[e+36>>2];e=j[e+16>>2];if((l|0)!=(e|0)){n=a+28|0;q=n+p(t-1|0,20)|0;F=q,G=De(j[(c+n|0)+12>>2]-j[q+12>>2]|0,l-e|0),j[F+16>>2]=G}c=s}c=c+1|0;n=j[a+20>>2];if(c>>>0>>0){continue}break}n=j[a+8>>2];e=j[n+20>>2];if(!e){break C}q=j[n+8>>2];o=j[n+28>>2];c=e;while(1){c=c-1|0;r=c;I:{if(c>>>0>>0){break I}r=0;l=j[n+4>>2];if(!l|j[l>>2]){break I}j[l>>2]=130}s=o+p(q,r)|0;l=p(j[s>>2],20)+a|0;s=j[s+4>>2];t=s+j[l+40>>2]|0;J:{if(j[l+60>>2]<(t+32768|0)){break J}j[l+40>>2]=t;if(!(k[l+28|0]&12)){break J}j[l+20>>2]=s+j[l+20>>2]}if(c){continue}break}}K:{if(f){break K}q=j[a+20>>2];if(!q){break K}c=0;while(1){e=p(c,20)+a|0;n=e;l=j[n+28>>2];if(!(l&32)){q=j[e+32>>2];L:{if(q>>>0>2]){break L}q=0;f=j[b+4>>2];if(!f|j[f>>2]){break L}j[f>>2]=130;l=j[n+28>>2]}f=j[b+28>>2]+p(j[b+8>>2],q)|0;j[f+(l&10?16:12)>>2]=j[e+40>>2];h[f|0]=1;q=j[a+20>>2]}c=c+1|0;if(q>>>0>c>>>0){continue}break}}h[a+12|0]=1;h[d+5|0]=0}oe=g+80|0}function dA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0;e=oe-288|0;oe=e;g=j[a+436>>2];f=Vg();c=j[g>>2];a:{if((f|0)!=(c|0)){j[g+424>>2]=0;if((tg(j[a+188>>2],c)|0)<0){break a}}c=j[a+436>>2];if(!j[c+4>>2]){break a}while(1){if(qe[j[c+104>>2]]()|0){continue}break}}j[g+360>>2]=0;m=5121;b:{c:{d:{e:{f:{c=j[b+4>>2];if((c|0)<=825382477){l=6408;if((c|0)<=374740995){if((c|0)==370546692){break e}if((c|0)!=372645892){break c}break e}if((c|0)==374740996|(c|0)==376840196){break e}if((c|0)==542328143){break f}break c}g:{h:{switch(c-842094158|0){case 0:case 11:break g;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break h}}if((c|0)==1448433993){break g}if((c|0)!=825382478){break c}}l=6409;break e}if(j[b+8>>2]){break d}m=0;l=0}f=Xe(1,44);if(!f){d=Be(0);break b}j[f>>2]=0;d=j[b+4>>2];j[f+12>>2]=m;j[f+8>>2]=l;j[f+32>>2]=0;j[f+36>>2]=0;j[f+28>>2]=(d|0)==842094158|(d|0)==825382478;j[f+24>>2]=(d|0)==1448433993|(d|0)==842094169;j[f+4>>2]=(d|0)==542328143?36197:3553;o=j[b+28>>2];i:{if(j[b+8>>2]!=1){break i}i=j[b+12>>2];c=f;j:{if(!(!d|(d&-268435456)==268435456)){h=2;if((d|0)==844715353|(d|0)==1498831189){break j}h=(d|0)==1431918169?2:1;break j}h=d&255}i=p(h,i);j[c+20>>2]=i;h=j[b+16>>2];c=p(h,i);k:{if(((d|0)==842094169|0)!=((d|0)==1448433993|0)){c=(p((i+1|0)/2|0,(h+1|0)/2|0)<<1)+c|0;break k}if(((d|0)==825382478|0)==((d|0)==842094158|0)){break k}c=(p((i+1|0)/2|0,(h+1|0)/2|0)<<1)+c|0}c=Xe(1,c);j[f+16>>2]=c;if(c){break i}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}d=Be(0);break b}h=j[a+436>>2];l:{if(!j[h+4>>2]){break l}c=qe[j[h+104>>2]]()|0;if(!c){break l}d=32509;while(1){d=k[d|0]?d:34262;i=34367;n=c-1280|0;if(n>>>0<=5){i=j[(n<<2)+34376>>2]}j[e+276>>2]=c;j[e+272>>2]=i;j[e+268>>2]=33694;j[e+264>>2]=1478;j[e+260>>2]=32510;j[e+256>>2]=d;ve(34270,e+256|0);c=qe[j[h+104>>2]]()|0;if(c){continue}break}}i=o?9729:9728;c=f+36|0;m:{if(j[f+24>>2]){qe[j[g+92>>2]](1,f+32|0);n:{h=j[a+436>>2];if(!j[h+4>>2]){break n}d=qe[j[h+104>>2]]()|0;if(!d){break n}while(1){c=34367;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+34376>>2]}j[e+244>>2]=d;j[e+240>>2]=c;j[e+236>>2]=33694;j[e+232>>2]=1482;j[e+228>>2]=32510;j[e+224>>2]=33714;ve(34270,e+224|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}qe[j[g+8>>2]](33986);qe[j[g+20>>2]](j[f+4>>2],j[f+32>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);qe[j[g+152>>2]](j[f+4>>2],0,l,(j[b+12>>2]+1|0)/2|0,(j[b+16>>2]+1|0)/2|0,0,l,m,0);qe[j[g+92>>2]](1,c);o:{h=j[a+436>>2];if(!j[h+4>>2]){break o}d=qe[j[h+104>>2]]()|0;if(!d){break o}while(1){c=34367;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+34376>>2]}j[e+212>>2]=d;j[e+208>>2]=c;j[e+204>>2]=33694;j[e+200>>2]=1494;j[e+196>>2]=32510;j[e+192>>2]=33714;ve(34270,e+192|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}qe[j[g+8>>2]](33985);qe[j[g+20>>2]](j[f+4>>2],j[f+36>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);qe[j[g+152>>2]](j[f+4>>2],0,l,(j[b+12>>2]+1|0)/2|0,(j[b+16>>2]+1|0)/2|0,0,l,m,0);h=j[a+436>>2];if(!j[h+4>>2]){break m}d=qe[j[h+104>>2]]()|0;if(!d){break m}while(1){c=34367;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+34376>>2]}j[e+180>>2]=d;j[e+176>>2]=c;j[e+172>>2]=33694;j[e+168>>2]=1504;j[e+164>>2]=32510;j[e+160>>2]=33729;ve(34270,e+160|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}if(!j[f+28>>2]){break m}qe[j[g+92>>2]](1,c);p:{h=j[a+436>>2];if(!j[h+4>>2]){break p}d=qe[j[h+104>>2]]()|0;if(!d){break p}while(1){c=34367;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+34376>>2]}j[e+148>>2]=d;j[e+144>>2]=c;j[e+140>>2]=33694;j[e+136>>2]=1509;j[e+132>>2]=32510;j[e+128>>2]=33714;ve(34270,e+128|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}qe[j[g+8>>2]](33985);qe[j[g+20>>2]](j[f+4>>2],j[f+36>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);qe[j[g+152>>2]](j[f+4>>2],0,6410,(j[b+12>>2]+1|0)/2|0,(j[b+16>>2]+1|0)/2|0,0,6410,5121,0);h=j[a+436>>2];if(!j[h+4>>2]){break m}c=qe[j[h+104>>2]]()|0;if(!c){break m}while(1){d=34367;a=c-1280|0;if(a>>>0<=5){d=j[(a<<2)+34376>>2]}j[e+116>>2]=c;j[e+112>>2]=d;j[e+108>>2]=33694;j[e+104>>2]=1519;j[e+100>>2]=32510;j[e+96>>2]=33729;ve(34270,e+96|0);d=-1;c=qe[j[h+104>>2]]()|0;if(c){continue}break}break b}qe[j[g+92>>2]](1,f);q:{h=j[a+436>>2];if(!j[h+4>>2]){break q}d=qe[j[h+104>>2]]()|0;if(!d){break q}while(1){c=34367;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+34376>>2]}j[e+84>>2]=d;j[e+80>>2]=c;j[e+76>>2]=33694;j[e+72>>2]=1525;j[e+68>>2]=32510;j[e+64>>2]=33714;ve(34270,e- -64|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}j[b+76>>2]=f;qe[j[g+8>>2]](33984);qe[j[g+20>>2]](j[f+4>>2],j[f>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);r:{if(j[b+4>>2]==542328143){break r}qe[j[g+152>>2]](j[f+4>>2],0,l,j[b+12>>2],j[b+16>>2],0,l,m,0);g=j[a+436>>2];if(!j[g+4>>2]){break r}c=qe[j[g+104>>2]]()|0;if(!c){break r}while(1){d=34367;a=c-1280|0;if(a>>>0<=5){d=j[(a<<2)+34376>>2]}j[e+52>>2]=c;j[e+48>>2]=d;j[e+44>>2]=33694;j[e+40>>2]=1537;j[e+36>>2]=32510;j[e+32>>2]=33729;ve(34270,e+32|0);d=-1;c=qe[j[g+104>>2]]()|0;if(c){continue}break}break b}d=0;c=0;s:{if(j[b+8>>2]!=2){break s}g=j[b+16>>2];l=j[b+12>>2];b=j[a+436>>2];c=j[b+232>>2];if(c){while(1){if((g|0)==j[c+4>>2]?(l|0)==j[c>>2]:0){break s}c=j[c+12>>2];if(c){continue}break}}c=qe[j[57972]](16)|0;if(c){j[57976]=j[57976]+1}j[c+4>>2]=g;j[c>>2]=l;qe[j[b+88>>2]](1,c+8|0);j[c+12>>2]=j[b+232>>2];j[b+232>>2]=c}j[f+40>>2]=c;a=j[a+436>>2];if(!j[a+4>>2]){break b}i=qe[j[a+104>>2]]()|0;if(!i){break b}c=32509;while(1){c=k[c|0]?c:34262;d=34367;b=i-1280|0;if(b>>>0<=5){d=j[(b<<2)+34376>>2]}j[e+20>>2]=i;j[e+16>>2]=d;j[e+12>>2]=33694;j[e+8>>2]=1548;j[e+4>>2]=32510;j[e>>2]=c;ve(34270,e);d=-1;i=qe[j[a+104>>2]]()|0;if(i){continue}break}break b}d=ve(33634,0);break b}d=ve(33605,0)}oe=e+288|0;return d|0}function Ar(a,b,c){var d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;g=oe+ -64|0;oe=g;j[g+48>>2]=0;e=j[a+76>>2];d=j[e+2972>>2];a:{if(!d){f=j[a>>2];j[e+2976>>2]=596;d=He(f,504,g+48|0);j[j[a+76>>2]+2972>>2]=d;e=64;if(j[g+48>>2]){break a}j[d+108>>2]=0;j[d+112>>2]=0;j[d+116>>2]=0;j[d+120>>2]=0;e=d+124|0;j[e>>2]=0;j[e+4>>2]=0;j[d>>2]=f;j[d+104>>2]=597;j[d+100>>2]=598;j[d+112>>2]=599;j[d+120>>2]=f;j[d+124>>2]=d+4}j[d+128>>2]=a;j[d+132>>2]=a;e=j[j[a+4>>2]+96>>2];j[g+20>>2]=0;j[g+24>>2]=0;j[g+28>>2]=0;j[g+44>>2]=b;j[g+32>>2]=0;j[g+40>>2]=b+c;j[g+36>>2]=b;j[g+12>>2]=0;j[g+16>>2]=0;b=j[a+8>>2];f=k[b+161|0];c=g;o=k[b+160|0];b:{if(o){n=(j[b+164>>2]+32|0)/64|0;j[g+8>>2]=n;b=(j[b+168>>2]+32|0)/64|0;break b}n=1024;j[g+8>>2]=1024;b=1024}j[c+20>>2]=b;c=(o|0)!=0;j[d+8>>2]=c;if(!(k[e+32|0]|!f)){j[d+8>>2]=c|2}j[d+144>>2]=j[e+36>>2];j[d+148>>2]=j[e+40>>2];j[d+152>>2]=j[e+44>>2];j[d+156>>2]=j[e+48>>2];j[d+160>>2]=j[e+52>>2];j[d+164>>2]=j[e+56>>2];j[d+168>>2]=j[e+60>>2];j[d+172>>2]=j[e- -64>>2];c=l[j[a+4>>2]+68>>1];j[d+88>>2]=c;if(f){e=36;if((b|0)<1|(n|0)<1){break a}e=164;if(c<<16>>16<0){break a}a=De(131072e3,c<<16);if((a|0)<(n|0)|(a|0)<(b|0)){break a}a=j[d+132>>2]}j[g+56>>2]=0;j[g+60>>2]=0;e=0;j[g+52>>2]=0;j[d+4>>2]=0;b=j[a+736>>2];if((b|0)!=j[d+136>>2]){j[d+136>>2]=b;e=1}f=l[j[j[a+4>>2]+88>>2]+14>>1]<<16;if((f|0)!=j[d+84>>2]){j[d+84>>2]=f;e=1}o=j[d+96>>2];b=j[d+92>>2];c=j[d+8>>2];h[d+140|0]=c&1;c:{d:{e:{if(!Bg(g+8|0,d+12|0,16)){x=d+142|0;c=c&2;if((c|0)!=k[d+142|0]){break e}if(e){break d}break c}e=j[g+12>>2];j[d+12>>2]=j[g+8>>2];j[d+16>>2]=e;e=j[g+20>>2];j[d+20>>2]=j[g+16>>2];j[d+24>>2]=e;j[d+28>>2]=0;j[d+32>>2]=0;e=j[g+12>>2];j[d+36>>2]=j[g+8>>2];j[d+40>>2]=e;e=j[g+20>>2];j[d+44>>2]=j[g+16>>2];j[d+48>>2]=e;e=j[g+28>>2];j[d+52>>2]=j[g+24>>2];j[d+56>>2]=e;j[d+68>>2]=0;j[d+72>>2]=65536;j[d+60>>2]=65536;j[d+64>>2]=0;x=d+142|0;c=c&2;if((c|0)==k[d+142|0]){break d}}h[x|0]=c}c=j[j[a+736>>2]+388>>2]<<16;j[d+176>>2]=c;e=j[d+88>>2];u=e?e:1e3;e=65536e3/(u|0)|0;if((c|0)<=0){c=De(4915200,e);j[d+176>>2]=c}n=d+144|0;f=(f|0)>262144?f:262144;f:{if((b|0)>=1){c=u<<16;if((De(c,f)|0)>=(b|0)){b=De(c,f)}j[d+184>>2]=0;if(!b|(e|0)<655){break f}j[d+184>>2]=(b|0)/2;break f}vr(e,f,c,d+184|0,0,k[d+142|0],n)}b=d;c=j[j[a+736>>2]+384>>2];g:{if(c<<16>=1){a=4915200;if(j[d+176>>2]>c<<17){break g}}a=7208960}a=De(a,e);j[b+180>>2]=a;vr(e,f,a,d+188|0,o,k[d+142|0],n);a=1;a=j[d+184>>2]?a:j[d+188>>2]!=0;o=0;h[d+192|0]=0;h[d+141|0]=a;a=j[d+132>>2];y=Ee(d+200|0,0,304);j[d+196>>2]=j[d+48>>2];B=d,C=De(j[j[a+736>>2]+372>>2],65536e3),j[B+208>>2]=C;f=j[a+736>>2];j[d+212>>2]=j[f+376>>2]<<16;j[d+216>>2]=j[f+380>>2]<<16;z=k[f+179|0];u=k[f+178|0];s=k[f+177|0];b=k[f+176|0];h:{i:{if(j[f+512>>2]==1){j:{switch(b|0){case 4:if(j[f+180>>2]<<16>-7864321|j[f+184>>2]<<16>-7864321|(j[f+188>>2]<<16<57671681|j[f+192>>2]<<16<57671681)){break i}break;case 0:break j;default:break i}}j[d+252>>2]=-7864321;a=ye(-7864321,j[d+196>>2]);j[d+244>>2]=49;b=j[d+196>>2];j[d+260>>2]=b;j[d+256>>2]=(a+32768&-65536)-32768;a=(j[d+188>>2]<<1)+57671681|0;j[d+232>>2]=a;a=ye(a,b);j[d+224>>2]=50;h[d+205|0]=1;j[d+240>>2]=j[d+196>>2];j[d+236>>2]=a+32768&-65536|32768;break c}if(!b){break h}}n=j[d+200>>2];a=p(n,20)+d|0;e=j[f+180>>2]<<16;j[a+264>>2]=e;c=j[f+184>>2]<<16;j[a+268>>2]=c;o=c-e|0;k:{if((o|0)<0){o=0;break k}j[a+272>>2]=c;h[a+280|0]=1;n=n+1|0;j[d+200>>2]=n}e=2;if(b>>>0<=2){break h}c=f+180|0;while(1){a=p(n,20)+d|0;v=a;r=e<<2;q=j[r+c>>2]<<16;j[a+264>>2]=q;r=j[c+(r|4)>>2]<<16;j[a+268>>2]=r;w=r-q|0;if((w|0)>=0){t=r;r=j[d+188>>2]<<1;j[a+268>>2]=t+r;q=q+r|0;j[v+264>>2]=q;j[a+272>>2]=q;h[a+280|0]=0;n=n+1|0;j[d+200>>2]=n;o=(o|0)<(w|0)?w:o}e=e+2|0;if(b>>>0>e>>>0){continue}break}}if(s){c=j[y>>2];b=f+236|0;e=0;while(1){a=p(c,20)+d|0;n=e<<2;q=j[n+b>>2]<<16;j[a+264>>2]=q;n=j[b+(n|4)>>2]<<16;j[a+268>>2]=n;q=n-q|0;if((q|0)>=0){j[a+272>>2]=n;h[a+280|0]=1;c=c+1|0;j[d+200>>2]=c;o=(o|0)<(q|0)?q:o}e=e+2|0;if(s>>>0>e>>>0){continue}break}}e=De(65536,j[d+196>>2]);r=j[d+200>>2];if(r){n=0;w=u>>>0<3;while(1){a=p(n,20)+d|0;s=a;q=j[a+272>>2];l:{if(k[a+280|0]){a=0;c=2147483647;m:{if(!z){break m}while(1){v=j[(f+(a<<2|4)|0)+332>>2]<<16;t=q-v|0;b=t>>31;n:{b=b^b+t;if((b|0)>=(c|0)|(b|0)>=(e|0)){break n}j[s+272>>2]=v;c=b;if(b){break n}c=0;break m}a=a+2|0;if(z>>>0>a>>>0){continue}break}}if(u>>>0<2){break l}b=j[f+280>>2]<<16;q=q-b|0;a=q>>31;a=a^a+q;if((a|0)>=(c|0)|(a|0)>=(e|0)){break l}j[s+272>>2]=b;break l}if(w){break l}v=j[d+188>>2]<<1;a=2;c=2147483647;while(1){t=v+(j[(f+(a<<2)|0)+276>>2]<<16)|0;A=q-t|0;b=A>>31;b=b^b+A;if(!((b|0)>=(c|0)|(b|0)>=(e|0))){j[s+272>>2]=t;c=b;if(!b){break l}}a=a+2|0;if(u>>>0>a>>>0){continue}break}}n=n+1|0;if((r|0)!=(n|0)){continue}break}}o:{if((o|0)<1){break o}if(j[d+208>>2]<=(De(65536,o)|0)){break o}B=d,C=De(65536,o),j[B+208>>2]=C}a=j[d+196>>2];b=j[d+208>>2];if((a|0)<(b|0)){h[d+204|0]=1;a=Ne(39322,a,b);j[d+220>>2]=(a|0)<6555?32767:39322-a|0}if(k[x|0]){j[d+220>>2]=0}if(!j[y>>2]){break c}c=d+196|0;a=0;while(1){b=c+p(a,20)|0;e=k[b+84|0];r=b;s=ye(j[b+76>>2],j[d+196>>2]);b=j[d+220>>2];j[r+80>>2]=(s+(e?0-b|0:b)|0)+32768&-65536;a=a+1|0;if(a>>>0>2]){continue}break}}p:{q:{if(j[d+4>>2]){break q}h[d+192|0]=0;b=d+100|0;a=k[d+141|0];while(1){j[d+116>>2]=0;Yh(j[j[d+128>>2]+12>>2]);qm(d,g+32|0,b,g+56|0,0,0,0,g+52|0);if(j[d+4>>2]){break q}if(!(!(a&255)|j[d+116>>2]>-1)){h[d+192|0]=1;a=0;continue}break}f=j[d+128>>2];a=j[f+20>>2];r:{if(!a){break r}c=0;b=l[a>>1];e=b<<16>>16;if((e|0)>=2){c=i[(j[a+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[a+2>>1];s:{if((b|0)<2){break s}n=j[a+4>>2];o=n+(c<<3)|0;n=(n+(b<<3)|0)-8|0;if(j[o>>2]!=j[n>>2]|j[o+4>>2]!=j[n+4>>2]|k[(j[a+8>>2]+b|0)-1|0]!=1){break s}b=b-1|0;i[a+2>>1]=b}if((e|0)<1){break r}r=c;c=(b<<16>>16)-1|0;if((r|0)==(c|0)){i[a+2>>1]=b-1;i[a>>1]=e-1;break r}i[(j[a+12>>2]+(e<<1)|0)-2>>1]=c}Xh(j[f+12>>2]);if(!j[d+4>>2]){break p}}e=3;break a}a=j[g+52>>2];e=0;j[d+4>>2]=0;j[j[d+128>>2]+552>>2]=a+32768>>16}oe=g- -64|0;return e}function Vp(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=q(0),H=q(0),I=q(0),J=0,K=0,L=q(0),M=q(0),N=q(0),O=q(0),P=0;C=p(a,c);K=a-1>>1;B=b+1>>1;J=+q(q(6.2831854820251465)/q(b|0));P=Mg(J);J=lg(J);a:{if((a|0)==1){break a}if((d|0)>0){while(1){m=k<<2;n[m+i>>2]=n[g+m>>2];k=k+1|0;if((k|0)!=(d|0)){continue}break}}b:{if((b|0)<2){break b}r=1;while(1){l=0;o=o+C|0;k=o;if((c|0)>=1){while(1){m=k<<2;n[m+h>>2]=n[f+m>>2];k=a+k|0;l=l+1|0;if((l|0)!=(c|0)){continue}break}}r=r+1|0;if((r|0)!=(b|0)){continue}break}v=0-a|0;if((c|0)>=(K|0)){if((b|0)<2){break b}o=(a|0)<3;A=1;while(1){s=s+C|0;v=a+v|0;if(!o){k=v-1|0;t=2;m=s;while(1){m=m+2|0;l=k+2|0;if((c|0)>=1){E=(l<<2)+j|0;D=(k<<2)+j|0;r=0;k=m;while(1){y=k<<2;u=y-4|0;z=u+f|0;x=h+u|0;u=f+y|0;n[x>>2]=q(n[D+4>>2]*n[z>>2])+q(n[E>>2]*n[u>>2]);n[h+y>>2]=q(n[D+4>>2]*n[u>>2])-q(n[E>>2]*n[z>>2]);k=a+k|0;r=r+1|0;if((r|0)!=(c|0)){continue}break}}k=l;t=t+2|0;if((t|0)<(a|0)){continue}break}}A=A+1|0;if((A|0)!=(b|0)){continue}break}break b}if((b|0)<2){break b}D=(a|0)<3;r=1;while(1){v=a+v|0;x=C+x|0;if((c|0)>=1){m=v-1|0;u=x-a|0;t=0;while(1){w=2;k=m;u=a+u|0;l=u;if(!D){while(1){s=(l<<2)+4|0;E=s+f|0;A=h+s|0;y=(k<<2)+j|0;k=k+2|0;z=(k<<2)+j|0;l=l+2|0;o=l<<2;s=o+f|0;n[A>>2]=q(n[y+4>>2]*n[E>>2])+q(n[z>>2]*n[s>>2]);n[h+o>>2]=q(n[y+4>>2]*n[s>>2])-q(n[z>>2]*n[E>>2]);w=w+2|0;if((w|0)<(a|0)){continue}break}}t=t+1|0;if((t|0)!=(c|0)){continue}break}}r=r+1|0;if((r|0)!=(b|0)){continue}break}}v=p(b,C);if((c|0)<=(K|0)){if((b|0)<3){break a}w=(B|0)>2?B:2;x=0;E=(a|0)<3;r=1;while(1){s=0;x=C+x|0;u=x;v=v-C|0;t=v;if((c|0)>=1){while(1){j=2;k=t;l=u;if(!E){while(1){m=(l<<2)+4|0;F=m+h|0;o=f+m|0;m=(k<<2)+4|0;D=m+h|0;n[o>>2]=n[F>>2]+n[D>>2];A=f+m|0;l=l+2|0;y=l<<2;z=y+h|0;k=k+2|0;o=k<<2;m=o+h|0;n[A>>2]=n[z>>2]-n[m>>2];n[f+y>>2]=n[z>>2]+n[m>>2];n[f+o>>2]=n[D>>2]-n[F>>2];j=j+2|0;if((j|0)<(a|0)){continue}break}}t=a+t|0;u=a+u|0;s=s+1|0;if((s|0)!=(c|0)){continue}break}}r=r+1|0;if((w|0)!=(r|0)){continue}break}break a}if((b|0)<3){break a}z=(B|0)>2?B:2;A=0;r=(a|0)<3;x=1;while(1){s=2;A=C+A|0;u=A;v=v-C|0;t=v;if(!r){while(1){t=t+2|0;u=u+2|0;if((c|0)>=1){j=u-a|0;w=t-a|0;o=0;while(1){j=a+j|0;E=j<<2;k=E-4|0;D=k+h|0;m=f+k|0;w=a+w|0;y=w<<2;k=y-4|0;l=k+h|0;n[m>>2]=n[D>>2]+n[l>>2];F=f+k|0;m=h+E|0;k=h+y|0;n[F>>2]=n[m>>2]-n[k>>2];n[f+E>>2]=n[m>>2]+n[k>>2];n[f+y>>2]=n[l>>2]-n[D>>2];o=o+1|0;if((o|0)!=(c|0)){continue}break}}s=s+2|0;if((s|0)<(a|0)){continue}break}}x=x+1|0;if((z|0)!=(x|0)){continue}break}}if((d|0)>=1){k=0;while(1){j=k<<2;n[j+g>>2]=n[i+j>>2];k=k+1|0;if((k|0)!=(d|0)){continue}break}}c:{if((b|0)<3){break c}r=(B|0)>2?B:2;o=0;u=1;m=p(b,d);v=m;while(1){v=v-C|0;o=o+C|0;if((c|0)>=1){k=o-a|0;l=v-a|0;j=0;while(1){k=a+k|0;t=k<<2;z=t+h|0;x=f+t|0;l=a+l|0;s=l<<2;t=s+h|0;n[x>>2]=n[z>>2]+n[t>>2];n[f+s>>2]=n[t>>2]-n[z>>2];j=j+1|0;if((j|0)!=(c|0)){continue}break}}u=u+1|0;if((r|0)!=(u|0)){continue}break}if((b|0)<3){break c}M=q(P);N=q(J);t=p(b-1|0,d);D=(B|0)>2?B:2;y=(B|0)>3?B:3;G=q(1);z=(b|0)>4;A=1;u=0;while(1){I=q(q(H*N)+q(G*M));G=q(q(G*N)-q(H*M));f=0;u=d+u|0;k=u;j=t;l=d;m=m-l|0;w=m;if((l|0)>0){while(1){n[(k<<2)+i>>2]=n[(f<<2)+g>>2]+q(G*n[(l<<2)+g>>2]);n[(w<<2)+i>>2]=I*n[(j<<2)+g>>2];w=w+1|0;j=j+1|0;k=k+1|0;l=l+1|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}}r=2;H=G;L=I;o=d;v=t;if(z){while(1){O=q(q(G*L)+q(I*H));H=q(q(G*H)-q(I*L));w=0;v=v-d|0;f=v;o=d+o|0;k=o;l=m;j=u;if((d|0)>=1){while(1){s=(j<<2)+i|0;n[s>>2]=n[s>>2]+q(H*n[(k<<2)+g>>2]);s=(l<<2)+i|0;n[s>>2]=n[s>>2]+q(O*n[(f<<2)+g>>2]);l=l+1|0;f=f+1|0;j=j+1|0;k=k+1|0;w=w+1|0;if((w|0)!=(d|0)){continue}break}}L=O;r=r+1|0;if((y|0)!=(r|0)){continue}break}}H=I;A=A+1|0;if((D|0)!=(A|0)){continue}break}if((b|0)<3){break c}l=(B|0)>2?B:2;j=0;w=1;while(1){f=0;j=d+j|0;k=j;if((d|0)>=1){while(1){m=(f<<2)+i|0;n[m>>2]=n[(k<<2)+g>>2]+n[m>>2];k=k+1|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}}w=w+1|0;if((l|0)!=(w|0)){continue}break}}F=p(a,b);d:{if((a|0)>=(c|0)){if((c|0)<1){break d}i=0;d=(a|0)<1;j=0;g=0;while(1){l=0;f=j;k=g;if(!d){while(1){n[(k<<2)+e>>2]=n[(f<<2)+h>>2];k=k+1|0;f=f+1|0;l=l+1|0;if((l|0)!=(a|0)){continue}break}}g=g+F|0;j=a+j|0;i=i+1|0;if((i|0)!=(c|0)){continue}break}break d}if((a|0)<1){break d}j=0;d=(c|0)<1;while(1){l=0;f=j;k=f;if(!d){while(1){n[(k<<2)+e>>2]=n[(f<<2)+h>>2];k=k+F|0;f=a+f|0;l=l+1|0;if((l|0)!=(c|0)){continue}break}}j=j+1|0;if((j|0)!=(a|0)){continue}break}}t=p(b,C);w=a<<1;if((b|0)>=3){m=(B|0)>2?B:2;i=0;o=1;d=0;r=t;while(1){j=0;r=r-C|0;f=r;d=d+C|0;k=d;i=i+w|0;l=i;if((c|0)>=1){while(1){g=(l<<2)+e|0;n[g-4>>2]=n[(k<<2)+h>>2];n[g>>2]=n[(f<<2)+h>>2];f=a+f|0;k=a+k|0;l=l+F|0;j=j+1|0;if((j|0)!=(c|0)){continue}break}}o=o+1|0;if((m|0)!=(o|0)){continue}break}}e:{if((a|0)==1){break e}if((c|0)<=(K|0)){if((b|0)<3){break e}u=(B|0)>2?B:2;s=0;A=0-a|0;l=(a|0)<3;b=1;x=0;while(1){m=0;t=t-C|0;d=t;x=C+x|0;r=x;s=s+w|0;o=s;A=w+A|0;v=A;if((c|0)>=1){while(1){f=2;if(!l){while(1){k=(f+o<<2)+e|0;y=(f+r<<2)+h|0;j=y-4|0;z=(d+f<<2)+h|0;i=z-4|0;n[k-4>>2]=n[j>>2]+n[i>>2];g=((a-f|0)+v<<2)+e|0;n[g-4>>2]=n[j>>2]-n[i>>2];n[k>>2]=n[y>>2]+n[z>>2];n[g>>2]=n[z>>2]-n[y>>2];f=f+2|0;if((f|0)<(a|0)){continue}break}}d=a+d|0;r=a+r|0;o=o+F|0;v=v+F|0;m=m+1|0;if((m|0)!=(c|0)){continue}break}}b=b+1|0;if((u|0)!=(b|0)){continue}break}break e}if((b|0)<3){break e}y=(B|0)>2?B:2;u=0;b=0-a|0;z=(a|0)<3;x=1;s=0;while(1){t=t-C|0;s=s+C|0;u=u+w|0;b=b+w|0;if(!z){v=a+b|0;m=2;while(1){if((c|0)>=1){f=v-m|0;k=m+u|0;l=m+s|0;j=m+t|0;o=0;while(1){r=(k<<2)+e|0;E=(l<<2)+h|0;i=E-4|0;D=(j<<2)+h|0;g=D-4|0;n[r-4>>2]=n[i>>2]+n[g>>2];d=(f<<2)+e|0;n[d-4>>2]=n[i>>2]-n[g>>2];n[r>>2]=n[E>>2]+n[D>>2];n[d>>2]=n[D>>2]-n[E>>2];j=a+j|0;l=a+l|0;k=k+F|0;f=f+F|0;o=o+1|0;if((o|0)!=(c|0)){continue}break}}m=m+2|0;if((m|0)<(a|0)){continue}break}}x=x+1|0;if((y|0)!=(x|0)){continue}break}}}function Ci(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;e=oe-32|0;oe=e;a:{d=j[a+48>>2];b:{if(!d){g=Jr(a,b);break b}m=((b<<5)+a|0)- -64|0;l=p(b,-11796480)+5898240|0;o=j[a+60>>2];c:{d:{e:{f:{g:{h:{i:{j:{if((d|0)==1){break j}f=Df(j[a>>2],j[a+4>>2]);k:{if((f|0)==11796480){f=l;g=j[a>>2];break k}f=(f|0)/2|0;g=j[a>>2]+(l+f|0)|0}i=Bi(f);n=ye(j[a+56>>2],i);if((n|0)>65535){break f}if((d|0)!=2){break j}d=f>>31;if((d+f^d)<=57){break f}of(e+16|0,ye(o,j[a+56>>2]),g);j[e+16>>2]=j[e+16>>2]+j[a+8>>2];j[e+20>>2]=j[e+20>>2]+j[a+12>>2];f=Ai(f);d=f>>31;s=Ne(o,65536-n|0,d^d+f);of(e+8|0,s,g+l|0);f=j[e+8>>2]+j[e+16>>2]|0;j[e+8>>2]=f;i=j[e+12>>2]+j[e+20>>2]|0;j[e+12>>2]=i;d=(b<<5)+a|0;n=d;if(!k[d+80|0]){break i}f=j[e+12>>2];d=(j[d+72>>2]+(j[m>>2]<<3)|0)-8|0;j[d>>2]=j[e+8>>2];j[d+4>>2]=f;break h}of(e+16|0,o,l+j[a+4>>2]|0);c=j[e+16>>2]+j[a+8>>2]|0;j[e+16>>2]=c;l=j[e+20>>2]+j[a+12>>2]|0;j[e+20>>2]=l;f=(b<<5)+a|0;n=f;h[f+80|0]=0;d=j[m>>2];l:{if(!d){break l}i=j[f+72>>2]+(d-1<<3)|0;if((j[i>>2]-c|0)+1>>>0>2){break l}g=0;if((j[i+4>>2]-l|0)+1>>>0<3){break b}}c=j[f+68>>2];j[e+8>>2]=0;g=d+1|0;m:{n:{if(g>>>0<=c>>>0){c=j[((b<<5)+a|0)+76>>2];break n}l=j[((b<<5)+a|0)+88>>2];d=c;while(1){d=((d>>>1|0)+d|0)+16|0;if(g>>>0>d>>>0){continue}break}i=(b<<5)+a|0;g=i;u=g,v=xe(l,8,c,d,j[g+72>>2],e+8|0),j[u+72>>2]=v;g=j[e+8>>2];if(g){break m}c=xe(l,1,c,d,j[i+76>>2],e+8|0);j[i+76>>2]=c;g=j[e+8>>2];if(g){break m}j[f+68>>2]=d;d=j[m>>2]}a=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;b=j[e+20>>2];j[a>>2]=j[e+16>>2];j[a+4>>2]=b;h[c+d|0]=1;j[m>>2]=j[m>>2]+1;g=0}h[n+80|0]=0;break b}d=j[m>>2];o:{if(!d){break o}q=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[q>>2]-f|0)+1>>>0>2){break o}if((j[q+4>>2]-i|0)+1>>>0<3){break g}}i=(b<<5)+a|0;t=i;f=j[i+68>>2];j[e+28>>2]=0;r=d+1|0;p:{if(r>>>0<=f>>>0){f=j[i+76>>2];break p}q=j[i+88>>2];d=f;while(1){d=((d>>>1|0)+d|0)+16|0;if(r>>>0>d>>>0){continue}break}r=(b<<5)+a|0;i=r;u=i,v=xe(q,8,f,d,j[i+72>>2],e+28|0),j[u+72>>2]=v;i=j[e+28>>2];if(i){break e}f=xe(q,1,f,d,j[r+76>>2],e+28|0);j[r+76>>2]=f;i=j[e+28>>2];if(i){break e}j[t+68>>2]=d;d=j[m>>2]}q=j[e+12>>2];i=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;j[i>>2]=j[e+8>>2];j[i+4>>2]=q;h[d+f|0]=1;j[m>>2]=j[m>>2]+1}h[n+80|0]=0}of(e+8|0,s,g-l|0);f=j[e+8>>2]+j[e+16>>2]|0;j[e+8>>2]=f;g=j[e+12>>2]+j[e+20>>2]|0;j[e+12>>2]=g;q:{r:{if(k[n+80|0]){f=j[e+12>>2];d=(j[((b<<5)+a|0)+72>>2]+(j[m>>2]<<3)|0)-8|0;j[d>>2]=j[e+8>>2];j[d+4>>2]=f;break r}d=j[m>>2];s:{if(!d){break s}i=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[i>>2]-f|0)+1>>>0>2){break s}if((j[i+4>>2]-g|0)+1>>>0<3){break q}}g=(b<<5)+a|0;r=g;f=j[g+68>>2];j[e+28>>2]=0;i=d+1|0;t:{if(i>>>0<=f>>>0){f=j[g+76>>2];break t}g=j[g+88>>2];d=f;while(1){d=((d>>>1|0)+d|0)+16|0;if(i>>>0>d>>>0){continue}break}q=(b<<5)+a|0;i=q;u=i,v=xe(g,8,f,d,j[i+72>>2],e+28|0),j[u+72>>2]=v;i=j[e+28>>2];if(i){break d}f=xe(g,1,f,d,j[q+76>>2],e+28|0);j[q+76>>2]=f;i=j[e+28>>2];if(i){break d}j[r+68>>2]=d;d=j[m>>2]}i=j[e+12>>2];g=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;j[g>>2]=j[e+8>>2];j[g+4>>2]=i;h[d+f|0]=1;j[m>>2]=j[m>>2]+1}h[n+80|0]=0}i=0;if(c){break a}of(e+8|0,o,l+j[a+4>>2]|0);c=j[e+8>>2]+j[a+8>>2]|0;j[e+8>>2]=c;f=j[e+12>>2]+j[a+12>>2]|0;j[e+12>>2]=f;u:{v:{if(k[n+80|0]){a=(j[((b<<5)+a|0)+72>>2]+(j[m>>2]<<3)|0)-8|0;b=j[e+12>>2];j[a>>2]=j[e+8>>2];j[a+4>>2]=b;break v}d=j[m>>2];w:{if(!d){break w}l=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[l>>2]-c|0)+1>>>0>2){break w}if((j[l+4>>2]-f|0)+1>>>0<3){break a}}f=(b<<5)+a|0;o=f;c=j[f+68>>2];j[e+28>>2]=0;l=d+1|0;x:{if(l>>>0<=c>>>0){g=j[f+76>>2];break x}f=j[f+88>>2];d=c;while(1){d=((d>>>1|0)+d|0)+16|0;if(l>>>0>d>>>0){continue}break}l=(b<<5)+a|0;g=l;u=g,v=xe(f,8,c,d,j[g+72>>2],e+28|0),j[u+72>>2]=v;i=j[e+28>>2];if(i){break u}g=xe(f,1,c,d,j[l+76>>2],e+28|0);j[l+76>>2]=g;i=j[e+28>>2];if(i){break u}j[o+68>>2]=d;d=j[m>>2]}a=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;b=j[e+12>>2];j[a>>2]=j[e+8>>2];j[a+4>>2]=b;h[d+g|0]=1;j[m>>2]=j[m>>2]+1}i=0}h[n+80|0]=0;break a}of(e+16|0,De(j[a+60>>2],i),g);f=j[e+16>>2]+j[a+8>>2]|0;j[e+16>>2]=f;g=j[e+20>>2]+j[a+12>>2]|0;j[e+20>>2]=g;d=(b<<5)+a|0;i=d;y:{z:{if(k[d+80|0]){f=j[e+20>>2];d=(j[d+72>>2]+(j[m>>2]<<3)|0)-8|0;j[d>>2]=j[e+16>>2];j[d+4>>2]=f;break z}d=j[m>>2];A:{if(!d){break A}n=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[n>>2]-f|0)+1>>>0>2){break A}if((j[n+4>>2]-g|0)+1>>>0<3){break y}}g=(b<<5)+a|0;q=g;f=j[g+68>>2];j[e+8>>2]=0;o=d+1|0;B:{if(o>>>0<=f>>>0){f=j[g+76>>2];break B}n=j[g+88>>2];d=f;while(1){d=((d>>>1|0)+d|0)+16|0;if(o>>>0>d>>>0){continue}break}o=(b<<5)+a|0;g=o;u=g,v=xe(n,8,f,d,j[g+72>>2],e+8|0),j[u+72>>2]=v;g=j[e+8>>2];if(g){break c}f=xe(n,1,f,d,j[o+76>>2],e+8|0);j[o+76>>2]=f;g=j[e+8>>2];if(g){break c}j[q+68>>2]=d;d=j[m>>2]}n=j[e+20>>2];g=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;j[g>>2]=j[e+16>>2];j[g+4>>2]=n;h[d+f|0]=1;j[m>>2]=j[m>>2]+1}h[i+80|0]=0}g=0;if(c){break b}of(e+16|0,j[a+60>>2],l+j[a+4>>2]|0);c=j[e+16>>2]+j[a+8>>2]|0;j[e+16>>2]=c;f=j[e+20>>2]+j[a+12>>2]|0;j[e+20>>2]=f;C:{D:{if(k[i+80|0]){a=(j[((b<<5)+a|0)+72>>2]+(j[m>>2]<<3)|0)-8|0;b=j[e+20>>2];j[a>>2]=j[e+16>>2];j[a+4>>2]=b;break D}d=j[m>>2];E:{if(!d){break E}l=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[l>>2]-c|0)+1>>>0>2){break E}if((j[l+4>>2]-f|0)+1>>>0<3){break b}}f=(b<<5)+a|0;n=f;c=j[f+68>>2];j[e+8>>2]=0;l=d+1|0;F:{if(l>>>0<=c>>>0){c=j[f+76>>2];break F}f=j[f+88>>2];d=c;while(1){d=((d>>>1|0)+d|0)+16|0;if(l>>>0>d>>>0){continue}break}l=(b<<5)+a|0;g=l;u=g,v=xe(f,8,c,d,j[g+72>>2],e+8|0),j[u+72>>2]=v;g=j[e+8>>2];if(g){break C}c=xe(f,1,c,d,j[l+76>>2],e+8|0);j[l+76>>2]=c;g=j[e+8>>2];if(g){break C}j[n+68>>2]=d;d=j[m>>2]}a=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;b=j[e+20>>2];j[a>>2]=j[e+16>>2];j[a+4>>2]=b;h[c+d|0]=1;j[m>>2]=j[m>>2]+1}g=0}h[i+80|0]=0;break b}h[n+80|0]=0;break a}h[n+80|0]=0;break a}h[i+80|0]=0}oe=e+32|0;return g}oe=e+32|0;return i}function Jn(a,b,c,d,e,f,g,i,l,n,o){var q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;z=oe-16|0;oe=z;j[z+4>>2]=0;a:{if(!a){break a}b:{c:{d:{e:{f:{if(a){x=j[j[a+52>>2]+68>>2]>>>8&1}else{x=0}g:{if(!x){v=j[a+4>>2];q=k[v+8|0];break g}w=hn(a,z+4|0);y=!w;v=j[a+4>>2];q=k[v+8|0];if(w){break g}if((q&255)==8){break f}}if((q&255)!=32){break a}q=j[v+24>>2];if(!q){break a}u=ug(0,i,l+2|0,32,j[v+12>>2],j[v+16>>2],j[v+20>>2],q);if(!u){break a}j[u+12>>2]=l;tj(a,z+8|0);w=u+12|0;n=n*65536;V=n;o=o*65536;R=o;if(y){break e}switch(j[z+8>>2]){case 4:break c;case 0:break d;default:break b}}u=ug(0,i,l+2|0,8,0,0,0,0);if(!u){break a}t=1;q=j[j[a+4>>2]+4>>2];i=j[q>>2];if((i|0)>=1){while(1){w=s<<2;i=w+j[j[j[u+4>>2]+4>>2]+4>>2]|0;q=w+j[q+4>>2]|0;q=k[q|0]|k[q+1|0]<<8|(k[q+2|0]<<16|k[q+3|0]<<24);h[i|0]=q;h[i+1|0]=q>>>8;h[i+2|0]=q>>>16;h[i+3|0]=q>>>24;q=j[j[a+4>>2]+4>>2];i=j[q>>2];s=s+1|0;if((i|0)>(s|0)){continue}break}}j[j[j[u+4>>2]+4>>2]>>2]=i;j[u+12>>2]=l;tj(a,z+8|0);w=u+12|0;V=n*65536;R=o*65536}o=R;n=V;Kk(u,1,j[z+4>>2]);Dh(u,0,j[z+4>>2]);break b}j[z+8>>2]=1;break b}i=Ki(j[u+4>>2],255,255,255,0);j[z+4>>2]=i;Dh(u,0,i);Kk(u,1,j[z+4>>2])}cg(u,j[z+8>>2]);if(k[a|0]&2){Eg(a)}h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{b=b/90;s:{if(r(b)<2147483648){i=~~b;break s}i=-2147483648}if(+(i|0)==b){c=(i|0)%4|0;c=(c|0)<0?c+4|0:c;e=j[u+8>>2];y=j[u+16>>2];if(!t){break l}i=1;v=-1;l=f?-1:1;t=j[a+16>>2];d=g?0-t|0:t;switch(c|0){case 2:break p;case 1:break q;case 0:break r;default:break o}}B=d<<16;if(r(n)<2147483648){i=~~n}else{i=-2147483648}F=i;l=p(65536-F|0,c);i=j[a+12>>2];I=j[w>>2];q=i-I<<15;C=j[a+8>>2];A=j[u+8>>2];y=C-A<<15;if(!(r(o)<2147483648)){break k}v=~~o;if(!t){break j}break i}c=d-p(j[a+8>>2],l)|0;v=1;break m}c=p(d,j[a+12>>2])+l|0;l=0-d|0;break m}c=p(j[a+8>>2],l)-d|0;d=0-l|0;break n}c=0-(p(d,j[a+12>>2])+l|0)|0;v=1}l=d;i=-1}q=j[a+20>>2];q=((f?0-i|0:i)|0)<=-1?(j[a+8>>2]+q|0)-1|0:q;q=((g?0-v|0:v)|0)<=-1?p(t,j[a+12>>2]-1|0)+q|0:q;if(j[w>>2]<1){break h}e=y-e|0;s=j[u+20>>2];v=0;f=(l|0)!=1;while(1){d=j[u+8>>2];t:{if(!f){Ge(s,q,d);d=j[u+8>>2];s=d+s|0;q=d+q|0;break t}if(!d){break t}d=d+s|0;while(1){h[s|0]=k[q|0];q=l+q|0;s=s+1|0;if((d|0)!=(s|0)){continue}break}s=d}s=e+s|0;q=c+q|0;v=v+1|0;if((v|0)>2]){continue}break}break h}l=f?-4:4;i=j[a+16>>2];d=g?0-i|0:i;u:{v:{switch(c|0){case 0:c=d-p(j[a+8>>2],l)|0;s=1;d=1;break u;case 1:c=p(d,j[a+12>>2])+l|0;s=1;l=0-d|0;d=-1;break u;case 2:c=p(j[a+8>>2],l)-d|0;s=-1;l=0-l|0;d=-1;break u;default:break v}}c=0-(p(d,j[a+12>>2])+l|0)|0;s=-1;l=d;d=1}q=j[a+20>>2];q=((f?0-s|0:s)|0)<=-1?((j[a+8>>2]<<2)+q|0)-4|0:q;q=((g?0-d|0:d)|0)<=-1?p(i,j[a+12>>2]-1|0)+q|0:q;if(j[w>>2]<1){break h}f=y-(e<<2)|0;s=j[u+20>>2];v=0;g=(l|0)!=4;while(1){d=j[u+8>>2]<<2;w:{if(!g){Ge(s,q,d);d=j[u+8>>2]<<2;s=d+s|0;q=d+q|0;break w}if(!d){break w}d=d+s|0;while(1){e=k[q|0]|k[q+1|0]<<8|(k[q+2|0]<<16|k[q+3|0]<<24);h[s|0]=e;h[s+1|0]=e>>>8;h[s+2|0]=e>>>16;h[s+3|0]=e>>>24;q=l+q|0;s=s+4|0;if((d|0)!=(s|0)){continue}break}s=d}s=f+s|0;q=c+q|0;v=v+1|0;if((v|0)>2]){continue}break}break h}v=-2147483648;if(t){break i}}S=i-1|0;T=C-1|0;W=j[u+16>>2]-(A<<2)|0;c=B-p(c,v)|0;s=j[u+20>>2];if(e){if((I|0)<1){break h}$=c+q|0;aa=l+y|0;ba=(A|0)<1;while(1){if(!ba){e=d-U|0;c=p(e,v)+aa|0;i=$-p(e,F)|0;e=0;while(1){l=i>>16;l=g?S-l|0:l;x:{if((l|0)>=(S|0)){break x}q=c>>16;q=f?T-q|0:q;if((q|0)>=(T|0)|(l|q)<0){break x}w=j[a+16>>2];q=(j[a+20>>2]+p(w,l)|0)+(q<<2)|0;l=k[q+4|0];B=k[q+3|0];C=k[q+2|0];G=k[q+1|0];D=k[q|0];J=k[q+7|0];K=k[q+6|0];x=k[q+5|0];q=(q+4|0)+((w|0)/4<<2)|0;L=k[q+3|0];M=k[q+2|0];N=k[q+1|0];O=k[q|0];q=q-4|0;H=k[q+3|0];P=k[q+2|0];Q=k[q+1|0];q=k[q|0];y:{if(!f){y=B;t=C;E=G;w=D;B=J;C=K;G=x;D=l;J=H;K=P;x=Q;l=q;H=L;P=M;Q=N;q=O;break y}y=J;t=K;E=x;w=l;J=L;K=M;x=N;l=O}z:{if(!g){L=y;M=t;N=E;O=w;X=B;Y=C;Z=G;_=D;y=J;t=K;E=x;w=l;B=H;C=P;G=Q;D=q;break z}L=J;M=K;N=x;O=l;X=H;Y=P;Z=Q;_=q}l=c&65535;q=L&255;H=(p(l,(X&255)-q|0)>>>16|0)+q|0;q=i&65535;h[s+3|0]=H+(p(q,((p(l,(B&255)-(y&255)|0)>>>16|0)+y&255)-(H&255)|0)>>>16|0);x=(p(l,(C&255)-(t&255)|0)>>>16|0)+t&255;t=M&255;t=(p(l,(Y&255)-t|0)>>>16|0)+t|0;h[s+2|0]=(p(q,x-(t&255)|0)>>>16|0)+t;t=N&255;t=(p(l,(Z&255)-t|0)>>>16|0)+t|0;h[s+1|0]=(p(q,((p(l,(G&255)-(E&255)|0)>>>16|0)+E&255)-(t&255)|0)>>>16|0)+t;x=(p(l,(D&255)-(w&255)|0)>>>16|0)+w&255;w=O&255;l=(p(l,(_&255)-w|0)>>>16|0)+w|0;h[s|0]=(p(q,x-(l&255)|0)>>>16|0)+l}s=s+4|0;i=i+v|0;c=c+F|0;e=e+1|0;if((A|0)!=(e|0)){continue}break}}s=s+W|0;U=U+1|0;if((U|0)!=(I|0)){continue}break}break h}if((I|0)<1){break h}B=c+q|0;y=l+y|0;t=0;while(1){if((A|0)>=1){c=d-t|0;q=y+p(c,v)|0;i=B-p(c,F)|0;c=0;while(1){e=q>>16;A:{if(e>>>0>=m[a+8>>2]){break A}l=i>>16;if(l>>>0>=m[a+12>>2]){break A}e=(j[a+20>>2]+p(j[a+16>>2],g?S-l|0:l)|0)+((f?T-e|0:e)<<2)|0;e=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);h[s|0]=e;h[s+1|0]=e>>>8;h[s+2|0]=e>>>16;h[s+3|0]=e>>>24;A=j[u+8>>2]}s=s+4|0;i=i+v|0;q=q+F|0;c=c+1|0;if((A|0)>(c|0)){continue}break}I=j[w>>2]}s=s+W|0;t=t+1|0;if((I|0)>(t|0)){continue}break}break h}i=j[u+20>>2];C=j[u+16>>2];j[z+12>>2]=0;e=i;if(a){x=j[j[a+52>>2]+68>>2]>>>8&1}else{x=0}if(x){hn(a,z+12|0);x=k[z+12|0]}else{x=0}Oe(e,x,p(j[w>>2],j[u+16>>2]));s=j[w>>2];if((s|0)<1){break h}C=C-A|0;B=q+B|0;G=p(c,v);y=l+y|0;e=j[u+8>>2];A=0;while(1){if((e|0)>=1){c=d-A|0;s=y+p(c,v)|0;q=B-(G+p(c,F)|0)|0;c=0;while(1){l=s>>16;D=j[a+8>>2];B:{if(l>>>0>=D>>>0){break B}t=q>>16;E=j[a+12>>2];if(t>>>0>=E>>>0){break B}h[i|0]=k[(j[a+20>>2]+p(j[a+16>>2],g?E+(t^-1)|0:t)|0)+(f?D+(l^-1)|0:l)|0];e=j[u+8>>2]}i=i+1|0;q=q+v|0;s=s+F|0;c=c+1|0;if((e|0)>(c|0)){continue}break}s=j[w>>2]}i=i+C|0;A=A+1|0;if((A|0)<(s|0)){continue}break}}if(k[a|0]&2){jg(a)}s=u}oe=z+16|0;return s}function Mx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;r=j[a+28>>2];if(r){t=j[a+36>>2];u=j[a+16>>2];b=j[a+44>>2];l=b;c=j[a+24>>2];v=c&7;w=(c+7|0)/8|0;g=j[a>>2];a=j[a+20>>2];p=k[b+9|0];q=p-1|0;while(1){s=w;a:{b:{switch(v-1|0){default:c=7;break a;case 0:c=6;break a;case 1:c=5;break a;case 2:c=4;break a;case 3:c=3;break a;case 4:c=2;break a;case 5:c=1;break a;case 6:break b}}c=0}while(1){c:{d:{switch(c|0){case 0:c=j[g>>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];e:{f:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break e;case 3:break f;default:break e}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];g:{h:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break g;case 3:break h;default:break g}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];i:{j:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break i;case 3:break j;default:break i}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];k:{l:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break k;case 3:break l;default:break k}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];m:{n:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break m;case 3:break n;default:break m}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];o:{p:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break o;case 3:break p;default:break o}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];q:{r:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break q;case 3:break r;default:break q}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];s:{t:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break s;case 3:break t;default:break s}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];if(u){o=j[a+48>>2];v=j[a+36>>2];w=j[a+16>>2];i=j[a+24>>2];x=i&3;y=(i+3|0)/4|0;f=j[a>>2];i=j[a+20>>2];s=j[a+44>>2];b=j[a+40>>2];r=k[b+9|0];t=r-1|0;while(1){a=y;a:{b:{switch(x-1|0){default:d=3;break a;case 0:d=2;break a;case 1:d=1;break a;case 2:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:c=0;d=0;g=0;e=0;e:{f:{switch(t|0){case 0:c=k[f|0];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 1:c=l[f>>1];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 2:g=k[(k[b+34|0]>>>3|0)+f|0];d=k[(k[b+33|0]>>>3|0)+f|0];c=k[(k[b+32|0]>>>3|0)+f|0];e=255;break e;case 3:break f;default:break e}}c=j[f>>2];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=d;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[d+1|0];q=c;c=k[d|0];d=k[d+2|0];d=((p(n-m|0,e)|0)/255|0)+m>>>3&28|((p(q-c|0,e)|0)/255|0)+c&-32|(((p(g-d|0,e)|0)/255|0)+d&192)>>>6;e=i;if(o){d=k[(d&255)+o|0]}h[e|0]=d;f=f+r|0;i=i+1|0;d=1;continue;case 1:c=0;d=0;g=0;e=0;g:{h:{switch(t|0){case 0:c=k[f|0];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 1:c=l[f>>1];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 2:g=k[(k[b+34|0]>>>3|0)+f|0];d=k[(k[b+33|0]>>>3|0)+f|0];c=k[(k[b+32|0]>>>3|0)+f|0];e=255;break g;case 3:break h;default:break g}}c=j[f>>2];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=d;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[d+1|0];q=c;c=k[d|0];d=k[d+2|0];d=((p(n-m|0,e)|0)/255|0)+m>>>3&28|((p(q-c|0,e)|0)/255|0)+c&-32|(((p(g-d|0,e)|0)/255|0)+d&192)>>>6;e=i;if(o){d=k[(d&255)+o|0]}h[e|0]=d;f=f+r|0;i=i+1|0;d=2;continue;case 2:c=0;d=0;g=0;e=0;i:{j:{switch(t|0){case 0:c=k[f|0];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[f>>1];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:g=k[(k[b+34|0]>>>3|0)+f|0];d=k[(k[b+33|0]>>>3|0)+f|0];c=k[(k[b+32|0]>>>3|0)+f|0];e=255;break i;case 3:break j;default:break i}}c=j[f>>2];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=d;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[d+1|0];q=c;c=k[d|0];d=k[d+2|0];d=((p(n-m|0,e)|0)/255|0)+m>>>3&28|((p(q-c|0,e)|0)/255|0)+c&-32|(((p(g-d|0,e)|0)/255|0)+d&192)>>>6;e=u-1|0;c=i;if(o){d=k[(d&255)+o|0]}h[c|0]=d;f=f+r|0;i=i+1|0;if((a|0)<=1){break c}a=a-1|0;d=3;continue;default:break d}}e=0;g=0;c=0;d=0;k:{l:{switch(t|0){case 0:e=k[f|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((e&j[b+24>>2])>>>k[b+35|0]|0)|0];c=k[j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0];e=k[j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 1:e=l[f>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((e&j[b+24>>2])>>>k[b+35|0]|0)|0];c=k[j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0];e=k[j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 2:c=k[(k[b+34|0]>>>3|0)+f|0];g=k[(k[b+33|0]>>>3|0)+f|0];e=k[(k[b+32|0]>>>3|0)+f|0];d=255;break k;case 3:break l;default:break k}}e=j[f>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((e&j[b+24>>2])>>>k[b+35|0]|0)|0];c=k[j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0];e=k[j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=g;g=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[g+1|0];q=e;e=k[g|0];n=((p(n-m|0,d)|0)/255|0)+m>>>3&28|((p(q-e|0,d)|0)/255|0)+e&-32;e=d;d=k[g+2|0];d=n|(((p(e,c-d|0)|0)/255|0)+d&192)>>>6;e=i;if(o){d=k[(d&255)+o|0]}h[e|0]=d;f=f+r|0;i=i+1|0;d=0;continue}break}i=i+v|0;f=f+w|0;u=e;if(e){continue}break}}}function 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,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=oe-160|0;oe=f;q=j[b+100>>2];e=j[b+104>>2];j[b+132>>2]=0;d=Fe(e,0);j[f+156>>2]=d;a:{b:{if(d){break b}d=$e(e,163872,f+152|0);j[f+156>>2]=d;if(d){break b}j[f+156>>2]=2;c:{if(l[f+152>>1]!=23117){break c}d=Fe(e,l[f+154>>1]);j[f+156>>2]=d;if(d){break b}d=$e(e,163904,f+144|0);j[f+156>>2]=d;if(d){break b}d=2;j[f+156>>2]=2;d:{e:{f:{g:{switch(l[f+144>>1]-17742|0){case 0:d=Fe(e,l[f+146>>1]+l[f+154>>1]|0);j[f+156>>2]=d;if(d){break b}d=_e(e,l[f+148>>1]-l[f+146>>1]|0);j[f+156>>2]=d;if(d){break b}o=pg(e);n=pg(e);h:{if(n){while(1){d=pg(e);g=((j[e+8>>2]+j[e+32>>2]|0)-j[e+36>>2]|0)+4|0;if((n&65535)==32776){break h}j[e+32>>2]=(j[e+32>>2]+p(d,12)|0)+4;n=pg(e);if(n){continue}break}}d=0;g=0}Ve(e);if(!(d?g:0)){j[f+156>>2]=3;break b}if(m[e+4>>2]>>0){j[f+156>>2]=3;break b}j[b>>2]=d;if((c|0)>=(d|0)){j[f+156>>2]=6;break b}if((c|0)<0){break b}y=b,z=He(q,172,f+156|0),j[y+132>>2]=z;if(j[f+156>>2]){break b}d=Fe(e,g+p(c,12)|0);j[f+156>>2]=d;if(d){break c}d=_e(e,12);j[f+156>>2]=d;if(d){break c}d=pg(e);j[j[b+132>>2]>>2]=d<>2]+164>>2]=d<>2]=j[e+32>>2]+8;Ve(e);d=Nl(j[b+132>>2],e);j[f+156>>2]=d;break f;case 2:break g;default:break f}}d=Fe(e,l[f+154>>1]);j[f+156>>2]=d;n=2;i:{if(d){break i}d=$e(e,163936,f+120|0);j[f+156>>2]=d;if(d){break i}j:{if(j[f+120>>2]!=17744|l[f+124>>1]!=332|(l[f+128>>1]!=224|l[f+130>>1]!=267)){break j}j[b>>2]=0;k:{l:{if(!l[f+126>>1]){break l}m:{while(1){n:{d=$e(e,164e3,f+96|0);j[f+156>>2]=d;if(d){break n}if(j[f+132>>2]==j[f+104>>2]){break m}g=g+1|0;if(l[f+126>>1]>(g&65535)>>>0){continue}break l}break}break i}d=Fe(e,j[f+112>>2]);j[f+156>>2]=d;if(d){break i}d=$e(e,164032,f+80|0);j[f+156>>2]=d;if(d){break i}d=0;o=1;n=0;if(l[f+94>>1]==(0-l[f+92>>1]|0)){break i}t=j[f+112>>2];v=t+16|0;g=0;while(1){d=Fe(e,(g<<3)+v|0);j[f+156>>2]=d;if(d){break k}d=$e(e,164064,f+40|0);j[f+156>>2]=d;if(d){break k}d=j[f+44>>2];if((d|0)>=0){break l}d=d&2147483647;j[f+44>>2]=d;g=d+j[f+112>>2]|0;d=Fe(e,g);j[f+156>>2]=d;if(d){break k}d=$e(e,164032,f- -64|0);j[f+156>>2]=d;if(d){break k}if(l[f+78>>1]!=(0-l[f+76>>1]|0)){w=g+16|0;o=0;d=0;s=0;while(1){d=Fe(e,(d<<3)+w|0);j[f+156>>2]=d;if(d){n=2;break i}d=$e(e,164064,f+32|0);j[f+156>>2]=d;if(d){n=2;break i}d=j[f+36>>2];if((d|0)>=0){break j}d=d&2147483647;j[f+36>>2]=d;g=d+j[f+112>>2]|0;d=Fe(e,g);j[f+156>>2]=d;if(d){n=2;break i}d=$e(e,164032,f+48|0);j[f+156>>2]=d;if(d){n=2;break i}if(l[f+62>>1]!=(0-l[f+60>>1]|0)){x=g+16|0;d=0;n=0;while(1){d=Fe(e,(d<<3)+x|0);j[f+156>>2]=d;if(d){break k}d=$e(e,164064,f+24|0);j[f+156>>2]=d;if(d){break k}if(j[f+36>>2]<=-1){break l}if(j[f+40>>2]==8){d=Fe(e,j[f+28>>2]+t|0);j[f+156>>2]=d;if(d){break k}d=$e(e,164080,f+8|0);j[f+156>>2]=d;if(d){break k}g=b;d=j[b>>2];if((d|0)==(c|0)){r=He(q,172,f+156|0);j[b+132>>2]=r;d=j[f+156>>2];if(d){break k}j[r>>2]=(j[f+8>>2]+j[f+112>>2]|0)-j[f+104>>2];j[r+164>>2]=j[f+12>>2];d=Nl(r,e);j[f+156>>2]=d;if(d){n=13;break i}d=j[b>>2]}j[g>>2]=d+1}n=n+1|0;d=n&65535;if(d>>>0>1]+l[f+60>>1]>>>0){continue}break}}s=s+1|0;d=s&65535;if(d>>>0>1]+l[f+76>>1]>>>0){continue}break}}o=1;d=0;n=0;u=u+1|0;g=u&65535;if(g>>>0>1]+l[f+92>>1]>>>0){continue}break}break i}d=3;j[f+156>>2]=3}o=0;n=2;break i}d=3;j[f+156>>2]=3;n=2}if(!o){break e}}e=j[b>>2];if(!e){j[f+156>>2]=3;break b}if((c|0)<(e|0)){break d}j[f+156>>2]=6;break b}switch(n|0){case 2:break b;case 0:case 13:break d;default:break a}}if(!d){break b}}d=j[b+132>>2];if(!d){break b}e=j[b+100>>2];if(j[d+160>>2]){jf(j[b+104>>2],d+160|0)}g=j[d+168>>2];if(g){qe[j[e+8>>2]](e,g)}j[d+168>>2]=0;if(d){qe[j[e+8>>2]](e,d)}j[b+132>>2]=0}e=j[f+156>>2]}j[f+96>>2]=e;o:{if((c|0)<=-1){d=0;if(!e){break o}}p:{q:{r:{if((e&255)==2){e=He(q,172,f+96|0);j[b+132>>2]=e;d=j[f+96>>2];if(d){break o}j[b>>2]=1;j[e>>2]=0;j[e+164>>2]=j[a+4>>2];a=Nl(e,a);j[f+96>>2]=a;if(a){break p}if((c|0)>=1){j[f+96>>2]=6;break p}d=0;if((c|0)>=0){break r}break o}if(e){break q}}j[b+4>>2]=c;a=j[b+8>>2];j[b+8>>2]=a|18;c=j[b+132>>2];if(l[c+100>>1]==l[c+102>>1]){j[b+8>>2]=a|22}if(k[c+86|0]){j[b+12>>2]=j[b+12>>2]|1}if(l[c+90>>1]>=800){j[b+12>>2]=j[b+12>>2]|2}d=xe(q,16,0,1,0,f+96|0);j[b+32>>2]=d;if(j[f+96>>2]){break p}j[b+28>>2]=1;i[d+2>>1]=l[c+100>>1];i[d>>1]=l[c+84>>1]+l[c+96>>1];e=l[c+74>>1]<<6;j[d+4>>2]=e;a=l[c+78>>1];g=e;e=l[c+76>>1];e=e?e:72;g=Ne(g,e,72)+32&-64;j[d+12>>2]=g;n=a?a:72;a=l[c+96>>1]<<6;s:{if((a|0)>=(g|0)){a=j[d+4>>2];break s}j[d+12>>2]=a;a=Ne(a,72,e);j[d+4>>2]=a}y=d,z=Ne(a,n,72)+32&-64,j[y+8>>2]=z;j[f+120>>2]=b;j[f+124>>2]=0;j[f+128>>2]=0;if(k[c+92|0]==77){i[f+128>>1]=1;j[f+124>>2]=1634889070}a=qg(163796,0,f+120|0,0);j[f+96>>2]=a;if(a){break p}if(j[b+36>>2]){j[b+92>>2]=j[j[b+40>>2]>>2]}a=k[c+105|0];d=k[c+104|0];if(a>>>0>>0){j[f+96>>2]=3;break p}j[b+16>>2]=(a-d|0)+2;a=j[c+8>>2];d=j[c+116>>2];if(a>>>0<=d>>>0){j[f+96>>2]=3;break p}a=a-d|0;d=He(q,a+1|0,f+96|0);j[c+168>>2]=d;if(j[f+96>>2]){break p}Ae(d,j[c+160>>2]+j[c+116>>2]|0,a);h[a+j[c+168>>2]|0]=0;d=a;a=j[c+168>>2];a=xe(q,1,d,Le(a)+1|0,a,f+96|0);j[c+168>>2]=a;if(j[f+96>>2]){break p}j[b+24>>2]=163836;j[b+20>>2]=a;c=j[b+12>>2];a=c&1;if(c&2){if(a){j[b+24>>2]=163844;d=0;break o}j[b+24>>2]=163856;d=0;break o}d=0;if(!a){break o}j[b+24>>2]=163861;break o}d=e;if(!b){break o}}a=j[b+100>>2];d=j[b+132>>2];if(d){if(j[d+160>>2]){jf(j[b+104>>2],d+160|0)}c=a;e=j[d+168>>2];if(e){qe[j[c+8>>2]](c,e)}j[d+168>>2]=0;if(d){qe[j[a+8>>2]](a,d)}j[b+132>>2]=0}c=j[b+32>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+28>>2]=0;j[b+32>>2]=0;d=j[f+96>>2]}oe=f+160|0;return d|0}function SD(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=q(0),F=0;d=54389;g=oe-304|0;oe=g;e=k[54389];a:{if(!e){break a}b:{c:{while(1){d:{e=e&255;e:{if((e|0)==32|e-9>>>0<5){while(1){e=d;d=d+1|0;c=k[e+1|0];if((c|0)==32|c-9>>>0<5){continue}break}kg(a,0,0);while(1){c=j[a+4>>2];f:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break f}c=ff(a)}if((c|0)==32|c-9>>>0<5){continue}break}d=j[a+4>>2];if(j[a+104>>2]){d=d-1|0;j[a+4>>2]=d}l=d-j[a+8>>2]|0;c=l;l=c>>31;d=c;r=r+j[a+124>>2]|0;c=t+j[a+120>>2]|0;r=c>>>0>>0?r+1|0:r;t=d+c|0;r=r+l|0;r=c>>>0>t>>>0?r+1|0:r;break e}g:{h:{i:{e=k[d|0];if((e|0)==37){c=k[d+1|0];if((c|0)==42){break i}if((c|0)!=37){break h}}kg(a,0,0);e=((e|0)==37)+d|0;c=j[a+4>>2];j:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break j}c=ff(a)}if((c|0)!=k[e|0]){if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}A=0;if((c|0)>=0){break a}break b}c=t+1|0;r=c>>>0<1?r+1|0:r;t=c;break e}l=0;e=d+2|0;break g}if(!(k[d+2|0]!=36|c-48>>>0>=10)){l=RD(b,k[d+1|0]-48|0);e=d+3|0;break g}l=j[b>>2];b=b+4|0;e=d+1|0}A=0;d=0;if(k[e|0]-48>>>0<10){while(1){d=(k[e|0]+p(d,10)|0)-48|0;c=k[e+1|0];e=e+1|0;if(c-48>>>0<10){continue}break}}c=e;f=k[c|0];k:{if((f|0)!=109){break k}v=0;A=(l|0)!=0;f=k[e+1|0];w=0;c=e+1|0}e=c+1|0;s=3;l:{m:{switch(f-65|0){case 39:f=c+2|0;c=k[c+1|0]==104;e=c?f:e;s=c?-2:-1;break l;case 43:f=c+2|0;c=k[c+1|0]==108;e=c?f:e;s=c?3:1;break l;case 51:case 57:s=1;break l;case 11:s=2;break l;case 41:break l;case 0:case 2:case 4:case 5:case 6:case 18:case 23:case 26:case 32:case 34:case 35:case 36:case 37:case 38:case 40:case 45:case 46:case 47:case 50:case 52:case 55:break m;default:break b}}s=0;e=c}f=k[e|0];c=(f&47)==3;z=c?1:s;x=c?f|32:f;n:{if((x|0)==91){break n}o:{if((x|0)!=110){if((x|0)!=99){break o}d=(d|0)>1?d:1;break n}ap(l,z,t,r);break e}kg(a,0,0);while(1){c=j[a+4>>2];p:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break p}c=ff(a)}if((c|0)==32|c-9>>>0<5){continue}break}c=j[a+4>>2];if(j[a+104>>2]){c=c-1|0;j[a+4>>2]=c}c=c-j[a+8>>2]|0;f=c;c=c>>31;u=f;y=r+j[a+124>>2]|0;f=t+j[a+120>>2]|0;y=f>>>0>>0?y+1|0:y;t=u+f|0;c=c+y|0;c=f>>>0>t>>>0?c+1|0:c;r=c}y=d;B=d>>31;kg(a,d,B);c=j[a+104>>2];f=j[a+4>>2];q:{if(c>>>0>f>>>0){j[a+4>>2]=f+1;break q}if((ff(a)|0)<0){break b}c=j[a+104>>2]}if(c){j[a+4>>2]=j[a+4>>2]-1}c=16;r:{s:{t:{u:{v:{w:{x:{switch(x-88|0){default:c=x-65|0;if(c>>>0>6|!(1<>2]-j[a+8>>2]|0;c=d;if(j[a+120>>2]==(0-c|0)&j[a+124>>2]==(0-((c>>31)+((c|0)!=0)|0)|0)){break b}if(!l){break r}y=j[g+8>>2];f=j[g+12>>2];d=j[g>>2];c=j[g+4>>2];switch(z|0){case 2:break t;case 1:break u;case 0:break v;default:break r};case 3:case 11:case 27:if((x&239)==99){Ee(g+32|0,-1,257);h[g+32|0]=0;if((x|0)!=115){break s}h[g+65|0]=0;h[g+46|0]=0;i[g+42>>1]=0;i[g+44>>1]=0;break s}u=k[e+1|0];f=(u|0)==94;Ee(g+32|0,f,257);h[g+32|0]=0;c=f?e+2|0:e+1|0;y:{z:{A:{e=k[(f?2:1)+e|0];if((e|0)!=45){if((e|0)==93){break A}s=(u|0)!=94;break y}s=(u|0)!=94;h[g+78|0]=s;break z}s=(u|0)!=94;h[g+126|0]=s}c=c+1|0}e=c;while(1){c=k[e|0];B:{if((c|0)!=45){if(!c){break b}if((c|0)!=93){break B}break s}c=45;u=k[e+1|0];if(!u|(u|0)==93){break B}f=e+1|0;e=k[e-1|0];C:{if(u>>>0<=e>>>0){c=u;break C}while(1){e=e+1|0;h[e+(g+32|0)|0]=s;c=k[f|0];if(e>>>0>>0){continue}break}}e=f}h[(c+g|0)+33|0]=s;e=e+1|0;continue};case 23:c=8;break w;case 12:case 29:c=10;break w;case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break r;case 0:case 24:case 32:break w;case 17:break x}}c=0}y=bp(a,c,0,-1,-1);f=pe;d=j[a+4>>2]-j[a+8>>2]|0;c=d;if(j[a+120>>2]==(0-c|0)&j[a+124>>2]==(0-((c>>31)+((c|0)!=0)|0)|0)){break b}if(!(!l|(x|0)!=112)){j[l>>2]=y;break r}ap(l,z,y,f);break r}D=l,E=ED(d,c,y,f),n[D>>2]=E;break r}D=l,F=tl(d,c,y,f),o[D>>3]=F;break r}j[l>>2]=d;j[l+4>>2]=c;j[l+8>>2]=y;j[l+12>>2]=f;break r}x=(x|0)==99;s=x?d+1|0:31;u=(z|0)!=1;D:{if(!u){c=l;if(A){c=Te(s<<2);if(!c){break c}}j[g+296>>2]=0;j[g+300>>2]=0;d=0;while(1){w=c;E:{while(1){c=j[a+4>>2];F:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break F}c=ff(a)}if(!k[(c+g|0)+33|0]){break E}h[g+27|0]=c;c=TD(g+28|0,g+27|0,g+296|0);if((c|0)==-2){continue}if((c|0)==-1){break d}if(w){j[(d<<2)+w>>2]=j[g+28>>2];d=d+1|0}if(A^1|(d|0)!=(s|0)){continue}break}s=s<<1|1;c=Vf(w,s<<2);if(c){continue}break d}break}c=g+296|0;f=1;G:{if(!c){break G}f=!j[c>>2]}if(!f){break d}v=0;break D}if(A){d=0;c=Te(s);if(!c){break c}while(1){v=c;while(1){c=j[a+4>>2];H:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break H}c=ff(a)}if(!k[(c+g|0)+33|0]){w=0;break D}h[d+v|0]=c;d=d+1|0;if((s|0)!=(d|0)){continue}break}w=0;s=s<<1|1;c=Vf(v,s);if(c){continue}break}break b}d=0;if(l){while(1){c=j[a+4>>2];I:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break I}c=ff(a)}if(k[(c+g|0)+33|0]){h[d+l|0]=c;d=d+1|0;continue}else{w=0;v=l;break D}}}while(1){c=j[a+4>>2];J:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break J}c=ff(a)}if(k[(c+g|0)+33|0]){continue}break}v=0;w=0}c=j[a+4>>2];if(j[a+104>>2]){c=c-1|0;j[a+4>>2]=c}c=c-j[a+8>>2]|0;f=c;z=c+j[a+120>>2]|0;c=j[a+124>>2]+(c>>31)|0;c=f>>>0>z>>>0?c+1|0:c;if(!(c|z)|(x?(y|0)!=(z|0)|(c|0)!=(B|0):0)){break b}K:{if(!A){break K}if(!u){j[l>>2]=w;break K}j[l>>2]=v}if(x){break r}if(w){j[(d<<2)+w>>2]=0}if(!v){v=0;break r}h[d+v|0]=0}d=j[a+4>>2]-j[a+8>>2]|0;c=d;d=c>>31;f=c;r=r+j[a+124>>2]|0;c=t+j[a+120>>2]|0;r=c>>>0>>0?r+1|0:r;t=f+c|0;r=d+r|0;r=c>>>0>t>>>0?r+1|0:r;C=((l|0)!=0)+C|0}d=e+1|0;e=k[e+1|0];if(e){continue}break a}break}v=0;break b}v=0;w=0}if(!A){break a}ze(v);ze(w)}oe=g+304|0}function fz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,l=0,m=0,p=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=q(0),L=q(0),M=0,N=0,O=0,P=0;d=oe+ -64|0;oe=d;a:{b:{e=j[a+436>>2];f=j[e>>2];if(f){break b}f=j[e+4>>2];j[e>>2]=f;if(f){break b}f=qj(j[a+188>>2]);if(f){j[e>>2]=f;j[e+4>>2]=f;break b}f=j[e>>2];if(f){break b}a=-1;break a}if(b){a=1;while(1){c:{d:{e:{switch(j[b>>2]-1|0){case 0:u=b+8|0;a=1;break c;case 1:s=j[b+4>>2]?b+8|0:0;a=1;break c;case 3:i=k[b+11|0];m=k[b+10|0];e=k[b+9|0];a=k[b+8|0];vg(f,0);Dh(f,0,Ki(j[f+4>>2],a,e,m,i));a=1;break c;case 4:e=j[b+4>>2];x=j[b+16>>2];w=j[b+8>>2];l=k[b+15|0];p=k[b+14|0];i=k[b+13|0];m=k[b+12|0];f:{if(!a){break f}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break f}vg(f,u)}a=c+e|0;if(!x){Nz(f,a,w,Ki(j[f+4>>2],m,i,p,l));break d}Lz(f,a,w,x,m,i,p,l);break d;case 5:e=j[b+4>>2];x=j[b+16>>2];w=j[b+8>>2];l=k[b+15|0];p=k[b+14|0];i=k[b+13|0];m=k[b+12|0];g:{if(!a){break g}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break g}vg(f,u)}a=c+e|0;if(!x){Hz(f,a,w,Ki(j[f+4>>2],m,i,p,l));break d}zz(f,a,w,x,m,i,p,l);break d;case 6:e=j[b+4>>2];x=j[b+16>>2];w=j[b+8>>2];l=k[b+15|0];p=k[b+14|0];i=k[b+13|0];m=k[b+12|0];h:{if(!a){break h}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break h}vg(f,u)}a=c+e|0;if(!x){Sy(f,a,w,Ki(j[f+4>>2],m,i,p,l));break d}sz(f,a,w,x,m,i,p,l);break d;case 7:e=j[b+4>>2];l=j[j[b+20>>2]+76>>2];i:{if(!a){break i}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break i}vg(f,u)}A=c+e|0;w=j[b+16>>2];x=j[j[b+20>>2]+76>>2];a=k[b+14|0];m=k[b+13|0];e=k[b+12|0];p=k[b+15|0];j:{if(!((a&(m&e))!=255|(p|0)!=255|(w|0)==2)){if((w|0)!=4){break j}}uj(x,0)}i=A+16|0;$h(x,e,m,a);Ji(x,p);cg(x,w);if(!(j[A+8>>2]!=j[A+24>>2]|j[A+12>>2]!=j[A+28>>2])){gh(l,A,f,i);break d}a=0;uj(f,0);fn(l,A,f,i);break c;case 8:break e;default:break c}}e=j[b+4>>2];k:{if(!a){break k}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break k}vg(f,u)}t=c+e|0;p=j[b+16>>2];l=j[j[b+20>>2]+76>>2];a=k[b+14|0];m=k[b+13|0];e=k[b+12|0];i=k[b+15|0];l:{if(!((a&(m&e))!=255|(i|0)!=255|(p|0)==2)){if((p|0)!=4){break l}}uj(l,0)}$h(l,e,m,a);Ji(l,i);cg(l,p);w=j[t+48>>2];g=o[t+32>>3];p=j[b+20>>2];v=j[p+76>>2];j[d+48>>2]=0;j[d+52>>2]=0;j[d+56>>2]=j[t+24>>2];j[d+60>>2]=j[t+28>>2];if(k[v|0]&2){Eg(v)}a=j[v+4>>2];a=vj(j[v+20>>2],j[v+8>>2],j[v+12>>2],k[a+8|0],j[v+16>>2],j[a+12>>2],j[a+16>>2],j[a+20>>2],j[a+24>>2]);if(!a){if(!(k[v|0]&2)){break d}jg(v);break d}tj(v,d+20|0);e=d+19|0;if(v){if(e){h[e|0]=k[j[v+52>>2]+79|0]}}gn(v,d+18|0,d+17|0,d+16|0);m=j[v+4>>2];m:{if(!(k[m+8|0]!=32|(j[m>>2]&983040)!=393216)){l=0;if(j[m+24>>2]){break m}}l=1}e=j[t+8>>2];n:{if(!(j[t>>2]|((e|0)!=j[t+24>>2]|j[t+12>>2]!=j[t+28>>2]))){if(!j[t+4>>2]){break n}}l=1}o:{if(!(j[t>>2]|((e|0)!=j[v+8>>2]|j[t+12>>2]!=j[v+12>>2]))){if(!j[t+4>>2]){break o}}l=1}J=1;B=0;i=j[d+20>>2];e=0;p:{if(i&-5){break p}m=k[d+19|0];e=k[d+16|0]&(k[d+17|0]&(m&k[d+18|0]));J=(e|0)==255;if(!J){Ji(a,m);$h(a,k[d+18|0],k[d+17|0],k[d+16|0]);i=j[d+20>>2]}e=(e|0)!=255}q:{r:{if(!i){if(!j[j[v+4>>2]+24>>2]){m=1;if(k[d+19|0]==255){break r}}B=ug(0,j[t+24>>2],j[t+28>>2],32,16711680,65280,255,-16777216);if(!B){cg(a,j[d+20>>2]);B=0;break q}cg(B,4)}m=0}s:{if(!(e|l)){cg(a,j[d+20>>2]);break s}e=j[d+60>>2];j[d+8>>2]=j[d+56>>2];j[d+12>>2]=e;e=j[d+52>>2];j[d>>2]=j[d+48>>2];j[d+4>>2]=e;l=0;e=ug(0,j[t+24>>2],j[t+28>>2],32,16711680,65280,255,-16777216);if(e){cg(a,0);i=fn(a,t,e,d);kf(a);l=!i;a=e}cg(a,j[d+20>>2]);if(!l){break q}}$y(j[d+56>>2],j[d+60>>2],g,d+44|0,d+40|0,d+32|0,d+24|0);i=j[d+44>>2];e=j[d+40>>2];y=Jn(a,g,(i|0)/2|0,(e|0)/2|0,j[p+28>>2]!=0,w&1,w&2,i,e,o[d+32>>3],o[d+24>>3]);t:{if(!(!B|!y)){i=j[d+44>>2];e=j[d+40>>2];l=Jn(B,g,(i|0)/2|0,(e|0)/2|0,0,0,0,i,e,o[d+32>>3],o[d+24>>3]);if(l){break t}break q}l=0;if(!y){break q}}A=j[t+16>>2];x=j[t+20>>2];K=n[t+40>>2];L=n[t+44>>2];D=-o[d+24>>3];o[d+24>>3]=D;w=j[t+24>>2];e=j[t+28>>2];j[d+56>>2]=j[d+44>>2];j[d+60>>2]=j[d+40>>2];H=o[d+32>>3];g=H;if(q(r(L))z?z:g;z=E+N+I;g=F+N+I;g=g>z?z:g;g=g>G?G:g;u:{if(r(g)<2147483648){p=~~g;break u}p=-2147483648}j[e+52>>2]=p;e=d;E=H*O;g=D*C;C=+(i+A|0);z=E-g+C;F=H*P;g=F-g+C;G=g>z?z:g;g=D*M;z=E-g+C;g=F-g+C;g=g>z?z:g;g=g>G?G:g;v:{if(r(g)<2147483648){i=~~g;break v}i=-2147483648}j[e+48>>2]=i;w:{if(!(!j[d+20>>2]&(m^-1))){if(J){Ji(y,k[d+19|0]);$h(y,k[d+18|0],k[d+17|0],k[d+16|0])}gh(y,0,f,d+48|0);break w}e=j[d+60>>2];j[d+8>>2]=j[d+56>>2];j[d+12>>2]=e;e=j[d+52>>2];j[d>>2]=j[d+48>>2];j[d+4>>2]=e;cg(l,0);x:{if(gh(l,0,f,d)){break x}$h(y,0,0,0);e=j[d+60>>2];j[d+8>>2]=j[d+56>>2];j[d+12>>2]=e;e=j[d+52>>2];j[d>>2]=j[d+48>>2];j[d+4>>2]=e;if(gh(y,0,f,d)){break x}e=j[y+4>>2];e=vj(j[y+20>>2],j[y+8>>2],j[y+12>>2],k[e+8|0],j[y+16>>2],j[e+12>>2],j[e+16>>2],j[e+20>>2],0);if(!e){break x}cg(e,2);gh(e,0,f,d+48|0);kf(e)}kf(l)}if(!y){break q}kf(y)}if(k[v|0]&2){jg(v)}if(B){kf(B)}kf(a)}a=0}b=j[b+24>>2];if(b){continue}break}}a=0}oe=d- -64|0;return a|0}function vG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;a=oe-336|0;oe=a;j[b>>2]=1;w=b+500|0;j[w>>2]=0;x=Bh(j[b+96>>2],162576);j[b+484>>2]=x;s=dh(j[j[b+96>>2]+4>>2],162593);j[b+488>>2]=s;a:{if(!s){f=11;break a}n=j[b+100>>2];Ee(a+16|0,0,304);z=b,A=He(n,12,a+12|0),j[z+492>>2]=A;b:{if(j[a+12>>2]){break b}j[b+496>>2]=12;f=j[b+104>>2];qe[j[j[s+4>>2]>>2]](a+16|0,0,0,n);h[a+100|0]=0;j[a+92>>2]=0;j[a+96>>2]=0;j[a+88>>2]=f;g=Fe(f,0);j[a+320>>2]=g;c:{d:{if(g){break d}g=_e(f,17);j[a+320>>2]=g;if(g){break d}if(Bg(j[f+32>>2],162615,17)){g=2;j[a+320>>2]=2;Ve(f);break d}Ve(f);g=Fe(f,0);j[a+320>>2]=g;if(g){break d}m=j[f+4>>2];e:{if(!j[f+20>>2]){g=j[f+8>>2];o=j[f>>2];h[a+100|0]=1;j[a+96>>2]=m;j[a+92>>2]=g+o;g=xf(f,m);j[a+320>>2]=g;if(g){break d}m=j[a+96>>2];break e}o=He(n,m,a+320|0);j[a+92>>2]=o;g=j[a+320>>2];if(g){break d}g=uf(f,o,m);j[a+320>>2]=g;if(g){break d}j[a+96>>2]=m}g=j[a+92>>2];j[a+20>>2]=g;j[a+12>>2]=0;break c}if(k[a+100|0]){j[a+12>>2]=g;break b}f=j[a+92>>2];if(f){qe[j[n+8>>2]](n,f)}g=0;j[a+92>>2]=0;f=j[a+320>>2];j[a+12>>2]=f;if(f){break b}m=j[a+96>>2]}j[a+28>>2]=0;j[a+16>>2]=g;m=g+m|0;j[a+24>>2]=m;qe[j[a+44>>2]](a+16|0);f:{f=j[a+16>>2];if(m>>>0>f>>>0){t=b+132|0;u=b+164|0;v=b+460|0;while(1){g:{h:{g=k[f|0];if(!((g|0)!=70|m>>>0<=f+25>>>0)){if(Qe(f,162633,13)){break h}qe[j[a+48>>2]](a+16|0);qe[j[a+44>>2]](a+16|0);g=j[a+16>>2];f=g;i:{if(m>>>0<=f>>>0){break i}while(1){j:{if(!(k[f|0]!=107|m>>>0<=f+5>>>0)){if(!Qe(f,162647,5)){break j}}qe[j[a+48>>2]](a+16|0);f=j[a+28>>2];if(f){break f}qe[j[a+44>>2]](a+16|0);f=j[a+16>>2];if(m>>>0>f>>>0){continue}break i}break}qe[j[a+48>>2]](a+16|0);qe[j[a+72>>2]](a+16|0,a+320|0);g=j[a+328>>2]==3?j[a+16>>2]:g}j[a+16>>2]=g;break g}if((g|0)!=47|m>>>0<=f+2>>>0){break h}g=f+1|0;j[a+16>>2]=g;qe[j[a+48>>2]](a+16|0);f=j[a+28>>2];if(f){break f}n=j[a+16>>2];if(n>>>0>=m>>>0){break g}f=0;q=n-g|0;if(q-1>>>0>20){break g}while(1){k:{n=p(f,36);r=n+162656|0;o=j[r>>2];if(!o|k[g|0]!=k[o|0]){break k}if((Le(o)|0)!=(q|0)){break k}if(Bg(g,o,q)){break k}g=a;l:{if(f-15>>>0<=3){qe[j[n+162668>>2]](b,a+16|0);f=j[a+28>>2];break l}f=j[n+162664>>2];m:{n:{switch(j[n+162660>>2]-2|0){case 0:j[a+320>>2]=u;break m;case 3:j[a+320>>2]=v;break m;default:break n}}j[a+320>>2]=t}if(f-9>>>0<=1){f=qe[j[a+84>>2]](a+16|0,r,a+320|0,0,0)|0;break l}f=qe[j[a+80>>2]](a+16|0,r,a+320|0,0,0)|0}j[g+28>>2]=f;if(!f){break g}j[a+12>>2]=f;break b}f=f+1|0;if((f|0)!=20){continue}break}break g}qe[j[a+48>>2]](a+16|0);f=j[a+28>>2];if(f){break f}}qe[j[a+44>>2]](a+16|0);f=j[a+16>>2];if(m>>>0>f>>>0){continue}break}}f=j[a+28>>2];j[a+12>>2]=f;if(f){break b}if(k[b+433|0]!=42){j[a+12>>2]=2;break b}o=j[a+160>>2];j[b+416>>2]=o;if(!j[a+228>>2]){j[a+12>>2]=3}m=0;j[a+228>>2]=0;j[b+396>>2]=j[a+216>>2];j[b+424>>2]=j[a+240>>2];j[b+428>>2]=j[a+244>>2];j[b+400>>2]=j[a+164>>2];j[b+420>>2]=j[a+188>>2];j[a+188>>2]=0;j[a+164>>2]=0;if(j[b+368>>2]!=1){break b}n=0;t=j[a+124>>2];if((t|0)>=1){g=0;while(1){u=g<<1;i[u+j[b+384>>2]>>1]=0;q=g<<2;j[q+j[b+388>>2]>>2]=162607;o:{if((o|0)<1){break o}v=j[q+j[a+132>>2]>>2];if(!v){break o}y=j[b+420>>2];f=0;while(1){r=j[(f<<2)+y>>2];if(!we(v,r)){i[u+j[b+384>>2]>>1]=f;j[q+j[b+388>>2]>>2]=r;if(!we(162607,r)){break o}n=(g|0)<(n|0)?n:g+1|0;m=(g|0)<(m|0)?g:m;break o}f=f+1|0;if((o|0)!=(f|0)){continue}break}}g=g+1|0;if((t|0)!=(g|0)){continue}break}}j[b+380>>2]=n;j[b+376>>2]=m;j[b+372>>2]=j[a+104>>2];break b}j[a+12>>2]=f}f=j[a+156>>2];if(f){qe[f|0](a+108|0)}f=j[a+264>>2];if(f){qe[f|0](a+216|0)}f=j[a+212>>2];if(f){qe[f|0](a+164|0)}f=j[a+316>>2];if(f){qe[f|0](a+268|0)}if(!k[a+100|0]){f=j[a+32>>2];g=j[a+92>>2];if(g){qe[j[f+8>>2]](f,g)}j[a+92>>2]=0}qe[j[a+40>>2]](a+16|0);f=j[a+12>>2];if(f|(c|0)<0){break a}f=6;if((c|0)>0){break a}j[b+36>>2]=0;j[b+4>>2]=0;j[b+24>>2]=162599;j[b+16>>2]=j[b+416>>2];c=j[b+144>>2];j[b+20>>2]=c;j[b+8>>2]=j[b+8>>2]|(k[b+156|0]?533:529)|2048;p:{if(c){f=j[b+140>>2];if(!f){break p}g=k[f|0];if(!g){break p}while(1){m=g&255;g=k[c|0];q:{if((m|0)==(g|0)){f=f+1|0;c=c+1|0;break q}m=m-32|0;if(!(!m|(m|0)==13)){r:{switch(g-32|0){case 0:case 13:c=c+1|0;break q;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break p;default:break r}}if(g){break p}j[b+24>>2]=f;break p}f=f+1|0}g=k[f|0];if(g){continue}break}break p}c=j[b+364>>2];if(!c){break p}j[b+20>>2]=c}j[b+28>>2]=0;j[b+32>>2]=0;j[a+16>>2]=9;z=a,A=Kf(j[j[b+96>>2]+4>>2],162408),j[z+36>>2]=A;j[a+20>>2]=j[b+492>>2];j[a+24>>2]=j[b+496>>2];if(d){j[a+44>>2]=e;j[a+40>>2]=d;j[a+16>>2]=25}f=Gm(j[j[b+96>>2]+4>>2],a+16|0,0,w);if(f){break a}Xr(j[j[b+500>>2]+88>>2]);c=j[b+500>>2];d=j[c+56>>2];j[b+52>>2]=j[c+52>>2];j[b+56>>2]=d;d=j[c+64>>2];j[b+60>>2]=j[c+60>>2];j[b+64>>2]=d;i[b+68>>1]=l[c+68>>1];i[b+70>>1]=l[c+70>>1];i[b+72>>1]=l[c+72>>1];i[b+74>>1]=l[c+74>>1];i[b+76>>1]=l[c+76>>1];i[b+78>>1]=l[c+78>>1];i[b+80>>1]=l[b+158>>1];i[b+82>>1]=l[b+160>>1];d=j[b+152>>2]!=0;j[b+12>>2]=d;if(k[c+12|0]&2){j[b+12>>2]=d|2}if(k[c+8|0]&32){j[b+8>>2]=j[b+8>>2]|32}if(!x){f=0;break a}c=j[s+20>>2];j[a+16>>2]=b;j[a+20>>2]=1970170211;j[a+24>>2]=65539;f=qg(j[c+12>>2],0,a+16|0,0);if((f&255)!=163?f:0){break a}i[a+24>>1]=7;f=0;s:{t:{switch(j[b+368>>2]-1|0){case 1:i[a+26>>1]=0;j[a+20>>2]=1094995778;break s;case 3:i[a+26>>1]=1;j[a+20>>2]=1094992453;c=c+4|0;break s;case 0:i[a+26>>1]=2;j[a+20>>2]=1094992451;c=c+8|0;break s;case 2:break t;default:break a}}c=c+12|0;i[a+26>>1]=3;j[a+20>>2]=1818326065}b=j[c>>2];if(!b){break a}f=qg(b,0,a+16|0,0)}oe=a+336|0;return f|0}function iA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;g=oe-80|0;oe=g;j[g+60>>2]=0;j[g+56>>2]=0;j[g+52>>2]=0;a:{if((eh(21,g+60|0)|0)<0){break a}if((eh(17,g+56|0)|0)<0){break a}b:{if((eh(18,g+52|0)|0)<0){break b}i=Ii(a);l=!(i&2)|j[g+60>>2]!=4|j[g+56>>2]<2;c:{if(l){_h(21,4);_h(17,2);_h(18,0);if((_m(a,i|2)|0)<0){break c}}f=Xe(1,440);d:{if(!f){Be(0);break d}d=Xe(1,492);if(!d){if(f){qe[j[57975]](f);j[57976]=j[57976]-1}Be(0);break d}Ae(f+104|0,231396,84);j[f+436>>2]=d;j[f+108>>2]=10;j[f+188>>2]=a;e=Mu(a);j[d>>2]=e;e:{if(!e){break e}if((tg(a,e)|0)<=-1){Dk(j[d>>2]);break e}e=32662;c=Se(32662);j[d+8>>2]=c;f:{g:{if(!c){break g}e=32714;c=Se(32714);j[d+12>>2]=c;if(!c){break g}e=32729;c=Se(32729);j[d+16>>2]=c;if(!c){break g}e=32750;c=Se(32750);j[d+20>>2]=c;if(!c){break g}e=32764;c=Se(32764);j[d+24>>2]=c;if(!c){break g}e=32788;c=Se(32788);j[d+28>>2]=c;if(!c){break g}e=32808;c=Se(32808);j[d+32>>2]=c;if(!c){break g}e=32816;c=Se(32816);j[d+36>>2]=c;if(!c){break g}e=32829;c=Se(32829);j[d+40>>2]=c;if(!c){break g}e=32845;c=Se(32845);j[d+44>>2]=c;if(!c){break g}e=32861;c=Se(32861);j[d+48>>2]=c;if(!c){break g}e=32876;c=Se(32876);j[d+52>>2]=c;if(!c){break g}e=32892;c=Se(32892);j[d+56>>2]=c;if(!c){break g}e=32907;c=Se(32907);j[d+60>>2]=c;if(!c){break g}e=32924;c=Se(32924);j[d+64>>2]=c;if(!c){break g}e=32934;c=Se(32934);j[d+68>>2]=c;if(!c){break g}e=32961;c=Se(32961);j[d+72>>2]=c;if(!c){break g}e=32974;c=Se(32974);j[d+76>>2]=c;if(!c){break g}e=32983;c=Se(32983);j[d+80>>2]=c;if(!c){break g}e=33009;c=Se(33009);j[d+84>>2]=c;if(!c){break g}e=33018;c=Se(33018);j[d+88>>2]=c;if(!c){break g}e=33036;c=Se(33036);j[d+92>>2]=c;if(!c){break g}e=33050;c=Se(33050);j[d+96>>2]=c;if(!c){break g}e=33064;c=Se(33064);j[d+100>>2]=c;if(!c){break g}e=33076;c=Se(33076);j[d+104>>2]=c;if(!c){break g}e=33087;c=Se(33087);j[d+108>>2]=c;if(!c){break g}e=33101;c=Se(33101);j[d+112>>2]=c;if(!c){break g}e=33116;c=Se(33116);j[d+116>>2]=c;if(!c){break g}e=33135;c=Se(33135);j[d+120>>2]=c;if(!c){break g}e=33149;c=Se(33149);j[d+124>>2]=c;if(!c){break g}e=33170;c=Se(33170);j[d+128>>2]=c;if(!c){break g}e=33184;c=Se(33184);j[d+132>>2]=c;if(!c){break g}e=33198;c=Se(33198);j[d+136>>2]=c;if(!c){break g}e=33211;c=Se(33211);j[d+140>>2]=c;if(!c){break g}e=33221;c=Se(33221);j[d+144>>2]=c;if(!c){break g}e=33236;c=Se(33236);j[d+148>>2]=c;if(!c){break g}e=33251;c=Se(33251);j[d+152>>2]=c;if(!c){break g}e=33264;c=Se(33264);j[d+156>>2]=c;if(!c){break g}e=33280;c=Se(33280);j[d+160>>2]=c;if(!c){break g}e=33296;c=Se(33296);j[d+164>>2]=c;if(!c){break g}e=33308;c=Se(33308);j[d+168>>2]=c;if(!c){break g}e=33320;c=Se(33320);j[d+172>>2]=c;if(!c){break g}e=33339;c=Se(33339);j[d+176>>2]=c;if(!c){break g}e=33352;c=Se(33352);j[d+180>>2]=c;if(!c){break g}e=33374;c=Se(33374);j[d+184>>2]=c;if(!c){break g}e=33385;c=Se(33385);j[d+188>>2]=c;if(!c){break g}e=33403;c=Se(33403);j[d+192>>2]=c;if(!c){break g}e=33426;c=Se(33426);j[d+196>>2]=c;if(!c){break g}e=33451;c=Se(33451);j[d+200>>2]=c;if(!c){break g}e=33472;c=Se(33472);j[d+204>>2]=c;if(!c){break g}e=33492;c=Se(33492);j[d+208>>2]=c;if(!c){break g}e=33512;c=Se(33512);j[d+212>>2]=c;if(!c){break g}e=33525;c=Se(33525);j[d+216>>2]=c;if(!c){break g}e=33541;c=Se(33541);j[d+220>>2]=c;if(!c){break g}e=33554;c=Se(33554);j[d+224>>2]=c;if(!c){break g}e=33567;c=Se(33567);j[d+228>>2]=c;if(c){break f}}m=g,n=Ig(),j[m+36>>2]=n;j[g+32>>2]=e;if((ve(32678,g+32|0)|0)>-1){break f}Dk(j[d>>2]);break e}Ku(b>>>2&1);if((Ju()|0)>=1){j[f+108>>2]=j[f+108>>2]|4}if(!(eh(20,g- -64|0)|!(h[g+64|0]&1))){j[d+4>>2]=1}j[g+64>>2]=0;qe[j[d+108>>2]](3379,g- -64|0);j[f+180>>2]=j[g+64>>2];j[g+64>>2]=0;qe[j[d+108>>2]](3379,g- -64|0);j[f+184>>2]=j[g+64>>2];qe[j[d+108>>2]](36345,g+76|0);qe[j[d+96>>2]](36346,g+75|0);b=j[g+76>>2];if(k[g+75|0]){b=b+1|0;j[g+76>>2]=b}b=Xe(b,4);j[d+244>>2]=b;if(!b){Un(f);Be(0);break d}j[d+240>>2]=j[g+76>>2];qe[j[d+108>>2]](36344,b);if(k[g+75|0]){j[(j[d+244>>2]+(j[g+76>>2]<<2)|0)-4>>2]=-1}qe[j[d+212>>2]](8,d+272|0);j[d+232>>2]=0;qe[j[d+108>>2]](36006,g+68|0);j[d+236>>2]=j[g+68>>2];j[f+68>>2]=171;j[f+64>>2]=172;j[f+60>>2]=173;j[f+56>>2]=174;j[f+52>>2]=175;j[f+16>>2]=176;j[f+12>>2]=177;j[f+8>>2]=178;j[f+4>>2]=179;j[f+92>>2]=180;j[f+88>>2]=181;j[f+84>>2]=182;j[f+80>>2]=183;j[f+76>>2]=184;j[f+72>>2]=185;j[f+48>>2]=186;j[f+44>>2]=187;j[f+40>>2]=188;j[f+36>>2]=189;j[f+32>>2]=190;j[f+28>>2]=190;j[f+24>>2]=191;j[f+20>>2]=191;a=j[f+112>>2];j[f+112>>2]=a+1;b=a<<2;a=f+116|0;j[b+a>>2]=842094169;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=1448433993;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=842094158;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=825382478;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=542328143;qe[j[d+8>>2]](33984);qe[j[d+132>>2]](3333,1);qe[j[d+132>>2]](3317,1);qe[j[d+80>>2]](0);qe[j[d+68>>2]](1);qe[j[d+36>>2]](q(1),q(1),q(1),q(1));j[d+488>>2]=1065353216;j[d+476>>2]=-1082130432;j[d+408>>2]=-1;j[d+412>>2]=-1;j[d+368>>2]=2147483647;d=j[f+436>>2];if(!j[d+4>>2]){break a}b=qe[j[d+104>>2]]()|0;if(!b){break a}a=32509;while(1){a=k[a|0]?a:34262;e=34367;i=b-1280|0;if(i>>>0<=5){e=j[(i<<2)+34376>>2]}j[g+20>>2]=b;j[g+16>>2]=e;j[g+12>>2]=32641;j[g+8>>2]=2107;j[g+4>>2]=32510;j[g>>2]=a;ve(34270,g);b=qe[j[d+104>>2]]()|0;if(b){continue}break}break a}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}}if(!l){break b}}_h(21,j[g+60>>2]);_h(17,j[g+56>>2]);_h(18,j[g+52>>2]);_m(a,i)}f=0}oe=g+80|0;return f|0}function sD(a){var b=0;b=1090;a:{if(!we(a,228420)){break a}b=1091;if(!we(a,228436)){break a}b=1092;if(!we(a,228451)){break a}b=1093;if(!we(a,228472)){break a}b=1094;if(!we(a,228485)){break a}b=1095;if(!we(a,228503)){break a}b=1096;if(!we(a,228522)){break a}b=1097;if(!we(a,228536)){break a}b=1098;if(!we(a,228549)){break a}b=1099;if(!we(a,228565)){break a}b=1100;if(!we(a,228589)){break a}b=1101;if(!we(a,228601)){break a}b=1102;if(!we(a,228621)){break a}b=1103;if(!we(a,228634)){break a}b=1104;if(!we(a,228650)){break a}b=1105;if(!we(a,228675)){break a}b=1106;if(!we(a,228683)){break a}b=1107;if(!we(a,228696)){break a}b=1108;if(!we(a,228710)){break a}b=1109;if(!we(a,228725)){break a}b=1110;if(!we(a,228737)){break a}b=1111;if(!we(a,228753)){break a}b=1112;if(!we(a,228776)){break a}b=1113;if(!we(a,228802)){break a}b=1114;if(!we(a,228819)){break a}b=1115;if(!we(a,228839)){break a}b=1116;if(!we(a,228855)){break a}b=1117;if(!we(a,228870)){break a}b=1118;if(!we(a,228881)){break a}b=1119;if(!we(a,228897)){break a}b=1120;if(!we(a,228918)){break a}b=1121;if(!we(a,228934)){break a}b=1122;if(!we(a,228956)){break a}b=1123;if(!we(a,228971)){break a}b=1124;if(!we(a,228988)){break a}b=1125;if(!we(a,229e3)){break a}b=1126;if(!we(a,229012)){break a}b=1127;if(!we(a,229026)){break a}b=1128;if(!we(a,229041)){break a}b=1129;if(!we(a,229051)){break a}b=1130;if(!we(a,229078)){break a}b=1131;if(!we(a,229091)){break a}b=1132;if(!we(a,229106)){break a}b=1133;if(!we(a,229115)){break a}b=1134;if(!we(a,229141)){break a}b=1135;if(!we(a,229150)){break a}b=1136;if(!we(a,229158)){break a}b=1137;if(!we(a,229184)){break a}b=1138;if(!we(a,229207)){break a}b=1139;if(!we(a,229219)){break a}b=1140;if(!we(a,229232)){break a}b=1141;if(!we(a,229249)){break a}b=1142;if(!we(a,229267)){break a}b=1143;if(!we(a,229286)){break a}b=1144;if(!we(a,229300)){break a}b=1145;if(!we(a,229318)){break a}b=1146;if(!we(a,229337)){break a}b=1147;if(!we(a,229358)){break a}b=1148;if(!we(a,229378)){break a}b=1149;if(!we(a,229392)){break a}b=1150;if(!we(a,229415)){break a}b=1151;if(!we(a,229426)){break a}b=1152;if(!we(a,229438)){break a}b=1153;if(!we(a,229476)){break a}b=1154;if(!we(a,229490)){break a}b=1155;if(!we(a,229505)){break a}b=1156;if(!we(a,229525)){break a}b=1157;if(!we(a,229554)){break a}b=1158;if(!we(a,229568)){break a}b=1159;if(!we(a,229587)){break a}b=1160;if(!we(a,229614)){break a}b=1161;if(!we(a,229632)){break a}b=1162;if(!we(a,229644)){break a}b=1163;if(!we(a,229664)){break a}b=1164;if(!we(a,229684)){break a}b=1165;if(!we(a,229699)){break a}b=1166;if(!we(a,229714)){break a}b=1167;if(!we(a,229735)){break a}b=1168;if(!we(a,229755)){break a}b=1169;if(!we(a,229775)){break a}b=1170;if(!we(a,229801)){break a}b=1171;if(!we(a,229808)){break a}b=1172;if(!we(a,229819)){break a}b=1173;if(!we(a,229831)){break a}b=1174;if(!we(a,229847)){break a}b=1175;if(!we(a,229859)){break a}b=1176;if(!we(a,229876)){break a}b=1177;if(!we(a,229887)){break a}b=1178;if(!we(a,229899)){break a}b=1179;if(!we(a,229911)){break a}b=1180;if(!we(a,229925)){break a}b=1181;if(!we(a,229939)){break a}b=1182;if(!we(a,229955)){break a}b=1183;if(!we(a,229968)){break a}b=1184;if(!we(a,229992)){break a}b=1185;if(!we(a,230014)){break a}b=1186;if(!we(a,230031)){break a}b=1187;if(!we(a,230041)){break a}b=1188;if(!we(a,230056)){break a}b=1189;if(!we(a,230071)){break a}b=1190;if(!we(a,230085)){break a}b=1191;if(!we(a,230107)){break a}b=1192;if(!we(a,230121)){break a}b=1193;if(!we(a,230143)){break a}b=1194;if(!we(a,230155)){break a}b=1195;if(!we(a,230175)){break a}b=1196;if(!we(a,230188)){break a}b=1197;if(!we(a,230204)){break a}b=1198;if(!we(a,230221)){break a}b=1199;if(!we(a,230237)){break a}b=1200;if(!we(a,230254)){break a}b=1201;if(!we(a,230270)){break a}b=1202;if(!we(a,230282)){break a}b=1203;if(!we(a,230295)){break a}b=1204;if(!we(a,230307)){break a}b=1205;if(!we(a,230320)){break a}b=1206;if(!we(a,230332)){break a}b=1207;if(!we(a,230345)){break a}b=1208;if(!we(a,230357)){break a}b=1209;if(!we(a,230370)){break a}b=1210;if(!we(a,230382)){break a}b=1211;if(!we(a,230395)){break a}b=1212;if(!we(a,230407)){break a}b=1213;if(!we(a,230420)){break a}b=1214;if(!we(a,230432)){break a}b=1215;if(!we(a,230445)){break a}b=1216;if(!we(a,230457)){break a}b=1217;if(!we(a,230470)){break a}b=1218;if(!we(a,230489)){break a}b=1219;if(!we(a,230508)){break a}b=1220;if(!we(a,230527)){break a}b=1221;if(!we(a,230540)){break a}b=1222;if(!we(a,230558)){break a}b=1223;if(!we(a,230575)){break a}b=1224;if(!we(a,230593)){break a}b=1225;if(!we(a,230610)){break a}b=1226;if(!we(a,230628)){break a}b=1227;if(!we(a,230645)){break a}b=1228;if(!we(a,230663)){break a}b=1229;if(!we(a,230680)){break a}b=1230;if(!we(a,230698)){break a}b=1231;if(!we(a,230720)){break a}b=1071;if(!we(a,230731)){break a}b=1072;if(!we(a,230747)){break a}b=1073;if(!we(a,230766)){break a}b=1074;if(!we(a,230779)){break a}b=1075;if(!we(a,230795)){break a}b=1076;if(!we(a,230809)){break a}b=1077;if(!we(a,230827)){break a}b=1078;if(!we(a,230843)){break a}b=1079;if(!we(a,230865)){break a}b=1080;if(!we(a,230888)){break a}b=1081;if(!we(a,230912)){break a}b=1082;if(!we(a,230937)){break a}b=1083;if(!we(a,230958)){break a}b=1084;if(!we(a,230982)){break a}b=1085;if(!we(a,231003)){break a}b=1086;if(!we(a,231022)){break a}b=1087;if(!we(a,231041)){break a}b=1088;if(!we(a,231068)){break a}b=0;if(we(a,231097)){break a}b=1089}return b}function Cj(a){var b=0,c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;if(k[a|0]&2){bi(a,1)}d=-1;f=j[a+4>>2];l=k[f+8|0];a:{if(!j[a+20>>2]|l>>>0<8){break a}c=j[a+52>>2];b=j[c+68>>2];if(!(b&272)|b&1|(b&608|(j[f+24>>2]?b&2:0))){break a}b:{if(!(j[f+24>>2]?b&16:0)){if(!j[c+4>>2]){break a}c:{d:{e:{f:{g:{g=k[f+9|0];switch(g-1|0){case 1:case 2:break f;case 0:break g;case 3:break e;default:break a}}m=p(j[a+12>>2],3);b=2;f=(j[a+8>>2]/2|0)+1|0;break c}b=j[a+8>>2];m=(p(b,g)+((b|0)/255<<1)|0)+2|0;b=2;break d}b=j[a+8>>2];m=(((b|0)/65535|0)+b<<2)+4|0;b=4}f=j[a+12>>2]}b=p(f,m)+b|0;e=qe[j[57972]](b?b:1)|0;if(e){j[57976]=j[57976]+1}h:{if(e){u=e;z=j[a+12>>2];if((z|0)>=1){v=j[j[a+4>>2]+24>>2]^-1;w=v&j[j[a+52>>2]+72>>2];n=(g|0)==4?65535:255;x=j[(g<<2)+45068>>2];o=j[a+8>>2];m=j[a+20>>2];y=(g|0)!=4;d=e;u=d;while(1){b=0;r=0;while(1){l=b;i:{j:{if((b|0)>=(o|0)){break j}while(1){if((w|0)!=(qe[x|0](p(g,l)+m|0)&v)){break j}l=l+1|0;if((o|0)!=(l|0)){continue}break}s=0;l=o;f=l;break i}s=0;if((l|0)>=(o|0)){f=l;break i}s=1;c=l;if((w|0)==(qe[x|0](p(g,c)+m|0)&v)){f=l;break i}k:{l:{while(1){c=c+1|0;if((o|0)==(c|0)){break l}if((w|0)!=(qe[x|0](p(c,g)+m|0)&v)){continue}break}f=c;break k}f=o}s=(c|0)<(o|0)}b=l-b|0;c=b;if((b|0)>(n|0)){while(1){m:{if(!y){i[d+2>>1]=0;i[d>>1]=n;t=4;break m}h[d|0]=255;h[d+1|0]=0;t=2}d=t+d|0;c=c-n|0;if((n|0)<(c|0)){continue}break}}t=f-l|0;q=(n|0)>(t|0)?t:n;r=(b|0)==(o|0)?1:r;n:{if(!y){i[d+2>>1]=q;i[d>>1]=c;b=4;break n}h[d+1|0]=q;h[d|0]=c;b=2}b=b+d|0;c=p(g,q);Ge(b,p(g,l)+m|0,c);d=b+c|0;b=t-q|0;if(b){l=l+q|0;while(1){c=(b|0)<(n|0)?b:n;o:{if(!y){i[d+2>>1]=c;i[d>>1]=0;t=4;break o}h[d+1|0]=c;h[d|0]=0;t=2}d=t+d|0;q=p(c,g);Ge(d,p(g,l)+m|0,q);d=d+q|0;l=c+l|0;b=b-c|0;if(b){continue}break}}u=r?u:d;b=f;if(s){continue}break}m=j[a+16>>2]+m|0;A=A+1|0;if((A|0)!=(z|0)){continue}break}}p:{if((g|0)==4){i[u>>1]=0;i[u+2>>1]=0;b=4;break p}h[u|0]=0;h[u+1|0]=0;b=2}if(!(h[a|0]&1)){f=j[a+20>>2];if(f){f=j[f-4>>2];if(f){qe[j[57975]](f);j[57976]=j[57976]-1}}j[a+20>>2]=0;j[a>>2]=j[a>>2]&-9}b=mf(e,(b+u|0)-e|0);d=j[a+52>>2];j[d+12>>2]=b?b:e;break h}if((Be(0)|0)<0){break a}d=j[a+52>>2]}m=237;b=8192;break b}b=j[c>>2];if(!b|(l|0)!=32){break a}g=j[b+4>>2];f=j[g+16>>2];c=j[g+12>>2];l=j[g+20>>2];b=f|c|l;q:{r:{switch(k[g+9|0]-2|0){case 0:s:{if((b|0)!=32767){if((b|0)!=65535){break a}w=238;if((c|0)==2016|(f|0)==2016|(l|0)==2016){break s}break a}w=239;if((c|0)==992|(f|0)==992){break s}if((l|0)!=992){break a}}x=240;b=p(j[a+12>>2],p(j[a+8>>2],6)+8|0)+2|0;break q;case 2:break r;default:break a}}if((b|0)!=16777215){break a}x=241;w=241;b=p(j[a+12>>2],j[a+8>>2]+1|0)<<3|4}b=b+28|0;n=qe[j[57972]](b?b:1)|0;if(n){j[57976]=j[57976]+1}t:{if(n){d=k[g+9|0];h[n|0]=d;j[n+4>>2]=j[g+12>>2];j[n+8>>2]=j[g+16>>2];j[n+12>>2]=j[g+20>>2];j[n+16>>2]=j[g+24>>2];h[n+20|0]=k[g+28|0];h[n+21|0]=k[g+29|0];h[n+22|0]=k[g+30|0];h[n+23|0]=k[g+31|0];h[n+24|0]=k[g+32|0];h[n+25|0]=k[g+33|0];h[n+26|0]=k[g+34|0];h[n+27|0]=k[g+35|0];s=n+28|0;y=j[a+12>>2];if((y|0)>=1){q=j[a+4>>2];o=j[a+8>>2];l=j[a+20>>2];d=s;while(1){e=0;v=0;while(1){u:{v:{b=e;if((o|0)<=(b|0)){break v}f=k[q+35|0];c=j[q+24>>2];while(1){if(((c&j[(b<<2)+l>>2])>>>f|0)==255){break v}b=b+1|0;if((o|0)!=(b|0)){continue}break}f=0;b=o;r=b;break u}f=0;if((b|0)>=(o|0)){r=b;break u}f=1;c=b;r=j[q+24>>2];m=k[q+35|0];if(((r&j[(b<<2)+l>>2])>>>m|0)!=255){r=b;break u}w:{x:{while(1){c=c+1|0;if((o|0)==(c|0)){break x}if(((r&j[(c<<2)+l>>2])>>>m|0)==255){continue}break}r=c;break w}r=o}f=(c|0)<(o|0)}t=b-e|0;c=t;if((c|0)>=256){while(1){y:{if(k[g+9|0]==4){i[d>>1]=255;i[d+2>>1]=0;e=4;break y}h[d|0]=255;h[d+1|0]=0;e=2}d=e+d|0;e=(c|0)>510;c=c-255|0;if(e){continue}break}}m=r-b|0;e=(m|0)<255?m:255;z:{if(k[g+9|0]==4){i[d+2>>1]=e;i[d>>1]=c;c=4;break z}h[d+1|0]=e;h[d|0]=c;c=2}c=c+d|0;d=(qe[x|0](c,(b<<2)+l|0,e,q,g)|0)+c|0;m=m-e|0;if(m){b=b+e|0;while(1){c=(m|0)<255?m:255;A:{if(k[g+9|0]==4){i[d+2>>1]=c;i[d>>1]=0;e=4;break A}h[d+1|0]=c;h[d|0]=0;e=2}e=e+d|0;d=(qe[x|0](e,(b<<2)+l|0,c,q,g)|0)+e|0;b=b+c|0;m=m-c|0;if(m){continue}break}}v=(o|0)==(t|0)?1:v;e=r;if(f){continue}break}d=(d&2)+d|0;e=0;while(1){B:{C:{b=e;if((o|0)<=(b|0)){break C}f=k[q+35|0];c=j[q+24>>2];while(1){if(((c&j[(b<<2)+l>>2])>>>f|0)-1>>>0<254){break C}b=b+1|0;if((o|0)!=(b|0)){continue}break}r=0;b=o;f=b;break B}r=0;if((b|0)>=(o|0)){f=b;break B}r=1;c=b;f=j[q+24>>2];m=k[q+35|0];if(((f&j[(b<<2)+l>>2])>>>m|0)-1>>>0>=254){f=b;break B}D:{E:{while(1){c=c+1|0;if((o|0)==(c|0)){break E}if(((f&j[(c<<2)+l>>2])>>>m|0)-1>>>0<=253){continue}break}f=c;break D}f=o}r=(c|0)<(o|0)}c=b-e|0;e=(o|0)==(c|0);if((c|0)>=65536){while(1){i[d>>1]=65535;i[d+2>>1]=0;d=d+4|0;m=(c|0)>131070;c=c-65535|0;if(m){continue}break}}v=e&v;i[d>>1]=c;c=f-b|0;e=(c|0)<65535?c:65535;i[d+2>>1]=e;d=d+4|0;d=(qe[w|0](d,(b<<2)+l|0,e,q,g)|0)+d|0;c=c-e|0;if(c){b=b+e|0;while(1){i[d>>1]=0;e=(c|0)<65535?c:65535;i[d+2>>1]=e;d=d+4|0;d=(qe[w|0](d,(b<<2)+l|0,e,q,g)|0)+d|0;b=b+e|0;c=c-e|0;if(c){continue}break}}s=v?s:d;e=f;if(r){continue}break}l=(j[a+16>>2]&-4)+l|0;u=u+1|0;if((y|0)!=(u|0)){continue}break}d=k[g+9|0]}c=4;F:{if((d&255)==4){i[s>>1]=0;i[s+2>>1]=0;break F}h[s|0]=0;h[s+1|0]=0;c=2}if(!(h[a|0]&1)){b=j[a+20>>2];if(b){b=j[b-4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}j[a+20>>2]=0;j[a>>2]=j[a>>2]&-9}b=mf(n,(c+s|0)-n|0);d=j[a+52>>2];j[d+12>>2]=b?b:n;break t}if((Be(0)|0)<0){break a}d=j[a+52>>2]}m=242;b=16384}j[d+8>>2]=m;j[d+68>>2]=b|j[d+68>>2];j[a>>2]=j[a>>2]|2;d=0}return d}function Zp(a,b,c){var d=0,e=q(0),f=q(0),g=q(0),h=0,i=0,k=q(0),l=q(0),m=q(0),o=0,r=q(0),s=q(0),t=q(0),u=q(0),v=q(0),w=q(0),x=q(0),y=q(0),z=q(0),A=q(0),B=q(0),C=q(0),D=q(0),E=q(0),F=q(0),G=q(0),H=q(0),I=q(0),J=q(0),K=q(0),L=q(0),M=q(0),N=q(0),O=q(0),P=q(0),Q=q(0),R=q(0),S=q(0),T=q(0),U=q(0),V=q(0),W=q(0),X=q(0),Y=q(0),Z=q(0),_=q(0),$=q(0),aa=q(0),ba=q(0),ca=0,da=0,ea=0,fa=0,ga=0,ha=q(0),ia=q(0),ja=q(0),ka=q(0),la=q(0),ma=q(0),na=q(0),oa=q(0),pa=q(0),qa=q(0),ra=q(0),sa=q(0),ta=q(0),ua=q(0),va=0,wa=0,xa=0,ya=0;o=j[a+4>>2];a:{if((o|0)<7){break a}d=(c<<2)+b|0;h=((c<<1&-4)+b|0)-32|0;ga=j[a+8>>2];a=ga;while(1){k=n[h+28>>2];i=d-8|0;e=n[i>>2];g=n[h+24>>2];n[i>>2]=e+g;i=d-4|0;f=n[i>>2];n[i>>2]=f+n[h+28>>2];f=q(f-k);e=q(e-g);n[h+24>>2]=q(f*n[a+4>>2])+q(e*n[a>>2]);n[h+28>>2]=q(f*n[a>>2])-q(e*n[a+4>>2]);k=n[h+20>>2];i=d-16|0;e=n[i>>2];g=n[h+16>>2];n[i>>2]=e+g;i=d-12|0;f=n[i>>2];n[i>>2]=f+n[h+20>>2];f=q(f-k);e=q(e-g);n[h+16>>2]=q(f*n[a+20>>2])+q(e*n[a+16>>2]);n[h+20>>2]=q(f*n[a+16>>2])-q(e*n[a+20>>2]);k=n[h+12>>2];i=d-24|0;e=n[i>>2];g=n[h+8>>2];n[i>>2]=e+g;i=d-20|0;f=n[i>>2];n[i>>2]=f+n[h+12>>2];f=q(f-k);e=q(e-g);n[h+8>>2]=q(f*n[a+36>>2])+q(e*n[a+32>>2]);n[h+12>>2]=q(f*n[a+32>>2])-q(e*n[a+36>>2]);k=n[h+4>>2];i=d-32|0;e=n[i>>2];g=n[h>>2];n[i>>2]=e+g;d=d-28|0;f=n[d>>2];n[d>>2]=f+n[h+4>>2];f=q(f-k);e=q(e-g);n[h>>2]=q(f*n[a+52>>2])+q(e*n[a+48>>2]);n[h+4>>2]=q(f*n[a+48>>2])-q(e*n[a+52>>2]);a=a- -64|0;d=i;h=h-32|0;if(h>>>0>=b>>>0){continue}break}if((o|0)<8){break a}va=o-6|0;o=1;while(1){if((o|0)!=31){a=1<1?a:1;xa=4<>o;ya=ea>>1;ca=0;while(1){fa=(p(ca,ea)<<2)+b|0;a=fa+(ea<<2)|0;h=((ya<<2)+fa|0)-32|0;d=ga;while(1){k=n[h+28>>2];i=a-8|0;e=n[i>>2];g=n[h+24>>2];n[i>>2]=e+g;i=a-4|0;f=n[i>>2];n[i>>2]=f+n[h+28>>2];f=q(f-k);e=q(e-g);n[h+24>>2]=q(f*n[d+4>>2])+q(e*n[d>>2]);n[h+28>>2]=q(f*n[d>>2])-q(e*n[d+4>>2]);k=n[h+20>>2];i=a-16|0;e=n[i>>2];g=n[h+16>>2];n[i>>2]=e+g;i=a-12|0;f=n[i>>2];n[i>>2]=f+n[h+20>>2];f=q(f-k);da=xa<<2;d=da+d|0;e=q(e-g);n[h+16>>2]=q(f*n[d+4>>2])+q(e*n[d>>2]);n[h+20>>2]=q(f*n[d>>2])-q(e*n[d+4>>2]);k=n[h+12>>2];i=a-24|0;e=n[i>>2];g=n[h+8>>2];n[i>>2]=e+g;i=a-20|0;f=n[i>>2];n[i>>2]=f+n[h+12>>2];f=q(f-k);d=d+da|0;e=q(e-g);n[h+8>>2]=q(f*n[d+4>>2])+q(e*n[d>>2]);n[h+12>>2]=q(f*n[d>>2])-q(e*n[d+4>>2]);k=n[h+4>>2];i=a-32|0;e=n[i>>2];g=n[h>>2];n[i>>2]=e+g;a=a-28|0;f=n[a>>2];n[a>>2]=f+n[h+4>>2];f=q(f-k);a=d+da|0;e=q(e-g);n[h>>2]=q(f*n[a+4>>2])+q(e*n[a>>2]);n[h+4>>2]=q(f*n[a>>2])-q(e*n[a+4>>2]);d=a+da|0;a=i;h=h-32|0;if(fa>>>0<=h>>>0){continue}break}ca=ca+1|0;if((wa|0)!=(ca|0)){continue}break}}o=o+1|0;if((va|0)!=(o|0)){continue}break}}a=0;if((c|0)>0){while(1){d=(a<<2)+b|0;e=n[d+60>>2];f=n[d+124>>2];k=n[d+24>>2];g=n[d+88>>2];r=n[d+120>>2];w=n[d+56>>2];l=q(r-w);x=n[d+28>>2];s=n[d+92>>2];y=q(x-s);t=q(l+y);I=n[d+104>>2];J=n[d+40>>2];u=q(I-J);K=n[d+108>>2];z=n[d+44>>2];v=q(K-z);L=q(q(u-v)*q(.7071067690849304));M=n[d+8>>2];N=n[d+72>>2];m=q(M-N);A=n[d+12>>2];O=n[d+76>>2];B=q(A-O);P=q(q(m+B)*q(.7071067690849304));C=q(L+P);Q=q(t+C);D=n[d+112>>2];R=n[d+48>>2];E=q(D-R);S=n[d+116>>2];T=n[d+52>>2];F=q(S-T);ha=q(q(E*q(.9238795042037964))-q(F*q(.3826834261417389)));U=n[d+16>>2];V=n[d+80>>2];W=q(U-V);X=n[d+20>>2];Y=n[d+84>>2];Z=q(X-Y);ia=q(q(W*q(.3826834261417389))+q(Z*q(.9238795042037964)));G=q(ha+ia);_=n[d+96>>2];$=n[d+32>>2];H=q(_-$);ja=n[d+100>>2];ka=n[d+36>>2];aa=q(ja-ka);la=q(q(H*q(.3826834261417389))-q(aa*q(.9238795042037964)));ma=n[d>>2];na=n[d+64>>2];oa=q(ma-na);pa=n[d+4>>2];qa=n[d+68>>2];ra=q(pa-qa);sa=q(q(oa*q(.9238795042037964))+q(ra*q(.3826834261417389)));ta=q(la+sa);ba=q(G+ta);n[d+56>>2]=Q+ba;n[d+48>>2]=Q-ba;Q=q(f-e);ba=q(g-k);ua=q(Q+ba);u=q(q(u+v)*q(.7071067690849304));v=q(q(B-m)*q(.7071067690849304));m=q(u+v);B=q(ua-m);G=q(G-ta);n[d+44>>2]=B+G;t=q(t-C);C=q(q(E*q(.3826834261417389))+q(F*q(.9238795042037964)));E=q(q(Z*q(.3826834261417389))-q(W*q(.9238795042037964)));F=q(C+E);W=q(q(H*q(.9238795042037964))+q(aa*q(.3826834261417389)));Z=q(q(ra*q(.9238795042037964))-q(oa*q(.3826834261417389)));H=q(W+Z);aa=q(F-H);n[d+40>>2]=t-aa;n[d+32>>2]=t+aa;t=q(ua+m);m=q(F+H);n[d+60>>2]=t+m;n[d+36>>2]=B-G;r=q(r+w);k=q(g+k);g=q(r-k);w=q(A+O);K=q(K+z);z=q(w-K);A=q(g+z);O=q(D+R);B=q(U+V);D=q(O-B);R=q(S+T);S=q(X+Y);T=q(R-S);F=q(q(D-T)*q(.7071067690849304));U=q(ma+na);V=q(_+$);X=q(U-V);Y=q(pa+qa);G=q(ja+ka);_=q(Y-G);$=q(q(X+_)*q(.7071067690849304));H=q(F+$);n[d+88>>2]=A+H;n[d+52>>2]=t-m;n[d+80>>2]=A-H;e=q(f+e);f=q(x+s);x=q(e-f);s=q(I+J);t=q(M+N);I=q(s-t);J=q(x-I);M=q(F-$);n[d+76>>2]=J+M;g=q(g-z);z=q(q(D+T)*q(.7071067690849304));N=q(q(_-X)*q(.7071067690849304));m=q(z-N);n[d+72>>2]=g-m;n[d+64>>2]=g+m;g=q(l-y);l=q(v-u);y=q(g+l);u=q(ha-ia);v=q(C-E);m=q(q(u-v)*q(.7071067690849304));A=q(Z-W);C=q(sa-la);D=q(q(A+C)*q(.7071067690849304));E=q(m+D);n[d+16>>2]=y-E;n[d+24>>2]=y+E;y=q(Q-ba);L=q(L-P);P=q(y-L);m=q(m-D);n[d+12>>2]=P+m;g=q(g-l);l=q(q(u+v)*q(.7071067690849304));u=q(q(A-C)*q(.7071067690849304));v=q(l-u);n[d+8>>2]=g-v;n[d>>2]=g+v;g=q(y+L);l=q(l+u);n[d+28>>2]=g+l;n[d+4>>2]=P-m;n[d+20>>2]=g-l;g=q(x+I);l=q(z+N);n[d+92>>2]=g+l;n[d+68>>2]=J-M;n[d+84>>2]=g-l;k=q(r+k);g=q(s+t);r=q(k+g);l=q(O+B);x=q(V+U);s=q(l+x);n[d+120>>2]=r+s;n[d+112>>2]=r-s;k=q(k-g);g=q(R+S);r=q(G+Y);s=q(g-r);n[d+96>>2]=k+s;n[d+104>>2]=k-s;e=q(e+f);f=q(K+w);k=q(e-f);w=q(l-x);n[d+108>>2]=k+w;n[d+100>>2]=k-w;e=q(e+f);f=q(g+r);n[d+124>>2]=e+f;n[d+116>>2]=e-f;a=a+32|0;if((c|0)>(a|0)){continue}break}}}function QO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;C=oe-80|0;oe=C;g=mj(a,b);a:{if(g){break a}d=j[a+2980>>2];if(!(d&1?!(!(d&8)&j[c+24>>2]==1):0)){g=ts(a,j[c+52>>2],c+56|0,0);if(g){break a}d=j[a+2980>>2]}b:{if(d&2){break b}g=ts(a,j[c+1624>>2],c+1628|0,1);if(g){break a}d=j[a+1524>>2];if((d|0)<1){break b}f=j[a+1532>>2];u=f+p(d,48)|0;q=j[c+1616>>2];while(1){d=ye(m[c+40>>2]/40|0,q);c:{if(!j[c+1832>>2]){break c}s=(d|0)<32?d:32;d=0;g=0;v=0;while(1){o=p(d,28)+c|0;e=j[o+1860>>2];d:{if(!(e&1)){break d}n=e>>>2&1;z=e&2;if(z>>>1^j[a+1536>>2]!=h[f+13|0]?!n:0){break d}A=o+1836|0;y=i[f>>1]-j[A>>2]|0;e=y>>31;y=ye(e^e+y,q);e=(y|0)<(s|0);s=e?y:s;g=e?A:g;v=e?n:v;if(!(h[f+12|0]&1)|(!y|n)){break d}e=i[f>>1];if((z|0)!=0^(e|0)>=j[A>>2]){break d}n=e;e=o+1848|0;z=n-j[e>>2]|0;o=z>>31;o=ye(o^o+z,q);if((o|0)>=(s|0)){break d}v=0;s=o;g=e}d=d+1|0;if(d>>>0>2]){continue}break}if(!g){break c}j[f+20>>2]=g;if(!(v&255)){break c}h[f+12|0]=k[f+12|0]|8}f=f+48|0;if(u>>>0>f>>>0){continue}break}}d=1;v=0;while(1){e:{z=d;f:{g:{if(d){d=j[a+2980>>2];if(!(d&8|j[c+24>>2]!=1)){ss(C+16|0,a,C+12|0,C+8|0);e=j[a+24>>2];if((e|0)<1){break f}d=j[a+28>>2];e=d+p(e,40)|0;g=j[C+8>>2];o=j[C+12>>2];while(1){F=d,G=ye(i[d+12>>1],o)+g|0,j[F+16>>2]=G;d=d+40|0;if(e>>>0>d>>>0){continue}break}break f}if(!(d&1)){break g}break f}if(k[a+2980|0]&2){break e}}y=p(v,1468)+a|0;o=j[y- -64>>2];u=j[y+56>>2];A=o+p(u,48)|0;s=0;d=o;q=0;D=(u|0)<1;if(!((D|v^-1)&1)){while(1){g=k[d+12|0];h:{if(g&4){break h}e=j[d+24>>2];f=j[d+20>>2];i:{j:{if(!e|!f){break j}if(!j[e+20>>2]){g=d;break i}n=k[e+12|0];if(n&8){j[e+20>>2]=0;h[e+12|0]=n&247;f=j[d+20>>2];break j}if(!(g&8)){g=d;break i}f=0;j[d+20>>2]=0;h[d+12|0]=g&247}if(!(!e|f)){f=j[e+20>>2];g=e;e=d;if(f){break i}break h}g=d;if(!f){break h}}f=j[f+8>>2];j[g+8>>2]=f;n=k[g+12|0]|4;h[g+12|0]=n;if(!(j[e+20>>2]|!e)){r=j[e+4>>2]-j[g+4>>2]|0;g=k[e+12|0];n=kj(a,1,r,n,g);h[e+12|0]=g|4;j[e+8>>2]=f+n}q=q?q:d}d=d+48|0;if(A>>>0>d>>>0){continue}break}}d=o;if(!D){while(1){n=k[d+12|0];k:{if(n&4){break k}g=j[d+24>>2];if(!g){s=s+1|0;break k}if(j[g+20>>2]){e=kj(a,v,j[d+4>>2]-j[g+4>>2]|0,k[g+12|0],n);g=j[g+8>>2];h[d+12|0]=n|4;j[d+8>>2]=e+g;break k}if(!q){f=j[d+4>>2];q=j[g+4>>2]-f|0;e=kj(a,v,q,n,k[g+12|0]);l:{if((e|0)<=95){f=f+(q>>1)|0;w=f+32&-64;r=(e|0)<65;x=w+(r?-32:-38)|0;B=f-x|0;t=B>>31;r=w|(r?32:26);w=f-r|0;f=w>>31;f=((e|0)/-2|0)+((t^t+B)<(f^f+w)?x:r)|0;j[d+8>>2]=f;j[g+8>>2]=e+f;f=j[d+8>>2];break l}f=f+32&-64;j[d+8>>2]=f}e=n|4;h[d+12|0]=e;F=g,G=kj(a,v,q,e,k[g+12|0])+f|0,j[F+8>>2]=G;q=d;break k}f=j[q+4>>2];t=j[q+8>>2];r=j[d+4>>2];x=j[g+4>>2]-r|0;w=k[g+12|0];e=kj(a,v,x,n,w);m:{if(w&4){f=j[g+8>>2]-e|0;e=d;break m}t=t+(r-f|0)|0;f=t+(x>>1)|0;n:{if((e|0)<=95){r=f+32&-64;t=(e|0)<65;w=r+(t?-32:-38)|0;B=f-w|0;x=B>>31;t=r|(t?32:26);r=f-t|0;f=r>>31;f=(x^x+B)<(f^f+r)?w:t;e=(e|0)/2|0;j[d+8>>2]=f-e;f=e+f|0;break n}r=t+32|0;w=r&-64;B=e>>>1|0;E=(w+B|0)-f|0;t=E>>31;x=(r+x&-64)-e|0;r=x+(B-f|0)|0;f=r>>31;f=(t^t+E)<(f^f+r)?w:x;j[d+8>>2]=f;f=e+f|0}e=g}j[e+8>>2]=f;h[d+12|0]=n|4;h[g+12|0]=k[g+12|0]|4;if(d>>>0<=o>>>0){break k}e=j[d-40>>2];if((e|0)<=j[d+8>>2]){break k}j[d+8>>2]=e}d=d+48|0;if(A>>>0>d>>>0){continue}break}}o:{if(!z){break o}d=4;f=2;e=o;p:{switch(u-6|0){case 6:e=o+48|0;d=9;f=5;break;case 0:break p;default:break o}}f=o+p(f,48)|0;g=j[f+4>>2];d=o+p(d,48)|0;n=g-j[d+4>>2]+(g-j[e+4>>2])|0;g=n>>31;if((g^g+n)>7){break o}g=j[d+8>>2];e=(j[f+8>>2]<<1)-j[e+8>>2]|0;j[d+8>>2]=e;g=g-e|0;e=j[d+24>>2];if(e){j[e+8>>2]=j[e+8>>2]-g}if((u|0)==12){j[o+392>>2]=j[o+392>>2]-g;j[o+536>>2]=j[o+536>>2]-g}h[d+12|0]=k[d+12|0]|4;if(!e){break o}h[e+12|0]=k[e+12|0]|4}q:{if(D){break q}d=o;if(!(!q|(s|0)!=0)){break q}while(1){g=k[d+12|0];r:{if(g&4){break r}r=d;s:{t:{u:{e=j[d+28>>2];if(!e){break u}s=j[e+4>>2];n=j[d+4>>2];u=s-n|0;f=u>>31;if((f^f+u)>79){break u}s=j[e+8>>2]+(n-s|0)|0;break t}e=d;if(!q){e=j[d+4>>2]+32&-64;j[d+8>>2]=e;q=d;break s}while(1){s=e;e=e-48|0;u=o>>>0>e>>>0;if(k[s-36|0]&4?0:!u){continue}break}f=d;v:{while(1){n=f;f=f+48|0;if(A>>>0<=f>>>0){break v}if(!(k[n+60|0]&4)){continue}break}if(u|d>>>0>=f>>>0|d>>>0<=e>>>0){break v}e=j[s-40>>2];u=j[n+52>>2];f=j[s-44>>2];s=e;if((u|0)==(f|0)){break t}e=Ne(j[d+4>>2]-f|0,j[n+56>>2]-e|0,u-f|0)+e|0;j[d+8>>2]=e;g=k[d+12|0];break s}s=j[q+8>>2]+((j[d+4>>2]-j[q+4>>2]|0)+16&-32)|0}e=s;j[r+8>>2]=e}h[d+12|0]=g|4;w:{if(d>>>0<=o>>>0){break w}g=j[d-40>>2];if((g|0)<=(e|0)){break w}j[d+8>>2]=g;e=g}if(!(k[d+60|0]&4)|d+48>>>0>=A>>>0){break r}g=e;e=j[d+56>>2];if((g|0)<=(e|0)){break r}j[d+8>>2]=e}d=d+48|0;if(A>>>0>d>>>0){continue}break}}g=j[y+52>>2];d=j[y+44>>2];o=g+p(d,48)|0;x:{if(!z){if((d|0)<=0){break x}while(1){d=j[g+12>>2];if(d){e=g+40|0;f=j[d+8>>2];q=j[g+44>>2];while(1){d=j[e>>2];j[d+20>>2]=f;i[d>>1]=l[d>>1]|8;e=d+32|0;if((d|0)!=(q|0)){continue}break}}g=g+48|0;if(o>>>0>g>>>0){continue}break}break x}if((d|0)<1){break x}while(1){d=j[g+12>>2];if(d){e=g+40|0;f=j[d+8>>2];q=j[g+44>>2];while(1){d=j[e>>2];j[d+16>>2]=f;i[d>>1]=l[d>>1]|4;e=d+32|0;if((d|0)!=(q|0)){continue}break}}g=g+48|0;if(o>>>0>g>>>0){continue}break}}rs(a,v);qs(a,v)}v=1;d=0;if(z){continue}}break}c=j[a+24>>2];if((c|0)<1){g=0;break a}d=j[a+28>>2];a=d+p(c,40)|0;e=j[b+4>>2];f=j[b+8>>2];while(1){j[e>>2]=j[d+16>>2];j[e+4>>2]=j[d+20>>2];g=0;b=l[d>>1];h[f|0]=b&1?0:b&2?2:1;f=f+1|0;e=e+8|0;d=d+40|0;if(a>>>0>d>>>0){continue}break}}oe=C+80|0;return g|0}function $D(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,l=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;o=oe-560|0;oe=o;j[o+44>>2]=0;rP(+b);g=oP(1)|0;oP(0)|0;a:{if((g|0)<-1?1:(g|0)<=-1){B=1;b=-b;rP(+b);g=oP(1)|0;oP(0)|0;w=227472;break a}B=1;w=227475;if(e&2048){break a}w=227478;if(e&1){break a}B=0;A=1;w=227473}b:{if((g&2146435072)==2146435072){n=B+3|0;Rf(a,32,c,n,e&-65537);If(a,w,B);d=f&32;If(a,b!=b?d?227499:227503:d?227491:227495,3);break b}x=o+16|0;c:{d:{e:{b=wp(b,o+44|0);b=b+b;if(b!=0){g=j[o+44>>2];j[o+44>>2]=g-1;C=f|32;if((C|0)!=97){break e}break c}C=f|32;if((C|0)==97){break c}n=j[o+44>>2];q=(d|0)<0?6:d;break d}n=g-29|0;j[o+44>>2]=n;b=b*268435456;q=(d|0)<0?6:d}s=(n|0)<0?o+48|0:o+336|0;m=s;while(1){d=m;if(b<4294967296&b>=0){g=~~b>>>0}else{g=0}j[d>>2]=g;m=m+4|0;b=(b- +(g>>>0))*1e9;if(b!=0){continue}break}f:{if((n|0)<1){d=n;g=m;i=s;break f}i=s;d=n;while(1){t=(d|0)<29?d:29;g=m-4|0;g:{if(i>>>0>g>>>0){break g}d=t;l=0;while(1){v=g;D=l;E=j[g>>2];u=d&31;if((d&63)>>>0>=32){l=E<>>32-u;E=E<>>0>>0?l+1|0:l;l=iP(u,l,1e9);D=v;v=gP(l,pe,1e9,0);j[D>>2]=u-v;g=g-4|0;if(i>>>0<=g>>>0){continue}break}if(!l){break g}i=i-4|0;j[i>>2]=l}while(1){g=m;if(i>>>0>>0){m=g-4|0;if(!j[m>>2]){continue}}break}d=j[o+44>>2]-t|0;j[o+44>>2]=d;m=g;if((d|0)>0){continue}break}}if((d|0)<=-1){y=((q+25|0)/9|0)+1|0;t=(C|0)==102;while(1){l=(d|0)<-9?9:0-d|0;h:{if(g>>>0<=i>>>0){i=j[i>>2]?i:i+4|0;break h}v=1e9>>>l|0;u=-1<>2];j[m>>2]=D+(d>>>l|0);d=p(v,d&u);m=m+4|0;if(m>>>0>>0){continue}break}i=j[i>>2]?i:i+4|0;if(!d){break h}j[g>>2]=d;g=g+4|0}d=j[o+44>>2]+l|0;j[o+44>>2]=d;m=t?s:i;g=g-m>>2>(y|0)?m+(y<<2)|0:g;if((d|0)<0){continue}break}}m=0;i:{if(g>>>0<=i>>>0){break i}m=p(s-i>>2,9);d=10;l=j[i>>2];if(l>>>0<10){break i}while(1){m=m+1|0;d=p(d,10);if(l>>>0>=d>>>0){continue}break}}d=(q-((C|0)==102?0:m)|0)-((C|0)==103&(q|0)!=0)|0;if((d|0)<(p(g-s>>2,9)-9|0)){l=d+9216|0;t=(l|0)/9|0;n=((t<<2)+((n|0)<0?o+48|4:o+340|0)|0)-4096|0;d=10;l=l-p(t,9)|0;if((l|0)<=7){while(1){d=p(d,10);l=l+1|0;if((l|0)!=8){continue}break}}t=j[n>>2];v=(t>>>0)/(d>>>0)|0;y=n+4|0;l=t-p(d,v)|0;j:{if(l?0:(y|0)==(g|0)){break j}u=d>>>1|0;z=l>>>0>>0?.5:(g|0)==(y|0)?(u|0)==(l|0)?1:1.5:1.5;b=v&1?9007199254740994:9007199254740992;if(!(k[w|0]!=45|A)){z=-z;b=-b}l=t-l|0;j[n>>2]=l;if(b+z==b){break j}d=d+l|0;j[n>>2]=d;if(d>>>0>=1e9){while(1){j[n>>2]=0;n=n-4|0;if(n>>>0>>0){i=i-4|0;j[i>>2]=0}d=j[n>>2]+1|0;j[n>>2]=d;if(d>>>0>999999999){continue}break}}m=p(s-i>>2,9);d=10;l=j[i>>2];if(l>>>0<10){break j}while(1){m=m+1|0;d=p(d,10);if(l>>>0>=d>>>0){continue}break}}d=n+4|0;g=d>>>0>>0?d:g}while(1){d=g;n=g>>>0<=i>>>0;if(!n){g=d-4|0;if(!j[g>>2]){continue}}break}k:{if((C|0)!=103){A=e&8;break k}g=q?q:1;l=(g|0)>(m|0)&(m|0)>-5;q=(l?m^-1:-1)+g|0;f=(l?-1:-2)+f|0;A=e&8;if(A){break k}g=-9;l:{if(n){break l}t=j[d-4>>2];if(!t){break l}l=10;g=0;if((t>>>0)%10|0){break l}while(1){n=g;g=g+1|0;l=p(l,10);if(!((t>>>0)%(l>>>0)|0)){continue}break}g=n^-1}n=p(d-s>>2,9);if((f&-33)==70){A=0;g=(g+n|0)-9|0;g=(g|0)>0?g:0;q=(g|0)>(q|0)?q:g;break k}A=0;g=((m+n|0)+g|0)-9|0;g=(g|0)>0?g:0;q=(g|0)>(q|0)?q:g}t=q|A;v=(t|0)!=0;D=a;l=c;u=f&-33;g=(m|0)>0?m:0;m:{if((u|0)==70){break m}g=m>>31;g=ni(g+m^g,0,x);if((x-g|0)<=1){while(1){g=g-1|0;h[g|0]=48;if((x-g|0)<2){continue}break}}y=g-2|0;h[y|0]=f;h[g-1|0]=(m|0)<0?45:43;g=x-y|0}n=(g+(v+(q+B|0)|0)|0)+1|0;Rf(D,32,l,n,e);If(a,w,B);Rf(a,48,c,n,e^65536);n:{o:{p:{if((u|0)==70){f=o+16|8;m=o+16|9;l=i>>>0>s>>>0?s:i;i=l;while(1){g=ni(j[i>>2],0,m);q:{if((i|0)!=(l|0)){if(o+16>>>0>=g>>>0){break q}while(1){g=g-1|0;h[g|0]=48;if(o+16>>>0>>0){continue}break}break q}if((g|0)!=(m|0)){break q}h[o+24|0]=48;g=f}If(a,g,m-g|0);i=i+4|0;if(s>>>0>=i>>>0){continue}break}if(t){If(a,227507,1)}if((q|0)<1|d>>>0<=i>>>0){break p}while(1){g=ni(j[i>>2],0,m);if(g>>>0>o+16>>>0){while(1){g=g-1|0;h[g|0]=48;if(o+16>>>0>>0){continue}break}}If(a,g,(q|0)<9?q:9);g=q-9|0;i=i+4|0;if(d>>>0<=i>>>0){break o}f=(q|0)>9;q=g;if(f){continue}break}break o}r:{if((q|0)<0){break r}s=d>>>0>i>>>0?d:i+4|0;d=o+16|8;f=o+16|9;m=i;while(1){g=ni(j[m>>2],0,f);if((f|0)==(g|0)){h[o+24|0]=48;g=d}s:{if((i|0)!=(m|0)){if(o+16>>>0>=g>>>0){break s}while(1){g=g-1|0;h[g|0]=48;if(o+16>>>0>>0){continue}break}break s}If(a,g,1);g=g+1|0;if((q|0)<1?!A:0){break s}If(a,227507,1)}v=g;g=f-g|0;If(a,v,(g|0)<(q|0)?g:q);q=q-g|0;m=m+4|0;if(s>>>0<=m>>>0){break r}if((q|0)>-1){continue}break}}Rf(a,48,q+18|0,18,0);If(a,y,x-y|0);break n}g=q}Rf(a,48,g+9|0,9,0)}break b}q=f&32;l=q?w+9|0:w;t:{if(d>>>0>11){break t}g=12-d|0;if(!g){break t}z=8;while(1){z=z*16;g=g-1|0;if(g){continue}break}if(k[l|0]==45){b=-(z+(-b-z));break t}b=b+z-z}i=j[o+44>>2];g=i>>31;g=ni(g^g+i,0,x);if((x|0)==(g|0)){h[o+15|0]=48;g=o+15|0}m=B|2;i=j[o+44>>2];s=g-2|0;h[s|0]=f+15;h[g-1|0]=(i|0)<0?45:43;n=e&8;i=o+16|0;while(1){f=i;v=i;i=q;if(r(b)<2147483648){g=~~b}else{g=-2147483648}h[v|0]=i|k[g+227456|0];b=(b- +(g|0))*16;i=f+1|0;if(!((i-(o+16|0)|0)!=1|(b==0?!((d|0)>0|n):0))){h[f+1|0]=46;i=f+2|0}if(b!=0){continue}break}g=a;f=c;if(!d|((i-o|0)-18|0)>=(d|0)){q=((x-(o+16|0)|0)-s|0)+i|0}else{q=((d+x|0)-s|0)+2|0}d=q;n=d+m|0;Rf(g,32,f,n,e);If(a,l,m);Rf(a,48,c,n,e^65536);f=i-(o+16|0)|0;If(a,o+16|0,f);d=x-s|0;Rf(a,48,q-(d+f|0)|0,0,0);If(a,s,d)}Rf(a,32,c,n,e^8192);oe=o+560|0;return((c|0)>(n|0)?c:n)|0}function Sh(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;m=oe-16|0;oe=m;n=j[a+278664>>2];j[m+8>>2]=0;l=j[a+128>>2];i=j[l+12>>2];g=k[b|0];if(g){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}a:{b:{c:{d:{e:{f:{d=f;f=j[l+4>>2];d=i+((d>>>0)%(f>>>0)<<2)|0;e=j[d>>2];if(e){f=(i+(f<<2)|0)-4|0;while(1){l=j[e>>2];if(k[l|0]==(g|0)){if(!we(l,b)){break f}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}i=j[a+278688>>2];f=0;if(g){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}l=j[a+278680>>2];d=((f>>>0)%(l>>>0)<<2)+i|0;e=j[d>>2];g:{if(e){f=((l<<2)+i|0)-4|0;while(1){o=j[e>>2];if(k[o|0]==(g|0)){if(!we(o,b)){break g}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}f=0;j[m+12>>2]=0;if(g){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}d=((f>>>0)%(l>>>0)<<2)+i|0;e=j[d>>2];h:{if(e){f=((l<<2)+i|0)-4|0;while(1){e=j[e>>2];if(k[e|0]==(g|0)){if(!we(e,b)){break h}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}d=j[a+278672>>2];d=xe(n,16,d,d+1|0,j[a+278668>>2],m+12|0);j[a+278668>>2]=d;e=j[m+12>>2];if(e){break e}d=d+(j[a+278672>>2]<<4)|0;j[d>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;g=Le(b)+1|0;f=xe(n,1,0,g,0,m+12|0);j[d>>2]=f;e=j[m+12>>2];if(e){break e}Ae(f,b,g);j[d+4>>2]=1;j[d+8>>2]=0;e=um(j[d>>2],j[a+278672>>2]+83|0,a+278676|0,n);if(e){break e}j[a+278672>>2]=j[a+278672>>2]+1;i=j[a+278688>>2];g=k[b|0]}j[m+8>>2]=0;f=0;if(g&255){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}d=f;f=j[a+278680>>2];d=((d>>>0)%(f>>>0)<<2)+i|0;e=j[d>>2];if(e){f=((f<<2)+i|0)-4|0;g=g&255;while(1){l=j[e>>2];if((g|0)==k[l|0]){if(!we(l,b)){break g}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}e=0}d=j[a+76>>2];if((d|0)!=j[a+72>>2]){break b}if(d){break d}d=xe(n,16,0,1,0,m+8|0);j[a+80>>2]=d;if(!j[m+8>>2]){break c}break a}i:{j:{k:{l=j[a+80>>2];b=j[e+4>>2];a=l+(b<<4)|0;switch(j[a+4>>2]-1|0){case 2:break i;case 1:break j;case 0:break k;default:break a}}b=j[a+12>>2];if(b){qe[j[n+8>>2]](n,b)}j[a+12>>2]=0;if(!c|!k[c|0]){break a}t=a,u=gg(n,c,m+8|0),j[t+12>>2]=u;break a}e=0;l:{if(!c){break l}n=k[c|0];if(!n){break l}g=77888;i=10;e=(n|0)==45;a=e?c+1|0:c;d=a;e=k[c+e|0];m:{if((e|0)!=48){break m}if((k[a+1|0]|32)!=120){e=48;d=a;break m}e=k[a+2|0];g=77856;i=16;d=a+2|0}f=0;a=k[((e&248)>>>3|0)+g|0];e=e<<24>>24;if(a>>>(e&7)&1){while(1){f=k[e+77920|0]+p(f,i)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+g|0]>>>(e&7)&1){continue}break}}e=(n|0)==45?0-f|0:f}j[(l+(b<<4)|0)+12>>2]=e;break a}f=0;n:{if(!c){break n}e=k[c|0];if(!e){break n}g=77888;i=10;d=c;o:{if((e|0)!=48){break o}if((k[c+1|0]|32)!=120){e=48;d=c;break o}e=k[c+2|0];g=77856;i=16;d=c+2|0}a=k[((e&248)>>>3|0)+g|0];e=e<<24>>24;if(!(a>>>(e&7)&1)){break n}while(1){f=k[e+77920|0]+p(f,i)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+g|0]>>>(e&7)&1){continue}break}}j[(l+(b<<4)|0)+12>>2]=f;break a}j[m+8>>2]=e;break a}d=xe(n,16,d,d+1|0,j[a+80>>2],m+8|0);j[a+80>>2]=d;if(j[m+8>>2]){break a}}d=(j[a+72>>2]<<4)+d|0;j[d>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;j[a+72>>2]=j[a+72>>2]+1}l=j[a+80>>2];o=j[a+76>>2];q=l+(o<<4)|0;g=q;d=j[e+4>>2];p:{if(d>>>0>=83){d=(j[a+278668>>2]+(d<<4)|0)-1328|0;break p}d=(d<<4)+75376|0}j[g>>2]=j[d>>2];j[q+4>>2]=j[d+4>>2];j[q+8>>2]=j[d+8>>2];q:{r:{switch(j[d+4>>2]-1|0){case 0:j[q+12>>2]=0;if(!c|!k[c|0]){break q}t=q,u=gg(n,c,m+8|0),j[t+12>>2]=u;if(!j[m+8>>2]){break q}break a;case 1:e=0;s:{if(!c){break s}s=k[c|0];if(!s){break s}i=77888;r=10;e=(s|0)==45;g=e?c+1|0:c;d=g;e=k[c+e|0];t:{if((e|0)!=48){break t}if((k[g+1|0]|32)!=120){e=48;d=g;break t}e=k[g+2|0];i=77856;r=16;d=g+2|0}f=0;c=k[((e&248)>>>3|0)+i|0];e=e<<24>>24;if(c>>>(e&7)&1){while(1){f=k[e+77920|0]+p(f,r)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+i|0]>>>(e&7)&1){continue}break}}e=(s|0)==45?0-f|0:f}j[((o<<4)+l|0)+12>>2]=e;break q;case 2:break r;default:break q}}f=0;u:{if(!c){break u}e=k[c|0];if(!e){break u}i=77888;r=10;d=c;v:{if((e|0)!=48){break v}if((k[c+1|0]|32)!=120){e=48;d=c;break v}e=k[c+2|0];i=77856;r=16;d=c+2|0}c=k[((e&248)>>>3|0)+i|0];e=e<<24>>24;if(!(c>>>(e&7)&1)){break u}while(1){f=k[e+77920|0]+p(f,r)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+i|0]>>>(e&7)&1){continue}break}}j[((o<<4)+l|0)+12>>2]=f}w:{x:{if(Qe(b,75356,7)){break x}switch(k[b+7|0]){case 0:case 9:case 10:case 13:case 32:break w;default:break x}}c=um(j[q>>2],j[a+76>>2],j[a+128>>2],n);j[m+8>>2]=c;if(c){break a}}j[a+76>>2]=j[a+76>>2]+1;y:{if(Qe(b,76878,12)){break y}z:{switch(k[b+12|0]){case 0:case 9:case 10:case 13:case 32:break z;default:break y}}j[a+36>>2]=j[((o<<4)+l|0)+12>>2];break a}A:{if(Qe(b,76759,11)){break A}B:{switch(k[b+11|0]){case 0:case 9:case 10:case 13:case 32:break B;default:break A}}j[a+40>>2]=j[((o<<4)+l|0)+12>>2];break a}C:{if(Qe(b,76771,12)){break C}D:{switch(k[b+12|0]){case 0:case 9:case 10:case 13:case 32:break D;default:break C}}j[a+44>>2]=j[((o<<4)+l|0)+12>>2];break a}if(Qe(b,75184,7)){break a}E:{switch(k[b+7|0]){case 0:case 9:case 10:case 13:case 32:break E;default:break a}}b=j[((o<<4)+l|0)+12>>2];if(!b){j[m+8>>2]=3;break a}F:{switch(k[b|0]-67|0){case 13:case 45:j[a+28>>2]=8;break a;case 10:case 42:j[a+28>>2]=16;break a;case 0:case 32:break F;default:break a}}j[a+28>>2]=32}oe=m+16|0;return j[m+8>>2]}function zL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;w=oe-16|0;oe=w;s=6;q=j[a+4>>2];a:{if(!q){break a}y=c?c-1|0:0;if(y>>>0>=m[q+408>>2]){break a}b:{c:{if(d&9){break c}e=j[q+380>>2];if(!e){break c}n=j[q+416>>2];v=j[q+104>>2];c=j[q+388>>2];g=l[b+12>>1];while(1){if(!(j[c+4>>2]==l[b+14>>1]?(g|0)==j[c>>2]:0)){c=c+36|0;f=f+1|0;if((e|0)!=(f|0)){continue}break c}break}f=j[c+8>>2];if(Fe(v,j[c+24>>2]+j[q+432>>2]|0)){break c}if(_e(v,p(j[c+28>>2],((f>>>1&1)+(f&1|4)|0)+(f>>>2&1)|0))){break c}d:{f=j[c+28>>2];if(!f){break d}c=j[c+8>>2];x=c&1;z=c&2;A=c&4;r=(x|4)+(z>>>1|0)+(A>>>2)|0;c=j[(y<<4)+n>>2];B=j[v+36>>2];g=j[v+32>>2];while(1){u=f+o>>>1|0;e=g+p(u,r)|0;if(B>>>0>>0){break d}e:{if(x){t=e+2|0;e=k[e+1|0]|k[e|0]<<8;break e}t=e+1|0;e=k[e|0]}if((e|0)!=(c|0)){e=c>>>0>e>>>0;o=e?u:o;f=e?f:u;if(o>>>0>>0){continue}break d}break}f:{if(z){f=k[t+1|0]|k[t|0]<<8;c=t+2|0;break f}f=k[t|0];c=t+1|0}e=k[c|0];g:{if(A){o=2;e=k[c+1|0]<<8|e<<16;break g}o=1;e=e<<8}c=k[c+o|0];Ve(v);if(!f){break c}e=c|e;g=(y<<4)+n|0;c=j[g+4>>2];o=j[q+304>>2];n=j[q+300>>2];h:{if((o|0)==(n|0)){r=c;break h}r=Ne(c,n,o);o=j[q+304>>2];c=j[g+4>>2]}j[a+56>>2]=r;c=Ne(l[b+12>>1]<<8,c,o);if(Fe(v,e+j[q+188>>2]|0)){break c}if(_e(v,f)){break c}g=j[v+36>>2];e=j[v+32>>2];n=e;if(g>>>0>>0){break d}i:{j:{k:{l:{m:{t=k[e|0];switch((t&3)-1|0){case 2:break j;case 1:break k;case 0:break l;default:break m}}f=e+2|0;if(g>>>0>>0){break d}e=h[n+1|0];u=e>>4;n=e<<28>>28;break i}f=e+3|0;if(g>>>0>>0){break d}n=h[e+2|0];u=h[e+1|0];break i}f=e+5|0;if(g>>>0>>0){break d}n=k[e+3|0]|k[e+4|0]<<8;n=(n<<24|n<<8&16711680)>>16;e=k[e+1|0]|k[e+2|0]<<8;u=(e<<24|e<<8&16711680)>>16;break i}f=e+7|0;if(g>>>0>>0){break d}n=k[e+6|0]|(k[e+5|0]<<8|k[e+4|0]<<16);u=k[e+3|0]|(k[e+2|0]<<8|k[e+1|0]<<16)}n:{o:{p:{q:{o=t>>>2&3;r=o;switch(o-1|0){case 2:break o;case 1:break p;case 0:break q;default:break n}}e=f+1|0;if(e>>>0>g>>>0){break d}f=k[f|0];r=f&15;o=f>>>4|0;f=e;break n}e=f+2|0;if(e>>>0>g>>>0){break d}r=k[f+1|0];o=k[f|0];f=e;break n}e=f+4|0;if(e>>>0>g>>>0){break d}r=k[f+3|0]|k[f+2|0]<<8;o=k[f+1|0]|k[f|0]<<8;f=e}r:{s:{t:{u:{z=t>>>4|0;switch((z&3)-1|0){case 2:break s;case 1:break t;case 0:break u;default:break r}}e=f+1|0;if(e>>>0>g>>>0){break d}c=h[f|0]<<8;f=e;break r}e=f+2|0;if(e>>>0>g>>>0){break d}c=k[f|0]|k[f+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;f=e;break r}e=f+3|0;if(e>>>0>g>>>0){break d}c=k[f+2|0]|(k[f+1|0]<<8|k[f|0]<<16);f=e}if((2147483647-r|0)<(n|0)){break d}j[a+72>>2]=1651078259;j[a+76>>2]=r;j[a+80>>2]=o;h[a+94|0]=1;j[a+48>>2]=0;j[a+36>>2]=n<<6;j[a+32>>2]=u<<6;j[a+28>>2]=r<<6;e=o<<6;j[a+24>>2]=e;g=o+7>>>3|0;j[a+84>>2]=g;j[a+44>>2]=0-e>>1;j[a+40>>2]=(c>>2)+32&-64;c=j[b+32>>2];j[a+104>>2]=n+r;j[a+100>>2]=u;j[a+52>>2]=c;if(Hm(a,p(g,r))){break d}c=j[a+76>>2];v:{if(!c){break v}e=j[a+80>>2];if(!e){break v}u=j[v+36>>2];r=0;g=j[a+84>>2];n=j[q+208>>2]&2;x=n?g:0-g|0;o=j[a+88>>2];n=n?o:o+p(g,c-1|0)|0;t=p(c,e);w:{switch(z>>>2|0){case 0:a=u-f<<3;q=a>>>0>t>>>0?t:a;if(!q){break v}s=128;a=0;c=0;d=n;b=e;g=q;while(1){if(!((g^q)&7)){c=k[f|0];f=f+1|0}a=c<<24>>31&s|a;b=b-1|0;x:{if(!b){h[d|0]=a;a=0;s=128;b=e;n=n+x|0;d=n;break x}s=s>>>1|0;if(s){break x}h[d|0]=a;d=d+1|0;a=0;s=128}c=c<<1;g=g-1|0;if(g){continue}break}if((s|0)==128){break v}h[d|0]=a;Ve(v);break b;case 1:if(!t){break v}r=1;d=128;b=0;o=n;q=e;s=0;g=0;a=1;while(1){c=g;y:{if(r){while(1){z:{if(!a){c=s;a=1;break z}if(f>>>0>=u>>>0){a=1;c=g;g=d;break y}a=k[f|0];s=a&15;c=a>>>4|0;f=f+1|0;a=0}g=0;if(!c){continue}break}}g=a?d:0}b=g|b;q=q-1|0;A:{if(!q){h[o|0]=b;b=0;d=128;q=e;n=n+x|0;o=n;break A}d=d>>>1|0;if(d){break A}h[o|0]=b;o=o+1|0;b=0;d=128}r=(c|0)<2;g=c-1|0;t=t-1|0;if(t){continue}break}if((d|0)==128){break v}h[o|0]=b;Ve(v);break b;case 2:break w;default:break d}}if(!t){break v}c=1;s=128;d=n;b=e;g=0;a=1;while(1){B:{if(!c|f>>>0>=u>>>0){break B}C:{while(1){a=a^1;c=f+1|0;g=k[f|0];if(g){break C}f=c;if((c|0)!=(u|0)){continue}break}g=0;f=u;break B}f=c}r=(a?s:0)|r;b=b-1|0;D:{if(!b){h[d|0]=r;r=0;s=128;b=e;n=n+x|0;d=n;break D}s=s>>>1|0;if(s){break D}h[d|0]=r;d=d+1|0;r=0;s=128}c=(g|0)<2;g=g-1|0;t=t-1|0;if(t){continue}break}if((s|0)==128){break v}h[d|0]=r}Ve(v);break b}Ve(v)}if(d&16384){break a}f=j[q+416>>2];j[a+72>>2]=1869968492;j[a+108>>2]=0;c=f+(y<<4)|0;e=j[c+8>>2];c=j[c+12>>2];g=j[q+188>>2];n=j[q+104>>2];Yh(j[a+188>>2]);j[a+176>>2]=0;s=hr(a+160|0,n,g,c,e);if(s){break a}c=j[a+188>>2];g=j[c+24>>2];e=a+108|0;j[e>>2]=j[c+20>>2];j[e+4>>2]=g;j[e+16>>2]=j[c+36>>2];g=j[c+32>>2];j[e+8>>2]=j[c+28>>2];j[e+12>>2]=g;c=j[a+124>>2]&-6;j[a+124>>2]=c|4;if(!(!b|l[b+14>>1]>23)){j[a+124>>2]=c|260}j[a+52>>2]=0;j[a+40>>2]=0;c=j[(f+(y<<4)|0)+4>>2];f=j[q+304>>2];g=j[q+300>>2];if((f|0)!=(g|0)){c=Ne(c,g,f)}E:{if(h[q+324|0]&1){j[a+52>>2]=c;g=c;c=j[a+40>>2];break E}j[a+40>>2]=c;g=j[a+52>>2]}j[a+60>>2]=g;j[a+56>>2]=c;j[a+44>>2]=0;j[a+48>>2]=0;if(!(d&1)){d=j[b+20>>2];g=j[b+16>>2];b=a;if(i[a+110>>1]>=1){c=j[a+112>>2];f=0;while(1){C=c,D=ye(j[c>>2],g),j[C>>2]=D;C=c,D=ye(j[c+4>>2],d),j[C+4>>2]=D;c=c+8|0;f=f+1|0;if((f|0)>1]){continue}break}c=j[a+40>>2]}C=b,D=ye(c,g),j[C+40>>2]=D;C=a,D=ye(j[a+52>>2],d),j[C+52>>2]=D}Ug(e,w);b=j[w>>2];j[a+24>>2]=j[w+8>>2]-b;c=j[w+12>>2];d=j[w+4>>2];j[a+36>>2]=d;j[a+32>>2]=b;j[a+28>>2]=c-d}s=0}oe=w+16|0;return s|0}function Ll(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=q(0),m=0,o=0,s=0,t=q(0),u=0,v=0,w=0,x=0,y=0,A=q(0),B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;f=oe-4976|0;oe=f;H=j[b+1288>>2];v=j[b+1296>>2];a:{b:{c:{o=j[b+1284>>2];d:{if((o|0)<=0){break d}while(1){j[(f+1120|0)+(e<<2)>>2]=-200;e=e+1|0;if((o|0)!=(e|0)){continue}break}e=0;if((o|0)<=0){break d}while(1){j[(f+848|0)+(e<<2)>>2]=-200;e=e+1|0;if((o|0)!=(e|0)){continue}break}e=0;if((o|0)<=0){break d}Ee(f+576|0,0,o<<2);while(1){j[(f+304|0)+(e<<2)>>2]=1;e=e+1|0;if((o|0)!=(e|0)){continue}break}if((o|0)>0){break c}}if(o){break a}j[f+1392>>2]=0;j[f+1396>>2]=H;if((H|0)>=1){s=H-1|0;while(1){g=h;i=g<<2;t=n[i+d>>2];l=q(q(t*q(7.314285755157471))+q(1023.5));e:{if(q(r(l))>2]+n[v+1112>>2])^1)){I=I+1|0;u=h+u|0;m=g+m|0;x=p(g,h)+x|0;y=p(h,h)+y|0;w=p(g,g)+w|0;break f}B=B+1|0;k=h+k|0;E=g+E|0;C=p(g,h)+C|0;F=p(h,h)+F|0;D=p(g,g)+D|0}h=g+1|0;if((g|0)!=(s|0)){continue}break}}j[f+1444>>2]=B;j[f+1440>>2]=C;j[f+1436>>2]=F;j[f+1432>>2]=D;j[f+1428>>2]=k;j[f+1424>>2]=E;j[f+1420>>2]=I;j[f+1416>>2]=x;j[f+1412>>2]=y;j[f+1408>>2]=w;j[f+1404>>2]=u;j[f+1400>>2]=m;break b}Ee(f+32|0,255,o<<2);if((o|0)==1){break a}M=o-1|0;N=H-1|0;h=j[b>>2];while(1){i=(f+1392|0)+p(J,56)|0;J=J+1|0;s=j[(J<<2)+b>>2];j[i+4>>2]=s;j[i>>2]=h;u=0;w=0;y=0;x=0;E=0;k=0;m=0;D=0;F=0;C=0;B=0;K=0;G=(s|0)<(H|0)?s:N;if((G|0)>=(h|0)){while(1){g=h;L=g<<2;t=n[L+d>>2];l=q(q(t*q(7.314285755157471))+q(1023.5));g:{if(q(r(l))>2]+n[v+1112>>2])^1)){m=m+1|0;B=h+B|0;K=g+K|0;D=p(g,h)+D|0;F=p(h,h)+F|0;C=p(g,g)+C|0;break h}u=u+1|0;E=h+E|0;k=g+k|0;w=p(g,h)+w|0;y=p(h,h)+y|0;x=p(g,g)+x|0}h=g+1|0;if((g|0)!=(G|0)){continue}break}}j[i+52>>2]=u;j[i+48>>2]=w;j[i+44>>2]=y;j[i+40>>2]=x;j[i+36>>2]=E;j[i+32>>2]=k;j[i+28>>2]=m;j[i+24>>2]=D;j[i+20>>2]=F;j[i+16>>2]=C;j[i+12>>2]=B;j[i+8>>2]=K;I=m+I|0;h=s;if((J|0)!=(M|0)){continue}break}}if(!I){g=0;break a}j[f+28>>2]=-200;j[f+24>>2]=-200;Kl(f+1392|0,o-1|0,f+28|0,f+24|0,v);e=j[f+28>>2];j[f+1120>>2]=e;j[f+848>>2]=e;h=j[f+24>>2];j[f+852>>2]=h;j[f+1124>>2]=h;if((o|0)>=3){E=v+836|0;y=2;while(1){w=y<<2;s=j[(w+b|0)+520>>2];e=s<<2;C=j[e+(f+576|0)>>2];i=C<<2;h=i+(f+32|0)|0;B=j[e+(f+304|0)>>2];i:{if(j[h>>2]==(B|0)){break i}e=b+520|0;m=B<<2;I=j[e+m>>2];F=j[e+i>>2];j[h>>2]=B;j:{J=i+(f+848|0)|0;g=j[J>>2];e=j[i+(f+1120|0)>>2];h=g;k:{if((e|0)<0){break k}h=e;if((g|0)<0){break k}h=e+g>>1}k=(h|0)==-1;u=j[m+(f+848|0)>>2];K=m+(f+1120|0)|0;g=j[K>>2];e=u;l:{if((g|0)<0){break l}e=g;if((u|0)<0){break l}e=g+u>>1}u=e;if(!(k|(u|0)==-1)){k=u-h|0;D=j[m+E>>2];g=j[i+E>>2];i=D-g|0;H=(k|0)/(i|0)|0;m=g<<2;t=n[m+d>>2];l=q(q(t*q(7.314285755157471))+q(1023.5));m:{if(q(r(l))0?e:0;e=(e|0)<1023?e:1023;n:{l=t;t=n[v+1112>>2];o:{if(!(l<=q(n[c+m>>2]+t)^1)){A=q(e|0);l=q(h|0);if(A>q(n[v+1096>>2]+l)|A>2])){break o}}e=h-e|0;x=p(e,e);e=1;g=g+1|0;if((D|0)>(g|0)){e=k>>31;G=e+k^e;e=p(i,H);M=G+((e|0)<0?e:0-e|0)|0;N=(k|0)>-1?1:-1;m=0;e=h;while(1){G=g<<2;l=n[G+d>>2];A=q(q(l*q(7.314285755157471))+q(1023.5));p:{if(q(r(A))0?k:0;k=(k|0)<1023?k:1023;if(!(!k|l<=q(t+n[c+G>>2])^1)){A=q(k|0);l=q(e|0);if(A>q(n[v+1096>>2]+l)|A>2])){break o}}G=x;x=e-k|0;x=G+p(x,x)|0;m=m-(L?0:i)|0;g=g+1|0;if((D|0)!=(g|0)){continue}break}e=i}t=n[v+1096>>2];l=q(e|0);A=q(q(t*t)/l);t=n[v+1104>>2];if(A>t){break n}A=n[v+1100>>2];if(t>>0)/(e>>>0)|0)^1|t>2]=-200;j[f+16>>2]=-200;j[f+12>>2]=-200;j[f+8>>2]=-200;g=Kl((f+1392|0)+p(F,56)|0,s-F|0,f+20|0,f+16|0,v);e=Kl((f+1392|0)+p(s,56)|0,I-s|0,f+12|0,f+8|0,v);q:{if(!g){if(!e){break q}j[f+12>>2]=j[f+16>>2];j[f+8>>2]=u;break q}j[f+20>>2]=h;j[f+16>>2]=j[f+12>>2];if(e){break j}}e=j[f+20>>2];j[J>>2]=e;if(!C){j[f+1120>>2]=e}e=j[f+16>>2];j[w+(f+1120|0)>>2]=e;h=j[f+12>>2];j[w+(f+848|0)>>2]=h;g=j[f+8>>2];j[K>>2]=g;if((B|0)==1){j[f+852>>2]=g}if((e&h)<0){break i}e=s;r:{if((e|0)<1){break r}while(1){h=e-1|0;g=(f+304|0)+(h<<2)|0;if((B|0)!=j[g>>2]){break r}j[g>>2]=y;g=(e|0)>1;e=h;if(g){continue}break}}e=s+1|0;if((o|0)<=(e|0)){break i}while(1){h=(f+576|0)+(e<<2)|0;if((C|0)!=j[h>>2]){break i}j[h>>2]=y;e=e+1|0;if((o|0)!=(e|0)){continue}break}break i}j[w+(f+848|0)>>2]=-200;j[w+(f+1120|0)>>2]=-200;break i}U(1);z()}j[w+(f+848|0)>>2]=-200;j[w+(f+1120|0)>>2]=-200}y=y+1|0;if((y|0)!=(o|0)){continue}break}e=j[f+1120>>2]}g=Ef(a,o<<2);d=g;c=j[f+848>>2];a=c;s:{if((e|0)<0){break s}a=e;if((c|0)<0){break s}a=c+e>>1}j[d>>2]=a;d=g;e=j[f+852>>2];c=j[f+1124>>2];a=e;t:{if((c|0)<0){break t}a=c;if((e|0)<0){break t}a=c+e>>1}j[d+4>>2]=a;if((o|0)<3){break a}d=2;h=v+836|0;while(1){e=d<<2;a=e+b|0;s=j[a+772>>2]<<2;i=j[a+1024>>2]<<2;u=j[i+g>>2]&32767;a=(j[s+g>>2]&32767)-u|0;c=a>>31;k=c^a+c;c=j[h+i>>2];c=(p(k,j[e+h>>2]-c|0)|0)/(j[h+s>>2]-c|0)|0;s=u+((a|0)<0?0-c|0:c)|0;i=j[e+(f+848|0)>>2];c=j[e+(f+1120|0)>>2];a=i;u:{if((c|0)<0){break u}a=c;if((i|0)<0){break u}a=c+i>>1}c=s|32768;j[e+g>>2]=(a|0)<0?c:(a|0)==(s|0)?c:a;d=d+1|0;if((o|0)!=(d|0)){continue}break}}oe=f+4976|0;return g}function My(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;n=j[c+4>>2];s=j[a+8>>2];a:{if(!(k[c|0]&2)){break a}if((Eg(c)|0)>=0){break a}return-1}f=k[n+9|0];h=j[d>>2];q=j[d+4>>2];u=j[c+16>>2];t=j[c+20>>2];d=j[j[a+52>>2]+12>>2]+28|0;o=j[b+4>>2];b:{c:{if(!o){break c}if((f|0)==2){while(1){e=0;while(1){g=d+2|0;e=k[d|0]+e|0;d=k[d+1|0];d:{if(d){e=d+e|0;d=g+(d<<1)|0;break d}d=g;if(!e){break b}}if((e|0)<(s|0)){continue}break}e=(d&2)+d|0;m=0;while(1){g=l[e>>1];r=l[e+2>>1];d=((r<<2)+e|0)+4|0;e=d;m=r+(g+m|0)|0;if((s|0)>(m|0)){continue}break}o=o-1|0;if(o){continue}break c}}o=o<<1;while(1){e=0;while(1){g=d+4|0;e=l[d>>1]+e|0;d=l[d+2>>1];e:{if(d){e=d+e|0;d=g+(d<<2)|0;break e}d=g;if(!e){break b}}if((e|0)<(s|0)){continue}break}o=o-1|0;if(o){continue}break}}g=(t+p(q,u)|0)+p(f,h)|0;m=j[b>>2];if(!(j[b+8>>2]==j[a+8>>2]?!m:0)){f:{g:{a=j[c+4>>2];switch(k[a+9|0]-2|0){case 2:break f;case 0:break g;default:break b}}if(!(j[a+20>>2]!=2016?!(j[a+16>>2]==2016|j[a+12>>2]==2016):0)){g=g-(m<<1)|0;n=m+j[b+8>>2]|0;o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];h:{if(b){f=m-e|0;h=(f|0)>0;d=h?m:e;q=n-d|0;f=b-(h?f:0)|0;f=(f|0)>(q|0)?q:f;if((f|0)>=1){Ge((d<<1)+g|0,a+(d-e<<1)|0,f<<1)}e=b+e|0;d=a+(b<<1)|0;break h}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){b=l[d>>1]+b|0;f=d+4|0;e=l[d+2>>1];d=f;i:{if(!e){break i}d=m-b|0;h=(d|0)>0;a=h?m:b;q=n-a|0;d=e-(h?d:0)|0;h=(d|0)>(q|0)?q:d;if((h|0)>=1){q=(a<<1)+g|0;u=f+(a-b<<2)|0;d=0;while(1){a=j[u+(d<<2)>>2];t=q+(d<<1)|0;r=l[t>>1];r=(r<<16|r)&132184095;a=(p((a&132184095)-r|0,a>>>5&31)>>>5|0)+r&132184095;i[t>>1]=a|a>>>16;d=d+1|0;if((h|0)!=(d|0)){continue}break}}b=b+e|0;d=f+(e<<2)|0}if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b}g=g-(m<<1)|0;n=m+j[b+8>>2]|0;o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];j:{if(b){f=m-e|0;h=(f|0)>0;d=h?m:e;q=n-d|0;f=b-(h?f:0)|0;f=(f|0)>(q|0)?q:f;if((f|0)>=1){Ge((d<<1)+g|0,a+(d-e<<1)|0,f<<1)}e=b+e|0;d=a+(b<<1)|0;break j}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){b=l[d>>1]+b|0;f=d+4|0;e=l[d+2>>1];d=f;k:{if(!e){break k}d=m-b|0;h=(d|0)>0;a=h?m:b;q=n-a|0;d=e-(h?d:0)|0;h=(d|0)>(q|0)?q:d;if((h|0)>=1){q=(a<<1)+g|0;u=f+(a-b<<2)|0;d=0;while(1){a=j[u+(d<<2)>>2];t=q+(d<<1)|0;r=l[t>>1];r=(r<<16|r)&65043487;a=(p((a&65043487)-r|0,a>>>5&31)>>>5|0)+r&65043487;i[t>>1]=a|a>>>16;d=d+1|0;if((h|0)!=(d|0)){continue}break}}b=b+e|0;d=f+(e<<2)|0}if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b}g=g-(m<<2)|0;o=m+j[b+8>>2]|0;n=j[b+12>>2];while(1){e=0;while(1){a=d+4|0;e=l[d>>1]+e|0;b=l[d+2>>1];l:{if(b){f=m-e|0;h=(f|0)>0;d=h?m:e;q=o-d|0;f=b-(h?f:0)|0;f=(f|0)>(q|0)?q:f;if((f|0)>=1){Ge((d<<2)+g|0,a+(d-e<<2)|0,f<<2)}e=b+e|0;d=a+(b<<2)|0;break l}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}b=0;while(1){b=l[d>>1]+b|0;f=d+4|0;e=l[d+2>>1];d=f;m:{if(!e){break m}d=m-b|0;h=(d|0)>0;a=h?m:b;q=o-a|0;d=e-(h?d:0)|0;q=(d|0)>(q|0)?q:d;if((q|0)>=1){u=(a<<2)+g|0;t=f+(a-b<<2)|0;d=0;while(1){h=d<<2;r=h+u|0;w=j[r>>2];a=w&16711935;v=r;h=j[h+t>>2];r=h>>>24|0;x=a+(p(r,(h&16711935)-a|0)>>>8|0)&16711935;a=w&65280;j[v>>2]=x|(p((h&65280)-a|0,r)>>>8|0)+a&65280|-16777216;d=d+1|0;if((q|0)!=(d|0)){continue}break}}b=b+e|0;d=f+(e<<2)|0}if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b}n:{switch(f-2|0){case 0:if(!(j[n+20>>2]!=2016?!(j[n+16>>2]==2016|j[n+12>>2]==2016):0)){o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];o:{if(b){d=b<<1;Ge((e<<1)+g|0,a,d);e=b+e|0;d=a+d|0;break o}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){e=d+4|0;b=l[d>>1]+b|0;a=l[d+2>>1];if(a){d=(b<<1)+g|0;m=0;while(1){n=j[e>>2];f=l[d>>1];f=(f<<16|f)&132184095;n=(p((n&132184095)-f|0,n>>>5&31)>>>5|0)+f&132184095;i[d>>1]=n>>>16|n;d=d+2|0;e=e+4|0;m=m+1|0;if((a|0)!=(m|0)){continue}break}b=a+b|0}d=e;if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b}o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];p:{if(b){d=b<<1;Ge((e<<1)+g|0,a,d);e=b+e|0;d=a+d|0;break p}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){e=d+4|0;b=l[d>>1]+b|0;a=l[d+2>>1];if(a){d=(b<<1)+g|0;m=0;while(1){n=j[e>>2];f=l[d>>1];f=(f<<16|f)&65043487;n=(p((n&65043487)-f|0,n>>>5&31)>>>5|0)+f&65043487;i[d>>1]=n>>>16|n;d=d+2|0;e=e+4|0;m=m+1|0;if((a|0)!=(m|0)){continue}break}b=a+b|0}d=e;if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b;case 2:break n;default:break b}}m=j[b+12>>2];while(1){e=0;while(1){a=d+4|0;e=l[d>>1]+e|0;b=l[d+2>>1];q:{if(b){d=b<<2;Ge((e<<2)+g|0,a,d);e=b+e|0;d=a+d|0;break q}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}b=0;while(1){e=d+4|0;b=l[d>>1]+b|0;a=l[d+2>>1];if(a){d=(b<<2)+g|0;o=0;while(1){n=j[e>>2];f=n>>>24|0;h=j[d>>2];q=h&65280;r=(p(f,(n&65280)-q|0)>>>8|0)+q&65280;v=n&16711935;n=h&16711935;j[d>>2]=r|(p(f,v-n|0)>>>8|0)+n&16711935|-16777216;d=d+4|0;e=e+4|0;o=o+1|0;if((a|0)!=(o|0)){continue}break}b=a+b|0}d=e;if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;m=m-1|0;if(m){continue}break}}if(k[c|0]&2){jg(c)}return 0}function No(a,b,c){var d=0,e=0,f=0,g=0,o=0,s=0,t=0,u=0,v=0,x=0,y=q(0),z=0;v=oe-32|0;oe=v;e=(b>>>0)%257|0;d=p(e,84)+a|0;u=d+56|0;j[a+52>>2]=u;if(l[d+136>>1]!=(b|0)){j[u>>2]=0;j[d+60>>2]=0;g=j[d+76>>2];if(g){ze(g);j[d+76>>2]=0}e=p(e,84)+a|0;g=j[e+100>>2];if(g){ze(g);j[e+100>>2]=0}i[d+136>>1]=0;u=j[a+52>>2]}d=0;a:{if((j[u>>2]&c)==(c|0)){break a}g=j[a>>2];if(!g){d=32;break a}d=j[u+4>>2];if(!d){d=0;b:{if(!g){break b}e=j[g+92>>2];if(!e){break b}d=qe[j[j[e+12>>2]+12>>2]](e,b)|0}j[u+4>>2]=d}d=Wh(g,d,j[a+21688>>2]);if(d){break a}e=j[g+84>>2];c:{if(!(c&16)){break c}o=j[u>>2];if(o&16){break c}d=(j[e+36>>2]&-64)/64|0;s=j[e+32>>2];z=(s+j[e+24>>2]|0)+63|0;d:{if(h[g+8|0]&1){x=j[a+8>>2]-d|0;f=j[e+28>>2];break d}f=i[j[g+32>>2]+(j[a+21684>>2]<<4)>>1]}t=j[e+40>>2];j[u+68>>2]=d;g=(z&-64)/64|0;j[u+60>>2]=g;j[u+56>>2]=(s&-64)/64;j[u+72>>2]=x;j[u+64>>2]=d+((f+63&-64)/-64|0);j[u+76>>2]=(t+63&-64)/64;d=j[a+24>>2];if(!(!(d&1)|h[a+20|0]&1)){g=j[a+36>>2]+g|0;j[u+60>>2]=g}if(!(!(d&2)|k[a+20|0]&2)){f=u;y=q(w(n[a+40>>2]));e:{if(q(r(y))>2]=d+g}j[u>>2]=o|16}z=c&1;f:{if(!(c&2)|k[u|0]&2?!(h[u|0]&1?0:z):0){break f}j[v+28>>2]=0;if(!(!(k[a+24|0]&2)|k[a+20|0]&2)){g=e+108|0;j[v+8>>2]=65536;f=j[a+4>>2];y=n[a+40>>2];j[v+16>>2]=0;j[v+20>>2]=65536;c=v;y=q(y*q(65536));g:{if(q(r(y))>2]=(d|0)/(f|0);Ah(g,v+8|0)}h:{if(!(j[e+72>>2]==1651078259|j[a+28>>2]<1)){ZO(e,v+28|0);d=NN(j[65573],v+8|0);if(d){break a}MN(j[v+8>>2],j[a+28>>2]<<6);IN(v+28|0,j[v+8>>2]);LN(j[v+8>>2]);d=YO(v+28|0,z<<1);if(d){vk(j[v+28>>2]);break a}e=j[v+28>>2]+28|0;break h}d=bs(e,z<<1);if(d){break a}e=e+76|0}c=j[e+4>>2];g=z?u+8|0:u+32|0;j[g>>2]=j[e>>2];j[g+4>>2]=c;c=j[e+20>>2];j[g+16>>2]=j[e+16>>2];j[g+20>>2]=c;c=j[e+12>>2];j[g+8>>2]=j[e+8>>2];j[g+12>>2]=c;c=3;i:{j:{k:{switch(k[e+18|0]-1|0){case 2:c=2;break j;case 0:break j;case 3:break k;default:break i}}c=1}j[g+8>>2]=j[g+8>>2]<>2];d=c&1;if(!(!d|h[a+20|0]&1)){f=j[a+36>>2];j[g+8>>2]=f+j[g+8>>2];j[g+4>>2]=f+j[g+4>>2]}if(!(!(c&2)|k[a+20|0]&2)){c=g;s=c;y=q(w(n[a+40>>2]));l:{if(q(r(y))>2]=f+j[c+8>>2];j[g+4>>2]=f+j[g+4>>2]}f=j[g>>2];m:{if(!f){break m}c=j[g+8>>2];o=p(f,c);f=Te(o);j[g+12>>2]=f;if(!f){d=64;break a}Ee(f,0,o);if(!j[e>>2]){break m}x=0;while(1){c=p(c,x);f=j[e+8>>2];d=p(f,x);n:{if(z){c=c+j[g+12>>2]|0;d=d+j[e+12>>2]|0;o:{switch(k[e+18|0]-1|0){case 0:s=0;if(!j[e+4>>2]){break n}while(1){f=k[d|0];h[c+7|0]=f&1;h[c|0]=f>>>7;h[c+6|0]=f>>>1&1;h[c+5|0]=f>>>2&1;h[c+4|0]=f>>>3&1;h[c+3|0]=f>>>4&1;h[c+2|0]=f>>>5&1;h[c+1|0]=f>>>6&1;c=c+8|0;d=d+1|0;s=s+8|0;if(s>>>0>2]){continue}break}break n;case 2:s=0;if(!j[e+4>>2]){break n}while(1){f=k[d|0];h[c|0]=f>>>7;h[c+3|0]=f>>>1&1;h[c+2|0]=f>>>3&1;h[c+1|0]=f>>>5&1;c=c+4|0;d=d+1|0;s=s+4|0;if(s>>>0>2]){continue}break}break n;case 3:o=0;if(!j[e+4>>2]){break n}while(1){f=k[d|0];h[c|0]=f>>>7;h[c+1|0]=f>>>3&1;c=c+2|0;d=d+1|0;o=o+2|0;if(o>>>0>2]){continue}break}break n;default:break o}}o=0;if(!j[e+4>>2]){break n}while(1){h[c|0]=k[d|0]>>>7;c=c+1|0;d=d+1|0;o=o+1|0;if(o>>>0>2]){continue}break}break n}p:{switch(k[e+18|0]-1|0){case 0:if(!j[e+4>>2]){break n}o=d+j[e+12>>2]|0;c=c+j[g+12>>2]|0;s=0;while(1){d=h[o|0];h[c|0]=d>>>7;h[c+7|0]=0-(d&1);h[c+6|0]=d<<6>>>7;h[c+5|0]=d<<5>>>7;h[c+4|0]=d<<4>>>7;h[c+3|0]=d<<3>>>7;h[c+2|0]=d<<2>>>7;h[c+1|0]=d<<1>>>7;o=o+1|0;c=c+8|0;s=s+8|0;if(s>>>0>2]){continue}break}break n;case 2:if(!j[e+4>>2]){break n}o=d+j[e+12>>2]|0;c=c+j[g+12>>2]|0;d=0;while(1){f=c;s=k[o|0];t=s>>>6&2;if(t){t=((t<<8>>>0)/3|0)-1|0}else{t=0}h[f|0]=t;f=c;t=s>>>4&2;if(t){t=((t<<8>>>0)/3|0)-1|0}else{t=0}h[f+1|0]=t;f=c;t=s>>>2&2;if(t){t=((t<<8>>>0)/3|0)-1|0}else{t=0}h[f+2|0]=t;f=c;s=s&2;if(s){s=((s<<8>>>0)/3|0)-1|0}else{s=0}h[f+3|0]=s;o=o+1|0;c=c+4|0;d=d+4|0;if(d>>>0>2]){continue}break}break n;case 3:if(!j[e+4>>2]){break n}d=d+j[e+12>>2]|0;c=c+j[g+12>>2]|0;s=0;while(1){f=c;t=k[d|0];o=t>>>4|0;if(o){o=((o<<8>>>0)/15|0)-1|0}else{o=0}h[f|0]=o;f=c;t=t&15;o=0;q:{if(!t){break q}o=((t<<8>>>0)/15|0)-1|0}h[f+1|0]=o;d=d+1|0;c=c+2|0;s=s+2|0;if(s>>>0>2]){continue}break}break n;default:break p}}Ae(c+j[g+12>>2]|0,d+j[e+12>>2]|0,f)}x=x+1|0;if(x>>>0>2]){c=j[g+8>>2];continue}break}d=j[a+24>>2]&1}r:{if(!d|h[a+20|0]&1){break r}x=j[g>>2]-1|0;if((x|0)<0){break r}o=j[a+36>>2];while(1){if((o|0)>=1){e=j[g+12>>2]+p(j[g+8>>2],x)|0;s=1;while(1){d=j[g+4>>2];c=d-1|0;if((c|0)>=1){while(1){s:{if(z){f=c+e|0;h[f|0]=k[f|0]|k[(d+e|0)-2|0];break s}f=c+e|0;d=k[(d+e|0)-2|0]+k[f|0]|0;h[f|0]=d>>>0<255?d:255}d=c;c=c-1|0;if((c|0)>0){continue}break}o=j[a+36>>2]}c=(o|0)>(s|0);s=s+1|0;if(c){continue}break}}x=x-1|0;if((x|0)>=0){continue}break}}j[u>>2]=j[u>>2]|(z?1:2);a=j[v+28>>2];if(!a){break f}vk(a)}i[u+80>>1]=b;d=0}oe=v+32|0;return d}function Vx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;u=j[a+28>>2];if(u){n=k[a+63|0];o=j[a+48>>2];v=j[a+36>>2];w=j[a+16>>2];i=j[a+24>>2];x=i&3;y=(i+3|0)/4|0;f=j[a>>2];i=j[a+20>>2];s=j[a+44>>2];b=j[a+40>>2];r=k[b+9|0];t=r-1|0;while(1){a=y;a:{b:{switch(x-1|0){default:c=3;break a;case 0:c=2;break a;case 1:c=1;break a;case 2:break b}}c=0}while(1){c:{d:{switch(c|0){case 0:c=0;d=0;e=0;e:{f:{g:{switch(t|0){case 0:e=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break f;case 1:e=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break f;case 2:c=(k[b+34|0]>>>3|0)+f|0;g=(k[b+32|0]>>>3|0)+f|0;d=(k[b+33|0]>>>3|0)+f|0;break f;case 3:break g;default:break e}}e=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0}e=k[c|0];c=k[g|0];d=k[d|0]}q=d&255;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[d+1|0];m=c;c=k[d|0];m=((p(q-g|0,n)|0)/255|0)+g>>>3&28|((p(m-c|0,n)|0)/255|0)+c&-32;c=k[d+2|0];c=m|(((p((e&255)-c|0,n)|0)/255|0)+c&192)>>>6;d=i;if(o){c=k[(c&255)+o|0]}h[d|0]=c;f=f+r|0;i=i+1|0;c=1;continue;case 1:c=0;d=0;e=0;h:{i:{j:{switch(t|0){case 0:e=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break i;case 1:e=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break i;case 2:c=(k[b+34|0]>>>3|0)+f|0;g=(k[b+32|0]>>>3|0)+f|0;d=(k[b+33|0]>>>3|0)+f|0;break i;case 3:break j;default:break h}}e=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0}e=k[c|0];c=k[g|0];d=k[d|0]}q=d&255;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[d+1|0];m=c;c=k[d|0];m=((p(q-g|0,n)|0)/255|0)+g>>>3&28|((p(m-c|0,n)|0)/255|0)+c&-32;c=k[d+2|0];c=m|(((p((e&255)-c|0,n)|0)/255|0)+c&192)>>>6;d=i;if(o){c=k[(c&255)+o|0]}h[d|0]=c;f=f+r|0;i=i+1|0;c=2;continue;case 2:c=0;d=0;e=0;k:{l:{m:{switch(t|0){case 0:e=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break l;case 1:e=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break l;case 2:c=(k[b+34|0]>>>3|0)+f|0;g=(k[b+32|0]>>>3|0)+f|0;d=(k[b+33|0]>>>3|0)+f|0;break l;case 3:break m;default:break k}}e=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0}e=k[c|0];c=k[g|0];d=k[d|0]}q=d&255;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[d+1|0];m=c;c=k[d|0];m=((p(q-g|0,n)|0)/255|0)+g>>>3&28|((p(m-c|0,n)|0)/255|0)+c&-32;c=k[d+2|0];c=m|(((p((e&255)-c|0,n)|0)/255|0)+c&192)>>>6;d=u-1|0;e=i;if(o){c=k[(c&255)+o|0]}h[e|0]=c;f=f+r|0;i=i+1|0;if((a|0)<=1){break c}a=a-1|0;c=3;continue;default:break d}}d=0;e=0;c=0;n:{o:{p:{switch(t|0){case 0:d=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break o;case 1:d=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break o;case 2:c=(k[b+34|0]>>>3|0)+f|0;e=(k[b+33|0]>>>3|0)+f|0;d=(k[b+32|0]>>>3|0)+f|0;break o;case 3:break p;default:break n}}d=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}c=k[c|0];d=k[d|0];e=k[e|0]}z=e&255;e=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[e+1|0];q=d&255;d=k[e|0];m=c;c=k[e+2|0];c=((p(z-g|0,n)|0)/255|0)+g>>>3&28|((p(q-d|0,n)|0)/255|0)+d&-32|(((p(m-c|0,n)|0)/255|0)+c&192)>>>6;d=i;if(o){c=k[(c&255)+o|0]}h[d|0]=c;f=f+r|0;i=i+1|0;c=0;continue}break}i=i+v|0;f=f+w|0;u=d;if(d){continue}break}}}function sF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,r=0,s=0,t=q(0),u=0,v=q(0),w=0,x=0,y=0,z=q(0),A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=q(0),J=0,K=q(0),L=0,M=0;m=j[a+36>>2];d=j[a+64>>2];e=j[d+104>>2];i=j[d+4>>2];w=j[i+28>>2];B=j[a+104>>2];F=oe;d=j[i+4>>2]<<2;C=F-(d+15&-16)|0;c=C;oe=c;G=Ef(a,d);y=Ef(a,j[i+4>>2]<<2);H=Ef(a,j[i+4>>2]<<2);z=n[B+4>>2];d=j[i+4>>2];x=c-((d<<2)+15&-16)|0;D=x;oe=x;A=j[a+28>>2];s=j[((A<<2)+w|0)+544>>2];c=j[e+56>>2];f=j[B+8>>2];j[a+40>>2]=A;k=A?104:0;o=c+p(f,52)|0;a:{if((d|0)<=0){f=(m|0)/2|0;d=f<<2;break a}g=m-1|0;r=e+4|0;f=(m|0)/2|0;d=f<<2;I=q(+q(q(q(((tP(q(q(4)/q(m|0))),oP(2))&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))+.345);u=(m|0)<3;while(1){c=h<<2;b=j[c+j[a>>2]>>2];L=c+y|0,M=Ef(a,d),j[L>>2]=M;l=c+G|0;L=l,M=Ef(a,d),j[L>>2]=M;vF(b,r,w,j[a+24>>2],j[a+28>>2],j[a+32>>2]);XF(j[j[((j[a+28>>2]<<2)+e|0)+12>>2]>>2],b,j[l>>2]);VF((p(j[a+28>>2],12)+e|0)+20|0,b);t=q(+q(q(q(q((j[b>>2]&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))+I)+.345);n[b>>2]=t;l=c+x|0;n[l>>2]=t;c=1;if(!u){while(1){v=n[b+(c<<2)>>2];K=q(v*v);E=c+1|0;v=n[b+(E<<2)>>2];v=q(+q(q(q(q(q(((tP(q(K+q(v*v))),oP(2))&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))*q(.5))+I)+.345);n[b+(E<<1&-4)>>2]=v;t=t(c|0)){continue}break}n[l>>2]=t}if(!(t>q(0)^1)){j[l>>2]=0;t=q(0)}z=t>z?t:z;h=h+1|0;if((h|0)>2]){continue}break}}l=k+o|0;k=Ef(a,d);o=Ef(a,d);c=j[i+4>>2];if((c|0)>=1){u=0;while(1){g=u<<2;r=j[g+G>>2];E=j[(g+s|0)+4>>2];b=j[g+j[a>>2]>>2];j[a+40>>2]=A;d=g+H|0;c=Ef(a,60);j[d>>2]=c;j[c+56>>2]=0;j[c+48>>2]=0;j[c+52>>2]=0;j[c+40>>2]=0;j[c+44>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;h=b+(f<<2)|0;c=0;if((m|0)>=2){while(1){J=c<<2;n[h+J>>2]=+q(q(q((j[r+J>>2]&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))+.345;c=c+1|0;if((f|0)!=(c|0)){continue}break}}YE(l,h,k);XE(l,b,o,z,n[g+x>>2]);Cl(l,k,o,1,b,r,h);c=((E<<2)+s|0)+1028|0;g=j[c>>2]<<2;if(j[(g+w|0)+800>>2]!=1){oe=F;return-1}g=Ll(a,j[g+j[e+48>>2]>>2],h,b);j[j[d>>2]+28>>2]=g;if(!(!j[j[j[a+64>>2]+104>>2]+80>>2]|!j[j[d>>2]+28>>2])){Cl(l,k,o,2,b,r,h);g=Ll(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],h,b);j[j[d>>2]+56>>2]=g;Cl(l,k,o,0,b,r,h);b=Ll(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],h,b);j[j[d>>2]>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],9362);j[j[d>>2]+4>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],18724);j[j[d>>2]+8>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],28086);j[j[d>>2]+12>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],37449);j[j[d>>2]+16>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],46811);j[j[d>>2]+20>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],56173);j[j[d>>2]+24>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],9362);j[j[d>>2]+32>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],18724);j[j[d>>2]+36>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],28086);j[j[d>>2]+40>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],37449);j[j[d>>2]+44>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],46811);j[j[d>>2]+48>>2]=b;b=j[j[e+48>>2]+(j[c>>2]<<2)>>2];c=j[d>>2];c=ng(a,b,j[c+28>>2],j[c+56>>2],56173);j[j[d>>2]+52>>2]=c}c=j[i+4>>2];u=u+1|0;if((c|0)>(u|0)){continue}break}}n[B+4>>2]=z;d=(c<<2)+15&-16;m=D-d|0;c=m;oe=c;o=c-d|0;oe=o;d=j[j[j[a+64>>2]+104>>2]+80>>2]?0:7;x=w+2868|0;while(1){f=d<<2;h=j[(f+B|0)+12>>2];df(h,0,1);df(h,A,j[e+44>>2]);if(j[a+28>>2]){df(h,j[a+24>>2],1);df(h,j[a+32>>2],1)}b=0;c=j[i+4>>2];if((c|0)>=1){while(1){c=b<<2;L=c+C|0,M=OF(h,a,j[j[e+48>>2]+(j[((j[(c+s|0)+4>>2]<<2)+s|0)+1028>>2]<<2)>>2],j[f+j[c+H>>2]>>2],j[c+y>>2]),j[L>>2]=M;b=b+1|0;c=j[i+4>>2];if((b|0)<(c|0)){continue}break}}UE(d,x,l,s,G,y,C,j[(f+(p(j[a+28>>2],60)+w|0)|0)+3240>>2],c);b=0;if(j[s>>2]>=1){while(1){r=j[((b<<2)+s|0)+1092>>2];k=0;c=0;f=j[i+4>>2];if((f|0)>=1){while(1){g=c<<2;if(j[(g+s|0)+4>>2]==(b|0)){f=k<<2;j[f+o>>2]=j[g+C>>2]!=0;j[f+m>>2]=j[g+y>>2];k=k+1|0;f=j[i+4>>2]}c=c+1|0;if((f|0)>(c|0)){continue}break}}g=r<<2;r=(g+w|0)+1312|0;k=qe[j[j[(j[r>>2]<<2)+198156>>2]+20>>2]](a,j[g+j[e+52>>2]>>2],m,o,k)|0;f=0;c=0;u=j[i+4>>2];if((u|0)>=1){while(1){D=c<<2;if(j[(D+s|0)+4>>2]==(b|0)){j[m+(f<<2)>>2]=j[y+D>>2];f=f+1|0}c=c+1|0;if((u|0)!=(c|0)){continue}break}}qe[j[j[(j[r>>2]<<2)+198156>>2]+24>>2]](h,a,j[g+j[e+52>>2]>>2],m,o,f,k,b)|0;b=b+1|0;if((b|0)>2]){continue}break}}c=(j[j[j[a+64>>2]+104>>2]+80>>2]?14:7)>>>0>d>>>0;d=d+1|0;if(c){continue}break}oe=F;return 0}function 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,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;f=oe+ -64|0;oe=f;u=j[b+532>>2];a:{if(!u){u=dh(j[j[b+96>>2]+4>>2],156196);if(!u){g=11;break a}j[b+532>>2]=u;j[b+508>>2]=j[u>>2]}B=b,C=Bh(j[b+96>>2],156356),j[B+536>>2]=C;z=j[a+28>>2];j[b+140>>2]=0;j[b+132>>2]=0;j[b+136>>2]=0;e=j[a+8>>2];d=sf(a,f+8|0);g=j[f+8>>2];if(g){break a}A=b+132|0;while(1){b:{c:{d:{e:{f:{g:{if((d|0)!=2001684038){h:{if((d|0)<=1953658212){if((d|0)==65536|(d|0)==131072){break h}g=2;if((d|0)==1330926671){break h}break a}if((d|0)==1953658213|(d|0)==1953784678){break h}g=2;if((d|0)!=1954115633){break a}}j[A>>2]=1953784678;if((d|0)!=1953784678){break f}g=$e(a,156384,A);j[f+8>>2]=g;if(g){break a}d=j[b+140>>2];if(d){break g}g=8;break a}g=Fe(a,e);j[f+8>>2]=g;if(g){break a}s=j[a+28>>2];j[f+60>>2]=0;g=$e(a,156400,f+16|0);j[f+60>>2]=g;if(g){break a}g=8;d=j[f+20>>2];if((d|0)==1953784678|(d|0)==2001684038){break a}d=j[f+24>>2];if((d|0)!=j[a+4>>2]){break a}e=l[f+28>>1];if(!e|d>>>0<=p(e,20)+44>>>0){break a}d=e<<4|12;e=j[f+32>>2];if(d>>>0>=e>>>0|e&3){break a}d=j[f+44>>2];i:{if(!j[f+40>>2]){if(!(d|j[f+48>>2])){break i}break a}if(!d){break i}if(!j[f+48>>2]){break a}}if(j[f+56>>2]?!j[f+52>>2]:0){break a}v=0;o=He(s,e,f+60|0);if(j[f+60>>2]){r=0;g=0;break b}r=He(s,40,f+60|0);g=0;if(j[f+60>>2]){break b}d=l[f+28>>1];e=d;if(e){while(1){g=g+1|0;e=e>>>1|0;if(e){continue}break}}h[o|0]=k[f+23|0];h[o+1|0]=l[f+22>>1];h[o+2|0]=j[f+20>>2]>>>8;h[o+3|0]=j[f+20>>2];h[o+4|0]=k[f+29|0];e=k[f+28|0];t=g-1|0;q=16<>>8;h[o+9|0]=t;h[o+8|0]=t>>>8;h[o+7|0]=q;h[o+6|0]=q>>>8;h[o+5|0]=e;g=xe(s,24,0,l[f+28>>1],0,f+60|0);if(j[f+60>>2]){break b}v=xe(s,4,0,l[f+28>>1],0,f+60|0);if(j[f+60>>2]){break b}d=_e(a,p(l[f+28>>1],20));j[f+60>>2]=d;if(d){break b}d=0;n=0;if(l[f+28>>1]){while(1){e=p(n,24)+g|0;B=e,C=Ff(a),j[B>>2]=C;B=e,C=Ff(a),j[B+4>>2]=C;B=e,C=Ff(a),j[B+8>>2]=C;B=e,C=Ff(a),j[B+12>>2]=C;B=e,C=Ff(a),j[B+16>>2]=C;i=d;d=j[e>>2];if(i>>>0>=d>>>0){Ve(a);break c}j[(n<<2)+v>>2]=e;n=n+1|0;if(n>>>0>1]){continue}break}}Ve(a);fg(v,l[f+28>>1],4,791);w=l[f+28>>1];n=w<<4|12;e=p(w,20)+44|0;if(w){d=0;t=j[f+32>>2];q=j[f+24>>2];while(1){x=j[(d<<2)+v>>2];if(j[x+4>>2]!=(e|0)){break c}y=j[x+8>>2];if(q>>>0>>0|q-y>>>0>>0){break c}i=j[x+12>>2];if(i>>>0>>0|i>>>0>t>>>0|t-i>>>0>>0){break c}j[x+20>>2]=n;n=(i+3&-4)+n|0;e=(y+3&-4)+e|0;d=d+1|0;if((w|0)!=(d|0)){continue}break}}d=j[f+40>>2];if(d){if((d|0)!=(e|0)){break c}e=j[f+44>>2]+e|0;if(e>>>0>m[f+24>>2]){break c}}q=j[f+52>>2];if(!q){d=j[f+24>>2];break d}if((q|0)!=(e+3&-4)){break c}d=j[f+24>>2];e=q+j[f+56>>2]|0;if(d>>>0>=e>>>0){break d}break c}g=10;if(d>>>0>j[a+4>>2]>>>5>>>0){break a}B=b,C=xe(z,4,0,d,0,f+8|0),j[B+144>>2]=C;g=j[f+8>>2];if(g){break a}g=_e(a,j[b+140>>2]<<2);j[f+8>>2]=g;if(g){break a}if(j[b+140>>2]>=1){g=0;while(1){d=Ff(a);j[j[b+144>>2]+(g<<2)>>2]=d;g=g+1|0;if((g|0)>2]){continue}break}}Ve(a);g=j[f+8>>2];if(!g){break e}break a}j[b+136>>2]=65536;j[b+140>>2]=1;a=He(z,4,f+8|0);j[b+144>>2]=a;g=j[f+8>>2];if(g){break a}j[a>>2]=e}g=6;c=(c|0)>0?c:0;if((c|0)>=j[b+140>>2]){break a}a=j[b+104>>2];g=Fe(a,j[j[b+144>>2]+(c<<2)>>2]);if(g){break a}g=qe[j[u+88>>2]](b,a)|0;if(g){break a}j[b+4>>2]=c;j[b>>2]=j[b+140>>2];g=0;break a}if((d|0)!=(e|0)|j[f+32>>2]!=(n|0)){break c}if(w){n=o+12|0;d=0;while(1){i=p(d,24)+g|0;h[n|0]=k[i+3|0];h[n+1|0]=l[i+2>>1];h[n+2|0]=j[i>>2]>>>8;h[n+3|0]=j[i>>2];h[n+4|0]=k[i+19|0];h[n+5|0]=l[i+18>>1];h[n+6|0]=j[i+16>>2]>>>8;h[n+7|0]=j[i+16>>2];h[n+8|0]=k[i+23|0];h[n+9|0]=l[i+22>>1];h[n+10|0]=j[i+20>>2]>>>8;h[n+11|0]=j[i+20>>2];h[n+12|0]=k[i+15|0];h[n+13|0]=l[i+14>>1];h[n+14|0]=j[i+12>>2]>>>8;h[n+15|0]=j[i+12>>2];e=Fe(a,j[i+4>>2]);j[f+60>>2]=e;if(e){break b}e=_e(a,j[i+8>>2]);j[f+60>>2]=e;if(e){break b}q=j[i+8>>2];e=j[i+12>>2];j:{if((q|0)==(e|0)){Ae(j[i+20>>2]+o|0,j[a+32>>2],q);break j}j[f+12>>2]=e;e=$L(s,j[i+20>>2]+o|0,f+12|0,j[a+32>>2],j[i+8>>2]);j[f+60>>2]=e;if(e){break b}if(j[f+12>>2]!=j[i+12>>2]){break c}}Ve(a);t=j[i+12>>2];q=j[i+20>>2];e=t+q|0;if(e&3){Ee(e+o|0,0,((t^-1)-q&3)+1|0)}n=n+16|0;d=d+1|0;if(d>>>0>1]){continue}break}n=j[f+32>>2]}j[r+32>>2]=0;j[r+8>>2]=0;j[r+4>>2]=n;j[r>>2]=o;j[r+20>>2]=0;j[r+24>>2]=0;a=j[a+28>>2];j[r+24>>2]=792;j[r+28>>2]=a;rk(j[b+104>>2],j[b+8>>2]>>>10&1);j[b+104>>2]=r;j[b+8>>2]=j[b+8>>2]&-1025;break b}j[f+60>>2]=8}if(g){qe[j[s+8>>2]](s,g)}if(v){qe[j[s+8>>2]](s,v)}k:{if(!j[f+60>>2]){j[f+8>>2]=0;break k}if(o){qe[j[s+8>>2]](s,o)}l:{if(!r){break l}a=j[r+24>>2];if(!a){break l}qe[a|0](r)}if(r){qe[j[s+8>>2]](s,r)}g=j[f+60>>2];j[f+8>>2]=g;if(g){break a}}a=j[b+104>>2];e=j[a+8>>2];d=sf(a,f+8|0);g=j[f+8>>2];if(!g){continue}break}}oe=f- -64|0;return g|0}function wl(a,b,c,d,e,f,g){var l=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;l=oe-80|0;oe=l;j[l+76>>2]=b;B=l+55|0;y=l+56|0;b=0;a:{b:while(1){c:{if((v|0)<0){break c}if((2147483647-v|0)<(b|0)){j[67100]=61;v=-1;break c}v=b+v|0}d:{e:{f:{q=j[l+76>>2];b=q;m=k[b|0];if(m){while(1){g:{m=m&255;h:{if(!m){m=b;break h}if((m|0)!=37){break g}m=b;while(1){if(k[b+1|0]!=37){break h}n=b+2|0;j[l+76>>2]=n;m=m+1|0;r=k[b+2|0];b=n;if((r|0)==37){continue}break}}b=m-q|0;if(a){If(a,q,b)}if(b){continue b}m=l;b=j[l+76>>2];i:{if(!(k[b+2|0]!=36|h[j[l+76>>2]+1|0]-48>>>0>=10)){x=h[b+1|0]-48|0;z=1;b=b+3|0;break i}x=-1;b=b+1|0}j[m+76>>2]=b;s=0;w=h[b|0];n=w-32|0;j:{if(n>>>0>31){m=b;break j}m=b;n=1<>2]=m;s=n|s;w=h[b+1|0];n=w-32|0;if(n>>>0>=32){break j}b=m;n=1<>>0>=10){break m}b=j[l+76>>2];if(k[b+2|0]!=36){break m}j[((h[b+1|0]<<2)+e|0)-192>>2]=10;t=j[((h[b+1|0]<<3)+d|0)-384>>2];z=1;b=b+3|0;break l}if(z){break f}z=0;t=0;if(a){b=j[c>>2];j[c>>2]=b+4;t=j[b>>2]}b=j[l+76>>2]+1|0}j[n+76>>2]=b;if((t|0)>-1){break k}t=0-t|0;s=s|8192;break k}t=ip(l+76|0);if((t|0)<0){break f}b=j[l+76>>2]}r=-1;n:{if(k[b|0]!=46){break n}if(k[b+1|0]==42){o:{if(h[b+2|0]-48>>>0>=10){break o}b=j[l+76>>2];if(k[b+3|0]!=36){break o}j[((h[b+2|0]<<2)+e|0)-192>>2]=10;r=j[((h[b+2|0]<<3)+d|0)-384>>2];b=b+4|0;j[l+76>>2]=b;break n}if(z){break f}if(a){b=j[c>>2];j[c>>2]=b+4;r=j[b>>2]}else{r=0}b=j[l+76>>2]+2|0;j[l+76>>2]=b;break n}j[l+76>>2]=b+1;r=ip(l+76|0);b=j[l+76>>2]}m=0;while(1){A=m;u=-1;if(h[b|0]-65>>>0>57){break a}w=b+1|0;j[l+76>>2]=w;m=h[b|0];b=w;m=k[(m+p(A,58)|0)+226927|0];if(m-1>>>0<8){continue}break}p:{q:{if((m|0)!=19){if(!m){break a}if((x|0)>=0){j[(x<<2)+e>>2]=m;b=(x<<3)+d|0;m=j[b+4>>2];j[l+64>>2]=j[b>>2];j[l+68>>2]=m;break q}if(!a){break d}hp(l- -64|0,m,c,g);w=j[l+76>>2];break p}if((x|0)>-1){break a}}b=0;if(!a){continue b}}n=s&-65537;m=s&8192?n:s;u=0;x=226968;s=y;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{b=h[w-1|0];b=A?(b&15)==3?b&-33:b:b;switch(b-88|0){case 11:break r;case 9:case 13:case 14:case 15:break s;case 27:break x;case 12:case 17:break A;case 23:break B;case 0:case 32:break C;case 24:break D;case 22:break E;case 29:break F;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break e;default:break G}}H:{switch(b-65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break e;default:break H}}if((b|0)==83){break w}break e}b=j[l+64>>2];q=j[l+68>>2];x=226968;break z}b=0;I:{switch(A&255){case 0:j[j[l+64>>2]>>2]=v;continue b;case 1:j[j[l+64>>2]>>2]=v;continue b;case 2:m=j[l+64>>2];j[m>>2]=v;j[m+4>>2]=v>>31;continue b;case 3:i[j[l+64>>2]>>1]=v;continue b;case 4:h[j[l+64>>2]]=v;continue b;case 6:j[j[l+64>>2]>>2]=v;continue b;case 7:break I;default:continue b}}m=j[l+64>>2];j[m>>2]=v;j[m+4>>2]=v>>31;continue b}r=r>>>0>8?r:8;m=m|8;b=120}q=bE(j[l+64>>2],j[l+68>>2],y,b&32);if(!(m&8)|!(j[l+64>>2]|j[l+68>>2])){break y}x=(b>>>4|0)+226968|0;u=2;break y}q=aE(j[l+64>>2],j[l+68>>2],y);if(!(m&8)){break y}b=y-q|0;r=(b|0)<(r|0)?r:b+1|0;break y}n=j[l+68>>2];q=n;b=j[l+64>>2];if((n|0)<-1?1:(n|0)<=-1){q=0-(q+((b|0)!=0)|0)|0;b=0-b|0;j[l+64>>2]=b;j[l+68>>2]=q;u=1;x=226968;break z}if(m&2048){u=1;x=226969;break z}u=m&1;x=u?226970:226968}q=ni(b,q,y)}m=(r|0)>-1?m&-65537:m;b=j[l+64>>2];n=j[l+68>>2];if(!(!!(b|n)|r)){r=0;q=y;break e}b=!(b|n)+(y-q|0)|0;r=(b|0)<(r|0)?r:b;break e}b=j[l+64>>2];q=b?b:226978;b=Mh(q,0,r);s=b?b:r+q|0;m=n;r=b?b-q|0:r;break e}n=j[l+64>>2];if(r){break u}b=0;Rf(a,32,t,0,m);break t}j[l+12>>2]=0;j[l+8>>2]=j[l+64>>2];j[l+64>>2]=l+8;r=-1;n=l+8|0}b=0;J:{while(1){q=j[n>>2];if(!q){break J}q=kp(l+4|0,q);s=(q|0)<0;if(!(s|q>>>0>r-b>>>0)){n=n+4|0;b=b+q|0;if(r>>>0>b>>>0){continue}break J}break}u=-1;if(s){break a}}Rf(a,32,t,b,m);if(!b){b=0;break t}w=0;n=j[l+64>>2];while(1){q=j[n>>2];if(!q){break t}q=kp(l+4|0,q);w=q+w|0;if((w|0)>(b|0)){break t}If(a,l+4|0,q);n=n+4|0;if(b>>>0>w>>>0){continue}break}}Rf(a,32,t,b,m^8192);b=(b|0)<(t|0)?t:b;continue b}b=qe[f|0](a,o[l+64>>3],t,r,m,b)|0;continue b}h[l+55|0]=j[l+64>>2];r=1;q=B;m=n;break e}n=b+1|0;j[l+76>>2]=n;m=k[b+1|0];b=n;continue}}u=v;if(a){break a}if(!z){break d}b=1;while(1){a=j[(b<<2)+e>>2];if(a){hp((b<<3)+d|0,a,c,g);u=1;b=b+1|0;if((b|0)!=10){continue}break a}break}u=1;if(b>>>0>=10){break a}while(1){if(j[(b<<2)+e>>2]){break f}b=b+1|0;if((b|0)!=10){continue}break}break a}u=-1;break a}s=s-q|0;r=(r|0)<(s|0)?s:r;n=r+u|0;b=(n|0)>(t|0)?n:t;Rf(a,32,b,n,m);If(a,x,u);Rf(a,48,b,n,m^65536);Rf(a,48,r,s,0);If(a,q,s);Rf(a,32,b,n,m^8192);continue}break}u=0}oe=l+80|0;return u}function XI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;n=oe-32|0;oe=n;q=1;if((d|0)>=1){c=0;while(1){m=j[(c<<3)+e>>2]-1768386662|0;g=1;a:{if(!m){break a}if((m|0)==13){o=1}g=f}f=g;c=c+1|0;if((d|0)!=(c|0)){continue}break}}b:{if(j[j[b+128>>2]+48>>2]){break b}f=0;c=l[b+152>>1];c:{if(!c){break c}f=j[b+156>>2];d=f+(c<<4)|0;c=f;while(1){if(j[c+12>>2]?j[c>>2]==1735162214:0){break b}c=c+16|0;if(d>>>0>c>>>0){continue}break}while(1){if(j[f+12>>2]?j[f>>2]==1128678944:0){break c}f=f+16|0;if(d>>>0>f>>>0){continue}break}f=0}q=(f|0)!=0}m=j[b+532>>2];f=1;e=qe[j[b+508>>2]](b,1935829368,a,0)|0;c=(e|0)!=0&q;d:{e:{f:{if(c){break f}q=j[m+68>>2];if(!q){break f}d=0;q=qe[q|0](b,a)|0;f=(q|0)!=0;if(!e){break f}if(!q){break e}}d=f;f=qe[j[m+24>>2]](b,a)|0;if(f){break d}}if(!l[b+178>>1]){f=8;break d}s=n,t=qe[j[m+36>>2]](b,a)|0,j[s+28>>2]=t;qe[j[m+32>>2]](b,a)|0;qe[j[m+48>>2]](b,a)|0;q=qe[j[m+44>>2]](b,a)|0;g:{if(!d){d=c;break g}h:{i:{f=qe[j[m+28>>2]](b,a,0)|0;if(!f){f=qe[j[m+92>>2]](b,a,0)|0;if((f&255)!=142){break i}f=147;d=j[j[b+128>>2]+48>>2];if(!d|!j[j[d>>2]+8>>2]){break d}i[b+250>>1]=0;d=c;break h}if((f&255)!=142){break d}d=0;if(j[b+148>>2]==1953658213){break h}f=143;d=j[j[b+128>>2]+48>>2];if(!d|!j[j[d>>2]+8>>2]){break d}i[b+250>>1]=0;d=c;break h}d=c;if(f){break d}}j:{k:{f=qe[j[m+28>>2]](b,a,1)|0;if(f){break k}f=qe[j[m+92>>2]](b,a,1)|0;j[n+28>>2]=f;if(f){break k}h[b+292|0]=1;break j}if((f&255)!=142){break d}}if(!(qe[j[m+40>>2]](b,a)|0)){break g}i[b+364>>1]=65535}c=j[m+96>>2];l:{if(!c){break l}f=qe[c|0](b,a)|0;if(!f){break l}if((f&255)!=142){break d}}f=qe[j[m+64>>2]](b,a)|0;if(f){if((f&255)!=142){break d}j[b+548>>2]=0}qe[j[m+60>>2]](b,a)|0;qe[j[m+56>>2]](b,a)|0;j[b+20>>2]=0;j[b+24>>2]=0;j[b+16>>2]=l[b+264>>1];c=b+24|0;e=b+20|0;a=n;m:{n:{if(!(!(h[b+429|0]&1)|l[b+364>>1]==65535)){o:{if(!(g&255)){f=Pg(b,16,e);j[n+28>>2]=f;if(f){break d}if(j[e>>2]){break o}}f=Pg(b,1,e);j[n+28>>2]=f;if(f){break d}}if(!(o&255)){f=Pg(b,17,c);j[n+28>>2]=f;if(f){break d}}if(j[c>>2]){break m}f=Pg(b,2,c);break n}f=Pg(b,21,e);if(f){break d}f=j[e>>2];if(!(f|g&255)){f=Pg(b,16,e);if(f){break d}f=j[e>>2]}if(!f){f=Pg(b,1,e);if(f){break d}}f=Pg(b,22,c);j[n+28>>2]=f;if(f){break d}g=j[c>>2];if(!(g|o&255)){f=Pg(b,17,c);j[n+28>>2]=f;if(f){break d}g=j[c>>2]}if(g){break m}f=Pg(b,2,c)}j[a+28>>2]=f;if(f){break d}}a=j[b+8>>2];a=((j[b+732>>2]&-2)==2?a|16384:a)|d;g=a|24;g=q?g:j[b+468>>2]==196608?g:a|536;a=j[b+480>>2]?g|4:g;a=k[b+292|0]?a|32:a;o=j[b+752>>2]?a|64:a;a=l[b+152>>1];p:{if(!a){break p}e=j[b+156>>2];a=e+(a<<4)|0;g=e;while(1){if(!(!j[g+12>>2]|j[g>>2]!=1735162214)){g=e;while(1){if(!(!j[g+12>>2]|j[g>>2]!=1719034226)){q:{while(1){if(j[e+12>>2]?j[e>>2]==1735811442:0){break q}e=e+16|0;if(a>>>0>e>>>0){continue}break}e=0}o=e?o|256:o;break p}g=g+16|0;if(a>>>0>g>>>0){continue}break}break p}g=g+16|0;if(a>>>0>g>>>0){continue}break}}j[b+8>>2]=o;a=b;r:{if(!(!d|l[b+364>>1]==65535)){c=l[b+428>>1];c=c>>>4&2|(c&513)!=0;break r}c=l[b+204>>1];c=c>>>1&1|c<<1&2}j[a+12>>2]=c;WI(b);d=j[b+36>>2];if((d|0)>=1){e=j[b+40>>2];f=0;while(1){c=j[e+(f<<2)>>2];a=i[c+10>>1];o=156512;g=0;s:{t:{switch(l[c+8>>1]){case 0:g=j[39133];break s;case 1:if(a){break s}g=j[39136];break s;case 3:o=a&65535;if(o>>>0>=11|!(1151>>>o&1)){break s}o=j[(a<<2)+157592>>2];break;case 2:break t;default:break s}}g=j[o+8>>2]}j[c+4>>2]=g;f=f+1|0;if((d|0)!=(f|0)){continue}break}}a=j[b+736>>2];u:{if(!a){c=j[b+8>>2];break u}d=j[j[b+104>>2]+28>>2];e=l[b+178>>1];c=l[b+366>>1];v:{if(!(!e|l[b+364>>1]==65535)){break v}e=1;c=1}g=xe(d,16,0,a,0,n+28|0);j[b+32>>2]=g;f=j[n+28>>2];if(f){break d}f=qe[j[m+108>>2]](b,0,n)|0;j[n+28>>2]=f;if(f){break d}o=a>>>0>1?a:1;q=e>>>1|0;r=c<<16>>16;d=0;while(1){w:{c=(d<<4)+g|0;i[c>>1]=j[n+20>>2]>>>6;f=l[n>>1];j[c+8>>2]=f<<6;i[c+2>>1]=(q+p(f,r)|0)/(e|0);f=l[n+2>>1]<<6;j[c+4>>2]=f;j[c+12>>2]=f;d=d+1|0;if((o|0)==(d|0)){break w}g=j[b+32>>2];f=qe[j[m+108>>2]](b,d,n)|0;j[n+28>>2]=f;if(!f){continue}break d}break}j[b+28>>2]=a;c=j[b+8>>2]|2;j[b+8>>2]=c}if(!(c&3)){c=c|1;j[b+8>>2]=c}f=0;if(!(c&1)){break d}i[b+68>>1]=l[b+178>>1];j[b+52>>2]=i[b+196>>1];j[b+56>>2]=i[b+198>>1];j[b+60>>2]=i[b+200>>1];j[b- -64>>2]=i[b+202>>1];a=l[b+220>>1];i[b+70>>1]=a;c=l[b+222>>1];i[b+72>>1]=c;i[b+74>>1]=l[b+224>>1]+(a-c|0);x:{if(a|c|l[b+364>>1]==65535){break x}a=l[b+434>>1];c=l[b+436>>1];if(a|c){i[b+72>>1]=c;i[b+70>>1]=a;i[b+74>>1]=l[b+438>>1]+(a-c|0);break x}a=l[b+440>>1];i[b+70>>1]=a;c=a;a=l[b+442>>1];i[b+74>>1]=c+a;i[b+72>>1]=0-a}i[b+76>>1]=l[b+226>>1];i[b+78>>1]=l[(k[b+292|0]?306:74)+b>>1];a=i[b+478>>1];i[b+82>>1]=a;i[b+80>>1]=l[b+476>>1]+((a|0)/-2|0)}oe=n+32|0;return f|0}function lf(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;m=oe-96|0;oe=m;q=c;w=(g&131071)<<15|f>>>17;k=i&65535;u=k;l=h;D=l<<15|g>>>17;o=(e^i)&-2147483648;p=e&65535;y=p;n=d;z=p;p=0;E=(k&131071)<<15|l>>>17;F=i>>>16&32767;M=e>>>16&32767;a:{b:{if(M-1>>>0<=32765){k=0;if(F-1>>>0<32766){break b}}r=e&2147483647;x=r;k=d;if(!(!k&(r|0)==2147418112?!(b|c):r>>>0<2147418112)){A=d;o=e|32768;break a}e=i&2147483647;r=e;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){A=h;o=i|32768;b=f;c=g;break a}if(!(b|k|(x^2147418112|c))){if(!(d|f|(g|r))){o=2147450880;b=0;c=0;break a}o=o|2147418112;b=0;c=0;break a}if(!(d|f|(r^2147418112|g))){d=b|k;e=c|x;b=0;c=0;if(!(d|e)){o=2147450880;break a}o=o|2147418112;break a}if(!(b|k|(c|x))){b=0;c=0;break a}if(!(d|f|(g|r))){b=0;c=0;break a}if((x|0)==65535|x>>>0<65535){h=b;i=c;d=!(n|y);e=d<<6;k=s(d?b:n)+32|0;b=s(d?c:y);b=e+((b|0)==32?k:b)|0;Nf(m+80|0,h,i,n,y,b-15|0);n=j[m+88>>2];q=j[m+84>>2];z=j[m+92>>2];v=16-b|0;b=j[m+80>>2]}k=v;if(r>>>0>65535){break b}c=!(l|u);d=c<<6;e=s(c?f:l)+32|0;c=s(c?g:u);c=d+((c|0)==32?e:c)|0;i=c;Nf(m- -64|0,f,g,l,u,c-15|0);e=j[m+76>>2];c=e;h=j[m+72>>2];d=h;d=d<<15;e=j[m+68>>2];D=e>>>17|d;d=0;f=j[m+64>>2];w=d|((e&131071)<<15|f>>>17);E=(c&131071)<<15|h>>>17;k=(v-i|0)+16|0}v=k;d=w;c=b;u=0;r=gP(d,0,b,u);b=pe;G=b;e=f;B=e<<15&-32768;l=q;g=gP(B,0,l,0);f=g+r|0;e=pe+b|0;e=f>>>0>>0?e+1|0:e;h=f;k=f;i=0;g=gP(c,u,B,C);f=i+g|0;b=k;k=k+pe|0;k=f>>>0>>0?k+1|0:k;w=f;g=k;J=(b|0)==(k|0)&f>>>0>>0|b>>>0>k>>>0;N=gP(d,t,l,H);K=pe;q=n;f=gP(B,C,n,0);b=f+N|0;k=pe+K|0;O=b;n=gP(D,0,c,u);i=b+n|0;b=b>>>0>>0?k+1|0:k;f=b+pe|0;x=i;f=i>>>0>>0?f+1|0:f;y=f;k=f;f=(e|0)==(G|0)&h>>>0>>0|e>>>0>>0;h=e+x|0;k=f+k|0;r=h;k=h>>>0>>0?k+1|0:k;n=k;e=h;h=k;Q=gP(d,t,q,P);G=pe;f=B;I=z|65536;B=p;i=gP(f,C,I,p);f=i+Q|0;k=pe+G|0;k=f>>>0>>0?k+1|0:k;R=f;C=gP(D,S,l,H);i=f+C|0;p=k;f=k+pe|0;f=i>>>0>>0?f+1|0:f;L=i;E=E&2147483647|-2147483648;i=gP(c,u,E,0);c=L+i|0;u=f;k=f+pe|0;C=c;c=c>>>0>>0?k+1|0:k;z=J;i=0;f=i+e|0;k=h+C|0;J=f;h=f;e=z+f|0;z=f>>>0>>0?k+1|0:k;f=z;f=e>>>0>>0?f+1|0:f;h=e;i=f;v=(v+(F+M|0)|0)-16383|0;f=gP(q,P,D,S);e=pe;t=gP(d,t,I,B);d=t+f|0;k=pe+e|0;k=d>>>0>>0?k+1|0:k;t=d;f=(e|0)==(k|0)&f>>>0>d>>>0|e>>>0>k>>>0;e=k;F=f;f=gP(E,T,l,H);d=f+d|0;k=pe+k|0;k=d>>>0>>0?k+1|0:k;f=d;d=k;l=(k|0)==(e|0)&f>>>0>>0|e>>>0>k>>>0;k=F+l|0;e=0;e=k>>>0>>0?1:e;t=f;l=d;F=k;f=(b|0)==(y|0)&x>>>0>>0|b>>>0>y>>>0;b=f+((b|0)==(K|0)&N>>>0>O>>>0|b>>>0>>0)|0;k=0;k=b>>>0>>0?1:k;f=b;b=t+f|0;k=d+k|0;k=b>>>0>>0?k+1|0:k;H=b;d=k;k=(k|0)==(l|0)&b>>>0>>0|k>>>0>>0;b=F+k|0;f=e;f=b>>>0>>0?f+1|0:f;e=gP(E,T,I,B);b=e+b|0;k=pe+f|0;t=b;e=b>>>0>>0?k+1|0:k;l=gP(E,T,q,P);f=pe;q=gP(D,S,I,B);b=q+l|0;k=pe+f|0;k=b>>>0>>0?k+1|0:k;q=b;b=k;k=(f|0)==(k|0)&l>>>0>q>>>0|f>>>0>k>>>0;l=b+t|0;e=e+k|0;e=l>>>0>>0?e+1|0:e;t=l;l=0;b=l+H|0;k=d+q|0;k=b>>>0>>0?k+1|0:k;f=k;l=(d|0)==(k|0)&b>>>0>>0|d>>>0>k>>>0;d=t+l|0;k=e;D=d;d=d>>>0>>0?k+1|0:k;q=b;l=f;f=(p|0)==(u|0)&R>>>0>L>>>0|p>>>0>u>>>0;e=f+((p|0)==(G|0)&Q>>>0>R>>>0|p>>>0>>0)|0;f=e;e=f+((c|0)==(u|0)&C>>>0>>0|c>>>0>>0)|0;f=e;b=c+b|0;e=f+l|0;e=b>>>0>>0?e+1|0:e;p=b;c=b;b=e;e=(e|0)==(l|0)&c>>>0>>0|e>>>0>>0;c=e+D|0;k=d;k=c>>>0>>0?k+1|0:k;d=c;l=d;e=(n|0)==(z|0)&r>>>0>J>>>0|n>>>0>z>>>0;d=e+((n|0)==(y|0)&r>>>0>>0|n>>>0>>0)|0;f=0;f=d>>>0>>0?1:f;n=d;d=d+p|0;e=b+f|0;e=d>>>0>>0?e+1|0:e;c=(b|0)==(e|0)&d>>>0

>>0|b>>>0>e>>>0;b=l+c|0;k=b>>>0>>0?k+1|0:k;c=k;c:{if(k&65536){v=v+1|0;break c}n=g>>>31|0;k=c<<1|b>>>31;b=b<<1|e>>>31;c=k;k=e<<1|d>>>31;d=d<<1|i>>>31;e=k;p=w;k=g<<1|p>>>31;w=p<<1;g=k;k=i<<1|h>>>31;h=h<<1|n;i=k}if((v|0)>=32767){o=o|2147418112;b=0;c=0;break a}d:{if((v|0)<=0){f=1-v|0;if(f>>>0>=128){b=0;c=0;break a}k=v+127|0;Nf(m+48|0,w,g,h,i,k);Nf(m+32|0,d,e,b,c,k);mi(m+16|0,w,g,h,i,f);mi(m,d,e,b,c,f);w=(j[m+48>>2]|j[m+56>>2])!=0|(j[m+52>>2]|j[m+60>>2])!=0|(j[m+32>>2]|j[m+16>>2]);g=j[m+36>>2]|j[m+20>>2];h=j[m+40>>2]|j[m+24>>2];i=j[m+44>>2]|j[m+28>>2];d=j[m>>2];e=j[m+4>>2];c=j[m+12>>2];b=j[m+8>>2];break d}c=c&65535|v<<16}A=b|A;o=c|o;if(!(!h&(i|0)==-2147483648?!(g|w):(i|0)>-1)){k=e;b=d+1|0;k=b>>>0<1?k+1|0:k;f=b;c=k;f=(e|0)==(k|0)&d>>>0>f>>>0|e>>>0>k>>>0;d=f+A|0;e=o;A=d;o=d>>>0>>0?e+1|0:e;break a}if(h|w|(i^-2147483648|g)){b=d;c=e;break a}c=d&1;b=c+d|0;k=e;k=b>>>0>>0?k+1|0:k;f=b;c=k;e=(e|0)==(k|0)&d>>>0>f>>>0|e>>>0>k>>>0;d=e+A|0;k=o;A=d;o=d>>>0>>0?k+1|0:k}j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=A;j[a+12>>2]=o;oe=m+96|0}function AM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0;l=oe-16|0;oe=l;f=161;g=a;if(m[a+404>>2]>=a+40>>>0){i=j[g+412>>2];h[i+64|0]=1;f=j[g+20>>2];o=i;a:{b:{c:{b=j[g+16>>2];c=k[b|0];d:{if((c|0)==30){f=Jf(b,f,0,l+12|0);c=j[l+12>>2];break d}e:{f:{switch(c-28|0){case 0:a=0;if(f>>>0>>0){break c}a=k[b+2|0]|k[b+1|0]<<8;break c;case 1:a=0;if(f>>>0>>0){break c}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e;default:break f}}if(c>>>0<=246){a=c-139|0;break c}e=b+2|0;if(c>>>0<=250){a=0;if(e>>>0>f>>>0){break c}a=(k[b+1|0]|c<<8)-63124|0;break c}a=0;if(e>>>0>f>>>0){break c}a=64148-(k[b+1|0]|c<<8)|0}if((a|0)<32768){break c}d=a;b=5;g:{if((a|0)<1e5){break g}b=6;if((a|0)<=999999){break g}b=7;if((a|0)<1e7){break g}b=8;if((a|0)<1e8){break g}b=(a|0)<1e9?9:10}c=b-5|0;f=j[(c<<2)+80752>>2];if(((d|0)/(f|0)|0)>=32768){c=b-4|0;f=De(a,j[(c<<2)+80752>>2]);break d}f=De(a,f)}j[i+48>>2]=f;f=0-c|0;j[l+12>>2]=f;if(c+9>>>0<10){break b}j[i+48>>2]=65536;j[i+52>>2]=0;j[i+72>>2]=0;j[i+76>>2]=0;j[i+56>>2]=0;j[i+60>>2]=65536;a=1;break a}j[i+48>>2]=a<<16;f=0;j[l+12>>2]=0;c=0}b=j[g+24>>2];e=j[g+20>>2];a=k[e|0];h:{if((a|0)==30){c=Jf(e,b,f,0);b=j[g+24>>2];f=j[l+12>>2];break h}i:{j:{switch(a-28|0){case 0:d=0;if(e+3>>>0>b>>>0){break i}a=k[e+1|0]|k[e+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break i;case 1:d=0;if(e+5>>>0>b>>>0){break i}a=k[e+1|0]|k[e+2|0]<<8|(k[e+3|0]<<16|k[e+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break i;default:break j}}d=a-139|0;if(a>>>0<=246){break i}n=e+2|0;if(a>>>0<=250){d=0;if(b>>>0>>0){break i}d=(k[e+1|0]|a<<8)-63124|0;break i}d=0;if(b>>>0>>0){break i}d=64148-(k[e+1|0]|a<<8)|0}a=d;a=c?p(j[(f<<2)+80752>>2],a):a;c=2147483647;if((a|0)>32767){break h}c=(a|0)<-32767?-2147483647:a<<16}j[i+56>>2]=c;c=j[g+28>>2];e=k[b|0];k:{if((e|0)==30){b=Jf(b,c,f,0);c=j[g+28>>2];f=j[l+12>>2];break k}l:{m:{switch(e-28|0){case 0:d=0;if(b+3>>>0>c>>>0){break l}a=k[b+1|0]|k[b+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break l;case 1:d=0;if(b+5>>>0>c>>>0){break l}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break l;default:break m}}d=e-139|0;if(e>>>0<=246){break l}a=b+2|0;if(e>>>0<=250){d=0;if(a>>>0>c>>>0){break l}d=(k[b+1|0]|e<<8)-63124|0;break l}d=0;if(a>>>0>c>>>0){break l}d=64148-(k[b+1|0]|e<<8)|0}a=d;b=2147483647;a=f?p(j[(f<<2)+80752>>2],a):a;if((a|0)>32767){break k}b=(a|0)<-32767?-2147483647:a<<16}j[i+52>>2]=b;b=j[g+32>>2];e=k[c|0];n:{if((e|0)==30){c=Jf(c,b,f,0);b=j[g+32>>2];f=j[l+12>>2];break n}o:{p:{switch(e-28|0){case 0:d=0;if(c+3>>>0>b>>>0){break o}a=k[c+1|0]|k[c+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break o;case 1:d=0;if(c+5>>>0>b>>>0){break o}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break o;default:break p}}d=e-139|0;if(e>>>0<=246){break o}a=c+2|0;if(e>>>0<=250){d=0;if(a>>>0>b>>>0){break o}d=(k[c+1|0]|e<<8)-63124|0;break o}d=0;if(a>>>0>b>>>0){break o}d=64148-(k[c+1|0]|e<<8)|0}a=d;c=2147483647;a=f?p(j[(f<<2)+80752>>2],a):a;if((a|0)>32767){break n}c=(a|0)<-32767?-2147483647:a<<16}j[i+60>>2]=c;c=j[g+36>>2];e=k[b|0];q:{if((e|0)==30){b=Jf(b,c,f,0);c=j[g+36>>2];f=j[l+12>>2];break q}r:{s:{switch(e-28|0){case 0:d=0;if(b+3>>>0>c>>>0){break r}a=k[b+1|0]|k[b+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break r;case 1:d=0;if(b+5>>>0>c>>>0){break r}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break r;default:break s}}d=e-139|0;if(e>>>0<=246){break r}a=b+2|0;if(e>>>0<=250){d=0;if(a>>>0>c>>>0){break r}d=(k[b+1|0]|e<<8)-63124|0;break r}d=0;if(a>>>0>c>>>0){break r}d=64148-(k[b+1|0]|e<<8)|0}a=d;b=2147483647;a=f?p(j[(f<<2)+80752>>2],a):a;if((a|0)>32767){break q}b=(a|0)<-32767?-2147483647:a<<16}j[i+72>>2]=b;b=j[g+40>>2];g=k[c|0];t:{if((g|0)==30){b=Jf(c,b,f,0);f=j[l+12>>2];break t}u:{v:{switch(g-28|0){case 0:a=0;if(b>>>0>>0){break u}a=k[c+1|0]|k[c+2|0]<<8;a=(a<<24|a<<8&16711680)>>16;break u;case 1:a=0;if(b>>>0>>0){break u}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break u;default:break v}}a=g-139|0;if(g>>>0<=246){break u}e=c+2|0;if(g>>>0<=250){a=0;if(b>>>0>>0){break u}a=(k[c+1|0]|g<<8)-63124|0;break u}a=0;if(b>>>0>>0){break u}a=64148-(k[c+1|0]|g<<8)|0}b=2147483647;a=f?p(j[(f<<2)+80752>>2],a):a;if((a|0)>32767){break t}b=(a|0)<-32767?-2147483647:a<<16}j[i+76>>2]=b;a=j[(f<<2)+80752>>2]}j[o+68>>2]=a;f=0}oe=l+16|0;return f|0}function lI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;c=oe-18160|0;oe=c;a:{if(!a){a=6;break a}a=20;g=j[b+4>>2];if(!g){break a}f=i[g+2>>1];if(!f){a=0;break a}d=i[g>>1];if((d|0)<1){a=0;break a}e=j[g+12>>2];if(!e|!j[g+4>>2]|(f|0)!=(i[(e+(d<<1)|0)-2>>1]+1|0)){break a}k=j[b>>2];h=j[b+8>>2];f=h&2;b:{if(!f){if(!k){a=6;break a}d=j[k+4>>2];if(!d){a=0;break a}a=0;e=j[k>>2];if(!e){break a}a=6;if(!j[k+12>>2]){break a}a=19;if(!(h&1)){break a}j[c+17576>>2]=e;j[c+17572>>2]=d;j[c+17564>>2]=0;j[c+17568>>2]=0;break b}a=19;if(!(h&1)){break a}if(h&4){a=j[b+44>>2];e=c+17572|0;j[e>>2]=j[b+40>>2];j[e+4>>2]=a;a=j[b+36>>2];j[c+17564>>2]=j[b+32>>2];j[c+17568>>2]=a;break b}a=c+17572|0;j[a>>2]=32767;j[a+4>>2]=32767;j[c+17564>>2]=-32768;j[c+17568>>2]=-32768}j[c+17800>>2]=16384;j[c+16588>>2]=0;j[c+16592>>2]=0;j[c+16580>>2]=1;j[c+16584>>2]=0;j[c+16572>>2]=0;j[c+16576>>2]=0;j[c+17804>>2]=c;j[c+17796>>2]=c;a=j[g+12>>2];e=c+17528|0;j[e>>2]=j[g+8>>2];j[e+4>>2]=a;j[c+17536>>2]=j[g+16>>2];a=j[g+4>>2];j[c+17520>>2]=j[g>>2];j[c+17524>>2]=a;j[c+16592>>2]=0;j[c+16580>>2]=1;j[c+17784>>2]=0;j[c+17788>>2]=128;j[c+17772>>2]=0;c:{if(f){a=j[b+12>>2];j[c+17780>>2]=j[b+28>>2];break c}a=j[k+20>>2];b=c+17556|0;j[b>>2]=j[k+16>>2];j[b+4>>2]=a;a=j[k+12>>2];b=c+17548|0;j[b>>2]=j[k+8>>2];j[b+4>>2]=a;a=j[k+4>>2];j[c+17540>>2]=j[k>>2];j[c+17544>>2]=a;j[c+17780>>2]=c+16384;a=884}j[c+17776>>2]=a;e=0;d=i[c+17522>>1];d:{if((d|0)<=0){j[c+16548>>2]=0;j[c+16552>>2]=0;d=0;f=0;b=0;break d}a=j[c+17524>>2];b=j[a+4>>2];f=j[a>>2];e:{if((d|0)==1){e=b;d=f;break e}g=(d<<3)+a|0;h=a+8|0;e=b;d=f;while(1){a=j[a+12>>2];b=(a|0)>(b|0)?a:b;e=(a|0)<(e|0)?a:e;a=j[h>>2];f=(a|0)>(f|0)?a:f;d=(a|0)<(d|0)?a:d;a=h;h=a+8|0;if(g>>>0>h>>>0){continue}break}}d=d>>6;j[c+16548>>2]=d;f=f+63>>6;j[c+16552>>2]=f;e=e>>6;b=b+63>>6}a=0;l=j[c+17564>>2];if((l|0)>=(f|0)){break a}k=j[c+17572>>2];if((k|0)<=(d|0)){break a}g=j[c+17568>>2];if((g|0)>=(b|0)){break a}h=j[c+17576>>2];if((h|0)<=(e|0)){break a}if((d|0)<(l|0)){j[c+16548>>2]=l;d=l}if((e|0)<(g|0)){j[c+16556>>2]=g;e=g}if((f|0)>(k|0)){j[c+16552>>2]=k;f=k}if((b|0)>(h|0)){j[c+16560>>2]=h;b=h}a=b-e|0;j[c+16568>>2]=a;j[c+17828>>2]=(a|0)/128;j[c+16564>>2]=f-d;if(!j[c+17828>>2]){j[c+17828>>2]=1}if(j[c+17828>>2]>=39){j[c+17828>>2]=39}j[c+17824>>2]=e;j[c+17816>>2]=b;a=0;j[c+17832>>2]=0;j[c+17792>>2]=0;if(j[c+17832>>2]>=j[c+17828>>2]){break a}g=c+17580|0;a=128;while(1){j[c+17820>>2]=j[c+17824>>2]+a;if(!(j[c+17820>>2]<=j[c+17816>>2]?j[c+17832>>2]!=(j[c+17828>>2]-1|0):0)){j[c+17820>>2]=j[c+17816>>2]}j[c+17840>>2]=j[c+17824>>2];j[c+17844>>2]=j[c+17820>>2];j[c+17836>>2]=c+17840;if(m[c+17836>>2]>=c+17840>>>0){while(1){e=j[c+17796>>2];j[c+17804>>2]=e;d=j[j[c+17836>>2]+4>>2]-j[j[c+17836>>2]>>2]|0;j[c+17808>>2]=d;b=d<<2;a=(b|0)%16|0;a=((a|0)>0?16-a|0:0)+b|0;b=a+e|0;j[c+16584>>2]=b;f:{g:{f=a;a=j[c+17800>>2];a=a-((a|0)%16|0)|0;if((f|0)>=(a|0)){break g}a=(a+e|0)-b|0;j[c+16588>>2]=a>>4;if((a|0)<32){break g}h:{if((d|0)<1){break h}j[e>>2]=0;a=1;if((d|0)==1){break h}while(1){j[j[c+17804>>2]+(a<<2)>>2]=0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=1;j[c+16580>>2]=1;j[c+16592>>2]=0;j[c+16556>>2]=j[j[c+17836>>2]>>2];j[c+16560>>2]=j[j[c+17836>>2]+4>>2];j[c+16568>>2]=j[j[c+17836>>2]+4>>2]-j[j[c+17836>>2]>>2];b=jI(c+16384|0);if((b|0)==64){break g}if(b){break a}i:{if(!j[c+16592>>2]){break i}d=0;j[c+17772>>2]=0;if(j[c+17808>>2]>=1){while(1){f=0;b=0;a=j[j[c+17804>>2]+(d<<2)>>2];j:{if(!a){break j}while(1){k:{if(!b){break k}e=j[a>>2];if((e|0)<=(f|0)){break k}bm(c+16384|0,f,d,b<<9,e-f|0)}b=j[a+4>>2]+b|0;h=b<<9;f=h-j[a+8>>2]|0;l:{if(!f){break l}e=j[a>>2];if((e|0)<0){break l}bm(c+16384|0,e,d,f,1)}f=j[a>>2]+1|0;a=j[a+12>>2];if(a){continue}break}if(!b){break j}bm(c+16384|0,f,d,h,j[c+16564>>2]-f|0)}d=d+1|0;if((d|0)>2]){continue}break}}b=j[c+17776>>2];if(!b){break i}a=j[c+17772>>2];if((a|0)<1){break i}qe[b|0](j[c+17784>>2],a,g,j[c+17780>>2])}j[c+17836>>2]=j[c+17836>>2]-8;break f}a=1;e=j[j[c+17836>>2]+4>>2];d=j[j[c+17836>>2]>>2];b=e-d>>1;if(!b){break a}if(j[c+17788>>2]<=(d-e|0)){j[c+17792>>2]=j[c+17792>>2]+1}j[j[c+17836>>2]+8>>2]=d;a=b+d|0;j[j[c+17836>>2]+12>>2]=a;j[j[c+17836>>2]>>2]=a;j[j[c+17836>>2]+4>>2]=e;j[c+17836>>2]=j[c+17836>>2]+8}if(m[c+17836>>2]>=c+17840>>>0){continue}break}}j[c+17832>>2]=j[c+17832>>2]+1;j[c+17824>>2]=j[c+17820>>2];if(j[c+17832>>2]>2]){a=j[c+17788>>2];continue}break}a=0;if(j[c+17792>>2]<9){break a}b=j[c+17788>>2];if((b|0)<17){break a}j[c+17788>>2]=b>>>1}oe=c+18160|0;return a|0}function Jk(a,b){var c=0,d=0,e=0,f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=oe-112|0;oe=g;a:{if(!a){j[g>>2]=56016;ve(55990,g);break a}if(!b){j[g+16>>2]=56180;ve(55990,g+16|0);break a}b:{c=j[b+4>>2];if(!c){break b}n=j[c>>2];c:{if((n|0)<1){c=0;break c}f=j[c+4>>2];c=0;while(1){d=f+(c<<2)|0;if(k[d|0]!=255|k[d+1|0]!=255|k[d+2|0]!=255){break c}c=c+1|0;if((n|0)>(c|0)){continue}break}}if((c|0)!=(n|0)){break b}ve(56187,0);break a}d=j[a+12>>2];f=j[a+8>>2];c=yj(k[b+8|0],j[b+12>>2],j[b+16>>2],j[b+20>>2],j[b+24>>2]);if(!c){ve(55923,0);break a}e=wj(f,d,c);if(!e){e=0;break a}f=j[b+4>>2];d:{if(!f){break d}c=j[j[e+4>>2]+4>>2];if(!c){break d}Ge(j[c+4>>2],j[f+4>>2],j[f>>2]<<2);j[j[j[e+4>>2]+4>>2]>>2]=j[j[b+4>>2]>>2]}c=j[a+52>>2];r=k[c+79|0];q=k[c+78|0];p=k[c+77|0];n=k[c+76|0];f=-1;j[c+76>>2]=-1;t=j[c+68>>2];j[c+68>>2]=0;vf(c);j[g+80>>2]=0;j[g+84>>2]=0;j[g+88>>2]=j[a+8>>2];j[g+92>>2]=j[a+12>>2];c=j[a+52>>2];e:{f:{g:{if(j[c>>2]!=(e|0)){break g}d=j[j[e+4>>2]+4>>2];if(j[c+80>>2]!=j[d+8>>2]?d:0){break g}d=j[j[a+4>>2]+4>>2];if(!d|j[c+84>>2]==j[d+8>>2]){break f}}if((xj(a,e)|0)<0){break e}c=j[a+52>>2]}f=qe[j[c+8>>2]](a,g+80|0,e,g+80|0)|0}c=j[e+52>>2];h[c+79|0]=r;h[c+78|0]=q;h[c+77|0]=p;h[c+76|0]=n;j[c+68>>2]=t&-28945;c=j[a+52>>2];h[c+79|0]=r;h[c+78|0]=q;h[c+77|0]=p;h[c+76|0]=n;j[c+68>>2]=t;vf(c);if((f|0)<=-1){kf(e);e=0;break a}h:{if(!(t&256)){break h}i:{j:{k:{l:{m:{d=j[a+4>>2];n=j[d+4>>2];f=1;n:{if(!n){break n}f=j[b+4>>2];o:{if(!f){break o}c=j[n>>2];if((c|0)>j[f>>2]){break o}if(!wf(j[n+4>>2],j[f+4>>2],c<<2)){break m}d=j[a+4>>2]}f=!j[b+24>>2]}c=0;j[g+96>>2]=0;d=yj(k[d+8|0],j[d+12>>2],j[d+16>>2],j[d+20>>2],j[d+24>>2]);if(!d){break k}c=wj(1,1,d);d=j[j[a+4>>2]+4>>2];if(!d){break i}if(c){break l}break j}c=j[j[e+4>>2]+4>>2];f=j[j[a+52>>2]+72>>2];if(!(!c|f>>>0>2])){j[g+64>>2]=56024;ve(55990,g- -64|0);break h}d=j[e+52>>2];j[d+72>>2]=f;f=j[d+68>>2];c=f|256;j[d+68>>2]=c;if((c|0)==(f|0)){break h}vf(d);break h}if((Lk(j[c+4>>2],d)|0)<0){break i}vf(j[c+52>>2]);break i}ve(55923,0);if(!j[j[a+4>>2]+4>>2]){break i}}c=0;ve(55944,0)}Dh(c,0,j[j[a+52>>2]+72>>2]);d=j[c+52>>2];j[d+68>>2]=j[d+68>>2]&-257;d=Jk(c,b);Ge(g+96|0,j[d+20>>2],k[j[d+4>>2]+9|0]);kf(c);kf(d);c=j[j[e+4>>2]+4>>2];d=j[g+96>>2];p:{if(!(!c|d>>>0>2])){j[g+48>>2]=56024;ve(55990,g+48|0);break p}n=j[e+52>>2];j[n+72>>2]=d;d=j[n+68>>2];c=d|256;j[n+68>>2]=c;if((c|0)==(d|0)){break p}vf(n)}if(!(h[j[e+52>>2]+69|0]&1)){break h}s=j[e+4>>2];if(!j[s+24>>2]){break h}c=j[e+28>>2];q:{if(c){break q}c=0;if(!(k[e|0]&2)){break q}bi(e,1);j[e>>2]=j[e>>2]|2;s=j[e+4>>2];c=j[e+28>>2]}c=c+1|0;j[e+28>>2]=c;r:{s:{t:{switch(k[s+9|0]-2|0){case 0:u=l[s+24>>1]^-1;c=j[j[e+52>>2]+72>>2];if(f){f=j[e+12>>2];if(!f){break s}n=j[e+8>>2];p=j[e+20>>2];o=j[e+16>>2]/2<<1;r=c&u;q=r&65535;while(1){f=f-1|0;c=p;d=n;if(d){while(1){d=d-1|0;if((q|0)==(l[c>>1]&u)){i[c>>1]=r}c=c+2|0;if(d){continue}break}}p=o+p|0;if(f){continue}break}break s}o=j[e+12>>2];if(!o){break s}r=c&u;n=j[e+8>>2];f=j[e+20>>2];q=j[e+16>>2]/2<<1;p=c&65535;while(1){o=o-1|0;c=f;d=n;if(d){while(1){d=d-1|0;if((p|0)==l[c>>1]){i[c>>1]=r}c=c+2|0;if(d){continue}break}}f=f+q|0;if(o){continue}break}break s;case 2:break t;default:break r}}q=j[s+24>>2]^-1;p=j[j[e+52>>2]+72>>2];if(f){o=j[e+12>>2];if(!o){break s}n=p&q;f=j[e+20>>2];while(1){o=o-1|0;c=f;d=j[e+8>>2];if(d){while(1){d=d-1|0;if((n|0)==(q&j[c>>2])){j[c>>2]=n}c=c+4|0;if(d){continue}break}}f=(j[e+16>>2]/4<<2)+f|0;if(o){continue}break}break s}o=j[e+12>>2];if(!o){break s}n=p&q;f=j[e+20>>2];while(1){o=o-1|0;c=f;d=j[e+8>>2];if(d){while(1){d=d-1|0;if((p|0)==j[c>>2]){j[c>>2]=n}c=c+4|0;if(d){continue}break}}f=(j[e+16>>2]/4<<2)+f|0;if(o){continue}break}}c=j[e+28>>2]}u:{if(!c){break u}j[e+28>>2]=c-1;if((c|0)>1){break u}c=j[e>>2];if(!(c&2)){break u}j[e>>2]=c&-3;Cj(e);s=j[e+4>>2]}c=j[s+4>>2];v:{if(!(!c|j[c>>2])){j[g+32>>2]=56024;ve(55990,g+32|0);break v}d=j[e+52>>2];c=j[d+68>>2];f=c&-257;j[d+68>>2]=f;if((c|0)==(f|0)){break v}vf(d)}d=j[e+52>>2];c=j[d+68>>2];f=c&-113|16;j[d+68>>2]=f;if((c|0)==(f|0)){break h}vf(d)}j[g+96>>2]=0;j[g+100>>2]=0;j[g+104>>2]=j[e+8>>2];j[g+108>>2]=j[e+12>>2];Fg(a+36|0,g+96|0,e+36|0);w:{if(t&2?0:!(j[b+24>>2]?j[j[a+4>>2]+24>>2]:0)){break w}c=j[e+52>>2];a=j[c+68>>2];b=a&-113|16;j[c+68>>2]=b;if((a|0)==(b|0)){break w}vf(c)}if(!(t&4096)){break a}c=j[e+52>>2];a=j[c+68>>2];b=a|4096;j[c+68>>2]=b;if((a|0)==(b|0)){break a}vf(c)}oe=g+112|0;return e}function WD(a,b,c,d,e,f){var g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=oe-432|0;oe=g;h=j[b+4>>2];a:{if(h>>>0>2]){j[b+4>>2]=h+1;i=k[h|0];break a}i=ff(b)}b:{c:{while(1){if((i|0)!=48){d:{if((i|0)!=46){break b}h=j[b+4>>2];if(h>>>0>=m[b+104>>2]){break d}j[b+4>>2]=h+1;i=k[h|0];break c}}else{h=j[b+4>>2];if(h>>>0>2]){z=1;j[b+4>>2]=h+1;i=k[h|0]}else{z=1;i=ff(b)}continue}break}i=ff(b)}y=1;if((i|0)!=48){break b}while(1){h=u;u=h-1|0;v=v-(h>>>0<1)|0;h=j[b+4>>2];e:{if(h>>>0>2]){j[b+4>>2]=h+1;i=k[h|0];break e}i=ff(b)}if((i|0)==48){continue}break}z=1}h=1073676288;while(1){f:{A=i|32;g:{h:{B=i-48|0;if(B>>>0<10){break h}if(A-97>>>0>5?(i|0)!=46:0){break f}if((i|0)!=46){break h}if(y){break f}y=1;u=p;v=l;break g}i=(i|0)>57?A-87|0:B;i:{if((l|0)<0?1:(l|0)<=0?p>>>0<=7:0){r=i+(r<<4)|0;break i}if((l|0)<0?1:(l|0)<=0?p>>>0<=28:0){ag(g+48|0,i);lf(g+32|0,w,x,q,h,0,0,0,1073414144);w=j[g+32>>2];x=j[g+36>>2];q=j[g+40>>2];h=j[g+44>>2];lf(g+16|0,w,x,q,h,j[g+48>>2],j[g+52>>2],j[g+56>>2],j[g+60>>2]);Wf(g,n,o,s,t,j[g+16>>2],j[g+20>>2],j[g+24>>2],j[g+28>>2]);s=j[g+8>>2];t=j[g+12>>2];n=j[g>>2];o=j[g+4>>2];break i}if(!i|E){break i}lf(g+80|0,w,x,q,h,0,0,0,1073610752);Wf(g- -64|0,n,o,s,t,j[g+80>>2],j[g+84>>2],j[g+88>>2],j[g+92>>2]);s=j[g+72>>2];t=j[g+76>>2];E=1;n=j[g+64>>2];o=j[g+68>>2]}p=p+1|0;l=p>>>0<1?l+1|0:l;z=1}i=j[b+4>>2];if(i>>>0>2]){j[b+4>>2]=i+1;i=k[i|0]}else{i=ff(b)}continue}break}j:{k:{l:{if(!z){if(!j[b+104>>2]){if(f){break k}break l}c=j[b+4>>2];j[b+4>>2]=c-1;if(!f){break l}j[b+4>>2]=c-2;if(!y){break k}j[b+4>>2]=c-3;break k}if((l|0)<0?1:(l|0)<=0?p>>>0<=7:0){q=p;h=l;while(1){r=r<<4;q=q+1|0;h=q>>>0<1?h+1|0:h;if((q|0)!=8|h){continue}break}}m:{if((i&-33)==80){q=cp(b,f);i=pe;h=i;if(q|(h|0)!=-2147483648){break m}if(f){q=0;h=0;if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1;break m}n=0;o=0;kg(b,0,0);c=0;b=0;break j}q=0;h=0;if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1}if(!r){Lg(g+112|0,+(e|0)*0);n=j[g+112>>2];o=j[g+116>>2];c=j[g+120>>2];b=j[g+124>>2];break j}f=y?u:p;b=(y?v:l)<<2|f>>>30;f=q+(f<<2)|0;l=b+h|0;b=f;p=b-32|0;l=(b>>>0>>0?l+1|0:l)-(b>>>0<32)|0;b=l;if((b|0)>0?1:(b|0)>=0?p>>>0>0-d>>>0:0){j[67100]=68;ag(g+160|0,e);lf(g+144|0,j[g+160>>2],j[g+164>>2],j[g+168>>2],j[g+172>>2],-1,-1,-1,2147418111);lf(g+128|0,j[g+144>>2],j[g+148>>2],j[g+152>>2],j[g+156>>2],-1,-1,-1,2147418111);n=j[g+128>>2];o=j[g+132>>2];c=j[g+136>>2];b=j[g+140>>2];break j}b=d-226|0;f=p>>>0>=b>>>0;b=b>>31;if((b|0)<(l|0)?1:(l|0)>=(b|0)?f:0){if((r|0)>-1){while(1){Wf(g+416|0,n,o,s,t,0,0,0,-1073807360);h=Yo(n,o,s,t,1073610752);f=(h|0)<0;b=f;Wf(g+400|0,n,o,s,t,b?n:j[g+416>>2],b?o:j[g+420>>2],b?s:j[g+424>>2],b?t:j[g+428>>2]);b=p;p=b-1|0;l=l-(b>>>0<1)|0;s=j[g+408>>2];t=j[g+412>>2];n=j[g+400>>2];o=j[g+404>>2];r=r<<1|(h|0)>-1;if((r|0)>-1){continue}break}}b=d;h=(p-b|0)+32|0;l=l-((b>>31)+(b>>>0>p>>>0)|0)|0;b=h;l=b>>>0<32?l+1|0:l;c=((l|0)<0?1:(l|0)<=0?c>>>0>b>>>0:0)?(b|0)>0?b:0:c;n:{if((c|0)>=113){ag(g+384|0,e);u=j[g+392>>2];v=j[g+396>>2];w=j[g+384>>2];x=j[g+388>>2];d=0;b=0;break n}Lg(g+352|0,Kg(1,144-c|0));ag(g+336|0,e);w=j[g+336>>2];x=j[g+340>>2];u=j[g+344>>2];v=j[g+348>>2];fp(g+368|0,j[g+352>>2],j[g+356>>2],j[g+360>>2],j[g+364>>2],w,x,u,v);C=j[g+376>>2];D=j[g+380>>2];d=j[g+372>>2];b=j[g+368>>2]}c=!(r&1)&((Kh(n,o,s,t,0,0,0,0)|0)!=0&(c|0)<32);li(g+320|0,c+r|0);lf(g+304|0,w,x,u,v,j[g+320>>2],j[g+324>>2],j[g+328>>2],j[g+332>>2]);Wf(g+272|0,j[g+304>>2],j[g+308>>2],j[g+312>>2],j[g+316>>2],b,d,C,D);lf(g+288|0,c?0:n,c?0:o,c?0:s,c?0:t,w,x,u,v);Wf(g+256|0,j[g+288>>2],j[g+292>>2],j[g+296>>2],j[g+300>>2],j[g+272>>2],j[g+276>>2],j[g+280>>2],j[g+284>>2]);ul(g+240|0,j[g+256>>2],j[g+260>>2],j[g+264>>2],j[g+268>>2],b,d,C,D);e=j[g+240>>2];d=j[g+244>>2];c=j[g+248>>2];b=j[g+252>>2];if(!Kh(e,d,c,b,0,0,0,0)){j[67100]=68}ep(g+224|0,e,d,c,b,p);n=j[g+224>>2];o=j[g+228>>2];c=j[g+232>>2];b=j[g+236>>2];break j}j[67100]=68;ag(g+208|0,e);lf(g+192|0,j[g+208>>2],j[g+212>>2],j[g+216>>2],j[g+220>>2],0,0,0,65536);lf(g+176|0,j[g+192>>2],j[g+196>>2],j[g+200>>2],j[g+204>>2],0,0,0,65536);n=j[g+176>>2];o=j[g+180>>2];c=j[g+184>>2];b=j[g+188>>2];break j}kg(b,0,0)}Lg(g+96|0,+(e|0)*0);n=j[g+96>>2];o=j[g+100>>2];c=j[g+104>>2];b=j[g+108>>2]}j[a>>2]=n;j[a+4>>2]=o;j[a+8>>2]=c;j[a+12>>2]=b;oe=g+432|0}function 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,n=0;f=(e|0)>0?e:0;a:{b:{c:{d:{e:{f:{g:{switch(b|0){case 0:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+433|0];break b;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;h:{i:{j:{switch(c|0){case 0:a=a+436|0;break i;case 1:a=a+440|0;break i;case 2:a=a+444|0;break i;case 3:break j;default:break h}}a=a+448|0}e=j[a>>2]}j[d>>2]=e;break c;case 2:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;k:{l:{m:{switch(c|0){case 0:a=a+460|0;break l;case 1:a=a+464|0;break l;case 2:a=a+468|0;break l;case 3:break m;default:break k}}a=a+472|0}e=j[a>>2]}j[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+432|0];break b;case 4:a=j[a+364>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+416>>2];break c;case 7:if(m[a+416>>2]<=c>>>0){break e}a=j[j[a+420>>2]+(c<<2)>>2];c=Le(a);b=c+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,a,b)+c|0,n=0,h[g|0]=n;break f;case 8:if(m[a+416>>2]<=c>>>0){break e}e=j[j[a+428>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,j[j[a+424>>2]+(c<<2)>>2],e)+e|0,n=0,h[g|0]=n;break f;case 9:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+368>>2];break c;case 10:if(j[a+368>>2]!=1|m[a+372>>2]<=c>>>0){break e}c=j[j[a+388>>2]+(c<<2)>>2];a=Le(c);b=a+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,c,a)+a|0,n=0,h[g|0]=n;break f;case 11:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+404>>2];break c;case 12:if(m[a+404>>2]<=c>>>0){break e}e=j[j[a+412>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,j[j[a+408>>2]+(c<<2)>>2],e)+e|0,n=0,h[g|0]=n;break f;case 13:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+176|0];break b;case 16:if(k[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+177|0];break b;case 19:if(k[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+178|0];break b;case 21:if(k[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+179|0];break b;case 23:if(k[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+292|0];break b;case 27:if(k[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+293|0];break b;case 29:if(k[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+295|0];break b;case 30:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+164>>1];break a;case 36:a=j[a+132>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 37:a=j[a+136>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 38:a=j[a+140>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 39:a=j[a+144>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=j[a+148>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+152>>2]}return b|0}return 1}return 2}function vq(a,b,c,d){var e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0;t=oe-16|0;oe=t;o=6;e=j[a+32>>2];a:{if(!e){break a}f=j[a+40>>2];g=j[a+36>>2]+j[a+28>>2]|0;n=g;while(1){r=k[n+1|0]|k[n|0]<<8;if(!((k[n+3|0]|k[n+2|0]<<8)>>>0>=b>>>0?r>>>0<=b>>>0:0)){n=n+8|0;e=e-1|0;if(e){continue}break a}break}o=8;e=k[n+4|0]|k[n+5|0]<<8|(k[n+6|0]<<16|k[n+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>f-g>>>0){break a}g=e+g|0;e=g+8|0;if(e>>>0>f>>>0){o=6;break a}s=k[g+4|0]|k[g+5|0]<<8|(k[g+6|0]<<16|k[g+7|0]<<24);q=k[g+2|0]|k[g+3|0]<<8;o=6;b:{c:{d:{e:{f:{g:{g=k[g|0]|k[g+1|0]<<8;switch(((g<<24|g<<8&16711680)>>>16|0)-1|0){case 2:break e;case 1:break f;case 0:break g;case 4:case 18:break c;case 3:break d;default:break a}}e=e+(b-r<<2)|0;if(f>>>0>>0){break a}b=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=k[e+4|0]|k[e+5|0]<<8|(k[e+6|0]<<16|k[e+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if((b|0)!=(e|0)){break b}break a}if(f>>>0>>0|f>>>0>>0){break a}n=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=j[a+12>>2];e=e+4|0;i[g>>1]=k[e|0];i[g+2>>1]=k[e+1|0];i[g+4>>1]=h[e+2|0];i[g+6>>1]=h[e+3|0];i[g+8>>1]=k[e+4|0];if(f>>>0>>0){break a}i[g+10>>1]=h[e+5|0];i[g+12>>1]=h[e+6|0];i[g+14>>1]=k[e+7|0];h[a+16|0]=1;e=n<<8&16711680|n<<24|(n>>>8&65280|n>>>24);b=p(e,b-r|0);e=b+e|0;break b}e=e+(b-r<<1)|0;if(f>>>0>>0){break a}b=k[e+1|0]|k[e|0]<<8;e=k[e+3|0]|k[e+2|0]<<8;if((b|0)!=(e|0)){break b}break a}n=e+4|0;if(f>>>0>>0|f>>>0>>0){break a}g=(f-n>>2)-1|0;e=n-4|0;e=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(g>>>0>>0){break a}if(!f){break a}e=0;while(1){if((k[n+1|0]|k[n|0]<<8)==(b|0)){e=k[n+7|0]|k[n+6|0]<<8;b=k[n+3|0]|k[n+2|0]<<8;break b}n=n+4|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}break a}if(f>>>0>>0|f>>>0>>0){break a}o=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=j[a+12>>2];e=e+4|0;i[g>>1]=k[e|0];i[g+2>>1]=k[e+1|0];i[g+4>>1]=h[e+2|0];i[g+6>>1]=h[e+3|0];i[g+8>>1]=k[e+4|0];n=e+8|0;if(f>>>0>>0){o=6;break a}i[g+10>>1]=h[e+5|0];i[g+12>>1]=h[e+6|0];i[g+14>>1]=k[e+7|0];h[a+16|0]=1;n=n+4|0;g=f-n>>1;e=k[e+8|0]|k[e+9|0]<<8|(k[e+10|0]<<16|k[e+11|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(g>>>0>>0){o=6;break a}if(!f){o=6;break a}g=o<<8&16711680|o<<24|(o>>>8&65280|o>>>24);e=0;h:{while(1){if((k[n+1|0]|k[n|0]<<8)==(b|0)){break h}n=n+2|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}o=6;break a}b=p(e,g);e=g+b|0}o=6;if(b>>>0>e>>>0){break a}f=s<<8&16711680|s<<24|(s>>>8&65280|s>>>24);if(m[a+24>>2]>>0){break a}r=j[a+4>>2];o=Fe(r,j[a+20>>2]+(b+f|0)|0);if(o){break a}g=e-b|0;o=_f(r,g,t+12|0);if(o){break a}f=j[t+12>>2];e=f;q=(q<<8&16711680|q<<24)>>>16|0;i:{j:{if(q>>>0>18){break j}b=1<>2];i[b>>1]=k[f|0];i[b+2>>1]=k[f+1|0];i[b+4>>1]=h[f+2|0];i[b+6>>1]=h[f+3|0];i[b+8>>1]=k[f+4|0];if((g|0)<8){break i}i[b+10>>1]=h[f+5|0];i[b+12>>1]=h[f+6|0];o=k[f+7|0];e=f+8|0;break k}o=6;if((g|0)<5){break i}b=j[a+12>>2];i[b>>1]=k[f|0];i[b+2>>1]=k[f+1|0];i[b+4>>1]=h[f+2|0];i[b+6>>1]=h[f+3|0];e=k[f+4|0];o=0;i[b+10>>1]=0;i[b+12>>1]=0;i[b+8>>1]=e;e=f+5|0}i[b+14>>1]=o;h[a+16|0]=1}s=f+g|0;o=7;n=797;l:{m:{n:{o:{p:{q:{switch(q-1|0){case 16:case 17:case 18:break i;case 0:case 5:break m;case 8:break n;case 7:break o;case 4:break p;case 1:case 6:break q;default:break l}}f=j[a+12>>2];b=l[f>>1];g=l[f+2>>1];f=p(b,g+7>>>3|0);if(f>>>0<=p(b,g)+7>>>3>>>0){break p}if((f|0)==(s-e|0)){break m}}n=798;break m}o=0;e=e+1|0;if(s>>>0>>0){break i}}n=799}r:{if(k[a+17|0]){break r}if(!k[a+16|0]){o=6;break i}g=j[a+12>>2];b=l[g+2>>1];f=j[a+8>>2];q=l[g>>1];j[f>>2]=q;j[f+4>>2]=b;o=3;g=f;s:{t:{u:{switch(k[a+18|0]-1|0){case 0:h[f+18|0]=1;b=b+7>>>3|0;o=2;break s;case 1:h[f+18|0]=3;b=b+3>>>2|0;o=4;break s;case 3:h[f+18|0]=4;b=b+1>>>1|0;o=16;break s;case 7:h[f+18|0]=2;break t;case 31:break u;default:break i}}h[f+18|0]=7;b=b<<2}o=256}i[g+16>>1]=o;j[f+8>>2]=b;b=p(b,q);if(!b){break r}o=Hm(j[j[a>>2]+84>>2],b);if(o){break i}h[a+17|0]=1}o=qe[n|0](a,e,s,c,d)|0;break i}o=8}jf(r,t+12|0)}oe=t+16|0;return o}function ks(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;y=oe-16|0;oe=y;m=p(b,1468)+a|0;f=m;e=j[m+44>>2];n=j[m+52>>2];d=Gi(a,b);a:{if(d){break a}if((e|0)>=1){g=p(e,48)+n|0;while(1){d=j[n+40>>2];e=l[d>>1];o=k[n|0];h[n|0]=o&254;q=j[n+44>>2];b:{if((q|0)==(d|0)){break b}c=e&3;while(1){e=c;d=j[d+32>>2];c=l[d>>1]&3;if(!((e|c)&65535)){break b}if((d|0)!=(q|0)){continue}break}h[n|0]=o|1}n=n+48|0;if(g>>>0>n>>>0){continue}break}}s=j[j[a+2988>>2]+40>>2]/256|0;c=j[f+44>>2];e=j[m+52>>2];t=p(b,1468)+a|0;n=j[t+68>>2];z=(b?12:4)+a|0;v=De(192,j[z>>2]);if((c|0)>=1){q=p(c,48)+e|0;c=e;while(1){if((n|0)==h[c+1|0]){d=e;while(1){c:{if((c|0)==(d|0)|(n|0)!=(0-h[d+1|0]|0)){break c}g=i[d+2>>1]-i[c+2>>1]|0;if((g|0)<0){break c}f=i[d+6>>1];o=i[c+6>>1];w=(f|0)<(o|0)?f:o;f=i[d+4>>1];o=i[c+4>>1];f=w-((f|0)>(o|0)?f:o)|0;if((f|0)<(s|0)){break c}o=g<<3;r=j[c+32>>2];if(!((o|0)>=(p(r,9)|0)|((f|0)<=j[c+36>>2]?(o|0)>=(p(r,7)|0):0))){j[c+36>>2]=f;j[c+32>>2]=g;j[c+20>>2]=d}r=j[d+32>>2];if((o|0)>=(p(r,9)|0)|((f|0)<=j[d+36>>2]?(o|0)>=(p(r,7)|0):0)){break c}j[d+36>>2]=f;j[d+32>>2]=g;j[d+20>>2]=c}d=d+48|0;if(q>>>0>d>>>0){continue}break}}c=c+48|0;if(q>>>0>c>>>0){continue}break}c=e;while(1){o=j[c+20>>2];d:{if(!o|j[o+20>>2]!=(c|0)){break d}s=i[o+2>>1];r=i[c+2>>1];if((s|0)<=(r|0)){break d}u=j[c+32>>2];if((u|0)>=(v|0)){break d}A=u<<2;d=e;while(1){e:{f:{if((c|0)==(d|0)){break f}f=i[d+2>>1];if((f|0)>(r|0)){break f}n=j[d+20>>2];if(!n|j[n+20>>2]!=(d|0)){break f}g=i[n+2>>1];if((g|0)<(s|0)|((g|0)==(s|0)?(f|0)==(r|0):0)){break f}f=j[d+32>>2];if((f|0)<=(u|0)|(f|0)>=(A|0)){break f}g=e;if(j[c+36>>2]<(p(j[d+36>>2],3)|0)){break e}while(1){f=o;x=j[g+20>>2];g:{if((x|0)!=(d|0)){f=c;if((n|0)!=(x|0)){break g}}j[g+24>>2]=f;j[g+20>>2]=0}g=g+48|0;if(q>>>0>g>>>0){continue}break}}d=d+48|0;if(q>>>0>d>>>0){continue}break d}break}j[o+20>>2]=0;j[c+20>>2]=0}c=c+48|0;if(q>>>0>c>>>0){continue}break}while(1){c=j[e+20>>2];h:{if(!c){break h}f=j[c+28>>2];j[c+28>>2]=f+1;if(j[c+20>>2]==(e|0)){break h}j[e+20>>2]=0;d=j[c+32>>2];if(!(j[e+32>>2]>=d<<2?(d|0)>=(v|0):0)){j[e+24>>2]=j[c+20>>2];break h}j[c+28>>2]=f}e=e+48|0;if(q>>>0>e>>>0){continue}break}}A=j[a>>2];m=j[m+52>>2];c=j[a+2988>>2];j[t+56>>2]=0;x=t+44|0;e=j[x>>2];c=c+p(b,1572)|0;s=j[z>>2];i:{if((ye(j[c+248>>2],s)|0)>=17){g=De(16,s);break i}g=j[c+248>>2]}if((e|0)>=1){z=p(e,48)+m|0;D=(p(b,1468)+a|0)- -64|0;while(1){j:{k:{B=j[t+56>>2];l:{if((B|0)<=0){v=k[m+1|0];break l}v=k[m+1|0];r=j[D>>2];e=0;f=65535;n=0;while(1){d=p(n,48);o=d+r|0;m:{if(k[o+13|0]!=(v|0)){break m}q=i[m+2>>1]-i[o>>1]|0;c=q>>31;q=c^c+q;if((q|0)>=(g|0)|(f|0)<=(q|0)){break m}C=j[m+20>>2];if(C){c=0;w=j[(d+r|0)+40>>2];d=w;while(1){n:{u=j[d+20>>2];if(u){c=i[C+2>>1];u=i[u+2>>1];c=(c|0)>(u|0)?c-u|0:u-c|0;if((g|0)<=(c|0)){break n}}d=j[d+16>>2];if((w|0)!=(d|0)){continue}}break}if((c|0)>=(g|0)){break m}}f=q;e=o}n=n+1|0;if((B|0)!=(n|0)){continue}break}if(e){break k}}d=hs(x,i[m+2>>1],v<<24>>24,A,y+12|0);if(d){break a}e=j[y+12>>2];j[e+44>>2]=m;j[e+40>>2]=m;j[e>>2]=0;j[e+4>>2]=0;j[e+32>>2]=0;j[e+36>>2]=0;j[e+24>>2]=0;j[e+28>>2]=0;j[e+16>>2]=0;j[e+20>>2]=0;j[e+8>>2]=0;j[e+12>>2]=0;h[e+13|0]=k[m+1|0];c=i[m+2>>1];i[e>>1]=c;c=ye(c,s);j[e+8>>2]=c;j[e+4>>2]=c;j[m+16>>2]=m;break j}j[m+16>>2]=j[e+40>>2];j[j[e+44>>2]+16>>2]=m;j[e+44>>2]=m}m=m+48|0;if(z>>>0>m>>>0){continue}break}}c=j[t+56>>2];if((c|0)>=1){e=j[(p(b,1468)+a|0)- -64>>2];o=e+p(c,48)|0;c=e;while(1){a=j[c+40>>2];d=a;if(d){while(1){j[d+12>>2]=c;d=j[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+48|0;if(o>>>0>c>>>0){continue}break}while(1){b=e+28|0;c=e+24|0;v=j[e+40>>2];d=v;n=0;f=0;while(1){s=h[d|0]&1;r=s^1;g=j[d+24>>2];a=0;o:{if(!g){break o}a=j[g+12>>2]!=(e|0)}p:{if(j[d+20>>2]?0:!a){break p}q=j[(a?d+24|0:d+20|0)>>2];g=j[(a?b:c)>>2];q:{if(g){t=i[e>>1]-i[g>>1]|0;m=t>>31;w=m^m+t;m=i[d+2>>1];t=i[q+2>>1];if((w|0)<=(((m|0)>(t|0)?m-t|0:t-m|0)|0)){break q}}g=j[q+12>>2]}if(a){j[b>>2]=g;h[g+12|0]=k[g+12|0]|2;break p}j[c>>2]=g}n=n+s|0;f=f+r|0;d=j[d+16>>2];if((v|0)!=(d|0)){continue}break}h[e+12|0]=(n|0)!=0&f>>>0<=n>>>0;if(!(!j[e+28>>2]|!j[c>>2])){j[b>>2]=0}e=e+48|0;if(o>>>0>e>>>0){continue}break}}d=0}oe=y+16|0;return d}function $H(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;g=oe-80|0;oe=g;i=dh(j[j[b+96>>2]+4>>2],158640);a:{if(!i){f=11;break a}f=Fe(a,0);if(f){break a}f=qe[j[i+4>>2]](a,b,c,d,e)|0;if(f){break a}o=j[b+104>>2];a=j[b+148>>2];if(!((a|0)==65536|(a|0)==1953658213)){f=2;if((a|0)!=131072){break a}}j[b+8>>2]=j[b+8>>2]|2048;f=0;if((c|0)<0){break a}f=qe[j[i+8>>2]](o,b,c,d,e)|0;if(f){break a}b:{c:{a=j[b+20>>2];if(a){if(Xf(a,158944)){break c}if(Xf(a,158964)){break c}if(Xf(a,158984)){break c}if(Xf(a,159004)){break c}if(Xf(a,159024)){break c}if(Xf(a,159044)){break c}if(Xf(a,159064)){break c}if(Xf(a,159084)){break c}if(Xf(a,159104)){break c}}v=Ee(g,0,68);a=0;d=l[b+152>>1];if(d){while(1){e=1;i=0;c=j[b+156>>2];t=s<<4;f=j[c+t>>2];d:{if((f|0)!=1668707360){e:{if((f|0)!=1886545264){if((f|0)!=1718642541){break d}i=1;break e}i=2}e=a}f=0;a=0;while(1){d=c+t|0;n=p(f,24)+(i<<3)|0;if(j[d+12>>2]==j[n+159140>>2]){f:{if(a){break f}c=j[b+508>>2];if(!c){a=0;break f}a=0;if(qe[c|0](b,j[d>>2],j[b+104>>2],0)|0){break f}q=j[b+104>>2];d=j[(j[b+156>>2]+t|0)+12>>2];if(_e(q,d)){break f}if(d>>>0>3){while(1){a=Ff(q)+a|0;d=d-4|0;if(d>>>0>3){continue}break}}u=3;if(d){while(1){c=j[q+32>>2];if(c>>>0>2]){j[q+32>>2]=c+1;c=h[c|0]}else{c=0}a=((c<<24>>24&255)<<(u<<3))+a|0;u=u-1|0;d=d-1|0;if(d){continue}break}}Ve(q)}c=(f<<2)+v|0;d=j[c>>2];if(j[n+159136>>2]==(a|0)){d=d+1|0;j[c>>2]=d}if((d|0)==3){break c}}f=f+1|0;if((f|0)!=17){c=j[b+156>>2];continue}break}d=l[b+152>>1];a=e}s=s+1|0;if(s>>>0<(d&65535)>>>0){continue}break}}c=a&255;while(1){a=(r<<2)+v|0;f=j[a>>2];if(!(r-5>>>0>11|c)){f=f+1|0;j[a>>2]=f}if((f|0)==3){break c}r=r+1|0;if((r|0)!=17){continue}break}break b}j[b+8>>2]=j[b+8>>2]|8192}c=j[o+28>>2];a=qe[j[b+508>>2]](b,1751412088,o,g+76|0)|0;j[g>>2]=a;g:{if(a){break g}a=j[g+76>>2];if(a>>>0<=7){break g}e=b+704|0;f=_f(o,a,e);j[g>>2]=f;if(f){break a}h:{i:{j:{n=j[e>>2];k:{if(k[n|0]<<8|k[n+1|0]){break k}d=k[n+3|0]|k[n+2|0]<<8;if(d>>>0>255){break k}a=k[n+4|0]|k[n+5|0]<<8|(k[n+6|0]<<16|k[n+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);i=a>>>0>4294901759?a&65535:a;if(i-4>>>0<65534){break j}}j[g>>2]=3;break i}a=j[g+76>>2];f=0;w=b,x=xe(c,1,0,d,0,g),j[w+720>>2]=x;if(j[g>>2]){break i}l:{if(!d){break l}e=a+n|0;a=n+8|0;while(1){c=a+i|0;if(c>>>0>e>>>0){break l}h[j[b+720>>2]+f|0]=k[a|0];a=c;f=f+1|0;if((d|0)!=(f|0)){continue}break}f=d}j[b+712>>2]=f;a=j[g+76>>2];j[b+716>>2]=i;j[b+708>>2]=a;break h}jf(o,e);j[b+708>>2]=0}f=j[g>>2];if(f){break a}}f=0;m:{if(!(h[b+8|0]&1)){break m}n:{if(!j[j[b+128>>2]+48>>2]){f=qe[j[b+508>>2]](b,1735162214,o,b+668|0)|0;o:{if((f&255)==142){j[b+668>>2]=0;break o}if(f){break n}}f=144;if(qe[j[b+508>>2]](b,1819239265,o,g)|0){break n}a=b;c=j[g>>2];e=c;p:{if(l[b+210>>1]){f=8;if(c>>>0>262143){break n}d=2;break p}f=8;if(c>>>0>131071){break n}d=1}e=e>>>d|0;j[a+696>>2]=e;a=j[b+16>>2];q:{if(a>>>0>>0){break q}i=e;e=a+1|0;if((i|0)==(e|0)){break q}a=j[b+156>>2];c=l[b+152>>1];n=a+(c<<4)|0;f=2147483647;i=j[o+8>>2];if(c){while(1){c=j[a+8>>2]-i|0;f=(c|0)>0?(c|0)<(f|0)?c:f:f;a=a+16|0;if(n>>>0>a>>>0){continue}break}}if((a|0)==(n|0)){f=j[o+4>>2]-i|0}c=e<>>0>>0){c=j[g>>2];break q}j[b+696>>2]=j[b+16>>2]+1;j[g>>2]=c}f=_f(o,c,b+700|0);if(f){break n}}f=sq(b,o);if(f){break n}r:{if(qe[j[b+508>>2]](b,1718642541,o,g)|0){j[b+628>>2]=0;j[b+632>>2]=0;break r}a=j[g>>2];j[b+628>>2]=a;f=_f(o,a,b+632|0);if(f){break n}}if(qe[j[b+508>>2]](b,1886545264,o,g)|0){j[b+636>>2]=0;j[b+640>>2]=0;f=0;break n}a=j[g>>2];j[b+636>>2]=a;f=_f(o,a,b+640|0)}if(j[j[b+128>>2]+48>>2]|!j[b+28>>2]|(!j[b+700>>2]|!j[b+696>>2])){break m}e=0;d=1;i=0;c=0;s:{t:while(1){a=c;while(1){_l(b,a,g+76|0);if(j[g+76>>2]){if(!(d&1)){break m}e=1;d=0;i=a;c=a+1|0;if(c>>>0>2]){continue t}break s}a=a+1|0;if(a>>>0>2]){continue}break}break}a=i;if(!(e&1)){break m}}if(a){if(lO(b,a,g)|k[g|0]!=46|((k[g|0]|k[g+1|0]<<8|(k[g+2|0]<<16|k[g+3|0]<<24))!=1953459758|(k[g+4|0]|k[g+5|0]<<8|(k[g+6|0]<<16|k[g+7|0]<<24))!=6710628)){break m}}j[b+8>>2]=j[b+8>>2]&-2}j[b+528>>2]=903;j[b+524>>2]=904;j[b+520>>2]=905;j[b+512>>2]=906;j[b+516>>2]=907}oe=g+80|0;return f|0}function xz(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;a:{b:{switch(c-1|0){case 0:q=j[b+12>>2];if(!q){break a}m=g^255;g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];s=b&3;c=(b+3|0)/4|0;h=j[58746];n=j[58747];o=g-b<<1;c:while(1){b=c;d:{e:{switch(s-1|0){default:g=0;break d;case 0:g=3;break d;case 1:g=2;break d;case 2:break e}}g=1}while(1){f:{switch(g|0){case 0:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(g>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=1;continue;case 1:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(g>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=2;continue;case 2:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(g>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=3;continue;default:break f}}g=q-1|0;r=l[a>>1];i[a>>1]=((p(m,k[h+(r>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(r>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(r&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g:{if((b|0)>1){b=b-1|0;break g}a=a+o|0;q=g;if(g){continue c}break a}g=0;continue}};default:c=j[b+12>>2];if(!c){break a}e=e<<3&2016|d<<8&63488|f>>>3;f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(f,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;d=j[b+8>>2];g=d&3;b=(d+3|0)/4|0;q=f-d<<1;h:while(1){f=b;i:{j:{switch(g-1|0){default:d=0;break i;case 0:d=3;break i;case 1:d=2;break i;case 2:break j}}d=1}while(1){k:{switch(d|0){case 0:i[a>>1]=e;a=a+2|0;d=1;continue;case 1:i[a>>1]=e;a=a+2|0;d=2;continue;case 2:i[a>>1]=e;a=a+2|0;d=3;continue;default:break k}}d=c-1|0;i[a>>1]=e;a=a+2|0;l:{if((f|0)>1){f=f-1|0;break l}a=a+q|0;c=d;if(d){continue h}break a}d=0;continue}};case 3:g=j[b+12>>2];if(!g){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];r=b&3;q=(b+3|0)/4|0;n=j[58746];m=j[58747];s=c-b<<1;m:while(1){c=q;n:{o:{switch(r-1|0){default:b=0;break n;case 0:b=3;break n;case 1:b=2;break n;case 2:break o}}b=1}while(1){p:{switch(b|0){case 0:b=l[a>>1];i[a>>1]=(p(k[n+(b>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(b>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];i[a>>1]=(p(k[n+(b>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(b>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];i[a>>1]=(p(k[n+(b>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(b>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=3;continue;default:break p}}b=g-1|0;h=l[a>>1];i[a>>1]=(p(k[n+(h>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(h>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(h&31)|0],f)>>>0)/255>>>3;a=a+2|0;q:{if((c|0)>1){c=c-1|0;break q}a=a+s|0;g=b;if(b){continue m}break a}b=0;continue}};case 1:break b}}q=j[b+12>>2];if(!q){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];r=b&3;g=(b+3|0)/4|0;n=j[58746];m=j[58747];s=c-b<<1;r:while(1){c=g;s:{t:{switch(r-1|0){default:b=0;break s;case 0:b=3;break s;case 1:b=2;break s;case 2:break t}}b=1}while(1){u:{switch(b|0){case 0:b=l[a>>1];h=k[n+(b>>>5&63)|0]+e|0;o=(h>>>0<255?h:255)<<3&4064;h=k[m+(b>>>11|0)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=o|(h>>>0<255?h:255)<<8&63488|(b>>>0<255?b:255)>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];h=k[n+(b>>>5&63)|0]+e|0;o=(h>>>0<255?h:255)<<3&4064;h=k[m+(b>>>11|0)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=o|(h>>>0<255?h:255)<<8&63488|(b>>>0<255?b:255)>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];h=k[n+(b>>>5&63)|0]+e|0;o=(h>>>0<255?h:255)<<3&4064;h=k[m+(b>>>11|0)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=o|(h>>>0<255?h:255)<<8&63488|(b>>>0<255?b:255)>>>3;a=a+2|0;b=3;continue;default:break u}}b=q-1|0;h=l[a>>1];o=k[n+(h>>>5&63)|0]+e|0;t=(o>>>0<255?o:255)<<3&4064;o=k[m+(h>>>11|0)|0]+d|0;h=k[m+(h&31)|0]+f|0;i[a>>1]=t|(o>>>0<255?o:255)<<8&63488|(h>>>0<255?h:255)>>>3;a=a+2|0;v:{if((c|0)>1){c=c-1|0;break v}a=a+s|0;q=b;if(b){continue r}break a}b=0;continue}}}return 0}function yz(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,m=0,n=0,o=0,q=0,r=0,s=0;a:{b:{switch(c-1|0){case 0:c=j[b+12>>2];if(!c){break a}m=g^255;g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];r=b&3;o=(b+3|0)/4|0;h=j[58747];n=g-b<<1;c:while(1){b=o;d:{e:{switch(r-1|0){default:g=0;break d;case 0:g=3;break d;case 1:g=2;break d;case 2:break e}}g=1}while(1){f:{switch(g|0){case 0:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(g>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=1;continue;case 1:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(g>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=2;continue;case 2:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(g>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=3;continue;default:break f}}g=c-1|0;q=l[a>>1];i[a>>1]=((p(m,k[h+(q>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(q>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(q&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g:{if((b|0)>1){b=b-1|0;break g}a=a+n|0;c=g;if(g){continue c}break a}g=0;continue}};default:c=j[b+12>>2];if(!c){break a}e=e<<2&992|d<<7&31744|f>>>3;f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(f,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;d=j[b+8>>2];g=d&3;b=(d+3|0)/4|0;o=f-d<<1;h:while(1){f=b;i:{j:{switch(g-1|0){default:d=0;break i;case 0:d=3;break i;case 1:d=2;break i;case 2:break j}}d=1}while(1){k:{switch(d|0){case 0:i[a>>1]=e;a=a+2|0;d=1;continue;case 1:i[a>>1]=e;a=a+2|0;d=2;continue;case 2:i[a>>1]=e;a=a+2|0;d=3;continue;default:break k}}d=c-1|0;i[a>>1]=e;a=a+2|0;l:{if((f|0)>1){f=f-1|0;break l}a=a+o|0;c=d;if(d){continue h}break a}d=0;continue}};case 3:c=j[b+12>>2];if(!c){break a}g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];q=b&3;o=(b+3|0)/4|0;m=j[58747];r=g-b<<1;m:while(1){g=o;n:{o:{switch(q-1|0){default:b=0;break n;case 0:b=3;break n;case 1:b=2;break n;case 2:break o}}b=1}while(1){p:{switch(b|0){case 0:b=l[a>>1];i[a>>1]=(p(k[m+(b>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(b>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];i[a>>1]=(p(k[m+(b>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(b>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];i[a>>1]=(p(k[m+(b>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(b>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=3;continue;default:break p}}b=c-1|0;h=l[a>>1];i[a>>1]=(p(k[m+(h>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(h>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(h&31)|0],f)>>>0)/255>>>3;a=a+2|0;q:{if((g|0)>1){g=g-1|0;break q}a=a+r|0;c=b;if(b){continue m}break a}b=0;continue}};case 1:break b}}c=j[b+12>>2];if(!c){break a}g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];q=b&3;o=(b+3|0)/4|0;m=j[58747];r=g-b<<1;r:while(1){g=o;s:{t:{switch(q-1|0){default:b=0;break s;case 0:b=3;break s;case 1:b=2;break s;case 2:break t}}b=1}while(1){u:{switch(b|0){case 0:b=l[a>>1];h=k[m+(b>>>5&31)|0]+e|0;n=(h>>>0<255?h:255)<<2&2016;h=k[m+(b>>>10&31)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=n|(h>>>0<255?h:255)<<7&64512|(b>>>0<255?b:255)>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];h=k[m+(b>>>5&31)|0]+e|0;n=(h>>>0<255?h:255)<<2&2016;h=k[m+(b>>>10&31)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=n|(h>>>0<255?h:255)<<7&64512|(b>>>0<255?b:255)>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];h=k[m+(b>>>5&31)|0]+e|0;n=(h>>>0<255?h:255)<<2&2016;h=k[m+(b>>>10&31)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=n|(h>>>0<255?h:255)<<7&64512|(b>>>0<255?b:255)>>>3;a=a+2|0;b=3;continue;default:break u}}b=c-1|0;h=l[a>>1];n=k[m+(h>>>5&31)|0]+e|0;s=(n>>>0<255?n:255)<<2&2016;n=k[m+(h>>>10&31)|0]+d|0;h=k[m+(h&31)|0]+f|0;i[a>>1]=s|(n>>>0<255?n:255)<<7&64512|(h>>>0<255?h:255)>>>3;a=a+2|0;v:{if((g|0)>1){g=g-1|0;break v}a=a+r|0;c=b;if(b){continue r}break a}b=0;continue}}}return 0}function up(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,q=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;h=oe-560|0;oe=h;g=c;c=(c-3|0)/24|0;x=(c|0)>0?c:0;m=g+p(x,-24)|0;q=j[(e<<2)+223792>>2];k=d-1|0;if((q+k|0)>=0){g=d+q|0;c=x-k|0;while(1){o[(h+320|0)+(i<<3)>>3]=(c|0)<0?0:+j[(c<<2)+223808>>2];c=c+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}t=m-24|0;g=0;i=(q|0)>0?q:0;n=(d|0)<1;while(1){a:{if(n){f=0;break a}l=g+k|0;c=0;f=0;while(1){f=f+o[(c<<3)+a>>3]*o[(h+320|0)+(l-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}o[(g<<3)+h>>3]=f;c=(g|0)==(i|0);g=g+1|0;if(!c){continue}break}C=47-m|0;y=48-m|0;D=m-25|0;g=q;b:{while(1){f=o[(g<<3)+h>>3];c=0;i=g;l=(g|0)<1;if(!l){while(1){n=(h+480|0)+(c<<2)|0;s=f;f=f*5.960464477539063e-8;c:{if(r(f)<2147483648){k=~~f;break c}k=-2147483648}f=+(k|0);s=s+f*-16777216;d:{if(r(s)<2147483648){k=~~s;break d}k=-2147483648}j[n>>2]=k;i=i-1|0;f=o[(i<<3)+h>>3]+f;c=c+1|0;if((g|0)!=(c|0)){continue}break}}f=Kg(f,t);f=f+v(f*.125)*-8;e:{if(r(f)<2147483648){n=~~f;break e}n=-2147483648}f=f- +(n|0);f:{g:{h:{z=(t|0)<1;i:{if(!z){i=(g<<2)+h|0;k=j[i+476>>2];c=k>>y;w=i;i=k-(c<>2]=i;n=c+n|0;k=i>>C;break i}if(t){break h}k=j[((g<<2)+h|0)+476>>2]>>23}if((k|0)<1){break f}break g}k=2;if(!(f>=.5^1)){break g}k=0;break f}c=0;i=0;if(!l){while(1){w=(h+480|0)+(c<<2)|0;A=j[w>>2];l=16777215;j:{k:{if(i){break k}l=16777216;if(A){break k}i=0;break j}j[w>>2]=l-A;i=1}c=c+1|0;if((g|0)!=(c|0)){continue}break}}l:{if(z){break l}m:{switch(D|0){case 0:c=(g<<2)+h|0;j[c+476>>2]=j[c+476>>2]&8388607;break l;case 1:break m;default:break l}}c=(g<<2)+h|0;j[c+476>>2]=j[c+476>>2]&4194303}n=n+1|0;if((k|0)!=2){break f}f=1-f;k=2;if(!i){break f}f=f-Kg(1,t)}if(f==0){i=0;n:{c=g;if((q|0)>=(c|0)){break n}while(1){c=c-1|0;i=j[(h+480|0)+(c<<2)>>2]|i;if((c|0)>(q|0)){continue}break}if(!i){break n}m=t;while(1){m=m-24|0;g=g-1|0;if(!j[(h+480|0)+(g<<2)>>2]){continue}break}break b}c=1;while(1){i=c;c=c+1|0;if(!j[(h+480|0)+(q-i<<2)>>2]){continue}break}i=g+i|0;while(1){k=d+g|0;g=g+1|0;o[(h+320|0)+(k<<3)>>3]=j[(x+g<<2)+223808>>2];c=0;f=0;if((d|0)>=1){while(1){f=f+o[(c<<3)+a>>3]*o[(h+320|0)+(k-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}o[(g<<3)+h>>3]=f;if((g|0)<(i|0)){continue}break}g=i;continue}break}f=Kg(f,24-m|0);o:{if(!(f>=16777216^1)){d=(h+480|0)+(g<<2)|0;s=f;f=f*5.960464477539063e-8;p:{if(r(f)<2147483648){c=~~f;break p}c=-2147483648}f=s+ +(c|0)*-16777216;q:{if(r(f)<2147483648){a=~~f;break q}a=-2147483648}j[d>>2]=a;g=g+1|0;break o}if(r(f)<2147483648){c=~~f}else{c=-2147483648}m=t}j[(h+480|0)+(g<<2)>>2]=c}f=Kg(1,m);r:{if((g|0)<=-1){break r}c=g;while(1){o[(c<<3)+h>>3]=f*+j[(h+480|0)+(c<<2)>>2];f=f*5.960464477539063e-8;a=(c|0)>0;c=c-1|0;if(a){continue}break}l=0;if((g|0)<0){break r}a=(q|0)>0?q:0;i=g;while(1){d=a>>>0>>0?a:l;m=g-i|0;c=0;f=0;while(1){f=f+o[(c<<3)+226576>>3]*o[(c+i<<3)+h>>3];t=(c|0)!=(d|0);c=c+1|0;if(t){continue}break}o[(h+160|0)+(m<<3)>>3]=f;i=i-1|0;c=(g|0)!=(l|0);l=l+1|0;if(c){continue}break}}s:{t:{u:{switch(e|0){case 3:v:{if((g|0)<1){break v}f=o[(h+160|0)+(g<<3)>>3];c=g;while(1){s=f;a=c-1|0;d=(h+160|0)+(a<<3)|0;B=o[d>>3];f=B+f;o[(h+160|0)+(c<<3)>>3]=s+(B-f);o[d>>3]=f;d=(c|0)>1;c=a;if(d){continue}break}if((g|0)<2){break v}f=o[(h+160|0)+(g<<3)>>3];c=g;while(1){s=f;a=c-1|0;d=(h+160|0)+(a<<3)|0;u=o[d>>3];f=u+f;o[(h+160|0)+(c<<3)>>3]=s+(u-f);o[d>>3]=f;d=(c|0)>2;c=a;if(d){continue}break}u=0;if((g|0)<=1){break v}while(1){u=u+o[(h+160|0)+(g<<3)>>3];a=(g|0)>2;g=g-1|0;if(a){continue}break}}f=o[h+160>>3];if(k){break t}o[b>>3]=f;f=o[h+168>>3];o[b+16>>3]=u;o[b+8>>3]=f;break s;case 0:f=0;if((g|0)>=0){while(1){f=f+o[(h+160|0)+(g<<3)>>3];a=(g|0)>0;g=g-1|0;if(a){continue}break}}o[b>>3]=k?-f:f;break s;case 1:case 2:break u;default:break s}}f=0;if((g|0)>=0){c=g;while(1){f=f+o[(h+160|0)+(c<<3)>>3];a=(c|0)>0;c=c-1|0;if(a){continue}break}}o[b>>3]=k?-f:f;f=o[h+160>>3]-f;c=1;if((g|0)>=1){while(1){f=f+o[(h+160|0)+(c<<3)>>3];a=(c|0)!=(g|0);c=c+1|0;if(a){continue}break}}o[b+8>>3]=k?-f:f;break s}o[b>>3]=-f;f=o[h+168>>3];o[b+16>>3]=-u;o[b+8>>3]=-f}oe=h+560|0;return n&7}function FB(a){var b=0,c=q(0),d=0,e=0,f=q(0),g=q(0),h=q(0),m=q(0),o=0,s=0,t=0,u=0,v=q(0),w=0,x=0,z=0,A=0,B=q(0),C=q(0),D=0,E=0,F=q(0),G=0;d=oe-576|0;oe=d;b=j[a>>2];a:{if(b-1792>>>0>2){break a}e=j[66369];if((e|0)<1){break a}E=j[a+8>>2];o=j[a+12>>2];w=j[66370];while(1){u=p(t,8232)+w|0;if(j[u>>2]!=(E|0)|j[u+4>>2]!=(o|0)){t=t+1|0;if((e|0)!=(t|0)){continue}break a}break}B=n[a+28>>2];C=n[a+24>>2];b:{switch(b-1792|0){case 1:b=p(t,8232)+w|0;i[b+8216>>1]=l[b+8216>>1]-1;E=b+8216|0;c:{if(j[b+8228>>2]){j[b+8228>>2]=0;qo(b+16|0,d- -64|0);d:{e:{if(k[265472]){f:{g:{h:{a=j[66369];if(a){if((a|0)<=0){break d}break h}b=ve(27548,0);break g}while(1){a=j[66370]+p(s,8232)|0;e=j[a+8220>>2];b=p(e,516);o=mf(j[a+8224>>2],b+516|0);i:{if(!o){e=Be(0);break i}x=a+8220|0;j[a+8224>>2]=o;o=b+o|0;Ge(o,d- -64|0,512);a=5381;b=0;while(1){D=o+(b<<3)|0;c=n[D>>2];j:{if(c=q(0)){z=~~c>>>0;break j}z=0}z=p(z+p(a,33)|0,33);c=n[D+4>>2];k:{if(c=q(0)){a=~~c>>>0;break k}a=0}a=a+z|0;b=b+1|0;if((b|0)!=64){continue}break}j[o+512>>2]=a;j[x>>2]=j[x>>2]+1}b=-1;if((e|0)<=-1){break g}a=j[66369];s=s+1|0;if((a|0)>(s|0)){continue}break}break f}a=j[66369];e=b}if((a|0)<1){break e}s=j[66370];b=0;while(1){j[(s+p(b,8232)|0)+8228>>2]=0;b=b+1|0;if((b|0)!=(a|0)){continue}break}break e}a=p(t,8232)+w|0;e=j[a+8220>>2];b=p(e,516);s=mf(j[a+8224>>2],b+516|0);if(!s){e=Be(0);break e}o=a+8220|0;j[a+8224>>2]=s;z=b+s|0;Ge(z,d- -64|0,512);a=5381;b=0;while(1){D=z+(b<<3)|0;c=n[D>>2];l:{if(c=q(0)){x=~~c>>>0;break l}x=0}x=p(x+p(a,33)|0,33);c=n[D+4>>2];m:{if(c=q(0)){a=~~c>>>0;break m}a=0}a=a+x|0;b=b+1|0;if((b|0)!=64){continue}break}j[(s+p(e,516)|0)+512>>2]=a;j[o>>2]=j[o>>2]+1}if((e|0)<0){break d}a=j[(j[(p(t,8232)+w|0)+8224>>2]+p(e,516)|0)+512>>2];j[d+8>>2]=2049;b=j[u>>2];e=j[u+4>>2];j[d+24>>2]=a;j[d+28>>2]=0;j[d+16>>2]=b;j[d+20>>2]=e;gf(d+8|0);break c}j[d+8>>2]=2049;a=j[u>>2];b=j[u+4>>2];j[d+24>>2]=-1;j[d+28>>2]=-1;j[d+16>>2]=a;j[d+20>>2]=b;gf(d+8|0);break c}a=0;Oe(d- -64|0,0,512);qo(b+16|0,d- -64|0);if(j[b+8220>>2]<=0){break c}o=b+8220|0;s=(p(t,8232)+w|0)+8224|0;F=q(1e4);b=-1;while(1){g=q(.185407355427742);h=q(-.185407355427742);e=j[s>>2]+p(a,516)|0;m=Mj(d- -64|0,e,q(-.185407355427742));c=Mj(d- -64|0,e,q(.185407355427742));A=.7853981633974483;G=-.7853981633974483;while(1){n:{if(!(c>m^1)){A=+g;v=q(A*.38196601100000005+G*.618033989);f=Mj(d- -64|0,e,v);g=h;c=m;break n}v=g;f=c;G=+h;c=q(G*.38196601100000005+A*.618033989);g=c;c=Mj(d- -64|0,e,c)}m=f;h=v;if(r(G-A)>.03490658503988659){continue}break}c=c>f?f:c;e=c>2]){continue}break}if((b|0)<0){break c}a=j[(j[s>>2]+p(b,516)|0)+512>>2];j[d+64>>2]=2048;b=j[u+4>>2];j[d+72>>2]=j[u>>2];j[d+76>>2]=b;b=p(t,8232)+w|0;n[d+96>>2]=n[b+8>>2];c=n[b+12>>2];n[d+92>>2]=F;j[d+80>>2]=a;j[d+84>>2]=0;n[d+100>>2]=c;j[d+88>>2]=l[E>>1]+1;gf(d- -64|0)}b=l[E>>1];if(!b){break a}a=p(t,8232)+w|0;c=q(b+1|0);g=q(b>>>0);n[a+8>>2]=q(q(n[a+8>>2]*c)-C)/g;n[a+12>>2]=q(q(n[a+12>>2]*c)-B)/g;break a;case 2:c=n[a+36>>2];g=n[a+32>>2];a=p(t,8232)+w|0;e=a;b=j[a+20>>2];if((b|0)<=1023){b=(a+16|0)+(b<<3)|0;f=n[a+8>>2];n[b+8>>2]=f;h=n[a+12>>2];n[b+12>>2]=h;f=q(f-n[b>>2]);m=q(f*f);f=q(h-n[b+4>>2]);n[a+16>>2]=n[a+16>>2]+q(y(+q(m+q(f*f))));j[e+20>>2]=j[e+20>>2]+1}h=n[a+12>>2];b=l[a+8216>>1];f=q(b>>>0);n[a+12>>2]=h+q(c/f);m=n[a+8>>2];n[a+8>>2]=m+q(g/f);if(b>>>0<2){break a}f=q(q(C-g)-m);h=q(q(B-c)-h);c=q(y(+q(q(f*f)+q(h*h))));m=q(C-n[a+8>>2]);v=q(B-n[a+12>>2]);g=q(y(+q(q(m*m)+q(v*v))));f=q(f/c);v=q(v/g);h=q(h/c);m=q(m/g);A=Hn(+q(q(f*v)-q(h*m)),+q(q(f*m)+q(h*v)));j[d+64>>2]=2050;b=j[u+4>>2];j[d+72>>2]=j[u>>2];j[d+76>>2]=b;n[d+88>>2]=n[a+8>>2];f=n[a+12>>2];b=c==q(0);n[d+84>>2]=b?q(0):q(g-c);n[d+80>>2]=b?q(0):q(A);n[d+92>>2]=f;i[d+96>>1]=l[a+8216>>1];gf(d- -64|0);break a;case 0:break b;default:break a}}a=p(t,8232)+w|0;j[a+16>>2]=0;j[a+20>>2]=1;n[a+28>>2]=B;n[a+24>>2]=C;b=l[a+8216>>1]+1|0;i[a+8216>>1]=b;b=b&65535;c=q(b-1|0);g=q(b>>>0);n[a+8>>2]=q(C+q(n[a+8>>2]*c))/g;n[a+12>>2]=q(B+q(n[a+12>>2]*c))/g}oe=d+576|0}function Gm(a,b,c,d){var e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=oe-192|0;oe=e;j[e+4>>2]=0;j[e>>2]=0;l=6;a:{if(!b|!d&(c|0)>-1){break a}q=k[b|0]&2?j[b+16>>2]!=0:q;l=jj(a,b,e+4|0);j[e+8>>2]=l;b:{c:{d:{e:{f:{g:{h:{i:{j:{if(l){break j}t=j[a>>2];k:{n=j[b>>2];if(!(n&8)){break k}o=j[b+20>>2];if(!o){break k}l:{if(h[j[o>>2]]&1){a=e;g=a;l=o;r=a+4|0;a=q;p=c;if(n&16){f=j[b+28>>2];b=j[b+24>>2]}else{b=0}a=as(l,r,a,p,b,f,e);j[g+8>>2]=a;if(a){break l}break d}j[e+8>>2]=32}a=j[e+4>>2];if(!a){break c}b=j[a+28>>2];m:{if(!a){break m}c=j[a+24>>2];if(!c){break m}qe[c|0](a)}if(q){break c}if(a){qe[j[b+8>>2]](b,a)}break c}l=11;j[e+8>>2]=11;o=j[a+16>>2];if((o|0)<1){o=0;f=j[e+4>>2];break e}r=((o<<2)+a|0)+20|0;f=a+20|0;while(1){o=j[f>>2];if(h[j[o>>2]]&1){l=0;g=0;if(k[b|0]&16){l=j[b+24>>2];g=j[b+28>>2]}l=as(o,e+4|0,q,c,l,g,e);j[e+8>>2]=l;if(!l){break d}g=l&255;if(!(we(j[j[j[f>>2]>>2]+8>>2],74747)|(g|0)!=142)){g=j[e+4>>2];if(Fe(g,0)){break j}l=$r(a,g,c,d);j[e+8>>2]=l;if(!l){break i}g=l&255}if((g|0)!=2){break j}g=o}f=f+4|0;if(r>>>0>f>>>0){continue}break}o=g}g=l&255;switch(g-81|0){case 0:case 4:break f;case 1:case 2:case 3:break g;default:break h}}l=0;if(!g){break a}a=j[g+28>>2];n:{if(!g){break n}b=j[g+24>>2];if(!b){break n}qe[b|0](g)}if(q){break a}if(g){qe[j[a+8>>2]](a,g)}break a}if((g|0)==2){break f}}f=j[e+4>>2];break e}o:{p:{f=j[e+4>>2];l=tO(a,f,c,d);if((l&255)==2){l=Fm(a,f,0,c,d)}g=l&255;q:{if(!(((g|0)!=2?(g|0)!=85:0)|!(k[b|0]&4))){m=j[a>>2];g=0;j[e+12>>2]=0;ZN(a,f,j[b+12>>2],e+144|0,e+96|0,e+48|0);p=2;l=0;while(1){r:{r=l;l=l>>>0<=8?j[(l<<3)+74804>>2]-3>>>0<2:0;s:{if(l?g&255:0){break s}s=r<<2;if(j[s+(e+48|0)>>2]){break s}j[e+16>>2]=4;p=e;n=j[s+(e+144|0)>>2];if(!n){n=j[b+12>>2]}j[p+28>>2]=n;p=jj(a,e+16|0,e+12|0);g=(p&255)==81?l?1:g:g;if(p){break s}n=j[e+12>>2];p=Fm(a,n,j[s+(e+96|0)>>2],c,d);if(n){s=j[n+28>>2];t:{if(!n){break t}u=j[n+24>>2];if(!u){break t}qe[u|0](n)}if(n){qe[j[s+8>>2]](s,n)}}if(!p){p=0;break r}g=l?1:g}l=r+1|0;if((l|0)!=9){continue}}break}a=j[e+144>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+144>>2]=0}a=j[e+148>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+148>>2]=0}a=j[e+152>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+152>>2]=0}a=j[e+156>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+156>>2]=0}a=j[e+160>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+160>>2]=0}a=j[e+164>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+164>>2]=0}a=j[e+168>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+168>>2]=0}a=j[e+172>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+172>>2]=0}a=j[e+176>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}}if(p){break o}j[e+8>>2]=0;break q}j[e+8>>2]=l;if(l){break p}}if(!f){break b}a=j[f+28>>2];u:{if(!f){break u}b=j[f+24>>2];if(!b){break u}qe[b|0](f)}if(q){break b}if(f){qe[j[a+8>>2]](a,f)}break b}if((l&255)!=2){break e}}j[e+8>>2]=2}if(!f){break c}a=j[f+28>>2];v:{if(!f){break v}b=j[f+24>>2];if(!b){break v}qe[b|0](f)}if(q){break c}if(f){qe[j[a+8>>2]](a,f)}break c}a=He(t,12,e+8|0);w:{if(!j[e+8>>2]){f=j[e>>2];j[a+8>>2]=f;wm(j[f+96>>2]+16|0,a);if((c|0)>=0){a=ds(f,0);j[e+8>>2]=a;if(a){break w}a=_r(f,e+144|0);j[e+8>>2]=a;if(a){break w}j[f+88>>2]=j[e+144>>2]}b=j[f+8>>2];x:{if(!(b&1)){break x}a=i[f+74>>1];if((a|0)<=-1){a=0-a|0;i[f+74>>1]=a}if(b&32){break x}i[f+78>>1]=a}y:{if(!(b&2)){break y}c=j[f+28>>2];if((c|0)<1){break y}o=j[f+32>>2];a=0;while(1){b=o+(a<<4)|0;g=i[b>>1];if((g|0)<=-1){i[b>>1]=0-g}g=j[b+8>>2];if((g|0)<=-1){j[b+8>>2]=0-(g<<16)>>16}g=j[b+12>>2];if((g|0)<=-1){j[b+12>>2]=0-g}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=j[f+128>>2];j[a+56>>2]=1;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=65536;j[a>>2]=65536;j[a+4>>2]=0;if(d){j[d>>2]=f;break b}b=j[f+96>>2];if(!b){break b}j[a+56>>2]=0;a=j[b+8>>2];d=b+16|0;c=zh(d,f);if(!c){break b}Th(d,c);if(c){qe[j[a+8>>2]](a,c)}Vh(a,f,b);break b}if(!a){break c}f=j[e>>2];if(!f){break b}}a=j[f+96>>2];if(!a){break b}c=j[f+128>>2];b=j[c+56>>2];j[c+56>>2]=b-1;if((b|0)>1){break b}b=j[a+8>>2];d=a+16|0;c=zh(d,f);if(!c){break b}Th(d,c);if(c){qe[j[b+8>>2]](b,c)}Vh(b,f,a);break b}a=j[e>>2];if(!a){break b}Vh(t,a,o)}l=j[e+8>>2]}oe=e+192|0;return l}function yA(a,b){a=a|0;b=b|0;var c=0,d=0,e=q(0),f=q(0),g=0,h=0,i=q(0),l=0,m=q(0),o=0;g=oe-16|0;oe=g;a:{b:{c:{d:{e:{f:{g:{h:{d=j[b>>2];switch(d-1024|0){case 1:case 2:break f;case 0:break g;default:break h}}if(d-1792>>>0<3){break e}if((d|0)!=512){break a}d=Ek(j[b+8>>2]);if((d|0)!=j[a+188>>2]){break a}c=j[a+4>>2];if(c){qe[c|0](a,b)}i:{switch(k[b+12|0]-1|0){case 5:c=j[a+316>>2];if(c){bl(a,0)}if(j[a+196>>2]){xA(a);break b}b=j[a+8>>2];j:{if(b){qe[b|0](a,g+12|0,g+8|0)|0;break j}Wg(j[a+188>>2],g+12|0,g+8|0)}if(j[a+316>>2]){j[a+232>>2]=0;j[a+236>>2]=0;j[a+240>>2]=j[g+12>>2];j[a+244>>2]=j[g+8>>2];break b}j[a+216>>2]=0;j[a+220>>2]=0;j[a+224>>2]=j[g+12>>2];j[a+228>>2]=j[g+8>>2];d=a+216|0;if(j[a+400>>2]){if(!wf(d,a+360|0,16)){break c}}b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break d}b=Xe(1,28);if(b){break d}Be(0);break c;case 1:j[a+192>>2]=1;break a;case 0:if(Ii(d)&64){break a}j[a+192>>2]=0;break a;case 6:j[a+192>>2]=1;break a;case 7:case 8:break i;default:break a}}if(Ii(d)&8){break a}j[a+192>>2]=0;break a}if((Ek(j[b+8>>2])|0)!=j[a+188>>2]){break a}c=j[a+316>>2];if(!j[(c?204:196)+a>>2]){break a}h=j[(c?236:220)+a>>2];f=n[(c?296:288)+a>>2];i=n[(c?300:292)+a>>2];d=b;l=j[b+20>>2];e=q(n[a+304>>2]*q(j[(c?232:216)+a>>2]));k:{if(q(r(e))>2]=l;c=b;o=j[b+24>>2];e=q(n[a+308>>2]*q(h|0));l:{if(q(r(e))>2]=h;c=b;e=q(q(l|0)/q(f*n[a+304>>2]));m:{if(q(r(e))>2]=d;c=b;e=q(q(h|0)/q(i*n[a+308>>2]));n:{if(q(r(e))>2]=d;d=b;c=j[b+28>>2];o:{p:{if((c|0)>=1){f=q(q(c|0)/q(f*n[a+304>>2]));q:{if(q(r(f))1?c:1;break p}if((c|0)>-1){break o}f=q(q(c|0)/q(f*n[a+304>>2]));r:{if(q(r(f))>2]=c}d=j[b+32>>2];if((d|0)>=1){f=q(q(d|0)/q(i*n[a+308>>2]));s:{if(q(r(f))>2]=(a|0)>1?a:1;break a}if((d|0)>-1){break a}f=q(q(d|0)/q(i*n[a+308>>2]));t:{if(q(r(f))>2]=(a|0)<-1?a:-1;break a}if((Ek(j[b+8>>2])|0)!=j[a+188>>2]){break a}c=j[a+316>>2];if(!j[(c?204:196)+a>>2]){break a}h=j[(c?236:220)+a>>2];f=n[(c?300:292)+a>>2];i=n[(c?296:288)+a>>2];d=b;l=j[b+20>>2];e=q(n[a+304>>2]*q(j[(c?232:216)+a>>2]));u:{if(q(r(e))>2]=l;c=b;o=j[b+24>>2];e=q(n[a+308>>2]*q(h|0));v:{if(q(r(e))>2]=h;c=b;i=q(q(l|0)/q(i*n[a+304>>2]));w:{if(q(r(i))>2]=d;f=q(q(h|0)/q(f*n[a+308>>2]));if(q(r(f))>2]=~~f;break a}j[b+24>>2]=-2147483648;break a}d=j[a+316>>2];c=j[(d?204:196)+a>>2];if(!c){break a}h=j[(d?232:216)+a>>2];l=j[(d?236:220)+a>>2];f=n[(d?300:292)+a>>2];i=n[(d?296:288)+a>>2];d=j[(d?208:200)+a>>2];j[g+12>>2]=1;j[g+8>>2]=1;al(a,g+12|0,g+8|0);e=q(n[b+24>>2]*q(j[g+12>>2]-1|0));n[b+24>>2]=e;m=q(n[b+28>>2]*q(j[g+8>>2]-1|0));n[b+28>>2]=m;e=q(e-q(n[a+304>>2]*q(h|0)));n[b+24>>2]=e;m=q(m-q(n[a+308>>2]*q(l|0)));n[b+28>>2]=m;i=q(e/q(i*n[a+304>>2]));n[b+24>>2]=i;e=n[a+308>>2];n[b+24>>2]=(c|0)>=2?q(i/q(c-1|0)):q(.5);n[b+28>>2]=(d|0)>=2?q(q(m/q(f*e))/q(d-1|0)):q(.5);break a}h=j[a+344>>2];j[(h?h+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){break c}j[b>>2]=1;j[b+4>>2]=0;Ge(b+8|0,d,16);if((qe[j[a+20>>2]](a,b)|0)<=-1){j[b>>2]=0;break c}Ge(a+360|0,d,16);j[a+400>>2]=1}if(j[a+336>>2]){break b}b=j[a+340>>2];if(!b){break b}qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;b=a+420|0;while(1){d=b;b=j[b+8>>2];if(b){continue}break}j[d+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}if(!c){break a}bl(a,c)}oe=g+16|0;return 0}function dJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0;m=oe-16|0;oe=m;i=j[a+16>>2];e=k[i+6|0]|k[i+7|0]<<8|(k[i+8|0]<<16|k[i+9|0]<<24);d=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a:{if(!d){e=0;break a}o=i+13|0;b:{while(1){e=d+g>>>1|0;l=o+p(e,11)|0;h=l-3|0;h=k[h+1|0]<<8|k[h|0]<<16|k[h+2|0];c:{if(h>>>0>c>>>0){d=e;break c}if(c>>>0<=h>>>0){break b}g=e+1|0}if(d>>>0>g>>>0){continue}break}e=0;break a}c=k[l+4|0]|k[l+5|0]<<8|(k[l+6|0]<<16|k[l+7|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=k[l|0]|k[l+1|0]<<8|(k[l+2|0]<<16|k[l+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(d|e)){e=0;break a}d:{if(!e){e=j[a+28>>2];d=d+i|0;c=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);j[m+12>>2]=0;h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=h+1|0;e:{if(c>>>0<=e>>>0){e=j[a+32>>2];break e}j[a+36>>2]=b;e=xe(b,4,e,c,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=c}if(h){f=d+4|0;d=0;while(1){j[(d<<2)+e>>2]=k[f+2|0]|(k[f+1|0]<<8|k[f|0]<<16);f=f+5|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}j[(h<<2)+e>>2]=0;break a}if(!d){g=e+i|0;c=k[g|0]|k[g+1|0]<<8|(k[g+2|0]<<16|k[g+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=1;f:{if(!c){break f}f=g+7|0;d=0;e=c;while(1){d=(k[f|0]+d|0)+1|0;f=f+4|0;e=e-1|0;if(e){continue}break}d=d+1|0}e=j[a+28>>2];j[m+12>>2]=0;g:{if(d>>>0<=e>>>0){e=j[a+32>>2];break g}j[a+36>>2]=b;e=xe(b,4,e,d,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=d}d=e;if(c){while(1){f=k[g+6|0]|(k[g+5|0]<<8|k[g+4|0]<<16);a=g+4|0;g=k[g+7|0]+1|0;while(1){j[d>>2]=f;d=d+4|0;f=f+1|0;g=g-1|0;if(g){continue}break}g=a;c=c-1|0;if(c){continue}break}}j[d>>2]=0;break a}d=d+i|0;c=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d+4|0;h:{i:{j:{k:{l:{c=e+i|0;e=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);h=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(h){f=c+7|0;g=0;e=h;while(1){g=(k[f|0]+g|0)+1|0;f=f+4|0;e=e-1|0;if(e){continue}break}if(n){break j}if(h){break l}d=1;break k}if(n){break i}d=1;break k}f=c+7|0;d=0;g=h;while(1){d=(k[f|0]+d|0)+1|0;f=f+4|0;g=g-1|0;if(g){continue}break}d=d+1|0}e=j[a+28>>2];j[m+12>>2]=0;m:{if(d>>>0<=e>>>0){e=j[a+32>>2];break m}j[a+36>>2]=b;e=xe(b,4,e,d,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=d}d=e;if(h){while(1){f=k[c+6|0]|(k[c+5|0]<<8|k[c+4|0]<<16);a=c+4|0;g=k[c+7|0]+1|0;while(1){j[d>>2]=f;d=d+4|0;f=f+1|0;g=g-1|0;if(g){continue}break}c=a;h=h-1|0;if(h){continue}break}}j[d>>2]=0;break a}if(g){break h}}e=j[a+28>>2];j[m+12>>2]=0;c=n+1|0;n:{if(c>>>0<=e>>>0){e=j[a+32>>2];break n}j[a+36>>2]=b;e=xe(b,4,e,c,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=c}f=0;while(1){j[(f<<2)+e>>2]=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);d=d+5|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}j[(n<<2)+e>>2]=0;break a}e=j[a+28>>2];j[m+12>>2]=0;g=(g+n|0)+1|0;o:{if(g>>>0<=e>>>0){e=j[a+32>>2];break o}j[a+36>>2]=b;e=xe(b,4,e,g,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=g}o=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);a=c+4|0;g=k[a+1|0]<<8|k[a|0]<<16|k[a+2|0];b=d+5|0;i=a+4|0;c=k[a+3|0];f=0;a=1;l=1;while(1){p:{d=0;if(c+g>>>0>>0){while(1){j[(f<<2)+e>>2]=d+g;f=f+1|0;d=d+1|0;if(d>>>0<=c>>>0){continue}break}a=a+1|0;if(h>>>0>>0){break p}g=k[i+2|0]|(k[i+1|0]<<8|k[i|0]<<16);c=k[i+3|0];i=i+4|0;continue}if(g>>>0>o>>>0){j[(f<<2)+e>>2]=o;f=f+1|0}l=l+1|0;if(n>>>0>>0){break p}o=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16);b=b+5|0;continue}break}q:{if(l>>>0<=n>>>0){j[(f<<2)+e>>2]=o;f=f+1|0;if(l>>>0>=n>>>0){break q}while(1){j[(f<<2)+e>>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16);f=f+1|0;b=b+5|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}break q}if(a>>>0>h>>>0){break q}d=0;while(1){j[(f<<2)+e>>2]=d+g;f=f+1|0;d=d+1|0;if(d>>>0<=c>>>0){continue}break}if(a>>>0>=h>>>0){break q}while(1){g=k[i+2|0]|(k[i|0]<<16|k[i+1|0]<<8);c=k[i+3|0];d=0;while(1){j[(f<<2)+e>>2]=d+g;f=f+1|0;b=(c|0)!=(d|0);d=d+1|0;if(b){continue}break}i=i+4|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}j[(f<<2)+e>>2]=0;break a}e=0}oe=m+16|0;return e|0}function fB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,w=0,x=0,y=0;p=oe-32|0;oe=p;n=j[b>>2];c=1;a:{if(n>>>0>1e5){break a}f=j[b+4>>2];c=1;if((f|0)<0){break a}c=1;if((f|0)>(1e5-n|0)){break a}i=j[b+8>>2];c=1;if(i>>>0>1e5){break a}e=j[b+12>>2];c=1;if((e|0)<0){break a}c=1;if((e|0)>(1e5-i|0)){break a}o=j[b+16>>2];c=1;if(o>>>0>1e5){break a}l=j[b+20>>2];c=1;if((l|0)<0){break a}c=1;if((l|0)>(1e5-o|0)){break a}m=j[b+24>>2];c=1;if(m>>>0>1e5){break a}g=j[b+28>>2];c=1;if((g|0)<0){break a}c=1;if((g|0)>(1e5-m|0)){break a}q=f-l|0;i=i-o|0;f=0;b:{if(!i){break b}f=0;if(!q){break b}d=v(+(i|0)*+(q|0)/7+.5);c=2;if(d<=2147483647^1|d>=-2147483648^1){break a}f=~~d;if(r(d)<2147483648){break b}f=-2147483648}s=n-o|0;t=e-l|0;c:{if(!s|!t){break c}d=v(+(s|0)*+(t|0)/7+.5);c=2;if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){k=~~d;break c}k=-2147483648}u=g-l|0;e=0;d:{if(!i){break d}e=0;if(!u){break d}d=v(+(i|0)*+(u|0)/7+.5);c=2;if(d<=2147483647^1|d>=-2147483648^1){break a}e=~~d;if(r(d)<2147483648){break d}e=-2147483648}l=m-o|0;e:{if(!t|!l){break e}d=v(+(t|0)*+(l|0)/7+.5);c=2;if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){h=~~d;break e}h=-2147483648}m=e-h|0;c=1;if(!m){break a}i=f-k|0;k=!g|!i;h=0;f:{if(k){break f}d=v(+(g|0)*+(i|0)/+(m|0)+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}h=~~d;if(r(d)<2147483648){break f}h=-2147483648}c=1;if((h|0)<=(g|0)){break a}f=0;e=0;g:{if(!q){break g}e=0;if(!l){break g}d=v(+(q|0)*+(l|0)/7+.5);c=2;if(d<=2147483647^1|d>=-2147483648^1){break a}e=~~d;if(r(d)<2147483648){break g}e=-2147483648}h:{if(!s|!u){break h}d=v(+(s|0)*+(u|0)/7+.5);c=2;if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){f=~~d;break h}f=-2147483648}e=e-f|0;c=1;if(!e){break a}f=0;i:{if(k){break i}d=v(+(g|0)*+(i|0)/+(e|0)+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}f=~~d;if(r(d)<2147483648){break i}f=-2147483648}c=1;if((g|0)>=(f|0)){break a}w=+(h|0);d=v(1e10/w+.5);e=d>=-2147483648;if(r(d)<2147483648){c=~~d}else{c=-2147483648}k=d<=2147483647?e?c:0:0;x=v(1e10/+(g|0)+.5);e=x>=-2147483648;y=+(f|0);d=v(1e10/y+.5);g=d>=-2147483648;if(r(x)<2147483648){c=~~x}else{c=-2147483648}c=(x<=2147483647?e?c:0:0)-k|0;if(r(d)<2147483648){e=~~d}else{e=-2147483648}k=c-(d<=2147483647?g?e:0:0)|0;c=1;if((k|0)<1){break a}c=1;if(!h){break a}g=0;e=a;c=0;j:{if(!n){break j}d=v(+(n|0)*1e5/w+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}c=~~d;if(r(d)<2147483648){break j}c=-2147483648}j[e>>2]=c;e=j[b+4>>2];k:{if(!e){break k}d=v(+(e|0)*1e5/w+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){g=~~d;break k}g=-2147483648}j[a+4>>2]=g;e=a;h=1e5-(j[b>>2]+j[b+4>>2]|0)|0;c=0;l:{if(!h){break l}d=v(+(h|0)*1e5/w+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}c=~~d;if(r(d)<2147483648){break l}c=-2147483648}j[e+8>>2]=c;c=1;if(!f){break a}g=0;e=a;f=j[b+8>>2];c=0;m:{if(!f){break m}d=v(+(f|0)*1e5/y+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}c=~~d;if(r(d)<2147483648){break m}c=-2147483648}j[e+12>>2]=c;e=j[b+12>>2];n:{if(!e){break n}d=v(+(e|0)*1e5/y+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){g=~~d;break n}g=-2147483648}j[a+16>>2]=g;g=0;e=a;f=1e5-(j[b+8>>2]+j[b+12>>2]|0)|0;c=0;o:{if(!f){break o}d=v(+(f|0)*1e5/y+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}c=~~d;if(r(d)<2147483648){break o}c=-2147483648}j[e+20>>2]=c;e=j[b+16>>2];p:{if(!e){break p}d=v(+(k|0)*+(e|0)/1e5+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){g=~~d;break p}g=-2147483648}j[a+24>>2]=g;g=0;e=a;f=j[b+20>>2];c=0;q:{if(!f){break q}d=v(+(k|0)*+(f|0)/1e5+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}c=~~d;if(r(d)<2147483648){break q}c=-2147483648}j[e+28>>2]=c;e=1e5-(j[b+16>>2]+j[b+20>>2]|0)|0;r:{if(!e){break r}d=v(+(k|0)*+(e|0)/1e5+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){g=~~d;break r}g=-2147483648}j[a+32>>2]=g;c=1;if(RA(p,a)){break a}c=!Ij(b,p,5)}oe=p+32|0;return c}function fu(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=q(0),l=0,m=0,o=q(0),s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;g=oe-80|0;oe=g;a:{if(!k[242924]){c=j[58890];a=c+15|0;if((a|0)>j[58895]){a=(a|0)>j[58896]}else{a=0}j[58891]=a;b=j[58889];a=b+17|0;if((a|0)j[58902]?(a|0)>j[58901]:0)){j[58894]=0;break a}j[58894]=1;break a}j[58893]=1;j[58894]=1;j[58891]=1;j[58892]=1}a=j[58887];if((a|0)>2];b:{if((a|0)!=1025){if((a|0)!=768){if((a|0)!=256){break b}j[58886]=1;break b}c:{switch(j[g+44>>2]-101|0){case 12:j[58886]=1;break b;case 0:if(k[242924]){h[242924]=0;break b}h[242924]=1;break b;case 7:break c;default:break b}}if(!k[242924]){break b}E=235644,F=we(j[58911],1164)?1164:1435,j[E>>2]=F;ql();break b}if(!k[242924]){break b}i=n[57791];o=q(q(j[g+44>>2])/i);d=j[58911];d:{if(!we(d,1164)){i=q(q(j[g+48>>2])/i);break d}o=q(o+q(j[58889]-j[58887]|0));i=q(q(q(j[g+48>>2])/i)+q(j[58890]-j[58888]|0))}i=q(i*q(.0625));e:{if(q(r(i))=j[58907]))){b=j[j[j[58909]+(a<<2)>>2]+(c<<2)>>2];if((b|0)>-1){break g}}b=-1}h:{switch(k[g+40|0]-1|0){case 0:if(we(d,1435)){break b}d=j[58908];b=j[58906];e=j[d+(a<<2)>>2];i:{if((b|0)>(a|0)){break i}j[d+(b<<2)>>2]=0;a=b;e=0}b=e;e=d;d=a<<2;a=e+d|0;if(!((c|0)<1|b)){Ee(j[d+j[58909]>>2],255,c<<2)}f=j[d+j[58909]>>2];j[f+(c<<2)>>2]=j[65533];b=j[a>>2];d=c+1|0;j:{if((b|0)>(d|0)){d=b;break j}if((b|0)<=(c|0)){while(1){j[f+(b<<2)>>2]=j[65533];e=j[a>>2];b=e+1|0;j[a>>2]=b;if((c|0)>(e|0)){continue}break}}j[f+(d<<2)>>2]=10;j[a>>2]=d}if(j[58907]<(d|0)){j[58907]=d}if(!lv()){break b}j[g>>2]=j[65532];Zg(1462,g);break b;case 2:break h;default:break b}}j[65533]=b;j[g+16>>2]=b;Zg(1484,g+16|0)}if(to(g+24|0)){continue}break}}d=0;b=0;k:{if(we(j[58911],1435)){break k}a=j[58889];d=(a+8|0)/16|0;x=d-1|0;c=j[58890];f=(c+28|0)/16|0;y=f+1|0;z=d+1|0;A=f-1|0;v=(c|0)<-43?0:c+43>>>0<31?0:f;f=j[58909];e=j[(v<<2)+f>>2];t=(a|0)<-23?0:a+23>>>0<31?0:d;l=j[e+(t<<2)>>2];if((l|0)<0){d=0;l=0;break k}b=(c|0)>=4?j[j[f+(A<<2)>>2]+(t<<2)>>2]:b;m=(a|0)>=-23?j[e+(z<<2)>>2]:m;d=0;d=(c|0)>=-43?j[j[f+(y<<2)>>2]+(t<<2)>>2]:d;if((a|0)<24){break k}s=j[e+(x<<2)>>2]}u=p(l,24)+235536|0;e=u;f=j[e+156>>2];w=f;a=j[e+148>>2];c=a;l:{if((b|0)<0){break l}w=f;c=a;if(j[60719]<(b|0)){break l}c=p(b,24)+235536|0;w=j[c+156>>2];c=j[c+148>>2]}B=c;e=j[e+160>>2];l=e;c=j[u+152>>2];b=c;m:{if((m|0)<0){break m}l=e;b=c;if(j[60719]<(m|0)){break m}b=p(m,24)+235536|0;l=j[b+160>>2];b=j[b+152>>2]}u=b;m=f;b=a;n:{if((d|0)<0){break n}b=a;if(j[60719]<(d|0)){break n}b=p(d,24)+235536|0;m=j[b+156>>2];b=j[b+148>>2]}C=b;d=e;b=c;o:{if((s|0)<0){break o}b=c;if(j[60719]<(s|0)){break o}b=p(s,24)+235536|0;d=j[b+160>>2];b=j[b+152>>2]}Rn();if(!we(j[58911],1435)){Qw(j[58904],j[58887],j[58888],j[58903])}s=sg();if((s|0)<=19){bg(20-s|0);sg()}if(k[265572]){j[58895]=0;j[58896]=0;if((a|0)>=1){j[58895]=(v<<4)+a;D=1}if((w|0)>=1){j[((D<<2)+235536|0)+44>>2]=(A<<4)+B}if(j[58891]){j[58888]=j[58888]-1;j[58890]=j[58890]-3}j[58903]=0}if(k[265569]){a=j[58907]<<4;j[58898]=a;j[58897]=a;if((c|0)<1){a=0}else{j[58897]=((t<<4)-c|0)+16;a=1}if((l|0)>=1){j[((a<<2)+235536|0)+52>>2]=((z<<4)+16|0)-u}if(j[58892]){j[58887]=j[58887]+1;j[58889]=j[58889]+3}j[58903]=1}if(k[265571]){a=j[58906]<<4;j[58900]=a;j[58899]=a;if((f|0)<1){a=0}else{j[58899]=((v<<4)-f|0)+16;a=1}if((C|0)>=1){j[((a<<2)+235536|0)+60>>2]=((y<<4)+16|0)-m}if(j[58893]){j[58888]=j[58888]+1;j[58890]=j[58890]+3}j[58903]=2}if(k[265570]){j[58901]=0;j[58902]=0;if((e|0)<1){a=0}else{j[58901]=e+(t<<4);a=1}if((b|0)>=1){j[((a<<2)+235536|0)+68>>2]=(x<<4)+d}if(j[58894]){j[58887]=j[58887]-1;j[58889]=j[58889]-3}j[58903]=3}Zn(j[58882]);tA(j[58882]);oe=g+80|0}function vz(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,l=0,m=0,n=0,o=0;a:{b:{switch(c-1|0){case 0:c=j[b+12>>2];if(!c){break a}h=g^255;i=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(i,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];m=b&3;n=(b+3|0)/4|0;o=i-b<<2;c:while(1){l=n;d:{e:{switch(m-1|0){default:i=0;break d;case 0:i=3;break d;case 1:i=2;break d;case 2:break e}}i=1}while(1){f:{switch(i|0){case 0:b=j[a>>2];j[a>>2]=((p(h,b>>>24|0)>>>0)/255|0)+g<<24|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16|((p(h,b>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;i=1;continue;case 1:b=j[a>>2];j[a>>2]=((p(h,b>>>24|0)>>>0)/255|0)+g<<24|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16|((p(h,b>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;i=2;continue;case 2:b=j[a>>2];j[a>>2]=((p(h,b>>>24|0)>>>0)/255|0)+g<<24|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16|((p(h,b>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;i=3;continue;default:break f}}b=c-1|0;i=j[a>>2];j[a>>2]=((p(h,i>>>24|0)>>>0)/255|0)+g<<24|((p(h,i&255)>>>0)/255|0)+f|((p(h,i>>>16&255)>>>0)/255|0)+d<<16|((p(h,i>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;g:{if((l|0)>1){l=l-1|0;break g}a=a+o|0;c=b;if(b){continue c}break a}i=0;continue}};default:i=j[b+12>>2];if(!i){break a}l=e<<8|d<<16|f|g<<24;c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];g=b&3;d=(b+3|0)/4|0;f=c-b<<2;h:while(1){e=d;i:{j:{switch(g-1|0){default:c=0;break i;case 0:c=3;break i;case 1:c=2;break i;case 2:break j}}c=1}while(1){k:{switch(c|0){case 0:j[a>>2]=l;a=a+4|0;c=1;continue;case 1:j[a>>2]=l;a=a+4|0;c=2;continue;case 2:j[a>>2]=l;a=a+4|0;c=3;continue;default:break k}}b=i-1|0;j[a>>2]=l;a=a+4|0;l:{if((e|0)>1){e=e-1|0;break l}a=a+f|0;i=b;if(b){continue h}break a}c=0;continue}};case 3:l=j[b+12>>2];if(!l){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];o=b&3;g=(b+3|0)/4|0;n=c-b<<2;m:while(1){i=g;n:{o:{switch(o-1|0){default:c=0;break n;case 0:c=3;break n;case 1:c=2;break n;case 2:break o}}c=1}while(1){p:{switch(c|0){case 0:b=j[a>>2];j[a>>2]=b&-16777216|(p(b&255,f)>>>0)/255|(p(b>>>16&255,d)>>>0)/255<<16|(p(b>>>8&255,e)>>>0)/255<<8;a=a+4|0;c=1;continue;case 1:b=j[a>>2];j[a>>2]=b&-16777216|(p(b&255,f)>>>0)/255|(p(b>>>16&255,d)>>>0)/255<<16|(p(b>>>8&255,e)>>>0)/255<<8;a=a+4|0;c=2;continue;case 2:b=j[a>>2];j[a>>2]=b&-16777216|(p(b&255,f)>>>0)/255|(p(b>>>16&255,d)>>>0)/255<<16|(p(b>>>8&255,e)>>>0)/255<<8;a=a+4|0;c=3;continue;default:break p}}b=l-1|0;c=j[a>>2];j[a>>2]=c&-16777216|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16|(p(c>>>8&255,e)>>>0)/255<<8;a=a+4|0;q:{if((i|0)>1){i=i-1|0;break q}a=a+n|0;l=b;if(b){continue m}break a}c=0;continue}};case 1:break b}}g=j[b+12>>2];if(!g){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];o=b&3;l=(b+3|0)/4|0;n=c-b<<2;r:while(1){i=l;s:{t:{switch(o-1|0){default:c=0;break s;case 0:c=3;break s;case 1:c=2;break s;case 2:break t}}c=1}while(1){u:{switch(c|0){case 0:c=j[a>>2];b=(c&255)+f|0;h=(b>>>0<255?b:255)|c&-16777216;b=(c>>>16&255)+d|0;h=h|(b>>>0<255?b:255)<<16;b=(c>>>8&255)+e|0;j[a>>2]=h|(b>>>0<255?b:255)<<8;a=a+4|0;c=1;continue;case 1:c=j[a>>2];b=(c&255)+f|0;h=(b>>>0<255?b:255)|c&-16777216;b=(c>>>16&255)+d|0;h=h|(b>>>0<255?b:255)<<16;b=(c>>>8&255)+e|0;j[a>>2]=h|(b>>>0<255?b:255)<<8;a=a+4|0;c=2;continue;case 2:c=j[a>>2];b=(c&255)+f|0;h=(b>>>0<255?b:255)|c&-16777216;b=(c>>>16&255)+d|0;h=h|(b>>>0<255?b:255)<<16;b=(c>>>8&255)+e|0;j[a>>2]=h|(b>>>0<255?b:255)<<8;a=a+4|0;c=3;continue;default:break u}}b=g-1|0;m=j[a>>2];c=(m&255)+f|0;h=(c>>>0<255?c:255)|m&-16777216;c=(m>>>16&255)+d|0;h=h|(c>>>0<255?c:255)<<16;c=(m>>>8&255)+e|0;j[a>>2]=h|(c>>>0<255?c:255)<<8;a=a+4|0;v:{if((i|0)>1){i=i-1|0;break v}a=a+n|0;g=b;if(b){continue r}break a}c=0;continue}}}return 0}function 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,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;c=oe-6992|0;oe=c;f=j[j[a+4>>2]>>2];Ee(c- -64|4,0,2996);j[c+16>>2]=0;j[c+20>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;j[c+44>>2]=0;j[c+48>>2]=0;j[c+52>>2]=0;j[c+56>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+64>>2]=f;j[c+8>>2]=c- -64;b=j[b+4>>2];f=j[b+88>>2];a:{if(!f){f=36;break a}j[c+6936>>2]=b;g=j[f+16>>2];j[c+6948>>2]=0;j[c+6940>>2]=g;f=j[f+20>>2];j[c+6960>>2]=0;j[c+6956>>2]=e>>>16&15;j[c+6952>>2]=0;j[c+6944>>2]=f;j[c>>2]=b;g=j[b+116>>2];j[c+4>>2]=g;if(!g){f=sk(b,c|4,a);if(f){break a}g=j[c+4>>2];j[b+116>>2]=g;j[b+120>>2]=541}j[c+6976>>2]=0;f=6;if(m[g+4>>2]<=d>>>0){break a}f=(k[j[g+8>>2]+d|0]&127)<<2;o=f+g|0;b=j[o+16>>2];b:{if(b){break b}a=j[j[g>>2]+100>>2];i=j[f+73168>>2];n=j[(j[i+4>>2]<<2)+73040>>2];b=He(a,j[n+4>>2],c+6976|0);f=j[c+6976>>2];if(f){break a}j[b+36>>2]=g;j[b>>2]=i;c:{f=j[n+8>>2];if(!f){break c}f=qe[f|0](b,j[g>>2])|0;j[c+6976>>2]=f;if(!f){break c}f=j[n+16>>2];if(f){qe[f|0](b)}if(b){qe[j[a+8>>2]](a,b)}f=j[c+6976>>2];if(f){break a}b=0;break b}j[o+16>>2]=b}a=j[j[b>>2]+4>>2];j[c+12>>2]=b;a=j[(a<<2)+73040>>2];f=j[a+12>>2];d:{if(f){qe[f|0](b,c+6936|0);break d}f=j[c+6940>>2];j[b+4>>2]=j[c+6936>>2];j[b+8>>2]=f;j[b+28>>2]=j[c+6960>>2];f=c+6952|0;g=j[f+4>>2];j[b+20>>2]=j[f>>2];j[b+24>>2]=g;f=c+6944|0;g=j[f+4>>2];j[b+12>>2]=j[f>>2];j[b+16>>2]=g}a=j[a+20>>2];if(a){f=qe[a|0](j[c+8>>2],b)|0;if(f){break a}}f=j[c>>2];b=j[f+84>>2];g=j[b+156>>2];o=j[g>>2];a=j[c+8>>2];n=j[c+12>>2];f=Wh(f,d,e&-10246|10241);if(f){break a}e=k[g+8|0];h[c+16|0]=e;e:{if(!e){break e}e=j[g+24>>2];i=j[g+20>>2];j[c+28>>2]=i;j[c+32>>2]=e;f=j[g+16>>2];q=j[g+12>>2];j[c+20>>2]=q;j[c+24>>2]=f;s=j[g+28>>2];g=j[g+32>>2];r=c+6984|0;j[r>>2]=i;j[r+4>>2]=e;j[c+6976>>2]=q;j[c+6980>>2]=f;j[c+36>>2]=s;j[c+40>>2]=g;if(Is(c+6976|0)){break e}Tg(c+36|0,c+6976|0)}f=7;f:{if(j[b+72>>2]!=1869968492){break f}if(k[c+16|0]){Tf(b+108|0,j[c+36>>2],j[c+40>>2])}j[c+44>>2]=j[a+8>>2];j[c+48>>2]=j[a+16>>2];u=c,v=ye(j[b+40>>2],j[a+4>>2])+j[a+8>>2]|0,j[u+52>>2]=v;j[c+56>>2]=j[a+16>>2];f=0;if(!l[b+110>>1]){break f}e=j[j[(j[j[n>>2]+4>>2]<<2)+73040>>2]+24>>2];if(e){qe[e|0](a,o+20|0,n)|0}if(j[c+6956>>2]!=1){e=j[a+56>>2];if(!(k[a+2980|0]&4|(e|0)<2)){a=j[a- -64>>2];e=(a+p(e,48)|0)-48|0;g=j[e+8>>2];e=j[e+4>>2];s=j[a+8>>2];i=j[a+4>>2];a=s-i|0;r=(i|0)<24?a-8|0:a;a=r+32&-64;j[c+44>>2]=a;q=j[c+52>>2]-e|0;e=g+q|0;t=(q|0)<24?e+8|0:e;e=t+32&-64;j[c+52>>2]=e;if(!((i|0)<1|(a|0)<(s|0))){a=a+ -64|0;j[c+44>>2]=a}if(!((q|0)<1|(e|0)>(g|0))){e=e- -64|0;j[c+52>>2]=e}j[b+148>>2]=e-t;j[b+144>>2]=a-r;break f}a=j[c+44>>2];e=a+32&-64;j[c+44>>2]=e;g=j[c+52>>2];i=g+32&-64;j[c+52>>2]=i;j[b+148>>2]=i-g;j[b+144>>2]=e-a;break f}e=j[c+44>>2];g=(e+j[a+2992>>2]|0)+32&-64;j[c+44>>2]=g;i=j[a+2996>>2];a=j[c+52>>2];i=(i+a|0)+32&-64;j[c+52>>2]=i;j[b+144>>2]=g-e;j[b+148>>2]=i-a}a=j[b+44>>2]-j[b+32>>2]|0;j[c+6968>>2]=a;e=j[b+48>>2]-j[b+36>>2]|0;j[c+6972>>2]=e;u=c,v=ye(a,j[n+8>>2]),j[u+6968>>2]=v;u=c,v=ye(e,j[n+12>>2]),j[u+6972>>2]=v;if(k[c+16|0]){a=c+20|0;Ah(o+20|0,a);Tg(c+6968|0,a)}a=j[c+44>>2];if(a){Tf(o+20|0,0-a|0,0)}Ug(o+20|0,c+6976|0);a=j[c+6976>>2]&-64;j[c+6976>>2]=a;e=j[c+6988>>2]+63&-64;j[c+6988>>2]=e;g=j[c+6984>>2]+63&-64;j[c+6984>>2]=g;o=j[c+6980>>2]&-64;j[c+6980>>2]=o;j[b+36>>2]=e;j[b+32>>2]=a;j[b+28>>2]=e-o;j[b+24>>2]=g-a;j[b+44>>2]=a+j[c+6968>>2]&-64;j[b+48>>2]=e+j[c+6972>>2]&-64;g:{h:{if(j[c+6956>>2]==1){break h}if(!(k[j[b+4>>2]+8|0]&4)){a=j[c+4>>2];if(!k[n+32|0]|(m[a+4>>2]<=d>>>0|h[j[a+8>>2]+d|0]>-1)){break h}}a=ye(j[b+40>>2],j[n+8>>2]);j[b+144>>2]=0;j[b+148>>2]=0;j[b+40>>2]=a;break g}if(!j[b+40>>2]){break g}j[b+40>>2]=j[c+52>>2]-j[c+44>>2]}a=ye(j[b+52>>2],j[n+12>>2]);j[b+72>>2]=1869968492;j[b+52>>2]=a+32&-64;j[b+40>>2]=j[b+40>>2]+32&-64}j[c+8>>2]=0;j[c>>2]=0;j[c+4>>2]=0;Jm(c- -64|0);oe=c+6992|0;return f|0}function ls(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;u=oe-80|0;oe=u;g=mj(a,b);a:{if(g){break a}d=j[a+2980>>2];if(!(d&1?!(!(d&8)&j[c+24>>2]==1):0)){g=ks(a,0);if(g){break a}js(a,c,0);d=j[a+2980>>2]}if(!(d&2)){g=ks(a,1);if(g){break a}js(a,c,1)}q=1;while(1){b:{d=j[a+2980>>2];c:{d:{if(q){if(d&1){break c}if(d&8|j[c+24>>2]!=1){break d}ss(u+16|0,a,u+12|0,u+8|0);o=j[a+24>>2];if((o|0)<1){break c}d=j[a+28>>2];o=d+p(o,40)|0;e=j[u+8>>2];m=j[u+12>>2];while(1){B=d,C=ye(i[d+12>>1],m)+e|0,j[B+16>>2]=C;d=d+40|0;if(o>>>0>d>>>0){continue}break}break c}if(d&2){break b}}x=p(r,1468)+a|0;A=x- -64|0;o=j[A>>2];t=j[x+56>>2];v=o+p(t,48)|0;m=0;d=o;y=(t|0)<1;if(!y){while(1){g=k[d+12|0];e:{if(g&4){break e}e=j[d+24>>2];f=j[d+20>>2];f:{if(f){n=d;break f}if(!e){break e}f=j[e+20>>2];if(!f){break e}g=k[e+12|0];n=e;e=d}f=j[f+8>>2];h[n+12|0]=g|4;j[n+8>>2]=f;if(!(j[e+20>>2]|!e)){B=e,C=tk(a,r,j[e+4>>2]-j[n+4>>2]|0)+f|0,j[B+8>>2]=C;h[e+12|0]=k[e+12|0]|4}m=m?m:d}n=0;d=d+48|0;if(v>>>0>d>>>0){continue}break}d=o;e=m;s=0;f=0;m=0;while(1){z=k[d+12|0];g:{if(z&4){break g}g=j[d+24>>2];if(!g){m=m+1|0;break g}h:{if(!(f&255)){break h}w=s- -64|0;if((w|0)<=j[g+8>>2]?(w|0)<=j[d+8>>2]:0){break h}m=m+1|0;break g}if(j[g+20>>2]){w=tk(a,r,j[d+4>>2]-j[g+4>>2]|0);g=j[g+8>>2];h[d+12|0]=z|4;j[d+8>>2]=g+w;break g}if(d>>>0>g>>>0){f=tk(a,r,j[d+4>>2]-j[g+4>>2]|0);g=j[g+8>>2];h[d+12|0]=z|4;s=f+g|0;j[d+8>>2]=s;f=1;break g}i:{if(!((e|0)!=0|r)){n=is(a,d,g,0,0);break i}is(a,d,g,n,r)}h[d+12|0]=k[d+12|0]|4;h[g+12|0]=k[g+12|0]|4;s=j[g+8>>2];f=1;e=d}d=d+48|0;if(v>>>0>d>>>0){continue}break}}j:{if(!q){break j}g=4;e=2;d=o;k:{switch(t-6|0){case 6:d=o+48|0;g=9;e=5;break;case 0:break k;default:break j}}if(j[d+24>>2]!=(d+48|0)){break j}n=o+p(e,48)|0;if(j[n+24>>2]!=(n+48|0)){break j}e=j[n+4>>2];g=p(g,48);f=g+o|0;s=e-j[f+4>>2]+(e-j[d+4>>2])|0;e=s>>31;if((e^e+s)>7){break j}e=j[f+24>>2];if((e|0)!=(g+(o+48|0)|0)){break j}g=j[f+8>>2];d=(j[n+8>>2]<<1)-j[d+8>>2]|0;j[f+8>>2]=d;d=g-d|0;if(e){j[e+8>>2]=j[e+8>>2]-d}if((t|0)==12){j[o+392>>2]=j[o+392>>2]-d;j[o+536>>2]=j[o+536>>2]-d}h[f+12|0]=k[f+12|0]|4;if(!e){break j}h[e+12|0]=k[e+12|0]|4}l:{if(!m){break l}d=o;if(y){break l}while(1){f=k[d+12|0];m:{if(f&4){break m}e=j[d+28>>2];if(!e){break m}n=j[e+4>>2];e=j[e+8>>2];h[d+12|0]=f|4;j[d+8>>2]=(e+j[d+4>>2]|0)-n;m=m-1|0}d=d+48|0;if(v>>>0>d>>>0){continue}break}if(y){break l}f=o;if(!m){break l}while(1){d=f;n:{if(k[d+12|0]&4){break n}while(1){e=d;d=d-48|0;g=o>>>0>d>>>0;if(k[e-36|0]&4?0:!g){continue}break}m=f;o:{p:{while(1){n=m;m=n+48|0;if(v>>>0<=m>>>0){break p}if(!(k[n+60|0]&4)){continue}break}if(d>>>0>=o>>>0){break o}j[f+8>>2]=(j[f+4>>2]+j[n+56>>2]|0)-j[n+52>>2];break n}if(g){break n}j[f+8>>2]=(j[f+4>>2]+j[e-40>>2]|0)-j[e-44>>2];break n}m=l[m>>1];d=l[d>>1];if((m|0)==(d|0)){j[f+8>>2]=j[e-40>>2];break n}d=d<<16>>16;e=j[e-40>>2];B=f,C=Ne(i[f>>1]-d|0,j[n+56>>2]-e|0,(m<<16>>16)-d|0)+e|0,j[B+8>>2]=C}f=f+48|0;if(v>>>0>f>>>0){continue}break}}d=j[x+56>>2];o=j[A>>2];e=0;e=q|r?(j[a+2984>>2]&(q?1:2))!=0:e;if((d|0)>=1){v=p(d,48)+o|0;g=q?4:8;while(1){d=j[o+40>>2];f=d;q:{if(e){while(1){m=f+40|0;t=j[f+44>>2];while(1){n=j[m>>2];j[n+(q?16:20)>>2]=j[o+8>>2];i[n>>1]=g|l[n>>1];m=n+32|0;if((n|0)!=(t|0)){continue}break}f=j[f+16>>2];if((d|0)!=(f|0)){continue}break q}}t=j[o+8>>2]-j[o+4>>2]|0;n=d;while(1){m=n+40|0;s=j[n+44>>2];while(1){f=j[m>>2];m=f+(q?16:20)|0;j[m>>2]=t+j[m>>2];i[f>>1]=g|l[f>>1];m=f+32|0;if((f|0)!=(s|0)){continue}break}n=j[n+16>>2];if((d|0)!=(n|0)){continue}break}}o=o+48|0;if(v>>>0>o>>>0){continue}break}}rs(a,r);qs(a,r)}r=1;d=q;q=0;if(d){continue}}break}c=j[a+24>>2];if((c|0)<1){g=0;break a}d=j[a+28>>2];c=d+p(c,40)|0;m=j[b+4>>2];a=j[b+8>>2];while(1){j[m>>2]=j[d+16>>2];j[m+4>>2]=j[d+20>>2];g=0;b=l[d>>1];h[a|0]=b&1?0:b&2?2:1;a=a+1|0;m=m+8|0;d=d+40|0;if(c>>>0>d>>>0){continue}break}}oe=u+80|0;return g|0}function sr(a,b,c){var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;j[a+12>>2]=b;j[a+8>>2]=c;j[a+4>>2]=b;r=a+16|0;j[a+404>>2]=r;u=6;a:{b:{while(1){if(b>>>0>=c>>>0){break b}d=k[b|0];c:{d:{if(!(d>>>0<27|(d|0)==31)){e=j[a+404>>2];m=4;if((e-r|0)>380){break c}j[a+404>>2]=e+4;j[e>>2]=b;e:{switch(d-28|0){case 2:while(1){b=b+1|0;m=7;if(c>>>0<=b>>>0){break c}d=k[b|0];if((d&240)==240){break d}if((d&15)!=15){continue}break}break d;case 0:b=b+2|0;break d;case 1:b=b+4|0;break d;default:break e}}b=d>>>0>246?b+1|0:b;break d}g=j[a+404>>2];j[g>>2]=b;if((d|0)==12){b=b+1|0;m=8;if(c>>>0<=b>>>0){break c}d=k[b|0]|256}q=79296;e=4;f=j[a+408>>2]|d;f:{if((f|0)!=4096){while(1){e=j[q+28>>2];if(!e){break f}d=q;q=d+28|0;if((f|0)!=j[d+32>>2]){continue}break}}o=j[q+8>>2];d=j[a+412>>2];g=g-r|0;if(!g){m=12;if((e|0)!=6){break c}}o=d+o|0;g:{h:{i:{switch(e-1|0){case 0:case 3:case 4:g=j[a+20>>2];e=j[a+16>>2];f=k[e|0];if((f|0)==30){d=Jf(e,g,0,0)>>16;break g}j:{switch(f-28|0){case 0:d=0;if(g>>>0>>0){break g}d=k[e+1|0]|k[e+2|0]<<8;d=(d<<24|d<<8&16711680)>>16;break g;case 1:d=0;if(g>>>0>>0){break g}d=k[e+1|0]|k[e+2|0]<<8|(k[e+3|0]<<16|k[e+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break g;default:break j}}d=f-139|0;if(f>>>0<=246){break g}l=e+2|0;if(f>>>0<=250){d=0;if(g>>>0>>0){break g}d=(k[e+1|0]|f<<8)-63124|0;break g}d=0;if(g>>>0>>0){break g}d=64148-(k[e+1|0]|f<<8)|0;break g;case 1:f=j[a+20>>2];d=j[a+16>>2];e=k[d|0];if((e|0)==30){d=Jf(d,f,0,0);break g}k:{l:{m:{switch(e-28|0){case 0:g=0;if(f>>>0>>0){break h}d=k[d+1|0]|k[d+2|0]<<8;e=(d<<24|d<<8&16711680)>>16;break k;case 1:g=0;if(f>>>0>>0){break h}d=k[d+1|0]|k[d+2|0]<<8|(k[d+3|0]<<16|k[d+4|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break l;default:break m}}if(e>>>0<=246){g=e-139|0;break h}l=d+2|0;if(e>>>0<=250){g=0;if(f>>>0>>0){break h}e=(k[d+1|0]|e<<8)-63124|0;break k}g=0;if(f>>>0>>0){break h}e=64148-(k[d+1|0]|e<<8)|0}d=2147483647;if((e|0)>32767){break g}}d=(e|0)<-32767?-2147483647:e<<16;break g;case 2:l=j[a+20>>2];f=j[a+16>>2];g=k[f|0];if((g|0)==30){d=Jf(f,l,3,0);break g}n:{o:{switch(g-28|0){case 0:d=0;if(l>>>0>>0){break g}d=k[f+1|0]|k[f+2|0]<<8;e=(d<<24|d<<8&16711680)>>16;break n;case 1:d=0;if(l>>>0>>0){break g}d=k[f+1|0]|k[f+2|0]<<8|(k[f+3|0]<<16|k[f+4|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break n;default:break o}}e=g-139|0;if(g>>>0<=246){break n}e=f+2|0;if(g>>>0<=250){d=0;if(e>>>0>l>>>0){break g}e=(k[f+1|0]|g<<8)-63124|0;break n}d=0;if(e>>>0>l>>>0){break g}e=64148-(k[f+1|0]|g<<8)|0}f=p(e,1e3);d=2147483647;if((f|0)>32767){break g}d=(f|0)<-32767?-2147483647:p(e,65536e3);break g;case 5:m=d+j[q+24>>2]|0;d=j[q+20>>2];e=g>>2;s=d>>>0>>0?d:e;h[m|0]=s;if(!s){break f}e=0;d=r;while(1){g=j[d+4>>2];m=e;f=j[d>>2];l=k[f|0];p:{if((l|0)==30){n=Jf(f,g,0,0)>>16;break p}q:{switch(l-28|0){case 0:n=0;if(g>>>0>>0){break p}f=k[f+1|0]|k[f+2|0]<<8;n=(f<<24|f<<8&16711680)>>16;break p;case 1:n=0;if(g>>>0>>0){break p}f=k[f+1|0]|k[f+2|0]<<8|(k[f+3|0]<<16|k[f+4|0]<<24);n=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);break p;default:break q}}n=l-139|0;if(l>>>0<=246){break p}e=f+2|0;if(l>>>0<=250){n=0;if(e>>>0>g>>>0){break p}n=(k[f+1|0]|l<<8)-63124|0;break p}n=0;if(e>>>0>g>>>0){break p}n=64148-(k[f+1|0]|l<<8)|0}e=m+n|0;r:{s:{t:{u:{v:{f=k[q+12|0];switch(f-1|0){case 3:break t;case 1:break u;case 0:break v;default:break s}}h[o|0]=e;f=k[q+12|0];break r}i[o>>1]=e;f=2;break r}j[o>>2]=e;f=4;break r}j[o>>2]=e}d=d+4|0;o=f+o|0;s=s-1|0;if(s){continue}break}break f;default:break i}}t=qe[j[q+16>>2]](a)|0;m=7;if(t){break c}t=0;break f}d=g<<16}w:{switch(k[q+12|0]-1|0){case 0:h[o|0]=d;break f;case 1:i[o>>1]=d;break f;default:break w}}j[o>>2]=d}j[a+404>>2]=r}b=b+1|0;m=0}d=lP(m,30);if(!d){continue}break}if(d-1>>>0<3){break a}}u=t}return u}function wC(a){var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0;f=oe-112|0;oe=f;o=j[a+16>>2];a:{if(!Vi(16)){ve(22842,0);a=0;break a}g=1;b:{while(1){if(!j[(g<<2)+264288>>2]){break b}g=g+1|0;if((g|0)!=16){continue}break}ve(23199,0);a=0;break a}Ge(262232,a,24);c:{if(j[a>>2]){break c}b=Mf(23395);if(b){b=rf(b);j[65558]=b;if(b){break c}}j[65558]=22050}if(!l[a+4>>1]){d=Mf(23415);d:{e:{if(!d){break e}if(!cf(d,23507)){b=8;break d}if(!cf(d,23510)){b=32776;break d}b=16;if(!cf(d,23513)){break d}if(!cf(d,23520)){break e}if(!cf(d,23527)){b=4112;break d}if(!cf(d,23534)){b=36880;break d}if(!cf(d,23541)){break d}if(!cf(d,23548)){break e}if(!cf(d,23555)){break d}b=32784;if(!cf(d,23559)){break d}b=32800;if(!cf(d,23563)){break d}if(!cf(d,23570)){b=36896;break d}if(!cf(d,23577)){break d}if(!cf(d,23584)){break d}b=33056;if(!cf(d,23588)){break d}if(!cf(d,23595)){b=37152;break d}if(!cf(d,23602)){break d}if(!cf(d,23609)){break d}}b=32784}i[131118]=b}f:{g:{h:{b=k[a+6|0];if(b>>>0>8){break h}i:{if(1<>1]){a=l[131120];break j}a=Mf(23489);if(a){a=rf(a);i[131120]=a;if(a&65535){break j}}d=p(j[65558]/1e3|0,46);b=1;while(1){a=b;b=a<<1;if((a|0)<(d|0)){continue}break}i[131120]=a}b=l[131118];h[262239]=((b|0)==8)<<7;j[65561]=p(k[262238],p(b>>>3&31,a&65535));e=Mf(23227);k:{if(j[66060]){l:{if(!e){break l}if(!cf(e,23144)){break l}ve(22896,0);a=0;break a}a=j[66072];if(!a|j[a+68>>2]){break k}break f}if(!e){e=0;b=0;break g}a=j[66068];b=0;m:{if(!a){break m}while(1){n:{if(!j[a>>2]){break n}if(cf(j[a+4>>2],e)){break n}b=j[a>>2];break m}a=j[a+16>>2];if(a){continue}break}b=0}break g}a=j[66073];if(j[a+68>>2]?0:a){break f}a=j[66074];if(j[a+68>>2]?0:a){break f}a=j[66075];if(j[a+68>>2]?0:a){break f}a=j[66076];if(j[a+68>>2]?0:a){break f}a=j[66077];if(j[a+68>>2]?0:a){break f}a=j[66078];if(j[a+68>>2]?0:a){break f}a=j[66079];if(j[a+68>>2]?0:a){break f}a=j[66080];if(j[a+68>>2]?0:a){break f}a=j[66081];if(j[a+68>>2]?0:a){break f}a=j[66082];if(j[a+68>>2]?0:a){break f}a=j[66083];if(j[a+68>>2]?0:a){break f}a=j[66084];if(j[a+68>>2]?0:a){break f}a=j[66085];if(j[a+68>>2]?0:a){break f}e=0;a=j[66086];if(j[a+68>>2]?0:a){break f}a=j[66087];if(!a){b=0;break g}b=0;if(!j[a+68>>2]){break f}break g}ve(23451,0);a=0;break a}if(!(b|(j[66062]|!e))){ve(23275,0);a=0;break a}c=Xe(1,104);if(!c){Be(0);a=0;break a}j[c>>2]=g+1;a=j[65559];j[c+4>>2]=j[65558];j[c+8>>2]=a;a=j[65561];j[c+12>>2]=j[65560];j[c+16>>2]=a;a=j[65563];j[c+20>>2]=j[65562];j[c+24>>2]=a;j[c+100>>2]=b;j[c+68>>2]=0;j[c+56>>2]=0;a=c- -64|0;a;j[a>>2]=1;j[c+60>>2]=1;o:{if(j[66058]){break o}a=Hi();j[c+80>>2]=a;if(a){break o}Af(c);ve(23291,0);a=0;break a}p:{if((qe[j[66042]](c,b,e,0)|0)<=-1){break p}a=j[c+4>>2];if((a|0)!=j[65558]){j[65558]=a}m=l[131118];d=1;q:{if((m|0)!=l[c+8>>1]){break q}d=0}e=k[262238];a=k[c+10|0];if((e|0)!=(a|0)){h[262238]=a;e=a}b=l[131120];a=l[c+12>>1];n=1;r:{if((b|0)!=(a|0)){break r}b=a;n=d}a=n;h[262239]=((m|0)==8)<<7;j[65561]=p(p(m>>>3&31,e),b);b=j[65563];j[c+44>>2]=j[65562];j[c+48>>2]=b;b=j[65561];j[c+36>>2]=j[65560];j[c+40>>2]=b;b=j[65559];j[c+28>>2]=j[65558];j[c+32>>2]=b;if(a){b=nl(l[131118],k[262238],j[65558],l[c+8>>1],k[c+10|0],j[c+4>>2]);j[c+52>>2]=b;if(!b){break p}}if(!j[c+20>>2]){b=Go(8192,j[65561]<<1);j[c+92>>2]=b;if(!b){Af(c);ve(23318,0);a=0;break a}j[c+44>>2]=118;j[c+48>>2]=c}d=j[c+16>>2];a=a?j[c+40>>2]:0;a=a>>>0>>0?d:a;j[c+76>>2]=a;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}j[c+72>>2]=a;if(!a){Af(c);Be(0);a=0;break a}j[(g<<2)+264288>>2]=c;s:{if(j[66057]){break s}j[f+4>>2]=j[c>>2];j[f>>2]=80;Ue(f+16|0,64,23353,f);a=Ty(f+16|0,!o<<16,c);j[c+84>>2]=a;if(a){break s}Af(c);ve(23366,0);a=0;break a}a=j[c>>2];break a}Af(c);a=0;break a}ve(23249,0);a=0}oe=f+112|0;return a}function Vz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,l=0,o=0,p=0,r=0,s=0;i=oe-32|0;oe=i;f=j[a+436>>2];e=j[a+316>>2];l=0;a:{if(!e){break a}l=j[e+4>>2];l=(l|0)==372645892|(l|0)==370546692}e=j[f+336>>2];g=j[((e<<2)+f|0)+272>>2];o=Vg();h=j[f>>2];b:{c:{if((o|0)!=(h|0)){j[f+424>>2]=0;if((tg(j[a+188>>2],h)|0)<0){break c}}h=j[a+436>>2];if(j[h+4>>2]){while(1){if(qe[j[h+104>>2]]()|0){continue}break}}h=j[a+316>>2];j[f+364>>2]=h;if(!h){Wm(j[a+188>>2],f+416|0,f+420|0)}qe[j[f+220>>2]](34962,g);e=(e<<2)+f|0;d:{if(m[e+304>>2]>>0){qe[j[f+224>>2]](34962,d,c,35040);j[e+304>>2]=d;break d}qe[j[f+228>>2]](34962,0,d,c)}h=0;d=j[f+336>>2]+1|0;j[f+336>>2]=d>>>0>7?0:d;if(b){p=f+340|0;r=f+384|0;while(1){e:{f:{g:{switch(j[b>>2]-1|0){case 2:j[f+408>>2]=k[(l?8:10)+b|0]|(k[b+9|0]<<8|k[(l?10:8)+b|0]<<16)|k[b+11|0]<<24;break e;case 0:d=b+8|0;if(!wf(p,d,16)){break e}Ge(p,d,16);j[f+356>>2]=1;break e;case 1:d=j[b+4>>2];if((d|0)!=j[f+376>>2]){j[f+372>>2]=1;j[f+376>>2]=d}d=b+8|0;if(!wf(r,d,16)){break e}Ge(r,d,16);j[f+380>>2]=1;break e;case 3:g=k[(l?8:10)+b|0];d=k[b+9|0];e=k[(l?10:8)+b|0];o=k[b+11|0];s=g|(d<<8|e<<16)|o<<24;if((s|0)!=j[f+412>>2]){qe[j[f+36>>2]](q(q(e>>>0)*q(.003921568859368563)),q(q(d>>>0)*q(.003921568859368563)),q(q(g>>>0)*q(.003921568859368563)),q(q(o>>>0)*q(.003921568859368563)));j[f+412>>2]=s}if(j[f+376>>2]){qe[j[f+64>>2]](3089);j[f+372>>2]=1}qe[j[f+32>>2]](16384);break e;case 4:if(Ej(f,b,1)){break e}qe[j[f+72>>2]](0,0,j[b+8>>2]);break e;case 5:d=j[b+4>>2];e=j[b+8>>2];if(Ej(f,b,1)){break e}if(e>>>0<=2){d=e-1|0;break f}g=c+d|0;d=e-1|0;if(n[g>>2]!=n[g+(d<<3)>>2]|n[g+4>>2]!=n[(g+(e<<3)|0)-4>>2]){break f}qe[j[f+72>>2]](2,0,d);break e;case 6:g=j[b+8>>2];if(Ej(f,b,1)){break e}e=0;d=0;if(!g){break e}while(1){qe[j[f+72>>2]](5,e,4);e=e+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}break e;case 7:case 8:break g;default:break e}}g=j[b+20>>2];o=j[a+436>>2];h:{i:{j:{k:{l:{d=j[a+316>>2];if(d){e=2;d=j[d+4>>2];g=j[g+4>>2];if((d|0)==(g|0)){break i}m:{n:{o:{p:{q:{if((g|0)<=825382477){if((g|0)<=374740995){if((g|0)==370546692){break o}if((g|0)!=372645892){break q}if((d|0)!=374740996?(d|0)!=376840196:0){break i}e=3;break i}if((g|0)==374740996){break n}if((g|0)==376840196){break p}if((g|0)!=542328143){break q}e=9;break i}e=6;r:{switch(g-842094158|0){case 11:break i;case 0:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break q;default:break r}}if((g|0)==825382478){break l}if((g|0)==1448433993){break i}}d=ve(34197,0);break h}if((d|0)!=370546692?(d|0)!=372645892:0){break i}e=3;break i}if((d|0)==372645892){break j}if((d|0)!=376840196?(d|0)!=374740996:0){break i}e=3;break i}if((d|0)!=370546692){if((d|0)!=372645892){if((d|0)!=376840196){break i}break j}e=4;break i}e=3;break i}e=7;break i}s:{t:{u:{d=j[g+4>>2];if((d|0)<=825382477){if((d|0)<=374740995){if((d|0)==370546692){break t}e=3;if((d|0)==372645892){break i}break k}if((d|0)==374740996){break j}if((d|0)==376840196){break u}if((d|0)!=542328143){break k}e=9;break i}v:{switch(d-842094158|0){default:if((d|0)==825382478){break l}if((d|0)!=1448433993){break k}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break k;case 0:break s;case 11:break v}}e=6;break i}e=2;break i}e=4;break i}e=7;break i}e=8;break i}d=ve(34197,0);break h}e=5}d=Ej(o,b,e)}if(d){break e}qe[j[f+72>>2]](5,0,4);break e}qe[j[f+72>>2]](3,0,e);qe[j[f+72>>2]](0,d,1)}b=j[b+24>>2];if(b){continue}break}}a=j[a+436>>2];if(!j[a+4>>2]){break b}e=qe[j[a+104>>2]]()|0;if(!e){break b}b=32509;while(1){b=k[b|0]?b:34262;c=34367;d=e-1280|0;if(d>>>0<=5){c=j[(d<<2)+34376>>2]}j[i+20>>2]=e;j[i+16>>2]=c;j[i+12>>2]=33837;j[i+8>>2]=1338;j[i+4>>2]=32510;j[i>>2]=b;ve(34270,i);e=qe[j[a+104>>2]]()|0;if(e){continue}break}}h=-1}oe=i+32|0;return h|0} +function cx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;r=oe+ -64|0;oe=r;j[a+256>>2]=0;b=a;a:{if(l[a+216>>1]!=l[a+218>>1]){e=384;g=385;d=382;c=383;break a}e=388;g=389;d=386;c=387}j[b+604>>2]=d;j[a+600>>2]=c;j[a+596>>2]=e;j[a+592>>2]=g;kh(a);b=j[a+312>>2];if((b&255)>>>0<=7){j[a+568>>2]=j[(b<<24>>22)+91336>>2]}C=a+180|0;D=a+144|0;v=a+72|0;t=a+36|0;w=a+108|0;b=j[a+360>>2];b:{c:{d:{e:{while(1){o=j[a+356>>2];f=k[o+b|0];h[a+368|0]=f;g=h[f+89872|0];j[a+372>>2]=g;f:{if((f&254)!=64){e=j[a+364>>2];break f}e=j[a+364>>2];c=b+1|0;if((e|0)<=(c|0)){e=131;break d}g=2-p(k[c+o|0],g)|0;j[a+372>>2]=g}if((b+g|0)>(e|0)){e=131;break d}d=k[f+90128|0];c=d>>>4|0;b=j[a+16>>2]-c|0;j[a+28>>2]=b;if((b|0)<=-1){if(k[a+561|0]){e=129;break d}if(c){Ee(j[a+24>>2],0,c<<2)}j[a+28>>2]=0;b=0}q=(d&15)+b|0;j[a+32>>2]=q;e=130;c=j[a+20>>2];if((c|0)<(q|0)){break d}j[a+12>>2]=0;h[a+376|0]=1;n=j[a+24>>2];d=n+(b<<2)|0;e=135;g:{h:{i:{j:{k:{l:{m:{n:{switch(f|0){case 0:case 1:case 2:case 3:case 4:case 5:b=f<<14&16384;c=b^16384;if(f>>>0<=3){i[a+296>>1]=c;i[a+294>>1]=b;i[a+292>>1]=c;i[a+290>>1]=b}if(!(f&2)){i[a+300>>1]=c;i[a+298>>1]=b}kh(a);break m;case 6:case 7:o:{b=l[d+4>>1];if(b>>>0>1]){c=l[d>>1];if(c>>>0>1]){break o}}if(!k[a+561|0]){break m}e=134;break d}c=j[a+88>>2]+(c<<3)|0;d=j[a+124>>2]+(b<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=!(f&1)|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;p:{q:{if((d^b+d)>16383){break q}d=c>>31;if((d+c^d)>16383){break q}if(!(b|c)){break p}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,H=De(d,b),i[G+294>>1]=H;G=a,H=De(c,b),i[G+296>>1]=H}b=l[a+294>>1]|l[a+296>>1]<<16;i[a+290>>1]=b;i[a+292>>1]=b>>>16;kh(a);break m;case 8:case 9:r:{b=l[d+4>>1];if(b>>>0>1]){c=l[d>>1];if(c>>>0>1]){break r}}if(!k[a+561|0]){break m}e=134;break d}c=j[a+88>>2]+(c<<3)|0;d=j[a+124>>2]+(b<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=!(f&1)|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;s:{t:{if((d^b+d)>16383){break t}d=c>>31;if((d+c^d)>16383){break t}if(!(b|c)){break s}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,H=De(d,b),i[G+298>>1]=H;G=a,H=De(c,b),i[G+300>>1]=H}kh(a);break m;case 10:e=j[d+4>>2]<<16;b=e>>16;d=j[d>>2]<<16;c=d>>16;f=d>>31;u:{v:{if((c+f^f)>16383){break v}f=b>>31;if((f+b^f)>16383){break v}if(!(b|c)){break u}b=e>>2;c=d>>2}d=c;c=ig(c,b)<<2;G=a,H=De(d,c),i[G+294>>1]=H;G=a,H=De(b,c),i[G+296>>1]=H}b=l[a+294>>1]|l[a+296>>1]<<16;i[a+290>>1]=b;i[a+292>>1]=b>>>16;kh(a);break m;case 11:e=j[d+4>>2]<<16;b=e>>16;d=j[d>>2]<<16;c=d>>16;f=d>>31;w:{x:{if((c+f^f)>16383){break x}f=b>>31;if((f+b^f)>16383){break x}if(!(b|c)){break w}b=e>>2;c=d>>2}d=c;c=ig(c,b)<<2;G=a,H=De(d,c),i[G+298>>1]=H;G=a,H=De(b,c),i[G+300>>1]=H}kh(a);break m;case 13:j[d>>2]=i[a+298>>1];j[d+4>>2]=i[a+300>>1];break m;case 14:b=l[a+294>>1]|l[a+296>>1]<<16;i[a+298>>1]=b;i[a+300>>1]=b>>>16;kh(a);break m;case 15:y:{c=l[d+12>>1];b=l[a+44>>1];z:{if(c>>>0>=b>>>0){break z}e=l[d+16>>1];if(e>>>0>=b>>>0){break z}f=l[d+4>>1];b=l[a+80>>1];if(f>>>0>=b>>>0){break z}n=l[d+8>>1];if(n>>>0>=b>>>0){break z}b=l[d>>1];if(b>>>0>1]){break y}}if(!k[a+561|0]){break m}e=134;break d}o=j[a+52>>2];z=c<<3;c=o+z|0;d=j[c+4>>2];B=e<<3;g=B+o|0;q=j[g+4>>2];o=j[a+88>>2];e=f<<3;s=o+e|0;f=j[s>>2];E=n<<3;o=E+o|0;u=j[o>>2];n=j[s+4>>2];s=j[o+4>>2];o=j[c>>2];c=j[g>>2];g=b+j[a+132>>2]|0;h[g|0]=k[g|0]|24;g=u-f|0;y=q-d|0;A=0-y|0;q=s-n|0;s=c-o|0;c=Ne(g,A,64)+Ne(q,s,64)|0;u=c>>31;x=Ne(g,s,64)+Ne(q,y,64)|0;y=x>>31;if((p(c+u^u,19)|0)>(y^y+x)){d=Ne(o-f|0,A,64)+Ne(d-n|0,s,64)|0;f=Ne(d,g,c);c=Ne(d,q,c);b=j[a+124>>2]+(b<<3)|0;d=e+j[a+88>>2]|0;j[b>>2]=f+j[d>>2];j[b+4>>2]=c+j[d+4>>2];break m}b=j[a+124>>2]+(b<<3)|0;c=j[a+52>>2];d=c+z|0;f=j[a+88>>2];n=f+E|0;e=e+f|0;c=c+B|0;j[b>>2]=((j[d>>2]+(j[n>>2]+j[e>>2]|0)|0)+j[c>>2]|0)/4;j[b+4>>2]=(j[c+4>>2]+(j[d+4>>2]+(j[n+4>>2]+j[e+4>>2]|0)|0)|0)/4;break m;case 16:i[a+284>>1]=j[d>>2];break m;case 17:i[a+286>>1]=j[d>>2];break m;case 18:i[a+288>>1]=j[d>>2];break m;case 19:b=C;A:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break A}}c=j[b+4>>2];j[t>>2]=j[b>>2];j[t+4>>2]=c;j[t+32>>2]=j[b+32>>2];c=j[b+28>>2];j[t+24>>2]=j[b+24>>2];j[t+28>>2]=c;c=j[b+20>>2];j[t+16>>2]=j[b+16>>2];j[t+20>>2]=c;c=j[b+12>>2];j[t+8>>2]=j[b+8>>2];j[t+12>>2]=c;i[a+344>>1]=j[d>>2];break m;case 20:b=C;B:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break B}}c=j[b+4>>2];j[v>>2]=j[b>>2];j[v+4>>2]=c;j[v+32>>2]=j[b+32>>2];c=j[b+28>>2];j[v+24>>2]=j[b+24>>2];j[v+28>>2]=c;c=j[b+20>>2];j[v+16>>2]=j[b+16>>2];j[v+20>>2]=c;c=j[b+12>>2];j[v+8>>2]=j[b+8>>2];j[v+12>>2]=c;i[a+346>>1]=j[d>>2];break m;case 21:b=C;C:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break C}}c=j[b+4>>2];j[w>>2]=j[b>>2];j[w+4>>2]=c;j[w+32>>2]=j[b+32>>2];c=j[b+28>>2];j[w+24>>2]=j[b+24>>2];j[w+28>>2]=c;c=j[b+20>>2];j[w+16>>2]=j[b+16>>2];j[w+20>>2]=c;c=j[b+12>>2];j[w+8>>2]=j[b+8>>2];j[w+12>>2]=c;i[a+348>>1]=j[d>>2];break m;case 22:b=C;D:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break D}}c=j[b+4>>2];o=j[b>>2];j[t>>2]=o;j[t+4>>2]=c;g=j[b+32>>2];j[t+32>>2]=g;e=j[b+28>>2];q=j[b+24>>2];j[t+24>>2]=q;j[t+28>>2]=e;f=j[b+20>>2];s=j[b+16>>2];j[t+16>>2]=s;j[t+20>>2]=f;n=j[b+12>>2];b=j[b+8>>2];j[t+8>>2]=b;j[t+12>>2]=n;j[v+32>>2]=g;j[v+24>>2]=q;j[v+28>>2]=e;j[v+16>>2]=s;j[v+20>>2]=f;j[v+8>>2]=b;j[v+12>>2]=n;j[v>>2]=o;j[v+4>>2]=c;j[w+32>>2]=j[t+32>>2];b=j[t+28>>2];j[w+24>>2]=j[t+24>>2];j[w+28>>2]=b;b=j[t+20>>2];j[w+16>>2]=j[t+16>>2];j[w+20>>2]=b;b=j[t+12>>2];j[w+8>>2]=j[t+8>>2];j[w+12>>2]=b;b=j[t+4>>2];j[w>>2]=j[t>>2];j[w+4>>2]=b;b=l[d>>1];i[a+348>>1]=b;i[a+346>>1]=b;i[a+344>>1]=b;break m;case 23:b=j[d>>2];if((b|0)<0){e=132;break d}j[a+304>>2]=b;break m;case 24:j[a+568>>2]=390;j[a+312>>2]=1;break m;case 25:j[a+568>>2]=391;j[a+312>>2]=0;break m;case 26:j[a+308>>2]=j[d>>2];break m;case 27:b=j[a+360>>2];c=j[a+364>>2];d=1;while(1){b=b+g|0;j[a+360>>2]=b;if((b|0)>=(c|0)){e=131;break d}e=k[b+o|0];h[a+368|0]=e;g=h[e+89872|0];j[a+372>>2]=g;if((e&254)==64){f=b+1|0;if((f|0)>=(c|0)){e=131;break d}g=2-p(k[f+o|0],g)|0;j[a+372>>2]=g}if((c|0)<(b+g|0)){e=131;break d}E:{switch(e-88|0){case 0:d=d+1|0;if(d){continue}break m;case 1:d=d-1|0;break;default:break E}}if(d){continue}break}break m;case 28:c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;F:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break F}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 29:j[a+320>>2]=j[d>>2];break m;case 30:j[a+324>>2]=j[d>>2];break m;case 31:G=a,H=ye(j[d>>2],j[a+260>>2]),j[G+328>>2]=H;break m;case 32:j[d+4>>2]=j[d>>2];break m;case 35:G=d,H=mP(j[d>>2],j[d+4>>2]),j[G>>2]=H;j[d+4>>2]=pe;break m;case 36:j[d>>2]=j[a+16>>2];break m;case 37:c=d;e=j[d>>2];G:{if(!((b|0)>=(e|0)?(e|0)>=1:0)){b=0;if(!k[a+561|0]){break G}j[a+12>>2]=134;j[d>>2]=0;break m}b=j[(b-e<<2)+n>>2]}j[c>>2]=b;break m;case 38:c=j[d>>2];if(!((b|0)>=(c|0)?(c|0)>=1:0)){if(!k[a+561|0]){break m}e=134;break d}b=(b-c<<2)+n|0;d=j[b>>2];tg(b,b+4|0,(c<<2)-4|0);j[(j[a+24>>2]+(j[a+28>>2]<<2)|0)-4>>2]=d;break m;case 39:H:{b=l[d>>1];if(b>>>0>1]){c=l[d+4>>1];if(c>>>0>1]){break H}}if(!k[a+561|0]){break m}e=134;break d}f=b;d=j[a+52>>2]+(c<<3)|0;b=j[a+88>>2]+(b<<3)|0;b=(qe[j[a+572>>2]](a,j[d>>2]-j[b>>2]|0,j[d+4>>2]-j[b+4>>2]|0)|0)/2|0;qe[j[a+584>>2]](a,v,f,b);qe[j[a+584>>2]](a,t,c,0-b|0);break m;case 40:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=40)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;I:{if(b>>>0>=3){j[a+12>>2]=132;break I}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break I}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break I}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 41:b=l[d>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break m}e=134;break d}b=b+j[a+60>>2]|0;c=b;d=k[b|0];b=l[a+298>>1]?-9:-1;h[c|0]=d&(l[a+300>>1]?b&239:b);break m;case 42:e=134;f=j[d+4>>2];b=j[a+420>>2]+1|0;if(f>>>0>=b>>>0){break d}c=j[a+404>>2];n=j[a+396>>2];J:{if((n|0)==(b|0)){b=c+p(f,24)|0;if((f|0)==j[b+12>>2]){break J}}o=c+p(n,24)|0;b=c;K:{if((n|0)<1){break K}while(1){if((f|0)==j[b+12>>2]){break K}b=b+24|0;if(o>>>0>b>>>0){continue}break}}if((b|0)==(o|0)){break d}}if(!k[b+16|0]){break d}e=130;f=j[a+428>>2];if((f|0)>=j[a+432>>2]){break d}if(j[d>>2]<1){break m}c=j[a+436>>2]+(f<<4)|0;j[c>>2]=j[a+352>>2];j[c+4>>2]=j[a+360>>2]+1;d=j[d>>2];j[c+12>>2]=b;j[c+8>>2]=d;j[a+428>>2]=f+1;d=j[b>>2];c=d-1|0;L:{if(c>>>0>=3){j[a+12>>2]=132;break L}e=j[((c<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break L}c=j[((c<<3)+a|0)+448>>2];b=j[b+4>>2];if((c|0)<(b|0)){j[a+12>>2]=131;break L}j[a+364>>2]=c;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=d}h[a+376|0]=0;break m;case 43:e=134;d=j[d>>2];b=j[a+420>>2]+1|0;if(d>>>0>=b>>>0){break d}c=j[a+404>>2];f=j[a+396>>2];M:{if((f|0)==(b|0)){b=c+p(d,24)|0;if((d|0)==j[b+12>>2]){break M}}n=c+p(f,24)|0;b=c;N:{if((f|0)<1){break N}while(1){if((d|0)==j[b+12>>2]){break N}b=b+24|0;if(n>>>0>b>>>0){continue}break}}if((b|0)==(n|0)){break d}}if(!k[b+16|0]){break d}e=130;d=j[a+428>>2];if((d|0)>=j[a+432>>2]){break d}c=j[a+436>>2]+(d<<4)|0;j[c>>2]=j[a+352>>2];e=j[a+360>>2];j[c+12>>2]=b;j[c+8>>2]=1;j[c+4>>2]=e+1;j[a+428>>2]=d+1;d=j[b>>2];c=d-1|0;O:{if(c>>>0>=3){j[a+12>>2]=132;break O}e=j[((c<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break O}c=j[((c<<3)+a|0)+448>>2];b=j[b+4>>2];if((c|0)<(b|0)){j[a+12>>2]=131;break O}j[a+364>>2]=c;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=d}h[a+376|0]=0;break m;case 44:b=j[a+404>>2];e=j[a+396>>2];f=b+p(e,24)|0;c=j[d>>2];P:{if((e|0)<1){break P}while(1){if((c|0)==j[b+12>>2]){break P}b=b+24|0;if(f>>>0>b>>>0){continue}break}}if((b|0)==(f|0)){if(e>>>0>=m[a+400>>2]){e=140;break d}j[a+396>>2]=e+1}if(c>>>0>65535){e=140;break d}d=j[a+352>>2];j[b+12>>2]=c;j[b>>2]=d;d=j[a+360>>2];j[b+20>>2]=0;i[b+16>>1]=1;j[b+4>>2]=d+1;if(c>>>0>m[a+420>>2]){j[a+420>>2]=c}f=j[a+364>>2];while(1){d=d+g|0;j[a+360>>2]=d;if((d|0)>=(f|0)){e=131;break d}c=k[d+o|0];h[a+368|0]=c;g=h[c+89872|0];j[a+372>>2]=g;if((c&254)==64){e=d+1|0;if((e|0)>=(f|0)){e=131;break d}g=2-p(k[e+o|0],g)|0;j[a+372>>2]=g}if((f|0)<(d+g|0)){e=131;break d}e=137;Q:{switch(c-44|0){case 1:j[b+8>>2]=d;break m;case 0:break d;default:break Q}}if((c|0)!=137){continue}break}break d;case 34:j[a+32>>2]=0;break k;case 33:case 89:case 126:case 127:j[a+16>>2]=q;break j;case 12:j[d>>2]=i[a+294>>1];j[d+4>>2]=i[a+296>>1];break m;default:if(f>>>0>=224){R:{S:{f=l[d>>1];T:{if(f>>>0>=l[a+80>>1]){break T}b=j[d+4>>2];c=b+1|0;if(c>>>0>=j[a+380>>2]+1>>>0){break T}if(l[a+284>>1]>1]){break S}}if(!k[a+561|0]){break R}j[a+12>>2]=134;break R}q=j[a+320>>2];o=j[a+308>>2];g=0;if(c){g=qe[j[a+596>>2]](a,b)|0}b=j[a+328>>2];d=g-b|0;c=d>>31;b=j[a+324>>2]>(c^c+d)?(g|0)>-1?b:0-b|0:g;c=0-b|0;U:{if(l[a+346>>1]){break U}d=i[a+298>>1];c=d>>31;n=c^c+d;c=b>>31;g=c+b^c;s=g>>>16|0;u=p(n,s);e=u<<16|8192;y=f<<3;c=y+j[a+84>>2]|0;z=j[a+48>>2]+(l[a+284>>1]<<3)|0;A=e;x=n;n=g&65535;e=e+p(x,n)|0;e=(u>>>16|0)+(A>>>0>e>>>0)<<18|e>>>14;j[c>>2]=j[z>>2]+((b^d)>-1?e:0-e|0);d=i[a+300>>1];e=d>>31;g=e^d+e;s=p(g,s);e=s<<16|8192;x=e;e=e+p(g,n)|0;e=(s>>>16|0)+(x>>>0>e>>>0)<<18|e>>>14;j[c+4>>2]=j[z+4>>2]+((b^d)>-1?e:0-e|0);e=j[c+4>>2];d=y+j[a+88>>2]|0;j[d>>2]=j[c>>2];j[d+4>>2]=e;c=0-b|0}d=f<<3;e=d+j[a+84>>2]|0;n=j[a+48>>2]+(l[a+284>>1]<<3)|0;n=qe[j[a+576>>2]](a,j[e>>2]-j[n>>2]|0,j[e+4>>2]-j[n+4>>2]|0)|0;d=d+j[a+88>>2]|0;e=j[a+52>>2]+(l[a+284>>1]<<3)|0;g=qe[j[a+572>>2]](a,j[d>>2]-j[e>>2]|0,j[d+4>>2]-j[e+4>>2]|0)|0;b=(b^n)<0?k[a+316|0]?c:b:b;c=k[a+368|0];V:{if(c&4){d=a;if(l[a+344>>1]==l[a+346>>1]){s=b-n|0;e=s>>31;b=(q|0)<(e^e+s)?n:b}e=qe[j[a+568>>2]](d,b,j[(((c&3)<<2)+a|0)+264>>2])|0;c=k[a+368|0];break V}d=j[(((c&3)<<2)+a|0)+264>>2];if((b|0)>=0){b=b+d|0;e=(b|0)>0?b:0;break V}b=b-d|0;e=b>>31&b}W:{if(!(c&8)){break W}if((n|0)>=0){e=(e|0)<(o|0)?o:e;break W}b=0-o|0;e=(b|0)<(e|0)?b:e}qe[j[a+584>>2]](a,v,f,e-g|0)}i[a+286>>1]=l[a+284>>1];if(k[a+368|0]&16){i[a+284>>1]=f}i[a+288>>1]=f;break m}if(f>>>0>=192){X:{Y:{b=l[d>>1];if(b>>>0>1]){c=l[a+284>>1];if(c>>>0>1]){break Y}}if(!k[a+561|0]){break X}j[a+12>>2]=134;break X}f=j[a+308>>2];Z:{if(!(l[a+346>>1]?l[a+344>>1]:0)){d=j[a+84>>2]+(b<<3)|0;c=j[a+48>>2]+(c<<3)|0;c=qe[j[a+576>>2]](a,j[d>>2]-j[c>>2]|0,j[d+4>>2]-j[c+4>>2]|0)|0;break Z}c=j[a+56>>2]+(c<<3)|0;d=j[a+92>>2]+(b<<3)|0;e=j[a+220>>2];if((e|0)==j[a+224>>2]){c=ye(qe[j[a+576>>2]](a,j[d>>2]-j[c>>2]|0,j[d+4>>2]-j[c+4>>2]|0)|0,j[a+220>>2]);break Z}c=(H=a,I=ye(j[d>>2]-j[c>>2]|0,e),J=ye(j[d+4>>2]-j[c+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](H|0,I|0,J|0)|0)}d=j[a+328>>2];n=c-d|0;e=n>>31;d=j[a+324>>2]>(e^e+n)?(c|0)>-1?d:0-d|0:c;c=k[a+368|0];_:{if(c&4){e=qe[j[a+568>>2]](a,d,j[(((c&3)<<2)+a|0)+264>>2])|0;c=k[a+368|0];break _}e=j[(((c&3)<<2)+a|0)+264>>2];if((d|0)>=0){e=d+e|0;e=(e|0)>0?e:0;break _}e=d-e|0;e=e>>31&e}$:{if(!(c&8)){break $}if((d|0)>=0){e=(e|0)<(f|0)?f:e;break $}c=0-f|0;e=(c|0)<(e|0)?c:e}c=j[a+88>>2]+(b<<3)|0;d=j[a+52>>2]+(l[a+284>>1]<<3)|0;J=a,I=v,H=b,K=e-(qe[j[a+572>>2]](a,j[c>>2]-j[d>>2]|0,j[c+4>>2]-j[d+4>>2]|0)|0)|0,G=j[a+584>>2],qe[G](J|0,I|0,H|0,K|0)}i[a+288>>1]=b;i[a+286>>1]=l[a+284>>1];if(!(k[a+368|0]&16)){break m}i[a+284>>1]=b;break m}if(f>>>0>=184){e=130;f=f+65353&65535;if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}b=j[a+360>>2];c=b+1|0;j[a+360>>2]=c;aa:{if(!f){break aa}j[a+360>>2]=b+3;j[d>>2]=(k[(b+o|0)+2|0]|k[c+o|0]<<8)<<16>>16;b=1;c=1;if((f|0)==1){break aa}while(1){e=j[a+360>>2];j[a+360>>2]=e+2;n=d+(b<<2)|0;b=e+o|0;b=k[b|0]|k[b+1|0]<<8;j[n>>2]=(b<<24|b<<8&16711680)>>16;c=c+1|0;b=c&65535;if(f>>>0>b>>>0){continue}break}}h[a+376|0]=0;break m}if(f>>>0>=176){b=1;e=130;f=f+65361&65535;if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}c=1;if(!f){break m}while(1){j[(d+(b<<2)|0)-4>>2]=k[o+(j[a+360>>2]+b|0)|0];c=c+1|0;b=c&65535;if(f>>>0>=b>>>0){continue}break}break m}b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){c=p(g,24)+b|0;d=b;while(1){if(!(!k[d+16|0]|(f|0)!=k[d+12|0])){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];c=j[a+360>>2];j[b+12>>2]=d;j[b+8>>2]=1;j[b+4>>2]=c+1;c=j[d>>2];b=c-1|0;ba:{if(b>>>0>=3){j[a+12>>2]=132;break ba}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ba}b=j[((b<<3)+a|0)+448>>2];d=j[d+4>>2];if((b|0)<(d|0)){j[a+12>>2]=131;break ba}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=d;j[a+352>>2]=c}h[a+376|0]=0;break m}d=d+24|0;if(c>>>0>d>>>0){continue}break}}j[a+12>>2]=128;break l;case 143:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=143)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;ca:{if(b>>>0>=3){j[a+12>>2]=132;break ca}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ca}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break ca}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 142:b=j[d+4>>2]-1|0;if(b>>>0>=3){if(!k[a+561|0]){break m}e=134;break d}c=j[d>>2];b=1<>2];if((b|0)<0){break m}j[a+340>>2]=b;break m;case 140:b=j[d+4>>2];if((b|0)>=j[d>>2]){break m}j[d>>2]=b;break m;case 139:b=j[d+4>>2];if((b|0)<=j[d>>2]){break m}j[d>>2]=b;break m;case 138:b=j[d+4>>2];c=j[d+8>>2];j[d+8>>2]=j[d>>2];j[d>>2]=b;j[d+4>>2]=c;break m;case 137:b=j[a+416>>2];c=j[a+408>>2];e=b+p(c,24)|0;da:{if((c|0)<1){break da}f=j[d>>2];while(1){if((f|0)==j[b+12>>2]){break da}b=b+24|0;if(e>>>0>b>>>0){continue}break}}if((b|0)==(e|0)){if(c>>>0>=m[a+412>>2]){e=141;break d}j[a+408>>2]=c+1}c=j[d>>2];if(c>>>0>255){e=141;break d}j[b+12>>2]=c;c=j[a+360>>2];j[b+4>>2]=c+1;e=j[a+352>>2];h[b+16|0]=1;j[b>>2]=e;b=j[d>>2];if(b>>>0>m[a+424>>2]){j[a+424>>2]=b&255}d=j[a+364>>2];while(1){c=c+g|0;j[a+360>>2]=c;if((c|0)>=(d|0)){e=131;break d}b=k[c+o|0];h[a+368|0]=b;g=h[b+89872|0];j[a+372>>2]=g;if((b&254)==64){e=c+1|0;if((e|0)>=(d|0)){e=131;break d}g=2-p(k[e+o|0],g)|0;j[a+372>>2]=g}if((d|0)<(c+g|0)){e=131;break d}e=137;ea:{switch(b-44|0){case 1:break m;case 0:break d;default:break ea}}if((b|0)!=137){continue}break}break d;case 136:c=j[d>>2];b=0-(c&1)&35;b=c&2?k[a+281|0]?b|128:b:b;b=c&4?k[a+282|0]?b|256:b:b;if(c&32){b=k[a+608|0]?b|4096:b}j[d>>2]=b;break m;case 134:case 135:fa:{b=l[d>>1];if(b>>>0>1]){d=l[d+4>>1];if(d>>>0>1]){break fa}}if(!k[a+561|0]){break m}e=134;break d}e=j[a+84>>2]+(b<<3)|0;n=j[a+120>>2]+(d<<3)|0;c=j[e+4>>2]-j[n+4>>2]|0;n=j[e>>2]-j[n>>2]|0;e=c|n;n=e?n:16384;f=!(f&1)|!e;e=f?c:n;c=f?n:0-c|0;n=c>>31;ga:{ha:{if((n^c+n)>16383){break ha}n=e>>31;if((n+e^n)>16383){break ha}if(!(c|e)){break ga}e=e<<14;c=c<<14}n=c;c=ig(c,e)<<2;G=a,K=De(n,c),i[G+290>>1]=K;G=a,K=De(e,c),i[G+292>>1]=K}c=j[a+88>>2]+(b<<3)|0;d=j[a+124>>2]+(d<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=f|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;ia:{ja:{if((d^b+d)>16383){break ja}d=c>>31;if((d+c^d)>16383){break ja}if(!(b|c)){break ia}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,K=De(d,b),i[G+294>>1]=K;G=a,K=De(c,b),i[G+296>>1]=K}kh(a);break m;case 133:ka:{b=j[d>>2];c=b&255;if(c){if((c|0)!=255){break ka}h[a+337|0]=1;break m}h[a+337|0]=0;break m}if(!(!(b&256)|c>>>0>1])){h[a+337|0]=1}if(!(!(b&512)|!k[a+281|0])){h[a+337|0]=1}if(!(!(b&1024)|!k[a+282|0])){h[a+337|0]=1}if(!(!(b&2048)|c>>>0>=l[a+252>>1])){h[a+337|0]=0}if(!(!(b&4096)|!k[a+281|0])){h[a+337|0]=0}if(!(b&8192)|!k[a+282|0]){break m}h[a+337|0]=0;break m;case 131:case 132:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){c=p(g,24)+b|0;d=b;while(1){if(!(!k[d+16|0]|(f|0)!=k[d+12|0])){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];c=j[a+360>>2];j[b+12>>2]=d;j[b+8>>2]=1;j[b+4>>2]=c+1;c=j[d>>2];b=c-1|0;la:{if(b>>>0>=3){j[a+12>>2]=132;break la}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break la}b=j[((b<<3)+a|0)+448>>2];d=j[d+4>>2];if((b|0)<(d|0)){j[a+12>>2]=131;break la}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=d;j[a+352>>2]=c}h[a+376|0]=0;break m}d=d+24|0;if(c>>>0>d>>>0){continue}break}}j[a+12>>2]=128;break l;case 130:ma:{e=l[d+4>>1];c=l[a+152>>1];if(e>>>0>=c>>>0){break ma}b=l[d>>1];if(c>>>0<=b>>>0){break ma}if(b>>>0>e>>>0){break m}c=b;while(1){b=j[a+168>>2]+b|0;h[b|0]=k[b|0]&254;c=c+1|0;b=c&65535;if(e>>>0>=b>>>0){continue}break}break m}if(!k[a+561|0]){break m}e=134;break d;case 129:na:{e=l[d+4>>1];c=l[a+152>>1];if(e>>>0>=c>>>0){break na}b=l[d>>1];if(c>>>0<=b>>>0){break na}if(b>>>0>e>>>0){break m}c=b;while(1){b=j[a+168>>2]+b|0;h[b|0]=k[b|0]|1;c=c+1|0;b=c&65535;if(e>>>0>=b>>>0){continue}break}break m}if(!k[a+561|0]){break m}e=134;break d;case 128:oa:{pa:{c=j[a+304>>2];if((c|0)<=j[a+16>>2]){if((c|0)>0){break pa}break oa}if(!k[a+561|0]){break oa}j[a+12>>2]=129;break oa}while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];qa:{if(b>>>0>=l[a+152>>1]){if(!k[a+561|0]){break qa}e=134;break d}b=b+j[a+168>>2]|0;h[b|0]=k[b|0]^1;c=j[a+304>>2]}d=c-1|0;j[a+304>>2]=d;b=j[a+28>>2];if((c|0)<2){break oa}n=j[a+24>>2];c=d;continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 125:j[a+568>>2]=392;j[a+312>>2]=3;break m;case 124:j[a+568>>2]=393;j[a+312>>2]=4;break m;case 123:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=123)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;ra:{if(b>>>0>=3){j[a+12>>2]=132;break ra}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ra}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break ra}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 122:j[a+568>>2]=394;j[a+312>>2]=5;break m;case 121:if(j[d+4>>2]){break m}c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;sa:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break sa}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 120:if(!j[d+4>>2]){break m}c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;ta:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break ta}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 119:e=j[d>>2];b=e>>>4|0;d=j[(b&12)+91384>>2];j[a+476>>2]=d;ua:{va:{wa:{xa:{c=b&3;switch(c-1|0){case 2:break va;case 1:break wa;case 0:break xa;default:break ua}}c=d>>>10|0;break ua}c=d>>>9|0;break ua}c=p(d,3)>>>10|0}j[a+480>>2]=c;j[a+568>>2]=395;j[a+312>>2]=7;b=a;e=e&15;c=d-1|0;ya:{if(!e){break ya}c=(p(d,e-4|0)|0)/8|0}j[b+484>>2]=c>>8;j[a+476>>2]=d>>>8;break m;case 118:e=j[d>>2];b=e>>>4|0;d=j[(b&12)+91368>>2];j[a+476>>2]=d;za:{Aa:{Ba:{Ca:{c=b&3;switch(c-1|0){case 2:break Aa;case 1:break Ba;case 0:break Ca;default:break za}}c=d>>>10|0;break za}c=d>>>9|0;break za}c=p(d,3)>>>10|0}j[a+480>>2]=c;j[a+568>>2]=396;j[a+312>>2]=6;b=a;e=e&15;c=d-1|0;Da:{if(!e){break Da}c=(p(d,e-4|0)|0)/8|0}j[b+484>>2]=c>>8;j[a+476>>2]=d>>>8;break m;case 115:case 116:case 117:e=qe[j[a+592>>2]](a)|0;c=1;d=j[d>>2];Ea:{if(!d){break Ea}while(1){b=j[a+28>>2];if((b|0)<=1){if(k[a+561|0]){j[a+12>>2]=129}j[a+28>>2]=0;break Ea}f=b-2|0;j[a+28>>2]=f;n=b<<2;b=j[a+24>>2];n=j[(n+b|0)-4>>2];Fa:{if(n>>>0>=m[a+380>>2]){if(!k[a+561|0]){break Fa}e=134;break d}f=j[b+(f<<2)>>2];b=f>>>4&15;Ga:{Ha:{switch(k[a+368|0]-116|0){case 0:b=b|16;break Ga;case 1:break Ha;default:break Ga}}b=b|32}if((e|0)!=(l[a+332>>1]+b|0)){break Fa}b=f&15;qe[j[a+604>>2]](a,n,(b>>>0>7?-7:-8)+b<<6-l[a+334>>1])}c=c+1|0;if(d>>>0>=c>>>0){continue}break}}j[a+32>>2]=j[a+28>>2];break m;case 113:case 114:Yn(a,d);break m;case 112:b=j[d>>2];if(b>>>0>=m[a+380>>2]){if(!k[a+561|0]){break m}e=134;break d}c=ye(j[d+4>>2],j[a+260>>2]);j[j[a+384>>2]+(b<<2)>>2]=c;break m;case 108:case 109:case 110:case 111:b=j[((f<<2)+a|0)-168>>2];c=j[d>>2];if((c|0)>=0){b=b+c|0;j[d>>2]=(b|0)>0?b:0;break m}b=c-b|0;j[d>>2]=b>>31&b;break m;case 104:case 105:case 106:case 107:G=d,K=qe[j[a+568>>2]](a,j[d>>2],j[((f<<2)+a|0)-152>>2])|0,j[G>>2]=K;break m;case 103:j[d>>2]=j[d>>2]+63&-64;break m;case 102:j[d>>2]=j[d>>2]&-64;break m;case 101:j[d>>2]=0-j[d>>2];break m;case 100:c=j[d>>2];b=c>>31;j[d>>2]=b^b+c;break m;case 99:G=d,K=Ne(j[d>>2],j[d+4>>2],64),j[G>>2]=K;break m;case 98:b=j[d+4>>2];if(!b){e=133;break d}G=d,K=sl(j[d>>2],64,b),j[G>>2]=K;break m;case 97:j[d>>2]=j[d>>2]-j[d+4>>2];break m;case 96:j[d>>2]=j[d>>2]+j[d+4>>2];break m;case 95:b=j[d>>2];if(b>>>0>6){e=132;break d}i[a+334>>1]=b;break m;case 94:i[a+332>>1]=j[d>>2];break m;case 93:Yn(a,d);break m;case 92:j[d>>2]=!j[d>>2];break m;case 91:b=d;j[b>>2]=j[b>>2]?1:j[b+4>>2]!=0;break m;case 90:if(!j[d>>2]){j[d>>2]=0;break m}j[d>>2]=j[d+4>>2]!=0;break m;case 88:if(j[d>>2]){break m}b=j[a+360>>2];e=j[a+364>>2];d=1;while(1){b=b+g|0;j[a+360>>2]=b;if((b|0)>=(e|0)){e=131;break d}c=k[b+o|0];h[a+368|0]=c;g=h[c+89872|0];j[a+372>>2]=g;if((c&254)==64){f=b+1|0;if((f|0)>=(e|0)){e=131;break d}g=2-p(k[f+o|0],g)|0;j[a+372>>2]=g}if((e|0)<(b+g|0)){e=131;break d}Ia:{if((c|0)!=27){Ja:{switch(c-88|0){case 1:break Ia;case 0:break Ja;default:continue}}d=d+1|0;continue}if((d|0)!=1){continue}break m}d=d-1|0;if(d){continue}break}break m;case 87:G=d,K=!(qe[j[a+568>>2]](a,j[d>>2],0)&127),j[G>>2]=K;break m;case 86:G=d,K=(qe[j[a+568>>2]](a,j[d>>2],0)&127)==64,j[G>>2]=K;break m;case 85:j[d>>2]=j[d>>2]!=j[d+4>>2];break m;case 84:j[d>>2]=j[d>>2]==j[d+4>>2];break m;case 83:j[d>>2]=j[d>>2]>=j[d+4>>2];break m;case 82:j[d>>2]=j[d>>2]>j[d+4>>2];break m;case 81:j[d>>2]=j[d>>2]<=j[d+4>>2];break m;case 80:j[d>>2]=j[d>>2]>2];break m;case 78:h[a+316|0]=0;break k;case 77:h[a+316|0]=1;break k;case 76:G=d,K=qe[j[a+592>>2]](a)|0,j[G>>2]=K;break m;case 75:G=d,K=qe[j[a+592>>2]](a)|0,j[G>>2]=K;break m;case 73:case 74:Ka:{La:{b=d;e=l[b>>1];if(e>>>0>1]){c=l[d+4>>1];if(c>>>0>1]){break La}}c=0;if(!k[a+561|0]){break Ka}j[a+12>>2]=134;j[d>>2]=0;break m}if(f&1){b=j[a+52>>2]+(e<<3)|0;c=j[a+88>>2]+(c<<3)|0;G=d,K=qe[j[a+572>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0,j[G>>2]=K;break m}if(!(l[a+346>>1]?l[a+344>>1]:0)){b=j[a+48>>2]+(e<<3)|0;c=j[a+84>>2]+(c<<3)|0;G=d,K=qe[j[a+576>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0,j[G>>2]=K;break m}c=j[a+92>>2]+(c<<3)|0;e=j[a+56>>2]+(e<<3)|0;f=j[a+220>>2];if((f|0)==j[a+224>>2]){G=d,K=ye(qe[j[a+576>>2]](a,j[e>>2]-j[c>>2]|0,j[e+4>>2]-j[c+4>>2]|0)|0,j[a+220>>2]),j[G>>2]=K;break m}c=(K=a,H=ye(j[e>>2]-j[c>>2]|0,f),I=ye(j[e+4>>2]-j[c+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](K|0,H|0,I|0)|0)}j[b>>2]=c;break m;case 72:b=l[d>>1];if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break m}e=134;break d}c=b<<3;e=c+j[a+124>>2]|0;e=qe[j[a+572>>2]](a,j[e>>2],j[e+4>>2])|0;qe[j[a+584>>2]](a,w,b,j[d+4>>2]-e|0);if(l[a+348>>1]){break m}b=c+j[a+120>>2]|0;c=c+j[a+124>>2]|0;d=j[c+4>>2];j[b>>2]=j[c>>2];j[b+4>>2]=d;break m;case 70:case 71:b=d;c=j[b>>2];Ma:{if(c>>>0>=l[a+116>>1]){c=0;if(!k[a+561|0]){break Ma}j[a+12>>2]=134;j[d>>2]=0;break m}if(f&1){b=j[a+120>>2]+(c<<3)|0;G=d,I=qe[j[a+576>>2]](a,j[b>>2],j[b+4>>2])|0,j[G>>2]=I;break m}c=j[a+124>>2]+(c<<3)|0;c=qe[j[a+572>>2]](a,j[c>>2],j[c+4>>2])|0}j[b>>2]=c;break m;case 69:b=d;d=b;c=j[b>>2];Na:{if(c>>>0>=m[a+380>>2]){b=0;if(!k[a+561|0]){break Na}e=134;break d}b=qe[j[a+596>>2]](a,c)|0}j[d>>2]=b;break m;case 68:b=j[d>>2];if(b>>>0>=m[a+380>>2]){if(!k[a+561|0]){break m}e=134;break d}qe[j[a+600>>2]](a,b,j[d+4>>2]);break m;case 67:b=d;d=b;c=j[b>>2];Oa:{if(c>>>0>=l[a+468>>1]){b=0;if(!k[a+561|0]){break Oa}e=134;break d}b=j[j[a+472>>2]+(c<<2)>>2]}j[d>>2]=b;break m;case 66:b=j[d>>2];if(b>>>0>=l[a+468>>1]){if(!k[a+561|0]){break m}e=134;break d}j[j[a+472>>2]+(b<<2)>>2]=j[d+4>>2];break m;case 65:e=130;n=(c-j[a+16>>2]|0)+1|0;b=j[a+360>>2];c=b+o|0;f=k[c+1|0];if(n>>>0<=f>>>0){break d}e=b+2|0;j[a+360>>2]=e;Pa:{if(!f){break Pa}j[a+360>>2]=b+4;j[d>>2]=(k[c+3|0]|k[e+o|0]<<8)<<16>>16;b=1;c=1;if((f|0)==1){break Pa}while(1){e=j[a+360>>2];j[a+360>>2]=e+2;n=d+(b<<2)|0;b=e+o|0;b=k[b|0]|k[b+1|0]<<8;j[n>>2]=(b<<24|b<<8&16711680)>>16;c=c+1|0;b=c&65535;if(f>>>0>b>>>0){continue}break}}h[a+376|0]=0;j[a+32>>2]=f+j[a+32>>2];break m;case 64:e=130;b=o+j[a+360>>2]|0;f=k[b+1|0];if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}Qa:{if(!f){break Qa}j[d>>2]=k[b+2|0];b=2;c=2;if((f|0)==1){break Qa}while(1){j[(d+(b<<2)|0)-4>>2]=k[(o+(j[a+360>>2]+b|0)|0)+1|0];c=c+1|0;b=c&65535;if(f>>>0>=b>>>0){continue}break}}j[a+32>>2]=f+j[a+32>>2];break m;case 62:case 63:Ra:{Sa:{c=l[d>>1];if(c>>>0>1]){b=j[d+4>>2];if(b>>>0>2]){break Sa}}if(!k[a+561|0]){break Ra}j[a+12>>2]=134;break Ra}g=j[a+320>>2];b=qe[j[a+596>>2]](a,b)|0;if(!l[a+344>>1]){e=i[a+298>>1];d=e>>31;n=d^d+e;d=b>>31;o=d+b^d;q=o>>>16|0;s=p(n,q);f=s<<16|8192;u=c<<3;d=u+j[a+48>>2]|0;A=f;x=n;n=o&65535;f=f+p(x,n)|0;f=(s>>>16|0)+(A>>>0>f>>>0)<<18|f>>>14;j[d>>2]=(b^e)>-1?f:0-f|0;e=i[a+300>>1];f=e>>31;o=f^e+f;q=p(o,q);f=q<<16|8192;x=f;f=f+p(o,n)|0;f=(q>>>16|0)+(x>>>0>f>>>0)<<18|f>>>14;j[d+4>>2]=(b^e)>-1?f:0-f|0;f=j[d+4>>2];e=u+j[a+52>>2]|0;j[e>>2]=j[d>>2];j[e+4>>2]=f}d=j[a+52>>2]+(c<<3)|0;n=qe[j[a+572>>2]](a,j[d>>2],j[d+4>>2])|0;d=a;e=t;f=c;if(h[a+368|0]&1){q=b-n|0;o=q>>31;b=qe[j[a+568>>2]](a,(g|0)<(o^o+q)?n:b,j[a+264>>2])|0}qe[j[a+584>>2]](d,e,f,b-n|0)}i[a+286>>1]=c;i[a+284>>1]=c;break m;case 61:j[a+568>>2]=397;j[a+312>>2]=2;break m;case 60:Ta:{c=j[a+304>>2];if(!(l[a+284>>1]>1]?(c|0)<=j[a+16>>2]:0)){if(!k[a+561|0]){break Ta}j[a+12>>2]=134;break Ta}if((c|0)<1){break Ta}while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];Ua:{if(b>>>0>=l[a+80>>1]){if(!k[a+561|0]){break Ua}e=134;break d}d=b;b=j[a+88>>2]+(b<<3)|0;c=j[a+52>>2]+(l[a+284>>1]<<3)|0;I=a,H=v,K=d,J=0-(qe[j[a+572>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0)|0,G=j[a+584>>2],qe[G](I|0,H|0,K|0,J|0);c=j[a+304>>2]}d=c-1|0;j[a+304>>2]=d;b=j[a+28>>2];if((c|0)<2){break Ta}n=j[a+24>>2];c=d;continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 58:case 59:Va:{b=l[d>>1];if(b>>>0>1]){c=l[a+284>>1];if(c>>>0>1]){break Va}}if(!k[a+561|0]){break m}e=134;break d}if(!l[a+346>>1]){c=j[a+48>>2]+(c<<3)|0;n=j[c+4>>2];e=b<<3;f=e+j[a+84>>2]|0;j[f>>2]=j[c>>2];j[f+4>>2]=n;qe[j[a+588>>2]](a,v,b,j[d+4>>2]);c=e+j[a+88>>2]|0;e=e+j[a+84>>2]|0;f=j[e+4>>2];j[c>>2]=j[e>>2];j[c+4>>2]=f;c=l[a+284>>1]}e=j[a+88>>2]+(b<<3)|0;c=j[a+52>>2]+(c<<3)|0;c=qe[j[a+572>>2]](a,j[e>>2]-j[c>>2]|0,j[e+4>>2]-j[c+4>>2]|0)|0;qe[j[a+584>>2]](a,v,b,j[d+4>>2]-c|0);i[a+288>>1]=b;i[a+286>>1]=l[a+284>>1];if(!(h[a+368|0]&1)){break m}i[a+284>>1]=b;break m;case 57:c=j[a+304>>2];Wa:{if((c|0)>j[a+16>>2]){if(!k[a+561|0]){break Wa}j[a+12>>2]=134;break Wa}d=1;d=!l[a+344>>1]|!l[a+346>>1]?d:!l[a+348>>1];b=l[a+286>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break Wa}j[a+12>>2]=134;break Wa}f=j[(d?48:56)+a>>2];e=b<<3;n=f+e|0;q=j[a+52>>2];s=q+e|0;e=0;g=0;o=l[a+288>>1];if(o>>>0>1]){Xa:{if(d){c=j[a+84>>2]+(o<<3)|0;g=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[(f+(b<<3)|0)+4>>2]|0)|0;break Xa}c=j[a+220>>2];if((c|0)==j[a+224>>2]){c=j[a+92>>2]+(o<<3)|0;g=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[(f+(b<<3)|0)+4>>2]|0)|0;break Xa}g=(J=a,K=ye(j[j[a+92>>2]+(o<<3)>>2]-j[n>>2]|0,c),H=ye(j[(j[a+92>>2]+(l[a+288>>1]<<3)|0)+4>>2]-j[(f+(b<<3)|0)+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](J|0,K|0,H|0)|0)}c=j[a+88>>2]+(l[a+288>>1]<<3)|0;e=qe[j[a+572>>2]](a,j[c>>2]-j[s>>2]|0,j[c+4>>2]-j[(q+(b<<3)|0)+4>>2]|0)|0;c=j[a+304>>2]}if((c|0)<1){break Wa}b=b<<3;q=b+q|0;o=b+f|0;while(1){b=j[a+28>>2]-1|0;j[a+28>>2]=b;A=a;b=j[j[a+24>>2]+(b<<2)>>2];Ya:{if(b>>>0>=l[a+116>>1]){b=c;if(!k[a+561|0]){break Ya}e=134;break d}Za:{if(d){c=j[a+120>>2]+(b<<3)|0;c=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[o+4>>2]|0)|0;break Za}c=j[a+220>>2];if((c|0)==j[a+224>>2]){c=j[a+128>>2]+(b<<3)|0;c=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[o+4>>2]|0)|0;break Za}u=b<<3;c=(H=a,K=ye(j[u+j[a+128>>2]>>2]-j[n>>2]|0,c),J=ye(j[(u+j[a+128>>2]|0)+4>>2]-j[o+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](H|0,K|0,J|0)|0)}u=j[a+124>>2]+(b<<3)|0;u=qe[j[a+572>>2]](a,j[u>>2]-j[s>>2]|0,j[u+4>>2]-j[q+4>>2]|0)|0;x=a;f=w;b=b&65535;if(!(!g|!c)){c=Ne(c,e,g)}qe[j[a+584>>2]](x,f,b,c-u|0);b=j[a+304>>2]}c=b-1|0;j[A+304>>2]=c;if((b|0)>1){continue}break}}j[a+304>>2]=1;j[a+32>>2]=j[a+28>>2];break m;case 56:_a:{c=j[a+304>>2];if((c|0)>=j[a+16>>2]){if(!k[a+561|0]){break _a}j[a+12>>2]=134;break _a}if((c|0)<1){break _a}e=i[a+300>>1];f=e>>31;c=j[d>>2];d=c>>31;f=f^e+f;o=d^c+d;g=o>>>16|0;q=p(f,g);d=q<<16|8192;A=d;x=f;f=o&65535;d=d+p(x,f)|0;d=(q>>>16|0)+(A>>>0>d>>>0)<<18|d>>>14;o=(c^e)>-1?d:0-d|0;d=i[a+298>>1];e=d>>31;x=g;g=e^d+e;q=p(x,g);e=q<<16|8192;x=e;e=e+p(f,g)|0;e=(q>>>16|0)+(x>>>0>e>>>0)<<18|e>>>14;c=(c^d)>-1?e:0-e|0;while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];$a:{if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break $a}e=134;break d}if(l[a+298>>1]){d=j[a+124>>2]+(b<<3)|0;j[d>>2]=c+j[d>>2];d=b+j[a+132>>2]|0;h[d|0]=k[d|0]|8}if(!l[a+300>>1]){break $a}d=j[a+124>>2]+(b<<3)|0;j[d+4>>2]=o+j[d+4>>2];b=b+j[a+132>>2]|0;h[b|0]=k[b|0]|16}d=j[a+304>>2];j[a+304>>2]=d-1;b=j[a+28>>2];if((d|0)<2){break _a}n=j[a+24>>2];continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 54:case 55:if(m[d>>2]>=2){if(!k[a+561|0]){break m}j[a+12>>2]=134;break m}if(Tk(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}ab:{bb:{switch(l[a+348>>1]){case 0:b=l[a+116>>1];break ab;case 1:break bb;default:break m}}b=i[a+118>>1];if((b|0)<1){break m}b=l[(j[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}d=b&65535;if(!d){break m}c=j[a+124>>2];b=0;e=l[r+22>>1];f=j[r+16>>2];n=j[r+12>>2];o=j[r+40>>2];while(1){cb:{if((b|0)==(e|0)?(c|0)==(o|0):0){break cb}if(l[a+298>>1]){g=c+(b<<3)|0;j[g>>2]=f+j[g>>2]}if(!l[a+300>>1]){break cb}g=c+(b<<3)|0;j[g+4>>2]=n+j[g+4>>2]}b=b+1|0;if((d|0)!=(b|0)){continue}break}break m;case 52:case 53:if(l[a+348>>1]){f=i[a+118>>1]}else{f=1}b=j[d>>2]<<16;c=b>>16;if(f>>>0<=c>>>0){if(!k[a+561|0]){break m}j[a+12>>2]=134;break m}if(Tk(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}b=(b?(l[(j[a+136>>2]+(c<<1)|0)-2>>1]-l[a+140>>1]|0)+1|0:0)&65535;d=b;if(l[a+348>>1]){c=(l[j[a+136>>2]+(c<<1)>>1]-l[a+140>>1]|0)+1|0}else{c=l[a+116>>1]}c=c&65535;if(d>>>0>=c>>>0){break m}d=l[r+22>>1];e=j[r+16>>2];f=j[r+12>>2];n=j[r+40>>2];while(1){o=j[a+124>>2];db:{if((o|0)==(n|0)?(b|0)==(d|0):0){break db}if(l[a+298>>1]){o=o+(b<<3)|0;j[o>>2]=e+j[o>>2];o=j[a+132>>2]+b|0;h[o|0]=k[o|0]|8}if(!l[a+300>>1]){break db}o=j[a+124>>2]+(b<<3)|0;j[o+4>>2]=f+j[o+4>>2];o=j[a+132>>2]+b|0;h[o|0]=k[o|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break}break m;case 50:case 51:eb:{if(j[a+16>>2]>2]){if(!k[a+561|0]){break eb}j[a+12>>2]=134;break eb}if(Tk(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}if(j[a+304>>2]<1){break eb}c=j[r+16>>2];d=j[r+12>>2];while(1){b=j[a+28>>2]-1|0;j[a+28>>2]=b;b=l[j[a+24>>2]+(b<<2)>>1];fb:{if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break fb}j[a+12>>2]=134;break m}if(l[a+298>>1]){e=j[a+124>>2]+(b<<3)|0;j[e>>2]=c+j[e>>2];e=b+j[a+132>>2]|0;h[e|0]=k[e|0]|8}if(!l[a+300>>1]){break fb}e=j[a+124>>2]+(b<<3)|0;j[e+4>>2]=d+j[e+4>>2];b=b+j[a+132>>2]|0;h[b|0]=k[b|0]|16}b=j[a+304>>2];j[a+304>>2]=b-1;if((b|0)>1){continue}break}}j[a+304>>2]=1;j[a+32>>2]=j[a+28>>2];break m;case 48:case 49:if(!l[a+154>>1]){break m}gb:{if(f&1){z=j[a+156>>2];j[r+24>>2]=z;u=j[a+160>>2];j[r+28>>2]=u;j[r+32>>2]=j[a+164>>2];b=8;break gb}z=j[a+156>>2]+4|0;j[r+24>>2]=z;u=j[a+160>>2]+4|0;j[r+28>>2]=u;j[r+32>>2]=j[a+164>>2]+4;b=16}q=b;c=l[a+152>>1];j[r+36>>2]=c;y=0;d=0;while(1){b=l[j[a+172>>2]+(y<<1)>>1]-l[a+176>>1]|0;c=c&65535;s=b>>>0>>0?b:c-1|0;hb:{if(s>>>0>>0){b=d;break hb}g=j[a+168>>2];c=d;ib:{jb:{while(1){kb:{b=c+1|0;if(q&k[c+g|0]){n=b;e=c;o=c;lb:{B=b>>>0>s>>>0;if(!B){while(1){f=n;if(q&k[f+g|0]){Sk(r+24|0,o+1|0,e,o,f);o=f}n=f+1|0;if(s>>>0>=n>>>0){g=j[a+168>>2];e=f;continue}break}if((c|0)!=(o|0)){break lb}}e=c<<3;e=j[e+u>>2]-j[e+z>>2]|0;if(!e){break ib}if(c>>>0>d>>>0){break kb}break jb}Sk(r+24|0,o+1&65535,s,o,c);if(!c){break ib}Sk(r+24|0,d,c-1|0,o,c);break ib}c=b;if(b>>>0<=s>>>0){continue}break hb}break}while(1){f=(d<<3)+u|0;j[f>>2]=e+j[f>>2];d=d+1|0;if((d|0)!=(c|0)){continue}break}}if(B){break ib}while(1){c=(b<<3)+u|0;j[c>>2]=e+j[c>>2];b=b+1|0;if(s>>>0>=b>>>0){continue}break}}b=n}y=y+1|0;if((y|0)>=i[a+154>>1]){break m}c=l[a+152>>1];d=b;continue};case 46:case 47:b=l[d>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break m}e=134;break d}e=a;d=t;c=b;if(f&1){f=j[a+52>>2]+(b<<3)|0;f=qe[j[a+572>>2]](a,j[f>>2],j[f+4>>2])|0;f=(qe[j[a+568>>2]](a,f,j[a+264>>2])|0)-f|0}else{f=0}qe[j[a+584>>2]](e,d,c,f);i[a+286>>1]=b;i[a+284>>1]=b;break m;case 45:break n;case 79:break d}}c=j[a+428>>2];if((c|0)<1){e=136;break d}b=c-1|0;j[a+428>>2]=b;b=j[a+436>>2]+(b<<4)|0;d=j[b+8>>2];j[b+8>>2]=d-1;h[a+376|0]=0;if((d|0)>=2){j[a+428>>2]=c;j[a+360>>2]=j[j[b+12>>2]+4>>2];break m}c=j[b>>2];d=c-1|0;if(d>>>0>2){e=132;break d}d=(d<<3)+a|0;e=j[d+444>>2];if(!e){e=138;break d}d=j[d+448>>2];b=j[b+4>>2];if((d|0)<(b|0)){e=131;break d}j[a+364>>2]=d;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=c}e=j[a+12>>2];if(!e){break k}if((e|0)!=128){break e}g=j[a+408>>2];b=j[a+416>>2]}e=128;if((g|0)<1){break d}c=p(g,24)+b|0;while(1){if(!(!k[b+16|0]|k[a+368|0]!=k[b+12|0])){c=j[a+428>>2];if((c|0)>=j[a+432>>2]){e=134;break d}c=j[a+436>>2]+(c<<4)|0;j[c>>2]=j[a+352>>2];d=j[a+360>>2];j[c+12>>2]=b;j[c+8>>2]=1;j[c+4>>2]=d+1;c=j[b>>2];d=c-1|0;if(d>>>0>2){e=132;break d}d=(d<<3)+a|0;e=j[d+444>>2];if(!e){e=138;break d}d=j[d+448>>2];b=j[b+4>>2];if((d|0)>=(b|0)){break h}e=131;break d}b=b+24|0;if(c>>>0>b>>>0){continue}break}break d}j[a+16>>2]=j[a+32>>2];if(!k[a+376|0]){break i}}j[a+360>>2]=j[a+360>>2]+j[a+372>>2]}if((F|0)<=999999){F=F+1|0;break g}b=139;break b}j[a+364>>2]=d;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=c}b=j[a+360>>2];if((b|0)>=j[a+364>>2]){b=0;e=131;if(j[a+428>>2]>0){break d}break b}if(!k[a+488|0]){continue}break}b=0;break b}if(e){break c}b=0;break b}j[a+12>>2]=e}if(!(k[a+488|0]|j[a+352>>2]!=3)){a=j[a+4>>2];j[a+296>>2]=-1;j[a+300>>2]=-1}b=e}oe=r- -64|0;return b|0}function rl(a,b,c,d,e,f,g,n){var o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;o=oe-15840|0;oe=o;j[o+15824>>2]=g;j[o+15828>>2]=f;A=j[a+132>>2];q=j[j[A+736>>2]+532>>2];I=j[a+48>>2];E=j[a>>2];f=o+15732|0;j[f>>2]=0;j[f+4>>2]=0;f=o+15740|0;j[f>>2]=0;j[f+4>>2]=0;j[o+15808>>2]=0;j[o+15812>>2]=0;j[o+15800>>2]=10;j[o+15804>>2]=0;j[o+15792>>2]=20;j[o+15796>>2]=0;H=a+4|0;j[o+15788>>2]=H;j[o+15784>>2]=E;j[o+15776>>2]=0;j[o+15780>>2]=0;j[o+15768>>2]=10;j[o+15772>>2]=0;j[o+15760>>2]=20;j[o+15764>>2]=0;j[o+15756>>2]=H;j[o+15752>>2]=E;j[o+15724>>2]=0;j[o+15728>>2]=0;j[o+15720>>2]=H;Ee(o+15640|0,0,80);f=o+15572|0;j[f>>2]=0;j[f+4>>2]=0;f=o+15564|0;j[f>>2]=10;j[f+4>>2]=0;f=o+15556|0;j[f>>2]=8;j[f+4>>2]=0;j[o+15552>>2]=H;j[o+15548>>2]=E;j[o+3940>>2]=c;j[o+3936>>2]=a;Ee(o+11692|0,0,3856);f=k[a+140|0];j[o+11696>>2]=I;h[o+11693|0]=f;J=o+15548|0;j[o+11688>>2]=J;K=o+11680|0;j[o+11684>>2]=K;j[o+11680>>2]=a;Ee(o+7824|0,0,3856);j[o+7828>>2]=I;h[o+7825|0]=f;j[o+7820>>2]=J;j[o+7816>>2]=K;j[o+7812>>2]=a;Ee(o+3956|0,0,3856);j[o+3960>>2]=I;h[o+3957|0]=f;j[o+3952>>2]=J;j[o+3948>>2]=K;j[o+3944>>2]=a;j[o+15580>>2]=j[a+36>>2];f=j[a+44>>2];j[o+15588>>2]=I;j[o+15584>>2]=f;f=j[d+4>>2];r=j[d>>2];j[o+15620>>2]=a+196;j[o+15616>>2]=g;j[o+15592>>2]=r;j[o+15596>>2]=f;j[o+15612>>2]=o+15720;j[o+15608>>2]=o+15752;j[o+15604>>2]=o+15784;h[o+15602|0]=k[a+141|0];g=j[a+184>>2];j[o+15624>>2]=g;f=j[a+188>>2];j[o+15636>>2]=6554;j[o+15628>>2]=f;h[o+15680|0]=0;i[o+15600>>1]=0;h[o+15823|0]=0;N=1;h[o+15603|0]=1;r=g;g=g>>31;g=r+g^g;r=f;f=f>>31;f=r+f^f;j[o+15632>>2]=((f|0)<(g|0)?g:f)<<1;j[n>>2]=j[j[A+736>>2]+528>>2]<<16;j[o+64>>2]=0;s=Ti(E,396,o- -64|0);a:{b:{c:{d:{e:{if(!j[o+64>>2]){j[s+4>>2]=H;j[s>>2]=E;j[s+392>>2]=s+8;N=!s;break e}if(!s){break d}N=0}j[o+64>>2]=0;D=xe(E,1,0,272,0,o- -64|0);f:{if(!j[o+64>>2]){Q=17;break f}if(j[a+4>>2]){break f}j[a+4>>2]=64}f=j[b+4>>2];j[D>>2]=j[b>>2];j[D+4>>2]=f;f=j[b+12>>2];j[D+8>>2]=j[b+8>>2];j[D+12>>2]=f;if(j[a+4>>2]){break a}L=q<<16;u=s+8|0;t=s+392|0;S=o+32|4;T=o+76|0;O=o+7812|0;F=o+15648|0;M=o+15640|0;C=o+3944|0;P=2e7;v=D;while(1){b=j[v+12>>2];q=j[v+8>>2];g:{if(b>>>0>=q>>>0){x=G?11:14;break g}f=b+1|0;j[v+12>>2]=f;x=k[b|0];b=f}if(j[a+4>>2]){break a}P=P-1|0;if(!P){b=18;break b}h:{i:{j:{k:{l:{switch(x|0){case 1:case 18:if(k[o+15724|0]){break k}ql(a,s,o+15784|0,n,o+15823|0);if(!k[j[a+132>>2]+561|0]){break k}b=0;break c;case 3:case 23:if(k[o+15724|0]){break k}ql(a,s,o+15752|0,n,o+15823|0);if(!k[j[a+132>>2]+561|0]){break k}b=0;break c;case 4:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<2)){b=n;m:{n:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break m;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break m}f=f- -8192>>14;break m;default:break n}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}o:{if((g|0)==(u|0)){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break o}j[f>>2]=161;break o}b=g-8|0;j[t>>2]=b;p:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break o;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break o}b=b- -8192>>14;break o;default:break p}}b=j[b>>2]}b=j[o+15824>>2]+b|0;j[o+15824>>2]=b;f=j[o+15828>>2];if(k[o+15600|0]){h[o+15601|0]=1;Yg(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){g=j[F+4>>2];j[o>>2]=j[F>>2];j[o+4>>2]=g;Fh(o+3936|0,C,M,o,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=b;j[o+15656>>2]=f;j[o+15672>>2]=f;j[o+15660>>2]=b;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){oh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 5:q:{q=j[t>>2];b=q-u|0;if(!b){break q}r=b>>3;b=0;while(1){g=q-u>>3;r:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break r}j[f>>2]=130;break r}s:{t:{u:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break t;case 1:break u;default:break s}}q=j[f+8>>2]<<16;break r}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break r}q=f- -8192>>14;break r}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;f=b|1;v:{if(f>>>0>=g>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break v}j[g>>2]=130;q=j[o+15828>>2];break v}w:{x:{y:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break x;case 1:break y;default:break w}}f=j[f+8>>2]<<16;break v}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break v}f=f- -8192>>14;break v}f=j[f+8>>2]}f=j[o+15824>>2]+f|0;j[o+15824>>2]=f;Yg(o+3936|0,q,f);b=b+2|0;if(r>>>0<=b>>>0){break q}q=j[t>>2];continue}}j[t>>2]=u;continue;case 6:case 7:z:{f=j[t>>2];b=f-u|0;if(!b){break z}g=u-f|0;g=((b|0)>(g|0)?b:g)>>>3|0;b=(b|0)>-1?b:-1;b=p(g,(b|0)<1?b:1);r=b>>>0>1?b:1;q=(x|0)==6;b=0;while(1){A:{if(f-u>>3>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break A}j[g>>2]=130;break A}B:{C:{D:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break C;case 1:break D;default:break B}}f=j[f+8>>2]<<16;break A}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break A}f=f- -8192>>14;break A}f=j[f+8>>2]}E:{if(q&255){f=j[o+15828>>2]+f|0;j[o+15828>>2]=f;y=j[o+15824>>2];break E}y=j[o+15824>>2]+f|0;j[o+15824>>2]=y;f=j[o+15828>>2]}Yg(o+3936|0,f,y);b=b+1|0;if((r|0)==(b|0)){break z}q=q^1;f=j[t>>2];continue}}j[t>>2]=u;continue;case 8:case 24:q=6;b=0;y=j[t>>2];R=y-u>>3;if(R>>>0<6){break h}while(1){f=q;q=y-u>>3;F:{if(q>>>0<=b>>>0){g=0;r=j[s+4>>2];if(!r|j[r>>2]){break F}j[r>>2]=130;break F}G:{H:{I:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break H;case 1:break I;default:break G}}g=j[g+8>>2]<<16;break F}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break F}g=g- -8192>>14;break F}g=j[g+8>>2]}y=j[o+15828>>2];r=b|1;J:{if(r>>>0>=q>>>0){w=0;r=j[s+4>>2];if(!r|j[r>>2]){break J}j[r>>2]=130;break J}K:{L:{M:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break L;case 1:break M;default:break K}}w=j[r+8>>2]<<16;break J}r=j[r+8>>2];if((r|0)<=-1){w=0-(8192-r>>14)|0;break J}w=r- -8192>>14;break J}w=j[r+8>>2]}B=j[o+15824>>2];r=b+2|0;N:{if(r>>>0>=q>>>0){z=0;r=j[s+4>>2];if(!r|j[r>>2]){break N}j[r>>2]=130;break N}O:{P:{Q:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break P;case 1:break Q;default:break O}}z=j[r+8>>2]<<16;break N}r=j[r+8>>2];if((r|0)<=-1){z=0-(8192-r>>14)|0;break N}z=r- -8192>>14;break N}z=j[r+8>>2]}y=g+y|0;g=b+3|0;R:{if(g>>>0>=q>>>0){g=0;r=j[s+4>>2];if(!r|j[r>>2]){break R}j[r>>2]=130;break R}S:{T:{U:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break T;case 1:break U;default:break S}}g=j[g+8>>2]<<16;break R}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break R}g=g- -8192>>14;break R}g=j[g+8>>2]}w=w+B|0;B=y+z|0;r=b+4|0;V:{if(r>>>0>=q>>>0){z=0;r=j[s+4>>2];if(!r|j[r>>2]){break V}j[r>>2]=130;break V}W:{X:{Y:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break X;case 1:break Y;default:break W}}z=j[r+8>>2]<<16;break V}r=j[r+8>>2];if((r|0)<=-1){z=0-(8192-r>>14)|0;break V}z=r- -8192>>14;break V}z=j[r+8>>2]}g=g+w|0;r=z+B|0;b=b+5|0;Z:{if(b>>>0>=q>>>0){b=0;q=j[s+4>>2];if(!q|j[q>>2]){break Z}j[q>>2]=130;break Z}_:{$:{aa:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break $;case 1:break aa;default:break _}}b=j[b+8>>2]<<16;break Z}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Z}b=b- -8192>>14;break Z}b=j[b+8>>2]}b=b+g|0;Eh(o+3936|0,y,w,B,g,r,b);j[o+15824>>2]=b;j[o+15828>>2]=r;q=f+6|0;if(R>>>0>>0){b=f;break h}else{y=j[t>>2];b=f;continue}};default:if(x>>>0<=246){b=j[t>>2];if((b|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[b>>2]=x-139;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}if(x>>>0<=250){ba:{if(b>>>0>>0){j[v+12>>2]=b+1;q=k[b|0];break ba}q=0;b=j[v>>2];if(!b|j[b>>2]){break ba}j[b>>2]=85}b=j[t>>2];if((b|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[b>>2]=((x<<8)+q|0)-63124;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}if((x|0)!=255){ca:{if(b>>>0>>0){j[v+12>>2]=b+1;b=k[b|0];break ca}b=0;f=j[v>>2];if(!f|j[f>>2]){break ca}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=((0-(x<<8)|0)-b|0)+64148;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}da:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;y=k[b|0];break da}y=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ea:{if(f>>>0>>0){b=f+1|0;j[v+12>>2]=b;r=k[f|0];break ea}r=0;b=j[v>>2];if(!(!b|j[b>>2])){j[b>>2]=85}b=f}fa:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;g=k[b|0];break fa}g=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ga:{if(f>>>0>>0){j[v+12>>2]=f+1;b=k[f|0];break ga}b=0;f=j[v>>2];if(!f|j[f>>2]){break ga}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=r<<16|y<<24|g<<8|b;b=j[t>>2];j[b+4>>2]=0;j[t>>2]=b+8;continue;case 28:ha:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;y=k[b|0];break ha}y=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ia:{if(f>>>0>>0){j[v+12>>2]=f+1;b=k[f|0];break ia}b=0;f=j[v>>2];if(!f|j[f>>2]){break ia}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=(b<<16|y<<24)>>16;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue;case 30:case 31:b=j[t>>2]-u>>3;B=b&-3;b=b&2;if(B>>>0>b>>>0){x=(x|0)==31;while(1){ja:{if(x&255){r=j[t>>2]-u>>3;ka:{if(r>>>0<=b>>>0){y=0;f=j[s+4>>2];if(!f|j[f>>2]){break ka}j[f>>2]=130;break ka}la:{ma:{na:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break ma;case 1:break na;default:break la}}y=j[f+8>>2]<<16;break ka}f=j[f+8>>2];if((f|0)<=-1){y=0-(8192-f>>14)|0;break ka}y=f- -8192>>14;break ka}y=j[f+8>>2]}x=j[o+15828>>2];f=j[o+15824>>2];z=b+1|0;oa:{if(r>>>0<=z>>>0){g=0;q=j[s+4>>2];if(!q|j[q>>2]){break oa}j[q>>2]=130;break oa}pa:{qa:{ra:{g=(z<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break qa;case 1:break ra;default:break pa}}g=j[g+8>>2]<<16;break oa}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break oa}g=g- -8192>>14;break oa}g=j[g+8>>2]}q=b+2|0;sa:{if(q>>>0>=r>>>0){w=0;q=j[s+4>>2];if(!q|j[q>>2]){break sa}j[q>>2]=130;break sa}ta:{ua:{va:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break ua;case 1:break va;default:break ta}}w=j[q+8>>2]<<16;break sa}q=j[q+8>>2];if((q|0)<=-1){w=0-(8192-q>>14)|0;break sa}w=q- -8192>>14;break sa}w=j[q+8>>2]}y=y+x|0;w=f+w|0;q=b+3|0;wa:{if(q>>>0>=r>>>0){q=0;x=j[s+4>>2];if(!x|j[x>>2]){break wa}j[x>>2]=130;break wa}xa:{ya:{za:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break ya;case 1:break za;default:break xa}}q=j[q+8>>2]<<16;break wa}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break wa}q=q- -8192>>14;break wa}q=j[q+8>>2]}g=g+y|0;q=q+w|0;x=0;if((B-b|0)!=5){z=b;r=g;break ja}b=b+4|0;Aa:{if(b>>>0>=r>>>0){r=j[s+4>>2];b=0;if(!r|j[r>>2]){break Aa}j[r>>2]=130;r=g;break ja}Ba:{Ca:{Da:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break Ca;case 1:break Da;default:break Ba}}r=(j[b+8>>2]<<16)+g|0;break ja}b=j[b+8>>2];if((b|0)<=-1){r=g-(8192-b>>14)|0;break ja}r=(b- -8192>>14)+g|0;break ja}b=j[b+8>>2]}r=b+g|0;break ja}y=j[o+15828>>2];q=j[t>>2]-u>>3;Ea:{if(q>>>0<=b>>>0){r=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ea}j[f>>2]=130;break Ea}Fa:{Ga:{Ha:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ga;case 1:break Ha;default:break Fa}}r=j[f+8>>2]<<16;break Ea}f=j[f+8>>2];if((f|0)<=-1){r=0-(8192-f>>14)|0;break Ea}r=f- -8192>>14;break Ea}r=j[f+8>>2]}x=j[o+15824>>2];z=b+1|0;Ia:{if(q>>>0<=z>>>0){g=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ia}j[f>>2]=130;break Ia}Ja:{Ka:{La:{f=(z<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ka;case 1:break La;default:break Ja}}g=j[f+8>>2]<<16;break Ia}f=j[f+8>>2];if((f|0)<=-1){g=0-(8192-f>>14)|0;break Ia}g=f- -8192>>14;break Ia}g=j[f+8>>2]}f=b+2|0;Ma:{if(f>>>0>=q>>>0){w=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ma}j[f>>2]=130;break Ma}Na:{Oa:{Pa:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Oa;case 1:break Pa;default:break Na}}w=j[f+8>>2]<<16;break Ma}f=j[f+8>>2];if((f|0)<=-1){w=0-(8192-f>>14)|0;break Ma}w=f- -8192>>14;break Ma}w=j[f+8>>2]}f=r+x|0;g=g+y|0;r=b+3|0;Qa:{if(r>>>0>=q>>>0){r=0;x=j[s+4>>2];if(!x|j[x>>2]){break Qa}j[x>>2]=130;break Qa}Ra:{Sa:{Ta:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break Sa;case 1:break Ta;default:break Ra}}r=j[r+8>>2]<<16;break Qa}r=j[r+8>>2];if((r|0)<=-1){r=0-(8192-r>>14)|0;break Qa}r=r- -8192>>14;break Qa}r=j[r+8>>2]}w=f+w|0;r=g+r|0;x=1;if((B-b|0)!=5){z=b;q=w;break ja}b=b+4|0;Ua:{if(b>>>0>=q>>>0){b=0;q=j[s+4>>2];if(!q|j[q>>2]){break Ua}j[q>>2]=130;break Ua}Va:{Wa:{Xa:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break Wa;case 1:break Xa;default:break Va}}b=j[b+8>>2]<<16;break Ua}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Ua}b=b- -8192>>14;break Ua}b=j[b+8>>2]}q=b+w|0}Eh(o+3936|0,y,f,g,w,r,q);j[o+15824>>2]=q;j[o+15828>>2]=r;b=z+4|0;if(B>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 27:z=j[t>>2]-u>>3;w=z&-3;b=z&2;if(w>>>0>b>>>0){while(1){Ya:{if(z-b&1){q=j[t>>2]-u>>3;Za:{if(q>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break Za}j[g>>2]=130;break Za}_a:{$a:{ab:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break $a;case 1:break ab;default:break _a}}f=j[f+8>>2]<<16;break Za}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break Za}f=f- -8192>>14;break Za}f=j[f+8>>2]}b=b+1|0;g=j[o+15824>>2]+f|0;break Ya}q=j[t>>2]-u>>3;g=j[o+15824>>2]}bb:{if(b>>>0>=q>>>0){y=0;f=j[s+4>>2];if(!f|j[f>>2]){break bb}j[f>>2]=130;break bb}cb:{db:{eb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break db;case 1:break eb;default:break cb}}y=j[f+8>>2]<<16;break bb}f=j[f+8>>2];if((f|0)<=-1){y=0-(8192-f>>14)|0;break bb}y=f- -8192>>14;break bb}y=j[f+8>>2]}x=j[o+15828>>2];f=b+1|0;fb:{if(f>>>0>=q>>>0){r=0;f=j[s+4>>2];if(!f|j[f>>2]){break fb}j[f>>2]=130;break fb}gb:{hb:{ib:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break hb;case 1:break ib;default:break gb}}r=j[f+8>>2]<<16;break fb}f=j[f+8>>2];if((f|0)<=-1){r=0-(8192-f>>14)|0;break fb}r=f- -8192>>14;break fb}r=j[f+8>>2]}y=y+x|0;f=b+2|0;jb:{if(f>>>0>=q>>>0){f=0;x=j[s+4>>2];if(!x|j[x>>2]){break jb}j[x>>2]=130;break jb}kb:{lb:{mb:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break lb;case 1:break mb;default:break kb}}f=j[f+8>>2]<<16;break jb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break jb}f=f- -8192>>14;break jb}f=j[f+8>>2]}r=r+y|0;f=f+g|0;x=q;q=b+3|0;nb:{if(x>>>0<=q>>>0){q=0;x=j[s+4>>2];if(!x|j[x>>2]){break nb}j[x>>2]=130;break nb}ob:{pb:{qb:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break pb;case 1:break qb;default:break ob}}q=j[q+8>>2]<<16;break nb}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break nb}q=q- -8192>>14;break nb}q=j[q+8>>2]}x=g;g=q+r|0;Eh(o+3936|0,y,x,r,f,g,f);j[o+15824>>2]=f;j[o+15828>>2]=g;b=b+4|0;if(w>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 26:z=j[t>>2]-u>>3;x=z&-3;b=z&2;if(x>>>0>b>>>0){while(1){rb:{if(z-b&1){q=j[t>>2]-u>>3;sb:{if(q>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break sb}j[g>>2]=130;break sb}tb:{ub:{vb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break ub;case 1:break vb;default:break tb}}f=j[f+8>>2]<<16;break sb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break sb}f=f- -8192>>14;break sb}f=j[f+8>>2]}b=b+1|0;f=j[o+15828>>2]+f|0;break rb}q=j[t>>2]-u>>3;f=j[o+15828>>2]}wb:{if(b>>>0>=q>>>0){y=0;g=j[s+4>>2];if(!g|j[g>>2]){break wb}j[g>>2]=130;break wb}xb:{yb:{zb:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break yb;case 1:break zb;default:break xb}}y=j[g+8>>2]<<16;break wb}g=j[g+8>>2];if((g|0)<=-1){y=0-(8192-g>>14)|0;break wb}y=g- -8192>>14;break wb}y=j[g+8>>2]}w=j[o+15824>>2];g=b+1|0;Ab:{if(g>>>0>=q>>>0){r=0;g=j[s+4>>2];if(!g|j[g>>2]){break Ab}j[g>>2]=130;break Ab}Bb:{Cb:{Db:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Cb;case 1:break Db;default:break Bb}}r=j[g+8>>2]<<16;break Ab}g=j[g+8>>2];if((g|0)<=-1){r=0-(8192-g>>14)|0;break Ab}r=g- -8192>>14;break Ab}r=j[g+8>>2]}y=w+y|0;g=b+2|0;Eb:{if(g>>>0>=q>>>0){w=0;g=j[s+4>>2];if(!g|j[g>>2]){break Eb}j[g>>2]=130;break Eb}Fb:{Gb:{Hb:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Gb;case 1:break Hb;default:break Fb}}w=j[g+8>>2]<<16;break Eb}g=j[g+8>>2];if((g|0)<=-1){w=0-(8192-g>>14)|0;break Eb}w=g- -8192>>14;break Eb}w=j[g+8>>2]}g=f+r|0;r=w+y|0;w=q;q=b+3|0;Ib:{if(w>>>0<=q>>>0){q=0;w=j[s+4>>2];if(!w|j[w>>2]){break Ib}j[w>>2]=130;break Ib}Jb:{Kb:{Lb:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break Kb;case 1:break Lb;default:break Jb}}q=j[q+8>>2]<<16;break Ib}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break Ib}q=q- -8192>>14;break Ib}q=j[q+8>>2]}w=f;f=q+r|0;Eh(o+3936|0,w,y,g,r,g,f);j[o+15824>>2]=f;j[o+15828>>2]=g;b=b+4|0;if(x>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 25:b=0;q=j[t>>2];z=q-u>>3;if(z>>>0>6){while(1){g=q-u>>3;Mb:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break Mb}j[f>>2]=130;break Mb}Nb:{Ob:{Pb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ob;case 1:break Pb;default:break Nb}}q=j[f+8>>2]<<16;break Mb}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break Mb}q=f- -8192>>14;break Mb}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;f=b|1;Qb:{if(f>>>0>=g>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break Qb}j[g>>2]=130;q=j[o+15828>>2];break Qb}Rb:{Sb:{Tb:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Sb;case 1:break Tb;default:break Rb}}f=j[f+8>>2]<<16;break Qb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break Qb}f=f- -8192>>14;break Qb}f=j[f+8>>2]}f=j[o+15824>>2]+f|0;j[o+15824>>2]=f;Yg(o+3936|0,q,f);f=b+2|0;if(z>>>0>b+8>>>0){q=j[t>>2];b=f;continue}break}b=f}if(b>>>0>>0){while(1){f=j[t>>2]-u>>3;Ub:{if(f>>>0<=b>>>0){r=0;g=j[s+4>>2];if(!g|j[g>>2]){break Ub}j[g>>2]=130;break Ub}Vb:{Wb:{Xb:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Wb;case 1:break Xb;default:break Vb}}r=j[g+8>>2]<<16;break Ub}g=j[g+8>>2];if((g|0)<=-1){r=0-(8192-g>>14)|0;break Ub}r=g- -8192>>14;break Ub}r=j[g+8>>2]}y=j[o+15828>>2];g=b|1;Yb:{if(g>>>0>=f>>>0){g=0;q=j[s+4>>2];if(!q|j[q>>2]){break Yb}j[q>>2]=130;break Yb}Zb:{_b:{$b:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break _b;case 1:break $b;default:break Zb}}g=j[g+8>>2]<<16;break Yb}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break Yb}g=g- -8192>>14;break Yb}g=j[g+8>>2]}B=j[o+15824>>2];q=b+2|0;ac:{if(q>>>0>=f>>>0){w=0;q=j[s+4>>2];if(!q|j[q>>2]){break ac}j[q>>2]=130;break ac}bc:{cc:{dc:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break cc;case 1:break dc;default:break bc}}w=j[q+8>>2]<<16;break ac}q=j[q+8>>2];if((q|0)<=-1){w=0-(8192-q>>14)|0;break ac}w=q- -8192>>14;break ac}w=j[q+8>>2]}r=r+y|0;q=b+3|0;ec:{if(q>>>0>=f>>>0){x=0;q=j[s+4>>2];if(!q|j[q>>2]){break ec}j[q>>2]=130;break ec}fc:{gc:{hc:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break gc;case 1:break hc;default:break fc}}x=j[q+8>>2]<<16;break ec}q=j[q+8>>2];if((q|0)<=-1){x=0-(8192-q>>14)|0;break ec}x=q- -8192>>14;break ec}x=j[q+8>>2]}y=g+B|0;B=r+w|0;g=b+4|0;ic:{if(g>>>0>=f>>>0){w=0;g=j[s+4>>2];if(!g|j[g>>2]){break ic}j[g>>2]=130;break ic}jc:{kc:{lc:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break kc;case 1:break lc;default:break jc}}w=j[g+8>>2]<<16;break ic}g=j[g+8>>2];if((g|0)<=-1){w=0-(8192-g>>14)|0;break ic}w=g- -8192>>14;break ic}w=j[g+8>>2]}g=y+x|0;w=w+B|0;q=f;f=b+5|0;mc:{if(q>>>0<=f>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break mc}j[f>>2]=130;break mc}nc:{oc:{pc:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break oc;case 1:break pc;default:break nc}}q=j[f+8>>2]<<16;break mc}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break mc}q=f- -8192>>14;break mc}q=j[f+8>>2]}f=g+q|0;Eh(o+3936|0,r,y,B,g,w,f);j[o+15824>>2]=f;j[o+15828>>2]=w;b=b+6|0;if(z>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 22:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<2)){b=n;qc:{rc:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break qc;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break qc}f=f- -8192>>14;break qc;default:break rc}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}sc:{if((g|0)==(u|0)){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break sc}j[f>>2]=161;break sc}b=g-8|0;j[t>>2]=b;tc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break sc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break sc}b=b- -8192>>14;break sc;default:break tc}}b=j[b>>2]}b=j[o+15828>>2]+b|0;j[o+15828>>2]=b;f=j[o+15824>>2];if(k[o+15600|0]){h[o+15601|0]=1;Yg(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){g=j[F+4>>2];j[o+24>>2]=j[F>>2];j[o+28>>2]=g;Fh(o+3936|0,C,M,o+24|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=f;j[o+15656>>2]=b;j[o+15672>>2]=b;j[o+15660>>2]=f;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){oh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 21:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<3)){b=n;uc:{vc:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break uc;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break uc}f=f- -8192>>14;break uc;default:break vc}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}wc:{xc:{yc:{if((g|0)==(u|0)){b=j[s+4>>2];if(!(!b|j[b>>2])){j[b>>2]=161}q=j[o+15824>>2];break yc}f=g-8|0;j[t>>2]=f;b=o;zc:{Ac:{switch(j[f+4>>2]-1|0){case 0:q=j[f>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break zc}q=q- -8192>>14;break zc;default:q=j[f>>2];break zc;case 1:break Ac}}q=j[f>>2]<<16}q=q+j[o+15824>>2]|0;j[b+15824>>2]=q;if((f|0)!=(u|0)){break xc}}b=0;f=j[s+4>>2];if(!f|j[f>>2]){break wc}j[f>>2]=161;q=j[o+15824>>2];break wc}b=g-16|0;j[t>>2]=b;Bc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break wc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break wc}b=b- -8192>>14;break wc;default:break Bc}}b=j[b>>2]}b=j[o+15828>>2]+b|0;j[o+15828>>2]=b;if(k[o+15600|0]){h[o+15601|0]=1;Yg(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){f=j[F+4>>2];j[o+16>>2]=j[F>>2];j[o+20>>2]=f;Fh(o+3936|0,C,M,o+16|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=q;j[o+15656>>2]=b;j[o+15672>>2]=b;j[o+15660>>2]=q;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){oh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 19:case 20:if(j[t>>2]-u>>3>>>0>1?k[o+15724|0]:0){break k}ql(a,s,o+15752|0,n,o+15823|0);if(k[j[a+132>>2]+561|0]){b=0;break c}if((x|0)==19){b=j[o+15772>>2]+j[o+15804>>2]|0;if(b>>>0>=97){b=j[o+15720>>2];if(!b|j[b>>2]){break k}j[b>>2]=18;j[t>>2]=u;continue}j[o+15728>>2]=b;i[o+15724>>1]=257;f=b+7>>>3|0;j[o+15732>>2]=f;if(!b|!f){break k}b=0;while(1){f=j[v+12>>2];Cc:{if(f>>>0>2]){j[v+12>>2]=f+1;q=k[f|0];break Cc}q=0;f=j[v>>2];if(!f|j[f>>2]){break Cc}j[f>>2]=85}h[(b+o|0)+15736|0]=q;b=b+1|0;if(b>>>0>2]){continue}break}break k}Ee(T,0,3856);b=k[a+140|0];j[o+80>>2]=I;h[o+77|0]=b;j[o+72>>2]=J;j[o+68>>2]=K;j[o+64>>2]=a;b=S;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0;j[o+32>>2]=H;b=j[o+15772>>2]+j[o+15804>>2]|0;Dc:{if(b>>>0>=97){if(j[a+4>>2]){break Dc}j[a+4>>2]=18;break Dc}j[o+40>>2]=b;i[o+36>>1]=257;f=b+7>>>3|0;j[o+44>>2]=f;if(!b|!f){break Dc}b=0;while(1){f=j[v+12>>2];Ec:{if(f>>>0>2]){j[v+12>>2]=f+1;q=k[f|0];break Ec}q=0;f=j[v>>2];if(!f|j[f>>2]){break Ec}j[f>>2]=85}h[(b+o|0)+48|0]=q;b=b+1|0;if(b>>>0>2]){continue}break}}oh(o- -64|0,o+15784|0,o+15752|0,o+32|0,0,0);j[t>>2]=u;continue;case 14:Fc:{Gc:{v=j[t>>2];f=v-u>>3;switch(f-1|0){case 0:case 4:break Gc;default:break Fc}}if(k[o+15823|0]){break Fc}Hc:{Ic:{switch(j[s+12>>2]-1|0){case 1:b=j[u>>2]<<16;break Hc;case 0:b=j[u>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Hc}b=b- -8192>>14;break Hc;default:break Ic}}b=j[u>>2]}j[n>>2]=b+L}h[o+15823|0]=1;b=0;if(k[j[a+132>>2]+561|0]){break c}if(k[o+15600|0]){h[o+15601|0]=1;Yg(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){f=j[F+4>>2];j[o+8>>2]=j[F>>2];j[o+12>>2]=f;Fh(o+3936|0,C,M,o+8|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0;h[o+15603|0]=1;v=j[t>>2];f=v-u>>3}if(f>>>0<2){break c}b=18;if(e){break c}Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{if((u|0)==(v|0)){q=0;b=j[s+4>>2];if(!b){f=0;break Nc}f=0;if(j[b>>2]){break Nc}j[b>>2]=161;break Qc}Rc:{if(j[v-4>>2]!=2){q=0;b=j[s+4>>2];if(!b|j[b>>2]){break Rc}j[b>>2]=160;break Rc}v=v-8|0;j[t>>2]=v;q=j[v>>2]}if((u|0)!=(v|0)){break Pc}}f=0;b=j[s+4>>2];if(!b|j[b>>2]){break Nc}j[b>>2]=161;break Oc}Sc:{if(j[v-4>>2]!=2){f=0;b=j[s+4>>2];if(!b|j[b>>2]){break Sc}j[b>>2]=160;break Sc}v=v-8|0;j[t>>2]=v;f=j[v>>2]}if((u|0)!=(v|0)){break Mc}}b=j[s+4>>2];if(!b|j[b>>2]){break Nc}j[b>>2]=161}j[o+15824>>2]=0;break Lc}e=v-8|0;j[t>>2]=e;b=o;Tc:{Uc:{switch(j[e+4>>2]-1|0){case 0:g=j[e>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break Tc}g=g- -8192>>14;break Tc;default:g=j[e>>2];break Tc;case 1:break Uc}}g=j[e>>2]<<16}j[b+15824>>2]=g;if((e|0)!=(u|0)){break Kc}}b=0;e=j[s+4>>2];if(!e|j[e>>2]){break Jc}j[e>>2]=161;break Jc}b=v-16|0;j[t>>2]=b;Vc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break Jc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Jc}b=b- -8192>>14;break Jc;default:break Vc}}b=j[b>>2]}j[o+72>>2]=0;j[o+76>>2]=0;j[o+15828>>2]=b;j[o+64>>2]=0;j[o+68>>2]=0;Wc:{Xc:{e=j[A+4>>2];b=j[j[e+128>>2]+48>>2];if(!b){b=18;if(q>>>0>255){break c}g=j[A+76>>2];n=j[g+1160>>2];if(!n){break c}r=j[g+12>>2];if(!r){break c}g=0;q=l[(q<<1)+10512>>1];while(1){if((q|0)==l[n+(g<<1)>>1]){break Xc}g=g+1|0;if((r|0)!=(g|0)){continue}break}break c}b=qe[j[j[b>>2]>>2]](j[b+4>>2],q,o+32|0)|0;j[o+15836>>2]=j[o+32>>2];j[o+15832>>2]=j[o+36>>2];break Wc}if((g|0)<0){break c}b=gi(j[e+656>>2]+1176|0,g,o+15836|0,o+15832|0)}if(b){break c}b=j[o+15836>>2];j[o+68>>2]=b;j[o+76>>2]=b;n=j[o+15832>>2];j[o+72>>2]=n+b;rl(a,o- -64|0,c,d,1,j[o+15828>>2],j[o+15824>>2],o+3932|0);e=o- -64|4;q=j[A+4>>2];g=j[j[q+128>>2]+48>>2];Yc:{if(g){j[o+36>>2]=n;j[o+32>>2]=b;qe[j[j[g>>2]+4>>2]](j[g+4>>2],o+32|0);break Yc}b=j[q+656>>2];if(j[b+1204>>2]){break Yc}jf(j[b+1176>>2],e)}j[o+72>>2]=0;j[o+76>>2]=0;j[o+64>>2]=0;j[o+68>>2]=0;Zc:{_c:{n=j[A+4>>2];b=j[j[n+128>>2]+48>>2];if(!b){b=18;if(f>>>0>255){break c}g=j[A+76>>2];q=j[g+1160>>2];if(!q){break c}r=j[g+12>>2];if(!r){break c}g=0;f=l[(f<<1)+10512>>1];while(1){if((f|0)==l[q+(g<<1)>>1]){break _c}g=g+1|0;if((r|0)!=(g|0)){continue}break}break c}b=qe[j[j[b>>2]>>2]](j[b+4>>2],f,o+32|0)|0;j[o+15836>>2]=j[o+32>>2];j[o+15832>>2]=j[o+36>>2];break Zc}if((g|0)<0){break c}b=gi(j[n+656>>2]+1176|0,g,o+15836|0,o+15832|0)}if(b){break c}b=j[o+15836>>2];j[o+68>>2]=b;j[o+76>>2]=b;j[o+72>>2]=b+j[o+15832>>2];b=0;rl(a,o- -64|0,c,d,1,0,0,o+3932|0);d=j[A+4>>2];c=j[j[d+128>>2]+48>>2];if(c){d=j[o+72>>2];e=j[o+68>>2];j[o+32>>2]=e;j[o+36>>2]=d-e;qe[j[j[c>>2]+4>>2]](j[c+4>>2],o+32|0);break c}c=j[d+656>>2];if(j[c+1204>>2]){break c}jf(j[c+1176>>2],e);break c;case 10:case 29:break i;case 11:break j;case 0:case 2:case 9:case 13:case 15:case 16:case 17:break k;case 12:break l}}if(b>>>0>=q>>>0){b=j[v>>2];if(!b|j[b>>2]){break k}j[b>>2]=85;j[t>>2]=u;continue}j[v+12>>2]=b+1;$c:{switch(k[b|0]-34|0){case 0:Ej(s,o+15828|0,o+15824|0,o+3936|0,10455,0);continue;case 2:Ej(s,o+15828|0,o+15824|0,o+3936|0,10479,0);continue;case 3:Ej(s,o+15828|0,o+15824|0,o+3936|0,10491,1);continue;case 1:break $c;default:break k}}Ej(s,o+15828|0,o+15824|0,o+3936|0,10467,0)}j[t>>2]=u;continue}if((G|0)<1){b=18;break c}f=D;G=G-1|0;b=G;if(b>>>0>=Q>>>0){j[a+4>>2]=130;b=0}v=(b<<4)+f|0;continue}b=18;if((G|0)>16){break c}g=D;G=G+1|0;f=G;if(f>>>0>=Q>>>0){j[a+4>>2]=130;f=0}v=(f<<4)+g|0;f=j[t>>2];ad:{if((f|0)==(u|0)){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break ad}j[f>>2]=161;break ad}if(j[f-4>>2]!=2){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break ad}j[f>>2]=160;break ad}f=f-8|0;j[t>>2]=f;q=j[f>>2]}j[v>>2]=0;j[v+4>>2]=0;j[v+8>>2]=0;j[v+12>>2]=0;if((x|0)==29){f=j[A+708>>2]+q|0;if(f>>>0>=m[A+700>>2]){break c}b=j[A+716>>2]+(f<<2)|0;f=j[b>>2];j[v+4>>2]=f;j[v+12>>2]=f;j[v+8>>2]=j[b+4>>2];continue}f=j[A+704>>2]+q|0;if(f>>>0>=m[A+696>>2]){break c}b=j[A+712>>2]+(f<<2)|0;f=j[b>>2];j[v+4>>2]=f;j[v+12>>2]=f;j[v+8>>2]=j[b+4>>2];continue}if((x|0)==24){g=j[t>>2]-u>>3;bd:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break bd}j[f>>2]=130;break bd}cd:{dd:{ed:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break dd;case 1:break ed;default:break cd}}q=j[f+8>>2]<<16;break bd}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break bd}q=f- -8192>>14;break bd}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;b=b|1;fd:{if(b>>>0>=g>>>0){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break fd}j[f>>2]=130;q=j[o+15828>>2];break fd}gd:{hd:{id:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break hd;case 1:break id;default:break gd}}b=j[b+8>>2]<<16;break fd}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break fd}b=b- -8192>>14;break fd}b=j[b+8>>2]}b=j[o+15824>>2]+b|0;j[o+15824>>2]=b;Yg(o+3936|0,q,b)}j[t>>2]=u;continue}}b=64}if(j[a+4>>2]){break a}}j[a+4>>2]=b}j[o+15568>>2]=0;j[o+15572>>2]=0;j[o+15560>>2]=0;a=j[o+15548>>2];b=j[o+15576>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15576>>2]=0;j[o+15772>>2]=0;j[o+15776>>2]=0;j[o+15764>>2]=0;a=j[o+15752>>2];b=j[o+15780>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15780>>2]=0;j[o+15804>>2]=0;j[o+15808>>2]=0;j[o+15796>>2]=0;a=j[o+15784>>2];b=j[o+15812>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15812>>2]=0;if(D){qe[j[E+8>>2]](E,D)}if(!N){a=j[s>>2];if(s){qe[j[a+8>>2]](a,s)}}oe=o+15840|0}function Pt(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0;w=oe-16|0;oe=w;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{c=j[a+384>>2];if(c){if((j[a+212>>2]&16448)==16384){break l}d=j[a+216>>2];m:{if(!(d&4096)){break m}if(k[b+8|0]==3){m=c+1|0;e=j[b>>2];o=l[a+428>>1];q=j[a+528>>2];n=j[a+416>>2];c=k[b+9|0];n:{if(c>>>0<=7){o:{p:{switch(c-1|0){case 0:if(!e){break o}f=e+m|0;c=0-e&7;d=m+(e-1>>>3|0)|0;while(1){f=f-1|0;h[f|0]=k[d|0]>>>c&1;r=(c|0)==7;c=r?0:c+1|0;d=r?d-1|0:d;g=g+1|0;if((e|0)!=(g|0)){continue}break}break o;case 1:if(!e){break o}f=e+m|0;c=m+(e-1>>>2|0)|0;d=((e<<1)+6^-1)&6;while(1){f=f-1|0;h[f|0]=k[c|0]>>>d&3;r=(d|0)==6;d=r?0:d+2|0;c=r?c-1|0:c;g=g+1|0;if((e|0)!=(g|0)){continue}break}break o;case 3:break p;default:break o}}if(!e){break o}f=e+m|0;c=e<<2&4;d=m+(e-1>>>1|0)|0;while(1){f=f-1|0;h[f|0]=k[d|0]>>>c&15;r=(c|0)==4;c=r?0:c+4|0;d=r?d-1|0:d;g=g+1|0;if((e|0)!=(g|0)){continue}break}}h[b+11|0]=8;h[b+9|0]=8;j[b+4>>2]=e;break n}if((c|0)!=8){break m}}if(o){f=e<<2;if(e){c=e+m|0;d=f+m|0;g=0;while(1){r=d-1|0;c=c-1|0;m=k[c|0];if(m>>>0>>0){v=k[m+q|0]}else{v=255}h[r|0]=v;h[d-2|0]=k[(n+p(k[c|0],3)|0)+2|0];h[d-3|0]=k[(n+p(k[c|0],3)|0)+1|0];d=d-4|0;h[d|0]=k[n+p(k[c|0],3)|0];g=g+1|0;if((e|0)!=(g|0)){continue}break}}j[b+8>>2]=537135110;j[b+4>>2]=f;break m}g=p(e,3);if(e){c=e+m|0;d=m+g|0;f=0;while(1){c=c-1|0;h[d-1|0]=k[(n+p(k[c|0],3)|0)+2|0];h[d-2|0]=k[(n+p(k[c|0],3)|0)+1|0];d=d-3|0;h[d|0]=k[n+p(k[c|0],3)|0];f=f+1|0;if((e|0)!=(f|0)){continue}break}}j[b+8>>2]=402851842;j[b+4>>2]=g;break m}c=c+1|0;if(!(!(d&33554432)|!l[a+428>>1])){en(b,c,a+532|0);break m}en(b,c,0)}c=j[a+216>>2];q:{if((c&262272)!=262144){break q}r:{switch(k[b+8|0]-4|0){case 0:case 2:break r;default:break q}}an(b,j[a+384>>2]+1|0);c=j[a+216>>2]}s:{if(!(c&6291456)){break s}d=k[b+8|0];if((d&3)!=2){break s}c=j[a+384>>2]+1|0;o=d&4;q=l[a+702>>1];r=l[a+704>>1];t=32768-(q+r|0)|0;n=j[b>>2];t:{if(k[b+9|0]==8){u:{u=j[a+500>>2];if(!u){break u}g=j[a+504>>2];if(!g){break u}e=0;if(!n){break t}f=c;m=0;while(1){d=k[c|0];s=k[c+1|0];x=k[c+2|0];v:{w:{if(!((x|0)==(d|0)?(d|0)==(s|0):0)){e=e|1;d=u+(((p(q,k[d+g|0])+p(r,k[g+s|0])|0)+p(t,k[g+x|0])|0)+16384>>>15|0)|0;break w}s=j[a+492>>2];if(!s){break v}d=d+s|0}d=k[d|0]}h[f|0]=d;x:{if(!o){f=f+1|0;c=c+3|0;break x}h[f+1|0]=k[c+3|0];f=f+2|0;c=c+4|0}m=m+1|0;if((n|0)!=(m|0)){continue}break}break t}e=0;if(!n){break t}f=c;m=0;while(1){g=f;d=k[c|0];u=k[c+1|0];s=k[c+2|0];if(!((s|0)==(d|0)?(d|0)==(u|0):0)){e=e|1;d=(p(r,u)+p(d,q)|0)+p(t,s)>>>15|0}h[g|0]=d;y:{if(!o){f=f+1|0;c=c+3|0;break y}h[f+1|0]=k[c+3|0];f=f+2|0;c=c+4|0}m=m+1|0;if((n|0)!=(m|0)){continue}break}break t}z:{m=j[a+512>>2];if(!m){break z}y=j[a+508>>2];if(!y){break z}e=0;if(!n){break t}d=c;while(1){f=k[c+4|0]|k[c+5|0]<<8;u=(f<<24|f<<8&16711680)>>>16|0;g=k[c+1|0];f=k[c|0];s=g|f<<8;x=k[c+3|0];v=k[c+2|0];A:{if(!((s|0)!=(x|v<<8)|(s|0)!=(u|0))){u=j[a+496>>2];if(!u){break A}g=l[j[u+(x>>>j[a+484>>2]<<2)>>2]+(v<<1)>>1];f=g>>>8|0;break A}f=j[a+484>>2];g=((p(q,l[j[m+((s&255)>>>f<<2)>>2]+(s>>>7&510)>>1])+p(r,l[j[m+(x>>>f<<2)>>2]+(v<<1)>>1])|0)+p(t,l[j[m+((u&255)>>>f<<2)>>2]+(u>>>7&510)>>1])|0)+16384|0;g=l[j[((g>>>15&255)>>>f<<2)+y>>2]+(g>>>22&510)>>1];f=g>>>8|0;e=e|1}h[d+1|0]=g;h[d|0]=f;B:{if(!o){d=d+2|0;c=c+6|0;break B}h[d+2|0]=k[c+6|0];h[d+3|0]=k[c+7|0];d=d+4|0;c=c+8|0}A=A+1|0;if((n|0)!=(A|0)){continue}break}break t}e=0;if(!n){break t}g=0;d=c;while(1){f=k[d+1|0]|k[d|0]<<8;m=k[d+3|0]|k[d+2|0]<<8;u=k[d+5|0]|k[d+4|0]<<8;s=((p(f,q)+p(m,r)|0)+p(u,t)|0)+16384|0;h[c+1|0]=s>>>15;h[c|0]=s>>>23;f=(f|0)!=(m|0)|(f|0)!=(u|0);C:{if(!o){d=d+6|0;c=c+2|0;break C}h[c+2|0]=k[d+6|0];h[c+3|0]=k[d+7|0];d=d+8|0;c=c+4|0}e=e|f;g=g+1|0;if((n|0)!=(g|0)){continue}break}}c=k[b+10|0]-2|0;h[b+10|0]=c;h[b+8|0]=k[b+8|0]&253;d=p(c,k[b+9|0]);h[b+11|0]=d;c=b;d=d&255;D:{if(d>>>0>=8){d=p(n,d>>>3|0);break D}d=p(d,n)+7>>>3|0}j[c+4>>2]=d;if(!e){c=j[a+216>>2];break s}h[a+700|0]=1;c=j[a+216>>2];if((c&6291456)==4194304){Ze(a,102112);c=j[a+216>>2]}if((c&6291456)==2097152){break k}}if(!(!(c&16384)|k[a+209|0]&8)){dn(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(!(c&128)){break a}r=j[a+212>>2]&8192;c=j[a+384>>2]+1|0;n=j[b>>2];o=j[a+484>>2];f=j[a+512>>2];e=j[a+508>>2];q=j[a+496>>2];g=j[a+504>>2];t=j[a+500>>2];m=j[a+492>>2];E:{switch(k[b+8|0]){case 0:F:{switch(k[b+9|0]-1|0){case 0:if(!n){break a}d=l[a+540>>1];m=0;e=7;while(1){f=k[c|0];if((d|0)==(f>>>e&1)){h[c|0]=f&32639>>>7-e|l[a+460>>1]<>1];g=0;e=6;while(1){d=c;o=k[c|0];f=o>>>e&3;G:{if((f|0)==(q|0)){f=l[a+460>>1]<>>6-e;break G}f=o&16191>>>6-e|k[m+(f|f<<2|f<<4|f<<6)|0]>>>6<>1];f=0;e=4;while(1){d=c;g=k[c|0];o=g>>>e&15;H:{if((o|0)==(q|0)){g=l[a+460>>1]<>>4-e;break H}g=g&3855>>>4-e|k[m+(o|o<<4)|0]>>>4<>1];while(1){d=c;f=k[c|0];o=k[a+460|0];I:{if((f|0)==(g|0)){break I}o=k[f+m|0]}h[d|0]=o;c=c+1|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a;case 15:break F;default:break a}}if(q){if(!n){break a}e=a+460|0;m=l[a+540>>1];g=0;while(1){d=e;f=c;t=k[c+1|0];r=k[c|0];if((m|0)!=(t|r<<8)){d=j[q+(t>>>o<<2)>>2]+(r<<1)|0}d=l[d>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[f|0]=d;h[f+1|0]=d>>>8;c=c+2|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}break a}if(!n){break a}d=l[a+540>>1];e=0;while(1){if((d|0)==(k[c+1|0]|k[c|0]<<8)){f=l[a+460>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8}c=c+2|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a;case 2:if(k[b+9|0]==8){if(!m){break e}if(!n){break a}f=0;e=l[a+534>>1];while(1){g=k[c|0];d=k[c+1|0];J:{if(!((g|0)!=(e|0)|(d|0)!=l[a+536>>1]|l[a+538>>1]!=k[c+2|0])){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break J}h[c|0]=k[m+g|0];h[c+1|0]=k[d+m|0];h[c+2|0]=k[m+k[c+2|0]|0]}c=c+3|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!q){break f}if(!n){break a}e=a+458|0;u=l[a+534>>1];g=0;while(1){f=k[c+4|0];m=k[c+5|0];d=c;v=c;x=k[c+1|0];s=k[c|0];t=k[c+3|0];r=k[c+2|0];K:{if(!((u|0)!=(x|s<<8)|l[a+536>>1]!=(t|r<<8)|l[a+538>>1]!=(m|f<<8))){f=l[a+454>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8;f=l[a+456>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+2|0]=f;h[c+3|0]=f>>>8;f=e;break K}s=l[j[q+(x>>>o<<2)>>2]+(s<<1)>>1];s=(s<<24|s<<8&16711680)>>>16|0;h[c|0]=s;h[c+1|0]=s>>>8;r=l[j[q+(t>>>o<<2)>>2]+(r<<1)>>1];r=(r<<24|r<<8&16711680)>>>16|0;h[c+2|0]=r;h[c+3|0]=r>>>8;f=j[q+(m>>>o<<2)>>2]+(f<<1)|0}f=l[f>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[v+4|0]=f;h[d+5|0]=f>>>8;c=c+6|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}break a;case 4:if(k[b+9|0]==8){if(g?!(!m|!t):0){break g}if(!n){break a}m=0;while(1){f=k[c+1|0];if((f|0)!=255){d=c;if(f){f=(p(l[a+460>>1],f^255)+p(f,k[c|0])|0)+128&65535;f=(f>>>8|0)+f>>>8|0}else{f=k[a+460|0]}h[d|0]=f}c=c+2|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}if(f?!(!q|!e):0){break h}if(!n){break a}m=0;while(1){d=k[c+3|0]|k[c+2|0]<<8;L:{if((d|0)==65535){break L}if(!d){d=l[a+460>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c|0]=d;h[c+1|0]=d>>>8;break L}d=(p(l[a+460>>1],d^65535)+p(d,k[c+1|0]|k[c|0]<<8)|0)+32768|0;d=(d>>>16|0)+d|0;h[c+1|0]=d>>>16;h[c|0]=d>>>24}c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a;case 6:break E;default:break a}}if(k[b+9|0]==8){if(g?!(!m|!t):0){break i}if(!n){break a}m=0;while(1){d=k[c+3|0];M:{if((d|0)==255){break M}if(!d){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break M}f=d^255;e=(p(d,k[c|0])+p(f,l[a+454>>1])|0)+128|0;h[c|0]=(e>>>8&255)+e>>>8;e=(p(d,k[c+1|0])+p(f,l[a+456>>1])|0)+128|0;h[c+1|0]=(e>>>8&255)+e>>>8;d=(p(d,k[c+2|0])+p(f,l[a+458>>1])|0)+128|0;h[c+2|0]=(d>>>8&255)+d>>>8}c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}if(f?!(!q|!e):0){break j}if(!n){break a}m=0;while(1){d=k[c+7|0]|k[c+6|0]<<8;N:{if((d|0)==65535){break N}if(!d){d=l[a+454>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c|0]=d;h[c+1|0]=d>>>8;d=l[a+456>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c+2|0]=d;h[c+3|0]=d>>>8;d=l[a+458>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c+4|0]=d;h[c+5|0]=d>>>8;break N}f=d^65535;e=(p(d,k[c+1|0]|k[c|0]<<8)+p(f,l[a+454>>1])|0)+32768|0;e=(e>>>16|0)+e|0;h[c+1|0]=e>>>16;h[c|0]=e>>>24;e=(p(d,k[c+3|0]|k[c+2|0]<<8)+p(f,l[a+456>>1])|0)+32768|0;e=(e>>>16|0)+e|0;h[c+2|0]=e>>>24;h[c+3|0]=e>>>16;d=(p(d,k[c+5|0]|k[c+4|0]<<8)+p(f,l[a+458>>1])|0)+32768|0;d=(d>>>16|0)+d|0;h[c+4|0]=d>>>24;h[c+5|0]=d>>>16}c=c+8|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}Ye(a,102078);z()}Ye(a,102094);z()}Ye(a,102112);z()}if(!n){break a}d=0;while(1){O:{P:{t=k[c+7|0]|k[c+6|0]<<8;if(t){if((t|0)!=65535){break P}g=l[j[q+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;g=l[j[q+(k[c+3|0]>>>o<<2)>>2]+(k[c+2|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+2|0]=g;h[c+3|0]=g>>>8;g=l[j[q+(k[c+5|0]>>>o<<2)>>2]+(k[c+4|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+4|0]=g;h[c+5|0]=g>>>8;break O}g=l[a+454>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;g=l[a+456>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+2|0]=g;h[c+3|0]=g>>>8;g=l[a+458>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+4|0]=g;h[c+5|0]=g>>>8;break O}u=t^65535;g=(p(t,l[j[f+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1])+p(u,l[a+464>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+1|0]=g;h[c|0]=m;g=(p(t,l[j[f+(k[c+3|0]>>>o<<2)>>2]+(k[c+2|0]<<1)>>1])+p(u,l[a+466>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+3|0]=g;h[c+2|0]=m;g=(p(t,l[j[f+(k[c+5|0]>>>o<<2)>>2]+(k[c+4|0]<<1)>>1])+p(u,l[a+468>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+5|0]=g;h[c+4|0]=m}c=c+8|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break a}if(!n){break a}f=0;while(1){Q:{R:{o=k[c+3|0];if(o){if((o|0)!=255){break R}h[c|0]=k[m+k[c|0]|0];h[c+1|0]=k[m+k[c+1|0]|0];h[c+2|0]=k[m+k[c+2|0]|0];break Q}h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break Q}q=o^255;d=(p(o,k[g+k[c|0]|0])+p(q,l[a+464>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;e=c;if(!r){d=k[t+(d&255)|0]}h[e|0]=d;d=(p(o,k[g+k[c+1|0]|0])+p(q,l[a+466>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!r){d=k[t+(d&255)|0]}h[e+1|0]=d;d=(p(o,k[g+k[c+2|0]|0])+p(q,l[a+468>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!r){d=k[t+(d&255)|0]}h[e+2|0]=d}c=c+4|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!n){break a}d=0;while(1){S:{T:{g=k[c+3|0]|k[c+2|0]<<8;if(g){if((g|0)!=65535){break T}g=l[j[q+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;break S}g=l[a+460>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;break S}g=(p(g,l[j[f+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1])+p(l[a+470>>1],g^65535)|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>16|0;if(r){g=g>>>24|0}else{m=l[j[e+((m&255)>>>o<<2)>>2]+(g>>>23&510)>>1];g=m>>>8|0}h[c+1|0]=m;h[c|0]=g}c=c+4|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break a}if(!n){break a}f=0;while(1){v=c;U:{V:{e=k[c+1|0];if(e){if((e|0)!=255){break V}d=k[m+k[c|0]|0];break U}d=k[a+460|0];break U}e=(p(l[a+470>>1],e^255)+p(e,k[g+k[c|0]|0])|0)+128&65535;o=(e>>>8|0)+e>>>8|0;d=o;if(r){break U}d=k[t+(o&255)|0]}h[v|0]=d;c=c+2|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!n){break a}d=l[a+534>>1];e=0;while(1){if(!((d|0)!=(k[c+1|0]|k[c|0]<<8)|l[a+536>>1]!=(k[c+3|0]|k[c+2|0]<<8)|l[a+538>>1]!=(k[c+5|0]|k[c+4|0]<<8))){f=l[a+454>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8;f=l[a+456>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+2|0]=f;h[c+3|0]=f>>>8;f=l[a+458>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+4|0]=f;h[c+5|0]=f>>>8}c=c+6|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}e=0;d=l[a+534>>1];while(1){if(!((d|0)!=k[c|0]|l[a+536>>1]!=k[c+1|0]|l[a+538>>1]!=k[c+2|0])){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0]}c=c+3|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}e=0;d=l[a+540>>1];while(1){if((d|0)==k[c|0]){h[c|0]=k[a+460|0]}c=c+1|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}d=l[a+540>>1];m=0;e=4;while(1){f=k[c|0];if((d|0)==(f>>>e&15)){h[c|0]=f&3855>>>4-e|l[a+460>>1]<>1];m=0;e=6;while(1){f=k[c|0];if((d|0)==(f>>>e&3)){h[c|0]=f&16191>>>6-e|l[a+460>>1]<>2];W:{if((c&6299648)!=8192){break W}X:{if(!(c&128)){c=k[a+435|0];break X}if(l[a+428>>1]){break W}c=k[a+435|0];if(c&4){break W}}if((c&255)==3){break W}c=j[a+384>>2];n=j[b>>2];m=j[a+484>>2];f=j[a+496>>2];d=j[a+492>>2];g=k[b+9|0];if(!f|(g&255)!=16?!(g>>>0<9?d:0):0){break W}c=c+1|0;Y:{switch(k[b+8|0]){case 2:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;e=l[j[f+(k[c+3|0]>>>m<<2)>>2]+(k[c+2|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+2|0]=e;h[c+3|0]=e>>>8;e=l[j[f+(k[c+5|0]>>>m<<2)>>2]+(k[c+4|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+4|0]=e;h[c+5|0]=e>>>8;c=c+6|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];h[c+1|0]=k[d+k[c+1|0]|0];h[c+2|0]=k[d+k[c+2|0]|0];c=c+3|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 6:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;e=l[j[f+(k[c+3|0]>>>m<<2)>>2]+(k[c+2|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+2|0]=e;h[c+3|0]=e>>>8;e=l[j[f+(k[c+5|0]>>>m<<2)>>2]+(k[c+4|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+4|0]=e;h[c+5|0]=e>>>8;c=c+8|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];h[c+1|0]=k[d+k[c+1|0]|0];h[c+2|0]=k[d+k[c+2|0]|0];c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 4:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;c=c+4|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];c=c+2|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 0:break Y;default:break W}}Z:{_:{$:{if(!(!n|(g&255)!=2)){g=0;e=c;while(1){o=k[e|0];q=o&48;v=k[d+(q<<2|q|q>>>2|q>>>4)|0]>>>2&48;q=o&192;v=v|k[d+(q|o>>>6|q>>>2|q>>>4)|0]&192;q=o&12;o=o&3;h[e|0]=v|k[d+(q<<2|q|q<<4|q>>>2)|0]>>>4&12|k[d+(o<<4|o|o<<6|o<<2)|0]>>>6;e=e+1|0;g=g+4|0;if(n>>>0>g>>>0){continue}break}g=k[b+9|0]}switch((g&255)-4|0){case 0:break Z;case 4:break _;case 12:break $;default:break W}}if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;c=c+2|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];c=c+1|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W}if(!n){break W}f=0;while(1){e=k[c|0];g=e&15;h[c|0]=k[d+(g<<4|g)|0]>>>4|k[d+(e&240|e>>>4)|0]&240;c=c+1|0;f=f+2|0;if(n>>>0>f>>>0){continue}break}}c=j[a+216>>2];aa:{if((c&262272)!=262272){break aa}ba:{switch(k[b+8|0]-4|0){case 0:case 2:break ba;default:break aa}}an(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ca:{if(!(c&8388608)){break ca}f=k[b+8|0];c=f&4;if(!c){break ca}da:{if(!c){break da}c=j[a+384>>2];d=j[b>>2];ea:{switch(k[b+9|0]-8|0){case 0:e=j[a+500>>2];if(!e){break da}if(!d){break ca}f=f&2?4:2;while(1){c=c+f|0;h[c|0]=k[e+k[c|0]|0];d=d-1|0;if(d){continue}break}break ca;case 8:break ea;default:break da}}e=j[a+508>>2];if(!e){break da}if(!d){break ca}g=j[a+484>>2];f=f&2?8:4;c=(f+c|0)-1|0;while(1){m=l[j[e+(k[c+1|0]>>>g<<2)>>2]+(k[c|0]<<1)>>1];m=(m<<24|m<<8&16711680)>>>16|0;h[c|0]=m;h[c+1|0]=m>>>8;c=c+f|0;d=d-1|0;if(d){continue}break}break ca}Ze(a,102246)}c=j[a+216>>2];if(!(!(c&67108864)|k[b+9|0]!=16)){d=j[b+4>>2];if((d|0)>=1){c=j[a+384>>2]+1|0;f=d+c|0;d=c;while(1){e=k[c|0];h[d|0]=(p(k[c+1|0]-e|0,65535)+8388480>>>24|0)+e;d=d+1|0;c=c+2|0;if(f>>>0>c>>>0){continue}break}c=j[a+216>>2]}h[b+9|0]=8;d=k[b+10|0];h[b+11|0]=d<<3;j[b+4>>2]=p(d,j[b>>2])}if(!(!(c&1024)|k[b+9|0]!=16)){d=j[b+4>>2];if((d|0)>=1){c=j[a+384>>2]+1|0;f=d+c|0;d=c;while(1){h[d|0]=k[c|0];d=d+1|0;c=c+2|0;if(f>>>0>c>>>0){continue}break}c=j[a+216>>2]}h[b+9|0]=8;d=k[b+10|0];h[b+11|0]=d<<3;j[b+4>>2]=p(d,j[b>>2])}fa:{ga:{ha:{if(c&64){ia:{if(k[b+9|0]!=8){break ia}c=j[a+384>>2]+1|0;f=j[b>>2];g=j[a+616>>2];e=j[a+612>>2];d=k[b+8|0];if(!(!e|(d|0)!=2)){d=8;if(f){m=0;d=c;while(1){h[d|0]=k[e+(k[c+1|0]<<2&992|k[c|0]<<7&31744|k[c+2|0]>>>3)|0];d=d+1|0;c=c+3|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}d=k[b+9|0]}h[b+11|0]=d;h[b+10|0]=1;h[b+8|0]=3;c=d&255;if(c>>>0>=8){j[b+4>>2]=p(f,c>>>3|0);break ia}j[b+4>>2]=p(c,f)+7>>>3;break ia}if(!(!e|(d|0)!=6)){d=8;if(f){m=0;d=c;while(1){h[d|0]=k[e+(k[c+1|0]<<2&992|k[c|0]<<7&31744|k[c+2|0]>>>3)|0];d=d+1|0;c=c+4|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}d=k[b+9|0]}h[b+11|0]=d;h[b+10|0]=1;h[b+8|0]=3;c=d&255;if(c>>>0>=8){j[b+4>>2]=p(f,c>>>3|0);break ia}j[b+4>>2]=p(c,f)+7>>>3;break ia}if(!f|!g|(d|0)!=3){break ia}d=0;while(1){h[c|0]=k[g+k[c|0]|0];c=c+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if(!j[b+4>>2]){break ha}c=j[a+216>>2]}if(!(!(c&512)|k[b+9|0]!=8|k[b+8|0]==3)){d=j[b+4>>2];if((d|0)>=1){c=(j[a+384>>2]+1|0)+d|0;d=d+c|0;while(1){f=d-2|0;c=c-1|0;e=k[c|0];h[f|0]=e;h[d-1|0]=e;d=f;if(d>>>0>c>>>0){continue}break}d=j[b+4>>2];c=j[a+216>>2]}h[b+9|0]=16;j[b+4>>2]=d<<1;h[b+11|0]=k[b+10|0]<<4}if(!(!(c&16384)|!(k[a+209|0]&8))){dn(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&32){Ft(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ja:{if(!(c&524288)){break ja}d=j[a+384>>2]+1|0;c=j[b>>2];ka:{switch(k[b+8|0]-4|0){case 2:if(k[b+9|0]==8){if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;d=d-4|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja}if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;f=d-2|0;h[f|0]=k[f|0]^-1;d=d-8|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja;case 0:break ka;default:break ja}}if(k[b+9|0]==8){if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;d=d-2|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja}if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;f=d-2|0;h[f|0]=k[f|0]^-1;d=d-4|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}e=j[a+216>>2];if(!(e&8)){break fa}c=k[b+8|0];if((c|0)==3){break fa}g=k[b+9|0];la:{if(c&2){d=k[a+521|0];j[w+4>>2]=g-k[a+522|0];j[w+8>>2]=g-k[a+523|0];f=3;break la}d=k[a+524|0];f=1}m=j[a+384>>2];j[w>>2]=g-(d&255);if(c&4){j[(f<<2|w)>>2]=g-k[a+525|0];f=f+1|0}m=m+1|0;c=0;d=1;while(1){n=(c<<2)+w|0;o=j[n>>2];if(!((g|0)>(o|0)?(o|0)>=1:0)){j[n>>2]=0;c=c+1|0;if((f|0)!=(c|0)){continue}if(d&1){break fa}break ga}d=0;c=c+1|0;if((f|0)!=(c|0)){continue}break}break ga}Ye(a,102151);z()}ma:{na:{switch(lP(g-2|0,31)|0){case 0:c=j[b+4>>2];if((c|0)<1){break ma}c=c+m|0;while(1){h[m|0]=k[m|0]>>>1&85;m=m+1|0;if(c>>>0>m>>>0){continue}break}break ma;case 1:c=j[b+4>>2];if((c|0)<1){break ma}d=j[w>>2];f=15>>>d|0;f=f<<4|f;c=c+m|0;while(1){h[m|0]=f&k[m|0]>>>d;m=m+1|0;if(c>>>0>m>>>0){continue}break}break ma;case 3:c=j[b+4>>2];if((c|0)<1){break ma}d=c+m|0;c=0;while(1){h[m|0]=k[m|0]>>>j[(c<<2)+w>>2];c=c+1|0;c=(c|0)<(f|0)?c:0;m=m+1|0;if(d>>>0>m>>>0){continue}break}break ma;case 7:break na;default:break ma}}c=j[b+4>>2];if((c|0)<1){break ma}d=c+m|0;c=0;while(1){e=(k[m+1|0]|k[m|0]<<8)>>>j[(c<<2)+w>>2]|0;e=(e<<24|e<<8&16711680)>>>16|0;h[m|0]=e;h[m+1|0]=e>>>8;c=c+1|0;c=(c|0)<(f|0)?c:0;m=m+2|0;if(d>>>0>m>>>0){continue}break}}e=j[a+216>>2]}oa:{if(!(e&4)){break oa}c=k[b+9|0];if(c>>>0>7){break oa}d=j[a+384>>2]+1|0;e=j[b>>2];pa:{qa:{switch(c-1|0){case 0:if(!e){break pa}m=d+e|0;c=0-e&7;d=d+(e-1>>>3|0)|0;f=0;while(1){m=m-1|0;h[m|0]=k[d|0]>>>c&1;g=(c|0)==7;c=g?0:c+1|0;d=g?d-1|0:d;f=f+1|0;if((e|0)!=(f|0)){continue}break}break pa;case 1:if(!e){break pa}m=d+e|0;c=d+(e-1>>>2|0)|0;d=((e<<1)+6^-1)&6;f=0;while(1){m=m-1|0;h[m|0]=k[c|0]>>>d&3;g=(d|0)==6;d=g?0:d+2|0;c=g?c-1|0:c;f=f+1|0;if((e|0)!=(f|0)){continue}break}break pa;case 3:break qa;default:break pa}}if(!e){break pa}m=d+e|0;c=e<<2&4;d=d+(e-1>>>1|0)|0;f=0;while(1){m=m-1|0;h[m|0]=k[d|0]>>>c&15;d=(c|0)==4?d-1|0:d;c=((c|0)!=4)<<2;f=f+1|0;if((e|0)!=(f|0)){continue}break}}h[b+9|0]=8;c=k[b+10|0];h[b+11|0]=c<<3;j[b+4>>2]=p(c,e)}if(!(k[b+8|0]!=3|j[a+424>>2]<0)){Bt(a,b)}c=j[a+216>>2];if(c&1){Ct(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&65536){Dt(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ra:{if(!(c&32768)){break ra}n=l[a+444>>1];d=n>>>8|0;c=j[a+384>>2]+1|0;m=j[b>>2];f=j[a+212>>2];sa:{switch(k[b+8|0]){case 0:ta:{switch(k[b+9|0]-8|0){case 0:c=c+m|0;if(f&128){e=c+m|0;if(m>>>0>=2){f=1;while(1){h[e-1|0]=n;e=e-2|0;c=c-1|0;h[e|0]=k[c|0];f=f+1|0;if((m|0)!=(f|0)){continue}break}}h[e-1|0]=n;i[b+10>>1]=4098;j[b+4>>2]=m<<1;break ra}if(m){e=c+m|0;f=0;while(1){c=c-1|0;g=k[c|0];d=e-2|0;h[d|0]=n;h[e-1|0]=g;e=d;f=f+1|0;if((m|0)!=(f|0)){continue}break}}i[b+10>>1]=4098;j[b+4>>2]=m<<1;break ra;case 8:break ta;default:break ra}}g=1;e=m<<1;c=e+c|0;if(f&128){e=c+e|0;if(m>>>0>=2){while(1){h[e-2|0]=d;h[e-1|0]=n;h[e-3|0]=k[c-1|0];e=e-4|0;c=c-2|0;h[e|0]=k[c|0];g=g+1|0;if((m|0)!=(g|0)){continue}break}}h[e-2|0]=d;h[e-1|0]=n;i[b+10>>1]=8194;j[b+4>>2]=m<<2;break ra}if(m){e=c+e|0;g=0;while(1){h[e-1|0]=k[c-1|0];c=c-2|0;f=k[c|0];h[e-3|0]=n;h[e-2|0]=f;e=e-4|0;h[e|0]=d;g=g+1|0;if((m|0)!=(g|0)){continue}break}}i[b+10>>1]=8194;j[b+4>>2]=m<<2;break ra;case 2:break sa;default:break ra}}ua:{switch(k[b+9|0]-8|0){case 0:c=c+p(m,3)|0;if(f&128){e=c+m|0;if(m>>>0>=2){f=1;while(1){h[e-1|0]=n;h[e-2|0]=k[c-1|0];h[e-3|0]=k[c-2|0];e=e-4|0;c=c-3|0;h[e|0]=k[c|0];f=f+1|0;if((m|0)!=(f|0)){continue}break}}h[e-1|0]=n;i[b+10>>1]=8196;j[b+4>>2]=m<<2;break ra}if(m){e=c+m|0;f=0;while(1){h[e-1|0]=k[c-1|0];h[e-2|0]=k[c-2|0];c=c-3|0;g=k[c|0];d=e-4|0;h[d|0]=n;h[e-3|0]=g;e=d;f=f+1|0;if((m|0)!=(f|0)){continue}break}}i[b+10>>1]=8196;j[b+4>>2]=m<<2;break ra;case 8:break ua;default:break ra}}c=c+p(m,6)|0;if(f&128){g=1;e=(m<<1)+c|0;if(m>>>0>=2){while(1){h[e-2|0]=d;h[e-1|0]=n;h[e-3|0]=k[c-1|0];h[e-4|0]=k[c-2|0];h[e-5|0]=k[c-3|0];h[e-6|0]=k[c-4|0];h[e-7|0]=k[c-5|0];e=e-8|0;c=c-6|0;h[e|0]=k[c|0];g=g+1|0;if((m|0)!=(g|0)){continue}break}}h[e-2|0]=d;h[e-1|0]=n;i[b+10>>1]=16388;j[b+4>>2]=m<<3;break ra}if(m){e=(m<<1)+c|0;g=0;while(1){h[e-1|0]=k[c-1|0];h[e-2|0]=k[c-2|0];h[e-3|0]=k[c-3|0];h[e-4|0]=k[c-4|0];h[e-5|0]=k[c-5|0];c=c-6|0;f=k[c|0];h[e-7|0]=n;h[e-6|0]=f;e=e-8|0;h[e|0]=d;g=g+1|0;if((m|0)!=(g|0)){continue}break}}i[b+10>>1]=16388;j[b+4>>2]=m<<3}va:{if(!(k[a+218|0]&2)){break va}c=j[a+384>>2]+1|0;d=j[b>>2];wa:{switch(k[b+8|0]-4|0){case 2:if(k[b+9|0]==8){if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-1|0;g=k[f|0];o=f;f=c-2|0;h[o|0]=k[f|0];m=c-3|0;n=k[m|0];c=c-4|0;h[m|0]=k[c|0];h[f|0]=n;h[c|0]=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va}if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-2|0;m=k[f|0]|k[f+1|0]<<8;g=c-4|0;n=k[g|0]|k[g+1|0]<<8;h[f|0]=n;h[f+1|0]=n>>>8;f=c-6|0;n=k[f|0]|k[f+1|0]<<8;h[g|0]=n;h[g+1|0]=n>>>8;c=c-8|0;g=k[c|0]|k[c+1|0]<<8;h[f|0]=g;h[f+1|0]=g>>>8;h[c|0]=m;h[c+1|0]=m>>>8;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va;case 0:break wa;default:break va}}if(k[b+9|0]==8){if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-1|0;g=k[f|0];c=c-2|0;h[f|0]=k[c|0];h[c|0]=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va}if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){c=c-4|0;f=lP(k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24),16);h[c|0]=f;h[c+1|0]=f>>>8;h[c+2|0]=f>>>16;h[c+3|0]=f>>>24;e=e+1|0;if((d|0)!=(e|0)){continue}break}}c=j[a+216>>2];if(c&16){Et(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&1048576){c=j[a+192>>2];if(c){qe[c|0](a,b,j[a+384>>2]+1|0)}c=k[a+204|0];if(c){h[b+9|0]=c}c=k[a+205|0];xa:{if(!c){c=k[b+10|0];break xa}h[b+10|0]=c}c=p(k[b+9|0],c);h[b+11|0]=c;a=j[b>>2];c=c&255;ya:{if(c>>>0>=8){a=p(a,c>>>3|0);break ya}a=p(a,c)+7>>>3|0}j[b+4>>2]=a}oe=w+16|0}function kK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=oe-32|0;oe=f;o=j[a+56>>2];g=j[a+40>>2];n=k[g+9|0];d=j[a+44>>2];v=j[d+24>>2];p=0;a:{if(!v){break a}p=k[a+63|0]}x=j[a+36>>2];c=j[a+20>>2];y=j[a+16>>2];b=j[a>>2];t=j[a+28>>2];e=j[a+24>>2];q=j[g+24>>2]^-1;m=q&o;o=j[d>>2];u=j[g>>2];b:{c:{d:{e:{f:{g:{w=k[d+9|0];if(!((n|0)!=4|(w|0)!=4)){r=j[g+12>>2];if((r|0)!=j[d+12>>2]){break g}s=j[g+16>>2];if((s|0)!=j[d+16>>2]){break g}z=j[g+20>>2];if((z|0)!=j[d+20>>2]){break g}if(!v){break c}if(!t){break b}o=k[a+63|0]<>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=1;continue;case 1:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=2;continue;case 2:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=3;continue;case 3:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=4;continue;case 4:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=5;continue;case 5:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=6;continue;case 6:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=7;continue;default:break k}}e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}e=t-1|0;b=b+4|0;c=c+4|0;l:{if((a|0)>1){a=a-1|0;break l}c=c+x|0;b=b+y|0;t=e;if(e){continue h}break b}e=0;continue}}}a=(o|0)==386930691;v=(u|0)==386930691;if((u|0)!=386930691){break f}if((o|0)==386930691){break e}break f}if(!((u|0)==372711428|(o|0)==372711428)){wh(g,d,f+24|0,f+20|0,f+16|0,f+12|0,f+28|0);if(!t){break b}d=e&7;o=(e+7|0)/8|0;m:while(1){a=o;n:{o:{switch(d-1|0){default:e=0;break n;case 0:e=7;break n;case 1:e=6;break n;case 2:e=5;break n;case 3:e=4;break n;case 4:e=3;break n;case 5:e=2;break n;case 6:break o}}e=1}while(1){p:{switch(e|0){case 0:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=1;continue;case 1:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=2;continue;case 2:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=3;continue;case 3:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=4;continue;case 4:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=5;continue;case 5:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=6;continue;case 6:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=7;continue;default:break p}}if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}e=t-1|0;c=c+4|0;b=b+4|0;q:{if((a|0)>1){a=a-1|0;break q}c=c+x|0;b=b+y|0;t=e;if(e){continue m}break b}e=0;continue}}}a=(o|0)==386930691;v=(u|0)==386930691}if((u|0)!=390076419|(o|0)!=390076419){break d}}if(!t){break b}q=e&7;o=m>>>8|0;d=m>>>16|0;p=(e+7|0)/8|0;g=m&255;r:while(1){a=p;s:{t:{switch(q-1|0){default:e=0;break s;case 0:e=7;break s;case 1:e=6;break s;case 2:e=5;break s;case 3:e=4;break s;case 4:e=3;break s;case 5:e=2;break s;case 6:break t}}e=1}while(1){u:{switch(e|0){case 0:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=1;continue;case 1:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=2;continue;case 2:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=3;continue;case 3:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=4;continue;case 4:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=5;continue;case 5:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=6;continue;case 6:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=7;continue;default:break u}}e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}e=t-1|0;c=c+3|0;b=b+3|0;v:{if((a|0)>1){a=a-1|0;break v}c=c+x|0;b=b+y|0;t=e;if(e){continue r}break b}e=0;continue}}}if(!((o|0)==390076419&v?0:!((u|0)==390076419&a))){if(!t){break b}q=e&7;o=m>>>8|0;d=m>>>16|0;p=(e+7|0)/8|0;g=m&255;w:while(1){a=p;x:{y:{switch(q-1|0){default:e=0;break x;case 0:e=7;break x;case 1:e=6;break x;case 2:e=5;break x;case 3:e=4;break x;case 4:e=3;break x;case 5:e=2;break x;case 6:break y}}e=1}while(1){z:{switch(e|0){case 0:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=1;continue;case 1:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=2;continue;case 2:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=3;continue;case 3:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=4;continue;case 4:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=5;continue;case 5:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=6;continue;case 6:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=7;continue;default:break z}}e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}e=t-1|0;c=c+3|0;b=b+3|0;A:{if((a|0)>1){a=a-1|0;break A}c=c+x|0;b=b+y|0;t=e;if(e){continue w}break b}e=0;continue}}}B:{if(!((n|0)!=4|(w|0)!=3)){if((u|0)==372711428){break B}wh(g,d,f+28|0,f+24|0,f+20|0,f+16|0,0);if(!t){break b}o=e&7;p=(e+7|0)/8|0;C:while(1){a=p;D:{E:{switch(o-1|0){default:e=0;break D;case 0:e=7;break D;case 1:e=6;break D;case 2:e=5;break D;case 3:e=4;break D;case 4:e=3;break D;case 5:e=2;break D;case 6:break E}}e=1}while(1){F:{switch(e|0){case 0:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=1;continue;case 1:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=2;continue;case 2:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=3;continue;case 3:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=4;continue;case 4:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=5;continue;case 5:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=6;continue;case 6:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=7;continue;default:break F}}if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}e=t-1|0;c=c+3|0;b=b+4|0;G:{if((a|0)>1){a=a-1|0;break G}c=c+x|0;b=b+y|0;t=e;if(e){continue C}break b}e=0;continue}}}if((o|0)==372711428|(n|0)!=3|(w|0)!=4){break B}wh(g,d,f+24|0,f+20|0,f+16|0,f+12|0,f+28|0);if(!t){break b}q=e&7;d=m>>>8|0;g=m>>>16|0;o=(e+7|0)/8|0;m=m&255;H:while(1){a=o;I:{J:{switch(q-1|0){default:e=0;break I;case 0:e=7;break I;case 1:e=6;break I;case 2:e=5;break I;case 3:e=4;break I;case 4:e=3;break I;case 5:e=2;break I;case 6:break J}}e=1}while(1){K:{switch(e|0){case 0:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=1;continue;case 1:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=2;continue;case 2:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=3;continue;case 3:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=4;continue;case 4:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=5;continue;case 5:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=6;continue;case 6:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=7;continue;default:break K}}if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}e=t-1|0;c=c+4|0;b=b+3|0;L:{if((a|0)>1){a=a-1|0;break L}c=c+x|0;b=b+y|0;t=e;if(e){continue H}break b}e=0;continue}}}if(!t){break b}z=e&7;o=(e+7|0)/8|0;u=n-1|0;v=w-1|0;while(1){e=o;M:{N:{switch(z-1|0){default:a=7;break M;case 0:a=6;break M;case 1:a=5;break M;case 2:a=4;break M;case 3:a=3;break M;case 4:a=2;break M;case 5:a=1;break M;case 6:break N}}a=0}while(1){O:{P:{switch(a|0){case 0:a=0;Q:{R:{switch(u|0){case 0:a=k[b|0];break Q;case 1:a=l[b>>1];break Q;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break Q;case 3:break R;default:break Q}}a=j[b>>2]}S:{if((m|0)==(a&q)){break S}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];T:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break S;case 3:break T;default:break S}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break U;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break U;case 3:break V;default:break U}}a=j[b>>2]}W:{if((m|0)==(a&q)){break W}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];X:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break W;case 3:break X;default:break W}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break Y;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break Y;case 3:break Z;default:break Y}}a=j[b>>2]}_:{if((m|0)==(a&q)){break _}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];$:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break _;case 3:break $;default:break _}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break aa;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break aa;case 3:break ba;default:break aa}}a=j[b>>2]}ca:{if((m|0)==(a&q)){break ca}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];da:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ca;case 3:break da;default:break ca}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ea;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ea;case 3:break fa;default:break ea}}a=j[b>>2]}ga:{if((m|0)==(a&q)){break ga}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];ha:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ga;case 3:break ha;default:break ga}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ia;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ia;case 3:break ja;default:break ia}}a=j[b>>2]}ka:{if((m|0)==(a&q)){break ka}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];la:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ka;case 3:break la;default:break ka}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ma;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ma;case 3:break na;default:break ma}}a=j[b>>2]}oa:{if((m|0)==(a&q)){break oa}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];pa:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break oa;case 3:break pa;default:break oa}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break qa;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break qa;case 3:break ra;default:break qa}}a=j[b>>2]}sa:{if((m|0)==(a&q)){break sa}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];ta:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break sa;case 3:break ta;default:break sa}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=1;continue;case 1:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=2;continue;case 2:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=3;continue;case 3:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=4;continue;case 4:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=5;continue;case 5:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=6;continue;case 6:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=7;continue;default:break xa}}e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}e=t-1|0;b=b+4|0;c=c+4|0;ya:{if((a|0)>1){a=a-1|0;break ya}c=c+x|0;b=b+y|0;t=e;if(e){continue ua}break b}e=0;continue}}}oe=f+32|0}function sr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;w=j[a+8>>2];a:{if(!(k[c|0]&2)){break a}if((Sg(c)|0)>=0){break a}return-1}o=j[d>>2];n=j[a+4>>2];q=k[n+9|0];m=j[d+4>>2];s=j[c+16>>2];t=j[c+20>>2];r=j[a+52>>2];e=j[r+12>>2];b:{g=j[b+4>>2];c:{if(!g){break c}d:{switch(q-1|0){case 0:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];e:{if(e){d=d+e|0;e=e+f|0;break e}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 1:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];f:{if(e){d=d+e|0;e=f+(e<<1)|0;break f}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 2:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];g:{if(e){d=d+e|0;e=f+p(e,3)|0;break g}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 3:break d;default:break c}}while(1){d=0;while(1){f=e+4|0;d=l[e>>1]+d|0;e=l[e+2>>1];h:{if(e){d=d+e|0;e=f+(e<<2)|0;break h}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}}o=(t+p(m,s)|0)+p(o,q)|0;m=k[r+79|0];i:{j:{k:{t=j[b>>2];if(!(j[b+8>>2]==j[a+8>>2]?!t:0)){f=j[c+4>>2];a=k[f+9|0];if((m|0)==255){l:{switch(a-1|0){case 0:g=o-t|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];m:{if(a){n:{if((d|0)>=(q|0)){break n}e=t-d|0;o:{if((e|0)<1){e=0;b=a;break o}b=a-e|0;if((b|0)<1){break n}}m=d+e|0;o=q-m|0;Ge(g+m|0,e+f|0,(b|0)>(o|0)?o:b)}d=a+d|0;e=a+f|0;break m}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 1:g=o-(t<<1)|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];p:{if(a){q:{if((d|0)>=(q|0)){break q}e=t-d|0;r:{if((e|0)<1){e=0;b=a;break r}b=a-e|0;if((b|0)<1){break q}}m=d+e|0;o=q-m|0;Ge((m<<1)+g|0,f+(e<<1)|0,((b|0)>(o|0)?o:b)<<1)}d=a+d|0;e=f+(a<<1)|0;break p}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 2:g=p(t,-3)+o|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];s:{if(a){t:{if((d|0)>=(q|0)){break t}e=t-d|0;u:{if((e|0)<1){e=0;b=a;break u}b=a-e|0;if((b|0)<1){break t}}m=d+e|0;o=q-m|0;Ge(p(m,3)+g|0,f+p(e,3)|0,p((b|0)>(o|0)?o:b,3))}d=a+d|0;e=f+p(a,3)|0;break s}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 3:break l;default:break b}}g=o-(t<<2)|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+4|0;d=l[e>>1]+d|0;a=l[e+2>>1];v:{if(a){w:{if((d|0)>=(q|0)){break w}e=t-d|0;x:{if((e|0)<1){e=0;b=a;break x}b=a-e|0;if((b|0)<1){break w}}m=d+e|0;o=q-m|0;Ge((m<<2)+g|0,f+(e<<2)|0,((b|0)>(o|0)?o:b)<<2)}d=a+d|0;e=f+(a<<2)|0;break v}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b}y:{switch(a-2|0){case 0:z:{u=j[f+20>>2];g=j[f+16>>2];r=j[f+12>>2];a=u|(g|r);if((a|0)!=32767){if((a|0)!=65535|((u|0)!=2016?!((r|0)==2016|(g|0)==2016):0)){break z}q=o-(t<<1)|0;n=t+j[b+8>>2]|0;o=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;a=k[e+1|0];A:{if(a){B:{if((b|0)>=(n|0)){break B}f=t-b|0;C:{if((f|0)<1){f=0;d=a;break C}d=a-f|0;if((d|0)<1){break B}}m=b+f|0;e=n-m|0;e=(d|0)>(e|0)?e:d;d=(m<<1)+q|0;f=g+(f<<1)|0;if((d^f)&3){if(!e){break B}while(1){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&2081)+((s&63454)+(m&63454)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break B}if(f&3){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&2081)+((s&63454)+(m&63454)>>>1|0);e=e-1|0;f=f+2|0;d=d+2|0}if(e>>>0>=2){while(1){m=j[f>>2];s=j[d>>2];j[d>>2]=((m&s&136382497)+(m>>>1&2079292399)|0)+(s>>>1&2079292399);d=d+4|0;f=f+4|0;e=e-2|0;if(e>>>0>1){continue}break}}if(!e){break B}v=d;e=l[f>>1];d=l[d>>1];i[v>>1]=(e&d&2081)+((d&63454)+(e&63454)>>>1|0)}b=a+b|0;e=g+(a<<1)|0;break A}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;o=o-1|0;if(o){continue}break b}}m=m>>>3|0;while(1){a=0;while(1){g=e+2|0;a=k[e|0]+a|0;b=k[e+1|0];D:{if(b){E:{if((a|0)>=(n|0)){break E}d=t-a|0;F:{if((d|0)<1){d=0;f=b;break F}f=b-d|0;if((f|0)<1){break E}}e=a+d|0;r=n-e|0;r=(f|0)>(r|0)?r:f;if((r|0)<1){break E}f=g+(d<<1)|0;d=(e<<1)+q|0;e=0;while(1){u=l[f>>1];v=(u<<16|u)&132184095;u=l[d>>1];u=(u<<16|u)&132184095;u=(p(m,v-u|0)>>>5|0)+u&132184095;i[d>>1]=u>>>16|u;d=d+2|0;f=f+2|0;e=e+1|0;if((r|0)!=(e|0)){continue}break}}a=a+b|0;e=g+(b<<1)|0;break D}e=g;if(!a){break b}}if((a|0)!=(w|0)){continue}break}q=q+s|0;o=o-1|0;if(o){continue}break}break b}if((u|0)!=992?!((r|0)==992|(g|0)==992):0){break z}q=o-(t<<1)|0;n=t+j[b+8>>2]|0;o=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;a=k[e+1|0];G:{if(a){H:{if((b|0)>=(n|0)){break H}f=t-b|0;I:{if((f|0)<1){f=0;d=a;break I}d=a-f|0;if((d|0)<1){break H}}m=b+f|0;e=n-m|0;e=(d|0)>(e|0)?e:d;d=(m<<1)+q|0;f=g+(f<<1)|0;if((d^f)&3){if(!e){break H}while(1){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&1057)+((s&64478)+(m&64478)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break H}if(f&3){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&1057)+((s&64478)+(m&64478)>>>1|0);e=e-1|0;f=f+2|0;d=d+2|0}if(e>>>0>=2){while(1){m=j[f>>2];s=j[d>>2];j[d>>2]=((m&s&69272609)+(m>>>1&2112847343)|0)+(s>>>1&2112847343);d=d+4|0;f=f+4|0;e=e-2|0;if(e>>>0>1){continue}break}}if(!e){break H}v=d;e=l[f>>1];d=l[d>>1];i[v>>1]=(e&d&1057)+((d&64478)+(e&64478)>>>1|0)}b=a+b|0;e=g+(a<<1)|0;break G}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;o=o-1|0;if(o){continue}break b}}m=m>>>3|0;while(1){a=0;while(1){g=e+2|0;a=k[e|0]+a|0;b=k[e+1|0];J:{if(b){K:{if((a|0)>=(n|0)){break K}d=t-a|0;L:{if((d|0)<1){d=0;f=b;break L}f=b-d|0;if((f|0)<1){break K}}e=a+d|0;r=n-e|0;r=(f|0)>(r|0)?r:f;if((r|0)<1){break K}f=g+(d<<1)|0;d=(e<<1)+q|0;e=0;while(1){u=l[f>>1];v=(u<<16|u)&65043487;u=l[d>>1];u=(u<<16|u)&65043487;u=(p(m,v-u|0)>>>5|0)+u&65043487;i[d>>1]=u>>>16|u;d=d+2|0;f=f+2|0;e=e+1|0;if((r|0)!=(e|0)){continue}break}}a=a+b|0;e=g+(b<<1)|0;break J}e=g;if(!a){break b}}if((a|0)!=(w|0)){continue}break}q=q+s|0;o=o-1|0;if(o){continue}break}break b}o=o-(t<<1)|0;G=t+j[b+8>>2]|0;x=j[b+12>>2];while(1){n=0;while(1){d=e+2|0;n=k[e|0]+n|0;b=k[e+1|0];M:{if(b){N:{if((n|0)>=(G|0)){break N}e=t-n|0;O:{if((e|0)<1){e=0;a=b;break O}a=b-e|0;if((a|0)<1){break N}}q=e+n|0;y=G-q|0;H=(a|0)>(y|0)?y:a;if((H|0)<1){break N}a=d+(e<<1)|0;e=(q<<1)+o|0;J=k[f+30|0];B=j[(J<<2)+234976>>2];I=k[f+29|0];C=j[(I<<2)+234976>>2];K=k[f+28|0];A=j[(K<<2)+234976>>2];M=j[f+24>>2];y=k[f+34|0];E=k[f+33|0];v=k[f+32|0];q=0;while(1){D=l[a>>1];F=l[e>>1];z=k[A+((F&r)>>>v|0)|0];L=(p(m,k[A+((D&r)>>>v|0)|0]-z|0)>>>8|0)+z>>>K<>>E|0)|0];z=L|(p(m,k[C+((g&D)>>>E|0)|0]-z|0)>>>8|0)+z>>>I<>>y|0)|0];D=k[B+((u&F)>>>y|0)|0];i[e>>1]=z|(p(m,L-D|0)>>>8|0)+D>>>J<>2]|0;n=j[b+12>>2];while(1){o=0;while(1){d=e+2|0;o=k[e|0]+o|0;b=k[e+1|0];P:{if(b){Q:{if((o|0)>=(s|0)){break Q}e=t-o|0;R:{if((e|0)<1){e=0;a=b;break R}a=b-e|0;if((a|0)<1){break Q}}g=e+o|0;r=s-g|0;B=(a|0)>(r|0)?r:a;if((B|0)<1){break Q}a=d+p(e,3)|0;e=p(g,3)+q|0;g=0;while(1){C=k[f+28|0];A=j[(C<<2)+234976>>2];x=j[f+12>>2];r=k[e|0]|(k[e+1|0]<<8|k[e+2|0]<<16);u=k[f+32|0];y=k[A+((x&r)>>>u|0)|0];F=k[f+29|0];H=j[(F<<2)+234976>>2];D=j[f+16>>2];E=k[f+33|0];v=k[H+((D&r)>>>E|0)|0];I=k[f+30|0];K=j[(I<<2)+234976>>2];J=j[f+20>>2];z=J&r;r=k[f+34|0];G=k[K+(z>>>r|0)|0];z=x;x=k[a|0]|(k[a+1|0]<<8|k[a+2|0]<<16);r=j[f+24>>2]|y+(p(m,k[A+((z&x)>>>u|0)|0]-y|0)>>>8|0)>>>C<>>E|0)|0]-v|0)>>>8|0)>>>F<>>r|0)|0]-G|0)>>>8|0)>>>I<>>16;h[e+1|0]=r>>>8;e=e+3|0;a=a+3|0;g=g+1|0;if((B|0)!=(g|0)){continue}break}}o=b+o|0;e=d+p(b,3)|0;break P}e=d;if(!o){break b}}if((o|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;n=n-1|0;if(n){continue}break}break b;case 2:break y;default:break b}}g=j[f+20>>2];a=j[f+16>>2];d=j[f+12>>2];if(!((g|(a|d))!=16777215|((g|0)!=65280?!((d|0)==65280|(a|0)==65280):0))){q=o-(t<<2)|0;o=t+j[b+8>>2]|0;n=j[b+12>>2];if((m|0)!=128){break k}while(1){b=0;while(1){g=e+4|0;b=l[e>>1]+b|0;a=l[e+2>>1];S:{if(a){T:{if((b|0)>=(o|0)){break T}d=t-b|0;U:{if((d|0)<1){d=0;f=a;break U}f=a-d|0;if((f|0)<1){break T}}e=b+d|0;m=o-e|0;m=(f|0)>(m|0)?m:f;if((m|0)<1){break T}f=g+(d<<2)|0;d=(e<<2)+q|0;e=0;while(1){s=j[d>>2];r=j[f>>2];j[d>>2]=((s&16711422)+(r&16711422)>>>1|0)+(s&r&65793);d=d+4|0;f=f+4|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}b=a+b|0;e=g+(a<<2)|0;break S}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;n=n-1|0;if(n){continue}break}break b}o=o-(t<<2)|0;y=t+j[b+8>>2]|0;r=j[b+12>>2];while(1){s=0;while(1){d=e+4|0;s=l[e>>1]+s|0;b=l[e+2>>1];V:{if(b){W:{if((s|0)>=(y|0)){break W}e=t-s|0;X:{if((e|0)<1){e=0;a=b;break X}a=b-e|0;if((a|0)<1){break W}}g=e+s|0;q=y-g|0;D=(a|0)>(q|0)?q:a;if((D|0)<1){break W}a=d+(e<<2)|0;e=(g<<2)+o|0;F=k[f+30|0];E=j[(F<<2)+234976>>2];H=k[f+29|0];v=j[(H<<2)+234976>>2];J=k[f+28|0];G=j[(J<<2)+234976>>2];g=k[f+34|0];n=k[f+33|0];u=k[f+32|0];q=0;while(1){A=j[f+12>>2];x=j[e>>2];B=k[G+((A&x)>>>u|0)|0];I=j[f+16>>2];C=k[v+((I&x)>>>n|0)|0];K=j[f+20>>2];x=k[E+((K&x)>>>g|0)|0];z=A;A=j[a>>2];j[e>>2]=j[f+24>>2]|B+(p(m,k[G+((z&A)>>>u|0)|0]-B|0)>>>8|0)>>>J<>>n|0)|0]-C|0)>>>8|0)>>>H<>>g|0)|0]-x|0)>>>8|0)>>>F<>2]+o|0;r=r-1|0;if(r){continue}break}break b}if((m|0)==255){Y:{switch(q-1|0){case 0:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];Z:{if(e){Ge(d+o|0,b,e);d=d+e|0;e=b+e|0;break Z}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 1:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];_:{if(e){f=e<<1;Ge((d<<1)+o|0,b,f);d=d+e|0;e=b+f|0;break _}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 2:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];$:{if(e){f=p(e,3);Ge(p(d,3)+o|0,b,f);d=d+e|0;e=b+f|0;break $}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 3:break Y;default:break b}}a=j[b+12>>2];while(1){d=0;while(1){b=e+4|0;d=l[e>>1]+d|0;e=l[e+2>>1];aa:{if(e){f=e<<2;Ge((d<<2)+o|0,b,f);d=d+e|0;e=b+f|0;break aa}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b}ba:{switch(q-2|0){case 0:ca:{t=j[n+20>>2];d=j[n+16>>2];f=j[n+12>>2];a=t|(d|f);if((a|0)!=32767){if((a|0)!=65535|((t|0)!=2016?!((f|0)==2016|(d|0)==2016):0)){break ca}n=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;q=k[e+1|0];da:{if(q){d=(b<<1)+o|0;ea:{if((g^d)&3){e=q;f=g;while(1){a=l[f>>1];m=l[d>>1];i[d>>1]=(a&m&2081)+((m&63454)+(a&63454)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break ea}fa:{if(!(g&3)){f=g;a=q;break fa}a=l[e+2>>1];f=l[d>>1];i[d>>1]=(a&f&2081)+((f&63454)+(a&63454)>>>1|0);d=d+2|0;f=e+4|0;a=q-1|0}if(a>>>0>=2){while(1){e=j[f>>2];m=j[d>>2];j[d>>2]=((e&m&136382497)+(e>>>1&2079292399)|0)+(m>>>1&2079292399);d=d+4|0;f=f+4|0;a=a-2|0;if(a>>>0>1){continue}break}}if(!a){break ea}e=d;a=l[f>>1];d=l[d>>1];i[e>>1]=(a&d&2081)+((d&63454)+(a&63454)>>>1|0)}b=b+q|0;e=g+(q<<1)|0;break da}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;n=n-1|0;if(n){continue}break b}}q=m>>>3|0;while(1){g=0;while(1){a=e+2|0;g=k[e|0]+g|0;b=k[e+1|0];ga:{if(b){d=(g<<1)+o|0;e=0;f=a;while(1){m=l[f>>1];v=(m<<16|m)&132184095;m=l[d>>1];m=(m<<16|m)&132184095;m=(p(q,v-m|0)>>>5|0)+m&132184095;i[d>>1]=m>>>16|m;d=d+2|0;f=f+2|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<1)|0;break ga}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=o+s|0;n=n-1|0;if(n){continue}break}break b}if((t|0)!=992?!((f|0)==992|(d|0)==992):0){break ca}n=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;q=k[e+1|0];ha:{if(q){d=(b<<1)+o|0;ia:{if((g^d)&3){e=q;f=g;while(1){a=l[f>>1];m=l[d>>1];i[d>>1]=(a&m&1057)+((m&64478)+(a&64478)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break ia}ja:{if(!(g&3)){f=g;a=q;break ja}a=l[e+2>>1];f=l[d>>1];i[d>>1]=(a&f&1057)+((f&64478)+(a&64478)>>>1|0);d=d+2|0;f=e+4|0;a=q-1|0}if(a>>>0>=2){while(1){e=j[f>>2];m=j[d>>2];j[d>>2]=((e&m&69272609)+(e>>>1&2112847343)|0)+(m>>>1&2112847343);d=d+4|0;f=f+4|0;a=a-2|0;if(a>>>0>1){continue}break}}if(!a){break ia}e=d;a=l[f>>1];d=l[d>>1];i[e>>1]=(a&d&1057)+((d&64478)+(a&64478)>>>1|0)}b=b+q|0;e=g+(q<<1)|0;break ha}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;n=n-1|0;if(n){continue}break b}}q=m>>>3|0;while(1){g=0;while(1){a=e+2|0;g=k[e|0]+g|0;b=k[e+1|0];ka:{if(b){d=(g<<1)+o|0;e=0;f=a;while(1){m=l[f>>1];v=(m<<16|m)&65043487;m=l[d>>1];m=(m<<16|m)&65043487;m=(p(q,v-m|0)>>>5|0)+m&65043487;i[d>>1]=m>>>16|m;d=d+2|0;f=f+2|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<1)|0;break ka}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=o+s|0;n=n-1|0;if(n){continue}break}break b}r=j[b+12>>2];while(1){b=0;while(1){a=e+2|0;b=k[e|0]+b|0;u=k[e+1|0];la:{if(u){e=(b<<1)+o|0;D=k[n+30|0];G=j[(D<<2)+234976>>2];F=k[n+29|0];x=j[(F<<2)+234976>>2];H=k[n+28|0];B=j[(H<<2)+234976>>2];J=j[n+24>>2];y=k[n+34|0];E=k[n+33|0];v=k[n+32|0];q=0;g=a;while(1){C=l[g>>1];A=l[e>>1];I=k[B+((A&f)>>>v|0)|0];z=J|(p(m,k[B+((C&f)>>>v|0)|0]-I|0)>>>8|0)+I>>>H<>>E|0)|0];z=z|(p(m,k[x+((d&C)>>>E|0)|0]-I|0)>>>8|0)+I>>>F<>>y|0)|0];C=k[G+((t&A)>>>y|0)|0];i[e>>1]=z|(p(m,I-C|0)>>>8|0)+C>>>D<>2];while(1){q=0;while(1){b=e+2|0;q=k[e|0]+q|0;d=k[e+1|0];ma:{if(d){e=p(q,3)+o|0;g=0;a=b;while(1){G=k[n+28|0];x=j[(G<<2)+234976>>2];v=j[n+12>>2];f=k[e|0]|(k[e+1|0]<<8|k[e+2|0]<<16);t=k[n+32|0];r=k[x+((v&f)>>>t|0)|0];C=k[n+29|0];A=j[(C<<2)+234976>>2];B=j[n+16>>2];u=k[n+33|0];y=k[A+((B&f)>>>u|0)|0];F=k[n+30|0];H=j[(F<<2)+234976>>2];D=j[n+20>>2];z=D&f;f=k[n+34|0];E=k[H+(z>>>f|0)|0];z=v;v=k[a|0]|(k[a+1|0]<<8|k[a+2|0]<<16);f=j[n+24>>2]|r+(p(m,k[x+((z&v)>>>t|0)|0]-r|0)>>>8|0)>>>G<>>u|0)|0]-y|0)>>>8|0)>>>C<>>f|0)|0]-E|0)>>>8|0)>>>F<>>16;h[e+1|0]=f>>>8;e=e+3|0;a=a+3|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}q=d+q|0;e=b+p(d,3)|0;break ma}e=b;if(!q){break b}}if((q|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;s=s-1|0;if(s){continue}break}break b;case 2:break ba;default:break b}}f=j[n+20>>2];a=j[n+16>>2];d=j[n+12>>2];if(!((f|(a|d))!=16777215|((f|0)!=65280?!((d|0)==65280|(a|0)==65280):0))){q=j[b+12>>2];if((m|0)!=128){break j}while(1){g=0;while(1){a=e+4|0;g=l[e>>1]+g|0;b=l[e+2>>1];na:{if(b){d=(g<<2)+o|0;e=0;f=a;while(1){n=j[d>>2];m=j[f>>2];j[d>>2]=((n&16711422)+(m&16711422)>>>1|0)+(n&m&65793);d=d+4|0;f=f+4|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<2)|0;break na}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;q=q-1|0;if(q){continue}break}break b}r=j[b+12>>2];while(1){b=0;while(1){a=e+4|0;b=l[e>>1]+b|0;d=l[e+2>>1];oa:{if(d){e=(b<<2)+o|0;C=k[n+30|0];u=j[(C<<2)+234976>>2];A=k[n+29|0];y=j[(A<<2)+234976>>2];D=k[n+28|0];E=j[(D<<2)+234976>>2];f=k[n+34|0];t=k[n+33|0];s=k[n+32|0];q=0;g=a;while(1){B=j[n+12>>2];v=j[e>>2];G=k[E+((B&v)>>>s|0)|0];F=j[n+16>>2];x=k[y+((F&v)>>>t|0)|0];H=j[n+20>>2];v=k[u+((H&v)>>>f|0)|0];z=B;B=j[g>>2];j[e>>2]=j[n+24>>2]|G+(p(m,k[E+((z&B)>>>s|0)|0]-G|0)>>>8|0)>>>D<>>t|0)|0]-x|0)>>>8|0)>>>A<>>f|0)|0]-v|0)>>>8|0)>>>C<>2]+o|0;r=r-1|0;if(r){continue}break}break b}g=0;break i}n=0;while(1){b=e+4|0;n=l[e>>1]+n|0;d=l[e+2>>1];pa:{if(d){f=(n<<2)+o|0;a=0;e=b;while(1){g=j[e>>2];t=j[f>>2];s=t&16711935;v=(p(m,(g&16711935)-s|0)>>>8|0)+s&16711935;x=g&65280;g=t&65280;j[f>>2]=v|(p(m,x-g|0)>>>8|0)+g&65280;f=f+4|0;e=e+4|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}n=d+n|0;e=b+(d<<2)|0;break pa}e=b;if(!n){break b}}if((n|0)!=(w|0)){continue}o=j[c+16>>2]+o|0;q=q-1|0;if(!q){break b}n=0;continue}}while(1){d=e+4|0;g=l[e>>1]+g|0;b=l[e+2>>1];qa:{if(b){ra:{if((g|0)>=(o|0)){break ra}f=t-g|0;sa:{if((f|0)<1){f=0;e=b;break sa}e=b-f|0;if((e|0)<1){break ra}}a=f+g|0;s=o-a|0;s=(e|0)>(s|0)?s:e;if((s|0)<1){break ra}e=d+(f<<2)|0;f=(a<<2)+q|0;a=0;while(1){r=j[e>>2];u=j[f>>2];y=u&16711935;v=(p(m,(r&16711935)-y|0)>>>8|0)+y&16711935;x=r&65280;r=u&65280;j[f>>2]=v|(p(m,x-r|0)>>>8|0)+r&65280;f=f+4|0;e=e+4|0;a=a+1|0;if((s|0)!=(a|0)){continue}break}}g=b+g|0;e=d+(b<<2)|0;break qa}e=d;if(!g){break b}}if((g|0)!=(w|0)){continue}q=j[c+16>>2]+q|0;n=n-1|0;if(!n){break b}g=0;continue}}if(k[c|0]&2){pg(c)}return 0}function tK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;g=oe-32|0;oe=g;b=j[a+40>>2];u=k[b+9|0];d=j[a+44>>2];o=0;a:{if(!j[d+24>>2]){break a}o=k[a+63|0]}x=j[a+36>>2];c=j[a+20>>2];y=j[a+16>>2];e=j[a>>2];s=j[a+28>>2];a=j[a+24>>2];b:{c:{f=(u|0)!=4;t=k[d+9|0];if(!(f|(t|0)!=4)){if(j[b>>2]==372711428|j[d>>2]==372711428){break c}wh(b,d,g+24|0,g+20|0,g+16|0,g+12|0,g+28|0);if(!s){break b}n=a&7;f=(a+7|0)/8|0;d:while(1){r=f;e:{f:{switch(n-1|0){default:a=0;break e;case 0:a=7;break e;case 1:a=6;break e;case 2:a=5;break e;case 3:a=4;break e;case 4:a=3;break e;case 5:a=2;break e;case 6:break f}}a=1}while(1){g:{switch(a|0){case 0:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=1;continue;case 1:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=2;continue;case 2:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=3;continue;case 3:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=4;continue;case 4:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=5;continue;case 5:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=6;continue;case 6:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=7;continue;default:break g}}a=s-1|0;h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;h:{if((r|0)>1){r=r-1|0;break h}c=c+x|0;e=e+y|0;s=a;if(a){continue d}break b}a=0;continue}}}if(!((t|0)!=3|f)){if(j[b>>2]==372711428){break c}wh(b,d,g+28|0,g+24|0,g+20|0,g+16|0,0);if(!s){break b}o=a&7;f=(a+7|0)/8|0;i:while(1){r=f;j:{k:{switch(o-1|0){default:a=0;break j;case 0:a=7;break j;case 1:a=6;break j;case 2:a=5;break j;case 3:a=4;break j;case 4:a=3;break j;case 5:a=2;break j;case 6:break k}}a=1}while(1){l:{switch(a|0){case 0:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=1;continue;case 1:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=2;continue;case 2:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=3;continue;case 3:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=4;continue;case 4:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=5;continue;case 5:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=6;continue;case 6:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=7;continue;default:break l}}a=s-1|0;h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;m:{if((r|0)>1){r=r-1|0;break m}c=c+x|0;e=e+y|0;s=a;if(a){continue i}break b}a=0;continue}}}if((u|0)!=3|(t|0)!=4|j[d>>2]==372711428){break c}wh(b,d,g+24|0,g+20|0,g+16|0,g+12|0,g+28|0);if(!s){break b}n=a&7;f=(a+7|0)/8|0;n:while(1){r=f;o:{p:{switch(n-1|0){default:a=0;break o;case 0:a=7;break o;case 1:a=6;break o;case 2:a=5;break o;case 3:a=4;break o;case 4:a=3;break o;case 5:a=2;break o;case 6:break p}}a=1}while(1){q:{switch(a|0){case 0:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=1;continue;case 1:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=2;continue;case 2:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=3;continue;case 3:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=4;continue;case 4:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=5;continue;case 5:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=6;continue;case 6:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=7;continue;default:break q}}a=s-1|0;h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;r:{if((r|0)>1){r=r-1|0;break r}c=c+x|0;e=e+y|0;s=a;if(a){continue n}break b}a=0;continue}}}if(!s){break b}z=a&7;A=(a+7|0)/8|0;v=u-1|0;w=t-1|0;while(1){r=A;s:{t:{switch(z-1|0){default:a=7;break s;case 0:a=6;break s;case 1:a=5;break s;case 2:a=4;break s;case 3:a=3;break s;case 4:a=2;break s;case 5:a=1;break s;case 6:break t}}a=0}while(1){u:{v:{switch(a|0){case 0:a=0;m=0;f=0;w:{x:{y:{switch(v|0){case 0:f=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break x;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break x;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break x;case 3:break y;default:break w}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}a=k[a|0];m=k[m|0];f=k[f|0]}p=a&255;q=m&255;n=f;z:{A:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=f;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=a;break z;case 3:break A;default:break z}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 2:a=(k[b+34|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;break C;case 3:break D;default:break B}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0}m=k[a|0];a=k[f|0];f=k[n|0]}p=a&255;q=m&255;n=f;E:{F:{switch(w|0){case 0:h[c|0]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=f;h[(k[d+33|0]>>>3|0)+c|0]=a;h[(k[d+34|0]>>>3|0)+c|0]=m;break E;case 3:break F;default:break E}}j[c>>2]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break H;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break H;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break H;case 3:break I;default:break G}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;J:{K:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break J;case 3:break K;default:break J}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break M;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break M;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break M;case 3:break N;default:break L}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;O:{P:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break O;case 3:break P;default:break O}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break R;case 3:break S;default:break Q}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;T:{U:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break T;case 3:break U;default:break T}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break W;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break W;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break W;case 3:break X;default:break V}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;Y:{Z:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break Y;case 3:break Z;default:break Y}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break $;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break $;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break $;case 3:break aa;default:break _}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;ba:{ca:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break ba;case 3:break ca;default:break ba}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break ea;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break ea;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break ea;case 3:break fa;default:break da}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}a=k[a|0];m=k[m|0];f=k[f|0]}p=a&255;q=m&255;n=f;ga:{ha:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=f;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=a;break ga;case 3:break ha;default:break ga}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2];p=j[b+24>>2]^-1;q=p&j[a+56>>2];y=j[a+36>>2];e=j[a+20>>2];z=j[a+16>>2];d=j[a>>2];u=j[a+28>>2];f=j[a+24>>2];a:{r=j[b>>2];c=j[a+44>>2];a=j[c>>2];if((r|0)==(a|0)){a=lP(r-372645892|0,12);if(!u|(a>>>0>5|!(1<>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=1;continue;case 1:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=2;continue;case 2:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=3;continue;case 3:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=4;continue;case 4:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=5;continue;case 5:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=6;continue;case 6:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=7;continue;default:break e}}a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}a=u-1|0;e=e+4|0;d=d+4|0;f:{if((f|0)>1){f=f-1|0;break f}e=e+y|0;d=d+z|0;u=a;if(a){continue b}break a}a=0;continue}}}s=k[c+9|0];t=k[b+9|0];g:{if(!((a|0)==372711428|(r|0)==372711428|(s|0)!=4)){if((t|0)==4){break g}}if(!u){break a}A=f&7;x=(f+7|0)/8|0;v=t-1|0;w=s-1|0;while(1){r=x;h:{i:{switch(A-1|0){default:a=7;break h;case 0:a=6;break h;case 1:a=5;break h;case 2:a=4;break h;case 3:a=3;break h;case 4:a=2;break h;case 5:a=1;break h;case 6:break i}}a=0}while(1){j:{k:{switch(a|0){case 0:a=0;n=0;f=0;g=0;m=0;l:{m:{switch(v|0){case 0:a=k[d|0];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break l;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break l;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break l;case 3:break m;default:break l}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}n:{if((a&p)==(q|0)){break n}o:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break n;case 3:break o;default:break n}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break p;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break p;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break p;case 3:break q;default:break p}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}r:{if((a&p)==(q|0)){break r}s:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break r;case 3:break s;default:break r}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break t;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break t;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break t;case 3:break u;default:break t}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}v:{if((a&p)==(q|0)){break v}w:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break v;case 3:break w;default:break v}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break x;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break x;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break x;case 3:break y;default:break x}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}z:{if((a&p)==(q|0)){break z}A:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break z;case 3:break A;default:break z}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break B;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break B;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break B;case 3:break C;default:break B}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}D:{if((a&p)==(q|0)){break D}E:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break D;case 3:break E;default:break D}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break F;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break F;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break F;case 3:break G;default:break F}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}H:{if((a&p)==(q|0)){break H}I:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break H;case 3:break I;default:break H}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break J;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break J;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break J;case 3:break K;default:break J}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}L:{if((a&p)==(q|0)){break L}M:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break L;case 3:break M;default:break L}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break N;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break N;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break N;case 3:break O;default:break N}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}P:{if((a&p)==(q|0)){break P}Q:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break P;case 3:break Q;default:break P}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=1;continue;case 1:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=2;continue;case 2:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=3;continue;case 3:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=4;continue;case 4:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=5;continue;case 5:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=6;continue;case 6:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=7;continue;default:break U}}if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}a=u-1|0;e=e+4|0;d=d+4|0;V:{if((f|0)>1){f=f-1|0;break V}e=e+y|0;d=d+z|0;u=a;if(a){continue R}break a}a=0;continue}}}oe=o+16|0} -function br(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;g=oe-48|0;oe=g;Oh(a,g+32|0);f=j[g+40>>2];a:{if(!f){m=3;break a}l=j[g+32>>2];j[g+28>>2]=l;o=j[g+36>>2];b:{c:{d:{q=j[b+8>>2];if((q|0)==7){n=j[a+8>>2];j[a+8>>2]=o-1;s=1;e=j[a>>2];j[a>>2]=l+1;Oh(a,g);j[a+8>>2]=n;j[a>>2]=e;m=3;if(j[g+8>>2]==3){break d}q=7;break b}m=3;if((f|0)==3){break c}s=1;break b}if(!d){break a}j[g+28>>2]=l+1;o=o-1|0;q=8;t=1;break b}if(!d){break a}t=1;j[g+28>>2]=l+1;o=o-1|0;s=d}v=p(d,3);w=d<<1;x=d<<2;y=q-1|0;z=f-2|0;while(1){n=j[(t<<2)+c>>2];e=j[b+16>>2];Qf(g+28|0,o);n=e+n|0;m=3;e:{f:{g:{h:{i:{j:{k:{l:{switch(y|0){case 0:e=j[g+28>>2];f=e;m:{if(k[e|0]!=116|e+3>>>0>=o>>>0|(k[e+1|0]!=114|k[e+2|0]!=117)){break m}if(k[f+3|0]!=101){break m}m=1;j[g+28>>2]=e+5;break k}m=0;n:{if(k[e|0]!=102|e+4>>>0>=o>>>0|(k[e+1|0]!=97|k[e+2|0]!=108)){break n}if(k[f+3|0]!=115){break n}e=k[e+4|0]==101?e+6|0:e}j[g+28>>2]=e;break k;case 2:m=wh(g+28|0,o,0);break k;case 3:m=wh(g+28|0,o,3);break k;case 7:break h;case 6:break i;case 4:case 5:break j;case 1:break l;default:break a}}l=j[g+28>>2];j[g>>2]=l;f=Rg(g,o,10);m=0;e=j[g>>2];if((l|0)==(e|0)){break k}if(!(k[e|0]!=35|e>>>0>=o>>>0)){l=e+1|0;j[g>>2]=l;f=Rg(g,o,f);e=j[g>>2];if((l|0)==(e|0)){break k}}j[g+28>>2]=e;m=f}o:{switch(k[b+20|0]-1|0){case 0:h[n|0]=m;break e;case 1:i[n>>1]=m;break e;default:break o}}j[n>>2]=m;break e}f=j[g+28>>2];if(f>>>0>=o>>>0){break e}e=o-f|0;l=j[a+16>>2];p:{q:{switch(z|0){case 2:j[g+28>>2]=f+1;e=e-1|0;break p;case 0:break q;default:break a}}j[g+28>>2]=f+1;e=e-2|0}f=j[n>>2];if(f){if(f){qe[j[l+8>>2]](l,f)}j[n>>2]=0}f=He(l,e+1|0,g+24|0);m=j[g+24>>2];if(m){break a}l=e;e=Ae(f,j[g+28>>2],e);h[l+e|0]=0;j[n>>2]=e;break e}e=j[g+28>>2];j[g+44>>2]=e;if(e>>>0>=o>>>0){break g}q=k[e|0];f=93;r:{s:{if((q|0)==91){break s}f=0;l=0;if((q|0)!=123){break r}f=125}e=e+1|0;j[g+44>>2]=e;l=1}m=0;if(e>>>0>=o>>>0){break g}while(1){t:{Qf(g+44|0,o);e=j[g+44>>2];if(o>>>0<=e>>>0){q=e;break t}if(k[e|0]==(f|0)){q=e+1|0;break t}if((m|0)==4){j[g+28>>2]=e;break f}B=(m<<2)+g|0,C=wh(g+44|0,o,0),j[B>>2]=C;q=j[g+44>>2];if((q|0)==(e|0)){break g}m=m+1|0;if(l&o>>>0>q>>>0){continue}}break}j[g+28>>2]=q;if((m|0)>3){break f}m=3;break a}q=j[a+16>>2];r=xe(q,4,0,x,0,g+24|0);m=j[g+24>>2];if(m){break a}f=0;while(1){e=j[g+28>>2];j[g>>2]=e;u:{if(e>>>0>=o>>>0){m=0;break u}n=k[e|0];u=93;v:{w:{if((n|0)==91){break w}if((n|0)!=123){u=0;l=1;break v}u=125}e=e+1|0;j[g>>2]=e;l=0}m=0;if(e>>>0>=o>>>0){break u}A=r+(p(d,f)<<2)|0;while(1){Qf(g,o);n=j[g>>2];if(n>>>0>=o>>>0){e=n;break u}if(k[n|0]==(u|0)){e=n+1|0;break u}if(!(!r|(d|0)>(m|0))){e=n;break u}B=r?(m<<2)+A|0:g+44|0,C=wh(g,o,0),j[B>>2]=C;e=j[g>>2];if((n|0)==(e|0)){m=-1;e=n;break u}m=m+1|0;if(l){break u}if(e>>>0>>0){continue}break}}j[g+28>>2]=e;if((m|0)<0){m=3;break a}if(d>>>0>m>>>0){m=3;break a}Qf(g+28|0,o);f=f+1|0;if((f|0)!=4){continue}break}m=0;if(d){while(1){f=m<<2;e=j[f+c>>2];n=e;l=j[f+r>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[n>>2]=f;n=e;l=j[r+(d+m<<2)>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[n+4>>2]=f;l=j[r+(m+w<<2)>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[n+8>>2]=f;f=j[r+(m+v<<2)>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[e+12>>2]=n;m=m+1|0;if((m|0)!=(d|0)){continue}break}}if(r){qe[j[q+8>>2]](q,r)}break e}j[g+28>>2]=e;m=3;break a}e=n;l=j[g>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[e>>2]=f;l=j[g+4>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[e+4>>2]=f;l=j[g+8>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[e+8>>2]=f;f=j[g+12>>2];e=f+32768&-65536;if((f|0)<0){e=0-(32768-f&-65536)|0}j[n+12>>2]=e}t=t+1|0;s=s-1|0;if(s){continue}break}m=0}oe=g+48|0;return m|0}function Qp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;a:{if(!b){break a}f=j[a+24>>2];e=j[a+20>>2];if((f|0)!=-1?(f|0)<(e|0):0){break a}l=j[a+104>>2];w=j[a+4>>2];s=j[w+28>>2];t=j[s+3656>>2];c=j[a+40>>2];j[a+36>>2]=c;u=j[b+28>>2];j[a+44>>2]=-1;j[a+40>>2]=u;d=j[a+68>>2];h=d;g=j[a+64>>2];b:{c:{if((g|0)==-1&(d|0)==-1){d=j[b+56>>2];g=j[b+60>>2];break c}d=g+1|0;h=d>>>0<1?h+1|0:h;k=d;d=j[b+56>>2];g=j[b+60>>2];if((k|0)==(d|0)&(g|0)==(h|0)){break b}}j[a+56>>2]=-1;j[a+60>>2]=-1;j[l+128>>2]=-1;j[l+132>>2]=-1;k=d;h=g}j[a+64>>2]=k;j[a+68>>2]=h;d:{if(!j[b>>2]){h=f;break d}i=j[(u<<2)+s>>2];m=j[s>>2];g=j[s+4>>2];e=j[b+88>>2];k=e;d=e+j[a+72>>2]|0;e=j[a+76>>2]+(e>>31)|0;j[a+72>>2]=d;j[a+76>>2]=d>>>0>>0?e+1|0:e;d=j[b+92>>2];k=d;e=d+j[a+80>>2]|0;d=j[a+84>>2]+(d>>31)|0;j[a+80>>2]=e;j[a+84>>2]=e>>>0>>0?d+1|0:d;e=j[b+96>>2];k=e;d=e+j[a+88>>2]|0;e=j[a+92>>2]+(e>>31)|0;j[a+88>>2]=d;j[a+92>>2]=d>>>0>>0?e+1|0:e;e=j[b+100>>2];k=e;d=e+j[a+96>>2]|0;e=j[a+100>>2]+(e>>31)|0;j[a+96>>2]=d;j[a+100>>2]=d>>>0>>0?e+1|0:e;p=t+1|0;d=g>>p;e=j[a+48>>2];h=e?d:0;g=e?0:d;k=a;u=d;if(j[w+4>>2]>=1){x=i>>p;y=(d|0)/2|0;e=m>>p;f=(e|0)/2|0;z=y+f|0;A=(e|0)<1;C=0-f<<2;D=(e|0)/-2<<2;while(1){o=j[a+40>>2];e:{if(c){if(o){c=v<<2;p=j[c+j[a+8>>2]>>2];f=j[c+j[b>>2]>>2];if((d|0)<1){break e}i=j[(j[l+8>>2]-t<<2)+165456>>2];o=(g<<2)+p|0;c=0;while(1){m=c<<2;r=m+o|0;n[r>>2]=q(n[r>>2]*n[i+((c^-1)+d<<2)>>2])+q(n[f+m>>2]*n[i+m>>2]);c=c+1|0;if((d|0)!=(c|0)){continue}break}break e}c=v<<2;p=j[c+j[a+8>>2]>>2];f=j[c+j[b>>2]>>2];if(A){break e}i=j[(j[l+4>>2]-t<<2)+165456>>2];o=D+(((g<<2)+p|0)+(y<<2)|0)|0;c=0;while(1){m=c<<2;r=m+o|0;n[r>>2]=q(n[r>>2]*n[i+(e+(c^-1)<<2)>>2])+q(n[f+m>>2]*n[i+m>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}break e}i=j[(j[l+4>>2]-t<<2)+165456>>2];c=v<<2;p=j[c+j[a+8>>2]>>2];m=p+(g<<2)|0;f=j[c+j[b>>2]>>2];f:{if(o){o=((y<<2)+f|0)+C|0;c=0;if((e|0)<=0){break f}while(1){r=c<<2;B=r+m|0;n[B>>2]=q(n[B>>2]*n[(e+(c^-1)<<2)+i>>2])+q(n[o+r>>2]*n[i+r>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e;break f}c=0;if(A){break e}while(1){o=c<<2;r=o+m|0;n[r>>2]=q(n[r>>2]*n[(e+(c^-1)<<2)+i>>2])+q(n[f+o>>2]*n[i+o>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}break e}if((c|0)>=(z|0)){break e}while(1){i=c<<2;n[i+m>>2]=n[i+o>>2];c=c+1|0;if((z|0)!=(c|0)){continue}break}}if((x|0)>=1){f=(x<<2)+f|0;p=(h<<2)+p|0;c=0;while(1){i=c<<2;n[i+p>>2]=n[f+i>>2];c=c+1|0;if((x|0)!=(c|0)){continue}break}}v=v+1|0;if((v|0)>2]){c=j[a+36>>2];continue}break}f=j[a+24>>2];e=j[a+48>>2]}j[k+48>>2]=e?0:u;d=a;g:{if((f|0)==-1){j[a+24>>2]=h;e=h;break g}j[a+24>>2]=g;h=g;e=g+((j[(j[a+40>>2]<<2)+s>>2]/4|0)+(j[(j[a+36>>2]<<2)+s>>2]/4|0)>>t)|0}j[d+20>>2]=e}d=l;u=d;c=0;g=j[d+128>>2];l=j[d+132>>2];f=0;h:{if((g|0)==-1&(l|0)==-1){break h}k=g;c=(j[(j[a+40>>2]<<2)+s>>2]/4|0)+(j[(j[a+36>>2]<<2)+s>>2]/4|0)|0;g=c;f=k+c|0;c=(c>>31)+l|0;c=f>>>0>>0?c+1|0:c}j[u+128>>2]=f;l=c;j[d+132>>2]=c;c=j[a+60>>2];d=c;g=j[a+56>>2];i:{if((g|0)==-1&(c|0)==-1){c=j[b+48>>2];d=j[b+52>>2];if((c|0)==-1&(d|0)==-1){break i}j[a+56>>2]=c;j[a+60>>2]=d;if((d|0)>(l|0)?1:(d|0)>=(l|0)?c>>>0>=f>>>0:0){break i}c=f-c|0;c=(c|0)>0?c:0;if(j[b+44>>2]){h=e-h<>2]=e-(((c|0)>(h|0)?h:c)>>t);break i}h=(c>>>t|0)+h|0;j[a+24>>2]=(e|0)<(h|0)?e:h;break i}k=g;l=(j[(j[a+40>>2]<<2)+s>>2]/4|0)+(j[(j[a+36>>2]<<2)+s>>2]/4|0)|0;g=l;f=k+g|0;d=(g>>31)+d|0;d=f>>>0>>0?d+1|0:d;j[a+56>>2]=f;j[a+60>>2]=d;c=j[b+48>>2];g=j[b+52>>2];if((c|0)==-1&(g|0)==-1|(c|0)==(f|0)&(d|0)==(g|0)){break i}j:{if((d|0)<(g|0)?1:(d|0)<=(g|0)?c>>>0>=f>>>0:0){break j}f=f-c|0;if(!f|!j[b+44>>2]){break j}h=e-h<(h|0)?h:f;j[a+20>>2]=e-(((h|0)>0?h:0)>>>t|0)}j[a+56>>2]=c;j[a+60>>2]=g}if(!j[b+44>>2]){break a}j[a+32>>2]=1}}function SA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=q(0),s=0,t=0;a=oe+ -64|0;oe=a;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{switch(j[b>>2]-1536|0){case 6:c=j[67069];if(!c){break a}b=j[b+8>>2];break g;case 2:c=j[67069];if(!c){break a}d=j[b+8>>2];break i;case 0:c=j[67069];if(!c){break a}d=j[b+8>>2];while(1){if((d|0)==j[j[c>>2]>>2]){m=k[b+12|0];f=j[j[c+20>>2]+(m<<2)>>2];e=i[b+16>>1];o=j[c+12>>2];k:{if((o|0)>=1){g=j[c+16>>2];b=0;while(1){l=b<<5;d=l+g|0;l:{if(j[d>>2]!=2){break l}l=g+l|0;if((m|0)!=j[l+4>>2]){break l}n=j[l+8>>2];l=j[l+12>>2];if((n|0)<(l|0)){if((e|0)<(n|0)|(e|0)>(l|0)){break l}break k}if((e|0)>(n|0)){break l}if((e|0)>=(l|0)){break k}}b=b+1|0;if((o|0)!=(b|0)){continue}break}}d=0}if(!f){break e}m:{g=j[f+16>>2];n:{if(!(!d|(g|0)!=j[d+16>>2])){l=j[d+20>>2];b=j[f+20>>2];if((g|0)!=2){break m}if((b|0)!=(l|0)){break n}break c}b=j[f+20>>2];if((g|0)!=2){break f}}if((We(1616,-1)|0)!=1){break e}j[a+8>>2]=1616;f=j[j[c>>2]>>2];i[a+24>>1]=0;h[a+20|0]=b;j[a+16>>2]=f;gf(a+8|0);break e}if((b|0)!=(l|0)){break f}break d}c=j[c+32>>2];if(c){continue}break}break a;case 3:case 4:break j;case 5:break h;default:break a}}c=j[67069];if(!c){break a}d=j[b+8>>2];while(1){if((d|0)==j[j[c>>2]>>2]){f=j[c+12>>2];if((f|0)<1){break a}d=k[b+13|0];g=k[b+12|0];e=j[c+16>>2];b=0;while(1){m=e+(b<<5)|0;if(!(j[m>>2]!=1|(g|0)!=j[m+4>>2])){b=e+(b<<5)|0;if(j[b+16>>2]==2){d=j[(d?b+28|0:b+24|0)>>2];b=j[b+20>>2];if((We(1616,-1)|0)!=1){break a}j[a+8>>2]=1616;c=j[j[c>>2]>>2];i[a+24>>1]=d;h[a+20|0]=b;j[a+16>>2]=c;gf(a+8|0);break a}go(c,j[b+20>>2],d);break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}break a}c=j[c+32>>2];if(c){continue}break}break a}while(1){if((d|0)!=j[j[c>>2]>>2]){c=j[c+32>>2];if(c){continue}break a}break}f=k[b+13|0];g=k[b+12|0];if(j[c+12>>2]>=1){l=f^k[g+j[c+24>>2]|0];b=0;while(1){e=j[c+16>>2]+(b<<5)|0;o:{if(j[e>>2]!=3|(g|0)!=j[e+4>>2]){break o}n=j[e+8>>2];if(!(n&l)){break o}d=j[e+20>>2];m=j[e+16>>2];if(f&n){if((m|0)==2){e=j[e+28>>2];if((We(1616,-1)|0)!=1){break o}j[a+8>>2]=1616;m=j[j[c>>2]>>2];i[a+24>>1]=e;h[a+20|0]=d;j[a+16>>2]=m;gf(a+8|0);break o}if((d|0)==-1){break o}j[a+8>>2]=1617;if((d|0)==5){s=c,t=sg(),j[s+28>>2]=t;if(j[j[c>>2]+68>>2]){break o}}if((We(1617,-1)|0)!=1){break o}e=j[j[c>>2]>>2];h[a+21|0]=1;h[a+20|0]=d;j[a+16>>2]=e;gf(a+8|0);break o}if((m|0)==2){if((We(1616,-1)|0)!=1){break o}j[a+8>>2]=1616;e=j[j[c>>2]>>2];i[a+24>>1]=0;h[a+20|0]=d;j[a+16>>2]=e;gf(a+8|0);break o}if((d|0)==-1){break o}j[a+8>>2]=1618;if((d|0)==5){m=sg();e=j[c>>2];if(!(j[e+72>>2]|((j[c+28>>2]-m|0)+250|0)<1)){j[e+68>>2]=1;break o}j[e+68>>2]=0}if((We(1618,-1)|0)!=1){break o}e=j[j[c>>2]>>2];h[a+21|0]=0;h[a+20|0]=d;j[a+16>>2]=e;gf(a+8|0)}b=b+1|0;if((b|0)>2]){continue}break}}h[g+j[c+24>>2]|0]=f;break a}if(!ho(j[b+8>>2])){break a}j[a+8>>2]=1619;j[a+16>>2]=j[b+8>>2];gf(a+8|0);break a}while(1){if((b|0)!=j[j[c>>2]>>2]){c=j[c+32>>2];if(c){continue}break a}break}j[a+16>>2]=b;j[a+8>>2]=1620;gf(a+8|0);QA();break a}if((b|0)==-1){break e}j[a+8>>2]=1618;if((b|0)==5){g=sg();f=j[c>>2];if(!(j[f+72>>2]|((j[c+28>>2]-g|0)+250|0)<1)){j[f+68>>2]=1;break e}j[f+68>>2]=0}if((We(1618,-1)|0)!=1){break e}f=j[j[c>>2]>>2];h[a+21|0]=0;h[a+20|0]=b;j[a+16>>2]=f;gf(a+8|0)}if(!d){break b}if(j[d+16>>2]==2){break c}b=j[d+20>>2]}l=b;f=j[d+12>>2];b=j[d+8>>2];g=((f-b|0)/2|0)+b|0;go(c,l,(b|0)>(f|0)?(g|0)>=(e|0):(e|0)>=(g|0));break b}b=j[d+8>>2];f=j[d+24>>2];g=j[d+28>>2];l=j[d+12>>2];if(!((g|0)==(l|0)?(b|0)==(f|0):0)){p=q(q(q(e-b|0)/q(l-b|0))*q(g-f|0));p:{if(q(r(p))>2];if((We(1616,-1)|0)!=1){break b}j[a+8>>2]=1616;f=j[j[c>>2]>>2];i[a+24>>1]=e;h[a+20|0]=b;j[a+16>>2]=f;gf(a+8|0)}j[j[c+20>>2]+(m<<2)>>2]=d}oe=a- -64|0;return 1}function xx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;n=j[a+36>>2];c=j[a+20>>2];o=j[a+16>>2];b=j[a>>2];m=j[a+28>>2];f=j[a+24>>2];i=j[a+40>>2];e=k[i+9|0];a:{l=j[a+44>>2];if(!j[l+24>>2]){if(!m){break a}d=k[l+9|0];l=f&7;i=(f+7|0)/8|0;b:while(1){f=i;c:{d:{switch(l-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=1;continue;case 1:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=2;continue;case 2:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=3;continue;case 3:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=4;continue;case 4:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=5;continue;case 5:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=6;continue;case 6:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=7;continue;default:break e}}a=m-1|0;g=k[b+2|0];p=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=p;h[c|0]=g;b=b+e|0;c=c+d|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+n|0;b=b+o|0;m=a;if(a){continue b}break a}a=0;continue}}}if(j[i+24>>2]){if(!m){break a}g=f&7;i=(f+7|0)/8|0;g:while(1){h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(g-1|0){case 0:e=k[l+35|0];f=i;break i;case 1:d=k[l+35|0];e=d;f=i;break j;case 2:d=k[l+35|0];e=d;f=i;break k;case 3:d=k[l+35|0];e=d;f=i;break l;case 4:d=k[l+35|0];e=d;f=i;break m;case 5:d=k[l+35|0];e=d;f=i;break n;case 6:d=k[l+35|0];e=d;f=i;break o;default:break p}}e=k[l+35|0];f=i;a=0;break h}a=1;break h}a=2;break h}a=3;break h}a=4;break h}a=5;break h}a=6;break h}a=7}while(1){q:{switch(a|0){case 0:d=e;j[c>>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<1){f=f-1|0;break r}c=c+n|0;b=b+o|0;m=a;if(a){continue g}break a}a=0;continue}}}if(!m){break a}d=k[a+63|0]<>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=1;continue;case 1:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=2;continue;case 2:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=3;continue;case 3:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=4;continue;case 4:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=5;continue;case 5:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=6;continue;case 6:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=7;continue;default:break v}}a=m-1|0;j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;w:{if((f|0)>1){f=f-1|0;break w}c=c+n|0;b=b+o|0;m=a;if(a){continue s}break a}a=0;continue}}}}function ml(a,b,c,d,e){var f=0,g=0,i=0,l=0,m=q(0),o=0,r=0;a:{if(!e){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if((c|0)<=33055){m:{switch(c-32776|0){case 8:break j;case 0:break l;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:break c;case 24:break g;default:break m}}switch(c-8|0){case 0:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;case 8:break h;default:break d}}n:{switch(c-36880|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break c;case 16:break f;case 0:break i;default:break n}}if((c|0)==33056){break e}if((c|0)!=37152){break c}d=d>>>2|0;if(!d){break a}m=q(e|0);while(1){l=3.4028234663852886e+38;d=d-1|0;c=j[a>>2];i=+(pP(2,c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)),sP());c=j[b>>2];i=i+ +q(q(m*(pP(2,c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)),sP()))*q(.0078125));o:{if(i>3.4028234663852886e+38){break o}l=i;if(i<-3.4028234663852886e+38^1){break o}l=-3.4028234663852886e+38}b=b+4|0;c=(tP(q(l)),oP(2));j[a>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=a+4|0;if(d){continue}break}break a}if(!d){break a}while(1){c=h[a|0]+((p(h[b|0],e)|0)/128<<24>>24)|0;c=(c|0)>-128?c:-128;h[a|0]=(c|0)<127?c:127;b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}break a}if(!d){break a}while(1){h[a|0]=k[(k[a|0]+((p(k[b|0]-128|0,e)|0)/128&255^128)|0)+24240|0];b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}break a}d=d>>>1|0;if(!d){break a}while(1){c=((k[a|0]|k[a+1|0]<<8)<<16>>16)+((p((k[b|0]|k[b+1|0]<<8)<<16>>16,e)|0)/128<<16>>16)|0;c=(c|0)>-32768?c:-32768;c=(c|0)<32767?c:32767;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}d=d>>>1|0;if(!d){break a}while(1){c=k[b|0]|k[b+1|0]<<8;f=(p((c<<24|c<<8&16711680)>>16,e)|0)/128<<16>>16;c=k[a|0]|k[a+1|0]<<8;c=f+((c<<24|c<<8&16711680)>>16)|0;c=(c|0)>-32768?c:-32768;c=(c|0)<32767?c:32767;c=(c<<24|c<<8&16711680)>>>16|0;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}d=d>>>1|0;if(!d){break a}while(1){c=((p(k[b|0]|k[b+1|0]<<8,e)|0)/128&65535)+(k[a|0]|k[a+1|0]<<8)|0;c=c>>>0<65535?c:65535;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}d=d>>>2|0;if(!d){break a}c=e;o=c>>31;while(1){e=j[a>>2];g=j[b>>2];f=hP(gP(g,g>>31,c,o),pe,128);g=e+f|0;e=pe+(e>>31)|0;e=g>>>0>>0?e+1|0:e;f=g;g=(e|0)>-1?1:(e|0)>=-1?f>>>0>2147483648:0;f=g?f:-2147483648;e=g?e:-1;e=(e|0)<0?1:(e|0)<=0?f>>>0<2147483647:0;j[a>>2]=e?f:2147483647;a=a+4|0;b=b+4|0;d=d-1|0;if(d){continue}break}break a}d=d>>>2|0;if(!d){break a}c=e;o=c>>31;while(1){e=j[a>>2];f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=j[b>>2];e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);r=hP(gP(e,e>>31,c,o),pe,128);g=f+r|0;e=pe+(f>>31)|0;f=g;e=f>>>0>>0?e+1|0:e;g=(e|0)>-1?1:(e|0)>=-1?f>>>0>2147483648:0;f=g?f:-2147483648;e=g?e:-1;e=(e|0)<0?1:(e|0)<=0?f>>>0<2147483647:0;e=e?f:2147483647;j[a>>2]=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a=a+4|0;b=b+4|0;d=d-1|0;if(d){continue}break}break a}d=d>>>2|0;if(!d){break a}m=q(e|0);while(1){d=d-1|0;l=3.4028234663852886e+38;i=+n[a>>2]+ +q(q(n[b>>2]*m)*q(.0078125));p:{if(i>3.4028234663852886e+38){break p}l=i;if(i<-3.4028234663852886e+38^1){break p}l=-3.4028234663852886e+38}b=b+4|0;n[a>>2]=l;a=a+4|0;if(d){continue}break}break a}if((c|0)==4112){break b}}ve(24752,0);break a}d=d>>>1|0;if(!d){break a}while(1){c=((p(k[b+1|0]|k[b|0]<<8,e)|0)/128&65535)+(k[a+1|0]|k[a|0]<<8)|0;c=c>>>0<65535?c:65535;c=(c<<24|c<<8&16711680)>>>16|0;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}}}function mj(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;r=oe-16|0;oe=r;j[r+12>>2]=0;j[a+1524>>2]=0;j[a+1512>>2]=0;j[a+56>>2]=0;j[a+44>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;d=j[a>>2];n=j[a+16>>2];s=j[a+8>>2];u=j[a+12>>2];o=j[a+4>>2];f=i[b>>1];a:{b:{if(f>>>0<=8){if(j[a+40>>2]){break b}j[a+32>>2]=8;j[a+40>>2]=a+3e3;break b}c=j[a+32>>2];if(c>>>0>=f>>>0){break b}g=a;m=d;e=c;f=f+3&-4;q=f;c=j[a+40>>2];if((c|0)==(a+3e3|0)){j[a+40>>2]=0;c=0}A=g,B=xe(m,4,e,q,c,r+12|0),j[A+40>>2]=B;if(j[r+12>>2]){break a}j[a+32>>2]=f}c=i[b+2>>1];g=c+2|0;c:{if(g>>>0<=96){if(j[a+28>>2]){break c}j[a+20>>2]=96;j[a+28>>2]=a+3032;break c}e=g;g=j[a+20>>2];if(e>>>0<=g>>>0){break c}m=a;e=c+11&-8;f=e;c=j[a+28>>2];if((c|0)==(a+3032|0)){j[a+28>>2]=0;c=0}A=m,B=xe(d,40,g,f,c,r+12|0),j[A+28>>2]=B;if(j[r+12>>2]){break a}j[a+20>>2]=e;c=i[b+2>>1]}j[a+24>>2]=c;c=i[b>>1];j[a+1536>>2]=-1;j[a+68>>2]=2;j[a+36>>2]=c;if((aO(b)|0)==1){j[a+1536>>2]=1;j[a+68>>2]=-2}j[a+12>>2]=u;j[a+4>>2]=o;j[a+2992>>2]=0;j[a+2996>>2]=0;j[a+16>>2]=n;j[a+8>>2]=s;v=j[a+24>>2];if(!v){break a}g=j[a+28>>2];w=g+p(v,40)|0;d=j[b+12>>2];if((v|0)>=1){f=j[b+4>>2];m=j[b+8>>2];c=g;q=c+p(i[d>>1],40)|0;d=q;while(1){i[c+2>>1]=1028;e=j[f>>2];i[c+12>>1]=e;i[c+14>>1]=j[f+4>>2];e=ye(e,o)+s|0;j[c+4>>2]=e;j[c+16>>2]=e;e=ye(j[f+4>>2],u)+n|0;j[c+8>>2]=e;j[c+20>>2]=e;e=k[m|0];j[c+36>>2]=d;e=e&3;i[c>>1]=e?((e|0)==2)<<1:1;j[d+32>>2]=c;d:{if((c|0)!=(q|0)){d=c;break d}t=t+1|0;if((t|0)>=i[b>>1]){d=c;q=c;break d}d=p(i[j[b+12>>2]+(t<<1)>>1],40)+g|0;q=d}m=m+1|0;f=f+8|0;c=c+40|0;if(w>>>0>c>>>0){continue}break}d=j[b+12>>2]}b=j[a+36>>2];m=b<<2;o=j[a+40>>2];if((b|0)>=1){e=m+o|0;c=0;while(1){j[o>>2]=p(c<<16>>16,40)+g;c=l[d>>1]+1|0;d=d+2|0;o=o+4|0;if(e>>>0>o>>>0){continue}break}o=j[a+40>>2]}if((b|0)>0){y=m+o|0;x=p(l[j[j[a+2988>>2]+4>>2]+68>>1],20)>>>11|0;z=(x<<1)-1|0;while(1){e=j[o>>2];c=e;while(1){e:{m=c;a=i[c+12>>1];c=j[c+36>>2];if((e|0)==(c|0)){q=l[m+14>>1];break e}q=i[m+14>>1];n=q-i[c+14>>1]|0;b=n>>31;f=a-i[c+12>>1]|0;d=f>>31;if(((b^b+n)+(d^d+f)|0)<(z|0)){continue}}break}j[m+24>>2]=0;j[m+28>>2]=0;c=0;d=m;s=d;f=0;while(1){e=a<<16;a=q<<16;d=j[d+32>>2];q=i[d+14>>1];f=(q-(a>>16)|0)+f|0;b=f>>31;a=i[d+12>>1];c=(a-(e>>16)|0)+c|0;n=c>>31;e=b^b+f;n=n^c+n;f:{if(e+n>>>0>>0){i[d>>1]=l[d>>1]|16;break f}u=0-c|0;b=(d-s|0)/40|0;j[s+24>>2]=b;j[d+28>>2]=0-b;g:{if((c|0)<=(f|0)){t=2;c=f;b=n;if((u|0)<=(c|0)){break g}t=255;c=u;b=e;break g}t=1;b=e;if((f|0)>=(u|0)){break g}c=0-f|0;t=254;b=n}b=(p(b,14)|0)<(c|0)?t:4;h[s+3|0]=b;c=j[s+32>>2];if((d|0)!=(c|0)){while(1){h[c+3|0]=b;h[c+2|0]=b;c=j[c+32>>2];if((d|0)!=(c|0)){continue}break}}h[d+2|0]=b;b=(m-d|0)/40|0;j[d+24>>2]=b;c=0;j[m+28>>2]=0-b;s=d;f=0}if((d|0)!=(m|0)){continue}break}o=o+4|0;if(y>>>0>o>>>0){continue}break}}if((v|0)<=0){break a}c=g;while(1){d=l[c>>1];h:{if(d&16|k[c+2|0]!=4|k[c+3|0]!=4){break h}m=j[c+24>>2];a=p(m,40)+c|0;b=i[c+12>>1];f=i[a+12>>1]-b|0;q=b;e=j[c+28>>2];b=p(e,40)+c|0;if((f^q-i[b+12>>1])<0){break h}n=i[c+14>>1];if((n-i[b+14>>1]^i[a+14>>1]-n)<0){break h}i[c>>1]=d|16;d=b;b=(p(m-e|0,40)|0)/40|0;j[d+24>>2]=b;j[a+28>>2]=0-b}c=c+40|0;if(w>>>0>c>>>0){continue}break}if((v|0)<=0){break a}while(1){c=l[g>>1];i:{if(c&16){break i}j:{if(c&3){break j}a=k[g+3|0];b=k[g+2|0];if((a|0)==(b|0)){if((a|0)!=4){break j}c=i[g+12>>1];d=j[g+28>>2];a=p(d,40)+g|0;m=i[g+14>>1];e=j[g+24>>2];b=p(e,40)+g|0;if(!Nm(c-i[a+12>>1]|0,m-i[a+14>>1]|0,i[b+12>>1]-c|0,i[b+14>>1]-m|0)){break i}c=a;a=(p(e-d|0,40)|0)/40|0;j[c+24>>2]=a;j[b+28>>2]=0-a;c=l[g>>1];break j}if((0-(a<<24>>24)|0)!=b<<24>>24){break i}}i[g>>1]=c|16}g=g+40|0;if(w>>>0>g>>>0){continue}break}}oe=r+16|0;return j[r+12>>2]}function wz(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,l=0,m=0,n=0,o=0;a:{b:{switch(c-1|0){case 0:l=j[b+12>>2];if(!l){break a}h=g^255;g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];n=b&3;c=(b+3|0)/4|0;i=g-b<<2;c:while(1){g=c;d:{e:{switch(n-1|0){default:b=0;break d;case 0:b=3;break d;case 1:b=2;break d;case 2:break e}}b=1}while(1){f:{switch(b|0){case 0:b=j[a>>2];j[a>>2]=((p(h,b>>>8&255)>>>0)/255|0)+e<<8|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;b=1;continue;case 1:b=j[a>>2];j[a>>2]=((p(h,b>>>8&255)>>>0)/255|0)+e<<8|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;b=2;continue;case 2:b=j[a>>2];j[a>>2]=((p(h,b>>>8&255)>>>0)/255|0)+e<<8|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;b=3;continue;default:break f}}b=l-1|0;m=j[a>>2];j[a>>2]=((p(h,m>>>8&255)>>>0)/255|0)+e<<8|((p(h,m&255)>>>0)/255|0)+f|((p(h,m>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;g:{if((g|0)>1){g=g-1|0;break g}a=a+i|0;l=b;if(b){continue c}break a}b=0;continue}};default:c=j[b+12>>2];if(!c){break a}e=e<<8|d<<16|f;f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(f,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;d=j[b+8>>2];g=d&3;b=(d+3|0)/4|0;l=f-d<<2;h:while(1){f=b;i:{j:{switch(g-1|0){default:d=0;break i;case 0:d=3;break i;case 1:d=2;break i;case 2:break j}}d=1}while(1){k:{switch(d|0){case 0:j[a>>2]=e;a=a+4|0;d=1;continue;case 1:j[a>>2]=e;a=a+4|0;d=2;continue;case 2:j[a>>2]=e;a=a+4|0;d=3;continue;default:break k}}d=c-1|0;j[a>>2]=e;a=a+4|0;l:{if((f|0)>1){f=f-1|0;break l}a=a+l|0;c=d;if(c){continue h}break a}d=0;continue}};case 3:g=j[b+12>>2];if(!g){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];m=b&3;l=(b+3|0)/4|0;n=c-b<<2;m:while(1){b=l;n:{o:{switch(m-1|0){default:c=0;break n;case 0:c=3;break n;case 1:c=2;break n;case 2:break o}}c=1}while(1){p:{switch(c|0){case 0:c=j[a>>2];j[a>>2]=(p(c>>>8&255,e)>>>0)/255<<8|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16;a=a+4|0;c=1;continue;case 1:c=j[a>>2];j[a>>2]=(p(c>>>8&255,e)>>>0)/255<<8|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16;a=a+4|0;c=2;continue;case 2:c=j[a>>2];j[a>>2]=(p(c>>>8&255,e)>>>0)/255<<8|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16;a=a+4|0;c=3;continue;default:break p}}c=g-1|0;h=j[a>>2];j[a>>2]=(p(h>>>8&255,e)>>>0)/255<<8|(p(h&255,f)>>>0)/255|(p(h>>>16&255,d)>>>0)/255<<16;a=a+4|0;q:{if((b|0)>1){b=b-1|0;break q}a=a+n|0;g=c;if(c){continue m}break a}c=0;continue}};case 1:break b}}l=j[b+12>>2];if(!l){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];m=b&3;g=(b+3|0)/4|0;n=c-b<<2;r:while(1){b=g;s:{t:{switch(m-1|0){default:c=0;break s;case 0:c=3;break s;case 1:c=2;break s;case 2:break t}}c=1}while(1){u:{switch(c|0){case 0:c=j[a>>2];h=(c>>>8&255)+e|0;i=(h>>>0<255?h:255)<<8;h=(c&255)+f|0;c=(c>>>16&255)+d|0;j[a>>2]=i|(h>>>0<255?h:255)|(c>>>0<255?c:255)<<16;a=a+4|0;c=1;continue;case 1:c=j[a>>2];h=(c>>>8&255)+e|0;i=(h>>>0<255?h:255)<<8;h=(c&255)+f|0;c=(c>>>16&255)+d|0;j[a>>2]=i|(h>>>0<255?h:255)|(c>>>0<255?c:255)<<16;a=a+4|0;c=2;continue;case 2:c=j[a>>2];h=(c>>>8&255)+e|0;i=(h>>>0<255?h:255)<<8;h=(c&255)+f|0;c=(c>>>16&255)+d|0;j[a>>2]=i|(h>>>0<255?h:255)|(c>>>0<255?c:255)<<16;a=a+4|0;c=3;continue;default:break u}}c=l-1|0;h=j[a>>2];i=(h>>>8&255)+e|0;o=(i>>>0<255?i:255)<<8;i=(h&255)+f|0;h=(h>>>16&255)+d|0;j[a>>2]=o|(i>>>0<255?i:255)|(h>>>0<255?h:255)<<16;a=a+4|0;v:{if((b|0)>1){b=b-1|0;break v}a=a+n|0;l=c;if(c){continue r}break a}c=0;continue}}}return 0}function MD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;o=oe-32|0;oe=o;c=Xe(1,72);a:{if(!c){c=0;Be(0);break a}j[c+32>>2]=128;j[c>>2]=a;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{a=Yg(a);if((a|0)!=1163280727){if((a|0)==1297239878){break k}if((a|0)!=1179011410){break j}}e=j[c>>2];Yg(e);Yg(e);a=Yg(e);l:{d=Yg(e);if(d){while(1){m:{n:{if((a|0)!=1819307379){if((a|0)!=1635017060){if((a|0)!=544501094){break n}if(d>>>0<=15){ve(20710,0);break b}a=qe[j[57972]](d?d:1)|0;if(a){j[57976]=j[57976]+1}if(!a){ve(20738,0);break b}g=j[c>>2];if(!(qe[j[g+8>>2]](g,a,d,1)|0)){j[o>>2]=d;ve(20752,o);break b}if(l[a>>1]!=1){q=20789;break c}j[c+8>>2]=j[a+4>>2];u=1;q=20814;s=1;o:{p:{d=l[a+14>>1];switch(d-8|0){case 0:break o;case 8:break p;default:break c}}s=2;d=32784}i[c+12>>1]=d;d=l[a+2>>1];i[c+16>>1]=4096;h[c+14|0]=d;j[c+20>>2]=p(d&255,s)<<12;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}break m}a=j[c>>2];n=qe[j[a+4>>2]](a,0,0,1)|0;j[c+40>>2]=n;a=pe;j[c+44>>2]=a;n=d+n|0;j[c+48>>2]=n;j[c+52>>2]=d>>>0>n>>>0?a+1|0:a;v=1;a=j[c>>2];qe[j[a+4>>2]](a,d,0,1)|0;break m}g=qe[j[57972]](d?d:1)|0;if(g){j[57976]=j[57976]+1}if(!g){ve(20738,0);break b}a=j[c>>2];if(!(qe[j[a+8>>2]](a,g,d,1)|0)){break f}if(j[g+28>>2]){q=g+36|0;a=0;while(1){d=q+p(a,24)|0;q:{if(j[d+4>>2]){break q}s=j[d+12>>2];r=j[d+8>>2];n=j[d+20>>2];f=mf(j[c+68>>2],p(j[c+64>>2],20)+20|0);if(!f){ve(20738,0);break q}t=j[c+64>>2];d=f+p(t,20)|0;j[d+16>>2]=n;j[d+12>>2]=n;j[d+8>>2]=s;j[d+4>>2]=r;j[c+64>>2]=t+1;j[c+68>>2]=f}a=a+1|0;if(a>>>0>2]){continue}break}}if(g){qe[j[57975]](g);j[57976]=j[57976]-1}break m}qe[j[e+4>>2]](e,d,0,1)|0}a=Yg(e);d=Yg(e);if(d){continue}break}if(u){break l}}ve(20653,0);break b}if(v){break g}ve(20681,0);break b}f=j[c>>2];Qi(f);if((Yg(f)|0)!=1179011393){break d}w=c+8|0;r:{while(1){s:{e=Yg(f);a=Qi(f);x=qe[j[f+4>>2]](f,0,0,1)|0;g=pe;if(!a){break s}t:{if((e|0)!=1296912195){if((e|0)!=1145983827){break t}e=Qi(f);Qi(f);t=(qe[j[f+4>>2]](f,0,0,1)|0)+e|0;r=pe;j[c+40>>2]=t;j[c+44>>2]=e>>>0>t>>>0?r+1|0:r;n=1;break t}q=1;u=jo(f);v=Qi(f);s=jo(f);qe[j[f+8>>2]](f,o+22|0,10,1)|0;d=0;e=h[o+22|0];if((e|0)<0){break t}if((e&255)>>>0<64){d=1;break t}d=67108864;if((e|0)!=64){break t}d=8e8;e=k[o+23|0];if(e>>>0>28){break t}d=(k[o+25|0]<<15|k[o+24|0]<<23|k[o+26|0]<<7|k[o+27|0]>>>1)>>>29-e|0}if(n?q:0){break r}e=a;r=a+x|0;a=g;if((qe[j[f+4>>2]](f,r,e>>>0>r>>>0?a+1|0:a,0)|0)!=-1|(pe|0)!=-1){continue}}break}if(!n){ve(20872,0);break b}if(q){break r}ve(20902,0);break b}g=j[c+44>>2];n=s&65535;f=p(p(u&65535,v),n>>>3|0);e=f+j[c+40>>2]|0;j[c+48>>2]=e;j[c+52>>2]=e>>>0>>0?g+1|0:g;Oe(w,0,24);j[c+8>>2]=d;a=32776;u:{switch(n-8|0){case 8:break i;case 0:break h;default:break u}}ve(20932,0);break b}ve(20633,0);break b}a=36880}i[c+16>>1]=4096;h[c+14|0]=u;i[c+12>>1]=a}a=j[c+20>>2];a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}j[c+56>>2]=a;if(a){break e}a=j[c+68>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}a=j[c+60>>2];if(a){Ih(a)}a=j[c+56>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(!j[c+4>>2]){break b}a=j[c>>2];qe[j[a+16>>2]](a)|0;break b}j[o+16>>2]=d;ve(20752,o+16|0);break b}a=nl(l[c+12>>1],k[c+14|0],j[c+8>>2],l[131082],k[262166],j[65540]);j[c+60>>2]=a;if(!a){a=j[c+68>>2];v:{if(!a){break v}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[c+60>>2];if(!a){break v}Ih(a)}a=j[c+56>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(!j[c+4>>2]){break b}a=j[c>>2];qe[j[a+16>>2]](a)|0;break b}j[c+4>>2]=b;break a}ve(20838,0);break b}ve(q,0);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0}oe=o+32|0;return c|0}function Ag(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0;c=1;rP(+b);e=oP(1)|0;d=oP(0)|0;l=e;a:{b:{g=e;h=g&2147483647;c:{if(!(d|h)){break c}rP(+a);j=oP(1)|0;t=oP(0)|0;p=j;if((j|0)==1072693248?!t:0){break c}d:{j=p&2147483647;if(!(j>>>0>2146435072|(j|0)==2146435072&(t|0)!=0|h>>>0>2146435072)){if(!d|(h|0)!=2146435072){break d}}return a+b}e:{f:{g:{h:{if((p|0)>-1){break h}q=2;if(h>>>0>1128267775){break g}if(h>>>0<1072693248){break h}e=h>>>20|0;if(h>>>0>=1094713344){f=1075-e|0;e=d>>>f|0;q=0;if((d|0)!=e<>>d|0;if((h|0)!=e<>>0>=1072693248){return(g|0)>-1?b:0}return(g|0)>-1?0:-b}if((h|0)==1072693248){if((g|0)>-1){return a}return 1/a}if((g|0)==1073741824){return a*a}if((g|0)!=1071644672|(p|0)<0){break e}return y(a)}c=r(a);if(!((j?(p&1073741823)!=1072693248:0)|t)){c=(g|0)<0?1/c:c;if((p|0)>-1){break c}if(!(j-1072693248|f)){a=c-c;return a/a}return(f|0)==1?-c:c}m=1;i:{if((p|0)>-1){break i}j:{switch(f|0){case 0:a=a-a;return a/a;case 1:break j;default:break i}}m=-1}k:{if(h>>>0>=1105199105){if(h>>>0>=1139802113){if(j>>>0<=1072693247){return(g|0)<0?B:0}return(g|0)>0?B:0}if(j>>>0<=1072693246){return(g|0)<0?m*1e+300*1e+300:m*1e-300*1e-300}if(j>>>0>=1072693249){return(g|0)>0?m*1e+300*1e+300:m*1e-300*1e-300}a=c+ -1;c=a*1.4426950216293335;k=a*1.9259629911266175e-8+a*a*(.5-a*(a*-.25+.3333333333333333))*-1.4426950408889634;rP(+(c+k));d=oP(1)|0;oP(0)|0;pP(0,0);pP(1,d|0);a=+qP();i=a-c;break k}a=c*9007199254740992;d=j>>>0<1048576;c=d?a:c;rP(+a);e=oP(1)|0;oP(0)|0;f=d?e:j;g=f&1048575;e=g|1072693248;h=(f>>20)+(d?-1076:-1023)|0;f=0;l:{if(g>>>0<235663){break l}if(g>>>0<767610){f=1;break l}e=e+ -1048576|0;h=h+1|0}g=f<<3;s=o[g+226800>>3];rP(+c);oP(1)|0;pP(0,oP(0)|0);pP(1,e|0);k=+qP();i=o[g+226768>>3];n=k-i;u=1/(i+k);c=n*u;rP(+c);d=oP(1)|0;oP(0)|0;pP(0,0);pP(1,d|0);a=+qP();w=a;v=a*a;x=n;pP(0,0);pP(1,((e>>1|536870912)+(f<<18)|0)+524288|0);n=+qP();k=u*(x-a*n-a*(k-(n-i)));i=(c+a)*k;a=c*c;i=i+a*a*(a*(a*(a*(a*(a*.20697501780033842+.23066074577556175)+.272728123808534)+.33333332981837743)+.4285714285785502)+.5999999999999946);rP(+(v+3+i));d=oP(1)|0;oP(0)|0;pP(0,0);pP(1,d|0);a=+qP();n=w*a;c=k*a+c*(i-(a+ -3-v));rP(+(n+c));d=oP(1)|0;oP(0)|0;pP(0,0);pP(1,d|0);a=+qP();i=a*.9617967009544373;k=o[g+226784>>3]+((c-(a-n))*.9617966939259756+a*-7.028461650952758e-9);c=+(h|0);rP(+(s+(i+k)+c));d=oP(1)|0;oP(0)|0;pP(0,0);pP(1,d|0);a=+qP();i=a-c-s-i}pP(0,0);pP(1,l|0);s=+qP();c=a*s;a=(k-i)*b+(b-s)*a;b=c+a;rP(+b);f=oP(1)|0;d=oP(0)|0;e=f;l=d;m:{d=e;if((d|0)>=1083179008){if(l|d-1083179008){break b}if(a+8.008566259537294e-17>b-c^1){break m}break b}if((d&2147482624)>>>0<1083231232){break m}if(l|d+1064252416){break a}if(a<=b-c^1){break m}break a}f=0;l=d&2147483647;if(l>>>0>=1071644673){e=d+(1048576>>>(l>>>20|0)-1022|0)|0;l=e>>>20&2047;f=(e&1048575|1048576)>>>1043-l|0;f=(d|0)<0?0-f|0:f;pP(0,0);pP(1,e&-1048576>>l-1023);c=c- +qP();rP(+(a+c));d=oP(1)|0;oP(0)|0}pP(0,0);pP(1,d|0);b=+qP();k=b*.6931471824645996;c=(a-(b-c))*.6931471805599453+b*-1.904654299957768e-9;a=k+c;b=a*a;b=a-b*(b*(b*(b*(b*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);i=a*b/(b+ -2);b=c-(a-k);a=a-(i-(b+a*b))+1;rP(+a);d=oP(1)|0;e=oP(0)|0;d=(f<<20)+d|0;n:{if((d|0)<=1048575){a=Kg(a,f);break n}pP(0,e|0);pP(1,d|0);a=+qP()}c=m*a}return c}return m*1e+300*1e+300}return m*1e-300*1e-300}function UE(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,s=0,t=0,u=q(0),v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=q(0),V=q(0),W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;m=oe;W=m;s=j[c+4>>2];x=16;a:{if(!j[s+500>>2]){break a}x=j[s+508>>2]}H=j[c>>2];k=2;a=a<<2;J=j[(a+(p(j[s>>2],60)+b|0)|0)+132>>2];a=a+b|0;y=j[a+252>>2];l=j[a+312>>2];L=i<<2;a=L+15&-16;z=m-a|0;b=z;oe=b;A=b-a|0;b=A;oe=b;C=b-a|0;b=C;oe=b;B=b-a|0;b=B;oe=b;M=b-a|0;oe=M;N=p(x,L);a=N+15&-16;b=M-a|0;oe=b;j[z>>2]=b;D=b-a|0;s=D;oe=s;j[A>>2]=s;s=s-a|0;oe=s;j[C>>2]=s;m=s-a|0;oe=m;j[B>>2]=m;b:{if((i|0)<2){break b}a=x<<2;j[z+4>>2]=a+b;j[A+4>>2]=a+D;j[C+4>>2]=a+s;j[B+4>>2]=a+m;if((i|0)==2){break b}while(1){s=j[B>>2];m=j[C>>2];D=j[A>>2];a=k<<2;b=p(k,x)<<2;j[a+z>>2]=b+j[z>>2];j[a+A>>2]=b+D;j[a+C>>2]=b+m;j[a+B>>2]=b+s;k=k+1|0;if((k|0)!=(i|0)){continue}break}}c:{if((H|0)<=0){a=j[d+1156>>2];break c}X=o[(l<<3)+((H|0)>1e3?198624:198544)>>3];Y=o[(y<<3)+198544>>3];Z=j[B>>2];_=(i|0)<1;s=H;m=0;while(1){D=Ae(M,g,L);Ee(Z,0,N);a=H-m|0;y=(a|0)<(x|0)?a:x;K=(s|0)>(x|0)?x:s;if(!_){G=J-m|0;l=0;while(1){v=m<<2;a=l<<2;E=v+j[a+f>>2]|0;d:{e:{f:{if(j[a+D>>2]){k=0;b=j[a+C>>2];g:{if((y|0)<=0){break g}while(1){t=k<<2;n[t+b>>2]=n[(j[t+E>>2]<<2)+198704>>2];k=k+1|0;if((K|0)!=(k|0)){continue}break}if((y|0)<1){break g}t=a+e|0;w=v+j[t>>2]|0;F=j[a+B>>2];k=0;while(1){v=k<<2;j[v+F>>2]=q((k|0)<(G|0)?Y:X)>q(q(r(n[v+w>>2]))/n[b+v>>2])^1;k=k+1|0;if((y|0)!=(k|0)){continue}break}if((y|0)>0){break f}}v=j[a+A>>2];a=j[a+z>>2];break e}if((y|0)<1){break d}k=j[a+B>>2];v=j[a+A>>2];t=j[a+z>>2];w=j[a+C>>2];b=0;while(1){a=b<<2;j[a+w>>2]=786163455;j[a+t>>2]=0;j[a+v>>2]=0;j[a+k>>2]=0;j[a+E>>2]=0;b=b+1|0;if((K|0)!=(b|0)){continue}break}break d}v=j[a+A>>2];a=j[a+z>>2];F=j[t>>2];k=0;while(1){t=k<<2;w=t+a|0;I=F+(k+m<<2)|0;u=n[I>>2];u=q(u*u);n[w>>2]=u;n[v+t>>2]=u;if(!(n[I>>2]>2]=-n[w>>2]}t=b+t|0;u=n[t>>2];n[t>>2]=u*u;k=k+1|0;if((K|0)!=(k|0)){continue}break}}Dp(c,J,a,v,b,0,m,y,E)}l=l+1|0;if((l|0)!=(i|0)){continue}break}}a=j[d+1156>>2];if((a|0)>=1){$=J-m|0;aa=h-m|0;F=0;while(1){k=(F<<2)+d|0;b=j[k+2184>>2]<<2;l=j[b+f>>2];k=j[k+1160>>2]<<2;w=j[k+f>>2];I=j[b+B>>2];O=j[k+B>>2];ba=j[b+C>>2];P=j[k+C>>2];Q=j[b+A>>2];E=j[k+A>>2];v=j[b+z>>2];t=j[k+z>>2];k=k+D|0;if(!(j[b+D>>2]?0:!j[k>>2])){a=m<<2;R=a+w|0;j[b+D>>2]=1;j[k>>2]=1;if((y|0)>=1){S=a+l|0;k=0;while(1){h:{if((k|0)>=(aa|0)){break h}i:{a=k<<2;b=a+O|0;if(!j[b>>2]){l=a+I|0;if(!j[l>>2]){break i}}l=a+t|0;n[l>>2]=q(r(n[l>>2]))+q(r(n[a+v>>2]));l=a+E|0;n[l>>2]=n[l>>2]+n[a+Q>>2];j[a+I>>2]=1;j[b>>2]=1;w=a+R|0;l=j[w>>2];T=l>>31;G=a+S|0;b=j[G>>2];a=b>>31;j:{if((T^l+T)>(a^a+b)){a=(l|0)>0?l-b|0:b-l|0;j[G>>2]=a;b=j[w>>2];l=0-b|0;break j}j[G>>2]=(b|0)>0?l-b|0:b-l|0;j[w>>2]=b;a=j[G>>2];l=0-b|0}if(((b|0)<0?l:b)<<1>(a|0)){break h}j[G>>2]=0-a;j[w>>2]=0-j[w>>2];break h}k:{if((k|0)<($|0)){b=a+t|0;u=q(n[a+v>>2]+n[b>>2]);n[b>>2]=u;n[a+E>>2]=r(u);break k}b=a+t|0;U=n[b>>2];V=n[a+v>>2];u=q(q(r(U))+q(r(V)));n[a+E>>2]=u;if(!(q(U+V)>2]=-u;break k}n[b>>2]=u}j[a+Q>>2]=0;j[a+v>>2]=0;j[l>>2]=1;j[a+S>>2]=0}a=k<<2;b=a+ba|0;a=a+P|0;u=q(n[a>>2]+n[b>>2]);n[b>>2]=u;n[a>>2]=u;k=k+1|0;if((K|0)!=(k|0)){continue}break}}Dp(c,J,t,E,P,O,m,y,R);a=j[d+1156>>2]}F=F+1|0;if((F|0)<(a|0)){continue}break}}s=s-x|0;m=m+x|0;if((H|0)>(m|0)){continue}break}}k=0;if((a|0)>0){while(1){b=(k<<2)+d|0;c=(j[b+1160>>2]<<2)+g|0;if(!(j[(j[b+2184>>2]<<2)+g>>2]?0:!j[c>>2])){j[c>>2]=1;j[(j[b+2184>>2]<<2)+g>>2]=1;a=j[d+1156>>2]}k=k+1|0;if((k|0)<(a|0)){continue}break}}oe=W}function Kr(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;d=oe-32|0;oe=d;a:{b:{switch(j[a+44>>2]){case 1:j[a>>2]=b;j[a+4>>2]=b+11796480;e=Jr(a,0);break a;case 2:g=j[a+60>>2];of(d+8|0,g,b+5898240|0);of(d+16|0,g,b);f=j[d+16>>2]+(j[d+8>>2]+j[a+8>>2]|0)|0;j[d+16>>2]=f;e=j[d+20>>2]+(j[d+12>>2]+j[a+12>>2]|0)|0;j[d+20>>2]=e;c:{d:{e:{if(k[a+80|0]){f=j[d+20>>2];c=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[c>>2]=j[d+16>>2];j[c+4>>2]=f;break e}c=j[a+64>>2];f:{if(!c){break f}i=j[a+72>>2]+(c-1<<3)|0;if((j[i>>2]-f|0)+1>>>0>2){break f}if((j[i+4>>2]-e|0)+1>>>0<3){break d}}f=j[a+68>>2];j[d+28>>2]=0;e=c+1|0;g:{if(e>>>0<=f>>>0){f=j[a+76>>2];break g}i=j[a+88>>2];c=f;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(i,8,f,c,j[a+72>>2],d+28|0),j[l+72>>2]=m;e=j[d+28>>2];if(e){break c}f=xe(i,1,f,c,j[a+76>>2],d+28|0);j[a+76>>2]=f;e=j[d+28>>2];if(e){break c}j[a+68>>2]=c;c=j[a+64>>2]}i=j[d+20>>2];e=j[a+72>>2]+(c<<3)|0;j[e>>2]=j[d+16>>2];j[e+4>>2]=i;h[c+f|0]=1;j[a+64>>2]=j[a+64>>2]+1}h[a+80|0]=0}of(d+8|0,g,b-5898240|0);of(d+16|0,g,b);b=j[d+16>>2]+(j[a+8>>2]+j[d+8>>2]|0)|0;j[d+16>>2]=b;f=j[d+20>>2]+(j[a+12>>2]+j[d+12>>2]|0)|0;j[d+20>>2]=f;h:{if(k[a+80|0]){c=j[d+20>>2];b=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[b>>2]=j[d+16>>2];j[b+4>>2]=c;break h}c=j[a+64>>2];i:{if(!c){break i}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-b|0)+1>>>0>2){break i}e=0;if((j[g+4>>2]-f|0)+1>>>0<3){break a}}b=j[a+68>>2];j[d+28>>2]=0;e=c+1|0;j:{if(e>>>0<=b>>>0){b=j[a+76>>2];break j}f=j[a+88>>2];c=b;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(f,8,b,c,j[a+72>>2],d+28|0),j[l+72>>2]=m;e=j[d+28>>2];if(e){break c}b=xe(f,1,b,c,j[a+76>>2],d+28|0);j[a+76>>2]=b;e=j[d+28>>2];if(e){break c}j[a+68>>2]=c;c=j[a+64>>2]}e=j[d+20>>2];f=j[a+72>>2]+(c<<3)|0;j[f>>2]=j[d+16>>2];j[f+4>>2]=e;h[b+c|0]=1;j[a+64>>2]=j[a+64>>2]+1}e=0}h[a+80|0]=0;break a;case 0:break b;default:break a}}i=j[a+60>>2];of(d+16|0,i,b+5898240|0);f=j[d+16>>2]+j[a+8>>2]|0;j[d+16>>2]=f;e=j[d+20>>2]+j[a+12>>2]|0;j[d+20>>2]=e;k:{l:{m:{if(k[a+80|0]){f=j[d+20>>2];c=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[c>>2]=j[d+16>>2];j[c+4>>2]=f;break m}c=j[a+64>>2];n:{if(!c){break n}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-f|0)+1>>>0>2){break n}if((j[g+4>>2]-e|0)+1>>>0<3){break l}}f=j[a+68>>2];j[d+8>>2]=0;e=c+1|0;o:{if(e>>>0<=f>>>0){f=j[a+76>>2];break o}g=j[a+88>>2];c=f;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(g,8,f,c,j[a+72>>2],d+8|0),j[l+72>>2]=m;e=j[d+8>>2];if(e){break k}f=xe(g,1,f,c,j[a+76>>2],d+8|0);j[a+76>>2]=f;e=j[d+8>>2];if(e){break k}j[a+68>>2]=c;c=j[a+64>>2]}g=j[d+20>>2];e=j[a+72>>2]+(c<<3)|0;j[e>>2]=j[d+16>>2];j[e+4>>2]=g;h[c+f|0]=1;j[a+64>>2]=j[a+64>>2]+1}h[a+80|0]=0}of(d+16|0,i,b-5898240|0);b=j[d+16>>2]+j[a+8>>2]|0;j[d+16>>2]=b;f=j[d+20>>2]+j[a+12>>2]|0;j[d+20>>2]=f;p:{if(k[a+80|0]){c=j[d+20>>2];b=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[b>>2]=j[d+16>>2];j[b+4>>2]=c;break p}c=j[a+64>>2];q:{if(!c){break q}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-b|0)+1>>>0>2){break q}e=0;if((j[g+4>>2]-f|0)+1>>>0<3){break a}}b=j[a+68>>2];j[d+8>>2]=0;e=c+1|0;r:{if(e>>>0<=b>>>0){b=j[a+76>>2];break r}f=j[a+88>>2];c=b;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(f,8,b,c,j[a+72>>2],d+8|0),j[l+72>>2]=m;e=j[d+8>>2];if(e){break k}b=xe(f,1,b,c,j[a+76>>2],d+8|0);j[a+76>>2]=b;e=j[d+8>>2];if(e){break k}j[a+68>>2]=c;c=j[a+64>>2]}e=j[d+20>>2];f=j[a+72>>2]+(c<<3)|0;j[f>>2]=j[d+16>>2];j[f+4>>2]=e;h[b+c|0]=1;j[a+64>>2]=j[a+64>>2]+1}e=0}h[a+80|0]=0}oe=d+32|0;return e}function Ix(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;e=oe-16|0;oe=e;t=j[a+36>>2];b=j[a+20>>2];u=j[a+16>>2];c=j[a>>2];n=j[a+28>>2];p=j[a+24>>2];d=j[a+40>>2];r=k[d+9|0];f=j[a+44>>2];s=k[f+9|0];a:{if(!((r|0)!=4|(s|0)!=4|(j[d>>2]==372711428|j[f>>2]==372711428))){hh(d,f,e+12|0,e+8|0,e+4|0,e,0);if(!n){break a}q=p&7;p=(p+7|0)/8|0;b:while(1){g=p;c:{d:{switch(q-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=1;continue;case 1:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=2;continue;case 2:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=3;continue;case 3:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=4;continue;case 4:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=5;continue;case 5:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=6;continue;case 6:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=7;continue;default:break e}}a=n-1|0;h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;f:{if((g|0)>1){g=g-1|0;break f}b=b+t|0;c=c+u|0;n=a;if(a){continue b}break a}a=0;continue}}}if(!n){break a}v=s-1|0;while(1){n=n-1|0;q=p;if(p){while(1){a=0;g=0;m=0;o=0;g:{h:{switch(r-1|0){case 0:a=k[c|0];o=k[j[(k[d+31|0]<<2)+234976>>2]+((a&j[d+24>>2])>>>k[d+35|0]|0)|0];m=k[j[(k[d+30|0]<<2)+234976>>2]+((a&j[d+20>>2])>>>k[d+34|0]|0)|0];g=k[j[(k[d+29|0]<<2)+234976>>2]+((a&j[d+16>>2])>>>k[d+33|0]|0)|0];a=k[j[(k[d+28|0]<<2)+234976>>2]+((a&j[d+12>>2])>>>k[d+32|0]|0)|0];break g;case 1:a=l[c>>1];o=k[j[(k[d+31|0]<<2)+234976>>2]+((a&j[d+24>>2])>>>k[d+35|0]|0)|0];m=k[j[(k[d+30|0]<<2)+234976>>2]+((a&j[d+20>>2])>>>k[d+34|0]|0)|0];g=k[j[(k[d+29|0]<<2)+234976>>2]+((a&j[d+16>>2])>>>k[d+33|0]|0)|0];a=k[j[(k[d+28|0]<<2)+234976>>2]+((a&j[d+12>>2])>>>k[d+32|0]|0)|0];break g;case 2:m=k[(k[d+34|0]>>>3|0)+c|0];g=k[(k[d+33|0]>>>3|0)+c|0];a=k[(k[d+32|0]>>>3|0)+c|0];o=255;break g;case 3:break h;default:break g}}a=j[c>>2];o=k[j[(k[d+31|0]<<2)+234976>>2]+((a&j[d+24>>2])>>>k[d+35|0]|0)|0];m=k[j[(k[d+30|0]<<2)+234976>>2]+((a&j[d+20>>2])>>>k[d+34|0]|0)|0];g=k[j[(k[d+29|0]<<2)+234976>>2]+((a&j[d+16>>2])>>>k[d+33|0]|0)|0];a=k[j[(k[d+28|0]<<2)+234976>>2]+((a&j[d+12>>2])>>>k[d+32|0]|0)|0]}i:{j:{switch(v|0){case 0:h[b|0]=g>>>k[f+29|0]<>>k[f+28|0]<>>k[f+30|0]<>>k[f+31|0]<>1]=g>>>k[f+29|0]<>>k[f+28|0]<>>k[f+30|0]<>>k[f+31|0]<>>3|0)+b|0]=a;h[(k[f+33|0]>>>3|0)+b|0]=g;h[(k[f+34|0]>>>3|0)+b|0]=m;break i;case 3:break j;default:break i}}j[b>>2]=g>>>k[f+29|0]<>>k[f+28|0]<>>k[f+30|0]<>>k[f+31|0]<>2];g=j[a+104>>2];s=j[g+28>>2];j[o+4>>2]=0;e=6;a:{if(!r|!k[a+672|0]){break a}e=0;if(m[r+32>>2]<=b>>>0){break a}a=j[r+36>>2];f=b+1|0;if(j[a+(b<<2)>>2]==j[a+(f<<2)>>2]){break a}a=0;u=xe(s,8,0,d,0,o+12|0);b:{if(j[o+12>>2]){break b}a=xe(s,1,0,d,0,o+12|0);if(j[o+12>>2]){break b}e=b<<2;b=Fe(g,j[e+j[r+36>>2]>>2]);j[o+12>>2]=b;if(b){break b}b=j[r+36>>2];b=_e(g,j[b+(f<<2)>>2]-j[b+e>>2]|0);j[o+12>>2]=b;if(b){break b}e=j[g>>2];b=j[g+32>>2];z=xe(s,4,0,j[r>>2],0,o+12|0);c:{if(j[o+12>>2]){break c}D=xe(s,4,0,j[r>>2],0,o+12|0);if(j[o+12>>2]){break c}E=xe(s,4,0,j[r>>2],0,o+12|0);if(j[o+12>>2]){break c}n=af(g);A=af(g)+(b-e|0)|0;if(n&32768){f=j[g+32>>2];b=j[g>>2];j[g+32>>2]=b+A;J=Sl(g,o+4|0);e=j[g+32>>2];f=f-b|0;b=j[g>>2];j[g+32>>2]=f+b;A=e-b|0}F=n&4095;if(!F){break c}G=j[o+4>>2];while(1){K=af(g);d:{e:{f:{g:{f=af(g);h:{if(f&32768){b=0;if(!j[r>>2]){break h}while(1){M=(b<<2)+z|0,N=af(g)<<16>>16<<2,j[M>>2]=N;b=b+1|0;if(b>>>0>2]){continue}break}break h}b=f&4095;if(b>>>0>=m[r+24>>2]){break g}e=b;b=j[r>>2];Ae(z,j[r+28>>2]+(p(e,b)<<2)|0,b<<2)}i:{if(!(f&16384)){break i}b=0;if(!j[r>>2]){break i}while(1){M=(b<<2)+D|0,N=af(g)<<16>>16<<2,j[M>>2]=N;b=b+1|0;e=j[r>>2];if(b>>>0>>0){continue}break}b=0;if(!e){break i}while(1){M=(b<<2)+E|0,N=af(g)<<16>>16<<2,j[M>>2]=N;b=b+1|0;if(b>>>0>2]){continue}break}}t=mq(r,f,z,D,E);if(!t){break d}H=j[g>>2];L=j[g+32>>2];j:{if(f&8192){j[g+32>>2]=A+H;x=Sl(g,o+8|0);f=j[o+8>>2];b=x;break j}j[o+8>>2]=G;f=G;x=q;b=J}e=f?f:d;B=Rl(g,e);C=Rl(g,e);if(!B|(!b|!C)){break e}k:{if((b|0)!=-1){b=0;if(d){break k}break f}b=0;if(!d){break e}while(1){q=b<<1;f=ye(i[q+B>>1],t);n=b<<3;e=n+j[c+4>>2]|0;j[e>>2]=f+j[e>>2];f=ye(i[q+C>>1],t);e=n+j[c+4>>2]|0;j[e+4>>2]=f+j[e+4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}break e}while(1){e=b<<3;q=e+u|0;n=e+j[c+4>>2]|0;e=j[n+4>>2];j[q>>2]=j[n>>2];j[q+4>>2]=e;h[a+b|0]=0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break f}j[o+12>>2]=8;break c}b=0;if(f){while(1){v=b<<1;e=l[v+x>>1];if(e>>>0>>0){h[a+e|0]=1;n=ye(i[B+v>>1],t);q=e<<3;e=q+j[c+4>>2]|0;j[e>>2]=n+j[e>>2];n=ye(i[C+v>>1],t);e=q+j[c+4>>2]|0;j[e+4>>2]=n+j[e+4>>2]}b=b+1|0;if((f|0)!=(b|0)){continue}break}}if(!l[c>>1]){break e}y=j[c+4>>2];t=0;e=0;while(1){q=e;b=e;w=i[j[c+12>>2]+(t<<1)>>1];l:{if(b>>>0>w>>>0){break l}while(1){m:{e=b+1|0;if(k[a+b|0]){break m}b=e;if(w>>>0>=b>>>0){continue}break l}break}n=b;f=b;n:{o:{p:{if(e>>>0<=w>>>0){while(1){if(k[a+e|0]){Pl(f+1|0,n,f,e,u,y);f=e}n=e;e=e+1|0;if(w>>>0>=e>>>0){continue}break}if((b|0)!=(f|0)){break p}}f=b<<3;n=f+y|0;f=f+u|0;v=j[n+4>>2]-j[f+4>>2]|0;f=j[n>>2]-j[f>>2]|0;if(!(v|f)){break l}if((b|0)>(q|0)){break o}break n}Pl(f+1|0,w,f,b,u,y);if(!b){break l}Pl(q,b-1|0,f,b,u,y);break l}while(1){n=y+(q<<3)|0;j[n>>2]=f+j[n>>2];j[n+4>>2]=v+j[n+4>>2];q=q+1|0;if((q|0)!=(b|0)){continue}break}}if((b|0)>=(w|0)){break l}while(1){b=b+1|0;n=y+(b<<3)|0;j[n>>2]=f+j[n>>2];j[n+4>>2]=v+j[n+4>>2];if((b|0)!=(w|0)){continue}break}}t=t+1|0;if((t|0)>1]){continue}break}}q=-1;if((x|0)!=-1){if(x){qe[j[s+8>>2]](s,x)}q=0}b=s;if(B){qe[j[b+8>>2]](b,B)}if(C){qe[j[s+8>>2]](s,C)}j[g+32>>2]=j[g>>2]+(L-H|0)}A=A+K|0;I=I+1|0;if((I|0)!=(F|0)){continue}break}}b=s;if(z){qe[j[b+8>>2]](b,z)}if(D){qe[j[b+8>>2]](b,D)}if(E){qe[j[s+8>>2]](s,E)}Ve(g)}if(u){qe[j[s+8>>2]](s,u)}if(a){qe[j[s+8>>2]](s,a)}e=j[o+12>>2]}oe=o+16|0;return e}function lm(a,b,c,d,e,f,g,i,l,m){var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;n=oe-192|0;oe=n;j[n+144>>2]=0;j[n+148>>2]=0;j[n+152>>2]=0;j[n+156>>2]=0;j[n+160>>2]=0;j[n+164>>2]=0;j[n+168>>2]=0;j[n+172>>2]=0;j[n+176>>2]=0;j[n+180>>2]=0;j[n+184>>2]=0;j[n+188>>2]=0;j[n+128>>2]=0;j[n+132>>2]=0;j[n+136>>2]=0;j[n+140>>2]=0;t=n+128|4;o=b;p=a;while(1){s=(n+128|0)+(j[p>>2]<<2)|0;j[s>>2]=j[s>>2]+1;p=p+4|0;o=o-1|0;if(o){continue}break}a:{if(j[n+128>>2]==(b|0)){j[f>>2]=0;j[g>>2]=0;break a}p=j[g>>2];q=1;o=g;b:{c:{d:{e:{f:{g:{s=j[n+132>>2];if(s){break g}q=2;if(j[n+136>>2]){break g}q=3;if(j[n+140>>2]){break g}q=4;if(j[n+144>>2]){break g}q=5;if(j[n+148>>2]){break g}q=6;if(j[n+152>>2]){break g}q=7;if(j[n+156>>2]){break g}q=8;if(j[n+160>>2]){break g}q=9;if(j[n+164>>2]){break g}q=10;if(j[n+168>>2]){break g}q=11;if(j[n+172>>2]){break g}q=12;if(j[n+176>>2]){break g}q=13;if(j[n+180>>2]){break g}q=14;if(j[n+184>>2]){break g}if(j[n+188>>2]){q=15;p=p>>>0>15?p:15;C=1;r=15;break e}q=16;p=p>>>0>16?p:16;break f}p=p>>>0>>0?q:p;if(!j[n+188>>2]){break f}r=15;u=p>>>0<15?p:15;j[g>>2]=u;o=1<>2]){break d}r=13;if(j[n+180>>2]){break d}r=12;if(j[n+176>>2]){break d}r=11;if(j[n+172>>2]){break d}r=10;if(j[n+168>>2]){break d}r=9;if(j[n+164>>2]){break d}r=8;if(j[n+160>>2]){break d}r=7;if(j[n+156>>2]){break d}r=6;if(j[n+152>>2]){break d}r=5;if(j[n+148>>2]){break d}r=4;if(j[n+144>>2]){break d}r=3;if(j[n+140>>2]){break d}r=2;if(j[n+136>>2]){break d}C=!s;r=(s|0)!=0}u=p>>>0>r>>>0?r:p;j[o>>2]=u;o=1<>>0>r>>>0?r:p;j[g>>2]=u;C=1;o=1<>>0>=r>>>0){break b}}p=q;while(1){g=o-j[(n+128|0)+(p<<2)>>2]|0;if((g|0)<0){D=-3;break a}C=1;o=g<<1;p=p+1|0;if((r|0)!=(p|0)){continue}break}}D=-3;g=(n+128|0)+(r<<2)|0;E=o-j[g>>2]|0;if((E|0)<0){break a}j[g>>2]=o;j[n+4>>2]=0;o=r-1|0;if(o){p=n|8;while(1){v=j[t>>2]+v|0;j[p>>2]=v;p=p+4|0;t=t+4|0;o=o-1|0;if(o){continue}break}}g=b>>>0>1?b:1;p=0;while(1){b=j[a>>2];if(b){o=(b<<2)+n|0;b=j[o>>2];j[o>>2]=b+1;j[(b<<2)+m>>2]=p}a=a+4|0;p=p+1|0;if((g|0)!=(p|0)){continue}break}j[n+64>>2]=0;a=j[(r<<2)+n>>2];j[n>>2]=0;if(q>>>0<=r>>>0){t=0-u|0;G=(a<<2)+m|0;v=0;a=0;b=0;p=-1;while(1){F=(n+128|0)+(q<<2)|0;y=j[F>>2];if(y){H=1<>>0<=y>>>0){break i}o=g;a=r-t|0;A=a>>>0>u>>>0?u:a;if(o>>>0>=A>>>0){break i}o=g+1|0;if(A>>>0<=o>>>0){break i}a=u>>>0>>0?u:z;v=p-y|0;p=F;while(1){v=v<<1;B=j[p+4>>2];if(v>>>0<=B>>>0){break i}p=p+4|0;v=v-B|0;o=o+1|0;if(A>>>0>o>>>0){continue}break}o=a}v=1<>2];A=v+a|0;if(A>>>0>1440){break a}p=s+1|0;B=p<<2;a=(a<<3)+i|0;j[B+(n- -64|0)>>2]=a;j[l>>2]=A;j:{if(p){j[n+B>>2]=b;w=j[(n- -64|0)+(s<<2)>>2];x=b>>>x|0;s=w+(x<<3)|0;h[s+1|0]=u;h[s|0]=o;w=(a-w>>3)-x|0;j[s+4>>2]=w;break j}j[f>>2]=a}z=z-u|0;x=t;s=p;o=t+u|0;if((q|0)>(o|0)){continue}break}}s=192;k:{if(m>>>0>=G>>>0){break k}w=j[m>>2];if(w>>>0>>0){s=w>>>0<256?0:96;m=m+4|0;break k}m=m+4|0;o=w-c<<2;s=k[o+e|0]+80|0;w=j[d+o>>2]}o=b>>>t|0;if(v>>>0>o>>>0){z=1<>2]=w;h[x+1|0]=g;h[x|0]=s;o=o+z|0;if(v>>>0>o>>>0){continue}break}}o=H;if(o&b){while(1){b=b^o;o=o>>>1|0;if(b&o){continue}break}}y=y-1|0;b=b^o;if(j[(p<<2)+n>>2]!=(b&(-1<>2]!=((-1<>2];u=j[a+40>>2];q=j[a+36>>2];h[f+47|0]=0;h[f+48|0]=0;h[f+49|0]=0;h[f+50|0]=0;h[f+51|0]=0;h[f+52|0]=0;h[f+53|0]=0;h[f+54|0]=0;j[f+40>>2]=0;j[f+44>>2]=0;j[f+32>>2]=0;j[f+36>>2]=0;j[f+16>>2]=0;j[f+24>>2]=0;j[f+28>>2]=0;j[f+8>>2]=0;j[f+12>>2]=0;c=p(b,1468)+a|0;w=c;j[c+44>>2]=0;g=j[c+68>>2];e=j[a+28>>2];m=j[a+24>>2];c=e+p(m,40)|0;a:{if(!b){if((m|0)<1){break a}while(1){j[e+24>>2]=i[e+12>>1];j[e+28>>2]=i[e+14>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}break a}if((m|0)<1){break a}while(1){j[e+24>>2]=i[e+14>>1];j[e+28>>2]=i[e+12>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}}b:{if((q|0)<1){break b}z=(q<<2)+u|0;r=p(b,1468)+a|0;x=r+72|0;c=g>>31;t=c+g^c;g=t;while(1){c:{s=j[u>>2];e=j[s+36>>2];if((e|0)==(s|0)){break c}c=h[e+3|0];m=c>>31;m=m^c+m;d:{if((m|0)!=(t|0)){break d}c=h[s+3|0];q=c>>31;if((q^c+q)!=(t|0)){break d}if((m|0)==(t|0)){while(1){if((e|0)==(s|0)){break d}e=j[e+36>>2];c=h[e+3|0];m=c>>31;if((m^c+m)==(t|0)){continue}break}}s=j[e+32>>2]}c=0;o=-32e3;n=32e3;e=s;m=0;while(1){q=1;e:{if(!c){break e}c=j[e+24>>2];o=(c|0)>(o|0)?c:o;n=(c|0)<(n|0)?c:n;if(!((e|0)==(s|0)|h[e+3|0]!=(g|0))){q=0;break e}j[d+44>>2]=e;i[d+2>>1]=n+o>>>1;c=j[d+40>>2];if((l[e>>1]|l[c>>1])&3){h[d|0]=k[d|0]|1}n=j[c+28>>2];c=j[e+28>>2];o=(c|0)<(n|0)?n:c;i[d+6>>1]=o;n=(c|0)>(n|0)?n:c;i[d+4>>1]=n;i[d+8>>1]=o-n;d=0}if((e|0)==(s|0)){c=m;m=1;if(c){break c}}v=1;f:{if(!q){break f}q=h[e+3|0];c=q>>31;v=0;if((c^c+q)!=(t|0)){break f}j[f+60>>2]=0;d=j[w+44>>2];g:{if((d|0)<=17){if(j[r+52>>2]){break g}j[r+52>>2]=x;j[r+48>>2]=18;break g}o=j[r+48>>2];if((o|0)>(d|0)){break g}if((o|0)>44739241){n=64;break b}c=(o+(o>>2)|0)+4|0;g=(o|0)<-16?44739242:(c|0)>44739242?44739242:c;c=j[r+52>>2];h:{if((c|0)==(x|0)){c=xe(y,48,0,g,0,f+60|0);j[r+52>>2]=c;n=j[f+60>>2];if(n){break b}Ae(c,x,864);break h}A=r,B=xe(y,48,o,g,c,f+60|0),j[A+52>>2]=B;n=j[f+60>>2];if(n){break b}}j[r+48>>2]=g;d=j[w+44>>2]}c=j[r+52>>2];j[w+44>>2]=d+1;d=c+p(d,48)|0;h[d|0]=0;g=j[f+28>>2];c=j[f+24>>2];h[d+1|0]=c;h[d+2|0]=c>>>8;h[d+3|0]=c>>>16;h[d+4|0]=c>>>24;h[d+5|0]=g;h[d+6|0]=g>>>8;h[d+7|0]=g>>>16;h[d+8|0]=g>>>24;g=j[f+36>>2];c=j[f+32>>2];h[d+9|0]=c;h[d+10|0]=c>>>8;h[d+11|0]=c>>>16;h[d+12|0]=c>>>24;h[d+13|0]=g;h[d+14|0]=g>>>8;h[d+15|0]=g>>>16;h[d+16|0]=g>>>24;g=j[f+44>>2];c=j[f+40>>2];h[d+17|0]=c;h[d+18|0]=c>>>8;h[d+19|0]=c>>>16;h[d+20|0]=c>>>24;h[d+21|0]=g;h[d+22|0]=g>>>8;h[d+23|0]=g>>>16;h[d+24|0]=g>>>24;g=k[f+51|0]|k[f+52|0]<<8|(k[f+53|0]<<16|k[f+54|0]<<24);c=k[f+47|0]|k[f+48|0]<<8|(k[f+49|0]<<16|k[f+50|0]<<24);h[d+24|0]=c;h[d+25|0]=c>>>8;h[d+26|0]=c>>>16;h[d+27|0]=c>>>24;h[d+28|0]=g;h[d+29|0]=g>>>8;h[d+30|0]=g>>>16;h[d+31|0]=g>>>24;j[d+32>>2]=32e3;c=j[f+12>>2];j[d+36>>2]=j[f+8>>2];j[d+40>>2]=c;j[d+44>>2]=j[f+16>>2];h[d+1|0]=q;n=j[e+24>>2];j[d+44>>2]=e;j[d+40>>2]=e;o=n;g=q;v=1}c=v;e=j[e+32>>2];continue}}u=u+4|0;if(z>>>0>u>>>0){continue}break}n=0;c=j[w+44>>2];if((c|0)<1){break b}e=j[(p(b,1468)+a|0)+52>>2];b=e+p(c,48)|0;while(1){a=j[e+40>>2];g=j[j[a+36>>2]+28>>2];m=j[a+28>>2];a=j[e+44>>2];c=j[a+28>>2];i:{if((m|0)<(c|0)){if((g|0)<(m|0)){i[e+8>>1]=l[e+8>>1]+(m-g>>>1|0)}a=j[j[a+32>>2]+28>>2];if((a|0)<=(c|0)){break i}i[e+8>>1]=l[e+8>>1]+(a-c>>>1|0);break i}if((g|0)>(m|0)){i[e+8>>1]=l[e+8>>1]+(g-m>>>1|0)}a=j[j[a+32>>2]+28>>2];if((a|0)>=(c|0)){break i}i[e+8>>1]=l[e+8>>1]+(c-a>>>1|0)}e=e+48|0;if(b>>>0>e>>>0){continue}break}}oe=f- -64|0;return n}function FG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;d=oe-16|0;oe=d;n=j[b+16>>2];p=j[b+8>>2];q=j[a+488>>2];a:{b:{e=qe[j[b+36>>2]](b)|0;if((e|0)<0){c=3;break b}if(j[b+12>>2]|!e){break a}l=b+260|0;o=b+156|0;m=b+208|0;if(!j[b+152>>2]){f=e+6|0;c=qe[j[j[q>>2]>>2]](m,f,n)|0;if(c){break b}c=qe[j[j[q>>2]>>2]](o,f,n)|0;if(c){break b}c=qe[j[j[q>>2]>>2]](l,4,n)|0;j[d+12>>2]=c;if(c){break b}}qe[j[b+28>>2]](b);c:{c=j[b>>2];if(p>>>0<=c>>>0){j[b+152>>2]=0;break c}w=e+5|0;d:{while(1){e:{f:{if(c+3>>>0>=p>>>0){break f}g:{switch(k[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break g;default:break f}}h:{switch(k[c|0]-100|0){case 0:if(!g|k[c+1|0]!=101|k[c+2|0]!=102){break f}break e;case 1:break h;default:break f}}if(k[c+1|0]!=110){break f}if(k[c+2|0]==100){break e}}qe[j[b+32>>2]](b);i=j[b>>2];if(i>>>0>=p>>>0){c=3;j[d+12>>2]=3;break b}if(j[b+12>>2]){break a}i:{if(k[c|0]!=47){break i}if(c+2>>>0>=p>>>0){j[d+12>>2]=3;break d}r=j[j[a+128>>2]+48>>2];f=j[b+8>>2];qe[j[b+28>>2]](b);j:{e=j[b>>2];k:{if(e>>>0>=f>>>0|k[e|0]-48>>>0>9){break k}e=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((e|0)<0){break k}t=f;u=j[b>>2];f=u+1|0;if((e|0)<(t-f|0)){break j}}if(r){break a}j[b+12>>2]=3;break a}j[b>>2]=(e+u|0)+1;if(j[b+12>>2]){break a}if(j[b+152>>2]){break i}c=c+1|0;i=i-c|0;r=qe[j[b+200>>2]](o,g,c,i+1|0)|0;j[d+12>>2]=r;if(r){break d}t=i;i=g<<2;h[t+j[i+j[b+180>>2]>>2]|0]=0;if(k[c|0]==46){c=we(159996,j[i+j[b+180>>2]>>2]);v=c?v:1;s=c?s:g}l:{m:{if((g|0)>=(w|0)){break m}c=j[a+172>>2];if((c|0)<0){break m}if(c>>>0>=e>>>0){j[d+12>>2]=3;c=j[d+12>>2];break b}c=He(n,e,d+12|0);if(j[d+12>>2]){break d}c=Ae(c,f,e);qe[j[q+16>>2]](c,e,4330);f=j[a+172>>2];x=d,y=qe[j[b+252>>2]](m,g,f+c|0,e-f|0)|0,j[x+12>>2]=y;if(c){qe[j[n+8>>2]](n,c)}c=j[d+12>>2];break l}c=qe[j[b+252>>2]](m,g,f,e)|0;j[d+12>>2]=c}if(c){break d}g=g+1|0}qe[j[b+28>>2]](b);c=j[b>>2];if(p>>>0>c>>>0){continue}}break}j[b+152>>2]=g;if(!(v&255)){break c}a=j[j[b+180>>2]>>2];if(!we(159996,a)){break a}c=qe[j[b+304>>2]](l,0,a,j[j[b+184>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+304>>2]](l,1,j[j[b+232>>2]>>2],j[j[b+236>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}a=s<<2;c=qe[j[b+304>>2]](l,2,j[a+j[b+180>>2]>>2],j[a+j[b+184>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+304>>2]](l,3,j[a+j[b+232>>2]>>2],j[a+j[b+236>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,s,j[j[b+284>>2]>>2],j[j[b+288>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,s,j[j[b+284>>2]+4>>2],j[j[b+288>>2]+4>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,0,j[j[b+284>>2]+8>>2],j[j[b+288>>2]+8>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,0,j[j[b+284>>2]+12>>2],j[j[b+288>>2]+12>>2])|0;if(!c){break a}break b}c=j[d+12>>2];break b}h[d+8|0]=k[162304];j[d+4>>2]=k[162300]|k[162301]<<8|(k[162302]<<16|k[162303]<<24);c=qe[j[b+304>>2]](l,0,j[j[b+180>>2]>>2],j[j[b+184>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+304>>2]](l,1,j[j[b+232>>2]>>2],j[j[b+236>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,0,159996,8)|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,0,d+4|0,5)|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,g,j[j[b+284>>2]>>2],j[j[b+288>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,g,j[j[b+284>>2]+4>>2],j[j[b+288>>2]+4>>2])|0;if(c){break b}j[b+152>>2]=j[b+152>>2]+1;break a}j[b+12>>2]=c}oe=d+16|0}function iq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=oe-16|0;oe=f;j[b+12>>2]=0;j[b>>2]=c;i=c+d|0;j[b+8>>2]=i;qe[j[b+28>>2]](b);c=j[b>>2];a:{b:{if(i>>>0<=c>>>0){break b}m=a+132|0;o=a+164|0;p=a+168|0;q=a+460|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=k[c|0];switch(d-99|0){case 1:break i;case 0:break k;case 2:break l;default:break j}}d=c+6|0;if((d|0)==(i|0)){break h}if(d>>>0>=i>>>0){break d}switch(k[c+5|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break d}}m:{d=c+10|0;if((d|0)==(i|0)){break m}if(d>>>0>=i>>>0){break d}switch(k[c+9|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break m;default:break d}}if(Qe(c,160036,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){qe[j[b+32>>2]](b);e=1;n=c;if(!j[b+12>>2]){break c}break b}g=c+6>>>0>=i>>>0;if(!(g|(d|0)!=82)){if(!e|k[c+1|0]!=68){break d}j[b>>2]=n;e=j[j[a+128>>2]+48>>2];d=j[b+8>>2];qe[j[b+28>>2]](b);n:{c=j[b>>2];o:{if(c>>>0>=d>>>0|k[c|0]-48>>>0>9){break o}c=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((c|0)<0){break o}g=d;d=j[b>>2];if((c|0)<(g+(d^-1)|0)){break n}}c=3;if(e){break a}break f}j[b>>2]=(c+d|0)+1;e=0;if(!j[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|g)){if(!e|k[c+1|0]!=124){break d}j[b>>2]=n;e=j[j[a+128>>2]+48>>2];d=j[b+8>>2];qe[j[b+28>>2]](b);p:{c=j[b>>2];q:{if(c>>>0>=d>>>0|k[c|0]-48>>>0>9){break q}c=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((c|0)<0){break q}g=d;d=j[b>>2];if((c|0)<(g+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}j[b>>2]=(c+d|0)+1;e=0;if(!j[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=i>>>0){break d}g=c+1|0;j[b>>2]=g;qe[j[b+32>>2]](b);if(j[b+12>>2]){break b}e=0;c=j[b>>2];if(c>>>0>=i>>>0){break c}l=c-g|0;if(l-1>>>0>20){break c}r=k[g|0];c=160064;h=161768;while(1){d=c;r:{if(k[h|0]!=(r|0)){break r}if((Le(h)|0)!=(l|0)){break r}if(Bg(g,h,l)){break r}c=j[b+372>>2];if(!(j[d+32>>2]&(c&1?2:1))){break c}if(c&2){if(we(h,161756)){break c}}h=j[a+528>>2];c=0;s:{if(!h){break s}c=j[h>>2]?h:0}g=b;l=j[d+8>>2];t:{if((l|0)==11){qe[j[d+12>>2]](a,b);c=j[b+12>>2];break t}u:{v:{w:{x:{y:{z:{A:{switch(j[d+4>>2]-2|0){case 1:j[f+12>>2]=m;if(c){break z}e=f+12|0;break v;case 2:j[f+12>>2]=p;e=f+12|0;if(!c){break v}e=c+212|0;break y;case 3:j[f+12>>2]=q;e=f+12|0;if(!c){break v}e=c+284|0;break y;case 4:j[f+12>>2]=b;e=f+12|0;break v;case 5:j[f+12>>2]=a;e=f+12|0;break v;case 6:j[f+12>>2]=h;e=f+12|0;c=0;break x;case 0:break w;default:break A}}j[f+12>>2]=m;e=f+12|0;break v}e=c+144|0}h=j[e>>2];c=j[c>>2]}if(h){break u}break g}j[f+12>>2]=o;e=f+12|0}c=0}if(l-9>>>0<=1){c=qe[j[b+68>>2]](b,d,e,c,0)|0;break t}c=qe[j[b+64>>2]](b,d,e,c,0)|0}j[g+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;h=j[d+36>>2];if(h){continue}break}break c}if(!Qe(c,160030,5)){break b}break d}e=0;j[b+12>>2]=0;break c}j[b+12>>2]=3;break a}B:{d=c+14|0;if((d|0)==(i|0)){break B}if(d>>>0>=i>>>0){break d}switch(k[c+13|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break B;default:break d}}if(Qe(c,160046,13)){break d}d=j[b+372>>2];if(d&1){j[b+372>>2]=d|2}j[b>>2]=c+13;break c}qe[j[b+32>>2]](b);e=0;if(j[b+12>>2]){break b}}qe[j[b+28>>2]](b);c=j[b>>2];if(i>>>0>c>>>0){continue}break}}c=j[b+12>>2]}oe=f+16|0;return c}function Hl(a,b,c,d,e,f){var g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;m=oe+ -64|0;j[m+48>>2]=0;j[m+52>>2]=0;j[m+56>>2]=0;j[m+60>>2]=0;j[m+32>>2]=0;j[m+36>>2]=0;j[m+40>>2]=0;j[m+44>>2]=0;a:{b:{c:{d:{e:{if(c){while(1){o=(m+32|0)+(l[(p<<1)+b>>1]<<1)|0;i[o>>1]=l[o>>1]+1;p=p+1|0;if((p|0)!=(c|0)){continue}break}p=j[e>>2];q=15;v=l[m+62>>1];if(v){break d}break e}p=j[e>>2]}q=14;v=0;if(l[m+60>>1]){break d}q=13;if(l[m+58>>1]){break d}q=12;if(l[m+56>>1]){break d}q=11;if(l[m+54>>1]){break d}q=10;if(l[m+52>>1]){break d}q=9;if(l[m+50>>1]){break d}q=8;if(l[m+48>>1]){break d}q=7;if(l[m+46>>1]){break d}q=6;if(l[m+44>>1]){break d}q=5;if(l[m+42>>1]){break d}q=4;if(l[m+40>>1]){break d}q=3;if(l[m+38>>1]){break d}q=2;if(l[m+36>>1]){break d}if(!l[m+34>>1]){a=j[d>>2];j[d>>2]=a+4;i[a>>1]=320;i[a+2>>1]=0;a=j[d>>2];j[d>>2]=a+4;i[a>>1]=320;i[a+2>>1]=0;j[e>>2]=1;break b}r=(p|0)!=0;q=1;p=1;break c}r=p>>>0>q>>>0?q:p;g=1;p=1;while(1){if(l[(m+32|0)+(p<<1)>>1]){break c}p=p+1|0;if((q|0)!=(p|0)){continue}break}p=q}o=-1;t=l[m+34>>1];if(t>>>0>2){break a}u=l[m+36>>1];n=4-(u+(t<<1)|0)|0;if((n|0)<0){break a}w=l[m+38>>1];n=(n<<1)-w|0;if((n|0)<0){break a}x=l[m+40>>1];n=(n<<1)-x|0;if((n|0)<0){break a}z=l[m+42>>1];n=(n<<1)-z|0;if((n|0)<0){break a}A=l[m+44>>1];n=(n<<1)-A|0;if((n|0)<0){break a}D=l[m+46>>1];n=(n<<1)-D|0;if((n|0)<0){break a}E=l[m+48>>1];n=(n<<1)-E|0;if((n|0)<0){break a}B=l[m+50>>1];n=(n<<1)-B|0;if((n|0)<0){break a}G=l[m+52>>1];n=(n<<1)-G|0;if((n|0)<0){break a}H=l[m+54>>1];n=(n<<1)-H|0;if((n|0)<0){break a}s=l[m+56>>1];n=(n<<1)-s|0;if((n|0)<0){break a}C=l[m+58>>1];n=(n<<1)-C|0;if((n|0)<0){break a}F=l[m+60>>1];n=(n<<1)-F|0;if((n|0)<0){break a}n=(n<<1)-v|0;if((n|0)<0|(!a|g?n:0)){break a}o=0;i[m+2>>1]=0;i[m+4>>1]=t;g=t+u|0;i[m+6>>1]=g;g=g+w|0;i[m+8>>1]=g;g=g+x|0;i[m+10>>1]=g;g=g+z|0;i[m+12>>1]=g;g=g+A|0;i[m+14>>1]=g;g=g+D|0;i[m+16>>1]=g;g=g+E|0;i[m+18>>1]=g;g=g+B|0;i[m+20>>1]=g;g=g+G|0;i[m+22>>1]=g;g=g+H|0;i[m+24>>1]=g;g=g+s|0;i[m+26>>1]=g;g=g+C|0;i[m+28>>1]=g;i[m+30>>1]=g+F;if(c){while(1){g=l[(o<<1)+b>>1];if(g){g=(g<<1)+m|0;n=l[g>>1];i[g>>1]=n+1;i[(n<<1)+f>>1]=o}o=o+1|0;if((o|0)!=(c|0)){continue}break}}s=p>>>0>r>>>0?p:r;t=19;D=0;C=f;z=f;E=0;f:{g:{switch(a|0){case 1:o=1;if(s>>>0>9){break a}t=256;z=19518;C=19454;E=1;break f;case 0:break f;default:break g}}D=(a|0)==2;t=-1;z=20160;C=20096;if((a|0)!=2){break f}o=1;if(s>>>0>9){break a}}u=1<>2];x=0;g=s;r=0;n=-1;while(1){F=1<>1];a=0;i:{if((t|0)>(g|0)){break i}if((g|0)<=(t|0)){g=0;a=96;break i}a=g<<1;g=l[a+C>>1];a=k[a+z|0]}H=r>>>y|0;o=-1<>1]=g;h[B+1|0]=A;h[B|0]=a;if(c){continue}break}o=1<>>1|0;if(a&r){continue}break}c=(m+32|0)+(p<<1)|0;g=l[c>>1]-1|0;i[c>>1]=g;r=a?a+(a-1&r)|0:0;x=x+1|0;if(!(g&65535)){if((p|0)==(q|0)){break h}p=l[(l[(x<<1)+f>>1]<<1)+b>>1]}if(p>>>0<=s>>>0){continue}a=r&G;if((a|0)==(n|0)){continue}break}y=y?y:s;g=p-y|0;v=1<>>0>>0){c=q-y|0;o=p;j:{while(1){o=v-l[(m+32|0)+(o<<1)>>1]|0;if((o|0)<1){break j}v=o<<1;g=g+1|0;o=y+g|0;if(q>>>0>o>>>0){continue}break}g=c}v=1<>>0>852&E|u>>>0>592&D){break a}c=j[d>>2];o=c+(a<<2)|0;h[o+1|0]=s;h[o|0]=g;w=(F<<2)+w|0;i[o+2>>1]=w-c>>>2;n=a;continue}break}if(r){a=(r<<2)+w|0;i[a+2>>1]=0;h[a+1|0]=A;h[a|0]=64}j[d>>2]=j[d>>2]+(u<<2);j[e>>2]=s}o=0}return o}function Wf(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0;l=oe-112|0;oe=l;m=h;p=i&2147483647;n=c-(b>>>0<1)|0;k=b-1|0;r=(k|0)==-1&(n|0)==-1;t=d;q=(c|0)==(n|0)&b>>>0>k>>>0|c>>>0>n>>>0;o=d+q|0;n=e&2147483647;k=n;k=o>>>0>>0?k+1|0:k;q=o-1|0;a:{b:{k=k-(o>>>0<1)|0;if(!((q|0)==-1&(k|0)==2147418111?r:k>>>0>2147418111)){k=f;o=g-(k>>>0<1)|0;k=k-1|0;r=(k|0)!=-1|(o|0)!=-1;q=(g|0)==(o|0)&f>>>0>k>>>0|g>>>0>o>>>0;o=q+m|0;k=p;k=o>>>0>>0?k+1|0:k;q=o;o=o-1|0;k=k-(q>>>0<1)|0;if((o|0)==-1&(k|0)==2147418111?r:(k|0)==2147418111&(o|0)!=-1|k>>>0<2147418111){break b}}if(!(!t&(n|0)==2147418112?!(b|c):n>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!m&(p|0)==2147418112?!(f|g):p>>>0<2147418112)){i=i|32768;break a}if(!(b|t|(n^2147418112|c))){k=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:k;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|m|(p^2147418112|g))){break a}if(!(b|t|(c|n))){if(f|m|(g|p)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|m|(g|p)){break b}f=b;g=c;h=d;i=e;break a}r=(m|0)==(t|0)&(n|0)==(p|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:(n|0)==(p|0)&m>>>0>t>>>0|n>>>0

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

>>0)+f|0)|0;i=(q-((d>>>0>>0)+i|0)|0)-(e>>>0>o>>>0)|0;if(!(b|h|(c|i))){f=0;g=0;h=0;i=0;break a}if(i>>>0>524287){break d}f=b;d=!(h|i);e=d<<6;g=s(d?b:h)+32|0;b=s(d?c:i);b=e+((b|0)==32?g:b)|0;b=b-12|0;Nf(l+32|0,f,c,h,i,b);m=m-b|0;h=j[l+40>>2];i=j[l+44>>2];b=j[l+32>>2];c=j[l+36>>2];break d}b=c;g=b+e|0;c=f+k|0;c=b>>>0>g>>>0?c+1|0:c;b=g;g=(c|0)==(f|0)&e>>>0>b>>>0|c>>>0>>0;e=d;f=d+h|0;d=i+q|0;d=e>>>0>f>>>0?d+1|0:d;e=g+f|0;h=e;i=h>>>0>>0?d+1|0:d;if(!(i&1048576)){break d}b=b&1|((c&1)<<31|b>>>1);c=h<<31|c>>>1;m=m+1|0;h=(i&1)<<31|h>>>1;i=i>>>1|0}k=0;p=t&-2147483648;if((m|0)>=32767){h=k;i=p|2147418112;f=0;g=0;break a}e=0;e:{if((m|0)>0){e=m;break e}Nf(l+16|0,b,c,h,i,m+127|0);mi(l,b,c,h,i,1-m|0);b=j[l>>2]|((j[l+16>>2]|j[l+24>>2])!=0|(j[l+20>>2]|j[l+28>>2])!=0);c=j[l+4>>2];h=j[l+8>>2];i=j[l+12>>2]}t=(c&7)<<29|b>>>3;g=t;m=b&7;b=g+(m>>>0>4)|0;d=h<<29|c>>>3;c=b>>>0>>0?d+1|0:d;f=b;g=c;b=(d|0)==(c|0)&b>>>0>>0|c>>>0>>0;d=(i&7)<<29|h>>>3|k;b=b+d|0;k=p|i>>>3&65535|e<<16;h=b;i=b>>>0>>0?k+1|0:k;f:{if((m|0)==4){k=i;c=0;d=g+c|0;e=f&1;b=f+e|0;d=b>>>0>>0?d+1|0:d;f=b;g=d;c=(c|0)==(d|0)&b>>>0>>0|c>>>0>d>>>0;b=c+h|0;h=b;i=b>>>0>>0?k+1|0:k;break f}if(!m){break a}}}j[a>>2]=f;j[a+4>>2]=g;j[a+8>>2]=h;j[a+12>>2]=i;oe=l+112|0}function OF(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;k=oe-336|0;oe=k;a:{b:{if(d){r=j[c+1296>>2];o=j[j[j[b+64>>2]+4>>2]+28>>2];z=j[o+2848>>2];l=j[c+1284>>2];if((l|0)>=1){while(1){h=(g<<2)+d|0;i=j[h>>2];f=i&32767;c:{d:{switch(j[r+832>>2]-1|0){case 0:f=f>>>2|0;break c;case 1:f=f>>>3|0;break c;case 2:f=(f>>>0)/12|0;break c;case 3:break d;default:break c}}f=f>>>4|0}j[h>>2]=i&32768|f;g=g+1|0;if((l|0)!=(g|0)){continue}break}}f=j[d>>2];j[k+64>>2]=f;g=j[d+4>>2];j[k+68>>2]=g;if((l|0)>=3){t=r+836|0;i=2;while(1){g=i<<2;f=g+c|0;m=j[f+772>>2]<<2;n=m+d|0;w=j[f+1024>>2]<<2;y=w+d|0;u=j[y>>2]&32767;f=(j[n>>2]&32767)-u|0;h=f>>31;v=d+g|0;q=j[v>>2];x=h^f+h;h=j[t+w>>2];h=(p(x,j[g+t>>2]-h|0)|0)/(j[t+m>>2]-h|0)|0;f=u+((f|0)<0?0-h|0:h)|0;e:{if(!((q|0)!=(f|0)?!(q&32768):0)){j[v>>2]=f|32768;j[g+(k- -64|0)>>2]=0;break e}h=j[c+1292>>2]-f|0;h=(f|0)>(h|0)?h:f;m=g+(k- -64|0)|0;f=q-f|0;f:{if((f|0)<=-1){g=h+(f^-1)|0;if((f|0)<(0-h|0)){break f}g=f<<1^-1;break f}g=f+h|0;if((f|0)>=(h|0)){break f}g=f<<1}j[m>>2]=g;j[y>>2]=u;j[n>>2]=j[n>>2]&32767}i=i+1|0;if((l|0)!=(i|0)){continue}break}g=j[k+68>>2];f=j[k+64>>2]}u=1;df(a,1,1);j[c+1308>>2]=j[c+1308>>2]+1;h=j[c+1292>>2]-1|0;j[c+1304>>2]=j[c+1304>>2]+((h?32-s(h)|0:0)<<1);h=f;f=j[c+1292>>2]-1|0;df(a,h,f?32-s(f)|0:0);f=j[c+1292>>2]-1|0;df(a,g,f?32-s(f)|0:0);if(j[r>>2]>=1){q=0;l=2;while(1){m=j[((q<<2)+r|0)+4>>2];w=(m<<2)+r|0;h=j[w+128>>2];t=j[w+192>>2];j[k+56>>2]=0;j[k+60>>2]=0;j[k+48>>2]=0;j[k+52>>2]=0;j[k+40>>2]=0;j[k+44>>2]=0;j[k+32>>2]=0;j[k+36>>2]=0;if(t){g=1<>2]=0;j[k+28>>2]=0;j[k+16>>2]=0;j[k+20>>2]=0;j[k+8>>2]=0;j[k+12>>2]=0;j[k>>2]=0;j[k+4>>2]=0;y=(t|0)==31;if(!y){n=(g|0)>1?g:1;f=0;while(1){v=f<<2;x=j[(v+((m<<5)+r|0)|0)+320>>2];i=1;g:{if((x|0)<0){break g}i=j[j[(o+(x<<2)|0)+1824>>2]+4>>2]}j[k+v>>2]=i;f=f+1|0;if((n|0)!=(f|0)){continue}break}}h:{if((h|0)<1){n=0;break h}v=(g|0)>1?g:1;i=0;f=0;n=0;while(1){g=f;i:{if(y){break i}x=j[(k- -64|0)+(i+l<<2)>>2];f=0;while(1){if(j[(f<<2)+k>>2]>(x|0)){j[(k+32|0)+(i<<2)>>2]=f;break i}f=f+1|0;if((v|0)!=(f|0)){continue}break}}f=g+t|0;n=j[(k+32|0)+(i<<2)>>2]<>2],56)|0,n,a)+j[c+1300>>2]|0,j[A+1300>>2]=B}f=0;if((h|0)>=1){while(1){g=j[(((m<<5)+r|0)+(j[(k+32|0)+(f<<2)>>2]<<2)|0)+320>>2];j:{if((g|0)<0){break j}i=j[(k- -64|0)+(f+l<<2)>>2];g=z+p(g,56)|0;if((i|0)>=j[g+4>>2]){break j}A=c,B=gk(g,i,a)+j[c+1304>>2]|0,j[A+1304>>2]=B}f=f+1|0;if((h|0)!=(f|0)){continue}break}}l=h+l|0;q=q+1|0;if((q|0)>2]){continue}break}}g=p(j[r+832>>2],j[d>>2]);t=j[o+(j[b+28>>2]<<2)>>2]/2|0;f=0;if(j[c+1284>>2]<=1){a=0;break b}a=0;while(1){l=j[((u<<2)+c|0)+260>>2]<<2;h=j[l+d>>2];if(h>>>0<=32767){h=p(h,j[r+832>>2]);i=h-g|0;a=j[(l+r|0)+836>>2];l=a-f|0;n=(i|0)/(l|0)|0;q=(a|0)<(t|0)?a:t;if((q|0)>(f|0)){j[(f<<2)+e>>2]=g}f=f+1|0;if((q|0)>(f|0)){o=i>>31;m=o+i^o;o=p(l,n);o=m+((o|0)<0?o:0-o|0)|0;z=(i|0)>-1?1:-1;i=0;while(1){i=i+o|0;m=(i|0)<(l|0);g=(g+n|0)+(m?0:z)|0;j[(f<<2)+e>>2]=g;i=i-(m?0:l)|0;f=f+1|0;if((q|0)!=(f|0)){continue}break}}g=h;f=a}u=u+1|0;if((u|0)>2]){continue}break}break b}df(a,0,1);Ee(e,0,j[b+36>>2]/2<<2);break a}f=1;if((j[b+36>>2]/2|0)<=(a|0)){break a}while(1){j[(a<<2)+e>>2]=g;a=a+1|0;if((a|0)<(j[b+36>>2]/2|0)){continue}break}}oe=k+336|0;return f}function Mr(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=oe-32|0;oe=f;d=6;a:{if(!a|!b){break a}c=j[b>>2]-j[a+8>>2]|0;j[f+8>>2]=c;g=j[b+4>>2]-j[a+12>>2]|0;j[f+12>>2]=g;b:{c:{if(c|g){q=pk(f+8|0);o=Gf(j[f+8>>2],j[f+12>>2]);c=o+5898240|0;of(f+8|0,j[a+60>>2],c);d:{if(k[a+20|0]){of(f+16|0,j[a+60>>2],c);i=j[a+12>>2];n=j[f+20>>2];e=j[a+8>>2];d=j[f+16>>2];c=j[a+84>>2];e:{if((c|0)<0){break e}g=j[a+64>>2];if(g>>>0<=c+1>>>0){j[a+64>>2]=c;break e}l=g-1|0;j[a+64>>2]=l;m=j[a+72>>2];p=m+(c<<3)|0;l=m+(l<<3)|0;m=j[l+4>>2];j[p>>2]=j[l>>2];j[p+4>>2]=m;c=c+j[a+76>>2]|0;h[c|0]=k[c|0]|4;c=(g+j[a+76>>2]|0)-2|0;h[c|0]=k[c|0]|8}i=i+n|0;n=e+d|0;c=j[a+64>>2];j[a+84>>2]=c;h[a+80|0]=0;f:{g:{if(!c){break g}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break g}if((j[g+4>>2]-i|0)+1>>>0<3){break f}}g=j[a+68>>2];j[f+28>>2]=0;d=c+1|0;h:{if(d>>>0<=g>>>0){e=j[a+76>>2];break h}e=j[a+88>>2];c=g;while(1){c=((c>>>1|0)+c|0)+16|0;if(d>>>0>c>>>0){continue}break}r=a,s=xe(e,8,g,c,j[a+72>>2],f+28|0),j[r+72>>2]=s;d=j[f+28>>2];if(d){break c}e=xe(e,1,g,c,j[a+76>>2],f+28|0);j[a+76>>2]=e;d=j[f+28>>2];if(d){break c}j[a+68>>2]=c;c=j[a+64>>2]}d=j[a+72>>2]+(c<<3)|0;j[d>>2]=n;j[d+4>>2]=i;h[c+e|0]=1;h[a+80|0]=0;j[a+64>>2]=j[a+64>>2]+1}i=j[a+12>>2];n=j[f+20>>2];e=j[a+8>>2];d=j[f+16>>2];c=j[a+116>>2];i:{if((c|0)<0){break i}g=j[a+96>>2];if(g>>>0<=c+1>>>0){j[a+96>>2]=c;break i}l=g-1|0;j[a+96>>2]=l;m=j[a+104>>2];p=m+(c<<3)|0;l=m+(l<<3)|0;m=j[l+4>>2];j[p>>2]=j[l>>2];j[p+4>>2]=m;c=c+j[a+108>>2]|0;h[c|0]=k[c|0]|4;c=(g+j[a+108>>2]|0)-2|0;h[c|0]=k[c|0]|8}i=i-n|0;n=e-d|0;c=j[a+96>>2];j[a+116>>2]=c;h[a+112|0]=0;j:{k:{if(!c){break k}g=j[a+104>>2]+(c-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break k}d=0;if((j[g+4>>2]-i|0)+1>>>0<3){break j}}g=j[a+100>>2];j[f+28>>2]=0;d=c+1|0;l:{m:{if(d>>>0<=g>>>0){e=j[a+108>>2];break m}e=j[a+120>>2];c=g;while(1){c=((c>>>1|0)+c|0)+16|0;if(d>>>0>c>>>0){continue}break}r=a,s=xe(e,8,g,c,j[a+104>>2],f+28|0),j[r+104>>2]=s;d=j[f+28>>2];if(d){break l}e=xe(e,1,g,c,j[a+108>>2],f+28|0);j[a+108>>2]=e;d=j[f+28>>2];if(d){break l}j[a+100>>2]=c;c=j[a+96>>2]}d=j[a+104>>2]+(c<<3)|0;j[d>>2]=n;j[d+4>>2]=i;h[c+e|0]=1;j[a+96>>2]=j[a+96>>2]+1;d=0}h[a+112|0]=0}j[a+36>>2]=q;h[a+20|0]=0;j[a+24>>2]=o;if(!d){break d}break a}j[a+4>>2]=o;c=Df(j[a>>2],o);if(!c){break d}d=Di(a,c>>>31|0,q);if(d){break a}d=Ci(a,(c^-1)>>>31|0,q);if(d){break a}}e=a- -64|0;c=j[f+12>>2];d=j[f+8>>2];i=1;while(1){n=i;g=j[b+4>>2]+c|0;m=j[b>>2]+d|0;n:{o:{if(k[e+16|0]){c=(j[e+8>>2]+(j[e>>2]<<3)|0)-8|0;j[c>>2]=m;j[c+4>>2]=g;break o}l=j[e>>2];p:{if(!l){break p}i=j[e+8>>2]+(l-1<<3)|0;if((j[i>>2]-m|0)+1>>>0>2){break p}if((j[i+4>>2]-g|0)+1>>>0<3){break n}}i=j[e+4>>2];j[f+16>>2]=0;d=l+1|0;q:{if(d>>>0<=i>>>0){i=j[e+12>>2];break q}l=j[e+24>>2];c=i;while(1){c=((c>>>1|0)+c|0)+16|0;if(d>>>0>c>>>0){continue}break}r=e,s=xe(l,8,i,c,j[e+8>>2],f+16|0),j[r+8>>2]=s;d=j[f+16>>2];if(d){break b}i=xe(l,1,i,c,j[e+12>>2],f+16|0);j[e+12>>2]=i;d=j[f+16>>2];if(d){break b}j[e+4>>2]=c;l=j[e>>2]}c=j[e+8>>2]+(l<<3)|0;j[c>>2]=m;j[c+4>>2]=g;h[i+l|0]=1;j[e>>2]=j[e>>2]+1}h[e+16|0]=1;c=j[f+12>>2];d=j[f+8>>2]}c=0-c|0;j[f+12>>2]=c;d=0-d|0;j[f+8>>2]=d;e=e+32|0;i=n-1|0;if(n){continue}break}j[a>>2]=o;c=j[b+4>>2];b=j[b>>2];j[a+16>>2]=q;j[a+8>>2]=b;j[a+12>>2]=c}d=0;break a}h[a+80|0]=0;break a}h[e+16|0]=1}oe=f+32|0;return d}function Qy(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0,w=0;if(!(j[a+496>>2]?0:!j[a+492>>2])){Ze(a,4217);Fn(a)}a:{if((b|0)<=8){b=j[a+488>>2];b:{if((b|0)<1){b=1e5;break b}d=j[a+824>>2];c:{if(!d){break c}c=v(1e15/+(d|0)/+(b|0)+.5);d=c<=2147483647^1;if(r(c)<2147483648){b=~~c}else{b=-2147483648}if(d){break c}if(c>=-2147483648){break b}}b=0}e=ih(a,256);j[a+492>>2]=e;d:{if(b-95e3>>>0<10001){b=0;while(1){h[b+e|0]=b;b=b+1|0;if((b|0)!=256){continue}break}break d}l=+(b|0)*1e-5;b=0;while(1){g=b+e|0;e:{if(b-1>>>0<=253){c=v(Ag(+(b|0)/255,l)*255+.5);if(c<4294967296&c>=0){d=~~c>>>0;break e}d=0;break e}d=b}h[g|0]=d;b=b+1|0;if((b|0)!=256){continue}break}}if(!(j[a+216>>2]&6291584)){break a}b=j[a+824>>2];e=ih(a,256);j[a+504>>2]=e;c=v(1e10/+(b|0)+.5);f=c>=-2147483648;b=0;if(r(c)<2147483648){d=~~c}else{d=-2147483648}d=c<=2147483647?f?d:0:0;f:{if(d-95e3>>>0<10001){while(1){h[b+e|0]=b;b=b+1|0;if((b|0)!=256){continue}break f}}l=+(d|0)*1e-5;while(1){g=b+e|0;g:{if(b-1>>>0<=253){c=v(Ag(+(b|0)/255,l)*255+.5);if(c<4294967296&c>=0){d=~~c>>>0;break g}d=0;break g}d=b}h[g|0]=d;b=b+1|0;if((b|0)!=256){continue}break}}b=j[a+488>>2];h:{if((b|0)>=1){c=v(1e10/+(b|0)+.5);d=c>=-2147483648;if(r(c)<2147483648){b=~~c}else{b=-2147483648}b=c<=2147483647?d?b:0:0;break h}b=j[a+824>>2]}d=ih(a,256);j[a+500>>2]=d;if(b-95e3>>>0<10001){b=0;while(1){h[b+d|0]=b;b=b+1|0;if((b|0)!=256){continue}break}break a}l=+(b|0)*1e-5;b=0;while(1){g=b+d|0;i:{if(b-1>>>0<=253){c=v(Ag(+(b|0)/255,l)*255+.5);if(c<4294967296&c>=0){a=~~c>>>0;break i}a=0;break i}a=b}h[g|0]=a;b=b+1|0;if((b|0)!=256){continue}break}break a}b=a;g=b;j:{if(k[b+435|0]&2){d=k[a+518|0];e=k[a+517|0];f=k[a+516|0];e=e>>>0>f>>>0?e:f;d=d>>>0>e>>>0?d:e;break j}d=k[a+519|0]}b=(d-1&255)>>>0<15?16-d|0:0;e=j[a+216>>2]&67109888;b=e?(b&255)>>>0<5?5:b:b;d=((b&255)>>>0<8?b:8)&255;j[g+484>>2]=d;b=j[a+488>>2];k:{l:{if(e){if((b|0)<1){c=1}else{c=v(+j[a+824>>2]*1e-5*+(b|0)+.5);e=c>=-2147483648;if(r(c)<2147483648){b=~~c}else{b=-2147483648}c=c<=2147483647?e?+(b|0)*1e-5:0:0}n=8-d|0;e=1<>2]=f;m=e>>>0>1?e:1;g=16-d|0;b=0;while(1){u=(b<<2)+f|0,w=ih(a,512),j[u>>2]=w;b=b+1|0;if((m|0)!=(b|0)){continue}break}o=255>>>d|0;s=-1<=0){g=~~l>>>0;break m}g=0}g=(p(g,s)+32768>>>0)/65535|0;if(g>>>0>=b>>>0){while(1){i[j[((b&o)<<2)+f>>2]+(b>>>n<<1)>>1]=q;t=(b|0)!=(g|0);b=b+1|0;if(t){continue}break}b=g+1|0}m=m+1|0;if((m|0)!=255){continue}break}break l}e=a+496|0;n:{if((b|0)<1){b=1e5;break n}f=j[a+824>>2];o:{if(!f){break o}c=v(1e15/+(f|0)/+(b|0)+.5);f=c<=2147483647^1;if(r(c)<2147483648){b=~~c}else{b=-2147483648}if(f){break o}if(c>=-2147483648){break n}}b=0}Rk(a,e,d,b);break k}e=e<<8;if(e>>>0<=b>>>0){break k}while(1){i[j[((b&o)<<2)+f>>2]+(b>>>n<<1)>>1]=65535;b=b+1|0;if((e|0)!=(b|0)){continue}break}}if(!(j[a+216>>2]&6291584)){break a}c=v(1e10/+j[a+824>>2]+.5);m=c>=-2147483648;b=a;g=b;n=b+512|0;e=d;if(r(c)<2147483648){f=~~c}else{f=-2147483648}Rk(g,n,e,c<=2147483647?m?f:0:0);g=a;e=b+508|0;f=j[b+488>>2];p:{if((f|0)>=1){c=v(1e10/+(f|0)+.5);f=c>=-2147483648;if(r(c)<2147483648){a=~~c}else{a=-2147483648}a=c<=2147483647?f?a:0:0;break p}a=j[a+824>>2]}Rk(g,e,d,a)}}function Sp(a,b,c,d,e){var f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;k=oe-1088|0;oe=k;C=j[j[b+16>>2]>>2];v=j[b>>2];P=j[v+12>>2];D=j[v+8>>2];f=j[v>>2];m=j[v+4>>2];Ee(k+512|0,0,512);l=Ee(k,0,512);y=(m-f|0)/(D|0)|0;g=j[b+8>>2];if((g|0)>=1){Q=(y|0)<1;E=l+1072|0;while(1){if(!Q){r=0;L=(d|0)<1;R=L|(w|0)!=0;S=1<>2];g=j[f+(r<<2)>>2];i=1;if((C|0)>=2){while(1){g=p(g,P);m=i+r|0;if((m|0)<(y|0)){g=j[f+(m<<2)>>2]+g|0}i=i+1|0;if((C|0)!=(i|0)){continue}break}}f=j[b+16>>2];if(j[f+4>>2]>(g|0)){V=b,W=gk(f,g,a)+j[b+36>>2]|0,j[V+36>>2]=W}k=k+1|0;if((k|0)!=(d|0)){continue}break}}a:{if((C|0)<1){break a}I=0;if((r|0)>=(y|0)){break a}while(1){if(!L){T=j[v>>2]+p(r,D)|0;F=0;while(1){f=F<<2;M=f+e|0;i=j[M>>2];N=r<<2;k=j[i+N>>2];if(!w){m=(k<<2)+l|0;j[m>>2]=j[m>>2]+D}k=k<<2;b:{if(!(j[(k+v|0)+24>>2]&S)){break b}s=j[j[k+j[b+20>>2]>>2]+(w<<2)>>2];if(!s){break b}J=j[s>>2];O=(D|0)/(J|0)|0;c:{if((O|0)<1){z=0;break c}U=j[c+f>>2]+(T<<2)|0;G=0;k=J;z=0;while(1){u=j[s+48>>2];x=j[s+52>>2];g=j[s+44>>2];K=l+1080|0;f=K;j[f>>2]=0;j[f+4>>2]=0;j[E>>2]=0;j[E+4>>2]=0;j[l+1064>>2]=0;j[l+1068>>2]=0;j[l+1056>>2]=0;j[l+1060>>2]=0;n=g>>1;t=(p(G,J)<<2)+U|0;d:{e:{f:{if((x|0)!=1){if((k|0)>=1){break f}o=0;break d}if((k|0)>=1){break e}o=0;break d}A=g-1|0;H=(x>>1)-u|0;f=0;m=k;o=0;while(1){m=m-1|0;B=m<<2;q=(H+j[B+t>>2]|0)/(x|0)|0;g:{if((q|0)<(n|0)){i=(n-q<<1)-1|0;break g}i=q-n<<1}j[B+(l+1056|0)>>2]=u+p(q,x);o=p(g,o)+((i|0)<0?0:(g|0)>(i|0)?i:A)|0;f=f+1|0;if((f|0)!=(k|0)){continue}break}break d}Ae(l+1056|0,t,k<<2);q=g-1|0;i=0;f=k;o=0;while(1){o=p(g,o);f=f-1|0;m=j[(f<<2)+t>>2]-u|0;h:{if((m|0)<(n|0)){m=(n-m<<1)-1|0;break h}m=m-n<<1}o=o+((m|0)<0?0:(g|0)>(m|0)?m:q)|0;i=i+1|0;if((i|0)!=(k|0)){continue}break}}H=j[j[s+12>>2]+8>>2];i:{if(h[H+o|0]>0){break i}q=l+1048|0;f=q;j[f>>2]=0;j[f+4>>2]=0;A=l+1040|0;f=A;j[f>>2]=0;j[f+4>>2]=0;j[l+1032>>2]=0;j[l+1036>>2]=0;j[l+1024>>2]=0;j[l+1028>>2]=0;B=j[s+4>>2];if((B|0)<1){break i}u=u+p(g-1|0,x)|0;f=-1;m=0;while(1){j:{if(h[m+H|0]<1){break j}i=0;g=0;if((k|0)>=1){while(1){n=i;i=g<<2;i=j[i+(l+1024|0)>>2]-j[i+t>>2]|0;i=n+p(i,i)|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}if((f|0)<=(i|0)?(f|0)!=-1:0){break j}f=j[q+4>>2];j[K>>2]=j[q>>2];j[K+4>>2]=f;f=j[A+4>>2];j[E>>2]=j[A>>2];j[E+4>>2]=f;f=j[l+1036>>2];j[l+1064>>2]=j[l+1032>>2];j[l+1068>>2]=f;f=j[l+1028>>2];j[l+1056>>2]=j[l+1024>>2];j[l+1060>>2]=f;o=m;f=i}i=0;g=l+1024|0;n=j[l+1024>>2];if((u|0)<=(n|0)){while(1){j[g>>2]=0;i=i+1|0;g=(l+1024|0)+(i<<2)|0;n=j[g>>2];if((u|0)<=(n|0)){continue}break}}if((n|0)>=0){n=n+x|0;j[g>>2]=n}j[g>>2]=0-n;m=m+1|0;if((B|0)!=(m|0)){continue}break}}k:{if((k|0)<1){break k}g=0;if((o|0)<0){break k}while(1){j[t>>2]=j[t>>2]-j[(l+1056|0)+(g<<2)>>2];t=t+4|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}z=gk(s,o,a)+z|0;G=G+1|0;if((O|0)!=(G|0)){k=j[s>>2];continue}break}i=j[M>>2]}j[b+32>>2]=j[b+32>>2]+z;k=(l+512|0)+(j[i+N>>2]<<2)|0;j[k>>2]=j[k>>2]+z}F=F+1|0;if((F|0)!=(d|0)){continue}break}}r=r+1|0;I=I+1|0;if((I|0)>=(C|0)){break a}if((r|0)<(y|0)){continue}break}}if((r|0)<(y|0)){continue}break}g=j[b+8>>2]}w=w+1|0;if((w|0)<(g|0)){continue}break}}oe=l+1088|0}function oN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;n=oe-160|0;oe=n;a:{b:{if(Qe(a,78048,13)){break b}c:{switch(k[a+13|0]){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=j[e+32>>2];d:{e:{if(!c|!j[c+72>>2]){break e}a=j[c+128>>2];m=j[a+12>>2];a=j[a+4>>2];g=m+(1895527114%(a>>>0)<<2)|0;f=j[g>>2];if(!f){break e}b=(m+(a<<2)|0)-4|0;while(1){f:{a=j[f>>2];if(k[a|0]==70){if(!we(a,76759)){break f}}a=g-4|0;g=a>>>0>>0?b:a;f=j[g>>2];if(f){continue}break e}break}if(j[c+80>>2]){break d}}a=i[c+12>>1];j[c+40>>2]=a;j[n+16>>2]=a;$j(n+32|0,n+16|0);f=Sh(j[e+32>>2],76759,n+32|0);if(f){break a}c=j[e+32>>2];i[c+278660>>1]=1}g:{h:{if(!j[c+72>>2]){break h}a=j[c+128>>2];m=j[a+12>>2];a=j[a+4>>2];g=m+(908209322%(a>>>0)<<2)|0;f=j[g>>2];if(!f){break h}b=(m+(a<<2)|0)-4|0;while(1){i:{a=j[f>>2];if(k[a|0]==70){if(!we(a,76771)){break i}}a=g-4|0;g=a>>>0>>0?b:a;f=j[g>>2];if(f){continue}break h}break}if(j[c+80>>2]){break g}}a=i[c+14>>1];j[c+44>>2]=a;j[n>>2]=a;$j(n+32|0,n);f=Sh(j[e+32>>2],76771,n+32|0);if(f){break a}i[j[e+32>>2]+278660>>1]=1}j[e>>2]=j[e>>2]&-17;j[d>>2]=582;f=0;break a}j:{if(Qe(a,78062,21)){break j}switch(k[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break j}}k:{if(Qe(a,75356,7)){break k}f=a+7|0;l:{switch(k[a+7|0]){case 9:case 10:case 13:case 32:h[a+7|0]=0;f=a+8|0;break;case 0:break l;default:break k}}f=Sh(j[e+32>>2],a,f);break a}o=j[e+32>>2];f=a;m:{while(1){n:{c=-1;o:{p:{d=k[f|0];switch(d|0){case 0:break m;case 9:break n;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break o;default:break p}}if((d|0)==32){break n}}f=f+1|0;continue}break}h[f|0]=0;c=d}q:{if(!a){break q}q=k[a|0];if(!q){break q}r=j[o+278688>>2];g=q;d=a;while(1){l=p(l,31)+(g<<24>>24)|0;g=k[d+1|0];d=d+1|0;if(g){continue}break}d=l;l=j[o+278680>>2];d=((d>>>0)%(l>>>0)<<2)+r|0;g=j[d>>2];if(!g){break q}t=((l<<2)+r|0)-4|0;while(1){r:{l=j[g>>2];if(k[l|0]==(q|0)){if(!we(l,a)){break r}}d=d-4|0;d=d>>>0>>0?t:d;g=j[d>>2];if(g){continue}break q}break}d=j[g+4>>2];if(d>>>0>=83){s=(j[o+278668>>2]+(d<<4)|0)-1328|0;break q}s=(d<<4)+75376|0}if((c|0)!=-1){h[f|0]=c;m=c}if(!(j[s+4>>2]!=1?s:0)){if(m&255){h[f|0]=0;f=f+1|0}d=a+b|0;while(1){b=k[f|0];if(!((b|0)!=9?(b|0)!=32:0)){f=f+1|0;continue}break}b=(b|0)==34?f+1|0:f;s:{if(b>>>0>=d>>>0){break s}while(1){t:{u:{d=d-1|0;switch(k[d|0]-9|0){case 25:break t;case 0:case 23:break u;default:break s}}h[d|0]=0;if(b>>>0>>0){continue}break s}break}h[d|0]=0}f=Sh(j[e+32>>2],a,b);break a}m=e+139304|0;f=og(m,76720,a,b);if(f){break a}d=j[e+139304>>2];c=j[d>>2];a=0;v:{w:{x:{b=j[e+139312>>2];switch(b|0){case 0:break v;case 1:break w;default:break x}}j[d>>2]=j[d+4>>2];f=1;l=b-1|0;if((l|0)!=1){g=1;while(1){b=j[m>>2];g=g+1|0;j[b+(f<<2)>>2]=j[b+(g<<2)>>2];f=f+1|0;if((l|0)!=(f|0)){continue}break}}j[e+139312>>2]=l;if(!l){break v}g=0;b=j[j[m>>2]>>2];f=b;while(1){d=k[f|0];if(d){while(1){h[b+g|0]=d;g=g+1|0;d=k[f+1|0];f=f+1|0;if(d){continue}break}l=j[e+139312>>2]}a=a+1|0;if(l>>>0>a>>>0){h[b+g|0]=32;l=j[e+139312>>2];g=g+1|0}if(a>>>0>>0){f=j[j[m>>2]+(a<<2)>>2];continue}break}a=77841;if((b|0)==77841){break v}h[b+g|0]=0;a=b;break v}j[e+139312>>2]=0}f=Sh(j[e+32>>2],c,a)}oe=n+160|0;return f|0}function Pp(a,b,c){var d=0,e=0,f=0,g=0,i=0;e=oe-32|0;oe=e;a:{b:{if(!c){break b}d=j[c+4>>2];f=j[c>>2];j[e+20>>2]=f;j[e+8>>2]=0;j[e+12>>2]=0;j[e+24>>2]=d;j[e+16>>2]=f;f=Ce(e+8|0,8);g=e,i=Ce(e+8|0,8),h[g+2|0]=i;g=e,i=Ce(e+8|0,8),h[g+3|0]=i;g=e,i=Ce(e+8|0,8),h[g+4|0]=i;g=e,i=Ce(e+8|0,8),h[g+5|0]=i;g=e,i=Ce(e+8|0,8),h[g+6|0]=i;g=e,i=Ce(e+8|0,8),h[g+7|0]=i;d=-132;if(Bg(e+2|0,198172,6)){break a}d=-133;c:{d:{switch(f-1|0){case 0:if(j[a+8>>2]|!j[c+8>>2]){break a}b=j[a+28>>2];if(!b){d=-129;break a}c=Ce(e+8|0,32);j[a>>2]=c;d=-134;if(c){break a}g=a,i=Ce(e+8|0,8),j[g+4>>2]=i;g=a,i=Ce(e+8|0,32),j[g+8>>2]=i;g=a,i=Ce(e+8|0,32),j[g+12>>2]=i;g=a,i=Ce(e+8|0,32),j[g+16>>2]=i;g=a,i=Ce(e+8|0,32),j[g+20>>2]=i;g=b,i=1<>2]=i;c=1<>2]=c;if(j[a+8>>2]<1|j[a+4>>2]<1|(c|0)>8192){break c}b=j[b>>2];if((b|0)<64|(b|0)>(c|0)){break c}d=0;if((Ce(e+8|0,1)|0)!=1){break c}break a;case 2:if(j[b+12>>2]|!j[a+8>>2]){break a}d=Ce(e+8|0,32);e:{if((d|0)<0|(j[e+24>>2]-8|0)<(d|0)){break e}c=bf(d+1|0,1);j[b+12>>2]=c;if(d){while(1){g=c,i=Ce(e+8|0,8),h[g|0]=i;c=c+1|0;d=d-1|0;if(d){continue}break}}a=Ce(e+8|0,32);if((a|0)<0|(a|0)>j[e+24>>2]-(j[e+8>>2]+((j[e+12>>2]+7|0)/8|0)|0)>>2){break e}j[b+8>>2]=a;c=a+1|0;g=b,i=bf(c,4),j[g>>2]=i;g=b,i=bf(c,4),j[g+4>>2]=i;if((a|0)>=1){a=0;while(1){d=Ce(e+8|0,32);if((d|0)<0|(j[e+24>>2]-(j[e+8>>2]+((j[e+12>>2]+7|0)/8|0)|0)|0)<(d|0)){break e}c=a<<2;j[c+j[b+4>>2]>>2]=d;f=bf(d+1|0,1);j[c+j[b>>2]>>2]=f;if(d){c=j[c+j[b>>2]>>2];while(1){g=c,i=Ce(e+8|0,8),h[g|0]=i;c=c+1|0;d=d-1|0;if(d){continue}break}}a=a+1|0;if((a|0)>2]){continue}break}}d=0;if((Ce(e+8|0,1)|0)==1){break a}}bj(b);break b;case 4:break d;default:break a}}if(!j[a+8>>2]|!j[b+12>>2]){break a}b=j[a+28>>2];if(!b){d=-129;break a}c=0;if(j[b+24>>2]>0){break a}d=Ce(e+8|0,8);j[b+24>>2]=d+1;if((d|0)<0){break c}while(1){d=UF(e+8|0);j[(b+(c<<2)|0)+1824>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}c=0;d=Ce(e+8|0,6);if((d|0)<0){break c}while(1){if(Ce(e+8|0,16)){break c}f=(c|0)==(d|0);c=c+1|0;if(!f){continue}break}d=Ce(e+8|0,6);j[b+16>>2]=d+1;c=0;if((d|0)<0){break c}while(1){f=b+(c<<2)|0;d=Ce(e+8|0,16);j[f+800>>2]=d;if(d>>>0>1){break c}d=qe[j[j[(d<<2)+198148>>2]+4>>2]](a,e+8|0)|0;j[f+1056>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}d=Ce(e+8|0,6);j[b+20>>2]=d+1;c=0;if((d|0)<0){break c}while(1){f=b+(c<<2)|0;d=Ce(e+8|0,16);j[f+1312>>2]=d;if(d>>>0>2){break c}d=qe[j[j[(d<<2)+198156>>2]+4>>2]](a,e+8|0)|0;j[f+1568>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}d=Ce(e+8|0,6);j[b+12>>2]=d+1;c=0;if((d|0)<0){break c}while(1){d=b+(c<<2)|0;f=Ce(e+8|0,16);j[d+288>>2]=f;if(f){break c}f=d;d=qe[j[j[49542]+4>>2]](a,e+8|0)|0;j[f+544>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}c=Ce(e+8|0,6);j[b+8>>2]=c+1;d=0;if((c|0)<0){break c}while(1){c=b+(d<<2)|0;g=c,i=bf(1,16),j[g+32>>2]=i;f=Ce(e+8|0,1);j[j[c+32>>2]>>2]=f;f=Ce(e+8|0,16);j[j[c+32>>2]+4>>2]=f;f=Ce(e+8|0,16);j[j[c+32>>2]+8>>2]=f;f=Ce(e+8|0,8);c=j[c+32>>2];j[c+12>>2]=f;if(j[c+4>>2]>0|j[c+8>>2]>0|((f|0)<0|(f|0)>=j[b+12>>2])){break c}d=d+1|0;if((d|0)>2]){continue}break}d=0;if((Ce(e+8|0,1)|0)==1){break a}}aj(a)}d=-133}oe=e+32|0;return d}function bp(a,b,c,d,e){var f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0;q=oe-16|0;oe=q;a:{b:{c:{d:{e:{f:{if(b>>>0<=36){while(1){f=j[a+4>>2];g:{if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break g}f=ff(a)}if((f|0)==32|f-9>>>0<5){continue}break}h:{i:{switch(f-43|0){case 0:case 2:break i;default:break h}}r=(f|0)==45?-1:0;f=j[a+4>>2];if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break h}f=ff(a)}j:{if(!(b&-17|(f|0)!=48)){f=j[a+4>>2];k:{if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break k}f=ff(a)}if((f&-33)==88){b=16;f=j[a+4>>2];l:{if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break l}f=ff(a)}if(k[f+227617|0]<16){break e}if(!j[a+104>>2]){d=0;e=0;if(c){break a}break b}b=j[a+4>>2];j[a+4>>2]=b-1;if(!c){break b}j[a+4>>2]=b-2;d=0;e=0;break a}if(b){break j}b=8;break e}b=b?b:10;if(b>>>0>k[f+227617|0]){break j}if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}d=0;e=0;kg(a,0,0);j[67100]=28;break a}if((b|0)!=10){break e}c=f-48|0;if(c>>>0<=9){b=0;while(1){b=p(b,10)+c|0;c=j[a+4>>2];m:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break m}f=ff(a)}c=f-48|0;if(b>>>0<429496729?c>>>0<=9:0){continue}break}g=b}if(c>>>0>9){break f}i=gP(g,0,10,0);b=pe;while(1){f=c+i|0;l=f>>>0>>0?b+1|0:b;g=f;i=(l|0)==429496729&f>>>0>=2576980378|l>>>0>429496729;b=j[a+4>>2];n:{if(b>>>0>2]){j[a+4>>2]=b+1;f=k[b|0];break n}f=ff(a)}c=f-48|0;if(i|c>>>0>9){break f}i=gP(g,l,10,0);b=pe;if((b|0)==-1&(c^-1)>>>0>=i>>>0|(b|0)!=-1){continue}break}b=10;break d}j[67100]=28;d=0;e=0;break a}b=10;if(c>>>0<=9){break d}break c}if(b-1&b){c=k[f+227617|0];if(c>>>0>>0){while(1){i=p(b,i)+c|0;g=i>>>0<=119304646;c=j[a+4>>2];o:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break o}f=ff(a)}c=k[f+227617|0];if(c>>>0>>0?g:0){continue}break}g=i}if(b>>>0<=c>>>0){break d}i=b;while(1){n=gP(g,l,i,0);o=pe;c=c&255;if((o|0)==-1&(c^-1)>>>0>>0){break d}l=o;f=c+n|0;l=f>>>0>>0?l+1|0:l;g=f;o=b;c=j[a+4>>2];p:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break p}f=ff(a)}c=k[f+227617|0];if(o>>>0<=c>>>0){break d}zg(q,i,0,g,l);if(!(j[q+8>>2]|j[q+12>>2])){continue}break}break d}o=h[(p(b,23)>>>5&7)+227873|0];c=k[f+227617|0];if(c>>>0>>0){while(1){i=i<>>0<=134217727;c=j[a+4>>2];q:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break q}f=ff(a)}c=k[f+227617|0];if(c>>>0>>0?g:0){continue}break}g=i}i=o;n=i&31;if((i&63)>>>0>=32){o=0;n=-1>>>n|0}else{o=-1>>>n|0;n=(1<>>n}if(!o&g>>>0>n>>>0|b>>>0<=c>>>0){break d}while(1){s=c&255;c=i;f=c&31;if((c&63)>>>0>=32){l=g<>>32-f|l<>2];r:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break r}f=ff(a)}if((l|0)==(o|0)&g>>>0>n>>>0|l>>>0>o>>>0){break d}c=k[f+227617|0];if(c>>>0>>0){continue}break}}if(k[f+227617|0]>=b>>>0){break c}while(1){f=j[a+4>>2];s:{if(f>>>0>2]){j[a+4>>2]=f+1;c=k[f|0];break s}c=ff(a)}if(k[c+227617|0]>>0){continue}break}j[67100]=68;r=d&1?0:r;g=d;l=e}if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}t:{if((e|0)==(l|0)&d>>>0>g>>>0|e>>>0>l>>>0){break t}if(!(r|d&1)){j[67100]=68;a=d;d=a-1|0;e=e-(a>>>0<1)|0;break a}if((e|0)==(l|0)&d>>>0>=g>>>0|e>>>0>l>>>0){break t}j[67100]=68;break a}a=r;b=a^g;d=b-a|0;c=a>>31;e=(c^l)-((a>>>0>b>>>0)+c|0)|0;break a}d=0;e=0;kg(a,0,0)}oe=q+16|0;pe=e;return d}function Qh(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;i=oe-48|0;oe=i;f=j[a+11748>>2]==2;h=f?a+11760|0:a+11776|0;o=j[h+4>>2];s=1;l=j[h>>2];m=j[c>>2];g=j[c+4>>2];a:{if(!((l|0)!=(m|0)|(g|0)!=(o|0))){d=0;break a}k=j[d>>2];f=f?a+11752|0:a+11768|0;p=j[f+4>>2];q=j[f>>2];r=(l-q|0)+16>>5;l=j[d+4>>2];d=(l-g|0)+16>>5;t=(o-p|0)+16>>5;o=(k-m|0)+16>>5;r=ye(r,d)-ye(t,o)|0;if(!r){d=0;break a}n=De(ye((m-q|0)+16>>5,d)-ye((g-p|0)+16>>5,o)|0,r);d=j[f>>2];d=ye(n,j[h>>2]-d|0)+d|0;o=j[f+4>>2];m=ye(n,j[h+4>>2]-o|0);n=j[f>>2];p=j[h>>2];if((n|0)==(p|0)){q=d-n|0;g=q>>31;d=j[a+11700>>2]>(g^g+q)?n:d}n=m+o|0;f=j[f+4>>2];o=j[h+4>>2];if((f|0)==(o|0)){m=n-f|0;g=m>>31;n=j[a+11700>>2]>(g^g+m)?f:n}g=j[c>>2];if((g|0)==(k|0)){m=d-k|0;f=m>>31;d=j[a+11700>>2]>(f^f+m)?k:d}k=j[c+4>>2];if((k|0)==(l|0)){m=n-l|0;f=m>>31;n=j[a+11700>>2]>(f^f+m)?l:n}g=((g+p|0)/-2|0)+d|0;f=g>>31;f=f^f+g;g=j[a+11696>>2];if((f|0)>(g|0)){break a}k=((k+o|0)/-2|0)+n|0;f=k>>31;if((g|0)<(f^f+k)){break a}f=h;j[f>>2]=d;j[f+4>>2]=n;s=0}k=j[a+11732>>2];f=k;h=j[a+11728>>2];j[i+8>>2]=h;j[i+12>>2]=f;b:{c:{switch(j[a+11748>>2]-2|0){case 0:k=h;j[i+40>>2]=2;d:{if(e){l=j[a+11764>>2];g=ye(j[a+11644>>2],j[a+11760>>2])+ye(j[a+11648>>2],l)|0;l=Sg(a+3876|0,l);break d}l=j[a+11764>>2];g=ye(j[a+11644>>2],j[a+11760>>2])+ye(j[a+11648>>2],l)|0;l=Sg(b,l)}o=ye(j[j[a>>2]+60>>2],g);m=ye(j[j[a>>2]+68>>2],l);p=j[a+11656>>2];g=(ye(j[j[a>>2]- -64>>2],g)+ye(j[j[a>>2]+72>>2],l)|0)+j[a+11660>>2]|0;j[i+20>>2]=g;l=p+(m+o|0)|0;j[i+16>>2]=l;if((f|0)==(g|0)?(k|0)==(l|0):0){break b}h=j[a+4>>2];qe[j[h+4>>2]](h,i+8|0);h=j[i+20>>2];j[a+11728>>2]=j[i+16>>2];j[a+11732>>2]=h;break b;case 2:break c;default:break b}}j[i+40>>2]=4;h=j[a+11764>>2];f=ye(j[a+11644>>2],j[a+11760>>2]);k=ye(j[a+11648>>2],h);h=Sg(b,h);f=f+k|0;u=i,v=(ye(j[j[a>>2]+60>>2],f)+ye(j[j[a>>2]+68>>2],h)|0)+j[a+11656>>2]|0,j[u+16>>2]=v;f=ye(j[j[a>>2]- -64>>2],f)+ye(j[j[a>>2]+72>>2],h)|0;h=a+11660|0;j[i+20>>2]=f+j[h>>2];f=j[a+11772>>2];k=ye(j[a+11644>>2],j[a+11768>>2]);g=ye(j[a+11648>>2],f);f=Sg(b,f);k=g+k|0;u=i,v=(ye(j[j[a>>2]+60>>2],k)+ye(j[j[a>>2]+68>>2],f)|0)+j[a+11656>>2]|0,j[u+24>>2]=v;u=i,v=(ye(j[j[a>>2]- -64>>2],k)+ye(j[j[a>>2]+72>>2],f)|0)+j[h>>2]|0,j[u+28>>2]=v;f=j[a+11780>>2];k=ye(j[a+11644>>2],j[a+11776>>2]);g=ye(j[a+11648>>2],f);f=Sg(b,f);k=g+k|0;u=i,v=(ye(j[j[a>>2]+60>>2],k)+ye(j[j[a>>2]+68>>2],f)|0)+j[a+11656>>2]|0,j[u+32>>2]=v;u=i,v=(ye(j[j[a>>2]- -64>>2],k)+ye(j[j[a>>2]+72>>2],f)|0)+j[h>>2]|0,j[u+36>>2]=v;h=j[a+4>>2];qe[j[h+12>>2]](h,i+8|0);h=j[i+36>>2];j[a+11728>>2]=j[i+32>>2];j[a+11732>>2]=h}e:{if(s^1?!e:0){break e}f:{if(e){b=j[c+4>>2];g=ye(j[a+11644>>2],j[c>>2])+ye(j[a+11648>>2],b)|0;b=Sg(a+3876|0,b);break f}e=j[c+4>>2];g=ye(j[a+11644>>2],j[c>>2])+ye(j[a+11648>>2],e)|0;b=Sg(b,e)}u=i,v=(ye(j[j[a>>2]+60>>2],g)+ye(j[j[a>>2]+68>>2],b)|0)+j[a+11656>>2]|0,j[u+16>>2]=v;b=(ye(j[j[a>>2]- -64>>2],g)+ye(j[j[a>>2]+72>>2],b)|0)+j[a+11660>>2]|0;j[i+20>>2]=b;if((b|0)==j[a+11732>>2]?j[i+16>>2]==j[a+11728>>2]:0){break e}j[i+40>>2]=2;b=j[a+11732>>2];j[i+8>>2]=j[a+11728>>2];j[i+12>>2]=b;b=j[a+4>>2];qe[j[b+4>>2]](b,i+8|0);b=j[i+20>>2];j[a+11728>>2]=j[i+16>>2];j[a+11732>>2]=b}if(!s){j[c>>2]=d;j[c+4>>2]=n}oe=i+48|0}function Np(a,b,c,d,e,f,g,h,i,l,m,n,o){var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;p=oe-112|0;oe=p;j[p+104>>2]=h;j[p+108>>2]=i;j[p+88>>2]=-1;j[p+92>>2]=-1;w=j[a+456>>2];a:{b:{c:{z=!m|!n;if(z){break c}q=n;t=m;while(1){if(j[t>>2]!=(l|0)){t=t+4|0;q=q-1|0;if(q){continue}break c}break}if((l|0)!=(w|0)){s=f;r=g;while(1){j[p+100>>2]=w;s=El(a,s,r,m,n,p+100|0,p+104|0);r=pe;if(j[p+100>>2]!=(w|0)){continue}break}}e=o+1|0;j[a+52>>2]=e;d=j[a+56>>2];if(d){ze(d)}d=j[a+64>>2];if(d){ze(d)}d=j[a+60>>2];if(d){ze(d)}d=j[a+52>>2];C=a,D=Te((d<<3)+8|0),j[C+56>>2]=D;C=a,D=Vf(j[a+72>>2],d<<5),j[C+72>>2]=D;C=a,D=Vf(j[a+76>>2],j[a+52>>2]<<4),j[C+76>>2]=D;d=j[a+52>>2];C=a,D=Te(d<<2),j[C+64>>2]=D;C=a,D=Te(d<<3),j[C+60>>2]=D;d=Te(d<<4);j[a+68>>2]=d;a=j[a+56>>2];e=a+(e<<3)|0;j[e>>2]=f;j[e+4>>2]=g;a=a+(o<<3)|0;j[a>>2]=b;j[a+4>>2]=c;b=d+(o<<4|8)|0;a=j[p+104>>2];d=a;c=!!a;a=j[p+108>>2];c=(a|0)>0?1:(a|0)>=0?c:0;j[b>>2]=c?d:0;j[b+4>>2]=c?a:0;break b}j[p+68>>2]=0;j[p+64>>2]=0;b=f;c=g;d:{if((c|0)>(e|0)?1:(e|0)<=(c|0)?d>>>0>>0:0){A=a+24|0;u=f;y=g;while(1){r=e;q=u;s=d;t=y-(e+(q>>>0>>0)|0)|0;if((t|0)>0?1:(t|0)>=0?q-d>>>0>=65536:0){s=e+y|0;r=u;q=r+d|0;s=hP(q,q>>>0>>0?s+1|0:s,2);r=pe}t=0;v=j[a>>2];if(!v){q=-129;break d}if(j[a+8>>2]!=(s|0)|j[a+12>>2]!=(r|0)){q=-128;x=j[a+708>>2];if(!x){break d}if((qe[x|0](v,s,r,0)|0)==-1){break d}j[a+8>>2]=s;j[a+12>>2]=r;if(j[A+4>>2]>=0){q=A;j[q+8>>2]=0;j[q+12>>2]=0;j[q+24>>2]=0;j[q+16>>2]=0;j[q+20>>2]=0}}x=Of(a,p+72|0,-1,-1);q=pe;v=q;if((x|0)==-128&(q|0)==-1){q=-128;break d}e:{f:{if((v|0)<0){break f}q=j[p+72>>2];B=k[q+14|0]|k[q+15|0]<<8|(k[q+16|0]<<16|k[q+17|0]<<24);q=n;t=m;if(z){break f}while(1){if((B|0)!=j[t>>2]){t=t+4|0;q=q-1|0;if(q){continue}break f}break}d=j[a+8>>2];e=j[a+12>>2];s=u;r=y;break e}u=(v|0)>-1;b=u?x:b;c=u?v:c;u=s;y=r}if((e|0)<(r|0)?1:(e|0)<=(r|0)?d>>>0>>0:0){continue}break}}s=b;r=c;while(1){j[p+12>>2]=w;s=El(a,s,r,m,n,p+12|0,p+88|0);r=pe;if(j[p+12>>2]!=(w|0)){continue}break}t=0;d=j[a>>2];if(!d){q=-129;break d}if(j[a+8>>2]!=(b|0)|j[a+12>>2]!=(c|0)){q=-128;e=j[a+708>>2];if(!e){break d}if((qe[e|0](d,b,c,0)|0)==-1){break d}j[a+8>>2]=b;j[a+12>>2]=c;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}q=Fl(a,p+32|0,p+16|0,p+68|0,p- -64|0,0);if(q){break d}n=j[a+8>>2];r=j[a+12>>2];s=j[a+456>>2];d=Op(a,p+32|0);m=pe;e=o+1|0;q=Np(a,b,c,j[a+8>>2],j[a+12>>2],f,g,h,i,l,j[p+68>>2],j[p+64>>2],e);if(q){break d}f=j[p+68>>2];if(f){ze(f)}f=e<<3;g=f+j[a+56>>2]|0;j[g>>2]=b;j[g+4>>2]=c;j[j[a+64>>2]+(e<<2)>>2]=s;b=f+j[a+60>>2]|0;j[b>>2]=n;j[b+4>>2]=r;f=j[p+36>>2];b=j[a+72>>2]+(e<<5)|0;j[b>>2]=j[p+32>>2];j[b+4>>2]=f;c=j[p+60>>2];j[b+24>>2]=j[p+56>>2];j[b+28>>2]=c;c=j[p+52>>2];j[b+16>>2]=j[p+48>>2];j[b+20>>2]=c;c=j[p+44>>2];j[b+8>>2]=j[p+40>>2];j[b+12>>2]=c;b=j[a+76>>2]+(e<<4)|0;e=j[p+20>>2];j[b>>2]=j[p+16>>2];j[b+4>>2]=e;c=j[p+28>>2];j[b+8>>2]=j[p+24>>2];j[b+12>>2]=c;e=j[p+92>>2];a=j[a+68>>2];b=o<<4;c=a+(b|8)|0;j[c>>2]=j[p+88>>2];j[c+4>>2]=e;a=a+b|0;j[a+16>>2]=d;j[a+20>>2]=m;c=j[a+24>>2];b=j[a+28>>2]-((d>>>0>c>>>0)+m|0)|0;c=c-d|0;d=c;c=(b|0)>0?1:(b|0)>=0?!!c:0;j[a+24>>2]=c?d:0;j[a+28>>2]=c?b:0;t=1}if(!t){break a}}q=0}oe=p+112|0;return q}function ze(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;a:{if(!a){break a}d=a-8|0;b=j[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=j[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=j[d+8>>2];b=b>>>3|0;c=j[d+12>>2];if((c|0)==(e|0)){i=268512,k=j[67128]&lP(-2,b),j[i>>2]=k;break b}j[e+12>>2]=c;j[c+8>>2]=e;break b}h=j[d+24>>2];b=j[d+12>>2];c:{if((d|0)!=(b|0)){c=j[d+8>>2];j[c+12>>2]=b;j[b+8>>2]=c;break c}d:{e=d+20|0;c=j[e>>2];if(c){break d}e=d+16|0;c=j[e>>2];if(c){break d}b=0;break c}while(1){g=e;b=c;e=b+20|0;c=j[e>>2];if(c){continue}e=b+16|0;c=j[b+16>>2];if(c){continue}break}j[g>>2]=0}if(!h){break b}e=j[d+28>>2];c=(e<<2)+268816|0;e:{if(j[c>>2]==(d|0)){j[c>>2]=b;if(b){break e}i=268516,k=j[67129]&lP(-2,e),j[i>>2]=k;break b}j[h+(j[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}j[b+24>>2]=h;c=j[d+16>>2];if(c){j[b+16>>2]=c;j[c+24>>2]=b}c=j[d+20>>2];if(!c){break b}j[b+20>>2]=c;j[c+24>>2]=b;break b}b=j[f+4>>2];if((b&3)!=3){break b}j[67130]=a;j[f+4>>2]=b&-2;j[d+4>>2]=a|1;j[a+d>>2]=a;return}if(d>>>0>=f>>>0){break a}b=j[f+4>>2];if(!(b&1)){break a}f:{if(!(b&2)){if(j[67134]==(f|0)){j[67134]=d;a=j[67131]+a|0;j[67131]=a;j[d+4>>2]=a|1;if(j[67133]!=(d|0)){break a}j[67130]=0;j[67133]=0;return}if(j[67133]==(f|0)){j[67133]=d;a=j[67130]+a|0;j[67130]=a;j[d+4>>2]=a|1;j[a+d>>2]=a;return}a=(b&-8)+a|0;g:{if(b>>>0<=255){c=j[f+8>>2];b=b>>>3|0;e=j[f+12>>2];if((c|0)==(e|0)){i=268512,k=j[67128]&lP(-2,b),j[i>>2]=k;break g}j[c+12>>2]=e;j[e+8>>2]=c;break g}h=j[f+24>>2];b=j[f+12>>2];h:{if((f|0)!=(b|0)){c=j[f+8>>2];j[c+12>>2]=b;j[b+8>>2]=c;break h}i:{e=f+20|0;c=j[e>>2];if(c){break i}e=f+16|0;c=j[e>>2];if(c){break i}b=0;break h}while(1){g=e;b=c;e=b+20|0;c=j[e>>2];if(c){continue}e=b+16|0;c=j[b+16>>2];if(c){continue}break}j[g>>2]=0}if(!h){break g}e=j[f+28>>2];c=(e<<2)+268816|0;j:{if(j[c>>2]==(f|0)){j[c>>2]=b;if(b){break j}i=268516,k=j[67129]&lP(-2,e),j[i>>2]=k;break g}j[h+(j[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}j[b+24>>2]=h;c=j[f+16>>2];if(c){j[b+16>>2]=c;j[c+24>>2]=b}c=j[f+20>>2];if(!c){break g}j[b+20>>2]=c;j[c+24>>2]=b}j[d+4>>2]=a|1;j[a+d>>2]=a;if(j[67133]!=(d|0)){break f}j[67130]=a;return}j[f+4>>2]=b&-2;j[d+4>>2]=a|1;j[a+d>>2]=a}if(a>>>0<=255){a=a>>>3|0;b=(a<<3)+268552|0;c=j[67128];a=1<>2]}j[b+8>>2]=d;j[a+12>>2]=d;j[d+12>>2]=b;j[d+8>>2]=a;return}e=31;j[d+16>>2]=0;j[d+20>>2]=0;if(a>>>0<=16777215){b=a>>>8|0;g=b+1048320>>>16&8;b=b<>>16&4;b=b<>>16&2;b=(b<>>15|0)-(c|(e|g))|0;e=(b<<1|a>>>b+21&1)+28|0}j[d+28>>2]=e;g=(e<<2)+268816|0;l:{m:{c=j[67129];b=1<>2]=d;j[d+24>>2]=g;break n}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=j[g>>2];while(1){c=b;if((j[b+4>>2]&-8)==(a|0)){break m}b=e>>>29|0;e=e<<1;g=c+(b&4)|0;b=j[g+16>>2];if(b){continue}break}j[g+16>>2]=d;j[d+24>>2]=c}j[d+12>>2]=d;j[d+8>>2]=d;break l}a=j[c+8>>2];j[a+12>>2]=d;j[c+8>>2]=d;j[d+24>>2]=0;j[d+12>>2]=c;j[d+8>>2]=a}a=j[67136]-1|0;j[67136]=a;if(a){break a}d=268968;while(1){a=j[d>>2];d=a+8|0;if(a){continue}break}j[67136]=-1}}function _E(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0;g=oe;q=g;j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;f=j[b+4>>2];if((f|0)>=1){i=j[b+8>>2];while(1){e=(h[c+i|0]>0)+e|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}j[a+8>>2]=e;j[a+4>>2]=f;j[a>>2]=j[b>>2];if(e){p=cF(j[b+8>>2],f,e);l=e<<2;o=g-(l+15&-16)|0;i=o;oe=i;if(p){g=0;while(1){c=g<<2;f=c+p|0;d=j[f>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d>>>4&252645135|d<<4&-252645136;d=d>>>2&858993459|d<<2&-858993460;j[f>>2]=d>>>1&1431655765|d<<1&-1431655766;j[c+o>>2]=f;g=g+1|0;if((g|0)!=(e|0)){continue}break}fg(o,e,4,1055);n=i-(l+15&-16)|0;oe=n;g=Te(l);j[a+20>>2]=g;d=e>>>0>1?e:1;c=0;while(1){j[n+(j[o+(c<<2)>>2]-p|0)>>2]=c;c=c+1|0;if((d|0)!=(c|0)){continue}break}i=e>>>0>1?e:1;c=0;while(1){d=c<<2;j[g+(j[d+n>>2]<<2)>>2]=j[d+p>>2];c=c+1|0;if((i|0)!=(c|0)){continue}break}ze(p);t=a,u=aF(b,e,n),j[t+16>>2]=u;l=Te(l);j[a+24>>2]=l;f=0;e=0;g=j[b+4>>2];i=(g|0)<1;if(!i){d=j[b+8>>2];c=0;while(1){if(h[c+d|0]>=1){j[l+(j[n+(e<<2)>>2]<<2)>>2]=c;e=e+1|0}c=c+1|0;if((g|0)!=(c|0)){continue}break}}d=Te(e);j[a+40>>2]=0;j[a+28>>2]=d;a:{if(i){break a}e=j[b+8>>2];d=0;c=0;while(1){i=h[c+e|0];b:{if((i|0)<1){break b}h[j[a+28>>2]+j[n+(f<<2)>>2]|0]=i;f=f+1|0;e=j[b+8>>2];d=h[e+c|0];i=j[a+40>>2];if((d|0)<=(i|0)){d=i;break b}j[a+40>>2]=d}c=c+1|0;if((c|0)>2]){continue}break}if((f|0)!=1){break a}f=1;if((d|0)!=1){break a}j[a+36>>2]=1;b=a;a=bf(2,4);j[b+32>>2]=a;j[a>>2]=1;j[a+4>>2]=1;oe=q;return 0}g=0;b=j[a+8>>2];b=b?32-s(b)|0:0;b=b>>>0<9?5:b-4|0;k=(b|0)<8?b:8;j[a+36>>2]=k;n=1<>2]=r;if((f|0)>=1){o=j[a+28>>2];d=0;while(1){l=d+o|0;e=h[l|0];if(!((k|0)<(e|0)|(k-e|0)==31)){b=j[j[a+20>>2]+(d<<2)>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=b>>>4&252645135|b<<4&-252645136;b=b>>>2&858993459|b<<2&-858993460;i=b>>>1&1431655765|b<<1&-1431655766;b=d+1|0;c=0;while(1){j[r+((i|c<>2]=b;c=c+1|0;e=h[l|0];if((c|0)<1<1?n:1;n=32-k|0;o=-2<<31-k;d=0;b=0;while(1){k=b<>>8&65280|k>>>24);c=c>>>4&252645135|c<<4&-252645136;c=c>>>2&858993459|c<<2&-858993460;l=r+((c>>>1&357913941|c<<1&715827882)<<2)|0;if(!j[l>>2]){c=d+1|0;i=((c|0)<(f|0)?f:c)-1|0;c=d;while(1){c:{d=c;c=c+1|0;if((f|0)<=(c|0)){d=i;break c}if(k>>>0>=m[j[a+20>>2]+(c<<2)>>2]){continue}}break}d:{if((f|0)<=(g|0)){break d}c=j[a+20>>2];while(1){if(k>>>0<(o&j[c+(g<<2)>>2])>>>0){break d}g=g+1|0;if((g|0)!=(f|0)){continue}break}g=f}c=f-g|0;j[l>>2]=(d>>>0<32767?d:32767)<<15|(c>>>0<32767?c:32767)|-2147483648}b=b+1|0;if((p|0)!=(b|0)){continue}break}oe=q;return 0}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}b=j[a+24>>2];if(b){ze(b)}b=j[a+28>>2];if(b){ze(b)}b=j[a+32>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;d=-1}oe=q;return d}function Lp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;m=oe-48|0;oe=m;g=gF(a,b,c);a:{if((g|0)<0){break a}d=j[a+88>>2];if((d|0)<=3){g=-129;if((d|0)!=3){break a}d=a+480|0;e=j[a+72>>2];b:{if(j[a+4>>2]){g=-137;if(!ti(d,e+(j[a+96>>2]<<5)|0)){break b}break a}g=-137;if(ti(d,e)){break a}}Jl(a+480|0,a+592|0);j[a+104>>2]=0;j[a+108>>2]=0;j[a+88>>2]=4;j[a+112>>2]=0;j[a+116>>2]=0}i=a+592|0;n=a+480|0;h=a+120|0;d=0;while(1){c:{e=Ap(h,m+16|0);if((e|0)>=1){e=Gl(j[a+72>>2]+(j[a+96>>2]<<5)|0,m+16|0);if((e|0)<=-1){mg(h,0);continue}d:{if(!d){f=j[a+80>>2];d=j[a+84>>2];break d}d=d+e>>2;g=d;f=d+j[a+80>>2]|0;d=j[a+84>>2]+(d>>31)|0;d=f>>>0>>0?d+1|0:d;j[a+80>>2]=f;j[a+84>>2]=d}g=j[j[a+72>>2]+28>>2];l=-1;e:{if(!g){break e}l=j[g+4>>2]}l=l+e>>2;g=l;f=g+f|0;d=(g>>31)+d|0;d=f>>>0>>0?d+1|0:d;if((c|0)<(d|0)?1:(c|0)<=(d|0)?b>>>0<=f>>>0:0){break c}mg(h,0);lF(i,m+16|0);Qp(n,i);d=j[m+32>>2];l=j[m+36>>2];if((l|0)<0){d=e;continue}q=j[a+68>>2];o=j[a+96>>2];g=q+(o<<4)|0;f=j[g>>2];l=l-(j[g+4>>2]+(d>>>0>>0)|0)|0;d=d-f|0;p=d;d=(l|0)>0?1:(l|0)>=0?!!d:0;f=d?p:0;l=d?l:0;d=l;j[a+80>>2]=f;j[a+84>>2]=d;g=0;if((o|0)<1){d=e;continue}while(1){r=q+(g<<4|8)|0;s=j[r>>2];f=s+f|0;d=j[r+4>>2]+d|0;d=f>>>0>>0?d+1|0:d;j[a+80>>2]=f;j[a+84>>2]=d;g=g+1|0;if((o|0)!=(g|0)){continue}break}d=e;continue}f:{switch(e+3|0){case 0:case 3:break f;default:break c}}Of(a,m,-1,-1);if((pe|0)<0){break c}g:{h:{if(k[j[m>>2]+5|0]&2){Cg(n);ah(i);j[a+88>>2]=2;break h}if(j[a+88>>2]>2){break g}}e=j[m>>2];e=k[e+14|0]|k[e+15|0]<<8|(k[e+16|0]<<16|k[e+17|0]<<24);f=j[a+52>>2];i:{if((f|0)<1){g=0;break i}l=j[a+64>>2];g=0;while(1){if((e|0)==j[(g<<2)+l>>2]){break i}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((f|0)==(g|0)){continue}j[a+88>>2]=3;j[a+96>>2]=g;d=j[m>>2];j[a+92>>2]=k[d+14|0]|k[d+15|0]<<8|(k[d+16|0]<<16|k[d+17|0]<<24);sh(h,e);d=0;e=j[a+88>>2];if((e|0)>3){break g}if((e|0)!=3){g=-129;break a}e=j[a+72>>2];j:{if(j[a+4>>2]){if(!ti(n,e+(j[a+96>>2]<<5)|0)){break j}g=-137;break a}if(!ti(n,e)){break j}g=-137;break a}Jl(n,i);j[a+88>>2]=4;j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0}Ng(h,m);continue}break}j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0;g=0;e=j[a+84>>2];d=e;r=j[j[j[a+72>>2]+28>>2]+3656>>2];l=r;i=l;h=i&31;f=j[a+80>>2];p=f;if((i&63)>>>0>=32){i=-1<>>32-h|-1<(h|0)?1:(h|0)<=(e|0)?p>>>0>=s>>>0:0){break a}while(1){e=b;h=e-f|0;i=cj(n,0);p=i;t=i;f=c-((f>>>0>e>>>0)+d|0)|0;d=l;e=d&31;if((d&63)>>>0>=32){d=f>>31;e=f>>e}else{d=f>>e;e=((1<>>e}q=e;e=d;f=p>>31;i=((d|0)<(f|0)?1:(d|0)<=(f|0)?q>>>0>>0:0)?q:i;d=i+j[n+24>>2]|0;if(!((d|0)>j[n+20>>2]?i:0)){j[n+24>>2]=d}d=i<>2]|0;d=j[a+84>>2]+(d>>31)|0;d=f>>>0

>>0?d+1|0:d;j[a+80>>2]=f;j[a+84>>2]=d;h=i>>31;k:{if((e|0)<(h|0)?1:(h|0)>=(e|0)?i>>>0>=q>>>0:0){break k}if((Jp(a)|0)>=1){f=j[a+80>>2];d=j[a+84>>2];break k}f=si(a,-1);e=pe;d=e;j[a+80>>2]=f;j[a+84>>2]=d}if((d|0)<(o|0)?1:(d|0)<=(o|0)?f>>>0>>0:0){continue}break}}oe=m+48|0;return g}function Ln(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var m=0;m=h^255;a:{b:{c:{d:{h=j[a+4>>2];switch(k[h+9|0]-2|0){case 2:break c;case 0:break d;default:break b}}e:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;b=k[h+28|0];c=k[h+32|0];e=j[h+24>>2]|((p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],m)>>>0)/255|0)+e>>>b<>2]+((a&j[h+16>>2])>>>c|0)|0],m)>>>0)/255|0)+f>>>b<>2];a=k[h+34|0];i[d>>1]=c|((p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],m)>>>0)/255|0)+g>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[c>>1];f=k[h+33|0];b=m+k[j[(d<<2)+234976>>2]+((a&j[h+16>>2])>>>f|0)|0]|0;m=c;f=(b>>>0<255?b:255)>>>d<>2]+((a&j[h+12>>2])>>>c|0)|0]+e|0;d=j[h+24>>2]|(f|(d>>>0<255?d:255)>>>b<>2];a=k[h+34|0];c=k[j[(b<<2)+234976>>2]+(c>>>a|0)|0]+g|0;i[m>>1]=d|(c>>>0<255?c:255)>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;b=k[h+29|0];c=k[h+33|0];f=(p(k[j[(b<<2)+234976>>2]+((a&j[h+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]|(f|(p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2];a=k[h+34|0];i[d>>1]=c|(p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],g)>>>0)/255>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=j[h+24>>2]|(f>>>k[h+29|0]<>>k[h+28|0]<>>k[h+30|0]<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];d=b;b=k[h+28|0];c=k[h+32|0];e=j[h+24>>2]|((p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],m)>>>0)/255|0)+e>>>b<>2]+((a&j[h+16>>2])>>>c|0)|0],m)>>>0)/255|0)+f>>>b<>2];a=k[h+34|0];j[d>>2]=c|((p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],m)>>>0)/255|0)+g>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[c>>2];f=k[h+33|0];b=m+k[j[(d<<2)+234976>>2]+((a&j[h+16>>2])>>>f|0)|0]|0;m=c;f=(b>>>0<255?b:255)>>>d<>2]+((a&j[h+12>>2])>>>c|0)|0]+e|0;d=j[h+24>>2]|(f|(d>>>0<255?d:255)>>>b<>2];a=k[h+34|0];c=k[j[(b<<2)+234976>>2]+(c>>>a|0)|0]+g|0;j[m>>2]=d|(c>>>0<255?c:255)>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];d=b;b=k[h+29|0];c=k[h+33|0];f=(p(k[j[(b<<2)+234976>>2]+((a&j[h+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]|(f|(p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2];a=k[h+34|0];j[d>>2]=c|(p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],g)>>>0)/255>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)>>2]=j[h+24>>2]|(f>>>k[h+29|0]<>>k[h+28|0]<>>k[h+30|0]<>2]=0;j[q+24>>2]=0;j[q+20>>2]=0;j[q+16>>2]=0;j[q+12>>2]=0;i=-1;a:{if((Zh(b,c,d,e,q+28|0,q+24|0,q+20|0,q+16|0,q+12|0)|0)<0){break a}b:{c:{d:{e:{f:{k=j[58753];switch(k|0){case 0:break b;case 2:break d;case 1:break e;case 3:break f;default:break c}}if((b|0)>576){break d}}k=1;break b}k=2;break b}k=1;if((ve(58127,0)|0)<0){break a}}i=j[q+12>>2];l=j[q+16>>2];m=j[q+20>>2];n=j[q+24>>2];o=j[q+28>>2];g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if((c|0)<=1431918168){u:{switch(c-842094158|0){case 0:break r;case 11:break t;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break h;default:break u}}if((c|0)==825382478){break r}if((c|0)==844715353){break s}break h}if((c|0)==1431918169|(c|0)==1498831189){break s}if((c|0)!=1448433993){break h}}v:{if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break q}if((f|0)!=370546692){break v}break i}if((f|0)!=371595268){if((f|0)==372645892){break i}if((f|0)!=373694468){break v}}wt(a,b,o,n,m,l,i,g,h,k);i=0;break a}w:{if((f|0)<=376840195){if((f|0)==374740996){break w}if((f|0)!=375789572){break v}break j}if((f|0)==376840196){break w}if((f|0)==377888772){break j}if((f|0)!=386930691){break v}xt(a,b,o,n,m,l,i,g,h,k);i=0;break a}tt(a,b,o,n,m,l,i,g,h,k);i=0;break a}if((c|0)==1431918169){break s}if((c|0)!=844715353){break h}}if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break p}if((f|0)!=370546692){break g}break k}if((f|0)!=371595268){if((f|0)==372645892){break k}if((f|0)!=373694468){break g}}pt(a,b,o,n,m,l,i,g,h,k);i=0;break a}x:{if((f|0)<=376840195){if((f|0)==374740996){break x}if((f|0)!=375789572){break g}break l}if((f|0)==376840196){break x}if((f|0)==377888772){break l}if((f|0)!=386930691){break g}rt(a,b,o,n,m,l,i,g,h,k);i=0;break a}mt(a,b,o,n,m,l,i,g,h,k);i=0;break a}if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break o}if((f|0)!=370546692){break g}break m}if((f|0)!=371595268){if((f|0)==372645892){break m}if((f|0)!=373694468){break g}}jt(a,b,o,n,m,l,i,g,h,k);i=0;break a}y:{if((f|0)<=376840195){if((f|0)==374740996){break y}if((f|0)!=375789572){break g}break n}if((f|0)==376840196){break y}if((f|0)==377888772){break n}if((f|0)!=386930691){break g}kt(a,b,o,n,m,l,i,g,h,k);i=0;break a}gt(a,b,o,n,m,l,i,g,h,k);i=0;break a}yt(a,b,o,n,m,l,i,g,h,k);i=0;break a}st(a,b,o,n,m,l,i,g,h,k);i=0;break a}lt(a,b,o,n,m,l,i,g,h,k);i=0;break a}it(a,b,o,n,m,l,i,g,h,k);i=0;break a}ht(a,b,o,n,m,l,i,g,h,k);i=0;break a}ot(a,b,o,n,m,l,i,g,h,k);i=0;break a}nt(a,b,o,n,m,l,i,g,h,k);i=0;break a}vt(a,b,o,n,m,l,i,g,h,k);i=0;break a}ut(a,b,o,n,m,l,i,g,h,k);i=0;break a}if((f|0)!=372645892){break g}i=ve(57946,0);break a}l=a<<2;i=p(l,b);k=qe[j[57972]](i?i:1)|0;if(k){j[57976]=j[57976]+1}if(!k){i=Be(0);break a}i=Vm(a,b,c,d,e,372645892,k,l);if((i|0)>-1){i=fh(a,b,372645892,k,l,f,g,h)}if(k){qe[j[57975]](k);j[57976]=j[57976]-1}}oe=q+32|0;return i}function _C(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0;Oe(b,k[262239],c);qe[j[57833]](j[65569],b,c);r=sg();if(j[65565]>=1){a=j[65566];q=128;while(1){h=p(i,60);d=h+a|0;a:{if(j[d+8>>2]){break a}e=j[d+28>>2];b:{if(!(!e|e>>>0>=r>>>0)){j[d+36>>2]=0;j[d+20>>2]=0;j[d+4>>2]=0;j[d+28>>2]=0;d=j[65570];if(d){qe[d|0](i);a=j[65566]}a=a+h|0;e=a;a=j[a+56>>2];if(a){while(1){d=j[a+12>>2];g=j[a+4>>2];if(g){qe[g|0](i,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=d;if(a){continue}break}}j[e+56>>2]=0;break b}g=j[d+36>>2];if(!g){break b}a=j[d+48>>2];e=r-j[d+52>>2]|0;if(a>>>0<=e>>>0){Wj(i,j[d+44>>2]);d=j[65566];a=h+d|0;if(j[a+36>>2]==1){j[a+28>>2]=0;j[a+20>>2]=0;j[a+4>>2]=0;a=j[65570];if(a){qe[a|0](i);d=j[65566]}a=d+h|0;e=a;a=j[a+56>>2];if(a){while(1){d=j[a+12>>2];g=j[a+4>>2];if(g){qe[g|0](i,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=d;if(a){continue}break}d=j[65566]}j[e+56>>2]=0}j[(d+h|0)+36>>2]=0;break b}d=j[d+40>>2];if((g|0)==1){Wj(i,(p(d,a-e|0)>>>0)/(a>>>0)|0);break b}Wj(i,(p(d,e)>>>0)/(a>>>0)|0)}a=j[65566];d=j[(h+a|0)+4>>2];if((d|0)<1){break a}g=0;c:{if((c|0)<=0){break c}while(1){e=c-g|0;f=(d|0)>(e|0)?e:d;a=a+h|0;q=(p(j[a+16>>2],k[j[a>>2]+12|0])|0)/128|0;d=j[a+12>>2];a=j[a+56>>2];d:{if(!a){break d}e=qe[j[57972]](f?f:1)|0;if(e){j[57976]=j[57976]+1}if(!e){break d}Ge(e,d,f);while(1){d=j[a>>2];if(d){qe[d|0](i,e,f,j[a+8>>2])}a=j[a+12>>2];if(a){continue}break}d=e}ml(b+g|0,d,l[131118],f,q);a=j[65566];if(j[(h+a|0)+12>>2]!=(d|0)){if(d){qe[j[57975]](d);j[57976]=j[57976]-1}a=j[65566];d=j[(h+a|0)+12>>2]}e=a+h|0;j[e+12>>2]=d+f;d=j[e+4>>2]-f|0;j[e+4>>2]=d;g=f+g|0;if(!d){if(j[e+20>>2]){d=0;break c}d=j[65570];if(d){qe[d|0](i);a=j[65566]}a=a+h|0;e=a;a=j[a+56>>2];if(a){while(1){d=j[a+12>>2];f=j[a+4>>2];if(f){qe[f|0](i,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=d;if(a){continue}break}}j[e+56>>2]=0;a=j[65566];d=j[(h+a|0)+4>>2]}if((c|0)<=(g|0)){break c}if((d|0)>0){continue}break}}e=a+h|0;s=e+20|0;f=j[e+20>>2];o=!f;e:{if(!f|(c|0)<=(g|0)){break e}d=j[e>>2];e=j[d+4>>2];n=j[d+8>>2];while(1){d=c-g|0;m=(d|0)>(n|0)?n:d;a=j[(a+h|0)+56>>2];f:{if(!a){break f}d=qe[j[57972]](m?m:1)|0;if(d){j[57976]=j[57976]+1}if(!d){break f}Ge(d,e,m);while(1){e=j[a>>2];if(e){qe[e|0](i,d,m,j[a+8>>2])}a=j[a+12>>2];if(a){continue}break}e=d}ml(b+g|0,e,l[131118],m,q);a=j[65566];if(j[j[h+a>>2]+4>>2]!=(e|0)){if(e){qe[j[57975]](e);j[57976]=j[57976]-1}a=j[65566]}d=a+h|0;e=d;s=d+20|0;f=j[d+20>>2];if((f|0)>=1){f=f-1|0;j[e+20>>2]=f}n=j[d>>2];e=j[n+4>>2];j[d+12>>2]=m+e;o=d;n=j[n+8>>2];d=n-m|0;j[o+4>>2]=d;o=!f;g=g+m|0;if((g|0)>=(c|0)){break e}if(f){continue}break}}if(d|o){break a}d=a+h|0;e=d;if((f|0)>=1){j[s>>2]=f-1}o=d;d=j[d>>2];j[o+12>>2]=j[d+4>>2];j[e+4>>2]=j[d+8>>2]}i=i+1|0;if((i|0)>2];if(d){qe[d|0](-2,b,c,j[a+8>>2])}a=j[a+12>>2];if(a){continue}break}}a=j[65568];if(a){qe[a|0](j[65567],b,c)}}function Wo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;f=a+b|0;a:{b:{c=j[a+4>>2];if(c&1){break b}if(!(c&3)){break a}c=j[a>>2];b=c+b|0;a=a-c|0;if((a|0)!=j[67133]){if(c>>>0<=255){e=c>>>3|0;c=j[a+8>>2];d=j[a+12>>2];if((d|0)==(c|0)){i=268512,k=j[67128]&lP(-2,e),j[i>>2]=k;break b}j[c+12>>2]=d;j[d+8>>2]=c;break b}h=j[a+24>>2];c=j[a+12>>2];c:{if((c|0)!=(a|0)){d=j[a+8>>2];j[d+12>>2]=c;j[c+8>>2]=d;break c}d:{d=a+20|0;e=j[d>>2];if(e){break d}d=a+16|0;e=j[d>>2];if(e){break d}c=0;break c}while(1){g=d;c=e;d=c+20|0;e=j[d>>2];if(e){continue}d=c+16|0;e=j[c+16>>2];if(e){continue}break}j[g>>2]=0}if(!h){break b}d=j[a+28>>2];e=(d<<2)+268816|0;e:{if(j[e>>2]==(a|0)){j[e>>2]=c;if(c){break e}i=268516,k=j[67129]&lP(-2,d),j[i>>2]=k;break b}j[h+(j[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}j[c+24>>2]=h;d=j[a+16>>2];if(d){j[c+16>>2]=d;j[d+24>>2]=c}d=j[a+20>>2];if(!d){break b}j[c+20>>2]=d;j[d+24>>2]=c;break b}c=j[f+4>>2];if((c&3)!=3){break b}j[67130]=b;j[f+4>>2]=c&-2;j[a+4>>2]=b|1;j[f>>2]=b;return}c=j[f+4>>2];f:{if(!(c&2)){if(j[67134]==(f|0)){j[67134]=a;b=j[67131]+b|0;j[67131]=b;j[a+4>>2]=b|1;if(j[67133]!=(a|0)){break a}j[67130]=0;j[67133]=0;return}if(j[67133]==(f|0)){j[67133]=a;b=j[67130]+b|0;j[67130]=b;j[a+4>>2]=b|1;j[a+b>>2]=b;return}b=(c&-8)+b|0;g:{if(c>>>0<=255){e=c>>>3|0;c=j[f+8>>2];d=j[f+12>>2];if((d|0)==(c|0)){i=268512,k=j[67128]&lP(-2,e),j[i>>2]=k;break g}j[c+12>>2]=d;j[d+8>>2]=c;break g}h=j[f+24>>2];c=j[f+12>>2];h:{if((f|0)!=(c|0)){d=j[f+8>>2];j[d+12>>2]=c;j[c+8>>2]=d;break h}i:{d=f+20|0;e=j[d>>2];if(e){break i}d=f+16|0;e=j[d>>2];if(e){break i}c=0;break h}while(1){g=d;c=e;d=c+20|0;e=j[d>>2];if(e){continue}d=c+16|0;e=j[c+16>>2];if(e){continue}break}j[g>>2]=0}if(!h){break g}d=j[f+28>>2];e=(d<<2)+268816|0;j:{if(j[e>>2]==(f|0)){j[e>>2]=c;if(c){break j}i=268516,k=j[67129]&lP(-2,d),j[i>>2]=k;break g}j[h+(j[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break g}}j[c+24>>2]=h;d=j[f+16>>2];if(d){j[c+16>>2]=d;j[d+24>>2]=c}d=j[f+20>>2];if(!d){break g}j[c+20>>2]=d;j[d+24>>2]=c}j[a+4>>2]=b|1;j[a+b>>2]=b;if(j[67133]!=(a|0)){break f}j[67130]=b;return}j[f+4>>2]=c&-2;j[a+4>>2]=b|1;j[a+b>>2]=b}if(b>>>0<=255){c=b>>>3|0;b=(c<<3)+268552|0;d=j[67128];c=1<>2]}j[b+8>>2]=a;j[c+12>>2]=a;j[a+12>>2]=b;j[a+8>>2]=c;return}d=31;j[a+16>>2]=0;j[a+20>>2]=0;if(b>>>0<=16777215){d=b>>>8|0;c=d+1048320>>>16&8;e=d<>>16&4;g=e<>>16&2;c=(g<>>15|0)-(e|(c|d))|0;d=(c<<1|b>>>c+21&1)+28|0}j[a+28>>2]=d;c=(d<<2)+268816|0;l:{e=j[67129];g=1<>2]=a;j[a+24>>2]=c;break m}d=b<<((d|0)==31?0:25-(d>>>1|0)|0);c=j[c>>2];while(1){e=c;if((j[c+4>>2]&-8)==(b|0)){break l}c=d>>>29|0;d=d<<1;g=e+(c&4)|0;c=j[g+16>>2];if(c){continue}break}j[g+16>>2]=a;j[a+24>>2]=e}j[a+12>>2]=a;j[a+8>>2]=a;return}b=j[e+8>>2];j[b+12>>2]=a;j[e+8>>2]=a;j[a+24>>2]=0;j[a+12>>2]=e;j[a+8>>2]=b}}function Wh(a,b,c){var d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0;e=35;a:{if(!a|!j[a+88>>2]){break a}d=j[a+84>>2];if(!d){break a}e=j[d+156>>2];b:{if(!(!e|!(h[e+4|0]&1))){e=j[j[d+4>>2]+100>>2];f=j[d+88>>2];if(f){qe[j[e+8>>2]](e,f)}j[d+88>>2]=0;e=j[d+156>>2];j[e+4>>2]=j[e+4>>2]&-2;break b}j[d+88>>2]=0}j[d+24>>2]=0;j[d+28>>2]=0;j[d+72>>2]=0;j[d+76>>2]=0;j[d+100>>2]=0;j[d+104>>2]=0;h[d+94|0]=0;j[d+32>>2]=0;j[d+36>>2]=0;j[d+40>>2]=0;j[d+44>>2]=0;j[d+48>>2]=0;j[d+52>>2]=0;j[d+56>>2]=0;j[d+60>>2]=0;j[d+80>>2]=0;j[d+84>>2]=0;j[d+108>>2]=0;j[d+112>>2]=0;j[d+116>>2]=0;j[d+120>>2]=0;j[d+124>>2]=0;j[d+128>>2]=0;j[d+132>>2]=0;j[d+136>>2]=0;j[d+140>>2]=0;j[d+144>>2]=0;j[d+148>>2]=0;j[d+152>>2]=0;e=j[a+96>>2];c:{d:{c=c&1024?c|2049:c;i=c&1?c&-15|10:c;if(i&32770){break d}f=j[j[e+4>>2]+160>>2];if(!f){break d}m=j[j[e>>2]>>2];if((m&768)!=256){break d}c=j[a+8>>2];if(c&8192){break d}e:{if(i&2048){break e}n=j[a+128>>2];g=j[n>>2];if(!j[n+8>>2]){if(g){break e}break d}if(g){break d}}if(!(i&32|(i&983040)==65536|(k[j[a+128>>2]+52|0]|!(m&1024)))){if(!(c&8)|!j[a+696>>2]|(l[a+286>>1]|j[a+628>>2])){break d}if(j[a+636>>2]){break d}}f:{if(!(c&2)|i&8){break f}if(qe[j[j[e+12>>2]+72>>2]](d,j[a+88>>2],b,i|16384)|0){break f}c=0;if(j[d+72>>2]==1651078259){break c}}e=j[a+128>>2];g=j[e+24>>2];j[e+24>>2]=0;c=qe[j[j[j[f>>2]+20>>2]+12>>2]](f,d,j[a+88>>2],b,i)|0;j[e+24>>2]=g;break c}e=qe[j[j[e+12>>2]+72>>2]](d,j[a+88>>2],b,i)|0;if(e){break a}c=0;if(j[d+72>>2]!=1869968492){break c}e=cO(d+108|0);if(e){break a}if(i&2){break c}b=d;g:{if(i&16){j[d+32>>2]=j[d+32>>2]&-64;e=j[d+44>>2];f=e&-64;j[d+44>>2]=f;g=j[d+48>>2];m=g&-64;j[d+48>>2]=m;j[d+36>>2]=j[d+36>>2]+63&-64;j[d+24>>2]=((e+j[d+24>>2]|0)+63&-64)-f;e=((g+j[d+28>>2]|0)+63&-64)-m|0;break g}j[d+44>>2]=j[d+44>>2]&-64;j[d+48>>2]=j[d+48>>2]&-64;e=j[d+32>>2];f=e&-64;j[d+32>>2]=f;g=j[d+36>>2];m=g+63&-64;j[d+36>>2]=m;j[d+24>>2]=((e+j[d+24>>2]|0)+63&-64)-f;e=m-(g-j[d+28>>2]&-64)|0}j[b+28>>2]=e;j[d+40>>2]=j[d+40>>2]+32&-64;j[d+52>>2]=j[d+52>>2]+32&-64}b=d;h:{if(i&16){f=0;e=j[d+52>>2];break h}f=j[d+40>>2];e=0}j[b+64>>2]=f;j[d+68>>2]=e;if(!(!(h[a+8|0]&1)|i&8192)){b=j[a+88>>2];o=d,p=Ne(j[d+56>>2],j[b+16>>2],64),j[o+56>>2]=p;o=d,p=Ne(j[d+60>>2],j[b+20>>2],64),j[o+60>>2]=p}b=c;i:{if(i&2048){break i}g=j[a+128>>2];f=j[g+24>>2];b=c;if(!f){break i}j:{k:{a=j[j[j[d+4>>2]+96>>2]+4>>2];e=j[a+156>>2];l:{if(!e){b=j[d+72>>2];break l}b=j[d+72>>2];if((b|0)==j[e+16>>2]){break k}}a=j[a+148>>2];if(a){while(1){e=j[a+8>>2];if(j[e+16>>2]==(b|0)){break k}a=j[a+4>>2];if(a){continue}break}}m:{if((b|0)!=1869968492){break m}if(f&1){Ah(d+108|0,g);f=j[g+24>>2]}if(!(f&2)){break m}Tf(d+108|0,j[g+16>>2],j[g+20>>2])}break j}c=qe[j[j[e+12>>2]+44>>2]](e,d,g,g+16|0)|0}Tg(d- -64|0,g);b=c}e=b;if(e){break a}e=0;a=j[d+72>>2];if(!(i&4)|((a|0)==1651078259|(a|0)==1668246896)){break a}a=i>>>16&15;e=bs(d,a?a:i>>>11&2)}return e}function zM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(m[a+404>>2]>=a+32>>>0){d=j[a+20>>2];h=j[a+412>>2];g=h;c=j[a+16>>2];e=k[c|0];a:{if((e|0)==30){c=Jf(c,d,0,0);break a}b:{c:{d:{e:{switch(e-28|0){case 0:if(d>>>0>>0){break b}b=k[c+1|0]|k[c+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break c;case 1:if(d>>>0>>0){break b}b=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d;default:break e}}if(e>>>0<=246){b=e-139|0;break b}f=c+2|0;if(e>>>0<=250){if(d>>>0>>0){break b}b=(k[c+1|0]|e<<8)-63124|0;break c}if(d>>>0>>0){break b}b=64148-(k[c+1|0]|e<<8)|0}c=2147483647;if((b|0)>32767){break a}}c=(b|0)<-32767?-2147483647:b<<16;break a}c=b<<16}b=c+32768&-65536;if((c|0)<0){b=0-(32768-c&-65536)|0}j[g+84>>2]=b;f=j[a+24>>2];e=h;c=j[a+20>>2];d=k[c|0];f:{if((d|0)==30){c=Jf(c,f,0,0);break f}g:{h:{i:{j:{switch(d-28|0){case 0:b=0;if(f>>>0>>0){break g}b=k[c+1|0]|k[c+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break h;case 1:b=0;if(f>>>0>>0){break g}b=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break i;default:break j}}if(d>>>0<=246){b=d-139|0;break g}g=c+2|0;if(d>>>0<=250){b=0;if(f>>>0>>0){break g}b=(k[c+1|0]|d<<8)-63124|0;break h}b=0;if(f>>>0>>0){break g}b=64148-(k[c+1|0]|d<<8)|0}c=2147483647;if((b|0)>32767){break f}}c=(b|0)<-32767?-2147483647:b<<16;break f}c=b<<16}b=c+32768&-65536;if((c|0)<0){b=0-(32768-c&-65536)|0}j[e+88>>2]=b;f=j[a+28>>2];b=j[a+24>>2];d=k[b|0];k:{if((d|0)==30){c=Jf(b,f,0,0);break k}l:{m:{n:{switch(d-28|0){case 0:c=0;if(f>>>0>>0){break k}b=k[b+1|0]|k[b+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break l;case 1:c=0;if(f>>>0>>0){break k}b=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break m;default:break n}}c=(d<<16)-9109504|0;if(d>>>0<=246){break k}g=b+2|0;if(d>>>0<=250){c=0;if(f>>>0>>0){break k}b=(k[b+1|0]|d<<8)-63124|0;break l}c=0;if(f>>>0>>0){break k}b=64148-(k[b+1|0]|d<<8)|0}c=2147483647;if((b|0)>32767){break k}}c=(b|0)<-32767?-2147483647:b<<16}b=c;d=b+32768&-65536;if((b|0)<0){d=0-(32768-b&-65536)|0}j[e+92>>2]=d;e=j[a+32>>2];b=j[a+28>>2];c=k[b|0];o:{if((c|0)==30){a=Jf(b,e,0,0);break o}p:{q:{r:{switch(c-28|0){case 0:a=0;if(e>>>0>>0){break o}a=k[b+1|0]|k[b+2|0]<<8;b=(a<<24|a<<8&16711680)>>16;break p;case 1:a=0;if(e>>>0>>0){break o}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break q;default:break r}}a=(c<<16)-9109504|0;if(c>>>0<=246){break o}d=b+2|0;if(c>>>0<=250){a=0;if(d>>>0>e>>>0){break o}b=(k[b+1|0]|c<<8)-63124|0;break p}a=0;if(d>>>0>e>>>0){break o}b=64148-(k[b+1|0]|c<<8)|0}a=2147483647;if((b|0)>32767){break o}}a=(b|0)<-32767?-2147483647:b<<16}b=a;c=b+32768&-65536;if((b|0)<0){c=0-(32768-b&-65536)|0}j[h+96>>2]=c;a=0}else{a=161}return a|0}function nN(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;b=oe-160|0;oe=b;a:{if(!Wi(48)){if(j[57790]){b:{if($u(b+136|0)){i=b,k=Ig(),j[i+112>>2]=k;Zg(1503,b+112|0);c=j[b+144>>2];a=j[b+140>>2];break b}a=j[b+140>>2];if(j[58880]){j[57789]=a;c=j[b+144>>2];j[57788]=c;break b}g=+(a|0)*.8;c:{if(r(g)<2147483648){d=~~g;break c}d=-2147483648}j[57789]=d;c=j[b+144>>2];g=+(c|0)*.8;d:{if(r(g)<2147483648){d=~~g;break d}d=-2147483648}j[57788]=d}j[b+100>>2]=c;j[b+96>>2]=a;Zg(1584,b+96|0)}Jo(1612,1645);a=Xu(j[57789],j[57788]);j[58883]=a;if(!a){break a}a=cl(a,-1,4);j[58882]=a;if(!a){break a}if(j[58880]){$m(j[58883],1);a=j[58882]}uA(a);j[b+88>>2]=0;j[b+92>>2]=1073741824;j[b+80>>2]=1647;Zg(1654,b+80|0);di(j[58882],0,0,0,0);if((Wq(3)&3)!=3){i=b,k=Ig(),j[i+64>>2]=k;hi(1686,b- -64|0)}if(!XC()){a=UC();j[60723]=-754974721;j[60724]=-1274410486;j[60721]=a;j[b+136>>2]=0;c=0;while(1){j[b+32>>2]=c;bk(b+136|0,4,1729,b+32|0);j[b+28>>2]=j[60723];i=242904,k=Vj(j[60721],b+136|0,b+28|0),j[i>>2]=k;Uj(j[60721],2);j[b+24>>2]=j[60724];i=242900,k=Vj(j[60721],b+136|0,b+24|0),j[i>>2]=k;Uj(j[60721],0);j[60727]=2;j[60728]=2;a=j[60726];j[60729]=j[a+8>>2];j[60730]=j[a+12>>2];cg(a,1);gh(j[60726],0,j[60725],242908);a=j[60725];e=j[a+4>>2];f=p(c,60);h=f+242928|0;d=h;j[d>>2]=j[a>>2];j[d+4>>2]=e;j[f+242984>>2]=j[a+56>>2];e=j[a+52>>2];d=f+242976|0;j[d>>2]=j[a+48>>2];j[d+4>>2]=e;e=j[a+44>>2];d=f+242968|0;j[d>>2]=j[a+40>>2];j[d+4>>2]=e;e=j[a+36>>2];d=f+242960|0;j[d>>2]=j[a+32>>2];j[d+4>>2]=e;e=j[a+28>>2];d=f+242952|0;j[d>>2]=j[a+24>>2];j[d+4>>2]=e;e=j[a+20>>2];d=f+242944|0;j[d>>2]=j[a+16>>2];j[d+4>>2]=e;d=j[a+12>>2];f=f+242936|0;j[f>>2]=j[a+8>>2];j[f+4>>2]=d;i=(c<<2)+260928|0,k=_k(j[58882],h),j[i>>2]=k;c=c+1|0;if((c|0)!=300){continue}break}j[b+16>>2]=-1;bk(b+136|0,4,1729,b+16|0);j[b+12>>2]=j[60723];i=242904,k=Vj(j[60721],b+136|0,b+12|0),j[i>>2]=k;Uj(j[60721],2);j[b+8>>2]=j[60724];i=242900,k=Vj(j[60721],b+136|0,b+8|0),j[i>>2]=k;Uj(j[60721],0);j[60727]=2;j[60728]=2;a=j[60726];j[60729]=j[a+8>>2];j[60730]=j[a+12>>2];cg(a,1);gh(j[60726],0,j[60725],242908);a=j[60725];c=j[a+4>>2];j[65217]=j[a>>2];j[65218]=c;c=j[a+12>>2];j[65219]=j[a+8>>2];j[65220]=c;c=j[a+20>>2];j[65221]=j[a+16>>2];j[65222]=c;c=j[a+28>>2];j[65223]=j[a+24>>2];j[65224]=c;c=j[a+36>>2];j[65225]=j[a+32>>2];j[65226]=c;c=j[a+44>>2];j[65227]=j[a+40>>2];j[65228]=c;c=j[a+52>>2];j[65229]=j[a+48>>2];j[65230]=c;j[65231]=j[a+56>>2];i=262124,k=_k(j[58882],260868),j[i>>2]=k;kf(j[60726]);kf(j[60725]);j[65532]=0;j[65533]=-1;j[58915]=1771;j[58911]=1435;j[58910]=1748;j[58916]=0;j[58912]=0;ql();yo();j[58889]=0;j[58890]=0;j[58887]=0;j[58888]=0;j[58903]=2;i=235616,k=Ep(j[58882],1293),j[i>>2]=k;i=235620,k=Ep(j[58882],1321),j[i>>2]=k;zy();Rn();j[58886]=0;sc(1,0,1);break a}i=b,k=Ig(),j[i+48>>2]=k;hi(1734,b+48|0);U(1);z()}i=b,k=Ig(),j[i+128>>2]=k;hi(1802,b+128|0)}oe=b+160|0}function kr(a,b,c){var d=0,e=0,f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=oe-16|0;oe=q;e=j[a+72>>2];r=j[a+64>>2];n=j[a+68>>2];a:{if(!c){break a}b:{c:{d:{e:{f:{g:{switch(j[a>>2]){case 0:if(Fe(j[a+164>>2],2)){break f}if((Bm(j[a+164>>2],q+12|0,1)|0)!=1){break f}f=k[q+12|0];j[a+44>>2]=f&128;g=f&31;j[a+40>>2]=g;d=1<>2]=d-256;if(g>>>0>16){break f}j[a+52>>2]=9;j[a+56>>2]=f>>>7;j[a+60>>2]=g>>>0>9?256:d-255|0;e=0;f=km(a);if(f>>>0>255){break f}if(b){h[b|0]=f}if(c>>>0<2){break e}g=1;j[a>>2]=1;n=f;r=f;break;case 2:break d;case 1:break g;default:break a}}d=0;break c}d=0;break b}d=1;n=f;r=f;break a}d=1}while(1){h:{if(!d){p=km(a);d=g;if((p|0)<0){break b}i:{j:{k:{while(1){if((p|0)!=256){break k}if(!j[a+44>>2]){break j}h[a+32|0]=1;r=0;j[a+56>>2]=0;n=0;p=km(a);if((p|0)>=0){continue}break}d=g;break b}f=p;if(f>>>0<256){break i}}f=p;d=f-256|0;e=j[a+56>>2];if(d>>>0>=e>>>0){if(d>>>0>e>>>0){break h}d=j[a+92>>2];e=j[a+96>>2];l:{if(d>>>0>>0){e=j[a+88>>2];break l}f=((e>>>1|0)+e|0)+4|0;s=j[a+168>>2];m:{n:{o=j[a+88>>2];if((o|0)!=(a+100|0)){d=65536;if(f>>>0>65536){break n}d=f;break m}o=0;j[a+88>>2]=0;d=f>>>0<65536?f:65536;e=0;break m}if((e|0)==65536){break h}}e=xe(s,1,e,d,o,q+12|0);j[a+88>>2]=e;if(j[q+12>>2]){break h}j[a+96>>2]=d;d=j[a+92>>2]}j[a+92>>2]=d+1;h[d+e|0]=n;f=r;if(f>>>0<256){break i}}s=a+100|0;d=j[a+76>>2];while(1){if(!d){break h}d=j[a+92>>2];e=j[a+96>>2];o:{if(d>>>0>>0){e=j[a+88>>2];break o}d=((e>>>1|0)+e|0)+4|0;t=j[a+168>>2];o=j[a+88>>2];p:{if((s|0)!=(o|0)){if(d>>>0<=65536){break p}d=65536;if((e|0)==65536){break h}break p}o=0;j[a+88>>2]=0;d=d>>>0<65536?d:65536;e=0}e=xe(t,1,e,d,o,q+12|0);j[a+88>>2]=e;if(j[q+12>>2]){break h}j[a+96>>2]=d;d=j[a+92>>2]}f=f-256|0;o=k[f+j[a+80>>2]|0];j[a+92>>2]=d+1;h[d+e|0]=o;d=j[a+76>>2];f=l[d+(f<<1)>>1];if(f>>>0>255){continue}break}}d=j[a+92>>2];n=j[a+96>>2];q:{if(d>>>0>>0){n=j[a+88>>2];break q}e=((n>>>1|0)+n|0)+4|0;s=j[a+168>>2];r:{s:{t:{u:{o=j[a+88>>2];if((o|0)!=(a+100|0)){d=65536;if(e>>>0>65536){break u}d=e;break t}o=0;j[a+88>>2]=0;d=e>>>0<65536?e:65536;n=0;break t}if((n|0)==65536){break s}}n=xe(s,1,n,d,o,q+12|0);j[a+88>>2]=n;if(!j[q+12>>2]){break r}}n=f;break h}j[a+96>>2]=d;d=j[a+92>>2]}j[a+92>>2]=d+1;h[d+n|0]=f;j[a>>2]=2;n=f;e=p;p=g;d=1;continue}v:{while(1){g=j[a+92>>2];if(!g){break v}g=g-1|0;j[a+92>>2]=g;if(b){h[b+p|0]=k[g+j[a+88>>2]|0]}p=p+1|0;if((p|0)!=(c|0)){continue}break}d=c;break a}d=j[a+56>>2];if(d>>>0>2]){g=j[a+84>>2];if(g>>>0<=d>>>0){f=g?g+(g>>>2|0)|0:512;o=xe(j[a+168>>2],3,g,f,j[a+76>>2],q+12|0);j[a+76>>2]=o;d=p;if(j[q+12>>2]){break b}d=o+(f<<1)|0;j[a+80>>2]=d;yg(d,o+(g<<1)|0,g);j[a+84>>2]=f;d=j[a+56>>2]}i[j[a+76>>2]+(d<<1)>>1]=r;h[j[a+80>>2]+d|0]=n;j[a+56>>2]=j[a+56>>2]+1}j[a>>2]=1;r=e;g=p;d=0;continue}break}e=p;d=g}j[a>>2]=3}j[a+72>>2]=e;j[a+68>>2]=n;j[a+64>>2]=r;oe=q+16|0;return d}function Tn(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;o=oe-32|0;oe=o;g=j[b+76>>2];m=j[a+436>>2];i=Vg();f=j[m>>2];a:{if((i|0)!=(f|0)){j[m+424>>2]=0;if((tg(j[a+188>>2],f)|0)<0){break a}}f=j[a+436>>2];if(!j[f+4>>2]){break a}while(1){if(qe[j[f+104>>2]]()|0){continue}break}}b:{if(j[c+8>>2]<1|j[c+12>>2]<1){break b}j[m+360>>2]=0;qe[j[m+20>>2]](j[g+4>>2],j[g>>2]);i=m;q=j[g+4>>2];r=j[c>>2];k=j[c+4>>2];s=j[c+8>>2];t=j[c+12>>2];u=j[g+8>>2];v=j[g+12>>2];h=d;n=e;f=j[b+4>>2];c:{if(!(!f|(f&-268435456)==268435456)){l=2;if((f|0)==844715353|(f|0)==1498831189){break c}l=(f|0)==1431918169?2:1;break c}l=f&255}Pz(i,q,r,k,s,t,u,v,h,n,l);d:{e:{f:{g:{if(j[g+24>>2]){f=j[c+12>>2];qe[j[m+20>>2]](j[g+4>>2],j[g+(j[b+4>>2]==842094169?32:36)>>2]);k=(e+1|0)/2|0;i=p(e,f)+d|0;d=j[c+8>>2];if(d+2>>>0<3){break e}f=j[c+12>>2];if(f+2>>>0<3){break e}e=0;s=j[g+4>>2];t=j[c>>2]/2|0;u=j[c+4>>2]/2|0;n=(d+1|0)/2|0;q=n;l=(f+1|0)/2|0;r=l;v=j[g+8>>2];w=j[g+12>>2];if((k|0)!=(n|0)){d=p(n,l);e=qe[j[57972]](d?d:1)|0;if(e){j[57976]=j[57976]+1}if(!e){break g}d=0;if((f|0)>0){f=e;h=i;while(1){Ge(f,h,n);h=h+k|0;f=f+n|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}d=e}else{d=i}qe[j[m+160>>2]](s,0,t,u,q,r,v,w,d);if(!e){break e}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break e}if(!j[g+28>>2]){break d}b=j[c+12>>2];qe[j[m+20>>2]](j[g+4>>2],j[g+36>>2]);k=j[c+8>>2];if(k+2>>>0<3){break d}h=j[c+12>>2];if(h+2>>>0<3){break d}n=j[c+4>>2]/2|0;l=j[c>>2]/2|0;i=(h+1|0)/2|0;f=p(b,e)+d|0;g=j[g+4>>2];k=(k+1|0)/2|0;d=k<<1;q=(e+1|0)/2<<1;h:{if((d|0)==(q|0)){e=0;break h}b=p(d,i);e=qe[j[57972]](b?b:1)|0;if(e){j[57976]=j[57976]+1}if(!e){break f}b=0;if((h|0)>0){c=e;while(1){Ge(c,f,d);f=f+q|0;c=c+d|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}f=e}qe[j[m+160>>2]](g,0,l,n,k,i,6410,5121,f);if(!e){break d}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break d}Be(0);break e}Be(0);break d}d=j[c+12>>2];qe[j[m+20>>2]](j[g+4>>2],j[g+(j[b+4>>2]==842094169?36:32)>>2]);b=j[c+8>>2];if(b+2>>>0<3){break d}h=j[c+12>>2];if(h+2>>>0<3){break d}n=j[c+4>>2]/2|0;l=j[c>>2]/2|0;e=(h+1|0)/2|0;f=i+p(k,(d+1|0)/2|0)|0;q=j[g+12>>2];r=j[g+8>>2];g=j[g+4>>2];i:{b=(b+1|0)/2|0;j:{if((b|0)==(k|0)){d=0;break j}c=p(b,e);c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}d=c;if(!c){break i}i=0;if((h|0)>0){while(1){Ge(c,f,b);f=f+k|0;c=b+c|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=d}qe[j[m+160>>2]](g,0,l,n,b,e,r,q,f);if(!d){break d}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}break d}Be(0)}h=0;a=j[a+436>>2];if(!j[a+4>>2]){break b}f=qe[j[a+104>>2]]()|0;if(!f){break b}while(1){c=34367;b=f-1280|0;if(b>>>0<=5){c=j[(b<<2)+34376>>2]}j[o+20>>2]=f;j[o+16>>2]=c;j[o+12>>2]=33762;j[o+8>>2]=1662;j[o+4>>2]=32510;j[o>>2]=33744;ve(34270,o);f=qe[j[a+104>>2]]()|0;if(f){continue}break}h=-1}oe=o+32|0;return h|0}function OO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;o=oe-416|0;oe=o;y=j[b+92>>2];j[a+40>>2]=l[b+68>>1];if(!qk(b)){ps(a,b);c=(j[j[a>>2]+12>>2]<<3)+71120|0;d=j[c>>2];if((d|0)!=759){z=a+1616|0;A=a+44|0;while(1){q=c;f=d+70352|0;c=k[f|0];a:{if(!c){break a}v=k[q+4|0]&2?A:z;t=0;m=0;w=1;while(1){d=c&255;f=f+1|0;if(c<<24>>24<=-1){c=d>>>0<240;e=d>>>0<224;d=(e?31:c?15:7)&d;n=e?1:c?2:3;e=n;c=f;while(1){d=k[c|0]&63|d<<6;c=c+1|0;e=e-1|0;if(e){continue}break}f=f+n|0}b:{if((d|0)!=124){c=0;e=j[j[a+36>>2]>>2];c:{if(!e){break c}e=j[e+92>>2];if(!e){break c}c=qe[j[j[e+12>>2]+12>>2]](e,d)|0}if(!c){break b}if(Wh(b,c,1)){break b}d=j[b+84>>2];if(i[d+110>>1]<1){break b}c=0;x=i[d+108>>1];d:{if((x|0)<1){d=0;break d}B=j[d+120>>2];s=j[d+112>>2];e=-1;u=0;d=0;while(1){n=i[(u<<1)+B>>1];e:{if((n|0)<=(c|0)){break e}r=l[q+4>>1];g=r&1;if(r&2){if(g){while(1){g=j[s+(c<<3)>>2];r=(e|0)<0|(g|0)>(d|0);e=r?c:e;d=r?g:d;g=(c|0)==(n|0);c=c+1|0;if(!g){continue}break e}}while(1){g=j[s+(c<<3)>>2];r=(e|0)<0|(g|0)<(d|0);e=r?c:e;d=r?g:d;g=(c|0)==(n|0);c=c+1|0;if(!g){continue}break}break e}if(g){while(1){g=j[(s+(c<<3)|0)+4>>2];r=(e|0)<0|(g|0)>(d|0);e=r?c:e;d=r?g:d;g=(c|0)==(n|0);c=c+1|0;if(!g){continue}break e}}while(1){g=j[(s+(c<<3)|0)+4>>2];r=(e|0)<0|(g|0)<(d|0);e=r?c:e;d=r?g:d;g=(c|0)!=(n|0);c=c+1|0;if(g){continue}break}}c=n+1|0;u=u+1|0;if((x|0)!=(u|0)){continue}break}}if(w){j[(o+208|0)+(t<<2)>>2]=d;t=t+1|0;break b}j[(m<<2)+o>>2]=d;m=m+1|0}w=0}c=k[f|0];if(c){continue}break}if(!(m|t)){break a}f=1;if(t>>>0>=2){while(1){e=j[(o+208|0)+(f<<2)>>2];c=f;while(1){d=c-1|0;n=(o+208|0)+(d<<2)|0;s=j[n>>2];if((s|0)>(e|0)){j[(o+208|0)+(c<<2)>>2]=s;j[n>>2]=e;c=d;if(c){continue}}break}f=f+1|0;if((t|0)!=(f|0)){continue}break}}f=1;if(m>>>0>=2){while(1){e=j[(f<<2)+o>>2];c=f;while(1){d=c-1|0;n=(d<<2)+o|0;s=j[n>>2];if((s|0)>(e|0)){j[(c<<2)+o>>2]=s;j[n>>2]=e;c=d;if(c){continue}}break}f=f+1|0;if((m|0)!=(f|0)){continue}break}}c=j[v+216>>2];j[v+216>>2]=c+1;c=p(c,28)+v|0;f=c;f:{g:{if(!(!m|!t)){d=j[(o+208|0)+(t<<1&-4)>>2];j[c+220>>2]=d;e=j[(m<<1&-4)+o>>2];j[f+232>>2]=e;if((d|0)==(e|0)){break g}m=l[q+4>>1];if(m&1^(d|0)<=(e|0)){break f}n=f;f=(d+e|0)/2|0;j[n+232>>2]=f;j[c+220>>2]=f;break f}d=f;f=j[((m?m:t)<<1&-4)+(m?o:o+208|0)>>2];j[d+232>>2]=f;j[c+220>>2]=f}m=l[q+4>>1]}j[c+244>>2]=m<<1&2}c=q+8|0;d=j[q+8>>2];if((d|0)!=759){continue}break}}c=48;f=0;m=0;while(1){h:{if(a){d=0;q=j[j[a+36>>2]>>2];i:{if(!q){break i}q=j[q+92>>2];if(!q){break i}d=qe[j[j[q+12>>2]+12>>2]](q,c)|0}}j:{if(!d){break j}if(Km(b,d,o+208|0)){break j}e=m&255;m=1;q=j[o+208>>2];if(!e){f=q;break j}if((f|0)==(q|0)){break j}e=0;break h}e=1;c=c+1|0;if((c|0)!=58){continue}}break}h[a+32|0]=e}Uh(b,y);oe=o+416|0;return 0}function bl(a,b){var c=0,d=0,e=0;if(!(k[a+108|0]&8?!(!a|!j[a+68>>2]):0)){Be(4);return}if(j[a+316>>2]==(b|0)){return}c=j[a+340>>2];if(c){qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;c=a+420|0;while(1){d=c;c=j[c+8>>2];if(c){continue}break}j[d+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;c=j[a+344>>2];if(c){j[c+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}a:{if(b){if(j[b>>2]!=268306){ve(31970,0);break a}if(j[b+36>>2]!=(a|0)){ve(32070,0);return}if(j[b+8>>2]!=2){ve(32113,0);return}c=j[b+40>>2];b=c?c:b}else{b=0}if(!(!b|j[a+316>>2])){c=j[a+220>>2];j[a+232>>2]=j[a+216>>2];j[a+236>>2]=c;c=j[a+252>>2];j[a+264>>2]=j[a+248>>2];j[a+268>>2]=c;j[a+284>>2]=j[a+280>>2];c=j[a+292>>2];j[a+296>>2]=j[a+288>>2];j[a+300>>2]=c;c=j[a+200>>2];j[a+204>>2]=j[a+196>>2];j[a+208>>2]=c;c=j[a+228>>2];j[a+240>>2]=j[a+224>>2];j[a+244>>2]=c;c=j[a+260>>2];j[a+272>>2]=j[a+256>>2];j[a+276>>2]=c}j[a+316>>2]=b;if((qe[j[a+68>>2]](a,b)|0)<=-1){break a}b:{if(b){j[a+216>>2]=0;j[a+220>>2]=0;j[a+224>>2]=j[b+12>>2];j[a+228>>2]=j[b+16>>2];Oe(a+248|0,0,16);j[a+288>>2]=1065353216;j[a+292>>2]=1065353216;d=b+16|0;c=b+12|0;break b}b=j[a+236>>2];j[a+216>>2]=j[a+232>>2];j[a+220>>2]=b;b=j[a+268>>2];j[a+248>>2]=j[a+264>>2];j[a+252>>2]=b;b=j[a+300>>2];j[a+288>>2]=j[a+296>>2];j[a+292>>2]=b;b=j[a+244>>2];j[a+224>>2]=j[a+240>>2];j[a+228>>2]=b;b=j[a+276>>2];j[a+256>>2]=j[a+272>>2];j[a+260>>2]=b;d=a+208|0;e=j[a+284>>2];c=a+204|0}b=a+340|0;c=j[c>>2];j[a+200>>2]=j[d>>2];j[a+196>>2]=c;j[a+280>>2]=e;c:{if(j[a+400>>2]){if(!wf(a+216|0,a+360|0,16)){break c}}d:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break d}c=Xe(1,28);if(c){break d}Be(0);break a}d=j[a+344>>2];j[(d?d+24|0:b)>>2]=c;j[a+344>>2]=c;if(!c){break a}j[c>>2]=1;j[c+4>>2]=0;d=a+216|0;Ge(c+8|0,d,16);if((qe[j[a+20>>2]](a,c)|0)<=-1){j[c>>2]=0;break a}Ge(a+360|0,d,16);j[a+400>>2]=1}e:{if(!(!j[a+404>>2]|j[a+280>>2]!=j[a+392>>2])){if(!wf(a+248|0,a+376|0,16)){break e}}f:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break f}c=Xe(1,28);if(c){break f}Be(0);break a}d=j[a+344>>2];j[(d?d+24|0:b)>>2]=c;j[a+344>>2]=c;if(!c){break a}j[c>>2]=2;j[c+4>>2]=j[a+280>>2];d=c+8|0;c=a+248|0;Ge(d,c,16);Ge(a+376|0,c,16);j[a+404>>2]=1;j[a+392>>2]=j[a+280>>2]}g:{if(j[a+336>>2]){break g}b=j[b>>2];if(!b){break g}c=a+420|0;qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;while(1){b=c;c=j[c+8>>2];if(c){continue}break}j[b+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}}}function $F(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;f=j[a+12>>2]-1|0;d=j[a+16>>2];w=f+(d-b|0)|0;n=j[a+28>>2];o=j[n+48>>2];r=j[n+40>>2];x=o+r|0;q=j[n+52>>2]-1|0;y=-1<>2]^-1;z=-1<>2]^-1;s=(d+f|0)-257|0;m=j[a>>2]-1|0;t=(m+j[a+4>>2]|0)-5|0;u=j[n+80>>2];v=j[n+76>>2];g=j[n+60>>2];b=j[n+56>>2];A=j[n+44>>2];while(1){if(g>>>0<=14){b=((k[m+1|0]<>>d|0;i=l[e+2>>1];a:{b:{c:{c=k[e|0];if(!c){break c}B=n;d:{e:{f:{while(1){e=c&255;if(c&16){i=i&65535;e=e&15;g:{if(!e){d=m;break g}h:{if(e>>>0<=g>>>0){c=g;d=m;break h}c=g+8|0;b=(k[m+1|0]<>>e|0}c=b;if(g>>>0<=14){c=((k[d+1|0]<>>b|0;e=l[m+2>>1];c=k[m|0];if(c&16){break f}while(1){if(!(c&64)){c=(((-1<>>m|0;e=l[c+2>>1];c=k[c|0];if(!(c&16)){continue}break f}break}i=17230;m=d;break e}if(!(e&64)){e=(((-1<>>d|0;i=l[e+2>>1];c=k[e|0];if(!c){break c}continue}break}i=17252;d=11;if(e&32){break d}break e}p=e&65535;c=c&15;i:{if(c>>>0<=g>>>0){e=g;m=d;break i}b=(k[d+1|0]<>>0<=e>>>0){break i}b=(k[d+2|0]<>>c|0;j:{p=d+p|0;d=f-w|0;if(p>>>0>d>>>0){d=p-d|0;if(!(!j[n+7104>>2]|d>>>0<=A>>>0)){i=17200;break e}k:{l:{if(!o){c=(r-d|0)+q|0;break l}if(d>>>0>o>>>0){c=(x-d|0)+q|0;d=d-o|0;e=d;if(d>>>0>=i>>>0){break k}while(1){h[f+1|0]=k[c+1|0];f=f+1|0;c=c+1|0;e=e-1|0;if(e){continue}break}c=q;e=o;i=i-d|0;if(e>>>0>=i>>>0){break k}while(1){h[f+1|0]=k[c+1|0];f=f+1|0;c=c+1|0;e=e-1|0;if(e){continue}break}c=f-p|0;i=i-o|0;break k}c=(o-d|0)+q|0}e=d;if(d>>>0>=i>>>0){break k}while(1){h[f+1|0]=k[c+1|0];f=f+1|0;c=c+1|0;e=e-1|0;if(e){continue}break}c=f-p|0;i=i-d|0}if(i>>>0>=3){while(1){h[f+1|0]=k[c+1|0];h[f+2|0]=k[c+2|0];h[f+3|0]=k[c+3|0];f=f+3|0;c=c+3|0;i=i-3|0;if(i>>>0>2){continue}break}}if(!i){break b}h[f+1|0]=k[c+1|0];if((i|0)!=1){break j}f=f+1|0;break b}d=f-p|0;while(1){e=d;c=f;h[c+1|0]=k[d+1|0];h[c+2|0]=k[d+2|0];h[c+3|0]=k[d+3|0];f=c+3|0;d=d+3|0;i=i-3|0;if(i>>>0>2){continue}break}if(!i){break b}h[c+4|0]=k[e+4|0];if((i|0)==1){f=c+4|0;break b}h[c+5|0]=k[e+5|0];f=c+5|0;break b}h[f+2|0]=k[c+2|0];f=f+2|0;break b}j[a+24>>2]=i;d=29}j[B>>2]=d;break a}h[f+1|0]=i;f=f+1|0}if(f>>>0>=s>>>0){break a}if(m>>>0>>0){continue}}break}j[a+12>>2]=f+1;j[a+16>>2]=(s-f|0)+257;d=m-(g>>>3|0)|0;j[a>>2]=d+1;j[a+4>>2]=(t-d|0)+5;a=g&7;j[n+60>>2]=a;j[n+56>>2]=(-1<>2]=0;n=g?a+1548|0:a+516|0;j[n>>2]=0;if(b>>>0>=2){while(1){s=h&1;a:{if(!s){k=c+2|0;g=c;h=m;a=n;break a}g=c+2|0;k=c;h=q;a=p}l=a;a=l+4|0;r=i[k>>1];o=i[g>>1]-r|0;b:{c:{if(!h){break c}g=(l+(h<<5)|0)+4|0;d:{while(1){k=j[a>>2];if((k|0)>(r|0)){break d}if((k|0)==(r|0)){g=j[a+4>>2];if((o|0)<=-1){if((g|0)<=(o|0)){break b}j[a+4>>2]=o;break b}if((g|0)>=(o|0)){break b}j[a+4>>2]=o;break b}a=a+32|0;h=h-1|0;if(h){continue}break}a=g;break c}while(1){g=(h<<5)+a|0;h=h-1|0;k=(h<<5)+a|0;l=j[k+4>>2];j[g>>2]=j[k>>2];j[g+4>>2]=l;l=j[k+28>>2];j[g+24>>2]=j[k+24>>2];j[g+28>>2]=l;l=j[k+20>>2];j[g+16>>2]=j[k+16>>2];j[g+20>>2]=l;l=j[k+12>>2];j[g+8>>2]=j[k+8>>2];j[g+12>>2]=l;if(h){continue}break}}j[a+4>>2]=o;j[a>>2]=r;if(s){q=q+1|0;break b}m=m+1|0}c=c+4|0;h=1;b=b-2|0;if(b>>>0>1){continue}break}}j[p>>2]=q;j[n>>2]=m;if(d>>>0>=2){b=n+4|0;while(1){o=i[e+2>>1];l=i[e>>1]-o|0;k=b;e:{f:{if(!m){break f}k=((m<<5)+n|0)+4|0;a=b;h=m;while(1){c=j[a>>2];if((c|0)<=(o|0)){if((c|0)==(o|0)){c=j[a+4>>2];if((l|0)<=-1){if((c|0)<=(l|0)){break e}j[a+4>>2]=l;break e}if((c|0)>=(l|0)){break e}j[a+4>>2]=l;break e}a=a+32|0;h=h-1|0;if(h){continue}break f}break}while(1){c=(h<<5)+a|0;h=h-1|0;g=(h<<5)+a|0;k=j[g+4>>2];j[c>>2]=j[g>>2];j[c+4>>2]=k;k=j[g+28>>2];j[c+24>>2]=j[g+24>>2];j[c+28>>2]=k;k=j[g+20>>2];j[c+16>>2]=j[g+16>>2];j[c+20>>2]=k;k=j[g+12>>2];j[c+8>>2]=j[g+8>>2];j[c+12>>2]=k;if(h){continue}break}k=a}j[k+4>>2]=l;j[k>>2]=o;m=m+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}j[p>>2]=q;j[n>>2]=m;g:{if(!q){break g}h=p+4|0;a=q;while(1){h:{i:{switch(a|0){case 1:k=j[h+4>>2];g=j[h>>2];break h;case 0:break g;default:break i}}g=j[h>>2];k=j[h+32>>2]-g|0;b=j[h+4>>2];if((k|0)>=(b|0)){k=b;break h}j[h+4>>2]=k}j[h+12>>2]=g;j[h+8>>2]=g+k;h=h+32|0;a=a-1|0;continue}}j:{if(!m){break j}h=n+4|0;a=m;while(1){k:{l:{switch(a|0){case 1:k=j[h+4>>2];g=j[h>>2];break k;case 0:break j;default:break l}}g=j[h>>2];k=g-j[h+32>>2]|0;b=j[h+4>>2];if((k|0)<=(b|0)){k=b;break k}j[h+4>>2]=k}j[h+8>>2]=g;j[h+12>>2]=g+k;h=h+32|0;a=a-1|0;continue}}c=f<<1;if(q){h=p+4|0;j[p+16>>2]=j[p+16>>2]-f;a=j[p+12>>2];k=q-1|0;m:{if(!k){g=h;break m}while(1){b=h;d=j[h+44>>2];e=d-a|0;n:{if((e|0)<(c|0)){g=((e|0)/2|0)+a|0;a=g;break n}g=d-f|0;a=a+f|0}j[b+8>>2]=a;j[h+44>>2]=g;a=j[h+40>>2];g=h+32|0;h=g;k=k-1|0;if(k){continue}break}}j[g+8>>2]=a+f}if(m){h=n+4|0;j[n+16>>2]=j[n+16>>2]-f;a=j[n+12>>2];k=m-1|0;o:{if(!k){g=h;break o}while(1){b=h;d=j[h+44>>2];e=d-a|0;p:{if((e|0)>=(c|0)){g=d-f|0;a=a+f|0;break p}g=((e|0)/2|0)+a|0;a=g}j[b+8>>2]=a;j[h+44>>2]=g;a=j[h+40>>2];g=h+32|0;h=g;k=k-1|0;if(k){continue}break}}j[g+8>>2]=a+f}}function VG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,k=0,n=0,o=0,p=0,q=0,r=0,s=0;e=oe-1552|0;oe=e;k=j[a+4>>2];f=j[j[k+488>>2]+12>>2];a:{if(!(j[j[k+128>>2]+48>>2]|m[k+16>>2]>c>>>0)){d=6;break a}g=d&1024?d|3:d;b:{if(b){j[a+172>>2]=j[b+16>>2];d=j[b+20>>2];break b}j[a+172>>2]=65536;d=65536}j[a+108>>2]=0;j[a+72>>2]=1869968492;j[a+176>>2]=d;p=g&3;d=qe[j[f>>2]](e+48|0,k,b,a,j[k+420>>2],j[k+528>>2],!p,g>>>16&15,954)|0;if(d){break a}n=g&1024;h[e+117|0]=n>>>10;j[e+1412>>2]=j[k+404>>2];j[e+1416>>2]=j[k+408>>2];j[e+1420>>2]=j[k+412>>2];j[e+1536>>2]=j[k+544>>2];j[e+1540>>2]=j[k+540>>2];d=ik(e+48|0,c,e+24|0);if(!d){c=e+1432|0;d=j[c+4>>2];j[e+40>>2]=j[c>>2];j[e+44>>2]=d;c=j[e+1428>>2];j[e+32>>2]=j[e+1424>>2];j[e+36>>2]=c;d=j[e+1444>>2];o=j[e+1440>>2];qe[j[f+4>>2]](e+48|0);j[a+124>>2]=j[a+124>>2]&1|4;c:{if(n){c=j[a+156>>2];b=a;g=j[e+80>>2];f=g+32768&-65536;if((g|0)<0){f=0-(32768-g&-65536)|0}j[b+32>>2]=f>>16;g=j[e+88>>2];f=g+32768&-65536;if((g|0)<0){f=0-(32768-g&-65536)|0}j[b+40>>2]=f>>16;b=j[e+44>>2];j[c+20>>2]=j[e+40>>2];j[c+24>>2]=b;b=j[e+36>>2];j[c+12>>2]=j[e+32>>2];j[c+16>>2]=b;j[c+32>>2]=d;j[c+28>>2]=o;h[c+8|0]=1;break c}c=a;f=j[e+88>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[c+40>>2]=n>>16;f=j[e+88>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[c+56>>2]=n>>16;h[j[a+156>>2]+8|0]=0;q=g&16;d:{if(q){c=j[k+472>>2]-j[k+464>>2]>>16;j[a+52>>2]=c;break d}f=j[e+92>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[c+52>>2]=n>>16;c=j[e+92>>2];f=c+32768&-65536;if((c|0)<0){f=0-(32768-c&-65536)|0}c=f>>16}j[a+72>>2]=1869968492;j[a+60>>2]=c;if(!(!b|l[b+14>>1]>23)){j[a+124>>2]=j[a+124>>2]|256}c=a+108|0;e:{if(!(j[e+36>>2]|(j[e+32>>2]!=65536|j[e+44>>2]!=65536))){if(!j[e+40>>2]){break e}}Ah(c,e+32|0)}if(d|o){Tf(c,o,d)}b=j[a+40>>2];j[e+4>>2]=0;j[e>>2]=b;Tg(e,e+32|0);j[a+40>>2]=o+j[e>>2];j[e>>2]=0;j[e+4>>2]=j[a+52>>2];Tg(e,e+32|0);j[a+52>>2]=d+j[e+4>>2];if(!(g&1)){g=j[a+176>>2];o=j[a+172>>2];d=j[e+64>>2];b=j[d+4>>2];f:{if(j[e+120>>2]?!p:0){break f}d=i[d+2>>1];if((d|0)<1){break f}d=d&65535;while(1){r=b,s=ye(j[b>>2],o),j[r>>2]=s;r=b,s=ye(j[b+4>>2],g),j[r+4>>2]=s;b=b+8|0;f=(d|0)>1;d=d-1|0;if(f){continue}break}}r=a,s=ye(j[a+40>>2],o),j[r+40>>2]=s;r=a,s=ye(j[a+52>>2],g),j[r+52>>2]=s}Ug(c,e+8|0);b=j[e+8>>2];j[a+24>>2]=j[e+16>>2]-b;c=j[e+12>>2];d=j[e+20>>2];j[a+36>>2]=d;j[a+32>>2]=b;j[a+28>>2]=d-c;if(!q){break c}Fi(a+24|0,j[a+52>>2])}j[a+136>>2]=j[e+24>>2];j[a+140>>2]=j[e+28>>2];d=0;b=j[j[k+128>>2]+48>>2];if(!b){break a}qe[j[j[b>>2]+4>>2]](j[b+4>>2],e+24|0);j[a+136>>2]=0;j[a+140>>2]=0;break a}qe[j[f+4>>2]](e+48|0)}oe=e+1552|0;return d|0}function Xg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-80|0;oe=c;d=j[67085];a:{if(!d){ve(57733,0);h=-1;break a}if(!(j[a>>2]==(d+316|0)?a:0)){ve(56433,0);h=-1;break a}if(b){h=0;if(j[a+116>>2]){break a}}d=0;e=Ch(a);if((e|0)>=0){d=j[j[67085]+304>>2]+p(e,72)|0}b:{if(!b){break b}e=j[d+60>>2];if(!e|(a|0)==(e|0)){break b}f=j[67085];if(!f){ve(57733,0);break b}if(j[e>>2]!=(f+316|0)){ve(56433,0);break b}if(!j[f+100>>2]|k[e+48|0]&64){break b}Xg(e,0);f=j[67085];g=j[f+100>>2];if(!g){break b}qe[g|0](f,e)}c:{if((j[a+48>>2]^j[a+52>>2])&4097?0:(j[d+60>>2]==(a|0)|0)==(b|0)){break c}e=j[j[67085]+308>>2];if(e){while(1){d:{e:{if((a|0)!=(e|0)){if((j[e+48>>2]&69)!=5){break d}f=Ch(e);if((f|0)>=0){f=j[j[67085]+304>>2]+p(f,72)|0}else{f=0}if((f|0)==(d|0)){break e}break d}if(!b){break d}}Oe(c+8|0,0,20);if(_u(e,c+8|0)){break d}b=0;b=j[e+24>>2]==j[c+12>>2]?j[e+28>>2]==j[c+16>>2]:b;f:{if((j[a+48>>2]&4097)!=4097){if((Zu(d,c+8|0)|0)>=0){break f}h=-1;break a}g=j[d+28>>2];f=c- -64|0;j[f>>2]=j[d+24>>2];j[f+4>>2]=g;j[c+72>>2]=j[d+32>>2];f=j[d+20>>2];j[c+56>>2]=j[d+16>>2];j[c+60>>2]=f;f=j[d+48>>2];j[c+40>>2]=j[d+44>>2];j[c+44>>2]=f;j[c+48>>2]=j[d+52>>2];f=j[d+40>>2];j[c+32>>2]=j[d+36>>2];j[c+36>>2]=f;if(!wf(c+56|0,c+32|0,20)){break f}g=j[67085];f=j[g+32>>2];if(f){h=-1;if((qe[f|0](g,d,c+56|0)|0)<=-1){break a}g=j[c+60>>2];f=d+36|0;j[f>>2]=j[c+56>>2];j[f+4>>2]=g;j[d+52>>2]=j[c+72>>2];f=c- -64|0;g=j[f+4>>2];j[d+44>>2]=j[f>>2];j[d+48>>2]=g;break f}if((ve(57858,0)|0)>=0){break f}h=-1;break a}f=j[67085];g=j[f+116>>2];if(g){qe[g|0](f,e,d,1)}j[d+60>>2]=e;g:{if(!b){zf(e,5,j[c+12>>2],j[c+16>>2]);break g}j[e+112>>2]=0;zf(e,6,j[e+24>>2],j[e+28>>2])}if(j[67024]==(e|0)){b=c+32|0;d=c+56|0;if(d){j[d>>2]=j[67025]}if(b){j[b>>2]=j[67026]}gl(e,j[c+56>>2],j[c+32>>2])}j[a+52>>2]=j[a+48>>2];break c}e=j[e+152>>2];if(e){continue}break}}e=j[d+28>>2];b=c- -64|0;j[b>>2]=j[d+24>>2];j[b+4>>2]=e;j[c+72>>2]=j[d+32>>2];b=j[d+20>>2];j[c+56>>2]=j[d+16>>2];j[c+60>>2]=b;b=j[d+48>>2];j[c+40>>2]=j[d+44>>2];j[c+44>>2]=b;j[c+48>>2]=j[d+52>>2];b=j[d+40>>2];j[c+32>>2]=j[d+36>>2];j[c+36>>2]=b;h:{if(!wf(c+56|0,c+32|0,20)){break h}b=j[67085];e=j[b+32>>2];if(!e){ve(57858,0);break h}if((qe[e|0](b,d,c+56|0)|0)<0){break h}e=j[c+60>>2];b=d+36|0;j[b>>2]=j[c+56>>2];j[b+4>>2]=e;j[d+52>>2]=j[c+72>>2];b=c- -64|0;e=j[b+4>>2];j[d+44>>2]=j[b>>2];j[d+48>>2]=e}b=j[67085];e=j[b+116>>2];if(e){qe[e|0](b,a,d,0)}j[d+60>>2]=0;j[a+112>>2]=0;zf(a,6,j[a+24>>2],j[a+28>>2]);if(j[67024]==(a|0)){b=c+32|0;d=c+56|0;if(d){j[d>>2]=j[67025]}if(b){j[b>>2]=j[67026]}gl(a,j[c+56>>2],j[c+32>>2])}j[a+52>>2]=j[a+48>>2]}h=0}f=h;oe=c+80|0;return f}function TG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=oe-32|0;oe=e;o=j[b+28>>2];j[e+4>>2]=2;d=He(o,44,e+4|0);a:{if(j[e+4>>2]){break a}c=_e(b,j[b+4>>2]);j[e+4>>2]=c;if(c){break a}c=j[a+472>>2];j[d+12>>2]=j[a+468>>2];j[d+16>>2]=c;c=j[a+464>>2];j[d+4>>2]=j[a+460>>2];j[d+8>>2]=c;j[d+20>>2]=j[a+472>>2];j[d+24>>2]=j[a+464>>2];h=j[a+488>>2];c=j[h+24>>2];b:{if(c){f=qe[j[c>>2]](e+8|0,j[b+28>>2],j[b+32>>2],j[b+36>>2])|0;j[e+4>>2]=f;if(!f){j[e+24>>2]=a+132;j[e+20>>2]=955;j[e+16>>2]=d;t=e,u=qe[j[j[h+24>>2]+8>>2]](e+8|0)|0,j[t+4>>2]=u;qe[j[j[h+24>>2]+4>>2]](e+8|0);f=j[e+4>>2]}if((f&255)==2){c=j[b+4>>2];if(c>>>0<7){break b}g=j[b+32>>2];if(k[g+1|0]>3|(c|0)!=(k[g+2|0]|k[g+3|0]<<8|(k[g+4|0]<<16|k[g+5|0]<<24))){break b}f=0;j[e+28>>2]=0;r=j[b+28>>2];c:{d:{h=j[b+36>>2];if(h>>>0>>0){j[e+28>>2]=2;break d}c=(g+99|0)+(k[g+99|0]|k[g+100|0]<<8)|0;if(h>>>0>>0|(k[c+18|0]|k[c+19|0]<<8)>>>0<18){break c}c=k[c+32|0]|k[c+33|0]<<8|(k[c+34|0]<<16|k[c+35|0]<<24);if(!c){break c}q=c+g|0;m=q+2|0;if(h>>>0>>0){j[e+28>>2]=2;break d}c=k[q|0]|k[q+1|0]<<8;j[d+40>>2]=c;if(h>>>0<(c<<2)+m>>>0){j[e+28>>2]=2;break d}if(!c){break c}f=xe(r,16,0,c,0,e+28|0);j[d+36>>2]=f;if(j[e+28>>2]){break d}p=j[d+40>>2];s=j[a+92>>2];g=j[a+36>>2];e:{if((g|0)<1){break e}h=j[a+40>>2];while(1){c=j[h+(n<<2)>>2];if(l[c+8>>1]!=7){n=n+1|0;if((g|0)!=(n|0)){continue}break e}break}c=Uh(a,c);j[e+28>>2]=c;if(c){break d}}c=p<<2;if((c|0)>=1){g=q+(c|2)|0;while(1){h=k[m|0];n=0;c=a;f:{if(!c){break f}p=j[c+92>>2];if(!p){break f}n=qe[j[j[p+12>>2]+12>>2]](p,h)|0}j[f>>2]=n;h=k[m+1|0];n=0;g:{if(!c){break g}c=j[a+92>>2];if(!c){break g}n=qe[j[j[c+12>>2]+12>>2]](c,h)|0}j[f+4>>2]=n;c=(k[m+2|0]|k[m+3|0]<<8)<<16>>16;j[f+12>>2]=0;j[f+8>>2]=c;f=f+16|0;m=m+4|0;if(g>>>0>m>>>0){continue}break}}h:{if(s){f=Uh(a,s);j[e+28>>2]=f;break h}f=j[e+28>>2]}if(f){break d}fg(j[d+36>>2],j[d+40>>2],16,956);if(j[e+28>>2]){break d}f=0;break c}c=j[d+36>>2];if(c){qe[j[r+8>>2]](r,c)}j[d+36>>2]=0;j[d+40>>2]=0;f=j[e+28>>2]}j[e+4>>2]=f}if(f){break b}}c=j[d+8>>2];j[a+460>>2]=j[d+4>>2];j[a+464>>2]=c;c=j[d+16>>2];j[a+468>>2]=j[d+12>>2];j[a+472>>2]=c;j[a+52>>2]=j[d+4>>2]>>16;j[a+56>>2]=j[d+8>>2]>>16;j[a+60>>2]=j[d+12>>2]+65535>>16;j[a- -64>>2]=j[d+16>>2]+65535>>16;i[a+70>>1]=j[d+20>>2]+32768>>>16;i[a+72>>1]=j[d+24>>2]+32768>>>16;if(!j[d+40>>2]){break b}j[a+492>>2]=d;j[a+8>>2]=j[a+8>>2]|64;d=0}Ve(b)}if(d){a=j[d+36>>2];if(a){qe[j[o+8>>2]](o,a)}j[d+36>>2]=0;j[d+40>>2]=0;a=j[d+28>>2];if(a){qe[j[o+8>>2]](o,a)}j[d+28>>2]=0;j[d+32>>2]=0;if(d){qe[j[o+8>>2]](o,d)}}oe=e+32|0;return j[e+4>>2]}function Tl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;e=oe-48|0;oe=e;k=j[a+100>>2];i=j[a+104>>2];j[e+40>>2]=0;a:{b:{if(j[a+676>>2]){break b}c=qe[j[a+508>>2]](a,1735811442,i,e+44|0)|0;j[e+40>>2]=c;if(c){break a}c=qe[j[a+508>>2]](a,1719034226,i,e+44|0)|0;j[e+40>>2]=c;if(c){break a}r=j[i+8>>2];c=$e(i,158800,e+24|0);j[e+40>>2]=c;if(c){break a}c:{d:{if(j[e+24>>2]!=65536|l[e+34>>1]!=20){break d}c=l[e+32>>1];if(c>>>0>16382){break d}d=l[e+38>>1];if((d|0)!=((c<<2)+4|0)){break d}g=l[e+36>>1];if(g>>>0>32511){break d}if(m[e+44>>2]>=l[e+28>>1]+(p(d,g)+p(c,20)|0)>>>0){break c}}j[e+40>>2]=8;break a}c=He(k,40,e+40|0);j[a+676>>2]=c;if(j[e+40>>2]){break a}d=c;c=l[e+36>>1];c=((c<<3)+p(l[e+32>>1],(c<<2)+29|0)|0)+20|0;j[d+12>>2]=c;g=He(k,c,e+40|0);if(j[e+40>>2]){break a}j[j[a+676>>2]+8>>2]=g;f=l[e+32>>1];j[g+4>>2]=-1;j[g>>2]=f;n=l[e+36>>1];o=g+20|0;q=o+p(f,24)|0;j[g+16>>2]=q;j[g+12>>2]=o;j[g+8>>2]=n;d=(n<<3)+q|0;if(n){c=0;s=f<<2;while(1){j[(c<<3)+q>>2]=d;d=d+s|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}if(f){c=0;while(1){j[p(c,24)+o>>2]=d;d=d+5|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=Fe(i,l[e+28>>1]+r|0);j[e+40>>2]=c;if(c){break a}if(l[e+32>>1]){d=j[g+12>>2];c=0;while(1){f=$e(i,158848,e);j[e+40>>2]=f;if(f){break a}f=j[e>>2];j[d+16>>2]=f;j[d+4>>2]=j[e+4>>2];j[d+8>>2]=j[e+8>>2];j[d+12>>2]=j[e+12>>2];j[d+20>>2]=l[e+18>>1];h[j[d>>2]]=f>>>24;h[j[d>>2]+1|0]=l[d+18>>1];h[j[d>>2]+2|0]=j[d+16>>2]>>>8;h[j[d>>2]+3|0]=j[d+16>>2];h[j[d>>2]+4|0]=0;d=d+24|0;c=c+1|0;f=l[e+32>>1];if(c>>>0>>0){continue}break}d=(f<<2)+4|0}else{d=4}if(!l[e+36>>1]){break b}c=j[g+16>>2];d=_e(i,d);j[e+40>>2]=d;if(d){break a}g=0;while(1){t=c,u=af(i),j[t+4>>2]=u;af(i);if(l[e+32>>1]){d=0;while(1){f=Ff(i);j[j[c>>2]+(d<<2)>>2]=f;d=d+1|0;if(d>>>0>1]){continue}break}}Ve(i);g=g+1|0;if(g>>>0>=l[e+36>>1]){break b}d=_e(i,(l[e+32>>1]<<2)+4|0);j[e+40>>2]=d;c=c+8|0;if(!d){continue}break}break a}if(!b){break a}i=He(k,j[j[a+676>>2]+12>>2],e+40|0);if(j[e+40>>2]){break a}a=j[a+676>>2];g=Ae(i,j[a+8>>2],j[a+12>>2]);i=g+20|0;j[g+12>>2]=i;k=j[g>>2];d=p(k,24)+i|0;j[g+16>>2]=d;f=j[g+8>>2];a=d+(f<<3)|0;if(f){c=0;n=k<<2;while(1){j[d+(c<<3)>>2]=a;a=a+n|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(k){d=0;while(1){j[i>>2]=a;c=i;n=c;e:{f:{g:{f=j[c+16>>2];if((f|0)<=2003072103){if((f|0)==1869640570){break g}if((f|0)!=1936486004){break e}c=158905;break f}c=158880;if((f|0)==2003265652){break f}if((f|0)!=2003072104){break e}c=158887;break f}c=158893}j[n>>2]=c}i=i+24|0;a=a+5|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}j[b>>2]=g}oe=e+48|0;return j[e+40>>2]}function _k(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;g=oe-16|0;oe=g;a:{if(!(j[a>>2]==268305?a:0)){ve(31725,0);break a}if(!b){ve(31919,0);break a}f=1;c=f;if(b){d=j[j[b+52>>2]+68>>2]>>>8&1}else{d=0}e=j[b+4>>2];f=j[e+24>>2]?c:d;c=j[e+4>>2];if(c){f=j[c>>2]<1?f:1}b:{c:{c=j[e+24>>2];if(b){d=j[j[b+52>>2]+68>>2]>>>8&1}else{d=0}d:{if(!(c|!d)){e:{c=j[e>>2];if((c|0)!=370546692){if((c|0)!=374740996){i=j[a+112>>2];break d}c=0;i=j[a+112>>2];if((i|0)<=0){break c}break e}c=0;i=j[a+112>>2];if((i|0)<=0){break c}while(1){d=372645892;if(j[((c<<2)+a|0)+116>>2]==372645892){break b}c=c+1|0;if((i|0)>(c|0)){continue}break}break d}while(1){d=376840196;if(j[((c<<2)+a|0)+116>>2]==376840196){break b}c=c+1|0;if((i|0)>(c|0)){continue}break}break d}i=j[a+112>>2];if((i|0)<1){break c}d=j[e>>2];c=0;while(1){if(j[((c<<2)+a|0)+116>>2]!=(d|0)){c=c+1|0;if((i|0)>(c|0)){continue}break d}break}if(d){break b}}e=j[a+116>>2];if((i|0)<1){d=e;break b}c=0;d=e;while(1){if(!((d&-268435456)!=268435456?d:0)){l=d>>>24&15;f:{if(l-4>>>0<=2){m=0;l=(d>>>20&15)-3|0;if(l>>>0>=6){break f}m=j[(l<<2)+32288>>2];break f}m=0;if(l-7>>>0>4){break f}l=(d>>>20&15)-2|0;if(l>>>0>=5){break f}m=j[(l<<2)+32312>>2]}if((f|0)==(m|0)){break b}}c=c+1|0;if((i|0)<=(c|0)){d=e;break b}else{d=j[((c<<2)+a|0)+116>>2];continue}}}d=j[a+116>>2]}c=$k(a,d,0,j[b+8>>2],j[b+12>>2]);if(!c){c=0;break a}g:{h:{i:{a=j[b+4>>2];e=j[a>>2]!=(d|0);a=j[a+24>>2];if(b){f=j[j[b+52>>2]+68>>2]>>>8&1}else{f=0}if(!(e|(f?a:0))){if(!(k[b|0]&2)){break i}Eg(b);ei(c,0,j[b+20>>2],j[b+16>>2]);jg(b);break h}a=Ok(d);if(!a){break g}e=Jk(b,a);Mk(a);if(!e){break g}ei(c,0,j[e+20>>2],j[e+16>>2]);kf(e);break h}ei(c,0,j[b+20>>2],j[b+16>>2])}gn(b,g+15|0,g+14|0,g+13|0);d=k[g+13|0];l=k[g+14|0];f=k[g+15|0];e=(d&(l&f))!=255;a=c;while(1){j:{if(j[a>>2]!=268306){ve(31970,0);break j}h[a+34|0]=d;h[a+33|0]=l;h[a+32|0]=f;j[a+20>>2]=e|j[a+20>>2]&-2;a=j[a+40>>2];if(a){continue}}break}a=g+12|0;if(b){if(a){h[a|0]=k[j[b+52>>2]+79|0]}}d=k[g+12|0];e=((d|0)!=255)<<1;a=c;while(1){k:{if(!(j[a>>2]==268306?a:0)){ve(31970,0);break k}h[a+35|0]=d;j[a+20>>2]=e|j[a+20>>2]&-3;a=j[a+40>>2];if(a){continue}}break}if(b){a=j[j[b+52>>2]+68>>2]>>>8&1}else{a=0}if(a){a=c;while(1){if(!(j[a>>2]==268306?a:0)){ve(31970,0);break a}j[a+24>>2]=1;a=j[a+40>>2];if(a){continue}break}break a}tj(b,g+8|0);f=j[g+8>>2];e=f>>>0>4;a=c;while(1){if(!(j[a>>2]==268306?a:0)){ve(31970,0);break a}d=j[a+36>>2];l:{if((f|0)!=3?!e:0){break l}b=j[d+12>>2];if(b){if(qe[b|0](d,f)|0){break l}}Be(4);break a}j[a+24>>2]=f;a=j[a+40>>2];if(a){continue}break}break a}lh(c);c=0}oe=g+16|0;return c}function Dh(a,b,c){var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;w=oe-16|0;oe=w;a:{if(!a){x=ve(44914,0);break a}if(k[j[a+4>>2]+8|0]<=7){x=ve(44946,0);break a}b:{if(b){d=w;if(Fg(b,a+36|0,d)){break b}break a}if(j[a+44>>2]<1|j[a+48>>2]<1){break a}d=a+36|0}b=j[a+20>>2];if(!b){x=ve(44989,0);break a}t=j[a+16>>2];a=k[j[a+4>>2]+9|0];e=(b+p(t,j[d+4>>2])|0)+p(a,j[d>>2])|0;c:{switch(a-1|0){case 0:f=j[d+12>>2];if(!f){break a}a=c<<8|c;v=a<<16|a;r=j[d+8>>2];n=r-2|0;u=r-1|0;s=(r|0)<4;while(1){b=r;l=e;d:{if(s){break d}g=u;m=g;d=e;a=d;l=a;e:{switch((a&3)-1|0){case 0:h[e|0]=c;d=e+1|0;g=n;case 1:h[d|0]=c;m=g-1|0;a=d+1|0;case 2:h[a|0]=c;l=a+1|0;b=m;break;default:break e}}a=b>>>2|0;if(!a){break d}q=a+3>>>2|0;o=l;d=l;m=d;g=d;f:{g:{switch((a&3)-1|0){default:a=0;break f;case 0:a=3;break f;case 1:a=2;break f;case 2:break g}}a=1}while(1){h:{switch(a|0){case 0:j[o>>2]=v;d=o+4|0;a=1;continue;case 1:j[d>>2]=v;m=d+4|0;a=2;continue;case 2:j[m>>2]=v;g=m+4|0;a=3;continue;default:break h}}j[g>>2]=v;q=q-1|0;if(!q){break d}o=g+4|0;a=0;continue}}f=f-1|0;d=b&3;i:{if(!d){break i}a=(b&-4)+l|0;j:{switch(d-1|0){case 2:h[a|0]=c;a=a+1|0;case 1:h[a|0]=c;a=a+1|0;break;case 0:break j;default:break i}}h[a|0]=c}e=e+t|0;if(f){continue}break}break a;case 3:m=j[d+12>>2];if(!m){break a}n=j[d+8>>2];u=n&3;o=n+3>>>2|0;while(1){m=m-1|0;k:{if(!n){break k}d=o;f=e;b=e;l=e;g=e;l:{m:{switch(u-1|0){default:a=0;break l;case 0:a=3;break l;case 1:a=2;break l;case 2:break m}}a=1}while(1){n:{switch(a|0){case 0:j[f>>2]=c;b=f+4|0;a=1;continue;case 1:j[b>>2]=c;l=b+4|0;a=2;continue;case 2:j[l>>2]=c;g=l+4|0;a=3;continue;default:break n}}j[g>>2]=c;d=d-1|0;if(!d){break k}f=g+4|0;a=0;continue}}e=e+t|0;if(m){continue}break}break a;case 2:f=j[d+12>>2];if(!f){break a}g=c>>>16|0;l=c>>>8|0;d=j[d+8>>2];while(1){f=f-1|0;a=e;b=d;if(d){while(1){h[a+2|0]=g;h[a+1|0]=l;h[a|0]=c;a=a+3|0;b=b-1|0;if(b){continue}break}}e=e+t|0;if(f){continue}break}break a;case 1:break c;default:break a}}f=j[d+12>>2];if(!f){break a}s=c<<16|c;n=j[d+8>>2];u=n-1|0;r=(n|0)<2;while(1){b=n;l=e;o:{if(r){break o}if(e&2){i[e>>1]=c;l=e+2|0;b=u}a=b>>>1|0;if(!a){break o}q=a+3>>>2|0;o=l;d=l;m=d;g=d;p:{q:{switch((a&3)-1|0){default:a=0;break p;case 0:a=3;break p;case 1:a=2;break p;case 2:break q}}a=1}while(1){r:{switch(a|0){case 0:j[o>>2]=s;d=o+4|0;a=1;continue;case 1:j[d>>2]=s;m=d+4|0;a=2;continue;case 2:j[m>>2]=s;g=m+4|0;a=3;continue;default:break r}}j[g>>2]=s;q=q-1|0;if(!q){break o}o=g+4|0;a=0;continue}}f=f-1|0;if(b&1){i[((b<<1)+l|0)-2>>1]=c}e=e+t|0;if(f){continue}break}}oe=w+16|0;return x}function jn(a,b,c,d){var e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;q=oe-32|0;oe=q;o=j[c+4>>2];a:{if(j[j[a+4>>2]>>2]!=j[o>>2]){m=ve(55756,0);break a}v=k[o+9|0];b:{if(b){o=j[b>>2];c:{if((o|0)<0){break c}g=j[b+4>>2];if((g|0)<0|j[a+8>>2]<(o+j[b+8>>2]|0)){break c}if(j[a+12>>2]>=(g+j[b+12>>2]|0)){break b}}m=ve(55793,0);break a}j[q+16>>2]=0;j[q+20>>2]=0;j[q+24>>2]=j[a+8>>2];j[q+28>>2]=j[a+12>>2];b=q+16|0}d:{if(d){o=j[d>>2];e:{if((o|0)<0){break e}g=j[d+4>>2];if((g|0)<0|j[c+8>>2]<(o+j[d+8>>2]|0)){break e}if(j[c+12>>2]>=(g+j[d+12>>2]|0)){break d}}m=ve(55823,0);break a}j[q>>2]=0;j[q+4>>2]=0;j[q+8>>2]=j[c+8>>2];j[q+12>>2]=j[c+12>>2];d=q}f:{w=j[c>>2]&2;if(!w){break f}if((Eg(c)|0)>-1){break f}m=ve(55858,0);break a}g:{x=j[a>>2]&2;if(!x){break g}if((Eg(a)|0)>-1){break g}if(w){jg(c)}m=ve(55893,0);break a}o=j[d+12>>2];z=(j[b+12>>2]<<16)/(o|0)|0;if((o|0)>=1){u=j[d+4>>2];A=o+u|0;y=j[b+4>>2];o=0;B=v-1|0;s=65536;while(1){g=p(j[d>>2],v);r=j[c+20>>2]+p(j[c+16>>2],u)|0;if((s|0)>=65536){e=(s-((s|0)<131071?s:131071)|0)+65535|0;m=(e>>>16|0)+y|0;o=(j[a+20>>2]+p(m,j[a+16>>2])|0)+p(j[b>>2],v)|0;y=m+1|0;s=(s-(e&-65536)|0)-65536|0}m=g+r|0;h:{i:{switch(B|0){case 0:n=j[d+8>>2];if((n|0)<1){break h}r=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;g=o;while(1){if((e|0)>=65536){f=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(f&-65536)|0)-65536|0;f=(f>>>16|0)+g|0;g=f+1|0;f=k[f|0]}h[m|0]=f;e=e+r|0;m=m+1|0;t=(n|0)>1;n=n-1|0;if(t){continue}break}break h;case 1:n=j[d+8>>2];if((n|0)<1){break h}r=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;g=o;while(1){if((e|0)>=65536){f=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(f&-65536)|0)-65536|0;f=(f>>>15&131070)+g|0;g=f+2|0;f=l[f>>1]}i[m>>1]=f;e=e+r|0;m=m+2|0;t=(n|0)>1;n=n-1|0;if(t){continue}break}break h;case 2:n=j[d+8>>2];if((n|0)<1){break h}C=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;t=0;g=0;r=o;while(1){if((e|0)>=65536){g=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(g&-65536)|0)-65536|0;g=p(g>>>16|0,3)+r|0;r=g+3|0;f=k[g+2|0];t=k[g+1|0];g=k[g|0]}h[m+2|0]=f;h[m+1|0]=t;h[m|0]=g;e=e+C|0;m=m+3|0;D=(n|0)>1;n=n-1|0;if(D){continue}break}break h;case 3:break i;default:break h}}n=j[d+8>>2];if((n|0)<1){break h}r=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;g=o;while(1){if((e|0)>=65536){f=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(f&-65536)|0)-65536|0;f=(f>>>14&262140)+g|0;g=f+4|0;f=j[f>>2]}j[m>>2]=f;e=e+r|0;m=m+4|0;t=(n|0)>1;n=n-1|0;if(t){continue}break}}s=s+z|0;u=u+1|0;if((A|0)>(u|0)){continue}break}}if(w){jg(c)}m=0;if(!x){break a}jg(a)}oe=q+32|0;return m}function Ir(a,b,c){var d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0;a:{b:{c:{n=k[a+443|0];if(n){d=j[a+348>>2];f=j[a+404>>2];if((f|0)!=((n>>>0>=8?p(n>>>3|0,d):p(d,n)+7>>>3|0)|0)?f:0){break c}if(!d){break b}m=j[a+384>>2];o=k[a+433|0];r=p(d,n);g=r&7;d:{if(!g){f=0;q=0;break d}f=((n>>>0>7?p(n>>>3|0,d):r+7>>>3|0)+b|0)-1|0;s=k[f|0];q=255<>>g|0}m=m+1|0;e:{f:{g:{if(!k[a+432|0]|o>>>0>5){break g}e=j[a+216>>2];if(!(e&2)){break g}h:{i:{switch(c|0){case 0:g=o&1;break h;case 1:break i;default:break g}}g=1;if(!(o&1)){break g}}g=g<<3-(o+1>>>1|0)&7;if(g>>>0>=d>>>0){break e}if(n>>>0<=7){g=(n|0)==1?0:(n|0)==2?1:2;r=8/(n>>>0)|0;j:{if(e&65536){a=(p(g,12)+(o<<1&508)|0)+6880|0;if(c){break j}a=(p(g,24)+(o<<2)|0)+6736|0;break j}a=(p(g,12)+(o<<1&508)|0)+6916|0;if(c){break j}a=(p(g,24)+(o<<2)|0)+6808|0}a=j[a>>2];while(1){g=a&255;if(g){c=b;if((g|0)!=255){o=k[m|0]&a|k[b|0]&(a^-1)}else{o=k[m|0]}h[c|0]=o}a=lP(a,24);m=m+1|0;b=b+1|0;c=d>>>0>r>>>0;d=d-r|0;if(c){continue}break}break f}if(n&7){break a}q=n>>>3|0;g=p(q,g);e=p(d,q)-g|0;f=q;if(c){a=q<<(6-o>>>1);f=a>>>0>e>>>0?e:a}a=g+m|0;d=b+g|0;c=q<<(7-o>>>1);k:{switch(f-1|0){case 2:h[d|0]=k[a|0];h[d+1|0]=k[a+1|0];h[d+2|0]=k[a+2|0];if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;h[d|0]=k[a|0];h[d+1|0]=k[a+1|0];h[d+2|0]=k[a+2|0];e=e-c|0;if(c>>>0>>0){continue}break}break e;case 0:h[d|0]=k[a|0];if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;h[d|0]=k[a|0];e=e-c|0;if(c>>>0>>0){continue}break}break e;case 1:while(1){h[d|0]=k[a|0];h[d+1|0]=k[a+1|0];if(c>>>0>=e>>>0){break e}d=c+d|0;a=a+c|0;e=e-c|0;if(e>>>0>1){continue}break}h[d|0]=k[a|0];return;default:break k}}l:{if(d&1|f>>>0>15){break l}b=a|c;if((b|f)&1){break l}if(!((b|d|f)&3)){b=c-f>>>2<<2;while(1){m=f;while(1){j[d>>2]=j[a>>2];d=d+4|0;a=a+4|0;m=m-4|0;if(m){continue}break}if(c>>>0>=e>>>0){break e}a=a+b|0;d=b+d|0;e=e-c|0;if(f>>>0<=e>>>0){continue}break}while(1){h[d|0]=k[a|0];d=d+1|0;a=a+1|0;e=e-1|0;if(e){continue}break}break e}b=c-f>>>1<<1;while(1){m=f;while(1){i[d>>1]=l[a>>1];d=d+2|0;a=a+2|0;m=m-2|0;if(m){continue}break}if(c>>>0>=e>>>0){break e}a=a+b|0;d=b+d|0;e=e-c|0;if(f>>>0<=e>>>0){continue}break}while(1){h[d|0]=k[a|0];d=d+1|0;a=a+1|0;e=e-1|0;if(e){continue}break}break e}Ae(d,a,f);if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;e=e-c|0;f=e>>>0>>0?e:f;Ae(d,a,f);if(c>>>0>>0){continue}break}break e}Ae(b,m,n>>>0>7?p(n>>>3|0,d):r+7>>>3|0)}if(!f){break e}h[f|0]=k[f|0]&(q^-1)|q&s}return}Ye(a,6646);z()}Ye(a,6671);z()}Ye(a,6707);z()}Ye(a,6952);z()}function Hq(a,b,c){var d=0,e=0,f=0,g=0,n=0,o=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(j[a+100>>2]){case 0:f=j[a+72>>2];if((f|0)<(c|0)){j:{if(j[a+92>>2]){e=j[a+40>>2];break j}e=j[a+40>>2];j[a+92>>2]=e;j[a+88>>2]=e;e=e+32|0;j[a+40>>2]=e}if(m[a+36>>2]>e>>>0){g=j[a+4>>2];n=j[a+8>>2];d=j[a+88>>2];j[d+16>>2]=0;j[d+20>>2]=0;j[d+8>>2]=e;j[d+28>>2]=0;j[d+4>>2]=0;i[d+12>>1]=k[a+176|0]|((n|0)>(((f+g|0)-1&0-g)-f|0)?8:40);if(!j[a+96>>2]){j[a+96>>2]=d}break f}break a}if((c|0)>=(f|0)){break c}k:{if(j[a+92>>2]){e=j[a+40>>2];break k}e=j[a+40>>2];j[a+92>>2]=e;j[a+88>>2]=e;e=e+32|0;j[a+40>>2]=e}if(m[a+36>>2]>e>>>0){g=j[a+4>>2];n=j[a+8>>2];d=j[a+88>>2];j[d+16>>2]=0;j[d+20>>2]=0;j[d+8>>2]=e;j[d+28>>2]=0;j[d+4>>2]=0;e=k[a+176|0];i[d+12>>1]=(n|0)>(f&g-1)?e:e|16;if(!j[a+96>>2]){j[a+96>>2]=d}break h}break a;case 2:break g;case 1:break i;default:break c}}d=j[a+72>>2];if((d|0)<=(c|0)){break e}f=j[a+40>>2];e=j[a+88>>2];g=f-j[e+8>>2]|0;if((g|0)<=-1){j[a+44>>2]=99;return 1}n=j[a+4>>2]-1&d;o=j[a+8>>2];l:{if(!g){d=f;break l}j[e+16>>2]=g>>2;if((n|0)>=(o|0)){d=l[e+12>>1];i[e+12>>1]=(d&8?16:32)|d}j[a+88>>2]=f;d=f+32|0;j[a+40>>2]=d;j[f+8>>2]=d;j[f+16>>2]=0;j[e+28>>2]=f;i[a+84>>1]=l[a+84>>1]+1;e=f}g=j[a+36>>2];if(g>>>0<=d>>>0){break a}h[a+87|0]=0;if(!j[a+92>>2]){j[a+92>>2]=d;j[a+88>>2]=d;f=d+32|0;j[a+40>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}j[e+16>>2]=0;j[e+20>>2]=0;j[e+8>>2]=d;j[e+28>>2]=0;j[e+4>>2]=0;d=k[a+176|0];i[e+12>>1]=(n|0)<(o|0)?d:d|16;if(!j[a+96>>2]){j[a+96>>2]=e}}h[a+86|0]=1;j[a+100>>2]=2;h[a+87|0]=0;d=j[a+72>>2];break d}d=j[a+72>>2];if((d|0)>=(c|0)){break d}f=j[a+40>>2];e=j[a+88>>2];g=f-j[e+8>>2]|0;if((g|0)<=-1){j[a+44>>2]=99;return 1}n=j[a+4>>2];n=((n+d|0)-1&0-n)-d|0;o=j[a+8>>2];m:{if(!g){d=f;break m}j[e+16>>2]=g>>2;if((n|0)>=(o|0)){d=l[e+12>>1];i[e+12>>1]=(d&8?16:32)|d}j[a+88>>2]=f;d=f+32|0;j[a+40>>2]=d;j[f+8>>2]=d;j[f+16>>2]=0;j[e+28>>2]=f;i[a+84>>1]=l[a+84>>1]+1;e=f}g=j[a+36>>2];if(g>>>0<=d>>>0){break a}h[a+87|0]=0;if(!j[a+92>>2]){j[a+92>>2]=d;j[a+88>>2]=d;f=d+32|0;j[a+40>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}j[e+16>>2]=0;j[e+20>>2]=0;j[e+8>>2]=d;j[e+28>>2]=0;j[e+4>>2]=0;i[e+12>>1]=k[a+176|0]|((n|0)<(o|0)?8:40);if(!j[a+96>>2]){j[a+96>>2]=e}}h[a+86|0]=1;j[a+100>>2]=1;h[a+87|0]=0;d=j[a+72>>2]}f=1;if(Fq(a,j[a+68>>2],d,b,c,j[a+76>>2],j[a+80>>2])){break b}break c}e=k[a+86|0];d=Fq(a,j[a+68>>2],0-d|0,b,0-c|0,0-j[a+80>>2]|0,0-j[a+76>>2]|0);if(!(k[a+86|0]|!e)){e=j[a+88>>2];j[e+20>>2]=0-j[e+20>>2]}f=1;if(d){break b}}j[a+72>>2]=c;j[a+68>>2]=b;f=0}return f}j[a+44>>2]=98;return 1}function Mp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0;e=oe-416|0;oe=e;d=-131;f=j[a+88>>2];a:{if((f|0)<2){break a}if(!j[a+4>>2]){d=-138;break a}if((c|0)<0){break a}g=j[a+20>>2];if((c|0)>(g|0)?1:(c|0)>=(g|0)?b>>>0>m[a+16>>2]:0){break a}b:{if((f|0)<3){break b}f=j[a+56>>2];d=j[a+96>>2];g=f+(d<<3)|0;h=m[g>>2]<=b>>>0;g=j[g+4>>2];if((c|0)>(g|0)?1:(g|0)<=(c|0)?h:0){d=f+(d<<3)|0;h=b>>>0>2];d=j[d+12>>2];if((c|0)<(d|0)?1:(c|0)<=(d|0)?h:0){break b}}Cg(a+480|0);ah(a+592|0);j[a+88>>2]=2}j[a+80>>2]=-1;j[a+84>>2]=-1;f=a+120|0;sh(f,j[a+92>>2]);g=a+480|0;Il(g);c:{d:{d=j[a>>2];if(!d){break d}if(j[a+8>>2]!=(b|0)|j[a+12>>2]!=(c|0)){h=j[a+708>>2];if(!h){break d}if((qe[h|0](d,b,c,0)|0)==-1){break d}j[a+8>>2]=b;j[a+12>>2]=c;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}Cp(e+56|0,j[a+92>>2]);n=a+592|0;IE(e+56|0);b=0;while(1){e:{if(j[a+88>>2]<3){break e}if((mg(e+56|0,e+8|0)|0)<1){break e}c=j[a+72>>2]+(j[a+96>>2]<<5)|0;if(j[c+28>>2]){c=Gl(c,e+8|0);f:{if((c|0)<=-1){mg(f,0);b=0;break f}g:{if(!(o|!p)){mg(f,0);break g}if(!b){break g}l=(b+c>>2)+l|0}b=c}c=j[e+24>>2];d=j[e+28>>2];if((c|0)==-1&(d|0)==-1){continue}h=j[a+68>>2];f=j[a+96>>2];b=h+(f<<4)|0;g=j[b>>2];i=c-g|0;c=d-(j[b+4>>2]+(c>>>0>>0)|0)|0;d=(c|0)>0?1:(c|0)>=0?!!i:0;b=d?i:0;c=d?c:0;if((f|0)>=1){d=0;while(1){i=h+(d<<4|8)|0;g=b+j[i>>2]|0;c=j[i+4>>2]+c|0;c=b>>>0>g>>>0?c+1|0:c;b=g;d=d+1|0;if((f|0)!=(d|0)){continue}break}}d=l;f=b-d|0;c=c-((d>>31)+(b>>>0>>0)|0)|0;l=(c|0)>0?1:(c|0)>=0?!!f:0;b=l?f:0;c=l?c:0;break c}mg(f,0)}if(b){b=-1;c=-1;break c}q=Of(a,e+40|0,-1,-1);b=pe;h=b;if((b|0)<-1?1:(b|0)<=-1){b=si(a,-1);c=pe;break c}h:{if(j[a+88>>2]>=3){b=j[e+40>>2];if(!(!(k[j[e+40>>2]+5|0]&2)|j[a+92>>2]==(k[b+14|0]|k[b+15|0]<<8|(k[b+16|0]<<16|k[b+17|0]<<24)))){Cg(g);ah(n);j[a+88>>2]=2;ck(e+56|0)}if(j[a+88>>2]>2){break h}}b=j[e+40>>2];c=k[b+14|0]|k[b+15|0]<<8|(k[b+16|0]<<16|k[b+17|0]<<24);b=0;d=0;i=j[a+52>>2];i:{if((i|0)<1){break i}r=j[a+64>>2];while(1){if(j[(d<<2)+r>>2]==(c|0)){break i}d=d+1|0;if((i|0)>(d|0)){continue}break}}if((d|0)==(i|0)){continue}j[a+92>>2]=c;j[a+96>>2]=d;sh(f,c);sh(e+56|0,c);j[a+88>>2]=3;b=j[a+60>>2]+(d<<3)|0;c=m[b>>2]>=q>>>0;b=j[b+4>>2];o=(b|0)>(h|0)?1:(b|0)>=(h|0)?c:0}Ng(f,e+40|0);Ng(e+56|0,e+40|0);b=0;p=k[j[e+40>>2]+5|0]&4;continue}}j[a+80>>2]=-1;j[a+84>>2]=-1;ck(e+56|0);Cg(g);ah(a+592|0);j[a+88>>2]=2;d=-137;break a}j[a+80>>2]=b;j[a+84>>2]=c;ck(e+56|0);j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0;d=0}oe=e+416|0;return d}function jK(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,k=0,l=0,m=0,n=0;h=oe-96|0;oe=h;j[h+80>>2]=0;j[h+84>>2]=0;j[h+72>>2]=0;j[h+76>>2]=0;g=h- -64|0;j[g>>2]=0;j[g+4>>2]=0;j[h+56>>2]=0;j[h+60>>2]=0;j[h+48>>2]=0;j[h+52>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;g=xe(a,8,0,c+10|0,0,h+92|0);j[b+20>>2]=g;k=j[h+92>>2];if(!k){a:{if(!c){break a}while(1){k=qe[d|0](f,m)|0;b:{if(!k){break b}i=0;c:{d:{if(!we(150496,k)){break d}i=1;if(!we(150502,k)){break d}i=2;if(!we(150508,k)){break d}i=3;if(!we(150517,k)){break d}i=4;if(!we(150524,k)){break d}i=5;if(!we(150531,k)){break d}i=6;if(!we(150534,k)){break d}i=7;if(!we(150549,k)){break d}i=8;if(!we(150555,k)){break d}if(we(150568,k)){break c}i=9}l=i<<2;i=l+(h+48|0)|0;if(j[i>>2]){break c}j[i>>2]=1;j[h+l>>2]=m}i=Sq(k);if(i&2147483647){n=h+48|0;e:{f:{g:{h:{i:{j:{k:{l:{m:{if((i|0)<=915){n:{switch(i-160|0){case 0:break i;case 13:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break e;default:break n}}switch(i-538|0){case 1:break g;case 0:break h;default:break l}}o:{p:{switch(i-937|0){default:q:{switch(i-8725|0){case 4:break j;case 0:break o;case 1:case 2:case 3:break e;default:break q}}l=0;if((i|0)==916){break f}break e;case 19:break k;case 0:break p;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break e}}l=1;break f}l=2;break f}l=3;break f}if((i|0)!=713){break e}l=4;break f}l=5;break f}l=6;break f}l=7;break f}l=8;break f}l=9}j[n+(l<<2)>>2]=2}j[g+4>>2]=m;j[g>>2]=i;g=g+8|0}if(!e){break b}qe[e|0](f,k)}m=m+1|0;if((m|0)!=(c|0)){continue}break}if(j[h+48>>2]!=1){break a}j[g>>2]=916;j[g+4>>2]=j[h>>2];g=g+8|0}if(j[h+52>>2]==1){j[g>>2]=937;j[g+4>>2]=j[h+4>>2];g=g+8|0}if(j[h+56>>2]==1){j[g>>2]=8725;j[g+4>>2]=j[h+8>>2];g=g+8|0}if(j[h+60>>2]==1){j[g>>2]=173;j[g+4>>2]=j[h+12>>2];g=g+8|0}if(j[h+64>>2]==1){j[g>>2]=713;j[g+4>>2]=j[h+16>>2];g=g+8|0}if(j[h+68>>2]==1){j[g>>2]=956;j[g+4>>2]=j[h+20>>2];g=g+8|0}if(j[h+72>>2]==1){j[g>>2]=8729;j[g+4>>2]=j[h+24>>2];g=g+8|0}if(j[h+76>>2]==1){j[g>>2]=160;j[g+4>>2]=j[h+28>>2];g=g+8|0}if(j[h+80>>2]==1){j[g>>2]=538;j[g+4>>2]=j[h+32>>2];g=g+8|0}if(j[h+84>>2]==1){j[g>>2]=539;j[g+4>>2]=j[h+36>>2];g=g+8|0}k=j[b+20>>2];e=g-k|0;d=e>>3;r:{if(!e){if(k){qe[j[a+8>>2]](a,k)}j[b+20>>2]=0;a=j[h+92>>2];k=a?a:163;break r}if(d>>>0>>1>>>0){k=xe(a,8,c,d,k,h+92|0);j[b+20>>2]=k;j[h+92>>2]=0}fg(k,d,8,763);k=j[h+92>>2]}j[b+16>>2]=d}oe=h+96|0;return k|0}function Rq(a,b,c){var d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=j[a>>2];e=k[a+8|0];a:{if(!e){m=c?l[c+8>>1]:0;d=k[a+9|0];if(d>>>0<=7){b:{c:{switch(d-1|0){case 0:m=p(m&1,255);if(!f){break b}g=b+f|0;d=0-f&7;e=(f-1>>>3|0)+b|0;while(1){g=g-1|0;h[g|0]=k[e|0]>>>d&1?-1:0;i=(d|0)==7;d=i?0:d+1|0;e=i?e-1|0:e;n=n+1|0;if((n|0)!=(f|0)){continue}break}break b;case 1:m=p(m&3,85);if(!f){break b}n=b+f|0;d=(f-1>>>2|0)+b|0;e=((f<<1)+6^-1)&6;while(1){n=n-1|0;i=k[d|0]>>>e&3;h[n|0]=i<<2|i|i<<4|i<<6;i=(e|0)==6;e=i?0:e+2|0;d=i?d-1|0:d;g=g+1|0;if((g|0)!=(f|0)){continue}break}break b;case 3:break c;default:break b}}m=p(m&15,17);if(!f){break b}g=b+f|0;d=f<<2&4;e=(f-1>>>1|0)+b|0;while(1){g=g-1|0;i=k[e|0]>>>d&15;h[g|0]=i<<4|i;e=(d|0)==4?e-1|0:e;d=((d|0)!=4)<<2;n=n+1|0;if((n|0)!=(f|0)){continue}break}}h[a+11|0]=8;h[a+9|0]=8;j[a+4>>2]=f;d=8}if(!c){break a}d:{e:{switch(d-8|0){case 0:if(!f){break d}d=b+f|0;e=(f<<1)+b|0;b=m&255;g=0;while(1){d=d-1|0;h[e-1|0]=(b|0)!=k[d|0]?-1:0;e=e-2|0;h[e|0]=k[d|0];g=g+1|0;if((g|0)!=(f|0)){continue}break}break d;case 8:break e;default:break d}}if(!f){break d}g=m>>>8|0;c=j[a+4>>2];e=c+b|0;d=(c<<1)+b|0;n=0;m=m&255;while(1){c=e-1|0;i=d-1|0;e=e-2|0;f:{if((g|0)==k[e|0]){b=0;if((m|0)==k[c|0]){break f}}b=255}h[i|0]=b;h[d-2|0]=b;h[d-3|0]=k[c|0];d=d-4|0;h[d|0]=k[e|0];n=n+1|0;if((n|0)!=(f|0)){continue}break}}h[a+10|0]=2;h[a+8|0]=4;b=k[a+9|0]<<1;h[a+11|0]=b;b=b&254;if(b>>>0>=8){j[a+4>>2]=p(b>>>3|0,f);return}j[a+4>>2]=p(b,f)+7>>>3;return}if(!c|(e|0)!=2){break a}g:{h:{switch(k[a+9|0]-8|0){case 0:if(!f){break g}d=(f<<2)+b|0;e=j[a+4>>2]+b|0;n=l[c+2>>1]&255;i=l[c+4>>1]&255;o=l[c+6>>1]&255;while(1){c=e-1|0;q=d-1|0;b=e-3|0;i:{if(!((n|0)!=k[b|0]|(i|0)!=k[e-2|0])){m=0;if((o|0)==k[c|0]){break i}}m=255}h[q|0]=m;h[d-2|0]=k[c|0];h[d-3|0]=k[e-2|0];d=d-4|0;h[d|0]=k[b|0];e=b;g=g+1|0;if((g|0)!=(f|0)){continue}break}break g;case 8:break h;default:break g}}if(!f){break g}g=l[c+6>>1];i=g>>>8|0;o=l[c+4>>1];q=o>>>8|0;c=l[c+2>>1];r=c>>>8|0;d=(f<<3)+b|0;e=j[a+4>>2]+b|0;s=c&255;while(1){m=e-1|0;t=d-1|0;b=e-6|0;j:{k:{if(k[b|0]!=(r|0)|k[e-5|0]!=(s|0)|(k[e-4|0]!=(q|0)|k[e-3|0]!=(o&255))){break k}if((i|0)!=k[e-2|0]){break k}c=0;if(k[m|0]==(g&255)){break j}}c=255}h[t|0]=c;h[d-2|0]=c;h[d-3|0]=k[m|0];h[d-4|0]=k[e-2|0];h[d-5|0]=k[e-3|0];h[d-6|0]=k[e-4|0];h[d-7|0]=k[e-5|0];d=d-8|0;h[d|0]=k[b|0];e=b;n=n+1|0;if((n|0)!=(f|0)){continue}break}}h[a+10|0]=4;h[a+8|0]=6;b=k[a+9|0]<<2;h[a+11|0]=b;b=b&252;l:{if(b>>>0>=8){b=p(b>>>3|0,f);break l}b=p(b,f)+7>>>3|0}j[a+4>>2]=b}}function YF(a,b,c){var d=0,e=0,f=0,g=q(0),h=0,i=0,k=q(0),l=q(0),m=0,o=0,p=q(0),r=q(0),s=q(0),t=q(0),u=q(0),v=0,w=0,x=0;i=j[a>>2];x=i>>2;v=i>>1;e=v<<2;m=e+b|0;d=m-28|0;w=c+e|0;e=i&-4;i=w+e|0;f=i;h=e+j[a+8>>2]|0;e=h;while(1){o=f-16|0;n[o>>2]=q(n[e+12>>2]*q(-n[d+8>>2]))-q(n[d>>2]*n[e+8>>2]);n[f-12>>2]=q(n[d>>2]*n[e+12>>2])-q(n[d+8>>2]*n[e+8>>2]);n[f-8>>2]=q(n[e+4>>2]*q(-n[d+24>>2]))-q(n[d+16>>2]*n[e>>2]);n[f-4>>2]=q(n[d+16>>2]*n[e+4>>2])-q(n[d+24>>2]*n[e>>2]);e=e+16|0;f=o;d=d-32|0;if(d>>>0>=b>>>0){continue}break}d=m-32|0;e=i;while(1){f=h-4|0;o=h-8|0;n[e>>2]=q(n[d+16>>2]*n[f>>2])+q(n[d+24>>2]*n[o>>2]);n[e+4>>2]=q(n[d+16>>2]*n[o>>2])-q(n[d+24>>2]*n[f>>2]);f=h-12|0;h=h-16|0;n[e+8>>2]=q(n[d>>2]*n[f>>2])+q(n[d+8>>2]*n[h>>2]);n[e+12>>2]=q(n[d>>2]*n[h>>2])-q(n[d+8>>2]*n[f>>2]);e=e+16|0;d=d-32|0;if(d>>>0>=b>>>0){continue}break}Zp(a,w,v);o=j[a+8>>2];b=j[a>>2];d=o+(b<<2)|0;e=j[a+12>>2];b=(b<<1&-4)+c|0;h=b;f=c;while(1){a=b+(j[e>>2]<<2)|0;g=n[a+4>>2];m=b+(j[e+4>>2]<<2)|0;k=n[m+4>>2];l=q(q(g+k)*q(.5));p=n[a>>2];r=n[m>>2];s=q(p+r);t=n[d>>2];g=q(g-k);k=n[d+4>>2];u=q(q(s*t)+q(g*k));n[f>>2]=l+u;n[h-8>>2]=l-u;l=q(q(p-r)*q(.5));g=q(q(s*k)-q(g*t));n[f+4>>2]=l+g;n[h-4>>2]=g-l;a=b+(j[e+8>>2]<<2)|0;g=n[a+4>>2];m=b+(j[e+12>>2]<<2)|0;k=n[m+4>>2];l=q(q(g+k)*q(.5));p=n[a>>2];r=n[m>>2];s=q(p+r);t=n[d+8>>2];g=q(g-k);k=n[d+12>>2];u=q(q(s*t)+q(g*k));n[f+8>>2]=l+u;a=h-16|0;n[a>>2]=l-u;l=q(q(p-r)*q(.5));g=q(q(s*k)-q(g*t));n[f+12>>2]=l+g;n[h-12>>2]=g-l;e=e+16|0;d=d+16|0;f=f+16|0;h=a;if(f>>>0>>0){continue}break}d=o+(v<<2)|0;f=i;h=f;e=c;while(1){n[f-4>>2]=q(n[e>>2]*n[d+4>>2])-q(n[e+4>>2]*n[d>>2]);n[h>>2]=-q(q(n[e>>2]*n[d>>2])+q(n[e+4>>2]*n[d+4>>2]));n[f-8>>2]=q(n[e+8>>2]*n[d+12>>2])-q(n[e+12>>2]*n[d+8>>2]);n[h+4>>2]=-q(q(n[e+8>>2]*n[d+8>>2])+q(n[e+12>>2]*n[d+12>>2]));n[f-12>>2]=q(n[e+16>>2]*n[d+20>>2])-q(n[e+20>>2]*n[d+16>>2]);n[h+8>>2]=-q(q(n[e+16>>2]*n[d+16>>2])+q(n[e+20>>2]*n[d+20>>2]));f=f-16|0;n[f>>2]=q(n[e+24>>2]*n[d+28>>2])-q(n[e+28>>2]*n[d+24>>2]);n[h+12>>2]=-q(q(n[e+24>>2]*n[d+24>>2])+q(n[e+28>>2]*n[d+28>>2]));d=d+32|0;h=h+16|0;e=e+32|0;if(f>>>0>e>>>0){continue}break}f=(x<<2)+c|0;d=f;e=i;while(1){g=n[e-4>>2];n[f-4>>2]=g;n[d>>2]=-g;g=n[e-8>>2];n[f-8>>2]=g;n[d+4>>2]=-g;g=n[e-12>>2];n[f-12>>2]=g;n[d+8>>2]=-g;f=f-16|0;e=e-16|0;g=n[e>>2];n[f>>2]=g;n[d+12>>2]=-g;d=d+16|0;if(e>>>0>d>>>0){continue}break}d=i;while(1){a=i-16|0;n[a>>2]=n[d+12>>2];n[i-12>>2]=n[d+8>>2];n[i-8>>2]=n[d+4>>2];n[i-4>>2]=n[d>>2];d=d+16|0;i=a;if(a>>>0>w>>>0){continue}break}}function sk(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0;l=oe-16|0;oe=l;f=He(j[a+100>>2],j[a+16>>2]+216|0,l+8|0);d=j[l+8>>2];if(!d){j[f>>2]=a;d=j[a+16>>2];j[f+212>>2]=c;c=f+216|0;j[f+8>>2]=c;j[f+4>>2]=d;o=j[a+92>>2];g=Ee(c,127,d);a:{if(qk(a)){break a}d=71936;while(1){c=j[j[(j[d+8>>2]<<2)+73072>>2]+4>>2];b:{if(!c|j[d+16>>2]!=10){break b}d=j[c>>2];if(!d){break b}while(1){e=c;c=0;c:{if(!a){break c}i=j[a+92>>2];if(!i){break c}c=qe[j[j[i+12>>2]+12>>2]](i,d)|0}j[l+12>>2]=c;d:{if(!c|m[f+4>>2]<=c>>>0){break d}c=c+g|0;if(k[c|0]!=127){break d}h[c|0]=n}d=Vr(a,d,l+12|0);while(1){c=j[l+12>>2];if(!(!c|m[e+4>>2]>>0)){e:{if(c>>>0>=m[f+4>>2]){break e}c=c+g|0;if(k[c|0]!=127){break e}h[c|0]=n}d=Vr(a,d,l+12|0);continue}break}c=e+8|0;d=j[e+8>>2];if(d){continue}break}}n=n+1|0;d=j[(n<<2)+73168>>2];if((n|0)!=49){continue}break}d=0;c=a;f:{if(!c){break f}e=j[c+92>>2];if(!e){break f}d=qe[j[j[e+12>>2]+12>>2]](e,48)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;g:{if(!c){break g}e=j[c+92>>2];if(!e){break g}d=qe[j[j[e+12>>2]+12>>2]](e,49)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;h:{if(!c){break h}e=j[c+92>>2];if(!e){break h}d=qe[j[j[e+12>>2]+12>>2]](e,50)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;i:{if(!c){break i}e=j[c+92>>2];if(!e){break i}d=qe[j[j[e+12>>2]+12>>2]](e,51)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;j:{if(!c){break j}e=j[c+92>>2];if(!e){break j}d=qe[j[j[e+12>>2]+12>>2]](e,52)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;k:{if(!c){break k}e=j[c+92>>2];if(!e){break k}d=qe[j[j[e+12>>2]+12>>2]](e,53)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;l:{if(!c){break l}e=j[c+92>>2];if(!e){break l}d=qe[j[j[e+12>>2]+12>>2]](e,54)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;m:{if(!c){break m}e=j[c+92>>2];if(!e){break m}d=qe[j[j[e+12>>2]+12>>2]](e,55)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;n:{if(!c){break n}e=j[c+92>>2];if(!e){break n}d=qe[j[j[e+12>>2]+12>>2]](e,56)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;o:{if(!c){break o}c=j[a+92>>2];if(!c){break o}d=qe[j[j[c+12>>2]+12>>2]](c,57)|0}if(!d|d>>>0>=m[f+4>>2]){break a}c=d+g|0;h[c|0]=k[c|0]|128}e=j[f+212>>2];p:{if(j[e+12>>2]==127){break p}n=j[f+4>>2];if((n|0)<1){break p}d=0;while(1){c=d+g|0;i=k[c|0];if((i&127)==127){i=i&128;h[c|0]=i;h[c|0]=i|k[e+12|0]}d=d+1|0;if((n|0)>(d|0)){continue}break}}Uh(a,o);j[f+12>>2]=0;d=0}j[b>>2]=f;oe=l+16|0;return d}function cN(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0;a:{if(!a){break a}i=j[a+100>>2];b=j[a+532>>2];if(b){qe[j[b+12>>2]](a)}c=j[a+656>>2];if(!c){break a}f=j[c+4>>2];b=j[c+84>>2];if(b){d=j[b+28>>2];e=c+112|0;if(j[e>>2]){jf(b,e)}b=j[c+108>>2];if(b){qe[j[d+8>>2]](d,b)}j[c+108>>2]=0;j[c+112>>2]=0;j[c+100>>2]=0;j[c+104>>2]=0;j[c+92>>2]=0;j[c+96>>2]=0;j[c+84>>2]=0;j[c+88>>2]=0}b=j[c+1208>>2];if(b){d=j[b+28>>2];e=c+1236|0;if(j[e>>2]){jf(b,e)}b=j[c+1232>>2];if(b){qe[j[d+8>>2]](d,b)}b=c+1208|0;j[b+24>>2]=0;j[b+28>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}b=j[c+20>>2];if(b){d=j[b+28>>2];e=c+48|0;if(j[e>>2]){jf(b,e)}b=j[c+44>>2];if(b){qe[j[d+8>>2]](d,b)}j[c+44>>2]=0;j[c+48>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+20>>2]=0;j[c+24>>2]=0}b=j[c+1176>>2];if(b){d=j[b+28>>2];e=c+1204|0;if(j[e>>2]){jf(b,e)}b=j[c+1200>>2];if(b){qe[j[d+8>>2]](d,b)}b=c+1176|0;j[b+24>>2]=0;j[b+28>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}b=j[c+1896>>2];if(b){while(1){d=j[((g<<2)+c|0)+1900>>2];if(d){b=j[d+536>>2];if(b){e=j[b+28>>2];k=d+564|0;if(j[k>>2]){jf(b,k)}b=j[d+560>>2];if(b){qe[j[e+8>>2]](e,b)}b=d;j[b+560>>2]=0;j[b+564>>2]=0;j[b+552>>2]=0;j[b+556>>2]=0;j[b+544>>2]=0;j[b+548>>2]=0;j[b+536>>2]=0;j[b+540>>2]=0}b=j[d+568>>2];if(b){qe[j[f+8>>2]](f,b)}j[d+568>>2]=0;b=j[c+1896>>2]}g=g+1|0;if(g>>>0>>0){continue}break}b=j[c+1900>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1900>>2]=0}j[c+116>>2]=0;j[c+120>>2]=0;j[c+124>>2]=0;b=j[j[c>>2]+28>>2];d=b;g=c+1164|0;e=j[g>>2];if(e){qe[j[d+8>>2]](d,e)}j[g>>2]=0;j[g+4>>2]=0;d=c+1160|0;g=j[d>>2];if(g){qe[j[b+8>>2]](b,g)}j[c+1152>>2]=0;j[c+1156>>2]=0;j[d>>2]=0;b=c+1860|0;d=j[b>>2];if(d){g=j[d+28>>2];e=c+1888|0;if(j[e>>2]){jf(d,e)}d=j[c+1884>>2];if(d){qe[j[g+8>>2]](g,d)}j[b+24>>2]=0;j[b+28>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}b=c+1892|0;d=j[b>>2];if(d){qe[j[f+8>>2]](f,d)}j[b>>2]=0;b=c+2932|0;if(j[b>>2]){jf(j[c>>2],b)}h[c+2924|0]=0;j[c+2928>>2]=0;j[c+2936>>2]=0;b=j[c+2960>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+2960>>2]=0;b=j[c+1304>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1304>>2]=0;b=j[c+1308>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1308>>2]=0;b=j[c+1316>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1316>>2]=0;b=j[c+1320>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1320>>2]=0;b=j[c+2976>>2];if(b){qe[b|0](j[c+2972>>2]);b=j[c+2972>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+2972>>2]=0}b=j[a+656>>2];if(b){qe[j[i+8>>2]](i,b)}j[a+656>>2]=0}}function Rn(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0;a=oe-144|0;oe=a;b=j[58911];if(!we(b,1164)){e=j[58890]-j[58888]|0;l=j[58889]-j[58887]|0}j[a+20>>2]=e;j[a+16>>2]=l;ri(b,a+24|0);if(j[a+88>>2]>j[58912]){ri(j[58911],a+24|0);j[58912]=j[a+88>>2];ql()}if(!j[58916]){ri(j[58915],a+24|0);j[58916]=j[a+88>>2]}ri(j[58915],a+24|0);if(j[a+88>>2]>j[58916]){ri(j[58915],a+24|0);j[58916]=j[a+88>>2];Zg(1192,0);yo()}di(j[58882],0,0,0,0);a:{if(!j[58914]){break a}q=a+36|0;r=a+32|0;b=44;d=l;while(1){if(j[58906]==(i|0)){break a}c=b;b:{c:{d:{f=j[58913]+o|0;n=h[f|0];b=n;switch(b-32|0){case 0:case 12:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break c;default:break d}}if((n|0)!=10){if((n|0)!=95){break c}di(j[58882],255,255,255,40);if(k[242924]){j[a+24>>2]=0;j[a+28>>2]=0;j[a+32>>2]=16;j[a+36>>2]=16;c=j[58884]+d|0;j[a+128>>2]=c+2;b=j[58885];j[a+136>>2]=10;j[a+140>>2]=9;b=b+e|0;j[a+132>>2]=b+2;j[a+116>>2]=b;j[a+112>>2]=c;j[a+120>>2]=16;j[a+124>>2]=16;$n(j[58882]);_n(j[58882],a+112|0);Oi(j[58882],j[65531],a+24|0,a+128|0)}di(j[58882],0,0,0,0);d=d+16|0;j[a+16>>2]=d;j[j[j[58909]+(i<<2)>>2]+(g<<2)>>2]=-1;g=g+1|0;b=k[j[58913]+o|0];break b}j[j[58908]+(i<<2)>>2]=g;e=e+16|0;j[a+20>>2]=e;j[a+16>>2]=l;g=0;i=i+1|0;if((i|0)==j[58906]){d=l;b=c;break b}b=k[f|0];d=l;break b}e:{f:{b=c;c=c&255;switch(c|0){case 0:case 10:break e;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break b;default:break f}}c=c-32|0;if(!c|(c|0)==12){break e}break b}g:{h:{i:{j:{b=k[f+1|0];switch(b|0){case 0:case 10:break h;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break i;default:break j}}b=b-32|0;if(!b|(b|0)==12){break h}}j[a+24>>2]=0;b=2;k:{l:{m:{c=k[f+2|0];switch(c|0){case 0:case 10:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break l;default:break m}}c=c-32|0;if(!c|(c|0)==12){break k}}b=3}Ae(a+24|0,f,b);b=rf(a+24|0);break g}b=n-48|0}c=p(b,24)+235536|0;f=j[c+144>>2];c=j[c+140>>2];j[a+28>>2]=e;j[a+24>>2]=d;j[a+128>>2]=c;j[a+132>>2]=f;j[a+136>>2]=16;j[a+140>>2]=16;j[a+112>>2]=j[58884]+d;c=j[58885];j[a+120>>2]=16;j[a+124>>2]=16;j[a+116>>2]=c+e;ao(j[58905],r,q);Oi(j[58882],j[58905],a+128|0,a+112|0);di(j[58882],255,255,255,40);c=j[a+20>>2];j[a+8>>2]=j[a+16>>2];j[a+12>>2]=c;ZA(a+8|0,b);di(j[58882],0,0,0,0);d=d+16|0;j[a+16>>2]=d;j[j[j[58909]+(i<<2)>>2]+(g<<2)>>2]=b;g=g+1|0;b=n}o=o+1|0;if(o>>>0>2]);if(c){break a}g=j[a+96>>2];f=j[a+116>>2];i=g-f|0;if((i|0)>=1){d=j[a+68>>2];e=j[a+64>>2];j[l+12>>2]=0;c=e+i|0;b:{if(c>>>0<=d>>>0){d=j[a+76>>2];break b}e=j[a+88>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(c>>>0>b>>>0){continue}break}n=a,o=xe(e,8,d,b,j[a+72>>2],l+12|0),j[n+72>>2]=o;c=j[l+12>>2];if(c){break a}d=xe(e,1,d,b,j[a+76>>2],l+12|0);j[a+76>>2]=d;c=j[l+12>>2];if(c){break a}j[a+68>>2]=b;f=j[a+116>>2];g=j[a+96>>2];e=j[a+64>>2]}c=j[a+104>>2];b=(c+(g<<3)|0)-8|0;if(b>>>0>=c+(f<<3)>>>0){c=j[a+72>>2]+(e<<3)|0;e=d+e|0;d=j[a+108>>2]+g|0;while(1){f=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=f;d=d-1|0;h[e|0]=k[d|0]&243;e=e+1|0;c=c+8|0;b=b-8|0;f=j[a+116>>2];if(b>>>0>=j[a+104>>2]+(f<<3)>>>0){continue}break}e=j[a+64>>2]}j[a+96>>2]=f;h[a+112|0]=0;h[a+80|0]=0;j[a+64>>2]=e+i}b=j[a+32>>2];j[a+8>>2]=j[a+28>>2];j[a+12>>2]=b;c=Kr(a,j[a+24>>2]+11796480|0);if(c){break a}d=j[a+64>>2];b=j[a+84>>2];c:{if(d>>>0<=b+1>>>0){j[a+64>>2]=b;break c}c=d-1|0;j[a+64>>2]=c;e=j[a+72>>2];f=e+(b<<3)|0;c=e+(c<<3)|0;e=j[c+4>>2];j[f>>2]=j[c>>2];j[f+4>>2]=e;b=b+j[a+76>>2]|0;h[b|0]=k[b|0]|4;b=(d+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}j[a+84>>2]=-1;c=0;h[a+80|0]=0;break a}if(!(j[a+12>>2]==j[a+32>>2]?j[a+8>>2]==j[a+28>>2]:0)){c=Mr(a,a+28|0);if(c){break a}}b=j[a+24>>2];j[a+4>>2]=b;b=Df(j[a>>2],b);if(b){c=Di(a,b>>>31|0,j[a+36>>2]);if(c){break a}c=Ci(a,(b^-1)>>>31|0,j[a+36>>2]);if(c){break a}}d=j[a+64>>2];b=j[a+84>>2];d:{if(d>>>0<=b+1>>>0){j[a+64>>2]=b;break d}c=d-1|0;j[a+64>>2]=c;e=j[a+72>>2];f=e+(b<<3)|0;c=e+(c<<3)|0;e=j[c+4>>2];j[f>>2]=j[c>>2];j[f+4>>2]=e;b=b+j[a+76>>2]|0;h[b|0]=k[b|0]|4;b=(d+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}j[a+84>>2]=-1;h[a+80|0]=0;f=j[a+96>>2];e=j[a+116>>2];e:{if(f>>>0<=e+1>>>0){j[a+96>>2]=e;break e}g=f-1|0;j[a+96>>2]=g;b=j[a+104>>2];d=e<<3;c=b+d|0;i=g<<3;b=i+b|0;m=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=m;b=d;d=j[a+104>>2];b=(b+d|0)+8|0;c=(d+i|0)-8|0;if(b>>>0>>0){while(1){d=j[b>>2];i=j[b+4>>2];m=j[c+4>>2];j[b>>2]=j[c>>2];j[b+4>>2]=m;j[c>>2]=d;j[c+4>>2]=i;b=b+8|0;c=c-8|0;if(b>>>0>>0){continue}break}}d=j[a+108>>2];b=(d+e|0)+1|0;c=(d+g|0)-1|0;if(b>>>0>>0){while(1){d=k[b|0];h[b|0]=k[c|0];h[c|0]=d;b=b+1|0;c=c-1|0;if(b>>>0>>0){continue}break}d=j[a+108>>2]}b=d+e|0;h[b|0]=k[b|0]|4;b=(f+j[a+108>>2]|0)-2|0;h[b|0]=k[b|0]|8}j[a+116>>2]=-1;c=0;h[a+112|0]=0}oe=l+16|0;return c}function kG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;f=j[a+488>>2];l=j[b+16>>2];e=j[b+8>>2];qe[j[b+28>>2]](b);c=3;a=j[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=k[a|0];c:{if(a-48>>>0<=9){a=qe[j[b+36>>2]](b)|0;j[b+144>>2]=a;if(j[b+12>>2]){break a}if((a|0)<0){break b}a=j[b>>2];break c}if((a|0)!=60){break b}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}qe[j[b+28>>2]](b);d=j[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=k[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}j[b>>2]=d;j[b+144>>2]=i;a=d;break c}i=i+1|0}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}qe[j[b+28>>2]](b);a=j[b>>2];if(e>>>0>a>>>0){continue}break}}if(a>>>0>=e>>>0){break b}m=b+200|0;c=qe[j[j[f>>2]>>2]](m,j[b+144>>2],l)|0;if(c){break b}n=b+148|0;c=qe[j[j[f>>2]>>2]](n,j[b+144>>2],l)|0;if(c){break b}i=b+252|0;c=qe[j[j[f>>2]>>2]](i,4,l)|0;if(c){break b}qe[j[b+28>>2]](b);a=j[b>>2];if(e>>>0<=a>>>0){j[b+144>>2]=0;c=3;break b}l=0;f=0;d=0;while(1){e:{f:{c=k[a|0];if((c|0)!=101){if((c|0)==62){break e}break f}if(k[a+1|0]!=110|a+3>>>0>=e>>>0|k[a+2|0]!=100){break f}switch(k[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}qe[j[b+32>>2]](b);c=3;g=j[b>>2];if(g>>>0>=e>>>0){break b}if(j[b+12>>2]){break a}if(k[a|0]==47){if(a+2>>>0>=e>>>0){break b}a=a+1|0;g=g-a|0;c=qe[j[b+192>>2]](n,d,a,g+1|0)|0;if(c){break b}c=g;g=d<<2;h[c+j[g+j[b+172>>2]>>2]|0]=0;if(k[a|0]==46){a=we(162607,j[g+j[b+172>>2]>>2]);l=a?l:1;f=a?f:d}qe[j[b+28>>2]](b);a=j[b>>2];qe[j[b+36>>2]](b)|0;c=3;o=j[b>>2];if(o>>>0>=e>>>0){break b}c=a;a=o-a|0;c=qe[j[b+244>>2]](m,d,c,a+1|0)|0;if(c){break b}h[a+j[g+j[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=j[b+144>>2]){break e}}qe[j[b+28>>2]](b);a=j[b>>2];if(e>>>0>a>>>0){continue}}break}j[b+144>>2]=d;if(!(l&255)){c=3;break b}a=j[j[b+172>>2]>>2];if(!we(162607,a)){break a}c=qe[j[b+296>>2]](i,0,a,j[j[b+176>>2]>>2])|0;if(c){break b}c=qe[j[b+296>>2]](i,1,j[j[b+224>>2]>>2],j[j[b+228>>2]>>2])|0;if(c){break b}a=f<<2;c=qe[j[b+296>>2]](i,2,j[a+j[b+172>>2]>>2],j[a+j[b+176>>2]>>2])|0;if(c){break b}c=qe[j[b+296>>2]](i,3,j[a+j[b+224>>2]>>2],j[a+j[b+228>>2]>>2])|0;if(c){break b}c=qe[j[b+192>>2]](n,f,j[j[b+276>>2]>>2],j[j[b+280>>2]>>2])|0;if(c){break b}c=qe[j[b+244>>2]](m,f,j[j[b+276>>2]+4>>2],j[j[b+280>>2]+4>>2])|0;if(c){break b}c=qe[j[b+192>>2]](n,0,j[j[b+276>>2]+8>>2],j[j[b+280>>2]+8>>2])|0;if(c){break b}c=qe[j[b+244>>2]](m,0,j[j[b+276>>2]+12>>2],j[j[b+280>>2]+12>>2])|0;if(!c){break a}}j[b+12>>2]=c}}function Kz(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;r=oe-16|0;oe=r;a:{if((c|0)==(e|0)){a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;b:{if((b|0)<=(d|0)){c=d-b|0;e=(g|0)!=0;a=a+(b<<1)|0;break b}e=(g|0)!=0;c=b-d|0;a=a+(d<<1)|0;a=g?a:a+2|0}b=c+e|0;if(!b){break a}while(1){i[a>>1]=f;a=a+2|0;b=b-1|0;if(b){continue}break}break a}if((b|0)==(d|0)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];c:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<1)|0)+(d<<1)|0;d=(g|0)!=0;b=e-c|0;break c}a=(a+(p(e,h)<<1)|0)+(d<<1)|0;a=g?a:a+(h<<1)|0;d=(g|0)!=0;b=c-e|0}b=b+d|0;if(!b){break a}c=h<<1;while(1){i[a>>1]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}n=b-d|0;h=n>>31;m=c-e|0;l=m>>31;if((h^h+n)==(l^l+m)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];d:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<1)|0)+(b<<1)|0;m=e-c|0;c=h+((b|0)>(d|0)?-1:1)|0;break d}a=(a+(p(e,h)<<1)|0)+(d<<1)|0;c=h+((b|0)<(d|0)?-1:1)|0;a=g?a:a+(c<<1)|0}b=((g|0)!=0)+m|0;if(!b){break a}c=c<<1;while(1){i[a>>1]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}h=j[a+4>>2];mn(f,h,r+15|0,r+14|0,r+13|0,r+12|0);e:{h=j[h+12>>2];if((h|0)!=63488){if((h|0)!=31744){break e}m=d-b|0;h=m>>31;n=e-c|0;l=n>>31;h=h^h+m;l=l^l+n;f:{if((h|0)>=(l|0)){n=l-h|0;o=l<<1;m=o-h|0;l=1;break f}n=h-l|0;q=1;o=h<<1;m=o-l|0;h=l;l=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;d=d?-1:1;n=n<<1;s=j[a+16>>2];t=j[a+20>>2];e=0;while(1){i[(t+p(c,s)|0)+(b<<1)>>1]=f;a=(m|0)<0;m=(a?o:n)+m|0;b=(a?l:d)+b|0;c=(a?h:q)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break a}m=d-b|0;h=m>>31;n=e-c|0;l=n>>31;h=h^h+m;l=l^l+n;g:{if((h|0)>=(l|0)){n=l-h|0;o=l<<1;m=o-h|0;l=1;break g}n=h-l|0;q=1;o=h<<1;m=o-l|0;h=l;l=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;d=d?-1:1;n=n<<1;s=j[a+16>>2];t=j[a+20>>2];e=0;while(1){i[(t+p(c,s)|0)+(b<<1)>>1]=f;a=(m|0)<0;m=(a?o:n)+m|0;b=(a?l:d)+b|0;c=(a?h:q)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break a}m=d-b|0;h=m>>31;n=e-c|0;l=n>>31;h=h^h+m;l=l^l+n;h:{if((h|0)>=(l|0)){n=l-h|0;o=l<<1;m=o-h|0;l=1;break h}n=h-l|0;q=1;o=h<<1;m=o-l|0;h=l;l=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;d=d?-1:1;n=n<<1;s=j[a+16>>2];t=j[a+20>>2];e=0;while(1){i[(t+p(c,s)|0)+(b<<1)>>1]=f;a=(m|0)<0;m=(a?o:n)+m|0;b=(a?l:d)+b|0;c=(a?h:q)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}oe=r+16|0}function Fp(a,b,c,d,e,f){var g=q(0),h=0,i=q(0),k=0,l=q(0),m=q(0),o=0,p=q(0),r=q(0),s=q(0),t=0,v=0,w=0,x=0,y=0,z=q(0),A=q(0);h=(a<<2)+15&-16;t=oe-h|0;v=t-h|0;w=v-h|0;x=w-h|0;y=x-h|0;l=q(1);p=q(u(q(n[c>>2]+e),q(1)));i=q(q(p*p)*q(.5));g=q(i+q(0));n[t>>2]=g;n[v>>2]=g;j[w>>2]=0;m=q(q(p*i)+q(0));n[x>>2]=m;j[y>>2]=0;k=1;if((a|0)>1){p=g;while(1){h=k<<2;i=q(u(q(n[h+c>>2]+e),q(1)));r=q(i*i);p=q(p+r);n[h+t>>2]=p;s=q(l*r);g=q(g+s);n[h+v>>2]=g;z=q(z+q(l*s));n[h+w>>2]=z;m=q(m+q(i*r));n[h+x>>2]=m;A=q(A+q(i*s));n[h+y>>2]=A;l=q(l+q(1));k=k+1|0;if((k|0)!=(a|0)){continue}break}}g=q(1);l=q(0);k=j[b>>2];a:{if((k|0)>-1){p=q(0);i=q(0);break a}while(1){c=k<<2&262140;h=k>>16<<2;m=q(n[c+w>>2]+n[w-h>>2]);i=q(n[c+x>>2]+n[x-h>>2]);g=q(n[c+v>>2]-n[v-h>>2]);r=q(n[c+y>>2]-n[y-h>>2]);p=q(q(m*i)-q(g*r));s=q(n[c+t>>2]+n[t-h>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));n[(o<<2)+d>>2]=q(u(q(q(p+q(l*i))/g),q(0)))-e;l=q(l+q(1));o=o+1|0;k=j[(o<<2)+b>>2];if((k|0)<=-1){continue}break}}c=k&65535;if((c|0)<(a|0)){while(1){c=c<<2;h=k>>16<<2;m=q(n[c+w>>2]-n[h+w>>2]);i=q(n[c+x>>2]-n[h+x>>2]);g=q(n[c+v>>2]-n[h+v>>2]);r=q(n[c+y>>2]-n[h+y>>2]);p=q(q(m*i)-q(g*r));s=q(n[c+t>>2]-n[h+t>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));n[(o<<2)+d>>2]=q(u(q(q(p+q(l*i))/g),q(0)))-e;l=q(l+q(1));o=o+1|0;k=j[(o<<2)+b>>2];c=k&65535;if((c|0)<(a|0)){continue}break}}if((a|0)>(o|0)){while(1){n[(o<<2)+d>>2]=q(u(q(q(p+q(i*l))/g),q(0)))-e;l=q(l+q(1));o=o+1|0;if((o|0)!=(a|0)){continue}break}}b:{if((f|0)<1){break b}h=f>>>1|0;k=h-f|0;c:{if((k|0)>-1){l=q(0);o=0;break c}o=f-h|0;b=0;l=q(0);c=h;while(1){c=c<<2;k=k<<2;m=q(n[c+w>>2]+n[w-k>>2]);i=q(n[c+x>>2]+n[x-k>>2]);g=q(n[c+v>>2]-n[v-k>>2]);r=q(n[c+y>>2]-n[y-k>>2]);p=q(q(m*i)-q(g*r));s=q(n[c+t>>2]+n[t-k>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));m=q(q(q(p+q(l*i))/g)-e);c=(b<<2)+d|0;if(!(m>2]^1)){n[c>>2]=m}l=q(l+q(1));b=b+1|0;c=h+b|0;k=c-f|0;if((b|0)!=(o|0)){continue}break}}k=h+o|0;if((k|0)<(a|0)){while(1){b=k<<2;c=k-f<<2;m=q(n[b+w>>2]-n[c+w>>2]);i=q(n[b+x>>2]-n[c+x>>2]);g=q(n[b+v>>2]-n[c+v>>2]);r=q(n[b+y>>2]-n[c+y>>2]);p=q(q(m*i)-q(g*r));s=q(n[b+t>>2]-n[c+t>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));m=q(q(q(p+q(l*i))/g)-e);c=(o<<2)+d|0;if(!(m>2]^1)){n[c>>2]=m}l=q(l+q(1));o=o+1|0;k=h+o|0;if((k|0)<(a|0)){continue}break}}if((a|0)<=(o|0)){break b}while(1){m=q(q(q(p+q(i*l))/g)-e);b=(o<<2)+d|0;if(!(m>2]^1)){n[b>>2]=m}l=q(l+q(1));o=o+1|0;if((o|0)!=(a|0)){continue}break}}}function tp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=oe-48|0;oe=g;rP(+a);d=oP(1)|0;f=oP(0)|0;a:{b:{e=d;d=e;h=e&2147483647;c:{if(h>>>0<=1074752122){if((d&1048575)==598523){break c}if(h>>>0<=1073928572){if((e|0)>0?1:(e|0)>=0){a=a+ -1.5707963267341256;c=a+ -6.077100506506192e-11;o[b>>3]=c;o[b+8>>3]=a-c+ -6.077100506506192e-11;d=1;break a}a=a+1.5707963267341256;c=a+6.077100506506192e-11;o[b>>3]=c;o[b+8>>3]=a-c+6.077100506506192e-11;d=-1;break a}if((e|0)>0?1:(e|0)>=0){a=a+ -3.1415926534682512;c=a+ -1.2154201013012384e-10;o[b>>3]=c;o[b+8>>3]=a-c+ -1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;c=a+1.2154201013012384e-10;o[b>>3]=c;o[b+8>>3]=a-c+1.2154201013012384e-10;d=-2;break a}if(h>>>0<=1075594811){if(h>>>0<=1075183036){if((h|0)==1074977148){break c}if((e|0)>0?1:(e|0)>=0){a=a+ -4.712388980202377;c=a+ -1.8231301519518578e-10;o[b>>3]=c;o[b+8>>3]=a-c+ -1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;c=a+1.8231301519518578e-10;o[b>>3]=c;o[b+8>>3]=a-c+1.8231301519518578e-10;d=-3;break a}if((h|0)==1075388923){break c}if((e|0)>0?1:(e|0)>=0){a=a+ -6.2831853069365025;c=a+ -2.430840202602477e-10;o[b>>3]=c;o[b+8>>3]=a-c+ -2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;c=a+2.430840202602477e-10;o[b>>3]=c;o[b+8>>3]=a-c+2.430840202602477e-10;d=-4;break a}if(h>>>0>1094263290){break b}}j=a*.6366197723675814+6755399441055744+ -6755399441055744;c=a+j*-1.5707963267341256;i=j*6.077100506506192e-11;a=c-i;o[b>>3]=a;rP(+a);d=oP(1)|0;oP(0)|0;e=h>>>20|0;f=(e-(d>>>20&2047)|0)<17;if(r(j)<2147483648){d=~~j}else{d=-2147483648}d:{if(f){break d}i=c;a=j*6.077100506303966e-11;c=c-a;i=j*2.0222662487959506e-21-(i-c-a);a=c-i;o[b>>3]=a;f=e;rP(+a);e=oP(1)|0;oP(0)|0;if((f-(e>>>20&2047)|0)<50){break d}i=c;a=j*2.0222662487111665e-21;c=c-a;i=j*8.4784276603689e-32-(i-c-a);a=c-i;o[b>>3]=a}o[b+8>>3]=c-a-i;break a}if(h>>>0>=2146435072){a=a-a;o[b>>3]=a;o[b+8>>3]=a;d=0;break a}pP(0,f|0);pP(1,e&1048575|1096810496);a=+qP();d=0;f=1;while(1){k=(g+16|0)+(d<<3)|0;if(r(a)<2147483648){d=~~a}else{d=-2147483648}c=+(d|0);o[k>>3]=c;a=(a-c)*16777216;d=1;k=f&1;f=0;if(k){continue}break}o[g+32>>3]=a;e:{if(a!=0){d=2;break e}f=1;while(1){d=f;f=d-1|0;if(o[(g+16|0)+(d<<3)>>3]==0){continue}break}}d=up(g+16|0,g,(h>>>20|0)-1046|0,d+1|0,1);a=o[g>>3];if((e|0)<-1?1:(e|0)<=-1){o[b>>3]=-a;o[b+8>>3]=-o[g+8>>3];d=0-d|0;break a}o[b>>3]=a;o[b+8>>3]=o[g+8>>3]}oe=g+48|0;return d}function Fs(a,b,c){var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;o=oe-16|0;oe=o;j[o+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}b:{if(k[b+18|0]-1>>>0<=6){q=j[a>>2];h[c+18|0]=2;g=j[c>>2];f=j[b>>2];j[c>>2]=f;j[c+4>>2]=j[b+4>>2];l=j[c+8>>2];e=j[b+4>>2];if((e|0)>=1){gP(e,0,f,0);if(pe){break a}}n=c;m=0-e|0;a=e;e=p(a,f);d=l>>31;d=p(g,d+l^d);if(e>>>0>d>>>0){s=c,t=Gr(q,d,e,j[c+12>>2],o+12|0),j[s+12>>2]=t;d=j[o+12>>2];if(d){break a}l=j[c+8>>2]}j[n+8>>2]=(l|0)<0?m:a;break b}j[o+12>>2]=6}l=j[b+12>>2];e=j[b+8>>2];if((e|0)<=-1){l=p(1-j[b>>2]|0,e)+l|0}n=j[c+12>>2];g=j[c+8>>2];if((g|0)<=-1){n=p(1-j[c>>2]|0,g)+n|0}c:{d:{switch(k[b+18|0]-1|0){case 0:i[c+16>>1]=2;g=j[b>>2];if(!g){break c}while(1){d=n;e=l;a=j[b+4>>2];f=a>>>3|0;if(f){while(1){a=k[e|0];h[d+7|0]=a&1;h[d|0]=a>>>7;h[d+6|0]=a>>>1&1;h[d+5|0]=a>>>2&1;h[d+4|0]=a>>>3&1;h[d+3|0]=a>>>4&1;h[d+2|0]=a>>>5&1;h[d+1|0]=a>>>6&1;e=e+1|0;d=d+8|0;f=f-1|0;if(f){continue}break}a=j[b+4>>2]}f=a&7;if(f){a=k[e|0];while(1){h[d|0]=(a&128)>>>7;d=d+1|0;a=a<<1;f=f-1|0;if(f){continue}break}}n=j[c+8>>2]+n|0;l=j[b+8>>2]+l|0;g=g-1|0;if(g){continue}break}break c;case 1:case 4:case 5:a=j[b+4>>2];i[c+16>>1]=256;d=j[b>>2];if(!d){break c}while(1){n=Ae(n,l,a)+j[c+8>>2]|0;l=j[b+8>>2]+l|0;d=d-1|0;if(d){continue}break}break c;case 2:i[c+16>>1]=4;g=j[b>>2];if(!g){break c}while(1){d=n;e=l;a=j[b+4>>2];f=a>>>2|0;if(f){while(1){a=k[e|0];h[d+3|0]=a&3;h[d|0]=a>>>6;h[d+2|0]=a>>>2&3;h[d+1|0]=a>>>4&3;d=d+4|0;e=e+1|0;f=f-1|0;if(f){continue}break}a=j[b+4>>2]}f=a&3;if(f){a=k[e|0];while(1){h[d|0]=(a&192)>>>6;d=d+1|0;a=a<<2;f=f-1|0;if(f){continue}break}}n=j[c+8>>2]+n|0;l=j[b+8>>2]+l|0;g=g-1|0;if(g){continue}break}break c;case 3:i[c+16>>1]=16;g=j[b>>2];if(!g){break c}while(1){d=n;a=l;m=j[b+4>>2];e=m>>>1|0;if(e){while(1){m=k[a|0];h[d+1|0]=m&15;h[d|0]=m>>>4;d=d+2|0;a=a+1|0;e=e-1|0;if(e){continue}break}m=j[b+4>>2]}if(m&1){h[d|0]=k[a|0]>>>4}n=j[c+8>>2]+n|0;l=j[b+8>>2]+l|0;g=g-1|0;if(g){continue}break}break c;case 6:break d;default:break c}}i[c+16>>1]=256;q=j[b>>2];if(!q){break c}while(1){a=n;d=l;f=j[b+4>>2];if(f){while(1){e=a;g=k[d+3|0];m=0;e:{if(!g){break e}m=k[d+1|0];r=p(p(m,m),46871);m=k[d|0];r=r+p(p(m,m),4732)|0;m=k[d+2|0];m=g-((r+p(p(m,m),13933)>>>16>>>0)/(g>>>0)|0)|0}h[e|0]=m;a=a+1|0;d=d+4|0;f=f-1|0;if(f){continue}break}g=j[c+8>>2];e=j[b+8>>2]}n=n+g|0;l=l+e|0;q=q-1|0;if(q){continue}break}}d=j[o+12>>2]}oe=o+16|0;return d}function Fm(a,b,c,d,e){var f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=oe-32|0;oe=f;r=j[a>>2];c=$N(b,c,f+24|0,f+20|0);a:{if(c){break a}c=1;b:{if(!Rr(a,b,j[f+24>>2],j[f+20>>2],1347375956,1,f+16|0,f+12|0)){s=j[f+12>>2];v=j[f+16>>2];j[f+28>>2]=1;c:{if(d+1>>>0>1){break c}c=10;if((s|0)<1){break c}t=j[a>>2];d=0;while(1){c=Fe(b,j[(d<<2)+v>>2]);j[f+28>>2]=c;if(c){break c}m=sf(b,f+28|0);c=j[f+28>>2];if(c){break c}c=9;if((m|0)<0){break c}l=n;n=(m+l|0)+6|0;if(n>>>0>>0){break c}d=d+1|0;if((s|0)!=(d|0)){continue}break}c=10;q=n+2|0;if(q>>>0<6){break c}i=He(t,q,f+28|0);c=j[f+28>>2];if(c){break c}h[i+2|0]=0;h[i+3|0]=0;h[i+4|0]=0;h[i+5|0]=0;h[i|0]=128;h[i+1|0]=1;c=1;l=6;d:{e:{f:{g:{if((s|0)<1){o=2;break g}o=2;while(1){d=Fe(b,j[(u<<2)+v>>2]);j[f+28>>2]=d;if(d){break e}d=sf(b,f+28|0);if(j[f+28>>2]|(d|0)<0){break e}m=qf(b,f+28|0);if(j[f+28>>2]){break e}j[f+28>>2]=10;m=m>>>8|0;if(m){p=d-2|0;p=d>>>0

>>0?0:p;h:{if((c|0)==(m|0)){d=l;l=g+p|0;break h}d=o+3|0;if(d>>>0>q>>>0){break f}c=i+o|0;h[c|0]=g;h[c+2|0]=g>>>16;h[c+1|0]=g>>>8;h[d+i|0]=g>>>24;if((m|0)==5){break g}d=l+6|0;if(q>>>0>>0){break f}g=i+l|0;h[g|0]=128;o=l+2|0;c=i+o|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;h[g+1|0]=m;c=m;l=p}g=l;if(d>>>0>n>>>0){break f}l=d+p|0;if(n>>>0>>0){break f}d=uf(b,d+i|0,p);j[f+28>>2]=d;if(d){break e}}u=u+1|0;if((u|0)!=(s|0)){continue}break}}j[f+28>>2]=10;c=l+2|0;if(c>>>0>q>>>0){break e}b=i+l|0;h[b|0]=128;h[b+1|0]=3;d=o+3|0;if(d>>>0>q>>>0){break f}b=i+o|0;h[b|0]=g;h[b+2|0]=g>>>16;h[b+1|0]=g>>>8;h[d+i|0]=g>>>24;c=Em(a,i,c,0,74741,e);break c}if(!j[f+28>>2]){break d}}j[f+28>>2]=1}if(i){qe[j[t+8>>2]](t,i)}c=j[f+28>>2]}a=j[f+16>>2];if(a){qe[j[r+8>>2]](r,a)}if(c){break a}j[j[e>>2]>>2]=1;break b}c=Rr(a,b,j[f+24>>2],j[f+20>>2],1936092788,0,f+16|0,f+12|0);if(c){break a}c=1;g=j[f+12>>2];d=(d|0)%(g|0)|0;d=(d|0)==-1?0:d;i:{if((d|0)>=(g|0)){break i}l=j[a>>2];n=j[j[f+16>>2]+(d<<2)>>2];c=Fe(b,n);j[f+28>>2]=c;if(c){break i}g=sf(b,f+28|0);c=j[f+28>>2];if(c){break i}c=1;if((g|0)==-1){break i}c=$r(a,b,d,e);j[f+28>>2]=c;if(!c){c=0;break i}if(Fe(b,n+4|0)){c=j[f+28>>2];break i}d=He(l,g,f+28|0);c=j[f+28>>2];if(c){break i}c=uf(b,d,g);j[f+28>>2]=c;if(c){break i}c=Em(a,d,g,0,(g|0)>=5?(k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24))==1330926671?74783:74747:74747,e)}a=j[f+16>>2];if(a){qe[j[r+8>>2]](r,a)}if(c){break a}j[j[e>>2]>>2]=j[f+12>>2]}c=0}oe=f+32|0;return c}function yt(a,b,c,d,e,f,g,h,j,l){var m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;m=p(l,12);B=m+69184|0;r=b-1|0;if(r){D=a-1|0;E=m+69186|0;F=m+69194|0;G=m+69192|0;H=m+69190|0;I=m+69188|0;while(1){m=p(j,u)+h|0;b=p(f,u)+c|0;q=u|1;s=p(q,j)+h|0;n=p(u>>>1|0,g);o=n+e|0;n=d+n|0;q=p(f,q)+c|0;a:{if(!D){v=0;break a}y=i[E>>1];C=k[B|0];J=i[F>>1];K=i[G>>1];L=i[H>>1];M=i[I>>1];v=0;while(1){z=k[o|0]-128|0;t=k[n|0]-128|0;w=(p(z,K)+p(t,L)|0)- -8192|0;x=p(y,k[b|0]-C|0);z=p(z,M)- -8192|0;N=k[(w+x>>6)+69232|0]<<3&2016|k[(z+x>>6)+69232|0]<<8&63488;A=x;x=p(t,J)- -8192|0;i[m>>1]=N|k[(A+x>>6)+69232|0]>>>3;t=p(y,k[b+1|0]-C|0);i[m+2>>1]=k[(t+w>>6)+69232|0]<<3&2016|k[(t+z>>6)+69232|0]<<8&63488|k[(t+x>>6)+69232|0]>>>3;t=p(y,k[q|0]-C|0);i[s>>1]=k[(t+w>>6)+69232|0]<<3&2016|k[(t+z>>6)+69232|0]<<8&63488|k[(t+x>>6)+69232|0]>>>3;A=w;w=p(y,k[q+1|0]-C|0);i[s+2>>1]=k[(A+w>>6)+69232|0]<<3&2016|k[(w+z>>6)+69232|0]<<8&63488|k[(w+x>>6)+69232|0]>>>3;o=o+1|0;n=n+1|0;q=q+2|0;b=b+2|0;s=s+4|0;m=m+4|0;v=v+2|0;if(D>>>0>v>>>0){continue}break}}if((v|0)==(D|0)){A=m;v=i[E>>1];m=k[B|0];b=p(v,k[b|0]-m|0)- -8192|0;o=k[o|0]-128|0;n=k[n|0]-128|0;y=p(o,i[G>>1])+p(n,i[H>>1])|0;o=p(o,i[I>>1]);n=p(n,i[F>>1]);i[A>>1]=k[(b+y>>6)+69232|0]<<3&2016|k[(o+b>>6)+69232|0]<<8&63488|k[(n+b>>6)+69232|0]>>>3;b=p(v,k[q|0]-m|0)- -8192|0;i[s>>1]=k[(b+y>>6)+69232|0]<<3&2016|k[(b+o>>6)+69232|0]<<8&63488|k[(b+n>>6)+69232|0]>>>3}u=u+2|0;if(r>>>0>u>>>0){continue}break}}b:{if((r|0)!=(u|0)){break b}m=p(j,r)+h|0;b=p(f,r)+c|0;c=p(r>>>1|0,g);s=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(l,12);d=i[a+69186>>1];g=i[a+69194>>1];h=i[a+69192>>1];j=i[a+69190>>1];u=i[a+69188>>1];e=k[B|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;r=k[s|0]-128|0;o=k[q|0]-128|0;n=p(r,h)+p(o,j)|0;r=p(r,u);o=p(g,o);i[m>>1]=k[(f+n>>6)+69232|0]<<3&2016|k[(r+f>>6)+69232|0]<<8&63488|k[(o+f>>6)+69232|0]>>>3;f=p(d,k[b+1|0]-e|0)- -8192|0;i[m+2>>1]=k[(f+n>>6)+69232|0]<<3&2016|k[(f+r>>6)+69232|0]<<8&63488|k[(f+o>>6)+69232|0]>>>3;s=s+1|0;q=q+1|0;b=b+2|0;m=m+4|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(l,12);b=p(i[a+69186>>1],k[b|0]-k[B|0]|0)- -8192|0;c=k[q|0]-128|0;d=k[s|0]-128|0;i[m>>1]=k[((b+p(c,i[a+69190>>1])|0)+p(d,i[a+69192>>1])>>6)+69232|0]<<3&2016|k[(b+p(d,i[a+69188>>1])>>6)+69232|0]<<8&63488|k[(b+p(c,i[a+69194>>1])>>6)+69232|0]>>>3}}function lt(a,b,c,d,e,f,g,h,j,l){var m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;m=p(l,12);B=m+69184|0;r=b-1|0;if(r){D=a-1|0;E=m+69186|0;F=m+69194|0;G=m+69192|0;H=m+69190|0;I=m+69188|0;while(1){m=p(j,u)+h|0;b=p(f,u)+c|0;q=u|1;s=p(q,j)+h|0;n=p(u>>>1|0,g);o=n+e|0;n=d+n|0;q=p(f,q)+c|0;a:{if(!D){v=0;break a}y=i[E>>1];C=k[B|0];J=i[F>>1];K=i[G>>1];L=i[H>>1];M=i[I>>1];v=0;while(1){z=k[o|0]-128|0;t=k[n|0]-128|0;w=(p(z,K)+p(t,L)|0)- -8192|0;x=p(y,k[b|0]-C|0);z=p(z,M)- -8192|0;N=k[(w+x>>6)+69232|0]<<3&2016|k[(z+x>>6)+69232|0]<<8&63488;A=x;x=p(t,J)- -8192|0;i[m>>1]=N|k[(A+x>>6)+69232|0]>>>3;t=p(y,k[b+1|0]-C|0);i[m+2>>1]=k[(t+w>>6)+69232|0]<<3&2016|k[(t+z>>6)+69232|0]<<8&63488|k[(t+x>>6)+69232|0]>>>3;t=p(y,k[q|0]-C|0);i[s>>1]=k[(t+w>>6)+69232|0]<<3&2016|k[(t+z>>6)+69232|0]<<8&63488|k[(t+x>>6)+69232|0]>>>3;A=w;w=p(y,k[q+1|0]-C|0);i[s+2>>1]=k[(A+w>>6)+69232|0]<<3&2016|k[(w+z>>6)+69232|0]<<8&63488|k[(w+x>>6)+69232|0]>>>3;o=o+2|0;n=n+2|0;q=q+2|0;b=b+2|0;s=s+4|0;m=m+4|0;v=v+2|0;if(D>>>0>v>>>0){continue}break}}if((v|0)==(D|0)){A=m;v=i[E>>1];m=k[B|0];b=p(v,k[b|0]-m|0)- -8192|0;o=k[o|0]-128|0;n=k[n|0]-128|0;y=p(o,i[G>>1])+p(n,i[H>>1])|0;o=p(o,i[I>>1]);n=p(n,i[F>>1]);i[A>>1]=k[(b+y>>6)+69232|0]<<3&2016|k[(o+b>>6)+69232|0]<<8&63488|k[(n+b>>6)+69232|0]>>>3;b=p(v,k[q|0]-m|0)- -8192|0;i[s>>1]=k[(b+y>>6)+69232|0]<<3&2016|k[(b+o>>6)+69232|0]<<8&63488|k[(b+n>>6)+69232|0]>>>3}u=u+2|0;if(r>>>0>u>>>0){continue}break}}b:{if((r|0)!=(u|0)){break b}m=p(j,r)+h|0;b=p(f,r)+c|0;c=p(r>>>1|0,g);s=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(l,12);d=i[a+69186>>1];g=i[a+69194>>1];h=i[a+69192>>1];j=i[a+69190>>1];u=i[a+69188>>1];e=k[B|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;r=k[s|0]-128|0;o=k[q|0]-128|0;n=p(r,h)+p(o,j)|0;r=p(r,u);o=p(g,o);i[m>>1]=k[(f+n>>6)+69232|0]<<3&2016|k[(r+f>>6)+69232|0]<<8&63488|k[(o+f>>6)+69232|0]>>>3;f=p(d,k[b+1|0]-e|0)- -8192|0;i[m+2>>1]=k[(f+n>>6)+69232|0]<<3&2016|k[(f+r>>6)+69232|0]<<8&63488|k[(f+o>>6)+69232|0]>>>3;s=s+2|0;q=q+2|0;b=b+2|0;m=m+4|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(l,12);b=p(i[a+69186>>1],k[b|0]-k[B|0]|0)- -8192|0;c=k[q|0]-128|0;d=k[s|0]-128|0;i[m>>1]=k[((b+p(c,i[a+69190>>1])|0)+p(d,i[a+69192>>1])>>6)+69232|0]<<3&2016|k[(b+p(d,i[a+69188>>1])>>6)+69232|0]<<8&63488|k[(b+p(c,i[a+69194>>1])>>6)+69232|0]>>>3}}function RC(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;g=oe-32|0;oe=g;j[g+28>>2]=b;a:{if(!j[65572]){ve(21506,0);break a}if(!b){ve(21661,0);break a}b:{if((TC(a,b,g+24|0,g+20|0)|0)>=0){e=j[g+24>>2];if(e){break b}}ve(21683,0);break a}e=ug(0,e,j[g+20>>2],32,16711680,65280,255,-16777216);if(!e){break a}i=j[e+16>>2]/4|0;d=k[j[a>>2]+8|0]&64?j[a+32>>2]!=0:d;o=j[e+12>>2];n=j[e+20>>2];b=Le(b);j[g+16>>2]=b;q=k[c+2|0]|(k[c+1|0]<<8|k[c|0]<<16);Dh(e,0,q);if(b){i=n+(p(i,o)<<2)|0;o=d^1;d=0;c=1;while(1){b=Mo(g+28|0,g+16|0)&65535;if(!((b|0)==65279|(b|0)==65534)){if(No(a,b,18)){d=0;ve(21641,0);kf(e);break a}l=j[a+52>>2];b=j[l+36>>2];j[g+24>>2]=b;c:{if(j[a+28>>2]>0){break c}f=b;b=j[l+60>>2]-j[l+56>>2]|0;if((f|0)<=(b|0)){break c}j[g+24>>2]=b}d:{if(o|!d){break d}b=j[l+4>>2];if(!b){break d}Wr(j[a>>2],d,b,g+8|0);m=(j[g+8>>2]>>6)+m|0}if(c){b=j[l+56>>2];m=m-(b>>31&b)|0}c=j[l+32>>2];if(c){f=0;while(1){b=j[l+72>>2]+f|0;e:{if((b|0)<0|(b|0)>=j[e+12>>2]){break e}b=((j[e+20>>2]+(m<<2)|0)+((p(b,j[e+16>>2])|0)/4<<2)|0)+(j[l+56>>2]<<2)|0;if(i>>>0<=b>>>0){break e}d=j[g+24>>2];if((d|0)<1){break e}c=j[l+44>>2]+p(j[l+40>>2],f)|0;while(1){f:{j[b>>2]=j[b>>2]|q|k[c|0]<<24;b=b+4|0;if(i>>>0<=b>>>0){break f}c=c+1|0;n=(d|0)>1;d=d-1|0;if(n){continue}}break}c=j[l+32>>2]}f=f+1|0;if(f>>>0>>0){continue}break}}m=j[l+76>>2]+m|0;m=!(h[a+24|0]&1)|h[a+20|0]&1?m:j[a+36>>2]+m|0;d=j[l+4>>2];c=0}if(j[g+16>>2]){continue}break}}b=j[a+24>>2];g:{if(!(b&4)){break g}d=j[e+20>>2];f=j[e+16>>2];o=d+(p(j[e+12>>2],(f|0)/4|0)<<2)|0;c=j[a+8>>2]+(j[a+44>>2]^-1)|0;d=(c|0)>0?d+p(c,f)|0:d;if(o>>>0<=d>>>0){break g}c=j[a+28>>2];i=j[a+48>>2]+((c|0)>0?c<<1:0)|0;if((i|0)<1){break g}n=q|-16777216;c=j[e+8>>2];while(1){b=0;if((c|0)>=1){while(1){j[(b<<2)+d>>2]=n;b=b+1|0;c=j[e+8>>2];if((b|0)<(c|0)){continue}break}f=j[e+16>>2]}b=(f|0)/4|0;if((i|0)>=2){i=i-1|0;d=(b<<2)+d|0;if(o>>>0>d>>>0){continue}}break}b=j[a+24>>2]}h:{if(!(b&8)){break h}c=j[e+20>>2];f=j[e+16>>2];n=c+(p(j[e+12>>2],(f|0)/4|0)<<2)|0;b=j[a+4>>2];d=(b|0)>1?c+p((b|0)/2|0,f)|0:c;if(n>>>0<=d>>>0){break h}b=j[a+48>>2];a=j[a+28>>2];i=b+((a|0)>0?a<<1:0)|0;if((i|0)<1){break h}a=q|-16777216;c=j[e+8>>2];while(1){b=0;if((c|0)>=1){while(1){j[(b<<2)+d>>2]=a;b=b+1|0;c=j[e+8>>2];if((b|0)<(c|0)){continue}break}f=j[e+16>>2]}if((i|0)<2){break h}i=i-1|0;d=((f|0)/4<<2)+d|0;if(n>>>0>d>>>0){continue}break}}d=e}oe=g+32|0;return d}function yx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;m=j[a+36>>2];c=j[a+20>>2];n=j[a+16>>2];b=j[a>>2];i=j[a+28>>2];f=j[a+24>>2];e=k[j[a+40>>2]+9|0];a:{g=j[a+44>>2];if(!j[g+24>>2]){if(!i){break a}d=k[g+9|0];o=f&7;g=(f+7|0)/8|0;b:while(1){f=g;c:{d:{switch(o-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=1;continue;case 1:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=2;continue;case 2:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=3;continue;case 3:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=4;continue;case 4:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=5;continue;case 5:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=6;continue;case 6:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=7;continue;default:break e}}a=i-1|0;l=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=l;h[c+1|0]=l>>>8;b=b+e|0;c=c+d|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+m|0;b=b+n|0;i=a;if(a){continue b}break a}a=0;continue}}}if(!i){break a}d=k[a+63|0]<>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=1;continue;case 1:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=2;continue;case 2:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=3;continue;case 3:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=4;continue;case 4:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=5;continue;case 5:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=6;continue;case 6:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=7;continue;default:break j}}a=i-1|0;j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;k:{if((f|0)>1){f=f-1|0;break k}c=c+m|0;b=b+n|0;i=a;if(a){continue g}break a}a=0;continue}}}}function Is(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;f=6;a:{if(!a){break a}i=j[a+12>>2];g=j[a>>2];e=g;b:{if(!e){break b}e=g;if((i|0)==65536){break b}b=(g|0)<0?-1:1;e=(i|0)<0?0-b|0:b;c=g>>31;c=c+g^c;b=i>>31;b=b+i^b;c:{if(c+(b>>>8|0)>>>0<=8190){b=p(b,c)+32768>>>16|0;break c}d=c&65535;b=p(d,b>>>16|0)+p(b,c>>>16|0)+(p(d,b&65535)+32768>>>16)|0}e=(e|0)<0?0-b|0:b}h=j[a+8>>2];c=j[a+4>>2];b=c;d:{if(!c){break d}b=c;if((h|0)==65536){break d}b=(c|0)<0?-1:1;k=(h|0)<0?0-b|0:b;d=c>>31;d=d+c^d;b=h>>31;b=b+h^b;e:{if(d+(b>>>8|0)>>>0<=8190){b=p(b,d)+32768>>>16|0;break e}l=d&65535;b=p(l,b>>>16|0)+p(b,d>>>16|0)+(p(l,b&65535)+32768>>>16)|0}b=(k|0)<0?0-b|0:b}k=e-b|0;if(!k){break a}n=(c|0)<0?-1:1;b=c>>31;e=b+c^b;b=k>>31;c=b+k^b;l=c>>>17^65535;f:{if(e>>>0<=l>>>0){b=((e<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break f}b=2147483647;d=c>>>1|0;f=d+(e<<16)|0;d=(e>>>16|0)+(d>>>0>f>>>0)|0;if(d>>>0>=c>>>0){break f}m=s(d);e=32-m|0;d=f>>>e|d<>>0)/(c>>>0)|0;d=d-p(b,c)|0;f=f<>>31;d=m-(c>>>0>m>>>0?0:c)|0;b=b<<1|c>>>0<=m>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}j[a+4>>2]=(((k|0)<0?0-n|0:n)|0)<0?b:0-b|0;n=(h|0)<0?-1:1;b=h>>31;e=b+h^b;g:{if(e>>>0<=l>>>0){b=((e<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break g}b=2147483647;d=c>>>1|0;f=d+(e<<16)|0;d=(e>>>16|0)+(d>>>0>f>>>0)|0;if(d>>>0>=c>>>0){break g}h=s(d);e=32-h|0;d=f>>>e|d<>>0)/(c>>>0)|0;d=d-p(b,c)|0;f=f<>>31;d=h-(c>>>0>h>>>0?0:c)|0;b=b<<1|c>>>0<=h>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}j[a+8>>2]=(((k|0)<0?0-n|0:n)|0)<0?b:0-b|0;h=(i|0)<0?-1:1;b=i>>31;e=b+i^b;h:{if(e>>>0<=l>>>0){b=((e<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break h}b=2147483647;d=c>>>1|0;f=d+(e<<16)|0;d=(e>>>16|0)+(d>>>0>f>>>0)|0;if(d>>>0>=c>>>0){break h}i=s(d);e=32-i|0;d=f>>>e|d<>>0)/(c>>>0)|0;d=d-p(b,c)|0;f=f<>>31;d=i-(c>>>0>i>>>0?0:c)|0;b=b<<1|c>>>0<=i>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}j[a>>2]=(((k|0)<0?0-h|0:h)|0)<0?0-b|0:b;i=(g|0)<0?-1:1;b=g>>31;g=b+g^b;i:{if(g>>>0<=l>>>0){b=((g<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break i}b=2147483647;e=c>>>1|0;f=e+(g<<16)|0;g=(g>>>16|0)+(f>>>0>>0)|0;if(g>>>0>=c>>>0){break i}h=s(g);e=32-h|0;g=f>>>e|g<>>0)/(c>>>0)|0;d=g-p(b,c)|0;f=f<>>31;d=g-(c>>>0>g>>>0?0:c)|0;b=b<<1|c>>>0<=g>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}f=0;j[a+12>>2]=(((k|0)<0?0-i|0:i)|0)<0?0-b|0:b}return f}function xt(a,b,c,d,e,f,g,j,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+69184|0;s=b-1|0;if(s){D=a-1|0;F=n+69186|0;G=n+69194|0;H=n+69192|0;I=n+69190|0;J=n+69188|0;while(1){n=p(l,w)+j|0;o=p(f,w)+c|0;t=w|1;b=p(t,l)+j|0;q=p(w>>>1|0,g);r=q+e|0;q=d+q|0;t=p(f,t)+c|0;a:{if(!D){x=0;break a}z=i[F>>1];A=k[C|0];L=i[G>>1];M=i[H>>1];N=i[I>>1];O=i[J>>1];x=0;while(1){B=k[r|0];u=k[q|0]-128|0;v=p(u,L)- -8192|0;y=p(z,k[o|0]-A|0);h[n+2|0]=k[(v+y>>6)+69232|0];K=B-128|0;B=p(K,O)- -8192|0;h[n|0]=k[(B+y>>6)+69232|0];E=y;y=(p(M,K)+p(u,N)|0)- -8192|0;h[n+1|0]=k[(E+y>>6)+69232|0];u=p(z,k[o+1|0]-A|0);h[n+5|0]=k[(u+v>>6)+69232|0];h[n+4|0]=k[(u+y>>6)+69232|0];h[n+3|0]=k[(u+B>>6)+69232|0];u=p(z,k[t|0]-A|0);h[b+2|0]=k[(u+v>>6)+69232|0];h[b+1|0]=k[(u+y>>6)+69232|0];h[b|0]=k[(u+B>>6)+69232|0];E=v;v=p(z,k[t+1|0]-A|0);h[b+5|0]=k[(E+v>>6)+69232|0];h[b+4|0]=k[(v+y>>6)+69232|0];h[b+3|0]=k[(v+B>>6)+69232|0];r=r+1|0;q=q+1|0;t=t+2|0;o=o+2|0;b=b+6|0;n=n+6|0;x=x+2|0;if(D>>>0>x>>>0){continue}break}}if((x|0)==(D|0)){r=k[r|0];z=i[F>>1];x=k[C|0];o=p(z,k[o|0]-x|0)- -8192|0;q=k[q|0]-128|0;A=p(q,i[G>>1]);h[n+2|0]=k[(o+A>>6)+69232|0];r=r-128|0;q=p(r,i[H>>1])+p(q,i[I>>1])|0;h[n+1|0]=k[(q+o>>6)+69232|0];v=o;o=p(r,i[J>>1]);h[n|0]=k[(v+o>>6)+69232|0];n=p(z,k[t|0]-x|0)- -8192|0;h[b+2|0]=k[(n+A>>6)+69232|0];h[b+1|0]=k[(n+q>>6)+69232|0];h[b|0]=k[(n+o>>6)+69232|0]}w=w+2|0;if(s>>>0>w>>>0){continue}break}}b:{if((s|0)!=(w|0)){break b}n=p(l,s)+j|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);o=c+e|0;t=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+69186>>1];g=i[a+69194>>1];j=i[a+69192>>1];l=i[a+69190>>1];w=i[a+69188>>1];e=k[C|0];a=0;while(1){s=k[o|0];f=p(d,k[b|0]-e|0)- -8192|0;r=k[t|0]-128|0;q=p(r,g);h[n+2|0]=k[(f+q>>6)+69232|0];s=s-128|0;r=p(s,j)+p(l,r)|0;h[n+1|0]=k[(r+f>>6)+69232|0];s=p(s,w);h[n|0]=k[(s+f>>6)+69232|0];f=p(d,k[b+1|0]-e|0)- -8192|0;h[n+5|0]=k[(f+q>>6)+69232|0];h[n+4|0]=k[(f+r>>6)+69232|0];h[n+3|0]=k[(f+s>>6)+69232|0];o=o+1|0;t=t+1|0;b=b+2|0;n=n+6|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}c=k[o|0];a=p(m,12);b=p(i[a+69186>>1],k[b|0]-k[C|0]|0)- -8192|0;d=k[t|0]-128|0;h[n+2|0]=k[(b+p(d,i[a+69194>>1])>>6)+69232|0];c=c-128|0;h[n|0]=k[(b+p(c,i[a+69188>>1])>>6)+69232|0];h[n+1|0]=k[((b+p(d,i[a+69190>>1])|0)+p(c,i[a+69192>>1])>>6)+69232|0]}}function kt(a,b,c,d,e,f,g,j,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+69184|0;s=b-1|0;if(s){D=a-1|0;F=n+69186|0;G=n+69194|0;H=n+69192|0;I=n+69190|0;J=n+69188|0;while(1){n=p(l,w)+j|0;o=p(f,w)+c|0;t=w|1;b=p(t,l)+j|0;q=p(w>>>1|0,g);r=q+e|0;q=d+q|0;t=p(f,t)+c|0;a:{if(!D){x=0;break a}z=i[F>>1];A=k[C|0];L=i[G>>1];M=i[H>>1];N=i[I>>1];O=i[J>>1];x=0;while(1){B=k[r|0];u=k[q|0]-128|0;v=p(u,L)- -8192|0;y=p(z,k[o|0]-A|0);h[n+2|0]=k[(v+y>>6)+69232|0];K=B-128|0;B=p(K,O)- -8192|0;h[n|0]=k[(B+y>>6)+69232|0];E=y;y=(p(M,K)+p(u,N)|0)- -8192|0;h[n+1|0]=k[(E+y>>6)+69232|0];u=p(z,k[o+1|0]-A|0);h[n+5|0]=k[(u+v>>6)+69232|0];h[n+4|0]=k[(u+y>>6)+69232|0];h[n+3|0]=k[(u+B>>6)+69232|0];u=p(z,k[t|0]-A|0);h[b+2|0]=k[(u+v>>6)+69232|0];h[b+1|0]=k[(u+y>>6)+69232|0];h[b|0]=k[(u+B>>6)+69232|0];E=v;v=p(z,k[t+1|0]-A|0);h[b+5|0]=k[(E+v>>6)+69232|0];h[b+4|0]=k[(v+y>>6)+69232|0];h[b+3|0]=k[(v+B>>6)+69232|0];r=r+2|0;q=q+2|0;t=t+2|0;o=o+2|0;b=b+6|0;n=n+6|0;x=x+2|0;if(D>>>0>x>>>0){continue}break}}if((x|0)==(D|0)){r=k[r|0];z=i[F>>1];x=k[C|0];o=p(z,k[o|0]-x|0)- -8192|0;q=k[q|0]-128|0;A=p(q,i[G>>1]);h[n+2|0]=k[(o+A>>6)+69232|0];r=r-128|0;q=p(r,i[H>>1])+p(q,i[I>>1])|0;h[n+1|0]=k[(q+o>>6)+69232|0];v=o;o=p(r,i[J>>1]);h[n|0]=k[(v+o>>6)+69232|0];n=p(z,k[t|0]-x|0)- -8192|0;h[b+2|0]=k[(n+A>>6)+69232|0];h[b+1|0]=k[(n+q>>6)+69232|0];h[b|0]=k[(n+o>>6)+69232|0]}w=w+2|0;if(s>>>0>w>>>0){continue}break}}b:{if((s|0)!=(w|0)){break b}n=p(l,s)+j|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);o=c+e|0;t=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+69186>>1];g=i[a+69194>>1];j=i[a+69192>>1];l=i[a+69190>>1];w=i[a+69188>>1];e=k[C|0];a=0;while(1){s=k[o|0];f=p(d,k[b|0]-e|0)- -8192|0;r=k[t|0]-128|0;q=p(r,g);h[n+2|0]=k[(f+q>>6)+69232|0];s=s-128|0;r=p(s,j)+p(l,r)|0;h[n+1|0]=k[(r+f>>6)+69232|0];s=p(s,w);h[n|0]=k[(s+f>>6)+69232|0];f=p(d,k[b+1|0]-e|0)- -8192|0;h[n+5|0]=k[(f+q>>6)+69232|0];h[n+4|0]=k[(f+r>>6)+69232|0];h[n+3|0]=k[(f+s>>6)+69232|0];o=o+2|0;t=t+2|0;b=b+2|0;n=n+6|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}c=k[o|0];a=p(m,12);b=p(i[a+69186>>1],k[b|0]-k[C|0]|0)- -8192|0;d=k[t|0]-128|0;h[n+2|0]=k[(b+p(d,i[a+69194>>1])>>6)+69232|0];c=c-128|0;h[n|0]=k[(b+p(c,i[a+69188>>1])>>6)+69232|0];h[n+1|0]=k[((b+p(d,i[a+69190>>1])|0)+p(c,i[a+69192>>1])>>6)+69232|0]}}function Jz(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;q=oe-16|0;oe=q;a:{if((c|0)==(e|0)){a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;b:{if((b|0)<=(d|0)){c=d-b|0;e=(g|0)!=0;a=a+(b<<2)|0;break b}e=(g|0)!=0;c=b-d|0;a=a+(d<<2)|0;a=g?a:a+4|0}b=c+e|0;if(!b){break a}while(1){j[a>>2]=f;a=a+4|0;b=b-1|0;if(b){continue}break}break a}if((b|0)==(d|0)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];c:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<2)|0)+(d<<2)|0;d=(g|0)!=0;b=e-c|0;break c}a=(a+(p(e,h)<<2)|0)+(d<<2)|0;a=g?a:a+(h<<2)|0;d=(g|0)!=0;b=c-e|0}b=b+d|0;if(!b){break a}c=h<<2;while(1){j[a>>2]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}m=b-d|0;h=m>>31;l=c-e|0;i=l>>31;if((h^h+m)==(i^i+l)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];d:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<2)|0)+(b<<2)|0;l=e-c|0;c=h+((b|0)>(d|0)?-1:1)|0;break d}a=(a+(p(e,h)<<2)|0)+(d<<2)|0;c=h+((b|0)<(d|0)?-1:1)|0;a=g?a:a+(c<<2)|0}b=((g|0)!=0)+l|0;if(!b){break a}c=c<<2;while(1){j[a>>2]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}l=j[a+4>>2];mn(f,l,q+15|0,q+14|0,q+13|0,q+12|0);if(j[l+12>>2]==16711680){i=e-c|0;h=i>>31;i=h^h+i;m=d-b|0;h=m>>31;h=h^h+m;if(!j[l+24>>2]){e:{if((h|0)>=(i|0)){m=i-h|0;n=i<<1;l=n-h|0;i=1;break e}m=h-i|0;o=1;n=h<<1;l=n-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-o|0:o;d=(b|0)>(d|0);i=d?0-i|0:i;o=e?-1:1;r=d?-1:1;m=m<<1;s=j[a+20>>2];d=0;while(1){j[(s+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f;e=(l|0)<0;l=(e?n:m)+l|0;b=(e?i:r)+b|0;c=(e?h:o)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}break a}f:{if((h|0)>=(i|0)){m=i-h|0;n=i<<1;l=n-h|0;i=1;break f}m=h-i|0;o=1;n=h<<1;l=n-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-o|0:o;d=(b|0)>(d|0);i=d?0-i|0:i;o=e?-1:1;r=d?-1:1;m=m<<1;s=j[a+20>>2];d=0;while(1){j[(s+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f;e=(l|0)<0;l=(e?n:m)+l|0;b=(e?i:r)+b|0;c=(e?h:o)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}break a}l=d-b|0;h=l>>31;m=e-c|0;i=m>>31;h=h^h+l;i=i^i+m;g:{if((h|0)>=(i|0)){m=i-h|0;n=i<<1;l=n-h|0;i=1;break g}m=h-i|0;o=1;n=h<<1;l=n-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-o|0:o;d=(b|0)>(d|0);i=d?0-i|0:i;o=e?-1:1;r=d?-1:1;m=m<<1;s=j[a+20>>2];d=0;while(1){j[(s+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f;e=(l|0)<0;l=(e?n:m)+l|0;b=(e?i:r)+b|0;c=(e?h:o)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}oe=q+16|0}function ut(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+69184|0;q=b-1|0;if(q){E=a-1|0;F=n+69186|0;G=n+69194|0;H=n+69192|0;I=n+69190|0;J=n+69188|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+69232|0]<<16|k[(A+u>>6)+69232|0]<<8;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+69232|0]|-16777216;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+69232|0]<<16|k[(v+A>>6)+69232|0]<<8|k[(v+u>>6)+69232|0]|-16777216;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+69232|0]<<16|k[(v+A>>6)+69232|0]<<8|k[(v+u>>6)+69232|0]|-16777216;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+69232|0]<<16|k[(y+A>>6)+69232|0]<<8|k[(y+u>>6)+69232|0]|-16777216;o=o+1|0;s=s+1|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+69232|0]<<16|k[(s+b>>6)+69232|0]<<8|k[(o+b>>6)+69232|0]|-16777216;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+69232|0]<<16|k[(b+s>>6)+69232|0]<<8|k[(b+o>>6)+69232|0]|-16777216}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+69186>>1];g=i[a+69194>>1];h=i[a+69192>>1];l=i[a+69190>>1];w=i[a+69188>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+69232|0]<<16|k[(s+f>>6)+69232|0]<<8|k[(q+f>>6)+69232|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+69232|0]<<16|k[(f+s>>6)+69232|0]<<8|k[(f+q>>6)+69232|0]|-16777216;t=t+1|0;r=r+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+69186>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+69188>>1])>>6)+69232|0]<<16|k[((b+p(d,i[a+69190>>1])|0)+p(c,i[a+69192>>1])>>6)+69232|0]<<8|k[(b+p(d,i[a+69194>>1])>>6)+69232|0]|-16777216}}function ht(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+69184|0;q=b-1|0;if(q){E=a-1|0;F=n+69186|0;G=n+69194|0;H=n+69192|0;I=n+69190|0;J=n+69188|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+69232|0]<<16|k[(A+u>>6)+69232|0]<<8;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+69232|0]|-16777216;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+69232|0]<<16|k[(v+A>>6)+69232|0]<<8|k[(v+u>>6)+69232|0]|-16777216;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+69232|0]<<16|k[(v+A>>6)+69232|0]<<8|k[(v+u>>6)+69232|0]|-16777216;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+69232|0]<<16|k[(y+A>>6)+69232|0]<<8|k[(y+u>>6)+69232|0]|-16777216;o=o+2|0;s=s+2|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+69232|0]<<16|k[(s+b>>6)+69232|0]<<8|k[(o+b>>6)+69232|0]|-16777216;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+69232|0]<<16|k[(b+s>>6)+69232|0]<<8|k[(b+o>>6)+69232|0]|-16777216}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+69186>>1];g=i[a+69194>>1];h=i[a+69192>>1];l=i[a+69190>>1];w=i[a+69188>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+69232|0]<<16|k[(s+f>>6)+69232|0]<<8|k[(q+f>>6)+69232|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+69232|0]<<16|k[(f+s>>6)+69232|0]<<8|k[(f+q>>6)+69232|0]|-16777216;t=t+2|0;r=r+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+69186>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+69188>>1])>>6)+69232|0]<<16|k[((b+p(d,i[a+69190>>1])|0)+p(c,i[a+69192>>1])>>6)+69232|0]<<8|k[(b+p(d,i[a+69194>>1])>>6)+69232|0]|-16777216}}function tt(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+69184|0;s=b-1|0;if(s){E=a-1|0;F=n+69186|0;G=n+69194|0;H=n+69192|0;I=n+69190|0;J=n+69188|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+69232|0]<<16|k[(A+y>>6)+69232|0]<<8;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+69232|0]|-16777216;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+69232|0]<<16|k[(u+A>>6)+69232|0]<<8|k[(u+y>>6)+69232|0]|-16777216;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+69232|0]<<16|k[(u+A>>6)+69232|0]<<8|k[(u+y>>6)+69232|0]|-16777216;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+69232|0]<<16|k[(x+A>>6)+69232|0]<<8|k[(x+y>>6)+69232|0]|-16777216;r=r+1|0;o=o+1|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+69232|0]<<16|k[(o+b>>6)+69232|0]<<8|k[(r+b>>6)+69232|0]|-16777216;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+69232|0]<<16|k[(b+o>>6)+69232|0]<<8|k[(b+r>>6)+69232|0]|-16777216}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+69186>>1];g=i[a+69194>>1];h=i[a+69192>>1];l=i[a+69190>>1];v=i[a+69188>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+69232|0]<<16|k[(s+f>>6)+69232|0]<<8|k[(o+f>>6)+69232|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+69232|0]<<16|k[(f+s>>6)+69232|0]<<8|k[(f+o>>6)+69232|0]|-16777216;t=t+1|0;q=q+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+69186>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+69194>>1])>>6)+69232|0]<<16;d=b+p(c,i[a+69190>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+69192>>1])>>6)+69232|0]<<8|k[(b+p(c,i[a+69188>>1])>>6)+69232|0]|-16777216}}function gt(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+69184|0;s=b-1|0;if(s){E=a-1|0;F=n+69186|0;G=n+69194|0;H=n+69192|0;I=n+69190|0;J=n+69188|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+69232|0]<<16|k[(A+y>>6)+69232|0]<<8;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+69232|0]|-16777216;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+69232|0]<<16|k[(u+A>>6)+69232|0]<<8|k[(u+y>>6)+69232|0]|-16777216;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+69232|0]<<16|k[(u+A>>6)+69232|0]<<8|k[(u+y>>6)+69232|0]|-16777216;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+69232|0]<<16|k[(x+A>>6)+69232|0]<<8|k[(x+y>>6)+69232|0]|-16777216;r=r+2|0;o=o+2|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+69232|0]<<16|k[(o+b>>6)+69232|0]<<8|k[(r+b>>6)+69232|0]|-16777216;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+69232|0]<<16|k[(b+o>>6)+69232|0]<<8|k[(b+r>>6)+69232|0]|-16777216}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+69186>>1];g=i[a+69194>>1];h=i[a+69192>>1];l=i[a+69190>>1];v=i[a+69188>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+69232|0]<<16|k[(s+f>>6)+69232|0]<<8|k[(o+f>>6)+69232|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+69232|0]<<16|k[(f+s>>6)+69232|0]<<8|k[(f+o>>6)+69232|0]|-16777216;t=t+2|0;q=q+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+69186>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+69194>>1])>>6)+69232|0]<<16;d=b+p(c,i[a+69190>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+69192>>1])>>6)+69232|0]<<8|k[(b+p(c,i[a+69188>>1])>>6)+69232|0]|-16777216}}function ZH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=oe-16|0;oe=s;l=j[a+12>>2];o=j[a+204>>2];d=j[a+200>>2];q=i[a+32>>1];a:{if(q){if(m[l+8>>2]>1]+(i[l+20>>1]+q|0)>>>0){c=yf(l,0,q);if(c){break a}}c=20;if((q|0)>4094){break a}}c=20;g=q<<1;if((g+d|0)+2>>>0>o>>>0){break a}b=j[l+68>>2];f=k[d|0];e=k[d+1|0]|f<<8;if((q|0)>=1){i[b>>1]=e}if(f<<24>>16<0){break a}f=b+g|0;while(1){g=b+2|0;if(g>>>0>>0){b=k[d+2|0]|k[d+3|0]<<8;n=b<<24|b<<8&16711680;i[g>>1]=n>>>16;p=e<<16;b=g;g=n>>16;e=g;d=d+2|0;if((e|0)>p>>16){continue}break a}break}if((q|0)<1){g=0}else{b=i[b>>1];if((b|0)<-1){break a}g=b+1|0}b=g+4|0;if(m[l+4>>2]>1]+(b+i[l+22>>1]|0)>>>0){c=yf(l,b,0);if(c){break a}}b=j[a+8>>2];j[b+136>>2]=0;j[b+140>>2]=0;f=d+4|0;if(f>>>0>o>>>0){c=20;break a}c=22;e=k[d+3|0]|k[d+2|0]<<8;if((e|0)>(o-f|0)){break a}if(!(k[a+16|0]&2)){b=j[a+160>>2];c=j[b+388>>2];b:{if(c>>>0>=e>>>0){j[b+388>>2]=c&65535;break b}t=b,u=xe(j[b+8>>2],1,c,e,j[b+392>>2],s+12|0),j[t+392>>2]=u;b=j[a+160>>2];r=c;c=j[s+12>>2];j[b+388>>2]=(c?r:e)&65535;if(c){break a}}c=j[a+8>>2];j[c+140>>2]=e;b=j[b+392>>2];j[c+136>>2]=b;Ae(b,f,e)}b=e+f|0;c:{d:{if((g|0)>=1){d=j[l- -64>>2];f=g+d|0;while(1){e=b+1|0;if(e>>>0>o>>>0){c=20;break a}n=k[b|0];h[d|0]=n;d=d+1|0;e:{if(!(n&8)){b=e;break e}b=b+2|0;if(o>>>0>>0){c=20;break a}c=k[e|0];if(f>>>0>>0){c=20;break a}if(!c){break e}Ee(d,n,c);while(1){d=d+1|0;c=c-1|0;if(c&255){continue}break}}if(d>>>0>>0){continue}break}if(b>>>0<=o>>>0){break d}c=20;break a}c=20;if(b>>>0<=o>>>0){break c}break a}if((g|0)<1){break c}c=j[l+60>>2];r=c+(g<<3)|0;d=j[l+64>>2];n=0;while(1){p=k[d|0];f:{if(p&2){e=b+1|0;if(e>>>0>o>>>0){c=20;break a}b=k[b|0];f=p&16?b:0-b|0;b=e;break f}f=0;if(p&16){break f}e=b+2|0;if(e>>>0>o>>>0){c=20;break a}b=k[b|0]|k[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>16;b=e}n=f+n|0;j[c>>2]=n;h[d|0]=p&237;d=d+1|0;c=c+8|0;if(r>>>0>c>>>0){continue}break}if((g|0)<1){break c}c=j[l+60>>2];r=c+(g<<3)|0;d=j[l+64>>2];n=0;while(1){p=k[d|0];g:{if(p&4){e=b+1|0;if(e>>>0>o>>>0){c=20;break a}b=k[b|0];f=p&32?b:0-b|0;b=e;break g}f=0;if(p&32){break g}e=b+2|0;if(e>>>0>o>>>0){c=20;break a}b=k[b|0]|k[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>16;b=e}n=f+n|0;j[c+4>>2]=n;h[d|0]=p&1;d=d+1|0;c=c+8|0;if(r>>>0>c>>>0){continue}break}}i[l+56>>1]=q;i[l+58>>1]=g;j[a+200>>2]=b;c=0}oe=s+16|0;return c|0}function wt(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+69184|0;q=b-1|0;if(q){E=a-1|0;F=n+69186|0;G=n+69194|0;H=n+69192|0;I=n+69190|0;J=n+69188|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+69232|0]<<24|k[(A+u>>6)+69232|0]<<16;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+69232|0]<<8|255;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+69232|0]<<24|k[(v+A>>6)+69232|0]<<16|k[(v+u>>6)+69232|0]<<8|255;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+69232|0]<<24|k[(v+A>>6)+69232|0]<<16|k[(v+u>>6)+69232|0]<<8|255;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+69232|0]<<24|k[(y+A>>6)+69232|0]<<16|k[(y+u>>6)+69232|0]<<8|255;o=o+1|0;s=s+1|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+69232|0]<<24|k[(s+b>>6)+69232|0]<<16|k[(o+b>>6)+69232|0]<<8|255;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+69232|0]<<24|k[(b+s>>6)+69232|0]<<16|k[(b+o>>6)+69232|0]<<8|255}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+69186>>1];g=i[a+69194>>1];h=i[a+69192>>1];l=i[a+69190>>1];w=i[a+69188>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+69232|0]<<24|k[(s+f>>6)+69232|0]<<16|k[(q+f>>6)+69232|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+69232|0]<<24|k[(f+s>>6)+69232|0]<<16|k[(f+q>>6)+69232|0]<<8|255;t=t+1|0;r=r+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+69186>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+69188>>1])>>6)+69232|0]<<24|k[((b+p(d,i[a+69190>>1])|0)+p(c,i[a+69192>>1])>>6)+69232|0]<<16|k[(b+p(d,i[a+69194>>1])>>6)+69232|0]<<8|255}}function jt(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+69184|0;q=b-1|0;if(q){E=a-1|0;F=n+69186|0;G=n+69194|0;H=n+69192|0;I=n+69190|0;J=n+69188|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+69232|0]<<24|k[(A+u>>6)+69232|0]<<16;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+69232|0]<<8|255;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+69232|0]<<24|k[(v+A>>6)+69232|0]<<16|k[(v+u>>6)+69232|0]<<8|255;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+69232|0]<<24|k[(v+A>>6)+69232|0]<<16|k[(v+u>>6)+69232|0]<<8|255;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+69232|0]<<24|k[(y+A>>6)+69232|0]<<16|k[(y+u>>6)+69232|0]<<8|255;o=o+2|0;s=s+2|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+69232|0]<<24|k[(s+b>>6)+69232|0]<<16|k[(o+b>>6)+69232|0]<<8|255;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+69232|0]<<24|k[(b+s>>6)+69232|0]<<16|k[(b+o>>6)+69232|0]<<8|255}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+69186>>1];g=i[a+69194>>1];h=i[a+69192>>1];l=i[a+69190>>1];w=i[a+69188>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+69232|0]<<24|k[(s+f>>6)+69232|0]<<16|k[(q+f>>6)+69232|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+69232|0]<<24|k[(f+s>>6)+69232|0]<<16|k[(f+q>>6)+69232|0]<<8|255;t=t+2|0;r=r+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+69186>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+69188>>1])>>6)+69232|0]<<24|k[((b+p(d,i[a+69190>>1])|0)+p(c,i[a+69192>>1])>>6)+69232|0]<<16|k[(b+p(d,i[a+69194>>1])>>6)+69232|0]<<8|255}}function vt(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+69184|0;s=b-1|0;if(s){E=a-1|0;F=n+69186|0;G=n+69194|0;H=n+69192|0;I=n+69190|0;J=n+69188|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+69232|0]<<24|k[(A+y>>6)+69232|0]<<16;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+69232|0]<<8|255;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+69232|0]<<24|k[(u+A>>6)+69232|0]<<16|k[(u+y>>6)+69232|0]<<8|255;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+69232|0]<<24|k[(u+A>>6)+69232|0]<<16|k[(u+y>>6)+69232|0]<<8|255;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+69232|0]<<24|k[(x+A>>6)+69232|0]<<16|k[(x+y>>6)+69232|0]<<8|255;r=r+1|0;o=o+1|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+69232|0]<<24|k[(o+b>>6)+69232|0]<<16|k[(r+b>>6)+69232|0]<<8|255;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+69232|0]<<24|k[(b+o>>6)+69232|0]<<16|k[(b+r>>6)+69232|0]<<8|255}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+69186>>1];g=i[a+69194>>1];h=i[a+69192>>1];l=i[a+69190>>1];v=i[a+69188>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+69232|0]<<24|k[(s+f>>6)+69232|0]<<16|k[(o+f>>6)+69232|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+69232|0]<<24|k[(f+s>>6)+69232|0]<<16|k[(f+o>>6)+69232|0]<<8|255;t=t+1|0;q=q+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+69186>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+69194>>1])>>6)+69232|0]<<24;d=b+p(c,i[a+69190>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+69192>>1])>>6)+69232|0]<<16|k[(b+p(c,i[a+69188>>1])>>6)+69232|0]<<8|255}}function it(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+69184|0;s=b-1|0;if(s){E=a-1|0;F=n+69186|0;G=n+69194|0;H=n+69192|0;I=n+69190|0;J=n+69188|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+69232|0]<<24|k[(A+y>>6)+69232|0]<<16;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+69232|0]<<8|255;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+69232|0]<<24|k[(u+A>>6)+69232|0]<<16|k[(u+y>>6)+69232|0]<<8|255;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+69232|0]<<24|k[(u+A>>6)+69232|0]<<16|k[(u+y>>6)+69232|0]<<8|255;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+69232|0]<<24|k[(x+A>>6)+69232|0]<<16|k[(x+y>>6)+69232|0]<<8|255;r=r+2|0;o=o+2|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+69232|0]<<24|k[(o+b>>6)+69232|0]<<16|k[(r+b>>6)+69232|0]<<8|255;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+69232|0]<<24|k[(b+o>>6)+69232|0]<<16|k[(b+r>>6)+69232|0]<<8|255}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+69186>>1];g=i[a+69194>>1];h=i[a+69192>>1];l=i[a+69190>>1];v=i[a+69188>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+69232|0]<<24|k[(s+f>>6)+69232|0]<<16|k[(o+f>>6)+69232|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+69232|0]<<24|k[(f+s>>6)+69232|0]<<16|k[(f+o>>6)+69232|0]<<8|255;t=t+2|0;q=q+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+69186>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+69194>>1])>>6)+69232|0]<<24;d=b+p(c,i[a+69190>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+69192>>1])>>6)+69232|0]<<16|k[(b+p(c,i[a+69188>>1])>>6)+69232|0]<<8|255}}function Si(a,b,c,d){var e=0,f=0,g=0;if(!(!a|!b)){f=j[b+136>>2];a:{if(!f|!(j[b+232>>2]&c&16384)){break a}if((d|0)==-1){e=1;g=a;if(j[b+128>>2]>=1){Ke(a,j[f+4>>2]);if(j[b+128>>2]>1){while(1){Ke(a,j[(j[b+136>>2]+p(e,28)|0)+4>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=j[b+136>>2]}Ke(g,f);j[b+128>>2]=0;j[b+136>>2]=0;break a}e=p(d,28);Ke(a,j[(e+f|0)+4>>2]);j[(e+j[b+136>>2]|0)+4>>2]=0}e=j[b+232>>2];if(e&c&8192){j[b+8>>2]=j[b+8>>2]&-17;Ke(a,j[b+156>>2]);i[b+22>>1]=0;j[b+156>>2]=0;e=j[b+232>>2]}if(c&e&256){Ke(a,j[b+256>>2]);Ke(a,j[b+260>>2]);j[b+256>>2]=0;j[b+260>>2]=0;j[b+8>>2]=j[b+8>>2]&-16385;e=j[b+232>>2]}if(c&e&128){Ke(a,j[b+208>>2]);Ke(a,j[b+220>>2]);j[b+220>>2]=0;j[b+208>>2]=0;e=j[b+224>>2];if(e){f=a;if(k[b+229|0]){Ke(a,j[e>>2]);if(k[b+229|0]>=2){e=1;while(1){Ke(a,j[j[b+224>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]}Ke(f,e);j[b+224>>2]=0}j[b+8>>2]=j[b+8>>2]&-1025;e=j[b+232>>2]}if(c&e&16){Ke(a,j[b+116>>2]);Ke(a,j[b+120>>2]);j[b+116>>2]=0;j[b+120>>2]=0;j[b+8>>2]=j[b+8>>2]&-4097}f=j[b+244>>2];b:{if(!f|!(j[b+232>>2]&c&32)){break b}if((d|0)==-1){e=1;g=a;if(j[b+248>>2]>=1){Ke(a,j[f>>2]);Ke(a,j[j[b+244>>2]+8>>2]);if(j[b+248>>2]>1){while(1){f=e<<4;Ke(a,j[f+j[b+244>>2]>>2]);Ke(a,j[(f+j[b+244>>2]|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=j[b+244>>2]}Ke(g,f);j[b+244>>2]=0;j[b+248>>2]=0;j[b+8>>2]=j[b+8>>2]&-8193;break b}e=d<<4;Ke(a,j[e+f>>2]);Ke(a,j[(e+j[b+244>>2]|0)+8>>2]);e=e+j[b+244>>2]|0;j[e+8>>2]=0;j[e>>2]=0}f=j[b+236>>2];c:{if(!f|!(j[b+232>>2]&c&512)){break c}if((d|0)==-1){e=1;g=a;if(j[b+240>>2]>=1){Ke(a,j[f+8>>2]);if(j[b+240>>2]>1){while(1){Ke(a,j[(j[b+236>>2]+p(e,20)|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=j[b+236>>2]}Ke(g,f);j[b+236>>2]=0;j[b+240>>2]=0;break c}e=p(d,20);Ke(a,j[(e+f|0)+8>>2]);j[(e+j[b+236>>2]|0)+8>>2]=0}e=j[b+232>>2];if(e&c&8){Ke(a,j[b+204>>2]);j[b+204>>2]=0;j[b+8>>2]=j[b+8>>2]&-65;e=j[b+232>>2]}if(c&e&4096){Ke(a,j[b+16>>2]);j[b+16>>2]=0;i[b+20>>1]=0;j[b+8>>2]=j[b+8>>2]&-9;e=j[b+232>>2]}if(c&e&64){f=j[b+264>>2];if(f){g=a;if(j[b+4>>2]){Ke(a,j[f>>2]);if(m[b+4>>2]>=2){e=1;while(1){Ke(a,j[j[b+264>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]){continue}break}}f=j[b+264>>2]}Ke(g,f);j[b+264>>2]=0;e=j[b+232>>2]}j[b+8>>2]=j[b+8>>2]&-32769}j[b+232>>2]=(((d|0)==-1?c:c&-16929)^-1)&e}}function xj(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;n=oe-1040|0;oe=n;g=j[a+52>>2];if(k[a|0]&2){bi(a,1)}if(g){d=j[g>>2];a:{if(!d){break a}c=j[d+56>>2];j[d+56>>2]=c-1;if((c|0)>1){break a}kf(d)}j[g>>2]=0;j[g+80>>2]=0;j[g+84>>2]=0;d=g- -64|0;c=j[d>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[d>>2]=0}j[g+4>>2]=0;d=g+4|0;c=j[b+4>>2];b:{c:{d:{e:{f:{q=j[a+4>>2];e=j[q>>2];g:{if(!(((e&-268435456)!=268435456?e:0)|(e>>>24&15)-1>>>0>2)){h:{f=j[c>>2];if((f&-268435456)!=268435456?f:0){break h}e=-1;if((f>>>24&15)-1>>>0>2){break h}f=ln(j[q+4>>2],j[c+4>>2],d);j[g- -64>>2]=f;if(j[g+4>>2]?0:!f){break b}if(k[q+8|0]==k[c+8|0]){break e}j[d>>2]=0;break e}d=j[a+52>>2];t=k[d+79|0];u=k[d+78|0];v=k[d+77|0];w=k[d+76|0];d=k[c+9|0];f=(d|0)==3?4:d;s=j[q+4>>2];d=p(f,j[s>>2]);d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}i:{if(d){e=0;if(j[s>>2]>0){break i}j[g- -64>>2]=d;break e}Be(0);j[g- -64>>2]=0;e=-1;break b}while(1){m=j[s+4>>2]+(e<<2)|0;o=(p(k[m+3|0],t)>>>0)/255|0;l=(p(k[m+2|0],u)>>>0)/255|0;r=(p(k[m+1|0],v)>>>0)/255|0;m=(p(k[m|0],w)>>>0)/255|0;j:{k:{switch(k[c+9|0]-1|0){case 0:h[d+p(e,f)|0]=r>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=r>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)|0]=m;h[o+(k[c+33|0]>>>3|0)|0]=r;h[o+(k[c+34|0]>>>3|0)|0]=l;break j;case 3:break k;default:break j}}j[d+p(e,f)>>2]=r>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]){continue}break}j[g- -64>>2]=d;break g}e=j[c>>2];if(((e&-268435456)!=268435456?e:0)|(e>>>24&15)-1>>>0>2){break f}r=j[c+4>>2];j[n+1024>>2]=256;e=0;while(1){f=(e<<2)+n|0;h[f+3|0]=255;l=e&224;h[f|0]=l>>>6|l|l>>>3;l=e&3;l=l<<2|l;h[f+2|0]=l<<4|l;l=f;f=e<<3&224;h[l+1|0]=f>>>6|f|f>>>3;e=e+1|0;if((e|0)!=256){continue}break}j[n+1028>>2]=n;e=ln(n+1024|0,r,d);j[g- -64>>2]=e;if(!e){e=-1;if(!j[g+4>>2]){break b}}j[d>>2]=0}j[g>>2]=b;if(b){break d}break c}if((c|0)!=(q|0)){break e}j[d>>2]=1}j[g>>2]=b}j[b+56>>2]=j[b+56>>2]+1}b=g;d=j[c+4>>2];if(d){f=j[d+8>>2]}else{f=0}j[b+80>>2]=f;b=j[q+4>>2];if(b){b=j[b+8>>2]}else{b=0}j[g+84>>2]=b;e=vv(a)}oe=n+1040|0;return e}function ss(a,b,c,d){var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;x=oe-272|0;oe=x;t=j[b+4>>2];e=j[b+8>>2];j[a+52>>2]=-2147483648;j[a+56>>2]=0;j[a+48>>2]=e;j[a+44>>2]=t;A=j[b+52>>2];h=j[b+28>>2];f=j[b+24>>2];y=j[b+44>>2];j[c>>2]=t;j[d>>2]=e;g=1;a:{if((y|0)<1|(f|0)<2){break a}n=i[h+12>>1];r=n;while(1){k=i[(h+p(g,40)|0)+12>>1];r=(k|0)>(r|0)?k:r;n=(k|0)<(n|0)?k:n;g=g+1|0;if((f|0)!=(g|0)){continue}break}if((n|0)>=(r|0)){break a}C=a,D=ye(n,t)+e|0,j[C>>2]=D;h=ye(r,t)+e|0;j[a+4>>2]=h;e=h&-32;j[a+24>>2]=e;m=j[a>>2];l=m&-32;j[a+16>>2]=l;j[a+8>>2]=m&-64;u=e+32|0;j[a+28>>2]=u;k=l+32|0;j[a+20>>2]=k;j[a+12>>2]=h+63&-64;if((h|0)<(k|0)){j[a+20>>2]=h;k=h}if((e|0)<(m|0)){j[a+24>>2]=m;e=m}g=h-m|0;j[a+32>>2]=g;f=a;if((g|0)>=65){k=e-k|0}else{j[a+24>>2]=h;j[a+20>>2]=m;k=g}j[f+36>>2]=k;e=u-l|0;j[a+40>>2]=e;l=(g|0)<129?(g|0)<97?4:8:16;f=g-l|0;if((f|0)>(k|0)){j[a+36>>2]=f;k=f}f=g+l|0;if((f|0)<(e|0)){j[a+40>>2]=f;e=f}f=(p(g,3)|0)/4|0;if((f|0)>(k|0)){j[a+36>>2]=f;k=f}f=(p(g,5)|0)/4|0;if((f|0)<(e|0)){j[a+40>>2]=f;e=f}b:{if((e|0)<(k|0)){break b}B=r-n|0;while(1){f=(g-k|0)+m|0;c:{d:{if((g|0)<=(k|0)){e=j[a+16>>2];if((f|0)>=(e|0)){break d}f=(h-f|0)+e|0;break c}e=j[a+20>>2];if((f|0)<=(e|0)){break d}f=(h-f|0)+e|0;break c}e=f;f=h}u=De(k-g|0,B)+t|0;v=ye(n,u);z=Ee(x,0,260);o=j[a+24>>2];g=f;l=f-e|0;f=j[a+16>>2];q=(o|0)>(f+l|0)?o-l|0:f;o=j[a+8>>2];f=q-o|0;e:{if((f|0)<0){break e}w=q;q=j[a+28>>2];s=j[a+20>>2];l=(q|0)<(l+s|0)?q-l|0:s;if((w|0)>(l|0)){break e}l=l-o|0;if((l|0)>64){break e}q=((g|0)<(h|0)?h-g|0:g-h|0)+((e|0)<(m|0)?m-e|0:e-m|0)|0;m=e-v|0;o=e-o|0;if((y|0)>=1){v=(m-o|0)+f|0;h=0;while(1){e=p(h,48)+A|0;s=i[e+6>>1]-i[e+4>>1]|0;g=ye(i[e+2>>1],u)+v|0;e=f;while(1){w=(e<<2)+z|0;j[w>>2]=j[w>>2]+p(s,j[((g&63)<<2)+74368>>2]);g=g+1|0;w=(e|0)<(l|0);e=e+1|0;if(w){continue}break}h=h+1|0;if((y|0)!=(h|0)){continue}break}}q=p(q,10);h=j[a+52>>2];while(1){g=f;s=f-o|0;v=s+q|0;e=j[(f<<2)+z>>2];if(!((e|0)!=(h|0)|(v|0)>=j[a+56>>2]?(e|0)<=(h|0):0)){j[a+56>>2]=v;j[a+52>>2]=e;j[a+44>>2]=u;j[a+48>>2]=m+s;h=e}f=g+1|0;if((g|0)<(l|0)){continue}break}}if(j[a+40>>2]<=(k|0)){break b}k=k+1|0;g=j[a+32>>2];h=j[a+4>>2];m=j[a>>2];continue}}e=j[a+48>>2];a=j[a+44>>2];k=a-t|0;C=b,D=ye(n,k)+e|0,j[C+2992>>2]=D;C=b,D=ye(r,k)+e|0,j[C+2996>>2]=D;j[c>>2]=a;j[d>>2]=e}oe=x+272|0}function Fh(a,b,c,d,e){var f=0,g=q(0),i=0,l=0,m=0,o=0,p=0,s=q(0),t=0,u=0,x=0;l=oe+ -64|0;oe=l;a:{b:{c:{if(!j[67044]|!a|(c|(b|0)==-1)){break c}if(!(h[268212]&1)){break c}ko(-1,-1,0,0,q(q(d|0)/q(j[a+24>>2])),q(q(e|0)/q(j[a+28>>2])));break b}x=(b|0)==-1;if((b|0)!=-1){break b}if(!j[67043]){break a}}d:{if(!j[67036]|x){break d}j[l>>2]=0;j[l+60>>2]=0;Wg(a,l,l+60|0);f=j[l>>2]/2|0;j[l>>2]=f;i=j[l+60>>2]/2|0;j[l+60>>2]=i;if(!((d|0)!=(f|0)|(e|0)!=(i|0))){j[67030]=e;j[67029]=d;break a}p=a?a:j[67024];if(!p){break d}o=j[67018];if(o){qe[o|0](p,f,i);break d}o=j[67023];if(!Gh(p,f,i,(o|0)!=-1)){break d}Fh(p,o,0,f,i)}e:{f:{g:{if(c){if(j[67035]){g=n[67038];if(g==q(1)){break g}g=q(q(g*q(d|0))+n[67039]);n[67039]=g;s=n[67039];m=+g;m=g>=q(0)^1?w(m):v(m);h:{if(r(m)<2147483648){i=~~m;break h}i=-2147483648}n[67039]=s-q(i|0);g=n[67038];if(g==q(1)){f=e;break f}g=q(q(g*q(e|0))+n[67040]);n[67040]=g;s=n[67040];m=+g;m=g>=q(0)^1?w(m):v(m);i:{if(r(m)<2147483648){f=~~m;break i}f=-2147483648}n[67040]=s-q(f|0);break f}g=n[67037];if(g==q(1)){break g}g=q(q(g*q(d|0))+n[67039]);n[67039]=g;s=n[67039];m=+g;m=g>=q(0)^1?w(m):v(m);j:{if(r(m)<2147483648){i=~~m;break j}i=-2147483648}n[67039]=s-q(i|0);g=n[67037];if(g==q(1)){f=e;break f}g=q(q(g*q(e|0))+n[67040]);n[67040]=g;s=n[67040];m=+g;m=g>=q(0)^1?w(m):v(m);k:{if(r(m)<2147483648){f=~~m;break k}f=-2147483648}n[67040]=s-q(f|0);break f}f=e-j[67030]|0;i=d-j[67029]|0;break e}f=e;i=d}e=j[67030]+f|0;d=j[67029]+i|0}if(!(f|i)){break a}if(!j[67034]){j[67034]=1;i=0;f=0}o=f;f=!j[67033]&x;p=f?0:o;o=f?0:i;i=j[67035];l:{if(!i){j[67025]=d;f=e;break l}j[67025]=o+j[67025];f=p+j[67026]|0}j[67026]=f;if(!(!a|k[a+49|0]&64)){j[l>>2]=0;j[l+60>>2]=0;Wg(j[67024],l,l+60|0);f=j[l+60>>2];i=f-1|0;t=j[67025];u=j[l>>2];a=(t|0)<(u|0);t=a?t:u-1|0;u=(t|0)<0;if(!(a?!u:0)){j[67025]=u?0:t}a=f;f=j[67026];a=(a|0)>(f|0);f=a?f:i;i=(f|0)<0;if(!(a?!i:0)){j[67026]=i?0:f}i=j[67035]}j[67027]=o+j[67027];j[67028]=p+j[67028];m:{if(i|!j[67051]){break m}a=j[67016];if(!a){break m}f=j[67050];if(!f){break m}qe[a|0](f)}if((We(1024,-1)|0)==1){j[l>>2]=1024;a=0;f=j[67024];if(f){a=j[f+4>>2]}j[67045]=x;j[l+12>>2]=b;j[l+8>>2]=a;j[l+32>>2]=p;j[l+28>>2]=o;j[l+16>>2]=j[67033];a=j[67026];j[l+20>>2]=j[67025];j[l+24>>2]=a;gf(l)}n:{if(c){j[67029]=j[67025];e=j[67026];break n}j[67029]=d}j[67030]=e}oe=l- -64|0}function rA(a,b){var c=0,d=0,e=q(0),f=0,g=q(0),i=q(0),l=0,m=q(0),o=q(0),p=0,s=0,t=0,u=0,v=0,w=0,x=q(0);c=oe-16|0;p=c;oe=c;t=c+ -64|0;oe=t;w=a+340|0;while(1){c=(d<<3)+b|0;o=n[c+4>>2];d=d+1|0;f=(d<<3)+b|0;g=n[f+4>>2];e=n[c>>2];m=n[f>>2];a:{if(e==m){c=(s<<4)+t|0;i=e;e=n[a+288>>2];n[c>>2]=i*e;i=n[a+292>>2];n[c+8>>2]=e;l=c;e=i;m=g>o?o:g;b:{if(q(r(m))>2]=e*q(f|0);e=g>2]=i*q((l-f|0)+1|0);s=s+1|0;break a}if(g==o){c=(s<<4)+t|0;l=c;i=n[a+288>>2];x=i;g=e>2]=x*q(f|0);g=n[a+292>>2];n[c+12>>2]=g;l=c;e=e>m?e:m;e:{if(q(r(e))>2]=i*q((u-f|0)+1|0);n[c+4>>2]=o*g;s=s+1|0;break a}i=e;e=n[a+288>>2];n[p>>2]=i*e;i=n[a+292>>2];n[p+8>>2]=m*e;n[p+12>>2]=g*i;n[p+4>>2]=o*i;f=-1;f:{if(Fj(a,k[a+324|0],k[a+325|0],k[a+326|0],k[a+327|0])){break f}g:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break g}c=Xe(1,28);if(c){break g}Be(0);break f}l=j[a+344>>2];j[(l?l+24|0:w)>>2]=c;j[a+344>>2]=c;if(!c){break f}j[c>>2]=6;j[c+4>>2]=0;j[c+8>>2]=0;h[c+12|0]=k[a+324|0];h[c+13|0]=k[a+325|0];h[c+14|0]=k[a+326|0];h[c+15|0]=k[a+327|0];f=j[a+328>>2];j[c+20>>2]=0;j[c+16>>2]=f;f=qe[j[a+32>>2]](a,c,p,2)|0;if((f|0)>-1){break f}j[c>>2]=0}v=f+v|0}if((d|0)!=4){continue}break}c=-1;h:{if(Fj(a,k[a+324|0],k[a+325|0],k[a+326|0],k[a+327|0])){break h}i:{d=j[a+348>>2];if(d){j[a+348>>2]=j[d+24>>2];j[d+24>>2]=0;break i}d=Xe(1,28);if(d){break i}Be(0);break h}b=j[a+344>>2];j[(b?b+24|0:a+340|0)>>2]=d;j[a+344>>2]=d;if(!d){break h}j[d>>2]=7;j[d+4>>2]=0;j[d+8>>2]=0;h[d+12|0]=k[a+324|0];h[d+13|0]=k[a+325|0];h[d+14|0]=k[a+326|0];h[d+15|0]=k[a+327|0];b=j[a+328>>2];j[d+20>>2]=0;j[d+16>>2]=b;c=qe[j[a+36>>2]](a,d,t,s)|0;if((c|0)>-1){break h}j[d>>2]=0}j:{if(j[a+336>>2]|(c+v|0)<0){break j}b=j[a+340>>2];if(!b){break j}d=a+420|0;qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;while(1){b=d;d=j[d+8>>2];if(d){continue}break}j[b+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}oe=p+16|0}function kq(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0;e=j[j[a+8>>2]+140>>2];if((e|0)>=1){Ae(j[a+136>>2],j[a+140>>2],l[a+132>>1]<<3)}Ae(j[a+160>>2]+284|0,j[a+4>>2]+172|0,68);a:{if(b){c=j[a+160>>2];j[c+220>>2]=65536;j[c+224>>2]=65536;Ae(j[a+144>>2],j[a+140>>2],l[a+132>>1]<<3);break a}c=j[a+160>>2];d=j[a+4>>2];j[c+220>>2]=j[d+48>>2];j[c+224>>2]=j[d+52>>2]}c=j[a+140>>2];d=l[a+132>>1];n=d-4|0;f=c+(n<<3)|0;j[f>>2]=j[f>>2]+32&-64;f=d-3|0;g=(f<<3)+c|0;j[g>>2]=j[g>>2]+32&-64;g=d-2|0;m=(g<<3)+c|0;j[m+4>>2]=j[m+4>>2]+32&-64;d=d-1|0;m=(d<<3)+c|0;j[m+4>>2]=j[m+4>>2]+32&-64;b:{if((e|0)>=1){d=j[j[a+12>>2]- -64>>2];c=j[a+160>>2];h[c+560|0]=b;j[c+464>>2]=e;j[c+460>>2]=j[c+392>>2];b=j[a+128>>2];j[c+144>>2]=j[a+124>>2];j[c+148>>2]=b;b=j[a+136>>2];j[c+152>>2]=j[a+132>>2];j[c+156>>2]=b;b=j[a+144>>2];j[c+160>>2]=j[a+140>>2];j[c+164>>2]=b;b=j[a+152>>2];j[c+168>>2]=j[a+148>>2];j[c+172>>2]=b;j[c+176>>2]=j[a+156>>2];b=j[a+160>>2];j[b+360>>2]=0;j[b+352>>2]=3;c=j[b+148>>2];j[b+36>>2]=j[b+144>>2];j[b+40>>2]=c;j[b+364>>2]=j[b+464>>2];c=j[b+156>>2];j[b+44>>2]=j[b+152>>2];j[b+48>>2]=c;c=j[b+164>>2];j[b+52>>2]=j[b+160>>2];j[b+56>>2]=c;c=j[b+172>>2];j[b+60>>2]=j[b+168>>2];j[b+64>>2]=c;j[b+68>>2]=j[b+176>>2];j[b+356>>2]=j[b+460>>2];c=j[b+148>>2];j[b+72>>2]=j[b+144>>2];j[b+76>>2]=c;c=j[b+156>>2];j[b+80>>2]=j[b+152>>2];j[b+84>>2]=c;c=j[b+164>>2];j[b+88>>2]=j[b+160>>2];j[b+92>>2]=c;c=j[b+172>>2];j[b+96>>2]=j[b+168>>2];j[b+100>>2]=c;j[b+104>>2]=j[b+176>>2];j[b+140>>2]=j[b+176>>2];c=j[b+172>>2];j[b+132>>2]=j[b+168>>2];j[b+136>>2]=c;c=j[b+164>>2];j[b+124>>2]=j[b+160>>2];j[b+128>>2]=c;c=j[b+156>>2];j[b+116>>2]=j[b+152>>2];j[b+120>>2]=c;c=j[b+148>>2];j[b+108>>2]=j[b+144>>2];j[b+112>>2]=c;i[b+348>>1]=1;j[b+344>>2]=65537;i[b+294>>1]=16384;i[b+296>>1]=0;i[b+298>>1]=16384;i[b+300>>1]=0;j[b+312>>2]=1;i[b+290>>1]=16384;i[b+292>>1]=0;j[b+304>>2]=1;j[b+428>>2]=0;j[b+16>>2]=0;c=qe[j[j[b>>2]+652>>2]](b)|0;b=j[a+160>>2];if(k[b+561|0]?c:0){break b}h[d|0]=k[d|0]|k[b+340|0]<<5|4;b=l[a+132>>1];d=b-1|0;g=b-2|0;f=b-3|0;n=b-4|0;c=j[a+140>>2]}b=(n<<3)+c|0;e=j[b+4>>2];j[a+68>>2]=j[b>>2];j[a+72>>2]=e;b=(f<<3)+c|0;e=j[b+4>>2];j[a+76>>2]=j[b>>2];j[a+80>>2]=e;b=(g<<3)+c|0;e=j[b+4>>2];j[a+184>>2]=j[b>>2];j[a+188>>2]=e;b=(d<<3)+c|0;c=j[b+4>>2];j[a+192>>2]=j[b>>2];j[a+196>>2]=c;c=0}return c}function Ng(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{b:{if(!a){break b}c=j[a>>2];if(!c){break b}e=j[b>>2];m=k[e+5|0];g=j[b+12>>2];n=j[b+8>>2];i=k[e+26|0];o=k[e+18|0]|k[e+19|0]<<8|(k[e+20|0]<<16|k[e+21|0]<<24);h=k[e+14|0]|k[e+15|0]<<8|(k[e+16|0]<<16|k[e+17|0]<<24);p=k[e+6|0]|k[e+7|0]<<8|(k[e+8|0]<<16|k[e+9|0]<<24);q=k[e+10|0]|k[e+11|0]<<8|(k[e+12|0]<<16|k[e+13|0]<<24);l=k[e+4|0];d=j[a+36>>2];b=j[a+12>>2];if(b){f=j[a+8>>2]-b|0;j[a+8>>2]=f;if(f){yg(c,b+c|0,f)}j[a+12>>2]=0}if(d){b=a;c=j[a+28>>2]-d|0;if(c){f=j[a+16>>2];yg(f,f+(d<<2)|0,c<<2);c=j[a+20>>2];yg(c,c+(d<<3)|0,j[a+28>>2]-d<<3);c=j[a+28>>2]-d|0}else{c=0}j[b+28>>2]=c;j[a+36>>2]=0;j[a+32>>2]=j[a+32>>2]-d}if((h|0)!=j[a+336>>2]|l){break b}if(ME(a,i+1|0)){break b}f=m&1;h=j[a+340>>2];c:{if((h|0)==(o|0)){break c}c=j[a+32>>2];l=j[a+28>>2];if((c|0)<(l|0)){d=j[a+8>>2];r=j[a+16>>2];b=c;while(1){d=d-k[(b<<2)+r|0]|0;b=b+1|0;if((l|0)>(b|0)){continue}break}j[a+8>>2]=d}j[a+28>>2]=c;if((h|0)==-1){break c}b=c+1|0;j[a+28>>2]=b;j[j[a+16>>2]+(c<<2)>>2]=1024;j[a+32>>2]=b}b=m&2;d=0;d:{if(!f){break d}c=j[a+28>>2];if(j[(j[a+16>>2]+(c<<2)|0)-4>>2]!=1024?(c|0)>=1:0){break d}b=0;if(!i){break d}while(1){d=b+1|0;b=k[(b+e|0)+27|0];g=g-b|0;n=b+n|0;if((b|0)!=255){b=0;break d}b=d;if((i|0)!=(b|0)){continue}break}b=0;d=i}if(g){c=j[a+8>>2];f=j[a+4>>2];e:{if((c|0)<(f-g|0)){f=j[a>>2];break e}if((f|0)>(2147483647-g|0)){break a}c=g+f|0;c=(c|0)<2147482623?c+1024|0:c;f=Vf(j[a>>2],c);if(!f){break a}j[a>>2]=f;j[a+4>>2]=c;c=j[a+8>>2]}Ae(c+f|0,n,g);j[a+8>>2]=j[a+8>>2]+g}n=m&4;f:{if((d|0)>=(i|0)){break f}m=j[a+20>>2];f=j[a+16>>2];c=j[a+28>>2];h=f+(c<<2)|0;g=k[(d+e|0)+27|0];j[h>>2]=g;l=m+(c<<3)|0;j[l>>2]=-1;j[l+4>>2]=-1;if(b){j[h>>2]=g|256}b=c+1|0;j[a+28>>2]=b;g:{if((g|0)==255){c=-1;break g}j[a+32>>2]=b}d=d+1|0;if((i|0)!=(d|0)){while(1){h=k[(d+e|0)+27|0];j[f+(b<<2)>>2]=h;g=m+(b<<3)|0;j[g>>2]=-1;j[g+4>>2]=-1;g=b+1|0;j[a+28>>2]=g;if((h|0)!=255){j[a+32>>2]=g;c=b}b=g;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((c|0)==-1){break f}b=j[a+20>>2]+(c<<3)|0;j[b>>2]=p;j[b+4>>2]=q}h:{if(!n){break h}j[a+328>>2]=1;b=j[a+28>>2];if((b|0)<1){break h}b=(j[a+16>>2]+(b<<2)|0)-4|0;j[b>>2]=j[b>>2]|512}j[a+340>>2]=o+1}return}b=j[a>>2];if(b){ze(b)}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360)}function Dq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;i=j[a+16>>2];n=k[i+6|0]<<8|k[i+7|0]&254;if(!n){return 0}v=n+2|0;t=i+14|0;l=j[b>>2]+((c|0)!=0)|0;w=n>>>1|0;d=w;a:{b:{while(1){c:{e=d+h|0;g=(e&-2)+t|0;o=k[g|0]<<8|k[g+1|0];e=e>>>1|0;f=e;g=g+v|0;s=k[g|0]<<8|k[g+1|0];if(s>>>0<=l>>>0){if(l>>>0<=o>>>0){break c}h=e+1|0}else{d=f}if(d>>>0>h>>>0){continue}break b}break}d=g+n|0;y=k[d|0]<<8|k[d+1|0];r=y;f=d+n|0;x=k[f|0]<<8|k[f+1|0];h=x;d:{e:{f:{g:{h:{i:{if((o|0)!=65535){break i}r=y;h=x;if((s|0)!=65535|w-1>>>0>e>>>0){break i}if(!x){break h}d=j[a>>2];d=(f+x|0)+2>>>0>j[d+500>>2]+j[d+504>>2]>>>0;h=d?0:x;r=d?1:y}if(!(k[a+20|0]&2)){break f}m=e+1|0;g=(h|0)==65535?m:e;break g}if(!(k[a+20|0]&2)){o=65535;break d}m=e+1|0;h=0;g=e}j:{k:{l:{if(e){q=e-1|0;z=q<<1;d=z+t|0;u=k[d|0]<<8|k[d+1|0];m:{if(u>>>0>>0){d=e;i=o;q=s;break m}r=(i+p(n,3)|0)+16|0;C=t+v|0;n:{while(1){o:{i=u;d=q;A=z+C|0;B=A+n|0;f=B+n|0;h=k[f|0]<<8|k[f+1|0];g=(h|0)==65535?g:d;if(!d){break o}q=d-1|0;z=q<<1;u=z+t|0;u=k[u|0]<<8|k[u+1|0];if(u>>>0>=l>>>0){continue}break n}break}d=0;f=r}r=k[B+1|0]|k[B|0]<<8;q=k[A+1|0]|k[A|0]<<8}if((g|0)==(m|0)){break l}e=d;o=i;s=q;break j}e=0;i=0;if((g|0)==(m|0)){break k}break j}if((e|0)==(d|0)){o=i;s=q;i=e;break k}r=y;h=x;i=e}p:{q:{if(m>>>0>>0){d=(m<<1)+t|0;f=v+d|0;e=k[f|0]<<8|k[f+1|0];if(l>>>0>>0){g=i;break p}g=i;break q}e=m-1|0;d=0;break a}r:{while(1){s:{s=e;o=d;q=(d+v|0)+n|0;f=q+n|0;h=k[f|0]<<8|k[f+1|0];g=(h|0)==65535?g:m;m=m+1|0;if((w|0)==(m|0)){break s}d=(m<<1)+t|0;f=v+d|0;e=k[f|0]<<8|k[f+1|0];if(l>>>0>=e>>>0){continue}break r}break}m=w}r=k[q+1|0]|k[q|0]<<8;o=k[o+1|0]|k[o|0]<<8}e=m-1|0;d=0;if((g|0)==(i|0)){break a}}if((e|0)==(g|0)){e=g;break e}e=(g<<1)+t|0;o=k[e|0]<<8|k[e+1|0];e=e+v|0;s=k[e|0]<<8|k[e+1|0];e=e+n|0;r=k[e|0]<<8|k[e+1|0];f=e+n|0;h=k[f|0]<<8|k[f+1|0];e=g;break e}d=0;if((h|0)==65535){break a}}if(!h){break d}d=((l-s<<1)+h|0)+f|0;d=k[d|0]<<8|k[d+1|0];if(!d){break b}d=d+r&65535;break a}d=l+r&65535;break a}d=0}if(!c){return d}t:{if(l>>>0>o>>>0){f=0;e=e+1|0;if((w|0)==(e|0)){break t}}if(wq(a,e)){if(!d){return 0}j[b>>2]=l;return d}j[a+24>>2]=l;u:{if(d){j[a+28>>2]=d;f=d;break u}j[a+24>>2]=l;Cq(a);f=j[a+28>>2];if(!f){return 0}l=j[a+24>>2]}j[b>>2]=l}return f}function oq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,k=0,n=0,o=0,q=0,r=0,s=0,t=0;e=oe-48|0;oe=e;j[e+12>>2]=0;h[a+672|0]=0;r=j[a+100>>2];a:{b:{f=j[a+676>>2];if(!f){f=Tl(a,0);j[e+12>>2]=f;if(f){break a}f=j[a+676>>2]}q=j[f+8>>2];g=j[q>>2];b=b>>>0>g>>>0?g:b;if(!b){break b}while(1){if(j[(d<<2)+c>>2]+65536>>>0<131073){d=d+1|0;if((b|0)!=(d|0)){continue}break b}break}j[e+12>>2]=6;break a}if(!j[f+36>>2]){g=j[a+104>>2];i=j[g+28>>2];d=qe[j[a+508>>2]](a,1735811442,g,e+40|0)|0;j[e+44>>2]=d;c:{if(d){break c}k=j[g+8>>2];d=$e(g,158752,e+16|0);j[e+44>>2]=d;if(d){break c}j[f+24>>2]=l[e+22>>1];n=l[e+28>>1];j[f+32>>2]=n;d=8;if(j[e+16>>2]!=65536|l[e+20>>1]!=l[j[f+8>>2]>>1]){break c}o=j[e+32>>2];s=f,t=xe(i,4,0,n+1|0,0,e+44|0),j[s+36>>2]=t;d=j[e+44>>2];if(d){break c}n=k+o|0;d=j[f+32>>2];d:{if(h[e+30|0]&1){d=_e(g,(d<<2)+4|0);j[e+44>>2]=d;if(d){break c}d=0;while(1){o=Ff(g);j[j[f+36>>2]+(d<<2)>>2]=n+o;d=d+1|0;if(d>>>0<=m[f+32>>2]){continue}break}break d}d=_e(g,(d<<1)+2|0);j[e+44>>2]=d;if(d){break c}d=0;while(1){o=af(g);j[j[f+36>>2]+(d<<2)>>2]=n+(o<<1);d=d+1|0;if(d>>>0<=m[f+32>>2]){continue}break}}Ve(g);d=j[f+24>>2];if(d){s=f,t=xe(i,4,0,p(d,l[e+20>>1]),0,e+44|0),j[s+28>>2]=t;d=j[e+44>>2];if(d){break c}d=Fe(g,k+j[e+24>>2]|0);j[e+44>>2]=d;if(d){break c}d=_e(g,p(j[f+24>>2],l[e+20>>1])<<1);j[e+44>>2]=d;if(d){break c}k=j[f+24>>2];if(k){n=0;i=l[e+20>>1];while(1){d=0;e:{if(!(i&65535)){i=0;break e}while(1){k=af(g);i=l[e+20>>1];j[j[f+28>>2]+(p(n,i)+d<<2)>>2]=k<<16>>16<<2;d=d+1|0;if(i>>>0>d>>>0){continue}break}k=j[f+24>>2]}n=n+1|0;if(n>>>0>>0){continue}break}}Ve(g)}d=j[e+44>>2]}j[e+12>>2]=d;if(d){break a}}f:{g:{h:{g=j[f+4>>2];if(g){k=0;if(b){break h}d=0;break g}g=xe(r,4,0,j[q>>2],0,e+12|0);j[f+4>>2]=g;if(j[e+12>>2]){break a}i=j[q>>2];k=1;break f}d=0;while(1){i=d<<2;if(j[i+g>>2]!=j[c+i>>2]){k=2;break g}d=d+1|0;if((b|0)!=(d|0)){continue}break}d=b}i=j[q>>2];if(i>>>0<=d>>>0){break f}while(1){if(!j[(d<<2)+g>>2]){d=d+1|0;if(i>>>0>d>>>0){continue}break f}break}k=2}j[f>>2]=i;Ae(g,c,b<<2);h[a+672|0]=1;b=j[a+648>>2];if(!b){break a}i:{switch(k-1|0){case 1:if(b){qe[j[r+8>>2]](r,b)}j[a+648>>2]=0;s=e,t=sq(a,j[a+104>>2]),j[s+12>>2]=t;break a;case 0:break i;default:break a}}s=e,t=nq(a,j[a+104>>2]),j[s+12>>2]=t}oe=e+48|0;return j[e+12>>2]}function wy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;n=j[a+24>>2];c=(n+7|0)/-8|0;o=j[a+28>>2];if(o){x=j[a+16>>2]+(c+n|0)|0;y=j[a+56>>2];g=k[a+63|0];z=j[a+36>>2];A=j[j[j[a+40>>2]+4>>2]+4>>2];m=j[a>>2];c=j[a+20>>2];B=(n|0)<1;a=j[a+44>>2];v=k[a+9|0];w=v-1|0;while(1){o=o-1|0;q=0;r=0;if(!B){while(1){if(!(r&7)){q=k[m|0];m=m+1|0}b=q>>>7&1;a:{if((b|0)==(y|0)){break a}b=(b<<2)+A|0;s=k[b+2|0];t=k[b+1|0];u=k[b|0];b=0;d=0;e=0;f=0;b:{c:{switch(w|0){case 0:b=k[c|0];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break b;case 1:b=l[c>>1];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break b;case 2:e=k[(k[a+34|0]>>>3|0)+c|0];d=k[(k[a+33|0]>>>3|0)+c|0];b=k[(k[a+32|0]>>>3|0)+c|0];f=255;break b;case 3:break c;default:break b}}b=j[c>>2];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0]}f=(f+g|0)-((p(f,g)>>>0)/255|0)&255;s=((p(s-e|0,g)|0)/255|0)+e|0;e=s&255;t=((p(t-d|0,g)|0)/255|0)+d|0;d=t&255;u=((p(u-b|0,g)|0)/255|0)+b|0;b=u&255;d:{switch(w|0){case 0:h[c|0]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>1]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>>3|0)+c|0]=u;h[(k[a+33|0]>>>3|0)+c|0]=t;h[(k[a+34|0]>>>3|0)+c|0]=s;break a;case 3:break d;default:break a}}j[c>>2]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>2];p=j[a+40>>2];o=f-((p<<2)+15&-16)|0;oe=o;if((p|0)>=1){f=0;while(1){j[(f<<2)+o>>2]=-971228160;f=f+1|0;if((p|0)!=(f|0)){continue}break}}a:{if((k|0)<1){break a}i=j[a+4>>2];s=n[i+8>>2];e=q(n[i+4>>2]+e);e=e>2];f=0;while(1){h=f<<2;n[h+c>>2]=e+n[g+h>>2];f=f+1|0;if((k|0)!=(f|0)){continue}break}if((k|0)<1){break a}s=q(n[i+496>>2]-d);y=j[a+8>>2];u=k-1|0;t=j[a+20>>2];h=0;while(1){f=h;h=f<<2;g=j[h+t>>2];e=n[b+h>>2];h=f+1|0;b:{if((k|0)<=(h|0)|(g|0)!=j[t+(h<<2)>>2]){break b}while(1){c:{f=h;d=n[(f<<2)+b>>2];e=d>e?d:e;h=f+1|0;if((k|0)==(h|0)){break c}if((g|0)==j[t+(h<<2)>>2]){continue}break b}break}f=u;h=k}l=f<<2;d:{if(n[l+c>>2]>j[a+32>>2];f=(f|0)<16?f:16;i=j[(((f|0)>0?f:0)<<2)+y>>2];w=(+q(s+e)+ -30)*.10000000149011612;e:{if(r(w)<2147483648){g=~~w;break e}g=-2147483648}f=(g|0)>0?g:0;m=j[i+(((f|0)<7?f:7)<<2)>>2];d=n[m+4>>2];f:{if(q(r(d))>2];g:{if(q(r(d))>2];d=q(q(q(q(d+q(-16))*q(v|0))+q(j[l+t>>2]-j[a+28>>2]|0))-q(v>>1));h:{if(q(r(d))>2]);l=(f<<2)+o|0;if(d>n[l>>2]^1){break i}n[l>>2]=d}g=g+1|0;if((i|0)<=(g|0)){break d}f=f+v|0;if((p|0)>(f|0)){continue}break}}if((h|0)<(k|0)){continue}break}}b=j[a+36>>2];WE(o,b,p);g=0;j:{i=j[a>>2];if((i|0)<2){break j}m=j[a+20>>2];l=j[m>>2];k=j[a+28>>2];f=l-(k+(b>>1)|0)|0;u=j[a+4>>2];h=1;while(1){e=n[u+32>>2];d=n[(f<<2)+o>>2];e=d>e?e:d;b=(j[m+(h<<2)>>2]+l>>1)-k|0;if((b|0)>(f|0)){while(1){f=f+1|0;d=n[(f<<2)+o>>2];e=e==q(-9999)?d:d>q(-9999)?d(f|0)){continue}break}f=b}k:{if((g|0)>=(i|0)){break k}h=f+k|0;if((h|0)<(l|0)){break k}while(1){b=(g<<2)+c|0;if(!(n[b>>2]>2]=e}g=g+1|0;if((i|0)==(g|0)){g=i;break k}if((h|0)>=j[m+(g<<2)>>2]){continue}break}}h=g+1|0;if((i|0)<=(h|0)){break j}l=j[m+(g<<2)>>2];continue}}if((g|0)<(i|0)){d=n[((j[a+40>>2]<<2)+o|0)-4>>2];while(1){a=(g<<2)+c|0;if(!(d>n[a>>2]^1)){n[a>>2]=d}g=g+1|0;if((i|0)!=(g|0)){continue}break}}oe=x}function eA(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;n=oe-32|0;oe=n;l=j[b+76>>2];o=j[a+436>>2];m=Vg();b=j[o>>2];a:{if((m|0)!=(b|0)){j[o+424>>2]=0;if((tg(j[a+188>>2],b)|0)<0){break a}}b=j[a+436>>2];if(!j[b+4>>2]){break a}while(1){if(qe[j[b+104>>2]]()|0){continue}break}}b:{if(j[c+8>>2]<1|j[c+12>>2]<1){break b}j[o+360>>2]=0;qe[j[o+20>>2]](j[l+4>>2],j[l+32>>2]);r=j[c+4>>2]/2|0;s=j[c>>2]/2|0;b=j[c+12>>2];q=(b+1|0)/2|0;k=j[c+8>>2];m=(k+1|0)/2|0;c:{if(k+2>>>0<3|b+2>>>0<3){break c}t=j[l+12>>2];u=j[l+8>>2];w=j[l+4>>2];d:{e:{if((i|0)==(m|0)){k=0;break e}k=p(m,q);k=qe[j[57972]](k?k:1)|0;if(k){j[57976]=j[57976]+1}if(!k){break d}if((b|0)>0){b=k;while(1){Ge(b,h,m);h=h+i|0;b=b+m|0;v=v+1|0;if((q|0)!=(v|0)){continue}break}}h=k}qe[j[o+160>>2]](w,0,s,r,m,q,u,t,h);if(!k){break c}if(k){qe[j[57975]](k);j[57976]=j[57976]-1}break c}Be(0)}qe[j[o+20>>2]](j[l+4>>2],j[l+36>>2]);q=j[c+4>>2]/2|0;r=j[c>>2]/2|0;b=j[c+12>>2];m=(b+1|0)/2|0;h=j[c+8>>2];i=(h+1|0)/2|0;f:{if(h+2>>>0<3|b+2>>>0<3){break f}s=j[l+12>>2];t=j[l+8>>2];u=j[l+4>>2];g:{h:{if((g|0)==(i|0)){h=0;break h}h=p(i,m);h=qe[j[57972]](h?h:1)|0;if(h){j[57976]=j[57976]+1}if(!h){break g}k=0;if((b|0)>0){b=h;while(1){Ge(b,f,i);f=f+g|0;b=b+i|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}f=h}qe[j[o+160>>2]](u,0,r,q,i,m,t,s,f);if(!h){break f}if(h){qe[j[57975]](h);j[57976]=j[57976]-1}break f}Be(0)}qe[j[o+20>>2]](j[l+4>>2],j[l>>2]);g=j[c+8>>2];i:{if(!g){break i}h=j[c+12>>2];if(!h){break i}i=j[l+12>>2];k=j[l+8>>2];m=j[c+4>>2];q=j[c>>2];l=j[l+4>>2];j:{k:{if((e|0)==(g|0)){f=0;break k}b=p(g,h);b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}f=b;if(!b){break j}c=0;if((h|0)>0){while(1){Ge(b,d,g);d=d+e|0;b=b+g|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}}d=f}qe[j[o+160>>2]](l,0,q,m,g,h,k,i,d);if(!f){break i}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}break i}Be(0)}k=0;a=j[a+436>>2];if(!j[a+4>>2]){break b}b=qe[j[a+104>>2]]()|0;if(!b){break b}while(1){c=34367;d=b-1280|0;if(d>>>0<=5){c=j[(d<<2)+34376>>2]}j[n+20>>2]=b;j[n+16>>2]=c;j[n+12>>2]=33782;j[n+8>>2]=1714;j[n+4>>2]=32510;j[n>>2]=33744;ve(34270,n);b=qe[j[a+104>>2]]()|0;if(b){continue}break}k=-1}oe=n+32|0;return k|0}function Qx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;f=j[a+16>>2]/4|0;m=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{d=j[a+48>>2];if(d){if(!g){break a}i=e&7;l=(e+7|0)/8|0;n=f<<2;b:while(1){e=l;c:{d:{switch(i-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=7;continue;default:break e}}a=g-1|0;f=j[c>>2];h[b|0]=k[d+(f>>>16&224|f>>>11&28|f>>>6&3)|0];c=c+4|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+m|0;c=c+n|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}i=e&7;l=(e+7|0)/8|0;f=f<<2;g:while(1){e=l;h:{i:{switch(i-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=7;continue;default:break j}}a=g-1|0;d=j[c>>2];h[b|0]=d>>>16&224|d>>>11&28|d>>>6&3;b=b+1|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+m|0;c=c+f|0;g=a;if(a){continue g}break a}a=0;continue}}}}function Px(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;f=j[a+16>>2]/4|0;m=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{d=j[a+48>>2];if(d){if(!g){break a}i=e&7;l=(e+7|0)/8|0;n=f<<2;b:while(1){e=l;c:{d:{switch(i-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=7;continue;default:break e}}a=g-1|0;f=j[c>>2];h[b|0]=k[d+(f>>>22&224|f>>>15&28|f>>>8&3)|0];c=c+4|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+m|0;c=c+n|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}i=e&7;l=(e+7|0)/8|0;f=f<<2;g:while(1){e=l;h:{i:{switch(i-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=7;continue;default:break j}}a=g-1|0;d=j[c>>2];h[b|0]=d>>>22&224|d>>>15&28|d>>>8&3;b=b+1|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+m|0;c=c+f|0;g=a;if(a){continue g}break a}a=0;continue}}}}function AK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=oe-16|0;oe=f;a:{if(j[a+4>>2]){break a}d=6;b:{if(j[a+12>>2]!=1){break b}n=j[a>>2];q=(b|0)!=0;b=(p(q,36)+a|0)+16|0;g=b;d=j[c>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}i=e>>16;d=j[c+4>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}d=ej(g,i,e>>16,n,f);if(d){break b}d=b;e=j[c+8>>2];g=e+32768&-65536;if((e|0)<0){g=0-(32768-e&-65536)|0}i=g>>16;e=j[c+12>>2];g=e+32768&-65536;if((e|0)<0){g=0-(32768-e&-65536)|0}d=ej(d,i,g>>16,n,f+4|0);if(d){break b}d=j[c+16>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}e=e>>16;c=j[c+20>>2];d=c+32768&-65536;if((c|0)<0){d=0-(32768-c&-65536)|0}d=ej(b,e,d>>16,n,f+8|0);if(d){break b}g=j[f+8>>2];i=j[f+4>>2];l=j[f>>2];o=p(q,36)+a|0;s=o;e=j[o+40>>2];c:{if(e){r=g>>3;t=i>>3;u=l>>3;v=128>>>(g&7)|0;w=128>>>(i&7)|0;x=128>>>(l&7)|0;c=j[o+48>>2];d=e;while(1){b=j[c>>2];if((k[j[c+8>>2]+u|0]&x?l>>>0>>0:0)|(k[j[c+8>>2]+t|0]&w?b>>>0>i>>>0:0)|(k[r+j[c+8>>2]|0]&v?b>>>0>g>>>0:0)){break c}c=c+16|0;d=d-1|0;if(d){continue}break}}r=e+1|0;b=j[o+44>>2];d:{if(r>>>0<=b>>>0){c=j[(p(q,36)+a|0)+48>>2];break d}j[f+12>>2]=0;c=b;b=e+8&-8;d=p(q,36)+a|0;c=xe(n,16,c,b,j[d+48>>2],f+12|0);j[d+48>>2]=c;d=j[f+12>>2];if(d){break b}j[o+44>>2]=b}b=0;c=(e<<4)+c|0;j[c+12>>2]=0;j[c>>2]=0;j[s+40>>2]=r}if((l|0)>=0){if(b>>>0<=l>>>0){b=j[c+4>>2];j[f+12>>2]=0;d=l+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){e=b;b=d+7&1073741816;y=c,z=xe(n,1,e,b,j[c+8>>2],f+12|0),j[y+8>>2]=z;d=j[f+12>>2];if(d){break b}j[c+4>>2]=b<<3}j[c>>2]=l+1}b=j[c+8>>2]+(l>>>3|0)|0;h[b|0]=k[b|0]|128>>>(l&7)}if((i|0)>=0){if(m[c>>2]<=i>>>0){b=j[c+4>>2];j[f+12>>2]=0;d=i+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){e=b;b=d+7&1073741816;y=c,z=xe(n,1,e,b,j[c+8>>2],f+12|0),j[y+8>>2]=z;d=j[f+12>>2];if(d){break b}j[c+4>>2]=b<<3}j[c>>2]=i+1}b=j[c+8>>2]+(i>>>3|0)|0;h[b|0]=k[b|0]|128>>>(i&7)}if((g|0)<0){break a}if(m[c>>2]<=g>>>0){b=j[c+4>>2];j[f+12>>2]=0;d=g+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){e=b;b=d+7&1073741816;y=c,z=xe(n,1,e,b,j[c+8>>2],f+12|0),j[y+8>>2]=z;d=j[f+12>>2];if(d){break b}j[c+4>>2]=b<<3}j[c>>2]=g+1}a=j[c+8>>2]+(g>>>3|0)|0;h[a|0]=k[a|0]|128>>>(g&7);break a}j[a+4>>2]=d}oe=f+16|0}function Xl(a,b,c){var d=0,e=0,f=0,g=0,k=0,m=0,n=0;f=oe-16|0;oe=f;j[a+4>>2]=c;j[a>>2]=b;if(c){j[a+396>>2]=j[c+116>>2];j[a+400>>2]=j[c+120>>2];j[a+408>>2]=j[c+128>>2];j[a+412>>2]=j[c+132>>2];j[a+404>>2]=j[c+124>>2];j[a+416>>2]=j[c+136>>2];d=j[c+108>>2];j[a+276>>2]=j[c+104>>2];j[a+280>>2]=d;d=j[c+100>>2];j[a+268>>2]=j[c+96>>2];j[a+272>>2]=d;d=j[c+92>>2];j[a+260>>2]=j[c+88>>2];j[a+264>>2]=d;d=j[c+84>>2];j[a+252>>2]=j[c+80>>2];j[a+256>>2]=d;d=j[c+76>>2];j[a+244>>2]=j[c+72>>2];j[a+248>>2]=d;d=j[c+48>>2];j[a+216>>2]=j[c+44>>2];j[a+220>>2]=d;d=j[c+56>>2];j[a+224>>2]=j[c+52>>2];j[a+228>>2]=d;d=j[c+64>>2];j[a+232>>2]=j[c+60>>2];j[a+236>>2]=d;j[a+240>>2]=j[c+68>>2];j[a+420>>2]=j[c+140>>2];j[a+424>>2]=j[c+144>>2];d=j[c+152>>2];j[a+444>>2]=j[c+148>>2];j[a+448>>2]=d;d=j[c+160>>2];j[a+452>>2]=j[c+156>>2];j[a+456>>2]=d;d=j[c+168>>2];j[a+460>>2]=j[c+164>>2];j[a+464>>2]=d;Ae(a+284|0,c+172|0,68);j[a+380>>2]=j[c+240>>2];j[a+384>>2]=j[c+244>>2];i[a+468>>1]=l[c+248>>1];j[a+472>>2]=j[c+252>>2];d=j[c+260>>2];j[a+180>>2]=j[c+256>>2];j[a+184>>2]=d;d=j[c+268>>2];j[a+188>>2]=j[c+264>>2];j[a+192>>2]=d;d=j[c+276>>2];j[a+196>>2]=j[c+272>>2];j[a+200>>2]=d;d=j[c+284>>2];j[a+204>>2]=j[c+280>>2];j[a+208>>2]=d;j[a+212>>2]=j[c+288>>2];Ee(a+36|0,0,108)}e=j[a+8>>2];a:{b:{c:{c=l[b+284>>1]+32|0;d=j[a+20>>2];d:{if(c>>>0<=d>>>0){c=d;break d}m=a,n=xe(e,1,d<<2,c<<2,j[a+24>>2],f+8|0),j[m+24>>2]=n;e=j[f+8>>2];if(e){break c}e=j[a+8>>2]}j[a+20>>2]=c;c=l[b+286>>1];b=j[a+388>>2];if(c>>>0<=b>>>0){c=b;break b}m=a,n=xe(e,1,b,c,j[a+392>>2],f+12|0),j[m+392>>2]=n;e=j[f+12>>2];if(!e){break b}j[a+388>>2]=b&65535;break a}j[a+20>>2]=d;break a}e=0;j[a+152>>2]=0;j[a+388>>2]=c&65535;b=j[a+148>>2];c=j[a+144>>2];j[a+72>>2]=c;j[a+76>>2]=b;j[a+108>>2]=c;j[a+112>>2]=b;j[a+36>>2]=c;j[a+40>>2]=b;d=j[a+164>>2];b=d;c=j[a+160>>2];j[a+88>>2]=c;j[a+92>>2]=d;g=j[a+172>>2];d=g;k=j[a+168>>2];j[a+96>>2]=k;j[a+100>>2]=d;g=j[a+176>>2];j[a+104>>2]=g;j[a+124>>2]=c;j[a+128>>2]=b;j[a+132>>2]=k;j[a+136>>2]=d;j[a+140>>2]=g;j[a+52>>2]=c;j[a+56>>2]=b;j[a+60>>2]=k;j[a+64>>2]=d;j[a+68>>2]=g;b=j[a+156>>2];c=j[a+152>>2];j[a+80>>2]=c;j[a+84>>2]=b;j[a+116>>2]=c;j[a+120>>2]=b;j[a+44>>2]=c;j[a+48>>2]=b;h[a+488|0]=0}oe=f+16|0;return e}function $l(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;q=c>>8;f=j[a+228>>2];i=f>>8;d=(q|0)<(i|0);a:{if(j[a+176>>2]<=((d?q:i)|0)){break a}o=j[a+172>>2];if((o|0)>((d?i:q)|0)){break a}s=c&255;e=j[a+220>>2];h=j[a+224>>2];d=h-f|0;if((i|0)==(q|0)){jk(a,i,e,d,b,s);break a}k=c-h|0;r=b-e|0;if(!r){g=(k>>>23^-1)&256;d=g-d|0;f=d+j[a+192>>2]|0;j[a+192>>2]=f;n=e<<1&510;h=j[a+188>>2]+p(n,d)|0;j[a+188>>2]=h;s=(k|0)>-1?1:-1;k=s+i|0;l=k-o|0;d=j[a+168>>2];i=e>>8;d=((d|0)<(i|0)?d:i)-j[a+164>>2]|0;d=(d|0)>-1?d:-1;if(!(j[a+160>>2]==(l|0)?(d|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+160>>2]=l;j[a+156>>2]=d;h=0;f=0}e=1;o=j[a+184>>2];e=o>>>0>l>>>0?j[a+180>>2]<=(d|0):e;j[a+196>>2]=e;if((k|0)!=(q|0)){r=(g<<1)-256|0;t=p(r,n);while(1){f=f+r|0;j[a+192>>2]=f;h=h+t|0;j[a+188>>2]=h;u=d;d=j[a+168>>2];d=((d|0)<(i|0)?d:i)-j[a+164>>2]|0;d=(d|0)>-1?d:-1;v=l;k=k+s|0;l=k-j[a+172>>2]|0;if(!((v|0)==(l|0)?(u|0)==(d|0):0)){if(!e){Og(a);o=j[a+184>>2]}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=l;j[a+156>>2]=d;h=0;f=0}e=1;e=l>>>0>>0?(d|0)>=j[a+180>>2]:e;j[a+196>>2]=e;if((k|0)!=(q|0)){continue}break}}d=g+(c|-256)|0;j[a+192>>2]=d+f;j[a+188>>2]=p(d,n)+h;break a}f=a;h=i;g=e;n=d;b:{if((k|0)>-1){l=256;d=256-d|0;o=1;break b}k=0-k|0;o=-1}u=h;v=e;d=p(d,r);e=(d|0)/(k|0)|0;h=d-p(e,k)|0;e=(v+e|0)+(h>>31)|0;jk(f,u,g,n,e,l);d=j[a+168>>2];g=e>>8;d=((d|0)<(g|0)?d:g)-j[a+164>>2]|0;g=(d|0)>-1?d:-1;i=i+o|0;f=i-j[a+172>>2]|0;if(!((f|0)==j[a+160>>2]?(g|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=f;j[a+156>>2]=g}j[a+196>>2]=f>>>0>2]?(g|0)>=j[a+180>>2]:1;c:{if((i|0)==(q|0)){f=256-l|0;break c}f=r<<8;d=(f|0)/(k|0)|0;f=f-p(d,k)|0;g=f>>31;r=(g&k)+f|0;t=d+g|0;f=256-l|0;g=h-((h|0)<0?0:k)|0;while(1){h=e;d=g+r|0;e=e+t+((d^-1)>>>31)|0;jk(a,i,h,f,e,l);g=j[a+168>>2];n=e>>8;g=((g|0)<(n|0)?g:n)-j[a+164>>2]|0;n=(g|0)>-1?g:-1;i=i+o|0;h=i-j[a+172>>2]|0;if(!((h|0)==j[a+160>>2]?(n|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=h;j[a+156>>2]=n}g=d-((d|0)<0?0:k)|0;j[a+196>>2]=h>>>0>2]?(n|0)>=j[a+180>>2]:1;if((i|0)!=(q|0)){continue}break}}jk(a,q,e,f,b,s)}j[a+224>>2]=c;j[a+220>>2]=b;j[a+228>>2]=c&-256}function xy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;n=j[a+24>>2];c=(n+7|0)/-8|0;o=j[a+28>>2];if(o){x=j[a+16>>2]+(c+n|0)|0;g=k[a+63|0];y=j[a+36>>2];z=j[j[j[a+40>>2]+4>>2]+4>>2];m=j[a>>2];c=j[a+20>>2];A=(n|0)<1;a=j[a+44>>2];v=k[a+9|0];w=v-1|0;while(1){o=o-1|0;q=0;r=0;if(!A){while(1){if(!(r&7)){q=k[m|0];m=m+1|0}b=((q&128)>>>5|0)+z|0;s=k[b+2|0];t=k[b+1|0];u=k[b|0];b=0;d=0;e=0;f=0;a:{b:{switch(w|0){case 0:b=k[c|0];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break a;case 1:b=l[c>>1];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break a;case 2:e=k[(k[a+34|0]>>>3|0)+c|0];d=k[(k[a+33|0]>>>3|0)+c|0];b=k[(k[a+32|0]>>>3|0)+c|0];f=255;break a;case 3:break b;default:break a}}b=j[c>>2];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0]}f=(f+g|0)-((p(f,g)>>>0)/255|0)&255;s=((p(s-e|0,g)|0)/255|0)+e|0;e=s&255;t=((p(t-d|0,g)|0)/255|0)+d|0;d=t&255;u=((p(u-b|0,g)|0)/255|0)+b|0;b=u&255;c:{d:{switch(w|0){case 0:h[c|0]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>1]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>>3|0)+c|0]=u;h[(k[a+33|0]>>>3|0)+c|0]=t;h[(k[a+34|0]>>>3|0)+c|0]=s;break c;case 3:break d;default:break c}}j[c>>2]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>2]==268306?a:0)){ve(31970,0);g=-1;break a}if(!c){j[f>>2]=32012;g=ve(31986,f);break a}if(!d){j[f+16>>2]=32019;g=ve(31986,f+16|0);break a}b:{if(b){i=j[b+8>>2];break b}j[f+24>>2]=0;j[f+28>>2]=0;i=j[a+12>>2];j[f+32>>2]=i;j[f+36>>2]=j[a+16>>2];b=f+24|0}if(!i){break a}l=j[b+12>>2];if(!l){break a}h=j[a+40>>2];e=j[a+44>>2];if(e){g=-1;if((lA(e,b,c,d)|0)<0){break a}j[f+48>>2]=0;j[f+52>>2]=0;c=j[a+12>>2];j[f+56>>2]=c;e=j[a+16>>2];j[f+60>>2]=e;c:{if(j[a+8>>2]==1){g=0;j[f+44>>2]=0;j[f+40>>2]=0;if((Hj(h,f+48|0,f+44|0,f+40|0)|0)<0){break c}Yk(j[a+44>>2],f+48|0,j[h+4>>2],j[f+56>>2],j[f+60>>2],j[f+44>>2],j[f+40>>2]);Gj(h);break a}g=0;b=j[h+4>>2];d:{if(!(!b|(b&-268435456)==268435456)){d=2;if((b|0)==844715353|(b|0)==1498831189){break d}d=(b|0)==1431918169?2:1;break d}d=b&255}c=p(d,c)+3&-4;b=p(c,e);if(!b){break a}b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}if(b){Yk(j[a+44>>2],f+48|0,j[h+4>>2],j[f+56>>2],j[f+60>>2],b,c);ei(h,f+48|0,b,c);if(b){qe[j[57975]](b);j[57976]=j[57976]-1}break a}g=Be(0);break a}g=-1;break a}if(h){e:{if(j[a+8>>2]==1){j[f+48>>2]=0;j[f+44>>2]=0;if((Hj(h,b,f+48|0,f+44|0)|0)<0){break e}fh(j[b+8>>2],j[b+12>>2],j[a+4>>2],c,d,j[h+4>>2],j[f+48>>2],j[f+44>>2]);Gj(h);break a}e=j[h+4>>2];f:{if(!(!e|(e&-268435456)==268435456)){k=2;if((e|0)==844715353|(e|0)==1498831189){break f}k=(e|0)==1431918169?2:1;break f}k=e&255}i=p(k,i)+3&-4;e=p(i,l);if(!e){break a}e=qe[j[57972]](e?e:1)|0;if(e){j[57976]=j[57976]+1}if(e){fh(j[b+8>>2],j[b+12>>2],j[a+4>>2],c,d,j[h+4>>2],e,i);ei(h,b,e,i);if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break a}g=Be(0);break a}g=-1;break a}g:{e=j[a+36>>2];if(j[a+72>>2]!=j[e+352>>2]){break g}h=j[e+340>>2];if(!h){break g}g=e+420|0;i=qe[j[e+48>>2]](e,h,j[e+408>>2],j[e+412>>2])|0;while(1){h=g;g=j[h+8>>2];if(g){continue}break}j[h+8>>2]=j[e+432>>2];j[e+432>>2]=j[e+428>>2];j[e+428>>2]=0;g=j[e+344>>2];if(g){j[g+24>>2]=j[e+348>>2];j[e+344>>2]=0;j[e+348>>2]=j[e+340>>2];j[e+340>>2]=0}j[e+412>>2]=0;j[e+404>>2]=0;j[e+396>>2]=0;j[e+400>>2]=0;j[e+352>>2]=j[e+352>>2]+1;if((i|0)>=0){break g}g=-1;break a}g=qe[j[e+52>>2]](e,a,b,c,d)|0}oe=f- -64|0;return g}function lA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,m=0,n=0,o=0;a:{b:{c:{d:{f=j[a>>2];e:{if((f|0)<=1431918168){f:{switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 0:break d;case 11:break e;default:break f}}if((f|0)==825382478){break d}if((f|0)!=844715353){break b}break c}if((f|0)==1431918169|(f|0)==1498831189){break c}if((f|0)!=1448433993){break b}}g:{e=j[b+4>>2];h=j[b>>2];if(e|h){break g}e=0;f=j[b+8>>2];if((f|0)!=j[a+8>>2]){break g}g=j[b+12>>2];if((g|0)!=j[a+12>>2]){break g}break a}if(j[b+12>>2]<1){break b}k=j[b+8>>2];e=h+(j[a+16>>2]+p(j[a+8>>2],e)|0)|0;g=0;f=c;while(1){Ge(e,f,k);f=d+f|0;h=j[a+8>>2];e=h+e|0;g=g+1|0;i=j[b+12>>2];if((g|0)<(i|0)){continue}break}if((i|0)<1){break b}o=(j[b+8>>2]+1|0)/2|0;e=j[a+16>>2]+p(h,j[a+12>>2])+(p(j[b+4>>2]/2|0,(h+1|0)/2|0)+(j[b>>2]/2|0))|0;h=(d+1|0)/2|0;f=p(d,i)+c|0;g=0;while(1){Ge(e,f,o);f=f+h|0;m=j[a+8>>2];i=(m+1|0)/2|0;e=i+e|0;g=g+1|0;k=j[b+12>>2];n=(k+1|0)/2|0;if((g|0)<(n|0)){continue}break}if((k|0)<1){break b}f=(j[b+8>>2]+1|0)/2|0;e=j[a+12>>2];e=(j[a+16>>2]+p(e,m)|0)+p(i,(e+1|0)/2|0)+(p(i,j[b+4>>2]/2|0)+(j[b>>2]/2|0))|0;c=(p(d,k)+c|0)+p(h,n)|0;d=0;while(1){Ge(e,c,f);c=c+h|0;e=((j[a+8>>2]+1|0)/2|0)+e|0;d=d+1|0;if((d|0)<((j[b+12>>2]+1|0)/2|0)){continue}break}break b}h:{e=j[b+4>>2];h=j[b>>2];if(e|h){break h}e=0;f=j[b+8>>2];if((f|0)!=j[a+8>>2]){break h}g=j[b+12>>2];if((g|0)!=j[a+12>>2]){break h}break a}if(j[b+12>>2]<1){break b}k=j[b+8>>2];e=h+(j[a+16>>2]+p(j[a+8>>2],e)|0)|0;g=0;f=c;while(1){Ge(e,f,k);f=d+f|0;h=j[a+8>>2];e=h+e|0;g=g+1|0;i=j[b+12>>2];if((g|0)<(i|0)){continue}break}if((i|0)<1){break b}f=(j[b+8>>2]+1|0)/2<<1;e=(j[a+16>>2]+p(h,j[a+12>>2])|0)+(p((j[b+4>>2]+1|0)/2|0,(h+1|0)/2|0)+(j[b>>2]/2|0)<<1)|0;c=p(d,i)+c|0;g=(d+1|0)/2<<1;d=0;while(1){Ge(e,c,f);c=c+g|0;e=((j[a+8>>2]+1|0)/2<<1)+e|0;d=d+1|0;if((d|0)<((j[b+12>>2]+1|0)/2|0)){continue}break}break b}if(j[b+12>>2]<1){break b}g=(j[b+8>>2]+1|0)/2<<2;e=(j[a+28>>2]+p(j[b+4>>2],l[a+20>>1])|0)+(j[b>>2]<<1)|0;f=0;while(1){Ge(e,c,g);c=c+d|0;e=l[a+20>>1]+e|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}Ge(j[a+16>>2],c,p(f,g)+(p((f+1|0)/2|0,(g+1|0)/2|0)<<1)|0);return 0}function Pi(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,n=0;d=oe-144|0;oe=d;a:{if(!a){j[d>>2]=30506;c=ve(30480,d);break a}b:{c=wg(a,44);if(c){i=1;f=c-a|0;c=f+1|0;c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}if(c){break b}Be(0)}j[d+16>>2]=a;c=ve(30520,d+16|0);break a}Ge(c,a,f);h[c+f|0]=0;k=1;e=0;c:{if(!Me(c,30548)){break c}if(!Me(c,30556)){i=0;e=1;break c}k=(Me(c,30563)|0)!=0;e=1}n=e;zA(d+88|0,c);e=j[d+100>>2];f=d- -64|0;j[f>>2]=j[d+96>>2];j[f+4>>2]=e;e=j[d+92>>2];j[d+56>>2]=j[d+88>>2];j[d+60>>2]=e;if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=j[f+4>>2];j[d+80>>2]=j[f>>2];j[d+84>>2]=c;c=j[d+60>>2];j[d+72>>2]=j[d+56>>2];j[d+76>>2]=c;d:{c=wg(a,44);e:{if(!c){break e}l=c+1|0;f=wg(l,44);if(!f){break e}e=f-c|0;c=e;f=qe[j[57972]](c?c:1)|0;if(f){j[57976]=j[57976]+1}if(f){break d}Be(0)}j[d+32>>2]=a;ve(30570,d+32|0);c=-1;break a}Ge(f,l,e);c=-1;h[(f+e|0)-1|0]=0;f:{e=wg(a,44);g:{if(!e){break g}e=wg(e+1|0,44);if(!e){break g}e=Uf(e+1|0);if(e){break f}}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}j[d+48>>2]=a;ve(30598,d+48|0);break a}h:{i:{j:{k:{l:{a=j[67062];if(a){while(1){if(!wf(d+72|0,a,16)){break l}a=j[a+28>>2];if(a){continue}break}}a=qe[j[57972]](32)|0;if(a){j[57976]=j[57976]+1}if(a){break k}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}Be(0);break a}if(m[a+24>>2]<=b>>>0){c=j[a+16>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[a+16>>2]=f;c=j[a+20>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[a+24>>2]=b;j[a+20>>2]=e;c=j[67069];if(!c){g=1;break h}while(1){if(!wf(j[c>>2]+12|0,a,16)){XA(c,j[a+16>>2],j[a+20>>2]);j[d+88>>2]=1621;j[d+96>>2]=j[j[c>>2]>>2];gf(d+88|0)}c=j[c+32>>2];if(c){continue}break}g=1;break j}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}g=1;break h}c=j[d+76>>2];j[a>>2]=j[d+72>>2];j[a+4>>2]=c;c=j[d+84>>2];j[a+8>>2]=j[d+80>>2];j[a+12>>2]=c;j[a+28>>2]=0;j[a+20>>2]=e;j[a+16>>2]=f;j[a+24>>2]=b;c=j[67062];if(!c){break i}while(1){b=c;c=j[c+28>>2];if(c){continue}break}j[b+28>>2]=a;g=0}if(a){break h}c=-1;break a}j[67062]=a}c=0;if(g){break a}if(!n){j[67070]=a;c=1;break a}if(!i){j[67071]=a;c=1;break a}c=1;if(k){break a}j[67072]=a}oe=d+144|0;return c}function dp(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,n=0,o=0;f=oe-48|0;oe=f;a:{if(c>>>0<=2){c=c<<2;i=j[c+227596>>2];o=j[c+227584>>2];while(1){c=j[b+4>>2];b:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break b}c=ff(b)}if((c|0)==32|c-9>>>0<5){continue}break}g=1;c:{d:{switch(c-43|0){case 0:case 2:break d;default:break c}}g=(c|0)==45?-1:1;c=j[b+4>>2];if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break c}c=ff(b)}e:{f:{while(1){if(h[e+227516|0]==(c|32)){g:{if(e>>>0>6){break g}c=j[b+4>>2];if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break g}c=ff(b)}e=e+1|0;if((e|0)!=8){continue}break f}break}if((e|0)!=3){if((e|0)==8){break f}if(!d|e>>>0<4){break e}if((e|0)==8){break f}}c=j[b+104>>2];if(c){j[b+4>>2]=j[b+4>>2]-1}if(!d|e>>>0<4){break f}while(1){if(c){j[b+4>>2]=j[b+4>>2]-1}e=e-1|0;if(e>>>0>3){continue}break}}GD(f,q(q(g|0)*q(B)));g=j[f+8>>2];i=j[f+12>>2];l=j[f>>2];n=j[f+4>>2];break a}h:{i:{j:{if(e){break j}e=0;while(1){if(h[e+227525|0]!=(c|32)){break j}k:{if(e>>>0>1){break k}c=j[b+4>>2];if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break k}c=ff(b)}e=e+1|0;if((e|0)!=3){continue}break}break i}l:{switch(e|0){case 0:m:{if((c|0)!=48){break m}e=j[b+4>>2];n:{if(e>>>0>2]){j[b+4>>2]=e+1;e=k[e|0];break n}e=ff(b)}if((e&-33)==88){WD(f+16|0,b,o,i,g,d);g=j[f+24>>2];i=j[f+28>>2];l=j[f+16>>2];n=j[f+20>>2];break a}if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1}VD(f+32|0,b,c,o,i,g,d);g=j[f+40>>2];i=j[f+44>>2];l=j[f+32>>2];n=j[f+36>>2];break a;case 3:break i;default:break l}}if(j[b+104>>2]){j[b+4>>2]=j[b+4>>2]-1}break h}o:{c=j[b+4>>2];p:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break p}c=ff(b)}if((c|0)==40){e=1;break o}g=0;i=2147450880;if(!j[b+104>>2]){break a}j[b+4>>2]=j[b+4>>2]-1;break a}while(1){q:{c=j[b+4>>2];r:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break r}c=ff(b)}if(!(c-48>>>0<10|c-65>>>0<26|(c|0)==95)){if(c-97>>>0>=26){break q}}e=e+1|0;continue}break}g=0;i=2147450880;if((c|0)==41){break a}c=j[b+104>>2];if(c){j[b+4>>2]=j[b+4>>2]-1}if(d){if(!e){break a}while(1){e=e-1|0;if(c){j[b+4>>2]=j[b+4>>2]-1}if(e){continue}break}break a}}j[67100]=28;kg(b,0,0)}g=0;i=0}j[a>>2]=l;j[a+4>>2]=n;j[a+8>>2]=g;j[a+12>>2]=i;oe=f+48|0}function Jj(a,b,c,d,e,f,g){var i=0,l=0,m=0,o=0,p=0,s=0,t=q(0),u=0,v=0;s=oe+ -64|0;oe=s;m=fl(a,b);a:{if(!m){break a}b:{c:{if(!(!j[67043]|(a|0)==-1&(b|0)==-1)){d:{e:{i=j[67024];if(!i){i=j[66371];if(!i){break e}}l=k[268228];if(e){if(l&1){break b}o=j[i+28>>2];t=q(q(o|0)*g);f:{if(q(r(t))0?l:0;u=(l|0)<(o|0)?l:o-1|0;v=i;p=j[i+24>>2];t=q(q(p|0)*f);g:{if(q(r(t))0?o:0;Kj(v,-1,0,(l|0)<(p|0)?l:p-1|0,u);jl(i,-1,1,1);break d}if(((a|0)!=j[67058]|(b|0)!=j[67059]|l^-1)&1|((c|0)!=j[67060]|(d|0)!=j[67061])){break c}jl(i,-1,0,1);break c}if(!e){break c}}if(k[268228]){break b}j[67058]=a;j[67059]=b;h[268228]=1;j[67060]=c;j[67061]=d;break b}if((a|0)!=-1|(b|0)!=-1){break b}if(!j[67044]){break a}break b}if(!k[268228]|((a|0)!=j[67058]|(b|0)!=j[67059])|((c|0)!=j[67060]|(d|0)!=j[67061])){break b}h[268228]=0}l=j[m+12>>2];i=0;h:{if((l|0)<1){break h}o=j[m+20>>2];i=0;i:{while(1){p=j[o+(i<<2)>>2];if((c|0)==j[p>>2]&(d|0)==j[p+4>>2]){break i}i=i+1|0;if((l|0)!=(i|0)){continue}break}i=0;break h}i=(i|0)<(l|0)?p:0}if(e){if(i){break a}j:{k:{l:{if(j[m+16>>2]!=(l|0)){i=j[m+20>>2];break l}e=mf(j[m+20>>2],(l<<2)+4|0);if(!e){break k}j[m+20>>2]=e;e=qe[j[57972]](24)|0;if(e){j[57976]=j[57976]+1}l=j[m+16>>2];o=l<<2;j[o+j[m+20>>2]>>2]=e;i=j[m+20>>2];if(!j[o+i>>2]){break k}j[m+16>>2]=l+1;l=j[m+12>>2]}j[m+12>>2]=l+1;e=j[(l<<2)+i>>2];n[e+16>>2]=1;n[e+12>>2]=g;n[e+8>>2]=f;j[e>>2]=c;j[e+4>>2]=d;break j}if((Be(0)|0)<0){break a}}if((We(1792,-1)|0)!=1){break a}n[s+48>>2]=1;e=s;j[e+40>>2]=0;j[e+44>>2]=0;n[e+36>>2]=g;n[e+32>>2]=f;j[e+24>>2]=c;j[e+28>>2]=d;j[e+16>>2]=a;j[e+20>>2]=b;j[e+8>>2]=1792;gf(e+8|0);break a}if(!i){break a}if((We(1793,-1)|0)==1){e=s;j[e+24>>2]=c;j[e+28>>2]=d;j[e+16>>2]=a;j[e+20>>2]=b;j[e+8>>2]=1793;n[e+32>>2]=n[i+8>>2];f=n[i+12>>2];n[e+48>>2]=1;j[e+40>>2]=0;j[e+44>>2]=0;n[e+36>>2]=f;gf(e+8|0)}a=j[m+12>>2];if((a|0)<1){break a}b=j[m+20>>2];i=0;while(1){e=b+(i<<2)|0;l=j[e>>2];if(j[l>>2]!=(c|0)|j[l+4>>2]!=(d|0)){i=i+1|0;if((a|0)!=(i|0)){continue}break a}break}a=a-1|0;j[m+12>>2]=a;a=a<<2;j[e>>2]=j[a+b>>2];j[a+j[m+20>>2]>>2]=l}oe=s- -64|0}function JG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=oe-80|0;oe=f;m=j[a+528>>2];a:{if(!m){a=6;break a}i=j[a+100>>2];n=j[m+4>>2];j[f+24>>2]=n;d=j[m>>2];j[f+28>>2]=d;if(n){a=0;while(1){c=p(a,12);e=c+(f+24|0)|0;j[e+8>>2]=j[((a<<2)+m|0)+8>>2];c=c+m|0;l=j[c+92>>2];j[e+12>>2]=j[l>>2];j[e+16>>2]=j[(l+(k[c+88|0]<<2)|0)-4>>2];a=a+1|0;if((n|0)!=(a|0)){continue}break}}e=0;j[f+20>>2]=0;i=He(i,p(n,24)+20|0,f+20|0);a=j[f+20>>2];if(a){break a}j[i+16>>2]=0;j[i+8>>2]=-1;j[i+4>>2]=d;j[i>>2]=n;l=i+20|0;j[i+12>>2]=l;if(n){while(1){a=p(e,24)+l|0;c=(f+24|0)+p(e,12)|0;d=j[c+8>>2];j[a>>2]=d;h=j[c+12>>2]<<16;j[a+4>>2]=h;c=j[c+16>>2];j[a+16>>2]=-1;j[a+20>>2]=-1;c=c<<16;j[a+12>>2]=c;j[a+8>>2]=(c+h|0)/2;g=2003265652;b:{c:{if(!we(d,159920)){break c}g=2003072104;if(!we(d,159927)){break c}if(we(d,159933)){break b}g=1869640570}j[a+16>>2]=g}e=e+1|0;if((n|0)!=(e|0)){continue}break}}d:{e=j[m+4>>2];if(j[m>>2]!=1<>2];e:{f:{switch(e-1|0){case 0:e=j[a+4>>2];j[f>>2]=e;break e;case 1:d=j[a+12>>2];e=d+j[a+4>>2]|0;j[f>>2]=e;j[f+4>>2]=d+j[a+8>>2];break e;case 2:h=j[a+12>>2];d=j[a+20>>2];c=j[a+28>>2];e=j[a+4>>2]+(h+(d+c|0)|0)|0;j[f>>2]=e;c=c+j[a+24>>2]|0;j[f+4>>2]=j[a+8>>2]+(c+h|0);j[f+8>>2]=j[a+16>>2]+(c+d|0);break e;default:break f}}r=j[a+12>>2];q=j[a+20>>2];d=j[a+28>>2];g=j[a+52>>2];c=j[a+44>>2];h=c+j[a+36>>2]|0;o=j[a+60>>2];e=j[a+4>>2]+(r+(q+(d+(g+(h+o|0)|0)|0)|0)|0)|0;j[f>>2]=e;s=j[a+24>>2];t=j[a+40>>2];r=r+(c+d|0)|0;c=o+j[a+56>>2]|0;j[f+4>>2]=j[a+8>>2]+(s+(t+(r+c|0)|0)|0);o=(d+q|0)+s|0;d=j[a+48>>2]+(c+g|0)|0;j[f+8>>2]=j[a+16>>2]+(o+d|0);j[f+12>>2]=j[a+32>>2]+(d+(h+t|0)|0)}if(!n){break d}d=0;while(1){c=p(d,12)+m|0;h=j[c+96>>2];g:{if(j[h>>2]<(e|0)){a=1;o=k[c+88|0];if(o>>>0>1){while(1){g=a<<2;q=j[g+h>>2];if((q|0)>=(e|0)){c=j[c+92>>2];l=g-4|0;a=j[c+l>>2];c=j[c+g>>2];g=e;e=j[h+l>>2];a=p(De(g-e|0,q-e|0),c-a|0)+(a<<16)|0;l=j[i+12>>2];break g}a=a+1|0;if((o|0)!=(a|0)){continue}break}}a=j[(j[c+92>>2]+(o<<2)|0)-4>>2]<<16;break g}a=j[j[c+92>>2]>>2]<<16}j[(p(d,24)+l|0)+8>>2]=a;d=d+1|0;if((n|0)==(d|0)){break d}e=j[(d<<2)+f>>2];continue}}j[b>>2]=i;a=j[f+20>>2]}oe=f+80|0;return a|0}function $C(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;d=oe-32|0;oe=d;a:{b:{if(Vi(16)){break b}if((Wi(16)|0)>=0){break b}a=-1;break a}b=j[65557];if(b){if(!(l[131118]!=32784|k[262238]!=2)){j[65557]=b+1;break a}while(1){Qo();if(j[65557]){continue}break}}j[d+28>>2]=0;j[d+24>>2]=95;i[d+16>>1]=2048;h[d+14|0]=2;i[d+12>>1]=32784;j[d+8>>2]=44100;a=wC(d+8|0);j[65564]=a;if(!a){a=-1;break a}Bp();a=-1;if((HE()|0)<=-1){Ao(j[65564]);break a}j[65565]=8;a=qe[j[57972]](480)|0;if(a){j[57976]=j[57976]+1}b=a;j[65566]=a;e=j[65565];if((e|0)>=1){while(1){a=b+p(c,60)|0;j[a>>2]=0;j[a+4>>2]=0;j[a+44>>2]=128;j[a+16>>2]=128;j[a+20>>2]=0;j[a+36>>2]=0;j[a+40>>2]=128;j[a+56>>2]=0;j[a+24>>2]=-1;j[a+28>>2]=0;j[a+8>>2]=0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}zp(128);f=262216,g=(Mf(21266)|0)!=0,j[f>>2]=g;a=mf(j[65556],(j[65555]<<2)+4|0);c:{if(!a){c=j[65555];a=j[65556];break c}j[65556]=a;b=j[65555];c=b+1|0;j[65555]=c;j[(b<<2)+a>>2]=21418}a=mf(a,(c<<2)+4|0);d:{if(!a){c=j[65555];a=j[65556];break d}j[65556]=a;b=j[65555];c=b+1|0;j[65555]=c;j[(b<<2)+a>>2]=21423}a=mf(a,(c<<2)+4|0);if(a){j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=21428}e:{if(j[57795]==3){b=1;if(j[57797]){break e}}b=j[57815]==3&j[57817]!=0}f:{if(!b){break f}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break f}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=21432}g:{if(j[57795]==4){b=1;if(j[57797]){break g}}b=j[57815]==4&j[57817]!=0}h:{if(!b){break h}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break h}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=21436}i:{if(j[57795]==5){b=1;if(j[57797]){break i}}b=j[57815]==5&j[57817]!=0}j:{if(!b){break j}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break j}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=21440}k:{if(j[57795]==6){b=1;if(j[57797]){break k}}b=j[57815]==6&j[57817]!=0}l:{if(!b){break l}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break l}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=21444}m:{if(j[57795]==8){b=1;if(j[57797]){break m}}b=j[57815]==8&j[57817]!=0}n:{if(!b){break n}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break n}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=21448}a=0;j[65557]=1;tC(j[65564])}oe=d+32|0;return a}function yo(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;a=oe-288|0;oe=a;vs(a+16|0,j[58915]);c=j[a+20>>2];b=j[a+16>>2];j[58917]=b;j[58918]=c;m=c;if(c){i=b;while(1){Ee(a+16|0,0,257);a:{if(k[e+i|0]!=58){break a}j[a+12>>2]=0;b=e;while(1){c=k[b+i|0];if((c|0)==47){break a}if((c|0)==10){d=0;c=b+1|0;e=k[i+c|0];if((e|0)!=58){while(1){h[(a+12|0)+d|0]=e;d=d+1|0;b=c;c=b+1|0;e=k[i+c|0];if((e|0)!=58){continue}break}}h[(a+12|0)+d|0]=0;g=rf(a+12|0);if((g|0)>j[60719]){j[60719]=g}d=0;f=0;e=b+3|0;b=k[i+e|0];if((b|0)!=10){while(1){b:{c:{d:{c=b<<24>>24;switch(c-123|0){case 0:case 2:break b;case 1:break c;default:break d}}if((c|0)==32){break b}}h[(a+16|0)+f|0]=b;f=f+1|0}e=e+1|0;b=k[i+e|0];if((b|0)!=10){continue}break}}h[(a+16|0)+f|0]=0;h[a+8|0]=0;j[a>>2]=0;j[a+4>>2]=0;c=1;b=k[a+16|0];e:{if((b|0)==44){l=0;break e}while(1){h[a+d|0]=b;d=d+1|0;b=k[d+(a+16|0)|0];if((b|0)!=44){continue}break}l=k[a|0];if((l|0)!=42){break e}b=k[a+5|0]|k[a+6|0]<<8|(k[a+7|0]<<16|k[a+8|0]<<24);l=k[a+1|0]|k[a+2|0]<<8|(k[a+3|0]<<16|k[a+4|0]<<24);j[a>>2]=l;j[a+4>>2]=b;c=16}g=p(g,24)+235536|0;n=g,o=p(rf(a),c),j[n+140>>2]=o;b=0;c=d+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){while(1){h[a+b|0]=f;b=b+1|0;d=c;c=c+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){continue}break}l=k[a|0]}b=1;c=g;if((l&255)==42){b=k[a+5|0]|k[a+6|0]<<8|(k[a+7|0]<<16|k[a+8|0]<<24);j[a>>2]=k[a+1|0]|k[a+2|0]<<8|(k[a+3|0]<<16|k[a+4|0]<<24);j[a+4>>2]=b;b=16}n=c,o=p(b,rf(a)),j[n+144>>2]=o;c=0;b=d+2|0;d=k[b+(a+16|0)|0];if((d|0)!=44){while(1){h[a+c|0]=d;c=c+1|0;b=b+1|0;d=k[b+(a+16|0)|0];if((d|0)!=44){continue}break}}n=g,o=rf(a),j[n+148>>2]=o;d=0;c=b+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){while(1){h[a+d|0]=f;d=d+1|0;b=c;c=b+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){continue}break}}n=g,o=rf(a),j[n+152>>2]=o;d=0;c=b+2|0;b=k[c+(a+16|0)|0];if((b|0)!=44){while(1){h[a+d|0]=b;d=d+1|0;c=c+1|0;b=k[c+(a+16|0)|0];if((b|0)!=44){continue}break}}n=g,o=rf(a),j[n+156>>2]=o;b=0;d=c+1|0;c=k[d+(a+16|0)|0];if((c|0)!=44){while(1){h[a+b|0]=c;b=b+1|0;d=d+1|0;c=k[d+(a+16|0)|0];if((c|0)!=44){continue}break}}n=g,o=rf(a),j[n+160>>2]=o}else{b=b-1|0;continue}break}}e=e+1|0;if(m>>>0>e>>>0){continue}break}}oe=a+288|0}function Zq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;if(!(k[a+16|0]&8)){e=p(c,204)+b|0;r=j[e+200>>2];g=j[e+204>>2]+ye(j[a>>2],r)|0;f=ye(j[a+4>>2],r);a:{b:{c:{d:{e:{switch(c|0){case 1:if(k[d+121|0]){break d}break b;case 0:if(!k[d+120|0]){break b}n=k[d+122|0]!=0;break;default:break e}}j[a+12>>2]=f;i=a+12|0;break c}s=k[d+123|0];j[a+12>>2]=f;t=j[a>>2];v=k[b+2492|0];n=2;e=j[b+412>>2];f:{g:{if(!e){break g}l=j[a+4>>2]+t|0;h=b+416|0;o=j[b+2488>>2];m=0-o|0;while(1){q=l-j[h+12>>2]|0;if((q|0)<(m|0)){break g}if((l|0)<=(o+j[h+8>>2]|0)){if(!v){e=0;if((q|0)>j[b+2484>>2]){break f}}u=j[h+16>>2];n=3;e=1;break f}h=h+32|0;e=e-1|0;if(e){continue}break}}e=0}i=j[b+928>>2];h:{if(!i){l=0;break h}l=0;o=j[b+2488>>2];m=0-o|0;h=((i<<5)+b|0)+932|0;while(1){q=j[h-24>>2]-t|0;if((m|0)>(q|0)){break h}if((j[h-20>>2]-o|0)>(t|0)){h=h-32|0;i=i-1|0;if(i){continue}break h}break}if(j[b+2484>>2]<=(q|0)?!v:0){break h}l=j[h-16>>2];e=n}i=a+12|0;n=(s|0)!=0;i:{switch(e-1|0){case 1:j[a+8>>2]=l;if(!s){break a}j[a+12>>2]=(f|0)<64?64:f+32&-64;break a;case 2:j[a+8>>2]=l;j[a+12>>2]=u-l;break a;case 0:break i;default:break c}}j[a+8>>2]=u-f;if(!s){break a}b=(f|0)<64?64:f+32&-64;j[a+12>>2]=b;j[a+8>>2]=u-b;break a}e=j[a+20>>2];if(e){if(!(k[e+16|0]&8)){Zq(e,b,c,d)}g=((j[e+8>>2]-(f>>1)|0)+(j[e+12>>2]>>1)|0)+ye((j[a>>2]-(j[e>>2]+(j[e+4>>2]>>1)|0)|0)+(j[a+4>>2]>>1)|0,r)|0}j[a+12>>2]=f;h=a;e=f;j:{if(!k[d+124|0]){break j}if((f|0)<=64){if((f|0)>=32){g=(f>>>1|0)+g&-64;e=64;break j}b=g+32&-64;if((f|0)<1){g=b;e=f;break j}e=b-g|0;m=e>>31;c=f+g|0;d=c+32&-64;c=d-c|0;g=c>>31;g=(m^e+m)>(g^c+g)?d:b;e=f;break j}b=j[(p(c,204)+b|0)+12>>2];c=f-b|0;d=c>>31;if((d^c+d)<=39){f=b;e=54;if((f|0)<49){break j}}if((f|0)<=191){c=f&63;e=f;if(c>>>0<10){break j}b=f&-64;e=b|10;if(c>>>0<=31){break j}e=f;if(c>>>0>53){break j}e=b|54;break j}e=f+32&-64}b=e;j[h+12>>2]=e;c=g+32|0;e=((c+e&-64)-g|0)-e|0;d=(c&-64)-g|0;c=d>>31;f=c^c+d;c=e>>31;c=((f|0)>(c+e^c)?e:d)+g|0;j[a+8>>2]=c;if(!n){break a}e=(b|0)<64?64:b+32&-64;j[i>>2]=e;d=e>>1;j[a+12>>2]=e;j[a+8>>2]=(e&64?c+d&-64|32:(c+d|0)+32&-64)-d;break a}j[a+12>>2]=f;j[a+8>>2]=g}j[a+16>>2]=j[a+16>>2]|8}}function rr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;f=oe-32|0;oe=f;h=j[a+4>>2];q=j[h+328>>2];j[f+28>>2]=0;s=j[h+136>>2];r=j[h+100>>2];l=j[j[h+128>>2]+48>>2];a:{b:{if(l){c=qe[j[j[l>>2]>>2]](j[l+4>>2],b,f+8|0)|0;j[f+28>>2]=c;if(c){break a}d=j[h+288>>2];if(d&255){c=j[f+8>>2];n=d;while(1){o=k[c|0]|o<<8;c=c+1|0;n=n-1|0;if(n&255){continue}break}}c=j[f+12>>2];c:{if(!c){break c}e=c-d|0;g=He(r,e,f+28|0);if(j[f+28>>2]){break c}Ae(g,j[f+8>>2]+j[h+288>>2]|0,e)}qe[j[j[l>>2]+4>>2]](j[l+4>>2],f+8|0);c=j[f+28>>2];if(!c){break b}break a}d=j[h+292>>2]+j[h+288>>2]|0;c=Fe(q,(j[h+284>>2]+j[h+308>>2]|0)+p(d,b)|0);if(c){break a}c=_e(q,d<<1);j[f+28>>2]=c;if(c){break a}d=j[q+32>>2];i=j[h+288>>2];if(i&255){g=i-1&255;c=d;e=i;while(1){o=k[c|0]|o<<8;c=c+1|0;e=e-1|0;if(e&255){continue}break}d=(d+g|0)+1|0}g=0;e=j[h+292>>2];if(e&255){t=e-1&255;c=d;g=e;while(1){n=k[c|0]|n<<8;c=c+1|0;g=g-1|0;if(g&255){continue}break}c=((d+t|0)+i|0)+1|0;g=0;while(1){g=k[c|0]|g<<8;c=c+1|0;e=e-1|0;if(e&255){continue}break}}Ve(q);c=9;if(m[h+300>>2]<=o>>>0){break a}e=g-n|0;if(!e){c=0;break a}g=He(r,e,f+28|0);c=j[f+28>>2];if(c){break a}c=Pr(q,j[h+308>>2]+n|0,g,e);j[f+28>>2]=c;if(c){break a}}d=j[h+316>>2]+(o<<3)|0;j[a+1364>>2]=j[d>>2];d=j[d+4>>2];j[a+1372>>2]=0;j[a+1368>>2]=d;i=j[h+304>>2]+p(o,252)|0;d=j[i+220>>2];j[a+1376>>2]=j[i+216>>2];j[a+1380>>2]=d;d=j[i+228>>2];c=a+1384|0;j[c>>2]=j[i+224>>2];j[c+4>>2]=d;d=j[i+236>>2];j[a+1392>>2]=j[i+232>>2];j[a+1396>>2]=d;d=j[i+4>>2];j[a+1360>>2]=d;if((d|0)>=0){qe[j[s+16>>2]](g,e,4330)}d=(d|0)>-1?d:0;u=f,v=qe[j[a+1484>>2]](a,d+g|0,e-d|0)|0,j[u+28>>2]=v;d=r;if(g){qe[j[d+8>>2]](d,g)}c=j[f+28>>2];if(c|!l){break a}if(!j[j[l>>2]+8>>2]){c=0;break a}e=j[a+32>>2];d=e+32768&-65536;if((e|0)<0){d=0-(32768-e&-65536)|0}j[f+12>>2]=0;j[f+8>>2]=d>>16;d=f;c=j[a+40>>2];e=c+32768&-65536;if((c|0)<0){e=0-(32768-c&-65536)|0}j[d+16>>2]=e>>16;c=j[a+44>>2];e=c+32768&-65536;if((c|0)<0){e=0-(32768-c&-65536)|0}j[d+20>>2]=e>>16;c=qe[j[j[l>>2]+8>>2]](j[l+4>>2],b,0,f+8|0)|0;j[a+32>>2]=j[f+8>>2]<<16;j[a+40>>2]=j[f+16>>2]<<16;j[a+44>>2]=j[f+20>>2]<<16}oe=f+32|0;return c|0}function eO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=oe-48|0;oe=d;a:{if(!a){f=20;break a}if(!b){f=6;break a}if(i[a>>1]<1){break a}l=j[b+20>>2];m=j[b+16>>2];b:{while(1){p=i[j[a+12>>2]+(q<<1)>>1];if((p|0)<0){f=20;break a}h=j[a+4>>2];e=h+(r<<3)|0;n=j[e+4>>2];g=(j[e>>2]<>2]=g;s=(n<>2]=s;o=h+(p<<3)|0;h=j[o>>2];v=j[o+4>>2];f=j[d+36>>2];j[d+40>>2]=j[d+32>>2];j[d+44>>2]=f;t=j[a+8>>2];n=t+r|0;u=k[n|0]&3;c:{if((u|0)==3){break c}f=20;d:{switch(u-1|0){case 1:break a;case 0:break c;default:break d}}f=(v<>2]=f;j[d+32>>2]=h;o=o-8|0;break e}j[d+36>>2]=(f+s|0)/2;j[d+32>>2]=(h+g|0)/2}n=n-1|0;e=e-8|0}g=qe[j[b>>2]](d+32|0,c)|0;if(g){break b}f:{g:{if(e>>>0>>0){while(1){h=n+1|0;f=e+8|0;h:{i:{j:{switch(k[n+1|0]&3){case 1:j[d+24>>2]=(j[e+8>>2]<>2]=(j[e+12>>2]<>2]](d+24|0,c)|0;if(f){break a}break h;case 0:j[d+40>>2]=(j[e+8>>2]<>2]=(j[e+12>>2]<>>0>>0){while(1){e=k[h+1|0];n=(j[f+8>>2]<>2]=n;g=(j[f+12>>2]<>2]=g;h=h+1|0;f=f+8|0;k:{e=e&3;l:{if(e){if((e|0)!=1){h=7;g=0;break i}g=qe[j[b+8>>2]](d+40|0,d+24|0,c)|0;if(g){break l}e=f;n=h;break h}j[d+16>>2]=(n+j[d+40>>2]|0)/2;j[d+20>>2]=(g+j[d+44>>2]|0)/2;g=qe[j[b+8>>2]](d+40|0,d+16|0,c)|0;if(!g){break k}}h=10;break i}e=j[d+28>>2];j[d+40>>2]=j[d+24>>2];j[d+44>>2]=e;if(f>>>0>>0){continue}break}}g=qe[j[b+8>>2]](d+40|0,d+32|0,c)|0;break g;default:break j}}h=7;g=0;if((k[n+2|0]&3)!=2|e+16>>>0>o>>>0){break i}j[d+24>>2]=(j[e+8>>2]<>2]=(j[e+12>>2]<>2]=(j[e+16>>2]<>2]=(j[e+20>>2]<>>0<=o>>>0){j[d+8>>2]=(j[e+24>>2]<>2]=(j[e+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(g){h=10;break i}n=n+3|0;e=f;break h}g=qe[j[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break g}if(!h){break f}f=20;if((h|0)==7){break a}break b}if(e>>>0>>0){continue}break}}g=qe[j[b+4>>2]](d+32|0,c)|0}if(g){break b}r=p+1|0}q=q+1|0;if((q|0)>1]){continue}break}g=0}f=g}oe=d+48|0;return f|0}function $k(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;l=oe-16|0;oe=l;a:{if(!(j[a>>2]==268305?a:0)){ve(31725,0);break a}b=b?b:j[a+116>>2];o=b&255;m=!b|(b&-268435456)==268435456;if(!(o|!m)){ve(31788,0);break a}if(!(!m|(b>>>24&15)-1>>>0>2)){ve(31811,0);break a}if(!((e|0)>0?(d|0)>=1:0)){ve(31849,0);break a}f=j[a+184>>2];g=j[a+180>>2];b:{if(!(!f|(e|0)<=(f|0)?!((d|0)>(g|0)?g:0):0)){j[l+4>>2]=f;j[l>>2]=g;ve(31879,l);break b}h=Xe(1,88);if(!h){h=0;Be(0);break a}j[h+32>>2]=-1;j[h+16>>2]=e;j[h+12>>2]=d;j[h+8>>2]=c;j[h+4>>2]=b;j[h>>2]=268306;f=0;g=eg(32205);c:{if(!g){break c}if(!Me(g,32230)){break c}if(!Me(g,32238)){f=1;break c}if(!Me(g,32245)){f=2;break c}f=rf(g)}j[h+36>>2]=a;j[h+28>>2]=f;g=j[a+312>>2];j[h+84>>2]=g;if(g){j[g+80>>2]=h}j[a+312>>2]=h;n=j[a+112>>2];d:{e:{f:{g:{if(n){h:{while(1){if(j[((i<<2)+a|0)+116>>2]!=(b|0)){i=i+1|0;if((n|0)!=(i|0)){continue}break h}break}if((qe[j[a+16>>2]](a,h)|0)<=-1){break d}break a}if(m){break g}i=0;while(1){if(j[((i<<2)+a|0)+116>>2]!=(b|0)){i=i+1|0;if((n|0)!=(i|0)){continue}break f}break}f=b;break e}if(!m){break f}}f=b>>>24&15;i:{if(f-4>>>0<=2){f=(b>>>20&15)-3|0;g=0;if(f>>>0>=6){break i}g=j[(f<<2)+32288>>2];break i}g=0;if(f-7>>>0>4){break i}f=b>>>20&15;if(f>>>0<=6){g=1;if(1<>2];if(!((f&-268435456)!=268435456?f:0)){k=f>>>24&15;j:{if(k-4>>>0<=2){q=0;k=(f>>>20&15)-3|0;if(k>>>0>=6){break j}q=j[(k<<2)+32288>>2];break j}q=0;if(k-7>>>0>4){break j}k=(f>>>20&15)-2|0;if(k>>>0>=5){break j}q=j[(k<<2)+32312>>2]}if((g|0)==(q|0)){break e}}i=i+1|0;if((n|0)!=(i|0)){continue}break}}f=j[a+116>>2]}f=$k(a,f,c,d,e);j[h+40>>2]=f;if(!f){break d}g=j[h+84>>2];j[f+84>>2]=g;if(g){j[g+80>>2]=f}g=j[f+80>>2];j[h+80>>2]=g;if(g){j[g+84>>2]=h}j[f+80>>2]=h;j[h+84>>2]=f;j[a+312>>2]=h;a=j[h+4>>2];if(!(!a|(a&-268435456)==268435456)){a=mA(b,d,e);j[h+44>>2]=a;if(!a){break d}break a}if((c|0)!=1){break a}k:{if(m){break k}o=2;if((b|0)==844715353|(b|0)==1498831189){break k}o=(b|0)==1431918169?2:1}a=p(d,o)+3&-4;j[h+52>>2]=a;a=Xe(1,p(a,e));j[h+48>>2]=a;if(a){break a}}lh(h)}h=0}oe=l+16|0;return h}function HI(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var n=0,o=0,q=0,r=0;n=oe-48|0;oe=n;o=2;a:{b:{c:{switch(j[a+732>>2]-1|0){case 0:case 1:e=j[a+104>>2];d:{if(!(qe[j[a+508>>2]](a,1128416340,e,n+44|0)|0)){break d}if(!(qe[j[a+508>>2]](a,1161970772,e,n+44|0)|0)){break d}o=qe[j[a+508>>2]](a,1650745716,e,n+44|0)|0;if(o){break a}}j[n+4>>2]=e;j[n>>2]=a;o=j[a+84>>2];i[n+16>>1]=0;j[n+12>>2]=g;j[n+8>>2]=o+76;j[n+20>>2]=j[e+8>>2];j[n+24>>2]=j[n+44>>2];g=j[a+724>>2];j[n+36>>2]=g;e=j[a+728>>2];j[n+40>>2]=e+g;o=3;b=p(b,48);if(e>>>0>>0){break a}b=b+g|0;g=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);q=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);j[n+28>>2]=q;g=k[b+16|0]|k[b+17|0]<<8|(k[b+18|0]<<16|k[b+19|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);j[n+32>>2]=g;h[n+18|0]=k[b+54|0];if(e>>>0>>0|g>>>0>e-q>>>3>>>0){break a}o=vq(n,c,0,0);if(o){break a}if(!(d&1048576)){break b}o=0;break a;case 2:break c;default:break a}}i[g>>1]=0;i[g+2>>1]=0;b=j[a+724>>2]+(b<<2)|0;b=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);o=qe[j[a+508>>2]](a,1935829368,e,n)|0;if(o){break a}d=j[e+8>>2];if(m[a+16>>2]>>0){o=6;break a}f=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);g=f+d|0;q=g+4|0;d=0;while(1){b=j[n>>2];if(b>>>0<=f>>>0){o=3;break a}c=c<<2;if(c+12>>>0>b-f>>>0){o=3;break a}o=Fe(e,c+q|0);if(o){break a}o=_e(e,8);if(o){break a}b=Ff(e);c=Ff(e);Ve(e);if((b|0)==(c|0)){o=6;break a}if(b>>>0>c>>>0){o=3;break a}r=c-b|0;if(r>>>0<8){o=3;break a}o=3;if(c>>>0>j[n>>2]-f>>>0){break a}o=Fe(e,b+g|0);if(o){break a}o=_e(e,r);if(o){break a}af(e);af(e);b=Ff(e);if((b|0)!=1685418085){e:{if(!((b|0)==1785751328|(b|0)==1919378028)){o=7;if((b|0)!=1953064550){break e}}o=2}Ve(e);break a}if((d|0)==4){o=3;Ve(e);break a}c=af(e);Ve(e);d=d+1|0;if(m[a+16>>2]>=c>>>0){continue}break}o=6;break a}o=0;if(k[f+18|0]!=7){break a}b=j[j[a+84>>2]>>2];if(n){j[n>>2]=0;j[n+4>>2]=0;j[n+16>>2]=0;j[n+20>>2]=0;j[n+8>>2]=0;j[n+12>>2]=0}o=Fs(b,f,n);if(o){Mm(b,n);break a}h[f+18|0]=k[n+18|0];j[f+8>>2]=j[n+8>>2];i[f+16>>1]=l[n+16>>1];es(j[a+84>>2],j[n+12>>2]);a=j[j[a+84>>2]+156>>2];j[a+4>>2]=j[a+4>>2]|1}oe=n+48|0;return o|0}function JN(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;c=oe-48|0;oe=c;d=20;a:{if(!b){break a}if(!a){d=6;break a}d=0;j[a+64>>2]=0;h[a+124|0]=0;j[a+116>>2]=-1;j[a+96>>2]=0;h[a+92|0]=0;j[a+84>>2]=-1;if(i[b>>1]<1){break a}b:{while(1){o=i[j[b+12>>2]+(p<<1)>>1];c:{d:{if(q>>>0>=o>>>0){break d}g=j[b+4>>2];m=o<<3;n=g+m|0;e=g+(q<<3)|0;d=j[e+4>>2];f=j[e>>2];l=d;j[c+32>>2]=f;j[c+36>>2]=d;g=g+m|0;m=j[g+4>>2];r=j[g>>2];j[c+40>>2]=f;j[c+44>>2]=d;s=j[b+8>>2];g=s+q|0;t=k[g|0]&3;e:{if((t|0)==3){break e}d=20;f:{switch(t-1|0){case 1:break a;case 0:break e;default:break f}}g:{if((k[o+s|0]&3)==1){j[c+36>>2]=m;j[c+32>>2]=r;n=n-8|0;break g}j[c+36>>2]=(l+m|0)/2;j[c+32>>2]=(f+r|0)/2}g=g-1|0;e=e-8|0}h[a+20|0]=1;d=j[c+32>>2];l=j[c+36>>2];f=l;h[a+21|0]=0;j[a+8>>2]=d;j[a+12>>2]=f;l=j[a+48>>2];m=(l|0)!=0;h:{if(l){break h}}j[a+28>>2]=d;j[a+32>>2]=f;h[a+40|0]=m;j[a>>2]=0;i:{if(e>>>0>=n>>>0){break i}while(1){l=g+1|0;d=e+8|0;j:{k:{l:{m:{switch(k[g+1|0]&3){case 1:j[c+24>>2]=j[e+8>>2];j[c+28>>2]=j[e+12>>2];e=d;g=l;d=Mr(a,c+24|0);if(d){break a}break j;case 0:j[c+40>>2]=j[e+8>>2];j[c+44>>2]=j[e+12>>2];if(d>>>0>>0){while(1){f=k[l+1|0];m=j[d+12>>2];g=m;e=j[d+8>>2];j[c+24>>2]=e;j[c+28>>2]=g;l=l+1|0;d=d+8|0;n:{f=f&3;o:{if(f){if((f|0)!=1){l=5;f=0;break k}f=ym(a,c+40|0,c+24|0);if(f){break o}e=d;g=l;break j}j[c+16>>2]=(e+j[c+40>>2]|0)/2;j[c+20>>2]=(g+j[c+44>>2]|0)/2;f=ym(a,c+40|0,c+16|0);if(!f){break n}}l=6;break k}e=j[c+28>>2];j[c+40>>2]=j[c+24>>2];j[c+44>>2]=e;if(d>>>0>>0){continue}break}}f=ym(a,c+40|0,c+32|0);break l;default:break m}}l=5;f=0;if((k[g+2|0]&3)!=2|e+16>>>0>n>>>0){break k}d=j[e+12>>2];j[c+24>>2]=j[e+8>>2];j[c+28>>2]=d;d=j[e+20>>2];j[c+16>>2]=j[e+16>>2];j[c+20>>2]=d;e=e+24|0;if(n>>>0>=e>>>0){d=j[e+4>>2];j[c+8>>2]=j[e>>2];j[c+12>>2]=d;f=Lr(a,c+24|0,c+16|0,c+8|0);if(f){l=6;break k}g=g+3|0;break j}f=Lr(a,c+24|0,c+16|0,c+32|0)}if(f){break b}break i}d=20;switch(l|0){case 5:break a;case 0:case 4:break c;default:break b}}if(e>>>0>>0){continue}break}}if(k[a+20|0]){break d}f=KN(a);if(f){break b}}q=o+1|0}p=p+1|0;if((p|0)>1]){continue}break}f=0}d=f}oe=c+48|0;return d}function Bu(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;c=oe-848|0;oe=c;j[c+556>>2]=0;g=j[a+992>>2];b=-1;a:{if(!g){break a}j[c+560>>2]=12324;b=j[a+328>>2];j[c+568>>2]=12323;j[c+564>>2]=b;b=j[a+332>>2];j[c+576>>2]=12322;j[c+572>>2]=b;j[c+580>>2]=j[a+336>>2];d=j[a+340>>2];b=6;b:{if(!d){break b}j[c+588>>2]=d;j[c+584>>2]=12321;b=8}d=j[a+348>>2];if(d){j[(c+560|0)+(b<<2)>>2]=12320;b=b|1;j[(c+560|0)+(b<<2)>>2]=d;b=b+1|0}f=b<<2;d=f+(c+560|0)|0;j[d>>2]=12325;j[d+4>>2]=j[a+344>>2];d=b+2|0;e=j[a+352>>2];if(e){j[(c+560|0)+(d<<2)>>2]=12326;j[(c+f|0)+572>>2]=e;d=b+4|0}e=j[a+380>>2];if(e){b=(c+560|0)+(d<<2)|0;j[b>>2]=12338;j[b+4>>2]=e;d=d+2|0}e=j[a+384>>2];if(e){b=(c+560|0)+(d<<2)|0;j[b>>2]=12337;j[b+4>>2]=e;d=d+2|0}j[(c+560|0)+(d<<2)>>2]=12352;e=d+1|0;c:{if(j[a+404>>2]==4){b=j[a+392>>2];d:{if((b|0)>=3){if(nj(a,58783)){j[(c+560|0)+(e<<2)>>2]=64;break d}b=j[a+392>>2]}e=(c+560|0)+(e<<2)|0;if((b|0)>=2){j[e>>2]=4;break d}j[e>>2]=1}qe[j[j[a+992>>2]+112>>2]](12448)|0;break c}j[(c+560|0)+(e<<2)>>2]=8;qe[j[g+112>>2]](12450)|0}b=d+2|0;e=c+560|0;f=j[a+992>>2];if(j[f+20>>2]){j[(c+560|0)+(b<<2)>>2]=12339;j[((d<<2)+c|0)+572>>2]=j[f+20>>2];b=d+4|0}j[(b<<2)+e>>2]=12344;e:{if(!(qe[j[f+60>>2]](j[f+8>>2],c+560|0,c+32|0,128,c+556|0)|0)){break e}b=j[c+556>>2];if(!b){break e}f:{if((b|0)<1){break f}f=-1;while(1){b=j[a+992>>2];g:{if(j[b+32>>2]){qe[j[b+100>>2]](j[b+8>>2],j[(c+32|0)+(h<<2)>>2],12334,c+28|0)|0;if(j[j[a+992>>2]+32>>2]!=j[c+28>>2]){break g}}l=(c+32|0)+(h<<2)|0;d=0;b=0;while(1){e=b;b=b<<2;i=j[b+(c+560|0)>>2];if((i|0)!=12344){h:{if(i-12321>>>0>5){break h}g=(c+560|0)+(b|4)|0;if(j[g>>2]==-1){break h}b=j[a+992>>2];qe[j[b+100>>2]](j[b+8>>2],j[l>>2],i,c+816|0)|0;d=(j[c+816>>2]+d|0)-j[g>>2]|0}b=e+2|0;if(e>>>0<61){continue}}break}if(!((d|0)>=(f|0)?(f|0)!=-1:0)){j[j[a+992>>2]+12>>2]=j[l>>2];f=d}if(!d){break f}}h=h+1|0;if((h|0)>2]){continue}break}}b=0;break a}d=59572;b=c;e=qe[j[j[a+992>>2]+116>>2]]()|0;a=e-12288|0;if(a>>>0<=14){d=j[(a<<2)+59576>>2]}if(!k[d|0]){j[c+16>>2]=e;Ue(c+816|0,32,58627,c+16|0);d=c+816|0}j[b+8>>2]=d;j[c+4>>2]=58681;j[c>>2]=58806;b=ve(58632,c)}oe=c+848|0;return b}function fn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;h=oe-32|0;oe=h;a:{if(!(c?a:0)){d=ve(56137,0);break a}if(!(j[c+28>>2]?0:!j[a+28>>2])){d=ve(56097,0);break a}q=j[(b?b+12|0:a+12|0)>>2];u=j[(d?d+12|0:c+12|0)>>2];e=j[(d?d+8|0:c+8|0)>>2];i=j[(b?b+8|0:a+8|0)>>2];if(!((q|0)!=(u|0)|(e|0)!=(i|0))){d=gh(a,b,c,d);break a}g=+(q|0);m=+(u|0);l=+(i|0);s=+(e|0);b:{if(!d){f=+(u-1|0);k=+(e-1|0);break b}n=+j[d+4>>2];f=m+n+ -1;o=+j[d>>2];k=s+o+ -1}t=m/g;s=s/l;c:{if(!b){m=+(q-1|0);l=+(i-1|0);break c}e=j[b>>2];i=(e|0)<0;p=+(e|0);w=o-s*p;m=g;b=j[b+4>>2];g=+(b|0);m=m+g+ -1;l=l+p+ -1;q=j[a+8>>2];p=+(q|0);if(!(l>=p^1)){k=k-s*(l-p+1);l=+(q-1|0)}o=i?w:o;y=+(((e|0)>0?e:0)|0);n=(b|0)<0?n-t*g:n;z=+(((b|0)>0?b:0)|0);b=j[a+12>>2];g=+(b|0);if(g<=m^1){break c}f=f-t*(m-g+1);m=+(b-1|0)}x=+j[c+36>>2];p=k-x;w=+j[c+40>>2];k=0;g=o-x;d:{if(g<0^1){k=g;break d}y=y-g/s}b=j[c+44>>2];g=+(b|0);if(!(g<=p^1)){l=l-(p-g+1)/s;p=+(b-1|0)}o=f-w;g=0;f=n-w;e:{if(f<0^1){g=f;break e}z=z-f/t}b=j[c+48>>2];f=+(b|0);if(!(f<=o^1)){m=m-(o-f+1)/t;o=+(b-1|0)}b=h;f=y+.5;n=v(f);f:{if(r(n)<2147483648){e=~~n;break f}e=-2147483648}j[b+16>>2]=e;b=h;n=z+.5;t=v(n);g:{if(r(t)<2147483648){e=~~t;break g}e=-2147483648}j[b+20>>2]=e;e=h;l=v(l+1+.5);h:{if(r(l)<2147483648){b=~~l;break h}b=-2147483648}f=v(f);i:{if(r(f)<2147483648){i=~~f;break i}i=-2147483648}q=b-i|0;j[e+24>>2]=q;e=h;f=v(m+1+.5);j:{if(r(f)<2147483648){b=~~f;break j}b=-2147483648}f=v(n);k:{if(r(f)<2147483648){i=~~f;break k}i=-2147483648}u=b-i|0;j[e+28>>2]=u;b=h;k=k+x;f=v(k+.5);l:{if(r(f)<2147483648){e=~~f;break l}e=-2147483648}j[b>>2]=e;b=h;g=g+w;f=v(g+.5);m:{if(r(f)<2147483648){e=~~f;break m}e=-2147483648}j[b+4>>2]=e;e=h;k=v(p+x-k+1.5);n:{if(r(k)<2147483648){b=~~k;break n}b=-2147483648}j[e+8>>2]=b;i=h;k=v(o+w-g+1.5);o:{if(r(k)<2147483648){e=~~k;break o}e=-2147483648}j[i+12>>2]=e;if((b|0)<=-1){j[h+8>>2]=0;b=0}if((e|0)<=-1){j[h+12>>2]=0;e=0}if(d){i=j[h+4>>2];j[d>>2]=j[h>>2];j[d+4>>2]=i;i=j[h+12>>2];j[d+8>>2]=j[h+8>>2];j[d+12>>2]=i}d=0;if(!b|!e|((q|0)<1|(u|0)<1)){break a}d=jv(a,h+16|0,c,h)}oe=h+32|0;return d}function yj(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=287310080;a:{b:{c:{d:{e:{f:{g:{switch(a-1|0){case 3:return 304088064;case 7:if(!b){return 318769153}if((b|0)!=224|(c|0)!=28|(d|0)!=3){break b}f=336660481;if(e){break b}break a;case 11:f=353504258;if(!b){break a}if((b|0)!=3840|(c|0)!=240|(e|(d|0)!=15)){break b}break a;case 14:if(b){break f}return 353570562;case 0:break a;case 31:break d;case 23:break e;case 15:break g;default:break b}}if(b){break f}return 353701890}a=(c|0)==992;g=a&(b|0)==31744&(d|0)==31;if(g){f=353570562;if(!e){break a}}a=a&(b|0)==31&(d|0)==31744;if(a){f=357764866;if(!e){break a}}if(!((b|0)!=3840|(c|0)!=240|(d|0)!=15)){f=355602434;if((e|0)==61440){break a}}if(!((b|0)!=61440|(c|0)!=3840|(d|0)!=240)){f=356651010;if((e|0)==15){break a}}if(!((b|0)!=15|(c|0)!=240|(d|0)!=3840)){f=359796738;if((e|0)==61440){break a}}if(!((b|0)!=240|(c|0)!=3840|(d|0)!=61440)){f=360845314;if((e|0)==15){break a}}f=355667970;if(g&(e|0)==32768){break a}if(!((b|0)!=63488|(c|0)!=1984|(d|0)!=62)){f=356782082;if((e|0)==1){break a}}f=359862274;if(a&(e|0)==32768){break a}if(!((b|0)!=62|(c|0)!=1984|(d|0)!=63488)){f=360976386;if((e|0)==1){break a}}f=353701890;if(!((b|0)!=63488|(c|0)!=2016|(d|0)!=31)){if(!e){break a}}if(!((b|0)!=31|(c|0)!=2016|(d|0)!=63488)){f=357896194;if(!e){break a}}if((b|0)!=63|(c|0)!=1984|(d|0)!=63488){break b}f=353701890;if(e){break b}break a}f=390076419;if(!b|(b|0)==16711680){break a}if((b|0)!=255){break c}return 386930691}if(b){break c}return 370546692}a=(b|0)==16711680&(c|0)==65280&(d|0)==255;if(a){f=370546692;if(!e){break a}}g=(b|0)==-16777216&(c|0)==16711680&(d|0)==65280;if(g){f=371595268;if(!e){break a}}h=(b|0)==255&(c|0)==65280&(d|0)==16711680;if(h){f=374740996;if(!e){break a}}i=(b|0)==65280&(c|0)==16711680&(d|0)==-16777216;if(i){f=375789572;if(!e){break a}}f=372645892;if(a&(e|0)==-16777216){break a}f=373694468;if(g&(e|0)==255){break a}f=376840196;if((e|0)==-16777216&h){break a}f=377888772;if((e|0)==255&i){break a}if((b|0)!=1072693248|(c|0)!=1047552|(d|0)!=1023){break b}f=372711428;if((e|0)==-1073741824){break a}}f=0}return f}function gy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;d=j[a+56>>2];l=j[a+36>>2];b=j[a+20>>2];m=j[a+16>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{f=j[a+48>>2];if(f){if(!g){break a}n=e&7;i=(e+7|0)/8|0;b:while(1){e=i;c:{d:{switch(n-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=1;continue;case 1:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=2;continue;case 2:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=3;continue;case 3:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=4;continue;case 4:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=5;continue;case 5:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=6;continue;case 6:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=7;continue;default:break e}}a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}a=g-1|0;c=c+1|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+l|0;c=c+m|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}f=e&7;i=(e+7|0)/8|0;g:while(1){e=i;h:{i:{switch(f-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=1;continue;case 1:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=2;continue;case 2:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=3;continue;case 3:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=4;continue;case 4:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=5;continue;case 5:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=6;continue;case 6:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=7;continue;default:break j}}a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}a=g-1|0;c=c+1|0;b=b+1|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+l|0;c=c+m|0;g=a;if(a){continue g}break a}a=0;continue}}}}function fH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;f=oe-16|0;oe=f;j[f+4>>2]=0;u=j[a+100>>2];g=u;q=j[a+676>>2];a:{if(!q){d=Tl(a,0);j[f+4>>2]=d;if(d){break a}q=j[a+676>>2]}t=j[q+8>>2];d=j[t>>2];s=xe(g,4,0,d,0,f+4|0);if(j[f+4>>2]){break a}e=b>>>0>d>>>0?d:b;if(e){b=j[t+12>>2];while(1){b:{d=o<<2;m=j[d+c>>2];p=j[b+12>>2];if((m|0)<=(p|0)){g=j[b+4>>2];if((g|0)<=(m|0)){break b}}j[f+4>>2]=6;break a}r=d+s|0;n=j[b+8>>2];c:{if((n|0)>(m|0)){d=0-De(m-n|0,g-n|0)|0;break c}d=0;if((n|0)==(p|0)){break c}d=De(m-n|0,p-n|0)}j[r>>2]=d;b=b+24|0;o=o+1|0;if((e|0)!=(o|0)){continue}break}}c=j[t>>2];if(c>>>0>e>>>0){b=e+1|0;Ee((e<<2)+s|0,0,(b>>>0>>0?c:b)-e<<2)}d:{if(k[q+16|0]){break d}e=j[a+104>>2];m=j[e+28>>2];n=j[a+676>>2];j[f+12>>2]=0;h[n+16|0]=1;b=qe[j[a+508>>2]](a,1635148146,e,f+8|0)|0;j[f+12>>2]=b;if(b){break d}b=_e(e,j[f+8>>2]);j[f+12>>2]=b;if(b){break d}b=Ff(e);o=Ff(e);e:{if((b|0)!=65536|(o|0)!=j[j[n+8>>2]>>2]){break e}b=xe(m,8,0,o,0,f+12|0);j[n+20>>2]=b;if(j[f+12>>2]|(o|0)<1){break e}c=0;while(1){f:{d=af(e);i[b>>1]=d;v=b,w=xe(m,8,0,d,0,f+12|0),j[v+4>>2]=w;if(j[f+12>>2]){break f}p=0;if(l[b>>1]){while(1){d=af(e);g=p<<3;j[g+j[b+4>>2]>>2]=d<<16>>16<<2;d=af(e);j[(g+j[b+4>>2]|0)+4>>2]=d<<16>>16<<2;p=p+1|0;if(p>>>0>1]){continue}break}}b=b+8|0;c=c+1|0;if((o|0)!=(c|0)){continue}break e}break}g:{if(!c){b=j[n+20>>2];break g}b=j[n+20>>2];while(1){d=c-1|0;g=d<<3;b=j[(g+b|0)+4>>2];if(b){qe[j[m+8>>2]](m,b)}b=j[n+20>>2];j[(g+b|0)+4>>2]=0;g=(c|0)>1;c=d;if(g){continue}break}}if(b){qe[j[m+8>>2]](m,b)}j[n+20>>2]=0}Ve(e)}r=j[t>>2];c=j[q+20>>2];h:{if(!c){break h}e=0;if(!r){r=0;break h}while(1){m=l[c>>1];i:{if(m>>>0<2){break i}g=(e<<2)+s|0;n=j[g>>2];q=j[c+4>>2];b=1;while(1){d=b<<3;o=d+q|0;p=j[o>>2];if((n|0)<(p|0)){m=g;g=d-8|0;d=g+q|0;b=j[d>>2];v=m,w=Ne(n-b|0,j[o+4>>2]-j[d+4>>2]|0,p-b|0)+j[(g+j[c+4>>2]|0)+4>>2]|0,j[v>>2]=w;r=j[t>>2];break i}b=b+1|0;if(m>>>0>b>>>0){continue}break}}c=c+8|0;e=e+1|0;if(e>>>0>>0){continue}break}}v=f,w=oq(a,r,s),j[v+4>>2]=w}if(s){qe[j[u+8>>2]](u,s)}oe=f+16|0;return j[f+4>>2]}function Jp(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;e=oe-48|0;oe=e;h=a+120|0;g=a+592|0;f=a+480|0;a:{while(1){b:{c:{d:{e:{b=j[a+88>>2];switch(b-3|0){case 1:break d;case 0:break e;default:break c}}c=j[a+72>>2];f:{if(j[a+4>>2]){if(!ti(f,c+(j[a+96>>2]<<5)|0)){break f}break b}if(ti(f,c)){break b}}Jl(f,g);j[a+88>>2]=4;j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0}l=j[j[j[a+72>>2]+28>>2]+3656>>2];i=-3;b=mg(h,e);if((b|0)==-1){break a}while(1){if((b|0)>=1){c=j[e+16>>2];d=j[e+20>>2];if(!mF(g,e)){i=-129;if(cj(f,0)){break a}Qp(f,g);b=cj(f,0);o[a+112>>3]=o[a+112>>3]+ +(b<>3]=o[a+104>>3]+ +(j[e+4>>2]<<3);i=1;if(j[e+12>>2]|(c|0)==-1&(d|0)==-1){break a}g:{if(!j[a+4>>2]){h=0;break g}h=j[a+96>>2];if((h|0)<1){break g}b=c;g=j[a+68>>2]+(h<<4)|0;m=j[g>>2];c=b-m|0;d=d-(j[g+4>>2]+(b>>>0>>0)|0)|0}b=(d|0)>0?1:(d|0)>=0?!!c:0;g=b?c:0;f=cj(f,0)<>31)+(g>>>0>>0)|0)|0;if((h|0)>=1){g=j[a+68>>2];b=0;while(1){l=g+(b<<4|8)|0;f=c+j[l>>2]|0;d=j[l+4>>2]+d|0;d=c>>>0>f>>>0?d+1|0:d;c=f;b=b+1|0;if((h|0)!=(b|0)){continue}break}}j[a+80>>2]=c;j[a+84>>2]=d;break a}b=mg(h,e);if((b|0)!=-1){continue}break a}break}b=j[a+88>>2]}h:{i:{j:{if((b|0)>=2){k:{l:{while(1){i=-2;Of(a,e+32|0,-1,-1);if((pe|0)<0){break a}o[a+104>>3]=o[a+104>>3]+ +(j[e+36>>2]<<3);b=j[a+88>>2];if((b|0)!=4){break k}c=j[e+32>>2];if(j[a+92>>2]==(k[c+14|0]|k[c+15|0]<<8|(k[c+16|0]<<16|k[c+17|0]<<24))){break l}if(!(k[j[e+32>>2]+5|0]&2)){continue}break}Cg(f);ah(g);j[a+88>>2]=2;if(j[a+4>>2]){break j}aj(j[a+72>>2]);bj(j[a+76>>2])}b=j[a+88>>2];if((b|0)==4){break h}}if((b|0)>2){break h}}if(!j[a+4>>2]){break i}}c=j[e+32>>2];c=k[c+14|0]|k[c+15|0]<<8|(k[c+16|0]<<16|k[c+17|0]<<24);d=j[a+52>>2];m:{if((d|0)<1){b=0;break m}i=j[a+64>>2];b=0;while(1){if((c|0)==j[(b<<2)+i>>2]){break m}b=b+1|0;if((d|0)>(b|0)){continue}break}}if((b|0)==(d|0)){continue}j[a+96>>2]=b;j[a+92>>2]=c;sh(h,c);j[a+88>>2]=3;break h}i=Fl(a,j[a+72>>2],j[a+76>>2],0,0,e+32|0);if(i){break a}j[a+92>>2]=j[a+456>>2];j[a+96>>2]=j[a+96>>2]+1}Ng(h,e+32|0);continue}break}i=-137}oe=e+48|0;return i}function ok(a,b,c,d,e,f){var g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=oe+ -64|0;oe=h;g=j[b>>2];j[h>>2]=g;j[h+4>>2]=j[c>>2];p=k[e+9|0];q=p?10:9;m=a+8|0;while(1){r=(n<<2)+h|0;j[r+8>>2]=g;if(k[e+n|0]){a:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){o=0;l=j[a+4>>2];if(!l|j[l>>2]){break a}j[l>>2]=130;g=j[r+8>>2];break a}b:{c:{d:{l=(i<<3)+a|0;switch(j[l+12>>2]-1|0){case 0:break c;case 1:break d;default:break b}}o=j[l+8>>2]<<16;break a}l=j[l+8>>2];if((l|0)<=-1){o=0-(8192-l>>14)|0;break a}o=l- -8192>>14;break a}o=j[l+8>>2]}j[r+8>>2]=g+o;i=i+1|0}n=n+1|0;if((q|0)!=(n|0)){g=j[(n<<2)+h>>2];continue}break}if(!p){j[h+44>>2]=j[c>>2]}q=h;e:{f:{if(f){e=j[h+44>>2]-j[c>>2]|0;f=e>>31;f=f^e+f;e=j[h+40>>2]-j[b>>2]|0;g=e>>31;e=g^e+g;g:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){i=0;g=j[a+4>>2];if(!g|j[g>>2]){break g}j[g>>2]=130;break g}h:{i:{j:{g=(i<<3)+a|0;switch(j[g+12>>2]-1|0){case 0:break i;case 1:break j;default:break h}}i=j[g+8>>2]<<16;break g}g=j[g+8>>2];if((g|0)<=-1){i=0-(8192-g>>14)|0;break g}i=g- -8192>>14;break g}i=j[g+8>>2]}if((e|0)>(f|0)){g=j[h+40>>2]+i|0;j[h+48>>2]=g;break f}g=j[b>>2];j[h+48>>2]=g;e=j[h+44>>2]+i|0;break e}f=h;k:{if(k[e+10|0]){p=j[h+40>>2];l:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){g=0;l=j[a+4>>2];if(!l|j[l>>2]){break l}j[l>>2]=130;break l}m:{n:{o:{g=(i<<3)+a|0;switch(j[g+12>>2]-1|0){case 0:break n;case 1:break o;default:break m}}g=j[g+8>>2]<<16;break l}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break l}g=g- -8192>>14;break l}g=j[g+8>>2]}i=i+1|0;g=g+p|0;break k}g=j[b>>2]}j[f+48>>2]=g;if(!k[e+11|0]){break f}e=j[h+44>>2];p:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){i=0;f=j[a+4>>2];if(!f|j[f>>2]){break p}j[f>>2]=130;g=j[h+48>>2];break p}q:{r:{s:{f=(i<<3)+a|0;switch(j[f+12>>2]-1|0){case 0:break r;case 1:break s;default:break q}}i=j[f+8>>2]<<16;break p}f=j[f+8>>2];if((f|0)<=-1){i=0-(8192-f>>14)|0;break p}i=f- -8192>>14;break p}i=j[f+8>>2]}e=e+i|0;break e}e=j[c>>2]}j[q+52>>2]=e;Ph(d,j[h+8>>2],j[h+12>>2],j[h+16>>2],j[h+20>>2],j[h+24>>2],j[h+28>>2]);Ph(d,j[h+32>>2],j[h+36>>2],j[h+40>>2],j[h+44>>2],g,e);j[a+392>>2]=m;j[b>>2]=g;j[c>>2]=e;oe=h- -64|0}function hm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;a:{if(j[a+204>>2]==(d|0)?j[a+200>>2]==(b|0):0){break a}j[a+200>>2]=b;j[a+204>>2]=d;d=j[a+4>>2];if(!d){break a}i=ye(j[a+8>>2],b);j[a+12>>2]=i;j[a+16>>2]=i+32&-64;f=d-1|0;if(!f){break a}d=a+20|0;while(1){k=ye(j[d>>2],b);l=j[a+12>>2];g=k-l|0;i=g>>31;i=(i^i+g)<128?l:k;j[d+4>>2]=i;j[d+8>>2]=i+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}b:{if(j[a+408>>2]==(e|0)?j[a+404>>2]==(c|0):0){break b}j[a+404>>2]=c;j[a+408>>2]=e;b=j[a+208>>2];c:{if(!b){break c}d=ye(j[a+212>>2],c);j[a+216>>2]=d;j[a+220>>2]=d+32&-64;f=b-1|0;if(!f){break c}d=a+224|0;while(1){i=ye(j[d>>2],c);k=j[a+216>>2];l=i-k|0;b=l>>31;b=(b^b+l)<128?k:i;j[d+4>>2]=b;j[d+8>>2]=b+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}h[a+2492|0]=(c|0)<=34359737?(p(c,125)|0)>2]<<3:0;d=j[a+2480>>2];d:{if((d|0)<1){break d}while(1){if((ye(d,c)|0)<33){break d}b=(d|0)>1;d=d-1|0;if(b){continue}break}d=0}b=a+412|0;j[a+2484>>2]=d;i=a+1960|0;k=a+928|0;l=a+1444|0;f=0;while(1){d=b;e:{f:{switch(f|0){case 1:d=k;break e;case 2:d=l;break e;case 0:break e;default:break f}}d=i}g=j[d>>2];if(g){d=d+4|0;while(1){o=d,q=ye(j[d+8>>2],c)+e|0,j[o+28>>2]=q;o=d,q=ye(j[d+12>>2],c)+e|0,j[o+24>>2]=q;o=d,q=ye(j[d>>2],c)+e|0,j[o+16>>2]=q;o=d,q=ye(j[d+4>>2],c),j[o+20>>2]=q;j[d+16>>2]=j[d+16>>2]+32&-64;d=d+32|0;g=g-1|0;if(g){continue}break}}f=f+1|0;if((f|0)!=4){continue}break}g=j[b>>2];if(g){b=a+1448|0;f=a+416|0;while(1){e=j[l>>2];g:{if(!e){break g}d=b;while(1){m=j[f>>2]-j[d>>2]|0;n=m>>31;if((ye(n^n+m,c)|0)<=63){j[f+28>>2]=j[d+28>>2];j[f+24>>2]=j[d+24>>2];j[f+16>>2]=j[d+16>>2];j[f+20>>2]=j[d+20>>2];break g}d=d+32|0;e=e-1|0;if(e){continue}break}}f=f+32|0;g=g-1|0;if(g){continue}break}}g=j[k>>2];if(!g){break b}b=a+1964|0;f=a+932|0;while(1){e=j[i>>2];h:{if(!e){break h}d=b;while(1){k=j[f>>2]-j[d>>2]|0;a=k>>31;if((ye(a^a+k,c)|0)>=64){d=d+32|0;e=e-1|0;if(e){continue}break h}break}j[f+28>>2]=j[d+28>>2];j[f+24>>2]=j[d+24>>2];j[f+16>>2]=j[d+16>>2];j[f+20>>2]=j[d+20>>2]}f=f+32|0;g=g-1|0;if(g){continue}break}}}function _m(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=oe-48|0;oe=f;a:{b:{g=b&2;if(!g){break b}c=j[67085];if(j[c+180>>2]){break b}j[f+32>>2]=j[c>>2];c=ve(56595,f+32|0);break a}d=j[a+48>>2];an(a);c=j[a+108>>2];if(c){j[c>>2]=j[c>>2]&-5;kf(c);j[a+108>>2]=0;j[a+112>>2]=0}c=j[67085];e=j[c+144>>2];if(e){qe[e|0](c,a);c=j[67085]}h=d&2048;c:{if(h){break c}d=j[c+132>>2];if(!d){break c}qe[d|0](c,a)}d:{e:{if((g|0)!=(j[a+48>>2]&2)){c=j[67085];if(g){f:{if(!c){e=ve(57733,0);break f}g:{d=j[c+432>>2];if(!d){d=j[c+168>>2];if(!d){j[f+16>>2]=j[c>>2];e=ve(57048,f+16|0);break f}e=qe[d|0](c,0)|0;c=j[67085];if(e){break g}d=j[c+432>>2]}break e}d=j[c+176>>2];if(!d){break f}qe[d|0](c)}d=0;if((e|0)>=0){break d}c=-1;break a}if(!c){ve(57733,0);d=1;break d}d=1;e=j[c+432>>2];if((e|0)<1){break d}j[c+432>>2]=e-1;if((e|0)!=1){break d}e=j[c+176>>2];if(!e){break d}qe[e|0](c);break d}d=1;if(!g){break d}c=j[67085];h:{if(!c){ve(57733,0);break h}d=j[c+432>>2];if((d|0)<1){break h}j[c+432>>2]=d-1;if((d|0)!=1){break h}d=j[c+176>>2];if(!d){break h}qe[d|0](c)}c=j[67085];i:{if(!c){e=ve(57733,0);break i}j:{d=j[c+432>>2];if(!d){d=j[c+168>>2];if(!d){j[f>>2]=j[c>>2];e=ve(57048,f);break i}e=qe[d|0](c,0)|0;c=j[67085];if(e){break j}d=j[c+432>>2]}break e}d=j[c+176>>2];if(!d){break i}qe[d|0](c)}d=0;if((e|0)>=0){break d}c=-1;break a}j[c+432>>2]=d+1;d=0}c=j[a+48>>2]&268435456;if((c|0)!=(b&268435456)){ve(56887,0);c=-1;break a}if(!(!g|!c)){ve(56813,0);c=-1;break a}j[a+120>>2]=0;c=b&269459570|8;j[a+52>>2]=c;j[a+48>>2]=c;k:{if(h){break k}e=j[67085];g=j[e+36>>2];if(!g){break k}c=-1;if((qe[g|0](e,a)|0)>-1){break k}if(d){break a}b=j[67085];l:{if(!b){ve(57733,0);break l}d=j[b+432>>2];if((d|0)<1){break l}j[b+432>>2]=d-1;if((d|0)!=1){break l}d=j[b+176>>2];if(!d){break l}qe[d|0](b)}j[a+48>>2]=j[a+48>>2]&-3;break a}if(h){j[a+48>>2]=j[a+48>>2]|2048}c=j[67085];d=j[c+44>>2];if(!(!d|!j[a+8>>2])){qe[d|0](c,a);c=j[67085]}d=j[c+48>>2];m:{if(!d){break m}e=j[a+12>>2];if(!e){break m}qe[d|0](c,a,e)}if(j[a+132>>2]){qe[j[j[67085]+284>>2]](a,1)|0}bn(a,b&-2049|h);c=0}oe=f+48|0;return c}function ts(a,b,c,d){var e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;s=oe-16|0;oe=s;e=Gi(a,d);a:{if(e){break a}lj(a,b,c,d);f=j[a+2988>>2];o=j[a>>2];b=p(d,1468)+a|0;n=b;j[b+56>>2]=0;q=b+44|0;c=j[q>>2];b=j[b+52>>2];m=j[(d?12:4)+a>>2];if(!d){g=De(64,j[a+12>>2])}f=ye(j[(f+p(d,1572)|0)+248>>2],m);t=De((f|0)<16?f:16,m);if((c|0)>=1){u=p(c,48)+b|0;w=p(g,3);v=(p(d,1468)+a|0)- -64|0;while(1){c=i[b+8>>1];b:{if((c|0)<(g|0)|(j[b+24>>2]?(w|0)>c<<1:0)){break b}c:{r=j[n+56>>2];d:{if((r|0)<=0){f=i[b+2>>1];break d}f=i[b+2>>1];y=j[v>>2];e=0;while(1){c=p(e,48)+y|0;x=f-i[c>>1]|0;l=x>>31;if(k[c+13|0]==k[b+1|0]?(t|0)>(l^l+x):0){break c}e=e+1|0;if((r|0)!=(e|0)){continue}break}}e=hs(q,f,h[b+1|0],o,s+12|0);if(e){break a}c=j[s+12>>2];j[c+44>>2]=b;j[c+40>>2]=b;j[c>>2]=0;j[c+4>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;h[c+13|0]=k[b+1|0];f=i[b+2>>1];i[c>>1]=f;f=ye(f,m);j[c+8>>2]=f;j[c+4>>2]=f;j[b+16>>2]=b;break b}j[b+16>>2]=j[c+40>>2];j[j[c+44>>2]+16>>2]=b;j[c+44>>2]=b}b=b+48|0;if(u>>>0>b>>>0){continue}break}}b=j[n+56>>2];if((b|0)>=1){g=j[(p(d,1468)+a|0)- -64>>2];q=g+p(b,48)|0;b=g;while(1){a=j[b+40>>2];e=a;if(a){while(1){j[e+12>>2]=b;e=j[e+16>>2];if((a|0)!=(e|0)){continue}break}}b=b+48|0;if(q>>>0>b>>>0){continue}break}while(1){m=g+28|0;d=g+24|0;t=j[g+40>>2];e=t;c=0;n=0;while(1){u=h[e|0]&1;w=u^1;e:{f:{g:{h:{f=j[e+24>>2];if(f){a=j[f+12>>2];l=(a|0)!=0&(a|0)!=(g|0);b=j[e+20>>2];if(!b){break h}if(!(l|j[b+12>>2]!=0)){break e}o=0;a=d;if(l){break g}break f}b=j[e+20>>2];if(!b){break e}o=0;a=d;if(j[b+12>>2]){break f}break e}if(!l){break e}}o=1;b=f;a=m}a=j[a>>2];i:{if(a){v=i[e+2>>1]-i[b+2>>1]|0;f=v>>31;r=i[g>>1]-i[a>>1]|0;l=r>>31;if((f^f+v)>=(l^l+r)){break i}}a=j[b+12>>2]}if(o){j[m>>2]=a;h[a+12|0]=k[a+12|0]|2;break e}j[d>>2]=a}c=c+u|0;n=n+w|0;e=j[e+16>>2];if((t|0)!=(e|0)){continue}break}h[g+12|0]=(c|0)!=0&c>>>0>=n>>>0;if(!(!j[g+28>>2]|!j[d>>2])){j[m>>2]=0}g=g+48|0;if(q>>>0>g>>>0){continue}break}}e=0}oe=s+16|0;return e}function rF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=q(0),p=q(0),r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=j[a+64>>2];s=j[d+104>>2];l=j[d+4>>2];t=j[l+28>>2];u=j[t+(j[a+28>>2]<<2)>>2];j[a+36>>2]=u;w=oe;e=j[l+4>>2];d=(e<<2)+15&-16;h=w-d|0;c=h;oe=c;r=c-d|0;c=r;oe=c;f=c-d|0;c=f;oe=c;v=c-d|0;oe=v;if((e|0)>=1){g=b+1028|0;i=b+4|0;m=u<<1&2147483646;d=0;while(1){e=d<<2;c=j[g+(j[e+i>>2]<<2)>>2]<<2;c=qe[j[j[(j[(c+t|0)+800>>2]<<2)+198148>>2]+20>>2]](a,j[c+j[s+48>>2]>>2])|0;j[e+v>>2]=c;j[e+f>>2]=(c|0)!=0;Ee(j[e+j[a>>2]>>2],0,m);d=d+1|0;e=j[l+4>>2];if((d|0)<(e|0)){continue}break}}d=j[b+1156>>2];if((d|0)>=1){i=b+2184|0;m=b+1160|0;c=0;while(1){k=c<<2;g=j[k+i>>2];k=f+(j[m+k>>2]<<2)|0;if(!(j[f+(g<<2)>>2]?0:!j[k>>2])){j[k>>2]=1;j[f+(g<<2)>>2]=1}c=c+1|0;if((d|0)!=(c|0)){continue}break}}if(j[b>>2]>=1){m=b+1092|0;k=b+4|0;d=0;while(1){c=0;g=0;if((e|0)>=1){while(1){i=c<<2;if(j[i+k>>2]==(d|0)){e=g<<2;j[e+r>>2]=j[f+i>>2]!=0;j[e+h>>2]=j[i+j[a>>2]>>2];g=g+1|0;e=j[l+4>>2]}c=c+1|0;if((e|0)>(c|0)){continue}break}}e=j[m+(d<<2)>>2]<<2;qe[j[j[(j[(e+t|0)+1312>>2]<<2)+198156>>2]+28>>2]](a,j[e+j[s+52>>2]>>2],h,r,g)|0;d=d+1|0;if((d|0)>2]){e=j[l+4>>2];continue}break}d=j[b+1156>>2]}if((d|0)>=1){r=(u|0)/2|0;i=b+2184|0;m=b+1160|0;g=j[a>>2];while(1){e=d;d=d-1|0;if((u|0)>=2){c=d<<2;k=j[g+(j[c+i>>2]<<2)>>2];x=j[g+(j[c+m>>2]<<2)>>2];c=0;while(1){h=c<<2;f=h+k|0;p=n[f>>2];h=h+x|0;o=n[h>>2];a:{if(!(o>q(0)^1)){if(!(p>q(0)^1)){n[f>>2]=o-p;break a}n[f>>2]=o;n[h>>2]=o+p;break a}if(!(p>q(0)^1)){n[f>>2]=o+p;break a}n[f>>2]=o;n[h>>2]=o-p}c=c+1|0;if((r|0)!=(c|0)){continue}break}}if((e|0)>1){continue}break}}b:{if(j[l+4>>2]<1){break b}d=b+1028|0;e=b+4|0;c=0;while(1){b=c<<2;f=j[d+(j[b+e>>2]<<2)>>2]<<2;qe[j[j[(j[(f+t|0)+800>>2]<<2)+198148>>2]+24>>2]](a,j[f+j[s+48>>2]>>2],j[b+v>>2],j[b+j[a>>2]>>2])|0;c=c+1|0;b=j[l+4>>2];if((c|0)<(b|0)){continue}break}if((b|0)<1){break b}c=0;while(1){b=j[j[a>>2]+(c<<2)>>2];YF(j[j[((j[a+28>>2]<<2)+s|0)+12>>2]>>2],b,b);c=c+1|0;if((c|0)>2]){continue}break}}oe=w;return 0}function Gq(a,b,c,d,e,f,g){var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j[a+180>>2]=f;t=a+180|0;j[a+52>>2]=t;n=j[a+72>>2];j[a+204>>2]=j[a+68>>2];j[a+208>>2]=n;j[a+200>>2]=c;j[a+196>>2]=b;j[a+192>>2]=e;j[a+188>>2]=d;j[a+184>>2]=g;g=t;while(1){p=j[g+12>>2];s=j[g+20>>2];b=(p|0)<(s|0);n=j[g+4>>2];e=j[g+28>>2];o=(n|0)<(e|0);a:{if(!(((b?s:p)|0)<=((o?e:n)|0)?((b?p:s)|0)>=((o?n:e)|0):0)){b=j[g+24>>2];j[g+48>>2]=b;j[g+52>>2]=e;c=(e+s|0)+1>>1;j[g+44>>2]=c;d=p+1|0;e=d+n>>1;j[g+12>>2]=e;o=j[g+8>>2]+1|0;p=o+f>>1;j[g+8>>2]=p;r=b;b=j[g+16>>2];q=(r+b|0)+1>>1;j[g+40>>2]=q;r=c;c=(d+s>>1)+1|0;d=r+c>>1;j[g+36>>2]=d;c=c+e>>1;j[g+20>>2]=c;b=(b+o>>1)+1|0;e=b+p>>1;j[g+16>>2]=e;b=b+q>>1;j[g+32>>2]=b;j[g+28>>2]=(c+d|0)+1>>1;j[g+24>>2]=(b+e|0)+1>>1;j[a+52>>2]=g+24;break a}if((e|0)==(n|0)){j[a+52>>2]=g-24;break a}u=o?2:1;c=j[a+100>>2];if((u|0)!=(c|0)){b=j[a+4>>2];d=o?e&b-1:((b+e|0)-1&0-b)-e|0;r=j[a+8>>2];if(c){b=j[a+40>>2];q=j[a+88>>2];c=b-j[q+8>>2]|0;if((c|0)<=-1){j[a+44>>2]=99;return 1}b:{if(!c){c=b;break b}j[q+16>>2]=c>>2;if((d|0)>=(r|0)){c=l[q+12>>1];i[q+12>>1]=(c&8?16:32)|c}j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c;j[b+8>>2]=c;j[b+16>>2]=0;j[q+28>>2]=b;i[a+84>>1]=l[a+84>>1]+1}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}h[a+87|0]=0}c:{if(j[a+92>>2]){c=j[a+40>>2];break c}b=j[a+40>>2];j[a+92>>2]=b;j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}b=j[a+88>>2];j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=c;j[b+28>>2]=0;j[b+4>>2]=0;c=k[a+176|0];i[b+12>>1]=c;d:{if(!o){i[b+12>>1]=c|8;if((d|0)<(r|0)){break d}i[b+12>>1]=c|40;break d}if((d|0)<(r|0)){break d}i[b+12>>1]=c|16}if(!j[a+96>>2]){j[a+96>>2]=b}i[a+86>>1]=1;j[a+100>>2]=u}b=j[a+80>>2];c=j[a+76>>2];if(!o){if(!kk(a,3,780,c,b)){break a}return 1}j[g+28>>2]=0-e;j[g+20>>2]=0-s;j[g+12>>2]=0-p;j[g+4>>2]=0-n;d=k[a+86|0];b=kk(a,3,780,0-b|0,0-c|0);if(!(k[a+86|0]|!d)){c=j[a+88>>2];j[c+20>>2]=0-j[c+20>>2]}j[g+4>>2]=0-j[g+4>>2];if(!b){break a}return 1}g=j[a+52>>2];if(t>>>0<=g>>>0){f=j[g>>2];continue}break}j[a+72>>2]=n;j[a+68>>2]=f;return 0}function Gg(a){var b=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{if((a|0)<=370546691){if((a|0)<=355602433){if((a|0)<=318769152){if((a|0)<=303039487){b=54392;if((a|0)==286261504){break a}if((a|0)!=287310080){break b}return 54418}if((a|0)==303039488){break w}if((a|0)!=304088064){break b}return 54470}if((a|0)<=353504257){if((a|0)==318769153){break v}if((a|0)!=336660481){break b}return 54519}if((a|0)==353504258){break u}if((a|0)==353570562){break t}if((a|0)!=353701890){break b}return 54811}if((a|0)<=357896193){if((a|0)<=356651009){if((a|0)==355602434){break s}if((a|0)!=355667970){break b}return 54711}if((a|0)==356651010){break r}if((a|0)==356782082){break p}if((a|0)!=357764866){break b}return 54588}if((a|0)<=359862273){if((a|0)==357896194){break n}if((a|0)!=359796738){break b}return 54661}if((a|0)==359862274){break o}if((a|0)==360845314){break q}if((a|0)!=360976386){break b}return 54786}if((a|0)<=386930690){if((a|0)<=373694467){if((a|0)<=372645891){if((a|0)==370546692){break k}if((a|0)!=371595268){break b}return 54924}if((a|0)==372645892){break i}if((a|0)!=372711428){break b}return 55097}if((a|0)<=375789571){if((a|0)==373694468){break h}if((a|0)!=374740996){break b}return 54949}if((a|0)==375789572){break j}if((a|0)==376840196){break g}if((a|0)!=377888772){break b}return 55072}if((a|0)<=844715352){if((a|0)<=842094157){if((a|0)==386930691){break m}if((a|0)==390076419){break l}if((a|0)!=825382478){break b}return 55251}switch(a-842094158|0){case 0:break c;case 11:break f;default:break b}}if((a|0)<=1448433992){if((a|0)==844715353){break d}if((a|0)!=1431918169){break b}return 55209}if((a|0)==1448433993){break e}if((a|0)!=1498831189){break b}return 55188}return 54444}return 54496}return 54542}return 54565}return 54611}return 54636}return 54686}return 54736}return 54761}return 54834}return 54857}return 54879}return 54901}return 54972}return 54997}return 55022}return 55047}return 55125}return 55146}return 55167}return 55230}b=55272}return b}function uq(a){var b=0,c=0,d=0,e=0,f=0,g=0,k=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;c=oe-16|0;oe=c;d=j[a+104>>2];b=qe[j[a+508>>2]](a,1886352244,d,c+4|0)|0;a:{if(b){break a}f=j[d+8>>2];p=j[c+4>>2];e=j[a+468>>2];b=xf(d,32);if(b){break a}b:{c:{d:{e:{f:{if((e|0)!=163840){b=3;if((e|0)!=131072){break b}e=j[d+28>>2];k=qf(d,c+8|0);b=j[c+8>>2];if(b){break b}b=3;if(k>>>0>l[a+264>>1]){break b}r=xe(e,2,0,k,0,c+8|0);if(j[c+8>>2]){break c}b=_e(d,k<<1);j[c+8>>2]=b;if(b){break c}if(!k){break f}b=0;while(1){u=r+(b<<1)|0,v=af(d),i[u>>1]=v;b=b+1|0;if((k|0)!=(b|0)){continue}break}Ve(d);b=0;while(1){n=l[r+(g<<1)>>1];q=n-257|0;b=n>>>0>257?(q|0)>(b&65535)?q:b:b;g=g+1|0;if((k|0)!=(g|0)){continue}break}break d}k=j[d+28>>2];e=qf(d,c+12|0);b=j[c+12>>2];if(b){break b}b=3;if(e>>>0>258|e>>>0>l[a+264>>1]){break b}g=xe(k,1,0,e,0,c+12|0);g:{if(j[c+12>>2]){break g}b=uf(d,g,e);j[c+12>>2]=b;if(b){break g}if(!e){break e}b=0;while(1){if(e>>>0>=h[b+g|0]+b>>>0){b=b+1|0;if((e|0)!=(b|0)){continue}break e}break}j[c+12>>2]=3}if(g){qe[j[k+8>>2]](k,g)}b=j[c+12>>2];break b}Ve(d);b=0;break d}j[a+620>>2]=g;i[a+616>>1]=e;b=0;break b}n=0;q=b&65535;g=xe(e,4,0,q,0,c+8|0);if(j[c+8>>2]){break c}h:{i:{if(!q){break i}p=f+p|0;while(1){if(p>>>0<=m[d+8>>2]){d=n&65535;f=b&65535;if(d>>>0>=f>>>0){break i}while(1){n=xe(e,1,0,1,0,c+8|0);j[(d<<2)+g>>2]=n;if(j[c+8>>2]){break h}h[n|0]=0;d=d+1|0;if((f|0)!=(d&65535)){continue}break}break i}f=hg(d,c+8|0);if(j[c+8>>2]){break h}s=(n<<2)+g|0;t=s;o=e;f=f&255;if(!(m[d+8>>2]<=p-f>>>0?p>>>0>=f>>>0:0)){f=p-j[d+8>>2]|0;f=(f|0)>0?f:0}o=xe(o,1,0,f+1|0,0,c+8|0);j[t>>2]=o;if(j[c+8>>2]){break h}o=uf(d,o,f);j[c+8>>2]=o;if(o){break h}h[j[s>>2]+f|0]=0;n=n+1|0;if((q|0)!=(n|0)){continue}break}}j[a+624>>2]=g;j[a+620>>2]=r;i[a+618>>1]=b;i[a+616>>1]=k;b=0;break b}d=((b&65535)>>>0>1?b:1)&65535;b=0;while(1){k=(b<<2)+g|0;f=j[k>>2];if(f){qe[j[e+8>>2]](e,f)}j[k>>2]=0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}if(g){qe[j[e+8>>2]](e,g)}if(r){qe[j[e+8>>2]](e,r)}b=j[c+8>>2]}h[a+612|0]=1}oe=c+16|0;return b}function kn(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;o=oe-80|0;oe=o;a:{if(!a){j[o>>2]=55706;ve(55656,o);break a}if(!b){j[o+16>>2]=55711;ve(55656,o+16|0);break a}if(!c){j[o+32>>2]=55714;ve(55656,o+32|0);break a}if(!d){j[o+48>>2]=55717;ve(55656,o+48|0);break a}if(!e){j[o+64>>2]=55720;ve(55656,o- -64|0);break a}h=j[a+8>>2];if((h|0)<1){break a}s=j[a+12>>2];if((s|0)<1){break a}m=j[a>>2];t=h+m|0;i=j[d>>2];g=j[b>>2];k=j[e>>2];n=j[a+4>>2];r=s+n|0;a=(k|0)>=(r|0);f=j[c>>2];b:{c:{if(a|(r|0)<=(f|0)|((g|0)<(m|0)|(i|0)>=(t|0))){break c}if((i|0)<(m|0)|(g|0)>=(t|0)|(f|0)<(n|0)){break c}if((k|0)>=(n|0)){break b}}if(a&(f|0)>=(r|0)){break a}w=(k|0)<(n|0);a=(f|0)<(n|0);if(w&a){break a}x=(i|0)<(m|0);h=(g|0)<(m|0);if(x&h){break a}q=(g|0)<(t|0);u=(i|0)<(t|0);if(!(q|u)){break a}s=t-1|0;if((f|0)==(k|0)){if(!(q?!h:0)){j[b>>2]=h?m:s}if((i|0)<(m|0)){j[d>>2]=m;break b}if(u){break b}j[d>>2]=s;break b}v=r-1|0;if((g|0)==(i|0)){if(!((f|0)<(r|0)?!a:0)){j[c>>2]=a?n:v}if((k|0)<(n|0)){j[e>>2]=n;break b}if((k|0)<(r|0)){break b}j[e>>2]=v;break b}a=a?2:(f|0)>=(r|0);l=h?a|4:q?a:a|8;a=w?2:(k|0)>=(r|0);q=x?a|4:u?a:a|8;if(l|q){u=!l;a=0;h=0;while(1){if(l&q){l=0;break a}d:{e:{if(!u){f:{g:{if(l&2){a=((p(i-g|0,n-f|0)|0)/(k-f|0)|0)+g|0;h=n;break g}h:{if(l&1){a=((p(i-g|0,v-f|0)|0)/(k-f|0)|0)+g|0;h=v;break h}if(l&4){h=((p(m-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=m;break h}if(!(l&8)){break h}h=((p(s-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=s}f=2;if((h|0)<(n|0)){break f}}f=(h|0)>=(r|0)}if((a|0)<(m|0)){l=f|4;break e}l=(a|0)<(t|0)?f:f|8;break e}i:{j:{if(q&2){a=((p(i-g|0,n-f|0)|0)/(k-f|0)|0)+g|0;h=n;break j}k:{if(q&1){a=((p(i-g|0,v-f|0)|0)/(k-f|0)|0)+g|0;h=v;break k}if(q&4){h=((p(m-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=m;break k}if(!(q&8)){break k}h=((p(s-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=s}i=2;if((h|0)<(n|0)){break i}}i=(h|0)>=(r|0)}q=(a|0)<(m|0)?i|4:(a|0)<(t|0)?i:i|8;l=0;i=a;k=h;break d}f=h;g=a}u=!l;if(l|q){continue}break}}j[b>>2]=g;j[c>>2]=f;j[d>>2]=i;j[e>>2]=k}l=1}oe=o+80|0;return l}function HG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0;i=oe-16|0;oe=i;f=j[a+488>>2];e=j[b+8>>2];qe[j[b+28>>2]](b);d=j[b>>2];a:{if(e>>>0<=d>>>0){j[b+12>>2]=3;break a}b:{l=k[d|0];if(!(l-48>>>0>9?(l|0)!=91:0)){g=j[b+16>>2];c:{if((l|0)==91){j[b>>2]=d+1;c=256;break c}c=qe[j[b+36>>2]](b)|0}qe[j[b+28>>2]](b);if(m[b>>2]>=e>>>0){break a}n=c;j[a+372>>2]=c;j[b+96>>2]=c;r=a,s=xe(g,2,0,c,0,i+12|0),j[r+384>>2]=s;c=j[i+12>>2];if(c){break b}r=a,s=xe(g,4,0,n,0,i+12|0),j[r+388>>2]=s;c=j[i+12>>2];if(c){break b}o=b+100|0;c=qe[j[j[f>>2]>>2]](o,n,g)|0;j[i+12>>2]=c;if(c){break b}if((n|0)>=1){c=0;while(1){qe[j[b+144>>2]](o,c,159996,8)|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}qe[j[b+28>>2]](b);c=j[b>>2];d:{if(e>>>0<=c>>>0){break d}p=(l|0)==91;g=0;while(1){e:{f:{g:{f=k[c|0];switch(f-93|0){case 0:break f;case 7:break g;default:break e}}d=c+3|0;if(k[c+1|0]!=101|e>>>0<=d>>>0|k[c+2|0]!=102){break e}switch(k[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break d;default:break e}}d=c+1|0;break d}h:{i:{if(!(f-48>>>0>9?!p:0)){if(p){d=c;f=g;break i}f=qe[j[b+36>>2]](b)|0;qe[j[b+28>>2]](b);d=j[b>>2];if((d|0)!=(c|0)){break i}j[b+12>>2]=2;break a}qe[j[b+32>>2]](b);d=c;if(j[b+12>>2]){break a}break h}if(!((g|0)>=(n|0)|d+2>>>0>=e>>>0|k[d|0]!=47)){d=d+1|0;j[b>>2]=d;qe[j[b+32>>2]](b);c=j[b>>2];if(j[b+12>>2]|c>>>0>=e>>>0){break a}q=c-d|0;c=qe[j[b+144>>2]](o,f,d,q+1|0)|0;j[b+12>>2]=c;if(c){break a}h[q+j[j[b+124>>2]+(f<<2)>>2]|0]=0;g=g+1|0;break h}if((l|0)!=91){break h}j[b+12>>2]=2;break a}qe[j[b+28>>2]](b);c=j[b>>2];if(e>>>0>c>>>0){continue}break}}j[a+368>>2]=1;j[b>>2]=d;break a}j:{if(d+17>>>0>=e>>>0){break j}if(Qe(d,162242,16)){break j}j[a+368>>2]=2;break a}k:{if(d+15>>>0>=e>>>0){break k}if(Qe(d,162259,14)){break k}j[a+368>>2]=4;break a}l:{if(d+18>>>0>=e>>>0){break l}if(Qe(d,162274,17)){break l}j[a+368>>2]=3;break a}j[b+12>>2]=162;break a}j[b+12>>2]=c}oe=i+16|0}function YL(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0;e=oe-16|0;oe=e;a:{b:{c:{d:{if(!a){break d}if(!(k[a+212|0]&64)){nm(a)}f=j[a+368>>2];j[e>>2]=f;h[e+8|0]=k[a+435|0];h[e+9|0]=k[a+436|0];h[e+10|0]=k[a+439|0];c=k[a+438|0];h[e+11|0]=c;c=c>>>0>=8?p(f,c>>>3|0):p(c,f)+7>>>3|0;j[e+4>>2]=c;e:{if(!k[a+432|0]|!(k[a+216|0]&2)){break e}d=j[a+372>>2];f:{switch(k[a+433|0]){case 0:if(!(d&7)){break e}yh(a);break d;case 1:if(m[a+348>>2]>4?!(d&7):0){break e}yh(a);break d;case 2:if((d&7)==4){break e}yh(a);break d;case 3:if(m[a+348>>2]>2?!(d&3):0){break e}yh(a);break d;case 4:if((d&3)==2){break e}yh(a);break d;case 5:if(m[a+348>>2]>1?!(d&1):0){break e}yh(a);break d;default:break f}}if(d&1){break e}yh(a);break d}if(!(k[a+208|0]&4)){break c}d=c+1|0;wr(a,j[a+384>>2],d);c=j[a+384>>2];f=k[c|0];if(f){if(f>>>0>4){break b}yN(a,e,c+1|0,j[a+380>>2]+1|0,f);d=j[e+4>>2]+1|0;c=j[a+384>>2]}Ae(j[a+380>>2],c,d);g:{if(!(k[a+708|0]&4)|k[a+712|0]!=64){break g}d=k[e+8|0];if(!(d&2)){break g}c=j[a+384>>2]+1|0;i=j[e>>2];h:{switch(k[e+9|0]-8|0){case 0:f=3;i:{switch(d-2|0){case 4:f=4;break;case 0:break i;default:break g}}if(!i){break g}d=0;while(1){g=k[c+1|0];h[c|0]=g+k[c|0];h[c+2|0]=g+k[c+2|0];c=c+f|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break g;case 8:break h;default:break g}}f=6;j:{switch(d-2|0){case 4:f=8;break;case 0:break j;default:break g}}if(!i){break g}d=0;while(1){g=k[c+3|0]|k[c+2|0]<<8;l=g+(k[c+5|0]|k[c+4|0]<<8)|0;h[c+5|0]=l;g=g+(k[c+1|0]|k[c|0]<<8)|0;h[c+1|0]=g;h[c+4|0]=l>>>8;h[c|0]=g>>>8;c=c+f|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(j[a+216>>2]){oK(a,e)}c=k[e+11|0];d=k[a+443|0];k:{if(!d){h[a+443|0]=c;if(c>>>0<=k[a+442|0]){break k}Ye(a,7512);z()}if((c|0)!=(d|0)){break a}}l:{m:{if(!k[a+432|0]){break m}c=j[a+216>>2];if(!(c&2)){break m}d=k[a+433|0];if(d>>>0<=5){BN(e,j[a+384>>2]+1|0,d,c)}if(!b){break l}Ir(a,b,0);break l}if(b){Ir(a,b,-1)}}yh(a);b=j[a+544>>2];if(!b){break d}qe[b|0](a,j[a+372>>2],k[a+433|0])}oe=e+16|0;return}Ye(a,7453);z()}Ye(a,7486);z()}Ye(a,7536);z()}function XF(a,b,c){var d=0,e=q(0),f=0,g=0,h=q(0),i=0,k=0,l=0,m=0,o=q(0),p=0,r=0,s=0,t=0,u=0,v=q(0),w=q(0),x=q(0),y=q(0),z=q(0),A=0;i=oe;A=i;r=j[a>>2];t=r>>1;d=t<<2;k=(d+b|0)+(r&-4)|0;s=i-((r<<2)+15&-16)|0;p=d+s|0;l=r>>3;oe=s;d=d+j[a+8>>2]|0;a:{if((r|0)<8){i=d;break a}g=k+4|0;while(1){i=k-8|0;m=f<<2;k=k-16|0;e=q(n[k>>2]+n[g+8>>2]);u=d-4|0;h=q(n[i>>2]+n[g>>2]);i=d-8|0;n[m+p>>2]=q(e*n[u>>2])+q(h*n[i>>2]);n[p+(m|4)>>2]=q(e*n[i>>2])-q(h*n[u>>2]);g=g+16|0;d=i;f=f+2|0;if((l|0)>(f|0)){continue}break}}g=b+4|0;l=t-l|0;b:{if((l|0)<=(f|0)){d=i;break b}while(1){d=k-8|0;m=f<<2;k=k-16|0;e=q(n[k>>2]-n[g+8>>2]);u=i-4|0;h=q(n[d>>2]-n[g>>2]);d=i-8|0;n[m+p>>2]=q(e*n[u>>2])+q(h*n[d>>2]);n[p+(m|4)>>2]=q(e*n[d>>2])-q(h*n[u>>2]);g=g+16|0;i=d;f=f+2|0;if((l|0)>(f|0)){continue}break}}if((f|0)<(t|0)){k=(r<<2)+b|0;while(1){b=k-8|0;i=f<<2;k=k-16|0;e=q(q(-n[k>>2])-n[g+8>>2]);l=d-4|0;h=q(q(-n[b>>2])-n[g>>2]);d=d-8|0;n[i+p>>2]=q(e*n[l>>2])+q(h*n[d>>2]);n[p+(i|4)>>2]=q(e*n[d>>2])-q(h*n[l>>2]);g=g+16|0;f=f+2|0;if((t|0)>(f|0)){continue}break}}l=r>>2;Zp(a,p,t);p=j[a+8>>2];b=j[a>>2];f=p+(b<<2)|0;g=j[a+12>>2];i=(b<<1&-4)+s|0;k=i;b=s;while(1){d=i+(j[g>>2]<<2)|0;e=n[d+4>>2];m=i+(j[g+4>>2]<<2)|0;h=n[m+4>>2];o=q(q(e+h)*q(.5));v=n[d>>2];w=n[m>>2];x=q(v+w);y=n[f>>2];e=q(e-h);h=n[f+4>>2];z=q(q(x*y)+q(e*h));n[b>>2]=o+z;n[k-8>>2]=o-z;o=q(q(v-w)*q(.5));e=q(q(x*h)-q(e*y));n[b+4>>2]=o+e;n[k-4>>2]=e-o;d=i+(j[g+8>>2]<<2)|0;e=n[d+4>>2];m=i+(j[g+12>>2]<<2)|0;h=n[m+4>>2];o=q(q(e+h)*q(.5));v=n[d>>2];w=n[m>>2];x=q(v+w);y=n[f+8>>2];e=q(e-h);h=n[f+12>>2];z=q(q(x*y)+q(e*h));n[b+8>>2]=o+z;d=k-16|0;n[d>>2]=o-z;o=q(q(v-w)*q(.5));e=q(q(x*h)-q(e*y));n[b+12>>2]=o+e;n[k-12>>2]=e-o;g=g+16|0;f=f+16|0;b=b+16|0;k=d;if(b>>>0>>0){continue}break}if((r|0)>=4){d=(l|0)>1?l:1;b=t<<2;f=b+p|0;b=b+c|0;g=0;while(1){e=n[s>>2];h=n[s+4>>2];n[(g<<2)+c>>2]=n[a+16>>2]*q(q(e*n[f>>2])+q(h*n[f+4>>2]));b=b-4|0;n[b>>2]=n[a+16>>2]*q(q(e*n[f+4>>2])-q(h*n[f>>2]));f=f+8|0;s=s+8|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}oe=A}function Vo(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;k=oe-128|0;oe=k;a:{b:{c:{if(!Kh(f,g,h,i,0,0,0,0)){break c}m=zD(f,g,h,i);s=e>>>16|0;o=s&32767;if((o|0)==32767){break c}if(m){break b}}lf(k+16|0,b,c,d,e,f,g,h,i);e=j[k+16>>2];d=j[k+20>>2];c=j[k+24>>2];b=j[k+28>>2];Xo(k,e,d,c,b,e,d,c,b);d=j[k+8>>2];e=j[k+12>>2];h=j[k>>2];i=j[k+4>>2];break a}m=o<<16;p=d;r=m|e&65535;n=r;q=h;r=i>>>16&32767;l=i&65535|r<<16;if((Kh(b,c,p,n,f,g,h,l)|0)<=0){if(Kh(b,c,p,n,f,g,q,l)){h=b;i=c;break a}lf(k+112|0,b,c,d,e,0,0,0,0);d=j[k+120>>2];e=j[k+124>>2];h=j[k+112>>2];i=j[k+116>>2];break a}if(o){i=c;h=b}else{lf(k+96|0,b,c,p,n,0,0,0,1081540608);h=j[k+108>>2];n=h;p=j[k+104>>2];o=(h>>>16|0)-120|0;i=j[k+100>>2];h=j[k+96>>2]}if(!r){lf(k+80|0,f,g,q,l,0,0,0,1081540608);f=j[k+92>>2];l=f;q=j[k+88>>2];r=(l>>>16|0)-120|0;g=j[k+84>>2];f=j[k+80>>2]}t=l&65535|65536;n=n&65535|65536;if((o|0)>(r|0)){while(1){l=p;m=q;u=l-m|0;m=n-((l>>>0>>0)+t|0)|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;m=m-(l>>>0>u>>>0)|0;l=u-l|0;d:{if((m|0)>0?1:(m|0)>=0){n=h;h=h-f|0;i=i-((f>>>0>n>>>0)+g|0)|0;if(!(h|l|(i|m))){lf(k+32|0,b,c,d,e,0,0,0,0);d=j[k+40>>2];e=j[k+44>>2];h=j[k+32>>2];i=j[k+36>>2];break a}m=m<<1|l>>>31;p=l<<1|i>>>31;break d}m=n<<1|p>>>31;p=p<<1|i>>>31}n=m;m=i<<1|h>>>31;h=h<<1;i=m;o=o-1|0;if((r|0)<(o|0)){continue}break}o=r}m=p;r=m-q|0;l=n-((m>>>0>>0)+t|0)|0;m=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;l=l-(m>>>0>r>>>0)|0;q=r-m|0;e:{if((l|0)<0){q=p;l=n;break e}p=h;h=h-f|0;i=i-((f>>>0>p>>>0)+g|0)|0;if(h|q|(i|l)){break e}lf(k+48|0,b,c,d,e,0,0,0,0);d=j[k+56>>2];e=j[k+60>>2];h=j[k+48>>2];i=j[k+52>>2];break a}if((l|0)==65535|l>>>0<65535){while(1){b=i>>>31|0;o=o-1|0;n=i<<1|h>>>31;h=h<<1;i=n;c=b;b=q;l=l<<1|b>>>31;q=c|b<<1;if(l>>>0<65536){continue}break}}b=s&32768;if((o|0)<=0){lf(k- -64|0,h,i,q,l&65535|(b|o+120)<<16,0,0,0,1065811968);d=j[k+72>>2];e=j[k+76>>2];h=j[k+64>>2];i=j[k+68>>2];break a}d=q;e=l&65535|(b|o)<<16}j[a>>2]=h;j[a+4>>2]=i;j[a+8>>2]=d;j[a+12>>2]=e;oe=k+128|0}function Sx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0;n=j[a+36>>2]>>2;o=j[a+16>>2]>>2;l=j[a+28>>2];b=j[a+24>>2];a:{h=k[a+63|0];if((h|0)==128){if(!l){break a}h=b&3;m=(b+3|0)/4|0;c=j[a>>2];a=j[a+20>>2];b:while(1){b=m;c:{d:{switch(h-1|0){default:d=0;break c;case 0:d=3;break c;case 1:d=2;break c;case 2:break d}}d=1}while(1){e:{switch(d|0){case 0:d=j[a>>2];g=j[c>>2];j[a>>2]=((d&16711422)+(g&16711422)>>>1|0)+(d&g&65793)|-16777216;a=a+4|0;c=c+4|0;d=1;continue;case 1:d=j[a>>2];g=j[c>>2];j[a>>2]=((d&16711422)+(g&16711422)>>>1|0)+(d&g&65793)|-16777216;a=a+4|0;c=c+4|0;d=2;continue;case 2:d=j[a>>2];g=j[c>>2];j[a>>2]=((d&16711422)+(g&16711422)>>>1|0)+(d&g&65793)|-16777216;a=a+4|0;c=c+4|0;d=3;continue;default:break e}}d=l-1|0;g=j[a>>2];e=j[c>>2];j[a>>2]=((g&16711422)+(e&16711422)>>>1|0)+(e&g&65793)|-16777216;a=a+4|0;c=c+4|0;f:{if((b|0)>1){b=b-1|0;break f}a=(n<<2)+a|0;c=(o<<2)+c|0;l=d;if(d){continue b}break a}d=0;continue}}}if(!l){break a}g=b&3;m=(b+3|0)/4|0;c=j[a>>2];a=j[a+20>>2];g:while(1){d=m;h:{i:{switch(g-1|0){default:b=0;break h;case 0:b=3;break h;case 1:b=2;break h;case 2:break i}}b=1}while(1){j:{switch(b|0){case 0:b=j[c>>2];e=j[a>>2];f=e&65280;f=(p(h,(b&65280)-f|0)>>>8|0)+f&65280;i=b&16711935;b=e&16711935;j[a>>2]=f|(p(h,i-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=1;continue;case 1:b=j[c>>2];e=j[a>>2];f=e&65280;f=(p(h,(b&65280)-f|0)>>>8|0)+f&65280;i=b&16711935;b=e&16711935;j[a>>2]=f|(p(h,i-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=2;continue;case 2:b=j[c>>2];e=j[a>>2];f=e&65280;f=(p(h,(b&65280)-f|0)>>>8|0)+f&65280;i=b&16711935;b=e&16711935;j[a>>2]=f|(p(h,i-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=3;continue;default:break j}}b=l-1|0;e=j[a>>2];f=e&65280;i=j[c>>2];e=e&16711935;j[a>>2]=f+(p(h,(i&65280)-f|0)>>>8|0)&65280|(p(h,(i&16711935)-e|0)>>>8|0)+e&16711935|-16777216;a=a+4|0;c=c+4|0;k:{if((d|0)>1){d=d-1|0;break k}a=(n<<2)+a|0;c=(o<<2)+c|0;l=b;if(b){continue g}break a}b=0;continue}}}}function Js(a,b,c){var d=0,e=0,f=0,g=0,h=0,n=0,o=0,q=0,r=0,s=0;d=oe-1280|0;oe=d;a:{b:{c:{d:{e:{e=j[a+208>>2];if(e&1){if(e&6){Ie(a,c);Je(a,5774);break a}if(c>>>0<=8){Ie(a,c);Je(a,5933);break a}e=l[a+898>>1];if(e&32768){Ie(a,c);break a}g=5915;if(e&4){break c}n=a+824|0;f=c>>>0<81?c:81;pf(a,d+1184|0,f);tf(a,d+1184|0,f);c=c-f|0;j[d+1276>>2]=c;h=f-1>>>0<79?f:80;e=0;f:{while(1){if(!k[(d+1184|0)+e|0]){break f}e=e+1|0;if((h|0)!=(e|0)){continue}break}e=h}g=6012;if(e-1>>>0>78){break c}g=5989;q=e+1|0;if(f>>>0<=q>>>0|k[(d+1184|0)+q|0]){break c}g:{if(!wk(a,1766015824)){j[d+12>>2]=132;c=e+2|0;j[a+228>>2]=f-c;j[a+224>>2]=c+(d+1184|0);g=0;Lm(a,d+16|0,d+1276|0,d+1040|0,d+12|0,0);if(!j[d+12>>2]){c=1;e=a;h=n;o=d+1184|0;f=j[d+1040>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);r=f;if(f>>>0<=131){Hf(e,h,o,r,3047);e=0}else{e=1}if(!e){break d}if(!vA(a,n,d+1184|0,f,d+1040|0,k[a+435|0])){break d}h=k[d+1171|0];o=k[d+1170|0];r=k[d+1169|0];s=k[d+1168|0];g=j[a+788>>2];h:{if(g){if(f>>>0<=m[a+792>>2]){break h}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,g)}g=$f(a,f);if(!g){g=5965;break d}j[a+792>>2]=f;j[a+788>>2]=g}e=Ae(g,d+1040|0,132);h=p(h|(r<<16|s<<24|o<<8),12);j[d+12>>2]=h;g=0;o=e+132|0;Lm(a,d+16|0,d+1276|0,o,d+12|0,0);if(!j[d+12>>2]){if(!pA(a,n,d+1184|0,f,e)){break d}j[d+12>>2]=(f-h|0)-132;Lm(a,d+16|0,d+1276|0,h+o|0,d+12|0,1);h=j[d+1276>>2];if(!h){break g}g=5943;if(!(k[a+214|0]&16)){break d}g=5979;if(j[d+12>>2]){break d}yi(a,5943);break e}g=j[a+248>>2];break d}g=j[a+248>>2];c=1;break d}g=j[a+248>>2];break c}g=5979;if(!j[d+12>>2]){break e}break d}hf(a,5795);z()}Ie(a,h);kA(a,n,e,j[a+272>>2]);i:{if(b){c=0;Si(a,b,16,0);n=$f(a,q);j[b+116>>2]=n;if(!n){break i}Ae(n,d+1184|0,q);j[b+120>>2]=e;j[b+124>>2]=f;j[a+788>>2]=0;j[b+232>>2]=j[b+232>>2]|16;j[b+8>>2]=j[b+8>>2]|4096;oh(a,b)}j[a+220>>2]=0;break a}i[a+898>>1]=l[a+898>>1]|32768;oh(a,b);g=5965}j[a+220>>2]=0;if(!c){break b}c=j[d+1276>>2]}Ie(a,c)}i[a+898>>1]=l[a+898>>1]|32768;oh(a,b);if(!g){break a}Je(a,g)}oe=d+1280|0}function pM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,k=0,n=0,o=0,p=0,q=0,r=0;e=oe-1552|0;oe=e;f=6;g=j[a+4>>2];a:{if(m[g+16>>2]<=c>>>0){break a}k=j[g+136>>2];j[a+164>>2]=j[b+16>>2];j[a+168>>2]=j[b+20>>2];j[a+108>>2]=0;j[a+72>>2]=1869968492;d=d&1024?d|3:d;p=d&3;f=qe[j[j[k+12>>2]>>2]](e+48|0,g,b,a,0,0,!p,d>>>16&15,638)|0;if(f){break a}n=d&1024;h[e+117|0]=n>>>10;f=rr(e+48|0,c);if(f){break a}c=e+1432|0;f=j[c+4>>2];j[e+40>>2]=j[c>>2];j[e+44>>2]=f;c=j[e+1428>>2];j[e+32>>2]=j[e+1424>>2];j[e+36>>2]=c;f=j[e+1444>>2];o=j[e+1440>>2];qe[j[j[k+12>>2]+4>>2]](e+48|0);j[a+124>>2]=j[a+124>>2]&1|4;b:{if(n){c=j[a+156>>2];b=a;d=j[e+80>>2];g=d+32768&-65536;if((d|0)<0){g=0-(32768-d&-65536)|0}j[b+32>>2]=g>>16;b=j[e+88>>2];d=b+32768&-65536;if((b|0)<0){d=0-(32768-b&-65536)|0}j[a+40>>2]=d>>16;a=j[e+44>>2];j[c+20>>2]=j[e+40>>2];j[c+24>>2]=a;a=j[e+36>>2];j[c+12>>2]=j[e+32>>2];j[c+16>>2]=a;j[c+32>>2]=f;j[c+28>>2]=o;h[c+8|0]=1;break b}c=a;k=j[e+88>>2];n=k+32768&-65536;if((k|0)<0){n=0-(32768-k&-65536)|0}j[c+40>>2]=n>>16;k=j[e+88>>2];n=k+32768&-65536;if((k|0)<0){n=0-(32768-k&-65536)|0}j[c+56>>2]=n>>16;h[j[a+156>>2]+8|0]=0;c=j[g+200>>2];g=j[g+208>>2];j[a+72>>2]=1869968492;c=g-c>>16;j[a+60>>2]=c;j[a+52>>2]=c;if(l[b+14>>1]<=23){j[a+124>>2]=j[a+124>>2]|256}c=a+108|0;Ah(c,e+32|0);Tf(c,o,f);b=j[a+40>>2];j[e+12>>2]=0;j[e+8>>2]=b;Tg(e+8|0,e+32|0);j[a+40>>2]=o+j[e+8>>2];j[e+8>>2]=0;j[e+12>>2]=j[a+52>>2];Tg(e+8|0,e+32|0);j[a+52>>2]=f+j[e+12>>2];if(!(d&1)){g=j[a+168>>2];o=j[a+164>>2];b=j[e+64>>2];f=j[b+4>>2];c:{if(j[e+120>>2]?!p:0){break c}b=i[b+2>>1];if((b|0)<1){break c}b=b&65535;while(1){q=f,r=ye(j[f>>2],o),j[q>>2]=r;q=f,r=ye(j[f+4>>2],g),j[q+4>>2]=r;f=f+8|0;k=(b|0)>1;b=b-1|0;if(k){continue}break}}q=a,r=ye(j[a+40>>2],o),j[q+40>>2]=r;q=a,r=ye(j[a+52>>2],g),j[q+52>>2]=r}Ug(c,e+16|0);b=j[e+16>>2];j[a+24>>2]=j[e+24>>2]-b;c=j[e+20>>2];f=j[e+28>>2];j[a+36>>2]=f;j[a+32>>2]=b;j[a+28>>2]=f-c;if(!(d&16)){break b}Fi(a+24|0,j[a+52>>2])}f=0}oe=e+1552|0;return f|0}function nq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,k=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;e=oe-16|0;oe=e;g=j[b+28>>2];a:{b:{h=j[a+676>>2];if(!h|!j[a+648>>2]){break b}c=qe[j[a+508>>2]](a,1668702578,b,e+8|0)|0;j[e+12>>2]=c;if(c){break b}c=_e(b,j[e+8>>2]);j[e+12>>2]=c;if(c){break b}c=j[b>>2];d=j[b+32>>2];c:{if((Ff(b)|0)!=65536){j[e+12>>2]=0;break c}q=xe(g,4,0,j[h>>2],0,e+12|0);if(j[e+12>>2]){break c}r=xe(g,4,0,j[h>>2],0,e+12|0);if(j[e+12>>2]){break c}s=xe(g,4,0,j[h>>2],0,e+12|0);if(j[e+12>>2]){break c}f=af(b);o=af(b);v=f&4095;if(!v){break c}o=o+(d-c|0)|0;while(1){x=af(b);d:{e:{f:{g:{h:{d=af(b);if(d&32768){c=0;i:{if(!j[h>>2]){break i}while(1){A=(c<<2)+q|0,B=af(b)<<16>>16<<2,j[A>>2]=B;c=c+1|0;f=j[h>>2];if(c>>>0>>0){continue}break}if(!(d&16384)){break i}c=0;if(!f){break i}while(1){A=(c<<2)+r|0,B=af(b)<<16>>16<<2,j[A>>2]=B;c=c+1|0;f=j[h>>2];if(c>>>0>>0){continue}break}c=0;if(!f){break i}while(1){A=(c<<2)+s|0,B=af(b)<<16>>16<<2,j[A>>2]=B;c=c+1|0;if(c>>>0>2]){continue}break}}u=mq(h,d,q,r,s);if(!(d&8192)|!u){break d}c=j[b+32>>2];d=j[b>>2];j[b+32>>2]=d+o;f=Sl(b,e+4|0);y=c-d|0;d=b;n=j[e+4>>2];c=n;if(!c){c=j[a+644>>2]}d=Rl(d,c);if(!f|!d){break g}if((f|0)==-1){break h}if(!n){break f}k=j[a+648>>2];c=0;while(1){p=k;k=c<<1;t=l[k+f>>1]<<1;p=l[p+t>>1];z=ye(i[d+k>>1],u);k=j[a+648>>2];i[t+k>>1]=p+z;c=c+1|0;if((n|0)!=(c|0)){continue}break}break g}if(!(d&16384)){break d}c=0;if(!(j[h>>2]&2147483647)){break d}while(1){af(b);c=c+1|0;if(c>>>0>2]<<1>>>0){continue}break}break d}if(!j[a+644>>2]){break e}n=j[a+648>>2];c=0;while(1){k=c<<1;t=l[k+n>>1];p=ye(i[d+k>>1],u);n=j[a+648>>2];i[k+n>>1]=t+p;c=c+1|0;if(c>>>0>2]){continue}break}}if((f|0)==-1){break e}}if(f){qe[j[g+8>>2]](g,f)}}if(d){qe[j[g+8>>2]](g,d)}j[b+32>>2]=j[b>>2]+y}o=o+x|0;w=w+1|0;if((w|0)!=(v|0)){continue}break}}Ve(b);break a}j[e+12>>2]=0}if(q){qe[j[g+8>>2]](g,q)}if(r){qe[j[g+8>>2]](g,r)}if(s){qe[j[g+8>>2]](g,s)}oe=e+16|0;return j[e+12>>2]}function WI(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0;b=oe-224|0;oe=b;f=Te(40);j[f>>2]=0;c=j[a+504>>2];h=j[a+500>>2];j[b+216>>2]=h;a:{b:{if(!j[b+216>>2]){break b}m=c+h|0;if(m>>>0>2]+4>>>0){break b}j[b+216>>2]=j[b+216>>2]+2;if(k[j[b+216>>2]-1|0]|k[j[b+216>>2]-2|0]<<8){break b}j[b+216>>2]=j[b+216>>2]+2;j[b+220>>2]=k[j[b+216>>2]-1|0]|k[j[b+216>>2]-2|0]<<8;if(!j[b+220>>2]){break b}g=4;while(1){if(j[b+216>>2]+8>>>0>m>>>0){break b}j[b+216>>2]=j[b+216>>2]+2;c=k[j[b+216>>2]-2|0];d=k[j[b+216>>2]-1|0];j[b+216>>2]=j[b+216>>2]+2;i[b+208>>1]=d|c<<8;c=k[j[b+216>>2]-2|0];d=k[j[b+216>>2]-1|0];j[b+216>>2]=j[b+216>>2]+4;j[b+200>>2]=a;j[b+204>>2]=0;i[b+210>>1]=d|c<<8;c=k[j[b+216>>2]-1|0]|(k[j[b+216>>2]-3|0]<<16|k[j[b+216>>2]-4|0]<<24|k[j[b+216>>2]-2|0]<<8);if(!(!c|c>>>0>j[a+504>>2]-2>>>0)){j[b+196>>2]=c+h;j[b+192>>2]=k[j[b+196>>2]+1|0]|k[j[b+196>>2]]<<8;j[b+188>>2]=156464;c:{if(!j[j[b+188>>2]>>2]){break c}d:{while(1){e:{j[b+184>>2]=j[j[b+188>>2]>>2];if(j[j[b+184>>2]+40>>2]==j[b+192>>2]){j[b+4>>2]=0;j[67126]=0;j[b+164>>2]=j[b+196>>2];j[b+168>>2]=m;j[b+172>>2]=0;j[b+176>>2]=0;c=j[67126];j[67126]=0;d=-1;if(!c){break d}e=j[67127];if(!e){break d}d=ef(j[c>>2],f,g);if(d){break e}break a}j[b+188>>2]=j[b+188>>2]+4;if(j[j[b+188>>2]>>2]){continue}break c}break}D(e|0)}c=C()|0;if((d|0)!=1){j[b+180>>2]=l[a+264>>1];f=ki(b+8|0,1,f,g);g=C()|0;c=0}while(1){if(!c){c=j[j[b+184>>2]+44>>2];j[67126]=0;n=L(c|0,j[b+196>>2],b+8|0)|0;c=j[67126];j[67126]=0;d=-1;f:{if(!c){break f}e=j[67127];if(!e){break f}d=ef(j[c>>2],f,g);if(!d){break a}D(e|0)}c=C()|0;if((d|0)==1){continue}j[b+4>>2]=n}if(j[b+176>>2]){break c}j[67126]=0;n=V(796,j[b+184>>2],j[b+196>>2],b+200|0,b|0)|0;c=j[67126];j[67126]=0;d=-1;g:{if(!c){break g}e=j[67127];if(!e){break g}d=ef(j[c>>2],f,g);if(!d){break a}D(e|0)}c=C()|0;if((d|0)==1){continue}break}if(n){break c}j[j[b>>2]+20>>2]=j[b+4>>2]}}j[b+220>>2]=j[b+220>>2]-1;if(j[b+220>>2]){continue}break}}ze(f);oe=b+224|0;return}F(c|0,e|0);z()}function Er(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(a){e=j[a+278664>>2];d=e;c=j[a>>2];if(c){qe[j[d+8>>2]](d,c)}j[a>>2]=0;c=j[a+128>>2];if(c){b=j[c+12>>2];d=e;g=j[c+4>>2];if(g){while(1){h=j[b>>2];if(h){qe[j[e+8>>2]](e,h)}j[b>>2]=0;b=b+4|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}b=j[c+12>>2]}if(b){qe[j[d+8>>2]](d,b)}j[c+12>>2]=0;d=j[a+128>>2];if(d){qe[j[e+8>>2]](e,d)}j[a+128>>2]=0}d=j[a+84>>2];if(d){qe[j[e+8>>2]](e,d)}j[a+84>>2]=0;f=j[a+72>>2];if(f){b=0;while(1){d=b<<4;c=d+j[a+80>>2]|0;if(j[c+4>>2]==1){c=j[c+12>>2];if(c){qe[j[e+8>>2]](e,c)}j[(d+j[a+80>>2]|0)+12>>2]=0;f=j[a+72>>2]}b=b+1|0;if(f>>>0>b>>>0){continue}break}}d=j[a+80>>2];if(d){qe[j[e+8>>2]](e,d)}j[a+80>>2]=0;if(j[a+52>>2]){b=j[a+56>>2];f=0;while(1){d=e;c=j[b>>2];if(c){qe[j[d+8>>2]](d,c)}j[b>>2]=0;d=j[b+24>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+24>>2]=0;b=b+36|0;f=f+1|0;if(f>>>0>2]){continue}break}}if(j[a+64>>2]){b=j[a+68>>2];f=0;while(1){d=e;c=j[b>>2];if(c){qe[j[d+8>>2]](d,c)}j[b>>2]=0;d=j[b+24>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+24>>2]=0;b=b+36|0;f=f+1|0;if(f>>>0>2]){continue}break}}d=e;c=j[a+56>>2];if(c){qe[j[d+8>>2]](d,c)}f=0;j[a+56>>2]=0;c=j[a+68>>2];if(c){qe[j[d+8>>2]](d,c)}j[a+68>>2]=0;b=j[a+104>>2];if(j[a+112>>2]){while(1){c=e;g=j[b>>2];if(g){qe[j[c+8>>2]](c,g)}j[b>>2]=0;c=j[b+24>>2];if(c){qe[j[e+8>>2]](e,c)}j[b+24>>2]=0;b=b+36|0;f=f+1|0;if(f>>>0>2]){continue}break}b=j[a+104>>2]}if(b){qe[j[d+8>>2]](d,b)}f=0;j[a+104>>2]=0;b=j[a+278688>>2];c=j[a+278680>>2];if(c){while(1){g=j[b>>2];if(g){qe[j[e+8>>2]](e,g)}j[b>>2]=0;b=b+4|0;f=f+1|0;if((c|0)!=(f|0)){continue}break}b=j[a+278688>>2]}if(b){qe[j[d+8>>2]](d,b)}f=0;j[a+278688>>2]=0;b=j[a+278668>>2];if(j[a+278672>>2]){while(1){c=j[b>>2];if(c){qe[j[e+8>>2]](e,c)}j[b>>2]=0;if(j[b+4>>2]==1){c=j[b+12>>2];if(c){qe[j[e+8>>2]](e,c)}j[b+12>>2]=0}b=b+16|0;f=f+1|0;if(f>>>0>2]){continue}break}b=j[a+278668>>2]}if(b){qe[j[d+8>>2]](d,b)}j[a+278668>>2]=0}}function vA(a,b,c,d,e,f){var g=0,i=0;i=oe-208|0;oe=i;g=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);a:{b:{if((g|0)!=(d|0)){Hf(a,b,c,g,3057);break b}if(!(!(d&3)|k[e+8|0]<4)){Hf(a,b,c,d,3087);break b}g=k[e+128|0]|k[e+129|0]<<8|(k[e+130|0]<<16|k[e+131|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if(!(p(g,12)+132>>>0<=d>>>0?g>>>0<=357913930:0)){Hf(a,b,c,g,3102);break b}d=k[e+64|0]|k[e+65|0]<<8|(k[e+66|0]<<16|k[e+67|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0>=65535){Hf(a,b,c,d,3122);break b}if(d>>>0>=4){Hf(a,0,c,d,3147)}d=k[e+36|0]|k[e+37|0]<<8|(k[e+38|0]<<16|k[e+39|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=1633907568){Hf(a,b,c,d,3176);break b}if(Bg(e+68|0,3194,12)){Hf(a,0,c,0,3206)}c:{d:{d=k[e+16|0]|k[e+17|0]<<8|(k[e+18|0]<<16|k[e+19|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=1196573017){if((d|0)!=1380401696){break d}if(f&2){break c}Hf(a,b,c,1380401696,3232);break b}if(!(f&2)){break c}Hf(a,b,c,1196573017,3279);break b}Hf(a,b,c,d,3321);break b}e:{f:{g:{h:{d=k[e+12|0]|k[e+13|0]<<8|(k[e+14|0]<<16|k[e+15|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);i:{if((d|0)<=1852662635){if((d|0)==1633842036){break h}if((d|0)==1818848875){break g}if((d|0)!=1835955314){break i}break e}if((d|0)<=1935896177){if((d|0)==1852662636){break f}if((d|0)!=1886549106){break i}break e}if((d|0)==1935896178|(d|0)==1936744803){break e}}Hf(a,0,c,d,3471);break e}Hf(a,b,c,1633842036,3353);break b}Hf(a,b,c,1818848875,3391);break b}d=Yf(i,196,0,4346);f=Yf(i,196,Yf(i,d+79|0,d,c),4356);d=f+i|0;h[d|0]=39;h[d+1|0]=110;h[d+2|0]=109;h[d+3|0]=99;h[d+4|0]=108;h[d+5|0]=39;h[d+6|0]=58;h[d+7|0]=32;Yf(i,196,f+8|0,3431);Pf(a,i,1)}d=k[e+20|0]|k[e+21|0]<<8|(k[e+22|0]<<16|k[e+23|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);f=1;if((d|0)==1281450528|(d|0)==1482250784){break a}Hf(a,b,c,d,3502)}f=0}oe=i+208|0;return f}function WC(a){var b=0,c=0,d=0,e=0,f=0,g=0,k=0,m=0;a:{b:{c:{if(!j[65572]){ve(21506,0);if(!a){break c}break a}if(!a){ve(21530,0);return 0}d=qe[j[a+4>>2]](a,0,0,1)|0;b=pe;if((b|0)<-1?1:(b|0)<=-1){ve(21556,0);break a}e=Te(21692);if(!e){ve(21577,0);break a}b=Ee(e,0,21692);j[b+21648>>2]=1;j[b+21644>>2]=a;c=Te(40);if(!c){ve(21577,0);break b}j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+20>>2]=97;j[c+12>>2]=a;j[c+8>>2]=d;k=c,m=(qe[j[a>>2]](a)|0)-d|0,j[k+4>>2]=m;j[b+21668>>2]=c;j[b+21652>>2]=2;if(Gm(j[65573],b+21652|0,0,b)){ve(21591,0);break b}c=j[b>>2];f=j[c+36>>2];d:{if((f|0)<1){break d}g=j[c+40>>2];a=0;e:{f:{while(1){g:{h:{i:{d=j[(a<<2)+g>>2];switch(l[d+8>>1]){case 0:break f;case 2:break h;case 3:break i;default:break g}}if(l[d+10>>1]>=2){break g}break e}if(l[d+10>>1]==1){break e}}a=a+1|0;if((f|0)>(a|0)){continue}break}d=0}if(!d){break d}}Uh(c,d)}a=j[b>>2];j:{if(h[c+8|0]&1){if(oO(a)){ve(21615,0);break b}a=j[j[c+88>>2]+20>>2];k=b,m=(ye(i[c+70>>1],a)+63&-64)/64|0,j[k+8>>2]=m;d=(ye(i[c+72>>1],a)+63&-64)/64|0;j[b+12>>2]=d;j[b+4>>2]=(j[b+8>>2]-d|0)+1;k=b,m=(ye(i[c+74>>1],a)+63&-64)/64|0,j[k+16>>2]=m;k=b,m=(ye(i[c+80>>1],a)&-64)/64|0,j[k+44>>2]=m;a=(ye(i[c+82>>1],a)&-64)/64|0;j[b+48>>2]=a;d=b+48|0;break j}a=j[a+28>>2];a=(a|0)>10?10:a-1|0;j[b+21684>>2]=a;a=a<<4;d=a+j[c+32>>2]|0;if(nO(c,i[d+2>>1],i[d>>1])){ve(21615,0);break b}a=i[a+j[c+32>>2]>>1];j[b+12>>2]=0;j[b+8>>2]=a;j[b+4>>2]=a;j[b+16>>2]=(a+63&-64)/64;j[b+44>>2]=((l[c+80>>1]&65472)<<16>>16)/64<<16>>16;a=((l[c+82>>1]&65472)<<16>>16)/64<<16>>16;j[b+48>>2]=a;d=b+48|0}if((a|0)<=0){j[d>>2]=1}d=j[b>>2];a=j[d+12>>2]>>>1&1;j[b+20>>2]=a;if(h[d+12|0]&1){a=a|2;j[b+20>>2]=a}j[b+28>>2]=0;j[b+32>>2]=1;j[b+24>>2]=a;a=l[j[c+88>>2]+14>>1];n[b+40>>2]=q(j[b+4>>2])*q(.2070000022649765);j[b+36>>2]=(a>>>0)/10}return e}Oo(b);return 0}qe[j[a+16>>2]](a)|0;return 0}function oA(a,b,c,d){var e=0,f=q(0),g=q(0),h=q(0),i=0,k=0,l=q(0),m=q(0),o=0;e=oe-48|0;oe=e;a:{if(!(j[a>>2]==268305?a:0)){ve(31725,0);k=-1;break a}if(!(j[b>>2]==268306?b:0)){ve(31970,0);k=-1;break a}if(j[b+36>>2]!=(a|0)){k=ve(32070,0);break a}if(j[a+192>>2]){break a}j[e+32>>2]=0;j[e+36>>2]=0;j[e+40>>2]=j[b+12>>2];j[e+44>>2]=j[b+16>>2];if(c){if(!Fg(c,e+32|0,e+32|0)){break a}}Oe(e,0,16);b:{if(j[a>>2]!=268305){ve(31725,0);c=j[e+12>>2];i=j[e+8>>2];break b}c=e;g=n[a+288>>2];h=q(q(j[a+216>>2])/g);c:{if(q(r(h))>2]=i;c=e;h=n[a+292>>2];f=q(q(j[a+220>>2])/h);d:{if(q(r(f))>2]=i;c=e;g=q(q(j[a+224>>2])/g);e:{if(q(r(g))>2]=i;o=e;g=q(q(j[a+228>>2])/h);f:{if(q(r(g))>2]=c}g=q(c|0);h=q(i|0);if(d){f=n[d+8>>2];if((c|0)<1|f<=q(0)|(i|0)<1){break a}l=n[d+12>>2];if(l<=q(0)){break a}m=f;f=n[d>>2];m=q(m+f);if((h>2];f=q(l+h);if((g>2];j[e+24>>2]=j[d+8>>2];j[e+28>>2]=c;c=j[d+4>>2];j[e+16>>2]=j[d>>2];j[e+20>>2]=c;h=n[e+24>>2];l=n[e+16>>2];g=n[e+28>>2];f=n[e+20>>2]}else{f=q(0)}c=j[b+40>>2];m=n[a+288>>2];n[e+16>>2]=m*l;l=n[a+292>>2];n[e+24>>2]=m*h;n[e+28>>2]=l*g;n[e+20>>2]=l*f;b=c?c:b;j[b+72>>2]=j[a+352>>2];c=nA(a,b);if(!c){k=-1;break a}k=qe[j[a+40>>2]](a,c,b,e+32|0,e+16|0)|0;if((k|0)<=-1){j[c>>2]=0;break a}k=0;if(j[a+336>>2]){break a}c=j[a+340>>2];if(!c){break a}b=a+420|0;k=qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[c+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}oe=e+48|0;return k}function cm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,q=0,r=0;o=j[a+88>>2];j[c>>2]=0;a:{b:{if(k[a+780|0]){d=j[a+776>>2];e=j[a+760>>2];break b}j[a+760>>2]=0;j[a+764>>2]=0;j[a+768>>2]=0;j[a+772>>2]=0;j[a+776>>2]=0;j[a+780>>2]=0;i=8;d=l[a+152>>1];if(!d){break a}e=j[a+156>>2];d=e+(d<<4)|0;n=j[a+104>>2];while(1){c:{if(j[e>>2]==1111770656){f=j[e+12>>2];if(f){break c}}e=e+16|0;if(d>>>0>e>>>0){continue}break a}break}if(Fe(n,j[e+8>>2])|f>>>0<8){break a}g=a+760|0;if(_f(n,f,g)){break a}e=j[a+760>>2];j[a+764>>2]=f+e;d:{e:{if((k[e+1|0]|k[e|0]<<8)!=1){break e}d=k[e+4|0]|k[e+5|0]<<8|(k[e+6|0]<<16|k[e+7|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(i>>>0<8|f>>>0>>0){break e}d=k[e+3|0]|k[e+2|0]<<8;if(d>>>0>i-8>>>2>>>0){break e}j[a+772>>2]=f-i;q=e+i|0;j[a+768>>2]=q;j[a+776>>2]=d;f=e+8|0;m=f+(d<<2)|0;if(d){i=d;while(1){m=p(k[f+3|0]|k[f+2|0]<<8,10)+m|0;f=f+4|0;i=i-1|0;if(i){continue}break}}if(m>>>0<=q>>>0){break d}}jf(n,g);j[g+16>>2]=0;j[g+20>>2]=0;j[g+8>>2]=0;j[g+12>>2]=0;j[g>>2]=0;j[g+4>>2]=0;return 8}h[a+780|0]=1}i=6;if(!b|!o){break a}n=Le(b);if(!n|!d){break a}e=e+8|0;f=e+(d<<2)|0;g=l[o+14>>1];while(1){m=k[e+3|0]|k[e+2|0]<<8;if((g|0)==(k[e+1|0]|k[e|0]<<8)){if(!m){break a}while(1){f:{o=k[f+5|0];if(!(o&16)){break f}e=j[a+772>>2];d=k[f|0]|k[f+1|0]<<8|(k[f+2|0]<<16|k[f+3|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(e>>>0<=g>>>0){break f}q=e-g|0;if(q>>>0<=n>>>0){break f}d=k[f+6|0]|k[f+7|0]<<8|(k[f+8|0]<<16|k[f+9|0]<<24);r=g;g=j[a+768>>2];if(Qe(b,r+g|0,q)){break f}d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);g:{switch(o&15){case 0:case 1:if(d>>>0>=e>>>0){break f}d=d+g|0;if(!Mh(d,0,e)){break f}j[c+4>>2]=d;j[c>>2]=1;return 0;case 2:j[c+4>>2]=d;j[c>>2]=2;return 0;case 3:break g;default:break f}}j[c+4>>2]=d;j[c>>2]=3;return 0}f=f+10|0;m=m-1|0;if(m){continue}break}break a}e=e+4|0;f=p(m,10)+f|0;d=d-1|0;if(d){continue}break}}return i|0}function og(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;f=oe-48|0;oe=f;j[a+8>>2]=0;l=j[a+4>>2];if(l){j[j[a>>2]>>2]=77841;j[j[a>>2]+4>>2]=77841;j[j[a>>2]+8>>2]=77841;j[j[a>>2]+12>>2]=77841;j[j[a>>2]+16>>2]=77841}a:{if(!d){break a}i=k[c|0];if(!i){break a}m=6;if(!b){break a}e=k[b|0];if(!e){break a}j[f+24>>2]=0;j[f+28>>2]=0;j[f+16>>2]=0;j[f+20>>2]=0;j[f+8>>2]=0;j[f+12>>2]=0;j[f>>2]=0;j[f+4>>2]=0;while(1){b:{c:{d:{g=e&255;if((g|0)!=43){if(!g){break d}g=k[b+1|0];break c}g=k[b+1|0];if(g){break c}n=1;g=0;break b}e:{if((d|0)<1){d=0;b=0;break e}l=c+d|0;while(1){e=c;while(1){f:{if(k[((i&248)>>>3|0)+f|0]>>>(i&7)&1){g=e;break f}i=k[e+1|0];g=e+1|0;e=g;if(i){continue}}break}e=a;b=j[a+8>>2];g:{if((b|0)!=j[a+4>>2]){d=b;break g}j[f+44>>2]=0;d=-1;if((b|0)==-1){break g}if((b|0)==536870911){m=64;break a}i=b;d=(b+(b>>>1|0)|0)+5|0;b=b>>>0>d>>>0?536870911:d>>>0>536870911?536870911:d;o=a,p=xe(j[a+12>>2],4,i,b,j[a>>2],f+44|0),j[o>>2]=p;m=j[f+44>>2];if(m){break a}j[a+4>>2]=b;d=j[a+8>>2]}j[e+8>>2]=d+1;j[j[a>>2]+(d<<2)>>2]=c>>>0>>0?c:77841;e=k[g|0];h:{i:{if(n){d=0;b=g;if(!(e&255)){i=0;c=g;break h}while(1){j:{if(!(k[((e&248)>>>3|0)+f|0]>>>(e&7)&1)){i=e;c=b;break j}i=0;h[b|0]=0;e=k[b+1|0];c=b+1|0;b=c;if(e){continue}}break}if(c>>>0<=g>>>0){break h}break i}if(!(e&255)){i=0;c=g;d=0;break h}h[g|0]=0;c=g+1|0;i=k[g+1|0]}d=!(i&255)}if(i&255?c>>>0>>0:0){continue}break}l=j[a+4>>2];b=j[a+8>>2]}b=b+d|0;k:{if(b>>>0>>0){break k}j[f+44>>2]=0;if(b+1>>>0<=l>>>0){break k}m=64;if((l|0)==536870911){break a}b=((l>>>1|0)+l|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;o=a,p=xe(j[a+12>>2],4,l,b,j[a>>2],f+44|0),j[o>>2]=p;m=j[f+44>>2];if(m){break a}j[a+4>>2]=b}l:{if(!d){i=j[a+8>>2];break l}b=j[a+8>>2];i=b+1|0;j[a+8>>2]=i;j[j[a>>2]+(b<<2)>>2]=77841}m=0;j[j[a>>2]+(i<<2)>>2]=0;break a}m=((e&248)>>>3|0)+f|0;h[m|0]=k[m|0]|1<<(e&7)}b=b+1|0;e=g;continue}}oe=f+48|0;return m}function ps(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-10096|0;oe=c;e=j[b+100>>2];Ee(c+3216|4,0,2996);j[c+3216>>2]=e;j[a+1624>>2]=0;j[a+52>>2]=0;d=j[(j[j[a>>2]+8>>2]<<2)+73072>>2];g=j[d+8>>2];e=0;f=j[j[a+36>>2]>>2];a:{if(!f){break a}f=j[f+92>>2];if(!f){break a}e=qe[j[j[f+12>>2]+12>>2]](f,g)|0}b:{c:{if(e){break c}g=j[d+12>>2];if(!g){break b}e=0;f=j[j[a+36>>2]>>2];d:{if(!f){break d}f=j[f+92>>2];if(!f){break d}e=qe[j[j[f+12>>2]+12>>2]](f,g)|0}if(e){break c}f=j[d+16>>2];if(!f){break b}e=0;d=j[j[a+36>>2]>>2];e:{if(!d){break e}d=j[d+92>>2];if(!d){break e}e=qe[j[j[d+12>>2]+12>>2]](d,f)|0}if(!e){break b}}if(Wh(b,e,1)){break b}e=j[b+84>>2];if(i[e+110>>1]<1){break b}Ee(c+16|0,0,3188);d=j[a+40>>2];j[c+32>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;j[c+44>>2]=0;j[c+24>>2]=65536;j[c+28>>2]=65536;j[c+56>>2]=d;j[c+20>>2]=b;j[c+6196>>2]=0;j[c+6204>>2]=c+16;if(mj(c+3216|0,e+108|0)){break b}j[c+12>>2]=0;if(Gi(c+3216|0,0)){break b}e=0;lj(c+3216|0,0,0,0);d=j[c+3260>>2];if((d|0)>=1){b=j[c+3268>>2];f=b+p(d,48)|0;while(1){d=j[b+20>>2];if(!(!d|b>>>0>=d>>>0|(j[d+20>>2]!=(b|0)|e>>>0>15))){g=i[b+2>>1]-i[d+2>>1]|0;d=g>>31;j[(p(e,12)+a|0)+56>>2]=d^d+g;e=e+1|0}b=b+48|0;if(f>>>0>b>>>0){continue}break}j[c+12>>2]=e}uk(c+12|0,a+56|0,m[c+56>>2]/100|0);j[a+52>>2]=j[c+12>>2];e=0;j[c+12>>2]=0;if(Gi(c+3216|0,1)){break b}lj(c+3216|0,0,0,1);d=j[c+4728>>2];if((d|0)>=1){b=j[c+4736>>2];f=b+p(d,48)|0;while(1){d=j[b+20>>2];if(!(!d|b>>>0>=d>>>0|(j[d+20>>2]!=(b|0)|e>>>0>15))){g=i[b+2>>1]-i[d+2>>1]|0;d=g>>31;j[(p(e,12)+a|0)+1628>>2]=d^d+g;e=e+1|0}b=b+48|0;if(f>>>0>b>>>0){continue}break}j[c+12>>2]=e}uk(c+12|0,a+1628|0,m[c+56>>2]/100|0);j[a+1624>>2]=j[c+12>>2]}if(j[a+52>>2]){b=j[a+56>>2]}else{b=(p(j[a+40>>2],50)|0)/2048|0}h[a+256|0]=0;j[a+252>>2]=b;j[a+248>>2]=(b|0)/5;if(j[a+1624>>2]){b=j[a+1628>>2]}else{b=(p(j[a+40>>2],50)|0)/2048|0}h[a+1828|0]=0;j[a+1824>>2]=b;j[a+1820>>2]=(b|0)/5;Jm(c+3216|0);oe=c+10096|0}function xA(a){var b=0,c=0,d=0,e=q(0),f=0,g=0,h=q(0),i=q(0),l=q(0);b=oe-32|0;oe=b;j[b+28>>2]=1;j[b+24>>2]=1;a:{if(!j[a+196>>2]|!j[a+200>>2]){break a}if((al(a,b+28|0,b+24|0)|0)<0){break a}d=eg(32250);b:{if(!d){break b}if(k[d|0]!=49){if(Me(d,32279)){break b}}c=1}e=q(j[b+24>>2]);h=q(j[b+28>>2]);i=q(j[a+200>>2]);l=q(j[a+196>>2]);c:{if(j[a>>2]!=268305){ve(31725,0);break c}j[a+288>>2]=1065353216;j[a+292>>2]=1065353216}e=q(h/e);h=q(l/i);d:{if(j[a+212>>2]){g=b;e:{if(!(e>2];d=j[b+28>>2]/(c|0)|0;break e}c=j[a+196>>2];d=j[b+24>>2]/j[a+200>>2]|0}e=q(d|0);f=w(+q(e*q(c|0)));f:{if(r(f)<2147483648){c=~~f;break f}c=-2147483648}j[g+16>>2]=c;j[b+8>>2]=(j[b+28>>2]-c|0)/2;g=b;f=w(+q(e*q(j[a+200>>2])));g:{if(r(f)<2147483648){c=~~f;break g}c=-2147483648}j[g+20>>2]=c;j[b+12>>2]=(j[b+24>>2]-c|0)/2;mh(a,b+8|0);break d}if(!(r(+q(h-e))<1e-4^1)){d=j[a+196>>2];c=j[b+28>>2];mh(a,0);e=q(q(c|0)/q(d|0));break d}if(!(e>2];d=j[b+24>>2];j[b+20>>2]=d;j[b+12>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+196>>2])));h:{if(r(f)<2147483648){c=~~f;break h}c=-2147483648}j[g+16>>2]=c;j[b+8>>2]=(j[b+28>>2]-c|0)/2;mh(a,b+8|0);break d}c=j[a+196>>2];d=j[b+28>>2];j[b+16>>2]=d;j[b+8>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+200>>2])));i:{if(r(f)<2147483648){c=~~f;break i}c=-2147483648}j[g+20>>2]=c;j[b+12>>2]=(j[b+24>>2]-c|0)/2;mh(a,b+8|0);break d}if(c){c=j[a+196>>2];d=j[b+28>>2];j[b+16>>2]=d;j[b+8>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+200>>2])));j:{if(r(f)<2147483648){c=~~f;break j}c=-2147483648}j[g+20>>2]=c;j[b+12>>2]=(j[b+24>>2]-c|0)/2;mh(a,b+8|0);break d}c=j[a+200>>2];d=j[b+24>>2];j[b+20>>2]=d;j[b+12>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+196>>2])));k:{if(r(f)<2147483648){c=~~f;break k}c=-2147483648}j[g+16>>2]=c;j[b+8>>2]=(j[b+28>>2]-c|0)/2;mh(a,b+8|0)}if(j[a>>2]!=268305){ve(31725,0);break a}n[a+288>>2]=e;n[a+292>>2]=e}oe=b+32|0}function nl(a,b,c,d,e,f){var g=0,l=0,m=0,n=0,s=0;a:{g=Xe(1,264);b:{if(g){j[g+236>>2]=4096;j[g+216>>2]=f;h[g+214|0]=e;i[g+212>>1]=d;j[g+204>>2]=c;h[g+202|0]=b;i[g+200>>1]=a;j[g+172>>2]=1;m=b>>>0>>0?b:e;h[g+232|0]=m;o[g+224>>3]=+(f|0)/+(c|0);j[g+208>>2]=p(d>>>3&31,e);j[g+196>>2]=p(a>>>3&31,b);s=g;l=0;c:{if((c|0)==(f|0)){break c}l=512;if((c|0)<=(f|0)){break c}n=w(+q(q(c<<9)/q(f|0)));if(r(n)<2147483648){l=~~n;break c}l=-2147483648}l=p(l,m);j[s+240>>2]=l;l=Xe(l?l:1,4);j[g+244>>2]=l;if(!l){break a}l=p(j[g+196>>2],j[g+240>>2]/k[g+232|0]|0);j[g+180>>2]=l;d:{if((l|0)<1){break d}l=qe[j[57972]](l?l:1)|0;if(l){j[57976]=j[57976]+1}j[g+176>>2]=l;if(l){break d}break a}e:{f:{if((c|0)==(f|0)){j[g>>2]=0;if((ol(g+84|0,a,b,f,d,e,f)|0)>-1){break f}a=j[g+260>>2];if(a){qe[a|0](g)}rh(j[g+168>>2]);break e}if((ol(g,a,b,c,33056,m,c)|0)<=-1){a=j[g+260>>2];if(a){qe[a|0](g)}rh(j[g+168>>2]);break e}if(!j[g+252>>2]){a=Xe(j[g+240>>2],4);j[g+248>>2]=a;if(!a){break a}if((zo()|0)<=-1){a=j[g+248>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[g+248>>2]=0;a=j[g+260>>2];if(a){qe[a|0](g)}rh(j[g+168>>2]);break e}j[g+260>>2]=132;j[g+256>>2]=133;j[g+252>>2]=134}if((ol(g+84|0,33056,m,f,d,e,f)|0)>-1){break f}a=j[g+260>>2];if(a){qe[a|0](g)}rh(j[g+168>>2]);break e}a=Go(4096,8192);j[g+168>>2]=a;if(a){break b}a=j[g+260>>2];if(a){qe[a|0](g);a=j[g+168>>2]}else{a=0}rh(a)}a=j[g+176>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+188>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+244>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(g){qe[j[57975]](g);j[57976]=j[57976]-1}}g=0}return g}a=j[g+260>>2];if(a){qe[a|0](g)}rh(j[g+168>>2]);a=j[g+176>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+188>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+244>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(g){qe[j[57975]](g);j[57976]=j[57976]-1}Be(0);return 0}function dn(){var a=0,b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;if(j[67085]){sj()}Qm();a=-1;a:{if((Wi(16384)|0)<0){break a}Ge(266004,27616,2048);if((CB()|0)<0){break a}b:{b=Mf(56263);c:{if(b){d:{if(Tk(j[58754],b,Le(b))){break d}if(!(qe[j[58756]]()|0)){break d}a=qe[j[58757]](0)|0;if(a){break c}}j[d>>2]=b;a=ve(56279,d);break a}if(!(qe[j[58756]]()|0)){break b}a=qe[j[58757]](0)|0;if(!a){break b}}j[67085]=a;b=j[58754];j[a+692>>2]=0;j[a+320>>2]=1;j[a>>2]=b;j[a+336>>2]=2;j[a+340>>2]=0;j[a+328>>2]=3;j[a+332>>2]=3;j[a+360>>2]=0;j[a+364>>2]=0;j[a+352>>2]=0;j[a+356>>2]=1;j[a+344>>2]=16;j[a+348>>2]=0;j[a+368>>2]=0;j[a+372>>2]=0;j[a+376>>2]=0;j[a+380>>2]=0;j[a+428>>2]=1;j[a+432>>2]=0;j[a+384>>2]=0;j[a+388>>2]=-1;b=j[a+208>>2];e:{if(b){qe[b|0](a,a+404|0,a+392|0,a+396|0);a=j[67085];break e}j[a+404>>2]=4;j[a+392>>2]=2;j[a+396>>2]=0}j[a+424>>2]=0;j[a+400>>2]=0;j[a+416>>2]=0;j[a+420>>2]=0;j[a+408>>2]=0;j[a+412>>2]=1;a=j[67079];j[67079]=a+1;j[j[67085]+704>>2]=a+1;a=j[67079];j[67079]=a+1;b=j[67085];j[b+708>>2]=a+1;a=-1;if((qe[j[b+4>>2]](b)|0)<=-1){sj();break a}a=j[67085];if(!j[a+300>>2]){sj();a=ve(56322,0);break a}f:{if(j[a+136>>2]){if(j[a+292>>2]){break f}a=eg(57576);if(a){if(!Me(a,57594)){break f}}a=eg(57603);if(!a|k[a|0]==48){break f}if(!Me(a,57632)){break f}a=j[67085]}j[a+144>>2]=432;j[a+140>>2]=433;j[a+136>>2]=434}g:{h:{if(xg(56364,0)){break h}a=j[67085];if(!a){break g}if(j[a+296>>2]){break h}j[a+296>>2]=1;b=j[a+236>>2];if(!b){break h}qe[b|0](a)}b=j[67085];if(!b){break g}c=j[b+252>>2];if(!c){break g}a=0;if(qe[c|0](b)|0){break a}}We(771,1);We(770,1);a=0;b=j[67085];if(!b){break a}c=j[b+308>>2];i:{if(!c){break i}j:{while(1){if(!(k[c+49|0]&2)){c=j[c+152>>2];if(c){continue}break j}break}e=j[b+256>>2];if(!e){break i}qe[e|0](b,c);b=j[67085]}if(!b){break a}}c=j[b+240>>2];if(!c){break a}qe[c|0](b);break a}a=ve(56296,0)}oe=d+16|0;return a}function lG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0;i=oe-16|0;oe=i;f=j[a+488>>2];e=j[b+8>>2];qe[j[b+28>>2]](b);d=j[b>>2];a:{if(e>>>0<=d>>>0){j[b+12>>2]=3;break a}l=k[d|0];if(!(l-48>>>0>9?(l|0)!=91:0)){g=j[b+16>>2];b:{if((l|0)==91){j[b>>2]=d+1;c=256;break b}c=qe[j[b+36>>2]](b)|0}qe[j[b+28>>2]](b);if(m[b>>2]>=e>>>0){break a}n=c;j[a+372>>2]=c;j[b+88>>2]=c;r=a,s=xe(g,2,0,c,0,i+12|0),j[r+384>>2]=s;c:{c=j[i+12>>2];if(c){break c}r=a,s=xe(g,4,0,n,0,i+12|0),j[r+388>>2]=s;c=j[i+12>>2];if(c){break c}o=b+92|0;c=qe[j[j[f>>2]>>2]](o,n,g)|0;j[i+12>>2]=c;if(c){break c}if((n|0)>=1){c=0;while(1){qe[j[b+136>>2]](o,c,162607,8)|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}qe[j[b+28>>2]](b);c=j[b>>2];d:{if(e>>>0<=c>>>0){break d}p=(l|0)==91;g=0;while(1){e:{f:{g:{f=k[c|0];switch(f-93|0){case 0:break f;case 7:break g;default:break e}}d=c+3|0;if(k[c+1|0]!=101|e>>>0<=d>>>0|k[c+2|0]!=102){break e}switch(k[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break d;default:break e}}d=c+1|0;break d}h:{if(!(f-48>>>0>9?!p:0)){f=g;if(!p){f=qe[j[b+36>>2]](b)|0;qe[j[b+28>>2]](b);c=j[b>>2]}d=c;if(!((g|0)>=(n|0)|c+2>>>0>=e>>>0|k[c|0]!=47)){d=d+1|0;j[b>>2]=d;qe[j[b+32>>2]](b);c=j[b>>2];if(j[b+12>>2]|c>>>0>=e>>>0){break a}q=c-d|0;c=qe[j[b+136>>2]](o,f,d,q+1|0)|0;j[b+12>>2]=c;if(c){break a}h[q+j[j[b+116>>2]+(f<<2)>>2]|0]=0;g=g+1|0;break h}if((l|0)!=91){break h}j[b+12>>2]=2;break a}qe[j[b+32>>2]](b);d=c;if(j[b+12>>2]){break a}}qe[j[b+28>>2]](b);c=j[b>>2];if(e>>>0>c>>>0){continue}break}}j[a+368>>2]=1;j[b>>2]=d;break a}j[b+12>>2]=c;break a}i:{if(d+17>>>0>=e>>>0){break i}if(Qe(d,163574,16)){break i}j[a+368>>2]=2;break a}j:{if(d+15>>>0>=e>>>0){break j}if(Qe(d,163591,14)){break j}j[a+368>>2]=4;break a}k:{if(d+18>>>0>=e>>>0){break k}if(Qe(d,163606,17)){break k}j[a+368>>2]=3;break a}j[b+12>>2]=162}oe=i+16|0}function fm(a,b,c,d,e){var f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j[a+180>>2]=d;q=a+180|0;j[a+52>>2]=q;g=j[a+72>>2];j[a+196>>2]=j[a+68>>2];j[a+200>>2]=g;j[a+192>>2]=c;j[a+188>>2]=b;j[a+184>>2]=e;e=q;while(1){n=j[e+4>>2];f=j[e+20>>2];b=(n|0)<(f|0);a:{o=j[e+12>>2];if(!((o|0)<=((b?f:n)|0)?(o|0)>=((b?n:f)|0):0)){b=j[e+16>>2];j[e+32>>2]=b;j[e+36>>2]=f;c=(f+o|0)/2|0;j[e+28>>2]=c;g=(n+o|0)/2|0;j[e+12>>2]=g;f=j[e+8>>2];o=(f+d|0)/2|0;j[e+8>>2]=o;b=(b+f|0)/2|0;j[e+24>>2]=b;j[e+20>>2]=(c+g|0)/2;j[e+16>>2]=(b+o|0)/2;j[a+52>>2]=e+16;break a}if((f|0)==(n|0)){j[a+52>>2]=e-16;break a}s=(f|0)<(n|0)?1:2;c=j[a+100>>2];if((s|0)!=(c|0)){b=j[a+4>>2];t=(f|0)>=(n|0);g=((b+f|0)-1&0-b)-f|0;b:{if(!t){break b}g=f&b-1}r=j[a+8>>2];if(c){b=j[a+40>>2];p=j[a+88>>2];c=b-j[p+8>>2]|0;if((c|0)<=-1){j[a+44>>2]=99;return 1}c:{if(!c){c=b;break c}j[p+16>>2]=c>>2;if((g|0)>=(r|0)){c=l[p+12>>1];i[p+12>>1]=(c&8?16:32)|c}j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c;j[b+8>>2]=c;j[b+16>>2]=0;j[p+28>>2]=b;i[a+84>>1]=l[a+84>>1]+1}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}h[a+87|0]=0}d:{if(j[a+92>>2]){c=j[a+40>>2];break d}b=j[a+40>>2];j[a+92>>2]=b;j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}b=j[a+88>>2];j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=c;j[b+28>>2]=0;j[b+4>>2]=0;c=k[a+176|0];i[b+12>>1]=c;e:{if(!t){i[b+12>>1]=c|8;if((g|0)<(r|0)){break e}i[b+12>>1]=c|40;break e}if((g|0)<(r|0)){break e}i[b+12>>1]=c|16}if(!j[a+96>>2]){j[a+96>>2]=b}i[a+86>>1]=1;j[a+100>>2]=s}b=j[a+80>>2];c=j[a+76>>2];if((f|0)<(n|0)){if(!kk(a,2,779,c,b)){break a}return 1}j[e+20>>2]=0-f;j[e+12>>2]=0-o;j[e+4>>2]=0-n;g=k[a+86|0];b=kk(a,2,779,0-b|0,0-c|0);if(!(k[a+86|0]|!g)){c=j[a+88>>2];j[c+20>>2]=0-j[c+20>>2]}j[e+4>>2]=0-j[e+4>>2];if(!b){break a}return 1}e=j[a+52>>2];if(q>>>0<=e>>>0){d=j[e>>2];continue}break}j[a+72>>2]=n;j[a+68>>2]=d;return 0}function Yp(a,b,c,d,e,f,g){var h=0,i=0,j=q(0),k=0,l=q(0),m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=q(0),y=0,z=q(0),A=q(0),B=q(0),C=0,D=0,E=q(0),F=q(0),G=q(0),H=q(0),I=q(0),J=q(0),K=q(0),L=q(0),M=q(0),N=q(0),O=q(0),P=q(0),Q=q(0),R=q(0);v=p(a,b);D=v<<1;if((b|0)>=1){y=a<<1;k=p(v,3);m=v;h=D;while(1){t=(m<<2)+c|0;w=(k<<2)+c|0;l=q(n[t>>2]+n[w>>2]);o=i<<2;r=o+c|0;u=(h<<2)+c|0;j=q(n[r>>2]+n[u>>2]);n[(i<<4)+d>>2]=l+j;i=a+i|0;n[((i<<4)+d|0)-4>>2]=j-l;o=(o+y<<2)+d|0;n[o-4>>2]=n[r>>2]-n[u>>2];n[o>>2]=n[w>>2]-n[t>>2];h=a+h|0;k=a+k|0;m=a+m|0;s=s+1|0;if((s|0)!=(b|0)){continue}break}}a:{if((a|0)<2){break a}if((a|0)!=2){if((b|0)>=1){C=a<<1;s=0;u=0;while(1){i=u<<2;k=C+i|0;m=2;h=u;while(1){o=h+2|0;E=n[(o<<2)+c>>2];t=m<<2;y=t-8|0;F=n[y+e>>2];w=o+v|0;r=(w<<2)+c|0;G=n[r-4>>2];t=t-4|0;H=n[t+e>>2];I=n[r>>2];J=q(q(F*G)+q(H*I));K=n[g+y>>2];w=v+w|0;r=(w+v<<2)+c|0;L=n[r-4>>2];M=n[g+t>>2];N=n[r>>2];O=q(q(K*L)+q(M*N));P=q(J+O);z=n[f+y>>2];r=(w<<2)+c|0;A=n[r-4>>2];l=n[f+t>>2];j=n[r>>2];B=q(q(z*A)+q(l*j));x=n[((h<<2)+c|0)+4>>2];Q=q(B+x);n[(i<<2|4)+d>>2]=P+Q;i=i+2|0;R=q(q(z*j)-q(A*l));z=q(E+R);l=q(q(F*I)-q(G*H));j=q(q(K*N)-q(L*M));A=q(l+j);n[(i<<2)+d>>2]=z+A;B=q(x-B);x=q(l-j);n[((k<<2)+d|0)-12>>2]=B-x;k=k-2|0;l=q(O-J);j=q(E-R);n[(k<<2)+d>>2]=l-j;h=(i+C<<2)+d|0;n[h>>2]=j+l;n[h-4>>2]=x+B;h=(k+C<<2)+d|0;n[h>>2]=A-z;n[h-4>>2]=Q-P;h=o;m=m+2|0;if((m|0)<(a|0)){continue}break}u=a+u|0;s=s+1|0;if((s|0)!=(b|0)){continue}break}}if(a&1){break a}}if((b|0)<1){break a}u=a<<1;o=a<<2;i=(a+v|0)-1|0;m=D+i|0;s=0;k=a;h=a;while(1){g=(k<<2)+d|0;e=((h<<2)+c|0)-4|0;x=n[(i<<2)+c>>2];l=n[(m<<2)+c>>2];j=q(q(x-l)*q(.7071067690849304));n[g-4>>2]=n[e>>2]+j;f=(k+u<<2)+d|0;n[f-4>>2]=n[e>>2]-j;j=q(q(x+l)*q(-.7071067690849304));e=(i+v<<2)+c|0;n[g>>2]=j-n[e>>2];n[f>>2]=j+n[e>>2];h=a+h|0;k=k+o|0;m=a+m|0;i=a+i|0;s=s+1|0;if((s|0)!=(b|0)){continue}break}}}function Fl(a,b,c,d,e,f){var g=0,h=0,i=0,l=0,m=0;l=oe-48|0;oe=l;a:{b:{if(f){break b}h=-128;f=Of(a,l+32|0,65536,0);i=pe;g=i;if((f|0)==-128&(g|0)==-1){break a}f=l+32|0;if((g|0)>0?1:(g|0)>=0){break b}h=-132;break a}oF(b);j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[a+88>>2]=2;c:{d:{if(!(k[j[f>>2]+5|0]&2)){break d}i=a+120|0;while(1){if(d){h=j[f>>2];m=k[h+14|0]|k[h+15|0]<<8|(k[h+16|0]<<16|k[h+17|0]<<24);e:{h=j[d>>2];g=j[e>>2];if(!h|!g){break e}while(1){if((m|0)!=j[h>>2]){h=h+4|0;g=g-1|0;if(g){continue}break e}break}f=j[d>>2];if(f){ze(f)}j[d>>2]=0;j[e>>2]=0;d=-133;break c}g=j[f>>2];m=k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24);h=j[e>>2]+1|0;j[e>>2]=h;g=j[d>>2];f:{if(g){g=Vf(g,h<<2);j[d>>2]=g;h=j[e>>2];break f}g=Te(4);j[d>>2]=g}j[((h<<2)+g|0)-4>>2]=m}g:{if(j[a+88>>2]>2){break g}g=j[f>>2];sh(i,k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24));Ng(i,f);if((mg(i,l)|0)<1){break g}if(!nF(l)){break g}j[a+88>>2]=3;if(!Pp(b,c,l)){break g}d=-133;break c}g=Of(a,f,65536,0);h=pe;m=h;if((g|0)==-128&(h|0)==-1){d=-128;break c}if((m|0)<0){d=-132;break c}h:{if(j[a+88>>2]!=3){break h}g=j[f>>2];if(j[a+456>>2]!=(k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24))){break h}Ng(i,f);break d}if(k[j[f>>2]+5|0]&2){continue}break}}d=-132;if(j[a+88>>2]!=3){break c}m=a+120|0;e=0;g=0;while(1){d=-133;i:{switch(mg(m,l)+1|0){default:d=Pp(b,c,l);if(d){break c}h=0;e=e+1|0;if((e|0)!=2){continue}break a;case 1:break i;case 0:break c}}h=0;if((e|0)>1){break a}Of(a,f,65536,0);if((pe|0)<0){break c}while(1){i=j[f>>2];if(j[a+456>>2]!=(k[i+14|0]|k[i+15|0]<<8|(k[i+16|0]<<16|k[i+17|0]<<24))){j:{if(!(k[j[f>>2]+5|0]&2)){i=g;break j}i=1;if(g){break c}}g=i;Of(a,f,65536,0);i=pe;if((i|0)>0?1:(i|0)>=0){continue}break c}break}Ng(m,f);if((e|0)<2){continue}break}break a}aj(b);bj(c);j[a+88>>2]=2;h=d}oe=l+48|0;return h}function Kx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;i=j[a+36>>2];b=j[a+20>>2];l=j[a+16>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{f=j[a+44>>2];if(j[f+24>>2]){if(!g){break a}d=k[a+63|0]>>>k[f+31|0]<>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=1;continue;case 1:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=2;continue;case 2:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=3;continue;case 3:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=4;continue;case 4:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=5;continue;case 5:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=6;continue;case 6:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=7;continue;default:break e}}a=g-1|0;j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+i|0;c=c+l|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}a=j[a+40>>2];d=j[a+16>>2]|j[a+12>>2]|j[a+20>>2];h=e&7;f=(e+7|0)/8|0;g:while(1){e=f;h:{i:{switch(h-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=1;continue;case 1:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=2;continue;case 2:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=3;continue;case 3:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=4;continue;case 4:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=5;continue;case 5:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=6;continue;case 6:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=7;continue;default:break j}}a=g-1|0;j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+i|0;c=c+l|0;g=a;if(a){continue g}break a}a=0;continue}}}}function UF(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0;d=bf(1,40);j[d+36>>2]=1;a:{b:{if((Ce(a,24)|0)!=5653314){break b}g=d,i=Ce(a,16),j[g>>2]=i;b=Ce(a,24);j[d+4>>2]=b;if((b|0)==-1){break b}b=j[d>>2];c=b?32-s(b)|0:0;b=j[d+4>>2];if((c+(b?32-s(b)|0:0)|0)>24){break b}c:{d:{e:{switch(Ce(a,1)|0){case 0:b=Ce(a,1);if(p(b?1:5,j[d+4>>2])+7>>3>(j[a+16>>2]-(j[a>>2]+((j[a+4>>2]+7|0)/8|0)|0)|0)){break b}c=j[d+4>>2];g=d,i=Te(c),j[g+8>>2]=i;if(!b){break d}b=0;if((c|0)<=0){break c}while(1){c=0;f:{if(!Ce(a,1)){break f}c=Ce(a,5);if((c|0)==-1){break b}c=c+1|0}h[j[d+8>>2]+b|0]=c;b=b+1|0;if((b|0)>2]){continue}break}break c;case 1:break e;default:break b}}b=Ce(a,5);f=b+1|0;if(f>>>0>>0){break b}e=j[d+4>>2];g=d,i=Te(e),j[g+8>>2]=i;if((e|0)<1){break c}b=0;while(1){c=e-b|0;c=Ce(a,c?32-s(c)|0:0);if((c|0)==-1|(f|0)>32){break b}e=j[d+4>>2];if((c|0)>(e-b|0)){break b}if((c|0)>=1){if(c-1>>f-1>1){break b}c=b+c|0;while(1){h[j[d+8>>2]+b|0]=f;b=b+1|0;if((c|0)!=(b|0)){continue}break}e=j[d+4>>2];b=c}f=f+1|0;if((b|0)<(e|0)){continue}break}break c}b=0;if((c|0)<=0){break c}while(1){c=Ce(a,5);if((c|0)==-1){break b}h[j[d+8>>2]+b|0]=c+1;b=b+1|0;if((b|0)>2]){continue}break}}b=Ce(a,4);j[d+12>>2]=b;g:{switch(b|0){case 0:break a;case 1:case 2:break g;default:break b}}g=d,i=Ce(a,32),j[g+16>>2]=i;g=d,i=Ce(a,32),j[g+20>>2]=i;g=d,i=Ce(a,4)+1|0,j[g+24>>2]=i;b=Ce(a,1);j[d+28>>2]=b;if((b|0)==-1){break b}c=0;h:{i:{switch(j[d+12>>2]-1|0){case 0:if(!j[d>>2]){break h}c=bF(d);break h;case 1:break i;default:break h}}c=p(j[d>>2],j[d+4>>2])}if((j[a+16>>2]-(j[a>>2]+((j[a+4>>2]+7|0)/8|0)|0)|0)>2],c)+7>>3){break b}e=Te(c<<2);j[d+32>>2]=e;if((c|0)>=1){b=0;while(1){f=Ce(a,j[d+24>>2]);e=j[d+32>>2];j[e+(b<<2)>>2]=f;b=b+1|0;if((c|0)!=(b|0)){continue}break}}if(!c|j[((c<<2)+e|0)-4>>2]!=-1){break a}}dk(d);d=0}return d}function wh(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;g=oe-16|0;oe=g;e=j[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{f=k[e|0];switch(f-43|0){case 0:case 2:break c;default:break b}}e=e+1|0;if((e|0)==(b|0)){f=0;break a}q=(f|0)==45;f=k[e|0]}d:{if((f&255)==46){d=e;break d}j[g+8>>2]=e;f=Rg(g+8|0,b,10);e:{d=j[g+8>>2];if((d|0)!=(e|0)){if(k[d|0]!=35|b>>>0<=d>>>0){break e}i=d+1|0;j[g+8>>2]=i;f=Rg(g+8|0,b,f);d=j[g+8>>2];if((i|0)!=(d|0)){break e}}f=0;break a}if((e|0)==(d|0)){f=0;break a}o=(f|0)>32767;i=o?f:f<<16}f:{if(!(k[d|0]!=46|b>>>0<=d>>>0)){l=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break f}e=0;while(1){g:{f=k[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break g}}if(f<<24>>24<0|f-48>>>0>9){break f}h:{if((e|0)>214748363|(l|0)>214748363){break h}e=h[f+92064|0]+p(e,10)|0;if(!((c|0)<1|i)){c=c-1|0;break h}l=p(l,10)}d=d+1|0;if((d|0)!=(b|0)){continue}break}d=b;break f}e=0;l=1}i:{j:{k:{l:{n=d+1|0;if(!((k[d|0]|32)!=101|n>>>0>=b>>>0)){j[g+12>>2]=n;m=Rg(g+12|0,b,10);m:{d=j[g+12>>2];if((n|0)!=(d|0)){if(k[d|0]!=35|b>>>0<=d>>>0){break m}f=d+1|0;j[g+12>>2]=f;m=Rg(g+12|0,b,m);d=j[g+12>>2];if((f|0)!=(d|0)){break m}}f=0;break a}f=0;if((d|0)==(n|0)){break a}if((m|0)>1e3){break l}b=m;m=(m|0)<-1e3;c=(m?0:b)+c|0}j[a>>2]=d;f=0;if(!(e|i)){break a}b=2147483647;if(o){break i}if(m){break a}if((c|0)<=0){break k}while(1){if((i|0)>214748363){break i}n:{if((e|0)>=214748364){if((l|0)==1){break i}l=(l|0)/10|0;break n}e=p(e,10)}i=p(i,10);a=(c|0)>1;c=c-1|0;if(a){continue}break}break j}j[a>>2]=d;b=2147483647;if(e|i){break i}break a}if((c|0)>=0){break j}while(1){a=i;i=(i|0)/10|0;o:{if((l|0)<=214748363){l=p(l,10);break o}e=(e|0)/10|0}if(!(e?0:a+9>>>0<=18)){a=c;c=c+1|0;if(a>>>0>c>>>0){break j}continue}break}break a}if(!e){b=i;break i}b=De(e,l)+i|0}f=q?0-b|0:b}oe=g+16|0;return f}function jG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=oe-16|0;oe=f;m=j[b+16>>2];n=j[b+8>>2];qe[j[b+28>>2]](b);a:{b:{c:{d:{c=j[b>>2];if(c>>>0>>0){j[b>>2]=c+1;if(k[c|0]==91){break d}}e=3;j[f+12>>2]=3;break c}qe[j[b+28>>2]](b);e:{d=j[b>>2];f:{if(n>>>0<=d>>>0){break f}while(1){g:{h:{i:{c=k[d|0];if((c|0)!=60){if((c|0)!=93){break i}j[b>>2]=d+1;break b}qe[j[b+32>>2]](b);if(j[b+12>>2]){break b}e=j[b>>2];c=(e+(d^-1)|0)/2|0;if(e-d>>>0<=2){break f}i=xe(m,1,r,c,i,f+12|0);e=j[f+12>>2];if(e){break c}j[b>>2]=d;p=1;qe[j[b+44>>2]](b,i,c,f+8|0,1)|0;g=j[f+8>>2];break h}if(c-48>>>0>9){c=r;break h}if(p){break f}j:{g=qe[j[b+36>>2]](b)|0;if((g|0)<=-1){break j}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}c=j[b>>2];i=c+1|0;if(n-c>>>0>>0){break j}j[b>>2]=(c+g|0)+1;p=0;break g}e=3;j[f+12>>2]=3;p=0;break c}if(!i){break e}r=c}if(g&1){c=g-1|0;g=k[c+i|0]?g:c}c=0;if(!g){break f}while(1){k:{l:{m:{switch(l|0){case 0:l=0;if((o|0)<12){break l}e=j[a+492>>2];q=(k[e+4|0]<<4)+k[e+5|0]|0;d=q<<4|12;j[a+496>>2]=d;if((d|0)>(n-j[b>>2]|0)){break f}u=a,v=xe(m,1,12,d,e,f+12|0),j[u+492>>2]=v;e=j[f+12>>2];if(e){break c};case 1:l=1;d=j[a+496>>2];if((o|0)<(d|0)){break l}l=j[a+492>>2];if(q>>>0>=1){s=l+24|0;e=0;while(1){t=d;d=(e<<4)+s|0;d=t+(((k[d|0]<<24|k[d+1|0]<<16|3)+k[d+3|0]|0)+(k[d+2|0]<<8)&-4)|0;j[a+496>>2]=d;e=e+1|0;if((q|0)!=(e|0)){continue}break}}u=a,v=xe(m,1,q<<4|12,d+1|0,l,f+12|0),j[u+492>>2]=v;e=j[f+12>>2];if(e){break c}break;case 2:break m;default:break k}}l=2;if(j[a+496>>2]<=(o|0)){break f}}h[j[a+492>>2]+o|0]=k[c+i|0];o=o+1|0}c=c+1|0;if((g|0)!=(c|0)){continue}break}qe[j[b+28>>2]](b);d=j[b>>2];if(n>>>0>d>>>0){continue}break}}e=3;j[f+12>>2]=3;break c}e=3;j[f+12>>2]=3;i=0}j[b+12>>2]=e}if(!p){break a}if(i){qe[j[m+8>>2]](m,i)}}oe=f+16|0}function Kn(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,l=0;i=j[a+4>>2];if(k[i+9|0]==4){a:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];l=b;b=h^255;c=k[i+29|0];d=k[i+33|0];f=((p(b,k[j[(c<<2)+234976>>2]+((a&j[i+16>>2])>>>d|0)|0])>>>0)/255|0)+f>>>c<>2]+((a&j[i+12>>2])>>>d|0)|0])>>>0)/255|0)+e>>>c<>2]+((a&j[i+20>>2])>>>d|0)|0])>>>0)/255|0)+g>>>c<>2];a=k[i+35|0];j[l>>2]=d|((p(b,k[j[(c<<2)+234976>>2]+(e>>>a|0)|0])>>>0)/255|0)+h>>>c<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[c>>2];f=k[i+33|0];b=h+k[j[(d<<2)+234976>>2]+((a&j[i+16>>2])>>>f|0)|0]|0;h=c;f=(b>>>0<255?b:255)>>>d<>2]+((a&j[i+12>>2])>>>c|0)|0]+e|0;e=f|(d>>>0<255?d:255)>>>b<>2]+((a&j[i+20>>2])>>>c|0)|0]+g|0;c=e|(d>>>0<255?d:255)>>>b<>2];a=k[i+35|0];j[h>>2]=c|k[j[(b<<2)+234976>>2]+(d>>>a|0)|0]>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];d=b;b=k[i+29|0];c=k[i+33|0];f=(p(k[j[(b<<2)+234976>>2]+((a&j[i+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]+((a&j[i+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2]+((a&j[i+20>>2])>>>c|0)|0],g)>>>0)/255>>>b<>2];a=k[i+35|0];j[d>>2]=c|k[j[(b<<2)+234976>>2]+(e>>>a|0)|0]>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f>>>k[i+29|0]<>>k[i+28|0]<>>k[i+30|0]<>>k[i+31|0]<>2];g=j[a>>2];n=p(e,g);a:{b:{c:{d:{e:{f:{c=k[a+11|0];switch(c-1|0){case 3:break d;case 1:break e;case 0:break f;default:break c}}l=7;q=g-1|0;f=q&7;g:{if(d&65536){i=-1;c=n-1&7;break g}o=7;f=f^7;l=0;i=1;c=0-n&7}if(!g){break b}d=(n-1>>>3|0)+b|0;b=(q>>>3|0)+b|0;q=(e|0)>1?e:1;g=0;while(1){s=k[b|0]>>>f&1;e=0;while(1){h[d|0]=k[d|0]&32639>>>7-c|s<>>0>2]){continue}break}break b}l=6;f=(g<<1)+6&6;h:{if(d&65536){i=-2;c=(n<<1)+6&6;break h}o=6;f=f^6;i=2;l=0;c=((n<<1)+6^-1)&6}if(!g){break b}d=(n-1>>>2|0)+b|0;b=(g-1>>>2|0)+b|0;q=(e|0)>1?e:1;g=0;while(1){s=k[b|0]>>>f&3;e=0;while(1){h[d|0]=k[d|0]&16191>>>6-c|s<>>0>2]){continue}break}break b}l=4;f=g<<2&4;i:{if(d&65536){f=f^4;i=-4;c=(n<<2^-1)&4;break i}o=4;l=0;i=4;c=n<<2&4}if(!g){break b}d=(n-1>>>1|0)+b|0;b=(g-1>>>1|0)+b|0;q=(e|0)>1?e:1;g=0;while(1){s=k[b|0]>>>f&15;e=0;while(1){h[d|0]=k[d|0]&3855>>>4-c|s<>>0>2]){continue}break}break b}if(!g){break a}e=(e|0)>1?e:1;f=c>>>3|0;l=0-f|0;i=p(f,g-1|0)+b|0;d=p(f,n-1|0)+b|0;while(1){Ae(t+8|0,i,f);c=0;while(1){d=Ae(d,t+8|0,f)+l|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}i=i+l|0;o=o+1|0;if(o>>>0>2]){continue}break}}c=k[a+11|0]}j[a>>2]=n;b=c&255;j:{if(b>>>0>=8){b=p(b>>>3|0,n);break j}b=p(b,n)+7>>>3|0}j[a+4>>2]=b}oe=t+16|0}function eh(a,b){var c=0,d=0,e=0,f=0;c=oe-80|0;oe=c;a:{if(!b){j[c>>2]=57236;a=ve(56475,c);break a}j[b>>2]=0;d=j[67085];if(!d){a=ve(57733,0);break a}e=3410;b:{c:{switch(a|0){case 1:e=3411;break b;case 3:e=3413;break b;case 5:j[b>>2]=j[d+356>>2];a=0;break a;case 6:e=3414;break b;case 7:e=3415;break b;case 8:case 9:case 10:case 11:case 12:a=0;j[b>>2]=0;break a;case 13:e=32936;break b;case 14:e=32937;break b;case 24:e=33531;break b;case 4:j[c+76>>2]=0;j[c+72>>2]=0;j[c+68>>2]=0;j[c+64>>2]=0;a=-1;if((eh(0,c+76|0)|0)<0){break a}if((eh(1,c+72|0)|0)<0){break a}if((eh(2,c+68|0)|0)<0){break a}if((eh(3,c- -64|0)|0)<0){break a}j[b>>2]=j[c+64>>2]+(j[c+68>>2]+(j[c+72>>2]+j[c+76>>2]|0)|0);a=0;break a;case 15:a=0;j[b>>2]=j[d+388>>2]!=0;break a;case 16:j[b>>2]=j[d+428>>2];a=0;break a;case 17:j[b>>2]=j[d+392>>2];a=0;break a;case 18:j[b>>2]=j[d+396>>2];a=0;break a;case 19:j[b>>2]=j[d+404>>2]==4;a=0;break a;case 20:j[b>>2]=j[d+400>>2];a=0;break a;case 21:j[b>>2]=j[d+404>>2];a=0;break a;case 22:j[b>>2]=j[d+408>>2];a=0;break a;case 23:j[b>>2]=j[d+420>>2];a=0;break a;case 26:j[b>>2]=j[d+424>>2];a=0;break a;default:a=ve(57211,0);break a;case 0:break b;case 2:break c}}e=3412}d:{f=j[d+172>>2];if(f){if(j[d+432>>2]){break d}ve(57103,0);a=-1;break a}j[c+16>>2]=j[d>>2];ve(57048,c+16|0);a=-1;break a}a=-1;d=qe[f|0](d,57132)|0;if(!d){break a}qe[d|0](e,b);b=j[67085];if(!b){ve(57733,0);break a}e:{d=j[b+172>>2];if(d){if(j[b+432>>2]){break e}ve(57103,0);break a}j[c+32>>2]=j[b>>2];ve(57048,c+32|0);break a}b=qe[d|0](b,57242)|0;if(!b){break a}f:{g:{h:{a=qe[b|0]()|0;switch(a-1280|0){case 1:break f;case 0:break g;default:break h}}if(!a){break a}j[c+48>>2]=a;a=ve(57314,c+48|0);break a}a=ve(57253,0);break a}a=ve(57283,0)}oe=c+80|0;return a}function sm(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=oe-16|0;oe=f;j[f+8>>2]=0;n=j[j[a>>2]+28>>2];j[b>>2]=0;a:{b:{if(j[a+24>>2]){break b}j[f+12>>2]=0;c:{d=j[a+8>>2];if(d){o=k[a+12|0];l=j[a>>2];m=j[l+28>>2];d=d+1|0;s=a,t=xe(m,4,0,d,0,f+12|0),j[s+24>>2]=t;if(j[f+12>>2]){break c}e=Fe(l,j[a+4>>2]+3|0);j[f+12>>2]=e;if(e){break c}g=p(d,o);d=_e(l,g);j[f+12>>2]=d;if(d){break c}e=j[l+32>>2];i=g+e|0;d=j[a+24>>2];d:{e:{switch(o-1|0){case 2:if((g|0)<=0){break d}while(1){j[d>>2]=k[e+2|0]|(k[e+1|0]<<8|k[e|0]<<16);d=d+4|0;e=e+3|0;if(i>>>0>e>>>0){continue}break}break d;case 1:if((g|0)<=0){break d}while(1){j[d>>2]=k[e+1|0]|k[e|0]<<8;d=d+4|0;e=e+2|0;if(i>>>0>e>>>0){continue}break}break d;case 0:if((g|0)<=0){break d}while(1){j[d>>2]=k[e|0];d=d+4|0;e=e+1|0;if(i>>>0>e>>>0){continue}break}break d;default:break e}}if((g|0)<=0){break d}while(1){g=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);j[d>>2]=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);d=d+4|0;e=e+4|0;if(i>>>0>e>>>0){continue}break}}Ve(l);if(j[f+12>>2]){break c}}j[f+8>>2]=0;break b}d=m;m=j[a+24>>2];if(m){qe[j[d+8>>2]](d,m)}j[a+24>>2]=0;d=j[f+12>>2];j[f+8>>2]=d;if(d){break a}}d=j[a+8>>2];if(!d){break a}g=0;l=xe(n,4,0,d+1|0,0,f+8|0);if(j[f+8>>2]){break a}if(c){g=He(n,j[a+8>>2]+j[a+20>>2]|0,f+8|0);if(j[f+8>>2]){break a}}o=j[a+28>>2];j[l>>2]=c?g:o;q=j[a+8>>2];if(q){n=0;d=0;e=1;while(1){m=d;i=e<<2;r=j[i+j[a+24>>2]>>2]-1|0;if(r>>>0>=d>>>0){d=j[a+20>>2];d=d>>>0>>0?d:r}f:{if(!c){j[i+l>>2]=d+o;break f}i=i+l|0;r=(d+g|0)+n|0;j[i>>2]=r;if((d|0)==(m|0)){break f}q=j[i-4>>2];Ae(q,m+o|0,r-q|0);h[j[i>>2]]=0;j[i>>2]=j[i>>2]+1;n=n+1|0;q=j[a+8>>2]}e=e+1|0;if(q>>>0>=e>>>0){continue}break}}j[b>>2]=l;if(!c){break a}j[c>>2]=g}oe=f+16|0;return j[f+8>>2]}function Jf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;if(d){j[d>>2]=0}g=4;a:{while(1){f=i;b:{while(1){c:{if(!g){break c}a=a+1|0;if(b>>>0>a>>>0){break c}e=0;break a}e=4-g|0;i=k[a|0];h=i>>>g&15;if((h|0)==14){r=1;g=e;continue}if(h>>>0>9){break b}if((f|0)>=214748364){q=q+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}n=n+1|0;i=p(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){l=(f|0)<214748364&(o|0)<9;while(1){if(e){a=a+1|0;if(b>>>0<=a>>>0){e=0;break a}i=k[a|0]}m=4-e|0;h=(i&255)>>>e&15;if(h>>>0>9){e=m;break d}if(!(f|h)){q=q-1|0;f=0;e=m;continue e}e=m;if(!l){continue}break}o=o+1|0;f=p(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){m=0;while(1){if(e){a=a+1|0;if(b>>>0<=a>>>0){e=0;break a}i=k[a|0]}l=(i&255)>>>e&15;if(l>>>0<=9){s=l+p(g,10)|0;l=(g|0)>1e3;g=l?g:s;m=l?1:m;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(m){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+q|0)+e|0;if(d){a=a+n|0;b=n+o|0;if((b|0)<=5){if((f|0)>=32768){e=De(f,10);j[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<1){break j}c=(a|0)<5?a:5;e=c-b|0;if((e|0)<1){break j}b=a-c|0;f=p(j[(e<<2)+80752>>2],f);a=b;if((f|0)<32768){break i}f=(f>>>0)/10|0;a=b+1|0;break i}a=a-b|0}j[d>>2]=a;e=f<<16;break a}b=b<<2;c=j[b+80732>>2];if(((f|0)/(c|0)|0)>=32768){e=De(f,j[b+80736>>2]);j[d>>2]=a-4;break a}e=De(f,c);j[d>>2]=a-5;break a}e=2147483647;b=a+n|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>-1){a=o-a|0}else{f=(f|0)/j[80752-(b<<2)>>2]|0;a=n+o|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>=1){e=0;a=j[(a<<2)+80752>>2];if(((b|0)/(a|0)|0)>32767){break a}e=De(b,a);break a}a=p(b,j[80752-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return r?0-e|0:e}function xM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(m[a+404>>2]>=a+28>>>0){g=j[a+412>>2];b=j[a+20>>2];d=j[a+16>>2];e=k[d|0];a:{if((e|0)==30){c=Jf(d,b,0,0)>>16;b=j[a+20>>2];break a}b:{switch(e-28|0){case 0:if(d+3>>>0>b>>>0){break a}c=k[d+1|0]|k[d+2|0]<<8;c=(c<<24|c<<8&16711680)>>16;break a;case 1:if(d+5>>>0>b>>>0){break a}c=k[d+1|0]|k[d+2|0]<<8|(k[d+3|0]<<16|k[d+4|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break a;default:break b}}if(e>>>0<=246){c=e-139|0;break a}f=d+2|0;if(e>>>0<=250){if(b>>>0>>0){break a}c=(k[d+1|0]|e<<8)-63124|0;break a}if(b>>>0>>0){break a}c=64148-(k[d+1|0]|e<<8)|0}j[g+132>>2]=c;c=j[a+24>>2];e=k[b|0];c:{if((e|0)==30){d=Jf(b,c,0,0)>>16;c=j[a+24>>2];break c}d:{switch(e-28|0){case 0:d=0;if(b+3>>>0>c>>>0){break c}b=k[b+1|0]|k[b+2|0]<<8;d=(b<<24|b<<8&16711680)>>16;break c;case 1:d=0;if(b+5>>>0>c>>>0){break c}b=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break c;default:break d}}if(e>>>0<=246){d=e-139|0;break c}f=b+2|0;if(e>>>0<=250){d=0;if(c>>>0>>0){break c}d=(k[b+1|0]|e<<8)-63124|0;break c}d=0;if(c>>>0>>0){break c}d=64148-(k[b+1|0]|e<<8)|0}j[g+136>>2]=d;d=j[a+28>>2];b=k[c|0];e:{if((b|0)==30){a=Jf(c,d,0,0)>>16;break e}f:{switch(b-28|0){case 0:a=0;if(d>>>0>>0){break e}a=k[c+1|0]|k[c+2|0]<<8;a=(a<<24|a<<8&16711680)>>16;break e;case 1:a=0;if(d>>>0>>0){break e}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e;default:break f}}a=b-139|0;if(b>>>0<=246){break e}e=c+2|0;if(b>>>0<=250){a=0;if(d>>>0>>0){break e}a=(k[c+1|0]|b<<8)-63124|0;break e}a=0;if(d>>>0>>0){break e}a=64148-(k[c+1|0]|b<<8)|0}j[g+140>>2]=a;a=0}else{a=161}return a|0}function RA(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;g=j[b>>2];k=j[b+8>>2]+(g+j[b+4>>2]|0)|0;if(!k){return 1}h=a;d=0;a:{b:{if(!g){break b}e=1;c=v(+(g|0)*1e5/+(k|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break b}d=-2147483648}j[h>>2]=d;d=j[b+4>>2];c:{if(!d){break c}e=1;c=v(+(d|0)*1e5/+(k|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){f=~~c;break c}f=-2147483648}j[a+4>>2]=f;i=j[b+12>>2];g=j[b+20>>2]+(i+j[b+16>>2]|0)|0;if(!g){return 1}l=j[b+4>>2];m=j[b>>2];f=0;h=a;d=0;d:{if(!i){break d}e=1;c=v(+(i|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break d}d=-2147483648}j[h+8>>2]=d;d=j[b+16>>2];e:{if(!d){break e}e=1;c=v(+(d|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){f=~~c;break e}f=-2147483648}j[a+12>>2]=f;d=j[b+24>>2];f=j[b+32>>2]+(d+j[b+28>>2]|0)|0;if(!f){return 1}n=j[b+16>>2];o=j[b+12>>2];i=0;h=a;e=0;f:{if(!d){break f}e=1;c=v(+(d|0)*1e5/+(f|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}e=~~c;if(r(c)<2147483648){break f}e=-2147483648}j[h+16>>2]=e;d=j[b+28>>2];g:{if(!d){break g}e=1;c=v(+(d|0)*1e5/+(f|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){i=~~c;break g}i=-2147483648}j[a+20>>2]=i;e=1;g=f+(g+k|0)|0;if(!g){break a}f=j[b+28>>2];h=a;b=j[b+24>>2]+(m+o|0)|0;d=0;h:{if(!b){break h}c=v(+(b|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break h}d=-2147483648}j[h+24>>2]=d;b=f+(l+n|0)|0;if(!b){j[a+28>>2]=0;return 0}c=v(+(b|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){b=~~c}else{b=-2147483648}j[a+28>>2]=b;e=0}return e}function BD(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;g=j[a+4>>2];c=g&3;d=g&-8;f=d+a|0;a:{if(!c){c=0;if(b>>>0<256){break a}if(d>>>0>=b+4>>>0){c=a;if(d-b>>>0<=j[67248]<<1>>>0){break a}}return 0}b:{if(b>>>0<=d>>>0){c=d-b|0;if(c>>>0<16){break b}j[a+4>>2]=g&1|b|2;b=a+b|0;j[b+4>>2]=c|3;j[f+4>>2]=j[f+4>>2]|1;Wo(b,c);break b}c=0;if(j[67134]==(f|0)){d=d+j[67131]|0;if(d>>>0<=b>>>0){break a}j[a+4>>2]=g&1|b|2;c=a+b|0;b=d-b|0;j[c+4>>2]=b|1;j[67131]=b;j[67134]=c;break b}if(j[67133]==(f|0)){d=d+j[67130]|0;if(d>>>0>>0){break a}c=d-b|0;c:{if(c>>>0>=16){j[a+4>>2]=g&1|b|2;b=a+b|0;j[b+4>>2]=c|1;d=a+d|0;j[d>>2]=c;j[d+4>>2]=j[d+4>>2]&-2;break c}j[a+4>>2]=d|g&1|2;b=a+d|0;j[b+4>>2]=j[b+4>>2]|1;c=0;b=0}j[67133]=b;j[67130]=c;break b}e=j[f+4>>2];if(e&2){break a}h=d+(e&-8)|0;if(h>>>0>>0){break a}k=h-b|0;d:{if(e>>>0<=255){c=j[f+8>>2];e=e>>>3|0;d=j[f+12>>2];if((d|0)==(c|0)){m=268512,n=j[67128]&lP(-2,e),j[m>>2]=n;break d}j[c+12>>2]=d;j[d+8>>2]=c;break d}i=j[f+24>>2];d=j[f+12>>2];e:{if((f|0)!=(d|0)){c=j[f+8>>2];j[c+12>>2]=d;j[d+8>>2]=c;break e}f:{c=f+20|0;e=j[c>>2];if(e){break f}c=f+16|0;e=j[c>>2];if(e){break f}d=0;break e}while(1){l=c;d=e;c=d+20|0;e=j[c>>2];if(e){continue}c=d+16|0;e=j[d+16>>2];if(e){continue}break}j[l>>2]=0}if(!i){break d}c=j[f+28>>2];e=(c<<2)+268816|0;g:{if(j[e>>2]==(f|0)){j[e>>2]=d;if(d){break g}m=268516,n=j[67129]&lP(-2,c),j[m>>2]=n;break d}j[i+(j[i+16>>2]==(f|0)?16:20)>>2]=d;if(!d){break d}}j[d+24>>2]=i;c=j[f+16>>2];if(c){j[d+16>>2]=c;j[c+24>>2]=d}c=j[f+20>>2];if(!c){break d}j[d+20>>2]=c;j[c+24>>2]=d}if(k>>>0<=15){j[a+4>>2]=g&1|h|2;b=a+h|0;j[b+4>>2]=j[b+4>>2]|1;break b}j[a+4>>2]=g&1|b|2;b=a+b|0;j[b+4>>2]=k|3;c=a+h|0;j[c+4>>2]=j[c+4>>2]|1;Wo(b,k)}c=a}return c}function mD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=oe-32|0;oe=e;c=Xe(1,824);a:{if(!c){c=0;Be(0);break a}j[c+800>>2]=0;j[c+804>>2]=0;j[c+792>>2]=-1;j[c+796>>2]=-1;j[c+784>>2]=-1;j[c+768>>2]=-1;j[c+12>>2]=128;j[c>>2]=a;d=c+808|0;j[d>>2]=0;j[d+4>>2]=0;Oe(e+16|0,0,16);j[e+28>>2]=83;g=j[e+28>>2];j[e+8>>2]=j[e+24>>2];j[e+12>>2]=g;j[e+20>>2]=84;j[e+16>>2]=85;g=j[e+20>>2];j[e>>2]=j[e+16>>2];j[e+4>>2]=g;b:{o=c+16|0;c:{if((kF(a,o,e)|0)<=-1){ve(20970,0);break c}if((Ro(c)|0)>-1){break b}ek(o);a=j[c+772>>2];if(a){Ih(a)}a=j[c+776>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(!j[c+4>>2]){break c}a=j[c>>2];qe[j[a+16>>2]](a)|0}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0;break a}g=c+800|0;m=c+792|0;d:{e:{i=eF(o);if(j[i+8>>2]<1){break e}while(1){n=Uf(j[j[i>>2]+(k<<2)>>2]);a=wg(n,61);f:{if(!a){l=Le(n)+n|0;break f}h[a|0]=0;l=a+1|0}a=m;g:{h:{if(!Me(n,21001)){break h}if(!Me(n,21011)){f=1;a=d;break h}if(Me(n,21022)){break g}f=0;a=g}p=a,q=$o(l,0,-1,-1),j[p>>2]=q;j[a+4>>2]=pe}if(n){qe[j[57975]](n);j[57976]=j[57976]-1}k=k+1|0;if((k|0)>2]){continue}break}if(!f){break e}l=j[m>>2];f=l+j[d>>2]|0;d=j[d+4>>2]+j[m+4>>2]|0;a=g;j[a>>2]=f;j[a+4>>2]=f>>>0>>0?d+1|0:d;break d}f=j[g>>2];l=j[m>>2];a=j[g+4>>2]-(j[m+4>>2]+(f>>>0>>0)|0)|0;j[d>>2]=f-l;j[d+4>>2]=a}l=si(o,-1);a=j[m>>2];i=j[m+4>>2];d=j[g>>2];k=j[g+4>>2];f=pe;if(!((((k|0)<0?1:(k|0)<=0?d>>>0<1:0)?(i|0)<-1?1:(i|0)<=-1:0)|((f|0)<(k|0)?1:(f|0)<=(k|0)?d>>>0>l>>>0:0)|(!(!(d|k)|((i|0)<(k|0)?1:(i|0)<=(k|0)?a>>>0>>0:0))|((f|0)<(i|0)?1:(f|0)<=(i|0)?a>>>0>=l>>>0:0)))){if((i|0)<-1?1:(i|0)<=-1){j[m>>2]=0;j[m+4>>2]=0}if(!(d|k)){j[g>>2]=l;j[g+4>>2]=f}j[c+784>>2]=1}j[c+4>>2]=b}oe=e+32|0;return c|0}function kM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{if(!(!a|!b)){zu(a,b);d=Bk(a);c=j[a+376>>2];if((c|0)!=1229209940){while(1){e=j[a+208>>2];if(e&4){j[a+208>>2]=e|8}c:{d:{if((c|0)!=1229278788){if((c|0)!=1229472850){break d}Wt(a,b,d);break c}Bt(a,d);break c}e=uo(a,c);if(e){Am(a,b,d,e);if((c|0)!=1347179589){break c}j[a+208>>2]=j[a+208>>2]|2;break c}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((c|0)<=1883789682){if((c|0)<=1749635923){if((c|0)<=1665684044){if((c|0)==1347179589){break o}if((c|0)!=1649100612){break e}NO(a,b,d);break c}if((c|0)==1665684045){break n}if((c|0)!=1732332865){break e}qt(a,b,d);break c}if((c|0)<=1767135347){if((c|0)==1749635924){break m}if((c|0)!=1766015824){break e}Js(a,b,d);break c}if((c|0)==1767135348){break f}if((c|0)==1866876531){break l}if((c|0)!=1883455820){break e}uO(a,b,d);break c}if((c|0)<=1934772033){if((c|0)<=1933787467){if((c|0)==1883789683){break j}if((c|0)!=1933723988){break e}ft(a,b,d);break c}if((c|0)==1933787468){break k}if((c|0)!=1934642260){break e}UO(a,b,d);break c}if((c|0)<=1950960964){if((c|0)==1934772034){break i}if((c|0)!=1950701684){break e}hO(a,b,d);break c}if((c|0)==1950960965){break h}if((c|0)==1951551059){break g}if((c|0)!=2052348020){break e}bO(a,b,d);break c}Mt(a,b,d);break c}Ws(a,b,d);break c}IO(a,b,d);break c}wO(a,b,d);break c}rO(a,b,d);break c}AO(a,b,d);break c}Os(a,b,d);break c}mO(a,b,d);break c}PO(a,b,d);break c}PN(a,b,d);break c}Am(a,b,d,0)}d=Bk(a);c=j[a+376>>2];if((c|0)!=1229209940){continue}break}}c=j[a+208>>2];if(!(c&1)){break b}if(k[a+435|0]==3?!(c&2):0){break a}e=a;if(c&8){Je(a,7316);c=j[a+208>>2]}j[e+208>>2]=c|4;c=a;e=uo(a,1229209940);if(e){Am(a,b,d,e);d=0}j[c+408>>2]=d}return}hf(a,7266);z()}hf(a,7291);z()}function pF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;d=j[b+28>>2];if(!d){return 1}e=1;a:{if(j[d+8>>2]<1){break a}c=j[d>>2];if((c|0)<64|(c|0)>j[d+4>>2]){break a}c=j[d+3656>>2];g=Ee(a,0,112);a=bf(1,136);j[g+4>>2]=b;j[g+104>>2]=a;e=j[d+8>>2]-1|0;j[a+44>>2]=e?32-s(e)|0:0;e=bf(1,4);j[a+12>>2]=e;f=bf(1,4);j[a+16>>2]=f;h=e;e=bf(1,20);j[h>>2]=e;i=f,k=bf(1,20),j[i>>2]=k;_p(e,j[d>>2]>>c);_p(j[j[a+16>>2]>>2],j[d+4>>2]>>c);c=j[d>>2];j[a+4>>2]=(c?32-s(c)|0:0)-7;c=j[d+4>>2];j[a+8>>2]=(c?32-s(c)|0:0)-7;b:{if(j[d+2848>>2]){break b}i=d,k=bf(j[d+24>>2],56),j[i+2848>>2]=k;c=j[d+24>>2];if((c|0)<1){break b}h=j[d+1824>>2];c:{if(!h){break c}e=d+1824|0;f=0;while(1){if(_E(j[d+2848>>2]+p(f,56)|0,h)){c=j[d+24>>2];break c}dk(j[e>>2]);j[e>>2]=0;c=j[d+24>>2];f=f+1|0;if((c|0)<=(f|0)){break b}e=((f<<2)+d|0)+1824|0;h=j[e>>2];if(h){continue}break}}if((c|0)>=1){a=0;while(1){b=((a<<2)+d|0)+1824|0;e=j[b>>2];if(e){dk(e);j[b>>2]=0;c=j[d+24>>2]}a=a+1|0;if((c|0)>(a|0)){continue}break}}Cg(g);return-1}e=j[d+4>>2];j[g+16>>2]=e;b=j[b+4>>2];c=b<<2;i=g,k=Te(c),j[i+8>>2]=k;i=g,k=Te(c),j[i+12>>2]=k;if((b|0)>=1){c=0;while(1){f=bf(e,4);j[j[g+8>>2]+(c<<2)>>2]=f;c=c+1|0;if((b|0)!=(c|0)){continue}break}}j[g+36>>2]=0;j[g+40>>2]=0;b=j[d+4>>2]/2|0;j[g+20>>2]=b;j[g+48>>2]=b;i=a,k=bf(j[d+16>>2],4),j[i+48>>2]=k;i=a,k=bf(j[d+20>>2],4),j[i+52>>2]=k;c=0;if(j[d+16>>2]>0){while(1){b=c<<2;e=b+d|0;e=qe[j[j[(j[e+800>>2]<<2)+198148>>2]+8>>2]](g,j[e+1056>>2])|0;j[b+j[a+48>>2]>>2]=e;c=c+1|0;if((c|0)>2]){continue}break}}e=0;if(j[d+20>>2]<=0){break a}c=0;while(1){b=c<<2;f=b+d|0;f=qe[j[j[(j[f+1312>>2]<<2)+198156>>2]+8>>2]](g,j[f+1568>>2])|0;j[b+j[a+52>>2]>>2]=f;c=c+1|0;if((c|0)>2]){continue}break}}return e}function am(a,b,c,d,e){var f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;f=oe-80|0;oe=f;a:{if(j[b+72>>2]!=j[a+16>>2]){j[f+76>>2]=6;break a}if((c|0)!=(e|0)){j[f+76>>2]=19;break a}u=b+108|0;b:{if(!d){e=0;d=0;break b}e=j[d+4>>2];d=j[d>>2]}v=j[a+8>>2];Ug(u,f+56|0);r=d+j[f+56>>2]|0;m=r&-64;j[f+56>>2]=m;s=(d+j[f+64>>2]|0)+63&-64;j[f+64>>2]=s;n=j[f+60>>2]+e&-64;j[f+60>>2]=n;t=(j[f+68>>2]+e|0)+63|0;l=t&-64;j[f+68>>2]=l;x=l-n|0;l=x>>>6|0;w=(c|0)==4?p(l,3):l;z=s-m|0;s=z>>>6|0;g=p(s,3);o=(c|0)==3;y=o?g:s;if((w|y)&268402688){j[f+76>>2]=98;break a}if(h[j[b+156>>2]+4|0]&1){q=j[b+88>>2];if(q){qe[j[v+8>>2]](v,q)}j[b+88>>2]=0;q=j[b+156>>2];j[q+4>>2]=j[q+4>>2]&-2}g=o?g+3&536870908:s;A=b,B=He(v,p(g,w),f+76|0),j[A+88>>2]=B;if(j[f+76>>2]){break a}o=j[b+156>>2];j[o+4>>2]=j[o+4>>2]|1;j[b+104>>2]=t>>6;j[b+100>>2]=r>>6;j[b+72>>2]=1651078259;h[b+94|0]=2;i[b+92>>1]=256;j[b+80>>2]=y;j[b+84>>2]=g;j[b+76>>2]=w;n=e-n|0;m=d-m|0;t=n|m;if(t){Tf(u,m,n)}j[f+16>>2]=1;j[f+12>>2]=u;j[f+8>>2]=b+76;o=qe[j[a+56>>2]](j[a+52>>2],f+8|0)|0;j[f+76>>2]=o;c:{if(!o){d:{if((c|0)==3){if(!x){break d}r=j[b+88>>2];e=l;while(1){if(z){a=r+y|0;d=s;while(1){d=d-1|0;q=k[r+d|0];h[a-1|0]=q;h[a-2|0]=q;a=a-3|0;h[a|0]=q;if(d){continue}break}}r=g+r|0;e=e-1|0;if(e){continue}break}}if(!(!x|(c|0)!=4)){d=j[b+88>>2];a=d+p(g,w-l|0)|0;while(1){c=Ae(Ae(Ae(d,a,g)+g|0,a,g)+g|0,a,g);a=a+g|0;d=c+g|0;l=l-1|0;if(l){continue}break}}j[f+76>>2]=0;if(t){Tf(u,0-m|0,0-n|0)}if(o){break c}break a}j[f+76>>2]=0;if(!t){break a}Tf(u,0-m|0,0-n|0);break a}if(!t){break c}Tf(u,0-m|0,0-n|0)}a=j[b+88>>2];if(a){qe[j[v+8>>2]](v,a)}j[b+88>>2]=0;a=j[b+156>>2];j[a+4>>2]=j[a+4>>2]&-2}oe=f+80|0;return j[f+76>>2]}function EI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=oe-48|0;oe=d;k=j[b+28>>2];j[d+20>>2]=j[b+8>>2];r=d,s=sf(b,d+4|0),j[r+8>>2]=s;c=j[d+4>>2];a:{if(c){break a}c=$e(b,157344,d+8|0);j[d+4>>2]=c;if(c){break a}c=1330926671;b:{if(j[d+8>>2]==1330926671){e=l[d+12>>1];break b}e=j[d+20>>2];c=Fe(b,e+12|0);j[d+44>>2]=c;if(c){break a}c=2;if(!l[d+12>>1]){break a}m=e+28|0;e=0;while(1){c:{c=$e(b,157376,d+24|0);j[d+44>>2]=c;if(c){break c}c=j[b+4>>2];f=j[d+32>>2];d:{if(c>>>0>>0){break d}h=j[d+36>>2];n=h>>>0<=c-f>>>0;c=j[d+24>>2];if((c|0)!=1752003704?!(n|(c|0)==1986884728):0){break d}e=e+1|0;e:{if((c|0)<=1651008867){if((c|0)==1296389185){break e}if((c|0)!=1397313095){break d}o=1;break d}if((c|0)!=1651008868?(c|0)!=1751474532:0){break d}if(h>>>0<54){c=142;break a}c=Fe(b,f+12|0);j[d+44>>2]=c;if(c){break a}sf(b,d+44|0);c=j[d+44>>2];if(c){break a}c=Fe(b,(g<<4)+m|0);j[d+44>>2]=c;p=1;if(!c){break d}break a}q=1}g=g+1|0;if(g>>>0>1]){continue}}break}i[d+12>>1]=e;c=2;if(!(e&65535)){break a}if(!p){c=142;if(!o|!q){break a}}j[d+4>>2]=0;c=j[d+8>>2]}j[a+148>>2]=c;i[a+152>>1]=e;r=a,s=xe(k,16,0,e&65535,0,d+4|0),j[r+156>>2]=s;c=j[d+4>>2];if(c){break a}c=Fe(b,j[d+20>>2]+12|0);j[d+4>>2]=c;if(c){break a}c=_e(b,l[a+152>>1]<<4);j[d+4>>2]=c;if(c){break a}if(l[d+12>>1]){c=j[a+156>>2];a=0;while(1){r=c,s=Ff(b),j[r>>2]=s;r=c,s=Ff(b),j[r+4>>2]=s;r=c,s=Ff(b),j[r+8>>2]=s;e=Ff(b);j[c+12>>2]=e;f=j[b+4>>2];g=j[c+8>>2];f:{if(f>>>0>>0){break f}h=e;e=f-g|0;if(h>>>0>e>>>0){f=j[c>>2];if((f|0)!=1752003704?(f|0)!=1986884728:0){break f}j[c+12>>2]=e&-4}c=c+16|0}a=a+1|0;if(a>>>0>1]){continue}break}}Ve(b);c=j[d+4>>2]}oe=d+48|0;return c|0}function ve(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;c=oe-1056|0;oe=c;a:{if(!a){break a}j[65586]=1;Re(262348,a,128);j[c+1052>>2]=b;j[65619]=0;d=k[a|0];b:{if(!d){break b}while(1){b=a+1|0;c:{if((d|0)!=37){a=b;break c}while(1){d=b;b=d+1|0;g=k[d|0];if((g|0)==46|(g-48&255)>>>0<10){continue}break}a=b;d:{e:{f:{g:{h:{i:{j:{k:{g=g<<24>>24;switch(g-88|0){case 24:break g;case 14:break h;case 0:case 11:case 12:case 17:case 23:case 29:case 32:break i;case 20:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 13:case 15:case 16:case 18:case 19:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break d;case 27:break f;default:break k}}if(g){break e}a=d;break d}a=d+2|0;l:{m:{d=h[d+1|0];switch(d-88|0){case 0:case 12:case 17:case 29:case 32:break l;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 30:case 31:break d;default:break m}}if(!d){break e}break d}b=j[c+1052>>2];j[c+1052>>2]=b+4;b=j[b>>2];f=e+1|0;j[65619]=f;j[(e<<7)+262480>>2]=b;break d}a=j[c+1052>>2];j[c+1052>>2]=a+4;a=j[a>>2];f=e+1|0;j[65619]=f;j[(e<<7)+262480>>2]=a;break e}a=j[c+1052>>2]+7&-8;j[c+1052>>2]=a+8;i=o[a>>3];f=e+1|0;j[65619]=f;o[(e<<7)+262480>>3]=i;break e}a=j[c+1052>>2];j[c+1052>>2]=a+4;a=j[a>>2];f=e+1|0;j[65619]=f;j[(e<<7)+262480>>2]=a;break e}a=j[c+1052>>2];j[c+1052>>2]=a+4;a=j[a>>2];Re((e<<7)+262480|0,a?a:22403,128);f=j[65619]+1|0;j[65619]=f}a=b}e=f;if((e|0)>4){break b}}d=k[a|0];if(d){continue}break}}if(JC()>>>0>2){break a}l=c,m=Ko(c+16|0),j[l>>2]=m;HC(c)}oe=c+1056|0;return-1}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,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(m[b+160>>2]>>0){Pe(b,8)}e=k[a+3|0]|k[a+2|0]<<8;if(m[b+160>>2]>>0){if(j[b+164>>2]){Pe(b,8)}e=j[b+160>>2]-a|0}if(e>>>0<=15){Pe(b,8)}c=k[a+7|0];d=c|k[a+6|0]<<8;if(!(!(c&1)|m[b+164>>2]<2)){Pe(b,8)}f=d&65534;if((f<<2)+16>>>0>e>>>0){Pe(b,8)}h=d>>>1|0;a:{if(m[b+164>>2]<2){break a}i=k[a+12|0];d=k[a+11|0]|k[a+10|0]<<8;c=k[a+9|0];l=c|k[a+8|0]<<8;g=c;c=k[a+13|0];if((g|c)&1){Pe(b,8)}g=1<>>1|0;if(!((g|0)!=(d|0)|d>>>0>h>>>0|(l&65534)>>>0>>0)){if((d+((c|i<<8)>>>1|0)|0)==(h|0)){break a}}Pe(b,8)}n=a+14|0;b:{if(m[b+164>>2]<2){break b}c=(f+n|0)-2|0;if((k[c|0]<<8|k[c+1|0])==65535){break b}Pe(b,8)}if(!h){return 0}o=(a+f|0)+16|0;p=f+o|0;g=f+p|0;s=f+g|0;u=a+e|0;t=h-1|0;d=0;c=0;while(1){a=c;e=d;v=k[g|0]<<8;f=k[g+1|0];l=k[p|0];i=k[p+1|0];c=k[o+1|0]|k[o|0]<<8;d=k[n+1|0]|k[n|0]<<8;if(c>>>0>d>>>0){Pe(b,8)}f=f|v;c:{if(!q|c>>>0>e>>>0){break c}if(j[b+164>>2]){Pe(b,8);break c}if(!(d>>>0>=e>>>0?a>>>0<=c>>>0:0)){r=r|1;break c}r=r|2}d:{if(!f){break d}if((f|0)!=65535){a=f+g|0;e:{f:{if(j[b+164>>2]){if(a>>>0>>0|((d-c<<1)+a|0)+2>>>0>u>>>0){break f}break e}if((d|0)==65535?!((q|0)!=(t|0)|(c|0)!=65535):0){break e}if(a>>>0>>0){break f}if(m[b+160>>2]>=((d-c<<1)+a|0)+2>>>0){break e}}Pe(b,8)}if(!j[b+164>>2]|c>>>0>=d>>>0){break d}l=i|l<<8;e=c;while(1){i=k[a+1|0]|k[a|0]<<8;if(!(!i|m[b+172>>2]>(l+i&65535)>>>0)){Pe(b,16)}a=a+2|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}break d}if(!((q|0)!=(t|0)|m[b+164>>2]>1|(c|0)!=65535)){if((d|0)==65535){break d}}Pe(b,8)}g=g+2|0;p=p+2|0;n=n+2|0;o=o+2|0;q=q+1|0;if((q|0)!=(h|0)){continue}break}return r|0}function mA(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0;a:{b:{if((a|0)<=1431918168){c:{switch(a-842094158|0){case 0:case 11:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;default:break c}}if((a|0)==825382478){break a}if((a|0)!=844715353){break b}break a}if((a|0)==1431918169|(a|0)==1448433993|(a|0)==1498831189){break a}}ve(32412,0);return 0}d=Xe(1,48);if(!d){Be(0);return 0}j[d+12>>2]=c;j[d+8>>2]=b;j[d+4>>2]=0;j[d>>2]=a;f=(b+1|0)/2|0;g=(c+1|0)/2|0;h=p(f,g);k=p(b,c);d:{e:{f:{g:{if((a|0)<=1431918168){h:{switch(a-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break d;case 0:break f;case 11:break g;default:break h}}if((a|0)==825382478){break f}if((a|0)!=844715353){break d}break e}if((a|0)==1431918169|(a|0)==1498831189){break e}if((a|0)!=1448433993){break d}}e=(h<<1)+k|0;break d}e=(h<<1)+k|0;break d}e=p(c,f)<<2}e=qe[j[57972]](e?e:1)|0;if(e){j[57976]=j[57976]+1}j[d+16>>2]=e;if(!e){kf(j[d+40>>2]);kf(j[d+44>>2]);if(d){qe[j[57975]](d);j[57976]=j[57976]-1}Be(0);return 0}i:{j:{k:{l:{if((a|0)<=1431918168){m:{switch(a-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break j;case 0:break k;case 11:break l;default:break m}}if((a|0)==825382478){break k}if((a|0)!=844715353){break j}break i}if((a|0)==1431918169|(a|0)==1498831189){break i}if((a|0)!=1448433993){break j}}j[d+28>>2]=e;i[d+20>>1]=b;a=b&65535;b=e+p(a,c)|0;j[d+32>>2]=b;a=a+1>>>1|0;i[d+24>>1]=a;i[d+22>>1]=a;j[d+36>>2]=b+p(a,g);return d}j[d+28>>2]=e;i[d+20>>1]=b;i[d+22>>1]=b+1&65534;j[d+32>>2]=e+p(b&65535,c)}return d}j[d+28>>2]=e;i[d+20>>1]=f<<2;return d}function _q(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;i=oe-16|0;oe=i;g=j[b>>2];e=g<<1;x=a,y=xe(d,4,0,e,0,i+12|0),j[x+12>>2]=y;a:{if(j[i+12>>2]){break a}x=a,y=xe(d,28,0,g,0,i+12|0),j[x+8>>2]=y;if(j[i+12>>2]){break a}x=a,y=xe(d,16,0,e|1,0,i+12|0),j[x+24>>2]=y;if(j[i+12>>2]){break a}j[a>>2]=g;j[a+28>>2]=0;j[a+20>>2]=0;j[a+4>>2]=0;j[a+16>>2]=j[a+12>>2]+(g<<2);if(g){d=j[a+8>>2];b=j[b+8>>2];f=g;while(1){j[d>>2]=j[b>>2];j[d+4>>2]=j[b+4>>2];j[d+16>>2]=j[b+8>>2];b=b+12|0;d=d+28|0;f=f-1|0;if(f){continue}break}}e=0;b:{if(!c){break b}l=j[c>>2];m=j[c+8>>2];j[a+32>>2]=c;if(!l){break b}while(1){s=j[m>>2];if(s){o=j[m+8>>2];b=0;n=0;t=0;while(1){if(!b){t=k[o|0];o=o+1|0;b=128}c:{if(!(b&t)|g>>>0<=n>>>0){break c}h=j[a+8>>2]+p(n,28)|0;c=j[h+16>>2];if(c&4){break c}j[h+16>>2]=c|4;c=j[a+16>>2];j[h+20>>2]=0;d:{if(!e){break d}u=j[h>>2];w=u+j[h+4>>2]|0;f=e;d=c;while(1){q=j[d>>2];v=j[q>>2];if(!((v|0)>(w|0)|(j[q+4>>2]+v|0)<(u|0))){j[h+20>>2]=q;break d}d=d+4|0;f=f-1|0;if(f){continue}break}}if(e>>>0>=g>>>0){break c}d=e+1|0;j[a+4>>2]=d;j[c+(e<<2)>>2]=h;e=d}b=b>>1;n=n+1|0;if((s|0)!=(n|0)){continue}break}}m=m+16|0;l=l-1|0;if(l){continue}break}}if(!g|(e|0)==(g|0)){break a}while(1){f=j[a+8>>2]+p(r,28)|0;b=j[f+16>>2];e:{if(b&4){break e}j[f+16>>2]=b|4;c=j[a+16>>2];j[f+20>>2]=0;f:{if(!e){break f}m=j[f>>2];n=m+j[f+4>>2]|0;b=e;d=c;while(1){h=j[d>>2];l=j[h>>2];if(!((l|0)>(n|0)|(m|0)>(l+j[h+4>>2]|0))){j[f+20>>2]=h;break f}d=d+4|0;b=b-1|0;if(b){continue}break}}if(e>>>0>=g>>>0){break e}b=e+1|0;j[a+4>>2]=b;j[c+(e<<2)>>2]=f;e=b}r=r+1|0;if((r|0)!=(g|0)){continue}break}}oe=i+16|0;return j[i+12>>2]}function 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,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;b=Hh(j[a+60>>2],b,c);a:{if(b){break a}b:{if(!j[a+36>>2]){j[d>>2]=1;break b}b=j[a>>2];r=qe[j[b+4>>2]](b,0,0,1)|0;f=pe;o=j[a+48>>2];i=j[a+52>>2];t=j[a+64>>2];c:{if((t|0)>=1){u=j[a+68>>2];b=0;while(1){e=p(b,20);c=e+u|0;d:{if(!j[c>>2]){break d}d=f;n=j[a+40>>2];g=p(k[a+14|0],l[a+12>>1]>>>3&31);v=e+u|0;q=p(g,j[v+4>>2]);s=n+q|0;e=j[a+44>>2];h=s>>>0>>0?e+1|0:e;q=h;if((d|0)<(h|0)?1:(h|0)>=(d|0)?s>>>0>r>>>0:0){break d}d=p(g,j[v+8>>2]+1|0);g=d+n|0;e=d>>>0>g>>>0?e+1|0:e;d=g;if((e|0)>(f|0)?1:(e|0)>=(f|0)?d>>>0>r>>>0:0){break c}}b=b+1|0;if((t|0)>(b|0)){continue}break}}c=0;d=o;e=i}n=j[a+20>>2];g=n;e:{h=j[a>>2];b=r;o=d-b|0;f=e-(f+(b>>>0>d>>>0)|0)|0;b=g>>31;b=qe[j[h+8>>2]](h,j[a+56>>2],1,((b|0)>(f|0)?1:(f|0)<=(b|0)?g>>>0>o>>>0:0)?o:g)|0;if((b|0)<1){break e}if((gi(j[a+60>>2],j[a+56>>2],b)|0)>=0){break e}return-1}f:{if(!c){break f}b=j[a>>2];d=qe[j[b+4>>2]](b,0,0,1)>>>0>>0;b=pe;if((b|0)<(e|0)?1:(e|0)>=(b|0)?d:0){break f}g:{h:{i:{b=j[c+16>>2];switch(b|0){case 1:break g;case 0:break h;default:break i}}j[c+16>>2]=b-1}a=j[a>>2];qe[j[a+4>>2]](a,s,q,0)|0;break b}j[c>>2]=0}b=j[a>>2];d=qe[j[b+4>>2]](b,0,0,1)|0;c=pe;b=j[a+52>>2];if((b|0)>(c|0)?1:(c|0)<=(b|0)?d>>>0>2]:0){break b}i=j[a+36>>2];if((i|0)==1){j[a+36>>2]=0;vo(j[a+60>>2]);break b}b=-1;e=j[a+64>>2];if((e|0)>=1){d=j[a+68>>2];c=0;while(1){f=d+p(c,20)|0;j[f>>2]=1;j[f+16>>2]=j[f+12>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[a+36>>2]=(i|0)>0?i-1|0:-1;c=j[a>>2];qe[j[c+4>>2]](c,j[a+40>>2],j[a+44>>2],0)|0;if(pe>>31<0){break a}}b=0}return b|0}function yv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(D){h=(p(h,y)>>>0)/255|0;i=(p(i,A)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b&255;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,i)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+i|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function hw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(D){i=(p(i,y)>>>0)/255|0;h=(p(h,A)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b&255;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){i=(p(i,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(i,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+i|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=i+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function Tv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(D){i=(p(i,z)>>>0)/255|0;h=(p(h,A)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b>>>24|0;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){i=(p(i,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(l,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+l|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=l+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function Aw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(D){h=(p(h,y)>>>0)/255|0;i=(p(i,z)>>>0)/255|0;l=(p(l,A)>>>0)/255|0}b=b>>>24|0;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(l,f)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+l|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=l+f|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function zE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=oe-1056|0;oe=i;d=i+1048|0;j[d>>2]=0;j[d+4>>2]=0;d=i+1040|0;j[d>>2]=0;j[d+4>>2]=0;j[i+1032>>2]=0;j[i+1036>>2]=0;j[i+1024>>2]=0;j[i+1028>>2]=0;a:{b:{c:{d:{c=k[b|0];e:{if(!c){l=-1;d=1;break e}while(1){if(!k[a+f|0]){break b}d=c&255;f=f+1|0;j[(d<<2)+i>>2]=f;c=(i+1024|0)+(d>>>3&28)|0;j[c>>2]=j[c>>2]|1<>>0>1){break d}}g=-1;e=1;break c}m=1;c=1;while(1){g=k[(c+l|0)+b|0];h=k[b+d|0];f:{if((g|0)==(h|0)){if((c|0)==(m|0)){e=e+m|0;c=1;break f}c=c+1|0;break f}if(g>>>0>h>>>0){m=d-l|0;e=d;c=1;break f}l=e;e=e+1|0;m=1;c=1}d=c+e|0;if(f>>>0>d>>>0){continue}break}e=1;g=-1;if(f>>>0<=1){d=m;break c}d=0;h=1;c=1;while(1){o=k[(c+g|0)+b|0];n=k[b+e|0];g:{if((o|0)==(n|0)){if((c|0)==(h|0)){d=d+h|0;c=1;break g}c=c+1|0;break g}if(n>>>0>o>>>0){h=e-g|0;d=e;c=1;break g}g=d;d=d+1|0;h=1;c=1}e=d+c|0;if(f>>>0>e>>>0){continue}break}d=m;e=h}c=d;d=g+1>>>0>l+1>>>0;h=d?e:c;n=d?g:l;o=n+1|0;h:{if(Bg(b,h+b|0,o)){d=(n^-1)+f|0;h=(d>>>0>>0?n:d)+1|0;p=f-h|0;m=0;break h}p=f-h|0;m=p}r=f-1|0;q=f|63;g=0;d=a;while(1){i:{if(a-d>>>0>=f>>>0){break i}c=Mh(a,0,q);if(c){a=c;if(c-d>>>0>>0){break b}break i}a=a+q|0}e=k[d+r|0];c=f;j:{k:{if(!(j[(i+1024|0)+(e>>>3&28)>>2]>>>e&1)){break k}c=f-j[(e<<2)+i>>2]|0;if(c){c=m?g?c>>>0>>0?p:c:c:c;break k}l:{c=o;e=c>>>0>g>>>0?c:g;l=k[e+b|0];if(l){while(1){if(k[d+e|0]!=(l&255)){break l}e=e+1|0;l=k[e+b|0];if(l){continue}break}}while(1){if(c>>>0<=g>>>0){break a}c=c-1|0;if(k[c+b|0]==k[d+c|0]){continue}break}c=h;g=m;break j}c=e-n|0}g=0}d=d+c|0;continue}}d=0}oe=i+1056|0;return d}function Cg(a){var b=0,c=0,d=0,e=0,f=0;if(a){f=j[a+4>>2];b=0;a:{if(!f){break a}b=j[f+28>>2]}c=j[a+104>>2];if(c){d=j[c>>2];if(d){WF(d);ze(j[c>>2])}d=j[c+12>>2];if(d){Ml(j[d>>2]);ze(j[j[c+12>>2]>>2]);ze(j[c+12>>2])}d=j[c+16>>2];if(d){Ml(j[d>>2]);ze(j[j[c+16>>2]>>2]);ze(j[c+16>>2])}e=j[c+48>>2];if(e){b:{if(!b){break b}d=1;if(j[b+16>>2]<1){break b}qe[j[j[(j[b+800>>2]<<2)+198148>>2]+16>>2]](j[e>>2]);if(j[b+16>>2]>=2){while(1){e=d<<2;qe[j[j[(j[(b+e|0)+800>>2]<<2)+198148>>2]+16>>2]](j[e+j[c+48>>2]>>2]);d=d+1|0;if((d|0)>2]){continue}break}}e=j[c+48>>2]}ze(e)}e=j[c+52>>2];if(e){c:{if(!b){break c}d=1;if(j[b+20>>2]<1){break c}qe[j[j[(j[b+1312>>2]<<2)+198156>>2]+16>>2]](j[e>>2]);if(j[b+20>>2]>=2){while(1){e=d<<2;qe[j[j[(j[(b+e|0)+1312>>2]<<2)+198156>>2]+16>>2]](j[e+j[c+52>>2]>>2]);d=d+1|0;if((d|0)>2]){continue}break}}e=j[c+52>>2]}ze(e)}e=j[c+56>>2];if(e){d:{if(!b){break d}d=1;if(j[b+28>>2]<1){break d}Gp(e);if(j[b+28>>2]>=2){while(1){Gp(j[c+56>>2]+p(d,52)|0);d=d+1|0;if((d|0)>2]){continue}break}}e=j[c+56>>2]}ze(e)}b=j[c+60>>2];if(b){Nh(b)}j[c+80>>2]=0;j[c+84>>2]=0;j[c+120>>2]=0;j[c+124>>2]=0;j[c+112>>2]=0;j[c+116>>2]=0;j[c+104>>2]=0;j[c+108>>2]=0;j[c+96>>2]=0;j[c+100>>2]=0;j[c+88>>2]=0;j[c+92>>2]=0;Up(c+20|0);Up(c+32|0)}d=j[a+8>>2];e:{if(!d){break e}f:{if(!f){break f}e=j[f+4>>2];if((e|0)<1){break f}b=0;while(1){d=j[(b<<2)+d>>2];if(d){ze(d);e=j[f+4>>2]}b=b+1|0;if((e|0)>(b|0)){d=j[a+8>>2];continue}break}d=j[a+8>>2]}ze(d);b=j[a+12>>2];if(!b){break e}ze(b)}if(c){b=j[c+64>>2];if(b){ze(b)}b=j[c+68>>2];if(b){ze(b)}b=j[c+72>>2];if(b){ze(b)}ze(c)}Ee(a,0,112)}}function Hj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=oe-16|0;oe=h;a:{if(!(j[a>>2]==268306?a:0)){ve(31970,0);f=-1;break a}if(j[a+8>>2]!=1){f=ve(32025,0);break a}if(!b){b=h;j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=j[a+12>>2];j[b+12>>2]=j[a+16>>2]}f=j[a+44>>2];if(f){e=j[a+36>>2];b:{if(j[a+72>>2]!=j[e+352>>2]){break b}g=j[e+340>>2];if(!g){break b}f=e+420|0;i=qe[j[e+48>>2]](e,g,j[e+408>>2],j[e+412>>2])|0;while(1){g=f;f=j[f+8>>2];if(f){continue}break}j[g+8>>2]=j[e+432>>2];j[e+432>>2]=j[e+428>>2];j[e+428>>2]=0;f=j[e+344>>2];if(f){j[f+24>>2]=j[e+348>>2];j[e+344>>2]=0;j[e+348>>2]=j[e+340>>2];j[e+340>>2]=0}j[e+412>>2]=0;j[e+404>>2]=0;j[e+396>>2]=0;j[e+400>>2]=0;j[e+352>>2]=j[e+352>>2]+1;f=-1;if((i|0)<0){break a}f=j[a+44>>2]}f=jA(f,b,c,d);break a}if(j[a+40>>2]){f=j[b+4>>2];j[a+56>>2]=j[b>>2];j[a+60>>2]=f;g=j[b+12>>2];f=a- -64|0;j[f>>2]=j[b+8>>2];j[f+4>>2]=g;e=j[b>>2];f=j[a+52>>2];g=j[a+48>>2]+p(f,j[b+4>>2])|0;a=j[a+4>>2];c:{if(!(!a|(a&-268435456)==268435456)){b=2;if((a|0)==844715353|(a|0)==1498831189){break c}b=(a|0)==1431918169?2:1;break c}b=a&255}j[c>>2]=g+p(b,e);j[d>>2]=f;f=0;break a}d:{e=j[a+36>>2];if(j[a+72>>2]!=j[e+352>>2]){break d}g=j[e+340>>2];if(!g){break d}f=e+420|0;i=qe[j[e+48>>2]](e,g,j[e+408>>2],j[e+412>>2])|0;while(1){g=f;f=j[f+8>>2];if(f){continue}break}j[g+8>>2]=j[e+432>>2];j[e+432>>2]=j[e+428>>2];j[e+428>>2]=0;f=j[e+344>>2];if(f){j[f+24>>2]=j[e+348>>2];j[e+344>>2]=0;j[e+348>>2]=j[e+340>>2];j[e+340>>2]=0}j[e+412>>2]=0;j[e+404>>2]=0;j[e+396>>2]=0;j[e+400>>2]=0;j[e+352>>2]=j[e+352>>2]+1;if((i|0)>=0){break d}f=-1;break a}f=qe[j[e+60>>2]](e,a,b,c,d)|0}oe=h+16|0;return f}function OM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,l=0,n=0;l=oe-16|0;oe=l;d=j[a+656>>2];j[l+12>>2]=0;a:{if(!d){break a}f=j[d+2960>>2];c=0;b:{if(f){break b}f=He(j[a+100>>2],32,l+12|0);c=j[l+12>>2];if(c){break a}a=0;n=f;c=j[d+1324>>2];g=0;c:{if((c|0)==65535){break c}if(c>>>0>=391){e=c-391|0;g=0;if(e>>>0>=m[d+1312>>2]){break c}g=j[j[d+1316>>2]+(e<<2)>>2];break c}e=j[d+2956>>2];g=0;if(!e){break c}g=qe[j[e+20>>2]](c)|0}j[n>>2]=g;e=j[d+1328>>2];d:{if((e|0)==65535){break d}if(e>>>0>=391){c=e-391|0;if(c>>>0>=m[d+1312>>2]){break d}a=j[j[d+1316>>2]+(c<<2)>>2];break d}c=j[d+2956>>2];if(!c){break d}a=qe[j[c+20>>2]](e)|0}j[f+4>>2]=a;a=0;n=f;c=j[d+1336>>2];g=0;e:{if((c|0)==65535){break e}if(c>>>0>=391){e=c-391|0;g=0;if(e>>>0>=m[d+1312>>2]){break e}g=j[j[d+1316>>2]+(e<<2)>>2];break e}e=j[d+2956>>2];g=0;if(!e){break e}g=qe[j[e+20>>2]](c)|0}j[n+8>>2]=g;e=j[d+1340>>2];f:{if((e|0)==65535){break f}if(e>>>0>=391){c=e-391|0;if(c>>>0>=m[d+1312>>2]){break f}a=j[j[d+1316>>2]+(c<<2)>>2];break f}c=j[d+2956>>2];if(!c){break f}a=qe[j[c+20>>2]](e)|0}j[f+12>>2]=a;c=0;e=j[d+1344>>2];g:{if((e|0)==65535){break g}if(e>>>0>=391){a=e-391|0;if(a>>>0>=m[d+1312>>2]){break g}c=j[j[d+1316>>2]+(a<<2)>>2];break g}a=j[d+2956>>2];if(!a){break g}c=qe[j[a+20>>2]](e)|0}j[f+16>>2]=c;j[f+20>>2]=j[d+1352>>2];h[f+24|0]=k[d+1348|0];i[f+26>>1]=j[d+1356>>2];i[f+28>>1]=j[d+1360>>2];j[d+2960>>2]=f;c=j[l+12>>2]}a=j[f+4>>2];j[b>>2]=j[f>>2];j[b+4>>2]=a;a=j[f+28>>2];j[b+24>>2]=j[f+24>>2];j[b+28>>2]=a;a=j[f+20>>2];j[b+16>>2]=j[f+16>>2];j[b+20>>2]=a;a=j[f+12>>2];j[b+8>>2]=j[f+8>>2];j[b+12>>2]=a}oe=l+16|0;return c|0}function bJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0;d=a+10|0;if(d>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+6|0]|k[a+7|0]<<8|(k[a+8|0]<<16|k[a+9|0]<<24);n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=k[a+2|0]|k[a+3|0]<<8|(k[a+4|0]<<16|k[a+5|0]<<24);h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!((h-10>>>0)/11>>>0>=n>>>0?!(h>>>0<10|j[b+160>>2]-a>>>0>>0):0)){Pe(b,8)}if(n){o=a+4|0;c=1;while(1){p=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);a=k[d+3|0]|k[d+4|0]<<8|(k[d+5|0]<<16|k[d+6|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!(f>>>0>>0?e>>>0>>0:0)){Pe(b,8)}if(c>>>0>p>>>0){Pe(b,8)}a:{if(!e){break a}a=e+o|0;c=a-4|0;c=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(g>>>0>j[b+160>>2]-a>>>2>>>0){Pe(b,8);break b}if(!g){break a}}c=0;e=0;while(1){i=k[a+2|0]|(k[a+1|0]<<8|k[a|0]<<16);l=i+k[a+3|0]|0;if(l>>>0>=1114112){Pe(b,8)}if(e>>>0>i>>>0){Pe(b,8)}a=a+4|0;e=l+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}c:{if(!f){break c}a=f+o|0;c=a-4|0;c=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d:{if(c>>>0>j[b+160>>2]-a>>>2>>>0){Pe(b,8);break d}if(!c){break c}}e=0;g=0;while(1){i=k[a+3|0];l=k[a+4|0];f=k[a+2|0]|(k[a+1|0]<<8|k[a|0]<<16);if(f>>>0>=1114112){Pe(b,8)}if(e>>>0>f>>>0){Pe(b,8)}if(!(!j[b+164>>2]|m[b+172>>2]>(l|i<<8)>>>0)){Pe(b,16)}a=a+5|0;e=f+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}d=d+11|0;c=p+1|0;q=q+1|0;if((q|0)!=(n|0)){continue}break}}return 0}function jk(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;s=e>>8;if((d|0)==(f|0)){c=b-j[a+172>>2]|0;b=j[a+168>>2];b=((b|0)<(s|0)?b:s)-j[a+164>>2]|0;d=(b|0)>-1?b:-1;if(!((c|0)==j[a+160>>2]?(d|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=c;j[a+156>>2]=d}j[a+196>>2]=c>>>0>2]?(d|0)>=j[a+180>>2]:1;return}v=e&255;i=c&255;r=c>>8;if((r|0)==(s|0)){b=f-d|0;j[a+192>>2]=b+j[a+192>>2];j[a+188>>2]=j[a+188>>2]+p(b,i+v|0);return}l=f-d|0;g=a;k=e-c|0;a:{if((k|0)>-1){w=256;u=1;c=256-i|0;break a}k=0-k|0;u=-1;c=i}e=p(c,l);c=(e|0)/(k|0)|0;n=e-p(c,k)|0;h=c+(n>>31)|0;l=h+j[a+192>>2]|0;j[g+192>>2]=l;o=j[a+188>>2]+p(h,i|w)|0;j[a+188>>2]=o;c=j[a+168>>2];e=r+u|0;c=((c|0)<(e|0)?c:e)-j[a+164>>2]|0;g=(c|0)>-1?c:-1;i=b-j[a+172>>2]|0;if(!((i|0)==j[a+160>>2]?(g|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+160>>2]=i;j[a+156>>2]=g;o=0;l=0}c=1;r=j[a+184>>2];c=r>>>0>i>>>0?j[a+180>>2]<=(g|0):c;j[a+196>>2]=c;d=d+h|0;if((e|0)!=(s|0)){q=(f+h|0)-d<<8;h=(q|0)/(k|0)|0;q=q-p(h,k)|0;t=q>>31;q=(t&k)+q|0;t=h+t|0;h=n-((n|0)<0?0:k)|0;while(1){h=h+q|0;n=((h^-1)>>>31|0)+t|0;l=n+l|0;j[a+192>>2]=l;o=(n<<8)+o|0;j[a+188>>2]=o;x=g;g=j[a+168>>2];e=e+u|0;g=((e|0)>(g|0)?g:e)-j[a+164>>2]|0;g=(g|0)>-1?g:-1;y=i;i=b-j[a+172>>2]|0;if(!((y|0)==(i|0)?(x|0)==(g|0):0)){if(!c){Og(a);r=j[a+184>>2]}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=i;j[a+156>>2]=g;o=0;l=0}c=1;h=h-((h|0)<0?0:k)|0;d=d+n|0;c=i>>>0>>0?(g|0)>=j[a+180>>2]:c;j[a+196>>2]=c;if((e|0)!=(s|0)){continue}break}}b=f-d|0;j[a+192>>2]=b+l;j[a+188>>2]=p(b,(v|256)-w|0)+o}function ey(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;a:{f=j[a+28>>2];if(!f){break a}e=j[a+56>>2];d=j[a+48>>2];i=j[a+36>>2];l=j[a+16>>2];b=j[a+24>>2];m=b&7;n=(b+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];b:while(1){g=n;c:{d:{switch(m-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=1;continue;case 1:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=2;continue;case 2:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=3;continue;case 3:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=4;continue;case 4:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=5;continue;case 5:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=6;continue;case 6:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=7;continue;default:break e}}b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}b=f-1|0;a=a+3|0;c=c+1|0;f:{if((g|0)>1){g=g-1|0;break f}a=a+i|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function uw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,x)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(i,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+i|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=i+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function ow(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,x)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(f,i)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+i|0;e=((p(b,e)>>>0)/255|0)+l|0;m=((p(b,m)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=f+i|0;f=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=h+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function nm(a){var b=0,c=0,d=0,e=0;FK(a);a:{if(k[a+432|0]){b=j[a+352>>2];c=j[a+216>>2];j[a+356>>2]=c&2?b:b+7>>>3|0;e=j[a+348>>2];b=k[a+433|0];d=k[b+7105|0];j[a+368>>2]=((e+d|0)+(k[b+7098|0]^-1)>>>0)/(d>>>0);break a}j[a+356>>2]=j[a+352>>2];e=j[a+348>>2];j[a+368>>2]=e;c=j[a+216>>2]}d=k[a+438|0];d=c&4?k[a+436|0]<8?8:d:d;b=d&255;b:{if(c&4096){c:{d:{switch(k[a+435|0]){case 3:b=l[a+428>>1]?32:24;break c;case 0:b=(((d&255)>>>0>8?d:8)&255)<<(l[a+428>>1]!=0);break c;case 2:break d;default:break c}}if(!l[a+428>>1]){break c}b=((d&255)<<2>>>0)/3|0}if(!(c&512)){break b}b=b<<(k[a+436|0]<16);break b}if(!(c&512)){break b}j[a+216>>2]=c&-513}c=j[a+216>>2];d=c&32768;e:{if(!d){break e}f:{switch(k[a+435|0]){case 0:b=(b|0)<9?16:32;break e;case 2:case 3:break f;default:break e}}b=(b|0)>32?64:32}g:{if(!(c&16384)){break g}h:{if(!(d|c>>>12&l[a+428>>1]!=0)){d=k[a+435|0];if((d|0)!=4){break h}}b=(b|0)<17?32:64;break g}if((b|0)<=8){b=(d|0)==6?32:24;break g}b=(d|0)==6?64:48}if(c&1048576){c=p(k[a+205|0],k[a+204|0]);b=(b|0)<(c|0)?c:b}h[a+443|0]=0;h[a+442|0]=b;c=e+7&-8;c=((b+7>>3)+((b|0)>7?p(c,b>>>3|0):p(b,c)>>>3|0)|0)+49|0;if(c>>>0>m[a+784>>2]){Ke(a,j[a+728>>2]);Ke(a,j[a+804>>2]);b=a;i:{if(k[a+432|0]){d=Bj(a,c);break i}d=ih(a,c)}j[b+728>>2]=d;b=ih(a,c);j[a+804>>2]=b;j[a+784>>2]=c;b=b+32|0;j[a+380>>2]=(b^-1|-16)+b;b=j[a+728>>2]+32|0;j[a+384>>2]=(b^-1|-16)+b}j:{b=j[a+364>>2];if((b|0)!=-1){Ee(j[a+380>>2],0,b+1|0);b=j[a+788>>2];if(b){j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,b)}if(wk(a,1229209940)){break j}j[a+212>>2]=j[a+212>>2]|64;return}Ye(a,7112);z()}Ye(a,j[a+248>>2]);z()}function dw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,y)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,x)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(l,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+l|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=l+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function _v(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,y)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,x)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(l,f)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+l|0;e=((p(b,e)>>>0)/255|0)+i|0;m=((p(b,m)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=l+f|0;f=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=h+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Mv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,i)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+i|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Lw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,y)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(l,f)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+l|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=l+f|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Hw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,y)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(f,h)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;m=(p(l,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+i|0;m=((p(b,m)>>>0)/255|0)+l|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=f+h|0;f=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=l+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Fv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(f,h)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;m=(p(i,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+l|0;m=((p(b,m)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=f+h|0;f=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=i+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function gx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;n=j[a+24>>2];w=(j[a+4>>2]<<16)/(n|0)|0;x=(j[a+8>>2]<<16)/(b|0)|0;if(b){y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]:255;B=(b&48)!=0&(o|0)!=255;C=b&1;r=o^255;b=b&112;D=b-16|0;E=(b|0)==64;q=j[a+20>>2];b=q;while(1){if((f|0)>=65536){c=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(c&-65536)|0)-65536|0;u=((c>>>16|0)+u|0)+1|0}if(n){s=-1;d=65536;v=0;while(1){if((d|0)>=65536){c=(d-((d|0)<131071?d:131071)|0)+65535|0;s=((c>>>16|0)+s|0)+1|0;v=(j[a>>2]+p(j[a+12>>2],u)|0)+(s<<2)|0;d=(d-(c&-65536)|0)-65536|0}e=j[b>>2];c=j[v>>2];g=c&255;h=c>>>8&255;i=c>>>16&255;if(C){g=(p(g,y)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;i=(p(i,A)>>>0)/255|0}if(B){g=(p(g,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0}n=n-1|0;t=e>>>24|0;l=e&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(D|0){default:if(!E){break a}l=(p(g,l)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;break a;case 0:t=((p(r,t)>>>0)/255|0)+o|0;l=((p(l,r)>>>0)/255|0)+g|0;m=((p(m,r)>>>0)/255|0)+h|0;e=((p(e,r)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}c=g+l|0;l=c>>>0<255?c:255;c=h+m|0;m=c>>>0<255?c:255;c=e+i|0;e=c>>>0<255?c:255}j[b>>2]=m<<8|e<<16|l|t<<24;b=b+4|0;d=d+w|0;if(n){continue}break}d=j[a+28>>2]}b=d-1|0;j[a+28>>2]=b;q=j[a+32>>2]+q|0;if(d){f=f+x|0;n=j[a+24>>2];d=b;b=q;continue}break}j[a+20>>2]=q}}function Rw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;m=j[a+24>>2];v=(j[a+4>>2]<<16)/(m|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];n=c&2?k[a+63|0]:255;A=(c&48)!=0&(n|0)!=255;B=c&1;q=n^255;c=c&112;C=c-16|0;D=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(m){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];g=b&255;h=b>>>8&255;b=b>>>16&255;if(B){h=(p(h,y)>>>0)/255|0;g=(p(g,z)>>>0)/255|0;b=(p(b,x)>>>0)/255|0}if(A){h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}m=m-1|0;s=e>>>24|0;i=e&255;l=e>>>8&255;e=e>>>16&255;a:{b:{switch(C|0){default:if(!D){break a}i=(p(b,i)>>>0)/255|0;l=(p(h,l)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:s=((p(q,s)>>>0)/255|0)+n|0;i=((p(i,q)>>>0)/255|0)+b|0;l=((p(l,q)>>>0)/255|0)+h|0;e=((p(e,q)>>>0)/255|0)+g|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=b+i|0;i=b>>>0<255?b:255;b=h+l|0;l=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[c>>2]=l<<8|e<<16|i|s<<24;c=c+4|0;d=d+v|0;if(m){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){f=f+w|0;m=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function MF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;k=oe-272|0;oe=k;h=j[a+28>>2];d=bf(1,1120);a=Ce(b,5);j[d>>2]=a;a:{b:{c:{d:{if((a|0)<1){break d}f=d+4|0;e=-1;while(1){a=Ce(b,4);j[f+(c<<2)>>2]=a;if((a|0)<0){break c}e=(a|0)>(e|0)?a:e;c=c+1|0;if((c|0)>2]){continue}break}if((e|0)<0){break d}l=d+320|0;f=d+256|0;m=d+192|0;n=d+128|0;c=0;while(1){a=c<<2;o=a+n|0,p=Ce(b,3)+1|0,j[o>>2]=p;i=a+m|0;g=Ce(b,2);j[i>>2]=g;if((g|0)<0){break c}e:{if(!g){a=j[a+f>>2];break e}g=a+f|0;a=Ce(b,8);j[g>>2]=a}if((a|0)<0|j[h+24>>2]<=(a|0)){break c}a=0;if(j[i>>2]!=31){while(1){g=Ce(b,8);j[(l+(c<<5)|0)+(a<<2)>>2]=g-1;if((g|0)<0|(g|0)>j[h+24>>2]){break c}a=a+1|0;if((a|0)<1<>2]){continue}break}}a=(c|0)!=(e|0);c=c+1|0;if(a){continue}break}}o=d,p=Ce(b,2)+1|0,j[o+832>>2]=p;h=Ce(b,4);if((h|0)<0){break c}e=j[d>>2];f:{if((e|0)<=0){f=1<>2]<<2)>>2]+c|0;if((c|0)>63){break c}if((a|0)<(c|0)){while(1){e=Ce(b,h);j[(g+(a<<2)|0)+8>>2]=e;if((e|0)<0|(e|0)>=(f|0)){break c}a=a+1|0;if((c|0)!=(a|0)){continue}break}e=j[d>>2];a=c}i=i+1|0;if((i|0)<(e|0)){continue}break}}j[d+840>>2]=f;a=0;j[d+836>>2]=0;b=c+2|0;if((c|0)<=-2){fg(k,b,4,1028);break a}e=d+836|0;h=(b|0)>1?b:1;while(1){f=a<<2;j[f+k>>2]=e+f;a=a+1|0;if((h|0)!=(a|0)){continue}break}fg(k,b,4,1028);if((c|0)<0){break a}b=(b|0)>2?b:2;e=j[j[k>>2]>>2];a=1;while(1){c=e;e=j[j[(a<<2)+k>>2]>>2];if((c|0)!=(e|0)){a=a+1|0;if((b|0)!=(a|0)){continue}break a}break}if(!d){break b}}ze(d)}d=0}oe=k+272|0;return d|0}function vv(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;g=oe-16|0;oe=g;c=j[a+52>>2];f=j[c>>2];d=j[f+4>>2];a:{if(k[d+8|0]<=7){vf(c);a=ve(54336,0);break a}if(k[a|0]&2){bi(a,1);d=j[f+4>>2]}j[c+8>>2]=429;j[c+56>>2]=j[a+4>>2];b=j[a+16>>2];j[c+60>>2]=d;j[c+28>>2]=b;j[c+48>>2]=j[f+16>>2];b:{if(!(k[c+69|0]&16)){break b}if(Cj(a)){break b}a=0;break a}c:{if(!(!j[c+4>>2]|j[c+68>>2]&-4097)){b=430;break c}b=j[a+4>>2];if(!(k[j[f+4>>2]+28|0]<9?k[b+28|0]<=8:0)){vf(c);a=ve(54336,0);break a}d:{e:{if(k[b+8|0]>7){break e}d=j[b>>2];if(((d&-268435456)!=268435456?d:0)|(d>>>24&15)-1>>>0>2){break e}b=Ay(a);break d}f:{if(k[b+9|0]!=1){break f}b=j[b>>2];if(((b&-268435456)!=268435456?b:0)|(b>>>24&15)-1>>>0>2){break f}b=ny(a);break d}if(k[c+68|0]&16){b=cy(a);break d}b=Rx(a)}if(b){break c}d=j[c+68>>2];i=j[j[f+4>>2]>>2];l=j[j[a+4>>2]>>2];g:{if(j[58615]!=-1){break g}b=Mf(54367);j[58615]=0;if(b){j[g>>2]=234460;Vy(b,g);break g}if(Dn()){j[58615]=j[58615]|1}if(Py()){j[58615]=j[58615]|2}if(Oy()){j[58615]=j[58615]|4}if(Ny()){j[58615]=j[58615]|8}if(!Ry()){break g}j[58615]=j[58615]|16}b=j[57984];if(b){h=d&883;d=0;m=j[58615];while(1){e=p(d,20);if(!(j[e+231920>>2]!=(l|0)|j[e+231924>>2]!=(i|0)|(j[e+231928>>2]&h)!=(h|0))){e=j[e+231932>>2];if((e&m)==(e|0)){break c}}d=d+1|0;b=j[p(d,20)+231936>>2];if(b){continue}break}}b=j[j[f+4>>2]>>2];a=j[j[a+4>>2]>>2];if(!(((a&-268435456)!=268435456?a:0)|(a>>>24&15)-1>>>0<3|((b>>>24&15)-1>>>0<3|((b&-268435456)!=268435456?b:0)))){j[c+12>>2]=431;a=0;break a}j[c+12>>2]=0;vf(c);a=ve(54336,0);break a}j[c+12>>2]=b;a=0}oe=g+16|0;return a}function mh(a,b){var c=0,d=0,e=0;if(!(j[a>>2]==268305?a:0)){ve(31725,0);return}a:{b:{if(b){c=a;e=v(+q(n[a+288>>2]*q(j[b>>2])));c:{if(r(e)<2147483648){d=~~e;break c}d=-2147483648}j[c+216>>2]=d;c=a;e=v(+q(n[a+292>>2]*q(j[b+4>>2])));d:{if(r(e)<2147483648){d=~~e;break d}d=-2147483648}j[c+220>>2]=d;c=a;e=w(+q(n[a+288>>2]*q(j[b+8>>2])));e:{if(r(e)<2147483648){d=~~e;break e}d=-2147483648}j[c+224>>2]=d;e=w(+q(n[a+292>>2]*q(j[b+12>>2])));if(!(r(e)<2147483648)){break b}j[a+228>>2]=~~e;break a}j[a+216>>2]=0;j[a+220>>2]=0;b=a+228|0;c=a+224|0;d=j[a+316>>2];if(d){if(j[d>>2]!=268306){ve(31970,0);return}j[c>>2]=j[d+12>>2];j[b>>2]=j[d+16>>2];break a}d=j[a+8>>2];f:{if(d){b=qe[d|0](a,c,b)|0;break f}d=j[a+188>>2];if(d){Wg(d,c,b);break a}b=ve(31742,0)}if((b|0)>=0){break a}return}j[a+228>>2]=-2147483648}g:{if(j[a+400>>2]){if(!wf(a+216|0,a+360|0,16)){break g}}h:{b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break h}b=Xe(1,28);if(b){break h}Be(0);return}c=j[a+344>>2];j[(c?c+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){return}j[b>>2]=1;j[b+4>>2]=0;c=a+216|0;Ge(b+8|0,c,16);if((qe[j[a+20>>2]](a,b)|0)<=-1){j[b>>2]=0;return}Ge(a+360|0,c,16);j[a+400>>2]=1}i:{if(j[a+336>>2]){break i}c=j[a+340>>2];if(!c){break i}b=a+420|0;qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[b+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}}function yf(a,b,c){var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;d=oe-16|0;oe=d;g=j[a>>2];j[d+12>>2]=0;a:{b:{b=i[a+58>>1]+(i[a+22>>1]+b|0)|0;e=j[a+4>>2];h=b>>>0<=e>>>0;if(!h){b=b+7&-8;f=10;if(b>>>0>32767){break a}m=a,n=xe(g,8,e,b,j[a+24>>2],d+12|0),j[m+24>>2]=n;if(j[d+12>>2]){break b}m=a,n=xe(g,1,e,b,j[a+28>>2],d+12|0),j[m+28>>2]=n;if(j[d+12>>2]){break b}if(k[a+16|0]){f=xe(g,8,e<<1,b<<1,j[a+40>>2],d+12|0);j[a+40>>2]=f;if(j[d+12>>2]){break b}l=b<<3;e=e<<3;yg(l+f|0,e+f|0,e);j[a+44>>2]=j[a+40>>2]+l}j[a+4>>2]=b}b=i[a+20>>1];c=i[a+56>>1]+(c+b|0)|0;e=j[a+8>>2];c:{d:{if(c>>>0>e>>>0){b=c+3&-4;f=10;if(b>>>0>32767){break a}c=xe(g,2,e,b,j[a+32>>2],d+12|0);j[a+32>>2]=c;if(j[d+12>>2]){break b}j[a+8>>2]=b;b=i[a+20>>1];break d}if(h){break c}c=j[a+32>>2]}j[a+68>>2]=(b<<1)+c;c=i[a+22>>1];b=c<<3;j[a+60>>2]=b+j[a+24>>2];j[a- -64>>2]=c+j[a+28>>2];if(!k[a+16|0]){break c}j[a+76>>2]=b+j[a+40>>2];j[a+80>>2]=b+j[a+44>>2]}if(j[d+12>>2]){break b}f=0;break a}b=j[a>>2];c=b;g=j[a+24>>2];if(g){qe[j[c+8>>2]](c,g)}j[a+24>>2]=0;c=j[a+28>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+28>>2]=0;c=j[a+32>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+32>>2]=0;c=j[a+40>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+40>>2]=0;c=j[a+52>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+44>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+20>>2]=0;j[a+88>>2]=0;j[a+12>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;b=j[a+40>>2];j[a+72>>2]=j[a+36>>2];j[a+76>>2]=b;c=j[a+32>>2];b=a- -64|0;j[b>>2]=j[a+28>>2];j[b+4>>2]=c;b=j[a+48>>2];j[a+80>>2]=j[a+44>>2];j[a+84>>2]=b;b=j[a+24>>2];j[a+56>>2]=j[a+20>>2];j[a+60>>2]=b;f=j[d+12>>2]}oe=d+16|0;return f}function fv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0,m=0;h=oe-96|0;oe=h;g=Hk(b,57638);a:{if(!g){b:{a=eg(57603);c:{if(!a|(k[a|0]&254)==48){break c}if(!Me(a,57661)){break c}if(!Me(a,57632)){break c}if(!Me(a,57594)){break c}while(1){d:{bo(f,h+8|0);if(!Me(j[h+8>>2],a)){break d}f=f+1|0;if((f|0)<2){continue}break c}break}f=cl(b,f,0);if(f){break b}}a=0;while(1){bo(a,h+8|0);if(cf(j[h+8>>2],57594)){f=cl(b,a,0);if(f){break b}}a=a+1|0;if((a|0)<2){continue}break}a=ve(57666,0);break a}g=Xe(1,20);if(!g){Zk(f);a=Be(0);break a}rj(b,57638,g);j[g>>2]=f}a=j[g+4>>2];if(a){lh(a);j[g+4>>2]=0}a=j[g+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}f=0;j[g+8>>2]=0;a=-1;if((wA(j[g>>2],h+8|0)|0)<=-1){break a}i=j[h+20>>2];j[c>>2]=i;m=j[h+16>>2];e:{if(!m){a=i;break e}a=i;while(1){f:{if((a&-268435456)!=268435456?a:0){break f}l=a>>>24&15;g:{if(l-4>>>0<=2){l=a>>>20&15;if(l>>>0>8|!(1<>>0>4){break g}l=a>>>20&15;if(l>>>0>6){break g}if(1<>2]=a;break e}f=f+1|0;if((m|0)==(f|0)){a=i}else{a=j[((f<<2)+h|0)+20>>2];continue}break}}i=$k(j[g>>2],a,1,j[b+24>>2],j[b+28>>2]);j[g+4>>2]=i;a=-1;if(!i){break a}i=g;a=j[c>>2];h:{if(!(!a|(a&-268435456)==268435456)){f=2;if((a|0)==844715353|(a|0)==1498831189){break h}f=(a|0)==1431918169?2:1;break h}f=a&255}j[i+16>>2]=f;a=p(j[b+24>>2],f)+3&-4;j[g+12>>2]=a;a=p(a,j[b+28>>2]);a=a?a:1;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}j[g+8>>2]=a;if(!a){a=Be(0);break a}j[d>>2]=a;j[e>>2]=j[g+12>>2];mh(j[g>>2],0);a=0}oe=h+96|0;return a|0}function Un(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe+ -64|0;oe=e;c=j[a+436>>2];if(c){d=Vg();b=j[c>>2];a:{if((d|0)!=(b|0)){j[c+424>>2]=0;if((tg(j[a+188>>2],b)|0)<0){break a}}b=j[a+436>>2];if(!j[b+4>>2]){break a}while(1){if(qe[j[b+104>>2]]()|0){continue}break}}b=j[c+252>>2];if(b){while(1){qe[j[c+56>>2]](j[b>>2]);d=j[b+20>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=d;if(b){continue}break}}b=j[c+260>>2];if(b){while(1){qe[j[c+52>>2]](j[b>>2]);d=j[b+148>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=d;if(b){continue}break}}if(j[c>>2]){f=j[c+232>>2];if(f){while(1){b=f+8|0;f=j[f+12>>2];qe[j[c+200>>2]](1,b);g=j[a+436>>2];b:{if(!j[g+4>>2]){break b}b=32509;d=qe[j[g+104>>2]]()|0;if(!d){break b}while(1){b=k[b|0]?b:34262;h=34367;i=d-1280|0;if(i>>>0<=5){h=j[(i<<2)+34376>>2]}j[e+52>>2]=d;j[e+48>>2]=h;j[e+44>>2]=33583;j[e+40>>2]=1377;j[e+36>>2]=32510;j[e+32>>2]=b;ve(34270,e+32|0);d=qe[j[g+104>>2]]()|0;if(d){continue}break}}b=j[c+232>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[c+232>>2]=f;if(f){continue}break}}qe[j[c+216>>2]](8,c+272|0);f=j[a+436>>2];c:{if(!j[f+4>>2]){break c}d=qe[j[f+104>>2]]()|0;if(!d){break c}b=32509;while(1){b=k[b|0]?b:34262;h=34367;g=d-1280|0;if(g>>>0<=5){h=j[(g<<2)+34376>>2]}j[e+20>>2]=d;j[e+16>>2]=h;j[e+12>>2]=33583;j[e+8>>2]=1383;j[e+4>>2]=32510;j[e>>2]=b;ve(34270,e);d=qe[j[f+104>>2]]()|0;if(d){continue}break}}Dk(j[c>>2])}b=j[c+244>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}oe=e- -64|0}function Ko(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,p=0;e=oe-112|0;oe=e;h[a|0]=0;if(j[65586]){d=1023;b=k[262348];a:{if(!b){c=a;break a}p=e+110|0;m=1;n=e+80|1;f=262348;c=a;while(1){b:{if((b&255)==37){h[e+80|0]=37;l=f+1|0;c:{d:{e:{i=k[f+1|0];f:{if((i|0)==46){b=n;break f}b=n;if((i-48&255)>>>0>=10){break e}}while(1){h[b|0]=i;b=b+1|0;f=l;i=k[f+1|0];if((i-48&255)>>>0>=10?(i|0)!=46:0){break e}l=f+1|0;if(b>>>0

>>0){continue}break}break d}if((i|0)!=108){break d}h[b|0]=108;l=h[f+2|0];h[b+2|0]=0;h[b+1|0]=l;f=f+3|0;g:{switch(l-88|0){case 0:case 12:case 17:case 29:case 32:break g;default:break c}}j[e+64>>2]=j[(g<<7)+262480>>2];g=g+1|0;b=Ue(c,d,e+80|0,e- -64|0);if((b|0)<1){break c}d=d-b|0;c=b+c|0;break b}h[b+1|0]=0;h[b|0]=i;f=f+2|0;h:{switch((i<<24>>24)-37|0){case 0:h[c|0]=37;d=d-1|0;c=c+1|0;break b;case 51:case 62:case 63:case 68:case 74:case 80:case 83:j[e>>2]=j[(g<<7)+262480>>2];g=g+1|0;b=Ue(c,d,e+80|0,e);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b;case 65:o[e+16>>3]=o[(g<<7)+262480>>3];g=g+1|0;b=Ue(c,d,e+80|0,e+16|0);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b;case 75:j[e+32>>2]=j[(g<<7)+262480>>2];g=g+1|0;b=Ue(c,d,e+80|0,e+32|0);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b;case 78:break h;default:break b}}j[e+48>>2]=(g<<7)+262480;g=g+1|0;b=Ue(c,d,e+80|0,e+48|0);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b}b=k[f|0];if((b|0)!=0&m){continue}break a}h[c|0]=b;d=d-1|0;c=c+1|0;f=f+1|0}if((d|0)<1){break a}m=(d|0)>0;b=k[f|0];if(b){continue}break}}h[((d|0)<0?(c+d|0)-1|0:c)|0]=0}oe=e+112|0;return a}function GG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0;e=oe-16|0;oe=e;g=j[b+16>>2];o=j[a+488>>2];qe[j[b+28>>2]](b);c=j[b>>2];a:{if(!(c>>>0>=m[b+8>>2]|k[c|0]!=91)){qe[j[b+32>>2]](b);qe[j[b+28>>2]](b);a=j[b>>2];if(k[a|0]==93?a>>>0>2]:0){break a}j[b+12>>2]=3;break a}p=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}h=b+316|0;qe[j[b+28>>2]](b);b:{if(!j[b+312>>2]){c=qe[j[j[o>>2]>>2]](h,p,g)|0;j[e+12>>2]=c;if(c){break b}}c=j[b>>2];c:{if(m[b+8>>2]<=c+4>>>0){break c}while(1){if(Qe(c,162292,3)){break c}qe[j[b+32>>2]](b);f=qe[j[b+36>>2]](b)|0;i=j[j[a+128>>2]+48>>2];c=j[b+8>>2];qe[j[b+28>>2]](b);d:{d=j[b>>2];e:{if(d>>>0>=c>>>0|k[d|0]-48>>>0>9){break e}d=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((d|0)<0){break e}l=c;c=j[b>>2];n=c+1|0;if((d|0)<(l-n|0)){break d}}if(i){break a}j[b+12>>2]=3;break a}j[b>>2]=(c+d|0)+1;if(j[b+12>>2]){break a}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}qe[j[b+28>>2]](b);c=j[b>>2];f:{if(m[b+8>>2]<=c+4>>>0){break f}if(Qe(c,162296,3)){break f}qe[j[b+32>>2]](b);qe[j[b+28>>2]](b)}if(!j[b+312>>2]){c=j[a+172>>2];g:{if((c|0)>=0){if(c>>>0>d>>>0){c=3;j[e+12>>2]=3;break b}i=He(g,d,e+12|0);c=j[e+12>>2];if(c){break b}c=Ae(i,n,d);qe[j[o+16>>2]](c,d,4330);l=f;f=j[a+172>>2];q=e,r=qe[j[b+360>>2]](h,l,f+c|0,d-f|0)|0,j[q+12>>2]=r;if(c){qe[j[g+8>>2]](g,c)}c=j[e+12>>2];break g}c=qe[j[b+360>>2]](h,f,n,d)|0;j[e+12>>2]=c}if(c){break b}}c=j[b>>2];if(m[b+8>>2]>c+4>>>0){continue}break}}if(j[b+312>>2]){break a}j[b+312>>2]=p;break a}j[b+12>>2]=c}oe=e+16|0}function rx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(b|0)|0;if(b){x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]:255;A=(b&48)!=0&(o|0)!=255;B=b&1;r=o^255;b=b&112;C=b-16|0;D=(b|0)==64;q=j[a+20>>2];b=q;while(1){if((f|0)>=65536){c=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(c&-65536)|0)-65536|0;t=((c>>>16|0)+t|0)+1|0}if(n){s=-1;d=65536;u=0;while(1){if((d|0)>=65536){c=(d-((d|0)<131071?d:131071)|0)+65535|0;s=((c>>>16|0)+s|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(s<<2)|0;d=(d-(c&-65536)|0)-65536|0}e=j[b>>2];c=j[u>>2];g=c&255;h=c>>>8&255;i=c>>>16&255;if(B){g=(p(g,x)>>>0)/255|0;h=(p(h,y)>>>0)/255|0;i=(p(i,z)>>>0)/255|0}if(A){g=(p(g,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0}n=n-1|0;l=e&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(C|0){default:if(!D){break a}l=(p(g,l)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;break a;case 0:l=((p(l,r)>>>0)/255|0)+g|0;m=((p(m,r)>>>0)/255|0)+h|0;e=((p(e,r)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}c=g+l|0;l=c>>>0<255?c:255;c=h+m|0;m=c>>>0<255?c:255;c=e+i|0;e=c>>>0<255?c:255}j[b>>2]=m<<8|e<<16|l;b=b+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}b=d-1|0;j[a+28>>2]=b;q=j[a+32>>2]+q|0;if(d){f=f+w|0;n=j[a+24>>2];d=b;b=q;continue}break}j[a+20>>2]=q}}function nx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(b|0)|0;if(b){x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]:255;A=(b&48)!=0&(o|0)!=255;B=b&1;r=o^255;b=b&112;C=b-16|0;D=(b|0)==64;q=j[a+20>>2];b=q;while(1){if((f|0)>=65536){c=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(c&-65536)|0)-65536|0;t=((c>>>16|0)+t|0)+1|0}if(n){s=-1;d=65536;u=0;while(1){if((d|0)>=65536){c=(d-((d|0)<131071?d:131071)|0)+65535|0;s=((c>>>16|0)+s|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(s<<2)|0;d=(d-(c&-65536)|0)-65536|0}e=j[b>>2];c=j[u>>2];g=c&255;h=c>>>8&255;i=c>>>16&255;if(B){g=(p(g,x)>>>0)/255|0;h=(p(h,y)>>>0)/255|0;i=(p(i,z)>>>0)/255|0}if(A){g=(p(g,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0}n=n-1|0;l=e&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(C|0){default:if(!D){break a}e=(p(e,g)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;l=(p(i,l)>>>0)/255|0;break a;case 0:e=((p(e,r)>>>0)/255|0)+g|0;m=((p(m,r)>>>0)/255|0)+h|0;l=((p(l,r)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}c=e+g|0;e=c>>>0<255?c:255;c=h+m|0;m=c>>>0<255?c:255;c=i+l|0;l=c>>>0<255?c:255}j[b>>2]=m<<8|l|e<<16;b=b+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}b=d-1|0;j[a+28>>2]=b;q=j[a+32>>2]+q|0;if(d){f=f+w|0;n=j[a+24>>2];d=b;b=q;continue}break}j[a+20>>2]=q}}function Wz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;m=oe-32|0;k=m;oe=k;h=j[b+8>>2];f=j[a+316>>2];i=376840196;a:{if(!f){break a}i=j[f+4>>2]}l=!i|(i&-268435456)==268435456;b:{if(!l){f=2;if((i|0)==844715353|(i|0)==1498831189){break b}f=(i|0)==1431918169?2:1;break b}f=i&255}n=p(f,h);h=p(n,j[b+12>>2]);c:{if(!h){break c}f=j[a+436>>2];h=qe[j[57972]](h?h:1)|0;if(h){j[57976]=j[57976]+1}if(!h){g=Be(0);break c}al(a,k+28|0,k+24|0);o=j[f+136>>2];q=j[b>>2];d:{if(j[a+316>>2]){f=j[b+12>>2];g=j[b+4>>2];break d}f=j[b+12>>2];g=(j[k+24>>2]-j[b+4>>2]|0)-f|0}qe[o|0](q,g,j[b+8>>2],f,6408,5121,h);e:{f=j[a+436>>2];if(!j[f+4>>2]){break e}g=qe[j[f+104>>2]]()|0;if(!g){break e}while(1){a=34367;b=g-1280|0;if(b>>>0<=5){a=j[(b<<2)+34376>>2]}j[k+20>>2]=g;j[k+16>>2]=a;j[k+12>>2]=34239;j[k+8>>2]=1829;j[k+4>>2]=32510;j[k>>2]=34224;ve(34270,k);g=qe[j[f+104>>2]]()|0;if(g){continue}break}g=-1;break c}f:{if(j[a+316>>2]){break f}a=j[b+8>>2];f=j[b+12>>2];g:{if(!l){g=2;if((i|0)==844715353|(i|0)==1498831189){break g}g=(i|0)==1431918169?2:1;break g}g=i&255}l=p(g,a);h:{if(l>>>0<=127){m=m-(l+15&-16)|0;oe=m;a=f;break h}m=qe[j[57972]](l?l:1)|0;if(m){j[57976]=j[57976]+1}a=j[b+12>>2]}if(a+1>>>0>=3){g=h+p(f-1|0,n)|0;o=0-n|0;f=(a|0)/2|0;a=h;while(1){Ge(m,a,l);Ge(a,g,l);Ge(g,m,l);g=g+o|0;a=a+n|0;f=f-1|0;if(f){continue}break}}if(l>>>0<128){break f}if(m){qe[j[57975]](m);j[57976]=j[57976]-1}}g=fh(j[b+8>>2],j[b+12>>2],i,h,n,c,d,e);if(h){qe[j[57975]](h);j[57976]=j[57976]-1}}oe=k+32|0;return g|0}function bx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;m=j[a+24>>2];u=(j[a+4>>2]<<16)/(m|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+62|0];x=k[a+61|0];y=k[a+60|0];c=j[a+52>>2];n=c&2?k[a+63|0]:255;z=(c&48)!=0&(n|0)!=255;A=c&1;q=n^255;c=c&112;B=c-16|0;C=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(m){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];g=b&255;h=b>>>8&255;b=b>>>16&255;if(A){h=(p(h,x)>>>0)/255|0;g=(p(g,y)>>>0)/255|0;b=(p(b,w)>>>0)/255|0}if(z){h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}m=m-1|0;i=e&255;l=e>>>8&255;e=e>>>16&255;a:{b:{switch(B|0){default:if(!C){break a}i=(p(b,i)>>>0)/255|0;l=(p(h,l)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:i=((p(i,q)>>>0)/255|0)+b|0;l=((p(l,q)>>>0)/255|0)+h|0;e=((p(e,q)>>>0)/255|0)+g|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=b+i|0;i=b>>>0<255?b:255;b=h+l|0;l=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[c>>2]=l<<8|e<<16|i;c=c+4|0;d=d+u|0;if(m){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){f=f+v|0;m=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Yw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;m=j[a+24>>2];u=(j[a+4>>2]<<16)/(m|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+62|0];x=k[a+61|0];y=k[a+60|0];c=j[a+52>>2];n=c&2?k[a+63|0]:255;z=(c&48)!=0&(n|0)!=255;A=c&1;q=n^255;c=c&112;B=c-16|0;C=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(m){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];g=b&255;h=b>>>8&255;b=b>>>16&255;if(A){h=(p(h,x)>>>0)/255|0;g=(p(g,y)>>>0)/255|0;b=(p(b,w)>>>0)/255|0}if(z){h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}m=m-1|0;i=e&255;l=e>>>8&255;e=e>>>16&255;a:{b:{switch(B|0){default:if(!C){break a}e=(p(b,e)>>>0)/255|0;l=(p(h,l)>>>0)/255|0;i=(p(g,i)>>>0)/255|0;break a;case 0:e=((p(e,q)>>>0)/255|0)+b|0;l=((p(l,q)>>>0)/255|0)+h|0;i=((p(i,q)>>>0)/255|0)+g|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=b+e|0;e=b>>>0<255?b:255;b=h+l|0;l=b>>>0<255?b:255;b=g+i|0;i=b>>>0<255?b:255}j[c>>2]=l<<8|i|e<<16;c=c+4|0;d=d+u|0;if(m){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){f=f+v|0;m=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function dK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=oe-17408|0;oe=c;a:{if(!a){a=96;break a}d=j[b+4>>2];if(!d){a=20;break a}a=i[d+2>>1];b:{if(!a){break b}e=i[d>>1];if((e|0)<1){break b}f=j[d+12>>2];if(!f){a=20;break a}if(!j[d+4>>2]){a=20;break a}if((a|0)!=(i[((e<<1)+f|0)-2>>1]+1|0)){a=20;break a}a=19;if(k[b+8|0]&3){break a}b=j[b>>2];if(!b){a=20;break a}if(!j[b+4>>2]){break b}a=0;if(!j[b>>2]){break a}a=20;if(!j[b+12>>2]){break a}a=j[d+16>>2];j[c+16528>>2]=a;f=j[d+12>>2];e=c+16520|0;j[e>>2]=j[d+8>>2];j[e+4>>2]=f;e=j[d+4>>2];j[c+16512>>2]=j[d>>2];j[c+16516>>2]=e;e=j[b+12>>2];d=c+16496|0;j[d>>2]=j[b+8>>2];j[d+4>>2]=e;e=j[b+20>>2];d=c+16504|0;j[d>>2]=j[b+16>>2];j[d+4>>2]=e;d=j[b+4>>2];j[c+16488>>2]=j[b>>2];j[c+16492>>2]=d;j[c+16416>>2]=c+16384;b=a&256;j[c+16404>>2]=b?30:2;j[c+16400>>2]=b?256:32;b=b?12:6;j[c+16384>>2]=b;d=b-6|0;j[c+16408>>2]=d;j[c+16396>>2]=d;b=1<>2]=b;j[c+16392>>2]=b>>>1;j[c+16412>>2]=c;c:{if(a&8){h[c+16560|0]=2;break c}b=a>>>2&4;h[c+16560|0]=b;if(a&32){break c}h[c+16560|0]=b|1}i[c+17342>>1]=l[c+16488>>1]-1;j[c+17404>>2]=0;j[c+16556>>2]=771;j[c+16552>>2]=772;j[c+16548>>2]=773;j[c+16544>>2]=774;i[c+17340>>1]=0;i[c+16440>>1]=j[c+16492>>2];j[c+16444>>2]=j[c+16500>>2];h[c+16561|0]=(a>>>9^-1)&1;a=Nq(c+16384|0,0);if(a){break a}if(!k[c+16561|0]|k[c+16560|0]==2){break b}j[c+17404>>2]=0;j[c+16556>>2]=775;j[c+16552>>2]=776;j[c+16548>>2]=777;j[c+16544>>2]=778;i[c+17340>>1]=0;i[c+17342>>1]=l[c+16492>>1]-1;a=Nq(c+16384|0,1);if(a){break a}}a=0}oe=c+17408|0;return a|0}function Tq(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;i=oe-16|0;oe=i;d=j[a+12>>2];if(d){j[(j[a+20>>2]+(d<<4)|0)-4>>2]=b}l=j[a+24>>2];a:{if((l|0)<2){break a}p=l;while(1){s=p;f=p-2|0;r=j[a+32>>2];p=p-1|0;b=r+(p<<4)|0;n=j[b>>2];d=j[b+8>>2];while(1){b:{e=(f<<4)+r|0;b=j[e+8>>2];c:{e=j[e>>2];g=e>>>0>n>>>0?n:e;d:{e:{if(g>>>0<8){o=d;break e}o=(g-8>>>3|0)+1|0;e=o+b|0;o=d+o|0;q=d;while(1){if(k[b|0]&k[q|0]){break d}b=b+1|0;q=q+1|0;g=g-8|0;if(g>>>0>7){continue}break}b=e}if(!g|!(k[b|0]&k[o|0]&-256>>g)){break c}}d=f>>>0>p>>>0;b=d?p:f;e=d?f:p;if(b>>>0>=e>>>0|e>>>0>=l>>>0){break b}f=(e<<4)+r|0;l=j[f>>2];f:{if(!l){break f}n=(b<<4)+r|0;b=j[n>>2];g:{if(l>>>0<=b>>>0){g=l+7>>>3|0;break g}d=j[n+4>>2];j[i>>2]=0;g=l+7>>>3|0;d=d+7>>>3|0;if(g>>>0>d>>>0){o=d;d=g+7&1073741816;t=n,u=xe(c,1,o,d,j[n+8>>2],i),j[t+8>>2]=u;o=j[i>>2];if(o){break a}j[n+4>>2]=d<<3}while(1){if(m[n>>2]>b>>>0){d=j[n+8>>2]+(b>>>3|0)|0;h[d|0]=k[d|0]&-129>>(b&7)}b=b+1|0;if((l|0)!=(b|0)){continue}break}}if(!g){break f}q=j[f+8>>2];b=j[n+8>>2];while(1){h[b|0]=k[q|0]|k[b|0];q=q+1|0;b=b+1|0;g=g-1|0;if(g){continue}break}}j[f>>2]=0;j[f+12>>2]=0;d=a;b=j[d+24>>2];e=b+(e^-1)|0;if((e|0)>=1){b=j[f+12>>2];j[i+8>>2]=j[f+8>>2];j[i+12>>2]=b;b=j[f+4>>2];j[i>>2]=j[f>>2];j[i+4>>2]=b;b=e<<4;e=yg(f,f+16|0,b)+b|0;b=j[i+12>>2];j[e+8>>2]=j[i+8>>2];j[e+12>>2]=b;b=j[i+4>>2];j[e>>2]=j[i>>2];j[e+4>>2]=b;b=j[a+24>>2]}l=b-1|0;j[d+24>>2]=l;break b}b=(f|0)>0;f=f-1|0;if(b){continue}}break}if((s|0)>2){continue}break}o=0}oe=i+16|0;return o}function wi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=a&65535;e=a>>>16|0;if((c|0)==1){a=k[b|0]+d|0;a=a>>>0>65520?a-65521|0:a;b=a+e|0;c=b<<16;return(b>>>0>65520?c+983040|0:c)|a}if(b){if(c>>>0>=16){a:{b:{c:{if(c>>>0>5551){while(1){c=c-5552|0;f=347;a=b;while(1){g=k[a|0]+d|0;h=g+k[a+1|0]|0;i=h+k[a+2|0]|0;j=i+k[a+3|0]|0;l=j+k[a+4|0]|0;m=l+k[a+5|0]|0;n=m+k[a+6|0]|0;o=n+k[a+7|0]|0;p=o+k[a+8|0]|0;q=p+k[a+9|0]|0;r=q+k[a+10|0]|0;s=r+k[a+11|0]|0;t=s+k[a+12|0]|0;u=t+k[a+13|0]|0;v=u+k[a+14|0]|0;d=v+k[a+15|0]|0;e=d+(v+(u+(t+(s+(r+(q+(p+(o+(n+(m+(l+(j+(i+(h+(e+g|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;a=a+16|0;f=f-1|0;if(f){continue}break}e=(e>>>0)%65521|0;d=(d>>>0)%65521|0;b=b+5552|0;if(c>>>0>5551){continue}break}if(!c){break a}if(c>>>0<16){break c}}while(1){a=k[b|0]+d|0;f=a+k[b+1|0]|0;g=f+k[b+2|0]|0;h=g+k[b+3|0]|0;i=h+k[b+4|0]|0;j=i+k[b+5|0]|0;l=j+k[b+6|0]|0;m=l+k[b+7|0]|0;n=m+k[b+8|0]|0;o=n+k[b+9|0]|0;p=o+k[b+10|0]|0;q=p+k[b+11|0]|0;r=q+k[b+12|0]|0;s=r+k[b+13|0]|0;t=s+k[b+14|0]|0;d=t+k[b+15|0]|0;e=d+(t+(s+(r+(q+(p+(o+(n+(m+(l+(j+(i+(h+(g+(f+(a+e|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;c=c-16|0;if(c>>>0>15){continue}break}if(!c){break b}}while(1){d=k[b|0]+d|0;e=e+d|0;b=b+1|0;c=c-1|0;if(c){continue}break}}e=(e>>>0)%65521|0;d=(d>>>0)%65521|0}return e<<16|d}if(c){while(1){d=k[b|0]+d|0;e=e+d|0;b=b+1|0;c=c-1|0;if(c){continue}break}}a=(e>>>0)%65521<<16|(d>>>0>65520?d-65521|0:d)}else{a=1}return a}function uB(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0;g=oe+ -64|0;oe=g;f=j[67033];a:{b:{if(!(!j[67044]|((b|0)==-1|(d|0)!=1))){l=(c|0)==1;h[268212]=l;if(!a){break b}Jj(-1,-1,0,0,l,q(q(j[67025])/q(j[a+24>>2])),q(q(j[67026])/q(j[a+28>>2])));break b}if((b|0)!=-1){break b}if(!j[67043]){break a}}c:{d:{switch(c|0){case 0:e=lP(-2,d-1|0)&f;p=1026;l=(a|0)!=0;break c;case 1:break d;default:break a}}o=1;e=f|1<(d|0)){break f}Oe(m+(e<<4)|0,0,16);if((d|0)==(e|0)){break f}while(1){e=e+1|0;Oe(j[67047]+(e<<4)|0,0,16);if((d|0)!=(e|0)){continue}break}}j[67046]=i}n=j[67047];f=1;if(!n){break e}g:{if(!o){e=k[(n+(d<<4)|0)+12|0];break g}r=n+(d<<4)|0;s=n+(d<<4)|0;e=s;t=sg();o=0;h:{i:{if((j[67041]+(j[e+8>>2]-t|0)|0)<1){break i}f=j[67025]-j[r>>2]|0;i=f>>31;if(j[67042]<(i^f+i)){break i}m=n+(d<<4)|0;i=j[67026]-j[m+4>>2]|0;f=i>>31;if(j[67042]<(f^f+i)){break i}o=k[m+12|0];break h}h[s+12|0]=0}j[e+8>>2]=t;j[r>>2]=j[67025];f=n+(d<<4)|0;j[f+4>>2]=j[67026];e=255;if((o|0)==255){break g}e=o+1|0;h[f+12|0]=e}f=e&255}if((We(p,-1)|0)==1){j[g+8>>2]=p;i=j[67024];if(i){u=j[i+4>>2]}h[g+25|0]=c;j[g+20>>2]=b;j[g+16>>2]=u;h[g+24|0]=d;b=j[67026];j[g+28>>2]=j[67025];j[g+32>>2]=b;h[g+26|0]=(f|0)<255?f:255;gf(g+8|0)}if(l^1|c){break a}Gh(a,j[67025],j[67026],1)}oe=g- -64|0}function Jr(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;c=oe-48|0;oe=c;n=j[a+60>>2];d=Df(j[a>>2],j[a+4>>2]);e=(j[a>>2]+p(b,-11796480)|0)+5898240|0;of(c+32|0,n,e);j[c+32>>2]=j[c+32>>2]+j[a+8>>2];j[c+36>>2]=j[c+36>>2]+j[a+12>>2];i=(d|0)==11796480?p(b,23592960)-11796480|0:d;a:{if(!i){break a}q=(i|0)>-1?5898240:-5898240;g=(b<<5)+a|0;r=g;l=g- -64|0;while(1){b:{d=(i|0)>-5898240?i:-5898240;m=(d|0)<5898240?d:5898240;o=m+e|0;of(c+24|0,n,o);j[c+24>>2]=j[c+24>>2]+j[a+8>>2];j[c+28>>2]=j[c+28>>2]+j[a+12>>2];d=m>>31;d=(d+m^d)>>>1|0;d=Ne(n,Ai(d)<<2,p(Bi(d),3)+196608|0);of(c+16|0,d,e+q|0);j[c+16>>2]=j[c+16>>2]+j[c+32>>2];j[c+20>>2]=j[c+20>>2]+j[c+36>>2];of(c+8|0,d,o-q|0);j[c+8>>2]=j[c+8>>2]+j[c+24>>2];j[c+12>>2]=j[c+12>>2]+j[c+28>>2];d=j[g+68>>2];e=j[l>>2];j[c+44>>2]=0;f=e+3|0;c:{if(f>>>0<=d>>>0){k=j[g+76>>2];break c}k=j[g+88>>2];e=d;while(1){e=((e>>>1|0)+e|0)+16|0;if(f>>>0>e>>>0){continue}break}s=g,t=xe(k,8,d,e,j[g+72>>2],c+44|0),j[s+72>>2]=t;f=j[c+44>>2];if(f){break b}k=xe(k,1,d,e,j[g+76>>2],c+44|0);j[g+76>>2]=k;f=j[c+44>>2];if(f){break b}j[g+68>>2]=e;e=j[l>>2]}f=j[c+20>>2];d=j[g+72>>2]+(e<<3)|0;j[d>>2]=j[c+16>>2];j[d+4>>2]=f;f=j[c+12>>2];j[d+8>>2]=j[c+8>>2];j[d+12>>2]=f;f=j[c+28>>2];j[d+16>>2]=j[c+24>>2];j[d+20>>2]=f;e=e+k|0;h[e+2|0]=1;h[e|0]=2;h[e+1|0]=2;j[l>>2]=j[l>>2]+3;f=0;h[r+80|0]=0;e=j[c+28>>2];j[c+32>>2]=j[c+24>>2];j[c+36>>2]=e;e=o;i=i-m|0;if(i){continue}break a}break}h[r+80|0]=0}h[((b<<5)+a|0)+80|0]=0;oe=c+48|0;return f}function zK(a,b){var c=0,d=0,e=0,f=0,g=0;e=j[a+216>>2];a:{if(!(e&4096)){break a}d=l[a+428>>1];c=k[b+25|0];if((c|0)==3){h[b+24|0]=8;i[b+22>>1]=0;h[b+25|0]=d?6:2;if(j[a+416>>2]){break a}Ye(a,7837);z()}if(!(!(e&33554432)|!d)){h[b+25|0]=c|4}if(k[b+24|0]<=7){h[b+24|0]=8}i[b+22>>1]=0}if(e&128){d=l[a+456>>1]|l[a+458>>1]<<16;c=l[a+452>>1]|l[a+454>>1]<<16;i[b+170>>1]=c;i[b+172>>1]=c>>>16;i[b+174>>1]=d;i[b+176>>1]=d>>>16;i[b+178>>1]=l[a+460>>1]}j[b+40>>2]=j[a+824>>2];f=k[b+24|0];if(!(!(e&67109888)|(f|0)!=16)){h[b+24|0]=8;f=8}if(e&16384){h[b+25|0]=k[b+25|0]|2}if(e&6291456){h[b+25|0]=k[b+25|0]&253}b:{c:{d:{e:{if(!(e&64)){break e}f:{switch(k[b+25|0]-2|0){case 0:case 4:break f;default:break e}}if(!j[a+612>>2]){break e}if((f&255)==8){break d}}if(!(e&512)){break b}if((f&255)==8){break c}break b}h[b+25|0]=3;f=8;if(!(e&512)){break b}}f=8;if(k[b+25|0]==3){break b}f=16;h[b+24|0]=16}if(!(!(e&4)|(f&255)>>>0>7)){h[b+24|0]=8;f=8}g=b;c=k[b+25|0];d=3;g:{if(!((c|0)==3|!(c&2))){break g}d=1}h[g+29|0]=d;if(e&262144){i[b+22>>1]=0;c=c&251;h[b+25|0]=c}if(c&4){d=d+1|0;h[b+29|0]=d}h:{if(!(e&32768)){break h}i:{switch(c|0){case 0:case 2:break i;default:break h}}d=d+1|0;h[b+29|0]=d;if(!(e&16777216)){break h}h[b+25|0]=c|4}j:{if(!(e&1048576)){c=d;break j}c=k[a+204|0];if(c>>>0>(f&255)>>>0){h[b+24|0]=c;f=c}c=k[a+205|0];if(d>>>0>=c>>>0){c=d;break j}h[b+29|0]=c}c=p(c,f);h[b+30|0]=c;d=j[b>>2];c=c&255;k:{if(c>>>0>=8){d=p(d,c>>>3|0);break k}d=p(c,d)+7>>>3|0}j[b+12>>2]=d;j[a+404>>2]=d}function zf(a,b,c,d){var e=0,f=0,g=0;f=oe+ -64|0;oe=f;a:{if(!a){break a}b:{c:{switch(b-1|0){case 0:e=j[a+48>>2];if(e&4){break a}j[a+48>>2]=e&-77|4;Ym(a);break b;case 1:e=j[a+48>>2];if(!(e&4)){break a}j[a+48>>2]=e&-13|8;Xm(a);break b;case 3:if((c&-65536)==536805376|(d&-65536)==536805376){break a}if(!(h[a+48|0]&1)){j[a+56>>2]=c;j[a+60>>2]=d}if(j[a+20>>2]==(d|0)?j[a+16>>2]==(c|0):0){break a}j[a+20>>2]=d;j[a+16>>2]=c;break b;case 4:if(!(h[a+48|0]&1)){j[a+68>>2]=d;j[a- -64>>2]=c}if(j[a+28>>2]==(d|0)?j[a+24>>2]==(c|0):0){break a}j[a+28>>2]=d;j[a+24>>2]=c;j[a+112>>2]=0;zf(a,6,j[a+24>>2],j[a+28>>2]);break b;case 6:e=j[a+48>>2];if(e&64){break a}j[a+48>>2]=e&-193|64;Xm(a);break b;case 7:e=j[a+48>>2];if(e&128){break a}j[a+48>>2]=e&-193|128;break b;case 8:e=j[a+48>>2];if(!(e&192)){break a}j[a+48>>2]=e&-193;Ym(a);break b;case 9:e=j[a+48>>2];if(e&1024){break a}j[a+48>>2]=e|1024;e=j[67085];g=j[e+148>>2];if(g){qe[g|0](e,a)}break b;case 10:e=j[a+48>>2];if(!(e&1024)){break a}j[a+48>>2]=e&-1025;break b;case 11:e=j[a+48>>2];if(e&512){break a}j[a+48>>2]=e|512;Pu(a);break b;case 12:break c;default:break b}}e=j[a+48>>2];if(!(e&512)){break a}j[a+48>>2]=e&-513;Ou(a)}if((We(512,-1)|0)==1){j[f+28>>2]=d;j[f+24>>2]=c;j[f+8>>2]=512;h[f+20|0]=b;j[f+16>>2]=j[a+4>>2];c=158;d:{e:{f:{switch(b-3|0){case 1:c=159;break e;case 3:break e;case 0:break f;default:break d}}c=160}JB(c,f+8|0)}gf(f+8|0)}if(j[a+152>>2]|(j[a+148>>2]|(b|0)!=14)){break a}h[268216]=0;ll(256)}oe=f- -64|0}function cI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;g=j[c>>2]<<2;j[d+232>>2]=g;f=j[c+4>>2]<<2;j[d+236>>2]=f;j[d+240>>2]=j[b>>2]<<2;b=j[b+4>>2]<<2;j[d+244>>2]=b;j[d+248>>2]=j[a>>2]<<2;c=j[a+4>>2];j[d+256>>2]=j[d+220>>2];a=j[d+224>>2];j[d+260>>2]=a;c=c<<2;j[d+252>>2]=c;a:{b:{e=(b|0)<(f|0)?b:f;e=(c|0)<(e|0)?c:e;if(j[d+176>>2]<=((a|0)<(e|0)?a:e)>>8){break b}b=(b|0)>(f|0)?b:f;b=(b|0)<(c|0)?c:b;if(j[d+172>>2]>((a|0)>(b|0)?a:b)>>8){break b}b=0;break a}b=1}c:while(1){if(!b){t=d+232|0;while(1){b=l;e=(b<<3)+t|0;m=j[e+28>>2];f=j[e+4>>2];i=m-f|0;a=i>>31;l=b+3|0;r=j[(l<<3)+t>>2];g=j[e>>2];k=r-g|0;c=k>>31;h=a^a+i;a=c^c+k;c=(h|0)<(a|0);d:{n=(c?p(h,3)>>>3|0:h)+(c?a:p(a,3)>>>3|0)|0;if(n>>>0>=32768){a=j[e+12>>2];c=j[e+8>>2];break d}c=j[e+8>>2];h=c-g|0;a=j[e+12>>2];s=a-f|0;q=p(i,h)-p(k,s)|0;o=q>>31;u=p(n,42);if((u|0)<(o^o+q)){break d}o=j[e+16>>2]-g|0;n=j[e+20>>2]-f|0;v=p(o,i)-p(n,k)|0;q=v>>31;if((q^q+v)>(u|0)|(p(s-i|0,s)+p(h-k|0,h)|0)>0|(p(n,n-i|0)+p(o,o-k|0)|0)>=1){break d}l=b;b=1;continue c}j[e+48>>2]=r;j[e+52>>2]=m;b=(c+g|0)/2|0;j[e+8>>2]=b;f=(a+f|0)/2|0;j[e+12>>2]=f;g=j[e+16>>2];i=(g+r|0)/2|0;j[e+40>>2]=i;k=j[e+20>>2];m=(k+m|0)/2|0;j[e+44>>2]=m;h=b;b=(c+g|0)/2|0;c=(h+b|0)/2|0;j[e+16>>2]=c;b=(b+i|0)/2|0;j[e+32>>2]=b;a=(a+k|0)/2|0;f=(a+f|0)/2|0;j[e+20>>2]=f;a=(a+m|0)/2|0;j[e+36>>2]=a;j[e+24>>2]=(b+c|0)/2;j[e+28>>2]=(a+f|0)/2;continue}}$l(d,g,f);e:{if(l){l=l-3|0;break e}return 0}b=0;continue}}function lw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g&255;n=g>>>24|0;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){o=(p(l,o)>>>0)/255|0;n=(p(l,n)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,o)&65535)>>>0)/255|0;e=((p(e,q)&65535)>>>0)/255|0;f=((p(f,n)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+o|0;e=((p(b,e)>>>0)/255|0)+q|0;f=((p(b,f)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+o|0;i=b>>>0<255?b:255;b=e+q|0;e=b>>>0<255?b:255;b=f+n|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function Xv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g>>>24|0;n=g&255;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){o=(p(l,o)>>>0)/255|0;n=(p(l,n)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,q)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;f=((p(f,n)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+q|0;e=((p(b,e)>>>0)/255|0)+o|0;f=((p(b,f)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+q|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+n|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function Fw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g>>>24|0;n=g&255;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){n=(p(l,n)>>>0)/255|0;o=(p(l,o)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;f=((p(f,q)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+o|0;f=((p(b,f)>>>0)/255|0)+q|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+q|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function Cv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g&255;n=g>>>24|0;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){n=(p(l,n)>>>0)/255|0;o=(p(l,o)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(e,q)&65535)>>>0)/255|0;f=((p(f,o)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+q|0;f=((p(b,f)>>>0)/255|0)+o|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=e+q|0;e=b>>>0<255?b:255;b=f+o|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function Sf(a,b,c){if(!b){return 0}a=a^-1;a:{if(!c|!(b&3)){break a}while(1){a=j[((k[b|0]^a&255)<<2)+9008>>2]^a>>>8;b=b+1|0;c=c-1|0;if(!c){break a}if(b&3){continue}break}}if(c>>>0>31){while(1){a=j[b>>2]^a;a=j[b+4>>2]^(j[(a>>>6&1020)+11056>>2]^j[((a&255)<<2)+12080>>2]^j[(a>>>14&1020)+10032>>2]^j[(a>>>22&1020)+9008>>2]);a=j[b+8>>2]^(j[(a>>>6&1020)+11056>>2]^j[((a&255)<<2)+12080>>2]^j[(a>>>14&1020)+10032>>2]^j[(a>>>22&1020)+9008>>2]);a=j[b+12>>2]^(j[(a>>>6&1020)+11056>>2]^j[((a&255)<<2)+12080>>2]^j[(a>>>14&1020)+10032>>2]^j[(a>>>22&1020)+9008>>2]);a=j[b+16>>2]^(j[(a>>>6&1020)+11056>>2]^j[((a&255)<<2)+12080>>2]^j[(a>>>14&1020)+10032>>2]^j[(a>>>22&1020)+9008>>2]);a=j[b+20>>2]^(j[(a>>>6&1020)+11056>>2]^j[((a&255)<<2)+12080>>2]^j[(a>>>14&1020)+10032>>2]^j[(a>>>22&1020)+9008>>2]);a=j[b+24>>2]^(j[(a>>>6&1020)+11056>>2]^j[((a&255)<<2)+12080>>2]^j[(a>>>14&1020)+10032>>2]^j[(a>>>22&1020)+9008>>2]);a=j[b+28>>2]^(j[(a>>>6&1020)+11056>>2]^j[((a&255)<<2)+12080>>2]^j[(a>>>14&1020)+10032>>2]^j[(a>>>22&1020)+9008>>2]);a=j[(a>>>6&1020)+11056>>2]^j[((a&255)<<2)+12080>>2]^j[(a>>>14&1020)+10032>>2]^j[(a>>>22&1020)+9008>>2];b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}if(c>>>0>3){while(1){a=j[b>>2]^a;a=j[(a>>>6&1020)+11056>>2]^j[((a&255)<<2)+12080>>2]^j[(a>>>14&1020)+10032>>2]^j[(a>>>22&1020)+9008>>2];b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(c){while(1){a=j[((k[b|0]^a&255)<<2)+9008>>2]^a>>>8;b=b+1|0;c=c-1|0;if(c){continue}break}}return a^-1}function UO(a,b,c){var d=0,e=0,f=0,g=0,l=0,n=0,o=0,q=0;l=oe-16|0;oe=l;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ze(a,6024);Ie(a,c);break a}e:{f:{d=j[a+208>>2];if(d&1){if(d&4){Ie(a,c);Je(a,5774);break a}d=c+1|0;g=j[a+788>>2];g:{if(g){if(d>>>0<=m[a+792>>2]){break g}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,g)}g=$f(a,d);if(!g){break f}j[a+792>>2]=d;j[a+788>>2]=g}pf(a,g,c);tf(a,g,c);if(Ie(a,0)){break a}e=c+g|0;h[e|0]=0;d=g;while(1){f=d;d=d+1|0;if(k[f|0]){continue}break}if(e-2>>>0>>0){Ze(a,6057);break a}e=k[f+1|0];h[l+4|0]=e;d=f+2|0;f=(g-d|0)+c|0;n=(e|0)==8?6:10;c=(f>>>0)/(n>>>0)|0;if((f|0)!=(p(c,n)|0)){Ze(a,6078);break a}if(c>>>0>=429496730){Ze(a,6104);break a}j[l+12>>2]=c;o=dg(a,p(c,10));j[l+8>>2]=o;if(!o){break e}if(f>>>0>=n>>>0){n=c>>>0>1?c:1;c=0;q=(e|0)!=8;while(1){f=p(c,10)+o|0;h:{if(!q){i[f>>1]=k[d|0];i[f+2>>1]=k[d+1|0];i[f+4>>1]=k[d+2|0];e=k[d+3|0];d=d+4|0;break h}e=k[d|0]|k[d+1|0]<<8;i[f>>1]=(e<<24|e<<8&16711680)>>>16;e=k[d+2|0]|k[d+3|0]<<8;i[f+2>>1]=(e<<24|e<<8&16711680)>>>16;e=k[d+4|0]|k[d+5|0]<<8;i[f+4>>1]=(e<<24|e<<8&16711680)>>>16;e=k[d+6|0]|k[d+7|0]<<8;e=(e<<24|e<<8&16711680)>>>16|0;d=d+8|0}i[f+6>>1]=e;e=f;f=k[d|0]|k[d+1|0]<<8;i[e+8>>1]=(f<<24|f<<8&16711680)>>>16;d=d+2|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}j[l>>2]=g;Lu(a,b,l);Ke(a,j[l+8>>2]);break a}hf(a,5795);z()}Ie(a,c);Je(a,5965);break a}Ze(a,6124)}oe=l+16|0}function Rx(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=j[a+52>>2];e=j[j[f>>2]+4>>2];g=k[e+8|0];a:{if(g>>>0<8){break a}c=j[a+4>>2];a=j[f+68>>2]&-28673;if((a|0)!=256){if(a){break a}if((g|0)==8){b:{if(k[c+9|0]!=4){break b}a=j[c+12>>2];if((a|0)!=1072693248){if((a|0)!=16711680|j[c+16>>2]!=65280){break b}b=282;if(j[c+20>>2]!=255){break b}break a}if(j[c+16>>2]!=1047552){break b}b=283;if(j[c+20>>2]==1023){break a}}return 284}if(j[e+24>>2]){f=j[c+24>>2]?4:2}else{f=1}g=j[(k[c+9|0]<<2)+45212>>2];h=j[g+12>>2];c:{if(!h){a=0;break c}a=0;while(1){b=g+p(a,40)|0;d=j[b>>2];d:{if(d?(d|0)!=j[c+12>>2]:0){break d}d=j[b+4>>2];if(d?(d|0)!=j[c+16>>2]:0){break d}d=j[b+8>>2];if(d?(d|0)!=j[c+20>>2]:0){break d}d=j[b+16>>2];if(d?(d|0)!=j[e+12>>2]:0){break d}d=j[b+20>>2];if(d?(d|0)!=j[e+16>>2]:0){break d}d=j[b+24>>2];if(k[e+9|0]!=(h|0)|(d?(d|0)!=j[e+20>>2]:0)|(f|0)!=(f&j[b+36>>2])){break d}if((j[b+28>>2]&(Dn()|0)!=0)==j[b+28>>2]){break c}}a=a+1|0;h=j[(g+p(a,40)|0)+12>>2];if(h){continue}break}}b=j[(g+p(a,40)|0)+32>>2];if((b|0)!=285){break a}b=286;if(j[c>>2]==372711428){break a}b=287;if(j[e>>2]==372711428){break a}e:{if(k[c+9|0]!=4|k[e+9|0]!=4|(j[c+12>>2]!=j[e+12>>2]|j[c+16>>2]!=j[e+16>>2])){break e}if(j[c+20>>2]!=j[e+20>>2]){break e}b=288;if((f|0)!=4){break a}return j[c+24>>2]==j[e+24>>2]?289:290}return(f|0)==4?290:285}if(k[c+9|0]==2){b=291;if(j[f+4>>2]){break a}}b=292;if(k[e+9|0]==1){break a}if(j[c+24>>2]){b=293;if(j[e+24>>2]){break a}}b=294}return b}function RL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,l=0,n=0,o=0;f=j[b>>2];if(!f){return 35}d=6;a:{if(m[f+16>>2]<=c>>>0){break a}e=j[f+104>>2];l=j[f+292>>2];n=c?c-1|0:0;g=l+(n<<4)|0;o=i[g+8>>1]+i[g+6>>1]|0;j[a+76>>2]=o;b=i[g>>1];c=i[g+2>>1];h[a+94|0]=1;i[a+92>>1]=1;c=c-b|0;j[a+80>>2]=c;d=3;b=a;b:{c:{switch((1<<(j[f+308>>2]&3))-1|0){case 0:c=c+7>>>3|0;break b;case 1:c=c+15>>>3&536870910;break b;case 3:c=c+31>>>3&536870908;break b;case 7:break c;default:break a}}c=c+63>>>3&536870904}j[b+84>>2]=c;b=p(c,o);d=Hm(a,b);if(d){break a}d=Fe(e,j[((n<<4)+l|0)+12>>2]);if(d){break a}d=uf(e,j[a+88>>2],b);if(d){break a}d=j[f+308>>2];if(!(!b|d&8)){d=j[a+88>>2];c=b;while(1){e=k[d|0];e=e>>>1&85|e<<1&170;e=e>>>2&51|e<<2&204;h[d|0]=e>>>4|e<<4;d=d+1|0;c=c-1|0;if(c){continue}break}d=j[f+308>>2]}d:{if(!((d>>>2^d>>>3)&1)){break d}e:{switch((1<<(d>>>4&3))-2|0){case 0:if(b>>>0<2){break d}d=j[a+88>>2];while(1){c=k[d+1|0];h[d+1|0]=k[d|0];h[d|0]=c;d=d+2|0;b=b-2|0;if(b>>>0>1){continue}break}break d;case 2:break e;default:break d}}if(b>>>0<4){break d}d=j[a+88>>2];while(1){c=k[d+3|0];h[d+3|0]=k[d|0];h[d|0]=c;c=k[d+1|0];h[d+1|0]=k[d+2|0];h[d+2|0]=c;d=d+4|0;b=b-4|0;if(b>>>0>3){continue}break}}j[a+72>>2]=1651078259;b=i[g>>1];j[a+100>>2]=b;c=i[g+6>>1];j[a+104>>2]=c;d=i[((n<<4)+l|0)+4>>1];j[a+36>>2]=c<<6;j[a+32>>2]=b<<6;j[a+40>>2]=d<<6;c=i[g+2>>1];j[a+28>>2]=j[a+76>>2]<<6;j[a+24>>2]=c-b<<6;Fi(a+24|0,j[f+208>>2]+j[f+204>>2]<<6);d=0}return d|0}function DG(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=l[a+420>>1];if(!c){break a}d=k[b+9|0];if((c|0)>=1<>2];c=j[b+4>>2];e=f+c|0;g=0-p(j[b>>2],k[b+11|0])&7;b:{switch(d-1|0){case 7:if((c|0)<1){break a}c=j[a+424>>2];while(1){b=k[e|0];if((b|0)>(c|0)){j[a+424>>2]=b;c=b}e=e-1|0;if(f>>>0>>0){continue}break}break a;case 3:if((c|0)<1){break a}b=j[a+424>>2];c=k[e|0]>>>g|0;d=c&15;if((b|0)<(d|0)){j[a+424>>2]=d;c=k[e|0]>>>g|0;b=d}c=c>>>4|0;if((c|0)>(b|0)){j[a+424>>2]=c;b=c}e=e-1|0;if(f>>>0>=e>>>0){break a}while(1){c=k[e|0];d=c&15;if(d>>>0>b>>>0){j[a+424>>2]=d;c=k[e|0];b=d}c=c>>>4|0;if((c|0)>(b|0)){j[a+424>>2]=c;b=c}e=e-1|0;if(f>>>0>>0){continue}break}break a;case 1:if((c|0)<1){break a}b=j[a+424>>2];c=k[e|0]>>>g|0;d=c&3;if((b|0)<(d|0)){j[a+424>>2]=d;c=k[e|0]>>>g|0;b=d}d=c>>>2&3;if((d|0)>(b|0)){j[a+424>>2]=d;c=k[e|0]>>>g|0;b=d}d=c>>>4&3;if((d|0)>(b|0)){j[a+424>>2]=d;c=k[e|0]>>>g|0;b=d}c=c>>>6|0;if((c|0)>(b|0)){j[a+424>>2]=c;b=c}c=e-1|0;if(f>>>0>=c>>>0){break a}while(1){e=k[c|0];d=e&3;if(d>>>0>b>>>0){j[a+424>>2]=d;e=k[c|0];b=d}d=e>>>2&3;if((d|0)>(b|0)){j[a+424>>2]=d;e=k[c|0];b=d}d=e>>>4&3;if((d|0)>(b|0)){j[a+424>>2]=d;e=k[c|0];b=d}d=e>>>6|0;if((d|0)>(b|0)){j[a+424>>2]=d;b=d}c=c-1|0;if(f>>>0>>0){continue}break}break a;case 0:break b;default:break a}}if((c|0)<1){break a}if(k[e|0]>>>g|0){j[a+424>>2]=1}e=e-1|0;if(f>>>0>=e>>>0){break a}while(1){if(k[e|0]){j[a+424>>2]=1}e=e-1|0;if(f>>>0>>0){continue}break}}}function as(a,b,c,d,e,f,g){var h=0,i=0,k=0,m=0,n=0,o=0;k=oe-16|0;oe=k;i=j[a+8>>2];n=j[a+12>>2];h=He(i,j[n+36>>2],k+12|0);a:{b:{c:{d:{if(!j[k+12>>2]){j[h+100>>2]=i;j[h+96>>2]=a;j[h+104>>2]=j[b>>2];if(c){j[h+8>>2]=j[h+8>>2]|1024}m=He(i,60,k+12|0);if(j[k+12>>2]){break d}j[h+128>>2]=m;c=0;j[m+48>>2]=0;e:{if((e|0)<1){break e}a=0;while(1){if(c){break e}c=0;o=(a<<3)+f|0;if(j[o>>2]==1768842098){c=j[o+4>>2];j[m+48>>2]=c}a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=j[n+48>>2];f:{if(!a){j[b>>2]=j[h+104>>2];break f}a=qe[a|0](j[b>>2],h,d,e,f)|0;j[k+12>>2]=a;j[b>>2]=j[h+104>>2];if(a){break d}}b=j[h+40>>2];if(!b){break b}a=b+(j[h+36>>2]<<2)|0;e=a-4|0;g:{if(b>>>0<=e>>>0){while(1){c=j[e>>2];h:{if(j[c+4>>2]!=1970170211){break h}i:{switch(l[c+8>>1]){case 3:if(l[c+10>>1]!=10){break h}break g;case 0:break i;default:break h}}if(l[c+10>>1]==4){break g}}e=e-4|0;if(b>>>0<=e>>>0){continue}break}}while(1){a=a-4|0;if(b>>>0>a>>>0){break b}c=j[a>>2];if(j[c+4>>2]!=1970170211){continue}break}}j[h+92>>2]=c;break b}if(!h){break c}}if(j[h+36>>2]>=1){c=0;while(1){d=c<<2;a=j[d+j[h+40>>2]>>2];b=j[j[a>>2]+100>>2];e=j[j[a+12>>2]+8>>2];if(e){qe[e|0](a)}if(a){qe[j[b+8>>2]](b,a)}j[d+j[h+40>>2]>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}a=j[h+40>>2];if(a){qe[j[i+8>>2]](i,a)}j[h+36>>2]=0;j[h+40>>2]=0}a=j[n+52>>2];if(a){qe[a|0](h)}if(m){qe[j[i+8>>2]](i,m)}if(h){qe[j[i+8>>2]](i,h)}j[g>>2]=0;a=j[k+12>>2];break a}j[g>>2]=h;a=0}oe=k+16|0;return a}function fh(a,b,c,d,e,f,g,h){var i=0,k=0,l=0;i=oe-448|0;oe=i;a:{if(!g){j[i>>2]=56213;k=ve(55990,i);break a}if(!h){j[i+16>>2]=56217;k=ve(55990,i+16|0);break a}b:{if(!c){k=f&-268435456;break b}k=f&-268435456;l=(c&-268435456)==268435456;if(!(l|!f|(k|0)==268435456)){k=Eu(a,b,c,d,e,f,g,h);break a}if(l){break b}k=Vm(a,b,c,d,e,f,g,h);break a}if(!(!f|(k|0)==268435456)){k=Gu(a,b,c,d,e,f,g,h);break a}l=!c|(c&-268435456)==268435456;if((c|0)==(f|0)){k=0;if(!b){break a}a=p(l?c&255:1,a);while(1){Ge(g,d,a);g=g+h|0;d=d+e|0;b=b-1|0;if(b){continue}break}break a}c:{if(!l){break c}k=-1;if((c>>>24&15)-1>>>0>2){break c}ve(56227,0);break a}if((Nk(i+272|0,c)|0)<0){k=-1;break a}Oe(i+384|0,0,60);j[i+404>>2]=d;j[i+384>>2]=1;j[i+400>>2]=e;j[i+396>>2]=b;j[i+392>>2]=a;j[i+388>>2]=i+272;Oe(i+136|0,0,88);k=-1;j[i+212>>2]=-1;j[i+440>>2]=1;j[i+436>>2]=i+136;if((f>>>24&15)-1>>>0<=2){ve(56227,0);break a}if((Nk(i+224|0,f)|0)<0){break a}Oe(i+320|0,0,60);j[i+340>>2]=g;j[i+320>>2]=1;j[i+336>>2]=h;j[i+332>>2]=b;j[i+328>>2]=a;j[i+324>>2]=i+224;Oe(i+48|0,0,88);j[i+124>>2]=-1;j[i+376>>2]=1;j[i+44>>2]=b;j[i+40>>2]=a;j[i+32>>2]=0;j[i+36>>2]=0;j[i+372>>2]=i+48;g=j[i+436>>2];d:{e:{if(j[g>>2]!=(i+320|0)){break e}a=j[j[i+324>>2]+4>>2];if(j[g+80>>2]!=j[a+8>>2]?a:0){break e}a=j[j[i+388>>2]+4>>2];if(!a|j[g+84>>2]==j[a+8>>2]){break d}}if((xj(i+384|0,i+320|0)|0)<0){break a}g=j[i+436>>2]}k=qe[j[g+8>>2]](i+384|0,i+32|0,i+320|0,i+32|0)|0}oe=i+448|0;return k}function Zx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0;a:{g=j[a+28>>2];if(!g){break a}b=j[a+24>>2];k=b&3;m=(b+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>2<<2;b:while(1){h=m;c:{d:{switch(k-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=1;continue;case 1:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=2;continue;case 2:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=3;continue;default:break e}}a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}a=g-1|0;b=b+2|0;d=d+4|0;f:{if((h|0)>1){h=h-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function PN(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0;f=oe-32|0;oe=f;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ie(a,c);Je(a,6352);break a}e:{d=j[a+208>>2];if(d&1){if(d&4){j[a+208>>2]=d|8}d=c+1|0;e=j[a+788>>2];f:{if(e){if(d>>>0<=m[a+792>>2]){break f}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,e)}e=$f(a,d);if(!e){break e}j[a+792>>2]=d;j[a+788>>2]=e}pf(a,e,c);tf(a,e,c);d=0;if(Ie(a,0)){break a}g=6012;g:{if(!c){break g}h:{while(1){if(!k[d+e|0]){break h}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}if(d-1>>>0>78){break g}g=5979;if(d+5>>>0>c>>>0){break g}g=6463;i:{j:{i=d+e|0;l=k[i+1|0];switch(l|0){case 0:break i;case 1:break j;default:break g}}if(k[i+2|0]){break g}}i=d+3|0;d=i;k:{if(d>>>0>=c>>>0){break k}d=i;while(1){if(!k[d+e|0]){break k}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}n=d+1|0;d=n;l:{if(d>>>0>=c>>>0){break l}d=n;while(1){if(!k[d+e|0]){break l}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}o=(l|0)!=0;d=d+1|0;m:{if(!(o|d>>>0>c>>>0)){j[f+28>>2]=c-d;break m}g=5979;if(o^1|c>>>0<=d>>>0){break g}j[f+28>>2]=-1;if((Qr(a,c,d,f+28|0)|0)==1){e=j[a+788>>2];break m}g=j[a+248>>2];if(g){break g}}h[(d+j[f+28>>2]|0)+e|0]=0;j[f+24>>2]=e+n;j[f+20>>2]=e+i;j[f+4>>2]=e;j[f>>2]=l?2:1;j[f+12>>2]=0;j[f+8>>2]=d+e;j[f+16>>2]=j[f+28>>2];g=6443;if(!Fk(a,b,f)){break a}}Je(a,g);break a}hf(a,5795);z()}yi(a,7196);Ie(a,c);Je(a,5965)}oe=f+32|0}function JE(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;l=oe-16|0;oe=l;a:{if(j[a+4>>2]<0){break a}e=j[a+12>>2];m=j[a+8>>2]-e|0;c=e+j[a>>2]|0;b:{f=j[a+20>>2];c:{if(!f){if((m|0)<27){break a}if((k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24))!=1399285583){break c}e=k[c+26|0];f=e+27|0;if((m|0)<(f|0)){break a}if(e){e=j[a+24>>2];while(1){e=k[(c+g|0)+27|0]+e|0;j[a+24>>2]=e;g=g+1|0;if(g>>>0>2]=f}if((j[a+24>>2]+f|0)>(m|0)){break a}e=k[c+22|0]|k[c+23|0]<<8|(k[c+24|0]<<16|k[c+25|0]<<24);j[l+12>>2]=e;g=0;h[c+22|0]=0;h[c+23|0]=0;h[c+24|0]=0;h[c+25|0]=0;n=j[a+24>>2];i=j[a+20>>2];h[c+22|0]=0;h[c+23|0]=0;h[c+24|0]=0;h[c+25|0]=0;if((i|0)>0){f=0;while(1){d=j[((k[c+f|0]^d>>>24)<<2)+222608>>2]^d<<8;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if((n|0)>0){i=c+i|0;while(1){d=j[((k[i+g|0]^d>>>24)<<2)+222608>>2]^d<<8;g=g+1|0;if((n|0)!=(g|0)){continue}break}}h[c+22|0]=d;h[c+23|0]=d>>>8;h[c+24|0]=d>>>16;h[c+25|0]=d>>>24;if(j[l+12>>2]==(k[c+22|0]|k[c+23|0]<<8|(k[c+24|0]<<16|k[c+25|0]<<24))){break b}h[c+22|0]=e;h[c+23|0]=e>>>8;h[c+24|0]=e>>>16;h[c+25|0]=e>>>24}j[a+20>>2]=0;j[a+24>>2]=0;b=j[a>>2];d=Mh(c+1|0,79,m-1|0);if(!d){d=b+j[a+8>>2]|0}j[a+12>>2]=d-b;d=c-d|0;break a}i=j[a+12>>2];d:{if(!b){f=j[a+24>>2];d=j[a+20>>2];break d}e=i+j[a>>2]|0;j[b>>2]=e;d=j[a+20>>2];j[b+4>>2]=d;j[b+8>>2]=d+e;f=j[a+24>>2];j[b+12>>2]=f}j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;d=d+f|0;j[a+12>>2]=i+d}oe=l+16|0;return d}function qo(a,b){var c=q(0),d=q(0),e=0,f=q(0),g=0,h=q(0),i=q(0),k=0,l=q(0),m=q(0),o=q(0),p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,z=q(0);p=oe-16|0;oe=p;e=1;k=j[a+4>>2];a:{b:{d=n[a>>2];c:{if(!(d<=q(0)^1)){if((k|0)<2){break c}while(1){g=(e<<3)+a|0;c=q(n[g+8>>2]-n[g>>2]);h=q(c*c);c=q(n[g+12>>2]-n[g+4>>2]);d=q(d+q(y(+q(h+q(c*c)))));e=e+1|0;k=j[a+4>>2];if((e|0)<(k|0)){continue}break}}if((k|0)<2){break c}k=1;h=q(d/q(63));c=h;while(1){e=(k<<3)+a|0;d=q(n[e>>2]-n[e+8>>2]);i=q(d*d);d=q(n[e+4>>2]-n[e+12>>2]);o=q(y(+q(i+q(d*d))));d=q(c+o);d:{if(d>h^1){c=d;break d}d=c;while(1){g=(r<<3)+b|0;c=n[e>>2];f=q(q(h-d)/o);i=q(c+q(f*q(n[e+8>>2]-c)));n[g>>2]=i;c=n[e+4>>2];c=q(c+q(f*q(n[e+12>>2]-c)));n[g+4>>2]=c;m=q(m+i);l=q(l+c);r=r+1|0;d=q(d-h);c=q(d+o);if(h>2];if((k|0)<(g|0)){continue}break}if((r|0)>62){break b}}j[p>>2]=r;ve(27584,p);break a}g=(g<<3)+a|0;a=j[g+4>>2];j[b+504>>2]=j[g>>2];j[b+508>>2]=a;i=q(l*q(.015625));c=q(m*q(.015625));s=+q(Hn(+q(i-n[b+4>>2]),+q(c-n[b>>2])));v=+i;w=+c;e=0;d=c;h=c;l=i;m=i;while(1){a=(e<<3)+b|0;o=n[a>>2];f=n[a+4>>2];t=+q(o-c);u=+q(f-i);x=a,z=q(lg(s)*t-Mg(s)*u+w),n[x>>2]=z;f=q(Mg(s)*t+lg(s)*u+v);n[a+4>>2]=f;l=f>l?f:l;m=f>2];h=f>h?f:h;d=d>f?f:d;e=e+1|0;if((e|0)!=64){continue}break}l=q(l-m);d=q(h-d);e=0;while(1){a=(e<<3)+b|0;n[a>>2]=q(q(n[a>>2]-c)*q(256))/d;n[a+4>>2]=q(q(n[a+4>>2]-i)*q(256))/l;e=e+1|0;if((e|0)!=64){continue}break}}oe=p+16|0}function Yx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0;a:{g=j[a+28>>2];if(!g){break a}b=j[a+24>>2];k=b&3;m=(b+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>2<<2;b:while(1){h=m;c:{d:{switch(k-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=1;continue;case 1:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=2;continue;case 2:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=3;continue;default:break e}}a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}a=g-1|0;b=b+2|0;d=d+4|0;f:{if((h|0)>1){h=h-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function Sn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a:{b:{if(b>>>0<=15){g=j[(b<<2)+44096>>2]}else{g=0}if(g){c:{i=j[g>>2];if((i|0)>=1){k=j[a+240>>2];l=(k|0)<1;while(1){e=0;d:{if(l){break d}h=j[((f<<2)+g|0)+4>>2];c=0;while(1){e=0;e=h?j[h+4>>2]==j[j[a+244>>2]+(c<<2)>>2]?h:0:e;if(e){break d}c=c+1|0;if((k|0)>(c|0)){continue}break}}if(!e){f=f+1|0;if((i|0)>(f|0)){continue}}break}if(e){break c}}c=0;ve(33955,0);break a}c=j[a+252>>2];if(c){while(1){if(j[c+8>>2]==(e|0)){break a}c=j[c+20>>2];if(c){continue}break}}c=Xe(1,24);if(!c){c=0;Be(0);break a}j[c+8>>2]=e;j[c+4>>2]=b;b=qe[j[a+48>>2]](j[e>>2])|0;j[c>>2]=b;g=j[e+4>>2];if((g|0)!=-1){qe[j[a+144>>2]](1,c,g,j[e+12>>2],j[e+8>>2]);j[d+12>>2]=1;break b}qe[j[a+148>>2]](b,1,e+12|0,0);qe[j[a+40>>2]](j[c>>2]);qe[j[a+120>>2]](j[c>>2],35713,d+12|0);if(j[d+12>>2]){break b}j[d+8>>2]=0;qe[j[a+120>>2]](j[c>>2],35716,d+8|0);e:{f:{b=j[d+8>>2];if((b|0)<1){break f}g:{if(b>>>0<=127){f=d-(b+15&-16)|0;oe=f;g=b;break g}f=qe[j[57972]](b?b:1)|0;if(f){j[57976]=j[57976]+1}if(!f){break f}g=j[d+8>>2]}qe[j[a+116>>2]](j[c>>2],g,d+8|0,f);j[d>>2]=f;ve(34017,d);if(b>>>0<128){break e}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}break e}ve(34047,0)}qe[j[a+56>>2]](j[c>>2]);if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0;break a}ve(33896,0);break a}b=j[a+252>>2];if(b){j[c+20>>2]=b;j[b+16>>2]=c}j[a+252>>2]=c;j[a+248>>2]=j[a+248>>2]+1}oe=d+16|0;return c}function Lf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;a:{if(!a|!b|j[b+16>>2]>131078){break a}c=j[a+16>>2];b:{if(!c){h=j[a>>2];j[e+8>>2]=0;break b}h=j[b+8>>2];c:{while(1){g=j[((d<<2)+a|0)+20>>2];i=j[g>>2];if(we(j[i+8>>2],h)){d=d+1|0;if(d>>>0>>0){continue}break c}break}if(j[b+12>>2]<=j[i+12>>2]){break a}Ur(a,g);c=j[a+16>>2]}h=j[a>>2];j[e+8>>2]=0;if(c>>>0>31){break a}}c=He(h,j[b+4>>2],e+8|0);if(j[e+8>>2]){break a}j[c+8>>2]=h;j[c+4>>2]=a;j[c>>2]=b;d:{e:{if(!(k[b|0]&2)){break e}i=j[a>>2];g=He(i,12,e+12|0);d=j[e+12>>2];if(d){j[e+8>>2]=d;break d}d=j[c>>2];j[c+12>>2]=d;f=j[d+36>>2];j[c+16>>2]=f;f:{g:{if((f|0)!=1869968492){break g}f=j[j[d+56>>2]+4>>2];if(!f){break g}f=qe[f|0](i,c+52|0)|0;j[e+12>>2]=f;if(f){break f}j[c+56>>2]=j[j[d+56>>2]+16>>2];j[c+60>>2]=j[d+40>>2]}j[g+8>>2]=c;wm(a+148|0,g);d=j[a+148>>2];h:{if(d){while(1){f=j[d+8>>2];if(j[f+16>>2]==1869968492){break h}d=j[d+4>>2];if(d){continue}break}}f=0}j[a+156>>2]=f;if(j[e+12>>2]){break f}j[e+8>>2]=0;break e}if(g){qe[j[i+8>>2]](i,g)}d=j[e+12>>2];j[e+8>>2]=d;if(d){break d}}d=j[c>>2];g=j[d>>2];if(g&4){j[a+160>>2]=c}if(g&1){j[c+12>>2]=d}b=j[b+24>>2];if(b){b=qe[b|0](c)|0;j[e+8>>2]=b;if(b){break d}}b=j[a+16>>2];j[a+16>>2]=b+1;j[((b<<2)+a|0)+20>>2]=c;break a}i:{if(!(k[j[c>>2]]&2)){break i}a=j[c+12>>2];if(!a|j[a+36>>2]!=1869968492){break i}b=j[c+52>>2];if(!b){break i}qe[j[j[a+56>>2]+20>>2]](b)}if(c){qe[j[h+8>>2]](h,c)}}oe=e+16|0}function yw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(i,o)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;g=((p(g,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+o|0;e=((p(b,e)>>>0)/255|0)+f|0;g=((p(b,g)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+o|0;i=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=g+n|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function sw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(g,o)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;i=((p(i,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+o|0;e=((p(b,e)>>>0)/255|0)+f|0;i=((p(b,i)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=g+o|0;g=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=i+n|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function fw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(f,i)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;g=((p(g,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+f|0;e=((p(b,e)>>>0)/255|0)+o|0;g=((p(b,g)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=f+i|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=g+n|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function aw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(f,g)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;i=((p(i,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+f|0;e=((p(b,e)>>>0)/255|0)+o|0;i=((p(b,i)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=f+g|0;g=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=i+n|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Qv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;g=((p(g,o)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+f|0;g=((p(b,g)>>>0)/255|0)+o|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=g+o|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Nw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;g=((p(f,g)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+o|0;g=((p(b,g)>>>0)/255|0)+f|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+g|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Kv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(g,n)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;i=((p(i,o)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+f|0;i=((p(b,i)>>>0)/255|0)+o|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=g+n|0;g=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=i+o|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Jw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(g,n)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;i=((p(f,i)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+o|0;i=((p(b,i)>>>0)/255|0)+f|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=g+n|0;g=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+i|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Qr(a,b,c,d){var e=0,f=0,g=0,i=0,k=0,l=0,n=0,o=0;i=oe-1024|0;oe=i;a:{b:{c:{d:{e=j[a+760>>2];e:{if(e+1>>>0<=1){f=c+1|0;e=-1;break e}f=c+1|0;if(f>>>0>e>>>0){break d}}e=e-f|0;if(e>>>0>2]){j[d>>2]=e}f:{g:{e=wk(a,j[a+376>>2]);switch(e|0){case 1:break f;case 0:break g;default:break a}}if(j[a+220>>2]!=j[a+376>>2]){break c}e=j[d>>2];j[a+224>>2]=j[a+788>>2]+c;f=e>>>0<1024?e:1024;j[a+240>>2]=f;k=b-c|0;j[a+228>>2]=k;j[a+236>>2]=i;g=a+224|0;f=e-f|0;e=ui(g,!f<<2);if(!e){while(1){b=j[a+240>>2];j[a+228>>2]=j[a+228>>2];b=b+f|0;e=b>>>0<1024?b:1024;j[a+240>>2]=e;j[a+236>>2]=i;f=b-e|0;e=ui(g,!f<<2);if(!e){continue}break}}j[a+236>>2]=0;b=j[a+240>>2]+f|0;if(b){j[d>>2]=j[d>>2]-b}f=j[a+228>>2];ph(a,e);if((e|0)!=1){break b}if(!Xp(g)){l=j[d>>2];n=l+c|0;o=n+1|0;b=$f(a,o);if(b){h:{if(j[a+220>>2]==j[a+376>>2]){e=j[d>>2];j[a+236>>2]=b+c;j[a+224>>2]=j[a+788>>2]+c;j[a+240>>2]=e;f=k-f|0;j[a+228>>2]=f;while(1){e=ui(g,4);if(!e){e=j[a+228>>2];j[a+240>>2]=j[a+240>>2];j[a+228>>2]=e;continue}break}g=j[a+240>>2];if(g){j[d>>2]=j[d>>2]-g}g=j[a+228>>2];ph(a,e);if((e|0)!=1){break h}e=-7;if(j[d>>2]!=(l|0)){break h}h[b+n|0]=0;d=j[a+788>>2];if(c){Ae(b,d,c)}j[a+792>>2]=o;j[a+788>>2]=b;Ke(a,d);e=1;if((f-g|0)==(k|0)){break b}Je(a,5943);break b}j[a+248>>2]=7178;e=-2}Ke(a,b);break b}e=-4;ph(a,-4);break b}ph(a,1);e=-7;break b}e=-7;break a}e=-4;ph(a,-4);break a}j[a+248>>2]=7178;e=-2}j[a+220>>2]=0}oe=i+1024|0;return e}function Xx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;a:{i=j[a+28>>2];if(!i){break a}c=j[a+24>>2];l=c&3;m=(c+3|0)/4|0;f=j[a>>2];c=j[a+20>>2];n=j[a+36>>2]>>2<<2;o=j[a+16>>2]>>2<<2;b:while(1){k=m;c:{d:{switch(l-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}c=c+4|0;f=f+4|0;a=1;continue;case 1:a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}c=c+4|0;f=f+4|0;a=2;continue;case 2:a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}c=c+4|0;f=f+4|0;a=3;continue;default:break e}}a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}a=i-1|0;c=c+4|0;f=f+4|0;f:{if((k|0)>1){k=k-1|0;break f}c=c+n|0;f=f+o|0;i=a;if(a){continue b}break a}a=0;continue}}}}function _H(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0;m=j[a+12>>2];n=j[a+204>>2];b=j[a+200>>2];a:{while(1){c=o;o=c+1|0;g=fs(m,o);if(g){break a}g=21;l=b+4|0;if(l>>>0>n>>>0){break a}d=j[m+88>>2]+(c<<5)|0;j[d+8>>2]=0;j[d+12>>2]=0;p=k[b+1|0];e=p|k[b|0]<<8;i[d+4>>1]=e;j[d>>2]=k[b+3|0]|k[b+2|0]<<8;f=p&1?4:2;q=e&8;c=f+2|0;b:{if(q){break b}c=f+4|0;if(e&64){break b}c=f|e>>>4&8}if(c+l>>>0>n>>>0){break a}c=e&1;c:{if(e&2){if(c){c=k[b+4|0]|k[b+5|0]<<8;j[d+8>>2]=(c<<24|c<<8&16711680)>>16;c=k[b+6|0]|k[b+7|0]<<8;f=(c<<24|c<<8&16711680)>>16;c=b+8|0;break c}j[d+8>>2]=h[b+4|0];f=h[b+5|0];c=b+6|0;break c}if(c){j[d+8>>2]=k[b+5|0]|k[b+4|0]<<8;f=k[b+7|0]|k[b+6|0]<<8;c=b+8|0;break c}j[d+8>>2]=k[b+4|0];f=k[b+5|0];c=b+6|0}j[d+12>>2]=f;d:{if(q){b=c+2|0;e=0;c=k[c|0]|k[c+1|0]<<8;g=(c<<24|c<<8&16711680)>>16<<2;f=g;l=0;break d}if(e&64){b=k[c+2|0]|k[c+3|0]<<8;f=(b<<24|b<<8&16711680)>>16<<2;b=k[c|0]|k[c+1|0]<<8;g=(b<<24|b<<8&16711680)>>16<<2;b=c+4|0;e=0;l=0;break d}if(!(e&128)){e=0;g=65536;b=c;f=65536;l=0;break d}b=k[c+6|0]|k[c+7|0]<<8;f=(b<<24|b<<8&16711680)>>16<<2;b=k[c+4|0]|k[c+5|0]<<8;e=(b<<24|b<<8&16711680)>>16<<2;b=k[c+2|0]|k[c+3|0]<<8;l=(b<<24|b<<8&16711680)>>16<<2;b=k[c|0]|k[c+1|0]<<8;g=(b<<24|b<<8&16711680)>>16<<2;b=c+8|0}j[d+16>>2]=g;j[d+28>>2]=f;j[d+24>>2]=l;j[d+20>>2]=e;if(p&32){continue}break}j[m+84>>2]=o;c=j[j[a+24>>2]+8>>2];j[a+200>>2]=b;j[a+168>>2]=(b+c|0)-n;g=0}return g|0}function JF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0;d=j[b+1296>>2];f=j[j[j[j[a+64>>2]+4>>2]+28>>2]+2848>>2];c=a+4|0;a:{if((Ce(c,1)|0)!=1){break a}h=2;g=Ef(a,j[b+1284>>2]<<2);a=j[b+1292>>2]-1|0;r=g,t=Ce(c,a?32-s(a)|0:0),j[r>>2]=t;a=j[b+1292>>2]-1|0;r=g,t=Ce(c,a?32-s(a)|0:0),j[r+4>>2]=t;if(j[d>>2]>0){while(1){m=j[(d+(l<<2)|0)+4>>2];e=d+(m<<2)|0;k=j[e+128>>2];a=0;b:{n=j[e+192>>2];if(!n){break b}a=fk(f+p(j[e+256>>2],56)|0,c);if((a|0)!=-1){break b}return 0}if((k|0)>=1){o=-1<>2];c:{if((i|0)>=0){i=fk(f+p(i,56)|0,c);j[(e+h<<2)+g>>2]=i;if((i|0)!=-1){break c}return 0}j[(e+h<<2)+g>>2]=0}a=a>>n;e=e+1|0;if((k|0)!=(e|0)){continue}break}}h=h+k|0;l=l+1|0;if((l|0)>2]){continue}break}}if(j[b+1284>>2]<3){break a}l=b+780|0;n=b+1032|0;k=d+836|0;h=2;while(1){a=h<<2;d=a-8|0;m=d+l|0;e=j[m>>2]<<2;o=d+n|0;f=j[o>>2]<<2;i=j[f+g>>2]&32767;d=(j[e+g>>2]&32767)-i|0;c=d>>31;q=c^d+c;c=j[f+k>>2];c=(p(q,j[a+k>>2]-c|0)|0)/(j[e+k>>2]-c|0)|0;d=i+((d|0)<0?0-c|0:c)|0;a=a+g|0;c=j[a>>2];d:{if(c){f=j[b+1292>>2]-d|0;e:{if((c|0)>=((d|0)>(f|0)?f:d)<<1){e=c-d|0;if((d|0)<(f|0)){break e}e=f+(c^-1)|0;break e}e=0-(c+1>>1)|0;if(c&1){break e}e=c>>1}j[a>>2]=e+d&32767;a=(j[o>>2]<<2)+g|0;j[a>>2]=j[a>>2]&32767;a=(j[m>>2]<<2)+g|0;j[a>>2]=j[a>>2]&32767;break d}j[a>>2]=d|32768}h=h+1|0;if((h|0)>2]){continue}break}}return g|0}function aF(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=q(0),l=0,m=0,o=q(0),s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0;m=j[a+12>>2]-1|0;a:{if(m>>>0>1){break a}h=j[a+16>>2];f=+(h&2097151);i=q(vp((h|0)>-1?f:-f,(h>>>21&1023)-788|0));h=j[a+20>>2];f=+(h&2097151);o=q(vp((h|0)>-1?f:-f,(h>>>21&1023)-788|0));d=j[a>>2];h=bf(p(d,b),4);b:{switch(m|0){case 1:s=j[a+4>>2];if((s|0)<1){break a}f=+i;w=+o;t=(d|0)<1;while(1){if(!(k[j[a+8>>2]+g|0]?0:c)){if(!t){l=p(d,e);m=p(d,g);x=(e<<2)+c|0;y=j[a+28>>2];z=j[a+32>>2];b=0;i=q(0);while(1){o=q(w*+q(r(q(j[z+(b+m<<2)>>2])))+f+ +i);i=y?o:i;if(c){u=p(d,j[x>>2])+b|0}else{u=b+l|0}n[(u<<2)+h>>2]=o;b=b+1|0;if((d|0)!=(b|0)){continue}break}}e=e+1|0}g=g+1|0;if((s|0)!=(g|0)){continue}break}break a;case 0:break b;default:break a}}s=j[a+4>>2];f=v(Ag(+q(s|0),+q(q(1)/q(d|0))));c:{if(r(f)<2147483648){g=~~f;break c}g=-2147483648}while(1){b=1;l=1;if((d|0)>=1){m=g+1|0;e=0;while(1){l=p(l,m);b=p(b,g);e=e+1|0;if((d|0)!=(e|0)){continue}break}}b=(b|0)>(s|0);if(b|(l|0)<=(s|0)){g=(b?-1:1)+g|0;continue}else{if((s|0)<1){break a}f=+i;w=+o;e=0;m=(d|0)<1;while(1){if(!(k[j[a+8>>2]+e|0]?0:c)){if(!m){x=p(d,t);y=(t<<2)+c|0;z=j[a+28>>2];A=j[a+32>>2];b=0;i=q(0);l=1;while(1){o=q(w*+q(r(q(j[A+(((e|0)/(l|0)|0)%(g|0)<<2)>>2])))+f+ +i);i=z?o:i;if(c){u=p(d,j[y>>2])+b|0}else{u=b+x|0}n[(u<<2)+h>>2]=o;l=p(g,l);b=b+1|0;if((d|0)!=(b|0)){continue}break}}t=t+1|0}e=e+1|0;if((s|0)!=(e|0)){continue}break}}break}}return h}function Zh(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,q=0;l=oe-32|0;oe=l;a:{b:{c:{d:{e:{f:{if((b|0)<=1431918168){g:{switch(b-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 0:break e;case 11:break f;default:break g}}if((b|0)==825382478){break e}m=0;if((b|0)==844715353){break c}break b}if((b|0)==1431918169){break d}m=0;if((b|0)==1498831189){break c}if((b|0)!=1448433993){break b}}k=p(a,d)+c|0;n=(d+1|0)/2|0;m=k+p(n,(a+1|0)/2|0)|0;break c}k=p(a,d)+c|0;n=(d+1|0)/2<<1}m=0}a=m;h:{i:{j:{k:{l:{m:{n:{o:{if((b|0)<=1431918168){p:{switch(b-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break j;case 0:break l;case 11:break o;default:break p}}if((b|0)==825382478){break k}if((b|0)!=844715353){break j}j[e>>2]=c;j[h>>2]=d;j[g>>2]=c+3;j[f>>2]=j[e>>2]+1;break h}if((b|0)==1431918169){break m}if((b|0)==1448433993){break n}if((b|0)!=1498831189){break j}j[e>>2]=c+1;j[h>>2]=d;j[g>>2]=c+2;j[f>>2]=j[e>>2]-1;break h}j[e>>2]=c;j[h>>2]=d;j[g>>2]=k;j[f>>2]=a;break i}j[e>>2]=c;j[h>>2]=d;j[g>>2]=a;j[f>>2]=k;break i}j[e>>2]=c;j[h>>2]=d;j[g>>2]=c+1;j[f>>2]=j[e>>2]+3;break h}j[e>>2]=c;j[h>>2]=d;j[f>>2]=k;j[g>>2]=k+1;break i}j[e>>2]=c;j[h>>2]=d;j[g>>2]=k;j[f>>2]=k+1;break i}o=l,q=Gg(b),j[o+16>>2]=q;a=ve(58083,l+16|0);break a}j[i>>2]=n;a=0;break a}j[i>>2]=d;a=0;break a}o=l,q=Gg(b),j[o>>2]=q;a=ve(58040,l)}oe=l+32|0;return a}function Xq(a,b,c,d,e){var f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;if(c){k=j[a+4>>2];m=j[a+12>>2];a=(e|0)==2;o=a?256:128;p=a?128:256;n=0-e|0;while(1){g=j[b+16>>2];a:{if(g&16){break a}l=j[b+28>>2];b:{a=h[b+20|0];c:{if((e|0)==(a|0)|(a|0)==(n|0)){break c}a=h[b+21|0];if((e|0)==(a|0)){break c}if((a|0)!=(n|0)){break b}}if(!a){break b}if((a|0)==(e|0)){a=0;if(!k){break a}while(1){f=j[(a<<2)+m>>2];i=l-j[f>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break a}break}j[b+24>>2]=f;j[b+16>>2]=g|528;break a}if((a|0)!=(n|0)){break a}a=0;if(!k){break a}while(1){f=j[(a<<2)+m>>2];i=(l-j[f>>2]|0)-j[f+4>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break a}break}j[b+24>>2]=f;j[b+16>>2]=g|1040;break a}if(!(g&64)){break a}d:{if(g&p){a=0;if(!k){break a}while(1){f=j[(a<<2)+m>>2];i=l-j[f>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break d}break}j[b+24>>2]=f;j[b+16>>2]=g|528;break d}if(!(g&o)){break d}a=0;if(!k){break d}while(1){f=j[(a<<2)+m>>2];i=(l-j[f>>2]|0)-j[f+4>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break d}break}j[b+24>>2]=f;j[b+16>>2]=g|1040}if(j[b+24>>2]){break a}a=0;if(!k){break a}while(1){g=j[(a<<2)+m>>2];f=j[g>>2];if(!((f|0)>(l|0)|(f+j[g+4>>2]|0)<(l|0))){j[b+24>>2]=g;break a}a=a+1|0;if((k|0)!=(a|0)){continue}break}}b=b+40|0;c=c-1|0;if(c){continue}break}}} +function mK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;b=j[a+40>>2];o=j[b+24>>2]^-1;q=o&j[a+56>>2];u=j[a+36>>2];i=j[a+20>>2];v=j[a+16>>2];c=j[a>>2];s=j[a+28>>2];f=j[a+24>>2];n=k[b+9|0];r=j[a+48>>2];a:{if(r){if(!s){break a}w=f&7;t=(f+7|0)/8|0;p=n-1|0;while(1){f=t;b:{c:{switch(w-1|0){default:a=7;break b;case 0:a=6;break b;case 1:a=5;break b;case 2:a=4;break b;case 3:a=3;break b;case 4:a=2;break b;case 5:a=1;break b;case 6:break c}}a=0}while(1){d:{e:{switch(a|0){case 0:a=0;d=0;e=0;g=0;f:{g:{h:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break g;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break g;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break g;case 3:break h;default:break f}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=1;continue;case 1:a=0;d=0;e=0;g=0;i:{j:{k:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break j;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break j;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break j;case 3:break k;default:break i}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=2;continue;case 2:a=0;d=0;e=0;g=0;l:{m:{n:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break m;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break m;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break m;case 3:break n;default:break l}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=3;continue;case 3:a=0;d=0;e=0;g=0;o:{p:{q:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break p;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break p;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break p;case 3:break q;default:break o}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=4;continue;case 4:a=0;d=0;e=0;g=0;r:{s:{t:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break s;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break s;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break s;case 3:break t;default:break r}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=5;continue;case 5:a=0;d=0;e=0;g=0;u:{v:{w:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break v;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break v;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break v;case 3:break w;default:break u}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=6;continue;case 6:a=0;d=0;e=0;g=0;x:{y:{z:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break y;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break y;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break y;case 3:break z;default:break x}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}a=s-1|0;c=c+n|0;i=i+1|0;if((f|0)<=1){break d}f=f-1|0;a=7;continue;default:break e}}a=0;e=0;g=0;d=0;A:{B:{C:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;e=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break B;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;e=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break B;case 2:d=(k[b+34|0]>>>3|0)+c|0;g=(k[b+33|0]>>>3|0)+c|0;e=(k[b+32|0]>>>3|0)+c|0;break B;case 3:break C;default:break A}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;e=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}d=k[d|0];e=k[e|0];g=k[g|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(g>>>3&28|e&224|(d&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=0;continue}break}i=i+u|0;c=c+v|0;s=a;if(a){continue}break}break a}if(!s){break a}m=f&7;r=(f+7|0)/8|0;p=n-1|0;while(1){t=r;D:{E:{switch(m-1|0){default:a=7;break D;case 0:a=6;break D;case 1:a=5;break D;case 2:a=4;break D;case 3:a=3;break D;case 4:a=2;break D;case 5:a=1;break D;case 6:break E}}a=0}while(1){F:{G:{switch(a|0){case 0:a=0;f=0;d=0;e=0;H:{I:{J:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break I;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break I;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break I;case 3:break J;default:break H}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=1;continue;case 1:a=0;f=0;d=0;e=0;K:{L:{M:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break L;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break L;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break L;case 3:break M;default:break K}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=2;continue;case 2:a=0;f=0;d=0;e=0;N:{O:{P:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break O;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break O;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break O;case 3:break P;default:break N}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=3;continue;case 3:a=0;f=0;d=0;e=0;Q:{R:{S:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break R;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break R;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break R;case 3:break S;default:break Q}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=4;continue;case 4:a=0;f=0;d=0;e=0;T:{U:{V:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break U;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break U;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break U;case 3:break V;default:break T}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=5;continue;case 5:a=0;f=0;d=0;e=0;W:{X:{Y:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break X;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break X;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break X;case 3:break Y;default:break W}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=6;continue;case 6:a=0;f=0;d=0;e=0;Z:{_:{$:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break _;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break _;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break _;case 3:break $;default:break Z}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}a=s-1|0;c=c+n|0;i=i+1|0;if((t|0)<=1){break F}t=t-1|0;a=7;continue;default:break G}}a=0;d=0;e=0;f=0;aa:{ba:{ca:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break ba;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break ba;case 2:f=(k[b+34|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;d=(k[b+32|0]>>>3|0)+c|0;break ba;case 3:break ca;default:break aa}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}f=k[f|0];d=k[d|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=e>>>3&28|d&224|(f&192)>>>6}c=c+n|0;i=i+1|0;a=0;continue}break}i=i+u|0;c=c+v|0;s=a;if(a){continue}break}}}function dM(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0;E=g^255;a:{b:{c:{d:{e:{f:{g:{h=j[a+4>>2];switch(k[h+9|0]-2|0){case 2:break e;case 0:break g;default:break f}}h:{switch(c-1|0){case 1:break b;case 3:break c;case 0:break h;default:break d}}c=0;C=j[b+12>>2];if(!C){break a}n=j[a+16>>2]/2|0;a=(j[a+20>>2]+(p(n,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;g=j[b+8>>2];D=g&3;b=(g+3|0)/4|0;z=n-g<<1;i:while(1){j:{k:{l:{m:{n:{switch(D-1|0){case 0:q=j[h+24>>2];v=k[h+34|0];r=j[h+20>>2];t=k[h+30|0];w=k[h+33|0];s=j[h+16>>2];y=k[h+29|0];n=k[h+32|0];u=j[h+12>>2];o=k[h+28|0];x=b;break k;case 1:I=k[h+30|0];Z=j[(I<<2)+234976>>2];J=k[h+29|0];_=j[(J<<2)+234976>>2];F=k[h+28|0];$=j[(F<<2)+234976>>2];q=j[h+24>>2];r=j[h+20>>2];s=j[h+16>>2];u=j[h+12>>2];B=k[h+34|0];v=B;t=I;N=k[h+33|0];w=N;y=J;O=k[h+32|0];n=O;o=F;x=b;break l;case 2:I=k[h+30|0];Z=j[(I<<2)+234976>>2];J=k[h+29|0];_=j[(J<<2)+234976>>2];F=k[h+28|0];$=j[(F<<2)+234976>>2];q=j[h+24>>2];r=j[h+20>>2];s=j[h+16>>2];u=j[h+12>>2];B=k[h+34|0];v=B;t=I;N=k[h+33|0];w=N;y=J;O=k[h+32|0];n=O;o=F;x=b;break m;default:break n}}t=k[h+30|0];Z=j[(t<<2)+234976>>2];y=k[h+29|0];_=j[(y<<2)+234976>>2];o=k[h+28|0];$=j[(o<<2)+234976>>2];q=j[h+24>>2];v=k[h+34|0];r=j[h+20>>2];w=k[h+33|0];s=j[h+16>>2];n=k[h+32|0];u=j[h+12>>2];x=b;m=0;break j}m=1;break j}m=2;break j}m=3}while(1){o:{switch(m|0){case 0:g=l[a>>1];N=w&255;J=y&255;O=n&255;F=o&255;B=v&255;I=t&255;i[a>>1]=((p(k[((g&s)>>>N|0)+_|0],E)>>>0)/255|0)+e>>>J<>>O|0)+$|0],E)>>>0)/255|0)+d>>>F<>>B|0)+Z|0],E)>>>0)/255|0)+f>>>I<>1];i[a>>1]=((p(k[((g&s)>>>N|0)+_|0],E)>>>0)/255|0)+e>>>J<>>O|0)+$|0],E)>>>0)/255|0)+d>>>F<>>B|0)+Z|0],E)>>>0)/255|0)+f>>>I<>1];i[a>>1]=((p(k[((g&s)>>>N|0)+_|0],E)>>>0)/255|0)+e>>>J<>>O|0)+$|0],E)>>>0)/255|0)+d>>>F<>>B|0)+Z|0],E)>>>0)/255|0)+f>>>I<>2];A=l[a>>1];G=w&255;H=((p(k[_+((A&s)>>>G|0)|0],E)>>>0)/255|0)+e>>>m<>2];G=n&255;L=H|((p(k[$+((u&A)>>>G|0)|0],E)>>>0)/255|0)+d>>>m<>2];H=r&A;A=v&255;i[a>>1]=L|((p(k[Z+(H>>>A|0)|0],E)>>>0)/255|0)+f>>>m<1){x=x-1|0;break p}a=a+z|0;C=g;if(g){continue i}break a}m=0;continue}}}c=Be(4);break a}q:{switch(c-1|0){case 0:c=0;D=j[b+12>>2];if(!D){break a}n=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;g=j[b+8>>2];x=g&3;b=(g+3|0)/4|0;z=n-g<<2;r:while(1){s:{t:{u:{v:{w:{switch(x-1|0){case 0:q=k[h+34|0];r=k[h+30|0];s=k[h+33|0];u=k[h+29|0];v=k[h+32|0];n=k[h+28|0];o=b;break t;case 1:G=k[h+30|0];aa=j[(G<<2)+234976>>2];K=k[h+29|0];ba=j[(K<<2)+234976>>2];P=k[h+28|0];ca=j[(P<<2)+234976>>2];y=k[h+34|0];q=y;r=G;w=k[h+33|0];s=w;u=K;t=k[h+32|0];v=t;n=P;o=b;break u;case 2:G=k[h+30|0];aa=j[(G<<2)+234976>>2];K=k[h+29|0];ba=j[(K<<2)+234976>>2];P=k[h+28|0];ca=j[(P<<2)+234976>>2];y=k[h+34|0];q=y;r=G;w=k[h+33|0];s=w;u=K;t=k[h+32|0];v=t;n=P;o=b;break v;default:break w}}r=k[h+30|0];aa=j[(r<<2)+234976>>2];u=k[h+29|0];ba=j[(u<<2)+234976>>2];n=k[h+28|0];ca=j[(n<<2)+234976>>2];q=k[h+34|0];s=k[h+33|0];v=k[h+32|0];o=b;m=0;break s}m=1;break s}m=2;break s}m=3}while(1){x:{switch(m|0){case 0:g=j[a>>2];w=s&255;K=u&255;t=v&255;P=n&255;y=q&255;G=r&255;j[a>>2]=j[h+24>>2]|(((p(k[((g&j[h+16>>2])>>>w|0)+ba|0],E)>>>0)/255|0)+e>>>K<>2])>>>t|0)+ca|0],E)>>>0)/255|0)+d>>>P<>2])>>>y|0)+aa|0],E)>>>0)/255|0)+f>>>G<>2];j[a>>2]=j[h+24>>2]|(((p(k[((g&j[h+16>>2])>>>w|0)+ba|0],E)>>>0)/255|0)+e>>>K<>2])>>>t|0)+ca|0],E)>>>0)/255|0)+d>>>P<>2])>>>y|0)+aa|0],E)>>>0)/255|0)+f>>>G<>2];j[a>>2]=j[h+24>>2]|(((p(k[((g&j[h+16>>2])>>>w|0)+ba|0],E)>>>0)/255|0)+e>>>K<>2])>>>t|0)+ca|0],E)>>>0)/255|0)+d>>>P<>2])>>>y|0)+aa|0],E)>>>0)/255|0)+f>>>G<>2];A=j[a>>2];C=s&255;B=((p(k[ba+((A&j[h+16>>2])>>>C|0)|0],E)>>>0)/255|0)+e>>>m<>2];C=v&255;H=j[h+24>>2]|(B|((p(k[ca+((A&j[h+12>>2])>>>C|0)|0],E)>>>0)/255|0)+d>>>m<>2];B=A&j[h+20>>2];A=q&255;j[a>>2]=H|((p(k[aa+(B>>>A|0)|0],E)>>>0)/255|0)+f>>>m<1){o=o-1|0;break y}a=a+z|0;D=g;if(g){continue r}break a}m=0;continue}};default:c=0;w=j[b+12>>2];if(!w){break a}n=j[a+16>>2]/4|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;a=j[b+8>>2];o=a&3;b=(a+3|0)/4|0;n=n-a<<2;z:while(1){A:{B:{C:{D:{E:{switch(o-1|0){case 0:m=k[h+34|0];q=k[h+30|0];r=k[h+33|0];s=k[h+29|0];u=k[h+32|0];v=k[h+28|0];t=b;break B;case 1:s=k[h+29|0];r=k[h+33|0];v=k[h+28|0];u=k[h+32|0];oa=e>>>s<>>v<>>q<>>s<>>v<>>q<>>q<>>s<>>v<>2]=pa|(oa|j[h+24>>2]);g=g+4|0;a=1;continue;case 1:j[g>>2]=j[h+24>>2]|oa|pa;g=g+4|0;a=2;continue;case 2:j[g>>2]=j[h+24>>2]|oa|pa;g=g+4|0;a=3;continue;default:break F}}a=w-1|0;j[g>>2]=j[h+24>>2]|(e>>>s<>>v<>>q<1){t=t-1|0;break G}g=g+n|0;w=a;if(a){continue z}break a}a=0;continue}};case 3:c=0;A=j[b+12>>2];if(!A){break a}n=j[a+16>>2]/4|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;a=j[b+8>>2];x=a&3;b=(a+3|0)/4|0;D=n-a<<2;H:while(1){I:{J:{K:{L:{M:{switch(x-1|0){case 0:s=k[h+34|0];u=k[h+30|0];v=k[h+33|0];t=k[h+29|0];w=k[h+32|0];y=k[h+28|0];n=b;break J;case 1:Q=k[h+30|0];da=j[(Q<<2)+234976>>2];R=k[h+29|0];ea=j[(R<<2)+234976>>2];S=k[h+28|0];C=j[(S<<2)+234976>>2];r=k[h+34|0];s=r;u=Q;q=k[h+33|0];v=q;t=R;m=k[h+32|0];w=m;y=S;n=b;break K;case 2:Q=k[h+30|0];da=j[(Q<<2)+234976>>2];R=k[h+29|0];ea=j[(R<<2)+234976>>2];S=k[h+28|0];C=j[(S<<2)+234976>>2];r=k[h+34|0];s=r;u=Q;q=k[h+33|0];v=q;t=R;m=k[h+32|0];w=m;y=S;n=b;break L;default:break M}}u=k[h+30|0];da=j[(u<<2)+234976>>2];t=k[h+29|0];ea=j[(t<<2)+234976>>2];y=k[h+28|0];C=j[(y<<2)+234976>>2];s=k[h+34|0];v=k[h+33|0];w=k[h+32|0];n=b;a=0;break I}a=1;break I}a=2;break I}a=3}while(1){N:{switch(a|0){case 0:a=j[g>>2];q=v&255;R=t&255;m=w&255;S=y&255;r=s&255;Q=u&255;j[g>>2]=j[h+24>>2]|((p(k[((a&j[h+16>>2])>>>q|0)+ea|0],e)>>>0)/255>>>R<>2])>>>m|0)+C|0],d)>>>0)/255>>>S<>2])>>>r|0)+da|0],f)>>>0)/255>>>Q<>2];j[g>>2]=j[h+24>>2]|((p(k[((a&j[h+16>>2])>>>q|0)+ea|0],e)>>>0)/255>>>R<>2])>>>m|0)+C|0],d)>>>0)/255>>>S<>2])>>>r|0)+da|0],f)>>>0)/255>>>Q<>2];j[g>>2]=j[h+24>>2]|((p(k[((a&j[h+16>>2])>>>q|0)+ea|0],e)>>>0)/255>>>R<>2])>>>m|0)+C|0],d)>>>0)/255>>>S<>2])>>>r|0)+da|0],f)>>>0)/255>>>Q<>2];o=j[g>>2];C=v&255;B=(p(k[ea+((o&j[h+16>>2])>>>C|0)|0],e)>>>0)/255>>>z<>2];I=w&255;H=j[h+24>>2]|(B|(p(k[C+((o&j[h+12>>2])>>>I|0)|0],d)>>>0)/255>>>z<>2];B=o&j[h+20>>2];o=s&255;j[g>>2]=H|(p(k[da+(B>>>o|0)|0],f)>>>0)/255>>>z<1){n=n-1|0;break O}g=g+D|0;A=a;if(a){continue H}break a}a=0;continue}};case 1:break q}}c=0;D=j[b+12>>2];if(!D){break a}n=j[a+16>>2]/4|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;a=j[b+8>>2];A=a&3;b=(a+3|0)/4|0;x=n-a<<2;P:while(1){Q:{R:{S:{T:{U:{switch(A-1|0){case 0:m=k[h+34|0];q=k[h+30|0];r=k[h+33|0];t=k[h+29|0];w=k[h+32|0];y=k[h+28|0];n=b;break R;case 1:T=k[h+30|0];fa=j[(T<<2)+234976>>2];U=k[h+29|0];ga=j[(U<<2)+234976>>2];V=k[h+28|0];ha=j[(V<<2)+234976>>2];v=k[h+34|0];m=v;q=T;u=k[h+33|0];r=u;t=U;s=k[h+32|0];w=s;y=V;n=b;break S;case 2:T=k[h+30|0];fa=j[(T<<2)+234976>>2];U=k[h+29|0];ga=j[(U<<2)+234976>>2];V=k[h+28|0];ha=j[(V<<2)+234976>>2];v=k[h+34|0];m=v;q=T;u=k[h+33|0];r=u;t=U;s=k[h+32|0];w=s;y=V;n=b;break T;default:break U}}q=k[h+30|0];fa=j[(q<<2)+234976>>2];t=k[h+29|0];ga=j[(t<<2)+234976>>2];y=k[h+28|0];ha=j[(y<<2)+234976>>2];m=k[h+34|0];r=k[h+33|0];w=k[h+32|0];n=b;a=0;break Q}a=1;break Q}a=2;break Q}a=3}while(1){V:{switch(a|0){case 0:a=j[g>>2];u=r&255;o=k[((a&j[h+16>>2])>>>u|0)+ga|0]+e|0;U=t&255;z=(o>>>0<255?o:255)>>>U<>2])>>>s|0)+ha|0]+d|0;V=y&255;v=m&255;a=k[((a&j[h+20>>2])>>>v|0)+fa|0]+f|0;T=q&255;j[g>>2]=j[h+24>>2]|(z|(o>>>0<255?o:255)>>>V<>>0<255?a:255)>>>T<>2];o=k[((a&j[h+16>>2])>>>u|0)+ga|0]+e|0;z=(o>>>0<255?o:255)>>>U<>2])>>>s|0)+ha|0]+d|0;a=k[((a&j[h+20>>2])>>>v|0)+fa|0]+f|0;j[g>>2]=j[h+24>>2]|(z|(o>>>0<255?o:255)>>>V<>>0<255?a:255)>>>T<>2];o=k[((a&j[h+16>>2])>>>u|0)+ga|0]+e|0;z=(o>>>0<255?o:255)>>>U<>2])>>>s|0)+ha|0]+d|0;a=k[((a&j[h+20>>2])>>>v|0)+fa|0]+f|0;j[g>>2]=j[h+24>>2]|(z|(o>>>0<255?o:255)>>>V<>>0<255?a:255)>>>T<>2];o=j[g>>2];C=r&255;I=k[ga+((o&j[h+16>>2])>>>C|0)|0]+e|0;B=(I>>>0<255?I:255)>>>z<>2];C=w&255;I=k[ha+((o&j[h+12>>2])>>>C|0)|0]+d|0;H=j[h+24>>2]|(B|(I>>>0<255?I:255)>>>z<>2];B=o&j[h+20>>2];o=m&255;C=k[fa+(B>>>o|0)|0]+f|0;j[g>>2]=H|(C>>>0<255?C:255)>>>z<1){n=n-1|0;break W}g=g+x|0;D=a;if(a){continue P}break a}a=0;continue}}}c=0;y=j[b+12>>2];if(!y){break a}n=j[a+16>>2]/2|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;a=j[b+8>>2];o=a&3;b=(a+3|0)/4|0;n=n-a<<1;X:while(1){Y:{Z:{_:{$:{aa:{switch(o-1|0){case 0:m=j[h+24>>2];q=k[h+34|0];r=k[h+30|0];s=k[h+33|0];u=k[h+29|0];v=k[h+32|0];t=k[h+28|0];w=b;break Z;case 1:m=j[h+24>>2];u=k[h+29|0];s=k[h+33|0];t=k[h+28|0];v=k[h+32|0];r=k[h+30|0];q=k[h+34|0];qa=m|(e>>>u<>>t<>>r<>2];u=k[h+29|0];s=k[h+33|0];t=k[h+28|0];v=k[h+32|0];r=k[h+30|0];q=k[h+34|0];qa=m|(e>>>u<>>t<>>r<>2];q=k[h+34|0];r=k[h+30|0];s=k[h+33|0];u=k[h+29|0];v=k[h+32|0];t=k[h+28|0];w=b;a=0;break Y}a=1;break Y}a=2;break Y}a=3}while(1){ba:{switch(a|0){case 0:qa=e>>>u<>>t<>>r<>1]=qa;g=g+2|0;a=1;continue;case 1:i[g>>1]=qa;g=g+2|0;a=2;continue;case 2:i[g>>1]=qa;g=g+2|0;a=3;continue;default:break ba}}a=y-1|0;i[g>>1]=e>>>u<>>t<>>r<1){w=w-1|0;break ca}g=g+n|0;y=a;if(a){continue X}break a}a=0;continue}}}c=0;B=j[b+12>>2];if(!B){break a}t=j[a+16>>2]/2|0;g=(j[a+20>>2]+(p(t,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;a=j[b+8>>2];C=a&3;b=(a+3|0)/4|0;I=t-a<<1;da:while(1){ea:{fa:{ga:{ha:{ia:{switch(C-1|0){case 0:m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];v=k[h+30|0];t=k[h+33|0];r=j[h+16>>2];w=k[h+29|0];y=k[h+32|0];s=j[h+12>>2];z=k[h+28|0];A=b;break fa;case 1:W=k[h+30|0];ia=j[(W<<2)+234976>>2];X=k[h+29|0];ja=j[(X<<2)+234976>>2];M=k[h+28|0];ka=j[(M<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];x=k[h+34|0];u=x;v=W;o=k[h+33|0];t=o;w=X;n=k[h+32|0];y=n;z=M;A=b;break ga;case 2:W=k[h+30|0];ia=j[(W<<2)+234976>>2];X=k[h+29|0];ja=j[(X<<2)+234976>>2];M=k[h+28|0];ka=j[(M<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];x=k[h+34|0];u=x;v=W;o=k[h+33|0];t=o;w=X;n=k[h+32|0];y=n;z=M;A=b;break ha;default:break ia}}v=k[h+30|0];ia=j[(v<<2)+234976>>2];w=k[h+29|0];ja=j[(w<<2)+234976>>2];z=k[h+28|0];ka=j[(z<<2)+234976>>2];m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];t=k[h+33|0];r=j[h+16>>2];y=k[h+32|0];s=j[h+12>>2];A=b;a=0;break ea}a=1;break ea}a=2;break ea}a=3}while(1){ja:{switch(a|0){case 0:a=l[g>>1];o=t&255;X=w&255;n=y&255;M=z&255;x=u&255;W=v&255;i[g>>1]=(p(k[((a&r)>>>o|0)+ja|0],e)>>>0)/255>>>X<>>n|0)+ka|0],d)>>>0)/255>>>M<>>x|0)+ia|0],f)>>>0)/255>>>W<>1];i[g>>1]=(p(k[((a&r)>>>o|0)+ja|0],e)>>>0)/255>>>X<>>n|0)+ka|0],d)>>>0)/255>>>M<>>x|0)+ia|0],f)>>>0)/255>>>W<>1];i[g>>1]=(p(k[((a&r)>>>o|0)+ja|0],e)>>>0)/255>>>X<>>n|0)+ka|0],d)>>>0)/255>>>M<>>x|0)+ia|0],f)>>>0)/255>>>W<>2];D=l[g>>1];F=t&255;H=(p(k[ja+((D&r)>>>F|0)|0],e)>>>0)/255>>>J<>2];F=y&255;L=H|(p(k[ka+((s&D)>>>F|0)|0],d)>>>0)/255>>>J<>2];H=q&D;D=u&255;i[g>>1]=L|(p(k[ia+(H>>>D|0)|0],f)>>>0)/255>>>J<1){A=A-1|0;break ka}g=g+I|0;B=a;if(a){continue da}break a}a=0;continue}}}c=0;C=j[b+12>>2];if(!C){break a}n=j[a+16>>2]/2|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;a=j[b+8>>2];I=a&3;b=(a+3|0)/4|0;J=n-a<<1;la:while(1){ma:{na:{oa:{pa:{qa:{switch(I-1|0){case 0:m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];v=k[h+30|0];t=k[h+33|0];r=j[h+16>>2];w=k[h+29|0];y=k[h+32|0];s=j[h+12>>2];n=k[h+28|0];o=b;break na;case 1:Y=k[h+30|0];la=j[(Y<<2)+234976>>2];L=k[h+29|0];ma=j[(L<<2)+234976>>2];H=k[h+28|0];na=j[(H<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];D=k[h+34|0];u=D;v=Y;A=k[h+33|0];t=A;w=L;z=k[h+32|0];y=z;n=H;o=b;break oa;case 2:Y=k[h+30|0];la=j[(Y<<2)+234976>>2];L=k[h+29|0];ma=j[(L<<2)+234976>>2];H=k[h+28|0];na=j[(H<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];D=k[h+34|0];u=D;v=Y;A=k[h+33|0];t=A;w=L;z=k[h+32|0];y=z;n=H;o=b;break pa;default:break qa}}v=k[h+30|0];la=j[(v<<2)+234976>>2];w=k[h+29|0];ma=j[(w<<2)+234976>>2];n=k[h+28|0];na=j[(n<<2)+234976>>2];m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];t=k[h+33|0];r=j[h+16>>2];y=k[h+32|0];s=j[h+12>>2];o=b;a=0;break ma}a=1;break ma}a=2;break ma}a=3}while(1){ra:{switch(a|0){case 0:a=l[g>>1];A=t&255;x=k[((a&r)>>>A|0)+ma|0]+e|0;L=w&255;B=(x>>>0<255?x:255)>>>L<>>z|0)+na|0]+d|0;H=n&255;D=u&255;a=k[((a&q)>>>D|0)+la|0]+f|0;Y=v&255;i[g>>1]=B|(x>>>0<255?x:255)>>>H<>>0<255?a:255)>>>Y<>1];x=k[((a&r)>>>A|0)+ma|0]+e|0;B=(x>>>0<255?x:255)>>>L<>>z|0)+na|0]+d|0;a=k[((a&q)>>>D|0)+la|0]+f|0;i[g>>1]=B|(x>>>0<255?x:255)>>>H<>>0<255?a:255)>>>Y<>1];x=k[((a&r)>>>A|0)+ma|0]+e|0;B=(x>>>0<255?x:255)>>>L<>>z|0)+na|0]+d|0;a=k[((a&q)>>>D|0)+la|0]+f|0;i[g>>1]=B|(x>>>0<255?x:255)>>>H<>>0<255?a:255)>>>Y<>2];x=l[g>>1];G=t&255;K=k[ma+((x&r)>>>G|0)|0]+e|0;B=(K>>>0<255?K:255)>>>F<>2];G=y&255;K=k[na+((s&x)>>>G|0)|0]+d|0;M=B|(K>>>0<255?K:255)>>>F<>2];B=q&x;x=u&255;G=k[la+(B>>>x|0)|0]+f|0;i[g>>1]=M|(G>>>0<255?G:255)>>>F<1){o=o-1|0;break sa}g=g+J|0;C=a;if(a){continue la}break a}a=0;continue}}}return c|0}function Uo(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;u=oe-32|0;oe=u;y=-2;a:{if(!a){break a}c=j[a+28>>2];if(!c|!j[a>>2]){break a}n=-5;x=(b|0)==4?-5:0;while(1){b=1;w=-3;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(j[c>>2]){case 0:b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;b=k[b|0];j[c+4>>2]=b;c=j[a+28>>2];if((b&15)!=8){j[c>>2]=13;j[a+24>>2]=16824;break c}if(m[c+16>>2]<(j[c+4>>2]>>>4|0)+8>>>0){j[c>>2]=13;j[a+24>>2]=16851;break c}j[c>>2]=1;n=x;case 1:b=n;e=j[a+4>>2];if(!e){break e}b=e-1|0;j[a+4>>2]=b;j[a+8>>2]=j[a+8>>2]+1;e=j[a>>2];j[a>>2]=e+1;e=k[e|0];if(((e|j[c+4>>2]<<8)>>>0)%31|0){j[c>>2]=13;j[a+24>>2]=16871;break c}if(!(e&32)){j[c>>2]=7;break b}j[c>>2]=2;n=x;break o;case 8:break i;case 7:break j;case 6:break k;case 5:break l;case 4:break m;case 3:break n;case 2:break p;case 13:break d;case 12:break e;case 11:break f;case 10:break g;case 9:break h;default:break a}}b=j[a+4>>2]}y=n;if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=k[b|0]<<24;c=j[a+28>>2];j[c>>2]=3;n=x}y=n;b=j[a+4>>2];if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<16);c=j[a+28>>2];j[c>>2]=4;n=x}y=n;b=j[a+4>>2];if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<8);c=j[a+28>>2];j[c>>2]=5;n=x}y=n;b=j[a+4>>2];if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+k[b|0];b=a;a=j[a+28>>2];j[b+48>>2]=j[a+8>>2];j[a>>2]=6;y=2;break a}j[c>>2]=13;j[a+24>>2]=16894;j[c+4>>2]=0;break a}d=j[c+20>>2];q=j[d+52>>2];b=j[d+48>>2];q:{if(q>>>0>>0){b=b+(q^-1)|0;break q}b=j[d+44>>2]-q|0}o=j[a+4>>2];e=j[a>>2];f=j[d+28>>2];g=j[d+32>>2];B=d+20|0;A=d+16|0;r:{while(1){s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{c=j[d>>2];if((c|0)!=2){S:{T:{switch(c|0){case 5:b=j[d+8>>2];break D;case 3:if(f>>>0<=13){break R}l=f;c=e;break K;case 1:if(f>>>0<=31){break S}l=f;c=e;break x;case 8:break A;case 7:break B;case 6:break C;case 9:break P;case 4:break Q;case 0:break T;default:break M}}U:{V:{W:{X:{Y:{if(f>>>0>2){l=f;c=e;break Y}if(!o){break X}o=o-1|0;l=f+8|0;g=k[e|0]<>2]=g&1;switch((g>>>1&3)-1|0){case 2:break U;case 1:break V;case 0:break W;default:break O}}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}e=qe[j[a+32>>2]](j[a+40>>2],1,28)|0;if(!e){j[d+32>>2]=g;j[d+4>>2]=0;j[d+28>>2]=l;break H}j[e+24>>2]=21296;j[e+20>>2]=17200;i[e+16>>1]=1289;j[e>>2]=0;j[d+4>>2]=e;f=l-3|0;g=g>>>3|0;l=6;break N}f=l-3|0;g=g>>>3|0;l=3;break N}j[d>>2]=9;j[a+24>>2]=16931;j[d+28>>2]=l-3;j[d+32>>2]=g>>>3;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break u}if(o){break y}break w}if(!o){j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}if(b){c=q;break z}Z:{if(j[d+44>>2]!=(q|0)){c=q;break Z}c=j[d+40>>2];b=j[d+48>>2];if((c|0)==(b|0)){c=q;break Z}b=b>>>0>c>>>0?b+(c^-1)|0:q-c|0;if(b){break z}}j[d+52>>2]=c;r=Af(d,a,n);n=j[d+52>>2];l=j[d+48>>2];_:{if(n>>>0>>0){c=j[d+44>>2];b=l+(n^-1)|0;break _}c=j[d+44>>2];b=c-n|0}$:{if((c|0)!=(n|0)){c=n;break $}c=j[d+40>>2];if((l|0)==(c|0)){c=n;break $}b=c>>>0>>0?l+(c^-1)|0:n-c|0}if(b){break z}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=c;w=Af(d,a,r);break r}if(o){break L}break J}b=j[d+8>>2];if(b>>>0<(j[d+4>>2]>>>10|0)+4>>>0){break F}break E}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break u}e=l-3|0;g=g>>>3>>>(e&7)|0;f=e&-8;l=1}e=c;j[d>>2]=l;continue}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;w=Af(d,a,-2);break r}aa:{while(1){l=f+8|0;c=e+1|0;o=o-1|0;g=k[e|0]<>>0>=6){break aa}f=l;e=c;if(o){continue}break}n=0;break J}n=0}j[d+4>>2]=g&16383;b=g&31;if(b>>>0<=29){e=g>>>5&31;if(e>>>0<30){break I}}j[d>>2]=9;j[a+24>>2]=16979;j[d+28>>2]=l;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break u}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}b=qe[j[a+32>>2]](j[a+40>>2],(b+e|0)+258|0,4)|0;j[d+12>>2]=b;if(b){break G}j[d+28>>2]=l;j[d+32>>2]=g}j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);j[d+52>>2]=q;w=Af(d,a,-4);break r}j[d>>2]=4;b=0;j[d+8>>2]=0;f=l-14|0;g=g>>>14|0;e=c}while(1){ba:{if(f>>>0<=2){if(!o){break ba}o=o-1|0;g=k[e|0]<>2]=b+1;j[j[d+12>>2]+(j[(b<<2)+17024>>2]<<2)>>2]=g&7;f=f-3|0;g=g>>>3|0;b=j[d+8>>2];if(b>>>0<(j[d+4>>2]>>>10|0)+4>>>0){continue}break E}break}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}if(b>>>0<19){while(1){j[d+8>>2]=b+1;j[j[d+12>>2]+(j[(b<<2)+17024>>2]<<2)>>2]=0;b=j[d+8>>2];if(b>>>0<19){continue}break}}j[d+16>>2]=7;c=j[d+12>>2];l=j[d+36>>2];j[u+28>>2]=0;ca:{b=qe[j[a+32>>2]](j[a+40>>2],19,4)|0;da:{if(!b){c=-4;break da}s=21552;ea:{fa:{ga:{ha:{ia:{c=nl(c,19,19,0,0,B,A,l,u+28|0,b);switch(c+5|0){case 2:break ga;case 0:break ha;default:break ia}}if(j[A>>2]){break fa}}s=21592}j[a+24>>2]=s;qe[j[a+36>>2]](j[a+40>>2],b);break ea}qe[j[a+36>>2]](j[a+40>>2],b);if(!c){break ca}if((c|0)!=-3){break da}}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=9;c=-3}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;w=Af(d,a,c);break r}j[d>>2]=5;j[d+8>>2]=0;b=0}l=j[d+4>>2];c=l&31;l=l>>>5&31;p=(c+l|0)+258|0;if(b>>>0

>>0){while(1){ja:{ka:{la:{t=j[A>>2];ma:{if(t>>>0<=f>>>0){c=f;r=e;l=o;break ma}c=f;s=e;l=o;if(!o){break la}na:{while(1){r=s+1|0;l=l-1|0;g=k[s|0]<>>0<=c>>>0){break na}s=r;if(l){continue}break}n=0;break la}n=0}e=j[B>>2]+((j[(t<<2)+17104>>2]&g)<<3)|0;t=k[e+1|0];v=j[e+4>>2];if(v>>>0>15){break ka}j[d+8>>2]=b+1;j[j[d+12>>2]+(b<<2)>>2]=v;f=c-t|0;g=g>>>t|0;b=j[d+8>>2];e=r;o=l;break ja}j[d+32>>2]=g;j[d+28>>2]=(o<<3)+f;j[a+4>>2]=0;b=j[a>>2];c=e+o|0;j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break s}oa:{pa:{C=(v|0)==18;z=C?7:v-14|0;D=z+t|0;qa:{if(D>>>0<=c>>>0){f=c;e=r;o=l;break qa}f=c;s=r;o=l;if(!o){break pa}ra:{while(1){e=s+1|0;o=o-1|0;g=k[s|0]<>>0<=f>>>0){break ra}s=e;if(o){continue}break}n=0;break pa}n=0}f=(f-t|0)-z|0;c=g>>>t|0;g=c>>>z|0;c=(c&j[(z<<2)+17104>>2])+(C?11:3)|0;if((v|0)!=16|b?c+b>>>0<=p>>>0:0){break oa}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=9;j[a+24>>2]=17172;j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break u}j[d+32>>2]=g;j[d+28>>2]=(l<<3)+c;j[a+4>>2]=0;b=j[a>>2];c=l+r|0;j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break s}l=0;l=(v|0)==16?j[(j[d+12>>2]+(b<<2)|0)-4>>2]:l;while(1){j[j[d+12>>2]+(b<<2)>>2]=l;b=b+1|0;c=c-1|0;if(c){continue}break}j[d+8>>2]=b}l=j[d+4>>2];c=l&31;l=l>>>5&31;p=(c+l|0)+258|0;if(p>>>0>b>>>0){continue}break}}j[d+20>>2]=0;j[u+24>>2]=9;j[u+20>>2]=6;r=j[d+36>>2];v=j[d+12>>2];j[u+28>>2]=0;sa:{ta:{ua:{b=qe[j[a+32>>2]](j[a+40>>2],288,4)|0;va:{if(!b){b=-4;break va}t=21884;wa:{xa:{ya:{za:{Aa:{z=c+257|0;s=nl(v,z,257,21632,21760,u+16|0,u+24|0,r,u+28|0,b);switch(s+4|0){case 0:break wa;case 1:break ya;case 4:break Aa;default:break za}}t=j[u+24>>2];if(t){break xa}}t=21919}j[a+24>>2]=t;s=-3;break wa}p=22200;Ba:{Ca:{Da:{Ea:{Fa:{Ga:{s=nl(v+(z<<2)|0,l+1|0,0,21952,22080,u+12|0,u+20|0,r,u+28|0,b);switch(s+5|0){case 1:break Ba;case 2:break Ca;case 0:break Da;case 5:break Ga;default:break Fa}}l=j[u+20>>2];if(l|!c){break Ea}}p=22254;break Ca}qe[j[a+36>>2]](j[a+40>>2],b);break ua}p=22229}j[a+24>>2]=p;s=-3}}qe[j[a+36>>2]](j[a+40>>2],b);b=-4;Ha:{switch(s+3|0){case 3:break ua;case 0:break Ha;default:break va}}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=9;b=-3}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;c=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-c|0);j[d+52>>2]=q;break ta}c=j[u+12>>2];r=j[u+16>>2];b=qe[j[a+32>>2]](j[a+40>>2],1,28)|0;if(b){j[b+24>>2]=c;j[b+20>>2]=r;h[b+17|0]=l;h[b+16|0]=t;j[b>>2]=0;j[d+4>>2]=b;b=n;c=1;break sa}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;b=-4}w=Af(d,a,b);c=0}if(!c){break r}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=6;n=b}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;p=j[d+4>>2];b=j[d+48>>2];Ia:{if(b>>>0>q>>>0){l=b+(q^-1)|0;break Ia}l=j[d+44>>2]-q|0}b=j[p>>2];Ja:{while(1){Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{$a:{ab:{bb:{cb:{db:{switch(b|0){case 1:t=j[p+12>>2];break cb;case 3:t=j[p+12>>2];break Na;case 5:c=j[p+12>>2];break Oa;case 9:break Ya;case 8:break Za;case 7:break _a;case 6:break $a;case 4:break ab;case 2:break bb;case 0:break db;default:break Xa}}j[p>>2]=1;t=k[p+16|0];j[p+12>>2]=t;j[p+8>>2]=j[p+20>>2]}if(f>>>0>=t>>>0){b=f;s=e;c=o;break Qa}b=f;r=e;c=o;if(c){break Ra}break Ka}v=j[p+8>>2];if(v>>>0<=f>>>0){b=f;break Sa}b=f;r=e;c=o;if(c){break Ta}break Ka}t=j[p+8>>2];if(t>>>0<=f>>>0){b=f;break Ua}b=f;r=e;c=o;if(c){break Va}break Ka}if(l){c=q;break Wa}eb:{if(j[d+44>>2]!=(q|0)){c=q;break eb}c=j[d+40>>2];b=j[d+48>>2];if((c|0)==(b|0)){c=q;break eb}l=b>>>0>c>>>0?b+(c^-1)|0:q-c|0;if(l){break Wa}}j[d+52>>2]=c;r=Af(d,a,n);b=j[d+52>>2];n=j[d+48>>2];fb:{if(b>>>0>>0){c=j[d+44>>2];l=n+(b^-1)|0;break fb}c=j[d+44>>2];l=c-b|0}gb:{if((b|0)!=(c|0)){c=b;break gb}c=j[d+40>>2];if((n|0)==(c|0)){c=b;break gb}l=c>>>0>>0?n+(c^-1)|0:b-c|0}if(l){break Wa}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=c;b=Af(d,a,r);break Ja}j[d+52>>2]=q;b=f>>>0>7;e=b?e-1|0:e;f=b?f-8|0:f;o=b+o|0;b=Af(d,a,n);q=j[d+52>>2];if((q|0)!=j[d+48>>2]){j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;c=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-c|0);b=Af(d,a,b);break Ja}j[p>>2]=8}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;b=Af(d,a,1);break Ja}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break Ma}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;b=Af(d,a,-2);break Ja}h[c|0]=j[p+8>>2];b=0;j[p>>2]=0;l=l-1|0;q=c+1|0;n=0;continue}hb:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break hb}r=s;if(c){continue}break}n=0;break Ka}n=0;e=s;o=c}j[p>>2]=5;c=j[p+12>>2]+(j[(t<<2)+17104>>2]&g)|0;j[p+12>>2]=c;f=b-t|0;g=g>>>t|0;break Oa}ib:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break ib}r=s;if(c){continue}break}n=0;break Ka}n=0;e=s;o=c}j[p>>2]=3;t=k[p+17|0];j[p+12>>2]=t;j[p+8>>2]=j[p+24>>2];j[p+4>>2]=j[p+4>>2]+(j[(v<<2)+17104>>2]&g);f=b-v|0;g=g>>>v|0;break Na}jb:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break jb}r=s;if(c){continue}break}n=0;break Ka}n=0}f=b;b=j[p+8>>2]+((j[(t<<2)+17104>>2]&g)<<3)|0;e=k[b+1|0];f=f-e|0;g=g>>>e|0;e=k[b|0];kb:{if(!e){b=j[b+4>>2];j[p>>2]=6;j[p+8>>2]=b;b=6;break kb}if(e&16){j[p+8>>2]=e&15;b=j[b+4>>2];j[p>>2]=2;j[p+4>>2]=b;b=2;break kb}if(!(e&64)){j[p+12>>2]=e;j[p+8>>2]=b+(j[b+4>>2]<<3);b=1;break kb}if(!(e&32)){break Pa}j[p>>2]=7;b=7}e=s;o=c;continue}j[p>>2]=9;j[a+24>>2]=22287;j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=c;b=j[a>>2];j[a>>2]=s;j[a+8>>2]=j[a+8>>2]+(s-b|0);break Ma}b=q-c|0;c=j[d+40>>2];if(b>>>0>>0){r=j[d+44>>2]-c|0;while(1){b=b+r|0;if(c>>>0>b>>>0){continue}break}}if(j[p+4>>2]){while(1){lb:{if(l){c=q;break lb}mb:{if(j[d+44>>2]!=(q|0)){c=q;break mb}c=j[d+40>>2];l=j[d+48>>2];if((c|0)==(l|0)){c=q;break mb}l=c>>>0>>0?l+(c^-1)|0:q-c|0;if(l){break lb}}j[d+52>>2]=c;s=Af(d,a,n);n=j[d+52>>2];r=j[d+48>>2];nb:{if(n>>>0>>0){c=j[d+44>>2];l=r+(n^-1)|0;break nb}c=j[d+44>>2];l=c-n|0}ob:{if((c|0)!=(n|0)){c=n;break ob}c=j[d+40>>2];if((r|0)==(c|0)){c=n;break ob}l=c>>>0>>0?r+(c^-1)|0:n-c|0}if(l){break lb}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=c;b=Af(d,a,s);break Ja}h[c|0]=k[b|0];b=b+1|0;if((b|0)==j[d+44>>2]){b=j[d+40>>2]}l=l-1|0;q=c+1|0;c=j[p+4>>2]-1|0;j[p+4>>2]=c;n=0;if(c){continue}break}}b=0;j[p>>2]=0;continue}pb:{if(f>>>0>=t>>>0){b=f;s=e;c=o;break pb}b=f;r=e;c=o;if(!c){break Ka}qb:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break qb}r=s;if(c){continue}break}n=0;break Ka}n=0}f=b;r=j[p+8>>2];o=j[(t<<2)+17104>>2]&g;e=r+(o<<3)|0;b=k[e+1|0];f=f-b|0;g=g>>>b|0;b=k[e|0];if(b&16){j[p+8>>2]=b&15;e=j[e+4>>2];b=4;j[p>>2]=4;j[p+12>>2]=e;break La}if(!(b&64)){j[p+12>>2]=b;b=3;j[p+8>>2]=e+(j[(r+(o<<3)|0)+4>>2]<<3);break La}j[p>>2]=9;j[a+24>>2]=22315;j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=c;b=j[a>>2];j[a>>2]=s;j[a+8>>2]=j[a+8>>2]+(s-b|0)}j[d+52>>2]=q;b=Af(d,a,-3);break Ja}e=s;o=c;continue}break}j[d+32>>2]=g;j[d+28>>2]=(o<<3)+f;j[a+4>>2]=0;b=j[a>>2];c=e+o|0;j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);j[d+52>>2]=q;b=Af(d,a,n)}if((b|0)!=1){w=Af(d,a,b);break r}qe[j[a+36>>2]](j[a+40>>2],j[d+4>>2]);q=j[d+52>>2];b=j[d+48>>2];rb:{if(q>>>0>>0){b=b+(q^-1)|0;break rb}b=j[d+44>>2]-q|0}f=j[d+28>>2];g=j[d+32>>2];o=j[a+4>>2];e=j[a>>2];if(!j[d+24>>2]){n=0;j[d>>2]=0;continue}j[d>>2]=7;n=0}j[d+52>>2]=q;b=Af(d,a,n);q=j[d+52>>2];if((q|0)!=j[d+48>>2]){j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;c=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-c|0);w=Af(d,a,b);break r}j[d>>2]=8}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;w=Af(d,a,1);break r}n=c;c=j[d+4>>2];c=c>>>0>o>>>0?o:c;c=b>>>0>>0?b:c;n=Ae(n,e,c);l=j[d+4>>2]-c|0;j[d+4>>2]=l;b=b-c|0;q=c+n|0;o=o-c|0;e=c+e|0;n=0;if(l){continue}j[d>>2]=j[d+24>>2]?7:0;continue}sb:{while(1){l=f+8|0;c=e+1|0;o=o-1|0;g=k[e|0]<>>0>=24){break sb}f=l;e=c;if(o){continue}break}n=0;break w}n=0}e=(g^-1)>>>16|0;if((e|0)==(g&65535)){break v}j[d>>2]=9;j[a+24>>2]=16950;j[d+28>>2]=l;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break u}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}j[d+4>>2]=e;if(e){g=0;l=2;break t}g=0;l=j[d+24>>2]?7:0;break t}j[d+52>>2]=q;w=Af(d,a,-3);break r}f=0;e=c;j[d>>2]=l;continue}break}j[d+52>>2]=q;w=Af(d,a,n)}b=x;tb:{switch(w+3|0){case 0:b=j[a+28>>2];j[b>>2]=13;j[b+4>>2]=0;n=-3;c=j[a+28>>2];continue;case 4:break tb;case 3:break e;default:break d}}b=j[a+28>>2];c=j[b+20>>2];j[b+4>>2]=j[c+60>>2];b=j[c>>2];if((b&-2)==4){qe[j[a+36>>2]](j[a+40>>2],j[c+12>>2]);b=j[c>>2]}if((b|0)==6){qe[j[a+36>>2]](j[a+40>>2],j[c+4>>2])}j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;b=j[c+40>>2];j[c+52>>2]=b;j[c+48>>2]=b;b=j[c+56>>2];if(b){b=qe[b|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b}c=j[a+28>>2];if(j[c+12>>2]){j[c>>2]=12;break b}j[c>>2]=8;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=k[b|0]<<24;c=j[a+28>>2];j[c>>2]=9;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<16);c=j[a+28>>2];j[c>>2]=10;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<8);c=j[a+28>>2];j[c>>2]=11;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+k[b|0];b=j[a+28>>2];if(j[b+4>>2]!=j[b+8>>2]){j[b>>2]=13;j[a+24>>2]=16910;j[b+4>>2]=5;break b}j[b>>2]=12;y=1;break a}y=b;break a}y=w;break a}j[c+4>>2]=5}c=j[a+28>>2];n=x;continue}}oe=u+32|0;return y}function uK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=j[a+36>>2];i=j[a+20>>2];s=j[a+16>>2];e=j[a>>2];p=j[a+28>>2];d=j[a+24>>2];b=j[a+40>>2];m=k[b+9|0];n=j[a+48>>2];a:{if(n){if(!p){break a}t=d&7;c=(d+7|0)/8|0;o=m-1|0;while(1){q=c;b:{c:{switch(t-1|0){default:a=7;break b;case 0:a=6;break b;case 1:a=5;break b;case 2:a=4;break b;case 3:a=3;break b;case 4:a=2;break b;case 5:a=1;break b;case 6:break c}}a=0}while(1){d:{e:{switch(a|0){case 0:a=0;g=0;d=0;f:{g:{h:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break g;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break g;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break g;case 3:break h;default:break f}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=1;continue;case 1:a=0;g=0;d=0;i:{j:{k:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break j;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break j;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break j;case 3:break k;default:break i}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=2;continue;case 2:a=0;g=0;d=0;l:{m:{n:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break m;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break m;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break m;case 3:break n;default:break l}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=3;continue;case 3:a=0;g=0;d=0;o:{p:{q:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break p;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break p;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break p;case 3:break q;default:break o}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=4;continue;case 4:a=0;g=0;d=0;r:{s:{t:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break s;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break s;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break s;case 3:break t;default:break r}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=5;continue;case 5:a=0;g=0;d=0;u:{v:{w:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break v;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break v;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break v;case 3:break w;default:break u}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=6;continue;case 6:a=0;g=0;d=0;x:{y:{z:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break y;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break y;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break y;case 3:break z;default:break x}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}f=p-1|0;h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;if((q|0)<=1){break d}q=q-1|0;a=7;continue;default:break e}}g=0;d=0;a=0;A:{B:{C:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;break B;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;break B;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+32|0]>>>3|0)+e|0;d=(k[b+33|0]>>>3|0)+e|0;break B;case 3:break C;default:break A}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0}a=k[a|0];g=k[g|0];d=k[d|0]}h[i|0]=k[n+(d>>>3&28|g&224|(a&192)>>>6)|0];e=e+m|0;i=i+1|0;a=0;continue}break}i=i+r|0;e=e+s|0;p=f;if(f){continue}break}break a}if(!p){break a}o=d&7;q=(d+7|0)/8|0;n=m-1|0;while(1){d=q;D:{E:{switch(o-1|0){default:a=7;break D;case 0:a=6;break D;case 1:a=5;break D;case 2:a=4;break D;case 3:a=3;break D;case 4:a=2;break D;case 5:a=1;break D;case 6:break E}}a=0}while(1){F:{G:{switch(a|0){case 0:a=0;f=0;g=0;H:{I:{J:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break I;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break I;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break I;case 3:break J;default:break H}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=1;continue;case 1:a=0;f=0;g=0;K:{L:{M:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break L;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break L;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break L;case 3:break M;default:break K}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=2;continue;case 2:a=0;f=0;g=0;N:{O:{P:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break O;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break O;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break O;case 3:break P;default:break N}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=3;continue;case 3:a=0;f=0;g=0;Q:{R:{S:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break R;case 3:break S;default:break Q}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=4;continue;case 4:a=0;f=0;g=0;T:{U:{V:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break U;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break U;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break U;case 3:break V;default:break T}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=5;continue;case 5:a=0;f=0;g=0;W:{X:{Y:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break X;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break X;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break X;case 3:break Y;default:break W}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=6;continue;case 6:a=0;f=0;g=0;Z:{_:{$:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break _;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break _;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break _;case 3:break $;default:break Z}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}c=p-1|0;h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;if((d|0)<=1){break F}d=d-1|0;a=7;continue;default:break G}}f=0;g=0;a=0;aa:{ba:{ca:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break ba;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break ba;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break ba;case 3:break ca;default:break aa}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}a=k[a|0];f=k[c|0];g=k[g|0]}h[i|0]=g>>>3&28|f&224|(a&192)>>>6;e=e+m|0;i=i+1|0;a=0;continue}break}i=i+r|0;e=e+s|0;p=c;if(c){continue}break}}}function VK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;a:{w=j[a+28>>2];if(!w){break a}m=k[a+63|0];u=j[a+56>>2];y=j[a+36>>2];z=j[a+16>>2];v=j[j[j[a+40>>2]+4>>2]+4>>2];b=j[a+44>>2];g=b;d=j[a+24>>2];A=d&7;B=(d+7|0)/8|0;r=j[a>>2];a=j[a+20>>2];t=k[b+9|0];s=t-1|0;b:while(1){x=B;c:{d:{switch(A-1|0){default:d=0;break c;case 0:d=7;break c;case 1:d=6;break c;case 2:d=5;break c;case 3:d=4;break c;case 4:d=3;break c;case 5:d=2;break c;case 6:break d}}d=1}while(1){e:{switch(d|0){case 0:d=k[r|0];f:{if((d|0)==(u|0)){break f}d=(d<<2)+v|0;n=k[d+2|0];o=k[d+1|0];q=k[d|0];d=0;e=0;f=0;c=0;g:{h:{switch(s|0){case 0:c=k[a|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break g;case 3:break h;default:break g}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;i:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break f;case 3:break i;default:break f}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break k;case 3:break l;default:break k}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;m:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break j;case 3:break m;default:break j}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break o;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break o;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break o;case 3:break p;default:break o}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;q:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break n;case 3:break q;default:break n}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break s;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break s;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break s;case 3:break t;default:break s}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;u:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break r;case 3:break u;default:break r}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break w;case 3:break x;default:break w}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;y:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break v;case 3:break y;default:break v}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break A;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break A;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break A;case 3:break B;default:break A}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;C:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break z;case 3:break C;default:break z}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break E;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break E;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break E;case 3:break F;default:break E}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;G:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break D;case 3:break G;default:break D}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break I;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break I;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break I;case 3:break J;default:break I}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;K:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break H;case 3:break K;default:break H}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<1){x=x-1|0;break L}a=a+y|0;r=r+z|0;w=d;if(d){continue b}break a}d=0;continue}}}}function Lm(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0;l=oe-288|0;oe=l;a:{if(!a){j[l>>2]=117623;i=ve(117597,l);break a}Oe(a,0,84);b:{c:{d:{e:{if((b|0)<=33055){i=b-32776|0;if(i>>>0<=24){break e}break d}f:{switch(b-36880|0){case 0:case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break c;default:break f}}if((b|0)==33056|(b|0)==37152){break b}break c}if(1<>>0<=24){break k}break j}l:{switch(e-36880|0){case 0:case 16:break h;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break i;default:break l}}if((e|0)==33056|(e|0)==37152){break h}break i}if(1<>>0<=8:0)){i=ve(117676,0);break a}if(!(1<>>0<=8:0)){i=ve(117700,0);break a}if((d|0)<=0){i=ve(117729,0);break a}if((g|0)<=0){i=ve(117771,0);break a}if((d|0)>=4194303){i=ve(117818,0);break a}if((g|0)>=4194303){i=ve(117842,0);break a}h[a+6|0]=e;h[a+7|0]=e>>>8;h[a+4|0]=b;h[a+5|0]=b>>>8;h[a+80|0]=0;h[a+81|0]=0;h[a+82|0]=0;h[a+83|0]=0;h[a|0]=0;h[a+1|0]=0;h[a+2|0]=0;h[a+3|0]=0;Oe(a+40|0,0,40);h[a+32|0]=0;h[a+33|0]=0;h[a+34|0]=0;h[a+35|0]=0;h[a+36|0]=0;h[a+37|0]=0;h[a+38|0]=240;h[a+39|0]=63;h[a+28|0]=1;h[a+29|0]=0;h[a+30|0]=0;h[a+31|0]=0;s=+(g|0);t=+(d|0);q=s/t;rP(+q);i=oP(1)|0;m=oP(0)|0;h[a+8|0]=m;h[a+9|0]=m>>>8;h[a+10|0]=m>>>16;h[a+11|0]=m>>>24;h[a+12|0]=i;h[a+13|0]=i>>>8;h[a+14|0]=i>>>16;h[a+15|0]=i>>>24;zO();n:{o:{p:{q:{if((c|0)!=(f|0)|(d|0)!=(g|0)){break q}i=0;if((b|0)==(e|0)){break a}if((b^e)&61439){break q}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;d=a+40|0;c=d+(c<<2)|0;h[c|0]=106;h[c+1|0]=2;h[c+2|0]=0;h[c+3|0]=0;b=d+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break n}j[l+16>>2]=9;if((ve(117978,l+16|0)|0)>=0){break n}break p}r:{if(!(b&4096)){break r}m=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((m|0)<=8){i=m+1|0;h[a+80|0]=i;h[a+81|0]=i>>>8;h[a+82|0]=i>>>16;h[a+83|0]=i>>>24;n=a+40|0;m=n+(m<<2)|0;h[m|0]=106;h[m+1|0]=2;h[m+2|0]=0;h[m+3|0]=0;i=n+(i<<2)|0;h[i|0]=0;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;break r}j[l+272>>2]=9;if((ve(117978,l+272|0)|0)<0){break p}}s:{if(b&256){break s}i=264372;t:{u:{v:{w:{x:{y:{m=b&61439;switch(m-32776|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:break t;case 0:break u;case 24:break v;case 8:break x;default:break y}}z:{switch(m-8|0){case 8:break w;case 0:break z;default:break t}}i=264376;break u}i=264380;break u}i=264384;break u}i=264388}i=j[i>>2];if(!i){break t}n=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);A:{if((n|0)<=8){m=n+1|0;h[a+80|0]=m;h[a+81|0]=m>>>8;h[a+82|0]=m>>>16;h[a+83|0]=m>>>24;u=a+40|0;n=u+(n<<2)|0;h[n|0]=i;h[n+1|0]=i>>>8;h[n+2|0]=i>>>16;h[n+3|0]=i>>>24;i=(m<<2)+u|0;h[i|0]=0;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;break A}j[l+256>>2]=9;if((ve(117978,l+256|0)|0)<0){break p}}i=b&255;if(i>>>0<=31){i=32/((b&255)>>>0)|0;b=p(i,k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24));h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()*+(i>>>0)));b=oP(1)|0;i=oP(0)|0;h[a+32|0]=i;h[a+33|0]=i>>>8;h[a+34|0]=i>>>16;h[a+35|0]=i>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;break s}if((i|0)==32){break s}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()/+(i>>>5>>>0)));b=oP(1)|0;i=oP(0)|0;h[a+32|0]=i;h[a+33|0]=i>>>8;h[a+34|0]=i>>>16;h[a+35|0]=i>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;break s}if((ve(118041,0)|0)<0){break p}}B:{C:{D:{if(c>>>0>>0){if((c|0)!=1|f>>>0<2){break C}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=107;h[c+1|0]=2;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break D}j[l+160>>2]=9;if((ve(117978,l+160|0)|0)>=0){break D}break p}if(c>>>0<=f>>>0){break B}if(!((c|0)!=8|f>>>0>6)){c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);E:{if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=108;h[c+1|0]=2;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break E}j[l+240>>2]=9;if((ve(117978,l+240|0)|0)<0){break p}}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()*.75));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=6}b=a;n=a;F:{G:{H:{I:{J:{if(!((c|0)==6?f>>>0<=2:0)){if((f|0)!=4){break H}if((c|0)==6){break J}break H}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=109;h[i+1|0]=2;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break I}j[l+192>>2]=9;if((ve(117978,l+192|0)|0)>=0){break I}break p}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);K:{if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=110;h[i+1|0]=2;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break K}j[l+224>>2]=9;if((ve(117978,l+224|0)|0)<0){break p}}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,c|0);o=+qP();rP(+((o+o)/3));c=oP(1)|0;i=oP(0)|0;h[a+32|0]=i;h[a+33|0]=i>>>8;h[a+34|0]=i>>>16;h[a+35|0]=i>>>24;h[a+36|0]=c;h[a+37|0]=c>>>8;h[a+38|0]=c>>>16;h[a+39|0]=c>>>24;c=4;break H}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,c|0);o=+qP()/3;break G}if((c|0)!=4|f>>>0>2){break F}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);L:{if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=111;h[i+1|0]=2;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break L}j[l+208>>2]=9;if((ve(117978,l+208|0)|0)<0){break p}}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,c|0);o=+qP()*.5}rP(+o);c=oP(1)|0;i=oP(0)|0;h[n+32|0]=i;h[b+33|0]=i>>>8;h[b+34|0]=i>>>16;h[b+35|0]=i>>>24;h[b+36|0]=c;h[b+37|0]=c>>>8;h[b+38|0]=c>>>16;h[b+39|0]=c>>>24;c=2}if((f|0)!=1|(c|0)!=2){break B}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);M:{if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=112;h[c+1|0]=2;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break M}j[l+176>>2]=9;if((ve(117978,l+176|0)|0)<0){break p}}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()*.5));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=1;break B}b=(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24))<<1;h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);o=+qP();rP(+(o+o));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=2}b=a;n=a;N:{O:{P:{Q:{i=f>>>0<6;if(!((c|0)==2?!i:0)){if(i){break N}if((c|0)==4){break Q}break N}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=113;h[i+1|0]=2;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break P}j[l+128>>2]=9;if((ve(117978,l+128|0)|0)>=0){break P}break p}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);R:{if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=114;h[i+1|0]=2;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break R}j[l+144>>2]=9;if((ve(117978,l+144|0)|0)<0){break p}}o=1.5;c=(p(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24),3)+1|0)/2|0;break O}o=3;c=p(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24),3)}h[n+28|0]=c;h[b+29|0]=c>>>8;h[b+30|0]=c>>>16;h[b+31|0]=c>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()*o));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=6}S:{T:{U:{if(!((c|0)==6?(f|0)==8:0)){if((f|0)!=4|(c|0)!=2){break B}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)>8){break U}b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=115;h[c+1|0]=2;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break S}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=116;h[c+1|0]=2;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break T}j[l+96>>2]=9;if((ve(117978,l+96|0)|0)>=0){break T}break p}j[l+112>>2]=9;if((ve(117978,l+112|0)|0)>=0){break S}break p}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()*4/3));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;b=((k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24))<<2|2)/3|0;h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;c=8;break B}b=(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24))<<1;h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);o=+qP();rP(+(o+o));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=4}if((c|0)!=(f|0)){i=ve(117871,0);break a}V:{if((d|0)==(g|0)){break V}f=f-1|0;b=f&255;W:{if(!(b>>>0>=8|!(171>>>b&1))){i=-1;if((rs()|0)<0){break a}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);X:{if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;f=j[(f<<24>>24<<2)+118192>>2];h[c|0]=f;h[c+1|0]=f>>>8;h[c+2|0]=f>>>16;h[c+3|0]=f>>>24;c=i+(b<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break X}j[l+80>>2]=9;if((ve(117978,l+80|0)|0)<0){break a}b=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24)}if((b|0)>=7){j[l+64>>2]=7;b=ve(117978,l- -64|0);break W}h[a+76|0]=g;h[a+77|0]=g>>>8;h[a+78|0]=g>>>16;h[a+79|0]=g>>>24;h[a+72|0]=d;h[a+73|0]=d>>>8;h[a+74|0]=d>>>16;h[a+75|0]=d>>>24;b=a;f=a;Y:{if((d|0)<(g|0)){c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,c|0);rP(+(q*+qP()));c=oP(1)|0;d=oP(0)|0;h[a+32|0]=d;h[a+33|0]=d>>>8;h[a+34|0]=d>>>16;h[a+35|0]=d>>>24;h[a+36|0]=c;h[a+37|0]=c>>>8;h[a+38|0]=c>>>16;h[a+39|0]=c>>>24;q=w(q);Z:{if(r(q)<2147483648){c=~~q;break Z}c=-2147483648}c=p(c,k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24));break Y}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,c|0);rP(+(+qP()/(t/s)));c=oP(1)|0;d=oP(0)|0;h[a+32|0]=d;h[a+33|0]=d>>>8;h[a+34|0]=d>>>16;h[a+35|0]=d>>>24;h[a+36|0]=c;h[a+37|0]=c>>>8;h[a+38|0]=c>>>16;h[a+39|0]=c>>>24;c=k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24)}c=c<<1;h[f+28|0]=c;h[b+29|0]=c>>>8;h[b+30|0]=c>>>16;h[b+31|0]=c>>>24;break V}b=ve(118093,0)}if((b|0)<0){break p}}_:{$:{if(e&256){break $}b=264392;aa:{ba:{ca:{da:{ea:{c=e&61439;switch(c-32776|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:break _;case 0:break aa;case 24:break ba;case 8:break da;default:break ea}}fa:{switch(c-8|0){case 8:break ca;case 0:break fa;default:break _}}b=264396;break aa}b=264400;break aa}b=264404;break aa}b=264408}b=j[b>>2];if(!b){break _}d=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);ga:{if((d|0)<=8){c=d+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;f=a+40|0;d=f+(d<<2)|0;h[d|0]=b;h[d+1|0]=b>>>8;h[d+2|0]=b>>>16;h[d+3|0]=b>>>24;b=f+(c<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break ga}j[l+48>>2]=9;if((ve(117978,l+48|0)|0)<0){break p}}b=e&255;if(b>>>0>=33){c=b>>>5|0;b=p(c,k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24));h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()*+(c>>>0)));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;break $}if((b|0)==32){break $}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);pP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));pP(1,b|0);rP(+(+qP()/+(32/((e&255)>>>0)>>>0)));b=oP(1)|0;c=oP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24}if(!(e&4096)){break o}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;d=a+40|0;c=d+(c<<2)|0;h[c|0]=106;h[c+1|0]=2;h[c+2|0]=0;h[c+3|0]=0;b=d+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break o}j[l+32>>2]=9;if((ve(117978,l+32|0)|0)>=0){break o}break p}if((ve(118133,0)|0)>=0){break o}}i=-1;break a}i=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))!=0;h[a|0]=i;h[a+1|0]=i>>>8;h[a+2|0]=i>>>16;h[a+3|0]=i>>>24;break a}i=1;h[a|0]=1;h[a+1|0]=0;h[a+2|0]=0;h[a+3|0]=0}oe=l+288|0;return i}function ai(a,b){var c=0,d=0,e=0,f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;v=oe-16|0;oe=v;C=-2;a:{if(!a){break a}c=j[a+28>>2];if(!c){break a}w=j[a+12>>2];if(!w){break a}n=j[a>>2];if(j[a+4>>2]?!n:0){break a}e=j[c>>2];if((e|0)==11){j[c>>2]=12;e=12}K=b-5|0;L=c+88|0;E=c+752|0;H=c+112|0;I=c+84|0;F=c+108|0;D=c+1328|0;f=j[c+60>>2];g=j[c+56>>2];J=j[a+4>>2];o=J;u=j[a+16>>2];B=u;b:{c:{d:while(1){e:{d=-3;q=1;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{switch(e|0){case 23:q=j[c+72>>2];break x;case 21:q=j[c+72>>2];break z;case 18:q=j[c+104>>2];break N;case 0:e=j[c+8>>2];if(!e){break H}if(f>>>0<16){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<8;f=f+8|0;n=n+1|0;if(d){continue}break}}if(!(!(e&2)|(g|0)!=35615)){g=0;d=Rf(0,0,0);j[c+24>>2]=d;h[v+12|0]=31;h[v+13|0]=139;d=Rf(d,v+12|0,2);j[c>>2]=1;j[c+24>>2]=d;f=0;e=j[c>>2];continue}j[c+16>>2]=0;d=j[c+32>>2];if(d){j[d+48>>2]=-1}if(!(((g<<8&65280)+(g>>>8|0)>>>0)%31|0?0:e&1)){j[a+24>>2]=111526;j[c>>2]=29;e=j[c>>2];continue}if((g&15)!=8){j[a+24>>2]=111549;j[c>>2]=29;e=j[c>>2];continue}d=g>>>4|0;p=d&15;q=p+8|0;e=j[c+36>>2];if(!e){j[c+36>>2]=q;break f}if(e>>>0>=q>>>0){break f}f=f-4|0;j[a+24>>2]=111576;j[c>>2]=29;g=d;e=j[c>>2];continue;case 1:if(f>>>0<16){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<8;f=f+8|0;n=n+1|0;if(d){continue}break}}j[c+16>>2]=g;if((g&255)!=8){j[a+24>>2]=111549;j[c>>2]=29;e=j[c>>2];continue}if(g&57344){j[a+24>>2]=111596;j[c>>2]=29;e=j[c>>2];continue}d=j[c+32>>2];if(d){j[d>>2]=g>>>8&1}if(g&512){h[v+12|0]=g;h[v+13|0]=g>>>8;M=c,N=Rf(j[c+24>>2],v+12|0,2),j[M+24>>2]=N}j[c>>2]=2;f=0;g=0;break ea;case 28:break h;case 8:break k;case 7:break l;case 6:break m;case 5:break n;case 24:break w;case 22:break y;case 27:break I;case 26:break J;case 25:break K;case 30:break b;case 20:break L;case 19:break M;case 17:break Q;case 16:break R;case 15:break S;case 14:break T;case 13:break U;case 29:break c;case 12:break V;case 11:break W;case 10:break X;case 9:break Y;case 4:break $;case 3:break ca;case 2:break fa;default:break a}}if(f>>>0>31){break da}}e=n;while(1){if(!o){o=0;n=e;d=y;break c}o=o-1|0;g=(k[e|0]<>>0<24;f=f+8|0;n=e+1|0;e=n;if(d){continue}break}}d=j[c+32>>2];if(d){j[d+4>>2]=g}if(k[c+17|0]&2){h[v+12|0]=g;h[v+13|0]=g>>>8;h[v+14|0]=g>>>16;h[v+15|0]=g>>>24;M=c,N=Rf(j[c+24>>2],v+12|0,4),j[M+24>>2]=N}j[c>>2]=3;f=0;g=0;break ba}if(f>>>0>15){break aa}}e=n;while(1){if(!o){o=0;n=e;d=y;break c}o=o-1|0;g=(k[e|0]<>>0<8;f=f+8|0;n=e+1|0;e=n;if(d){continue}break}}d=j[c+32>>2];if(d){j[d+12>>2]=g>>>8;j[d+8>>2]=g&255}if(k[c+17|0]&2){h[v+12|0]=g;h[v+13|0]=g>>>8;M=c,N=Rf(j[c+24>>2],v+12|0,2),j[M+24>>2]=N}j[c>>2]=4;e=0;f=0;g=0;q=j[c+16>>2];if(q&1024){break _}break p}q=j[c+16>>2];if(!(q&1024)){e=f;break p}e=g;if(f>>>0>15){break Z}}while(1){if(!o){o=0;g=e;d=y;break c}o=o-1|0;e=(k[n|0]<>>0<8;f=f+8|0;d=n+1|0;n=d;if(p){continue}break}n=d;g=e}j[c+64>>2]=g;d=j[c+32>>2];if(d){j[d+20>>2]=g}f=0;if(q&512){h[v+12|0]=g;h[v+13|0]=g>>>8;M=c,N=Rf(j[c+24>>2],v+12|0,2),j[M+24>>2]=N}g=0;break o}if(f>>>0<32){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}d=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);j[c+24>>2]=d;j[a+48>>2]=d;j[c>>2]=10;g=0;f=0}if(!j[c+12>>2]){j[a+16>>2]=u;j[a+12>>2]=w;j[a+4>>2]=o;j[a>>2]=n;j[c+60>>2]=f;j[c+56>>2]=g;C=2;break a}d=bi(0,0,0);j[c+24>>2]=d;j[a+48>>2]=d;j[c>>2]=11}if(K>>>0<2){break i}}ga:{ha:{if(!j[c+4>>2]){d=f;if(f>>>0>2){break ga}if(o){break ha}break j}j[c>>2]=26;g=g>>>(f&7)|0;f=f&-8;e=j[c>>2];continue}o=o-1|0;g=(k[n|0]<>2]=g&1;f=13;ia:{ja:{ka:{switch((g>>>1&3)-1|0){case 0:j[c+76>>2]=112e3;j[c+84>>2]=9;j[c+88>>2]=5;j[c+80>>2]=114048;j[c>>2]=19;if((b|0)!=6){break ia}f=d-3|0;g=g>>>3|0;d=y;break c;case 1:f=16;break ja;case 2:break ka;default:break ja}}j[a+24>>2]=111641;f=29}j[c>>2]=f}f=d-3|0;g=g>>>3|0;e=j[c>>2];continue}g=g>>>(f&7)|0;f=f&-8;if(f>>>0<=31){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}d=g&65535;if((d|0)!=((g^-1)>>>16|0)){j[a+24>>2]=111660;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=14;j[c+64>>2]=d;g=0;f=0;if((b|0)!=6){break T}break i}j[c>>2]=15}d=j[c+64>>2];if(d){d=d>>>0>o>>>0?o:d;e=d>>>0>u>>>0?u:d;if(!e){break i}d=Ae(w,n,e);j[c+64>>2]=j[c+64>>2]-e;w=e+d|0;u=u-e|0;n=e+n|0;o=o-e|0;e=j[c>>2];continue}j[c>>2]=11;e=j[c>>2];continue}if(f>>>0<14){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<6;f=f+8|0;n=n+1|0;if(d){continue}break}}e=g&31;j[c+96>>2]=e+257;d=g>>>5&31;j[c+100>>2]=d+1;p=(g>>>10&15)+4|0;j[c+92>>2]=p;f=f-14|0;g=g>>>14|0;if(!(d>>>0<30?e>>>0<=29:0)){j[a+24>>2]=111689;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=17;e=0;j[c+104>>2]=0;break P}e=j[c+104>>2];p=j[c+92>>2];if(e>>>0>=p>>>0){break O}}d=e;while(1){if(f>>>0<=2){if(!o){break e}o=o-1|0;g=(k[n|0]<>2]=e;i[((l[(d<<1)+111488>>1]<<1)+c|0)+112>>1]=g&7;f=f-3|0;g=g>>>3|0;d=e;if(d>>>0

>>0){continue}break}}if(e>>>0<19){while(1){i[((l[(e<<1)+111488>>1]<<1)+c|0)+112>>1]=0;e=e+1|0;if((e|0)!=19){continue}break}j[c+104>>2]=19}j[c+84>>2]=7;j[c+76>>2]=D;j[c+108>>2]=D;q=0;y=xk(0,H,19,F,I,E);if(y){j[a+24>>2]=111725;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=18;j[c+104>>2]=0;y=0}z=j[c+96>>2];t=z+j[c+100>>2]|0;if(t>>>0>q>>>0){x=-1<>2]^-1;G=j[c+76>>2];while(1){r=f;e=o;d=n;A=g&x;s=k[((A<<2)+G|0)+1|0];la:{if(s>>>0<=f>>>0){p=f;break la}while(1){if(!e){break G}s=k[d|0]<>>0>p>>>0){continue}break}}f=l[((A<<2)+G|0)+2>>1];ma:{if(f>>>0<=15){n=q+1|0;j[c+104>>2]=n;i[((q<<1)+c|0)+112>>1]=f;f=p-s|0;g=g>>>s|0;q=n;break ma}na:{oa:{pa:{switch(f-16|0){case 0:n=s+2|0;if(n>>>0>p>>>0){while(1){if(!e){break q}e=e-1|0;g=(k[d|0]<>>0>p>>>0){continue}break}}f=p-s|0;p=g>>>s|0;if(!q){j[a+24>>2]=111750;j[c>>2]=29;n=d;o=e;g=p;e=j[c>>2];continue d}f=f-2|0;g=p>>>2|0;o=(p&3)+3|0;n=l[((q<<1)+c|0)+110>>1];break na;case 1:n=s+3|0;if(n>>>0>p>>>0){while(1){if(!e){break q}e=e-1|0;g=(k[d|0]<>>0>p>>>0){continue}break}}n=g>>>s|0;g=n>>>3|0;o=(n&7)+3|0;f=(p-s|0)-3|0;break oa;default:break pa}}n=s+7|0;if(n>>>0>p>>>0){while(1){if(!e){break q}e=e-1|0;g=(k[d|0]<>>0>p>>>0){continue}break}}n=g>>>s|0;g=n>>>7|0;o=(n&127)+11|0;f=(p-s|0)-7|0}n=0}if(t>>>0>>0){j[a+24>>2]=111750;j[c>>2]=29;n=d;o=e;e=j[c>>2];continue d}while(1){i[((q<<1)+c|0)+112>>1]=n;q=q+1|0;o=o-1|0;if(o){continue}break}j[c+104>>2]=q}n=d;o=e;if(q>>>0>>0){continue}break}}if(!l[c+624>>1]){j[a+24>>2]=111776;j[c>>2]=29;e=j[c>>2];continue}j[c+84>>2]=9;j[c+76>>2]=D;j[c+108>>2]=D;y=xk(1,H,z,F,I,E);if(y){j[a+24>>2]=111813;j[c>>2]=29;e=j[c>>2];continue}j[c+88>>2]=6;j[c+80>>2]=j[c+108>>2];y=xk(2,((j[c+96>>2]<<1)+c|0)+112|0,j[c+100>>2],F,L,E);if(y){j[a+24>>2]=111841;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=19;y=0;q=0;if((b|0)==6){break h}}j[c>>2]=20}if(!(u>>>0<258|o>>>0<6)){j[a+16>>2]=u;j[a+12>>2]=w;j[a+4>>2]=o;j[a>>2]=n;j[c+60>>2]=f;j[c+56>>2]=g;At(a,B);f=j[c+60>>2];g=j[c+56>>2];o=j[a+4>>2];n=j[a>>2];u=j[a+16>>2];w=j[a+12>>2];if(j[c>>2]!=11){break v}j[c+7108>>2]=-1;e=j[c>>2];continue}j[c+7108>>2]=0;q=f;e=o;d=n;x=j[c+76>>2];z=-1<>2]^-1;s=z&g;r=k[(x+(s<<2)|0)+1|0];qa:{if(r>>>0<=f>>>0){p=f;break qa}while(1){if(!e){break E}r=k[d|0]<>>0>p>>>0){continue}break}}f=r;n=x+(s<<2)|0;A=l[n+2>>1];t=k[n|0];if(!t|t&240){break B}o=e;n=d;q=p;z=-1<>>f|0)+A|0;r=k[(x+(t<<2)|0)+1|0];ra:{if(p>>>0>=r+f>>>0){s=p;break ra}while(1){if(!o){break F}r=k[n|0]<>>f|0)+A|0;r=k[(x+(t<<2)|0)+1|0];if(q>>>0>>0){continue}break}}d=x+(t<<2)|0;t=k[d|0];A=l[d+2>>1];j[c+7108>>2]=f;p=s-f|0;g=g>>>f|0;break A}if(!u){break i}h[w|0]=j[c+64>>2];j[c>>2]=20;u=u-1|0;w=w+1|0;e=j[c>>2];continue}if(j[c+8>>2]){if(f>>>0<=31){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}q=B-u|0;j[a+20>>2]=q+j[a+20>>2];j[c+28>>2]=q+j[c+28>>2];sa:{if(!q){e=j[c+24>>2];break sa}p=w-q|0;e=j[c+24>>2];d=c;ta:{if(j[c+16>>2]){e=Rf(e,p,q);break ta}e=bi(e,p,q)}j[d+24>>2]=e;j[a+48>>2]=e}if(((j[c+16>>2]?g:g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))|0)!=(e|0)){break D}g=0;B=u;f=0}j[c>>2]=27}if(!(!j[c+8>>2]|!j[c+16>>2])){if(f>>>0<=31){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}if(j[c+28>>2]!=(g|0)){break C}g=0;f=0}j[c>>2]=28;d=1;break c}j[c>>2]=12;break v}n=n+o|0;f=(o<<3)+f|0;break e}n=e+d|0;f=(e<<3)+p|0;break e}n=n+o|0;f=(o<<3)+f|0;break e}j[a+24>>2]=111943;j[c>>2]=29;B=u;e=j[c>>2];continue}j[a+24>>2]=111964;j[c>>2]=29;e=j[c>>2];continue}f=0;n=d;o=e}j[c+64>>2]=A&65535;j[c+7108>>2]=f+r;f=p-r|0;g=g>>>r|0;if(!t){j[c>>2]=25;e=j[c>>2];continue}if(t&32){j[c>>2]=11;j[c+7108>>2]=-1;e=j[c>>2];continue}if(t&64){j[a+24>>2]=111863;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=21;q=t&15;j[c+72>>2]=q}p=n;r=o;ua:{if(!q){d=j[c+64>>2];break ua}d=p;e=f;if(e>>>0>>0){while(1){if(!o){break r}o=o-1|0;g=(k[d|0]<>>0>e>>>0){continue}break}}j[c+7108>>2]=j[c+7108>>2]+q;d=j[c+64>>2]+((-1<>2]=d;f=e-q|0;g=g>>>q|0}j[c>>2]=22;j[c+7112>>2]=d}q=f;e=o;d=n;x=j[c+80>>2];z=-1<>2]^-1;s=z&g;r=k[(x+(s<<2)|0)+1|0];va:{if(r>>>0<=f>>>0){p=f;break va}while(1){if(!e){break s}r=k[d|0]<>>0>p>>>0){continue}break}}n=x+(s<<2)|0;A=l[n+2>>1];t=k[n|0];wa:{if(t&240){f=j[c+7108>>2];n=d;o=e;q=r;break wa}o=e;n=d;f=p;z=-1<>>r|0)+A|0;q=k[(x+(t<<2)|0)+1|0];xa:{if(f>>>0>=r+q>>>0){s=p;break xa}while(1){if(!o){break t}q=k[n|0]<>>r|0)+A|0;q=k[(x+(t<<2)|0)+1|0];if(f>>>0>>0){continue}break}}d=x+(t<<2)|0;t=k[d|0];A=l[d+2>>1];f=j[c+7108>>2]+r|0;j[c+7108>>2]=f;p=s-r|0;g=g>>>r|0}j[c+7108>>2]=f+q;f=p-q|0;g=g>>>q|0;if(t&64){j[a+24>>2]=111891;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=23;q=t&15;j[c+72>>2]=q;j[c+68>>2]=A&65535}p=n;r=o;if(q){d=p;e=f;if(e>>>0>>0){while(1){if(!o){break u}o=o-1|0;g=(k[d|0]<>>0>e>>>0){continue}break}}j[c+7108>>2]=j[c+7108>>2]+q;j[c+68>>2]=j[c+68>>2]+((-1<>>q|0;f=e-q|0}j[c>>2]=24}if(!u){break i}e=j[c+68>>2];d=B-u|0;ya:{if(e>>>0>d>>>0){e=e-d|0;if(!(!j[c+7104>>2]|e>>>0<=m[c+44>>2])){j[a+24>>2]=111913;j[c>>2]=29;e=j[c>>2];continue}d=j[c+48>>2];za:{if(d>>>0>>0){e=e-d|0;q=j[c+40>>2]-e|0;break za}q=d-e|0}p=j[c+64>>2];d=e>>>0>p>>>0?p:e;e=q+j[c+52>>2]|0;break ya}p=j[c+64>>2];d=p;e=w-e|0}q=p;p=d>>>0>u>>>0?u:d;j[c+64>>2]=q-p;d=p;while(1){h[w|0]=k[e|0];w=w+1|0;e=e+1|0;d=d-1|0;if(d){continue}break}u=u-p|0;if(j[c+64>>2]){break v}j[c>>2]=20;e=j[c>>2];continue}e=j[c>>2];continue}n=p+r|0;f=(r<<3)+f|0;break e}n=e+d|0;f=(e<<3)+p|0;break e}n=n+o|0;f=(o<<3)+f|0;break e}n=p+r|0;f=(r<<3)+f|0;break e}o=0;n=d;f=p;d=y;break c}d=j[c+32>>2];if(d){j[d+16>>2]=0}f=e}j[c>>2]=5}q=j[c+16>>2];if(q&1024){e=j[c+64>>2];r=e>>>0>o>>>0?o:e;if(r){p=j[c+32>>2];Aa:{if(!p){break Aa}d=j[p+16>>2];if(!d){break Aa}e=j[p+20>>2]-e|0;q=e+d|0;d=j[p+24>>2];Ae(q,n,d>>>0>>0?d-e|0:r);q=j[c+16>>2]}if(q&512){M=c,N=Rf(j[c+24>>2],n,r),j[M+24>>2]=N}e=j[c+64>>2]-r|0;j[c+64>>2]=e;o=o-r|0;n=n+r|0}if(e){break i}}j[c>>2]=6;j[c+64>>2]=0}Ba:{if(k[c+17|0]&8){d=0;if(!o){break j}while(1){e=d+1|0;q=k[d+n|0];p=j[c+32>>2];Ca:{if(!p){break Ca}d=j[p+28>>2];if(!d){break Ca}r=j[p+32>>2];p=j[c+64>>2];if(r>>>0<=p>>>0){break Ca}j[c+64>>2]=p+1;h[d+p|0]=q}if(e>>>0>>0){d=e;if(q){continue}}break}if(k[c+17|0]&2){M=c,N=Rf(j[c+24>>2],n,e),j[M+24>>2]=N}n=e+n|0;o=o-e|0;if(!q){break Ba}break i}d=j[c+32>>2];if(!d){break Ba}j[d+28>>2]=0}j[c>>2]=7;j[c+64>>2]=0}Da:{if(k[c+17|0]&16){d=0;if(!o){break j}while(1){e=d+1|0;q=k[d+n|0];p=j[c+32>>2];Ea:{if(!p){break Ea}d=j[p+36>>2];if(!d){break Ea}r=j[p+40>>2];p=j[c+64>>2];if(r>>>0<=p>>>0){break Ea}j[c+64>>2]=p+1;h[d+p|0]=q}if(e>>>0>>0){d=e;if(q){continue}}break}if(k[c+17|0]&2){M=c,N=Rf(j[c+24>>2],n,e),j[M+24>>2]=N}n=e+n|0;o=o-e|0;if(!q){break Da}break i}d=j[c+32>>2];if(!d){break Da}j[d+36>>2]=0}j[c>>2]=8}e=j[c+16>>2];if(e&512){if(f>>>0<=15){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<8;f=f+8|0;n=n+1|0;if(d){continue}break}}if(l[c+24>>1]!=(g|0)){break g}g=0;f=0}d=j[c+32>>2];if(d){j[d+48>>2]=1;j[d+44>>2]=e>>>9&1}d=Rf(0,0,0);j[c+24>>2]=d;j[a+48>>2]=d;j[c>>2]=11;e=j[c>>2];continue}o=0}q=y}d=q;break c}j[a+24>>2]=111621;j[c>>2]=29;e=j[c>>2];continue}j[c+20>>2]=256<>2]=d;j[a+48>>2]=d;j[c>>2]=g&8192?9:11;g=0;e=j[c>>2];continue}break}o=0;d=y}j[a+16>>2]=u;j[a+12>>2]=w;j[a+4>>2]=o;j[a>>2]=n;j[c+60>>2]=f;j[c+56>>2]=g;Fa:{Ga:{Ha:{if(j[c+40>>2]){break Ha}if((u|0)==(B|0)){break Ga}e=j[c>>2];if(e>>>0>28){break Ga}if((b|0)!=4){break Ha}if(e>>>0>25){break Ga}}if(yt(a,w,B-u|0)){break Fa}u=j[a+16>>2];o=j[a+4>>2]}n=J-o|0;j[a+8>>2]=n+j[a+8>>2];p=B-u|0;j[a+20>>2]=p+j[a+20>>2];j[c+28>>2]=p+j[c+28>>2];if(!(!p|!j[c+8>>2])){o=j[a+12>>2]-p|0;f=j[c+24>>2];e=c;Ia:{if(j[c+16>>2]){f=Rf(f,o,p);break Ia}f=bi(f,o,p)}j[e+24>>2]=f;j[a+48>>2]=f}e=a;a=j[c>>2];j[e+44>>2]=((j[c+60>>2]+((j[c+4>>2]!=0)<<6)|0)+(((a|0)==11)<<7)|0)+((a|0)==19?256:((a|0)==14)<<8);C=d?d:(b|0)==4?-5:n|p?d:-5;break a}j[c>>2]=30}C=-4}oe=v+16|0;return C}function Iq(a,b,c,d,e,f,g){var i=q(0),k=0,l=q(0),m=q(0),o=q(0),s=q(0),t=q(0),u=0,v=0,w=0,x=0,y=0,z=q(0),A=q(0),B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=q(0),L=q(0),M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=q(0),V=q(0),W=q(0),X=0,Y=0;v=oe-48|0;oe=v;B=j[58753];y=(B|0)==3?(b|0)<577?1:2:B;O=p(y,40)+152144|0;R=a&1;B=(a|0)/2|0;N=(b|0)/2|0;a:{b:{c:{d:{if((e|0)<=1431918168){e:{switch(e-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 0:case 11:break d;default:break e}}if((e|0)==825382478){break d}if((e|0)==844715353){break c}break b}if((e|0)==1431918169|(e|0)==1498831189){break c}if((e|0)!=1448433993){break b}}wi(b,e,f,g,v+44|0,v+40|0,v+36|0,v+32|0,v+28|0);f=j[v+32>>2];E=p(f,b);k=j[v+44>>2];if((b|0)>=1){F=f-a|0;f=p(y,40);G=f+152156|0;H=f+152152|0;C=f+152148|0;D=(a|0)<1;f=k;u=c;while(1){if(!D){w=j[O>>2];i=n[G>>2];o=n[H>>2];s=n[C>>2];g=0;while(1){M=f;x=j[(g<<2)+u>>2];l=q(q(q(i*q((x&255)>>>0))+q(q(s*q((x>>>16&255)>>>0))+q(o*q((x>>>8&255)>>>0))))+q(.5));f:{if(q(r(l))>2]=f}O=b&1;P=d<<1;f=k+E|0;g=c+d|0;g:{h:{i:{switch(e-842094158|0){default:if((e|0)!=1448433993){break h};case 11:d=(a+1|0)/-2|0;if((b|0)>=2){x=d+j[v+28>>2]|0;b=p(y,40);E=b+152180|0;F=b+152176|0;G=b+152172|0;H=b+152168|0;C=b+152164|0;D=b+152160|0;d=0;f=j[v+36>>2];k=j[v+40>>2];Q=(a|0)<2;while(1){if(Q){b=0}else{i=n[E>>2];o=n[F>>2];s=n[G>>2];l=n[H>>2];K=n[C>>2];L=n[D>>2];u=0;while(1){b=k;e=u<<3;J=e|4;w=j[J+c>>2];I=j[c+e>>2];e=j[e+g>>2];J=j[g+J>>2];t=q((((w&255)+(I&255)|0)+(e&255)|0)+(J&255)>>>2>>>0);z=q((((w&16711680)+(I&16711680)|0)+(e&16711680)|0)+(J&16711680)>>>18>>>0);A=q((((w&65280)+(I&65280)|0)+(e&65280)|0)+(J&65280)>>>10>>>0);m=q(q(q(l*t)+q(q(L*z)+q(K*A)))+q(.5));j:{if(q(r(m))>2];u=j[c+u>>2];i=q((b&255)+(u&255)>>>1>>>0);o=q((b&16711680)+(u&16711680)>>>17>>>0);s=q((b&65280)+(u&65280)>>>9>>>0);l=q(q(q(n[H>>2]*i)+q(q(n[D>>2]*o)+q(n[C>>2]*s)))+q(.5));l:{if(q(r(l))>2]*o)+q(n[F>>2]*s))+q(n[E>>2]*i))+q(.5));m:{if(q(r(i))>2]=f;j[v+40>>2]=k}if(!O){break g}f=0;if((a|0)>=2){a=p(y,40);i=n[a+152180>>2];o=n[a+152176>>2];s=n[a+152172>>2];l=n[a+152168>>2];K=n[a+152164>>2];L=n[a+152160>>2];k=0;f=j[v+36>>2];g=j[v+40>>2];while(1){a=g;d=k<<3;b=j[(d|4)+c>>2];d=j[c+d>>2];t=q((b&255)+(d&255)>>>1>>>0);z=q((b&16711680)+(d&16711680)>>>17>>>0);A=q((b&65280)+(d&65280)>>>9>>>0);m=q(q(q(l*t)+q(q(L*z)+q(K*A)))+q(.5));n:{if(q(r(m))>2]=f;j[v+40>>2]=g;f=B<<1}if(!R){break g}c=j[(f<<2)+c>>2];a=j[v+40>>2];j[v+40>>2]=a+1;b=p(y,40);i=q((c&255)>>>0);o=q((c>>>16&255)>>>0);s=q((c>>>8&255)>>>0);l=q(q(q(n[b+152168>>2]*i)+q(q(n[b+152160>>2]*o)+q(n[b+152164>>2]*s)))+q(.5));p:{if(q(r(l))>2];j[v+36>>2]=a+1;i=q(q(q(q(n[b+152172>>2]*o)+q(n[b+152176>>2]*s))+q(n[b+152180>>2]*i))+q(.5));q:{if(q(r(i))=2){I=j[v+28>>2]+(d<<1)|0;b=p(y,40);u=b+152180|0;x=b+152176|0;E=b+152172|0;F=b+152168|0;G=b+152164|0;H=b+152160|0;e=0;J=(a|0)<2;while(1){if(J){b=0}else{i=n[u>>2];o=n[x>>2];s=n[E>>2];l=n[F>>2];K=n[G>>2];L=n[H>>2];k=0;while(1){b=f;d=k<<3;w=d|4;C=j[w+c>>2];D=j[c+d>>2];d=j[d+g>>2];w=j[g+w>>2];t=q((((C&16711680)+(D&16711680)|0)+(d&16711680)|0)+(w&16711680)>>>18>>>0);z=q((((C&65280)+(D&65280)|0)+(d&65280)|0)+(w&65280)>>>10>>>0);A=q((((C&255)+(D&255)|0)+(d&255)|0)+(w&255)>>>2>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));r:{if(q(r(m))>2];k=j[c+k>>2];i=q((b&16711680)+(k&16711680)>>>17>>>0);o=q((b&65280)+(k&65280)>>>9>>>0);s=q((b&255)+(k&255)>>>1>>>0);l=q(q(q(q(n[E>>2]*i)+q(n[x>>2]*o))+q(n[u>>2]*s))+q(.5));t:{if(q(r(l))>2]*s)+q(q(n[H>>2]*i)+q(n[G>>2]*o)))+q(.5));u:{if(q(r(i))=2){a=p(y,40);i=n[a+152180>>2];o=n[a+152176>>2];s=n[a+152172>>2];l=n[a+152168>>2];K=n[a+152164>>2];L=n[a+152160>>2];g=0;while(1){a=f;d=g<<3;b=j[(d|4)+c>>2];d=j[c+d>>2];t=q((b&16711680)+(d&16711680)>>>17>>>0);z=q((b&65280)+(d&65280)>>>9>>>0);A=q((b&255)+(d&255)>>>1>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));v:{if(q(r(m))>2];i=q((c>>>16&255)>>>0);o=q((c>>>8&255)>>>0);s=q((c&255)>>>0);l=q(q(q(q(n[b+152172>>2]*i)+q(n[b+152176>>2]*o))+q(n[b+152180>>2]*s))+q(.5));x:{if(q(r(l))>2]*s)+q(q(n[b+152160>>2]*i)+q(n[b+152164>>2]*o)))+q(.5));y:{if(q(r(i))=2){I=j[v+28>>2]+(d<<1)|0;b=p(y,40);u=b+152168|0;x=b+152164|0;E=b+152160|0;F=b+152180|0;G=b+152176|0;H=b+152172|0;e=0;J=(a|0)<2;while(1){if(J){b=0}else{i=n[u>>2];o=n[x>>2];s=n[E>>2];l=n[F>>2];K=n[G>>2];L=n[H>>2];k=0;while(1){b=f;d=k<<3;w=d|4;C=j[w+c>>2];D=j[c+d>>2];d=j[d+g>>2];w=j[g+w>>2];t=q((((C&16711680)+(D&16711680)|0)+(d&16711680)|0)+(w&16711680)>>>18>>>0);z=q((((C&65280)+(D&65280)|0)+(d&65280)|0)+(w&65280)>>>10>>>0);A=q((((C&255)+(D&255)|0)+(d&255)|0)+(w&255)>>>2>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));z:{if(q(r(m))>2];k=j[c+k>>2];i=q((b&16711680)+(k&16711680)>>>17>>>0);o=q((b&65280)+(k&65280)>>>9>>>0);s=q((b&255)+(k&255)>>>1>>>0);l=q(q(q(q(n[E>>2]*i)+q(n[x>>2]*o))+q(n[u>>2]*s))+q(.5));B:{if(q(r(l))>2]*s)+q(q(n[H>>2]*i)+q(n[G>>2]*o)))+q(.5));C:{if(q(r(i))=2){a=p(y,40);i=n[a+152168>>2];o=n[a+152164>>2];s=n[a+152160>>2];l=n[a+152180>>2];K=n[a+152176>>2];L=n[a+152172>>2];g=0;while(1){a=f;d=g<<3;b=j[(d|4)+c>>2];d=j[c+d>>2];t=q((b&16711680)+(d&16711680)>>>17>>>0);z=q((b&65280)+(d&65280)>>>9>>>0);A=q((b&255)+(d&255)>>>1>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));D:{if(q(r(m))>2];i=q((c>>>16&255)>>>0);o=q((c>>>8&255)>>>0);s=q((c&255)>>>0);l=q(q(q(q(n[b+152160>>2]*i)+q(n[b+152164>>2]*o))+q(n[b+152168>>2]*s))+q(.5));F:{if(q(r(l))>2]*s)+q(q(n[b+152172>>2]*i)+q(n[b+152176>>2]*o)))+q(.5));G:{if(q(r(i))(g|0)){j[v+16>>2]=k;g=ve(152264,v+16|0);break a}P=g-k|0;g=0;H:{if((e|0)!=844715353){if((e|0)==1498831189){break H}if((e|0)!=1431918169|(b|0)<1){break a}e=p(y,40);y=e+152168|0;N=e+152164|0;x=e+152160|0;E=e+152180|0;F=e+152176|0;G=e+152172|0;H=e+152156|0;C=e+152152|0;D=e+152148|0;w=(a|0)<2;while(1){if(w){a=0}else{l=n[y>>2];K=n[N>>2];L=n[x>>2];t=n[E>>2];z=n[F>>2];A=n[G>>2];g=j[O>>2];i=n[H>>2];o=n[C>>2];s=n[D>>2];k=0;while(1){e=k<<3;a=j[e+c>>2];I=a>>>16&255;J=a>>>8&255;Q=a&255;m=q(q(q(q(s*q(I>>>0))+q(o*q(J>>>0)))+q(i*q(Q>>>0)))+q(.5));I:{if(q(r(m))>2];h[f|0]=a+g;M=f;a=e&255;S=e>>>16&255;e=e>>>8&255;m=q(q(q(i*q(a>>>0))+q(q(s*q(S>>>0))+q(o*q(e>>>0))))+q(.5));J:{if(q(r(m))>>1>>>0);U=q(e+J>>>1>>>0);V=q(a+Q>>>1>>>0);W=q(q(q(q(L*m)+q(K*U))+q(l*V))+q(.5));K:{if(q(r(W))>2];i=q((a>>>16&255)>>>0);o=q((a>>>8&255)>>>0);s=q((a&255)>>>0);l=q(q(q(q(n[x>>2]*i)+q(n[N>>2]*o))+q(n[y>>2]*s))+q(.5));M:{if(q(r(l))>2]*s)+q(q(n[D>>2]*i)+q(n[C>>2]*o)))+q(.5));N:{if(q(r(l))>2]|0;h[a+2|0]=g;a=f;i=q(q(q(q(n[G>>2]*i)+q(n[F>>2]*o))+q(n[E>>2]*s))+q(.5));O:{if(q(r(i))>2];K=n[N>>2];L=n[x>>2];t=n[E>>2];z=n[F>>2];A=n[G>>2];g=j[O>>2];i=n[H>>2];o=n[C>>2];s=n[D>>2];k=0;while(1){e=k<<3;a=j[e+c>>2];I=a>>>16&255;J=a>>>8&255;Q=a&255;m=q(q(q(q(s*q(I>>>0))+q(o*q(J>>>0)))+q(i*q(Q>>>0)))+q(.5));P:{if(q(r(m))>2];h[f|0]=a+g;M=f;a=e&255;S=e>>>16&255;e=e>>>8&255;m=q(q(q(i*q(a>>>0))+q(q(s*q(S>>>0))+q(o*q(e>>>0))))+q(.5));Q:{if(q(r(m))>>1>>>0);U=q(e+J>>>1>>>0);V=q(a+Q>>>1>>>0);W=q(q(q(q(L*m)+q(K*U))+q(l*V))+q(.5));R:{if(q(r(W))>2];i=q((a>>>16&255)>>>0);o=q((a>>>8&255)>>>0);s=q((a&255)>>>0);l=q(q(q(q(n[x>>2]*i)+q(n[N>>2]*o))+q(n[y>>2]*s))+q(.5));T:{if(q(r(l))>2]*s)+q(q(n[D>>2]*i)+q(n[C>>2]*o)))+q(.5));U:{if(q(r(l))>2]|0;h[a+2|0]=g;a=f;i=q(q(q(q(n[G>>2]*i)+q(n[F>>2]*o))+q(n[E>>2]*s))+q(.5));V:{if(q(r(i))>2];K=n[N>>2];L=n[x>>2];g=j[O>>2];i=n[E>>2];o=n[F>>2];s=n[G>>2];t=n[H>>2];z=n[C>>2];A=n[D>>2];k=0;while(1){e=k<<3;a=j[e+c>>2];I=a>>>16&255;J=a>>>8&255;Q=a&255;m=q(q(q(q(s*q(I>>>0))+q(o*q(J>>>0)))+q(i*q(Q>>>0)))+q(.5));W:{if(q(r(m))>2];h[f+1|0]=a+g;M=f;a=e>>>16&255;S=e>>>8&255;e=e&255;m=q(q(q(q(s*q(a>>>0))+q(o*q(S>>>0)))+q(i*q(e>>>0)))+q(.5));X:{if(q(r(m))>>1>>>0);U=q(J+S>>>1>>>0);V=q(e+Q>>>1>>>0);W=q(q(q(q(L*m)+q(K*U))+q(l*V))+q(.5));Y:{if(q(r(W))>2];i=q((a>>>16&255)>>>0);o=q((a>>>8&255)>>>0);s=q((a&255)>>>0);l=q(q(q(q(n[G>>2]*i)+q(n[F>>2]*o))+q(n[E>>2]*s))+q(.5));_:{if(q(r(l))>2]|0;h[e+3|0]=g;a=f;l=q(q(q(q(n[x>>2]*i)+q(n[N>>2]*o))+q(n[y>>2]*s))+q(.5));$:{if(q(r(l))>2]*s)+q(q(n[D>>2]*i)+q(n[C>>2]*o)))+q(.5));aa:{if(q(r(i))>2]=Y;g=ve(152318,v)}oe=v+48|0;return g}function wC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=oe-96|0;oe=g;q=j[j[b+96>>2]+4>>2];f=ch(q,10224);a:{b:{if(!f){j[g+12>>2]=11;break b}A=vh(j[b+96>>2],10384);C=ch(q,11024);o=Fe(a,0);j[g+12>>2]=o;if(o){break b}B=qe[j[f+4>>2]](a,b,c,d,e)|0;c:{if(!B){if(j[b+148>>2]!=1330926671){j[g+12>>2]=2;break b}o=0;if((c|0)<0){break a}d:{if(!(qe[j[b+508>>2]](b,1751474532,a,0)|0)){d=qe[j[f+8>>2]](a,b,c,d,e)|0;j[g+12>>2]=d;if(!d){break d}break b}d=qe[j[f+32>>2]](b,a)|0;j[g+12>>2]=d;if(d){break b}u=1}d=qe[j[b+508>>2]](b,1128678944,a,0)|0;j[g+12>>2]=d;if(!d){break c}break b}d=Fe(a,0);j[g+12>>2]=d;if(d){break b}j[g+12>>2]=0;u=1}w=j[b+100>>2];f=He(w,2980,g+12|0);if(j[g+12>>2]){break b}j[b+656>>2]=f;n=j[a+28>>2];d=Ee(f+8|0,0,2972);j[g+72>>2]=0;j[g+76>>2]=0;e=g- -64|0;j[e>>2]=0;j[e+4>>2]=0;j[g+56>>2]=0;j[g+60>>2]=0;j[g+48>>2]=0;j[g+52>>2]=0;j[f+4>>2]=n;j[f>>2]=a;r=j[a+8>>2];e=$e(a,11056,f);j[g+84>>2]=e;e:{if(e){break e}f:{g:{if(k[f+16|0]!=1){break g}e=k[f+18|0];if(e>>>0<4){break g}if(k[f+19|0]<5){break f}}j[g+84>>2]=2;break e}e=vf(a,e-4|0);j[g+84>>2]=e;if(e){break e}x=f+20|0;e=Gh(x,a,0);j[g+84>>2]=e;if(e){break e}o=f+1208|0;e=Gh(o,a,0);j[g+84>>2]=e;if(e){break e}e=Gh(g+48|0,a,1);j[g+84>>2]=e;if(e){break e}s=f+84|0;e=Gh(s,a,1);j[g+84>>2]=e;if(e){break e}e=ul(g+48|0,f+1316|0,f+1320|0);j[g+84>>2]=e;if(e){break e}j[f+1312>>2]=j[g+56>>2];e=j[f+28>>2];h:{i:{if(u){if(c>>>0>>0){break i}j[g+84>>2]=6;break e}d=0;if(e>>>0<2){break h}j[g+84>>2]=3;break e}j[d>>2]=e;d=c}if((c|0)<0){break e}v=d;d=lp(f+1324|0,o,d,a,r,q);j[g+84>>2]=d;if(d){break e}d=Fe(a,r+j[f+1436>>2]|0);j[g+84>>2]=d;if(d){break e}d=Gh(f+1176|0,a,0);j[g+84>>2]=d;if(d){break e}j:{if(j[f+1456>>2]!=65535){d=Fe(a,r+j[f+1488>>2]|0);j[g+84>>2]=d;if(d){break e}o=0;d=Gh(g+16|0,a,0);j[g+84>>2]=d;if(d){break e}e=j[g+24>>2];k:{if(e>>>0>256){break k}j[f+1896>>2]=e;d=0;e=xe(n,572,0,e,0,g+84|0);o=j[g+84>>2];if(o){break k}o=j[g+24>>2];if(o){while(1){j[((d<<2)+f|0)+1900>>2]=e+p(d,572);d=d+1|0;if((o|0)!=(d|0)){continue}break}e=0;while(1){o=lp(j[((e<<2)+f|0)+1900>>2],g+16|0,e,a,r,q);j[g+84>>2]=o;if(o){break k}e=e+1|0;if(e>>>0>2]){continue}break}}e=j[f+1184>>2];o=Fe(a,r+j[f+1492>>2]|0);j[g+92>>2]=o;l:{if(o){break l}d=fg(a,g+92|0);o=j[g+92>>2];if(o){break l}j[f+2944>>2]=0;h[f+2924|0]=d;o=3;m:{switch(d&255){case 3:d=qf(a,g+92|0);o=j[g+92>>2];if(o){break l}o=3;if(!d){break l}e=p(d,3)+2|0;break;case 0:break m;default:break l}}j[f+2936>>2]=e;o=Zf(a,e,f+2932|0)}j[g+84>>2]=o}d=j[g+16>>2];if(d){e=j[d+28>>2];if(j[g+44>>2]){jf(d,g+44|0)}d=j[g+40>>2];if(d){qe[j[e+8>>2]](e,d)}o=j[g+84>>2]}if(!o){break j}break e}j[f+1896>>2]=0}if(!j[f+1436>>2]){j[g+84>>2]=3;break e}j[f+12>>2]=j[f+1184>>2];d=ul(s,f+1308|0,0);j[g+84>>2]=d;if(d){break e}q=j[f+12>>2];n:{if(!q){break n}n=j[a+28>>2];t=j[f+1456>>2];d=j[f+1428>>2];j[g+92>>2]=0;s=f+1152|0;o:{p:{q:{r:{if(d>>>0>=3){d=d+r|0;j[f+1156>>2]=d;d=Fe(a,d);j[g+92>>2]=d;if(d){break p}D=s,E=fg(a,g+92|0)&255,j[D>>2]=E;if(j[g+92>>2]){break p}d=xe(n,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}i[d>>1]=0;s:{switch(j[s>>2]){case 0:e=1;d=_e(a,(q<<1)-2|0);j[g+92>>2]=d;if(d){break p}if(q>>>0>=2){while(1){d=af(a);i[j[f+1160>>2]+(e<<1)>>1]=d;e=e+1|0;if((q|0)!=(e|0)){continue}break}}Ve(a);break r;case 1:case 2:e=1;if(q>>>0<=1){break r}while(1){d=qf(a,g+92|0);if(j[g+92>>2]){break p}t:{if(j[s>>2]==2){o=qf(a,g+92|0);if(!j[g+92>>2]){break t}break p}o=fg(a,g+92|0);if(j[g+92>>2]){break p}o=o&255}u:{if(e>>>0>=q>>>0){break u}y=(o^65535)>>>0>>0?d^65535:o;z=j[f+1160>>2];o=0;while(1){i[z+(e<<1)>>1]=d;e=e+1|0;if(o>>>0>=y>>>0){break u}d=d+1|0;o=o+1|0;if(e>>>0>>0){continue}break}}if(e>>>0>>0){continue}break}break r;default:break s}}j[g+92>>2]=3;break p}j[f+1156>>2]=d;v:{switch(d|0){case 0:if(q>>>0>=230){j[g+92>>2]=3;break p}d=xe(n,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}Ae(d,12592,q<<1);break r;case 1:if(q>>>0>=167){j[g+92>>2]=3;break p}d=xe(n,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}Ae(d,13056,q<<1);break r;case 2:break v;default:break q}}if(q>>>0>=88){j[g+92>>2]=3;break p}d=xe(n,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}Ae(d,13392,q<<1)}w:{if(!((t|0)!=65535?u:0)){e=j[g+92>>2];break w}e=0;j[g+16>>2]=0;x:{if(j[f+1168>>2]){break x}o=j[f+1160>>2];d=0;while(1){t=l[o+(d<<1)>>1];e=t>>>0>(e&65535)>>>0?t:e;d=d+1|0;if((q|0)!=(d|0)){continue}break}o=e&65535;t=xe(n,2,0,o+1|0,0,g+16|0);j[f+1164>>2]=t;e=j[g+16>>2];if(e){break x}if((q|0)>=1){y=j[f+1160>>2];e=q;while(1){d=e-1|0;i[t+(l[y+(d<<1)>>1]<<1)>>1]=d;z=(e|0)>1;e=d;if(z){continue}break}}j[f+1172>>2]=q;j[f+1168>>2]=o;e=0}j[g+92>>2]=e}if(e){break p}j[g+84>>2]=0;break o}j[g+92>>2]=3}d=j[f+1160>>2];if(d){qe[j[n+8>>2]](n,d)}j[f+1160>>2]=0;d=j[f+1164>>2];if(d){qe[j[n+8>>2]](n,d)}j[s+8>>2]=0;j[s+12>>2]=0;j[s>>2]=0;j[s+4>>2]=0;d=j[g+92>>2];j[g+84>>2]=d;if(d){break e}}if(j[f+1456>>2]!=65535){break n}d=j[f+1432>>2];q=j[f+12>>2];j[g+92>>2]=0;n=3;y:{z:{s=j[f+1160>>2];if(!s){break z}e=Ee(f+128|0,0,1024);A:{if(d>>>0>=2){d=d+r|0;j[f+120>>2]=d;n=Fe(a,d);j[g+92>>2]=n;if(n){break z}D=f,E=fg(a,g+92|0)&255,j[D+116>>2]=E;n=j[g+92>>2];if(n){break z}d=fg(a,g+92|0);n=j[g+92>>2];if(n){break z}r=d&255;n=3;B:{C:{switch(j[f+116>>2]&127){case 0:j[f+124>>2]=r+1;n=_e(a,r);j[g+92>>2]=n;if(n){break z}if(d){d=j[a+32>>2];n=1;while(1){if(n>>>0>>0){e=(k[d|0]<<1)+f|0;i[e+640>>1]=n;i[e+128>>1]=l[j[f+1160>>2]+(n<<1)>>1]}d=d+1|0;e=(n|0)!=(r|0);n=n+1|0;if(e){continue}break}}Ve(a);break B;case 1:break C;default:break z}}s=0;j[f+124>>2]=0;if(!d){break B}d=1;while(1){t=fg(a,g+92|0);n=j[g+92>>2];if(n){break z}e=fg(a,g+92|0);n=j[g+92>>2];if(n){break z}n=e&255;e=n+1|0;o=j[f+124>>2];if(n>>>0>=o>>>0){j[f+124>>2]=e;o=e}e=d+e|0;if(e>>>0>d>>>0){n=t&255;while(1){if(!(n>>>0>255|d>>>0>=q>>>0)){t=(n<<1)+f|0;i[t+640>>1]=d;i[t+128>>1]=l[j[f+1160>>2]+(d<<1)>>1]}n=n+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}d=e;s=s+1|0;if((r|0)!=(s|0)){continue}break}if(o>>>0<257){break B}j[f+124>>2]=256}if(!(k[f+116|0]&128)){n=j[g+92>>2];break y}d=fg(a,g+92|0);n=j[g+92>>2];if(!d|n){break y}e=d&255;o=0;while(1){r=fg(a,g+92|0);n=j[g+92>>2];if(n){break z}d=qf(a,g+92|0);n=j[g+92>>2];if(n){break z}r=((r&255)<<1)+f|0;i[r+128>>1]=d;D:{if(!q){break D}s=j[f+1160>>2];n=0;while(1){if((d|0)==l[s+(n<<1)>>1]){i[r+640>>1]=n;break D}n=n+1|0;if((q|0)!=(n|0)){continue}break}}o=o+1|0;if((e|0)!=(o|0)){continue}break}break A}E:{F:{switch(d|0){case 0:Ae(e,10512,512);break E;case 1:break F;default:break z}}Ae(e,13568,512)}j[f+124>>2]=0;a=j[a+28>>2];j[g+16>>2]=0;e=j[f+1168>>2];if(!e){e=0;d=f;o=a;if(q){a=0;while(1){n=l[s+(a<<1)>>1];e=n>>>0>(e&65535)>>>0?n:e;a=a+1|0;if((q|0)!=(a|0)){continue}break}e=e&65535}o=xe(o,2,0,e+1|0,0,g+16|0);j[d+1164>>2]=o;n=j[g+16>>2];if(n){break z}if((q|0)>=1){n=j[f+1160>>2];a=q;while(1){d=a-1|0;i[o+(l[n+(d<<1)>>1]<<1)>>1]=d;r=(a|0)>1;a=d;if(r){continue}break}}j[f+1172>>2]=q;j[f+1168>>2]=e}j[g+92>>2]=0;a=0;while(1){d=(a<<1)+f|0;q=d;G:{H:{o=l[d+128>>1];if(!o|e>>>0>>0){break H}o=l[j[f+1164>>2]+(o<<1)>>1];if(!o){break H}i[d+640>>1]=o;a=a+1|0;j[f+124>>2]=a;break G}i[d+640>>1]=0;i[q+128>>1]=0;a=a+1|0}if((a|0)!=256){continue}break}}j[g+84>>2]=0;break n}j[g+84>>2]=n;break e}j[g+84>>2]=n;if(n){break e}}d=j[j[x>>2]+28>>2];e=gi(x,v,g+16|0,g+92|0);j[g+88>>2]=e;a=0;I:{if(e){break I}a=d;d=j[g+92>>2];a=He(a,d+1|0,g+88|0);if(!j[g+88>>2]){D=Ae(a,j[g+16>>2],d)+d|0,E=0,h[D|0]=E}if(j[f+48>>2]){break I}jf(j[x>>2],g+16|0)}j[f+1304>>2]=a}a=j[g+48>>2];if(a){d=j[a+28>>2];if(j[g+76>>2]){jf(a,g+76|0)}a=j[g+72>>2];if(a){qe[j[d+8>>2]](d,a)}}a=j[g+84>>2];j[g+12>>2]=a;if(a){break b}j[f+2956>>2]=A;j[f+2952>>2]=C;j[b+4>>2]=c;j[b+16>>2]=j[f+12>>2];if(!(j[f+1456>>2]!=65535|A)){j[g+12>>2]=11;break b}if(!k[f+1388|0]){j[f+1392>>2]=u?1e3:l[b+68>>1]}d=j[f+1384>>2];a=d>>31;a=a^a+d;J:{if((a|0)==65536){a=j[f+1400>>2];break J}D=f,E=De(j[f+1392>>2],a),j[D+1392>>2]=E;D=f,E=De(j[f+1372>>2],a),j[D+1372>>2]=E;D=f,E=De(j[f+1380>>2],a),j[D+1380>>2]=E;D=f,E=De(j[f+1376>>2],a),j[D+1376>>2]=E;D=f,E=De(j[f+1384>>2],a),j[D+1384>>2]=E;D=f,E=De(j[f+1396>>2],a),j[D+1396>>2]=E;a=De(j[f+1400>>2],a);j[f+1400>>2]=a}j[f+1400>>2]=a>>16;j[f+1396>>2]=j[f+1396>>2]>>16;n=j[f+1896>>2];if(n){r=f+1900|0;o=f+1372|0;q=o;while(1){n=n-1|0;a=j[r+(n<<2)>>2];K:{if(k[a+64|0]){if(!k[f+1388|0]){break K}e=1;d=j[f+1392>>2];L:{if(d>>>0<2){break L}v=j[a+68>>2];if(v>>>0<2){break L}e=d>>>0>>0?d:v}OB(o,a+48|0,e);EB(a+72|0,o,e);D=a,E=Ne(j[a+68>>2],j[f+1392>>2],e),j[D+68>>2]=E;break K}d=j[o+4>>2];j[a+48>>2]=j[o>>2];j[a+52>>2]=d;d=j[q+12>>2];j[a+56>>2]=j[q+8>>2];j[a+60>>2]=d;d=j[f+1400>>2];j[a+72>>2]=j[f+1396>>2];j[a+76>>2]=d;j[a+68>>2]=j[f+1392>>2]}e=j[a+60>>2];d=e>>31;d=d^d+e;M:{if((d|0)==65536){e=j[a+76>>2];break M}D=a,E=De(j[a+68>>2],d),j[D+68>>2]=E;D=a,E=De(j[a+48>>2],d),j[D+48>>2]=E;D=a,E=De(j[a+56>>2],d),j[D+56>>2]=E;D=a,E=De(j[a+52>>2],d),j[D+52>>2]=E;D=a,E=De(j[a+60>>2],d),j[D+60>>2]=E;D=a,E=De(j[a+72>>2],d),j[D+72>>2]=E;e=De(j[a+76>>2],d);j[a+76>>2]=e}j[a+76>>2]=e>>16;j[a+72>>2]=j[a+72>>2]>>16;if(n){continue}break}}N:{O:{P:{Q:{R:{if(u){j[b>>2]=j[f+8>>2];a=b;if(j[f+1456>>2]!=65535){d=j[f+1168>>2]+1|0}else{d=j[f+1184>>2]}j[a+16>>2]=d;j[b+52>>2]=j[f+1408>>2]>>16;a=j[f+1412>>2]>>16;j[b+56>>2]=a;j[b+60>>2]=j[f+1416>>2]+65535>>16;d=j[f+1420>>2]+65535>>16;j[b- -64>>2]=d;e=j[f+1392>>2];i[b+72>>1]=a;i[b+70>>1]=d;i[b+68>>1]=e;a=d-a|0;d=(p(e&65535,12)>>>0)/10|0;i[b+74>>1]=(a|0)>d<<16>>16?a:d;i[b+80>>1]=l[f+1358>>1];i[b+82>>1]=l[f+1362>>1];a=j[j[f+20>>2]+28>>2];c=gi(f+20|0,c,g+48|0,g+16|0);j[g+92>>2]=c;n=0;S:{if(c){break S}c=a;a=j[g+16>>2];n=He(c,a+1|0,g+92|0);if(!j[g+92>>2]){D=Ae(n,j[g+48>>2],a)+a|0,E=0,h[D|0]=E}if(j[f+48>>2]){break S}jf(j[f+20>>2],g+48|0)}j[b+20>>2]=n;if(!n){break R}d=0;a=j[f+1336>>2];T:{if((a|0)==65535){break T}if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[f+1312>>2]){break T}d=j[j[f+1316>>2]+(a<<2)>>2];break T}c=j[f+2956>>2];if(!c){break T}d=qe[j[c+20>>2]](a)|0;n=j[b+20>>2]}a=Le(n);U:{if((a|0)<6){break U}c=a+1|0;while(1){if(k[n+6|0]!=43|(k[n+5|0]-65&255)>>>0>25|((k[n+4|0]-65&255)>>>0>25|(k[n+3|0]-65&255)>>>0>25)){break U}if((k[n+2|0]-65&255)>>>0>25|(k[n|0]-65&255)>>>0>25|(k[n+1|0]-65&255)>>>0>25){break U}a=7;if((c|0)<8){break U}while(1){e=a+n|0;h[e-7|0]=k[e|0];a=a+1|0;if((c|0)!=(a|0)){continue}break}a=(c|0)>13;c=c-7|0;if(a){continue}break}}a=j[f+1340>>2];if(a){e=0;V:{if((a|0)==65535){break V}if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[f+1312>>2]){break V}e=j[j[f+1316>>2]+(a<<2)>>2];break V}c=j[f+2956>>2];if(!c){break V}e=qe[j[c+20>>2]](a)|0}n=e?e:n}if(!d|!n){break Q}c=k[d|0];if(!c){break Q}while(1){a=d;W:{while(1){d=c&255;e=k[n|0];if((d|0)==(e|0)){n=n+1|0;break W}o=d-32|0;if(!o|(o|0)==13){break W}X:{switch(e-32|0){case 0:case 13:n=n+1|0;if(d){continue}break Q;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break Q;default:break X}}break}if(e){break Q}a=dg(w,a,g+48|0);d=j[b+20>>2];o=Le(d);c=Le(a);Y:{if((o|0)<=(c|0)){break Y}e=1;if((c|0)>=1){while(1){if(k[d+(o-e|0)|0]!=k[(c-e|0)+a|0]){break P}q=(c|0)==(e|0);e=e+1|0;if(!q){continue}break}}e=o+(c^-1)|0;if((e|0)<1){break Y}while(1){c=d+e|0;o=k[c|0];q=o-32|0;if(!((1<>>0<=13:0)|(o|0)==95)){h[c+1|0]=0;if(!a){break Q}break P}c=(e|0)>1;e=e-1|0;if(c){continue}break}}if(!a){break Q}break P}d=a+1|0;c=k[a+1|0];if(c){continue}break}break Q}d=0;if(j[f+1456>>2]!=65535){break N}break O}a=j[f+1496>>2];if((a|0)==65535){break Q}Z:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[f+1312>>2]){break Q}a=j[j[f+1316>>2]+(a<<2)>>2];break Z}c=j[f+2956>>2];if(!c){break Q}a=qe[j[c+20>>2]](a)|0}if(!a){break Q}D=b,E=dg(w,a,g+48|0),j[D+20>>2]=E}a=dg(w,11033,g+48|0)}j[b+24>>2]=a;a=B?2065:2073;j[b+8>>2]=j[b+8>>2]|(k[f+1348|0]?a|4:a);a=j[f+1352>>2]!=0;c=j[f+1344>>2];_:{if((c|0)==65535){break _}$:{if(c>>>0>=391){c=c-391|0;if(c>>>0>=m[f+1312>>2]){break _}c=j[j[f+1316>>2]+(c<<2)>>2];break $}d=j[f+2956>>2];if(!d){break _}c=qe[j[d+20>>2]](c)|0}if(!c){break _}if(we(c,11041)){if(we(c,11046)){break _}}a=a|2}aa:{if(a&2){break aa}c=j[b+24>>2];if(!c){break aa}if(Qe(c,11041,4)){if(Qe(c,11046,5)){break aa}}a=a|2}j[b+12>>2]=a;if(j[f+1456>>2]==65535){break O}d=0;if(!u){break N}j[b+8>>2]=j[b+8>>2]|4096;break N}j[b+8>>2]=j[b+8>>2]|512;d=1}c=j[b+36>>2];ba:{if(c){e=j[b+40>>2];a=0;while(1){ca:{da:{o=j[e+(a<<2)>>2];switch(l[o+8>>1]){case 0:break ba;case 3:break da;default:break ca}}if(l[o+10>>1]==1){break ba}}a=a+1|0;if(c>>>0>a>>>0){continue}break}}if((d^1)&u){break b}j[g+48>>2]=b;j[g+52>>2]=1970170211;j[g+56>>2]=65539;a=qg(10116,0,g+48|0,0);j[g+12>>2]=a;if((a&255)!=163?a:0){break b}j[g+12>>2]=0;if(j[b+92>>2]|(c|0)==j[b+36>>2]){break ba}j[b+92>>2]=j[j[b+40>>2]+(c<<2)>>2]}if(!j[f+124>>2]){break b}i[g+56>>1]=7;j[g+48>>2]=b;b=1094995778;a=0;ea:{fa:{switch(j[f+120>>2]){case 1:b=1094992453;a=1;break ea;case 0:break ea;default:break fa}}b=1094992451;a=2}j[g+52>>2]=b;i[g+58>>1]=a;D=g,E=qg(10076,0,g+48|0,0),j[D+12>>2]=E}o=j[g+12>>2]}oe=g+96|0;return o|0}function sA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;u=oe-16|0;oe=u;j[u+8>>2]=b;j[u+12>>2]=a;d=u+4^(u+8^u+12);d=(d>>>10^d^d>>20)&65535;j[u+4>>2]=d?d:29572;v=a+1140|0;j[a+1344>>2]=v;j[a+1136>>2]=a+112;j[a+64>>2]=0;s=j[a+72>>2];d=j[a+1488>>2];a:{if(!d){break a}f=j[a+1492>>2];if(!f){break a}Ee(d,0,f<<2);b=j[u+8>>2]}j[a+1140>>2]=b;x=b+c|0;j[a+1148>>2]=x;j[a+1144>>2]=b;o=j[a+28>>2];n=j[a+24>>2];if(s){qe[j[s+4>>2]](j[s>>2])}b:{c:{if((c|0)<1){break c}e=j[u+12>>2];B=n;while(1){r=b+1|0;f=j[e+1136>>2];w=0;c=0;q=0;C=0;d=16;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{A=k[b|0];switch(A-1|0){case 11:break i;case 30:break j;case 29:break k;case 21:break l;case 20:break m;case 14:break n;case 13:break o;case 12:break p;case 10:break q;case 9:break r;case 8:break s;case 7:break t;case 6:break u;case 5:break v;case 4:break w;case 3:break x;case 2:break y;case 0:break d;case 1:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break g;default:break h}}d=18;break d}d=14;break d}d=9;break d}d=6;break d}d=13;break d}d=11;break d}d=5;break d}d=22;break d}d=24;break d}d=2;break d}d=1;break d}d=26;break d}d=10;break d}d=7;break d}d=12;break d}d=8;break d}g=160;if(r>>>0>x>>>0){break b}r=b+2|0;d=15;z:{switch(k[b+1|0]){case 1:d=19;break d;case 2:d=17;break d;case 6:d=3;break d;case 7:d=4;break d;case 12:d=20;q=1;break d;case 16:d=21;C=1;break d;case 17:d=23;break d;case 33:break z;case 0:break d;default:break b}}d=25;break d}if((A|0)==255){break f}}g=160;if(A>>>0<32){break b}A:{if(A>>>0<=246){c=A-139|0;break A}b=b+2|0;if(b>>>0>x>>>0){break b}if(A>>>0<=250){c=(k[r|0]|A<<8)-63124|0}else{c=64148-(k[r|0]|A<<8)|0}r=b}b=z&255;w=b?c:c<<16;z=(b|0)!=0;break e}r=b+5|0;if(x>>>0>>0){g=160;break b}b=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);w=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(w+32e3>>>0>64e3){c=1;d=0;z=1;break d}b=z&255;w=b?w:w<<16;z=(b|0)!=0}c=1;d=0}if(!(1<>>0>24):0)){t=0}z=q?z:c?z:z&255?0:z;B:{if(c){if(((f-e|0)-112|0)>1020){g=160;break b}j[f>>2]=w;j[e+1136>>2]=f+4;break B}C:{D:{E:{F:{if(C){g=161;c=e+112|0;if((f-c|0)<8){break b}d=f-8|0;q=j[d>>2];b=q>>16;if((b|0)>d-c>>2){break b}d=d-(b<<2)|0;t=0;y=0;G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{g=j[f-4>>2];f=g>>16;switch(f|0){case 12:case 13:break C;case 28:break H;case 27:break I;case 25:break J;case 24:break K;case 23:break L;case 22:break M;case 21:break N;case 20:break O;case 19:break P;case 14:case 15:case 16:case 17:case 18:break Q;case 3:break R;case 2:break S;case 1:break T;case 0:break U;default:break G}}g=160;if(!j[e+1400>>2]|(b|0)!=3|j[e+1404>>2]!=7){break b}j[d+4>>2]=o;j[d>>2]=n;y=2;c=d;break C}if(b){g=160;break b}j[e+1400>>2]=1;j[e+1404>>2]=0;g=mh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+6>>>0<=m[b+4>>2]){break D}c=d;g=yf(b,6,0);if(g){break b}break C}g=160;if(!j[e+1400>>2]|b){break b}f=j[e+1404>>2];j[e+1404>>2]=f+1;if(f-1>>>0>5){break D}c=j[a+20>>2];if(k[a+68|0]){e=j[c+8>>2];g=i[c+2>>1];b=j[c+4>>2]+(g<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+g|0]=(f|0)!=3?(f|0)!=6?2:1:1}i[c+2>>1]=l[c+2>>1]+1;break D}if((b|0)!=1){g=160;break b}y=1;if(!s){break E}qe[j[s+20>>2]](j[s>>2],i[j[a+20>>2]+2>>1]);break E}g=160;t=j[e+1464>>2];if(!t){break b}e=j[t>>2];y=(f+((f|0)==18)|0)-13|0;if((b|0)!=(p(e,y)|0)){break b}b=d+(y<<2)|0;w=0;q=d;while(1){f=j[q>>2];c=1;if(e>>>0>=2){while(1){f=ye(j[b>>2],j[j[t+136>>2]+(c<<2)>>2])+f|0;b=b+4|0;c=c+1|0;e=j[t>>2];if(c>>>0>>0){continue}break}}j[q>>2]=f;q=q+4|0;w=w+1|0;if((y|0)!=(w|0)){continue}break}t=0;c=d;break C}g=160;if((b|0)!=1){break b}b=j[e+1464>>2];if(!b){break b}c=j[d>>2];if((c|0)<0){break b}f=j[b>>2];c=c>>16;if(m[e+1492>>2]>>0){break b}Ae(j[e+1488>>2]+(c<<2)|0,j[b+136>>2],f<<2);break D}if((b|0)!=2){g=160;break b}j[d>>2]=j[d>>2]+j[d+4>>2];break F}if((b|0)!=2){g=160;break b}j[d>>2]=j[d>>2]-j[d+4>>2];break F}if((b|0)!=2){g=160;break b}D=d,E=ye(j[d>>2],j[d+4>>2]),j[D>>2]=E;break F}g=160;if((b|0)!=2){break b}b=j[d+4>>2];if(!b){break b}D=d,E=De(j[d>>2],b),j[D>>2]=E;break F}g=160;if(!j[e+1464>>2]|(b|0)!=2){break b}b=j[d+4>>2];if((b|0)<0){break b}b=b>>16;if(b>>>0>=m[e+1492>>2]){break b}j[j[e+1488>>2]+(b<<2)>>2]=j[d>>2];break D}g=160;if(!j[e+1464>>2]|(b|0)!=1){break b}b=j[d>>2];if((b|0)<0){break b}b=b>>16;if(b>>>0>=m[e+1492>>2]){break b}j[d>>2]=j[j[e+1488>>2]+(b<<2)>>2];break F}if((b|0)!=4){g=160;break b}y=1;if(j[d+8>>2]<=j[d+12>>2]){break E}j[d>>2]=j[d+4>>2];c=d;break C}if(b){g=160;break b}b=j[u+4>>2];j[d>>2]=((b|0)>32767)+b;b=j[u+4>>2];b=ye(b,65536-b|0);j[u+4>>2]=b?b:10355;break F}c=d;t=b;if((g|q)>=0){break C}g=160;break b}b=j[(d<<2)+23984>>2];if((b|0)>(f-e|0)-112>>2){g=161;break b}c=f-(b<<2)|0;g=160;V:{W:{X:{switch(d-1|0){case 0:c=j[a+20>>2];Y:{if(!c){break Y}d=0;b=l[c>>1];f=b<<16>>16;if((f|0)>=2){d=i[(j[c+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[c+2>>1];Z:{if((b|0)<2){break Z}r=j[c+4>>2];n=r+(d<<3)|0;r=(r+(b<<3)|0)-8|0;if(j[n>>2]!=j[r>>2]|j[n+4>>2]!=j[r+4>>2]|k[(j[c+8>>2]+b|0)-1|0]!=1){break Z}b=b-1|0;i[c+2>>1]=b}if((f|0)<1){break Y}n=d;d=(b<<16>>16)-1|0;if((n|0)==(d|0)){i[c+2>>1]=b-1;i[c>>1]=f-1;break Y}i[(j[c+12>>2]+(f<<1)|0)-2>>1]=d}if(s){if(qe[j[s+8>>2]](j[s>>2],i[c+2>>1])|0){break b}g=qe[j[s+24>>2]](j[s>>2],j[a+20>>2],j[a+76>>2],j[j[u+12>>2]+1468>>2])|0;if(g){break b}}Yh(j[a+12>>2]);break c;case 1:j[a+64>>2]=1;j[a+32>>2]=j[a+32>>2]+j[c>>2];b=j[c+4>>2];g=0;j[a+44>>2]=0;j[a+40>>2]=b;if(k[a+70|0]){break b}o=j[a+28>>2];B=j[c>>2]+j[a+24>>2]|0;n=B;break V;case 2:if(k[e+1496|0]|k[e+70|0]){break b}b=j[c+16>>2]>>16;f=j[c+12>>2]>>16;d=j[c+8>>2];r=j[c+4>>2];n=j[c>>2];q=j[e+32>>2];a=j[j[j[e+4>>2]+128>>2]+48>>2];_:{if(!j[e+1356>>2]){if(a){break _}break b}if(a){break _}c=-1;$:{if(f>>>0>255){break $}a=j[e+1348>>2];a=qe[j[a+20>>2]](l[j[a+24>>2]+(f<<1)>>1])|0;t=j[e+1352>>2];if(!t){break $}x=j[e+1356>>2];c=0;while(1){f=j[x+(c<<2)>>2];if(!(!f|k[f|0]!=k[a|0])){if(!we(f,a)){break $}}c=c+1|0;if((t|0)!=(c|0)){continue}break}c=-1}aa:{ba:{if(b>>>0>255){break ba}a=j[e+1348>>2];a=qe[j[a+20>>2]](l[j[a+24>>2]+(b<<1)>>1])|0;t=j[e+1352>>2];if(!t){break ba}x=j[e+1356>>2];b=0;while(1){f=j[x+(b<<2)>>2];if(!(!f|k[f|0]!=k[a|0])){if(!we(f,a)){break aa}}b=b+1|0;if((t|0)!=(b|0)){continue}break}}b=-1}f=c}if((b|f)<0){break b}q=q+r|0;if(k[e+69|0]){c=j[e+8>>2];r=j[j[c+156>>2]>>2];g=ts(r,2);if(g){break b}a=j[r+88>>2];j[a+32>>2]=b;j[a+8>>2]=0;j[a+12>>2]=0;i[a+4>>1]=514;j[a>>2]=f;i[a+36>>1]=2;b=a;f=q-n|0;n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[b+40>>2]=n>>16;j[a+44>>2]=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16;j[c+128>>2]=2;a=j[r+52>>2];j[c+72>>2]=1668246896;j[c+132>>2]=a;j[r+84>>2]=2;break c}QO(j[e+12>>2]);h[e+1496|0]=1;g=qe[j[e+1472>>2]](e,f)|0;h[e+1496|0]=0;if(g){break b}h[e+1496|0]=1;j[e+28>>2]=d;a=j[e+32>>2];c=j[e+36>>2];j[e+32>>2]=0;j[e+36>>2]=0;j[e+24>>2]=q-n;d=j[e+40>>2];f=j[e+44>>2];g=qe[j[e+1472>>2]](e,b)|0;h[e+1496|0]=0;if(g){break b}j[e+40>>2]=d;j[e+44>>2]=f;j[e+32>>2]=a;j[e+36>>2]=c;j[e+24>>2]=0;j[e+28>>2]=0;break c;case 3:j[a+64>>2]=1;j[a+32>>2]=j[a+32>>2]+j[c>>2];j[a+36>>2]=j[a+36>>2]+j[c+4>>2];j[a+40>>2]=j[c+8>>2];j[a+44>>2]=j[c+12>>2];if(k[a+70|0]){break c}o=j[c+4>>2]+j[a+28>>2]|0;n=j[c>>2]+j[a+24>>2]|0;break V;case 4:ca:{if((j[a+64>>2]&-2)!=2){break ca}b=j[a+20>>2];if(!b){break ca}e=0;f=l[b>>1];d=f<<16>>16;if((d|0)>=2){e=i[(j[b+12>>2]+(f<<1)|0)-4>>1]+1|0}f=i[b+2>>1];da:{if((f|0)<2){break da}q=j[b+4>>2];g=q+(e<<3)|0;q=(q+(f<<3)|0)-8|0;if(j[g>>2]!=j[q>>2]|j[g+4>>2]!=j[q+4>>2]|k[(j[b+8>>2]+f|0)-1|0]!=1){break da}f=f-1|0;i[b+2>>1]=f}if((d|0)<1){break ca}q=(f<<16>>16)-1|0;if((q|0)==(e|0)){i[b+2>>1]=f-1;i[b>>1]=d-1;break ca}i[(j[b+12>>2]+(d<<1)|0)-2>>1]=q}j[a+64>>2]=1;break V;case 5:g=mh(a,n,o);if(g){break b}n=j[c>>2]+n|0;break W;case 6:n=j[c>>2]+n|0;if(j[e+1400>>2]){break V}if(!j[a+64>>2]){break b}j[a+64>>2]=2;break V;case 7:g=mh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+3>>>0>m[b+4>>2]){g=yf(b,3,0);if(g){break b}}f=j[c>>2]+n|0;e=0;q=0;d=j[a+20>>2];b=d;if(k[a+68|0]){q=j[d+8>>2];g=i[d+2>>1];b=j[d+4>>2]+(g<<3)|0;j[b>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[g+q|0]=2;q=k[a+68|0];b=j[a+20>>2]}i[d+2>>1]=l[d+2>>1]+1;o=j[c+8>>2]+o|0;n=f+j[c+4>>2]|0;f=b;if(q&255){q=j[b+8>>2];e=i[b+2>>1];d=j[b+4>>2]+(e<<3)|0;j[d>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[d+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=2;e=k[a+68|0];f=j[a+20>>2]}i[b+2>>1]=l[b+2>>1]+1;o=o+j[c+12>>2]|0;if(e&255){q=j[f+8>>2];e=i[f+2>>1];b=j[f+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[f+2>>1]=l[f+2>>1]+1;break V;case 8:g=mh(a,n,o);if(g){break b}o=j[c+4>>2]+o|0;n=j[c>>2]+n|0;break W;case 9:o=j[c+4>>2]+o|0;n=j[c>>2]+n|0;if(j[e+1400>>2]){break V}if(!j[a+64>>2]){break b}j[a+64>>2]=2;break V;case 10:g=mh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+3>>>0>m[b+4>>2]){g=yf(b,3,0);if(g){break b}}f=j[c+4>>2]+o|0;n=j[c>>2]+n|0;q=0;w=0;d=j[a+20>>2];b=d;if(k[a+68|0]){o=j[d+8>>2];g=i[d+2>>1];b=j[d+4>>2]+(g<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;h[o+g|0]=2;w=k[a+68|0];b=j[a+20>>2]}i[d+2>>1]=l[d+2>>1]+1;e=f+j[c+12>>2]|0;n=n+j[c+8>>2]|0;f=b;if(w&255){q=j[b+8>>2];o=i[b+2>>1];d=j[b+4>>2]+(o<<3)|0;j[d>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[d+4>>2]=((e|0)>=0?e+32768&-65536:0-(32768-e&-65536)|0)>>16;h[o+q|0]=2;q=k[a+68|0];f=j[a+20>>2]}i[b+2>>1]=l[b+2>>1]+1;o=e+j[c+20>>2]|0;n=n+j[c+16>>2]|0;if(q&255){q=j[f+8>>2];e=i[f+2>>1];b=j[f+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[f+2>>1]=l[f+2>>1]+1;break V;case 11:g=mh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+3>>>0>m[b+4>>2]){g=yf(b,3,0);if(g){break b}}f=j[c>>2]+o|0;e=0;q=0;d=j[a+20>>2];b=d;if(k[a+68|0]){o=j[d+8>>2];g=i[d+2>>1];b=j[d+4>>2]+(g<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;h[o+g|0]=2;q=k[a+68|0];b=j[a+20>>2]}i[d+2>>1]=l[d+2>>1]+1;o=f+j[c+8>>2]|0;n=j[c+4>>2]+n|0;f=b;if(q&255){q=j[b+8>>2];e=i[b+2>>1];d=j[b+4>>2]+(e<<3)|0;j[d>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[d+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=2;e=k[a+68|0];f=j[a+20>>2]}i[b+2>>1]=l[b+2>>1]+1;n=n+j[c+12>>2]|0;if(e&255){q=j[f+8>>2];e=i[f+2>>1];b=j[f+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[f+2>>1]=l[f+2>>1]+1;break V;case 12:g=mh(a,n,o);if(g){break b}o=j[c>>2]+o|0;break W;case 13:o=j[c>>2]+o|0;if(j[e+1400>>2]){break V}if(!j[a+64>>2]){break b}j[a+64>>2]=2;break V;case 19:D=c,E=De(j[c>>2],j[c+4>>2]),j[D>>2]=E;c=c+4|0;z=0;break V;case 21:b=j[c>>2];if((b|0)<0){break b}d=b>>16;if(((v-e|0)-1140|0)>180|(d|0)>=j[e+1364>>2]){break b}j[v>>2]=r;d=d<<2;b=j[u+12>>2];f=d+j[b+1368>>2]|0;r=j[f>>2];j[v+16>>2]=r;q=j[b+1372>>2];ea:{if(q){x=j[d+q>>2]+r|0;break ea}d=j[b+1360>>2];r=((d|0)>0?d:0)+r|0;j[v+16>>2]=r;x=j[f+4>>2]}j[v+12>>2]=r;j[v+20>>2]=x;if(!r){break b}v=v+12|0;j[b+1344>>2]=v;break V;case 22:if((y|0)>=1){y=y-1|0;break V}if(!t){break b}c=c+4|0;t=t-1|0;break V;case 23:if(e+1140>>>0>=v>>>0){break b}v=v-12|0;x=j[v+8>>2];r=j[v>>2];j[e+1344>>2]=v;break V;case 15:if(!s){break V}qe[j[s+12>>2]](j[s>>2],1,c);break V;case 16:if(!s){break V}qe[j[s+16>>2]](j[s>>2],1,c);break V;case 17:if(!s){break V}j[c>>2]=j[c>>2]+B;qe[j[s+12>>2]](j[s>>2],0,c);break V;case 18:if(!s){break V}j[c>>2]=j[c>>2]+B;j[c+8>>2]=j[c+8>>2]+B;j[c+16>>2]=j[c+16>>2]+B;qe[j[s+16>>2]](j[s>>2],0,c);break V;case 14:case 25:break V;case 24:break X;default:break b}}o=j[c+4>>2];n=j[c>>2];j[e+1400>>2]=0;break V}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+1>>>0>m[b+4>>2]){g=yf(b,1,0);if(g){break b}}d=j[a+20>>2];if(k[a+68|0]){q=j[d+8>>2];e=i[d+2>>1];b=j[d+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[d+2>>1]=l[d+2>>1]+1}e=j[u+12>>2];j[e+1136>>2]=c;break B}y=1;c=d;break C}c=d;break C}c=d}e=j[u+12>>2];j[e+1136>>2]=(y<<2)+c}b=r;if(x>>>0>b>>>0){continue}break}}g=0}oe=u+16|0;return g|0}function Bh(a,b,c,d,e){var f=0,g=0,m=0,r=0,s=0,t=0,u=0,v=q(0),w=q(0),x=q(0),y=0,z=q(0),A=0,B=q(0),C=0,D=0,E=0;f=oe-1328|0;oe=f;a:{if(!j[57840]){t=-1;if(!c){break a}ve(118853,0);break a}b:{if(!c){if((b|0)<1){break b}y=f+1076|0;c=0;while(1){C=t;d=j[57841];c:{if((d|0)>=65535){j[f>>2]=d;ve(118933,f);d=0;break c}m=j[57845];d:{if(!m){m=qe[j[57972]](80)|0;if(m){j[57976]=j[57976]+1}if(m){break d}d=0;break c}j[57845]=j[m+72>>2]}e=p(c,56)+a|0;g=j[66367];e:{if(!g){break e}d=j[e>>2];if((d|0)==1024|(d|0)==1794?(g|0)<=1:0){break e}h[f+1168|0]=0;h[f+1296|0]=0;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{if((d&-32768)==32768){Re(f+1296|0,118965,32);d=j[e>>2];ca:{if(d>>>0>=32769){j[f+1088>>2]=d-32768;Ue(f+1104|0,16,118979,f+1088|0);break ca}h[f+1104|0]=0}d=j[e+4>>2];g=j[e+8>>2];r=j[e+16>>2];s=j[e+12>>2];j[y>>2]=j[e+20>>2];j[f+1072>>2]=r;j[f+1068>>2]=s;j[f+1060>>2]=d;j[f+1064>>2]=g;j[f+1056>>2]=f+1104;Ue(f+1168|0,128,118983,f+1056|0);d=j[e>>2]}if((d|0)<=1535){if((d|0)<=767){da:{switch(d-256|0){case 6:break X;case 5:break Y;case 4:break Z;case 3:break _;case 2:break $;case 1:break aa;case 0:break ba;default:break da}}switch(d-512|0){case 1:break R;case 0:break S;default:break j}}ea:{switch(d-768|0){case 3:break N;case 2:break O;case 1:break P;case 0:break Q;case 4:break W;default:break ea}}switch(d-1024|0){case 3:break J;case 2:break K;case 1:break L;case 0:break M;default:break i}}if((d|0)<=2047){fa:{switch(d-1536|0){case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:break i;case 85:break w;case 84:break x;case 83:break y;case 82:break z;case 81:break A;case 80:break B;case 6:break C;case 5:break D;case 4:break E;case 3:break F;case 2:break G;case 1:break H;case 0:break I;default:break fa}}switch(d-1792|0){case 2:break t;case 1:break u;case 0:break v;default:break i}}if((d|0)<=4095){switch(d-2048|0){case 2:break q;case 1:break r;case 0:break s;default:break V}}ga:{switch(d-4096|0){case 3:break m;case 2:break n;case 1:break o;case 0:break p;default:break ga}}ha:{switch(d-4352|0){case 1:break k;case 0:break l;default:break ha}}switch(d+ -8192|0){case 1:break T;case 0:break U;default:break i}}Re(f+1296|0,119081,32);j[f+48>>2]=j[e+4>>2];Ue(f+1168|0,128,119090,f+48|0);break g}Re(f+1296|0,119106,32);break g}Re(f+1296|0,119126,32);break g}Re(f+1296|0,119144,32);break g}Re(f+1296|0,119172,32);break g}Re(f+1296|0,119199,32);break g}Re(f+1296|0,119227,32);break g}Re(f+1296|0,119254,32);break g}if((d|0)!=2304){break i}Re(f+1296|0,119272,32);break g}Re(f+1296|0,119292,32);break g}Re(f+1296|0,119317,32);break g}Re(f+1296|0,119341,32);t=f+1104|0;d=h[e+12|0];if(d>>>0<=16){d=j[(d<<2)+121464>>2]}else{d=119799}Re(t,d,64);d=j[e+16>>2];g=j[e+4>>2];r=j[e+8>>2];j[f+80>>2]=j[e+20>>2];j[f+64>>2]=g;j[f+68>>2]=r;j[f+76>>2]=d;j[f+72>>2]=f+1104;Ue(f+1168|0,128,119821,f- -64|0);break g}Re(f+1296|0,119876,32);j[f+96>>2]=j[e+4>>2];Ue(f+1168|0,128,119090,f+96|0);break g}Re(f+1296|0,119891,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+20>>2];s=j[e+16>>2];u=k[e+12|0];t=k[e+13|0];j[f+136>>2]=l[e+24>>1];j[f+128>>2]=s;j[f+132>>2]=r;j[f+124>>2]=t?119997:120002;j[f+112>>2]=d;j[f+116>>2]=g;j[f+120>>2]=(u|0)==1?119980:119988;Ue(f+1168|0,128,119903,f+112|0);break g}Re(f+1296|0,120008,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+20>>2];s=j[e+16>>2];u=k[e+12|0];t=k[e+13|0];j[f+168>>2]=l[e+24>>1];j[f+160>>2]=s;j[f+164>>2]=r;j[f+156>>2]=t?119997:120002;j[f+144>>2]=d;j[f+148>>2]=g;j[f+152>>2]=(u|0)==1?119980:119988;Ue(f+1168|0,128,119903,f+144|0);break g}Re(f+1296|0,120018,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+44>>2];j[f+192>>2]=j[e+48>>2];j[f+188>>2]=r;j[f+176>>2]=d;j[f+180>>2]=g;j[f+184>>2]=e+12;Ue(f+1168|0,128,120034,f+176|0);break g}Re(f+1296|0,120091,32);d=j[e+4>>2];g=j[e+8>>2];j[f+216>>2]=e+12;j[f+208>>2]=d;j[f+212>>2]=g;Ue(f+1168|0,128,120105,f+208|0);break g}Re(f+1296|0,120143,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+16>>2];s=j[e+28>>2];u=j[e+24>>2];t=j[e+32>>2];A=j[e+12>>2];j[f+240>>2]=j[e+20>>2];j[f+252>>2]=t;j[f+244>>2]=u;j[f+248>>2]=s;j[f+236>>2]=r;j[f+224>>2]=d;j[f+228>>2]=g;j[f+232>>2]=A;Ue(f+1168|0,128,120159,f+224|0);break g}Re(f+1296|0,120231,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+16|0];s=j[e+24>>2];u=j[e+12>>2];t=k[e+17|0];A=j[e+20>>2];j[f+276>>2]=k[e+18|0];j[f+280>>2]=A;j[f+284>>2]=s;j[f+272>>2]=(t|0)==1?119980:119988;j[f+268>>2]=r;j[f+256>>2]=d;j[f+260>>2]=g;j[f+264>>2]=u;Ue(f+1168|0,128,120251,f+256|0);break g}Re(f+1296|0,120327,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+16|0];s=j[e+24>>2];u=j[e+12>>2];t=k[e+17|0];A=j[e+20>>2];j[f+308>>2]=k[e+18|0];j[f+312>>2]=A;j[f+316>>2]=s;j[f+304>>2]=(t|0)==1?119980:119988;j[f+300>>2]=r;j[f+288>>2]=d;j[f+292>>2]=g;j[f+296>>2]=u;Ue(f+1168|0,128,120251,f+288|0);break g}Re(f+1296|0,120345,32);d=j[e+16>>2];g=j[e+4>>2];r=j[e+8>>2];s=j[e+24>>2];u=j[e+12>>2];j[f+336>>2]=j[e+20>>2];j[f+340>>2]=s?120427:120420;j[f+320>>2]=g;j[f+324>>2]=r;j[f+332>>2]=d;j[f+328>>2]=u;Ue(f+1168|0,128,120360,f+320|0);break g}Re(f+1296|0,120435,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+12|0];j[f+364>>2]=i[e+16>>1];j[f+360>>2]=r;j[f+352>>2]=d;j[f+356>>2]=g;Ue(f+1168|0,128,120453,f+352|0);break g}Re(f+1296|0,120495,32);d=j[e+4>>2];g=j[e+8>>2];r=i[e+16>>1];s=k[e+12|0];j[f+384>>2]=i[e+18>>1];j[f+380>>2]=r;j[f+376>>2]=s;j[f+368>>2]=d;j[f+372>>2]=g;Ue(f+1168|0,128,120513,f+368|0);break g}Re(f+1296|0,120562,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+12|0];j[f+412>>2]=k[e+13|0];j[f+408>>2]=r;j[f+400>>2]=d;j[f+404>>2]=g;Ue(f+1168|0,128,120579,f+400|0);break g}Re(f+1296|0,120620,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+424>>2]=k[e+12|0];j[f+416>>2]=d;j[f+420>>2]=g;j[f+428>>2]=(r|0)==1?119980:119988;Ue(f+1168|0,128,120638,f+416|0);break g}Re(f+1296|0,120682,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+440>>2]=k[e+12|0];j[f+432>>2]=d;j[f+436>>2]=g;j[f+444>>2]=(r|0)==1?119980:119988;Ue(f+1168|0,128,120638,f+432|0);break g}Re(f+1296|0,120698,32);d=j[e+8>>2];j[f+448>>2]=j[e+4>>2];j[f+452>>2]=d;Ue(f+1168|0,128,120717,f+448|0);break g}Re(f+1296|0,120742,32);d=j[e+8>>2];j[f+464>>2]=j[e+4>>2];j[f+468>>2]=d;Ue(f+1168|0,128,120717,f+464|0);break g}Re(f+1296|0,120763,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+12|0];j[f+492>>2]=i[e+16>>1];j[f+488>>2]=r;j[f+480>>2]=d;j[f+484>>2]=g;Ue(f+1168|0,128,120453,f+480|0);break g}Re(f+1296|0,120788,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+504>>2]=k[e+12|0];j[f+496>>2]=d;j[f+500>>2]=g;j[f+508>>2]=(r|0)==1?119980:119988;Ue(f+1168|0,128,120638,f+496|0);break g}Re(f+1296|0,120813,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+520>>2]=k[e+12|0];j[f+512>>2]=d;j[f+516>>2]=g;j[f+524>>2]=(r|0)==1?119980:119988;Ue(f+1168|0,128,120638,f+512|0);break g}Re(f+1296|0,120836,32);d=j[e+8>>2];j[f+528>>2]=j[e+4>>2];j[f+532>>2]=d;Ue(f+1168|0,128,120717,f+528|0);break g}Re(f+1296|0,120862,32);d=j[e+8>>2];j[f+544>>2]=j[e+4>>2];j[f+548>>2]=d;Ue(f+1168|0,128,120717,f+544|0);break g}Re(f+1296|0,120890,32);d=j[e+8>>2];j[f+560>>2]=j[e+4>>2];j[f+564>>2]=d;Ue(f+1168|0,128,120717,f+560|0);break g}Re(f+1296|0,120919,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+24>>2];w=n[e+28>>2];x=n[e+32>>2];z=n[e+36>>2];B=n[e+40>>2];s=j[e+20>>2];j[f+592>>2]=j[e+16>>2];j[f+596>>2]=s;o[f+632>>3]=B;o[f+624>>3]=z;o[f+616>>3]=x;o[f+608>>3]=w;o[f+600>>3]=v;j[f+584>>2]=g;j[f+588>>2]=r;j[f+576>>2]=d;Ue(f+1168|0,128,120934,f+576|0);break g}Re(f+1296|0,121011,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+24>>2];w=n[e+28>>2];x=n[e+32>>2];z=n[e+36>>2];B=n[e+40>>2];s=j[e+20>>2];j[f+656>>2]=j[e+16>>2];j[f+660>>2]=s;o[f+696>>3]=B;o[f+688>>3]=z;o[f+680>>3]=x;o[f+672>>3]=w;o[f+664>>3]=v;j[f+648>>2]=g;j[f+652>>2]=r;j[f+640>>2]=d;Ue(f+1168|0,128,120934,f+640|0);break g}Re(f+1296|0,121024,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+24>>2];w=n[e+28>>2];x=n[e+32>>2];z=n[e+36>>2];B=n[e+40>>2];s=j[e+20>>2];j[f+720>>2]=j[e+16>>2];j[f+724>>2]=s;o[f+760>>3]=B;o[f+752>>3]=z;o[f+744>>3]=x;o[f+736>>3]=w;o[f+728>>3]=v;j[f+712>>2]=g;j[f+716>>2]=r;j[f+704>>2]=d;Ue(f+1168|0,128,120934,f+704|0);break g}Re(f+1296|0,121041,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+28>>2];w=n[e+32>>2];x=n[e+36>>2];s=j[e+20>>2];u=j[e+16>>2];j[f+792>>2]=j[e+24>>2];j[f+784>>2]=u;j[f+788>>2]=s;o[f+816>>3]=x;o[f+808>>3]=w;o[f+800>>3]=v;j[f+776>>2]=g;j[f+780>>2]=r;j[f+768>>2]=d;Ue(f+1168|0,128,121059,f+768|0);break g}Re(f+1296|0,121136,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+28>>2];w=n[e+32>>2];x=n[e+36>>2];s=j[e+20>>2];u=j[e+16>>2];j[f+856>>2]=j[e+24>>2];j[f+848>>2]=u;j[f+852>>2]=s;o[f+880>>3]=x;o[f+872>>3]=w;o[f+864>>3]=v;j[f+840>>2]=g;j[f+844>>2]=r;j[f+832>>2]=d;Ue(f+1168|0,128,121059,f+832|0);break g}Re(f+1296|0,121153,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+16>>2];w=n[e+24>>2];x=n[e+28>>2];z=n[e+20>>2];j[f+944>>2]=l[e+32>>1];o[f+920>>3]=z;o[f+936>>3]=x;o[f+928>>3]=w;o[f+912>>3]=v;j[f+904>>2]=g;j[f+908>>2]=r;j[f+896>>2]=d;Ue(f+1168|0,128,121170,f+896|0);break g}Re(f+1296|0,121242,32);d=j[e+4>>2];g=j[e+8>>2];j[f+968>>2]=j[e+12>>2];D=f,E=mP(d,g),j[D+960>>2]=E;j[f+964>>2]=pe;Ue(f+1168|0,128,121255,f+960|0);break g}Re(f+1296|0,121293,32);d=j[e+4>>2];g=j[e+8>>2];j[f+984>>2]=j[e+12>>2];D=f,E=mP(d,g),j[D+976>>2]=E;j[f+980>>2]=pe;Ue(f+1168|0,128,121255,f+976|0);break g}Re(f+1296|0,121306,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1e3>>2]=j[e+12>>2];D=f,E=mP(d,g),j[D+992>>2]=E;j[f+996>>2]=pe;Ue(f+1168|0,128,121255,f+992|0);break g}Re(f+1296|0,121320,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1016>>2]=j[e+12>>2];D=f,E=mP(d,g),j[D+1008>>2]=E;j[f+1012>>2]=pe;Ue(f+1168|0,128,121255,f+1008|0);break g}Re(f+1296|0,121337,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1032>>2]=k[e+12|0]?119997:120002;j[f+1024>>2]=d;j[f+1028>>2]=g;Ue(f+1168|0,128,121358,f+1024|0);break g}Re(f+1296|0,121396,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1048>>2]=k[e+12|0]?119997:120002;j[f+1040>>2]=d;j[f+1044>>2]=g;Ue(f+1168|0,128,121358,f+1040|0);break g}if(!d){break h}}if(k[f+1296|0]){break f}Re(f+1296|0,121419,32);j[f+32>>2]=j[e>>2];Ue(f+1168|0,128,121427,f+32|0);break g}Re(f+1296|0,119039,32);Re(f+1168|0,119054,128)}if(!k[f+1296|0]){break e}}j[f+20>>2]=f+1168;j[f+16>>2]=f+1296;Vg(121447,f+16|0)}d=j[e+4>>2];j[m>>2]=j[e>>2];j[m+4>>2]=d;d=j[e+52>>2];j[m+48>>2]=j[e+48>>2];j[m+52>>2]=d;d=j[e+44>>2];j[m+40>>2]=j[e+40>>2];j[m+44>>2]=d;d=j[e+36>>2];j[m+32>>2]=j[e+32>>2];j[m+36>>2]=d;d=j[e+28>>2];j[m+24>>2]=j[e+24>>2];j[m+28>>2]=d;d=j[e+20>>2];j[m+16>>2]=j[e+16>>2];j[m+20>>2]=d;d=j[e+12>>2];j[m+8>>2]=j[e+8>>2];j[m+12>>2]=d;if(j[e>>2]==513){d=j[e+8>>2];e=j[d+4>>2];j[m+56>>2]=j[d>>2];j[m+60>>2]=e;j[m- -64>>2]=j[d+8>>2];j[m+8>>2]=m+56}d=j[57844];ia:{if(d){j[d+72>>2]=m;break ia}j[57843]=m}j[57844]=m;j[m+72>>2]=0;j[m+68>>2]=d;e=j[57841];j[57841]=e+1;d=1;if((e|0)>2];j[y+12>>2]=t;t=y;if(m){continue}break}j[57847]=t}j[57846]=0}t=0;y=j[57843];if(!y){break b}s=(c|0)!=2;while(1){if((b|0)<=(t|0)?a:0){break b}c=y;y=j[c+72>>2];m=j[c>>2];if(!(m>>>0>>0|e>>>0>>0)){ja:{if(!a){break ja}r=j[c+4>>2];g=p(t,56)+a|0;m=g;j[m>>2]=j[c>>2];j[m+4>>2]=r;m=j[c+52>>2];j[g+48>>2]=j[c+48>>2];j[g+52>>2]=m;m=j[c+44>>2];j[g+40>>2]=j[c+40>>2];j[g+44>>2]=m;m=j[c+36>>2];j[g+32>>2]=j[c+32>>2];j[g+36>>2]=m;m=j[c+28>>2];j[g+24>>2]=j[c+24>>2];j[g+28>>2]=m;m=j[c+20>>2];j[g+16>>2]=j[c+16>>2];j[g+20>>2]=m;m=j[c+12>>2];j[g+8>>2]=j[c+8>>2];j[g+12>>2]=m;if(j[c>>2]==513){m=j[57847];ka:{if(m){j[57847]=j[m+12>>2];break ka}m=qe[j[57972]](16)|0;if(m){j[57976]=j[57976]+1}}r=j[c+8>>2];u=j[r+4>>2];j[m>>2]=j[r>>2];j[m+4>>2]=u;j[m+8>>2]=j[r+8>>2];j[m+12>>2]=j[57846];j[57846]=m;j[g+8>>2]=m}if(s){break ja}m=j[c+68>>2];if(m){j[m+72>>2]=j[c+72>>2]}g=j[c+72>>2];if(g){j[g+68>>2]=m}if((c|0)==j[57843]){j[57843]=g}if((c|0)==j[57844]){j[57844]=j[c+68>>2]}j[c+72>>2]=j[57845];j[57845]=c;j[57841]=j[57841]-1}t=t+1|0}if(y){continue}break}}if(!j[57839]){break a}}oe=f+1328|0;return t}function Ro(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=oe-32|0;oe=e;u=j[b+100>>2];c=1;a:{b:{c:{d:{e:{f:{if(Fe(a,0)){break f}d=$e(a,22688,b+184|0);j[e+28>>2]=d;if(d){break f}c=3;if(j[b+184>>2]!=1885562369){break f}d=j[b+188>>2];if(d-1>>>0>134217726){break f}d=xe(u,16,0,d,0,e+28|0);j[b+192>>2]=d;c=64;if(j[e+28>>2]){break f}g:{if(j[b+188>>2]){while(1){c=$e(a,22704,d);j[e+28>>2]=c;if(c){break d}d=d+16|0;f=f+1|0;c=j[b+188>>2];if(f>>>0>>0){continue}break}r=1;d=j[b+192>>2];if((c|0)==1){break g}f=c}c=0;h:{i:{while(1){n=c+1|0;if((n|0)==(f|0)){g=f-1|0;q=j[a+4>>2];d=j[b+192>>2];break i}q=c^-1;g=j[d+12>>2];o=0;r=0;while(1){c=(r<<4)+d|0;r=r+1|0;l=(r<<4)+d|0;f=j[l+12>>2];if(g>>>0>f>>>0){g=j[c+12>>2];j[e+16>>2]=j[c+8>>2];j[e+20>>2]=g;g=j[c+4>>2];j[e+8>>2]=j[c>>2];j[e+12>>2]=g;g=j[l+12>>2];j[c+8>>2]=j[l+8>>2];j[c+12>>2]=g;g=j[l+4>>2];j[c>>2]=j[l>>2];j[c+4>>2]=g;g=j[e+20>>2];j[l+8>>2]=j[e+16>>2];j[l+12>>2]=g;g=j[e+12>>2];j[l>>2]=j[e+8>>2];j[l+4>>2]=g;o=1;f=j[l+12>>2]}g=j[c+8>>2];if(g>>>0>f>>>0|m[c+12>>2]>f-g>>>0){break h}g=f;f=j[b+188>>2];if(q+f>>>0>r>>>0){continue}break}g=f-1|0;if(o){c=n;if(g>>>0>c>>>0){continue}}break}r=1;q=j[a+4>>2];d=j[b+192>>2];n=d;if((f|0)==1){break e}}l=g>>>0>1?g:1;n=(l<<4)+d|0;g=0;c=d;while(1){o=j[c+8>>2];if(!(m[c+12>>2]<=q-o>>>0?o>>>0<=q>>>0:0)){j[e+28>>2]=8;break d}c=c+16|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}r=f;break e}j[e+28>>2]=9;break d}q=j[a+4>>2];n=d;break e}j[e+4>>2]=c;break b}c=j[n+12>>2];if(c>>>0>q>>>0){j[e+28>>2]=8;break d}c=q-c|0;if(c>>>0>2]){j[n+8>>2]=c}j[e+4>>2]=0;break c}d=j[b+192>>2];if(d){qe[j[u+8>>2]](u,d)}d=0;j[b+192>>2]=0;c=j[e+28>>2];j[e+4>>2]=c;if(c){break b}r=j[b+188>>2]}n=j[b+100>>2];q=3;j:{k:{l:{if(!r){break l}c=0;while(1){if(j[(c<<4)+d>>2]==1){q=83;g=j[((c<<4)+d|0)+12>>2];f=j[a+8>>2];if(g>>>0>>0){break l}if(vf(a,g-f|0)){break l}l=j[((c<<4)+d|0)+8>>2];d=0;j[e+8>>2]=0;c=Wf(a,e+8|0);if(c>>>0<=255){break k}c=0;break j}c=c+1|0;if((r|0)!=(c|0)){continue}break}}j[e+8>>2]=q;d=0;c=0;break j}if(j[e+8>>2]){c=0;break j}f=c&4;m:{if(f){g=rf(a,e+8|0);break m}g=Wf(a,e+8|0)}if(j[e+8>>2]){c=0;break j}if(g>>>0>(l>>>0)/9>>>0){j[e+8>>2]=8;c=0;break j}j[b+280>>2]=g;c=xe(n,12,0,g,0,e+8|0);if(j[e+8>>2]){break j}n:{if(!g){break n}while(1){o=p(d,12)+c|0;o:{if(f){o=$e(a,22736,o);j[e+8>>2]=o;if(!o){break o}d=0;break j}o=$e(a,22768,o);j[e+8>>2]=o;if(!o){break o}d=0;break j}d=d+1|0;if((g|0)!=(d|0)){continue}break}d=g&3;if(!d){break n}d=vf(a,4-d|0);j[e+8>>2]=d;if(!d){break n}j[e+8>>2]=83;d=0;break j}p:{if(f){f=rf(a,e+8|0);break p}f=Wf(a,e+8|0)}d=0;if(j[e+8>>2]){break j}if(f>>>0>l+p(g,-9)>>>0){j[e+8>>2]=8;break j}d=xe(n,1,0,f+1|0,0,e+8|0);if(j[e+8>>2]){break j}l=uf(a,d,f);j[e+8>>2]=l;if(l){break j}q=0;r=xe(n,12,0,g,0,e+8|0);if(j[e+8>>2]){break j}j[b+284>>2]=r;if(g){while(1){o=p(q,12);l=o+c|0;s=j[l>>2];if(!(f>>>0>=s>>>0?(s|0)>=0:0)){j[e+8>>2]=9;break j}o=o+r|0;y=o,z=dg(n,d+s|0,e+8|0),j[y>>2]=z;if(j[e+8>>2]){break j}s=k[l+4|0];h[o+4|0]=s;l=j[l+8>>2];q:{if(s){if(!(f>>>0>=l>>>0?(l|0)>=0:0)){j[e+8>>2]=9;break j}y=o,z=dg(n,d+l|0,e+8|0),j[y+8>>2]=z;if(!j[e+8>>2]){break q}break j}j[o+8>>2]=l}q=q+1|0;if((g|0)!=(q|0)){continue}break}}j[e+8>>2]=0}if(c){qe[j[n+8>>2]](n,c)}if(d){qe[j[n+8>>2]](n,d)}d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}r:{s:{d=j[b+188>>2];if(!d){break s}f=j[b+192>>2];c=0;while(1){if(j[(c<<4)+f>>2]!=256){c=c+1|0;if((d|0)!=(c|0)){continue}break s}break}g=0;break r}d=Qo(a,b,2);j[e+4>>2]=d;if(d){break b}d=j[b+188>>2];f=j[b+192>>2];g=1}if(!d){j[e+4>>2]=3;break b}l=j[b+100>>2];c=0;t:{u:{while(1){if(j[(c<<4)+f>>2]==4){d=83;n=j[((c<<4)+f|0)+12>>2];o=j[a+8>>2];if(n>>>0>>0){break t}if(vf(a,n-o|0)){break t}f=j[((c<<4)+f|0)+8>>2];j[e+28>>2]=0;n=Wf(a,e+28|0);d=j[e+28>>2];if(d){break t}if(((n|256)&-256)==256){break u}j[e+4>>2]=3;break b}c=c+1|0;if((d|0)!=(c|0)){continue}break}j[e+4>>2]=3;break b}d=n&4;v:{if(n>>>0<=255){if(d){c=rf(a,e+28|0);break v}c=Wf(a,e+28|0);break v}if(d){c=qf(a,e+28|0);break v}c=Fp(a,e+28|0)}d=3;if(j[e+28>>2]){break t}j[b+288>>2]=c;d=8;if(!c){break t}w:{if(n>>>0<=255){if(c>>>0<=(f>>>0)/12>>>0){break w}break t}if(c>>>0>(f>>>0)/5>>>0){break t}}f=xe(l,16,0,c,0,e+28|0);j[b+292>>2]=f;d=64;if(j[e+28>>2]){break t}o=c>>>0>1?c:1;r=n&4?22928:22960;n=n>>>0>255;d=0;x:{y:{while(1){z:{if(!n){c=$e(a,r,f);break z}c=$e(a,22992,e+8|0);if(c){break z}i[f>>1]=k[e+8|0]-128;i[f+2>>1]=k[e+9|0]-128;i[f+4>>1]=k[e+10|0]-128;i[f+6>>1]=k[e+11|0]-128;q=k[e+12|0];i[f+10>>1]=0;i[f+8>>1]=q-128}j[e+28>>2]=c;j[f+12>>2]=0;if(c){break y}if(!((i[f+8>>1]+i[f+6>>1]|0)>-1?i[f+2>>1]>=i[f>>1]:0)){j[f>>2]=0;j[f+4>>2]=0;i[f+8>>1]=0}f=f+16|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}j[e+4>>2]=0;break x}d=j[b+292>>2];if(d){qe[j[l+8>>2]](l,d)}j[b+292>>2]=0;d=j[e+28>>2];j[e+4>>2]=d;if(d){break b}}f=j[b+188>>2];if(!f){j[e+4>>2]=3;break b}d=j[b+192>>2];l=j[b+100>>2];c=0;A:{B:{while(1){if(j[d+(c<<4)>>2]==8){f=83;n=j[(d+(c<<4)|0)+12>>2];o=j[a+8>>2];if(n>>>0>>0){break A}if(vf(a,n-o|0)){break A}q=j[(d+(c<<4)|0)+8>>2];f=_e(a,8);j[e+8>>2]=f;if(!f){break B}break A}c=c+1|0;if((f|0)!=(c|0)){continue}break}j[e+4>>2]=3;break b}o=Hl(a);r=o&4;C:{if(r){d=Ef(a);break C}d=Hl(a)}Ve(a);if(o>>>0>255){j[e+4>>2]=3;break b}f=3;if((d|0)!=j[b+288>>2]){break A}c=0;n=xe(l,4,0,d,0,e+8|0);f=j[e+8>>2];if(f){break A}D:{if(d){while(1){s=n+(c<<2)|0;E:{if(r){f=rf(a,e+8|0);break E}f=Wf(a,e+8|0)}j[s>>2]=f;c=c+1|0;if((d|0)!=(c|0)){continue}break}if(j[e+8>>2]){break D}}F:{if(!r){Wf(a,e+8|0);if(j[e+8>>2]){break D}Wf(a,e+8|0);if(j[e+8>>2]){break D}Wf(a,e+8|0);if(j[e+8>>2]){break D}Wf(a,e+8|0);break F}rf(a,e+8|0);if(j[e+8>>2]){break D}rf(a,e+8|0);if(j[e+8>>2]){break D}rf(a,e+8|0);if(j[e+8>>2]){break D}rf(a,e+8|0)}if(j[e+8>>2]){break D}if(d){c=0;while(1){f=j[n+(c<<2)>>2];if(!((f|0)<0|f>>>0>q>>>0)){j[(j[b+292>>2]+(c<<4)|0)+12>>2]=f+j[a+8>>2]}c=c+1|0;if((d|0)!=(c|0)){continue}break}}j[b+308>>2]=o}if(n){qe[j[l+8>>2]](l,n)}d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}q=3;G:{f=j[b+188>>2];if(!f){break G}d=j[b+192>>2];r=j[b+100>>2];c=0;while(1){H:{if(j[d+(c<<4)>>2]==32){q=83;d=j[(d+(c<<4)|0)+12>>2];c=j[a+8>>2];if(d>>>0>>0){break G}if(vf(a,d-c|0)){break G}q=_e(a,14);j[e+8>>2]=q;if(!q){break H}break G}c=c+1|0;if((f|0)!=(c|0)){continue}break G}break}d=b;n=Hl(a);t=n&4;I:{if(t){f=af(a);o=af(a);l=af(a);s=af(a);c=af(a);break I}f=lg(a);o=lg(a);l=lg(a);s=lg(a);c=lg(a)}i[d+304>>1]=c;Ve(a);q=3;if(n>>>0>255){break G}q=8;d=f<<16;if(d>>16<0){break G}c=o<<16>>16;if((c|0)>16|(c|0)>255){break G}c=l<<16>>16;if((c|0)<0|(c|0)>s<<16>>16|s<<16>>16>255){break G}q=64;f=0;v=s<<16>>16;n=l<<16>>16;w=o<<16>>16;o=d>>16;s=p((v-n|0)+1|0,(w-o|0)+1|0);l=xe(r,8,0,s,0,e+8|0);if(j[e+8>>2]){break G}d=_e(a,s<<1);j[e+8>>2]=d;J:{K:{if(d){break K}while(1){q=n<<8;c=o;while(1){L:{if(t){d=af(a);break L}d=lg(a)}if(d<<16>>16>=0){x=(f<<3)+l|0;i[x+4>>1]=d;j[x>>2]=c+q;f=f+1|0}d=(c|0)!=(w|0);c=c+1|0;if(d){continue}break}d=(n|0)!=(v|0);n=n+1|0;if(d){continue}break}Ve(a);l=xe(r,8,s,f,l,e+8|0);if(j[e+8>>2]){break K}j[b+300>>2]=l;j[b+296>>2]=f;j[e+4>>2]=0;break J}if(l){qe[j[r+8>>2]](r,l)}d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}}if(!g){a=Qo(a,b,256);j[e+4>>2]=a;if(a){break b}}j[b>>2]=1;j[b+4>>2]=0;a=j[b+8>>2];j[b+8>>2]=a|146;if(k[b+199|0]){j[b+8>>2]=a|150}d=0;j[e+8>>2]=0;j[b+12>>2]=0;r=1;w=j[b+100>>2];c=j[b+280>>2];M:{N:{if((c|0)<1){g=0;t=0;s=0;o=1;n=0;f=0;v=1;break N}f=j[b+284>>2];while(1){O:{a=d;g=we(j[f+p(a,12)>>2],23020);d=a+1|0;if((c|0)<=(d|0)){break O}if(g){continue}}break}d=0;q=2;P:{if(g){n=0;break P}a=f+p(a,12)|0;if(!k[a+4|0]){n=0;break P}n=0;Q:{switch(k[j[a+8>>2]]-73|0){case 0:case 6:case 32:case 38:break Q;default:break P}}j[b+12>>2]=1;n=(k[j[a+8>>2]]&223)==79?23026:23034;q=3}while(1){R:{a=d;g=we(j[f+p(a,12)>>2],23041);d=a+1|0;if((c|0)<=(d|0)){break R}if(g){continue}}break}d=0;s=0;o=1;S:{if(g){break S}a=f+p(a,12)|0;o=1;if(!k[a+4|0]){break S}o=1;if((k[j[a+8>>2]]|32)!=98){break S}j[b+12>>2]=q;s=23053;o=0}while(1){T:{a=d;l=we(j[f+p(a,12)>>2],23058);d=a+1|0;if((c|0)<=(d|0)){break T}if(l){continue}}break}d=0;g=0;U:{if(l){break U}a=f+p(a,12)|0;g=0;if(!k[a+4|0]){break U}a=j[a+8>>2];l=k[a|0];g=0;if(!l){break U}g=0;if((l|0)==78){break U}g=0;if((l|0)==110){break U}g=a}while(1){V:{a=d;r=we(j[f+p(a,12)>>2],23072);d=a+1|0;if((c|0)<=(d|0)){break V}if(r){continue}}break}t=0;l=0;q=0;c=0;W:{if(r){break W}X:{a=f+p(a,12)|0;if(!k[a+4|0]){break X}a=j[a+8>>2];d=k[a|0];if(!d|(d|0)==78){break X}c=0;if((d|0)==110){break W}l=a;q=Le(a);c=q+1|0;break W}c=0}Y:{if(o){s=0;break Y}t=Le(s);c=(t+c|0)+1|0}d=0;Z:{if(!n){f=0;break Z}f=Le(n);c=(f+c|0)+1|0}r=!n;v=!g;if(g){d=Le(g);c=(d+c|0)+1|0}if(c){break M}}c=8;q=7;l=23087}c=He(w,c,e+8|0);j[b+24>>2]=c;a=j[e+8>>2];if(a){j[e+4>>2]=a;break b}if(l){c=Ae(c,l,q);if(q){a=0;while(1){l=a+c|0;if(k[l|0]==32){h[l|0]=45}a=a+1|0;if((q|0)!=(a|0)){continue}break}}c=c+q|0}if(!o){if(j[b+24>>2]!=(c|0)){h[c|0]=32;c=c+1|0}c=Ae(c,s,t)+t|0}if(!r){if(j[b+24>>2]!=(c|0)){h[c|0]=32;c=c+1|0}c=Ae(c,n,f)+f|0}if(!v){if(j[b+24>>2]!=(c|0)){h[c|0]=32;c=c+1|0}c=Ae(c,g,d);if(d){a=0;while(1){g=a+c|0;if(k[g|0]==32){h[g|0]=45}a=a+1|0;if((d|0)!=(a|0)){continue}break}}c=c+d|0}a=0;h[c|0]=0;d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}_:{$:{f=j[b+280>>2];if((f|0)<1){break $}c=j[b+284>>2];while(1){aa:{d=a;g=we(j[c+p(a,12)>>2],22572);a=a+1|0;if((f|0)<=(a|0)){break aa}if(g){continue}}break}if(g){break $}a=c+p(d,12)|0;if(!k[a+4|0]){break $}y=b,z=dg(u,j[a+8>>2],e+4|0),j[y+20>>2]=z;if(!j[e+4>>2]){break _}break b}j[b+20>>2]=0}j[b+28>>2]=1;j[b+16>>2]=j[b+288>>2]+1;d=0;a=xe(u,16,0,1,0,e+4|0);j[b+32>>2]=a;if(j[e+4>>2]){break b}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;o=j[b+208>>2]+j[b+204>>2]|0;i[a>>1]=o;f=j[b+284>>2];c=a;ba:{ca:{l=j[b+280>>2];if((l|0)<1){break ca}while(1){da:{g=d;n=we(j[f+p(d,12)>>2],22584);d=d+1|0;if((l|0)<=(d|0)){break da}if(n){continue}}break}if(n){break ca}d=(j[(f+p(g,12)|0)+8>>2]+5|0)/10|0;break ba}d=(o<<16>>15)/3|0}i[c+2>>1]=d;d=0;ea:{if((l|0)>0){while(1){fa:{c=d;n=we(j[f+p(c,12)>>2],22598);d=c+1|0;if((l|0)<=(d|0)){break fa}if(n){continue}}break}d=0;g=0;if(!n){g=(p(j[(f+p(c,12)|0)+8>>2],460800)+36135|0)/72270|0;j[a+4>>2]=g}while(1){ga:{c=d;o=we(j[f+p(c,12)>>2],22609);d=c+1|0;if((l|0)<=(d|0)){break ga}if(o){continue}}break}d=0;n=0;if(!o){n=j[(f+p(c,12)|0)+8>>2]<<16>>10;j[a+12>>2]=n}while(1){ha:{c=d;r=we(j[f+p(c,12)>>2],22620);d=c+1|0;if((l|0)<=(d|0)){break ha}if(r){continue}}break}d=0;o=0;o=r?o:i[(f+p(c,12)|0)+8>>1];while(1){ia:{c=d;r=we(j[f+p(c,12)>>2],22633);d=c+1|0;if((l|0)<=(d|0)){break ia}if(r){continue}}break}d=0;d=r?d:j[(f+p(c,12)|0)+8>>2];if(!n){j[a+12>>2]=g;if(!(d&65535)){break ea}n=(p(d<<16>>16,g)|0)/72|0;j[a+12>>2]=n}if(!o){g=n;break ea}if(!(d&65535)){g=n;break ea}g=(p(n,o)|0)/(d<<16>>16)|0;break ea}g=0;j[a+12>>2]=0}j[a+8>>2]=g;ja:{ka:{if((l|0)<1){break ka}d=0;while(1){la:{a=d;c=we(j[f+p(a,12)>>2],22646);d=a+1|0;if((l|0)<=(d|0)){break la}if(c){continue}}break}if(c){break ka}c=f+p(a,12)|0;break ja}c=0}ma:{na:{if((l|0)<1){break na}d=0;while(1){oa:{a=d;g=we(j[f+p(a,12)>>2],22663);d=a+1|0;if((l|0)<=(d|0)){break oa}if(g){continue}}break}if(g){break na}d=f+p(a,12)|0;break ma}d=0}a=0;if(!c|(!d|!k[c+4|0])){break a}if(!k[d+4|0]){break a}y=b,z=dg(u,j[d+8>>2],e+4|0),j[y+176>>2]=z;if(j[e+4>>2]){break b}y=b,z=dg(u,j[c+8>>2],e+4|0),j[y+180>>2]=z;if(!j[e+4>>2]){break a}break b}j[e+4>>2]=q;break b}j[e+4>>2]=f;break b}j[e+4>>2]=d}a=3}oe=e+32|0;return a}function nM(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;n=j[a+4>>2];if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}r=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}o=k[n+31|0];q=j[(o<<2)+234976>>2];s=k[n+30|0];t=j[(s<<2)+234976>>2];u=k[n+29|0];w=j[(u<<2)+234976>>2];x=k[n+28|0];v=j[(x<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];m=k[n+32|0];while(1){b=j[c>>2];j[c>>2]=((p(r,k[w+((b&j[n+16>>2])>>>f|0)|0])>>>0)/255|0)+h>>>u<>2])>>>m|0)|0])>>>0)/255|0)+g>>>x<>2])>>>e|0)|0])>>>0)/255|0)+i>>>s<>2])>>>d|0)|0])>>>0)/255|0)+l>>>o<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){l=(m|0)!=0;o=a+(b<<2)|0;a=d-b|0;break d}a=a+(d<<2)|0;o=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}l=k[n+31|0];m=j[(l<<2)+234976>>2];q=k[n+30|0];r=j[(q<<2)+234976>>2];s=k[n+29|0];t=j[(s<<2)+234976>>2];u=k[n+28|0];w=j[(u<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];while(1){a=j[o>>2];x=k[t+((a&j[n+16>>2])>>>e|0)|0]+h|0;v=(x>>>0<255?x:255)>>>s<>2])>>>f|0)|0]+g|0;v=v|(x>>>0<255?x:255)>>>u<>2])>>>d|0)|0]+i|0;j[o>>2]=v|(x>>>0<255?x:255)>>>q<>2])>>>c|0)|0]>>>l<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){l=(m|0)!=0;o=a+(b<<2)|0;a=d-b|0;break e}a=a+(d<<2)|0;o=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}l=k[n+31|0];m=j[(l<<2)+234976>>2];q=k[n+30|0];r=j[(q<<2)+234976>>2];s=k[n+29|0];t=j[(s<<2)+234976>>2];u=k[n+28|0];w=j[(u<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];while(1){a=j[o>>2];j[o>>2]=(p(k[t+((a&j[n+16>>2])>>>e|0)|0],h)>>>0)/255>>>s<>2])>>>f|0)|0],g)>>>0)/255>>>u<>2])>>>d|0)|0],i)>>>0)/255>>>q<>2])>>>c|0)|0]>>>l<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;o=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;o=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2]=a;o=o+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}q=k[n+31|0];s=j[(q<<2)+234976>>2];t=k[n+30|0];u=j[(t<<2)+234976>>2];w=k[n+29|0];x=j[(w<<2)+234976>>2];v=k[n+28|0];y=j[(v<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];m=k[n+33|0];o=k[n+32|0];while(1){c=j[b>>2];j[b>>2]=((p(r,k[x+((c&j[n+16>>2])>>>m|0)|0])>>>0)/255|0)+h>>>w<>2])>>>o|0)|0])>>>0)/255|0)+g>>>v<>2])>>>e|0)|0])>>>0)/255|0)+i>>>t<>2])>>>d|0)|0])>>>0)/255|0)+l>>>q<>2]/k[n+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;o=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];l=k[n+32|0];while(1){a=j[o>>2];v=k[u+((a&j[n+16>>2])>>>e|0)|0]+h|0;y=(v>>>0<255?v:255)>>>t<>2])>>>l|0)|0]+g|0;y=y|(v>>>0<255?v:255)>>>w<>2])>>>d|0)|0]+i|0;j[o>>2]=y|(v>>>0<255?v:255)>>>r<>2])>>>c|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;o=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];l=k[n+32|0];while(1){a=j[o>>2];j[o>>2]=(p(k[u+((a&j[n+16>>2])>>>e|0)|0],h)>>>0)/255>>>t<>2])>>>l|0)|0],g)>>>0)/255>>>w<>2])>>>d|0)|0],i)>>>0)/255>>>r<>2])>>>c|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){o=(a+(p(b,c)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(b,e)<<2)|0)+(d<<2)|0;o=m?a:a+(b<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2]=a;o=b+o|0;c=c-1|0;if(c){continue}break}break a}w=b-d|0;o=w>>31;q=c-e|0;u=q>>31;if((o^o+w)==(u^q+u)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}o=k[n+31|0];q=j[(o<<2)+234976>>2];s=k[n+30|0];t=j[(s<<2)+234976>>2];u=k[n+29|0];w=j[(u<<2)+234976>>2];x=k[n+28|0];v=j[(x<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];m=k[n+32|0];y=c<<2;while(1){c=j[a>>2];j[a>>2]=((p(r,k[w+((c&j[n+16>>2])>>>f|0)|0])>>>0)/255|0)+h>>>u<>2])>>>m|0)|0])>>>0)/255|0)+g>>>x<>2])>>>e|0)|0])>>>0)/255|0)+i>>>s<>2])>>>d|0)|0])>>>0)/255|0)+l>>>o<>2]/k[n+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;o=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];l=k[n+32|0];c=c<<2;while(1){a=j[o>>2];v=k[u+((a&j[n+16>>2])>>>f|0)|0]+h|0;y=(v>>>0<255?v:255)>>>t<>2])>>>l|0)|0]+g|0;y=y|(v>>>0<255?v:255)>>>w<>2])>>>e|0)|0]+i|0;j[o>>2]=y|(v>>>0<255?v:255)>>>r<>2])>>>d|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;o=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];l=k[n+32|0];c=c<<2;while(1){a=j[o>>2];j[o>>2]=(p(k[u+((a&j[n+16>>2])>>>f|0)|0],h)>>>0)/255>>>t<>2])>>>l|0)|0],g)>>>0)/255>>>w<>2])>>>e|0)|0],i)>>>0)/255>>>r<>2])>>>d|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;o=m?a:a+(b<<2)|0}c=((m|0)!=0)+q|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2]=a;o=b+o|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:q=d-b|0;f=q>>31;s=e-c|0;o=s>>31;q=f^f+q;o=o^o+s;r:{if((q|0)>=(o|0)){u=o-q|0;s=o<<1;f=s-q|0;o=1;break r}u=q-o|0;t=1;s=q<<1;f=s-o|0;q=o;o=0}w=((m|0)!=0)+q|0;if(!w){break a}e=(c|0)>(e|0);x=e?0-t|0:t;d=(b|0)>(d|0);v=d?0-o|0:o;y=e?-1:1;C=d?-1:1;u=u<<1;z=k[n+31|0];D=j[(z<<2)+234976>>2];A=k[n+30|0];E=j[(A<<2)+234976>>2];B=k[n+29|0];F=j[(B<<2)+234976>>2];G=k[n+28|0];H=j[(G<<2)+234976>>2];e=k[n+35|0];m=k[n+34|0];o=k[n+33|0];q=k[n+32|0];J=j[a+20>>2];t=0;while(1){I=(p(j[a+16>>2],c)+J|0)+(b<<2)|0;d=j[I>>2];j[I>>2]=((p(r,k[F+((d&j[n+16>>2])>>>o|0)|0])>>>0)/255|0)+h>>>B<>2])>>>q|0)|0])>>>0)/255|0)+g>>>G<>2])>>>m|0)|0])>>>0)/255|0)+i>>>A<>2])>>>e|0)|0])>>>0)/255|0)+l>>>z<>31;q=e-c|0;l=q>>31;o=f^f+o;f=l^l+q;s:{if((o|0)>=(f|0)){s=f-o|0;t=f<<1;l=t-o|0;r=0;f=1;break s}s=o-f|0;r=1;t=o<<1;l=t-f|0;o=f;f=0}u=((m|0)!=0)+o|0;if(!u){break a}e=(c|0)>(e|0);w=e?0-r|0:r;d=(b|0)>(d|0);x=d?0-f|0:f;v=e?-1:1;y=d?-1:1;s=s<<1;C=k[n+31|0];z=j[(C<<2)+234976>>2];D=k[n+30|0];A=j[(D<<2)+234976>>2];E=k[n+29|0];B=j[(E<<2)+234976>>2];F=k[n+28|0];G=j[(F<<2)+234976>>2];e=k[n+35|0];f=k[n+34|0];m=k[n+33|0];o=k[n+32|0];H=j[a+20>>2];q=0;while(1){J=(H+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[J>>2];r=k[B+((d&j[n+16>>2])>>>m|0)|0]+h|0;I=(r>>>0<255?r:255)>>>E<>2])>>>o|0)|0]+g|0;I=I|(r>>>0<255?r:255)>>>F<>2])>>>f|0)|0]+i|0;j[J>>2]=I|(r>>>0<255?r:255)>>>D<>2])>>>e|0)|0]>>>C<>31;q=e-c|0;l=q>>31;o=f^f+o;f=l^l+q;t:{if((o|0)>=(f|0)){t=f-o|0;r=f<<1;l=r-o|0;f=1;break t}t=o-f|0;s=1;r=o<<1;l=r-f|0;o=f;f=0}u=((m|0)!=0)+o|0;if(!u){break a}e=(c|0)>(e|0);s=e?0-s|0:s;d=(b|0)>(d|0);w=d?0-f|0:f;x=e?-1:1;v=d?-1:1;t=t<<1;y=k[n+31|0];C=j[(y<<2)+234976>>2];z=k[n+30|0];D=j[(z<<2)+234976>>2];A=k[n+29|0];E=j[(A<<2)+234976>>2];B=k[n+28|0];F=j[(B<<2)+234976>>2];e=k[n+35|0];f=k[n+34|0];m=k[n+33|0];o=k[n+32|0];G=j[a+20>>2];q=0;while(1){H=(G+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[H>>2];j[H>>2]=(p(k[E+((d&j[n+16>>2])>>>m|0)|0],h)>>>0)/255>>>A<>2])>>>o|0)|0],g)>>>0)/255>>>B<>2])>>>f|0)|0],i)>>>0)/255>>>z<>2])>>>e|0)|0]>>>y<>31;r=e-c|0;o=r>>31;q=f^f+q;r=o^o+r;u:{if((q|0)>=(r|0)){t=r-q|0;f=r<<1;o=f-q|0;r=1;break u}t=q-r|0;s=1;f=q<<1;o=f-r|0;q=r;r=0}m=((m|0)!=0)+q|0;if(!m){break a}e=(c|0)>(e|0);q=e?0-s|0:s;d=(b|0)>(d|0);r=d?0-r|0:r;e=e?-1:1;s=d?-1:1;t=t<<1;g=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2];h=0;while(1){j[(i+p(j[a+16>>2],c)|0)+(b<<2)>>2]=g;d=(o|0)<0;o=(d?f:t)+o|0;b=(d?r:s)+b|0;c=(d?q:e)+c|0;h=h+1|0;if((m|0)!=(h|0)){continue}break}}}function uH(a,b,c,d,e,f,g,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;n=oe-96|0;oe=n;a:{b:{if((c|0)==(f|0)){if((d|0)==(g|0)){break a}c:{d:{if((c|0)<=1431918168){e:{switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;case 0:case 11:break d;default:break e}}if((c|0)==825382478){break d}if((c|0)!=844715353){break c}break b}if((c|0)==1431918169|(c|0)==1498831189){break b}if((c|0)!=1448433993){break c}}if(b){o=b;while(1){Ge(g,d,a);g=g+m|0;d=d+e|0;o=o-1|0;if(o){continue}break}}f:{g:{switch(c-842094158|0){default:if((c|0)==825382478){break f}if((c|0)!=1448433993){break a}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break a;case 0:break f;case 11:break g}}if(b+2>>>0<3){break a}c=(m+1|0)/2|0;e=(e+1|0)/2|0;a=(a+1|0)/2|0;o=(b+1|0)/2<<1;while(1){Ge(g,d,a);g=c+g|0;d=d+e|0;o=o-1|0;if(o){continue}break}break a}if(b+2>>>0<3){break a}c=(m+1|0)/2<<1;e=(e+1|0)/2<<1;a=(a+1|0)/2<<1;o=(b+1|0)/2|0;while(1){Ge(g,d,a);g=c+g|0;d=d+e|0;o=o-1|0;if(o){continue}break}break a}D=n,E=Ug(c),j[D>>2]=E;t=ve(152357,n);break a}h:{i:{j:{k:{l:{m:{n:{if((c|0)<=1431918168){o:{switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 0:case 11:break n;default:break o}}if((c|0)==825382478){break n}if((c|0)==844715353){break m}break i}if((c|0)==1431918169|(c|0)==1498831189){break m}if((c|0)!=1448433993){break i}}p:{q:{r:{switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break p;case 0:case 11:break q;default:break r}}if((f|0)==1448433993){break q}if((f|0)!=825382478){break p}}if(!(!b|(d|0)==(g|0))){o=g;q=d;r=b;while(1){Ge(o,q,a);o=m+o|0;q=e+q|0;r=r-1|0;if(r){continue}break}}s:{t:{u:{v:{w:{x:{y:{switch(c-842094158|0){default:if((c|0)==825382478){break u}if((c|0)!=1448433993){break s}switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break s;case 0:break w;case 11:break x;default:break t};case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break s;case 0:break v;case 11:break y}}if((f|0)!=825382478){if((f|0)!=842094158){if((f|0)!=1448433993){break s}t=Hq(a,b,d,e,g,m);break a}t=Wj(a,b,d,e,g,m,1);break a}t=Wj(a,b,d,e,g,m,0);break a}t=Hq(a,b,d,e,g,m);break a}t=Wj(a,b,d,e,g,m,0);break a}if((f|0)!=825382478){if((f|0)!=1448433993){if((f|0)!=842094169){break s}t=Vj(a,b,d,e,g,m,1);break a}t=Vj(a,b,d,e,g,m,0);break a}if(b+2>>>0<3){break a}c=(e+1|0)/2|0;d=p(b,e)+d|0;g=p(b,m)+g|0;e=(b+1|0)/2|0;b=a+2>>>0<3;a=(a+1|0)/2|0;f=(((m+1|0)/2|0)-a&2147483647)<<1;c=(c-a&2147483647)<<1;while(1){e=e-1|0;o=a;if(!b){while(1){m=l[d>>1];i[g>>1]=(m<<24|m<<8&16711680)>>>16;g=g+2|0;d=d+2|0;o=o-1|0;if(o){continue}break}}g=f+g|0;d=c+d|0;if(e){continue}break}break a}z:{switch(f-842094158|0){case 11:t=Vj(a,b,d,e,g,m,0);break a;default:if((f|0)!=1448433993){break s}t=Vj(a,b,d,e,g,m,1);break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break s;case 0:break z}}if(b+2>>>0<3){break a}c=(e+1|0)/2|0;d=p(b,e)+d|0;g=p(b,m)+g|0;e=(b+1|0)/2|0;b=a+2>>>0<3;a=(a+1|0)/2|0;f=(((m+1|0)/2|0)-a&2147483647)<<1;c=(c-a&2147483647)<<1;while(1){e=e-1|0;o=a;if(!b){while(1){m=l[d>>1];i[g>>1]=(m<<24|m<<8&16711680)>>>16;g=g+2|0;d=d+2|0;o=o-1|0;if(o){continue}break}}g=f+g|0;d=c+d|0;if(e){continue}break}break a}if((f|0)==825382478){break h}}a=Ug(c);D=n,E=Ug(f),j[D+52>>2]=E;j[n+48>>2]=a;t=ve(152419,n+48|0);break a}if((c|0)<=844715352){switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 0:case 11:break k;default:break l}}if((c|0)==844715353){break m}if((c|0)==1448433993){break k}if((c|0)!=1431918169){break i}}if(!((f|0)!=1431918169?!((f|0)==844715353|(f|0)==1498831189):0)){A:{B:{if((c|0)!=1498831189){if((c|0)==1431918169){break B}if((c|0)!=844715353){break A}if((f|0)!=1431918169){if((f|0)!=1498831189){break A}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d+1|0];q=k[d|0];r=k[d+3|0];h[g+3|0]=k[d+2|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d|0];q=k[d+3|0];r=k[d+2|0];h[g+3|0]=k[d+1|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if((f|0)!=1431918169){if((f|0)!=844715353){break A}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d+1|0];q=k[d|0];r=k[d+3|0];h[g+3|0]=k[d+2|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;f=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!f){while(1){q=k[d+3|0];a=k[d+1|0]|k[d+2|0]<<8;h[g+3|0]=k[d|0];h[g|0]=a;h[g+1|0]=a>>>8;h[g+2|0]=q;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if((f|0)!=1498831189){if((f|0)!=844715353){break A}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d|0];q=k[d+3|0];r=k[d+2|0];h[g+3|0]=k[d+1|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d+3|0];q=k[d|0];r=k[d+1|0];h[g+3|0]=k[d+2|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}a=Ug(c);D=n,E=Ug(f),j[D+36>>2]=E;j[n+32>>2]=a;t=ve(152498,n+32|0);break a}if((c|0)<=1448433992){if((c|0)==844715353|(c|0)==1431918169){break j}break i}if((c|0)==1498831189){break j}if((c|0)!=1448433993){break i}break k}if((c|0)!=825382478){break i}}if(!((f|0)!=1431918169?!((f|0)==844715353|(f|0)==1498831189):0)){if((d|0)==(g|0)){t=ve(152573,0);break a}t=-1;if((wi(b,c,d,e,n+92|0,n+88|0,n+84|0,n+80|0,n+76|0)|0)<0){break a}e=j[n+80>>2];d=j[n+92>>2];C:{if(!((c|0)!=825382478?(c|0)!=842094158:0)){u=j[n+76>>2]+((a+1|0)/-2<<1)|0;r=2;break C}u=j[n+76>>2]+((a+1|0)/-2|0)|0;r=1}if((wi(b,f,g,m,n+72|0,n+68|0,n- -64|0,n+60|0,n+56|0)|0)<0){break a}v=b-1|0;c=(a+1|0)/-2|0;if((b|0)>=2){A=e-a|0;g=d+e|0;e=j[n+60>>2];t=e+(c<<2)|0;w=a&-2;x=a-1|0;c=j[n+72>>2];o=e+c|0;f=j[n+68>>2];e=j[n+56>>2];q=f+e|0;s=j[n+64>>2];e=e+s|0;C=(a|0)<2;while(1){m=0;if(C){c=0}else{while(1){j[n+92>>2]=d+1;h[c|0]=k[d|0];j[n+92>>2]=d+2;c=j[n+72>>2];j[n+72>>2]=c+2;h[c+2|0]=k[d+1|0];j[n+72>>2]=j[n+72>>2]+2;h[j[n+68>>2]]=k[j[n+88>>2]];h[j[n+64>>2]]=k[j[n+84>>2]];h[o|0]=k[g|0];h[o+2|0]=k[g+1|0];h[q|0]=k[j[n+88>>2]];h[e|0]=k[j[n+84>>2]];j[n+88>>2]=r+j[n+88>>2];j[n+84>>2]=r+j[n+84>>2];f=j[n+68>>2]+4|0;j[n+68>>2]=f;s=j[n+64>>2]+4|0;j[n+64>>2]=s;e=e+4|0;q=q+4|0;o=o+4|0;g=g+2|0;m=m+2|0;if((m|0)<(x|0)){c=j[n+72>>2];d=j[n+92>>2];continue}break}c=w}D:{if((c|0)!=(x|0)){m=j[n+88>>2];c=j[n+84>>2];break D}c=j[n+92>>2];h[j[n+72>>2]]=k[c|0];j[n+92>>2]=c+1;d=j[n+72>>2];j[n+72>>2]=d+2;h[d+2|0]=k[c|0];j[n+72>>2]=j[n+72>>2]+2;h[f|0]=k[j[n+88>>2]];h[j[n+64>>2]]=k[j[n+84>>2]];h[o|0]=k[g|0];h[o+2|0]=k[g|0];h[q|0]=k[j[n+88>>2]];h[e|0]=k[j[n+84>>2]];e=e+4|0;q=q+4|0;o=o+4|0;g=g+1|0;s=j[n+64>>2]+4|0;f=j[n+68>>2]+4|0;m=r+j[n+88>>2]|0;c=r+j[n+84>>2]|0}j[n+88>>2]=m+u;j[n+84>>2]=c+u;B=A+j[n+80>>2]|0;d=B+j[n+92>>2]|0;j[n+92>>2]=d;y=t+j[n+60>>2]|0;c=y+j[n+72>>2]|0;j[n+72>>2]=c;m=t+j[n+56>>2]|0;f=m+f|0;j[n+68>>2]=f;s=m+s|0;j[n+64>>2]=s;e=e+m|0;q=m+q|0;o=o+y|0;g=g+B|0;z=z+2|0;if((v|0)>(z|0)){continue}break}o=b&-2}t=0;if((o|0)!=(v|0)){break a}b=a-1|0;if((a|0)<2){a=0}else{m=0;g=j[n+64>>2];o=j[n+84>>2];q=j[n+68>>2];e=j[n+88>>2];while(1){h[j[n+72>>2]]=k[d|0];c=j[n+72>>2];j[n+72>>2]=c+2;h[c+2|0]=k[d+1|0];j[n+72>>2]=j[n+72>>2]+2;h[q|0]=k[e|0];h[g|0]=k[o|0];g=g+4|0;q=q+4|0;o=o+r|0;e=e+r|0;d=d+2|0;m=m+2|0;if((b|0)>(m|0)){continue}break}j[n+88>>2]=e;j[n+92>>2]=d;j[n+68>>2]=q;j[n+84>>2]=o;j[n+64>>2]=g;a=a&-2}if((a|0)!=(b|0)){break a}h[j[n+72>>2]]=k[d|0];j[n+92>>2]=d+1;a=j[n+72>>2];j[n+72>>2]=a+2;h[a+2|0]=k[d|0];j[n+72>>2]=j[n+72>>2]+2;a=j[n+68>>2];b=j[n+88>>2];h[a|0]=k[b|0];c=j[n+64>>2];d=j[n+84>>2];h[c|0]=k[d|0];j[n+84>>2]=d+r;j[n+88>>2]=b+r;j[n+68>>2]=a+4;j[n+64>>2]=c+4;break a}if((c|0)==1431918169){break j}if((c|0)!=844715353){break i}}E:{F:{switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 0:case 11:break E;default:break F}}if((f|0)==1448433993){break E}if((f|0)!=825382478){break i}}if((d|0)==(g|0)){t=ve(152573,0);break a}t=-1;if((wi(b,c,d,e,n+92|0,n+88|0,n+84|0,n+80|0,n+76|0)|0)<0){break a}r=j[n+80>>2];w=j[n+92>>2];c=j[n+88>>2];s=j[n+84>>2];d=j[n+76>>2];if((wi(b,f,g,m,n+72|0,n+68|0,n- -64|0,n+60|0,n+56|0)|0)<0){break a}g=(a+1|0)/2|0;G:{if(!((f|0)!=825382478?(f|0)!=842094158:0)){u=j[n+56>>2]-(g<<1)|0;f=2;break G}u=j[n+56>>2]-g|0;f=1}o=j[n+72>>2];v=b-1|0;t=0;if((b|0)<2){b=0}else{q=d+s|0;e=c+d|0;d=r+w|0;x=r-(g<<2)|0;g=j[n+60>>2];C=g-a|0;g=g+o|0;w=a&-2;A=a-1|0;B=(a|0)<2;while(1){r=0;if(B){m=0}else{while(1){h[o|0]=k[j[n+92>>2]];c=j[n+92>>2];j[n+92>>2]=c+2;c=k[c+2|0];j[n+72>>2]=o+2;h[o+1|0]=c;j[n+92>>2]=j[n+92>>2]+2;h[g|0]=k[d|0];h[g+1|0]=k[d+2|0];m=j[n+68>>2];c=j[n+88>>2];h[m|0]=k[e|0]+k[c|0]>>>1;o=j[n+64>>2];s=j[n+84>>2];h[o|0]=k[q|0]+k[s|0]>>>1;s=s+4|0;j[n+84>>2]=s;c=c+4|0;j[n+88>>2]=c;j[n+68>>2]=f+m;j[n+64>>2]=f+o;q=q+4|0;e=e+4|0;d=d+4|0;g=g+2|0;r=r+2|0;if((r|0)<(A|0)){o=j[n+72>>2];continue}break}m=w}H:{if((m|0)!=(A|0)){r=j[n+68>>2];m=j[n+64>>2];break H}c=j[n+72>>2];h[c|0]=k[j[n+92>>2]];m=j[n+92>>2];j[n+92>>2]=m+2;m=k[m+2|0];j[n+72>>2]=c+1;h[c|0]=m;j[n+92>>2]=j[n+92>>2]+2;h[g|0]=k[d|0];h[g|0]=k[d+2|0];c=j[n+68>>2];m=j[n+88>>2];h[c|0]=k[e|0]+k[m|0]>>>1;o=j[n+64>>2];s=j[n+84>>2];h[o|0]=k[q|0]+k[s|0]>>>1;q=q+4|0;e=e+4|0;d=d+4|0;g=g+1|0;r=c+f|0;c=m+4|0;s=s+4|0;m=f+o|0}j[n+68>>2]=r+u;j[n+64>>2]=m+u;r=x+j[n+80>>2]|0;j[n+92>>2]=r+j[n+92>>2];m=x+j[n+76>>2]|0;c=m+c|0;j[n+88>>2]=c;s=m+s|0;j[n+84>>2]=s;y=C+j[n+60>>2]|0;o=y+j[n+72>>2]|0;j[n+72>>2]=o;g=g+y|0;q=m+q|0;e=e+m|0;d=d+r|0;z=z+2|0;if((v|0)>(z|0)){continue}break}b=b&-2}if((b|0)!=(v|0)){break a}b=a-1|0;if((a|0)<2){a=0}else{q=0;d=j[n+64>>2];g=j[n+68>>2];while(1){h[o|0]=k[j[n+92>>2]];e=j[n+92>>2];j[n+92>>2]=e+2;h[o+1|0]=k[e+2|0];j[n+92>>2]=j[n+92>>2]+2;h[g|0]=k[c|0];h[d|0]=k[s|0];d=d+f|0;g=f+g|0;s=s+4|0;c=c+4|0;o=o+2|0;q=q+2|0;if((b|0)>(q|0)){continue}break}j[n+88>>2]=c;j[n+72>>2]=o;j[n+68>>2]=g;j[n+84>>2]=s;j[n+64>>2]=d;a=a&-2}if((a|0)!=(b|0)){break a}h[o|0]=k[j[n+92>>2]];h[j[n+68>>2]]=k[j[n+88>>2]];h[j[n+64>>2]]=k[j[n+84>>2]];break a}a=Ug(c);D=n,E=Ug(f),j[D+20>>2]=E;j[n+16>>2]=a;t=ve(151957,n+16|0);break a}t=Wj(a,b,d,e,g,m,1);break a}if(!b){break a}a=(a+1|0)/2<<2;while(1){Ge(g,d,a);g=g+m|0;d=d+e|0;b=b-1|0;if(b){continue}break}}oe=n+96|0;return t}function DK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;a:{o=k[a+63|0];if(!o){break a}x=j[a+28>>2];if(!x){break a}y=j[a+36>>2];z=j[a+16>>2];c=j[a+24>>2];A=c&3;B=(c+3|0)/4|0;n=j[a>>2];g=j[a+20>>2];d=j[a+40>>2];u=k[d+9|0];w=u-1|0;b=j[a+44>>2];v=k[b+9|0];t=v-1|0;while(1){a=B;b:{c:{switch(A-1|0){default:m=3;break b;case 0:m=2;break b;case 1:m=1;break b;case 2:break c}}m=0}while(1){d:{e:{switch(m|0){case 0:m=0;e=0;f=0;c=0;f:{g:{h:{switch(w|0){case 0:c=k[n|0];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break g;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break g;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break g;case 3:break h;default:break f}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;i:{j:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break i;case 3:break j;default:break i}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;k:{l:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break k;case 3:break l;default:break k}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break n;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break n;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break n;case 3:break o;default:break m}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;p:{q:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break p;case 3:break q;default:break p}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;r:{s:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break r;case 3:break s;default:break r}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break u;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break u;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break u;case 3:break v;default:break t}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;w:{x:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break w;case 3:break x;default:break w}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;y:{z:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break y;case 3:break z;default:break y}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break B;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break B;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break B;case 3:break C;default:break A}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;D:{E:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break D;case 3:break E;default:break D}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;F:{G:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break F;case 3:break G;default:break F}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>0<=244){g=j[67128];f=a>>>0<11?16:a+11&-8;a=f>>>3|0;b=g>>>a|0;if(b&3){c=a+((b^-1)&1)|0;f=c<<3;b=j[f+268560>>2];a=b+8|0;d=j[b+8>>2];f=f+268552|0;m:{if((d|0)==(f|0)){q=268512,r=lP(-2,c)&g,j[q>>2]=r;break m}j[d+12>>2]=f;j[f+8>>2]=d}c=c<<3;j[b+4>>2]=c|3;b=b+c|0;j[b+4>>2]=j[b+4>>2]|1;break a}i=j[67130];if(i>>>0>=f>>>0){break l}if(b){c=2<>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;c=(c|b)+(a>>>b|0)|0;d=c<<3;b=j[d+268560>>2];a=j[b+8>>2];d=d+268552|0;n:{if((a|0)==(d|0)){g=lP(-2,c)&g;j[67128]=g;break n}j[a+12>>2]=d;j[d+8>>2]=a}a=b+8|0;j[b+4>>2]=f|3;e=b+f|0;c=c<<3;f=c-f|0;j[e+4>>2]=f|1;j[b+c>>2]=f;if(i){c=i>>>3|0;b=(c<<3)+268552|0;d=j[67133];c=1<>2]}j[b+8>>2]=d;j[c+12>>2]=d;j[d+12>>2]=b;j[d+8>>2]=c}j[67133]=e;j[67130]=f;break a}n=j[67129];if(!n){break l}a=(n&0-n)-1|0;b=a>>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;b=j[((c|b)+(a>>>b|0)<<2)+268816>>2];e=(j[b+4>>2]&-8)-f|0;c=b;while(1){p:{a=j[c+16>>2];if(!a){a=j[c+20>>2];if(!a){break p}}d=(j[a+4>>2]&-8)-f|0;c=d>>>0>>0;e=c?d:e;b=c?a:b;c=a;continue}break}o=b+f|0;if(o>>>0<=b>>>0){break k}l=j[b+24>>2];d=j[b+12>>2];if((d|0)!=(b|0)){a=j[b+8>>2];j[a+12>>2]=d;j[d+8>>2]=a;break b}c=b+20|0;a=j[c>>2];if(!a){a=j[b+16>>2];if(!a){break j}c=b+16|0}while(1){h=c;d=a;c=a+20|0;a=j[c>>2];if(a){continue}c=d+16|0;a=j[d+16>>2];if(a){continue}break}j[h>>2]=0;break b}f=-1;if(a>>>0>4294967231){break l}a=a+11|0;f=a&-8;i=j[67129];if(!i){break l}h=31;e=0-f|0;if(f>>>0<=16777215){b=a>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;g=c<>>16&2;a=(g<>>15|0)-(c|(a|b))|0;h=(a<<1|f>>>a+21&1)+28|0}c=j[(h<<2)+268816>>2];q:{r:{s:{if(!c){a=0;break s}a=0;b=f<<((h|0)==31?0:25-(h>>>1|0)|0);while(1){t:{g=(j[c+4>>2]&-8)-f|0;if(g>>>0>=e>>>0){break t}d=c;e=g;if(e){break t}e=0;a=c;break r}g=j[c+20>>2];c=j[((b>>>29&4)+c|0)+16>>2];a=g?(g|0)==(c|0)?a:g:a;b=b<<1;if(c){continue}break}}if(!(a|d)){a=2<>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;a=j[((c|b)+(a>>>b|0)<<2)+268816>>2]}if(!a){break q}}while(1){c=(j[a+4>>2]&-8)-f|0;b=c>>>0>>0;e=b?c:e;d=b?a:d;b=j[a+16>>2];if(b){a=b}else{a=j[a+20>>2]}if(a){continue}break}}if(!d|j[67130]-f>>>0<=e>>>0){break l}h=d+f|0;if(h>>>0<=d>>>0){break k}l=j[d+24>>2];b=j[d+12>>2];if((d|0)!=(b|0)){a=j[d+8>>2];j[a+12>>2]=b;j[b+8>>2]=a;break c}c=d+20|0;a=j[c>>2];if(!a){a=j[d+16>>2];if(!a){break i}c=d+16|0}while(1){g=c;b=a;c=a+20|0;a=j[c>>2];if(a){continue}c=b+16|0;a=j[b+16>>2];if(a){continue}break}j[g>>2]=0;break c}b=j[67130];if(b>>>0>=f>>>0){a=j[67133];c=b-f|0;u:{if(c>>>0>=16){j[67130]=c;d=a+f|0;j[67133]=d;j[d+4>>2]=c|1;j[a+b>>2]=c;j[a+4>>2]=f|3;break u}j[67133]=0;j[67130]=0;j[a+4>>2]=b|3;b=a+b|0;j[b+4>>2]=j[b+4>>2]|1}a=a+8|0;break a}d=j[67131];if(d>>>0>f>>>0){b=d-f|0;j[67131]=b;a=j[67134];c=a+f|0;j[67134]=c;j[c+4>>2]=b|1;j[a+4>>2]=f|3;a=a+8|0;break a}a=0;e=f+47|0;c=e;if(j[67246]){b=j[67248]}else{j[67249]=-1;j[67250]=-1;j[67247]=4096;j[67248]=4096;j[67246]=p+12&-16^1431655768;j[67251]=0;j[67239]=0;b=4096}g=c+b|0;h=0-b|0;c=g&h;if(c>>>0<=f>>>0){break a}i=j[67238];if(i){l=j[67236];b=l+c|0;if(b>>>0<=l>>>0|b>>>0>i>>>0){break a}}if(k[268956]&4){break f}v:{w:{b=j[67134];if(b){a=268960;while(1){i=j[a>>2];if(b>>>0>2]>>>0?i>>>0<=b>>>0:0){break w}a=j[a+8>>2];if(a){continue}break}}b=Jh(0);if((b|0)==-1){break g}g=c;a=j[67247];d=a-1|0;if(d&b){g=(c-b|0)+(b+d&0-a)|0}if(g>>>0>2147483646|f>>>0>=g>>>0){break g}d=j[67238];if(d){h=j[67236];a=h+g|0;if(a>>>0<=h>>>0|a>>>0>d>>>0){break g}}a=Jh(g);if((b|0)!=(a|0)){break v}break e}g=h&g-d;if(g>>>0>2147483646){break g}b=Jh(g);if((b|0)==(j[a>>2]+j[a+4>>2]|0)){break h}a=b}if(!((a|0)==-1|f+48>>>0<=g>>>0)){b=j[67248];b=b+(e-g|0)&0-b;if(b>>>0>2147483646){b=a;break e}if((Jh(b)|0)!=-1){g=b+g|0;b=a;break e}Jh(0-g|0);break g}b=a;if((a|0)!=-1){break e}break g}z()}d=0;break b}b=0;break c}if((b|0)!=-1){break e}}j[67239]=j[67239]|4}if(c>>>0>2147483646){break d}b=Jh(c);a=Jh(0);if(b>>>0>=a>>>0|(b|0)==-1|(a|0)==-1){break d}g=a-b|0;if(g>>>0<=f+40>>>0){break d}}a=j[67236]+g|0;j[67236]=a;if(a>>>0>m[67237]){j[67237]=a}x:{y:{z:{e=j[67134];if(e){a=268960;while(1){c=j[a>>2];d=j[a+4>>2];if((c+d|0)==(b|0)){break z}a=j[a+8>>2];if(a){continue}break}break y}a=j[67132];if(!(a>>>0<=b>>>0?a:0)){j[67132]=b}a=0;j[67241]=g;j[67240]=b;j[67136]=-1;j[67137]=j[67246];j[67243]=0;while(1){c=a<<3;d=c+268552|0;j[c+268560>>2]=d;j[c+268564>>2]=d;a=a+1|0;if((a|0)!=32){continue}break}a=g-40|0;c=b+8&7?-8-b&7:0;d=a-c|0;j[67131]=d;c=b+c|0;j[67134]=c;j[c+4>>2]=d|1;j[(a+b|0)+4>>2]=40;j[67135]=j[67250];break x}if(k[a+12|0]&8|b>>>0<=e>>>0|c>>>0>e>>>0){break y}j[a+4>>2]=d+g;a=e+8&7?-8-e&7:0;b=a+e|0;j[67134]=b;c=j[67131]+g|0;a=c-a|0;j[67131]=a;j[b+4>>2]=a|1;j[(c+e|0)+4>>2]=40;j[67135]=j[67250];break x}d=j[67132];if(d>>>0>b>>>0){j[67132]=b;d=0}c=b+g|0;a=268960;A:{B:{C:{D:{E:{F:{while(1){if((c|0)!=j[a>>2]){a=j[a+8>>2];if(a){continue}break F}break}if(!(k[a+12|0]&8)){break E}}a=268960;while(1){c=j[a>>2];if(c>>>0<=e>>>0){d=c+j[a+4>>2]|0;if(d>>>0>e>>>0){break D}}a=j[a+8>>2];continue}}j[a>>2]=b;j[a+4>>2]=j[a+4>>2]+g;l=(b+8&7?-8-b&7:0)+b|0;j[l+4>>2]=f|3;b=c+(c+8&7?-8-c&7:0)|0;a=(b-l|0)-f|0;h=f+l|0;if((b|0)==(e|0)){j[67134]=h;a=j[67131]+a|0;j[67131]=a;j[h+4>>2]=a|1;break B}if(j[67133]==(b|0)){j[67133]=h;a=j[67130]+a|0;j[67130]=a;j[h+4>>2]=a|1;j[a+h>>2]=a;break B}c=j[b+4>>2];if((c&3)==1){n=c&-8;G:{if(c>>>0<=255){f=c>>>3|0;c=j[b+8>>2];d=j[b+12>>2];if((d|0)==(c|0)){q=268512,r=j[67128]&lP(-2,f),j[q>>2]=r;break G}j[c+12>>2]=d;j[d+8>>2]=c;break G}i=j[b+24>>2];g=j[b+12>>2];H:{if((g|0)!=(b|0)){c=j[b+8>>2];j[c+12>>2]=g;j[g+8>>2]=c;break H}I:{e=b+20|0;f=j[e>>2];if(f){break I}e=b+16|0;f=j[e>>2];if(f){break I}g=0;break H}while(1){c=e;g=f;e=f+20|0;f=j[e>>2];if(f){continue}e=g+16|0;f=j[g+16>>2];if(f){continue}break}j[c>>2]=0}if(!i){break G}c=j[b+28>>2];d=(c<<2)+268816|0;J:{if(j[d>>2]==(b|0)){j[d>>2]=g;if(g){break J}q=268516,r=j[67129]&lP(-2,c),j[q>>2]=r;break G}j[i+(j[i+16>>2]==(b|0)?16:20)>>2]=g;if(!g){break G}}j[g+24>>2]=i;c=j[b+16>>2];if(c){j[g+16>>2]=c;j[c+24>>2]=g}c=j[b+20>>2];if(!c){break G}j[g+20>>2]=c;j[c+24>>2]=g}b=b+n|0;a=a+n|0}j[b+4>>2]=j[b+4>>2]&-2;j[h+4>>2]=a|1;j[a+h>>2]=a;if(a>>>0<=255){b=a>>>3|0;a=(b<<3)+268552|0;c=j[67128];b=1<>2]}j[a+8>>2]=h;j[b+12>>2]=h;j[h+12>>2]=a;j[h+8>>2]=b;break B}e=31;if(a>>>0<=16777215){c=a>>>8|0;b=c+1048320>>>16&8;d=c<>>16&4;f=d<>>16&2;b=(f<>>15|0)-(d|(b|c))|0;e=(b<<1|a>>>b+21&1)+28|0}j[h+28>>2]=e;j[h+16>>2]=0;j[h+20>>2]=0;b=(e<<2)+268816|0;c=j[67129];d=1<>2]=h;j[h+24>>2]=b;break L}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=j[b>>2];while(1){c=b;if((j[b+4>>2]&-8)==(a|0)){break C}b=e>>>29|0;e=e<<1;d=c+(b&4)|0;b=j[d+16>>2];if(b){continue}break}j[d+16>>2]=h;j[h+24>>2]=c}j[h+12>>2]=h;j[h+8>>2]=h;break B}a=g-40|0;c=b+8&7?-8-b&7:0;h=a-c|0;j[67131]=h;c=b+c|0;j[67134]=c;j[c+4>>2]=h|1;j[(a+b|0)+4>>2]=40;j[67135]=j[67250];a=(d+(d-39&7?39-d&7:0)|0)-47|0;c=a>>>0>>0?e:a;j[c+4>>2]=27;a=j[67243];j[c+16>>2]=j[67242];j[c+20>>2]=a;a=j[67241];j[c+8>>2]=j[67240];j[c+12>>2]=a;j[67242]=c+8;j[67241]=g;j[67240]=b;j[67243]=0;a=c+24|0;while(1){j[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((c|0)==(e|0)){break x}j[c+4>>2]=j[c+4>>2]&-2;d=c-e|0;j[e+4>>2]=d|1;j[c>>2]=d;if(d>>>0<=255){b=d>>>3|0;a=(b<<3)+268552|0;c=j[67128];b=1<>2]}j[a+8>>2]=e;j[b+12>>2]=e;j[e+12>>2]=a;j[e+8>>2]=b;break x}a=31;j[e+16>>2]=0;j[e+20>>2]=0;if(d>>>0<=16777215){b=d>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;g=c<>>16&2;a=(g<>>15|0)-(c|(a|b))|0;a=(a<<1|d>>>a+21&1)+28|0}j[e+28>>2]=a;b=(a<<2)+268816|0;c=j[67129];g=1<>2]=e;j[e+24>>2]=b;break N}a=d<<((a|0)==31?0:25-(a>>>1|0)|0);b=j[b>>2];while(1){c=b;if((d|0)==(j[b+4>>2]&-8)){break A}b=a>>>29|0;a=a<<1;g=c+(b&4)|0;b=j[g+16>>2];if(b){continue}break}j[g+16>>2]=e;j[e+24>>2]=c}j[e+12>>2]=e;j[e+8>>2]=e;break x}a=j[c+8>>2];j[a+12>>2]=h;j[c+8>>2]=h;j[h+24>>2]=0;j[h+12>>2]=c;j[h+8>>2]=a}a=l+8|0;break a}a=j[c+8>>2];j[a+12>>2]=e;j[c+8>>2]=e;j[e+24>>2]=0;j[e+12>>2]=c;j[e+8>>2]=a}a=j[67131];if(a>>>0<=f>>>0){break d}b=a-f|0;j[67131]=b;a=j[67134];c=a+f|0;j[67134]=c;j[c+4>>2]=b|1;j[a+4>>2]=f|3;a=a+8|0;break a}j[67100]=48;a=0;break a}O:{if(!l){break O}a=j[d+28>>2];c=(a<<2)+268816|0;P:{if(j[c>>2]==(d|0)){j[c>>2]=b;if(b){break P}i=lP(-2,a)&i;j[67129]=i;break O}j[l+(j[l+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break O}}j[b+24>>2]=l;a=j[d+16>>2];if(a){j[b+16>>2]=a;j[a+24>>2]=b}a=j[d+20>>2];if(!a){break O}j[b+20>>2]=a;j[a+24>>2]=b}Q:{if(e>>>0<=15){a=e+f|0;j[d+4>>2]=a|3;a=a+d|0;j[a+4>>2]=j[a+4>>2]|1;break Q}j[d+4>>2]=f|3;j[h+4>>2]=e|1;j[e+h>>2]=e;if(e>>>0<=255){b=e>>>3|0;a=(b<<3)+268552|0;c=j[67128];b=1<>2]}j[a+8>>2]=h;j[b+12>>2]=h;j[h+12>>2]=a;j[h+8>>2]=b;break Q}a=31;if(e>>>0<=16777215){b=e>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;f=c<>>16&2;a=(f<>>15|0)-(c|(a|b))|0;a=(a<<1|e>>>a+21&1)+28|0}j[h+28>>2]=a;j[h+16>>2]=0;j[h+20>>2]=0;b=(a<<2)+268816|0;S:{c=1<>2]=h;break T}a=e<<((a|0)==31?0:25-(a>>>1|0)|0);f=j[b>>2];while(1){b=f;if((j[b+4>>2]&-8)==(e|0)){break S}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;f=j[c+16>>2];if(f){continue}break}j[c+16>>2]=h}j[h+24>>2]=b;j[h+12>>2]=h;j[h+8>>2]=h;break Q}a=j[b+8>>2];j[a+12>>2]=h;j[b+8>>2]=h;j[h+24>>2]=0;j[h+12>>2]=b;j[h+8>>2]=a}a=d+8|0;break a}U:{if(!l){break U}a=j[b+28>>2];c=(a<<2)+268816|0;V:{if(j[c>>2]==(b|0)){j[c>>2]=d;if(d){break V}q=268516,r=lP(-2,a)&n,j[q>>2]=r;break U}j[l+(j[l+16>>2]==(b|0)?16:20)>>2]=d;if(!d){break U}}j[d+24>>2]=l;a=j[b+16>>2];if(a){j[d+16>>2]=a;j[a+24>>2]=d}a=j[b+20>>2];if(!a){break U}j[d+20>>2]=a;j[a+24>>2]=d}W:{if(e>>>0<=15){a=e+f|0;j[b+4>>2]=a|3;a=a+b|0;j[a+4>>2]=j[a+4>>2]|1;break W}j[b+4>>2]=f|3;j[o+4>>2]=e|1;j[e+o>>2]=e;if(i){c=i>>>3|0;a=(c<<3)+268552|0;d=j[67133];c=1<>2]}j[a+8>>2]=d;j[c+12>>2]=d;j[d+12>>2]=a;j[d+8>>2]=c}j[67133]=o;j[67130]=e}a=b+8|0}oe=p+16|0;return a|0}function jM(a,b,c,d,e,f,g,h,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;m=m|0;n=n|0;o=o|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;q=j[a+4>>2];if(f-1>>>0<=1){m=(p(m,n)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0}t=n^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;c:{if((b|0)<=(d|0)){e=(o|0)!=0;c=a+(b<<1)|0;a=d-b|0;break c}a=a+(d<<1)|0;c=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}n=k[q+30|0];o=j[(n<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];b=k[q+34|0];z=j[q+20>>2];d=k[q+33|0];w=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];while(1){f=l[c>>1];i[c>>1]=y|(((p(t,k[r+((f&w)>>>d|0)|0])>>>0)/255|0)+h>>>s<>>e|0)|0])>>>0)/255|0)+g>>>u<>>b|0)|0])>>>0)/255|0)+m>>>n<>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<1)|0;a=(o|0)!=0;break d}a=a+(d<<1)|0;n=o?a:a+2|0;c=b-d|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];c=k[q+33|0];z=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];while(1){e=l[n>>1];w=k[r+((e&z)>>>c|0)|0]+h|0;x=(w>>>0<255?w:255)>>>s<>>d|0)|0]+g|0;e=k[o+((e&y)>>>a|0)|0]+m|0;i[n>>1]=v|(x|(w>>>0<255?w:255)>>>t<>>0<255?e:255)>>>f<>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<1)|0;a=(o|0)!=0;break e}a=a+(d<<1)|0;n=o?a:a+2|0;c=b-d|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];c=k[q+33|0];z=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];while(1){e=l[n>>1];i[n>>1]=v|((p(k[r+((e&z)>>>c|0)|0],h)>>>0)/255>>>s<>>d|0)|0],g)>>>0)/255>>>t<>>a|0)|0],m)>>>0)/255>>>f<>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<1)|0;a=(o|0)!=0;break f}a=a+(d<<1)|0;n=o?a:a+2|0;c=b-d|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>1]=a;n=n+2|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[q+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break h}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}a=a+c|0;if(!a){break a}n=k[q+30|0];o=j[(n<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];c=k[q+34|0];z=j[q+20>>2];d=k[q+33|0];w=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];x=f<<1;while(1){f=l[b>>1];i[b>>1]=y|(((p(t,k[r+((f&w)>>>d|0)|0])>>>0)/255|0)+h>>>s<>>e|0)|0])>>>0)/255|0)+g>>>u<>>c|0)|0])>>>0)/255|0)+m>>>n<>2]/k[q+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break i}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}o=k[q+30|0];s=j[(o<<2)+234976>>2];r=k[q+29|0];t=j[(r<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];a=k[q+34|0];z=j[q+20>>2];c=k[q+33|0];w=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];f=f<<1;while(1){e=l[n>>1];x=k[t+((e&w)>>>c|0)|0]+h|0;A=(x>>>0<255?x:255)>>>r<>>d|0)|0]+g|0;e=k[s+((e&z)>>>a|0)|0]+m|0;i[n>>1]=y|(A|(x>>>0<255?x:255)>>>u<>>0<255?e:255)>>>o<>2]/k[q+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break j}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}o=k[q+30|0];s=j[(o<<2)+234976>>2];r=k[q+29|0];t=j[(r<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];a=k[q+34|0];z=j[q+20>>2];c=k[q+33|0];w=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];f=f<<1;while(1){e=l[n>>1];i[n>>1]=y|((p(k[t+((e&w)>>>c|0)|0],h)>>>0)/255>>>r<>>d|0)|0],g)>>>0)/255>>>u<>>a|0)|0],m)>>>0)/255>>>o<>2]/k[q+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break k}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}v=b-d|0;n=v>>31;s=c-e|0;r=s>>31;if((n^n+v)==(r^r+s)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[q+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=o?a:a+(c<<1)|0}b=((o|0)!=0)+s|0;if(!b){break a}n=k[q+30|0];o=j[(n<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];d=k[q+34|0];z=j[q+20>>2];e=k[q+33|0];w=j[q+16>>2];f=k[q+32|0];q=j[q+12>>2];x=c<<1;while(1){c=l[a>>1];i[a>>1]=y|(((p(t,k[r+((c&w)>>>e|0)|0])>>>0)/255|0)+h>>>s<>>f|0)|0])>>>0)/255|0)+g>>>u<>>d|0)|0])>>>0)/255|0)+m>>>n<>2]/k[q+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+s|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];d=k[q+33|0];z=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];w=c<<1;while(1){c=l[n>>1];x=k[r+((c&z)>>>d|0)|0]+h|0;A=(x>>>0<255?x:255)>>>s<>>e|0)|0]+g|0;c=k[o+((c&y)>>>a|0)|0]+m|0;i[n>>1]=v|(A|(x>>>0<255?x:255)>>>t<>>0<255?c:255)>>>f<>2]/k[q+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+s|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];d=k[q+33|0];z=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];w=c<<1;while(1){c=l[n>>1];i[n>>1]=v|((p(k[r+((c&z)>>>d|0)|0],h)>>>0)/255>>>s<>>e|0)|0],g)>>>0)/255>>>t<>>a|0)|0],m)>>>0)/255>>>f<>2]/k[q+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}c=((o|0)!=0)+s|0;if(!c){break a}a=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;f=n>>31;r=e-c|0;s=r>>31;n=f^f+n;r=s^r+s;r:{if((n|0)>=(r|0)){v=r-n|0;s=r<<1;f=s-n|0;r=1;break r}v=n-r|0;u=1;s=n<<1;f=s-r|0;n=r;r=0}y=((o|0)!=0)+n|0;if(!y){break a}e=(c|0)>(e|0);u=e?0-u|0:u;d=(b|0)>(d|0);r=d?0-r|0:r;z=e?-1:1;w=d?-1:1;v=v<<1;x=k[q+30|0];C=j[(x<<2)+234976>>2];A=k[q+29|0];D=j[(A<<2)+234976>>2];B=k[q+28|0];F=j[(B<<2)+234976>>2];G=j[q+24>>2];e=k[q+34|0];H=j[q+20>>2];n=k[q+33|0];I=j[q+16>>2];o=k[q+32|0];q=j[q+12>>2];J=j[a+16>>2];E=j[a+20>>2];a=0;while(1){K=(E+p(c,J)|0)+(b<<1)|0;d=l[K>>1];i[K>>1]=G|(((p(t,k[D+((d&I)>>>n|0)|0])>>>0)/255|0)+h>>>A<>>o|0)|0])>>>0)/255|0)+g>>>B<>>e|0)|0])>>>0)/255|0)+m>>>x<>31;r=e-c|0;n=r>>31;f=f^f+s;r=n^n+r;s:{if((f|0)>=(r|0)){v=r-f|0;s=r<<1;n=s-f|0;t=0;r=1;break s}v=f-r|0;t=1;s=f<<1;n=s-r|0;f=r;r=0}u=((o|0)!=0)+f|0;if(!u){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);y=d?0-r|0:r;z=e?-1:1;w=d?-1:1;v=v<<1;x=k[q+30|0];C=j[(x<<2)+234976>>2];A=k[q+29|0];D=j[(A<<2)+234976>>2];B=k[q+28|0];F=j[(B<<2)+234976>>2];G=j[q+24>>2];d=k[q+34|0];H=j[q+20>>2];e=k[q+33|0];I=j[q+16>>2];f=k[q+32|0];q=j[q+12>>2];J=j[a+16>>2];E=j[a+20>>2];a=0;while(1){K=(E+p(c,J)|0)+(b<<1)|0;o=l[K>>1];r=k[D+((o&I)>>>e|0)|0]+h|0;L=(r>>>0<255?r:255)>>>A<>>f|0)|0]+g|0;o=k[C+((o&H)>>>d|0)|0]+m|0;i[K>>1]=G|(L|(r>>>0<255?r:255)>>>B<>>0<255?o:255)>>>x<>31;r=e-c|0;n=r>>31;f=f^f+s;r=n^n+r;t:{if((f|0)>=(r|0)){u=r-f|0;t=1;s=r<<1;n=s-f|0;r=0;break t}u=f-r|0;s=f<<1;n=s-r|0;t=0;f=r;r=1}v=((o|0)!=0)+f|0;if(!v){break a}e=(c|0)>(e|0);r=e?0-r|0:r;d=(b|0)>(d|0);t=d?0-t|0:t;y=e?-1:1;z=d?-1:1;u=u<<1;w=k[q+30|0];x=j[(w<<2)+234976>>2];C=k[q+29|0];A=j[(C<<2)+234976>>2];D=k[q+28|0];B=j[(D<<2)+234976>>2];F=j[q+24>>2];e=k[q+34|0];G=j[q+20>>2];f=k[q+33|0];H=j[q+16>>2];o=k[q+32|0];q=j[q+12>>2];I=j[a+16>>2];J=j[a+20>>2];a=0;while(1){E=(J+p(c,I)|0)+(b<<1)|0;d=l[E>>1];i[E>>1]=F|((p(k[A+((d&H)>>>f|0)|0],h)>>>0)/255>>>C<>>o|0)|0],g)>>>0)/255>>>D<>>e|0)|0],m)>>>0)/255>>>w<>31;r=e-c|0;n=r>>31;s=f^f+s;r=n^n+r;u:{if((s|0)>=(r|0)){u=r-s|0;t=1;f=r<<1;n=f-s|0;r=0;break u}u=s-r|0;f=s<<1;n=f-r|0;t=0;s=r;r=1}o=((o|0)!=0)+s|0;if(!o){break a}e=(c|0)>(e|0);s=e?0-r|0:r;d=(b|0)>(d|0);r=d?0-t|0:t;e=e?-1:1;d=d?-1:1;t=u<<1;g=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>2];q=j[a+20>>2];m=0;while(1){i[(q+p(c,h)|0)+(b<<1)>>1]=g;a=(n|0)<0;n=(a?f:t)+n|0;b=(a?r:d)+b|0;c=(a?s:e)+c|0;m=m+1|0;if((o|0)!=(m|0)){continue}break}}}function MC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;n=oe-48|0;oe=n;u=j[b+100>>2];d=Fe(a,0);j[n+36>>2]=d;a:{if(d){break a}j[n+24>>2]=0;j[n+28>>2]=8;j[n+16>>2]=1;j[n+20>>2]=1;j[n+40>>2]=0;m=He(u,139324,n+40|0);b:{c:{d:{d=j[n+40>>2];if(!d){j[m+139320>>2]=u;i[m+12>>1]=32767;j[m+139304>>2]=0;j[m+139308>>2]=0;j[m+139316>>2]=u;j[m+139312>>2]=0;j[m+36>>2]=n+16;v=j[a+28>>2];j[n+44>>2]=0;d=1024;t=xe(v,1,0,1024,0,n+44|0);if(j[n+44>>2]){break d}j[n>>2]=53;h[t|0]=0;r=256;e=0;w=1;e:while(1){g=d;f:while(1){f=0;d=0;while(1){if(!(f&1)){q=Ol(a,e+t|0,g-e|0);o=q+e|0;e=0}g:{h:{i:{j:{if((d|0)>=(o|0)){break j}x=d+t|0;f=h[x|0];if((r|0)==(f|0)){break g}s=d;while(1){k:{y=f&255;switch(y-10|0){case 0:case 3:break i;default:break k}}s=s+1|0;if((s|0)==(o|0)){break j}f=k[s+t|0];continue}}if(!q){break d}if(!d){if(g>>>0<65536){break h}j[n+44>>2]=6;break d}q=o-d|0;tg(t,d+t|0,q);e=q;o=d;continue f}r=s+t|0;h[r|0]=0;l:{m:{switch(k[x|0]-26|0){case 0:case 9:break l;default:break m}}if((d|0)>=(s|0)){break l}z=s-d|0;d=qe[j[n>>2]](x,z,w,n,m)|0;j[n+44>>2]=d;if((d|0)==-1){d=qe[j[n>>2]](x,z,w,n,m)|0;j[n+44>>2]=d}if(d){break d}}h[r|0]=f;r=(y|0)==10?13:(y|0)==13?10:256;f=1;d=s+1|0;w=w+1|0;continue}d=g<<1;t=xe(v,1,g,d,t,n+44|0);e=g;if(!j[n+44>>2]){continue e}break d}f=1;d=d+1|0;r=256;continue}}}}e=0;if(!m){break b}break c}if(t){qe[j[v+8>>2]](v,t)}a=j[n+44>>2];j[n+40>>2]=a;e=j[m+32>>2];n:{if(a){break n}o:{p:{if(e){if(j[e+28>>2]!=8){i[e+32>>1]=l[e+4>>1]}a=j[e+64>>2];d=j[e+52>>2];if(j[m+4>>2]!=(a+d|0)){i[e+278660>>1]=1}q:{if(!(a|d)|!j[j[m+36>>2]>>2]){break q}a=i[m+12>>1];d=i[m+16>>1]-a|0;if((d|0)!=l[e+4>>1]){i[e+278660>>1]=1;i[e+4>>1]=d}if(l[e+8>>1]!=(a&65535)){i[e+278660>>1]=1;i[e+8>>1]=a}a=l[m+18>>1];d=a<<16;if((a|0)!=l[e+12>>1]){i[e+278660>>1]=1;i[e+12>>1]=a}a=l[m+20>>1];g=a<<16>>16;if((a|0)!=l[e+14>>1]){i[e+278660>>1]=1;i[e+14>>1]=a;i[e+10>>1]=0-a}a=g+(d>>16)|0;if((a|0)==l[e+6>>1]){break q}i[e+6>>1]=a}d=j[m>>2];if(d&1){break p}a=j[e+88>>2];if(!a){break c}a=xe(j[e+278664>>2],1,a,a+1|0,j[e+84>>2],n+40|0);e=j[m+32>>2];j[e+84>>2]=a;if(j[n+40>>2]){break n}h[a+j[e+88>>2]|0]=0;e=j[m+32>>2];break c}d=j[m>>2];if(!(d&1)){break o}}if(!(d&32)){j[n+40>>2]=185;e=0;break c}j[n+40>>2]=186;e=0;break c}j[n+40>>2]=3;e=0;break c}mp(e);a=j[m+32>>2];if(a){qe[j[u+8>>2]](u,a)}e=0;j[m+32>>2]=0}d=j[m+139316>>2];if(d){a=m+139304|0;g=j[a>>2];if(g){qe[j[d+8>>2]](d,g)}j[a+8>>2]=0;j[a+12>>2]=0;j[a>>2]=0;j[a+4>>2]=0}if(m){qe[j[u+8>>2]](u,m)}d=j[n+40>>2]}j[n+36>>2]=d;r:{s:{if((d&255)!=176){if(d){break a}j[b+140>>2]=e;if((c|0)>=1){xl(b);d=6;break a}j[b>>2]=1;j[b+4>>2]=0;c=j[b+8>>2];j[b+8>>2]=c|146;if(!e){break s}g=j[e+72>>2];if(!g){break s}d=j[e+128>>2];a=j[d+12>>2];m=j[d+4>>2];f=a+(3000791075%(m>>>0)<<2)|0;d=j[f>>2];if(d){m=(a+(m<<2)|0)-4|0;t:{while(1){u:{q=j[d>>2];if(k[q|0]==83){if(!we(q,6976)){break u}}d=f-4|0;f=a>>>0>d>>>0?m:d;d=j[f>>2];if(d){continue}break t}break}a=j[e+80>>2];if(!a){break t}a=a+(j[d+4>>2]<<4)|0;if(j[a+4>>2]!=1){break t}a=j[a+12>>2];if(!a){break t}v:{w:{a=k[a|0];switch(a-67|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break t;case 0:case 10:break v;default:break w}}switch(a-99|0){case 0:case 10:break v;default:break t}}j[b+8>>2]=c|150}if(!g){break s}}c=j[e+128>>2];a=j[c+12>>2];c=j[c+4>>2];f=a+(1183963782%(c>>>0)<<2)|0;d=j[f>>2];if(!d){break s}c=(a+(c<<2)|0)-4|0;while(1){x:{g=j[d>>2];if(k[g|0]==70){if(!we(g,6984)){break x}}d=f-4|0;f=a>>>0>d>>>0?c:d;d=j[f>>2];if(d){continue}break s}break}a=j[e+80>>2];if(!a){break s}a=j[(a+(j[d+4>>2]<<4)|0)+12>>2];if(!a){break s}A=b,B=dg(u,a,n+36|0),j[A+20>>2]=B;d=j[n+36>>2];if(d){break a}a=j[b+140>>2];break r}xl(b);d=2;break a}j[b+20>>2]=0;a=e}o=0;j[n>>2]=0;j[b+12>>2]=0;x=j[b+100>>2];q=1;c=a;y:{z:{if(!(!a|!j[a+72>>2])){w=0;a=0;g=2;d=j[c+128>>2];q=j[d+12>>2];o=j[d+4>>2];r=q+(78981326%(o>>>0)<<2)|0;f=j[r>>2];A:{if(!f){break A}a=(q+(o<<2)|0)-4|0;B:{while(1){d=j[f>>2];if(k[d|0]==83){if(!we(d,9381)){break B}}d=r-4|0;r=d>>>0>>0?a:d;f=j[r>>2];if(f){continue}break}a=0;break A}a=j[c+80>>2];if(!a){a=0;break A}d=a+(j[f+4>>2]<<4)|0;if(j[d+4>>2]!=1){a=0;break A}f=j[d+12>>2];if(!f){a=0;break A}a=0;C:{switch(k[f|0]-73|0){case 0:case 6:case 32:case 38:break C;default:break A}}j[b+12>>2]=1;a=(k[j[d+12>>2]]&223)==79?9946:9954;g=3}t=1;r=q+(4260511730%(o>>>0)<<2)|0;f=j[r>>2];D:{if(!f){break D}d=(q+(o<<2)|0)-4|0;while(1){E:{m=j[f>>2];if(k[m|0]==87){if(!we(m,9567)){break E}}f=r-4|0;r=f>>>0>>0?d:f;f=j[r>>2];if(f){continue}break D}break}d=j[c+80>>2];if(!d){break D}d=d+(j[f+4>>2]<<4)|0;if(j[d+4>>2]!=1){break D}d=j[d+12>>2];if(!d|(k[d|0]|32)!=98){break D}j[b+12>>2]=g;w=9961;t=0}m=0;r=q+(41411398%(o>>>0)<<2)|0;f=j[r>>2];g=0;F:{if(!f){break F}d=(q+(o<<2)|0)-4|0;G:{while(1){g=j[f>>2];if(k[g|0]==83){if(!we(g,9367)){break G}}g=r-4|0;r=g>>>0>>0?d:g;f=j[r>>2];if(f){continue}break}g=0;break F}d=j[c+80>>2];g=0;if(!d){break F}d=d+(j[f+4>>2]<<4)|0;g=0;if(j[d+4>>2]!=1){break F}d=j[d+12>>2];g=0;if(!d){break F}f=k[d|0];g=0;if(!f){break F}g=0;if((f|0)==78){break F}g=0;if((f|0)==110){break F}g=d}r=q+(657458935%(o>>>0)<<2)|0;f=j[r>>2];H:{I:{if(!f){break I}d=(q+(o<<2)|0)-4|0;J:{while(1){K:{o=j[f>>2];if(k[o|0]==65){if(!we(o,8576)){break K}}f=r-4|0;r=f>>>0>>0?d:f;f=j[r>>2];if(f){continue}break J}break}c=j[c+80>>2];if(!c){break J}r=0;c=c+(j[f+4>>2]<<4)|0;d=0;if(j[c+4>>2]!=1){break H}c=j[c+12>>2];if(!c){break J}f=k[c|0];if(!f|(f|0)==78){break I}d=0;if((f|0)==110){break H}m=c;r=Le(c);d=r+1|0;break H}}r=0;d=0}s=0;L:{if(t){v=0;break L}v=Le(w);d=(v+d|0)+1|0}if(a){s=Le(a);d=(s+d|0)+1|0}M:{if(!g){o=0;break M}o=Le(g);d=(o+d|0)+1|0}q=!a;c=!g;f=c;if(!d){break z}break y}g=0;v=0;w=0;t=1;a=0;s=0;f=1}c=f;d=8;r=7;m=9966}f=He(x,d,n);j[b+24>>2]=f;d=j[n>>2];if(d){j[n+36>>2]=d;break a}if(m){f=Ae(f,m,r);if(r){d=0;while(1){m=d+f|0;if(k[m|0]==32){h[m|0]=45}d=d+1|0;if((r|0)!=(d|0)){continue}break}}f=f+r|0}if(!t){if(j[b+24>>2]!=(f|0)){h[f|0]=32;f=f+1|0}f=Ae(f,w,v)+v|0}if(!q){if(j[b+24>>2]!=(f|0)){h[f|0]=32;f=f+1|0}f=Ae(f,a,s)+s|0}if(!c){if(j[b+24>>2]!=(f|0)){h[f|0]=32;f=f+1|0}a=Ae(f,g,o);if(o){d=0;while(1){c=a+d|0;if(k[c|0]==32){h[c|0]=45}d=d+1|0;if((o|0)!=(d|0)){continue}break}}f=a+o|0}h[f|0]=0;d=j[n>>2];j[n+36>>2]=d;if(d){break a}a=j[e+48>>2];j[b+28>>2]=1;j[b+16>>2]=a+1;c=xe(u,16,0,1,0,n+36|0);j[b+32>>2]=c;d=j[n+36>>2];if(d){break a}j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;m=j[e+44>>2]+j[e+40>>2]|0;i[c>>1]=m;g=c;N:{O:{q=j[e+72>>2];if(!q){break O}d=j[e+128>>2];a=j[d+12>>2];o=j[d+4>>2];f=a+(3825651940%(o>>>0)<<2)|0;d=j[f>>2];if(!d){break O}o=(a+(o<<2)|0)-4|0;while(1){P:{s=j[d>>2];if(k[s|0]==65){if(!we(s,6996)){break P}}d=f-4|0;f=a>>>0>d>>>0?o:d;d=j[f>>2];if(d){continue}break O}break}a=j[e+80>>2];if(!a){break O}a=(j[(a+(j[d+4>>2]<<4)|0)+12>>2]+5|0)/10|0;break N}a=(m<<16>>15)/3|0}i[g+2>>1]=a;m=c;Q:{R:{if(!e|!q){break R}d=j[e+128>>2];g=j[d+12>>2];o=j[d+4>>2];f=g+(1780881776%(o>>>0)<<2)|0;d=j[f>>2];if(!d){break R}o=(g+(o<<2)|0)-4|0;while(1){S:{s=j[d>>2];if(k[s|0]==80){if(!we(s,7010)){break S}}d=f-4|0;f=d>>>0>>0?o:d;d=j[f>>2];if(d){continue}break R}break}g=j[e+80>>2];if(!g){break R}g=(p(j[(g+(j[d+4>>2]<<4)|0)+12>>2],460800)+36135|0)/72270|0;break Q}g=a<<16>>10}j[m+4>>2]=g;T:{if(!e){j[c+12>>2]=g;break T}if(!q){j[c+12>>2]=g;break T}m=0;a=0;d=j[e+128>>2];o=j[d+12>>2];U:{V:{s=j[d+4>>2];f=o+(486426170%(s>>>0)<<2)|0;d=j[f>>2];if(!d){break V}a=(o+(s<<2)|0)-4|0;W:{X:{while(1){s=j[d>>2];if(k[s|0]==80){if(!we(s,7021)){break X}}d=f-4|0;f=d>>>0>>0?a:d;d=j[f>>2];if(d){continue}break}a=0;break W}a=j[e+80>>2];if(!a){a=0;break W}a=j[(a+(j[d+4>>2]<<4)|0)+12>>2]<<16>>10;j[c+12>>2]=a}if(q){break V}q=0;break U}d=j[e+128>>2];o=j[d+12>>2];Y:{s=j[d+4>>2];f=o+(2286220677%(s>>>0)<<2)|0;d=j[f>>2];if(!d){break Y}m=(o+(s<<2)|0)-4|0;Z:{_:{while(1){s=j[d>>2];if(k[s|0]==82){if(!we(s,7032)){break _}}d=f-4|0;f=d>>>0>>0?m:d;d=j[f>>2];if(d){continue}break}m=0;break Z}f=j[e+80>>2];m=0;if(!f){break Z}m=j[(f+(j[d+4>>2]<<4)|0)+12>>2]}if(q){break Y}q=0;break U}q=0;d=j[e+128>>2];o=j[d+12>>2];s=j[d+4>>2];f=o+(2286220678%(s>>>0)<<2)|0;d=j[f>>2];if(!d){break U}s=(o+(s<<2)|0)-4|0;while(1){$:{r=j[d>>2];if(k[r|0]==82){if(!we(r,7045)){break $}}d=f-4|0;f=d>>>0>>0?s:d;d=j[f>>2];if(d){continue}break U}break}f=j[e+80>>2];if(!f){break U}q=j[(f+(j[d+4>>2]<<4)|0)+12>>2]}if(!a){j[c+12>>2]=g;if(!(q&65535)){break T}a=(p(q<<16>>16,g)|0)/72|0;j[c+12>>2]=a}d=m<<16;if(!d){g=a;break T}if(!(q&65535)){g=a;break T}g=(p(d>>16,a)|0)/(q<<16>>16)|0}j[c+8>>2]=g;c=j[e+56>>2];g=xe(u,8,0,j[e+48>>2],0,n+36|0);j[b+144>>2]=g;d=j[n+36>>2];if(d){break a}j[b+164>>2]=0;f=j[e+48>>2];if(f){m=j[e+36>>2];d=0;while(1){a=j[(c+p(d,36)|0)+4>>2];q=g+(d<<3)|0;i[q+4>>1]=d;j[q>>2]=a;if((a|0)==(m|0)){j[b+164>>2]=d}d=d+1|0;if((f|0)!=(d|0)){continue}break}}aa:{c=j[e+72>>2];if(!c){break aa}d=j[e+128>>2];a=j[d+12>>2];g=j[d+4>>2];f=a+(3781719536%(g>>>0)<<2)|0;d=j[f>>2];ba:{if(!d){g=0;break ba}g=(a+(g<<2)|0)-4|0;ca:{da:{while(1){m=j[d>>2];if(k[m|0]==67){if(!we(m,7058)){break da}}d=f-4|0;f=a>>>0>d>>>0?g:d;d=j[f>>2];if(d){continue}break}g=0;break ca}g=j[e+80>>2]+(j[d+4>>2]<<4)|0}if(!e|!c){break aa}}c=j[e+128>>2];a=j[c+12>>2];c=j[c+4>>2];f=a+(1888187142%(c>>>0)<<2)|0;d=j[f>>2];if(!d){break aa}c=(a+(c<<2)|0)-4|0;while(1){ea:{m=j[d>>2];if(k[m|0]==67){if(!we(m,7075)){break ea}}d=f-4|0;f=a>>>0>d>>>0?c:d;d=j[f>>2];if(d){continue}break aa}break}if(!g){break aa}a=j[e+80>>2];if(!a|j[g+4>>2]!=1){break aa}c=j[d+4>>2];if(!j[g+12>>2]|j[(a+(c<<4)|0)+4>>2]!=1){break aa}a=j[(a+(c<<4)|0)+12>>2];if(!a){break aa}A=b,B=dg(u,a,n+36|0),j[A+132>>2]=B;d=j[n+36>>2];if(d){break a}c=dg(u,j[g+12>>2],n+36|0);j[b+136>>2]=c;d=j[n+36>>2];if(d){break a}a=n;d=a;fa:{ga:{ha:{if((k[c|0]|32)!=105|(k[c+1|0]|32)!=115|(k[c+2|0]|32)!=111){break ha}c=c+3|0;if(!we(c,7092)){break ga}if(we(c,7098)){break ha}if(!we(j[b+132>>2],7103)){break ga}}j[n>>2]=b;c=0;b=0;break fa}j[n>>2]=b;c=65539;b=1970170211}j[d+4>>2]=b;j[a+8>>2]=c;d=qg(7108,0,n,0);break a}j[n+4>>2]=1094995778;j[n+8>>2]=7;j[n>>2]=b;d=qg(7108,0,n,0);j[n+36>>2]=d;if(!j[b+36>>2]){break a}j[b+92>>2]=j[j[b+40>>2]>>2]}oe=n+48|0;return d|0}function mM(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;n=j[a+4>>2];if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}q=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}l=k[n+30|0];m=j[(l<<2)+234976>>2];o=k[n+29|0];r=j[(o<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];b=k[n+34|0];d=k[n+33|0];e=k[n+32|0];while(1){f=j[c>>2];j[c>>2]=j[n+24>>2]|(((p(q,k[r+((f&j[n+16>>2])>>>d|0)|0])>>>0)/255|0)+h>>>o<>2])>>>e|0)|0])>>>0)/255|0)+g>>>s<>2])>>>b|0)|0])>>>0)/255|0)+i>>>l<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break d}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];t=k[q+((e&j[n+16>>2])>>>c|0)|0]+h|0;u=(t>>>0<255?t:255)>>>o<>2])>>>d|0)|0]+g|0;e=k[m+((e&j[n+20>>2])>>>a|0)|0]+i|0;j[l>>2]=j[n+24>>2]|(u|(t>>>0<255?t:255)>>>r<>>0<255?e:255)>>>f<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break e}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];j[l>>2]=j[n+24>>2]|((p(k[q+((e&j[n+16>>2])>>>c|0)|0],h)>>>0)/255>>>o<>2])>>>d|0)|0],g)>>>0)/255>>>r<>2])>>>a|0)|0],i)>>>0)/255>>>f<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2]=b|(a|j[n+24>>2]);l=l+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}m=k[n+30|0];o=j[(m<<2)+234976>>2];r=k[n+29|0];s=j[(r<<2)+234976>>2];t=k[n+28|0];u=j[(t<<2)+234976>>2];c=k[n+34|0];d=k[n+33|0];e=k[n+32|0];while(1){l=j[b>>2];j[b>>2]=j[n+24>>2]|(((p(q,k[s+((l&j[n+16>>2])>>>d|0)|0])>>>0)/255|0)+h>>>r<>2])>>>e|0)|0])>>>0)/255|0)+g>>>t<>2])>>>c|0)|0])>>>0)/255|0)+i>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+30|0];o=j[(m<<2)+234976>>2];q=k[n+29|0];r=j[(q<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];u=k[r+((e&j[n+16>>2])>>>c|0)|0]+h|0;v=(u>>>0<255?u:255)>>>q<>2])>>>d|0)|0]+g|0;e=k[o+((e&j[n+20>>2])>>>a|0)|0]+i|0;j[l>>2]=j[n+24>>2]|(v|(u>>>0<255?u:255)>>>s<>>0<255?e:255)>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+30|0];o=j[(m<<2)+234976>>2];q=k[n+29|0];r=j[(q<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];j[l>>2]=j[n+24>>2]|((p(k[r+((e&j[n+16>>2])>>>c|0)|0],h)>>>0)/255>>>q<>2])>>>d|0)|0],g)>>>0)/255>>>s<>2])>>>a|0)|0],i)>>>0)/255>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){l=(a+(p(b,c)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(b,e)<<2)|0)+(d<<2)|0;l=m?a:a+(b<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2]=d|(a|j[n+24>>2]);l=b+l|0;c=c-1|0;if(c){continue}break}break a}u=b-d|0;l=u>>31;o=c-e|0;t=o>>31;if((l^l+u)==(t^o+t)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}l=k[n+30|0];m=j[(l<<2)+234976>>2];o=k[n+29|0];r=j[(o<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];u=c<<2;while(1){c=j[a>>2];j[a>>2]=j[n+24>>2]|(((p(q,k[r+((c&j[n+16>>2])>>>e|0)|0])>>>0)/255|0)+h>>>o<>2])>>>f|0)|0])>>>0)/255|0)+g>>>s<>2])>>>d|0)|0])>>>0)/255|0)+i>>>l<>2]/k[n+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];d=k[n+33|0];e=k[n+32|0];t=c<<2;while(1){c=j[l>>2];u=k[q+((c&j[n+16>>2])>>>d|0)|0]+h|0;v=(u>>>0<255?u:255)>>>o<>2])>>>e|0)|0]+g|0;c=k[m+((c&j[n+20>>2])>>>a|0)|0]+i|0;j[l>>2]=j[n+24>>2]|(v|(u>>>0<255?u:255)>>>r<>>0<255?c:255)>>>f<>2]/k[n+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];d=k[n+33|0];e=k[n+32|0];t=c<<2;while(1){c=j[l>>2];j[l>>2]=j[n+24>>2]|((p(k[q+((c&j[n+16>>2])>>>d|0)|0],h)>>>0)/255>>>o<>2])>>>e|0)|0],g)>>>0)/255>>>r<>2])>>>a|0)|0],i)>>>0)/255>>>f<>2]/k[n+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(b<<2)|0}c=((m|0)!=0)+o|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2]=d|(a|j[n+24>>2]);l=b+l|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:o=d-b|0;f=o>>31;r=e-c|0;l=r>>31;o=f^f+o;l=l^l+r;r:{if((o|0)>=(l|0)){r=l-o|0;s=1;t=l<<1;f=t-o|0;l=0;break r}r=o-l|0;t=o<<1;f=t-l|0;o=l;l=1}o=((m|0)!=0)+o|0;if(!o){break a}e=(c|0)>(e|0);u=e?0-l|0:l;d=(b|0)>(d|0);C=d?0-s|0:s;D=e?-1:1;y=d?-1:1;r=r<<1;v=k[n+30|0];z=j[(v<<2)+234976>>2];w=k[n+29|0];A=j[(w<<2)+234976>>2];x=k[n+28|0];E=j[(x<<2)+234976>>2];e=k[n+34|0];l=k[n+33|0];m=k[n+32|0];B=j[a+20>>2];s=0;while(1){F=(B+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[F>>2];j[F>>2]=j[n+24>>2]|(((p(q,k[A+((d&j[n+16>>2])>>>l|0)|0])>>>0)/255|0)+h>>>w<>2])>>>m|0)|0])>>>0)/255|0)+g>>>x<>2])>>>e|0)|0])>>>0)/255|0)+i>>>v<>31;q=e-c|0;l=q>>31;f=f^f+o;o=l^l+q;s:{if((f|0)>=(o|0)){r=o-f|0;s=1;t=o<<1;l=t-f|0;o=0;break s}r=f-o|0;t=f<<1;l=t-o|0;f=o;o=1}u=((m|0)!=0)+f|0;if(!u){break a}e=(c|0)>(e|0);C=e?0-o|0:o;d=(b|0)>(d|0);s=d?0-s|0:s;D=e?-1:1;y=d?-1:1;r=r<<1;v=k[n+30|0];z=j[(v<<2)+234976>>2];w=k[n+29|0];A=j[(w<<2)+234976>>2];x=k[n+28|0];E=j[(x<<2)+234976>>2];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];B=j[a+20>>2];o=0;while(1){F=(B+p(j[a+16>>2],c)|0)+(b<<2)|0;m=j[F>>2];q=k[A+((m&j[n+16>>2])>>>e|0)|0]+h|0;G=(q>>>0<255?q:255)>>>w<>2])>>>f|0)|0]+g|0;m=k[z+((m&j[n+20>>2])>>>d|0)|0]+i|0;j[F>>2]=j[n+24>>2]|(G|(q>>>0<255?q:255)>>>x<>>0<255?m:255)>>>v<>31;q=e-c|0;l=q>>31;f=f^f+o;o=l^l+q;t:{if((f|0)>=(o|0)){q=o-f|0;s=o<<1;l=s-f|0;o=1;break t}q=f-o|0;r=1;s=f<<1;l=s-o|0;f=o;o=0}t=((m|0)!=0)+f|0;if(!t){break a}e=(c|0)>(e|0);r=e?0-r|0:r;d=(b|0)>(d|0);u=d?0-o|0:o;C=e?-1:1;D=d?-1:1;q=q<<1;y=k[n+30|0];v=j[(y<<2)+234976>>2];z=k[n+29|0];w=j[(z<<2)+234976>>2];A=k[n+28|0];x=j[(A<<2)+234976>>2];e=k[n+34|0];f=k[n+33|0];m=k[n+32|0];E=j[a+20>>2];o=0;while(1){B=(E+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[B>>2];j[B>>2]=j[n+24>>2]|((p(k[w+((d&j[n+16>>2])>>>f|0)|0],h)>>>0)/255>>>z<>2])>>>m|0)|0],g)>>>0)/255>>>A<>2])>>>e|0)|0],i)>>>0)/255>>>y<>31;q=e-c|0;l=q>>31;o=f^f+o;q=l^l+q;u:{if((o|0)>=(q|0)){s=q-o|0;f=q<<1;l=f-o|0;q=1;break u}s=o-q|0;r=1;f=o<<1;l=f-q|0;o=q;q=0}m=((m|0)!=0)+o|0;if(!m){break a}e=(c|0)>(e|0);o=e?0-r|0:r;d=(b|0)>(d|0);q=d?0-q|0:q;e=e?-1:1;r=d?-1:1;s=s<<1;g=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2];i=0;while(1){j[(t+p(j[a+16>>2],c)|0)+(b<<2)>>2]=h|(g|j[n+24>>2]);d=(l|0)<0;l=(d?f:s)+l|0;b=(d?q:r)+b|0;c=(d?o:e)+c|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}}}function rK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;p=j[a+28>>2];if(p){r=j[a+36>>2];s=j[a+16>>2];b=j[a+40>>2];i=b;c=j[a+24>>2];t=c&7;u=(c+7|0)/8|0;e=j[a>>2];a=j[a+20>>2];n=k[b+9|0];o=n-1|0;while(1){q=u;a:{b:{switch(t-1|0){default:c=7;break a;case 0:c=6;break a;case 1:c=5;break a;case 2:c=4;break a;case 3:c=3;break a;case 4:c=2;break a;case 5:c=1;break a;case 6:break b}}c=0}while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{switch(c|0){case 0:m=0;c=0;d=0;g=0;f=0;h=0;y:{z:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break y;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break y;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break y;case 3:break z;default:break u}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break w}break v;case 1:m=0;c=0;d=0;g=0;f=0;h=0;A:{B:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break A;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break A;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break A;case 3:break B;default:break r}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break t}break s;case 2:m=0;c=0;d=0;g=0;f=0;h=0;C:{D:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break C;case 3:break D;default:break o}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break q}break p;case 3:m=0;c=0;d=0;g=0;f=0;h=0;E:{F:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break E;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break E;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break E;case 3:break F;default:break l}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break n}break m;case 4:m=0;c=0;d=0;g=0;f=0;h=0;G:{H:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break G;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break G;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break G;case 3:break H;default:break i}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break k}break j;case 5:m=0;c=0;d=0;g=0;f=0;h=0;I:{J:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break I;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break I;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break I;case 3:break J;default:break f}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break h}break g;case 6:m=0;c=0;d=0;g=0;f=0;h=0;K:{L:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break K;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break K;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break K;case 3:break L;default:break c}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break e}break d;default:break x}}m=0;c=0;d=0;g=0;f=0;h=0;M:{N:{O:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break N;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break N;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break N;case 3:break O;default:break M}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=0;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=1;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=2;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=3;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=4;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=5;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=6;continue}m=h<<22|3145728}f=d;h=c}v=p-1|0;j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;if((q|0)>1){q=q-1|0;c=7;continue}break}a=a+r|0;e=e+s|0;p=v;if(p){continue}break}}}function DC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;r=oe-16|0;oe=r;j[r+8>>2]=0;g=j[e+32>>2];u=j[g+278664>>2];a:{b:{c:{d:{if(Qe(a,7148,7)){break d}e:{c=k[a+7|0];switch(c|0){case 0:case 9:case 10:case 13:case 32:break e;default:break d}}j[r+12>>2]=0;d=j[g+88>>2];o=d;d=(c?-8:-7)+b|0;f=d+1|0;o=xe(u,1,o,o+f|0,j[g+84>>2],r+12|0);j[g+84>>2]=o;b=j[r+12>>2];if(!b){A=Ae(o+j[g+88>>2]|0,c?a+8|0:a+7|0,d)+d|0,B=10,h[A|0]=B;j[g+88>>2]=f+j[g+88>>2];b=j[r+12>>2]}j[r+8>>2]=b;break c}o=r;f:{g:{h:{i:{j:{k:{d=j[e>>2];if(!(d&32)){l:{m:{if(Qe(a,8541,5)){break m}switch(k[a+5|0]){case 0:case 9:case 10:case 13:case 32:break l;default:break m}}c=180;break i}c=e+139304|0;b=jg(c,8512,a,b);j[r+8>>2]=b;if(b){break b}a=j[j[c>>2]+4>>2];if(!a){break k}f=k[a|0];if(!f){break k}c=9680;n=10;b=a;n:{if((f|0)!=48){break n}if((k[a+1|0]|32)!=120){f=48;b=a;break n}f=k[a+2|0];c=9648;n=16;b=a+2|0}a=f<<24>>24;if(!(k[((f&248)>>>3|0)+c|0]>>>(a&7)&1)){break k}f=0;while(1){f=k[a+9712|0]+p(f,n)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}j[g+48>>2]=f;j[e+4>>2]=f;if(!f){break h}if(f>>>0<1114112){break g}c=6;break i}o:{p:{if(Qe(a,9878,7)){break p}q:{switch(k[a+7|0]){case 0:case 9:case 10:case 13:case 32:break q;default:break p}}if(!(d&4032)){break o}c=186;break i}r:{if(Qe(a,9886,7)){break r}s:{switch(k[a+7|0]){case 0:case 9:case 10:case 13:case 32:break s;default:break r}}j[e+28>>2]=0;j[e>>2]=d&-4033;break f}q=d&64;if(j[j[e+36>>2]+4>>2]?0:!(!q|j[e+28>>2]!=-1)){break f}t:{if(Qe(a,9894,9)){break t}u:{switch(k[a+9|0]){case 0:case 9:case 10:case 13:case 32:break u;default:break t}}c=j[e+24>>2];if(c){qe[j[u+8>>2]](u,c)}j[e+24>>2]=0;g=e+139304|0;b=jg(g,8512,a,b);j[r+8>>2]=b;if(b){break b}v:{w:{a=j[e+139312>>2];switch(a|0){case 0:break j;case 1:break v;default:break w}}c=a-1|0;a=0;b=1;while(1){d=j[g>>2];j[d+(a<<2)>>2]=j[d+(b<<2)>>2];b=b+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}j[e+139312>>2]=c;if(!c){break j}b=0;f=j[j[g>>2]>>2];a=f;while(1){d=k[a|0];if(d){while(1){h[b+f|0]=d;b=b+1|0;d=k[a+1|0];a=a+1|0;if(d){continue}break}c=j[e+139312>>2]}n=n+1|0;if(n>>>0>>0){h[b+f|0]=32;c=j[e+139312>>2];b=b+1|0}if(c>>>0>n>>>0){a=j[j[g>>2]+(n<<2)>>2];continue}break}if((f|0)!=9633){h[b+f|0]=0}a=b+1|0;c=xe(u,1,0,a,0,r+8|0);j[e+24>>2]=c;b=j[r+8>>2];if(b){break b}Ae(c,f,a);j[e>>2]=j[e>>2]|64;break f}j[e+139312>>2]=0;break j}x:{if(Qe(a,9904,8)){break x}y:{switch(k[a+8|0]){case 0:case 9:case 10:case 13:case 32:break y;default:break x}}c=181;if(!q){break i}c=e+139304|0;b=jg(c,8512,a,b);j[r+8>>2]=b;if(b){break b}z:{A:{B:{C:{D:{E:{s=j[c>>2];a=j[s+4>>2];if(!a){break E}q=k[a|0];if(!q){break E}c=9680;n=10;t=(q|0)==45;d=t?a+1|0:a;b=d;a=k[a+t|0];F:{if((a|0)!=48){break F}if((k[d+1|0]|32)!=120){a=48;b=d;break F}a=k[d+2|0];c=9648;n=16;b=d+2|0}d=k[((a&248)>>>3|0)+c|0];a=a<<24>>24;if(d>>>(a&7)&1){while(1){f=k[a+9712|0]+p(f,n)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}}c=e+28|0;a=(q|0)==45?0-f|0:f;G:{H:{if((a|0)<=-2){j[e+28>>2]=-1;break H}j[e+28>>2]=a;if((a|0)!=-1){break G}}if(m[e+139312>>2]<3){break A}a=j[s+8>>2];if(!a){break D}q=k[a|0];if(!q){break D}n=9680;d=10;s=(q|0)==45;f=s?a+1|0:a;b=f;a=k[a+s|0];I:{if((a|0)!=48){break I}if((k[f+1|0]|32)!=120){a=48;b=f;break I}a=k[f+2|0];n=9648;d=16;b=f+2|0}f=0;x=k[((a&248)>>>3|0)+n|0];a=a<<24>>24;if(x>>>(a&7)&1){while(1){f=k[a+9712|0]+p(d,f)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+n|0]>>>(a&7)&1){continue}break}}a=(q|0)==45?0-f|0:f;j[e+28>>2]=a;if((a|0)<-1){break B}}if(a>>>0>1114111?(a|0)>=1:0){break j}if((a|0)>-1){break C}break A}c=e+28|0}a=0;j[c>>2]=0}b=(a>>>3&536870908)+e|0;d=j[b+40>>2];f=1<>2]=-1;i[g+278660>>1]=1;break A}j[b+40>>2]=d|f;b=j[g+52>>2];J:{if((b|0)!=j[g+48>>2]){f=j[g+56>>2];break J}f=xe(u,36,b,b- -64|0,j[g+56>>2],r+8|0);j[g+56>>2]=f;b=j[r+8>>2];if(b){break b}j[g+48>>2]=j[g+48>>2]- -64;b=j[g+52>>2];a=j[c>>2]}j[g+52>>2]=b+1;c=j[e+24>>2];b=p(b,36)+f|0;j[b+4>>2]=a;j[b>>2]=c;break z}j[e+28>>2]=-1}if(j[j[e+36>>2]+4>>2]){a=j[g+64>>2];K:{if((a|0)!=j[g+60>>2]){f=j[g+68>>2];break K}f=xe(u,36,a,a+4|0,j[g+68>>2],r+8|0);j[g+68>>2]=f;b=j[r+8>>2];if(b){break b}j[g+60>>2]=j[g+60>>2]+4;a=j[g+64>>2]}b=p(a,36)+f|0;j[b>>2]=j[e+24>>2];j[g+64>>2]=a+1;j[b+4>>2]=a;break z}a=j[e+24>>2];if(a){qe[j[u+8>>2]](u,a)}}j[e+24>>2]=0;j[e>>2]=j[e>>2]&1073741695|128;break f}c=j[e+28>>2]==-1;s=j[g+(c?64:52)>>2]-1|0;t=j[g+(c?68:56)>>2];if(d&2048){c=j[e+8>>2];b=p(s,36)+t|0;if(c>>>0>=l[b+14>>1]){if((d|0)<0){break f}j[e>>2]=d|-2147483648;i[g+278660>>1]=1;break f}d=c;c=j[b+28>>2];b=j[b+24>>2]+p(d,c)|0;d=c<<1;L:{if(!d){c=0;break L}M:{while(1){c=f;o=k[f+a|0];f=o<<24>>24;if(!(k[(o>>>3|0)+9648|0]>>>(f&7)&1)){break M}h[b|0]=k[f+9712|0]+(k[b|0]<<4);f=c+1|0;if(!(!(c&1)|d>>>0<=f>>>0)){h[b+1|0]=0;b=b+1|0}if((d|0)!=(f|0)){continue}break}c=d;break L}f=j[e>>2];if(f&1073741824){break L}j[e>>2]=f|1073741824;i[g+278660>>1]=1}f=l[(p(s,36)+t|0)+12>>1];if(f){h[b|0]=k[b|0]&k[(p(f,l[j[e+32>>2]+278662>>1])&7)+9913|0]}N:{if((c|0)!=(d|0)){break N}a=k[a+d|0];if(!(k[(a>>>3|0)+9648|0]>>>(a&7)&1)){break N}a=j[e>>2];if(a&1073741824){break N}j[e>>2]=a|1073741824;i[g+278660>>1]=1}j[e+8>>2]=j[e+8>>2]+1;break f}O:{P:{if(Qe(a,9921,6)){break P}Q:{switch(k[a+6|0]){case 0:case 9:case 10:case 13:case 32:break Q;default:break P}}if(!(d&128)){break O}c=e+139304|0;b=jg(c,8512,a,b);j[r+8>>2]=b;if(b){break b}d=0;a=j[j[c>>2]+4>>2];R:{if(!a){break R}n=k[a|0];if(!n){break R}f=9680;c=10;b=a;S:{if((n|0)!=48){break S}if((k[a+1|0]|32)!=120){n=48;b=a;break S}n=k[a+2|0];f=9648;c=16;b=a+2|0}a=n<<24>>24;if(!(k[((n&248)>>>3|0)+f|0]>>>(a&7)&1)){break R}while(1){d=k[a+9712|0]+p(c,d)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+f|0]>>>(a&7)&1){continue}break}}i[(p(s,36)+t|0)+8>>1]=d;j[e>>2]=j[e>>2]|256;break f}T:{if(Qe(a,9928,6)){break T}U:{switch(k[a+6|0]){case 0:case 9:case 10:case 13:case 32:break U;default:break T}}if(!(d&128)){break O}c=e+139304|0;b=jg(c,8512,a,b);j[r+8>>2]=b;if(b){break b}a=j[j[c>>2]+4>>2];V:{if(!a){break V}q=k[a|0];if(!q){break V}c=9680;n=10;b=a;W:{if((q|0)!=48){break W}if((k[a+1|0]|32)!=120){q=48;b=a;break W}q=k[a+2|0];c=9648;n=16;b=a+2|0}a=q<<24>>24;if(!(k[((q&248)>>>3|0)+c|0]>>>(a&7)&1)){break V}while(1){f=k[a+9712|0]+p(f,n)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}}c=p(s,36)+t|0;i[c+10>>1]=f;b=e;a=j[b>>2];if(!(a&256)){A=c,B=Ne(f&65535,72e3,p(j[g+20>>2],j[g+16>>2])),i[A+8>>1]=B;a=j[e>>2]}j[b>>2]=a|512;break f}X:{if(Qe(a,9935,3)){break X}Y:{switch(k[a+3|0]){case 0:case 9:case 10:case 13:case 32:break Y;default:break X}}if(!(d&128)){break O}d=e+139304|0;b=jg(d,8512,a,b);j[r+8>>2]=b;if(b){break b}c=0;v=j[d>>2];a=j[v+4>>2];Z:{if(!a){break Z}d=k[a|0];if(!d){break Z}n=9680;q=10;b=a;_:{if((d|0)!=48){break _}if((k[a+1|0]|32)!=120){d=48;b=a;break _}d=k[a+2|0];n=9648;q=16;b=a+2|0}a=d<<24>>24;if(!(k[((d&248)>>>3|0)+n|0]>>>(a&7)&1)){break Z}while(1){f=k[a+9712|0]+p(f,q)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+n|0]>>>(a&7)&1){continue}break}}o=p(s,36)+t|0;i[o+12>>1]=f;a=j[v+8>>2];$:{if(!a){break $}d=k[a|0];if(!d){break $}n=9680;q=10;b=a;aa:{if((d|0)!=48){break aa}if((k[a+1|0]|32)!=120){d=48;b=a;break aa}d=k[a+2|0];n=9648;q=16;b=a+2|0}a=d<<24>>24;if(!(k[((d&248)>>>3|0)+n|0]>>>(a&7)&1)){break $}while(1){c=k[a+9712|0]+p(c,q)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+n|0]>>>(a&7)&1){continue}break}}i[o+14>>1]=c;y=p(s,36)+t|0;x=y;a=j[v+12>>2];o=0;ba:{if(!a){break ba}z=k[a|0];o=0;if(!z){break ba}q=9680;d=10;n=(z|0)==45;o=n?a+1|0:a;b=o;a=k[a+n|0];ca:{if((a|0)!=48){break ca}if((k[o+1|0]|32)!=120){a=48;b=o;break ca}a=k[o+2|0];q=9648;d=16;b=o+2|0}n=0;o=k[((a&248)>>>3|0)+q|0];a=a<<24>>24;if(o>>>(a&7)&1){while(1){n=k[a+9712|0]+p(d,n)<<16>>16;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+q|0]>>>(a&7)&1){continue}break}}o=(z|0)==45?0-n|0:n}i[x+16>>1]=o;a=j[v+16>>2];da:{if(!a){break da}v=k[a|0];if(!v){break da}q=9680;d=10;w=(v|0)==45;n=w?a+1|0:a;b=n;a=k[a+w|0];ea:{if((a|0)!=48){break ea}if((k[n+1|0]|32)!=120){a=48;b=n;break ea}a=k[n+2|0];q=9648;d=16;b=n+2|0}n=0;x=k[((a&248)>>>3|0)+q|0];a=a<<24>>24;if(x>>>(a&7)&1){while(1){n=k[a+9712|0]+p(d,n)<<16>>16;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+q|0]>>>(a&7)&1){continue}break}}w=(v|0)==45?0-n|0:n}a=0-w|0;i[y+22>>1]=a;b=c+w|0;i[y+20>>1]=b;i[y+18>>1]=w;c=f+o|0;i[e+22>>1]=c;d=i[e+18>>1];i[e+18>>1]=(d|0)>16?b:d;b=i[e+20>>1];i[e+20>>1]=(b|0)>16?a:b;a=i[e+16>>1];i[e+16>>1]=(a|0)>16?c:a;a=i[e+12>>1];b=a;a=o<<16>>16;i[e+12>>1]=(b|0)>(a|0)?o:b;b=i[e+14>>1];i[e+14>>1]=(a|0)>(b|0)?o:b;a=j[e>>2];if(!(a&512)){i[(p(s,36)+t|0)+10>>1]=f}fa:{if(!j[j[e+36>>2]>>2]){break fa}a=p(s,36)+t|0;b=Ne(l[a+10>>1],72e3,p(j[g+20>>2],j[g+16>>2]));if(l[a+8>>1]==(b&65535)){a=j[e>>2];break fa}i[a+8>>1]=b;ga:{if(j[e+28>>2]==-1){b=j[g+64>>2]-1|0;a=(g+(b>>>3&536870908)|0)+139396|0;break ga}b=j[(p(s,36)+t|0)+4>>2];a=(g+(b>>5<<2)|0)+132|0}j[a>>2]=j[a>>2]|1<>2];i[g+278660>>1]=1;a=a|4096}j[e>>2]=a|1024;break f}if(Qe(a,9939,6)){break j}ha:{switch(k[a+6|0]){case 0:case 9:case 10:case 13:case 32:break ha;default:break j}}c=183;if(!(d&1024)){break i}a=p(s,36)+t|0;c=p(l[g+278662>>1],l[a+12>>1]);b=c+7>>>3|0;j[a+28>>2]=b;ia:{if(c>>>0<=524280){a=p(b,l[a+14>>1]);if(a>>>0<65536){break ia}}c=184;break i}b=p(s,36)+t|0;i[b+32>>1]=a;A=b,B=xe(u,1,0,a,0,r+8|0),j[A+24>>2]=B;b=j[r+8>>2];if(b){break b}j[e+8>>2]=0;j[e>>2]=j[e>>2]|2048;break f}c=182;break i}eg(j[g+56>>2],j[g+52>>2],36,56);j[e>>2]=j[e>>2]&-2;break f}j[g+48>>2]=0;j[e+4>>2]=0;break h}c=3}b=c;j[o+8>>2]=b;break b}f=64;j[g+48>>2]=64}A=g,B=xe(u,36,0,f,0,r+8|0),j[A+56>>2]=B;b=j[r+8>>2];if(b){break b}j[e>>2]=j[e>>2]|32}b=j[r+8>>2]}if(b){break b}b=0;break a}if(!(k[e|0]&64)){break a}a=j[e+24>>2];if(a){qe[j[u+8>>2]](u,a)}j[e+24>>2]=0;b=j[r+8>>2]}oe=r+16|0;return b|0}function Xk(a,b,c,d){var e=0,f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;e=oe-144|0;oe=e;j[e+140>>2]=0;u=j[a+12>>2];x=j[a>>2];a:{if(!(c>>>0<2|l[x+290>>1]>=c>>>0)){j[e+140>>2]=21;break a}j[a+20>>2]=b;r=65536;o=65536;if(!(h[a+16|0]&1)){f=j[a+4>>2];r=j[f+52>>2];o=j[f+48>>2]}y=j[j[x+128>>2]+48>>2];b:{if(y){f=qe[j[j[y>>2]>>2]](j[y+4>>2],b,e+88|0)|0;j[e+140>>2]=f;if(f){break a}p=j[e+92>>2];j[a+28>>2]=p;j[e+128>>2]=0;j[e+132>>2]=0;j[e+120>>2]=0;j[e+124>>2]=0;j[e+112>>2]=0;j[e+116>>2]=0;j[e+104>>2]=0;j[e+108>>2]=0;j[e+96>>2]=0;j[e+100>>2]=0;f=j[e+88>>2];j[e+128>>2]=0;j[e+104>>2]=0;j[e+100>>2]=p;j[e+96>>2]=f;j[e+116>>2]=0;j[e+120>>2]=0;j[a+24>>2]=e+96;p=0;break b}p=Yk(x,b,a+28|0)}t=j[a+28>>2];f=t;c:{d:{e:{f:{if((f|0)>=1){f=j[a+84>>2];if(!(f|j[j[x+128>>2]+48>>2])){j[e+140>>2]=8;break c}f=qe[j[x+512>>2]](a,b,f+p|0,t)|0;j[e+140>>2]=f;if(f){break c}f=qe[j[x+520>>2]](a)|0;j[e+140>>2]=f;if(f){break f}f=Sn(a,b);j[e+140>>2]=f;if(d|f){break f}f=j[a+28>>2]}g:{h:{if(f){s=l[a+32>>1];if(s){break h}}j[a+36>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+48>>2]=0;c=Sn(a,b);j[e+140>>2]=c;if(c|d){break g}j[a+184>>2]=0;j[a+192>>2]=0;j[a+72>>2]=0;j[a+80>>2]=0;p=j[a+52>>2];c=j[a+36>>2]-p|0;j[a+68>>2]=c;f=j[a+56>>2];j[a+76>>2]=f+c;c=j[a+176>>2]+j[a+48>>2]|0;j[a+188>>2]=c;j[a+196>>2]=c-j[a+180>>2];c=j[a>>2];g=j[j[c+128>>2]+48>>2];i:{if(!g){break i}d=j[j[g>>2]+8>>2];if(!d){break i}j[e+60>>2]=0;j[e+56>>2]=f;j[e+52>>2]=0;j[e+48>>2]=p;j:{if(qe[d|0](j[g+4>>2],b,0,e+48|0)|0){break j}c=i[e+48>>1];d=l[e+56>>1];j[a+176>>2]=0;j[a+180>>2]=0;j[a+56>>2]=d;j[a+52>>2]=c;if(k[a+64|0]){break j}j[a+60>>2]=d;h[a+64|0]=1}c=j[a>>2]}if(k[c+672|0]){j[e+44>>2]=16843009;j[e+32>>2]=65536;j[e+36>>2]=196610;j[e+48>>2]=j[a+68>>2];j[e+52>>2]=j[a+72>>2];j[e+56>>2]=j[a+76>>2];j[e+60>>2]=j[a+80>>2];j[e+64>>2]=j[a+184>>2];j[e+68>>2]=j[a+188>>2];j[e+72>>2]=j[a+192>>2];j[e+76>>2]=j[a+196>>2];j[e+8>>2]=262148;j[e+20>>2]=e+32;j[e+16>>2]=e+44;j[e+12>>2]=e+48;b=Ok(c,b,e+8|0,4);j[e+140>>2]=b;if(b){break g}j[a+68>>2]=j[e+48>>2];j[a+72>>2]=j[e+52>>2];j[a+76>>2]=j[e+56>>2];j[a+80>>2]=j[e+60>>2];j[a+184>>2]=j[e+64>>2];j[a+188>>2]=j[e+68>>2];j[a+192>>2]=j[e+72>>2];j[a+196>>2]=j[e+76>>2]}if(!(h[a+16|0]&1)){H=a,I=ye(j[a+68>>2],o),j[H+68>>2]=I;H=a,I=ye(j[a+76>>2],o),j[H+76>>2]=I;H=a,I=ye(j[a+184>>2],o),j[H+184>>2]=I;H=a,I=ye(j[a+188>>2],r),j[H+188>>2]=I;H=a,I=ye(j[a+192>>2],o),j[H+192>>2]=I;H=a,I=ye(j[a+196>>2],r),j[H+196>>2]=I}j[e+140>>2]=0;break g}j[a+184>>2]=0;j[a+192>>2]=0;j[a+72>>2]=0;j[a+80>>2]=0;w=j[a+52>>2];d=j[a+36>>2]-w|0;j[a+68>>2]=d;f=j[a+56>>2];j[a+76>>2]=f+d;d=j[a+176>>2]+j[a+48>>2]|0;j[a+188>>2]=d;j[a+196>>2]=d-j[a+180>>2];p=j[j[j[a>>2]+128>>2]+48>>2];k:{if(!p){break k}d=j[j[p>>2]+8>>2];if(!d){break k}j[e+60>>2]=0;j[e+56>>2]=f;j[e+52>>2]=0;j[e+48>>2]=w;l:{if(qe[d|0](j[p+4>>2],b,0,e+48|0)|0){break l}d=i[e+48>>1];f=l[e+56>>1];j[a+176>>2]=0;j[a+180>>2]=0;j[a+56>>2]=f;j[a+52>>2]=d;if(k[a+64|0]){break l}j[a+60>>2]=f;h[a+64|0]=1}s=l[a+32>>1]}if(s<<16>>16>=1){b=qe[j[x+524>>2]](a)|0;j[e+140>>2]=b;if(b){break g}qe[j[x+516>>2]](a);n=j[a+12>>2];d=n;q=i[d+58>>1];b=j[a+72>>2];c=j[d+60>>2]+(q<<3)|0;j[c>>2]=j[a+68>>2];j[c+4>>2]=b;b=j[a+80>>2];v=q+1|0;c=j[d+60>>2]+(v<<3)|0;j[c>>2]=j[a+76>>2];j[c+4>>2]=b;b=j[a+188>>2];t=q+2|0;c=j[d+60>>2]+(t<<3)|0;j[c>>2]=j[a+184>>2];j[c+4>>2]=b;b=j[a+196>>2];g=q+3|0;c=j[d+60>>2]+(g<<3)|0;j[c>>2]=j[a+192>>2];j[c+4>>2]=b;b=d- -64|0;h[q+j[b>>2]|0]=0;h[v+j[b>>2]|0]=0;h[t+j[b>>2]|0]=0;h[g+j[b>>2]|0]=0;p=q+4|0;m:{b=j[a>>2];if(!k[b+672|0]){break m}b=Ok(b,j[a+20>>2],n+56|0,p);if(!b){break m}j[e+140>>2]=b;break c}o=j[a+16>>2];if(!(o&2)){f=l[n+58>>1];i[a+132>>1]=f;i[a+134>>1]=l[n+56>>1];j[a+136>>2]=j[n+76>>2];d=j[n+60>>2];j[a+140>>2]=d;c=j[n+80>>2];j[a+144>>2]=c;j[a+148>>2]=j[n+64>>2];b=j[n+68>>2];i[a+156>>1]=0;j[a+152>>2]=b;Ae(c,d,(f<<3)+32|0);o=j[a+16>>2]}if(!(o&1)){b=j[n+60>>2];c=a;if((q|0)>=-3){p=(p<<3)+b|0;d=j[a+4>>2];f=j[d+52>>2];d=j[d+48>>2];while(1){H=b,I=ye(j[b>>2],d),j[H>>2]=I;H=b,I=ye(j[b+4>>2],f),j[H+4>>2]=I;b=b+8|0;if(p>>>0>b>>>0){continue}break}o=j[a+16>>2];b=j[n+60>>2]}d=(q<<3)+b|0;b=j[d+4>>2];j[c+68>>2]=j[d>>2];j[c+72>>2]=b;c=j[n+60>>2]+(v<<3)|0;b=j[c+4>>2];j[a+76>>2]=j[c>>2];j[a+80>>2]=b;c=j[n+60>>2]+(t<<3)|0;b=j[c+4>>2];j[a+184>>2]=j[c>>2];j[a+188>>2]=b;c=j[n+60>>2]+(g<<3)|0;b=j[c+4>>2];j[a+192>>2]=j[c>>2];j[a+196>>2]=b}if(o&2){j[e+140>>2]=0;Yh(u);break c}i[a+132>>1]=l[a+132>>1]+4;a=Rn(a,0);j[e+140>>2]=a;if(a){break c}Yh(u);break c}if((s&65535)==65535){p=i[u+22>>1];z=i[u+20>>1];d=qe[j[x+528>>2]](a)|0;j[e+140>>2]=d;if(d){break g}B=j[a+168>>2];qe[j[x+516>>2]](a);if(k[x+672|0]){f=j[x+100>>2];n=j[u+84>>2];d=n+4|0;i[e+48>>1]=d;i[e+50>>1]=d;t=d<<16>>16;q=xe(f,8,0,t,0,e+140|0);n:{if(j[e+140>>2]){break n}v=xe(f,1,0,t,0,e+140|0);if(j[e+140>>2]){break n}w=xe(f,2,0,t,0,e+140|0);if(j[e+140>>2]){break n}if(n){s=j[u+88>>2]+(j[u+48>>2]<<5)|0;d=0;while(1){g=q+(d<<3)|0;j[g>>2]=j[s+8>>2];j[g+4>>2]=j[s+12>>2];h[d+v|0]=1;i[(d<<1)+w>>1]=d;s=s+32|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}}d=q+(n<<3)|0;j[d>>2]=j[a+68>>2];j[d+4>>2]=j[a+72>>2];h[n+v|0]=1;i[(n<<1)+w>>1]=n;g=n+1|0;d=q+(g<<3)|0;j[d>>2]=j[a+76>>2];j[d+4>>2]=j[a+80>>2];h[g+v|0]=1;i[(g<<1)+w>>1]=g;g=n+2|0;d=q+(g<<3)|0;j[d>>2]=j[a+184>>2];j[d+4>>2]=j[a+188>>2];h[g+v|0]=1;i[(g<<1)+w>>1]=g;g=n+3|0;d=q+(g<<3)|0;j[d>>2]=j[a+192>>2];j[d+4>>2]=j[a+196>>2];h[g+v|0]=1;i[(g<<1)+w>>1]=g;j[e+60>>2]=w;j[e+56>>2]=v;j[e+52>>2]=q;b=Ok(x,b,e+48|0,t);j[e+140>>2]=b;if(b){break n}if(n){b=j[u+88>>2]+(j[u+48>>2]<<5)|0;d=0;while(1){g=q+(d<<3)|0;j[b+8>>2]=i[g>>1];j[b+12>>2]=i[g+4>>1];b=b+32|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}}b=q+(n<<3)|0;j[a+68>>2]=j[b>>2];j[a+72>>2]=j[b+4>>2];j[a+76>>2]=j[b+8>>2];j[a+80>>2]=j[b+12>>2];j[a+184>>2]=j[b+16>>2];j[a+188>>2]=j[b+20>>2];j[a+192>>2]=j[b+24>>2];j[a+196>>2]=j[b+28>>2]}if(q){qe[j[f+8>>2]](f,q)}if(v){qe[j[f+8>>2]](f,v)}if(w){qe[j[f+8>>2]](f,w)}if(j[e+140>>2]){break c}}b=j[a+16>>2];if(!(b&1)){H=a,I=ye(j[a+68>>2],o),j[H+68>>2]=I;H=a,I=ye(j[a+76>>2],o),j[H+76>>2]=I;H=a,I=ye(j[a+184>>2],o),j[H+184>>2]=I;H=a,I=ye(j[a+188>>2],r),j[H+188>>2]=I;H=a,I=ye(j[a+192>>2],o),j[H+192>>2]=I;H=a,I=ye(j[a+196>>2],r),j[H+196>>2]=I;b=j[a+16>>2]}if(b&1024){Yh(u);j[j[a+8>>2]+72>>2]=1668246896;break c}C=j[u+48>>2];A=j[u+84>>2];D=j[a+28>>2];E=j[a+24>>2];Yh(u);o:{if(!A){s=0;b=p;break o}F=c+1|0;w=0;while(1){c=i[u+22>>1];G=j[a+192>>2];o=j[a+196>>2];r=j[a+184>>2];n=j[a+188>>2];q=j[a+76>>2];v=j[a+80>>2];t=j[a+68>>2];g=j[a+72>>2];d=w<<5;f=C<<5;b=Xk(a,j[d+(f+j[u+52>>2]|0)>>2],F,0);j[e+140>>2]=b;if(b){break c}s=d+(f+j[u+52>>2]|0)|0;if(!(k[s+5|0]&2)){j[a+192>>2]=G;j[a+196>>2]=o;j[a+184>>2]=r;j[a+188>>2]=n;j[a+76>>2]=q;j[a+80>>2]=v;j[a+68>>2]=t;j[a+72>>2]=g}g=l[u+22>>1];d=c&65535;if((g|0)!=(d|0)){f=j[a+12>>2];b=l[f+22>>1];q=b<<16>>16;t=j[f+24>>2];o=l[s+4>>1];v=o&200;if(!(!v|b>>>0<=d>>>0)){d=s+16|0;b=c;while(1){Qg(t+(b<<3)|0,d);b=b+1|0;if((q|0)!=(b|0)){continue}break}o=l[s+4>>1]}d=j[s+12>>2];r=j[s+8>>2];p:{q:{if(!(o&2)){b=r+p|0;if(b>>>0>=c>>>0){break e}d=c+d|0;if(d>>>0>=q>>>0){break e}n=b<<3;b=j[f+24>>2];f=n+b|0;b=b+(d<<3)|0;d=j[f+4>>2]-j[b+4>>2]|0;r=j[f>>2]-j[b>>2]|0;break q}if(!(d|r)){break p}if(!(!v|!(o&2048))){f=ig(j[s+16>>2],j[s+20>>2]);b=ig(j[s+28>>2],j[s+24>>2]);r=ye(r,f);d=ye(d,b)}if(h[a+16|0]&1){break q}f=j[a+4>>2];b=j[f+52>>2];f=ye(r,j[f+48>>2]);d=ye(d,b);b=k[s+4|0]&4;r=b?f+32&-64:f;d=b?d+32&-64:d}if(!(d|r)){break p}f=t+(c<<3)|0;t=q-c|0;r:{if(!t){break r}b=0;if(!r){break r}while(1){c=f+(b<<3)|0;j[c>>2]=j[c>>2]+r;b=b+1|0;if((t|0)!=(b|0)){continue}break}}if(!t){break p}b=0;if(!d){break p}while(1){c=f+(b<<3)|0;j[c+4>>2]=j[c+4>>2]+d;b=b+1|0;if((t|0)!=(b|0)){continue}break}}j[e+140>>2]=0}w=w+1|0;if((A|0)!=(w|0)){continue}break}b=g<<16>>16}j[a+168>>2]=B;j[a+28>>2]=D;j[a+24>>2]=E;if(!(l[s+4>>1]&256)|(k[a+16|0]&2|b>>>0<=p>>>0)){break c}f=j[a+12>>2];d=i[f+22>>1];b=d+4|0;s:{if(!b){d=-4;break s}if(m[f+4>>2]>=i[f+58>>1]+(b+d|0)>>>0){break s}c=yf(f,b,0);if(c){break d}d=i[f+22>>1]}b=j[a+72>>2];c=j[f+24>>2]+(d<<3)|0;j[c>>2]=j[a+68>>2];j[c+4>>2]=b;b=j[a+80>>2];c=j[f+24>>2]+(i[f+22>>1]<<3)|0;j[c+8>>2]=j[a+76>>2];j[c+12>>2]=b;b=j[a+188>>2];c=j[f+24>>2]+(i[f+22>>1]<<3)|0;j[c+16>>2]=j[a+184>>2];j[c+20>>2]=b;b=j[a+196>>2];c=j[f+24>>2]+(i[f+22>>1]<<3)|0;j[c+24>>2]=j[a+192>>2];j[c+28>>2]=b;h[j[f+28>>2]+i[f+22>>1]|0]=0;h[(i[f+22>>1]+j[f+28>>2]|0)+1|0]=0;h[(i[f+22>>1]+j[f+28>>2]|0)+2|0]=0;h[(i[f+22>>1]+j[f+28>>2]|0)+3|0]=0;b=j[a+24>>2];c=Fe(b,j[a+168>>2]);j[e+8>>2]=c;if(c){break d}d=qf(b,e+8|0);c=j[e+8>>2];if(c){break d}t:{if(d>>>0>l[j[a>>2]+286>>1]){c=22;if((d|0)>j[a+28>>2]){break d}c=0;o=j[a+160>>2];r=j[o+388>>2];if(d>>>0>r>>>0){H=o,I=xe(j[o+8>>2],1,r,d,j[o+392>>2],e+48|0),j[H+392>>2]=I;o=j[a+160>>2];c=j[e+48>>2];r=c?r:d}j[e+8>>2]=c;j[o+388>>2]=r&65535;if(!c){break t}break d}if(!d){j[e+140>>2]=0;break c}o=j[a+160>>2]}c=uf(b,j[o+392>>2],d);j[e+8>>2]=c;if(c){break d}c=j[j[a+160>>2]+392>>2];b=j[a+8>>2];j[b+140>>2]=d;j[b+136>>2]=c;c=j[a+12>>2];f=l[c+22>>1]-p|0;i[a+132>>1]=f;i[a+134>>1]=l[c+20>>1]-z;b=p<<3;j[a+136>>2]=b+j[c+40>>2];j[a+140>>2]=b+j[c+24>>2];j[a+144>>2]=b+j[c+44>>2];g=j[c+28>>2]+p|0;j[a+148>>2]=g;c=j[c+32>>2];i[a+156>>1]=p;b=1;j[a+152>>2]=c+(z<<1);d=a;if(f&65535){h[g|0]=k[g|0]&231;c=l[a+132>>1];if(c>>>0>=2){while(1){c=j[a+148>>2]+b|0;h[c|0]=k[c|0]&231;b=b+1|0;c=l[a+132>>1];if(b>>>0>>0){continue}break}}b=c+4|0}else{b=4}i[d+132>>1]=b;H=e,I=Rn(a,1),j[H+140>>2]=I;break c}j[e+140>>2]=20}if((t|0)<1){break c}}qe[j[x+516>>2]](a);break c}j[e+140>>2]=21;break c}j[e+140>>2]=c}if(!y){break a}a=j[j[x+128>>2]+48>>2];qe[j[j[a>>2]+4>>2]](j[a+4>>2],e+88|0)}oe=e+144|0;return j[e+140>>2]}function JK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;A=j[a+28>>2];if(A){B=j[a+36>>2];C=j[a+16>>2];y=j[a+24>>2];D=y&3;y=(y+3|0)/4|0;q=j[a>>2];f=j[a+20>>2];e=j[a+40>>2];w=k[e+9|0];z=w-1|0;b=j[a+44>>2];x=k[b+9|0];v=x-1|0;while(1){a=y;a:{b:{switch(D-1|0){default:g=3;break a;case 0:g=2;break a;case 1:g=1;break a;case 2:break b}}g=0}while(1){c:{d:{switch(g|0){case 0:e:{f:{g:{h:{switch(z|0){case 0:d=k[q|0];break g;case 1:d=l[q>>1];break g;case 2:n=(k[e+34|0]>>>3|0)+q|0;o=(k[e+33|0]>>>3|0)+q|0;g=255;d=(k[e+32|0]>>>3|0)+q|0;break f;case 3:break h;default:break e}}d=j[q>>2]}g=k[j[(k[e+31|0]<<2)+234976>>2]+((d&j[e+24>>2])>>>k[e+35|0]|0)|0];if(!g){break e}n=j[(k[e+30|0]<<2)+234976>>2]+((d&j[e+20>>2])>>>k[e+34|0]|0)|0;o=j[(k[e+29|0]<<2)+234976>>2]+((d&j[e+16>>2])>>>k[e+33|0]|0)|0;d=j[(k[e+28|0]<<2)+234976>>2]+((d&j[e+12>>2])>>>k[e+32|0]|0)|0}s=k[n|0];t=k[o|0];d=k[d|0];m=0;n=0;o=0;r=0;i:{j:{switch(v|0){case 0:c=k[f|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[f>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:n=k[(k[b+34|0]>>>3|0)+f|0];o=k[(k[b+33|0]>>>3|0)+f|0];r=k[(k[b+32|0]>>>3|0)+f|0];m=255;break i;case 3:break j;default:break i}}c=j[f>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(g+m|0)-((p(g,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,g)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,g)|0)/255|0)+o|0;c=t&255;d=((p(d-r|0,g)|0)/255|0)+r|0;g=d&255;k:{switch(v|0){case 0:h[f|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+f|0]=d;h[(k[b+33|0]>>>3|0)+f|0]=t;h[(k[b+34|0]>>>3|0)+f|0]=s;break e;case 3:break k;default:break e}}j[f>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break n;case 2:n=(k[e+34|0]>>>3|0)+q|0;o=(k[e+33|0]>>>3|0)+q|0;g=255;d=(k[e+32|0]>>>3|0)+q|0;break m;case 3:break o;default:break l}}d=j[q>>2]}g=k[j[(k[e+31|0]<<2)+234976>>2]+((d&j[e+24>>2])>>>k[e+35|0]|0)|0];if(!g){break l}n=j[(k[e+30|0]<<2)+234976>>2]+((d&j[e+20>>2])>>>k[e+34|0]|0)|0;o=j[(k[e+29|0]<<2)+234976>>2]+((d&j[e+16>>2])>>>k[e+33|0]|0)|0;d=j[(k[e+28|0]<<2)+234976>>2]+((d&j[e+12>>2])>>>k[e+32|0]|0)|0}s=k[n|0];t=k[o|0];d=k[d|0];m=0;n=0;o=0;r=0;p:{q:{switch(v|0){case 0:c=k[f|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 1:c=l[f>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 2:n=k[(k[b+34|0]>>>3|0)+f|0];o=k[(k[b+33|0]>>>3|0)+f|0];r=k[(k[b+32|0]>>>3|0)+f|0];m=255;break p;case 3:break q;default:break p}}c=j[f>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(g+m|0)-((p(g,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,g)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,g)|0)/255|0)+o|0;c=t&255;d=((p(d-r|0,g)|0)/255|0)+r|0;g=d&255;r:{switch(v|0){case 0:h[f|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+f|0]=d;h[(k[b+33|0]>>>3|0)+f|0]=t;h[(k[b+34|0]>>>3|0)+f|0]=s;break l;case 3:break r;default:break l}}j[f>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break u;case 2:n=(k[e+34|0]>>>3|0)+q|0;o=(k[e+33|0]>>>3|0)+q|0;g=255;d=(k[e+32|0]>>>3|0)+q|0;break t;case 3:break v;default:break s}}d=j[q>>2]}g=k[j[(k[e+31|0]<<2)+234976>>2]+((d&j[e+24>>2])>>>k[e+35|0]|0)|0];if(!g){break s}n=j[(k[e+30|0]<<2)+234976>>2]+((d&j[e+20>>2])>>>k[e+34|0]|0)|0;o=j[(k[e+29|0]<<2)+234976>>2]+((d&j[e+16>>2])>>>k[e+33|0]|0)|0;d=j[(k[e+28|0]<<2)+234976>>2]+((d&j[e+12>>2])>>>k[e+32|0]|0)|0}s=k[n|0];t=k[o|0];d=k[d|0];m=0;n=0;o=0;r=0;w:{x:{switch(v|0){case 0:c=k[f|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 1:c=l[f>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 2:n=k[(k[b+34|0]>>>3|0)+f|0];o=k[(k[b+33|0]>>>3|0)+f|0];r=k[(k[b+32|0]>>>3|0)+f|0];m=255;break w;case 3:break x;default:break w}}c=j[f>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(g+m|0)-((p(g,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,g)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,g)|0)/255|0)+o|0;c=t&255;d=((p(d-r|0,g)|0)/255|0)+r|0;g=d&255;y:{switch(v|0){case 0:h[f|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+f|0]=d;h[(k[b+33|0]>>>3|0)+f|0]=t;h[(k[b+34|0]>>>3|0)+f|0]=s;break s;case 3:break y;default:break s}}j[f>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break B;case 2:n=(k[e+34|0]>>>3|0)+q|0;o=(k[e+33|0]>>>3|0)+q|0;g=255;d=(k[e+32|0]>>>3|0)+q|0;break A;case 3:break C;default:break z}}d=j[q>>2]}g=k[j[(k[e+31|0]<<2)+234976>>2]+((d&j[e+24>>2])>>>k[e+35|0]|0)|0];if(!g){break z}n=j[(k[e+30|0]<<2)+234976>>2]+((d&j[e+20>>2])>>>k[e+34|0]|0)|0;o=j[(k[e+29|0]<<2)+234976>>2]+((d&j[e+16>>2])>>>k[e+33|0]|0)|0;d=j[(k[e+28|0]<<2)+234976>>2]+((d&j[e+12>>2])>>>k[e+32|0]|0)|0}s=k[n|0];t=k[o|0];d=k[d|0];m=0;n=0;o=0;r=0;D:{E:{switch(v|0){case 0:c=k[f|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 1:c=l[f>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 2:n=k[(k[b+34|0]>>>3|0)+f|0];o=k[(k[b+33|0]>>>3|0)+f|0];r=k[(k[b+32|0]>>>3|0)+f|0];m=255;break D;case 3:break E;default:break D}}c=j[f>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(g+m|0)-((p(g,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,g)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,g)|0)/255|0)+o|0;c=t&255;d=((p(d-r|0,g)|0)/255|0)+r|0;g=d&255;F:{switch(v|0){case 0:h[f|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+f|0]=d;h[(k[b+33|0]>>>3|0)+f|0]=t;h[(k[b+34|0]>>>3|0)+f|0]=s;break z;case 3:break F;default:break z}}j[f>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];if(!(!e|!l[b>>1])){Ee(g+8|0,0,128);B=j[c>>2];j[g+24>>2]=B;E=g,F=xe(B,40,0,e,0,g+144|0),j[E+16>>2]=F;u=j[g+144>>2];a:{if(u){break a}n=xe(B,8,0,i[b>>1],0,g+144|0);j[g+20>>2]=n;u=j[g+144>>2];if(u){break a}u=i[b+2>>1];j[g+8>>2]=u;e=i[b>>1];j[g+12>>2]=e;q=j[g+16>>2];if(e){x=e>>>0>1?e:1;t=j[b+12>>2];e=0;while(1){w=i[t+(r<<1)>>1];o=q+p(e,40)|0;j[n>>2]=o;s=w+1|0;f=s-e|0;j[n+4>>2]=f;if(f){j[o>>2]=q+p(w,40);j[o+8>>2]=n;e=o;if((f|0)!=1){while(1){j[e+48>>2]=n;w=e+40|0;j[e+4>>2]=w;j[e+40>>2]=e;e=w;f=f-1|0;if(f>>>0>1){continue}break}}j[e+4>>2]=o}n=n+8|0;e=s;r=r+1|0;if((x|0)!=(r|0)){continue}break}}b:{if(!u){j[g+32>>2]=c;j[g+28>>2]=b;break b}s=j[b+4>>2];f=0;e=q;while(1){x=(j[e+4>>2]-q|0)/40|0;n=(j[e>>2]-q|0)/40|0;if(!(h[j[b+8>>2]+f|0]&1)){j[e+12>>2]=1}r=e;o=s+(f<<3)|0;t=j[o+4>>2];u=s+(n<<3)|0;w=t-j[u+4>>2]|0;n=w>>31;v=j[o>>2];u=v-j[u>>2]|0;o=u>>31;o=o^o+u;y=n^n+w;n=(u|0)>-1?2:-2;c:{if((o|0)>(p(y,12)|0)){break c}n=4;if((y|0)<=(p(o,12)|0)){break c}n=(w|0)>-1?-1:1}o=n;h[r+20|0]=o;r=e;y=s+(x<<3)|0;x=j[y+4>>2]-t|0;n=x>>31;t=j[y>>2]-v|0;v=t>>31;v=v^t+v;y=n^n+x;n=(t|0)>-1?2:-2;d:{if((v|0)>(p(y,12)|0)){break d}n=4;if((y|0)<=(p(v,12)|0)){break d}n=(x|0)>-1?-1:1}h[r+21|0]=n;r=j[e+12>>2];e:{if(r&1){j[e+12>>2]=r|2;break e}if((o|0)!=(n|0)){break e}o=e;if((n|0)==4){if(!To(u,w,t,x)){break e}r=j[e+12>>2]}j[o+12>>2]=r|2}e=e+40|0;f=f+1|0;n=j[g+8>>2];if(f>>>0>>0){continue}break}j[g+32>>2]=c;j[g+28>>2]=b;if(!n){break b}f=j[b+4>>2];e=j[g+16>>2];while(1){j[e+24>>2]=0;j[e+16>>2]=0;b=j[f+4>>2];j[e+28>>2]=j[f>>2];j[e+32>>2]=b;f=f+8|0;e=e+40|0;n=n-1|0;if(n){continue}break}}if(j[g+12>>2]){while(1){b=j[g+20>>2]+(A<<3)|0;f:{if(m[b+4>>2]<4){break f}b=j[b>>2];e=b;while(1){e=j[e+4>>2];if((b|0)==(e|0)){break f}q=j[e+32>>2]-j[b+32>>2]|0;r=j[e+28>>2]-j[b+28>>2]|0;if(!(q|r)){continue}break}s=b;while(1){w=s;s=j[s>>2];if((b|0)==(s|0)){break f}f=j[w+32>>2]-j[s+32>>2]|0;o=j[w+28>>2]-j[s+28>>2]|0;if(!(f|o)){continue}n=Xo(r,q,o,f);if(!n){continue}break}r=w;while(1){u=n;x=f;t=o;q=r;s=0;while(1){n=j[e+32>>2];b=j[e+28>>2];while(1){r=e;e=j[e+4>>2];v=j[e+28>>2];o=v-b|0;b=j[e+32>>2];f=b-n|0;s=(e|0)==(w|0)?1:s;n=b;b=v;if(!(f|o)){continue}break}n=Xo(t,x,o,f);if(!n){continue}break}if((n^u)<=-1){while(1){j[q+12>>2]=j[q+12>>2]|4;q=j[q+4>>2];if((r|0)!=(q|0)){continue}break}j[r+12>>2]=j[r+12>>2]|4}if(!s){continue}break}}A=A+1|0;if(A>>>0>2]){continue}break}}u=Go(g+36|0,a+16|0,a+28|0,B);j[g+144>>2]=u;if(u){break a}u=Go(g+76|0,a+52|0,a- -64|0,B);if(u){break a}a=j[g+32>>2];x=j[a+200>>2];w=c+416|0;B=j[a+404>>2];a=ye(j[w>>2],B);b=a+32&-64;C=!b|(a|0)==(b|0);if(!C){e=Ne(B,b,a);il(j[g+32>>2],(a|0)>(b|0)?x+((x|0)/-50|0)|0:x,e,0,0)}i[g+128>>1]=257;h[g+132|0]=(d|0)!=1;h[g+131|0]=(d|0)==2|(d|0)==4;h[g+130|0]=(d&-2)==2;u=1;s=0;while(1){b=j[g+8>>2];if(b){f=j[j[g+28>>2]+4>>2];e=j[g+16>>2];o=b;while(1){j[e+24>>2]=0;j[e+16>>2]=0;a=u&1;d=j[(a?0:4)+f>>2];j[e+32>>2]=j[(a?4:0)+f>>2];j[e+28>>2]=d;f=f+8|0;e=e+40|0;o=o-1|0;if(o){continue}break}}n=j[g+12>>2];g:{if(!n){q=0;break g}r=0;t=j[g+20>>2];while(1){h:{a=t+(r<<3)|0;if(!j[a+4>>2]){break h}a=j[a>>2];f=a;while(1){f=j[f>>2];if((a|0)==(f|0)){q=r+1|0;break g}if(j[f+28>>2]==j[a+28>>2]){continue}break}q=j[f+4>>2];e=q;while(1){o=e;while(1){e=j[e+4>>2];if((q|0)==(e|0)){break h}d=j[e+28>>2];a=j[o+28>>2];if((d|0)==(a|0)){continue}break}i:{j:{if((a|0)>j[f+28>>2]){if((a|0)>(d|0)){break j}break i}if((a|0)>=(d|0)){break i}}while(1){j[o+16>>2]=j[o+16>>2]|64;o=j[o+4>>2];if((o|0)!=(e|0)){continue}break}}f=j[e>>2];continue}}q=0;r=r+1|0;if((n|0)!=(r|0)){continue}break}}while(1){if(b>>>0>q>>>0){d=j[g+16>>2];e=p(q,40);a=d+e|0;f=j[a+16>>2];k:{if(!(f&64)){break k}r=d+e|0;e=a;while(1){e=j[e>>2];if((a|0)==(e|0)){break k}n=j[e+32>>2];d=j[r+32>>2];if((n|0)==(d|0)){continue}break}e=a;while(1){e=j[e+4>>2];if((a|0)==(e|0)){break k}r=j[e+32>>2];if((r|0)==(d|0)){continue}break}if(!((d|0)<=(n|0)|(d|0)>=(r|0))){j[a+16>>2]=f|128;q=q+1|0;continue}if((d|0)<=(r|0)|(d|0)>=(n|0)){break k}j[a+16>>2]=f|256}q=q+1|0;continue}break}o=j[g+32>>2];n=(g+8|0)+p(s,40)|0;q=n+28|0;f=j[q>>2];if(f){e=j[n+36>>2];while(1){Fo(e,o,s,g+8|0);e=e+28|0;f=f-1|0;if(f){continue}break}o=j[g+32>>2]}a=j[n+60>>2];e=j[a+8>>2];b=j[a>>2];r=p(s,204);a=De(32,j[(r+o|0)+200>>2]);t=(a|0)<30?a:30;y=u&1;v=y?1:2;l:{m:{n:{if(b>>>0>=2){f=j[g+8>>2];d=0;if(!f){break l}a=j[e+12>>2];o=a>>>0>f>>>0?f:a;while(1){a=e;e=e+16|0;a=j[a+28>>2];a=a>>>0>>0?a:f;if(a>>>0>o>>>0){d=j[g+16>>2];Eo(q,e);Do(q,d+p(o,40)|0,a-o|0,t,v)}b=b-1|0;if(b>>>0<2){break n}f=j[g+8>>2];o=a;continue}}if((b|0)!=1){break m}}a=j[g+16>>2];b=j[g+8>>2];Eo(q,j[j[n+60>>2]+8>>2]);Do(q,a,b,t,v)}a=j[g+8>>2];d=0;if(!a){break l}e=j[g+16>>2];f=a;while(1){o:{if(!j[e+24>>2]){break o}b=j[e+16>>2];if(b&16){break o}j[e+16>>2]=b|16}e=e+40|0;f=f-1|0;if(f){continue}break}if(s&1){o=j[g+16>>2];q=a;while(1){b=k[o+20|0];p:{q:{if((b|0)==2|(b|0)==254){break q}b=k[o+21|0];if((b|0)==254){break q}if((b|0)!=2){break p}}b=j[o+16>>2];if(b&16){break p}d=j[o+28>>2];n=j[c+412>>2];r:{if(!n){break r}f=j[c+2488>>2];s=0-f|0;e=w;while(1){t=d-j[e+12>>2]|0;if((t|0)<(s|0)){break r}if(!((d|0)>(f+j[e+8>>2]|0)|((t|0)>j[c+2484>>2]?!k[c+2492|0]:0))){t=j[e+24>>2];b=b|48;j[o+16>>2]=b;j[o+36>>2]=t}e=e+32|0;n=n-1|0;if(n){continue}break}}n=j[c+928>>2];if(!n){break p}f=j[c+2488>>2];s=0-f|0;e=((n<<5)+c|0)+932|0;while(1){t=j[e-24>>2]-d|0;if((t|0)<(s|0)){break p}if(!((d|0)<(j[e-20>>2]-f|0)|((t|0)>=j[c+2484>>2]?!k[c+2492|0]:0))){t=j[e-4>>2];b=b|48;j[o+16>>2]=b;j[o+36>>2]=t}e=e-32|0;n=n-1|0;if(n){continue}break}}o=o+40|0;q=q-1|0;if(q){continue}break}}q=j[(r+j[g+32>>2]|0)+200>>2];e=j[g+16>>2];while(1){d=j[e+24>>2];if(d){b=e;f=j[e+16>>2];o=j[d+8>>2];s:{if(f&512){break s}o=j[d+12>>2]+j[d+8>>2]|0;if(f&1024){break s}f=j[e+28>>2]-j[d>>2]|0;if((f|0)<=0){o=j[d+8>>2]+ye(f,q)|0;break s}n=j[d+12>>2];o=j[d+8>>2];d=j[d+4>>2];if((d|0)<=(f|0)){o=ye(f-d|0,q)+(o+n|0)|0;break s}o=Ne(f,n,d)+o|0}j[b+36>>2]=o;j[e+16>>2]=j[e+16>>2]|32}e=e+40|0;a=a-1|0;if(a){continue}break}d=j[g+8>>2]}t:{if((d|0)<1){break t}q=j[g+16>>2];s=q+p(d,40)|0;f=0;e=q;while(1){f=(j[e+16>>2]>>>4&1)+f|0;e=e+40|0;if(s>>>0>e>>>0){continue}break}if(!f){break t}v=j[(r+j[g+32>>2]|0)+200>>2];t=j[g+24>>2];o=g+144|0;if(f>>>0>=17){o=xe(t,4,0,f,0,g+140|0);if(j[g+140>>2]){break t}}b=0;a=q;while(1){if(k[a+16|0]&16){e=(b<<2)+o|0;u:{if((b|0)<1){f=e;break u}d=j[a+28>>2];while(1){f=e-4|0;n=j[f>>2];if((d|0)>=j[n+28>>2]){f=e;break u}j[e>>2]=n;e=f;if(o>>>0>>0){continue}break}}j[f>>2]=a;b=b+1|0}a=a+40|0;if(s>>>0>a>>>0){continue}break}A=((b<<2)+o|0)-4|0;while(1){d=j[q+16>>2];v:{if(d&16){break v}a=j[q+12>>2];if(a&2){e=k[q+20|0];if(!(a&4|d&64)|((e|0)==4|(e|0)!=k[q+21|0])){break v}j[q+12>>2]=a&-3}f=j[q+28>>2];e=0;d=q;w:{x:{if(b){y:{while(1){if((f|0)>2]+28>>2]){break y}e=e+1|0;if((e|0)!=(b|0)){continue}break}e=b}if(e){break x}}a=j[o>>2];z=j[a+36>>2]+ye(f-j[a+28>>2]|0,v)|0;break w}e=j[((e<<2)+o|0)-4>>2];n=b;while(1){a=n;if(a){n=a-1|0;if((f|0)<=j[j[(n<<2)+o>>2]+28>>2]){continue}}break}if((a|0)==(b|0)){a=j[A>>2];z=j[a+36>>2]+ye(f-j[a+28>>2]|0,v)|0;break w}n=j[e+28>>2];z=j[e+36>>2];if((n|0)==(f|0)){break w}a=j[(a<<2)+o>>2];z=j[a+28>>2];if((z|0)==(f|0)){z=j[a+36>>2];break w}D=j[a+36>>2];a=j[e+36>>2];z=Ne(f-n|0,D-a|0,z-n|0)+a|0}j[d+36>>2]=z;j[q+16>>2]=j[q+16>>2]|32}q=q+40|0;if(s>>>0>q>>>0){continue}break}if((g+144|0)==(o|0)){break t}if(o){qe[j[t+8>>2]](t,o)}}A=j[g+12>>2];if(A){a=r+j[g+32>>2]|0;t=j[a+200>>2];z=j[a+204>>2];v=j[g+20>>2];while(1){a=j[v+4>>2];z:{if((a|0)<1){break z}f=j[v>>2];a=f+p(a,40)|0;o=0;e=f;q=0;while(1){b=j[e+16>>2]&32;q=b?q?q:e:q;o=(b>>>5|0)+o|0;e=e+40|0;if(a>>>0>e>>>0){continue}break}e=q;if(o>>>0<=1){if((o|0)==1){z=j[q+36>>2]-ye(j[q+28>>2],t)|0}while(1){if((f|0)!=(q|0)){E=f,F=ye(j[f+28>>2],t)+z|0,j[E+36>>2]=F}f=f+40|0;if(a>>>0>f>>>0){continue}break}break z}while(1){a=e;e=j[e+4>>2];if((q|0)==(e|0)){break z}if(k[e+16|0]&32){continue}f=e;while(1){f=j[f+4>>2];if(!(k[f+16|0]&32)){continue}break}b=j[a+28>>2];d=j[f+28>>2];A:{if((b|0)<=(d|0)){s=d-b|0;r=a;d=f;break A}s=b-d|0;r=f;b=d;d=a}d=j[d+36>>2];o=j[r+36>>2];B:{if((s|0)<1){r=65536;break B}r=De(d-o|0,s);e=j[a+4>>2]}while(1){a=j[e+28>>2]-b|0;C:{D:{if((a|0)<=0){n=ye(a,t);break D}if((a|0)>=(s|0)){n=d;a=ye(a-s|0,t);break C}n=ye(a,r)}a=o}j[e+36>>2]=a+n;e=j[e+4>>2];if((f|0)!=(e|0)){continue}break}e=f;if((q|0)!=(e|0)){continue}break}}v=v+8|0;A=A-1|0;if(A){continue}break}}n=j[g+8>>2];if(n){a=j[g+28>>2];b=j[a+8>>2];a=j[a+4>>2];d=y?32:64;f=0;e=j[g+16>>2];while(1){q=a+(f<<3)|0;j[(y?q:q+4|0)>>2]=j[e+36>>2];if(k[e+16|0]&16){q=b+f|0;h[q|0]=d|k[q|0];n=j[g+8>>2]}e=e+40|0;f=f+1|0;if(n>>>0>f>>>0){continue}break}}if(!C){il(j[g+32>>2],x,B,0,0)}s=1;a=u&1;u=0;if(a){continue}break}}a=j[g+24>>2];b=a;c=j[g+100>>2];if(c){qe[j[b+8>>2]](b,c)}j[g+104>>2]=0;j[g+96>>2]=0;j[g+100>>2]=0;b=j[g+88>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+88>>2]=0;b=j[g+84>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+84>>2]=0;j[g+92>>2]=0;j[g+76>>2]=0;j[g+80>>2]=0;b=j[g+60>>2];if(b){qe[j[a+8>>2]](a,b)}j[g- -64>>2]=0;j[g+56>>2]=0;j[g+60>>2]=0;b=j[g+48>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+48>>2]=0;b=j[g+44>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+44>>2]=0;j[g+52>>2]=0;j[g+36>>2]=0;j[g+40>>2]=0;b=j[g+16>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+16>>2]=0;b=j[g+20>>2];if(b){qe[j[a+8>>2]](a,b)}}oe=g+208|0;return u|0}function KK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;v=j[a+28>>2];if(v){n=k[a+63|0];s=j[a+56>>2];o=j[a+48>>2];x=j[a+36>>2];y=j[a+16>>2];b=j[a+40>>2];i=b;g=j[a+24>>2];z=g&7;A=(g+7|0)/8|0;e=j[a>>2];g=j[a+20>>2];t=j[a+44>>2];r=k[b+9|0];u=r-1|0;while(1){w=A;a:{b:{switch(z-1|0){default:a=7;break a;case 0:a=6;break a;case 1:a=5;break a;case 2:a=4;break a;case 3:a=3;break a;case 4:a=2;break a;case 5:a=1;break a;case 6:break b}}a=0}while(1){c:{d:{switch(a|0){case 0:a=0;c=0;d=0;m=0;e:{f:{g:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break f;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break f;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break f;case 3:break g;default:break e}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=1;continue;case 1:a=0;c=0;d=0;m=0;h:{i:{j:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break i;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break i;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break i;case 3:break j;default:break h}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=2;continue;case 2:a=0;c=0;d=0;m=0;k:{l:{m:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break l;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break l;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break l;case 3:break m;default:break k}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=3;continue;case 3:a=0;c=0;d=0;m=0;n:{o:{p:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break o;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break o;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break o;case 3:break p;default:break n}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=4;continue;case 4:a=0;c=0;d=0;m=0;q:{r:{s:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break r;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break r;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break r;case 3:break s;default:break q}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=5;continue;case 5:a=0;c=0;d=0;m=0;t:{u:{v:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break u;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break u;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break u;case 3:break v;default:break t}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=6;continue;case 6:a=0;c=0;d=0;m=0;w:{x:{y:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break x;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break x;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break x;case 3:break y;default:break w}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}a=v-1|0;e=e+r|0;g=g+1|0;if((w|0)<=1){break c}w=w-1|0;a=7;continue;default:break d}}a=0;d=0;m=0;c=0;z:{A:{B:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break A;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break A;case 2:c=(k[i+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break A;case 3:break B;default:break z}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}c=k[c|0];d=k[d|0];m=k[m|0]}if((a|0)!=(s|0)){q=m&255;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;m=k[a+1|0];f=d;d=k[a|0];a=k[a+2|0];a=((p(q-m|0,n)|0)/255|0)+m>>>3&28|((p(f-d|0,n)|0)/255|0)+d&-32|(((p((c&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=0;continue}break}g=g+x|0;e=e+y|0;v=a;if(a){continue}break}}}function LK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;y=j[a+28>>2];if(y){o=k[a+63|0];w=j[a+56>>2];z=j[a+36>>2];A=j[a+16>>2];d=j[a+24>>2];B=d&3;C=(d+3|0)/4|0;n=j[a>>2];e=j[a+20>>2];m=j[a+40>>2];u=k[m+9|0];x=u-1|0;b=j[a+44>>2];v=k[b+9|0];t=v-1|0;while(1){a=C;a:{b:{switch(B-1|0){default:d=3;break a;case 0:d=2;break a;case 1:d=1;break a;case 2:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:d=0;e:{f:{switch(x|0){case 0:d=k[n|0];break e;case 1:d=l[n>>1];break e;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break e;case 3:break f;default:break e}}d=j[n>>2]}g:{if(!o|(d|0)==(w|0)){break g}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;h:{i:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break h;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break h;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break h;case 3:break i;default:break h}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;j:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break g;case 3:break j;default:break g}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break k;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break k;case 3:break l;default:break k}}d=j[n>>2]}m:{if(!o|(d|0)==(w|0)){break m}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;n:{o:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break n;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break n;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break n;case 3:break o;default:break n}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;p:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break m;case 3:break p;default:break m}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break q;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break q;case 3:break r;default:break q}}d=j[n>>2]}s:{if(!o|(d|0)==(w|0)){break s}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;t:{u:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break t;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break t;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break t;case 3:break u;default:break t}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;v:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break s;case 3:break v;default:break s}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break w;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break w;case 3:break x;default:break w}}d=j[n>>2]}y:{if(!o|(d|0)==(w|0)){break y}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;z:{A:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break z;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break z;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break z;case 3:break A;default:break z}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;B:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break y;case 3:break B;default:break y}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];if(k[h+9|0]==4){e:{switch(c-1|0){case 1:break b;case 3:break c;case 0:break e;default:break d}}H=j[b+12>>2];if(!H){break a}m=g^255;c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;i=j[b+8>>2];F=i&3;b=(i+3|0)/4|0;B=c-i<<2;f:while(1){g:{h:{i:{j:{k:{switch(F-1|0){case 0:q=k[h+35|0];r=k[h+31|0];s=k[h+34|0];t=k[h+30|0];u=k[h+33|0];n=k[h+29|0];v=k[h+32|0];D=k[h+28|0];i=b;break h;case 1:G=k[h+31|0];O=j[(G<<2)+234976>>2];M=k[h+30|0];P=j[(M<<2)+234976>>2];N=k[h+29|0];Q=j[(N<<2)+234976>>2];C=k[h+28|0];I=j[(C<<2)+234976>>2];y=k[h+35|0];q=y;r=G;z=k[h+34|0];s=z;t=M;x=k[h+33|0];u=x;n=N;w=k[h+32|0];v=w;D=C;i=b;break i;case 2:G=k[h+31|0];O=j[(G<<2)+234976>>2];M=k[h+30|0];P=j[(M<<2)+234976>>2];N=k[h+29|0];Q=j[(N<<2)+234976>>2];C=k[h+28|0];I=j[(C<<2)+234976>>2];y=k[h+35|0];q=y;r=G;z=k[h+34|0];s=z;t=M;x=k[h+33|0];u=x;n=N;w=k[h+32|0];v=w;D=C;i=b;break j;default:break k}}r=k[h+31|0];O=j[(r<<2)+234976>>2];t=k[h+30|0];P=j[(t<<2)+234976>>2];n=k[h+29|0];Q=j[(n<<2)+234976>>2];D=k[h+28|0];I=j[(D<<2)+234976>>2];q=k[h+35|0];s=k[h+34|0];u=k[h+33|0];v=k[h+32|0];i=b;l=0;break g}l=1;break g}l=2;break g}l=3}while(1){l:{switch(l|0){case 0:c=j[a>>2];x=u&255;N=n&255;w=v&255;C=D&255;z=s&255;M=t&255;y=q&255;G=r&255;j[a>>2]=((p(m,k[((c&j[h+16>>2])>>>x|0)+Q|0])>>>0)/255|0)+e>>>N<>2])>>>w|0)+I|0])>>>0)/255|0)+d>>>C<>2])>>>z|0)+P|0])>>>0)/255|0)+f>>>M<>2])>>>y|0)+O|0])>>>0)/255|0)+g>>>G<>2];j[a>>2]=((p(m,k[((c&j[h+16>>2])>>>x|0)+Q|0])>>>0)/255|0)+e>>>N<>2])>>>w|0)+I|0])>>>0)/255|0)+d>>>C<>2])>>>z|0)+P|0])>>>0)/255|0)+f>>>M<>2])>>>y|0)+O|0])>>>0)/255|0)+g>>>G<>2];j[a>>2]=((p(m,k[((c&j[h+16>>2])>>>x|0)+Q|0])>>>0)/255|0)+e>>>N<>2])>>>w|0)+I|0])>>>0)/255|0)+d>>>C<>2])>>>z|0)+P|0])>>>0)/255|0)+f>>>M<>2])>>>y|0)+O|0])>>>0)/255|0)+g>>>G<>2];E=j[a>>2];l=u&255;A=((p(m,k[Q+((E&j[h+16>>2])>>>l|0)|0])>>>0)/255|0)+e>>>o<>2];l=v&255;A=A|((p(m,k[I+((E&j[h+12>>2])>>>l|0)|0])>>>0)/255|0)+d>>>o<>2];l=s&255;A=A|((p(m,k[P+((E&j[h+20>>2])>>>l|0)|0])>>>0)/255|0)+f>>>o<>2];l=q&255;j[a>>2]=A|((p(m,k[O+((E&j[h+24>>2])>>>l|0)|0])>>>0)/255|0)+g>>>o<1){i=i-1|0;break m}a=a+B|0;H=c;if(c){continue f}break a}l=0;continue}}}W=Be(4);break a}x=j[b+12>>2];if(!x){break a}c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;i=j[b+8>>2];y=i&3;b=(i+3|0)/4|0;i=c-i<<2;n:while(1){o:{p:{q:{r:{s:{switch(y-1|0){case 0:l=k[h+35|0];q=k[h+31|0];r=k[h+34|0];s=k[h+30|0];t=k[h+33|0];u=k[h+29|0];n=k[h+32|0];v=k[h+28|0];w=b;break p;case 1:u=k[h+29|0];t=k[h+33|0];v=k[h+28|0];n=k[h+32|0];s=k[h+30|0];r=k[h+34|0];q=k[h+31|0];l=k[h+35|0];V=e>>>u<>>v<>>s<>>q<>>u<>>v<>>s<>>q<>>u<>>v<>>s<>>q<>2]=V;a=a+4|0;c=1;continue;case 1:j[a>>2]=V;a=a+4|0;c=2;continue;case 2:j[a>>2]=V;a=a+4|0;c=3;continue;default:break t}}c=x-1|0;j[a>>2]=e>>>u<>>v<>>s<>>q<1){w=w-1|0;break u}a=a+i|0;x=c;if(c){continue n}break a}c=0;continue}}}J=j[b+12>>2];if(!J){break a}c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;g=j[b+8>>2];E=g&3;b=(g+3|0)/4|0;F=c-g<<2;v:while(1){w:{x:{y:{z:{A:{switch(E-1|0){case 0:t=k[h+35|0];u=k[h+31|0];n=k[h+34|0];v=k[h+30|0];w=k[h+33|0];x=k[h+29|0];z=k[h+32|0];y=k[h+28|0];g=b;break x;case 1:K=k[h+31|0];R=j[(K<<2)+234976>>2];L=k[h+30|0];S=j[(L<<2)+234976>>2];A=k[h+29|0];i=j[(A<<2)+234976>>2];m=k[h+28|0];D=j[(m<<2)+234976>>2];s=k[h+35|0];t=s;u=K;r=k[h+34|0];n=r;v=L;q=k[h+33|0];w=q;x=A;l=k[h+32|0];z=l;y=m;g=b;break y;case 2:K=k[h+31|0];R=j[(K<<2)+234976>>2];L=k[h+30|0];S=j[(L<<2)+234976>>2];A=k[h+29|0];i=j[(A<<2)+234976>>2];m=k[h+28|0];D=j[(m<<2)+234976>>2];s=k[h+35|0];t=s;u=K;r=k[h+34|0];n=r;v=L;q=k[h+33|0];w=q;x=A;l=k[h+32|0];z=l;y=m;g=b;break z;default:break A}}u=k[h+31|0];R=j[(u<<2)+234976>>2];v=k[h+30|0];S=j[(v<<2)+234976>>2];x=k[h+29|0];i=j[(x<<2)+234976>>2];y=k[h+28|0];D=j[(y<<2)+234976>>2];t=k[h+35|0];n=k[h+34|0];w=k[h+33|0];z=k[h+32|0];g=b;c=0;break w}c=1;break w}c=2;break w}c=3}while(1){B:{switch(c|0){case 0:c=j[a>>2];q=w&255;A=x&255;l=z;m=y&255;r=n&255;L=v&255;s=t&255;K=u&255;j[a>>2]=(p(k[((c&j[h+16>>2])>>>q|0)+i|0],e)>>>0)/255>>>A<>2])>>>l|0)+D|0],d)>>>0)/255>>>m<>2])>>>r|0)+S|0],f)>>>0)/255>>>L<>2])>>>s|0)+R|0]>>>K<>2];j[a>>2]=(p(k[((c&j[h+16>>2])>>>q|0)+i|0],e)>>>0)/255>>>A<>2])>>>l|0)+D|0],d)>>>0)/255>>>m<>2])>>>r|0)+S|0],f)>>>0)/255>>>L<>2])>>>s|0)+R|0]>>>K<>2];j[a>>2]=(p(k[((c&j[h+16>>2])>>>q|0)+i|0],e)>>>0)/255>>>A<>2])>>>l|0)+D|0],d)>>>0)/255>>>m<>2])>>>r|0)+S|0],f)>>>0)/255>>>L<>2])>>>s|0)+R|0]>>>K<>2];C=j[a>>2];o=w&255;B=(p(k[i+((C&j[h+16>>2])>>>o|0)|0],e)>>>0)/255>>>B<>2];G=B|(p(k[D+((C&j[h+12>>2])>>>z|0)|0],d)>>>0)/255>>>o<>2];o=n&255;G=G|(p(k[S+((C&j[h+20>>2])>>>o|0)|0],f)>>>0)/255>>>B<>2];o=t&255;j[a>>2]=G|k[R+((C&j[h+24>>2])>>>o|0)|0]>>>B<1){g=g-1|0;break C}a=a+F|0;J=c;if(c){continue v}break a}c=0;continue}}}I=j[b+12>>2];if(!I){break a}c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;g=j[b+8>>2];K=g&3;b=(g+3|0)/4|0;L=c-g<<2;D:while(1){E:{F:{G:{H:{I:{switch(K-1|0){case 0:l=k[h+35|0];q=k[h+31|0];r=k[h+34|0];s=k[h+30|0];w=k[h+33|0];x=k[h+29|0];z=k[h+32|0];y=k[h+28|0];g=b;break F;case 1:E=k[h+31|0];T=j[(E<<2)+234976>>2];F=k[h+30|0];J=j[(F<<2)+234976>>2];B=k[h+29|0];H=j[(B<<2)+234976>>2];o=k[h+28|0];U=j[(o<<2)+234976>>2];v=k[h+35|0];l=v;q=E;n=k[h+34|0];r=n;s=F;u=k[h+33|0];w=u;x=B;t=k[h+32|0];z=t;y=o;g=b;break G;case 2:E=k[h+31|0];T=j[(E<<2)+234976>>2];F=k[h+30|0];J=j[(F<<2)+234976>>2];B=k[h+29|0];H=j[(B<<2)+234976>>2];o=k[h+28|0];U=j[(o<<2)+234976>>2];v=k[h+35|0];l=v;q=E;n=k[h+34|0];r=n;s=F;u=k[h+33|0];w=u;x=B;t=k[h+32|0];z=t;y=o;g=b;break H;default:break I}}q=k[h+31|0];T=j[(q<<2)+234976>>2];s=k[h+30|0];J=j[(s<<2)+234976>>2];x=k[h+29|0];H=j[(x<<2)+234976>>2];y=k[h+28|0];U=j[(y<<2)+234976>>2];l=k[h+35|0];r=k[h+34|0];w=k[h+33|0];z=k[h+32|0];g=b;c=0;break E}c=1;break E}c=2;break E}c=3}while(1){J:{switch(c|0){case 0:v=l;i=j[a>>2];u=w&255;c=k[((i&j[h+16>>2])>>>u|0)+H|0]+e|0;B=x&255;n=(c>>>0<255?c:255)>>>B<>2])>>>t|0)+U|0]+d|0;o=y&255;m=n|(c>>>0<255?c:255)>>>o<>2])>>>n|0)+J|0]+f|0;F=s&255;E=q&255;j[a>>2]=m|(c>>>0<255?c:255)>>>F<>2])>>>l|0)+T|0]>>>E<>2];c=k[((i&j[h+16>>2])>>>u|0)+H|0]+e|0;m=(c>>>0<255?c:255)>>>B<>2])>>>t|0)+U|0]+d|0;m=m|(c>>>0<255?c:255)>>>o<>2])>>>n|0)+J|0]+f|0;j[a>>2]=m|(c>>>0<255?c:255)>>>F<>2])>>>v|0)+T|0]>>>E<>2];c=k[((i&j[h+16>>2])>>>u|0)+H|0]+e|0;m=(c>>>0<255?c:255)>>>B<>2])>>>t|0)+U|0]+d|0;m=m|(c>>>0<255?c:255)>>>o<>2])>>>n|0)+J|0]+f|0;j[a>>2]=m|(c>>>0<255?c:255)>>>F<>2])>>>v|0)+T|0]>>>E<>2];C=j[a>>2];m=w&255;i=k[H+((C&j[h+16>>2])>>>m|0)|0]+e|0;A=(i>>>0<255?i:255)>>>A<>2];i=k[U+((C&j[h+12>>2])>>>z|0)|0]+d|0;D=A|(i>>>0<255?i:255)>>>m<>2];m=r&255;i=k[J+((C&j[h+20>>2])>>>m|0)|0]+f|0;m=D|(i>>>0<255?i:255)>>>A<>2];j[a>>2]=m|k[T+((C&j[h+24>>2])>>>l|0)|0]>>>i<1){g=g-1|0;break K}a=a+L|0;I=c;if(c){continue D}break a}c=0;continue}}}return W|0}function Ap(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=oe-192|0;oe=n;z=h;F=i&65535;o=d;p=e&65535;G=(e^i)&-2147483648;m=i>>>16&32767;a:{u=e>>>16&32767;b:{c:{if(m-1>>>0<32766?u-1>>>0<=32765:0){break c}H=e&2147483647;l=H;k=d;if(!(!k&(l|0)==2147418112?!(b|c):l>>>0<2147418112)){J=d;G=e|32768;break b}H=i&2147483647;e=H;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){J=h;G=i|32768;b=f;c=g;break b}if(!(b|k|(l^2147418112|c))){if(!(d|f|(e^2147418112|g))){b=0;c=0;G=2147450880;break b}G=G|2147418112;b=0;c=0;break b}if(!(d|f|(e^2147418112|g))){b=0;c=0;break b}if(!(b|k|(c|l))){break a}if(!(d|f|(e|g))){G=G|2147418112;b=0;c=0;break b}if((l|0)==65535|l>>>0<65535){i=b;d=!(p|o);h=d<<6;k=s(d?b:o)+32|0;b=s(d?c:p);b=h+((b|0)==32?k:b)|0;Of(n+176|0,i,c,o,p,b-15|0);I=16-b|0;o=j[n+184>>2];p=j[n+188>>2];c=j[n+180>>2];b=j[n+176>>2]}if(e>>>0>65535){break c}d=!(z|F);e=d<<6;h=s(d?f:z)+32|0;d=s(d?g:F);d=e+((d|0)==32?h:d)|0;Of(n+160|0,f,g,z,F,d-15|0);I=(d+I|0)-16|0;z=j[n+168>>2];F=j[n+172>>2];f=j[n+160>>2];g=j[n+164>>2]}e=F|65536;H=e;N=z;d=z;l=e<<15|d>>>17;d=d<<15|g>>>17;h=-102865788-d|0;e=l;k=l;i=1963258675-(k+(d>>>0>4192101508)|0)|0;ug(n+144|0,d,k,h,i);k=j[n+152>>2];ug(n+128|0,0-k|0,0-(j[n+156>>2]+((k|0)!=0)|0)|0,h,i);h=j[n+136>>2];i=h<<1|j[n+132>>2]>>>31;h=j[n+140>>2]<<1|h>>>31;ug(n+112|0,i,h,d,l);k=h;h=j[n+120>>2];ug(n+96|0,i,k,0-h|0,0-(j[n+124>>2]+((h|0)!=0)|0)|0);h=j[n+104>>2];i=h<<1|j[n+100>>2]>>>31;h=j[n+108>>2]<<1|h>>>31;ug(n+80|0,i,h,d,l);k=h;h=j[n+88>>2];ug(n- -64|0,i,k,0-h|0,0-(j[n+92>>2]+((h|0)!=0)|0)|0);h=j[n+72>>2];i=h<<1|j[n+68>>2]>>>31;h=j[n+76>>2]<<1|h>>>31;ug(n+48|0,i,h,d,l);k=h;h=j[n+56>>2];ug(n+32|0,i,k,0-h|0,0-(j[n+60>>2]+((h|0)!=0)|0)|0);h=j[n+40>>2];i=h<<1|j[n+36>>2]>>>31;h=j[n+44>>2]<<1|h>>>31;ug(n+16|0,i,h,d,l);k=h;h=j[n+24>>2];ug(n,i,k,0-h|0,0-(j[n+28>>2]+((h|0)!=0)|0)|0);I=(u-m|0)+I|0;h=j[n+8>>2];k=j[n+12>>2]<<1|h>>>31;l=h<<1|j[n+4>>2]>>>31;h=l-1|0;l=k-(l>>>0<1)|0;k=0;C=k;i=h;q=e;e=0;r=gP(h,k,q,e);k=pe;v=k;y=l;m=0;u=d;h=gP(l,m,d,0);d=h+r|0;k=pe+k|0;k=d>>>0>>0?k+1|0:k;h=d;d=k;k=0;l=(d|0)==(v|0)&h>>>0>>0|d>>>0>>0;r=gP(y,m,q,e);e=r+d|0;l=pe+(k|l)|0;k=e;e=k>>>0>>0?l+1|0:l;q=k;l=h;r=0;h=gP(i,C,u,t);d=r+h|0;k=pe+l|0;k=d>>>0>>0?k+1|0:k;h=k;u=(l|0)==(k|0)&r>>>0>d>>>0|k>>>0>>0;l=q+u|0;k=e;A=l;e=l>>>0>>0?k+1|0:k;q=d;r=d;u=h;d=g;B=(d&131071)<<15|f>>>17;v=gP(i,C,B,0);d=pe;t=d;k=f;l=k<<15&-32768;x=0;D=gP(y,m,l,x);h=D+v|0;k=pe+d|0;k=h>>>0>>0?k+1|0:k;d=k;D=0;E=gP(i,C,l,x);x=D+E|0;l=h;k=l+pe|0;k=x>>>0>>0?k+1|0:k;w=(k|0)==(l|0)&x>>>0>>0|k>>>0>>0;k=(d|0)==(t|0)&l>>>0>>0|d>>>0>>0;h=d;d=gP(y,m,B,K)+d|0;l=k+pe|0;l=d>>>0>>0?l+1|0:l;h=d;d=w+d|0;k=l;k=d>>>0>>0?k+1|0:k;h=d;d=d+r|0;k=k+u|0;k=d>>>0>>0?k+1|0:k;r=d;v=k;h=(k|0)==(u|0)&d>>>0>>0|k>>>0>>0;d=h+A|0;k=e;k=d>>>0>>0?k+1|0:k;e=(r|0)!=0|(v|0)!=0;d=e+d|0;l=d>>>0>>0?k+1|0:k;h=d;t=0-d|0;A=0;u=gP(t,A,i,C);d=pe;x=d;e=u;q=d;A=gP(y,m,t,A);d=pe;w=d;B=0-(((h|0)!=0)+l|0)|0;t=0;l=gP(i,C,B,t);h=l+A|0;k=pe+d|0;k=h>>>0>>0?k+1|0:k;d=k;l=h+q|0;e=0+e|0;q=e;k=e;l=k>>>0>>0?l+1|0:l;e=l;l=(x|0)==(l|0)&k>>>0>>0|l>>>0>>0;k=(d|0)==(w|0)&h>>>0>>0|d>>>0>>0;h=d;d=gP(y,m,B,t)+d|0;k=k+pe|0;k=d>>>0>>0?k+1|0:k;h=d;d=l+d|0;w=d;h=d>>>0>>0?k+1|0:k;d=0-r|0;B=0-(((r|0)!=0)+v|0)|0;r=0;A=gP(B,r,i,C);x=pe;v=d;l=gP(d,0,y,m);d=l+A|0;k=pe+x|0;k=d>>>0>>0?k+1|0:k;l=d;d=k;C=gP(i,C,v,K);v=0+C|0;k=l+pe|0;k=v>>>0>>0?k+1|0:k;v=(l|0)==(k|0)&v>>>0>>0|l>>>0>k>>>0;i=(d|0)==(x|0)&l>>>0>>0|d>>>0>>0;l=d;d=gP(y,m,B,r)+l|0;k=i+pe|0;k=d>>>0>>0?k+1|0:k;i=d;d=d+v|0;l=d>>>0>>0?k+1|0:k;i=d;d=d+q|0;k=l+e|0;k=d>>>0>>0?k+1|0:k;i=d;l=d;d=k;l=(e|0)==(k|0)&l>>>0>>0|e>>>0>k>>>0;e=l+w|0;k=h;k=e>>>0>>0?k+1|0:k;l=e;e=i;v=e-2|0;h=v;r=d-(e>>>0<2)|0;e=r;e=(d|0)==(e|0)&h>>>0>>0|d>>>0>e>>>0;d=l+e|0;k=d>>>0>>0?k+1|0:k;e=d;d=d-1|0;h=k-(e>>>0<1)|0;e=0;x=e;m=d;i=o;w=i<<2|c>>>30;B=0;q=gP(d,e,w,B);e=pe;t=e;l=e;e=c;K=(e&1073741823)<<2|b>>>30;u=0;D=h;i=0;e=gP(K,u,h,i);d=e+q|0;l=pe+l|0;l=d>>>0>>0?l+1|0:l;k=(l|0)==(t|0)&d>>>0>>0|l>>>0>>0;q=d;h=l;A=r;l=0;r=l;c=k;E=((p&1073741823)<<2|o>>>30)&-262145|262144;l=gP(A,l,E,0);d=l+d|0;k=pe+h|0;k=d>>>0>>0?k+1|0:k;p=d;e=k;h=(k|0)==(h|0)&d>>>0>>0|h>>>0>k>>>0;d=c+h|0;k=0;k=d>>>0>>0?1:k;h=gP(D,i,E,M);d=h+d|0;l=pe+k|0;l=d>>>0>>0?l+1|0:l;o=gP(m,x,E,M);h=pe;c=d;t=gP(w,B,D,i);d=t+o|0;k=pe+h|0;k=d>>>0>>0?k+1|0:k;t=d;d=k;k=(h|0)==(k|0)&o>>>0>t>>>0|h>>>0>k>>>0;o=c+d|0;k=k+l|0;l=o;h=l>>>0>>0?k+1|0:k;q=p;c=l;p=0;d=q+p|0;o=e;l=t+e|0;l=d>>>0

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

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

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

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

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

>>0?l+1|0:l;m=gP(d,e,g,o);p=m+k|0;l=gP(i,c,z,F);c=l+p|0;l=c;z=0;c=w+z|0;k=b+l|0;k=c>>>0>>0?k+1|0:k;b=c;z=C-b|0;F=u-((b>>>0>C>>>0)+k|0)|0;I=I-1|0;p=r-q|0;b=v-((r>>>0>>0)+t|0)|0;break d}r=i>>>1|0;l=0;o=b<<16;h=(i&1)<<31|h>>>1;i=d<<31|i>>>1;w=0;m=f;B=0;b=gP(h,w,m,B);k=pe;u=k;k=(b|0)!=0|(k|0)!=0;v=0-k|0;E=o-(c>>>0>>0)|0;q=0-b|0;t=0-(((b|0)!=0)+u|0)|0;o=0;u=gP(h,w,g,o);b=pe;D=b;k=e<<31|d>>>1;r=r|d<<31;O=k|l;C=r;L=0;l=gP(r,L,m,B);c=l+u|0;k=pe+b|0;k=c>>>0>>0?k+1|0:k;b=k;l=c;x=l;y=0;k=(l|0)==(t|0)&y>>>0>q>>>0|l>>>0>t>>>0;A=v-k|0;v=E-(k>>>0>v>>>0)|0;k=gP(h,i,H,0);E=pe;M=gP(m,g,e>>>1|0,0);l=M+k|0;k=pe+E|0;E=l;l=l>>>0>>0?k+1|0:k;k=E;d=(e&1)<<31|d>>>1;e=e>>>1|0;E=gP(d,e,g,o);k=k+E|0;l=pe+l|0;F=gP(r,O,z,F);k=F+k|0;r=0;F=k;k=gP(g,o,C,L);o=pe;m=gP(d,0,m,B);l=m+k|0;k=pe+o|0;k=l>>>0>>0?k+1|0:k;z=gP(h,w,z,0);l=z+l|0;k=pe+k|0;p=l;l=l>>>0>>0?k+1|0:k;z=(b|0)==(D|0)&c>>>0>>0|b>>>0>>0;c=b;b=b+p|0;l=l+z|0;l=b>>>0>>0?l+1|0:l;c=b;b=b+r|0;l=l+F|0;l=b>>>0>>0?l+1|0:l;z=A-b|0;F=v-((b>>>0>A>>>0)+l|0)|0;p=q-y|0;b=t-((q>>>0>>0)+x|0)|0}if((I|0)>=16384){G=G|2147418112;b=0;c=0;break b}m=I+16383|0;if((I|0)<=-16383){e:{if(m){break e}m=p;k=b<<1|m>>>31;m=m<<1;c=(g|0)==(k|0)&f>>>0>>0|g>>>0>>0;f=z;k=F<<1|f>>>31;g=f<<1|b>>>31;l=g;f=(l|0)==(N|0)&(k|0)==(H|0)?c:(H|0)==(k|0)&l>>>0>N>>>0|k>>>0>H>>>0;b=f+h|0;k=i;k=b>>>0>>0?k+1|0:k;c=k;f=d+((i|0)==(k|0)&b>>>0>>0|i>>>0>k>>>0)|0;l=e&65535;e=f;l=d>>>0>e>>>0?l+1|0:l;d=l;if(!(l&65536)){break e}J=e|J;G=d|G;break b}b=0;c=0;break b}o=p;l=b<<1|o>>>31;o=o<<1;c=(g|0)==(l|0)&f>>>0<=o>>>0|g>>>0>>0;f=z;l=F<<1|f>>>31;f=f<<1|b>>>31;f=(f|0)==(N|0)&(l|0)==(H|0)?c:(H|0)==(l|0)&f>>>0>=N>>>0|l>>>0>H>>>0;b=f+h|0;k=i;k=b>>>0>>0?k+1|0:k;c=k;f=d+((i|0)==(k|0)&b>>>0>>0|i>>>0>k>>>0)|0;l=e&65535;l=d>>>0>f>>>0?l+1|0:l;e=0;d=e+f|0;k=(m<<16)+l|0;J=d|J;G=G|(d>>>0>>0?k+1|0:k)}j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=J;j[a+12>>2]=G;oe=n+192|0;return}j[a>>2]=0;j[a+4>>2]=0;b=!(d|f|(e|g));j[a+8>>2]=b?0:J;j[a+12>>2]=b?2147450880:G;oe=n+192|0}function wo(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;q=oe-16|0;oe=q;c=j[a+1020>>2];d=0;a:{if((c|0)<0){break a}b:{while(1){e=j[a+4>>2];d=(c<<2)+a|0;j[a+80>>2]=p(e,i[d+958>>1]);d=i[d+956>>1];j[a+44>>2]=0;j[a+48>>2]=0;j[a+92>>2]=0;c=j[a+28>>2];j[a+40>>2]=c;i[a+86>>1]=0;j[a+88>>2]=c;r=j[a+32>>2]-32|0;j[a+36>>2]=r;j[a+76>>2]=p(d,e);j[c+8>>2]=c;i[a+84>>1]=0;c:{d:{e:{f:{g:{h:{if(i[a+128>>1]<1){break h}d=j[a+8>>2];f=j[a+140>>2];g=0;w=0;while(1){j[a+96>>2]=0;j[a+100>>2]=0;o=g&65535;g=j[a+132>>2];c=(o<<3)+g|0;e=j[a+24>>2];m=(j[c+4>>2]<>2]<>1];s=g+(u<<3)|0;f=(j[s+4>>2]<>2]<>2];g=f+o|0;d=k[g|0];if(d&4){h[a+176|0]=d>>>5;d=k[g|0]}d=d&3;j:{if((d|0)==3){break j}k:{switch(d-1|0){case 0:break j;case 1:break b;default:break k}}l:{if((k[f+u|0]&3)==1){s=s-8|0;break l}e=(e+n|0)/2|0;r=(r+t|0)/2|0}t=r;n=e;g=g-1|0;c=c-8|0}j[a+72>>2]=n;j[a+68>>2]=t;m:{if(c>>>0>>0){while(1){d=g+1|0;m=c+8|0;n:{o:{p:{switch(k[g+1|0]&3){case 1:f=j[c+8>>2];e=c;g=d;c=m;d=j[a+24>>2];m=j[e+12>>2]<>2];m=m-e|0;d=(f<>2];f=j[a+8>>2];o=(j[c+8>>2]<>2]<>>0>=s>>>0){break o}m=j[a+24>>2];o=j[a+8>>2];g=(j[c+8>>2]<>2]<>>0>s>>>0){break b}f=c+24|0;v=j[a+24>>2];x=j[a+8>>2];m=(j[c+16>>2]<>2]<>2]<>2]<>>0<=s>>>0){d=(j[c+28>>2]<>2]<>>0>>0){continue}break}}if(qo(a,t,n)){break e}}f=j[a+140>>2];o=l[y+f>>1];m=j[a+4>>2];g=m-1|0;c=j[a+72>>2];r=g&c;r:{if(r|(c|0)>2]|(c|0)>j[a+80>>2]){break r}d=j[a+96>>2];if(!d|(l[j[a+88>>2]+12>>1]^l[d+12>>1])&8){break r}j[a+40>>2]=j[a+40>>2]-4}e=j[a+40>>2];n=j[a+88>>2];t=j[n+8>>2];s:{if(!((e|0)==(t|0)|!(k[n+12|0]&8))){d=j[a+8>>2];c=(r|0)>=(d|0);break s}d=j[a+8>>2];c=(d|0)<=((c+g&0-m)-c|0)}m=e-t|0;if((m|0)<=-1){j[a+44>>2]=99;d=1;break a}t:{if(!m){c=e;break t}j[n+16>>2]=m>>2;if(c){c=l[n+12>>1];i[n+12>>1]=(c&8?16:32)|c}j[a+88>>2]=e;c=e+32|0;j[a+40>>2]=c;j[e+8>>2]=c;j[e+16>>2]=0;j[n+28>>2]=e;i[a+84>>1]=l[a+84>>1]+1}r=j[a+36>>2];if(r>>>0<=c>>>0){break d}h[a+87|0]=0;e=j[a+96>>2];if(e){j[n+28>>2]=e}g=o+1|0;w=w+1|0;if((w|0)>1]){continue}break}w=l[a+84>>1];if(w>>>0<2){break h}m=j[a+92>>2];d=m;if(!d){break h}while(1){e=d;u:{v:{switch(w&65535){default:n=j[d+8>>2]+(j[d+16>>2]<<2)|0;break u;case 1:break v;case 0:break g}}n=0}j[e+4>>2]=n;o=j[d+16>>2];f=j[d+20>>2];w:{if(k[d+12|0]&8){e=f;f=(o+e|0)-1|0;break w}e=(f-o|0)+1|0;j[d+20>>2]=e;j[d+8>>2]=(j[d+8>>2]+(o<<2)|0)-4}s=f;o=j[a+48>>2];u=0-o|0;v=j[a+32>>2];t=v-(o<<2)|0;d=o;x:{y:{while(1){g=d;if((d|0)<1){break y}d=g-1|0;x=t+(d<<2)|0;f=j[x>>2];if((f|0)>(e|0)){continue}break}if((e|0)<=(f|0)){t=o;break x}j[x>>2]=e;if((g|0)<2){e=f;break y}d=g-2|0;while(1){g=t+(d<<2)|0;e=j[g>>2];j[g>>2]=f;g=(d|0)>0;d=d-1|0;f=e;if(g){continue}break}}r=r-4|0;j[a+36>>2]=r;if(c>>>0>=r>>>0){break d}t=o+1|0;j[a+48>>2]=t;u=o^-1;j[v+(u<<2)>>2]=e}e=s+1|0;g=v+(u<<2)|0;d=t;z:{A:{while(1){o=d;if((d|0)<1){break A}d=o-1|0;u=g+(d<<2)|0;f=j[u>>2];if((f|0)>(e|0)){continue}break}if((f|0)>(s|0)){break z}j[u>>2]=e;if((o|0)<2){e=f;break A}d=o-2|0;while(1){o=g+(d<<2)|0;e=j[o>>2];j[o>>2]=f;o=(d|0)>0;d=d-1|0;f=e;if(o){continue}break}}r=r-4|0;j[a+36>>2]=r;if(c>>>0>=r>>>0){break d}j[a+48>>2]=t+1;j[v+((t^-1)<<2)>>2]=e}w=w-1|0;d=n;continue}}j[a+92>>2]=0;if(c>>>0>>0){break f}break e}if(c>>>0>=r>>>0){break e}j[q+8>>2]=0;j[q+4>>2]=0;j[q>>2]=0;d=j[a>>2];e=j[a+76>>2]>>d;i[q+12>>1]=e;f=j[a+80>>2]>>d;i[q+14>>1]=f;while(1){d=m;c=j[d+20>>2];n=(c+j[d+16>>2]<<16)-65536>>16;if(c<<16>>16>16){i[q+14>>1]=c;f=c}if((n|0)>e<<16>>16){i[q+12>>1]=n;e=n}m=j[d+4>>2];j[d>>2]=0;g=q+8|0;c=j[q+8>>2];B:{if(!c){c=0;break B}if(j[c>>2]>0){break B}C:{while(1){n=c;c=j[c+4>>2];if(c){if(j[c>>2]<=0){continue}break C}break}c=0}g=n+4|0}j[d+4>>2]=c;j[g>>2]=d;if(m){continue}break}if(!j[a+48>>2]){j[a+44>>2]=20;d=20;break a}qe[j[a+160>>2]](a,q+14|0,q+12|0);s=i[q+14>>1];c=j[q+8>>2];if(c){d=c;while(1){j[d+24>>2]=j[d+20>>2]-s;d=j[d+4>>2];if(d){continue}break}}d=j[a+48>>2];D:{if((d|0)<1){break D}E:{if(j[j[a+32>>2]-(d<<2)>>2]!=(s|0)){r=d;break E}r=d-1|0;j[a+48>>2]=r;if((d|0)<2){break D}}d=0;while(1){if(c){o=d<<16>>16;while(1){d=j[c+24>>2]-o|0;j[c+24>>2]=d;e=j[c+4>>2];if(!d){d=j[q+8>>2];F:{if(!d){break F}if((c|0)==(d|0)){j[q+8>>2]=e;break F}while(1){n=d;d=j[d+4>>2];if(!d){break F}if((c|0)!=(d|0)){continue}break}j[n+4>>2]=e}f=j[c>>2];G:{if(k[c+12|0]&8){m=q+4|0;d=j[q+4>>2];if(!d){d=0;break G}if((f|0)>2]){break G}H:{while(1){n=d;d=j[d+4>>2];if(d){if((f|0)>=j[d>>2]){continue}break H}break}d=0}m=n+4|0;break G}m=q;d=j[q>>2];if(!d){d=0;break G}if((f|0)>2]){break G}I:{while(1){n=d;d=j[d+4>>2];if(d){if((f|0)>=j[d>>2]){continue}break I}break}d=0}m=n+4|0}j[c+4>>2]=d;j[m>>2]=c}c=e;if(c){continue}break}}d=j[q+4>>2];c=d;J:{if(!c){break J}while(1){e=j[c+8>>2];j[c>>2]=j[e>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=e+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}c=j[d+4>>2];if(!c){break J}g=d+4|0;e=q+4|0;while(1){K:{if(j[d>>2]<=j[c>>2]){e=g;d=c;break K}j[e>>2]=c;j[g>>2]=j[c+4>>2];j[c+4>>2]=d;e=q+4|0;d=j[q+4>>2]}g=d+4|0;c=j[d+4>>2];if(c){continue}break}}n=j[q>>2];c=n;L:{if(!c){n=0;break L}while(1){d=j[c+8>>2];j[c>>2]=j[d>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=d+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}d=j[n+4>>2];if(!d){break L}g=n+4|0;e=q;c=n;while(1){M:{if(j[c>>2]<=j[d>>2]){e=g;break M}j[e>>2]=d;j[g>>2]=j[d+4>>2];j[d+4>>2]=c;e=q;n=j[e>>2];d=n}c=d;g=c+4|0;d=j[c+4>>2];if(d){continue}break}}j[a+48>>2]=r-1;w=j[j[a+32>>2]-(r<<2)>>2];v=w<<16>>16;N:{if((v|0)>s<<16>>16){o=s;while(1){t=0;d=n;O:{f=j[q+4>>2];c=f;if(!c){break O}while(1){m=j[c>>2];g=j[d>>2];r=(m|0)>(g|0);P:{Q:{e=r?m:g;m=r?g:m;g=j[a+4>>2];if((e-m|0)>(g|0)){break Q}u=0-g|0;r=u&m;if((r|0)==(m|0)){break Q}u=u&(e+g|0)-1;if((u|0)==(e|0)|((u|0)!=(g+r|0)?(r|0)<=(u|0):0)){break Q}if((l[c+12>>1]&7)==2){break P}j[c>>2]=m;j[d>>2]=e;j[c+24>>2]=1;t=t+1|0;break P}qe[j[a+164>>2]](a,o<<16>>16,m,e,c,d)}c=j[c+4>>2];if(c){d=j[d+4>>2];continue}break}d=n;c=f;if(t<<16>>16<=0){break O}while(1){if(j[c+24>>2]){j[c+24>>2]=0;qe[j[a+168>>2]](a,o<<16>>16,j[c>>2],j[d>>2],c,d)}c=j[c+4>>2];if(!c){break O}d=j[d+4>>2];continue}}qe[j[a+172>>2]](a);o=o+1|0;if((v|0)<=o<<16>>16){break N}c=f;m=n;R:{if(!c){break R}while(1){d=j[c+8>>2];j[c>>2]=j[d>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=d+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}c=j[f+4>>2];m=n;if(!c){break R}d=f+4|0;g=q+4|0;while(1){if(!(j[f>>2]<=j[c>>2])){j[g>>2]=c;j[d>>2]=j[c+4>>2];j[c+4>>2]=f;c=j[q+4>>2];d=q+4|0}g=d;f=c;d=c+4|0;c=j[c+4>>2];if(c){continue}break}m=j[q>>2]}n=0;c=m;if(!c){continue}while(1){d=j[c+8>>2];j[c>>2]=j[d>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=d+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}g=m+4|0;e=q;n=m;c=n;d=j[c+4>>2];if(!d){continue}while(1){S:{if(j[c>>2]<=j[d>>2]){e=g;break S}j[e>>2]=d;j[g>>2]=j[d+4>>2];j[d+4>>2]=c;e=q;m=j[e>>2];d=m}c=d;g=c+4|0;d=j[c+4>>2];if(d){continue}break}n=m;continue}}f=j[q+4>>2];o=s}if(f){while(1){d=f;f=j[d+4>>2];T:{if(j[d+16>>2]){break T}c=j[q+4>>2];if(!c){break T}if((c|0)==(d|0)){j[q+4>>2]=f;break T}while(1){e=c;c=j[c+4>>2];if(!c){break T}if((c|0)!=(d|0)){continue}break}j[e+4>>2]=f}if(f){continue}break}}U:{if(!n){break U}while(1){d=n;n=j[d+4>>2];V:{if(j[d+16>>2]){break V}c=j[q>>2];if(!c){break V}if((c|0)==(d|0)){j[q>>2]=n;if(!n){break U}continue}while(1){e=c;c=j[c+4>>2];if(!c){break V}if((c|0)!=(d|0)){continue}break}j[e+4>>2]=n;if(!n){break U}continue}if(n){continue}break}}r=j[a+48>>2];if((r|0)>=1){d=w-s|0;c=j[q+8>>2];s=o;continue}break}s=o}if(i[q+12>>1]>16){break f}while(1){qe[j[a+172>>2]](a);s=(s<<16)+65536>>16;if((s|0)<=i[q+12>>1]){continue}break}}c=j[a+1020>>2]-1|0;break c}if(j[a+44>>2]==98){break d}d=1;break a}j[a+44>>2]=0;c=j[a+1020>>2];d=(c<<2)+a|0;e=d;n=i[d+958>>1];f=i[d+956>>1];d=(n+f|0)/2|0;if(!((d|0)>=(f|0)?(c|0)<=6:0)){j[a+44>>2]=20;j[a+1020>>2]=0;d=20;break a}c=c+1|0;f=(c<<2)+a|0;i[f+958>>1]=n;i[f+956>>1]=d;i[e+958>>1]=d-1}j[a+1020>>2]=c;if((c|0)>-1){continue}break}d=0;break a}j[a+44>>2]=20;d=1}oe=q+16|0;return d}function uw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=oe-1520|0;oe=f;j[b>>2]=1;s=vh(j[b+96>>2],91737);j[b+484>>2]=s;r=ch(j[j[b+96>>2]+4>>2],91754);j[b+488>>2]=r;a:{if(!r){a=11;break a}x=b,y=ch(j[j[b+96>>2]+4>>2],91760),j[x+548>>2]=y;o=j[b+488>>2];Ee(f+8|0,0,376);j[b+540>>2]=0;j[b+532>>2]=-1;j[b+536>>2]=-1;j[b+284>>2]=1;j[b+348>>2]=3932;j[b+172>>2]=4;j[b+276>>2]=2596864;j[b+280>>2]=7;d=j[b+104>>2];e=j[b+100>>2];qe[j[j[o+4>>2]>>2]](f+8|0,0,0,e);j[f+92>>2]=0;j[f+96>>2]=0;h[f+99|0]=0;h[f+100|0]=0;h[f+101|0]=0;h[f+102|0]=0;j[f+84>>2]=0;j[f+88>>2]=0;j[f+80>>2]=d;a=Qn(d,91796,14);j[f+4>>2]=a;b:{c:{d:{if(a){if((a&255)!=2){break d}a=Qn(d,91811,10);j[f+4>>2]=a;if(a){break d}}a=Fe(d,0);j[f+4>>2]=a;if(a){break d}n=qf(d,f+1512|0);e:{f:{g:{h:{a=j[f+1512>>2];if(!a){if((n+32767&65535)>>>0>=2){j[f+4>>2]=0;break g}g=Wf(d,f+1512|0);a=j[f+1512>>2];if(!a){break h}}j[f+4>>2]=a;break d}j[f+4>>2]=0;if((n|0)==32769){break f}}a=Fe(d,0);j[f+4>>2]=a;if(a){break d}g=j[d+4>>2];break e}h[f+100|0]=1}i:{if(!j[d+20>>2]){a=j[d+8>>2];n=j[d>>2];h[f+101|0]=1;j[f+88>>2]=g;j[f+84>>2]=a+n;a=vf(d,g);j[f+4>>2]=a;if(a){break d}g=j[f+88>>2];break i}n=He(e,g,f+4|0);j[f+84>>2]=n;a=j[f+4>>2];if(a){break d}a=uf(d,n,g);j[f+4>>2]=a;if(a){break d}j[f+88>>2]=g}d=j[f+84>>2];j[f+12>>2]=d;j[f+8>>2]=d;j[f+16>>2]=d+g;j[f>>2]=0;break c}if(k[f+101|0]){j[f>>2]=a;break b}a=j[f+84>>2];if(a){qe[j[e+8>>2]](e,a)}d=0;j[f+84>>2]=0;a=j[f+4>>2];j[f>>2]=a;if(a){break b}g=j[f+88>>2]}a=Pn(b,f+8|0,d,g);j[f>>2]=a;if(a){break b}q=j[f+24>>2];d=j[f+80>>2];j[f+4>>2]=0;j:{k:{l:{m:{if(k[f+100|0]){n=j[d+8>>2];j[f+96>>2]=0;while(1){e=qf(d,f+1512|0);a=j[f+1512>>2];if(a){break k}if((e+32767&65535)>>>0>=2){j[f+4>>2]=0;break m}g=Wf(d,f+1512|0);a=j[f+1512>>2];if(a){break k}j[f+4>>2]=0;if((e|0)!=32770){break m}j[f+96>>2]=g+j[f+96>>2];a=vf(d,g);j[f+4>>2]=a;if(!a){continue}break}break k}e=j[f+84>>2];g=j[f+88>>2];d=e+g|0;a=e;while(1){n:{o:{if(k[a|0]!=101|a+9>>>0>=d>>>0|(k[a+1|0]!=101|k[a+2|0]!=120)){break o}if(k[a+3|0]!=101){break o}if(k[a+4|0]==99){break n}}a=a+1|0;if(d>>>0>a>>>0){continue}j[f>>2]=3;break b}a=a+10|0;j[f+16>>2]=a;j[f+8>>2]=e;p:{if(a>>>0>e>>>0){while(1){if(k[e|0]==101){if(!Qe(e,91822,5)){break p}}qe[j[f+40>>2]](f+8|0);if(!j[f+20>>2]){qe[j[f+36>>2]](f+8|0);e=j[f+8>>2];if(e>>>0>>0){continue}}break}g=j[f+88>>2];e=j[f+84>>2]}d=e+g|0;continue}break}j[f+16>>2]=j[f+84>>2]+j[f+88>>2];qe[j[f+40>>2]](f+8|0);n=j[f+16>>2];d=j[f+8>>2];a=n-d|0;g=Mh(d,10,a);e=1;q:{if(!g){break q}e=Mh(d,13,a)>>>0>>0}a=3;if(d>>>0>=n>>>0){break k}g=(e|0)!=0;while(1){r:{e=k[d|0];if(!((e|0)==9|(e|0)==32|(e|0)==10)){if(!(g&(e|0)==13)){break r}}d=d+1|0;if((n|0)!=(d|0)){continue}break k}break}g=j[f+84>>2];e=j[f+88>>2]+(g-d|0)|0;s:{if(k[f+101|0]){g=He(q,e+1|0,f+4|0);j[f+92>>2]=g;a=j[f+4>>2];if(a){break k}j[f+96>>2]=e;break s}j[f+96>>2]=e;j[f+92>>2]=g;h[f+102|0]=1;j[f+84>>2]=0;j[f+88>>2]=0}t:{if(n>>>0<=d+3>>>0){break t}u:{a=k[d|0];if(a-48>>>0<10){break u}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break u;default:break t}}v:{a=k[d+1|0];if(a-48>>>0<10){break v}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break v;default:break t}}w:{a=k[d+2|0];if(a-48>>>0<10){break w}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break w;default:break t}}x:{a=k[d+3|0];if(a-48>>>0<10){break x}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break x;default:break t}}j[f+8>>2]=d;qe[j[j[o+4>>2]+24>>2]](f+8|0,g,e,f+1512|0,0)|0;a=j[f+1512>>2];j[f+96>>2]=a;h[a+j[f+92>>2]|0]=0;break l}tg(g,d,e);break l}if(!j[f+96>>2]){j[f>>2]=3;break b}a=Fe(d,n);j[f+4>>2]=a;if(a){break k}x=f,y=He(q,j[f+96>>2],f+4|0),j[x+92>>2]=y;a=j[f+4>>2];if(a){break k}j[f+96>>2]=0;a=qf(d,f+1512|0);y:{if(j[f+1512>>2]){break y}while(1){if((a+32767&65535)>>>0>1){break y}e=Wf(d,f+1512|0);if(j[f+1512>>2]){break y}j[f+4>>2]=0;if((a&65535)!=32770){break y}a=uf(d,j[f+92>>2]+j[f+96>>2]|0,e);j[f+4>>2]=a;if(a){break k}j[f+96>>2]=e+j[f+96>>2];a=qf(d,f+1512|0);if(!j[f+1512>>2]){continue}break}}j[f+4>>2]=0}qe[j[o+16>>2]](j[f+92>>2],j[f+96>>2],55665);a=3;if(m[f+96>>2]>3){break j}}j[f>>2]=a;break b}h[j[f+92>>2]]=32;h[j[f+92>>2]+1|0]=32;h[j[f+92>>2]+2|0]=32;h[j[f+92>>2]+3|0]=32;a=j[f+92>>2];j[f+12>>2]=a;j[f+8>>2]=a;d=j[f+96>>2];j[f+16>>2]=d+a;e=j[f+4>>2];j[f>>2]=e;if(e){break b}a=Pn(b,f+8|0,a,d);j[f>>2]=a;if(a){break b}h[b+176|0]=k[b+176|0]&254;z:{A:{d=j[b+528>>2];if(!d){break A}a=j[d+416>>2];if(!(!a|(a|0)==j[d+4>>2])){j[d+416>>2]=0}B:{C:{if(j[d>>2]){e=j[d+4>>2];if(e){break C}}Mk(b);d=j[b+528>>2];if(!d){break A}e=j[d+4>>2];if(!e){break B}}a=0;while(1){if(k[(p(a,12)+d|0)+88|0]){a=a+1|0;if((e|0)!=(a|0)){continue}break B}break}Mk(b);if(!j[b+528>>2]){break A}}a=j[b+540>>2];if(!a){break z}x=b,y=xe(j[b+100>>2],4,0,a,0,f),j[x+544>>2]=y;if(!j[f>>2]){break z}j[b+540>>2]=0;break b}j[b+540>>2]=0}o=j[f+160>>2];j[b+416>>2]=o;if(j[f+336>>2]){j[f+336>>2]=0;j[b+404>>2]=j[f+320>>2];j[b+392>>2]=j[f+324>>2];j[b+408>>2]=j[f+348>>2];j[b+412>>2]=j[f+352>>2]}if(!(j[j[b+128>>2]+48>>2]|j[f+228>>2])){j[f>>2]=3}e=0;j[f+228>>2]=0;j[b+396>>2]=j[f+216>>2];j[b+424>>2]=j[f+240>>2];j[b+428>>2]=j[f+244>>2];j[b+400>>2]=j[f+164>>2];j[b+420>>2]=j[f+188>>2];j[f+188>>2]=0;j[f+164>>2]=0;if(j[b+368>>2]!=1){break b}g=0;t=j[f+124>>2];if((t|0)>=1){d=0;while(1){u=d<<1;i[u+j[b+384>>2]>>1]=0;n=d<<2;j[n+j[b+388>>2]>>2]=91788;D:{if((o|0)<1){break D}v=j[n+j[f+132>>2]>>2];if(!v){break D}w=j[b+420>>2];a=0;while(1){q=j[(a<<2)+w>>2];if(!we(v,q)){i[j[b+384>>2]+u>>1]=a;j[n+j[b+388>>2]>>2]=q;if(!we(91788,q)){break D}g=(d|0)<(g|0)?g:d+1|0;e=(d|0)<(e|0)?d:e;break D}a=a+1|0;if((o|0)!=(a|0)){continue}break}}d=d+1|0;if((t|0)!=(d|0)){continue}break}}j[b+380>>2]=g;j[b+376>>2]=e;j[b+372>>2]=j[f+104>>2]}a=j[f+156>>2];if(a){qe[a|0](f+108|0)}a=j[f+264>>2];if(a){qe[a|0](f+216|0)}a=j[f+212>>2];if(a){qe[a|0](f+164|0)}a=j[f+316>>2];if(a){qe[a|0](f+268|0)}a=j[f+372>>2];if(a){qe[a|0](f+324|0)}a=j[f+24>>2];d=a;e=j[f+92>>2];if(e){qe[j[d+8>>2]](d,e)}j[f+92>>2]=0;if(!k[f+101|0]){d=j[f+84>>2];if(d){qe[j[a+8>>2]](a,d)}j[f+84>>2]=0}qe[j[f+32>>2]](f+8|0);a=j[f>>2];if(a|(c|0)<0){break a}a=6;if((c|0)>0){break a}j[b+4>>2]=0;j[b+16>>2]=j[b+416>>2];c=j[b+8>>2];a=c|2577;j[b+8>>2]=a;if(k[b+156|0]){a=c|2581;j[b+8>>2]=a}e=j[b+528>>2];if(e){j[b+8>>2]=a|256}j[b+24>>2]=0;d=j[b+144>>2];j[b+20>>2]=d;E:{F:{if(d){a=j[b+140>>2];if(!a){break F}c=k[a|0];if(!c){a=91769;break E}while(1){G:{H:{g=c&255;c=k[d|0];if((g|0)==(c|0)){a=a+1|0;break H}g=g-32|0;if(!((g|0)!=13?g:0)){a=a+1|0;break G}I:{switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break F;case 0:case 13:break H;default:break I}}if(c){break F}break E}d=d+1|0}c=k[a|0];if(c){continue}break}a=91769;break E}a=j[b+364>>2];if(!a){break F}j[b+20>>2]=a}a=j[b+148>>2];a=a?a:91769}j[b+24>>2]=a;c=j[b+152>>2]!=0;j[b+12>>2]=c;a=j[b+148>>2];J:{if(!a){break J}if(we(a,91777)){if(we(a,91782)){break J}}j[b+12>>2]=c|2}j[b+28>>2]=0;j[b+32>>2]=0;j[b+52>>2]=j[b+460>>2]>>16;a=j[b+464>>2]>>16;j[b+56>>2]=a;g=j[b+468>>2]+65535>>16;j[b+60>>2]=g;d=j[b+472>>2]+65535>>16;j[b- -64>>2]=d;c=l[b+68>>1];if(!c){i[b+68>>1]=1e3;c=1e3}i[b+76>>1]=g;i[b+72>>1]=a;i[b+70>>1]=d;a=d-a|0;c=(p(c,12)>>>0)/10|0;i[b+74>>1]=(a|0)>c<<16>>16?a:c;d=0;a=e;e=j[b+488>>2];if(!(qe[j[j[e+12>>2]>>2]](f+8|0,b,0,0,j[b+420>>2],a,0,0,427)|0)){h[f+76|0]=0;h[f+78|0]=1;j[f+1372>>2]=j[b+404>>2];j[f+1376>>2]=j[b+408>>2];j[f+1380>>2]=j[b+412>>2];j[f+1496>>2]=j[b+544>>2];j[f+1500>>2]=j[b+540>>2];if(j[b+416>>2]>=1){a=0;while(1){K:{if(wj(f+8|0,a,f+1512|0)){break K}c=j[j[j[f+12>>2]+128>>2]+48>>2];if(!c){break K}qe[j[j[c>>2]+4>>2]](j[c+4>>2],f+1512|0)}c=j[f+48>>2];d=a?(c|0)>(d|0)?c:d:c;a=a+1|0;if((a|0)>2]){continue}break}}qe[j[j[e+12>>2]+4>>2]](f+8|0);i[b+76>>1]=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>>16}i[b+78>>1]=l[b+74>>1];j[b+80>>2]=l[b+158>>1]|l[b+160>>1]<<16;if(!s){a=0;break a}d=j[r+20>>2];j[f+8>>2]=b;j[f+12>>2]=1970170211;j[f+16>>2]=65539;a=qg(j[d+12>>2],0,f+8|0,0);L:{if((a&255)!=163?a:0){break L}i[f+16>>1]=7;a=0;M:{N:{switch(j[b+368>>2]-1|0){case 1:i[f+18>>1]=0;j[f+12>>2]=1094995778;break M;case 3:i[f+18>>1]=1;j[f+12>>2]=1094992453;d=d+4|0;break M;case 0:i[f+18>>1]=2;j[f+12>>2]=1094992451;d=d+8|0;break M;case 2:break N;default:break L}}d=d+12|0;i[f+18>>1]=3;j[f+12>>2]=1818326065}b=j[d>>2];if(!b){break L}a=qg(b,0,f+8|0,0)}oe=f+1520|0;return a|0}oe=f+1520|0;return a|0}function up(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;f=oe-352|0;oe=f;m=6;a:{if(!a|!b|(!c|!d)){break a}b:{c:{d:{e:{p=j[b>>2];if((j[a+8>>2]-p|0)+1>>>0>2){break e}e=j[b+4>>2];if((j[a+12>>2]-e|0)+1>>>0>2){break e}g=p;p=j[c>>2];if((g-p|0)+1>>>0>2){break e}g=e;e=j[c+4>>2];if((g-e|0)+1>>>0>2|(p-j[d>>2]|0)+1>>>0>2|(e-j[d+4>>2]|0)+1>>>0>2){break e}break d}e=j[d+4>>2];j[f+32>>2]=j[d>>2];j[f+36>>2]=e;e=j[c+4>>2];j[f+40>>2]=j[c>>2];j[f+44>>2]=e;c=j[b+4>>2];j[f+48>>2]=j[b>>2];j[f+52>>2]=c;b=j[a+12>>2];j[f+56>>2]=j[a+8>>2];j[f+60>>2]=b;w=a- -64|0;o=f+32|0;b=1;while(1){c=j[a>>2];B=f+32|0;f:{g:{if((u|0)>31){e=c;p=c;break g}g=j[o+20>>2];v=g-j[o+28>>2]|0;i=j[o+8>>2];p=j[o+16>>2];n=i-p|0;e=j[o+12>>2];l=e-g|0;g=n+1>>>0<3&l+1>>>0<3;r=j[o>>2]-i|0;q=(f+32|0)+(u<<3)|0;s=j[q+4>>2]-e|0;i=r+1>>>0<3&s+1>>>0<3;h:{i:{j:{e=p-j[o+24>>2]|0;k:{if(!(e+1>>>0>2|v+1>>>0>2)){if(g){e=c;p=c;if(i){break h}c=Gf(r,s);break k}c=Gf(n,l);if(i){break k}p=Gf(r,s);e=c;break h}c=Gf(e,v);if(!g){break i}if(!i){break j}}e=c;p=c;break h}p=Gf(r,s);e=((Bf(c,p)|0)/2|0)+c|0;break h}e=Gf(n,l);if(i){p=e;break h}p=Gf(r,s)}i=Bf(c,e);g=Bf(e,p);l=i;i=i>>31;if((l+i^i)<=1474559){i=g>>31;if((i+g^i)<1474560){break g}}if(k[a+20|0]){j[a>>2]=c}c=j[o+24>>2];j[o+48>>2]=c;g=j[o+28>>2];j[o+52>>2]=g;i=j[o+8>>2];e=(i+j[o>>2]|0)/2|0;j[o+8>>2]=e;p=c;c=j[o+16>>2];p=(p+c|0)/2|0;j[o+40>>2]=p;c=(c+i|0)/2|0;e=(c+e|0)/2|0;j[o+16>>2]=e;c=(c+p|0)/2|0;j[o+32>>2]=c;j[o+24>>2]=(c+e|0)/2;i=j[(q|4)>>2];e=j[o+20>>2];c=(e+g|0)/2|0;j[o+44>>2]=c;g=c;c=j[o+12>>2];p=(c+e|0)/2|0;e=(g+p|0)/2|0;j[o+36>>2]=e;c=(c+i|0)/2|0;j[o+12>>2]=c;c=(c+p|0)/2|0;j[o+20>>2]=c;j[o+28>>2]=(c+e|0)/2;u=u+3|0;break f}l:{m:{n:{if(b&255){if(k[a+20|0]){of(f+336|0,j[a+60>>2],c+5898240|0);s=j[a+12>>2];v=j[f+340>>2];n=j[a+8>>2];l=j[f+336>>2];b=j[a+84>>2];o:{if((b|0)>=0){r=j[w>>2];if(r>>>0<=b+1>>>0){j[w>>2]=b;break o}g=r-1|0;j[a+64>>2]=g;i=j[a+72>>2];q=i+(b<<3)|0;g=i+(g<<3)|0;i=j[g+4>>2];j[q>>2]=j[g>>2];j[q+4>>2]=i;b=j[a+76>>2]+b|0;h[b|0]=k[b|0]|4;b=(r+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[w>>2]}i=s+v|0;n=l+n|0;h[a+80|0]=0;j[a+84>>2]=b;p:{q:{if(!b){break q}g=j[a+72>>2]+(b-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break q}if((j[g+4>>2]-i|0)+1>>>0<3){break p}}g=j[a+68>>2];j[f+24>>2]=0;q=b+1|0;r:{if(q>>>0<=g>>>0){t=j[a+76>>2];break r}l=j[a+88>>2];b=g;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}D=a,E=xe(l,8,g,b,j[a+72>>2],f+24|0),j[D+72>>2]=E;m=j[f+24>>2];if(m){break n}t=xe(l,1,g,b,j[a+76>>2],f+24|0);j[a+76>>2]=t;m=j[f+24>>2];if(m){break n}j[a+68>>2]=b;b=j[a+64>>2]}g=j[a+72>>2]+(b<<3)|0;j[g>>2]=n;j[g+4>>2]=i;h[b+t|0]=1;h[a+80|0]=0;j[a+64>>2]=j[a+64>>2]+1}s=j[a+12>>2];v=j[f+340>>2];n=j[a+8>>2];l=j[f+336>>2];b=j[a+116>>2];s:{if((b|0)>=0){r=j[a+96>>2];if(r>>>0<=b+1>>>0){j[a+96>>2]=b;break s}g=r-1|0;j[a+96>>2]=g;i=j[a+104>>2];q=i+(b<<3)|0;g=i+(g<<3)|0;i=j[g+4>>2];j[q>>2]=j[g>>2];j[q+4>>2]=i;b=j[a+108>>2]+b|0;h[b|0]=k[b|0]|4;b=(r+j[a+108>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[a+96>>2]}i=s-v|0;n=n-l|0;h[a+112|0]=0;j[a+116>>2]=b;t:{u:{if(!b){break u}g=j[a+104>>2]+(b-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break u}m=0;if((j[g+4>>2]-i|0)+1>>>0<3){break t}}g=j[a+100>>2];j[f+24>>2]=0;q=b+1|0;v:{w:{if(q>>>0<=g>>>0){t=j[a+108>>2];break w}l=j[a+120>>2];b=g;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}D=a,E=xe(l,8,g,b,j[a+104>>2],f+24|0),j[D+104>>2]=E;m=j[f+24>>2];if(m){break v}t=xe(l,1,g,b,j[a+108>>2],f+24|0);j[a+108>>2]=t;m=j[f+24>>2];if(m){break v}j[a+100>>2]=b;b=j[a+96>>2]}g=j[a+104>>2]+(b<<3)|0;j[g>>2]=n;j[g+4>>2]=i;h[b+t|0]=1;j[a+96>>2]=j[a+96>>2]+1;m=0}h[a+112|0]=0}j[a+36>>2]=0;h[a+20|0]=0;j[a+24>>2]=c;break m}j[a+4>>2]=c;b=Bf(j[a>>2],c);if(!b){break l}m=ki(a,b>>>31|0,0);if(m){break a}m=ji(a,(b^-1)>>>31|0,0);break m}m=0;b=Bf(j[a>>2],c);i=b>>31;if((i^b+i)<368641){break m}i=j[o+28>>2];b=j[o+24>>2];j[a+48>>2]=0;j[a+4>>2]=c;j[a+8>>2]=b;j[a+12>>2]=i;b=Bf(j[a>>2],c);x:{if(!b){break x}m=ki(a,b>>>31|0,0);if(m){break x}m=ji(a,(b^-1)>>>31|0,0)}j[a+48>>2]=j[a+52>>2];break m}h[a+80|0]=0}if(m){break a}}q=Bf(c,e);g=Bf(e,p);i=(Bf(c,e)|0)/2|0;b=(Bf(e,p)|0)/2|0;C=De(j[a+60>>2],ii((q|0)/2|0));r=De(j[a+60>>2],ii((g|0)/2|0));if(k[a+40|0]){q=Gf(j[o>>2]-j[o+24>>2]|0,j[((f+32|0)+(u<<3)|0)+4>>2]-j[o+28>>2]|0)}else{q=0}s=c+i|0;v=b+e|0;y=(f+32|0)+(u<<3)|4;b=5898240;t=1;c=w;while(1){of(f+336|0,C,b+s|0);j[f+336>>2]=j[f+336>>2]+j[o+16>>2];j[f+340>>2]=j[f+340>>2]+j[o+20>>2];of(f+24|0,r,b+v|0);j[f+24>>2]=j[f+24>>2]+j[o+8>>2];j[f+28>>2]=j[f+28>>2]+j[o+12>>2];of(f+16|0,j[a+60>>2],b+p|0);n=j[f+16>>2]+j[o>>2]|0;j[f+16>>2]=n;l=j[f+20>>2]+j[y>>2]|0;j[f+20>>2]=l;y:{z:{if(!k[a+40|0]){break z}e=(j[c+8>>2]+(j[c>>2]<<3)|0)-8|0;b=j[e+4>>2];i=j[e>>2];g=b;e=i;x=b;l=Gf(n-e|0,l-b|0);b=Bf(q,l);n=b>>31;if((n^b+n)<5898241){break z}z=Gf(j[o+24>>2]-e|0,j[o+28>>2]-x|0);b=Gf(j[o>>2]-j[f+16>>2]|0,j[y>>2]-j[f+20>>2]|0);j[f+8>>2]=j[f+16>>2]-e;j[f+12>>2]=j[f+20>>2]-x;n=Gj(f+8|0);l=hi(l-b|0);A=l>>31;b=hi(z-b|0);m=b>>31;of(f,Ne(n,A^l+A,m^b+m),z);n=e+j[f>>2]|0;j[f>>2]=n;l=x+j[f+4>>2]|0;j[f+4>>2]=l;h[c+16|0]=0;b=j[c>>2];A:{B:{C:{D:{if(!b){break D}e=j[c+8>>2]+(b-1<<3)|0;if((j[e>>2]-n|0)+1>>>0>2){break D}if((j[e+4>>2]-l|0)+1>>>0<3){break C}}e=j[c+4>>2];j[f+348>>2]=0;l=b+1|0;E:{if(l>>>0<=e>>>0){e=j[c+12>>2];break E}n=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(l>>>0>b>>>0){continue}break}D=c,E=xe(n,8,e,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}e=xe(n,1,e,b,j[c+12>>2],f+348|0);j[c+12>>2]=e;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;b=j[c>>2]}l=j[f+4>>2];n=j[c+8>>2]+(b<<3)|0;j[n>>2]=j[f>>2];j[n+4>>2]=l;h[b+e|0]=1;e=0;h[c+16|0]=0;l=j[c>>2];b=l+1|0;j[c>>2]=b;if(b>>>0>>0){break B}}l=j[c+8>>2]+(b-1<<3)|0;if((j[l>>2]-j[f+16>>2]|0)+1>>>0>2){e=b;break B}e=b;if((j[l+4>>2]-j[f+20>>2]|0)+1>>>0<3){break A}}l=j[c+4>>2];j[f+348>>2]=0;n=e+1|0;F:{if(n>>>0<=l>>>0){n=j[c+12>>2];break F}e=j[c+24>>2];b=l;while(1){b=((b>>>1|0)+b|0)+16|0;if(n>>>0>b>>>0){continue}break}D=c,E=xe(e,8,l,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}n=xe(e,1,l,b,j[c+12>>2],f+348|0);j[c+12>>2]=n;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;e=j[c>>2]}b=j[f+20>>2];l=j[c+8>>2]+(e<<3)|0;j[l>>2]=j[f+16>>2];j[l+4>>2]=b;h[e+n|0]=1;h[c+16|0]=0;b=j[c>>2]+1|0;j[c>>2]=b}e=j[c+4>>2];j[f+348>>2]=0;l=b+3|0;G:{if(l>>>0<=e>>>0){e=j[c+12>>2];break G}n=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(l>>>0>b>>>0){continue}break}D=c,E=xe(n,8,e,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}e=xe(n,1,e,b,j[c+12>>2],f+348|0);j[c+12>>2]=e;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;b=j[c>>2]}l=j[f+28>>2];m=j[c+8>>2]+(b<<3)|0;j[m>>2]=j[f+24>>2];j[m+4>>2]=l;n=j[f+336>>2];l=j[f+340>>2];j[m+16>>2]=i;j[m+20>>2]=g;j[m+8>>2]=n;j[m+12>>2]=l;b=b+e|0;h[b+2|0]=1;h[b|0]=2;h[b+1|0]=2;h[c+16|0]=0;i=j[c>>2];b=i+3|0;j[c>>2]=b;H:{if(!b){break H}e=j[c+8>>2]+(i+2<<3)|0;if((j[e>>2]-j[f+16>>2]|0)+1>>>0>2){break H}if((j[e+4>>2]-j[f+20>>2]|0)+1>>>0<3){break y}}e=j[c+4>>2];j[f+348>>2]=0;i=i+4|0;I:{if(i>>>0<=e>>>0){e=j[c+12>>2];break I}g=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}D=c,E=xe(g,8,e,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}e=xe(g,1,e,b,j[c+12>>2],f+348|0);j[c+12>>2]=e;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;b=j[c>>2]}i=j[f+20>>2];g=j[c+8>>2]+(b<<3)|0;j[g>>2]=j[f+16>>2];j[g+4>>2]=i;h[b+e|0]=1;h[c+16|0]=0;j[c>>2]=j[c>>2]+1;break y}e=j[c+4>>2];b=j[c>>2];j[f+8>>2]=0;i=b+3|0;J:{if(i>>>0<=e>>>0){e=j[c+12>>2];break J}g=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}D=c,E=xe(g,8,e,b,j[c+8>>2],f+8|0),j[D+8>>2]=E;m=j[f+8>>2];if(m){break b}e=xe(g,1,e,b,j[c+12>>2],f+8|0);j[c+12>>2]=e;m=j[f+8>>2];if(m){break b}j[c+4>>2]=b;b=j[c>>2]}i=j[f+340>>2];g=j[c+8>>2]+(b<<3)|0;j[g>>2]=j[f+336>>2];j[g+4>>2]=i;i=j[f+28>>2];j[g+8>>2]=j[f+24>>2];j[g+12>>2]=i;i=j[f+20>>2];j[g+16>>2]=j[f+16>>2];j[g+20>>2]=i;b=b+e|0;h[b+2|0]=1;h[b|0]=2;h[b+1|0]=2;h[c+16|0]=0;j[c>>2]=j[c>>2]+3}c=c+32|0;e=t&1;b=-5898240;t=0;if(e){continue}break}j[a>>2]=p;b=0;u=u-3|0}o=B+(u<<3)|0;if((u|0)>-1){continue}break}}b=j[d+4>>2];j[a+8>>2]=j[d>>2];j[a+12>>2]=b;m=0;break a}h[c+16|0]=0;break a}h[c+16|0]=0}oe=f+352|0;return m}function DD(a,b,c,d,e,f,g){var h=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;h=oe-8976|0;oe=h;z=d+e|0;F=0-z|0;a:{b:{while(1){if((c|0)!=48){c:{if((c|0)!=46){break a}c=j[b+4>>2];if(c>>>0>=m[b+104>>2]){break c}j[b+4>>2]=c+1;c=k[c|0];break b}}else{c=j[b+4>>2];if(c>>>0>2]){l=1;j[b+4>>2]=c+1;c=k[c|0]}else{l=1;c=ff(b)}continue}break}c=ff(b)}n=1;if((c|0)!=48){break a}while(1){c=q;q=c-1|0;o=o-(c>>>0<1)|0;c=j[b+4>>2];d:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break d}c=ff(b)}if((c|0)==48){continue}break}l=1}j[h+784>>2]=0;e:{f:{t=(c|0)==46;s=c-48|0;g:{h:{i:{j:{if(t|s>>>0<=9){while(1){k:{if(t&1){if(!n){q=r;o=i;n=1;break k}l=!l;break j}r=r+1|0;i=r>>>0<1?i+1|0:i;if((v|0)<=2044){y=(c|0)==48?y:r;l=(h+784|0)+(v<<2)|0;t=l;if(u){s=(p(j[l>>2],10)+c|0)-48|0}j[t>>2]=s;l=1;s=u+1|0;c=(s|0)==9;u=c?0:s;v=c+v|0;break k}if((c|0)==48){break k}j[h+8960>>2]=j[h+8960>>2]|1;y=18396}c=j[b+4>>2];l:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break l}c=ff(b)}t=(c|0)==46;s=c-48|0;if(t|s>>>0<10){continue}break}}q=n?q:r;o=n?o:i;if(!(!l|(c&-33)!=69)){n=Ip(b,g);c=pe;t=c;m:{if(n|(c|0)!=-2147483648){break m}if(!g){break g}n=0;t=0;if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1}if(!l){break h}o=o+t|0;b=n+q|0;o=b>>>0>>0?o+1|0:o;q=b;break f}l=!l;if((c|0)<0){break i}}if(!j[b+104>>2]){break i}j[b+4>>2]=j[b+4>>2]-1}if(!l){break f}}j[67100]=28}r=0;i=0;kg(b,0,0);c=0;b=0;break e}b=j[h+784>>2];if(!b){Ng(h,+(f|0)*0);r=j[h>>2];i=j[h+4>>2];c=j[h+12>>2];b=j[h+8>>2];break e}if(!((q|0)!=(r|0)|(i|0)!=(o|0)|((i|0)>0?1:(i|0)>=0?r>>>0>9:0)|(b>>>d|0?(d|0)<=30:0))){ag(h+48|0,f);mi(h+32|0,b);kf(h+16|0,j[h+48>>2],j[h+52>>2],j[h+56>>2],j[h+60>>2],j[h+32>>2],j[h+36>>2],j[h+40>>2],j[h+44>>2]);r=j[h+16>>2];i=j[h+20>>2];c=j[h+28>>2];b=j[h+24>>2];break e}if((o|0)>0?1:(o|0)>=0?q>>>0>(e|0)/-2>>>0:0){j[67100]=68;ag(h+96|0,f);kf(h+80|0,j[h+96>>2],j[h+100>>2],j[h+104>>2],j[h+108>>2],-1,-1,-1,2147418111);kf(h- -64|0,j[h+80>>2],j[h+84>>2],j[h+88>>2],j[h+92>>2],-1,-1,-1,2147418111);r=j[h+64>>2];i=j[h+68>>2];c=j[h+76>>2];b=j[h+72>>2];break e}b=e-226|0;c=q>>>0>>0;b=b>>31;if((b|0)>(o|0)?1:(o|0)<=(b|0)?c:0){j[67100]=68;ag(h+144|0,f);kf(h+128|0,j[h+144>>2],j[h+148>>2],j[h+152>>2],j[h+156>>2],0,0,0,65536);kf(h+112|0,j[h+128>>2],j[h+132>>2],j[h+136>>2],j[h+140>>2],0,0,0,65536);r=j[h+112>>2];i=j[h+116>>2];c=j[h+124>>2];b=j[h+120>>2];break e}if(u){if((u|0)<=8){c=(h+784|0)+(v<<2)|0;b=j[c>>2];while(1){b=p(b,10);u=u+1|0;if((u|0)!=9){continue}break}j[c>>2]=b}v=v+1|0}n:{n=q;if((y|0)>(n|0)|(y|0)>=9|(n|0)>17){break n}if((n|0)==9){ag(h+192|0,f);mi(h+176|0,j[h+784>>2]);kf(h+160|0,j[h+192>>2],j[h+196>>2],j[h+200>>2],j[h+204>>2],j[h+176>>2],j[h+180>>2],j[h+184>>2],j[h+188>>2]);r=j[h+160>>2];i=j[h+164>>2];c=j[h+172>>2];b=j[h+168>>2];break e}if((n|0)<=8){ag(h+272|0,f);mi(h+256|0,j[h+784>>2]);kf(h+240|0,j[h+272>>2],j[h+276>>2],j[h+280>>2],j[h+284>>2],j[h+256>>2],j[h+260>>2],j[h+264>>2],j[h+268>>2]);ag(h+224|0,j[(0-n<<2)+227584>>2]);Ap(h+208|0,j[h+240>>2],j[h+244>>2],j[h+248>>2],j[h+252>>2],j[h+224>>2],j[h+228>>2],j[h+232>>2],j[h+236>>2]);r=j[h+208>>2];i=j[h+212>>2];c=j[h+220>>2];b=j[h+216>>2];break e}b=(p(n,-3)+d|0)+27|0;c=j[h+784>>2];if(c>>>b|0?(b|0)<=30:0){break n}ag(h+352|0,f);mi(h+336|0,c);kf(h+320|0,j[h+352>>2],j[h+356>>2],j[h+360>>2],j[h+364>>2],j[h+336>>2],j[h+340>>2],j[h+344>>2],j[h+348>>2]);ag(h+304|0,j[(n<<2)+227512>>2]);kf(h+288|0,j[h+320>>2],j[h+324>>2],j[h+328>>2],j[h+332>>2],j[h+304>>2],j[h+308>>2],j[h+312>>2],j[h+316>>2]);r=j[h+288>>2];i=j[h+292>>2];c=j[h+300>>2];b=j[h+296>>2];break e}while(1){c=v;v=c-1|0;if(!j[(h+784|0)+(v<<2)>>2]){continue}break}u=0;b=(n|0)%9|0;o:{if(!b){l=0;break o}g=(n|0)>-1?b:b+9|0;p:{if(!c){l=0;c=0;break p}q=j[(0-g<<2)+227584>>2];o=1e9/(q|0)|0;t=0;b=0;l=0;while(1){s=t;i=(h+784|0)+(b<<2)|0;r=j[i>>2];t=(r>>>0)/(q>>>0)|0;s=s+t|0;j[i>>2]=s;s=!s&(b|0)==(l|0);l=s?l+1&2047:l;n=s?n-9|0:n;t=p(o,r-p(q,t)|0);b=b+1|0;if((c|0)!=(b|0)){continue}break}if(!t){break p}j[(h+784|0)+(c<<2)>>2]=t;c=c+1|0}n=(n-g|0)+9|0}while(1){r=(h+784|0)+(l<<2)|0;q:{while(1){if((n|0)!=36|m[r>>2]>=10384593?(n|0)>=36:0){break q}v=c+2047|0;t=0;s=c;while(1){c=s;i=v&2047;s=(h+784|0)+(i<<2)|0;b=j[s>>2];o=b>>>3|0;g=b<<29;b=g+t|0;o=b>>>0>>0?o+1|0:o;q=b;g=0;r:{if(!o&b>>>0<1000000001){break r}g=iP(b,o,1e9);q=q-gP(g,pe,1e9,0)|0}t=g;j[s>>2]=q;s=(i|0)!=(c-1&2047)?c:(i|0)==(l|0)?c:q?c:i;v=i-1|0;if((i|0)!=(l|0)){continue}break}u=u-29|0;if(!t){continue}break}l=l-1&2047;if((s|0)==(l|0)){b=(h+784|0)+((s+2046&2047)<<2)|0;c=s-1&2047;j[b>>2]=j[b>>2]|j[(h+784|0)+(c<<2)>>2]}n=n+9|0;j[(h+784|0)+(l<<2)>>2]=t;continue}break}s:{t:while(1){g=c+1&2047;o=(h+784|0)+((c-1&2047)<<2)|0;while(1){q=(n|0)>45?9:1;u:{while(1){s=l;b=0;v:{while(1){w:{l=b+s&2047;if((l|0)==(c|0)){break w}l=j[(h+784|0)+(l<<2)>>2];i=j[(b<<2)+227536>>2];if(l>>>0>>0){break w}if(i>>>0>>0){break v}b=b+1|0;if((b|0)!=4){continue}}break}if((n|0)!=36){break v}q=0;o=0;b=0;r=0;i=0;while(1){g=b+s&2047;if((g|0)==(c|0)){c=c+1&2047;j[((c<<2)+h|0)+780>>2]=0}kf(h+768|0,q,o,r,i,0,0,1342177280,1075633366);mi(h+752|0,j[(h+784|0)+(g<<2)>>2]);Xf(h+736|0,j[h+768>>2],j[h+772>>2],j[h+776>>2],j[h+780>>2],j[h+752>>2],j[h+756>>2],j[h+760>>2],j[h+764>>2]);r=j[h+744>>2];i=j[h+748>>2];q=j[h+736>>2];o=j[h+740>>2];b=b+1|0;if((b|0)!=4){continue}break}ag(h+720|0,f);kf(h+704|0,q,o,r,i,j[h+720>>2],j[h+724>>2],j[h+728>>2],j[h+732>>2]);r=j[h+712>>2];i=j[h+716>>2];q=0;o=0;n=j[h+704>>2];t=j[h+708>>2];l=u+113|0;e=l-e|0;g=(e|0)<(d|0);d=g?(e|0)>0?e:0:d;if((d|0)<=112){break u}break s}u=q+u|0;l=c;if((c|0)==(s|0)){continue}break}i=1e9>>>q|0;r=-1<>2];b=(v>>>q|0)+b|0;j[t>>2]=b;b=!b&(l|0)==(s|0);l=b?l+1&2047:l;n=b?n-9|0:n;b=p(i,r&v);s=s+1&2047;if((s|0)!=(c|0)){continue}break}if(!b){continue}if((g|0)!=(l|0)){j[(h+784|0)+(c<<2)>>2]=b;c=g;continue t}j[o>>2]=j[o>>2]|1;l=g;continue}break}break}Ng(h+656|0,Mg(1,225-d|0));Lp(h+688|0,j[h+656>>2],j[h+660>>2],j[h+664>>2],j[h+668>>2],n,t,r,i);A=j[h+696>>2];B=j[h+700>>2];C=j[h+688>>2];D=j[h+692>>2];Ng(h+640|0,Mg(1,113-d|0));yp(h+672|0,n,t,r,i,j[h+640>>2],j[h+644>>2],j[h+648>>2],j[h+652>>2]);q=j[h+672>>2];o=j[h+676>>2];w=j[h+680>>2];x=j[h+684>>2];Fl(h+624|0,n,t,r,i,q,o,w,x);Xf(h+608|0,C,D,A,B,j[h+624>>2],j[h+628>>2],j[h+632>>2],j[h+636>>2]);r=j[h+616>>2];i=j[h+620>>2];n=j[h+608>>2];t=j[h+612>>2]}b=s+4&2047;x:{if((b|0)==(c|0)){break x}b=j[(h+784|0)+(b<<2)>>2];y:{if(b>>>0<=499999999){if((s+5&2047)==(c|0)?!b:0){break y}Ng(h+496|0,+(f|0)*.25);Xf(h+480|0,q,o,w,x,j[h+496>>2],j[h+500>>2],j[h+504>>2],j[h+508>>2]);w=j[h+488>>2];x=j[h+492>>2];q=j[h+480>>2];o=j[h+484>>2];break y}if((b|0)!=5e8){Ng(h+592|0,+(f|0)*.75);Xf(h+576|0,q,o,w,x,j[h+592>>2],j[h+596>>2],j[h+600>>2],j[h+604>>2]);w=j[h+584>>2];x=j[h+588>>2];q=j[h+576>>2];o=j[h+580>>2];break y}E=+(f|0);if((s+5&2047)==(c|0)){Ng(h+528|0,E*.5);Xf(h+512|0,q,o,w,x,j[h+528>>2],j[h+532>>2],j[h+536>>2],j[h+540>>2]);w=j[h+520>>2];x=j[h+524>>2];q=j[h+512>>2];o=j[h+516>>2];break y}Ng(h+560|0,E*.75);Xf(h+544|0,q,o,w,x,j[h+560>>2],j[h+564>>2],j[h+568>>2],j[h+572>>2]);w=j[h+552>>2];x=j[h+556>>2];q=j[h+544>>2];o=j[h+548>>2]}if((d|0)>111){break x}yp(h+464|0,q,o,w,x,0,0,0,1073676288);if(Kh(j[h+464>>2],j[h+468>>2],j[h+472>>2],j[h+476>>2],0,0,0,0)){break x}Xf(h+448|0,q,o,w,x,0,0,0,1073676288);w=j[h+456>>2];x=j[h+460>>2];q=j[h+448>>2];o=j[h+452>>2]}Xf(h+432|0,n,t,r,i,q,o,w,x);Fl(h+416|0,j[h+432>>2],j[h+436>>2],j[h+440>>2],j[h+444>>2],C,D,A,B);r=j[h+424>>2];i=j[h+428>>2];n=j[h+416>>2];t=j[h+420>>2];z:{if((-2-z|0)>=(l&2147483647)){break z}j[h+408>>2]=r;j[h+412>>2]=i&2147483647;j[h+400>>2]=n;j[h+404>>2]=t;kf(h+384|0,n,t,r,i,0,0,0,1073610752);c=Bp(j[h+400>>2],j[h+404>>2],j[h+408>>2],j[h+412>>2],1081081856);b=(c|0)<0;r=b?r:j[h+392>>2];i=b?i:j[h+396>>2];n=b?n:j[h+384>>2];t=b?t:j[h+388>>2];u=((c|0)>-1)+u|0;if(G=!(g&(b|(d|0)!=(e|0))&(Kh(q,o,w,x,0,0,0,0)|0)!=0),H=0,I=(u+110|0)<=(F|0),I?G:H){break z}j[67100]=68}Kp(h+368|0,n,t,r,i,u);r=j[h+368>>2];i=j[h+372>>2];c=j[h+380>>2];b=j[h+376>>2]}j[a>>2]=r;j[a+4>>2]=i;j[a+8>>2]=b;j[a+12>>2]=c;oe=h+8976|0}function LC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0,u=0,v=0;l=oe-304|0;oe=l;j[l+28>>2]=0;f=j[e+32>>2];if(f){m=j[f+278664>>2]}a:{b:{if(Qe(a,7148,7)){break b}c:{o=k[a+7|0];switch(o|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!f|!j[j[e+36>>2]+8>>2]){break a}c=j[f+278664>>2];j[l+48>>2]=0;e=c;c=j[f+88>>2];b=(o?-8:-7)+b|0;d=b+1|0;e=xe(e,1,c,d+c|0,j[f+84>>2],l+48|0);j[f+84>>2]=e;c=j[l+48>>2];if(c){break a}u=Ae(e+j[f+88>>2]|0,o?a+8|0:a+7|0,b)+b|0,v=10,h[u|0]=v;j[f+88>>2]=d+j[f+88>>2];c=j[l+48>>2];break a}g=j[e>>2];if(!(g&1)){d=j[e+139320>>2];c=176;if(Qe(a,7156,9)){break a}d:{switch(k[a+9|0]){case 0:case 9:case 10:case 13:case 32:break d;default:break a}}a=0;j[e+32>>2]=0;j[e>>2]=1;b=He(d,278692,l+28|0);c=j[l+28>>2];if(c){break a}j[e+32>>2]=b;j[b+278664>>2]=j[e+139320>>2];j[e+139320>>2]=0;j[l+48>>2]=0;j[b+278684>>2]=0;j[b+278676>>2]=80;j[b+278680>>2]=241;u=b,v=xe(d,4,0,241,0,l+48|0),j[u+278688>>2]=v;c=j[l+48>>2];j[l+28>>2]=c;if(c){break a}b=b+278676|0;f=7168;while(1){c=wl(j[f>>2],a,b,d);j[l+28>>2]=c;if(c){break a}f=f+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=He(d,16,l+28|0);j[j[e+32>>2]+128>>2]=a;c=j[l+28>>2];if(c){break a}j[l+48>>2]=0;j[a+8>>2]=0;j[a>>2]=80;j[a+4>>2]=241;u=a,v=xe(d,4,0,241,0,l+48|0),j[u+12>>2]=v;c=j[l+48>>2];if(c){break a}a=j[j[e+36>>2]+12>>2];b=j[e+32>>2];j[b+36>>2]=-1;j[b+28>>2]=a;c=0;break a}e:{if(Qe(a,8496,15)){break e}f:{switch(k[a+15|0]){case 0:case 9:case 10:case 13:case 32:break f;default:break e}}c=179;if(!(g&8)){break a}o=e+139304|0;c=jg(o,8512,a,b);j[l+28>>2]=c;if(c){break a}f=0;a=j[j[o>>2]+4>>2];g:{if(!a){break g}g=k[a|0];if(!g){break g}b=9680;n=10;c=a;h:{if((g|0)!=48){break h}if((k[a+1|0]|32)!=120){g=48;c=a;break h}g=k[a+2|0];b=9648;n=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+b|0]>>>(a&7)&1)){break g}while(1){f=k[a+9712|0]+p(f,n)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}j[j[e+32>>2]+72>>2]=f;j[e+4>>2]=f;a=xe(m,16,0,f,0,l+28|0);b=j[e+32>>2];j[b+80>>2]=a;c=j[l+28>>2];if(c){j[b+72>>2]=0;break a}j[e>>2]=j[e>>2]|16;j[d>>2]=54;c=0;break a}o=l;i:{j:{if(Qe(a,8515,15)){break j}k:{switch(k[a+15|0]){case 0:case 9:case 10:case 13:case 32:break k;default:break j}}c=178;if(!(g&4)){break i}d=e+139304|0;c=jg(d,8512,a,b);j[l+28>>2]=c;if(c){break a}f=0;b=0;q=j[d>>2];a=j[q+4>>2];l:{if(!a){break l}n=k[a|0];if(!n){break l}m=9680;d=10;c=a;m:{if((n|0)!=48){break m}if((k[a+1|0]|32)!=120){n=48;c=a;break m}n=k[a+2|0];m=9648;d=16;c=a+2|0}a=n<<24>>24;if(!(k[((n&248)>>>3|0)+m|0]>>>(a&7)&1)){break l}while(1){b=k[a+9712|0]+p(b,d)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}o=j[e+32>>2];i[o+4>>1]=b;a=j[q+8>>2];n:{if(!a){break n}d=k[a|0];if(!d){break n}b=9680;m=10;c=a;o:{if((d|0)!=48){break o}if((k[a+1|0]|32)!=120){d=48;c=a;break o}d=k[a+2|0];b=9648;m=16;c=a+2|0}a=d<<24>>24;if(!(k[((d&248)>>>3|0)+b|0]>>>(a&7)&1)){break n}while(1){f=k[a+9712|0]+p(f,m)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}i[o+6>>1]=f;g=0;t=o;a=j[q+12>>2];b=0;p:{if(!a){break p}n=k[a|0];b=0;if(!n){break p}m=9680;d=10;r=(n|0)==45;b=r?a+1|0:a;c=b;a=k[a+r|0];q:{if((a|0)!=48){break q}if((k[b+1|0]|32)!=120){a=48;c=b;break q}a=k[b+2|0];m=9648;d=16;c=b+2|0}b=0;r=k[((a&248)>>>3|0)+m|0];a=a<<24>>24;if(r>>>(a&7)&1){while(1){b=k[a+9712|0]+p(b,d)<<16>>16;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}b=(n|0)==45?0-b|0:b}i[t+8>>1]=b;a=j[q+16>>2];r:{if(!a){break r}n=k[a|0];if(!n){break r}m=9680;d=10;g=(n|0)==45;b=g?a+1|0:a;c=b;a=k[a+g|0];s:{if((a|0)!=48){break s}if((k[b+1|0]|32)!=120){a=48;c=b;break s}a=k[b+2|0];m=9648;d=16;c=b+2|0}b=0;t=k[((a&248)>>>3|0)+m|0];a=a<<24>>24;if(t>>>(a&7)&1){while(1){b=k[a+9712|0]+p(b,d)<<16>>16;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}g=(n|0)==45?0-b|0:b}c=0;i[o+14>>1]=0-g;i[o+12>>1]=f+g;i[o+10>>1]=g;j[e>>2]=j[e>>2]|8;break a}t:{u:{v:{w:{x:{y:{if(Qe(a,8531,4)){break y}z:{switch(k[a+4|0]){case 0:case 9:case 10:case 13:case 32:break z;default:break y}}g=e+139304|0;c=jg(g,8512,a,b);j[l+28>>2]=c;if(c){break a}A:{B:{C:{D:{E:{F:{a=j[e+139312>>2];switch(a|0){case 0:break t;case 1:break E;default:break F}}d=a-1|0;a=0;c=1;while(1){b=j[g>>2];j[b+(a<<2)>>2]=j[b+(c<<2)>>2];c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}j[e+139312>>2]=d;if(!d){break t}c=0;b=j[j[g>>2]>>2];a=b;while(1){f=k[a|0];if(f){while(1){h[b+c|0]=f;c=c+1|0;f=k[a+1|0];a=a+1|0;if(f){continue}break}d=j[e+139312>>2]}n=n+1|0;if(n>>>0>>0){h[b+c|0]=32;d=j[e+139312>>2];c=c+1|0}if(d>>>0>n>>>0){a=j[j[g>>2]+(n<<2)>>2];continue}break}if((b|0)!=9633){h[b+c|0]=0}a=j[j[e+32>>2]>>2];if(a){qe[j[m+8>>2]](m,a)}j[j[e+32>>2]>>2]=0;d=c+1|0;a=xe(m,1,0,d,0,l+28|0);j[j[e+32>>2]>>2]=a;c=j[l+28>>2];if(c){break a}Ae(a,b,d);a=j[e+32>>2];if(!a){break x}b=j[a>>2];if(!b|!k[b|0]){break x}c=j[e+36>>2];d=j[a+278664>>2];j[l+40>>2]=0;j[l+32>>2]=0;j[l+36>>2]=0;j[l+44>>2]=d;j[a+28>>2]=j[c+12>>2];c=Le(b)+1|0;if(c>>>0>255){break x}Ae(l+48|0,b,c);c=jg(l+32|0,9876,l+48|0,c);if(c|j[l+40>>2]!=15){break A}switch(h[j[j[l+32>>2]+44>>2]]-67|0){case 13:case 45:break B;case 10:case 42:break C;case 0:case 32:break D;default:break A}}j[e+139312>>2]=0;break t}j[a+28>>2]=32;break A}j[a+28>>2]=16;break A}j[a+28>>2]=8}a=j[l+44>>2];if(a){b=j[l+32>>2];if(b){qe[j[a+8>>2]](a,b)}}j[l+28>>2]=c;if(c){break a}j[e>>2]=j[e>>2]|2;c=0;break a}G:{if(Qe(a,8536,4)){break G}H:{switch(k[a+4|0]){case 0:case 9:case 10:case 13:case 32:break H;default:break G}}c=177;if(!(g&2)){break i}d=e+139304|0;c=jg(d,8512,a,b);j[l+28>>2]=c;if(c){break a}b=0;f=0;n=j[d>>2];a=j[n+4>>2];I:{if(!a){break I}g=k[a|0];if(!g){break I}m=9680;d=10;c=a;J:{if((g|0)!=48){break J}if((k[a+1|0]|32)!=120){g=48;c=a;break J}g=k[a+2|0];m=9648;d=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+m|0]>>>(a&7)&1)){break I}while(1){f=k[a+9712|0]+p(d,f)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}o=j[e+32>>2];j[o+16>>2]=f;a=j[n+8>>2];K:{if(!a){break K}g=k[a|0];if(!g){break K}f=9680;m=10;c=a;L:{if((g|0)!=48){break L}if((k[a+1|0]|32)!=120){g=48;c=a;break L}g=k[a+2|0];f=9648;m=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+f|0]>>>(a&7)&1)){break K}while(1){b=k[a+9712|0]+p(b,m)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+f|0]>>>(a&7)&1){continue}break}}j[o+20>>2]=b;f=0;a=j[n+12>>2];M:{if(!a){break M}g=k[a|0];if(!g){break M}b=9680;m=10;c=a;N:{if((g|0)!=48){break N}if((k[a+1|0]|32)!=120){g=48;c=a;break N}g=k[a+2|0];b=9648;m=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+b|0]>>>(a&7)&1)){break M}while(1){f=k[a+9712|0]+p(f,m)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}j[o+24>>2]=f;if(j[e+139312>>2]==5){a=j[n+16>>2];if(!a){break w}g=k[a|0];if(!g){break w}b=9680;m=10;n=(g|0)==45;d=n?a+1|0:a;c=d;a=k[a+n|0];O:{if((a|0)!=48){break O}if((k[d+1|0]|32)!=120){a=48;c=d;break O}a=k[d+2|0];b=9648;m=16;c=d+2|0}n=0;f=0;d=k[((a&248)>>>3|0)+b|0];a=a<<24>>24;if(d>>>(a&7)&1){while(1){f=k[a+9712|0]+p(f,m)<<16>>16;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}d=(g|0)==45?0-f|0:f;i[o+278662>>1]=d;m=o+278662|0;b=d&65535;a=1;if(!b){break v}b=32-s(b)|0;a=0;c=d;f=0;while(1){f=c&1?a:f;a=a+1|0;c=(c&65534)>>>1|0;b=b-1|0;if(b&65535){continue}break}n=d&65535;a=f&65535;a=a>>>0>3?8:1<>1]=1;break u}if(Qe(a,8541,5)){break t}P:{switch(k[a+5|0]){case 0:case 9:case 10:case 13:case 32:break P;default:break t}}c=179;if(!(g&8)){break i}a=i[f+12>>1];j[f+40>>2]=a;j[l+16>>2]=a;Mj(l+48|0,l+16|0);c=Hh(j[e+32>>2],8551,l+48|0);j[l+28>>2]=c;if(c){break a}b=j[e+32>>2];a=i[b+14>>1];j[b+44>>2]=a;j[l>>2]=a;Mj(l+48|0,l);c=Hh(j[e+32>>2],8563,l+48|0);if(c){break a}i[j[e+32>>2]+278660>>1]=1;j[d>>2]=55;c=-1;break i}c=6;break i}n=0;i[o+278662>>1]=0;m=o+278662|0;a=1}if((a|0)==(n|0)){break u}i[m>>1]=a<<1}j[e>>2]=j[e>>2]|4;c=0;break a}c=3}j[o+28>>2]=c}oe=l+304|0;return c|0}function kM(a,b,c,d,e,f,g,h,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;m=m|0;n=n|0;o=o|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;if(f-1>>>0<=1){m=(p(m,n)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0}s=n^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;c:{if((b|0)<=(d|0)){e=d-b|0;c=a+(b<<1)|0;a=(o|0)!=0;break c}a=a+(d<<1)|0;c=o?a:a+2|0;e=b-d|0;a=(o|0)!=0}e=a+e|0;if(!e){break a}d=j[58746];a=j[58747];while(1){b=l[c>>1];i[c>>1]=((p(s,k[d+(b>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[a+(b>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[a+(b&31)|0])>>>0)/255|0)+m>>>3;c=c+2|0;e=e-1|0;if(e){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break d}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}b=a+e|0;if(!b){break a}d=j[58746];a=j[58747];while(1){c=l[n>>1];e=k[d+(c>>>5&63)|0]+h|0;f=(e>>>0<255?e:255)<<3&8160;e=k[a+(c>>>11|0)|0]+g|0;c=k[a+(c&31)|0]+m|0;i[n>>1]=f|(e>>>0<255?e:255)<<8&63488|(c>>>0<255?c:255)>>>3;n=n+2|0;b=b-1|0;if(b){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break e}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}b=a+e|0;if(!b){break a}d=j[58746];a=j[58747];while(1){c=l[n>>1];i[n>>1]=(p(k[d+(c>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[a+(c>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[a+(c&31)|0],m)>>>0)/255>>>3;n=n+2|0;b=b-1|0;if(b){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break f}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}c=a+e|0;if(!c){break a}a=g<<8&63488|(h<<3&4064|m>>>3);while(1){i[n>>1]=a;n=n+2|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break h}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}e=a+c|0;if(!e){break a}d=j[58746];a=j[58747];f=f<<1;while(1){c=l[b>>1];i[b>>1]=((p(s,k[d+(c>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[a+(c>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[a+(c&31)|0])>>>0)/255|0)+m>>>3;b=b+f|0;e=e-1|0;if(e){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break i}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}d=j[58746];a=j[58747];e=f<<1;while(1){c=l[n>>1];f=k[d+(c>>>5&63)|0]+h|0;o=(f>>>0<255?f:255)<<3&8160;f=k[a+(c>>>11|0)|0]+g|0;c=k[a+(c&31)|0]+m|0;i[n>>1]=o|(f>>>0<255?f:255)<<8&63488|(c>>>0<255?c:255)>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break j}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}d=j[58746];a=j[58747];e=f<<1;while(1){c=l[n>>1];i[n>>1]=(p(k[d+(c>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[a+(c>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[a+(c&31)|0],m)>>>0)/255>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;default:break g}}b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break k}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=g<<8&63488|(h<<3&4064|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}u=b-d|0;n=u>>31;r=c-e|0;q=r>>31;if((n^n+u)==(q^q+r)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=o?a:a+(c<<1)|0}b=((o|0)!=0)+r|0;if(!b){break a}e=j[58746];d=j[58747];f=c<<1;while(1){c=l[a>>1];i[a>>1]=((p(s,k[e+(c>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[d+(c>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[d+(c&31)|0])>>>0)/255|0)+m>>>3;a=a+f|0;b=b-1|0;if(b){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+r|0;if(!b){break a}d=j[58746];a=j[58747];e=c<<1;while(1){c=l[n>>1];f=k[d+(c>>>5&63)|0]+h|0;o=(f>>>0<255?f:255)<<3&8160;f=k[a+(c>>>11|0)|0]+g|0;c=k[a+(c&31)|0]+m|0;i[n>>1]=o|(f>>>0<255?f:255)<<8&63488|(c>>>0<255?c:255)>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+r|0;if(!b){break a}d=j[58746];a=j[58747];e=c<<1;while(1){c=l[n>>1];i[n>>1]=(p(k[d+(c>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[a+(c>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[a+(c&31)|0],m)>>>0)/255>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}c=((o|0)!=0)+r|0;if(!c){break a}a=g<<8&63488|(h<<3&4064|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;f=n>>31;q=e-c|0;r=q>>31;n=f^f+n;q=r^q+r;r:{if((n|0)>=(q|0)){u=q-n|0;r=q<<1;f=r-n|0;q=1;break r}u=n-q|0;t=1;r=n<<1;f=r-q|0;n=q;q=0}n=((o|0)!=0)+n|0;if(!n){break a}e=(c|0)>(e|0);o=e?0-t|0:t;d=(b|0)>(d|0);q=d?0-q|0:q;t=e?-1:1;w=d?-1:1;u=u<<1;x=j[58746];e=j[58747];y=j[a+16>>2];v=j[a+20>>2];a=0;while(1){z=(v+p(c,y)|0)+(b<<1)|0;d=l[z>>1];i[z>>1]=((p(s,k[x+(d>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[e+(d>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[e+(d&31)|0])>>>0)/255|0)+m>>>3;d=(f|0)<0;f=(d?r:u)+f|0;b=(d?q:w)+b|0;c=(d?o:t)+c|0;a=a+1|0;if((n|0)!=(a|0)){continue}break}break a;case 1:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;f=f^f+r;q=n^n+q;s:{if((f|0)>=(q|0)){u=q-f|0;s=1;r=q<<1;n=r-f|0;q=0;break s}u=f-q|0;r=f<<1;n=r-q|0;s=0;f=q;q=1}o=((o|0)!=0)+f|0;if(!o){break a}e=(c|0)>(e|0);q=e?0-q|0:q;d=(b|0)>(d|0);s=d?0-s|0:s;t=e?-1:1;w=d?-1:1;u=u<<1;x=j[58746];d=j[58747];y=j[a+16>>2];v=j[a+20>>2];a=0;while(1){z=(v+p(c,y)|0)+(b<<1)|0;e=l[z>>1];f=k[x+(e>>>5&63)|0]+h|0;A=(f>>>0<255?f:255)<<3&8160;f=k[d+(e>>>11|0)|0]+g|0;e=k[d+(e&31)|0]+m|0;i[z>>1]=A|(f>>>0<255?f:255)<<8&63488|(e>>>0<255?e:255)>>>3;e=(n|0)<0;n=(e?r:u)+n|0;b=(e?s:w)+b|0;c=(e?q:t)+c|0;a=a+1|0;if((o|0)!=(a|0)){continue}break}break a;case 3:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;t:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break t}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;s=e?-1:1;u=d?-1:1;t=t<<1;w=j[58746];e=j[58747];x=j[a+16>>2];y=j[a+20>>2];a=0;while(1){v=(y+p(c,x)|0)+(b<<1)|0;d=l[v>>1];i[v>>1]=(p(k[w+(d>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[e+(d>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[e+(d&31)|0],m)>>>0)/255>>>3;d=(n|0)<0;n=(d?f:t)+n|0;b=(d?q:u)+b|0;c=(d?r:s)+c|0;a=a+1|0;if((o|0)!=(a|0)){continue}break}break a;default:break q}}r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;u:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break u}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;e=e?-1:1;d=d?-1:1;s=t<<1;g=g<<8&63488|(h<<3&4064|m>>>3);h=j[a+16>>2];t=j[a+20>>2];m=0;while(1){i[(t+p(c,h)|0)+(b<<1)>>1]=g;a=(n|0)<0;n=(a?f:s)+n|0;b=(a?q:d)+b|0;c=(a?r:e)+c|0;m=m+1|0;if((o|0)!=(m|0)){continue}break}}}function PB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;f=oe-384|0;oe=f;j[b>>2]=1;a:{if(!j[b+136>>2]){d=ch(j[j[b+96>>2]+4>>2],14332);if(!d){a=11;break a}j[b+136>>2]=d}if(!j[b+320>>2]){A=b,B=ch(j[j[b+96>>2]+4>>2],14338),j[A+320>>2]=B}a=Fe(a,0);if(a){break a}t=j[b+100>>2];j[f+108>>2]=0;m=j[b+104>>2];a=j[b+136>>2];Ee(f+8|0,0,100);qe[j[j[a+4>>2]>>2]](f+8|0,0,0,t);j[f+80>>2]=m;q=j[m+8>>2];b:{c:{d:{d=_e(m,31);e:{if(d){break e}a=Qe(j[m+32>>2],14366,31);Ve(m);if(a){j[f+4>>2]=2;break b}s=f+84|0;r=f+112|10;while(1){g=j[m+8>>2];f:{d=j[m+4>>2]-j[m+8>>2]|0;if(d){o=266;a=f+112|0;while(1){e=d>>>0>o>>>0?o:d;d=uf(m,a,e);if(d){break e}if(e>>>0<=255){h[a+e|0]=0}d=f+112|0;e=(a+e|0)-10|0;if(e>>>0>f+112>>>0){d=k[f+112|0];a=f+112|0;while(1){g:{if((d&255)!=83){break g}if(Qe(a,14398,9)){break g}o=10;break f}h:{d=k[a+1|0];if((d|0)!=115){break h}if(Qe(a,14408,6)){break h}o=7;break f}a=a+1|0;if((e|0)!=(a|0)){continue}break}d=e}a=k[d+4|0]|k[d+5|0]<<8|(k[d+6|0]<<16|k[d+7|0]<<24);e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);i[f+120>>1]=k[d+8|0]|k[d+9|0]<<8;j[f+112>>2]=e;j[f+116>>2]=a;o=256;g=g+256|0;a=r;d=j[m+4>>2]-j[m+8>>2]|0;if(d){continue}break}}j[f+4>>2]=3;break b}d=Fe(m,q);if(d){break e}n=((o-(f+112|0)|0)+a|0)+g|0;a=n-q|0;d=Zf(m,a,s);if(d){break e}j[f+92>>2]=n;g=j[f+84>>2];j[f+12>>2]=g;j[f+104>>2]=-1;j[f+8>>2]=g;j[f+88>>2]=a;j[f+16>>2]=a+g;qe[j[f+40>>2]](f+8|0);qe[j[f+36>>2]](f+8|0);a=j[f+8>>2];qe[j[f+40>>2]](f+8|0);qe[j[f+36>>2]](f+8|0);d=j[f+8>>2];o=j[f+16>>2];if(d>>>0>>0){while(1){e=a;a=d;d=j[f+20>>2];if(d){break e}i:{if(k[a|0]!=83){break i}if(Qe(a,14398,9)){break i}if(Qe(g,14415,5)){break c}a=sf(e);if((a|0)>=0){break d}j[f+4>>2]=3;break b}j:{if(k[a+1|0]!=115){break j}if(Qe(a,14408,6)){break j}j[f+4>>2]=2;break b}qe[j[f+40>>2]](f+8|0);qe[j[f+36>>2]](f+8|0);g=e;d=j[f+8>>2];if(o>>>0>d>>>0){continue}break}}jf(m,s);d=Fe(m,n);if(!d){continue}break}}j[f+4>>2]=d;break b}j[f+96>>2]=a}j[f+4>>2]=0;j[f+20>>2]=0;a=j[f+84>>2];n=a+j[f+88>>2]|0;j[f+16>>2]=n;r=b+164|0;m=b+312|0;q=b+196|0;s=b+140|0;v=n-1|0;k:{l:{m:while(1){j[f+8>>2]=a;qe[j[f+36>>2]](f+8|0);e=j[f+8>>2];d=e>>>0>>0;g=(d?e:v)-17|0;if(g>>>0>a>>>0){while(1){n:{if(k[a|0]!=37){break n}if(Qe(a,14421,17)|j[b+300>>2]<1){break n}j[f+104>>2]=j[f+104>>2]+1}a=a+1|0;if((g|0)!=(a|0)){continue}break}}if(!d){d=j[f+20>>2];break k}qe[j[f+40>>2]](f+8|0);d=j[f+20>>2];a=j[f+8>>2];if(d|n>>>0<=a>>>0){break k}if(k[e|0]!=47|n>>>0<=e+2>>>0){continue}u=e+1|0;o=a-u|0;if(o-1>>>0>20){continue}w=k[u|0];d=14448;e=16284;while(1){o:{g=d;p:{if((w|0)!=k[e|0]){break p}if((Le(e)|0)!=(o|0)){break p}d=1;if(o>>>0<=1){break o}while(1){if(k[d+u|0]!=k[d+e|0]){break p}d=d+1|0;if((o|0)!=(d|0)){continue}break}break o}d=g+36|0;e=j[g+36>>2];if(e){continue}continue m}break}q:{e=f;o=j[g+8>>2];r:{if((o|0)==11){qe[j[g+12>>2]](b,f+8|0);a=j[f+20>>2];break r}d=s;s:{t:{switch(j[g+4>>2]){case 3:d=r;break s;case 2:d=m;break s;case 5:d=q;break s;case 0:break s;default:break t}}a=j[f+104>>2];if((a|0)<0|(a|0)>=j[b+300>>2]){break q}d=j[b+304>>2]+p(a,252)|0}j[f+112>>2]=d;if(o-9>>>0<=1){a=qe[j[f+76>>2]](f+8|0,g,f+112|0,0,0)|0;break r}a=qe[j[f+72>>2]](f+8|0,g,f+112|0,0,0)|0}j[e+20>>2]=a;if(a){break l}a=j[f+8>>2];continue}break}a=160;j[f+20>>2]=160}j[f+4>>2]=a;break b}j[f+4>>2]=d;if(d|(c|0)<0){break b}a=He(t,40,f+4|0);j[b+328>>2]=a;if(j[f+4>>2]){break b}r=b;d=j[f+96>>2];u:{if(d){d=He(t,d,f+4|0);j[b+324>>2]=d;if(j[f+4>>2]){break b}a=j[f+96>>2];q=j[b+104>>2];if(Fe(q,j[f+92>>2])){break b}v:{if((a|0)<1){break v}o=a+d|0;n=1;a=f+112|0;m=a;while(1){w:{x:{if(a>>>0>=m>>>0){e=j[q+8>>2];a=j[q+4>>2]-e|0;if(!a){break b}if(uf(q,f+112|0,a>>>0<256?a:256)){break b}m=(j[q+8>>2]+(f+112|0)|0)-e|0;a=f+112|0}s=k[a|0];e=s-48|0;if(e>>>0>9){e=s-97|0;g=(e&255)>>>0<6;if(g){break w}if((s-65&255)>>>0>5){break x}e=s-55|0}g=1;break w}e=0;y:{switch(s|0){case 62:break w;case 0:case 9:case 10:case 12:case 13:case 32:break y;default:break b}}a=a+1|0;continue}z:{if(n&255){h[d|0]=e<<4;break z}h[d|0]=k[d|0]+e;d=d+1|0}if(!g){break v}a=a+1|0;n=1-n|0;if(d>>>0>>0){continue}break}}d=j[b+324>>2];e=j[f+96>>2];a=j[b+328>>2];j[a+32>>2]=0;j[a+8>>2]=0;j[a+4>>2]=e;j[a>>2]=d;j[a+20>>2]=0;j[a+24>>2]=0;a=0;break u}d=j[b+104>>2];e=j[d+4>>2];j[a>>2]=j[d>>2];j[a+4>>2]=e;e=j[d+36>>2];j[a+32>>2]=j[d+32>>2];j[a+36>>2]=e;e=j[d+28>>2];j[a+24>>2]=j[d+24>>2];j[a+28>>2]=e;e=j[d+20>>2];j[a+16>>2]=j[d+16>>2];j[a+20>>2]=e;e=j[d+12>>2];j[a+8>>2]=j[d+8>>2];j[a+12>>2]=e;a=j[f+92>>2]}j[r+308>>2]=a;u=j[b+328>>2];w=j[b+136>>2];g=0;r=j[b+100>>2];t=xe(r,8,0,j[b+300>>2],0,f+112|0);j[b+316>>2]=t;A:{if(j[f+112>>2]|j[b+300>>2]<1){break A}v=0;q=0;while(1){B:{d=j[b+304>>2]+p(v,252)|0;n=j[d+240>>2];if((n|0)==-1){j[f+112>>2]=160;break B}y=j[d+4>>2];if(n>>>0>=q>>>0){a=n+4&-4;if(a>>>0<=q>>>0){j[f+112>>2]=160;break B}g=xe(r,4,q,a,g,f+112|0);q=a;if(j[f+112>>2]){break B}}a=Fe(u,j[d+244>>2]+j[b+308>>2]|0);j[f+112>>2]=a;if(a){break B}x=n+1|0;a=_e(u,p(x,j[d+248>>2]));j[f+112>>2]=a;if(a){break B}s=j[d+248>>2];z=(s-1&255)+1|0;m=j[u+32>>2];o=0;while(1){a=m;d=0;e=s;if(e&255){while(1){d=k[a|0]|d<<8;a=a+1|0;e=e-1|0;if(e&255){continue}break}m=m+z|0}j[(o<<2)+g>>2]=d;o=o+1|0;if(n>>>0>=o>>>0){continue}break}Ve(u);a=1;e=j[g>>2];d=e;if(n){while(1){m=d;d=j[(a<<2)+g>>2];if(m>>>0>d>>>0){break B}a=a+1|0;if(n>>>0>=a>>>0){continue}break}}a=j[(n<<2)+g>>2];A=t,B=xe(r,4,0,x,0,f+112|0),j[A+4>>2]=B;if(j[f+112>>2]){break B}a=a-e|0;d=He(r,a,f+112|0);j[j[t+4>>2]>>2]=d;if(j[f+112>>2]){break B}d=Fe(u,j[g>>2]+j[b+308>>2]|0);j[f+112>>2]=d;if(d){break B}a=uf(u,j[j[t+4>>2]>>2],a);j[f+112>>2]=a;if(a){break B}C:{if(!n){break C}a=1;m=j[g>>2];d=m;while(1){e=a<<2;s=e+j[t+4>>2]|0;e=j[e+g>>2];j[s>>2]=j[s-4>>2]+(e-d|0);d=e;a=a+1|0;if(n>>>0>=a>>>0){continue}break}if((y|0)<0){break C}qe[j[w+16>>2]](j[j[t+4>>2]>>2],j[g+4>>2]-m|0,4330);a=1;if((n|0)==1){break C}e=g+4|0;while(1){m=j[j[t+4>>2]+(a<<2)>>2];a=a+1|0;d=(a<<2)+g|0;qe[j[w+16>>2]](m,j[d>>2]-j[e>>2]|0,4330);e=d;if((a|0)!=(n|0)){continue}break}}j[t>>2]=n;t=t+8|0;v=v+1|0;if((v|0)>2]){continue}break A}break}a=j[b+316>>2];if(!a){break A}if(j[b+300>>2]>=1){e=0;while(1){d=r;m=e<<3;q=j[(m+a|0)+4>>2];if(q){a=j[q>>2];if(a){qe[j[r+8>>2]](r,a)}j[j[(m+j[b+316>>2]|0)+4>>2]>>2]=0;a=j[b+316>>2]}a=j[(a+m|0)+4>>2];if(a){qe[j[d+8>>2]](d,a)}a=j[b+316>>2];j[(m+a|0)+4>>2]=0;e=e+1|0;if((e|0)>2]){continue}break}}if(a){qe[j[r+8>>2]](r,a)}j[b+316>>2]=0}if(g){qe[j[r+8>>2]](r,g)}j[f+4>>2]=j[f+112>>2]}if(j[f+84>>2]){jf(j[f+80>>2],f+84|0)}qe[j[f+32>>2]](f+8|0);a=j[f+4>>2];if(a|(c|0)<0){break a}a=6;if(c){break a}j[b+36>>2]=0;j[b+4>>2]=0;j[b+16>>2]=j[b+296>>2];a=j[b+8>>2];j[b+8>>2]=a|2065;if(k[b+188|0]){j[b+8>>2]=a|2069}j[b+24>>2]=14347;d=j[b+176>>2];j[b+20>>2]=d;D:{if(d){a=j[b+172>>2];if(!a){break D}e=k[a|0];if(!e){break D}while(1){e=e&255;c=k[d|0];E:{if((e|0)==(c|0)){a=a+1|0;d=d+1|0;break E}e=e-32|0;if(!(!e|(e|0)==13)){F:{switch(c-32|0){case 0:case 13:d=d+1|0;break E;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break D;default:break F}}if(c){break D}j[b+24>>2]=a;break D}a=a+1|0}e=k[a|0];if(e){continue}break}break D}a=j[b+140>>2];if(!a){break D}j[b+20>>2]=a}c=j[b+184>>2]!=0;j[b+12>>2]=c;a=j[b+180>>2];G:{if(!a){break G}if(we(a,14355)){if(we(a,14360)){break G}}j[b+12>>2]=c|2}j[b+28>>2]=0;j[b+32>>2]=0;j[b+52>>2]=j[b+196>>2]>>16;a=j[b+200>>2]>>16;j[b+56>>2]=a;j[b+60>>2]=j[b+204>>2]+65535>>16;c=j[b+208>>2]+65535>>16;j[b- -64>>2]=c;e=l[b+68>>1];if(!e){i[b+68>>1]=1e3;e=1e3}i[b+72>>1]=a;i[b+70>>1]=c;j[b+80>>2]=l[b+190>>1]|l[b+192>>1]<<16;d=b;a=c-a|0;b=(p(e,12)>>>0)/10|0;i[d+74>>1]=(a|0)>b<<16>>16?a:b;a=0}oe=f+384|0;return a|0}function lM(a,b,c,d,e,f,g,h,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;m=m|0;n=n|0;o=o|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if(f-1>>>0<=1){m=(p(m,n)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0}s=n^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;c:{if((b|0)<=(d|0)){e=d-b|0;c=a+(b<<1)|0;a=(o|0)!=0;break c}a=a+(d<<1)|0;c=o?a:a+2|0;e=b-d|0;a=(o|0)!=0}a=a+e|0;if(!a){break a}b=j[58747];while(1){d=l[c>>1];i[c>>1]=((p(s,k[b+(d>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[b+(d>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[b+(d&31)|0])>>>0)/255|0)+m>>>3;c=c+2|0;a=a-1|0;if(a){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break d}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}e=a+e|0;if(!e){break a}a=j[58747];while(1){b=l[n>>1];c=k[a+(b>>>5&31)|0]+h|0;d=(c>>>0<255?c:255)<<2&4064;c=k[a+(b>>>10&31)|0]+g|0;b=k[a+(b&31)|0]+m|0;i[n>>1]=d|(c>>>0<255?c:255)<<7&64512|(b>>>0<255?b:255)>>>3;n=n+2|0;e=e-1|0;if(e){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break e}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}e=a+e|0;if(!e){break a}a=j[58747];while(1){b=l[n>>1];i[n>>1]=(p(k[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[a+(b&31)|0],m)>>>0)/255>>>3;n=n+2|0;e=e-1|0;if(e){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break f}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}c=a+e|0;if(!c){break a}a=g<<7&64512|(h<<2&2016|m>>>3);while(1){i[n>>1]=a;n=n+2|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break h}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}a=a+c|0;if(!a){break a}c=j[58747];e=f<<1;while(1){d=l[b>>1];i[b>>1]=((p(s,k[c+(d>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[c+(d>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[c+(d&31)|0])>>>0)/255|0)+m>>>3;b=b+e|0;a=a-1|0;if(a){continue}break}break a;case 1:b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break i}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}e=a+c|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];d=k[a+(b>>>5&31)|0]+h|0;f=(d>>>0<255?d:255)<<2&4064;d=k[a+(b>>>10&31)|0]+g|0;b=k[a+(b&31)|0]+m|0;i[n>>1]=f|(d>>>0<255?d:255)<<7&64512|(b>>>0<255?b:255)>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;case 3:b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break j}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}e=a+c|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];i[n>>1]=(p(k[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[a+(b&31)|0],m)>>>0)/255>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;default:break g}}b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break k}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=g<<7&64512|(h<<2&2016|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}u=b-d|0;n=u>>31;r=c-e|0;q=r>>31;if((n^n+u)==(q^q+r)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;a=o?a:a+(b<<1)|0}e=((o|0)!=0)+r|0;if(!e){break a}c=j[58747];d=b<<1;while(1){b=l[a>>1];i[a>>1]=((p(s,k[c+(b>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[c+(b>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[c+(b&31)|0])>>>0)/255|0)+m>>>3;a=a+d|0;e=e-1|0;if(e){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}e=((o|0)!=0)+r|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];d=k[a+(b>>>5&31)|0]+h|0;f=(d>>>0<255?d:255)<<2&4064;d=k[a+(b>>>10&31)|0]+g|0;b=k[a+(b&31)|0]+m|0;i[n>>1]=f|(d>>>0<255?d:255)<<7&64512|(b>>>0<255?b:255)>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}e=((o|0)!=0)+r|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];i[n>>1]=(p(k[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[a+(b&31)|0],m)>>>0)/255>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}c=((o|0)!=0)+r|0;if(!c){break a}a=g<<7&64512|(h<<2&2016|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;f=n>>31;q=e-c|0;r=q>>31;n=f^f+n;q=r^q+r;r:{if((n|0)>=(q|0)){u=q-n|0;r=q<<1;f=r-n|0;q=1;break r}u=n-q|0;t=1;r=n<<1;f=r-q|0;n=q;q=0}n=((o|0)!=0)+n|0;if(!n){break a}e=(c|0)>(e|0);o=e?0-t|0:t;d=(b|0)>(d|0);q=d?0-q|0:q;t=e?-1:1;w=d?-1:1;u=u<<1;e=j[58747];x=j[a+16>>2];v=j[a+20>>2];d=0;while(1){y=(v+p(c,x)|0)+(b<<1)|0;a=l[y>>1];i[y>>1]=((p(s,k[e+(a>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[e+(a>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[e+(a&31)|0])>>>0)/255|0)+m>>>3;a=(f|0)<0;f=(a?r:u)+f|0;b=(a?q:w)+b|0;c=(a?o:t)+c|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break a;case 1:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;f=f^f+r;q=n^n+q;s:{if((f|0)>=(q|0)){u=q-f|0;s=1;r=q<<1;n=r-f|0;q=0;break s}u=f-q|0;r=f<<1;n=r-q|0;s=0;f=q;q=1}o=((o|0)!=0)+f|0;if(!o){break a}e=(c|0)>(e|0);q=e?0-q|0:q;d=(b|0)>(d|0);s=d?0-s|0:s;t=e?-1:1;w=d?-1:1;u=u<<1;e=j[58747];x=j[a+16>>2];v=j[a+20>>2];d=0;while(1){y=(v+p(c,x)|0)+(b<<1)|0;a=l[y>>1];f=k[e+(a>>>5&31)|0]+h|0;z=(f>>>0<255?f:255)<<2&4064;f=k[e+(a>>>10&31)|0]+g|0;a=k[e+(a&31)|0]+m|0;i[y>>1]=z|(f>>>0<255?f:255)<<7&64512|(a>>>0<255?a:255)>>>3;a=(n|0)<0;n=(a?r:u)+n|0;b=(a?s:w)+b|0;c=(a?q:t)+c|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}break a;case 3:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;t:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break t}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;s=e?-1:1;u=d?-1:1;t=t<<1;e=j[58747];w=j[a+16>>2];x=j[a+20>>2];d=0;while(1){v=(x+p(c,w)|0)+(b<<1)|0;a=l[v>>1];i[v>>1]=(p(k[e+(a>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[e+(a>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[e+(a&31)|0],m)>>>0)/255>>>3;a=(n|0)<0;n=(a?f:t)+n|0;b=(a?q:u)+b|0;c=(a?r:s)+c|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}break a;default:break q}}r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;u:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break u}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;e=e?-1:1;d=d?-1:1;s=t<<1;g=g<<7&64512|(h<<2&2016|m>>>3);h=j[a+16>>2];t=j[a+20>>2];m=0;while(1){i[(t+p(c,h)|0)+(b<<1)>>1]=g;a=(n|0)<0;n=(a?f:s)+n|0;b=(a?q:d)+b|0;c=(a?r:e)+c|0;m=m+1|0;if((o|0)!=(m|0)){continue}break}}}function WK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;v=j[a+28>>2];if(v){m=k[a+63|0];w=j[a+36>>2];x=j[a+16>>2];u=j[j[j[a+40>>2]+4>>2]+4>>2];d=j[a+24>>2];y=d&3;z=(d+3|0)/4|0;r=j[a>>2];e=j[a+20>>2];b=j[a+44>>2];t=k[b+9|0];s=t-1|0;while(1){a=z;a:{b:{switch(y-1|0){default:d=3;break a;case 0:d=2;break a;case 1:d=1;break a;case 2:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:d=(k[r|0]<<2)+u|0;n=k[d+2|0];o=k[d+1|0];q=k[d|0];d=0;f=0;g=0;c=0;e:{f:{switch(s|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break e;case 3:break f;default:break e}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;g:{h:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break g;case 3:break h;default:break g}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break i;case 3:break j;default:break i}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;k:{l:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break k;case 3:break l;default:break k}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break m;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break m;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break m;case 3:break n;default:break m}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;o:{p:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break o;case 3:break p;default:break o}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break q;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break q;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break q;case 3:break r;default:break q}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;s:{t:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break s;case 3:break t;default:break s}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]=0;a:{b:{c:{if(!a){break c}i=4;j[67126]=0;o=lb(530,a|0)|0;q=C()|0;d=j[67126];j[67126]=0;b=-1;d:{if(!d){break d}c=j[67127];if(!c){break d}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;e:{f:{if((b|0)==1){break f}j[67126]=0;f=T(531,2)|0;d=j[67126];j[67126]=0;b=-1;g:{if(!d){break g}c=j[67127];if(!c){break g}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break f}if(!f){c=0;break c}j[e+28>>2]=0;j[e+52>>2]=0;j[e+56>>2]=0;j[67126]=0;j[e+60>>2]=0;d=aa(532,96423,0,0,0)|0;c=j[67126];j[67126]=0;b=-1;h:{if(!c){break h}f=j[67127];if(!f){break h}b=ef(j[c>>2],g,4);if(!b){break a}D(f|0)}c=C()|0;if((b|0)==1){break f}j[e+56>>2]=d;if(!d){m=96430;b=0;break e}j[67126]=0;f=T(533,d|0)|0;d=j[67126];j[67126]=0;b=-1;i:{if(!d){break i}c=j[67127];if(!c){break i}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break f}j[e+52>>2]=f;j:{k:{if(!f){m=96492;break k}j[67126]=0;f=N(534,j[e+56>>2],535,156)|0;d=j[67126];j[67126]=0;b=-1;l:{if(!d){break l}c=j[67127];if(!c){break l}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;if((b|0)!=1){break j}break f}b=2;break e}c=0;g=li(f,1,g,4);i=C()|0}b=1}while(1){m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{switch(b|0){case 0:if(!j[e+28>>2]){break u}j[67126]=0;H(536,j[e+28>>2]);d=j[67126];j[67126]=0;b=-1;if(!d){break v}c=j[67127];if(!c){break v}b=ef(j[d>>2],g,i);if(b){break w}break b;case 1:if(c){m=96539;break n}j[67126]=0;ya(537,j[e+56>>2],a|0,538);d=j[67126];j[67126]=0;b=-1;if(!d){break z}c=j[67127];if(!c){break z}b=ef(j[d>>2],g,i);if(b){break A}break b;default:break B}}if(!j[e+56>>2]){break r}j[67126]=0;ya(539,e+56|0,(j[e+52>>2]?e+52|0:0)|0,0);d=j[67126];j[67126]=0;b=-1;if(!d){break x}c=j[67127];if(!c){break x}b=ef(j[d>>2],g,i);if(b){break y}break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;M(540,j[e+56>>2],j[e+52>>2]);d=j[67126];j[67126]=0;b=-1;if(!d){break s}c=j[67127];if(!c){break s}b=ef(j[d>>2],g,i);if(b){break t}break b}D(c|0)}c=C()|0;if((b|0)!=1){break r}break m}D(c|0)}c=C()|0;if((b|0)==1){break m}}if(!m){break q}j[67126]=0;b=kb(541,a|0,o|0,q|0,0)|0;C()|0;d=j[67126];j[67126]=0;b=-1;C:{if(!d){break C}c=j[67127];if(!c){break C}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}if(j[e+60>>2]){j[67126]=0;H(542,j[e+60>>2]);d=j[67126];j[67126]=0;b=-1;D:{if(!d){break D}c=j[67127];if(!c){break D}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[e+60>>2]=0}j[67126]=0;K(543,m|0,0)|0;d=j[67126];j[67126]=0;b=-1;E:{if(!d){break E}c=j[67127];if(!c){break E}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}break q}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;xa(544,j[e+56>>2],j[e+52>>2],e+48|0,e+44|0,e+40|0,e+36|0,e+32|0,0,0)|0;d=j[67126];j[67126]=0;b=-1;F:{if(!d){break F}c=j[67127];if(!c){break F}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;H(545,j[e+56>>2]);d=j[67126];j[67126]=0;b=-1;G:{if(!d){break G}c=j[67127];if(!c){break G}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;b=j[e+56>>2];if(!(!b|k[b+436|0]>7)){h[b+437|0]=8;j[b+216>>2]=j[b+216>>2]|4}d=j[67126];j[67126]=0;b=-1;H:{if(!d){break H}c=j[67127];if(!c){break H}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}if(!j[e+36>>2]){j[67126]=0;H(547,j[e+56>>2]);d=j[67126];j[67126]=0;b=-1;I:{if(!d){break I}c=j[67127];if(!c){break I}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}}j[67126]=0;b=j[e+52>>2];if(!j[e+56>>2]|!b){f=0}else{f=j[b+8>>2]&16}d=j[67126];j[67126]=0;b=-1;J:{if(!d){break J}c=j[67127];if(!c){break J}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}if(!f){b=-1;break o}j[67126]=0;ln(j[e+56>>2],j[e+52>>2],e+16|0,e+20|0,e+24|0);d=j[67126];j[67126]=0;b=-1;K:{if(!d){break K}c=j[67127];if(!c){break K}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}b=0;if(j[e+36>>2]!=3){break o}f=j[e+20>>2];if((f|0)<1){b=-1;c=0;break p}c=0;l=j[e+16>>2];d=-1;while(1){L:{b=k[c+l|0];if((b|0)==255){b=d;break L}if(!b){b=c;if((d|0)<=-1){break L}}b=d;break p}d=b;c=c+1|0;if((f|0)!=(c|0)){continue}break}break o}b=0;continue}c=j[e+60>>2];break c}if((c|0)==(f|0)){break o}j[67126]=0;H(547,j[e+56>>2]);c=j[67126];j[67126]=0;b=-1;d=-1;M:{if(!c){break M}f=j[67127];if(!f){break M}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}}if(j[e+36>>2]==4){j[67126]=0;H(550,j[e+56>>2]);c=j[67126];j[67126]=0;d=-1;N:{if(!c){break N}f=j[67127];if(!f){break N}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}}j[67126]=0;M(551,j[e+56>>2],j[e+52>>2]);c=j[67126];j[67126]=0;d=-1;O:{if(!c){break O}f=j[67127];if(!f){break O}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}j[67126]=0;xa(544,j[e+56>>2],j[e+52>>2],e+48|0,e+44|0,e+40|0,e+36|0,e+32|0,0,0)|0;c=j[67126];j[67126]=0;d=-1;P:{if(!c){break P}f=j[67127];if(!f){break P}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}j[67126]=0;d=j[e+52>>2];if(!j[e+56>>2]|!d){f=0}else{f=k[d+29|0]}c=j[67126];j[67126]=0;d=-1;Q:{if(!c){break Q}l=j[67127];if(!l){break Q}d=ef(j[c>>2],g,i);if(!d){F(c|0,l|0);z()}D(l|0)}c=C()|0;if((d|0)==1){break m}c=0;d=0;l=0;n=0;if(f>>>0>=3){n=(f|0)==4?-16777216:0;l=16711680;c=255;d=65280}j[67126]=0;l=fd(553,0,j[e+48>>2],j[e+44>>2],p(f,j[e+40>>2])|0,c|0,d|0,l|0,n|0)|0;c=j[67126];j[67126]=0;d=-1;R:{if(!c){break R}f=j[67127];if(!f){break R}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}j[e+60>>2]=l;S:{T:{U:{V:{W:{X:{if(!j[e+60>>2]){j[67126]=0;m=Wc(554)|0;d=j[67126];j[67126]=0;b=-1;if(!d){break W}c=j[67127];if(!c){break W}b=ef(j[d>>2],g,i);if(b){break X}break b}d=-1;if((b|0)==-1){break S}if(j[e+36>>2]==3){break T}b=j[e+24>>2];c=k[b+6|0];f=k[b+4|0];b=k[b+2|0];l=j[j[e+60>>2]+4>>2];j[67126]=0;b=cr(l,b,f,c);c=j[67126];j[67126]=0;f=-1;if(!c){break U}l=j[67127];if(!l){break U}f=ef(j[c>>2],g,i);if(f){break V}F(c|0,l|0);z()}D(c|0)}c=C()|0;if((b|0)==1){break m}break n}D(l|0)}c=C()|0;if((f|0)==1){break m}}j[67126]=0;N(556,j[e+60>>2],1,b|0)|0;c=j[67126];j[67126]=0;b=-1;Y:{if(!c){break Y}f=j[67127];if(!f){break Y}b=ef(j[c>>2],g,i);if(!b){break a}D(f|0)}c=C()|0;if((b|0)==1){break m}}j[67126]=0;f=T(557,j[e+44>>2]<<2)|0;b=j[67126];j[67126]=0;Z:{if(!b){break Z}c=j[67127];if(!c){break Z}d=ef(j[b>>2],g,i);if(!d){F(b|0,c|0);z()}D(c|0)}c=C()|0;if((d|0)==1){break m}j[e+28>>2]=f;if(!j[e+28>>2]){m=96567;break n}b=j[e+44>>2];if((b|0)>=1){c=0;while(1){j[j[e+28>>2]+(c<<2)>>2]=j[j[e+60>>2]+20>>2]+p(j[j[e+60>>2]+16>>2],c);c=c+1|0;if((b|0)!=(c|0)){continue}break}}j[67126]=0;M(558,j[e+56>>2],j[e+28>>2]);d=j[67126];j[67126]=0;b=-1;_:{if(!d){break _}c=j[67127];if(!c){break _}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}d=j[j[j[e+60>>2]+4>>2]+4>>2];$:{if(!d){break $}j[67126]=0;mn(j[e+56>>2],j[e+52>>2],e+8|0,e+12|0);c=j[67126];j[67126]=0;b=-1;aa:{if(!c){break aa}f=j[67127];if(!f){break aa}b=ef(j[c>>2],g,i);if(!b){break a}D(f|0)}c=C()|0;if((b|0)==1){break m}if(!j[e+36>>2]){j[d>>2]=256;f=j[d+4>>2];b=0;while(1){d=f+(b<<2)|0;h[d+2|0]=b;h[d+1|0]=b;h[d|0]=b;b=b+1|0;if((b|0)!=256){continue}break}break $}b=j[e+12>>2];if((b|0)<1){break $}j[d>>2]=b;m=j[e+12>>2];if((m|0)<1){break $}l=j[d+4>>2];b=0;n=j[e+8>>2];while(1){d=l+(b<<2)|0;f=n+p(b,3)|0;h[d+2|0]=k[f+2|0];h[d+1|0]=k[f+1|0];h[d|0]=k[f|0];b=b+1|0;if((m|0)!=(b|0)){continue}break}}m=0}b=2;continue}b=1;continue}}ze(g);oe=e- -64|0;return c|0}F(d|0,c|0);z()}F(c|0,f|0);z()}function IE(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,s=0,u=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;s=oe+ -64|0;oe=s;D=ti(a,-1);C=pe;p=-131;a:{if(j[a+88>>2]<2){break a}if(!j[a+4>>2]){p=-138;break a}if((c|0)<0|((c|0)>(C|0)?1:(c|0)>=(C|0)?b>>>0>D>>>0:0)){break a}p=j[a+52>>2];n=p&p>>31;B=n-1|0;l=j[a+68>>2];i=l;b:{while(1){g=p;if((g|0)<=0){d=l+(B<<4|8)|0;f=j[d>>2];d=j[d+4>>2];o=B<<1;break b}o=D;p=g-1|0;d=l+(p<<4|8)|0;f=j[d>>2];D=o-f|0;d=j[d+4>>2];C=C-(d+(o>>>0>>0)|0)|0;o=C;if((c|0)<(o|0)?1:(c|0)<=(o|0)?b>>>0>>0:0){continue}break}n=g;B=p;o=B<<1}g=i+(o<<3)|0;z=j[g>>2];H=j[g+4>>2];o=j[a+60>>2]+(B<<3)|0;u=j[o>>2];n=j[a+56>>2]+(n<<3)|0;g=j[n>>2];q=j[o+4>>2];n=j[n+4>>2];c:{d:{if((u|0)!=(g|0)|(q|0)!=(n|0)){p=0;break d}i=j[a>>2];if(!i){e=-129;break c}if(j[a+8>>2]!=(g|0)|j[a+12>>2]!=(n|0)){e=-128;o=j[a+708>>2];if(!o){break c}if((qe[o|0](i,g,n,0)|0)==-1){break c}j[a+8>>2]=g;j[a+12>>2]=n;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}p=1;e=Pf(a,s+48|0,1,0);o=pe;i=o;if((i|0)<0){break c}}e:{f:{g:{h:{if((n|0)<(q|0)?1:(n|0)<=(q|0)?g>>>0<=u>>>0:0){f=e;break h}e=b;i=D;l=e-i|0;o=l+z|0;G=(c-((e>>>0>>0)+C|0)|0)+H|0;G=l>>>0>o>>>0?G+1|0:G;K=o;e=d+H|0;d=f;f=z;i=d+f|0;L=i;M=f>>>0>i>>>0?e+1|0:e;A=a+24|0;O=B<<2;I=-1;J=-1;while(1){l=q;i=u;e=i;d=n-(l+(e>>>0>g>>>0)|0)|0;x=g-e|0;f=d;if((d|0)>0?1:(d|0)>=0?x>>>0>=65536:0){e=u;o=q;E=+(x>>>0)+ +(f|0)*4294967296;d=K;f=z;E=E*(+(d-f>>>0)+ +(G-((d>>>0>>0)+H|0)|0)*4294967296);d=L;E=E/(+(d-f>>>0)+ +(M-((d>>>0>>0)+H|0)|0)*4294967296);i:{if(r(E)<0x8000000000000000){f=r(E)>=1?E>0?~~t(v(E*2.3283064365386963e-10),4294967295)>>>0:~~w((E- +(~~E>>>0>>>0))*2.3283064365386963e-10)>>>0:0;i=~~E>>>0;break i}f=-2147483648;i=0}d=u;i=i+d|0;f=f+q|0;f=d>>>0>i>>>0?f+1|0:f;d=i;i=d-65536|0;d=f-(d>>>0<65536)|0;f=d;x=e;l=i;e=q;i=u+65536|0;e=i>>>0<65536?e+1|0:e;d=(d|0)<(e|0)?1:(d|0)<=(e|0)?l>>>0>>0:0;i=d?x:l;l=d?o:f}d=j[a>>2];if(!d){e=-129;break c}if(j[a+8>>2]!=(i|0)|j[a+12>>2]!=(l|0)){e=-128;f=j[a+708>>2];if(!f){break c}if((qe[f|0](d,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[A+4>>2]>=0){j[A+8>>2]=0;j[A+12>>2]=0;j[A+24>>2]=0;j[A+16>>2]=0;j[A+20>>2]=0}}f=0;j:{k:{if((n|0)<(q|0)?1:(n|0)<=(q|0)?g>>>0<=u>>>0:0){break k}l:while(1){d=g;f=j[a+8>>2];f=Pf(a,s+48|0,d-f|0,n-(j[a+12>>2]+(d>>>0>>0)|0)|0);e=pe;d=e;if((f|0)==-128&(d|0)==-1){e=-128;break c}while(1){m:{n:{if((d|0)<-1?1:(d|0)<=-1){e=q;x=u+1|0;e=x>>>0<1?e+1|0:e;F=x;y=e;if((e|0)>(l|0)?1:(e|0)>=(l|0)?x>>>0>=i>>>0:0){break j}e=f;if(!(i|l)){break c}f=j[a>>2];if(!f){e=-129;break c}x=0;o=n;d=l-(i>>>0<65536)|0;i=i-65536|0;l=(d|0)>(q|0)?1:(d|0)>=(q|0)?i>>>0>u>>>0:0;i=l?i:F;l=l?d:y;d=g;if((i|0)==j[a+8>>2]&(l|0)==j[a+12>>2]){break n}d=j[a+708>>2];if(!d){e=-128;break c}e=-128;if((qe[d|0](f,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[A+4>>2]>=0){j[A+8>>2]=0;j[A+12>>2]=0;j[A+24>>2]=0;j[A+16>>2]=0;j[A+20>>2]=0}d=g;break n}e=j[s+48>>2];if(j[O+j[a+64>>2]>>2]!=(k[e+14|0]|k[e+15|0]<<8|(k[e+16|0]<<16|k[e+17|0]<<24))){break m}e=j[s+48>>2];y=k[e+10|0]|k[e+11|0]<<8|(k[e+12|0]<<16|k[e+13|0]<<24);F=k[e+6|0]|k[e+7|0]<<8|(k[e+8|0]<<16|k[e+9|0]<<24);if((F|0)==-1&(y|0)==-1){break m}if((y|0)<(G|0)?1:(y|0)<=(G|0)?F>>>0>>0:0){p=1;x=f;I=f;J=d;u=j[a+8>>2];i=u;q=j[a+12>>2];l=q;o=n;H=y;y=K;z=F;F=G-(H+(y>>>0>>0)|0)|0;d=g;if((F|0)<0?1:(F|0)<=0?y-z>>>0<=44100:0){break n}break k}e=q;o=u+1|0;e=o>>>0<1?e+1|0:e;N=o;o=e;if((e|0)>(l|0)?1:(l|0)<=(e|0)?i>>>0<=N>>>0:0){p=1;break j}if((g|0)!=j[a+8>>2]|(n|0)!=j[a+12>>2]){p=1;g=i;n=l;L=F;M=y;break k}y=j[a>>2];if(!y){e=-129;break c}p=1;x=0;e=l-(i>>>0<65536)|0;i=i-65536|0;l=(e|0)>(q|0)?1:(e|0)>=(q|0)?i>>>0>u>>>0:0;i=l?i:N;l=l?e:o;if((g|0)==(i|0)&(n|0)==(l|0)){i=g;l=n;o=d;d=f;break n}g=j[a+708>>2];if(!g){e=-128;break c}e=-128;if((qe[g|0](y,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[A+4>>2]>=0){j[A+8>>2]=0;j[A+12>>2]=0;j[A+24>>2]=0;j[A+16>>2]=0;j[A+20>>2]=0}o=d;d=f}g=d;n=o;if((n|0)>(q|0)?1:(q|0)<=(n|0)?g>>>0>u>>>0:0){continue l}f=x;break k}e=-128;p=1;d=g;f=j[a+8>>2];f=Pf(a,s+48|0,d-f|0,n-(j[a+12>>2]+(d>>>0>>0)|0)|0);o=pe;d=o;if((f|0)!=-128|(d|0)!=-1){continue}break}break}break c}if((n|0)>(q|0)?1:(n|0)>=(q|0)?g>>>0>u>>>0:0){continue}}break}if((I|0)!=-1|(J|0)!=-1){break g}}if(!p){e=f;break c}g=j[a+60>>2]+(B<<3)|0;if((u|0)!=j[g>>2]|(q|0)!=j[g+4>>2]){e=f;break c}e=f;d=j[s+48>>2];if(j[j[a+64>>2]+(B<<2)>>2]!=(k[d+14|0]|k[d+15|0]<<8|(k[d+16|0]<<16|k[d+17|0]<<24))){break c}j[a+80>>2]=D;j[a+84>>2]=C;d=a+480|0;o:{if(j[a+96>>2]!=(B|0)){xg(d);_g(a+592|0);j[a+96>>2]=B;p=j[j[a+64>>2]+(B<<2)>>2];j[a+92>>2]=p;j[a+88>>2]=3;break o}Ul(d);p=j[a+92>>2]}d=a+120|0;qh(d,p);Pg(d,s+48|0);D=j[a+80>>2];C=j[a+84>>2];break f}d=j[a>>2];if(!d){e=-129;break e}if(j[a+8>>2]!=(I|0)|j[a+12>>2]!=(J|0)){e=-128;f=j[a+708>>2];if(!f){break e}if((qe[f|0](d,I,J,0)|0)==-1){break e}j[a+8>>2]=I;j[a+12>>2]=J;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}j[a+80>>2]=-1;j[a+84>>2]=-1;e=Pf(a,s+32|0,-1,-1);if((pe|0)<0){break c}d=a+480|0;p:{if(j[a+96>>2]!=(B|0)){xg(d);_g(a+592|0);j[a+96>>2]=B;p=j[j[a+64>>2]+(B<<2)>>2];j[a+92>>2]=p;j[a+88>>2]=3;break p}Ul(d);p=j[a+92>>2]}u=a+120|0;qh(u,p);Pg(u,s+32|0);z=a+24|0;p=B<<3;while(1){q:{r:{e=eq(u,s);if(e){i=e>>31;break r}d=J;i=d;f=I;g=p+j[a+60>>2]|0;e=f>>>0<=m[g>>2];g=j[g+4>>2];if((d|0)<(g|0)?1:(g|0)>=(d|0)?e:0){break r}while(1){q=d;o=f;i=f;l=d;while(1){d=j[a>>2];if(!d){e=-129;break c}f=(l|0)>0?1:(l|0)>=0?i>>>0>65536:0;g=f?i:65536;i=g-65536|0;x=i;y=(f?l:0)-(g>>>0<65536)|0;l=y;if(j[a+8>>2]!=(i|0)|(l|0)!=j[a+12>>2]){e=-128;f=j[a+708>>2];if(!f){break c}if((qe[f|0](d,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[z+4>>2]>=0){j[z+8>>2]=0;j[z+12>>2]=0;j[z+24>>2]=0;j[z+16>>2]=0;j[z+20>>2]=0}y=j[a+12>>2];x=j[a+8>>2]}g=-1;n=-1;s:{t:{if((q|0)<(y|0)?1:(q|0)<=(y|0)?o>>>0<=x>>>0:0){break t}while(1){j[s+40>>2]=0;j[s+44>>2]=0;j[s+32>>2]=0;j[s+36>>2]=0;e=-128;d=o;f=Pf(a,s+32|0,d-x|0,q-((d>>>0>>0)+y|0)|0);x=pe;d=x;if((f|0)==-128&(d|0)==-1){break c}if((d|0)<-1?1:(d|0)<=-1){break t}g=f;n=d;x=j[a+8>>2];y=j[a+12>>2];e=y;if((e|0)<(q|0)?1:(e|0)<=(q|0)?x>>>0>>0:0){continue}break}break s}f=g;d=n;if((g|0)==-1&(d|0)==-1){continue}}break}if(!j[s+36>>2]){g=j[a>>2];if(!g){e=-129;break c}if(j[a+8>>2]!=(f|0)|j[a+12>>2]!=(d|0)){e=-128;n=j[a+708>>2];if(!n){break c}if((qe[n|0](g,f,d,0)|0)==-1){break c}j[a+8>>2]=f;j[a+12>>2]=d;if(j[z+4>>2]>=0){j[z+8>>2]=0;j[z+12>>2]=0;j[z+24>>2]=0;j[z+16>>2]=0;j[z+20>>2]=0}}e=-129;Pf(a,s+32|0,65536,0);if((pe|0)<0){break c}}u:{g=j[s+32>>2];if(j[a+92>>2]==(k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24))){g=j[s+32>>2];g;if(!(h[j[s+32>>2]+5|0]&1)|(k[g+10|0]|k[g+11|0]<<8|(k[g+12|0]<<16|k[g+13|0]<<24))>-1){break u}}g=p+j[a+60>>2]|0;e=m[g>>2]>>0;g=j[g+4>>2];if((d|0)>(g|0)?1:(g|0)<=(d|0)?e:0){continue}break q}break}p=nq(a,f,d);break a}if((i|0)>0?1:(i|0)>=0){break q}e=-136;break c}d=j[s+16>>2];g=j[s+20>>2];if((d|0)==-1&(g|0)==-1){ng(u,0);continue}break}e=j[a+68>>2]+(j[a+96>>2]<<4)|0;n=j[e>>2];g=g-(j[e+4>>2]+(d>>>0>>0)|0)|0;d=d-n|0;n=(g|0)>0?1:(g|0)>=0?!!d:0;d=D+(n?d:0)|0;e=C+(n?g:0)|0;e=d>>>0>>0?e+1|0:e;D=d;j[a+80>>2]=d;C=e;j[a+84>>2]=e}e=-129;if((c|0)<(C|0)?1:(c|0)<=(C|0)?b>>>0>>0:0){break c}d=ti(a,-1)>>>0>>0;b=pe;if((b|0)<(c|0)?1:(c|0)>=(b|0)?d:0){break c}j[a+104>>2]=0;j[a+108>>2]=0;j[a+112>>2]=0;j[a+116>>2]=0;p=0;break a}j[a+80>>2]=-1;j[a+84>>2]=-1}j[a+80>>2]=-1;j[a+84>>2]=-1;xg(a+480|0);_g(a+592|0);j[a+88>>2]=2;p=e}oe=s- -64|0;return p}function Al(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;f=oe-320|0;oe=f;i=6;a:{if(!c|(!a|!b)){break a}b:{c:{d:{e:{e=j[b>>2];if((j[a+8>>2]-e|0)+1>>>0>2){break e}d=j[b+4>>2];if((j[a+12>>2]-d|0)+1>>>0>2|(e-j[c>>2]|0)+1>>>0>2|(d-j[c+4>>2]|0)+1>>>0>2){break e}break d}e=j[c+4>>2];j[f+32>>2]=j[c>>2];j[f+36>>2]=e;e=j[b+4>>2];j[f+40>>2]=j[b>>2];j[f+44>>2]=e;b=j[a+12>>2];j[f+48>>2]=j[a+8>>2];j[f+52>>2]=b;t=a- -64|0;m=f+32|0;b=1;while(1){e=j[a>>2];x=f+32|0;f:{g:{if((s|0)>29){p=e;break g}d=j[m+12>>2];p=d-j[m+20>>2]|0;o=(f+32|0)+(s<<3)|0;d=j[o+4>>2]-d|0;g=j[m+8>>2];l=j[m>>2]-g|0;h:{i:{j:{k:{l:{m:{g=g-j[m+16>>2]|0;if(g+1>>>0<=2){n=p+1|0;if(l+1>>>0>=3){break k}q=d+1|0;if(n>>>0>=3){break m}g=e;if(q>>>0<3){break h}break i}if(l+1>>>0>2){break j}if(d+1>>>0<3){break l}break j}if(q>>>0>2){break j}}e=Gf(g,p);g=e;break h}if(n>>>0<3){break i}}e=Gf(g,p);g=Gf(l,d);break h}e=Gf(l,d);g=e}p=g;l=Bf(e,p);d=l>>31;if((d^d+l)<1966080){break g}if(k[a+20|0]){j[a>>2]=e}e=j[m+16>>2];j[m+32>>2]=e;d=j[m+20>>2];j[m+36>>2]=d;p=j[m+8>>2];l=(p+j[m>>2]|0)/2|0;j[m+8>>2]=l;e=(e+p|0)/2|0;j[m+24>>2]=e;g=d;d=j[m+12>>2];p=(g+d|0)/2|0;j[m+28>>2]=p;j[m+16>>2]=(e+l|0)/2;e=(d+j[(o|4)>>2]|0)/2|0;j[m+12>>2]=e;j[m+20>>2]=(e+p|0)/2;s=s+2|0;break f}n:{o:{p:{if(b&255){if(k[a+20|0]){of(f+304|0,j[a+60>>2],e+5898240|0);l=j[a+12>>2];g=j[f+308>>2];n=j[a+8>>2];q=j[f+304>>2];b=j[a+84>>2];q:{if((b|0)>=0){d=j[t>>2];if(d>>>0<=b+1>>>0){j[t>>2]=b;break q}o=d-1|0;j[a+64>>2]=o;i=j[a+72>>2];r=i+(b<<3)|0;o=i+(o<<3)|0;i=j[o+4>>2];j[r>>2]=j[o>>2];j[r+4>>2]=i;b=j[a+76>>2]+b|0;h[b|0]=k[b|0]|4;b=(d+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[t>>2]}l=g+l|0;g=n+q|0;h[a+80|0]=0;j[a+84>>2]=b;r:{s:{if(!b){break s}d=j[a+72>>2]+(b-1<<3)|0;if((j[d>>2]-g|0)+1>>>0>2){break s}if((j[d+4>>2]-l|0)+1>>>0<3){break r}}d=j[a+68>>2];j[f+24>>2]=0;q=b+1|0;t:{if(q>>>0<=d>>>0){d=j[a+76>>2];break t}n=j[a+88>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}B=a,C=xe(n,8,d,b,j[a+72>>2],f+24|0),j[B+72>>2]=C;i=j[f+24>>2];if(i){break p}d=xe(n,1,d,b,j[a+76>>2],f+24|0);j[a+76>>2]=d;i=j[f+24>>2];if(i){break p}j[a+68>>2]=b;b=j[a+64>>2]}n=j[a+72>>2]+(b<<3)|0;j[n>>2]=g;j[n+4>>2]=l;h[b+d|0]=1;h[a+80|0]=0;j[a+64>>2]=j[a+64>>2]+1}l=j[a+12>>2];g=j[f+308>>2];n=j[a+8>>2];q=j[f+304>>2];b=j[a+116>>2];u:{if((b|0)>=0){d=j[a+96>>2];if(d>>>0<=b+1>>>0){j[a+96>>2]=b;break u}o=d-1|0;j[a+96>>2]=o;i=j[a+104>>2];r=i+(b<<3)|0;o=i+(o<<3)|0;i=j[o+4>>2];j[r>>2]=j[o>>2];j[r+4>>2]=i;b=j[a+108>>2]+b|0;h[b|0]=k[b|0]|4;b=(d+j[a+108>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[a+96>>2]}l=l-g|0;g=n-q|0;h[a+112|0]=0;j[a+116>>2]=b;v:{w:{if(!b){break w}d=j[a+104>>2]+(b-1<<3)|0;if((j[d>>2]-g|0)+1>>>0>2){break w}i=0;if((j[d+4>>2]-l|0)+1>>>0<3){break v}}d=j[a+100>>2];j[f+24>>2]=0;q=b+1|0;x:{y:{if(q>>>0<=d>>>0){d=j[a+108>>2];break y}n=j[a+120>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}B=a,C=xe(n,8,d,b,j[a+104>>2],f+24|0),j[B+104>>2]=C;i=j[f+24>>2];if(i){break x}d=xe(n,1,d,b,j[a+108>>2],f+24|0);j[a+108>>2]=d;i=j[f+24>>2];if(i){break x}j[a+100>>2]=b;b=j[a+96>>2]}n=j[a+104>>2]+(b<<3)|0;j[n>>2]=g;j[n+4>>2]=l;h[b+d|0]=1;j[a+96>>2]=j[a+96>>2]+1;i=0}h[a+112|0]=0}j[a+36>>2]=0;h[a+20|0]=0;j[a+24>>2]=e;break o}j[a+4>>2]=e;b=Bf(j[a>>2],e);if(!b){break n}i=ki(a,b>>>31|0,0);if(i){break a}i=ji(a,(b^-1)>>>31|0,0);break o}d=Bf(j[a>>2],e);b=d>>31;if((b^b+d)<491521){break n}b=j[m+20>>2];d=j[m+16>>2];i=0;j[a+48>>2]=0;j[a+4>>2]=e;j[a+8>>2]=d;j[a+12>>2]=b;b=Bf(j[a>>2],e);z:{if(!b){break z}i=ki(a,b>>>31|0,0);if(i){break z}i=ji(a,(b^-1)>>>31|0,0)}j[a+48>>2]=j[a+52>>2];break o}h[a+80|0]=0}if(i){break a}}b=Bf(e,p);d=(b|0)/2|0;y=De(j[a+60>>2],ii(d));if(k[a+40|0]){q=Gf(j[m>>2]-j[m+16>>2]|0,j[((f+32|0)+(s<<3)|0)+4>>2]-j[m+20>>2]|0)}else{q=0}z=e+d|0;A=(f+32|0)+(s<<3)|4;b=5898240;n=1;e=t;while(1){of(f+304|0,y,b+z|0);j[f+304>>2]=j[f+304>>2]+j[m+8>>2];j[f+308>>2]=j[f+308>>2]+j[m+12>>2];of(f+24|0,j[a+60>>2],b+p|0);b=j[f+24>>2]+j[m>>2]|0;j[f+24>>2]=b;i=j[A>>2];g=i+j[f+28>>2]|0;j[f+28>>2]=g;A:{B:{if(!k[a+40|0]){break B}l=(j[e+8>>2]+(j[e>>2]<<3)|0)-8|0;d=j[l+4>>2];l=j[l>>2];o=d;r=b;b=l;r=Gf(r-b|0,g-d|0);u=Bf(q,r);g=u>>31;if((g^g+u)<5898241){break B}g=Gf(j[m+16>>2]-b|0,j[m+20>>2]-d|0);i=Gf(j[m>>2]-j[f+24>>2]|0,i-j[f+28>>2]|0);j[f+16>>2]=j[f+24>>2]-b;j[f+20>>2]=j[f+28>>2]-d;u=Gj(f+16|0);v=hi(r-i|0);r=v>>31;w=hi(g-i|0);i=w>>31;of(f+8|0,Ne(u,r^r+v,i^i+w),g);g=b+j[f+8>>2]|0;j[f+8>>2]=g;d=d+j[f+12>>2]|0;j[f+12>>2]=d;h[e+16|0]=0;b=j[e>>2];C:{D:{E:{F:{if(!b){break F}i=j[e+8>>2]+(b-1<<3)|0;if((j[i>>2]-g|0)+1>>>0>2){break F}if((j[i+4>>2]-d|0)+1>>>0<3){break E}}d=j[e+4>>2];j[f+316>>2]=0;i=b+1|0;G:{if(i>>>0<=d>>>0){d=j[e+12>>2];break G}g=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}B=e,C=xe(g,8,d,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}d=xe(g,1,d,b,j[e+12>>2],f+316|0);j[e+12>>2]=d;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;b=j[e>>2]}i=j[f+12>>2];g=j[e+8>>2]+(b<<3)|0;j[g>>2]=j[f+8>>2];j[g+4>>2]=i;h[b+d|0]=1;d=0;h[e+16|0]=0;g=j[e>>2];b=g+1|0;j[e>>2]=b;if(b>>>0>>0){break D}}g=j[e+8>>2]+(b-1<<3)|0;if((j[g>>2]-j[f+24>>2]|0)+1>>>0>2){d=b;break D}d=b;if((j[g+4>>2]-j[f+28>>2]|0)+1>>>0<3){break C}}g=j[e+4>>2];j[f+316>>2]=0;i=d+1|0;H:{if(i>>>0<=g>>>0){g=j[e+12>>2];break H}d=j[e+24>>2];b=g;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}B=e,C=xe(d,8,g,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}g=xe(d,1,g,b,j[e+12>>2],f+316|0);j[e+12>>2]=g;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;d=j[e>>2]}i=j[f+28>>2];b=j[e+8>>2]+(d<<3)|0;j[b>>2]=j[f+24>>2];j[b+4>>2]=i;h[d+g|0]=1;h[e+16|0]=0;b=j[e>>2]+1|0;j[e>>2]=b}d=j[e+4>>2];j[f+316>>2]=0;i=b+2|0;I:{if(i>>>0<=d>>>0){d=j[e+12>>2];break I}g=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}B=e,C=xe(g,8,d,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}d=xe(g,1,d,b,j[e+12>>2],f+316|0);j[e+12>>2]=d;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;b=j[e>>2]}i=j[f+304>>2];r=j[f+308>>2];g=j[e+8>>2]+(b<<3)|0;j[g+8>>2]=l;j[g+12>>2]=o;j[g>>2]=i;j[g+4>>2]=r;b=b+d|0;h[b|0]=0;h[b+1|0]=1;h[e+16|0]=0;l=j[e>>2];b=l+2|0;j[e>>2]=b;J:{if(!b){break J}d=j[e+8>>2]+(l+1<<3)|0;if((j[d>>2]-j[f+24>>2]|0)+1>>>0>2){break J}if((j[d+4>>2]-j[f+28>>2]|0)+1>>>0<3){break A}}d=j[e+4>>2];j[f+316>>2]=0;g=l+3|0;K:{if(g>>>0<=d>>>0){d=j[e+12>>2];break K}l=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(g>>>0>b>>>0){continue}break}B=e,C=xe(l,8,d,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}d=xe(l,1,d,b,j[e+12>>2],f+316|0);j[e+12>>2]=d;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;b=j[e>>2]}g=j[f+28>>2];l=j[e+8>>2]+(b<<3)|0;j[l>>2]=j[f+24>>2];j[l+4>>2]=g;h[b+d|0]=1;h[e+16|0]=0;j[e>>2]=j[e>>2]+1;break A}d=j[e+4>>2];b=j[e>>2];j[f+16>>2]=0;g=b+2|0;L:{if(g>>>0<=d>>>0){d=j[e+12>>2];break L}l=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(g>>>0>b>>>0){continue}break}B=e,C=xe(l,8,d,b,j[e+8>>2],f+16|0),j[B+8>>2]=C;i=j[f+16>>2];if(i){break b}d=xe(l,1,d,b,j[e+12>>2],f+16|0);j[e+12>>2]=d;i=j[f+16>>2];if(i){break b}j[e+4>>2]=b;b=j[e>>2]}o=j[f+308>>2];l=j[e+8>>2]+(b<<3)|0;g=l;j[g>>2]=j[f+304>>2];j[g+4>>2]=o;g=j[f+28>>2];j[l+8>>2]=j[f+24>>2];j[l+12>>2]=g;b=b+d|0;h[b|0]=0;h[b+1|0]=1;h[e+16|0]=0;j[e>>2]=j[e>>2]+2}e=e+32|0;d=n;b=-5898240;n=0;if(d){continue}break}j[a>>2]=p;b=0;s=s-2|0}m=x+(s<<3)|0;if((s|0)>-1){continue}break}}b=j[c+4>>2];j[a+8>>2]=j[c>>2];j[a+12>>2]=b;i=0;break a}h[e+16|0]=0;break a}h[e+16|0]=0}oe=f+320|0;return i}function ex(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;t=oe-240|0;oe=t;a:{if(!b){e=36;break a}e=j[a+4>>2];if(!e){e=35;break a}if(!(j[j[e+128>>2]+48>>2]|m[e+16>>2]>c>>>0)){e=6;break a}if(d&2){d=k[e+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(k[e+9|0]&32?9:11)|d}b:{if(d&8){break b}f=j[b+112>>2];if((f|0)==-1){break b}if(qe[j[j[e+532>>2]+72>>2]](e,f,c,d,j[e+104>>2],a+76|0,t)|0){break b}e=0;j[a+108>>2]=0;j[a+24>>2]=l[t+2>>1]<<6;j[a+28>>2]=l[t>>1]<<6;f=i[t+4>>1];j[a+32>>2]=f<<6;g=i[t+6>>1];j[a+36>>2]=g<<6;j[a+40>>2]=l[t+8>>1]<<6;n=i[t+10>>1];j[a+44>>2]=n<<6;r=i[t+12>>1];j[a+48>>2]=r<<6;s=l[t+14>>1];o=g;g=d&16;j[a+104>>2]=g?r:o;j[a+100>>2]=g?n:f;j[a+72>>2]=1651078259;j[a+52>>2]=s<<6;g=j[a+4>>2];if(!(h[g+8|0]&1)){break a}e=j[g+104>>2];f=Ee(t,0,208);o=0;c:{d:{if(j[j[g+128>>2]+48>>2]){break d}r=qe[j[g+508>>2]](g,1735162214,e,0)|0;o=0;if((r&255)==142){break d}if(r){break c}o=j[e+8>>2]}n=o;j[f+16>>2]=d;j[f+84>>2]=n;j[f+24>>2]=e;j[f+8>>2]=a;j[f+4>>2]=b;j[f>>2]=g}e=0;Xk(f,c,0,1);c=j[f+60>>2];j[a+56>>2]=c;j[a+60>>2]=j[f+180>>2];if(!(j[a+40>>2]|!c)){z=a,A=ye(c,j[b+16>>2]),j[z+40>>2]=A}if(j[a+52>>2]){break a}c=j[a+60>>2];if(!c){break a}z=a,A=ye(c,j[b+20>>2]),j[z+52>>2]=A;break a}y=d&1;if(!(y|k[b+108|0])){e=36;break a}e=6;if(d&16384){break a}s=j[a+4>>2];v=j[s+104>>2];g=Ee(t,0,208);x=d&2;if(!x){u=d&128;e:{f:{g:{e=j[b+296>>2];h:{if((e|0)>=0){f=j[b+300>>2];if((f|0)<0){break h}if(e){break a}e=f;if(!e){break e}break a}n=j[b>>2];e=j[n+100>>2];f=e;q=j[b+124>>2];if(q){qe[j[f+8>>2]](f,q)}j[b+124>>2]=0;f=j[b+136>>2];if(f){qe[j[e+8>>2]](e,f)}j[b+136>>2]=0;f=j[b+244>>2];if(f){qe[j[e+8>>2]](e,f)}j[b+244>>2]=0;f=j[b+252>>2];if(f){qe[j[e+8>>2]](e,f)}j[b+252>>2]=0;f=j[b+292>>2];if(f){j[f+440>>2]=0;q=j[f+8>>2];o=q;w=j[f+24>>2];if(w){qe[j[o+8>>2]](o,w)}j[f+20>>2]=0;j[f+24>>2]=0;o=j[f+436>>2];if(o){qe[j[q+8>>2]](q,o)}j[f+436>>2]=0;j[f+428>>2]=0;j[f+432>>2]=0;o=j[f+392>>2];if(o){qe[j[q+8>>2]](q,o)}j[f+388>>2]=0;j[f+392>>2]=0;j[f>>2]=0;j[f+4>>2]=0;if(f){qe[j[q+8>>2]](q,f)}}f=b+256|0;Wk(f);j[b+296>>2]=-1;j[b+300>>2]=-1;z=b,A=dx(j[n+96>>2]),j[z+292>>2]=A;q=l[n+280>>1];j[b+120>>2]=q;o=l[n+282>>1];j[b+140>>2]=0;j[b+144>>2]=0;j[b+128>>2]=0;j[b+116>>2]=0;j[b+132>>2]=o;j[b+240>>2]=j[n+644>>2];o=l[n+278>>1];h[b+109|0]=0;h[b+110|0]=0;i[b+248>>1]=o;j[b+92>>2]=0;j[b+96>>2]=0;j[b+100>>2]=0;j[b+104>>2]=0;z=b,A=xe(e,24,0,q,0,g+208|0),j[z+124>>2]=A;i:{if(j[g+208>>2]){break i}z=b,A=xe(e,24,0,j[b+132>>2],0,g+208|0),j[z+136>>2]=A;if(j[g+208>>2]){break i}z=b,A=xe(e,4,0,j[b+240>>2],0,g+208|0),j[z+244>>2]=A;if(j[g+208>>2]){break i}z=b,A=xe(e,4,0,l[b+248>>1],0,g+208|0),j[z+252>>2]=A;if(j[g+208>>2]){break i}q=l[n+276>>1];j[f+28>>2]=0;j[f+32>>2]=0;j[f+20>>2]=0;j[f+24>>2]=0;j[f+12>>2]=0;j[f+16>>2]=0;j[f+4>>2]=0;j[f+8>>2]=0;j[f>>2]=e;o=q+4|0;q=o&65535;z=f,A=xe(e,8,0,q,0,g+224|0),j[z+12>>2]=A;j:{k:{if(j[g+224>>2]){break k}z=f,A=xe(e,8,0,q,0,g+224|0),j[z+16>>2]=A;if(j[g+224>>2]){break k}z=f,A=xe(e,8,0,q,0,g+224|0),j[z+20>>2]=A;if(j[g+224>>2]){break k}z=f,A=xe(e,1,0,q,0,g+224|0),j[z+24>>2]=A;if(j[g+224>>2]){break k}z=f,A=xe(e,2,0,0,0,g+224|0),j[z+28>>2]=A;if(j[g+224>>2]){break k}i[f+6>>1]=0;i[f+4>>1]=o;j[g+208>>2]=0;break j}Wk(f);e=j[g+224>>2];j[g+208>>2]=e;if(e){break i}}i[b+264>>1]=o;Ae(b+172|0,89796,68);e=j[j[j[n+96>>2]+4>>2]+172>>2];j[n+652>>2]=e?e:381;e=j[b+292>>2];f=j[b>>2];n=Vk(e,f,b);if(!n){j[e+480>>2]=0;j[e+484>>2]=0;j[e+476>>2]=64;j[e+16>>2]=0;j[e+428>>2]=0;j[e+564>>2]=16384;h[e+561|0]=u;j[e+216>>2]=0;j[e+220>>2]=0;h[e+488|0]=0;i[e+252>>1]=0;j[e+224>>2]=0;j[e+256>>2]=65536;j[e+260>>2]=0;q=j[f+632>>2];n=j[f+628>>2];j[e+452>>2]=0;j[e+456>>2]=0;j[e+448>>2]=n;j[e+444>>2]=q;j[e+460>>2]=0;j[e+464>>2]=0;if(!n){j[b+296>>2]=0;break g}j[e+364>>2]=n;j[e+356>>2]=q;j[e+360>>2]=0;j[e+352>>2]=1;n=qe[j[f+652>>2]](e)|0;j[b+296>>2]=n;if(!n){break g}}j[g+208>>2]=n}$n(b);e=j[g+208>>2];if(e){break a}e=j[b+296>>2]}if(e){break e}break f}j[b+116>>2]=j[e+396>>2];j[b+128>>2]=j[e+408>>2];j[b+140>>2]=j[e+420>>2];j[b+144>>2]=j[e+424>>2];f=j[e+448>>2];j[b+148>>2]=j[e+444>>2];j[b+152>>2]=f;f=j[e+456>>2];j[b+156>>2]=j[e+452>>2];j[b+160>>2]=f;f=j[e+464>>2];j[b+164>>2]=j[e+460>>2];j[b+168>>2]=f}if(j[b+300>>2]>-1){break e}if(j[b+240>>2]){f=j[b>>2];e=0;while(1){n=ye(i[j[f+648>>2]+(e<<1)>>1],j[b+88>>2]);j[j[b+244>>2]+(e<<2)>>2]=n;e=e+1|0;if(e>>>0>2]){continue}break}}e=l[b+264>>1];if(e){f=e>>>0>1?e:1;n=j[b+272>>2];q=j[b+268>>2];e=0;while(1){o=e<<3;w=o+q|0;j[w>>2]=0;j[w+4>>2]=0;o=n+o|0;j[o>>2]=0;j[o+4>>2]=0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}e=l[b+248>>1];if(e){Ee(j[b+252>>2],0,(e>>>0>1?e:1)<<2)}Ae(b+172|0,89796,68);e=_n(b,u);if(e){break a}}f=j[b+292>>2];if(!f){e=153;break a}e=Vk(f,s,b);if(e){break a}e=(d&983040)!=131072;if((e|0)!=k[f+608|0]){h[f+608|0]=e;if(j[b+240>>2]){e=0;while(1){n=ye(i[j[s+648>>2]+(e<<1)>>1],j[b+88>>2]);j[j[b+244>>2]+(e<<2)>>2]=n;e=e+1|0;if(e>>>0>2]){continue}break}}e=_n(b,u);if(e){break a}}e=k[f+336|0];n=e<<1&2;if(e&2){Ae(f+284|0,89796,68)}h[f+561|0]=u;j[g+160>>2]=f;j[g+164>>2]=j[f+392>>2];d=d|n}l:{if(j[j[s+128>>2]+48>>2]){break l}e=qe[j[s+508>>2]](s,1735162214,v,0)|0;if((e&255)==142){break l}if(e){break a}r=j[v+8>>2]}j[g+84>>2]=r;e=j[j[a+156>>2]>>2];Ch(e);j[g+16>>2]=d;j[g+12>>2]=e;j[g+24>>2]=v;j[g+8>>2]=a;j[g+4>>2]=b;j[g>>2]=s;j[a+72>>2]=1869968492;j[a+124>>2]=0;j[a+128>>2]=0;e=Xk(g,c,0,0);m:{if(e){break m}d=j[g+12>>2];n:{if(j[a+72>>2]==1668246896){j[a+128>>2]=j[d+48>>2];j[a+132>>2]=j[d+52>>2];break n}f=j[d+24>>2];e=a+108|0;j[e>>2]=j[d+20>>2];j[e+4>>2]=f;j[e+16>>2]=j[d+36>>2];f=j[d+32>>2];j[e+8>>2]=j[d+28>>2];j[e+12>>2]=f;j[a+124>>2]=j[a+124>>2]&-513;d=j[g+68>>2];if(!d){break n}Tf(e,0-d|0,0)}o:{if(x){break o}d=j[g+160>>2];if(k[d+337|0]){p:{switch(j[d+340>>2]){case 0:j[a+124>>2]=j[a+124>>2]|32;break o;case 4:j[a+124>>2]=j[a+124>>2]|48;break o;case 5:j[a+124>>2]=j[a+124>>2]|16;break o;case 1:break o;default:break p}}j[a+124>>2]=j[a+124>>2]|8;break o}j[a+124>>2]=j[a+124>>2]|8}n=65536;r=j[g+4>>2];d=j[g+8>>2];n=h[g+16|0]&1?n:j[r+20>>2];f=j[g>>2];q:{if(j[d+72>>2]!=1668246896){Rg(d+108|0,g+224|0);break q}e=j[g+48>>2];j[g+232>>2]=j[g+44>>2];j[g+236>>2]=e;e=j[g+40>>2];j[g+224>>2]=j[g+36>>2];j[g+228>>2]=e}j[d+56>>2]=j[g+60>>2];u=j[g+224>>2];j[d+32>>2]=u;s=j[g+236>>2];j[d+36>>2]=s;j[d+40>>2]=j[g+76>>2]-j[g+68>>2];r:{if(j[f+480>>2]|k[g+16|0]&2){break r}v=j[f+712>>2];if(!v){break r}o=j[f+704>>2]+8|0;q=j[f+716>>2];x=j[f+720>>2];e=0;r=l[r+12>>1];while(1){if((r|0)==k[e+x|0]){r=c+2|0;if(r>>>0>=q>>>0){break r}j[d+40>>2]=k[r+(o+p(e,q)|0)|0]<<6;break r}e=e+1|0;if((v|0)!=(e|0)){continue}break}}j[d+24>>2]=j[g+232>>2]-u;e=s-j[g+228>>2]|0;j[d+28>>2]=e;s:{if(!(!k[f+292|0]|!l[f+330>>1])){r=De(j[g+188>>2]-s|0,n)<<16>>16;e=0;s=j[g+188>>2];q=j[g+196>>2];if((s|0)<=(q|0)){break s}e=De(s-q|0,n)&65535;break s}r=De(e,n);e=l[f+364>>1]==65535;e=i[f+(e?220:434)>>1]-i[f+(e?222:436)>>1]|0;r=(e-(r<<16>>16)|0)/2|0}f=j[j[f+128>>2]+48>>2];t:{if(!f){break t}s=j[j[f>>2]+8>>2];if(!s){break t}j[g+216>>2]=e;j[g+212>>2]=r;j[g+208>>2]=0;e=qe[s|0](j[f+4>>2],c,1,g+208|0)|0;if(e){break m}e=j[g+216>>2];r=j[g+212>>2]}j[d+60>>2]=e;c=d;if(!(h[g+16|0]&1)){r=ye(r,n);e=ye(e,n)}j[c+52>>2]=e;j[d+48>>2]=r;j[d+44>>2]=j[d+32>>2]+(j[d+40>>2]/-2|0);e=0}if(l[b+14>>1]>23|y){break a}j[a+124>>2]=j[a+124>>2]|256}oe=t+240|0;return e|0}function pM(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}r=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=j[c>>2];j[c>>2]=((p(b>>>24|0,r)>>>0)/255|0)+l<<24|((p(b&255,r)>>>0)/255|0)+i|((p(b>>>16&255,r)>>>0)/255|0)+g<<16|((p(b>>>8&255,r)>>>0)/255|0)+h<<8;c=c+4|0;a=a-1|0;if(a){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){l=(m|0)!=0;n=a+(b<<2)|0;a=d-b|0;break d}a=a+(d<<2)|0;n=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}while(1){c=j[n>>2];a=(c&255)+i|0;d=(a>>>0<255?a:255)|c&-16777216;a=(c>>>16&255)+g|0;d=d|(a>>>0<255?a:255)<<16;a=(c>>>8&255)+h|0;j[n>>2]=d|(a>>>0<255?a:255)<<8;n=n+4|0;b=b-1|0;if(b){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){l=(m|0)!=0;n=a+(b<<2)|0;a=d-b|0;break e}a=a+(d<<2)|0;n=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}while(1){a=j[n>>2];j[n>>2]=(p(a&255,i)>>>0)/255|a&-16777216|(p(a>>>16&255,g)>>>0)/255<<16|(p(a>>>8&255,h)>>>0)/255<<8;n=n+4|0;b=b-1|0;if(b){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;n=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=l<<24|i|h<<8|g<<16;while(1){j[n>>2]=a;n=n+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}c=f<<2;while(1){d=j[b>>2];j[b>>2]=((p(d>>>24|0,r)>>>0)/255|0)+l<<24|((p(d&255,r)>>>0)/255|0)+i|((p(d>>>16&255,r)>>>0)/255|0)+g<<16|((p(d>>>8&255,r)>>>0)/255|0)+h<<8;b=b+c|0;a=a-1|0;if(a){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;n=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}c=f<<2;while(1){d=j[n>>2];a=(d&255)+i|0;e=(a>>>0<255?a:255)|d&-16777216;a=(d>>>16&255)+g|0;e=e|(a>>>0<255?a:255)<<16;a=(d>>>8&255)+h|0;j[n>>2]=e|(a>>>0<255?a:255)<<8;n=c+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;n=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}a=f<<2;while(1){c=j[n>>2];j[n>>2]=(p(c&255,i)>>>0)/255|c&-16777216|(p(c>>>16&255,g)>>>0)/255<<16|(p(c>>>8&255,h)>>>0)/255<<8;n=a+n|0;b=b-1|0;if(b){continue}break}break a;default:break g}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;n=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}b=l<<24|i|h<<8|g<<16;a=f<<2;while(1){j[n>>2]=b;n=a+n|0;c=c-1|0;if(c){continue}break}break a}n=b-d|0;v=n>>31;q=c-e|0;o=q>>31;if((v^n+v)==(o^o+q)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}c=c<<2;while(1){d=j[a>>2];j[a>>2]=((p(d>>>24|0,r)>>>0)/255|0)+l<<24|((p(d&255,r)>>>0)/255|0)+i|((p(d>>>16&255,r)>>>0)/255|0)+g<<16|((p(d>>>8&255,r)>>>0)/255|0)+h<<8;a=a+c|0;b=b-1|0;if(b){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}c=c<<2;while(1){d=j[n>>2];a=(d&255)+i|0;e=(a>>>0<255?a:255)|d&-16777216;a=(d>>>16&255)+g|0;e=e|(a>>>0<255?a:255)<<16;a=(d>>>8&255)+h|0;j[n>>2]=e|(a>>>0<255?a:255)<<8;n=c+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}a=c<<2;while(1){c=j[n>>2];j[n>>2]=(p(c&255,i)>>>0)/255|c&-16777216|(p(c>>>16&255,g)>>>0)/255<<16|(p(c>>>8&255,h)>>>0)/255<<8;n=a+n|0;b=b-1|0;if(b){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=m?a:a+(b<<2)|0}c=((m|0)!=0)+q|0;if(!c){break a}d=l<<24|i|h<<8|g<<16;a=b<<2;while(1){j[n>>2]=d;n=a+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;o=n>>31;f=e-c|0;q=f>>31;o=o^n+o;n=q^f+q;r:{if((o|0)>=(n|0)){u=n-o|0;x=1;q=n<<1;f=q-o|0;n=0;break r}u=o-n|0;q=o<<1;f=q-n|0;o=n;n=1}s=((m|0)!=0)+o|0;if(!s){break a}e=(c|0)>(e|0);w=e?0-n|0:n;d=(b|0)>(d|0);t=d?0-x|0:x;v=e?-1:1;o=d?-1:1;n=u<<1;m=j[a+20>>2];d=0;while(1){e=(m+p(j[a+16>>2],c)|0)+(b<<2)|0;u=j[e>>2];j[e>>2]=((p(u&255,r)>>>0)/255|0)+i|((p(u>>>24|0,r)>>>0)/255|0)+l<<24|((p(u>>>16&255,r)>>>0)/255|0)+g<<16|((p(u>>>8&255,r)>>>0)/255|0)+h<<8;e=(f|0)<0;f=(e?q:n)+f|0;b=(e?t:o)+b|0;c=(e?w:v)+c|0;d=d+1|0;if((s|0)!=(d|0)){continue}break}break a;case 1:l=d-b|0;n=l>>31;f=e-c|0;o=f>>31;n=n^l+n;o=o^f+o;s:{if((n|0)>=(o|0)){s=o-n|0;f=o<<1;l=f-n|0;o=1;break s}s=n-o|0;t=1;f=n<<1;l=f-o|0;n=o;o=0}w=((m|0)!=0)+n|0;if(!w){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);v=d?0-o|0:o;q=e?-1:1;o=d?-1:1;n=s<<1;m=j[a+20>>2];e=0;while(1){d=(m+p(j[a+16>>2],c)|0)+(b<<2)|0;u=j[d>>2];s=(u&255)+i|0;r=d;d=(u>>>16&255)+g|0;s=u&-16777216|(s>>>0<255?s:255)|(d>>>0<255?d:255)<<16;d=(u>>>8&255)+h|0;j[r>>2]=s|(d>>>0<255?d:255)<<8;d=(l|0)<0;l=(d?f:n)+l|0;b=(d?v:o)+b|0;c=(d?t:q)+c|0;e=e+1|0;if((w|0)!=(e|0)){continue}break}break a;case 3:l=d-b|0;n=l>>31;f=e-c|0;o=f>>31;n=n^l+n;o=o^f+o;t:{if((n|0)>=(o|0)){x=o-n|0;f=o<<1;l=f-n|0;o=1;break t}x=n-o|0;t=1;f=n<<1;l=f-o|0;n=o;o=0}w=((m|0)!=0)+n|0;if(!w){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);v=d?0-o|0:o;q=e?-1:1;o=d?-1:1;n=x<<1;m=j[a+20>>2];e=0;while(1){d=(m+p(j[a+16>>2],c)|0)+(b<<2)|0;s=j[d>>2];j[d>>2]=(p(s&255,i)>>>0)/255|s&-16777216|(p(s>>>16&255,g)>>>0)/255<<16|(p(s>>>8&255,h)>>>0)/255<<8;d=(l|0)<0;l=(d?f:n)+l|0;b=(d?v:o)+b|0;c=(d?t:q)+c|0;e=e+1|0;if((w|0)!=(e|0)){continue}break}break a;default:break q}}n=d-b|0;q=n>>31;f=e-c|0;o=f>>31;q=q^n+q;o=o^f+o;u:{if((q|0)>=(o|0)){s=o-q|0;f=o<<1;n=f-q|0;o=1;break u}s=q-o|0;x=1;f=q<<1;n=f-o|0;q=o;o=0}w=((m|0)!=0)+q|0;if(!w){break a}e=(c|0)>(e|0);t=e?0-x|0:x;d=(b|0)>(d|0);v=d?0-o|0:o;q=e?-1:1;o=d?-1:1;m=s<<1;e=l<<24|i|h<<8|g<<16;d=j[a+20>>2];i=0;while(1){j[(d+p(j[a+16>>2],c)|0)+(b<<2)>>2]=e;g=(n|0)<0;n=(g?f:m)+n|0;b=(g?v:o)+b|0;c=(g?t:q)+c|0;i=i+1|0;if((w|0)!=(i|0)){continue}break}}}function aB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;n=oe-32|0;oe=n;a:{b:{f=Fe(a,0);if(!f){f=$e(a,23312,b+132|0);if(!f){break b}}j[n+24>>2]=f;break a}j[b+168>>2]=j[b+168>>2]+(j[b+204>>2]<<16);j[n+24>>2]=0;c:{if(!(j[b+132>>2]!=1346785840|m[b+136>>2]>4|m[b+144>>2]<58)){if(j[b+140>>2]==3338){break c}}f=2;j[n+24>>2]=2;break a}f=Fe(a,j[b+152>>2]);j[n+8>>2]=f;if(f){break a}d=qf(a,n+8|0);f=j[n+8>>2];j[n+24>>2]=f;if(f){break a}j[b>>2]=d;f=0;if((c|0)<0){break a}f=6;if((c|0)>=(d|0)){break a}q=j[b+204>>2];f=Fe(a,j[b+152>>2]);j[n+8>>2]=f;if(f){break a}d=qf(a,n+8|0);f=j[n+8>>2];if(f){break a}f=6;if(c>>>0>=d>>>0){break a}f=vf(a,p(c,5));j[n+8>>2]=f;if(f){break a}d=qf(a,n+8|0);f=j[n+8>>2];if(f){break a}e=tD(a,n+8|0);f=j[n+8>>2];if(f){break a}j[b+240>>2]=d;j[b+244>>2]=e;f=Fe(a,e);j[n+8>>2]=f;if(f){break a}f=_e(a,d);j[n+8>>2]=f;if(f){break a}d:{e:{f:{if(d>>>0<13){break f}e=j[a+32>>2];o=e+d|0;j[b+248>>2]=k[e+2|0]|(k[e+1|0]<<8|k[e|0]<<16);j[b+252>>2]=k[e+5|0]|(k[e+4|0]<<8|k[e+3|0]<<16);j[b+256>>2]=k[e+8|0]|(k[e+7|0]<<8|k[e+6|0]<<16);j[b+260>>2]=k[e+11|0]|(k[e+10|0]<<8|k[e+9|0]<<16);d=0;t=o;g=e+13|0;u=g;r=k[e+12|0];f=r&4;if(f){d=r&8?2:1;d=r&3?d:d+3|0}s=r&32;if(t>>>0>31&(s?2:1))|0)>>>0){break f}u=r&16;g:{if(!f){break g}d=b;h:{if(r&8){g=e+15|0;e=k[e+13|0]|k[e+14|0]<<8;e=(e<<24|e<<8&16711680)>>16;break h}g=e+14|0;e=k[e+13|0]}j[d+268>>2]=e;if(r&3){break g}j[b+276>>2]=k[g+2|0]|(k[g+1|0]<<8|k[g|0]<<16);g=g+3|0}i:{if(!u){d=g;break i}j:{if(s){d=k[g|0]|k[g+1|0]<<8;f=(d<<24|d<<8&16711680)>>16;d=g+2|0;break j}f=k[g|0];d=g+1|0}j[b+272>>2]=f}k:{if(!(r&64)){f=d;break k}f=d+1|0;if(o>>>0>>0){break e}e=k[d|0];if(e){while(1){d=f+2|0;if(d>>>0>o>>>0){break e}f=d+k[f|0]|0;if(o>>>0>>0){break e}e=e-1|0;if(e){continue}break}}j[n+8>>2]=0}if(o>>>0>>0){break f}d=k[f+1|0]|k[f|0]<<8;j[b+280>>2]=d;j[b+284>>2]=k[f+4|0]|(k[f+3|0]<<8|k[f+2|0]<<16);if(!q){break d}if(o>>>0>>0){break f}j[b+280>>2]=d|k[f+5|0]<<16;break d}j[n+8>>2]=8;break d}j[n+8>>2]=8}Ve(a);f=j[n+8>>2];j[n+24>>2]=f;if(f){break a}g=j[b+280>>2];x=j[b+284>>2];w=j[a+28>>2];j[b+428>>2]=b+424;j[b+424>>2]=0;j[b+292>>2]=x;o=b+288|0;j[o>>2]=w;f=Fe(a,x);if(f){break a}f=_e(a,g);j[n+28>>2]=f;if(f){break a}d=j[a+32>>2];j[o+148>>2]=d;l:{m:{n:{o:{if((g|0)<15){break o}j[o+8>>2]=k[d+1|0]|k[d|0]<<8;j[o+12>>2]=k[d+3|0]|k[d+2|0]<<8;j[o+16>>2]=k[d+5|0]|k[d+4|0]<<8;e=k[d+6|0]|k[d+7|0]<<8;j[o+20>>2]=(e<<24|e<<8&16711680)>>16;e=k[d+8|0]|k[d+9|0]<<8;j[o+24>>2]=(e<<24|e<<8&16711680)>>16;e=k[d+10|0]|k[d+11|0]<<8;j[o+28>>2]=(e<<24|e<<8&16711680)>>16;e=k[d+12|0]|k[d+13|0]<<8;j[o+32>>2]=(e<<24|e<<8&16711680)>>16;u=k[d+14|0];j[o+36>>2]=u;y=u&4;e=d+15|0;p:{if(y){break p}if((g|0)<17){break o}e=k[d+15|0]|k[d+16|0]<<8;j[o+40>>2]=(e<<24|e<<8&16711680)>>16;e=d+17|0}r=d+g|0;if(u&128){f=8;d=e+1|0;if(r>>>0>>0){break m}s=k[e|0];q:{if(!s){e=d;break q}while(1){q=d+2|0;if(q>>>0>r>>>0){break n}e=q+k[d|0]|0;if(r>>>0>>0){break n}f=23440;g=153;d=k[d+1|0];r:{if((d|0)!=1){while(1){g=j[f+12>>2];if(!g){break r}f=f+8|0;if((d|0)!=j[f>>2]){continue}break}}f=qe[g|0](q,e,o)|0;if(f){break m}}d=e;s=s-1|0;if(s){continue}break}}j[n+28>>2]=0}g=e+3|0;if(r>>>0>>0){break o}s=k[e+2|0]|(k[e+1|0]<<8|k[e|0]<<16);if(s){e=g+s|0;if(e>>>0>r>>>0){break o}while(1){s:{v=g+4|0;if(v>>>0>e>>>0){break s}q=k[g+1|0]|k[g|0]<<8;if(q>>>0<4|q>>>0>s>>>0){break s}t:{u:{v:{w:{x:{d=k[g+2|0]|k[g+3|0]<<8;switch(((d<<24|d<<8&16711680)>>>16|0)-1|0){case 2:break v;case 1:break w;case 0:break x;default:break t}}j[n+8>>2]=0;y:{z:{d=q-4|0;if(!d){break z}f=q-5|0;if(!k[f+v|0]){d=f;if(!f){break z}}f=0;while(1){t=k[f+v|0];if(t>>>0<32|t<<24>>24<0){break z}f=f+1|0;if((f|0)!=(d|0)){continue}break}break y}j[o+84>>2]=0;j[n+28>>2]=0;break t}t=He(w,d+1|0,n+8|0);f=j[n+8>>2];if(f){j[o+84>>2]=t;break a}f=d;d=Ae(t,v,d);h[f+d|0]=0;f=j[n+8>>2];j[o+84>>2]=d;break u}if(q>>>0<36){break t}d=k[g+14|0]|k[g+15|0]<<8;j[o+44>>2]=(d<<24|d<<8&16711680)>>16;d=k[g+16|0]|k[g+17|0]<<8;j[o+48>>2]=(d<<24|d<<8&16711680)>>16;d=k[g+18|0]|k[g+19|0]<<8;j[o+52>>2]=(d<<24|d<<8&16711680)>>16;break t}j[n+8>>2]=0;A:{B:{d=q-4|0;if(!d){break B}f=q-5|0;if(!k[f+v|0]){d=f;if(!f){break B}}f=0;while(1){t=k[f+v|0];if(t>>>0<32|t<<24>>24<0){break B}f=f+1|0;if((f|0)!=(d|0)){continue}break}break A}j[o+88>>2]=0;j[n+28>>2]=0;break t}t=He(w,d+1|0,n+8|0);f=j[n+8>>2];if(f){j[o+88>>2]=t;break a}f=d;d=Ae(t,v,d);h[f+d|0]=0;f=j[n+8>>2];j[o+88>>2]=d}j[n+28>>2]=f;if(f){break a}}g=g+q|0;s=s-q|0;if(s){continue}}break}g=e}f=g+1|0;if(r>>>0>>0){break o}d=k[g|0];j[o+104>>2]=d;if(r>>>0<(d<<1)+f>>>0){break o}g=0;e=xe(w,4,0,d,0,n+28|0);j[o+108>>2]=e;if(j[n+28>>2]){break l}if(d){while(1){q=k[f|0]|k[f+1|0]<<8;j[e+(g<<2)>>2]=(q<<24|q<<8&16711680)>>16;f=f+2|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}g=f+8|0;if(r>>>0>>0){break o}j[o+112>>2]=k[f|0];j[o+116>>2]=k[f+1|0];j[o+68>>2]=k[f+3|0]|k[f+2|0]<<8;j[o+56>>2]=k[f+5|0]|k[f+4|0]<<8;q=k[f+7|0]|k[f+6|0]<<8;j[o+120>>2]=q;j[o+124>>2]=(g+x|0)-j[a+32>>2];v=xe(w,16,0,q,0,n+28|0);j[o+128>>2]=v;if(j[n+28>>2]){break l}w=u&2;x=u&8;t=u&16;u=u&32;if(r>>>0>>1|(w?5:4))+(x>>>3|0)+(t>>>4)+(u>>>5)|0)+g>>>0){break o}if(!q){break l}d=0;while(1){C:{if(w){f=g+2|0;e=k[g+1|0]|k[g|0]<<8;break C}f=g+1|0;e=k[g|0]}g=v+(d<<4)|0;j[g>>2]=e;D:{if(y){e=k[f|0]|k[f+1|0]<<8;e=(e<<24|e<<8&16711680)>>16;f=f+2|0;break D}e=j[o+40>>2]}j[g+4>>2]=e;f=x?f+1|0:f;E:{if(t){e=k[f+1|0]|k[f|0]<<8;f=f+2|0;break E}e=k[f|0];f=f+1|0}j[g+8>>2]=e;e=g;F:{if(u){g=f+3|0;s=2;r=k[f+1|0]<<8|k[f|0]<<16;break F}g=f+2|0;s=1;r=k[f|0]<<8}j[e+12>>2]=r|k[f+s|0];d=d+1|0;if((q|0)!=(d|0)){continue}break}break l}j[n+28>>2]=8;break l}f=8}j[n+28>>2]=f}Ve(a);e=0;a=j[a+8>>2];j[o+148>>2]=0;j[o+144>>2]=a;f=j[n+28>>2];j[n+24>>2]=f;if(f){break a}j[b+4>>2]=c;a=j[b+408>>2];j[b+16>>2]=a+1;c=j[b+8>>2]|1;j[b+8>>2]=c;G:{H:{I:{if(!a){break I}d=j[o+128>>2];while(1){if(j[(d+(e<<4)|0)+12>>2]){break I}e=e+1|0;if((a|0)!=(e|0)){continue}break}break H}if((a|0)!=(e|0)){break G}}c=0;if(j[o+92>>2]){break G}f=3;break a}a=j[b+324>>2];f=(a^-1)&4|c|(a&1?32:16);j[b+8>>2]=f;c=j[b+380>>2];if(c){f=f|2;j[b+8>>2]=f}if(j[o+132>>2]){j[b+8>>2]=f|64}d=j[b+372>>2];j[b+20>>2]=d;if(!d){j[b+20>>2]=j[b+368>>2]}j[b+28>>2]=0;j[b+32>>2]=0;j[b+24>>2]=j[b+376>>2];d=j[o+28>>2];e=j[o+32>>2];f=j[o+24>>2];g=j[o+20>>2];r=j[b+300>>2];i[b+68>>1]=r;q=j[b+320>>2];i[b+70>>1]=q;s=j[b+312>>2];i[b+72>>1]=s;j[b+52>>2]=g;j[b+56>>2]=f;j[b+60>>2]=d;j[b+64>>2]=e;d=(q<<16>>16)-(s<<16>>16)|0;e=(p(r&65535,12)>>>0)/10|0;i[b+74>>1]=(d|0)>e<<16>>16?d:e;if(c){e=0;a=xe(j[j[b+104>>2]+28>>2],16,0,c,0,n+24|0);j[b+32>>2]=a;f=j[n+24>>2];if(f){break a}f=j[o+100>>2];while(1){g=j[f+4>>2];i[a>>1]=g;d=j[f>>2];g=g<<6;j[a+12>>2]=g;j[a+4>>2]=g;i[a+2>>1]=d;j[a+8>>2]=d<<6;f=f+36|0;a=a+16|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}j[b+28>>2]=c;a=j[b+324>>2]}J:{if(!(a&4)){f=j[o+40>>2];break J}c=j[o+120>>2];if(!c){f=0;break J}a=j[o+128>>2];f=0;while(1){d=j[a+4>>2];f=(d|0)>(f|0)?d:f;a=a+16|0;c=c-1|0;if(c){continue}break}}i[b+76>>1]=f;i[b+78>>1]=l[b+74>>1];a=l[b+68>>1];i[b+82>>1]=(a>>>0)/30;i[b+80>>1]=(a|0)/-10;j[n+8>>2]=b;j[n+12>>2]=1970170211;j[n+16>>2]=65539;f=qg(23096,0,n+8|0,0);if(!j[b+420>>2]){break a}j[b+8>>2]=j[b+8>>2]|64}oe=n+32|0;return f|0}function Po(a,b,c,d,e){var f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;q=oe-48|0;oe=q;d=Fe(b,c+d|0);a:{if(d){break a}d=_e(b,e);if(d){break a}g=j[b+32>>2];r=g+e|0;if(!(!e|h[g|0]>-1)){s=j[a+16>>2];t=j[a+28>>2];j[q>>2]=0;d=8;b:{if((e|0)<1){break b}o=k[g|0];if(!(o&128)){break b}n=g+1|0;x=j[t>>2];c:{if(!(o&8)){e=n;break c}if((e|0)<2){break b}e=g+2|0;f=k[n|0];if(f){while(1){n=e+2|0;if(n>>>0>r>>>0){break b}e=n+k[e|0]|0;if(r>>>0>>0){break b}f=f-1|0;if(f){continue}break}}j[q>>2]=0}u=o&63;n=u+s|0;g=j[a+20>>2];d:{if(n>>>0<=g>>>0){f=j[a+24>>2];break d}n=n+3&-4;if(n>>>0>64){break b}f=xe(x,24,g,n,j[a+24>>2],q);j[a+24>>2]=f;d=j[q>>2];if(d){break b}j[a+20>>2]=n}if(!u){d=0;break b}f=p(s,24)+f|0;while(1){o=e+1|0;if(r>>>0>>0){d=8;break b}g=k[e|0];j[f>>2]=65536;if(g&16){o=e+3|0;if(r>>>0>>0){d=8;break b}d=k[e+1|0]|k[e+2|0]<<8;j[f>>2]=(d<<24|d<<8&16711680)>>16<<4}j[f+4>>2]=65536;e:{if(!(g&32)){d=o;break e}d=o+2|0;if(r>>>0>>0){d=8;break b}e=k[o|0]|k[o+1|0]<<8;j[f+4>>2]=(e<<24|e<<8&16711680)>>16<<4}o=0;e=0;f:{g:{switch((g&3)-1|0){case 0:n=d+2|0;if(n>>>0>r>>>0){d=8;break b}d=k[d|0]|k[d+1|0]<<8;e=(d<<24|d<<8&16711680)>>16;d=n;break f;case 1:break g;default:break f}}n=d+1|0;if(n>>>0>r>>>0){d=8;break b}e=h[d|0];d=n}h:{i:{switch((g>>>2&3)-1|0){case 0:n=d+2|0;if(n>>>0>r>>>0){d=8;break b}d=k[d|0]|k[d+1|0]<<8;o=(d<<24|d<<8&16711680)>>16;d=n;break h;case 1:break i;default:break h}}n=d+1|0;if(n>>>0>r>>>0){d=8;break b}o=h[d|0];d=n}j[f+12>>2]=o;j[f+8>>2]=e;e=f;j:{if(g&64){o=d+2|0;if(r>>>0>>0){d=8;break b}d=k[d+1|0]|k[d|0]<<8;break j}o=d+1|0;if(r>>>0>>0){d=8;break b}d=k[d|0]}j[e+20>>2]=d;k:{if(g&128){e=o+3|0;if(r>>>0>>0){d=8;break b}n=2;d=k[o+1|0]<<8|k[o|0]<<16;break k}e=o+2|0;if(r>>>0>>0){d=8;break b}n=1;d=k[o|0]<<8}j[f+16>>2]=d|k[n+o|0];j[a+16>>2]=j[a+16>>2]+1;f=f+24|0;d=0;v=v+1|0;if((u|0)!=(v|0)){continue}break}}Ve(b);if(d){break a}r=j[a+16>>2]-s|0;if(!r){d=0;break a}o=0;while(1){g=i[t+22>>1];f=p(o,24);e=p(s,24);d=f+(e+j[a+24>>2]|0)|0;d=Po(a,b,c,j[d+16>>2],j[d+20>>2]);if(d){break a}n=i[t+22>>1]-g|0;e=f+(e+j[a+24>>2]|0)|0;u=j[e>>2];l:{if(!(j[e+4>>2]==65536?(u|0)==65536:0)){if((n|0)<1){break l}d=j[t+24>>2]+(g<<3)|0;f=0;while(1){z=d,A=ye(j[d>>2],u)+j[e+8>>2]|0,j[z>>2]=A;z=d,A=ye(j[d+4>>2],j[e+4>>2])+j[e+12>>2]|0,j[z+4>>2]=A;f=f+1|0;if((n|0)==(f|0)){break l}d=d+8|0;u=j[e>>2];continue}}if((n|0)<1){break l}d=j[t+24>>2]+(g<<3)|0;g=j[e+12>>2];f=j[e+8>>2];e=0;while(1){j[d>>2]=f+j[d>>2];j[d+4>>2]=g+j[d+4>>2];d=d+8|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}d=0;o=o+1|0;if((r|0)!=(o|0)){continue}break}break a}j[q+44>>2]=0;d=8;m:{if((e|0)<1){break m}o=k[g|0];if(o&128){break m}f=j[j[a+28>>2]>>2];n:{if(o&4){if((e|0)<2){break m}n=g+2|0;c=k[g+1|0];x=c>>>4|0;v=c&15;break n}if(o&2){if((e|0)<2){break m}v=k[g+1|0];c=g+2|0}else{c=g+1|0}if(!(o&1)){n=c;break n}n=c+1|0;if(r>>>0>>0){break m}x=k[c|0]}o:{g=v+x|0;c=j[a+4>>2];p:{q:{if(g>>>0>c>>>0){d=c;c=g+7&1016;s=xe(f,4,d,c,j[a+8>>2],q+44|0);j[a+8>>2]=s;d=j[q+44>>2];if(d){break m}u=a+8|0;j[a+4>>2]=c;j[a+12>>2]=(v<<2)+s;y=a+12|0;break q}s=j[a+8>>2];j[a+12>>2]=s+(v<<2);y=a+12|0;u=a+8|0;if(!g){break p}}c=0;e=0;d=0;while(1){r:{if(d&7){f=n;break r}f=n+1|0;if(r>>>0>>0){break o}e=k[n|0]}t=(d<<2)+s|0;s:{if(e&1){n=f+2|0;if(r>>>0>>0){break o}c=k[f|0]|k[f+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;break s}n=f+1|0;if(r>>>0>>0){break o}c=k[f|0]+c|0}j[t>>2]=c;e=e>>>1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=8;t:{if(!(o&8)){e=n;break t}e=n+1|0;if(r>>>0>>0){break m}f=k[n|0];if(f){while(1){c=e+2|0;if(c>>>0>r>>>0){break m}e=c+k[e|0]|0;if(r>>>0>>0){break m}f=f-1|0;if(f){continue}break}}j[q+44>>2]=0}h[a+32|0]=0;j[q+24>>2]=0;j[q+28>>2]=0;j[q>>2]=0;j[q+4>>2]=0;c=0;n=0;while(1){g=e+1|0;if(g>>>0>r>>>0){break o}d=k[e|0];f=d&15;s=1;u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{w=d>>>4|0;switch(w|0){case 0:break z;case 1:case 4:case 5:break A;case 7:break C;case 6:break D;case 3:break F;case 2:break G;default:break B}}if(f>>>0>=v>>>0){break o}d=j[j[u>>2]+(f<<2)>>2];j[q+4>>2]=c;j[q>>2]=d;d=j[q+4>>2];c=j[q>>2];j[q+24>>2]=c;j[q+28>>2]=d;n=c;break E}if(f>>>0>=x>>>0){break o}j[q>>2]=n;j[q+4>>2]=j[j[y>>2]+(f<<2)>>2];d=j[q+4>>2];c=j[q>>2];j[q+24>>2]=c;j[q+28>>2]=d;n=c}c=d;e=g;break w}f=2958;s=3;break A}f=3627;s=3;break A}s=4}o=0;d=q;e=g;while(1){H:{I:{switch(f&3){case 0:g=e+1|0;if(g>>>0>r>>>0){break o}e=k[e|0];if(e>>>0>=v>>>0){break o}n=j[j[u>>2]+(e<<2)>>2];e=g;break H;case 1:g=e+2|0;if(g>>>0>r>>>0){break o}e=k[e|0]|k[e+1|0]<<8;n=(e<<24|e<<8&16711680)>>16;e=g;break H;case 2:break I;default:break H}}g=e+1|0;if(g>>>0>r>>>0){break o}n=h[e|0]+n|0;e=g}j[d>>2]=n;J:{K:{switch(f>>>2&3){case 0:n=e+1|0;if(n>>>0>r>>>0){break o}c=k[e|0];if(c>>>0>=x>>>0){break o}c=j[j[y>>2]+(c<<2)>>2];e=n;break J;case 1:n=e+2|0;if(n>>>0>r>>>0){break o}c=k[e|0]|k[e+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;e=n;break J;case 2:break K;default:break J}}n=e+1|0;if(n>>>0>r>>>0){break o}c=h[e|0]+c|0;e=n}j[d+4>>2]=c;L:{if(!((s|0)!=4|o)){c=e+1|0;if(c>>>0>r>>>0){break o}f=k[e|0];s=3;e=c;break L}f=f>>>4|0}c=j[d+4>>2];g=j[d>>2];j[q+24>>2]=g;j[q+28>>2]=c;d=d+8|0;t=c;n=g;o=o+1|0;if(s>>>0>o>>>0){continue}break}c=t;switch(w|0){case 1:case 2:case 3:break w;case 4:case 5:break y;case 0:break z;default:break x}}d=j[a+28>>2];if(k[a+32|0]){n=i[d+58>>1];e=n-1|0;f=e;o=l[d+56>>1];g=o<<16>>16;c=0;M:{if((g|0)<1){break M}c=i[(j[d+68>>2]+(o<<1)|0)-2>>1]}N:{if((f|0)<=(c|0)){break N}f=j[d+60>>2];o=f+(c<<3)|0;f=f+(e<<3)|0;if(j[o>>2]!=j[f>>2]|j[o+4>>2]!=j[f+4>>2]){break N}i[d+58>>1]=n-1;e=n-2|0}if((c|0)<=(e|0)){i[d+56>>1]=g+1;i[j[d+68>>2]+(g<<1)>>1]=e}h[a+32|0]=0}Yh(d);d=j[q+44>>2];break m}f=j[a+28>>2];O:{if(!k[a+32|0]){break O}o=i[f+58>>1];d=o-1|0;s=d;w=l[f+56>>1];t=w<<16>>16;g=0;P:{if((t|0)<1){break P}g=i[(j[f+68>>2]+(w<<1)|0)-2>>1]}Q:{if((s|0)<=(g|0)){break Q}s=j[f+60>>2];w=s+(g<<3)|0;s=s+(d<<3)|0;if(j[w>>2]!=j[s>>2]|j[w+4>>2]!=j[s+4>>2]){break Q}i[f+58>>1]=o-1;d=o-2|0}if((d|0)<(g|0)){break O}i[f+56>>1]=t+1;i[j[f+68>>2]+(t<<1)>>1]=d}h[a+32|0]=1;d=i[f+58>>1];o=(d+i[f+22>>1]|0)+1|0;s=j[f+4>>2];if(!(m[f+8>>2]>=(i[f+20>>1]+i[f+56>>1]|0)+1>>>0?o>>>0<=s>>>0:0)){d=yf(f,1,1);if(d){break u}if(!k[a+32|0]){d=8;break u}f=j[a+28>>2];d=i[f+58>>1];o=(d+i[f+22>>1]|0)+1|0;s=j[f+4>>2]}if(o>>>0>s>>>0){d=yf(f,1,0);if(d){break u}d=i[f+58>>1]}o=j[q+4>>2];g=j[f+60>>2]+(d<<3)|0;j[g>>2]=j[q>>2];j[g+4>>2]=o;h[j[f- -64>>2]+d|0]=1;i[f+58>>1]=l[f+58>>1]+1;break v}if(!k[a+32|0]){d=8;break u}g=j[a+28>>2];d=i[g+58>>1];if((d+i[g+22>>1]|0)+3>>>0>m[g+4>>2]){d=yf(g,3,0);if(d){break u}d=i[g+58>>1]}o=j[g- -64>>2];t=j[q+4>>2];f=j[g+60>>2]+(d<<3)|0;j[f>>2]=j[q>>2];j[f+4>>2]=t;t=j[q+12>>2];j[f+8>>2]=j[q+8>>2];j[f+12>>2]=t;t=j[q+20>>2];j[f+16>>2]=j[q+16>>2];j[f+20>>2]=t;d=d+o|0;h[d+2|0]=1;h[d|0]=2;h[d+1|0]=2;i[g+58>>1]=l[g+58>>1]+3;break v}if(!k[a+32|0]){d=8;break u}g=j[a+28>>2];d=i[g+58>>1];if((d+i[g+22>>1]|0)+1>>>0>m[g+4>>2]){d=yf(g,1,0);if(d){break u}d=i[g+58>>1]}o=j[q+4>>2];f=j[g+60>>2]+(d<<3)|0;j[f>>2]=j[q>>2];j[f+4>>2]=o;h[j[g- -64>>2]+d|0]=1;i[g+58>>1]=l[g+58>>1]+1}d=0}j[q+44>>2]=d;if(!d){continue}break}break m}d=8}Ve(b)}oe=q+48|0;return d}function oA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;e=oe-80|0;oe=e;n=j[a+8>>2];a:{if(!n){b=6;break a}o=j[a>>2];c=j[a+4>>2];b:{if(j[c+12>>2]>1){break b}Xg(c);if(j[c+12>>2]>1){break b}i=j[c+8>>2];b=j[c>>2];c:{while(1){if(b>>>0>=i>>>0){break c}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;d:{switch(l-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}j[c+12>>2]=2;break b}j[c+12>>2]=3}while(1){e:{j[c+12>>2]=0;f=lh(c);if(f){break e}b=2;if(j[c+12>>2]==2){continue}break a}break}b=2;if((j[c>>2]+(f^-1)|0)!=16){break a}if(Qe(f,24109,16)){break a}b=160;f:{g:while(1){g=j[a+4>>2];h:{if(j[g+12>>2]>1){break h}Xg(g);if(j[g+12>>2]>1){break h}c=j[g+8>>2];f=j[g>>2];i:{while(1){if(c>>>0<=f>>>0){break i}l=f+1|0;j[g>>2]=l;i=k[f|0];f=l;j:{switch(i-10|0){case 16:break i;case 0:case 3:break j;default:continue}}break}j[g+12>>2]=2;break h}j[g+12>>2]=3}while(1){k:{j[g+12>>2]=0;i=lh(g);if(i){break k}if(j[g+12>>2]==2){continue}break f}break}f=j[g>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){l:{m=j[(d<<2)+24128>>2];if((l|0)==k[m|0]){if(d>>>0>73){continue g}while(1){if(!Qe(m,i,f)){break l}d=d+1|0;if((d|0)==74){continue g}m=j[(d<<2)+24128>>2];if((l|0)==k[m|0]){continue}break}continue g}d=d+1|0;if((d|0)!=74){continue}continue g}break}m:{n:{o:{p:{switch(d|0){case 40:j[e+32>>2]=3;if((Jg(a,e+32|0,1)|0)!=1){break f}if(!(j[e+36>>2]&-3)){continue}b=7;break f;case 30:j[e>>2]=4;if((Jg(a,e,1)|0)!=1){break f}h[n|0]=k[e+4|0];continue;case 26:j[e+24>>2]=2;j[e+16>>2]=2;j[e+8>>2]=2;j[e>>2]=2;if((Jg(a,e,4)|0)!=4){break f}j[n+4>>2]=j[e+4>>2];j[n+8>>2]=j[e+12>>2];j[n+12>>2]=j[e+20>>2];j[n+16>>2]=j[e+28>>2];continue;case 0:j[e>>2]=2;if((Jg(a,e,1)|0)!=1){break f}j[n+20>>2]=j[e+4>>2];continue;case 14:j[e>>2]=2;if((Jg(a,e,1)|0)!=1){break f}j[n+24>>2]=j[e+4>>2];continue;case 45:j[e+32>>2]=3;if((Jg(a,e+32|0,1)|0)!=1){break f}f=j[e+36>>2];if((f|0)<=0){break n}while(1){g=j[a+4>>2];q:{if(j[g+12>>2]>1){break q}Xg(g);if(j[g+12>>2]>1){break q}c=j[g+8>>2];b=j[g>>2];r:{while(1){if(b>>>0>=c>>>0){break r}l=b+1|0;j[g>>2]=l;i=k[b|0];b=l;s:{switch(i-10|0){case 16:break r;case 0:case 3:break s;default:continue}}break}j[g+12>>2]=2;break q}j[g+12>>2]=3}b=f-1|0;while(1){t:{j[g+12>>2]=0;if(lh(g)){break t}if(j[g+12>>2]==2){continue}break m}break}l=(f|0)<2;f=b;if(!l){continue}break}break n;case 20:break o;case 49:break p;default:continue}}u:while(1){c=j[a+4>>2];v:{if(j[c+12>>2]>1){break v}Xg(c);if(j[c+12>>2]>1){break v}i=j[c+8>>2];b=j[c>>2];w:{while(1){if(b>>>0>=i>>>0){break w}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;x:{switch(l-10|0){case 16:break w;case 0:case 3:break x;default:continue}}break}j[c+12>>2]=2;break v}j[c+12>>2]=3}y:{while(1){j[c+12>>2]=0;i=lh(c);if(i){break y}if(j[c+12>>2]==2){continue}break}b=160;break f}b=j[c>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){z:{f=j[(d<<2)+24128>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue u}while(1){if(!Qe(f,i,b)){break z}d=d+1|0;if((d|0)==74){continue u}f=j[(d<<2)+24128>>2];if((l|0)==k[f|0]){continue}break}continue u}d=d+1|0;if((d|0)!=74){continue}continue u}break}b=160;A:{switch(d-20|0){case 33:c=j[a+8>>2];j[e+32>>2]=3;if((Jg(a,e+32|0,1)|0)!=1){break f}b=j[e+36>>2];if((b|0)<0){b=160;break f}j[c+32>>2]=b;if(b){q=c,r=xe(j[a>>2],20,0,b,0,e+32|0),j[q+28>>2]=r;b=j[e+32>>2];if(b){break f}}m=-1;B:{C:while(1){g=j[a+4>>2];D:{if(j[g+12>>2]>1){break D}Xg(g);if(j[g+12>>2]>1){break D}i=j[g+8>>2];b=j[g>>2];E:{while(1){if(b>>>0>=i>>>0){break E}f=b+1|0;j[g>>2]=f;l=k[b|0];b=f;F:{switch(l-10|0){case 16:break E;case 0:case 3:break F;default:continue}}break}j[g+12>>2]=2;break D}j[g+12>>2]=3}G:{while(1){j[g+12>>2]=0;i=lh(g);if(i){break G}if(j[g+12>>2]==2){continue}break}b=160;break f}b=j[g>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){H:{f=j[(d<<2)+24128>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue C}while(1){if(!Qe(f,i,b)){break H}d=d+1|0;if((d|0)==74){continue C}f=j[(d<<2)+24128>>2];if((l|0)==k[f|0]){continue}break}continue C}d=d+1|0;if((d|0)!=74){continue}continue C}break}I:{J:{switch(d-20|0){case 36:m=m+1|0;if((m|0)>=j[c+32>>2]){break I}b=j[c+28>>2];j[e+64>>2]=2;j[e+56>>2]=2;j[e+48>>2]=2;j[e+40>>2]=2;j[e+32>>2]=3;if((Jg(a,e+32|0,5)|0)!=5){break I}b=b+p(m,20)|0;j[b>>2]=j[e+36>>2];j[b+4>>2]=j[e+44>>2];j[b+8>>2]=j[e+52>>2];j[b+12>>2]=j[e+60>>2];j[b+16>>2]=j[e+68>>2];continue;case 0:case 1:case 3:break B;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:break I;default:break J}}if((d|0)==75){continue}}break}b=160;break f}j[c+32>>2]=m+1;continue;case 0:case 1:break o;case 55:continue;case 30:case 31:break A;default:break f}}g=j[a+8>>2];j[e+32>>2]=3;if((Jg(a,e+32|0,1)|0)!=1){break f}b=j[e+36>>2];if((b|0)<0){b=160;break f}j[g+40>>2]=b;if(b){q=g,r=xe(j[a>>2],16,0,b,0,e+32|0),j[q+36>>2]=r;b=j[e+32>>2];if(b){break f}}m=-1;K:{L:while(1){c=j[a+4>>2];M:{if(j[c+12>>2]>1){break M}Xg(c);if(j[c+12>>2]>1){break M}i=j[c+8>>2];b=j[c>>2];N:{while(1){if(b>>>0>=i>>>0){break N}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;O:{switch(l-10|0){case 16:break N;case 0:case 3:break O;default:continue}}break}j[c+12>>2]=2;break M}j[c+12>>2]=3}P:{while(1){j[c+12>>2]=0;i=lh(c);if(i){break P}if(j[c+12>>2]==2){continue}break}b=160;break f}b=j[c>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){Q:{f=j[(d<<2)+24128>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue L}while(1){if(!Qe(f,i,b)){break Q}d=d+1|0;if((d|0)==74){continue L}f=j[(d<<2)+24128>>2];if((l|0)==k[f|0]){continue}break}continue L}d=d+1|0;if((d|0)!=74){continue}continue L}break}if((d|0)==75){continue}b=d-20|0;if(b>>>0>17){b=160;break f}b=1<=j[g+40>>2]){break R}b=j[g+36>>2];j[e+56>>2]=3;j[e+48>>2]=3;j[e+40>>2]=5;j[e+32>>2]=5;c=Jg(a,e+32|0,4);if((c|0)<3){break R}i=b+(m<<4)|0;j[i>>2]=j[e+36>>2];j[i+4>>2]=j[e+44>>2];f=0;b=j[e+52>>2];l=i;if((d|0)!=37){f=b;b=(d|0)==34?(c|0)==4?j[e+60>>2]:0:0}j[l+12>>2]=b;j[i+8>>2]=f;continue}break}b=160;break f}b=m+1|0;j[g+40>>2]=b;eg(j[g+36>>2],b,16,171);continue}}b=0;break a}S:while(1){c=j[a+4>>2];T:{if(j[c+12>>2]>1){break T}Xg(c);if(j[c+12>>2]>1){break T}i=j[c+8>>2];b=j[c>>2];U:{while(1){if(b>>>0>=i>>>0){break U}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;V:{switch(l-10|0){case 16:break U;case 0:case 3:break V;default:continue}}break}j[c+12>>2]=2;break T}j[c+12>>2]=3}while(1){W:{j[c+12>>2]=0;i=lh(c);if(i){break W}if(j[c+12>>2]==2){continue}break m}break}b=j[c>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){X:{f=j[(d<<2)+24128>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue S}while(1){if(!Qe(f,i,b)){break X}d=d+1|0;if((d|0)==74){continue S}f=j[(d<<2)+24128>>2];if((l|0)==k[f|0]){continue}break}continue S}d=d+1|0;if((d|0)!=74){continue}continue S}break}b=0;switch(d-17|0){case 0:case 3:continue g;default:continue}}}break}b=160;break a}a=j[n+28>>2];if(a){qe[j[o+8>>2]](o,a)}j[n+28>>2]=0;j[n+32>>2]=0;a=j[n+36>>2];if(a){qe[j[o+8>>2]](o,a)}j[n+36>>2]=0;j[n+40>>2]=0;h[n|0]=0}oe=e+80|0;return b|0}function oM(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}q=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=j[c>>2];j[c>>2]=((p(q,b>>>8&255)>>>0)/255|0)+h<<8|((p(q,b&255)>>>0)/255|0)+i|((p(q,b>>>16&255)>>>0)/255|0)+g<<16;c=c+4|0;a=a-1|0;if(a){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break d}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}while(1){a=j[l>>2];c=(a>>>8&255)+h|0;d=(c>>>0<255?c:255)<<8;c=(a&255)+i|0;a=(a>>>16&255)+g|0;j[l>>2]=d|(c>>>0<255?c:255)|(a>>>0<255?a:255)<<16;l=l+4|0;b=b-1|0;if(b){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break e}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}while(1){a=j[l>>2];j[l>>2]=(p(a>>>8&255,h)>>>0)/255<<8|(p(a&255,i)>>>0)/255|(p(a>>>16&255,g)>>>0)/255<<16;l=l+4|0;b=b-1|0;if(b){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h<<8|i|g<<16;while(1){j[l>>2]=a;l=l+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}d=f<<2;while(1){c=j[b>>2];j[b>>2]=((p(q,c>>>8&255)>>>0)/255|0)+h<<8|((p(q,c&255)>>>0)/255|0)+i|((p(q,c>>>16&255)>>>0)/255|0)+g<<16;b=b+d|0;a=a-1|0;if(a){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}c=f<<2;while(1){a=j[l>>2];d=(a>>>8&255)+h|0;e=(d>>>0<255?d:255)<<8;d=(a&255)+i|0;a=(a>>>16&255)+g|0;j[l>>2]=e|(d>>>0<255?d:255)|(a>>>0<255?a:255)<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}c=f<<2;while(1){a=j[l>>2];j[l>>2]=(p(a>>>8&255,h)>>>0)/255<<8|(p(a&255,i)>>>0)/255|(p(a>>>16&255,g)>>>0)/255<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;default:break g}}b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){l=(a+(p(b,c)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(b,e)<<2)|0)+(d<<2)|0;l=m?a:a+(b<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h<<8|i|g<<16;b=b<<2;while(1){j[l>>2]=a;l=b+l|0;c=c-1|0;if(c){continue}break}break a}s=b-d|0;l=s>>31;o=c-e|0;n=o>>31;if((l^l+s)==(n^n+o)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}d=c<<2;while(1){c=j[a>>2];j[a>>2]=((p(q,c>>>8&255)>>>0)/255|0)+h<<8|((p(q,c&255)>>>0)/255|0)+i|((p(q,c>>>16&255)>>>0)/255|0)+g<<16;a=a+d|0;b=b-1|0;if(b){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}c=c<<2;while(1){a=j[l>>2];d=(a>>>8&255)+h|0;e=(d>>>0<255?d:255)<<8;d=(a&255)+i|0;a=(a>>>16&255)+g|0;j[l>>2]=e|(d>>>0<255?d:255)|(a>>>0<255?a:255)<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}c=c<<2;while(1){a=j[l>>2];j[l>>2]=(p(a>>>8&255,h)>>>0)/255<<8|(p(a&255,i)>>>0)/255|(p(a>>>16&255,g)>>>0)/255<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(b<<2)|0}c=((m|0)!=0)+o|0;if(!c){break a}a=h<<8|i|g<<16;b=b<<2;while(1){j[l>>2]=a;l=b+l|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:l=d-b|0;f=l>>31;n=e-c|0;o=n>>31;l=f^f+l;n=o^n+o;r:{if((l|0)>=(n|0)){s=n-l|0;o=n<<1;f=o-l|0;n=1;break r}s=l-n|0;r=1;o=l<<1;f=o-n|0;l=n;n=0}l=((m|0)!=0)+l|0;if(!l){break a}e=(c|0)>(e|0);m=e?0-r|0:r;d=(b|0)>(d|0);n=d?0-n|0:n;r=e?-1:1;u=d?-1:1;s=s<<1;t=j[a+20>>2];d=0;while(1){v=(t+p(j[a+16>>2],c)|0)+(b<<2)|0;e=j[v>>2];j[v>>2]=((p(q,e&255)>>>0)/255|0)+i|((p(q,e>>>8&255)>>>0)/255|0)+h<<8|((p(q,e>>>16&255)>>>0)/255|0)+g<<16;e=(f|0)<0;f=(e?o:s)+f|0;b=(e?n:u)+b|0;c=(e?m:r)+c|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}break a;case 1:o=d-b|0;f=o>>31;n=e-c|0;l=n>>31;f=f^f+o;n=l^l+n;s:{if((f|0)>=(n|0)){s=n-f|0;q=1;o=n<<1;l=o-f|0;n=0;break s}s=f-n|0;o=f<<1;l=o-n|0;q=0;f=n;n=1}m=((m|0)!=0)+f|0;if(!m){break a}e=(c|0)>(e|0);n=e?0-n|0:n;d=(b|0)>(d|0);q=d?0-q|0:q;r=e?-1:1;u=d?-1:1;s=s<<1;t=j[a+20>>2];d=0;while(1){v=(t+p(j[a+16>>2],c)|0)+(b<<2)|0;e=j[v>>2];f=(e>>>8&255)+h|0;w=(f>>>0<255?f:255)<<8;f=(e&255)+i|0;e=(e>>>16&255)+g|0;j[v>>2]=w|(f>>>0<255?f:255)|(e>>>0<255?e:255)<<16;e=(l|0)<0;l=(e?o:s)+l|0;b=(e?q:u)+b|0;c=(e?n:r)+c|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}break a;case 3:o=d-b|0;f=o>>31;n=e-c|0;l=n>>31;o=f^f+o;n=l^l+n;t:{if((o|0)>=(n|0)){r=n-o|0;q=1;f=n<<1;l=f-o|0;n=0;break t}r=o-n|0;f=o<<1;l=f-n|0;q=0;o=n;n=1}m=((m|0)!=0)+o|0;if(!m){break a}e=(c|0)>(e|0);o=e?0-n|0:n;d=(b|0)>(d|0);n=d?0-q|0:q;q=e?-1:1;s=d?-1:1;r=r<<1;u=j[a+20>>2];d=0;while(1){t=(u+p(j[a+16>>2],c)|0)+(b<<2)|0;e=j[t>>2];j[t>>2]=(p(e&255,i)>>>0)/255|(p(e>>>8&255,h)>>>0)/255<<8|(p(e>>>16&255,g)>>>0)/255<<16;e=(l|0)<0;l=(e?f:r)+l|0;b=(e?n:s)+b|0;c=(e?o:q)+c|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}break a;default:break q}}o=d-b|0;f=o>>31;n=e-c|0;l=n>>31;o=f^f+o;n=l^l+n;u:{if((o|0)>=(n|0)){r=n-o|0;q=1;f=n<<1;l=f-o|0;n=0;break u}r=o-n|0;f=o<<1;l=f-n|0;q=0;o=n;n=1}m=((m|0)!=0)+o|0;if(!m){break a}e=(c|0)>(e|0);o=e?0-n|0:n;d=(b|0)>(d|0);n=d?0-q|0:q;e=e?-1:1;q=d?-1:1;r=r<<1;g=h<<8|i|g<<16;h=j[a+20>>2];i=0;while(1){j[(h+p(j[a+16>>2],c)|0)+(b<<2)>>2]=g;d=(l|0)<0;l=(d?f:r)+l|0;b=(d?n:q)+b|0;c=(d?o:e)+c|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}}}function jp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;e=oe-800|0;oe=e;a:{if(!a){d=37;break a}g=d|3;n=b?d:g;r=n&1?0:b;b:{if(!r){b=j[a+4>>2];break b}d=35;f=j[b>>2];b=j[a+4>>2];if((f|0)!=(b|0)){break a}}c:{d:{o=j[b+656>>2];if(j[o+1456>>2]==65535){break d}f=j[o+1164>>2];if(!f){break d}if(!c){c=0;break c}d=6;if(m[o+1168>>2]>>0){break a}c=l[f+(c<<1)>>1];if(c){break c}break a}d=6;if(m[o+12>>2]<=c>>>0){break a}}j[a+164>>2]=65536;j[a+168>>2]=65536;s=n&1024?g:n;e:{f:{if(!r){break f}j[a+164>>2]=j[r+16>>2];j[a+168>>2]=j[r+20>>2];g=j[r+44>>2];if(s&8|(g|0)==-1){break f}f=j[r>>2];d=j[f+532>>2];if(!j[d+96>>2]){break f}if(qe[j[d+72>>2]](b,g,c,s,j[f+104>>2],a+76|0,e+56|0)|0){break f}j[a+108>>2]=0;j[a+24>>2]=l[e+58>>1]<<6;j[a+28>>2]=l[e+56>>1]<<6;p=i[e+60>>1];j[a+32>>2]=p<<6;n=i[e+62>>1];j[a+36>>2]=n<<6;j[a+40>>2]=l[e+64>>1]<<6;g=i[e+66>>1];j[a+44>>2]=g<<6;d=i[e+68>>1];j[a+48>>2]=d<<6;f=l[e+70>>1];o=d;d=s&16;j[a+104>>2]=d?o:n;j[a+100>>2]=d?g:p;j[a+72>>2]=1651078259;j[a+52>>2]=f<<6;qe[j[j[b+532>>2]+112>>2]](b,0,c,e+16|0,e+40|0);j[a+56>>2]=l[e+40>>1];if(!(!k[b+292|0]|!l[b+330>>1])){qe[j[j[b+532>>2]+112>>2]](b,1,c,e+16|0,e+40|0);j[a+60>>2]=l[e+40>>1];break e}if(l[b+364>>1]!=65535){j[a+60>>2]=i[b+434>>1]-i[b+436>>1];break e}j[a+60>>2]=i[b+220>>1]-i[b+222>>1];break e}d=6;if(s&16384){break a}p=j[o+1896>>2];g:{if(p){d=0;h:{i:{switch(k[o+2924|0]){case 0:d=k[j[o+2932>>2]+c|0];break h;case 3:break i;default:break h}}if(m[o+2944>>2]>c-j[o+2940>>2]>>>0){d=k[o+2948|0];break h}d=j[o+2932>>2];n=d+j[o+2936>>2]|0;f=k[d+1|0]|k[d|0]<<8;d=d+2|0;while(1){if(c>>>0>=f>>>0){g=k[d+2|0]|k[d+1|0]<<8;if(g>>>0>c>>>0){d=k[d|0];h[o+2948|0]=d;j[o+2944>>2]=g-f;j[o+2940>>2]=f;break h}f=g;d=d+3|0;if(n>>>0>d>>>0){continue}}break}d=0}f=(o+(((p>>>0>(d&255)>>>0?d:p-1|0)&255)<<2)|0)+1900|0;p=j[f>>2];n=j[p+68>>2];g=j[o+1392>>2];d=j[p+60>>2];j[e+48>>2]=j[p+56>>2];j[e+52>>2]=d;d=j[p+52>>2];j[e+40>>2]=j[p+48>>2];j[e+44>>2]=d;d=j[f>>2];u=j[d+72>>2];v=j[d+76>>2];if((g|0)==(n|0)){break g}z=a,A=Ne(j[a+164>>2],g,n),j[z+164>>2]=A;z=a,A=Ne(j[a+168>>2],g,n),j[z+168>>2]=A;x=1;break g}f=o+1380|0;d=j[f+4>>2];j[e+48>>2]=j[f>>2];j[e+52>>2]=d;f=o+1372|0;d=j[f+4>>2];j[e+40>>2]=j[f>>2];j[e+44>>2]=d;v=j[o+1400>>2];u=j[o+1396>>2]}f=0;j[a+108>>2]=0;j[a+72>>2]=1869968492;y=s&1;h[a+161|0]=y^1;w=(s>>>1^-1)&1;h[a+160|0]=w;n=j[b+656>>2];Ee(e+80|0,0,716);j[e+64>>2]=a;j[e+60>>2]=b;h[e+121|0]=1;j[e+56>>2]=j[b+100>>2];d=j[j[a+156>>2]>>2];j[e+68>>2]=d;j[e+76>>2]=d+56;j[e+72>>2]=d+20;Ch(d);j[e+124>>2]=0;j[e+128>>2]=0;d=s>>>16|0;if(!(!r|!w)){j[e+128>>2]=j[j[r+40>>2]>>2];j[e+124>>2]=j[j[a+156>>2]+36>>2]}d=d&15;j[e+96>>2]=0;j[e+100>>2]=0;j[e+88>>2]=0;j[e+92>>2]=0;j[e+80>>2]=0;j[e+84>>2]=0;j[e+132>>2]=n;g=j[n+92>>2];j[e+756>>2]=g;j[e+772>>2]=j[n+1308>>2];j:{if(j[n+1368>>2]==1){break j}f=107;if(g>>>0<1240){break j}f=g>>>0<33900?1131:32768}j[e+784>>2]=d;j[e+764>>2]=f;if(s&256){h[e+617|0]=1}h[e+122|0]=0;d=j[j[b+128>>2]+48>>2];k:{if(d){d=qe[j[j[d>>2]>>2]](j[d+4>>2],c,e+16|0)|0;j[e+8>>2]=j[e+16>>2];j[e+36>>2]=j[e+20>>2];break k}d=gi(j[b+656>>2]+1176|0,c,e+8|0,e+36|0)}if(d){break a}q=j[j[e+60>>2]+656>>2];t=j[q+1896>>2];l:{if(!t){d=q+1324|0;break l}n=0;m:{n:{switch(k[q+2924|0]){case 0:n=k[j[q+2932>>2]+c|0];break m;case 3:break n;default:break m}}if(m[q+2944>>2]>c-j[q+2940>>2]>>>0){n=k[q+2948|0];break m}d=j[q+2932>>2];p=d+j[q+2936>>2]|0;f=k[d+1|0]|k[d|0]<<8;d=d+2|0;while(1){if(c>>>0>>0){break m}g=k[d+2|0]|k[d+1|0]<<8;if(g>>>0>c>>>0){n=k[d|0];h[q+2948|0]=n;j[q+2944>>2]=g-f;j[q+2940>>2]=f;break m}f=g;d=d+3|0;if(p>>>0>d>>>0){continue}break}}d=3;if(n>>>0>=t>>>0){break a}d=j[(q+(n<<2)|0)+1900>>2];if(!r|!j[e+124>>2]){break l}j[e+128>>2]=j[(j[r+40>>2]+(n<<2)|0)+4>>2]}g=j[d+544>>2];j[e+752>>2]=g;j[e+768>>2]=j[d+568>>2];f=e;n=0;o:{if(j[j[e+132>>2]+1368>>2]==1){break o}n=107;if(g>>>0<1240){break o}n=g>>>0<33900?1131:32768}j[f+760>>2]=n;j[e+608>>2]=j[d+528>>2];f=j[d+532>>2];j[e+792>>2]=d;j[e+612>>2]=f;g=j[e+36>>2];d=ip(e+56|0,j[e+8>>2],g);if((d&255)==164){w=0;h[a+160|0]=0;x=1;d=ip(e+56|0,j[e+8>>2],g)}f=j[j[b+128>>2]+48>>2];p:{if(f){j[e+20>>2]=g;j[e+16>>2]=j[e+8>>2];qe[j[j[f>>2]+4>>2]](j[f+4>>2],e+16|0);break p}f=j[b+656>>2];if(j[f+1204>>2]){break p}jf(j[f+1176>>2],e+8|0)}if(d){break a}f=0;n=0;d=j[j[b+128>>2]+48>>2];q:{if(!d){f=j[o+1200>>2];if(!f){break q}n=g;f=(j[o+1204>>2]+j[f+(c<<2)>>2]|0)-1|0}j[a+140>>2]=n;j[a+136>>2]=f}g=j[e+64>>2];if(g){f=j[e+72>>2];d=j[f+4>>2];j[g+108>>2]=j[f>>2];j[g+112>>2]=d;j[g+124>>2]=j[f+16>>2];d=j[f+12>>2];j[g+116>>2]=j[f+8>>2];j[g+120>>2]=d;d=j[j[b+128>>2]+48>>2]}r:{if(!d){break r}g=j[j[d>>2]+8>>2];if(!g){break r}j[e+20>>2]=0;j[e+16>>2]=j[e+88>>2];f=j[e+100>>2];j[e+24>>2]=j[e+96>>2];j[e+28>>2]=f;d=qe[g|0](j[d+4>>2],c,0,e+16|0)|0;j[e+88>>2]=j[e+16>>2];f=j[e+28>>2];j[e+96>>2]=j[e+24>>2];j[e+100>>2]=f;if(d){break a}}if(s&1024){j[a+32>>2]=j[e+88>>2];j[a+40>>2]=j[e+608>>2];f=j[e+48>>2];d=j[e+52>>2];c=j[e+40>>2];b=j[e+44>>2];a=j[a+156>>2];j[a+28>>2]=u;j[a+32>>2]=v;h[a+8|0]=1;j[a+20>>2]=f;j[a+24>>2]=d;j[a+12>>2]=c;j[a+16>>2]=b;break e}s:{if(l[b+250>>1]){i[e+16>>1]=0;i[e+8>>1]=0;qe[j[j[b+532>>2]+112>>2]](b,0,c,e+16|0,e+8|0);d=l[e+8>>1];j[a+32>>2]=i[e+16>>1];break s}d=j[e+608>>2]}j[a+56>>2]=d;j[a+40>>2]=d;h[j[a+156>>2]+8|0]=0;t:{if(!(!k[b+292|0]|!l[b+330>>1])){i[e+16>>1]=0;i[e+8>>1]=0;qe[j[j[b+532>>2]+112>>2]](b,1,c,e+16|0,e+8|0);j[a+48>>2]=i[e+16>>1];d=l[e+8>>1];j[a+52>>2]=d;f=1;break t}u:{if(l[b+364>>1]!=65535){d=i[b+434>>1]-i[b+436>>1]|0;j[a+52>>2]=d;break u}d=i[b+220>>1]-i[b+222>>1]|0;j[a+52>>2]=d}f=0}j[a+72>>2]=1869968492;j[a+60>>2]=d;t=a+108|0;j[a+124>>2]=r?l[r+14>>1]<24?260:4:4;v:{if(!(j[e+44>>2]|(j[e+40>>2]!=65536|j[e+52>>2]!=65536))){if(!j[e+48>>2]){break v}}rh(t,e+40|0)}if(u|v){Tf(t,u,v)}c=j[a+40>>2];j[e+12>>2]=0;j[e+8>>2]=c;Qg(e+8|0,e+40|0);j[a+40>>2]=j[e+8>>2]+u;j[e+8>>2]=0;j[e+12>>2]=j[a+52>>2];Qg(e+8|0,e+40|0);j[a+52>>2]=j[e+12>>2]+v;if(!(x?0:y)){d=j[a+112>>2];p=j[a+168>>2];n=j[a+164>>2];w:{if(j[e+124>>2]?w:0){break w}c=i[a+110>>1];if((c|0)<1){break w}c=c&65535;while(1){z=d,A=ye(j[d>>2],n),j[z>>2]=A;z=d,A=ye(j[d+4>>2],p),j[z+4>>2]=A;d=d+8|0;g=(c|0)>1;c=c-1|0;if(g){continue}break}}z=a,A=ye(j[a+40>>2],n),j[z+40>>2]=A;z=a,A=ye(j[a+52>>2],p),j[z+52>>2]=A}Rg(t,e+16|0);d=j[e+16>>2];j[a+24>>2]=j[e+24>>2]-d;c=j[e+28>>2];j[a+28>>2]=c-j[e+20>>2];if(!l[b+250>>1]){j[a+32>>2]=d}j[a+36>>2]=c;if(f){j[a+44>>2]=j[a+32>>2]+(j[a+40>>2]/-2|0);break e}if(!(s&16)){break e}Ci(a+24|0,j[a+52>>2])}d=0}oe=e+800|0;return d|0}function jk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0;i=oe-48|0;oe=i;l=j[b>>2];h=j[b+16>>2];g=j[b+20>>2];m=j[a+404>>2];if(j[a+356>>2]){f=j[a+184>>2];e=j[a+340>>2];a:{if(j[a+364>>2]){d=j[a+352>>2];k=j[a+344>>2];break a}d=j[a+352>>2];k=(j[a+420>>2]-j[a+344>>2]|0)-d|0}qe[f|0](e,k,j[a+348>>2],d);d=j[a+348>>2];b:{if(!d){break b}e=j[a+352>>2];if(!e){break b}n[a+428>>2]=q(2)/q(d|0);d=j[a+364>>2];n[a+480>>2]=d?q(-1):q(1);n[a+448>>2]=(d?q(2):q(-2))/q(e|0)}j[a+356>>2]=0}if(j[a+372>>2]){c:{if(!j[a+376>>2]){qe[j[a+64>>2]](3089);break c}qe[j[a+76>>2]](3089)}j[a+372>>2]=0}if(!(!j[a+376>>2]|!j[a+380>>2])){f=j[a+140>>2];e=j[a+384>>2]+j[a+340>>2]|0;d:{if(j[a+364>>2]){d=j[a+396>>2];k=j[a+388>>2]+j[a+344>>2]|0;break d}d=j[a+396>>2];k=((j[a+420>>2]-j[a+344>>2]|0)-j[a+388>>2]|0)-d|0}qe[f|0](e,k,j[a+392>>2],d);j[a+380>>2]=0}if((g|0)!=j[a+360>>2]){if(j[a+400>>2]!=((g|0)!=0|0)){d=a;e:{if(!g){qe[j[a+68>>2]](1);e=0;break e}qe[j[a+80>>2]](1);e=1}j[d+400>>2]=e}if(g){d=j[g+76>>2];f:{if(j[d+24>>2]){qe[j[a+8>>2]](33986);qe[j[a+20>>2]](j[d+4>>2],j[d+32>>2]);qe[j[a+8>>2]](33985);qe[j[a+20>>2]](j[d+4>>2],j[d+36>>2]);qe[j[a+8>>2]](33984);break f}if(!j[d+28>>2]){break f}qe[j[a+8>>2]](33985);qe[j[a+20>>2]](j[d+4>>2],j[d+36>>2]);qe[j[a+8>>2]](33984)}qe[j[a+20>>2]](j[d+4>>2],j[d>>2])}j[a+360>>2]=g}if(g){qe[j[a+180>>2]](1,2,5126,0,0,j[b+4>>2]+32|0);d=j[g+16>>2]}else{d=0}e=d;f=-1;g:{h:{i:{j:{k:{l:{m:{switch(c-1|0){case 3:c=5;break i;case 4:c=4;break i;case 5:d=j[58753];c=(e|0)<577?1:2;n:{if((d|0)==3){break n}c=d}if(c>>>0<3){break l}c=i;b=j[58753];d=(e|0)<577?1:2;o:{if((b|0)==3){break o}d=b}j[c>>2]=d;ve(127843,i);break h;case 6:d=j[58753];c=(e|0)<577?1:2;p:{if((d|0)==3){break p}c=d}if(c>>>0<3){break k}c=i;b=j[58753];d=(e|0)<577?1:2;q:{if((b|0)==3){break q}d=b}j[c+16>>2]=d;ve(127843,i+16|0);break h;case 7:d=j[58753];c=(e|0)<577?1:2;r:{if((d|0)==3){break r}c=d}if(c>>>0<3){break j}c=i;b=j[58753];d=(e|0)<577?1:2;s:{if((b|0)==3){break s}d=b}j[c+32>>2]=d;ve(127843,i+32|0);break h;case 0:case 1:case 2:break i;case 8:break m;default:break h}}c=15;break i}c=c+6|0;break i}c=c+9|0;break i}c=c+12|0}e=Ir(a,0);if(!e){break h}t:{u:{v:{w:{g=Ir(a,c);x:{if(!g){break x}d=j[a+424>>2];if((g|0)==j[d+8>>2]?!(!d|(e|0)!=j[d+4>>2]):0){break t}y:{z:{c=j[a+260>>2];if(c){d=c;while(1){if((g|0)==j[d+8>>2]?(e|0)==j[d+4>>2]:0){break z}d=j[d+148>>2];if(d){continue}break}}d=Xe(1,152);if(d){break y}Be(0);break x}if((c|0)==(d|0)){break v}f=j[d+148>>2];if(f){j[f+144>>2]=j[d+144>>2]}e=j[d+144>>2];if(e){j[e+148>>2]=f}j[d+148>>2]=c;j[d+144>>2]=0;j[c+144>>2]=d;j[a+260>>2]=d;break u}j[d+8>>2]=g;j[d+4>>2]=e;c=qe[j[a+44>>2]]()|0;j[d>>2]=c;qe[j[a+12>>2]](c,j[e>>2]);qe[j[a+12>>2]](j[d>>2],j[g>>2]);qe[j[a+16>>2]](j[d>>2],0,128057);qe[j[a+16>>2]](j[d>>2],1,128068);qe[j[a+16>>2]](j[d>>2],2,128079);qe[j[a+16>>2]](j[d>>2],3,128087);qe[j[a+128>>2]](j[d>>2]);qe[j[a+112>>2]](j[d>>2],35714,i+44|0);if(j[i+44>>2]){break w}qe[j[a+52>>2]](j[d>>2]);if(d){qe[j[57975]](d);j[57976]=j[57976]-1}ve(128096,0)}if(j[e+12>>2]<=0){c=j[e+20>>2];if(c){j[c+16>>2]=j[e+16>>2]}b=j[e+16>>2];if(b){j[b+20>>2]=c}if((e|0)==j[a+252>>2]){j[a+252>>2]=j[e+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[e>>2]);if(e){qe[j[57975]](e);j[57976]=j[57976]-1}}if(!g|j[g+12>>2]>0){break h}c=j[g+20>>2];if(c){j[c+16>>2]=j[g+16>>2]}b=j[g+16>>2];if(b){j[b+20>>2]=c}if((g|0)==j[a+252>>2]){j[a+252>>2]=j[g+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[g>>2]);if(g){qe[j[57975]](g);j[57976]=j[57976]-1}break h}o=d,p=qe[j[a+124>>2]](j[d>>2],128126)|0,j[o+12>>2]=p;o=d,p=qe[j[a+124>>2]](j[d>>2],128139)|0,j[o+28>>2]=p;o=d,p=qe[j[a+124>>2]](j[d>>2],128151)|0,j[o+24>>2]=p;o=d,p=qe[j[a+124>>2]](j[d>>2],128163)|0,j[o+16>>2]=p;c=qe[j[a+124>>2]](j[d>>2],128173)|0;j[d+76>>2]=0;j[d+20>>2]=c;qe[j[a+176>>2]](j[d>>2]);c=j[d+28>>2];if((c|0)!=-1){qe[j[a+164>>2]](c,2)}c=j[d+24>>2];if((c|0)!=-1){qe[j[a+164>>2]](c,1)}c=j[d+16>>2];if((c|0)!=-1){qe[j[a+164>>2]](c,0)}c=j[d+12>>2];if((c|0)!=-1){qe[j[a+172>>2]](c,1,0,d+80|0)}c=j[d+20>>2];if((c|0)!=-1){qe[j[a+168>>2]](c,q(0),q(0),q(0),q(0))}c=j[a+260>>2];A:{if(c){j[d+148>>2]=c;c=c+144|0;break A}c=a+264|0}j[c>>2]=d;j[a+260>>2]=d;c=j[a+256>>2];j[a+256>>2]=c+1;j[e+12>>2]=j[e+12>>2]+1;j[g+12>>2]=j[g+12>>2]+1;if((c|0)<8){break u}c=j[a+264>>2];f=j[c+4>>2];e=j[f+12>>2];j[f+12>>2]=e-1;if((e|0)<=1){e=j[f+20>>2];if(e){j[e+16>>2]=j[f+16>>2]}c=j[f+16>>2];if(c){j[c+20>>2]=e}if((f|0)==j[a+252>>2]){j[a+252>>2]=j[f+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[f>>2]);if(f){qe[j[57975]](f);j[57976]=j[57976]-1}c=j[a+264>>2]}f=j[c+8>>2];e=j[f+12>>2];j[f+12>>2]=e-1;if((e|0)<=1){e=j[f+20>>2];if(e){j[e+16>>2]=j[f+16>>2]}c=j[f+16>>2];if(c){j[c+20>>2]=e}if((f|0)==j[a+252>>2]){j[a+252>>2]=j[f+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[f>>2]);if(f){qe[j[57975]](f);j[57976]=j[57976]-1}c=j[a+264>>2]}qe[j[a+52>>2]](j[c>>2]);c=j[j[a+264>>2]+144>>2];j[a+264>>2]=c;if(c){c=j[c+148>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[j[a+264>>2]+148>>2]=0}j[a+256>>2]=j[a+256>>2]-1;break u}d=c}qe[j[a+176>>2]](j[d>>2]);j[a+424>>2]=d}B:{if(j[d+12>>2]==-1){break B}c=d+80|0;e=a+428|0;if(!xf(c,e,64)){break B}qe[j[a+172>>2]](j[d+12>>2],1,0,e);Ge(c,e,64)}c=j[d+20>>2];C:{if((c|0)==-1){break C}e=j[a+408>>2];if((e|0)==j[d+76>>2]){break C}qe[j[a+168>>2]](c,q(q(e>>>16&255)*q(.003921568859368563)),q(q(e>>>8&255)*q(.003921568859368563)),q(q(e&255)*q(.003921568859368563)),q(q(e>>>24|0)*q(.003921568859368563)));j[d+76>>2]=j[a+408>>2]}if(j[a+368>>2]!=(h|0)){D:{if(!h){qe[j[a+64>>2]](3042);break D}qe[j[a+76>>2]](3042);g=j[a+28>>2];c=Pr(h)-1|0;if(c>>>0<=9){e=j[(c<<2)+128384>>2]}else{e=1280}c=Or(h)-1|0;if(c>>>0<=9){d=j[(c<<2)+128384>>2]}else{d=1280}c=Nr(h)-1|0;if(c>>>0<=9){c=j[(c<<2)+128384>>2]}else{c=1280}f=Mr(h)-1|0;if(f>>>0<=9){k=j[(f<<2)+128384>>2]}else{k=1280}qe[g|0](e,d,c,k);e=j[a+24>>2];if(!(23>>>h&1)|h>>>0>=5){c=h&15}else{c=1}c=c-1|0;if(c>>>0<=2){c=j[(c<<2)+128424>>2]}else{c=1280}if(!(23>>>h&1)|h>>>0>=5){d=h>>>16&15}else{d=1}d=d-1|0;if(d>>>0<=2){d=j[(d<<2)+128424>>2]}else{d=1280}qe[e|0](c,d)}j[a+368>>2]=h}f=0;qe[j[a+180>>2]](0,2,5126,0,0,j[b+4>>2]);c=(l|0)==9;if((c|0)!=(m|0)){E:{if((l|0)==9){qe[j[a+80>>2]](2);qe[j[a+80>>2]](3);break E}qe[j[a+68>>2]](2);qe[j[a+68>>2]](3)}j[a+404>>2]=c}if((l|0)!=9){break g}qe[j[a+180>>2]](2,2,5126,0,0,j[b+4>>2]- -64|0);qe[j[a+180>>2]](3,2,5126,0,0,j[b+4>>2]+96|0);break g}j[a+424>>2]=0}oe=i+48|0;return f}function hI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;b=j[a+44>>2];B=k[b+9|0];c=j[a+40>>2];z=k[c+9|0];g=j[c+24>>2];e=j[a+28>>2];d=e-1|0;j[a+28>>2]=d;w=j[a+24>>2];E=(j[a+4>>2]<<16)/(w|0)|0;F=(j[a+8>>2]<<16)/(e|0)|0;a:{if(!e){break a}G=g^-1;H=j[a+56>>2];I=k[a+63|0];J=k[a+62|0];K=k[a+61|0];L=k[a+60|0];e=j[a+52>>2];M=e&48;N=e&2;O=e&1;P=e&256;Q=e>>>4&7;m=j[a+20>>2];C=z-1|0;y=B-1|0;while(1){if((u|0)>=65536){e=(u-((u|0)<131071?u:131071)|0)+65535|0;u=(u-(e&-65536)|0)-65536|0;D=((e>>>16|0)+D|0)+1|0}R=a;if(w){t=65536;A=-1;r=0;while(1){if((t|0)>=65536){d=(t-((t|0)<131071?t:131071)|0)+65535|0;A=((d>>>16|0)+A|0)+1|0;r=(j[a>>2]+p(j[a+12>>2],D)|0)+p(A,z)|0;t=(t-(d&-65536)|0)-65536|0}e=j[c+24>>2];b:{if(e){d=0;g=0;n=0;o=0;q=0;c:{switch(C|0){case 0:d=k[r|0];g=k[j[(k[c+31|0]<<2)+234976>>2]+((e&d)>>>k[c+35|0]|0)|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((j[c+20>>2]&d)>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 1:d=l[r>>1];g=k[j[(k[c+31|0]<<2)+234976>>2]+((e&d)>>>k[c+35|0]|0)|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((j[c+20>>2]&d)>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 2:n=k[(k[c+34|0]>>>3|0)+r|0];o=k[(k[c+33|0]>>>3|0)+r|0];q=k[(k[c+32|0]>>>3|0)+r|0];g=255;break b;case 3:break c;default:break b}}d=j[r>>2];g=k[j[(k[c+31|0]<<2)+234976>>2]+((e&d)>>>k[c+35|0]|0)|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((j[c+20>>2]&d)>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b}d=0;g=255;n=0;o=0;q=0;d:{switch(C|0){case 0:d=k[r|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((d&j[c+20>>2])>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 1:d=l[r>>1];n=k[j[(k[c+30|0]<<2)+234976>>2]+((d&j[c+20>>2])>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 2:n=k[(k[c+34|0]>>>3|0)+r|0];o=k[(k[c+33|0]>>>3|0)+r|0];q=k[(k[c+32|0]>>>3|0)+r|0];break b;case 3:break d;default:break b}}d=j[r>>2];n=k[j[(k[c+30|0]<<2)+234976>>2]+((d&j[c+20>>2])>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0]}w=w-1|0;n=n&255;o=o&255;q=q&255;e:{if(P){if((z|0)==3){d=o<>2];f:{if(x){s=0;e=0;d=0;f=0;g:{switch(y|0){case 0:f=k[m|0];s=k[j[(k[b+31|0]<<2)+234976>>2]+((f&x)>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 1:f=l[m>>1];s=k[j[(k[b+31|0]<<2)+234976>>2]+((f&x)>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 2:e=k[(k[b+34|0]>>>3|0)+m|0];d=k[(k[b+33|0]>>>3|0)+m|0];f=k[(k[b+32|0]>>>3|0)+m|0];s=255;break f;case 3:break g;default:break f}}f=j[m>>2];s=k[j[(k[b+31|0]<<2)+234976>>2]+((f&x)>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f}e=0;s=255;d=0;f=0;h:{switch(y|0){case 0:f=k[m|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 1:f=l[m>>1];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 2:e=k[(k[b+34|0]>>>3|0)+m|0];d=k[(k[b+33|0]>>>3|0)+m|0];f=k[(k[b+32|0]>>>3|0)+m|0];break f;case 3:break h;default:break f}}f=j[m>>2];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0]}if(O){o=(p(o,K)>>>0)/255|0;q=(p(q,L)>>>0)/255|0;n=(p(n,J)>>>0)/255|0}g=g&255;v=N?(p(g,I)>>>0)/255|0:g;if(!(!M|v>>>0>254)){o=(p(o,v)>>>0)/255|0;q=(p(q,v)>>>0)/255|0;n=(p(n,v)>>>0)/255|0}s=s&255;g=e&255;e=d&255;d=f;i:{j:{switch(Q|0){case 0:s=v;g=n;e=o;d=q;break i;case 1:f=255-v|0;s=((p(f,s)>>>0)/255|0)+v|0;g=((p(f,g)>>>0)/255|0)+n|0;e=((p(e,f)>>>0)/255|0)+o|0;d=((p(d,f)>>>0)/255|0)+q|0;break i;case 2:g=g+n|0;g=g>>>0<255?g:255;e=e+o|0;e=e>>>0<255?e:255;d=d+q|0;d=d>>>0<255?d:255;break i;case 4:break j;default:break i}}g=(p(g,n)>>>0)/255|0;e=(p(e,o)>>>0)/255|0;d=(p(d,q)>>>0)/255|0}if(x){k:{switch(y|0){case 0:h[m|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+m|0]=d;h[(k[b+33|0]>>>3|0)+m|0]=e;h[(k[b+34|0]>>>3|0)+m|0]=g;break e;case 3:break k;default:break e}}j[m>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>3|0)+m|0]=d;h[(k[b+33|0]>>>3|0)+m|0]=e;h[(k[b+34|0]>>>3|0)+m|0]=g;break e;case 3:break l;default:break e}}j[m>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>2];d=j[a+28>>2]}e=d;d=e-1|0;j[R+28>>2]=d;m=j[a+32>>2]+m|0;j[a+20>>2]=m;if(!e){break a}u=u+F|0;w=j[a+24>>2];continue}}}function Rt(a){var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;s=oe-16|0;oe=s;b=j[a+488>>2];c=a;f=j[a+824>>2];a:{b:{c:{if(f){if(b){e=1;if(av(s+12|0,f,b)){e=j[s+12>>2]-95e3>>>0>1e4}i[a+898>>1]=l[a+898>>1]|1;if(!e){break b}b=j[a+216>>2]|8192;break a}x=a,y=Mi(f),j[x+488>>2]=y;break c}if(b){x=a,y=Mi(b),j[x+824>>2]=y;break c}j[a+488>>2]=1e5;j[a+824>>2]=1e5}i[a+898>>1]=l[a+898>>1]|1}b=j[a+216>>2]&-8193}j[c+216>>2]=b;if((b&262272)==262144){i[a+428>>1]=0;j[a+216>>2]=b&-41943297;j[a+212>>2]=j[a+212>>2]&-8193}b=j[a+216>>2];if(j[a+488>>2]-95e3>>>0<=1e4){b=b&-8388609;j[a+216>>2]=b;j[a+212>>2]=j[a+212>>2]&-8193}if(b&6291456){bv(a);b=j[a+216>>2]}d:{if(b&256){if(k[a+435|0]&2){break d}j[a+208>>2]=j[a+208>>2]|2048;break d}if((b&16512)!=16512){break d}c=l[a+454>>1];if((c|0)!=l[a+456>>1]|(c|0)!=l[a+458>>1]){break d}i[a+460>>1]=c;j[a+208>>2]=j[a+208>>2]|2048}f=k[a+435|0];e:{if((f|0)==3){f=l[a+428>>1];f:{if(f){d=j[a+528>>2];c=0;while(1){e=k[c+d|0];if((e|0)!=255){if(e){c=b;break f}g=1}c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=b&-8388609;j[a+216>>2]=c;j[a+212>>2]=j[a+212>>2]&-8193;if(g){break f}c=b&-8388993;j[a+216>>2]=c}if((c&4352)!=4352){break e}b=j[a+416>>2]+p(k[a+452|0],3)|0;i[a+454>>1]=k[b|0];i[a+456>>1]=k[b+1|0];i[a+458>>1]=k[b+2|0];if(!f|(c&34078720)!=524288){break e}b=j[a+528>>2];c=0;while(1){d=c+b|0;h[d|0]=k[d|0]^-1;c=c+1|0;if((f|0)!=(c|0)){continue}break}c=j[a+216>>2];break e}g:{if(f&4){c=b;break g}c=b&-8388609;j[a+216>>2]=c;j[a+212>>2]=j[a+212>>2]&-8193;if(l[a+428>>1]){break g}c=b&-8388993;j[a+216>>2]=c}if(f&2|(c&4352)!=4352){break e}e=l[a+540>>1];d=l[a+460>>1];h:{i:{switch(k[a+436|0]-1|0){case 0:e=p(e,255);d=p(d,255);break h;case 1:e=p(e,85);d=p(d,85);break h;case 3:break i;default:break h}}e=p(e,17);d=p(d,17)}i[a+456>>1]=d;i[a+458>>1]=d;i[a+454>>1]=d;if(c&33554432){break e}i[a+536>>1]=e;i[a+538>>1]=e;i[a+534>>1]=e}if(!(k[a+436|0]==16|(c&896)!=640)){i[a+454>>1]=p(l[a+454>>1],255)+32895>>>16;i[a+456>>1]=p(l[a+456>>1],255)+32895>>>16;i[a+458>>1]=p(l[a+458>>1],255)+32895>>>16;i[a+460>>1]=p(l[a+460>>1],255)+32895>>>16}if(!(!(c&67109888)|(c&384)!=128|k[a+436|0]!=16)){i[a+454>>1]=p(l[a+454>>1],257);i[a+456>>1]=p(l[a+456>>1],257);i[a+458>>1]=p(l[a+458>>1],257);i[a+460>>1]=p(l[a+460>>1],257)}b=l[a+456>>1]|l[a+458>>1]<<16;f=l[a+452>>1]|l[a+454>>1]<<16;i[a+462>>1]=f;i[a+464>>1]=f>>>16;i[a+466>>1]=b;i[a+468>>1]=b>>>16;i[a+470>>1]=l[a+460>>1];f=a;j:{k:{l:{if(c&8192){break l}if(c&6291456){if(j[a+824>>2]-95e3>>>0>1e4|j[a+488>>2]-95e3>>>0>1e4){break l}c=j[a+216>>2]}m:{if(!(c&128)){break m}if(j[a+824>>2]-95e3>>>0>1e4|j[a+488>>2]-95e3>>>0>1e4){break l}if(k[a+446|0]!=3){break m}if(j[a+448>>2]-95e3>>>0>1e4){break l}}b=j[a+216>>2];if(b&8388608){if(j[a+488>>2]-95e3>>>0>1e4){break l}b=j[a+216>>2]}if(!(b&128)|k[a+435|0]!=3){break j}m=l[a+428>>1];if(m){e=k[a+458|0];g=k[a+456|0];q=k[a+454|0];o=j[a+416>>2];c=0;while(1){r=j[a+528>>2]+c|0;d=k[r|0];n:{if((d|0)==255){break n}if(!d){b=o+p(c,3)|0;h[b+2|0]=e;h[b+1|0]=g;h[b|0]=q;break n}b=o+p(c,3)|0;d=(p(q,d^255)+p(d,k[b|0])|0)+128|0;h[b|0]=d+((d&65280)>>>8|0)>>>8;d=k[r|0];d=(p(g,d^255)+p(d,k[b+1|0])|0)+128|0;h[b+1|0]=((d&65280)>>>8|0)+d>>>8;n=b;d=k[r|0];b=(p(e,d^255)+p(d,k[b+2|0])|0)+128|0;h[n+2|0]=((b&65280)>>>8|0)+b>>>8}c=c+1|0;if((m|0)!=(c|0)){continue}break}b=j[a+216>>2]}b=b&-129;break k}$u(a,k[a+436|0]);b=j[a+216>>2];if(b&128){if(b&6291456){Ze(a,101962)}if(k[a+435|0]==3){r=l[a+420>>1];q=j[a+416>>2];d=1e5;c=1e5;o:{p:{q:{switch(k[a+446|0]-1|0){case 1:b=j[a+504>>2];g=l[a+458>>1];c=k[b+g|0];o=l[a+456>>1];e=k[o+b|0];m=l[a+454>>1];d=k[m+b|0];b=g;g=j[a+492>>2];b=k[b+g|0];o=k[g+o|0];g=k[g+m|0];break o;case 0:c=j[a+488>>2];break p;case 2:break q;default:break p}}c=Mi(j[a+448>>2]);d=Ik(j[a+448>>2],j[a+488>>2])}g=l[a+454>>1];r:{if(d-95e3>>>0>1e4){g=ei(g,d);o=ei(l[a+456>>1],d);b=ei(l[a+458>>1],d);break r}o=k[a+456|0];b=k[a+458|0]}d=l[a+454>>1];if(c-95e3>>>0>1e4){d=ei(d,c);e=ei(l[a+456>>1],c);c=ei(l[a+458>>1],c);break o}c=k[a+458|0];e=k[a+456|0]}if(r){u=c&255;v=e&255;w=d&255;c=0;while(1){s:{t:{if(l[a+428>>1]<=c>>>0){break t}m=j[a+528>>2]+c|0;e=k[m|0];if((e|0)==255){break t}if(!e){d=p(c,3)+q|0;h[d+2|0]=b;h[d+1|0]=o;h[d|0]=g;break s}t=j[a+504>>2];d=p(c,3)+q|0;e=(p(w,e^255)+p(e,k[t+k[d|0]|0])|0)+128|0;n=e+(e>>>8&255)>>>8&255;e=j[a+500>>2];h[d|0]=k[n+e|0];n=k[m|0];n=(p(v,n^255)+p(n,k[t+k[d+1|0]|0])|0)+128|0;h[d+1|0]=k[e+((n>>>8&255)+n>>>8&255)|0];n=d;m=k[m|0];d=(p(u,m^255)+p(m,k[t+k[d+2|0]|0])|0)+128|0;h[n+2|0]=k[e+((d>>>8&255)+d>>>8&255)|0];break s}d=p(c,3)+q|0;e=j[a+492>>2];h[d|0]=k[e+k[d|0]|0];h[d+1|0]=k[e+k[d+1|0]|0];h[d+2|0]=k[e+k[d+2|0]|0]}c=c+1|0;if((r|0)!=(c|0)){continue}break}}b=j[a+216>>2]&-8321;break k}u:{v:{switch(k[a+446|0]-1|0){case 1:c=Mi(j[a+824>>2]);b=Ik(j[a+824>>2],j[a+488>>2]);break u;case 2:c=Mi(j[a+448>>2]);b=Ik(j[a+448>>2],j[a+488>>2]);break u;default:Ye(a,102015);z();case 0:break v}}c=j[a+488>>2];b=1e5}d=b-95e3>>>0>1e4;e=c-95e3>>>0>1e4;if(e){x=a,y=hh(a,l[a+460>>1],c),i[x+470>>1]=y}if(d){x=a,y=hh(a,l[a+460>>1],b),i[x+460>>1]=y}f=l[a+454>>1];w:{if(!((f|0)==l[a+460>>1]?!((f|0)!=l[a+456>>1]|(f|0)!=l[a+458>>1]):0)){if(e){x=a,y=hh(a,f,c),i[x+464>>1]=y;x=a,y=hh(a,l[a+456>>1],c),i[x+466>>1]=y;x=a,y=hh(a,l[a+458>>1],c),i[x+468>>1]=y}if(!d){break w}x=a,y=hh(a,l[a+454>>1],b),i[x+454>>1]=y;x=a,y=hh(a,l[a+456>>1],b),i[x+456>>1]=y;x=a,y=hh(a,l[a+458>>1],b),i[x+458>>1]=y;break w}i[a+458>>1]=f;i[a+456>>1]=f;i[a+454>>1]=f;b=l[a+470>>1];i[a+468>>1]=b;i[a+466>>1]=b;i[a+464>>1]=b}h[a+446|0]=1;b=j[a+216>>2];break j}if(k[a+435|0]!=3|(b&6291456?b&4096:0)){break j}g=l[a+420>>1];if(g){q=j[a+416>>2];d=j[a+492>>2];e=0;while(1){c=q+p(e,3)|0;h[c|0]=k[d+k[c|0]|0];h[c+1|0]=k[d+k[c+1|0]|0];h[c+2|0]=k[d+k[c+2|0]|0];e=e+1|0;if((g|0)!=(e|0)){continue}break}}b=b&-8193}j[f+216>>2]=b}x:{if((b&4104)!=8|k[a+435|0]!=3){break x}j[a+216>>2]=b&-9;b=l[a+420>>1];c=k[a+516|0];if(!(!b|(c-1&255)>>>0>6)){c=8-c|0;f=j[a+416>>2];d=0;while(1){e=f+p(d,3)|0;h[e|0]=k[e|0]>>>c;d=d+1|0;if((b|0)!=(d|0)){continue}break}}c=k[a+517|0];if(!(!b|(c-1&255)>>>0>6)){c=8-c|0;f=j[a+416>>2];d=0;while(1){e=f+p(d,3)|0;h[e+1|0]=k[e+1|0]>>>c;d=d+1|0;if((b|0)!=(d|0)){continue}break}}c=k[a+518|0];if(!b|(c-1&255)>>>0>6){break x}c=8-c|0;f=j[a+416>>2];a=0;while(1){d=f+p(a,3)|0;h[d+2|0]=k[d+2|0]>>>c;a=a+1|0;if((b|0)!=(a|0)){continue}break}}oe=s+16|0}function Yx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;g=oe-10096|0;oe=g;O=j[b+92>>2];j[a+40>>2]=l[b+68>>1];if(!fk(b)){c=j[b+100>>2];Ee(g+3216|4,0,2996);j[g+3216>>2]=c;j[a+1624>>2]=0;j[a+52>>2]=0;f=j[(j[j[a>>2]+8>>2]<<2)+4864>>2];o=j[f+8>>2];c=0;d=j[j[a+36>>2]>>2];a:{if(!d){break a}d=j[d+92>>2];if(!d){break a}c=qe[j[j[d+12>>2]+12>>2]](d,o)|0}d=c;b:{c:{if(c){break c}o=j[f+12>>2];if(!o){break b}d=0;c=j[j[a+36>>2]>>2];d:{if(!c){break d}c=j[c+92>>2];if(!c){break d}d=qe[j[j[c+12>>2]+12>>2]](c,o)|0}if(d){break c}f=j[f+16>>2];if(!f){break b}d=0;c=j[j[a+36>>2]>>2];e:{if(!c){break e}c=j[c+92>>2];if(!c){break e}d=qe[j[j[c+12>>2]+12>>2]](c,f)|0}if(!d){break b}}if(Th(b,d,1)){break b}c=j[b+84>>2];if(i[c+110>>1]<1){break b}Ee(g+16|0,0,3188);d=j[a+40>>2];j[g+32>>2]=0;j[g+36>>2]=0;j[g+40>>2]=0;j[g+44>>2]=0;j[g+24>>2]=65536;j[g+28>>2]=65536;j[g+56>>2]=d;j[g+20>>2]=b;j[g+6196>>2]=0;j[g+6204>>2]=g+16;if(Qi(g+3216|0,c+108|0)){break b}j[g+12>>2]=0;if(fi(g+3216|0,0)){break b}Pi(g+3216|0,0,0,0);c=j[g+3260>>2];if((c|0)>=1){d=j[g+3268>>2];f=d+p(c,48)|0;while(1){c=j[d+20>>2];if(!(!c|c>>>0<=d>>>0|(j[c+20>>2]!=(d|0)|e>>>0>15))){o=i[d+2>>1]-i[c+2>>1]|0;c=o>>31;j[(p(e,12)+a|0)+56>>2]=c^c+o;e=e+1|0}d=d+48|0;if(f>>>0>d>>>0){continue}break}j[g+12>>2]=e}yj(g+12|0,a+56|0,m[g+56>>2]/100|0);j[a+52>>2]=j[g+12>>2];e=0;j[g+12>>2]=0;if(fi(g+3216|0,1)){break b}Pi(g+3216|0,0,0,1);c=j[g+4728>>2];if((c|0)>=1){d=j[g+4736>>2];f=d+p(c,48)|0;while(1){c=j[d+20>>2];if(!(!c|c>>>0<=d>>>0|(j[c+20>>2]!=(d|0)|e>>>0>15))){o=i[d+2>>1]-i[c+2>>1]|0;c=o>>31;j[(p(e,12)+a|0)+1628>>2]=c^c+o;e=e+1|0}d=d+48|0;if(f>>>0>d>>>0){continue}break}j[g+12>>2]=e}yj(g+12|0,a+1628|0,m[g+56>>2]/100|0);j[a+1624>>2]=j[g+12>>2]}if(j[a+52>>2]){c=j[a+56>>2]}else{c=(p(j[a+40>>2],50)|0)/2048|0}h[a+256|0]=0;j[a+252>>2]=c;j[a+248>>2]=(c|0)/5;if(j[a+1624>>2]){c=j[a+1628>>2]}else{c=(p(j[a+40>>2],50)|0)/2048|0}h[a+1828|0]=0;j[a+1824>>2]=c;j[a+1820>>2]=(c|0)/5;Zk(g+3216|0);d=(j[j[a>>2]+12>>2]<<3)+2912|0;n=j[d>>2];if((n|0)!=759){while(1){B=d;E=n+2144|0;d=k[E|0];f:{if(!d){break f}C=0;x=0;while(1){n=d&255;E=E+1|0;if(d<<24>>24<=-1){c=n>>>0<240;f=n>>>0<224;n=(f?31:c?15:7)&n;d=E;c=f?1:c?2:3;r=c;while(1){n=k[d|0]&63|n<<6;d=d+1|0;r=r-1|0;if(r){continue}break}E=c+E|0}c=0;d=j[j[a+36>>2]>>2];g:{if(!d){break g}d=j[d+92>>2];if(!d){break g}c=qe[j[j[d+12>>2]+12>>2]](d,n)|0}h:{if(!c){break h}if(Th(b,c,1)){break h}c=j[b+84>>2];if(i[c+110>>1]<3){break h}n=0;s=i[c+108>>1];i:{if((s|0)<1){break i}u=j[c+120>>2];D=j[c+116>>2];v=j[c+112>>2];c=-1;y=0;z=0;f=0;t=0;while(1){o=i[u+(t<<1)>>1];if((o|0)>(f|0)){d=c;r=f;e=f;j:{if(h[B+4|0]&1){while(1){q=j[((r<<3)+v|0)+4>>2];e=(d|0)<0|(q|0)>(n|0);n=e?q:n;d=e?r:d;e=(o|0)==(r|0);r=r+1|0;if(!e){continue}break j}}while(1){r=j[((e<<3)+v|0)+4>>2];q=(d|0)<0|(r|0)<(n|0);n=q?r:n;d=q?e:d;q=(e|0)!=(o|0);e=e+1|0;if(q){continue}break}}c=(c|0)==(d|0);y=c?y:f;z=c?z:o;c=d}f=o+1|0;t=t+1|0;if((s|0)!=(t|0)){continue}break}if((c|0)<0){break i}H=j[(c<<3)+v>>2];o=c;d=(k[c+D|0]&3)==1?c:-1;r=d;k:{while(1){f=(o|0)>(y|0)?o-1|0:z;q=(f<<3)+v|0;s=j[q+4>>2]-n|0;e=s>>31;s=e^e+s;if((s|0)>=6){q=j[q>>2]-H|0;e=q>>31;if((p(s,20)|0)>=(e^e+q)){break k}}o=(k[f+D|0]&3)==1;r=(r|0)<0?o?f:r:r;d=o?f:d;o=f;if((f|0)!=(c|0)){continue}break}o=c}f=c;l:{while(1){e=(f|0)<(z|0)?f+1|0:y;J=(e<<3)+v|0;s=j[J+4>>2]-n|0;q=s>>31;s=q^q+s;if((s|0)>=6){t=j[J>>2]-H|0;q=t>>31;if((p(s,20)|0)>=(q^q+t)){break l}}f=(k[e+D|0]&3)==1;d=(d|0)<0?f?e:d:d;r=f?e:r;f=e;if((e|0)!=(c|0)){continue}break}f=c}K=l[B+4>>1];m:{n:{if(!(K&8)){break n}q=j[(f<<3)+v>>2]-j[(o<<3)+v>>2]|0;e=q>>31;s=j[a+40>>2];L=(s>>>0)/25|0;if((L|0)<=(e^e+q)){break n}e=c;if(((f-o|0)+2|0)>(z-y|0)){break n}while(1){e=(e|0)>(y|0)?e-1|0:z;M=j[(e<<3)+v>>2];if((c|0)!=(e|0)?(M|0)==(H|0):0){continue}break}if((c|0)==(e|0)){break h}P=s>>>2|0;F=0;q=f;e=f;t=0;c=0;while(1){if(!F){q=e;t=(k[e+D|0]&3)==1?e:-1;c=t}e=(e|0)<(z|0)?e+1|0:y;F=0;u=(q<<3)+v|0;s=j[u+4>>2];A=n-s|0;w=A>>31;o:{if((w^w+A)>(P|0)){break o}w=(e<<3)+v|0;A=j[w+4>>2]-s|0;F=A>>31;A=F^F+A;p:{if((A|0)<=5){I=j[w>>2];w=j[u>>2];u=I-w|0;G=0-u|0;break p}F=0;I=j[w>>2];w=j[u>>2];u=I-w|0;G=u>>31;if((p(A,20)|0)>=(G^u+G)){break o}G=0-u|0}F=1;N=(k[e+D|0]&3)==1;t=(t|0)<0?N?e:t:t;c=N?e:c;if((w|0)<(I|0)^(H|0)>(M|0)|(((u|0)<0?G:u)|0)<(L|0)){break o}f=p(A,20);while(1){e=(e|0)<(z|0)?e+1|0:y;n=j[((e<<3)+v|0)+4>>2]-s|0;d=n>>31;q:{if((d^d+n)<6){break q}n=j[J>>2]-w|0;d=n>>31;if((f|0)<(d^d+n)){break q}f=(e|0)>(y|0)?e-1|0:z;break m}t=(t|0)<0?(k[e+D|0]&3)==1?e:t:t;c=e;if((o|0)!=(c|0)){continue}break}f=o;c=f;break m}if((e|0)!=(o|0)){continue}break}}q=o;t=d;c=r;s=n}r:{if((c|t)>=0){d=j[(c<<3)+v>>2]-j[(t<<3)+v>>2]|0;c=d>>31;if((c^c+d)>>>0>j[a+40>>2]>>>3>>>0){break r}}if((k[f+D|0]&3)==1?(k[q+D|0]&3)==1:0){break r}if(K&2){break h}j[(g+16|0)+(x<<2)>>2]=s;x=x+1|0;break h}n=s}j[(g+3216|0)+(C<<2)>>2]=n;C=C+1|0}d=k[E|0];if(d){continue}break}if(!(x|C)){break f}c=1;if(x>>>0>=2){while(1){o=j[(g+16|0)+(c<<2)>>2];d=c;while(1){f=d-1|0;e=(g+16|0)+(f<<2)|0;n=j[e>>2];if((n|0)>(o|0)){j[(g+16|0)+(d<<2)>>2]=n;j[e>>2]=o;d=f;if(d){continue}}break}c=c+1|0;if((x|0)!=(c|0)){continue}break}}c=1;if(C>>>0>=2){while(1){o=j[(g+3216|0)+(c<<2)>>2];d=c;while(1){f=d-1|0;e=(g+3216|0)+(f<<2)|0;n=j[e>>2];if((n|0)>(o|0)){j[(g+3216|0)+(d<<2)>>2]=n;j[e>>2]=o;d=f;if(d){continue}}break}c=c+1|0;if((C|0)!=(c|0)){continue}break}}c=j[a+1832>>2];j[a+1832>>2]=c+1;n=p(c,28)+a|0;c=n+1848|0;f=n+1836|0;s:{t:{if(!C){d=j[(g+16|0)+(x<<1&-4)>>2];break t}d=j[(g+3216|0)+(C<<1&-4)>>2];if(!x){break t}j[f>>2]=d;e=j[(g+16|0)+(x<<1&-4)>>2];j[c>>2]=e;if((d|0)==(e|0)){o=l[B+4>>1];break s}o=l[B+4>>1];if(o&1^(d|0)>=(e|0)){break s}r=c;c=(d+e|0)/2|0;j[r>>2]=c;j[f>>2]=c;break s}j[c>>2]=d;j[f>>2]=d;o=l[B+4>>1]}c=n+1860|0;d=o<<1&2;j[c>>2]=d;f=l[B+4>>1];if(!(f&6)){break f}e=c;c=f<<1;j[e>>2]=d|c&4|c&8}d=B+8|0;n=j[B+8>>2];if((n|0)!=759){continue}break}}d=48;e=0;while(1){u:{if(a){c=0;f=j[j[a+36>>2]>>2];v:{if(!f){break v}f=j[f+92>>2];if(!f){break v}c=qe[j[j[f+12>>2]+12>>2]](f,d)|0}n=c}w:{if(!n){break w}if(el(b,n,g+3216|0)){break w}f=e&255;e=1;c=j[g+3216>>2];if(!f){Q=c;break w}if((c|0)==(Q|0)){break w}r=0;break u}r=1;d=d+1|0;if((d|0)!=58){continue}}break}h[a+32|0]=r}Ph(b,O);oe=g+10096|0;return 0}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,l=0,m=0,n=0,o=0;e=oe-288|0;oe=e;g=j[a+436>>2];f=$g();c=j[g>>2];a:{if((f|0)!=(c|0)){j[g+424>>2]=0;if((zg(j[a+188>>2],c)|0)<0){break a}}c=j[a+436>>2];if(!j[c+4>>2]){break a}while(1){if(qe[j[c+104>>2]]()|0){continue}break}}j[g+360>>2]=0;m=5121;b:{c:{d:{e:{f:{c=j[b+4>>2];if((c|0)<=825382477){l=6408;if((c|0)<=374740995){if((c|0)==370546692){break e}if((c|0)!=372645892){break c}break e}if((c|0)==374740996|(c|0)==376840196){break e}if((c|0)==542328143){break f}break c}g:{h:{switch(c-842094158|0){case 0:case 11:break g;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break h}}if((c|0)==1448433993){break g}if((c|0)!=825382478){break c}}l=6409;break e}if(j[b+8>>2]){break d}m=0;l=0}f=Xe(1,44);if(!f){d=Be(0);break b}j[f>>2]=0;d=j[b+4>>2];j[f+12>>2]=m;j[f+8>>2]=l;j[f+32>>2]=0;j[f+36>>2]=0;j[f+28>>2]=(d|0)==842094158|(d|0)==825382478;j[f+24>>2]=(d|0)==1448433993|(d|0)==842094169;j[f+4>>2]=(d|0)==542328143?36197:3553;o=j[b+28>>2];i:{if(j[b+8>>2]!=1){break i}i=j[b+12>>2];c=f;j:{if(!(!d|(d&-268435456)==268435456)){h=2;if((d|0)==844715353|(d|0)==1498831189){break j}h=(d|0)==1431918169?2:1;break j}h=d&255}i=p(h,i);j[c+20>>2]=i;h=j[b+16>>2];c=p(h,i);k:{if(((d|0)==842094169|0)!=((d|0)==1448433993|0)){c=(p((i+1|0)/2|0,(h+1|0)/2|0)<<1)+c|0;break k}if(((d|0)==825382478|0)==((d|0)==842094158|0)){break k}c=(p((i+1|0)/2|0,(h+1|0)/2|0)<<1)+c|0}c=Xe(1,c);j[f+16>>2]=c;if(c){break i}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}d=Be(0);break b}h=j[a+436>>2];l:{if(!j[h+4>>2]){break l}c=qe[j[h+104>>2]]()|0;if(!c){break l}d=126493;while(1){d=k[d|0]?d:128246;i=128351;n=c-1280|0;if(n>>>0<=5){i=j[(n<<2)+128360>>2]}j[e+276>>2]=c;j[e+272>>2]=i;j[e+268>>2]=127678;j[e+264>>2]=1478;j[e+260>>2]=126494;j[e+256>>2]=d;ve(128254,e+256|0);c=qe[j[h+104>>2]]()|0;if(c){continue}break}}i=o?9729:9728;c=f+36|0;m:{if(j[f+24>>2]){qe[j[g+92>>2]](1,f+32|0);n:{h=j[a+436>>2];if(!j[h+4>>2]){break n}d=qe[j[h+104>>2]]()|0;if(!d){break n}while(1){c=128351;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+128360>>2]}j[e+244>>2]=d;j[e+240>>2]=c;j[e+236>>2]=127678;j[e+232>>2]=1482;j[e+228>>2]=126494;j[e+224>>2]=127698;ve(128254,e+224|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}qe[j[g+8>>2]](33986);qe[j[g+20>>2]](j[f+4>>2],j[f+32>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);qe[j[g+152>>2]](j[f+4>>2],0,l,(j[b+12>>2]+1|0)/2|0,(j[b+16>>2]+1|0)/2|0,0,l,m,0);qe[j[g+92>>2]](1,c);o:{h=j[a+436>>2];if(!j[h+4>>2]){break o}d=qe[j[h+104>>2]]()|0;if(!d){break o}while(1){c=128351;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+128360>>2]}j[e+212>>2]=d;j[e+208>>2]=c;j[e+204>>2]=127678;j[e+200>>2]=1494;j[e+196>>2]=126494;j[e+192>>2]=127698;ve(128254,e+192|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}qe[j[g+8>>2]](33985);qe[j[g+20>>2]](j[f+4>>2],j[f+36>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);qe[j[g+152>>2]](j[f+4>>2],0,l,(j[b+12>>2]+1|0)/2|0,(j[b+16>>2]+1|0)/2|0,0,l,m,0);h=j[a+436>>2];if(!j[h+4>>2]){break m}d=qe[j[h+104>>2]]()|0;if(!d){break m}while(1){c=128351;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+128360>>2]}j[e+180>>2]=d;j[e+176>>2]=c;j[e+172>>2]=127678;j[e+168>>2]=1504;j[e+164>>2]=126494;j[e+160>>2]=127713;ve(128254,e+160|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}if(!j[f+28>>2]){break m}qe[j[g+92>>2]](1,c);p:{h=j[a+436>>2];if(!j[h+4>>2]){break p}d=qe[j[h+104>>2]]()|0;if(!d){break p}while(1){c=128351;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+128360>>2]}j[e+148>>2]=d;j[e+144>>2]=c;j[e+140>>2]=127678;j[e+136>>2]=1509;j[e+132>>2]=126494;j[e+128>>2]=127698;ve(128254,e+128|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}qe[j[g+8>>2]](33985);qe[j[g+20>>2]](j[f+4>>2],j[f+36>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);qe[j[g+152>>2]](j[f+4>>2],0,6410,(j[b+12>>2]+1|0)/2|0,(j[b+16>>2]+1|0)/2|0,0,6410,5121,0);h=j[a+436>>2];if(!j[h+4>>2]){break m}c=qe[j[h+104>>2]]()|0;if(!c){break m}while(1){d=128351;a=c-1280|0;if(a>>>0<=5){d=j[(a<<2)+128360>>2]}j[e+116>>2]=c;j[e+112>>2]=d;j[e+108>>2]=127678;j[e+104>>2]=1519;j[e+100>>2]=126494;j[e+96>>2]=127713;ve(128254,e+96|0);d=-1;c=qe[j[h+104>>2]]()|0;if(c){continue}break}break b}qe[j[g+92>>2]](1,f);q:{h=j[a+436>>2];if(!j[h+4>>2]){break q}d=qe[j[h+104>>2]]()|0;if(!d){break q}while(1){c=128351;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+128360>>2]}j[e+84>>2]=d;j[e+80>>2]=c;j[e+76>>2]=127678;j[e+72>>2]=1525;j[e+68>>2]=126494;j[e+64>>2]=127698;ve(128254,e- -64|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}j[b+76>>2]=f;qe[j[g+8>>2]](33984);qe[j[g+20>>2]](j[f+4>>2],j[f>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);r:{if(j[b+4>>2]==542328143){break r}qe[j[g+152>>2]](j[f+4>>2],0,l,j[b+12>>2],j[b+16>>2],0,l,m,0);g=j[a+436>>2];if(!j[g+4>>2]){break r}c=qe[j[g+104>>2]]()|0;if(!c){break r}while(1){d=128351;a=c-1280|0;if(a>>>0<=5){d=j[(a<<2)+128360>>2]}j[e+52>>2]=c;j[e+48>>2]=d;j[e+44>>2]=127678;j[e+40>>2]=1537;j[e+36>>2]=126494;j[e+32>>2]=127713;ve(128254,e+32|0);d=-1;c=qe[j[g+104>>2]]()|0;if(c){continue}break}break b}d=0;c=0;s:{if(j[b+8>>2]!=2){break s}g=j[b+16>>2];l=j[b+12>>2];b=j[a+436>>2];c=j[b+232>>2];if(c){while(1){if((g|0)==j[c+4>>2]?(l|0)==j[c>>2]:0){break s}c=j[c+12>>2];if(c){continue}break}}c=qe[j[57972]](16)|0;if(c){j[57976]=j[57976]+1}j[c+4>>2]=g;j[c>>2]=l;qe[j[b+88>>2]](1,c+8|0);j[c+12>>2]=j[b+232>>2];j[b+232>>2]=c}j[f+40>>2]=c;a=j[a+436>>2];if(!j[a+4>>2]){break b}i=qe[j[a+104>>2]]()|0;if(!i){break b}c=126493;while(1){c=k[c|0]?c:128246;d=128351;b=i-1280|0;if(b>>>0<=5){d=j[(b<<2)+128360>>2]}j[e+20>>2]=i;j[e+16>>2]=d;j[e+12>>2]=127678;j[e+8>>2]=1548;j[e+4>>2]=126494;j[e>>2]=c;ve(128254,e);d=-1;i=qe[j[a+104>>2]]()|0;if(i){continue}break}break b}d=ve(127618,0);break b}d=ve(127589,0)}oe=e+288|0;return d|0}function oh(a,b,c,d,e,f){var g=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;g=oe-80|0;oe=g;u=j[a>>2];a:{if(f){break a}l=j[a+4>>2];if(k[l+12|0]){break a}n=j[d>>2];j[g+68>>2]=0;j[g+72>>2]=0;j[g+60>>2]=0;j[g+64>>2]=0;j[g+52>>2]=0;j[g+56>>2]=0;j[g+48>>2]=n;oh(l,b,c,g+48|0,e,1)}b:{c:{if(k[d+4|0]){break c}c=j[c+20>>2]+j[b+20>>2]|0;if(c>>>0>=97){a=j[d>>2];if(!a|j[a>>2]){break b}j[a>>2]=18;break b}j[d+8>>2]=c;i[d+4>>1]=257;l=c+7>>>3|0;j[d+12>>2]=l;if(!c){break c}n=-1<<(0-c&7);if(l){c=0;while(1){h[(c+d|0)+16|0]=255;c=c+1|0;l=j[d+12>>2];if(c>>>0>>0){continue}break}c=l-1|0}else{c=-1}c=c+d|0;h[c+16|0]=n&k[c+16|0];if(!k[d+4|0]){break b}}j[a+20>>2]=0;j[a+24>>2]=0;j[g+72>>2]=j[d+24>>2];l=j[d+20>>2];x=g- -64|0;c=x;j[c>>2]=j[d+16>>2];j[c+4>>2]=l;c=j[d+12>>2];j[g+56>>2]=j[d+8>>2];j[g+60>>2]=c;c=j[d+4>>2];j[g+48>>2]=j[d>>2];j[g+52>>2]=c;y=j[b+20>>2];if(y>>>0>m[d+8>>2]){break b}if(k[u+205|0]){j[g+40>>2]=0;j[g+32>>2]=0;j[g+36>>2]=0;j[g+24>>2]=0;j[g+28>>2]=0;Si(a,u+244|0,g+24|0);Si(a,g+24|0,u+224|0)}d:{e:{if(y){l=x;A=128;while(1){f:{if(!(k[l|0]&A)){break f}t=j[a+16>>2];c=q;r=j[b+20>>2];g:{if(c>>>0>>0){break g}c=0;n=j[b+4>>2];if(!n|j[n>>2]){break g}j[n>>2]=130}c=j[b+28>>2]+p(j[b+8>>2],c)|0;n=j[c+8>>2];v=j[c+4>>2];s=n-v|0;h:{i:{if((s|0)!=-1310720){j:{if((s|0)==-1376256){j[g+24>>2]=1;s=17;o=1;break j}j[g+24>>2]=4;n=(s|0)<0?n:v;s=20;o=4}j[g+40>>2]=t;j[g+28>>2]=q;n=e+n|0;j[g+32>>2]=n;if(!k[c|0]){break i}v=j[c+12>>2];j[g+24>>2]=s;j[g+36>>2]=v;break h}j[g+40>>2]=t;j[g+32>>2]=e;j[g+24>>2]=0;j[g+28>>2]=q;n=e;o=0}s=o;v=ye(n,t);j[g+36>>2]=v;r=j[b+20>>2]}w=j[a+16>>2];c=q;k:{if(r>>>0>c>>>0){break k}c=0;o=j[b+4>>2];if(!o|j[o>>2]){break k}j[o>>2]=130}l:{m:{n:{o:{c=j[b+28>>2]+p(j[b+8>>2],c)|0;t=j[c+8>>2];r=j[c+4>>2];o=t-r|0;if((o|0)!=-1310720){if((o|0)!=-1376256){break o}j[g+16>>2]=w;j[g+8>>2]=e;t=0;j[g>>2]=0;j[g+4>>2]=q;o=e;break m}j[g>>2]=2;t=2;break n}j[g>>2]=8;r=(o|0)<0?r:t;t=8}o=j[u+188>>2];j[g+16>>2]=w;j[g+4>>2]=q;o=((o<<1)+r|0)+e|0;j[g+8>>2]=o;if(!k[c|0]){break m}w=j[c+16>>2];t=t|16;j[g>>2]=t;break l}w=ye(o,w)}j[g+12>>2]=w;p:{if((s|t)&16){break p}C=j[u+200>>2];if(!C){break f}B=j[u+216>>2];D=t&10;E=s&5;c=0;while(1){r=u+p(c,20)|0;z=r;q:{r:{if(k[r+280|0]){if(!E|(j[z+264>>2]-B|0)>(n|0)){break q}z=j[r+268>>2];if((z+B|0)<(n|0)){break q}c=j[r+276>>2]-v|0;if(k[u+204|0]){break r}c=v+32768&-65536;if(j[u+212>>2]<=(z-n|0)){n=j[r+276>>2]-65536|0;c=(c|0)<(n|0)?c:n}c=c-v|0;break r}if(!D){break q}z=j[z+264>>2];if((B+j[r+268>>2]|0)<(o|0)|(z-B|0)>(o|0)){break q}c=j[r+276>>2];s:{if(k[u+204|0]){break s}n=w+32768&-65536;c=n;if(j[u+212>>2]>(o-z|0)){break s}c=j[r+276>>2]+65536|0;c=(c|0)<(n|0)?n:c}c=c-w|0}if(s){j[g+24>>2]=s|16;j[g+36>>2]=c+v}if(!t){break p}j[g>>2]=t|16;j[g+12>>2]=c+w;break p}c=c+1|0;if((C|0)!=(c|0)){continue}break}break f}Si(a,g+24|0,g);h[l|0]=k[l|0]&(A^-1)}c=(q&7)==7;l=c?l+1|0:l;A=c?128:A>>>1&127;q=q+1|0;if((y|0)!=(q|0)){continue}break}if(f){break e}if(!y){break d}r=128;c=0;while(1){if(k[x|0]&r){q=j[a+16>>2];l=c;n=j[b+20>>2];t:{if(n>>>0>c>>>0){break t}l=0;o=j[b+4>>2];if(!o|j[o>>2]){break t}j[o>>2]=130}o=j[b+28>>2]+p(j[b+8>>2],l)|0;l=j[o+8>>2];t=j[o+4>>2];s=l-t|0;u:{v:{if((s|0)!=-1310720){w:{if((s|0)==-1376256){j[g+24>>2]=1;s=17;break w}j[g+24>>2]=4;l=(s|0)<0?l:t;s=20}j[g+40>>2]=q;j[g+28>>2]=c;l=e+l|0;j[g+32>>2]=l;if(!k[o|0]){break v}l=j[o+12>>2];j[g+24>>2]=s;j[g+36>>2]=l;break u}j[g+40>>2]=q;j[g+32>>2]=e;j[g+24>>2]=0;j[g+28>>2]=c;l=e}F=g,G=ye(l,q),j[F+36>>2]=G;n=j[b+20>>2]}q=j[a+16>>2];l=c;x:{if(c>>>0>>0){break x}l=0;n=j[b+4>>2];if(!n|j[n>>2]){break x}j[n>>2]=130}y:{z:{A:{B:{l=j[b+28>>2]+p(j[b+8>>2],l)|0;s=j[l+8>>2];n=j[l+4>>2];o=s-n|0;if((o|0)!=-1310720){if((o|0)!=-1376256){break B}j[g+16>>2]=q;j[g+8>>2]=e;j[g>>2]=0;j[g+4>>2]=c;n=e;break z}j[g>>2]=2;o=18;break A}j[g>>2]=8;n=(o|0)<0?n:s;o=24}s=j[u+188>>2];j[g+16>>2]=q;j[g+4>>2]=c;n=((s<<1)+n|0)+e|0;j[g+8>>2]=n;if(!k[l|0]){break z}l=j[l+16>>2];j[g>>2]=o;j[g+12>>2]=l;break y}F=g,G=ye(n,q),j[F+12>>2]=G}Si(a,g+24|0,g)}l=(c&7)==7;x=l?x+1|0:x;r=l?128:r>>>1&127;c=c+1|0;if((y|0)!=(c|0)){continue}break}break d}if(!f){break d}}c=j[a+20>>2];if(j[(p(c,20)+a|0)+16>>2]>-1?!(!c|j[a+36>>2]>0):0){break d}j[g+36>>2]=0;j[g+28>>2]=0;j[g+32>>2]=0;j[g+24>>2]=49;c=j[a+16>>2];j[g+8>>2]=0;j[g+12>>2]=0;j[g+16>>2]=0;j[g>>2]=0;j[g+4>>2]=0;j[g+40>>2]=c;Si(a,g+24|0,g)}j[j[a+8>>2]+20>>2]=0;n=j[a+20>>2];C:{if(!n){break C}c=0;while(1){s=c+1|0;u=p(c,20);x=u+a|0;e=j[x+28>>2];v=e&12;t=v?s:c;D:{if(e&16){break D}l=a+28|0;w=l+u|0;o=j[w+12>>2];e=o&65535;r=e?65536-e|0:0;y=l+p(t,20)|0;A=j[y+12>>2];q=A&65535;l=q?65536-q|0:0;l=l>>>0>r>>>0?r:l;r=e>>>0>>0?e:q;q=0-r|0;E:{F:{if(t>>>0>>0){n=p(t+1|0,20)+a|0;if(j[n+40>>2]<((l+A|0)+32768|0)){break F}}if(!(!c|j[x+20>>2]<=((o-r|0)-32768|0))){e=l;break E}e=(l|0)>(r|0)?q:l;break E}G:{if(c){e=0;if(j[x+20>>2]>((o-r|0)-32768|0)){break G}}e=q;if((l|0)<(r|0)){break G}break E}if(k[n+28|0]&16){break E}j[g+24>>2]=t;j[g+28>>2]=l-e;cp(j[a+8>>2],g+24|0);o=j[w+12>>2]}j[w+12>>2]=e+o;if(!v){break D}j[y+12>>2]=j[y+12>>2]+e}H:{if(!c){break H}e=j[x+36>>2];l=j[x+16>>2];if((e|0)==(l|0)){break H}n=a+28|0;q=n+p(c-1|0,20)|0;F=q,G=De(j[(n+u|0)+12>>2]-j[q+12>>2]|0,e-l|0),j[F+16>>2]=G}if(v){c=p(t,20);e=c+a|0;l=j[e+36>>2];e=j[e+16>>2];if((l|0)!=(e|0)){n=a+28|0;q=n+p(t-1|0,20)|0;F=q,G=De(j[(c+n|0)+12>>2]-j[q+12>>2]|0,l-e|0),j[F+16>>2]=G}c=s}c=c+1|0;n=j[a+20>>2];if(c>>>0>>0){continue}break}n=j[a+8>>2];e=j[n+20>>2];if(!e){break C}q=j[n+8>>2];o=j[n+28>>2];c=e;while(1){c=c-1|0;r=c;I:{if(c>>>0>>0){break I}r=0;l=j[n+4>>2];if(!l|j[l>>2]){break I}j[l>>2]=130}s=o+p(q,r)|0;l=p(j[s>>2],20)+a|0;s=j[s+4>>2];t=s+j[l+40>>2]|0;J:{if(j[l+60>>2]<(t+32768|0)){break J}j[l+40>>2]=t;if(!(k[l+28|0]&12)){break J}j[l+20>>2]=s+j[l+20>>2]}if(c){continue}break}}K:{if(f){break K}q=j[a+20>>2];if(!q){break K}c=0;while(1){e=p(c,20)+a|0;n=e;l=j[n+28>>2];if(!(l&32)){q=j[e+32>>2];L:{if(q>>>0>2]){break L}q=0;f=j[b+4>>2];if(!f|j[f>>2]){break L}j[f>>2]=130;l=j[n+28>>2]}f=j[b+28>>2]+p(j[b+8>>2],q)|0;j[f+(l&10?16:12)>>2]=j[e+40>>2];h[f|0]=1;q=j[a+20>>2]}c=c+1|0;if(q>>>0>c>>>0){continue}break}}h[a+12|0]=1;h[d+5|0]=0}oe=g+80|0}function ip(a,b,c){var d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;g=oe+ -64|0;oe=g;j[g+48>>2]=0;e=j[a+76>>2];d=j[e+2972>>2];a:{if(!d){f=j[a>>2];j[e+2976>>2]=69;d=He(f,504,g+48|0);j[j[a+76>>2]+2972>>2]=d;e=64;if(j[g+48>>2]){break a}j[d+108>>2]=0;j[d+112>>2]=0;j[d+116>>2]=0;j[d+120>>2]=0;e=d+124|0;j[e>>2]=0;j[e+4>>2]=0;j[d>>2]=f;j[d+104>>2]=70;j[d+100>>2]=71;j[d+112>>2]=72;j[d+120>>2]=f;j[d+124>>2]=d+4}j[d+128>>2]=a;j[d+132>>2]=a;e=j[j[a+4>>2]+96>>2];j[g+20>>2]=0;j[g+24>>2]=0;j[g+28>>2]=0;j[g+44>>2]=b;j[g+32>>2]=0;j[g+40>>2]=b+c;j[g+36>>2]=b;j[g+12>>2]=0;j[g+16>>2]=0;b=j[a+8>>2];f=k[b+161|0];c=g;o=k[b+160|0];b:{if(o){n=(j[b+164>>2]+32|0)/64|0;j[g+8>>2]=n;b=(j[b+168>>2]+32|0)/64|0;break b}n=1024;j[g+8>>2]=1024;b=1024}j[c+20>>2]=b;c=(o|0)!=0;j[d+8>>2]=c;if(!(k[e+32|0]|!f)){j[d+8>>2]=c|2}j[d+144>>2]=j[e+36>>2];j[d+148>>2]=j[e+40>>2];j[d+152>>2]=j[e+44>>2];j[d+156>>2]=j[e+48>>2];j[d+160>>2]=j[e+52>>2];j[d+164>>2]=j[e+56>>2];j[d+168>>2]=j[e+60>>2];j[d+172>>2]=j[e- -64>>2];c=l[j[a+4>>2]+68>>1];j[d+88>>2]=c;if(f){e=36;if((b|0)<1|(n|0)<1){break a}e=164;if(c<<16>>16<0){break a}a=De(131072e3,c<<16);if((a|0)<(n|0)|(a|0)<(b|0)){break a}a=j[d+132>>2]}j[g+56>>2]=0;j[g+60>>2]=0;e=0;j[g+52>>2]=0;j[d+4>>2]=0;b=j[a+736>>2];if((b|0)!=j[d+136>>2]){j[d+136>>2]=b;e=1}f=l[j[j[a+4>>2]+88>>2]+14>>1]<<16;if((f|0)!=j[d+84>>2]){j[d+84>>2]=f;e=1}o=j[d+96>>2];b=j[d+92>>2];c=j[d+8>>2];h[d+140|0]=c&1;c:{d:{e:{if(!wg(g+8|0,d+12|0,16)){x=d+142|0;c=c&2;if((c|0)!=k[d+142|0]){break e}if(e){break d}break c}e=j[g+12>>2];j[d+12>>2]=j[g+8>>2];j[d+16>>2]=e;e=j[g+20>>2];j[d+20>>2]=j[g+16>>2];j[d+24>>2]=e;j[d+28>>2]=0;j[d+32>>2]=0;e=j[g+12>>2];j[d+36>>2]=j[g+8>>2];j[d+40>>2]=e;e=j[g+20>>2];j[d+44>>2]=j[g+16>>2];j[d+48>>2]=e;e=j[g+28>>2];j[d+52>>2]=j[g+24>>2];j[d+56>>2]=e;j[d+68>>2]=0;j[d+72>>2]=65536;j[d+60>>2]=65536;j[d+64>>2]=0;x=d+142|0;c=c&2;if((c|0)==k[d+142|0]){break d}}h[x|0]=c}c=j[j[a+736>>2]+388>>2]<<16;j[d+176>>2]=c;e=j[d+88>>2];u=e?e:1e3;e=65536e3/(u|0)|0;if((c|0)<=0){c=De(4915200,e);j[d+176>>2]=c}n=d+144|0;f=(f|0)>262144?f:262144;f:{if((b|0)>=1){c=u<<16;if((De(c,f)|0)>=(b|0)){b=De(c,f)}j[d+184>>2]=0;if(!b|(e|0)<655){break f}j[d+184>>2]=(b|0)/2;break f}ep(e,f,c,d+184|0,0,k[d+142|0],n)}b=d;c=j[j[a+736>>2]+384>>2];g:{if(c<<16>=1){a=4915200;if(j[d+176>>2]>c<<17){break g}}a=7208960}a=De(a,e);j[b+180>>2]=a;ep(e,f,a,d+188|0,o,k[d+142|0],n);a=1;a=j[d+184>>2]?a:j[d+188>>2]!=0;o=0;h[d+192|0]=0;h[d+141|0]=a;a=j[d+132>>2];y=Ee(d+200|0,0,304);j[d+196>>2]=j[d+48>>2];B=d,C=De(j[j[a+736>>2]+372>>2],65536e3),j[B+208>>2]=C;f=j[a+736>>2];j[d+212>>2]=j[f+376>>2]<<16;j[d+216>>2]=j[f+380>>2]<<16;z=k[f+179|0];u=k[f+178|0];s=k[f+177|0];b=k[f+176|0];h:{i:{if(j[f+512>>2]==1){j:{switch(b|0){case 4:if(j[f+180>>2]<<16>-7864321|j[f+184>>2]<<16>-7864321|(j[f+188>>2]<<16<57671681|j[f+192>>2]<<16<57671681)){break i}break;case 0:break j;default:break i}}j[d+252>>2]=-7864321;a=ye(-7864321,j[d+196>>2]);j[d+244>>2]=49;b=j[d+196>>2];j[d+260>>2]=b;j[d+256>>2]=(a+32768&-65536)-32768;a=(j[d+188>>2]<<1)+57671681|0;j[d+232>>2]=a;a=ye(a,b);j[d+224>>2]=50;h[d+205|0]=1;j[d+240>>2]=j[d+196>>2];j[d+236>>2]=a+32768&-65536|32768;break c}if(!b){break h}}n=j[d+200>>2];a=p(n,20)+d|0;e=j[f+180>>2]<<16;j[a+264>>2]=e;c=j[f+184>>2]<<16;j[a+268>>2]=c;o=c-e|0;k:{if((o|0)<0){o=0;break k}j[a+272>>2]=c;h[a+280|0]=1;n=n+1|0;j[d+200>>2]=n}e=2;if(b>>>0<=2){break h}c=f+180|0;while(1){a=p(n,20)+d|0;v=a;r=e<<2;q=j[r+c>>2]<<16;j[a+264>>2]=q;r=j[c+(r|4)>>2]<<16;j[a+268>>2]=r;w=r-q|0;if((w|0)>=0){t=r;r=j[d+188>>2]<<1;j[a+268>>2]=t+r;q=q+r|0;j[v+264>>2]=q;j[a+272>>2]=q;h[a+280|0]=0;n=n+1|0;j[d+200>>2]=n;o=(o|0)<(w|0)?w:o}e=e+2|0;if(b>>>0>e>>>0){continue}break}}if(s){c=j[y>>2];b=f+236|0;e=0;while(1){a=p(c,20)+d|0;n=e<<2;q=j[n+b>>2]<<16;j[a+264>>2]=q;n=j[b+(n|4)>>2]<<16;j[a+268>>2]=n;q=n-q|0;if((q|0)>=0){j[a+272>>2]=n;h[a+280|0]=1;c=c+1|0;j[d+200>>2]=c;o=(o|0)<(q|0)?q:o}e=e+2|0;if(s>>>0>e>>>0){continue}break}}e=De(65536,j[d+196>>2]);r=j[d+200>>2];if(r){n=0;w=u>>>0<3;while(1){a=p(n,20)+d|0;s=a;q=j[a+272>>2];l:{if(k[a+280|0]){a=0;c=2147483647;m:{if(!z){break m}while(1){v=j[(f+(a<<2|4)|0)+332>>2]<<16;t=q-v|0;b=t>>31;n:{b=b^b+t;if((b|0)>=(c|0)|(b|0)>=(e|0)){break n}j[s+272>>2]=v;c=b;if(b){break n}c=0;break m}a=a+2|0;if(z>>>0>a>>>0){continue}break}}if(u>>>0<2){break l}b=j[f+280>>2]<<16;q=q-b|0;a=q>>31;a=a^a+q;if((a|0)>=(c|0)|(a|0)>=(e|0)){break l}j[s+272>>2]=b;break l}if(w){break l}v=j[d+188>>2]<<1;a=2;c=2147483647;while(1){t=v+(j[(f+(a<<2)|0)+276>>2]<<16)|0;A=q-t|0;b=A>>31;b=b^b+A;if(!((b|0)>=(c|0)|(b|0)>=(e|0))){j[s+272>>2]=t;c=b;if(!b){break l}}a=a+2|0;if(u>>>0>a>>>0){continue}break}}n=n+1|0;if((r|0)!=(n|0)){continue}break}}o:{if((o|0)<1){break o}if(j[d+208>>2]<=(De(65536,o)|0)){break o}B=d,C=De(65536,o),j[B+208>>2]=C}a=j[d+196>>2];b=j[d+208>>2];if((a|0)<(b|0)){h[d+204|0]=1;a=Ne(39322,a,b);j[d+220>>2]=(a|0)<6555?32767:39322-a|0}if(k[x|0]){j[d+220>>2]=0}if(!j[y>>2]){break c}c=d+196|0;a=0;while(1){b=c+p(a,20)|0;e=k[b+84|0];r=b;s=ye(j[b+76>>2],j[d+196>>2]);b=j[d+220>>2];j[r+80>>2]=(s+(e?0-b|0:b)|0)+32768&-65536;a=a+1|0;if(a>>>0>2]){continue}break}}p:{q:{if(j[d+4>>2]){break q}h[d+192|0]=0;b=d+100|0;a=k[d+141|0];while(1){j[d+116>>2]=0;Ch(j[j[d+128>>2]+12>>2]);rl(d,g+32|0,b,g+56|0,0,0,0,g+52|0);if(j[d+4>>2]){break q}if(!(!(a&255)|j[d+116>>2]>-1)){h[d+192|0]=1;a=0;continue}break}f=j[d+128>>2];a=j[f+20>>2];r:{if(!a){break r}c=0;b=l[a>>1];e=b<<16>>16;if((e|0)>=2){c=i[(j[a+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[a+2>>1];s:{if((b|0)<2){break s}n=j[a+4>>2];o=n+(c<<3)|0;n=(n+(b<<3)|0)-8|0;if(j[o>>2]!=j[n>>2]|j[o+4>>2]!=j[n+4>>2]|k[(j[a+8>>2]+b|0)-1|0]!=1){break s}b=b-1|0;i[a+2>>1]=b}if((e|0)<1){break r}r=c;c=(b<<16>>16)-1|0;if((r|0)==(c|0)){i[a+2>>1]=b-1;i[a>>1]=e-1;break r}i[(j[a+12>>2]+(e<<1)|0)-2>>1]=c}Yh(j[f+12>>2]);if(!j[d+4>>2]){break p}}e=3;break a}a=j[g+52>>2];e=0;j[d+4>>2]=0;j[j[d+128>>2]+552>>2]=a+32768>>16}oe=g- -64|0;return e}function wq(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=q(0),H=q(0),I=q(0),J=0,K=0,L=q(0),M=q(0),N=q(0),O=q(0),P=0;C=p(a,c);K=a-1>>1;B=b+1>>1;J=+q(q(6.2831854820251465)/q(b|0));P=Og(J);J=mg(J);a:{if((a|0)==1){break a}if((d|0)>0){while(1){m=k<<2;n[m+i>>2]=n[g+m>>2];k=k+1|0;if((k|0)!=(d|0)){continue}break}}b:{if((b|0)<2){break b}r=1;while(1){l=0;o=o+C|0;k=o;if((c|0)>=1){while(1){m=k<<2;n[m+h>>2]=n[f+m>>2];k=a+k|0;l=l+1|0;if((l|0)!=(c|0)){continue}break}}r=r+1|0;if((r|0)!=(b|0)){continue}break}v=0-a|0;if((c|0)>=(K|0)){if((b|0)<2){break b}o=(a|0)<3;A=1;while(1){s=s+C|0;v=a+v|0;if(!o){k=v-1|0;t=2;m=s;while(1){m=m+2|0;l=k+2|0;if((c|0)>=1){E=(l<<2)+j|0;D=(k<<2)+j|0;r=0;k=m;while(1){y=k<<2;u=y-4|0;z=u+f|0;x=h+u|0;u=f+y|0;n[x>>2]=q(n[D+4>>2]*n[z>>2])+q(n[E>>2]*n[u>>2]);n[h+y>>2]=q(n[D+4>>2]*n[u>>2])-q(n[E>>2]*n[z>>2]);k=a+k|0;r=r+1|0;if((r|0)!=(c|0)){continue}break}}k=l;t=t+2|0;if((t|0)<(a|0)){continue}break}}A=A+1|0;if((A|0)!=(b|0)){continue}break}break b}if((b|0)<2){break b}D=(a|0)<3;r=1;while(1){v=a+v|0;x=C+x|0;if((c|0)>=1){m=v-1|0;u=x-a|0;t=0;while(1){w=2;k=m;u=a+u|0;l=u;if(!D){while(1){s=(l<<2)+4|0;E=s+f|0;A=h+s|0;y=(k<<2)+j|0;k=k+2|0;z=(k<<2)+j|0;l=l+2|0;o=l<<2;s=o+f|0;n[A>>2]=q(n[y+4>>2]*n[E>>2])+q(n[z>>2]*n[s>>2]);n[h+o>>2]=q(n[y+4>>2]*n[s>>2])-q(n[z>>2]*n[E>>2]);w=w+2|0;if((w|0)<(a|0)){continue}break}}t=t+1|0;if((t|0)!=(c|0)){continue}break}}r=r+1|0;if((r|0)!=(b|0)){continue}break}}v=p(b,C);if((c|0)<=(K|0)){if((b|0)<3){break a}w=(B|0)>2?B:2;x=0;E=(a|0)<3;r=1;while(1){s=0;x=C+x|0;u=x;v=v-C|0;t=v;if((c|0)>=1){while(1){j=2;k=t;l=u;if(!E){while(1){m=(l<<2)+4|0;F=m+h|0;o=f+m|0;m=(k<<2)+4|0;D=m+h|0;n[o>>2]=n[F>>2]+n[D>>2];A=f+m|0;l=l+2|0;y=l<<2;z=y+h|0;k=k+2|0;o=k<<2;m=o+h|0;n[A>>2]=n[z>>2]-n[m>>2];n[f+y>>2]=n[z>>2]+n[m>>2];n[f+o>>2]=n[D>>2]-n[F>>2];j=j+2|0;if((j|0)<(a|0)){continue}break}}t=a+t|0;u=a+u|0;s=s+1|0;if((s|0)!=(c|0)){continue}break}}r=r+1|0;if((w|0)!=(r|0)){continue}break}break a}if((b|0)<3){break a}z=(B|0)>2?B:2;A=0;r=(a|0)<3;x=1;while(1){s=2;A=C+A|0;u=A;v=v-C|0;t=v;if(!r){while(1){t=t+2|0;u=u+2|0;if((c|0)>=1){j=u-a|0;w=t-a|0;o=0;while(1){j=a+j|0;E=j<<2;k=E-4|0;D=k+h|0;m=f+k|0;w=a+w|0;y=w<<2;k=y-4|0;l=k+h|0;n[m>>2]=n[D>>2]+n[l>>2];F=f+k|0;m=h+E|0;k=h+y|0;n[F>>2]=n[m>>2]-n[k>>2];n[f+E>>2]=n[m>>2]+n[k>>2];n[f+y>>2]=n[l>>2]-n[D>>2];o=o+1|0;if((o|0)!=(c|0)){continue}break}}s=s+2|0;if((s|0)<(a|0)){continue}break}}x=x+1|0;if((z|0)!=(x|0)){continue}break}}if((d|0)>=1){k=0;while(1){j=k<<2;n[j+g>>2]=n[i+j>>2];k=k+1|0;if((k|0)!=(d|0)){continue}break}}c:{if((b|0)<3){break c}r=(B|0)>2?B:2;o=0;u=1;m=p(b,d);v=m;while(1){v=v-C|0;o=o+C|0;if((c|0)>=1){k=o-a|0;l=v-a|0;j=0;while(1){k=a+k|0;t=k<<2;z=t+h|0;x=f+t|0;l=a+l|0;s=l<<2;t=s+h|0;n[x>>2]=n[z>>2]+n[t>>2];n[f+s>>2]=n[t>>2]-n[z>>2];j=j+1|0;if((j|0)!=(c|0)){continue}break}}u=u+1|0;if((r|0)!=(u|0)){continue}break}if((b|0)<3){break c}M=q(P);N=q(J);t=p(b-1|0,d);D=(B|0)>2?B:2;y=(B|0)>3?B:3;G=q(1);z=(b|0)>4;A=1;u=0;while(1){I=q(q(H*N)+q(G*M));G=q(q(G*N)-q(H*M));f=0;u=d+u|0;k=u;j=t;l=d;m=m-l|0;w=m;if((l|0)>0){while(1){n[(k<<2)+i>>2]=n[(f<<2)+g>>2]+q(G*n[(l<<2)+g>>2]);n[(w<<2)+i>>2]=I*n[(j<<2)+g>>2];w=w+1|0;j=j+1|0;k=k+1|0;l=l+1|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}}r=2;H=G;L=I;o=d;v=t;if(z){while(1){O=q(q(G*L)+q(I*H));H=q(q(G*H)-q(I*L));w=0;v=v-d|0;f=v;o=d+o|0;k=o;l=m;j=u;if((d|0)>=1){while(1){s=(j<<2)+i|0;n[s>>2]=n[s>>2]+q(H*n[(k<<2)+g>>2]);s=(l<<2)+i|0;n[s>>2]=n[s>>2]+q(O*n[(f<<2)+g>>2]);l=l+1|0;f=f+1|0;j=j+1|0;k=k+1|0;w=w+1|0;if((w|0)!=(d|0)){continue}break}}L=O;r=r+1|0;if((y|0)!=(r|0)){continue}break}}H=I;A=A+1|0;if((D|0)!=(A|0)){continue}break}if((b|0)<3){break c}l=(B|0)>2?B:2;j=0;w=1;while(1){f=0;j=d+j|0;k=j;if((d|0)>=1){while(1){m=(f<<2)+i|0;n[m>>2]=n[(k<<2)+g>>2]+n[m>>2];k=k+1|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}}w=w+1|0;if((l|0)!=(w|0)){continue}break}}F=p(a,b);d:{if((a|0)>=(c|0)){if((c|0)<1){break d}i=0;d=(a|0)<1;j=0;g=0;while(1){l=0;f=j;k=g;if(!d){while(1){n[(k<<2)+e>>2]=n[(f<<2)+h>>2];k=k+1|0;f=f+1|0;l=l+1|0;if((l|0)!=(a|0)){continue}break}}g=g+F|0;j=a+j|0;i=i+1|0;if((i|0)!=(c|0)){continue}break}break d}if((a|0)<1){break d}j=0;d=(c|0)<1;while(1){l=0;f=j;k=f;if(!d){while(1){n[(k<<2)+e>>2]=n[(f<<2)+h>>2];k=k+F|0;f=a+f|0;l=l+1|0;if((l|0)!=(c|0)){continue}break}}j=j+1|0;if((j|0)!=(a|0)){continue}break}}t=p(b,C);w=a<<1;if((b|0)>=3){m=(B|0)>2?B:2;i=0;o=1;d=0;r=t;while(1){j=0;r=r-C|0;f=r;d=d+C|0;k=d;i=i+w|0;l=i;if((c|0)>=1){while(1){g=(l<<2)+e|0;n[g-4>>2]=n[(k<<2)+h>>2];n[g>>2]=n[(f<<2)+h>>2];f=a+f|0;k=a+k|0;l=l+F|0;j=j+1|0;if((j|0)!=(c|0)){continue}break}}o=o+1|0;if((m|0)!=(o|0)){continue}break}}e:{if((a|0)==1){break e}if((c|0)<=(K|0)){if((b|0)<3){break e}u=(B|0)>2?B:2;s=0;A=0-a|0;l=(a|0)<3;b=1;x=0;while(1){m=0;t=t-C|0;d=t;x=C+x|0;r=x;s=s+w|0;o=s;A=w+A|0;v=A;if((c|0)>=1){while(1){f=2;if(!l){while(1){k=(f+o<<2)+e|0;y=(f+r<<2)+h|0;j=y-4|0;z=(d+f<<2)+h|0;i=z-4|0;n[k-4>>2]=n[j>>2]+n[i>>2];g=((a-f|0)+v<<2)+e|0;n[g-4>>2]=n[j>>2]-n[i>>2];n[k>>2]=n[y>>2]+n[z>>2];n[g>>2]=n[z>>2]-n[y>>2];f=f+2|0;if((f|0)<(a|0)){continue}break}}d=a+d|0;r=a+r|0;o=o+F|0;v=v+F|0;m=m+1|0;if((m|0)!=(c|0)){continue}break}}b=b+1|0;if((u|0)!=(b|0)){continue}break}break e}if((b|0)<3){break e}y=(B|0)>2?B:2;u=0;b=0-a|0;z=(a|0)<3;x=1;s=0;while(1){t=t-C|0;s=s+C|0;u=u+w|0;b=b+w|0;if(!z){v=a+b|0;m=2;while(1){if((c|0)>=1){f=v-m|0;k=m+u|0;l=m+s|0;j=m+t|0;o=0;while(1){r=(k<<2)+e|0;E=(l<<2)+h|0;i=E-4|0;D=(j<<2)+h|0;g=D-4|0;n[r-4>>2]=n[i>>2]+n[g>>2];d=(f<<2)+e|0;n[d-4>>2]=n[i>>2]-n[g>>2];n[r>>2]=n[E>>2]+n[D>>2];n[d>>2]=n[D>>2]-n[E>>2];j=a+j|0;l=a+l|0;k=k+F|0;f=f+F|0;o=o+1|0;if((o|0)!=(c|0)){continue}break}}m=m+2|0;if((m|0)<(a|0)){continue}break}}x=x+1|0;if((y|0)!=(x|0)){continue}break}}}function ji(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;e=oe-32|0;oe=e;a:{d=j[a+48>>2];b:{if(!d){g=sp(a,b);break b}m=((b<<5)+a|0)- -64|0;l=p(b,-11796480)+5898240|0;o=j[a+60>>2];c:{d:{e:{f:{g:{h:{i:{j:{if((d|0)==1){break j}f=Bf(j[a>>2],j[a+4>>2]);k:{if((f|0)==11796480){f=l;g=j[a>>2];break k}f=(f|0)/2|0;g=j[a>>2]+(l+f|0)|0}i=ii(f);n=ye(j[a+56>>2],i);if((n|0)>65535){break f}if((d|0)!=2){break j}d=f>>31;if((d+f^d)<=57){break f}of(e+16|0,ye(o,j[a+56>>2]),g);j[e+16>>2]=j[e+16>>2]+j[a+8>>2];j[e+20>>2]=j[e+20>>2]+j[a+12>>2];f=hi(f);d=f>>31;s=Ne(o,65536-n|0,d^d+f);of(e+8|0,s,g+l|0);f=j[e+8>>2]+j[e+16>>2]|0;j[e+8>>2]=f;i=j[e+12>>2]+j[e+20>>2]|0;j[e+12>>2]=i;d=(b<<5)+a|0;n=d;if(!k[d+80|0]){break i}f=j[e+12>>2];d=(j[d+72>>2]+(j[m>>2]<<3)|0)-8|0;j[d>>2]=j[e+8>>2];j[d+4>>2]=f;break h}of(e+16|0,o,l+j[a+4>>2]|0);c=j[e+16>>2]+j[a+8>>2]|0;j[e+16>>2]=c;l=j[e+20>>2]+j[a+12>>2]|0;j[e+20>>2]=l;f=(b<<5)+a|0;n=f;h[f+80|0]=0;d=j[m>>2];l:{if(!d){break l}i=j[f+72>>2]+(d-1<<3)|0;if((j[i>>2]-c|0)+1>>>0>2){break l}g=0;if((j[i+4>>2]-l|0)+1>>>0<3){break b}}c=j[f+68>>2];j[e+8>>2]=0;g=d+1|0;m:{n:{if(g>>>0<=c>>>0){c=j[((b<<5)+a|0)+76>>2];break n}l=j[((b<<5)+a|0)+88>>2];d=c;while(1){d=((d>>>1|0)+d|0)+16|0;if(g>>>0>d>>>0){continue}break}i=(b<<5)+a|0;g=i;u=g,v=xe(l,8,c,d,j[g+72>>2],e+8|0),j[u+72>>2]=v;g=j[e+8>>2];if(g){break m}c=xe(l,1,c,d,j[i+76>>2],e+8|0);j[i+76>>2]=c;g=j[e+8>>2];if(g){break m}j[f+68>>2]=d;d=j[m>>2]}a=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;b=j[e+20>>2];j[a>>2]=j[e+16>>2];j[a+4>>2]=b;h[c+d|0]=1;j[m>>2]=j[m>>2]+1;g=0}h[n+80|0]=0;break b}d=j[m>>2];o:{if(!d){break o}q=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[q>>2]-f|0)+1>>>0>2){break o}if((j[q+4>>2]-i|0)+1>>>0<3){break g}}i=(b<<5)+a|0;t=i;f=j[i+68>>2];j[e+28>>2]=0;r=d+1|0;p:{if(r>>>0<=f>>>0){f=j[i+76>>2];break p}q=j[i+88>>2];d=f;while(1){d=((d>>>1|0)+d|0)+16|0;if(r>>>0>d>>>0){continue}break}r=(b<<5)+a|0;i=r;u=i,v=xe(q,8,f,d,j[i+72>>2],e+28|0),j[u+72>>2]=v;i=j[e+28>>2];if(i){break e}f=xe(q,1,f,d,j[r+76>>2],e+28|0);j[r+76>>2]=f;i=j[e+28>>2];if(i){break e}j[t+68>>2]=d;d=j[m>>2]}q=j[e+12>>2];i=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;j[i>>2]=j[e+8>>2];j[i+4>>2]=q;h[d+f|0]=1;j[m>>2]=j[m>>2]+1}h[n+80|0]=0}of(e+8|0,s,g-l|0);f=j[e+8>>2]+j[e+16>>2]|0;j[e+8>>2]=f;g=j[e+12>>2]+j[e+20>>2]|0;j[e+12>>2]=g;q:{r:{if(k[n+80|0]){f=j[e+12>>2];d=(j[((b<<5)+a|0)+72>>2]+(j[m>>2]<<3)|0)-8|0;j[d>>2]=j[e+8>>2];j[d+4>>2]=f;break r}d=j[m>>2];s:{if(!d){break s}i=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[i>>2]-f|0)+1>>>0>2){break s}if((j[i+4>>2]-g|0)+1>>>0<3){break q}}g=(b<<5)+a|0;r=g;f=j[g+68>>2];j[e+28>>2]=0;i=d+1|0;t:{if(i>>>0<=f>>>0){f=j[g+76>>2];break t}g=j[g+88>>2];d=f;while(1){d=((d>>>1|0)+d|0)+16|0;if(i>>>0>d>>>0){continue}break}q=(b<<5)+a|0;i=q;u=i,v=xe(g,8,f,d,j[i+72>>2],e+28|0),j[u+72>>2]=v;i=j[e+28>>2];if(i){break d}f=xe(g,1,f,d,j[q+76>>2],e+28|0);j[q+76>>2]=f;i=j[e+28>>2];if(i){break d}j[r+68>>2]=d;d=j[m>>2]}i=j[e+12>>2];g=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;j[g>>2]=j[e+8>>2];j[g+4>>2]=i;h[d+f|0]=1;j[m>>2]=j[m>>2]+1}h[n+80|0]=0}i=0;if(c){break a}of(e+8|0,o,l+j[a+4>>2]|0);c=j[e+8>>2]+j[a+8>>2]|0;j[e+8>>2]=c;f=j[e+12>>2]+j[a+12>>2]|0;j[e+12>>2]=f;u:{v:{if(k[n+80|0]){a=(j[((b<<5)+a|0)+72>>2]+(j[m>>2]<<3)|0)-8|0;b=j[e+12>>2];j[a>>2]=j[e+8>>2];j[a+4>>2]=b;break v}d=j[m>>2];w:{if(!d){break w}l=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[l>>2]-c|0)+1>>>0>2){break w}if((j[l+4>>2]-f|0)+1>>>0<3){break a}}f=(b<<5)+a|0;o=f;c=j[f+68>>2];j[e+28>>2]=0;l=d+1|0;x:{if(l>>>0<=c>>>0){g=j[f+76>>2];break x}f=j[f+88>>2];d=c;while(1){d=((d>>>1|0)+d|0)+16|0;if(l>>>0>d>>>0){continue}break}l=(b<<5)+a|0;g=l;u=g,v=xe(f,8,c,d,j[g+72>>2],e+28|0),j[u+72>>2]=v;i=j[e+28>>2];if(i){break u}g=xe(f,1,c,d,j[l+76>>2],e+28|0);j[l+76>>2]=g;i=j[e+28>>2];if(i){break u}j[o+68>>2]=d;d=j[m>>2]}a=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;b=j[e+12>>2];j[a>>2]=j[e+8>>2];j[a+4>>2]=b;h[d+g|0]=1;j[m>>2]=j[m>>2]+1}i=0}h[n+80|0]=0;break a}of(e+16|0,De(j[a+60>>2],i),g);f=j[e+16>>2]+j[a+8>>2]|0;j[e+16>>2]=f;g=j[e+20>>2]+j[a+12>>2]|0;j[e+20>>2]=g;d=(b<<5)+a|0;i=d;y:{z:{if(k[d+80|0]){f=j[e+20>>2];d=(j[d+72>>2]+(j[m>>2]<<3)|0)-8|0;j[d>>2]=j[e+16>>2];j[d+4>>2]=f;break z}d=j[m>>2];A:{if(!d){break A}n=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[n>>2]-f|0)+1>>>0>2){break A}if((j[n+4>>2]-g|0)+1>>>0<3){break y}}g=(b<<5)+a|0;q=g;f=j[g+68>>2];j[e+8>>2]=0;o=d+1|0;B:{if(o>>>0<=f>>>0){f=j[g+76>>2];break B}n=j[g+88>>2];d=f;while(1){d=((d>>>1|0)+d|0)+16|0;if(o>>>0>d>>>0){continue}break}o=(b<<5)+a|0;g=o;u=g,v=xe(n,8,f,d,j[g+72>>2],e+8|0),j[u+72>>2]=v;g=j[e+8>>2];if(g){break c}f=xe(n,1,f,d,j[o+76>>2],e+8|0);j[o+76>>2]=f;g=j[e+8>>2];if(g){break c}j[q+68>>2]=d;d=j[m>>2]}n=j[e+20>>2];g=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;j[g>>2]=j[e+16>>2];j[g+4>>2]=n;h[d+f|0]=1;j[m>>2]=j[m>>2]+1}h[i+80|0]=0}g=0;if(c){break b}of(e+16|0,j[a+60>>2],l+j[a+4>>2]|0);c=j[e+16>>2]+j[a+8>>2]|0;j[e+16>>2]=c;f=j[e+20>>2]+j[a+12>>2]|0;j[e+20>>2]=f;C:{D:{if(k[i+80|0]){a=(j[((b<<5)+a|0)+72>>2]+(j[m>>2]<<3)|0)-8|0;b=j[e+20>>2];j[a>>2]=j[e+16>>2];j[a+4>>2]=b;break D}d=j[m>>2];E:{if(!d){break E}l=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[l>>2]-c|0)+1>>>0>2){break E}if((j[l+4>>2]-f|0)+1>>>0<3){break b}}f=(b<<5)+a|0;n=f;c=j[f+68>>2];j[e+8>>2]=0;l=d+1|0;F:{if(l>>>0<=c>>>0){c=j[f+76>>2];break F}f=j[f+88>>2];d=c;while(1){d=((d>>>1|0)+d|0)+16|0;if(l>>>0>d>>>0){continue}break}l=(b<<5)+a|0;g=l;u=g,v=xe(f,8,c,d,j[g+72>>2],e+8|0),j[u+72>>2]=v;g=j[e+8>>2];if(g){break C}c=xe(f,1,c,d,j[l+76>>2],e+8|0);j[l+76>>2]=c;g=j[e+8>>2];if(g){break C}j[n+68>>2]=d;d=j[m>>2]}a=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;b=j[e+20>>2];j[a>>2]=j[e+16>>2];j[a+4>>2]=b;h[c+d|0]=1;j[m>>2]=j[m>>2]+1}g=0}h[i+80|0]=0;break b}h[n+80|0]=0;break a}h[n+80|0]=0;break a}h[i+80|0]=0}oe=e+32|0;return g}oe=e+32|0;return i}function zr(a,b,c,d,e,f,g,i,l,n,o){var q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;z=oe-16|0;oe=z;j[z+4>>2]=0;a:{if(!a){break a}b:{c:{d:{e:{f:{if(a){x=j[j[a+52>>2]+68>>2]>>>8&1}else{x=0}g:{if(!x){v=j[a+4>>2];q=k[v+8|0];break g}w=Zq(a,z+4|0);y=!w;v=j[a+4>>2];q=k[v+8|0];if(w){break g}if((q&255)==8){break f}}if((q&255)!=32){break a}q=j[v+24>>2];if(!q){break a}u=Ag(0,i,l+2|0,32,j[v+12>>2],j[v+16>>2],j[v+20>>2],q);if(!u){break a}j[u+12>>2]=l;_j(a,z+8|0);w=u+12|0;n=n*65536;V=n;o=o*65536;R=o;if(y){break e}switch(j[z+8>>2]){case 4:break c;case 0:break d;default:break b}}u=Ag(0,i,l+2|0,8,0,0,0,0);if(!u){break a}t=1;q=j[j[a+4>>2]+4>>2];i=j[q>>2];if((i|0)>=1){while(1){w=s<<2;i=w+j[j[j[u+4>>2]+4>>2]+4>>2]|0;q=w+j[q+4>>2]|0;q=k[q|0]|k[q+1|0]<<8|(k[q+2|0]<<16|k[q+3|0]<<24);h[i|0]=q;h[i+1|0]=q>>>8;h[i+2|0]=q>>>16;h[i+3|0]=q>>>24;q=j[j[a+4>>2]+4>>2];i=j[q>>2];s=s+1|0;if((i|0)>(s|0)){continue}break}}j[j[j[u+4>>2]+4>>2]>>2]=i;j[u+12>>2]=l;_j(a,z+8|0);w=u+12|0;V=n*65536;R=o*65536}o=R;n=V;gm(u,1,j[z+4>>2]);Qh(u,0,j[z+4>>2]);break b}j[z+8>>2]=1;break b}i=ej(j[u+4>>2],255,255,255,0);j[z+4>>2]=i;Qh(u,0,i);gm(u,1,j[z+4>>2])}hg(u,j[z+8>>2]);if(k[a|0]&2){Sg(a)}h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{b=b/90;s:{if(r(b)<2147483648){i=~~b;break s}i=-2147483648}if(+(i|0)==b){c=(i|0)%4|0;c=(c|0)<0?c+4|0:c;e=j[u+8>>2];y=j[u+16>>2];if(!t){break l}i=1;v=-1;l=f?-1:1;t=j[a+16>>2];d=g?0-t|0:t;switch(c|0){case 2:break p;case 1:break q;case 0:break r;default:break o}}B=d<<16;if(r(n)<2147483648){i=~~n}else{i=-2147483648}F=i;l=p(65536-F|0,c);i=j[a+12>>2];I=j[w>>2];q=i-I<<15;C=j[a+8>>2];A=j[u+8>>2];y=C-A<<15;if(!(r(o)<2147483648)){break k}v=~~o;if(!t){break j}break i}c=d-p(j[a+8>>2],l)|0;v=1;break m}c=p(d,j[a+12>>2])+l|0;l=0-d|0;break m}c=p(j[a+8>>2],l)-d|0;d=0-l|0;break n}c=0-(p(d,j[a+12>>2])+l|0)|0;v=1}l=d;i=-1}q=j[a+20>>2];q=((f?0-i|0:i)|0)<=-1?(j[a+8>>2]+q|0)-1|0:q;q=((g?0-v|0:v)|0)<=-1?p(t,j[a+12>>2]-1|0)+q|0:q;if(j[w>>2]<1){break h}e=y-e|0;s=j[u+20>>2];v=0;f=(l|0)!=1;while(1){d=j[u+8>>2];t:{if(!f){Ge(s,q,d);d=j[u+8>>2];s=d+s|0;q=d+q|0;break t}if(!d){break t}d=d+s|0;while(1){h[s|0]=k[q|0];q=l+q|0;s=s+1|0;if((d|0)!=(s|0)){continue}break}s=d}s=e+s|0;q=c+q|0;v=v+1|0;if((v|0)>2]){continue}break}break h}l=f?-4:4;i=j[a+16>>2];d=g?0-i|0:i;u:{v:{switch(c|0){case 0:c=d-p(j[a+8>>2],l)|0;s=1;d=1;break u;case 1:c=p(d,j[a+12>>2])+l|0;s=1;l=0-d|0;d=-1;break u;case 2:c=p(j[a+8>>2],l)-d|0;s=-1;l=0-l|0;d=-1;break u;default:break v}}c=0-(p(d,j[a+12>>2])+l|0)|0;s=-1;l=d;d=1}q=j[a+20>>2];q=((f?0-s|0:s)|0)<=-1?((j[a+8>>2]<<2)+q|0)-4|0:q;q=((g?0-d|0:d)|0)<=-1?p(i,j[a+12>>2]-1|0)+q|0:q;if(j[w>>2]<1){break h}f=y-(e<<2)|0;s=j[u+20>>2];v=0;g=(l|0)!=4;while(1){d=j[u+8>>2]<<2;w:{if(!g){Ge(s,q,d);d=j[u+8>>2]<<2;s=d+s|0;q=d+q|0;break w}if(!d){break w}d=d+s|0;while(1){e=k[q|0]|k[q+1|0]<<8|(k[q+2|0]<<16|k[q+3|0]<<24);h[s|0]=e;h[s+1|0]=e>>>8;h[s+2|0]=e>>>16;h[s+3|0]=e>>>24;q=l+q|0;s=s+4|0;if((d|0)!=(s|0)){continue}break}s=d}s=f+s|0;q=c+q|0;v=v+1|0;if((v|0)>2]){continue}break}break h}v=-2147483648;if(t){break i}}S=i-1|0;T=C-1|0;W=j[u+16>>2]-(A<<2)|0;c=B-p(c,v)|0;s=j[u+20>>2];if(e){if((I|0)<1){break h}$=c+q|0;aa=l+y|0;ba=(A|0)<1;while(1){if(!ba){e=d-U|0;c=p(e,v)+aa|0;i=$-p(e,F)|0;e=0;while(1){l=i>>16;l=g?S-l|0:l;x:{if((l|0)>=(S|0)){break x}q=c>>16;q=f?T-q|0:q;if((q|0)>=(T|0)|(l|q)<0){break x}w=j[a+16>>2];q=(j[a+20>>2]+p(w,l)|0)+(q<<2)|0;l=k[q+4|0];B=k[q+3|0];C=k[q+2|0];G=k[q+1|0];D=k[q|0];J=k[q+7|0];K=k[q+6|0];x=k[q+5|0];q=(q+4|0)+((w|0)/4<<2)|0;L=k[q+3|0];M=k[q+2|0];N=k[q+1|0];O=k[q|0];q=q-4|0;H=k[q+3|0];P=k[q+2|0];Q=k[q+1|0];q=k[q|0];y:{if(!f){y=B;t=C;E=G;w=D;B=J;C=K;G=x;D=l;J=H;K=P;x=Q;l=q;H=L;P=M;Q=N;q=O;break y}y=J;t=K;E=x;w=l;J=L;K=M;x=N;l=O}z:{if(!g){L=y;M=t;N=E;O=w;X=B;Y=C;Z=G;_=D;y=J;t=K;E=x;w=l;B=H;C=P;G=Q;D=q;break z}L=J;M=K;N=x;O=l;X=H;Y=P;Z=Q;_=q}l=c&65535;q=L&255;H=(p(l,(X&255)-q|0)>>>16|0)+q|0;q=i&65535;h[s+3|0]=H+(p(q,((p(l,(B&255)-(y&255)|0)>>>16|0)+y&255)-(H&255)|0)>>>16|0);x=(p(l,(C&255)-(t&255)|0)>>>16|0)+t&255;t=M&255;t=(p(l,(Y&255)-t|0)>>>16|0)+t|0;h[s+2|0]=(p(q,x-(t&255)|0)>>>16|0)+t;t=N&255;t=(p(l,(Z&255)-t|0)>>>16|0)+t|0;h[s+1|0]=(p(q,((p(l,(G&255)-(E&255)|0)>>>16|0)+E&255)-(t&255)|0)>>>16|0)+t;x=(p(l,(D&255)-(w&255)|0)>>>16|0)+w&255;w=O&255;l=(p(l,(_&255)-w|0)>>>16|0)+w|0;h[s|0]=(p(q,x-(l&255)|0)>>>16|0)+l}s=s+4|0;i=i+v|0;c=c+F|0;e=e+1|0;if((A|0)!=(e|0)){continue}break}}s=s+W|0;U=U+1|0;if((U|0)!=(I|0)){continue}break}break h}if((I|0)<1){break h}B=c+q|0;y=l+y|0;t=0;while(1){if((A|0)>=1){c=d-t|0;q=y+p(c,v)|0;i=B-p(c,F)|0;c=0;while(1){e=q>>16;A:{if(e>>>0>=m[a+8>>2]){break A}l=i>>16;if(l>>>0>=m[a+12>>2]){break A}e=(j[a+20>>2]+p(j[a+16>>2],g?S-l|0:l)|0)+((f?T-e|0:e)<<2)|0;e=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);h[s|0]=e;h[s+1|0]=e>>>8;h[s+2|0]=e>>>16;h[s+3|0]=e>>>24;A=j[u+8>>2]}s=s+4|0;i=i+v|0;q=q+F|0;c=c+1|0;if((A|0)>(c|0)){continue}break}I=j[w>>2]}s=s+W|0;t=t+1|0;if((I|0)>(t|0)){continue}break}break h}i=j[u+20>>2];C=j[u+16>>2];j[z+12>>2]=0;e=i;if(a){x=j[j[a+52>>2]+68>>2]>>>8&1}else{x=0}if(x){Zq(a,z+12|0);x=k[z+12|0]}else{x=0}Oe(e,x,p(j[w>>2],j[u+16>>2]));s=j[w>>2];if((s|0)<1){break h}C=C-A|0;B=q+B|0;G=p(c,v);y=l+y|0;e=j[u+8>>2];A=0;while(1){if((e|0)>=1){c=d-A|0;s=y+p(c,v)|0;q=B-(G+p(c,F)|0)|0;c=0;while(1){l=s>>16;D=j[a+8>>2];B:{if(l>>>0>=D>>>0){break B}t=q>>16;E=j[a+12>>2];if(t>>>0>=E>>>0){break B}h[i|0]=k[(j[a+20>>2]+p(j[a+16>>2],g?E+(t^-1)|0:t)|0)+(f?D+(l^-1)|0:l)|0];e=j[u+8>>2]}i=i+1|0;q=q+v|0;s=s+F|0;c=c+1|0;if((e|0)>(c|0)){continue}break}s=j[w>>2]}i=i+C|0;A=A+1|0;if((A|0)<(s|0)){continue}break}}if(k[a|0]&2){pg(a)}s=u}oe=z+16|0;return s}function sK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;r=j[a+28>>2];if(r){t=j[a+36>>2];u=j[a+16>>2];b=j[a+44>>2];l=b;c=j[a+24>>2];v=c&7;w=(c+7|0)/8|0;g=j[a>>2];a=j[a+20>>2];p=k[b+9|0];q=p-1|0;while(1){s=w;a:{b:{switch(v-1|0){default:c=7;break a;case 0:c=6;break a;case 1:c=5;break a;case 2:c=4;break a;case 3:c=3;break a;case 4:c=2;break a;case 5:c=1;break a;case 6:break b}}c=0}while(1){c:{d:{switch(c|0){case 0:c=j[g>>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];e:{f:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break e;case 3:break f;default:break e}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];g:{h:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break g;case 3:break h;default:break g}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];i:{j:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break i;case 3:break j;default:break i}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];k:{l:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break k;case 3:break l;default:break k}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];m:{n:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break m;case 3:break n;default:break m}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];o:{p:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break o;case 3:break p;default:break o}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];q:{r:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break q;case 3:break r;default:break q}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];s:{t:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break s;case 3:break t;default:break s}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];if(u){o=j[a+48>>2];v=j[a+36>>2];w=j[a+16>>2];i=j[a+24>>2];x=i&3;y=(i+3|0)/4|0;f=j[a>>2];i=j[a+20>>2];s=j[a+44>>2];b=j[a+40>>2];r=k[b+9|0];t=r-1|0;while(1){a=y;a:{b:{switch(x-1|0){default:d=3;break a;case 0:d=2;break a;case 1:d=1;break a;case 2:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:c=0;d=0;g=0;e=0;e:{f:{switch(t|0){case 0:c=k[f|0];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 1:c=l[f>>1];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 2:g=k[(k[b+34|0]>>>3|0)+f|0];d=k[(k[b+33|0]>>>3|0)+f|0];c=k[(k[b+32|0]>>>3|0)+f|0];e=255;break e;case 3:break f;default:break e}}c=j[f>>2];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=d;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[d+1|0];q=c;c=k[d|0];d=k[d+2|0];d=((p(n-m|0,e)|0)/255|0)+m>>>3&28|((p(q-c|0,e)|0)/255|0)+c&-32|(((p(g-d|0,e)|0)/255|0)+d&192)>>>6;e=i;if(o){d=k[(d&255)+o|0]}h[e|0]=d;f=f+r|0;i=i+1|0;d=1;continue;case 1:c=0;d=0;g=0;e=0;g:{h:{switch(t|0){case 0:c=k[f|0];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 1:c=l[f>>1];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 2:g=k[(k[b+34|0]>>>3|0)+f|0];d=k[(k[b+33|0]>>>3|0)+f|0];c=k[(k[b+32|0]>>>3|0)+f|0];e=255;break g;case 3:break h;default:break g}}c=j[f>>2];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=d;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[d+1|0];q=c;c=k[d|0];d=k[d+2|0];d=((p(n-m|0,e)|0)/255|0)+m>>>3&28|((p(q-c|0,e)|0)/255|0)+c&-32|(((p(g-d|0,e)|0)/255|0)+d&192)>>>6;e=i;if(o){d=k[(d&255)+o|0]}h[e|0]=d;f=f+r|0;i=i+1|0;d=2;continue;case 2:c=0;d=0;g=0;e=0;i:{j:{switch(t|0){case 0:c=k[f|0];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[f>>1];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:g=k[(k[b+34|0]>>>3|0)+f|0];d=k[(k[b+33|0]>>>3|0)+f|0];c=k[(k[b+32|0]>>>3|0)+f|0];e=255;break i;case 3:break j;default:break i}}c=j[f>>2];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=d;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[d+1|0];q=c;c=k[d|0];d=k[d+2|0];d=((p(n-m|0,e)|0)/255|0)+m>>>3&28|((p(q-c|0,e)|0)/255|0)+c&-32|(((p(g-d|0,e)|0)/255|0)+d&192)>>>6;e=u-1|0;c=i;if(o){d=k[(d&255)+o|0]}h[c|0]=d;f=f+r|0;i=i+1|0;if((a|0)<=1){break c}a=a-1|0;d=3;continue;default:break d}}e=0;g=0;c=0;d=0;k:{l:{switch(t|0){case 0:e=k[f|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((e&j[b+24>>2])>>>k[b+35|0]|0)|0];c=k[j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0];e=k[j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 1:e=l[f>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((e&j[b+24>>2])>>>k[b+35|0]|0)|0];c=k[j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0];e=k[j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 2:c=k[(k[b+34|0]>>>3|0)+f|0];g=k[(k[b+33|0]>>>3|0)+f|0];e=k[(k[b+32|0]>>>3|0)+f|0];d=255;break k;case 3:break l;default:break k}}e=j[f>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((e&j[b+24>>2])>>>k[b+35|0]|0)|0];c=k[j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0];e=k[j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=g;g=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[g+1|0];q=e;e=k[g|0];n=((p(n-m|0,d)|0)/255|0)+m>>>3&28|((p(q-e|0,d)|0)/255|0)+e&-32;e=d;d=k[g+2|0];d=n|(((p(e,c-d|0)|0)/255|0)+d&192)>>>6;e=i;if(o){d=k[(d&255)+o|0]}h[e|0]=d;f=f+r|0;i=i+1|0;d=0;continue}break}i=i+v|0;f=f+w|0;u=e;if(e){continue}break}}}function BD(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=q(0),F=0;d=148373;g=oe-304|0;oe=g;e=k[148373];a:{if(!e){break a}b:{c:{while(1){d:{e=e&255;e:{if((e|0)==32|e-9>>>0<5){while(1){e=d;d=d+1|0;c=k[e+1|0];if((c|0)==32|c-9>>>0<5){continue}break}kg(a,0,0);while(1){c=j[a+4>>2];f:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break f}c=ff(a)}if((c|0)==32|c-9>>>0<5){continue}break}d=j[a+4>>2];if(j[a+104>>2]){d=d-1|0;j[a+4>>2]=d}l=d-j[a+8>>2]|0;c=l;l=c>>31;d=c;r=r+j[a+124>>2]|0;c=t+j[a+120>>2]|0;r=c>>>0>>0?r+1|0:r;t=d+c|0;r=r+l|0;r=c>>>0>t>>>0?r+1|0:r;break e}g:{h:{i:{e=k[d|0];if((e|0)==37){c=k[d+1|0];if((c|0)==42){break i}if((c|0)!=37){break h}}kg(a,0,0);e=((e|0)==37)+d|0;c=j[a+4>>2];j:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break j}c=ff(a)}if((c|0)!=k[e|0]){if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}A=0;if((c|0)>=0){break a}break b}c=t+1|0;r=c>>>0<1?r+1|0:r;t=c;break e}l=0;e=d+2|0;break g}if(!(k[d+2|0]!=36|c-48>>>0>=10)){l=AD(b,k[d+1|0]-48|0);e=d+3|0;break g}l=j[b>>2];b=b+4|0;e=d+1|0}A=0;d=0;if(k[e|0]-48>>>0<10){while(1){d=(k[e|0]+p(d,10)|0)-48|0;c=k[e+1|0];e=e+1|0;if(c-48>>>0<10){continue}break}}c=e;f=k[c|0];k:{if((f|0)!=109){break k}v=0;A=(l|0)!=0;f=k[e+1|0];w=0;c=e+1|0}e=c+1|0;s=3;l:{m:{switch(f-65|0){case 39:f=c+2|0;c=k[c+1|0]==104;e=c?f:e;s=c?-2:-1;break l;case 43:f=c+2|0;c=k[c+1|0]==108;e=c?f:e;s=c?3:1;break l;case 51:case 57:s=1;break l;case 11:s=2;break l;case 41:break l;case 0:case 2:case 4:case 5:case 6:case 18:case 23:case 26:case 32:case 34:case 35:case 36:case 37:case 38:case 40:case 45:case 46:case 47:case 50:case 52:case 55:break m;default:break b}}s=0;e=c}f=k[e|0];c=(f&47)==3;z=c?1:s;x=c?f|32:f;n:{if((x|0)==91){break n}o:{if((x|0)!=110){if((x|0)!=99){break o}d=(d|0)>1?d:1;break n}Gp(l,z,t,r);break e}kg(a,0,0);while(1){c=j[a+4>>2];p:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break p}c=ff(a)}if((c|0)==32|c-9>>>0<5){continue}break}c=j[a+4>>2];if(j[a+104>>2]){c=c-1|0;j[a+4>>2]=c}c=c-j[a+8>>2]|0;f=c;c=c>>31;u=f;y=r+j[a+124>>2]|0;f=t+j[a+120>>2]|0;y=f>>>0>>0?y+1|0:y;t=u+f|0;c=c+y|0;c=f>>>0>t>>>0?c+1|0:c;r=c}y=d;B=d>>31;kg(a,d,B);c=j[a+104>>2];f=j[a+4>>2];q:{if(c>>>0>f>>>0){j[a+4>>2]=f+1;break q}if((ff(a)|0)<0){break b}c=j[a+104>>2]}if(c){j[a+4>>2]=j[a+4>>2]-1}c=16;r:{s:{t:{u:{v:{w:{x:{switch(x-88|0){default:c=x-65|0;if(c>>>0>6|!(1<>2]-j[a+8>>2]|0;c=d;if(j[a+120>>2]==(0-c|0)&j[a+124>>2]==(0-((c>>31)+((c|0)!=0)|0)|0)){break b}if(!l){break r}y=j[g+8>>2];f=j[g+12>>2];d=j[g>>2];c=j[g+4>>2];switch(z|0){case 2:break t;case 1:break u;case 0:break v;default:break r};case 3:case 11:case 27:if((x&239)==99){Ee(g+32|0,-1,257);h[g+32|0]=0;if((x|0)!=115){break s}h[g+65|0]=0;h[g+46|0]=0;i[g+42>>1]=0;i[g+44>>1]=0;break s}u=k[e+1|0];f=(u|0)==94;Ee(g+32|0,f,257);h[g+32|0]=0;c=f?e+2|0:e+1|0;y:{z:{A:{e=k[(f?2:1)+e|0];if((e|0)!=45){if((e|0)==93){break A}s=(u|0)!=94;break y}s=(u|0)!=94;h[g+78|0]=s;break z}s=(u|0)!=94;h[g+126|0]=s}c=c+1|0}e=c;while(1){c=k[e|0];B:{if((c|0)!=45){if(!c){break b}if((c|0)!=93){break B}break s}c=45;u=k[e+1|0];if(!u|(u|0)==93){break B}f=e+1|0;e=k[e-1|0];C:{if(u>>>0<=e>>>0){c=u;break C}while(1){e=e+1|0;h[e+(g+32|0)|0]=s;c=k[f|0];if(e>>>0>>0){continue}break}}e=f}h[(c+g|0)+33|0]=s;e=e+1|0;continue};case 23:c=8;break w;case 12:case 29:c=10;break w;case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break r;case 0:case 24:case 32:break w;case 17:break x}}c=0}y=Hp(a,c,0,-1,-1);f=pe;d=j[a+4>>2]-j[a+8>>2]|0;c=d;if(j[a+120>>2]==(0-c|0)&j[a+124>>2]==(0-((c>>31)+((c|0)!=0)|0)|0)){break b}if(!(!l|(x|0)!=112)){j[l>>2]=y;break r}Gp(l,z,y,f);break r}D=l,E=pD(d,c,y,f),n[D>>2]=E;break r}D=l,F=El(d,c,y,f),o[D>>3]=F;break r}j[l>>2]=d;j[l+4>>2]=c;j[l+8>>2]=y;j[l+12>>2]=f;break r}x=(x|0)==99;s=x?d+1|0:31;u=(z|0)!=1;D:{if(!u){c=l;if(A){c=Se(s<<2);if(!c){break c}}j[g+296>>2]=0;j[g+300>>2]=0;d=0;while(1){w=c;E:{while(1){c=j[a+4>>2];F:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break F}c=ff(a)}if(!k[(c+g|0)+33|0]){break E}h[g+27|0]=c;c=CD(g+28|0,g+27|0,g+296|0);if((c|0)==-2){continue}if((c|0)==-1){break d}if(w){j[(d<<2)+w>>2]=j[g+28>>2];d=d+1|0}if(A^1|(d|0)!=(s|0)){continue}break}s=s<<1|1;c=Vf(w,s<<2);if(c){continue}break d}break}c=g+296|0;f=1;G:{if(!c){break G}f=!j[c>>2]}if(!f){break d}v=0;break D}if(A){d=0;c=Se(s);if(!c){break c}while(1){v=c;while(1){c=j[a+4>>2];H:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break H}c=ff(a)}if(!k[(c+g|0)+33|0]){w=0;break D}h[d+v|0]=c;d=d+1|0;if((s|0)!=(d|0)){continue}break}w=0;s=s<<1|1;c=Vf(v,s);if(c){continue}break}break b}d=0;if(l){while(1){c=j[a+4>>2];I:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break I}c=ff(a)}if(k[(c+g|0)+33|0]){h[d+l|0]=c;d=d+1|0;continue}else{w=0;v=l;break D}}}while(1){c=j[a+4>>2];J:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break J}c=ff(a)}if(k[(c+g|0)+33|0]){continue}break}v=0;w=0}c=j[a+4>>2];if(j[a+104>>2]){c=c-1|0;j[a+4>>2]=c}c=c-j[a+8>>2]|0;f=c;z=c+j[a+120>>2]|0;c=j[a+124>>2]+(c>>31)|0;c=f>>>0>z>>>0?c+1|0:c;if(!(c|z)|(x?(y|0)!=(z|0)|(c|0)!=(B|0):0)){break b}K:{if(!A){break K}if(!u){j[l>>2]=w;break K}j[l>>2]=v}if(x){break r}if(w){j[(d<<2)+w>>2]=0}if(!v){v=0;break r}h[d+v|0]=0}d=j[a+4>>2]-j[a+8>>2]|0;c=d;d=c>>31;f=c;r=r+j[a+124>>2]|0;c=t+j[a+120>>2]|0;r=c>>>0>>0?r+1|0:r;t=f+c|0;r=d+r|0;r=c>>>0>t>>>0?r+1|0:r;C=((l|0)!=0)+C|0}d=e+1|0;e=k[e+1|0];if(e){continue}break a}break}v=0;break b}v=0;w=0}if(!A){break a}ze(v);ze(w)}oe=g+304|0}function SM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;g=oe-80|0;oe=g;j[g+60>>2]=0;j[g+56>>2]=0;j[g+52>>2]=0;a:{if((sh(21,g+60|0)|0)<0){break a}if((sh(17,g+56|0)|0)<0){break a}b:{if((sh(18,g+52|0)|0)<0){break b}i=cj(a);l=!(i&2)|j[g+60>>2]!=4|j[g+56>>2]<2;c:{if(l){xi(21,4);xi(17,2);xi(18,0);if((Oq(a,i|2)|0)<0){break c}}f=Xe(1,440);d:{if(!f){Be(0);break d}d=Xe(1,492);if(!d){if(f){qe[j[57975]](f);j[57976]=j[57976]-1}Be(0);break d}Ae(f+104|0,231396,84);j[f+436>>2]=d;j[f+108>>2]=10;j[f+188>>2]=a;e=AH(a);j[d>>2]=e;e:{if(!e){break e}if((zg(a,e)|0)<=-1){$l(j[d>>2]);break e}e=126646;c=Te(126646);j[d+8>>2]=c;f:{g:{if(!c){break g}e=126698;c=Te(126698);j[d+12>>2]=c;if(!c){break g}e=126713;c=Te(126713);j[d+16>>2]=c;if(!c){break g}e=126734;c=Te(126734);j[d+20>>2]=c;if(!c){break g}e=126748;c=Te(126748);j[d+24>>2]=c;if(!c){break g}e=126772;c=Te(126772);j[d+28>>2]=c;if(!c){break g}e=126792;c=Te(126792);j[d+32>>2]=c;if(!c){break g}e=126800;c=Te(126800);j[d+36>>2]=c;if(!c){break g}e=126813;c=Te(126813);j[d+40>>2]=c;if(!c){break g}e=126829;c=Te(126829);j[d+44>>2]=c;if(!c){break g}e=126845;c=Te(126845);j[d+48>>2]=c;if(!c){break g}e=126860;c=Te(126860);j[d+52>>2]=c;if(!c){break g}e=126876;c=Te(126876);j[d+56>>2]=c;if(!c){break g}e=126891;c=Te(126891);j[d+60>>2]=c;if(!c){break g}e=126908;c=Te(126908);j[d+64>>2]=c;if(!c){break g}e=126918;c=Te(126918);j[d+68>>2]=c;if(!c){break g}e=126945;c=Te(126945);j[d+72>>2]=c;if(!c){break g}e=126958;c=Te(126958);j[d+76>>2]=c;if(!c){break g}e=126967;c=Te(126967);j[d+80>>2]=c;if(!c){break g}e=126993;c=Te(126993);j[d+84>>2]=c;if(!c){break g}e=127002;c=Te(127002);j[d+88>>2]=c;if(!c){break g}e=127020;c=Te(127020);j[d+92>>2]=c;if(!c){break g}e=127034;c=Te(127034);j[d+96>>2]=c;if(!c){break g}e=127048;c=Te(127048);j[d+100>>2]=c;if(!c){break g}e=127060;c=Te(127060);j[d+104>>2]=c;if(!c){break g}e=127071;c=Te(127071);j[d+108>>2]=c;if(!c){break g}e=127085;c=Te(127085);j[d+112>>2]=c;if(!c){break g}e=127100;c=Te(127100);j[d+116>>2]=c;if(!c){break g}e=127119;c=Te(127119);j[d+120>>2]=c;if(!c){break g}e=127133;c=Te(127133);j[d+124>>2]=c;if(!c){break g}e=127154;c=Te(127154);j[d+128>>2]=c;if(!c){break g}e=127168;c=Te(127168);j[d+132>>2]=c;if(!c){break g}e=127182;c=Te(127182);j[d+136>>2]=c;if(!c){break g}e=127195;c=Te(127195);j[d+140>>2]=c;if(!c){break g}e=127205;c=Te(127205);j[d+144>>2]=c;if(!c){break g}e=127220;c=Te(127220);j[d+148>>2]=c;if(!c){break g}e=127235;c=Te(127235);j[d+152>>2]=c;if(!c){break g}e=127248;c=Te(127248);j[d+156>>2]=c;if(!c){break g}e=127264;c=Te(127264);j[d+160>>2]=c;if(!c){break g}e=127280;c=Te(127280);j[d+164>>2]=c;if(!c){break g}e=127292;c=Te(127292);j[d+168>>2]=c;if(!c){break g}e=127304;c=Te(127304);j[d+172>>2]=c;if(!c){break g}e=127323;c=Te(127323);j[d+176>>2]=c;if(!c){break g}e=127336;c=Te(127336);j[d+180>>2]=c;if(!c){break g}e=127358;c=Te(127358);j[d+184>>2]=c;if(!c){break g}e=127369;c=Te(127369);j[d+188>>2]=c;if(!c){break g}e=127387;c=Te(127387);j[d+192>>2]=c;if(!c){break g}e=127410;c=Te(127410);j[d+196>>2]=c;if(!c){break g}e=127435;c=Te(127435);j[d+200>>2]=c;if(!c){break g}e=127456;c=Te(127456);j[d+204>>2]=c;if(!c){break g}e=127476;c=Te(127476);j[d+208>>2]=c;if(!c){break g}e=127496;c=Te(127496);j[d+212>>2]=c;if(!c){break g}e=127509;c=Te(127509);j[d+216>>2]=c;if(!c){break g}e=127525;c=Te(127525);j[d+220>>2]=c;if(!c){break g}e=127538;c=Te(127538);j[d+224>>2]=c;if(!c){break g}e=127551;c=Te(127551);j[d+228>>2]=c;if(c){break f}}m=g,n=Fg(),j[m+36>>2]=n;j[g+32>>2]=e;if((ve(126662,g+32|0)|0)>-1){break f}$l(j[d>>2]);break e}zH(b>>>2&1);if((yH()|0)>=1){j[f+108>>2]=j[f+108>>2]|4}if(!(sh(20,g- -64|0)|!(h[g+64|0]&1))){j[d+4>>2]=1}j[g+64>>2]=0;qe[j[d+108>>2]](3379,g- -64|0);j[f+180>>2]=j[g+64>>2];j[g+64>>2]=0;qe[j[d+108>>2]](3379,g- -64|0);j[f+184>>2]=j[g+64>>2];qe[j[d+108>>2]](36345,g+76|0);qe[j[d+96>>2]](36346,g+75|0);b=j[g+76>>2];if(k[g+75|0]){b=b+1|0;j[g+76>>2]=b}b=Xe(b,4);j[d+244>>2]=b;if(!b){Lr(f);Be(0);break d}j[d+240>>2]=j[g+76>>2];qe[j[d+108>>2]](36344,b);if(k[g+75|0]){j[(j[d+244>>2]+(j[g+76>>2]<<2)|0)-4>>2]=-1}qe[j[d+212>>2]](8,d+272|0);j[d+232>>2]=0;qe[j[d+108>>2]](36006,g+68|0);j[d+236>>2]=j[g+68>>2];j[f+68>>2]=668;j[f+64>>2]=669;j[f+60>>2]=670;j[f+56>>2]=671;j[f+52>>2]=672;j[f+16>>2]=673;j[f+12>>2]=674;j[f+8>>2]=675;j[f+4>>2]=676;j[f+92>>2]=677;j[f+88>>2]=678;j[f+84>>2]=679;j[f+80>>2]=680;j[f+76>>2]=681;j[f+72>>2]=682;j[f+48>>2]=683;j[f+44>>2]=684;j[f+40>>2]=685;j[f+36>>2]=686;j[f+32>>2]=687;j[f+28>>2]=687;j[f+24>>2]=688;j[f+20>>2]=688;a=j[f+112>>2];j[f+112>>2]=a+1;b=a<<2;a=f+116|0;j[b+a>>2]=842094169;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=1448433993;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=842094158;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=825382478;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=542328143;qe[j[d+8>>2]](33984);qe[j[d+132>>2]](3333,1);qe[j[d+132>>2]](3317,1);qe[j[d+80>>2]](0);qe[j[d+68>>2]](1);qe[j[d+36>>2]](q(1),q(1),q(1),q(1));j[d+488>>2]=1065353216;j[d+476>>2]=-1082130432;j[d+408>>2]=-1;j[d+412>>2]=-1;j[d+368>>2]=2147483647;d=j[f+436>>2];if(!j[d+4>>2]){break a}b=qe[j[d+104>>2]]()|0;if(!b){break a}a=126493;while(1){a=k[a|0]?a:128246;e=128351;i=b-1280|0;if(i>>>0<=5){e=j[(i<<2)+128360>>2]}j[g+20>>2]=b;j[g+16>>2]=e;j[g+12>>2]=126625;j[g+8>>2]=2107;j[g+4>>2]=126494;j[g>>2]=a;ve(128254,g);b=qe[j[d+104>>2]]()|0;if(b){continue}break}break a}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}}if(!l){break b}}xi(21,j[g+60>>2]);xi(17,j[g+56>>2]);xi(18,j[g+52>>2]);Oq(a,i)}f=0}oe=g+80|0;return f|0}function Cv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=oe-160|0;oe=f;q=j[b+100>>2];e=j[b+104>>2];j[b+132>>2]=0;d=Fe(e,0);j[f+156>>2]=d;a:{b:{if(d){break b}d=$e(e,95664,f+152|0);j[f+156>>2]=d;if(d){break b}j[f+156>>2]=2;c:{if(l[f+152>>1]!=23117){break c}d=Fe(e,l[f+154>>1]);j[f+156>>2]=d;if(d){break b}d=$e(e,95696,f+144|0);j[f+156>>2]=d;if(d){break b}d=2;j[f+156>>2]=2;d:{e:{f:{g:{switch(l[f+144>>1]-17742|0){case 0:d=Fe(e,l[f+146>>1]+l[f+154>>1]|0);j[f+156>>2]=d;if(d){break b}d=_e(e,l[f+148>>1]-l[f+146>>1]|0);j[f+156>>2]=d;if(d){break b}o=lg(e);n=lg(e);h:{if(n){while(1){d=lg(e);g=((j[e+8>>2]+j[e+32>>2]|0)-j[e+36>>2]|0)+4|0;if((n&65535)==32776){break h}j[e+32>>2]=(j[e+32>>2]+p(d,12)|0)+4;n=lg(e);if(n){continue}break}}d=0;g=0}Ve(e);if(!(d?g:0)){j[f+156>>2]=3;break b}if(m[e+4>>2]>>0){j[f+156>>2]=3;break b}j[b>>2]=d;if((c|0)>=(d|0)){j[f+156>>2]=6;break b}if((c|0)<0){break b}y=b,z=He(q,172,f+156|0),j[y+132>>2]=z;if(j[f+156>>2]){break b}d=Fe(e,g+p(c,12)|0);j[f+156>>2]=d;if(d){break c}d=_e(e,12);j[f+156>>2]=d;if(d){break c}d=lg(e);j[j[b+132>>2]>>2]=d<>2]+164>>2]=d<>2]=j[e+32>>2]+8;Ve(e);d=Lk(j[b+132>>2],e);j[f+156>>2]=d;break f;case 2:break g;default:break f}}d=Fe(e,l[f+154>>1]);j[f+156>>2]=d;n=2;i:{if(d){break i}d=$e(e,95728,f+120|0);j[f+156>>2]=d;if(d){break i}j:{if(j[f+120>>2]!=17744|l[f+124>>1]!=332|(l[f+128>>1]!=224|l[f+130>>1]!=267)){break j}j[b>>2]=0;k:{l:{if(!l[f+126>>1]){break l}m:{while(1){n:{d=$e(e,95792,f+96|0);j[f+156>>2]=d;if(d){break n}if(j[f+132>>2]==j[f+104>>2]){break m}g=g+1|0;if(l[f+126>>1]>(g&65535)>>>0){continue}break l}break}break i}d=Fe(e,j[f+112>>2]);j[f+156>>2]=d;if(d){break i}d=$e(e,95824,f+80|0);j[f+156>>2]=d;if(d){break i}d=0;o=1;n=0;if(l[f+94>>1]==(0-l[f+92>>1]|0)){break i}t=j[f+112>>2];v=t+16|0;g=0;while(1){d=Fe(e,(g<<3)+v|0);j[f+156>>2]=d;if(d){break k}d=$e(e,95856,f+40|0);j[f+156>>2]=d;if(d){break k}d=j[f+44>>2];if((d|0)>=0){break l}d=d&2147483647;j[f+44>>2]=d;g=d+j[f+112>>2]|0;d=Fe(e,g);j[f+156>>2]=d;if(d){break k}d=$e(e,95824,f- -64|0);j[f+156>>2]=d;if(d){break k}if(l[f+78>>1]!=(0-l[f+76>>1]|0)){w=g+16|0;o=0;d=0;s=0;while(1){d=Fe(e,(d<<3)+w|0);j[f+156>>2]=d;if(d){n=2;break i}d=$e(e,95856,f+32|0);j[f+156>>2]=d;if(d){n=2;break i}d=j[f+36>>2];if((d|0)>=0){break j}d=d&2147483647;j[f+36>>2]=d;g=d+j[f+112>>2]|0;d=Fe(e,g);j[f+156>>2]=d;if(d){n=2;break i}d=$e(e,95824,f+48|0);j[f+156>>2]=d;if(d){n=2;break i}if(l[f+62>>1]!=(0-l[f+60>>1]|0)){x=g+16|0;d=0;n=0;while(1){d=Fe(e,(d<<3)+x|0);j[f+156>>2]=d;if(d){break k}d=$e(e,95856,f+24|0);j[f+156>>2]=d;if(d){break k}if(j[f+36>>2]<=-1){break l}if(j[f+40>>2]==8){d=Fe(e,j[f+28>>2]+t|0);j[f+156>>2]=d;if(d){break k}d=$e(e,95872,f+8|0);j[f+156>>2]=d;if(d){break k}g=b;d=j[b>>2];if((d|0)==(c|0)){r=He(q,172,f+156|0);j[b+132>>2]=r;d=j[f+156>>2];if(d){break k}j[r>>2]=(j[f+8>>2]+j[f+112>>2]|0)-j[f+104>>2];j[r+164>>2]=j[f+12>>2];d=Lk(r,e);j[f+156>>2]=d;if(d){n=13;break i}d=j[b>>2]}j[g>>2]=d+1}n=n+1|0;d=n&65535;if(d>>>0>1]+l[f+60>>1]>>>0){continue}break}}s=s+1|0;d=s&65535;if(d>>>0>1]+l[f+76>>1]>>>0){continue}break}}o=1;d=0;n=0;u=u+1|0;g=u&65535;if(g>>>0>1]+l[f+92>>1]>>>0){continue}break}break i}d=3;j[f+156>>2]=3}o=0;n=2;break i}d=3;j[f+156>>2]=3;n=2}if(!o){break e}}e=j[b>>2];if(!e){j[f+156>>2]=3;break b}if((c|0)<(e|0)){break d}j[f+156>>2]=6;break b}switch(n|0){case 2:break b;case 0:case 13:break d;default:break a}}if(!d){break b}}d=j[b+132>>2];if(!d){break b}e=j[b+100>>2];if(j[d+160>>2]){jf(j[b+104>>2],d+160|0)}g=j[d+168>>2];if(g){qe[j[e+8>>2]](e,g)}j[d+168>>2]=0;if(d){qe[j[e+8>>2]](e,d)}j[b+132>>2]=0}e=j[f+156>>2]}j[f+96>>2]=e;o:{if((c|0)<=-1){d=0;if(!e){break o}}p:{q:{r:{if((e&255)==2){e=He(q,172,f+96|0);j[b+132>>2]=e;d=j[f+96>>2];if(d){break o}j[b>>2]=1;j[e>>2]=0;j[e+164>>2]=j[a+4>>2];a=Lk(e,a);j[f+96>>2]=a;if(a){break p}if((c|0)>=1){j[f+96>>2]=6;break p}d=0;if((c|0)>=0){break r}break o}if(e){break q}}j[b+4>>2]=c;a=j[b+8>>2];j[b+8>>2]=a|18;c=j[b+132>>2];if(l[c+100>>1]==l[c+102>>1]){j[b+8>>2]=a|22}if(k[c+86|0]){j[b+12>>2]=j[b+12>>2]|1}if(l[c+90>>1]>=800){j[b+12>>2]=j[b+12>>2]|2}d=xe(q,16,0,1,0,f+96|0);j[b+32>>2]=d;if(j[f+96>>2]){break p}j[b+28>>2]=1;i[d+2>>1]=l[c+100>>1];i[d>>1]=l[c+84>>1]+l[c+96>>1];e=l[c+74>>1]<<6;j[d+4>>2]=e;a=l[c+78>>1];g=e;e=l[c+76>>1];e=e?e:72;g=Ne(g,e,72)+32&-64;j[d+12>>2]=g;n=a?a:72;a=l[c+96>>1]<<6;s:{if((a|0)>=(g|0)){a=j[d+4>>2];break s}j[d+12>>2]=a;a=Ne(a,72,e);j[d+4>>2]=a}y=d,z=Ne(a,n,72)+32&-64,j[y+8>>2]=z;j[f+120>>2]=b;j[f+124>>2]=0;j[f+128>>2]=0;if(k[c+92|0]==77){i[f+128>>1]=1;j[f+124>>2]=1634889070}a=qg(95588,0,f+120|0,0);j[f+96>>2]=a;if(a){break p}if(j[b+36>>2]){j[b+92>>2]=j[j[b+40>>2]>>2]}a=k[c+105|0];d=k[c+104|0];if(a>>>0>>0){j[f+96>>2]=3;break p}j[b+16>>2]=(a-d|0)+2;a=j[c+8>>2];d=j[c+116>>2];if(a>>>0<=d>>>0){j[f+96>>2]=3;break p}a=a-d|0;d=He(q,a+1|0,f+96|0);j[c+168>>2]=d;if(j[f+96>>2]){break p}Ae(d,j[c+160>>2]+j[c+116>>2]|0,a);h[a+j[c+168>>2]|0]=0;d=a;a=j[c+168>>2];a=xe(q,1,d,Le(a)+1|0,a,f+96|0);j[c+168>>2]=a;if(j[f+96>>2]){break p}j[b+24>>2]=95628;j[b+20>>2]=a;c=j[b+12>>2];a=c&1;if(c&2){if(a){j[b+24>>2]=95636;d=0;break o}j[b+24>>2]=95648;d=0;break o}d=0;if(!a){break o}j[b+24>>2]=95653;break o}d=e;if(!b){break o}}a=j[b+100>>2];d=j[b+132>>2];if(d){if(j[d+160>>2]){jf(j[b+104>>2],d+160|0)}c=a;e=j[d+168>>2];if(e){qe[j[c+8>>2]](c,e)}j[d+168>>2]=0;if(d){qe[j[a+8>>2]](a,d)}j[b+132>>2]=0}c=j[b+32>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+28>>2]=0;j[b+32>>2]=0;d=j[f+96>>2]}oe=f+160|0;return d|0}function QL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,l=0,m=0,p=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=q(0),L=q(0),M=0,N=0,O=0,P=0;d=oe+ -64|0;oe=d;a:{b:{e=j[a+436>>2];f=j[e>>2];if(f){break b}f=j[e+4>>2];j[e>>2]=f;if(f){break b}f=Xj(j[a+188>>2]);if(f){j[e>>2]=f;j[e+4>>2]=f;break b}f=j[e>>2];if(f){break b}a=-1;break a}if(b){a=1;while(1){c:{d:{e:{switch(j[b>>2]-1|0){case 0:u=b+8|0;a=1;break c;case 1:s=j[b+4>>2]?b+8|0:0;a=1;break c;case 3:i=k[b+11|0];m=k[b+10|0];e=k[b+9|0];a=k[b+8|0];Bg(f,0);Qh(f,0,ej(j[f+4>>2],a,e,m,i));a=1;break c;case 4:e=j[b+4>>2];x=j[b+16>>2];w=j[b+8>>2];l=k[b+15|0];p=k[b+14|0];i=k[b+13|0];m=k[b+12|0];f:{if(!a){break f}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Tg(u,d+48|0,d+48|0);Bg(f,d+48|0);break f}Bg(f,u)}a=c+e|0;if(!x){wM(f,a,w,ej(j[f+4>>2],m,i,p,l));break d}uM(f,a,w,x,m,i,p,l);break d;case 5:e=j[b+4>>2];x=j[b+16>>2];w=j[b+8>>2];l=k[b+15|0];p=k[b+14|0];i=k[b+13|0];m=k[b+12|0];g:{if(!a){break g}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Tg(u,d+48|0,d+48|0);Bg(f,d+48|0);break g}Bg(f,u)}a=c+e|0;if(!x){qM(f,a,w,ej(j[f+4>>2],m,i,p,l));break d}iM(f,a,w,x,m,i,p,l);break d;case 6:e=j[b+4>>2];x=j[b+16>>2];w=j[b+8>>2];l=k[b+15|0];p=k[b+14|0];i=k[b+13|0];m=k[b+12|0];h:{if(!a){break h}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Tg(u,d+48|0,d+48|0);Bg(f,d+48|0);break h}Bg(f,u)}a=c+e|0;if(!x){yL(f,a,w,ej(j[f+4>>2],m,i,p,l));break d}bM(f,a,w,x,m,i,p,l);break d;case 7:e=j[b+4>>2];l=j[j[b+20>>2]+76>>2];i:{if(!a){break i}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Tg(u,d+48|0,d+48|0);Bg(f,d+48|0);break i}Bg(f,u)}A=c+e|0;w=j[b+16>>2];x=j[j[b+20>>2]+76>>2];a=k[b+14|0];m=k[b+13|0];e=k[b+12|0];p=k[b+15|0];j:{if(!((a&(m&e))!=255|(p|0)!=255|(w|0)==2)){if((w|0)!=4){break j}}$j(x,0)}i=A+16|0;yi(x,e,m,a);dj(x,p);hg(x,w);if(!(j[A+8>>2]!=j[A+24>>2]|j[A+12>>2]!=j[A+28>>2])){uh(l,A,f,i);break d}a=0;$j(f,0);Xq(l,A,f,i);break c;case 8:break e;default:break c}}e=j[b+4>>2];k:{if(!a){break k}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Tg(u,d+48|0,d+48|0);Bg(f,d+48|0);break k}Bg(f,u)}t=c+e|0;p=j[b+16>>2];l=j[j[b+20>>2]+76>>2];a=k[b+14|0];m=k[b+13|0];e=k[b+12|0];i=k[b+15|0];l:{if(!((a&(m&e))!=255|(i|0)!=255|(p|0)==2)){if((p|0)!=4){break l}}$j(l,0)}yi(l,e,m,a);dj(l,i);hg(l,p);w=j[t+48>>2];g=o[t+32>>3];p=j[b+20>>2];v=j[p+76>>2];j[d+48>>2]=0;j[d+52>>2]=0;j[d+56>>2]=j[t+24>>2];j[d+60>>2]=j[t+28>>2];if(k[v|0]&2){Sg(v)}a=j[v+4>>2];a=ak(j[v+20>>2],j[v+8>>2],j[v+12>>2],k[a+8|0],j[v+16>>2],j[a+12>>2],j[a+16>>2],j[a+20>>2],j[a+24>>2]);if(!a){if(!(k[v|0]&2)){break d}pg(v);break d}_j(v,d+20|0);e=d+19|0;if(v){if(e){h[e|0]=k[j[v+52>>2]+79|0]}}Yq(v,d+18|0,d+17|0,d+16|0);m=j[v+4>>2];m:{if(!(k[m+8|0]!=32|(j[m>>2]&983040)!=393216)){l=0;if(j[m+24>>2]){break m}}l=1}e=j[t+8>>2];n:{if(!(j[t>>2]|((e|0)!=j[t+24>>2]|j[t+12>>2]!=j[t+28>>2]))){if(!j[t+4>>2]){break n}}l=1}o:{if(!(j[t>>2]|((e|0)!=j[v+8>>2]|j[t+12>>2]!=j[v+12>>2]))){if(!j[t+4>>2]){break o}}l=1}J=1;B=0;i=j[d+20>>2];e=0;p:{if(i&-5){break p}m=k[d+19|0];e=k[d+16|0]&(k[d+17|0]&(m&k[d+18|0]));J=(e|0)==255;if(!J){dj(a,m);yi(a,k[d+18|0],k[d+17|0],k[d+16|0]);i=j[d+20>>2]}e=(e|0)!=255}q:{r:{if(!i){if(!j[j[v+4>>2]+24>>2]){m=1;if(k[d+19|0]==255){break r}}B=Ag(0,j[t+24>>2],j[t+28>>2],32,16711680,65280,255,-16777216);if(!B){hg(a,j[d+20>>2]);B=0;break q}hg(B,4)}m=0}s:{if(!(e|l)){hg(a,j[d+20>>2]);break s}e=j[d+60>>2];j[d+8>>2]=j[d+56>>2];j[d+12>>2]=e;e=j[d+52>>2];j[d>>2]=j[d+48>>2];j[d+4>>2]=e;l=0;e=Ag(0,j[t+24>>2],j[t+28>>2],32,16711680,65280,255,-16777216);if(e){hg(a,0);i=Xq(a,t,e,d);lf(a);l=!i;a=e}hg(a,j[d+20>>2]);if(!l){break q}}KL(j[d+56>>2],j[d+60>>2],g,d+44|0,d+40|0,d+32|0,d+24|0);i=j[d+44>>2];e=j[d+40>>2];y=zr(a,g,(i|0)/2|0,(e|0)/2|0,j[p+28>>2]!=0,w&1,w&2,i,e,o[d+32>>3],o[d+24>>3]);t:{if(!(!B|!y)){i=j[d+44>>2];e=j[d+40>>2];l=zr(B,g,(i|0)/2|0,(e|0)/2|0,0,0,0,i,e,o[d+32>>3],o[d+24>>3]);if(l){break t}break q}l=0;if(!y){break q}}A=j[t+16>>2];x=j[t+20>>2];K=n[t+40>>2];L=n[t+44>>2];D=-o[d+24>>3];o[d+24>>3]=D;w=j[t+24>>2];e=j[t+28>>2];j[d+56>>2]=j[d+44>>2];j[d+60>>2]=j[d+40>>2];H=o[d+32>>3];g=H;if(q(r(L))z?z:g;z=E+N+I;g=F+N+I;g=g>z?z:g;g=g>G?G:g;u:{if(r(g)<2147483648){p=~~g;break u}p=-2147483648}j[e+52>>2]=p;e=d;E=H*O;g=D*C;C=+(i+A|0);z=E-g+C;F=H*P;g=F-g+C;G=g>z?z:g;g=D*M;z=E-g+C;g=F-g+C;g=g>z?z:g;g=g>G?G:g;v:{if(r(g)<2147483648){i=~~g;break v}i=-2147483648}j[e+48>>2]=i;w:{if(!(!j[d+20>>2]&(m^-1))){if(J){dj(y,k[d+19|0]);yi(y,k[d+18|0],k[d+17|0],k[d+16|0])}uh(y,0,f,d+48|0);break w}e=j[d+60>>2];j[d+8>>2]=j[d+56>>2];j[d+12>>2]=e;e=j[d+52>>2];j[d>>2]=j[d+48>>2];j[d+4>>2]=e;hg(l,0);x:{if(uh(l,0,f,d)){break x}yi(y,0,0,0);e=j[d+60>>2];j[d+8>>2]=j[d+56>>2];j[d+12>>2]=e;e=j[d+52>>2];j[d>>2]=j[d+48>>2];j[d+4>>2]=e;if(uh(y,0,f,d)){break x}e=j[y+4>>2];e=ak(j[y+20>>2],j[y+8>>2],j[y+12>>2],k[e+8|0],j[y+16>>2],j[e+12>>2],j[e+16>>2],j[e+20>>2],0);if(!e){break x}hg(e,2);uh(e,0,f,d+48|0);lf(e)}lf(l)}if(!y){break q}lf(y)}if(k[v|0]&2){pg(v)}if(B){lf(B)}lf(a)}a=0}b=j[b+24>>2];if(b){continue}break}}a=0}oe=d- -64|0;return a|0}function Qv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;a=oe-336|0;oe=a;j[b>>2]=1;w=b+500|0;j[w>>2]=0;x=vh(j[b+96>>2],94368);j[b+484>>2]=x;s=ch(j[j[b+96>>2]+4>>2],94385);j[b+488>>2]=s;a:{if(!s){f=11;break a}n=j[b+100>>2];Ee(a+16|0,0,304);z=b,A=He(n,12,a+12|0),j[z+492>>2]=A;b:{if(j[a+12>>2]){break b}j[b+496>>2]=12;f=j[b+104>>2];qe[j[j[s+4>>2]>>2]](a+16|0,0,0,n);h[a+100|0]=0;j[a+92>>2]=0;j[a+96>>2]=0;j[a+88>>2]=f;g=Fe(f,0);j[a+320>>2]=g;c:{d:{if(g){break d}g=_e(f,17);j[a+320>>2]=g;if(g){break d}if(wg(j[f+32>>2],94407,17)){g=2;j[a+320>>2]=2;Ve(f);break d}Ve(f);g=Fe(f,0);j[a+320>>2]=g;if(g){break d}m=j[f+4>>2];e:{if(!j[f+20>>2]){g=j[f+8>>2];o=j[f>>2];h[a+100|0]=1;j[a+96>>2]=m;j[a+92>>2]=g+o;g=vf(f,m);j[a+320>>2]=g;if(g){break d}m=j[a+96>>2];break e}o=He(n,m,a+320|0);j[a+92>>2]=o;g=j[a+320>>2];if(g){break d}g=uf(f,o,m);j[a+320>>2]=g;if(g){break d}j[a+96>>2]=m}g=j[a+92>>2];j[a+20>>2]=g;j[a+12>>2]=0;break c}if(k[a+100|0]){j[a+12>>2]=g;break b}f=j[a+92>>2];if(f){qe[j[n+8>>2]](n,f)}g=0;j[a+92>>2]=0;f=j[a+320>>2];j[a+12>>2]=f;if(f){break b}m=j[a+96>>2]}j[a+28>>2]=0;j[a+16>>2]=g;m=g+m|0;j[a+24>>2]=m;qe[j[a+44>>2]](a+16|0);f:{f=j[a+16>>2];if(m>>>0>f>>>0){t=b+132|0;u=b+164|0;v=b+460|0;while(1){g:{h:{g=k[f|0];if(!((g|0)!=70|m>>>0<=f+25>>>0)){if(Qe(f,94425,13)){break h}qe[j[a+48>>2]](a+16|0);qe[j[a+44>>2]](a+16|0);g=j[a+16>>2];f=g;i:{if(m>>>0<=f>>>0){break i}while(1){j:{if(!(k[f|0]!=107|m>>>0<=f+5>>>0)){if(!Qe(f,94439,5)){break j}}qe[j[a+48>>2]](a+16|0);f=j[a+28>>2];if(f){break f}qe[j[a+44>>2]](a+16|0);f=j[a+16>>2];if(m>>>0>f>>>0){continue}break i}break}qe[j[a+48>>2]](a+16|0);qe[j[a+72>>2]](a+16|0,a+320|0);g=j[a+328>>2]==3?j[a+16>>2]:g}j[a+16>>2]=g;break g}if((g|0)!=47|m>>>0<=f+2>>>0){break h}g=f+1|0;j[a+16>>2]=g;qe[j[a+48>>2]](a+16|0);f=j[a+28>>2];if(f){break f}n=j[a+16>>2];if(n>>>0>=m>>>0){break g}f=0;q=n-g|0;if(q-1>>>0>20){break g}while(1){k:{n=p(f,36);r=n+94448|0;o=j[r>>2];if(!o|k[g|0]!=k[o|0]){break k}if((Le(o)|0)!=(q|0)){break k}if(wg(g,o,q)){break k}g=a;l:{if(f-15>>>0<=3){qe[j[n+94460>>2]](b,a+16|0);f=j[a+28>>2];break l}f=j[n+94456>>2];m:{n:{switch(j[n+94452>>2]-2|0){case 0:j[a+320>>2]=u;break m;case 3:j[a+320>>2]=v;break m;default:break n}}j[a+320>>2]=t}if(f-9>>>0<=1){f=qe[j[a+84>>2]](a+16|0,r,a+320|0,0,0)|0;break l}f=qe[j[a+80>>2]](a+16|0,r,a+320|0,0,0)|0}j[g+28>>2]=f;if(!f){break g}j[a+12>>2]=f;break b}f=f+1|0;if((f|0)!=20){continue}break}break g}qe[j[a+48>>2]](a+16|0);f=j[a+28>>2];if(f){break f}}qe[j[a+44>>2]](a+16|0);f=j[a+16>>2];if(m>>>0>f>>>0){continue}break}}f=j[a+28>>2];j[a+12>>2]=f;if(f){break b}if(k[b+433|0]!=42){j[a+12>>2]=2;break b}o=j[a+160>>2];j[b+416>>2]=o;if(!j[a+228>>2]){j[a+12>>2]=3}m=0;j[a+228>>2]=0;j[b+396>>2]=j[a+216>>2];j[b+424>>2]=j[a+240>>2];j[b+428>>2]=j[a+244>>2];j[b+400>>2]=j[a+164>>2];j[b+420>>2]=j[a+188>>2];j[a+188>>2]=0;j[a+164>>2]=0;if(j[b+368>>2]!=1){break b}n=0;t=j[a+124>>2];if((t|0)>=1){g=0;while(1){u=g<<1;i[u+j[b+384>>2]>>1]=0;q=g<<2;j[q+j[b+388>>2]>>2]=94399;o:{if((o|0)<1){break o}v=j[q+j[a+132>>2]>>2];if(!v){break o}y=j[b+420>>2];f=0;while(1){r=j[(f<<2)+y>>2];if(!we(v,r)){i[u+j[b+384>>2]>>1]=f;j[q+j[b+388>>2]>>2]=r;if(!we(94399,r)){break o}n=(g|0)<(n|0)?n:g+1|0;m=(g|0)<(m|0)?g:m;break o}f=f+1|0;if((o|0)!=(f|0)){continue}break}}g=g+1|0;if((t|0)!=(g|0)){continue}break}}j[b+380>>2]=n;j[b+376>>2]=m;j[b+372>>2]=j[a+104>>2];break b}j[a+12>>2]=f}f=j[a+156>>2];if(f){qe[f|0](a+108|0)}f=j[a+264>>2];if(f){qe[f|0](a+216|0)}f=j[a+212>>2];if(f){qe[f|0](a+164|0)}f=j[a+316>>2];if(f){qe[f|0](a+268|0)}if(!k[a+100|0]){f=j[a+32>>2];g=j[a+92>>2];if(g){qe[j[f+8>>2]](f,g)}j[a+92>>2]=0}qe[j[a+40>>2]](a+16|0);f=j[a+12>>2];if(f|(c|0)<0){break a}f=6;if((c|0)>0){break a}j[b+36>>2]=0;j[b+4>>2]=0;j[b+24>>2]=94391;j[b+16>>2]=j[b+416>>2];c=j[b+144>>2];j[b+20>>2]=c;j[b+8>>2]=j[b+8>>2]|(k[b+156|0]?533:529)|2048;p:{if(c){f=j[b+140>>2];if(!f){break p}g=k[f|0];if(!g){break p}while(1){m=g&255;g=k[c|0];q:{if((m|0)==(g|0)){f=f+1|0;c=c+1|0;break q}m=m-32|0;if(!(!m|(m|0)==13)){r:{switch(g-32|0){case 0:case 13:c=c+1|0;break q;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break p;default:break r}}if(g){break p}j[b+24>>2]=f;break p}f=f+1|0}g=k[f|0];if(g){continue}break}break p}c=j[b+364>>2];if(!c){break p}j[b+20>>2]=c}j[b+28>>2]=0;j[b+32>>2]=0;j[a+16>>2]=9;z=a,A=Kf(j[j[b+96>>2]+4>>2],94200),j[z+36>>2]=A;j[a+20>>2]=j[b+492>>2];j[a+24>>2]=j[b+496>>2];if(d){j[a+44>>2]=e;j[a+40>>2]=d;j[a+16>>2]=25}f=ym(j[j[b+96>>2]+4>>2],a+16|0,0,w);if(f){break a}wr(j[j[b+500>>2]+88>>2]);c=j[b+500>>2];d=j[c+56>>2];j[b+52>>2]=j[c+52>>2];j[b+56>>2]=d;d=j[c+64>>2];j[b+60>>2]=j[c+60>>2];j[b+64>>2]=d;i[b+68>>1]=l[c+68>>1];i[b+70>>1]=l[c+70>>1];i[b+72>>1]=l[c+72>>1];i[b+74>>1]=l[c+74>>1];i[b+76>>1]=l[c+76>>1];i[b+78>>1]=l[c+78>>1];i[b+80>>1]=l[b+158>>1];i[b+82>>1]=l[b+160>>1];d=j[b+152>>2]!=0;j[b+12>>2]=d;if(k[c+12|0]&2){j[b+12>>2]=d|2}if(k[c+8|0]&32){j[b+8>>2]=j[b+8>>2]|32}if(!x){f=0;break a}c=j[s+20>>2];j[a+16>>2]=b;j[a+20>>2]=1970170211;j[a+24>>2]=65539;f=qg(j[c+12>>2],0,a+16|0,0);if((f&255)!=163?f:0){break a}i[a+24>>1]=7;f=0;s:{t:{switch(j[b+368>>2]-1|0){case 1:i[a+26>>1]=0;j[a+20>>2]=1094995778;break s;case 3:i[a+26>>1]=1;j[a+20>>2]=1094992453;c=c+4|0;break s;case 0:i[a+26>>1]=2;j[a+20>>2]=1094992451;c=c+8|0;break s;case 2:break t;default:break a}}c=c+12|0;i[a+26>>1]=3;j[a+20>>2]=1818326065}b=j[c>>2];if(!b){break a}f=qg(b,0,a+16|0,0)}oe=a+336|0;return f|0}function fD(a){var b=0;b=1090;a:{if(!we(a,228420)){break a}b=1091;if(!we(a,228436)){break a}b=1092;if(!we(a,228451)){break a}b=1093;if(!we(a,228472)){break a}b=1094;if(!we(a,228485)){break a}b=1095;if(!we(a,228503)){break a}b=1096;if(!we(a,228522)){break a}b=1097;if(!we(a,228536)){break a}b=1098;if(!we(a,228549)){break a}b=1099;if(!we(a,228565)){break a}b=1100;if(!we(a,228589)){break a}b=1101;if(!we(a,228601)){break a}b=1102;if(!we(a,228621)){break a}b=1103;if(!we(a,228634)){break a}b=1104;if(!we(a,228650)){break a}b=1105;if(!we(a,228675)){break a}b=1106;if(!we(a,228683)){break a}b=1107;if(!we(a,228696)){break a}b=1108;if(!we(a,228710)){break a}b=1109;if(!we(a,228725)){break a}b=1110;if(!we(a,228737)){break a}b=1111;if(!we(a,228753)){break a}b=1112;if(!we(a,228776)){break a}b=1113;if(!we(a,228802)){break a}b=1114;if(!we(a,228819)){break a}b=1115;if(!we(a,228839)){break a}b=1116;if(!we(a,228855)){break a}b=1117;if(!we(a,228870)){break a}b=1118;if(!we(a,228881)){break a}b=1119;if(!we(a,228897)){break a}b=1120;if(!we(a,228918)){break a}b=1121;if(!we(a,228934)){break a}b=1122;if(!we(a,228956)){break a}b=1123;if(!we(a,228971)){break a}b=1124;if(!we(a,228988)){break a}b=1125;if(!we(a,229e3)){break a}b=1126;if(!we(a,229012)){break a}b=1127;if(!we(a,229026)){break a}b=1128;if(!we(a,229041)){break a}b=1129;if(!we(a,229051)){break a}b=1130;if(!we(a,229078)){break a}b=1131;if(!we(a,229091)){break a}b=1132;if(!we(a,229106)){break a}b=1133;if(!we(a,229115)){break a}b=1134;if(!we(a,229141)){break a}b=1135;if(!we(a,229150)){break a}b=1136;if(!we(a,229158)){break a}b=1137;if(!we(a,229184)){break a}b=1138;if(!we(a,229207)){break a}b=1139;if(!we(a,229219)){break a}b=1140;if(!we(a,229232)){break a}b=1141;if(!we(a,229249)){break a}b=1142;if(!we(a,229267)){break a}b=1143;if(!we(a,229286)){break a}b=1144;if(!we(a,229300)){break a}b=1145;if(!we(a,229318)){break a}b=1146;if(!we(a,229337)){break a}b=1147;if(!we(a,229358)){break a}b=1148;if(!we(a,229378)){break a}b=1149;if(!we(a,229392)){break a}b=1150;if(!we(a,229415)){break a}b=1151;if(!we(a,229426)){break a}b=1152;if(!we(a,229438)){break a}b=1153;if(!we(a,229476)){break a}b=1154;if(!we(a,229490)){break a}b=1155;if(!we(a,229505)){break a}b=1156;if(!we(a,229525)){break a}b=1157;if(!we(a,229554)){break a}b=1158;if(!we(a,229568)){break a}b=1159;if(!we(a,229587)){break a}b=1160;if(!we(a,229614)){break a}b=1161;if(!we(a,229632)){break a}b=1162;if(!we(a,229644)){break a}b=1163;if(!we(a,229664)){break a}b=1164;if(!we(a,229684)){break a}b=1165;if(!we(a,229699)){break a}b=1166;if(!we(a,229714)){break a}b=1167;if(!we(a,229735)){break a}b=1168;if(!we(a,229755)){break a}b=1169;if(!we(a,229775)){break a}b=1170;if(!we(a,229801)){break a}b=1171;if(!we(a,229808)){break a}b=1172;if(!we(a,229819)){break a}b=1173;if(!we(a,229831)){break a}b=1174;if(!we(a,229847)){break a}b=1175;if(!we(a,229859)){break a}b=1176;if(!we(a,229876)){break a}b=1177;if(!we(a,229887)){break a}b=1178;if(!we(a,229899)){break a}b=1179;if(!we(a,229911)){break a}b=1180;if(!we(a,229925)){break a}b=1181;if(!we(a,229939)){break a}b=1182;if(!we(a,229955)){break a}b=1183;if(!we(a,229968)){break a}b=1184;if(!we(a,229992)){break a}b=1185;if(!we(a,230014)){break a}b=1186;if(!we(a,230031)){break a}b=1187;if(!we(a,230041)){break a}b=1188;if(!we(a,230056)){break a}b=1189;if(!we(a,230071)){break a}b=1190;if(!we(a,230085)){break a}b=1191;if(!we(a,230107)){break a}b=1192;if(!we(a,230121)){break a}b=1193;if(!we(a,230143)){break a}b=1194;if(!we(a,230155)){break a}b=1195;if(!we(a,230175)){break a}b=1196;if(!we(a,230188)){break a}b=1197;if(!we(a,230204)){break a}b=1198;if(!we(a,230221)){break a}b=1199;if(!we(a,230237)){break a}b=1200;if(!we(a,230254)){break a}b=1201;if(!we(a,230270)){break a}b=1202;if(!we(a,230282)){break a}b=1203;if(!we(a,230295)){break a}b=1204;if(!we(a,230307)){break a}b=1205;if(!we(a,230320)){break a}b=1206;if(!we(a,230332)){break a}b=1207;if(!we(a,230345)){break a}b=1208;if(!we(a,230357)){break a}b=1209;if(!we(a,230370)){break a}b=1210;if(!we(a,230382)){break a}b=1211;if(!we(a,230395)){break a}b=1212;if(!we(a,230407)){break a}b=1213;if(!we(a,230420)){break a}b=1214;if(!we(a,230432)){break a}b=1215;if(!we(a,230445)){break a}b=1216;if(!we(a,230457)){break a}b=1217;if(!we(a,230470)){break a}b=1218;if(!we(a,230489)){break a}b=1219;if(!we(a,230508)){break a}b=1220;if(!we(a,230527)){break a}b=1221;if(!we(a,230540)){break a}b=1222;if(!we(a,230558)){break a}b=1223;if(!we(a,230575)){break a}b=1224;if(!we(a,230593)){break a}b=1225;if(!we(a,230610)){break a}b=1226;if(!we(a,230628)){break a}b=1227;if(!we(a,230645)){break a}b=1228;if(!we(a,230663)){break a}b=1229;if(!we(a,230680)){break a}b=1230;if(!we(a,230698)){break a}b=1231;if(!we(a,230720)){break a}b=1071;if(!we(a,230731)){break a}b=1072;if(!we(a,230747)){break a}b=1073;if(!we(a,230766)){break a}b=1074;if(!we(a,230779)){break a}b=1075;if(!we(a,230795)){break a}b=1076;if(!we(a,230809)){break a}b=1077;if(!we(a,230827)){break a}b=1078;if(!we(a,230843)){break a}b=1079;if(!we(a,230865)){break a}b=1080;if(!we(a,230888)){break a}b=1081;if(!we(a,230912)){break a}b=1082;if(!we(a,230937)){break a}b=1083;if(!we(a,230958)){break a}b=1084;if(!we(a,230982)){break a}b=1085;if(!we(a,231003)){break a}b=1086;if(!we(a,231022)){break a}b=1087;if(!we(a,231041)){break a}b=1088;if(!we(a,231068)){break a}b=0;if(we(a,231097)){break a}b=1089}return b}function hk(a){var b=0,c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;if(k[a|0]&2){Bi(a,1)}d=-1;f=j[a+4>>2];l=k[f+8|0];a:{if(!j[a+20>>2]|l>>>0<8){break a}c=j[a+52>>2];b=j[c+68>>2];if(!(b&272)|b&1|(b&608|(j[f+24>>2]?b&2:0))){break a}b:{if(!(j[f+24>>2]?b&16:0)){if(!j[c+4>>2]){break a}c:{d:{e:{f:{g:{g=k[f+9|0];switch(g-1|0){case 1:case 2:break f;case 0:break g;case 3:break e;default:break a}}m=p(j[a+12>>2],3);b=2;f=(j[a+8>>2]/2|0)+1|0;break c}b=j[a+8>>2];m=(p(b,g)+((b|0)/255<<1)|0)+2|0;b=2;break d}b=j[a+8>>2];m=(((b|0)/65535|0)+b<<2)+4|0;b=4}f=j[a+12>>2]}b=p(f,m)+b|0;e=qe[j[57972]](b?b:1)|0;if(e){j[57976]=j[57976]+1}h:{if(e){u=e;z=j[a+12>>2];if((z|0)>=1){v=j[j[a+4>>2]+24>>2]^-1;w=v&j[j[a+52>>2]+72>>2];n=(g|0)==4?65535:255;x=j[(g<<2)+139052>>2];o=j[a+8>>2];m=j[a+20>>2];y=(g|0)!=4;d=e;u=d;while(1){b=0;r=0;while(1){l=b;i:{j:{if((b|0)>=(o|0)){break j}while(1){if((w|0)!=(qe[x|0](p(g,l)+m|0)&v)){break j}l=l+1|0;if((o|0)!=(l|0)){continue}break}s=0;l=o;f=l;break i}s=0;if((l|0)>=(o|0)){f=l;break i}s=1;c=l;if((w|0)==(qe[x|0](p(g,c)+m|0)&v)){f=l;break i}k:{l:{while(1){c=c+1|0;if((o|0)==(c|0)){break l}if((w|0)!=(qe[x|0](p(c,g)+m|0)&v)){continue}break}f=c;break k}f=o}s=(c|0)<(o|0)}b=l-b|0;c=b;if((b|0)>(n|0)){while(1){m:{if(!y){i[d+2>>1]=0;i[d>>1]=n;t=4;break m}h[d|0]=255;h[d+1|0]=0;t=2}d=t+d|0;c=c-n|0;if((n|0)<(c|0)){continue}break}}t=f-l|0;q=(n|0)>(t|0)?t:n;r=(b|0)==(o|0)?1:r;n:{if(!y){i[d+2>>1]=q;i[d>>1]=c;b=4;break n}h[d+1|0]=q;h[d|0]=c;b=2}b=b+d|0;c=p(g,q);Ge(b,p(g,l)+m|0,c);d=b+c|0;b=t-q|0;if(b){l=l+q|0;while(1){c=(b|0)<(n|0)?b:n;o:{if(!y){i[d+2>>1]=c;i[d>>1]=0;t=4;break o}h[d+1|0]=c;h[d|0]=0;t=2}d=t+d|0;q=p(c,g);Ge(d,p(g,l)+m|0,q);d=d+q|0;l=c+l|0;b=b-c|0;if(b){continue}break}}u=r?u:d;b=f;if(s){continue}break}m=j[a+16>>2]+m|0;A=A+1|0;if((A|0)!=(z|0)){continue}break}}p:{if((g|0)==4){i[u>>1]=0;i[u+2>>1]=0;b=4;break p}h[u|0]=0;h[u+1|0]=0;b=2}if(!(h[a|0]&1)){f=j[a+20>>2];if(f){f=j[f-4>>2];if(f){qe[j[57975]](f);j[57976]=j[57976]-1}}j[a+20>>2]=0;j[a>>2]=j[a>>2]&-9}b=mf(e,(b+u|0)-e|0);d=j[a+52>>2];j[d+12>>2]=b?b:e;break h}if((Be(0)|0)<0){break a}d=j[a+52>>2]}m=734;b=8192;break b}b=j[c>>2];if(!b|(l|0)!=32){break a}g=j[b+4>>2];f=j[g+16>>2];c=j[g+12>>2];l=j[g+20>>2];b=f|c|l;q:{r:{switch(k[g+9|0]-2|0){case 0:s:{if((b|0)!=32767){if((b|0)!=65535){break a}w=735;if((c|0)==2016|(f|0)==2016|(l|0)==2016){break s}break a}w=736;if((c|0)==992|(f|0)==992){break s}if((l|0)!=992){break a}}x=737;b=p(j[a+12>>2],p(j[a+8>>2],6)+8|0)+2|0;break q;case 2:break r;default:break a}}if((b|0)!=16777215){break a}x=738;w=738;b=p(j[a+12>>2],j[a+8>>2]+1|0)<<3|4}b=b+28|0;n=qe[j[57972]](b?b:1)|0;if(n){j[57976]=j[57976]+1}t:{if(n){d=k[g+9|0];h[n|0]=d;j[n+4>>2]=j[g+12>>2];j[n+8>>2]=j[g+16>>2];j[n+12>>2]=j[g+20>>2];j[n+16>>2]=j[g+24>>2];h[n+20|0]=k[g+28|0];h[n+21|0]=k[g+29|0];h[n+22|0]=k[g+30|0];h[n+23|0]=k[g+31|0];h[n+24|0]=k[g+32|0];h[n+25|0]=k[g+33|0];h[n+26|0]=k[g+34|0];h[n+27|0]=k[g+35|0];s=n+28|0;y=j[a+12>>2];if((y|0)>=1){q=j[a+4>>2];o=j[a+8>>2];l=j[a+20>>2];d=s;while(1){e=0;v=0;while(1){u:{v:{b=e;if((o|0)<=(b|0)){break v}f=k[q+35|0];c=j[q+24>>2];while(1){if(((c&j[(b<<2)+l>>2])>>>f|0)==255){break v}b=b+1|0;if((o|0)!=(b|0)){continue}break}f=0;b=o;r=b;break u}f=0;if((b|0)>=(o|0)){r=b;break u}f=1;c=b;r=j[q+24>>2];m=k[q+35|0];if(((r&j[(b<<2)+l>>2])>>>m|0)!=255){r=b;break u}w:{x:{while(1){c=c+1|0;if((o|0)==(c|0)){break x}if(((r&j[(c<<2)+l>>2])>>>m|0)==255){continue}break}r=c;break w}r=o}f=(c|0)<(o|0)}t=b-e|0;c=t;if((c|0)>=256){while(1){y:{if(k[g+9|0]==4){i[d>>1]=255;i[d+2>>1]=0;e=4;break y}h[d|0]=255;h[d+1|0]=0;e=2}d=e+d|0;e=(c|0)>510;c=c-255|0;if(e){continue}break}}m=r-b|0;e=(m|0)<255?m:255;z:{if(k[g+9|0]==4){i[d+2>>1]=e;i[d>>1]=c;c=4;break z}h[d+1|0]=e;h[d|0]=c;c=2}c=c+d|0;d=(qe[x|0](c,(b<<2)+l|0,e,q,g)|0)+c|0;m=m-e|0;if(m){b=b+e|0;while(1){c=(m|0)<255?m:255;A:{if(k[g+9|0]==4){i[d+2>>1]=c;i[d>>1]=0;e=4;break A}h[d+1|0]=c;h[d|0]=0;e=2}e=e+d|0;d=(qe[x|0](e,(b<<2)+l|0,c,q,g)|0)+e|0;b=b+c|0;m=m-c|0;if(m){continue}break}}v=(o|0)==(t|0)?1:v;e=r;if(f){continue}break}d=(d&2)+d|0;e=0;while(1){B:{C:{b=e;if((o|0)<=(b|0)){break C}f=k[q+35|0];c=j[q+24>>2];while(1){if(((c&j[(b<<2)+l>>2])>>>f|0)-1>>>0<254){break C}b=b+1|0;if((o|0)!=(b|0)){continue}break}r=0;b=o;f=b;break B}r=0;if((b|0)>=(o|0)){f=b;break B}r=1;c=b;f=j[q+24>>2];m=k[q+35|0];if(((f&j[(b<<2)+l>>2])>>>m|0)-1>>>0>=254){f=b;break B}D:{E:{while(1){c=c+1|0;if((o|0)==(c|0)){break E}if(((f&j[(c<<2)+l>>2])>>>m|0)-1>>>0<=253){continue}break}f=c;break D}f=o}r=(c|0)<(o|0)}c=b-e|0;e=(o|0)==(c|0);if((c|0)>=65536){while(1){i[d>>1]=65535;i[d+2>>1]=0;d=d+4|0;m=(c|0)>131070;c=c-65535|0;if(m){continue}break}}v=e&v;i[d>>1]=c;c=f-b|0;e=(c|0)<65535?c:65535;i[d+2>>1]=e;d=d+4|0;d=(qe[w|0](d,(b<<2)+l|0,e,q,g)|0)+d|0;c=c-e|0;if(c){b=b+e|0;while(1){i[d>>1]=0;e=(c|0)<65535?c:65535;i[d+2>>1]=e;d=d+4|0;d=(qe[w|0](d,(b<<2)+l|0,e,q,g)|0)+d|0;b=b+e|0;c=c-e|0;if(c){continue}break}}s=v?s:d;e=f;if(r){continue}break}l=(j[a+16>>2]&-4)+l|0;u=u+1|0;if((y|0)!=(u|0)){continue}break}d=k[g+9|0]}c=4;F:{if((d&255)==4){i[s>>1]=0;i[s+2>>1]=0;break F}h[s|0]=0;h[s+1|0]=0;c=2}if(!(h[a|0]&1)){b=j[a+20>>2];if(b){b=j[b-4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}j[a+20>>2]=0;j[a>>2]=j[a>>2]&-9}b=mf(n,(c+s|0)-n|0);d=j[a+52>>2];j[d+12>>2]=b?b:n;break t}if((Be(0)|0)<0){break a}d=j[a+52>>2]}m=739;b=16384}j[d+8>>2]=m;j[d+68>>2]=b|j[d+68>>2];j[a>>2]=j[a>>2]|2;d=0}return d}function zq(a,b,c){var d=0,e=q(0),f=q(0),g=q(0),h=0,i=0,k=q(0),l=q(0),m=q(0),o=0,r=q(0),s=q(0),t=q(0),u=q(0),v=q(0),w=q(0),x=q(0),y=q(0),z=q(0),A=q(0),B=q(0),C=q(0),D=q(0),E=q(0),F=q(0),G=q(0),H=q(0),I=q(0),J=q(0),K=q(0),L=q(0),M=q(0),N=q(0),O=q(0),P=q(0),Q=q(0),R=q(0),S=q(0),T=q(0),U=q(0),V=q(0),W=q(0),X=q(0),Y=q(0),Z=q(0),_=q(0),$=q(0),aa=q(0),ba=q(0),ca=0,da=0,ea=0,fa=0,ga=0,ha=q(0),ia=q(0),ja=q(0),ka=q(0),la=q(0),ma=q(0),na=q(0),oa=q(0),pa=q(0),qa=q(0),ra=q(0),sa=q(0),ta=q(0),ua=q(0),va=0,wa=0,xa=0,ya=0;o=j[a+4>>2];a:{if((o|0)<7){break a}d=(c<<2)+b|0;h=((c<<1&-4)+b|0)-32|0;ga=j[a+8>>2];a=ga;while(1){k=n[h+28>>2];i=d-8|0;e=n[i>>2];g=n[h+24>>2];n[i>>2]=e+g;i=d-4|0;f=n[i>>2];n[i>>2]=f+n[h+28>>2];f=q(f-k);e=q(e-g);n[h+24>>2]=q(f*n[a+4>>2])+q(e*n[a>>2]);n[h+28>>2]=q(f*n[a>>2])-q(e*n[a+4>>2]);k=n[h+20>>2];i=d-16|0;e=n[i>>2];g=n[h+16>>2];n[i>>2]=e+g;i=d-12|0;f=n[i>>2];n[i>>2]=f+n[h+20>>2];f=q(f-k);e=q(e-g);n[h+16>>2]=q(f*n[a+20>>2])+q(e*n[a+16>>2]);n[h+20>>2]=q(f*n[a+16>>2])-q(e*n[a+20>>2]);k=n[h+12>>2];i=d-24|0;e=n[i>>2];g=n[h+8>>2];n[i>>2]=e+g;i=d-20|0;f=n[i>>2];n[i>>2]=f+n[h+12>>2];f=q(f-k);e=q(e-g);n[h+8>>2]=q(f*n[a+36>>2])+q(e*n[a+32>>2]);n[h+12>>2]=q(f*n[a+32>>2])-q(e*n[a+36>>2]);k=n[h+4>>2];i=d-32|0;e=n[i>>2];g=n[h>>2];n[i>>2]=e+g;d=d-28|0;f=n[d>>2];n[d>>2]=f+n[h+4>>2];f=q(f-k);e=q(e-g);n[h>>2]=q(f*n[a+52>>2])+q(e*n[a+48>>2]);n[h+4>>2]=q(f*n[a+48>>2])-q(e*n[a+52>>2]);a=a- -64|0;d=i;h=h-32|0;if(h>>>0>=b>>>0){continue}break}if((o|0)<8){break a}va=o-6|0;o=1;while(1){if((o|0)!=31){a=1<1?a:1;xa=4<>o;ya=ea>>1;ca=0;while(1){fa=(p(ca,ea)<<2)+b|0;a=fa+(ea<<2)|0;h=((ya<<2)+fa|0)-32|0;d=ga;while(1){k=n[h+28>>2];i=a-8|0;e=n[i>>2];g=n[h+24>>2];n[i>>2]=e+g;i=a-4|0;f=n[i>>2];n[i>>2]=f+n[h+28>>2];f=q(f-k);e=q(e-g);n[h+24>>2]=q(f*n[d+4>>2])+q(e*n[d>>2]);n[h+28>>2]=q(f*n[d>>2])-q(e*n[d+4>>2]);k=n[h+20>>2];i=a-16|0;e=n[i>>2];g=n[h+16>>2];n[i>>2]=e+g;i=a-12|0;f=n[i>>2];n[i>>2]=f+n[h+20>>2];f=q(f-k);da=xa<<2;d=da+d|0;e=q(e-g);n[h+16>>2]=q(f*n[d+4>>2])+q(e*n[d>>2]);n[h+20>>2]=q(f*n[d>>2])-q(e*n[d+4>>2]);k=n[h+12>>2];i=a-24|0;e=n[i>>2];g=n[h+8>>2];n[i>>2]=e+g;i=a-20|0;f=n[i>>2];n[i>>2]=f+n[h+12>>2];f=q(f-k);d=d+da|0;e=q(e-g);n[h+8>>2]=q(f*n[d+4>>2])+q(e*n[d>>2]);n[h+12>>2]=q(f*n[d>>2])-q(e*n[d+4>>2]);k=n[h+4>>2];i=a-32|0;e=n[i>>2];g=n[h>>2];n[i>>2]=e+g;a=a-28|0;f=n[a>>2];n[a>>2]=f+n[h+4>>2];f=q(f-k);a=d+da|0;e=q(e-g);n[h>>2]=q(f*n[a+4>>2])+q(e*n[a>>2]);n[h+4>>2]=q(f*n[a>>2])-q(e*n[a+4>>2]);d=a+da|0;a=i;h=h-32|0;if(fa>>>0<=h>>>0){continue}break}ca=ca+1|0;if((wa|0)!=(ca|0)){continue}break}}o=o+1|0;if((va|0)!=(o|0)){continue}break}}a=0;if((c|0)>0){while(1){d=(a<<2)+b|0;e=n[d+60>>2];f=n[d+124>>2];k=n[d+24>>2];g=n[d+88>>2];r=n[d+120>>2];w=n[d+56>>2];l=q(r-w);x=n[d+28>>2];s=n[d+92>>2];y=q(x-s);t=q(l+y);I=n[d+104>>2];J=n[d+40>>2];u=q(I-J);K=n[d+108>>2];z=n[d+44>>2];v=q(K-z);L=q(q(u-v)*q(.7071067690849304));M=n[d+8>>2];N=n[d+72>>2];m=q(M-N);A=n[d+12>>2];O=n[d+76>>2];B=q(A-O);P=q(q(m+B)*q(.7071067690849304));C=q(L+P);Q=q(t+C);D=n[d+112>>2];R=n[d+48>>2];E=q(D-R);S=n[d+116>>2];T=n[d+52>>2];F=q(S-T);ha=q(q(E*q(.9238795042037964))-q(F*q(.3826834261417389)));U=n[d+16>>2];V=n[d+80>>2];W=q(U-V);X=n[d+20>>2];Y=n[d+84>>2];Z=q(X-Y);ia=q(q(W*q(.3826834261417389))+q(Z*q(.9238795042037964)));G=q(ha+ia);_=n[d+96>>2];$=n[d+32>>2];H=q(_-$);ja=n[d+100>>2];ka=n[d+36>>2];aa=q(ja-ka);la=q(q(H*q(.3826834261417389))-q(aa*q(.9238795042037964)));ma=n[d>>2];na=n[d+64>>2];oa=q(ma-na);pa=n[d+4>>2];qa=n[d+68>>2];ra=q(pa-qa);sa=q(q(oa*q(.9238795042037964))+q(ra*q(.3826834261417389)));ta=q(la+sa);ba=q(G+ta);n[d+56>>2]=Q+ba;n[d+48>>2]=Q-ba;Q=q(f-e);ba=q(g-k);ua=q(Q+ba);u=q(q(u+v)*q(.7071067690849304));v=q(q(B-m)*q(.7071067690849304));m=q(u+v);B=q(ua-m);G=q(G-ta);n[d+44>>2]=B+G;t=q(t-C);C=q(q(E*q(.3826834261417389))+q(F*q(.9238795042037964)));E=q(q(Z*q(.3826834261417389))-q(W*q(.9238795042037964)));F=q(C+E);W=q(q(H*q(.9238795042037964))+q(aa*q(.3826834261417389)));Z=q(q(ra*q(.9238795042037964))-q(oa*q(.3826834261417389)));H=q(W+Z);aa=q(F-H);n[d+40>>2]=t-aa;n[d+32>>2]=t+aa;t=q(ua+m);m=q(F+H);n[d+60>>2]=t+m;n[d+36>>2]=B-G;r=q(r+w);k=q(g+k);g=q(r-k);w=q(A+O);K=q(K+z);z=q(w-K);A=q(g+z);O=q(D+R);B=q(U+V);D=q(O-B);R=q(S+T);S=q(X+Y);T=q(R-S);F=q(q(D-T)*q(.7071067690849304));U=q(ma+na);V=q(_+$);X=q(U-V);Y=q(pa+qa);G=q(ja+ka);_=q(Y-G);$=q(q(X+_)*q(.7071067690849304));H=q(F+$);n[d+88>>2]=A+H;n[d+52>>2]=t-m;n[d+80>>2]=A-H;e=q(f+e);f=q(x+s);x=q(e-f);s=q(I+J);t=q(M+N);I=q(s-t);J=q(x-I);M=q(F-$);n[d+76>>2]=J+M;g=q(g-z);z=q(q(D+T)*q(.7071067690849304));N=q(q(_-X)*q(.7071067690849304));m=q(z-N);n[d+72>>2]=g-m;n[d+64>>2]=g+m;g=q(l-y);l=q(v-u);y=q(g+l);u=q(ha-ia);v=q(C-E);m=q(q(u-v)*q(.7071067690849304));A=q(Z-W);C=q(sa-la);D=q(q(A+C)*q(.7071067690849304));E=q(m+D);n[d+16>>2]=y-E;n[d+24>>2]=y+E;y=q(Q-ba);L=q(L-P);P=q(y-L);m=q(m-D);n[d+12>>2]=P+m;g=q(g-l);l=q(q(u+v)*q(.7071067690849304));u=q(q(A-C)*q(.7071067690849304));v=q(l-u);n[d+8>>2]=g-v;n[d>>2]=g+v;g=q(y+L);l=q(l+u);n[d+28>>2]=g+l;n[d+4>>2]=P-m;n[d+20>>2]=g-l;g=q(x+I);l=q(z+N);n[d+92>>2]=g+l;n[d+68>>2]=J-M;n[d+84>>2]=g-l;k=q(r+k);g=q(s+t);r=q(k+g);l=q(O+B);x=q(V+U);s=q(l+x);n[d+120>>2]=r+s;n[d+112>>2]=r-s;k=q(k-g);g=q(R+S);r=q(G+Y);s=q(g-r);n[d+96>>2]=k+s;n[d+104>>2]=k-s;e=q(e+f);f=q(K+w);k=q(e-f);w=q(l-x);n[d+108>>2]=k+w;n[d+100>>2]=k-w;e=q(e+f);f=q(g+r);n[d+124>>2]=e+f;n[d+116>>2]=e-f;a=a+32|0;if((c|0)>(a|0)){continue}break}}}function Kw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;C=oe-80|0;oe=C;g=Qi(a,b);a:{if(g){break a}d=j[a+2980>>2];if(!(d&1?!(!(d&8)&j[c+24>>2]==1):0)){g=Xn(a,j[c+52>>2],c+56|0,0);if(g){break a}d=j[a+2980>>2]}b:{if(d&2){break b}g=Xn(a,j[c+1624>>2],c+1628|0,1);if(g){break a}d=j[a+1524>>2];if((d|0)<1){break b}f=j[a+1532>>2];u=f+p(d,48)|0;q=j[c+1616>>2];while(1){d=ye(m[c+40>>2]/40|0,q);c:{if(!j[c+1832>>2]){break c}s=(d|0)<32?d:32;d=0;g=0;v=0;while(1){o=p(d,28)+c|0;e=j[o+1860>>2];d:{if(!(e&1)){break d}n=e>>>2&1;z=e&2;if(z>>>1^j[a+1536>>2]!=h[f+13|0]?!n:0){break d}A=o+1836|0;y=i[f>>1]-j[A>>2]|0;e=y>>31;y=ye(e^e+y,q);e=(y|0)<(s|0);s=e?y:s;g=e?A:g;v=e?n:v;if(!(h[f+12|0]&1)|(!y|n)){break d}e=i[f>>1];if((z|0)!=0^(e|0)>=j[A>>2]){break d}n=e;e=o+1848|0;z=n-j[e>>2]|0;o=z>>31;o=ye(o^o+z,q);if((o|0)>=(s|0)){break d}v=0;s=o;g=e}d=d+1|0;if(d>>>0>2]){continue}break}if(!g){break c}j[f+20>>2]=g;if(!(v&255)){break c}h[f+12|0]=k[f+12|0]|8}f=f+48|0;if(u>>>0>f>>>0){continue}break}}d=1;v=0;while(1){e:{z=d;f:{g:{if(d){d=j[a+2980>>2];if(!(d&8|j[c+24>>2]!=1)){Tn(C+16|0,a,C+12|0,C+8|0);e=j[a+24>>2];if((e|0)<1){break f}d=j[a+28>>2];e=d+p(e,40)|0;g=j[C+8>>2];o=j[C+12>>2];while(1){F=d,G=ye(i[d+12>>1],o)+g|0,j[F+16>>2]=G;d=d+40|0;if(e>>>0>d>>>0){continue}break}break f}if(!(d&1)){break g}break f}if(k[a+2980|0]&2){break e}}y=p(v,1468)+a|0;o=j[y- -64>>2];u=j[y+56>>2];A=o+p(u,48)|0;s=0;d=o;q=0;D=(u|0)<1;if(!((D|v^-1)&1)){while(1){g=k[d+12|0];h:{if(g&4){break h}e=j[d+24>>2];f=j[d+20>>2];i:{j:{if(!e|!f){break j}if(!j[e+20>>2]){g=d;break i}n=k[e+12|0];if(n&8){j[e+20>>2]=0;h[e+12|0]=n&247;f=j[d+20>>2];break j}if(!(g&8)){g=d;break i}f=0;j[d+20>>2]=0;h[d+12|0]=g&247}if(!(!e|f)){f=j[e+20>>2];g=e;e=d;if(f){break i}break h}g=d;if(!f){break h}}f=j[f+8>>2];j[g+8>>2]=f;n=k[g+12|0]|4;h[g+12|0]=n;if(!(j[e+20>>2]|!e)){r=j[e+4>>2]-j[g+4>>2]|0;g=k[e+12|0];n=Oi(a,1,r,n,g);h[e+12|0]=g|4;j[e+8>>2]=f+n}q=q?q:d}d=d+48|0;if(A>>>0>d>>>0){continue}break}}d=o;if(!D){while(1){n=k[d+12|0];k:{if(n&4){break k}g=j[d+24>>2];if(!g){s=s+1|0;break k}if(j[g+20>>2]){e=Oi(a,v,j[d+4>>2]-j[g+4>>2]|0,k[g+12|0],n);g=j[g+8>>2];h[d+12|0]=n|4;j[d+8>>2]=e+g;break k}if(!q){f=j[d+4>>2];q=j[g+4>>2]-f|0;e=Oi(a,v,q,n,k[g+12|0]);l:{if((e|0)<=95){f=f+(q>>1)|0;w=f+32&-64;r=(e|0)<65;x=w+(r?-32:-38)|0;B=f-x|0;t=B>>31;r=w|(r?32:26);w=f-r|0;f=w>>31;f=((e|0)/-2|0)+((t^t+B)<(f^f+w)?x:r)|0;j[d+8>>2]=f;j[g+8>>2]=e+f;f=j[d+8>>2];break l}f=f+32&-64;j[d+8>>2]=f}e=n|4;h[d+12|0]=e;F=g,G=Oi(a,v,q,e,k[g+12|0])+f|0,j[F+8>>2]=G;q=d;break k}f=j[q+4>>2];t=j[q+8>>2];r=j[d+4>>2];x=j[g+4>>2]-r|0;w=k[g+12|0];e=Oi(a,v,x,n,w);m:{if(w&4){f=j[g+8>>2]-e|0;e=d;break m}t=t+(r-f|0)|0;f=t+(x>>1)|0;n:{if((e|0)<=95){r=f+32&-64;t=(e|0)<65;w=r+(t?-32:-38)|0;B=f-w|0;x=B>>31;t=r|(t?32:26);r=f-t|0;f=r>>31;f=(x^x+B)<(f^f+r)?w:t;e=(e|0)/2|0;j[d+8>>2]=f-e;f=e+f|0;break n}r=t+32|0;w=r&-64;B=e>>>1|0;E=(w+B|0)-f|0;t=E>>31;x=(r+x&-64)-e|0;r=x+(B-f|0)|0;f=r>>31;f=(t^t+E)<(f^f+r)?w:x;j[d+8>>2]=f;f=e+f|0}e=g}j[e+8>>2]=f;h[d+12|0]=n|4;h[g+12|0]=k[g+12|0]|4;if(d>>>0<=o>>>0){break k}e=j[d-40>>2];if((e|0)<=j[d+8>>2]){break k}j[d+8>>2]=e}d=d+48|0;if(A>>>0>d>>>0){continue}break}}o:{if(!z){break o}d=4;f=2;e=o;p:{switch(u-6|0){case 6:e=o+48|0;d=9;f=5;break;case 0:break p;default:break o}}f=o+p(f,48)|0;g=j[f+4>>2];d=o+p(d,48)|0;n=g-j[d+4>>2]+(g-j[e+4>>2])|0;g=n>>31;if((g^g+n)>7){break o}g=j[d+8>>2];e=(j[f+8>>2]<<1)-j[e+8>>2]|0;j[d+8>>2]=e;g=g-e|0;e=j[d+24>>2];if(e){j[e+8>>2]=j[e+8>>2]-g}if((u|0)==12){j[o+392>>2]=j[o+392>>2]-g;j[o+536>>2]=j[o+536>>2]-g}h[d+12|0]=k[d+12|0]|4;if(!e){break o}h[e+12|0]=k[e+12|0]|4}q:{if(D){break q}d=o;if(!(!q|(s|0)!=0)){break q}while(1){g=k[d+12|0];r:{if(g&4){break r}r=d;s:{t:{u:{e=j[d+28>>2];if(!e){break u}s=j[e+4>>2];n=j[d+4>>2];u=s-n|0;f=u>>31;if((f^f+u)>79){break u}s=j[e+8>>2]+(n-s|0)|0;break t}e=d;if(!q){e=j[d+4>>2]+32&-64;j[d+8>>2]=e;q=d;break s}while(1){s=e;e=e-48|0;u=o>>>0>e>>>0;if(k[s-36|0]&4?0:!u){continue}break}f=d;v:{while(1){n=f;f=f+48|0;if(A>>>0<=f>>>0){break v}if(!(k[n+60|0]&4)){continue}break}if(u|d>>>0>=f>>>0|d>>>0<=e>>>0){break v}e=j[s-40>>2];u=j[n+52>>2];f=j[s-44>>2];s=e;if((u|0)==(f|0)){break t}e=Ne(j[d+4>>2]-f|0,j[n+56>>2]-e|0,u-f|0)+e|0;j[d+8>>2]=e;g=k[d+12|0];break s}s=j[q+8>>2]+((j[d+4>>2]-j[q+4>>2]|0)+16&-32)|0}e=s;j[r+8>>2]=e}h[d+12|0]=g|4;w:{if(d>>>0<=o>>>0){break w}g=j[d-40>>2];if((g|0)<=(e|0)){break w}j[d+8>>2]=g;e=g}if(!(k[d+60|0]&4)|d+48>>>0>=A>>>0){break r}g=e;e=j[d+56>>2];if((g|0)<=(e|0)){break r}j[d+8>>2]=e}d=d+48|0;if(A>>>0>d>>>0){continue}break}}g=j[y+52>>2];d=j[y+44>>2];o=g+p(d,48)|0;x:{if(!z){if((d|0)<=0){break x}while(1){d=j[g+12>>2];if(d){e=g+40|0;f=j[d+8>>2];q=j[g+44>>2];while(1){d=j[e>>2];j[d+20>>2]=f;i[d>>1]=l[d>>1]|8;e=d+32|0;if((d|0)!=(q|0)){continue}break}}g=g+48|0;if(o>>>0>g>>>0){continue}break}break x}if((d|0)<1){break x}while(1){d=j[g+12>>2];if(d){e=g+40|0;f=j[d+8>>2];q=j[g+44>>2];while(1){d=j[e>>2];j[d+16>>2]=f;i[d>>1]=l[d>>1]|4;e=d+32|0;if((d|0)!=(q|0)){continue}break}}g=g+48|0;if(o>>>0>g>>>0){continue}break}}On(a,v);Hn(a,v)}v=1;d=0;if(z){continue}}break}c=j[a+24>>2];if((c|0)<1){g=0;break a}d=j[a+28>>2];a=d+p(c,40)|0;e=j[b+4>>2];f=j[b+8>>2];while(1){j[e>>2]=j[d+16>>2];j[e+4>>2]=j[d+20>>2];g=0;b=l[d>>1];h[f|0]=b&1?0:b&2?2:1;f=f+1|0;e=e+8|0;d=d+40|0;if(a>>>0>d>>>0){continue}break}}oe=C+80|0;return g|0}function ID(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,l=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;o=oe-560|0;oe=o;j[o+44>>2]=0;rP(+b);g=oP(1)|0;oP(0)|0;a:{if((g|0)<-1?1:(g|0)<=-1){B=1;b=-b;rP(+b);g=oP(1)|0;oP(0)|0;w=227472;break a}B=1;w=227475;if(e&2048){break a}w=227478;if(e&1){break a}B=0;A=1;w=227473}b:{if((g&2146435072)==2146435072){n=B+3|0;Sf(a,32,c,n,e&-65537);Jf(a,w,B);d=f&32;Jf(a,b!=b?d?227499:227503:d?227491:227495,3);break b}x=o+16|0;c:{d:{e:{b=bq(b,o+44|0);b=b+b;if(b!=0){g=j[o+44>>2];j[o+44>>2]=g-1;C=f|32;if((C|0)!=97){break e}break c}C=f|32;if((C|0)==97){break c}n=j[o+44>>2];q=(d|0)<0?6:d;break d}n=g-29|0;j[o+44>>2]=n;b=b*268435456;q=(d|0)<0?6:d}s=(n|0)<0?o+48|0:o+336|0;m=s;while(1){d=m;if(b<4294967296&b>=0){g=~~b>>>0}else{g=0}j[d>>2]=g;m=m+4|0;b=(b- +(g>>>0))*1e9;if(b!=0){continue}break}f:{if((n|0)<1){d=n;g=m;i=s;break f}i=s;d=n;while(1){t=(d|0)<29?d:29;g=m-4|0;g:{if(i>>>0>g>>>0){break g}d=t;l=0;while(1){v=g;D=l;E=j[g>>2];u=d&31;if((d&63)>>>0>=32){l=E<>>32-u;E=E<>>0>>0?l+1|0:l;l=iP(u,l,1e9);D=v;v=gP(l,pe,1e9,0);j[D>>2]=u-v;g=g-4|0;if(i>>>0<=g>>>0){continue}break}if(!l){break g}i=i-4|0;j[i>>2]=l}while(1){g=m;if(i>>>0>>0){m=g-4|0;if(!j[m>>2]){continue}}break}d=j[o+44>>2]-t|0;j[o+44>>2]=d;m=g;if((d|0)>0){continue}break}}if((d|0)<=-1){y=((q+25|0)/9|0)+1|0;t=(C|0)==102;while(1){l=(d|0)<-9?9:0-d|0;h:{if(g>>>0<=i>>>0){i=j[i>>2]?i:i+4|0;break h}v=1e9>>>l|0;u=-1<>2];j[m>>2]=D+(d>>>l|0);d=p(v,d&u);m=m+4|0;if(m>>>0>>0){continue}break}i=j[i>>2]?i:i+4|0;if(!d){break h}j[g>>2]=d;g=g+4|0}d=j[o+44>>2]+l|0;j[o+44>>2]=d;m=t?s:i;g=g-m>>2>(y|0)?m+(y<<2)|0:g;if((d|0)<0){continue}break}}m=0;i:{if(g>>>0<=i>>>0){break i}m=p(s-i>>2,9);d=10;l=j[i>>2];if(l>>>0<10){break i}while(1){m=m+1|0;d=p(d,10);if(l>>>0>=d>>>0){continue}break}}d=(q-((C|0)==102?0:m)|0)-((C|0)==103&(q|0)!=0)|0;if((d|0)<(p(g-s>>2,9)-9|0)){l=d+9216|0;t=(l|0)/9|0;n=((t<<2)+((n|0)<0?o+48|4:o+340|0)|0)-4096|0;d=10;l=l-p(t,9)|0;if((l|0)<=7){while(1){d=p(d,10);l=l+1|0;if((l|0)!=8){continue}break}}t=j[n>>2];v=(t>>>0)/(d>>>0)|0;y=n+4|0;l=t-p(d,v)|0;j:{if(l?0:(y|0)==(g|0)){break j}u=d>>>1|0;z=l>>>0>>0?.5:(g|0)==(y|0)?(u|0)==(l|0)?1:1.5:1.5;b=v&1?9007199254740994:9007199254740992;if(!(k[w|0]!=45|A)){z=-z;b=-b}l=t-l|0;j[n>>2]=l;if(b+z==b){break j}d=d+l|0;j[n>>2]=d;if(d>>>0>=1e9){while(1){j[n>>2]=0;n=n-4|0;if(n>>>0>>0){i=i-4|0;j[i>>2]=0}d=j[n>>2]+1|0;j[n>>2]=d;if(d>>>0>999999999){continue}break}}m=p(s-i>>2,9);d=10;l=j[i>>2];if(l>>>0<10){break j}while(1){m=m+1|0;d=p(d,10);if(l>>>0>=d>>>0){continue}break}}d=n+4|0;g=d>>>0>>0?d:g}while(1){d=g;n=g>>>0<=i>>>0;if(!n){g=d-4|0;if(!j[g>>2]){continue}}break}k:{if((C|0)!=103){A=e&8;break k}g=q?q:1;l=(g|0)>(m|0)&(m|0)>-5;q=(l?m^-1:-1)+g|0;f=(l?-1:-2)+f|0;A=e&8;if(A){break k}g=-9;l:{if(n){break l}t=j[d-4>>2];if(!t){break l}l=10;g=0;if((t>>>0)%10|0){break l}while(1){n=g;g=g+1|0;l=p(l,10);if(!((t>>>0)%(l>>>0)|0)){continue}break}g=n^-1}n=p(d-s>>2,9);if((f&-33)==70){A=0;g=(g+n|0)-9|0;g=(g|0)>0?g:0;q=(g|0)>(q|0)?q:g;break k}A=0;g=((m+n|0)+g|0)-9|0;g=(g|0)>0?g:0;q=(g|0)>(q|0)?q:g}t=q|A;v=(t|0)!=0;D=a;l=c;u=f&-33;g=(m|0)>0?m:0;m:{if((u|0)==70){break m}g=m>>31;g=oi(g+m^g,0,x);if((x-g|0)<=1){while(1){g=g-1|0;h[g|0]=48;if((x-g|0)<2){continue}break}}y=g-2|0;h[y|0]=f;h[g-1|0]=(m|0)<0?45:43;g=x-y|0}n=(g+(v+(q+B|0)|0)|0)+1|0;Sf(D,32,l,n,e);Jf(a,w,B);Sf(a,48,c,n,e^65536);n:{o:{p:{if((u|0)==70){f=o+16|8;m=o+16|9;l=i>>>0>s>>>0?s:i;i=l;while(1){g=oi(j[i>>2],0,m);q:{if((i|0)!=(l|0)){if(o+16>>>0>=g>>>0){break q}while(1){g=g-1|0;h[g|0]=48;if(o+16>>>0>>0){continue}break}break q}if((g|0)!=(m|0)){break q}h[o+24|0]=48;g=f}Jf(a,g,m-g|0);i=i+4|0;if(s>>>0>=i>>>0){continue}break}if(t){Jf(a,227507,1)}if((q|0)<1|d>>>0<=i>>>0){break p}while(1){g=oi(j[i>>2],0,m);if(g>>>0>o+16>>>0){while(1){g=g-1|0;h[g|0]=48;if(o+16>>>0>>0){continue}break}}Jf(a,g,(q|0)<9?q:9);g=q-9|0;i=i+4|0;if(d>>>0<=i>>>0){break o}f=(q|0)>9;q=g;if(f){continue}break}break o}r:{if((q|0)<0){break r}s=d>>>0>i>>>0?d:i+4|0;d=o+16|8;f=o+16|9;m=i;while(1){g=oi(j[m>>2],0,f);if((f|0)==(g|0)){h[o+24|0]=48;g=d}s:{if((i|0)!=(m|0)){if(o+16>>>0>=g>>>0){break s}while(1){g=g-1|0;h[g|0]=48;if(o+16>>>0>>0){continue}break}break s}Jf(a,g,1);g=g+1|0;if((q|0)<1?!A:0){break s}Jf(a,227507,1)}v=g;g=f-g|0;Jf(a,v,(g|0)<(q|0)?g:q);q=q-g|0;m=m+4|0;if(s>>>0<=m>>>0){break r}if((q|0)>-1){continue}break}}Sf(a,48,q+18|0,18,0);Jf(a,y,x-y|0);break n}g=q}Sf(a,48,g+9|0,9,0)}break b}q=f&32;l=q?w+9|0:w;t:{if(d>>>0>11){break t}g=12-d|0;if(!g){break t}z=8;while(1){z=z*16;g=g-1|0;if(g){continue}break}if(k[l|0]==45){b=-(z+(-b-z));break t}b=b+z-z}i=j[o+44>>2];g=i>>31;g=oi(g^g+i,0,x);if((x|0)==(g|0)){h[o+15|0]=48;g=o+15|0}m=B|2;i=j[o+44>>2];s=g-2|0;h[s|0]=f+15;h[g-1|0]=(i|0)<0?45:43;n=e&8;i=o+16|0;while(1){f=i;v=i;i=q;if(r(b)<2147483648){g=~~b}else{g=-2147483648}h[v|0]=i|k[g+227456|0];b=(b- +(g|0))*16;i=f+1|0;if(!((i-(o+16|0)|0)!=1|(b==0?!((d|0)>0|n):0))){h[f+1|0]=46;i=f+2|0}if(b!=0){continue}break}g=a;f=c;if(!d|((i-o|0)-18|0)>=(d|0)){q=((x-(o+16|0)|0)-s|0)+i|0}else{q=((d+x|0)-s|0)+2|0}d=q;n=d+m|0;Sf(g,32,f,n,e);Jf(a,l,m);Sf(a,48,c,n,e^65536);f=i-(o+16|0)|0;Jf(a,o+16|0,f);d=x-s|0;Sf(a,48,q-(d+f|0)|0,0,0);Jf(a,s,d)}Sf(a,32,c,n,e^8192);oe=o+560|0;return((c|0)>(n|0)?c:n)|0}function XA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;w=oe-16|0;oe=w;s=6;q=j[a+4>>2];a:{if(!q){break a}y=c?c-1|0:0;if(y>>>0>=m[q+408>>2]){break a}b:{c:{if(d&9){break c}e=j[q+380>>2];if(!e){break c}n=j[q+416>>2];v=j[q+104>>2];c=j[q+388>>2];g=l[b+12>>1];while(1){if(!(j[c+4>>2]==l[b+14>>1]?(g|0)==j[c>>2]:0)){c=c+36|0;f=f+1|0;if((e|0)!=(f|0)){continue}break c}break}f=j[c+8>>2];if(Fe(v,j[c+24>>2]+j[q+432>>2]|0)){break c}if(_e(v,p(j[c+28>>2],((f>>>1&1)+(f&1|4)|0)+(f>>>2&1)|0))){break c}d:{f=j[c+28>>2];if(!f){break d}c=j[c+8>>2];x=c&1;z=c&2;A=c&4;r=(x|4)+(z>>>1|0)+(A>>>2)|0;c=j[(y<<4)+n>>2];B=j[v+36>>2];g=j[v+32>>2];while(1){u=f+o>>>1|0;e=g+p(u,r)|0;if(B>>>0>>0){break d}e:{if(x){t=e+2|0;e=k[e+1|0]|k[e|0]<<8;break e}t=e+1|0;e=k[e|0]}if((e|0)!=(c|0)){e=c>>>0>e>>>0;o=e?u:o;f=e?f:u;if(o>>>0>>0){continue}break d}break}f:{if(z){f=k[t+1|0]|k[t|0]<<8;c=t+2|0;break f}f=k[t|0];c=t+1|0}e=k[c|0];g:{if(A){o=2;e=k[c+1|0]<<8|e<<16;break g}o=1;e=e<<8}c=k[c+o|0];Ve(v);if(!f){break c}e=c|e;g=(y<<4)+n|0;c=j[g+4>>2];o=j[q+304>>2];n=j[q+300>>2];h:{if((o|0)==(n|0)){r=c;break h}r=Ne(c,n,o);o=j[q+304>>2];c=j[g+4>>2]}j[a+56>>2]=r;c=Ne(l[b+12>>1]<<8,c,o);if(Fe(v,e+j[q+188>>2]|0)){break c}if(_e(v,f)){break c}g=j[v+36>>2];e=j[v+32>>2];n=e;if(g>>>0>>0){break d}i:{j:{k:{l:{m:{t=k[e|0];switch((t&3)-1|0){case 2:break j;case 1:break k;case 0:break l;default:break m}}f=e+2|0;if(g>>>0>>0){break d}e=h[n+1|0];u=e>>4;n=e<<28>>28;break i}f=e+3|0;if(g>>>0>>0){break d}n=h[e+2|0];u=h[e+1|0];break i}f=e+5|0;if(g>>>0>>0){break d}n=k[e+3|0]|k[e+4|0]<<8;n=(n<<24|n<<8&16711680)>>16;e=k[e+1|0]|k[e+2|0]<<8;u=(e<<24|e<<8&16711680)>>16;break i}f=e+7|0;if(g>>>0>>0){break d}n=k[e+6|0]|(k[e+5|0]<<8|k[e+4|0]<<16);u=k[e+3|0]|(k[e+2|0]<<8|k[e+1|0]<<16)}n:{o:{p:{q:{o=t>>>2&3;r=o;switch(o-1|0){case 2:break o;case 1:break p;case 0:break q;default:break n}}e=f+1|0;if(e>>>0>g>>>0){break d}f=k[f|0];r=f&15;o=f>>>4|0;f=e;break n}e=f+2|0;if(e>>>0>g>>>0){break d}r=k[f+1|0];o=k[f|0];f=e;break n}e=f+4|0;if(e>>>0>g>>>0){break d}r=k[f+3|0]|k[f+2|0]<<8;o=k[f+1|0]|k[f|0]<<8;f=e}r:{s:{t:{u:{z=t>>>4|0;switch((z&3)-1|0){case 2:break s;case 1:break t;case 0:break u;default:break r}}e=f+1|0;if(e>>>0>g>>>0){break d}c=h[f|0]<<8;f=e;break r}e=f+2|0;if(e>>>0>g>>>0){break d}c=k[f|0]|k[f+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;f=e;break r}e=f+3|0;if(e>>>0>g>>>0){break d}c=k[f+2|0]|(k[f+1|0]<<8|k[f|0]<<16);f=e}if((2147483647-r|0)<(n|0)){break d}j[a+72>>2]=1651078259;j[a+76>>2]=r;j[a+80>>2]=o;h[a+94|0]=1;j[a+48>>2]=0;j[a+36>>2]=n<<6;j[a+32>>2]=u<<6;j[a+28>>2]=r<<6;e=o<<6;j[a+24>>2]=e;g=o+7>>>3|0;j[a+84>>2]=g;j[a+44>>2]=0-e>>1;j[a+40>>2]=(c>>2)+32&-64;c=j[b+32>>2];j[a+104>>2]=n+r;j[a+100>>2]=u;j[a+52>>2]=c;if(Bm(a,p(g,r))){break d}c=j[a+76>>2];v:{if(!c){break v}e=j[a+80>>2];if(!e){break v}u=j[v+36>>2];r=0;g=j[a+84>>2];n=j[q+208>>2]&2;x=n?g:0-g|0;o=j[a+88>>2];n=n?o:o+p(g,c-1|0)|0;t=p(c,e);w:{switch(z>>>2|0){case 0:a=u-f<<3;q=a>>>0>t>>>0?t:a;if(!q){break v}s=128;a=0;c=0;d=n;b=e;g=q;while(1){if(!((g^q)&7)){c=k[f|0];f=f+1|0}a=c<<24>>31&s|a;b=b-1|0;x:{if(!b){h[d|0]=a;a=0;s=128;b=e;n=n+x|0;d=n;break x}s=s>>>1|0;if(s){break x}h[d|0]=a;d=d+1|0;a=0;s=128}c=c<<1;g=g-1|0;if(g){continue}break}if((s|0)==128){break v}h[d|0]=a;Ve(v);break b;case 1:if(!t){break v}r=1;d=128;b=0;o=n;q=e;s=0;g=0;a=1;while(1){c=g;y:{if(r){while(1){z:{if(!a){c=s;a=1;break z}if(f>>>0>=u>>>0){a=1;c=g;g=d;break y}a=k[f|0];s=a&15;c=a>>>4|0;f=f+1|0;a=0}g=0;if(!c){continue}break}}g=a?d:0}b=g|b;q=q-1|0;A:{if(!q){h[o|0]=b;b=0;d=128;q=e;n=n+x|0;o=n;break A}d=d>>>1|0;if(d){break A}h[o|0]=b;o=o+1|0;b=0;d=128}r=(c|0)<2;g=c-1|0;t=t-1|0;if(t){continue}break}if((d|0)==128){break v}h[o|0]=b;Ve(v);break b;case 2:break w;default:break d}}if(!t){break v}c=1;s=128;d=n;b=e;g=0;a=1;while(1){B:{if(!c|f>>>0>=u>>>0){break B}C:{while(1){a=a^1;c=f+1|0;g=k[f|0];if(g){break C}f=c;if((c|0)!=(u|0)){continue}break}g=0;f=u;break B}f=c}r=(a?s:0)|r;b=b-1|0;D:{if(!b){h[d|0]=r;r=0;s=128;b=e;n=n+x|0;d=n;break D}s=s>>>1|0;if(s){break D}h[d|0]=r;d=d+1|0;r=0;s=128}c=(g|0)<2;g=g-1|0;t=t-1|0;if(t){continue}break}if((s|0)==128){break v}h[d|0]=r}Ve(v);break b}Ve(v)}if(d&16384){break a}f=j[q+416>>2];j[a+72>>2]=1869968492;j[a+108>>2]=0;c=f+(y<<4)|0;e=j[c+8>>2];c=j[c+12>>2];g=j[q+188>>2];n=j[q+104>>2];Ch(j[a+188>>2]);j[a+176>>2]=0;s=Po(a+160|0,n,g,c,e);if(s){break a}c=j[a+188>>2];g=j[c+24>>2];e=a+108|0;j[e>>2]=j[c+20>>2];j[e+4>>2]=g;j[e+16>>2]=j[c+36>>2];g=j[c+32>>2];j[e+8>>2]=j[c+28>>2];j[e+12>>2]=g;c=j[a+124>>2]&-6;j[a+124>>2]=c|4;if(!(!b|l[b+14>>1]>23)){j[a+124>>2]=c|260}j[a+52>>2]=0;j[a+40>>2]=0;c=j[(f+(y<<4)|0)+4>>2];f=j[q+304>>2];g=j[q+300>>2];if((f|0)!=(g|0)){c=Ne(c,g,f)}E:{if(h[q+324|0]&1){j[a+52>>2]=c;g=c;c=j[a+40>>2];break E}j[a+40>>2]=c;g=j[a+52>>2]}j[a+60>>2]=g;j[a+56>>2]=c;j[a+44>>2]=0;j[a+48>>2]=0;if(!(d&1)){d=j[b+20>>2];g=j[b+16>>2];b=a;if(i[a+110>>1]>=1){c=j[a+112>>2];f=0;while(1){C=c,D=ye(j[c>>2],g),j[C>>2]=D;C=c,D=ye(j[c+4>>2],d),j[C+4>>2]=D;c=c+8|0;f=f+1|0;if((f|0)>1]){continue}break}c=j[a+40>>2]}C=b,D=ye(c,g),j[C+40>>2]=D;C=a,D=ye(j[a+52>>2],d),j[C+52>>2]=D}Rg(e,w);b=j[w>>2];j[a+24>>2]=j[w+8>>2]-b;c=j[w+12>>2];d=j[w+4>>2];j[a+36>>2]=d;j[a+32>>2]=b;j[a+28>>2]=c-d}s=0}oe=w+16|0;return s|0}function Hh(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;m=oe-16|0;oe=m;n=j[a+278664>>2];j[m+8>>2]=0;l=j[a+128>>2];i=j[l+12>>2];g=k[b|0];if(g){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}a:{b:{c:{d:{e:{f:{d=f;f=j[l+4>>2];d=i+((d>>>0)%(f>>>0)<<2)|0;e=j[d>>2];if(e){f=(i+(f<<2)|0)-4|0;while(1){l=j[e>>2];if(k[l|0]==(g|0)){if(!we(l,b)){break f}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}i=j[a+278688>>2];f=0;if(g){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}l=j[a+278680>>2];d=((f>>>0)%(l>>>0)<<2)+i|0;e=j[d>>2];g:{if(e){f=((l<<2)+i|0)-4|0;while(1){o=j[e>>2];if(k[o|0]==(g|0)){if(!we(o,b)){break g}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}f=0;j[m+12>>2]=0;if(g){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}d=((f>>>0)%(l>>>0)<<2)+i|0;e=j[d>>2];h:{if(e){f=((l<<2)+i|0)-4|0;while(1){e=j[e>>2];if(k[e|0]==(g|0)){if(!we(e,b)){break h}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}d=j[a+278672>>2];d=xe(n,16,d,d+1|0,j[a+278668>>2],m+12|0);j[a+278668>>2]=d;e=j[m+12>>2];if(e){break e}d=d+(j[a+278672>>2]<<4)|0;j[d>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;g=Le(b)+1|0;f=xe(n,1,0,g,0,m+12|0);j[d>>2]=f;e=j[m+12>>2];if(e){break e}Ae(f,b,g);j[d+4>>2]=1;j[d+8>>2]=0;e=wl(j[d>>2],j[a+278672>>2]+83|0,a+278676|0,n);if(e){break e}j[a+278672>>2]=j[a+278672>>2]+1;i=j[a+278688>>2];g=k[b|0]}j[m+8>>2]=0;f=0;if(g&255){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}d=f;f=j[a+278680>>2];d=((d>>>0)%(f>>>0)<<2)+i|0;e=j[d>>2];if(e){f=((f<<2)+i|0)-4|0;g=g&255;while(1){l=j[e>>2];if((g|0)==k[l|0]){if(!we(l,b)){break g}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}e=0}d=j[a+76>>2];if((d|0)!=j[a+72>>2]){break b}if(d){break d}d=xe(n,16,0,1,0,m+8|0);j[a+80>>2]=d;if(!j[m+8>>2]){break c}break a}i:{j:{k:{l=j[a+80>>2];b=j[e+4>>2];a=l+(b<<4)|0;switch(j[a+4>>2]-1|0){case 2:break i;case 1:break j;case 0:break k;default:break a}}b=j[a+12>>2];if(b){qe[j[n+8>>2]](n,b)}j[a+12>>2]=0;if(!c|!k[c|0]){break a}t=a,u=dg(n,c,m+8|0),j[t+12>>2]=u;break a}e=0;l:{if(!c){break l}n=k[c|0];if(!n){break l}g=9680;i=10;e=(n|0)==45;a=e?c+1|0:c;d=a;e=k[c+e|0];m:{if((e|0)!=48){break m}if((k[a+1|0]|32)!=120){e=48;d=a;break m}e=k[a+2|0];g=9648;i=16;d=a+2|0}f=0;a=k[((e&248)>>>3|0)+g|0];e=e<<24>>24;if(a>>>(e&7)&1){while(1){f=k[e+9712|0]+p(f,i)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+g|0]>>>(e&7)&1){continue}break}}e=(n|0)==45?0-f|0:f}j[(l+(b<<4)|0)+12>>2]=e;break a}f=0;n:{if(!c){break n}e=k[c|0];if(!e){break n}g=9680;i=10;d=c;o:{if((e|0)!=48){break o}if((k[c+1|0]|32)!=120){e=48;d=c;break o}e=k[c+2|0];g=9648;i=16;d=c+2|0}a=k[((e&248)>>>3|0)+g|0];e=e<<24>>24;if(!(a>>>(e&7)&1)){break n}while(1){f=k[e+9712|0]+p(f,i)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+g|0]>>>(e&7)&1){continue}break}}j[(l+(b<<4)|0)+12>>2]=f;break a}j[m+8>>2]=e;break a}d=xe(n,16,d,d+1|0,j[a+80>>2],m+8|0);j[a+80>>2]=d;if(j[m+8>>2]){break a}}d=(j[a+72>>2]<<4)+d|0;j[d>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;j[a+72>>2]=j[a+72>>2]+1}l=j[a+80>>2];o=j[a+76>>2];q=l+(o<<4)|0;g=q;d=j[e+4>>2];p:{if(d>>>0>=83){d=(j[a+278668>>2]+(d<<4)|0)-1328|0;break p}d=(d<<4)+7168|0}j[g>>2]=j[d>>2];j[q+4>>2]=j[d+4>>2];j[q+8>>2]=j[d+8>>2];q:{r:{switch(j[d+4>>2]-1|0){case 0:j[q+12>>2]=0;if(!c|!k[c|0]){break q}t=q,u=dg(n,c,m+8|0),j[t+12>>2]=u;if(!j[m+8>>2]){break q}break a;case 1:e=0;s:{if(!c){break s}s=k[c|0];if(!s){break s}i=9680;r=10;e=(s|0)==45;g=e?c+1|0:c;d=g;e=k[c+e|0];t:{if((e|0)!=48){break t}if((k[g+1|0]|32)!=120){e=48;d=g;break t}e=k[g+2|0];i=9648;r=16;d=g+2|0}f=0;c=k[((e&248)>>>3|0)+i|0];e=e<<24>>24;if(c>>>(e&7)&1){while(1){f=k[e+9712|0]+p(f,r)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+i|0]>>>(e&7)&1){continue}break}}e=(s|0)==45?0-f|0:f}j[((o<<4)+l|0)+12>>2]=e;break q;case 2:break r;default:break q}}f=0;u:{if(!c){break u}e=k[c|0];if(!e){break u}i=9680;r=10;d=c;v:{if((e|0)!=48){break v}if((k[c+1|0]|32)!=120){e=48;d=c;break v}e=k[c+2|0];i=9648;r=16;d=c+2|0}c=k[((e&248)>>>3|0)+i|0];e=e<<24>>24;if(!(c>>>(e&7)&1)){break u}while(1){f=k[e+9712|0]+p(f,r)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+i|0]>>>(e&7)&1){continue}break}}j[((o<<4)+l|0)+12>>2]=f}w:{x:{if(Qe(b,7148,7)){break x}switch(k[b+7|0]){case 0:case 9:case 10:case 13:case 32:break w;default:break x}}c=wl(j[q>>2],j[a+76>>2],j[a+128>>2],n);j[m+8>>2]=c;if(c){break a}}j[a+76>>2]=j[a+76>>2]+1;y:{if(Qe(b,8670,12)){break y}z:{switch(k[b+12|0]){case 0:case 9:case 10:case 13:case 32:break z;default:break y}}j[a+36>>2]=j[((o<<4)+l|0)+12>>2];break a}A:{if(Qe(b,8551,11)){break A}B:{switch(k[b+11|0]){case 0:case 9:case 10:case 13:case 32:break B;default:break A}}j[a+40>>2]=j[((o<<4)+l|0)+12>>2];break a}C:{if(Qe(b,8563,12)){break C}D:{switch(k[b+12|0]){case 0:case 9:case 10:case 13:case 32:break D;default:break C}}j[a+44>>2]=j[((o<<4)+l|0)+12>>2];break a}if(Qe(b,6976,7)){break a}E:{switch(k[b+7|0]){case 0:case 9:case 10:case 13:case 32:break E;default:break a}}b=j[((o<<4)+l|0)+12>>2];if(!b){j[m+8>>2]=3;break a}F:{switch(k[b|0]-67|0){case 13:case 45:j[a+28>>2]=8;break a;case 10:case 42:j[a+28>>2]=16;break a;case 0:case 32:break F;default:break a}}j[a+28>>2]=32}oe=m+16|0;return j[m+8>>2]}function Xl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=q(0),m=0,o=0,s=0,t=q(0),u=0,v=0,w=0,x=0,y=0,A=q(0),B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;f=oe-4976|0;oe=f;H=j[b+1288>>2];v=j[b+1296>>2];a:{b:{c:{o=j[b+1284>>2];d:{if((o|0)<=0){break d}while(1){j[(f+1120|0)+(e<<2)>>2]=-200;e=e+1|0;if((o|0)!=(e|0)){continue}break}e=0;if((o|0)<=0){break d}while(1){j[(f+848|0)+(e<<2)>>2]=-200;e=e+1|0;if((o|0)!=(e|0)){continue}break}e=0;if((o|0)<=0){break d}Ee(f+576|0,0,o<<2);while(1){j[(f+304|0)+(e<<2)>>2]=1;e=e+1|0;if((o|0)!=(e|0)){continue}break}if((o|0)>0){break c}}if(o){break a}j[f+1392>>2]=0;j[f+1396>>2]=H;if((H|0)>=1){s=H-1|0;while(1){g=h;i=g<<2;t=n[i+d>>2];l=q(q(t*q(7.314285755157471))+q(1023.5));e:{if(q(r(l))>2]+n[v+1112>>2])^1)){I=I+1|0;u=h+u|0;m=g+m|0;x=p(g,h)+x|0;y=p(h,h)+y|0;w=p(g,g)+w|0;break f}B=B+1|0;k=h+k|0;E=g+E|0;C=p(g,h)+C|0;F=p(h,h)+F|0;D=p(g,g)+D|0}h=g+1|0;if((g|0)!=(s|0)){continue}break}}j[f+1444>>2]=B;j[f+1440>>2]=C;j[f+1436>>2]=F;j[f+1432>>2]=D;j[f+1428>>2]=k;j[f+1424>>2]=E;j[f+1420>>2]=I;j[f+1416>>2]=x;j[f+1412>>2]=y;j[f+1408>>2]=w;j[f+1404>>2]=u;j[f+1400>>2]=m;break b}Ee(f+32|0,255,o<<2);if((o|0)==1){break a}M=o-1|0;N=H-1|0;h=j[b>>2];while(1){i=(f+1392|0)+p(J,56)|0;J=J+1|0;s=j[(J<<2)+b>>2];j[i+4>>2]=s;j[i>>2]=h;u=0;w=0;y=0;x=0;E=0;k=0;m=0;D=0;F=0;C=0;B=0;K=0;G=(s|0)<(H|0)?s:N;if((G|0)>=(h|0)){while(1){g=h;L=g<<2;t=n[L+d>>2];l=q(q(t*q(7.314285755157471))+q(1023.5));g:{if(q(r(l))>2]+n[v+1112>>2])^1)){m=m+1|0;B=h+B|0;K=g+K|0;D=p(g,h)+D|0;F=p(h,h)+F|0;C=p(g,g)+C|0;break h}u=u+1|0;E=h+E|0;k=g+k|0;w=p(g,h)+w|0;y=p(h,h)+y|0;x=p(g,g)+x|0}h=g+1|0;if((g|0)!=(G|0)){continue}break}}j[i+52>>2]=u;j[i+48>>2]=w;j[i+44>>2]=y;j[i+40>>2]=x;j[i+36>>2]=E;j[i+32>>2]=k;j[i+28>>2]=m;j[i+24>>2]=D;j[i+20>>2]=F;j[i+16>>2]=C;j[i+12>>2]=B;j[i+8>>2]=K;I=m+I|0;h=s;if((J|0)!=(M|0)){continue}break}}if(!I){g=0;break a}j[f+28>>2]=-200;j[f+24>>2]=-200;Wl(f+1392|0,o-1|0,f+28|0,f+24|0,v);e=j[f+28>>2];j[f+1120>>2]=e;j[f+848>>2]=e;h=j[f+24>>2];j[f+852>>2]=h;j[f+1124>>2]=h;if((o|0)>=3){E=v+836|0;y=2;while(1){w=y<<2;s=j[(w+b|0)+520>>2];e=s<<2;C=j[e+(f+576|0)>>2];i=C<<2;h=i+(f+32|0)|0;B=j[e+(f+304|0)>>2];i:{if(j[h>>2]==(B|0)){break i}e=b+520|0;m=B<<2;I=j[e+m>>2];F=j[e+i>>2];j[h>>2]=B;j:{J=i+(f+848|0)|0;g=j[J>>2];e=j[i+(f+1120|0)>>2];h=g;k:{if((e|0)<0){break k}h=e;if((g|0)<0){break k}h=e+g>>1}k=(h|0)==-1;u=j[m+(f+848|0)>>2];K=m+(f+1120|0)|0;g=j[K>>2];e=u;l:{if((g|0)<0){break l}e=g;if((u|0)<0){break l}e=g+u>>1}u=e;if(!(k|(u|0)==-1)){k=u-h|0;D=j[m+E>>2];g=j[i+E>>2];i=D-g|0;H=(k|0)/(i|0)|0;m=g<<2;t=n[m+d>>2];l=q(q(t*q(7.314285755157471))+q(1023.5));m:{if(q(r(l))0?e:0;e=(e|0)<1023?e:1023;n:{l=t;t=n[v+1112>>2];o:{if(!(l<=q(n[c+m>>2]+t)^1)){A=q(e|0);l=q(h|0);if(A>q(n[v+1096>>2]+l)|A>2])){break o}}e=h-e|0;x=p(e,e);e=1;g=g+1|0;if((D|0)>(g|0)){e=k>>31;G=e+k^e;e=p(i,H);M=G+((e|0)<0?e:0-e|0)|0;N=(k|0)>-1?1:-1;m=0;e=h;while(1){G=g<<2;l=n[G+d>>2];A=q(q(l*q(7.314285755157471))+q(1023.5));p:{if(q(r(A))0?k:0;k=(k|0)<1023?k:1023;if(!(!k|l<=q(t+n[c+G>>2])^1)){A=q(k|0);l=q(e|0);if(A>q(n[v+1096>>2]+l)|A>2])){break o}}G=x;x=e-k|0;x=G+p(x,x)|0;m=m-(L?0:i)|0;g=g+1|0;if((D|0)!=(g|0)){continue}break}e=i}t=n[v+1096>>2];l=q(e|0);A=q(q(t*t)/l);t=n[v+1104>>2];if(A>t){break n}A=n[v+1100>>2];if(t>>0)/(e>>>0)|0)^1|t>2]=-200;j[f+16>>2]=-200;j[f+12>>2]=-200;j[f+8>>2]=-200;g=Wl((f+1392|0)+p(F,56)|0,s-F|0,f+20|0,f+16|0,v);e=Wl((f+1392|0)+p(s,56)|0,I-s|0,f+12|0,f+8|0,v);q:{if(!g){if(!e){break q}j[f+12>>2]=j[f+16>>2];j[f+8>>2]=u;break q}j[f+20>>2]=h;j[f+16>>2]=j[f+12>>2];if(e){break j}}e=j[f+20>>2];j[J>>2]=e;if(!C){j[f+1120>>2]=e}e=j[f+16>>2];j[w+(f+1120|0)>>2]=e;h=j[f+12>>2];j[w+(f+848|0)>>2]=h;g=j[f+8>>2];j[K>>2]=g;if((B|0)==1){j[f+852>>2]=g}if((e&h)<0){break i}e=s;r:{if((e|0)<1){break r}while(1){h=e-1|0;g=(f+304|0)+(h<<2)|0;if((B|0)!=j[g>>2]){break r}j[g>>2]=y;g=(e|0)>1;e=h;if(g){continue}break}}e=s+1|0;if((o|0)<=(e|0)){break i}while(1){h=(f+576|0)+(e<<2)|0;if((C|0)!=j[h>>2]){break i}j[h>>2]=y;e=e+1|0;if((o|0)!=(e|0)){continue}break}break i}j[w+(f+848|0)>>2]=-200;j[w+(f+1120|0)>>2]=-200;break i}U(1);z()}j[w+(f+848|0)>>2]=-200;j[w+(f+1120|0)>>2]=-200}y=y+1|0;if((y|0)!=(o|0)){continue}break}e=j[f+1120>>2]}g=Ff(a,o<<2);d=g;c=j[f+848>>2];a=c;s:{if((e|0)<0){break s}a=e;if((c|0)<0){break s}a=c+e>>1}j[d>>2]=a;d=g;e=j[f+852>>2];c=j[f+1124>>2];a=e;t:{if((c|0)<0){break t}a=c;if((e|0)<0){break t}a=c+e>>1}j[d+4>>2]=a;if((o|0)<3){break a}d=2;h=v+836|0;while(1){e=d<<2;a=e+b|0;s=j[a+772>>2]<<2;i=j[a+1024>>2]<<2;u=j[i+g>>2]&32767;a=(j[s+g>>2]&32767)-u|0;c=a>>31;k=c^a+c;c=j[h+i>>2];c=(p(k,j[e+h>>2]-c|0)|0)/(j[h+s>>2]-c|0)|0;s=u+((a|0)<0?0-c|0:c)|0;i=j[e+(f+848|0)>>2];c=j[e+(f+1120|0)>>2];a=i;u:{if((c|0)<0){break u}a=c;if((i|0)<0){break u}a=c+i>>1}c=s|32768;j[e+g>>2]=(a|0)<0?c:(a|0)==(s|0)?c:a;d=d+1|0;if((o|0)!=(d|0)){continue}break}}oe=f+4976|0;return g}function tL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;n=j[c+4>>2];s=j[a+8>>2];a:{if(!(k[c|0]&2)){break a}if((Sg(c)|0)>=0){break a}return-1}f=k[n+9|0];h=j[d>>2];q=j[d+4>>2];u=j[c+16>>2];t=j[c+20>>2];d=j[j[a+52>>2]+12>>2]+28|0;o=j[b+4>>2];b:{c:{if(!o){break c}if((f|0)==2){while(1){e=0;while(1){g=d+2|0;e=k[d|0]+e|0;d=k[d+1|0];d:{if(d){e=d+e|0;d=g+(d<<1)|0;break d}d=g;if(!e){break b}}if((e|0)<(s|0)){continue}break}e=(d&2)+d|0;m=0;while(1){g=l[e>>1];r=l[e+2>>1];d=((r<<2)+e|0)+4|0;e=d;m=r+(g+m|0)|0;if((s|0)>(m|0)){continue}break}o=o-1|0;if(o){continue}break c}}o=o<<1;while(1){e=0;while(1){g=d+4|0;e=l[d>>1]+e|0;d=l[d+2>>1];e:{if(d){e=d+e|0;d=g+(d<<2)|0;break e}d=g;if(!e){break b}}if((e|0)<(s|0)){continue}break}o=o-1|0;if(o){continue}break}}g=(t+p(q,u)|0)+p(f,h)|0;m=j[b>>2];if(!(j[b+8>>2]==j[a+8>>2]?!m:0)){f:{g:{a=j[c+4>>2];switch(k[a+9|0]-2|0){case 2:break f;case 0:break g;default:break b}}if(!(j[a+20>>2]!=2016?!(j[a+16>>2]==2016|j[a+12>>2]==2016):0)){g=g-(m<<1)|0;n=m+j[b+8>>2]|0;o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];h:{if(b){f=m-e|0;h=(f|0)>0;d=h?m:e;q=n-d|0;f=b-(h?f:0)|0;f=(f|0)>(q|0)?q:f;if((f|0)>=1){Ge((d<<1)+g|0,a+(d-e<<1)|0,f<<1)}e=b+e|0;d=a+(b<<1)|0;break h}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){b=l[d>>1]+b|0;f=d+4|0;e=l[d+2>>1];d=f;i:{if(!e){break i}d=m-b|0;h=(d|0)>0;a=h?m:b;q=n-a|0;d=e-(h?d:0)|0;h=(d|0)>(q|0)?q:d;if((h|0)>=1){q=(a<<1)+g|0;u=f+(a-b<<2)|0;d=0;while(1){a=j[u+(d<<2)>>2];t=q+(d<<1)|0;r=l[t>>1];r=(r<<16|r)&132184095;a=(p((a&132184095)-r|0,a>>>5&31)>>>5|0)+r&132184095;i[t>>1]=a|a>>>16;d=d+1|0;if((h|0)!=(d|0)){continue}break}}b=b+e|0;d=f+(e<<2)|0}if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b}g=g-(m<<1)|0;n=m+j[b+8>>2]|0;o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];j:{if(b){f=m-e|0;h=(f|0)>0;d=h?m:e;q=n-d|0;f=b-(h?f:0)|0;f=(f|0)>(q|0)?q:f;if((f|0)>=1){Ge((d<<1)+g|0,a+(d-e<<1)|0,f<<1)}e=b+e|0;d=a+(b<<1)|0;break j}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){b=l[d>>1]+b|0;f=d+4|0;e=l[d+2>>1];d=f;k:{if(!e){break k}d=m-b|0;h=(d|0)>0;a=h?m:b;q=n-a|0;d=e-(h?d:0)|0;h=(d|0)>(q|0)?q:d;if((h|0)>=1){q=(a<<1)+g|0;u=f+(a-b<<2)|0;d=0;while(1){a=j[u+(d<<2)>>2];t=q+(d<<1)|0;r=l[t>>1];r=(r<<16|r)&65043487;a=(p((a&65043487)-r|0,a>>>5&31)>>>5|0)+r&65043487;i[t>>1]=a|a>>>16;d=d+1|0;if((h|0)!=(d|0)){continue}break}}b=b+e|0;d=f+(e<<2)|0}if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b}g=g-(m<<2)|0;o=m+j[b+8>>2]|0;n=j[b+12>>2];while(1){e=0;while(1){a=d+4|0;e=l[d>>1]+e|0;b=l[d+2>>1];l:{if(b){f=m-e|0;h=(f|0)>0;d=h?m:e;q=o-d|0;f=b-(h?f:0)|0;f=(f|0)>(q|0)?q:f;if((f|0)>=1){Ge((d<<2)+g|0,a+(d-e<<2)|0,f<<2)}e=b+e|0;d=a+(b<<2)|0;break l}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}b=0;while(1){b=l[d>>1]+b|0;f=d+4|0;e=l[d+2>>1];d=f;m:{if(!e){break m}d=m-b|0;h=(d|0)>0;a=h?m:b;q=o-a|0;d=e-(h?d:0)|0;q=(d|0)>(q|0)?q:d;if((q|0)>=1){u=(a<<2)+g|0;t=f+(a-b<<2)|0;d=0;while(1){h=d<<2;r=h+u|0;w=j[r>>2];a=w&16711935;v=r;h=j[h+t>>2];r=h>>>24|0;x=a+(p(r,(h&16711935)-a|0)>>>8|0)&16711935;a=w&65280;j[v>>2]=x|(p((h&65280)-a|0,r)>>>8|0)+a&65280|-16777216;d=d+1|0;if((q|0)!=(d|0)){continue}break}}b=b+e|0;d=f+(e<<2)|0}if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b}n:{switch(f-2|0){case 0:if(!(j[n+20>>2]!=2016?!(j[n+16>>2]==2016|j[n+12>>2]==2016):0)){o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];o:{if(b){d=b<<1;Ge((e<<1)+g|0,a,d);e=b+e|0;d=a+d|0;break o}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){e=d+4|0;b=l[d>>1]+b|0;a=l[d+2>>1];if(a){d=(b<<1)+g|0;m=0;while(1){n=j[e>>2];f=l[d>>1];f=(f<<16|f)&132184095;n=(p((n&132184095)-f|0,n>>>5&31)>>>5|0)+f&132184095;i[d>>1]=n>>>16|n;d=d+2|0;e=e+4|0;m=m+1|0;if((a|0)!=(m|0)){continue}break}b=a+b|0}d=e;if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b}o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];p:{if(b){d=b<<1;Ge((e<<1)+g|0,a,d);e=b+e|0;d=a+d|0;break p}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){e=d+4|0;b=l[d>>1]+b|0;a=l[d+2>>1];if(a){d=(b<<1)+g|0;m=0;while(1){n=j[e>>2];f=l[d>>1];f=(f<<16|f)&65043487;n=(p((n&65043487)-f|0,n>>>5&31)>>>5|0)+f&65043487;i[d>>1]=n>>>16|n;d=d+2|0;e=e+4|0;m=m+1|0;if((a|0)!=(m|0)){continue}break}b=a+b|0}d=e;if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b;case 2:break n;default:break b}}m=j[b+12>>2];while(1){e=0;while(1){a=d+4|0;e=l[d>>1]+e|0;b=l[d+2>>1];q:{if(b){d=b<<2;Ge((e<<2)+g|0,a,d);e=b+e|0;d=a+d|0;break q}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}b=0;while(1){e=d+4|0;b=l[d>>1]+b|0;a=l[d+2>>1];if(a){d=(b<<2)+g|0;o=0;while(1){n=j[e>>2];f=n>>>24|0;h=j[d>>2];q=h&65280;r=(p(f,(n&65280)-q|0)>>>8|0)+q&65280;v=n&16711935;n=h&16711935;j[d>>2]=r|(p(f,v-n|0)>>>8|0)+n&16711935|-16777216;d=d+4|0;e=e+4|0;o=o+1|0;if((a|0)!=(o|0)){continue}break}b=a+b|0}d=e;if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;m=m-1|0;if(m){continue}break}}if(k[c|0]&2){pg(c)}return 0}function Mp(a,b,c){var d=0,e=0,f=0,g=0,o=0,s=0,t=0,u=0,v=0,x=0,y=q(0),z=0;v=oe-32|0;oe=v;e=(b>>>0)%257|0;d=p(e,84)+a|0;u=d+56|0;j[a+52>>2]=u;if(l[d+136>>1]!=(b|0)){j[u>>2]=0;j[d+60>>2]=0;g=j[d+76>>2];if(g){ze(g);j[d+76>>2]=0}e=p(e,84)+a|0;g=j[e+100>>2];if(g){ze(g);j[e+100>>2]=0}i[d+136>>1]=0;u=j[a+52>>2]}d=0;a:{if((j[u>>2]&c)==(c|0)){break a}g=j[a>>2];if(!g){d=32;break a}d=j[u+4>>2];if(!d){d=0;b:{if(!g){break b}e=j[g+92>>2];if(!e){break b}d=qe[j[j[e+12>>2]+12>>2]](e,b)|0}j[u+4>>2]=d}d=Th(g,d,j[a+21688>>2]);if(d){break a}e=j[g+84>>2];c:{if(!(c&16)){break c}o=j[u>>2];if(o&16){break c}d=(j[e+36>>2]&-64)/64|0;s=j[e+32>>2];z=(s+j[e+24>>2]|0)+63|0;d:{if(h[g+8|0]&1){x=j[a+8>>2]-d|0;f=j[e+28>>2];break d}f=i[j[g+32>>2]+(j[a+21684>>2]<<4)>>1]}t=j[e+40>>2];j[u+68>>2]=d;g=(z&-64)/64|0;j[u+60>>2]=g;j[u+56>>2]=(s&-64)/64;j[u+72>>2]=x;j[u+64>>2]=d+((f+63&-64)/-64|0);j[u+76>>2]=(t+63&-64)/64;d=j[a+24>>2];if(!(!(d&1)|h[a+20|0]&1)){g=j[a+36>>2]+g|0;j[u+60>>2]=g}if(!(!(d&2)|k[a+20|0]&2)){f=u;y=q(w(n[a+40>>2]));e:{if(q(r(y))>2]=d+g}j[u>>2]=o|16}z=c&1;f:{if(!(c&2)|k[u|0]&2?!(h[u|0]&1?0:z):0){break f}j[v+28>>2]=0;if(!(!(k[a+24|0]&2)|k[a+20|0]&2)){g=e+108|0;j[v+8>>2]=65536;f=j[a+4>>2];y=n[a+40>>2];j[v+16>>2]=0;j[v+20>>2]=65536;c=v;y=q(y*q(65536));g:{if(q(r(y))>2]=(d|0)/(f|0);rh(g,v+8|0)}h:{if(!(j[e+72>>2]==1651078259|j[a+28>>2]<1)){dz(e,v+28|0);d=kD(j[65535],v+8|0);if(d){break a}aD(j[v+8>>2],j[a+28>>2]<<6);XC(v+28|0,j[v+8>>2]);$C(j[v+8>>2]);d=Xy(v+28|0,z<<1);if(d){zj(j[v+28>>2]);break a}e=j[v+28>>2]+28|0;break h}d=Yr(e,z<<1);if(d){break a}e=e+76|0}c=j[e+4>>2];g=z?u+8|0:u+32|0;j[g>>2]=j[e>>2];j[g+4>>2]=c;c=j[e+20>>2];j[g+16>>2]=j[e+16>>2];j[g+20>>2]=c;c=j[e+12>>2];j[g+8>>2]=j[e+8>>2];j[g+12>>2]=c;c=3;i:{j:{k:{switch(k[e+18|0]-1|0){case 2:c=2;break j;case 0:break j;case 3:break k;default:break i}}c=1}j[g+8>>2]=j[g+8>>2]<>2];d=c&1;if(!(!d|h[a+20|0]&1)){f=j[a+36>>2];j[g+8>>2]=f+j[g+8>>2];j[g+4>>2]=f+j[g+4>>2]}if(!(!(c&2)|k[a+20|0]&2)){c=g;s=c;y=q(w(n[a+40>>2]));l:{if(q(r(y))>2]=f+j[c+8>>2];j[g+4>>2]=f+j[g+4>>2]}f=j[g>>2];m:{if(!f){break m}c=j[g+8>>2];o=p(f,c);f=Se(o);j[g+12>>2]=f;if(!f){d=64;break a}Ee(f,0,o);if(!j[e>>2]){break m}x=0;while(1){c=p(c,x);f=j[e+8>>2];d=p(f,x);n:{if(z){c=c+j[g+12>>2]|0;d=d+j[e+12>>2]|0;o:{switch(k[e+18|0]-1|0){case 0:s=0;if(!j[e+4>>2]){break n}while(1){f=k[d|0];h[c+7|0]=f&1;h[c|0]=f>>>7;h[c+6|0]=f>>>1&1;h[c+5|0]=f>>>2&1;h[c+4|0]=f>>>3&1;h[c+3|0]=f>>>4&1;h[c+2|0]=f>>>5&1;h[c+1|0]=f>>>6&1;c=c+8|0;d=d+1|0;s=s+8|0;if(s>>>0>2]){continue}break}break n;case 2:s=0;if(!j[e+4>>2]){break n}while(1){f=k[d|0];h[c|0]=f>>>7;h[c+3|0]=f>>>1&1;h[c+2|0]=f>>>3&1;h[c+1|0]=f>>>5&1;c=c+4|0;d=d+1|0;s=s+4|0;if(s>>>0>2]){continue}break}break n;case 3:o=0;if(!j[e+4>>2]){break n}while(1){f=k[d|0];h[c|0]=f>>>7;h[c+1|0]=f>>>3&1;c=c+2|0;d=d+1|0;o=o+2|0;if(o>>>0>2]){continue}break}break n;default:break o}}o=0;if(!j[e+4>>2]){break n}while(1){h[c|0]=k[d|0]>>>7;c=c+1|0;d=d+1|0;o=o+1|0;if(o>>>0>2]){continue}break}break n}p:{switch(k[e+18|0]-1|0){case 0:if(!j[e+4>>2]){break n}o=d+j[e+12>>2]|0;c=c+j[g+12>>2]|0;s=0;while(1){d=h[o|0];h[c|0]=d>>>7;h[c+7|0]=0-(d&1);h[c+6|0]=d<<6>>>7;h[c+5|0]=d<<5>>>7;h[c+4|0]=d<<4>>>7;h[c+3|0]=d<<3>>>7;h[c+2|0]=d<<2>>>7;h[c+1|0]=d<<1>>>7;o=o+1|0;c=c+8|0;s=s+8|0;if(s>>>0>2]){continue}break}break n;case 2:if(!j[e+4>>2]){break n}o=d+j[e+12>>2]|0;c=c+j[g+12>>2]|0;d=0;while(1){f=c;s=k[o|0];t=s>>>6&2;if(t){t=((t<<8>>>0)/3|0)-1|0}else{t=0}h[f|0]=t;f=c;t=s>>>4&2;if(t){t=((t<<8>>>0)/3|0)-1|0}else{t=0}h[f+1|0]=t;f=c;t=s>>>2&2;if(t){t=((t<<8>>>0)/3|0)-1|0}else{t=0}h[f+2|0]=t;f=c;s=s&2;if(s){s=((s<<8>>>0)/3|0)-1|0}else{s=0}h[f+3|0]=s;o=o+1|0;c=c+4|0;d=d+4|0;if(d>>>0>2]){continue}break}break n;case 3:if(!j[e+4>>2]){break n}d=d+j[e+12>>2]|0;c=c+j[g+12>>2]|0;s=0;while(1){f=c;t=k[d|0];o=t>>>4|0;if(o){o=((o<<8>>>0)/15|0)-1|0}else{o=0}h[f|0]=o;f=c;t=t&15;o=0;q:{if(!t){break q}o=((t<<8>>>0)/15|0)-1|0}h[f+1|0]=o;d=d+1|0;c=c+2|0;s=s+2|0;if(s>>>0>2]){continue}break}break n;default:break p}}Ae(c+j[g+12>>2]|0,d+j[e+12>>2]|0,f)}x=x+1|0;if(x>>>0>2]){c=j[g+8>>2];continue}break}d=j[a+24>>2]&1}r:{if(!d|h[a+20|0]&1){break r}x=j[g>>2]-1|0;if((x|0)<0){break r}o=j[a+36>>2];while(1){if((o|0)>=1){e=j[g+12>>2]+p(j[g+8>>2],x)|0;s=1;while(1){d=j[g+4>>2];c=d-1|0;if((c|0)>=1){while(1){s:{if(z){f=c+e|0;h[f|0]=k[f|0]|k[(d+e|0)-2|0];break s}f=c+e|0;d=k[(d+e|0)-2|0]+k[f|0]|0;h[f|0]=d>>>0<255?d:255}d=c;c=c-1|0;if((c|0)>0){continue}break}o=j[a+36>>2]}c=(o|0)>(s|0);s=s+1|0;if(c){continue}break}}x=x-1|0;if((x|0)>=0){continue}break}}j[u>>2]=j[u>>2]|(z?1:2);a=j[v+28>>2];if(!a){break f}zj(a)}i[u+80>>1]=b;d=0}oe=v+32|0;return d}function CK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;u=j[a+28>>2];if(u){n=k[a+63|0];o=j[a+48>>2];v=j[a+36>>2];w=j[a+16>>2];i=j[a+24>>2];x=i&3;y=(i+3|0)/4|0;f=j[a>>2];i=j[a+20>>2];s=j[a+44>>2];b=j[a+40>>2];r=k[b+9|0];t=r-1|0;while(1){a=y;a:{b:{switch(x-1|0){default:c=3;break a;case 0:c=2;break a;case 1:c=1;break a;case 2:break b}}c=0}while(1){c:{d:{switch(c|0){case 0:c=0;d=0;e=0;e:{f:{g:{switch(t|0){case 0:e=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break f;case 1:e=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break f;case 2:c=(k[b+34|0]>>>3|0)+f|0;g=(k[b+32|0]>>>3|0)+f|0;d=(k[b+33|0]>>>3|0)+f|0;break f;case 3:break g;default:break e}}e=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0}e=k[c|0];c=k[g|0];d=k[d|0]}q=d&255;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[d+1|0];m=c;c=k[d|0];m=((p(q-g|0,n)|0)/255|0)+g>>>3&28|((p(m-c|0,n)|0)/255|0)+c&-32;c=k[d+2|0];c=m|(((p((e&255)-c|0,n)|0)/255|0)+c&192)>>>6;d=i;if(o){c=k[(c&255)+o|0]}h[d|0]=c;f=f+r|0;i=i+1|0;c=1;continue;case 1:c=0;d=0;e=0;h:{i:{j:{switch(t|0){case 0:e=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break i;case 1:e=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break i;case 2:c=(k[b+34|0]>>>3|0)+f|0;g=(k[b+32|0]>>>3|0)+f|0;d=(k[b+33|0]>>>3|0)+f|0;break i;case 3:break j;default:break h}}e=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0}e=k[c|0];c=k[g|0];d=k[d|0]}q=d&255;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[d+1|0];m=c;c=k[d|0];m=((p(q-g|0,n)|0)/255|0)+g>>>3&28|((p(m-c|0,n)|0)/255|0)+c&-32;c=k[d+2|0];c=m|(((p((e&255)-c|0,n)|0)/255|0)+c&192)>>>6;d=i;if(o){c=k[(c&255)+o|0]}h[d|0]=c;f=f+r|0;i=i+1|0;c=2;continue;case 2:c=0;d=0;e=0;k:{l:{m:{switch(t|0){case 0:e=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break l;case 1:e=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break l;case 2:c=(k[b+34|0]>>>3|0)+f|0;g=(k[b+32|0]>>>3|0)+f|0;d=(k[b+33|0]>>>3|0)+f|0;break l;case 3:break m;default:break k}}e=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0}e=k[c|0];c=k[g|0];d=k[d|0]}q=d&255;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[d+1|0];m=c;c=k[d|0];m=((p(q-g|0,n)|0)/255|0)+g>>>3&28|((p(m-c|0,n)|0)/255|0)+c&-32;c=k[d+2|0];c=m|(((p((e&255)-c|0,n)|0)/255|0)+c&192)>>>6;d=u-1|0;e=i;if(o){c=k[(c&255)+o|0]}h[e|0]=c;f=f+r|0;i=i+1|0;if((a|0)<=1){break c}a=a-1|0;c=3;continue;default:break d}}d=0;e=0;c=0;n:{o:{p:{switch(t|0){case 0:d=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break o;case 1:d=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break o;case 2:c=(k[b+34|0]>>>3|0)+f|0;e=(k[b+33|0]>>>3|0)+f|0;d=(k[b+32|0]>>>3|0)+f|0;break o;case 3:break p;default:break n}}d=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}c=k[c|0];d=k[d|0];e=k[e|0]}z=e&255;e=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[e+1|0];q=d&255;d=k[e|0];m=c;c=k[e+2|0];c=((p(z-g|0,n)|0)/255|0)+g>>>3&28|((p(q-d|0,n)|0)/255|0)+d&-32|(((p(m-c|0,n)|0)/255|0)+c&192)>>>6;d=i;if(o){c=k[(c&255)+o|0]}h[d|0]=c;f=f+r|0;i=i+1|0;c=0;continue}break}i=i+v|0;f=f+w|0;u=d;if(d){continue}break}}}function UE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,r=0,s=0,t=q(0),u=0,v=q(0),w=0,x=0,y=0,z=q(0),A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=q(0),J=0,K=q(0),L=0,M=0;m=j[a+36>>2];d=j[a+64>>2];e=j[d+104>>2];i=j[d+4>>2];w=j[i+28>>2];B=j[a+104>>2];F=oe;d=j[i+4>>2]<<2;C=F-(d+15&-16)|0;c=C;oe=c;G=Ff(a,d);y=Ff(a,j[i+4>>2]<<2);H=Ff(a,j[i+4>>2]<<2);z=n[B+4>>2];d=j[i+4>>2];x=c-((d<<2)+15&-16)|0;D=x;oe=x;A=j[a+28>>2];s=j[((A<<2)+w|0)+544>>2];c=j[e+56>>2];f=j[B+8>>2];j[a+40>>2]=A;k=A?104:0;o=c+p(f,52)|0;a:{if((d|0)<=0){f=(m|0)/2|0;d=f<<2;break a}g=m-1|0;r=e+4|0;f=(m|0)/2|0;d=f<<2;I=q(+q(q(q(((tP(q(q(4)/q(m|0))),oP(2))&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))+.345);u=(m|0)<3;while(1){c=h<<2;b=j[c+j[a>>2]>>2];L=c+y|0,M=Ff(a,d),j[L>>2]=M;l=c+G|0;L=l,M=Ff(a,d),j[L>>2]=M;XE(b,r,w,j[a+24>>2],j[a+28>>2],j[a+32>>2]);zF(j[j[((j[a+28>>2]<<2)+e|0)+12>>2]>>2],b,j[l>>2]);xF((p(j[a+28>>2],12)+e|0)+20|0,b);t=q(+q(q(q(q((j[b>>2]&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))+I)+.345);n[b>>2]=t;l=c+x|0;n[l>>2]=t;c=1;if(!u){while(1){v=n[b+(c<<2)>>2];K=q(v*v);E=c+1|0;v=n[b+(E<<2)>>2];v=q(+q(q(q(q(q(((tP(q(K+q(v*v))),oP(2))&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))*q(.5))+I)+.345);n[b+(E<<1&-4)>>2]=v;t=t(c|0)){continue}break}n[l>>2]=t}if(!(t>q(0)^1)){j[l>>2]=0;t=q(0)}z=t>z?t:z;h=h+1|0;if((h|0)>2]){continue}break}}l=k+o|0;k=Ff(a,d);o=Ff(a,d);c=j[i+4>>2];if((c|0)>=1){u=0;while(1){g=u<<2;r=j[g+G>>2];E=j[(g+s|0)+4>>2];b=j[g+j[a>>2]>>2];j[a+40>>2]=A;d=g+H|0;c=Ff(a,60);j[d>>2]=c;j[c+56>>2]=0;j[c+48>>2]=0;j[c+52>>2]=0;j[c+40>>2]=0;j[c+44>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;h=b+(f<<2)|0;c=0;if((m|0)>=2){while(1){J=c<<2;n[h+J>>2]=+q(q(q((j[r+J>>2]&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))+.345;c=c+1|0;if((f|0)!=(c|0)){continue}break}}yE(l,h,k);xE(l,b,o,z,n[g+x>>2]);Pl(l,k,o,1,b,r,h);c=((E<<2)+s|0)+1028|0;g=j[c>>2]<<2;if(j[(g+w|0)+800>>2]!=1){oe=F;return-1}g=Xl(a,j[g+j[e+48>>2]>>2],h,b);j[j[d>>2]+28>>2]=g;if(!(!j[j[j[a+64>>2]+104>>2]+80>>2]|!j[j[d>>2]+28>>2])){Pl(l,k,o,2,b,r,h);g=Xl(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],h,b);j[j[d>>2]+56>>2]=g;Pl(l,k,o,0,b,r,h);b=Xl(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],h,b);j[j[d>>2]>>2]=b;b=j[d>>2];b=og(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],9362);j[j[d>>2]+4>>2]=b;b=j[d>>2];b=og(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],18724);j[j[d>>2]+8>>2]=b;b=j[d>>2];b=og(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],28086);j[j[d>>2]+12>>2]=b;b=j[d>>2];b=og(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],37449);j[j[d>>2]+16>>2]=b;b=j[d>>2];b=og(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],46811);j[j[d>>2]+20>>2]=b;b=j[d>>2];b=og(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],56173);j[j[d>>2]+24>>2]=b;b=j[d>>2];b=og(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],9362);j[j[d>>2]+32>>2]=b;b=j[d>>2];b=og(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],18724);j[j[d>>2]+36>>2]=b;b=j[d>>2];b=og(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],28086);j[j[d>>2]+40>>2]=b;b=j[d>>2];b=og(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],37449);j[j[d>>2]+44>>2]=b;b=j[d>>2];b=og(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],46811);j[j[d>>2]+48>>2]=b;b=j[j[e+48>>2]+(j[c>>2]<<2)>>2];c=j[d>>2];c=og(a,b,j[c+28>>2],j[c+56>>2],56173);j[j[d>>2]+52>>2]=c}c=j[i+4>>2];u=u+1|0;if((c|0)>(u|0)){continue}break}}n[B+4>>2]=z;d=(c<<2)+15&-16;m=D-d|0;c=m;oe=c;o=c-d|0;oe=o;d=j[j[j[a+64>>2]+104>>2]+80>>2]?0:7;x=w+2868|0;while(1){f=d<<2;h=j[(f+B|0)+12>>2];cf(h,0,1);cf(h,A,j[e+44>>2]);if(j[a+28>>2]){cf(h,j[a+24>>2],1);cf(h,j[a+32>>2],1)}b=0;c=j[i+4>>2];if((c|0)>=1){while(1){c=b<<2;L=c+C|0,M=pF(h,a,j[j[e+48>>2]+(j[((j[(c+s|0)+4>>2]<<2)+s|0)+1028>>2]<<2)>>2],j[f+j[c+H>>2]>>2],j[c+y>>2]),j[L>>2]=M;b=b+1|0;c=j[i+4>>2];if((b|0)<(c|0)){continue}break}}uE(d,x,l,s,G,y,C,j[(f+(p(j[a+28>>2],60)+w|0)|0)+3240>>2],c);b=0;if(j[s>>2]>=1){while(1){r=j[((b<<2)+s|0)+1092>>2];k=0;c=0;f=j[i+4>>2];if((f|0)>=1){while(1){g=c<<2;if(j[(g+s|0)+4>>2]==(b|0)){f=k<<2;j[f+o>>2]=j[g+C>>2]!=0;j[f+m>>2]=j[g+y>>2];k=k+1|0;f=j[i+4>>2]}c=c+1|0;if((f|0)>(c|0)){continue}break}}g=r<<2;r=(g+w|0)+1312|0;k=qe[j[j[(j[r>>2]<<2)+198156>>2]+20>>2]](a,j[g+j[e+52>>2]>>2],m,o,k)|0;f=0;c=0;u=j[i+4>>2];if((u|0)>=1){while(1){D=c<<2;if(j[(D+s|0)+4>>2]==(b|0)){j[m+(f<<2)>>2]=j[y+D>>2];f=f+1|0}c=c+1|0;if((u|0)!=(c|0)){continue}break}}qe[j[j[(j[r>>2]<<2)+198156>>2]+24>>2]](h,a,j[g+j[e+52>>2]>>2],m,o,f,k,b)|0;b=b+1|0;if((b|0)>2]){continue}break}}c=(j[j[j[a+64>>2]+104>>2]+80>>2]?14:7)>>>0>d>>>0;d=d+1|0;if(c){continue}break}oe=F;return 0}function qy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;f=oe+ -64|0;oe=f;u=j[b+532>>2];a:{if(!u){u=ch(j[j[b+96>>2]+4>>2],87988);if(!u){g=11;break a}j[b+532>>2]=u;j[b+508>>2]=j[u>>2]}B=b,C=vh(j[b+96>>2],88148),j[B+536>>2]=C;z=j[a+28>>2];j[b+140>>2]=0;j[b+132>>2]=0;j[b+136>>2]=0;e=j[a+8>>2];d=rf(a,f+8|0);g=j[f+8>>2];if(g){break a}A=b+132|0;while(1){b:{c:{d:{e:{f:{g:{if((d|0)!=2001684038){h:{if((d|0)<=1953658212){if((d|0)==65536|(d|0)==131072){break h}g=2;if((d|0)==1330926671){break h}break a}if((d|0)==1953658213|(d|0)==1953784678){break h}g=2;if((d|0)!=1954115633){break a}}j[A>>2]=1953784678;if((d|0)!=1953784678){break f}g=$e(a,88176,A);j[f+8>>2]=g;if(g){break a}d=j[b+140>>2];if(d){break g}g=8;break a}g=Fe(a,e);j[f+8>>2]=g;if(g){break a}s=j[a+28>>2];j[f+60>>2]=0;g=$e(a,88192,f+16|0);j[f+60>>2]=g;if(g){break a}g=8;d=j[f+20>>2];if((d|0)==1953784678|(d|0)==2001684038){break a}d=j[f+24>>2];if((d|0)!=j[a+4>>2]){break a}e=l[f+28>>1];if(!e|d>>>0<=p(e,20)+44>>>0){break a}d=e<<4|12;e=j[f+32>>2];if(d>>>0>=e>>>0|e&3){break a}d=j[f+44>>2];i:{if(!j[f+40>>2]){if(!(d|j[f+48>>2])){break i}break a}if(!d){break i}if(!j[f+48>>2]){break a}}if(j[f+56>>2]?!j[f+52>>2]:0){break a}v=0;o=He(s,e,f+60|0);if(j[f+60>>2]){r=0;g=0;break b}r=He(s,40,f+60|0);g=0;if(j[f+60>>2]){break b}d=l[f+28>>1];e=d;if(e){while(1){g=g+1|0;e=e>>>1|0;if(e){continue}break}}h[o|0]=k[f+23|0];h[o+1|0]=l[f+22>>1];h[o+2|0]=j[f+20>>2]>>>8;h[o+3|0]=j[f+20>>2];h[o+4|0]=k[f+29|0];e=k[f+28|0];t=g-1|0;q=16<>>8;h[o+9|0]=t;h[o+8|0]=t>>>8;h[o+7|0]=q;h[o+6|0]=q>>>8;h[o+5|0]=e;g=xe(s,24,0,l[f+28>>1],0,f+60|0);if(j[f+60>>2]){break b}v=xe(s,4,0,l[f+28>>1],0,f+60|0);if(j[f+60>>2]){break b}d=_e(a,p(l[f+28>>1],20));j[f+60>>2]=d;if(d){break b}d=0;n=0;if(l[f+28>>1]){while(1){e=p(n,24)+g|0;B=e,C=Ef(a),j[B>>2]=C;B=e,C=Ef(a),j[B+4>>2]=C;B=e,C=Ef(a),j[B+8>>2]=C;B=e,C=Ef(a),j[B+12>>2]=C;B=e,C=Ef(a),j[B+16>>2]=C;i=d;d=j[e>>2];if(i>>>0>=d>>>0){Ve(a);break c}j[(n<<2)+v>>2]=e;n=n+1|0;if(n>>>0>1]){continue}break}}Ve(a);eg(v,l[f+28>>1],4,264);w=l[f+28>>1];n=w<<4|12;e=p(w,20)+44|0;if(w){d=0;t=j[f+32>>2];q=j[f+24>>2];while(1){x=j[(d<<2)+v>>2];if(j[x+4>>2]!=(e|0)){break c}y=j[x+8>>2];if(q>>>0>>0|q-y>>>0>>0){break c}i=j[x+12>>2];if(i>>>0>>0|i>>>0>t>>>0|t-i>>>0>>0){break c}j[x+20>>2]=n;n=(i+3&-4)+n|0;e=(y+3&-4)+e|0;d=d+1|0;if((w|0)!=(d|0)){continue}break}}d=j[f+40>>2];if(d){if((d|0)!=(e|0)){break c}e=j[f+44>>2]+e|0;if(e>>>0>m[f+24>>2]){break c}}q=j[f+52>>2];if(!q){d=j[f+24>>2];break d}if((q|0)!=(e+3&-4)){break c}d=j[f+24>>2];e=q+j[f+56>>2]|0;if(d>>>0>=e>>>0){break d}break c}g=10;if(d>>>0>j[a+4>>2]>>>5>>>0){break a}B=b,C=xe(z,4,0,d,0,f+8|0),j[B+144>>2]=C;g=j[f+8>>2];if(g){break a}g=_e(a,j[b+140>>2]<<2);j[f+8>>2]=g;if(g){break a}if(j[b+140>>2]>=1){g=0;while(1){d=Ef(a);j[j[b+144>>2]+(g<<2)>>2]=d;g=g+1|0;if((g|0)>2]){continue}break}}Ve(a);g=j[f+8>>2];if(!g){break e}break a}j[b+136>>2]=65536;j[b+140>>2]=1;a=He(z,4,f+8|0);j[b+144>>2]=a;g=j[f+8>>2];if(g){break a}j[a>>2]=e}g=6;c=(c|0)>0?c:0;if((c|0)>=j[b+140>>2]){break a}a=j[b+104>>2];g=Fe(a,j[j[b+144>>2]+(c<<2)>>2]);if(g){break a}g=qe[j[u+88>>2]](b,a)|0;if(g){break a}j[b+4>>2]=c;j[b>>2]=j[b+140>>2];g=0;break a}if((d|0)!=(e|0)|j[f+32>>2]!=(n|0)){break c}if(w){n=o+12|0;d=0;while(1){i=p(d,24)+g|0;h[n|0]=k[i+3|0];h[n+1|0]=l[i+2>>1];h[n+2|0]=j[i>>2]>>>8;h[n+3|0]=j[i>>2];h[n+4|0]=k[i+19|0];h[n+5|0]=l[i+18>>1];h[n+6|0]=j[i+16>>2]>>>8;h[n+7|0]=j[i+16>>2];h[n+8|0]=k[i+23|0];h[n+9|0]=l[i+22>>1];h[n+10|0]=j[i+20>>2]>>>8;h[n+11|0]=j[i+20>>2];h[n+12|0]=k[i+15|0];h[n+13|0]=l[i+14>>1];h[n+14|0]=j[i+12>>2]>>>8;h[n+15|0]=j[i+12>>2];e=Fe(a,j[i+4>>2]);j[f+60>>2]=e;if(e){break b}e=_e(a,j[i+8>>2]);j[f+60>>2]=e;if(e){break b}q=j[i+8>>2];e=j[i+12>>2];j:{if((q|0)==(e|0)){Ae(j[i+20>>2]+o|0,j[a+32>>2],q);break j}j[f+12>>2]=e;e=uB(s,j[i+20>>2]+o|0,f+12|0,j[a+32>>2],j[i+8>>2]);j[f+60>>2]=e;if(e){break b}if(j[f+12>>2]!=j[i+12>>2]){break c}}Ve(a);t=j[i+12>>2];q=j[i+20>>2];e=t+q|0;if(e&3){Ee(e+o|0,0,((t^-1)-q&3)+1|0)}n=n+16|0;d=d+1|0;if(d>>>0>1]){continue}break}n=j[f+32>>2]}j[r+32>>2]=0;j[r+8>>2]=0;j[r+4>>2]=n;j[r>>2]=o;j[r+20>>2]=0;j[r+24>>2]=0;a=j[a+28>>2];j[r+24>>2]=265;j[r+28>>2]=a;qk(j[b+104>>2],j[b+8>>2]>>>10&1);j[b+104>>2]=r;j[b+8>>2]=j[b+8>>2]&-1025;break b}j[f+60>>2]=8}if(g){qe[j[s+8>>2]](s,g)}if(v){qe[j[s+8>>2]](s,v)}k:{if(!j[f+60>>2]){j[f+8>>2]=0;break k}if(o){qe[j[s+8>>2]](s,o)}l:{if(!r){break l}a=j[r+24>>2];if(!a){break l}qe[a|0](r)}if(r){qe[j[s+8>>2]](s,r)}g=j[f+60>>2];j[f+8>>2]=g;if(g){break a}}a=j[b+104>>2];e=j[a+8>>2];d=rf(a,f+8|0);g=j[f+8>>2];if(!g){continue}break}}oe=f- -64|0;return g|0}function Il(a,b,c,d,e,f,g){var l=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;l=oe-80|0;oe=l;j[l+76>>2]=b;B=l+55|0;y=l+56|0;b=0;a:{b:while(1){c:{if((v|0)<0){break c}if((2147483647-v|0)<(b|0)){j[67100]=61;v=-1;break c}v=b+v|0}d:{e:{f:{q=j[l+76>>2];b=q;m=k[b|0];if(m){while(1){g:{m=m&255;h:{if(!m){m=b;break h}if((m|0)!=37){break g}m=b;while(1){if(k[b+1|0]!=37){break h}n=b+2|0;j[l+76>>2]=n;m=m+1|0;r=k[b+2|0];b=n;if((r|0)==37){continue}break}}b=m-q|0;if(a){Jf(a,q,b)}if(b){continue b}m=l;b=j[l+76>>2];i:{if(!(k[b+2|0]!=36|h[j[l+76>>2]+1|0]-48>>>0>=10)){x=h[b+1|0]-48|0;z=1;b=b+3|0;break i}x=-1;b=b+1|0}j[m+76>>2]=b;s=0;w=h[b|0];n=w-32|0;j:{if(n>>>0>31){m=b;break j}m=b;n=1<>2]=m;s=n|s;w=h[b+1|0];n=w-32|0;if(n>>>0>=32){break j}b=m;n=1<>>0>=10){break m}b=j[l+76>>2];if(k[b+2|0]!=36){break m}j[((h[b+1|0]<<2)+e|0)-192>>2]=10;t=j[((h[b+1|0]<<3)+d|0)-384>>2];z=1;b=b+3|0;break l}if(z){break f}z=0;t=0;if(a){b=j[c>>2];j[c>>2]=b+4;t=j[b>>2]}b=j[l+76>>2]+1|0}j[n+76>>2]=b;if((t|0)>-1){break k}t=0-t|0;s=s|8192;break k}t=Pp(l+76|0);if((t|0)<0){break f}b=j[l+76>>2]}r=-1;n:{if(k[b|0]!=46){break n}if(k[b+1|0]==42){o:{if(h[b+2|0]-48>>>0>=10){break o}b=j[l+76>>2];if(k[b+3|0]!=36){break o}j[((h[b+2|0]<<2)+e|0)-192>>2]=10;r=j[((h[b+2|0]<<3)+d|0)-384>>2];b=b+4|0;j[l+76>>2]=b;break n}if(z){break f}if(a){b=j[c>>2];j[c>>2]=b+4;r=j[b>>2]}else{r=0}b=j[l+76>>2]+2|0;j[l+76>>2]=b;break n}j[l+76>>2]=b+1;r=Pp(l+76|0);b=j[l+76>>2]}m=0;while(1){A=m;u=-1;if(h[b|0]-65>>>0>57){break a}w=b+1|0;j[l+76>>2]=w;m=h[b|0];b=w;m=k[(m+p(A,58)|0)+226927|0];if(m-1>>>0<8){continue}break}p:{q:{if((m|0)!=19){if(!m){break a}if((x|0)>=0){j[(x<<2)+e>>2]=m;b=(x<<3)+d|0;m=j[b+4>>2];j[l+64>>2]=j[b>>2];j[l+68>>2]=m;break q}if(!a){break d}Op(l- -64|0,m,c,g);w=j[l+76>>2];break p}if((x|0)>-1){break a}}b=0;if(!a){continue b}}n=s&-65537;m=s&8192?n:s;u=0;x=226968;s=y;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{b=h[w-1|0];b=A?(b&15)==3?b&-33:b:b;switch(b-88|0){case 11:break r;case 9:case 13:case 14:case 15:break s;case 27:break x;case 12:case 17:break A;case 23:break B;case 0:case 32:break C;case 24:break D;case 22:break E;case 29:break F;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break e;default:break G}}H:{switch(b-65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break e;default:break H}}if((b|0)==83){break w}break e}b=j[l+64>>2];q=j[l+68>>2];x=226968;break z}b=0;I:{switch(A&255){case 0:j[j[l+64>>2]>>2]=v;continue b;case 1:j[j[l+64>>2]>>2]=v;continue b;case 2:m=j[l+64>>2];j[m>>2]=v;j[m+4>>2]=v>>31;continue b;case 3:i[j[l+64>>2]>>1]=v;continue b;case 4:h[j[l+64>>2]]=v;continue b;case 6:j[j[l+64>>2]>>2]=v;continue b;case 7:break I;default:continue b}}m=j[l+64>>2];j[m>>2]=v;j[m+4>>2]=v>>31;continue b}r=r>>>0>8?r:8;m=m|8;b=120}q=KD(j[l+64>>2],j[l+68>>2],y,b&32);if(!(m&8)|!(j[l+64>>2]|j[l+68>>2])){break y}x=(b>>>4|0)+226968|0;u=2;break y}q=JD(j[l+64>>2],j[l+68>>2],y);if(!(m&8)){break y}b=y-q|0;r=(b|0)<(r|0)?r:b+1|0;break y}n=j[l+68>>2];q=n;b=j[l+64>>2];if((n|0)<-1?1:(n|0)<=-1){q=0-(q+((b|0)!=0)|0)|0;b=0-b|0;j[l+64>>2]=b;j[l+68>>2]=q;u=1;x=226968;break z}if(m&2048){u=1;x=226969;break z}u=m&1;x=u?226970:226968}q=oi(b,q,y)}m=(r|0)>-1?m&-65537:m;b=j[l+64>>2];n=j[l+68>>2];if(!(!!(b|n)|r)){r=0;q=y;break e}b=!(b|n)+(y-q|0)|0;r=(b|0)<(r|0)?r:b;break e}b=j[l+64>>2];q=b?b:226978;b=Mh(q,0,r);s=b?b:r+q|0;m=n;r=b?b-q|0:r;break e}n=j[l+64>>2];if(r){break u}b=0;Sf(a,32,t,0,m);break t}j[l+12>>2]=0;j[l+8>>2]=j[l+64>>2];j[l+64>>2]=l+8;r=-1;n=l+8|0}b=0;J:{while(1){q=j[n>>2];if(!q){break J}q=Rp(l+4|0,q);s=(q|0)<0;if(!(s|q>>>0>r-b>>>0)){n=n+4|0;b=b+q|0;if(r>>>0>b>>>0){continue}break J}break}u=-1;if(s){break a}}Sf(a,32,t,b,m);if(!b){b=0;break t}w=0;n=j[l+64>>2];while(1){q=j[n>>2];if(!q){break t}q=Rp(l+4|0,q);w=q+w|0;if((w|0)>(b|0)){break t}Jf(a,l+4|0,q);n=n+4|0;if(b>>>0>w>>>0){continue}break}}Sf(a,32,t,b,m^8192);b=(b|0)<(t|0)?t:b;continue b}b=qe[f|0](a,o[l+64>>3],t,r,m,b)|0;continue b}h[l+55|0]=j[l+64>>2];r=1;q=B;m=n;break e}n=b+1|0;j[l+76>>2]=n;m=k[b+1|0];b=n;continue}}u=v;if(a){break a}if(!z){break d}b=1;while(1){a=j[(b<<2)+e>>2];if(a){Op((b<<3)+d|0,a,c,g);u=1;b=b+1|0;if((b|0)!=10){continue}break a}break}u=1;if(b>>>0>=10){break a}while(1){if(j[(b<<2)+e>>2]){break f}b=b+1|0;if((b|0)!=10){continue}break}break a}u=-1;break a}s=s-q|0;r=(r|0)<(s|0)?s:r;n=r+u|0;b=(n|0)>(t|0)?n:t;Sf(a,32,b,n,m);Jf(a,x,u);Sf(a,48,b,n,m^65536);Sf(a,48,r,s,0);Jf(a,q,s);Sf(a,32,b,n,m^8192);continue}break}u=0}oe=l+80|0;return u}function oy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;n=oe-32|0;oe=n;q=1;if((d|0)>=1){c=0;while(1){m=j[(c<<3)+e>>2]-1768386662|0;g=1;a:{if(!m){break a}if((m|0)==13){o=1}g=f}f=g;c=c+1|0;if((d|0)!=(c|0)){continue}break}}b:{if(j[j[b+128>>2]+48>>2]){break b}f=0;c=l[b+152>>1];c:{if(!c){break c}f=j[b+156>>2];d=f+(c<<4)|0;c=f;while(1){if(j[c+12>>2]?j[c>>2]==1735162214:0){break b}c=c+16|0;if(d>>>0>c>>>0){continue}break}while(1){if(j[f+12>>2]?j[f>>2]==1128678944:0){break c}f=f+16|0;if(d>>>0>f>>>0){continue}break}f=0}q=(f|0)!=0}m=j[b+532>>2];f=1;e=qe[j[b+508>>2]](b,1935829368,a,0)|0;c=(e|0)!=0&q;d:{e:{f:{if(c){break f}q=j[m+68>>2];if(!q){break f}d=0;q=qe[q|0](b,a)|0;f=(q|0)!=0;if(!e){break f}if(!q){break e}}d=f;f=qe[j[m+24>>2]](b,a)|0;if(f){break d}}if(!l[b+178>>1]){f=8;break d}s=n,t=qe[j[m+36>>2]](b,a)|0,j[s+28>>2]=t;qe[j[m+32>>2]](b,a)|0;qe[j[m+48>>2]](b,a)|0;q=qe[j[m+44>>2]](b,a)|0;g:{if(!d){d=c;break g}h:{i:{f=qe[j[m+28>>2]](b,a,0)|0;if(!f){f=qe[j[m+92>>2]](b,a,0)|0;if((f&255)!=142){break i}f=147;d=j[j[b+128>>2]+48>>2];if(!d|!j[j[d>>2]+8>>2]){break d}i[b+250>>1]=0;d=c;break h}if((f&255)!=142){break d}d=0;if(j[b+148>>2]==1953658213){break h}f=143;d=j[j[b+128>>2]+48>>2];if(!d|!j[j[d>>2]+8>>2]){break d}i[b+250>>1]=0;d=c;break h}d=c;if(f){break d}}j:{k:{f=qe[j[m+28>>2]](b,a,1)|0;if(f){break k}f=qe[j[m+92>>2]](b,a,1)|0;j[n+28>>2]=f;if(f){break k}h[b+292|0]=1;break j}if((f&255)!=142){break d}}if(!(qe[j[m+40>>2]](b,a)|0)){break g}i[b+364>>1]=65535}c=j[m+96>>2];l:{if(!c){break l}f=qe[c|0](b,a)|0;if(!f){break l}if((f&255)!=142){break d}}f=qe[j[m+64>>2]](b,a)|0;if(f){if((f&255)!=142){break d}j[b+548>>2]=0}qe[j[m+60>>2]](b,a)|0;qe[j[m+56>>2]](b,a)|0;j[b+20>>2]=0;j[b+24>>2]=0;j[b+16>>2]=l[b+264>>1];c=b+24|0;e=b+20|0;a=n;m:{n:{if(!(!(h[b+429|0]&1)|l[b+364>>1]==65535)){o:{if(!(g&255)){f=Ig(b,16,e);j[n+28>>2]=f;if(f){break d}if(j[e>>2]){break o}}f=Ig(b,1,e);j[n+28>>2]=f;if(f){break d}}if(!(o&255)){f=Ig(b,17,c);j[n+28>>2]=f;if(f){break d}}if(j[c>>2]){break m}f=Ig(b,2,c);break n}f=Ig(b,21,e);if(f){break d}f=j[e>>2];if(!(f|g&255)){f=Ig(b,16,e);if(f){break d}f=j[e>>2]}if(!f){f=Ig(b,1,e);if(f){break d}}f=Ig(b,22,c);j[n+28>>2]=f;if(f){break d}g=j[c>>2];if(!(g|o&255)){f=Ig(b,17,c);j[n+28>>2]=f;if(f){break d}g=j[c>>2]}if(g){break m}f=Ig(b,2,c)}j[a+28>>2]=f;if(f){break d}}a=j[b+8>>2];a=((j[b+732>>2]&-2)==2?a|16384:a)|d;g=a|24;g=q?g:j[b+468>>2]==196608?g:a|536;a=j[b+480>>2]?g|4:g;a=k[b+292|0]?a|32:a;o=j[b+752>>2]?a|64:a;a=l[b+152>>1];p:{if(!a){break p}e=j[b+156>>2];a=e+(a<<4)|0;g=e;while(1){if(!(!j[g+12>>2]|j[g>>2]!=1735162214)){g=e;while(1){if(!(!j[g+12>>2]|j[g>>2]!=1719034226)){q:{while(1){if(j[e+12>>2]?j[e>>2]==1735811442:0){break q}e=e+16|0;if(a>>>0>e>>>0){continue}break}e=0}o=e?o|256:o;break p}g=g+16|0;if(a>>>0>g>>>0){continue}break}break p}g=g+16|0;if(a>>>0>g>>>0){continue}break}}j[b+8>>2]=o;a=b;r:{if(!(!d|l[b+364>>1]==65535)){c=l[b+428>>1];c=c>>>4&2|(c&513)!=0;break r}c=l[b+204>>1];c=c>>>1&1|c<<1&2}j[a+12>>2]=c;my(b);d=j[b+36>>2];if((d|0)>=1){e=j[b+40>>2];f=0;while(1){c=j[e+(f<<2)>>2];a=i[c+10>>1];o=88304;g=0;s:{t:{switch(l[c+8>>1]){case 0:g=j[22081];break s;case 1:if(a){break s}g=j[22084];break s;case 3:o=a&65535;if(o>>>0>=11|!(1151>>>o&1)){break s}o=j[(a<<2)+89384>>2];break;case 2:break t;default:break s}}g=j[o+8>>2]}j[c+4>>2]=g;f=f+1|0;if((d|0)!=(f|0)){continue}break}}a=j[b+736>>2];u:{if(!a){c=j[b+8>>2];break u}d=j[j[b+104>>2]+28>>2];e=l[b+178>>1];c=l[b+366>>1];v:{if(!(!e|l[b+364>>1]==65535)){break v}e=1;c=1}g=xe(d,16,0,a,0,n+28|0);j[b+32>>2]=g;f=j[n+28>>2];if(f){break d}f=qe[j[m+108>>2]](b,0,n)|0;j[n+28>>2]=f;if(f){break d}o=a>>>0>1?a:1;q=e>>>1|0;r=c<<16>>16;d=0;while(1){w:{c=(d<<4)+g|0;i[c>>1]=j[n+20>>2]>>>6;f=l[n>>1];j[c+8>>2]=f<<6;i[c+2>>1]=(q+p(f,r)|0)/(e|0);f=l[n+2>>1]<<6;j[c+4>>2]=f;j[c+12>>2]=f;d=d+1|0;if((o|0)==(d|0)){break w}g=j[b+32>>2];f=qe[j[m+108>>2]](b,d,n)|0;j[n+28>>2]=f;if(!f){continue}break d}break}j[b+28>>2]=a;c=j[b+8>>2]|2;j[b+8>>2]=c}if(!(c&3)){c=c|1;j[b+8>>2]=c}f=0;if(!(c&1)){break d}i[b+68>>1]=l[b+178>>1];j[b+52>>2]=i[b+196>>1];j[b+56>>2]=i[b+198>>1];j[b+60>>2]=i[b+200>>1];j[b- -64>>2]=i[b+202>>1];a=l[b+220>>1];i[b+70>>1]=a;c=l[b+222>>1];i[b+72>>1]=c;i[b+74>>1]=l[b+224>>1]+(a-c|0);x:{if(a|c|l[b+364>>1]==65535){break x}a=l[b+434>>1];c=l[b+436>>1];if(a|c){i[b+72>>1]=c;i[b+70>>1]=a;i[b+74>>1]=l[b+438>>1]+(a-c|0);break x}a=l[b+440>>1];i[b+70>>1]=a;c=a;a=l[b+442>>1];i[b+74>>1]=c+a;i[b+72>>1]=0-a}i[b+76>>1]=l[b+226>>1];i[b+78>>1]=l[(k[b+292|0]?306:74)+b>>1];a=i[b+478>>1];i[b+82>>1]=a;i[b+80>>1]=l[b+476>>1]+((a|0)/-2|0)}oe=n+32|0;return f|0}function kf(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;m=oe-96|0;oe=m;q=c;w=(g&131071)<<15|f>>>17;k=i&65535;u=k;l=h;D=l<<15|g>>>17;o=(e^i)&-2147483648;p=e&65535;y=p;n=d;z=p;p=0;E=(k&131071)<<15|l>>>17;F=i>>>16&32767;M=e>>>16&32767;a:{b:{if(M-1>>>0<=32765){k=0;if(F-1>>>0<32766){break b}}r=e&2147483647;x=r;k=d;if(!(!k&(r|0)==2147418112?!(b|c):r>>>0<2147418112)){A=d;o=e|32768;break a}e=i&2147483647;r=e;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){A=h;o=i|32768;b=f;c=g;break a}if(!(b|k|(x^2147418112|c))){if(!(d|f|(g|r))){o=2147450880;b=0;c=0;break a}o=o|2147418112;b=0;c=0;break a}if(!(d|f|(r^2147418112|g))){d=b|k;e=c|x;b=0;c=0;if(!(d|e)){o=2147450880;break a}o=o|2147418112;break a}if(!(b|k|(c|x))){b=0;c=0;break a}if(!(d|f|(g|r))){b=0;c=0;break a}if((x|0)==65535|x>>>0<65535){h=b;i=c;d=!(n|y);e=d<<6;k=s(d?b:n)+32|0;b=s(d?c:y);b=e+((b|0)==32?k:b)|0;Of(m+80|0,h,i,n,y,b-15|0);n=j[m+88>>2];q=j[m+84>>2];z=j[m+92>>2];v=16-b|0;b=j[m+80>>2]}k=v;if(r>>>0>65535){break b}c=!(l|u);d=c<<6;e=s(c?f:l)+32|0;c=s(c?g:u);c=d+((c|0)==32?e:c)|0;i=c;Of(m- -64|0,f,g,l,u,c-15|0);e=j[m+76>>2];c=e;h=j[m+72>>2];d=h;d=d<<15;e=j[m+68>>2];D=e>>>17|d;d=0;f=j[m+64>>2];w=d|((e&131071)<<15|f>>>17);E=(c&131071)<<15|h>>>17;k=(v-i|0)+16|0}v=k;d=w;c=b;u=0;r=gP(d,0,b,u);b=pe;G=b;e=f;B=e<<15&-32768;l=q;g=gP(B,0,l,0);f=g+r|0;e=pe+b|0;e=f>>>0>>0?e+1|0:e;h=f;k=f;i=0;g=gP(c,u,B,C);f=i+g|0;b=k;k=k+pe|0;k=f>>>0>>0?k+1|0:k;w=f;g=k;J=(b|0)==(k|0)&f>>>0>>0|b>>>0>k>>>0;N=gP(d,t,l,H);K=pe;q=n;f=gP(B,C,n,0);b=f+N|0;k=pe+K|0;O=b;n=gP(D,0,c,u);i=b+n|0;b=b>>>0>>0?k+1|0:k;f=b+pe|0;x=i;f=i>>>0>>0?f+1|0:f;y=f;k=f;f=(e|0)==(G|0)&h>>>0>>0|e>>>0>>0;h=e+x|0;k=f+k|0;r=h;k=h>>>0>>0?k+1|0:k;n=k;e=h;h=k;Q=gP(d,t,q,P);G=pe;f=B;I=z|65536;B=p;i=gP(f,C,I,p);f=i+Q|0;k=pe+G|0;k=f>>>0>>0?k+1|0:k;R=f;C=gP(D,S,l,H);i=f+C|0;p=k;f=k+pe|0;f=i>>>0>>0?f+1|0:f;L=i;E=E&2147483647|-2147483648;i=gP(c,u,E,0);c=L+i|0;u=f;k=f+pe|0;C=c;c=c>>>0>>0?k+1|0:k;z=J;i=0;f=i+e|0;k=h+C|0;J=f;h=f;e=z+f|0;z=f>>>0>>0?k+1|0:k;f=z;f=e>>>0>>0?f+1|0:f;h=e;i=f;v=(v+(F+M|0)|0)-16383|0;f=gP(q,P,D,S);e=pe;t=gP(d,t,I,B);d=t+f|0;k=pe+e|0;k=d>>>0>>0?k+1|0:k;t=d;f=(e|0)==(k|0)&f>>>0>d>>>0|e>>>0>k>>>0;e=k;F=f;f=gP(E,T,l,H);d=f+d|0;k=pe+k|0;k=d>>>0>>0?k+1|0:k;f=d;d=k;l=(k|0)==(e|0)&f>>>0>>0|e>>>0>k>>>0;k=F+l|0;e=0;e=k>>>0>>0?1:e;t=f;l=d;F=k;f=(b|0)==(y|0)&x>>>0>>0|b>>>0>y>>>0;b=f+((b|0)==(K|0)&N>>>0>O>>>0|b>>>0>>0)|0;k=0;k=b>>>0>>0?1:k;f=b;b=t+f|0;k=d+k|0;k=b>>>0>>0?k+1|0:k;H=b;d=k;k=(k|0)==(l|0)&b>>>0>>0|k>>>0>>0;b=F+k|0;f=e;f=b>>>0>>0?f+1|0:f;e=gP(E,T,I,B);b=e+b|0;k=pe+f|0;t=b;e=b>>>0>>0?k+1|0:k;l=gP(E,T,q,P);f=pe;q=gP(D,S,I,B);b=q+l|0;k=pe+f|0;k=b>>>0>>0?k+1|0:k;q=b;b=k;k=(f|0)==(k|0)&l>>>0>q>>>0|f>>>0>k>>>0;l=b+t|0;e=e+k|0;e=l>>>0>>0?e+1|0:e;t=l;l=0;b=l+H|0;k=d+q|0;k=b>>>0>>0?k+1|0:k;f=k;l=(d|0)==(k|0)&b>>>0>>0|d>>>0>k>>>0;d=t+l|0;k=e;D=d;d=d>>>0>>0?k+1|0:k;q=b;l=f;f=(p|0)==(u|0)&R>>>0>L>>>0|p>>>0>u>>>0;e=f+((p|0)==(G|0)&Q>>>0>R>>>0|p>>>0>>0)|0;f=e;e=f+((c|0)==(u|0)&C>>>0>>0|c>>>0>>0)|0;f=e;b=c+b|0;e=f+l|0;e=b>>>0>>0?e+1|0:e;p=b;c=b;b=e;e=(e|0)==(l|0)&c>>>0>>0|e>>>0>>0;c=e+D|0;k=d;k=c>>>0>>0?k+1|0:k;d=c;l=d;e=(n|0)==(z|0)&r>>>0>J>>>0|n>>>0>z>>>0;d=e+((n|0)==(y|0)&r>>>0>>0|n>>>0>>0)|0;f=0;f=d>>>0>>0?1:f;n=d;d=d+p|0;e=b+f|0;e=d>>>0>>0?e+1|0:e;c=(b|0)==(e|0)&d>>>0

>>0|b>>>0>e>>>0;b=l+c|0;k=b>>>0>>0?k+1|0:k;c=k;c:{if(k&65536){v=v+1|0;break c}n=g>>>31|0;k=c<<1|b>>>31;b=b<<1|e>>>31;c=k;k=e<<1|d>>>31;d=d<<1|i>>>31;e=k;p=w;k=g<<1|p>>>31;w=p<<1;g=k;k=i<<1|h>>>31;h=h<<1|n;i=k}if((v|0)>=32767){o=o|2147418112;b=0;c=0;break a}d:{if((v|0)<=0){f=1-v|0;if(f>>>0>=128){b=0;c=0;break a}k=v+127|0;Of(m+48|0,w,g,h,i,k);Of(m+32|0,d,e,b,c,k);ni(m+16|0,w,g,h,i,f);ni(m,d,e,b,c,f);w=(j[m+48>>2]|j[m+56>>2])!=0|(j[m+52>>2]|j[m+60>>2])!=0|(j[m+32>>2]|j[m+16>>2]);g=j[m+36>>2]|j[m+20>>2];h=j[m+40>>2]|j[m+24>>2];i=j[m+44>>2]|j[m+28>>2];d=j[m>>2];e=j[m+4>>2];c=j[m+12>>2];b=j[m+8>>2];break d}c=c&65535|v<<16}A=b|A;o=c|o;if(!(!h&(i|0)==-2147483648?!(g|w):(i|0)>-1)){k=e;b=d+1|0;k=b>>>0<1?k+1|0:k;f=b;c=k;f=(e|0)==(k|0)&d>>>0>f>>>0|e>>>0>k>>>0;d=f+A|0;e=o;A=d;o=d>>>0>>0?e+1|0:e;break a}if(h|w|(i^-2147483648|g)){b=d;c=e;break a}c=d&1;b=c+d|0;k=e;k=b>>>0>>0?k+1|0:k;f=b;c=k;e=(e|0)==(k|0)&d>>>0>f>>>0|e>>>0>k>>>0;d=e+A|0;k=o;A=d;o=d>>>0>>0?k+1|0:k}j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=A;j[a+12>>2]=o;oe=m+96|0}function UB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0;l=oe-16|0;oe=l;f=161;g=a;if(m[a+404>>2]>=a+40>>>0){i=j[g+412>>2];h[i+64|0]=1;f=j[g+20>>2];o=i;a:{b:{c:{b=j[g+16>>2];c=k[b|0];d:{if((c|0)==30){f=If(b,f,0,l+12|0);c=j[l+12>>2];break d}e:{f:{switch(c-28|0){case 0:a=0;if(f>>>0>>0){break c}a=k[b+2|0]|k[b+1|0]<<8;break c;case 1:a=0;if(f>>>0>>0){break c}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e;default:break f}}if(c>>>0<=246){a=c-139|0;break c}e=b+2|0;if(c>>>0<=250){a=0;if(e>>>0>f>>>0){break c}a=(k[b+1|0]|c<<8)-63124|0;break c}a=0;if(e>>>0>f>>>0){break c}a=64148-(k[b+1|0]|c<<8)|0}if((a|0)<32768){break c}d=a;b=5;g:{if((a|0)<1e5){break g}b=6;if((a|0)<=999999){break g}b=7;if((a|0)<1e7){break g}b=8;if((a|0)<1e8){break g}b=(a|0)<1e9?9:10}c=b-5|0;f=j[(c<<2)+12544>>2];if(((d|0)/(f|0)|0)>=32768){c=b-4|0;f=De(a,j[(c<<2)+12544>>2]);break d}f=De(a,f)}j[i+48>>2]=f;f=0-c|0;j[l+12>>2]=f;if(c+9>>>0<10){break b}j[i+48>>2]=65536;j[i+52>>2]=0;j[i+72>>2]=0;j[i+76>>2]=0;j[i+56>>2]=0;j[i+60>>2]=65536;a=1;break a}j[i+48>>2]=a<<16;f=0;j[l+12>>2]=0;c=0}b=j[g+24>>2];e=j[g+20>>2];a=k[e|0];h:{if((a|0)==30){c=If(e,b,f,0);b=j[g+24>>2];f=j[l+12>>2];break h}i:{j:{switch(a-28|0){case 0:d=0;if(e+3>>>0>b>>>0){break i}a=k[e+1|0]|k[e+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break i;case 1:d=0;if(e+5>>>0>b>>>0){break i}a=k[e+1|0]|k[e+2|0]<<8|(k[e+3|0]<<16|k[e+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break i;default:break j}}d=a-139|0;if(a>>>0<=246){break i}n=e+2|0;if(a>>>0<=250){d=0;if(b>>>0>>0){break i}d=(k[e+1|0]|a<<8)-63124|0;break i}d=0;if(b>>>0>>0){break i}d=64148-(k[e+1|0]|a<<8)|0}a=d;a=c?p(j[(f<<2)+12544>>2],a):a;c=2147483647;if((a|0)>32767){break h}c=(a|0)<-32767?-2147483647:a<<16}j[i+56>>2]=c;c=j[g+28>>2];e=k[b|0];k:{if((e|0)==30){b=If(b,c,f,0);c=j[g+28>>2];f=j[l+12>>2];break k}l:{m:{switch(e-28|0){case 0:d=0;if(b+3>>>0>c>>>0){break l}a=k[b+1|0]|k[b+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break l;case 1:d=0;if(b+5>>>0>c>>>0){break l}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break l;default:break m}}d=e-139|0;if(e>>>0<=246){break l}a=b+2|0;if(e>>>0<=250){d=0;if(a>>>0>c>>>0){break l}d=(k[b+1|0]|e<<8)-63124|0;break l}d=0;if(a>>>0>c>>>0){break l}d=64148-(k[b+1|0]|e<<8)|0}a=d;b=2147483647;a=f?p(j[(f<<2)+12544>>2],a):a;if((a|0)>32767){break k}b=(a|0)<-32767?-2147483647:a<<16}j[i+52>>2]=b;b=j[g+32>>2];e=k[c|0];n:{if((e|0)==30){c=If(c,b,f,0);b=j[g+32>>2];f=j[l+12>>2];break n}o:{p:{switch(e-28|0){case 0:d=0;if(c+3>>>0>b>>>0){break o}a=k[c+1|0]|k[c+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break o;case 1:d=0;if(c+5>>>0>b>>>0){break o}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break o;default:break p}}d=e-139|0;if(e>>>0<=246){break o}a=c+2|0;if(e>>>0<=250){d=0;if(a>>>0>b>>>0){break o}d=(k[c+1|0]|e<<8)-63124|0;break o}d=0;if(a>>>0>b>>>0){break o}d=64148-(k[c+1|0]|e<<8)|0}a=d;c=2147483647;a=f?p(j[(f<<2)+12544>>2],a):a;if((a|0)>32767){break n}c=(a|0)<-32767?-2147483647:a<<16}j[i+60>>2]=c;c=j[g+36>>2];e=k[b|0];q:{if((e|0)==30){b=If(b,c,f,0);c=j[g+36>>2];f=j[l+12>>2];break q}r:{s:{switch(e-28|0){case 0:d=0;if(b+3>>>0>c>>>0){break r}a=k[b+1|0]|k[b+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break r;case 1:d=0;if(b+5>>>0>c>>>0){break r}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break r;default:break s}}d=e-139|0;if(e>>>0<=246){break r}a=b+2|0;if(e>>>0<=250){d=0;if(a>>>0>c>>>0){break r}d=(k[b+1|0]|e<<8)-63124|0;break r}d=0;if(a>>>0>c>>>0){break r}d=64148-(k[b+1|0]|e<<8)|0}a=d;b=2147483647;a=f?p(j[(f<<2)+12544>>2],a):a;if((a|0)>32767){break q}b=(a|0)<-32767?-2147483647:a<<16}j[i+72>>2]=b;b=j[g+40>>2];g=k[c|0];t:{if((g|0)==30){b=If(c,b,f,0);f=j[l+12>>2];break t}u:{v:{switch(g-28|0){case 0:a=0;if(b>>>0>>0){break u}a=k[c+1|0]|k[c+2|0]<<8;a=(a<<24|a<<8&16711680)>>16;break u;case 1:a=0;if(b>>>0>>0){break u}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break u;default:break v}}a=g-139|0;if(g>>>0<=246){break u}e=c+2|0;if(g>>>0<=250){a=0;if(b>>>0>>0){break u}a=(k[c+1|0]|g<<8)-63124|0;break u}a=0;if(b>>>0>>0){break u}a=64148-(k[c+1|0]|g<<8)|0}b=2147483647;a=f?p(j[(f<<2)+12544>>2],a):a;if((a|0)>32767){break t}b=(a|0)<-32767?-2147483647:a<<16}j[i+76>>2]=b;a=j[(f<<2)+12544>>2]}j[o+68>>2]=a;f=0}oe=l+16|0;return f|0}function Bx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;c=oe-18160|0;oe=c;a:{if(!a){a=6;break a}a=20;g=j[b+4>>2];if(!g){break a}f=i[g+2>>1];if(!f){a=0;break a}d=i[g>>1];if((d|0)<1){a=0;break a}e=j[g+12>>2];if(!e|!j[g+4>>2]|(f|0)!=(i[(e+(d<<1)|0)-2>>1]+1|0)){break a}k=j[b>>2];h=j[b+8>>2];f=h&2;b:{if(!f){if(!k){a=6;break a}d=j[k+4>>2];if(!d){a=0;break a}a=0;e=j[k>>2];if(!e){break a}a=6;if(!j[k+12>>2]){break a}a=19;if(!(h&1)){break a}j[c+17576>>2]=e;j[c+17572>>2]=d;j[c+17564>>2]=0;j[c+17568>>2]=0;break b}a=19;if(!(h&1)){break a}if(h&4){a=j[b+44>>2];e=c+17572|0;j[e>>2]=j[b+40>>2];j[e+4>>2]=a;a=j[b+36>>2];j[c+17564>>2]=j[b+32>>2];j[c+17568>>2]=a;break b}a=c+17572|0;j[a>>2]=32767;j[a+4>>2]=32767;j[c+17564>>2]=-32768;j[c+17568>>2]=-32768}j[c+17800>>2]=16384;j[c+16588>>2]=0;j[c+16592>>2]=0;j[c+16580>>2]=1;j[c+16584>>2]=0;j[c+16572>>2]=0;j[c+16576>>2]=0;j[c+17804>>2]=c;j[c+17796>>2]=c;a=j[g+12>>2];e=c+17528|0;j[e>>2]=j[g+8>>2];j[e+4>>2]=a;j[c+17536>>2]=j[g+16>>2];a=j[g+4>>2];j[c+17520>>2]=j[g>>2];j[c+17524>>2]=a;j[c+16592>>2]=0;j[c+16580>>2]=1;j[c+17784>>2]=0;j[c+17788>>2]=128;j[c+17772>>2]=0;c:{if(f){a=j[b+12>>2];j[c+17780>>2]=j[b+28>>2];break c}a=j[k+20>>2];b=c+17556|0;j[b>>2]=j[k+16>>2];j[b+4>>2]=a;a=j[k+12>>2];b=c+17548|0;j[b>>2]=j[k+8>>2];j[b+4>>2]=a;a=j[k+4>>2];j[c+17540>>2]=j[k>>2];j[c+17544>>2]=a;j[c+17780>>2]=c+16384;a=357}j[c+17776>>2]=a;e=0;d=i[c+17522>>1];d:{if((d|0)<=0){j[c+16548>>2]=0;j[c+16552>>2]=0;d=0;f=0;b=0;break d}a=j[c+17524>>2];b=j[a+4>>2];f=j[a>>2];e:{if((d|0)==1){e=b;d=f;break e}g=(d<<3)+a|0;h=a+8|0;e=b;d=f;while(1){a=j[a+12>>2];b=(a|0)>(b|0)?a:b;e=(a|0)<(e|0)?a:e;a=j[h>>2];f=(a|0)>(f|0)?a:f;d=(a|0)<(d|0)?a:d;a=h;h=a+8|0;if(g>>>0>h>>>0){continue}break}}d=d>>6;j[c+16548>>2]=d;f=f+63>>6;j[c+16552>>2]=f;e=e>>6;b=b+63>>6}a=0;l=j[c+17564>>2];if((l|0)>=(f|0)){break a}k=j[c+17572>>2];if((k|0)<=(d|0)){break a}g=j[c+17568>>2];if((g|0)>=(b|0)){break a}h=j[c+17576>>2];if((h|0)<=(e|0)){break a}if((d|0)<(l|0)){j[c+16548>>2]=l;d=l}if((e|0)<(g|0)){j[c+16556>>2]=g;e=g}if((f|0)>(k|0)){j[c+16552>>2]=k;f=k}if((b|0)>(h|0)){j[c+16560>>2]=h;b=h}a=b-e|0;j[c+16568>>2]=a;j[c+17828>>2]=(a|0)/128;j[c+16564>>2]=f-d;if(!j[c+17828>>2]){j[c+17828>>2]=1}if(j[c+17828>>2]>=39){j[c+17828>>2]=39}j[c+17824>>2]=e;j[c+17816>>2]=b;a=0;j[c+17832>>2]=0;j[c+17792>>2]=0;if(j[c+17832>>2]>=j[c+17828>>2]){break a}g=c+17580|0;a=128;while(1){j[c+17820>>2]=j[c+17824>>2]+a;if(!(j[c+17820>>2]<=j[c+17816>>2]?j[c+17832>>2]!=(j[c+17828>>2]-1|0):0)){j[c+17820>>2]=j[c+17816>>2]}j[c+17840>>2]=j[c+17824>>2];j[c+17844>>2]=j[c+17820>>2];j[c+17836>>2]=c+17840;if(m[c+17836>>2]>=c+17840>>>0){while(1){e=j[c+17796>>2];j[c+17804>>2]=e;d=j[j[c+17836>>2]+4>>2]-j[j[c+17836>>2]>>2]|0;j[c+17808>>2]=d;b=d<<2;a=(b|0)%16|0;a=((a|0)>0?16-a|0:0)+b|0;b=a+e|0;j[c+16584>>2]=b;f:{g:{f=a;a=j[c+17800>>2];a=a-((a|0)%16|0)|0;if((f|0)>=(a|0)){break g}a=(a+e|0)-b|0;j[c+16588>>2]=a>>4;if((a|0)<32){break g}h:{if((d|0)<1){break h}j[e>>2]=0;a=1;if((d|0)==1){break h}while(1){j[j[c+17804>>2]+(a<<2)>>2]=0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=1;j[c+16580>>2]=1;j[c+16592>>2]=0;j[c+16556>>2]=j[j[c+17836>>2]>>2];j[c+16560>>2]=j[j[c+17836>>2]+4>>2];j[c+16568>>2]=j[j[c+17836>>2]+4>>2]-j[j[c+17836>>2]>>2];b=zx(c+16384|0);if((b|0)==64){break g}if(b){break a}i:{if(!j[c+16592>>2]){break i}d=0;j[c+17772>>2]=0;if(j[c+17808>>2]>=1){while(1){f=0;b=0;a=j[j[c+17804>>2]+(d<<2)>>2];j:{if(!a){break j}while(1){k:{if(!b){break k}e=j[a>>2];if((e|0)<=(f|0)){break k}al(c+16384|0,f,d,b<<9,e-f|0)}b=j[a+4>>2]+b|0;h=b<<9;f=h-j[a+8>>2]|0;l:{if(!f){break l}e=j[a>>2];if((e|0)<0){break l}al(c+16384|0,e,d,f,1)}f=j[a>>2]+1|0;a=j[a+12>>2];if(a){continue}break}if(!b){break j}al(c+16384|0,f,d,h,j[c+16564>>2]-f|0)}d=d+1|0;if((d|0)>2]){continue}break}}b=j[c+17776>>2];if(!b){break i}a=j[c+17772>>2];if((a|0)<1){break i}qe[b|0](j[c+17784>>2],a,g,j[c+17780>>2])}j[c+17836>>2]=j[c+17836>>2]-8;break f}a=1;e=j[j[c+17836>>2]+4>>2];d=j[j[c+17836>>2]>>2];b=e-d>>1;if(!b){break a}if(j[c+17788>>2]<=(d-e|0)){j[c+17792>>2]=j[c+17792>>2]+1}j[j[c+17836>>2]+8>>2]=d;a=b+d|0;j[j[c+17836>>2]+12>>2]=a;j[j[c+17836>>2]>>2]=a;j[j[c+17836>>2]+4>>2]=e;j[c+17836>>2]=j[c+17836>>2]+8}if(m[c+17836>>2]>=c+17840>>>0){continue}break}}j[c+17832>>2]=j[c+17832>>2]+1;j[c+17824>>2]=j[c+17820>>2];if(j[c+17832>>2]>2]){a=j[c+17788>>2];continue}break}a=0;if(j[c+17792>>2]<9){break a}b=j[c+17788>>2];if((b|0)<17){break a}j[c+17788>>2]=b>>>1}oe=c+18160|0;return a|0}function em(a,b){var c=0,d=0,e=0,f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=oe-112|0;oe=g;a:{if(!a){j[g>>2]=15e4;ve(149974,g);break a}if(!b){j[g+16>>2]=150164;ve(149974,g+16|0);break a}b:{c=j[b+4>>2];if(!c){break b}n=j[c>>2];c:{if((n|0)<1){c=0;break c}f=j[c+4>>2];c=0;while(1){d=f+(c<<2)|0;if(k[d|0]!=255|k[d+1|0]!=255|k[d+2|0]!=255){break c}c=c+1|0;if((n|0)>(c|0)){continue}break}}if((c|0)!=(n|0)){break b}ve(150171,0);break a}d=j[a+12>>2];f=j[a+8>>2];c=dk(k[b+8|0],j[b+12>>2],j[b+16>>2],j[b+20>>2],j[b+24>>2]);if(!c){ve(149907,0);break a}e=bk(f,d,c);if(!e){e=0;break a}f=j[b+4>>2];d:{if(!f){break d}c=j[j[e+4>>2]+4>>2];if(!c){break d}Ge(j[c+4>>2],j[f+4>>2],j[f>>2]<<2);j[j[j[e+4>>2]+4>>2]>>2]=j[j[b+4>>2]>>2]}c=j[a+52>>2];r=k[c+79|0];q=k[c+78|0];p=k[c+77|0];n=k[c+76|0];f=-1;j[c+76>>2]=-1;t=j[c+68>>2];j[c+68>>2]=0;wf(c);j[g+80>>2]=0;j[g+84>>2]=0;j[g+88>>2]=j[a+8>>2];j[g+92>>2]=j[a+12>>2];c=j[a+52>>2];e:{f:{g:{if(j[c>>2]!=(e|0)){break g}d=j[j[e+4>>2]+4>>2];if(j[c+80>>2]!=j[d+8>>2]?d:0){break g}d=j[j[a+4>>2]+4>>2];if(!d|j[c+84>>2]==j[d+8>>2]){break f}}if((ck(a,e)|0)<0){break e}c=j[a+52>>2]}f=qe[j[c+8>>2]](a,g+80|0,e,g+80|0)|0}c=j[e+52>>2];h[c+79|0]=r;h[c+78|0]=q;h[c+77|0]=p;h[c+76|0]=n;j[c+68>>2]=t&-28945;c=j[a+52>>2];h[c+79|0]=r;h[c+78|0]=q;h[c+77|0]=p;h[c+76|0]=n;j[c+68>>2]=t;wf(c);if((f|0)<=-1){lf(e);e=0;break a}h:{if(!(t&256)){break h}i:{j:{k:{l:{m:{d=j[a+4>>2];n=j[d+4>>2];f=1;n:{if(!n){break n}f=j[b+4>>2];o:{if(!f){break o}c=j[n>>2];if((c|0)>j[f>>2]){break o}if(!xf(j[n+4>>2],j[f+4>>2],c<<2)){break m}d=j[a+4>>2]}f=!j[b+24>>2]}c=0;j[g+96>>2]=0;d=dk(k[d+8|0],j[d+12>>2],j[d+16>>2],j[d+20>>2],j[d+24>>2]);if(!d){break k}c=bk(1,1,d);d=j[j[a+4>>2]+4>>2];if(!d){break i}if(c){break l}break j}c=j[j[e+4>>2]+4>>2];f=j[j[a+52>>2]+72>>2];if(!(!c|f>>>0>2])){j[g+64>>2]=150008;ve(149974,g- -64|0);break h}d=j[e+52>>2];j[d+72>>2]=f;f=j[d+68>>2];c=f|256;j[d+68>>2]=c;if((c|0)==(f|0)){break h}wf(d);break h}if((hm(j[c+4>>2],d)|0)<0){break i}wf(j[c+52>>2]);break i}ve(149907,0);if(!j[j[a+4>>2]+4>>2]){break i}}c=0;ve(149928,0)}Qh(c,0,j[j[a+52>>2]+72>>2]);d=j[c+52>>2];j[d+68>>2]=j[d+68>>2]&-257;d=em(c,b);Ge(g+96|0,j[d+20>>2],k[j[d+4>>2]+9|0]);lf(c);lf(d);c=j[j[e+4>>2]+4>>2];d=j[g+96>>2];p:{if(!(!c|d>>>0>2])){j[g+48>>2]=150008;ve(149974,g+48|0);break p}n=j[e+52>>2];j[n+72>>2]=d;d=j[n+68>>2];c=d|256;j[n+68>>2]=c;if((c|0)==(d|0)){break p}wf(n)}if(!(h[j[e+52>>2]+69|0]&1)){break h}s=j[e+4>>2];if(!j[s+24>>2]){break h}c=j[e+28>>2];q:{if(c){break q}c=0;if(!(k[e|0]&2)){break q}Bi(e,1);j[e>>2]=j[e>>2]|2;s=j[e+4>>2];c=j[e+28>>2]}c=c+1|0;j[e+28>>2]=c;r:{s:{t:{switch(k[s+9|0]-2|0){case 0:u=l[s+24>>1]^-1;c=j[j[e+52>>2]+72>>2];if(f){f=j[e+12>>2];if(!f){break s}n=j[e+8>>2];p=j[e+20>>2];o=j[e+16>>2]/2<<1;r=c&u;q=r&65535;while(1){f=f-1|0;c=p;d=n;if(d){while(1){d=d-1|0;if((q|0)==(l[c>>1]&u)){i[c>>1]=r}c=c+2|0;if(d){continue}break}}p=o+p|0;if(f){continue}break}break s}o=j[e+12>>2];if(!o){break s}r=c&u;n=j[e+8>>2];f=j[e+20>>2];q=j[e+16>>2]/2<<1;p=c&65535;while(1){o=o-1|0;c=f;d=n;if(d){while(1){d=d-1|0;if((p|0)==l[c>>1]){i[c>>1]=r}c=c+2|0;if(d){continue}break}}f=f+q|0;if(o){continue}break}break s;case 2:break t;default:break r}}q=j[s+24>>2]^-1;p=j[j[e+52>>2]+72>>2];if(f){o=j[e+12>>2];if(!o){break s}n=p&q;f=j[e+20>>2];while(1){o=o-1|0;c=f;d=j[e+8>>2];if(d){while(1){d=d-1|0;if((n|0)==(q&j[c>>2])){j[c>>2]=n}c=c+4|0;if(d){continue}break}}f=(j[e+16>>2]/4<<2)+f|0;if(o){continue}break}break s}o=j[e+12>>2];if(!o){break s}n=p&q;f=j[e+20>>2];while(1){o=o-1|0;c=f;d=j[e+8>>2];if(d){while(1){d=d-1|0;if((p|0)==j[c>>2]){j[c>>2]=n}c=c+4|0;if(d){continue}break}}f=(j[e+16>>2]/4<<2)+f|0;if(o){continue}break}}c=j[e+28>>2]}u:{if(!c){break u}j[e+28>>2]=c-1;if((c|0)>1){break u}c=j[e>>2];if(!(c&2)){break u}j[e>>2]=c&-3;hk(e);s=j[e+4>>2]}c=j[s+4>>2];v:{if(!(!c|j[c>>2])){j[g+32>>2]=150008;ve(149974,g+32|0);break v}d=j[e+52>>2];c=j[d+68>>2];f=c&-257;j[d+68>>2]=f;if((c|0)==(f|0)){break v}wf(d)}d=j[e+52>>2];c=j[d+68>>2];f=c&-113|16;j[d+68>>2]=f;if((c|0)==(f|0)){break h}wf(d)}j[g+96>>2]=0;j[g+100>>2]=0;j[g+104>>2]=j[e+8>>2];j[g+108>>2]=j[e+12>>2];Tg(a+36|0,g+96|0,e+36|0);w:{if(t&2?0:!(j[b+24>>2]?j[j[a+4>>2]+24>>2]:0)){break w}c=j[e+52>>2];a=j[c+68>>2];b=a&-113|16;j[c+68>>2]=b;if((a|0)==(b|0)){break w}wf(c)}if(!(t&4096)){break a}c=j[e+52>>2];a=j[c+68>>2];b=a|4096;j[c+68>>2]=b;if((a|0)==(b|0)){break a}wf(c)}oe=g+112|0;return e}function ED(a,b,c,d,e,f){var g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=oe-432|0;oe=g;h=j[b+4>>2];a:{if(h>>>0>2]){j[b+4>>2]=h+1;i=k[h|0];break a}i=ff(b)}b:{c:{while(1){if((i|0)!=48){d:{if((i|0)!=46){break b}h=j[b+4>>2];if(h>>>0>=m[b+104>>2]){break d}j[b+4>>2]=h+1;i=k[h|0];break c}}else{h=j[b+4>>2];if(h>>>0>2]){z=1;j[b+4>>2]=h+1;i=k[h|0]}else{z=1;i=ff(b)}continue}break}i=ff(b)}y=1;if((i|0)!=48){break b}while(1){h=u;u=h-1|0;v=v-(h>>>0<1)|0;h=j[b+4>>2];e:{if(h>>>0>2]){j[b+4>>2]=h+1;i=k[h|0];break e}i=ff(b)}if((i|0)==48){continue}break}z=1}h=1073676288;while(1){f:{A=i|32;g:{h:{B=i-48|0;if(B>>>0<10){break h}if(A-97>>>0>5?(i|0)!=46:0){break f}if((i|0)!=46){break h}if(y){break f}y=1;u=p;v=l;break g}i=(i|0)>57?A-87|0:B;i:{if((l|0)<0?1:(l|0)<=0?p>>>0<=7:0){r=i+(r<<4)|0;break i}if((l|0)<0?1:(l|0)<=0?p>>>0<=28:0){ag(g+48|0,i);kf(g+32|0,w,x,q,h,0,0,0,1073414144);w=j[g+32>>2];x=j[g+36>>2];q=j[g+40>>2];h=j[g+44>>2];kf(g+16|0,w,x,q,h,j[g+48>>2],j[g+52>>2],j[g+56>>2],j[g+60>>2]);Xf(g,n,o,s,t,j[g+16>>2],j[g+20>>2],j[g+24>>2],j[g+28>>2]);s=j[g+8>>2];t=j[g+12>>2];n=j[g>>2];o=j[g+4>>2];break i}if(!i|E){break i}kf(g+80|0,w,x,q,h,0,0,0,1073610752);Xf(g- -64|0,n,o,s,t,j[g+80>>2],j[g+84>>2],j[g+88>>2],j[g+92>>2]);s=j[g+72>>2];t=j[g+76>>2];E=1;n=j[g+64>>2];o=j[g+68>>2]}p=p+1|0;l=p>>>0<1?l+1|0:l;z=1}i=j[b+4>>2];if(i>>>0>2]){j[b+4>>2]=i+1;i=k[i|0]}else{i=ff(b)}continue}break}j:{k:{l:{if(!z){if(!j[b+104>>2]){if(f){break k}break l}c=j[b+4>>2];j[b+4>>2]=c-1;if(!f){break l}j[b+4>>2]=c-2;if(!y){break k}j[b+4>>2]=c-3;break k}if((l|0)<0?1:(l|0)<=0?p>>>0<=7:0){q=p;h=l;while(1){r=r<<4;q=q+1|0;h=q>>>0<1?h+1|0:h;if((q|0)!=8|h){continue}break}}m:{if((i&-33)==80){q=Ip(b,f);i=pe;h=i;if(q|(h|0)!=-2147483648){break m}if(f){q=0;h=0;if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1;break m}n=0;o=0;kg(b,0,0);c=0;b=0;break j}q=0;h=0;if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1}if(!r){Ng(g+112|0,+(e|0)*0);n=j[g+112>>2];o=j[g+116>>2];c=j[g+120>>2];b=j[g+124>>2];break j}f=y?u:p;b=(y?v:l)<<2|f>>>30;f=q+(f<<2)|0;l=b+h|0;b=f;p=b-32|0;l=(b>>>0>>0?l+1|0:l)-(b>>>0<32)|0;b=l;if((b|0)>0?1:(b|0)>=0?p>>>0>0-d>>>0:0){j[67100]=68;ag(g+160|0,e);kf(g+144|0,j[g+160>>2],j[g+164>>2],j[g+168>>2],j[g+172>>2],-1,-1,-1,2147418111);kf(g+128|0,j[g+144>>2],j[g+148>>2],j[g+152>>2],j[g+156>>2],-1,-1,-1,2147418111);n=j[g+128>>2];o=j[g+132>>2];c=j[g+136>>2];b=j[g+140>>2];break j}b=d-226|0;f=p>>>0>=b>>>0;b=b>>31;if((b|0)<(l|0)?1:(l|0)>=(b|0)?f:0){if((r|0)>-1){while(1){Xf(g+416|0,n,o,s,t,0,0,0,-1073807360);h=Bp(n,o,s,t,1073610752);f=(h|0)<0;b=f;Xf(g+400|0,n,o,s,t,b?n:j[g+416>>2],b?o:j[g+420>>2],b?s:j[g+424>>2],b?t:j[g+428>>2]);b=p;p=b-1|0;l=l-(b>>>0<1)|0;s=j[g+408>>2];t=j[g+412>>2];n=j[g+400>>2];o=j[g+404>>2];r=r<<1|(h|0)>-1;if((r|0)>-1){continue}break}}b=d;h=(p-b|0)+32|0;l=l-((b>>31)+(b>>>0>p>>>0)|0)|0;b=h;l=b>>>0<32?l+1|0:l;c=((l|0)<0?1:(l|0)<=0?c>>>0>b>>>0:0)?(b|0)>0?b:0:c;n:{if((c|0)>=113){ag(g+384|0,e);u=j[g+392>>2];v=j[g+396>>2];w=j[g+384>>2];x=j[g+388>>2];d=0;b=0;break n}Ng(g+352|0,Mg(1,144-c|0));ag(g+336|0,e);w=j[g+336>>2];x=j[g+340>>2];u=j[g+344>>2];v=j[g+348>>2];Lp(g+368|0,j[g+352>>2],j[g+356>>2],j[g+360>>2],j[g+364>>2],w,x,u,v);C=j[g+376>>2];D=j[g+380>>2];d=j[g+372>>2];b=j[g+368>>2]}c=!(r&1)&((Kh(n,o,s,t,0,0,0,0)|0)!=0&(c|0)<32);mi(g+320|0,c+r|0);kf(g+304|0,w,x,u,v,j[g+320>>2],j[g+324>>2],j[g+328>>2],j[g+332>>2]);Xf(g+272|0,j[g+304>>2],j[g+308>>2],j[g+312>>2],j[g+316>>2],b,d,C,D);kf(g+288|0,c?0:n,c?0:o,c?0:s,c?0:t,w,x,u,v);Xf(g+256|0,j[g+288>>2],j[g+292>>2],j[g+296>>2],j[g+300>>2],j[g+272>>2],j[g+276>>2],j[g+280>>2],j[g+284>>2]);Fl(g+240|0,j[g+256>>2],j[g+260>>2],j[g+264>>2],j[g+268>>2],b,d,C,D);e=j[g+240>>2];d=j[g+244>>2];c=j[g+248>>2];b=j[g+252>>2];if(!Kh(e,d,c,b,0,0,0,0)){j[67100]=68}Kp(g+224|0,e,d,c,b,p);n=j[g+224>>2];o=j[g+228>>2];c=j[g+232>>2];b=j[g+236>>2];break j}j[67100]=68;ag(g+208|0,e);kf(g+192|0,j[g+208>>2],j[g+212>>2],j[g+216>>2],j[g+220>>2],0,0,0,65536);kf(g+176|0,j[g+192>>2],j[g+196>>2],j[g+200>>2],j[g+204>>2],0,0,0,65536);n=j[g+176>>2];o=j[g+180>>2];c=j[g+184>>2];b=j[g+188>>2];break j}kg(b,0,0)}Ng(g+96|0,+(e|0)*0);n=j[g+96>>2];o=j[g+100>>2];c=j[g+104>>2];b=j[g+108>>2]}j[a>>2]=n;j[a+4>>2]=o;j[a+8>>2]=c;j[a+12>>2]=b;oe=g+432|0}function gw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,n=0;f=(e|0)>0?e:0;a:{b:{c:{d:{e:{f:{g:{switch(b|0){case 0:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+433|0];break b;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;h:{i:{j:{switch(c|0){case 0:a=a+436|0;break i;case 1:a=a+440|0;break i;case 2:a=a+444|0;break i;case 3:break j;default:break h}}a=a+448|0}e=j[a>>2]}j[d>>2]=e;break c;case 2:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;k:{l:{m:{switch(c|0){case 0:a=a+460|0;break l;case 1:a=a+464|0;break l;case 2:a=a+468|0;break l;case 3:break m;default:break k}}a=a+472|0}e=j[a>>2]}j[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+432|0];break b;case 4:a=j[a+364>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+416>>2];break c;case 7:if(m[a+416>>2]<=c>>>0){break e}a=j[j[a+420>>2]+(c<<2)>>2];c=Le(a);b=c+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,a,b)+c|0,n=0,h[g|0]=n;break f;case 8:if(m[a+416>>2]<=c>>>0){break e}e=j[j[a+428>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,j[j[a+424>>2]+(c<<2)>>2],e)+e|0,n=0,h[g|0]=n;break f;case 9:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+368>>2];break c;case 10:if(j[a+368>>2]!=1|m[a+372>>2]<=c>>>0){break e}c=j[j[a+388>>2]+(c<<2)>>2];a=Le(c);b=a+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,c,a)+a|0,n=0,h[g|0]=n;break f;case 11:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+404>>2];break c;case 12:if(m[a+404>>2]<=c>>>0){break e}e=j[j[a+412>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,j[j[a+408>>2]+(c<<2)>>2],e)+e|0,n=0,h[g|0]=n;break f;case 13:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+176|0];break b;case 16:if(k[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+177|0];break b;case 19:if(k[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+178|0];break b;case 21:if(k[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+179|0];break b;case 23:if(k[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+292|0];break b;case 27:if(k[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+293|0];break b;case 29:if(k[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+295|0];break b;case 30:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+164>>1];break a;case 36:a=j[a+132>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 37:a=j[a+136>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 38:a=j[a+140>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 39:a=j[a+144>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=j[a+148>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+152>>2]}return b|0}return 1}return 2}function co(a,b,c,d){var e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0;t=oe-16|0;oe=t;o=6;e=j[a+32>>2];a:{if(!e){break a}f=j[a+40>>2];g=j[a+36>>2]+j[a+28>>2]|0;n=g;while(1){r=k[n+1|0]|k[n|0]<<8;if(!((k[n+3|0]|k[n+2|0]<<8)>>>0>=b>>>0?r>>>0<=b>>>0:0)){n=n+8|0;e=e-1|0;if(e){continue}break a}break}o=8;e=k[n+4|0]|k[n+5|0]<<8|(k[n+6|0]<<16|k[n+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>f-g>>>0){break a}g=e+g|0;e=g+8|0;if(e>>>0>f>>>0){o=6;break a}s=k[g+4|0]|k[g+5|0]<<8|(k[g+6|0]<<16|k[g+7|0]<<24);q=k[g+2|0]|k[g+3|0]<<8;o=6;b:{c:{d:{e:{f:{g:{g=k[g|0]|k[g+1|0]<<8;switch(((g<<24|g<<8&16711680)>>>16|0)-1|0){case 2:break e;case 1:break f;case 0:break g;case 4:case 18:break c;case 3:break d;default:break a}}e=e+(b-r<<2)|0;if(f>>>0>>0){break a}b=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=k[e+4|0]|k[e+5|0]<<8|(k[e+6|0]<<16|k[e+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if((b|0)!=(e|0)){break b}break a}if(f>>>0>>0|f>>>0>>0){break a}n=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=j[a+12>>2];e=e+4|0;i[g>>1]=k[e|0];i[g+2>>1]=k[e+1|0];i[g+4>>1]=h[e+2|0];i[g+6>>1]=h[e+3|0];i[g+8>>1]=k[e+4|0];if(f>>>0>>0){break a}i[g+10>>1]=h[e+5|0];i[g+12>>1]=h[e+6|0];i[g+14>>1]=k[e+7|0];h[a+16|0]=1;e=n<<8&16711680|n<<24|(n>>>8&65280|n>>>24);b=p(e,b-r|0);e=b+e|0;break b}e=e+(b-r<<1)|0;if(f>>>0>>0){break a}b=k[e+1|0]|k[e|0]<<8;e=k[e+3|0]|k[e+2|0]<<8;if((b|0)!=(e|0)){break b}break a}n=e+4|0;if(f>>>0>>0|f>>>0>>0){break a}g=(f-n>>2)-1|0;e=n-4|0;e=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(g>>>0>>0){break a}if(!f){break a}e=0;while(1){if((k[n+1|0]|k[n|0]<<8)==(b|0)){e=k[n+7|0]|k[n+6|0]<<8;b=k[n+3|0]|k[n+2|0]<<8;break b}n=n+4|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}break a}if(f>>>0>>0|f>>>0>>0){break a}o=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=j[a+12>>2];e=e+4|0;i[g>>1]=k[e|0];i[g+2>>1]=k[e+1|0];i[g+4>>1]=h[e+2|0];i[g+6>>1]=h[e+3|0];i[g+8>>1]=k[e+4|0];n=e+8|0;if(f>>>0>>0){o=6;break a}i[g+10>>1]=h[e+5|0];i[g+12>>1]=h[e+6|0];i[g+14>>1]=k[e+7|0];h[a+16|0]=1;n=n+4|0;g=f-n>>1;e=k[e+8|0]|k[e+9|0]<<8|(k[e+10|0]<<16|k[e+11|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(g>>>0>>0){o=6;break a}if(!f){o=6;break a}g=o<<8&16711680|o<<24|(o>>>8&65280|o>>>24);e=0;h:{while(1){if((k[n+1|0]|k[n|0]<<8)==(b|0)){break h}n=n+2|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}o=6;break a}b=p(e,g);e=g+b|0}o=6;if(b>>>0>e>>>0){break a}f=s<<8&16711680|s<<24|(s>>>8&65280|s>>>24);if(m[a+24>>2]>>0){break a}r=j[a+4>>2];o=Fe(r,j[a+20>>2]+(b+f|0)|0);if(o){break a}g=e-b|0;o=Zf(r,g,t+12|0);if(o){break a}f=j[t+12>>2];e=f;q=(q<<8&16711680|q<<24)>>>16|0;i:{j:{if(q>>>0>18){break j}b=1<>2];i[b>>1]=k[f|0];i[b+2>>1]=k[f+1|0];i[b+4>>1]=h[f+2|0];i[b+6>>1]=h[f+3|0];i[b+8>>1]=k[f+4|0];if((g|0)<8){break i}i[b+10>>1]=h[f+5|0];i[b+12>>1]=h[f+6|0];o=k[f+7|0];e=f+8|0;break k}o=6;if((g|0)<5){break i}b=j[a+12>>2];i[b>>1]=k[f|0];i[b+2>>1]=k[f+1|0];i[b+4>>1]=h[f+2|0];i[b+6>>1]=h[f+3|0];e=k[f+4|0];o=0;i[b+10>>1]=0;i[b+12>>1]=0;i[b+8>>1]=e;e=f+5|0}i[b+14>>1]=o;h[a+16|0]=1}s=f+g|0;o=7;n=270;l:{m:{n:{o:{p:{q:{switch(q-1|0){case 16:case 17:case 18:break i;case 0:case 5:break m;case 8:break n;case 7:break o;case 4:break p;case 1:case 6:break q;default:break l}}f=j[a+12>>2];b=l[f>>1];g=l[f+2>>1];f=p(b,g+7>>>3|0);if(f>>>0<=p(b,g)+7>>>3>>>0){break p}if((f|0)==(s-e|0)){break m}}n=271;break m}o=0;e=e+1|0;if(s>>>0>>0){break i}}n=272}r:{if(k[a+17|0]){break r}if(!k[a+16|0]){o=6;break i}g=j[a+12>>2];b=l[g+2>>1];f=j[a+8>>2];q=l[g>>1];j[f>>2]=q;j[f+4>>2]=b;o=3;g=f;s:{t:{u:{switch(k[a+18|0]-1|0){case 0:h[f+18|0]=1;b=b+7>>>3|0;o=2;break s;case 1:h[f+18|0]=3;b=b+3>>>2|0;o=4;break s;case 3:h[f+18|0]=4;b=b+1>>>1|0;o=16;break s;case 7:h[f+18|0]=2;break t;case 31:break u;default:break i}}h[f+18|0]=7;b=b<<2}o=256}i[g+16>>1]=o;j[f+8>>2]=b;b=p(b,q);if(!b){break r}o=Bm(j[j[a>>2]+84>>2],b);if(o){break i}h[a+17|0]=1}o=qe[n|0](a,e,s,c,d)|0;break i}o=8}jf(r,t+12|0)}oe=t+16|0;return o}function sn(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;y=oe-16|0;oe=y;m=p(b,1468)+a|0;f=m;e=j[m+44>>2];n=j[m+52>>2];d=fi(a,b);a:{if(d){break a}if((e|0)>=1){g=p(e,48)+n|0;while(1){d=j[n+40>>2];e=l[d>>1];o=k[n|0];h[n|0]=o&254;q=j[n+44>>2];b:{if((q|0)==(d|0)){break b}c=e&3;while(1){e=c;d=j[d+32>>2];c=l[d>>1]&3;if(!((e|c)&65535)){break b}if((d|0)!=(q|0)){continue}break}h[n|0]=o|1}n=n+48|0;if(g>>>0>n>>>0){continue}break}}s=j[j[a+2988>>2]+40>>2]/256|0;c=j[f+44>>2];e=j[m+52>>2];t=p(b,1468)+a|0;n=j[t+68>>2];z=(b?12:4)+a|0;v=De(192,j[z>>2]);if((c|0)>=1){q=p(c,48)+e|0;c=e;while(1){if((n|0)==h[c+1|0]){d=e;while(1){c:{if((c|0)==(d|0)|(n|0)!=(0-h[d+1|0]|0)){break c}g=i[d+2>>1]-i[c+2>>1]|0;if((g|0)<0){break c}f=i[d+6>>1];o=i[c+6>>1];w=(f|0)<(o|0)?f:o;f=i[d+4>>1];o=i[c+4>>1];f=w-((f|0)>(o|0)?f:o)|0;if((f|0)<(s|0)){break c}o=g<<3;r=j[c+32>>2];if(!((o|0)>=(p(r,9)|0)|((f|0)<=j[c+36>>2]?(o|0)>=(p(r,7)|0):0))){j[c+36>>2]=f;j[c+32>>2]=g;j[c+20>>2]=d}r=j[d+32>>2];if((o|0)>=(p(r,9)|0)|((f|0)<=j[d+36>>2]?(o|0)>=(p(r,7)|0):0)){break c}j[d+36>>2]=f;j[d+32>>2]=g;j[d+20>>2]=c}d=d+48|0;if(q>>>0>d>>>0){continue}break}}c=c+48|0;if(q>>>0>c>>>0){continue}break}c=e;while(1){o=j[c+20>>2];d:{if(!o|j[o+20>>2]!=(c|0)){break d}s=i[o+2>>1];r=i[c+2>>1];if((s|0)<=(r|0)){break d}u=j[c+32>>2];if((u|0)>=(v|0)){break d}A=u<<2;d=e;while(1){e:{f:{if((c|0)==(d|0)){break f}f=i[d+2>>1];if((f|0)>(r|0)){break f}n=j[d+20>>2];if(!n|j[n+20>>2]!=(d|0)){break f}g=i[n+2>>1];if((g|0)<(s|0)|((g|0)==(s|0)?(f|0)==(r|0):0)){break f}f=j[d+32>>2];if((f|0)<=(u|0)|(f|0)>=(A|0)){break f}g=e;if(j[c+36>>2]<(p(j[d+36>>2],3)|0)){break e}while(1){f=o;x=j[g+20>>2];g:{if((x|0)!=(d|0)){f=c;if((n|0)!=(x|0)){break g}}j[g+24>>2]=f;j[g+20>>2]=0}g=g+48|0;if(q>>>0>g>>>0){continue}break}}d=d+48|0;if(q>>>0>d>>>0){continue}break d}break}j[o+20>>2]=0;j[c+20>>2]=0}c=c+48|0;if(q>>>0>c>>>0){continue}break}while(1){c=j[e+20>>2];h:{if(!c){break h}f=j[c+28>>2];j[c+28>>2]=f+1;if(j[c+20>>2]==(e|0)){break h}j[e+20>>2]=0;d=j[c+32>>2];if(!(j[e+32>>2]>=d<<2?(d|0)>=(v|0):0)){j[e+24>>2]=j[c+20>>2];break h}j[c+28>>2]=f}e=e+48|0;if(q>>>0>e>>>0){continue}break}}A=j[a>>2];m=j[m+52>>2];c=j[a+2988>>2];j[t+56>>2]=0;x=t+44|0;e=j[x>>2];c=c+p(b,1572)|0;s=j[z>>2];i:{if((ye(j[c+248>>2],s)|0)>=17){g=De(16,s);break i}g=j[c+248>>2]}if((e|0)>=1){z=p(e,48)+m|0;D=(p(b,1468)+a|0)- -64|0;while(1){j:{k:{B=j[t+56>>2];l:{if((B|0)<=0){v=k[m+1|0];break l}v=k[m+1|0];r=j[D>>2];e=0;f=65535;n=0;while(1){d=p(n,48);o=d+r|0;m:{if(k[o+13|0]!=(v|0)){break m}q=i[m+2>>1]-i[o>>1]|0;c=q>>31;q=c^c+q;if((q|0)>=(g|0)|(f|0)<=(q|0)){break m}C=j[m+20>>2];if(C){c=0;w=j[(d+r|0)+40>>2];d=w;while(1){n:{u=j[d+20>>2];if(u){c=i[C+2>>1];u=i[u+2>>1];c=(c|0)>(u|0)?c-u|0:u-c|0;if((g|0)<=(c|0)){break n}}d=j[d+16>>2];if((w|0)!=(d|0)){continue}}break}if((c|0)>=(g|0)){break m}}f=q;e=o}n=n+1|0;if((B|0)!=(n|0)){continue}break}if(e){break k}}d=bn(x,i[m+2>>1],v<<24>>24,A,y+12|0);if(d){break a}e=j[y+12>>2];j[e+44>>2]=m;j[e+40>>2]=m;j[e>>2]=0;j[e+4>>2]=0;j[e+32>>2]=0;j[e+36>>2]=0;j[e+24>>2]=0;j[e+28>>2]=0;j[e+16>>2]=0;j[e+20>>2]=0;j[e+8>>2]=0;j[e+12>>2]=0;h[e+13|0]=k[m+1|0];c=i[m+2>>1];i[e>>1]=c;c=ye(c,s);j[e+8>>2]=c;j[e+4>>2]=c;j[m+16>>2]=m;break j}j[m+16>>2]=j[e+40>>2];j[j[e+44>>2]+16>>2]=m;j[e+44>>2]=m}m=m+48|0;if(z>>>0>m>>>0){continue}break}}c=j[t+56>>2];if((c|0)>=1){e=j[(p(b,1468)+a|0)- -64>>2];o=e+p(c,48)|0;c=e;while(1){a=j[c+40>>2];d=a;if(d){while(1){j[d+12>>2]=c;d=j[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+48|0;if(o>>>0>c>>>0){continue}break}while(1){b=e+28|0;c=e+24|0;v=j[e+40>>2];d=v;n=0;f=0;while(1){s=h[d|0]&1;r=s^1;g=j[d+24>>2];a=0;o:{if(!g){break o}a=j[g+12>>2]!=(e|0)}p:{if(j[d+20>>2]?0:!a){break p}q=j[(a?d+24|0:d+20|0)>>2];g=j[(a?b:c)>>2];q:{if(g){t=i[e>>1]-i[g>>1]|0;m=t>>31;w=m^m+t;m=i[d+2>>1];t=i[q+2>>1];if((w|0)<=(((m|0)>(t|0)?m-t|0:t-m|0)|0)){break q}}g=j[q+12>>2]}if(a){j[b>>2]=g;h[g+12|0]=k[g+12|0]|2;break p}j[c>>2]=g}n=n+s|0;f=f+r|0;d=j[d+16>>2];if((v|0)!=(d|0)){continue}break}h[e+12|0]=(n|0)!=0&f>>>0<=n>>>0;if(!(!j[e+28>>2]|!j[c>>2])){j[b>>2]=0}e=e+48|0;if(o>>>0>e>>>0){continue}break}}d=0}oe=y+16|0;return d}function 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,m=0,n=0,o=0,q=0,r=0,s=0,t=0;a:{b:{switch(c-1|0){case 0:q=j[b+12>>2];if(!q){break a}m=g^255;g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];s=b&3;c=(b+3|0)/4|0;h=j[58746];n=j[58747];o=g-b<<1;c:while(1){b=c;d:{e:{switch(s-1|0){default:g=0;break d;case 0:g=3;break d;case 1:g=2;break d;case 2:break e}}g=1}while(1){f:{switch(g|0){case 0:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(g>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=1;continue;case 1:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(g>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=2;continue;case 2:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(g>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=3;continue;default:break f}}g=q-1|0;r=l[a>>1];i[a>>1]=((p(m,k[h+(r>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(r>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(r&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g:{if((b|0)>1){b=b-1|0;break g}a=a+o|0;q=g;if(g){continue c}break a}g=0;continue}};default:c=j[b+12>>2];if(!c){break a}e=e<<3&2016|d<<8&63488|f>>>3;f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(f,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;d=j[b+8>>2];g=d&3;b=(d+3|0)/4|0;q=f-d<<1;h:while(1){f=b;i:{j:{switch(g-1|0){default:d=0;break i;case 0:d=3;break i;case 1:d=2;break i;case 2:break j}}d=1}while(1){k:{switch(d|0){case 0:i[a>>1]=e;a=a+2|0;d=1;continue;case 1:i[a>>1]=e;a=a+2|0;d=2;continue;case 2:i[a>>1]=e;a=a+2|0;d=3;continue;default:break k}}d=c-1|0;i[a>>1]=e;a=a+2|0;l:{if((f|0)>1){f=f-1|0;break l}a=a+q|0;c=d;if(d){continue h}break a}d=0;continue}};case 3:g=j[b+12>>2];if(!g){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];r=b&3;q=(b+3|0)/4|0;n=j[58746];m=j[58747];s=c-b<<1;m:while(1){c=q;n:{o:{switch(r-1|0){default:b=0;break n;case 0:b=3;break n;case 1:b=2;break n;case 2:break o}}b=1}while(1){p:{switch(b|0){case 0:b=l[a>>1];i[a>>1]=(p(k[n+(b>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(b>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];i[a>>1]=(p(k[n+(b>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(b>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];i[a>>1]=(p(k[n+(b>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(b>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=3;continue;default:break p}}b=g-1|0;h=l[a>>1];i[a>>1]=(p(k[n+(h>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(h>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(h&31)|0],f)>>>0)/255>>>3;a=a+2|0;q:{if((c|0)>1){c=c-1|0;break q}a=a+s|0;g=b;if(b){continue m}break a}b=0;continue}};case 1:break b}}q=j[b+12>>2];if(!q){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];r=b&3;g=(b+3|0)/4|0;n=j[58746];m=j[58747];s=c-b<<1;r:while(1){c=g;s:{t:{switch(r-1|0){default:b=0;break s;case 0:b=3;break s;case 1:b=2;break s;case 2:break t}}b=1}while(1){u:{switch(b|0){case 0:b=l[a>>1];h=k[n+(b>>>5&63)|0]+e|0;o=(h>>>0<255?h:255)<<3&4064;h=k[m+(b>>>11|0)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=o|(h>>>0<255?h:255)<<8&63488|(b>>>0<255?b:255)>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];h=k[n+(b>>>5&63)|0]+e|0;o=(h>>>0<255?h:255)<<3&4064;h=k[m+(b>>>11|0)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=o|(h>>>0<255?h:255)<<8&63488|(b>>>0<255?b:255)>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];h=k[n+(b>>>5&63)|0]+e|0;o=(h>>>0<255?h:255)<<3&4064;h=k[m+(b>>>11|0)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=o|(h>>>0<255?h:255)<<8&63488|(b>>>0<255?b:255)>>>3;a=a+2|0;b=3;continue;default:break u}}b=q-1|0;h=l[a>>1];o=k[n+(h>>>5&63)|0]+e|0;t=(o>>>0<255?o:255)<<3&4064;o=k[m+(h>>>11|0)|0]+d|0;h=k[m+(h&31)|0]+f|0;i[a>>1]=t|(o>>>0<255?o:255)<<8&63488|(h>>>0<255?h:255)>>>3;a=a+2|0;v:{if((c|0)>1){c=c-1|0;break v}a=a+s|0;q=b;if(b){continue r}break a}b=0;continue}}}return 0}function px(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;g=oe-80|0;oe=g;i=ch(j[j[b+96>>2]+4>>2],90432);a:{if(!i){f=11;break a}f=Fe(a,0);if(f){break a}f=qe[j[i+4>>2]](a,b,c,d,e)|0;if(f){break a}o=j[b+104>>2];a=j[b+148>>2];if(!((a|0)==65536|(a|0)==1953658213)){f=2;if((a|0)!=131072){break a}}j[b+8>>2]=j[b+8>>2]|2048;f=0;if((c|0)<0){break a}f=qe[j[i+8>>2]](o,b,c,d,e)|0;if(f){break a}b:{c:{a=j[b+20>>2];if(a){if(Yf(a,90736)){break c}if(Yf(a,90756)){break c}if(Yf(a,90776)){break c}if(Yf(a,90796)){break c}if(Yf(a,90816)){break c}if(Yf(a,90836)){break c}if(Yf(a,90856)){break c}if(Yf(a,90876)){break c}if(Yf(a,90896)){break c}}v=Ee(g,0,68);a=0;d=l[b+152>>1];if(d){while(1){e=1;i=0;c=j[b+156>>2];t=s<<4;f=j[c+t>>2];d:{if((f|0)!=1668707360){e:{if((f|0)!=1886545264){if((f|0)!=1718642541){break d}i=1;break e}i=2}e=a}f=0;a=0;while(1){d=c+t|0;n=p(f,24)+(i<<3)|0;if(j[d+12>>2]==j[n+90932>>2]){f:{if(a){break f}c=j[b+508>>2];if(!c){a=0;break f}a=0;if(qe[c|0](b,j[d>>2],j[b+104>>2],0)|0){break f}q=j[b+104>>2];d=j[(j[b+156>>2]+t|0)+12>>2];if(_e(q,d)){break f}if(d>>>0>3){while(1){a=Ef(q)+a|0;d=d-4|0;if(d>>>0>3){continue}break}}u=3;if(d){while(1){c=j[q+32>>2];if(c>>>0>2]){j[q+32>>2]=c+1;c=h[c|0]}else{c=0}a=((c<<24>>24&255)<<(u<<3))+a|0;u=u-1|0;d=d-1|0;if(d){continue}break}}Ve(q)}c=(f<<2)+v|0;d=j[c>>2];if(j[n+90928>>2]==(a|0)){d=d+1|0;j[c>>2]=d}if((d|0)==3){break c}}f=f+1|0;if((f|0)!=17){c=j[b+156>>2];continue}break}d=l[b+152>>1];a=e}s=s+1|0;if(s>>>0<(d&65535)>>>0){continue}break}}c=a&255;while(1){a=(r<<2)+v|0;f=j[a>>2];if(!(r-5>>>0>11|c)){f=f+1|0;j[a>>2]=f}if((f|0)==3){break c}r=r+1|0;if((r|0)!=17){continue}break}break b}j[b+8>>2]=j[b+8>>2]|8192}c=j[o+28>>2];a=qe[j[b+508>>2]](b,1751412088,o,g+76|0)|0;j[g>>2]=a;g:{if(a){break g}a=j[g+76>>2];if(a>>>0<=7){break g}e=b+704|0;f=Zf(o,a,e);j[g>>2]=f;if(f){break a}h:{i:{j:{n=j[e>>2];k:{if(k[n|0]<<8|k[n+1|0]){break k}d=k[n+3|0]|k[n+2|0]<<8;if(d>>>0>255){break k}a=k[n+4|0]|k[n+5|0]<<8|(k[n+6|0]<<16|k[n+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);i=a>>>0>4294901759?a&65535:a;if(i-4>>>0<65534){break j}}j[g>>2]=3;break i}a=j[g+76>>2];f=0;w=b,x=xe(c,1,0,d,0,g),j[w+720>>2]=x;if(j[g>>2]){break i}l:{if(!d){break l}e=a+n|0;a=n+8|0;while(1){c=a+i|0;if(c>>>0>e>>>0){break l}h[j[b+720>>2]+f|0]=k[a|0];a=c;f=f+1|0;if((d|0)!=(f|0)){continue}break}f=d}j[b+712>>2]=f;a=j[g+76>>2];j[b+716>>2]=i;j[b+708>>2]=a;break h}jf(o,e);j[b+708>>2]=0}f=j[g>>2];if(f){break a}}f=0;m:{if(!(h[b+8|0]&1)){break m}n:{if(!j[j[b+128>>2]+48>>2]){f=qe[j[b+508>>2]](b,1735162214,o,b+668|0)|0;o:{if((f&255)==142){j[b+668>>2]=0;break o}if(f){break n}}f=144;if(qe[j[b+508>>2]](b,1819239265,o,g)|0){break n}a=b;c=j[g>>2];e=c;p:{if(l[b+210>>1]){f=8;if(c>>>0>262143){break n}d=2;break p}f=8;if(c>>>0>131071){break n}d=1}e=e>>>d|0;j[a+696>>2]=e;a=j[b+16>>2];q:{if(a>>>0>>0){break q}i=e;e=a+1|0;if((i|0)==(e|0)){break q}a=j[b+156>>2];c=l[b+152>>1];n=a+(c<<4)|0;f=2147483647;i=j[o+8>>2];if(c){while(1){c=j[a+8>>2]-i|0;f=(c|0)>0?(c|0)<(f|0)?c:f:f;a=a+16|0;if(n>>>0>a>>>0){continue}break}}if((a|0)==(n|0)){f=j[o+4>>2]-i|0}c=e<>>0>>0){c=j[g>>2];break q}j[b+696>>2]=j[b+16>>2]+1;j[g>>2]=c}f=Zf(o,c,b+700|0);if(f){break n}}f=ao(b,o);if(f){break n}r:{if(qe[j[b+508>>2]](b,1718642541,o,g)|0){j[b+628>>2]=0;j[b+632>>2]=0;break r}a=j[g>>2];j[b+628>>2]=a;f=Zf(o,a,b+632|0);if(f){break n}}if(qe[j[b+508>>2]](b,1886545264,o,g)|0){j[b+636>>2]=0;j[b+640>>2]=0;f=0;break n}a=j[g>>2];j[b+636>>2]=a;f=Zf(o,a,b+640|0)}if(j[j[b+128>>2]+48>>2]|!j[b+28>>2]|(!j[b+700>>2]|!j[b+696>>2])){break m}e=0;d=1;i=0;c=0;s:{t:while(1){a=c;while(1){Yk(b,a,g+76|0);if(j[g+76>>2]){if(!(d&1)){break m}e=1;d=0;i=a;c=a+1|0;if(c>>>0>2]){continue t}break s}a=a+1|0;if(a>>>0>2]){continue}break}break}a=i;if(!(e&1)){break m}}if(a){if(BJ(b,a,g)|k[g|0]!=46|((k[g|0]|k[g+1|0]<<8|(k[g+2|0]<<16|k[g+3|0]<<24))!=1953459758|(k[g+4|0]|k[g+5|0]<<8|(k[g+6|0]<<16|k[g+7|0]<<24))!=6710628)){break m}}j[b+8>>2]=j[b+8>>2]&-2}j[b+528>>2]=376;j[b+524>>2]=377;j[b+520>>2]=378;j[b+512>>2]=379;j[b+516>>2]=380}oe=g+80|0;return f|0}function hM(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,m=0,n=0,o=0,q=0,r=0,s=0;a:{b:{switch(c-1|0){case 0:c=j[b+12>>2];if(!c){break a}m=g^255;g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];r=b&3;o=(b+3|0)/4|0;h=j[58747];n=g-b<<1;c:while(1){b=o;d:{e:{switch(r-1|0){default:g=0;break d;case 0:g=3;break d;case 1:g=2;break d;case 2:break e}}g=1}while(1){f:{switch(g|0){case 0:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(g>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=1;continue;case 1:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(g>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=2;continue;case 2:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(g>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=3;continue;default:break f}}g=c-1|0;q=l[a>>1];i[a>>1]=((p(m,k[h+(q>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(q>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(q&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g:{if((b|0)>1){b=b-1|0;break g}a=a+n|0;c=g;if(g){continue c}break a}g=0;continue}};default:c=j[b+12>>2];if(!c){break a}e=e<<2&992|d<<7&31744|f>>>3;f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(f,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;d=j[b+8>>2];g=d&3;b=(d+3|0)/4|0;o=f-d<<1;h:while(1){f=b;i:{j:{switch(g-1|0){default:d=0;break i;case 0:d=3;break i;case 1:d=2;break i;case 2:break j}}d=1}while(1){k:{switch(d|0){case 0:i[a>>1]=e;a=a+2|0;d=1;continue;case 1:i[a>>1]=e;a=a+2|0;d=2;continue;case 2:i[a>>1]=e;a=a+2|0;d=3;continue;default:break k}}d=c-1|0;i[a>>1]=e;a=a+2|0;l:{if((f|0)>1){f=f-1|0;break l}a=a+o|0;c=d;if(d){continue h}break a}d=0;continue}};case 3:c=j[b+12>>2];if(!c){break a}g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];q=b&3;o=(b+3|0)/4|0;m=j[58747];r=g-b<<1;m:while(1){g=o;n:{o:{switch(q-1|0){default:b=0;break n;case 0:b=3;break n;case 1:b=2;break n;case 2:break o}}b=1}while(1){p:{switch(b|0){case 0:b=l[a>>1];i[a>>1]=(p(k[m+(b>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(b>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];i[a>>1]=(p(k[m+(b>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(b>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];i[a>>1]=(p(k[m+(b>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(b>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=3;continue;default:break p}}b=c-1|0;h=l[a>>1];i[a>>1]=(p(k[m+(h>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(h>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(h&31)|0],f)>>>0)/255>>>3;a=a+2|0;q:{if((g|0)>1){g=g-1|0;break q}a=a+r|0;c=b;if(b){continue m}break a}b=0;continue}};case 1:break b}}c=j[b+12>>2];if(!c){break a}g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];q=b&3;o=(b+3|0)/4|0;m=j[58747];r=g-b<<1;r:while(1){g=o;s:{t:{switch(q-1|0){default:b=0;break s;case 0:b=3;break s;case 1:b=2;break s;case 2:break t}}b=1}while(1){u:{switch(b|0){case 0:b=l[a>>1];h=k[m+(b>>>5&31)|0]+e|0;n=(h>>>0<255?h:255)<<2&2016;h=k[m+(b>>>10&31)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=n|(h>>>0<255?h:255)<<7&64512|(b>>>0<255?b:255)>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];h=k[m+(b>>>5&31)|0]+e|0;n=(h>>>0<255?h:255)<<2&2016;h=k[m+(b>>>10&31)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=n|(h>>>0<255?h:255)<<7&64512|(b>>>0<255?b:255)>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];h=k[m+(b>>>5&31)|0]+e|0;n=(h>>>0<255?h:255)<<2&2016;h=k[m+(b>>>10&31)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=n|(h>>>0<255?h:255)<<7&64512|(b>>>0<255?b:255)>>>3;a=a+2|0;b=3;continue;default:break u}}b=c-1|0;h=l[a>>1];n=k[m+(h>>>5&31)|0]+e|0;s=(n>>>0<255?n:255)<<2&2016;n=k[m+(h>>>10&31)|0]+d|0;h=k[m+(h&31)|0]+f|0;i[a>>1]=s|(n>>>0<255?n:255)<<7&64512|(h>>>0<255?h:255)>>>3;a=a+2|0;v:{if((g|0)>1){g=g-1|0;break v}a=a+r|0;c=b;if(b){continue r}break a}b=0;continue}}}return 0}function $p(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,q=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;h=oe-560|0;oe=h;g=c;c=(c-3|0)/24|0;x=(c|0)>0?c:0;m=g+p(x,-24)|0;q=j[(e<<2)+223792>>2];k=d-1|0;if((q+k|0)>=0){g=d+q|0;c=x-k|0;while(1){o[(h+320|0)+(i<<3)>>3]=(c|0)<0?0:+j[(c<<2)+223808>>2];c=c+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}t=m-24|0;g=0;i=(q|0)>0?q:0;n=(d|0)<1;while(1){a:{if(n){f=0;break a}l=g+k|0;c=0;f=0;while(1){f=f+o[(c<<3)+a>>3]*o[(h+320|0)+(l-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}o[(g<<3)+h>>3]=f;c=(g|0)==(i|0);g=g+1|0;if(!c){continue}break}C=47-m|0;y=48-m|0;D=m-25|0;g=q;b:{while(1){f=o[(g<<3)+h>>3];c=0;i=g;l=(g|0)<1;if(!l){while(1){n=(h+480|0)+(c<<2)|0;s=f;f=f*5.960464477539063e-8;c:{if(r(f)<2147483648){k=~~f;break c}k=-2147483648}f=+(k|0);s=s+f*-16777216;d:{if(r(s)<2147483648){k=~~s;break d}k=-2147483648}j[n>>2]=k;i=i-1|0;f=o[(i<<3)+h>>3]+f;c=c+1|0;if((g|0)!=(c|0)){continue}break}}f=Mg(f,t);f=f+v(f*.125)*-8;e:{if(r(f)<2147483648){n=~~f;break e}n=-2147483648}f=f- +(n|0);f:{g:{h:{z=(t|0)<1;i:{if(!z){i=(g<<2)+h|0;k=j[i+476>>2];c=k>>y;w=i;i=k-(c<>2]=i;n=c+n|0;k=i>>C;break i}if(t){break h}k=j[((g<<2)+h|0)+476>>2]>>23}if((k|0)<1){break f}break g}k=2;if(!(f>=.5^1)){break g}k=0;break f}c=0;i=0;if(!l){while(1){w=(h+480|0)+(c<<2)|0;A=j[w>>2];l=16777215;j:{k:{if(i){break k}l=16777216;if(A){break k}i=0;break j}j[w>>2]=l-A;i=1}c=c+1|0;if((g|0)!=(c|0)){continue}break}}l:{if(z){break l}m:{switch(D|0){case 0:c=(g<<2)+h|0;j[c+476>>2]=j[c+476>>2]&8388607;break l;case 1:break m;default:break l}}c=(g<<2)+h|0;j[c+476>>2]=j[c+476>>2]&4194303}n=n+1|0;if((k|0)!=2){break f}f=1-f;k=2;if(!i){break f}f=f-Mg(1,t)}if(f==0){i=0;n:{c=g;if((q|0)>=(c|0)){break n}while(1){c=c-1|0;i=j[(h+480|0)+(c<<2)>>2]|i;if((c|0)>(q|0)){continue}break}if(!i){break n}m=t;while(1){m=m-24|0;g=g-1|0;if(!j[(h+480|0)+(g<<2)>>2]){continue}break}break b}c=1;while(1){i=c;c=c+1|0;if(!j[(h+480|0)+(q-i<<2)>>2]){continue}break}i=g+i|0;while(1){k=d+g|0;g=g+1|0;o[(h+320|0)+(k<<3)>>3]=j[(x+g<<2)+223808>>2];c=0;f=0;if((d|0)>=1){while(1){f=f+o[(c<<3)+a>>3]*o[(h+320|0)+(k-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}o[(g<<3)+h>>3]=f;if((g|0)<(i|0)){continue}break}g=i;continue}break}f=Mg(f,24-m|0);o:{if(!(f>=16777216^1)){d=(h+480|0)+(g<<2)|0;s=f;f=f*5.960464477539063e-8;p:{if(r(f)<2147483648){c=~~f;break p}c=-2147483648}f=s+ +(c|0)*-16777216;q:{if(r(f)<2147483648){a=~~f;break q}a=-2147483648}j[d>>2]=a;g=g+1|0;break o}if(r(f)<2147483648){c=~~f}else{c=-2147483648}m=t}j[(h+480|0)+(g<<2)>>2]=c}f=Mg(1,m);r:{if((g|0)<=-1){break r}c=g;while(1){o[(c<<3)+h>>3]=f*+j[(h+480|0)+(c<<2)>>2];f=f*5.960464477539063e-8;a=(c|0)>0;c=c-1|0;if(a){continue}break}l=0;if((g|0)<0){break r}a=(q|0)>0?q:0;i=g;while(1){d=a>>>0>>0?a:l;m=g-i|0;c=0;f=0;while(1){f=f+o[(c<<3)+226576>>3]*o[(c+i<<3)+h>>3];t=(c|0)!=(d|0);c=c+1|0;if(t){continue}break}o[(h+160|0)+(m<<3)>>3]=f;i=i-1|0;c=(g|0)!=(l|0);l=l+1|0;if(c){continue}break}}s:{t:{u:{switch(e|0){case 3:v:{if((g|0)<1){break v}f=o[(h+160|0)+(g<<3)>>3];c=g;while(1){s=f;a=c-1|0;d=(h+160|0)+(a<<3)|0;B=o[d>>3];f=B+f;o[(h+160|0)+(c<<3)>>3]=s+(B-f);o[d>>3]=f;d=(c|0)>1;c=a;if(d){continue}break}if((g|0)<2){break v}f=o[(h+160|0)+(g<<3)>>3];c=g;while(1){s=f;a=c-1|0;d=(h+160|0)+(a<<3)|0;u=o[d>>3];f=u+f;o[(h+160|0)+(c<<3)>>3]=s+(u-f);o[d>>3]=f;d=(c|0)>2;c=a;if(d){continue}break}u=0;if((g|0)<=1){break v}while(1){u=u+o[(h+160|0)+(g<<3)>>3];a=(g|0)>2;g=g-1|0;if(a){continue}break}}f=o[h+160>>3];if(k){break t}o[b>>3]=f;f=o[h+168>>3];o[b+16>>3]=u;o[b+8>>3]=f;break s;case 0:f=0;if((g|0)>=0){while(1){f=f+o[(h+160|0)+(g<<3)>>3];a=(g|0)>0;g=g-1|0;if(a){continue}break}}o[b>>3]=k?-f:f;break s;case 1:case 2:break u;default:break s}}f=0;if((g|0)>=0){c=g;while(1){f=f+o[(h+160|0)+(c<<3)>>3];a=(c|0)>0;c=c-1|0;if(a){continue}break}}o[b>>3]=k?-f:f;f=o[h+160>>3]-f;c=1;if((g|0)>=1){while(1){f=f+o[(h+160|0)+(c<<3)>>3];a=(c|0)!=(g|0);c=c+1|0;if(a){continue}break}}o[b+8>>3]=k?-f:f;break s}o[b>>3]=-f;f=o[h+168>>3];o[b+16>>3]=-u;o[b+8>>3]=-f}oe=h+560|0;return n&7}function hO(a){var b=0,c=q(0),d=0,e=0,f=q(0),g=q(0),h=q(0),m=q(0),o=0,s=0,t=0,u=0,v=q(0),w=0,x=0,z=0,A=0,B=q(0),C=q(0),D=0,E=0,F=q(0),G=0;d=oe-576|0;oe=d;b=j[a>>2];a:{if(b-1792>>>0>2){break a}e=j[66369];if((e|0)<1){break a}E=j[a+8>>2];o=j[a+12>>2];w=j[66370];while(1){u=p(t,8232)+w|0;if(j[u>>2]!=(E|0)|j[u+4>>2]!=(o|0)){t=t+1|0;if((e|0)!=(t|0)){continue}break a}break}B=n[a+28>>2];C=n[a+24>>2];b:{switch(b-1792|0){case 1:b=p(t,8232)+w|0;i[b+8216>>1]=l[b+8216>>1]-1;E=b+8216|0;c:{if(j[b+8228>>2]){j[b+8228>>2]=0;ls(b+16|0,d- -64|0);d:{e:{if(k[265472]){f:{g:{h:{a=j[66369];if(a){if((a|0)<=0){break d}break h}b=ve(121532,0);break g}while(1){a=j[66370]+p(s,8232)|0;e=j[a+8220>>2];b=p(e,516);o=mf(j[a+8224>>2],b+516|0);i:{if(!o){e=Be(0);break i}x=a+8220|0;j[a+8224>>2]=o;o=b+o|0;Ge(o,d- -64|0,512);a=5381;b=0;while(1){D=o+(b<<3)|0;c=n[D>>2];j:{if(c=q(0)){z=~~c>>>0;break j}z=0}z=p(z+p(a,33)|0,33);c=n[D+4>>2];k:{if(c=q(0)){a=~~c>>>0;break k}a=0}a=a+z|0;b=b+1|0;if((b|0)!=64){continue}break}j[o+512>>2]=a;j[x>>2]=j[x>>2]+1}b=-1;if((e|0)<=-1){break g}a=j[66369];s=s+1|0;if((a|0)>(s|0)){continue}break}break f}a=j[66369];e=b}if((a|0)<1){break e}s=j[66370];b=0;while(1){j[(s+p(b,8232)|0)+8228>>2]=0;b=b+1|0;if((b|0)!=(a|0)){continue}break}break e}a=p(t,8232)+w|0;e=j[a+8220>>2];b=p(e,516);s=mf(j[a+8224>>2],b+516|0);if(!s){e=Be(0);break e}o=a+8220|0;j[a+8224>>2]=s;z=b+s|0;Ge(z,d- -64|0,512);a=5381;b=0;while(1){D=z+(b<<3)|0;c=n[D>>2];l:{if(c=q(0)){x=~~c>>>0;break l}x=0}x=p(x+p(a,33)|0,33);c=n[D+4>>2];m:{if(c=q(0)){a=~~c>>>0;break m}a=0}a=a+x|0;b=b+1|0;if((b|0)!=64){continue}break}j[(s+p(e,516)|0)+512>>2]=a;j[o>>2]=j[o>>2]+1}if((e|0)<0){break d}a=j[(j[(p(t,8232)+w|0)+8224>>2]+p(e,516)|0)+512>>2];j[d+8>>2]=2049;b=j[u>>2];e=j[u+4>>2];j[d+24>>2]=a;j[d+28>>2]=0;j[d+16>>2]=b;j[d+20>>2]=e;gf(d+8|0);break c}j[d+8>>2]=2049;a=j[u>>2];b=j[u+4>>2];j[d+24>>2]=-1;j[d+28>>2]=-1;j[d+16>>2]=a;j[d+20>>2]=b;gf(d+8|0);break c}a=0;Oe(d- -64|0,0,512);ls(b+16|0,d- -64|0);if(j[b+8220>>2]<=0){break c}o=b+8220|0;s=(p(t,8232)+w|0)+8224|0;F=q(1e4);b=-1;while(1){g=q(.185407355427742);h=q(-.185407355427742);e=j[s>>2]+p(a,516)|0;m=rk(d- -64|0,e,q(-.185407355427742));c=rk(d- -64|0,e,q(.185407355427742));A=.7853981633974483;G=-.7853981633974483;while(1){n:{if(!(c>m^1)){A=+g;v=q(A*.38196601100000005+G*.618033989);f=rk(d- -64|0,e,v);g=h;c=m;break n}v=g;f=c;G=+h;c=q(G*.38196601100000005+A*.618033989);g=c;c=rk(d- -64|0,e,c)}m=f;h=v;if(r(G-A)>.03490658503988659){continue}break}c=c>f?f:c;e=c>2]){continue}break}if((b|0)<0){break c}a=j[(j[s>>2]+p(b,516)|0)+512>>2];j[d+64>>2]=2048;b=j[u+4>>2];j[d+72>>2]=j[u>>2];j[d+76>>2]=b;b=p(t,8232)+w|0;n[d+96>>2]=n[b+8>>2];c=n[b+12>>2];n[d+92>>2]=F;j[d+80>>2]=a;j[d+84>>2]=0;n[d+100>>2]=c;j[d+88>>2]=l[E>>1]+1;gf(d- -64|0)}b=l[E>>1];if(!b){break a}a=p(t,8232)+w|0;c=q(b+1|0);g=q(b>>>0);n[a+8>>2]=q(q(n[a+8>>2]*c)-C)/g;n[a+12>>2]=q(q(n[a+12>>2]*c)-B)/g;break a;case 2:c=n[a+36>>2];g=n[a+32>>2];a=p(t,8232)+w|0;e=a;b=j[a+20>>2];if((b|0)<=1023){b=(a+16|0)+(b<<3)|0;f=n[a+8>>2];n[b+8>>2]=f;h=n[a+12>>2];n[b+12>>2]=h;f=q(f-n[b>>2]);m=q(f*f);f=q(h-n[b+4>>2]);n[a+16>>2]=n[a+16>>2]+q(y(+q(m+q(f*f))));j[e+20>>2]=j[e+20>>2]+1}h=n[a+12>>2];b=l[a+8216>>1];f=q(b>>>0);n[a+12>>2]=h+q(c/f);m=n[a+8>>2];n[a+8>>2]=m+q(g/f);if(b>>>0<2){break a}f=q(q(C-g)-m);h=q(q(B-c)-h);c=q(y(+q(q(f*f)+q(h*h))));m=q(C-n[a+8>>2]);v=q(B-n[a+12>>2]);g=q(y(+q(q(m*m)+q(v*v))));f=q(f/c);v=q(v/g);h=q(h/c);m=q(m/g);A=xr(+q(q(f*v)-q(h*m)),+q(q(f*m)+q(h*v)));j[d+64>>2]=2050;b=j[u+4>>2];j[d+72>>2]=j[u>>2];j[d+76>>2]=b;n[d+88>>2]=n[a+8>>2];f=n[a+12>>2];b=c==q(0);n[d+84>>2]=b?q(0):q(g-c);n[d+80>>2]=b?q(0):q(A);n[d+92>>2]=f;i[d+96>>1]=l[a+8216>>1];gf(d- -64|0);break a;case 0:break b;default:break a}}a=p(t,8232)+w|0;j[a+16>>2]=0;j[a+20>>2]=1;n[a+28>>2]=B;n[a+24>>2]=C;b=l[a+8216>>1]+1|0;i[a+8216>>1]=b;b=b&65535;c=q(b-1|0);g=q(b>>>0);n[a+8>>2]=q(C+q(n[a+8>>2]*c))/g;n[a+12>>2]=q(B+q(n[a+12>>2]*c))/g}oe=d+576|0}function ym(a,b,c,d){var e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=oe-192|0;oe=e;j[e+4>>2]=0;j[e>>2]=0;l=6;a:{if(!b|!d&(c|0)>-1){break a}q=k[b|0]&2?j[b+16>>2]!=0:q;l=kj(a,b,e+4|0);j[e+8>>2]=l;b:{c:{d:{e:{f:{g:{h:{i:{j:{if(l){break j}t=j[a>>2];k:{n=j[b>>2];if(!(n&8)){break k}o=j[b+20>>2];if(!o){break k}l:{if(h[j[o>>2]]&1){a=e;g=a;l=o;r=a+4|0;a=q;p=c;if(n&16){f=j[b+28>>2];b=j[b+24>>2]}else{b=0}a=Ur(l,r,a,p,b,f,e);j[g+8>>2]=a;if(a){break l}break d}j[e+8>>2]=32}a=j[e+4>>2];if(!a){break c}b=j[a+28>>2];m:{if(!a){break m}c=j[a+24>>2];if(!c){break m}qe[c|0](a)}if(q){break c}if(a){qe[j[b+8>>2]](b,a)}break c}l=11;j[e+8>>2]=11;o=j[a+16>>2];if((o|0)<1){o=0;f=j[e+4>>2];break e}r=((o<<2)+a|0)+20|0;f=a+20|0;while(1){o=j[f>>2];if(h[j[o>>2]]&1){l=0;g=0;if(k[b|0]&16){l=j[b+24>>2];g=j[b+28>>2]}l=Ur(o,e+4|0,q,c,l,g,e);j[e+8>>2]=l;if(!l){break d}g=l&255;if(!(we(j[j[j[f>>2]>>2]+8>>2],6539)|(g|0)!=142)){g=j[e+4>>2];if(Fe(g,0)){break j}l=Sr(a,g,c,d);j[e+8>>2]=l;if(!l){break i}g=l&255}if((g|0)!=2){break j}g=o}f=f+4|0;if(r>>>0>f>>>0){continue}break}o=g}g=l&255;switch(g-81|0){case 0:case 4:break f;case 1:case 2:case 3:break g;default:break h}}l=0;if(!g){break a}a=j[g+28>>2];n:{if(!g){break n}b=j[g+24>>2];if(!b){break n}qe[b|0](g)}if(q){break a}if(g){qe[j[a+8>>2]](a,g)}break a}if((g|0)==2){break f}}f=j[e+4>>2];break e}o:{p:{f=j[e+4>>2];l=WM(a,f,c,d);if((l&255)==2){l=qm(a,f,0,c,d)}g=l&255;q:{if(!(((g|0)!=2?(g|0)!=85:0)|!(k[b|0]&4))){m=j[a>>2];g=0;j[e+12>>2]=0;uG(a,f,j[b+12>>2],e+144|0,e+96|0,e+48|0);p=2;l=0;while(1){r:{r=l;l=l>>>0<=8?j[(l<<3)+6596>>2]-3>>>0<2:0;s:{if(l?g&255:0){break s}s=r<<2;if(j[s+(e+48|0)>>2]){break s}j[e+16>>2]=4;p=e;n=j[s+(e+144|0)>>2];if(!n){n=j[b+12>>2]}j[p+28>>2]=n;p=kj(a,e+16|0,e+12|0);g=(p&255)==81?l?1:g:g;if(p){break s}n=j[e+12>>2];p=qm(a,n,j[s+(e+96|0)>>2],c,d);if(n){s=j[n+28>>2];t:{if(!n){break t}u=j[n+24>>2];if(!u){break t}qe[u|0](n)}if(n){qe[j[s+8>>2]](s,n)}}if(!p){p=0;break r}g=l?1:g}l=r+1|0;if((l|0)!=9){continue}}break}a=j[e+144>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+144>>2]=0}a=j[e+148>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+148>>2]=0}a=j[e+152>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+152>>2]=0}a=j[e+156>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+156>>2]=0}a=j[e+160>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+160>>2]=0}a=j[e+164>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+164>>2]=0}a=j[e+168>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+168>>2]=0}a=j[e+172>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+172>>2]=0}a=j[e+176>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}}if(p){break o}j[e+8>>2]=0;break q}j[e+8>>2]=l;if(l){break p}}if(!f){break b}a=j[f+28>>2];u:{if(!f){break u}b=j[f+24>>2];if(!b){break u}qe[b|0](f)}if(q){break b}if(f){qe[j[a+8>>2]](a,f)}break b}if((l&255)!=2){break e}}j[e+8>>2]=2}if(!f){break c}a=j[f+28>>2];v:{if(!f){break v}b=j[f+24>>2];if(!b){break v}qe[b|0](f)}if(q){break c}if(f){qe[j[a+8>>2]](a,f)}break c}a=He(t,12,e+8|0);w:{if(!j[e+8>>2]){f=j[e>>2];j[a+8>>2]=f;yl(j[f+96>>2]+16|0,a);if((c|0)>=0){a=ds(f,0);j[e+8>>2]=a;if(a){break w}a=Jr(f,e+144|0);j[e+8>>2]=a;if(a){break w}j[f+88>>2]=j[e+144>>2]}b=j[f+8>>2];x:{if(!(b&1)){break x}a=i[f+74>>1];if((a|0)<=-1){a=0-a|0;i[f+74>>1]=a}if(b&32){break x}i[f+78>>1]=a}y:{if(!(b&2)){break y}c=j[f+28>>2];if((c|0)<1){break y}o=j[f+32>>2];a=0;while(1){b=o+(a<<4)|0;g=i[b>>1];if((g|0)<=-1){i[b>>1]=0-g}g=j[b+8>>2];if((g|0)<=-1){j[b+8>>2]=0-(g<<16)>>16}g=j[b+12>>2];if((g|0)<=-1){j[b+12>>2]=0-g}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=j[f+128>>2];j[a+56>>2]=1;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=65536;j[a>>2]=65536;j[a+4>>2]=0;if(d){j[d>>2]=f;break b}b=j[f+96>>2];if(!b){break b}j[a+56>>2]=0;a=j[b+8>>2];d=b+16|0;c=ph(d,f);if(!c){break b}Ih(d,c);if(c){qe[j[a+8>>2]](a,c)}Sh(a,f,b);break b}if(!a){break c}f=j[e>>2];if(!f){break b}}a=j[f+96>>2];if(!a){break b}c=j[f+128>>2];b=j[c+56>>2];j[c+56>>2]=b-1;if((b|0)>1){break b}b=j[a+8>>2];d=a+16|0;c=ph(d,f);if(!c){break b}Ih(d,c);if(c){qe[j[b+8>>2]](b,c)}Sh(b,f,a);break b}a=j[e>>2];if(!a){break b}Sh(t,a,o)}l=j[e+8>>2]}oe=e+192|0;return l}function eN(a,b){a=a|0;b=b|0;var c=0,d=0,e=q(0),f=q(0),g=0,h=0,i=q(0),l=0,m=q(0),o=0;g=oe-16|0;oe=g;a:{b:{c:{d:{e:{f:{g:{h:{d=j[b>>2];switch(d-1024|0){case 1:case 2:break f;case 0:break g;default:break h}}if(d-1792>>>0<3){break e}if((d|0)!=512){break a}d=am(j[b+8>>2]);if((d|0)!=j[a+188>>2]){break a}c=j[a+4>>2];if(c){qe[c|0](a,b)}i:{switch(k[b+12|0]-1|0){case 5:c=j[a+316>>2];if(c){wm(a,0)}if(j[a+196>>2]){dN(a);break b}b=j[a+8>>2];j:{if(b){qe[b|0](a,g+12|0,g+8|0)|0;break j}ah(j[a+188>>2],g+12|0,g+8|0)}if(j[a+316>>2]){j[a+232>>2]=0;j[a+236>>2]=0;j[a+240>>2]=j[g+12>>2];j[a+244>>2]=j[g+8>>2];break b}j[a+216>>2]=0;j[a+220>>2]=0;j[a+224>>2]=j[g+12>>2];j[a+228>>2]=j[g+8>>2];d=a+216|0;if(j[a+400>>2]){if(!xf(d,a+360|0,16)){break c}}b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break d}b=Xe(1,28);if(b){break d}Be(0);break c;case 1:j[a+192>>2]=1;break a;case 0:if(cj(d)&64){break a}j[a+192>>2]=0;break a;case 6:j[a+192>>2]=1;break a;case 7:case 8:break i;default:break a}}if(cj(d)&8){break a}j[a+192>>2]=0;break a}if((am(j[b+8>>2])|0)!=j[a+188>>2]){break a}c=j[a+316>>2];if(!j[(c?204:196)+a>>2]){break a}h=j[(c?236:220)+a>>2];f=n[(c?296:288)+a>>2];i=n[(c?300:292)+a>>2];d=b;l=j[b+20>>2];e=q(n[a+304>>2]*q(j[(c?232:216)+a>>2]));k:{if(q(r(e))>2]=l;c=b;o=j[b+24>>2];e=q(n[a+308>>2]*q(h|0));l:{if(q(r(e))>2]=h;c=b;e=q(q(l|0)/q(f*n[a+304>>2]));m:{if(q(r(e))>2]=d;c=b;e=q(q(h|0)/q(i*n[a+308>>2]));n:{if(q(r(e))>2]=d;d=b;c=j[b+28>>2];o:{p:{if((c|0)>=1){f=q(q(c|0)/q(f*n[a+304>>2]));q:{if(q(r(f))1?c:1;break p}if((c|0)>-1){break o}f=q(q(c|0)/q(f*n[a+304>>2]));r:{if(q(r(f))>2]=c}d=j[b+32>>2];if((d|0)>=1){f=q(q(d|0)/q(i*n[a+308>>2]));s:{if(q(r(f))>2]=(a|0)>1?a:1;break a}if((d|0)>-1){break a}f=q(q(d|0)/q(i*n[a+308>>2]));t:{if(q(r(f))>2]=(a|0)<-1?a:-1;break a}if((am(j[b+8>>2])|0)!=j[a+188>>2]){break a}c=j[a+316>>2];if(!j[(c?204:196)+a>>2]){break a}h=j[(c?236:220)+a>>2];f=n[(c?300:292)+a>>2];i=n[(c?296:288)+a>>2];d=b;l=j[b+20>>2];e=q(n[a+304>>2]*q(j[(c?232:216)+a>>2]));u:{if(q(r(e))>2]=l;c=b;o=j[b+24>>2];e=q(n[a+308>>2]*q(h|0));v:{if(q(r(e))>2]=h;c=b;i=q(q(l|0)/q(i*n[a+304>>2]));w:{if(q(r(i))>2]=d;f=q(q(h|0)/q(f*n[a+308>>2]));if(q(r(f))>2]=~~f;break a}j[b+24>>2]=-2147483648;break a}d=j[a+316>>2];c=j[(d?204:196)+a>>2];if(!c){break a}h=j[(d?232:216)+a>>2];l=j[(d?236:220)+a>>2];f=n[(d?300:292)+a>>2];i=n[(d?296:288)+a>>2];d=j[(d?208:200)+a>>2];j[g+12>>2]=1;j[g+8>>2]=1;vm(a,g+12|0,g+8|0);e=q(n[b+24>>2]*q(j[g+12>>2]-1|0));n[b+24>>2]=e;m=q(n[b+28>>2]*q(j[g+8>>2]-1|0));n[b+28>>2]=m;e=q(e-q(n[a+304>>2]*q(h|0)));n[b+24>>2]=e;m=q(m-q(n[a+308>>2]*q(l|0)));n[b+28>>2]=m;i=q(e/q(i*n[a+304>>2]));n[b+24>>2]=i;e=n[a+308>>2];n[b+24>>2]=(c|0)>=2?q(i/q(c-1|0)):q(.5);n[b+28>>2]=(d|0)>=2?q(q(m/q(f*e))/q(d-1|0)):q(.5);break a}h=j[a+344>>2];j[(h?h+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){break c}j[b>>2]=1;j[b+4>>2]=0;Ge(b+8|0,d,16);if((qe[j[a+20>>2]](a,b)|0)<=-1){j[b>>2]=0;break c}Ge(a+360|0,d,16);j[a+400>>2]=1}if(j[a+336>>2]){break b}b=j[a+340>>2];if(!b){break b}qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;b=a+420|0;while(1){d=b;b=j[b+8>>2];if(b){continue}break}j[d+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}if(!c){break a}wm(a,c)}oe=g+16|0;return 0}function vy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0;m=oe-16|0;oe=m;i=j[a+16>>2];e=k[i+6|0]|k[i+7|0]<<8|(k[i+8|0]<<16|k[i+9|0]<<24);d=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a:{if(!d){e=0;break a}o=i+13|0;b:{while(1){e=d+g>>>1|0;l=o+p(e,11)|0;h=l-3|0;h=k[h+1|0]<<8|k[h|0]<<16|k[h+2|0];c:{if(h>>>0>c>>>0){d=e;break c}if(c>>>0<=h>>>0){break b}g=e+1|0}if(d>>>0>g>>>0){continue}break}e=0;break a}c=k[l+4|0]|k[l+5|0]<<8|(k[l+6|0]<<16|k[l+7|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=k[l|0]|k[l+1|0]<<8|(k[l+2|0]<<16|k[l+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(d|e)){e=0;break a}d:{if(!e){e=j[a+28>>2];d=d+i|0;c=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);j[m+12>>2]=0;h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=h+1|0;e:{if(c>>>0<=e>>>0){e=j[a+32>>2];break e}j[a+36>>2]=b;e=xe(b,4,e,c,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=c}if(h){f=d+4|0;d=0;while(1){j[(d<<2)+e>>2]=k[f+2|0]|(k[f+1|0]<<8|k[f|0]<<16);f=f+5|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}j[(h<<2)+e>>2]=0;break a}if(!d){g=e+i|0;c=k[g|0]|k[g+1|0]<<8|(k[g+2|0]<<16|k[g+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=1;f:{if(!c){break f}f=g+7|0;d=0;e=c;while(1){d=(k[f|0]+d|0)+1|0;f=f+4|0;e=e-1|0;if(e){continue}break}d=d+1|0}e=j[a+28>>2];j[m+12>>2]=0;g:{if(d>>>0<=e>>>0){e=j[a+32>>2];break g}j[a+36>>2]=b;e=xe(b,4,e,d,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=d}d=e;if(c){while(1){f=k[g+6|0]|(k[g+5|0]<<8|k[g+4|0]<<16);a=g+4|0;g=k[g+7|0]+1|0;while(1){j[d>>2]=f;d=d+4|0;f=f+1|0;g=g-1|0;if(g){continue}break}g=a;c=c-1|0;if(c){continue}break}}j[d>>2]=0;break a}d=d+i|0;c=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d+4|0;h:{i:{j:{k:{l:{c=e+i|0;e=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);h=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(h){f=c+7|0;g=0;e=h;while(1){g=(k[f|0]+g|0)+1|0;f=f+4|0;e=e-1|0;if(e){continue}break}if(n){break j}if(h){break l}d=1;break k}if(n){break i}d=1;break k}f=c+7|0;d=0;g=h;while(1){d=(k[f|0]+d|0)+1|0;f=f+4|0;g=g-1|0;if(g){continue}break}d=d+1|0}e=j[a+28>>2];j[m+12>>2]=0;m:{if(d>>>0<=e>>>0){e=j[a+32>>2];break m}j[a+36>>2]=b;e=xe(b,4,e,d,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=d}d=e;if(h){while(1){f=k[c+6|0]|(k[c+5|0]<<8|k[c+4|0]<<16);a=c+4|0;g=k[c+7|0]+1|0;while(1){j[d>>2]=f;d=d+4|0;f=f+1|0;g=g-1|0;if(g){continue}break}c=a;h=h-1|0;if(h){continue}break}}j[d>>2]=0;break a}if(g){break h}}e=j[a+28>>2];j[m+12>>2]=0;c=n+1|0;n:{if(c>>>0<=e>>>0){e=j[a+32>>2];break n}j[a+36>>2]=b;e=xe(b,4,e,c,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=c}f=0;while(1){j[(f<<2)+e>>2]=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);d=d+5|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}j[(n<<2)+e>>2]=0;break a}e=j[a+28>>2];j[m+12>>2]=0;g=(g+n|0)+1|0;o:{if(g>>>0<=e>>>0){e=j[a+32>>2];break o}j[a+36>>2]=b;e=xe(b,4,e,g,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=g}o=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);a=c+4|0;g=k[a+1|0]<<8|k[a|0]<<16|k[a+2|0];b=d+5|0;i=a+4|0;c=k[a+3|0];f=0;a=1;l=1;while(1){p:{d=0;if(c+g>>>0>>0){while(1){j[(f<<2)+e>>2]=d+g;f=f+1|0;d=d+1|0;if(d>>>0<=c>>>0){continue}break}a=a+1|0;if(h>>>0>>0){break p}g=k[i+2|0]|(k[i+1|0]<<8|k[i|0]<<16);c=k[i+3|0];i=i+4|0;continue}if(g>>>0>o>>>0){j[(f<<2)+e>>2]=o;f=f+1|0}l=l+1|0;if(n>>>0>>0){break p}o=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16);b=b+5|0;continue}break}q:{if(l>>>0<=n>>>0){j[(f<<2)+e>>2]=o;f=f+1|0;if(l>>>0>=n>>>0){break q}while(1){j[(f<<2)+e>>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16);f=f+1|0;b=b+5|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}break q}if(a>>>0>h>>>0){break q}d=0;while(1){j[(f<<2)+e>>2]=d+g;f=f+1|0;d=d+1|0;if(d>>>0<=c>>>0){continue}break}if(a>>>0>=h>>>0){break q}while(1){g=k[i+2|0]|(k[i|0]<<16|k[i+1|0]<<8);c=k[i+3|0];d=0;while(1){j[(f<<2)+e>>2]=d+g;f=f+1|0;b=(c|0)!=(d|0);d=d+1|0;if(b){continue}break}i=i+4|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}j[(f<<2)+e>>2]=0;break a}e=0}oe=m+16|0;return e|0}function gv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,w=0,x=0,y=0;p=oe-32|0;oe=p;n=j[b>>2];c=1;a:{if(n>>>0>1e5){break a}f=j[b+4>>2];c=1;if((f|0)<0){break a}c=1;if((f|0)>(1e5-n|0)){break a}i=j[b+8>>2];c=1;if(i>>>0>1e5){break a}e=j[b+12>>2];c=1;if((e|0)<0){break a}c=1;if((e|0)>(1e5-i|0)){break a}o=j[b+16>>2];c=1;if(o>>>0>1e5){break a}l=j[b+20>>2];c=1;if((l|0)<0){break a}c=1;if((l|0)>(1e5-o|0)){break a}m=j[b+24>>2];c=1;if(m>>>0>1e5){break a}g=j[b+28>>2];c=1;if((g|0)<0){break a}c=1;if((g|0)>(1e5-m|0)){break a}q=f-l|0;i=i-o|0;f=0;b:{if(!i){break b}f=0;if(!q){break b}d=v(+(i|0)*+(q|0)/7+.5);c=2;if(d<=2147483647^1|d>=-2147483648^1){break a}f=~~d;if(r(d)<2147483648){break b}f=-2147483648}s=n-o|0;t=e-l|0;c:{if(!s|!t){break c}d=v(+(s|0)*+(t|0)/7+.5);c=2;if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){k=~~d;break c}k=-2147483648}u=g-l|0;e=0;d:{if(!i){break d}e=0;if(!u){break d}d=v(+(i|0)*+(u|0)/7+.5);c=2;if(d<=2147483647^1|d>=-2147483648^1){break a}e=~~d;if(r(d)<2147483648){break d}e=-2147483648}l=m-o|0;e:{if(!t|!l){break e}d=v(+(t|0)*+(l|0)/7+.5);c=2;if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){h=~~d;break e}h=-2147483648}m=e-h|0;c=1;if(!m){break a}i=f-k|0;k=!g|!i;h=0;f:{if(k){break f}d=v(+(g|0)*+(i|0)/+(m|0)+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}h=~~d;if(r(d)<2147483648){break f}h=-2147483648}c=1;if((h|0)<=(g|0)){break a}f=0;e=0;g:{if(!q){break g}e=0;if(!l){break g}d=v(+(q|0)*+(l|0)/7+.5);c=2;if(d<=2147483647^1|d>=-2147483648^1){break a}e=~~d;if(r(d)<2147483648){break g}e=-2147483648}h:{if(!s|!u){break h}d=v(+(s|0)*+(u|0)/7+.5);c=2;if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){f=~~d;break h}f=-2147483648}e=e-f|0;c=1;if(!e){break a}f=0;i:{if(k){break i}d=v(+(g|0)*+(i|0)/+(e|0)+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}f=~~d;if(r(d)<2147483648){break i}f=-2147483648}c=1;if((g|0)>=(f|0)){break a}w=+(h|0);d=v(1e10/w+.5);e=d>=-2147483648;if(r(d)<2147483648){c=~~d}else{c=-2147483648}k=d<=2147483647?e?c:0:0;x=v(1e10/+(g|0)+.5);e=x>=-2147483648;y=+(f|0);d=v(1e10/y+.5);g=d>=-2147483648;if(r(x)<2147483648){c=~~x}else{c=-2147483648}c=(x<=2147483647?e?c:0:0)-k|0;if(r(d)<2147483648){e=~~d}else{e=-2147483648}k=c-(d<=2147483647?g?e:0:0)|0;c=1;if((k|0)<1){break a}c=1;if(!h){break a}g=0;e=a;c=0;j:{if(!n){break j}d=v(+(n|0)*1e5/w+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}c=~~d;if(r(d)<2147483648){break j}c=-2147483648}j[e>>2]=c;e=j[b+4>>2];k:{if(!e){break k}d=v(+(e|0)*1e5/w+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){g=~~d;break k}g=-2147483648}j[a+4>>2]=g;e=a;h=1e5-(j[b>>2]+j[b+4>>2]|0)|0;c=0;l:{if(!h){break l}d=v(+(h|0)*1e5/w+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}c=~~d;if(r(d)<2147483648){break l}c=-2147483648}j[e+8>>2]=c;c=1;if(!f){break a}g=0;e=a;f=j[b+8>>2];c=0;m:{if(!f){break m}d=v(+(f|0)*1e5/y+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}c=~~d;if(r(d)<2147483648){break m}c=-2147483648}j[e+12>>2]=c;e=j[b+12>>2];n:{if(!e){break n}d=v(+(e|0)*1e5/y+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){g=~~d;break n}g=-2147483648}j[a+16>>2]=g;g=0;e=a;f=1e5-(j[b+8>>2]+j[b+12>>2]|0)|0;c=0;o:{if(!f){break o}d=v(+(f|0)*1e5/y+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}c=~~d;if(r(d)<2147483648){break o}c=-2147483648}j[e+20>>2]=c;e=j[b+16>>2];p:{if(!e){break p}d=v(+(k|0)*+(e|0)/1e5+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){g=~~d;break p}g=-2147483648}j[a+24>>2]=g;g=0;e=a;f=j[b+20>>2];c=0;q:{if(!f){break q}d=v(+(k|0)*+(f|0)/1e5+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}c=~~d;if(r(d)<2147483648){break q}c=-2147483648}j[e+28>>2]=c;e=1e5-(j[b+16>>2]+j[b+20>>2]|0)|0;r:{if(!e){break r}d=v(+(k|0)*+(e|0)/1e5+.5);c=1;if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){g=~~d;break r}g=-2147483648}j[a+32>>2]=g;c=1;if(fv(p,a)){break a}c=!uj(b,p,5)}oe=p+32|0;return c}function Ht(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=q(0),l=0,m=0,o=q(0),s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;g=oe-80|0;oe=g;a:{if(!k[242924]){c=j[58890];a=c+15|0;if((a|0)>j[58895]){a=(a|0)>j[58896]}else{a=0}j[58891]=a;b=j[58889];a=b+17|0;if((a|0)j[58902]?(a|0)>j[58901]:0)){j[58894]=0;break a}j[58894]=1;break a}j[58893]=1;j[58894]=1;j[58891]=1;j[58892]=1}a=j[58887];if((a|0)>2];b:{if((a|0)!=1025){if((a|0)!=768){if((a|0)!=256){break b}j[58886]=1;break b}c:{switch(j[g+44>>2]-101|0){case 12:j[58886]=1;break b;case 0:if(k[242924]){h[242924]=0;break b}h[242924]=1;break b;case 7:break c;default:break b}}if(!k[242924]){break b}E=235644,F=we(j[58911],1164)?1164:1435,j[E>>2]=F;Bl();break b}if(!k[242924]){break b}i=n[57791];o=q(q(j[g+44>>2])/i);d=j[58911];d:{if(!we(d,1164)){i=q(q(j[g+48>>2])/i);break d}o=q(o+q(j[58889]-j[58887]|0));i=q(q(q(j[g+48>>2])/i)+q(j[58890]-j[58888]|0))}i=q(i*q(.0625));e:{if(q(r(i))=j[58907]))){b=j[j[j[58909]+(a<<2)>>2]+(c<<2)>>2];if((b|0)>-1){break g}}b=-1}h:{switch(k[g+40|0]-1|0){case 0:if(we(d,1435)){break b}d=j[58908];b=j[58906];e=j[d+(a<<2)>>2];i:{if((b|0)>(a|0)){break i}j[d+(b<<2)>>2]=0;a=b;e=0}b=e;e=d;d=a<<2;a=e+d|0;if(!((c|0)<1|b)){Ee(j[d+j[58909]>>2],255,c<<2)}f=j[d+j[58909]>>2];j[f+(c<<2)>>2]=j[65533];b=j[a>>2];d=c+1|0;j:{if((b|0)>(d|0)){d=b;break j}if((b|0)<=(c|0)){while(1){j[f+(b<<2)>>2]=j[65533];e=j[a>>2];b=e+1|0;j[a>>2]=b;if((c|0)>(e|0)){continue}break}}j[f+(d<<2)>>2]=10;j[a>>2]=d}if(j[58907]<(d|0)){j[58907]=d}if(!Zu()){break b}j[g>>2]=j[65532];Vg(1462,g);break b;case 2:break h;default:break b}}j[65533]=b;j[g+16>>2]=b;Vg(1484,g+16|0)}if(os(g+24|0)){continue}break}}d=0;b=0;k:{if(we(j[58911],1435)){break k}a=j[58889];d=(a+8|0)/16|0;x=d-1|0;c=j[58890];f=(c+28|0)/16|0;y=f+1|0;z=d+1|0;A=f-1|0;v=(c|0)<-43?0:c+43>>>0<31?0:f;f=j[58909];e=j[(v<<2)+f>>2];t=(a|0)<-23?0:a+23>>>0<31?0:d;l=j[e+(t<<2)>>2];if((l|0)<0){d=0;l=0;break k}b=(c|0)>=4?j[j[f+(A<<2)>>2]+(t<<2)>>2]:b;m=(a|0)>=-23?j[e+(z<<2)>>2]:m;d=0;d=(c|0)>=-43?j[j[f+(y<<2)>>2]+(t<<2)>>2]:d;if((a|0)<24){break k}s=j[e+(x<<2)>>2]}u=p(l,24)+235536|0;e=u;f=j[e+156>>2];w=f;a=j[e+148>>2];c=a;l:{if((b|0)<0){break l}w=f;c=a;if(j[60719]<(b|0)){break l}c=p(b,24)+235536|0;w=j[c+156>>2];c=j[c+148>>2]}B=c;e=j[e+160>>2];l=e;c=j[u+152>>2];b=c;m:{if((m|0)<0){break m}l=e;b=c;if(j[60719]<(m|0)){break m}b=p(m,24)+235536|0;l=j[b+160>>2];b=j[b+152>>2]}u=b;m=f;b=a;n:{if((d|0)<0){break n}b=a;if(j[60719]<(d|0)){break n}b=p(d,24)+235536|0;m=j[b+156>>2];b=j[b+148>>2]}C=b;d=e;b=c;o:{if((s|0)<0){break o}b=c;if(j[60719]<(s|0)){break o}b=p(s,24)+235536|0;d=j[b+160>>2];b=j[b+152>>2]}no();if(!we(j[58911],1435)){lw(j[58904],j[58887],j[58888],j[58903])}s=yg();if((s|0)<=19){gg(20-s|0);yg()}if(k[265572]){j[58895]=0;j[58896]=0;if((a|0)>=1){j[58895]=(v<<4)+a;D=1}if((w|0)>=1){j[((D<<2)+235536|0)+44>>2]=(A<<4)+B}if(j[58891]){j[58888]=j[58888]-1;j[58890]=j[58890]-3}j[58903]=0}if(k[265569]){a=j[58907]<<4;j[58898]=a;j[58897]=a;if((c|0)<1){a=0}else{j[58897]=((t<<4)-c|0)+16;a=1}if((l|0)>=1){j[((a<<2)+235536|0)+52>>2]=((z<<4)+16|0)-u}if(j[58892]){j[58887]=j[58887]+1;j[58889]=j[58889]+3}j[58903]=1}if(k[265571]){a=j[58906]<<4;j[58900]=a;j[58899]=a;if((f|0)<1){a=0}else{j[58899]=((v<<4)-f|0)+16;a=1}if((C|0)>=1){j[((a<<2)+235536|0)+60>>2]=((y<<4)+16|0)-m}if(j[58893]){j[58888]=j[58888]+1;j[58890]=j[58890]+3}j[58903]=2}if(k[265570]){j[58901]=0;j[58902]=0;if((e|0)<1){a=0}else{j[58901]=e+(t<<4);a=1}if((b|0)>=1){j[((a<<2)+235536|0)+68>>2]=(x<<4)+d}if(j[58894]){j[58887]=j[58887]-1;j[58889]=j[58889]-3}j[58903]=3}Qr(j[58882]);aN(j[58882]);oe=g+80|0}function eM(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,l=0,m=0,n=0,o=0;a:{b:{switch(c-1|0){case 0:c=j[b+12>>2];if(!c){break a}h=g^255;i=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(i,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];m=b&3;n=(b+3|0)/4|0;o=i-b<<2;c:while(1){l=n;d:{e:{switch(m-1|0){default:i=0;break d;case 0:i=3;break d;case 1:i=2;break d;case 2:break e}}i=1}while(1){f:{switch(i|0){case 0:b=j[a>>2];j[a>>2]=((p(h,b>>>24|0)>>>0)/255|0)+g<<24|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16|((p(h,b>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;i=1;continue;case 1:b=j[a>>2];j[a>>2]=((p(h,b>>>24|0)>>>0)/255|0)+g<<24|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16|((p(h,b>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;i=2;continue;case 2:b=j[a>>2];j[a>>2]=((p(h,b>>>24|0)>>>0)/255|0)+g<<24|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16|((p(h,b>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;i=3;continue;default:break f}}b=c-1|0;i=j[a>>2];j[a>>2]=((p(h,i>>>24|0)>>>0)/255|0)+g<<24|((p(h,i&255)>>>0)/255|0)+f|((p(h,i>>>16&255)>>>0)/255|0)+d<<16|((p(h,i>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;g:{if((l|0)>1){l=l-1|0;break g}a=a+o|0;c=b;if(b){continue c}break a}i=0;continue}};default:i=j[b+12>>2];if(!i){break a}l=e<<8|d<<16|f|g<<24;c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];g=b&3;d=(b+3|0)/4|0;f=c-b<<2;h:while(1){e=d;i:{j:{switch(g-1|0){default:c=0;break i;case 0:c=3;break i;case 1:c=2;break i;case 2:break j}}c=1}while(1){k:{switch(c|0){case 0:j[a>>2]=l;a=a+4|0;c=1;continue;case 1:j[a>>2]=l;a=a+4|0;c=2;continue;case 2:j[a>>2]=l;a=a+4|0;c=3;continue;default:break k}}b=i-1|0;j[a>>2]=l;a=a+4|0;l:{if((e|0)>1){e=e-1|0;break l}a=a+f|0;i=b;if(b){continue h}break a}c=0;continue}};case 3:l=j[b+12>>2];if(!l){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];o=b&3;g=(b+3|0)/4|0;n=c-b<<2;m:while(1){i=g;n:{o:{switch(o-1|0){default:c=0;break n;case 0:c=3;break n;case 1:c=2;break n;case 2:break o}}c=1}while(1){p:{switch(c|0){case 0:b=j[a>>2];j[a>>2]=b&-16777216|(p(b&255,f)>>>0)/255|(p(b>>>16&255,d)>>>0)/255<<16|(p(b>>>8&255,e)>>>0)/255<<8;a=a+4|0;c=1;continue;case 1:b=j[a>>2];j[a>>2]=b&-16777216|(p(b&255,f)>>>0)/255|(p(b>>>16&255,d)>>>0)/255<<16|(p(b>>>8&255,e)>>>0)/255<<8;a=a+4|0;c=2;continue;case 2:b=j[a>>2];j[a>>2]=b&-16777216|(p(b&255,f)>>>0)/255|(p(b>>>16&255,d)>>>0)/255<<16|(p(b>>>8&255,e)>>>0)/255<<8;a=a+4|0;c=3;continue;default:break p}}b=l-1|0;c=j[a>>2];j[a>>2]=c&-16777216|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16|(p(c>>>8&255,e)>>>0)/255<<8;a=a+4|0;q:{if((i|0)>1){i=i-1|0;break q}a=a+n|0;l=b;if(b){continue m}break a}c=0;continue}};case 1:break b}}g=j[b+12>>2];if(!g){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];o=b&3;l=(b+3|0)/4|0;n=c-b<<2;r:while(1){i=l;s:{t:{switch(o-1|0){default:c=0;break s;case 0:c=3;break s;case 1:c=2;break s;case 2:break t}}c=1}while(1){u:{switch(c|0){case 0:c=j[a>>2];b=(c&255)+f|0;h=(b>>>0<255?b:255)|c&-16777216;b=(c>>>16&255)+d|0;h=h|(b>>>0<255?b:255)<<16;b=(c>>>8&255)+e|0;j[a>>2]=h|(b>>>0<255?b:255)<<8;a=a+4|0;c=1;continue;case 1:c=j[a>>2];b=(c&255)+f|0;h=(b>>>0<255?b:255)|c&-16777216;b=(c>>>16&255)+d|0;h=h|(b>>>0<255?b:255)<<16;b=(c>>>8&255)+e|0;j[a>>2]=h|(b>>>0<255?b:255)<<8;a=a+4|0;c=2;continue;case 2:c=j[a>>2];b=(c&255)+f|0;h=(b>>>0<255?b:255)|c&-16777216;b=(c>>>16&255)+d|0;h=h|(b>>>0<255?b:255)<<16;b=(c>>>8&255)+e|0;j[a>>2]=h|(b>>>0<255?b:255)<<8;a=a+4|0;c=3;continue;default:break u}}b=g-1|0;m=j[a>>2];c=(m&255)+f|0;h=(c>>>0<255?c:255)|m&-16777216;c=(m>>>16&255)+d|0;h=h|(c>>>0<255?c:255)<<16;c=(m>>>8&255)+e|0;j[a>>2]=h|(c>>>0<255?c:255)<<8;a=a+4|0;v:{if((i|0)>1){i=i-1|0;break v}a=a+n|0;g=b;if(b){continue r}break a}c=0;continue}}}return 0}function vn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;u=oe-80|0;oe=u;g=Qi(a,b);a:{if(g){break a}d=j[a+2980>>2];if(!(d&1?!(!(d&8)&j[c+24>>2]==1):0)){g=sn(a,0);if(g){break a}pn(a,c,0);d=j[a+2980>>2]}if(!(d&2)){g=sn(a,1);if(g){break a}pn(a,c,1)}q=1;while(1){b:{d=j[a+2980>>2];c:{d:{if(q){if(d&1){break c}if(d&8|j[c+24>>2]!=1){break d}Tn(u+16|0,a,u+12|0,u+8|0);o=j[a+24>>2];if((o|0)<1){break c}d=j[a+28>>2];o=d+p(o,40)|0;e=j[u+8>>2];m=j[u+12>>2];while(1){B=d,C=ye(i[d+12>>1],m)+e|0,j[B+16>>2]=C;d=d+40|0;if(o>>>0>d>>>0){continue}break}break c}if(d&2){break b}}x=p(r,1468)+a|0;A=x- -64|0;o=j[A>>2];t=j[x+56>>2];v=o+p(t,48)|0;m=0;d=o;y=(t|0)<1;if(!y){while(1){g=k[d+12|0];e:{if(g&4){break e}e=j[d+24>>2];f=j[d+20>>2];f:{if(f){n=d;break f}if(!e){break e}f=j[e+20>>2];if(!f){break e}g=k[e+12|0];n=e;e=d}f=j[f+8>>2];h[n+12|0]=g|4;j[n+8>>2]=f;if(!(j[e+20>>2]|!e)){B=e,C=tj(a,r,j[e+4>>2]-j[n+4>>2]|0)+f|0,j[B+8>>2]=C;h[e+12|0]=k[e+12|0]|4}m=m?m:d}n=0;d=d+48|0;if(v>>>0>d>>>0){continue}break}d=o;e=m;s=0;f=0;m=0;while(1){z=k[d+12|0];g:{if(z&4){break g}g=j[d+24>>2];if(!g){m=m+1|0;break g}h:{if(!(f&255)){break h}w=s- -64|0;if((w|0)<=j[g+8>>2]?(w|0)<=j[d+8>>2]:0){break h}m=m+1|0;break g}if(j[g+20>>2]){w=tj(a,r,j[d+4>>2]-j[g+4>>2]|0);g=j[g+8>>2];h[d+12|0]=z|4;j[d+8>>2]=g+w;break g}if(d>>>0>g>>>0){f=tj(a,r,j[d+4>>2]-j[g+4>>2]|0);g=j[g+8>>2];h[d+12|0]=z|4;s=f+g|0;j[d+8>>2]=s;f=1;break g}i:{if(!((e|0)!=0|r)){n=nn(a,d,g,0,0);break i}nn(a,d,g,n,r)}h[d+12|0]=k[d+12|0]|4;h[g+12|0]=k[g+12|0]|4;s=j[g+8>>2];f=1;e=d}d=d+48|0;if(v>>>0>d>>>0){continue}break}}j:{if(!q){break j}g=4;e=2;d=o;k:{switch(t-6|0){case 6:d=o+48|0;g=9;e=5;break;case 0:break k;default:break j}}if(j[d+24>>2]!=(d+48|0)){break j}n=o+p(e,48)|0;if(j[n+24>>2]!=(n+48|0)){break j}e=j[n+4>>2];g=p(g,48);f=g+o|0;s=e-j[f+4>>2]+(e-j[d+4>>2])|0;e=s>>31;if((e^e+s)>7){break j}e=j[f+24>>2];if((e|0)!=(g+(o+48|0)|0)){break j}g=j[f+8>>2];d=(j[n+8>>2]<<1)-j[d+8>>2]|0;j[f+8>>2]=d;d=g-d|0;if(e){j[e+8>>2]=j[e+8>>2]-d}if((t|0)==12){j[o+392>>2]=j[o+392>>2]-d;j[o+536>>2]=j[o+536>>2]-d}h[f+12|0]=k[f+12|0]|4;if(!e){break j}h[e+12|0]=k[e+12|0]|4}l:{if(!m){break l}d=o;if(y){break l}while(1){f=k[d+12|0];m:{if(f&4){break m}e=j[d+28>>2];if(!e){break m}n=j[e+4>>2];e=j[e+8>>2];h[d+12|0]=f|4;j[d+8>>2]=(e+j[d+4>>2]|0)-n;m=m-1|0}d=d+48|0;if(v>>>0>d>>>0){continue}break}if(y){break l}f=o;if(!m){break l}while(1){d=f;n:{if(k[d+12|0]&4){break n}while(1){e=d;d=d-48|0;g=o>>>0>d>>>0;if(k[e-36|0]&4?0:!g){continue}break}m=f;o:{p:{while(1){n=m;m=n+48|0;if(v>>>0<=m>>>0){break p}if(!(k[n+60|0]&4)){continue}break}if(d>>>0>=o>>>0){break o}j[f+8>>2]=(j[f+4>>2]+j[n+56>>2]|0)-j[n+52>>2];break n}if(g){break n}j[f+8>>2]=(j[f+4>>2]+j[e-40>>2]|0)-j[e-44>>2];break n}m=l[m>>1];d=l[d>>1];if((m|0)==(d|0)){j[f+8>>2]=j[e-40>>2];break n}d=d<<16>>16;e=j[e-40>>2];B=f,C=Ne(i[f>>1]-d|0,j[n+56>>2]-e|0,(m<<16>>16)-d|0)+e|0,j[B+8>>2]=C}f=f+48|0;if(v>>>0>f>>>0){continue}break}}d=j[x+56>>2];o=j[A>>2];e=0;e=q|r?(j[a+2984>>2]&(q?1:2))!=0:e;if((d|0)>=1){v=p(d,48)+o|0;g=q?4:8;while(1){d=j[o+40>>2];f=d;q:{if(e){while(1){m=f+40|0;t=j[f+44>>2];while(1){n=j[m>>2];j[n+(q?16:20)>>2]=j[o+8>>2];i[n>>1]=g|l[n>>1];m=n+32|0;if((n|0)!=(t|0)){continue}break}f=j[f+16>>2];if((d|0)!=(f|0)){continue}break q}}t=j[o+8>>2]-j[o+4>>2]|0;n=d;while(1){m=n+40|0;s=j[n+44>>2];while(1){f=j[m>>2];m=f+(q?16:20)|0;j[m>>2]=t+j[m>>2];i[f>>1]=g|l[f>>1];m=f+32|0;if((f|0)!=(s|0)){continue}break}n=j[n+16>>2];if((d|0)!=(n|0)){continue}break}}o=o+48|0;if(v>>>0>o>>>0){continue}break}}On(a,r);Hn(a,r)}r=1;d=q;q=0;if(d){continue}}break}c=j[a+24>>2];if((c|0)<1){g=0;break a}d=j[a+28>>2];c=d+p(c,40)|0;m=j[b+4>>2];a=j[b+8>>2];while(1){j[m>>2]=j[d+16>>2];j[m+4>>2]=j[d+20>>2];g=0;b=l[d>>1];h[a|0]=b&1?0:b&2?2:1;a=a+1|0;m=m+8|0;d=d+40|0;if(c>>>0>d>>>0){continue}break}}oe=u+80|0;return g|0}function vu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;c=oe-6992|0;oe=c;f=j[j[a+4>>2]>>2];Ee(c- -64|4,0,2996);j[c+16>>2]=0;j[c+20>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;j[c+44>>2]=0;j[c+48>>2]=0;j[c+52>>2]=0;j[c+56>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+64>>2]=f;j[c+8>>2]=c- -64;b=j[b+4>>2];f=j[b+88>>2];a:{if(!f){f=36;break a}j[c+6936>>2]=b;g=j[f+16>>2];j[c+6948>>2]=0;j[c+6940>>2]=g;f=j[f+20>>2];j[c+6960>>2]=0;j[c+6956>>2]=e>>>16&15;j[c+6952>>2]=0;j[c+6944>>2]=f;j[c>>2]=b;g=j[b+116>>2];j[c+4>>2]=g;if(!g){f=rj(b,c|4,a);if(f){break a}g=j[c+4>>2];j[b+116>>2]=g;j[b+120>>2]=14}j[c+6976>>2]=0;f=6;if(m[g+4>>2]<=d>>>0){break a}f=(k[j[g+8>>2]+d|0]&127)<<2;o=f+g|0;b=j[o+16>>2];b:{if(b){break b}a=j[j[g>>2]+100>>2];i=j[f+4960>>2];n=j[(j[i+4>>2]<<2)+4832>>2];b=He(a,j[n+4>>2],c+6976|0);f=j[c+6976>>2];if(f){break a}j[b+36>>2]=g;j[b>>2]=i;c:{f=j[n+8>>2];if(!f){break c}f=qe[f|0](b,j[g>>2])|0;j[c+6976>>2]=f;if(!f){break c}f=j[n+16>>2];if(f){qe[f|0](b)}if(b){qe[j[a+8>>2]](a,b)}f=j[c+6976>>2];if(f){break a}b=0;break b}j[o+16>>2]=b}a=j[j[b>>2]+4>>2];j[c+12>>2]=b;a=j[(a<<2)+4832>>2];f=j[a+12>>2];d:{if(f){qe[f|0](b,c+6936|0);break d}f=j[c+6940>>2];j[b+4>>2]=j[c+6936>>2];j[b+8>>2]=f;j[b+28>>2]=j[c+6960>>2];f=c+6952|0;g=j[f+4>>2];j[b+20>>2]=j[f>>2];j[b+24>>2]=g;f=c+6944|0;g=j[f+4>>2];j[b+12>>2]=j[f>>2];j[b+16>>2]=g}a=j[a+20>>2];if(a){f=qe[a|0](j[c+8>>2],b)|0;if(f){break a}}f=j[c>>2];b=j[f+84>>2];g=j[b+156>>2];o=j[g>>2];a=j[c+8>>2];n=j[c+12>>2];f=Th(f,d,e&-10246|10241);if(f){break a}e=k[g+8|0];h[c+16|0]=e;e:{if(!e){break e}e=j[g+24>>2];i=j[g+20>>2];j[c+28>>2]=i;j[c+32>>2]=e;f=j[g+16>>2];q=j[g+12>>2];j[c+20>>2]=q;j[c+24>>2]=f;s=j[g+28>>2];g=j[g+32>>2];r=c+6984|0;j[r>>2]=i;j[r+4>>2]=e;j[c+6976>>2]=q;j[c+6980>>2]=f;j[c+36>>2]=s;j[c+40>>2]=g;if(VB(c+6976|0)){break e}Qg(c+36|0,c+6976|0)}f=7;f:{if(j[b+72>>2]!=1869968492){break f}if(k[c+16|0]){Tf(b+108|0,j[c+36>>2],j[c+40>>2])}j[c+44>>2]=j[a+8>>2];j[c+48>>2]=j[a+16>>2];u=c,v=ye(j[b+40>>2],j[a+4>>2])+j[a+8>>2]|0,j[u+52>>2]=v;j[c+56>>2]=j[a+16>>2];f=0;if(!l[b+110>>1]){break f}e=j[j[(j[j[n>>2]+4>>2]<<2)+4832>>2]+24>>2];if(e){qe[e|0](a,o+20|0,n)|0}if(j[c+6956>>2]!=1){e=j[a+56>>2];if(!(k[a+2980|0]&4|(e|0)<2)){a=j[a- -64>>2];e=(a+p(e,48)|0)-48|0;g=j[e+8>>2];e=j[e+4>>2];s=j[a+8>>2];i=j[a+4>>2];a=s-i|0;r=(i|0)<24?a-8|0:a;a=r+32&-64;j[c+44>>2]=a;q=j[c+52>>2]-e|0;e=g+q|0;t=(q|0)<24?e+8|0:e;e=t+32&-64;j[c+52>>2]=e;if(!((i|0)<1|(a|0)<(s|0))){a=a+ -64|0;j[c+44>>2]=a}if(!((q|0)<1|(e|0)>(g|0))){e=e- -64|0;j[c+52>>2]=e}j[b+148>>2]=e-t;j[b+144>>2]=a-r;break f}a=j[c+44>>2];e=a+32&-64;j[c+44>>2]=e;g=j[c+52>>2];i=g+32&-64;j[c+52>>2]=i;j[b+148>>2]=i-g;j[b+144>>2]=e-a;break f}e=j[c+44>>2];g=(e+j[a+2992>>2]|0)+32&-64;j[c+44>>2]=g;i=j[a+2996>>2];a=j[c+52>>2];i=(i+a|0)+32&-64;j[c+52>>2]=i;j[b+144>>2]=g-e;j[b+148>>2]=i-a}a=j[b+44>>2]-j[b+32>>2]|0;j[c+6968>>2]=a;e=j[b+48>>2]-j[b+36>>2]|0;j[c+6972>>2]=e;u=c,v=ye(a,j[n+8>>2]),j[u+6968>>2]=v;u=c,v=ye(e,j[n+12>>2]),j[u+6972>>2]=v;if(k[c+16|0]){a=c+20|0;rh(o+20|0,a);Qg(c+6968|0,a)}a=j[c+44>>2];if(a){Tf(o+20|0,0-a|0,0)}Rg(o+20|0,c+6976|0);a=j[c+6976>>2]&-64;j[c+6976>>2]=a;e=j[c+6988>>2]+63&-64;j[c+6988>>2]=e;g=j[c+6984>>2]+63&-64;j[c+6984>>2]=g;o=j[c+6980>>2]&-64;j[c+6980>>2]=o;j[b+36>>2]=e;j[b+32>>2]=a;j[b+28>>2]=e-o;j[b+24>>2]=g-a;j[b+44>>2]=a+j[c+6968>>2]&-64;j[b+48>>2]=e+j[c+6972>>2]&-64;g:{h:{if(j[c+6956>>2]==1){break h}if(!(k[j[b+4>>2]+8|0]&4)){a=j[c+4>>2];if(!k[n+32|0]|(m[a+4>>2]<=d>>>0|h[j[a+8>>2]+d|0]>-1)){break h}}a=ye(j[b+40>>2],j[n+8>>2]);j[b+144>>2]=0;j[b+148>>2]=0;j[b+40>>2]=a;break g}if(!j[b+40>>2]){break g}j[b+40>>2]=j[c+52>>2]-j[c+44>>2]}a=ye(j[b+52>>2],j[n+12>>2]);j[b+72>>2]=1869968492;j[b+52>>2]=a+32&-64;j[b+40>>2]=j[b+40>>2]+32&-64}j[c+8>>2]=0;j[c>>2]=0;j[c+4>>2]=0;Zk(c- -64|0);oe=c+6992|0;return f|0}function _O(a){var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0;f=oe-112|0;oe=f;o=j[a+16>>2];a:{if(!Ii(16)){ve(116826,0);a=0;break a}g=1;b:{while(1){if(!j[(g<<2)+264288>>2]){break b}g=g+1|0;if((g|0)!=16){continue}break}ve(117183,0);a=0;break a}Ge(262240,a,24);c:{if(j[a>>2]){break c}b=Qf(117379);if(b){b=sf(b);j[65560]=b;if(b){break c}}j[65560]=22050}if(!l[a+4>>1]){d=Qf(117399);d:{e:{if(!d){break e}if(!df(d,117491)){b=8;break d}if(!df(d,117494)){b=32776;break d}b=16;if(!df(d,117497)){break d}if(!df(d,117504)){break e}if(!df(d,117511)){b=4112;break d}if(!df(d,117518)){b=36880;break d}if(!df(d,117525)){break d}if(!df(d,117532)){break e}if(!df(d,117539)){break d}b=32784;if(!df(d,117543)){break d}b=32800;if(!df(d,117547)){break d}if(!df(d,117554)){b=36896;break d}if(!df(d,117561)){break d}if(!df(d,117568)){break d}b=33056;if(!df(d,117572)){break d}if(!df(d,117579)){b=37152;break d}if(!df(d,117586)){break d}if(!df(d,117593)){break d}}b=32784}i[131122]=b}f:{g:{h:{b=k[a+6|0];if(b>>>0>8){break h}i:{if(1<>1]){a=l[131124];break j}a=Qf(117473);if(a){a=sf(a);i[131124]=a;if(a&65535){break j}}d=p(j[65560]/1e3|0,46);b=1;while(1){a=b;b=a<<1;if((a|0)<(d|0)){continue}break}i[131124]=a}b=l[131122];h[262247]=((b|0)==8)<<7;j[65563]=p(k[262246],p(b>>>3&31,a&65535));e=Qf(117211);k:{if(j[66060]){l:{if(!e){break l}if(!df(e,117128)){break l}ve(116880,0);a=0;break a}a=j[66072];if(!a|j[a+68>>2]){break k}break f}if(!e){e=0;b=0;break g}a=j[66068];b=0;m:{if(!a){break m}while(1){n:{if(!j[a>>2]){break n}if(df(j[a+4>>2],e)){break n}b=j[a>>2];break m}a=j[a+16>>2];if(a){continue}break}b=0}break g}a=j[66073];if(j[a+68>>2]?0:a){break f}a=j[66074];if(j[a+68>>2]?0:a){break f}a=j[66075];if(j[a+68>>2]?0:a){break f}a=j[66076];if(j[a+68>>2]?0:a){break f}a=j[66077];if(j[a+68>>2]?0:a){break f}a=j[66078];if(j[a+68>>2]?0:a){break f}a=j[66079];if(j[a+68>>2]?0:a){break f}a=j[66080];if(j[a+68>>2]?0:a){break f}a=j[66081];if(j[a+68>>2]?0:a){break f}a=j[66082];if(j[a+68>>2]?0:a){break f}a=j[66083];if(j[a+68>>2]?0:a){break f}a=j[66084];if(j[a+68>>2]?0:a){break f}a=j[66085];if(j[a+68>>2]?0:a){break f}e=0;a=j[66086];if(j[a+68>>2]?0:a){break f}a=j[66087];if(!a){b=0;break g}b=0;if(!j[a+68>>2]){break f}break g}ve(117435,0);a=0;break a}if(!(b|(j[66062]|!e))){ve(117259,0);a=0;break a}c=Xe(1,104);if(!c){Be(0);a=0;break a}j[c>>2]=g+1;a=j[65561];j[c+4>>2]=j[65560];j[c+8>>2]=a;a=j[65563];j[c+12>>2]=j[65562];j[c+16>>2]=a;a=j[65565];j[c+20>>2]=j[65564];j[c+24>>2]=a;j[c+100>>2]=b;j[c+68>>2]=0;j[c+56>>2]=0;a=c- -64|0;a;j[a>>2]=1;j[c+60>>2]=1;o:{if(j[66058]){break o}a=$i();j[c+80>>2]=a;if(a){break o}Df(c);ve(117275,0);a=0;break a}p:{if((qe[j[66042]](c,b,e,0)|0)<=-1){break p}a=j[c+4>>2];if((a|0)!=j[65560]){j[65560]=a}m=l[131122];d=1;q:{if((m|0)!=l[c+8>>1]){break q}d=0}e=k[262246];a=k[c+10|0];if((e|0)!=(a|0)){h[262246]=a;e=a}b=l[131124];a=l[c+12>>1];n=1;r:{if((b|0)!=(a|0)){break r}b=a;n=d}a=n;h[262247]=((m|0)==8)<<7;j[65563]=p(p(m>>>3&31,e),b);b=j[65565];j[c+44>>2]=j[65564];j[c+48>>2]=b;b=j[65563];j[c+36>>2]=j[65562];j[c+40>>2]=b;b=j[65561];j[c+28>>2]=j[65560];j[c+32>>2]=b;if(a){b=Km(l[131122],k[262246],j[65560],l[c+8>>1],k[c+10|0],j[c+4>>2]);j[c+52>>2]=b;if(!b){break p}}if(!j[c+20>>2]){b=Qm(8192,j[65563]<<1);j[c+92>>2]=b;if(!b){Df(c);ve(117302,0);a=0;break a}j[c+44>>2]=615;j[c+48>>2]=c}d=j[c+16>>2];a=a?j[c+40>>2]:0;a=a>>>0>>0?d:a;j[c+76>>2]=a;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}j[c+72>>2]=a;if(!a){Df(c);Be(0);a=0;break a}j[(g<<2)+264288>>2]=c;s:{if(j[66057]){break s}j[f+4>>2]=j[c>>2];j[f>>2]=80;Ue(f+16|0,64,117337,f);a=AL(f+16|0,!o<<16,c);j[c+84>>2]=a;if(a){break s}Df(c);ve(117350,0);a=0;break a}a=j[c>>2];break a}Df(c);a=0;break a}ve(117233,0);a=0}oe=f+112|0;return a}function ap(a,b,c){var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;j[a+12>>2]=b;j[a+8>>2]=c;j[a+4>>2]=b;r=a+16|0;j[a+404>>2]=r;u=6;a:{b:{while(1){if(b>>>0>=c>>>0){break b}d=k[b|0];c:{d:{if(!(d>>>0<27|(d|0)==31)){e=j[a+404>>2];m=4;if((e-r|0)>380){break c}j[a+404>>2]=e+4;j[e>>2]=b;e:{switch(d-28|0){case 2:while(1){b=b+1|0;m=7;if(c>>>0<=b>>>0){break c}d=k[b|0];if((d&240)==240){break d}if((d&15)!=15){continue}break}break d;case 0:b=b+2|0;break d;case 1:b=b+4|0;break d;default:break e}}b=d>>>0>246?b+1|0:b;break d}g=j[a+404>>2];j[g>>2]=b;if((d|0)==12){b=b+1|0;m=8;if(c>>>0<=b>>>0){break c}d=k[b|0]|256}q=11088;e=4;f=j[a+408>>2]|d;f:{if((f|0)!=4096){while(1){e=j[q+28>>2];if(!e){break f}d=q;q=d+28|0;if((f|0)!=j[d+32>>2]){continue}break}}o=j[q+8>>2];d=j[a+412>>2];g=g-r|0;if(!g){m=12;if((e|0)!=6){break c}}o=d+o|0;g:{h:{i:{switch(e-1|0){case 0:case 3:case 4:g=j[a+20>>2];e=j[a+16>>2];f=k[e|0];if((f|0)==30){d=If(e,g,0,0)>>16;break g}j:{switch(f-28|0){case 0:d=0;if(g>>>0>>0){break g}d=k[e+1|0]|k[e+2|0]<<8;d=(d<<24|d<<8&16711680)>>16;break g;case 1:d=0;if(g>>>0>>0){break g}d=k[e+1|0]|k[e+2|0]<<8|(k[e+3|0]<<16|k[e+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break g;default:break j}}d=f-139|0;if(f>>>0<=246){break g}l=e+2|0;if(f>>>0<=250){d=0;if(g>>>0>>0){break g}d=(k[e+1|0]|f<<8)-63124|0;break g}d=0;if(g>>>0>>0){break g}d=64148-(k[e+1|0]|f<<8)|0;break g;case 1:f=j[a+20>>2];d=j[a+16>>2];e=k[d|0];if((e|0)==30){d=If(d,f,0,0);break g}k:{l:{m:{switch(e-28|0){case 0:g=0;if(f>>>0>>0){break h}d=k[d+1|0]|k[d+2|0]<<8;e=(d<<24|d<<8&16711680)>>16;break k;case 1:g=0;if(f>>>0>>0){break h}d=k[d+1|0]|k[d+2|0]<<8|(k[d+3|0]<<16|k[d+4|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break l;default:break m}}if(e>>>0<=246){g=e-139|0;break h}l=d+2|0;if(e>>>0<=250){g=0;if(f>>>0>>0){break h}e=(k[d+1|0]|e<<8)-63124|0;break k}g=0;if(f>>>0>>0){break h}e=64148-(k[d+1|0]|e<<8)|0}d=2147483647;if((e|0)>32767){break g}}d=(e|0)<-32767?-2147483647:e<<16;break g;case 2:l=j[a+20>>2];f=j[a+16>>2];g=k[f|0];if((g|0)==30){d=If(f,l,3,0);break g}n:{o:{switch(g-28|0){case 0:d=0;if(l>>>0>>0){break g}d=k[f+1|0]|k[f+2|0]<<8;e=(d<<24|d<<8&16711680)>>16;break n;case 1:d=0;if(l>>>0>>0){break g}d=k[f+1|0]|k[f+2|0]<<8|(k[f+3|0]<<16|k[f+4|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break n;default:break o}}e=g-139|0;if(g>>>0<=246){break n}e=f+2|0;if(g>>>0<=250){d=0;if(e>>>0>l>>>0){break g}e=(k[f+1|0]|g<<8)-63124|0;break n}d=0;if(e>>>0>l>>>0){break g}e=64148-(k[f+1|0]|g<<8)|0}f=p(e,1e3);d=2147483647;if((f|0)>32767){break g}d=(f|0)<-32767?-2147483647:p(e,65536e3);break g;case 5:m=d+j[q+24>>2]|0;d=j[q+20>>2];e=g>>2;s=d>>>0>>0?d:e;h[m|0]=s;if(!s){break f}e=0;d=r;while(1){g=j[d+4>>2];m=e;f=j[d>>2];l=k[f|0];p:{if((l|0)==30){n=If(f,g,0,0)>>16;break p}q:{switch(l-28|0){case 0:n=0;if(g>>>0>>0){break p}f=k[f+1|0]|k[f+2|0]<<8;n=(f<<24|f<<8&16711680)>>16;break p;case 1:n=0;if(g>>>0>>0){break p}f=k[f+1|0]|k[f+2|0]<<8|(k[f+3|0]<<16|k[f+4|0]<<24);n=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);break p;default:break q}}n=l-139|0;if(l>>>0<=246){break p}e=f+2|0;if(l>>>0<=250){n=0;if(e>>>0>g>>>0){break p}n=(k[f+1|0]|l<<8)-63124|0;break p}n=0;if(e>>>0>g>>>0){break p}n=64148-(k[f+1|0]|l<<8)|0}e=m+n|0;r:{s:{t:{u:{v:{f=k[q+12|0];switch(f-1|0){case 3:break t;case 1:break u;case 0:break v;default:break s}}h[o|0]=e;f=k[q+12|0];break r}i[o>>1]=e;f=2;break r}j[o>>2]=e;f=4;break r}j[o>>2]=e}d=d+4|0;o=f+o|0;s=s-1|0;if(s){continue}break}break f;default:break i}}t=qe[j[q+16>>2]](a)|0;m=7;if(t){break c}t=0;break f}d=g<<16}w:{switch(k[q+12|0]-1|0){case 0:h[o|0]=d;break f;case 1:i[o>>1]=d;break f;default:break w}}j[o>>2]=d}j[a+404>>2]=r}b=b+1|0;m=0}d=lP(m,30);if(!d){continue}break}if(d-1>>>0<3){break a}}u=t}return u}function DM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,l=0,o=0,p=0,r=0,s=0;i=oe-32|0;oe=i;f=j[a+436>>2];e=j[a+316>>2];l=0;a:{if(!e){break a}l=j[e+4>>2];l=(l|0)==372645892|(l|0)==370546692}e=j[f+336>>2];g=j[((e<<2)+f|0)+272>>2];o=$g();h=j[f>>2];b:{c:{if((o|0)!=(h|0)){j[f+424>>2]=0;if((zg(j[a+188>>2],h)|0)<0){break c}}h=j[a+436>>2];if(j[h+4>>2]){while(1){if(qe[j[h+104>>2]]()|0){continue}break}}h=j[a+316>>2];j[f+364>>2]=h;if(!h){Kq(j[a+188>>2],f+416|0,f+420|0)}qe[j[f+220>>2]](34962,g);e=(e<<2)+f|0;d:{if(m[e+304>>2]>>0){qe[j[f+224>>2]](34962,d,c,35040);j[e+304>>2]=d;break d}qe[j[f+228>>2]](34962,0,d,c)}h=0;d=j[f+336>>2]+1|0;j[f+336>>2]=d>>>0>7?0:d;if(b){p=f+340|0;r=f+384|0;while(1){e:{f:{g:{switch(j[b>>2]-1|0){case 2:j[f+408>>2]=k[(l?8:10)+b|0]|(k[b+9|0]<<8|k[(l?10:8)+b|0]<<16)|k[b+11|0]<<24;break e;case 0:d=b+8|0;if(!xf(p,d,16)){break e}Ge(p,d,16);j[f+356>>2]=1;break e;case 1:d=j[b+4>>2];if((d|0)!=j[f+376>>2]){j[f+372>>2]=1;j[f+376>>2]=d}d=b+8|0;if(!xf(r,d,16)){break e}Ge(r,d,16);j[f+380>>2]=1;break e;case 3:g=k[(l?8:10)+b|0];d=k[b+9|0];e=k[(l?10:8)+b|0];o=k[b+11|0];s=g|(d<<8|e<<16)|o<<24;if((s|0)!=j[f+412>>2]){qe[j[f+36>>2]](q(q(e>>>0)*q(.003921568859368563)),q(q(d>>>0)*q(.003921568859368563)),q(q(g>>>0)*q(.003921568859368563)),q(q(o>>>0)*q(.003921568859368563)));j[f+412>>2]=s}if(j[f+376>>2]){qe[j[f+64>>2]](3089);j[f+372>>2]=1}qe[j[f+32>>2]](16384);break e;case 4:if(jk(f,b,1)){break e}qe[j[f+72>>2]](0,0,j[b+8>>2]);break e;case 5:d=j[b+4>>2];e=j[b+8>>2];if(jk(f,b,1)){break e}if(e>>>0<=2){d=e-1|0;break f}g=c+d|0;d=e-1|0;if(n[g>>2]!=n[g+(d<<3)>>2]|n[g+4>>2]!=n[(g+(e<<3)|0)-4>>2]){break f}qe[j[f+72>>2]](2,0,d);break e;case 6:g=j[b+8>>2];if(jk(f,b,1)){break e}e=0;d=0;if(!g){break e}while(1){qe[j[f+72>>2]](5,e,4);e=e+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}break e;case 7:case 8:break g;default:break e}}g=j[b+20>>2];o=j[a+436>>2];h:{i:{j:{k:{l:{d=j[a+316>>2];if(d){e=2;d=j[d+4>>2];g=j[g+4>>2];if((d|0)==(g|0)){break i}m:{n:{o:{p:{q:{if((g|0)<=825382477){if((g|0)<=374740995){if((g|0)==370546692){break o}if((g|0)!=372645892){break q}if((d|0)!=374740996?(d|0)!=376840196:0){break i}e=3;break i}if((g|0)==374740996){break n}if((g|0)==376840196){break p}if((g|0)!=542328143){break q}e=9;break i}e=6;r:{switch(g-842094158|0){case 11:break i;case 0:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break q;default:break r}}if((g|0)==825382478){break l}if((g|0)==1448433993){break i}}d=ve(128181,0);break h}if((d|0)!=370546692?(d|0)!=372645892:0){break i}e=3;break i}if((d|0)==372645892){break j}if((d|0)!=376840196?(d|0)!=374740996:0){break i}e=3;break i}if((d|0)!=370546692){if((d|0)!=372645892){if((d|0)!=376840196){break i}break j}e=4;break i}e=3;break i}e=7;break i}s:{t:{u:{d=j[g+4>>2];if((d|0)<=825382477){if((d|0)<=374740995){if((d|0)==370546692){break t}e=3;if((d|0)==372645892){break i}break k}if((d|0)==374740996){break j}if((d|0)==376840196){break u}if((d|0)!=542328143){break k}e=9;break i}v:{switch(d-842094158|0){default:if((d|0)==825382478){break l}if((d|0)!=1448433993){break k}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break k;case 0:break s;case 11:break v}}e=6;break i}e=2;break i}e=4;break i}e=7;break i}e=8;break i}d=ve(128181,0);break h}e=5}d=jk(o,b,e)}if(d){break e}qe[j[f+72>>2]](5,0,4);break e}qe[j[f+72>>2]](3,0,e);qe[j[f+72>>2]](0,d,1)}b=j[b+24>>2];if(b){continue}break}}a=j[a+436>>2];if(!j[a+4>>2]){break b}e=qe[j[a+104>>2]]()|0;if(!e){break b}b=126493;while(1){b=k[b|0]?b:128246;c=128351;d=e-1280|0;if(d>>>0<=5){c=j[(d<<2)+128360>>2]}j[i+20>>2]=e;j[i+16>>2]=c;j[i+12>>2]=127821;j[i+8>>2]=1338;j[i+4>>2]=126494;j[i>>2]=b;ve(128254,i);e=qe[j[a+104>>2]]()|0;if(e){continue}break}}h=-1}oe=i+32|0;return h|0}function Jo(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;g=oe-48|0;oe=g;Dh(a,g+32|0);f=j[g+40>>2];a:{if(!f){m=3;break a}l=j[g+32>>2];j[g+28>>2]=l;o=j[g+36>>2];b:{c:{d:{q=j[b+8>>2];if((q|0)==7){n=j[a+8>>2];j[a+8>>2]=o-1;s=1;e=j[a>>2];j[a>>2]=l+1;Dh(a,g);j[a+8>>2]=n;j[a>>2]=e;m=3;if(j[g+8>>2]==3){break d}q=7;break b}m=3;if((f|0)==3){break c}s=1;break b}if(!d){break a}j[g+28>>2]=l+1;o=o-1|0;q=8;t=1;break b}if(!d){break a}t=1;j[g+28>>2]=l+1;o=o-1|0;s=d}v=p(d,3);w=d<<1;x=d<<2;y=q-1|0;z=f-2|0;while(1){n=j[(t<<2)+c>>2];e=j[b+16>>2];Nf(g+28|0,o);n=e+n|0;m=3;e:{f:{g:{h:{i:{j:{k:{l:{switch(y|0){case 0:e=j[g+28>>2];f=e;m:{if(k[e|0]!=116|e+3>>>0>=o>>>0|(k[e+1|0]!=114|k[e+2|0]!=117)){break m}if(k[f+3|0]!=101){break m}m=1;j[g+28>>2]=e+5;break k}m=0;n:{if(k[e|0]!=102|e+4>>>0>=o>>>0|(k[e+1|0]!=97|k[e+2|0]!=108)){break n}if(k[f+3|0]!=115){break n}e=k[e+4|0]==101?e+6|0:e}j[g+28>>2]=e;break k;case 2:m=nh(g+28|0,o,0);break k;case 3:m=nh(g+28|0,o,3);break k;case 7:break h;case 6:break i;case 4:case 5:break j;case 1:break l;default:break a}}l=j[g+28>>2];j[g>>2]=l;f=Kg(g,o,10);m=0;e=j[g>>2];if((l|0)==(e|0)){break k}if(!(k[e|0]!=35|e>>>0>=o>>>0)){l=e+1|0;j[g>>2]=l;f=Kg(g,o,f);e=j[g>>2];if((l|0)==(e|0)){break k}}j[g+28>>2]=e;m=f}o:{switch(k[b+20|0]-1|0){case 0:h[n|0]=m;break e;case 1:i[n>>1]=m;break e;default:break o}}j[n>>2]=m;break e}f=j[g+28>>2];if(f>>>0>=o>>>0){break e}e=o-f|0;l=j[a+16>>2];p:{q:{switch(z|0){case 2:j[g+28>>2]=f+1;e=e-1|0;break p;case 0:break q;default:break a}}j[g+28>>2]=f+1;e=e-2|0}f=j[n>>2];if(f){if(f){qe[j[l+8>>2]](l,f)}j[n>>2]=0}f=He(l,e+1|0,g+24|0);m=j[g+24>>2];if(m){break a}l=e;e=Ae(f,j[g+28>>2],e);h[l+e|0]=0;j[n>>2]=e;break e}e=j[g+28>>2];j[g+44>>2]=e;if(e>>>0>=o>>>0){break g}q=k[e|0];f=93;r:{s:{if((q|0)==91){break s}f=0;l=0;if((q|0)!=123){break r}f=125}e=e+1|0;j[g+44>>2]=e;l=1}m=0;if(e>>>0>=o>>>0){break g}while(1){t:{Nf(g+44|0,o);e=j[g+44>>2];if(o>>>0<=e>>>0){q=e;break t}if(k[e|0]==(f|0)){q=e+1|0;break t}if((m|0)==4){j[g+28>>2]=e;break f}B=(m<<2)+g|0,C=nh(g+44|0,o,0),j[B>>2]=C;q=j[g+44>>2];if((q|0)==(e|0)){break g}m=m+1|0;if(l&o>>>0>q>>>0){continue}}break}j[g+28>>2]=q;if((m|0)>3){break f}m=3;break a}q=j[a+16>>2];r=xe(q,4,0,x,0,g+24|0);m=j[g+24>>2];if(m){break a}f=0;while(1){e=j[g+28>>2];j[g>>2]=e;u:{if(e>>>0>=o>>>0){m=0;break u}n=k[e|0];u=93;v:{w:{if((n|0)==91){break w}if((n|0)!=123){u=0;l=1;break v}u=125}e=e+1|0;j[g>>2]=e;l=0}m=0;if(e>>>0>=o>>>0){break u}A=r+(p(d,f)<<2)|0;while(1){Nf(g,o);n=j[g>>2];if(n>>>0>=o>>>0){e=n;break u}if(k[n|0]==(u|0)){e=n+1|0;break u}if(!(!r|(d|0)>(m|0))){e=n;break u}B=r?(m<<2)+A|0:g+44|0,C=nh(g,o,0),j[B>>2]=C;e=j[g>>2];if((n|0)==(e|0)){m=-1;e=n;break u}m=m+1|0;if(l){break u}if(e>>>0>>0){continue}break}}j[g+28>>2]=e;if((m|0)<0){m=3;break a}if(d>>>0>m>>>0){m=3;break a}Nf(g+28|0,o);f=f+1|0;if((f|0)!=4){continue}break}m=0;if(d){while(1){f=m<<2;e=j[f+c>>2];n=e;l=j[f+r>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[n>>2]=f;n=e;l=j[r+(d+m<<2)>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[n+4>>2]=f;l=j[r+(m+w<<2)>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[n+8>>2]=f;f=j[r+(m+v<<2)>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[e+12>>2]=n;m=m+1|0;if((m|0)!=(d|0)){continue}break}}if(r){qe[j[q+8>>2]](q,r)}break e}j[g+28>>2]=e;m=3;break a}e=n;l=j[g>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[e>>2]=f;l=j[g+4>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[e+4>>2]=f;l=j[g+8>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[e+8>>2]=f;f=j[g+12>>2];e=f+32768&-65536;if((f|0)<0){e=0-(32768-f&-65536)|0}j[n+12>>2]=e}t=t+1|0;s=s-1|0;if(s){continue}break}m=0}oe=g+48|0;return m|0}function rq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;a:{if(!b){break a}f=j[a+24>>2];e=j[a+20>>2];if((f|0)!=-1?(f|0)<(e|0):0){break a}l=j[a+104>>2];w=j[a+4>>2];s=j[w+28>>2];t=j[s+3656>>2];c=j[a+40>>2];j[a+36>>2]=c;u=j[b+28>>2];j[a+44>>2]=-1;j[a+40>>2]=u;d=j[a+68>>2];h=d;g=j[a+64>>2];b:{c:{if((g|0)==-1&(d|0)==-1){d=j[b+56>>2];g=j[b+60>>2];break c}d=g+1|0;h=d>>>0<1?h+1|0:h;k=d;d=j[b+56>>2];g=j[b+60>>2];if((k|0)==(d|0)&(g|0)==(h|0)){break b}}j[a+56>>2]=-1;j[a+60>>2]=-1;j[l+128>>2]=-1;j[l+132>>2]=-1;k=d;h=g}j[a+64>>2]=k;j[a+68>>2]=h;d:{if(!j[b>>2]){h=f;break d}i=j[(u<<2)+s>>2];m=j[s>>2];g=j[s+4>>2];e=j[b+88>>2];k=e;d=e+j[a+72>>2]|0;e=j[a+76>>2]+(e>>31)|0;j[a+72>>2]=d;j[a+76>>2]=d>>>0>>0?e+1|0:e;d=j[b+92>>2];k=d;e=d+j[a+80>>2]|0;d=j[a+84>>2]+(d>>31)|0;j[a+80>>2]=e;j[a+84>>2]=e>>>0>>0?d+1|0:d;e=j[b+96>>2];k=e;d=e+j[a+88>>2]|0;e=j[a+92>>2]+(e>>31)|0;j[a+88>>2]=d;j[a+92>>2]=d>>>0>>0?e+1|0:e;e=j[b+100>>2];k=e;d=e+j[a+96>>2]|0;e=j[a+100>>2]+(e>>31)|0;j[a+96>>2]=d;j[a+100>>2]=d>>>0>>0?e+1|0:e;p=t+1|0;d=g>>p;e=j[a+48>>2];h=e?d:0;g=e?0:d;k=a;u=d;if(j[w+4>>2]>=1){x=i>>p;y=(d|0)/2|0;e=m>>p;f=(e|0)/2|0;z=y+f|0;A=(e|0)<1;C=0-f<<2;D=(e|0)/-2<<2;while(1){o=j[a+40>>2];e:{if(c){if(o){c=v<<2;p=j[c+j[a+8>>2]>>2];f=j[c+j[b>>2]>>2];if((d|0)<1){break e}i=j[(j[l+8>>2]-t<<2)+165456>>2];o=(g<<2)+p|0;c=0;while(1){m=c<<2;r=m+o|0;n[r>>2]=q(n[r>>2]*n[i+((c^-1)+d<<2)>>2])+q(n[f+m>>2]*n[i+m>>2]);c=c+1|0;if((d|0)!=(c|0)){continue}break}break e}c=v<<2;p=j[c+j[a+8>>2]>>2];f=j[c+j[b>>2]>>2];if(A){break e}i=j[(j[l+4>>2]-t<<2)+165456>>2];o=D+(((g<<2)+p|0)+(y<<2)|0)|0;c=0;while(1){m=c<<2;r=m+o|0;n[r>>2]=q(n[r>>2]*n[i+(e+(c^-1)<<2)>>2])+q(n[f+m>>2]*n[i+m>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}break e}i=j[(j[l+4>>2]-t<<2)+165456>>2];c=v<<2;p=j[c+j[a+8>>2]>>2];m=p+(g<<2)|0;f=j[c+j[b>>2]>>2];f:{if(o){o=((y<<2)+f|0)+C|0;c=0;if((e|0)<=0){break f}while(1){r=c<<2;B=r+m|0;n[B>>2]=q(n[B>>2]*n[(e+(c^-1)<<2)+i>>2])+q(n[o+r>>2]*n[i+r>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e;break f}c=0;if(A){break e}while(1){o=c<<2;r=o+m|0;n[r>>2]=q(n[r>>2]*n[(e+(c^-1)<<2)+i>>2])+q(n[f+o>>2]*n[i+o>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}break e}if((c|0)>=(z|0)){break e}while(1){i=c<<2;n[i+m>>2]=n[i+o>>2];c=c+1|0;if((z|0)!=(c|0)){continue}break}}if((x|0)>=1){f=(x<<2)+f|0;p=(h<<2)+p|0;c=0;while(1){i=c<<2;n[i+p>>2]=n[f+i>>2];c=c+1|0;if((x|0)!=(c|0)){continue}break}}v=v+1|0;if((v|0)>2]){c=j[a+36>>2];continue}break}f=j[a+24>>2];e=j[a+48>>2]}j[k+48>>2]=e?0:u;d=a;g:{if((f|0)==-1){j[a+24>>2]=h;e=h;break g}j[a+24>>2]=g;h=g;e=g+((j[(j[a+40>>2]<<2)+s>>2]/4|0)+(j[(j[a+36>>2]<<2)+s>>2]/4|0)>>t)|0}j[d+20>>2]=e}d=l;u=d;c=0;g=j[d+128>>2];l=j[d+132>>2];f=0;h:{if((g|0)==-1&(l|0)==-1){break h}k=g;c=(j[(j[a+40>>2]<<2)+s>>2]/4|0)+(j[(j[a+36>>2]<<2)+s>>2]/4|0)|0;g=c;f=k+c|0;c=(c>>31)+l|0;c=f>>>0>>0?c+1|0:c}j[u+128>>2]=f;l=c;j[d+132>>2]=c;c=j[a+60>>2];d=c;g=j[a+56>>2];i:{if((g|0)==-1&(c|0)==-1){c=j[b+48>>2];d=j[b+52>>2];if((c|0)==-1&(d|0)==-1){break i}j[a+56>>2]=c;j[a+60>>2]=d;if((d|0)>(l|0)?1:(d|0)>=(l|0)?c>>>0>=f>>>0:0){break i}c=f-c|0;c=(c|0)>0?c:0;if(j[b+44>>2]){h=e-h<>2]=e-(((c|0)>(h|0)?h:c)>>t);break i}h=(c>>>t|0)+h|0;j[a+24>>2]=(e|0)<(h|0)?e:h;break i}k=g;l=(j[(j[a+40>>2]<<2)+s>>2]/4|0)+(j[(j[a+36>>2]<<2)+s>>2]/4|0)|0;g=l;f=k+g|0;d=(g>>31)+d|0;d=f>>>0>>0?d+1|0:d;j[a+56>>2]=f;j[a+60>>2]=d;c=j[b+48>>2];g=j[b+52>>2];if((c|0)==-1&(g|0)==-1|(c|0)==(f|0)&(d|0)==(g|0)){break i}j:{if((d|0)<(g|0)?1:(d|0)<=(g|0)?c>>>0>=f>>>0:0){break j}f=f-c|0;if(!f|!j[b+44>>2]){break j}h=e-h<(h|0)?h:f;j[a+20>>2]=e-(((h|0)>0?h:0)>>>t|0)}j[a+56>>2]=c;j[a+60>>2]=g}if(!j[b+44>>2]){break a}j[a+32>>2]=1}}function xN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=q(0),s=0,t=0;a=oe+ -64|0;oe=a;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{switch(j[b>>2]-1536|0){case 6:c=j[67069];if(!c){break a}b=j[b+8>>2];break g;case 2:c=j[67069];if(!c){break a}d=j[b+8>>2];break i;case 0:c=j[67069];if(!c){break a}d=j[b+8>>2];while(1){if((d|0)==j[j[c>>2]>>2]){m=k[b+12|0];f=j[j[c+20>>2]+(m<<2)>>2];e=i[b+16>>1];o=j[c+12>>2];k:{if((o|0)>=1){g=j[c+16>>2];b=0;while(1){l=b<<5;d=l+g|0;l:{if(j[d>>2]!=2){break l}l=g+l|0;if((m|0)!=j[l+4>>2]){break l}n=j[l+8>>2];l=j[l+12>>2];if((n|0)<(l|0)){if((e|0)<(n|0)|(e|0)>(l|0)){break l}break k}if((e|0)>(n|0)){break l}if((e|0)>=(l|0)){break k}}b=b+1|0;if((o|0)!=(b|0)){continue}break}}d=0}if(!f){break e}m:{g=j[f+16>>2];n:{if(!(!d|(g|0)!=j[d+16>>2])){l=j[d+20>>2];b=j[f+20>>2];if((g|0)!=2){break m}if((b|0)!=(l|0)){break n}break c}b=j[f+20>>2];if((g|0)!=2){break f}}if((We(1616,-1)|0)!=1){break e}j[a+8>>2]=1616;f=j[j[c>>2]>>2];i[a+24>>1]=0;h[a+20|0]=b;j[a+16>>2]=f;gf(a+8|0);break e}if((b|0)!=(l|0)){break f}break d}c=j[c+32>>2];if(c){continue}break}break a;case 3:case 4:break j;case 5:break h;default:break a}}c=j[67069];if(!c){break a}d=j[b+8>>2];while(1){if((d|0)==j[j[c>>2]>>2]){f=j[c+12>>2];if((f|0)<1){break a}d=k[b+13|0];g=k[b+12|0];e=j[c+16>>2];b=0;while(1){m=e+(b<<5)|0;if(!(j[m>>2]!=1|(g|0)!=j[m+4>>2])){b=e+(b<<5)|0;if(j[b+16>>2]==2){d=j[(d?b+28|0:b+24|0)>>2];b=j[b+20>>2];if((We(1616,-1)|0)!=1){break a}j[a+8>>2]=1616;c=j[j[c>>2]>>2];i[a+24>>1]=d;h[a+20|0]=b;j[a+16>>2]=c;gf(a+8|0);break a}_r(c,j[b+20>>2],d);break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}break a}c=j[c+32>>2];if(c){continue}break}break a}while(1){if((d|0)!=j[j[c>>2]>>2]){c=j[c+32>>2];if(c){continue}break a}break}f=k[b+13|0];g=k[b+12|0];if(j[c+12>>2]>=1){l=f^k[g+j[c+24>>2]|0];b=0;while(1){e=j[c+16>>2]+(b<<5)|0;o:{if(j[e>>2]!=3|(g|0)!=j[e+4>>2]){break o}n=j[e+8>>2];if(!(n&l)){break o}d=j[e+20>>2];m=j[e+16>>2];if(f&n){if((m|0)==2){e=j[e+28>>2];if((We(1616,-1)|0)!=1){break o}j[a+8>>2]=1616;m=j[j[c>>2]>>2];i[a+24>>1]=e;h[a+20|0]=d;j[a+16>>2]=m;gf(a+8|0);break o}if((d|0)==-1){break o}j[a+8>>2]=1617;if((d|0)==5){s=c,t=yg(),j[s+28>>2]=t;if(j[j[c>>2]+68>>2]){break o}}if((We(1617,-1)|0)!=1){break o}e=j[j[c>>2]>>2];h[a+21|0]=1;h[a+20|0]=d;j[a+16>>2]=e;gf(a+8|0);break o}if((m|0)==2){if((We(1616,-1)|0)!=1){break o}j[a+8>>2]=1616;e=j[j[c>>2]>>2];i[a+24>>1]=0;h[a+20|0]=d;j[a+16>>2]=e;gf(a+8|0);break o}if((d|0)==-1){break o}j[a+8>>2]=1618;if((d|0)==5){m=yg();e=j[c>>2];if(!(j[e+72>>2]|((j[c+28>>2]-m|0)+250|0)<1)){j[e+68>>2]=1;break o}j[e+68>>2]=0}if((We(1618,-1)|0)!=1){break o}e=j[j[c>>2]>>2];h[a+21|0]=0;h[a+20|0]=d;j[a+16>>2]=e;gf(a+8|0)}b=b+1|0;if((b|0)>2]){continue}break}}h[g+j[c+24>>2]|0]=f;break a}if(!$r(j[b+8>>2])){break a}j[a+8>>2]=1619;j[a+16>>2]=j[b+8>>2];gf(a+8|0);break a}while(1){if((b|0)!=j[j[c>>2]>>2]){c=j[c+32>>2];if(c){continue}break a}break}j[a+16>>2]=b;j[a+8>>2]=1620;gf(a+8|0);wN();break a}if((b|0)==-1){break e}j[a+8>>2]=1618;if((b|0)==5){g=yg();f=j[c>>2];if(!(j[f+72>>2]|((j[c+28>>2]-g|0)+250|0)<1)){j[f+68>>2]=1;break e}j[f+68>>2]=0}if((We(1618,-1)|0)!=1){break e}f=j[j[c>>2]>>2];h[a+21|0]=0;h[a+20|0]=b;j[a+16>>2]=f;gf(a+8|0)}if(!d){break b}if(j[d+16>>2]==2){break c}b=j[d+20>>2]}l=b;f=j[d+12>>2];b=j[d+8>>2];g=((f-b|0)/2|0)+b|0;_r(c,l,(b|0)>(f|0)?(g|0)>=(e|0):(e|0)>=(g|0));break b}b=j[d+8>>2];f=j[d+24>>2];g=j[d+28>>2];l=j[d+12>>2];if(!((g|0)==(l|0)?(b|0)==(f|0):0)){p=q(q(q(e-b|0)/q(l-b|0))*q(g-f|0));p:{if(q(r(p))>2];if((We(1616,-1)|0)!=1){break b}j[a+8>>2]=1616;f=j[j[c>>2]>>2];i[a+24>>1]=e;h[a+20|0]=b;j[a+16>>2]=f;gf(a+8|0)}j[j[c+20>>2]+(m<<2)>>2]=d}oe=a- -64|0;return 1}function eK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;n=j[a+36>>2];c=j[a+20>>2];o=j[a+16>>2];b=j[a>>2];m=j[a+28>>2];f=j[a+24>>2];i=j[a+40>>2];e=k[i+9|0];a:{l=j[a+44>>2];if(!j[l+24>>2]){if(!m){break a}d=k[l+9|0];l=f&7;i=(f+7|0)/8|0;b:while(1){f=i;c:{d:{switch(l-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=1;continue;case 1:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=2;continue;case 2:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=3;continue;case 3:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=4;continue;case 4:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=5;continue;case 5:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=6;continue;case 6:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=7;continue;default:break e}}a=m-1|0;g=k[b+2|0];p=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=p;h[c|0]=g;b=b+e|0;c=c+d|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+n|0;b=b+o|0;m=a;if(a){continue b}break a}a=0;continue}}}if(j[i+24>>2]){if(!m){break a}g=f&7;i=(f+7|0)/8|0;g:while(1){h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(g-1|0){case 0:e=k[l+35|0];f=i;break i;case 1:d=k[l+35|0];e=d;f=i;break j;case 2:d=k[l+35|0];e=d;f=i;break k;case 3:d=k[l+35|0];e=d;f=i;break l;case 4:d=k[l+35|0];e=d;f=i;break m;case 5:d=k[l+35|0];e=d;f=i;break n;case 6:d=k[l+35|0];e=d;f=i;break o;default:break p}}e=k[l+35|0];f=i;a=0;break h}a=1;break h}a=2;break h}a=3;break h}a=4;break h}a=5;break h}a=6;break h}a=7}while(1){q:{switch(a|0){case 0:d=e;j[c>>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<1){f=f-1|0;break r}c=c+n|0;b=b+o|0;m=a;if(a){continue g}break a}a=0;continue}}}if(!m){break a}d=k[a+63|0]<>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=1;continue;case 1:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=2;continue;case 2:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=3;continue;case 3:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=4;continue;case 4:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=5;continue;case 5:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=6;continue;case 6:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=7;continue;default:break v}}a=m-1|0;j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;w:{if((f|0)>1){f=f-1|0;break w}c=c+n|0;b=b+o|0;m=a;if(a){continue s}break a}a=0;continue}}}}function Jm(a,b,c,d,e){var f=0,g=0,i=0,l=0,m=q(0),o=0,r=0;a:{if(!e){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if((c|0)<=33055){m:{switch(c-32776|0){case 8:break j;case 0:break l;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:break c;case 24:break g;default:break m}}switch(c-8|0){case 0:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;case 8:break h;default:break d}}n:{switch(c-36880|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break c;case 16:break f;case 0:break i;default:break n}}if((c|0)==33056){break e}if((c|0)!=37152){break c}d=d>>>2|0;if(!d){break a}m=q(e|0);while(1){l=3.4028234663852886e+38;d=d-1|0;c=j[a>>2];i=+(pP(2,c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)),sP());c=j[b>>2];i=i+ +q(q(m*(pP(2,c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)),sP()))*q(.0078125));o:{if(i>3.4028234663852886e+38){break o}l=i;if(i<-3.4028234663852886e+38^1){break o}l=-3.4028234663852886e+38}b=b+4|0;c=(tP(q(l)),oP(2));j[a>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=a+4|0;if(d){continue}break}break a}if(!d){break a}while(1){c=h[a|0]+((p(h[b|0],e)|0)/128<<24>>24)|0;c=(c|0)>-128?c:-128;h[a|0]=(c|0)<127?c:127;b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}break a}if(!d){break a}while(1){h[a|0]=k[(k[a|0]+((p(k[b|0]-128|0,e)|0)/128&255^128)|0)+118224|0];b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}break a}d=d>>>1|0;if(!d){break a}while(1){c=((k[a|0]|k[a+1|0]<<8)<<16>>16)+((p((k[b|0]|k[b+1|0]<<8)<<16>>16,e)|0)/128<<16>>16)|0;c=(c|0)>-32768?c:-32768;c=(c|0)<32767?c:32767;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}d=d>>>1|0;if(!d){break a}while(1){c=k[b|0]|k[b+1|0]<<8;f=(p((c<<24|c<<8&16711680)>>16,e)|0)/128<<16>>16;c=k[a|0]|k[a+1|0]<<8;c=f+((c<<24|c<<8&16711680)>>16)|0;c=(c|0)>-32768?c:-32768;c=(c|0)<32767?c:32767;c=(c<<24|c<<8&16711680)>>>16|0;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}d=d>>>1|0;if(!d){break a}while(1){c=((p(k[b|0]|k[b+1|0]<<8,e)|0)/128&65535)+(k[a|0]|k[a+1|0]<<8)|0;c=c>>>0<65535?c:65535;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}d=d>>>2|0;if(!d){break a}c=e;o=c>>31;while(1){e=j[a>>2];g=j[b>>2];f=hP(gP(g,g>>31,c,o),pe,128);g=e+f|0;e=pe+(e>>31)|0;e=g>>>0>>0?e+1|0:e;f=g;g=(e|0)>-1?1:(e|0)>=-1?f>>>0>2147483648:0;f=g?f:-2147483648;e=g?e:-1;e=(e|0)<0?1:(e|0)<=0?f>>>0<2147483647:0;j[a>>2]=e?f:2147483647;a=a+4|0;b=b+4|0;d=d-1|0;if(d){continue}break}break a}d=d>>>2|0;if(!d){break a}c=e;o=c>>31;while(1){e=j[a>>2];f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=j[b>>2];e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);r=hP(gP(e,e>>31,c,o),pe,128);g=f+r|0;e=pe+(f>>31)|0;f=g;e=f>>>0>>0?e+1|0:e;g=(e|0)>-1?1:(e|0)>=-1?f>>>0>2147483648:0;f=g?f:-2147483648;e=g?e:-1;e=(e|0)<0?1:(e|0)<=0?f>>>0<2147483647:0;e=e?f:2147483647;j[a>>2]=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a=a+4|0;b=b+4|0;d=d-1|0;if(d){continue}break}break a}d=d>>>2|0;if(!d){break a}m=q(e|0);while(1){d=d-1|0;l=3.4028234663852886e+38;i=+n[a>>2]+ +q(q(n[b>>2]*m)*q(.0078125));p:{if(i>3.4028234663852886e+38){break p}l=i;if(i<-3.4028234663852886e+38^1){break p}l=-3.4028234663852886e+38}b=b+4|0;n[a>>2]=l;a=a+4|0;if(d){continue}break}break a}if((c|0)==4112){break b}}ve(118736,0);break a}d=d>>>1|0;if(!d){break a}while(1){c=((p(k[b+1|0]|k[b|0]<<8,e)|0)/128&65535)+(k[a+1|0]|k[a|0]<<8)|0;c=c>>>0<65535?c:65535;c=(c<<24|c<<8&16711680)>>>16|0;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}}}function Qi(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;r=oe-16|0;oe=r;j[r+12>>2]=0;j[a+1524>>2]=0;j[a+1512>>2]=0;j[a+56>>2]=0;j[a+44>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;d=j[a>>2];n=j[a+16>>2];s=j[a+8>>2];u=j[a+12>>2];o=j[a+4>>2];f=i[b>>1];a:{b:{if(f>>>0<=8){if(j[a+40>>2]){break b}j[a+32>>2]=8;j[a+40>>2]=a+3e3;break b}c=j[a+32>>2];if(c>>>0>=f>>>0){break b}g=a;m=d;e=c;f=f+3&-4;q=f;c=j[a+40>>2];if((c|0)==(a+3e3|0)){j[a+40>>2]=0;c=0}A=g,B=xe(m,4,e,q,c,r+12|0),j[A+40>>2]=B;if(j[r+12>>2]){break a}j[a+32>>2]=f}c=i[b+2>>1];g=c+2|0;c:{if(g>>>0<=96){if(j[a+28>>2]){break c}j[a+20>>2]=96;j[a+28>>2]=a+3032;break c}e=g;g=j[a+20>>2];if(e>>>0<=g>>>0){break c}m=a;e=c+11&-8;f=e;c=j[a+28>>2];if((c|0)==(a+3032|0)){j[a+28>>2]=0;c=0}A=m,B=xe(d,40,g,f,c,r+12|0),j[A+28>>2]=B;if(j[r+12>>2]){break a}j[a+20>>2]=e;c=i[b+2>>1]}j[a+24>>2]=c;c=i[b>>1];j[a+1536>>2]=-1;j[a+68>>2]=2;j[a+36>>2]=c;if((jH(b)|0)==1){j[a+1536>>2]=1;j[a+68>>2]=-2}j[a+12>>2]=u;j[a+4>>2]=o;j[a+2992>>2]=0;j[a+2996>>2]=0;j[a+16>>2]=n;j[a+8>>2]=s;v=j[a+24>>2];if(!v){break a}g=j[a+28>>2];w=g+p(v,40)|0;d=j[b+12>>2];if((v|0)>=1){f=j[b+4>>2];m=j[b+8>>2];c=g;q=c+p(i[d>>1],40)|0;d=q;while(1){i[c+2>>1]=1028;e=j[f>>2];i[c+12>>1]=e;i[c+14>>1]=j[f+4>>2];e=ye(e,o)+s|0;j[c+4>>2]=e;j[c+16>>2]=e;e=ye(j[f+4>>2],u)+n|0;j[c+8>>2]=e;j[c+20>>2]=e;e=k[m|0];j[c+36>>2]=d;e=e&3;i[c>>1]=e?((e|0)==2)<<1:1;j[d+32>>2]=c;d:{if((c|0)!=(q|0)){d=c;break d}t=t+1|0;if((t|0)>=i[b>>1]){d=c;q=c;break d}d=p(i[j[b+12>>2]+(t<<1)>>1],40)+g|0;q=d}m=m+1|0;f=f+8|0;c=c+40|0;if(w>>>0>c>>>0){continue}break}d=j[b+12>>2]}b=j[a+36>>2];m=b<<2;o=j[a+40>>2];if((b|0)>=1){e=m+o|0;c=0;while(1){j[o>>2]=p(c<<16>>16,40)+g;c=l[d>>1]+1|0;d=d+2|0;o=o+4|0;if(e>>>0>o>>>0){continue}break}o=j[a+40>>2]}if((b|0)>0){y=m+o|0;x=p(l[j[j[a+2988>>2]+4>>2]+68>>1],20)>>>11|0;z=(x<<1)-1|0;while(1){e=j[o>>2];c=e;while(1){e:{m=c;a=i[c+12>>1];c=j[c+36>>2];if((e|0)==(c|0)){q=l[m+14>>1];break e}q=i[m+14>>1];n=q-i[c+14>>1]|0;b=n>>31;f=a-i[c+12>>1]|0;d=f>>31;if(((b^b+n)+(d^d+f)|0)<(z|0)){continue}}break}j[m+24>>2]=0;j[m+28>>2]=0;c=0;d=m;s=d;f=0;while(1){e=a<<16;a=q<<16;d=j[d+32>>2];q=i[d+14>>1];f=(q-(a>>16)|0)+f|0;b=f>>31;a=i[d+12>>1];c=(a-(e>>16)|0)+c|0;n=c>>31;e=b^b+f;n=n^c+n;f:{if(e+n>>>0>>0){i[d>>1]=l[d>>1]|16;break f}u=0-c|0;b=(d-s|0)/40|0;j[s+24>>2]=b;j[d+28>>2]=0-b;g:{if((c|0)<=(f|0)){t=2;c=f;b=n;if((u|0)<=(c|0)){break g}t=255;c=u;b=e;break g}t=1;b=e;if((f|0)>=(u|0)){break g}c=0-f|0;t=254;b=n}b=(p(b,14)|0)<(c|0)?t:4;h[s+3|0]=b;c=j[s+32>>2];if((d|0)!=(c|0)){while(1){h[c+3|0]=b;h[c+2|0]=b;c=j[c+32>>2];if((d|0)!=(c|0)){continue}break}}h[d+2|0]=b;b=(m-d|0)/40|0;j[d+24>>2]=b;c=0;j[m+28>>2]=0-b;s=d;f=0}if((d|0)!=(m|0)){continue}break}o=o+4|0;if(y>>>0>o>>>0){continue}break}}if((v|0)<=0){break a}c=g;while(1){d=l[c>>1];h:{if(d&16|k[c+2|0]!=4|k[c+3|0]!=4){break h}m=j[c+24>>2];a=p(m,40)+c|0;b=i[c+12>>1];f=i[a+12>>1]-b|0;q=b;e=j[c+28>>2];b=p(e,40)+c|0;if((f^q-i[b+12>>1])<0){break h}n=i[c+14>>1];if((n-i[b+14>>1]^i[a+14>>1]-n)<0){break h}i[c>>1]=d|16;d=b;b=(p(m-e|0,40)|0)/40|0;j[d+24>>2]=b;j[a+28>>2]=0-b}c=c+40|0;if(w>>>0>c>>>0){continue}break}if((v|0)<=0){break a}while(1){c=l[g>>1];i:{if(c&16){break i}j:{if(c&3){break j}a=k[g+3|0];b=k[g+2|0];if((a|0)==(b|0)){if((a|0)!=4){break j}c=i[g+12>>1];d=j[g+28>>2];a=p(d,40)+g|0;m=i[g+14>>1];e=j[g+24>>2];b=p(e,40)+g|0;if(!To(c-i[a+12>>1]|0,m-i[a+14>>1]|0,i[b+12>>1]-c|0,i[b+14>>1]-m|0)){break i}c=a;a=(p(e-d|0,40)|0)/40|0;j[c+24>>2]=a;j[b+28>>2]=0-a;c=l[g>>1];break j}if((0-(a<<24>>24)|0)!=b<<24>>24){break i}}i[g>>1]=c|16}g=g+40|0;if(w>>>0>g>>>0){continue}break}}oe=r+16|0;return j[r+12>>2]}function fM(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,l=0,m=0,n=0,o=0;a:{b:{switch(c-1|0){case 0:l=j[b+12>>2];if(!l){break a}h=g^255;g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];n=b&3;c=(b+3|0)/4|0;i=g-b<<2;c:while(1){g=c;d:{e:{switch(n-1|0){default:b=0;break d;case 0:b=3;break d;case 1:b=2;break d;case 2:break e}}b=1}while(1){f:{switch(b|0){case 0:b=j[a>>2];j[a>>2]=((p(h,b>>>8&255)>>>0)/255|0)+e<<8|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;b=1;continue;case 1:b=j[a>>2];j[a>>2]=((p(h,b>>>8&255)>>>0)/255|0)+e<<8|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;b=2;continue;case 2:b=j[a>>2];j[a>>2]=((p(h,b>>>8&255)>>>0)/255|0)+e<<8|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;b=3;continue;default:break f}}b=l-1|0;m=j[a>>2];j[a>>2]=((p(h,m>>>8&255)>>>0)/255|0)+e<<8|((p(h,m&255)>>>0)/255|0)+f|((p(h,m>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;g:{if((g|0)>1){g=g-1|0;break g}a=a+i|0;l=b;if(b){continue c}break a}b=0;continue}};default:c=j[b+12>>2];if(!c){break a}e=e<<8|d<<16|f;f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(f,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;d=j[b+8>>2];g=d&3;b=(d+3|0)/4|0;l=f-d<<2;h:while(1){f=b;i:{j:{switch(g-1|0){default:d=0;break i;case 0:d=3;break i;case 1:d=2;break i;case 2:break j}}d=1}while(1){k:{switch(d|0){case 0:j[a>>2]=e;a=a+4|0;d=1;continue;case 1:j[a>>2]=e;a=a+4|0;d=2;continue;case 2:j[a>>2]=e;a=a+4|0;d=3;continue;default:break k}}d=c-1|0;j[a>>2]=e;a=a+4|0;l:{if((f|0)>1){f=f-1|0;break l}a=a+l|0;c=d;if(c){continue h}break a}d=0;continue}};case 3:g=j[b+12>>2];if(!g){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];m=b&3;l=(b+3|0)/4|0;n=c-b<<2;m:while(1){b=l;n:{o:{switch(m-1|0){default:c=0;break n;case 0:c=3;break n;case 1:c=2;break n;case 2:break o}}c=1}while(1){p:{switch(c|0){case 0:c=j[a>>2];j[a>>2]=(p(c>>>8&255,e)>>>0)/255<<8|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16;a=a+4|0;c=1;continue;case 1:c=j[a>>2];j[a>>2]=(p(c>>>8&255,e)>>>0)/255<<8|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16;a=a+4|0;c=2;continue;case 2:c=j[a>>2];j[a>>2]=(p(c>>>8&255,e)>>>0)/255<<8|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16;a=a+4|0;c=3;continue;default:break p}}c=g-1|0;h=j[a>>2];j[a>>2]=(p(h>>>8&255,e)>>>0)/255<<8|(p(h&255,f)>>>0)/255|(p(h>>>16&255,d)>>>0)/255<<16;a=a+4|0;q:{if((b|0)>1){b=b-1|0;break q}a=a+n|0;g=c;if(c){continue m}break a}c=0;continue}};case 1:break b}}l=j[b+12>>2];if(!l){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];m=b&3;g=(b+3|0)/4|0;n=c-b<<2;r:while(1){b=g;s:{t:{switch(m-1|0){default:c=0;break s;case 0:c=3;break s;case 1:c=2;break s;case 2:break t}}c=1}while(1){u:{switch(c|0){case 0:c=j[a>>2];h=(c>>>8&255)+e|0;i=(h>>>0<255?h:255)<<8;h=(c&255)+f|0;c=(c>>>16&255)+d|0;j[a>>2]=i|(h>>>0<255?h:255)|(c>>>0<255?c:255)<<16;a=a+4|0;c=1;continue;case 1:c=j[a>>2];h=(c>>>8&255)+e|0;i=(h>>>0<255?h:255)<<8;h=(c&255)+f|0;c=(c>>>16&255)+d|0;j[a>>2]=i|(h>>>0<255?h:255)|(c>>>0<255?c:255)<<16;a=a+4|0;c=2;continue;case 2:c=j[a>>2];h=(c>>>8&255)+e|0;i=(h>>>0<255?h:255)<<8;h=(c&255)+f|0;c=(c>>>16&255)+d|0;j[a>>2]=i|(h>>>0<255?h:255)|(c>>>0<255?c:255)<<16;a=a+4|0;c=3;continue;default:break u}}c=l-1|0;h=j[a>>2];i=(h>>>8&255)+e|0;o=(i>>>0<255?i:255)<<8;i=(h&255)+f|0;h=(h>>>16&255)+d|0;j[a>>2]=o|(i>>>0<255?i:255)|(h>>>0<255?h:255)<<16;a=a+4|0;v:{if((b|0)>1){b=b-1|0;break v}a=a+n|0;l=c;if(c){continue r}break a}c=0;continue}}}return 0}function jt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;o=oe-32|0;oe=o;c=Xe(1,72);a:{if(!c){c=0;Be(0);break a}j[c+32>>2]=128;j[c>>2]=a;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{a=dh(a);if((a|0)!=1163280727){if((a|0)==1297239878){break k}if((a|0)!=1179011410){break j}}e=j[c>>2];dh(e);dh(e);a=dh(e);l:{d=dh(e);if(d){while(1){m:{n:{if((a|0)!=1819307379){if((a|0)!=1635017060){if((a|0)!=544501094){break n}if(d>>>0<=15){ve(114918,0);break b}a=qe[j[57972]](d?d:1)|0;if(a){j[57976]=j[57976]+1}if(!a){ve(114946,0);break b}g=j[c>>2];if(!(qe[j[g+8>>2]](g,a,d,1)|0)){j[o>>2]=d;ve(114960,o);break b}if(l[a>>1]!=1){q=114997;break c}j[c+8>>2]=j[a+4>>2];u=1;q=115022;s=1;o:{p:{d=l[a+14>>1];switch(d-8|0){case 0:break o;case 8:break p;default:break c}}s=2;d=32784}i[c+12>>1]=d;d=l[a+2>>1];i[c+16>>1]=4096;h[c+14|0]=d;j[c+20>>2]=p(d&255,s)<<12;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}break m}a=j[c>>2];n=qe[j[a+4>>2]](a,0,0,1)|0;j[c+40>>2]=n;a=pe;j[c+44>>2]=a;n=d+n|0;j[c+48>>2]=n;j[c+52>>2]=d>>>0>n>>>0?a+1|0:a;v=1;a=j[c>>2];qe[j[a+4>>2]](a,d,0,1)|0;break m}g=qe[j[57972]](d?d:1)|0;if(g){j[57976]=j[57976]+1}if(!g){ve(114946,0);break b}a=j[c>>2];if(!(qe[j[a+8>>2]](a,g,d,1)|0)){break f}if(j[g+28>>2]){q=g+36|0;a=0;while(1){d=q+p(a,24)|0;q:{if(j[d+4>>2]){break q}s=j[d+12>>2];r=j[d+8>>2];n=j[d+20>>2];f=mf(j[c+68>>2],p(j[c+64>>2],20)+20|0);if(!f){ve(114946,0);break q}t=j[c+64>>2];d=f+p(t,20)|0;j[d+16>>2]=n;j[d+12>>2]=n;j[d+8>>2]=s;j[d+4>>2]=r;j[c+64>>2]=t+1;j[c+68>>2]=f}a=a+1|0;if(a>>>0>2]){continue}break}}if(g){qe[j[57975]](g);j[57976]=j[57976]-1}break m}qe[j[e+4>>2]](e,d,0,1)|0}a=dh(e);d=dh(e);if(d){continue}break}if(u){break l}}ve(114861,0);break b}if(v){break g}ve(114889,0);break b}f=j[c>>2];jj(f);if((dh(f)|0)!=1179011393){break d}w=c+8|0;r:{while(1){s:{e=dh(f);a=jj(f);x=qe[j[f+4>>2]](f,0,0,1)|0;g=pe;if(!a){break s}t:{if((e|0)!=1296912195){if((e|0)!=1145983827){break t}e=jj(f);jj(f);t=(qe[j[f+4>>2]](f,0,0,1)|0)+e|0;r=pe;j[c+40>>2]=t;j[c+44>>2]=e>>>0>t>>>0?r+1|0:r;n=1;break t}q=1;u=cs(f);v=jj(f);s=cs(f);qe[j[f+8>>2]](f,o+22|0,10,1)|0;d=0;e=h[o+22|0];if((e|0)<0){break t}if((e&255)>>>0<64){d=1;break t}d=67108864;if((e|0)!=64){break t}d=8e8;e=k[o+23|0];if(e>>>0>28){break t}d=(k[o+25|0]<<15|k[o+24|0]<<23|k[o+26|0]<<7|k[o+27|0]>>>1)>>>29-e|0}if(n?q:0){break r}e=a;r=a+x|0;a=g;if((qe[j[f+4>>2]](f,r,e>>>0>r>>>0?a+1|0:a,0)|0)!=-1|(pe|0)!=-1){continue}}break}if(!n){ve(115080,0);break b}if(q){break r}ve(115110,0);break b}g=j[c+44>>2];n=s&65535;f=p(p(u&65535,v),n>>>3|0);e=f+j[c+40>>2]|0;j[c+48>>2]=e;j[c+52>>2]=e>>>0>>0?g+1|0:g;Oe(w,0,24);j[c+8>>2]=d;a=32776;u:{switch(n-8|0){case 8:break i;case 0:break h;default:break u}}ve(115140,0);break b}ve(114841,0);break b}a=36880}i[c+16>>1]=4096;h[c+14|0]=u;i[c+12>>1]=a}a=j[c+20>>2];a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}j[c+56>>2]=a;if(a){break e}a=j[c+68>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}a=j[c+60>>2];if(a){Xh(a)}a=j[c+56>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(!j[c+4>>2]){break b}a=j[c>>2];qe[j[a+16>>2]](a)|0;break b}j[o+16>>2]=d;ve(114960,o+16|0);break b}a=Km(l[c+12>>1],k[c+14|0],j[c+8>>2],l[131086],k[262174],j[65542]);j[c+60>>2]=a;if(!a){a=j[c+68>>2];v:{if(!a){break v}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[c+60>>2];if(!a){break v}Xh(a)}a=j[c+56>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(!j[c+4>>2]){break b}a=j[c>>2];qe[j[a+16>>2]](a)|0;break b}j[c+4>>2]=b;break a}ve(115046,0);break b}ve(q,0);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0}oe=o+32|0;return c|0}function vg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0;c=1;rP(+b);e=oP(1)|0;d=oP(0)|0;l=e;a:{b:{g=e;h=g&2147483647;c:{if(!(d|h)){break c}rP(+a);j=oP(1)|0;t=oP(0)|0;p=j;if((j|0)==1072693248?!t:0){break c}d:{j=p&2147483647;if(!(j>>>0>2146435072|(j|0)==2146435072&(t|0)!=0|h>>>0>2146435072)){if(!d|(h|0)!=2146435072){break d}}return a+b}e:{f:{g:{h:{if((p|0)>-1){break h}q=2;if(h>>>0>1128267775){break g}if(h>>>0<1072693248){break h}e=h>>>20|0;if(h>>>0>=1094713344){f=1075-e|0;e=d>>>f|0;q=0;if((d|0)!=e<>>d|0;if((h|0)!=e<>>0>=1072693248){return(g|0)>-1?b:0}return(g|0)>-1?0:-b}if((h|0)==1072693248){if((g|0)>-1){return a}return 1/a}if((g|0)==1073741824){return a*a}if((g|0)!=1071644672|(p|0)<0){break e}return y(a)}c=r(a);if(!((j?(p&1073741823)!=1072693248:0)|t)){c=(g|0)<0?1/c:c;if((p|0)>-1){break c}if(!(j-1072693248|f)){a=c-c;return a/a}return(f|0)==1?-c:c}m=1;i:{if((p|0)>-1){break i}j:{switch(f|0){case 0:a=a-a;return a/a;case 1:break j;default:break i}}m=-1}k:{if(h>>>0>=1105199105){if(h>>>0>=1139802113){if(j>>>0<=1072693247){return(g|0)<0?B:0}return(g|0)>0?B:0}if(j>>>0<=1072693246){return(g|0)<0?m*1e+300*1e+300:m*1e-300*1e-300}if(j>>>0>=1072693249){return(g|0)>0?m*1e+300*1e+300:m*1e-300*1e-300}a=c+ -1;c=a*1.4426950216293335;k=a*1.9259629911266175e-8+a*a*(.5-a*(a*-.25+.3333333333333333))*-1.4426950408889634;rP(+(c+k));d=oP(1)|0;oP(0)|0;pP(0,0);pP(1,d|0);a=+qP();i=a-c;break k}a=c*9007199254740992;d=j>>>0<1048576;c=d?a:c;rP(+a);e=oP(1)|0;oP(0)|0;f=d?e:j;g=f&1048575;e=g|1072693248;h=(f>>20)+(d?-1076:-1023)|0;f=0;l:{if(g>>>0<235663){break l}if(g>>>0<767610){f=1;break l}e=e+ -1048576|0;h=h+1|0}g=f<<3;s=o[g+226800>>3];rP(+c);oP(1)|0;pP(0,oP(0)|0);pP(1,e|0);k=+qP();i=o[g+226768>>3];n=k-i;u=1/(i+k);c=n*u;rP(+c);d=oP(1)|0;oP(0)|0;pP(0,0);pP(1,d|0);a=+qP();w=a;v=a*a;x=n;pP(0,0);pP(1,((e>>1|536870912)+(f<<18)|0)+524288|0);n=+qP();k=u*(x-a*n-a*(k-(n-i)));i=(c+a)*k;a=c*c;i=i+a*a*(a*(a*(a*(a*(a*.20697501780033842+.23066074577556175)+.272728123808534)+.33333332981837743)+.4285714285785502)+.5999999999999946);rP(+(v+3+i));d=oP(1)|0;oP(0)|0;pP(0,0);pP(1,d|0);a=+qP();n=w*a;c=k*a+c*(i-(a+ -3-v));rP(+(n+c));d=oP(1)|0;oP(0)|0;pP(0,0);pP(1,d|0);a=+qP();i=a*.9617967009544373;k=o[g+226784>>3]+((c-(a-n))*.9617966939259756+a*-7.028461650952758e-9);c=+(h|0);rP(+(s+(i+k)+c));d=oP(1)|0;oP(0)|0;pP(0,0);pP(1,d|0);a=+qP();i=a-c-s-i}pP(0,0);pP(1,l|0);s=+qP();c=a*s;a=(k-i)*b+(b-s)*a;b=c+a;rP(+b);f=oP(1)|0;d=oP(0)|0;e=f;l=d;m:{d=e;if((d|0)>=1083179008){if(l|d-1083179008){break b}if(a+8.008566259537294e-17>b-c^1){break m}break b}if((d&2147482624)>>>0<1083231232){break m}if(l|d+1064252416){break a}if(a<=b-c^1){break m}break a}f=0;l=d&2147483647;if(l>>>0>=1071644673){e=d+(1048576>>>(l>>>20|0)-1022|0)|0;l=e>>>20&2047;f=(e&1048575|1048576)>>>1043-l|0;f=(d|0)<0?0-f|0:f;pP(0,0);pP(1,e&-1048576>>l-1023);c=c- +qP();rP(+(a+c));d=oP(1)|0;oP(0)|0}pP(0,0);pP(1,d|0);b=+qP();k=b*.6931471824645996;c=(a-(b-c))*.6931471805599453+b*-1.904654299957768e-9;a=k+c;b=a*a;b=a-b*(b*(b*(b*(b*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);i=a*b/(b+ -2);b=c-(a-k);a=a-(i-(b+a*b))+1;rP(+a);d=oP(1)|0;e=oP(0)|0;d=(f<<20)+d|0;n:{if((d|0)<=1048575){a=Mg(a,f);break n}pP(0,e|0);pP(1,d|0);a=+qP()}c=m*a}return c}return m*1e+300*1e+300}return m*1e-300*1e-300}function uE(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,s=0,t=0,u=q(0),v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=q(0),V=q(0),W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;m=oe;W=m;s=j[c+4>>2];x=16;a:{if(!j[s+500>>2]){break a}x=j[s+508>>2]}H=j[c>>2];k=2;a=a<<2;J=j[(a+(p(j[s>>2],60)+b|0)|0)+132>>2];a=a+b|0;y=j[a+252>>2];l=j[a+312>>2];L=i<<2;a=L+15&-16;z=m-a|0;b=z;oe=b;A=b-a|0;b=A;oe=b;C=b-a|0;b=C;oe=b;B=b-a|0;b=B;oe=b;M=b-a|0;oe=M;N=p(x,L);a=N+15&-16;b=M-a|0;oe=b;j[z>>2]=b;D=b-a|0;s=D;oe=s;j[A>>2]=s;s=s-a|0;oe=s;j[C>>2]=s;m=s-a|0;oe=m;j[B>>2]=m;b:{if((i|0)<2){break b}a=x<<2;j[z+4>>2]=a+b;j[A+4>>2]=a+D;j[C+4>>2]=a+s;j[B+4>>2]=a+m;if((i|0)==2){break b}while(1){s=j[B>>2];m=j[C>>2];D=j[A>>2];a=k<<2;b=p(k,x)<<2;j[a+z>>2]=b+j[z>>2];j[a+A>>2]=b+D;j[a+C>>2]=b+m;j[a+B>>2]=b+s;k=k+1|0;if((k|0)!=(i|0)){continue}break}}c:{if((H|0)<=0){a=j[d+1156>>2];break c}X=o[(l<<3)+((H|0)>1e3?198624:198544)>>3];Y=o[(y<<3)+198544>>3];Z=j[B>>2];_=(i|0)<1;s=H;m=0;while(1){D=Ae(M,g,L);Ee(Z,0,N);a=H-m|0;y=(a|0)<(x|0)?a:x;K=(s|0)>(x|0)?x:s;if(!_){G=J-m|0;l=0;while(1){v=m<<2;a=l<<2;E=v+j[a+f>>2]|0;d:{e:{f:{if(j[a+D>>2]){k=0;b=j[a+C>>2];g:{if((y|0)<=0){break g}while(1){t=k<<2;n[t+b>>2]=n[(j[t+E>>2]<<2)+198704>>2];k=k+1|0;if((K|0)!=(k|0)){continue}break}if((y|0)<1){break g}t=a+e|0;w=v+j[t>>2]|0;F=j[a+B>>2];k=0;while(1){v=k<<2;j[v+F>>2]=q((k|0)<(G|0)?Y:X)>q(q(r(n[v+w>>2]))/n[b+v>>2])^1;k=k+1|0;if((y|0)!=(k|0)){continue}break}if((y|0)>0){break f}}v=j[a+A>>2];a=j[a+z>>2];break e}if((y|0)<1){break d}k=j[a+B>>2];v=j[a+A>>2];t=j[a+z>>2];w=j[a+C>>2];b=0;while(1){a=b<<2;j[a+w>>2]=786163455;j[a+t>>2]=0;j[a+v>>2]=0;j[a+k>>2]=0;j[a+E>>2]=0;b=b+1|0;if((K|0)!=(b|0)){continue}break}break d}v=j[a+A>>2];a=j[a+z>>2];F=j[t>>2];k=0;while(1){t=k<<2;w=t+a|0;I=F+(k+m<<2)|0;u=n[I>>2];u=q(u*u);n[w>>2]=u;n[v+t>>2]=u;if(!(n[I>>2]>2]=-n[w>>2]}t=b+t|0;u=n[t>>2];n[t>>2]=u*u;k=k+1|0;if((K|0)!=(k|0)){continue}break}}gq(c,J,a,v,b,0,m,y,E)}l=l+1|0;if((l|0)!=(i|0)){continue}break}}a=j[d+1156>>2];if((a|0)>=1){$=J-m|0;aa=h-m|0;F=0;while(1){k=(F<<2)+d|0;b=j[k+2184>>2]<<2;l=j[b+f>>2];k=j[k+1160>>2]<<2;w=j[k+f>>2];I=j[b+B>>2];O=j[k+B>>2];ba=j[b+C>>2];P=j[k+C>>2];Q=j[b+A>>2];E=j[k+A>>2];v=j[b+z>>2];t=j[k+z>>2];k=k+D|0;if(!(j[b+D>>2]?0:!j[k>>2])){a=m<<2;R=a+w|0;j[b+D>>2]=1;j[k>>2]=1;if((y|0)>=1){S=a+l|0;k=0;while(1){h:{if((k|0)>=(aa|0)){break h}i:{a=k<<2;b=a+O|0;if(!j[b>>2]){l=a+I|0;if(!j[l>>2]){break i}}l=a+t|0;n[l>>2]=q(r(n[l>>2]))+q(r(n[a+v>>2]));l=a+E|0;n[l>>2]=n[l>>2]+n[a+Q>>2];j[a+I>>2]=1;j[b>>2]=1;w=a+R|0;l=j[w>>2];T=l>>31;G=a+S|0;b=j[G>>2];a=b>>31;j:{if((T^l+T)>(a^a+b)){a=(l|0)>0?l-b|0:b-l|0;j[G>>2]=a;b=j[w>>2];l=0-b|0;break j}j[G>>2]=(b|0)>0?l-b|0:b-l|0;j[w>>2]=b;a=j[G>>2];l=0-b|0}if(((b|0)<0?l:b)<<1>(a|0)){break h}j[G>>2]=0-a;j[w>>2]=0-j[w>>2];break h}k:{if((k|0)<($|0)){b=a+t|0;u=q(n[a+v>>2]+n[b>>2]);n[b>>2]=u;n[a+E>>2]=r(u);break k}b=a+t|0;U=n[b>>2];V=n[a+v>>2];u=q(q(r(U))+q(r(V)));n[a+E>>2]=u;if(!(q(U+V)>2]=-u;break k}n[b>>2]=u}j[a+Q>>2]=0;j[a+v>>2]=0;j[l>>2]=1;j[a+S>>2]=0}a=k<<2;b=a+ba|0;a=a+P|0;u=q(n[a>>2]+n[b>>2]);n[b>>2]=u;n[a>>2]=u;k=k+1|0;if((K|0)!=(k|0)){continue}break}}gq(c,J,t,E,P,O,m,y,R);a=j[d+1156>>2]}F=F+1|0;if((F|0)<(a|0)){continue}break}}s=s-x|0;m=m+x|0;if((H|0)>(m|0)){continue}break}}k=0;if((a|0)>0){while(1){b=(k<<2)+d|0;c=(j[b+1160>>2]<<2)+g|0;if(!(j[(j[b+2184>>2]<<2)+g>>2]?0:!j[c>>2])){j[c>>2]=1;j[(j[b+2184>>2]<<2)+g>>2]=1;a=j[d+1156>>2]}k=k+1|0;if((k|0)<(a|0)){continue}break}}oe=W}function tp(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;d=oe-32|0;oe=d;a:{b:{switch(j[a+44>>2]){case 1:j[a>>2]=b;j[a+4>>2]=b+11796480;e=sp(a,0);break a;case 2:g=j[a+60>>2];of(d+8|0,g,b+5898240|0);of(d+16|0,g,b);f=j[d+16>>2]+(j[d+8>>2]+j[a+8>>2]|0)|0;j[d+16>>2]=f;e=j[d+20>>2]+(j[d+12>>2]+j[a+12>>2]|0)|0;j[d+20>>2]=e;c:{d:{e:{if(k[a+80|0]){f=j[d+20>>2];c=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[c>>2]=j[d+16>>2];j[c+4>>2]=f;break e}c=j[a+64>>2];f:{if(!c){break f}i=j[a+72>>2]+(c-1<<3)|0;if((j[i>>2]-f|0)+1>>>0>2){break f}if((j[i+4>>2]-e|0)+1>>>0<3){break d}}f=j[a+68>>2];j[d+28>>2]=0;e=c+1|0;g:{if(e>>>0<=f>>>0){f=j[a+76>>2];break g}i=j[a+88>>2];c=f;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(i,8,f,c,j[a+72>>2],d+28|0),j[l+72>>2]=m;e=j[d+28>>2];if(e){break c}f=xe(i,1,f,c,j[a+76>>2],d+28|0);j[a+76>>2]=f;e=j[d+28>>2];if(e){break c}j[a+68>>2]=c;c=j[a+64>>2]}i=j[d+20>>2];e=j[a+72>>2]+(c<<3)|0;j[e>>2]=j[d+16>>2];j[e+4>>2]=i;h[c+f|0]=1;j[a+64>>2]=j[a+64>>2]+1}h[a+80|0]=0}of(d+8|0,g,b-5898240|0);of(d+16|0,g,b);b=j[d+16>>2]+(j[a+8>>2]+j[d+8>>2]|0)|0;j[d+16>>2]=b;f=j[d+20>>2]+(j[a+12>>2]+j[d+12>>2]|0)|0;j[d+20>>2]=f;h:{if(k[a+80|0]){c=j[d+20>>2];b=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[b>>2]=j[d+16>>2];j[b+4>>2]=c;break h}c=j[a+64>>2];i:{if(!c){break i}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-b|0)+1>>>0>2){break i}e=0;if((j[g+4>>2]-f|0)+1>>>0<3){break a}}b=j[a+68>>2];j[d+28>>2]=0;e=c+1|0;j:{if(e>>>0<=b>>>0){b=j[a+76>>2];break j}f=j[a+88>>2];c=b;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(f,8,b,c,j[a+72>>2],d+28|0),j[l+72>>2]=m;e=j[d+28>>2];if(e){break c}b=xe(f,1,b,c,j[a+76>>2],d+28|0);j[a+76>>2]=b;e=j[d+28>>2];if(e){break c}j[a+68>>2]=c;c=j[a+64>>2]}e=j[d+20>>2];f=j[a+72>>2]+(c<<3)|0;j[f>>2]=j[d+16>>2];j[f+4>>2]=e;h[b+c|0]=1;j[a+64>>2]=j[a+64>>2]+1}e=0}h[a+80|0]=0;break a;case 0:break b;default:break a}}i=j[a+60>>2];of(d+16|0,i,b+5898240|0);f=j[d+16>>2]+j[a+8>>2]|0;j[d+16>>2]=f;e=j[d+20>>2]+j[a+12>>2]|0;j[d+20>>2]=e;k:{l:{m:{if(k[a+80|0]){f=j[d+20>>2];c=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[c>>2]=j[d+16>>2];j[c+4>>2]=f;break m}c=j[a+64>>2];n:{if(!c){break n}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-f|0)+1>>>0>2){break n}if((j[g+4>>2]-e|0)+1>>>0<3){break l}}f=j[a+68>>2];j[d+8>>2]=0;e=c+1|0;o:{if(e>>>0<=f>>>0){f=j[a+76>>2];break o}g=j[a+88>>2];c=f;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(g,8,f,c,j[a+72>>2],d+8|0),j[l+72>>2]=m;e=j[d+8>>2];if(e){break k}f=xe(g,1,f,c,j[a+76>>2],d+8|0);j[a+76>>2]=f;e=j[d+8>>2];if(e){break k}j[a+68>>2]=c;c=j[a+64>>2]}g=j[d+20>>2];e=j[a+72>>2]+(c<<3)|0;j[e>>2]=j[d+16>>2];j[e+4>>2]=g;h[c+f|0]=1;j[a+64>>2]=j[a+64>>2]+1}h[a+80|0]=0}of(d+16|0,i,b-5898240|0);b=j[d+16>>2]+j[a+8>>2]|0;j[d+16>>2]=b;f=j[d+20>>2]+j[a+12>>2]|0;j[d+20>>2]=f;p:{if(k[a+80|0]){c=j[d+20>>2];b=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[b>>2]=j[d+16>>2];j[b+4>>2]=c;break p}c=j[a+64>>2];q:{if(!c){break q}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-b|0)+1>>>0>2){break q}e=0;if((j[g+4>>2]-f|0)+1>>>0<3){break a}}b=j[a+68>>2];j[d+8>>2]=0;e=c+1|0;r:{if(e>>>0<=b>>>0){b=j[a+76>>2];break r}f=j[a+88>>2];c=b;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(f,8,b,c,j[a+72>>2],d+8|0),j[l+72>>2]=m;e=j[d+8>>2];if(e){break k}b=xe(f,1,b,c,j[a+76>>2],d+8|0);j[a+76>>2]=b;e=j[d+8>>2];if(e){break k}j[a+68>>2]=c;c=j[a+64>>2]}e=j[d+20>>2];f=j[a+72>>2]+(c<<3)|0;j[f>>2]=j[d+16>>2];j[f+4>>2]=e;h[b+c|0]=1;j[a+64>>2]=j[a+64>>2]+1}e=0}h[a+80|0]=0}oe=d+32|0;return e}function oK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;e=oe-16|0;oe=e;t=j[a+36>>2];b=j[a+20>>2];u=j[a+16>>2];c=j[a>>2];n=j[a+28>>2];p=j[a+24>>2];d=j[a+40>>2];r=k[d+9|0];f=j[a+44>>2];s=k[f+9|0];a:{if(!((r|0)!=4|(s|0)!=4|(j[d>>2]==372711428|j[f>>2]==372711428))){wh(d,f,e+12|0,e+8|0,e+4|0,e,0);if(!n){break a}q=p&7;p=(p+7|0)/8|0;b:while(1){g=p;c:{d:{switch(q-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=1;continue;case 1:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=2;continue;case 2:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=3;continue;case 3:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=4;continue;case 4:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=5;continue;case 5:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=6;continue;case 6:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=7;continue;default:break e}}a=n-1|0;h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;f:{if((g|0)>1){g=g-1|0;break f}b=b+t|0;c=c+u|0;n=a;if(a){continue b}break a}a=0;continue}}}if(!n){break a}v=s-1|0;while(1){n=n-1|0;q=p;if(p){while(1){a=0;g=0;m=0;o=0;g:{h:{switch(r-1|0){case 0:a=k[c|0];o=k[j[(k[d+31|0]<<2)+234976>>2]+((a&j[d+24>>2])>>>k[d+35|0]|0)|0];m=k[j[(k[d+30|0]<<2)+234976>>2]+((a&j[d+20>>2])>>>k[d+34|0]|0)|0];g=k[j[(k[d+29|0]<<2)+234976>>2]+((a&j[d+16>>2])>>>k[d+33|0]|0)|0];a=k[j[(k[d+28|0]<<2)+234976>>2]+((a&j[d+12>>2])>>>k[d+32|0]|0)|0];break g;case 1:a=l[c>>1];o=k[j[(k[d+31|0]<<2)+234976>>2]+((a&j[d+24>>2])>>>k[d+35|0]|0)|0];m=k[j[(k[d+30|0]<<2)+234976>>2]+((a&j[d+20>>2])>>>k[d+34|0]|0)|0];g=k[j[(k[d+29|0]<<2)+234976>>2]+((a&j[d+16>>2])>>>k[d+33|0]|0)|0];a=k[j[(k[d+28|0]<<2)+234976>>2]+((a&j[d+12>>2])>>>k[d+32|0]|0)|0];break g;case 2:m=k[(k[d+34|0]>>>3|0)+c|0];g=k[(k[d+33|0]>>>3|0)+c|0];a=k[(k[d+32|0]>>>3|0)+c|0];o=255;break g;case 3:break h;default:break g}}a=j[c>>2];o=k[j[(k[d+31|0]<<2)+234976>>2]+((a&j[d+24>>2])>>>k[d+35|0]|0)|0];m=k[j[(k[d+30|0]<<2)+234976>>2]+((a&j[d+20>>2])>>>k[d+34|0]|0)|0];g=k[j[(k[d+29|0]<<2)+234976>>2]+((a&j[d+16>>2])>>>k[d+33|0]|0)|0];a=k[j[(k[d+28|0]<<2)+234976>>2]+((a&j[d+12>>2])>>>k[d+32|0]|0)|0]}i:{j:{switch(v|0){case 0:h[b|0]=g>>>k[f+29|0]<>>k[f+28|0]<>>k[f+30|0]<>>k[f+31|0]<>1]=g>>>k[f+29|0]<>>k[f+28|0]<>>k[f+30|0]<>>k[f+31|0]<>>3|0)+b|0]=a;h[(k[f+33|0]>>>3|0)+b|0]=g;h[(k[f+34|0]>>>3|0)+b|0]=m;break i;case 3:break j;default:break i}}j[b>>2]=g>>>k[f+29|0]<>>k[f+28|0]<>>k[f+30|0]<>>k[f+31|0]<>2];g=j[a+104>>2];s=j[g+28>>2];j[o+4>>2]=0;e=6;a:{if(!r|!k[a+672|0]){break a}e=0;if(m[r+32>>2]<=b>>>0){break a}a=j[r+36>>2];f=b+1|0;if(j[a+(b<<2)>>2]==j[a+(f<<2)>>2]){break a}a=0;u=xe(s,8,0,d,0,o+12|0);b:{if(j[o+12>>2]){break b}a=xe(s,1,0,d,0,o+12|0);if(j[o+12>>2]){break b}e=b<<2;b=Fe(g,j[e+j[r+36>>2]>>2]);j[o+12>>2]=b;if(b){break b}b=j[r+36>>2];b=_e(g,j[b+(f<<2)>>2]-j[b+e>>2]|0);j[o+12>>2]=b;if(b){break b}e=j[g>>2];b=j[g+32>>2];z=xe(s,4,0,j[r>>2],0,o+12|0);c:{if(j[o+12>>2]){break c}D=xe(s,4,0,j[r>>2],0,o+12|0);if(j[o+12>>2]){break c}E=xe(s,4,0,j[r>>2],0,o+12|0);if(j[o+12>>2]){break c}n=af(g);A=af(g)+(b-e|0)|0;if(n&32768){f=j[g+32>>2];b=j[g>>2];j[g+32>>2]=b+A;J=Qk(g,o+4|0);e=j[g+32>>2];f=f-b|0;b=j[g>>2];j[g+32>>2]=f+b;A=e-b|0}F=n&4095;if(!F){break c}G=j[o+4>>2];while(1){K=af(g);d:{e:{f:{g:{f=af(g);h:{if(f&32768){b=0;if(!j[r>>2]){break h}while(1){M=(b<<2)+z|0,N=af(g)<<16>>16<<2,j[M>>2]=N;b=b+1|0;if(b>>>0>2]){continue}break}break h}b=f&4095;if(b>>>0>=m[r+24>>2]){break g}e=b;b=j[r>>2];Ae(z,j[r+28>>2]+(p(e,b)<<2)|0,b<<2)}i:{if(!(f&16384)){break i}b=0;if(!j[r>>2]){break i}while(1){M=(b<<2)+D|0,N=af(g)<<16>>16<<2,j[M>>2]=N;b=b+1|0;e=j[r>>2];if(b>>>0>>0){continue}break}b=0;if(!e){break i}while(1){M=(b<<2)+E|0,N=af(g)<<16>>16<<2,j[M>>2]=N;b=b+1|0;if(b>>>0>2]){continue}break}}t=Un(r,f,z,D,E);if(!t){break d}H=j[g>>2];L=j[g+32>>2];j:{if(f&8192){j[g+32>>2]=A+H;x=Qk(g,o+8|0);f=j[o+8>>2];b=x;break j}j[o+8>>2]=G;f=G;x=q;b=J}e=f?f:d;B=Pk(g,e);C=Pk(g,e);if(!B|(!b|!C)){break e}k:{if((b|0)!=-1){b=0;if(d){break k}break f}b=0;if(!d){break e}while(1){q=b<<1;f=ye(i[q+B>>1],t);n=b<<3;e=n+j[c+4>>2]|0;j[e>>2]=f+j[e>>2];f=ye(i[q+C>>1],t);e=n+j[c+4>>2]|0;j[e+4>>2]=f+j[e+4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}break e}while(1){e=b<<3;q=e+u|0;n=e+j[c+4>>2]|0;e=j[n+4>>2];j[q>>2]=j[n>>2];j[q+4>>2]=e;h[a+b|0]=0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break f}j[o+12>>2]=8;break c}b=0;if(f){while(1){v=b<<1;e=l[v+x>>1];if(e>>>0>>0){h[a+e|0]=1;n=ye(i[B+v>>1],t);q=e<<3;e=q+j[c+4>>2]|0;j[e>>2]=n+j[e>>2];n=ye(i[C+v>>1],t);e=q+j[c+4>>2]|0;j[e+4>>2]=n+j[e+4>>2]}b=b+1|0;if((f|0)!=(b|0)){continue}break}}if(!l[c>>1]){break e}y=j[c+4>>2];t=0;e=0;while(1){q=e;b=e;w=i[j[c+12>>2]+(t<<1)>>1];l:{if(b>>>0>w>>>0){break l}while(1){m:{e=b+1|0;if(k[a+b|0]){break m}b=e;if(w>>>0>=b>>>0){continue}break l}break}n=b;f=b;n:{o:{p:{if(e>>>0<=w>>>0){while(1){if(k[a+e|0]){Nk(f+1|0,n,f,e,u,y);f=e}n=e;e=e+1|0;if(w>>>0>=e>>>0){continue}break}if((b|0)!=(f|0)){break p}}f=b<<3;n=f+y|0;f=f+u|0;v=j[n+4>>2]-j[f+4>>2]|0;f=j[n>>2]-j[f>>2]|0;if(!(v|f)){break l}if((b|0)>(q|0)){break o}break n}Nk(f+1|0,w,f,b,u,y);if(!b){break l}Nk(q,b-1|0,f,b,u,y);break l}while(1){n=y+(q<<3)|0;j[n>>2]=f+j[n>>2];j[n+4>>2]=v+j[n+4>>2];q=q+1|0;if((q|0)!=(b|0)){continue}break}}if((b|0)>=(w|0)){break l}while(1){b=b+1|0;n=y+(b<<3)|0;j[n>>2]=f+j[n>>2];j[n+4>>2]=v+j[n+4>>2];if((b|0)!=(w|0)){continue}break}}t=t+1|0;if((t|0)>1]){continue}break}}q=-1;if((x|0)!=-1){if(x){qe[j[s+8>>2]](s,x)}q=0}b=s;if(B){qe[j[b+8>>2]](b,B)}if(C){qe[j[s+8>>2]](s,C)}j[g+32>>2]=j[g>>2]+(L-H|0)}A=A+K|0;I=I+1|0;if((I|0)!=(F|0)){continue}break}}b=s;if(z){qe[j[b+8>>2]](b,z)}if(D){qe[j[b+8>>2]](b,D)}if(E){qe[j[s+8>>2]](s,E)}Ve(g)}if(u){qe[j[s+8>>2]](s,u)}if(a){qe[j[s+8>>2]](s,a)}e=j[o+12>>2]}oe=o+16|0;return e}function nl(a,b,c,d,e,f,g,i,l,m){var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;n=oe-192|0;oe=n;j[n+144>>2]=0;j[n+148>>2]=0;j[n+152>>2]=0;j[n+156>>2]=0;j[n+160>>2]=0;j[n+164>>2]=0;j[n+168>>2]=0;j[n+172>>2]=0;j[n+176>>2]=0;j[n+180>>2]=0;j[n+184>>2]=0;j[n+188>>2]=0;j[n+128>>2]=0;j[n+132>>2]=0;j[n+136>>2]=0;j[n+140>>2]=0;t=n+128|4;o=b;p=a;while(1){s=(n+128|0)+(j[p>>2]<<2)|0;j[s>>2]=j[s>>2]+1;p=p+4|0;o=o-1|0;if(o){continue}break}a:{if(j[n+128>>2]==(b|0)){j[f>>2]=0;j[g>>2]=0;break a}p=j[g>>2];q=1;o=g;b:{c:{d:{e:{f:{g:{s=j[n+132>>2];if(s){break g}q=2;if(j[n+136>>2]){break g}q=3;if(j[n+140>>2]){break g}q=4;if(j[n+144>>2]){break g}q=5;if(j[n+148>>2]){break g}q=6;if(j[n+152>>2]){break g}q=7;if(j[n+156>>2]){break g}q=8;if(j[n+160>>2]){break g}q=9;if(j[n+164>>2]){break g}q=10;if(j[n+168>>2]){break g}q=11;if(j[n+172>>2]){break g}q=12;if(j[n+176>>2]){break g}q=13;if(j[n+180>>2]){break g}q=14;if(j[n+184>>2]){break g}if(j[n+188>>2]){q=15;p=p>>>0>15?p:15;C=1;r=15;break e}q=16;p=p>>>0>16?p:16;break f}p=p>>>0>>0?q:p;if(!j[n+188>>2]){break f}r=15;u=p>>>0<15?p:15;j[g>>2]=u;o=1<>2]){break d}r=13;if(j[n+180>>2]){break d}r=12;if(j[n+176>>2]){break d}r=11;if(j[n+172>>2]){break d}r=10;if(j[n+168>>2]){break d}r=9;if(j[n+164>>2]){break d}r=8;if(j[n+160>>2]){break d}r=7;if(j[n+156>>2]){break d}r=6;if(j[n+152>>2]){break d}r=5;if(j[n+148>>2]){break d}r=4;if(j[n+144>>2]){break d}r=3;if(j[n+140>>2]){break d}r=2;if(j[n+136>>2]){break d}C=!s;r=(s|0)!=0}u=p>>>0>r>>>0?r:p;j[o>>2]=u;o=1<>>0>r>>>0?r:p;j[g>>2]=u;C=1;o=1<>>0>=r>>>0){break b}}p=q;while(1){g=o-j[(n+128|0)+(p<<2)>>2]|0;if((g|0)<0){D=-3;break a}C=1;o=g<<1;p=p+1|0;if((r|0)!=(p|0)){continue}break}}D=-3;g=(n+128|0)+(r<<2)|0;E=o-j[g>>2]|0;if((E|0)<0){break a}j[g>>2]=o;j[n+4>>2]=0;o=r-1|0;if(o){p=n|8;while(1){v=j[t>>2]+v|0;j[p>>2]=v;p=p+4|0;t=t+4|0;o=o-1|0;if(o){continue}break}}g=b>>>0>1?b:1;p=0;while(1){b=j[a>>2];if(b){o=(b<<2)+n|0;b=j[o>>2];j[o>>2]=b+1;j[(b<<2)+m>>2]=p}a=a+4|0;p=p+1|0;if((g|0)!=(p|0)){continue}break}j[n+64>>2]=0;a=j[(r<<2)+n>>2];j[n>>2]=0;if(q>>>0<=r>>>0){t=0-u|0;G=(a<<2)+m|0;v=0;a=0;b=0;p=-1;while(1){F=(n+128|0)+(q<<2)|0;y=j[F>>2];if(y){H=1<>>0<=y>>>0){break i}o=g;a=r-t|0;A=a>>>0>u>>>0?u:a;if(o>>>0>=A>>>0){break i}o=g+1|0;if(A>>>0<=o>>>0){break i}a=u>>>0>>0?u:z;v=p-y|0;p=F;while(1){v=v<<1;B=j[p+4>>2];if(v>>>0<=B>>>0){break i}p=p+4|0;v=v-B|0;o=o+1|0;if(A>>>0>o>>>0){continue}break}o=a}v=1<>2];A=v+a|0;if(A>>>0>1440){break a}p=s+1|0;B=p<<2;a=(a<<3)+i|0;j[B+(n- -64|0)>>2]=a;j[l>>2]=A;j:{if(p){j[n+B>>2]=b;w=j[(n- -64|0)+(s<<2)>>2];x=b>>>x|0;s=w+(x<<3)|0;h[s+1|0]=u;h[s|0]=o;w=(a-w>>3)-x|0;j[s+4>>2]=w;break j}j[f>>2]=a}z=z-u|0;x=t;s=p;o=t+u|0;if((q|0)>(o|0)){continue}break}}s=192;k:{if(m>>>0>=G>>>0){break k}w=j[m>>2];if(w>>>0>>0){s=w>>>0<256?0:96;m=m+4|0;break k}m=m+4|0;o=w-c<<2;s=k[o+e|0]+80|0;w=j[d+o>>2]}o=b>>>t|0;if(v>>>0>o>>>0){z=1<>2]=w;h[x+1|0]=g;h[x|0]=s;o=o+z|0;if(v>>>0>o>>>0){continue}break}}o=H;if(o&b){while(1){b=b^o;o=o>>>1|0;if(b&o){continue}break}}y=y-1|0;b=b^o;if(j[(p<<2)+n>>2]!=(b&(-1<>2]!=((-1<>2];u=j[a+40>>2];q=j[a+36>>2];h[f+47|0]=0;h[f+48|0]=0;h[f+49|0]=0;h[f+50|0]=0;h[f+51|0]=0;h[f+52|0]=0;h[f+53|0]=0;h[f+54|0]=0;j[f+40>>2]=0;j[f+44>>2]=0;j[f+32>>2]=0;j[f+36>>2]=0;j[f+16>>2]=0;j[f+24>>2]=0;j[f+28>>2]=0;j[f+8>>2]=0;j[f+12>>2]=0;c=p(b,1468)+a|0;w=c;j[c+44>>2]=0;g=j[c+68>>2];e=j[a+28>>2];m=j[a+24>>2];c=e+p(m,40)|0;a:{if(!b){if((m|0)<1){break a}while(1){j[e+24>>2]=i[e+12>>1];j[e+28>>2]=i[e+14>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}break a}if((m|0)<1){break a}while(1){j[e+24>>2]=i[e+14>>1];j[e+28>>2]=i[e+12>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}}b:{if((q|0)<1){break b}z=(q<<2)+u|0;r=p(b,1468)+a|0;x=r+72|0;c=g>>31;t=c+g^c;g=t;while(1){c:{s=j[u>>2];e=j[s+36>>2];if((e|0)==(s|0)){break c}c=h[e+3|0];m=c>>31;m=m^c+m;d:{if((m|0)!=(t|0)){break d}c=h[s+3|0];q=c>>31;if((q^c+q)!=(t|0)){break d}if((m|0)==(t|0)){while(1){if((e|0)==(s|0)){break d}e=j[e+36>>2];c=h[e+3|0];m=c>>31;if((m^c+m)==(t|0)){continue}break}}s=j[e+32>>2]}c=0;o=-32e3;n=32e3;e=s;m=0;while(1){q=1;e:{if(!c){break e}c=j[e+24>>2];o=(c|0)>(o|0)?c:o;n=(c|0)<(n|0)?c:n;if(!((e|0)==(s|0)|h[e+3|0]!=(g|0))){q=0;break e}j[d+44>>2]=e;i[d+2>>1]=n+o>>>1;c=j[d+40>>2];if((l[e>>1]|l[c>>1])&3){h[d|0]=k[d|0]|1}n=j[c+28>>2];c=j[e+28>>2];o=(c|0)<(n|0)?n:c;i[d+6>>1]=o;n=(c|0)>(n|0)?n:c;i[d+4>>1]=n;i[d+8>>1]=o-n;d=0}if((e|0)==(s|0)){c=m;m=1;if(c){break c}}v=1;f:{if(!q){break f}q=h[e+3|0];c=q>>31;v=0;if((c^c+q)!=(t|0)){break f}j[f+60>>2]=0;d=j[w+44>>2];g:{if((d|0)<=17){if(j[r+52>>2]){break g}j[r+52>>2]=x;j[r+48>>2]=18;break g}o=j[r+48>>2];if((o|0)>(d|0)){break g}if((o|0)>44739241){n=64;break b}c=(o+(o>>2)|0)+4|0;g=(o|0)<-16?44739242:(c|0)>44739242?44739242:c;c=j[r+52>>2];h:{if((c|0)==(x|0)){c=xe(y,48,0,g,0,f+60|0);j[r+52>>2]=c;n=j[f+60>>2];if(n){break b}Ae(c,x,864);break h}A=r,B=xe(y,48,o,g,c,f+60|0),j[A+52>>2]=B;n=j[f+60>>2];if(n){break b}}j[r+48>>2]=g;d=j[w+44>>2]}c=j[r+52>>2];j[w+44>>2]=d+1;d=c+p(d,48)|0;h[d|0]=0;g=j[f+28>>2];c=j[f+24>>2];h[d+1|0]=c;h[d+2|0]=c>>>8;h[d+3|0]=c>>>16;h[d+4|0]=c>>>24;h[d+5|0]=g;h[d+6|0]=g>>>8;h[d+7|0]=g>>>16;h[d+8|0]=g>>>24;g=j[f+36>>2];c=j[f+32>>2];h[d+9|0]=c;h[d+10|0]=c>>>8;h[d+11|0]=c>>>16;h[d+12|0]=c>>>24;h[d+13|0]=g;h[d+14|0]=g>>>8;h[d+15|0]=g>>>16;h[d+16|0]=g>>>24;g=j[f+44>>2];c=j[f+40>>2];h[d+17|0]=c;h[d+18|0]=c>>>8;h[d+19|0]=c>>>16;h[d+20|0]=c>>>24;h[d+21|0]=g;h[d+22|0]=g>>>8;h[d+23|0]=g>>>16;h[d+24|0]=g>>>24;g=k[f+51|0]|k[f+52|0]<<8|(k[f+53|0]<<16|k[f+54|0]<<24);c=k[f+47|0]|k[f+48|0]<<8|(k[f+49|0]<<16|k[f+50|0]<<24);h[d+24|0]=c;h[d+25|0]=c>>>8;h[d+26|0]=c>>>16;h[d+27|0]=c>>>24;h[d+28|0]=g;h[d+29|0]=g>>>8;h[d+30|0]=g>>>16;h[d+31|0]=g>>>24;j[d+32>>2]=32e3;c=j[f+12>>2];j[d+36>>2]=j[f+8>>2];j[d+40>>2]=c;j[d+44>>2]=j[f+16>>2];h[d+1|0]=q;n=j[e+24>>2];j[d+44>>2]=e;j[d+40>>2]=e;o=n;g=q;v=1}c=v;e=j[e+32>>2];continue}}u=u+4|0;if(z>>>0>u>>>0){continue}break}n=0;c=j[w+44>>2];if((c|0)<1){break b}e=j[(p(b,1468)+a|0)+52>>2];b=e+p(c,48)|0;while(1){a=j[e+40>>2];g=j[j[a+36>>2]+28>>2];m=j[a+28>>2];a=j[e+44>>2];c=j[a+28>>2];i:{if((m|0)<(c|0)){if((g|0)<(m|0)){i[e+8>>1]=l[e+8>>1]+(m-g>>>1|0)}a=j[j[a+32>>2]+28>>2];if((a|0)<=(c|0)){break i}i[e+8>>1]=l[e+8>>1]+(a-c>>>1|0);break i}if((g|0)>(m|0)){i[e+8>>1]=l[e+8>>1]+(g-m>>>1|0)}a=j[j[a+32>>2]+28>>2];if((a|0)>=(c|0)){break i}i[e+8>>1]=l[e+8>>1]+(c-a>>>1|0)}e=e+48|0;if(b>>>0>e>>>0){continue}break}}oe=f- -64|0;return n}function Zv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;d=oe-16|0;oe=d;n=j[b+16>>2];p=j[b+8>>2];q=j[a+488>>2];a:{b:{e=qe[j[b+36>>2]](b)|0;if((e|0)<0){c=3;break b}if(j[b+12>>2]|!e){break a}l=b+260|0;o=b+156|0;m=b+208|0;if(!j[b+152>>2]){f=e+6|0;c=qe[j[j[q>>2]>>2]](m,f,n)|0;if(c){break b}c=qe[j[j[q>>2]>>2]](o,f,n)|0;if(c){break b}c=qe[j[j[q>>2]>>2]](l,4,n)|0;j[d+12>>2]=c;if(c){break b}}qe[j[b+28>>2]](b);c:{c=j[b>>2];if(p>>>0<=c>>>0){j[b+152>>2]=0;break c}w=e+5|0;d:{while(1){e:{f:{if(c+3>>>0>=p>>>0){break f}g:{switch(k[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break g;default:break f}}h:{switch(k[c|0]-100|0){case 0:if(!g|k[c+1|0]!=101|k[c+2|0]!=102){break f}break e;case 1:break h;default:break f}}if(k[c+1|0]!=110){break f}if(k[c+2|0]==100){break e}}qe[j[b+32>>2]](b);i=j[b>>2];if(i>>>0>=p>>>0){c=3;j[d+12>>2]=3;break b}if(j[b+12>>2]){break a}i:{if(k[c|0]!=47){break i}if(c+2>>>0>=p>>>0){j[d+12>>2]=3;break d}r=j[j[a+128>>2]+48>>2];f=j[b+8>>2];qe[j[b+28>>2]](b);j:{e=j[b>>2];k:{if(e>>>0>=f>>>0|k[e|0]-48>>>0>9){break k}e=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((e|0)<0){break k}t=f;u=j[b>>2];f=u+1|0;if((e|0)<(t-f|0)){break j}}if(r){break a}j[b+12>>2]=3;break a}j[b>>2]=(e+u|0)+1;if(j[b+12>>2]){break a}if(j[b+152>>2]){break i}c=c+1|0;i=i-c|0;r=qe[j[b+200>>2]](o,g,c,i+1|0)|0;j[d+12>>2]=r;if(r){break d}t=i;i=g<<2;h[t+j[i+j[b+180>>2]>>2]|0]=0;if(k[c|0]==46){c=we(91788,j[i+j[b+180>>2]>>2]);v=c?v:1;s=c?s:g}l:{m:{if((g|0)>=(w|0)){break m}c=j[a+172>>2];if((c|0)<0){break m}if(c>>>0>=e>>>0){j[d+12>>2]=3;c=j[d+12>>2];break b}c=He(n,e,d+12|0);if(j[d+12>>2]){break d}c=Ae(c,f,e);qe[j[q+16>>2]](c,e,4330);f=j[a+172>>2];x=d,y=qe[j[b+252>>2]](m,g,f+c|0,e-f|0)|0,j[x+12>>2]=y;if(c){qe[j[n+8>>2]](n,c)}c=j[d+12>>2];break l}c=qe[j[b+252>>2]](m,g,f,e)|0;j[d+12>>2]=c}if(c){break d}g=g+1|0}qe[j[b+28>>2]](b);c=j[b>>2];if(p>>>0>c>>>0){continue}}break}j[b+152>>2]=g;if(!(v&255)){break c}a=j[j[b+180>>2]>>2];if(!we(91788,a)){break a}c=qe[j[b+304>>2]](l,0,a,j[j[b+184>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+304>>2]](l,1,j[j[b+232>>2]>>2],j[j[b+236>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}a=s<<2;c=qe[j[b+304>>2]](l,2,j[a+j[b+180>>2]>>2],j[a+j[b+184>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+304>>2]](l,3,j[a+j[b+232>>2]>>2],j[a+j[b+236>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,s,j[j[b+284>>2]>>2],j[j[b+288>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,s,j[j[b+284>>2]+4>>2],j[j[b+288>>2]+4>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,0,j[j[b+284>>2]+8>>2],j[j[b+288>>2]+8>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,0,j[j[b+284>>2]+12>>2],j[j[b+288>>2]+12>>2])|0;if(!c){break a}break b}c=j[d+12>>2];break b}h[d+8|0]=k[94096];j[d+4>>2]=k[94092]|k[94093]<<8|(k[94094]<<16|k[94095]<<24);c=qe[j[b+304>>2]](l,0,j[j[b+180>>2]>>2],j[j[b+184>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+304>>2]](l,1,j[j[b+232>>2]>>2],j[j[b+236>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,0,91788,8)|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,0,d+4|0,5)|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,g,j[j[b+284>>2]>>2],j[j[b+288>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,g,j[j[b+284>>2]+4>>2],j[j[b+288>>2]+4>>2])|0;if(c){break b}j[b+152>>2]=j[b+152>>2]+1;break a}j[b+12>>2]=c}oe=d+16|0}function Pn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=oe-16|0;oe=f;j[b+12>>2]=0;j[b>>2]=c;i=c+d|0;j[b+8>>2]=i;qe[j[b+28>>2]](b);c=j[b>>2];a:{b:{if(i>>>0<=c>>>0){break b}m=a+132|0;o=a+164|0;p=a+168|0;q=a+460|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=k[c|0];switch(d-99|0){case 1:break i;case 0:break k;case 2:break l;default:break j}}d=c+6|0;if((d|0)==(i|0)){break h}if(d>>>0>=i>>>0){break d}switch(k[c+5|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break d}}m:{d=c+10|0;if((d|0)==(i|0)){break m}if(d>>>0>=i>>>0){break d}switch(k[c+9|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break m;default:break d}}if(Qe(c,91828,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){qe[j[b+32>>2]](b);e=1;n=c;if(!j[b+12>>2]){break c}break b}g=c+6>>>0>=i>>>0;if(!(g|(d|0)!=82)){if(!e|k[c+1|0]!=68){break d}j[b>>2]=n;e=j[j[a+128>>2]+48>>2];d=j[b+8>>2];qe[j[b+28>>2]](b);n:{c=j[b>>2];o:{if(c>>>0>=d>>>0|k[c|0]-48>>>0>9){break o}c=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((c|0)<0){break o}g=d;d=j[b>>2];if((c|0)<(g+(d^-1)|0)){break n}}c=3;if(e){break a}break f}j[b>>2]=(c+d|0)+1;e=0;if(!j[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|g)){if(!e|k[c+1|0]!=124){break d}j[b>>2]=n;e=j[j[a+128>>2]+48>>2];d=j[b+8>>2];qe[j[b+28>>2]](b);p:{c=j[b>>2];q:{if(c>>>0>=d>>>0|k[c|0]-48>>>0>9){break q}c=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((c|0)<0){break q}g=d;d=j[b>>2];if((c|0)<(g+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}j[b>>2]=(c+d|0)+1;e=0;if(!j[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=i>>>0){break d}g=c+1|0;j[b>>2]=g;qe[j[b+32>>2]](b);if(j[b+12>>2]){break b}e=0;c=j[b>>2];if(c>>>0>=i>>>0){break c}l=c-g|0;if(l-1>>>0>20){break c}r=k[g|0];c=91856;h=93560;while(1){d=c;r:{if(k[h|0]!=(r|0)){break r}if((Le(h)|0)!=(l|0)){break r}if(wg(g,h,l)){break r}c=j[b+372>>2];if(!(j[d+32>>2]&(c&1?2:1))){break c}if(c&2){if(we(h,93548)){break c}}h=j[a+528>>2];c=0;s:{if(!h){break s}c=j[h>>2]?h:0}g=b;l=j[d+8>>2];t:{if((l|0)==11){qe[j[d+12>>2]](a,b);c=j[b+12>>2];break t}u:{v:{w:{x:{y:{z:{A:{switch(j[d+4>>2]-2|0){case 1:j[f+12>>2]=m;if(c){break z}e=f+12|0;break v;case 2:j[f+12>>2]=p;e=f+12|0;if(!c){break v}e=c+212|0;break y;case 3:j[f+12>>2]=q;e=f+12|0;if(!c){break v}e=c+284|0;break y;case 4:j[f+12>>2]=b;e=f+12|0;break v;case 5:j[f+12>>2]=a;e=f+12|0;break v;case 6:j[f+12>>2]=h;e=f+12|0;c=0;break x;case 0:break w;default:break A}}j[f+12>>2]=m;e=f+12|0;break v}e=c+144|0}h=j[e>>2];c=j[c>>2]}if(h){break u}break g}j[f+12>>2]=o;e=f+12|0}c=0}if(l-9>>>0<=1){c=qe[j[b+68>>2]](b,d,e,c,0)|0;break t}c=qe[j[b+64>>2]](b,d,e,c,0)|0}j[g+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;h=j[d+36>>2];if(h){continue}break}break c}if(!Qe(c,91822,5)){break b}break d}e=0;j[b+12>>2]=0;break c}j[b+12>>2]=3;break a}B:{d=c+14|0;if((d|0)==(i|0)){break B}if(d>>>0>=i>>>0){break d}switch(k[c+13|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break B;default:break d}}if(Qe(c,91838,13)){break d}d=j[b+372>>2];if(d&1){j[b+372>>2]=d|2}j[b>>2]=c+13;break c}qe[j[b+32>>2]](b);e=0;if(j[b+12>>2]){break b}}qe[j[b+28>>2]](b);c=j[b>>2];if(i>>>0>c>>>0){continue}break}}c=j[b+12>>2]}oe=f+16|0;return c}function xk(a,b,c,d,e,f){var g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;m=oe+ -64|0;j[m+48>>2]=0;j[m+52>>2]=0;j[m+56>>2]=0;j[m+60>>2]=0;j[m+32>>2]=0;j[m+36>>2]=0;j[m+40>>2]=0;j[m+44>>2]=0;a:{b:{c:{d:{e:{if(c){while(1){o=(m+32|0)+(l[(p<<1)+b>>1]<<1)|0;i[o>>1]=l[o>>1]+1;p=p+1|0;if((p|0)!=(c|0)){continue}break}p=j[e>>2];q=15;v=l[m+62>>1];if(v){break d}break e}p=j[e>>2]}q=14;v=0;if(l[m+60>>1]){break d}q=13;if(l[m+58>>1]){break d}q=12;if(l[m+56>>1]){break d}q=11;if(l[m+54>>1]){break d}q=10;if(l[m+52>>1]){break d}q=9;if(l[m+50>>1]){break d}q=8;if(l[m+48>>1]){break d}q=7;if(l[m+46>>1]){break d}q=6;if(l[m+44>>1]){break d}q=5;if(l[m+42>>1]){break d}q=4;if(l[m+40>>1]){break d}q=3;if(l[m+38>>1]){break d}q=2;if(l[m+36>>1]){break d}if(!l[m+34>>1]){a=j[d>>2];j[d>>2]=a+4;i[a>>1]=320;i[a+2>>1]=0;a=j[d>>2];j[d>>2]=a+4;i[a>>1]=320;i[a+2>>1]=0;j[e>>2]=1;break b}r=(p|0)!=0;q=1;p=1;break c}r=p>>>0>q>>>0?q:p;g=1;p=1;while(1){if(l[(m+32|0)+(p<<1)>>1]){break c}p=p+1|0;if((q|0)!=(p|0)){continue}break}p=q}o=-1;t=l[m+34>>1];if(t>>>0>2){break a}u=l[m+36>>1];n=4-(u+(t<<1)|0)|0;if((n|0)<0){break a}w=l[m+38>>1];n=(n<<1)-w|0;if((n|0)<0){break a}x=l[m+40>>1];n=(n<<1)-x|0;if((n|0)<0){break a}z=l[m+42>>1];n=(n<<1)-z|0;if((n|0)<0){break a}A=l[m+44>>1];n=(n<<1)-A|0;if((n|0)<0){break a}D=l[m+46>>1];n=(n<<1)-D|0;if((n|0)<0){break a}E=l[m+48>>1];n=(n<<1)-E|0;if((n|0)<0){break a}B=l[m+50>>1];n=(n<<1)-B|0;if((n|0)<0){break a}G=l[m+52>>1];n=(n<<1)-G|0;if((n|0)<0){break a}H=l[m+54>>1];n=(n<<1)-H|0;if((n|0)<0){break a}s=l[m+56>>1];n=(n<<1)-s|0;if((n|0)<0){break a}C=l[m+58>>1];n=(n<<1)-C|0;if((n|0)<0){break a}F=l[m+60>>1];n=(n<<1)-F|0;if((n|0)<0){break a}n=(n<<1)-v|0;if((n|0)<0|(!a|g?n:0)){break a}o=0;i[m+2>>1]=0;i[m+4>>1]=t;g=t+u|0;i[m+6>>1]=g;g=g+w|0;i[m+8>>1]=g;g=g+x|0;i[m+10>>1]=g;g=g+z|0;i[m+12>>1]=g;g=g+A|0;i[m+14>>1]=g;g=g+D|0;i[m+16>>1]=g;g=g+E|0;i[m+18>>1]=g;g=g+B|0;i[m+20>>1]=g;g=g+G|0;i[m+22>>1]=g;g=g+H|0;i[m+24>>1]=g;g=g+s|0;i[m+26>>1]=g;g=g+C|0;i[m+28>>1]=g;i[m+30>>1]=g+F;if(c){while(1){g=l[(o<<1)+b>>1];if(g){g=(g<<1)+m|0;n=l[g>>1];i[g>>1]=n+1;i[(n<<1)+f>>1]=o}o=o+1|0;if((o|0)!=(c|0)){continue}break}}s=p>>>0>r>>>0?p:r;t=19;D=0;C=f;z=f;E=0;f:{g:{switch(a|0){case 1:o=1;if(s>>>0>9){break a}t=256;z=113726;C=113662;E=1;break f;case 0:break f;default:break g}}D=(a|0)==2;t=-1;z=114368;C=114304;if((a|0)!=2){break f}o=1;if(s>>>0>9){break a}}u=1<>2];x=0;g=s;r=0;n=-1;while(1){F=1<>1];a=0;i:{if((t|0)>(g|0)){break i}if((g|0)<=(t|0)){g=0;a=96;break i}a=g<<1;g=l[a+C>>1];a=k[a+z|0]}H=r>>>y|0;o=-1<>1]=g;h[B+1|0]=A;h[B|0]=a;if(c){continue}break}o=1<>>1|0;if(a&r){continue}break}c=(m+32|0)+(p<<1)|0;g=l[c>>1]-1|0;i[c>>1]=g;r=a?a+(a-1&r)|0:0;x=x+1|0;if(!(g&65535)){if((p|0)==(q|0)){break h}p=l[(l[(x<<1)+f>>1]<<1)+b>>1]}if(p>>>0<=s>>>0){continue}a=r&G;if((a|0)==(n|0)){continue}break}y=y?y:s;g=p-y|0;v=1<>>0>>0){c=q-y|0;o=p;j:{while(1){o=v-l[(m+32|0)+(o<<1)>>1]|0;if((o|0)<1){break j}v=o<<1;g=g+1|0;o=y+g|0;if(q>>>0>o>>>0){continue}break}g=c}v=1<>>0>852&E|u>>>0>592&D){break a}c=j[d>>2];o=c+(a<<2)|0;h[o+1|0]=s;h[o|0]=g;w=(F<<2)+w|0;i[o+2>>1]=w-c>>>2;n=a;continue}break}if(r){a=(r<<2)+w|0;i[a+2>>1]=0;h[a+1|0]=A;h[a|0]=64}j[d>>2]=j[d>>2]+(u<<2);j[e>>2]=s}o=0}return o}function Xf(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0;l=oe-112|0;oe=l;m=h;p=i&2147483647;n=c-(b>>>0<1)|0;k=b-1|0;r=(k|0)==-1&(n|0)==-1;t=d;q=(c|0)==(n|0)&b>>>0>k>>>0|c>>>0>n>>>0;o=d+q|0;n=e&2147483647;k=n;k=o>>>0>>0?k+1|0:k;q=o-1|0;a:{b:{k=k-(o>>>0<1)|0;if(!((q|0)==-1&(k|0)==2147418111?r:k>>>0>2147418111)){k=f;o=g-(k>>>0<1)|0;k=k-1|0;r=(k|0)!=-1|(o|0)!=-1;q=(g|0)==(o|0)&f>>>0>k>>>0|g>>>0>o>>>0;o=q+m|0;k=p;k=o>>>0>>0?k+1|0:k;q=o;o=o-1|0;k=k-(q>>>0<1)|0;if((o|0)==-1&(k|0)==2147418111?r:(k|0)==2147418111&(o|0)!=-1|k>>>0<2147418111){break b}}if(!(!t&(n|0)==2147418112?!(b|c):n>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!m&(p|0)==2147418112?!(f|g):p>>>0<2147418112)){i=i|32768;break a}if(!(b|t|(n^2147418112|c))){k=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:k;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|m|(p^2147418112|g))){break a}if(!(b|t|(c|n))){if(f|m|(g|p)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|m|(g|p)){break b}f=b;g=c;h=d;i=e;break a}r=(m|0)==(t|0)&(n|0)==(p|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:(n|0)==(p|0)&m>>>0>t>>>0|n>>>0

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

>>0)+f|0)|0;i=(q-((d>>>0>>0)+i|0)|0)-(e>>>0>o>>>0)|0;if(!(b|h|(c|i))){f=0;g=0;h=0;i=0;break a}if(i>>>0>524287){break d}f=b;d=!(h|i);e=d<<6;g=s(d?b:h)+32|0;b=s(d?c:i);b=e+((b|0)==32?g:b)|0;b=b-12|0;Of(l+32|0,f,c,h,i,b);m=m-b|0;h=j[l+40>>2];i=j[l+44>>2];b=j[l+32>>2];c=j[l+36>>2];break d}b=c;g=b+e|0;c=f+k|0;c=b>>>0>g>>>0?c+1|0:c;b=g;g=(c|0)==(f|0)&e>>>0>b>>>0|c>>>0>>0;e=d;f=d+h|0;d=i+q|0;d=e>>>0>f>>>0?d+1|0:d;e=g+f|0;h=e;i=h>>>0>>0?d+1|0:d;if(!(i&1048576)){break d}b=b&1|((c&1)<<31|b>>>1);c=h<<31|c>>>1;m=m+1|0;h=(i&1)<<31|h>>>1;i=i>>>1|0}k=0;p=t&-2147483648;if((m|0)>=32767){h=k;i=p|2147418112;f=0;g=0;break a}e=0;e:{if((m|0)>0){e=m;break e}Of(l+16|0,b,c,h,i,m+127|0);ni(l,b,c,h,i,1-m|0);b=j[l>>2]|((j[l+16>>2]|j[l+24>>2])!=0|(j[l+20>>2]|j[l+28>>2])!=0);c=j[l+4>>2];h=j[l+8>>2];i=j[l+12>>2]}t=(c&7)<<29|b>>>3;g=t;m=b&7;b=g+(m>>>0>4)|0;d=h<<29|c>>>3;c=b>>>0>>0?d+1|0:d;f=b;g=c;b=(d|0)==(c|0)&b>>>0>>0|c>>>0>>0;d=(i&7)<<29|h>>>3|k;b=b+d|0;k=p|i>>>3&65535|e<<16;h=b;i=b>>>0>>0?k+1|0:k;f:{if((m|0)==4){k=i;c=0;d=g+c|0;e=f&1;b=f+e|0;d=b>>>0>>0?d+1|0:d;f=b;g=d;c=(c|0)==(d|0)&b>>>0>>0|c>>>0>d>>>0;b=c+h|0;h=b;i=b>>>0>>0?k+1|0:k;break f}if(!m){break a}}}j[a>>2]=f;j[a+4>>2]=g;j[a+8>>2]=h;j[a+12>>2]=i;oe=l+112|0}function pF(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;k=oe-336|0;oe=k;a:{b:{if(d){r=j[c+1296>>2];o=j[j[j[b+64>>2]+4>>2]+28>>2];z=j[o+2848>>2];l=j[c+1284>>2];if((l|0)>=1){while(1){h=(g<<2)+d|0;i=j[h>>2];f=i&32767;c:{d:{switch(j[r+832>>2]-1|0){case 0:f=f>>>2|0;break c;case 1:f=f>>>3|0;break c;case 2:f=(f>>>0)/12|0;break c;case 3:break d;default:break c}}f=f>>>4|0}j[h>>2]=i&32768|f;g=g+1|0;if((l|0)!=(g|0)){continue}break}}f=j[d>>2];j[k+64>>2]=f;g=j[d+4>>2];j[k+68>>2]=g;if((l|0)>=3){t=r+836|0;i=2;while(1){g=i<<2;f=g+c|0;m=j[f+772>>2]<<2;n=m+d|0;w=j[f+1024>>2]<<2;y=w+d|0;u=j[y>>2]&32767;f=(j[n>>2]&32767)-u|0;h=f>>31;v=d+g|0;q=j[v>>2];x=h^f+h;h=j[t+w>>2];h=(p(x,j[g+t>>2]-h|0)|0)/(j[t+m>>2]-h|0)|0;f=u+((f|0)<0?0-h|0:h)|0;e:{if(!((q|0)!=(f|0)?!(q&32768):0)){j[v>>2]=f|32768;j[g+(k- -64|0)>>2]=0;break e}h=j[c+1292>>2]-f|0;h=(f|0)>(h|0)?h:f;m=g+(k- -64|0)|0;f=q-f|0;f:{if((f|0)<=-1){g=h+(f^-1)|0;if((f|0)<(0-h|0)){break f}g=f<<1^-1;break f}g=f+h|0;if((f|0)>=(h|0)){break f}g=f<<1}j[m>>2]=g;j[y>>2]=u;j[n>>2]=j[n>>2]&32767}i=i+1|0;if((l|0)!=(i|0)){continue}break}g=j[k+68>>2];f=j[k+64>>2]}u=1;cf(a,1,1);j[c+1308>>2]=j[c+1308>>2]+1;h=j[c+1292>>2]-1|0;j[c+1304>>2]=j[c+1304>>2]+((h?32-s(h)|0:0)<<1);h=f;f=j[c+1292>>2]-1|0;cf(a,h,f?32-s(f)|0:0);f=j[c+1292>>2]-1|0;cf(a,g,f?32-s(f)|0:0);if(j[r>>2]>=1){q=0;l=2;while(1){m=j[((q<<2)+r|0)+4>>2];w=(m<<2)+r|0;h=j[w+128>>2];t=j[w+192>>2];j[k+56>>2]=0;j[k+60>>2]=0;j[k+48>>2]=0;j[k+52>>2]=0;j[k+40>>2]=0;j[k+44>>2]=0;j[k+32>>2]=0;j[k+36>>2]=0;if(t){g=1<>2]=0;j[k+28>>2]=0;j[k+16>>2]=0;j[k+20>>2]=0;j[k+8>>2]=0;j[k+12>>2]=0;j[k>>2]=0;j[k+4>>2]=0;y=(t|0)==31;if(!y){n=(g|0)>1?g:1;f=0;while(1){v=f<<2;x=j[(v+((m<<5)+r|0)|0)+320>>2];i=1;g:{if((x|0)<0){break g}i=j[j[(o+(x<<2)|0)+1824>>2]+4>>2]}j[k+v>>2]=i;f=f+1|0;if((n|0)!=(f|0)){continue}break}}h:{if((h|0)<1){n=0;break h}v=(g|0)>1?g:1;i=0;f=0;n=0;while(1){g=f;i:{if(y){break i}x=j[(k- -64|0)+(i+l<<2)>>2];f=0;while(1){if(j[(f<<2)+k>>2]>(x|0)){j[(k+32|0)+(i<<2)>>2]=f;break i}f=f+1|0;if((v|0)!=(f|0)){continue}break}}f=g+t|0;n=j[(k+32|0)+(i<<2)>>2]<>2],56)|0,n,a)+j[c+1300>>2]|0,j[A+1300>>2]=B}f=0;if((h|0)>=1){while(1){g=j[(((m<<5)+r|0)+(j[(k+32|0)+(f<<2)>>2]<<2)|0)+320>>2];j:{if((g|0)<0){break j}i=j[(k- -64|0)+(f+l<<2)>>2];g=z+p(g,56)|0;if((i|0)>=j[g+4>>2]){break j}A=c,B=Tj(g,i,a)+j[c+1304>>2]|0,j[A+1304>>2]=B}f=f+1|0;if((h|0)!=(f|0)){continue}break}}l=h+l|0;q=q+1|0;if((q|0)>2]){continue}break}}g=p(j[r+832>>2],j[d>>2]);t=j[o+(j[b+28>>2]<<2)>>2]/2|0;f=0;if(j[c+1284>>2]<=1){a=0;break b}a=0;while(1){l=j[((u<<2)+c|0)+260>>2]<<2;h=j[l+d>>2];if(h>>>0<=32767){h=p(h,j[r+832>>2]);i=h-g|0;a=j[(l+r|0)+836>>2];l=a-f|0;n=(i|0)/(l|0)|0;q=(a|0)<(t|0)?a:t;if((q|0)>(f|0)){j[(f<<2)+e>>2]=g}f=f+1|0;if((q|0)>(f|0)){o=i>>31;m=o+i^o;o=p(l,n);o=m+((o|0)<0?o:0-o|0)|0;z=(i|0)>-1?1:-1;i=0;while(1){i=i+o|0;m=(i|0)<(l|0);g=(g+n|0)+(m?0:z)|0;j[(f<<2)+e>>2]=g;i=i-(m?0:l)|0;f=f+1|0;if((q|0)!=(f|0)){continue}break}}g=h;f=a}u=u+1|0;if((u|0)>2]){continue}break}break b}cf(a,0,1);Ee(e,0,j[b+36>>2]/2<<2);break a}f=1;if((j[b+36>>2]/2|0)<=(a|0)){break a}while(1){j[(a<<2)+e>>2]=g;a=a+1|0;if((a|0)<(j[b+36>>2]/2|0)){continue}break}}oe=k+336|0;return f}function vp(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=oe-32|0;oe=f;d=6;a:{if(!a|!b){break a}c=j[b>>2]-j[a+8>>2]|0;j[f+8>>2]=c;g=j[b+4>>2]-j[a+12>>2]|0;j[f+12>>2]=g;b:{c:{if(c|g){q=Gj(f+8|0);o=Gf(j[f+8>>2],j[f+12>>2]);c=o+5898240|0;of(f+8|0,j[a+60>>2],c);d:{if(k[a+20|0]){of(f+16|0,j[a+60>>2],c);i=j[a+12>>2];n=j[f+20>>2];e=j[a+8>>2];d=j[f+16>>2];c=j[a+84>>2];e:{if((c|0)<0){break e}g=j[a+64>>2];if(g>>>0<=c+1>>>0){j[a+64>>2]=c;break e}l=g-1|0;j[a+64>>2]=l;m=j[a+72>>2];p=m+(c<<3)|0;l=m+(l<<3)|0;m=j[l+4>>2];j[p>>2]=j[l>>2];j[p+4>>2]=m;c=c+j[a+76>>2]|0;h[c|0]=k[c|0]|4;c=(g+j[a+76>>2]|0)-2|0;h[c|0]=k[c|0]|8}i=i+n|0;n=e+d|0;c=j[a+64>>2];j[a+84>>2]=c;h[a+80|0]=0;f:{g:{if(!c){break g}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break g}if((j[g+4>>2]-i|0)+1>>>0<3){break f}}g=j[a+68>>2];j[f+28>>2]=0;d=c+1|0;h:{if(d>>>0<=g>>>0){e=j[a+76>>2];break h}e=j[a+88>>2];c=g;while(1){c=((c>>>1|0)+c|0)+16|0;if(d>>>0>c>>>0){continue}break}r=a,s=xe(e,8,g,c,j[a+72>>2],f+28|0),j[r+72>>2]=s;d=j[f+28>>2];if(d){break c}e=xe(e,1,g,c,j[a+76>>2],f+28|0);j[a+76>>2]=e;d=j[f+28>>2];if(d){break c}j[a+68>>2]=c;c=j[a+64>>2]}d=j[a+72>>2]+(c<<3)|0;j[d>>2]=n;j[d+4>>2]=i;h[c+e|0]=1;h[a+80|0]=0;j[a+64>>2]=j[a+64>>2]+1}i=j[a+12>>2];n=j[f+20>>2];e=j[a+8>>2];d=j[f+16>>2];c=j[a+116>>2];i:{if((c|0)<0){break i}g=j[a+96>>2];if(g>>>0<=c+1>>>0){j[a+96>>2]=c;break i}l=g-1|0;j[a+96>>2]=l;m=j[a+104>>2];p=m+(c<<3)|0;l=m+(l<<3)|0;m=j[l+4>>2];j[p>>2]=j[l>>2];j[p+4>>2]=m;c=c+j[a+108>>2]|0;h[c|0]=k[c|0]|4;c=(g+j[a+108>>2]|0)-2|0;h[c|0]=k[c|0]|8}i=i-n|0;n=e-d|0;c=j[a+96>>2];j[a+116>>2]=c;h[a+112|0]=0;j:{k:{if(!c){break k}g=j[a+104>>2]+(c-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break k}d=0;if((j[g+4>>2]-i|0)+1>>>0<3){break j}}g=j[a+100>>2];j[f+28>>2]=0;d=c+1|0;l:{m:{if(d>>>0<=g>>>0){e=j[a+108>>2];break m}e=j[a+120>>2];c=g;while(1){c=((c>>>1|0)+c|0)+16|0;if(d>>>0>c>>>0){continue}break}r=a,s=xe(e,8,g,c,j[a+104>>2],f+28|0),j[r+104>>2]=s;d=j[f+28>>2];if(d){break l}e=xe(e,1,g,c,j[a+108>>2],f+28|0);j[a+108>>2]=e;d=j[f+28>>2];if(d){break l}j[a+100>>2]=c;c=j[a+96>>2]}d=j[a+104>>2]+(c<<3)|0;j[d>>2]=n;j[d+4>>2]=i;h[c+e|0]=1;j[a+96>>2]=j[a+96>>2]+1;d=0}h[a+112|0]=0}j[a+36>>2]=q;h[a+20|0]=0;j[a+24>>2]=o;if(!d){break d}break a}j[a+4>>2]=o;c=Bf(j[a>>2],o);if(!c){break d}d=ki(a,c>>>31|0,q);if(d){break a}d=ji(a,(c^-1)>>>31|0,q);if(d){break a}}e=a- -64|0;c=j[f+12>>2];d=j[f+8>>2];i=1;while(1){n=i;g=j[b+4>>2]+c|0;m=j[b>>2]+d|0;n:{o:{if(k[e+16|0]){c=(j[e+8>>2]+(j[e>>2]<<3)|0)-8|0;j[c>>2]=m;j[c+4>>2]=g;break o}l=j[e>>2];p:{if(!l){break p}i=j[e+8>>2]+(l-1<<3)|0;if((j[i>>2]-m|0)+1>>>0>2){break p}if((j[i+4>>2]-g|0)+1>>>0<3){break n}}i=j[e+4>>2];j[f+16>>2]=0;d=l+1|0;q:{if(d>>>0<=i>>>0){i=j[e+12>>2];break q}l=j[e+24>>2];c=i;while(1){c=((c>>>1|0)+c|0)+16|0;if(d>>>0>c>>>0){continue}break}r=e,s=xe(l,8,i,c,j[e+8>>2],f+16|0),j[r+8>>2]=s;d=j[f+16>>2];if(d){break b}i=xe(l,1,i,c,j[e+12>>2],f+16|0);j[e+12>>2]=i;d=j[f+16>>2];if(d){break b}j[e+4>>2]=c;l=j[e>>2]}c=j[e+8>>2]+(l<<3)|0;j[c>>2]=m;j[c+4>>2]=g;h[i+l|0]=1;j[e>>2]=j[e>>2]+1}h[e+16|0]=1;c=j[f+12>>2];d=j[f+8>>2]}c=0-c|0;j[f+12>>2]=c;d=0-d|0;j[f+8>>2]=d;e=e+32|0;i=n-1|0;if(n){continue}break}j[a>>2]=o;c=j[b+4>>2];b=j[b>>2];j[a+16>>2]=q;j[a+8>>2]=b;j[a+12>>2]=c}d=0;break a}h[a+80|0]=0;break a}h[e+16|0]=1}oe=f+32|0;return d}function $u(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0,w=0;if(!(j[a+496>>2]?0:!j[a+492>>2])){Ze(a,98425);on(a)}a:{if((b|0)<=8){b=j[a+488>>2];b:{if((b|0)<1){b=1e5;break b}d=j[a+824>>2];c:{if(!d){break c}c=v(1e15/+(d|0)/+(b|0)+.5);d=c<=2147483647^1;if(r(c)<2147483648){b=~~c}else{b=-2147483648}if(d){break c}if(c>=-2147483648){break b}}b=0}e=gh(a,256);j[a+492>>2]=e;d:{if(b-95e3>>>0<10001){b=0;while(1){h[b+e|0]=b;b=b+1|0;if((b|0)!=256){continue}break}break d}l=+(b|0)*1e-5;b=0;while(1){g=b+e|0;e:{if(b-1>>>0<=253){c=v(vg(+(b|0)/255,l)*255+.5);if(c<4294967296&c>=0){d=~~c>>>0;break e}d=0;break e}d=b}h[g|0]=d;b=b+1|0;if((b|0)!=256){continue}break}}if(!(j[a+216>>2]&6291584)){break a}b=j[a+824>>2];e=gh(a,256);j[a+504>>2]=e;c=v(1e10/+(b|0)+.5);f=c>=-2147483648;b=0;if(r(c)<2147483648){d=~~c}else{d=-2147483648}d=c<=2147483647?f?d:0:0;f:{if(d-95e3>>>0<10001){while(1){h[b+e|0]=b;b=b+1|0;if((b|0)!=256){continue}break f}}l=+(d|0)*1e-5;while(1){g=b+e|0;g:{if(b-1>>>0<=253){c=v(vg(+(b|0)/255,l)*255+.5);if(c<4294967296&c>=0){d=~~c>>>0;break g}d=0;break g}d=b}h[g|0]=d;b=b+1|0;if((b|0)!=256){continue}break}}b=j[a+488>>2];h:{if((b|0)>=1){c=v(1e10/+(b|0)+.5);d=c>=-2147483648;if(r(c)<2147483648){b=~~c}else{b=-2147483648}b=c<=2147483647?d?b:0:0;break h}b=j[a+824>>2]}d=gh(a,256);j[a+500>>2]=d;if(b-95e3>>>0<10001){b=0;while(1){h[b+d|0]=b;b=b+1|0;if((b|0)!=256){continue}break}break a}l=+(b|0)*1e-5;b=0;while(1){g=b+d|0;i:{if(b-1>>>0<=253){c=v(vg(+(b|0)/255,l)*255+.5);if(c<4294967296&c>=0){a=~~c>>>0;break i}a=0;break i}a=b}h[g|0]=a;b=b+1|0;if((b|0)!=256){continue}break}break a}b=a;g=b;j:{if(k[b+435|0]&2){d=k[a+518|0];e=k[a+517|0];f=k[a+516|0];e=e>>>0>f>>>0?e:f;d=d>>>0>e>>>0?d:e;break j}d=k[a+519|0]}b=(d-1&255)>>>0<15?16-d|0:0;e=j[a+216>>2]&67109888;b=e?(b&255)>>>0<5?5:b:b;d=((b&255)>>>0<8?b:8)&255;j[g+484>>2]=d;b=j[a+488>>2];k:{l:{if(e){if((b|0)<1){c=1}else{c=v(+j[a+824>>2]*1e-5*+(b|0)+.5);e=c>=-2147483648;if(r(c)<2147483648){b=~~c}else{b=-2147483648}c=c<=2147483647?e?+(b|0)*1e-5:0:0}n=8-d|0;e=1<>2]=f;m=e>>>0>1?e:1;g=16-d|0;b=0;while(1){u=(b<<2)+f|0,w=gh(a,512),j[u>>2]=w;b=b+1|0;if((m|0)!=(b|0)){continue}break}o=255>>>d|0;s=-1<=0){g=~~l>>>0;break m}g=0}g=(p(g,s)+32768>>>0)/65535|0;if(g>>>0>=b>>>0){while(1){i[j[((b&o)<<2)+f>>2]+(b>>>n<<1)>>1]=q;t=(b|0)!=(g|0);b=b+1|0;if(t){continue}break}b=g+1|0}m=m+1|0;if((m|0)!=255){continue}break}break l}e=a+496|0;n:{if((b|0)<1){b=1e5;break n}f=j[a+824>>2];o:{if(!f){break o}c=v(1e15/+(f|0)/+(b|0)+.5);f=c<=2147483647^1;if(r(c)<2147483648){b=~~c}else{b=-2147483648}if(f){break o}if(c>=-2147483648){break n}}b=0}Hk(a,e,d,b);break k}e=e<<8;if(e>>>0<=b>>>0){break k}while(1){i[j[((b&o)<<2)+f>>2]+(b>>>n<<1)>>1]=65535;b=b+1|0;if((e|0)!=(b|0)){continue}break}}if(!(j[a+216>>2]&6291584)){break a}c=v(1e10/+j[a+824>>2]+.5);m=c>=-2147483648;b=a;g=b;n=b+512|0;e=d;if(r(c)<2147483648){f=~~c}else{f=-2147483648}Hk(g,n,e,c<=2147483647?m?f:0:0);g=a;e=b+508|0;f=j[b+488>>2];p:{if((f|0)>=1){c=v(1e10/+(f|0)+.5);f=c>=-2147483648;if(r(c)<2147483648){a=~~c}else{a=-2147483648}a=c<=2147483647?f?a:0:0;break p}a=j[a+824>>2]}Hk(g,e,d,a)}}function tq(a,b,c,d,e){var f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;k=oe-1088|0;oe=k;C=j[j[b+16>>2]>>2];v=j[b>>2];P=j[v+12>>2];D=j[v+8>>2];f=j[v>>2];m=j[v+4>>2];Ee(k+512|0,0,512);l=Ee(k,0,512);y=(m-f|0)/(D|0)|0;g=j[b+8>>2];if((g|0)>=1){Q=(y|0)<1;E=l+1072|0;while(1){if(!Q){r=0;L=(d|0)<1;R=L|(w|0)!=0;S=1<>2];g=j[f+(r<<2)>>2];i=1;if((C|0)>=2){while(1){g=p(g,P);m=i+r|0;if((m|0)<(y|0)){g=j[f+(m<<2)>>2]+g|0}i=i+1|0;if((C|0)!=(i|0)){continue}break}}f=j[b+16>>2];if(j[f+4>>2]>(g|0)){V=b,W=Tj(f,g,a)+j[b+36>>2]|0,j[V+36>>2]=W}k=k+1|0;if((k|0)!=(d|0)){continue}break}}a:{if((C|0)<1){break a}I=0;if((r|0)>=(y|0)){break a}while(1){if(!L){T=j[v>>2]+p(r,D)|0;F=0;while(1){f=F<<2;M=f+e|0;i=j[M>>2];N=r<<2;k=j[i+N>>2];if(!w){m=(k<<2)+l|0;j[m>>2]=j[m>>2]+D}k=k<<2;b:{if(!(j[(k+v|0)+24>>2]&S)){break b}s=j[j[k+j[b+20>>2]>>2]+(w<<2)>>2];if(!s){break b}J=j[s>>2];O=(D|0)/(J|0)|0;c:{if((O|0)<1){z=0;break c}U=j[c+f>>2]+(T<<2)|0;G=0;k=J;z=0;while(1){u=j[s+48>>2];x=j[s+52>>2];g=j[s+44>>2];K=l+1080|0;f=K;j[f>>2]=0;j[f+4>>2]=0;j[E>>2]=0;j[E+4>>2]=0;j[l+1064>>2]=0;j[l+1068>>2]=0;j[l+1056>>2]=0;j[l+1060>>2]=0;n=g>>1;t=(p(G,J)<<2)+U|0;d:{e:{f:{if((x|0)!=1){if((k|0)>=1){break f}o=0;break d}if((k|0)>=1){break e}o=0;break d}A=g-1|0;H=(x>>1)-u|0;f=0;m=k;o=0;while(1){m=m-1|0;B=m<<2;q=(H+j[B+t>>2]|0)/(x|0)|0;g:{if((q|0)<(n|0)){i=(n-q<<1)-1|0;break g}i=q-n<<1}j[B+(l+1056|0)>>2]=u+p(q,x);o=p(g,o)+((i|0)<0?0:(g|0)>(i|0)?i:A)|0;f=f+1|0;if((f|0)!=(k|0)){continue}break}break d}Ae(l+1056|0,t,k<<2);q=g-1|0;i=0;f=k;o=0;while(1){o=p(g,o);f=f-1|0;m=j[(f<<2)+t>>2]-u|0;h:{if((m|0)<(n|0)){m=(n-m<<1)-1|0;break h}m=m-n<<1}o=o+((m|0)<0?0:(g|0)>(m|0)?m:q)|0;i=i+1|0;if((i|0)!=(k|0)){continue}break}}H=j[j[s+12>>2]+8>>2];i:{if(h[H+o|0]>0){break i}q=l+1048|0;f=q;j[f>>2]=0;j[f+4>>2]=0;A=l+1040|0;f=A;j[f>>2]=0;j[f+4>>2]=0;j[l+1032>>2]=0;j[l+1036>>2]=0;j[l+1024>>2]=0;j[l+1028>>2]=0;B=j[s+4>>2];if((B|0)<1){break i}u=u+p(g-1|0,x)|0;f=-1;m=0;while(1){j:{if(h[m+H|0]<1){break j}i=0;g=0;if((k|0)>=1){while(1){n=i;i=g<<2;i=j[i+(l+1024|0)>>2]-j[i+t>>2]|0;i=n+p(i,i)|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}if((f|0)<=(i|0)?(f|0)!=-1:0){break j}f=j[q+4>>2];j[K>>2]=j[q>>2];j[K+4>>2]=f;f=j[A+4>>2];j[E>>2]=j[A>>2];j[E+4>>2]=f;f=j[l+1036>>2];j[l+1064>>2]=j[l+1032>>2];j[l+1068>>2]=f;f=j[l+1028>>2];j[l+1056>>2]=j[l+1024>>2];j[l+1060>>2]=f;o=m;f=i}i=0;g=l+1024|0;n=j[l+1024>>2];if((u|0)<=(n|0)){while(1){j[g>>2]=0;i=i+1|0;g=(l+1024|0)+(i<<2)|0;n=j[g>>2];if((u|0)<=(n|0)){continue}break}}if((n|0)>=0){n=n+x|0;j[g>>2]=n}j[g>>2]=0-n;m=m+1|0;if((B|0)!=(m|0)){continue}break}}k:{if((k|0)<1){break k}g=0;if((o|0)<0){break k}while(1){j[t>>2]=j[t>>2]-j[(l+1056|0)+(g<<2)>>2];t=t+4|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}z=Tj(s,o,a)+z|0;G=G+1|0;if((O|0)!=(G|0)){k=j[s>>2];continue}break}i=j[M>>2]}j[b+32>>2]=j[b+32>>2]+z;k=(l+512|0)+(j[i+N>>2]<<2)|0;j[k>>2]=j[k>>2]+z}F=F+1|0;if((F|0)!=(d|0)){continue}break}}r=r+1|0;I=I+1|0;if((I|0)>=(C|0)){break a}if((r|0)<(y|0)){continue}break}}if((r|0)<(y|0)){continue}break}g=j[b+8>>2]}w=w+1|0;if((w|0)<(g|0)){continue}break}}oe=l+1088|0}function qq(a,b,c){var d=0,e=0,f=0,g=0,i=0;e=oe-32|0;oe=e;a:{b:{if(!c){break b}d=j[c+4>>2];f=j[c>>2];j[e+20>>2]=f;j[e+8>>2]=0;j[e+12>>2]=0;j[e+24>>2]=d;j[e+16>>2]=f;f=Ce(e+8|0,8);g=e,i=Ce(e+8|0,8),h[g+2|0]=i;g=e,i=Ce(e+8|0,8),h[g+3|0]=i;g=e,i=Ce(e+8|0,8),h[g+4|0]=i;g=e,i=Ce(e+8|0,8),h[g+5|0]=i;g=e,i=Ce(e+8|0,8),h[g+6|0]=i;g=e,i=Ce(e+8|0,8),h[g+7|0]=i;d=-132;if(wg(e+2|0,198172,6)){break a}d=-133;c:{d:{switch(f-1|0){case 0:if(j[a+8>>2]|!j[c+8>>2]){break a}b=j[a+28>>2];if(!b){d=-129;break a}c=Ce(e+8|0,32);j[a>>2]=c;d=-134;if(c){break a}g=a,i=Ce(e+8|0,8),j[g+4>>2]=i;g=a,i=Ce(e+8|0,32),j[g+8>>2]=i;g=a,i=Ce(e+8|0,32),j[g+12>>2]=i;g=a,i=Ce(e+8|0,32),j[g+16>>2]=i;g=a,i=Ce(e+8|0,32),j[g+20>>2]=i;g=b,i=1<>2]=i;c=1<>2]=c;if(j[a+8>>2]<1|j[a+4>>2]<1|(c|0)>8192){break c}b=j[b>>2];if((b|0)<64|(b|0)>(c|0)){break c}d=0;if((Ce(e+8|0,1)|0)!=1){break c}break a;case 2:if(j[b+12>>2]|!j[a+8>>2]){break a}d=Ce(e+8|0,32);e:{if((d|0)<0|(j[e+24>>2]-8|0)<(d|0)){break e}c=bf(d+1|0,1);j[b+12>>2]=c;if(d){while(1){g=c,i=Ce(e+8|0,8),h[g|0]=i;c=c+1|0;d=d-1|0;if(d){continue}break}}a=Ce(e+8|0,32);if((a|0)<0|(a|0)>j[e+24>>2]-(j[e+8>>2]+((j[e+12>>2]+7|0)/8|0)|0)>>2){break e}j[b+8>>2]=a;c=a+1|0;g=b,i=bf(c,4),j[g>>2]=i;g=b,i=bf(c,4),j[g+4>>2]=i;if((a|0)>=1){a=0;while(1){d=Ce(e+8|0,32);if((d|0)<0|(j[e+24>>2]-(j[e+8>>2]+((j[e+12>>2]+7|0)/8|0)|0)|0)<(d|0)){break e}c=a<<2;j[c+j[b+4>>2]>>2]=d;f=bf(d+1|0,1);j[c+j[b>>2]>>2]=f;if(d){c=j[c+j[b>>2]>>2];while(1){g=c,i=Ce(e+8|0,8),h[g|0]=i;c=c+1|0;d=d-1|0;if(d){continue}break}}a=a+1|0;if((a|0)>2]){continue}break}}d=0;if((Ce(e+8|0,1)|0)==1){break a}}Zi(b);break b;case 4:break d;default:break a}}if(!j[a+8>>2]|!j[b+12>>2]){break a}b=j[a+28>>2];if(!b){d=-129;break a}c=0;if(j[b+24>>2]>0){break a}d=Ce(e+8|0,8);j[b+24>>2]=d+1;if((d|0)<0){break c}while(1){d=vF(e+8|0);j[(b+(c<<2)|0)+1824>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}c=0;d=Ce(e+8|0,6);if((d|0)<0){break c}while(1){if(Ce(e+8|0,16)){break c}f=(c|0)==(d|0);c=c+1|0;if(!f){continue}break}d=Ce(e+8|0,6);j[b+16>>2]=d+1;c=0;if((d|0)<0){break c}while(1){f=b+(c<<2)|0;d=Ce(e+8|0,16);j[f+800>>2]=d;if(d>>>0>1){break c}d=qe[j[j[(d<<2)+198148>>2]+4>>2]](a,e+8|0)|0;j[f+1056>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}d=Ce(e+8|0,6);j[b+20>>2]=d+1;c=0;if((d|0)<0){break c}while(1){f=b+(c<<2)|0;d=Ce(e+8|0,16);j[f+1312>>2]=d;if(d>>>0>2){break c}d=qe[j[j[(d<<2)+198156>>2]+4>>2]](a,e+8|0)|0;j[f+1568>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}d=Ce(e+8|0,6);j[b+12>>2]=d+1;c=0;if((d|0)<0){break c}while(1){d=b+(c<<2)|0;f=Ce(e+8|0,16);j[d+288>>2]=f;if(f){break c}f=d;d=qe[j[j[49542]+4>>2]](a,e+8|0)|0;j[f+544>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}c=Ce(e+8|0,6);j[b+8>>2]=c+1;d=0;if((c|0)<0){break c}while(1){c=b+(d<<2)|0;g=c,i=bf(1,16),j[g+32>>2]=i;f=Ce(e+8|0,1);j[j[c+32>>2]>>2]=f;f=Ce(e+8|0,16);j[j[c+32>>2]+4>>2]=f;f=Ce(e+8|0,16);j[j[c+32>>2]+8>>2]=f;f=Ce(e+8|0,8);c=j[c+32>>2];j[c+12>>2]=f;if(j[c+4>>2]>0|j[c+8>>2]>0|((f|0)<0|(f|0)>=j[b+12>>2])){break c}d=d+1|0;if((d|0)>2]){continue}break}d=0;if((Ce(e+8|0,1)|0)==1){break a}}Yi(a)}d=-133}oe=e+32|0;return d}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,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;n=oe-160|0;oe=n;a:{b:{if(Qe(a,9840,13)){break b}c:{switch(k[a+13|0]){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=j[e+32>>2];d:{e:{if(!c|!j[c+72>>2]){break e}a=j[c+128>>2];m=j[a+12>>2];a=j[a+4>>2];g=m+(1895527114%(a>>>0)<<2)|0;f=j[g>>2];if(!f){break e}b=(m+(a<<2)|0)-4|0;while(1){f:{a=j[f>>2];if(k[a|0]==70){if(!we(a,8551)){break f}}a=g-4|0;g=a>>>0>>0?b:a;f=j[g>>2];if(f){continue}break e}break}if(j[c+80>>2]){break d}}a=i[c+12>>1];j[c+40>>2]=a;j[n+16>>2]=a;Mj(n+32|0,n+16|0);f=Hh(j[e+32>>2],8551,n+32|0);if(f){break a}c=j[e+32>>2];i[c+278660>>1]=1}g:{h:{if(!j[c+72>>2]){break h}a=j[c+128>>2];m=j[a+12>>2];a=j[a+4>>2];g=m+(908209322%(a>>>0)<<2)|0;f=j[g>>2];if(!f){break h}b=(m+(a<<2)|0)-4|0;while(1){i:{a=j[f>>2];if(k[a|0]==70){if(!we(a,8563)){break i}}a=g-4|0;g=a>>>0>>0?b:a;f=j[g>>2];if(f){continue}break h}break}if(j[c+80>>2]){break g}}a=i[c+14>>1];j[c+44>>2]=a;j[n>>2]=a;Mj(n+32|0,n);f=Hh(j[e+32>>2],8563,n+32|0);if(f){break a}i[j[e+32>>2]+278660>>1]=1}j[e>>2]=j[e>>2]&-17;j[d>>2]=55;f=0;break a}j:{if(Qe(a,9854,21)){break j}switch(k[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break j}}k:{if(Qe(a,7148,7)){break k}f=a+7|0;l:{switch(k[a+7|0]){case 9:case 10:case 13:case 32:h[a+7|0]=0;f=a+8|0;break;case 0:break l;default:break k}}f=Hh(j[e+32>>2],a,f);break a}o=j[e+32>>2];f=a;m:{while(1){n:{c=-1;o:{p:{d=k[f|0];switch(d|0){case 0:break m;case 9:break n;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break o;default:break p}}if((d|0)==32){break n}}f=f+1|0;continue}break}h[f|0]=0;c=d}q:{if(!a){break q}q=k[a|0];if(!q){break q}r=j[o+278688>>2];g=q;d=a;while(1){l=p(l,31)+(g<<24>>24)|0;g=k[d+1|0];d=d+1|0;if(g){continue}break}d=l;l=j[o+278680>>2];d=((d>>>0)%(l>>>0)<<2)+r|0;g=j[d>>2];if(!g){break q}t=((l<<2)+r|0)-4|0;while(1){r:{l=j[g>>2];if(k[l|0]==(q|0)){if(!we(l,a)){break r}}d=d-4|0;d=d>>>0>>0?t:d;g=j[d>>2];if(g){continue}break q}break}d=j[g+4>>2];if(d>>>0>=83){s=(j[o+278668>>2]+(d<<4)|0)-1328|0;break q}s=(d<<4)+7168|0}if((c|0)!=-1){h[f|0]=c;m=c}if(!(j[s+4>>2]!=1?s:0)){if(m&255){h[f|0]=0;f=f+1|0}d=a+b|0;while(1){b=k[f|0];if(!((b|0)!=9?(b|0)!=32:0)){f=f+1|0;continue}break}b=(b|0)==34?f+1|0:f;s:{if(b>>>0>=d>>>0){break s}while(1){t:{u:{d=d-1|0;switch(k[d|0]-9|0){case 25:break t;case 0:case 23:break u;default:break s}}h[d|0]=0;if(b>>>0>>0){continue}break s}break}h[d|0]=0}f=Hh(j[e+32>>2],a,b);break a}m=e+139304|0;f=jg(m,8512,a,b);if(f){break a}d=j[e+139304>>2];c=j[d>>2];a=0;v:{w:{x:{b=j[e+139312>>2];switch(b|0){case 0:break v;case 1:break w;default:break x}}j[d>>2]=j[d+4>>2];f=1;l=b-1|0;if((l|0)!=1){g=1;while(1){b=j[m>>2];g=g+1|0;j[b+(f<<2)>>2]=j[b+(g<<2)>>2];f=f+1|0;if((l|0)!=(f|0)){continue}break}}j[e+139312>>2]=l;if(!l){break v}g=0;b=j[j[m>>2]>>2];f=b;while(1){d=k[f|0];if(d){while(1){h[b+g|0]=d;g=g+1|0;d=k[f+1|0];f=f+1|0;if(d){continue}break}l=j[e+139312>>2]}a=a+1|0;if(l>>>0>a>>>0){h[b+g|0]=32;l=j[e+139312>>2];g=g+1|0}if(a>>>0>>0){f=j[j[m>>2]+(a<<2)>>2];continue}break}a=9633;if((b|0)==9633){break v}h[b+g|0]=0;a=b;break v}j[e+139312>>2]=0}f=Hh(j[e+32>>2],c,a)}oe=n+160|0;return f|0}function Hp(a,b,c,d,e){var f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0;q=oe-16|0;oe=q;a:{b:{c:{d:{e:{f:{if(b>>>0<=36){while(1){f=j[a+4>>2];g:{if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break g}f=ff(a)}if((f|0)==32|f-9>>>0<5){continue}break}h:{i:{switch(f-43|0){case 0:case 2:break i;default:break h}}r=(f|0)==45?-1:0;f=j[a+4>>2];if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break h}f=ff(a)}j:{if(!(b&-17|(f|0)!=48)){f=j[a+4>>2];k:{if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break k}f=ff(a)}if((f&-33)==88){b=16;f=j[a+4>>2];l:{if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break l}f=ff(a)}if(k[f+227617|0]<16){break e}if(!j[a+104>>2]){d=0;e=0;if(c){break a}break b}b=j[a+4>>2];j[a+4>>2]=b-1;if(!c){break b}j[a+4>>2]=b-2;d=0;e=0;break a}if(b){break j}b=8;break e}b=b?b:10;if(b>>>0>k[f+227617|0]){break j}if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}d=0;e=0;kg(a,0,0);j[67100]=28;break a}if((b|0)!=10){break e}c=f-48|0;if(c>>>0<=9){b=0;while(1){b=p(b,10)+c|0;c=j[a+4>>2];m:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break m}f=ff(a)}c=f-48|0;if(b>>>0<429496729?c>>>0<=9:0){continue}break}g=b}if(c>>>0>9){break f}i=gP(g,0,10,0);b=pe;while(1){f=c+i|0;l=f>>>0>>0?b+1|0:b;g=f;i=(l|0)==429496729&f>>>0>=2576980378|l>>>0>429496729;b=j[a+4>>2];n:{if(b>>>0>2]){j[a+4>>2]=b+1;f=k[b|0];break n}f=ff(a)}c=f-48|0;if(i|c>>>0>9){break f}i=gP(g,l,10,0);b=pe;if((b|0)==-1&(c^-1)>>>0>=i>>>0|(b|0)!=-1){continue}break}b=10;break d}j[67100]=28;d=0;e=0;break a}b=10;if(c>>>0<=9){break d}break c}if(b-1&b){c=k[f+227617|0];if(c>>>0>>0){while(1){i=p(b,i)+c|0;g=i>>>0<=119304646;c=j[a+4>>2];o:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break o}f=ff(a)}c=k[f+227617|0];if(c>>>0>>0?g:0){continue}break}g=i}if(b>>>0<=c>>>0){break d}i=b;while(1){n=gP(g,l,i,0);o=pe;c=c&255;if((o|0)==-1&(c^-1)>>>0>>0){break d}l=o;f=c+n|0;l=f>>>0>>0?l+1|0:l;g=f;o=b;c=j[a+4>>2];p:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break p}f=ff(a)}c=k[f+227617|0];if(o>>>0<=c>>>0){break d}ug(q,i,0,g,l);if(!(j[q+8>>2]|j[q+12>>2])){continue}break}break d}o=h[(p(b,23)>>>5&7)+227873|0];c=k[f+227617|0];if(c>>>0>>0){while(1){i=i<>>0<=134217727;c=j[a+4>>2];q:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break q}f=ff(a)}c=k[f+227617|0];if(c>>>0>>0?g:0){continue}break}g=i}i=o;n=i&31;if((i&63)>>>0>=32){o=0;n=-1>>>n|0}else{o=-1>>>n|0;n=(1<>>n}if(!o&g>>>0>n>>>0|b>>>0<=c>>>0){break d}while(1){s=c&255;c=i;f=c&31;if((c&63)>>>0>=32){l=g<>>32-f|l<>2];r:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break r}f=ff(a)}if((l|0)==(o|0)&g>>>0>n>>>0|l>>>0>o>>>0){break d}c=k[f+227617|0];if(c>>>0>>0){continue}break}}if(k[f+227617|0]>=b>>>0){break c}while(1){f=j[a+4>>2];s:{if(f>>>0>2]){j[a+4>>2]=f+1;c=k[f|0];break s}c=ff(a)}if(k[c+227617|0]>>0){continue}break}j[67100]=68;r=d&1?0:r;g=d;l=e}if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}t:{if((e|0)==(l|0)&d>>>0>g>>>0|e>>>0>l>>>0){break t}if(!(r|d&1)){j[67100]=68;a=d;d=a-1|0;e=e-(a>>>0<1)|0;break a}if((e|0)==(l|0)&d>>>0>=g>>>0|e>>>0>l>>>0){break t}j[67100]=68;break a}a=r;b=a^g;d=b-a|0;c=a>>31;e=(c^l)-((a>>>0>b>>>0)+c|0)|0;break a}d=0;e=0;kg(a,0,0)}oe=q+16|0;pe=e;return d}function Fh(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;i=oe-48|0;oe=i;f=j[a+11748>>2]==2;h=f?a+11760|0:a+11776|0;o=j[h+4>>2];s=1;l=j[h>>2];m=j[c>>2];g=j[c+4>>2];a:{if(!((l|0)!=(m|0)|(g|0)!=(o|0))){d=0;break a}k=j[d>>2];f=f?a+11752|0:a+11768|0;p=j[f+4>>2];q=j[f>>2];r=(l-q|0)+16>>5;l=j[d+4>>2];d=(l-g|0)+16>>5;t=(o-p|0)+16>>5;o=(k-m|0)+16>>5;r=ye(r,d)-ye(t,o)|0;if(!r){d=0;break a}n=De(ye((m-q|0)+16>>5,d)-ye((g-p|0)+16>>5,o)|0,r);d=j[f>>2];d=ye(n,j[h>>2]-d|0)+d|0;o=j[f+4>>2];m=ye(n,j[h+4>>2]-o|0);n=j[f>>2];p=j[h>>2];if((n|0)==(p|0)){q=d-n|0;g=q>>31;d=j[a+11700>>2]>(g^g+q)?n:d}n=m+o|0;f=j[f+4>>2];o=j[h+4>>2];if((f|0)==(o|0)){m=n-f|0;g=m>>31;n=j[a+11700>>2]>(g^g+m)?f:n}g=j[c>>2];if((g|0)==(k|0)){m=d-k|0;f=m>>31;d=j[a+11700>>2]>(f^f+m)?k:d}k=j[c+4>>2];if((k|0)==(l|0)){m=n-l|0;f=m>>31;n=j[a+11700>>2]>(f^f+m)?l:n}g=((g+p|0)/-2|0)+d|0;f=g>>31;f=f^f+g;g=j[a+11696>>2];if((f|0)>(g|0)){break a}k=((k+o|0)/-2|0)+n|0;f=k>>31;if((g|0)<(f^f+k)){break a}f=h;j[f>>2]=d;j[f+4>>2]=n;s=0}k=j[a+11732>>2];f=k;h=j[a+11728>>2];j[i+8>>2]=h;j[i+12>>2]=f;b:{c:{switch(j[a+11748>>2]-2|0){case 0:k=h;j[i+40>>2]=2;d:{if(e){l=j[a+11764>>2];g=ye(j[a+11644>>2],j[a+11760>>2])+ye(j[a+11648>>2],l)|0;l=Lg(a+3876|0,l);break d}l=j[a+11764>>2];g=ye(j[a+11644>>2],j[a+11760>>2])+ye(j[a+11648>>2],l)|0;l=Lg(b,l)}o=ye(j[j[a>>2]+60>>2],g);m=ye(j[j[a>>2]+68>>2],l);p=j[a+11656>>2];g=(ye(j[j[a>>2]- -64>>2],g)+ye(j[j[a>>2]+72>>2],l)|0)+j[a+11660>>2]|0;j[i+20>>2]=g;l=p+(m+o|0)|0;j[i+16>>2]=l;if((f|0)==(g|0)?(k|0)==(l|0):0){break b}h=j[a+4>>2];qe[j[h+4>>2]](h,i+8|0);h=j[i+20>>2];j[a+11728>>2]=j[i+16>>2];j[a+11732>>2]=h;break b;case 2:break c;default:break b}}j[i+40>>2]=4;h=j[a+11764>>2];f=ye(j[a+11644>>2],j[a+11760>>2]);k=ye(j[a+11648>>2],h);h=Lg(b,h);f=f+k|0;u=i,v=(ye(j[j[a>>2]+60>>2],f)+ye(j[j[a>>2]+68>>2],h)|0)+j[a+11656>>2]|0,j[u+16>>2]=v;f=ye(j[j[a>>2]- -64>>2],f)+ye(j[j[a>>2]+72>>2],h)|0;h=a+11660|0;j[i+20>>2]=f+j[h>>2];f=j[a+11772>>2];k=ye(j[a+11644>>2],j[a+11768>>2]);g=ye(j[a+11648>>2],f);f=Lg(b,f);k=g+k|0;u=i,v=(ye(j[j[a>>2]+60>>2],k)+ye(j[j[a>>2]+68>>2],f)|0)+j[a+11656>>2]|0,j[u+24>>2]=v;u=i,v=(ye(j[j[a>>2]- -64>>2],k)+ye(j[j[a>>2]+72>>2],f)|0)+j[h>>2]|0,j[u+28>>2]=v;f=j[a+11780>>2];k=ye(j[a+11644>>2],j[a+11776>>2]);g=ye(j[a+11648>>2],f);f=Lg(b,f);k=g+k|0;u=i,v=(ye(j[j[a>>2]+60>>2],k)+ye(j[j[a>>2]+68>>2],f)|0)+j[a+11656>>2]|0,j[u+32>>2]=v;u=i,v=(ye(j[j[a>>2]- -64>>2],k)+ye(j[j[a>>2]+72>>2],f)|0)+j[h>>2]|0,j[u+36>>2]=v;h=j[a+4>>2];qe[j[h+12>>2]](h,i+8|0);h=j[i+36>>2];j[a+11728>>2]=j[i+32>>2];j[a+11732>>2]=h}e:{if(s^1?!e:0){break e}f:{if(e){b=j[c+4>>2];g=ye(j[a+11644>>2],j[c>>2])+ye(j[a+11648>>2],b)|0;b=Lg(a+3876|0,b);break f}e=j[c+4>>2];g=ye(j[a+11644>>2],j[c>>2])+ye(j[a+11648>>2],e)|0;b=Lg(b,e)}u=i,v=(ye(j[j[a>>2]+60>>2],g)+ye(j[j[a>>2]+68>>2],b)|0)+j[a+11656>>2]|0,j[u+16>>2]=v;b=(ye(j[j[a>>2]- -64>>2],g)+ye(j[j[a>>2]+72>>2],b)|0)+j[a+11660>>2]|0;j[i+20>>2]=b;if((b|0)==j[a+11732>>2]?j[i+16>>2]==j[a+11728>>2]:0){break e}j[i+40>>2]=2;b=j[a+11732>>2];j[i+8>>2]=j[a+11728>>2];j[i+12>>2]=b;b=j[a+4>>2];qe[j[b+4>>2]](b,i+8|0);b=j[i+20>>2];j[a+11728>>2]=j[i+16>>2];j[a+11732>>2]=b}if(!s){j[c>>2]=d;j[c+4>>2]=n}oe=i+48|0}function oq(a,b,c,d,e,f,g,h,i,l,m,n,o){var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;p=oe-112|0;oe=p;j[p+104>>2]=h;j[p+108>>2]=i;j[p+88>>2]=-1;j[p+92>>2]=-1;w=j[a+456>>2];a:{b:{c:{z=!m|!n;if(z){break c}q=n;t=m;while(1){if(j[t>>2]!=(l|0)){t=t+4|0;q=q-1|0;if(q){continue}break c}break}if((l|0)!=(w|0)){s=f;r=g;while(1){j[p+100>>2]=w;s=Rl(a,s,r,m,n,p+100|0,p+104|0);r=pe;if(j[p+100>>2]!=(w|0)){continue}break}}e=o+1|0;j[a+52>>2]=e;d=j[a+56>>2];if(d){ze(d)}d=j[a+64>>2];if(d){ze(d)}d=j[a+60>>2];if(d){ze(d)}d=j[a+52>>2];C=a,D=Se((d<<3)+8|0),j[C+56>>2]=D;C=a,D=Vf(j[a+72>>2],d<<5),j[C+72>>2]=D;C=a,D=Vf(j[a+76>>2],j[a+52>>2]<<4),j[C+76>>2]=D;d=j[a+52>>2];C=a,D=Se(d<<2),j[C+64>>2]=D;C=a,D=Se(d<<3),j[C+60>>2]=D;d=Se(d<<4);j[a+68>>2]=d;a=j[a+56>>2];e=a+(e<<3)|0;j[e>>2]=f;j[e+4>>2]=g;a=a+(o<<3)|0;j[a>>2]=b;j[a+4>>2]=c;b=d+(o<<4|8)|0;a=j[p+104>>2];d=a;c=!!a;a=j[p+108>>2];c=(a|0)>0?1:(a|0)>=0?c:0;j[b>>2]=c?d:0;j[b+4>>2]=c?a:0;break b}j[p+68>>2]=0;j[p+64>>2]=0;b=f;c=g;d:{if((c|0)>(e|0)?1:(e|0)<=(c|0)?d>>>0>>0:0){A=a+24|0;u=f;y=g;while(1){r=e;q=u;s=d;t=y-(e+(q>>>0>>0)|0)|0;if((t|0)>0?1:(t|0)>=0?q-d>>>0>=65536:0){s=e+y|0;r=u;q=r+d|0;s=hP(q,q>>>0>>0?s+1|0:s,2);r=pe}t=0;v=j[a>>2];if(!v){q=-129;break d}if(j[a+8>>2]!=(s|0)|j[a+12>>2]!=(r|0)){q=-128;x=j[a+708>>2];if(!x){break d}if((qe[x|0](v,s,r,0)|0)==-1){break d}j[a+8>>2]=s;j[a+12>>2]=r;if(j[A+4>>2]>=0){q=A;j[q+8>>2]=0;j[q+12>>2]=0;j[q+24>>2]=0;j[q+16>>2]=0;j[q+20>>2]=0}}x=Pf(a,p+72|0,-1,-1);q=pe;v=q;if((x|0)==-128&(q|0)==-1){q=-128;break d}e:{f:{if((v|0)<0){break f}q=j[p+72>>2];B=k[q+14|0]|k[q+15|0]<<8|(k[q+16|0]<<16|k[q+17|0]<<24);q=n;t=m;if(z){break f}while(1){if((B|0)!=j[t>>2]){t=t+4|0;q=q-1|0;if(q){continue}break f}break}d=j[a+8>>2];e=j[a+12>>2];s=u;r=y;break e}u=(v|0)>-1;b=u?x:b;c=u?v:c;u=s;y=r}if((e|0)<(r|0)?1:(e|0)<=(r|0)?d>>>0>>0:0){continue}break}}s=b;r=c;while(1){j[p+12>>2]=w;s=Rl(a,s,r,m,n,p+12|0,p+88|0);r=pe;if(j[p+12>>2]!=(w|0)){continue}break}t=0;d=j[a>>2];if(!d){q=-129;break d}if(j[a+8>>2]!=(b|0)|j[a+12>>2]!=(c|0)){q=-128;e=j[a+708>>2];if(!e){break d}if((qe[e|0](d,b,c,0)|0)==-1){break d}j[a+8>>2]=b;j[a+12>>2]=c;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}q=Sl(a,p+32|0,p+16|0,p+68|0,p- -64|0,0);if(q){break d}n=j[a+8>>2];r=j[a+12>>2];s=j[a+456>>2];d=pq(a,p+32|0);m=pe;e=o+1|0;q=oq(a,b,c,j[a+8>>2],j[a+12>>2],f,g,h,i,l,j[p+68>>2],j[p+64>>2],e);if(q){break d}f=j[p+68>>2];if(f){ze(f)}f=e<<3;g=f+j[a+56>>2]|0;j[g>>2]=b;j[g+4>>2]=c;j[j[a+64>>2]+(e<<2)>>2]=s;b=f+j[a+60>>2]|0;j[b>>2]=n;j[b+4>>2]=r;f=j[p+36>>2];b=j[a+72>>2]+(e<<5)|0;j[b>>2]=j[p+32>>2];j[b+4>>2]=f;c=j[p+60>>2];j[b+24>>2]=j[p+56>>2];j[b+28>>2]=c;c=j[p+52>>2];j[b+16>>2]=j[p+48>>2];j[b+20>>2]=c;c=j[p+44>>2];j[b+8>>2]=j[p+40>>2];j[b+12>>2]=c;b=j[a+76>>2]+(e<<4)|0;e=j[p+20>>2];j[b>>2]=j[p+16>>2];j[b+4>>2]=e;c=j[p+28>>2];j[b+8>>2]=j[p+24>>2];j[b+12>>2]=c;e=j[p+92>>2];a=j[a+68>>2];b=o<<4;c=a+(b|8)|0;j[c>>2]=j[p+88>>2];j[c+4>>2]=e;a=a+b|0;j[a+16>>2]=d;j[a+20>>2]=m;c=j[a+24>>2];b=j[a+28>>2]-((d>>>0>c>>>0)+m|0)|0;c=c-d|0;d=c;c=(b|0)>0?1:(b|0)>=0?!!c:0;j[a+24>>2]=c?d:0;j[a+28>>2]=c?b:0;t=1}if(!t){break a}}q=0}oe=p+112|0;return q}function ze(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;a:{if(!a){break a}d=a-8|0;b=j[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=j[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=j[d+8>>2];b=b>>>3|0;c=j[d+12>>2];if((c|0)==(e|0)){i=268512,k=j[67128]&lP(-2,b),j[i>>2]=k;break b}j[e+12>>2]=c;j[c+8>>2]=e;break b}h=j[d+24>>2];b=j[d+12>>2];c:{if((d|0)!=(b|0)){c=j[d+8>>2];j[c+12>>2]=b;j[b+8>>2]=c;break c}d:{e=d+20|0;c=j[e>>2];if(c){break d}e=d+16|0;c=j[e>>2];if(c){break d}b=0;break c}while(1){g=e;b=c;e=b+20|0;c=j[e>>2];if(c){continue}e=b+16|0;c=j[b+16>>2];if(c){continue}break}j[g>>2]=0}if(!h){break b}e=j[d+28>>2];c=(e<<2)+268816|0;e:{if(j[c>>2]==(d|0)){j[c>>2]=b;if(b){break e}i=268516,k=j[67129]&lP(-2,e),j[i>>2]=k;break b}j[h+(j[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}j[b+24>>2]=h;c=j[d+16>>2];if(c){j[b+16>>2]=c;j[c+24>>2]=b}c=j[d+20>>2];if(!c){break b}j[b+20>>2]=c;j[c+24>>2]=b;break b}b=j[f+4>>2];if((b&3)!=3){break b}j[67130]=a;j[f+4>>2]=b&-2;j[d+4>>2]=a|1;j[a+d>>2]=a;return}if(d>>>0>=f>>>0){break a}b=j[f+4>>2];if(!(b&1)){break a}f:{if(!(b&2)){if(j[67134]==(f|0)){j[67134]=d;a=j[67131]+a|0;j[67131]=a;j[d+4>>2]=a|1;if(j[67133]!=(d|0)){break a}j[67130]=0;j[67133]=0;return}if(j[67133]==(f|0)){j[67133]=d;a=j[67130]+a|0;j[67130]=a;j[d+4>>2]=a|1;j[a+d>>2]=a;return}a=(b&-8)+a|0;g:{if(b>>>0<=255){c=j[f+8>>2];b=b>>>3|0;e=j[f+12>>2];if((c|0)==(e|0)){i=268512,k=j[67128]&lP(-2,b),j[i>>2]=k;break g}j[c+12>>2]=e;j[e+8>>2]=c;break g}h=j[f+24>>2];b=j[f+12>>2];h:{if((f|0)!=(b|0)){c=j[f+8>>2];j[c+12>>2]=b;j[b+8>>2]=c;break h}i:{e=f+20|0;c=j[e>>2];if(c){break i}e=f+16|0;c=j[e>>2];if(c){break i}b=0;break h}while(1){g=e;b=c;e=b+20|0;c=j[e>>2];if(c){continue}e=b+16|0;c=j[b+16>>2];if(c){continue}break}j[g>>2]=0}if(!h){break g}e=j[f+28>>2];c=(e<<2)+268816|0;j:{if(j[c>>2]==(f|0)){j[c>>2]=b;if(b){break j}i=268516,k=j[67129]&lP(-2,e),j[i>>2]=k;break g}j[h+(j[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}j[b+24>>2]=h;c=j[f+16>>2];if(c){j[b+16>>2]=c;j[c+24>>2]=b}c=j[f+20>>2];if(!c){break g}j[b+20>>2]=c;j[c+24>>2]=b}j[d+4>>2]=a|1;j[a+d>>2]=a;if(j[67133]!=(d|0)){break f}j[67130]=a;return}j[f+4>>2]=b&-2;j[d+4>>2]=a|1;j[a+d>>2]=a}if(a>>>0<=255){a=a>>>3|0;b=(a<<3)+268552|0;c=j[67128];a=1<>2]}j[b+8>>2]=d;j[a+12>>2]=d;j[d+12>>2]=b;j[d+8>>2]=a;return}e=31;j[d+16>>2]=0;j[d+20>>2]=0;if(a>>>0<=16777215){b=a>>>8|0;g=b+1048320>>>16&8;b=b<>>16&4;b=b<>>16&2;b=(b<>>15|0)-(c|(e|g))|0;e=(b<<1|a>>>b+21&1)+28|0}j[d+28>>2]=e;g=(e<<2)+268816|0;l:{m:{c=j[67129];b=1<>2]=d;j[d+24>>2]=g;break n}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=j[g>>2];while(1){c=b;if((j[b+4>>2]&-8)==(a|0)){break m}b=e>>>29|0;e=e<<1;g=c+(b&4)|0;b=j[g+16>>2];if(b){continue}break}j[g+16>>2]=d;j[d+24>>2]=c}j[d+12>>2]=d;j[d+8>>2]=d;break l}a=j[c+8>>2];j[a+12>>2]=d;j[c+8>>2]=d;j[d+24>>2]=0;j[d+12>>2]=c;j[d+8>>2]=a}a=j[67136]-1|0;j[67136]=a;if(a){break a}d=268968;while(1){a=j[d>>2];d=a+8|0;if(a){continue}break}j[67136]=-1}}function AE(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0;g=oe;q=g;j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;f=j[b+4>>2];if((f|0)>=1){i=j[b+8>>2];while(1){e=(h[c+i|0]>0)+e|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}j[a+8>>2]=e;j[a+4>>2]=f;j[a>>2]=j[b>>2];if(e){p=EE(j[b+8>>2],f,e);l=e<<2;o=g-(l+15&-16)|0;i=o;oe=i;if(p){g=0;while(1){c=g<<2;f=c+p|0;d=j[f>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d>>>4&252645135|d<<4&-252645136;d=d>>>2&858993459|d<<2&-858993460;j[f>>2]=d>>>1&1431655765|d<<1&-1431655766;j[c+o>>2]=f;g=g+1|0;if((g|0)!=(e|0)){continue}break}eg(o,e,4,1055);n=i-(l+15&-16)|0;oe=n;g=Se(l);j[a+20>>2]=g;d=e>>>0>1?e:1;c=0;while(1){j[n+(j[o+(c<<2)>>2]-p|0)>>2]=c;c=c+1|0;if((d|0)!=(c|0)){continue}break}i=e>>>0>1?e:1;c=0;while(1){d=c<<2;j[g+(j[d+n>>2]<<2)>>2]=j[d+p>>2];c=c+1|0;if((i|0)!=(c|0)){continue}break}ze(p);t=a,u=CE(b,e,n),j[t+16>>2]=u;l=Se(l);j[a+24>>2]=l;f=0;e=0;g=j[b+4>>2];i=(g|0)<1;if(!i){d=j[b+8>>2];c=0;while(1){if(h[c+d|0]>=1){j[l+(j[n+(e<<2)>>2]<<2)>>2]=c;e=e+1|0}c=c+1|0;if((g|0)!=(c|0)){continue}break}}d=Se(e);j[a+40>>2]=0;j[a+28>>2]=d;a:{if(i){break a}e=j[b+8>>2];d=0;c=0;while(1){i=h[c+e|0];b:{if((i|0)<1){break b}h[j[a+28>>2]+j[n+(f<<2)>>2]|0]=i;f=f+1|0;e=j[b+8>>2];d=h[e+c|0];i=j[a+40>>2];if((d|0)<=(i|0)){d=i;break b}j[a+40>>2]=d}c=c+1|0;if((c|0)>2]){continue}break}if((f|0)!=1){break a}f=1;if((d|0)!=1){break a}j[a+36>>2]=1;b=a;a=bf(2,4);j[b+32>>2]=a;j[a>>2]=1;j[a+4>>2]=1;oe=q;return 0}g=0;b=j[a+8>>2];b=b?32-s(b)|0:0;b=b>>>0<9?5:b-4|0;k=(b|0)<8?b:8;j[a+36>>2]=k;n=1<>2]=r;if((f|0)>=1){o=j[a+28>>2];d=0;while(1){l=d+o|0;e=h[l|0];if(!((k|0)<(e|0)|(k-e|0)==31)){b=j[j[a+20>>2]+(d<<2)>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=b>>>4&252645135|b<<4&-252645136;b=b>>>2&858993459|b<<2&-858993460;i=b>>>1&1431655765|b<<1&-1431655766;b=d+1|0;c=0;while(1){j[r+((i|c<>2]=b;c=c+1|0;e=h[l|0];if((c|0)<1<1?n:1;n=32-k|0;o=-2<<31-k;d=0;b=0;while(1){k=b<>>8&65280|k>>>24);c=c>>>4&252645135|c<<4&-252645136;c=c>>>2&858993459|c<<2&-858993460;l=r+((c>>>1&357913941|c<<1&715827882)<<2)|0;if(!j[l>>2]){c=d+1|0;i=((c|0)<(f|0)?f:c)-1|0;c=d;while(1){c:{d=c;c=c+1|0;if((f|0)<=(c|0)){d=i;break c}if(k>>>0>=m[j[a+20>>2]+(c<<2)>>2]){continue}}break}d:{if((f|0)<=(g|0)){break d}c=j[a+20>>2];while(1){if(k>>>0<(o&j[c+(g<<2)>>2])>>>0){break d}g=g+1|0;if((g|0)!=(f|0)){continue}break}g=f}c=f-g|0;j[l>>2]=(d>>>0<32767?d:32767)<<15|(c>>>0<32767?c:32767)|-2147483648}b=b+1|0;if((p|0)!=(b|0)){continue}break}oe=q;return 0}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}b=j[a+24>>2];if(b){ze(b)}b=j[a+28>>2];if(b){ze(b)}b=j[a+32>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;d=-1}oe=q;return d}function mq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;m=oe-48|0;oe=m;g=IE(a,b,c);a:{if((g|0)<0){break a}d=j[a+88>>2];if((d|0)<=3){g=-129;if((d|0)!=3){break a}d=a+480|0;e=j[a+72>>2];b:{if(j[a+4>>2]){g=-137;if(!ui(d,e+(j[a+96>>2]<<5)|0)){break b}break a}g=-137;if(ui(d,e)){break a}}Vl(a+480|0,a+592|0);j[a+104>>2]=0;j[a+108>>2]=0;j[a+88>>2]=4;j[a+112>>2]=0;j[a+116>>2]=0}i=a+592|0;n=a+480|0;h=a+120|0;d=0;while(1){c:{e=eq(h,m+16|0);if((e|0)>=1){e=Tl(j[a+72>>2]+(j[a+96>>2]<<5)|0,m+16|0);if((e|0)<=-1){ng(h,0);continue}d:{if(!d){f=j[a+80>>2];d=j[a+84>>2];break d}d=d+e>>2;g=d;f=d+j[a+80>>2]|0;d=j[a+84>>2]+(d>>31)|0;d=f>>>0>>0?d+1|0:d;j[a+80>>2]=f;j[a+84>>2]=d}g=j[j[a+72>>2]+28>>2];l=-1;e:{if(!g){break e}l=j[g+4>>2]}l=l+e>>2;g=l;f=g+f|0;d=(g>>31)+d|0;d=f>>>0>>0?d+1|0:d;if((c|0)<(d|0)?1:(c|0)<=(d|0)?b>>>0<=f>>>0:0){break c}ng(h,0);ME(i,m+16|0);rq(n,i);d=j[m+32>>2];l=j[m+36>>2];if((l|0)<0){d=e;continue}q=j[a+68>>2];o=j[a+96>>2];g=q+(o<<4)|0;f=j[g>>2];l=l-(j[g+4>>2]+(d>>>0>>0)|0)|0;d=d-f|0;p=d;d=(l|0)>0?1:(l|0)>=0?!!d:0;f=d?p:0;l=d?l:0;d=l;j[a+80>>2]=f;j[a+84>>2]=d;g=0;if((o|0)<1){d=e;continue}while(1){r=q+(g<<4|8)|0;s=j[r>>2];f=s+f|0;d=j[r+4>>2]+d|0;d=f>>>0>>0?d+1|0:d;j[a+80>>2]=f;j[a+84>>2]=d;g=g+1|0;if((o|0)!=(g|0)){continue}break}d=e;continue}f:{switch(e+3|0){case 0:case 3:break f;default:break c}}Pf(a,m,-1,-1);if((pe|0)<0){break c}g:{h:{if(k[j[m>>2]+5|0]&2){xg(n);_g(i);j[a+88>>2]=2;break h}if(j[a+88>>2]>2){break g}}e=j[m>>2];e=k[e+14|0]|k[e+15|0]<<8|(k[e+16|0]<<16|k[e+17|0]<<24);f=j[a+52>>2];i:{if((f|0)<1){g=0;break i}l=j[a+64>>2];g=0;while(1){if((e|0)==j[(g<<2)+l>>2]){break i}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((f|0)==(g|0)){continue}j[a+88>>2]=3;j[a+96>>2]=g;d=j[m>>2];j[a+92>>2]=k[d+14|0]|k[d+15|0]<<8|(k[d+16|0]<<16|k[d+17|0]<<24);qh(h,e);d=0;e=j[a+88>>2];if((e|0)>3){break g}if((e|0)!=3){g=-129;break a}e=j[a+72>>2];j:{if(j[a+4>>2]){if(!ui(n,e+(j[a+96>>2]<<5)|0)){break j}g=-137;break a}if(!ui(n,e)){break j}g=-137;break a}Vl(n,i);j[a+88>>2]=4;j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0}Pg(h,m);continue}break}j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0;g=0;e=j[a+84>>2];d=e;r=j[j[j[a+72>>2]+28>>2]+3656>>2];l=r;i=l;h=i&31;f=j[a+80>>2];p=f;if((i&63)>>>0>=32){i=-1<>>32-h|-1<(h|0)?1:(h|0)<=(e|0)?p>>>0>=s>>>0:0){break a}while(1){e=b;h=e-f|0;i=_i(n,0);p=i;t=i;f=c-((f>>>0>e>>>0)+d|0)|0;d=l;e=d&31;if((d&63)>>>0>=32){d=f>>31;e=f>>e}else{d=f>>e;e=((1<>>e}q=e;e=d;f=p>>31;i=((d|0)<(f|0)?1:(d|0)<=(f|0)?q>>>0>>0:0)?q:i;d=i+j[n+24>>2]|0;if(!((d|0)>j[n+20>>2]?i:0)){j[n+24>>2]=d}d=i<>2]|0;d=j[a+84>>2]+(d>>31)|0;d=f>>>0

>>0?d+1|0:d;j[a+80>>2]=f;j[a+84>>2]=d;h=i>>31;k:{if((e|0)<(h|0)?1:(h|0)>=(e|0)?i>>>0>=q>>>0:0){break k}if((lq(a)|0)>=1){f=j[a+80>>2];d=j[a+84>>2];break k}f=ti(a,-1);e=pe;d=e;j[a+80>>2]=f;j[a+84>>2]=d}if((d|0)<(o|0)?1:(d|0)<=(o|0)?f>>>0>>0:0){continue}break}}oe=m+48|0;return g}function Dr(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var m=0;m=h^255;a:{b:{c:{d:{h=j[a+4>>2];switch(k[h+9|0]-2|0){case 2:break c;case 0:break d;default:break b}}e:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;b=k[h+28|0];c=k[h+32|0];e=j[h+24>>2]|((p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],m)>>>0)/255|0)+e>>>b<>2]+((a&j[h+16>>2])>>>c|0)|0],m)>>>0)/255|0)+f>>>b<>2];a=k[h+34|0];i[d>>1]=c|((p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],m)>>>0)/255|0)+g>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[c>>1];f=k[h+33|0];b=m+k[j[(d<<2)+234976>>2]+((a&j[h+16>>2])>>>f|0)|0]|0;m=c;f=(b>>>0<255?b:255)>>>d<>2]+((a&j[h+12>>2])>>>c|0)|0]+e|0;d=j[h+24>>2]|(f|(d>>>0<255?d:255)>>>b<>2];a=k[h+34|0];c=k[j[(b<<2)+234976>>2]+(c>>>a|0)|0]+g|0;i[m>>1]=d|(c>>>0<255?c:255)>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;b=k[h+29|0];c=k[h+33|0];f=(p(k[j[(b<<2)+234976>>2]+((a&j[h+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]|(f|(p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2];a=k[h+34|0];i[d>>1]=c|(p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],g)>>>0)/255>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=j[h+24>>2]|(f>>>k[h+29|0]<>>k[h+28|0]<>>k[h+30|0]<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];d=b;b=k[h+28|0];c=k[h+32|0];e=j[h+24>>2]|((p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],m)>>>0)/255|0)+e>>>b<>2]+((a&j[h+16>>2])>>>c|0)|0],m)>>>0)/255|0)+f>>>b<>2];a=k[h+34|0];j[d>>2]=c|((p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],m)>>>0)/255|0)+g>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[c>>2];f=k[h+33|0];b=m+k[j[(d<<2)+234976>>2]+((a&j[h+16>>2])>>>f|0)|0]|0;m=c;f=(b>>>0<255?b:255)>>>d<>2]+((a&j[h+12>>2])>>>c|0)|0]+e|0;d=j[h+24>>2]|(f|(d>>>0<255?d:255)>>>b<>2];a=k[h+34|0];c=k[j[(b<<2)+234976>>2]+(c>>>a|0)|0]+g|0;j[m>>2]=d|(c>>>0<255?c:255)>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];d=b;b=k[h+29|0];c=k[h+33|0];f=(p(k[j[(b<<2)+234976>>2]+((a&j[h+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]|(f|(p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2];a=k[h+34|0];j[d>>2]=c|(p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],g)>>>0)/255>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)>>2]=j[h+24>>2]|(f>>>k[h+29|0]<>>k[h+28|0]<>>k[h+30|0]<>2]=0;j[q+24>>2]=0;j[q+20>>2]=0;j[q+16>>2]=0;j[q+12>>2]=0;i=-1;a:{if((wi(b,c,d,e,q+28|0,q+24|0,q+20|0,q+16|0,q+12|0)|0)<0){break a}b:{c:{d:{e:{f:{k=j[58753];switch(k|0){case 0:break b;case 2:break d;case 1:break e;case 3:break f;default:break c}}if((b|0)>576){break d}}k=1;break b}k=2;break b}k=1;if((ve(152111,0)|0)<0){break a}}i=j[q+12>>2];l=j[q+16>>2];m=j[q+20>>2];n=j[q+24>>2];o=j[q+28>>2];g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if((c|0)<=1431918168){u:{switch(c-842094158|0){case 0:break r;case 11:break t;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break h;default:break u}}if((c|0)==825382478){break r}if((c|0)==844715353){break s}break h}if((c|0)==1431918169|(c|0)==1498831189){break s}if((c|0)!=1448433993){break h}}v:{if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break q}if((f|0)!=370546692){break v}break i}if((f|0)!=371595268){if((f|0)==372645892){break i}if((f|0)!=373694468){break v}}mG(a,b,o,n,m,l,i,g,h,k);i=0;break a}w:{if((f|0)<=376840195){if((f|0)==374740996){break w}if((f|0)!=375789572){break v}break j}if((f|0)==376840196){break w}if((f|0)==377888772){break j}if((f|0)!=386930691){break v}nG(a,b,o,n,m,l,i,g,h,k);i=0;break a}iG(a,b,o,n,m,l,i,g,h,k);i=0;break a}if((c|0)==1431918169){break s}if((c|0)!=844715353){break h}}if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break p}if((f|0)!=370546692){break g}break k}if((f|0)!=371595268){if((f|0)==372645892){break k}if((f|0)!=373694468){break g}}fG(a,b,o,n,m,l,i,g,h,k);i=0;break a}x:{if((f|0)<=376840195){if((f|0)==374740996){break x}if((f|0)!=375789572){break g}break l}if((f|0)==376840196){break x}if((f|0)==377888772){break l}if((f|0)!=386930691){break g}gG(a,b,o,n,m,l,i,g,h,k);i=0;break a}cG(a,b,o,n,m,l,i,g,h,k);i=0;break a}if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break o}if((f|0)!=370546692){break g}break m}if((f|0)!=371595268){if((f|0)==372645892){break m}if((f|0)!=373694468){break g}}$F(a,b,o,n,m,l,i,g,h,k);i=0;break a}y:{if((f|0)<=376840195){if((f|0)==374740996){break y}if((f|0)!=375789572){break g}break n}if((f|0)==376840196){break y}if((f|0)==377888772){break n}if((f|0)!=386930691){break g}aG(a,b,o,n,m,l,i,g,h,k);i=0;break a}YF(a,b,o,n,m,l,i,g,h,k);i=0;break a}oG(a,b,o,n,m,l,i,g,h,k);i=0;break a}hG(a,b,o,n,m,l,i,g,h,k);i=0;break a}bG(a,b,o,n,m,l,i,g,h,k);i=0;break a}_F(a,b,o,n,m,l,i,g,h,k);i=0;break a}ZF(a,b,o,n,m,l,i,g,h,k);i=0;break a}eG(a,b,o,n,m,l,i,g,h,k);i=0;break a}dG(a,b,o,n,m,l,i,g,h,k);i=0;break a}lG(a,b,o,n,m,l,i,g,h,k);i=0;break a}kG(a,b,o,n,m,l,i,g,h,k);i=0;break a}if((f|0)!=372645892){break g}i=ve(151930,0);break a}l=a<<2;i=p(l,b);k=qe[j[57972]](i?i:1)|0;if(k){j[57976]=j[57976]+1}if(!k){i=Be(0);break a}i=Jq(a,b,c,d,e,372645892,k,l);if((i|0)>-1){i=th(a,b,372645892,k,l,f,g,h)}if(k){qe[j[57975]](k);j[57976]=j[57976]-1}}oe=q+32|0;return i}function Ps(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0;Oe(b,k[262247],c);qe[j[57833]](j[65571],b,c);r=yg();if(j[65567]>=1){a=j[65568];q=128;while(1){h=p(i,60);d=h+a|0;a:{if(j[d+8>>2]){break a}e=j[d+28>>2];b:{if(!(!e|e>>>0>=r>>>0)){j[d+36>>2]=0;j[d+20>>2]=0;j[d+4>>2]=0;j[d+28>>2]=0;d=j[65572];if(d){qe[d|0](i);a=j[65568]}a=a+h|0;e=a;a=j[a+56>>2];if(a){while(1){d=j[a+12>>2];g=j[a+4>>2];if(g){qe[g|0](i,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=d;if(a){continue}break}}j[e+56>>2]=0;break b}g=j[d+36>>2];if(!g){break b}a=j[d+48>>2];e=r-j[d+52>>2]|0;if(a>>>0<=e>>>0){qj(i,j[d+44>>2]);d=j[65568];a=h+d|0;if(j[a+36>>2]==1){j[a+28>>2]=0;j[a+20>>2]=0;j[a+4>>2]=0;a=j[65572];if(a){qe[a|0](i);d=j[65568]}a=d+h|0;e=a;a=j[a+56>>2];if(a){while(1){d=j[a+12>>2];g=j[a+4>>2];if(g){qe[g|0](i,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=d;if(a){continue}break}d=j[65568]}j[e+56>>2]=0}j[(d+h|0)+36>>2]=0;break b}d=j[d+40>>2];if((g|0)==1){qj(i,(p(d,a-e|0)>>>0)/(a>>>0)|0);break b}qj(i,(p(d,e)>>>0)/(a>>>0)|0)}a=j[65568];d=j[(h+a|0)+4>>2];if((d|0)<1){break a}g=0;c:{if((c|0)<=0){break c}while(1){e=c-g|0;f=(d|0)>(e|0)?e:d;a=a+h|0;q=(p(j[a+16>>2],k[j[a>>2]+12|0])|0)/128|0;d=j[a+12>>2];a=j[a+56>>2];d:{if(!a){break d}e=qe[j[57972]](f?f:1)|0;if(e){j[57976]=j[57976]+1}if(!e){break d}Ge(e,d,f);while(1){d=j[a>>2];if(d){qe[d|0](i,e,f,j[a+8>>2])}a=j[a+12>>2];if(a){continue}break}d=e}Jm(b+g|0,d,l[131122],f,q);a=j[65568];if(j[(h+a|0)+12>>2]!=(d|0)){if(d){qe[j[57975]](d);j[57976]=j[57976]-1}a=j[65568];d=j[(h+a|0)+12>>2]}e=a+h|0;j[e+12>>2]=d+f;d=j[e+4>>2]-f|0;j[e+4>>2]=d;g=f+g|0;if(!d){if(j[e+20>>2]){d=0;break c}d=j[65572];if(d){qe[d|0](i);a=j[65568]}a=a+h|0;e=a;a=j[a+56>>2];if(a){while(1){d=j[a+12>>2];f=j[a+4>>2];if(f){qe[f|0](i,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=d;if(a){continue}break}}j[e+56>>2]=0;a=j[65568];d=j[(h+a|0)+4>>2]}if((c|0)<=(g|0)){break c}if((d|0)>0){continue}break}}e=a+h|0;s=e+20|0;f=j[e+20>>2];o=!f;e:{if(!f|(c|0)<=(g|0)){break e}d=j[e>>2];e=j[d+4>>2];n=j[d+8>>2];while(1){d=c-g|0;m=(d|0)>(n|0)?n:d;a=j[(a+h|0)+56>>2];f:{if(!a){break f}d=qe[j[57972]](m?m:1)|0;if(d){j[57976]=j[57976]+1}if(!d){break f}Ge(d,e,m);while(1){e=j[a>>2];if(e){qe[e|0](i,d,m,j[a+8>>2])}a=j[a+12>>2];if(a){continue}break}e=d}Jm(b+g|0,e,l[131122],m,q);a=j[65568];if(j[j[h+a>>2]+4>>2]!=(e|0)){if(e){qe[j[57975]](e);j[57976]=j[57976]-1}a=j[65568]}d=a+h|0;e=d;s=d+20|0;f=j[d+20>>2];if((f|0)>=1){f=f-1|0;j[e+20>>2]=f}n=j[d>>2];e=j[n+4>>2];j[d+12>>2]=m+e;o=d;n=j[n+8>>2];d=n-m|0;j[o+4>>2]=d;o=!f;g=g+m|0;if((g|0)>=(c|0)){break e}if(f){continue}break}}if(d|o){break a}d=a+h|0;e=d;if((f|0)>=1){j[s>>2]=f-1}o=d;d=j[d>>2];j[o+12>>2]=j[d+4>>2];j[e+4>>2]=j[d+8>>2]}i=i+1|0;if((i|0)>2];if(d){qe[d|0](-2,b,c,j[a+8>>2])}a=j[a+12>>2];if(a){continue}break}}a=j[65570];if(a){qe[a|0](j[65569],b,c)}}function zp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;f=a+b|0;a:{b:{c=j[a+4>>2];if(c&1){break b}if(!(c&3)){break a}c=j[a>>2];b=c+b|0;a=a-c|0;if((a|0)!=j[67133]){if(c>>>0<=255){e=c>>>3|0;c=j[a+8>>2];d=j[a+12>>2];if((d|0)==(c|0)){i=268512,k=j[67128]&lP(-2,e),j[i>>2]=k;break b}j[c+12>>2]=d;j[d+8>>2]=c;break b}h=j[a+24>>2];c=j[a+12>>2];c:{if((c|0)!=(a|0)){d=j[a+8>>2];j[d+12>>2]=c;j[c+8>>2]=d;break c}d:{d=a+20|0;e=j[d>>2];if(e){break d}d=a+16|0;e=j[d>>2];if(e){break d}c=0;break c}while(1){g=d;c=e;d=c+20|0;e=j[d>>2];if(e){continue}d=c+16|0;e=j[c+16>>2];if(e){continue}break}j[g>>2]=0}if(!h){break b}d=j[a+28>>2];e=(d<<2)+268816|0;e:{if(j[e>>2]==(a|0)){j[e>>2]=c;if(c){break e}i=268516,k=j[67129]&lP(-2,d),j[i>>2]=k;break b}j[h+(j[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}j[c+24>>2]=h;d=j[a+16>>2];if(d){j[c+16>>2]=d;j[d+24>>2]=c}d=j[a+20>>2];if(!d){break b}j[c+20>>2]=d;j[d+24>>2]=c;break b}c=j[f+4>>2];if((c&3)!=3){break b}j[67130]=b;j[f+4>>2]=c&-2;j[a+4>>2]=b|1;j[f>>2]=b;return}c=j[f+4>>2];f:{if(!(c&2)){if(j[67134]==(f|0)){j[67134]=a;b=j[67131]+b|0;j[67131]=b;j[a+4>>2]=b|1;if(j[67133]!=(a|0)){break a}j[67130]=0;j[67133]=0;return}if(j[67133]==(f|0)){j[67133]=a;b=j[67130]+b|0;j[67130]=b;j[a+4>>2]=b|1;j[a+b>>2]=b;return}b=(c&-8)+b|0;g:{if(c>>>0<=255){e=c>>>3|0;c=j[f+8>>2];d=j[f+12>>2];if((d|0)==(c|0)){i=268512,k=j[67128]&lP(-2,e),j[i>>2]=k;break g}j[c+12>>2]=d;j[d+8>>2]=c;break g}h=j[f+24>>2];c=j[f+12>>2];h:{if((f|0)!=(c|0)){d=j[f+8>>2];j[d+12>>2]=c;j[c+8>>2]=d;break h}i:{d=f+20|0;e=j[d>>2];if(e){break i}d=f+16|0;e=j[d>>2];if(e){break i}c=0;break h}while(1){g=d;c=e;d=c+20|0;e=j[d>>2];if(e){continue}d=c+16|0;e=j[c+16>>2];if(e){continue}break}j[g>>2]=0}if(!h){break g}d=j[f+28>>2];e=(d<<2)+268816|0;j:{if(j[e>>2]==(f|0)){j[e>>2]=c;if(c){break j}i=268516,k=j[67129]&lP(-2,d),j[i>>2]=k;break g}j[h+(j[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break g}}j[c+24>>2]=h;d=j[f+16>>2];if(d){j[c+16>>2]=d;j[d+24>>2]=c}d=j[f+20>>2];if(!d){break g}j[c+20>>2]=d;j[d+24>>2]=c}j[a+4>>2]=b|1;j[a+b>>2]=b;if(j[67133]!=(a|0)){break f}j[67130]=b;return}j[f+4>>2]=c&-2;j[a+4>>2]=b|1;j[a+b>>2]=b}if(b>>>0<=255){c=b>>>3|0;b=(c<<3)+268552|0;d=j[67128];c=1<>2]}j[b+8>>2]=a;j[c+12>>2]=a;j[a+12>>2]=b;j[a+8>>2]=c;return}d=31;j[a+16>>2]=0;j[a+20>>2]=0;if(b>>>0<=16777215){d=b>>>8|0;c=d+1048320>>>16&8;e=d<>>16&4;g=e<>>16&2;c=(g<>>15|0)-(e|(c|d))|0;d=(c<<1|b>>>c+21&1)+28|0}j[a+28>>2]=d;c=(d<<2)+268816|0;l:{e=j[67129];g=1<>2]=a;j[a+24>>2]=c;break m}d=b<<((d|0)==31?0:25-(d>>>1|0)|0);c=j[c>>2];while(1){e=c;if((j[c+4>>2]&-8)==(b|0)){break l}c=d>>>29|0;d=d<<1;g=e+(c&4)|0;c=j[g+16>>2];if(c){continue}break}j[g+16>>2]=a;j[a+24>>2]=e}j[a+12>>2]=a;j[a+8>>2]=a;return}b=j[e+8>>2];j[b+12>>2]=a;j[e+8>>2]=a;j[a+24>>2]=0;j[a+12>>2]=e;j[a+8>>2]=b}}function Th(a,b,c){var d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0;e=35;a:{if(!a|!j[a+88>>2]){break a}d=j[a+84>>2];if(!d){break a}e=j[d+156>>2];b:{if(!(!e|!(h[e+4|0]&1))){e=j[j[d+4>>2]+100>>2];f=j[d+88>>2];if(f){qe[j[e+8>>2]](e,f)}j[d+88>>2]=0;e=j[d+156>>2];j[e+4>>2]=j[e+4>>2]&-2;break b}j[d+88>>2]=0}j[d+24>>2]=0;j[d+28>>2]=0;j[d+72>>2]=0;j[d+76>>2]=0;j[d+100>>2]=0;j[d+104>>2]=0;h[d+94|0]=0;j[d+32>>2]=0;j[d+36>>2]=0;j[d+40>>2]=0;j[d+44>>2]=0;j[d+48>>2]=0;j[d+52>>2]=0;j[d+56>>2]=0;j[d+60>>2]=0;j[d+80>>2]=0;j[d+84>>2]=0;j[d+108>>2]=0;j[d+112>>2]=0;j[d+116>>2]=0;j[d+120>>2]=0;j[d+124>>2]=0;j[d+128>>2]=0;j[d+132>>2]=0;j[d+136>>2]=0;j[d+140>>2]=0;j[d+144>>2]=0;j[d+148>>2]=0;j[d+152>>2]=0;e=j[a+96>>2];c:{d:{c=c&1024?c|2049:c;i=c&1?c&-15|10:c;if(i&32770){break d}f=j[j[e+4>>2]+160>>2];if(!f){break d}m=j[j[e>>2]>>2];if((m&768)!=256){break d}c=j[a+8>>2];if(c&8192){break d}e:{if(i&2048){break e}n=j[a+128>>2];g=j[n>>2];if(!j[n+8>>2]){if(g){break e}break d}if(g){break d}}if(!(i&32|(i&983040)==65536|(k[j[a+128>>2]+52|0]|!(m&1024)))){if(!(c&8)|!j[a+696>>2]|(l[a+286>>1]|j[a+628>>2])){break d}if(j[a+636>>2]){break d}}f:{if(!(c&2)|i&8){break f}if(qe[j[j[e+12>>2]+72>>2]](d,j[a+88>>2],b,i|16384)|0){break f}c=0;if(j[d+72>>2]==1651078259){break c}}e=j[a+128>>2];g=j[e+24>>2];j[e+24>>2]=0;c=qe[j[j[j[f>>2]+20>>2]+12>>2]](f,d,j[a+88>>2],b,i)|0;j[e+24>>2]=g;break c}e=qe[j[j[e+12>>2]+72>>2]](d,j[a+88>>2],b,i)|0;if(e){break a}c=0;if(j[d+72>>2]!=1869968492){break c}e=VH(d+108|0);if(e){break a}if(i&2){break c}b=d;g:{if(i&16){j[d+32>>2]=j[d+32>>2]&-64;e=j[d+44>>2];f=e&-64;j[d+44>>2]=f;g=j[d+48>>2];m=g&-64;j[d+48>>2]=m;j[d+36>>2]=j[d+36>>2]+63&-64;j[d+24>>2]=((e+j[d+24>>2]|0)+63&-64)-f;e=((g+j[d+28>>2]|0)+63&-64)-m|0;break g}j[d+44>>2]=j[d+44>>2]&-64;j[d+48>>2]=j[d+48>>2]&-64;e=j[d+32>>2];f=e&-64;j[d+32>>2]=f;g=j[d+36>>2];m=g+63&-64;j[d+36>>2]=m;j[d+24>>2]=((e+j[d+24>>2]|0)+63&-64)-f;e=m-(g-j[d+28>>2]&-64)|0}j[b+28>>2]=e;j[d+40>>2]=j[d+40>>2]+32&-64;j[d+52>>2]=j[d+52>>2]+32&-64}b=d;h:{if(i&16){f=0;e=j[d+52>>2];break h}f=j[d+40>>2];e=0}j[b+64>>2]=f;j[d+68>>2]=e;if(!(!(h[a+8|0]&1)|i&8192)){b=j[a+88>>2];o=d,p=Ne(j[d+56>>2],j[b+16>>2],64),j[o+56>>2]=p;o=d,p=Ne(j[d+60>>2],j[b+20>>2],64),j[o+60>>2]=p}b=c;i:{if(i&2048){break i}g=j[a+128>>2];f=j[g+24>>2];b=c;if(!f){break i}j:{k:{a=j[j[j[d+4>>2]+96>>2]+4>>2];e=j[a+156>>2];l:{if(!e){b=j[d+72>>2];break l}b=j[d+72>>2];if((b|0)==j[e+16>>2]){break k}}a=j[a+148>>2];if(a){while(1){e=j[a+8>>2];if(j[e+16>>2]==(b|0)){break k}a=j[a+4>>2];if(a){continue}break}}m:{if((b|0)!=1869968492){break m}if(f&1){rh(d+108|0,g);f=j[g+24>>2]}if(!(f&2)){break m}Tf(d+108|0,j[g+16>>2],j[g+20>>2])}break j}c=qe[j[j[e+12>>2]+44>>2]](e,d,g,g+16|0)|0}Qg(d- -64|0,g);b=c}e=b;if(e){break a}e=0;a=j[d+72>>2];if(!(i&4)|((a|0)==1651078259|(a|0)==1668246896)){break a}a=i>>>16&15;e=Yr(d,a?a:i>>>11&2)}return e}function TB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(m[a+404>>2]>=a+32>>>0){d=j[a+20>>2];h=j[a+412>>2];g=h;c=j[a+16>>2];e=k[c|0];a:{if((e|0)==30){c=If(c,d,0,0);break a}b:{c:{d:{e:{switch(e-28|0){case 0:if(d>>>0>>0){break b}b=k[c+1|0]|k[c+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break c;case 1:if(d>>>0>>0){break b}b=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d;default:break e}}if(e>>>0<=246){b=e-139|0;break b}f=c+2|0;if(e>>>0<=250){if(d>>>0>>0){break b}b=(k[c+1|0]|e<<8)-63124|0;break c}if(d>>>0>>0){break b}b=64148-(k[c+1|0]|e<<8)|0}c=2147483647;if((b|0)>32767){break a}}c=(b|0)<-32767?-2147483647:b<<16;break a}c=b<<16}b=c+32768&-65536;if((c|0)<0){b=0-(32768-c&-65536)|0}j[g+84>>2]=b;f=j[a+24>>2];e=h;c=j[a+20>>2];d=k[c|0];f:{if((d|0)==30){c=If(c,f,0,0);break f}g:{h:{i:{j:{switch(d-28|0){case 0:b=0;if(f>>>0>>0){break g}b=k[c+1|0]|k[c+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break h;case 1:b=0;if(f>>>0>>0){break g}b=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break i;default:break j}}if(d>>>0<=246){b=d-139|0;break g}g=c+2|0;if(d>>>0<=250){b=0;if(f>>>0>>0){break g}b=(k[c+1|0]|d<<8)-63124|0;break h}b=0;if(f>>>0>>0){break g}b=64148-(k[c+1|0]|d<<8)|0}c=2147483647;if((b|0)>32767){break f}}c=(b|0)<-32767?-2147483647:b<<16;break f}c=b<<16}b=c+32768&-65536;if((c|0)<0){b=0-(32768-c&-65536)|0}j[e+88>>2]=b;f=j[a+28>>2];b=j[a+24>>2];d=k[b|0];k:{if((d|0)==30){c=If(b,f,0,0);break k}l:{m:{n:{switch(d-28|0){case 0:c=0;if(f>>>0>>0){break k}b=k[b+1|0]|k[b+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break l;case 1:c=0;if(f>>>0>>0){break k}b=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break m;default:break n}}c=(d<<16)-9109504|0;if(d>>>0<=246){break k}g=b+2|0;if(d>>>0<=250){c=0;if(f>>>0>>0){break k}b=(k[b+1|0]|d<<8)-63124|0;break l}c=0;if(f>>>0>>0){break k}b=64148-(k[b+1|0]|d<<8)|0}c=2147483647;if((b|0)>32767){break k}}c=(b|0)<-32767?-2147483647:b<<16}b=c;d=b+32768&-65536;if((b|0)<0){d=0-(32768-b&-65536)|0}j[e+92>>2]=d;e=j[a+32>>2];b=j[a+28>>2];c=k[b|0];o:{if((c|0)==30){a=If(b,e,0,0);break o}p:{q:{r:{switch(c-28|0){case 0:a=0;if(e>>>0>>0){break o}a=k[b+1|0]|k[b+2|0]<<8;b=(a<<24|a<<8&16711680)>>16;break p;case 1:a=0;if(e>>>0>>0){break o}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break q;default:break r}}a=(c<<16)-9109504|0;if(c>>>0<=246){break o}d=b+2|0;if(c>>>0<=250){a=0;if(d>>>0>e>>>0){break o}b=(k[b+1|0]|c<<8)-63124|0;break p}a=0;if(d>>>0>e>>>0){break o}b=64148-(k[b+1|0]|c<<8)|0}a=2147483647;if((b|0)>32767){break o}}a=(b|0)<-32767?-2147483647:b<<16}b=a;c=b+32768&-65536;if((b|0)<0){c=0-(32768-b&-65536)|0}j[h+96>>2]=c;a=0}else{a=161}return a|0}function QM(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;b=oe-160|0;oe=b;a:{if(!Ji(48)){if(j[57790]){b:{if(NH(b+136|0)){i=b,k=Fg(),j[i+112>>2]=k;Vg(1503,b+112|0);c=j[b+144>>2];a=j[b+140>>2];break b}a=j[b+140>>2];if(j[58880]){j[57789]=a;c=j[b+144>>2];j[57788]=c;break b}g=+(a|0)*.8;c:{if(r(g)<2147483648){d=~~g;break c}d=-2147483648}j[57789]=d;c=j[b+144>>2];g=+(c|0)*.8;d:{if(r(g)<2147483648){d=~~g;break d}d=-2147483648}j[57788]=d}j[b+100>>2]=c;j[b+96>>2]=a;Vg(1584,b+96|0)}Tm(1612,1645);a=JH(j[57789],j[57788]);j[58883]=a;if(!a){break a}a=xm(a,-1,4);j[58882]=a;if(!a){break a}if(j[58880]){Pq(j[58883],1);a=j[58882]}bN(a);j[b+88>>2]=0;j[b+92>>2]=1073741824;j[b+80>>2]=1647;Vg(1654,b+80|0);Di(j[58882],0,0,0,0);if((Bn(3)&3)!=3){i=b,k=Fg(),j[i+64>>2]=k;Zh(1686,b- -64|0)}if(!SJ()){a=vE();j[60723]=-754974721;j[60724]=-1274410486;j[60721]=a;j[b+136>>2]=0;c=0;while(1){j[b+32>>2]=c;Oj(b+136|0,4,1729,b+32|0);j[b+28>>2]=j[60723];i=242904,k=Hj(j[60721],b+136|0,b+28|0),j[i>>2]=k;Fj(j[60721],2);j[b+24>>2]=j[60724];i=242900,k=Hj(j[60721],b+136|0,b+24|0),j[i>>2]=k;Fj(j[60721],0);j[60727]=2;j[60728]=2;a=j[60726];j[60729]=j[a+8>>2];j[60730]=j[a+12>>2];hg(a,1);uh(j[60726],0,j[60725],242908);a=j[60725];e=j[a+4>>2];f=p(c,60);h=f+242928|0;d=h;j[d>>2]=j[a>>2];j[d+4>>2]=e;j[f+242984>>2]=j[a+56>>2];e=j[a+52>>2];d=f+242976|0;j[d>>2]=j[a+48>>2];j[d+4>>2]=e;e=j[a+44>>2];d=f+242968|0;j[d>>2]=j[a+40>>2];j[d+4>>2]=e;e=j[a+36>>2];d=f+242960|0;j[d>>2]=j[a+32>>2];j[d+4>>2]=e;e=j[a+28>>2];d=f+242952|0;j[d>>2]=j[a+24>>2];j[d+4>>2]=e;e=j[a+20>>2];d=f+242944|0;j[d>>2]=j[a+16>>2];j[d+4>>2]=e;d=j[a+12>>2];f=f+242936|0;j[f>>2]=j[a+8>>2];j[f+4>>2]=d;i=(c<<2)+260928|0,k=tm(j[58882],h),j[i>>2]=k;c=c+1|0;if((c|0)!=300){continue}break}j[b+16>>2]=-1;Oj(b+136|0,4,1729,b+16|0);j[b+12>>2]=j[60723];i=242904,k=Hj(j[60721],b+136|0,b+12|0),j[i>>2]=k;Fj(j[60721],2);j[b+8>>2]=j[60724];i=242900,k=Hj(j[60721],b+136|0,b+8|0),j[i>>2]=k;Fj(j[60721],0);j[60727]=2;j[60728]=2;a=j[60726];j[60729]=j[a+8>>2];j[60730]=j[a+12>>2];hg(a,1);uh(j[60726],0,j[60725],242908);a=j[60725];c=j[a+4>>2];j[65217]=j[a>>2];j[65218]=c;c=j[a+12>>2];j[65219]=j[a+8>>2];j[65220]=c;c=j[a+20>>2];j[65221]=j[a+16>>2];j[65222]=c;c=j[a+28>>2];j[65223]=j[a+24>>2];j[65224]=c;c=j[a+36>>2];j[65225]=j[a+32>>2];j[65226]=c;c=j[a+44>>2];j[65227]=j[a+40>>2];j[65228]=c;c=j[a+52>>2];j[65229]=j[a+48>>2];j[65230]=c;j[65231]=j[a+56>>2];i=262124,k=tm(j[58882],260868),j[i>>2]=k;lf(j[60726]);lf(j[60725]);j[65532]=0;j[65533]=-1;j[58915]=1771;j[58911]=1435;j[58910]=1748;j[58916]=0;j[58912]=0;Bl();dp();j[58889]=0;j[58890]=0;j[58887]=0;j[58888]=0;j[58903]=2;i=235616,k=An(j[58882],1293),j[i>>2]=k;i=235620,k=An(j[58882],1321),j[i>>2]=k;Dx();no();j[58886]=0;qc(1,0,1);break a}i=b,k=Fg(),j[i+48>>2]=k;Zh(1734,b+48|0);U(1);z()}i=b,k=Fg(),j[i+128>>2]=k;Zh(1802,b+128|0)}oe=b+160|0}function So(a,b,c){var d=0,e=0,f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=oe-16|0;oe=q;e=j[a+72>>2];r=j[a+64>>2];n=j[a+68>>2];a:{if(!c){break a}b:{c:{d:{e:{f:{g:{switch(j[a>>2]){case 0:if(Fe(j[a+164>>2],2)){break f}if((Ol(j[a+164>>2],q+12|0,1)|0)!=1){break f}f=k[q+12|0];j[a+44>>2]=f&128;g=f&31;j[a+40>>2]=g;d=1<>2]=d-256;if(g>>>0>16){break f}j[a+52>>2]=9;j[a+56>>2]=f>>>7;j[a+60>>2]=g>>>0>9?256:d-255|0;e=0;f=ml(a);if(f>>>0>255){break f}if(b){h[b|0]=f}if(c>>>0<2){break e}g=1;j[a>>2]=1;n=f;r=f;break;case 2:break d;case 1:break g;default:break a}}d=0;break c}d=0;break b}d=1;n=f;r=f;break a}d=1}while(1){h:{if(!d){p=ml(a);d=g;if((p|0)<0){break b}i:{j:{k:{while(1){if((p|0)!=256){break k}if(!j[a+44>>2]){break j}h[a+32|0]=1;r=0;j[a+56>>2]=0;n=0;p=ml(a);if((p|0)>=0){continue}break}d=g;break b}f=p;if(f>>>0<256){break i}}f=p;d=f-256|0;e=j[a+56>>2];if(d>>>0>=e>>>0){if(d>>>0>e>>>0){break h}d=j[a+92>>2];e=j[a+96>>2];l:{if(d>>>0>>0){e=j[a+88>>2];break l}f=((e>>>1|0)+e|0)+4|0;s=j[a+168>>2];m:{n:{o=j[a+88>>2];if((o|0)!=(a+100|0)){d=65536;if(f>>>0>65536){break n}d=f;break m}o=0;j[a+88>>2]=0;d=f>>>0<65536?f:65536;e=0;break m}if((e|0)==65536){break h}}e=xe(s,1,e,d,o,q+12|0);j[a+88>>2]=e;if(j[q+12>>2]){break h}j[a+96>>2]=d;d=j[a+92>>2]}j[a+92>>2]=d+1;h[d+e|0]=n;f=r;if(f>>>0<256){break i}}s=a+100|0;d=j[a+76>>2];while(1){if(!d){break h}d=j[a+92>>2];e=j[a+96>>2];o:{if(d>>>0>>0){e=j[a+88>>2];break o}d=((e>>>1|0)+e|0)+4|0;t=j[a+168>>2];o=j[a+88>>2];p:{if((s|0)!=(o|0)){if(d>>>0<=65536){break p}d=65536;if((e|0)==65536){break h}break p}o=0;j[a+88>>2]=0;d=d>>>0<65536?d:65536;e=0}e=xe(t,1,e,d,o,q+12|0);j[a+88>>2]=e;if(j[q+12>>2]){break h}j[a+96>>2]=d;d=j[a+92>>2]}f=f-256|0;o=k[f+j[a+80>>2]|0];j[a+92>>2]=d+1;h[d+e|0]=o;d=j[a+76>>2];f=l[d+(f<<1)>>1];if(f>>>0>255){continue}break}}d=j[a+92>>2];n=j[a+96>>2];q:{if(d>>>0>>0){n=j[a+88>>2];break q}e=((n>>>1|0)+n|0)+4|0;s=j[a+168>>2];r:{s:{t:{u:{o=j[a+88>>2];if((o|0)!=(a+100|0)){d=65536;if(e>>>0>65536){break u}d=e;break t}o=0;j[a+88>>2]=0;d=e>>>0<65536?e:65536;n=0;break t}if((n|0)==65536){break s}}n=xe(s,1,n,d,o,q+12|0);j[a+88>>2]=n;if(!j[q+12>>2]){break r}}n=f;break h}j[a+96>>2]=d;d=j[a+92>>2]}j[a+92>>2]=d+1;h[d+n|0]=f;j[a>>2]=2;n=f;e=p;p=g;d=1;continue}v:{while(1){g=j[a+92>>2];if(!g){break v}g=g-1|0;j[a+92>>2]=g;if(b){h[b+p|0]=k[g+j[a+88>>2]|0]}p=p+1|0;if((p|0)!=(c|0)){continue}break}d=c;break a}d=j[a+56>>2];if(d>>>0>2]){g=j[a+84>>2];if(g>>>0<=d>>>0){f=g?g+(g>>>2|0)|0:512;o=xe(j[a+168>>2],3,g,f,j[a+76>>2],q+12|0);j[a+76>>2]=o;d=p;if(j[q+12>>2]){break b}d=o+(f<<1)|0;j[a+80>>2]=d;tg(d,o+(g<<1)|0,g);j[a+84>>2]=f;d=j[a+56>>2]}i[j[a+76>>2]+(d<<1)>>1]=r;h[j[a+80>>2]+d|0]=n;j[a+56>>2]=j[a+56>>2]+1}j[a>>2]=1;r=e;g=p;d=0;continue}break}e=p;d=g}j[a>>2]=3}j[a+72>>2]=e;j[a+68>>2]=n;j[a+64>>2]=r;oe=q+16|0;return d}function Kr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;o=oe-32|0;oe=o;g=j[b+76>>2];m=j[a+436>>2];i=$g();f=j[m>>2];a:{if((i|0)!=(f|0)){j[m+424>>2]=0;if((zg(j[a+188>>2],f)|0)<0){break a}}f=j[a+436>>2];if(!j[f+4>>2]){break a}while(1){if(qe[j[f+104>>2]]()|0){continue}break}}b:{if(j[c+8>>2]<1|j[c+12>>2]<1){break b}j[m+360>>2]=0;qe[j[m+20>>2]](j[g+4>>2],j[g>>2]);i=m;q=j[g+4>>2];r=j[c>>2];k=j[c+4>>2];s=j[c+8>>2];t=j[c+12>>2];u=j[g+8>>2];v=j[g+12>>2];h=d;n=e;f=j[b+4>>2];c:{if(!(!f|(f&-268435456)==268435456)){l=2;if((f|0)==844715353|(f|0)==1498831189){break c}l=(f|0)==1431918169?2:1;break c}l=f&255}yM(i,q,r,k,s,t,u,v,h,n,l);d:{e:{f:{g:{if(j[g+24>>2]){f=j[c+12>>2];qe[j[m+20>>2]](j[g+4>>2],j[g+(j[b+4>>2]==842094169?32:36)>>2]);k=(e+1|0)/2|0;i=p(e,f)+d|0;d=j[c+8>>2];if(d+2>>>0<3){break e}f=j[c+12>>2];if(f+2>>>0<3){break e}e=0;s=j[g+4>>2];t=j[c>>2]/2|0;u=j[c+4>>2]/2|0;n=(d+1|0)/2|0;q=n;l=(f+1|0)/2|0;r=l;v=j[g+8>>2];w=j[g+12>>2];if((k|0)!=(n|0)){d=p(n,l);e=qe[j[57972]](d?d:1)|0;if(e){j[57976]=j[57976]+1}if(!e){break g}d=0;if((f|0)>0){f=e;h=i;while(1){Ge(f,h,n);h=h+k|0;f=f+n|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}d=e}else{d=i}qe[j[m+160>>2]](s,0,t,u,q,r,v,w,d);if(!e){break e}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break e}if(!j[g+28>>2]){break d}b=j[c+12>>2];qe[j[m+20>>2]](j[g+4>>2],j[g+36>>2]);k=j[c+8>>2];if(k+2>>>0<3){break d}h=j[c+12>>2];if(h+2>>>0<3){break d}n=j[c+4>>2]/2|0;l=j[c>>2]/2|0;i=(h+1|0)/2|0;f=p(b,e)+d|0;g=j[g+4>>2];k=(k+1|0)/2|0;d=k<<1;q=(e+1|0)/2<<1;h:{if((d|0)==(q|0)){e=0;break h}b=p(d,i);e=qe[j[57972]](b?b:1)|0;if(e){j[57976]=j[57976]+1}if(!e){break f}b=0;if((h|0)>0){c=e;while(1){Ge(c,f,d);f=f+q|0;c=c+d|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}f=e}qe[j[m+160>>2]](g,0,l,n,k,i,6410,5121,f);if(!e){break d}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break d}Be(0);break e}Be(0);break d}d=j[c+12>>2];qe[j[m+20>>2]](j[g+4>>2],j[g+(j[b+4>>2]==842094169?36:32)>>2]);b=j[c+8>>2];if(b+2>>>0<3){break d}h=j[c+12>>2];if(h+2>>>0<3){break d}n=j[c+4>>2]/2|0;l=j[c>>2]/2|0;e=(h+1|0)/2|0;f=i+p(k,(d+1|0)/2|0)|0;q=j[g+12>>2];r=j[g+8>>2];g=j[g+4>>2];i:{b=(b+1|0)/2|0;j:{if((b|0)==(k|0)){d=0;break j}c=p(b,e);c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}d=c;if(!c){break i}i=0;if((h|0)>0){while(1){Ge(c,f,b);f=f+k|0;c=b+c|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=d}qe[j[m+160>>2]](g,0,l,n,b,e,r,q,f);if(!d){break d}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}break d}Be(0)}h=0;a=j[a+436>>2];if(!j[a+4>>2]){break b}f=qe[j[a+104>>2]]()|0;if(!f){break b}while(1){c=128351;b=f-1280|0;if(b>>>0<=5){c=j[(b<<2)+128360>>2]}j[o+20>>2]=f;j[o+16>>2]=c;j[o+12>>2]=127746;j[o+8>>2]=1662;j[o+4>>2]=126494;j[o>>2]=127728;ve(128254,o);f=qe[j[a+104>>2]]()|0;if(f){continue}break}h=-1}oe=o+32|0;return h|0}function _v(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;o=oe-416|0;oe=o;y=j[b+92>>2];j[a+40>>2]=l[b+68>>1];if(!fk(b)){En(a,b);c=(j[j[a>>2]+12>>2]<<3)+2912|0;d=j[c>>2];if((d|0)!=759){z=a+1616|0;A=a+44|0;while(1){q=c;f=d+2144|0;c=k[f|0];a:{if(!c){break a}v=k[q+4|0]&2?A:z;t=0;m=0;w=1;while(1){d=c&255;f=f+1|0;if(c<<24>>24<=-1){c=d>>>0<240;e=d>>>0<224;d=(e?31:c?15:7)&d;n=e?1:c?2:3;e=n;c=f;while(1){d=k[c|0]&63|d<<6;c=c+1|0;e=e-1|0;if(e){continue}break}f=f+n|0}b:{if((d|0)!=124){c=0;e=j[j[a+36>>2]>>2];c:{if(!e){break c}e=j[e+92>>2];if(!e){break c}c=qe[j[j[e+12>>2]+12>>2]](e,d)|0}if(!c){break b}if(Th(b,c,1)){break b}d=j[b+84>>2];if(i[d+110>>1]<1){break b}c=0;x=i[d+108>>1];d:{if((x|0)<1){d=0;break d}B=j[d+120>>2];s=j[d+112>>2];e=-1;u=0;d=0;while(1){n=i[(u<<1)+B>>1];e:{if((n|0)<=(c|0)){break e}r=l[q+4>>1];g=r&1;if(r&2){if(g){while(1){g=j[s+(c<<3)>>2];r=(e|0)<0|(g|0)>(d|0);e=r?c:e;d=r?g:d;g=(c|0)==(n|0);c=c+1|0;if(!g){continue}break e}}while(1){g=j[s+(c<<3)>>2];r=(e|0)<0|(g|0)<(d|0);e=r?c:e;d=r?g:d;g=(c|0)==(n|0);c=c+1|0;if(!g){continue}break}break e}if(g){while(1){g=j[(s+(c<<3)|0)+4>>2];r=(e|0)<0|(g|0)>(d|0);e=r?c:e;d=r?g:d;g=(c|0)==(n|0);c=c+1|0;if(!g){continue}break e}}while(1){g=j[(s+(c<<3)|0)+4>>2];r=(e|0)<0|(g|0)<(d|0);e=r?c:e;d=r?g:d;g=(c|0)!=(n|0);c=c+1|0;if(g){continue}break}}c=n+1|0;u=u+1|0;if((x|0)!=(u|0)){continue}break}}if(w){j[(o+208|0)+(t<<2)>>2]=d;t=t+1|0;break b}j[(m<<2)+o>>2]=d;m=m+1|0}w=0}c=k[f|0];if(c){continue}break}if(!(m|t)){break a}f=1;if(t>>>0>=2){while(1){e=j[(o+208|0)+(f<<2)>>2];c=f;while(1){d=c-1|0;n=(o+208|0)+(d<<2)|0;s=j[n>>2];if((s|0)>(e|0)){j[(o+208|0)+(c<<2)>>2]=s;j[n>>2]=e;c=d;if(c){continue}}break}f=f+1|0;if((t|0)!=(f|0)){continue}break}}f=1;if(m>>>0>=2){while(1){e=j[(f<<2)+o>>2];c=f;while(1){d=c-1|0;n=(d<<2)+o|0;s=j[n>>2];if((s|0)>(e|0)){j[(c<<2)+o>>2]=s;j[n>>2]=e;c=d;if(c){continue}}break}f=f+1|0;if((m|0)!=(f|0)){continue}break}}c=j[v+216>>2];j[v+216>>2]=c+1;c=p(c,28)+v|0;f=c;f:{g:{if(!(!m|!t)){d=j[(o+208|0)+(t<<1&-4)>>2];j[c+220>>2]=d;e=j[(m<<1&-4)+o>>2];j[f+232>>2]=e;if((d|0)==(e|0)){break g}m=l[q+4>>1];if(m&1^(d|0)<=(e|0)){break f}n=f;f=(d+e|0)/2|0;j[n+232>>2]=f;j[c+220>>2]=f;break f}d=f;f=j[((m?m:t)<<1&-4)+(m?o:o+208|0)>>2];j[d+232>>2]=f;j[c+220>>2]=f}m=l[q+4>>1]}j[c+244>>2]=m<<1&2}c=q+8|0;d=j[q+8>>2];if((d|0)!=759){continue}break}}c=48;f=0;m=0;while(1){h:{if(a){d=0;q=j[j[a+36>>2]>>2];i:{if(!q){break i}q=j[q+92>>2];if(!q){break i}d=qe[j[j[q+12>>2]+12>>2]](q,c)|0}}j:{if(!d){break j}if(el(b,d,o+208|0)){break j}e=m&255;m=1;q=j[o+208>>2];if(!e){f=q;break j}if((f|0)==(q|0)){break j}e=0;break h}e=1;c=c+1|0;if((c|0)!=58){continue}}break}h[a+32|0]=e}Ph(b,y);oe=o+416|0;return 0}function wm(a,b){var c=0,d=0,e=0;if(!(k[a+108|0]&8?!(!a|!j[a+68>>2]):0)){Be(4);return}if(j[a+316>>2]==(b|0)){return}c=j[a+340>>2];if(c){qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;c=a+420|0;while(1){d=c;c=j[c+8>>2];if(c){continue}break}j[d+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;c=j[a+344>>2];if(c){j[c+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}a:{if(b){if(j[b>>2]!=268306){ve(125954,0);break a}if(j[b+36>>2]!=(a|0)){ve(126054,0);return}if(j[b+8>>2]!=2){ve(126097,0);return}c=j[b+40>>2];b=c?c:b}else{b=0}if(!(!b|j[a+316>>2])){c=j[a+220>>2];j[a+232>>2]=j[a+216>>2];j[a+236>>2]=c;c=j[a+252>>2];j[a+264>>2]=j[a+248>>2];j[a+268>>2]=c;j[a+284>>2]=j[a+280>>2];c=j[a+292>>2];j[a+296>>2]=j[a+288>>2];j[a+300>>2]=c;c=j[a+200>>2];j[a+204>>2]=j[a+196>>2];j[a+208>>2]=c;c=j[a+228>>2];j[a+240>>2]=j[a+224>>2];j[a+244>>2]=c;c=j[a+260>>2];j[a+272>>2]=j[a+256>>2];j[a+276>>2]=c}j[a+316>>2]=b;if((qe[j[a+68>>2]](a,b)|0)<=-1){break a}b:{if(b){j[a+216>>2]=0;j[a+220>>2]=0;j[a+224>>2]=j[b+12>>2];j[a+228>>2]=j[b+16>>2];Oe(a+248|0,0,16);j[a+288>>2]=1065353216;j[a+292>>2]=1065353216;d=b+16|0;c=b+12|0;break b}b=j[a+236>>2];j[a+216>>2]=j[a+232>>2];j[a+220>>2]=b;b=j[a+268>>2];j[a+248>>2]=j[a+264>>2];j[a+252>>2]=b;b=j[a+300>>2];j[a+288>>2]=j[a+296>>2];j[a+292>>2]=b;b=j[a+244>>2];j[a+224>>2]=j[a+240>>2];j[a+228>>2]=b;b=j[a+276>>2];j[a+256>>2]=j[a+272>>2];j[a+260>>2]=b;d=a+208|0;e=j[a+284>>2];c=a+204|0}b=a+340|0;c=j[c>>2];j[a+200>>2]=j[d>>2];j[a+196>>2]=c;j[a+280>>2]=e;c:{if(j[a+400>>2]){if(!xf(a+216|0,a+360|0,16)){break c}}d:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break d}c=Xe(1,28);if(c){break d}Be(0);break a}d=j[a+344>>2];j[(d?d+24|0:b)>>2]=c;j[a+344>>2]=c;if(!c){break a}j[c>>2]=1;j[c+4>>2]=0;d=a+216|0;Ge(c+8|0,d,16);if((qe[j[a+20>>2]](a,c)|0)<=-1){j[c>>2]=0;break a}Ge(a+360|0,d,16);j[a+400>>2]=1}e:{if(!(!j[a+404>>2]|j[a+280>>2]!=j[a+392>>2])){if(!xf(a+248|0,a+376|0,16)){break e}}f:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break f}c=Xe(1,28);if(c){break f}Be(0);break a}d=j[a+344>>2];j[(d?d+24|0:b)>>2]=c;j[a+344>>2]=c;if(!c){break a}j[c>>2]=2;j[c+4>>2]=j[a+280>>2];d=c+8|0;c=a+248|0;Ge(d,c,16);Ge(a+376|0,c,16);j[a+404>>2]=1;j[a+392>>2]=j[a+280>>2]}g:{if(j[a+336>>2]){break g}b=j[b>>2];if(!b){break g}c=a+420|0;qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;while(1){b=c;c=j[c+8>>2];if(c){continue}break}j[b+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}}}function At(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;f=j[a+12>>2]-1|0;d=j[a+16>>2];w=f+(d-b|0)|0;n=j[a+28>>2];o=j[n+48>>2];r=j[n+40>>2];x=o+r|0;q=j[n+52>>2]-1|0;y=-1<>2]^-1;z=-1<>2]^-1;s=(d+f|0)-257|0;m=j[a>>2]-1|0;t=(m+j[a+4>>2]|0)-5|0;u=j[n+80>>2];v=j[n+76>>2];g=j[n+60>>2];b=j[n+56>>2];A=j[n+44>>2];while(1){if(g>>>0<=14){b=((k[m+1|0]<>>d|0;i=l[e+2>>1];a:{b:{c:{c=k[e|0];if(!c){break c}B=n;d:{e:{f:{while(1){e=c&255;if(c&16){i=i&65535;e=e&15;g:{if(!e){d=m;break g}h:{if(e>>>0<=g>>>0){c=g;d=m;break h}c=g+8|0;b=(k[m+1|0]<>>e|0}c=b;if(g>>>0<=14){c=((k[d+1|0]<>>b|0;e=l[m+2>>1];c=k[m|0];if(c&16){break f}while(1){if(!(c&64)){c=(((-1<>>m|0;e=l[c+2>>1];c=k[c|0];if(!(c&16)){continue}break f}break}i=111438;m=d;break e}if(!(e&64)){e=(((-1<>>d|0;i=l[e+2>>1];c=k[e|0];if(!c){break c}continue}break}i=111460;d=11;if(e&32){break d}break e}p=e&65535;c=c&15;i:{if(c>>>0<=g>>>0){e=g;m=d;break i}b=(k[d+1|0]<>>0<=e>>>0){break i}b=(k[d+2|0]<>>c|0;j:{p=d+p|0;d=f-w|0;if(p>>>0>d>>>0){d=p-d|0;if(!(!j[n+7104>>2]|d>>>0<=A>>>0)){i=111408;break e}k:{l:{if(!o){c=(r-d|0)+q|0;break l}if(d>>>0>o>>>0){c=(x-d|0)+q|0;d=d-o|0;e=d;if(d>>>0>=i>>>0){break k}while(1){h[f+1|0]=k[c+1|0];f=f+1|0;c=c+1|0;e=e-1|0;if(e){continue}break}c=q;e=o;i=i-d|0;if(e>>>0>=i>>>0){break k}while(1){h[f+1|0]=k[c+1|0];f=f+1|0;c=c+1|0;e=e-1|0;if(e){continue}break}c=f-p|0;i=i-o|0;break k}c=(o-d|0)+q|0}e=d;if(d>>>0>=i>>>0){break k}while(1){h[f+1|0]=k[c+1|0];f=f+1|0;c=c+1|0;e=e-1|0;if(e){continue}break}c=f-p|0;i=i-d|0}if(i>>>0>=3){while(1){h[f+1|0]=k[c+1|0];h[f+2|0]=k[c+2|0];h[f+3|0]=k[c+3|0];f=f+3|0;c=c+3|0;i=i-3|0;if(i>>>0>2){continue}break}}if(!i){break b}h[f+1|0]=k[c+1|0];if((i|0)!=1){break j}f=f+1|0;break b}d=f-p|0;while(1){e=d;c=f;h[c+1|0]=k[d+1|0];h[c+2|0]=k[d+2|0];h[c+3|0]=k[d+3|0];f=c+3|0;d=d+3|0;i=i-3|0;if(i>>>0>2){continue}break}if(!i){break b}h[c+4|0]=k[e+4|0];if((i|0)==1){f=c+4|0;break b}h[c+5|0]=k[e+5|0];f=c+5|0;break b}h[f+2|0]=k[c+2|0];f=f+2|0;break b}j[a+24>>2]=i;d=29}j[B>>2]=d;break a}h[f+1|0]=i;f=f+1|0}if(f>>>0>=s>>>0){break a}if(m>>>0>>0){continue}}break}j[a+12>>2]=f+1;j[a+16>>2]=(s-f|0)+257;d=m-(g>>>3|0)|0;j[a>>2]=d+1;j[a+4>>2]=(t-d|0)+5;a=g&7;j[n+60>>2]=a;j[n+56>>2]=(-1<>2]=0;n=g?a+1548|0:a+516|0;j[n>>2]=0;if(b>>>0>=2){while(1){s=h&1;a:{if(!s){k=c+2|0;g=c;h=m;a=n;break a}g=c+2|0;k=c;h=q;a=p}l=a;a=l+4|0;r=i[k>>1];o=i[g>>1]-r|0;b:{c:{if(!h){break c}g=(l+(h<<5)|0)+4|0;d:{while(1){k=j[a>>2];if((k|0)>(r|0)){break d}if((k|0)==(r|0)){g=j[a+4>>2];if((o|0)<=-1){if((g|0)<=(o|0)){break b}j[a+4>>2]=o;break b}if((g|0)>=(o|0)){break b}j[a+4>>2]=o;break b}a=a+32|0;h=h-1|0;if(h){continue}break}a=g;break c}while(1){g=(h<<5)+a|0;h=h-1|0;k=(h<<5)+a|0;l=j[k+4>>2];j[g>>2]=j[k>>2];j[g+4>>2]=l;l=j[k+28>>2];j[g+24>>2]=j[k+24>>2];j[g+28>>2]=l;l=j[k+20>>2];j[g+16>>2]=j[k+16>>2];j[g+20>>2]=l;l=j[k+12>>2];j[g+8>>2]=j[k+8>>2];j[g+12>>2]=l;if(h){continue}break}}j[a+4>>2]=o;j[a>>2]=r;if(s){q=q+1|0;break b}m=m+1|0}c=c+4|0;h=1;b=b-2|0;if(b>>>0>1){continue}break}}j[p>>2]=q;j[n>>2]=m;if(d>>>0>=2){b=n+4|0;while(1){o=i[e+2>>1];l=i[e>>1]-o|0;k=b;e:{f:{if(!m){break f}k=((m<<5)+n|0)+4|0;a=b;h=m;while(1){c=j[a>>2];if((c|0)<=(o|0)){if((c|0)==(o|0)){c=j[a+4>>2];if((l|0)<=-1){if((c|0)<=(l|0)){break e}j[a+4>>2]=l;break e}if((c|0)>=(l|0)){break e}j[a+4>>2]=l;break e}a=a+32|0;h=h-1|0;if(h){continue}break f}break}while(1){c=(h<<5)+a|0;h=h-1|0;g=(h<<5)+a|0;k=j[g+4>>2];j[c>>2]=j[g>>2];j[c+4>>2]=k;k=j[g+28>>2];j[c+24>>2]=j[g+24>>2];j[c+28>>2]=k;k=j[g+20>>2];j[c+16>>2]=j[g+16>>2];j[c+20>>2]=k;k=j[g+12>>2];j[c+8>>2]=j[g+8>>2];j[c+12>>2]=k;if(h){continue}break}k=a}j[k+4>>2]=l;j[k>>2]=o;m=m+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}j[p>>2]=q;j[n>>2]=m;g:{if(!q){break g}h=p+4|0;a=q;while(1){h:{i:{switch(a|0){case 1:k=j[h+4>>2];g=j[h>>2];break h;case 0:break g;default:break i}}g=j[h>>2];k=j[h+32>>2]-g|0;b=j[h+4>>2];if((k|0)>=(b|0)){k=b;break h}j[h+4>>2]=k}j[h+12>>2]=g;j[h+8>>2]=g+k;h=h+32|0;a=a-1|0;continue}}j:{if(!m){break j}h=n+4|0;a=m;while(1){k:{l:{switch(a|0){case 1:k=j[h+4>>2];g=j[h>>2];break k;case 0:break j;default:break l}}g=j[h>>2];k=g-j[h+32>>2]|0;b=j[h+4>>2];if((k|0)<=(b|0)){k=b;break k}j[h+4>>2]=k}j[h+8>>2]=g;j[h+12>>2]=g+k;h=h+32|0;a=a-1|0;continue}}c=f<<1;if(q){h=p+4|0;j[p+16>>2]=j[p+16>>2]-f;a=j[p+12>>2];k=q-1|0;m:{if(!k){g=h;break m}while(1){b=h;d=j[h+44>>2];e=d-a|0;n:{if((e|0)<(c|0)){g=((e|0)/2|0)+a|0;a=g;break n}g=d-f|0;a=a+f|0}j[b+8>>2]=a;j[h+44>>2]=g;a=j[h+40>>2];g=h+32|0;h=g;k=k-1|0;if(k){continue}break}}j[g+8>>2]=a+f}if(m){h=n+4|0;j[n+16>>2]=j[n+16>>2]-f;a=j[n+12>>2];k=m-1|0;o:{if(!k){g=h;break o}while(1){b=h;d=j[h+44>>2];e=d-a|0;p:{if((e|0)>=(c|0)){g=d-f|0;a=a+f|0;break p}g=((e|0)/2|0)+a|0;a=g}j[b+8>>2]=a;j[h+44>>2]=g;a=j[h+40>>2];g=h+32|0;h=g;k=k-1|0;if(k){continue}break}}j[g+8>>2]=a+f}}function ow(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,k=0,n=0,o=0,p=0,q=0,r=0,s=0;e=oe-1552|0;oe=e;k=j[a+4>>2];f=j[j[k+488>>2]+12>>2];a:{if(!(j[j[k+128>>2]+48>>2]|m[k+16>>2]>c>>>0)){d=6;break a}g=d&1024?d|3:d;b:{if(b){j[a+172>>2]=j[b+16>>2];d=j[b+20>>2];break b}j[a+172>>2]=65536;d=65536}j[a+108>>2]=0;j[a+72>>2]=1869968492;j[a+176>>2]=d;p=g&3;d=qe[j[f>>2]](e+48|0,k,b,a,j[k+420>>2],j[k+528>>2],!p,g>>>16&15,427)|0;if(d){break a}n=g&1024;h[e+117|0]=n>>>10;j[e+1412>>2]=j[k+404>>2];j[e+1416>>2]=j[k+408>>2];j[e+1420>>2]=j[k+412>>2];j[e+1536>>2]=j[k+544>>2];j[e+1540>>2]=j[k+540>>2];d=wj(e+48|0,c,e+24|0);if(!d){c=e+1432|0;d=j[c+4>>2];j[e+40>>2]=j[c>>2];j[e+44>>2]=d;c=j[e+1428>>2];j[e+32>>2]=j[e+1424>>2];j[e+36>>2]=c;d=j[e+1444>>2];o=j[e+1440>>2];qe[j[f+4>>2]](e+48|0);j[a+124>>2]=j[a+124>>2]&1|4;c:{if(n){c=j[a+156>>2];b=a;g=j[e+80>>2];f=g+32768&-65536;if((g|0)<0){f=0-(32768-g&-65536)|0}j[b+32>>2]=f>>16;g=j[e+88>>2];f=g+32768&-65536;if((g|0)<0){f=0-(32768-g&-65536)|0}j[b+40>>2]=f>>16;b=j[e+44>>2];j[c+20>>2]=j[e+40>>2];j[c+24>>2]=b;b=j[e+36>>2];j[c+12>>2]=j[e+32>>2];j[c+16>>2]=b;j[c+32>>2]=d;j[c+28>>2]=o;h[c+8|0]=1;break c}c=a;f=j[e+88>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[c+40>>2]=n>>16;f=j[e+88>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[c+56>>2]=n>>16;h[j[a+156>>2]+8|0]=0;q=g&16;d:{if(q){c=j[k+472>>2]-j[k+464>>2]>>16;j[a+52>>2]=c;break d}f=j[e+92>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[c+52>>2]=n>>16;c=j[e+92>>2];f=c+32768&-65536;if((c|0)<0){f=0-(32768-c&-65536)|0}c=f>>16}j[a+72>>2]=1869968492;j[a+60>>2]=c;if(!(!b|l[b+14>>1]>23)){j[a+124>>2]=j[a+124>>2]|256}c=a+108|0;e:{if(!(j[e+36>>2]|(j[e+32>>2]!=65536|j[e+44>>2]!=65536))){if(!j[e+40>>2]){break e}}rh(c,e+32|0)}if(d|o){Tf(c,o,d)}b=j[a+40>>2];j[e+4>>2]=0;j[e>>2]=b;Qg(e,e+32|0);j[a+40>>2]=o+j[e>>2];j[e>>2]=0;j[e+4>>2]=j[a+52>>2];Qg(e,e+32|0);j[a+52>>2]=d+j[e+4>>2];if(!(g&1)){g=j[a+176>>2];o=j[a+172>>2];d=j[e+64>>2];b=j[d+4>>2];f:{if(j[e+120>>2]?!p:0){break f}d=i[d+2>>1];if((d|0)<1){break f}d=d&65535;while(1){r=b,s=ye(j[b>>2],o),j[r>>2]=s;r=b,s=ye(j[b+4>>2],g),j[r+4>>2]=s;b=b+8|0;f=(d|0)>1;d=d-1|0;if(f){continue}break}}r=a,s=ye(j[a+40>>2],o),j[r+40>>2]=s;r=a,s=ye(j[a+52>>2],g),j[r+52>>2]=s}Rg(c,e+8|0);b=j[e+8>>2];j[a+24>>2]=j[e+16>>2]-b;c=j[e+12>>2];d=j[e+20>>2];j[a+36>>2]=d;j[a+32>>2]=b;j[a+28>>2]=d-c;if(!q){break c}Ci(a+24|0,j[a+52>>2])}j[a+136>>2]=j[e+24>>2];j[a+140>>2]=j[e+28>>2];d=0;b=j[j[k+128>>2]+48>>2];if(!b){break a}qe[j[j[b>>2]+4>>2]](j[b+4>>2],e+24|0);j[a+136>>2]=0;j[a+140>>2]=0;break a}qe[j[f+4>>2]](e+48|0)}oe=e+1552|0;return d|0}function bh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-80|0;oe=c;d=j[67085];a:{if(!d){ve(151717,0);h=-1;break a}if(!(j[a>>2]==(d+316|0)?a:0)){ve(150417,0);h=-1;break a}if(b){h=0;if(j[a+116>>2]){break a}}d=0;e=Oh(a);if((e|0)>=0){d=j[j[67085]+304>>2]+p(e,72)|0}b:{if(!b){break b}e=j[d+60>>2];if(!e|(a|0)==(e|0)){break b}f=j[67085];if(!f){ve(151717,0);break b}if(j[e>>2]!=(f+316|0)){ve(150417,0);break b}if(!j[f+100>>2]|k[e+48|0]&64){break b}bh(e,0);f=j[67085];g=j[f+100>>2];if(!g){break b}qe[g|0](f,e)}c:{if((j[a+48>>2]^j[a+52>>2])&4097?0:(j[d+60>>2]==(a|0)|0)==(b|0)){break c}e=j[j[67085]+308>>2];if(e){while(1){d:{e:{if((a|0)!=(e|0)){if((j[e+48>>2]&69)!=5){break d}f=Oh(e);if((f|0)>=0){f=j[j[67085]+304>>2]+p(f,72)|0}else{f=0}if((f|0)==(d|0)){break e}break d}if(!b){break d}}Oe(c+8|0,0,20);if(MH(e,c+8|0)){break d}b=0;b=j[e+24>>2]==j[c+12>>2]?j[e+28>>2]==j[c+16>>2]:b;f:{if((j[a+48>>2]&4097)!=4097){if((LH(d,c+8|0)|0)>=0){break f}h=-1;break a}g=j[d+28>>2];f=c- -64|0;j[f>>2]=j[d+24>>2];j[f+4>>2]=g;j[c+72>>2]=j[d+32>>2];f=j[d+20>>2];j[c+56>>2]=j[d+16>>2];j[c+60>>2]=f;f=j[d+48>>2];j[c+40>>2]=j[d+44>>2];j[c+44>>2]=f;j[c+48>>2]=j[d+52>>2];f=j[d+40>>2];j[c+32>>2]=j[d+36>>2];j[c+36>>2]=f;if(!xf(c+56|0,c+32|0,20)){break f}g=j[67085];f=j[g+32>>2];if(f){h=-1;if((qe[f|0](g,d,c+56|0)|0)<=-1){break a}g=j[c+60>>2];f=d+36|0;j[f>>2]=j[c+56>>2];j[f+4>>2]=g;j[d+52>>2]=j[c+72>>2];f=c- -64|0;g=j[f+4>>2];j[d+44>>2]=j[f>>2];j[d+48>>2]=g;break f}if((ve(151842,0)|0)>=0){break f}h=-1;break a}f=j[67085];g=j[f+116>>2];if(g){qe[g|0](f,e,d,1)}j[d+60>>2]=e;g:{if(!b){Cf(e,5,j[c+12>>2],j[c+16>>2]);break g}j[e+112>>2]=0;Cf(e,6,j[e+24>>2],j[e+28>>2])}if(j[67024]==(e|0)){b=c+32|0;d=c+56|0;if(d){j[d>>2]=j[67025]}if(b){j[b>>2]=j[67026]}Dm(e,j[c+56>>2],j[c+32>>2])}j[a+52>>2]=j[a+48>>2];break c}e=j[e+152>>2];if(e){continue}break}}e=j[d+28>>2];b=c- -64|0;j[b>>2]=j[d+24>>2];j[b+4>>2]=e;j[c+72>>2]=j[d+32>>2];b=j[d+20>>2];j[c+56>>2]=j[d+16>>2];j[c+60>>2]=b;b=j[d+48>>2];j[c+40>>2]=j[d+44>>2];j[c+44>>2]=b;j[c+48>>2]=j[d+52>>2];b=j[d+40>>2];j[c+32>>2]=j[d+36>>2];j[c+36>>2]=b;h:{if(!xf(c+56|0,c+32|0,20)){break h}b=j[67085];e=j[b+32>>2];if(!e){ve(151842,0);break h}if((qe[e|0](b,d,c+56|0)|0)<0){break h}e=j[c+60>>2];b=d+36|0;j[b>>2]=j[c+56>>2];j[b+4>>2]=e;j[d+52>>2]=j[c+72>>2];b=c- -64|0;e=j[b+4>>2];j[d+44>>2]=j[b>>2];j[d+48>>2]=e}b=j[67085];e=j[b+116>>2];if(e){qe[e|0](b,a,d,0)}j[d+60>>2]=0;j[a+112>>2]=0;Cf(a,6,j[a+24>>2],j[a+28>>2]);if(j[67024]==(a|0)){b=c+32|0;d=c+56|0;if(d){j[d>>2]=j[67025]}if(b){j[b>>2]=j[67026]}Dm(a,j[c+56>>2],j[c+32>>2])}j[a+52>>2]=j[a+48>>2]}h=0}f=h;oe=c+80|0;return f}function mw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=oe-32|0;oe=e;o=j[b+28>>2];j[e+4>>2]=2;d=He(o,44,e+4|0);a:{if(j[e+4>>2]){break a}c=_e(b,j[b+4>>2]);j[e+4>>2]=c;if(c){break a}c=j[a+472>>2];j[d+12>>2]=j[a+468>>2];j[d+16>>2]=c;c=j[a+464>>2];j[d+4>>2]=j[a+460>>2];j[d+8>>2]=c;j[d+20>>2]=j[a+472>>2];j[d+24>>2]=j[a+464>>2];h=j[a+488>>2];c=j[h+24>>2];b:{if(c){f=qe[j[c>>2]](e+8|0,j[b+28>>2],j[b+32>>2],j[b+36>>2])|0;j[e+4>>2]=f;if(!f){j[e+24>>2]=a+132;j[e+20>>2]=428;j[e+16>>2]=d;t=e,u=qe[j[j[h+24>>2]+8>>2]](e+8|0)|0,j[t+4>>2]=u;qe[j[j[h+24>>2]+4>>2]](e+8|0);f=j[e+4>>2]}if((f&255)==2){c=j[b+4>>2];if(c>>>0<7){break b}g=j[b+32>>2];if(k[g+1|0]>3|(c|0)!=(k[g+2|0]|k[g+3|0]<<8|(k[g+4|0]<<16|k[g+5|0]<<24))){break b}f=0;j[e+28>>2]=0;r=j[b+28>>2];c:{d:{h=j[b+36>>2];if(h>>>0>>0){j[e+28>>2]=2;break d}c=(g+99|0)+(k[g+99|0]|k[g+100|0]<<8)|0;if(h>>>0>>0|(k[c+18|0]|k[c+19|0]<<8)>>>0<18){break c}c=k[c+32|0]|k[c+33|0]<<8|(k[c+34|0]<<16|k[c+35|0]<<24);if(!c){break c}q=c+g|0;m=q+2|0;if(h>>>0>>0){j[e+28>>2]=2;break d}c=k[q|0]|k[q+1|0]<<8;j[d+40>>2]=c;if(h>>>0<(c<<2)+m>>>0){j[e+28>>2]=2;break d}if(!c){break c}f=xe(r,16,0,c,0,e+28|0);j[d+36>>2]=f;if(j[e+28>>2]){break d}p=j[d+40>>2];s=j[a+92>>2];g=j[a+36>>2];e:{if((g|0)<1){break e}h=j[a+40>>2];while(1){c=j[h+(n<<2)>>2];if(l[c+8>>1]!=7){n=n+1|0;if((g|0)!=(n|0)){continue}break e}break}c=Ph(a,c);j[e+28>>2]=c;if(c){break d}}c=p<<2;if((c|0)>=1){g=q+(c|2)|0;while(1){h=k[m|0];n=0;c=a;f:{if(!c){break f}p=j[c+92>>2];if(!p){break f}n=qe[j[j[p+12>>2]+12>>2]](p,h)|0}j[f>>2]=n;h=k[m+1|0];n=0;g:{if(!c){break g}c=j[a+92>>2];if(!c){break g}n=qe[j[j[c+12>>2]+12>>2]](c,h)|0}j[f+4>>2]=n;c=(k[m+2|0]|k[m+3|0]<<8)<<16>>16;j[f+12>>2]=0;j[f+8>>2]=c;f=f+16|0;m=m+4|0;if(g>>>0>m>>>0){continue}break}}h:{if(s){f=Ph(a,s);j[e+28>>2]=f;break h}f=j[e+28>>2]}if(f){break d}eg(j[d+36>>2],j[d+40>>2],16,429);if(j[e+28>>2]){break d}f=0;break c}c=j[d+36>>2];if(c){qe[j[r+8>>2]](r,c)}j[d+36>>2]=0;j[d+40>>2]=0;f=j[e+28>>2]}j[e+4>>2]=f}if(f){break b}}c=j[d+8>>2];j[a+460>>2]=j[d+4>>2];j[a+464>>2]=c;c=j[d+16>>2];j[a+468>>2]=j[d+12>>2];j[a+472>>2]=c;j[a+52>>2]=j[d+4>>2]>>16;j[a+56>>2]=j[d+8>>2]>>16;j[a+60>>2]=j[d+12>>2]+65535>>16;j[a- -64>>2]=j[d+16>>2]+65535>>16;i[a+70>>1]=j[d+20>>2]+32768>>>16;i[a+72>>1]=j[d+24>>2]+32768>>>16;if(!j[d+40>>2]){break b}j[a+492>>2]=d;j[a+8>>2]=j[a+8>>2]|64;d=0}Ve(b)}if(d){a=j[d+36>>2];if(a){qe[j[o+8>>2]](o,a)}j[d+36>>2]=0;j[d+40>>2]=0;a=j[d+28>>2];if(a){qe[j[o+8>>2]](o,a)}j[d+28>>2]=0;j[d+32>>2]=0;if(d){qe[j[o+8>>2]](o,d)}}oe=e+32|0;return j[e+4>>2]}function Rk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;e=oe-48|0;oe=e;k=j[a+100>>2];i=j[a+104>>2];j[e+40>>2]=0;a:{b:{if(j[a+676>>2]){break b}c=qe[j[a+508>>2]](a,1735811442,i,e+44|0)|0;j[e+40>>2]=c;if(c){break a}c=qe[j[a+508>>2]](a,1719034226,i,e+44|0)|0;j[e+40>>2]=c;if(c){break a}r=j[i+8>>2];c=$e(i,90592,e+24|0);j[e+40>>2]=c;if(c){break a}c:{d:{if(j[e+24>>2]!=65536|l[e+34>>1]!=20){break d}c=l[e+32>>1];if(c>>>0>16382){break d}d=l[e+38>>1];if((d|0)!=((c<<2)+4|0)){break d}g=l[e+36>>1];if(g>>>0>32511){break d}if(m[e+44>>2]>=l[e+28>>1]+(p(d,g)+p(c,20)|0)>>>0){break c}}j[e+40>>2]=8;break a}c=He(k,40,e+40|0);j[a+676>>2]=c;if(j[e+40>>2]){break a}d=c;c=l[e+36>>1];c=((c<<3)+p(l[e+32>>1],(c<<2)+29|0)|0)+20|0;j[d+12>>2]=c;g=He(k,c,e+40|0);if(j[e+40>>2]){break a}j[j[a+676>>2]+8>>2]=g;f=l[e+32>>1];j[g+4>>2]=-1;j[g>>2]=f;n=l[e+36>>1];o=g+20|0;q=o+p(f,24)|0;j[g+16>>2]=q;j[g+12>>2]=o;j[g+8>>2]=n;d=(n<<3)+q|0;if(n){c=0;s=f<<2;while(1){j[(c<<3)+q>>2]=d;d=d+s|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}if(f){c=0;while(1){j[p(c,24)+o>>2]=d;d=d+5|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=Fe(i,l[e+28>>1]+r|0);j[e+40>>2]=c;if(c){break a}if(l[e+32>>1]){d=j[g+12>>2];c=0;while(1){f=$e(i,90640,e);j[e+40>>2]=f;if(f){break a}f=j[e>>2];j[d+16>>2]=f;j[d+4>>2]=j[e+4>>2];j[d+8>>2]=j[e+8>>2];j[d+12>>2]=j[e+12>>2];j[d+20>>2]=l[e+18>>1];h[j[d>>2]]=f>>>24;h[j[d>>2]+1|0]=l[d+18>>1];h[j[d>>2]+2|0]=j[d+16>>2]>>>8;h[j[d>>2]+3|0]=j[d+16>>2];h[j[d>>2]+4|0]=0;d=d+24|0;c=c+1|0;f=l[e+32>>1];if(c>>>0>>0){continue}break}d=(f<<2)+4|0}else{d=4}if(!l[e+36>>1]){break b}c=j[g+16>>2];d=_e(i,d);j[e+40>>2]=d;if(d){break a}g=0;while(1){t=c,u=af(i),j[t+4>>2]=u;af(i);if(l[e+32>>1]){d=0;while(1){f=Ef(i);j[j[c>>2]+(d<<2)>>2]=f;d=d+1|0;if(d>>>0>1]){continue}break}}Ve(i);g=g+1|0;if(g>>>0>=l[e+36>>1]){break b}d=_e(i,(l[e+32>>1]<<2)+4|0);j[e+40>>2]=d;c=c+8|0;if(!d){continue}break}break a}if(!b){break a}i=He(k,j[j[a+676>>2]+12>>2],e+40|0);if(j[e+40>>2]){break a}a=j[a+676>>2];g=Ae(i,j[a+8>>2],j[a+12>>2]);i=g+20|0;j[g+12>>2]=i;k=j[g>>2];d=p(k,24)+i|0;j[g+16>>2]=d;f=j[g+8>>2];a=d+(f<<3)|0;if(f){c=0;n=k<<2;while(1){j[d+(c<<3)>>2]=a;a=a+n|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(k){d=0;while(1){j[i>>2]=a;c=i;n=c;e:{f:{g:{f=j[c+16>>2];if((f|0)<=2003072103){if((f|0)==1869640570){break g}if((f|0)!=1936486004){break e}c=90697;break f}c=90672;if((f|0)==2003265652){break f}if((f|0)!=2003072104){break e}c=90679;break f}c=90685}j[n>>2]=c}i=i+24|0;a=a+5|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}j[b>>2]=g}oe=e+48|0;return j[e+40>>2]}function tm(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;g=oe-16|0;oe=g;a:{if(!(j[a>>2]==268305?a:0)){ve(125709,0);break a}if(!b){ve(125903,0);break a}f=1;c=f;if(b){d=j[j[b+52>>2]+68>>2]>>>8&1}else{d=0}e=j[b+4>>2];f=j[e+24>>2]?c:d;c=j[e+4>>2];if(c){f=j[c>>2]<1?f:1}b:{c:{c=j[e+24>>2];if(b){d=j[j[b+52>>2]+68>>2]>>>8&1}else{d=0}d:{if(!(c|!d)){e:{c=j[e>>2];if((c|0)!=370546692){if((c|0)!=374740996){i=j[a+112>>2];break d}c=0;i=j[a+112>>2];if((i|0)<=0){break c}break e}c=0;i=j[a+112>>2];if((i|0)<=0){break c}while(1){d=372645892;if(j[((c<<2)+a|0)+116>>2]==372645892){break b}c=c+1|0;if((i|0)>(c|0)){continue}break}break d}while(1){d=376840196;if(j[((c<<2)+a|0)+116>>2]==376840196){break b}c=c+1|0;if((i|0)>(c|0)){continue}break}break d}i=j[a+112>>2];if((i|0)<1){break c}d=j[e>>2];c=0;while(1){if(j[((c<<2)+a|0)+116>>2]!=(d|0)){c=c+1|0;if((i|0)>(c|0)){continue}break d}break}if(d){break b}}e=j[a+116>>2];if((i|0)<1){d=e;break b}c=0;d=e;while(1){if(!((d&-268435456)!=268435456?d:0)){l=d>>>24&15;f:{if(l-4>>>0<=2){m=0;l=(d>>>20&15)-3|0;if(l>>>0>=6){break f}m=j[(l<<2)+126272>>2];break f}m=0;if(l-7>>>0>4){break f}l=(d>>>20&15)-2|0;if(l>>>0>=5){break f}m=j[(l<<2)+126296>>2]}if((f|0)==(m|0)){break b}}c=c+1|0;if((i|0)<=(c|0)){d=e;break b}else{d=j[((c<<2)+a|0)+116>>2];continue}}}d=j[a+116>>2]}c=um(a,d,0,j[b+8>>2],j[b+12>>2]);if(!c){c=0;break a}g:{h:{i:{a=j[b+4>>2];e=j[a>>2]!=(d|0);a=j[a+24>>2];if(b){f=j[j[b+52>>2]+68>>2]>>>8&1}else{f=0}if(!(e|(f?a:0))){if(!(k[b|0]&2)){break i}Sg(b);Ei(c,0,j[b+20>>2],j[b+16>>2]);pg(b);break h}a=km(d);if(!a){break g}e=em(b,a);im(a);if(!e){break g}Ei(c,0,j[e+20>>2],j[e+16>>2]);lf(e);break h}Ei(c,0,j[b+20>>2],j[b+16>>2])}Yq(b,g+15|0,g+14|0,g+13|0);d=k[g+13|0];l=k[g+14|0];f=k[g+15|0];e=(d&(l&f))!=255;a=c;while(1){j:{if(j[a>>2]!=268306){ve(125954,0);break j}h[a+34|0]=d;h[a+33|0]=l;h[a+32|0]=f;j[a+20>>2]=e|j[a+20>>2]&-2;a=j[a+40>>2];if(a){continue}}break}a=g+12|0;if(b){if(a){h[a|0]=k[j[b+52>>2]+79|0]}}d=k[g+12|0];e=((d|0)!=255)<<1;a=c;while(1){k:{if(!(j[a>>2]==268306?a:0)){ve(125954,0);break k}h[a+35|0]=d;j[a+20>>2]=e|j[a+20>>2]&-3;a=j[a+40>>2];if(a){continue}}break}if(b){a=j[j[b+52>>2]+68>>2]>>>8&1}else{a=0}if(a){a=c;while(1){if(!(j[a>>2]==268306?a:0)){ve(125954,0);break a}j[a+24>>2]=1;a=j[a+40>>2];if(a){continue}break}break a}_j(b,g+8|0);f=j[g+8>>2];e=f>>>0>4;a=c;while(1){if(!(j[a>>2]==268306?a:0)){ve(125954,0);break a}d=j[a+36>>2];l:{if((f|0)!=3?!e:0){break l}b=j[d+12>>2];if(b){if(qe[b|0](d,f)|0){break l}}Be(4);break a}j[a+24>>2]=f;a=j[a+40>>2];if(a){continue}break}break a}yh(c);c=0}oe=g+16|0;return c}function Qh(a,b,c){var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;w=oe-16|0;oe=w;a:{if(!a){x=ve(138898,0);break a}if(k[j[a+4>>2]+8|0]<=7){x=ve(138930,0);break a}b:{if(b){d=w;if(Tg(b,a+36|0,d)){break b}break a}if(j[a+44>>2]<1|j[a+48>>2]<1){break a}d=a+36|0}b=j[a+20>>2];if(!b){x=ve(138973,0);break a}t=j[a+16>>2];a=k[j[a+4>>2]+9|0];e=(b+p(t,j[d+4>>2])|0)+p(a,j[d>>2])|0;c:{switch(a-1|0){case 0:f=j[d+12>>2];if(!f){break a}a=c<<8|c;v=a<<16|a;r=j[d+8>>2];n=r-2|0;u=r-1|0;s=(r|0)<4;while(1){b=r;l=e;d:{if(s){break d}g=u;m=g;d=e;a=d;l=a;e:{switch((a&3)-1|0){case 0:h[e|0]=c;d=e+1|0;g=n;case 1:h[d|0]=c;m=g-1|0;a=d+1|0;case 2:h[a|0]=c;l=a+1|0;b=m;break;default:break e}}a=b>>>2|0;if(!a){break d}q=a+3>>>2|0;o=l;d=l;m=d;g=d;f:{g:{switch((a&3)-1|0){default:a=0;break f;case 0:a=3;break f;case 1:a=2;break f;case 2:break g}}a=1}while(1){h:{switch(a|0){case 0:j[o>>2]=v;d=o+4|0;a=1;continue;case 1:j[d>>2]=v;m=d+4|0;a=2;continue;case 2:j[m>>2]=v;g=m+4|0;a=3;continue;default:break h}}j[g>>2]=v;q=q-1|0;if(!q){break d}o=g+4|0;a=0;continue}}f=f-1|0;d=b&3;i:{if(!d){break i}a=(b&-4)+l|0;j:{switch(d-1|0){case 2:h[a|0]=c;a=a+1|0;case 1:h[a|0]=c;a=a+1|0;break;case 0:break j;default:break i}}h[a|0]=c}e=e+t|0;if(f){continue}break}break a;case 3:m=j[d+12>>2];if(!m){break a}n=j[d+8>>2];u=n&3;o=n+3>>>2|0;while(1){m=m-1|0;k:{if(!n){break k}d=o;f=e;b=e;l=e;g=e;l:{m:{switch(u-1|0){default:a=0;break l;case 0:a=3;break l;case 1:a=2;break l;case 2:break m}}a=1}while(1){n:{switch(a|0){case 0:j[f>>2]=c;b=f+4|0;a=1;continue;case 1:j[b>>2]=c;l=b+4|0;a=2;continue;case 2:j[l>>2]=c;g=l+4|0;a=3;continue;default:break n}}j[g>>2]=c;d=d-1|0;if(!d){break k}f=g+4|0;a=0;continue}}e=e+t|0;if(m){continue}break}break a;case 2:f=j[d+12>>2];if(!f){break a}g=c>>>16|0;l=c>>>8|0;d=j[d+8>>2];while(1){f=f-1|0;a=e;b=d;if(d){while(1){h[a+2|0]=g;h[a+1|0]=l;h[a|0]=c;a=a+3|0;b=b-1|0;if(b){continue}break}}e=e+t|0;if(f){continue}break}break a;case 1:break c;default:break a}}f=j[d+12>>2];if(!f){break a}s=c<<16|c;n=j[d+8>>2];u=n-1|0;r=(n|0)<2;while(1){b=n;l=e;o:{if(r){break o}if(e&2){i[e>>1]=c;l=e+2|0;b=u}a=b>>>1|0;if(!a){break o}q=a+3>>>2|0;o=l;d=l;m=d;g=d;p:{q:{switch((a&3)-1|0){default:a=0;break p;case 0:a=3;break p;case 1:a=2;break p;case 2:break q}}a=1}while(1){r:{switch(a|0){case 0:j[o>>2]=s;d=o+4|0;a=1;continue;case 1:j[d>>2]=s;m=d+4|0;a=2;continue;case 2:j[m>>2]=s;g=m+4|0;a=3;continue;default:break r}}j[g>>2]=s;q=q-1|0;if(!q){break o}o=g+4|0;a=0;continue}}f=f-1|0;if(b&1){i[((b<<1)+l|0)-2>>1]=c}e=e+t|0;if(f){continue}break}}oe=w+16|0;return x}function hn(a,b,c){var d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0;a:{b:{c:{n=k[a+443|0];if(n){d=j[a+348>>2];f=j[a+404>>2];if((f|0)!=((n>>>0>=8?p(n>>>3|0,d):p(d,n)+7>>>3|0)|0)?f:0){break c}if(!d){break b}m=j[a+384>>2];o=k[a+433|0];r=p(d,n);g=r&7;d:{if(!g){f=0;q=0;break d}f=((n>>>0>7?p(n>>>3|0,d):r+7>>>3|0)+b|0)-1|0;s=k[f|0];q=255<>>g|0}m=m+1|0;e:{f:{g:{if(!k[a+432|0]|o>>>0>5){break g}e=j[a+216>>2];if(!(e&2)){break g}h:{i:{switch(c|0){case 0:g=o&1;break h;case 1:break i;default:break g}}g=1;if(!(o&1)){break g}}g=g<<3-(o+1>>>1|0)&7;if(g>>>0>=d>>>0){break e}if(n>>>0<=7){g=(n|0)==1?0:(n|0)==2?1:2;r=8/(n>>>0)|0;j:{if(e&65536){a=(p(g,12)+(o<<1&508)|0)+101088|0;if(c){break j}a=(p(g,24)+(o<<2)|0)+100944|0;break j}a=(p(g,12)+(o<<1&508)|0)+101124|0;if(c){break j}a=(p(g,24)+(o<<2)|0)+101016|0}a=j[a>>2];while(1){g=a&255;if(g){c=b;if((g|0)!=255){o=k[m|0]&a|k[b|0]&(a^-1)}else{o=k[m|0]}h[c|0]=o}a=lP(a,24);m=m+1|0;b=b+1|0;c=d>>>0>r>>>0;d=d-r|0;if(c){continue}break}break f}if(n&7){break a}q=n>>>3|0;g=p(q,g);e=p(d,q)-g|0;f=q;if(c){a=q<<(6-o>>>1);f=a>>>0>e>>>0?e:a}a=g+m|0;d=b+g|0;c=q<<(7-o>>>1);k:{switch(f-1|0){case 2:h[d|0]=k[a|0];h[d+1|0]=k[a+1|0];h[d+2|0]=k[a+2|0];if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;h[d|0]=k[a|0];h[d+1|0]=k[a+1|0];h[d+2|0]=k[a+2|0];e=e-c|0;if(c>>>0>>0){continue}break}break e;case 0:h[d|0]=k[a|0];if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;h[d|0]=k[a|0];e=e-c|0;if(c>>>0>>0){continue}break}break e;case 1:while(1){h[d|0]=k[a|0];h[d+1|0]=k[a+1|0];if(c>>>0>=e>>>0){break e}d=c+d|0;a=a+c|0;e=e-c|0;if(e>>>0>1){continue}break}h[d|0]=k[a|0];return;default:break k}}l:{if(d&1|f>>>0>15){break l}b=a|c;if((b|f)&1){break l}if(!((b|d|f)&3)){b=c-f>>>2<<2;while(1){m=f;while(1){j[d>>2]=j[a>>2];d=d+4|0;a=a+4|0;m=m-4|0;if(m){continue}break}if(c>>>0>=e>>>0){break e}a=a+b|0;d=b+d|0;e=e-c|0;if(f>>>0<=e>>>0){continue}break}while(1){h[d|0]=k[a|0];d=d+1|0;a=a+1|0;e=e-1|0;if(e){continue}break}break e}b=c-f>>>1<<1;while(1){m=f;while(1){i[d>>1]=l[a>>1];d=d+2|0;a=a+2|0;m=m-2|0;if(m){continue}break}if(c>>>0>=e>>>0){break e}a=a+b|0;d=b+d|0;e=e-c|0;if(f>>>0<=e>>>0){continue}break}while(1){h[d|0]=k[a|0];d=d+1|0;a=a+1|0;e=e-1|0;if(e){continue}break}break e}Ae(d,a,f);if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;e=e-c|0;f=e>>>0>>0?e:f;Ae(d,a,f);if(c>>>0>>0){continue}break}break e}Ae(b,m,n>>>0>7?p(n>>>3|0,d):r+7>>>3|0)}if(!f){break e}h[f|0]=k[f|0]&(q^-1)|q&s}return}Ye(a,100854);z()}Ye(a,100879);z()}Ye(a,100915);z()}Ye(a,101160);z()}function _q(a,b,c,d){var e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;q=oe-32|0;oe=q;o=j[c+4>>2];a:{if(j[j[a+4>>2]>>2]!=j[o>>2]){m=ve(149740,0);break a}v=k[o+9|0];b:{if(b){o=j[b>>2];c:{if((o|0)<0){break c}g=j[b+4>>2];if((g|0)<0|j[a+8>>2]<(o+j[b+8>>2]|0)){break c}if(j[a+12>>2]>=(g+j[b+12>>2]|0)){break b}}m=ve(149777,0);break a}j[q+16>>2]=0;j[q+20>>2]=0;j[q+24>>2]=j[a+8>>2];j[q+28>>2]=j[a+12>>2];b=q+16|0}d:{if(d){o=j[d>>2];e:{if((o|0)<0){break e}g=j[d+4>>2];if((g|0)<0|j[c+8>>2]<(o+j[d+8>>2]|0)){break e}if(j[c+12>>2]>=(g+j[d+12>>2]|0)){break d}}m=ve(149807,0);break a}j[q>>2]=0;j[q+4>>2]=0;j[q+8>>2]=j[c+8>>2];j[q+12>>2]=j[c+12>>2];d=q}f:{w=j[c>>2]&2;if(!w){break f}if((Sg(c)|0)>-1){break f}m=ve(149842,0);break a}g:{x=j[a>>2]&2;if(!x){break g}if((Sg(a)|0)>-1){break g}if(w){pg(c)}m=ve(149877,0);break a}o=j[d+12>>2];z=(j[b+12>>2]<<16)/(o|0)|0;if((o|0)>=1){u=j[d+4>>2];A=o+u|0;y=j[b+4>>2];o=0;B=v-1|0;s=65536;while(1){g=p(j[d>>2],v);r=j[c+20>>2]+p(j[c+16>>2],u)|0;if((s|0)>=65536){e=(s-((s|0)<131071?s:131071)|0)+65535|0;m=(e>>>16|0)+y|0;o=(j[a+20>>2]+p(m,j[a+16>>2])|0)+p(j[b>>2],v)|0;y=m+1|0;s=(s-(e&-65536)|0)-65536|0}m=g+r|0;h:{i:{switch(B|0){case 0:n=j[d+8>>2];if((n|0)<1){break h}r=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;g=o;while(1){if((e|0)>=65536){f=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(f&-65536)|0)-65536|0;f=(f>>>16|0)+g|0;g=f+1|0;f=k[f|0]}h[m|0]=f;e=e+r|0;m=m+1|0;t=(n|0)>1;n=n-1|0;if(t){continue}break}break h;case 1:n=j[d+8>>2];if((n|0)<1){break h}r=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;g=o;while(1){if((e|0)>=65536){f=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(f&-65536)|0)-65536|0;f=(f>>>15&131070)+g|0;g=f+2|0;f=l[f>>1]}i[m>>1]=f;e=e+r|0;m=m+2|0;t=(n|0)>1;n=n-1|0;if(t){continue}break}break h;case 2:n=j[d+8>>2];if((n|0)<1){break h}C=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;t=0;g=0;r=o;while(1){if((e|0)>=65536){g=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(g&-65536)|0)-65536|0;g=p(g>>>16|0,3)+r|0;r=g+3|0;f=k[g+2|0];t=k[g+1|0];g=k[g|0]}h[m+2|0]=f;h[m+1|0]=t;h[m|0]=g;e=e+C|0;m=m+3|0;D=(n|0)>1;n=n-1|0;if(D){continue}break}break h;case 3:break i;default:break h}}n=j[d+8>>2];if((n|0)<1){break h}r=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;g=o;while(1){if((e|0)>=65536){f=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(f&-65536)|0)-65536|0;f=(f>>>14&262140)+g|0;g=f+4|0;f=j[f>>2]}j[m>>2]=f;e=e+r|0;m=m+4|0;t=(n|0)>1;n=n-1|0;if(t){continue}break}}s=s+z|0;u=u+1|0;if((A|0)>(u|0)){continue}break}}if(w){pg(c)}m=0;if(!x){break a}pg(a)}oe=q+32|0;return m}function qo(a,b,c){var d=0,e=0,f=0,g=0,n=0,o=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(j[a+100>>2]){case 0:f=j[a+72>>2];if((f|0)<(c|0)){j:{if(j[a+92>>2]){e=j[a+40>>2];break j}e=j[a+40>>2];j[a+92>>2]=e;j[a+88>>2]=e;e=e+32|0;j[a+40>>2]=e}if(m[a+36>>2]>e>>>0){g=j[a+4>>2];n=j[a+8>>2];d=j[a+88>>2];j[d+16>>2]=0;j[d+20>>2]=0;j[d+8>>2]=e;j[d+28>>2]=0;j[d+4>>2]=0;i[d+12>>1]=k[a+176|0]|((n|0)>(((f+g|0)-1&0-g)-f|0)?8:40);if(!j[a+96>>2]){j[a+96>>2]=d}break f}break a}if((c|0)>=(f|0)){break c}k:{if(j[a+92>>2]){e=j[a+40>>2];break k}e=j[a+40>>2];j[a+92>>2]=e;j[a+88>>2]=e;e=e+32|0;j[a+40>>2]=e}if(m[a+36>>2]>e>>>0){g=j[a+4>>2];n=j[a+8>>2];d=j[a+88>>2];j[d+16>>2]=0;j[d+20>>2]=0;j[d+8>>2]=e;j[d+28>>2]=0;j[d+4>>2]=0;e=k[a+176|0];i[d+12>>1]=(n|0)>(f&g-1)?e:e|16;if(!j[a+96>>2]){j[a+96>>2]=d}break h}break a;case 2:break g;case 1:break i;default:break c}}d=j[a+72>>2];if((d|0)<=(c|0)){break e}f=j[a+40>>2];e=j[a+88>>2];g=f-j[e+8>>2]|0;if((g|0)<=-1){j[a+44>>2]=99;return 1}n=j[a+4>>2]-1&d;o=j[a+8>>2];l:{if(!g){d=f;break l}j[e+16>>2]=g>>2;if((n|0)>=(o|0)){d=l[e+12>>1];i[e+12>>1]=(d&8?16:32)|d}j[a+88>>2]=f;d=f+32|0;j[a+40>>2]=d;j[f+8>>2]=d;j[f+16>>2]=0;j[e+28>>2]=f;i[a+84>>1]=l[a+84>>1]+1;e=f}g=j[a+36>>2];if(g>>>0<=d>>>0){break a}h[a+87|0]=0;if(!j[a+92>>2]){j[a+92>>2]=d;j[a+88>>2]=d;f=d+32|0;j[a+40>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}j[e+16>>2]=0;j[e+20>>2]=0;j[e+8>>2]=d;j[e+28>>2]=0;j[e+4>>2]=0;d=k[a+176|0];i[e+12>>1]=(n|0)<(o|0)?d:d|16;if(!j[a+96>>2]){j[a+96>>2]=e}}h[a+86|0]=1;j[a+100>>2]=2;h[a+87|0]=0;d=j[a+72>>2];break d}d=j[a+72>>2];if((d|0)>=(c|0)){break d}f=j[a+40>>2];e=j[a+88>>2];g=f-j[e+8>>2]|0;if((g|0)<=-1){j[a+44>>2]=99;return 1}n=j[a+4>>2];n=((n+d|0)-1&0-n)-d|0;o=j[a+8>>2];m:{if(!g){d=f;break m}j[e+16>>2]=g>>2;if((n|0)>=(o|0)){d=l[e+12>>1];i[e+12>>1]=(d&8?16:32)|d}j[a+88>>2]=f;d=f+32|0;j[a+40>>2]=d;j[f+8>>2]=d;j[f+16>>2]=0;j[e+28>>2]=f;i[a+84>>1]=l[a+84>>1]+1;e=f}g=j[a+36>>2];if(g>>>0<=d>>>0){break a}h[a+87|0]=0;if(!j[a+92>>2]){j[a+92>>2]=d;j[a+88>>2]=d;f=d+32|0;j[a+40>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}j[e+16>>2]=0;j[e+20>>2]=0;j[e+8>>2]=d;j[e+28>>2]=0;j[e+4>>2]=0;i[e+12>>1]=k[a+176|0]|((n|0)<(o|0)?8:40);if(!j[a+96>>2]){j[a+96>>2]=e}}h[a+86|0]=1;j[a+100>>2]=1;h[a+87|0]=0;d=j[a+72>>2]}f=1;if(oo(a,j[a+68>>2],d,b,c,j[a+76>>2],j[a+80>>2])){break b}break c}e=k[a+86|0];d=oo(a,j[a+68>>2],0-d|0,b,0-c|0,0-j[a+80>>2]|0,0-j[a+76>>2]|0);if(!(k[a+86|0]|!e)){e=j[a+88>>2];j[e+20>>2]=0-j[e+20>>2]}f=1;if(d){break b}}j[a+72>>2]=c;j[a+68>>2]=b;f=0}return f}j[a+44>>2]=98;return 1}function nq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0;e=oe-416|0;oe=e;d=-131;f=j[a+88>>2];a:{if((f|0)<2){break a}if(!j[a+4>>2]){d=-138;break a}if((c|0)<0){break a}g=j[a+20>>2];if((c|0)>(g|0)?1:(c|0)>=(g|0)?b>>>0>m[a+16>>2]:0){break a}b:{if((f|0)<3){break b}f=j[a+56>>2];d=j[a+96>>2];g=f+(d<<3)|0;h=m[g>>2]<=b>>>0;g=j[g+4>>2];if((c|0)>(g|0)?1:(g|0)<=(c|0)?h:0){d=f+(d<<3)|0;h=b>>>0>2];d=j[d+12>>2];if((c|0)<(d|0)?1:(c|0)<=(d|0)?h:0){break b}}xg(a+480|0);_g(a+592|0);j[a+88>>2]=2}j[a+80>>2]=-1;j[a+84>>2]=-1;f=a+120|0;qh(f,j[a+92>>2]);g=a+480|0;Ul(g);c:{d:{d=j[a>>2];if(!d){break d}if(j[a+8>>2]!=(b|0)|j[a+12>>2]!=(c|0)){h=j[a+708>>2];if(!h){break d}if((qe[h|0](d,b,c,0)|0)==-1){break d}j[a+8>>2]=b;j[a+12>>2]=c;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}fq(e+56|0,j[a+92>>2]);n=a+592|0;iE(e+56|0);b=0;while(1){e:{if(j[a+88>>2]<3){break e}if((ng(e+56|0,e+8|0)|0)<1){break e}c=j[a+72>>2]+(j[a+96>>2]<<5)|0;if(j[c+28>>2]){c=Tl(c,e+8|0);f:{if((c|0)<=-1){ng(f,0);b=0;break f}g:{if(!(o|!p)){ng(f,0);break g}if(!b){break g}l=(b+c>>2)+l|0}b=c}c=j[e+24>>2];d=j[e+28>>2];if((c|0)==-1&(d|0)==-1){continue}h=j[a+68>>2];f=j[a+96>>2];b=h+(f<<4)|0;g=j[b>>2];i=c-g|0;c=d-(j[b+4>>2]+(c>>>0>>0)|0)|0;d=(c|0)>0?1:(c|0)>=0?!!i:0;b=d?i:0;c=d?c:0;if((f|0)>=1){d=0;while(1){i=h+(d<<4|8)|0;g=b+j[i>>2]|0;c=j[i+4>>2]+c|0;c=b>>>0>g>>>0?c+1|0:c;b=g;d=d+1|0;if((f|0)!=(d|0)){continue}break}}d=l;f=b-d|0;c=c-((d>>31)+(b>>>0>>0)|0)|0;l=(c|0)>0?1:(c|0)>=0?!!f:0;b=l?f:0;c=l?c:0;break c}ng(f,0)}if(b){b=-1;c=-1;break c}q=Pf(a,e+40|0,-1,-1);b=pe;h=b;if((b|0)<-1?1:(b|0)<=-1){b=ti(a,-1);c=pe;break c}h:{if(j[a+88>>2]>=3){b=j[e+40>>2];if(!(!(k[j[e+40>>2]+5|0]&2)|j[a+92>>2]==(k[b+14|0]|k[b+15|0]<<8|(k[b+16|0]<<16|k[b+17|0]<<24)))){xg(g);_g(n);j[a+88>>2]=2;Pj(e+56|0)}if(j[a+88>>2]>2){break h}}b=j[e+40>>2];c=k[b+14|0]|k[b+15|0]<<8|(k[b+16|0]<<16|k[b+17|0]<<24);b=0;d=0;i=j[a+52>>2];i:{if((i|0)<1){break i}r=j[a+64>>2];while(1){if(j[(d<<2)+r>>2]==(c|0)){break i}d=d+1|0;if((i|0)>(d|0)){continue}break}}if((d|0)==(i|0)){continue}j[a+92>>2]=c;j[a+96>>2]=d;qh(f,c);qh(e+56|0,c);j[a+88>>2]=3;b=j[a+60>>2]+(d<<3)|0;c=m[b>>2]>=q>>>0;b=j[b+4>>2];o=(b|0)>(h|0)?1:(b|0)>=(h|0)?c:0}Pg(f,e+40|0);Pg(e+56|0,e+40|0);b=0;p=k[j[e+40>>2]+5|0]&4;continue}}j[a+80>>2]=-1;j[a+84>>2]=-1;Pj(e+56|0);xg(g);_g(a+592|0);j[a+88>>2]=2;d=-137;break a}j[a+80>>2]=b;j[a+84>>2]=c;Pj(e+56|0);j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0;d=0}oe=e+416|0;return d}function en(a,b,c){var d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=j[a>>2];e=k[a+8|0];a:{if(!e){m=c?l[c+8>>1]:0;d=k[a+9|0];if(d>>>0<=7){b:{c:{switch(d-1|0){case 0:m=p(m&1,255);if(!f){break b}g=b+f|0;d=0-f&7;e=(f-1>>>3|0)+b|0;while(1){g=g-1|0;h[g|0]=k[e|0]>>>d&1?-1:0;i=(d|0)==7;d=i?0:d+1|0;e=i?e-1|0:e;n=n+1|0;if((n|0)!=(f|0)){continue}break}break b;case 1:m=p(m&3,85);if(!f){break b}n=b+f|0;d=(f-1>>>2|0)+b|0;e=((f<<1)+6^-1)&6;while(1){n=n-1|0;i=k[d|0]>>>e&3;h[n|0]=i<<2|i|i<<4|i<<6;i=(e|0)==6;e=i?0:e+2|0;d=i?d-1|0:d;g=g+1|0;if((g|0)!=(f|0)){continue}break}break b;case 3:break c;default:break b}}m=p(m&15,17);if(!f){break b}g=b+f|0;d=f<<2&4;e=(f-1>>>1|0)+b|0;while(1){g=g-1|0;i=k[e|0]>>>d&15;h[g|0]=i<<4|i;e=(d|0)==4?e-1|0:e;d=((d|0)!=4)<<2;n=n+1|0;if((n|0)!=(f|0)){continue}break}}h[a+11|0]=8;h[a+9|0]=8;j[a+4>>2]=f;d=8}if(!c){break a}d:{e:{switch(d-8|0){case 0:if(!f){break d}d=b+f|0;e=(f<<1)+b|0;b=m&255;g=0;while(1){d=d-1|0;h[e-1|0]=(b|0)!=k[d|0]?-1:0;e=e-2|0;h[e|0]=k[d|0];g=g+1|0;if((g|0)!=(f|0)){continue}break}break d;case 8:break e;default:break d}}if(!f){break d}g=m>>>8|0;c=j[a+4>>2];e=c+b|0;d=(c<<1)+b|0;n=0;m=m&255;while(1){c=e-1|0;i=d-1|0;e=e-2|0;f:{if((g|0)==k[e|0]){b=0;if((m|0)==k[c|0]){break f}}b=255}h[i|0]=b;h[d-2|0]=b;h[d-3|0]=k[c|0];d=d-4|0;h[d|0]=k[e|0];n=n+1|0;if((n|0)!=(f|0)){continue}break}}h[a+10|0]=2;h[a+8|0]=4;b=k[a+9|0]<<1;h[a+11|0]=b;b=b&254;if(b>>>0>=8){j[a+4>>2]=p(b>>>3|0,f);return}j[a+4>>2]=p(b,f)+7>>>3;return}if(!c|(e|0)!=2){break a}g:{h:{switch(k[a+9|0]-8|0){case 0:if(!f){break g}d=(f<<2)+b|0;e=j[a+4>>2]+b|0;n=l[c+2>>1]&255;i=l[c+4>>1]&255;o=l[c+6>>1]&255;while(1){c=e-1|0;q=d-1|0;b=e-3|0;i:{if(!((n|0)!=k[b|0]|(i|0)!=k[e-2|0])){m=0;if((o|0)==k[c|0]){break i}}m=255}h[q|0]=m;h[d-2|0]=k[c|0];h[d-3|0]=k[e-2|0];d=d-4|0;h[d|0]=k[b|0];e=b;g=g+1|0;if((g|0)!=(f|0)){continue}break}break g;case 8:break h;default:break g}}if(!f){break g}g=l[c+6>>1];i=g>>>8|0;o=l[c+4>>1];q=o>>>8|0;c=l[c+2>>1];r=c>>>8|0;d=(f<<3)+b|0;e=j[a+4>>2]+b|0;s=c&255;while(1){m=e-1|0;t=d-1|0;b=e-6|0;j:{k:{if(k[b|0]!=(r|0)|k[e-5|0]!=(s|0)|(k[e-4|0]!=(q|0)|k[e-3|0]!=(o&255))){break k}if((i|0)!=k[e-2|0]){break k}c=0;if(k[m|0]==(g&255)){break j}}c=255}h[t|0]=c;h[d-2|0]=c;h[d-3|0]=k[m|0];h[d-4|0]=k[e-2|0];h[d-5|0]=k[e-3|0];h[d-6|0]=k[e-4|0];h[d-7|0]=k[e-5|0];d=d-8|0;h[d|0]=k[b|0];e=b;n=n+1|0;if((n|0)!=(f|0)){continue}break}}h[a+10|0]=4;h[a+8|0]=6;b=k[a+9|0]<<2;h[a+11|0]=b;b=b&252;l:{if(b>>>0>=8){b=p(b>>>3|0,f);break l}b=p(b,f)+7>>>3|0}j[a+4>>2]=b}}function Ez(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,k=0,l=0,m=0,n=0;h=oe-96|0;oe=h;j[h+80>>2]=0;j[h+84>>2]=0;j[h+72>>2]=0;j[h+76>>2]=0;g=h- -64|0;j[g>>2]=0;j[g+4>>2]=0;j[h+56>>2]=0;j[h+60>>2]=0;j[h+48>>2]=0;j[h+52>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;g=xe(a,8,0,c+10|0,0,h+92|0);j[b+20>>2]=g;k=j[h+92>>2];if(!k){a:{if(!c){break a}while(1){k=qe[d|0](f,m)|0;b:{if(!k){break b}i=0;c:{d:{if(!we(82288,k)){break d}i=1;if(!we(82294,k)){break d}i=2;if(!we(82300,k)){break d}i=3;if(!we(82309,k)){break d}i=4;if(!we(82316,k)){break d}i=5;if(!we(82323,k)){break d}i=6;if(!we(82326,k)){break d}i=7;if(!we(82341,k)){break d}i=8;if(!we(82347,k)){break d}if(we(82360,k)){break c}i=9}l=i<<2;i=l+(h+48|0)|0;if(j[i>>2]){break c}j[i>>2]=1;j[h+l>>2]=m}i=zo(k);if(i&2147483647){n=h+48|0;e:{f:{g:{h:{i:{j:{k:{l:{m:{if((i|0)<=915){n:{switch(i-160|0){case 0:break i;case 13:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break e;default:break n}}switch(i-538|0){case 1:break g;case 0:break h;default:break l}}o:{p:{switch(i-937|0){default:q:{switch(i-8725|0){case 4:break j;case 0:break o;case 1:case 2:case 3:break e;default:break q}}l=0;if((i|0)==916){break f}break e;case 19:break k;case 0:break p;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break e}}l=1;break f}l=2;break f}l=3;break f}if((i|0)!=713){break e}l=4;break f}l=5;break f}l=6;break f}l=7;break f}l=8;break f}l=9}j[n+(l<<2)>>2]=2}j[g+4>>2]=m;j[g>>2]=i;g=g+8|0}if(!e){break b}qe[e|0](f,k)}m=m+1|0;if((m|0)!=(c|0)){continue}break}if(j[h+48>>2]!=1){break a}j[g>>2]=916;j[g+4>>2]=j[h>>2];g=g+8|0}if(j[h+52>>2]==1){j[g>>2]=937;j[g+4>>2]=j[h+4>>2];g=g+8|0}if(j[h+56>>2]==1){j[g>>2]=8725;j[g+4>>2]=j[h+8>>2];g=g+8|0}if(j[h+60>>2]==1){j[g>>2]=173;j[g+4>>2]=j[h+12>>2];g=g+8|0}if(j[h+64>>2]==1){j[g>>2]=713;j[g+4>>2]=j[h+16>>2];g=g+8|0}if(j[h+68>>2]==1){j[g>>2]=956;j[g+4>>2]=j[h+20>>2];g=g+8|0}if(j[h+72>>2]==1){j[g>>2]=8729;j[g+4>>2]=j[h+24>>2];g=g+8|0}if(j[h+76>>2]==1){j[g>>2]=160;j[g+4>>2]=j[h+28>>2];g=g+8|0}if(j[h+80>>2]==1){j[g>>2]=538;j[g+4>>2]=j[h+32>>2];g=g+8|0}if(j[h+84>>2]==1){j[g>>2]=539;j[g+4>>2]=j[h+36>>2];g=g+8|0}k=j[b+20>>2];e=g-k|0;d=e>>3;r:{if(!e){if(k){qe[j[a+8>>2]](a,k)}j[b+20>>2]=0;a=j[h+92>>2];k=a?a:163;break r}if(d>>>0>>1>>>0){k=xe(a,8,c,d,k,h+92|0);j[b+20>>2]=k;j[h+92>>2]=0}eg(k,d,8,236);k=j[h+92>>2]}j[b+16>>2]=d}oe=h+96|0;return k|0}function AF(a,b,c){var d=0,e=0,f=0,g=q(0),h=0,i=0,k=q(0),l=q(0),m=0,o=0,p=q(0),r=q(0),s=q(0),t=q(0),u=q(0),v=0,w=0,x=0;i=j[a>>2];x=i>>2;v=i>>1;e=v<<2;m=e+b|0;d=m-28|0;w=c+e|0;e=i&-4;i=w+e|0;f=i;h=e+j[a+8>>2]|0;e=h;while(1){o=f-16|0;n[o>>2]=q(n[e+12>>2]*q(-n[d+8>>2]))-q(n[d>>2]*n[e+8>>2]);n[f-12>>2]=q(n[d>>2]*n[e+12>>2])-q(n[d+8>>2]*n[e+8>>2]);n[f-8>>2]=q(n[e+4>>2]*q(-n[d+24>>2]))-q(n[d+16>>2]*n[e>>2]);n[f-4>>2]=q(n[d+16>>2]*n[e+4>>2])-q(n[d+24>>2]*n[e>>2]);e=e+16|0;f=o;d=d-32|0;if(d>>>0>=b>>>0){continue}break}d=m-32|0;e=i;while(1){f=h-4|0;o=h-8|0;n[e>>2]=q(n[d+16>>2]*n[f>>2])+q(n[d+24>>2]*n[o>>2]);n[e+4>>2]=q(n[d+16>>2]*n[o>>2])-q(n[d+24>>2]*n[f>>2]);f=h-12|0;h=h-16|0;n[e+8>>2]=q(n[d>>2]*n[f>>2])+q(n[d+8>>2]*n[h>>2]);n[e+12>>2]=q(n[d>>2]*n[h>>2])-q(n[d+8>>2]*n[f>>2]);e=e+16|0;d=d-32|0;if(d>>>0>=b>>>0){continue}break}zq(a,w,v);o=j[a+8>>2];b=j[a>>2];d=o+(b<<2)|0;e=j[a+12>>2];b=(b<<1&-4)+c|0;h=b;f=c;while(1){a=b+(j[e>>2]<<2)|0;g=n[a+4>>2];m=b+(j[e+4>>2]<<2)|0;k=n[m+4>>2];l=q(q(g+k)*q(.5));p=n[a>>2];r=n[m>>2];s=q(p+r);t=n[d>>2];g=q(g-k);k=n[d+4>>2];u=q(q(s*t)+q(g*k));n[f>>2]=l+u;n[h-8>>2]=l-u;l=q(q(p-r)*q(.5));g=q(q(s*k)-q(g*t));n[f+4>>2]=l+g;n[h-4>>2]=g-l;a=b+(j[e+8>>2]<<2)|0;g=n[a+4>>2];m=b+(j[e+12>>2]<<2)|0;k=n[m+4>>2];l=q(q(g+k)*q(.5));p=n[a>>2];r=n[m>>2];s=q(p+r);t=n[d+8>>2];g=q(g-k);k=n[d+12>>2];u=q(q(s*t)+q(g*k));n[f+8>>2]=l+u;a=h-16|0;n[a>>2]=l-u;l=q(q(p-r)*q(.5));g=q(q(s*k)-q(g*t));n[f+12>>2]=l+g;n[h-12>>2]=g-l;e=e+16|0;d=d+16|0;f=f+16|0;h=a;if(f>>>0>>0){continue}break}d=o+(v<<2)|0;f=i;h=f;e=c;while(1){n[f-4>>2]=q(n[e>>2]*n[d+4>>2])-q(n[e+4>>2]*n[d>>2]);n[h>>2]=-q(q(n[e>>2]*n[d>>2])+q(n[e+4>>2]*n[d+4>>2]));n[f-8>>2]=q(n[e+8>>2]*n[d+12>>2])-q(n[e+12>>2]*n[d+8>>2]);n[h+4>>2]=-q(q(n[e+8>>2]*n[d+8>>2])+q(n[e+12>>2]*n[d+12>>2]));n[f-12>>2]=q(n[e+16>>2]*n[d+20>>2])-q(n[e+20>>2]*n[d+16>>2]);n[h+8>>2]=-q(q(n[e+16>>2]*n[d+16>>2])+q(n[e+20>>2]*n[d+20>>2]));f=f-16|0;n[f>>2]=q(n[e+24>>2]*n[d+28>>2])-q(n[e+28>>2]*n[d+24>>2]);n[h+12>>2]=-q(q(n[e+24>>2]*n[d+24>>2])+q(n[e+28>>2]*n[d+28>>2]));d=d+32|0;h=h+16|0;e=e+32|0;if(f>>>0>e>>>0){continue}break}f=(x<<2)+c|0;d=f;e=i;while(1){g=n[e-4>>2];n[f-4>>2]=g;n[d>>2]=-g;g=n[e-8>>2];n[f-8>>2]=g;n[d+4>>2]=-g;g=n[e-12>>2];n[f-12>>2]=g;n[d+8>>2]=-g;f=f-16|0;e=e-16|0;g=n[e>>2];n[f>>2]=g;n[d+12>>2]=-g;d=d+16|0;if(e>>>0>d>>>0){continue}break}d=i;while(1){a=i-16|0;n[a>>2]=n[d+12>>2];n[i-12>>2]=n[d+8>>2];n[i-8>>2]=n[d+4>>2];n[i-4>>2]=n[d>>2];d=d+16|0;i=a;if(a>>>0>w>>>0){continue}break}}function rj(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0;l=oe-16|0;oe=l;f=He(j[a+100>>2],j[a+16>>2]+216|0,l+8|0);d=j[l+8>>2];if(!d){j[f>>2]=a;d=j[a+16>>2];j[f+212>>2]=c;c=f+216|0;j[f+8>>2]=c;j[f+4>>2]=d;o=j[a+92>>2];g=Ee(c,127,d);a:{if(fk(a)){break a}d=3728;while(1){c=j[j[(j[d+8>>2]<<2)+4864>>2]+4>>2];b:{if(!c|j[d+16>>2]!=10){break b}d=j[c>>2];if(!d){break b}while(1){e=c;c=0;c:{if(!a){break c}i=j[a+92>>2];if(!i){break c}c=qe[j[j[i+12>>2]+12>>2]](i,d)|0}j[l+12>>2]=c;d:{if(!c|m[f+4>>2]<=c>>>0){break d}c=c+g|0;if(k[c|0]!=127){break d}h[c|0]=n}d=jr(a,d,l+12|0);while(1){c=j[l+12>>2];if(!(!c|m[e+4>>2]>>0)){e:{if(c>>>0>=m[f+4>>2]){break e}c=c+g|0;if(k[c|0]!=127){break e}h[c|0]=n}d=jr(a,d,l+12|0);continue}break}c=e+8|0;d=j[e+8>>2];if(d){continue}break}}n=n+1|0;d=j[(n<<2)+4960>>2];if((n|0)!=49){continue}break}d=0;c=a;f:{if(!c){break f}e=j[c+92>>2];if(!e){break f}d=qe[j[j[e+12>>2]+12>>2]](e,48)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;g:{if(!c){break g}e=j[c+92>>2];if(!e){break g}d=qe[j[j[e+12>>2]+12>>2]](e,49)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;h:{if(!c){break h}e=j[c+92>>2];if(!e){break h}d=qe[j[j[e+12>>2]+12>>2]](e,50)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;i:{if(!c){break i}e=j[c+92>>2];if(!e){break i}d=qe[j[j[e+12>>2]+12>>2]](e,51)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;j:{if(!c){break j}e=j[c+92>>2];if(!e){break j}d=qe[j[j[e+12>>2]+12>>2]](e,52)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;k:{if(!c){break k}e=j[c+92>>2];if(!e){break k}d=qe[j[j[e+12>>2]+12>>2]](e,53)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;l:{if(!c){break l}e=j[c+92>>2];if(!e){break l}d=qe[j[j[e+12>>2]+12>>2]](e,54)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;m:{if(!c){break m}e=j[c+92>>2];if(!e){break m}d=qe[j[j[e+12>>2]+12>>2]](e,55)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;n:{if(!c){break n}e=j[c+92>>2];if(!e){break n}d=qe[j[j[e+12>>2]+12>>2]](e,56)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;o:{if(!c){break o}c=j[a+92>>2];if(!c){break o}d=qe[j[j[c+12>>2]+12>>2]](c,57)|0}if(!d|d>>>0>=m[f+4>>2]){break a}c=d+g|0;h[c|0]=k[c|0]|128}e=j[f+212>>2];p:{if(j[e+12>>2]==127){break p}n=j[f+4>>2];if((n|0)<1){break p}d=0;while(1){c=d+g|0;i=k[c|0];if((i&127)==127){i=i&128;h[c|0]=i;h[c|0]=i|k[e+12|0]}d=d+1|0;if((n|0)>(d|0)){continue}break}}Ph(a,o);j[f+12>>2]=0;d=0}j[b>>2]=f;oe=l+16|0;return d}function vC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0;a:{if(!a){break a}i=j[a+100>>2];b=j[a+532>>2];if(b){qe[j[b+12>>2]](a)}c=j[a+656>>2];if(!c){break a}f=j[c+4>>2];b=j[c+84>>2];if(b){d=j[b+28>>2];e=c+112|0;if(j[e>>2]){jf(b,e)}b=j[c+108>>2];if(b){qe[j[d+8>>2]](d,b)}j[c+108>>2]=0;j[c+112>>2]=0;j[c+100>>2]=0;j[c+104>>2]=0;j[c+92>>2]=0;j[c+96>>2]=0;j[c+84>>2]=0;j[c+88>>2]=0}b=j[c+1208>>2];if(b){d=j[b+28>>2];e=c+1236|0;if(j[e>>2]){jf(b,e)}b=j[c+1232>>2];if(b){qe[j[d+8>>2]](d,b)}b=c+1208|0;j[b+24>>2]=0;j[b+28>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}b=j[c+20>>2];if(b){d=j[b+28>>2];e=c+48|0;if(j[e>>2]){jf(b,e)}b=j[c+44>>2];if(b){qe[j[d+8>>2]](d,b)}j[c+44>>2]=0;j[c+48>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+20>>2]=0;j[c+24>>2]=0}b=j[c+1176>>2];if(b){d=j[b+28>>2];e=c+1204|0;if(j[e>>2]){jf(b,e)}b=j[c+1200>>2];if(b){qe[j[d+8>>2]](d,b)}b=c+1176|0;j[b+24>>2]=0;j[b+28>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}b=j[c+1896>>2];if(b){while(1){d=j[((g<<2)+c|0)+1900>>2];if(d){b=j[d+536>>2];if(b){e=j[b+28>>2];k=d+564|0;if(j[k>>2]){jf(b,k)}b=j[d+560>>2];if(b){qe[j[e+8>>2]](e,b)}b=d;j[b+560>>2]=0;j[b+564>>2]=0;j[b+552>>2]=0;j[b+556>>2]=0;j[b+544>>2]=0;j[b+548>>2]=0;j[b+536>>2]=0;j[b+540>>2]=0}b=j[d+568>>2];if(b){qe[j[f+8>>2]](f,b)}j[d+568>>2]=0;b=j[c+1896>>2]}g=g+1|0;if(g>>>0>>0){continue}break}b=j[c+1900>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1900>>2]=0}j[c+116>>2]=0;j[c+120>>2]=0;j[c+124>>2]=0;b=j[j[c>>2]+28>>2];d=b;g=c+1164|0;e=j[g>>2];if(e){qe[j[d+8>>2]](d,e)}j[g>>2]=0;j[g+4>>2]=0;d=c+1160|0;g=j[d>>2];if(g){qe[j[b+8>>2]](b,g)}j[c+1152>>2]=0;j[c+1156>>2]=0;j[d>>2]=0;b=c+1860|0;d=j[b>>2];if(d){g=j[d+28>>2];e=c+1888|0;if(j[e>>2]){jf(d,e)}d=j[c+1884>>2];if(d){qe[j[g+8>>2]](g,d)}j[b+24>>2]=0;j[b+28>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}b=c+1892|0;d=j[b>>2];if(d){qe[j[f+8>>2]](f,d)}j[b>>2]=0;b=c+2932|0;if(j[b>>2]){jf(j[c>>2],b)}h[c+2924|0]=0;j[c+2928>>2]=0;j[c+2936>>2]=0;b=j[c+2960>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+2960>>2]=0;b=j[c+1304>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1304>>2]=0;b=j[c+1308>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1308>>2]=0;b=j[c+1316>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1316>>2]=0;b=j[c+1320>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1320>>2]=0;b=j[c+2976>>2];if(b){qe[b|0](j[c+2972>>2]);b=j[c+2972>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+2972>>2]=0}b=j[a+656>>2];if(b){qe[j[i+8>>2]](i,b)}j[a+656>>2]=0}}function no(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0;a=oe-144|0;oe=a;b=j[58911];if(!we(b,1164)){e=j[58890]-j[58888]|0;l=j[58889]-j[58887]|0}j[a+20>>2]=e;j[a+16>>2]=l;si(b,a+24|0);if(j[a+88>>2]>j[58912]){si(j[58911],a+24|0);j[58912]=j[a+88>>2];Bl()}if(!j[58916]){si(j[58915],a+24|0);j[58916]=j[a+88>>2]}si(j[58915],a+24|0);if(j[a+88>>2]>j[58916]){si(j[58915],a+24|0);j[58916]=j[a+88>>2];Vg(1192,0);dp()}Di(j[58882],0,0,0,0);a:{if(!j[58914]){break a}q=a+36|0;r=a+32|0;b=44;d=l;while(1){if(j[58906]==(i|0)){break a}c=b;b:{c:{d:{f=j[58913]+o|0;n=h[f|0];b=n;switch(b-32|0){case 0:case 12:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break c;default:break d}}if((n|0)!=10){if((n|0)!=95){break c}Di(j[58882],255,255,255,40);if(k[242924]){j[a+24>>2]=0;j[a+28>>2]=0;j[a+32>>2]=16;j[a+36>>2]=16;c=j[58884]+d|0;j[a+128>>2]=c+2;b=j[58885];j[a+136>>2]=10;j[a+140>>2]=9;b=b+e|0;j[a+132>>2]=b+2;j[a+116>>2]=b;j[a+112>>2]=c;j[a+120>>2]=16;j[a+124>>2]=16;Tr(j[58882]);Rr(j[58882],a+112|0);hj(j[58882],j[65531],a+24|0,a+128|0)}Di(j[58882],0,0,0,0);d=d+16|0;j[a+16>>2]=d;j[j[j[58909]+(i<<2)>>2]+(g<<2)>>2]=-1;g=g+1|0;b=k[j[58913]+o|0];break b}j[j[58908]+(i<<2)>>2]=g;e=e+16|0;j[a+20>>2]=e;j[a+16>>2]=l;g=0;i=i+1|0;if((i|0)==j[58906]){d=l;b=c;break b}b=k[f|0];d=l;break b}e:{f:{b=c;c=c&255;switch(c|0){case 0:case 10:break e;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break b;default:break f}}c=c-32|0;if(!c|(c|0)==12){break e}break b}g:{h:{i:{j:{b=k[f+1|0];switch(b|0){case 0:case 10:break h;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break i;default:break j}}b=b-32|0;if(!b|(b|0)==12){break h}}j[a+24>>2]=0;b=2;k:{l:{m:{c=k[f+2|0];switch(c|0){case 0:case 10:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break l;default:break m}}c=c-32|0;if(!c|(c|0)==12){break k}}b=3}Ae(a+24|0,f,b);b=sf(a+24|0);break g}b=n-48|0}c=p(b,24)+235536|0;f=j[c+144>>2];c=j[c+140>>2];j[a+28>>2]=e;j[a+24>>2]=d;j[a+128>>2]=c;j[a+132>>2]=f;j[a+136>>2]=16;j[a+140>>2]=16;j[a+112>>2]=j[58884]+d;c=j[58885];j[a+120>>2]=16;j[a+124>>2]=16;j[a+116>>2]=c+e;Vr(j[58905],r,q);hj(j[58882],j[58905],a+128|0,a+112|0);Di(j[58882],255,255,255,40);c=j[a+20>>2];j[a+8>>2]=j[a+16>>2];j[a+12>>2]=c;IA(a+8|0,b);Di(j[58882],0,0,0,0);d=d+16|0;j[a+16>>2]=d;j[j[j[58909]+(i<<2)>>2]+(g<<2)>>2]=b;g=g+1|0;b=n}o=o+1|0;if(o>>>0>2]);if(c){break a}g=j[a+96>>2];f=j[a+116>>2];i=g-f|0;if((i|0)>=1){d=j[a+68>>2];e=j[a+64>>2];j[l+12>>2]=0;c=e+i|0;b:{if(c>>>0<=d>>>0){d=j[a+76>>2];break b}e=j[a+88>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(c>>>0>b>>>0){continue}break}n=a,o=xe(e,8,d,b,j[a+72>>2],l+12|0),j[n+72>>2]=o;c=j[l+12>>2];if(c){break a}d=xe(e,1,d,b,j[a+76>>2],l+12|0);j[a+76>>2]=d;c=j[l+12>>2];if(c){break a}j[a+68>>2]=b;f=j[a+116>>2];g=j[a+96>>2];e=j[a+64>>2]}c=j[a+104>>2];b=(c+(g<<3)|0)-8|0;if(b>>>0>=c+(f<<3)>>>0){c=j[a+72>>2]+(e<<3)|0;e=d+e|0;d=j[a+108>>2]+g|0;while(1){f=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=f;d=d-1|0;h[e|0]=k[d|0]&243;e=e+1|0;c=c+8|0;b=b-8|0;f=j[a+116>>2];if(b>>>0>=j[a+104>>2]+(f<<3)>>>0){continue}break}e=j[a+64>>2]}j[a+96>>2]=f;h[a+112|0]=0;h[a+80|0]=0;j[a+64>>2]=e+i}b=j[a+32>>2];j[a+8>>2]=j[a+28>>2];j[a+12>>2]=b;c=tp(a,j[a+24>>2]+11796480|0);if(c){break a}d=j[a+64>>2];b=j[a+84>>2];c:{if(d>>>0<=b+1>>>0){j[a+64>>2]=b;break c}c=d-1|0;j[a+64>>2]=c;e=j[a+72>>2];f=e+(b<<3)|0;c=e+(c<<3)|0;e=j[c+4>>2];j[f>>2]=j[c>>2];j[f+4>>2]=e;b=b+j[a+76>>2]|0;h[b|0]=k[b|0]|4;b=(d+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}j[a+84>>2]=-1;c=0;h[a+80|0]=0;break a}if(!(j[a+12>>2]==j[a+32>>2]?j[a+8>>2]==j[a+28>>2]:0)){c=vp(a,a+28|0);if(c){break a}}b=j[a+24>>2];j[a+4>>2]=b;b=Bf(j[a>>2],b);if(b){c=ki(a,b>>>31|0,j[a+36>>2]);if(c){break a}c=ji(a,(b^-1)>>>31|0,j[a+36>>2]);if(c){break a}}d=j[a+64>>2];b=j[a+84>>2];d:{if(d>>>0<=b+1>>>0){j[a+64>>2]=b;break d}c=d-1|0;j[a+64>>2]=c;e=j[a+72>>2];f=e+(b<<3)|0;c=e+(c<<3)|0;e=j[c+4>>2];j[f>>2]=j[c>>2];j[f+4>>2]=e;b=b+j[a+76>>2]|0;h[b|0]=k[b|0]|4;b=(d+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}j[a+84>>2]=-1;h[a+80|0]=0;f=j[a+96>>2];e=j[a+116>>2];e:{if(f>>>0<=e+1>>>0){j[a+96>>2]=e;break e}g=f-1|0;j[a+96>>2]=g;b=j[a+104>>2];d=e<<3;c=b+d|0;i=g<<3;b=i+b|0;m=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=m;b=d;d=j[a+104>>2];b=(b+d|0)+8|0;c=(d+i|0)-8|0;if(b>>>0>>0){while(1){d=j[b>>2];i=j[b+4>>2];m=j[c+4>>2];j[b>>2]=j[c>>2];j[b+4>>2]=m;j[c>>2]=d;j[c+4>>2]=i;b=b+8|0;c=c-8|0;if(b>>>0>>0){continue}break}}d=j[a+108>>2];b=(d+e|0)+1|0;c=(d+g|0)-1|0;if(b>>>0>>0){while(1){d=k[b|0];h[b|0]=k[c|0];h[c|0]=d;b=b+1|0;c=c-1|0;if(b>>>0>>0){continue}break}d=j[a+108>>2]}b=d+e|0;h[b|0]=k[b|0]|4;b=(f+j[a+108>>2]|0)-2|0;h[b|0]=k[b|0]|8}j[a+116>>2]=-1;c=0;h[a+112|0]=0}oe=l+16|0;return c}function tM(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;r=oe-16|0;oe=r;a:{if((c|0)==(e|0)){a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;b:{if((b|0)<=(d|0)){c=d-b|0;e=(g|0)!=0;a=a+(b<<1)|0;break b}e=(g|0)!=0;c=b-d|0;a=a+(d<<1)|0;a=g?a:a+2|0}b=c+e|0;if(!b){break a}while(1){i[a>>1]=f;a=a+2|0;b=b-1|0;if(b){continue}break}break a}if((b|0)==(d|0)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];c:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<1)|0)+(d<<1)|0;d=(g|0)!=0;b=e-c|0;break c}a=(a+(p(e,h)<<1)|0)+(d<<1)|0;a=g?a:a+(h<<1)|0;d=(g|0)!=0;b=c-e|0}b=b+d|0;if(!b){break a}c=h<<1;while(1){i[a>>1]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}n=b-d|0;h=n>>31;m=c-e|0;l=m>>31;if((h^h+n)==(l^l+m)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];d:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<1)|0)+(b<<1)|0;m=e-c|0;c=h+((b|0)>(d|0)?-1:1)|0;break d}a=(a+(p(e,h)<<1)|0)+(d<<1)|0;c=h+((b|0)<(d|0)?-1:1)|0;a=g?a:a+(c<<1)|0}b=((g|0)!=0)+m|0;if(!b){break a}c=c<<1;while(1){i[a>>1]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}h=j[a+4>>2];br(f,h,r+15|0,r+14|0,r+13|0,r+12|0);e:{h=j[h+12>>2];if((h|0)!=63488){if((h|0)!=31744){break e}m=d-b|0;h=m>>31;n=e-c|0;l=n>>31;h=h^h+m;l=l^l+n;f:{if((h|0)>=(l|0)){n=l-h|0;o=l<<1;m=o-h|0;l=1;break f}n=h-l|0;q=1;o=h<<1;m=o-l|0;h=l;l=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;d=d?-1:1;n=n<<1;s=j[a+16>>2];t=j[a+20>>2];e=0;while(1){i[(t+p(c,s)|0)+(b<<1)>>1]=f;a=(m|0)<0;m=(a?o:n)+m|0;b=(a?l:d)+b|0;c=(a?h:q)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break a}m=d-b|0;h=m>>31;n=e-c|0;l=n>>31;h=h^h+m;l=l^l+n;g:{if((h|0)>=(l|0)){n=l-h|0;o=l<<1;m=o-h|0;l=1;break g}n=h-l|0;q=1;o=h<<1;m=o-l|0;h=l;l=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;d=d?-1:1;n=n<<1;s=j[a+16>>2];t=j[a+20>>2];e=0;while(1){i[(t+p(c,s)|0)+(b<<1)>>1]=f;a=(m|0)<0;m=(a?o:n)+m|0;b=(a?l:d)+b|0;c=(a?h:q)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break a}m=d-b|0;h=m>>31;n=e-c|0;l=n>>31;h=h^h+m;l=l^l+n;h:{if((h|0)>=(l|0)){n=l-h|0;o=l<<1;m=o-h|0;l=1;break h}n=h-l|0;q=1;o=h<<1;m=o-l|0;h=l;l=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;d=d?-1:1;n=n<<1;s=j[a+16>>2];t=j[a+20>>2];e=0;while(1){i[(t+p(c,s)|0)+(b<<1)>>1]=f;a=(m|0)<0;m=(a?o:n)+m|0;b=(a?l:d)+b|0;c=(a?h:q)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}oe=r+16|0}function Fv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;f=j[a+488>>2];l=j[b+16>>2];e=j[b+8>>2];qe[j[b+28>>2]](b);c=3;a=j[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=k[a|0];c:{if(a-48>>>0<=9){a=qe[j[b+36>>2]](b)|0;j[b+144>>2]=a;if(j[b+12>>2]){break a}if((a|0)<0){break b}a=j[b>>2];break c}if((a|0)!=60){break b}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}qe[j[b+28>>2]](b);d=j[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=k[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}j[b>>2]=d;j[b+144>>2]=i;a=d;break c}i=i+1|0}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}qe[j[b+28>>2]](b);a=j[b>>2];if(e>>>0>a>>>0){continue}break}}if(a>>>0>=e>>>0){break b}m=b+200|0;c=qe[j[j[f>>2]>>2]](m,j[b+144>>2],l)|0;if(c){break b}n=b+148|0;c=qe[j[j[f>>2]>>2]](n,j[b+144>>2],l)|0;if(c){break b}i=b+252|0;c=qe[j[j[f>>2]>>2]](i,4,l)|0;if(c){break b}qe[j[b+28>>2]](b);a=j[b>>2];if(e>>>0<=a>>>0){j[b+144>>2]=0;c=3;break b}l=0;f=0;d=0;while(1){e:{f:{c=k[a|0];if((c|0)!=101){if((c|0)==62){break e}break f}if(k[a+1|0]!=110|a+3>>>0>=e>>>0|k[a+2|0]!=100){break f}switch(k[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}qe[j[b+32>>2]](b);c=3;g=j[b>>2];if(g>>>0>=e>>>0){break b}if(j[b+12>>2]){break a}if(k[a|0]==47){if(a+2>>>0>=e>>>0){break b}a=a+1|0;g=g-a|0;c=qe[j[b+192>>2]](n,d,a,g+1|0)|0;if(c){break b}c=g;g=d<<2;h[c+j[g+j[b+172>>2]>>2]|0]=0;if(k[a|0]==46){a=we(94399,j[g+j[b+172>>2]>>2]);l=a?l:1;f=a?f:d}qe[j[b+28>>2]](b);a=j[b>>2];qe[j[b+36>>2]](b)|0;c=3;o=j[b>>2];if(o>>>0>=e>>>0){break b}c=a;a=o-a|0;c=qe[j[b+244>>2]](m,d,c,a+1|0)|0;if(c){break b}h[a+j[g+j[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=j[b+144>>2]){break e}}qe[j[b+28>>2]](b);a=j[b>>2];if(e>>>0>a>>>0){continue}}break}j[b+144>>2]=d;if(!(l&255)){c=3;break b}a=j[j[b+172>>2]>>2];if(!we(94399,a)){break a}c=qe[j[b+296>>2]](i,0,a,j[j[b+176>>2]>>2])|0;if(c){break b}c=qe[j[b+296>>2]](i,1,j[j[b+224>>2]>>2],j[j[b+228>>2]>>2])|0;if(c){break b}a=f<<2;c=qe[j[b+296>>2]](i,2,j[a+j[b+172>>2]>>2],j[a+j[b+176>>2]>>2])|0;if(c){break b}c=qe[j[b+296>>2]](i,3,j[a+j[b+224>>2]>>2],j[a+j[b+228>>2]>>2])|0;if(c){break b}c=qe[j[b+192>>2]](n,f,j[j[b+276>>2]>>2],j[j[b+280>>2]>>2])|0;if(c){break b}c=qe[j[b+244>>2]](m,f,j[j[b+276>>2]+4>>2],j[j[b+280>>2]+4>>2])|0;if(c){break b}c=qe[j[b+192>>2]](n,0,j[j[b+276>>2]+8>>2],j[j[b+280>>2]+8>>2])|0;if(c){break b}c=qe[j[b+244>>2]](m,0,j[j[b+276>>2]+12>>2],j[j[b+280>>2]+12>>2])|0;if(!c){break a}}j[b+12>>2]=c}}function oG(a,b,c,d,e,f,g,h,j,l){var m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;m=p(l,12);B=m+163168|0;r=b-1|0;if(r){D=a-1|0;E=m+163170|0;F=m+163178|0;G=m+163176|0;H=m+163174|0;I=m+163172|0;while(1){m=p(j,u)+h|0;b=p(f,u)+c|0;q=u|1;s=p(q,j)+h|0;n=p(u>>>1|0,g);o=n+e|0;n=d+n|0;q=p(f,q)+c|0;a:{if(!D){v=0;break a}y=i[E>>1];C=k[B|0];J=i[F>>1];K=i[G>>1];L=i[H>>1];M=i[I>>1];v=0;while(1){z=k[o|0]-128|0;t=k[n|0]-128|0;w=(p(z,K)+p(t,L)|0)- -8192|0;x=p(y,k[b|0]-C|0);z=p(z,M)- -8192|0;N=k[(w+x>>6)+163216|0]<<3&2016|k[(z+x>>6)+163216|0]<<8&63488;A=x;x=p(t,J)- -8192|0;i[m>>1]=N|k[(A+x>>6)+163216|0]>>>3;t=p(y,k[b+1|0]-C|0);i[m+2>>1]=k[(t+w>>6)+163216|0]<<3&2016|k[(t+z>>6)+163216|0]<<8&63488|k[(t+x>>6)+163216|0]>>>3;t=p(y,k[q|0]-C|0);i[s>>1]=k[(t+w>>6)+163216|0]<<3&2016|k[(t+z>>6)+163216|0]<<8&63488|k[(t+x>>6)+163216|0]>>>3;A=w;w=p(y,k[q+1|0]-C|0);i[s+2>>1]=k[(A+w>>6)+163216|0]<<3&2016|k[(w+z>>6)+163216|0]<<8&63488|k[(w+x>>6)+163216|0]>>>3;o=o+1|0;n=n+1|0;q=q+2|0;b=b+2|0;s=s+4|0;m=m+4|0;v=v+2|0;if(D>>>0>v>>>0){continue}break}}if((v|0)==(D|0)){A=m;v=i[E>>1];m=k[B|0];b=p(v,k[b|0]-m|0)- -8192|0;o=k[o|0]-128|0;n=k[n|0]-128|0;y=p(o,i[G>>1])+p(n,i[H>>1])|0;o=p(o,i[I>>1]);n=p(n,i[F>>1]);i[A>>1]=k[(b+y>>6)+163216|0]<<3&2016|k[(o+b>>6)+163216|0]<<8&63488|k[(n+b>>6)+163216|0]>>>3;b=p(v,k[q|0]-m|0)- -8192|0;i[s>>1]=k[(b+y>>6)+163216|0]<<3&2016|k[(b+o>>6)+163216|0]<<8&63488|k[(b+n>>6)+163216|0]>>>3}u=u+2|0;if(r>>>0>u>>>0){continue}break}}b:{if((r|0)!=(u|0)){break b}m=p(j,r)+h|0;b=p(f,r)+c|0;c=p(r>>>1|0,g);s=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(l,12);d=i[a+163170>>1];g=i[a+163178>>1];h=i[a+163176>>1];j=i[a+163174>>1];u=i[a+163172>>1];e=k[B|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;r=k[s|0]-128|0;o=k[q|0]-128|0;n=p(r,h)+p(o,j)|0;r=p(r,u);o=p(g,o);i[m>>1]=k[(f+n>>6)+163216|0]<<3&2016|k[(r+f>>6)+163216|0]<<8&63488|k[(o+f>>6)+163216|0]>>>3;f=p(d,k[b+1|0]-e|0)- -8192|0;i[m+2>>1]=k[(f+n>>6)+163216|0]<<3&2016|k[(f+r>>6)+163216|0]<<8&63488|k[(f+o>>6)+163216|0]>>>3;s=s+1|0;q=q+1|0;b=b+2|0;m=m+4|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(l,12);b=p(i[a+163170>>1],k[b|0]-k[B|0]|0)- -8192|0;c=k[q|0]-128|0;d=k[s|0]-128|0;i[m>>1]=k[((b+p(c,i[a+163174>>1])|0)+p(d,i[a+163176>>1])>>6)+163216|0]<<3&2016|k[(b+p(d,i[a+163172>>1])>>6)+163216|0]<<8&63488|k[(b+p(c,i[a+163178>>1])>>6)+163216|0]>>>3}}function bG(a,b,c,d,e,f,g,h,j,l){var m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;m=p(l,12);B=m+163168|0;r=b-1|0;if(r){D=a-1|0;E=m+163170|0;F=m+163178|0;G=m+163176|0;H=m+163174|0;I=m+163172|0;while(1){m=p(j,u)+h|0;b=p(f,u)+c|0;q=u|1;s=p(q,j)+h|0;n=p(u>>>1|0,g);o=n+e|0;n=d+n|0;q=p(f,q)+c|0;a:{if(!D){v=0;break a}y=i[E>>1];C=k[B|0];J=i[F>>1];K=i[G>>1];L=i[H>>1];M=i[I>>1];v=0;while(1){z=k[o|0]-128|0;t=k[n|0]-128|0;w=(p(z,K)+p(t,L)|0)- -8192|0;x=p(y,k[b|0]-C|0);z=p(z,M)- -8192|0;N=k[(w+x>>6)+163216|0]<<3&2016|k[(z+x>>6)+163216|0]<<8&63488;A=x;x=p(t,J)- -8192|0;i[m>>1]=N|k[(A+x>>6)+163216|0]>>>3;t=p(y,k[b+1|0]-C|0);i[m+2>>1]=k[(t+w>>6)+163216|0]<<3&2016|k[(t+z>>6)+163216|0]<<8&63488|k[(t+x>>6)+163216|0]>>>3;t=p(y,k[q|0]-C|0);i[s>>1]=k[(t+w>>6)+163216|0]<<3&2016|k[(t+z>>6)+163216|0]<<8&63488|k[(t+x>>6)+163216|0]>>>3;A=w;w=p(y,k[q+1|0]-C|0);i[s+2>>1]=k[(A+w>>6)+163216|0]<<3&2016|k[(w+z>>6)+163216|0]<<8&63488|k[(w+x>>6)+163216|0]>>>3;o=o+2|0;n=n+2|0;q=q+2|0;b=b+2|0;s=s+4|0;m=m+4|0;v=v+2|0;if(D>>>0>v>>>0){continue}break}}if((v|0)==(D|0)){A=m;v=i[E>>1];m=k[B|0];b=p(v,k[b|0]-m|0)- -8192|0;o=k[o|0]-128|0;n=k[n|0]-128|0;y=p(o,i[G>>1])+p(n,i[H>>1])|0;o=p(o,i[I>>1]);n=p(n,i[F>>1]);i[A>>1]=k[(b+y>>6)+163216|0]<<3&2016|k[(o+b>>6)+163216|0]<<8&63488|k[(n+b>>6)+163216|0]>>>3;b=p(v,k[q|0]-m|0)- -8192|0;i[s>>1]=k[(b+y>>6)+163216|0]<<3&2016|k[(b+o>>6)+163216|0]<<8&63488|k[(b+n>>6)+163216|0]>>>3}u=u+2|0;if(r>>>0>u>>>0){continue}break}}b:{if((r|0)!=(u|0)){break b}m=p(j,r)+h|0;b=p(f,r)+c|0;c=p(r>>>1|0,g);s=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(l,12);d=i[a+163170>>1];g=i[a+163178>>1];h=i[a+163176>>1];j=i[a+163174>>1];u=i[a+163172>>1];e=k[B|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;r=k[s|0]-128|0;o=k[q|0]-128|0;n=p(r,h)+p(o,j)|0;r=p(r,u);o=p(g,o);i[m>>1]=k[(f+n>>6)+163216|0]<<3&2016|k[(r+f>>6)+163216|0]<<8&63488|k[(o+f>>6)+163216|0]>>>3;f=p(d,k[b+1|0]-e|0)- -8192|0;i[m+2>>1]=k[(f+n>>6)+163216|0]<<3&2016|k[(f+r>>6)+163216|0]<<8&63488|k[(f+o>>6)+163216|0]>>>3;s=s+2|0;q=q+2|0;b=b+2|0;m=m+4|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(l,12);b=p(i[a+163170>>1],k[b|0]-k[B|0]|0)- -8192|0;c=k[q|0]-128|0;d=k[s|0]-128|0;i[m>>1]=k[((b+p(c,i[a+163174>>1])|0)+p(d,i[a+163176>>1])>>6)+163216|0]<<3&2016|k[(b+p(d,i[a+163172>>1])>>6)+163216|0]<<8&63488|k[(b+p(c,i[a+163178>>1])>>6)+163216|0]>>>3}}function iq(a,b,c,d,e,f){var g=q(0),h=0,i=q(0),k=0,l=q(0),m=q(0),o=0,p=q(0),r=q(0),s=q(0),t=0,v=0,w=0,x=0,y=0,z=q(0),A=q(0);h=(a<<2)+15&-16;t=oe-h|0;v=t-h|0;w=v-h|0;x=w-h|0;y=x-h|0;l=q(1);p=q(u(q(n[c>>2]+e),q(1)));i=q(q(p*p)*q(.5));g=q(i+q(0));n[t>>2]=g;n[v>>2]=g;j[w>>2]=0;m=q(q(p*i)+q(0));n[x>>2]=m;j[y>>2]=0;k=1;if((a|0)>1){p=g;while(1){h=k<<2;i=q(u(q(n[h+c>>2]+e),q(1)));r=q(i*i);p=q(p+r);n[h+t>>2]=p;s=q(l*r);g=q(g+s);n[h+v>>2]=g;z=q(z+q(l*s));n[h+w>>2]=z;m=q(m+q(i*r));n[h+x>>2]=m;A=q(A+q(i*s));n[h+y>>2]=A;l=q(l+q(1));k=k+1|0;if((k|0)!=(a|0)){continue}break}}g=q(1);l=q(0);k=j[b>>2];a:{if((k|0)>-1){p=q(0);i=q(0);break a}while(1){c=k<<2&262140;h=k>>16<<2;m=q(n[c+w>>2]+n[w-h>>2]);i=q(n[c+x>>2]+n[x-h>>2]);g=q(n[c+v>>2]-n[v-h>>2]);r=q(n[c+y>>2]-n[y-h>>2]);p=q(q(m*i)-q(g*r));s=q(n[c+t>>2]+n[t-h>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));n[(o<<2)+d>>2]=q(u(q(q(p+q(l*i))/g),q(0)))-e;l=q(l+q(1));o=o+1|0;k=j[(o<<2)+b>>2];if((k|0)<=-1){continue}break}}c=k&65535;if((c|0)<(a|0)){while(1){c=c<<2;h=k>>16<<2;m=q(n[c+w>>2]-n[h+w>>2]);i=q(n[c+x>>2]-n[h+x>>2]);g=q(n[c+v>>2]-n[h+v>>2]);r=q(n[c+y>>2]-n[h+y>>2]);p=q(q(m*i)-q(g*r));s=q(n[c+t>>2]-n[h+t>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));n[(o<<2)+d>>2]=q(u(q(q(p+q(l*i))/g),q(0)))-e;l=q(l+q(1));o=o+1|0;k=j[(o<<2)+b>>2];c=k&65535;if((c|0)<(a|0)){continue}break}}if((a|0)>(o|0)){while(1){n[(o<<2)+d>>2]=q(u(q(q(p+q(i*l))/g),q(0)))-e;l=q(l+q(1));o=o+1|0;if((o|0)!=(a|0)){continue}break}}b:{if((f|0)<1){break b}h=f>>>1|0;k=h-f|0;c:{if((k|0)>-1){l=q(0);o=0;break c}o=f-h|0;b=0;l=q(0);c=h;while(1){c=c<<2;k=k<<2;m=q(n[c+w>>2]+n[w-k>>2]);i=q(n[c+x>>2]+n[x-k>>2]);g=q(n[c+v>>2]-n[v-k>>2]);r=q(n[c+y>>2]-n[y-k>>2]);p=q(q(m*i)-q(g*r));s=q(n[c+t>>2]+n[t-k>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));m=q(q(q(p+q(l*i))/g)-e);c=(b<<2)+d|0;if(!(m>2]^1)){n[c>>2]=m}l=q(l+q(1));b=b+1|0;c=h+b|0;k=c-f|0;if((b|0)!=(o|0)){continue}break}}k=h+o|0;if((k|0)<(a|0)){while(1){b=k<<2;c=k-f<<2;m=q(n[b+w>>2]-n[c+w>>2]);i=q(n[b+x>>2]-n[c+x>>2]);g=q(n[b+v>>2]-n[c+v>>2]);r=q(n[b+y>>2]-n[c+y>>2]);p=q(q(m*i)-q(g*r));s=q(n[b+t>>2]-n[c+t>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));m=q(q(q(p+q(l*i))/g)-e);c=(o<<2)+d|0;if(!(m>2]^1)){n[c>>2]=m}l=q(l+q(1));o=o+1|0;k=h+o|0;if((k|0)<(a|0)){continue}break}}if((a|0)<=(o|0)){break b}while(1){m=q(q(q(p+q(i*l))/g)-e);b=(o<<2)+d|0;if(!(m>2]^1)){n[b>>2]=m}l=q(l+q(1));o=o+1|0;if((o|0)!=(a|0)){continue}break}}}function _p(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=oe-48|0;oe=g;rP(+a);d=oP(1)|0;f=oP(0)|0;a:{b:{e=d;d=e;h=e&2147483647;c:{if(h>>>0<=1074752122){if((d&1048575)==598523){break c}if(h>>>0<=1073928572){if((e|0)>0?1:(e|0)>=0){a=a+ -1.5707963267341256;c=a+ -6.077100506506192e-11;o[b>>3]=c;o[b+8>>3]=a-c+ -6.077100506506192e-11;d=1;break a}a=a+1.5707963267341256;c=a+6.077100506506192e-11;o[b>>3]=c;o[b+8>>3]=a-c+6.077100506506192e-11;d=-1;break a}if((e|0)>0?1:(e|0)>=0){a=a+ -3.1415926534682512;c=a+ -1.2154201013012384e-10;o[b>>3]=c;o[b+8>>3]=a-c+ -1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;c=a+1.2154201013012384e-10;o[b>>3]=c;o[b+8>>3]=a-c+1.2154201013012384e-10;d=-2;break a}if(h>>>0<=1075594811){if(h>>>0<=1075183036){if((h|0)==1074977148){break c}if((e|0)>0?1:(e|0)>=0){a=a+ -4.712388980202377;c=a+ -1.8231301519518578e-10;o[b>>3]=c;o[b+8>>3]=a-c+ -1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;c=a+1.8231301519518578e-10;o[b>>3]=c;o[b+8>>3]=a-c+1.8231301519518578e-10;d=-3;break a}if((h|0)==1075388923){break c}if((e|0)>0?1:(e|0)>=0){a=a+ -6.2831853069365025;c=a+ -2.430840202602477e-10;o[b>>3]=c;o[b+8>>3]=a-c+ -2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;c=a+2.430840202602477e-10;o[b>>3]=c;o[b+8>>3]=a-c+2.430840202602477e-10;d=-4;break a}if(h>>>0>1094263290){break b}}j=a*.6366197723675814+6755399441055744+ -6755399441055744;c=a+j*-1.5707963267341256;i=j*6.077100506506192e-11;a=c-i;o[b>>3]=a;rP(+a);d=oP(1)|0;oP(0)|0;e=h>>>20|0;f=(e-(d>>>20&2047)|0)<17;if(r(j)<2147483648){d=~~j}else{d=-2147483648}d:{if(f){break d}i=c;a=j*6.077100506303966e-11;c=c-a;i=j*2.0222662487959506e-21-(i-c-a);a=c-i;o[b>>3]=a;f=e;rP(+a);e=oP(1)|0;oP(0)|0;if((f-(e>>>20&2047)|0)<50){break d}i=c;a=j*2.0222662487111665e-21;c=c-a;i=j*8.4784276603689e-32-(i-c-a);a=c-i;o[b>>3]=a}o[b+8>>3]=c-a-i;break a}if(h>>>0>=2146435072){a=a-a;o[b>>3]=a;o[b+8>>3]=a;d=0;break a}pP(0,f|0);pP(1,e&1048575|1096810496);a=+qP();d=0;f=1;while(1){k=(g+16|0)+(d<<3)|0;if(r(a)<2147483648){d=~~a}else{d=-2147483648}c=+(d|0);o[k>>3]=c;a=(a-c)*16777216;d=1;k=f&1;f=0;if(k){continue}break}o[g+32>>3]=a;e:{if(a!=0){d=2;break e}f=1;while(1){d=f;f=d-1|0;if(o[(g+16|0)+(d<<3)>>3]==0){continue}break}}d=$p(g+16|0,g,(h>>>20|0)-1046|0,d+1|0,1);a=o[g>>3];if((e|0)<-1?1:(e|0)<=-1){o[b>>3]=-a;o[b+8>>3]=-o[g+8>>3];d=0-d|0;break a}o[b>>3]=a;o[b+8>>3]=o[g+8>>3]}oe=g+48|0;return d}function nG(a,b,c,d,e,f,g,j,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+163168|0;s=b-1|0;if(s){D=a-1|0;F=n+163170|0;G=n+163178|0;H=n+163176|0;I=n+163174|0;J=n+163172|0;while(1){n=p(l,w)+j|0;o=p(f,w)+c|0;t=w|1;b=p(t,l)+j|0;q=p(w>>>1|0,g);r=q+e|0;q=d+q|0;t=p(f,t)+c|0;a:{if(!D){x=0;break a}z=i[F>>1];A=k[C|0];L=i[G>>1];M=i[H>>1];N=i[I>>1];O=i[J>>1];x=0;while(1){B=k[r|0];u=k[q|0]-128|0;v=p(u,L)- -8192|0;y=p(z,k[o|0]-A|0);h[n+2|0]=k[(v+y>>6)+163216|0];K=B-128|0;B=p(K,O)- -8192|0;h[n|0]=k[(B+y>>6)+163216|0];E=y;y=(p(M,K)+p(u,N)|0)- -8192|0;h[n+1|0]=k[(E+y>>6)+163216|0];u=p(z,k[o+1|0]-A|0);h[n+5|0]=k[(u+v>>6)+163216|0];h[n+4|0]=k[(u+y>>6)+163216|0];h[n+3|0]=k[(u+B>>6)+163216|0];u=p(z,k[t|0]-A|0);h[b+2|0]=k[(u+v>>6)+163216|0];h[b+1|0]=k[(u+y>>6)+163216|0];h[b|0]=k[(u+B>>6)+163216|0];E=v;v=p(z,k[t+1|0]-A|0);h[b+5|0]=k[(E+v>>6)+163216|0];h[b+4|0]=k[(v+y>>6)+163216|0];h[b+3|0]=k[(v+B>>6)+163216|0];r=r+1|0;q=q+1|0;t=t+2|0;o=o+2|0;b=b+6|0;n=n+6|0;x=x+2|0;if(D>>>0>x>>>0){continue}break}}if((x|0)==(D|0)){r=k[r|0];z=i[F>>1];x=k[C|0];o=p(z,k[o|0]-x|0)- -8192|0;q=k[q|0]-128|0;A=p(q,i[G>>1]);h[n+2|0]=k[(o+A>>6)+163216|0];r=r-128|0;q=p(r,i[H>>1])+p(q,i[I>>1])|0;h[n+1|0]=k[(q+o>>6)+163216|0];v=o;o=p(r,i[J>>1]);h[n|0]=k[(v+o>>6)+163216|0];n=p(z,k[t|0]-x|0)- -8192|0;h[b+2|0]=k[(n+A>>6)+163216|0];h[b+1|0]=k[(n+q>>6)+163216|0];h[b|0]=k[(n+o>>6)+163216|0]}w=w+2|0;if(s>>>0>w>>>0){continue}break}}b:{if((s|0)!=(w|0)){break b}n=p(l,s)+j|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);o=c+e|0;t=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+163170>>1];g=i[a+163178>>1];j=i[a+163176>>1];l=i[a+163174>>1];w=i[a+163172>>1];e=k[C|0];a=0;while(1){s=k[o|0];f=p(d,k[b|0]-e|0)- -8192|0;r=k[t|0]-128|0;q=p(r,g);h[n+2|0]=k[(f+q>>6)+163216|0];s=s-128|0;r=p(s,j)+p(l,r)|0;h[n+1|0]=k[(r+f>>6)+163216|0];s=p(s,w);h[n|0]=k[(s+f>>6)+163216|0];f=p(d,k[b+1|0]-e|0)- -8192|0;h[n+5|0]=k[(f+q>>6)+163216|0];h[n+4|0]=k[(f+r>>6)+163216|0];h[n+3|0]=k[(f+s>>6)+163216|0];o=o+1|0;t=t+1|0;b=b+2|0;n=n+6|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}c=k[o|0];a=p(m,12);b=p(i[a+163170>>1],k[b|0]-k[C|0]|0)- -8192|0;d=k[t|0]-128|0;h[n+2|0]=k[(b+p(d,i[a+163178>>1])>>6)+163216|0];c=c-128|0;h[n|0]=k[(b+p(c,i[a+163172>>1])>>6)+163216|0];h[n+1|0]=k[((b+p(d,i[a+163174>>1])|0)+p(c,i[a+163176>>1])>>6)+163216|0]}}function eB(a,b,c){var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;o=oe-16|0;oe=o;j[o+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}b:{if(k[b+18|0]-1>>>0<=6){q=j[a>>2];h[c+18|0]=2;g=j[c>>2];f=j[b>>2];j[c>>2]=f;j[c+4>>2]=j[b+4>>2];l=j[c+8>>2];e=j[b+4>>2];if((e|0)>=1){gP(e,0,f,0);if(pe){break a}}n=c;m=0-e|0;a=e;e=p(a,f);d=l>>31;d=p(g,d+l^d);if(e>>>0>d>>>0){s=c,t=op(q,d,e,j[c+12>>2],o+12|0),j[s+12>>2]=t;d=j[o+12>>2];if(d){break a}l=j[c+8>>2]}j[n+8>>2]=(l|0)<0?m:a;break b}j[o+12>>2]=6}l=j[b+12>>2];e=j[b+8>>2];if((e|0)<=-1){l=p(1-j[b>>2]|0,e)+l|0}n=j[c+12>>2];g=j[c+8>>2];if((g|0)<=-1){n=p(1-j[c>>2]|0,g)+n|0}c:{d:{switch(k[b+18|0]-1|0){case 0:i[c+16>>1]=2;g=j[b>>2];if(!g){break c}while(1){d=n;e=l;a=j[b+4>>2];f=a>>>3|0;if(f){while(1){a=k[e|0];h[d+7|0]=a&1;h[d|0]=a>>>7;h[d+6|0]=a>>>1&1;h[d+5|0]=a>>>2&1;h[d+4|0]=a>>>3&1;h[d+3|0]=a>>>4&1;h[d+2|0]=a>>>5&1;h[d+1|0]=a>>>6&1;e=e+1|0;d=d+8|0;f=f-1|0;if(f){continue}break}a=j[b+4>>2]}f=a&7;if(f){a=k[e|0];while(1){h[d|0]=(a&128)>>>7;d=d+1|0;a=a<<1;f=f-1|0;if(f){continue}break}}n=j[c+8>>2]+n|0;l=j[b+8>>2]+l|0;g=g-1|0;if(g){continue}break}break c;case 1:case 4:case 5:a=j[b+4>>2];i[c+16>>1]=256;d=j[b>>2];if(!d){break c}while(1){n=Ae(n,l,a)+j[c+8>>2]|0;l=j[b+8>>2]+l|0;d=d-1|0;if(d){continue}break}break c;case 2:i[c+16>>1]=4;g=j[b>>2];if(!g){break c}while(1){d=n;e=l;a=j[b+4>>2];f=a>>>2|0;if(f){while(1){a=k[e|0];h[d+3|0]=a&3;h[d|0]=a>>>6;h[d+2|0]=a>>>2&3;h[d+1|0]=a>>>4&3;d=d+4|0;e=e+1|0;f=f-1|0;if(f){continue}break}a=j[b+4>>2]}f=a&3;if(f){a=k[e|0];while(1){h[d|0]=(a&192)>>>6;d=d+1|0;a=a<<2;f=f-1|0;if(f){continue}break}}n=j[c+8>>2]+n|0;l=j[b+8>>2]+l|0;g=g-1|0;if(g){continue}break}break c;case 3:i[c+16>>1]=16;g=j[b>>2];if(!g){break c}while(1){d=n;a=l;m=j[b+4>>2];e=m>>>1|0;if(e){while(1){m=k[a|0];h[d+1|0]=m&15;h[d|0]=m>>>4;d=d+2|0;a=a+1|0;e=e-1|0;if(e){continue}break}m=j[b+4>>2]}if(m&1){h[d|0]=k[a|0]>>>4}n=j[c+8>>2]+n|0;l=j[b+8>>2]+l|0;g=g-1|0;if(g){continue}break}break c;case 6:break d;default:break c}}i[c+16>>1]=256;q=j[b>>2];if(!q){break c}while(1){a=n;d=l;f=j[b+4>>2];if(f){while(1){e=a;g=k[d+3|0];m=0;e:{if(!g){break e}m=k[d+1|0];r=p(p(m,m),46871);m=k[d|0];r=r+p(p(m,m),4732)|0;m=k[d+2|0];m=g-((r+p(p(m,m),13933)>>>16>>>0)/(g>>>0)|0)|0}h[e|0]=m;a=a+1|0;d=d+4|0;f=f-1|0;if(f){continue}break}g=j[c+8>>2];e=j[b+8>>2]}n=n+g|0;l=l+e|0;q=q-1|0;if(q){continue}break}}d=j[o+12>>2]}oe=o+16|0;return d}function aG(a,b,c,d,e,f,g,j,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+163168|0;s=b-1|0;if(s){D=a-1|0;F=n+163170|0;G=n+163178|0;H=n+163176|0;I=n+163174|0;J=n+163172|0;while(1){n=p(l,w)+j|0;o=p(f,w)+c|0;t=w|1;b=p(t,l)+j|0;q=p(w>>>1|0,g);r=q+e|0;q=d+q|0;t=p(f,t)+c|0;a:{if(!D){x=0;break a}z=i[F>>1];A=k[C|0];L=i[G>>1];M=i[H>>1];N=i[I>>1];O=i[J>>1];x=0;while(1){B=k[r|0];u=k[q|0]-128|0;v=p(u,L)- -8192|0;y=p(z,k[o|0]-A|0);h[n+2|0]=k[(v+y>>6)+163216|0];K=B-128|0;B=p(K,O)- -8192|0;h[n|0]=k[(B+y>>6)+163216|0];E=y;y=(p(M,K)+p(u,N)|0)- -8192|0;h[n+1|0]=k[(E+y>>6)+163216|0];u=p(z,k[o+1|0]-A|0);h[n+5|0]=k[(u+v>>6)+163216|0];h[n+4|0]=k[(u+y>>6)+163216|0];h[n+3|0]=k[(u+B>>6)+163216|0];u=p(z,k[t|0]-A|0);h[b+2|0]=k[(u+v>>6)+163216|0];h[b+1|0]=k[(u+y>>6)+163216|0];h[b|0]=k[(u+B>>6)+163216|0];E=v;v=p(z,k[t+1|0]-A|0);h[b+5|0]=k[(E+v>>6)+163216|0];h[b+4|0]=k[(v+y>>6)+163216|0];h[b+3|0]=k[(v+B>>6)+163216|0];r=r+2|0;q=q+2|0;t=t+2|0;o=o+2|0;b=b+6|0;n=n+6|0;x=x+2|0;if(D>>>0>x>>>0){continue}break}}if((x|0)==(D|0)){r=k[r|0];z=i[F>>1];x=k[C|0];o=p(z,k[o|0]-x|0)- -8192|0;q=k[q|0]-128|0;A=p(q,i[G>>1]);h[n+2|0]=k[(o+A>>6)+163216|0];r=r-128|0;q=p(r,i[H>>1])+p(q,i[I>>1])|0;h[n+1|0]=k[(q+o>>6)+163216|0];v=o;o=p(r,i[J>>1]);h[n|0]=k[(v+o>>6)+163216|0];n=p(z,k[t|0]-x|0)- -8192|0;h[b+2|0]=k[(n+A>>6)+163216|0];h[b+1|0]=k[(n+q>>6)+163216|0];h[b|0]=k[(n+o>>6)+163216|0]}w=w+2|0;if(s>>>0>w>>>0){continue}break}}b:{if((s|0)!=(w|0)){break b}n=p(l,s)+j|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);o=c+e|0;t=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+163170>>1];g=i[a+163178>>1];j=i[a+163176>>1];l=i[a+163174>>1];w=i[a+163172>>1];e=k[C|0];a=0;while(1){s=k[o|0];f=p(d,k[b|0]-e|0)- -8192|0;r=k[t|0]-128|0;q=p(r,g);h[n+2|0]=k[(f+q>>6)+163216|0];s=s-128|0;r=p(s,j)+p(l,r)|0;h[n+1|0]=k[(r+f>>6)+163216|0];s=p(s,w);h[n|0]=k[(s+f>>6)+163216|0];f=p(d,k[b+1|0]-e|0)- -8192|0;h[n+5|0]=k[(f+q>>6)+163216|0];h[n+4|0]=k[(f+r>>6)+163216|0];h[n+3|0]=k[(f+s>>6)+163216|0];o=o+2|0;t=t+2|0;b=b+2|0;n=n+6|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}c=k[o|0];a=p(m,12);b=p(i[a+163170>>1],k[b|0]-k[C|0]|0)- -8192|0;d=k[t|0]-128|0;h[n+2|0]=k[(b+p(d,i[a+163178>>1])>>6)+163216|0];c=c-128|0;h[n|0]=k[(b+p(c,i[a+163172>>1])>>6)+163216|0];h[n+1|0]=k[((b+p(d,i[a+163174>>1])|0)+p(c,i[a+163176>>1])>>6)+163216|0]}}function kG(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+163168|0;q=b-1|0;if(q){E=a-1|0;F=n+163170|0;G=n+163178|0;H=n+163176|0;I=n+163174|0;J=n+163172|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+163216|0]<<16|k[(A+u>>6)+163216|0]<<8;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+163216|0]|-16777216;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+163216|0]<<16|k[(v+A>>6)+163216|0]<<8|k[(v+u>>6)+163216|0]|-16777216;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+163216|0]<<16|k[(v+A>>6)+163216|0]<<8|k[(v+u>>6)+163216|0]|-16777216;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+163216|0]<<16|k[(y+A>>6)+163216|0]<<8|k[(y+u>>6)+163216|0]|-16777216;o=o+1|0;s=s+1|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+163216|0]<<16|k[(s+b>>6)+163216|0]<<8|k[(o+b>>6)+163216|0]|-16777216;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+163216|0]<<16|k[(b+s>>6)+163216|0]<<8|k[(b+o>>6)+163216|0]|-16777216}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+163170>>1];g=i[a+163178>>1];h=i[a+163176>>1];l=i[a+163174>>1];w=i[a+163172>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+163216|0]<<16|k[(s+f>>6)+163216|0]<<8|k[(q+f>>6)+163216|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+163216|0]<<16|k[(f+s>>6)+163216|0]<<8|k[(f+q>>6)+163216|0]|-16777216;t=t+1|0;r=r+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+163170>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+163172>>1])>>6)+163216|0]<<16|k[((b+p(d,i[a+163174>>1])|0)+p(c,i[a+163176>>1])>>6)+163216|0]<<8|k[(b+p(d,i[a+163178>>1])>>6)+163216|0]|-16777216}}function ZF(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+163168|0;q=b-1|0;if(q){E=a-1|0;F=n+163170|0;G=n+163178|0;H=n+163176|0;I=n+163174|0;J=n+163172|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+163216|0]<<16|k[(A+u>>6)+163216|0]<<8;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+163216|0]|-16777216;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+163216|0]<<16|k[(v+A>>6)+163216|0]<<8|k[(v+u>>6)+163216|0]|-16777216;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+163216|0]<<16|k[(v+A>>6)+163216|0]<<8|k[(v+u>>6)+163216|0]|-16777216;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+163216|0]<<16|k[(y+A>>6)+163216|0]<<8|k[(y+u>>6)+163216|0]|-16777216;o=o+2|0;s=s+2|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+163216|0]<<16|k[(s+b>>6)+163216|0]<<8|k[(o+b>>6)+163216|0]|-16777216;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+163216|0]<<16|k[(b+s>>6)+163216|0]<<8|k[(b+o>>6)+163216|0]|-16777216}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+163170>>1];g=i[a+163178>>1];h=i[a+163176>>1];l=i[a+163174>>1];w=i[a+163172>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+163216|0]<<16|k[(s+f>>6)+163216|0]<<8|k[(q+f>>6)+163216|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+163216|0]<<16|k[(f+s>>6)+163216|0]<<8|k[(f+q>>6)+163216|0]|-16777216;t=t+2|0;r=r+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+163170>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+163172>>1])>>6)+163216|0]<<16|k[((b+p(d,i[a+163174>>1])|0)+p(c,i[a+163176>>1])>>6)+163216|0]<<8|k[(b+p(d,i[a+163178>>1])>>6)+163216|0]|-16777216}}function iG(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+163168|0;s=b-1|0;if(s){E=a-1|0;F=n+163170|0;G=n+163178|0;H=n+163176|0;I=n+163174|0;J=n+163172|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+163216|0]<<16|k[(A+y>>6)+163216|0]<<8;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+163216|0]|-16777216;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+163216|0]<<16|k[(u+A>>6)+163216|0]<<8|k[(u+y>>6)+163216|0]|-16777216;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+163216|0]<<16|k[(u+A>>6)+163216|0]<<8|k[(u+y>>6)+163216|0]|-16777216;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+163216|0]<<16|k[(x+A>>6)+163216|0]<<8|k[(x+y>>6)+163216|0]|-16777216;r=r+1|0;o=o+1|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+163216|0]<<16|k[(o+b>>6)+163216|0]<<8|k[(r+b>>6)+163216|0]|-16777216;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+163216|0]<<16|k[(b+o>>6)+163216|0]<<8|k[(b+r>>6)+163216|0]|-16777216}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+163170>>1];g=i[a+163178>>1];h=i[a+163176>>1];l=i[a+163174>>1];v=i[a+163172>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+163216|0]<<16|k[(s+f>>6)+163216|0]<<8|k[(o+f>>6)+163216|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+163216|0]<<16|k[(f+s>>6)+163216|0]<<8|k[(f+o>>6)+163216|0]|-16777216;t=t+1|0;q=q+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+163170>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+163178>>1])>>6)+163216|0]<<16;d=b+p(c,i[a+163174>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+163176>>1])>>6)+163216|0]<<8|k[(b+p(c,i[a+163172>>1])>>6)+163216|0]|-16777216}}function YF(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+163168|0;s=b-1|0;if(s){E=a-1|0;F=n+163170|0;G=n+163178|0;H=n+163176|0;I=n+163174|0;J=n+163172|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+163216|0]<<16|k[(A+y>>6)+163216|0]<<8;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+163216|0]|-16777216;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+163216|0]<<16|k[(u+A>>6)+163216|0]<<8|k[(u+y>>6)+163216|0]|-16777216;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+163216|0]<<16|k[(u+A>>6)+163216|0]<<8|k[(u+y>>6)+163216|0]|-16777216;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+163216|0]<<16|k[(x+A>>6)+163216|0]<<8|k[(x+y>>6)+163216|0]|-16777216;r=r+2|0;o=o+2|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+163216|0]<<16|k[(o+b>>6)+163216|0]<<8|k[(r+b>>6)+163216|0]|-16777216;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+163216|0]<<16|k[(b+o>>6)+163216|0]<<8|k[(b+r>>6)+163216|0]|-16777216}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+163170>>1];g=i[a+163178>>1];h=i[a+163176>>1];l=i[a+163174>>1];v=i[a+163172>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+163216|0]<<16|k[(s+f>>6)+163216|0]<<8|k[(o+f>>6)+163216|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+163216|0]<<16|k[(f+s>>6)+163216|0]<<8|k[(f+o>>6)+163216|0]|-16777216;t=t+2|0;q=q+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+163170>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+163178>>1])>>6)+163216|0]<<16;d=b+p(c,i[a+163174>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+163176>>1])>>6)+163216|0]<<8|k[(b+p(c,i[a+163172>>1])>>6)+163216|0]|-16777216}}function qm(a,b,c,d,e){var f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=oe-32|0;oe=f;r=j[a>>2];c=_G(b,c,f+24|0,f+20|0);a:{if(c){break a}c=1;b:{if(!Gq(a,b,j[f+24>>2],j[f+20>>2],1347375956,1,f+16|0,f+12|0)){s=j[f+12>>2];v=j[f+16>>2];j[f+28>>2]=1;c:{if(d+1>>>0>1){break c}c=10;if((s|0)<1){break c}t=j[a>>2];d=0;while(1){c=Fe(b,j[(d<<2)+v>>2]);j[f+28>>2]=c;if(c){break c}m=rf(b,f+28|0);c=j[f+28>>2];if(c){break c}c=9;if((m|0)<0){break c}l=n;n=(m+l|0)+6|0;if(n>>>0>>0){break c}d=d+1|0;if((s|0)!=(d|0)){continue}break}c=10;q=n+2|0;if(q>>>0<6){break c}i=He(t,q,f+28|0);c=j[f+28>>2];if(c){break c}h[i+2|0]=0;h[i+3|0]=0;h[i+4|0]=0;h[i+5|0]=0;h[i|0]=128;h[i+1|0]=1;c=1;l=6;d:{e:{f:{g:{if((s|0)<1){o=2;break g}o=2;while(1){d=Fe(b,j[(u<<2)+v>>2]);j[f+28>>2]=d;if(d){break e}d=rf(b,f+28|0);if(j[f+28>>2]|(d|0)<0){break e}m=qf(b,f+28|0);if(j[f+28>>2]){break e}j[f+28>>2]=10;m=m>>>8|0;if(m){p=d-2|0;p=d>>>0

>>0?0:p;h:{if((c|0)==(m|0)){d=l;l=g+p|0;break h}d=o+3|0;if(d>>>0>q>>>0){break f}c=i+o|0;h[c|0]=g;h[c+2|0]=g>>>16;h[c+1|0]=g>>>8;h[d+i|0]=g>>>24;if((m|0)==5){break g}d=l+6|0;if(q>>>0>>0){break f}g=i+l|0;h[g|0]=128;o=l+2|0;c=i+o|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;h[g+1|0]=m;c=m;l=p}g=l;if(d>>>0>n>>>0){break f}l=d+p|0;if(n>>>0>>0){break f}d=uf(b,d+i|0,p);j[f+28>>2]=d;if(d){break e}}u=u+1|0;if((u|0)!=(s|0)){continue}break}}j[f+28>>2]=10;c=l+2|0;if(c>>>0>q>>>0){break e}b=i+l|0;h[b|0]=128;h[b+1|0]=3;d=o+3|0;if(d>>>0>q>>>0){break f}b=i+o|0;h[b|0]=g;h[b+2|0]=g>>>16;h[b+1|0]=g>>>8;h[d+i|0]=g>>>24;c=pm(a,i,c,0,6533,e);break c}if(!j[f+28>>2]){break d}}j[f+28>>2]=1}if(i){qe[j[t+8>>2]](t,i)}c=j[f+28>>2]}a=j[f+16>>2];if(a){qe[j[r+8>>2]](r,a)}if(c){break a}j[j[e>>2]>>2]=1;break b}c=Gq(a,b,j[f+24>>2],j[f+20>>2],1936092788,0,f+16|0,f+12|0);if(c){break a}c=1;g=j[f+12>>2];d=(d|0)%(g|0)|0;d=(d|0)==-1?0:d;i:{if((d|0)>=(g|0)){break i}l=j[a>>2];n=j[j[f+16>>2]+(d<<2)>>2];c=Fe(b,n);j[f+28>>2]=c;if(c){break i}g=rf(b,f+28|0);c=j[f+28>>2];if(c){break i}c=1;if((g|0)==-1){break i}c=Sr(a,b,d,e);j[f+28>>2]=c;if(!c){c=0;break i}if(Fe(b,n+4|0)){c=j[f+28>>2];break i}d=He(l,g,f+28|0);c=j[f+28>>2];if(c){break i}c=uf(b,d,g);j[f+28>>2]=c;if(c){break i}c=pm(a,d,g,0,(g|0)>=5?(k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24))==1330926671?6575:6539:6539,e)}a=j[f+16>>2];if(a){qe[j[r+8>>2]](r,a)}if(c){break a}j[j[e>>2]>>2]=j[f+12>>2]}c=0}oe=f+32|0;return c}function mG(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+163168|0;q=b-1|0;if(q){E=a-1|0;F=n+163170|0;G=n+163178|0;H=n+163176|0;I=n+163174|0;J=n+163172|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+163216|0]<<24|k[(A+u>>6)+163216|0]<<16;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+163216|0]<<8|255;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+163216|0]<<24|k[(v+A>>6)+163216|0]<<16|k[(v+u>>6)+163216|0]<<8|255;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+163216|0]<<24|k[(v+A>>6)+163216|0]<<16|k[(v+u>>6)+163216|0]<<8|255;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+163216|0]<<24|k[(y+A>>6)+163216|0]<<16|k[(y+u>>6)+163216|0]<<8|255;o=o+1|0;s=s+1|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+163216|0]<<24|k[(s+b>>6)+163216|0]<<16|k[(o+b>>6)+163216|0]<<8|255;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+163216|0]<<24|k[(b+s>>6)+163216|0]<<16|k[(b+o>>6)+163216|0]<<8|255}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+163170>>1];g=i[a+163178>>1];h=i[a+163176>>1];l=i[a+163174>>1];w=i[a+163172>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+163216|0]<<24|k[(s+f>>6)+163216|0]<<16|k[(q+f>>6)+163216|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+163216|0]<<24|k[(f+s>>6)+163216|0]<<16|k[(f+q>>6)+163216|0]<<8|255;t=t+1|0;r=r+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+163170>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+163172>>1])>>6)+163216|0]<<24|k[((b+p(d,i[a+163174>>1])|0)+p(c,i[a+163176>>1])>>6)+163216|0]<<16|k[(b+p(d,i[a+163178>>1])>>6)+163216|0]<<8|255}}function $F(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+163168|0;q=b-1|0;if(q){E=a-1|0;F=n+163170|0;G=n+163178|0;H=n+163176|0;I=n+163174|0;J=n+163172|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+163216|0]<<24|k[(A+u>>6)+163216|0]<<16;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+163216|0]<<8|255;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+163216|0]<<24|k[(v+A>>6)+163216|0]<<16|k[(v+u>>6)+163216|0]<<8|255;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+163216|0]<<24|k[(v+A>>6)+163216|0]<<16|k[(v+u>>6)+163216|0]<<8|255;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+163216|0]<<24|k[(y+A>>6)+163216|0]<<16|k[(y+u>>6)+163216|0]<<8|255;o=o+2|0;s=s+2|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+163216|0]<<24|k[(s+b>>6)+163216|0]<<16|k[(o+b>>6)+163216|0]<<8|255;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+163216|0]<<24|k[(b+s>>6)+163216|0]<<16|k[(b+o>>6)+163216|0]<<8|255}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+163170>>1];g=i[a+163178>>1];h=i[a+163176>>1];l=i[a+163174>>1];w=i[a+163172>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+163216|0]<<24|k[(s+f>>6)+163216|0]<<16|k[(q+f>>6)+163216|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+163216|0]<<24|k[(f+s>>6)+163216|0]<<16|k[(f+q>>6)+163216|0]<<8|255;t=t+2|0;r=r+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+163170>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+163172>>1])>>6)+163216|0]<<24|k[((b+p(d,i[a+163174>>1])|0)+p(c,i[a+163176>>1])>>6)+163216|0]<<16|k[(b+p(d,i[a+163178>>1])>>6)+163216|0]<<8|255}}function lG(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+163168|0;s=b-1|0;if(s){E=a-1|0;F=n+163170|0;G=n+163178|0;H=n+163176|0;I=n+163174|0;J=n+163172|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+163216|0]<<24|k[(A+y>>6)+163216|0]<<16;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+163216|0]<<8|255;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+163216|0]<<24|k[(u+A>>6)+163216|0]<<16|k[(u+y>>6)+163216|0]<<8|255;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+163216|0]<<24|k[(u+A>>6)+163216|0]<<16|k[(u+y>>6)+163216|0]<<8|255;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+163216|0]<<24|k[(x+A>>6)+163216|0]<<16|k[(x+y>>6)+163216|0]<<8|255;r=r+1|0;o=o+1|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+163216|0]<<24|k[(o+b>>6)+163216|0]<<16|k[(r+b>>6)+163216|0]<<8|255;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+163216|0]<<24|k[(b+o>>6)+163216|0]<<16|k[(b+r>>6)+163216|0]<<8|255}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+163170>>1];g=i[a+163178>>1];h=i[a+163176>>1];l=i[a+163174>>1];v=i[a+163172>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+163216|0]<<24|k[(s+f>>6)+163216|0]<<16|k[(o+f>>6)+163216|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+163216|0]<<24|k[(f+s>>6)+163216|0]<<16|k[(f+o>>6)+163216|0]<<8|255;t=t+1|0;q=q+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+163170>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+163178>>1])>>6)+163216|0]<<24;d=b+p(c,i[a+163174>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+163176>>1])>>6)+163216|0]<<16|k[(b+p(c,i[a+163172>>1])>>6)+163216|0]<<8|255}}function _F(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+163168|0;s=b-1|0;if(s){E=a-1|0;F=n+163170|0;G=n+163178|0;H=n+163176|0;I=n+163174|0;J=n+163172|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+163216|0]<<24|k[(A+y>>6)+163216|0]<<16;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+163216|0]<<8|255;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+163216|0]<<24|k[(u+A>>6)+163216|0]<<16|k[(u+y>>6)+163216|0]<<8|255;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+163216|0]<<24|k[(u+A>>6)+163216|0]<<16|k[(u+y>>6)+163216|0]<<8|255;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+163216|0]<<24|k[(x+A>>6)+163216|0]<<16|k[(x+y>>6)+163216|0]<<8|255;r=r+2|0;o=o+2|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+163216|0]<<24|k[(o+b>>6)+163216|0]<<16|k[(r+b>>6)+163216|0]<<8|255;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+163216|0]<<24|k[(b+o>>6)+163216|0]<<16|k[(b+r>>6)+163216|0]<<8|255}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+163170>>1];g=i[a+163178>>1];h=i[a+163176>>1];l=i[a+163174>>1];v=i[a+163172>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+163216|0]<<24|k[(s+f>>6)+163216|0]<<16|k[(o+f>>6)+163216|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+163216|0]<<24|k[(f+s>>6)+163216|0]<<16|k[(f+o>>6)+163216|0]<<8|255;t=t+2|0;q=q+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+163170>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+163178>>1])>>6)+163216|0]<<24;d=b+p(c,i[a+163174>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+163176>>1])>>6)+163216|0]<<16|k[(b+p(c,i[a+163172>>1])>>6)+163216|0]<<8|255}}function fK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;m=j[a+36>>2];c=j[a+20>>2];n=j[a+16>>2];b=j[a>>2];i=j[a+28>>2];f=j[a+24>>2];e=k[j[a+40>>2]+9|0];a:{g=j[a+44>>2];if(!j[g+24>>2]){if(!i){break a}d=k[g+9|0];o=f&7;g=(f+7|0)/8|0;b:while(1){f=g;c:{d:{switch(o-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=1;continue;case 1:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=2;continue;case 2:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=3;continue;case 3:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=4;continue;case 4:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=5;continue;case 5:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=6;continue;case 6:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=7;continue;default:break e}}a=i-1|0;l=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=l;h[c+1|0]=l>>>8;b=b+e|0;c=c+d|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+m|0;b=b+n|0;i=a;if(a){continue b}break a}a=0;continue}}}if(!i){break a}d=k[a+63|0]<>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=1;continue;case 1:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=2;continue;case 2:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=3;continue;case 3:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=4;continue;case 4:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=5;continue;case 5:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=6;continue;case 6:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=7;continue;default:break j}}a=i-1|0;j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;k:{if((f|0)>1){f=f-1|0;break k}c=c+m|0;b=b+n|0;i=a;if(a){continue g}break a}a=0;continue}}}}function OC(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;g=oe-32|0;oe=g;j[g+28>>2]=b;a:{if(!j[65534]){ve(1877,0);break a}if(!b){ve(2032,0);break a}b:{if((_C(a,b,g+24|0,g+20|0)|0)>=0){e=j[g+24>>2];if(e){break b}}ve(2054,0);break a}e=Ag(0,e,j[g+20>>2],32,16711680,65280,255,-16777216);if(!e){break a}i=j[e+16>>2]/4|0;d=k[j[a>>2]+8|0]&64?j[a+32>>2]!=0:d;o=j[e+12>>2];n=j[e+20>>2];b=Le(b);j[g+16>>2]=b;q=k[c+2|0]|(k[c+1|0]<<8|k[c|0]<<16);Qh(e,0,q);if(b){i=n+(p(i,o)<<2)|0;o=d^1;d=0;c=1;while(1){b=qp(g+28|0,g+16|0)&65535;if(!((b|0)==65279|(b|0)==65534)){if(Mp(a,b,18)){d=0;ve(2012,0);lf(e);break a}l=j[a+52>>2];b=j[l+36>>2];j[g+24>>2]=b;c:{if(j[a+28>>2]>0){break c}f=b;b=j[l+60>>2]-j[l+56>>2]|0;if((f|0)<=(b|0)){break c}j[g+24>>2]=b}d:{if(o|!d){break d}b=j[l+4>>2];if(!b){break d}qr(j[a>>2],d,b,g+8|0);m=(j[g+8>>2]>>6)+m|0}if(c){b=j[l+56>>2];m=m-(b>>31&b)|0}c=j[l+32>>2];if(c){f=0;while(1){b=j[l+72>>2]+f|0;e:{if((b|0)<0|(b|0)>=j[e+12>>2]){break e}b=((j[e+20>>2]+(m<<2)|0)+((p(b,j[e+16>>2])|0)/4<<2)|0)+(j[l+56>>2]<<2)|0;if(i>>>0<=b>>>0){break e}d=j[g+24>>2];if((d|0)<1){break e}c=j[l+44>>2]+p(j[l+40>>2],f)|0;while(1){f:{j[b>>2]=j[b>>2]|q|k[c|0]<<24;b=b+4|0;if(i>>>0<=b>>>0){break f}c=c+1|0;n=(d|0)>1;d=d-1|0;if(n){continue}}break}c=j[l+32>>2]}f=f+1|0;if(f>>>0>>0){continue}break}}m=j[l+76>>2]+m|0;m=!(h[a+24|0]&1)|h[a+20|0]&1?m:j[a+36>>2]+m|0;d=j[l+4>>2];c=0}if(j[g+16>>2]){continue}break}}b=j[a+24>>2];g:{if(!(b&4)){break g}d=j[e+20>>2];f=j[e+16>>2];o=d+(p(j[e+12>>2],(f|0)/4|0)<<2)|0;c=j[a+8>>2]+(j[a+44>>2]^-1)|0;d=(c|0)>0?d+p(c,f)|0:d;if(o>>>0<=d>>>0){break g}c=j[a+28>>2];i=j[a+48>>2]+((c|0)>0?c<<1:0)|0;if((i|0)<1){break g}n=q|-16777216;c=j[e+8>>2];while(1){b=0;if((c|0)>=1){while(1){j[(b<<2)+d>>2]=n;b=b+1|0;c=j[e+8>>2];if((b|0)<(c|0)){continue}break}f=j[e+16>>2]}b=(f|0)/4|0;if((i|0)>=2){i=i-1|0;d=(b<<2)+d|0;if(o>>>0>d>>>0){continue}}break}b=j[a+24>>2]}h:{if(!(b&8)){break h}c=j[e+20>>2];f=j[e+16>>2];n=c+(p(j[e+12>>2],(f|0)/4|0)<<2)|0;b=j[a+4>>2];d=(b|0)>1?c+p((b|0)/2|0,f)|0:c;if(n>>>0<=d>>>0){break h}b=j[a+48>>2];a=j[a+28>>2];i=b+((a|0)>0?a<<1:0)|0;if((i|0)<1){break h}a=q|-16777216;c=j[e+8>>2];while(1){b=0;if((c|0)>=1){while(1){j[(b<<2)+d>>2]=a;b=b+1|0;c=j[e+8>>2];if((b|0)<(c|0)){continue}break}f=j[e+16>>2]}if((i|0)<2){break h}i=i-1|0;d=((f|0)/4<<2)+d|0;if(n>>>0>d>>>0){continue}break}}d=e}oe=g+32|0;return d}function VB(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;f=6;a:{if(!a){break a}i=j[a+12>>2];g=j[a>>2];e=g;b:{if(!e){break b}e=g;if((i|0)==65536){break b}b=(g|0)<0?-1:1;e=(i|0)<0?0-b|0:b;c=g>>31;c=c+g^c;b=i>>31;b=b+i^b;c:{if(c+(b>>>8|0)>>>0<=8190){b=p(b,c)+32768>>>16|0;break c}d=c&65535;b=p(d,b>>>16|0)+p(b,c>>>16|0)+(p(d,b&65535)+32768>>>16)|0}e=(e|0)<0?0-b|0:b}h=j[a+8>>2];c=j[a+4>>2];b=c;d:{if(!c){break d}b=c;if((h|0)==65536){break d}b=(c|0)<0?-1:1;k=(h|0)<0?0-b|0:b;d=c>>31;d=d+c^d;b=h>>31;b=b+h^b;e:{if(d+(b>>>8|0)>>>0<=8190){b=p(b,d)+32768>>>16|0;break e}l=d&65535;b=p(l,b>>>16|0)+p(b,d>>>16|0)+(p(l,b&65535)+32768>>>16)|0}b=(k|0)<0?0-b|0:b}k=e-b|0;if(!k){break a}n=(c|0)<0?-1:1;b=c>>31;e=b+c^b;b=k>>31;c=b+k^b;l=c>>>17^65535;f:{if(e>>>0<=l>>>0){b=((e<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break f}b=2147483647;d=c>>>1|0;f=d+(e<<16)|0;d=(e>>>16|0)+(d>>>0>f>>>0)|0;if(d>>>0>=c>>>0){break f}m=s(d);e=32-m|0;d=f>>>e|d<>>0)/(c>>>0)|0;d=d-p(b,c)|0;f=f<>>31;d=m-(c>>>0>m>>>0?0:c)|0;b=b<<1|c>>>0<=m>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}j[a+4>>2]=(((k|0)<0?0-n|0:n)|0)<0?b:0-b|0;n=(h|0)<0?-1:1;b=h>>31;e=b+h^b;g:{if(e>>>0<=l>>>0){b=((e<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break g}b=2147483647;d=c>>>1|0;f=d+(e<<16)|0;d=(e>>>16|0)+(d>>>0>f>>>0)|0;if(d>>>0>=c>>>0){break g}h=s(d);e=32-h|0;d=f>>>e|d<>>0)/(c>>>0)|0;d=d-p(b,c)|0;f=f<>>31;d=h-(c>>>0>h>>>0?0:c)|0;b=b<<1|c>>>0<=h>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}j[a+8>>2]=(((k|0)<0?0-n|0:n)|0)<0?b:0-b|0;h=(i|0)<0?-1:1;b=i>>31;e=b+i^b;h:{if(e>>>0<=l>>>0){b=((e<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break h}b=2147483647;d=c>>>1|0;f=d+(e<<16)|0;d=(e>>>16|0)+(d>>>0>f>>>0)|0;if(d>>>0>=c>>>0){break h}i=s(d);e=32-i|0;d=f>>>e|d<>>0)/(c>>>0)|0;d=d-p(b,c)|0;f=f<>>31;d=i-(c>>>0>i>>>0?0:c)|0;b=b<<1|c>>>0<=i>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}j[a>>2]=(((k|0)<0?0-h|0:h)|0)<0?0-b|0:b;i=(g|0)<0?-1:1;b=g>>31;g=b+g^b;i:{if(g>>>0<=l>>>0){b=((g<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break i}b=2147483647;e=c>>>1|0;f=e+(g<<16)|0;g=(g>>>16|0)+(f>>>0>>0)|0;if(g>>>0>=c>>>0){break i}h=s(g);e=32-h|0;g=f>>>e|g<>>0)/(c>>>0)|0;d=g-p(b,c)|0;f=f<>>31;d=g-(c>>>0>g>>>0?0:c)|0;b=b<<1|c>>>0<=g>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}f=0;j[a+12>>2]=(((k|0)<0?0-i|0:i)|0)<0?0-b|0:b}return f}function sM(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;q=oe-16|0;oe=q;a:{if((c|0)==(e|0)){a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;b:{if((b|0)<=(d|0)){c=d-b|0;e=(g|0)!=0;a=a+(b<<2)|0;break b}e=(g|0)!=0;c=b-d|0;a=a+(d<<2)|0;a=g?a:a+4|0}b=c+e|0;if(!b){break a}while(1){j[a>>2]=f;a=a+4|0;b=b-1|0;if(b){continue}break}break a}if((b|0)==(d|0)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];c:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<2)|0)+(d<<2)|0;d=(g|0)!=0;b=e-c|0;break c}a=(a+(p(e,h)<<2)|0)+(d<<2)|0;a=g?a:a+(h<<2)|0;d=(g|0)!=0;b=c-e|0}b=b+d|0;if(!b){break a}c=h<<2;while(1){j[a>>2]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}m=b-d|0;h=m>>31;l=c-e|0;i=l>>31;if((h^h+m)==(i^i+l)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];d:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<2)|0)+(b<<2)|0;l=e-c|0;c=h+((b|0)>(d|0)?-1:1)|0;break d}a=(a+(p(e,h)<<2)|0)+(d<<2)|0;c=h+((b|0)<(d|0)?-1:1)|0;a=g?a:a+(c<<2)|0}b=((g|0)!=0)+l|0;if(!b){break a}c=c<<2;while(1){j[a>>2]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}l=j[a+4>>2];br(f,l,q+15|0,q+14|0,q+13|0,q+12|0);if(j[l+12>>2]==16711680){i=e-c|0;h=i>>31;i=h^h+i;m=d-b|0;h=m>>31;h=h^h+m;if(!j[l+24>>2]){e:{if((h|0)>=(i|0)){m=i-h|0;n=i<<1;l=n-h|0;i=1;break e}m=h-i|0;o=1;n=h<<1;l=n-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-o|0:o;d=(b|0)>(d|0);i=d?0-i|0:i;o=e?-1:1;r=d?-1:1;m=m<<1;s=j[a+20>>2];d=0;while(1){j[(s+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f;e=(l|0)<0;l=(e?n:m)+l|0;b=(e?i:r)+b|0;c=(e?h:o)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}break a}f:{if((h|0)>=(i|0)){m=i-h|0;n=i<<1;l=n-h|0;i=1;break f}m=h-i|0;o=1;n=h<<1;l=n-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-o|0:o;d=(b|0)>(d|0);i=d?0-i|0:i;o=e?-1:1;r=d?-1:1;m=m<<1;s=j[a+20>>2];d=0;while(1){j[(s+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f;e=(l|0)<0;l=(e?n:m)+l|0;b=(e?i:r)+b|0;c=(e?h:o)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}break a}l=d-b|0;h=l>>31;m=e-c|0;i=m>>31;h=h^h+l;i=i^i+m;g:{if((h|0)>=(i|0)){m=i-h|0;n=i<<1;l=n-h|0;i=1;break g}m=h-i|0;o=1;n=h<<1;l=n-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-o|0:o;d=(b|0)>(d|0);i=d?0-i|0:i;o=e?-1:1;r=d?-1:1;m=m<<1;s=j[a+20>>2];d=0;while(1){j[(s+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f;e=(l|0)<0;l=(e?n:m)+l|0;b=(e?i:r)+b|0;c=(e?h:o)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}oe=q+16|0}function nx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=oe-16|0;oe=s;l=j[a+12>>2];o=j[a+204>>2];d=j[a+200>>2];q=i[a+32>>1];a:{if(q){if(m[l+8>>2]>1]+(i[l+20>>1]+q|0)>>>0){c=yf(l,0,q);if(c){break a}}c=20;if((q|0)>4094){break a}}c=20;g=q<<1;if((g+d|0)+2>>>0>o>>>0){break a}b=j[l+68>>2];f=k[d|0];e=k[d+1|0]|f<<8;if((q|0)>=1){i[b>>1]=e}if(f<<24>>16<0){break a}f=b+g|0;while(1){g=b+2|0;if(g>>>0>>0){b=k[d+2|0]|k[d+3|0]<<8;n=b<<24|b<<8&16711680;i[g>>1]=n>>>16;p=e<<16;b=g;g=n>>16;e=g;d=d+2|0;if((e|0)>p>>16){continue}break a}break}if((q|0)<1){g=0}else{b=i[b>>1];if((b|0)<-1){break a}g=b+1|0}b=g+4|0;if(m[l+4>>2]>1]+(b+i[l+22>>1]|0)>>>0){c=yf(l,b,0);if(c){break a}}b=j[a+8>>2];j[b+136>>2]=0;j[b+140>>2]=0;f=d+4|0;if(f>>>0>o>>>0){c=20;break a}c=22;e=k[d+3|0]|k[d+2|0]<<8;if((e|0)>(o-f|0)){break a}if(!(k[a+16|0]&2)){b=j[a+160>>2];c=j[b+388>>2];b:{if(c>>>0>=e>>>0){j[b+388>>2]=c&65535;break b}t=b,u=xe(j[b+8>>2],1,c,e,j[b+392>>2],s+12|0),j[t+392>>2]=u;b=j[a+160>>2];r=c;c=j[s+12>>2];j[b+388>>2]=(c?r:e)&65535;if(c){break a}}c=j[a+8>>2];j[c+140>>2]=e;b=j[b+392>>2];j[c+136>>2]=b;Ae(b,f,e)}b=e+f|0;c:{d:{if((g|0)>=1){d=j[l- -64>>2];f=g+d|0;while(1){e=b+1|0;if(e>>>0>o>>>0){c=20;break a}n=k[b|0];h[d|0]=n;d=d+1|0;e:{if(!(n&8)){b=e;break e}b=b+2|0;if(o>>>0>>0){c=20;break a}c=k[e|0];if(f>>>0>>0){c=20;break a}if(!c){break e}Ee(d,n,c);while(1){d=d+1|0;c=c-1|0;if(c&255){continue}break}}if(d>>>0>>0){continue}break}if(b>>>0<=o>>>0){break d}c=20;break a}c=20;if(b>>>0<=o>>>0){break c}break a}if((g|0)<1){break c}c=j[l+60>>2];r=c+(g<<3)|0;d=j[l+64>>2];n=0;while(1){p=k[d|0];f:{if(p&2){e=b+1|0;if(e>>>0>o>>>0){c=20;break a}b=k[b|0];f=p&16?b:0-b|0;b=e;break f}f=0;if(p&16){break f}e=b+2|0;if(e>>>0>o>>>0){c=20;break a}b=k[b|0]|k[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>16;b=e}n=f+n|0;j[c>>2]=n;h[d|0]=p&237;d=d+1|0;c=c+8|0;if(r>>>0>c>>>0){continue}break}if((g|0)<1){break c}c=j[l+60>>2];r=c+(g<<3)|0;d=j[l+64>>2];n=0;while(1){p=k[d|0];g:{if(p&4){e=b+1|0;if(e>>>0>o>>>0){c=20;break a}b=k[b|0];f=p&32?b:0-b|0;b=e;break g}f=0;if(p&32){break g}e=b+2|0;if(e>>>0>o>>>0){c=20;break a}b=k[b|0]|k[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>16;b=e}n=f+n|0;j[c+4>>2]=n;h[d|0]=p&1;d=d+1|0;c=c+8|0;if(r>>>0>c>>>0){continue}break}}i[l+56>>1]=q;i[l+58>>1]=g;j[a+200>>2]=b;c=0}oe=s+16|0;return c|0}function Ni(a,b,c,d){var e=0,f=0,g=0;if(!(!a|!b)){f=j[b+136>>2];a:{if(!f|!(j[b+232>>2]&c&16384)){break a}if((d|0)==-1){e=1;g=a;if(j[b+128>>2]>=1){Ke(a,j[f+4>>2]);if(j[b+128>>2]>1){while(1){Ke(a,j[(j[b+136>>2]+p(e,28)|0)+4>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=j[b+136>>2]}Ke(g,f);j[b+128>>2]=0;j[b+136>>2]=0;break a}e=p(d,28);Ke(a,j[(e+f|0)+4>>2]);j[(e+j[b+136>>2]|0)+4>>2]=0}e=j[b+232>>2];if(e&c&8192){j[b+8>>2]=j[b+8>>2]&-17;Ke(a,j[b+156>>2]);i[b+22>>1]=0;j[b+156>>2]=0;e=j[b+232>>2]}if(c&e&256){Ke(a,j[b+256>>2]);Ke(a,j[b+260>>2]);j[b+256>>2]=0;j[b+260>>2]=0;j[b+8>>2]=j[b+8>>2]&-16385;e=j[b+232>>2]}if(c&e&128){Ke(a,j[b+208>>2]);Ke(a,j[b+220>>2]);j[b+220>>2]=0;j[b+208>>2]=0;e=j[b+224>>2];if(e){f=a;if(k[b+229|0]){Ke(a,j[e>>2]);if(k[b+229|0]>=2){e=1;while(1){Ke(a,j[j[b+224>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]}Ke(f,e);j[b+224>>2]=0}j[b+8>>2]=j[b+8>>2]&-1025;e=j[b+232>>2]}if(c&e&16){Ke(a,j[b+116>>2]);Ke(a,j[b+120>>2]);j[b+116>>2]=0;j[b+120>>2]=0;j[b+8>>2]=j[b+8>>2]&-4097}f=j[b+244>>2];b:{if(!f|!(j[b+232>>2]&c&32)){break b}if((d|0)==-1){e=1;g=a;if(j[b+248>>2]>=1){Ke(a,j[f>>2]);Ke(a,j[j[b+244>>2]+8>>2]);if(j[b+248>>2]>1){while(1){f=e<<4;Ke(a,j[f+j[b+244>>2]>>2]);Ke(a,j[(f+j[b+244>>2]|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=j[b+244>>2]}Ke(g,f);j[b+244>>2]=0;j[b+248>>2]=0;j[b+8>>2]=j[b+8>>2]&-8193;break b}e=d<<4;Ke(a,j[e+f>>2]);Ke(a,j[(e+j[b+244>>2]|0)+8>>2]);e=e+j[b+244>>2]|0;j[e+8>>2]=0;j[e>>2]=0}f=j[b+236>>2];c:{if(!f|!(j[b+232>>2]&c&512)){break c}if((d|0)==-1){e=1;g=a;if(j[b+240>>2]>=1){Ke(a,j[f+8>>2]);if(j[b+240>>2]>1){while(1){Ke(a,j[(j[b+236>>2]+p(e,20)|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=j[b+236>>2]}Ke(g,f);j[b+236>>2]=0;j[b+240>>2]=0;break c}e=p(d,20);Ke(a,j[(e+f|0)+8>>2]);j[(e+j[b+236>>2]|0)+8>>2]=0}e=j[b+232>>2];if(e&c&8){Ke(a,j[b+204>>2]);j[b+204>>2]=0;j[b+8>>2]=j[b+8>>2]&-65;e=j[b+232>>2]}if(c&e&4096){Ke(a,j[b+16>>2]);j[b+16>>2]=0;i[b+20>>1]=0;j[b+8>>2]=j[b+8>>2]&-9;e=j[b+232>>2]}if(c&e&64){f=j[b+264>>2];if(f){g=a;if(j[b+4>>2]){Ke(a,j[f>>2]);if(m[b+4>>2]>=2){e=1;while(1){Ke(a,j[j[b+264>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]){continue}break}}f=j[b+264>>2]}Ke(g,f);j[b+264>>2]=0;e=j[b+232>>2]}j[b+8>>2]=j[b+8>>2]&-32769}j[b+232>>2]=(((d|0)==-1?c:c&-16929)^-1)&e}}function ck(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;n=oe-1040|0;oe=n;g=j[a+52>>2];if(k[a|0]&2){Bi(a,1)}if(g){d=j[g>>2];a:{if(!d){break a}c=j[d+56>>2];j[d+56>>2]=c-1;if((c|0)>1){break a}lf(d)}j[g>>2]=0;j[g+80>>2]=0;j[g+84>>2]=0;d=g- -64|0;c=j[d>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[d>>2]=0}j[g+4>>2]=0;d=g+4|0;c=j[b+4>>2];b:{c:{d:{e:{f:{q=j[a+4>>2];e=j[q>>2];g:{if(!(((e&-268435456)!=268435456?e:0)|(e>>>24&15)-1>>>0>2)){h:{f=j[c>>2];if((f&-268435456)!=268435456?f:0){break h}e=-1;if((f>>>24&15)-1>>>0>2){break h}f=ar(j[q+4>>2],j[c+4>>2],d);j[g- -64>>2]=f;if(j[g+4>>2]?0:!f){break b}if(k[q+8|0]==k[c+8|0]){break e}j[d>>2]=0;break e}d=j[a+52>>2];t=k[d+79|0];u=k[d+78|0];v=k[d+77|0];w=k[d+76|0];d=k[c+9|0];f=(d|0)==3?4:d;s=j[q+4>>2];d=p(f,j[s>>2]);d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}i:{if(d){e=0;if(j[s>>2]>0){break i}j[g- -64>>2]=d;break e}Be(0);j[g- -64>>2]=0;e=-1;break b}while(1){m=j[s+4>>2]+(e<<2)|0;o=(p(k[m+3|0],t)>>>0)/255|0;l=(p(k[m+2|0],u)>>>0)/255|0;r=(p(k[m+1|0],v)>>>0)/255|0;m=(p(k[m|0],w)>>>0)/255|0;j:{k:{switch(k[c+9|0]-1|0){case 0:h[d+p(e,f)|0]=r>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=r>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)|0]=m;h[o+(k[c+33|0]>>>3|0)|0]=r;h[o+(k[c+34|0]>>>3|0)|0]=l;break j;case 3:break k;default:break j}}j[d+p(e,f)>>2]=r>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]){continue}break}j[g- -64>>2]=d;break g}e=j[c>>2];if(((e&-268435456)!=268435456?e:0)|(e>>>24&15)-1>>>0>2){break f}r=j[c+4>>2];j[n+1024>>2]=256;e=0;while(1){f=(e<<2)+n|0;h[f+3|0]=255;l=e&224;h[f|0]=l>>>6|l|l>>>3;l=e&3;l=l<<2|l;h[f+2|0]=l<<4|l;l=f;f=e<<3&224;h[l+1|0]=f>>>6|f|f>>>3;e=e+1|0;if((e|0)!=256){continue}break}j[n+1028>>2]=n;e=ar(n+1024|0,r,d);j[g- -64>>2]=e;if(!e){e=-1;if(!j[g+4>>2]){break b}}j[d>>2]=0}j[g>>2]=b;if(b){break d}break c}if((c|0)!=(q|0)){break e}j[d>>2]=1}j[g>>2]=b}j[b+56>>2]=j[b+56>>2]+1}b=g;d=j[c+4>>2];if(d){f=j[d+8>>2]}else{f=0}j[b+80>>2]=f;b=j[q+4>>2];if(b){b=j[b+8>>2]}else{b=0}j[g+84>>2]=b;e=gI(a)}oe=n+1040|0;return e}function Tn(a,b,c,d){var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;x=oe-272|0;oe=x;t=j[b+4>>2];e=j[b+8>>2];j[a+52>>2]=-2147483648;j[a+56>>2]=0;j[a+48>>2]=e;j[a+44>>2]=t;A=j[b+52>>2];h=j[b+28>>2];f=j[b+24>>2];y=j[b+44>>2];j[c>>2]=t;j[d>>2]=e;g=1;a:{if((y|0)<1|(f|0)<2){break a}n=i[h+12>>1];r=n;while(1){k=i[(h+p(g,40)|0)+12>>1];r=(k|0)>(r|0)?k:r;n=(k|0)<(n|0)?k:n;g=g+1|0;if((f|0)!=(g|0)){continue}break}if((n|0)>=(r|0)){break a}C=a,D=ye(n,t)+e|0,j[C>>2]=D;h=ye(r,t)+e|0;j[a+4>>2]=h;e=h&-32;j[a+24>>2]=e;m=j[a>>2];l=m&-32;j[a+16>>2]=l;j[a+8>>2]=m&-64;u=e+32|0;j[a+28>>2]=u;k=l+32|0;j[a+20>>2]=k;j[a+12>>2]=h+63&-64;if((h|0)<(k|0)){j[a+20>>2]=h;k=h}if((e|0)<(m|0)){j[a+24>>2]=m;e=m}g=h-m|0;j[a+32>>2]=g;f=a;if((g|0)>=65){k=e-k|0}else{j[a+24>>2]=h;j[a+20>>2]=m;k=g}j[f+36>>2]=k;e=u-l|0;j[a+40>>2]=e;l=(g|0)<129?(g|0)<97?4:8:16;f=g-l|0;if((f|0)>(k|0)){j[a+36>>2]=f;k=f}f=g+l|0;if((f|0)<(e|0)){j[a+40>>2]=f;e=f}f=(p(g,3)|0)/4|0;if((f|0)>(k|0)){j[a+36>>2]=f;k=f}f=(p(g,5)|0)/4|0;if((f|0)<(e|0)){j[a+40>>2]=f;e=f}b:{if((e|0)<(k|0)){break b}B=r-n|0;while(1){f=(g-k|0)+m|0;c:{d:{if((g|0)<=(k|0)){e=j[a+16>>2];if((f|0)>=(e|0)){break d}f=(h-f|0)+e|0;break c}e=j[a+20>>2];if((f|0)<=(e|0)){break d}f=(h-f|0)+e|0;break c}e=f;f=h}u=De(k-g|0,B)+t|0;v=ye(n,u);z=Ee(x,0,260);o=j[a+24>>2];g=f;l=f-e|0;f=j[a+16>>2];q=(o|0)>(f+l|0)?o-l|0:f;o=j[a+8>>2];f=q-o|0;e:{if((f|0)<0){break e}w=q;q=j[a+28>>2];s=j[a+20>>2];l=(q|0)<(l+s|0)?q-l|0:s;if((w|0)>(l|0)){break e}l=l-o|0;if((l|0)>64){break e}q=((g|0)<(h|0)?h-g|0:g-h|0)+((e|0)<(m|0)?m-e|0:e-m|0)|0;m=e-v|0;o=e-o|0;if((y|0)>=1){v=(m-o|0)+f|0;h=0;while(1){e=p(h,48)+A|0;s=i[e+6>>1]-i[e+4>>1]|0;g=ye(i[e+2>>1],u)+v|0;e=f;while(1){w=(e<<2)+z|0;j[w>>2]=j[w>>2]+p(s,j[((g&63)<<2)+6160>>2]);g=g+1|0;w=(e|0)<(l|0);e=e+1|0;if(w){continue}break}h=h+1|0;if((y|0)!=(h|0)){continue}break}}q=p(q,10);h=j[a+52>>2];while(1){g=f;s=f-o|0;v=s+q|0;e=j[(f<<2)+z>>2];if(!((e|0)!=(h|0)|(v|0)>=j[a+56>>2]?(e|0)<=(h|0):0)){j[a+56>>2]=v;j[a+52>>2]=e;j[a+44>>2]=u;j[a+48>>2]=m+s;h=e}f=g+1|0;if((g|0)<(l|0)){continue}break}}if(j[a+40>>2]<=(k|0)){break b}k=k+1|0;g=j[a+32>>2];h=j[a+4>>2];m=j[a>>2];continue}}e=j[a+48>>2];a=j[a+44>>2];k=a-t|0;C=b,D=ye(n,k)+e|0,j[C+2992>>2]=D;C=b,D=ye(r,k)+e|0,j[C+2996>>2]=D;j[c>>2]=a;j[d>>2]=e}oe=x+272|0}function Uh(a,b,c,d,e){var f=0,g=q(0),i=0,l=0,m=0,o=0,p=0,s=q(0),t=0,u=0,x=0;l=oe+ -64|0;oe=l;a:{b:{c:{if(!j[67044]|!a|(c|(b|0)==-1)){break c}if(!(h[268212]&1)){break c}es(-1,-1,0,0,q(q(d|0)/q(j[a+24>>2])),q(q(e|0)/q(j[a+28>>2])));break b}x=(b|0)==-1;if((b|0)!=-1){break b}if(!j[67043]){break a}}d:{if(!j[67036]|x){break d}j[l>>2]=0;j[l+60>>2]=0;ah(a,l,l+60|0);f=j[l>>2]/2|0;j[l>>2]=f;i=j[l+60>>2]/2|0;j[l+60>>2]=i;if(!((d|0)!=(f|0)|(e|0)!=(i|0))){j[67030]=e;j[67029]=d;break a}p=a?a:j[67024];if(!p){break d}o=j[67018];if(o){qe[o|0](p,f,i);break d}o=j[67023];if(!Vh(p,f,i,(o|0)!=-1)){break d}Uh(p,o,0,f,i)}e:{f:{g:{if(c){if(j[67035]){g=n[67038];if(g==q(1)){break g}g=q(q(g*q(d|0))+n[67039]);n[67039]=g;s=n[67039];m=+g;m=g>=q(0)^1?w(m):v(m);h:{if(r(m)<2147483648){i=~~m;break h}i=-2147483648}n[67039]=s-q(i|0);g=n[67038];if(g==q(1)){f=e;break f}g=q(q(g*q(e|0))+n[67040]);n[67040]=g;s=n[67040];m=+g;m=g>=q(0)^1?w(m):v(m);i:{if(r(m)<2147483648){f=~~m;break i}f=-2147483648}n[67040]=s-q(f|0);break f}g=n[67037];if(g==q(1)){break g}g=q(q(g*q(d|0))+n[67039]);n[67039]=g;s=n[67039];m=+g;m=g>=q(0)^1?w(m):v(m);j:{if(r(m)<2147483648){i=~~m;break j}i=-2147483648}n[67039]=s-q(i|0);g=n[67037];if(g==q(1)){f=e;break f}g=q(q(g*q(e|0))+n[67040]);n[67040]=g;s=n[67040];m=+g;m=g>=q(0)^1?w(m):v(m);k:{if(r(m)<2147483648){f=~~m;break k}f=-2147483648}n[67040]=s-q(f|0);break f}f=e-j[67030]|0;i=d-j[67029]|0;break e}f=e;i=d}e=j[67030]+f|0;d=j[67029]+i|0}if(!(f|i)){break a}if(!j[67034]){j[67034]=1;i=0;f=0}o=f;f=!j[67033]&x;p=f?0:o;o=f?0:i;i=j[67035];l:{if(!i){j[67025]=d;f=e;break l}j[67025]=o+j[67025];f=p+j[67026]|0}j[67026]=f;if(!(!a|k[a+49|0]&64)){j[l>>2]=0;j[l+60>>2]=0;ah(j[67024],l,l+60|0);f=j[l+60>>2];i=f-1|0;t=j[67025];u=j[l>>2];a=(t|0)<(u|0);t=a?t:u-1|0;u=(t|0)<0;if(!(a?!u:0)){j[67025]=u?0:t}a=f;f=j[67026];a=(a|0)>(f|0);f=a?f:i;i=(f|0)<0;if(!(a?!i:0)){j[67026]=i?0:f}i=j[67035]}j[67027]=o+j[67027];j[67028]=p+j[67028];m:{if(i|!j[67051]){break m}a=j[67016];if(!a){break m}f=j[67050];if(!f){break m}qe[a|0](f)}if((We(1024,-1)|0)==1){j[l>>2]=1024;a=0;f=j[67024];if(f){a=j[f+4>>2]}j[67045]=x;j[l+12>>2]=b;j[l+8>>2]=a;j[l+32>>2]=p;j[l+28>>2]=o;j[l+16>>2]=j[67033];a=j[67026];j[l+20>>2]=j[67025];j[l+24>>2]=a;gf(l)}n:{if(c){j[67029]=j[67025];e=j[67026];break n}j[67029]=d}j[67030]=e}oe=l- -64|0}function _M(a,b){var c=0,d=0,e=q(0),f=0,g=q(0),i=q(0),l=0,m=q(0),o=q(0),p=0,s=0,t=0,u=0,v=0,w=0,x=q(0);c=oe-16|0;p=c;oe=c;t=c+ -64|0;oe=t;w=a+340|0;while(1){c=(d<<3)+b|0;o=n[c+4>>2];d=d+1|0;f=(d<<3)+b|0;g=n[f+4>>2];e=n[c>>2];m=n[f>>2];a:{if(e==m){c=(s<<4)+t|0;i=e;e=n[a+288>>2];n[c>>2]=i*e;i=n[a+292>>2];n[c+8>>2]=e;l=c;e=i;m=g>o?o:g;b:{if(q(r(m))>2]=e*q(f|0);e=g>2]=i*q((l-f|0)+1|0);s=s+1|0;break a}if(g==o){c=(s<<4)+t|0;l=c;i=n[a+288>>2];x=i;g=e>2]=x*q(f|0);g=n[a+292>>2];n[c+12>>2]=g;l=c;e=e>m?e:m;e:{if(q(r(e))>2]=i*q((u-f|0)+1|0);n[c+4>>2]=o*g;s=s+1|0;break a}i=e;e=n[a+288>>2];n[p>>2]=i*e;i=n[a+292>>2];n[p+8>>2]=m*e;n[p+12>>2]=g*i;n[p+4>>2]=o*i;f=-1;f:{if(kk(a,k[a+324|0],k[a+325|0],k[a+326|0],k[a+327|0])){break f}g:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break g}c=Xe(1,28);if(c){break g}Be(0);break f}l=j[a+344>>2];j[(l?l+24|0:w)>>2]=c;j[a+344>>2]=c;if(!c){break f}j[c>>2]=6;j[c+4>>2]=0;j[c+8>>2]=0;h[c+12|0]=k[a+324|0];h[c+13|0]=k[a+325|0];h[c+14|0]=k[a+326|0];h[c+15|0]=k[a+327|0];f=j[a+328>>2];j[c+20>>2]=0;j[c+16>>2]=f;f=qe[j[a+32>>2]](a,c,p,2)|0;if((f|0)>-1){break f}j[c>>2]=0}v=f+v|0}if((d|0)!=4){continue}break}c=-1;h:{if(kk(a,k[a+324|0],k[a+325|0],k[a+326|0],k[a+327|0])){break h}i:{d=j[a+348>>2];if(d){j[a+348>>2]=j[d+24>>2];j[d+24>>2]=0;break i}d=Xe(1,28);if(d){break i}Be(0);break h}b=j[a+344>>2];j[(b?b+24|0:a+340|0)>>2]=d;j[a+344>>2]=d;if(!d){break h}j[d>>2]=7;j[d+4>>2]=0;j[d+8>>2]=0;h[d+12|0]=k[a+324|0];h[d+13|0]=k[a+325|0];h[d+14|0]=k[a+326|0];h[d+15|0]=k[a+327|0];b=j[a+328>>2];j[d+20>>2]=0;j[d+16>>2]=b;c=qe[j[a+36>>2]](a,d,t,s)|0;if((c|0)>-1){break h}j[d>>2]=0}j:{if(j[a+336>>2]|(c+v|0)<0){break j}b=j[a+340>>2];if(!b){break j}d=a+420|0;qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;while(1){b=d;d=j[d+8>>2];if(d){continue}break}j[b+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}oe=p+16|0}function Rn(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0;e=j[j[a+8>>2]+140>>2];if((e|0)>=1){Ae(j[a+136>>2],j[a+140>>2],l[a+132>>1]<<3)}Ae(j[a+160>>2]+284|0,j[a+4>>2]+172|0,68);a:{if(b){c=j[a+160>>2];j[c+220>>2]=65536;j[c+224>>2]=65536;Ae(j[a+144>>2],j[a+140>>2],l[a+132>>1]<<3);break a}c=j[a+160>>2];d=j[a+4>>2];j[c+220>>2]=j[d+48>>2];j[c+224>>2]=j[d+52>>2]}c=j[a+140>>2];d=l[a+132>>1];n=d-4|0;f=c+(n<<3)|0;j[f>>2]=j[f>>2]+32&-64;f=d-3|0;g=(f<<3)+c|0;j[g>>2]=j[g>>2]+32&-64;g=d-2|0;m=(g<<3)+c|0;j[m+4>>2]=j[m+4>>2]+32&-64;d=d-1|0;m=(d<<3)+c|0;j[m+4>>2]=j[m+4>>2]+32&-64;b:{if((e|0)>=1){d=j[j[a+12>>2]- -64>>2];c=j[a+160>>2];h[c+560|0]=b;j[c+464>>2]=e;j[c+460>>2]=j[c+392>>2];b=j[a+128>>2];j[c+144>>2]=j[a+124>>2];j[c+148>>2]=b;b=j[a+136>>2];j[c+152>>2]=j[a+132>>2];j[c+156>>2]=b;b=j[a+144>>2];j[c+160>>2]=j[a+140>>2];j[c+164>>2]=b;b=j[a+152>>2];j[c+168>>2]=j[a+148>>2];j[c+172>>2]=b;j[c+176>>2]=j[a+156>>2];b=j[a+160>>2];j[b+360>>2]=0;j[b+352>>2]=3;c=j[b+148>>2];j[b+36>>2]=j[b+144>>2];j[b+40>>2]=c;j[b+364>>2]=j[b+464>>2];c=j[b+156>>2];j[b+44>>2]=j[b+152>>2];j[b+48>>2]=c;c=j[b+164>>2];j[b+52>>2]=j[b+160>>2];j[b+56>>2]=c;c=j[b+172>>2];j[b+60>>2]=j[b+168>>2];j[b+64>>2]=c;j[b+68>>2]=j[b+176>>2];j[b+356>>2]=j[b+460>>2];c=j[b+148>>2];j[b+72>>2]=j[b+144>>2];j[b+76>>2]=c;c=j[b+156>>2];j[b+80>>2]=j[b+152>>2];j[b+84>>2]=c;c=j[b+164>>2];j[b+88>>2]=j[b+160>>2];j[b+92>>2]=c;c=j[b+172>>2];j[b+96>>2]=j[b+168>>2];j[b+100>>2]=c;j[b+104>>2]=j[b+176>>2];j[b+140>>2]=j[b+176>>2];c=j[b+172>>2];j[b+132>>2]=j[b+168>>2];j[b+136>>2]=c;c=j[b+164>>2];j[b+124>>2]=j[b+160>>2];j[b+128>>2]=c;c=j[b+156>>2];j[b+116>>2]=j[b+152>>2];j[b+120>>2]=c;c=j[b+148>>2];j[b+108>>2]=j[b+144>>2];j[b+112>>2]=c;i[b+348>>1]=1;j[b+344>>2]=65537;i[b+294>>1]=16384;i[b+296>>1]=0;i[b+298>>1]=16384;i[b+300>>1]=0;j[b+312>>2]=1;i[b+290>>1]=16384;i[b+292>>1]=0;j[b+304>>2]=1;j[b+428>>2]=0;j[b+16>>2]=0;c=qe[j[j[b>>2]+652>>2]](b)|0;b=j[a+160>>2];if(k[b+561|0]?c:0){break b}h[d|0]=k[d|0]|k[b+340|0]<<5|4;b=l[a+132>>1];d=b-1|0;g=b-2|0;f=b-3|0;n=b-4|0;c=j[a+140>>2]}b=(n<<3)+c|0;e=j[b+4>>2];j[a+68>>2]=j[b>>2];j[a+72>>2]=e;b=(f<<3)+c|0;e=j[b+4>>2];j[a+76>>2]=j[b>>2];j[a+80>>2]=e;b=(g<<3)+c|0;e=j[b+4>>2];j[a+184>>2]=j[b>>2];j[a+188>>2]=e;b=(d<<3)+c|0;c=j[b+4>>2];j[a+192>>2]=j[b>>2];j[a+196>>2]=c;c=0}return c}function Pg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{b:{if(!a){break b}c=j[a>>2];if(!c){break b}e=j[b>>2];m=k[e+5|0];g=j[b+12>>2];n=j[b+8>>2];i=k[e+26|0];o=k[e+18|0]|k[e+19|0]<<8|(k[e+20|0]<<16|k[e+21|0]<<24);h=k[e+14|0]|k[e+15|0]<<8|(k[e+16|0]<<16|k[e+17|0]<<24);p=k[e+6|0]|k[e+7|0]<<8|(k[e+8|0]<<16|k[e+9|0]<<24);q=k[e+10|0]|k[e+11|0]<<8|(k[e+12|0]<<16|k[e+13|0]<<24);l=k[e+4|0];d=j[a+36>>2];b=j[a+12>>2];if(b){f=j[a+8>>2]-b|0;j[a+8>>2]=f;if(f){tg(c,b+c|0,f)}j[a+12>>2]=0}if(d){b=a;c=j[a+28>>2]-d|0;if(c){f=j[a+16>>2];tg(f,f+(d<<2)|0,c<<2);c=j[a+20>>2];tg(c,c+(d<<3)|0,j[a+28>>2]-d<<3);c=j[a+28>>2]-d|0}else{c=0}j[b+28>>2]=c;j[a+36>>2]=0;j[a+32>>2]=j[a+32>>2]-d}if((h|0)!=j[a+336>>2]|l){break b}if(mE(a,i+1|0)){break b}f=m&1;h=j[a+340>>2];c:{if((h|0)==(o|0)){break c}c=j[a+32>>2];l=j[a+28>>2];if((c|0)<(l|0)){d=j[a+8>>2];r=j[a+16>>2];b=c;while(1){d=d-k[(b<<2)+r|0]|0;b=b+1|0;if((l|0)>(b|0)){continue}break}j[a+8>>2]=d}j[a+28>>2]=c;if((h|0)==-1){break c}b=c+1|0;j[a+28>>2]=b;j[j[a+16>>2]+(c<<2)>>2]=1024;j[a+32>>2]=b}b=m&2;d=0;d:{if(!f){break d}c=j[a+28>>2];if(j[(j[a+16>>2]+(c<<2)|0)-4>>2]!=1024?(c|0)>=1:0){break d}b=0;if(!i){break d}while(1){d=b+1|0;b=k[(b+e|0)+27|0];g=g-b|0;n=b+n|0;if((b|0)!=255){b=0;break d}b=d;if((i|0)!=(b|0)){continue}break}b=0;d=i}if(g){c=j[a+8>>2];f=j[a+4>>2];e:{if((c|0)<(f-g|0)){f=j[a>>2];break e}if((f|0)>(2147483647-g|0)){break a}c=g+f|0;c=(c|0)<2147482623?c+1024|0:c;f=Vf(j[a>>2],c);if(!f){break a}j[a>>2]=f;j[a+4>>2]=c;c=j[a+8>>2]}Ae(c+f|0,n,g);j[a+8>>2]=j[a+8>>2]+g}n=m&4;f:{if((d|0)>=(i|0)){break f}m=j[a+20>>2];f=j[a+16>>2];c=j[a+28>>2];h=f+(c<<2)|0;g=k[(d+e|0)+27|0];j[h>>2]=g;l=m+(c<<3)|0;j[l>>2]=-1;j[l+4>>2]=-1;if(b){j[h>>2]=g|256}b=c+1|0;j[a+28>>2]=b;g:{if((g|0)==255){c=-1;break g}j[a+32>>2]=b}d=d+1|0;if((i|0)!=(d|0)){while(1){h=k[(d+e|0)+27|0];j[f+(b<<2)>>2]=h;g=m+(b<<3)|0;j[g>>2]=-1;j[g+4>>2]=-1;g=b+1|0;j[a+28>>2]=g;if((h|0)!=255){j[a+32>>2]=g;c=b}b=g;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((c|0)==-1){break f}b=j[a+20>>2]+(c<<3)|0;j[b>>2]=p;j[b+4>>2]=q}h:{if(!n){break h}j[a+328>>2]=1;b=j[a+28>>2];if((b|0)<1){break h}b=(j[a+16>>2]+(b<<2)|0)-4|0;j[b>>2]=j[b>>2]|512}j[a+340>>2]=o+1}return}b=j[a>>2];if(b){ze(b)}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360)}function lo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;i=j[a+16>>2];n=k[i+6|0]<<8|k[i+7|0]&254;if(!n){return 0}v=n+2|0;t=i+14|0;l=j[b>>2]+((c|0)!=0)|0;w=n>>>1|0;d=w;a:{b:{while(1){c:{e=d+h|0;g=(e&-2)+t|0;o=k[g|0]<<8|k[g+1|0];e=e>>>1|0;f=e;g=g+v|0;s=k[g|0]<<8|k[g+1|0];if(s>>>0<=l>>>0){if(l>>>0<=o>>>0){break c}h=e+1|0}else{d=f}if(d>>>0>h>>>0){continue}break b}break}d=g+n|0;y=k[d|0]<<8|k[d+1|0];r=y;f=d+n|0;x=k[f|0]<<8|k[f+1|0];h=x;d:{e:{f:{g:{h:{i:{if((o|0)!=65535){break i}r=y;h=x;if((s|0)!=65535|w-1>>>0>e>>>0){break i}if(!x){break h}d=j[a>>2];d=(f+x|0)+2>>>0>j[d+500>>2]+j[d+504>>2]>>>0;h=d?0:x;r=d?1:y}if(!(k[a+20|0]&2)){break f}m=e+1|0;g=(h|0)==65535?m:e;break g}if(!(k[a+20|0]&2)){o=65535;break d}m=e+1|0;h=0;g=e}j:{k:{l:{if(e){q=e-1|0;z=q<<1;d=z+t|0;u=k[d|0]<<8|k[d+1|0];m:{if(u>>>0>>0){d=e;i=o;q=s;break m}r=(i+p(n,3)|0)+16|0;C=t+v|0;n:{while(1){o:{i=u;d=q;A=z+C|0;B=A+n|0;f=B+n|0;h=k[f|0]<<8|k[f+1|0];g=(h|0)==65535?g:d;if(!d){break o}q=d-1|0;z=q<<1;u=z+t|0;u=k[u|0]<<8|k[u+1|0];if(u>>>0>=l>>>0){continue}break n}break}d=0;f=r}r=k[B+1|0]|k[B|0]<<8;q=k[A+1|0]|k[A|0]<<8}if((g|0)==(m|0)){break l}e=d;o=i;s=q;break j}e=0;i=0;if((g|0)==(m|0)){break k}break j}if((e|0)==(d|0)){o=i;s=q;i=e;break k}r=y;h=x;i=e}p:{q:{if(m>>>0>>0){d=(m<<1)+t|0;f=v+d|0;e=k[f|0]<<8|k[f+1|0];if(l>>>0>>0){g=i;break p}g=i;break q}e=m-1|0;d=0;break a}r:{while(1){s:{s=e;o=d;q=(d+v|0)+n|0;f=q+n|0;h=k[f|0]<<8|k[f+1|0];g=(h|0)==65535?g:m;m=m+1|0;if((w|0)==(m|0)){break s}d=(m<<1)+t|0;f=v+d|0;e=k[f|0]<<8|k[f+1|0];if(l>>>0>=e>>>0){continue}break r}break}m=w}r=k[q+1|0]|k[q|0]<<8;o=k[o+1|0]|k[o|0]<<8}e=m-1|0;d=0;if((g|0)==(i|0)){break a}}if((e|0)==(g|0)){e=g;break e}e=(g<<1)+t|0;o=k[e|0]<<8|k[e+1|0];e=e+v|0;s=k[e|0]<<8|k[e+1|0];e=e+n|0;r=k[e|0]<<8|k[e+1|0];f=e+n|0;h=k[f|0]<<8|k[f+1|0];e=g;break e}d=0;if((h|0)==65535){break a}}if(!h){break d}d=((l-s<<1)+h|0)+f|0;d=k[d|0]<<8|k[d+1|0];if(!d){break b}d=d+r&65535;break a}d=l+r&65535;break a}d=0}if(!c){return d}t:{if(l>>>0>o>>>0){f=0;e=e+1|0;if((w|0)==(e|0)){break t}}if(eo(a,e)){if(!d){return 0}j[b>>2]=l;return d}j[a+24>>2]=l;u:{if(d){j[a+28>>2]=d;f=d;break u}j[a+24>>2]=l;ko(a);f=j[a+28>>2];if(!f){return 0}l=j[a+24>>2]}j[b>>2]=l}return f}function Wn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,k=0,n=0,o=0,q=0,r=0,s=0,t=0;e=oe-48|0;oe=e;j[e+12>>2]=0;h[a+672|0]=0;r=j[a+100>>2];a:{b:{f=j[a+676>>2];if(!f){f=Rk(a,0);j[e+12>>2]=f;if(f){break a}f=j[a+676>>2]}q=j[f+8>>2];g=j[q>>2];b=b>>>0>g>>>0?g:b;if(!b){break b}while(1){if(j[(d<<2)+c>>2]+65536>>>0<131073){d=d+1|0;if((b|0)!=(d|0)){continue}break b}break}j[e+12>>2]=6;break a}if(!j[f+36>>2]){g=j[a+104>>2];i=j[g+28>>2];d=qe[j[a+508>>2]](a,1735811442,g,e+40|0)|0;j[e+44>>2]=d;c:{if(d){break c}k=j[g+8>>2];d=$e(g,90544,e+16|0);j[e+44>>2]=d;if(d){break c}j[f+24>>2]=l[e+22>>1];n=l[e+28>>1];j[f+32>>2]=n;d=8;if(j[e+16>>2]!=65536|l[e+20>>1]!=l[j[f+8>>2]>>1]){break c}o=j[e+32>>2];s=f,t=xe(i,4,0,n+1|0,0,e+44|0),j[s+36>>2]=t;d=j[e+44>>2];if(d){break c}n=k+o|0;d=j[f+32>>2];d:{if(h[e+30|0]&1){d=_e(g,(d<<2)+4|0);j[e+44>>2]=d;if(d){break c}d=0;while(1){o=Ef(g);j[j[f+36>>2]+(d<<2)>>2]=n+o;d=d+1|0;if(d>>>0<=m[f+32>>2]){continue}break}break d}d=_e(g,(d<<1)+2|0);j[e+44>>2]=d;if(d){break c}d=0;while(1){o=af(g);j[j[f+36>>2]+(d<<2)>>2]=n+(o<<1);d=d+1|0;if(d>>>0<=m[f+32>>2]){continue}break}}Ve(g);d=j[f+24>>2];if(d){s=f,t=xe(i,4,0,p(d,l[e+20>>1]),0,e+44|0),j[s+28>>2]=t;d=j[e+44>>2];if(d){break c}d=Fe(g,k+j[e+24>>2]|0);j[e+44>>2]=d;if(d){break c}d=_e(g,p(j[f+24>>2],l[e+20>>1])<<1);j[e+44>>2]=d;if(d){break c}k=j[f+24>>2];if(k){n=0;i=l[e+20>>1];while(1){d=0;e:{if(!(i&65535)){i=0;break e}while(1){k=af(g);i=l[e+20>>1];j[j[f+28>>2]+(p(n,i)+d<<2)>>2]=k<<16>>16<<2;d=d+1|0;if(i>>>0>d>>>0){continue}break}k=j[f+24>>2]}n=n+1|0;if(n>>>0>>0){continue}break}}Ve(g)}d=j[e+44>>2]}j[e+12>>2]=d;if(d){break a}}f:{g:{h:{g=j[f+4>>2];if(g){k=0;if(b){break h}d=0;break g}g=xe(r,4,0,j[q>>2],0,e+12|0);j[f+4>>2]=g;if(j[e+12>>2]){break a}i=j[q>>2];k=1;break f}d=0;while(1){i=d<<2;if(j[i+g>>2]!=j[c+i>>2]){k=2;break g}d=d+1|0;if((b|0)!=(d|0)){continue}break}d=b}i=j[q>>2];if(i>>>0<=d>>>0){break f}while(1){if(!j[(d<<2)+g>>2]){d=d+1|0;if(i>>>0>d>>>0){continue}break f}break}k=2}j[f>>2]=i;Ae(g,c,b<<2);h[a+672|0]=1;b=j[a+648>>2];if(!b){break a}i:{switch(k-1|0){case 1:if(b){qe[j[r+8>>2]](r,b)}j[a+648>>2]=0;s=e,t=ao(a,j[a+104>>2]),j[s+12>>2]=t;break a;case 0:break i;default:break a}}s=e,t=Vn(a,j[a+104>>2]),j[s+12>>2]=t}oe=e+48|0;return j[e+12>>2]}function fL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;n=j[a+24>>2];c=(n+7|0)/-8|0;o=j[a+28>>2];if(o){x=j[a+16>>2]+(c+n|0)|0;y=j[a+56>>2];g=k[a+63|0];z=j[a+36>>2];A=j[j[j[a+40>>2]+4>>2]+4>>2];m=j[a>>2];c=j[a+20>>2];B=(n|0)<1;a=j[a+44>>2];v=k[a+9|0];w=v-1|0;while(1){o=o-1|0;q=0;r=0;if(!B){while(1){if(!(r&7)){q=k[m|0];m=m+1|0}b=q>>>7&1;a:{if((b|0)==(y|0)){break a}b=(b<<2)+A|0;s=k[b+2|0];t=k[b+1|0];u=k[b|0];b=0;d=0;e=0;f=0;b:{c:{switch(w|0){case 0:b=k[c|0];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break b;case 1:b=l[c>>1];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break b;case 2:e=k[(k[a+34|0]>>>3|0)+c|0];d=k[(k[a+33|0]>>>3|0)+c|0];b=k[(k[a+32|0]>>>3|0)+c|0];f=255;break b;case 3:break c;default:break b}}b=j[c>>2];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0]}f=(f+g|0)-((p(f,g)>>>0)/255|0)&255;s=((p(s-e|0,g)|0)/255|0)+e|0;e=s&255;t=((p(t-d|0,g)|0)/255|0)+d|0;d=t&255;u=((p(u-b|0,g)|0)/255|0)+b|0;b=u&255;d:{switch(w|0){case 0:h[c|0]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>1]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>>3|0)+c|0]=u;h[(k[a+33|0]>>>3|0)+c|0]=t;h[(k[a+34|0]>>>3|0)+c|0]=s;break a;case 3:break d;default:break a}}j[c>>2]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>2];p=j[a+40>>2];o=f-((p<<2)+15&-16)|0;oe=o;if((p|0)>=1){f=0;while(1){j[(f<<2)+o>>2]=-971228160;f=f+1|0;if((p|0)!=(f|0)){continue}break}}a:{if((k|0)<1){break a}i=j[a+4>>2];s=n[i+8>>2];e=q(n[i+4>>2]+e);e=e>2];f=0;while(1){h=f<<2;n[h+c>>2]=e+n[g+h>>2];f=f+1|0;if((k|0)!=(f|0)){continue}break}if((k|0)<1){break a}s=q(n[i+496>>2]-d);y=j[a+8>>2];u=k-1|0;t=j[a+20>>2];h=0;while(1){f=h;h=f<<2;g=j[h+t>>2];e=n[b+h>>2];h=f+1|0;b:{if((k|0)<=(h|0)|(g|0)!=j[t+(h<<2)>>2]){break b}while(1){c:{f=h;d=n[(f<<2)+b>>2];e=d>e?d:e;h=f+1|0;if((k|0)==(h|0)){break c}if((g|0)==j[t+(h<<2)>>2]){continue}break b}break}f=u;h=k}l=f<<2;d:{if(n[l+c>>2]>j[a+32>>2];f=(f|0)<16?f:16;i=j[(((f|0)>0?f:0)<<2)+y>>2];w=(+q(s+e)+ -30)*.10000000149011612;e:{if(r(w)<2147483648){g=~~w;break e}g=-2147483648}f=(g|0)>0?g:0;m=j[i+(((f|0)<7?f:7)<<2)>>2];d=n[m+4>>2];f:{if(q(r(d))>2];g:{if(q(r(d))>2];d=q(q(q(q(d+q(-16))*q(v|0))+q(j[l+t>>2]-j[a+28>>2]|0))-q(v>>1));h:{if(q(r(d))>2]);l=(f<<2)+o|0;if(d>n[l>>2]^1){break i}n[l>>2]=d}g=g+1|0;if((i|0)<=(g|0)){break d}f=f+v|0;if((p|0)>(f|0)){continue}break}}if((h|0)<(k|0)){continue}break}}b=j[a+36>>2];wE(o,b,p);g=0;j:{i=j[a>>2];if((i|0)<2){break j}m=j[a+20>>2];l=j[m>>2];k=j[a+28>>2];f=l-(k+(b>>1)|0)|0;u=j[a+4>>2];h=1;while(1){e=n[u+32>>2];d=n[(f<<2)+o>>2];e=d>e?e:d;b=(j[m+(h<<2)>>2]+l>>1)-k|0;if((b|0)>(f|0)){while(1){f=f+1|0;d=n[(f<<2)+o>>2];e=e==q(-9999)?d:d>q(-9999)?d(f|0)){continue}break}f=b}k:{if((g|0)>=(i|0)){break k}h=f+k|0;if((h|0)<(l|0)){break k}while(1){b=(g<<2)+c|0;if(!(n[b>>2]>2]=e}g=g+1|0;if((i|0)==(g|0)){g=i;break k}if((h|0)>=j[m+(g<<2)>>2]){continue}break}}h=g+1|0;if((i|0)<=(h|0)){break j}l=j[m+(g<<2)>>2];continue}}if((g|0)<(i|0)){d=n[((j[a+40>>2]<<2)+o|0)-4>>2];while(1){a=(g<<2)+c|0;if(!(d>n[a>>2]^1)){n[a>>2]=d}g=g+1|0;if((i|0)!=(g|0)){continue}break}}oe=x}function NM(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;n=oe-32|0;oe=n;l=j[b+76>>2];o=j[a+436>>2];m=$g();b=j[o>>2];a:{if((m|0)!=(b|0)){j[o+424>>2]=0;if((zg(j[a+188>>2],b)|0)<0){break a}}b=j[a+436>>2];if(!j[b+4>>2]){break a}while(1){if(qe[j[b+104>>2]]()|0){continue}break}}b:{if(j[c+8>>2]<1|j[c+12>>2]<1){break b}j[o+360>>2]=0;qe[j[o+20>>2]](j[l+4>>2],j[l+32>>2]);r=j[c+4>>2]/2|0;s=j[c>>2]/2|0;b=j[c+12>>2];q=(b+1|0)/2|0;k=j[c+8>>2];m=(k+1|0)/2|0;c:{if(k+2>>>0<3|b+2>>>0<3){break c}t=j[l+12>>2];u=j[l+8>>2];w=j[l+4>>2];d:{e:{if((i|0)==(m|0)){k=0;break e}k=p(m,q);k=qe[j[57972]](k?k:1)|0;if(k){j[57976]=j[57976]+1}if(!k){break d}if((b|0)>0){b=k;while(1){Ge(b,h,m);h=h+i|0;b=b+m|0;v=v+1|0;if((q|0)!=(v|0)){continue}break}}h=k}qe[j[o+160>>2]](w,0,s,r,m,q,u,t,h);if(!k){break c}if(k){qe[j[57975]](k);j[57976]=j[57976]-1}break c}Be(0)}qe[j[o+20>>2]](j[l+4>>2],j[l+36>>2]);q=j[c+4>>2]/2|0;r=j[c>>2]/2|0;b=j[c+12>>2];m=(b+1|0)/2|0;h=j[c+8>>2];i=(h+1|0)/2|0;f:{if(h+2>>>0<3|b+2>>>0<3){break f}s=j[l+12>>2];t=j[l+8>>2];u=j[l+4>>2];g:{h:{if((g|0)==(i|0)){h=0;break h}h=p(i,m);h=qe[j[57972]](h?h:1)|0;if(h){j[57976]=j[57976]+1}if(!h){break g}k=0;if((b|0)>0){b=h;while(1){Ge(b,f,i);f=f+g|0;b=b+i|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}f=h}qe[j[o+160>>2]](u,0,r,q,i,m,t,s,f);if(!h){break f}if(h){qe[j[57975]](h);j[57976]=j[57976]-1}break f}Be(0)}qe[j[o+20>>2]](j[l+4>>2],j[l>>2]);g=j[c+8>>2];i:{if(!g){break i}h=j[c+12>>2];if(!h){break i}i=j[l+12>>2];k=j[l+8>>2];m=j[c+4>>2];q=j[c>>2];l=j[l+4>>2];j:{k:{if((e|0)==(g|0)){f=0;break k}b=p(g,h);b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}f=b;if(!b){break j}c=0;if((h|0)>0){while(1){Ge(b,d,g);d=d+e|0;b=b+g|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}}d=f}qe[j[o+160>>2]](l,0,q,m,g,h,k,i,d);if(!f){break i}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}break i}Be(0)}k=0;a=j[a+436>>2];if(!j[a+4>>2]){break b}b=qe[j[a+104>>2]]()|0;if(!b){break b}while(1){c=128351;d=b-1280|0;if(d>>>0<=5){c=j[(d<<2)+128360>>2]}j[n+20>>2]=b;j[n+16>>2]=c;j[n+12>>2]=127766;j[n+8>>2]=1714;j[n+4>>2]=126494;j[n>>2]=127728;ve(128254,n);b=qe[j[a+104>>2]]()|0;if(b){continue}break}k=-1}oe=n+32|0;return k|0}function wK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;f=j[a+16>>2]/4|0;m=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{d=j[a+48>>2];if(d){if(!g){break a}i=e&7;l=(e+7|0)/8|0;n=f<<2;b:while(1){e=l;c:{d:{switch(i-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=7;continue;default:break e}}a=g-1|0;f=j[c>>2];h[b|0]=k[d+(f>>>16&224|f>>>11&28|f>>>6&3)|0];c=c+4|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+m|0;c=c+n|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}i=e&7;l=(e+7|0)/8|0;f=f<<2;g:while(1){e=l;h:{i:{switch(i-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=7;continue;default:break j}}a=g-1|0;d=j[c>>2];h[b|0]=d>>>16&224|d>>>11&28|d>>>6&3;b=b+1|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+m|0;c=c+f|0;g=a;if(a){continue g}break a}a=0;continue}}}}function vK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;f=j[a+16>>2]/4|0;m=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{d=j[a+48>>2];if(d){if(!g){break a}i=e&7;l=(e+7|0)/8|0;n=f<<2;b:while(1){e=l;c:{d:{switch(i-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=7;continue;default:break e}}a=g-1|0;f=j[c>>2];h[b|0]=k[d+(f>>>22&224|f>>>15&28|f>>>8&3)|0];c=c+4|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+m|0;c=c+n|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}i=e&7;l=(e+7|0)/8|0;f=f<<2;g:while(1){e=l;h:{i:{switch(i-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=7;continue;default:break j}}a=g-1|0;d=j[c>>2];h[b|0]=d>>>22&224|d>>>15&28|d>>>8&3;b=b+1|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+m|0;c=c+f|0;g=a;if(a){continue g}break a}a=0;continue}}}}function Wz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=oe-16|0;oe=f;a:{if(j[a+4>>2]){break a}d=6;b:{if(j[a+12>>2]!=1){break b}n=j[a>>2];q=(b|0)!=0;b=(p(q,36)+a|0)+16|0;g=b;d=j[c>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}i=e>>16;d=j[c+4>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}d=Ri(g,i,e>>16,n,f);if(d){break b}d=b;e=j[c+8>>2];g=e+32768&-65536;if((e|0)<0){g=0-(32768-e&-65536)|0}i=g>>16;e=j[c+12>>2];g=e+32768&-65536;if((e|0)<0){g=0-(32768-e&-65536)|0}d=Ri(d,i,g>>16,n,f+4|0);if(d){break b}d=j[c+16>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}e=e>>16;c=j[c+20>>2];d=c+32768&-65536;if((c|0)<0){d=0-(32768-c&-65536)|0}d=Ri(b,e,d>>16,n,f+8|0);if(d){break b}g=j[f+8>>2];i=j[f+4>>2];l=j[f>>2];o=p(q,36)+a|0;s=o;e=j[o+40>>2];c:{if(e){r=g>>3;t=i>>3;u=l>>3;v=128>>>(g&7)|0;w=128>>>(i&7)|0;x=128>>>(l&7)|0;c=j[o+48>>2];d=e;while(1){b=j[c>>2];if((k[j[c+8>>2]+u|0]&x?l>>>0>>0:0)|(k[j[c+8>>2]+t|0]&w?b>>>0>i>>>0:0)|(k[r+j[c+8>>2]|0]&v?b>>>0>g>>>0:0)){break c}c=c+16|0;d=d-1|0;if(d){continue}break}}r=e+1|0;b=j[o+44>>2];d:{if(r>>>0<=b>>>0){c=j[(p(q,36)+a|0)+48>>2];break d}j[f+12>>2]=0;c=b;b=e+8&-8;d=p(q,36)+a|0;c=xe(n,16,c,b,j[d+48>>2],f+12|0);j[d+48>>2]=c;d=j[f+12>>2];if(d){break b}j[o+44>>2]=b}b=0;c=(e<<4)+c|0;j[c+12>>2]=0;j[c>>2]=0;j[s+40>>2]=r}if((l|0)>=0){if(b>>>0<=l>>>0){b=j[c+4>>2];j[f+12>>2]=0;d=l+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){e=b;b=d+7&1073741816;y=c,z=xe(n,1,e,b,j[c+8>>2],f+12|0),j[y+8>>2]=z;d=j[f+12>>2];if(d){break b}j[c+4>>2]=b<<3}j[c>>2]=l+1}b=j[c+8>>2]+(l>>>3|0)|0;h[b|0]=k[b|0]|128>>>(l&7)}if((i|0)>=0){if(m[c>>2]<=i>>>0){b=j[c+4>>2];j[f+12>>2]=0;d=i+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){e=b;b=d+7&1073741816;y=c,z=xe(n,1,e,b,j[c+8>>2],f+12|0),j[y+8>>2]=z;d=j[f+12>>2];if(d){break b}j[c+4>>2]=b<<3}j[c>>2]=i+1}b=j[c+8>>2]+(i>>>3|0)|0;h[b|0]=k[b|0]|128>>>(i&7)}if((g|0)<0){break a}if(m[c>>2]<=g>>>0){b=j[c+4>>2];j[f+12>>2]=0;d=g+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){e=b;b=d+7&1073741816;y=c,z=xe(n,1,e,b,j[c+8>>2],f+12|0),j[y+8>>2]=z;d=j[f+12>>2];if(d){break b}j[c+4>>2]=b<<3}j[c>>2]=g+1}a=j[c+8>>2]+(g>>>3|0)|0;h[a|0]=k[a|0]|128>>>(g&7);break a}j[a+4>>2]=d}oe=f+16|0}function _k(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;q=c>>8;f=j[a+228>>2];i=f>>8;d=(q|0)<(i|0);a:{if(j[a+176>>2]<=((d?q:i)|0)){break a}o=j[a+172>>2];if((o|0)>((d?i:q)|0)){break a}s=c&255;e=j[a+220>>2];h=j[a+224>>2];d=h-f|0;if((i|0)==(q|0)){xj(a,i,e,d,b,s);break a}k=c-h|0;r=b-e|0;if(!r){g=(k>>>23^-1)&256;d=g-d|0;f=d+j[a+192>>2]|0;j[a+192>>2]=f;n=e<<1&510;h=j[a+188>>2]+p(n,d)|0;j[a+188>>2]=h;s=(k|0)>-1?1:-1;k=s+i|0;l=k-o|0;d=j[a+168>>2];i=e>>8;d=((d|0)<(i|0)?d:i)-j[a+164>>2]|0;d=(d|0)>-1?d:-1;if(!(j[a+160>>2]==(l|0)?(d|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Hg(a)}j[a+160>>2]=l;j[a+156>>2]=d;h=0;f=0}e=1;o=j[a+184>>2];e=o>>>0>l>>>0?j[a+180>>2]<=(d|0):e;j[a+196>>2]=e;if((k|0)!=(q|0)){r=(g<<1)-256|0;t=p(r,n);while(1){f=f+r|0;j[a+192>>2]=f;h=h+t|0;j[a+188>>2]=h;u=d;d=j[a+168>>2];d=((d|0)<(i|0)?d:i)-j[a+164>>2]|0;d=(d|0)>-1?d:-1;v=l;k=k+s|0;l=k-j[a+172>>2]|0;if(!((v|0)==(l|0)?(u|0)==(d|0):0)){if(!e){Hg(a);o=j[a+184>>2]}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=l;j[a+156>>2]=d;h=0;f=0}e=1;e=l>>>0>>0?(d|0)>=j[a+180>>2]:e;j[a+196>>2]=e;if((k|0)!=(q|0)){continue}break}}d=g+(c|-256)|0;j[a+192>>2]=d+f;j[a+188>>2]=p(d,n)+h;break a}f=a;h=i;g=e;n=d;b:{if((k|0)>-1){l=256;d=256-d|0;o=1;break b}k=0-k|0;o=-1}u=h;v=e;d=p(d,r);e=(d|0)/(k|0)|0;h=d-p(e,k)|0;e=(v+e|0)+(h>>31)|0;xj(f,u,g,n,e,l);d=j[a+168>>2];g=e>>8;d=((d|0)<(g|0)?d:g)-j[a+164>>2]|0;g=(d|0)>-1?d:-1;i=i+o|0;f=i-j[a+172>>2]|0;if(!((f|0)==j[a+160>>2]?(g|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Hg(a)}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=f;j[a+156>>2]=g}j[a+196>>2]=f>>>0>2]?(g|0)>=j[a+180>>2]:1;c:{if((i|0)==(q|0)){f=256-l|0;break c}f=r<<8;d=(f|0)/(k|0)|0;f=f-p(d,k)|0;g=f>>31;r=(g&k)+f|0;t=d+g|0;f=256-l|0;g=h-((h|0)<0?0:k)|0;while(1){h=e;d=g+r|0;e=e+t+((d^-1)>>>31)|0;xj(a,i,h,f,e,l);g=j[a+168>>2];n=e>>8;g=((g|0)<(n|0)?g:n)-j[a+164>>2]|0;n=(g|0)>-1?g:-1;i=i+o|0;h=i-j[a+172>>2]|0;if(!((h|0)==j[a+160>>2]?(n|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Hg(a)}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=h;j[a+156>>2]=n}g=d-((d|0)<0?0:k)|0;j[a+196>>2]=h>>>0>2]?(n|0)>=j[a+180>>2]:1;if((i|0)!=(q|0)){continue}break}}xj(a,q,e,f,b,s)}j[a+224>>2]=c;j[a+220>>2]=b;j[a+228>>2]=c&-256}function Vk(a,b,c){var d=0,e=0,f=0,g=0,k=0,m=0,n=0;f=oe-16|0;oe=f;j[a+4>>2]=c;j[a>>2]=b;if(c){j[a+396>>2]=j[c+116>>2];j[a+400>>2]=j[c+120>>2];j[a+408>>2]=j[c+128>>2];j[a+412>>2]=j[c+132>>2];j[a+404>>2]=j[c+124>>2];j[a+416>>2]=j[c+136>>2];d=j[c+108>>2];j[a+276>>2]=j[c+104>>2];j[a+280>>2]=d;d=j[c+100>>2];j[a+268>>2]=j[c+96>>2];j[a+272>>2]=d;d=j[c+92>>2];j[a+260>>2]=j[c+88>>2];j[a+264>>2]=d;d=j[c+84>>2];j[a+252>>2]=j[c+80>>2];j[a+256>>2]=d;d=j[c+76>>2];j[a+244>>2]=j[c+72>>2];j[a+248>>2]=d;d=j[c+48>>2];j[a+216>>2]=j[c+44>>2];j[a+220>>2]=d;d=j[c+56>>2];j[a+224>>2]=j[c+52>>2];j[a+228>>2]=d;d=j[c+64>>2];j[a+232>>2]=j[c+60>>2];j[a+236>>2]=d;j[a+240>>2]=j[c+68>>2];j[a+420>>2]=j[c+140>>2];j[a+424>>2]=j[c+144>>2];d=j[c+152>>2];j[a+444>>2]=j[c+148>>2];j[a+448>>2]=d;d=j[c+160>>2];j[a+452>>2]=j[c+156>>2];j[a+456>>2]=d;d=j[c+168>>2];j[a+460>>2]=j[c+164>>2];j[a+464>>2]=d;Ae(a+284|0,c+172|0,68);j[a+380>>2]=j[c+240>>2];j[a+384>>2]=j[c+244>>2];i[a+468>>1]=l[c+248>>1];j[a+472>>2]=j[c+252>>2];d=j[c+260>>2];j[a+180>>2]=j[c+256>>2];j[a+184>>2]=d;d=j[c+268>>2];j[a+188>>2]=j[c+264>>2];j[a+192>>2]=d;d=j[c+276>>2];j[a+196>>2]=j[c+272>>2];j[a+200>>2]=d;d=j[c+284>>2];j[a+204>>2]=j[c+280>>2];j[a+208>>2]=d;j[a+212>>2]=j[c+288>>2];Ee(a+36|0,0,108)}e=j[a+8>>2];a:{b:{c:{c=l[b+284>>1]+32|0;d=j[a+20>>2];d:{if(c>>>0<=d>>>0){c=d;break d}m=a,n=xe(e,1,d<<2,c<<2,j[a+24>>2],f+8|0),j[m+24>>2]=n;e=j[f+8>>2];if(e){break c}e=j[a+8>>2]}j[a+20>>2]=c;c=l[b+286>>1];b=j[a+388>>2];if(c>>>0<=b>>>0){c=b;break b}m=a,n=xe(e,1,b,c,j[a+392>>2],f+12|0),j[m+392>>2]=n;e=j[f+12>>2];if(!e){break b}j[a+388>>2]=b&65535;break a}j[a+20>>2]=d;break a}e=0;j[a+152>>2]=0;j[a+388>>2]=c&65535;b=j[a+148>>2];c=j[a+144>>2];j[a+72>>2]=c;j[a+76>>2]=b;j[a+108>>2]=c;j[a+112>>2]=b;j[a+36>>2]=c;j[a+40>>2]=b;d=j[a+164>>2];b=d;c=j[a+160>>2];j[a+88>>2]=c;j[a+92>>2]=d;g=j[a+172>>2];d=g;k=j[a+168>>2];j[a+96>>2]=k;j[a+100>>2]=d;g=j[a+176>>2];j[a+104>>2]=g;j[a+124>>2]=c;j[a+128>>2]=b;j[a+132>>2]=k;j[a+136>>2]=d;j[a+140>>2]=g;j[a+52>>2]=c;j[a+56>>2]=b;j[a+60>>2]=k;j[a+64>>2]=d;j[a+68>>2]=g;b=j[a+156>>2];c=j[a+152>>2];j[a+80>>2]=c;j[a+84>>2]=b;j[a+116>>2]=c;j[a+120>>2]=b;j[a+44>>2]=c;j[a+48>>2]=b;h[a+488|0]=0}oe=f+16|0;return e}function gL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;n=j[a+24>>2];c=(n+7|0)/-8|0;o=j[a+28>>2];if(o){x=j[a+16>>2]+(c+n|0)|0;g=k[a+63|0];y=j[a+36>>2];z=j[j[j[a+40>>2]+4>>2]+4>>2];m=j[a>>2];c=j[a+20>>2];A=(n|0)<1;a=j[a+44>>2];v=k[a+9|0];w=v-1|0;while(1){o=o-1|0;q=0;r=0;if(!A){while(1){if(!(r&7)){q=k[m|0];m=m+1|0}b=((q&128)>>>5|0)+z|0;s=k[b+2|0];t=k[b+1|0];u=k[b|0];b=0;d=0;e=0;f=0;a:{b:{switch(w|0){case 0:b=k[c|0];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break a;case 1:b=l[c>>1];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break a;case 2:e=k[(k[a+34|0]>>>3|0)+c|0];d=k[(k[a+33|0]>>>3|0)+c|0];b=k[(k[a+32|0]>>>3|0)+c|0];f=255;break a;case 3:break b;default:break a}}b=j[c>>2];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0]}f=(f+g|0)-((p(f,g)>>>0)/255|0)&255;s=((p(s-e|0,g)|0)/255|0)+e|0;e=s&255;t=((p(t-d|0,g)|0)/255|0)+d|0;d=t&255;u=((p(u-b|0,g)|0)/255|0)+b|0;b=u&255;c:{d:{switch(w|0){case 0:h[c|0]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>1]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>>3|0)+c|0]=u;h[(k[a+33|0]>>>3|0)+c|0]=t;h[(k[a+34|0]>>>3|0)+c|0]=s;break c;case 3:break d;default:break c}}j[c>>2]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>2]==268306?a:0)){ve(125954,0);g=-1;break a}if(!c){j[f>>2]=125996;g=ve(125970,f);break a}if(!d){j[f+16>>2]=126003;g=ve(125970,f+16|0);break a}b:{if(b){i=j[b+8>>2];break b}j[f+24>>2]=0;j[f+28>>2]=0;i=j[a+12>>2];j[f+32>>2]=i;j[f+36>>2]=j[a+16>>2];b=f+24|0}if(!i){break a}l=j[b+12>>2];if(!l){break a}h=j[a+40>>2];e=j[a+44>>2];if(e){g=-1;if((UM(e,b,c,d)|0)<0){break a}j[f+48>>2]=0;j[f+52>>2]=0;c=j[a+12>>2];j[f+56>>2]=c;e=j[a+16>>2];j[f+60>>2]=e;c:{if(j[a+8>>2]==1){g=0;j[f+44>>2]=0;j[f+40>>2]=0;if((mk(h,f+48|0,f+44|0,f+40|0)|0)<0){break c}rm(j[a+44>>2],f+48|0,j[h+4>>2],j[f+56>>2],j[f+60>>2],j[f+44>>2],j[f+40>>2]);lk(h);break a}g=0;b=j[h+4>>2];d:{if(!(!b|(b&-268435456)==268435456)){d=2;if((b|0)==844715353|(b|0)==1498831189){break d}d=(b|0)==1431918169?2:1;break d}d=b&255}c=p(d,c)+3&-4;b=p(c,e);if(!b){break a}b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}if(b){rm(j[a+44>>2],f+48|0,j[h+4>>2],j[f+56>>2],j[f+60>>2],b,c);Ei(h,f+48|0,b,c);if(b){qe[j[57975]](b);j[57976]=j[57976]-1}break a}g=Be(0);break a}g=-1;break a}if(h){e:{if(j[a+8>>2]==1){j[f+48>>2]=0;j[f+44>>2]=0;if((mk(h,b,f+48|0,f+44|0)|0)<0){break e}th(j[b+8>>2],j[b+12>>2],j[a+4>>2],c,d,j[h+4>>2],j[f+48>>2],j[f+44>>2]);lk(h);break a}e=j[h+4>>2];f:{if(!(!e|(e&-268435456)==268435456)){k=2;if((e|0)==844715353|(e|0)==1498831189){break f}k=(e|0)==1431918169?2:1;break f}k=e&255}i=p(k,i)+3&-4;e=p(i,l);if(!e){break a}e=qe[j[57972]](e?e:1)|0;if(e){j[57976]=j[57976]+1}if(e){th(j[b+8>>2],j[b+12>>2],j[a+4>>2],c,d,j[h+4>>2],e,i);Ei(h,b,e,i);if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break a}g=Be(0);break a}g=-1;break a}g:{e=j[a+36>>2];if(j[a+72>>2]!=j[e+352>>2]){break g}h=j[e+340>>2];if(!h){break g}g=e+420|0;i=qe[j[e+48>>2]](e,h,j[e+408>>2],j[e+412>>2])|0;while(1){h=g;g=j[h+8>>2];if(g){continue}break}j[h+8>>2]=j[e+432>>2];j[e+432>>2]=j[e+428>>2];j[e+428>>2]=0;g=j[e+344>>2];if(g){j[g+24>>2]=j[e+348>>2];j[e+344>>2]=0;j[e+348>>2]=j[e+340>>2];j[e+340>>2]=0}j[e+412>>2]=0;j[e+404>>2]=0;j[e+396>>2]=0;j[e+400>>2]=0;j[e+352>>2]=j[e+352>>2]+1;if((i|0)>=0){break g}g=-1;break a}g=qe[j[e+52>>2]](e,a,b,c,d)|0}oe=f- -64|0;return g}function ij(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,n=0;d=oe-144|0;oe=d;a:{if(!a){j[d>>2]=124490;c=ve(124464,d);break a}b:{c=Dg(a,44);if(c){i=1;f=c-a|0;c=f+1|0;c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}if(c){break b}Be(0)}j[d+16>>2]=a;c=ve(124504,d+16|0);break a}Ge(c,a,f);h[c+f|0]=0;k=1;e=0;c:{if(!Me(c,124532)){break c}if(!Me(c,124540)){i=0;e=1;break c}k=(Me(c,124547)|0)!=0;e=1}n=e;fN(d+88|0,c);e=j[d+100>>2];f=d- -64|0;j[f>>2]=j[d+96>>2];j[f+4>>2]=e;e=j[d+92>>2];j[d+56>>2]=j[d+88>>2];j[d+60>>2]=e;if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=j[f+4>>2];j[d+80>>2]=j[f>>2];j[d+84>>2]=c;c=j[d+60>>2];j[d+72>>2]=j[d+56>>2];j[d+76>>2]=c;d:{c=Dg(a,44);e:{if(!c){break e}l=c+1|0;f=Dg(l,44);if(!f){break e}e=f-c|0;c=e;f=qe[j[57972]](c?c:1)|0;if(f){j[57976]=j[57976]+1}if(f){break d}Be(0)}j[d+32>>2]=a;ve(124554,d+32|0);c=-1;break a}Ge(f,l,e);c=-1;h[(f+e|0)-1|0]=0;f:{e=Dg(a,44);g:{if(!e){break g}e=Dg(e+1|0,44);if(!e){break g}e=_f(e+1|0);if(e){break f}}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}j[d+48>>2]=a;ve(124582,d+48|0);break a}h:{i:{j:{k:{l:{a=j[67062];if(a){while(1){if(!xf(d+72|0,a,16)){break l}a=j[a+28>>2];if(a){continue}break}}a=qe[j[57972]](32)|0;if(a){j[57976]=j[57976]+1}if(a){break k}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}Be(0);break a}if(m[a+24>>2]<=b>>>0){c=j[a+16>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[a+16>>2]=f;c=j[a+20>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[a+24>>2]=b;j[a+20>>2]=e;c=j[67069];if(!c){g=1;break h}while(1){if(!xf(j[c>>2]+12|0,a,16)){CN(c,j[a+16>>2],j[a+20>>2]);j[d+88>>2]=1621;j[d+96>>2]=j[j[c>>2]>>2];gf(d+88|0)}c=j[c+32>>2];if(c){continue}break}g=1;break j}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}g=1;break h}c=j[d+76>>2];j[a>>2]=j[d+72>>2];j[a+4>>2]=c;c=j[d+84>>2];j[a+8>>2]=j[d+80>>2];j[a+12>>2]=c;j[a+28>>2]=0;j[a+20>>2]=e;j[a+16>>2]=f;j[a+24>>2]=b;c=j[67062];if(!c){break i}while(1){b=c;c=j[c+28>>2];if(c){continue}break}j[b+28>>2]=a;g=0}if(a){break h}c=-1;break a}j[67062]=a}c=0;if(g){break a}if(!n){j[67070]=a;c=1;break a}if(!i){j[67071]=a;c=1;break a}c=1;if(k){break a}j[67072]=a}oe=d+144|0;return c}function UM(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,m=0,n=0,o=0;a:{b:{c:{d:{f=j[a>>2];e:{if((f|0)<=1431918168){f:{switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 0:break d;case 11:break e;default:break f}}if((f|0)==825382478){break d}if((f|0)!=844715353){break b}break c}if((f|0)==1431918169|(f|0)==1498831189){break c}if((f|0)!=1448433993){break b}}g:{e=j[b+4>>2];h=j[b>>2];if(e|h){break g}e=0;f=j[b+8>>2];if((f|0)!=j[a+8>>2]){break g}g=j[b+12>>2];if((g|0)!=j[a+12>>2]){break g}break a}if(j[b+12>>2]<1){break b}k=j[b+8>>2];e=h+(j[a+16>>2]+p(j[a+8>>2],e)|0)|0;g=0;f=c;while(1){Ge(e,f,k);f=d+f|0;h=j[a+8>>2];e=h+e|0;g=g+1|0;i=j[b+12>>2];if((g|0)<(i|0)){continue}break}if((i|0)<1){break b}o=(j[b+8>>2]+1|0)/2|0;e=j[a+16>>2]+p(h,j[a+12>>2])+(p(j[b+4>>2]/2|0,(h+1|0)/2|0)+(j[b>>2]/2|0))|0;h=(d+1|0)/2|0;f=p(d,i)+c|0;g=0;while(1){Ge(e,f,o);f=f+h|0;m=j[a+8>>2];i=(m+1|0)/2|0;e=i+e|0;g=g+1|0;k=j[b+12>>2];n=(k+1|0)/2|0;if((g|0)<(n|0)){continue}break}if((k|0)<1){break b}f=(j[b+8>>2]+1|0)/2|0;e=j[a+12>>2];e=(j[a+16>>2]+p(e,m)|0)+p(i,(e+1|0)/2|0)+(p(i,j[b+4>>2]/2|0)+(j[b>>2]/2|0))|0;c=(p(d,k)+c|0)+p(h,n)|0;d=0;while(1){Ge(e,c,f);c=c+h|0;e=((j[a+8>>2]+1|0)/2|0)+e|0;d=d+1|0;if((d|0)<((j[b+12>>2]+1|0)/2|0)){continue}break}break b}h:{e=j[b+4>>2];h=j[b>>2];if(e|h){break h}e=0;f=j[b+8>>2];if((f|0)!=j[a+8>>2]){break h}g=j[b+12>>2];if((g|0)!=j[a+12>>2]){break h}break a}if(j[b+12>>2]<1){break b}k=j[b+8>>2];e=h+(j[a+16>>2]+p(j[a+8>>2],e)|0)|0;g=0;f=c;while(1){Ge(e,f,k);f=d+f|0;h=j[a+8>>2];e=h+e|0;g=g+1|0;i=j[b+12>>2];if((g|0)<(i|0)){continue}break}if((i|0)<1){break b}f=(j[b+8>>2]+1|0)/2<<1;e=(j[a+16>>2]+p(h,j[a+12>>2])|0)+(p((j[b+4>>2]+1|0)/2|0,(h+1|0)/2|0)+(j[b>>2]/2|0)<<1)|0;c=p(d,i)+c|0;g=(d+1|0)/2<<1;d=0;while(1){Ge(e,c,f);c=c+g|0;e=((j[a+8>>2]+1|0)/2<<1)+e|0;d=d+1|0;if((d|0)<((j[b+12>>2]+1|0)/2|0)){continue}break}break b}if(j[b+12>>2]<1){break b}g=(j[b+8>>2]+1|0)/2<<2;e=(j[a+28>>2]+p(j[b+4>>2],l[a+20>>1])|0)+(j[b>>2]<<1)|0;f=0;while(1){Ge(e,c,g);c=c+d|0;e=l[a+20>>1]+e|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}Ge(j[a+16>>2],c,p(f,g)+(p((f+1|0)/2|0,(g+1|0)/2|0)<<1)|0);return 0}function nk(a,b,c,d,e,f,g){var i=0,l=0,m=0,o=0,p=0,s=0,t=q(0),u=0,v=0;s=oe+ -64|0;oe=s;m=Cm(a,b);a:{if(!m){break a}b:{c:{if(!(!j[67043]|(a|0)==-1&(b|0)==-1)){d:{e:{i=j[67024];if(!i){i=j[66371];if(!i){break e}}l=k[268228];if(e){if(l&1){break b}o=j[i+28>>2];t=q(q(o|0)*g);f:{if(q(r(t))0?l:0;u=(l|0)<(o|0)?l:o-1|0;v=i;p=j[i+24>>2];t=q(q(p|0)*f);g:{if(q(r(t))0?o:0;ok(v,-1,0,(l|0)<(p|0)?l:p-1|0,u);Gm(i,-1,1,1);break d}if(((a|0)!=j[67058]|(b|0)!=j[67059]|l^-1)&1|((c|0)!=j[67060]|(d|0)!=j[67061])){break c}Gm(i,-1,0,1);break c}if(!e){break c}}if(k[268228]){break b}j[67058]=a;j[67059]=b;h[268228]=1;j[67060]=c;j[67061]=d;break b}if((a|0)!=-1|(b|0)!=-1){break b}if(!j[67044]){break a}break b}if(!k[268228]|((a|0)!=j[67058]|(b|0)!=j[67059])|((c|0)!=j[67060]|(d|0)!=j[67061])){break b}h[268228]=0}l=j[m+12>>2];i=0;h:{if((l|0)<1){break h}o=j[m+20>>2];i=0;i:{while(1){p=j[o+(i<<2)>>2];if((c|0)==j[p>>2]&(d|0)==j[p+4>>2]){break i}i=i+1|0;if((l|0)!=(i|0)){continue}break}i=0;break h}i=(i|0)<(l|0)?p:0}if(e){if(i){break a}j:{k:{l:{if(j[m+16>>2]!=(l|0)){i=j[m+20>>2];break l}e=mf(j[m+20>>2],(l<<2)+4|0);if(!e){break k}j[m+20>>2]=e;e=qe[j[57972]](24)|0;if(e){j[57976]=j[57976]+1}l=j[m+16>>2];o=l<<2;j[o+j[m+20>>2]>>2]=e;i=j[m+20>>2];if(!j[o+i>>2]){break k}j[m+16>>2]=l+1;l=j[m+12>>2]}j[m+12>>2]=l+1;e=j[(l<<2)+i>>2];n[e+16>>2]=1;n[e+12>>2]=g;n[e+8>>2]=f;j[e>>2]=c;j[e+4>>2]=d;break j}if((Be(0)|0)<0){break a}}if((We(1792,-1)|0)!=1){break a}n[s+48>>2]=1;e=s;j[e+40>>2]=0;j[e+44>>2]=0;n[e+36>>2]=g;n[e+32>>2]=f;j[e+24>>2]=c;j[e+28>>2]=d;j[e+16>>2]=a;j[e+20>>2]=b;j[e+8>>2]=1792;gf(e+8|0);break a}if(!i){break a}if((We(1793,-1)|0)==1){e=s;j[e+24>>2]=c;j[e+28>>2]=d;j[e+16>>2]=a;j[e+20>>2]=b;j[e+8>>2]=1793;n[e+32>>2]=n[i+8>>2];f=n[i+12>>2];n[e+48>>2]=1;j[e+40>>2]=0;j[e+44>>2]=0;n[e+36>>2]=f;gf(e+8|0)}a=j[m+12>>2];if((a|0)<1){break a}b=j[m+20>>2];i=0;while(1){e=b+(i<<2)|0;l=j[e>>2];if(j[l>>2]!=(c|0)|j[l+4>>2]!=(d|0)){i=i+1|0;if((a|0)!=(i|0)){continue}break a}break}a=a-1|0;j[m+12>>2]=a;a=a<<2;j[e>>2]=j[a+b>>2];j[a+j[m+20>>2]>>2]=l}oe=s- -64|0}function Qs(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;d=oe-32|0;oe=d;a:{b:{if(Ii(16)){break b}if((Ji(16)|0)>=0){break b}a=-1;break a}b=j[65559];if(b){if(!(l[131122]!=32784|k[262246]!=2)){j[65559]=b+1;break a}while(1){Wm();if(j[65559]){continue}break}}j[d+28>>2]=0;j[d+24>>2]=593;i[d+16>>1]=2048;h[d+14|0]=2;i[d+12>>1]=32784;j[d+8>>2]=44100;a=_O(d+8|0);j[65566]=a;if(!a){a=-1;break a}Zm();a=-1;if((tt()|0)<=-1){ss(j[65566]);break a}j[65567]=8;a=qe[j[57972]](480)|0;if(a){j[57976]=j[57976]+1}b=a;j[65568]=a;e=j[65567];if((e|0)>=1){while(1){a=b+p(c,60)|0;j[a>>2]=0;j[a+4>>2]=0;j[a+44>>2]=128;j[a+16>>2]=128;j[a+20>>2]=0;j[a+36>>2]=0;j[a+40>>2]=128;j[a+56>>2]=0;j[a+24>>2]=-1;j[a+28>>2]=0;j[a+8>>2]=0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}Ym(128);f=262224,g=(Qf(115474)|0)!=0,j[f>>2]=g;a=mf(j[65558],(j[65557]<<2)+4|0);c:{if(!a){c=j[65557];a=j[65558];break c}j[65558]=a;b=j[65557];c=b+1|0;j[65557]=c;j[(b<<2)+a>>2]=115626}a=mf(a,(c<<2)+4|0);d:{if(!a){c=j[65557];a=j[65558];break d}j[65558]=a;b=j[65557];c=b+1|0;j[65557]=c;j[(b<<2)+a>>2]=115631}a=mf(a,(c<<2)+4|0);if(a){j[65558]=a;b=j[65557];j[65557]=b+1;j[a+(b<<2)>>2]=115636}e:{if(j[57795]==3){b=1;if(j[57797]){break e}}b=j[57815]==3&j[57817]!=0}f:{if(!b){break f}a=mf(j[65558],(j[65557]<<2)+4|0);if(!a){break f}j[65558]=a;b=j[65557];j[65557]=b+1;j[a+(b<<2)>>2]=115640}g:{if(j[57795]==4){b=1;if(j[57797]){break g}}b=j[57815]==4&j[57817]!=0}h:{if(!b){break h}a=mf(j[65558],(j[65557]<<2)+4|0);if(!a){break h}j[65558]=a;b=j[65557];j[65557]=b+1;j[a+(b<<2)>>2]=115644}i:{if(j[57795]==5){b=1;if(j[57797]){break i}}b=j[57815]==5&j[57817]!=0}j:{if(!b){break j}a=mf(j[65558],(j[65557]<<2)+4|0);if(!a){break j}j[65558]=a;b=j[65557];j[65557]=b+1;j[a+(b<<2)>>2]=115648}k:{if(j[57795]==6){b=1;if(j[57797]){break k}}b=j[57815]==6&j[57817]!=0}l:{if(!b){break l}a=mf(j[65558],(j[65557]<<2)+4|0);if(!a){break l}j[65558]=a;b=j[65557];j[65557]=b+1;j[a+(b<<2)>>2]=115652}m:{if(j[57795]==8){b=1;if(j[57797]){break m}}b=j[57815]==8&j[57817]!=0}n:{if(!b){break n}a=mf(j[65558],(j[65557]<<2)+4|0);if(!a){break n}j[65558]=a;b=j[65557];j[65557]=b+1;j[a+(b<<2)>>2]=115656}a=0;j[65559]=1;XO(j[65566])}oe=d+32|0;return a}function Jp(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,n=0,o=0;f=oe-48|0;oe=f;a:{if(c>>>0<=2){c=c<<2;i=j[c+227596>>2];o=j[c+227584>>2];while(1){c=j[b+4>>2];b:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break b}c=ff(b)}if((c|0)==32|c-9>>>0<5){continue}break}g=1;c:{d:{switch(c-43|0){case 0:case 2:break d;default:break c}}g=(c|0)==45?-1:1;c=j[b+4>>2];if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break c}c=ff(b)}e:{f:{while(1){if(h[e+227516|0]==(c|32)){g:{if(e>>>0>6){break g}c=j[b+4>>2];if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break g}c=ff(b)}e=e+1|0;if((e|0)!=8){continue}break f}break}if((e|0)!=3){if((e|0)==8){break f}if(!d|e>>>0<4){break e}if((e|0)==8){break f}}c=j[b+104>>2];if(c){j[b+4>>2]=j[b+4>>2]-1}if(!d|e>>>0<4){break f}while(1){if(c){j[b+4>>2]=j[b+4>>2]-1}e=e-1|0;if(e>>>0>3){continue}break}}qD(f,q(q(g|0)*q(B)));g=j[f+8>>2];i=j[f+12>>2];l=j[f>>2];n=j[f+4>>2];break a}h:{i:{j:{if(e){break j}e=0;while(1){if(h[e+227525|0]!=(c|32)){break j}k:{if(e>>>0>1){break k}c=j[b+4>>2];if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break k}c=ff(b)}e=e+1|0;if((e|0)!=3){continue}break}break i}l:{switch(e|0){case 0:m:{if((c|0)!=48){break m}e=j[b+4>>2];n:{if(e>>>0>2]){j[b+4>>2]=e+1;e=k[e|0];break n}e=ff(b)}if((e&-33)==88){ED(f+16|0,b,o,i,g,d);g=j[f+24>>2];i=j[f+28>>2];l=j[f+16>>2];n=j[f+20>>2];break a}if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1}DD(f+32|0,b,c,o,i,g,d);g=j[f+40>>2];i=j[f+44>>2];l=j[f+32>>2];n=j[f+36>>2];break a;case 3:break i;default:break l}}if(j[b+104>>2]){j[b+4>>2]=j[b+4>>2]-1}break h}o:{c=j[b+4>>2];p:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break p}c=ff(b)}if((c|0)==40){e=1;break o}g=0;i=2147450880;if(!j[b+104>>2]){break a}j[b+4>>2]=j[b+4>>2]-1;break a}while(1){q:{c=j[b+4>>2];r:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break r}c=ff(b)}if(!(c-48>>>0<10|c-65>>>0<26|(c|0)==95)){if(c-97>>>0>=26){break q}}e=e+1|0;continue}break}g=0;i=2147450880;if((c|0)==41){break a}c=j[b+104>>2];if(c){j[b+4>>2]=j[b+4>>2]-1}if(d){if(!e){break a}while(1){e=e-1|0;if(c){j[b+4>>2]=j[b+4>>2]-1}if(e){continue}break}break a}}j[67100]=28;kg(b,0,0)}g=0;i=0}j[a>>2]=l;j[a+4>>2]=n;j[a+8>>2]=g;j[a+12>>2]=i;oe=f+48|0}function cw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=oe-80|0;oe=f;m=j[a+528>>2];a:{if(!m){a=6;break a}i=j[a+100>>2];n=j[m+4>>2];j[f+24>>2]=n;d=j[m>>2];j[f+28>>2]=d;if(n){a=0;while(1){c=p(a,12);e=c+(f+24|0)|0;j[e+8>>2]=j[((a<<2)+m|0)+8>>2];c=c+m|0;l=j[c+92>>2];j[e+12>>2]=j[l>>2];j[e+16>>2]=j[(l+(k[c+88|0]<<2)|0)-4>>2];a=a+1|0;if((n|0)!=(a|0)){continue}break}}e=0;j[f+20>>2]=0;i=He(i,p(n,24)+20|0,f+20|0);a=j[f+20>>2];if(a){break a}j[i+16>>2]=0;j[i+8>>2]=-1;j[i+4>>2]=d;j[i>>2]=n;l=i+20|0;j[i+12>>2]=l;if(n){while(1){a=p(e,24)+l|0;c=(f+24|0)+p(e,12)|0;d=j[c+8>>2];j[a>>2]=d;h=j[c+12>>2]<<16;j[a+4>>2]=h;c=j[c+16>>2];j[a+16>>2]=-1;j[a+20>>2]=-1;c=c<<16;j[a+12>>2]=c;j[a+8>>2]=(c+h|0)/2;g=2003265652;b:{c:{if(!we(d,91712)){break c}g=2003072104;if(!we(d,91719)){break c}if(we(d,91725)){break b}g=1869640570}j[a+16>>2]=g}e=e+1|0;if((n|0)!=(e|0)){continue}break}}d:{e=j[m+4>>2];if(j[m>>2]!=1<>2];e:{f:{switch(e-1|0){case 0:e=j[a+4>>2];j[f>>2]=e;break e;case 1:d=j[a+12>>2];e=d+j[a+4>>2]|0;j[f>>2]=e;j[f+4>>2]=d+j[a+8>>2];break e;case 2:h=j[a+12>>2];d=j[a+20>>2];c=j[a+28>>2];e=j[a+4>>2]+(h+(d+c|0)|0)|0;j[f>>2]=e;c=c+j[a+24>>2]|0;j[f+4>>2]=j[a+8>>2]+(c+h|0);j[f+8>>2]=j[a+16>>2]+(c+d|0);break e;default:break f}}r=j[a+12>>2];q=j[a+20>>2];d=j[a+28>>2];g=j[a+52>>2];c=j[a+44>>2];h=c+j[a+36>>2]|0;o=j[a+60>>2];e=j[a+4>>2]+(r+(q+(d+(g+(h+o|0)|0)|0)|0)|0)|0;j[f>>2]=e;s=j[a+24>>2];t=j[a+40>>2];r=r+(c+d|0)|0;c=o+j[a+56>>2]|0;j[f+4>>2]=j[a+8>>2]+(s+(t+(r+c|0)|0)|0);o=(d+q|0)+s|0;d=j[a+48>>2]+(c+g|0)|0;j[f+8>>2]=j[a+16>>2]+(o+d|0);j[f+12>>2]=j[a+32>>2]+(d+(h+t|0)|0)}if(!n){break d}d=0;while(1){c=p(d,12)+m|0;h=j[c+96>>2];g:{if(j[h>>2]<(e|0)){a=1;o=k[c+88|0];if(o>>>0>1){while(1){g=a<<2;q=j[g+h>>2];if((q|0)>=(e|0)){c=j[c+92>>2];l=g-4|0;a=j[c+l>>2];c=j[c+g>>2];g=e;e=j[h+l>>2];a=p(De(g-e|0,q-e|0),c-a|0)+(a<<16)|0;l=j[i+12>>2];break g}a=a+1|0;if((o|0)!=(a|0)){continue}break}}a=j[(j[c+92>>2]+(o<<2)|0)-4>>2]<<16;break g}a=j[j[c+92>>2]>>2]<<16}j[(p(d,24)+l|0)+8>>2]=a;d=d+1|0;if((n|0)==(d|0)){break d}e=j[(d<<2)+f>>2];continue}}j[b>>2]=i;a=j[f+20>>2]}oe=f+80|0;return a|0}function dp(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;a=oe-288|0;oe=a;vs(a+16|0,j[58915]);c=j[a+20>>2];b=j[a+16>>2];j[58917]=b;j[58918]=c;m=c;if(c){i=b;while(1){Ee(a+16|0,0,257);a:{if(k[e+i|0]!=58){break a}j[a+12>>2]=0;b=e;while(1){c=k[b+i|0];if((c|0)==47){break a}if((c|0)==10){d=0;c=b+1|0;e=k[i+c|0];if((e|0)!=58){while(1){h[(a+12|0)+d|0]=e;d=d+1|0;b=c;c=b+1|0;e=k[i+c|0];if((e|0)!=58){continue}break}}h[(a+12|0)+d|0]=0;g=sf(a+12|0);if((g|0)>j[60719]){j[60719]=g}d=0;f=0;e=b+3|0;b=k[i+e|0];if((b|0)!=10){while(1){b:{c:{d:{c=b<<24>>24;switch(c-123|0){case 0:case 2:break b;case 1:break c;default:break d}}if((c|0)==32){break b}}h[(a+16|0)+f|0]=b;f=f+1|0}e=e+1|0;b=k[i+e|0];if((b|0)!=10){continue}break}}h[(a+16|0)+f|0]=0;h[a+8|0]=0;j[a>>2]=0;j[a+4>>2]=0;c=1;b=k[a+16|0];e:{if((b|0)==44){l=0;break e}while(1){h[a+d|0]=b;d=d+1|0;b=k[d+(a+16|0)|0];if((b|0)!=44){continue}break}l=k[a|0];if((l|0)!=42){break e}b=k[a+5|0]|k[a+6|0]<<8|(k[a+7|0]<<16|k[a+8|0]<<24);l=k[a+1|0]|k[a+2|0]<<8|(k[a+3|0]<<16|k[a+4|0]<<24);j[a>>2]=l;j[a+4>>2]=b;c=16}g=p(g,24)+235536|0;n=g,o=p(sf(a),c),j[n+140>>2]=o;b=0;c=d+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){while(1){h[a+b|0]=f;b=b+1|0;d=c;c=c+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){continue}break}l=k[a|0]}b=1;c=g;if((l&255)==42){b=k[a+5|0]|k[a+6|0]<<8|(k[a+7|0]<<16|k[a+8|0]<<24);j[a>>2]=k[a+1|0]|k[a+2|0]<<8|(k[a+3|0]<<16|k[a+4|0]<<24);j[a+4>>2]=b;b=16}n=c,o=p(b,sf(a)),j[n+144>>2]=o;c=0;b=d+2|0;d=k[b+(a+16|0)|0];if((d|0)!=44){while(1){h[a+c|0]=d;c=c+1|0;b=b+1|0;d=k[b+(a+16|0)|0];if((d|0)!=44){continue}break}}n=g,o=sf(a),j[n+148>>2]=o;d=0;c=b+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){while(1){h[a+d|0]=f;d=d+1|0;b=c;c=b+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){continue}break}}n=g,o=sf(a),j[n+152>>2]=o;d=0;c=b+2|0;b=k[c+(a+16|0)|0];if((b|0)!=44){while(1){h[a+d|0]=b;d=d+1|0;c=c+1|0;b=k[c+(a+16|0)|0];if((b|0)!=44){continue}break}}n=g,o=sf(a),j[n+156>>2]=o;b=0;d=c+1|0;c=k[d+(a+16|0)|0];if((c|0)!=44){while(1){h[a+b|0]=c;b=b+1|0;d=d+1|0;c=k[d+(a+16|0)|0];if((c|0)!=44){continue}break}}n=g,o=sf(a),j[n+160>>2]=o}else{b=b-1|0;continue}break}}e=e+1|0;if(m>>>0>e>>>0){continue}break}}oe=a+288|0}function Fo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;if(!(k[a+16|0]&8)){e=p(c,204)+b|0;r=j[e+200>>2];g=j[e+204>>2]+ye(j[a>>2],r)|0;f=ye(j[a+4>>2],r);a:{b:{c:{d:{e:{switch(c|0){case 1:if(k[d+121|0]){break d}break b;case 0:if(!k[d+120|0]){break b}n=k[d+122|0]!=0;break;default:break e}}j[a+12>>2]=f;i=a+12|0;break c}s=k[d+123|0];j[a+12>>2]=f;t=j[a>>2];v=k[b+2492|0];n=2;e=j[b+412>>2];f:{g:{if(!e){break g}l=j[a+4>>2]+t|0;h=b+416|0;o=j[b+2488>>2];m=0-o|0;while(1){q=l-j[h+12>>2]|0;if((q|0)<(m|0)){break g}if((l|0)<=(o+j[h+8>>2]|0)){if(!v){e=0;if((q|0)>j[b+2484>>2]){break f}}u=j[h+16>>2];n=3;e=1;break f}h=h+32|0;e=e-1|0;if(e){continue}break}}e=0}i=j[b+928>>2];h:{if(!i){l=0;break h}l=0;o=j[b+2488>>2];m=0-o|0;h=((i<<5)+b|0)+932|0;while(1){q=j[h-24>>2]-t|0;if((m|0)>(q|0)){break h}if((j[h-20>>2]-o|0)>(t|0)){h=h-32|0;i=i-1|0;if(i){continue}break h}break}if(j[b+2484>>2]<=(q|0)?!v:0){break h}l=j[h-16>>2];e=n}i=a+12|0;n=(s|0)!=0;i:{switch(e-1|0){case 1:j[a+8>>2]=l;if(!s){break a}j[a+12>>2]=(f|0)<64?64:f+32&-64;break a;case 2:j[a+8>>2]=l;j[a+12>>2]=u-l;break a;case 0:break i;default:break c}}j[a+8>>2]=u-f;if(!s){break a}b=(f|0)<64?64:f+32&-64;j[a+12>>2]=b;j[a+8>>2]=u-b;break a}e=j[a+20>>2];if(e){if(!(k[e+16|0]&8)){Fo(e,b,c,d)}g=((j[e+8>>2]-(f>>1)|0)+(j[e+12>>2]>>1)|0)+ye((j[a>>2]-(j[e>>2]+(j[e+4>>2]>>1)|0)|0)+(j[a+4>>2]>>1)|0,r)|0}j[a+12>>2]=f;h=a;e=f;j:{if(!k[d+124|0]){break j}if((f|0)<=64){if((f|0)>=32){g=(f>>>1|0)+g&-64;e=64;break j}b=g+32&-64;if((f|0)<1){g=b;e=f;break j}e=b-g|0;m=e>>31;c=f+g|0;d=c+32&-64;c=d-c|0;g=c>>31;g=(m^e+m)>(g^c+g)?d:b;e=f;break j}b=j[(p(c,204)+b|0)+12>>2];c=f-b|0;d=c>>31;if((d^c+d)<=39){f=b;e=54;if((f|0)<49){break j}}if((f|0)<=191){c=f&63;e=f;if(c>>>0<10){break j}b=f&-64;e=b|10;if(c>>>0<=31){break j}e=f;if(c>>>0>53){break j}e=b|54;break j}e=f+32&-64}b=e;j[h+12>>2]=e;c=g+32|0;e=((c+e&-64)-g|0)-e|0;d=(c&-64)-g|0;c=d>>31;f=c^c+d;c=e>>31;c=((f|0)>(c+e^c)?e:d)+g|0;j[a+8>>2]=c;if(!n){break a}e=(b|0)<64?64:b+32&-64;j[i>>2]=e;d=e>>1;j[a+12>>2]=e;j[a+8>>2]=(e&64?c+d&-64|32:(c+d|0)+32&-64)-d;break a}j[a+12>>2]=f;j[a+8>>2]=g}j[a+16>>2]=j[a+16>>2]|8}}function um(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;l=oe-16|0;oe=l;a:{if(!(j[a>>2]==268305?a:0)){ve(125709,0);break a}b=b?b:j[a+116>>2];o=b&255;m=!b|(b&-268435456)==268435456;if(!(o|!m)){ve(125772,0);break a}if(!(!m|(b>>>24&15)-1>>>0>2)){ve(125795,0);break a}if(!((e|0)>0?(d|0)>=1:0)){ve(125833,0);break a}f=j[a+184>>2];g=j[a+180>>2];b:{if(!(!f|(e|0)<=(f|0)?!((d|0)>(g|0)?g:0):0)){j[l+4>>2]=f;j[l>>2]=g;ve(125863,l);break b}h=Xe(1,88);if(!h){h=0;Be(0);break a}j[h+32>>2]=-1;j[h+16>>2]=e;j[h+12>>2]=d;j[h+8>>2]=c;j[h+4>>2]=b;j[h>>2]=268306;f=0;g=bg(126189);c:{if(!g){break c}if(!Me(g,126214)){break c}if(!Me(g,126222)){f=1;break c}if(!Me(g,126229)){f=2;break c}f=sf(g)}j[h+36>>2]=a;j[h+28>>2]=f;g=j[a+312>>2];j[h+84>>2]=g;if(g){j[g+80>>2]=h}j[a+312>>2]=h;n=j[a+112>>2];d:{e:{f:{g:{if(n){h:{while(1){if(j[((i<<2)+a|0)+116>>2]!=(b|0)){i=i+1|0;if((n|0)!=(i|0)){continue}break h}break}if((qe[j[a+16>>2]](a,h)|0)<=-1){break d}break a}if(m){break g}i=0;while(1){if(j[((i<<2)+a|0)+116>>2]!=(b|0)){i=i+1|0;if((n|0)!=(i|0)){continue}break f}break}f=b;break e}if(!m){break f}}f=b>>>24&15;i:{if(f-4>>>0<=2){f=(b>>>20&15)-3|0;g=0;if(f>>>0>=6){break i}g=j[(f<<2)+126272>>2];break i}g=0;if(f-7>>>0>4){break i}f=b>>>20&15;if(f>>>0<=6){g=1;if(1<>2];if(!((f&-268435456)!=268435456?f:0)){k=f>>>24&15;j:{if(k-4>>>0<=2){q=0;k=(f>>>20&15)-3|0;if(k>>>0>=6){break j}q=j[(k<<2)+126272>>2];break j}q=0;if(k-7>>>0>4){break j}k=(f>>>20&15)-2|0;if(k>>>0>=5){break j}q=j[(k<<2)+126296>>2]}if((g|0)==(q|0)){break e}}i=i+1|0;if((n|0)!=(i|0)){continue}break}}f=j[a+116>>2]}f=um(a,f,c,d,e);j[h+40>>2]=f;if(!f){break d}g=j[h+84>>2];j[f+84>>2]=g;if(g){j[g+80>>2]=f}g=j[f+80>>2];j[h+80>>2]=g;if(g){j[g+84>>2]=h}j[f+80>>2]=h;j[h+84>>2]=f;j[a+312>>2]=h;a=j[h+4>>2];if(!(!a|(a&-268435456)==268435456)){a=VM(b,d,e);j[h+44>>2]=a;if(!a){break d}break a}if((c|0)!=1){break a}k:{if(m){break k}o=2;if((b|0)==844715353|(b|0)==1498831189){break k}o=(b|0)==1431918169?2:1}a=p(d,o)+3&-4;j[h+52>>2]=a;a=Xe(1,p(a,e));j[h+48>>2]=a;if(a){break a}}yh(h)}h=0}oe=l+16|0;return h}function $o(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;f=oe-32|0;oe=f;h=j[a+4>>2];q=j[h+328>>2];j[f+28>>2]=0;s=j[h+136>>2];r=j[h+100>>2];l=j[j[h+128>>2]+48>>2];a:{b:{if(l){c=qe[j[j[l>>2]>>2]](j[l+4>>2],b,f+8|0)|0;j[f+28>>2]=c;if(c){break a}d=j[h+288>>2];if(d&255){c=j[f+8>>2];n=d;while(1){o=k[c|0]|o<<8;c=c+1|0;n=n-1|0;if(n&255){continue}break}}c=j[f+12>>2];c:{if(!c){break c}e=c-d|0;g=He(r,e,f+28|0);if(j[f+28>>2]){break c}Ae(g,j[f+8>>2]+j[h+288>>2]|0,e)}qe[j[j[l>>2]+4>>2]](j[l+4>>2],f+8|0);c=j[f+28>>2];if(!c){break b}break a}d=j[h+292>>2]+j[h+288>>2]|0;c=Fe(q,(j[h+284>>2]+j[h+308>>2]|0)+p(d,b)|0);if(c){break a}c=_e(q,d<<1);j[f+28>>2]=c;if(c){break a}d=j[q+32>>2];i=j[h+288>>2];if(i&255){g=i-1&255;c=d;e=i;while(1){o=k[c|0]|o<<8;c=c+1|0;e=e-1|0;if(e&255){continue}break}d=(d+g|0)+1|0}g=0;e=j[h+292>>2];if(e&255){t=e-1&255;c=d;g=e;while(1){n=k[c|0]|n<<8;c=c+1|0;g=g-1|0;if(g&255){continue}break}c=((d+t|0)+i|0)+1|0;g=0;while(1){g=k[c|0]|g<<8;c=c+1|0;e=e-1|0;if(e&255){continue}break}}Ve(q);c=9;if(m[h+300>>2]<=o>>>0){break a}e=g-n|0;if(!e){c=0;break a}g=He(r,e,f+28|0);c=j[f+28>>2];if(c){break a}c=hq(q,j[h+308>>2]+n|0,g,e);j[f+28>>2]=c;if(c){break a}}d=j[h+316>>2]+(o<<3)|0;j[a+1364>>2]=j[d>>2];d=j[d+4>>2];j[a+1372>>2]=0;j[a+1368>>2]=d;i=j[h+304>>2]+p(o,252)|0;d=j[i+220>>2];j[a+1376>>2]=j[i+216>>2];j[a+1380>>2]=d;d=j[i+228>>2];c=a+1384|0;j[c>>2]=j[i+224>>2];j[c+4>>2]=d;d=j[i+236>>2];j[a+1392>>2]=j[i+232>>2];j[a+1396>>2]=d;d=j[i+4>>2];j[a+1360>>2]=d;if((d|0)>=0){qe[j[s+16>>2]](g,e,4330)}d=(d|0)>-1?d:0;u=f,v=qe[j[a+1484>>2]](a,d+g|0,e-d|0)|0,j[u+28>>2]=v;d=r;if(g){qe[j[d+8>>2]](d,g)}c=j[f+28>>2];if(c|!l){break a}if(!j[j[l>>2]+8>>2]){c=0;break a}e=j[a+32>>2];d=e+32768&-65536;if((e|0)<0){d=0-(32768-e&-65536)|0}j[f+12>>2]=0;j[f+8>>2]=d>>16;d=f;c=j[a+40>>2];e=c+32768&-65536;if((c|0)<0){e=0-(32768-c&-65536)|0}j[d+16>>2]=e>>16;c=j[a+44>>2];e=c+32768&-65536;if((c|0)<0){e=0-(32768-c&-65536)|0}j[d+20>>2]=e>>16;c=qe[j[j[l>>2]+8>>2]](j[l+4>>2],b,0,f+8|0)|0;j[a+32>>2]=j[f+8>>2]<<16;j[a+40>>2]=j[f+16>>2]<<16;j[a+44>>2]=j[f+20>>2]<<16}oe=f+32|0;return c|0}function $H(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=oe-48|0;oe=d;a:{if(!a){f=20;break a}if(!b){f=6;break a}if(i[a>>1]<1){break a}l=j[b+20>>2];m=j[b+16>>2];b:{while(1){p=i[j[a+12>>2]+(q<<1)>>1];if((p|0)<0){f=20;break a}h=j[a+4>>2];e=h+(r<<3)|0;n=j[e+4>>2];g=(j[e>>2]<>2]=g;s=(n<>2]=s;o=h+(p<<3)|0;h=j[o>>2];v=j[o+4>>2];f=j[d+36>>2];j[d+40>>2]=j[d+32>>2];j[d+44>>2]=f;t=j[a+8>>2];n=t+r|0;u=k[n|0]&3;c:{if((u|0)==3){break c}f=20;d:{switch(u-1|0){case 1:break a;case 0:break c;default:break d}}f=(v<>2]=f;j[d+32>>2]=h;o=o-8|0;break e}j[d+36>>2]=(f+s|0)/2;j[d+32>>2]=(h+g|0)/2}n=n-1|0;e=e-8|0}g=qe[j[b>>2]](d+32|0,c)|0;if(g){break b}f:{g:{if(e>>>0>>0){while(1){h=n+1|0;f=e+8|0;h:{i:{j:{switch(k[n+1|0]&3){case 1:j[d+24>>2]=(j[e+8>>2]<>2]=(j[e+12>>2]<>2]](d+24|0,c)|0;if(f){break a}break h;case 0:j[d+40>>2]=(j[e+8>>2]<>2]=(j[e+12>>2]<>>0>>0){while(1){e=k[h+1|0];n=(j[f+8>>2]<>2]=n;g=(j[f+12>>2]<>2]=g;h=h+1|0;f=f+8|0;k:{e=e&3;l:{if(e){if((e|0)!=1){h=7;g=0;break i}g=qe[j[b+8>>2]](d+40|0,d+24|0,c)|0;if(g){break l}e=f;n=h;break h}j[d+16>>2]=(n+j[d+40>>2]|0)/2;j[d+20>>2]=(g+j[d+44>>2]|0)/2;g=qe[j[b+8>>2]](d+40|0,d+16|0,c)|0;if(!g){break k}}h=10;break i}e=j[d+28>>2];j[d+40>>2]=j[d+24>>2];j[d+44>>2]=e;if(f>>>0>>0){continue}break}}g=qe[j[b+8>>2]](d+40|0,d+32|0,c)|0;break g;default:break j}}h=7;g=0;if((k[n+2|0]&3)!=2|e+16>>>0>o>>>0){break i}j[d+24>>2]=(j[e+8>>2]<>2]=(j[e+12>>2]<>2]=(j[e+16>>2]<>2]=(j[e+20>>2]<>>0<=o>>>0){j[d+8>>2]=(j[e+24>>2]<>2]=(j[e+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(g){h=10;break i}n=n+3|0;e=f;break h}g=qe[j[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break g}if(!h){break f}f=20;if((h|0)==7){break a}break b}if(e>>>0>>0){continue}break}}g=qe[j[b+4>>2]](d+32|0,c)|0}if(g){break b}r=p+1|0}q=q+1|0;if((q|0)>1]){continue}break}g=0}f=g}oe=d+48|0;return f|0}function qH(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;c=oe-848|0;oe=c;j[c+556>>2]=0;g=j[a+992>>2];b=-1;a:{if(!g){break a}j[c+560>>2]=12324;b=j[a+328>>2];j[c+568>>2]=12323;j[c+564>>2]=b;b=j[a+332>>2];j[c+576>>2]=12322;j[c+572>>2]=b;j[c+580>>2]=j[a+336>>2];d=j[a+340>>2];b=6;b:{if(!d){break b}j[c+588>>2]=d;j[c+584>>2]=12321;b=8}d=j[a+348>>2];if(d){j[(c+560|0)+(b<<2)>>2]=12320;b=b|1;j[(c+560|0)+(b<<2)>>2]=d;b=b+1|0}f=b<<2;d=f+(c+560|0)|0;j[d>>2]=12325;j[d+4>>2]=j[a+344>>2];d=b+2|0;e=j[a+352>>2];if(e){j[(c+560|0)+(d<<2)>>2]=12326;j[(c+f|0)+572>>2]=e;d=b+4|0}e=j[a+380>>2];if(e){b=(c+560|0)+(d<<2)|0;j[b>>2]=12338;j[b+4>>2]=e;d=d+2|0}e=j[a+384>>2];if(e){b=(c+560|0)+(d<<2)|0;j[b>>2]=12337;j[b+4>>2]=e;d=d+2|0}j[(c+560|0)+(d<<2)>>2]=12352;e=d+1|0;c:{if(j[a+404>>2]==4){b=j[a+392>>2];d:{if((b|0)>=3){if(Uj(a,152767)){j[(c+560|0)+(e<<2)>>2]=64;break d}b=j[a+392>>2]}e=(c+560|0)+(e<<2)|0;if((b|0)>=2){j[e>>2]=4;break d}j[e>>2]=1}qe[j[j[a+992>>2]+112>>2]](12448)|0;break c}j[(c+560|0)+(e<<2)>>2]=8;qe[j[g+112>>2]](12450)|0}b=d+2|0;e=c+560|0;f=j[a+992>>2];if(j[f+20>>2]){j[(c+560|0)+(b<<2)>>2]=12339;j[((d<<2)+c|0)+572>>2]=j[f+20>>2];b=d+4|0}j[(b<<2)+e>>2]=12344;e:{if(!(qe[j[f+60>>2]](j[f+8>>2],c+560|0,c+32|0,128,c+556|0)|0)){break e}b=j[c+556>>2];if(!b){break e}f:{if((b|0)<1){break f}f=-1;while(1){b=j[a+992>>2];g:{if(j[b+32>>2]){qe[j[b+100>>2]](j[b+8>>2],j[(c+32|0)+(h<<2)>>2],12334,c+28|0)|0;if(j[j[a+992>>2]+32>>2]!=j[c+28>>2]){break g}}l=(c+32|0)+(h<<2)|0;d=0;b=0;while(1){e=b;b=b<<2;i=j[b+(c+560|0)>>2];if((i|0)!=12344){h:{if(i-12321>>>0>5){break h}g=(c+560|0)+(b|4)|0;if(j[g>>2]==-1){break h}b=j[a+992>>2];qe[j[b+100>>2]](j[b+8>>2],j[l>>2],i,c+816|0)|0;d=(j[c+816>>2]+d|0)-j[g>>2]|0}b=e+2|0;if(e>>>0<61){continue}}break}if(!((d|0)>=(f|0)?(f|0)!=-1:0)){j[j[a+992>>2]+12>>2]=j[l>>2];f=d}if(!d){break f}}h=h+1|0;if((h|0)>2]){continue}break}}b=0;break a}d=153556;b=c;e=qe[j[j[a+992>>2]+116>>2]]()|0;a=e-12288|0;if(a>>>0<=14){d=j[(a<<2)+153560>>2]}if(!k[d|0]){j[c+16>>2]=e;Ue(c+816|0,32,152611,c+16|0);d=c+816|0}j[b+8>>2]=d;j[c+4>>2]=152665;j[c>>2]=152790;b=ve(152616,c)}oe=c+848|0;return b}function Zx(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var n=0,o=0,q=0,r=0;n=oe-48|0;oe=n;o=2;a:{b:{c:{switch(j[a+732>>2]-1|0){case 0:case 1:e=j[a+104>>2];d:{if(!(qe[j[a+508>>2]](a,1128416340,e,n+44|0)|0)){break d}if(!(qe[j[a+508>>2]](a,1161970772,e,n+44|0)|0)){break d}o=qe[j[a+508>>2]](a,1650745716,e,n+44|0)|0;if(o){break a}}j[n+4>>2]=e;j[n>>2]=a;o=j[a+84>>2];i[n+16>>1]=0;j[n+12>>2]=g;j[n+8>>2]=o+76;j[n+20>>2]=j[e+8>>2];j[n+24>>2]=j[n+44>>2];g=j[a+724>>2];j[n+36>>2]=g;e=j[a+728>>2];j[n+40>>2]=e+g;o=3;b=p(b,48);if(e>>>0>>0){break a}b=b+g|0;g=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);q=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);j[n+28>>2]=q;g=k[b+16|0]|k[b+17|0]<<8|(k[b+18|0]<<16|k[b+19|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);j[n+32>>2]=g;h[n+18|0]=k[b+54|0];if(e>>>0>>0|g>>>0>e-q>>>3>>>0){break a}o=co(n,c,0,0);if(o){break a}if(!(d&1048576)){break b}o=0;break a;case 2:break c;default:break a}}i[g>>1]=0;i[g+2>>1]=0;b=j[a+724>>2]+(b<<2)|0;b=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);o=qe[j[a+508>>2]](a,1935829368,e,n)|0;if(o){break a}d=j[e+8>>2];if(m[a+16>>2]>>0){o=6;break a}f=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);g=f+d|0;q=g+4|0;d=0;while(1){b=j[n>>2];if(b>>>0<=f>>>0){o=3;break a}c=c<<2;if(c+12>>>0>b-f>>>0){o=3;break a}o=Fe(e,c+q|0);if(o){break a}o=_e(e,8);if(o){break a}b=Ef(e);c=Ef(e);Ve(e);if((b|0)==(c|0)){o=6;break a}if(b>>>0>c>>>0){o=3;break a}r=c-b|0;if(r>>>0<8){o=3;break a}o=3;if(c>>>0>j[n>>2]-f>>>0){break a}o=Fe(e,b+g|0);if(o){break a}o=_e(e,r);if(o){break a}af(e);af(e);b=Ef(e);if((b|0)!=1685418085){e:{if(!((b|0)==1785751328|(b|0)==1919378028)){o=7;if((b|0)!=1953064550){break e}}o=2}Ve(e);break a}if((d|0)==4){o=3;Ve(e);break a}c=af(e);Ve(e);d=d+1|0;if(m[a+16>>2]>=c>>>0){continue}break}o=6;break a}o=0;if(k[f+18|0]!=7){break a}b=j[j[a+84>>2]>>2];if(n){j[n>>2]=0;j[n+4>>2]=0;j[n+16>>2]=0;j[n+20>>2]=0;j[n+8>>2]=0;j[n+12>>2]=0}o=eB(b,f,n);if(o){Oo(b,n);break a}h[f+18|0]=k[n+18|0];j[f+8>>2]=j[n+8>>2];i[f+16>>1]=l[n+16>>1];gs(j[a+84>>2],j[n+12>>2]);a=j[j[a+84>>2]+156>>2];j[a+4>>2]=j[a+4>>2]|1}oe=n+48|0;return o|0}function YC(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;c=oe-48|0;oe=c;d=20;a:{if(!b){break a}if(!a){d=6;break a}d=0;j[a+64>>2]=0;h[a+124|0]=0;j[a+116>>2]=-1;j[a+96>>2]=0;h[a+92|0]=0;j[a+84>>2]=-1;if(i[b>>1]<1){break a}b:{while(1){o=i[j[b+12>>2]+(p<<1)>>1];c:{d:{if(q>>>0>=o>>>0){break d}g=j[b+4>>2];m=o<<3;n=g+m|0;e=g+(q<<3)|0;d=j[e+4>>2];f=j[e>>2];l=d;j[c+32>>2]=f;j[c+36>>2]=d;g=g+m|0;m=j[g+4>>2];r=j[g>>2];j[c+40>>2]=f;j[c+44>>2]=d;s=j[b+8>>2];g=s+q|0;t=k[g|0]&3;e:{if((t|0)==3){break e}d=20;f:{switch(t-1|0){case 1:break a;case 0:break e;default:break f}}g:{if((k[o+s|0]&3)==1){j[c+36>>2]=m;j[c+32>>2]=r;n=n-8|0;break g}j[c+36>>2]=(l+m|0)/2;j[c+32>>2]=(f+r|0)/2}g=g-1|0;e=e-8|0}h[a+20|0]=1;d=j[c+32>>2];l=j[c+36>>2];f=l;h[a+21|0]=0;j[a+8>>2]=d;j[a+12>>2]=f;l=j[a+48>>2];m=(l|0)!=0;h:{if(l){break h}}j[a+28>>2]=d;j[a+32>>2]=f;h[a+40|0]=m;j[a>>2]=0;i:{if(e>>>0>=n>>>0){break i}while(1){l=g+1|0;d=e+8|0;j:{k:{l:{m:{switch(k[g+1|0]&3){case 1:j[c+24>>2]=j[e+8>>2];j[c+28>>2]=j[e+12>>2];e=d;g=l;d=vp(a,c+24|0);if(d){break a}break j;case 0:j[c+40>>2]=j[e+8>>2];j[c+44>>2]=j[e+12>>2];if(d>>>0>>0){while(1){f=k[l+1|0];m=j[d+12>>2];g=m;e=j[d+8>>2];j[c+24>>2]=e;j[c+28>>2]=g;l=l+1|0;d=d+8|0;n:{f=f&3;o:{if(f){if((f|0)!=1){l=5;f=0;break k}f=Al(a,c+40|0,c+24|0);if(f){break o}e=d;g=l;break j}j[c+16>>2]=(e+j[c+40>>2]|0)/2;j[c+20>>2]=(g+j[c+44>>2]|0)/2;f=Al(a,c+40|0,c+16|0);if(!f){break n}}l=6;break k}e=j[c+28>>2];j[c+40>>2]=j[c+24>>2];j[c+44>>2]=e;if(d>>>0>>0){continue}break}}f=Al(a,c+40|0,c+32|0);break l;default:break m}}l=5;f=0;if((k[g+2|0]&3)!=2|e+16>>>0>n>>>0){break k}d=j[e+12>>2];j[c+24>>2]=j[e+8>>2];j[c+28>>2]=d;d=j[e+20>>2];j[c+16>>2]=j[e+16>>2];j[c+20>>2]=d;e=e+24|0;if(n>>>0>=e>>>0){d=j[e+4>>2];j[c+8>>2]=j[e>>2];j[c+12>>2]=d;f=up(a,c+24|0,c+16|0,c+8|0);if(f){l=6;break k}g=g+3|0;break j}f=up(a,c+24|0,c+16|0,c+32|0)}if(f){break b}break i}d=20;switch(l|0){case 5:break a;case 0:case 4:break c;default:break b}}if(e>>>0>>0){continue}break}}if(k[a+20|0]){break d}f=ZC(a);if(f){break b}}q=o+1|0}p=p+1|0;if((p|0)>1]){continue}break}f=0}d=f}oe=c+48|0;return d}function Xq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;h=oe-32|0;oe=h;a:{if(!(c?a:0)){d=ve(150121,0);break a}if(!(j[c+28>>2]?0:!j[a+28>>2])){d=ve(150081,0);break a}q=j[(b?b+12|0:a+12|0)>>2];u=j[(d?d+12|0:c+12|0)>>2];e=j[(d?d+8|0:c+8|0)>>2];i=j[(b?b+8|0:a+8|0)>>2];if(!((q|0)!=(u|0)|(e|0)!=(i|0))){d=uh(a,b,c,d);break a}g=+(q|0);m=+(u|0);l=+(i|0);s=+(e|0);b:{if(!d){f=+(u-1|0);k=+(e-1|0);break b}n=+j[d+4>>2];f=m+n+ -1;o=+j[d>>2];k=s+o+ -1}t=m/g;s=s/l;c:{if(!b){m=+(q-1|0);l=+(i-1|0);break c}e=j[b>>2];i=(e|0)<0;p=+(e|0);w=o-s*p;m=g;b=j[b+4>>2];g=+(b|0);m=m+g+ -1;l=l+p+ -1;q=j[a+8>>2];p=+(q|0);if(!(l>=p^1)){k=k-s*(l-p+1);l=+(q-1|0)}o=i?w:o;y=+(((e|0)>0?e:0)|0);n=(b|0)<0?n-t*g:n;z=+(((b|0)>0?b:0)|0);b=j[a+12>>2];g=+(b|0);if(g<=m^1){break c}f=f-t*(m-g+1);m=+(b-1|0)}x=+j[c+36>>2];p=k-x;w=+j[c+40>>2];k=0;g=o-x;d:{if(g<0^1){k=g;break d}y=y-g/s}b=j[c+44>>2];g=+(b|0);if(!(g<=p^1)){l=l-(p-g+1)/s;p=+(b-1|0)}o=f-w;g=0;f=n-w;e:{if(f<0^1){g=f;break e}z=z-f/t}b=j[c+48>>2];f=+(b|0);if(!(f<=o^1)){m=m-(o-f+1)/t;o=+(b-1|0)}b=h;f=y+.5;n=v(f);f:{if(r(n)<2147483648){e=~~n;break f}e=-2147483648}j[b+16>>2]=e;b=h;n=z+.5;t=v(n);g:{if(r(t)<2147483648){e=~~t;break g}e=-2147483648}j[b+20>>2]=e;e=h;l=v(l+1+.5);h:{if(r(l)<2147483648){b=~~l;break h}b=-2147483648}f=v(f);i:{if(r(f)<2147483648){i=~~f;break i}i=-2147483648}q=b-i|0;j[e+24>>2]=q;e=h;f=v(m+1+.5);j:{if(r(f)<2147483648){b=~~f;break j}b=-2147483648}f=v(n);k:{if(r(f)<2147483648){i=~~f;break k}i=-2147483648}u=b-i|0;j[e+28>>2]=u;b=h;k=k+x;f=v(k+.5);l:{if(r(f)<2147483648){e=~~f;break l}e=-2147483648}j[b>>2]=e;b=h;g=g+w;f=v(g+.5);m:{if(r(f)<2147483648){e=~~f;break m}e=-2147483648}j[b+4>>2]=e;e=h;k=v(p+x-k+1.5);n:{if(r(k)<2147483648){b=~~k;break n}b=-2147483648}j[e+8>>2]=b;i=h;k=v(o+w-g+1.5);o:{if(r(k)<2147483648){e=~~k;break o}e=-2147483648}j[i+12>>2]=e;if((b|0)<=-1){j[h+8>>2]=0;b=0}if((e|0)<=-1){j[h+12>>2]=0;e=0}if(d){i=j[h+4>>2];j[d>>2]=j[h>>2];j[d+4>>2]=i;i=j[h+12>>2];j[d+8>>2]=j[h+8>>2];j[d+12>>2]=i}d=0;if(!b|!e|((q|0)<1|(u|0)<1)){break a}d=WH(a,h+16|0,c,h)}oe=h+32|0;return d}function dk(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=287310080;a:{b:{c:{d:{e:{f:{g:{switch(a-1|0){case 3:return 304088064;case 7:if(!b){return 318769153}if((b|0)!=224|(c|0)!=28|(d|0)!=3){break b}f=336660481;if(e){break b}break a;case 11:f=353504258;if(!b){break a}if((b|0)!=3840|(c|0)!=240|(e|(d|0)!=15)){break b}break a;case 14:if(b){break f}return 353570562;case 0:break a;case 31:break d;case 23:break e;case 15:break g;default:break b}}if(b){break f}return 353701890}a=(c|0)==992;g=a&(b|0)==31744&(d|0)==31;if(g){f=353570562;if(!e){break a}}a=a&(b|0)==31&(d|0)==31744;if(a){f=357764866;if(!e){break a}}if(!((b|0)!=3840|(c|0)!=240|(d|0)!=15)){f=355602434;if((e|0)==61440){break a}}if(!((b|0)!=61440|(c|0)!=3840|(d|0)!=240)){f=356651010;if((e|0)==15){break a}}if(!((b|0)!=15|(c|0)!=240|(d|0)!=3840)){f=359796738;if((e|0)==61440){break a}}if(!((b|0)!=240|(c|0)!=3840|(d|0)!=61440)){f=360845314;if((e|0)==15){break a}}f=355667970;if(g&(e|0)==32768){break a}if(!((b|0)!=63488|(c|0)!=1984|(d|0)!=62)){f=356782082;if((e|0)==1){break a}}f=359862274;if(a&(e|0)==32768){break a}if(!((b|0)!=62|(c|0)!=1984|(d|0)!=63488)){f=360976386;if((e|0)==1){break a}}f=353701890;if(!((b|0)!=63488|(c|0)!=2016|(d|0)!=31)){if(!e){break a}}if(!((b|0)!=31|(c|0)!=2016|(d|0)!=63488)){f=357896194;if(!e){break a}}if((b|0)!=63|(c|0)!=1984|(d|0)!=63488){break b}f=353701890;if(e){break b}break a}f=390076419;if(!b|(b|0)==16711680){break a}if((b|0)!=255){break c}return 386930691}if(b){break c}return 370546692}a=(b|0)==16711680&(c|0)==65280&(d|0)==255;if(a){f=370546692;if(!e){break a}}g=(b|0)==-16777216&(c|0)==16711680&(d|0)==65280;if(g){f=371595268;if(!e){break a}}h=(b|0)==255&(c|0)==65280&(d|0)==16711680;if(h){f=374740996;if(!e){break a}}i=(b|0)==65280&(c|0)==16711680&(d|0)==-16777216;if(i){f=375789572;if(!e){break a}}f=372645892;if(a&(e|0)==-16777216){break a}f=373694468;if(g&(e|0)==255){break a}f=376840196;if((e|0)==-16777216&h){break a}f=377888772;if((e|0)==255&i){break a}if((b|0)!=1072693248|(c|0)!=1047552|(d|0)!=1023){break b}f=372711428;if((e|0)==-1073741824){break a}}f=0}return f}function QK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;d=j[a+56>>2];l=j[a+36>>2];b=j[a+20>>2];m=j[a+16>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{f=j[a+48>>2];if(f){if(!g){break a}n=e&7;i=(e+7|0)/8|0;b:while(1){e=i;c:{d:{switch(n-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=1;continue;case 1:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=2;continue;case 2:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=3;continue;case 3:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=4;continue;case 4:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=5;continue;case 5:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=6;continue;case 6:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=7;continue;default:break e}}a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}a=g-1|0;c=c+1|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+l|0;c=c+m|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}f=e&7;i=(e+7|0)/8|0;g:while(1){e=i;h:{i:{switch(f-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=1;continue;case 1:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=2;continue;case 2:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=3;continue;case 3:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=4;continue;case 4:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=5;continue;case 5:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=6;continue;case 6:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=7;continue;default:break j}}a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}a=g-1|0;c=c+1|0;b=b+1|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+l|0;c=c+m|0;g=a;if(a){continue g}break a}a=0;continue}}}}function yw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;f=oe-16|0;oe=f;j[f+4>>2]=0;u=j[a+100>>2];g=u;q=j[a+676>>2];a:{if(!q){d=Rk(a,0);j[f+4>>2]=d;if(d){break a}q=j[a+676>>2]}t=j[q+8>>2];d=j[t>>2];s=xe(g,4,0,d,0,f+4|0);if(j[f+4>>2]){break a}e=b>>>0>d>>>0?d:b;if(e){b=j[t+12>>2];while(1){b:{d=o<<2;m=j[d+c>>2];p=j[b+12>>2];if((m|0)<=(p|0)){g=j[b+4>>2];if((g|0)<=(m|0)){break b}}j[f+4>>2]=6;break a}r=d+s|0;n=j[b+8>>2];c:{if((n|0)>(m|0)){d=0-De(m-n|0,g-n|0)|0;break c}d=0;if((n|0)==(p|0)){break c}d=De(m-n|0,p-n|0)}j[r>>2]=d;b=b+24|0;o=o+1|0;if((e|0)!=(o|0)){continue}break}}c=j[t>>2];if(c>>>0>e>>>0){b=e+1|0;Ee((e<<2)+s|0,0,(b>>>0>>0?c:b)-e<<2)}d:{if(k[q+16|0]){break d}e=j[a+104>>2];m=j[e+28>>2];n=j[a+676>>2];j[f+12>>2]=0;h[n+16|0]=1;b=qe[j[a+508>>2]](a,1635148146,e,f+8|0)|0;j[f+12>>2]=b;if(b){break d}b=_e(e,j[f+8>>2]);j[f+12>>2]=b;if(b){break d}b=Ef(e);o=Ef(e);e:{if((b|0)!=65536|(o|0)!=j[j[n+8>>2]>>2]){break e}b=xe(m,8,0,o,0,f+12|0);j[n+20>>2]=b;if(j[f+12>>2]|(o|0)<1){break e}c=0;while(1){f:{d=af(e);i[b>>1]=d;v=b,w=xe(m,8,0,d,0,f+12|0),j[v+4>>2]=w;if(j[f+12>>2]){break f}p=0;if(l[b>>1]){while(1){d=af(e);g=p<<3;j[g+j[b+4>>2]>>2]=d<<16>>16<<2;d=af(e);j[(g+j[b+4>>2]|0)+4>>2]=d<<16>>16<<2;p=p+1|0;if(p>>>0>1]){continue}break}}b=b+8|0;c=c+1|0;if((o|0)!=(c|0)){continue}break e}break}g:{if(!c){b=j[n+20>>2];break g}b=j[n+20>>2];while(1){d=c-1|0;g=d<<3;b=j[(g+b|0)+4>>2];if(b){qe[j[m+8>>2]](m,b)}b=j[n+20>>2];j[(g+b|0)+4>>2]=0;g=(c|0)>1;c=d;if(g){continue}break}}if(b){qe[j[m+8>>2]](m,b)}j[n+20>>2]=0}Ve(e)}r=j[t>>2];c=j[q+20>>2];h:{if(!c){break h}e=0;if(!r){r=0;break h}while(1){m=l[c>>1];i:{if(m>>>0<2){break i}g=(e<<2)+s|0;n=j[g>>2];q=j[c+4>>2];b=1;while(1){d=b<<3;o=d+q|0;p=j[o>>2];if((n|0)<(p|0)){m=g;g=d-8|0;d=g+q|0;b=j[d>>2];v=m,w=Ne(n-b|0,j[o+4>>2]-j[d+4>>2]|0,p-b|0)+j[(g+j[c+4>>2]|0)+4>>2]|0,j[v>>2]=w;r=j[t>>2];break i}b=b+1|0;if(m>>>0>b>>>0){continue}break}}c=c+8|0;e=e+1|0;if(e>>>0>>0){continue}break}}v=f,w=Wn(a,r,s),j[v+4>>2]=w}if(s){qe[j[u+8>>2]](u,s)}oe=f+16|0;return j[f+4>>2]}function lq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;e=oe-48|0;oe=e;h=a+120|0;g=a+592|0;f=a+480|0;a:{while(1){b:{c:{d:{e:{b=j[a+88>>2];switch(b-3|0){case 1:break d;case 0:break e;default:break c}}c=j[a+72>>2];f:{if(j[a+4>>2]){if(!ui(f,c+(j[a+96>>2]<<5)|0)){break f}break b}if(ui(f,c)){break b}}Vl(f,g);j[a+88>>2]=4;j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0}l=j[j[j[a+72>>2]+28>>2]+3656>>2];i=-3;b=ng(h,e);if((b|0)==-1){break a}while(1){if((b|0)>=1){c=j[e+16>>2];d=j[e+20>>2];if(!NE(g,e)){i=-129;if(_i(f,0)){break a}rq(f,g);b=_i(f,0);o[a+112>>3]=o[a+112>>3]+ +(b<>3]=o[a+104>>3]+ +(j[e+4>>2]<<3);i=1;if(j[e+12>>2]|(c|0)==-1&(d|0)==-1){break a}g:{if(!j[a+4>>2]){h=0;break g}h=j[a+96>>2];if((h|0)<1){break g}b=c;g=j[a+68>>2]+(h<<4)|0;m=j[g>>2];c=b-m|0;d=d-(j[g+4>>2]+(b>>>0>>0)|0)|0}b=(d|0)>0?1:(d|0)>=0?!!c:0;g=b?c:0;f=_i(f,0)<>31)+(g>>>0>>0)|0)|0;if((h|0)>=1){g=j[a+68>>2];b=0;while(1){l=g+(b<<4|8)|0;f=c+j[l>>2]|0;d=j[l+4>>2]+d|0;d=c>>>0>f>>>0?d+1|0:d;c=f;b=b+1|0;if((h|0)!=(b|0)){continue}break}}j[a+80>>2]=c;j[a+84>>2]=d;break a}b=ng(h,e);if((b|0)!=-1){continue}break a}break}b=j[a+88>>2]}h:{i:{j:{if((b|0)>=2){k:{l:{while(1){i=-2;Pf(a,e+32|0,-1,-1);if((pe|0)<0){break a}o[a+104>>3]=o[a+104>>3]+ +(j[e+36>>2]<<3);b=j[a+88>>2];if((b|0)!=4){break k}c=j[e+32>>2];if(j[a+92>>2]==(k[c+14|0]|k[c+15|0]<<8|(k[c+16|0]<<16|k[c+17|0]<<24))){break l}if(!(k[j[e+32>>2]+5|0]&2)){continue}break}xg(f);_g(g);j[a+88>>2]=2;if(j[a+4>>2]){break j}Yi(j[a+72>>2]);Zi(j[a+76>>2])}b=j[a+88>>2];if((b|0)==4){break h}}if((b|0)>2){break h}}if(!j[a+4>>2]){break i}}c=j[e+32>>2];c=k[c+14|0]|k[c+15|0]<<8|(k[c+16|0]<<16|k[c+17|0]<<24);d=j[a+52>>2];m:{if((d|0)<1){b=0;break m}i=j[a+64>>2];b=0;while(1){if((c|0)==j[(b<<2)+i>>2]){break m}b=b+1|0;if((d|0)>(b|0)){continue}break}}if((b|0)==(d|0)){continue}j[a+96>>2]=b;j[a+92>>2]=c;qh(h,c);j[a+88>>2]=3;break h}i=Sl(a,j[a+72>>2],j[a+76>>2],0,0,e+32|0);if(i){break a}j[a+92>>2]=j[a+456>>2];j[a+96>>2]=j[a+96>>2]+1}Pg(h,e+32|0);continue}break}i=-137}oe=e+48|0;return i}function Ej(a,b,c,d,e,f){var g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=oe+ -64|0;oe=h;g=j[b>>2];j[h>>2]=g;j[h+4>>2]=j[c>>2];p=k[e+9|0];q=p?10:9;m=a+8|0;while(1){r=(n<<2)+h|0;j[r+8>>2]=g;if(k[e+n|0]){a:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){o=0;l=j[a+4>>2];if(!l|j[l>>2]){break a}j[l>>2]=130;g=j[r+8>>2];break a}b:{c:{d:{l=(i<<3)+a|0;switch(j[l+12>>2]-1|0){case 0:break c;case 1:break d;default:break b}}o=j[l+8>>2]<<16;break a}l=j[l+8>>2];if((l|0)<=-1){o=0-(8192-l>>14)|0;break a}o=l- -8192>>14;break a}o=j[l+8>>2]}j[r+8>>2]=g+o;i=i+1|0}n=n+1|0;if((q|0)!=(n|0)){g=j[(n<<2)+h>>2];continue}break}if(!p){j[h+44>>2]=j[c>>2]}q=h;e:{f:{if(f){e=j[h+44>>2]-j[c>>2]|0;f=e>>31;f=f^e+f;e=j[h+40>>2]-j[b>>2]|0;g=e>>31;e=g^e+g;g:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){i=0;g=j[a+4>>2];if(!g|j[g>>2]){break g}j[g>>2]=130;break g}h:{i:{j:{g=(i<<3)+a|0;switch(j[g+12>>2]-1|0){case 0:break i;case 1:break j;default:break h}}i=j[g+8>>2]<<16;break g}g=j[g+8>>2];if((g|0)<=-1){i=0-(8192-g>>14)|0;break g}i=g- -8192>>14;break g}i=j[g+8>>2]}if((e|0)>(f|0)){g=j[h+40>>2]+i|0;j[h+48>>2]=g;break f}g=j[b>>2];j[h+48>>2]=g;e=j[h+44>>2]+i|0;break e}f=h;k:{if(k[e+10|0]){p=j[h+40>>2];l:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){g=0;l=j[a+4>>2];if(!l|j[l>>2]){break l}j[l>>2]=130;break l}m:{n:{o:{g=(i<<3)+a|0;switch(j[g+12>>2]-1|0){case 0:break n;case 1:break o;default:break m}}g=j[g+8>>2]<<16;break l}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break l}g=g- -8192>>14;break l}g=j[g+8>>2]}i=i+1|0;g=g+p|0;break k}g=j[b>>2]}j[f+48>>2]=g;if(!k[e+11|0]){break f}e=j[h+44>>2];p:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){i=0;f=j[a+4>>2];if(!f|j[f>>2]){break p}j[f>>2]=130;g=j[h+48>>2];break p}q:{r:{s:{f=(i<<3)+a|0;switch(j[f+12>>2]-1|0){case 0:break r;case 1:break s;default:break q}}i=j[f+8>>2]<<16;break p}f=j[f+8>>2];if((f|0)<=-1){i=0-(8192-f>>14)|0;break p}i=f- -8192>>14;break p}i=j[f+8>>2]}e=e+i|0;break e}e=j[c>>2]}j[q+52>>2]=e;Eh(d,j[h+8>>2],j[h+12>>2],j[h+16>>2],j[h+20>>2],j[h+24>>2],j[h+28>>2]);Eh(d,j[h+32>>2],j[h+36>>2],j[h+40>>2],j[h+44>>2],g,e);j[a+392>>2]=m;j[b>>2]=g;j[c>>2]=e;oe=h- -64|0}function Oq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=oe-48|0;oe=f;a:{b:{g=b&2;if(!g){break b}c=j[67085];if(j[c+180>>2]){break b}j[f+32>>2]=j[c>>2];c=ve(150579,f+32|0);break a}d=j[a+48>>2];Qq(a);c=j[a+108>>2];if(c){j[c>>2]=j[c>>2]&-5;lf(c);j[a+108>>2]=0;j[a+112>>2]=0}c=j[67085];e=j[c+144>>2];if(e){qe[e|0](c,a);c=j[67085]}h=d&2048;c:{if(h){break c}d=j[c+132>>2];if(!d){break c}qe[d|0](c,a)}d:{e:{if((g|0)!=(j[a+48>>2]&2)){c=j[67085];if(g){f:{if(!c){e=ve(151717,0);break f}g:{d=j[c+432>>2];if(!d){d=j[c+168>>2];if(!d){j[f+16>>2]=j[c>>2];e=ve(151032,f+16|0);break f}e=qe[d|0](c,0)|0;c=j[67085];if(e){break g}d=j[c+432>>2]}break e}d=j[c+176>>2];if(!d){break f}qe[d|0](c)}d=0;if((e|0)>=0){break d}c=-1;break a}if(!c){ve(151717,0);d=1;break d}d=1;e=j[c+432>>2];if((e|0)<1){break d}j[c+432>>2]=e-1;if((e|0)!=1){break d}e=j[c+176>>2];if(!e){break d}qe[e|0](c);break d}d=1;if(!g){break d}c=j[67085];h:{if(!c){ve(151717,0);break h}d=j[c+432>>2];if((d|0)<1){break h}j[c+432>>2]=d-1;if((d|0)!=1){break h}d=j[c+176>>2];if(!d){break h}qe[d|0](c)}c=j[67085];i:{if(!c){e=ve(151717,0);break i}j:{d=j[c+432>>2];if(!d){d=j[c+168>>2];if(!d){j[f>>2]=j[c>>2];e=ve(151032,f);break i}e=qe[d|0](c,0)|0;c=j[67085];if(e){break j}d=j[c+432>>2]}break e}d=j[c+176>>2];if(!d){break i}qe[d|0](c)}d=0;if((e|0)>=0){break d}c=-1;break a}j[c+432>>2]=d+1;d=0}c=j[a+48>>2]&268435456;if((c|0)!=(b&268435456)){ve(150871,0);c=-1;break a}if(!(!g|!c)){ve(150797,0);c=-1;break a}j[a+120>>2]=0;c=b&269459570|8;j[a+52>>2]=c;j[a+48>>2]=c;k:{if(h){break k}e=j[67085];g=j[e+36>>2];if(!g){break k}c=-1;if((qe[g|0](e,a)|0)>-1){break k}if(d){break a}b=j[67085];l:{if(!b){ve(151717,0);break l}d=j[b+432>>2];if((d|0)<1){break l}j[b+432>>2]=d-1;if((d|0)!=1){break l}d=j[b+176>>2];if(!d){break l}qe[d|0](b)}j[a+48>>2]=j[a+48>>2]&-3;break a}if(h){j[a+48>>2]=j[a+48>>2]|2048}c=j[67085];d=j[c+44>>2];if(!(!d|!j[a+8>>2])){qe[d|0](c,a);c=j[67085]}d=j[c+48>>2];m:{if(!d){break m}e=j[a+12>>2];if(!e){break m}qe[d|0](c,a,e)}if(j[a+132>>2]){qe[j[j[67085]+284>>2]](a,1)|0}Sq(a,b&-2049|h);c=0}oe=f+48|0;return c}function il(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;a:{if(j[a+204>>2]==(d|0)?j[a+200>>2]==(b|0):0){break a}j[a+200>>2]=b;j[a+204>>2]=d;d=j[a+4>>2];if(!d){break a}i=ye(j[a+8>>2],b);j[a+12>>2]=i;j[a+16>>2]=i+32&-64;f=d-1|0;if(!f){break a}d=a+20|0;while(1){k=ye(j[d>>2],b);l=j[a+12>>2];g=k-l|0;i=g>>31;i=(i^i+g)<128?l:k;j[d+4>>2]=i;j[d+8>>2]=i+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}b:{if(j[a+408>>2]==(e|0)?j[a+404>>2]==(c|0):0){break b}j[a+404>>2]=c;j[a+408>>2]=e;b=j[a+208>>2];c:{if(!b){break c}d=ye(j[a+212>>2],c);j[a+216>>2]=d;j[a+220>>2]=d+32&-64;f=b-1|0;if(!f){break c}d=a+224|0;while(1){i=ye(j[d>>2],c);k=j[a+216>>2];l=i-k|0;b=l>>31;b=(b^b+l)<128?k:i;j[d+4>>2]=b;j[d+8>>2]=b+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}h[a+2492|0]=(c|0)<=34359737?(p(c,125)|0)>2]<<3:0;d=j[a+2480>>2];d:{if((d|0)<1){break d}while(1){if((ye(d,c)|0)<33){break d}b=(d|0)>1;d=d-1|0;if(b){continue}break}d=0}b=a+412|0;j[a+2484>>2]=d;i=a+1960|0;k=a+928|0;l=a+1444|0;f=0;while(1){d=b;e:{f:{switch(f|0){case 1:d=k;break e;case 2:d=l;break e;case 0:break e;default:break f}}d=i}g=j[d>>2];if(g){d=d+4|0;while(1){o=d,q=ye(j[d+8>>2],c)+e|0,j[o+28>>2]=q;o=d,q=ye(j[d+12>>2],c)+e|0,j[o+24>>2]=q;o=d,q=ye(j[d>>2],c)+e|0,j[o+16>>2]=q;o=d,q=ye(j[d+4>>2],c),j[o+20>>2]=q;j[d+16>>2]=j[d+16>>2]+32&-64;d=d+32|0;g=g-1|0;if(g){continue}break}}f=f+1|0;if((f|0)!=4){continue}break}g=j[b>>2];if(g){b=a+1448|0;f=a+416|0;while(1){e=j[l>>2];g:{if(!e){break g}d=b;while(1){m=j[f>>2]-j[d>>2]|0;n=m>>31;if((ye(n^n+m,c)|0)<=63){j[f+28>>2]=j[d+28>>2];j[f+24>>2]=j[d+24>>2];j[f+16>>2]=j[d+16>>2];j[f+20>>2]=j[d+20>>2];break g}d=d+32|0;e=e-1|0;if(e){continue}break}}f=f+32|0;g=g-1|0;if(g){continue}break}}g=j[k>>2];if(!g){break b}b=a+1964|0;f=a+932|0;while(1){e=j[i>>2];h:{if(!e){break h}d=b;while(1){k=j[f>>2]-j[d>>2]|0;a=k>>31;if((ye(a^a+k,c)|0)>=64){d=d+32|0;e=e-1|0;if(e){continue}break h}break}j[f+28>>2]=j[d+28>>2];j[f+24>>2]=j[d+24>>2];j[f+16>>2]=j[d+16>>2];j[f+20>>2]=j[d+20>>2]}f=f+32|0;g=g-1|0;if(g){continue}break}}}function Ug(a){var b=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{if((a|0)<=370546691){if((a|0)<=355602433){if((a|0)<=318769152){if((a|0)<=303039487){b=148376;if((a|0)==286261504){break a}if((a|0)!=287310080){break b}return 148402}if((a|0)==303039488){break w}if((a|0)!=304088064){break b}return 148454}if((a|0)<=353504257){if((a|0)==318769153){break v}if((a|0)!=336660481){break b}return 148503}if((a|0)==353504258){break u}if((a|0)==353570562){break t}if((a|0)!=353701890){break b}return 148795}if((a|0)<=357896193){if((a|0)<=356651009){if((a|0)==355602434){break s}if((a|0)!=355667970){break b}return 148695}if((a|0)==356651010){break r}if((a|0)==356782082){break p}if((a|0)!=357764866){break b}return 148572}if((a|0)<=359862273){if((a|0)==357896194){break n}if((a|0)!=359796738){break b}return 148645}if((a|0)==359862274){break o}if((a|0)==360845314){break q}if((a|0)!=360976386){break b}return 148770}if((a|0)<=386930690){if((a|0)<=373694467){if((a|0)<=372645891){if((a|0)==370546692){break k}if((a|0)!=371595268){break b}return 148908}if((a|0)==372645892){break i}if((a|0)!=372711428){break b}return 149081}if((a|0)<=375789571){if((a|0)==373694468){break h}if((a|0)!=374740996){break b}return 148933}if((a|0)==375789572){break j}if((a|0)==376840196){break g}if((a|0)!=377888772){break b}return 149056}if((a|0)<=844715352){if((a|0)<=842094157){if((a|0)==386930691){break m}if((a|0)==390076419){break l}if((a|0)!=825382478){break b}return 149235}switch(a-842094158|0){case 0:break c;case 11:break f;default:break b}}if((a|0)<=1448433992){if((a|0)==844715353){break d}if((a|0)!=1431918169){break b}return 149193}if((a|0)==1448433993){break e}if((a|0)!=1498831189){break b}return 149172}return 148428}return 148480}return 148526}return 148549}return 148595}return 148620}return 148670}return 148720}return 148745}return 148818}return 148841}return 148863}return 148885}return 148956}return 148981}return 149006}return 149031}return 149109}return 149130}return 149151}return 149214}b=149256}return b}function Xn(a,b,c,d){var e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;s=oe-16|0;oe=s;e=fi(a,d);a:{if(e){break a}Pi(a,b,c,d);f=j[a+2988>>2];o=j[a>>2];b=p(d,1468)+a|0;n=b;j[b+56>>2]=0;q=b+44|0;c=j[q>>2];b=j[b+52>>2];m=j[(d?12:4)+a>>2];if(!d){g=De(64,j[a+12>>2])}f=ye(j[(f+p(d,1572)|0)+248>>2],m);t=De((f|0)<16?f:16,m);if((c|0)>=1){u=p(c,48)+b|0;w=p(g,3);v=(p(d,1468)+a|0)- -64|0;while(1){c=i[b+8>>1];b:{if((c|0)<(g|0)|(j[b+24>>2]?(w|0)>c<<1:0)){break b}c:{r=j[n+56>>2];d:{if((r|0)<=0){f=i[b+2>>1];break d}f=i[b+2>>1];y=j[v>>2];e=0;while(1){c=p(e,48)+y|0;x=f-i[c>>1]|0;l=x>>31;if(k[c+13|0]==k[b+1|0]?(t|0)>(l^l+x):0){break c}e=e+1|0;if((r|0)!=(e|0)){continue}break}}e=bn(q,f,h[b+1|0],o,s+12|0);if(e){break a}c=j[s+12>>2];j[c+44>>2]=b;j[c+40>>2]=b;j[c>>2]=0;j[c+4>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;h[c+13|0]=k[b+1|0];f=i[b+2>>1];i[c>>1]=f;f=ye(f,m);j[c+8>>2]=f;j[c+4>>2]=f;j[b+16>>2]=b;break b}j[b+16>>2]=j[c+40>>2];j[j[c+44>>2]+16>>2]=b;j[c+44>>2]=b}b=b+48|0;if(u>>>0>b>>>0){continue}break}}b=j[n+56>>2];if((b|0)>=1){g=j[(p(d,1468)+a|0)- -64>>2];q=g+p(b,48)|0;b=g;while(1){a=j[b+40>>2];e=a;if(a){while(1){j[e+12>>2]=b;e=j[e+16>>2];if((a|0)!=(e|0)){continue}break}}b=b+48|0;if(q>>>0>b>>>0){continue}break}while(1){m=g+28|0;d=g+24|0;t=j[g+40>>2];e=t;c=0;n=0;while(1){u=h[e|0]&1;w=u^1;e:{f:{g:{h:{f=j[e+24>>2];if(f){a=j[f+12>>2];l=(a|0)!=0&(a|0)!=(g|0);b=j[e+20>>2];if(!b){break h}if(!(l|j[b+12>>2]!=0)){break e}o=0;a=d;if(l){break g}break f}b=j[e+20>>2];if(!b){break e}o=0;a=d;if(j[b+12>>2]){break f}break e}if(!l){break e}}o=1;b=f;a=m}a=j[a>>2];i:{if(a){v=i[e+2>>1]-i[b+2>>1]|0;f=v>>31;r=i[g>>1]-i[a>>1]|0;l=r>>31;if((f^f+v)>=(l^l+r)){break i}}a=j[b+12>>2]}if(o){j[m>>2]=a;h[a+12|0]=k[a+12|0]|2;break e}j[d>>2]=a}c=c+u|0;n=n+w|0;e=j[e+16>>2];if((t|0)!=(e|0)){continue}break}h[g+12|0]=(c|0)!=0&c>>>0>=n>>>0;if(!(!j[g+28>>2]|!j[d>>2])){j[m>>2]=0}g=g+48|0;if(q>>>0>g>>>0){continue}break}}e=0}oe=s+16|0;return e}function TE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=q(0),p=q(0),r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=j[a+64>>2];s=j[d+104>>2];l=j[d+4>>2];t=j[l+28>>2];u=j[t+(j[a+28>>2]<<2)>>2];j[a+36>>2]=u;w=oe;e=j[l+4>>2];d=(e<<2)+15&-16;h=w-d|0;c=h;oe=c;r=c-d|0;c=r;oe=c;f=c-d|0;c=f;oe=c;v=c-d|0;oe=v;if((e|0)>=1){g=b+1028|0;i=b+4|0;m=u<<1&2147483646;d=0;while(1){e=d<<2;c=j[g+(j[e+i>>2]<<2)>>2]<<2;c=qe[j[j[(j[(c+t|0)+800>>2]<<2)+198148>>2]+20>>2]](a,j[c+j[s+48>>2]>>2])|0;j[e+v>>2]=c;j[e+f>>2]=(c|0)!=0;Ee(j[e+j[a>>2]>>2],0,m);d=d+1|0;e=j[l+4>>2];if((d|0)<(e|0)){continue}break}}d=j[b+1156>>2];if((d|0)>=1){i=b+2184|0;m=b+1160|0;c=0;while(1){k=c<<2;g=j[k+i>>2];k=f+(j[m+k>>2]<<2)|0;if(!(j[f+(g<<2)>>2]?0:!j[k>>2])){j[k>>2]=1;j[f+(g<<2)>>2]=1}c=c+1|0;if((d|0)!=(c|0)){continue}break}}if(j[b>>2]>=1){m=b+1092|0;k=b+4|0;d=0;while(1){c=0;g=0;if((e|0)>=1){while(1){i=c<<2;if(j[i+k>>2]==(d|0)){e=g<<2;j[e+r>>2]=j[f+i>>2]!=0;j[e+h>>2]=j[i+j[a>>2]>>2];g=g+1|0;e=j[l+4>>2]}c=c+1|0;if((e|0)>(c|0)){continue}break}}e=j[m+(d<<2)>>2]<<2;qe[j[j[(j[(e+t|0)+1312>>2]<<2)+198156>>2]+28>>2]](a,j[e+j[s+52>>2]>>2],h,r,g)|0;d=d+1|0;if((d|0)>2]){e=j[l+4>>2];continue}break}d=j[b+1156>>2]}if((d|0)>=1){r=(u|0)/2|0;i=b+2184|0;m=b+1160|0;g=j[a>>2];while(1){e=d;d=d-1|0;if((u|0)>=2){c=d<<2;k=j[g+(j[c+i>>2]<<2)>>2];x=j[g+(j[c+m>>2]<<2)>>2];c=0;while(1){h=c<<2;f=h+k|0;p=n[f>>2];h=h+x|0;o=n[h>>2];a:{if(!(o>q(0)^1)){if(!(p>q(0)^1)){n[f>>2]=o-p;break a}n[f>>2]=o;n[h>>2]=o+p;break a}if(!(p>q(0)^1)){n[f>>2]=o+p;break a}n[f>>2]=o;n[h>>2]=o-p}c=c+1|0;if((r|0)!=(c|0)){continue}break}}if((e|0)>1){continue}break}}b:{if(j[l+4>>2]<1){break b}d=b+1028|0;e=b+4|0;c=0;while(1){b=c<<2;f=j[d+(j[b+e>>2]<<2)>>2]<<2;qe[j[j[(j[(f+t|0)+800>>2]<<2)+198148>>2]+24>>2]](a,j[f+j[s+48>>2]>>2],j[b+v>>2],j[b+j[a>>2]>>2])|0;c=c+1|0;b=j[l+4>>2];if((c|0)<(b|0)){continue}break}if((b|0)<1){break b}c=0;while(1){b=j[j[a>>2]+(c<<2)>>2];AF(j[j[((j[a+28>>2]<<2)+s|0)+12>>2]>>2],b,b);c=c+1|0;if((c|0)>2]){continue}break}}oe=w;return 0}function po(a,b,c,d,e,f,g){var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j[a+180>>2]=f;t=a+180|0;j[a+52>>2]=t;n=j[a+72>>2];j[a+204>>2]=j[a+68>>2];j[a+208>>2]=n;j[a+200>>2]=c;j[a+196>>2]=b;j[a+192>>2]=e;j[a+188>>2]=d;j[a+184>>2]=g;g=t;while(1){p=j[g+12>>2];s=j[g+20>>2];b=(p|0)<(s|0);n=j[g+4>>2];e=j[g+28>>2];o=(n|0)<(e|0);a:{if(!(((b?s:p)|0)<=((o?e:n)|0)?((b?p:s)|0)>=((o?n:e)|0):0)){b=j[g+24>>2];j[g+48>>2]=b;j[g+52>>2]=e;c=(e+s|0)+1>>1;j[g+44>>2]=c;d=p+1|0;e=d+n>>1;j[g+12>>2]=e;o=j[g+8>>2]+1|0;p=o+f>>1;j[g+8>>2]=p;r=b;b=j[g+16>>2];q=(r+b|0)+1>>1;j[g+40>>2]=q;r=c;c=(d+s>>1)+1|0;d=r+c>>1;j[g+36>>2]=d;c=c+e>>1;j[g+20>>2]=c;b=(b+o>>1)+1|0;e=b+p>>1;j[g+16>>2]=e;b=b+q>>1;j[g+32>>2]=b;j[g+28>>2]=(c+d|0)+1>>1;j[g+24>>2]=(b+e|0)+1>>1;j[a+52>>2]=g+24;break a}if((e|0)==(n|0)){j[a+52>>2]=g-24;break a}u=o?2:1;c=j[a+100>>2];if((u|0)!=(c|0)){b=j[a+4>>2];d=o?e&b-1:((b+e|0)-1&0-b)-e|0;r=j[a+8>>2];if(c){b=j[a+40>>2];q=j[a+88>>2];c=b-j[q+8>>2]|0;if((c|0)<=-1){j[a+44>>2]=99;return 1}b:{if(!c){c=b;break b}j[q+16>>2]=c>>2;if((d|0)>=(r|0)){c=l[q+12>>1];i[q+12>>1]=(c&8?16:32)|c}j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c;j[b+8>>2]=c;j[b+16>>2]=0;j[q+28>>2]=b;i[a+84>>1]=l[a+84>>1]+1}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}h[a+87|0]=0}c:{if(j[a+92>>2]){c=j[a+40>>2];break c}b=j[a+40>>2];j[a+92>>2]=b;j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}b=j[a+88>>2];j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=c;j[b+28>>2]=0;j[b+4>>2]=0;c=k[a+176|0];i[b+12>>1]=c;d:{if(!o){i[b+12>>1]=c|8;if((d|0)<(r|0)){break d}i[b+12>>1]=c|40;break d}if((d|0)<(r|0)){break d}i[b+12>>1]=c|16}if(!j[a+96>>2]){j[a+96>>2]=b}i[a+86>>1]=1;j[a+100>>2]=u}b=j[a+80>>2];c=j[a+76>>2];if(!o){if(!Aj(a,3,253,c,b)){break a}return 1}j[g+28>>2]=0-e;j[g+20>>2]=0-s;j[g+12>>2]=0-p;j[g+4>>2]=0-n;d=k[a+86|0];b=Aj(a,3,253,0-b|0,0-c|0);if(!(k[a+86|0]|!d)){c=j[a+88>>2];j[c+20>>2]=0-j[c+20>>2]}j[g+4>>2]=0-j[g+4>>2];if(!b){break a}return 1}g=j[a+52>>2];if(t>>>0<=g>>>0){f=j[g>>2];continue}break}j[a+72>>2]=n;j[a+68>>2]=f;return 0}function $q(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;o=oe-80|0;oe=o;a:{if(!a){j[o>>2]=149690;ve(149640,o);break a}if(!b){j[o+16>>2]=149695;ve(149640,o+16|0);break a}if(!c){j[o+32>>2]=149698;ve(149640,o+32|0);break a}if(!d){j[o+48>>2]=149701;ve(149640,o+48|0);break a}if(!e){j[o+64>>2]=149704;ve(149640,o- -64|0);break a}h=j[a+8>>2];if((h|0)<1){break a}s=j[a+12>>2];if((s|0)<1){break a}m=j[a>>2];t=h+m|0;i=j[d>>2];g=j[b>>2];k=j[e>>2];n=j[a+4>>2];r=s+n|0;a=(k|0)>=(r|0);f=j[c>>2];b:{c:{if(a|(r|0)<=(f|0)|((g|0)<(m|0)|(i|0)>=(t|0))){break c}if((i|0)<(m|0)|(g|0)>=(t|0)|(f|0)<(n|0)){break c}if((k|0)>=(n|0)){break b}}if(a&(f|0)>=(r|0)){break a}w=(k|0)<(n|0);a=(f|0)<(n|0);if(w&a){break a}x=(i|0)<(m|0);h=(g|0)<(m|0);if(x&h){break a}q=(g|0)<(t|0);u=(i|0)<(t|0);if(!(q|u)){break a}s=t-1|0;if((f|0)==(k|0)){if(!(q?!h:0)){j[b>>2]=h?m:s}if((i|0)<(m|0)){j[d>>2]=m;break b}if(u){break b}j[d>>2]=s;break b}v=r-1|0;if((g|0)==(i|0)){if(!((f|0)<(r|0)?!a:0)){j[c>>2]=a?n:v}if((k|0)<(n|0)){j[e>>2]=n;break b}if((k|0)<(r|0)){break b}j[e>>2]=v;break b}a=a?2:(f|0)>=(r|0);l=h?a|4:q?a:a|8;a=w?2:(k|0)>=(r|0);q=x?a|4:u?a:a|8;if(l|q){u=!l;a=0;h=0;while(1){if(l&q){l=0;break a}d:{e:{if(!u){f:{g:{if(l&2){a=((p(i-g|0,n-f|0)|0)/(k-f|0)|0)+g|0;h=n;break g}h:{if(l&1){a=((p(i-g|0,v-f|0)|0)/(k-f|0)|0)+g|0;h=v;break h}if(l&4){h=((p(m-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=m;break h}if(!(l&8)){break h}h=((p(s-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=s}f=2;if((h|0)<(n|0)){break f}}f=(h|0)>=(r|0)}if((a|0)<(m|0)){l=f|4;break e}l=(a|0)<(t|0)?f:f|8;break e}i:{j:{if(q&2){a=((p(i-g|0,n-f|0)|0)/(k-f|0)|0)+g|0;h=n;break j}k:{if(q&1){a=((p(i-g|0,v-f|0)|0)/(k-f|0)|0)+g|0;h=v;break k}if(q&4){h=((p(m-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=m;break k}if(!(q&8)){break k}h=((p(s-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=s}i=2;if((h|0)<(n|0)){break i}}i=(h|0)>=(r|0)}q=(a|0)<(m|0)?i|4:(a|0)<(t|0)?i:i|8;l=0;i=a;k=h;break d}f=h;g=a}u=!l;if(l|q){continue}break}}j[b>>2]=g;j[c>>2]=f;j[d>>2]=i;j[e>>2]=k}l=1}oe=o+80|0;return l}function bo(a){var b=0,c=0,d=0,e=0,f=0,g=0,k=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;c=oe-16|0;oe=c;d=j[a+104>>2];b=qe[j[a+508>>2]](a,1886352244,d,c+4|0)|0;a:{if(b){break a}f=j[d+8>>2];p=j[c+4>>2];e=j[a+468>>2];b=vf(d,32);if(b){break a}b:{c:{d:{e:{f:{if((e|0)!=163840){b=3;if((e|0)!=131072){break b}e=j[d+28>>2];k=qf(d,c+8|0);b=j[c+8>>2];if(b){break b}b=3;if(k>>>0>l[a+264>>1]){break b}r=xe(e,2,0,k,0,c+8|0);if(j[c+8>>2]){break c}b=_e(d,k<<1);j[c+8>>2]=b;if(b){break c}if(!k){break f}b=0;while(1){u=r+(b<<1)|0,v=af(d),i[u>>1]=v;b=b+1|0;if((k|0)!=(b|0)){continue}break}Ve(d);b=0;while(1){n=l[r+(g<<1)>>1];q=n-257|0;b=n>>>0>257?(q|0)>(b&65535)?q:b:b;g=g+1|0;if((k|0)!=(g|0)){continue}break}break d}k=j[d+28>>2];e=qf(d,c+12|0);b=j[c+12>>2];if(b){break b}b=3;if(e>>>0>258|e>>>0>l[a+264>>1]){break b}g=xe(k,1,0,e,0,c+12|0);g:{if(j[c+12>>2]){break g}b=uf(d,g,e);j[c+12>>2]=b;if(b){break g}if(!e){break e}b=0;while(1){if(e>>>0>=h[b+g|0]+b>>>0){b=b+1|0;if((e|0)!=(b|0)){continue}break e}break}j[c+12>>2]=3}if(g){qe[j[k+8>>2]](k,g)}b=j[c+12>>2];break b}Ve(d);b=0;break d}j[a+620>>2]=g;i[a+616>>1]=e;b=0;break b}n=0;q=b&65535;g=xe(e,4,0,q,0,c+8|0);if(j[c+8>>2]){break c}h:{i:{if(!q){break i}p=f+p|0;while(1){if(p>>>0<=m[d+8>>2]){d=n&65535;f=b&65535;if(d>>>0>=f>>>0){break i}while(1){n=xe(e,1,0,1,0,c+8|0);j[(d<<2)+g>>2]=n;if(j[c+8>>2]){break h}h[n|0]=0;d=d+1|0;if((f|0)!=(d&65535)){continue}break}break i}f=fg(d,c+8|0);if(j[c+8>>2]){break h}s=(n<<2)+g|0;t=s;o=e;f=f&255;if(!(m[d+8>>2]<=p-f>>>0?p>>>0>=f>>>0:0)){f=p-j[d+8>>2]|0;f=(f|0)>0?f:0}o=xe(o,1,0,f+1|0,0,c+8|0);j[t>>2]=o;if(j[c+8>>2]){break h}o=uf(d,o,f);j[c+8>>2]=o;if(o){break h}h[j[s>>2]+f|0]=0;n=n+1|0;if((q|0)!=(n|0)){continue}break}}j[a+624>>2]=g;j[a+620>>2]=r;i[a+618>>1]=b;i[a+616>>1]=k;b=0;break b}d=((b&65535)>>>0>1?b:1)&65535;b=0;while(1){k=(b<<2)+g|0;f=j[k>>2];if(f){qe[j[e+8>>2]](e,f)}j[k>>2]=0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}if(g){qe[j[e+8>>2]](e,g)}if(r){qe[j[e+8>>2]](e,r)}b=j[c+8>>2]}h[a+612|0]=1}oe=c+16|0;return b}function wu(a,b,c){var d=0,e=0,f=0,g=0,h=0,n=0,o=0,q=0,r=0,s=0;d=oe-1280|0;oe=d;a:{b:{c:{d:{e:{e=j[a+208>>2];if(e&1){if(e&6){Ie(a,c);Je(a,99982);break a}if(c>>>0<=8){Ie(a,c);Je(a,100141);break a}e=l[a+898>>1];if(e&32768){Ie(a,c);break a}g=100123;if(e&4){break c}n=a+824|0;f=c>>>0<81?c:81;pf(a,d+1184|0,f);tf(a,d+1184|0,f);c=c-f|0;j[d+1276>>2]=c;h=f-1>>>0<79?f:80;e=0;f:{while(1){if(!k[(d+1184|0)+e|0]){break f}e=e+1|0;if((h|0)!=(e|0)){continue}break}e=h}g=100220;if(e-1>>>0>78){break c}g=100197;q=e+1|0;if(f>>>0<=q>>>0|k[(d+1184|0)+q|0]){break c}g:{if(!Dk(a,1766015824)){j[d+12>>2]=132;c=e+2|0;j[a+228>>2]=f-c;j[a+224>>2]=c+(d+1184|0);g=0;Ck(a,d+16|0,d+1276|0,d+1040|0,d+12|0,0);if(!j[d+12>>2]){c=1;e=a;h=n;o=d+1184|0;f=j[d+1040>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);r=f;if(f>>>0<=131){Hf(e,h,o,r,97255);e=0}else{e=1}if(!e){break d}if(!ev(a,n,d+1184|0,f,d+1040|0,k[a+435|0])){break d}h=k[d+1171|0];o=k[d+1170|0];r=k[d+1169|0];s=k[d+1168|0];g=j[a+788>>2];h:{if(g){if(f>>>0<=m[a+792>>2]){break h}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,g)}g=$f(a,f);if(!g){g=100173;break d}j[a+792>>2]=f;j[a+788>>2]=g}e=Ae(g,d+1040|0,132);h=p(h|(r<<16|s<<24|o<<8),12);j[d+12>>2]=h;g=0;o=e+132|0;Ck(a,d+16|0,d+1276|0,o,d+12|0,0);if(!j[d+12>>2]){if(!dv(a,n,d+1184|0,f,e)){break d}j[d+12>>2]=(f-h|0)-132;Ck(a,d+16|0,d+1276|0,h+o|0,d+12|0,1);h=j[d+1276>>2];if(!h){break g}g=100151;if(!(k[a+214|0]&16)){break d}g=100187;if(j[d+12>>2]){break d}di(a,100151);break e}g=j[a+248>>2];break d}g=j[a+248>>2];c=1;break d}g=j[a+248>>2];break c}g=100187;if(!j[d+12>>2]){break e}break d}hf(a,100003);z()}Ie(a,h);cv(a,n,e,j[a+272>>2]);i:{if(b){c=0;Ni(a,b,16,0);n=$f(a,q);j[b+116>>2]=n;if(!n){break i}Ae(n,d+1184|0,q);j[b+120>>2]=e;j[b+124>>2]=f;j[a+788>>2]=0;j[b+232>>2]=j[b+232>>2]|16;j[b+8>>2]=j[b+8>>2]|4096;ih(a,b)}j[a+220>>2]=0;break a}i[a+898>>1]=l[a+898>>1]|32768;ih(a,b);g=100173}j[a+220>>2]=0;if(!c){break b}c=j[d+1276>>2]}Ie(a,c)}i[a+898>>1]=l[a+898>>1]|32768;ih(a,b);if(!g){break a}Je(a,g)}oe=d+1280|0}function Zt(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0;e=oe-16|0;oe=e;a:{b:{c:{d:{if(!a){break d}if(!(k[a+212|0]&64)){Ak(a)}f=j[a+368>>2];j[e>>2]=f;h[e+8|0]=k[a+435|0];h[e+9|0]=k[a+436|0];h[e+10|0]=k[a+439|0];c=k[a+438|0];h[e+11|0]=c;c=c>>>0>=8?p(f,c>>>3|0):p(c,f)+7>>>3|0;j[e+4>>2]=c;e:{if(!k[a+432|0]|!(k[a+216|0]&2)){break e}d=j[a+372>>2];f:{switch(k[a+433|0]){case 0:if(!(d&7)){break e}fh(a);break d;case 1:if(m[a+348>>2]>4?!(d&7):0){break e}fh(a);break d;case 2:if((d&7)==4){break e}fh(a);break d;case 3:if(m[a+348>>2]>2?!(d&3):0){break e}fh(a);break d;case 4:if((d&3)==2){break e}fh(a);break d;case 5:if(m[a+348>>2]>1?!(d&1):0){break e}fh(a);break d;default:break f}}if(d&1){break e}fh(a);break d}if(!(k[a+208|0]&4)){break c}d=c+1|0;gn(a,j[a+384>>2],d);c=j[a+384>>2];f=k[c|0];if(f){if(f>>>0>4){break b}hu(a,e,c+1|0,j[a+380>>2]+1|0,f);d=j[e+4>>2]+1|0;c=j[a+384>>2]}Ae(j[a+380>>2],c,d);g:{if(!(k[a+708|0]&4)|k[a+712|0]!=64){break g}d=k[e+8|0];if(!(d&2)){break g}c=j[a+384>>2]+1|0;i=j[e>>2];h:{switch(k[e+9|0]-8|0){case 0:f=3;i:{switch(d-2|0){case 4:f=4;break;case 0:break i;default:break g}}if(!i){break g}d=0;while(1){g=k[c+1|0];h[c|0]=g+k[c|0];h[c+2|0]=g+k[c+2|0];c=c+f|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break g;case 8:break h;default:break g}}f=6;j:{switch(d-2|0){case 4:f=8;break;case 0:break j;default:break g}}if(!i){break g}d=0;while(1){g=k[c+3|0]|k[c+2|0]<<8;l=g+(k[c+5|0]|k[c+4|0]<<8)|0;h[c+5|0]=l;g=g+(k[c+1|0]|k[c|0]<<8)|0;h[c+1|0]=g;h[c+4|0]=l>>>8;h[c|0]=g>>>8;c=c+f|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(j[a+216>>2]){Pt(a,e)}c=k[e+11|0];d=k[a+443|0];k:{if(!d){h[a+443|0]=c;if(c>>>0<=k[a+442|0]){break k}Ye(a,101720);z()}if((c|0)!=(d|0)){break a}}l:{m:{if(!k[a+432|0]){break m}c=j[a+216>>2];if(!(c&2)){break m}d=k[a+433|0];if(d>>>0<=5){iu(e,j[a+384>>2]+1|0,d,c)}if(!b){break l}hn(a,b,0);break l}if(b){hn(a,b,-1)}}fh(a);b=j[a+544>>2];if(!b){break d}qe[b|0](a,j[a+372>>2],k[a+433|0])}oe=e+16|0;return}Ye(a,101661);z()}Ye(a,101694);z()}Ye(a,101744);z()}function zF(a,b,c){var d=0,e=q(0),f=0,g=0,h=q(0),i=0,k=0,l=0,m=0,o=q(0),p=0,r=0,s=0,t=0,u=0,v=q(0),w=q(0),x=q(0),y=q(0),z=q(0),A=0;i=oe;A=i;r=j[a>>2];t=r>>1;d=t<<2;k=(d+b|0)+(r&-4)|0;s=i-((r<<2)+15&-16)|0;p=d+s|0;l=r>>3;oe=s;d=d+j[a+8>>2]|0;a:{if((r|0)<8){i=d;break a}g=k+4|0;while(1){i=k-8|0;m=f<<2;k=k-16|0;e=q(n[k>>2]+n[g+8>>2]);u=d-4|0;h=q(n[i>>2]+n[g>>2]);i=d-8|0;n[m+p>>2]=q(e*n[u>>2])+q(h*n[i>>2]);n[p+(m|4)>>2]=q(e*n[i>>2])-q(h*n[u>>2]);g=g+16|0;d=i;f=f+2|0;if((l|0)>(f|0)){continue}break}}g=b+4|0;l=t-l|0;b:{if((l|0)<=(f|0)){d=i;break b}while(1){d=k-8|0;m=f<<2;k=k-16|0;e=q(n[k>>2]-n[g+8>>2]);u=i-4|0;h=q(n[d>>2]-n[g>>2]);d=i-8|0;n[m+p>>2]=q(e*n[u>>2])+q(h*n[d>>2]);n[p+(m|4)>>2]=q(e*n[d>>2])-q(h*n[u>>2]);g=g+16|0;i=d;f=f+2|0;if((l|0)>(f|0)){continue}break}}if((f|0)<(t|0)){k=(r<<2)+b|0;while(1){b=k-8|0;i=f<<2;k=k-16|0;e=q(q(-n[k>>2])-n[g+8>>2]);l=d-4|0;h=q(q(-n[b>>2])-n[g>>2]);d=d-8|0;n[i+p>>2]=q(e*n[l>>2])+q(h*n[d>>2]);n[p+(i|4)>>2]=q(e*n[d>>2])-q(h*n[l>>2]);g=g+16|0;f=f+2|0;if((t|0)>(f|0)){continue}break}}l=r>>2;zq(a,p,t);p=j[a+8>>2];b=j[a>>2];f=p+(b<<2)|0;g=j[a+12>>2];i=(b<<1&-4)+s|0;k=i;b=s;while(1){d=i+(j[g>>2]<<2)|0;e=n[d+4>>2];m=i+(j[g+4>>2]<<2)|0;h=n[m+4>>2];o=q(q(e+h)*q(.5));v=n[d>>2];w=n[m>>2];x=q(v+w);y=n[f>>2];e=q(e-h);h=n[f+4>>2];z=q(q(x*y)+q(e*h));n[b>>2]=o+z;n[k-8>>2]=o-z;o=q(q(v-w)*q(.5));e=q(q(x*h)-q(e*y));n[b+4>>2]=o+e;n[k-4>>2]=e-o;d=i+(j[g+8>>2]<<2)|0;e=n[d+4>>2];m=i+(j[g+12>>2]<<2)|0;h=n[m+4>>2];o=q(q(e+h)*q(.5));v=n[d>>2];w=n[m>>2];x=q(v+w);y=n[f+8>>2];e=q(e-h);h=n[f+12>>2];z=q(q(x*y)+q(e*h));n[b+8>>2]=o+z;d=k-16|0;n[d>>2]=o-z;o=q(q(v-w)*q(.5));e=q(q(x*h)-q(e*y));n[b+12>>2]=o+e;n[k-12>>2]=e-o;g=g+16|0;f=f+16|0;b=b+16|0;k=d;if(b>>>0>>0){continue}break}if((r|0)>=4){d=(l|0)>1?l:1;b=t<<2;f=b+p|0;b=b+c|0;g=0;while(1){e=n[s>>2];h=n[s+4>>2];n[(g<<2)+c>>2]=n[a+16>>2]*q(q(e*n[f>>2])+q(h*n[f+4>>2]));b=b-4|0;n[b>>2]=n[a+16>>2]*q(q(e*n[f+4>>2])-q(h*n[f>>2]));f=f+8|0;s=s+8|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}oe=A}function yp(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;k=oe-128|0;oe=k;a:{b:{c:{if(!Kh(f,g,h,i,0,0,0,0)){break c}m=mD(f,g,h,i);s=e>>>16|0;o=s&32767;if((o|0)==32767){break c}if(m){break b}}kf(k+16|0,b,c,d,e,f,g,h,i);e=j[k+16>>2];d=j[k+20>>2];c=j[k+24>>2];b=j[k+28>>2];Ap(k,e,d,c,b,e,d,c,b);d=j[k+8>>2];e=j[k+12>>2];h=j[k>>2];i=j[k+4>>2];break a}m=o<<16;p=d;r=m|e&65535;n=r;q=h;r=i>>>16&32767;l=i&65535|r<<16;if((Kh(b,c,p,n,f,g,h,l)|0)<=0){if(Kh(b,c,p,n,f,g,q,l)){h=b;i=c;break a}kf(k+112|0,b,c,d,e,0,0,0,0);d=j[k+120>>2];e=j[k+124>>2];h=j[k+112>>2];i=j[k+116>>2];break a}if(o){i=c;h=b}else{kf(k+96|0,b,c,p,n,0,0,0,1081540608);h=j[k+108>>2];n=h;p=j[k+104>>2];o=(h>>>16|0)-120|0;i=j[k+100>>2];h=j[k+96>>2]}if(!r){kf(k+80|0,f,g,q,l,0,0,0,1081540608);f=j[k+92>>2];l=f;q=j[k+88>>2];r=(l>>>16|0)-120|0;g=j[k+84>>2];f=j[k+80>>2]}t=l&65535|65536;n=n&65535|65536;if((o|0)>(r|0)){while(1){l=p;m=q;u=l-m|0;m=n-((l>>>0>>0)+t|0)|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;m=m-(l>>>0>u>>>0)|0;l=u-l|0;d:{if((m|0)>0?1:(m|0)>=0){n=h;h=h-f|0;i=i-((f>>>0>n>>>0)+g|0)|0;if(!(h|l|(i|m))){kf(k+32|0,b,c,d,e,0,0,0,0);d=j[k+40>>2];e=j[k+44>>2];h=j[k+32>>2];i=j[k+36>>2];break a}m=m<<1|l>>>31;p=l<<1|i>>>31;break d}m=n<<1|p>>>31;p=p<<1|i>>>31}n=m;m=i<<1|h>>>31;h=h<<1;i=m;o=o-1|0;if((r|0)<(o|0)){continue}break}o=r}m=p;r=m-q|0;l=n-((m>>>0>>0)+t|0)|0;m=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;l=l-(m>>>0>r>>>0)|0;q=r-m|0;e:{if((l|0)<0){q=p;l=n;break e}p=h;h=h-f|0;i=i-((f>>>0>p>>>0)+g|0)|0;if(h|q|(i|l)){break e}kf(k+48|0,b,c,d,e,0,0,0,0);d=j[k+56>>2];e=j[k+60>>2];h=j[k+48>>2];i=j[k+52>>2];break a}if((l|0)==65535|l>>>0<65535){while(1){b=i>>>31|0;o=o-1|0;n=i<<1|h>>>31;h=h<<1;i=n;c=b;b=q;l=l<<1|b>>>31;q=c|b<<1;if(l>>>0<65536){continue}break}}b=s&32768;if((o|0)<=0){kf(k- -64|0,h,i,q,l&65535|(b|o+120)<<16,0,0,0,1065811968);d=j[k+72>>2];e=j[k+76>>2];h=j[k+64>>2];i=j[k+68>>2];break a}d=q;e=l&65535|(b|o)<<16}j[a>>2]=h;j[a+4>>2]=i;j[a+8>>2]=d;j[a+12>>2]=e;oe=k+128|0}function aw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0;i=oe-16|0;oe=i;f=j[a+488>>2];e=j[b+8>>2];qe[j[b+28>>2]](b);d=j[b>>2];a:{if(e>>>0<=d>>>0){j[b+12>>2]=3;break a}b:{l=k[d|0];if(!(l-48>>>0>9?(l|0)!=91:0)){g=j[b+16>>2];c:{if((l|0)==91){j[b>>2]=d+1;c=256;break c}c=qe[j[b+36>>2]](b)|0}qe[j[b+28>>2]](b);if(m[b>>2]>=e>>>0){break a}n=c;j[a+372>>2]=c;j[b+96>>2]=c;r=a,s=xe(g,2,0,c,0,i+12|0),j[r+384>>2]=s;c=j[i+12>>2];if(c){break b}r=a,s=xe(g,4,0,n,0,i+12|0),j[r+388>>2]=s;c=j[i+12>>2];if(c){break b}o=b+100|0;c=qe[j[j[f>>2]>>2]](o,n,g)|0;j[i+12>>2]=c;if(c){break b}if((n|0)>=1){c=0;while(1){qe[j[b+144>>2]](o,c,91788,8)|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}qe[j[b+28>>2]](b);c=j[b>>2];d:{if(e>>>0<=c>>>0){break d}p=(l|0)==91;g=0;while(1){e:{f:{g:{f=k[c|0];switch(f-93|0){case 0:break f;case 7:break g;default:break e}}d=c+3|0;if(k[c+1|0]!=101|e>>>0<=d>>>0|k[c+2|0]!=102){break e}switch(k[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break d;default:break e}}d=c+1|0;break d}h:{i:{if(!(f-48>>>0>9?!p:0)){if(p){d=c;f=g;break i}f=qe[j[b+36>>2]](b)|0;qe[j[b+28>>2]](b);d=j[b>>2];if((d|0)!=(c|0)){break i}j[b+12>>2]=2;break a}qe[j[b+32>>2]](b);d=c;if(j[b+12>>2]){break a}break h}if(!((g|0)>=(n|0)|d+2>>>0>=e>>>0|k[d|0]!=47)){d=d+1|0;j[b>>2]=d;qe[j[b+32>>2]](b);c=j[b>>2];if(j[b+12>>2]|c>>>0>=e>>>0){break a}q=c-d|0;c=qe[j[b+144>>2]](o,f,d,q+1|0)|0;j[b+12>>2]=c;if(c){break a}h[q+j[j[b+124>>2]+(f<<2)>>2]|0]=0;g=g+1|0;break h}if((l|0)!=91){break h}j[b+12>>2]=2;break a}qe[j[b+28>>2]](b);c=j[b>>2];if(e>>>0>c>>>0){continue}break}}j[a+368>>2]=1;j[b>>2]=d;break a}j:{if(d+17>>>0>=e>>>0){break j}if(Qe(d,94034,16)){break j}j[a+368>>2]=2;break a}k:{if(d+15>>>0>=e>>>0){break k}if(Qe(d,94051,14)){break k}j[a+368>>2]=4;break a}l:{if(d+18>>>0>=e>>>0){break l}if(Qe(d,94066,17)){break l}j[a+368>>2]=3;break a}j[b+12>>2]=162;break a}j[b+12>>2]=c}oe=i+16|0}function zK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0;n=j[a+36>>2]>>2;o=j[a+16>>2]>>2;l=j[a+28>>2];b=j[a+24>>2];a:{h=k[a+63|0];if((h|0)==128){if(!l){break a}h=b&3;m=(b+3|0)/4|0;c=j[a>>2];a=j[a+20>>2];b:while(1){b=m;c:{d:{switch(h-1|0){default:d=0;break c;case 0:d=3;break c;case 1:d=2;break c;case 2:break d}}d=1}while(1){e:{switch(d|0){case 0:d=j[a>>2];g=j[c>>2];j[a>>2]=((d&16711422)+(g&16711422)>>>1|0)+(d&g&65793)|-16777216;a=a+4|0;c=c+4|0;d=1;continue;case 1:d=j[a>>2];g=j[c>>2];j[a>>2]=((d&16711422)+(g&16711422)>>>1|0)+(d&g&65793)|-16777216;a=a+4|0;c=c+4|0;d=2;continue;case 2:d=j[a>>2];g=j[c>>2];j[a>>2]=((d&16711422)+(g&16711422)>>>1|0)+(d&g&65793)|-16777216;a=a+4|0;c=c+4|0;d=3;continue;default:break e}}d=l-1|0;g=j[a>>2];e=j[c>>2];j[a>>2]=((g&16711422)+(e&16711422)>>>1|0)+(e&g&65793)|-16777216;a=a+4|0;c=c+4|0;f:{if((b|0)>1){b=b-1|0;break f}a=(n<<2)+a|0;c=(o<<2)+c|0;l=d;if(d){continue b}break a}d=0;continue}}}if(!l){break a}g=b&3;m=(b+3|0)/4|0;c=j[a>>2];a=j[a+20>>2];g:while(1){d=m;h:{i:{switch(g-1|0){default:b=0;break h;case 0:b=3;break h;case 1:b=2;break h;case 2:break i}}b=1}while(1){j:{switch(b|0){case 0:b=j[c>>2];e=j[a>>2];f=e&65280;f=(p(h,(b&65280)-f|0)>>>8|0)+f&65280;i=b&16711935;b=e&16711935;j[a>>2]=f|(p(h,i-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=1;continue;case 1:b=j[c>>2];e=j[a>>2];f=e&65280;f=(p(h,(b&65280)-f|0)>>>8|0)+f&65280;i=b&16711935;b=e&16711935;j[a>>2]=f|(p(h,i-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=2;continue;case 2:b=j[c>>2];e=j[a>>2];f=e&65280;f=(p(h,(b&65280)-f|0)>>>8|0)+f&65280;i=b&16711935;b=e&16711935;j[a>>2]=f|(p(h,i-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=3;continue;default:break j}}b=l-1|0;e=j[a>>2];f=e&65280;i=j[c>>2];e=e&16711935;j[a>>2]=f+(p(h,(i&65280)-f|0)>>>8|0)&65280|(p(h,(i&16711935)-e|0)>>>8|0)+e&16711935|-16777216;a=a+4|0;c=c+4|0;k:{if((d|0)>1){d=d-1|0;break k}a=(n<<2)+a|0;c=(o<<2)+c|0;l=b;if(b){continue g}break a}b=0;continue}}}}function JB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,k=0,n=0,o=0,p=0,q=0,r=0;e=oe-1552|0;oe=e;f=6;g=j[a+4>>2];a:{if(m[g+16>>2]<=c>>>0){break a}k=j[g+136>>2];j[a+164>>2]=j[b+16>>2];j[a+168>>2]=j[b+20>>2];j[a+108>>2]=0;j[a+72>>2]=1869968492;d=d&1024?d|3:d;p=d&3;f=qe[j[j[k+12>>2]>>2]](e+48|0,g,b,a,0,0,!p,d>>>16&15,111)|0;if(f){break a}n=d&1024;h[e+117|0]=n>>>10;f=$o(e+48|0,c);if(f){break a}c=e+1432|0;f=j[c+4>>2];j[e+40>>2]=j[c>>2];j[e+44>>2]=f;c=j[e+1428>>2];j[e+32>>2]=j[e+1424>>2];j[e+36>>2]=c;f=j[e+1444>>2];o=j[e+1440>>2];qe[j[j[k+12>>2]+4>>2]](e+48|0);j[a+124>>2]=j[a+124>>2]&1|4;b:{if(n){c=j[a+156>>2];b=a;d=j[e+80>>2];g=d+32768&-65536;if((d|0)<0){g=0-(32768-d&-65536)|0}j[b+32>>2]=g>>16;b=j[e+88>>2];d=b+32768&-65536;if((b|0)<0){d=0-(32768-b&-65536)|0}j[a+40>>2]=d>>16;a=j[e+44>>2];j[c+20>>2]=j[e+40>>2];j[c+24>>2]=a;a=j[e+36>>2];j[c+12>>2]=j[e+32>>2];j[c+16>>2]=a;j[c+32>>2]=f;j[c+28>>2]=o;h[c+8|0]=1;break b}c=a;k=j[e+88>>2];n=k+32768&-65536;if((k|0)<0){n=0-(32768-k&-65536)|0}j[c+40>>2]=n>>16;k=j[e+88>>2];n=k+32768&-65536;if((k|0)<0){n=0-(32768-k&-65536)|0}j[c+56>>2]=n>>16;h[j[a+156>>2]+8|0]=0;c=j[g+200>>2];g=j[g+208>>2];j[a+72>>2]=1869968492;c=g-c>>16;j[a+60>>2]=c;j[a+52>>2]=c;if(l[b+14>>1]<=23){j[a+124>>2]=j[a+124>>2]|256}c=a+108|0;rh(c,e+32|0);Tf(c,o,f);b=j[a+40>>2];j[e+12>>2]=0;j[e+8>>2]=b;Qg(e+8|0,e+32|0);j[a+40>>2]=o+j[e+8>>2];j[e+8>>2]=0;j[e+12>>2]=j[a+52>>2];Qg(e+8|0,e+32|0);j[a+52>>2]=f+j[e+12>>2];if(!(d&1)){g=j[a+168>>2];o=j[a+164>>2];b=j[e+64>>2];f=j[b+4>>2];c:{if(j[e+120>>2]?!p:0){break c}b=i[b+2>>1];if((b|0)<1){break c}b=b&65535;while(1){q=f,r=ye(j[f>>2],o),j[q>>2]=r;q=f,r=ye(j[f+4>>2],g),j[q+4>>2]=r;f=f+8|0;k=(b|0)>1;b=b-1|0;if(k){continue}break}}q=a,r=ye(j[a+40>>2],o),j[q+40>>2]=r;q=a,r=ye(j[a+52>>2],g),j[q+52>>2]=r}Rg(c,e+16|0);b=j[e+16>>2];j[a+24>>2]=j[e+24>>2]-b;c=j[e+20>>2];f=j[e+28>>2];j[a+36>>2]=f;j[a+32>>2]=b;j[a+28>>2]=f-c;if(!(d&16)){break b}Ci(a+24|0,j[a+52>>2])}f=0}oe=e+1552|0;return f|0}function Vn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,k=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;e=oe-16|0;oe=e;g=j[b+28>>2];a:{b:{h=j[a+676>>2];if(!h|!j[a+648>>2]){break b}c=qe[j[a+508>>2]](a,1668702578,b,e+8|0)|0;j[e+12>>2]=c;if(c){break b}c=_e(b,j[e+8>>2]);j[e+12>>2]=c;if(c){break b}c=j[b>>2];d=j[b+32>>2];c:{if((Ef(b)|0)!=65536){j[e+12>>2]=0;break c}q=xe(g,4,0,j[h>>2],0,e+12|0);if(j[e+12>>2]){break c}r=xe(g,4,0,j[h>>2],0,e+12|0);if(j[e+12>>2]){break c}s=xe(g,4,0,j[h>>2],0,e+12|0);if(j[e+12>>2]){break c}f=af(b);o=af(b);v=f&4095;if(!v){break c}o=o+(d-c|0)|0;while(1){x=af(b);d:{e:{f:{g:{h:{d=af(b);if(d&32768){c=0;i:{if(!j[h>>2]){break i}while(1){A=(c<<2)+q|0,B=af(b)<<16>>16<<2,j[A>>2]=B;c=c+1|0;f=j[h>>2];if(c>>>0>>0){continue}break}if(!(d&16384)){break i}c=0;if(!f){break i}while(1){A=(c<<2)+r|0,B=af(b)<<16>>16<<2,j[A>>2]=B;c=c+1|0;f=j[h>>2];if(c>>>0>>0){continue}break}c=0;if(!f){break i}while(1){A=(c<<2)+s|0,B=af(b)<<16>>16<<2,j[A>>2]=B;c=c+1|0;if(c>>>0>2]){continue}break}}u=Un(h,d,q,r,s);if(!(d&8192)|!u){break d}c=j[b+32>>2];d=j[b>>2];j[b+32>>2]=d+o;f=Qk(b,e+4|0);y=c-d|0;d=b;n=j[e+4>>2];c=n;if(!c){c=j[a+644>>2]}d=Pk(d,c);if(!f|!d){break g}if((f|0)==-1){break h}if(!n){break f}k=j[a+648>>2];c=0;while(1){p=k;k=c<<1;t=l[k+f>>1]<<1;p=l[p+t>>1];z=ye(i[d+k>>1],u);k=j[a+648>>2];i[t+k>>1]=p+z;c=c+1|0;if((n|0)!=(c|0)){continue}break}break g}if(!(d&16384)){break d}c=0;if(!(j[h>>2]&2147483647)){break d}while(1){af(b);c=c+1|0;if(c>>>0>2]<<1>>>0){continue}break}break d}if(!j[a+644>>2]){break e}n=j[a+648>>2];c=0;while(1){k=c<<1;t=l[k+n>>1];p=ye(i[d+k>>1],u);n=j[a+648>>2];i[k+n>>1]=t+p;c=c+1|0;if(c>>>0>2]){continue}break}}if((f|0)==-1){break e}}if(f){qe[j[g+8>>2]](g,f)}}if(d){qe[j[g+8>>2]](g,d)}j[b+32>>2]=j[b>>2]+y}o=o+x|0;w=w+1|0;if((w|0)!=(v|0)){continue}break}}Ve(b);break a}j[e+12>>2]=0}if(q){qe[j[g+8>>2]](g,q)}if(r){qe[j[g+8>>2]](g,r)}if(s){qe[j[g+8>>2]](g,s)}oe=e+16|0;return j[e+12>>2]}function my(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0;b=oe-224|0;oe=b;f=Se(40);j[f>>2]=0;c=j[a+504>>2];h=j[a+500>>2];j[b+216>>2]=h;a:{b:{if(!j[b+216>>2]){break b}m=c+h|0;if(m>>>0>2]+4>>>0){break b}j[b+216>>2]=j[b+216>>2]+2;if(k[j[b+216>>2]-1|0]|k[j[b+216>>2]-2|0]<<8){break b}j[b+216>>2]=j[b+216>>2]+2;j[b+220>>2]=k[j[b+216>>2]-1|0]|k[j[b+216>>2]-2|0]<<8;if(!j[b+220>>2]){break b}g=4;while(1){if(j[b+216>>2]+8>>>0>m>>>0){break b}j[b+216>>2]=j[b+216>>2]+2;c=k[j[b+216>>2]-2|0];d=k[j[b+216>>2]-1|0];j[b+216>>2]=j[b+216>>2]+2;i[b+208>>1]=d|c<<8;c=k[j[b+216>>2]-2|0];d=k[j[b+216>>2]-1|0];j[b+216>>2]=j[b+216>>2]+4;j[b+200>>2]=a;j[b+204>>2]=0;i[b+210>>1]=d|c<<8;c=k[j[b+216>>2]-1|0]|(k[j[b+216>>2]-3|0]<<16|k[j[b+216>>2]-4|0]<<24|k[j[b+216>>2]-2|0]<<8);if(!(!c|c>>>0>j[a+504>>2]-2>>>0)){j[b+196>>2]=c+h;j[b+192>>2]=k[j[b+196>>2]+1|0]|k[j[b+196>>2]]<<8;j[b+188>>2]=88256;c:{if(!j[j[b+188>>2]>>2]){break c}d:{while(1){e:{j[b+184>>2]=j[j[b+188>>2]>>2];if(j[j[b+184>>2]+40>>2]==j[b+192>>2]){j[b+4>>2]=0;j[67126]=0;j[b+164>>2]=j[b+196>>2];j[b+168>>2]=m;j[b+172>>2]=0;j[b+176>>2]=0;c=j[67126];j[67126]=0;d=-1;if(!c){break d}e=j[67127];if(!e){break d}d=ef(j[c>>2],f,g);if(d){break e}break a}j[b+188>>2]=j[b+188>>2]+4;if(j[j[b+188>>2]>>2]){continue}break c}break}D(e|0)}c=C()|0;if((d|0)!=1){j[b+180>>2]=l[a+264>>1];f=li(b+8|0,1,f,g);g=C()|0;c=0}while(1){if(!c){c=j[j[b+184>>2]+44>>2];j[67126]=0;n=K(c|0,j[b+196>>2],b+8|0)|0;c=j[67126];j[67126]=0;d=-1;f:{if(!c){break f}e=j[67127];if(!e){break f}d=ef(j[c>>2],f,g);if(!d){break a}D(e|0)}c=C()|0;if((d|0)==1){continue}j[b+4>>2]=n}if(j[b+176>>2]){break c}j[67126]=0;n=aa(269,j[b+184>>2],j[b+196>>2],b+200|0,b|0)|0;c=j[67126];j[67126]=0;d=-1;g:{if(!c){break g}e=j[67127];if(!e){break g}d=ef(j[c>>2],f,g);if(!d){break a}D(e|0)}c=C()|0;if((d|0)==1){continue}break}if(n){break c}j[j[b>>2]+20>>2]=j[b+4>>2]}}j[b+220>>2]=j[b+220>>2]-1;if(j[b+220>>2]){continue}break}}ze(f);oe=b+224|0;return}F(c|0,e|0);z()}function ev(a,b,c,d,e,f){var g=0,i=0;i=oe-208|0;oe=i;g=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);a:{b:{if((g|0)!=(d|0)){Hf(a,b,c,g,97265);break b}if(!(!(d&3)|k[e+8|0]<4)){Hf(a,b,c,d,97295);break b}g=k[e+128|0]|k[e+129|0]<<8|(k[e+130|0]<<16|k[e+131|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if(!(p(g,12)+132>>>0<=d>>>0?g>>>0<=357913930:0)){Hf(a,b,c,g,97310);break b}d=k[e+64|0]|k[e+65|0]<<8|(k[e+66|0]<<16|k[e+67|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0>=65535){Hf(a,b,c,d,97330);break b}if(d>>>0>=4){Hf(a,0,c,d,97355)}d=k[e+36|0]|k[e+37|0]<<8|(k[e+38|0]<<16|k[e+39|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=1633907568){Hf(a,b,c,d,97384);break b}if(wg(e+68|0,97402,12)){Hf(a,0,c,0,97414)}c:{d:{d=k[e+16|0]|k[e+17|0]<<8|(k[e+18|0]<<16|k[e+19|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=1196573017){if((d|0)!=1380401696){break d}if(f&2){break c}Hf(a,b,c,1380401696,97440);break b}if(!(f&2)){break c}Hf(a,b,c,1196573017,97487);break b}Hf(a,b,c,d,97529);break b}e:{f:{g:{h:{d=k[e+12|0]|k[e+13|0]<<8|(k[e+14|0]<<16|k[e+15|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);i:{if((d|0)<=1852662635){if((d|0)==1633842036){break h}if((d|0)==1818848875){break g}if((d|0)!=1835955314){break i}break e}if((d|0)<=1935896177){if((d|0)==1852662636){break f}if((d|0)!=1886549106){break i}break e}if((d|0)==1935896178|(d|0)==1936744803){break e}}Hf(a,0,c,d,97679);break e}Hf(a,b,c,1633842036,97561);break b}Hf(a,b,c,1818848875,97599);break b}d=Uf(i,196,0,98554);f=Uf(i,196,Uf(i,d+79|0,d,c),98564);d=f+i|0;h[d|0]=39;h[d+1|0]=110;h[d+2|0]=109;h[d+3|0]=99;h[d+4|0]=108;h[d+5|0]=39;h[d+6|0]=58;h[d+7|0]=32;Uf(i,196,f+8|0,97639);Mf(a,i,1)}d=k[e+20|0]|k[e+21|0]<<8|(k[e+22|0]<<16|k[e+23|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);f=1;if((d|0)==1281450528|(d|0)==1482250784){break a}Hf(a,b,c,d,97710)}f=0}oe=i+208|0;return f}function mp(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(a){e=j[a+278664>>2];d=e;c=j[a>>2];if(c){qe[j[d+8>>2]](d,c)}j[a>>2]=0;c=j[a+128>>2];if(c){b=j[c+12>>2];d=e;g=j[c+4>>2];if(g){while(1){h=j[b>>2];if(h){qe[j[e+8>>2]](e,h)}j[b>>2]=0;b=b+4|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}b=j[c+12>>2]}if(b){qe[j[d+8>>2]](d,b)}j[c+12>>2]=0;d=j[a+128>>2];if(d){qe[j[e+8>>2]](e,d)}j[a+128>>2]=0}d=j[a+84>>2];if(d){qe[j[e+8>>2]](e,d)}j[a+84>>2]=0;f=j[a+72>>2];if(f){b=0;while(1){d=b<<4;c=d+j[a+80>>2]|0;if(j[c+4>>2]==1){c=j[c+12>>2];if(c){qe[j[e+8>>2]](e,c)}j[(d+j[a+80>>2]|0)+12>>2]=0;f=j[a+72>>2]}b=b+1|0;if(f>>>0>b>>>0){continue}break}}d=j[a+80>>2];if(d){qe[j[e+8>>2]](e,d)}j[a+80>>2]=0;if(j[a+52>>2]){b=j[a+56>>2];f=0;while(1){d=e;c=j[b>>2];if(c){qe[j[d+8>>2]](d,c)}j[b>>2]=0;d=j[b+24>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+24>>2]=0;b=b+36|0;f=f+1|0;if(f>>>0>2]){continue}break}}if(j[a+64>>2]){b=j[a+68>>2];f=0;while(1){d=e;c=j[b>>2];if(c){qe[j[d+8>>2]](d,c)}j[b>>2]=0;d=j[b+24>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+24>>2]=0;b=b+36|0;f=f+1|0;if(f>>>0>2]){continue}break}}d=e;c=j[a+56>>2];if(c){qe[j[d+8>>2]](d,c)}f=0;j[a+56>>2]=0;c=j[a+68>>2];if(c){qe[j[d+8>>2]](d,c)}j[a+68>>2]=0;b=j[a+104>>2];if(j[a+112>>2]){while(1){c=e;g=j[b>>2];if(g){qe[j[c+8>>2]](c,g)}j[b>>2]=0;c=j[b+24>>2];if(c){qe[j[e+8>>2]](e,c)}j[b+24>>2]=0;b=b+36|0;f=f+1|0;if(f>>>0>2]){continue}break}b=j[a+104>>2]}if(b){qe[j[d+8>>2]](d,b)}f=0;j[a+104>>2]=0;b=j[a+278688>>2];c=j[a+278680>>2];if(c){while(1){g=j[b>>2];if(g){qe[j[e+8>>2]](e,g)}j[b>>2]=0;b=b+4|0;f=f+1|0;if((c|0)!=(f|0)){continue}break}b=j[a+278688>>2]}if(b){qe[j[d+8>>2]](d,b)}f=0;j[a+278688>>2]=0;b=j[a+278668>>2];if(j[a+278672>>2]){while(1){c=j[b>>2];if(c){qe[j[e+8>>2]](e,c)}j[b>>2]=0;if(j[b+4>>2]==1){c=j[b+12>>2];if(c){qe[j[e+8>>2]](e,c)}j[b+12>>2]=0}b=b+16|0;f=f+1|0;if(f>>>0>2]){continue}break}b=j[a+278668>>2]}if(b){qe[j[d+8>>2]](d,b)}j[a+278668>>2]=0}}function YM(a,b,c,d){var e=0,f=q(0),g=q(0),h=q(0),i=0,k=0,l=q(0),m=q(0),o=0;e=oe-48|0;oe=e;a:{if(!(j[a>>2]==268305?a:0)){ve(125709,0);k=-1;break a}if(!(j[b>>2]==268306?b:0)){ve(125954,0);k=-1;break a}if(j[b+36>>2]!=(a|0)){k=ve(126054,0);break a}if(j[a+192>>2]){break a}j[e+32>>2]=0;j[e+36>>2]=0;j[e+40>>2]=j[b+12>>2];j[e+44>>2]=j[b+16>>2];if(c){if(!Tg(c,e+32|0,e+32|0)){break a}}Oe(e,0,16);b:{if(j[a>>2]!=268305){ve(125709,0);c=j[e+12>>2];i=j[e+8>>2];break b}c=e;g=n[a+288>>2];h=q(q(j[a+216>>2])/g);c:{if(q(r(h))>2]=i;c=e;h=n[a+292>>2];f=q(q(j[a+220>>2])/h);d:{if(q(r(f))>2]=i;c=e;g=q(q(j[a+224>>2])/g);e:{if(q(r(g))>2]=i;o=e;g=q(q(j[a+228>>2])/h);f:{if(q(r(g))>2]=c}g=q(c|0);h=q(i|0);if(d){f=n[d+8>>2];if((c|0)<1|f<=q(0)|(i|0)<1){break a}l=n[d+12>>2];if(l<=q(0)){break a}m=f;f=n[d>>2];m=q(m+f);if((h>2];f=q(l+h);if((g>2];j[e+24>>2]=j[d+8>>2];j[e+28>>2]=c;c=j[d+4>>2];j[e+16>>2]=j[d>>2];j[e+20>>2]=c;h=n[e+24>>2];l=n[e+16>>2];g=n[e+28>>2];f=n[e+20>>2]}else{f=q(0)}c=j[b+40>>2];m=n[a+288>>2];n[e+16>>2]=m*l;l=n[a+292>>2];n[e+24>>2]=m*h;n[e+28>>2]=l*g;n[e+20>>2]=l*f;b=c?c:b;j[b+72>>2]=j[a+352>>2];c=XM(a,b);if(!c){k=-1;break a}k=qe[j[a+40>>2]](a,c,b,e+32|0,e+16|0)|0;if((k|0)<=-1){j[c>>2]=0;break a}k=0;if(j[a+336>>2]){break a}c=j[a+340>>2];if(!c){break a}b=a+420|0;k=qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[c+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}oe=e+48|0;return k}function eI(a){var b=0,c=0,d=0,e=0,f=0,g=0,k=0,m=0;a:{b:{c:{if(!j[65534]){ve(1877,0);if(!a){break c}break a}if(!a){ve(1901,0);return 0}d=qe[j[a+4>>2]](a,0,0,1)|0;b=pe;if((b|0)<-1?1:(b|0)<=-1){ve(1927,0);break a}e=Se(21692);if(!e){ve(1948,0);break a}b=Ee(e,0,21692);j[b+21648>>2]=1;j[b+21644>>2]=a;c=Se(40);if(!c){ve(1948,0);break b}j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+20>>2]=3;j[c+12>>2]=a;j[c+8>>2]=d;k=c,m=(qe[j[a>>2]](a)|0)-d|0,j[k+4>>2]=m;j[b+21668>>2]=c;j[b+21652>>2]=2;if(ym(j[65535],b+21652|0,0,b)){ve(1962,0);break b}c=j[b>>2];f=j[c+36>>2];d:{if((f|0)<1){break d}g=j[c+40>>2];a=0;e:{f:{while(1){g:{h:{i:{d=j[(a<<2)+g>>2];switch(l[d+8>>1]){case 0:break f;case 2:break h;case 3:break i;default:break g}}if(l[d+10>>1]>=2){break g}break e}if(l[d+10>>1]==1){break e}}a=a+1|0;if((f|0)>(a|0)){continue}break}d=0}if(!d){break d}}Ph(c,d)}a=j[b>>2];j:{if(h[c+8|0]&1){if(HK(a)){ve(1986,0);break b}a=j[j[c+88>>2]+20>>2];k=b,m=(ye(i[c+70>>1],a)+63&-64)/64|0,j[k+8>>2]=m;d=(ye(i[c+72>>1],a)+63&-64)/64|0;j[b+12>>2]=d;j[b+4>>2]=(j[b+8>>2]-d|0)+1;k=b,m=(ye(i[c+74>>1],a)+63&-64)/64|0,j[k+16>>2]=m;k=b,m=(ye(i[c+80>>1],a)&-64)/64|0,j[k+44>>2]=m;a=(ye(i[c+82>>1],a)&-64)/64|0;j[b+48>>2]=a;d=b+48|0;break j}a=j[a+28>>2];a=(a|0)>10?10:a-1|0;j[b+21684>>2]=a;a=a<<4;d=a+j[c+32>>2]|0;if(xK(c,i[d+2>>1],i[d>>1])){ve(1986,0);break b}a=i[a+j[c+32>>2]>>1];j[b+12>>2]=0;j[b+8>>2]=a;j[b+4>>2]=a;j[b+16>>2]=(a+63&-64)/64;j[b+44>>2]=((l[c+80>>1]&65472)<<16>>16)/64<<16>>16;a=((l[c+82>>1]&65472)<<16>>16)/64<<16>>16;j[b+48>>2]=a;d=b+48|0}if((a|0)<=0){j[d>>2]=1}d=j[b>>2];a=j[d+12>>2]>>>1&1;j[b+20>>2]=a;if(h[d+12|0]&1){a=a|2;j[b+20>>2]=a}j[b+28>>2]=0;j[b+32>>2]=1;j[b+24>>2]=a;a=l[j[c+88>>2]+14>>1];n[b+40>>2]=q(j[b+4>>2])*q(.2070000022649765);j[b+36>>2]=(a>>>0)/10}return e}Cq(b);return 0}qe[j[a+16>>2]](a)|0;return 0}function bl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,q=0,r=0;o=j[a+88>>2];j[c>>2]=0;a:{b:{if(k[a+780|0]){d=j[a+776>>2];e=j[a+760>>2];break b}j[a+760>>2]=0;j[a+764>>2]=0;j[a+768>>2]=0;j[a+772>>2]=0;j[a+776>>2]=0;j[a+780>>2]=0;i=8;d=l[a+152>>1];if(!d){break a}e=j[a+156>>2];d=e+(d<<4)|0;n=j[a+104>>2];while(1){c:{if(j[e>>2]==1111770656){f=j[e+12>>2];if(f){break c}}e=e+16|0;if(d>>>0>e>>>0){continue}break a}break}if(Fe(n,j[e+8>>2])|f>>>0<8){break a}g=a+760|0;if(Zf(n,f,g)){break a}e=j[a+760>>2];j[a+764>>2]=f+e;d:{e:{if((k[e+1|0]|k[e|0]<<8)!=1){break e}d=k[e+4|0]|k[e+5|0]<<8|(k[e+6|0]<<16|k[e+7|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(i>>>0<8|f>>>0>>0){break e}d=k[e+3|0]|k[e+2|0]<<8;if(d>>>0>i-8>>>2>>>0){break e}j[a+772>>2]=f-i;q=e+i|0;j[a+768>>2]=q;j[a+776>>2]=d;f=e+8|0;m=f+(d<<2)|0;if(d){i=d;while(1){m=p(k[f+3|0]|k[f+2|0]<<8,10)+m|0;f=f+4|0;i=i-1|0;if(i){continue}break}}if(m>>>0<=q>>>0){break d}}jf(n,g);j[g+16>>2]=0;j[g+20>>2]=0;j[g+8>>2]=0;j[g+12>>2]=0;j[g>>2]=0;j[g+4>>2]=0;return 8}h[a+780|0]=1}i=6;if(!b|!o){break a}n=Le(b);if(!n|!d){break a}e=e+8|0;f=e+(d<<2)|0;g=l[o+14>>1];while(1){m=k[e+3|0]|k[e+2|0]<<8;if((g|0)==(k[e+1|0]|k[e|0]<<8)){if(!m){break a}while(1){f:{o=k[f+5|0];if(!(o&16)){break f}e=j[a+772>>2];d=k[f|0]|k[f+1|0]<<8|(k[f+2|0]<<16|k[f+3|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(e>>>0<=g>>>0){break f}q=e-g|0;if(q>>>0<=n>>>0){break f}d=k[f+6|0]|k[f+7|0]<<8|(k[f+8|0]<<16|k[f+9|0]<<24);r=g;g=j[a+768>>2];if(Qe(b,r+g|0,q)){break f}d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);g:{switch(o&15){case 0:case 1:if(d>>>0>=e>>>0){break f}d=d+g|0;if(!Mh(d,0,e)){break f}j[c+4>>2]=d;j[c>>2]=1;return 0;case 2:j[c+4>>2]=d;j[c>>2]=2;return 0;case 3:break g;default:break f}}j[c+4>>2]=d;j[c>>2]=3;return 0}f=f+10|0;m=m-1|0;if(m){continue}break}break a}e=e+4|0;f=p(m,10)+f|0;d=d-1|0;if(d){continue}break}}return i|0}function En(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-10096|0;oe=c;e=j[b+100>>2];Ee(c+3216|4,0,2996);j[c+3216>>2]=e;j[a+1624>>2]=0;j[a+52>>2]=0;d=j[(j[j[a>>2]+8>>2]<<2)+4864>>2];g=j[d+8>>2];e=0;f=j[j[a+36>>2]>>2];a:{if(!f){break a}f=j[f+92>>2];if(!f){break a}e=qe[j[j[f+12>>2]+12>>2]](f,g)|0}b:{c:{if(e){break c}g=j[d+12>>2];if(!g){break b}e=0;f=j[j[a+36>>2]>>2];d:{if(!f){break d}f=j[f+92>>2];if(!f){break d}e=qe[j[j[f+12>>2]+12>>2]](f,g)|0}if(e){break c}f=j[d+16>>2];if(!f){break b}e=0;d=j[j[a+36>>2]>>2];e:{if(!d){break e}d=j[d+92>>2];if(!d){break e}e=qe[j[j[d+12>>2]+12>>2]](d,f)|0}if(!e){break b}}if(Th(b,e,1)){break b}e=j[b+84>>2];if(i[e+110>>1]<1){break b}Ee(c+16|0,0,3188);d=j[a+40>>2];j[c+32>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;j[c+44>>2]=0;j[c+24>>2]=65536;j[c+28>>2]=65536;j[c+56>>2]=d;j[c+20>>2]=b;j[c+6196>>2]=0;j[c+6204>>2]=c+16;if(Qi(c+3216|0,e+108|0)){break b}j[c+12>>2]=0;if(fi(c+3216|0,0)){break b}e=0;Pi(c+3216|0,0,0,0);d=j[c+3260>>2];if((d|0)>=1){b=j[c+3268>>2];f=b+p(d,48)|0;while(1){d=j[b+20>>2];if(!(!d|b>>>0>=d>>>0|(j[d+20>>2]!=(b|0)|e>>>0>15))){g=i[b+2>>1]-i[d+2>>1]|0;d=g>>31;j[(p(e,12)+a|0)+56>>2]=d^d+g;e=e+1|0}b=b+48|0;if(f>>>0>b>>>0){continue}break}j[c+12>>2]=e}yj(c+12|0,a+56|0,m[c+56>>2]/100|0);j[a+52>>2]=j[c+12>>2];e=0;j[c+12>>2]=0;if(fi(c+3216|0,1)){break b}Pi(c+3216|0,0,0,1);d=j[c+4728>>2];if((d|0)>=1){b=j[c+4736>>2];f=b+p(d,48)|0;while(1){d=j[b+20>>2];if(!(!d|b>>>0>=d>>>0|(j[d+20>>2]!=(b|0)|e>>>0>15))){g=i[b+2>>1]-i[d+2>>1]|0;d=g>>31;j[(p(e,12)+a|0)+1628>>2]=d^d+g;e=e+1|0}b=b+48|0;if(f>>>0>b>>>0){continue}break}j[c+12>>2]=e}yj(c+12|0,a+1628|0,m[c+56>>2]/100|0);j[a+1624>>2]=j[c+12>>2]}if(j[a+52>>2]){b=j[a+56>>2]}else{b=(p(j[a+40>>2],50)|0)/2048|0}h[a+256|0]=0;j[a+252>>2]=b;j[a+248>>2]=(b|0)/5;if(j[a+1624>>2]){b=j[a+1628>>2]}else{b=(p(j[a+40>>2],50)|0)/2048|0}h[a+1828|0]=0;j[a+1824>>2]=b;j[a+1820>>2]=(b|0)/5;Zk(c+3216|0);oe=c+10096|0}function dN(a){var b=0,c=0,d=0,e=q(0),f=0,g=0,h=q(0),i=q(0),l=q(0);b=oe-32|0;oe=b;j[b+28>>2]=1;j[b+24>>2]=1;a:{if(!j[a+196>>2]|!j[a+200>>2]){break a}if((vm(a,b+28|0,b+24|0)|0)<0){break a}d=bg(126234);b:{if(!d){break b}if(k[d|0]!=49){if(Me(d,126263)){break b}}c=1}e=q(j[b+24>>2]);h=q(j[b+28>>2]);i=q(j[a+200>>2]);l=q(j[a+196>>2]);c:{if(j[a>>2]!=268305){ve(125709,0);break c}j[a+288>>2]=1065353216;j[a+292>>2]=1065353216}e=q(h/e);h=q(l/i);d:{if(j[a+212>>2]){g=b;e:{if(!(e>2];d=j[b+28>>2]/(c|0)|0;break e}c=j[a+196>>2];d=j[b+24>>2]/j[a+200>>2]|0}e=q(d|0);f=w(+q(e*q(c|0)));f:{if(r(f)<2147483648){c=~~f;break f}c=-2147483648}j[g+16>>2]=c;j[b+8>>2]=(j[b+28>>2]-c|0)/2;g=b;f=w(+q(e*q(j[a+200>>2])));g:{if(r(f)<2147483648){c=~~f;break g}c=-2147483648}j[g+20>>2]=c;j[b+12>>2]=(j[b+24>>2]-c|0)/2;zh(a,b+8|0);break d}if(!(r(+q(h-e))<1e-4^1)){d=j[a+196>>2];c=j[b+28>>2];zh(a,0);e=q(q(c|0)/q(d|0));break d}if(!(e>2];d=j[b+24>>2];j[b+20>>2]=d;j[b+12>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+196>>2])));h:{if(r(f)<2147483648){c=~~f;break h}c=-2147483648}j[g+16>>2]=c;j[b+8>>2]=(j[b+28>>2]-c|0)/2;zh(a,b+8|0);break d}c=j[a+196>>2];d=j[b+28>>2];j[b+16>>2]=d;j[b+8>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+200>>2])));i:{if(r(f)<2147483648){c=~~f;break i}c=-2147483648}j[g+20>>2]=c;j[b+12>>2]=(j[b+24>>2]-c|0)/2;zh(a,b+8|0);break d}if(c){c=j[a+196>>2];d=j[b+28>>2];j[b+16>>2]=d;j[b+8>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+200>>2])));j:{if(r(f)<2147483648){c=~~f;break j}c=-2147483648}j[g+20>>2]=c;j[b+12>>2]=(j[b+24>>2]-c|0)/2;zh(a,b+8|0);break d}c=j[a+200>>2];d=j[b+24>>2];j[b+20>>2]=d;j[b+12>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+196>>2])));k:{if(r(f)<2147483648){c=~~f;break k}c=-2147483648}j[g+16>>2]=c;j[b+8>>2]=(j[b+28>>2]-c|0)/2;zh(a,b+8|0)}if(j[a>>2]!=268305){ve(125709,0);break a}n[a+288>>2]=e;n[a+292>>2]=e}oe=b+32|0}function jg(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;f=oe-48|0;oe=f;j[a+8>>2]=0;l=j[a+4>>2];if(l){j[j[a>>2]>>2]=9633;j[j[a>>2]+4>>2]=9633;j[j[a>>2]+8>>2]=9633;j[j[a>>2]+12>>2]=9633;j[j[a>>2]+16>>2]=9633}a:{if(!d){break a}i=k[c|0];if(!i){break a}m=6;if(!b){break a}e=k[b|0];if(!e){break a}j[f+24>>2]=0;j[f+28>>2]=0;j[f+16>>2]=0;j[f+20>>2]=0;j[f+8>>2]=0;j[f+12>>2]=0;j[f>>2]=0;j[f+4>>2]=0;while(1){b:{c:{d:{g=e&255;if((g|0)!=43){if(!g){break d}g=k[b+1|0];break c}g=k[b+1|0];if(g){break c}n=1;g=0;break b}e:{if((d|0)<1){d=0;b=0;break e}l=c+d|0;while(1){e=c;while(1){f:{if(k[((i&248)>>>3|0)+f|0]>>>(i&7)&1){g=e;break f}i=k[e+1|0];g=e+1|0;e=g;if(i){continue}}break}e=a;b=j[a+8>>2];g:{if((b|0)!=j[a+4>>2]){d=b;break g}j[f+44>>2]=0;d=-1;if((b|0)==-1){break g}if((b|0)==536870911){m=64;break a}i=b;d=(b+(b>>>1|0)|0)+5|0;b=b>>>0>d>>>0?536870911:d>>>0>536870911?536870911:d;o=a,p=xe(j[a+12>>2],4,i,b,j[a>>2],f+44|0),j[o>>2]=p;m=j[f+44>>2];if(m){break a}j[a+4>>2]=b;d=j[a+8>>2]}j[e+8>>2]=d+1;j[j[a>>2]+(d<<2)>>2]=c>>>0>>0?c:9633;e=k[g|0];h:{i:{if(n){d=0;b=g;if(!(e&255)){i=0;c=g;break h}while(1){j:{if(!(k[((e&248)>>>3|0)+f|0]>>>(e&7)&1)){i=e;c=b;break j}i=0;h[b|0]=0;e=k[b+1|0];c=b+1|0;b=c;if(e){continue}}break}if(c>>>0<=g>>>0){break h}break i}if(!(e&255)){i=0;c=g;d=0;break h}h[g|0]=0;c=g+1|0;i=k[g+1|0]}d=!(i&255)}if(i&255?c>>>0>>0:0){continue}break}l=j[a+4>>2];b=j[a+8>>2]}b=b+d|0;k:{if(b>>>0>>0){break k}j[f+44>>2]=0;if(b+1>>>0<=l>>>0){break k}m=64;if((l|0)==536870911){break a}b=((l>>>1|0)+l|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;o=a,p=xe(j[a+12>>2],4,l,b,j[a>>2],f+44|0),j[o>>2]=p;m=j[f+44>>2];if(m){break a}j[a+4>>2]=b}l:{if(!d){i=j[a+8>>2];break l}b=j[a+8>>2];i=b+1|0;j[a+8>>2]=i;j[j[a>>2]+(b<<2)>>2]=9633}m=0;j[j[a>>2]+(i<<2)>>2]=0;break a}m=((e&248)>>>3|0)+f|0;h[m|0]=k[m|0]|1<<(e&7)}b=b+1|0;e=g;continue}}oe=f+48|0;return m}function Vq(){var a=0,b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;if(j[67085]){Zj()}Dq();a=-1;a:{if((Ji(16384)|0)<0){break a}Ge(266004,121600,2048);if((fO()|0)<0){break a}b:{b=Qf(150247);c:{if(b){d:{if(om(j[58754],b,Le(b))){break d}if(!(qe[j[58756]]()|0)){break d}a=qe[j[58757]](0)|0;if(a){break c}}j[d>>2]=b;a=ve(150263,d);break a}if(!(qe[j[58756]]()|0)){break b}a=qe[j[58757]](0)|0;if(!a){break b}}j[67085]=a;b=j[58754];j[a+692>>2]=0;j[a+320>>2]=1;j[a>>2]=b;j[a+336>>2]=2;j[a+340>>2]=0;j[a+328>>2]=3;j[a+332>>2]=3;j[a+360>>2]=0;j[a+364>>2]=0;j[a+352>>2]=0;j[a+356>>2]=1;j[a+344>>2]=16;j[a+348>>2]=0;j[a+368>>2]=0;j[a+372>>2]=0;j[a+376>>2]=0;j[a+380>>2]=0;j[a+428>>2]=1;j[a+432>>2]=0;j[a+384>>2]=0;j[a+388>>2]=-1;b=j[a+208>>2];e:{if(b){qe[b|0](a,a+404|0,a+392|0,a+396|0);a=j[67085];break e}j[a+404>>2]=4;j[a+392>>2]=2;j[a+396>>2]=0}j[a+424>>2]=0;j[a+400>>2]=0;j[a+416>>2]=0;j[a+420>>2]=0;j[a+408>>2]=0;j[a+412>>2]=1;a=j[67079];j[67079]=a+1;j[j[67085]+704>>2]=a+1;a=j[67079];j[67079]=a+1;b=j[67085];j[b+708>>2]=a+1;a=-1;if((qe[j[b+4>>2]](b)|0)<=-1){Zj();break a}a=j[67085];if(!j[a+300>>2]){Zj();a=ve(150306,0);break a}f:{if(j[a+136>>2]){if(j[a+292>>2]){break f}a=bg(151560);if(a){if(!Me(a,151578)){break f}}a=bg(151587);if(!a|k[a|0]==48){break f}if(!Me(a,151616)){break f}a=j[67085]}j[a+144>>2]=929;j[a+140>>2]=930;j[a+136>>2]=931}g:{h:{if(sg(150348,0)){break h}a=j[67085];if(!a){break g}if(j[a+296>>2]){break h}j[a+296>>2]=1;b=j[a+236>>2];if(!b){break h}qe[b|0](a)}b=j[67085];if(!b){break g}c=j[b+252>>2];if(!c){break g}a=0;if(qe[c|0](b)|0){break a}}We(771,1);We(770,1);a=0;b=j[67085];if(!b){break a}c=j[b+308>>2];i:{if(!c){break i}j:{while(1){if(!(k[c+49|0]&2)){c=j[c+152>>2];if(c){continue}break j}break}e=j[b+256>>2];if(!e){break i}qe[e|0](b,c);b=j[67085]}if(!b){break a}}c=j[b+240>>2];if(!c){break a}qe[c|0](b);break a}a=ve(150280,0)}oe=d+16|0;return a}function Km(a,b,c,d,e,f){var g=0,l=0,m=0,n=0,s=0;a:{g=Xe(1,264);b:{if(g){j[g+236>>2]=4096;j[g+216>>2]=f;h[g+214|0]=e;i[g+212>>1]=d;j[g+204>>2]=c;h[g+202|0]=b;i[g+200>>1]=a;j[g+172>>2]=1;m=b>>>0>>0?b:e;h[g+232|0]=m;o[g+224>>3]=+(f|0)/+(c|0);j[g+208>>2]=p(d>>>3&31,e);j[g+196>>2]=p(a>>>3&31,b);s=g;l=0;c:{if((c|0)==(f|0)){break c}l=512;if((c|0)<=(f|0)){break c}n=w(+q(q(c<<9)/q(f|0)));if(r(n)<2147483648){l=~~n;break c}l=-2147483648}l=p(l,m);j[s+240>>2]=l;l=Xe(l?l:1,4);j[g+244>>2]=l;if(!l){break a}l=p(j[g+196>>2],j[g+240>>2]/k[g+232|0]|0);j[g+180>>2]=l;d:{if((l|0)<1){break d}l=qe[j[57972]](l?l:1)|0;if(l){j[57976]=j[57976]+1}j[g+176>>2]=l;if(l){break d}break a}e:{f:{if((c|0)==(f|0)){j[g>>2]=0;if((Lm(g+84|0,a,b,f,d,e,f)|0)>-1){break f}a=j[g+260>>2];if(a){qe[a|0](g)}eh(j[g+168>>2]);break e}if((Lm(g,a,b,c,33056,m,c)|0)<=-1){a=j[g+260>>2];if(a){qe[a|0](g)}eh(j[g+168>>2]);break e}if(!j[g+252>>2]){a=Xe(j[g+240>>2],4);j[g+248>>2]=a;if(!a){break a}if((rs()|0)<=-1){a=j[g+248>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[g+248>>2]=0;a=j[g+260>>2];if(a){qe[a|0](g)}eh(j[g+168>>2]);break e}j[g+260>>2]=629;j[g+256>>2]=630;j[g+252>>2]=631}if((Lm(g+84|0,33056,m,f,d,e,f)|0)>-1){break f}a=j[g+260>>2];if(a){qe[a|0](g)}eh(j[g+168>>2]);break e}a=Qm(4096,8192);j[g+168>>2]=a;if(a){break b}a=j[g+260>>2];if(a){qe[a|0](g);a=j[g+168>>2]}else{a=0}eh(a)}a=j[g+176>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+188>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+244>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(g){qe[j[57975]](g);j[57976]=j[57976]-1}}g=0}return g}a=j[g+260>>2];if(a){qe[a|0](g)}eh(j[g+168>>2]);a=j[g+176>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+188>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+244>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(g){qe[j[57975]](g);j[57976]=j[57976]-1}Be(0);return 0}function Gv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0;i=oe-16|0;oe=i;f=j[a+488>>2];e=j[b+8>>2];qe[j[b+28>>2]](b);d=j[b>>2];a:{if(e>>>0<=d>>>0){j[b+12>>2]=3;break a}l=k[d|0];if(!(l-48>>>0>9?(l|0)!=91:0)){g=j[b+16>>2];b:{if((l|0)==91){j[b>>2]=d+1;c=256;break b}c=qe[j[b+36>>2]](b)|0}qe[j[b+28>>2]](b);if(m[b>>2]>=e>>>0){break a}n=c;j[a+372>>2]=c;j[b+88>>2]=c;r=a,s=xe(g,2,0,c,0,i+12|0),j[r+384>>2]=s;c:{c=j[i+12>>2];if(c){break c}r=a,s=xe(g,4,0,n,0,i+12|0),j[r+388>>2]=s;c=j[i+12>>2];if(c){break c}o=b+92|0;c=qe[j[j[f>>2]>>2]](o,n,g)|0;j[i+12>>2]=c;if(c){break c}if((n|0)>=1){c=0;while(1){qe[j[b+136>>2]](o,c,94399,8)|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}qe[j[b+28>>2]](b);c=j[b>>2];d:{if(e>>>0<=c>>>0){break d}p=(l|0)==91;g=0;while(1){e:{f:{g:{f=k[c|0];switch(f-93|0){case 0:break f;case 7:break g;default:break e}}d=c+3|0;if(k[c+1|0]!=101|e>>>0<=d>>>0|k[c+2|0]!=102){break e}switch(k[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break d;default:break e}}d=c+1|0;break d}h:{if(!(f-48>>>0>9?!p:0)){f=g;if(!p){f=qe[j[b+36>>2]](b)|0;qe[j[b+28>>2]](b);c=j[b>>2]}d=c;if(!((g|0)>=(n|0)|c+2>>>0>=e>>>0|k[c|0]!=47)){d=d+1|0;j[b>>2]=d;qe[j[b+32>>2]](b);c=j[b>>2];if(j[b+12>>2]|c>>>0>=e>>>0){break a}q=c-d|0;c=qe[j[b+136>>2]](o,f,d,q+1|0)|0;j[b+12>>2]=c;if(c){break a}h[q+j[j[b+116>>2]+(f<<2)>>2]|0]=0;g=g+1|0;break h}if((l|0)!=91){break h}j[b+12>>2]=2;break a}qe[j[b+32>>2]](b);d=c;if(j[b+12>>2]){break a}}qe[j[b+28>>2]](b);c=j[b>>2];if(e>>>0>c>>>0){continue}break}}j[a+368>>2]=1;j[b>>2]=d;break a}j[b+12>>2]=c;break a}i:{if(d+17>>>0>=e>>>0){break i}if(Qe(d,95366,16)){break i}j[a+368>>2]=2;break a}j:{if(d+15>>>0>=e>>>0){break j}if(Qe(d,95383,14)){break j}j[a+368>>2]=4;break a}k:{if(d+18>>>0>=e>>>0){break k}if(Qe(d,95398,17)){break k}j[a+368>>2]=3;break a}j[b+12>>2]=162}oe=i+16|0}function fl(a,b,c,d,e){var f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j[a+180>>2]=d;q=a+180|0;j[a+52>>2]=q;g=j[a+72>>2];j[a+196>>2]=j[a+68>>2];j[a+200>>2]=g;j[a+192>>2]=c;j[a+188>>2]=b;j[a+184>>2]=e;e=q;while(1){n=j[e+4>>2];f=j[e+20>>2];b=(n|0)<(f|0);a:{o=j[e+12>>2];if(!((o|0)<=((b?f:n)|0)?(o|0)>=((b?n:f)|0):0)){b=j[e+16>>2];j[e+32>>2]=b;j[e+36>>2]=f;c=(f+o|0)/2|0;j[e+28>>2]=c;g=(n+o|0)/2|0;j[e+12>>2]=g;f=j[e+8>>2];o=(f+d|0)/2|0;j[e+8>>2]=o;b=(b+f|0)/2|0;j[e+24>>2]=b;j[e+20>>2]=(c+g|0)/2;j[e+16>>2]=(b+o|0)/2;j[a+52>>2]=e+16;break a}if((f|0)==(n|0)){j[a+52>>2]=e-16;break a}s=(f|0)<(n|0)?1:2;c=j[a+100>>2];if((s|0)!=(c|0)){b=j[a+4>>2];t=(f|0)>=(n|0);g=((b+f|0)-1&0-b)-f|0;b:{if(!t){break b}g=f&b-1}r=j[a+8>>2];if(c){b=j[a+40>>2];p=j[a+88>>2];c=b-j[p+8>>2]|0;if((c|0)<=-1){j[a+44>>2]=99;return 1}c:{if(!c){c=b;break c}j[p+16>>2]=c>>2;if((g|0)>=(r|0)){c=l[p+12>>1];i[p+12>>1]=(c&8?16:32)|c}j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c;j[b+8>>2]=c;j[b+16>>2]=0;j[p+28>>2]=b;i[a+84>>1]=l[a+84>>1]+1}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}h[a+87|0]=0}d:{if(j[a+92>>2]){c=j[a+40>>2];break d}b=j[a+40>>2];j[a+92>>2]=b;j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}b=j[a+88>>2];j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=c;j[b+28>>2]=0;j[b+4>>2]=0;c=k[a+176|0];i[b+12>>1]=c;e:{if(!t){i[b+12>>1]=c|8;if((g|0)<(r|0)){break e}i[b+12>>1]=c|40;break e}if((g|0)<(r|0)){break e}i[b+12>>1]=c|16}if(!j[a+96>>2]){j[a+96>>2]=b}i[a+86>>1]=1;j[a+100>>2]=s}b=j[a+80>>2];c=j[a+76>>2];if((f|0)<(n|0)){if(!Aj(a,2,252,c,b)){break a}return 1}j[e+20>>2]=0-f;j[e+12>>2]=0-o;j[e+4>>2]=0-n;g=k[a+86|0];b=Aj(a,2,252,0-b|0,0-c|0);if(!(k[a+86|0]|!g)){c=j[a+88>>2];j[c+20>>2]=0-j[c+20>>2]}j[e+4>>2]=0-j[e+4>>2];if(!b){break a}return 1}e=j[a+52>>2];if(q>>>0<=e>>>0){d=j[e>>2];continue}break}j[a+72>>2]=n;j[a+68>>2]=d;return 0}function yq(a,b,c,d,e,f,g){var h=0,i=0,j=q(0),k=0,l=q(0),m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=q(0),y=0,z=q(0),A=q(0),B=q(0),C=0,D=0,E=q(0),F=q(0),G=q(0),H=q(0),I=q(0),J=q(0),K=q(0),L=q(0),M=q(0),N=q(0),O=q(0),P=q(0),Q=q(0),R=q(0);v=p(a,b);D=v<<1;if((b|0)>=1){y=a<<1;k=p(v,3);m=v;h=D;while(1){t=(m<<2)+c|0;w=(k<<2)+c|0;l=q(n[t>>2]+n[w>>2]);o=i<<2;r=o+c|0;u=(h<<2)+c|0;j=q(n[r>>2]+n[u>>2]);n[(i<<4)+d>>2]=l+j;i=a+i|0;n[((i<<4)+d|0)-4>>2]=j-l;o=(o+y<<2)+d|0;n[o-4>>2]=n[r>>2]-n[u>>2];n[o>>2]=n[w>>2]-n[t>>2];h=a+h|0;k=a+k|0;m=a+m|0;s=s+1|0;if((s|0)!=(b|0)){continue}break}}a:{if((a|0)<2){break a}if((a|0)!=2){if((b|0)>=1){C=a<<1;s=0;u=0;while(1){i=u<<2;k=C+i|0;m=2;h=u;while(1){o=h+2|0;E=n[(o<<2)+c>>2];t=m<<2;y=t-8|0;F=n[y+e>>2];w=o+v|0;r=(w<<2)+c|0;G=n[r-4>>2];t=t-4|0;H=n[t+e>>2];I=n[r>>2];J=q(q(F*G)+q(H*I));K=n[g+y>>2];w=v+w|0;r=(w+v<<2)+c|0;L=n[r-4>>2];M=n[g+t>>2];N=n[r>>2];O=q(q(K*L)+q(M*N));P=q(J+O);z=n[f+y>>2];r=(w<<2)+c|0;A=n[r-4>>2];l=n[f+t>>2];j=n[r>>2];B=q(q(z*A)+q(l*j));x=n[((h<<2)+c|0)+4>>2];Q=q(B+x);n[(i<<2|4)+d>>2]=P+Q;i=i+2|0;R=q(q(z*j)-q(A*l));z=q(E+R);l=q(q(F*I)-q(G*H));j=q(q(K*N)-q(L*M));A=q(l+j);n[(i<<2)+d>>2]=z+A;B=q(x-B);x=q(l-j);n[((k<<2)+d|0)-12>>2]=B-x;k=k-2|0;l=q(O-J);j=q(E-R);n[(k<<2)+d>>2]=l-j;h=(i+C<<2)+d|0;n[h>>2]=j+l;n[h-4>>2]=x+B;h=(k+C<<2)+d|0;n[h>>2]=A-z;n[h-4>>2]=Q-P;h=o;m=m+2|0;if((m|0)<(a|0)){continue}break}u=a+u|0;s=s+1|0;if((s|0)!=(b|0)){continue}break}}if(a&1){break a}}if((b|0)<1){break a}u=a<<1;o=a<<2;i=(a+v|0)-1|0;m=D+i|0;s=0;k=a;h=a;while(1){g=(k<<2)+d|0;e=((h<<2)+c|0)-4|0;x=n[(i<<2)+c>>2];l=n[(m<<2)+c>>2];j=q(q(x-l)*q(.7071067690849304));n[g-4>>2]=n[e>>2]+j;f=(k+u<<2)+d|0;n[f-4>>2]=n[e>>2]-j;j=q(q(x+l)*q(-.7071067690849304));e=(i+v<<2)+c|0;n[g>>2]=j-n[e>>2];n[f>>2]=j+n[e>>2];h=a+h|0;k=k+o|0;m=a+m|0;i=a+i|0;s=s+1|0;if((s|0)!=(b|0)){continue}break}}}function Sl(a,b,c,d,e,f){var g=0,h=0,i=0,l=0,m=0;l=oe-48|0;oe=l;a:{b:{if(f){break b}h=-128;f=Pf(a,l+32|0,65536,0);i=pe;g=i;if((f|0)==-128&(g|0)==-1){break a}f=l+32|0;if((g|0)>0?1:(g|0)>=0){break b}h=-132;break a}PE(b);j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[a+88>>2]=2;c:{d:{if(!(k[j[f>>2]+5|0]&2)){break d}i=a+120|0;while(1){if(d){h=j[f>>2];m=k[h+14|0]|k[h+15|0]<<8|(k[h+16|0]<<16|k[h+17|0]<<24);e:{h=j[d>>2];g=j[e>>2];if(!h|!g){break e}while(1){if((m|0)!=j[h>>2]){h=h+4|0;g=g-1|0;if(g){continue}break e}break}f=j[d>>2];if(f){ze(f)}j[d>>2]=0;j[e>>2]=0;d=-133;break c}g=j[f>>2];m=k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24);h=j[e>>2]+1|0;j[e>>2]=h;g=j[d>>2];f:{if(g){g=Vf(g,h<<2);j[d>>2]=g;h=j[e>>2];break f}g=Se(4);j[d>>2]=g}j[((h<<2)+g|0)-4>>2]=m}g:{if(j[a+88>>2]>2){break g}g=j[f>>2];qh(i,k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24));Pg(i,f);if((ng(i,l)|0)<1){break g}if(!OE(l)){break g}j[a+88>>2]=3;if(!qq(b,c,l)){break g}d=-133;break c}g=Pf(a,f,65536,0);h=pe;m=h;if((g|0)==-128&(h|0)==-1){d=-128;break c}if((m|0)<0){d=-132;break c}h:{if(j[a+88>>2]!=3){break h}g=j[f>>2];if(j[a+456>>2]!=(k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24))){break h}Pg(i,f);break d}if(k[j[f>>2]+5|0]&2){continue}break}}d=-132;if(j[a+88>>2]!=3){break c}m=a+120|0;e=0;g=0;while(1){d=-133;i:{switch(ng(m,l)+1|0){default:d=qq(b,c,l);if(d){break c}h=0;e=e+1|0;if((e|0)!=2){continue}break a;case 1:break i;case 0:break c}}h=0;if((e|0)>1){break a}Pf(a,f,65536,0);if((pe|0)<0){break c}while(1){i=j[f>>2];if(j[a+456>>2]!=(k[i+14|0]|k[i+15|0]<<8|(k[i+16|0]<<16|k[i+17|0]<<24))){j:{if(!(k[j[f>>2]+5|0]&2)){i=g;break j}i=1;if(g){break c}}g=i;Pf(a,f,65536,0);i=pe;if((i|0)>0?1:(i|0)>=0){continue}break c}break}Pg(m,f);if((e|0)<2){continue}break}break a}Yi(b);Zi(c);j[a+88>>2]=2;h=d}oe=l+48|0;return h}function qK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;i=j[a+36>>2];b=j[a+20>>2];l=j[a+16>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{f=j[a+44>>2];if(j[f+24>>2]){if(!g){break a}d=k[a+63|0]>>>k[f+31|0]<>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=1;continue;case 1:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=2;continue;case 2:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=3;continue;case 3:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=4;continue;case 4:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=5;continue;case 5:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=6;continue;case 6:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=7;continue;default:break e}}a=g-1|0;j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+i|0;c=c+l|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}a=j[a+40>>2];d=j[a+16>>2]|j[a+12>>2]|j[a+20>>2];h=e&7;f=(e+7|0)/8|0;g:while(1){e=f;h:{i:{switch(h-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=1;continue;case 1:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=2;continue;case 2:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=3;continue;case 3:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=4;continue;case 4:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=5;continue;case 5:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=6;continue;case 6:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=7;continue;default:break j}}a=g-1|0;j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+i|0;c=c+l|0;g=a;if(a){continue g}break a}a=0;continue}}}}function vF(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0;d=bf(1,40);j[d+36>>2]=1;a:{b:{if((Ce(a,24)|0)!=5653314){break b}g=d,i=Ce(a,16),j[g>>2]=i;b=Ce(a,24);j[d+4>>2]=b;if((b|0)==-1){break b}b=j[d>>2];c=b?32-s(b)|0:0;b=j[d+4>>2];if((c+(b?32-s(b)|0:0)|0)>24){break b}c:{d:{e:{switch(Ce(a,1)|0){case 0:b=Ce(a,1);if(p(b?1:5,j[d+4>>2])+7>>3>(j[a+16>>2]-(j[a>>2]+((j[a+4>>2]+7|0)/8|0)|0)|0)){break b}c=j[d+4>>2];g=d,i=Se(c),j[g+8>>2]=i;if(!b){break d}b=0;if((c|0)<=0){break c}while(1){c=0;f:{if(!Ce(a,1)){break f}c=Ce(a,5);if((c|0)==-1){break b}c=c+1|0}h[j[d+8>>2]+b|0]=c;b=b+1|0;if((b|0)>2]){continue}break}break c;case 1:break e;default:break b}}b=Ce(a,5);f=b+1|0;if(f>>>0>>0){break b}e=j[d+4>>2];g=d,i=Se(e),j[g+8>>2]=i;if((e|0)<1){break c}b=0;while(1){c=e-b|0;c=Ce(a,c?32-s(c)|0:0);if((c|0)==-1|(f|0)>32){break b}e=j[d+4>>2];if((c|0)>(e-b|0)){break b}if((c|0)>=1){if(c-1>>f-1>1){break b}c=b+c|0;while(1){h[j[d+8>>2]+b|0]=f;b=b+1|0;if((c|0)!=(b|0)){continue}break}e=j[d+4>>2];b=c}f=f+1|0;if((b|0)<(e|0)){continue}break}break c}b=0;if((c|0)<=0){break c}while(1){c=Ce(a,5);if((c|0)==-1){break b}h[j[d+8>>2]+b|0]=c+1;b=b+1|0;if((b|0)>2]){continue}break}}b=Ce(a,4);j[d+12>>2]=b;g:{switch(b|0){case 0:break a;case 1:case 2:break g;default:break b}}g=d,i=Ce(a,32),j[g+16>>2]=i;g=d,i=Ce(a,32),j[g+20>>2]=i;g=d,i=Ce(a,4)+1|0,j[g+24>>2]=i;b=Ce(a,1);j[d+28>>2]=b;if((b|0)==-1){break b}c=0;h:{i:{switch(j[d+12>>2]-1|0){case 0:if(!j[d>>2]){break h}c=DE(d);break h;case 1:break i;default:break h}}c=p(j[d>>2],j[d+4>>2])}if((j[a+16>>2]-(j[a>>2]+((j[a+4>>2]+7|0)/8|0)|0)|0)>2],c)+7>>3){break b}e=Se(c<<2);j[d+32>>2]=e;if((c|0)>=1){b=0;while(1){f=Ce(a,j[d+24>>2]);e=j[d+32>>2];j[e+(b<<2)>>2]=f;b=b+1|0;if((c|0)!=(b|0)){continue}break}}if(!c|j[((c<<2)+e|0)-4>>2]!=-1){break a}}Qj(d);d=0}return d}function nh(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;g=oe-16|0;oe=g;e=j[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{f=k[e|0];switch(f-43|0){case 0:case 2:break c;default:break b}}e=e+1|0;if((e|0)==(b|0)){f=0;break a}q=(f|0)==45;f=k[e|0]}d:{if((f&255)==46){d=e;break d}j[g+8>>2]=e;f=Kg(g+8|0,b,10);e:{d=j[g+8>>2];if((d|0)!=(e|0)){if(k[d|0]!=35|b>>>0<=d>>>0){break e}i=d+1|0;j[g+8>>2]=i;f=Kg(g+8|0,b,f);d=j[g+8>>2];if((i|0)!=(d|0)){break e}}f=0;break a}if((e|0)==(d|0)){f=0;break a}o=(f|0)>32767;i=o?f:f<<16}f:{if(!(k[d|0]!=46|b>>>0<=d>>>0)){l=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break f}e=0;while(1){g:{f=k[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break g}}if(f<<24>>24<0|f-48>>>0>9){break f}h:{if((e|0)>214748363|(l|0)>214748363){break h}e=h[f+23856|0]+p(e,10)|0;if(!((c|0)<1|i)){c=c-1|0;break h}l=p(l,10)}d=d+1|0;if((d|0)!=(b|0)){continue}break}d=b;break f}e=0;l=1}i:{j:{k:{l:{n=d+1|0;if(!((k[d|0]|32)!=101|n>>>0>=b>>>0)){j[g+12>>2]=n;m=Kg(g+12|0,b,10);m:{d=j[g+12>>2];if((n|0)!=(d|0)){if(k[d|0]!=35|b>>>0<=d>>>0){break m}f=d+1|0;j[g+12>>2]=f;m=Kg(g+12|0,b,m);d=j[g+12>>2];if((f|0)!=(d|0)){break m}}f=0;break a}f=0;if((d|0)==(n|0)){break a}if((m|0)>1e3){break l}b=m;m=(m|0)<-1e3;c=(m?0:b)+c|0}j[a>>2]=d;f=0;if(!(e|i)){break a}b=2147483647;if(o){break i}if(m){break a}if((c|0)<=0){break k}while(1){if((i|0)>214748363){break i}n:{if((e|0)>=214748364){if((l|0)==1){break i}l=(l|0)/10|0;break n}e=p(e,10)}i=p(i,10);a=(c|0)>1;c=c-1|0;if(a){continue}break}break j}j[a>>2]=d;b=2147483647;if(e|i){break i}break a}if((c|0)>=0){break j}while(1){a=i;i=(i|0)/10|0;o:{if((l|0)<=214748363){l=p(l,10);break o}e=(e|0)/10|0}if(!(e?0:a+9>>>0<=18)){a=c;c=c+1|0;if(a>>>0>c>>>0){break j}continue}break}break a}if(!e){b=i;break i}b=De(e,l)+i|0}f=q?0-b|0:b}oe=g+16|0;return f}function Ev(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=oe-16|0;oe=f;m=j[b+16>>2];n=j[b+8>>2];qe[j[b+28>>2]](b);a:{b:{c:{d:{c=j[b>>2];if(c>>>0>>0){j[b>>2]=c+1;if(k[c|0]==91){break d}}e=3;j[f+12>>2]=3;break c}qe[j[b+28>>2]](b);e:{d=j[b>>2];f:{if(n>>>0<=d>>>0){break f}while(1){g:{h:{i:{c=k[d|0];if((c|0)!=60){if((c|0)!=93){break i}j[b>>2]=d+1;break b}qe[j[b+32>>2]](b);if(j[b+12>>2]){break b}e=j[b>>2];c=(e+(d^-1)|0)/2|0;if(e-d>>>0<=2){break f}i=xe(m,1,r,c,i,f+12|0);e=j[f+12>>2];if(e){break c}j[b>>2]=d;p=1;qe[j[b+44>>2]](b,i,c,f+8|0,1)|0;g=j[f+8>>2];break h}if(c-48>>>0>9){c=r;break h}if(p){break f}j:{g=qe[j[b+36>>2]](b)|0;if((g|0)<=-1){break j}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}c=j[b>>2];i=c+1|0;if(n-c>>>0>>0){break j}j[b>>2]=(c+g|0)+1;p=0;break g}e=3;j[f+12>>2]=3;p=0;break c}if(!i){break e}r=c}if(g&1){c=g-1|0;g=k[c+i|0]?g:c}c=0;if(!g){break f}while(1){k:{l:{m:{switch(l|0){case 0:l=0;if((o|0)<12){break l}e=j[a+492>>2];q=(k[e+4|0]<<4)+k[e+5|0]|0;d=q<<4|12;j[a+496>>2]=d;if((d|0)>(n-j[b>>2]|0)){break f}u=a,v=xe(m,1,12,d,e,f+12|0),j[u+492>>2]=v;e=j[f+12>>2];if(e){break c};case 1:l=1;d=j[a+496>>2];if((o|0)<(d|0)){break l}l=j[a+492>>2];if(q>>>0>=1){s=l+24|0;e=0;while(1){t=d;d=(e<<4)+s|0;d=t+(((k[d|0]<<24|k[d+1|0]<<16|3)+k[d+3|0]|0)+(k[d+2|0]<<8)&-4)|0;j[a+496>>2]=d;e=e+1|0;if((q|0)!=(e|0)){continue}break}}u=a,v=xe(m,1,q<<4|12,d+1|0,l,f+12|0),j[u+492>>2]=v;e=j[f+12>>2];if(e){break c}break;case 2:break m;default:break k}}l=2;if(j[a+496>>2]<=(o|0)){break f}}h[j[a+492>>2]+o|0]=k[c+i|0];o=o+1|0}c=c+1|0;if((g|0)!=(c|0)){continue}break}qe[j[b+28>>2]](b);d=j[b>>2];if(n>>>0>d>>>0){continue}break}}e=3;j[f+12>>2]=3;break c}e=3;j[f+12>>2]=3;i=0}j[b+12>>2]=e}if(!p){break a}if(i){qe[j[m+8>>2]](m,i)}}oe=f+16|0}function Cr(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,l=0;i=j[a+4>>2];if(k[i+9|0]==4){a:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];l=b;b=h^255;c=k[i+29|0];d=k[i+33|0];f=((p(b,k[j[(c<<2)+234976>>2]+((a&j[i+16>>2])>>>d|0)|0])>>>0)/255|0)+f>>>c<>2]+((a&j[i+12>>2])>>>d|0)|0])>>>0)/255|0)+e>>>c<>2]+((a&j[i+20>>2])>>>d|0)|0])>>>0)/255|0)+g>>>c<>2];a=k[i+35|0];j[l>>2]=d|((p(b,k[j[(c<<2)+234976>>2]+(e>>>a|0)|0])>>>0)/255|0)+h>>>c<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[c>>2];f=k[i+33|0];b=h+k[j[(d<<2)+234976>>2]+((a&j[i+16>>2])>>>f|0)|0]|0;h=c;f=(b>>>0<255?b:255)>>>d<>2]+((a&j[i+12>>2])>>>c|0)|0]+e|0;e=f|(d>>>0<255?d:255)>>>b<>2]+((a&j[i+20>>2])>>>c|0)|0]+g|0;c=e|(d>>>0<255?d:255)>>>b<>2];a=k[i+35|0];j[h>>2]=c|k[j[(b<<2)+234976>>2]+(d>>>a|0)|0]>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];d=b;b=k[i+29|0];c=k[i+33|0];f=(p(k[j[(b<<2)+234976>>2]+((a&j[i+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]+((a&j[i+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2]+((a&j[i+20>>2])>>>c|0)|0],g)>>>0)/255>>>b<>2];a=k[i+35|0];j[d>>2]=c|k[j[(b<<2)+234976>>2]+(e>>>a|0)|0]>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f>>>k[i+29|0]<>>k[i+28|0]<>>k[i+30|0]<>>k[i+31|0]<>2];g=j[a>>2];n=p(e,g);a:{b:{c:{d:{e:{f:{c=k[a+11|0];switch(c-1|0){case 3:break d;case 1:break e;case 0:break f;default:break c}}l=7;q=g-1|0;f=q&7;g:{if(d&65536){i=-1;c=n-1&7;break g}o=7;f=f^7;l=0;i=1;c=0-n&7}if(!g){break b}d=(n-1>>>3|0)+b|0;b=(q>>>3|0)+b|0;q=(e|0)>1?e:1;g=0;while(1){s=k[b|0]>>>f&1;e=0;while(1){h[d|0]=k[d|0]&32639>>>7-c|s<>>0>2]){continue}break}break b}l=6;f=(g<<1)+6&6;h:{if(d&65536){i=-2;c=(n<<1)+6&6;break h}o=6;f=f^6;i=2;l=0;c=((n<<1)+6^-1)&6}if(!g){break b}d=(n-1>>>2|0)+b|0;b=(g-1>>>2|0)+b|0;q=(e|0)>1?e:1;g=0;while(1){s=k[b|0]>>>f&3;e=0;while(1){h[d|0]=k[d|0]&16191>>>6-c|s<>>0>2]){continue}break}break b}l=4;f=g<<2&4;i:{if(d&65536){f=f^4;i=-4;c=(n<<2^-1)&4;break i}o=4;l=0;i=4;c=n<<2&4}if(!g){break b}d=(n-1>>>1|0)+b|0;b=(g-1>>>1|0)+b|0;q=(e|0)>1?e:1;g=0;while(1){s=k[b|0]>>>f&15;e=0;while(1){h[d|0]=k[d|0]&3855>>>4-c|s<>>0>2]){continue}break}break b}if(!g){break a}e=(e|0)>1?e:1;f=c>>>3|0;l=0-f|0;i=p(f,g-1|0)+b|0;d=p(f,n-1|0)+b|0;while(1){Ae(t+8|0,i,f);c=0;while(1){d=Ae(d,t+8|0,f)+l|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}i=i+l|0;o=o+1|0;if(o>>>0>2]){continue}break}}c=k[a+11|0]}j[a>>2]=n;b=c&255;j:{if(b>>>0>=8){b=p(b>>>3|0,n);break j}b=p(b,n)+7>>>3|0}j[a+4>>2]=b}oe=t+16|0}function sh(a,b){var c=0,d=0,e=0,f=0;c=oe-80|0;oe=c;a:{if(!b){j[c>>2]=151220;a=ve(150459,c);break a}j[b>>2]=0;d=j[67085];if(!d){a=ve(151717,0);break a}e=3410;b:{c:{switch(a|0){case 1:e=3411;break b;case 3:e=3413;break b;case 5:j[b>>2]=j[d+356>>2];a=0;break a;case 6:e=3414;break b;case 7:e=3415;break b;case 8:case 9:case 10:case 11:case 12:a=0;j[b>>2]=0;break a;case 13:e=32936;break b;case 14:e=32937;break b;case 24:e=33531;break b;case 4:j[c+76>>2]=0;j[c+72>>2]=0;j[c+68>>2]=0;j[c+64>>2]=0;a=-1;if((sh(0,c+76|0)|0)<0){break a}if((sh(1,c+72|0)|0)<0){break a}if((sh(2,c+68|0)|0)<0){break a}if((sh(3,c- -64|0)|0)<0){break a}j[b>>2]=j[c+64>>2]+(j[c+68>>2]+(j[c+72>>2]+j[c+76>>2]|0)|0);a=0;break a;case 15:a=0;j[b>>2]=j[d+388>>2]!=0;break a;case 16:j[b>>2]=j[d+428>>2];a=0;break a;case 17:j[b>>2]=j[d+392>>2];a=0;break a;case 18:j[b>>2]=j[d+396>>2];a=0;break a;case 19:j[b>>2]=j[d+404>>2]==4;a=0;break a;case 20:j[b>>2]=j[d+400>>2];a=0;break a;case 21:j[b>>2]=j[d+404>>2];a=0;break a;case 22:j[b>>2]=j[d+408>>2];a=0;break a;case 23:j[b>>2]=j[d+420>>2];a=0;break a;case 26:j[b>>2]=j[d+424>>2];a=0;break a;default:a=ve(151195,0);break a;case 0:break b;case 2:break c}}e=3412}d:{f=j[d+172>>2];if(f){if(j[d+432>>2]){break d}ve(151087,0);a=-1;break a}j[c+16>>2]=j[d>>2];ve(151032,c+16|0);a=-1;break a}a=-1;d=qe[f|0](d,151116)|0;if(!d){break a}qe[d|0](e,b);b=j[67085];if(!b){ve(151717,0);break a}e:{d=j[b+172>>2];if(d){if(j[b+432>>2]){break e}ve(151087,0);break a}j[c+32>>2]=j[b>>2];ve(151032,c+32|0);break a}b=qe[d|0](b,151226)|0;if(!b){break a}f:{g:{h:{a=qe[b|0]()|0;switch(a-1280|0){case 1:break f;case 0:break g;default:break h}}if(!a){break a}j[c+48>>2]=a;a=ve(151298,c+48|0);break a}a=ve(151237,0);break a}a=ve(151267,0)}oe=c+80|0;return a}function ul(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=oe-16|0;oe=f;j[f+8>>2]=0;n=j[j[a>>2]+28>>2];j[b>>2]=0;a:{b:{if(j[a+24>>2]){break b}j[f+12>>2]=0;c:{d=j[a+8>>2];if(d){o=k[a+12|0];l=j[a>>2];m=j[l+28>>2];d=d+1|0;s=a,t=xe(m,4,0,d,0,f+12|0),j[s+24>>2]=t;if(j[f+12>>2]){break c}e=Fe(l,j[a+4>>2]+3|0);j[f+12>>2]=e;if(e){break c}g=p(d,o);d=_e(l,g);j[f+12>>2]=d;if(d){break c}e=j[l+32>>2];i=g+e|0;d=j[a+24>>2];d:{e:{switch(o-1|0){case 2:if((g|0)<=0){break d}while(1){j[d>>2]=k[e+2|0]|(k[e+1|0]<<8|k[e|0]<<16);d=d+4|0;e=e+3|0;if(i>>>0>e>>>0){continue}break}break d;case 1:if((g|0)<=0){break d}while(1){j[d>>2]=k[e+1|0]|k[e|0]<<8;d=d+4|0;e=e+2|0;if(i>>>0>e>>>0){continue}break}break d;case 0:if((g|0)<=0){break d}while(1){j[d>>2]=k[e|0];d=d+4|0;e=e+1|0;if(i>>>0>e>>>0){continue}break}break d;default:break e}}if((g|0)<=0){break d}while(1){g=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);j[d>>2]=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);d=d+4|0;e=e+4|0;if(i>>>0>e>>>0){continue}break}}Ve(l);if(j[f+12>>2]){break c}}j[f+8>>2]=0;break b}d=m;m=j[a+24>>2];if(m){qe[j[d+8>>2]](d,m)}j[a+24>>2]=0;d=j[f+12>>2];j[f+8>>2]=d;if(d){break a}}d=j[a+8>>2];if(!d){break a}g=0;l=xe(n,4,0,d+1|0,0,f+8|0);if(j[f+8>>2]){break a}if(c){g=He(n,j[a+8>>2]+j[a+20>>2]|0,f+8|0);if(j[f+8>>2]){break a}}o=j[a+28>>2];j[l>>2]=c?g:o;q=j[a+8>>2];if(q){n=0;d=0;e=1;while(1){m=d;i=e<<2;r=j[i+j[a+24>>2]>>2]-1|0;if(r>>>0>=d>>>0){d=j[a+20>>2];d=d>>>0>>0?d:r}f:{if(!c){j[i+l>>2]=d+o;break f}i=i+l|0;r=(d+g|0)+n|0;j[i>>2]=r;if((d|0)==(m|0)){break f}q=j[i-4>>2];Ae(q,m+o|0,r-q|0);h[j[i>>2]]=0;j[i>>2]=j[i>>2]+1;n=n+1|0;q=j[a+8>>2]}e=e+1|0;if(q>>>0>=e>>>0){continue}break}}j[b>>2]=l;if(!c){break a}j[c>>2]=g}oe=f+16|0;return j[f+8>>2]}function If(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;if(d){j[d>>2]=0}g=4;a:{while(1){f=i;b:{while(1){c:{if(!g){break c}a=a+1|0;if(b>>>0>a>>>0){break c}e=0;break a}e=4-g|0;i=k[a|0];h=i>>>g&15;if((h|0)==14){r=1;g=e;continue}if(h>>>0>9){break b}if((f|0)>=214748364){q=q+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}n=n+1|0;i=p(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){l=(f|0)<214748364&(o|0)<9;while(1){if(e){a=a+1|0;if(b>>>0<=a>>>0){e=0;break a}i=k[a|0]}m=4-e|0;h=(i&255)>>>e&15;if(h>>>0>9){e=m;break d}if(!(f|h)){q=q-1|0;f=0;e=m;continue e}e=m;if(!l){continue}break}o=o+1|0;f=p(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){m=0;while(1){if(e){a=a+1|0;if(b>>>0<=a>>>0){e=0;break a}i=k[a|0]}l=(i&255)>>>e&15;if(l>>>0<=9){s=l+p(g,10)|0;l=(g|0)>1e3;g=l?g:s;m=l?1:m;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(m){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+q|0)+e|0;if(d){a=a+n|0;b=n+o|0;if((b|0)<=5){if((f|0)>=32768){e=De(f,10);j[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<1){break j}c=(a|0)<5?a:5;e=c-b|0;if((e|0)<1){break j}b=a-c|0;f=p(j[(e<<2)+12544>>2],f);a=b;if((f|0)<32768){break i}f=(f>>>0)/10|0;a=b+1|0;break i}a=a-b|0}j[d>>2]=a;e=f<<16;break a}b=b<<2;c=j[b+12524>>2];if(((f|0)/(c|0)|0)>=32768){e=De(f,j[b+12528>>2]);j[d>>2]=a-4;break a}e=De(f,c);j[d>>2]=a-5;break a}e=2147483647;b=a+n|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>-1){a=o-a|0}else{f=(f|0)/j[12544-(b<<2)>>2]|0;a=n+o|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>=1){e=0;a=j[(a<<2)+12544>>2];if(((b|0)/(a|0)|0)>32767){break a}e=De(b,a);break a}a=p(b,j[12544-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return r?0-e|0:e}function RB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(m[a+404>>2]>=a+28>>>0){g=j[a+412>>2];b=j[a+20>>2];d=j[a+16>>2];e=k[d|0];a:{if((e|0)==30){c=If(d,b,0,0)>>16;b=j[a+20>>2];break a}b:{switch(e-28|0){case 0:if(d+3>>>0>b>>>0){break a}c=k[d+1|0]|k[d+2|0]<<8;c=(c<<24|c<<8&16711680)>>16;break a;case 1:if(d+5>>>0>b>>>0){break a}c=k[d+1|0]|k[d+2|0]<<8|(k[d+3|0]<<16|k[d+4|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break a;default:break b}}if(e>>>0<=246){c=e-139|0;break a}f=d+2|0;if(e>>>0<=250){if(b>>>0>>0){break a}c=(k[d+1|0]|e<<8)-63124|0;break a}if(b>>>0>>0){break a}c=64148-(k[d+1|0]|e<<8)|0}j[g+132>>2]=c;c=j[a+24>>2];e=k[b|0];c:{if((e|0)==30){d=If(b,c,0,0)>>16;c=j[a+24>>2];break c}d:{switch(e-28|0){case 0:d=0;if(b+3>>>0>c>>>0){break c}b=k[b+1|0]|k[b+2|0]<<8;d=(b<<24|b<<8&16711680)>>16;break c;case 1:d=0;if(b+5>>>0>c>>>0){break c}b=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break c;default:break d}}if(e>>>0<=246){d=e-139|0;break c}f=b+2|0;if(e>>>0<=250){d=0;if(c>>>0>>0){break c}d=(k[b+1|0]|e<<8)-63124|0;break c}d=0;if(c>>>0>>0){break c}d=64148-(k[b+1|0]|e<<8)|0}j[g+136>>2]=d;d=j[a+28>>2];b=k[c|0];e:{if((b|0)==30){a=If(c,d,0,0)>>16;break e}f:{switch(b-28|0){case 0:a=0;if(d>>>0>>0){break e}a=k[c+1|0]|k[c+2|0]<<8;a=(a<<24|a<<8&16711680)>>16;break e;case 1:a=0;if(d>>>0>>0){break e}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e;default:break f}}a=b-139|0;if(b>>>0<=246){break e}e=c+2|0;if(b>>>0<=250){a=0;if(d>>>0>>0){break e}a=(k[c+1|0]|b<<8)-63124|0;break e}a=0;if(d>>>0>>0){break e}a=64148-(k[c+1|0]|b<<8)|0}j[g+140>>2]=a;a=0}else{a=161}return a|0}function fv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;g=j[b>>2];k=j[b+8>>2]+(g+j[b+4>>2]|0)|0;if(!k){return 1}h=a;d=0;a:{b:{if(!g){break b}e=1;c=v(+(g|0)*1e5/+(k|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break b}d=-2147483648}j[h>>2]=d;d=j[b+4>>2];c:{if(!d){break c}e=1;c=v(+(d|0)*1e5/+(k|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){f=~~c;break c}f=-2147483648}j[a+4>>2]=f;i=j[b+12>>2];g=j[b+20>>2]+(i+j[b+16>>2]|0)|0;if(!g){return 1}l=j[b+4>>2];m=j[b>>2];f=0;h=a;d=0;d:{if(!i){break d}e=1;c=v(+(i|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break d}d=-2147483648}j[h+8>>2]=d;d=j[b+16>>2];e:{if(!d){break e}e=1;c=v(+(d|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){f=~~c;break e}f=-2147483648}j[a+12>>2]=f;d=j[b+24>>2];f=j[b+32>>2]+(d+j[b+28>>2]|0)|0;if(!f){return 1}n=j[b+16>>2];o=j[b+12>>2];i=0;h=a;e=0;f:{if(!d){break f}e=1;c=v(+(d|0)*1e5/+(f|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}e=~~c;if(r(c)<2147483648){break f}e=-2147483648}j[h+16>>2]=e;d=j[b+28>>2];g:{if(!d){break g}e=1;c=v(+(d|0)*1e5/+(f|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){i=~~c;break g}i=-2147483648}j[a+20>>2]=i;e=1;g=f+(g+k|0)|0;if(!g){break a}f=j[b+28>>2];h=a;b=j[b+24>>2]+(m+o|0)|0;d=0;h:{if(!b){break h}c=v(+(b|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break h}d=-2147483648}j[h+24>>2]=d;b=f+(l+n|0)|0;if(!b){j[a+28>>2]=0;return 0}c=v(+(b|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){b=~~c}else{b=-2147483648}j[a+28>>2]=b;e=0}return e}function ct(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=oe-32|0;oe=e;c=Xe(1,824);a:{if(!c){c=0;Be(0);break a}j[c+800>>2]=0;j[c+804>>2]=0;j[c+792>>2]=-1;j[c+796>>2]=-1;j[c+784>>2]=-1;j[c+768>>2]=-1;j[c+12>>2]=128;j[c>>2]=a;d=c+808|0;j[d>>2]=0;j[d+4>>2]=0;Oe(e+16|0,0,16);j[e+28>>2]=581;g=j[e+28>>2];j[e+8>>2]=j[e+24>>2];j[e+12>>2]=g;j[e+20>>2]=582;j[e+16>>2]=583;g=j[e+20>>2];j[e>>2]=j[e+16>>2];j[e+4>>2]=g;b:{o=c+16|0;c:{if((LE(a,o,e)|0)<=-1){ve(115178,0);break c}if((Xm(c)|0)>-1){break b}Rj(o);a=j[c+772>>2];if(a){Xh(a)}a=j[c+776>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(!j[c+4>>2]){break c}a=j[c>>2];qe[j[a+16>>2]](a)|0}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0;break a}g=c+800|0;m=c+792|0;d:{e:{i=GE(o);if(j[i+8>>2]<1){break e}while(1){n=_f(j[j[i>>2]+(k<<2)>>2]);a=Dg(n,61);f:{if(!a){l=Le(n)+n|0;break f}h[a|0]=0;l=a+1|0}a=m;g:{h:{if(!Me(n,115209)){break h}if(!Me(n,115219)){f=1;a=d;break h}if(Me(n,115230)){break g}f=0;a=g}p=a,q=Ep(l,0,-1,-1),j[p>>2]=q;j[a+4>>2]=pe}if(n){qe[j[57975]](n);j[57976]=j[57976]-1}k=k+1|0;if((k|0)>2]){continue}break}if(!f){break e}l=j[m>>2];f=l+j[d>>2]|0;d=j[d+4>>2]+j[m+4>>2]|0;a=g;j[a>>2]=f;j[a+4>>2]=f>>>0>>0?d+1|0:d;break d}f=j[g>>2];l=j[m>>2];a=j[g+4>>2]-(j[m+4>>2]+(f>>>0>>0)|0)|0;j[d>>2]=f-l;j[d+4>>2]=a}l=ti(o,-1);a=j[m>>2];i=j[m+4>>2];d=j[g>>2];k=j[g+4>>2];f=pe;if(!((((k|0)<0?1:(k|0)<=0?d>>>0<1:0)?(i|0)<-1?1:(i|0)<=-1:0)|((f|0)<(k|0)?1:(f|0)<=(k|0)?d>>>0>l>>>0:0)|(!(!(d|k)|((i|0)<(k|0)?1:(i|0)<=(k|0)?a>>>0>>0:0))|((f|0)<(i|0)?1:(f|0)<=(i|0)?a>>>0>=l>>>0:0)))){if((i|0)<-1?1:(i|0)<=-1){j[m>>2]=0;j[m+4>>2]=0}if(!(d|k)){j[g>>2]=l;j[g+4>>2]=f}j[c+784>>2]=1}j[c+4>>2]=b}oe=e+32|0;return c|0}function nD(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;g=j[a+4>>2];c=g&3;d=g&-8;f=d+a|0;a:{if(!c){c=0;if(b>>>0<256){break a}if(d>>>0>=b+4>>>0){c=a;if(d-b>>>0<=j[67248]<<1>>>0){break a}}return 0}b:{if(b>>>0<=d>>>0){c=d-b|0;if(c>>>0<16){break b}j[a+4>>2]=g&1|b|2;b=a+b|0;j[b+4>>2]=c|3;j[f+4>>2]=j[f+4>>2]|1;zp(b,c);break b}c=0;if(j[67134]==(f|0)){d=d+j[67131]|0;if(d>>>0<=b>>>0){break a}j[a+4>>2]=g&1|b|2;c=a+b|0;b=d-b|0;j[c+4>>2]=b|1;j[67131]=b;j[67134]=c;break b}if(j[67133]==(f|0)){d=d+j[67130]|0;if(d>>>0>>0){break a}c=d-b|0;c:{if(c>>>0>=16){j[a+4>>2]=g&1|b|2;b=a+b|0;j[b+4>>2]=c|1;d=a+d|0;j[d>>2]=c;j[d+4>>2]=j[d+4>>2]&-2;break c}j[a+4>>2]=d|g&1|2;b=a+d|0;j[b+4>>2]=j[b+4>>2]|1;c=0;b=0}j[67133]=b;j[67130]=c;break b}e=j[f+4>>2];if(e&2){break a}h=d+(e&-8)|0;if(h>>>0>>0){break a}k=h-b|0;d:{if(e>>>0<=255){c=j[f+8>>2];e=e>>>3|0;d=j[f+12>>2];if((d|0)==(c|0)){m=268512,n=j[67128]&lP(-2,e),j[m>>2]=n;break d}j[c+12>>2]=d;j[d+8>>2]=c;break d}i=j[f+24>>2];d=j[f+12>>2];e:{if((f|0)!=(d|0)){c=j[f+8>>2];j[c+12>>2]=d;j[d+8>>2]=c;break e}f:{c=f+20|0;e=j[c>>2];if(e){break f}c=f+16|0;e=j[c>>2];if(e){break f}d=0;break e}while(1){l=c;d=e;c=d+20|0;e=j[c>>2];if(e){continue}c=d+16|0;e=j[d+16>>2];if(e){continue}break}j[l>>2]=0}if(!i){break d}c=j[f+28>>2];e=(c<<2)+268816|0;g:{if(j[e>>2]==(f|0)){j[e>>2]=d;if(d){break g}m=268516,n=j[67129]&lP(-2,c),j[m>>2]=n;break d}j[i+(j[i+16>>2]==(f|0)?16:20)>>2]=d;if(!d){break d}}j[d+24>>2]=i;c=j[f+16>>2];if(c){j[d+16>>2]=c;j[c+24>>2]=d}c=j[f+20>>2];if(!c){break d}j[d+20>>2]=c;j[c+24>>2]=d}if(k>>>0<=15){j[a+4>>2]=g&1|h|2;b=a+h|0;j[b+4>>2]=j[b+4>>2]|1;break b}j[a+4>>2]=g&1|b|2;b=a+b|0;j[b+4>>2]=k|3;c=a+h|0;j[c+4>>2]=j[c+4>>2]|1;zp(b,k)}c=a}return c}function $t(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{if(!(!a|!b)){Fu(a,b);d=Ek(a);c=j[a+376>>2];if((c|0)!=1229209940){while(1){e=j[a+208>>2];if(e&4){j[a+208>>2]=e|8}c:{d:{if((c|0)!=1229278788){if((c|0)!=1229472850){break d}Du(a,b,d);break c}Bu(a,d);break c}e=tn(a,c);if(e){Bk(a,b,d,e);if((c|0)!=1347179589){break c}j[a+208>>2]=j[a+208>>2]|2;break c}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((c|0)<=1883789682){if((c|0)<=1749635923){if((c|0)<=1665684044){if((c|0)==1347179589){break o}if((c|0)!=1649100612){break e}su(a,b,d);break c}if((c|0)==1665684045){break n}if((c|0)!=1732332865){break e}Au(a,b,d);break c}if((c|0)<=1767135347){if((c|0)==1749635924){break m}if((c|0)!=1766015824){break e}wu(a,b,d);break c}if((c|0)==1767135348){break f}if((c|0)==1866876531){break l}if((c|0)!=1883455820){break e}ou(a,b,d);break c}if((c|0)<=1934772033){if((c|0)<=1933787467){if((c|0)==1883789683){break j}if((c|0)!=1933723988){break e}zu(a,b,d);break c}if((c|0)==1933787468){break k}if((c|0)!=1934642260){break e}uu(a,b,d);break c}if((c|0)<=1950960964){if((c|0)==1934772034){break i}if((c|0)!=1950701684){break e}lu(a,b,d);break c}if((c|0)==1950960965){break h}if((c|0)==1951551059){break g}if((c|0)!=2052348020){break e}ku(a,b,d);break c}Cu(a,b,d);break c}yu(a,b,d);break c}ru(a,b,d);break c}pu(a,b,d);break c}nu(a,b,d);break c}qu(a,b,d);break c}xu(a,b,d);break c}mu(a,b,d);break c}tu(a,b,d);break c}ju(a,b,d);break c}Bk(a,b,d,0)}d=Ek(a);c=j[a+376>>2];if((c|0)!=1229209940){continue}break}}c=j[a+208>>2];if(!(c&1)){break b}if(k[a+435|0]==3?!(c&2):0){break a}e=a;if(c&8){Je(a,101524);c=j[a+208>>2]}j[e+208>>2]=c|4;c=a;e=tn(a,1229209940);if(e){Bk(a,b,d,e);d=0}j[c+408>>2]=d}return}hf(a,101474);z()}hf(a,101499);z()}function RE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;d=j[b+28>>2];if(!d){return 1}e=1;a:{if(j[d+8>>2]<1){break a}c=j[d>>2];if((c|0)<64|(c|0)>j[d+4>>2]){break a}c=j[d+3656>>2];g=Ee(a,0,112);a=bf(1,136);j[g+4>>2]=b;j[g+104>>2]=a;e=j[d+8>>2]-1|0;j[a+44>>2]=e?32-s(e)|0:0;e=bf(1,4);j[a+12>>2]=e;f=bf(1,4);j[a+16>>2]=f;h=e;e=bf(1,20);j[h>>2]=e;i=f,k=bf(1,20),j[i>>2]=k;Aq(e,j[d>>2]>>c);Aq(j[j[a+16>>2]>>2],j[d+4>>2]>>c);c=j[d>>2];j[a+4>>2]=(c?32-s(c)|0:0)-7;c=j[d+4>>2];j[a+8>>2]=(c?32-s(c)|0:0)-7;b:{if(j[d+2848>>2]){break b}i=d,k=bf(j[d+24>>2],56),j[i+2848>>2]=k;c=j[d+24>>2];if((c|0)<1){break b}h=j[d+1824>>2];c:{if(!h){break c}e=d+1824|0;f=0;while(1){if(AE(j[d+2848>>2]+p(f,56)|0,h)){c=j[d+24>>2];break c}Qj(j[e>>2]);j[e>>2]=0;c=j[d+24>>2];f=f+1|0;if((c|0)<=(f|0)){break b}e=((f<<2)+d|0)+1824|0;h=j[e>>2];if(h){continue}break}}if((c|0)>=1){a=0;while(1){b=((a<<2)+d|0)+1824|0;e=j[b>>2];if(e){Qj(e);j[b>>2]=0;c=j[d+24>>2]}a=a+1|0;if((c|0)>(a|0)){continue}break}}xg(g);return-1}e=j[d+4>>2];j[g+16>>2]=e;b=j[b+4>>2];c=b<<2;i=g,k=Se(c),j[i+8>>2]=k;i=g,k=Se(c),j[i+12>>2]=k;if((b|0)>=1){c=0;while(1){f=bf(e,4);j[j[g+8>>2]+(c<<2)>>2]=f;c=c+1|0;if((b|0)!=(c|0)){continue}break}}j[g+36>>2]=0;j[g+40>>2]=0;b=j[d+4>>2]/2|0;j[g+20>>2]=b;j[g+48>>2]=b;i=a,k=bf(j[d+16>>2],4),j[i+48>>2]=k;i=a,k=bf(j[d+20>>2],4),j[i+52>>2]=k;c=0;if(j[d+16>>2]>0){while(1){b=c<<2;e=b+d|0;e=qe[j[j[(j[e+800>>2]<<2)+198148>>2]+8>>2]](g,j[e+1056>>2])|0;j[b+j[a+48>>2]>>2]=e;c=c+1|0;if((c|0)>2]){continue}break}}e=0;if(j[d+20>>2]<=0){break a}c=0;while(1){b=c<<2;f=b+d|0;f=qe[j[j[(j[f+1312>>2]<<2)+198156>>2]+8>>2]](g,j[f+1568>>2])|0;j[b+j[a+52>>2]>>2]=f;c=c+1|0;if((c|0)>2]){continue}break}}return e}function ve(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;c=oe-1056|0;oe=c;a:{if(!a){break a}j[65586]=1;Re(262348,a,128);j[c+1052>>2]=b;j[65619]=0;d=k[a|0];b:{if(!d){break b}while(1){b=a+1|0;c:{if((d|0)!=37){a=b;break c}while(1){d=b;b=d+1|0;g=k[d|0];if((g|0)==46|(g-48&255)>>>0<10){continue}break}a=b;d:{e:{f:{g:{h:{i:{j:{k:{g=g<<24>>24;switch(g-88|0){case 24:break g;case 14:break h;case 0:case 11:case 12:case 17:case 23:case 29:case 32:break i;case 20:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 13:case 15:case 16:case 18:case 19:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break d;case 27:break f;default:break k}}if(g){break e}a=d;break d}a=d+2|0;l:{m:{d=h[d+1|0];switch(d-88|0){case 0:case 12:case 17:case 29:case 32:break l;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 30:case 31:break d;default:break m}}if(!d){break e}break d}b=j[c+1052>>2];j[c+1052>>2]=b+4;b=j[b>>2];f=e+1|0;j[65619]=f;j[(e<<7)+262480>>2]=b;break d}a=j[c+1052>>2];j[c+1052>>2]=a+4;a=j[a>>2];f=e+1|0;j[65619]=f;j[(e<<7)+262480>>2]=a;break e}a=j[c+1052>>2]+7&-8;j[c+1052>>2]=a+8;i=o[a>>3];f=e+1|0;j[65619]=f;o[(e<<7)+262480>>3]=i;break e}a=j[c+1052>>2];j[c+1052>>2]=a+4;a=j[a>>2];f=e+1|0;j[65619]=f;j[(e<<7)+262480>>2]=a;break e}a=j[c+1052>>2];j[c+1052>>2]=a+4;a=j[a>>2];Re((e<<7)+262480|0,a?a:116387,128);f=j[65619]+1|0;j[65619]=f}a=b}e=f;if((e|0)>4){break b}}d=k[a|0];if(d){continue}break}}if(Hs()>>>0>2){break a}l=c,m=Um(c+16|0),j[l>>2]=m;Fs(c)}oe=c+1056|0;return-1}function $k(a,b,c,d,e){var f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;f=oe-80|0;oe=f;a:{if(j[b+72>>2]!=j[a+16>>2]){j[f+76>>2]=6;break a}if((c|0)!=(e|0)){j[f+76>>2]=19;break a}u=b+108|0;b:{if(!d){e=0;d=0;break b}e=j[d+4>>2];d=j[d>>2]}v=j[a+8>>2];Rg(u,f+56|0);r=d+j[f+56>>2]|0;m=r&-64;j[f+56>>2]=m;s=(d+j[f+64>>2]|0)+63&-64;j[f+64>>2]=s;n=j[f+60>>2]+e&-64;j[f+60>>2]=n;t=(j[f+68>>2]+e|0)+63|0;l=t&-64;j[f+68>>2]=l;x=l-n|0;l=x>>>6|0;w=(c|0)==4?p(l,3):l;z=s-m|0;s=z>>>6|0;g=p(s,3);o=(c|0)==3;y=o?g:s;if((w|y)&268402688){j[f+76>>2]=98;break a}if(h[j[b+156>>2]+4|0]&1){q=j[b+88>>2];if(q){qe[j[v+8>>2]](v,q)}j[b+88>>2]=0;q=j[b+156>>2];j[q+4>>2]=j[q+4>>2]&-2}g=o?g+3&536870908:s;A=b,B=He(v,p(g,w),f+76|0),j[A+88>>2]=B;if(j[f+76>>2]){break a}o=j[b+156>>2];j[o+4>>2]=j[o+4>>2]|1;j[b+104>>2]=t>>6;j[b+100>>2]=r>>6;j[b+72>>2]=1651078259;h[b+94|0]=2;i[b+92>>1]=256;j[b+80>>2]=y;j[b+84>>2]=g;j[b+76>>2]=w;n=e-n|0;m=d-m|0;t=n|m;if(t){Tf(u,m,n)}j[f+16>>2]=1;j[f+12>>2]=u;j[f+8>>2]=b+76;o=qe[j[a+56>>2]](j[a+52>>2],f+8|0)|0;j[f+76>>2]=o;c:{if(!o){d:{if((c|0)==3){if(!x){break d}r=j[b+88>>2];e=l;while(1){if(z){a=r+y|0;d=s;while(1){d=d-1|0;q=k[r+d|0];h[a-1|0]=q;h[a-2|0]=q;a=a-3|0;h[a|0]=q;if(d){continue}break}}r=g+r|0;e=e-1|0;if(e){continue}break}}if(!(!x|(c|0)!=4)){d=j[b+88>>2];a=d+p(g,w-l|0)|0;while(1){c=Ae(Ae(Ae(d,a,g)+g|0,a,g)+g|0,a,g);a=a+g|0;d=c+g|0;l=l-1|0;if(l){continue}break}}j[f+76>>2]=0;if(t){Tf(u,0-m|0,0-n|0)}if(o){break c}break a}j[f+76>>2]=0;if(!t){break a}Tf(u,0-m|0,0-n|0);break a}if(!t){break c}Tf(u,0-m|0,0-n|0)}a=j[b+88>>2];if(a){qe[j[v+8>>2]](v,a)}j[b+88>>2]=0;a=j[b+156>>2];j[a+4>>2]=j[a+4>>2]&-2}oe=f+80|0;return j[f+76>>2]}function Vx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=oe-48|0;oe=d;k=j[b+28>>2];j[d+20>>2]=j[b+8>>2];r=d,s=rf(b,d+4|0),j[r+8>>2]=s;c=j[d+4>>2];a:{if(c){break a}c=$e(b,89136,d+8|0);j[d+4>>2]=c;if(c){break a}c=1330926671;b:{if(j[d+8>>2]==1330926671){e=l[d+12>>1];break b}e=j[d+20>>2];c=Fe(b,e+12|0);j[d+44>>2]=c;if(c){break a}c=2;if(!l[d+12>>1]){break a}m=e+28|0;e=0;while(1){c:{c=$e(b,89168,d+24|0);j[d+44>>2]=c;if(c){break c}c=j[b+4>>2];f=j[d+32>>2];d:{if(c>>>0>>0){break d}h=j[d+36>>2];n=h>>>0<=c-f>>>0;c=j[d+24>>2];if((c|0)!=1752003704?!(n|(c|0)==1986884728):0){break d}e=e+1|0;e:{if((c|0)<=1651008867){if((c|0)==1296389185){break e}if((c|0)!=1397313095){break d}o=1;break d}if((c|0)!=1651008868?(c|0)!=1751474532:0){break d}if(h>>>0<54){c=142;break a}c=Fe(b,f+12|0);j[d+44>>2]=c;if(c){break a}rf(b,d+44|0);c=j[d+44>>2];if(c){break a}c=Fe(b,(g<<4)+m|0);j[d+44>>2]=c;p=1;if(!c){break d}break a}q=1}g=g+1|0;if(g>>>0>1]){continue}}break}i[d+12>>1]=e;c=2;if(!(e&65535)){break a}if(!p){c=142;if(!o|!q){break a}}j[d+4>>2]=0;c=j[d+8>>2]}j[a+148>>2]=c;i[a+152>>1]=e;r=a,s=xe(k,16,0,e&65535,0,d+4|0),j[r+156>>2]=s;c=j[d+4>>2];if(c){break a}c=Fe(b,j[d+20>>2]+12|0);j[d+4>>2]=c;if(c){break a}c=_e(b,l[a+152>>1]<<4);j[d+4>>2]=c;if(c){break a}if(l[d+12>>1]){c=j[a+156>>2];a=0;while(1){r=c,s=Ef(b),j[r>>2]=s;r=c,s=Ef(b),j[r+4>>2]=s;r=c,s=Ef(b),j[r+8>>2]=s;e=Ef(b);j[c+12>>2]=e;f=j[b+4>>2];g=j[c+8>>2];f:{if(f>>>0>>0){break f}h=e;e=f-g|0;if(h>>>0>e>>>0){f=j[c>>2];if((f|0)!=1752003704?(f|0)!=1986884728:0){break f}j[c+12>>2]=e&-4}c=c+16|0}a=a+1|0;if(a>>>0>1]){continue}break}}Ve(b);c=j[d+4>>2]}oe=d+48|0;return c|0}function $y(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(m[b+160>>2]>>0){Pe(b,8)}e=k[a+3|0]|k[a+2|0]<<8;if(m[b+160>>2]>>0){if(j[b+164>>2]){Pe(b,8)}e=j[b+160>>2]-a|0}if(e>>>0<=15){Pe(b,8)}c=k[a+7|0];d=c|k[a+6|0]<<8;if(!(!(c&1)|m[b+164>>2]<2)){Pe(b,8)}f=d&65534;if((f<<2)+16>>>0>e>>>0){Pe(b,8)}h=d>>>1|0;a:{if(m[b+164>>2]<2){break a}i=k[a+12|0];d=k[a+11|0]|k[a+10|0]<<8;c=k[a+9|0];l=c|k[a+8|0]<<8;g=c;c=k[a+13|0];if((g|c)&1){Pe(b,8)}g=1<>>1|0;if(!((g|0)!=(d|0)|d>>>0>h>>>0|(l&65534)>>>0>>0)){if((d+((c|i<<8)>>>1|0)|0)==(h|0)){break a}}Pe(b,8)}n=a+14|0;b:{if(m[b+164>>2]<2){break b}c=(f+n|0)-2|0;if((k[c|0]<<8|k[c+1|0])==65535){break b}Pe(b,8)}if(!h){return 0}o=(a+f|0)+16|0;p=f+o|0;g=f+p|0;s=f+g|0;u=a+e|0;t=h-1|0;d=0;c=0;while(1){a=c;e=d;v=k[g|0]<<8;f=k[g+1|0];l=k[p|0];i=k[p+1|0];c=k[o+1|0]|k[o|0]<<8;d=k[n+1|0]|k[n|0]<<8;if(c>>>0>d>>>0){Pe(b,8)}f=f|v;c:{if(!q|c>>>0>e>>>0){break c}if(j[b+164>>2]){Pe(b,8);break c}if(!(d>>>0>=e>>>0?a>>>0<=c>>>0:0)){r=r|1;break c}r=r|2}d:{if(!f){break d}if((f|0)!=65535){a=f+g|0;e:{f:{if(j[b+164>>2]){if(a>>>0>>0|((d-c<<1)+a|0)+2>>>0>u>>>0){break f}break e}if((d|0)==65535?!((q|0)!=(t|0)|(c|0)!=65535):0){break e}if(a>>>0>>0){break f}if(m[b+160>>2]>=((d-c<<1)+a|0)+2>>>0){break e}}Pe(b,8)}if(!j[b+164>>2]|c>>>0>=d>>>0){break d}l=i|l<<8;e=c;while(1){i=k[a+1|0]|k[a|0]<<8;if(!(!i|m[b+172>>2]>(l+i&65535)>>>0)){Pe(b,16)}a=a+2|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}break d}if(!((q|0)!=(t|0)|m[b+164>>2]>1|(c|0)!=65535)){if((d|0)==65535){break d}}Pe(b,8)}g=g+2|0;p=p+2|0;n=n+2|0;o=o+2|0;q=q+1|0;if((q|0)!=(h|0)){continue}break}return r|0}function VM(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0;a:{b:{if((a|0)<=1431918168){c:{switch(a-842094158|0){case 0:case 11:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;default:break c}}if((a|0)==825382478){break a}if((a|0)!=844715353){break b}break a}if((a|0)==1431918169|(a|0)==1448433993|(a|0)==1498831189){break a}}ve(126396,0);return 0}d=Xe(1,48);if(!d){Be(0);return 0}j[d+12>>2]=c;j[d+8>>2]=b;j[d+4>>2]=0;j[d>>2]=a;f=(b+1|0)/2|0;g=(c+1|0)/2|0;h=p(f,g);k=p(b,c);d:{e:{f:{g:{if((a|0)<=1431918168){h:{switch(a-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break d;case 0:break f;case 11:break g;default:break h}}if((a|0)==825382478){break f}if((a|0)!=844715353){break d}break e}if((a|0)==1431918169|(a|0)==1498831189){break e}if((a|0)!=1448433993){break d}}e=(h<<1)+k|0;break d}e=(h<<1)+k|0;break d}e=p(c,f)<<2}e=qe[j[57972]](e?e:1)|0;if(e){j[57976]=j[57976]+1}j[d+16>>2]=e;if(!e){lf(j[d+40>>2]);lf(j[d+44>>2]);if(d){qe[j[57975]](d);j[57976]=j[57976]-1}Be(0);return 0}i:{j:{k:{l:{if((a|0)<=1431918168){m:{switch(a-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break j;case 0:break k;case 11:break l;default:break m}}if((a|0)==825382478){break k}if((a|0)!=844715353){break j}break i}if((a|0)==1431918169|(a|0)==1498831189){break i}if((a|0)!=1448433993){break j}}j[d+28>>2]=e;i[d+20>>1]=b;a=b&65535;b=e+p(a,c)|0;j[d+32>>2]=b;a=a+1>>>1|0;i[d+24>>1]=a;i[d+22>>1]=a;j[d+36>>2]=b+p(a,g);return d}j[d+28>>2]=e;i[d+20>>1]=b;i[d+22>>1]=b+1&65534;j[d+32>>2]=e+p(b&65535,c)}return d}j[d+28>>2]=e;i[d+20>>1]=f<<2;return d}function Go(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;i=oe-16|0;oe=i;g=j[b>>2];e=g<<1;x=a,y=xe(d,4,0,e,0,i+12|0),j[x+12>>2]=y;a:{if(j[i+12>>2]){break a}x=a,y=xe(d,28,0,g,0,i+12|0),j[x+8>>2]=y;if(j[i+12>>2]){break a}x=a,y=xe(d,16,0,e|1,0,i+12|0),j[x+24>>2]=y;if(j[i+12>>2]){break a}j[a>>2]=g;j[a+28>>2]=0;j[a+20>>2]=0;j[a+4>>2]=0;j[a+16>>2]=j[a+12>>2]+(g<<2);if(g){d=j[a+8>>2];b=j[b+8>>2];f=g;while(1){j[d>>2]=j[b>>2];j[d+4>>2]=j[b+4>>2];j[d+16>>2]=j[b+8>>2];b=b+12|0;d=d+28|0;f=f-1|0;if(f){continue}break}}e=0;b:{if(!c){break b}l=j[c>>2];m=j[c+8>>2];j[a+32>>2]=c;if(!l){break b}while(1){s=j[m>>2];if(s){o=j[m+8>>2];b=0;n=0;t=0;while(1){if(!b){t=k[o|0];o=o+1|0;b=128}c:{if(!(b&t)|g>>>0<=n>>>0){break c}h=j[a+8>>2]+p(n,28)|0;c=j[h+16>>2];if(c&4){break c}j[h+16>>2]=c|4;c=j[a+16>>2];j[h+20>>2]=0;d:{if(!e){break d}u=j[h>>2];w=u+j[h+4>>2]|0;f=e;d=c;while(1){q=j[d>>2];v=j[q>>2];if(!((v|0)>(w|0)|(j[q+4>>2]+v|0)<(u|0))){j[h+20>>2]=q;break d}d=d+4|0;f=f-1|0;if(f){continue}break}}if(e>>>0>=g>>>0){break c}d=e+1|0;j[a+4>>2]=d;j[c+(e<<2)>>2]=h;e=d}b=b>>1;n=n+1|0;if((s|0)!=(n|0)){continue}break}}m=m+16|0;l=l-1|0;if(l){continue}break}}if(!g|(e|0)==(g|0)){break a}while(1){f=j[a+8>>2]+p(r,28)|0;b=j[f+16>>2];e:{if(b&4){break e}j[f+16>>2]=b|4;c=j[a+16>>2];j[f+20>>2]=0;f:{if(!e){break f}m=j[f>>2];n=m+j[f+4>>2]|0;b=e;d=c;while(1){h=j[d>>2];l=j[h>>2];if(!((l|0)>(n|0)|(m|0)>(l+j[h+4>>2]|0))){j[f+20>>2]=h;break f}d=d+4|0;b=b-1|0;if(b){continue}break}}if(e>>>0>=g>>>0){break e}b=e+1|0;j[a+4>>2]=b;j[c+(e<<2)>>2]=f;e=b}r=r+1|0;if((r|0)!=(g|0)){continue}break}}oe=i+16|0;return j[i+12>>2]}function ft(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;b=Wh(j[a+60>>2],b,c);a:{if(b){break a}b:{if(!j[a+36>>2]){j[d>>2]=1;break b}b=j[a>>2];r=qe[j[b+4>>2]](b,0,0,1)|0;f=pe;o=j[a+48>>2];i=j[a+52>>2];t=j[a+64>>2];c:{if((t|0)>=1){u=j[a+68>>2];b=0;while(1){e=p(b,20);c=e+u|0;d:{if(!j[c>>2]){break d}d=f;n=j[a+40>>2];g=p(k[a+14|0],l[a+12>>1]>>>3&31);v=e+u|0;q=p(g,j[v+4>>2]);s=n+q|0;e=j[a+44>>2];h=s>>>0>>0?e+1|0:e;q=h;if((d|0)<(h|0)?1:(h|0)>=(d|0)?s>>>0>r>>>0:0){break d}d=p(g,j[v+8>>2]+1|0);g=d+n|0;e=d>>>0>g>>>0?e+1|0:e;d=g;if((e|0)>(f|0)?1:(e|0)>=(f|0)?d>>>0>r>>>0:0){break c}}b=b+1|0;if((t|0)>(b|0)){continue}break}}c=0;d=o;e=i}n=j[a+20>>2];g=n;e:{h=j[a>>2];b=r;o=d-b|0;f=e-(f+(b>>>0>d>>>0)|0)|0;b=g>>31;b=qe[j[h+8>>2]](h,j[a+56>>2],1,((b|0)>(f|0)?1:(f|0)<=(b|0)?g>>>0>o>>>0:0)?o:g)|0;if((b|0)<1){break e}if((Gi(j[a+60>>2],j[a+56>>2],b)|0)>=0){break e}return-1}f:{if(!c){break f}b=j[a>>2];d=qe[j[b+4>>2]](b,0,0,1)>>>0>>0;b=pe;if((b|0)<(e|0)?1:(e|0)>=(b|0)?d:0){break f}g:{h:{i:{b=j[c+16>>2];switch(b|0){case 1:break g;case 0:break h;default:break i}}j[c+16>>2]=b-1}a=j[a>>2];qe[j[a+4>>2]](a,s,q,0)|0;break b}j[c>>2]=0}b=j[a>>2];d=qe[j[b+4>>2]](b,0,0,1)|0;c=pe;b=j[a+52>>2];if((b|0)>(c|0)?1:(c|0)<=(b|0)?d>>>0>2]:0){break b}i=j[a+36>>2];if((i|0)==1){j[a+36>>2]=0;ps(j[a+60>>2]);break b}b=-1;e=j[a+64>>2];if((e|0)>=1){d=j[a+68>>2];c=0;while(1){f=d+p(c,20)|0;j[f>>2]=1;j[f+16>>2]=j[f+12>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[a+36>>2]=(i|0)>0?i-1|0:-1;c=j[a>>2];qe[j[c+4>>2]](c,j[a+40>>2],j[a+44>>2],0)|0;if(pe>>31<0){break a}}b=0}return b|0}function jJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(D){h=(p(h,y)>>>0)/255|0;i=(p(i,z)>>>0)/255|0;l=(p(l,A)>>>0)/255|0}b=b>>>24|0;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(l,f)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+l|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=l+f|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function iI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(D){h=(p(h,y)>>>0)/255|0;i=(p(i,A)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b&255;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,i)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+i|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function RI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(D){i=(p(i,y)>>>0)/255|0;h=(p(h,A)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b&255;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){i=(p(i,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(i,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+i|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=i+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function CI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(D){i=(p(i,z)>>>0)/255|0;h=(p(h,A)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b>>>24|0;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){i=(p(i,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(l,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+l|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=l+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function aE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=oe-1056|0;oe=i;d=i+1048|0;j[d>>2]=0;j[d+4>>2]=0;d=i+1040|0;j[d>>2]=0;j[d+4>>2]=0;j[i+1032>>2]=0;j[i+1036>>2]=0;j[i+1024>>2]=0;j[i+1028>>2]=0;a:{b:{c:{d:{c=k[b|0];e:{if(!c){l=-1;d=1;break e}while(1){if(!k[a+f|0]){break b}d=c&255;f=f+1|0;j[(d<<2)+i>>2]=f;c=(i+1024|0)+(d>>>3&28)|0;j[c>>2]=j[c>>2]|1<>>0>1){break d}}g=-1;e=1;break c}m=1;c=1;while(1){g=k[(c+l|0)+b|0];h=k[b+d|0];f:{if((g|0)==(h|0)){if((c|0)==(m|0)){e=e+m|0;c=1;break f}c=c+1|0;break f}if(g>>>0>h>>>0){m=d-l|0;e=d;c=1;break f}l=e;e=e+1|0;m=1;c=1}d=c+e|0;if(f>>>0>d>>>0){continue}break}e=1;g=-1;if(f>>>0<=1){d=m;break c}d=0;h=1;c=1;while(1){o=k[(c+g|0)+b|0];n=k[b+e|0];g:{if((o|0)==(n|0)){if((c|0)==(h|0)){d=d+h|0;c=1;break g}c=c+1|0;break g}if(n>>>0>o>>>0){h=e-g|0;d=e;c=1;break g}g=d;d=d+1|0;h=1;c=1}e=d+c|0;if(f>>>0>e>>>0){continue}break}d=m;e=h}c=d;d=g+1>>>0>l+1>>>0;h=d?e:c;n=d?g:l;o=n+1|0;h:{if(wg(b,h+b|0,o)){d=(n^-1)+f|0;h=(d>>>0>>0?n:d)+1|0;p=f-h|0;m=0;break h}p=f-h|0;m=p}r=f-1|0;q=f|63;g=0;d=a;while(1){i:{if(a-d>>>0>=f>>>0){break i}c=Mh(a,0,q);if(c){a=c;if(c-d>>>0>>0){break b}break i}a=a+q|0}e=k[d+r|0];c=f;j:{k:{if(!(j[(i+1024|0)+(e>>>3&28)>>2]>>>e&1)){break k}c=f-j[(e<<2)+i>>2]|0;if(c){c=m?g?c>>>0>>0?p:c:c:c;break k}l:{c=o;e=c>>>0>g>>>0?c:g;l=k[e+b|0];if(l){while(1){if(k[d+e|0]!=(l&255)){break l}e=e+1|0;l=k[e+b|0];if(l){continue}break}}while(1){if(c>>>0<=g>>>0){break a}c=c-1|0;if(k[c+b|0]==k[d+c|0]){continue}break}c=h;g=m;break j}c=e-n|0}g=0}d=d+c|0;continue}}d=0}oe=i+1056|0;return d}function xg(a){var b=0,c=0,d=0,e=0,f=0;if(a){f=j[a+4>>2];b=0;a:{if(!f){break a}b=j[f+28>>2]}c=j[a+104>>2];if(c){d=j[c>>2];if(d){yF(d);ze(j[c>>2])}d=j[c+12>>2];if(d){Yl(j[d>>2]);ze(j[j[c+12>>2]>>2]);ze(j[c+12>>2])}d=j[c+16>>2];if(d){Yl(j[d>>2]);ze(j[j[c+16>>2]>>2]);ze(j[c+16>>2])}e=j[c+48>>2];if(e){b:{if(!b){break b}d=1;if(j[b+16>>2]<1){break b}qe[j[j[(j[b+800>>2]<<2)+198148>>2]+16>>2]](j[e>>2]);if(j[b+16>>2]>=2){while(1){e=d<<2;qe[j[j[(j[(b+e|0)+800>>2]<<2)+198148>>2]+16>>2]](j[e+j[c+48>>2]>>2]);d=d+1|0;if((d|0)>2]){continue}break}}e=j[c+48>>2]}ze(e)}e=j[c+52>>2];if(e){c:{if(!b){break c}d=1;if(j[b+20>>2]<1){break c}qe[j[j[(j[b+1312>>2]<<2)+198156>>2]+16>>2]](j[e>>2]);if(j[b+20>>2]>=2){while(1){e=d<<2;qe[j[j[(j[(b+e|0)+1312>>2]<<2)+198156>>2]+16>>2]](j[e+j[c+52>>2]>>2]);d=d+1|0;if((d|0)>2]){continue}break}}e=j[c+52>>2]}ze(e)}e=j[c+56>>2];if(e){d:{if(!b){break d}d=1;if(j[b+28>>2]<1){break d}jq(e);if(j[b+28>>2]>=2){while(1){jq(j[c+56>>2]+p(d,52)|0);d=d+1|0;if((d|0)>2]){continue}break}}e=j[c+56>>2]}ze(e)}b=j[c+60>>2];if(b){Nh(b)}j[c+80>>2]=0;j[c+84>>2]=0;j[c+120>>2]=0;j[c+124>>2]=0;j[c+112>>2]=0;j[c+116>>2]=0;j[c+104>>2]=0;j[c+108>>2]=0;j[c+96>>2]=0;j[c+100>>2]=0;j[c+88>>2]=0;j[c+92>>2]=0;vq(c+20|0);vq(c+32|0)}d=j[a+8>>2];e:{if(!d){break e}f:{if(!f){break f}e=j[f+4>>2];if((e|0)<1){break f}b=0;while(1){d=j[(b<<2)+d>>2];if(d){ze(d);e=j[f+4>>2]}b=b+1|0;if((e|0)>(b|0)){d=j[a+8>>2];continue}break}d=j[a+8>>2]}ze(d);b=j[a+12>>2];if(!b){break e}ze(b)}if(c){b=j[c+64>>2];if(b){ze(b)}b=j[c+68>>2];if(b){ze(b)}b=j[c+72>>2];if(b){ze(b)}ze(c)}Ee(a,0,112)}}function mk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=oe-16|0;oe=h;a:{if(!(j[a>>2]==268306?a:0)){ve(125954,0);f=-1;break a}if(j[a+8>>2]!=1){f=ve(126009,0);break a}if(!b){b=h;j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=j[a+12>>2];j[b+12>>2]=j[a+16>>2]}f=j[a+44>>2];if(f){e=j[a+36>>2];b:{if(j[a+72>>2]!=j[e+352>>2]){break b}g=j[e+340>>2];if(!g){break b}f=e+420|0;i=qe[j[e+48>>2]](e,g,j[e+408>>2],j[e+412>>2])|0;while(1){g=f;f=j[f+8>>2];if(f){continue}break}j[g+8>>2]=j[e+432>>2];j[e+432>>2]=j[e+428>>2];j[e+428>>2]=0;f=j[e+344>>2];if(f){j[f+24>>2]=j[e+348>>2];j[e+344>>2]=0;j[e+348>>2]=j[e+340>>2];j[e+340>>2]=0}j[e+412>>2]=0;j[e+404>>2]=0;j[e+396>>2]=0;j[e+400>>2]=0;j[e+352>>2]=j[e+352>>2]+1;f=-1;if((i|0)<0){break a}f=j[a+44>>2]}f=TM(f,b,c,d);break a}if(j[a+40>>2]){f=j[b+4>>2];j[a+56>>2]=j[b>>2];j[a+60>>2]=f;g=j[b+12>>2];f=a- -64|0;j[f>>2]=j[b+8>>2];j[f+4>>2]=g;e=j[b>>2];f=j[a+52>>2];g=j[a+48>>2]+p(f,j[b+4>>2])|0;a=j[a+4>>2];c:{if(!(!a|(a&-268435456)==268435456)){b=2;if((a|0)==844715353|(a|0)==1498831189){break c}b=(a|0)==1431918169?2:1;break c}b=a&255}j[c>>2]=g+p(b,e);j[d>>2]=f;f=0;break a}d:{e=j[a+36>>2];if(j[a+72>>2]!=j[e+352>>2]){break d}g=j[e+340>>2];if(!g){break d}f=e+420|0;i=qe[j[e+48>>2]](e,g,j[e+408>>2],j[e+412>>2])|0;while(1){g=f;f=j[f+8>>2];if(f){continue}break}j[g+8>>2]=j[e+432>>2];j[e+432>>2]=j[e+428>>2];j[e+428>>2]=0;f=j[e+344>>2];if(f){j[f+24>>2]=j[e+348>>2];j[e+344>>2]=0;j[e+348>>2]=j[e+340>>2];j[e+340>>2]=0}j[e+412>>2]=0;j[e+404>>2]=0;j[e+396>>2]=0;j[e+400>>2]=0;j[e+352>>2]=j[e+352>>2]+1;if((i|0)>=0){break d}f=-1;break a}f=qe[j[e+60>>2]](e,a,b,c,d)|0}oe=h+16|0;return f}function hC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,l=0,n=0;l=oe-16|0;oe=l;d=j[a+656>>2];j[l+12>>2]=0;a:{if(!d){break a}f=j[d+2960>>2];c=0;b:{if(f){break b}f=He(j[a+100>>2],32,l+12|0);c=j[l+12>>2];if(c){break a}a=0;n=f;c=j[d+1324>>2];g=0;c:{if((c|0)==65535){break c}if(c>>>0>=391){e=c-391|0;g=0;if(e>>>0>=m[d+1312>>2]){break c}g=j[j[d+1316>>2]+(e<<2)>>2];break c}e=j[d+2956>>2];g=0;if(!e){break c}g=qe[j[e+20>>2]](c)|0}j[n>>2]=g;e=j[d+1328>>2];d:{if((e|0)==65535){break d}if(e>>>0>=391){c=e-391|0;if(c>>>0>=m[d+1312>>2]){break d}a=j[j[d+1316>>2]+(c<<2)>>2];break d}c=j[d+2956>>2];if(!c){break d}a=qe[j[c+20>>2]](e)|0}j[f+4>>2]=a;a=0;n=f;c=j[d+1336>>2];g=0;e:{if((c|0)==65535){break e}if(c>>>0>=391){e=c-391|0;g=0;if(e>>>0>=m[d+1312>>2]){break e}g=j[j[d+1316>>2]+(e<<2)>>2];break e}e=j[d+2956>>2];g=0;if(!e){break e}g=qe[j[e+20>>2]](c)|0}j[n+8>>2]=g;e=j[d+1340>>2];f:{if((e|0)==65535){break f}if(e>>>0>=391){c=e-391|0;if(c>>>0>=m[d+1312>>2]){break f}a=j[j[d+1316>>2]+(c<<2)>>2];break f}c=j[d+2956>>2];if(!c){break f}a=qe[j[c+20>>2]](e)|0}j[f+12>>2]=a;c=0;e=j[d+1344>>2];g:{if((e|0)==65535){break g}if(e>>>0>=391){a=e-391|0;if(a>>>0>=m[d+1312>>2]){break g}c=j[j[d+1316>>2]+(a<<2)>>2];break g}a=j[d+2956>>2];if(!a){break g}c=qe[j[a+20>>2]](e)|0}j[f+16>>2]=c;j[f+20>>2]=j[d+1352>>2];h[f+24|0]=k[d+1348|0];i[f+26>>1]=j[d+1356>>2];i[f+28>>1]=j[d+1360>>2];j[d+2960>>2]=f;c=j[l+12>>2]}a=j[f+4>>2];j[b>>2]=j[f>>2];j[b+4>>2]=a;a=j[f+28>>2];j[b+24>>2]=j[f+24>>2];j[b+28>>2]=a;a=j[f+20>>2];j[b+16>>2]=j[f+16>>2];j[b+20>>2]=a;a=j[f+12>>2];j[b+8>>2]=j[f+8>>2];j[b+12>>2]=a}oe=l+16|0;return c|0}function uy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0;d=a+10|0;if(d>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+6|0]|k[a+7|0]<<8|(k[a+8|0]<<16|k[a+9|0]<<24);n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=k[a+2|0]|k[a+3|0]<<8|(k[a+4|0]<<16|k[a+5|0]<<24);h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!((h-10>>>0)/11>>>0>=n>>>0?!(h>>>0<10|j[b+160>>2]-a>>>0>>0):0)){Pe(b,8)}if(n){o=a+4|0;c=1;while(1){p=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);a=k[d+3|0]|k[d+4|0]<<8|(k[d+5|0]<<16|k[d+6|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!(f>>>0>>0?e>>>0>>0:0)){Pe(b,8)}if(c>>>0>p>>>0){Pe(b,8)}a:{if(!e){break a}a=e+o|0;c=a-4|0;c=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(g>>>0>j[b+160>>2]-a>>>2>>>0){Pe(b,8);break b}if(!g){break a}}c=0;e=0;while(1){i=k[a+2|0]|(k[a+1|0]<<8|k[a|0]<<16);l=i+k[a+3|0]|0;if(l>>>0>=1114112){Pe(b,8)}if(e>>>0>i>>>0){Pe(b,8)}a=a+4|0;e=l+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}c:{if(!f){break c}a=f+o|0;c=a-4|0;c=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d:{if(c>>>0>j[b+160>>2]-a>>>2>>>0){Pe(b,8);break d}if(!c){break c}}e=0;g=0;while(1){i=k[a+3|0];l=k[a+4|0];f=k[a+2|0]|(k[a+1|0]<<8|k[a|0]<<16);if(f>>>0>=1114112){Pe(b,8)}if(e>>>0>f>>>0){Pe(b,8)}if(!(!j[b+164>>2]|m[b+172>>2]>(l|i<<8)>>>0)){Pe(b,16)}a=a+5|0;e=f+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}d=d+11|0;c=p+1|0;q=q+1|0;if((q|0)!=(n|0)){continue}break}}return 0}function xj(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;s=e>>8;if((d|0)==(f|0)){c=b-j[a+172>>2]|0;b=j[a+168>>2];b=((b|0)<(s|0)?b:s)-j[a+164>>2]|0;d=(b|0)>-1?b:-1;if(!((c|0)==j[a+160>>2]?(d|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Hg(a)}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=c;j[a+156>>2]=d}j[a+196>>2]=c>>>0>2]?(d|0)>=j[a+180>>2]:1;return}v=e&255;i=c&255;r=c>>8;if((r|0)==(s|0)){b=f-d|0;j[a+192>>2]=b+j[a+192>>2];j[a+188>>2]=j[a+188>>2]+p(b,i+v|0);return}l=f-d|0;g=a;k=e-c|0;a:{if((k|0)>-1){w=256;u=1;c=256-i|0;break a}k=0-k|0;u=-1;c=i}e=p(c,l);c=(e|0)/(k|0)|0;n=e-p(c,k)|0;h=c+(n>>31)|0;l=h+j[a+192>>2]|0;j[g+192>>2]=l;o=j[a+188>>2]+p(h,i|w)|0;j[a+188>>2]=o;c=j[a+168>>2];e=r+u|0;c=((c|0)<(e|0)?c:e)-j[a+164>>2]|0;g=(c|0)>-1?c:-1;i=b-j[a+172>>2]|0;if(!((i|0)==j[a+160>>2]?(g|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Hg(a)}j[a+160>>2]=i;j[a+156>>2]=g;o=0;l=0}c=1;r=j[a+184>>2];c=r>>>0>i>>>0?j[a+180>>2]<=(g|0):c;j[a+196>>2]=c;d=d+h|0;if((e|0)!=(s|0)){q=(f+h|0)-d<<8;h=(q|0)/(k|0)|0;q=q-p(h,k)|0;t=q>>31;q=(t&k)+q|0;t=h+t|0;h=n-((n|0)<0?0:k)|0;while(1){h=h+q|0;n=((h^-1)>>>31|0)+t|0;l=n+l|0;j[a+192>>2]=l;o=(n<<8)+o|0;j[a+188>>2]=o;x=g;g=j[a+168>>2];e=e+u|0;g=((e|0)>(g|0)?g:e)-j[a+164>>2]|0;g=(g|0)>-1?g:-1;y=i;i=b-j[a+172>>2]|0;if(!((y|0)==(i|0)?(x|0)==(g|0):0)){if(!c){Hg(a);r=j[a+184>>2]}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=i;j[a+156>>2]=g;o=0;l=0}c=1;h=h-((h|0)<0?0:k)|0;d=d+n|0;c=i>>>0>>0?(g|0)>=j[a+180>>2]:c;j[a+196>>2]=c;if((e|0)!=(s|0)){continue}break}}b=f-d|0;j[a+192>>2]=b+l;j[a+188>>2]=p(b,(v|256)-w|0)+o}function Ak(a){var b=0,c=0,d=0,e=0;Rt(a);a:{if(k[a+432|0]){b=j[a+352>>2];c=j[a+216>>2];j[a+356>>2]=c&2?b:b+7>>>3|0;e=j[a+348>>2];b=k[a+433|0];d=k[b+101313|0];j[a+368>>2]=((e+d|0)+(k[b+101306|0]^-1)>>>0)/(d>>>0);break a}j[a+356>>2]=j[a+352>>2];e=j[a+348>>2];j[a+368>>2]=e;c=j[a+216>>2]}d=k[a+438|0];d=c&4?k[a+436|0]<8?8:d:d;b=d&255;b:{if(c&4096){c:{d:{switch(k[a+435|0]){case 3:b=l[a+428>>1]?32:24;break c;case 0:b=(((d&255)>>>0>8?d:8)&255)<<(l[a+428>>1]!=0);break c;case 2:break d;default:break c}}if(!l[a+428>>1]){break c}b=((d&255)<<2>>>0)/3|0}if(!(c&512)){break b}b=b<<(k[a+436|0]<16);break b}if(!(c&512)){break b}j[a+216>>2]=c&-513}c=j[a+216>>2];d=c&32768;e:{if(!d){break e}f:{switch(k[a+435|0]){case 0:b=(b|0)<9?16:32;break e;case 2:case 3:break f;default:break e}}b=(b|0)>32?64:32}g:{if(!(c&16384)){break g}h:{if(!(d|c>>>12&l[a+428>>1]!=0)){d=k[a+435|0];if((d|0)!=4){break h}}b=(b|0)<17?32:64;break g}if((b|0)<=8){b=(d|0)==6?32:24;break g}b=(d|0)==6?64:48}if(c&1048576){c=p(k[a+205|0],k[a+204|0]);b=(b|0)<(c|0)?c:b}h[a+443|0]=0;h[a+442|0]=b;c=e+7&-8;c=((b+7>>3)+((b|0)>7?p(c,b>>>3|0):p(b,c)>>>3|0)|0)+49|0;if(c>>>0>m[a+784>>2]){Ke(a,j[a+728>>2]);Ke(a,j[a+804>>2]);b=a;i:{if(k[a+432|0]){d=sj(a,c);break i}d=gh(a,c)}j[b+728>>2]=d;b=gh(a,c);j[a+804>>2]=b;j[a+784>>2]=c;b=b+32|0;j[a+380>>2]=(b^-1|-16)+b;b=j[a+728>>2]+32|0;j[a+384>>2]=(b^-1|-16)+b}j:{b=j[a+364>>2];if((b|0)!=-1){Ee(j[a+380>>2],0,b+1|0);b=j[a+788>>2];if(b){j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,b)}if(Dk(a,1229209940)){break j}j[a+212>>2]=j[a+212>>2]|64;return}Ye(a,101320);z()}Ye(a,j[a+248>>2]);z()}function OK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;a:{f=j[a+28>>2];if(!f){break a}e=j[a+56>>2];d=j[a+48>>2];i=j[a+36>>2];l=j[a+16>>2];b=j[a+24>>2];m=b&7;n=(b+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];b:while(1){g=n;c:{d:{switch(m-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=1;continue;case 1:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=2;continue;case 2:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=3;continue;case 3:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=4;continue;case 4:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=5;continue;case 5:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=6;continue;case 6:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=7;continue;default:break e}}b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}b=f-1|0;a=a+3|0;c=c+1|0;f:{if((g|0)>1){g=g-1|0;break f}a=a+i|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function wI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,i)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+i|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function uJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,y)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(l,f)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+l|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=l+f|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function qI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(f,h)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;m=(p(i,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+l|0;m=((p(b,m)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=f+h|0;f=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=i+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function pJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,y)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(f,h)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;m=(p(l,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+i|0;m=((p(b,m)>>>0)/255|0)+l|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=f+h|0;f=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=l+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function cJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,x)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(i,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+i|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=i+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function YI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,x)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(f,i)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+i|0;e=((p(b,e)>>>0)/255|0)+l|0;m=((p(b,m)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=f+i|0;f=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=h+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function NI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,y)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,x)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(l,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+l|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=l+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function JI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,y)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,x)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(l,f)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+l|0;e=((p(b,e)>>>0)/255|0)+i|0;m=((p(b,m)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=l+f|0;f=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=h+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function OJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;n=j[a+24>>2];w=(j[a+4>>2]<<16)/(n|0)|0;x=(j[a+8>>2]<<16)/(b|0)|0;if(b){y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]:255;B=(b&48)!=0&(o|0)!=255;C=b&1;r=o^255;b=b&112;D=b-16|0;E=(b|0)==64;q=j[a+20>>2];b=q;while(1){if((f|0)>=65536){c=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(c&-65536)|0)-65536|0;u=((c>>>16|0)+u|0)+1|0}if(n){s=-1;d=65536;v=0;while(1){if((d|0)>=65536){c=(d-((d|0)<131071?d:131071)|0)+65535|0;s=((c>>>16|0)+s|0)+1|0;v=(j[a>>2]+p(j[a+12>>2],u)|0)+(s<<2)|0;d=(d-(c&-65536)|0)-65536|0}e=j[b>>2];c=j[v>>2];g=c&255;h=c>>>8&255;i=c>>>16&255;if(C){g=(p(g,y)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;i=(p(i,A)>>>0)/255|0}if(B){g=(p(g,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0}n=n-1|0;t=e>>>24|0;l=e&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(D|0){default:if(!E){break a}l=(p(g,l)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;break a;case 0:t=((p(r,t)>>>0)/255|0)+o|0;l=((p(l,r)>>>0)/255|0)+g|0;m=((p(m,r)>>>0)/255|0)+h|0;e=((p(e,r)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}c=g+l|0;l=c>>>0<255?c:255;c=h+m|0;m=c>>>0<255?c:255;c=e+i|0;e=c>>>0<255?c:255}j[b>>2]=m<<8|e<<16|l|t<<24;b=b+4|0;d=d+w|0;if(n){continue}break}d=j[a+28>>2]}b=d-1|0;j[a+28>>2]=b;q=j[a+32>>2]+q|0;if(d){f=f+x|0;n=j[a+24>>2];d=b;b=q;continue}break}j[a+20>>2]=q}}function gI(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;g=oe-16|0;oe=g;c=j[a+52>>2];f=j[c>>2];d=j[f+4>>2];a:{if(k[d+8|0]<=7){wf(c);a=ve(148320,0);break a}if(k[a|0]&2){Bi(a,1);d=j[f+4>>2]}j[c+8>>2]=926;j[c+56>>2]=j[a+4>>2];b=j[a+16>>2];j[c+60>>2]=d;j[c+28>>2]=b;j[c+48>>2]=j[f+16>>2];b:{if(!(k[c+69|0]&16)){break b}if(hk(a)){break b}a=0;break a}c:{if(!(!j[c+4>>2]|j[c+68>>2]&-4097)){b=927;break c}b=j[a+4>>2];if(!(k[j[f+4>>2]+28|0]<9?k[b+28|0]<=8:0)){wf(c);a=ve(148320,0);break a}d:{e:{if(k[b+8|0]>7){break e}d=j[b>>2];if(((d&-268435456)!=268435456?d:0)|(d>>>24&15)-1>>>0>2){break e}b=hL(a);break d}f:{if(k[b+9|0]!=1){break f}b=j[b>>2];if(((b&-268435456)!=268435456?b:0)|(b>>>24&15)-1>>>0>2){break f}b=XK(a);break d}if(k[c+68|0]&16){b=MK(a);break d}b=yK(a)}if(b){break c}d=j[c+68>>2];i=j[j[f+4>>2]>>2];l=j[j[a+4>>2]>>2];g:{if(j[58615]!=-1){break g}b=Qf(148351);j[58615]=0;if(b){j[g>>2]=234460;CL(b,g);break g}if(tr()){j[58615]=j[58615]|1}if(wL()){j[58615]=j[58615]|2}if(vL()){j[58615]=j[58615]|4}if(uL()){j[58615]=j[58615]|8}if(!xL()){break g}j[58615]=j[58615]|16}b=j[57984];if(b){h=d&883;d=0;m=j[58615];while(1){e=p(d,20);if(!(j[e+231920>>2]!=(l|0)|j[e+231924>>2]!=(i|0)|(j[e+231928>>2]&h)!=(h|0))){e=j[e+231932>>2];if((e&m)==(e|0)){break c}}d=d+1|0;b=j[p(d,20)+231936>>2];if(b){continue}break}}b=j[j[f+4>>2]>>2];a=j[j[a+4>>2]>>2];if(!(((a&-268435456)!=268435456?a:0)|(a>>>24&15)-1>>>0<3|((b>>>24&15)-1>>>0<3|((b&-268435456)!=268435456?b:0)))){j[c+12>>2]=928;a=0;break a}j[c+12>>2]=0;wf(c);a=ve(148320,0);break a}j[c+12>>2]=b;a=0}oe=g+16|0;return a}function yJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;m=j[a+24>>2];v=(j[a+4>>2]<<16)/(m|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];n=c&2?k[a+63|0]:255;A=(c&48)!=0&(n|0)!=255;B=c&1;q=n^255;c=c&112;C=c-16|0;D=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(m){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];g=b&255;h=b>>>8&255;b=b>>>16&255;if(B){h=(p(h,y)>>>0)/255|0;g=(p(g,z)>>>0)/255|0;b=(p(b,x)>>>0)/255|0}if(A){h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}m=m-1|0;s=e>>>24|0;i=e&255;l=e>>>8&255;e=e>>>16&255;a:{b:{switch(C|0){default:if(!D){break a}i=(p(b,i)>>>0)/255|0;l=(p(h,l)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:s=((p(q,s)>>>0)/255|0)+n|0;i=((p(i,q)>>>0)/255|0)+b|0;l=((p(l,q)>>>0)/255|0)+h|0;e=((p(e,q)>>>0)/255|0)+g|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=b+i|0;i=b>>>0<255?b:255;b=h+l|0;l=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[c>>2]=l<<8|e<<16|i|s<<24;c=c+4|0;d=d+v|0;if(m){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){f=f+w|0;m=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function nF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;k=oe-272|0;oe=k;h=j[a+28>>2];d=bf(1,1120);a=Ce(b,5);j[d>>2]=a;a:{b:{c:{d:{if((a|0)<1){break d}f=d+4|0;e=-1;while(1){a=Ce(b,4);j[f+(c<<2)>>2]=a;if((a|0)<0){break c}e=(a|0)>(e|0)?a:e;c=c+1|0;if((c|0)>2]){continue}break}if((e|0)<0){break d}l=d+320|0;f=d+256|0;m=d+192|0;n=d+128|0;c=0;while(1){a=c<<2;o=a+n|0,p=Ce(b,3)+1|0,j[o>>2]=p;i=a+m|0;g=Ce(b,2);j[i>>2]=g;if((g|0)<0){break c}e:{if(!g){a=j[a+f>>2];break e}g=a+f|0;a=Ce(b,8);j[g>>2]=a}if((a|0)<0|j[h+24>>2]<=(a|0)){break c}a=0;if(j[i>>2]!=31){while(1){g=Ce(b,8);j[(l+(c<<5)|0)+(a<<2)>>2]=g-1;if((g|0)<0|(g|0)>j[h+24>>2]){break c}a=a+1|0;if((a|0)<1<>2]){continue}break}}a=(c|0)!=(e|0);c=c+1|0;if(a){continue}break}}o=d,p=Ce(b,2)+1|0,j[o+832>>2]=p;h=Ce(b,4);if((h|0)<0){break c}e=j[d>>2];f:{if((e|0)<=0){f=1<>2]<<2)>>2]+c|0;if((c|0)>63){break c}if((a|0)<(c|0)){while(1){e=Ce(b,h);j[(g+(a<<2)|0)+8>>2]=e;if((e|0)<0|(e|0)>=(f|0)){break c}a=a+1|0;if((c|0)!=(a|0)){continue}break}e=j[d>>2];a=c}i=i+1|0;if((i|0)<(e|0)){continue}break}}j[d+840>>2]=f;a=0;j[d+836>>2]=0;b=c+2|0;if((c|0)<=-2){eg(k,b,4,1028);break a}e=d+836|0;h=(b|0)>1?b:1;while(1){f=a<<2;j[f+k>>2]=e+f;a=a+1|0;if((h|0)!=(a|0)){continue}break}eg(k,b,4,1028);if((c|0)<0){break a}b=(b|0)>2?b:2;e=j[j[k>>2]>>2];a=1;while(1){c=e;e=j[j[(a<<2)+k>>2]>>2];if((c|0)!=(e|0)){a=a+1|0;if((b|0)!=(a|0)){continue}break a}break}if(!d){break b}}ze(d)}d=0}oe=k+272|0;return d|0}function zh(a,b){var c=0,d=0,e=0;if(!(j[a>>2]==268305?a:0)){ve(125709,0);return}a:{b:{if(b){c=a;e=v(+q(n[a+288>>2]*q(j[b>>2])));c:{if(r(e)<2147483648){d=~~e;break c}d=-2147483648}j[c+216>>2]=d;c=a;e=v(+q(n[a+292>>2]*q(j[b+4>>2])));d:{if(r(e)<2147483648){d=~~e;break d}d=-2147483648}j[c+220>>2]=d;c=a;e=w(+q(n[a+288>>2]*q(j[b+8>>2])));e:{if(r(e)<2147483648){d=~~e;break e}d=-2147483648}j[c+224>>2]=d;e=w(+q(n[a+292>>2]*q(j[b+12>>2])));if(!(r(e)<2147483648)){break b}j[a+228>>2]=~~e;break a}j[a+216>>2]=0;j[a+220>>2]=0;b=a+228|0;c=a+224|0;d=j[a+316>>2];if(d){if(j[d>>2]!=268306){ve(125954,0);return}j[c>>2]=j[d+12>>2];j[b>>2]=j[d+16>>2];break a}d=j[a+8>>2];f:{if(d){b=qe[d|0](a,c,b)|0;break f}d=j[a+188>>2];if(d){ah(d,c,b);break a}b=ve(125726,0)}if((b|0)>=0){break a}return}j[a+228>>2]=-2147483648}g:{if(j[a+400>>2]){if(!xf(a+216|0,a+360|0,16)){break g}}h:{b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break h}b=Xe(1,28);if(b){break h}Be(0);return}c=j[a+344>>2];j[(c?c+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){return}j[b>>2]=1;j[b+4>>2]=0;c=a+216|0;Ge(b+8|0,c,16);if((qe[j[a+20>>2]](a,b)|0)<=-1){j[b>>2]=0;return}Ge(a+360|0,c,16);j[a+400>>2]=1}i:{if(j[a+336>>2]){break i}c=j[a+340>>2];if(!c){break i}b=a+420|0;qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[b+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}}function Lr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe+ -64|0;oe=e;c=j[a+436>>2];if(c){d=$g();b=j[c>>2];a:{if((d|0)!=(b|0)){j[c+424>>2]=0;if((zg(j[a+188>>2],b)|0)<0){break a}}b=j[a+436>>2];if(!j[b+4>>2]){break a}while(1){if(qe[j[b+104>>2]]()|0){continue}break}}b=j[c+252>>2];if(b){while(1){qe[j[c+56>>2]](j[b>>2]);d=j[b+20>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=d;if(b){continue}break}}b=j[c+260>>2];if(b){while(1){qe[j[c+52>>2]](j[b>>2]);d=j[b+148>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=d;if(b){continue}break}}if(j[c>>2]){f=j[c+232>>2];if(f){while(1){b=f+8|0;f=j[f+12>>2];qe[j[c+200>>2]](1,b);g=j[a+436>>2];b:{if(!j[g+4>>2]){break b}b=126493;d=qe[j[g+104>>2]]()|0;if(!d){break b}while(1){b=k[b|0]?b:128246;h=128351;i=d-1280|0;if(i>>>0<=5){h=j[(i<<2)+128360>>2]}j[e+52>>2]=d;j[e+48>>2]=h;j[e+44>>2]=127567;j[e+40>>2]=1377;j[e+36>>2]=126494;j[e+32>>2]=b;ve(128254,e+32|0);d=qe[j[g+104>>2]]()|0;if(d){continue}break}}b=j[c+232>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[c+232>>2]=f;if(f){continue}break}}qe[j[c+216>>2]](8,c+272|0);f=j[a+436>>2];c:{if(!j[f+4>>2]){break c}d=qe[j[f+104>>2]]()|0;if(!d){break c}b=126493;while(1){b=k[b|0]?b:128246;h=128351;g=d-1280|0;if(g>>>0<=5){h=j[(g<<2)+128360>>2]}j[e+20>>2]=d;j[e+16>>2]=h;j[e+12>>2]=127567;j[e+8>>2]=1383;j[e+4>>2]=126494;j[e>>2]=b;ve(128254,e);d=qe[j[f+104>>2]]()|0;if(d){continue}break}}$l(j[c>>2])}b=j[c+244>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}oe=e- -64|0}function SH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0,m=0;h=oe-96|0;oe=h;g=cm(b,151622);a:{if(!g){b:{a=bg(151587);c:{if(!a|(k[a|0]&254)==48){break c}if(!Me(a,151645)){break c}if(!Me(a,151616)){break c}if(!Me(a,151578)){break c}while(1){d:{Wr(f,h+8|0);if(!Me(j[h+8>>2],a)){break d}f=f+1|0;if((f|0)<2){continue}break c}break}f=xm(b,f,0);if(f){break b}}a=0;while(1){Wr(a,h+8|0);if(df(j[h+8>>2],151578)){f=xm(b,a,0);if(f){break b}}a=a+1|0;if((a|0)<2){continue}break}a=ve(151650,0);break a}g=Xe(1,20);if(!g){sm(f);a=Be(0);break a}Yj(b,151622,g);j[g>>2]=f}a=j[g+4>>2];if(a){yh(a);j[g+4>>2]=0}a=j[g+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}f=0;j[g+8>>2]=0;a=-1;if((cN(j[g>>2],h+8|0)|0)<=-1){break a}i=j[h+20>>2];j[c>>2]=i;m=j[h+16>>2];e:{if(!m){a=i;break e}a=i;while(1){f:{if((a&-268435456)!=268435456?a:0){break f}l=a>>>24&15;g:{if(l-4>>>0<=2){l=a>>>20&15;if(l>>>0>8|!(1<>>0>4){break g}l=a>>>20&15;if(l>>>0>6){break g}if(1<>2]=a;break e}f=f+1|0;if((m|0)==(f|0)){a=i}else{a=j[((f<<2)+h|0)+20>>2];continue}break}}i=um(j[g>>2],a,1,j[b+24>>2],j[b+28>>2]);j[g+4>>2]=i;a=-1;if(!i){break a}i=g;a=j[c>>2];h:{if(!(!a|(a&-268435456)==268435456)){f=2;if((a|0)==844715353|(a|0)==1498831189){break h}f=(a|0)==1431918169?2:1;break h}f=a&255}j[i+16>>2]=f;a=p(j[b+24>>2],f)+3&-4;j[g+12>>2]=a;a=p(a,j[b+28>>2]);a=a?a:1;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}j[g+8>>2]=a;if(!a){a=Be(0);break a}j[d>>2]=a;j[e>>2]=j[g+12>>2];zh(j[g>>2],0);a=0}oe=h+96|0;return a|0}function yf(a,b,c){var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;d=oe-16|0;oe=d;g=j[a>>2];j[d+12>>2]=0;a:{b:{b=i[a+58>>1]+(i[a+22>>1]+b|0)|0;e=j[a+4>>2];h=b>>>0<=e>>>0;if(!h){b=b+7&-8;f=10;if(b>>>0>32767){break a}m=a,n=xe(g,8,e,b,j[a+24>>2],d+12|0),j[m+24>>2]=n;if(j[d+12>>2]){break b}m=a,n=xe(g,1,e,b,j[a+28>>2],d+12|0),j[m+28>>2]=n;if(j[d+12>>2]){break b}if(k[a+16|0]){f=xe(g,8,e<<1,b<<1,j[a+40>>2],d+12|0);j[a+40>>2]=f;if(j[d+12>>2]){break b}l=b<<3;e=e<<3;tg(l+f|0,e+f|0,e);j[a+44>>2]=j[a+40>>2]+l}j[a+4>>2]=b}b=i[a+20>>1];c=i[a+56>>1]+(c+b|0)|0;e=j[a+8>>2];c:{d:{if(c>>>0>e>>>0){b=c+3&-4;f=10;if(b>>>0>32767){break a}c=xe(g,2,e,b,j[a+32>>2],d+12|0);j[a+32>>2]=c;if(j[d+12>>2]){break b}j[a+8>>2]=b;b=i[a+20>>1];break d}if(h){break c}c=j[a+32>>2]}j[a+68>>2]=(b<<1)+c;c=i[a+22>>1];b=c<<3;j[a+60>>2]=b+j[a+24>>2];j[a- -64>>2]=c+j[a+28>>2];if(!k[a+16|0]){break c}j[a+76>>2]=b+j[a+40>>2];j[a+80>>2]=b+j[a+44>>2]}if(j[d+12>>2]){break b}f=0;break a}b=j[a>>2];c=b;g=j[a+24>>2];if(g){qe[j[c+8>>2]](c,g)}j[a+24>>2]=0;c=j[a+28>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+28>>2]=0;c=j[a+32>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+32>>2]=0;c=j[a+40>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+40>>2]=0;c=j[a+52>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+44>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+20>>2]=0;j[a+88>>2]=0;j[a+12>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;b=j[a+40>>2];j[a+72>>2]=j[a+36>>2];j[a+76>>2]=b;c=j[a+32>>2];b=a- -64|0;j[b>>2]=j[a+28>>2];j[b+4>>2]=c;b=j[a+48>>2];j[a+80>>2]=j[a+44>>2];j[a+84>>2]=b;b=j[a+24>>2];j[a+56>>2]=j[a+20>>2];j[a+60>>2]=b;f=j[d+12>>2]}oe=d+16|0;return f}function EM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;m=oe-32|0;k=m;oe=k;h=j[b+8>>2];f=j[a+316>>2];i=376840196;a:{if(!f){break a}i=j[f+4>>2]}l=!i|(i&-268435456)==268435456;b:{if(!l){f=2;if((i|0)==844715353|(i|0)==1498831189){break b}f=(i|0)==1431918169?2:1;break b}f=i&255}n=p(f,h);h=p(n,j[b+12>>2]);c:{if(!h){break c}f=j[a+436>>2];h=qe[j[57972]](h?h:1)|0;if(h){j[57976]=j[57976]+1}if(!h){g=Be(0);break c}vm(a,k+28|0,k+24|0);o=j[f+136>>2];q=j[b>>2];d:{if(j[a+316>>2]){f=j[b+12>>2];g=j[b+4>>2];break d}f=j[b+12>>2];g=(j[k+24>>2]-j[b+4>>2]|0)-f|0}qe[o|0](q,g,j[b+8>>2],f,6408,5121,h);e:{f=j[a+436>>2];if(!j[f+4>>2]){break e}g=qe[j[f+104>>2]]()|0;if(!g){break e}while(1){a=128351;b=g-1280|0;if(b>>>0<=5){a=j[(b<<2)+128360>>2]}j[k+20>>2]=g;j[k+16>>2]=a;j[k+12>>2]=128223;j[k+8>>2]=1829;j[k+4>>2]=126494;j[k>>2]=128208;ve(128254,k);g=qe[j[f+104>>2]]()|0;if(g){continue}break}g=-1;break c}f:{if(j[a+316>>2]){break f}a=j[b+8>>2];f=j[b+12>>2];g:{if(!l){g=2;if((i|0)==844715353|(i|0)==1498831189){break g}g=(i|0)==1431918169?2:1;break g}g=i&255}l=p(g,a);h:{if(l>>>0<=127){m=m-(l+15&-16)|0;oe=m;a=f;break h}m=qe[j[57972]](l?l:1)|0;if(m){j[57976]=j[57976]+1}a=j[b+12>>2]}if(a+1>>>0>=3){g=h+p(f-1|0,n)|0;o=0-n|0;f=(a|0)/2|0;a=h;while(1){Ge(m,a,l);Ge(a,g,l);Ge(g,m,l);g=g+o|0;a=a+n|0;f=f-1|0;if(f){continue}break}}if(l>>>0<128){break f}if(m){qe[j[57975]](m);j[57976]=j[57976]-1}}g=th(j[b+8>>2],j[b+12>>2],i,h,n,c,d,e);if(h){qe[j[57975]](h);j[57976]=j[57976]-1}}oe=k+32|0;return g|0}function Um(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,p=0;e=oe-112|0;oe=e;h[a|0]=0;if(j[65586]){d=1023;b=k[262348];a:{if(!b){c=a;break a}p=e+110|0;m=1;n=e+80|1;f=262348;c=a;while(1){b:{if((b&255)==37){h[e+80|0]=37;l=f+1|0;c:{d:{e:{i=k[f+1|0];f:{if((i|0)==46){b=n;break f}b=n;if((i-48&255)>>>0>=10){break e}}while(1){h[b|0]=i;b=b+1|0;f=l;i=k[f+1|0];if((i-48&255)>>>0>=10?(i|0)!=46:0){break e}l=f+1|0;if(b>>>0

>>0){continue}break}break d}if((i|0)!=108){break d}h[b|0]=108;l=h[f+2|0];h[b+2|0]=0;h[b+1|0]=l;f=f+3|0;g:{switch(l-88|0){case 0:case 12:case 17:case 29:case 32:break g;default:break c}}j[e+64>>2]=j[(g<<7)+262480>>2];g=g+1|0;b=Ue(c,d,e+80|0,e- -64|0);if((b|0)<1){break c}d=d-b|0;c=b+c|0;break b}h[b+1|0]=0;h[b|0]=i;f=f+2|0;h:{switch((i<<24>>24)-37|0){case 0:h[c|0]=37;d=d-1|0;c=c+1|0;break b;case 51:case 62:case 63:case 68:case 74:case 80:case 83:j[e>>2]=j[(g<<7)+262480>>2];g=g+1|0;b=Ue(c,d,e+80|0,e);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b;case 65:o[e+16>>3]=o[(g<<7)+262480>>3];g=g+1|0;b=Ue(c,d,e+80|0,e+16|0);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b;case 75:j[e+32>>2]=j[(g<<7)+262480>>2];g=g+1|0;b=Ue(c,d,e+80|0,e+32|0);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b;case 78:break h;default:break b}}j[e+48>>2]=(g<<7)+262480;g=g+1|0;b=Ue(c,d,e+80|0,e+48|0);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b}b=k[f|0];if((b|0)!=0&m){continue}break a}h[c|0]=b;d=d-1|0;c=c+1|0;f=f+1|0}if((d|0)<1){break a}m=(d|0)>0;b=k[f|0];if(b){continue}break}}h[((d|0)<0?(c+d|0)-1|0:c)|0]=0}oe=e+112|0;return a}function $v(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0;e=oe-16|0;oe=e;g=j[b+16>>2];o=j[a+488>>2];qe[j[b+28>>2]](b);c=j[b>>2];a:{if(!(c>>>0>=m[b+8>>2]|k[c|0]!=91)){qe[j[b+32>>2]](b);qe[j[b+28>>2]](b);a=j[b>>2];if(k[a|0]==93?a>>>0>2]:0){break a}j[b+12>>2]=3;break a}p=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}h=b+316|0;qe[j[b+28>>2]](b);b:{if(!j[b+312>>2]){c=qe[j[j[o>>2]>>2]](h,p,g)|0;j[e+12>>2]=c;if(c){break b}}c=j[b>>2];c:{if(m[b+8>>2]<=c+4>>>0){break c}while(1){if(Qe(c,94084,3)){break c}qe[j[b+32>>2]](b);f=qe[j[b+36>>2]](b)|0;i=j[j[a+128>>2]+48>>2];c=j[b+8>>2];qe[j[b+28>>2]](b);d:{d=j[b>>2];e:{if(d>>>0>=c>>>0|k[d|0]-48>>>0>9){break e}d=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((d|0)<0){break e}l=c;c=j[b>>2];n=c+1|0;if((d|0)<(l-n|0)){break d}}if(i){break a}j[b+12>>2]=3;break a}j[b>>2]=(c+d|0)+1;if(j[b+12>>2]){break a}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}qe[j[b+28>>2]](b);c=j[b>>2];f:{if(m[b+8>>2]<=c+4>>>0){break f}if(Qe(c,94088,3)){break f}qe[j[b+32>>2]](b);qe[j[b+28>>2]](b)}if(!j[b+312>>2]){c=j[a+172>>2];g:{if((c|0)>=0){if(c>>>0>d>>>0){c=3;j[e+12>>2]=3;break b}i=He(g,d,e+12|0);c=j[e+12>>2];if(c){break b}c=Ae(i,n,d);qe[j[o+16>>2]](c,d,4330);l=f;f=j[a+172>>2];q=e,r=qe[j[b+360>>2]](h,l,f+c|0,d-f|0)|0,j[q+12>>2]=r;if(c){qe[j[g+8>>2]](g,c)}c=j[e+12>>2];break g}c=qe[j[b+360>>2]](h,f,n,d)|0;j[e+12>>2]=c}if(c){break b}}c=j[b>>2];if(m[b+8>>2]>c+4>>>0){continue}break}}if(j[b+312>>2]){break a}j[b+312>>2]=p;break a}j[b+12>>2]=c}oe=e+16|0}function _J(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(b|0)|0;if(b){x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]:255;A=(b&48)!=0&(o|0)!=255;B=b&1;r=o^255;b=b&112;C=b-16|0;D=(b|0)==64;q=j[a+20>>2];b=q;while(1){if((f|0)>=65536){c=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(c&-65536)|0)-65536|0;t=((c>>>16|0)+t|0)+1|0}if(n){s=-1;d=65536;u=0;while(1){if((d|0)>=65536){c=(d-((d|0)<131071?d:131071)|0)+65535|0;s=((c>>>16|0)+s|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(s<<2)|0;d=(d-(c&-65536)|0)-65536|0}e=j[b>>2];c=j[u>>2];g=c&255;h=c>>>8&255;i=c>>>16&255;if(B){g=(p(g,x)>>>0)/255|0;h=(p(h,y)>>>0)/255|0;i=(p(i,z)>>>0)/255|0}if(A){g=(p(g,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0}n=n-1|0;l=e&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(C|0){default:if(!D){break a}l=(p(g,l)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;break a;case 0:l=((p(l,r)>>>0)/255|0)+g|0;m=((p(m,r)>>>0)/255|0)+h|0;e=((p(e,r)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}c=g+l|0;l=c>>>0<255?c:255;c=h+m|0;m=c>>>0<255?c:255;c=e+i|0;e=c>>>0<255?c:255}j[b>>2]=m<<8|e<<16|l;b=b+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}b=d-1|0;j[a+28>>2]=b;q=j[a+32>>2]+q|0;if(d){f=f+w|0;n=j[a+24>>2];d=b;b=q;continue}break}j[a+20>>2]=q}}function WJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(b|0)|0;if(b){x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]:255;A=(b&48)!=0&(o|0)!=255;B=b&1;r=o^255;b=b&112;C=b-16|0;D=(b|0)==64;q=j[a+20>>2];b=q;while(1){if((f|0)>=65536){c=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(c&-65536)|0)-65536|0;t=((c>>>16|0)+t|0)+1|0}if(n){s=-1;d=65536;u=0;while(1){if((d|0)>=65536){c=(d-((d|0)<131071?d:131071)|0)+65535|0;s=((c>>>16|0)+s|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(s<<2)|0;d=(d-(c&-65536)|0)-65536|0}e=j[b>>2];c=j[u>>2];g=c&255;h=c>>>8&255;i=c>>>16&255;if(B){g=(p(g,x)>>>0)/255|0;h=(p(h,y)>>>0)/255|0;i=(p(i,z)>>>0)/255|0}if(A){g=(p(g,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0}n=n-1|0;l=e&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(C|0){default:if(!D){break a}e=(p(e,g)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;l=(p(i,l)>>>0)/255|0;break a;case 0:e=((p(e,r)>>>0)/255|0)+g|0;m=((p(m,r)>>>0)/255|0)+h|0;l=((p(l,r)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}c=e+g|0;e=c>>>0<255?c:255;c=h+m|0;m=c>>>0<255?c:255;c=i+l|0;l=c>>>0<255?c:255}j[b>>2]=m<<8|l|e<<16;b=b+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}b=d-1|0;j[a+28>>2]=b;q=j[a+32>>2]+q|0;if(d){f=f+w|0;n=j[a+24>>2];d=b;b=q;continue}break}j[a+20>>2]=q}}function KJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;m=j[a+24>>2];u=(j[a+4>>2]<<16)/(m|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+62|0];x=k[a+61|0];y=k[a+60|0];c=j[a+52>>2];n=c&2?k[a+63|0]:255;z=(c&48)!=0&(n|0)!=255;A=c&1;q=n^255;c=c&112;B=c-16|0;C=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(m){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];g=b&255;h=b>>>8&255;b=b>>>16&255;if(A){h=(p(h,x)>>>0)/255|0;g=(p(g,y)>>>0)/255|0;b=(p(b,w)>>>0)/255|0}if(z){h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}m=m-1|0;i=e&255;l=e>>>8&255;e=e>>>16&255;a:{b:{switch(B|0){default:if(!C){break a}i=(p(b,i)>>>0)/255|0;l=(p(h,l)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:i=((p(i,q)>>>0)/255|0)+b|0;l=((p(l,q)>>>0)/255|0)+h|0;e=((p(e,q)>>>0)/255|0)+g|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=b+i|0;i=b>>>0<255?b:255;b=h+l|0;l=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[c>>2]=l<<8|e<<16|i;c=c+4|0;d=d+u|0;if(m){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){f=f+v|0;m=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function GJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;m=j[a+24>>2];u=(j[a+4>>2]<<16)/(m|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+62|0];x=k[a+61|0];y=k[a+60|0];c=j[a+52>>2];n=c&2?k[a+63|0]:255;z=(c&48)!=0&(n|0)!=255;A=c&1;q=n^255;c=c&112;B=c-16|0;C=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(m){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];g=b&255;h=b>>>8&255;b=b>>>16&255;if(A){h=(p(h,x)>>>0)/255|0;g=(p(g,y)>>>0)/255|0;b=(p(b,w)>>>0)/255|0}if(z){h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}m=m-1|0;i=e&255;l=e>>>8&255;e=e>>>16&255;a:{b:{switch(B|0){default:if(!C){break a}e=(p(b,e)>>>0)/255|0;l=(p(h,l)>>>0)/255|0;i=(p(g,i)>>>0)/255|0;break a;case 0:e=((p(e,q)>>>0)/255|0)+b|0;l=((p(l,q)>>>0)/255|0)+h|0;i=((p(i,q)>>>0)/255|0)+g|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=b+e|0;e=b>>>0<255?b:255;b=h+l|0;l=b>>>0<255?b:255;b=g+i|0;i=b>>>0<255?b:255}j[c>>2]=l<<8|i|e<<16;c=c+4|0;d=d+u|0;if(m){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){f=f+v|0;m=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function xz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=oe-17408|0;oe=c;a:{if(!a){a=96;break a}d=j[b+4>>2];if(!d){a=20;break a}a=i[d+2>>1];b:{if(!a){break b}e=i[d>>1];if((e|0)<1){break b}f=j[d+12>>2];if(!f){a=20;break a}if(!j[d+4>>2]){a=20;break a}if((a|0)!=(i[((e<<1)+f|0)-2>>1]+1|0)){a=20;break a}a=19;if(k[b+8|0]&3){break a}b=j[b>>2];if(!b){a=20;break a}if(!j[b+4>>2]){break b}a=0;if(!j[b>>2]){break a}a=20;if(!j[b+12>>2]){break a}a=j[d+16>>2];j[c+16528>>2]=a;f=j[d+12>>2];e=c+16520|0;j[e>>2]=j[d+8>>2];j[e+4>>2]=f;e=j[d+4>>2];j[c+16512>>2]=j[d>>2];j[c+16516>>2]=e;e=j[b+12>>2];d=c+16496|0;j[d>>2]=j[b+8>>2];j[d+4>>2]=e;e=j[b+20>>2];d=c+16504|0;j[d>>2]=j[b+16>>2];j[d+4>>2]=e;d=j[b+4>>2];j[c+16488>>2]=j[b>>2];j[c+16492>>2]=d;j[c+16416>>2]=c+16384;b=a&256;j[c+16404>>2]=b?30:2;j[c+16400>>2]=b?256:32;b=b?12:6;j[c+16384>>2]=b;d=b-6|0;j[c+16408>>2]=d;j[c+16396>>2]=d;b=1<>2]=b;j[c+16392>>2]=b>>>1;j[c+16412>>2]=c;c:{if(a&8){h[c+16560|0]=2;break c}b=a>>>2&4;h[c+16560|0]=b;if(a&32){break c}h[c+16560|0]=b|1}i[c+17342>>1]=l[c+16488>>1]-1;j[c+17404>>2]=0;j[c+16556>>2]=244;j[c+16552>>2]=245;j[c+16548>>2]=246;j[c+16544>>2]=247;i[c+17340>>1]=0;i[c+16440>>1]=j[c+16492>>2];j[c+16444>>2]=j[c+16500>>2];h[c+16561|0]=(a>>>9^-1)&1;a=wo(c+16384|0,0);if(a){break a}if(!k[c+16561|0]|k[c+16560|0]==2){break b}j[c+17404>>2]=0;j[c+16556>>2]=248;j[c+16552>>2]=249;j[c+16548>>2]=250;j[c+16544>>2]=251;i[c+17340>>1]=0;i[c+17342>>1]=l[c+16492>>1]-1;a=wo(c+16384|0,1);if(a){break a}}a=0}oe=c+17408|0;return a|0}function Rf(a,b,c){if(!b){return 0}a=a^-1;a:{if(!c|!(b&3)){break a}while(1){a=j[((k[b|0]^a&255)<<2)+103216>>2]^a>>>8;b=b+1|0;c=c-1|0;if(!c){break a}if(b&3){continue}break}}if(c>>>0>31){while(1){a=j[b>>2]^a;a=j[b+4>>2]^(j[(a>>>6&1020)+105264>>2]^j[((a&255)<<2)+106288>>2]^j[(a>>>14&1020)+104240>>2]^j[(a>>>22&1020)+103216>>2]);a=j[b+8>>2]^(j[(a>>>6&1020)+105264>>2]^j[((a&255)<<2)+106288>>2]^j[(a>>>14&1020)+104240>>2]^j[(a>>>22&1020)+103216>>2]);a=j[b+12>>2]^(j[(a>>>6&1020)+105264>>2]^j[((a&255)<<2)+106288>>2]^j[(a>>>14&1020)+104240>>2]^j[(a>>>22&1020)+103216>>2]);a=j[b+16>>2]^(j[(a>>>6&1020)+105264>>2]^j[((a&255)<<2)+106288>>2]^j[(a>>>14&1020)+104240>>2]^j[(a>>>22&1020)+103216>>2]);a=j[b+20>>2]^(j[(a>>>6&1020)+105264>>2]^j[((a&255)<<2)+106288>>2]^j[(a>>>14&1020)+104240>>2]^j[(a>>>22&1020)+103216>>2]);a=j[b+24>>2]^(j[(a>>>6&1020)+105264>>2]^j[((a&255)<<2)+106288>>2]^j[(a>>>14&1020)+104240>>2]^j[(a>>>22&1020)+103216>>2]);a=j[b+28>>2]^(j[(a>>>6&1020)+105264>>2]^j[((a&255)<<2)+106288>>2]^j[(a>>>14&1020)+104240>>2]^j[(a>>>22&1020)+103216>>2]);a=j[(a>>>6&1020)+105264>>2]^j[((a&255)<<2)+106288>>2]^j[(a>>>14&1020)+104240>>2]^j[(a>>>22&1020)+103216>>2];b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}if(c>>>0>3){while(1){a=j[b>>2]^a;a=j[(a>>>6&1020)+105264>>2]^j[((a&255)<<2)+106288>>2]^j[(a>>>14&1020)+104240>>2]^j[(a>>>22&1020)+103216>>2];b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(c){while(1){a=j[((k[b|0]^a&255)<<2)+103216>>2]^a>>>8;b=b+1|0;c=c-1|0;if(c){continue}break}}return a^-1}function Ao(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;i=oe-16|0;oe=i;d=j[a+12>>2];if(d){j[(j[a+20>>2]+(d<<4)|0)-4>>2]=b}l=j[a+24>>2];a:{if((l|0)<2){break a}p=l;while(1){s=p;f=p-2|0;r=j[a+32>>2];p=p-1|0;b=r+(p<<4)|0;n=j[b>>2];d=j[b+8>>2];while(1){b:{e=(f<<4)+r|0;b=j[e+8>>2];c:{e=j[e>>2];g=e>>>0>n>>>0?n:e;d:{e:{if(g>>>0<8){o=d;break e}o=(g-8>>>3|0)+1|0;e=o+b|0;o=d+o|0;q=d;while(1){if(k[b|0]&k[q|0]){break d}b=b+1|0;q=q+1|0;g=g-8|0;if(g>>>0>7){continue}break}b=e}if(!g|!(k[b|0]&k[o|0]&-256>>g)){break c}}d=f>>>0>p>>>0;b=d?p:f;e=d?f:p;if(b>>>0>=e>>>0|e>>>0>=l>>>0){break b}f=(e<<4)+r|0;l=j[f>>2];f:{if(!l){break f}n=(b<<4)+r|0;b=j[n>>2];g:{if(l>>>0<=b>>>0){g=l+7>>>3|0;break g}d=j[n+4>>2];j[i>>2]=0;g=l+7>>>3|0;d=d+7>>>3|0;if(g>>>0>d>>>0){o=d;d=g+7&1073741816;t=n,u=xe(c,1,o,d,j[n+8>>2],i),j[t+8>>2]=u;o=j[i>>2];if(o){break a}j[n+4>>2]=d<<3}while(1){if(m[n>>2]>b>>>0){d=j[n+8>>2]+(b>>>3|0)|0;h[d|0]=k[d|0]&-129>>(b&7)}b=b+1|0;if((l|0)!=(b|0)){continue}break}}if(!g){break f}q=j[f+8>>2];b=j[n+8>>2];while(1){h[b|0]=k[q|0]|k[b|0];q=q+1|0;b=b+1|0;g=g-1|0;if(g){continue}break}}j[f>>2]=0;j[f+12>>2]=0;d=a;b=j[d+24>>2];e=b+(e^-1)|0;if((e|0)>=1){b=j[f+12>>2];j[i+8>>2]=j[f+8>>2];j[i+12>>2]=b;b=j[f+4>>2];j[i>>2]=j[f>>2];j[i+4>>2]=b;b=e<<4;e=tg(f,f+16|0,b)+b|0;b=j[i+12>>2];j[e+8>>2]=j[i+8>>2];j[e+12>>2]=b;b=j[i+4>>2];j[e>>2]=j[i>>2];j[e+4>>2]=b;b=j[a+24>>2]}l=b-1|0;j[d+24>>2]=l;break b}b=(f|0)>0;f=f-1|0;if(b){continue}}break}if((s|0)>2){continue}break}o=0}oe=i+16|0;return o}function bi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=a&65535;e=a>>>16|0;if((c|0)==1){a=k[b|0]+d|0;a=a>>>0>65520?a-65521|0:a;b=a+e|0;c=b<<16;return(b>>>0>65520?c+983040|0:c)|a}if(b){if(c>>>0>=16){a:{b:{c:{if(c>>>0>5551){while(1){c=c-5552|0;f=347;a=b;while(1){g=k[a|0]+d|0;h=g+k[a+1|0]|0;i=h+k[a+2|0]|0;j=i+k[a+3|0]|0;l=j+k[a+4|0]|0;m=l+k[a+5|0]|0;n=m+k[a+6|0]|0;o=n+k[a+7|0]|0;p=o+k[a+8|0]|0;q=p+k[a+9|0]|0;r=q+k[a+10|0]|0;s=r+k[a+11|0]|0;t=s+k[a+12|0]|0;u=t+k[a+13|0]|0;v=u+k[a+14|0]|0;d=v+k[a+15|0]|0;e=d+(v+(u+(t+(s+(r+(q+(p+(o+(n+(m+(l+(j+(i+(h+(e+g|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;a=a+16|0;f=f-1|0;if(f){continue}break}e=(e>>>0)%65521|0;d=(d>>>0)%65521|0;b=b+5552|0;if(c>>>0>5551){continue}break}if(!c){break a}if(c>>>0<16){break c}}while(1){a=k[b|0]+d|0;f=a+k[b+1|0]|0;g=f+k[b+2|0]|0;h=g+k[b+3|0]|0;i=h+k[b+4|0]|0;j=i+k[b+5|0]|0;l=j+k[b+6|0]|0;m=l+k[b+7|0]|0;n=m+k[b+8|0]|0;o=n+k[b+9|0]|0;p=o+k[b+10|0]|0;q=p+k[b+11|0]|0;r=q+k[b+12|0]|0;s=r+k[b+13|0]|0;t=s+k[b+14|0]|0;d=t+k[b+15|0]|0;e=d+(t+(s+(r+(q+(p+(o+(n+(m+(l+(j+(i+(h+(g+(f+(a+e|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;c=c-16|0;if(c>>>0>15){continue}break}if(!c){break b}}while(1){d=k[b|0]+d|0;e=e+d|0;b=b+1|0;c=c-1|0;if(c){continue}break}}e=(e>>>0)%65521|0;d=(d>>>0)%65521|0}return e<<16|d}if(c){while(1){d=k[b|0]+d|0;e=e+d|0;b=b+1|0;c=c-1|0;if(c){continue}break}}a=(e>>>0)%65521<<16|(d>>>0>65520?d-65521|0:d)}else{a=1}return a}function sp(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;c=oe-48|0;oe=c;n=j[a+60>>2];d=Bf(j[a>>2],j[a+4>>2]);e=(j[a>>2]+p(b,-11796480)|0)+5898240|0;of(c+32|0,n,e);j[c+32>>2]=j[c+32>>2]+j[a+8>>2];j[c+36>>2]=j[c+36>>2]+j[a+12>>2];i=(d|0)==11796480?p(b,23592960)-11796480|0:d;a:{if(!i){break a}q=(i|0)>-1?5898240:-5898240;g=(b<<5)+a|0;r=g;l=g- -64|0;while(1){b:{d=(i|0)>-5898240?i:-5898240;m=(d|0)<5898240?d:5898240;o=m+e|0;of(c+24|0,n,o);j[c+24>>2]=j[c+24>>2]+j[a+8>>2];j[c+28>>2]=j[c+28>>2]+j[a+12>>2];d=m>>31;d=(d+m^d)>>>1|0;d=Ne(n,hi(d)<<2,p(ii(d),3)+196608|0);of(c+16|0,d,e+q|0);j[c+16>>2]=j[c+16>>2]+j[c+32>>2];j[c+20>>2]=j[c+20>>2]+j[c+36>>2];of(c+8|0,d,o-q|0);j[c+8>>2]=j[c+8>>2]+j[c+24>>2];j[c+12>>2]=j[c+12>>2]+j[c+28>>2];d=j[g+68>>2];e=j[l>>2];j[c+44>>2]=0;f=e+3|0;c:{if(f>>>0<=d>>>0){k=j[g+76>>2];break c}k=j[g+88>>2];e=d;while(1){e=((e>>>1|0)+e|0)+16|0;if(f>>>0>e>>>0){continue}break}s=g,t=xe(k,8,d,e,j[g+72>>2],c+44|0),j[s+72>>2]=t;f=j[c+44>>2];if(f){break b}k=xe(k,1,d,e,j[g+76>>2],c+44|0);j[g+76>>2]=k;f=j[c+44>>2];if(f){break b}j[g+68>>2]=e;e=j[l>>2]}f=j[c+20>>2];d=j[g+72>>2]+(e<<3)|0;j[d>>2]=j[c+16>>2];j[d+4>>2]=f;f=j[c+12>>2];j[d+8>>2]=j[c+8>>2];j[d+12>>2]=f;f=j[c+28>>2];j[d+16>>2]=j[c+24>>2];j[d+20>>2]=f;e=e+k|0;h[e+2|0]=1;h[e|0]=2;h[e+1|0]=2;j[l>>2]=j[l>>2]+3;f=0;h[r+80|0]=0;e=j[c+28>>2];j[c+32>>2]=j[c+24>>2];j[c+36>>2]=e;e=o;i=i-m|0;if(i){continue}break a}break}h[r+80|0]=0}h[((b<<5)+a|0)+80|0]=0;oe=c+48|0;return f}function ZN(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0;g=oe+ -64|0;oe=g;f=j[67033];a:{b:{if(!(!j[67044]|((b|0)==-1|(d|0)!=1))){l=(c|0)==1;h[268212]=l;if(!a){break b}nk(-1,-1,0,0,l,q(q(j[67025])/q(j[a+24>>2])),q(q(j[67026])/q(j[a+28>>2])));break b}if((b|0)!=-1){break b}if(!j[67043]){break a}}c:{d:{switch(c|0){case 0:e=lP(-2,d-1|0)&f;p=1026;l=(a|0)!=0;break c;case 1:break d;default:break a}}o=1;e=f|1<(d|0)){break f}Oe(m+(e<<4)|0,0,16);if((d|0)==(e|0)){break f}while(1){e=e+1|0;Oe(j[67047]+(e<<4)|0,0,16);if((d|0)!=(e|0)){continue}break}}j[67046]=i}n=j[67047];f=1;if(!n){break e}g:{if(!o){e=k[(n+(d<<4)|0)+12|0];break g}r=n+(d<<4)|0;s=n+(d<<4)|0;e=s;t=yg();o=0;h:{i:{if((j[67041]+(j[e+8>>2]-t|0)|0)<1){break i}f=j[67025]-j[r>>2]|0;i=f>>31;if(j[67042]<(i^f+i)){break i}m=n+(d<<4)|0;i=j[67026]-j[m+4>>2]|0;f=i>>31;if(j[67042]<(f^f+i)){break i}o=k[m+12|0];break h}h[s+12|0]=0}j[e+8>>2]=t;j[r>>2]=j[67025];f=n+(d<<4)|0;j[f+4>>2]=j[67026];e=255;if((o|0)==255){break g}e=o+1|0;h[f+12|0]=e}f=e&255}if((We(p,-1)|0)==1){j[g+8>>2]=p;i=j[67024];if(i){u=j[i+4>>2]}h[g+25|0]=c;j[g+20>>2]=b;j[g+16>>2]=u;h[g+24|0]=d;b=j[67026];j[g+28>>2]=j[67025];j[g+32>>2]=b;h[g+26|0]=(f|0)<255?f:255;gf(g+8|0)}if(l^1|c){break a}Vh(a,j[67025],j[67026],1)}oe=g- -64|0}function Qt(a,b){var c=0,d=0,e=0,f=0,g=0;e=j[a+216>>2];a:{if(!(e&4096)){break a}d=l[a+428>>1];c=k[b+25|0];if((c|0)==3){h[b+24|0]=8;i[b+22>>1]=0;h[b+25|0]=d?6:2;if(j[a+416>>2]){break a}Ye(a,102045);z()}if(!(!(e&33554432)|!d)){h[b+25|0]=c|4}if(k[b+24|0]<=7){h[b+24|0]=8}i[b+22>>1]=0}if(e&128){d=l[a+456>>1]|l[a+458>>1]<<16;c=l[a+452>>1]|l[a+454>>1]<<16;i[b+170>>1]=c;i[b+172>>1]=c>>>16;i[b+174>>1]=d;i[b+176>>1]=d>>>16;i[b+178>>1]=l[a+460>>1]}j[b+40>>2]=j[a+824>>2];f=k[b+24|0];if(!(!(e&67109888)|(f|0)!=16)){h[b+24|0]=8;f=8}if(e&16384){h[b+25|0]=k[b+25|0]|2}if(e&6291456){h[b+25|0]=k[b+25|0]&253}b:{c:{d:{e:{if(!(e&64)){break e}f:{switch(k[b+25|0]-2|0){case 0:case 4:break f;default:break e}}if(!j[a+612>>2]){break e}if((f&255)==8){break d}}if(!(e&512)){break b}if((f&255)==8){break c}break b}h[b+25|0]=3;f=8;if(!(e&512)){break b}}f=8;if(k[b+25|0]==3){break b}f=16;h[b+24|0]=16}if(!(!(e&4)|(f&255)>>>0>7)){h[b+24|0]=8;f=8}g=b;c=k[b+25|0];d=3;g:{if(!((c|0)==3|!(c&2))){break g}d=1}h[g+29|0]=d;if(e&262144){i[b+22>>1]=0;c=c&251;h[b+25|0]=c}if(c&4){d=d+1|0;h[b+29|0]=d}h:{if(!(e&32768)){break h}i:{switch(c|0){case 0:case 2:break i;default:break h}}d=d+1|0;h[b+29|0]=d;if(!(e&16777216)){break h}h[b+25|0]=c|4}j:{if(!(e&1048576)){c=d;break j}c=k[a+204|0];if(c>>>0>(f&255)>>>0){h[b+24|0]=c;f=c}c=k[a+205|0];if(d>>>0>=c>>>0){c=d;break j}h[b+29|0]=c}c=p(c,f);h[b+30|0]=c;d=j[b>>2];c=c&255;k:{if(c>>>0>=8){d=p(d,c>>>3|0);break k}d=p(c,d)+7>>>3|0}j[b+12>>2]=d;j[a+404>>2]=d}function Cf(a,b,c,d){var e=0,f=0,g=0;f=oe+ -64|0;oe=f;a:{if(!a){break a}b:{c:{switch(b-1|0){case 0:e=j[a+48>>2];if(e&4){break a}j[a+48>>2]=e&-77|4;Mq(a);break b;case 1:e=j[a+48>>2];if(!(e&4)){break a}j[a+48>>2]=e&-13|8;Lq(a);break b;case 3:if((c&-65536)==536805376|(d&-65536)==536805376){break a}if(!(h[a+48|0]&1)){j[a+56>>2]=c;j[a+60>>2]=d}if(j[a+20>>2]==(d|0)?j[a+16>>2]==(c|0):0){break a}j[a+20>>2]=d;j[a+16>>2]=c;break b;case 4:if(!(h[a+48|0]&1)){j[a+68>>2]=d;j[a- -64>>2]=c}if(j[a+28>>2]==(d|0)?j[a+24>>2]==(c|0):0){break a}j[a+28>>2]=d;j[a+24>>2]=c;j[a+112>>2]=0;Cf(a,6,j[a+24>>2],j[a+28>>2]);break b;case 6:e=j[a+48>>2];if(e&64){break a}j[a+48>>2]=e&-193|64;Lq(a);break b;case 7:e=j[a+48>>2];if(e&128){break a}j[a+48>>2]=e&-193|128;break b;case 8:e=j[a+48>>2];if(!(e&192)){break a}j[a+48>>2]=e&-193;Mq(a);break b;case 9:e=j[a+48>>2];if(e&1024){break a}j[a+48>>2]=e|1024;e=j[67085];g=j[e+148>>2];if(g){qe[g|0](e,a)}break b;case 10:e=j[a+48>>2];if(!(e&1024)){break a}j[a+48>>2]=e&-1025;break b;case 11:e=j[a+48>>2];if(e&512){break a}j[a+48>>2]=e|512;DH(a);break b;case 12:break c;default:break b}}e=j[a+48>>2];if(!(e&512)){break a}j[a+48>>2]=e&-513;CH(a)}if((We(512,-1)|0)==1){j[f+28>>2]=d;j[f+24>>2]=c;j[f+8>>2]=512;h[f+20|0]=b;j[f+16>>2]=j[a+4>>2];c=655;d:{e:{f:{switch(b-3|0){case 1:c=656;break e;case 3:break e;case 0:break f;default:break d}}c=657}lO(c,f+8|0)}gf(f+8|0)}if(j[a+152>>2]|(j[a+148>>2]|(b|0)!=14)){break a}h[268216]=0;Im(256)}oe=f- -64|0}function uu(a,b,c){var d=0,e=0,f=0,g=0,l=0,n=0,o=0,q=0;l=oe-16|0;oe=l;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ze(a,100232);Ie(a,c);break a}e:{f:{d=j[a+208>>2];if(d&1){if(d&4){Ie(a,c);Je(a,99982);break a}d=c+1|0;g=j[a+788>>2];g:{if(g){if(d>>>0<=m[a+792>>2]){break g}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,g)}g=$f(a,d);if(!g){break f}j[a+792>>2]=d;j[a+788>>2]=g}pf(a,g,c);tf(a,g,c);if(Ie(a,0)){break a}e=c+g|0;h[e|0]=0;d=g;while(1){f=d;d=d+1|0;if(k[f|0]){continue}break}if(e-2>>>0>>0){Ze(a,100265);break a}e=k[f+1|0];h[l+4|0]=e;d=f+2|0;f=(g-d|0)+c|0;n=(e|0)==8?6:10;c=(f>>>0)/(n>>>0)|0;if((f|0)!=(p(c,n)|0)){Ze(a,100286);break a}if(c>>>0>=429496730){Ze(a,100312);break a}j[l+12>>2]=c;o=cg(a,p(c,10));j[l+8>>2]=o;if(!o){break e}if(f>>>0>=n>>>0){n=c>>>0>1?c:1;c=0;q=(e|0)!=8;while(1){f=p(c,10)+o|0;h:{if(!q){i[f>>1]=k[d|0];i[f+2>>1]=k[d+1|0];i[f+4>>1]=k[d+2|0];e=k[d+3|0];d=d+4|0;break h}e=k[d|0]|k[d+1|0]<<8;i[f>>1]=(e<<24|e<<8&16711680)>>>16;e=k[d+2|0]|k[d+3|0]<<8;i[f+2>>1]=(e<<24|e<<8&16711680)>>>16;e=k[d+4|0]|k[d+5|0]<<8;i[f+4>>1]=(e<<24|e<<8&16711680)>>>16;e=k[d+6|0]|k[d+7|0]<<8;e=(e<<24|e<<8&16711680)>>>16|0;d=d+8|0}i[f+6>>1]=e;e=f;f=k[d|0]|k[d+1|0]<<8;i[e+8>>1]=(f<<24|f<<8&16711680)>>>16;d=d+2|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}j[l>>2]=g;Hu(a,b,l);Ke(a,j[l+8>>2]);break a}hf(a,100003);z()}Ie(a,c);Je(a,100173);break a}Ze(a,100332)}oe=l+16|0}function sx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;g=j[c>>2]<<2;j[d+232>>2]=g;f=j[c+4>>2]<<2;j[d+236>>2]=f;j[d+240>>2]=j[b>>2]<<2;b=j[b+4>>2]<<2;j[d+244>>2]=b;j[d+248>>2]=j[a>>2]<<2;c=j[a+4>>2];j[d+256>>2]=j[d+220>>2];a=j[d+224>>2];j[d+260>>2]=a;c=c<<2;j[d+252>>2]=c;a:{b:{e=(b|0)<(f|0)?b:f;e=(c|0)<(e|0)?c:e;if(j[d+176>>2]<=((a|0)<(e|0)?a:e)>>8){break b}b=(b|0)>(f|0)?b:f;b=(b|0)<(c|0)?c:b;if(j[d+172>>2]>((a|0)>(b|0)?a:b)>>8){break b}b=0;break a}b=1}c:while(1){if(!b){t=d+232|0;while(1){b=l;e=(b<<3)+t|0;m=j[e+28>>2];f=j[e+4>>2];i=m-f|0;a=i>>31;l=b+3|0;r=j[(l<<3)+t>>2];g=j[e>>2];k=r-g|0;c=k>>31;h=a^a+i;a=c^c+k;c=(h|0)<(a|0);d:{n=(c?p(h,3)>>>3|0:h)+(c?a:p(a,3)>>>3|0)|0;if(n>>>0>=32768){a=j[e+12>>2];c=j[e+8>>2];break d}c=j[e+8>>2];h=c-g|0;a=j[e+12>>2];s=a-f|0;q=p(i,h)-p(k,s)|0;o=q>>31;u=p(n,42);if((u|0)<(o^o+q)){break d}o=j[e+16>>2]-g|0;n=j[e+20>>2]-f|0;v=p(o,i)-p(n,k)|0;q=v>>31;if((q^q+v)>(u|0)|(p(s-i|0,s)+p(h-k|0,h)|0)>0|(p(n,n-i|0)+p(o,o-k|0)|0)>=1){break d}l=b;b=1;continue c}j[e+48>>2]=r;j[e+52>>2]=m;b=(c+g|0)/2|0;j[e+8>>2]=b;f=(a+f|0)/2|0;j[e+12>>2]=f;g=j[e+16>>2];i=(g+r|0)/2|0;j[e+40>>2]=i;k=j[e+20>>2];m=(k+m|0)/2|0;j[e+44>>2]=m;h=b;b=(c+g|0)/2|0;c=(h+b|0)/2|0;j[e+16>>2]=c;b=(b+i|0)/2|0;j[e+32>>2]=b;a=(a+k|0)/2|0;f=(a+f|0)/2|0;j[e+20>>2]=f;a=(a+m|0)/2|0;j[e+36>>2]=a;j[e+24>>2]=(b+c|0)/2;j[e+28>>2]=(a+f|0)/2;continue}}_k(d,g,f);e:{if(l){l=l-3|0;break e}return 0}b=0;continue}}function nJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g>>>24|0;n=g&255;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){n=(p(l,n)>>>0)/255|0;o=(p(l,o)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;f=((p(f,q)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+o|0;f=((p(b,f)>>>0)/255|0)+q|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+q|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function nI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g&255;n=g>>>24|0;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){n=(p(l,n)>>>0)/255|0;o=(p(l,o)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(e,q)&65535)>>>0)/255|0;f=((p(f,o)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+q|0;f=((p(b,f)>>>0)/255|0)+o|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=e+q|0;e=b>>>0<255?b:255;b=f+o|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function VI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g&255;n=g>>>24|0;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){o=(p(l,o)>>>0)/255|0;n=(p(l,n)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,o)&65535)>>>0)/255|0;e=((p(e,q)&65535)>>>0)/255|0;f=((p(f,n)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+o|0;e=((p(b,e)>>>0)/255|0)+q|0;f=((p(b,f)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+o|0;i=b>>>0<255?b:255;b=e+q|0;e=b>>>0<255?b:255;b=f+n|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function GI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g>>>24|0;n=g&255;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){o=(p(l,o)>>>0)/255|0;n=(p(l,n)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,q)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;f=((p(f,n)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+q|0;e=((p(b,e)>>>0)/255|0)+o|0;f=((p(b,f)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+q|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+n|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function ju(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0;f=oe-32|0;oe=f;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ie(a,c);Je(a,100560);break a}e:{d=j[a+208>>2];if(d&1){if(d&4){j[a+208>>2]=d|8}d=c+1|0;e=j[a+788>>2];f:{if(e){if(d>>>0<=m[a+792>>2]){break f}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,e)}e=$f(a,d);if(!e){break e}j[a+792>>2]=d;j[a+788>>2]=e}pf(a,e,c);tf(a,e,c);d=0;if(Ie(a,0)){break a}g=100220;g:{if(!c){break g}h:{while(1){if(!k[d+e|0]){break h}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}if(d-1>>>0>78){break g}g=100187;if(d+5>>>0>c>>>0){break g}g=100671;i:{j:{i=d+e|0;l=k[i+1|0];switch(l|0){case 0:break i;case 1:break j;default:break g}}if(k[i+2|0]){break g}}i=d+3|0;d=i;k:{if(d>>>0>=c>>>0){break k}d=i;while(1){if(!k[d+e|0]){break k}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}n=d+1|0;d=n;l:{if(d>>>0>=c>>>0){break l}d=n;while(1){if(!k[d+e|0]){break l}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}o=(l|0)!=0;d=d+1|0;m:{if(!(o|d>>>0>c>>>0)){j[f+28>>2]=c-d;break m}g=100187;if(o^1|c>>>0<=d>>>0){break g}j[f+28>>2]=-1;if((kn(a,c,d,f+28|0)|0)==1){e=j[a+788>>2];break m}g=j[a+248>>2];if(g){break g}}h[(d+j[f+28>>2]|0)+e|0]=0;j[f+24>>2]=e+n;j[f+20>>2]=e+i;j[f+4>>2]=e;j[f>>2]=l?2:1;j[f+12>>2]=0;j[f+8>>2]=d+e;j[f+16>>2]=j[f+28>>2];g=100651;if(!Fk(a,b,f)){break a}}Je(a,g);break a}hf(a,100003);z()}di(a,101404);Ie(a,c);Je(a,100173)}oe=f+32|0}function yK(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=j[a+52>>2];e=j[j[f>>2]+4>>2];g=k[e+8|0];a:{if(g>>>0<8){break a}c=j[a+4>>2];a=j[f+68>>2]&-28673;if((a|0)!=256){if(a){break a}if((g|0)==8){b:{if(k[c+9|0]!=4){break b}a=j[c+12>>2];if((a|0)!=1072693248){if((a|0)!=16711680|j[c+16>>2]!=65280){break b}b=779;if(j[c+20>>2]!=255){break b}break a}if(j[c+16>>2]!=1047552){break b}b=780;if(j[c+20>>2]==1023){break a}}return 781}if(j[e+24>>2]){f=j[c+24>>2]?4:2}else{f=1}g=j[(k[c+9|0]<<2)+139196>>2];h=j[g+12>>2];c:{if(!h){a=0;break c}a=0;while(1){b=g+p(a,40)|0;d=j[b>>2];d:{if(d?(d|0)!=j[c+12>>2]:0){break d}d=j[b+4>>2];if(d?(d|0)!=j[c+16>>2]:0){break d}d=j[b+8>>2];if(d?(d|0)!=j[c+20>>2]:0){break d}d=j[b+16>>2];if(d?(d|0)!=j[e+12>>2]:0){break d}d=j[b+20>>2];if(d?(d|0)!=j[e+16>>2]:0){break d}d=j[b+24>>2];if(k[e+9|0]!=(h|0)|(d?(d|0)!=j[e+20>>2]:0)|(f|0)!=(f&j[b+36>>2])){break d}if((j[b+28>>2]&(tr()|0)!=0)==j[b+28>>2]){break c}}a=a+1|0;h=j[(g+p(a,40)|0)+12>>2];if(h){continue}break}}b=j[(g+p(a,40)|0)+32>>2];if((b|0)!=782){break a}b=783;if(j[c>>2]==372711428){break a}b=784;if(j[e>>2]==372711428){break a}e:{if(k[c+9|0]!=4|k[e+9|0]!=4|(j[c+12>>2]!=j[e+12>>2]|j[c+16>>2]!=j[e+16>>2])){break e}if(j[c+20>>2]!=j[e+20>>2]){break e}b=785;if((f|0)!=4){break a}return j[c+24>>2]==j[e+24>>2]?786:787}return(f|0)==4?787:782}if(k[c+9|0]==2){b=788;if(j[f+4>>2]){break a}}b=789;if(k[e+9|0]==1){break a}if(j[c+24>>2]){b=790;if(j[e+24>>2]){break a}}b=791}return b}function nB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,l=0,n=0,o=0;f=j[b>>2];if(!f){return 35}d=6;a:{if(m[f+16>>2]<=c>>>0){break a}e=j[f+104>>2];l=j[f+292>>2];n=c?c-1|0:0;g=l+(n<<4)|0;o=i[g+8>>1]+i[g+6>>1]|0;j[a+76>>2]=o;b=i[g>>1];c=i[g+2>>1];h[a+94|0]=1;i[a+92>>1]=1;c=c-b|0;j[a+80>>2]=c;d=3;b=a;b:{c:{switch((1<<(j[f+308>>2]&3))-1|0){case 0:c=c+7>>>3|0;break b;case 1:c=c+15>>>3&536870910;break b;case 3:c=c+31>>>3&536870908;break b;case 7:break c;default:break a}}c=c+63>>>3&536870904}j[b+84>>2]=c;b=p(c,o);d=Bm(a,b);if(d){break a}d=Fe(e,j[((n<<4)+l|0)+12>>2]);if(d){break a}d=uf(e,j[a+88>>2],b);if(d){break a}d=j[f+308>>2];if(!(!b|d&8)){d=j[a+88>>2];c=b;while(1){e=k[d|0];e=e>>>1&85|e<<1&170;e=e>>>2&51|e<<2&204;h[d|0]=e>>>4|e<<4;d=d+1|0;c=c-1|0;if(c){continue}break}d=j[f+308>>2]}d:{if(!((d>>>2^d>>>3)&1)){break d}e:{switch((1<<(d>>>4&3))-2|0){case 0:if(b>>>0<2){break d}d=j[a+88>>2];while(1){c=k[d+1|0];h[d+1|0]=k[d|0];h[d|0]=c;d=d+2|0;b=b-2|0;if(b>>>0>1){continue}break}break d;case 2:break e;default:break d}}if(b>>>0<4){break d}d=j[a+88>>2];while(1){c=k[d+3|0];h[d+3|0]=k[d|0];h[d|0]=c;c=k[d+1|0];h[d+1|0]=k[d+2|0];h[d+2|0]=c;d=d+4|0;b=b-4|0;if(b>>>0>3){continue}break}}j[a+72>>2]=1651078259;b=i[g>>1];j[a+100>>2]=b;c=i[g+6>>1];j[a+104>>2]=c;d=i[((n<<4)+l|0)+4>>1];j[a+36>>2]=c<<6;j[a+32>>2]=b<<6;j[a+40>>2]=d<<6;c=i[g+2>>1];j[a+28>>2]=j[a+76>>2]<<6;j[a+24>>2]=c-b<<6;Ci(a+24|0,j[f+208>>2]+j[f+204>>2]<<6);d=0}return d|0}function Bt(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=l[a+420>>1];if(!c){break a}d=k[b+9|0];if((c|0)>=1<>2];c=j[b+4>>2];e=f+c|0;g=0-p(j[b>>2],k[b+11|0])&7;b:{switch(d-1|0){case 7:if((c|0)<1){break a}c=j[a+424>>2];while(1){b=k[e|0];if((b|0)>(c|0)){j[a+424>>2]=b;c=b}e=e-1|0;if(f>>>0>>0){continue}break}break a;case 3:if((c|0)<1){break a}b=j[a+424>>2];c=k[e|0]>>>g|0;d=c&15;if((b|0)<(d|0)){j[a+424>>2]=d;c=k[e|0]>>>g|0;b=d}c=c>>>4|0;if((c|0)>(b|0)){j[a+424>>2]=c;b=c}e=e-1|0;if(f>>>0>=e>>>0){break a}while(1){c=k[e|0];d=c&15;if(d>>>0>b>>>0){j[a+424>>2]=d;c=k[e|0];b=d}c=c>>>4|0;if((c|0)>(b|0)){j[a+424>>2]=c;b=c}e=e-1|0;if(f>>>0>>0){continue}break}break a;case 1:if((c|0)<1){break a}b=j[a+424>>2];c=k[e|0]>>>g|0;d=c&3;if((b|0)<(d|0)){j[a+424>>2]=d;c=k[e|0]>>>g|0;b=d}d=c>>>2&3;if((d|0)>(b|0)){j[a+424>>2]=d;c=k[e|0]>>>g|0;b=d}d=c>>>4&3;if((d|0)>(b|0)){j[a+424>>2]=d;c=k[e|0]>>>g|0;b=d}c=c>>>6|0;if((c|0)>(b|0)){j[a+424>>2]=c;b=c}c=e-1|0;if(f>>>0>=c>>>0){break a}while(1){e=k[c|0];d=e&3;if(d>>>0>b>>>0){j[a+424>>2]=d;e=k[c|0];b=d}d=e>>>2&3;if((d|0)>(b|0)){j[a+424>>2]=d;e=k[c|0];b=d}d=e>>>4&3;if((d|0)>(b|0)){j[a+424>>2]=d;e=k[c|0];b=d}d=e>>>6|0;if((d|0)>(b|0)){j[a+424>>2]=d;b=d}c=c-1|0;if(f>>>0>>0){continue}break}break a;case 0:break b;default:break a}}if((c|0)<1){break a}if(k[e|0]>>>g|0){j[a+424>>2]=1}e=e-1|0;if(f>>>0>=e>>>0){break a}while(1){if(k[e|0]){j[a+424>>2]=1}e=e-1|0;if(f>>>0>>0){continue}break}}}function th(a,b,c,d,e,f,g,h){var i=0,k=0,l=0;i=oe-448|0;oe=i;a:{if(!g){j[i>>2]=150197;k=ve(149974,i);break a}if(!h){j[i+16>>2]=150201;k=ve(149974,i+16|0);break a}b:{if(!c){k=f&-268435456;break b}k=f&-268435456;l=(c&-268435456)==268435456;if(!(l|!f|(k|0)==268435456)){k=uH(a,b,c,d,e,f,g,h);break a}if(l){break b}k=Jq(a,b,c,d,e,f,g,h);break a}if(!(!f|(k|0)==268435456)){k=vH(a,b,c,d,e,f,g,h);break a}l=!c|(c&-268435456)==268435456;if((c|0)==(f|0)){k=0;if(!b){break a}a=p(l?c&255:1,a);while(1){Ge(g,d,a);g=g+h|0;d=d+e|0;b=b-1|0;if(b){continue}break}break a}c:{if(!l){break c}k=-1;if((c>>>24&15)-1>>>0>2){break c}ve(150211,0);break a}if((jm(i+272|0,c)|0)<0){k=-1;break a}Oe(i+384|0,0,60);j[i+404>>2]=d;j[i+384>>2]=1;j[i+400>>2]=e;j[i+396>>2]=b;j[i+392>>2]=a;j[i+388>>2]=i+272;Oe(i+136|0,0,88);k=-1;j[i+212>>2]=-1;j[i+440>>2]=1;j[i+436>>2]=i+136;if((f>>>24&15)-1>>>0<=2){ve(150211,0);break a}if((jm(i+224|0,f)|0)<0){break a}Oe(i+320|0,0,60);j[i+340>>2]=g;j[i+320>>2]=1;j[i+336>>2]=h;j[i+332>>2]=b;j[i+328>>2]=a;j[i+324>>2]=i+224;Oe(i+48|0,0,88);j[i+124>>2]=-1;j[i+376>>2]=1;j[i+44>>2]=b;j[i+40>>2]=a;j[i+32>>2]=0;j[i+36>>2]=0;j[i+372>>2]=i+48;g=j[i+436>>2];d:{e:{if(j[g>>2]!=(i+320|0)){break e}a=j[j[i+324>>2]+4>>2];if(j[g+80>>2]!=j[a+8>>2]?a:0){break e}a=j[j[i+388>>2]+4>>2];if(!a|j[g+84>>2]==j[a+8>>2]){break d}}if((ck(i+384|0,i+320|0)|0)<0){break a}g=j[i+436>>2]}k=qe[j[g+8>>2]](i+384|0,i+32|0,i+320|0,i+32|0)|0}oe=i+448|0;return k}function Ur(a,b,c,d,e,f,g){var h=0,i=0,k=0,m=0,n=0,o=0;k=oe-16|0;oe=k;i=j[a+8>>2];n=j[a+12>>2];h=He(i,j[n+36>>2],k+12|0);a:{b:{c:{d:{if(!j[k+12>>2]){j[h+100>>2]=i;j[h+96>>2]=a;j[h+104>>2]=j[b>>2];if(c){j[h+8>>2]=j[h+8>>2]|1024}m=He(i,60,k+12|0);if(j[k+12>>2]){break d}j[h+128>>2]=m;c=0;j[m+48>>2]=0;e:{if((e|0)<1){break e}a=0;while(1){if(c){break e}c=0;o=(a<<3)+f|0;if(j[o>>2]==1768842098){c=j[o+4>>2];j[m+48>>2]=c}a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=j[n+48>>2];f:{if(!a){j[b>>2]=j[h+104>>2];break f}a=qe[a|0](j[b>>2],h,d,e,f)|0;j[k+12>>2]=a;j[b>>2]=j[h+104>>2];if(a){break d}}b=j[h+40>>2];if(!b){break b}a=b+(j[h+36>>2]<<2)|0;e=a-4|0;g:{if(b>>>0<=e>>>0){while(1){c=j[e>>2];h:{if(j[c+4>>2]!=1970170211){break h}i:{switch(l[c+8>>1]){case 3:if(l[c+10>>1]!=10){break h}break g;case 0:break i;default:break h}}if(l[c+10>>1]==4){break g}}e=e-4|0;if(b>>>0<=e>>>0){continue}break}}while(1){a=a-4|0;if(b>>>0>a>>>0){break b}c=j[a>>2];if(j[c+4>>2]!=1970170211){continue}break}}j[h+92>>2]=c;break b}if(!h){break c}}if(j[h+36>>2]>=1){c=0;while(1){d=c<<2;a=j[d+j[h+40>>2]>>2];b=j[j[a>>2]+100>>2];e=j[j[a+12>>2]+8>>2];if(e){qe[e|0](a)}if(a){qe[j[b+8>>2]](b,a)}j[d+j[h+40>>2]>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}a=j[h+40>>2];if(a){qe[j[i+8>>2]](i,a)}j[h+36>>2]=0;j[h+40>>2]=0}a=j[n+52>>2];if(a){qe[a|0](h)}if(m){qe[j[i+8>>2]](i,m)}if(h){qe[j[i+8>>2]](i,h)}j[g>>2]=0;a=j[k+12>>2];break a}j[g>>2]=h;a=0}oe=k+16|0;return a}function GK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0;a:{g=j[a+28>>2];if(!g){break a}b=j[a+24>>2];k=b&3;m=(b+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>2<<2;b:while(1){h=m;c:{d:{switch(k-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=1;continue;case 1:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=2;continue;case 2:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=3;continue;default:break e}}a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}a=g-1|0;b=b+2|0;d=d+4|0;f:{if((h|0)>1){h=h-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function jE(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;l=oe-16|0;oe=l;a:{if(j[a+4>>2]<0){break a}e=j[a+12>>2];m=j[a+8>>2]-e|0;c=e+j[a>>2]|0;b:{f=j[a+20>>2];c:{if(!f){if((m|0)<27){break a}if((k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24))!=1399285583){break c}e=k[c+26|0];f=e+27|0;if((m|0)<(f|0)){break a}if(e){e=j[a+24>>2];while(1){e=k[(c+g|0)+27|0]+e|0;j[a+24>>2]=e;g=g+1|0;if(g>>>0>2]=f}if((j[a+24>>2]+f|0)>(m|0)){break a}e=k[c+22|0]|k[c+23|0]<<8|(k[c+24|0]<<16|k[c+25|0]<<24);j[l+12>>2]=e;g=0;h[c+22|0]=0;h[c+23|0]=0;h[c+24|0]=0;h[c+25|0]=0;n=j[a+24>>2];i=j[a+20>>2];h[c+22|0]=0;h[c+23|0]=0;h[c+24|0]=0;h[c+25|0]=0;if((i|0)>0){f=0;while(1){d=j[((k[c+f|0]^d>>>24)<<2)+222608>>2]^d<<8;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if((n|0)>0){i=c+i|0;while(1){d=j[((k[i+g|0]^d>>>24)<<2)+222608>>2]^d<<8;g=g+1|0;if((n|0)!=(g|0)){continue}break}}h[c+22|0]=d;h[c+23|0]=d>>>8;h[c+24|0]=d>>>16;h[c+25|0]=d>>>24;if(j[l+12>>2]==(k[c+22|0]|k[c+23|0]<<8|(k[c+24|0]<<16|k[c+25|0]<<24))){break b}h[c+22|0]=e;h[c+23|0]=e>>>8;h[c+24|0]=e>>>16;h[c+25|0]=e>>>24}j[a+20>>2]=0;j[a+24>>2]=0;b=j[a>>2];d=Mh(c+1|0,79,m-1|0);if(!d){d=b+j[a+8>>2]|0}j[a+12>>2]=d-b;d=c-d|0;break a}i=j[a+12>>2];d:{if(!b){f=j[a+24>>2];d=j[a+20>>2];break d}e=i+j[a>>2]|0;j[b>>2]=e;d=j[a+20>>2];j[b+4>>2]=d;j[b+8>>2]=d+e;f=j[a+24>>2];j[b+12>>2]=f}j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;d=d+f|0;j[a+12>>2]=i+d}oe=l+16|0;return d}function ls(a,b){var c=q(0),d=q(0),e=0,f=q(0),g=0,h=q(0),i=q(0),k=0,l=q(0),m=q(0),o=q(0),p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,z=q(0);p=oe-16|0;oe=p;e=1;k=j[a+4>>2];a:{b:{d=n[a>>2];c:{if(!(d<=q(0)^1)){if((k|0)<2){break c}while(1){g=(e<<3)+a|0;c=q(n[g+8>>2]-n[g>>2]);h=q(c*c);c=q(n[g+12>>2]-n[g+4>>2]);d=q(d+q(y(+q(h+q(c*c)))));e=e+1|0;k=j[a+4>>2];if((e|0)<(k|0)){continue}break}}if((k|0)<2){break c}k=1;h=q(d/q(63));c=h;while(1){e=(k<<3)+a|0;d=q(n[e>>2]-n[e+8>>2]);i=q(d*d);d=q(n[e+4>>2]-n[e+12>>2]);o=q(y(+q(i+q(d*d))));d=q(c+o);d:{if(d>h^1){c=d;break d}d=c;while(1){g=(r<<3)+b|0;c=n[e>>2];f=q(q(h-d)/o);i=q(c+q(f*q(n[e+8>>2]-c)));n[g>>2]=i;c=n[e+4>>2];c=q(c+q(f*q(n[e+12>>2]-c)));n[g+4>>2]=c;m=q(m+i);l=q(l+c);r=r+1|0;d=q(d-h);c=q(d+o);if(h>2];if((k|0)<(g|0)){continue}break}if((r|0)>62){break b}}j[p>>2]=r;ve(121568,p);break a}g=(g<<3)+a|0;a=j[g+4>>2];j[b+504>>2]=j[g>>2];j[b+508>>2]=a;i=q(l*q(.015625));c=q(m*q(.015625));s=+q(xr(+q(i-n[b+4>>2]),+q(c-n[b>>2])));v=+i;w=+c;e=0;d=c;h=c;l=i;m=i;while(1){a=(e<<3)+b|0;o=n[a>>2];f=n[a+4>>2];t=+q(o-c);u=+q(f-i);x=a,z=q(mg(s)*t-Og(s)*u+w),n[x>>2]=z;f=q(Og(s)*t+mg(s)*u+v);n[a+4>>2]=f;l=f>l?f:l;m=f>2];h=f>h?f:h;d=d>f?f:d;e=e+1|0;if((e|0)!=64){continue}break}l=q(l-m);d=q(h-d);e=0;while(1){a=(e<<3)+b|0;n[a>>2]=q(q(n[a>>2]-c)*q(256))/d;n[a+4>>2]=q(q(n[a+4>>2]-i)*q(256))/l;e=e+1|0;if((e|0)!=64){continue}break}}oe=p+16|0}function Ir(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a:{b:{if(b>>>0<=15){g=j[(b<<2)+138080>>2]}else{g=0}if(g){c:{i=j[g>>2];if((i|0)>=1){k=j[a+240>>2];l=(k|0)<1;while(1){e=0;d:{if(l){break d}h=j[((f<<2)+g|0)+4>>2];c=0;while(1){e=0;e=h?j[h+4>>2]==j[j[a+244>>2]+(c<<2)>>2]?h:0:e;if(e){break d}c=c+1|0;if((k|0)>(c|0)){continue}break}}if(!e){f=f+1|0;if((i|0)>(f|0)){continue}}break}if(e){break c}}c=0;ve(127939,0);break a}c=j[a+252>>2];if(c){while(1){if(j[c+8>>2]==(e|0)){break a}c=j[c+20>>2];if(c){continue}break}}c=Xe(1,24);if(!c){c=0;Be(0);break a}j[c+8>>2]=e;j[c+4>>2]=b;b=qe[j[a+48>>2]](j[e>>2])|0;j[c>>2]=b;g=j[e+4>>2];if((g|0)!=-1){qe[j[a+144>>2]](1,c,g,j[e+12>>2],j[e+8>>2]);j[d+12>>2]=1;break b}qe[j[a+148>>2]](b,1,e+12|0,0);qe[j[a+40>>2]](j[c>>2]);qe[j[a+120>>2]](j[c>>2],35713,d+12|0);if(j[d+12>>2]){break b}j[d+8>>2]=0;qe[j[a+120>>2]](j[c>>2],35716,d+8|0);e:{f:{b=j[d+8>>2];if((b|0)<1){break f}g:{if(b>>>0<=127){f=d-(b+15&-16)|0;oe=f;g=b;break g}f=qe[j[57972]](b?b:1)|0;if(f){j[57976]=j[57976]+1}if(!f){break f}g=j[d+8>>2]}qe[j[a+116>>2]](j[c>>2],g,d+8|0,f);j[d>>2]=f;ve(128001,d);if(b>>>0<128){break e}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}break e}ve(128031,0)}qe[j[a+56>>2]](j[c>>2]);if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0;break a}ve(127880,0);break a}b=j[a+252>>2];if(b){j[c+20>>2]=b;j[b+16>>2]=c}j[a+252>>2]=c;j[a+248>>2]=j[a+248>>2]+1}oe=d+16|0;return c}function FK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0;a:{g=j[a+28>>2];if(!g){break a}b=j[a+24>>2];k=b&3;m=(b+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>2<<2;b:while(1){h=m;c:{d:{switch(k-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=1;continue;case 1:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=2;continue;case 2:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=3;continue;default:break e}}a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}a=g-1|0;b=b+2|0;d=d+4|0;f:{if((h|0)>1){h=h-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function kn(a,b,c,d){var e=0,f=0,g=0,i=0,k=0,l=0,n=0,o=0;i=oe-1024|0;oe=i;a:{b:{c:{d:{e=j[a+760>>2];e:{if(e+1>>>0<=1){f=c+1|0;e=-1;break e}f=c+1|0;if(f>>>0>e>>>0){break d}}e=e-f|0;if(e>>>0>2]){j[d>>2]=e}f:{g:{e=Dk(a,j[a+376>>2]);switch(e|0){case 1:break f;case 0:break g;default:break a}}if(j[a+220>>2]!=j[a+376>>2]){break c}e=j[d>>2];j[a+224>>2]=j[a+788>>2]+c;f=e>>>0<1024?e:1024;j[a+240>>2]=f;k=b-c|0;j[a+228>>2]=k;j[a+236>>2]=i;g=a+224|0;f=e-f|0;e=ai(g,!f<<2);if(!e){while(1){b=j[a+240>>2];j[a+228>>2]=j[a+228>>2];b=b+f|0;e=b>>>0<1024?b:1024;j[a+240>>2]=e;j[a+236>>2]=i;f=b-e|0;e=ai(g,!f<<2);if(!e){continue}break}}j[a+236>>2]=0;b=j[a+240>>2]+f|0;if(b){j[d>>2]=j[d>>2]-b}f=j[a+228>>2];jh(a,e);if((e|0)!=1){break b}if(!$m(g)){l=j[d>>2];n=l+c|0;o=n+1|0;b=$f(a,o);if(b){h:{if(j[a+220>>2]==j[a+376>>2]){e=j[d>>2];j[a+236>>2]=b+c;j[a+224>>2]=j[a+788>>2]+c;j[a+240>>2]=e;f=k-f|0;j[a+228>>2]=f;while(1){e=ai(g,4);if(!e){e=j[a+228>>2];j[a+240>>2]=j[a+240>>2];j[a+228>>2]=e;continue}break}g=j[a+240>>2];if(g){j[d>>2]=j[d>>2]-g}g=j[a+228>>2];jh(a,e);if((e|0)!=1){break h}e=-7;if(j[d>>2]!=(l|0)){break h}h[b+n|0]=0;d=j[a+788>>2];if(c){Ae(b,d,c)}j[a+792>>2]=o;j[a+788>>2]=b;Ke(a,d);e=1;if((f-g|0)==(k|0)){break b}Je(a,100151);break b}j[a+248>>2]=101386;e=-2}Ke(a,b);break b}e=-4;jh(a,-4);break b}jh(a,1);e=-7;break b}e=-7;break a}e=-4;jh(a,-4);break a}j[a+248>>2]=101386;e=-2}j[a+220>>2]=0}oe=i+1024|0;return e}function Lf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;a:{if(!a|!b|j[b+16>>2]>131078){break a}c=j[a+16>>2];b:{if(!c){h=j[a>>2];j[e+8>>2]=0;break b}h=j[b+8>>2];c:{while(1){g=j[((d<<2)+a|0)+20>>2];i=j[g>>2];if(we(j[i+8>>2],h)){d=d+1|0;if(d>>>0>>0){continue}break c}break}if(j[b+12>>2]<=j[i+12>>2]){break a}dr(a,g);c=j[a+16>>2]}h=j[a>>2];j[e+8>>2]=0;if(c>>>0>31){break a}}c=He(h,j[b+4>>2],e+8|0);if(j[e+8>>2]){break a}j[c+8>>2]=h;j[c+4>>2]=a;j[c>>2]=b;d:{e:{if(!(k[b|0]&2)){break e}i=j[a>>2];g=He(i,12,e+12|0);d=j[e+12>>2];if(d){j[e+8>>2]=d;break d}d=j[c>>2];j[c+12>>2]=d;f=j[d+36>>2];j[c+16>>2]=f;f:{g:{if((f|0)!=1869968492){break g}f=j[j[d+56>>2]+4>>2];if(!f){break g}f=qe[f|0](i,c+52|0)|0;j[e+12>>2]=f;if(f){break f}j[c+56>>2]=j[j[d+56>>2]+16>>2];j[c+60>>2]=j[d+40>>2]}j[g+8>>2]=c;yl(a+148|0,g);d=j[a+148>>2];h:{if(d){while(1){f=j[d+8>>2];if(j[f+16>>2]==1869968492){break h}d=j[d+4>>2];if(d){continue}break}}f=0}j[a+156>>2]=f;if(j[e+12>>2]){break f}j[e+8>>2]=0;break e}if(g){qe[j[i+8>>2]](i,g)}d=j[e+12>>2];j[e+8>>2]=d;if(d){break d}}d=j[c>>2];g=j[d>>2];if(g&4){j[a+160>>2]=c}if(g&1){j[c+12>>2]=d}b=j[b+24>>2];if(b){b=qe[b|0](c)|0;j[e+8>>2]=b;if(b){break d}}b=j[a+16>>2];j[a+16>>2]=b+1;j[((b<<2)+a|0)+20>>2]=c;break a}i:{if(!(k[j[c>>2]]&2)){break i}a=j[c+12>>2];if(!a|j[a+36>>2]!=1869968492){break i}b=j[c+52>>2];if(!b){break i}qe[j[j[a+56>>2]+20>>2]](b)}if(c){qe[j[h+8>>2]](h,c)}}oe=e+16|0}function wJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;g=((p(f,g)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+o|0;g=((p(b,g)>>>0)/255|0)+f|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+g|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function uI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(g,n)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;i=((p(i,o)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+f|0;i=((p(b,i)>>>0)/255|0)+o|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=g+n|0;g=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=i+o|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function sJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(g,n)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;i=((p(f,i)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+o|0;i=((p(b,i)>>>0)/255|0)+f|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=g+n|0;g=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+i|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function gJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(i,o)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;g=((p(g,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+o|0;e=((p(b,e)>>>0)/255|0)+f|0;g=((p(b,g)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+o|0;i=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=g+n|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function aJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(g,o)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;i=((p(i,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+o|0;e=((p(b,e)>>>0)/255|0)+f|0;i=((p(b,i)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=g+o|0;g=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=i+n|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function PI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(f,i)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;g=((p(g,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+f|0;e=((p(b,e)>>>0)/255|0)+o|0;g=((p(b,g)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=f+i|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=g+n|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function LI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(f,g)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;i=((p(i,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+f|0;e=((p(b,e)>>>0)/255|0)+o|0;i=((p(b,i)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=f+g|0;g=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=i+n|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function AI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;g=((p(g,o)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+f|0;g=((p(b,g)>>>0)/255|0)+o|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=g+o|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function EK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;a:{i=j[a+28>>2];if(!i){break a}c=j[a+24>>2];l=c&3;m=(c+3|0)/4|0;f=j[a>>2];c=j[a+20>>2];n=j[a+36>>2]>>2<<2;o=j[a+16>>2]>>2<<2;b:while(1){k=m;c:{d:{switch(l-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}c=c+4|0;f=f+4|0;a=1;continue;case 1:a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}c=c+4|0;f=f+4|0;a=2;continue;case 2:a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}c=c+4|0;f=f+4|0;a=3;continue;default:break e}}a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}a=i-1|0;c=c+4|0;f=f+4|0;f:{if((k|0)>1){k=k-1|0;break f}c=c+n|0;f=f+o|0;i=a;if(a){continue b}break a}a=0;continue}}}}function ox(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0;m=j[a+12>>2];n=j[a+204>>2];b=j[a+200>>2];a:{while(1){c=o;o=c+1|0;g=ts(m,o);if(g){break a}g=21;l=b+4|0;if(l>>>0>n>>>0){break a}d=j[m+88>>2]+(c<<5)|0;j[d+8>>2]=0;j[d+12>>2]=0;p=k[b+1|0];e=p|k[b|0]<<8;i[d+4>>1]=e;j[d>>2]=k[b+3|0]|k[b+2|0]<<8;f=p&1?4:2;q=e&8;c=f+2|0;b:{if(q){break b}c=f+4|0;if(e&64){break b}c=f|e>>>4&8}if(c+l>>>0>n>>>0){break a}c=e&1;c:{if(e&2){if(c){c=k[b+4|0]|k[b+5|0]<<8;j[d+8>>2]=(c<<24|c<<8&16711680)>>16;c=k[b+6|0]|k[b+7|0]<<8;f=(c<<24|c<<8&16711680)>>16;c=b+8|0;break c}j[d+8>>2]=h[b+4|0];f=h[b+5|0];c=b+6|0;break c}if(c){j[d+8>>2]=k[b+5|0]|k[b+4|0]<<8;f=k[b+7|0]|k[b+6|0]<<8;c=b+8|0;break c}j[d+8>>2]=k[b+4|0];f=k[b+5|0];c=b+6|0}j[d+12>>2]=f;d:{if(q){b=c+2|0;e=0;c=k[c|0]|k[c+1|0]<<8;g=(c<<24|c<<8&16711680)>>16<<2;f=g;l=0;break d}if(e&64){b=k[c+2|0]|k[c+3|0]<<8;f=(b<<24|b<<8&16711680)>>16<<2;b=k[c|0]|k[c+1|0]<<8;g=(b<<24|b<<8&16711680)>>16<<2;b=c+4|0;e=0;l=0;break d}if(!(e&128)){e=0;g=65536;b=c;f=65536;l=0;break d}b=k[c+6|0]|k[c+7|0]<<8;f=(b<<24|b<<8&16711680)>>16<<2;b=k[c+4|0]|k[c+5|0]<<8;e=(b<<24|b<<8&16711680)>>16<<2;b=k[c+2|0]|k[c+3|0]<<8;l=(b<<24|b<<8&16711680)>>16<<2;b=k[c|0]|k[c+1|0]<<8;g=(b<<24|b<<8&16711680)>>16<<2;b=c+8|0}j[d+16>>2]=g;j[d+28>>2]=f;j[d+24>>2]=l;j[d+20>>2]=e;if(p&32){continue}break}j[m+84>>2]=o;c=j[j[a+24>>2]+8>>2];j[a+200>>2]=b;j[a+168>>2]=(b+c|0)-n;g=0}return g|0}function wi(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,q=0;l=oe-32|0;oe=l;a:{b:{c:{d:{e:{f:{if((b|0)<=1431918168){g:{switch(b-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 0:break e;case 11:break f;default:break g}}if((b|0)==825382478){break e}m=0;if((b|0)==844715353){break c}break b}if((b|0)==1431918169){break d}m=0;if((b|0)==1498831189){break c}if((b|0)!=1448433993){break b}}k=p(a,d)+c|0;n=(d+1|0)/2|0;m=k+p(n,(a+1|0)/2|0)|0;break c}k=p(a,d)+c|0;n=(d+1|0)/2<<1}m=0}a=m;h:{i:{j:{k:{l:{m:{n:{o:{if((b|0)<=1431918168){p:{switch(b-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break j;case 0:break l;case 11:break o;default:break p}}if((b|0)==825382478){break k}if((b|0)!=844715353){break j}j[e>>2]=c;j[h>>2]=d;j[g>>2]=c+3;j[f>>2]=j[e>>2]+1;break h}if((b|0)==1431918169){break m}if((b|0)==1448433993){break n}if((b|0)!=1498831189){break j}j[e>>2]=c+1;j[h>>2]=d;j[g>>2]=c+2;j[f>>2]=j[e>>2]-1;break h}j[e>>2]=c;j[h>>2]=d;j[g>>2]=k;j[f>>2]=a;break i}j[e>>2]=c;j[h>>2]=d;j[g>>2]=a;j[f>>2]=k;break i}j[e>>2]=c;j[h>>2]=d;j[g>>2]=c+1;j[f>>2]=j[e>>2]+3;break h}j[e>>2]=c;j[h>>2]=d;j[f>>2]=k;j[g>>2]=k+1;break i}j[e>>2]=c;j[h>>2]=d;j[g>>2]=k;j[f>>2]=k+1;break i}o=l,q=Ug(b),j[o+16>>2]=q;a=ve(152067,l+16|0);break a}j[i>>2]=n;a=0;break a}j[i>>2]=d;a=0;break a}o=l,q=Ug(b),j[o>>2]=q;a=ve(152024,l)}oe=l+32|0;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=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0;d=j[b+1296>>2];f=j[j[j[j[a+64>>2]+4>>2]+28>>2]+2848>>2];c=a+4|0;a:{if((Ce(c,1)|0)!=1){break a}h=2;g=Ff(a,j[b+1284>>2]<<2);a=j[b+1292>>2]-1|0;r=g,t=Ce(c,a?32-s(a)|0:0),j[r>>2]=t;a=j[b+1292>>2]-1|0;r=g,t=Ce(c,a?32-s(a)|0:0),j[r+4>>2]=t;if(j[d>>2]>0){while(1){m=j[(d+(l<<2)|0)+4>>2];e=d+(m<<2)|0;k=j[e+128>>2];a=0;b:{n=j[e+192>>2];if(!n){break b}a=Sj(f+p(j[e+256>>2],56)|0,c);if((a|0)!=-1){break b}return 0}if((k|0)>=1){o=-1<>2];c:{if((i|0)>=0){i=Sj(f+p(i,56)|0,c);j[(e+h<<2)+g>>2]=i;if((i|0)!=-1){break c}return 0}j[(e+h<<2)+g>>2]=0}a=a>>n;e=e+1|0;if((k|0)!=(e|0)){continue}break}}h=h+k|0;l=l+1|0;if((l|0)>2]){continue}break}}if(j[b+1284>>2]<3){break a}l=b+780|0;n=b+1032|0;k=d+836|0;h=2;while(1){a=h<<2;d=a-8|0;m=d+l|0;e=j[m>>2]<<2;o=d+n|0;f=j[o>>2]<<2;i=j[f+g>>2]&32767;d=(j[e+g>>2]&32767)-i|0;c=d>>31;q=c^d+c;c=j[f+k>>2];c=(p(q,j[a+k>>2]-c|0)|0)/(j[e+k>>2]-c|0)|0;d=i+((d|0)<0?0-c|0:c)|0;a=a+g|0;c=j[a>>2];d:{if(c){f=j[b+1292>>2]-d|0;e:{if((c|0)>=((d|0)>(f|0)?f:d)<<1){e=c-d|0;if((d|0)<(f|0)){break e}e=f+(c^-1)|0;break e}e=0-(c+1>>1)|0;if(c&1){break e}e=c>>1}j[a>>2]=e+d&32767;a=(j[o>>2]<<2)+g|0;j[a>>2]=j[a>>2]&32767;a=(j[m>>2]<<2)+g|0;j[a>>2]=j[a>>2]&32767;break d}j[a>>2]=d|32768}h=h+1|0;if((h|0)>2]){continue}break}}return g|0}function CE(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=q(0),l=0,m=0,o=q(0),s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0;m=j[a+12>>2]-1|0;a:{if(m>>>0>1){break a}h=j[a+16>>2];f=+(h&2097151);i=q(aq((h|0)>-1?f:-f,(h>>>21&1023)-788|0));h=j[a+20>>2];f=+(h&2097151);o=q(aq((h|0)>-1?f:-f,(h>>>21&1023)-788|0));d=j[a>>2];h=bf(p(d,b),4);b:{switch(m|0){case 1:s=j[a+4>>2];if((s|0)<1){break a}f=+i;w=+o;t=(d|0)<1;while(1){if(!(k[j[a+8>>2]+g|0]?0:c)){if(!t){l=p(d,e);m=p(d,g);x=(e<<2)+c|0;y=j[a+28>>2];z=j[a+32>>2];b=0;i=q(0);while(1){o=q(w*+q(r(q(j[z+(b+m<<2)>>2])))+f+ +i);i=y?o:i;if(c){u=p(d,j[x>>2])+b|0}else{u=b+l|0}n[(u<<2)+h>>2]=o;b=b+1|0;if((d|0)!=(b|0)){continue}break}}e=e+1|0}g=g+1|0;if((s|0)!=(g|0)){continue}break}break a;case 0:break b;default:break a}}s=j[a+4>>2];f=v(vg(+q(s|0),+q(q(1)/q(d|0))));c:{if(r(f)<2147483648){g=~~f;break c}g=-2147483648}while(1){b=1;l=1;if((d|0)>=1){m=g+1|0;e=0;while(1){l=p(l,m);b=p(b,g);e=e+1|0;if((d|0)!=(e|0)){continue}break}}b=(b|0)>(s|0);if(b|(l|0)<=(s|0)){g=(b?-1:1)+g|0;continue}else{if((s|0)<1){break a}f=+i;w=+o;e=0;m=(d|0)<1;while(1){if(!(k[j[a+8>>2]+e|0]?0:c)){if(!m){x=p(d,t);y=(t<<2)+c|0;z=j[a+28>>2];A=j[a+32>>2];b=0;i=q(0);l=1;while(1){o=q(w*+q(r(q(j[A+(((e|0)/(l|0)|0)%(g|0)<<2)>>2])))+f+ +i);i=z?o:i;if(c){u=p(d,j[y>>2])+b|0}else{u=b+x|0}n[(u<<2)+h>>2]=o;l=p(g,l);b=b+1|0;if((d|0)!=(b|0)){continue}break}}t=t+1|0}e=e+1|0;if((s|0)!=(e|0)){continue}break}}break}}return h}function Hx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0;g=oe-16|0;oe=g;b=j[a+664>>2];if(!b){b=l[a+340>>1];a:{if(!b){b=0;break a}f=b>>>0>1?b:1;m=j[a+356>>2];b=0;d=-1;e=-1;while(1){c=m+p(b,20)|0;b:{if(l[c+6>>1]!=6|!l[c+8>>1]){break b}c:{switch(l[c>>1]-1|0){case 2:if(l[c+2>>1]!=1){break b}d=l[c+4>>1]==1033?b:d;break b;case 0:break c;default:break b}}if(l[c+2>>1]){break b}e=l[c+4>>1]?e:b}b=b+1|0;if((f|0)!=(b|0)){continue}break}if((d|0)!=-1){n=j[a+356>>2];c=n+p(d,20)|0;m=l[c+8>>1];e=j[a+100>>2];j[g+12>>2]=0;b=He(e,m+1|0,g+12|0);if(j[g+12>>2]){break a}f=j[a+360>>2];o=Fe(f,j[c+12>>2]);j[g+12>>2]=o;d:{if(o){break d}o=_e(f,l[c+8>>1]);j[g+12>>2]=o;if(o){break d}d=b;e=m>>>1|0;if(e){c=j[f+32>>2];while(1){e:{if(k[c|0]){break e}m=h[c+1|0];if((m|0)<32){break e}h[d|0]=m;d=d+1|0}c=c+2|0;e=e-1|0;if(e){continue}break}}h[d|0]=0;Ve(f);break a}if(b){qe[j[e+8>>2]](e,b)}b=0;i[c+8>>1]=0;j[c+12>>2]=0;d=n+p(d,20)|0;c=j[d+16>>2];if(c){qe[j[e+8>>2]](e,c)}j[d+16>>2]=0;break a}if((e|0)==-1){b=0;break a}m=j[a+356>>2];f=m+p(e,20)|0;b=l[f+8>>1];c=j[a+100>>2];j[g+8>>2]=0;d=He(c,b+1|0,g+8|0);if(j[g+8>>2]){b=d;break a}n=j[a+360>>2];o=Fe(n,j[f+12>>2]);j[g+8>>2]=o;f:{if(o){break f}n=uf(n,d,b);j[g+8>>2]=n;if(n){break f}h[b+d|0]=0;b=d;break a}b=0;j[f+12>>2]=0;i[f+8>>1]=0;e=m+p(e,20)|0;f=j[e+16>>2];if(f){qe[j[c+8>>2]](c,f)}j[e+16>>2]=0;if(d){qe[j[c+8>>2]](c,d)}}j[a+664>>2]=b}oe=g+16|0;return b|0}function SK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;a:{f=j[a+28>>2];if(!f){break a}d=j[a+48>>2];i=j[a+36>>2];l=j[a+16>>2];b=j[a+24>>2];m=b&7;n=(b+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];b:while(1){g=n;c:{d:{switch(m-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=1;continue;case 1:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=2;continue;case 2:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=3;continue;case 3:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=4;continue;case 4:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=5;continue;case 5:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=6;continue;case 6:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=7;continue;default:break e}}b=f-1|0;e=k[c|0]<<2;h[a|0]=k[e+d|0];e=(e|1)+d|0;h[a+1|0]=k[e|0];h[a+2|0]=k[e+1|0];a=a+3|0;c=c+1|0;f:{if((g|0)>1){g=g-1|0;break f}a=a+i|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function Do(a,b,c,d,e){var f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;if(c){k=j[a+4>>2];m=j[a+12>>2];a=(e|0)==2;o=a?256:128;p=a?128:256;n=0-e|0;while(1){g=j[b+16>>2];a:{if(g&16){break a}l=j[b+28>>2];b:{a=h[b+20|0];c:{if((e|0)==(a|0)|(a|0)==(n|0)){break c}a=h[b+21|0];if((e|0)==(a|0)){break c}if((a|0)!=(n|0)){break b}}if(!a){break b}if((a|0)==(e|0)){a=0;if(!k){break a}while(1){f=j[(a<<2)+m>>2];i=l-j[f>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break a}break}j[b+24>>2]=f;j[b+16>>2]=g|528;break a}if((a|0)!=(n|0)){break a}a=0;if(!k){break a}while(1){f=j[(a<<2)+m>>2];i=(l-j[f>>2]|0)-j[f+4>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break a}break}j[b+24>>2]=f;j[b+16>>2]=g|1040;break a}if(!(g&64)){break a}d:{if(g&p){a=0;if(!k){break a}while(1){f=j[(a<<2)+m>>2];i=l-j[f>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break d}break}j[b+24>>2]=f;j[b+16>>2]=g|528;break d}if(!(g&o)){break d}a=0;if(!k){break d}while(1){f=j[(a<<2)+m>>2];i=(l-j[f>>2]|0)-j[f+4>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break d}break}j[b+24>>2]=f;j[b+16>>2]=g|1040}if(j[b+24>>2]){break a}a=0;if(!k){break a}while(1){g=j[(a<<2)+m>>2];f=j[g>>2];if(!((f|0)>(l|0)|(f+j[g+4>>2]|0)<(l|0))){j[b+24>>2]=g;break a}a=a+1|0;if((k|0)!=(a|0)){continue}break}}b=b+40|0;c=c-1|0;if(c){continue}break}}}function wy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;l=oe-16|0;oe=l;d=j[a+28>>2];e=j[a+16>>2];m=j[a+24>>2];j[l+12>>2]=0;a:{b:{g=m+1|0;c:{if(g>>>0<=d>>>0){n=j[a+32>>2];break c}j[a+36>>2]=b;n=xe(b,4,d,g,j[a+32>>2],l+12|0);j[a+32>>2]=n;if(j[l+12>>2]){break b}j[a+28>>2]=g}g=n;if(m){e=e+10|0;while(1){h=k[e+7|0]|k[e+8|0]<<8|(k[e+9|0]<<16|k[e+10|0]<<24);r=k[e|0];s=k[e+1|0];t=k[e+2|0];d:{e:{f:{b=k[e+3|0]|k[e+4|0]<<8|(k[e+5|0]<<16|k[e+6|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break f}d=b+j[a+16>>2]|0;b=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);o=d+7|0;i=0;while(1){if(b>>>0<=i>>>0){break f}d=b;b=b+i>>>1|0;q=o+(b<<2)|0;f=q-3|0;f=k[f+1|0]<<8|k[f|0]<<16|k[f+2|0];if(f>>>0>c>>>0){continue}i=b+1|0;b=d;if(f+k[q|0]>>>0>>0){continue}break}break e}b=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if(!b){break d}d=b+j[a+16>>2]|0;b=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break d}o=d+7|0;i=0;while(1){g:{d=b+i>>>1|0;h=o+p(d,5)|0;f=h-3|0;f=k[f+1|0]<<8|k[f|0]<<16|k[f+2|0];h:{if(f>>>0>c>>>0){b=d;break h}if(c>>>0<=f>>>0){break g}i=d+1|0}if(b>>>0>i>>>0){continue}break d}break}if(!(k[h+1|0]|k[h|0]<<8)){break d}}j[g>>2]=s<<8|r<<16|t;g=g+4|0}e=e+11|0;m=m-1|0;if(m){continue}break}}j[g>>2]=0;break a}n=0}oe=l+16|0;return n|0}function Ks(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=oe-4272|0;oe=c;b=0;j[c+4232>>2]=j[29002];e=j[29001];d=c+4224|0;j[d>>2]=j[29e3];j[d+4>>2]=e;e=j[28999];d=c+4216|0;j[d>>2]=j[28998];j[d+4>>2]=e;e=j[28997];d=c+4208|0;j[d>>2]=j[28996];j[d+4>>2]=e;e=j[28995];d=c+4200|0;j[d>>2]=j[28994];j[d+4>>2]=e;e=j[28993];d=c+4192|0;j[d>>2]=j[28992];j[d+4>>2]=e;d=j[28991];j[c+4184>>2]=j[28990];j[c+4188>>2]=d;d=j[28989];j[c+4176>>2]=j[28988];j[c+4180>>2]=d;e=j[a+20>>2];f=j[a+12>>2];g=j[a+16>>2];d=j[a+4>>2];j[c+52>>2]=j[a+8>>2];j[c+48>>2]=(d|0)==1?116069:116074;j[c+44>>2]=d;j[c+40>>2]=g;j[c+36>>2]=f;j[c+32>>2]=e;Ue(c- -64|0,4096,116012,c+32|0);j[c+16>>2]=c- -64;Hi(116080,c+16|0);a=Qf(116087);a:{if(a){if(!df(a,116098)){a=2;break a}if(!df(a,116104)){a=1;break a}if(!df(a,116110)){a=0;break a}if(!df(a,116116)){a=3;break a}a=df(a,116123)?2:4;break a}a=BH();b:{if(!a){break b}if(!(cj(a)&1)){break b}GH(a);b=a}Oe(c+4240|0,0,28);j[c+4256>>2]=5;j[c+4248>>2]=116137;j[c+4244>>2]=b;j[c+4240>>2]=32;j[c+4260>>2]=c+4176;j[c+4252>>2]=c- -64;c:{if(wH(c+4240|0,c+4172|0)){while(1){h[c+4170|0]=105;h[c+4171|0]=0;j[c>>2]=c- -64;a=E(116154,c+4170|0,c|0)|0;if(!df(a,116379)){ze(a);a=2;break c}if(!df(a,116381)){ze(a);a=0;break c}if(!df(a,116383)){ze(a);a=3;break c}d=df(a,116385);ze(a);if(d){continue}break}a=4;break c}a=j[c+4172>>2];a=(a|0)==-1?3:a}if(!b){break a}FH(b)}oe=c+4272|0;return a|0}function Hn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0,n=0,o=0,q=0;c=j[a+36>>2];h=j[a+40>>2];d=j[a+28>>2];i=j[a+24>>2];k=d+p(i,40)|0;a:{if(b){m=8;if((i|0)<=0){break a}a=d;while(1){j[a+24>>2]=j[a+20>>2];j[a+28>>2]=j[a+8>>2];a=a+40|0;if(k>>>0>a>>>0){continue}break}break a}m=4;if((i|0)<1){break a}a=d;while(1){j[a+24>>2]=j[a+16>>2];j[a+28>>2]=j[a+4>>2];a=a+40|0;if(k>>>0>a>>>0){continue}break}}if((c|0)>=1){q=(c<<2)+h|0;while(1){e=j[h>>2];a=e;f=j[a+36>>2];b:{if(a>>>0>f>>>0){break b}while(1){c:{if(l[a>>1]&m){c=a;while(1){g=c;o=f>>>0<=c>>>0;if(!o){c=g+40|0;if(l[g+40>>1]&m){continue}}d:{e:{n=g+40|0;c=n;if(f>>>0>=c>>>0){while(1){if(l[c>>1]&m){break e}c=c+40|0;if(f>>>0>=c>>>0){continue}break}}if((a|0)==(g|0)){c=j[a+24>>2]-j[a+28>>2]|0;if(!c){break b}if(a>>>0>e>>>0){break d}break c}if(!o){yk(n,f,g,a)}if(a>>>0<=d>>>0){break b}yk(e,a-40|0,g,a);break b}yk(n,c-40|0,g,c);continue}break}while(1){j[e+24>>2]=c+j[e+28>>2];e=e+40|0;if(e>>>0>>0){continue}break}break c}a=a+40|0;if(f>>>0>=a>>>0){continue}break b}break}e=a+40|0;if(f>>>0>>0){break b}while(1){j[a- -64>>2]=c+j[a+68>>2];a=e;e=a+40|0;if(f>>>0>=e>>>0){continue}break}}h=h+4|0;if(q>>>0>h>>>0){continue}break}}f:{if(b){if((i|0)<=0){break f}while(1){j[d+20>>2]=j[d+24>>2];d=d+40|0;if(k>>>0>d>>>0){continue}break}break f}if((i|0)<1){break f}while(1){j[d+16>>2]=j[d+24>>2];d=d+40|0;if(k>>>0>d>>>0){continue}break}}}function JH(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=oe-80|0;oe=e;a:{if(!j[67085]){if((Vq()|0)<0){break a}}b:{d=(a|0)>1?a:1;if((d|0)<=16384){g=(b|0)>1?b:1;if((g|0)<16385){break b}}ve(150558,0);break a}c=Xe(1,156);if(!c){c=0;Be(0);break a}b=0;a=j[67085];j[c>>2]=a+316;f=a;a=j[a+320>>2];j[f+320>>2]=a+1;j[c+28>>2]=g;j[c+24>>2]=d;j[c+20>>2]=536805376;j[c+16>>2]=536805376;j[c+4>>2]=a;f=Oh(c);a=j[67085];b=(f|0)>=0?j[a+304>>2]+p(f,72)|0:b;f=j[a+300>>2];c:{if((f|0)>=1){h=j[a+304>>2];a=0;while(1){if((p(a,72)+h|0)==(b|0)){break c}a=a+1|0;if((f|0)!=(a|0)){continue}break}}a=0}bm(a,e- -64|0);j[c+16>>2]=j[e+64>>2]+((j[e+72>>2]-d|0)/2|0);a=j[e+68>>2]+((j[e+76>>2]-g|0)/2|0)|0;j[c+20>>2]=a;b=j[c+24>>2];d=j[c+16>>2];j[c+68>>2]=j[c+28>>2];j[c+64>>2]=b;j[c+60>>2]=a;j[c+56>>2]=d;j[c+92>>2]=1065353216;j[c+96>>2]=1065353216;a=40;j[c+52>>2]=40;j[c+48>>2]=40;b=j[67085];d=j[b+308>>2];j[c+120>>2]=0;j[c+152>>2]=d;if(d){j[d+148>>2]=c}j[b+308>>2]=c;d:{d=j[b+36>>2];if(d){if((qe[d|0](b,c)|0)<0){break d}a=j[c+48>>2]}if(a&64){j[c+48>>2]=a&-65}a=j[67085];e:{if(!a){ve(151717,0);break e}if(j[c>>2]!=(a+316|0)){ve(150417,0);break e}a=j[c+8>>2];if((a|0)==1647){break e}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}i=c,k=_f(1647),j[i+8>>2]=k;a=j[67085];b=j[a+44>>2];if(!b){break e}qe[b|0](a,c)}Sq(c,32);a=j[c+48>>2];bh(c,(a&5)==5?(a>>>6^-1)&1:0);break a}dm(c);c=0}oe=e+80|0;return c}function tk(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0;l=j[a+172>>2];j[a+172>>2]=0;e=j[a>>2]?p(j[a+28>>2],c):c;g=j[a+240>>2];if(j[a+216>>2]!=j[a+204>>2]){f=e;i=k[a+232|0]<<2;m=w(o[a+224>>3]*+((e|0)/(i|0)|0));a:{if(r(m)<2147483648){e=~~m;break a}e=-2147483648}i=p(e,i);e=f+i|0}f=j[a+188>>2];if(j[a+84>>2]){e=p(j[a+112>>2],e)}g=g<<2;e=e+g|0;if((e|0)>j[a+192>>2]){f=mf(f,e+32|0);if(!f){Be(0);return-1}j[a+192>>2]=e;j[a+188>>2]=f}e=f&15?(f&-16)+16|0:f;if(!e){return-1}f=l?0:g;l=f+e|0;Ge(l,b,c);b:{if(!j[a>>2]){break b}h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;j[a+20>>2]=c;j[a+16>>2]=l;b=k[a+40|0]|k[a+41|0]<<8|(k[a+42|0]<<16|k[a+43|0]<<24);if(!b){break b}h[a+80|0]=0;h[a+81|0]=0;h[a+82|0]=0;h[a+83|0]=0;qe[b|0](a,k[a+4|0]|k[a+5|0]<<8);c=j[a+24>>2]}c:{d:{if(j[a+216>>2]==j[a+204>>2]){f=e;break d}if(f){Ge(e,j[a+244>>2],f);c=c+f|0}b=c-g|0;Ge(j[a+244>>2],b+e|0,g);f=c+e|0;g=(c|0)<=(g|0);c=0;if(g){break c}c=qe[j[a+252>>2]](a,e,b,f,i)|0}if((c|0)<1){break c}b=a+84|0;if(!j[b>>2]){break c}h[a+108|0]=c;h[a+109|0]=c>>>8;h[a+110|0]=c>>>16;h[a+111|0]=c>>>24;j[a+104>>2]=c;j[a+100>>2]=f;e=k[a+124|0]|k[a+125|0]<<8|(k[a+126|0]<<16|k[a+127|0]<<24);if(!e){break c}h[a+164|0]=0;h[a+165|0]=0;h[a+166|0]=0;h[a+167|0]=0;qe[e|0](b,k[a+88|0]|k[a+89|0]<<8);c=j[a+108>>2]}if(d){b=j[d>>2];c=(b|0)<(c|0)?b:c;j[d>>2]=b-c}if(!c){return 0}return wk(j[a+168>>2],f,c)}function TO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,m=0;a:{b:{c:{d:{c=b&255;switch(c-16|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break c;case 0:break d;default:break b}}f=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>1|0;if(!f){break a}d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){c=l[d>>1];i[d>>1]=(c<<24|c<<8&16711680)>>>16;d=d+2|0;f=f-1|0;if(f){continue}break}break a}e=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>2|0;if(!e){break a}d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){c=j[d>>2];j[d>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d+4|0;e=e-1|0;if(e){continue}break}break a}if((c|0)!=64){break a}f=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>3|0;if(!f){break a}d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){e=j[d>>2];c=j[d+4>>2];g=c<<24|e>>>8;g=g&65280|(c<<8|e>>>24)&255|(e<<24|e<<8&16711680);j[d>>2]=((c&255)<<24|e>>>8)&-16777216|((c&16777215)<<8|e>>>24)&16711680|(c>>>8&65280|c>>>24)|m;j[d+4>>2]=g;d=d+8|0;f=f-1|0;if(f){continue}break}}c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b^4096)}}function Rl(a,b,c,d,e,f,g){var h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;r=oe-16|0;oe=r;x=a+24|0;y=!d|!e;v=-1;w=-1;s=-1;t=-1;u=-1;q=b;o=c;a:{while(1){i=j[a>>2];if(!i){h=-129;m=-1;break a}l=(o|0)>0?1:(o|0)>=0?q>>>0>65536:0;h=l?q:65536;q=h-65536|0;n=q;p=(l?o:0)-(h>>>0<65536)|0;o=p;if(j[a+8>>2]!=(n|0)|(o|0)!=j[a+12>>2]){h=-128;m=-1;l=j[a+708>>2];if(!l){break a}if((qe[l|0](i,q,o,0)|0)==-1){break a}j[a+8>>2]=q;j[a+12>>2]=o;if(j[x+4>>2]>=0){i=x;j[i+8>>2]=0;j[i+12>>2]=0;j[i+24>>2]=0;j[i+16>>2]=0;j[i+20>>2]=0}p=j[a+12>>2];n=j[a+8>>2]}i=-1;l=-1;b:{if((c|0)<(p|0)?1:(c|0)<=(p|0)?b>>>0<=n>>>0:0){break b}while(1){z=i;A=l;h=-128;m=-1;i=b;i=Pf(a,r,i-n|0,c-((i>>>0>>0)+p|0)|0);n=pe;l=n;if((i|0)==-128&(l|0)==-1){break a}if((l|0)<0){i=z;l=A;break b}h=j[r>>2];v=k[h+6|0]|k[h+7|0]<<8|(k[h+8|0]<<16|k[h+9|0]<<24);w=k[h+10|0]|k[h+11|0]<<8|(k[h+12|0]<<16|k[h+13|0]<<24);h=j[r>>2];s=k[h+14|0]|k[h+15|0]<<8|(k[h+16|0]<<16|k[h+17|0]<<24);if((s|0)==j[f>>2]){j[g>>2]=v;j[g+4>>2]=w;t=i;u=l}m=e;h=d;c:{if(y){t=-1;u=-1;break c}while(1){if(j[h>>2]==(s|0)){break c}h=h+4|0;m=m-1|0;if(m){continue}break}t=-1;u=-1}n=j[a+8>>2];p=j[a+12>>2];h=p;if((c|0)>(h|0)?1:(c|0)>=(h|0)?b>>>0>n>>>0:0){continue}break}}if((i|0)==-1&(l|0)==-1){continue}break}m=u;h=t;if((m|0)>-1){break a}j[f>>2]=s;j[g>>2]=v;j[g+4>>2]=w;h=i;m=l}oe=r+16|0;pe=m;return h}function KL(a,b,c,d,e,f,g){var h=0,i=0,k=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0;l=c/90;a:{if(r(l)<2147483648){n=~~l;break a}n=-2147483648}if(+(n|0)==l){n=(n|0)%4|0;n=(n|0)<0?n+4|0:n;if(n&1){j[d>>2]=b;j[e>>2]=a;j[f>>2]=0;j[f+4>>2]=0;o[g>>3]=((n|0)==1?-1:1)|0;return}j[d>>2]=a;j[e>>2]=b;o[f>>3]=(n?-1:1)|0;j[g>>2]=0;j[g+4>>2]=0;return}c=c*-.017453292519943295;u=g,v=Og(c),o[u>>3]=v;k=mg(c);o[f>>3]=k;p=+((a|0)/2|0);c=k*p;q=o[g>>3];s=+((b|0)/2|0);m=q*s;i=c-m;l=m-c;t=l;h=c+m;if(!(r(r(h)>r(i)?h:i)>r(l)^1)){t=r(h)>r(i)?h:i}m=-c-m;c=m;b:{if(r(t)>r(c)^1){break b}c=l;if(r(r(h)>r(i)?h:i)>r(c)^1){break b}c=r(h)>r(i)?h:i}a=2;c=w(r(c));c:{if(r(c)<2147483648){b=~~c;break c}b=-2147483648}if((b|0)>=2){d:{if(r(r(r(h)>r(i)?h:i)>r(l)^1?l:r(h)>r(i)?h:i)>r(m)^1){break d}m=l;if(r(r(h)>r(i)?h:i)>r(l)^1){break d}m=r(h)>r(i)?h:i}c=w(r(m));e:{if(r(c)<2147483648){a=~~c;break e}a=-2147483648}a=a<<1}c=q*p;i=k*s;h=c-i;l=i-c;m=l;k=i+c;if(!(r(r(k)>r(h)?k:h)>r(l)^1)){m=r(k)>r(h)?k:h}c=-c-i;i=c;f:{if(r(m)>r(c)^1){break f}i=l;if(r(r(k)>r(h)?k:h)>r(i)^1){break f}i=r(k)>r(h)?k:h}g=2;j[d>>2]=a;m=w(r(i));g:{if(r(m)<2147483648){a=~~m;break g}a=-2147483648}if((a|0)>=2){h:{if(r(r(r(k)>r(h)?k:h)>r(l)^1?l:r(k)>r(h)?k:h)>r(c)^1){break h}c=l;if(r(r(k)>r(h)?k:h)>r(c)^1){break h}c=r(k)>r(h)?k:h}c=w(r(c));i:{if(r(c)<2147483648){a=~~c;break i}a=-2147483648}g=a<<1}j[e>>2]=g}function WB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=0,o=0;a:{b:{c:{e=j[a+28>>2];if(!k[e+64|0]){f=j[b+4>>2];g=j[b>>2];h[e+64|0]=1;c=j[e+20>>2];d:{if(k[e+65|0]){d=j[e+12>>2];if((i[d+20>>1]+i[d+56>>1]|0)+1>>>0>m[d+8>>2]){d=yf(d,0,1);if(d){break c}}n=l[c>>1];d=n<<16>>16;if((d|0)<1){break d}i[(j[c+12>>2]+(n<<1)|0)-2>>1]=l[c+2>>1]-1}d=l[c>>1]}i[c>>1]=d+1;c=j[e+12>>2];if((i[c+22>>1]+i[c+58>>1]|0)+1>>>0>m[c+4>>2]){d=yf(c,1,0);if(d){break c}}c=j[e+20>>2];if(k[e+65|0]){d=j[c+8>>2];n=i[c+2>>1];o=j[c+4>>2]+(n<<3)|0;j[o+4>>2]=f>>10;j[o>>2]=g>>10;h[d+n|0]=1}i[c+2>>1]=l[c+2>>1]+1}c=j[e+12>>2];if((i[c+22>>1]+i[c+58>>1]|0)+3>>>0<=m[c+4>>2]){break b}c=yf(c,3,0);if(!c){break b}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=c;return}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=d;return}a=j[e+20>>2];e:{f:{g:{if(!k[e+65|0]){i[a+2>>1]=l[a+2>>1]+1;break g}c=j[a+8>>2];d=j[b+8>>2];f=i[a+2>>1];g=j[a+4>>2]+(f<<3)|0;j[g+4>>2]=j[b+12>>2]>>10;j[g>>2]=d>>10;h[c+f|0]=2;d=k[e+65|0];c=j[e+20>>2];i[a+2>>1]=l[a+2>>1]+1;if(d){break f}a=c}i[a+2>>1]=l[a+2>>1]+1;break e}a=j[c+8>>2];d=j[b+16>>2];f=i[c+2>>1];g=j[c+4>>2]+(f<<3)|0;j[g+4>>2]=j[b+20>>2]>>10;j[g>>2]=d>>10;h[a+f|0]=2;d=k[e+65|0];a=j[e+20>>2];i[c+2>>1]=l[c+2>>1]+1;if(!d){break e}c=j[a+8>>2];e=j[b+24>>2];d=i[a+2>>1];f=j[a+4>>2]+(d<<3)|0;j[f+4>>2]=j[b+28>>2]>>10;j[f>>2]=e>>10;h[c+d|0]=1}i[a+2>>1]=l[a+2>>1]+1}}function ki(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;d=oe-16|0;oe=d;e=p(b,-11796480)+5898240|0;g=Bf(j[a>>2],j[a+4>>2]);f=(g|0)/2|0;m=(b<<5)+a|0;a:{b:{c:{d:{e:{f:{if(!k[m+80|0]|(!c|g+11763713>>>0>23527426)){break f}i=ye(j[a+60>>2],QC(f));g=i>>31;g=g^g+i;if(!g|(c|0)<(g|0)){break f}if((g|0)<=j[a+16>>2]){break e}}of(d,j[a+60>>2],e+j[a+4>>2]|0);e=j[d>>2]+j[a+8>>2]|0;j[d>>2]=e;f=j[d+4>>2]+j[a+12>>2]|0;j[d+4>>2]=f;h[m+80|0]=0;break d}c=j[a>>2];g=ii(f);of(d,De(j[a+60>>2],g),c+(e+f|0)|0);e=j[d>>2]+j[a+8>>2]|0;j[d>>2]=e;f=j[d+4>>2]+j[a+12>>2]|0;j[d+4>>2]=f;if(!k[m+80|0]){break d}a=(b<<5)+a|0;a=((j[a- -64>>2]<<3)+j[a+72>>2]|0)-8|0;b=j[d+4>>2];j[a>>2]=j[d>>2];j[a+4>>2]=b;break c}g=(b<<5)+a|0;i=g- -64|0;c=j[i>>2];g:{if(!c){break g}l=j[g+72>>2]+(c-1<<3)|0;if((j[l>>2]-e|0)+1>>>0>2){break g}e=0;if((j[l+4>>2]-f|0)+1>>>0<3){break a}}f=j[g+68>>2];j[d+12>>2]=0;e=c+1|0;h:{if(e>>>0<=f>>>0){f=j[((b<<5)+a|0)+76>>2];break h}l=j[((b<<5)+a|0)+88>>2];c=f;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}n=(b<<5)+a|0;e=n;o=e,q=xe(l,8,f,c,j[e+72>>2],d+12|0),j[o+72>>2]=q;e=j[d+12>>2];if(e){break b}f=xe(l,1,f,c,j[n+76>>2],d+12|0);j[n+76>>2]=f;e=j[d+12>>2];if(e){break b}j[g+68>>2]=c;c=j[i>>2]}a=j[((b<<5)+a|0)+72>>2]+(c<<3)|0;b=j[d+4>>2];j[a>>2]=j[d>>2];j[a+4>>2]=b;h[c+f|0]=1;j[i>>2]=j[i>>2]+1}e=0}h[m+80|0]=0}oe=d+16|0;return e}function Qz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0;m=oe-16|0;oe=m;h=He(a,2496,m+12|0);d=j[m+12>>2];if(!d){j[h>>2]=a;j[h+212>>2]=l[b+120>>1];g=k[b+124|0];if(g){a=h+224|0;d=b+128|0;f=g;while(1){j[a>>2]=i[d>>1];d=d+2|0;a=a+12|0;f=f-1|0;if(f){continue}break}}a=1;j[h+208>>2]=g+1;j[h+8>>2]=l[b+122>>1];g=k[b+125|0];if(g){d=h+20|0;f=b+154|0;e=g;while(1){j[d>>2]=i[f>>1];f=f+2|0;d=d+12|0;e=e-1|0;if(e){continue}break}}j[h+4>>2]=g+1;d=0;g=h+412|0;f=b+12|0;Bo(g,k[b+8|0],f,k[b+9|0],b+40|0,j[b+116>>2],0);Bo(g,k[b+10|0],b+60|0,k[b+11|0],b+88|0,j[b+116>>2],1);g=k[b+8|0];if(g){while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}g=k[b+9|0];if(g){d=0;f=b+40|0;while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}g=k[b+10|0];if(g){d=0;f=b+60|0;while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}g=k[b+11|0];if(g){d=0;f=b+88|0;while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}a=De(1e3,a<<16>>16);f=j[b+108>>2];j[h+2476>>2]=(a|0)>(f|0)?f:a;j[h+2480>>2]=j[b+112>>2];a=j[b+116>>2];j[h+404>>2]=0;j[h+408>>2]=0;j[h+200>>2]=0;j[h+204>>2]=0;j[h+2488>>2]=a;d=j[m+12>>2]}j[c>>2]=h;oe=m+16|0;return d|0}function kl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;j[c+12>>2]=j[a>>2];d=j[a+8>>2];Nf(c+12|0,d);b=j[c+12>>2];a:{if(d>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{f=k[b|0];switch(f-40|0){case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 52:break b;case 7:break c;case 22:break d;case 20:break e;case 0:break f;case 51:case 53:break h;default:break g}}j[c+12>>2]=b+1;break a}if((f|0)!=123){break b}e=Mo(c+12|0,d);break a}e=jl(c+12|0,d);break a}if(!(k[b+1|0]!=60|b+1>>>0>=d>>>0)){j[c+12>>2]=b+2;break a}e=Lo(c+12|0,d);break a}f=b+1|0;j[c+12>>2]=f;e=3;if(k[f|0]!=62|d>>>0<=f>>>0){break a}j[c+12>>2]=b+2;e=0;break a}b=b+1|0;j[c+12>>2]=b}if(b>>>0>=d>>>0){break a}i:{while(1){j:{switch(k[b|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break i;default:break j}}b=b+1|0;if((d|0)!=(b|0)){continue}break}j[c+12>>2]=d;break a}j[c+12>>2]=b}b=j[c+12>>2];if(b>>>0>>0){e=(b|0)==j[a>>2]?3:e}j[a>>2]=b;j[a+12>>2]=e;oe=c+16|0}function uB(a,b,c,d,e){var f=0,g=0;f=oe+ -64|0;oe=f;g=6;a:{if(!c|(!b|!a)){break a}j[f+20>>2]=b;j[f+12>>2]=e;j[f+8>>2]=d;b=j[c>>2];j[f+48>>2]=a;j[f+44>>2]=132;j[f+40>>2]=133;j[f+24>>2]=b;if(Wo(f+8|0,15)){break a}d=Uo(f+8|0,4);if((d|0)!=1){g=j[f+36>>2];b:{if(!g){break b}c=j[f+44>>2];if(!c){break b}b=j[g+20>>2];if(b){a=j[b>>2];if((a&-2)==4){qe[c|0](j[f+48>>2],j[b+12>>2]);a=j[b>>2]}if((a|0)==6){qe[j[f+44>>2]](j[f+48>>2],j[b+4>>2])}j[b+28>>2]=0;j[b+32>>2]=0;j[b>>2]=0;g=j[b+40>>2];j[b+52>>2]=g;j[b+48>>2]=g;a=j[b+56>>2];if(a){a=qe[a|0](0,0,0)|0;j[b+60>>2]=a;j[f+56>>2]=a;g=j[b+40>>2]}qe[j[f+44>>2]](j[f+48>>2],g);qe[j[f+44>>2]](j[f+48>>2],j[b+36>>2]);qe[j[f+44>>2]](j[f+48>>2],b);g=j[f+36>>2];c=j[f+44>>2]}qe[c|0](j[f+48>>2],g)}g=0;a=d+5|0;if(a>>>0>=6){break a}g=j[(a<<2)+22340>>2];break a}j[c>>2]=j[f+28>>2];g=0;a=j[f+36>>2];if(!a){break a}c=j[f+44>>2];if(!c){break a}b=j[a+20>>2];if(b){a=j[b>>2];if((a&-2)==4){qe[c|0](j[f+48>>2],j[b+12>>2]);a=j[b>>2]}if((a|0)==6){qe[j[f+44>>2]](j[f+48>>2],j[b+4>>2])}j[b+28>>2]=0;j[b+32>>2]=0;j[b>>2]=0;a=j[b+40>>2];j[b+52>>2]=a;j[b+48>>2]=a;c=j[b+56>>2];if(c){a=qe[c|0](0,0,0)|0;j[b+60>>2]=a;j[f+56>>2]=a;a=j[b+40>>2]}qe[j[f+44>>2]](j[f+48>>2],a);qe[j[f+44>>2]](j[f+48>>2],j[b+36>>2]);qe[j[f+44>>2]](j[f+48>>2],b);c=j[f+44>>2];a=j[f+36>>2]}qe[c|0](j[f+48>>2],a)}oe=f- -64|0;return g}function Ai(a,b){var c=0,d=0,e=0,f=0,g=0,k=0,m=0,n=0,o=0;c=j[a+88>>2];if(h[a+8|0]&1){a:{b:{c:{d:{e:{switch(j[b>>2]){case 0:g=l[a+68>>1];e=g;break c;case 2:f=j[a+60>>2]-j[a+52>>2]|0;e=j[a- -64>>2]-j[a+56>>2]|0;break d;case 3:f=i[a+76>>1];e=i[a+70>>1]-i[a+72>>1]|0;break d;case 4:d=j[b+4>>2];j[c+16>>2]=d;e=j[b+8>>2];j[c+20>>2]=e;if(!d){j[c+16>>2]=e;d=0;break b}if(e){d=0;break b}j[c+20>>2]=d;d=0;break b;case 1:break e;default:break c}}f=i[a+70>>1]-i[a+72>>1]|0;e=f}d=e;d=d>>31;e=e+d^d;d=f>>31;g=d+f^d}k=j[b+4>>2];f=k;d=j[b+12>>2];if(d){f=(p(d,k)+36|0)/72|0}d=j[b+8>>2];m=j[b+16>>2];if(m){d=(p(d,m)+36|0)/72|0}if(k){k=De(f,g);j[c+16>>2]=k;if(j[b+8>>2]){g=De(d,e);j[c+20>>2]=g;e=j[b>>2];if((e|0)!=3){break a}e=j[c+16>>2];if((e|0)<(g|0)){j[c+20>>2]=e;break b}j[c+16>>2]=g;break b}j[c+20>>2]=k;d=Ne(f,e,g);break b}f=De(d,e);j[c+16>>2]=f;j[c+20>>2]=f;f=Ne(d,g,e)}e=j[b>>2]}b=c;if(e){f=ye(l[a+68>>1],j[c+16>>2]);d=ye(l[a+68>>1],j[c+20>>2])}i[b+14>>1]=d+32>>>6;i[c+12>>1]=f+32>>>6;n=c,o=ye(i[a+70>>1],j[c+20>>2])+63&-64,j[n+24>>2]=o;n=c,o=ye(i[a+72>>1],j[c+20>>2])&-64,j[n+28>>2]=o;n=c,o=ye(i[a+74>>1],j[c+20>>2])+32&-64,j[n+32>>2]=o;n=c,o=ye(i[a+76>>1],j[c+16>>2])+32&-64,j[n+36>>2]=o;return}j[c+12>>2]=0;j[c+16>>2]=0;j[c+36>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+20>>2]=0;j[c+24>>2]=0;j[c+16>>2]=65536;j[c+20>>2]=65536}function kJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[f>>2];b=d&255;g=d>>>8&255;h=d>>>16&255;if(y){g=(p(g,u)>>>0)/255|0;h=(p(h,v)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d>>>24|0;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;e=c>>>16|0;if(!(!w|i>>>0>254)){g=(p(g,i)>>>0)/255|0;h=(p(h,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;e=e&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(b,c)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;e=(p(e,h)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+b|0;d=((p(d,q)>>>0)/255|0)+g|0;e=((p(e,q)>>>0)/255|0)+h|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=d+g|0;d=b>>>0<255?b:255;b=e+h|0;e=b>>>0<255?b:255}j[m>>2]=d<<8|e<<16|c|r<<24;m=m+4|0;f=f+4|0;if(o){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function jI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[f>>2];b=d>>>24|0;g=d>>>8&255;h=d>>>16&255;if(y){g=(p(g,v)>>>0)/255|0;h=(p(h,u)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d&255;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;e=c>>>16|0;if(!(!w|i>>>0>254)){h=(p(h,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;e=e&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(b,c)>>>0)/255|0;d=(p(d,h)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+b|0;d=((p(d,q)>>>0)/255|0)+h|0;e=((p(e,q)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=d+h|0;d=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[m>>2]=d<<8|e<<16|c|r<<24;m=m+4|0;f=f+4|0;if(o){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function SI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];g=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[g>>2];b=d>>>24|0;e=d>>>8&255;h=d>>>16&255;if(y){e=(p(e,t)>>>0)/255|0;h=(p(h,u)>>>0)/255|0;b=(p(b,v)>>>0)/255|0}d=d&255;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;f=c>>>16|0;if(!(!w|i>>>0>254)){e=(p(e,i)>>>0)/255|0;h=(p(h,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;f=f&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(c,e)>>>0)/255|0;d=(p(d,h)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+e|0;d=((p(d,q)>>>0)/255|0)+h|0;f=((p(f,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+e|0;c=c>>>0<255?c:255;e=d+h|0;d=e>>>0<255?e:255;b=b+f|0;f=b>>>0<255?b:255}j[m>>2]=d<<8|f<<16|c|r<<24;m=m+4|0;g=g+4|0;if(o){continue}break}g=j[a+28>>2]}else{g=c}b=g;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;g=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function DI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];g=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[g>>2];b=d&255;e=d>>>8&255;h=d>>>16&255;if(y){e=(p(e,u)>>>0)/255|0;h=(p(h,t)>>>0)/255|0;b=(p(b,v)>>>0)/255|0}d=d>>>24|0;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;f=c>>>16|0;if(!(!w|i>>>0>254)){h=(p(h,i)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;f=f&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(c,h)>>>0)/255|0;d=(p(d,e)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+h|0;d=((p(d,q)>>>0)/255|0)+e|0;f=((p(f,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+h|0;c=c>>>0<255?c:255;e=d+e|0;d=e>>>0<255?e:255;b=b+f|0;f=b>>>0<255?b:255}j[m>>2]=d<<8|f<<16|c|r<<24;m=m+4|0;g=g+4|0;if(o){continue}break}g=j[a+28>>2]}else{g=c}b=g;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;g=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function Si(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;a:{if(!j[b>>2]){b=c;h=1;break a}h=!j[c>>2]}g=j[a+20>>2];b:{c:{if(!g){break c}e=j[b+8>>2];while(1){f=j[(p(d,20)+a|0)+36>>2];if((f|0)<(e|0)){d=d+1|0;if(g>>>0>d>>>0){continue}break c}break}if(k[(p(d,20)+a|0)+28|0]&8|((e|0)==(f|0)|((f|0)<=j[c+8>>2]?!h:0))){break b}}e=j[a+4>>2];d:{if(!k[e+12|0]|k[b|0]&16){break d}if(!h){e=Lg(e,(j[b+8>>2]+j[c+8>>2]|0)/2|0);f=ye((j[c+8>>2]-j[b+8>>2]|0)/2|0,j[a+16>>2]);j[b+12>>2]=e-f;j[c+12>>2]=e+f;break d}q=b,r=Lg(e,j[b+8>>2]),j[q+12>>2]=r}if(j[b+12>>2]>2]?d:0){break b}e=j[a+20>>2];e:{if(e>>>0<=d>>>0){break e}if(!h){if(j[c+12>>2]<=j[(p(d,20)+a|0)+40>>2]){break e}break b}if(j[b+12>>2]>j[(p(d,20)+a|0)+40>>2]){break b}}g=(h^1)+e|0;if(g>>>0>191){break b}l=e-d|0;if(l){n=a+28|0;while(1){e=e-1|0;f=p(e,20)+n|0;o=j[f+4>>2];m=p(g,20)+n|0;i=m;j[i>>2]=j[f>>2];j[i+4>>2]=o;j[i+16>>2]=j[f+16>>2];i=j[f+12>>2];j[m+8>>2]=j[f+8>>2];j[m+12>>2]=i;g=g-1|0;l=l-1|0;if(l){continue}break}}d=p(d,20)+a|0;j[d+44>>2]=j[b+16>>2];e=j[b+12>>2];j[d+36>>2]=j[b+8>>2];j[d+40>>2]=e;e=j[b+4>>2];j[d+28>>2]=j[b>>2];j[d+32>>2]=e;j[a+20>>2]=j[a+20>>2]+1;if(h){break b}j[d- -64>>2]=j[c+16>>2];b=j[c+12>>2];j[d+56>>2]=j[c+8>>2];j[d+60>>2]=b;b=j[c+4>>2];j[d+48>>2]=j[c>>2];j[d+52>>2]=b;j[a+20>>2]=j[a+20>>2]+1}}function uh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;g=oe-32|0;oe=g;a:{if(!(c?a:0)){b=ve(150044,0);break a}if(!(j[c+28>>2]?0:!j[a+28>>2])){b=ve(150081,0);break a}if(!d){j[g+16>>2]=0;j[g+20>>2]=0;j[g+24>>2]=j[c+8>>2];j[g+28>>2]=j[c+12>>2];d=g+16|0}b:{if(b){i=j[b+8>>2];k=j[b>>2];if((k|0)<=-1){j[d>>2]=j[d>>2]-k;i=i+k|0;k=0}f=j[a+8>>2]-k|0;h=(f|0)<(i|0);e=j[b+12>>2];l=j[b+4>>2];if((l|0)<=-1){j[d+4>>2]=j[d+4>>2]-l;e=e+l|0;l=0}b=h?f:i;f=j[a+12>>2]-l|0;i=(e|0)>(f|0)?f:e;break b}b=j[a+8>>2];i=j[a+12>>2]}e=j[c+36>>2];h=j[d>>2];f=e-h|0;c:{if((f|0)<1){f=e;e=h;break c}j[d>>2]=e;k=f+k|0;b=b-f|0;f=j[c+36>>2]}e=((b+e|0)-f|0)-j[c+44>>2]|0;n=(e|0)>0?e:0;e=j[c+40>>2];h=j[d+4>>2];f=e-h|0;d:{if((f|0)<1){f=e;e=h;break d}j[d+4>>2]=e;l=f+l|0;i=i-f|0;f=j[c+40>>2]}o=j[c+48>>2];h=j[a+52>>2];m=j[h+68>>2];if(m&512){j[h+68>>2]=m&-513;wf(h)}e:{b=b-n|0;if((b|0)<1){break e}e=((e+i|0)-f|0)-o|0;e=i-((e|0)>0?e:0)|0;if((e|0)<1){break e}j[g+4>>2]=l;j[g>>2]=k;j[d+8>>2]=b;j[g+8>>2]=b;j[d+12>>2]=e;j[g+12>>2]=e;b=j[a+52>>2];f:{g:{if(j[b>>2]!=(c|0)){break g}e=j[j[c+4>>2]+4>>2];if(j[b+80>>2]!=j[e+8>>2]?e:0){break g}e=j[j[a+4>>2]+4>>2];if(!e|j[b+84>>2]==j[e+8>>2]){break f}}b=-1;if((ck(a,c)|0)<0){break a}b=j[a+52>>2]}b=qe[j[b+8>>2]](a,g,c,d)|0;break a}j[d+8>>2]=0;j[d+12>>2]=0;b=0}oe=g+32|0;return b}function st(){var a=0,b=0,c=0,d=0;d=oe-16|0;oe=d;a:{b:{c:{if(!j[57797]){break c}a=j[57801];if(!a){break c}c=231172;b=qe[a|0](1222)|0;if(b){break b}}d:{if(!j[57817]){break d}a=j[57821];if(!a){break d}c=231252;b=qe[a|0](1222)|0;if(b){break b}}c=Fi(1222,114499);if(!c){j[d>>2]=1222;ve(114502,d);a=0;break a}b=0;a=Ml(1222,46);e:{if(!a){break e}a=a+1|0;if(!Me(a,114521)){b=2;break e}b=4;if(!Me(a,114525)){break e}if(!Me(a,114457)){break e}if(!Me(a,114529)){break e}if(!Me(a,114533)){b=5;break e}if(!Me(a,114537)){b=8;break e}b=6;if(!Me(a,114542)){break e}if(!Me(a,114546)){break e}if(!Me(a,114462)){break e}if(!Me(a,114551)){break e}f:{if(!Me(a,114555)){break f}if(!Me(a,114559)){break f}if(!Me(a,114563)){break f}if(!Me(a,114567)){break f}if(!Me(a,114571)){break f}if(!Me(a,114575)){break f}if(!Me(a,114579)){break f}if(!Me(a,114582)){break f}if(!Me(a,114586)){break f}if(!Me(a,114453)){break f}if(!Me(a,114590)){break f}if(!Me(a,114594)){break f}if(!Me(a,114598)){break f}if(!Me(a,114602)){break f}if(!Me(a,114606)){break f}if(!Me(a,114610)){break f}if(!Me(a,114614)){break f}if(!Me(a,114618)){break f}if(!Me(a,114622)){break f}if(!Me(a,114626)){break f}b=0;if(Me(a,114630)){break e}}b=3}a=rt(c,b);break a}a=Xe(1,24);if(!a){a=0;ve(114485,0);break a}j[a+4>>2]=b;j[a>>2]=c}oe=d+16|0;return a}function Zn(a,b,c){var d=0,e=0,f=0,g=0,i=0,n=0,o=0,q=0,r=0,s=0;a:{g=j[(c?8:4)+b>>2];d=p(c,1572)+a|0;e=d+1608|0;i=j[(c?16:12)+b>>2];if((i|0)==j[d+1612>>2]?(g|0)==j[e>>2]:0){break a}j[e>>2]=g;j[d+1612>>2]=i;e=j[a+1832>>2];b:{if(!e){break b}d=0;while(1){if(!(k[(p(d,28)+a|0)+1860|0]&8)){d=d+1|0;if(e>>>0>d>>>0){continue}break b}break}b=ye(j[(p(d,28)+a|0)+1848>>2],j[b+8>>2]);if((c|0)!=1){break b}d=j[j[a+36>>2]+12>>2];e=l[j[j[a+4>>2]+88>>2]+12>>1];d=b+(d?e>>>0>5?d>>>0>=e>>>0?52:40:40:40)&-64;if((d|0)==(b|0)){break b}g=Ne(g,d,b)}b=p(c,1572)+a|0;j[b+48>>2]=i;j[b+44>>2]=g;c:{if(!c){j[a+8>>2]=g;b=a+16|0;break c}j[a+12>>2]=g;b=a+20|0}j[b>>2]=i;b=p(c,1572)+a|0;n=b;if(j[b+52>>2]){d=0;while(1){e=b+p(d,12)|0;f=ye(j[e+56>>2],g);j[e- -64>>2]=f;j[e+60>>2]=f;d=d+1|0;if(d>>>0>2]){continue}break}}r=b,s=(ye(j[b+252>>2],g)|0)<40,h[r+256|0]=s;if(!j[a+1832>>2]|(c|0)!=1){break a}c=0;while(1){b=p(c,28)+a|0;e=b+1844|0;d=b+1836|0;f=ye(j[d>>2],g)+i|0;j[e>>2]=f;n=b+1840|0;j[n>>2]=f;f=b+1856|0;o=b+1848|0;q=ye(j[o>>2],g)+i|0;j[f>>2]=q;j[b+1852>>2]=q;b=b+1860|0;j[b>>2]=j[b>>2]&-2;d=ye(j[d>>2]-j[o>>2]|0,g);if(d+48>>>0<=96){o=e;e=j[n>>2]+32&-64;j[o>>2]=e;n=f;f=d>>31;f=f+d^f;f=(f|0)<32?0:(f|0)<48?32:64;j[n>>2]=e+((d|0)<0?f:0-f|0);j[b>>2]=j[b>>2]|1}c=c+1|0;if(c>>>0>2]){continue}break}}}function Zj(){var a=0,b=0,c=0,d=0,e=0,f=0;if(j[67085]){RN();XN();pj(16384);a=j[67085];a:{if(!j[a+296>>2]){break a}j[a+296>>2]=0;b=j[a+236>>2];if(!b){break a}qe[b|0](a);a=j[67085]}b=j[a+308>>2];if(b){while(1){dm(b);a=j[67085];b=j[a+308>>2];if(b){continue}break}}qe[j[a+8>>2]](a);b=j[67085];a=j[b+300>>2];if((a|0)>=1){while(1){c=j[b+304>>2]+p(d,72)|0;e=c;b=j[c+8>>2];b:{if(!b){a=j[e+12>>2];break b}a=j[e+12>>2];while(1){b=b-1|0;f=p(b,20);a=j[(f+a|0)+16>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[e+12>>2];j[(f+a|0)+16>>2]=0;if(b){continue}break}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[c+12>>2]=0;a=j[c+32>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[c+32>>2]=0;a=j[c+68>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[c+68>>2]=0;b=j[67085];a=j[b+300>>2];d=d+1|0;if((a|0)>(d|0)){continue}break}}c=j[b+304>>2];if(c){d=1;c:{if((a|0)<1){break c}a=j[c>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}b=j[67085];if(j[b+300>>2]<2){break c}while(1){a=j[j[b+304>>2]+p(d,72)>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}d=d+1|0;b=j[67085];if((d|0)>2]){continue}break}}a=j[b+304>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}b=j[67085];j[b+300>>2]=0;j[b+304>>2]=0}a=j[b+324>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[67085];j[a+324>>2]=0;qe[j[a+1e3>>2]](a);j[67085]=0}}function zo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{g=k[a|0];if((g|0)!=117){break c}d:{c=k[a+1|0];if((c|0)!=110|k[a+2|0]!=105){break d}b=k[a+3|0];d=b-48|0;e=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(e>>>0>15){break d}b=k[a+4|0];d=b-48|0;f=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(f>>>0>15){break d}b=k[a+5|0];d=b-48|0;h=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(h>>>0>15){break d}b=k[a+6|0];d=b-48|0;b=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(b>>>0>15){break d}b=b+((f+(e<<4)<<4)+h<<4)|0;d=k[a+7|0];if(!d){break a}if((d|0)!=46){break d}return b|-2147483648}b=c-65>>>0>5?16:c-55|0;c=c-48|0;d=c>>>0>9?b:c;if(d>>>0>15){break c}c=k[a+2|0];b=c-48|0;e=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(e>>>0>15){break c}c=k[a+3|0];b=c-48|0;f=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(f>>>0>15){break c}c=k[a+4|0];b=c-48|0;c=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(c>>>0>15){break c}b=c+(f+(e+(d<<4)<<4)<<4)|0;d=k[a+5|0];e=d-48|0;d=e>>>0>9?d-65>>>0>5?16:d-55|0:e;c=a+5|0;e:{if(d>>>0>15){break e}b=d+(b<<4)|0;d=k[a+6|0];e=d-48|0;d=e>>>0>9?d-65>>>0>5?16:d-55|0:e;c=a+6|0;if(d>>>0>15){break e}b=d+(b<<4)|0;c=a+7|0}d=k[c|0];if(!d){break a}c=a;if((d|0)!=46){break b}return b|-2147483648}c=a}while(1){f:{g:{if((g|0)!=46){if(g){break g}return yo(a,c)|0}if(a>>>0>>0){break f}}g=k[c+1|0];c=c+1|0;continue}break}b=yo(a,c)|-2147483648}return b|0}function zy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0;i=-1;g=j[a+16>>2];a=k[g+6|0]|k[g+7|0]<<8|(k[g+8|0]<<16|k[g+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!a){break a}l=g+13|0;while(1){b:{e=a+f>>>1|0;d=l+p(e,11)|0;h=d-3|0;h=k[h+1|0]<<8|k[h|0]<<16|k[h+2|0];c:{if(h>>>0>c>>>0){a=e;break c}if(c>>>0<=h>>>0){break b}f=e+1|0}if(a>>>0>f>>>0){continue}break a}break}e=k[d+4|0]|k[d+5|0]<<8|(k[d+6|0]<<16|k[d+7|0]<<24);d:{a=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break d}c=a+g|0;a=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=c+7|0;f=0;while(1){if(a>>>0<=f>>>0){break d}c=a;a=a+f>>>1|0;l=h+(a<<2)|0;d=l-3|0;d=k[d+1|0]<<8|k[d|0]<<16|k[d+2|0];if(d>>>0>b>>>0){continue}i=1;f=a+1|0;a=c;if(d+k[l|0]>>>0>>0){continue}break}break a}a=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+g|0;a=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}g=c+7|0;f=0;while(1){f:{c=a+f>>>1|0;e=g+p(c,5)|0;d=e-3|0;d=k[d+1|0]<<8|k[d|0]<<16|k[d+2|0];g:{if(d>>>0>b>>>0){a=c;break g}if(b>>>0<=d>>>0){break f}f=c+1|0}if(a>>>0>f>>>0){continue}break e}break}i=0;if(k[e+1|0]|k[e|0]<<8){break a}}i=-1}return i|0}function Ay(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,l=0;a:{i=j[a+16>>2];a=k[i+6|0]|k[i+7|0]<<8|(k[i+8|0]<<16|k[i+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b:{if(!a){break b}l=i+13|0;while(1){c:{f=a+g>>>1|0;e=l+p(f,11)|0;h=e-3|0;h=k[h+1|0]<<8|k[h|0]<<16|k[h+2|0];d:{if(h>>>0>d>>>0){a=f;break d}if(d>>>0<=h>>>0){break c}g=f+1|0}if(a>>>0>g>>>0){continue}break b}break}f=k[e+4|0]|k[e+5|0]<<8|(k[e+6|0]<<16|k[e+7|0]<<24);e:{a=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}d=a+i|0;a=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=d+7|0;g=0;while(1){if(a>>>0<=g>>>0){break e}d=a;a=a+g>>>1|0;l=h+(a<<2)|0;e=l-3|0;e=k[e+1|0]<<8|k[e|0]<<16|k[e+2|0];if(e>>>0>c>>>0){continue}g=a+1|0;a=d;if(e+k[l|0]>>>0>>0){continue}break}return qe[j[j[b+12>>2]+12>>2]](b,c)|0}a=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);if(!a){break b}b=a+i|0;a=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break b}e=b+7|0;g=0;while(1){b=a+g>>>1|0;d=e+p(b,5)|0;f=d-3|0;f=k[f+1|0]<<8|k[f|0]<<16|k[f+2|0];f:{if(f>>>0>c>>>0){a=b;break f}if(c>>>0<=f>>>0){break a}g=b+1|0}if(a>>>0>g>>>0){continue}break}}return 0}return k[d+1|0]|k[d|0]<<8}function lF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=oe-272|0;oe=h;f=bf(1,1312);j[f+1296>>2]=b;j[f+1288>>2]=j[b+840>>2];i=b+836|0;a=j[b>>2];a:{b:{c:{if((a|0)<=0){a=2;j[f+1284>>2]=2;break c}d=b+4|0;e=b+128|0;while(1){k=j[e+(j[d+(c<<2)>>2]<<2)>>2]+k|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}a=k+2|0;j[f+1284>>2]=a;if((k|0)<=-2){eg(h,a,4,1028);break a}d=1;if((a|0)<2){break b}}d=a}c=0;while(1){e=c<<2;j[e+h>>2]=e+i;c=c+1|0;if((d|0)!=(c|0)){continue}break}eg(h,a,4,1028);d=(a|0)>1?a:1;e=f+260|0;c=0;while(1){g=c<<2;j[g+e>>2]=j[g+h>>2]-i>>2;c=c+1|0;if((d|0)!=(c|0)){continue}break}d=(a|0)>1?a:1;e=f+260|0;g=f+520|0;c=0;while(1){j[g+(j[e+(c<<2)>>2]<<2)>>2]=c;c=c+1|0;if((d|0)!=(c|0)){continue}break}a=(a|0)>1?a:1;d=f+260|0;c=0;while(1){e=c<<2;j[e+f>>2]=j[(j[d+e>>2]<<2)+i>>2];c=c+1|0;if((a|0)!=(c|0)){continue}break}}a=j[b+832>>2]-1|0;if(a>>>0<=3){j[f+1292>>2]=j[(a<<2)+165344>>2]}if((k|0)>=1){q=f+780|0;r=f+1032|0;e=0;g=2;while(1){m=e<<2;p=j[(m+i|0)+8>>2];n=j[f+1288>>2];b=1;c=0;o=0;a=0;while(1){d=j[(c<<2)+i>>2];l=(d|0)<(n|0)&(d|0)>(p|0);n=l?d:n;b=l?c:b;l=d;d=(d|0)<(p|0)&(d|0)>(o|0);o=d?l:o;a=d?c:a;c=c+1|0;if((g|0)!=(c|0)){continue}break}j[m+r>>2]=a;j[m+q>>2]=b;g=g+1|0;e=e+1|0;if((e|0)!=(k|0)){continue}break}}oe=h+272|0;return f|0}function rM(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var i=0,l=0,m=0,n=0,o=0,q=0,r=0;if((c|0)==(e|0)){a=j[a+20>>2]+p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)|0;a:{if((b|0)<=(d|0)){m=(g|0)!=0;c=a+b|0;a=d-b|0;break a}a=a+d|0;c=g?a:a+1|0;m=(g|0)!=0;a=b-d|0}Oe(c,f,a+m|0);return}b:{if((b|0)==(d|0)){d=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];c:{if((c|0)<=(e|0)){e=e-c|0;b=(a+p(c,d)|0)+b|0;a=(g|0)!=0;break c}a=(a+p(d,e)|0)+b|0;b=g?a:a+d|0;e=c-e|0;a=(g|0)!=0}c=a+e|0;if(!c){break b}while(1){h[b|0]=f;b=b+d|0;c=c-1|0;if(c){continue}break}break b}n=b-d|0;l=n>>31;m=c-e|0;i=m>>31;if((l^l+n)==(i^i+m)){l=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;i=j[a+20>>2];d:{if((c|0)<=(e|0)){m=e-c|0;a=l+((b|0)>(d|0)?-1:1)|0;b=(i+p(c,l)|0)+b|0;break d}c=(i+p(e,l)|0)+d|0;a=l+((b|0)<(d|0)?-1:1)|0;b=g?c:c+a|0}c=((g|0)!=0)+m|0;if(!c){break b}while(1){h[b|0]=f;b=a+b|0;c=c-1|0;if(c){continue}break}break b}m=d-b|0;l=m>>31;n=e-c|0;i=n>>31;l=l^l+m;i=i^i+n;e:{if((l|0)>=(i|0)){n=i-l|0;o=i<<1;m=o-l|0;i=1;break e}n=l-i|0;q=1;o=l<<1;m=o-i|0;l=i;i=0}g=((g|0)!=0)+l|0;if(!g){break b}e=(c|0)>(e|0);l=e?0-q|0:q;d=(b|0)>(d|0);i=d?0-i|0:i;q=e?-1:1;r=d?-1:1;n=n<<1;d=0;while(1){h[(j[a+20>>2]+p(j[a+16>>2],c)|0)+b|0]=f;e=(m|0)<0;m=(e?o:n)+m|0;b=(e?i:r)+b|0;c=(e?l:q)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}}function tt(){var a=0,b=0,c=0,d=0;a=j[65561];j[65542]=j[65560];j[65543]=a;a=j[65565];j[65546]=j[65564];j[65547]=a;a=j[65563];j[65544]=j[65562];j[65545]=a;a:{if(!j[57796]){break a}a=j[57799];if(a){if(qe[a|0](262240)|0){break a}}j[57797]=1;b=j[57793];a=mf(j[65540],(j[65539]<<2)+4|0);if(!a){break a}j[65540]=a;c=j[65539];j[65539]=c+1;j[a+(c<<2)>>2]=b}b:{if(!j[57816]){break b}a=j[57819];if(a){if(qe[a|0](262240)|0){break b}}j[57817]=1;b=j[57813];a=mf(j[65540],(j[65539]<<2)+4|0);if(!a){break b}j[65540]=a;c=j[65539];j[65539]=c+1;j[a+(c<<2)>>2]=b}c:{if(!j[57817]|j[57815]!=3?!(j[57797]?j[57795]==3:0):0){break c}a=mf(j[65540],(j[65539]<<2)+4|0);if(!a){break c}j[65540]=a;b=j[65539];j[65539]=b+1;j[a+(b<<2)>>2]=114453}d:{if(!j[57817]|j[57815]!=4?!(j[57797]?j[57795]==4:0):0){break d}a=mf(j[65540],(j[65539]<<2)+4|0);if(!a){break d}j[65540]=a;b=j[65539];j[65539]=b+1;j[a+(b<<2)>>2]=114457}e:{if(!j[57817]|j[57815]!=6?!(j[57797]?j[57795]==6:0):0){break e}a=mf(j[65540],(j[65539]<<2)+4|0);if(!a){break e}j[65540]=a;b=j[65539];j[65539]=b+1;j[a+(b<<2)>>2]=114462}j[57792]=128;Wg();if(!(!j[65548]|!j[j[j[65548]>>2]+36>>2])){qe[j[j[j[65548]>>2]+36>>2]](j[j[65548]+4>>2],j[57792])}Gg();d=+l[131124]*1e3/+j[65560];f:{if(r(d)<2147483648){a=~~d;break f}a=-2147483648}j[65550]=a;return 0}function xB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;a:{if(!(b?a:0)){j[e+8>>2]=40;break a}f=j[b+28>>2];c=_o(b);j[e+8>>2]=c;if(c){break a}c=a;j[c+24>>2]=0;j[c+28>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c+28>>2]=f;c=Ti(f,8276,e+8|0);if(!j[e+8>>2]){j[c>>2]=b;j[c+4>>2]=a;d=j[a+28>>2];g=c+8264|0;j[c+8272>>2]=g;j[c+8>>2]=d;j[c+8268>>2]=g;j[c+8264>>2]=0;b:{d=_o(b);c:{if(d){break c}d=j[b+8>>2];j[c+48>>2]=132;j[c+44>>2]=133;j[c+68>>2]=d;d=j[b+28>>2];j[c+16>>2]=0;j[c+52>>2]=d;j[c+12>>2]=c+4168;d=3;if(Wo(c+12|0,-15)){break c}if(j[c+12>>2]){break b}}j[e+8>>2]=d;if(c){qe[j[f+8>>2]](f,c)}break a}j[e+8>>2]=0;j[a+12>>2]=c}d=j[b+8>>2];d:{e:{if(Fe(b,j[b+4>>2]-4|0)){break e}g=rf(b,e+12|0);h=j[e+12>>2];Fe(b,d);b=h?0:g;if(b-1>>>0>40958){break e}d=He(f,b,e+8|0);if(!j[e+8>>2]){if((ol(c,0,d,b)|0)==(b|0)){break d}ol(c,0,0,0);if(d){qe[j[f+8>>2]](f,d)}}j[e+8>>2]=0}j[a+8>>2]=0;j[a>>2]=0;j[a+4>>2]=2147483647;j[a+24>>2]=134;j[a+20>>2]=135;break a}Dj(c+12|0);j[c+52>>2]=0;j[c+44>>2]=0;j[c+48>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c+16>>2]=0;if(c){qe[j[f+8>>2]](f,c)}j[a+4>>2]=b;j[a+8>>2]=0;j[a+12>>2]=0;j[a+24>>2]=134;j[a+20>>2]=0;j[a>>2]=d}oe=e+16|0;return j[e+8>>2]}function qs(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=q(0),o=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;m=q(c|0);o=+q(m/q(b|0));l=0;a:{if((b|0)==(c|0)){break a}l=512;if((b|0)<=(c|0)){break a}k=w(+q(q(b<<9)/m));if(r(k)<2147483648){l=~~k;break a}l=-2147483648}G=l;u=a<<2;c=(i|0)/(u|0)|0;v=(g|0)/(u|0)|0;k=o*+(v|0);b:{if(r(k)<2147483648){g=~~k;break b}g=-2147483648}x=(c|0)>(g|0)?g:c;if((x|0)>=1){H=1/+m;y=+(b|0);C=j[66092];D=j[66091];while(1){k=z*y;c:{if(r(k)<2147483648){s=~~k;break c}s=-2147483648}E=s+1|0;k=+(E|0)/y;A=1-(k-z)/(k- +(s|0)/y);k=A*512;d:{if(r(k)<2147483648){t=~~k;break d}t=-2147483648}o=1-A;k=o*512;e:{if(r(k)<2147483648){i=~~k;break e}i=-2147483648}if((a|0)>=1){I=2560-i>>>9|0;J=2560-t>>>9|0;g=0;while(1){m=q(0);b=0;c=t;if((c|0)<2561){while(1){c=c<<2;k=A*+n[c+C>>2]+ +n[c+D>>2];c=s-b|0;m=q(m+q(k*+n[((c|0)<0?d:f)+(p(c+(c>>31&G)|0,a)+g<<2)>>2]));l=b+1|0;c=t+(l<<9)|0;B=(b|0)==(J|0);b=l;if(!B){continue}break}}b=0;c=i;if((c|0)<2561){while(1){c=c<<2;k=o*+n[c+C>>2]+ +n[c+D>>2];l=b+E|0;c=(l|0)<(v|0);m=q(m+q(k*+n[(c?f:e)+(p(l-(c?0:v)|0,a)+g<<2)>>2]));l=b+1|0;c=(l<<9)+i|0;B=(b|0)!=(I|0);b=l;if(B){continue}break}}n[h>>2]=m;h=h+4|0;g=g+1|0;if((g|0)!=(a|0)){continue}break}}z=H+z;F=F+1|0;if((F|0)!=(x|0)){continue}break}}return p(u,x)}function $e(a,b,c){var d=0,e=0,f=0,g=0,n=0;if(!b){return 6}if(!a){return 40}d=j[a+32>>2];a:{while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{g=k[b|0];switch(g-4|0){case 14:case 15:break g;case 12:case 13:break h;case 10:case 11:break i;case 8:case 9:break j;case 20:case 21:break k;case 0:break l;case 4:case 5:break d;case 18:case 19:break e;case 16:case 17:break f;default:break b}}d=_e(a,l[b+2>>1]);if(d){break a}d=j[a+32>>2];n=1;b=b+4|0;continue}f=k[b+1|0];e=f+d|0;if(e>>>0>m[a+36>>2]){d=85;break a}if((g|0)!=24){d=e;b=b+4|0;continue}Ae(l[b+2>>1]+c|0,d,f);d=e;b=b+4|0;continue}e=k[d+1|0]|k[d|0]<<8;f=16;d=d+2|0;break c}e=k[d|0]|k[d+1|0]<<8;f=16;d=d+2|0;break c}e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);f=0;d=d+4|0;break c}e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);f=0;d=d+4|0;break c}f=8;e=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);d=d+3|0;break c}f=8;e=k[d|0]|(k[d+1|0]<<8|k[d+2|0]<<16);d=d+3|0;break c}e=k[d|0];f=24;d=d+1|0}e=g&1?e<>f:e;f=l[b+2>>1]+c|0;m:{n:{switch(k[b+1|0]-1|0){case 0:h[f|0]=e;break m;case 1:i[f>>1]=e;break m;default:break n}}j[f>>2]=e}b=b+4|0;continue}break}j[a+32>>2]=d;d=0}if(n){if(j[a+20>>2]){b=j[a+28>>2];c=j[a>>2];if(c){qe[j[b+8>>2]](b,c)}j[a>>2]=0}j[a+32>>2]=0;j[a+36>>2]=0}return d}function pH(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=oe-1136|0;oe=c;a:{b:{c:{d:{if(!j[a+992>>2]){break d}d=j[a+396>>2];e=j[a+392>>2];f=j[a+404>>2];if(j[a+408>>2]){g=$g()}else{g=0}e:{if(!(j[a+400>>2]|f&-5|(!d&(f|0)==4?0:(e|0)>=3))){d=0;if((f|0)!=4){break e}j[c+1072>>2]=12440;j[c+1076>>2]=(e|0)>1?e:1;d=2;break e}if(!Uj(a,152767)){break c}j[c+1084>>2]=d;j[c+1080>>2]=12539;j[c+1076>>2]=e;j[c+1072>>2]=12440;if(f&-5){j[c+1092>>2]=f;j[c+1088>>2]=12541;d=6}else{d=4}e=j[a+400>>2];if(!e){break e}j[(c+1072|0)+(d<<2)>>2]=12540;d=d|1;j[(c+1072|0)+(d<<2)>>2]=e;d=d+1|0}i=c+1072|0;if(j[a+424>>2]){if(!Uj(a,152892)){break b}e=(c+1072|0)+(d<<2)|0;j[e>>2]=12723;j[e+4>>2]=j[a+424>>2];d=d+2|0}j[(d<<2)+i>>2]=12344;qe[j[j[a+992>>2]+112>>2]]((f|0)==4?12448:12450)|0;d=j[a+992>>2];h=qe[j[d+64>>2]](j[d+8>>2],j[d+12>>2],g,c+1072|0)|0;d=j[a+992>>2];if(!h){a=153556;b=c;g=qe[j[d+116>>2]]()|0;d=g-12288|0;if(d>>>0<=14){a=j[(d<<2)+153560>>2]}if(!k[a|0]){j[c+16>>2]=g;Ue(c+48|0,32,152611,c+16|0);a=c+48|0}j[b+8>>2]=a;j[c+4>>2]=152681;j[c>>2]=152978;ve(152616,c);break d}j[d+16>>2]=0;if((_l(a,b,h)|0)>-1){break a}Re(c+48|0,Fg(),1024);a=j[a+992>>2];if(a){qe[j[a+68>>2]](j[a+8>>2],h)|0}j[c+32>>2]=c+48;ve(153007,c+32|0)}h=0;break a}ve(152824,0);break a}ve(152924,0)}oe=c+1136|0;return h}function OI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;i=j[a+20>>2];l=i;m=j[a>>2];h=m;while(1){z=a;o=j[a+24>>2];if(o){while(1){f=j[l>>2];c=j[h>>2];b=c&255;d=c>>>8&255;e=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;e=(p(e,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}c=c>>>24|0;n=v?(p(c,q)>>>0)/255|0:c;c=f>>>8|0;g=f>>>16|0;if(!(!u|n>>>0>254)){e=(p(e,n)>>>0)/255|0;d=(p(d,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}o=o-1|0;f=f&255;c=c&255;g=g&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(e,f)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;g=(p(b,g)>>>0)/255|0;break a;case 0:A=e;e=255-n|0;f=A+((p(e,f)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+d|0;g=((p(e,g)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}e=e+f|0;f=e>>>0<255?e:255;d=c+d|0;c=d>>>0<255?d:255;b=b+g|0;g=b>>>0<255?b:255}j[l>>2]=c<<8|g<<16|f;l=l+4|0;h=h+4|0;if(o){continue}break}h=j[a+28>>2]}else{h=d}b=h;d=b-1|0;j[z+28>>2]=d;i=j[a+32>>2]+i|0;l=i;m=j[a+12>>2]+m|0;h=m;if(b){continue}break}j[a+20>>2]=i;j[a>>2]=m}}function KI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;i=j[a+20>>2];l=i;m=j[a>>2];h=m;while(1){z=a;o=j[a+24>>2];if(o){while(1){f=j[l>>2];c=j[h>>2];b=c&255;d=c>>>8&255;e=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;e=(p(e,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}c=c>>>24|0;n=v?(p(c,q)>>>0)/255|0:c;c=f>>>8|0;g=f>>>16|0;if(!(!u|n>>>0>254)){e=(p(e,n)>>>0)/255|0;d=(p(d,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}o=o-1|0;f=f&255;c=c&255;g=g&255;a:{b:{switch(x|0){default:if(!y){break a}g=(p(e,g)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:A=e;e=255-n|0;g=A+((p(e,g)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+d|0;f=((p(e,f)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}e=e+g|0;g=e>>>0<255?e:255;d=c+d|0;c=d>>>0<255?d:255;b=b+f|0;f=b>>>0<255?b:255}j[l>>2]=c<<8|f|g<<16;l=l+4|0;h=h+4|0;if(o){continue}break}h=j[a+28>>2]}else{h=d}b=h;d=b-1|0;j[z+28>>2]=d;i=j[a+32>>2]+i|0;l=i;m=j[a+12>>2]+m|0;h=m;if(b){continue}break}j[a+20>>2]=i;j[a>>2]=m}}function dm(a){var b=0,c=0;b=j[67085];if(!b){ve(151717,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(150417,0);return}j[a+120>>2]=1;Qq(a);if(j[66371]==(a|0)){js(0)}if(j[67024]==(a|0)){pk(0)}if(!(!(k[a+48|0]&2)|j[j[67085]+696>>2]!=(a|0))){zg(a,0)}b=j[a+108>>2];if(b){j[b>>2]=j[b>>2]&-5;lf(b)}b=j[67085];c=j[b+144>>2];if(c){qe[c|0](b,a);b=j[67085]}c=j[b+132>>2];if(c){qe[c|0](b,a)}a:{if(!(k[a+48|0]&2)){break a}b=j[67085];if(!b){ve(151717,0);break a}c=j[b+432>>2];if((c|0)<1){break a}j[b+432>>2]=c-1;if((c|0)!=1){break a}c=j[b+176>>2];if(!c){break a}qe[c|0](b)}b:{if(!(k[a+51|0]&16)){break b}b=j[67085];if(!b){ve(151717,0);break b}c=j[b+720>>2];if((c|0)<1){break b}j[b+720>>2]=c-1;if((c|0)!=1){break b}c=j[b+216>>2];if(!c){break b}qe[c|0](b)}b=0;c=Oh(a);if((c|0)>=0){b=j[j[67085]+304>>2]+p(c,72)|0}if(j[b+60>>2]==(a|0)){j[b+60>>2]=0}j[a>>2]=0;b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}lf(j[a+12>>2]);b=j[a+100>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}while(1){b=j[a+140>>2];if(b){j[a+140>>2]=j[b+8>>2];c=j[b>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}continue}break}b=j[a+152>>2];if(b){j[b+148>>2]=j[a+148>>2]}c=j[a+148>>2];j[(c?c+152|0:j[67085]+308|0)>>2]=b;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function Xy(a,b){var c=0,d=0,e=0,f=0,g=0,i=0;c=oe-208|0;oe=c;d=6;a:{if(!a){break a}f=j[a>>2];if(!f){break a}g=j[f+4>>2];if(!g){break a}i=j[f>>2];if(!i){break a}if((g|0)==2076){d=0;break a}if(!j[g+28>>2]){break a}Ee(c+48|4,0,152);j[c+40>>2]=0;j[c+44>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c+204>>2]=c+8;j[c+48>>2]=i;j[c+120>>2]=j[g+4>>2];e=He(j[i>>2],52,c);d=j[c>>2];if(d){break a}j[e+8>>2]=1651078259;j[e+4>>2]=2076;j[e>>2]=i;d=qe[j[g+28>>2]](f,c+48|0)|0;if(!d){d=hJ(j[f>>2],c+48|0,b)}b:{if(d){break b}d=18;if(j[c+120>>2]!=1651078259){break b}d=j[e>>2];j[e+20>>2]=j[c+148>>2];j[e+24>>2]=j[c+152>>2];b=e+28|0;c:{if(h[j[c+204>>2]+4|0]&1){d=j[c+128>>2];j[b>>2]=j[c+124>>2];j[b+4>>2]=d;d=j[c+144>>2];j[b+16>>2]=j[c+140>>2];j[b+20>>2]=d;d=j[c+136>>2];j[b+8>>2]=j[c+132>>2];j[b+12>>2]=d;b=j[c+204>>2];j[b+4>>2]=j[b+4>>2]&-2;break c}if(b){j[b>>2]=0;j[b+4>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0}d=ll(d,c+124|0,b);if(d){break b}}b=j[f+16>>2];j[e+12>>2]=j[f+12>>2];j[e+16>>2]=b;b=j[j[f>>2]>>2];d=j[j[f+4>>2]+12>>2];if(d){qe[d|0](f)}if(f){qe[j[b+8>>2]](b,f)}j[a>>2]=e;d=0;break a}a=j[j[e>>2]>>2];b=j[j[e+4>>2]+12>>2];if(b){qe[b|0](e)}if(e){qe[j[a+8>>2]](a,e)}}oe=c+208|0;return d}function $M(a,b){var c=0,d=0,e=0,f=0,g=0;e=oe;f=e;if(!(j[a>>2]==268305?a:0)){ve(125709,0);oe=f;return}a:{if(!b){ve(126147,0);break a}b:{if(j[a+192>>2]){break b}if(!(n[a+292>>2]==q(1)?n[a+288>>2]==q(1):0)){_M(a,b);break a}e=e-48|0;oe=e;while(1){d=c<<3;g=d+e|0;d=b+d|0;n[g>>2]=n[d>>2]*n[a+288>>2];n[g+4>>2]=n[d+4>>2]*n[a+292>>2];c=c+1|0;if((c|0)!=5){continue}break}c=-1;c:{if(kk(a,k[a+324|0],k[a+325|0],k[a+326|0],k[a+327|0])){break c}d:{b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break d}b=Xe(1,28);if(b){break d}Be(0);break c}d=j[a+344>>2];j[(d?d+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){break c}j[b>>2]=6;j[b+4>>2]=0;j[b+8>>2]=0;h[b+12|0]=k[a+324|0];h[b+13|0]=k[a+325|0];h[b+14|0]=k[a+326|0];h[b+15|0]=k[a+327|0];c=j[a+328>>2];j[b+20>>2]=0;j[b+16>>2]=c;c=qe[j[a+32>>2]](a,b,e,5)|0;if((c|0)>-1){break c}j[b>>2]=0}if((c|0)<0){break b}if(j[a+336>>2]){oe=f;return}c=j[a+340>>2];if(!c){break b}b=a+420|0;qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[b+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}oe=f;return}oe=f}function xI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c>>>24|0;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,t)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c&255;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){g=(p(g,m)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}e=(p(b,e)>>>0)/255|0;c=(p(c,g)>>>0)/255|0;f=(p(d,f)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;e=A+((p(b,e)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+g|0;f=((p(b,f)>>>0)/255|0)+d|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+e|0;e=b>>>0<255?b:255;b=c+g|0;c=b>>>0<255?b:255;b=d+f|0;f=b>>>0<255?b:255}j[i>>2]=c<<8|f<<16|e;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function vJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c&255;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c>>>24|0;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){d=(p(d,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}e=(p(b,e)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;f=(p(f,g)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;e=A+((p(b,e)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+d|0;f=((p(b,f)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+e|0;e=b>>>0<255?b:255;b=c+d|0;c=b>>>0<255?b:255;b=f+g|0;f=b>>>0<255?b:255}j[i>>2]=c<<8|f<<16|e;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function rI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c>>>24|0;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,t)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c&255;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){g=(p(g,m)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(b,f)>>>0)/255|0;c=(p(c,g)>>>0)/255|0;e=(p(e,d)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;f=A+((p(b,f)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+g|0;e=((p(b,e)>>>0)/255|0)+d|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+f|0;f=b>>>0<255?b:255;b=c+g|0;c=b>>>0<255?b:255;b=e+d|0;e=b>>>0<255?b:255}j[i>>2]=c<<8|e|f<<16;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function qJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c&255;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c>>>24|0;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){d=(p(d,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(b,f)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;f=A+((p(b,f)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+d|0;e=((p(b,e)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+f|0;f=b>>>0<255?b:255;b=c+d|0;c=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[i>>2]=c<<8|e|f<<16;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function ql(a,b,c,d,e){var f=0,g=0,i=0,l=0,m=0,n=0,o=0;i=oe-32|0;oe=i;g=j[b+392>>2];l=b+8|0;m=g-l|0;o=m&8;if(!(k[e|0]|!o)){a:{if(!m){n=j[b+4>>2];if(!n|j[n>>2]){break a}j[n>>2]=130;break a}b:{switch(j[b+12>>2]-1|0){case 1:f=j[l>>2]<<16;break a;case 0:f=j[l>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break a}f=f- -8192>>14;break a;default:break b}}f=j[l>>2]}j[d>>2]=(j[j[j[a+132>>2]+736>>2]+532>>2]<<16)+f}if(!k[j[a+132>>2]+561|0]){c:{a=(o|0)!=0;m=m>>3;if(a>>>0>=m>>>0){break c}f=0;while(1){n=g-l>>3;d:{if(n>>>0<=a>>>0){d=0;g=j[b+4>>2];if(!g|j[g>>2]){break d}j[g>>2]=130;break d}e:{f:{g:{d=(a<<3)+b|0;switch(j[d+12>>2]-1|0){case 0:break f;case 1:break g;default:break e}}d=j[d+8>>2]<<16;break d}d=j[d+8>>2];if((d|0)<=-1){d=0-(8192-d>>14)|0;break d}d=d- -8192>>14;break d}d=j[d+8>>2]}f=d+f|0;j[i+12>>2]=f;d=a+1|0;h:{if(d>>>0>=n>>>0){g=0;d=j[b+4>>2];if(!d|j[d>>2]){break h}j[d>>2]=130;break h}i:{j:{k:{d=(d<<3)+b|0;switch(j[d+12>>2]-1|0){case 0:break j;case 1:break k;default:break i}}g=j[d+8>>2]<<16;break h}d=j[d+8>>2];if((d|0)<=-1){g=0-(8192-d>>14)|0;break h}g=d- -8192>>14;break h}g=j[d+8>>2]}j[i+20>>2]=0;j[i+24>>2]=0;h[i+8|0]=0;f=f+g|0;j[i+16>>2]=f;cp(c,i+8|0);a=a+2|0;if(m>>>0<=a>>>0){break c}g=j[b+392>>2];continue}}j[b+392>>2]=l}h[e|0]=1;oe=i+32|0} -function qI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0;g=oe-16|0;oe=g;b=j[a+664>>2];if(!b){b=l[a+340>>1];a:{if(!b){b=0;break a}f=b>>>0>1?b:1;m=j[a+356>>2];b=0;d=-1;e=-1;while(1){c=m+p(b,20)|0;b:{if(l[c+6>>1]!=6|!l[c+8>>1]){break b}c:{switch(l[c>>1]-1|0){case 2:if(l[c+2>>1]!=1){break b}d=l[c+4>>1]==1033?b:d;break b;case 0:break c;default:break b}}if(l[c+2>>1]){break b}e=l[c+4>>1]?e:b}b=b+1|0;if((f|0)!=(b|0)){continue}break}if((d|0)!=-1){n=j[a+356>>2];c=n+p(d,20)|0;m=l[c+8>>1];e=j[a+100>>2];j[g+12>>2]=0;b=He(e,m+1|0,g+12|0);if(j[g+12>>2]){break a}f=j[a+360>>2];o=Fe(f,j[c+12>>2]);j[g+12>>2]=o;d:{if(o){break d}o=_e(f,l[c+8>>1]);j[g+12>>2]=o;if(o){break d}d=b;e=m>>>1|0;if(e){c=j[f+32>>2];while(1){e:{if(k[c|0]){break e}m=h[c+1|0];if((m|0)<32){break e}h[d|0]=m;d=d+1|0}c=c+2|0;e=e-1|0;if(e){continue}break}}h[d|0]=0;Ve(f);break a}if(b){qe[j[e+8>>2]](e,b)}b=0;i[c+8>>1]=0;j[c+12>>2]=0;d=n+p(d,20)|0;c=j[d+16>>2];if(c){qe[j[e+8>>2]](e,c)}j[d+16>>2]=0;break a}if((e|0)==-1){b=0;break a}m=j[a+356>>2];f=m+p(e,20)|0;b=l[f+8>>1];c=j[a+100>>2];j[g+8>>2]=0;d=He(c,b+1|0,g+8|0);if(j[g+8>>2]){b=d;break a}n=j[a+360>>2];o=Fe(n,j[f+12>>2]);j[g+8>>2]=o;f:{if(o){break f}n=uf(n,d,b);j[g+8>>2]=n;if(n){break f}h[b+d|0]=0;b=d;break a}b=0;j[f+12>>2]=0;i[f+8>>1]=0;e=m+p(e,20)|0;f=j[e+16>>2];if(f){qe[j[c+8>>2]](c,f)}j[e+16>>2]=0;if(d){qe[j[c+8>>2]](c,d)}}j[a+664>>2]=b}oe=g+16|0;return b|0}function iy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;a:{f=j[a+28>>2];if(!f){break a}d=j[a+48>>2];i=j[a+36>>2];l=j[a+16>>2];b=j[a+24>>2];m=b&7;n=(b+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];b:while(1){g=n;c:{d:{switch(m-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=1;continue;case 1:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=2;continue;case 2:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=3;continue;case 3:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=4;continue;case 4:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=5;continue;case 5:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=6;continue;case 6:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=7;continue;default:break e}}b=f-1|0;e=k[c|0]<<2;h[a|0]=k[e+d|0];e=(e|1)+d|0;h[a+1|0]=k[e|0];h[a+2|0]=k[e+1|0];a=a+3|0;c=c+1|0;f:{if((g|0)>1){g=g-1|0;break f}a=a+i|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function eJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;l=oe-16|0;oe=l;d=j[a+28>>2];e=j[a+16>>2];m=j[a+24>>2];j[l+12>>2]=0;a:{b:{g=m+1|0;c:{if(g>>>0<=d>>>0){n=j[a+32>>2];break c}j[a+36>>2]=b;n=xe(b,4,d,g,j[a+32>>2],l+12|0);j[a+32>>2]=n;if(j[l+12>>2]){break b}j[a+28>>2]=g}g=n;if(m){e=e+10|0;while(1){h=k[e+7|0]|k[e+8|0]<<8|(k[e+9|0]<<16|k[e+10|0]<<24);r=k[e|0];s=k[e+1|0];t=k[e+2|0];d:{e:{f:{b=k[e+3|0]|k[e+4|0]<<8|(k[e+5|0]<<16|k[e+6|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break f}d=b+j[a+16>>2]|0;b=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);o=d+7|0;i=0;while(1){if(b>>>0<=i>>>0){break f}d=b;b=b+i>>>1|0;q=o+(b<<2)|0;f=q-3|0;f=k[f+1|0]<<8|k[f|0]<<16|k[f+2|0];if(f>>>0>c>>>0){continue}i=b+1|0;b=d;if(f+k[q|0]>>>0>>0){continue}break}break e}b=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if(!b){break d}d=b+j[a+16>>2]|0;b=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break d}o=d+7|0;i=0;while(1){g:{d=b+i>>>1|0;h=o+p(d,5)|0;f=h-3|0;f=k[f+1|0]<<8|k[f|0]<<16|k[f+2|0];h:{if(f>>>0>c>>>0){b=d;break h}if(c>>>0<=f>>>0){break g}i=d+1|0}if(b>>>0>i>>>0){continue}break d}break}if(!(k[h+1|0]|k[h|0]<<8)){break d}}j[g>>2]=s<<8|r<<16|t;g=g+4|0}e=e+11|0;m=m-1|0;if(m){continue}break}}j[g>>2]=0;break a}n=0}oe=l+16|0;return n|0}function qs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0,n=0,o=0,q=0;c=j[a+36>>2];h=j[a+40>>2];d=j[a+28>>2];i=j[a+24>>2];k=d+p(i,40)|0;a:{if(b){m=8;if((i|0)<=0){break a}a=d;while(1){j[a+24>>2]=j[a+20>>2];j[a+28>>2]=j[a+8>>2];a=a+40|0;if(k>>>0>a>>>0){continue}break}break a}m=4;if((i|0)<1){break a}a=d;while(1){j[a+24>>2]=j[a+16>>2];j[a+28>>2]=j[a+4>>2];a=a+40|0;if(k>>>0>a>>>0){continue}break}}if((c|0)>=1){q=(c<<2)+h|0;while(1){e=j[h>>2];a=e;f=j[a+36>>2];b:{if(a>>>0>f>>>0){break b}while(1){c:{if(l[a>>1]&m){c=a;while(1){g=c;o=f>>>0<=c>>>0;if(!o){c=g+40|0;if(l[g+40>>1]&m){continue}}d:{e:{n=g+40|0;c=n;if(f>>>0>=c>>>0){while(1){if(l[c>>1]&m){break e}c=c+40|0;if(f>>>0>=c>>>0){continue}break}}if((a|0)==(g|0)){c=j[a+24>>2]-j[a+28>>2]|0;if(!c){break b}if(a>>>0>e>>>0){break d}break c}if(!o){Im(n,f,g,a)}if(a>>>0<=d>>>0){break b}Im(e,a-40|0,g,a);break b}Im(n,c-40|0,g,c);continue}break}while(1){j[e+24>>2]=c+j[e+28>>2];e=e+40|0;if(e>>>0>>0){continue}break}break c}a=a+40|0;if(f>>>0>=a>>>0){continue}break b}break}e=a+40|0;if(f>>>0>>0){break b}while(1){j[a- -64>>2]=c+j[a+68>>2];a=e;e=a+40|0;if(f>>>0>=e>>>0){continue}break}}h=h+4|0;if(q>>>0>h>>>0){continue}break}}f:{if(b){if((i|0)<=0){break f}while(1){j[d+20>>2]=j[d+24>>2];d=d+40|0;if(k>>>0>d>>>0){continue}break}break f}if((i|0)<1){break f}while(1){j[d+16>>2]=j[d+24>>2];d=d+40|0;if(k>>>0>d>>>0){continue}break}}}function Xu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=oe-80|0;oe=e;a:{if(!j[67085]){if((dn()|0)<0){break a}}b:{d=(a|0)>1?a:1;if((d|0)<=16384){g=(b|0)>1?b:1;if((g|0)<16385){break b}}ve(56574,0);break a}c=Xe(1,156);if(!c){c=0;Be(0);break a}b=0;a=j[67085];j[c>>2]=a+316;f=a;a=j[a+320>>2];j[f+320>>2]=a+1;j[c+28>>2]=g;j[c+24>>2]=d;j[c+20>>2]=536805376;j[c+16>>2]=536805376;j[c+4>>2]=a;f=Ch(c);a=j[67085];b=(f|0)>=0?j[a+304>>2]+p(f,72)|0:b;f=j[a+300>>2];c:{if((f|0)>=1){h=j[a+304>>2];a=0;while(1){if((p(a,72)+h|0)==(b|0)){break c}a=a+1|0;if((f|0)!=(a|0)){continue}break}}a=0}Gk(a,e- -64|0);j[c+16>>2]=j[e+64>>2]+((j[e+72>>2]-d|0)/2|0);a=j[e+68>>2]+((j[e+76>>2]-g|0)/2|0)|0;j[c+20>>2]=a;b=j[c+24>>2];d=j[c+16>>2];j[c+68>>2]=j[c+28>>2];j[c+64>>2]=b;j[c+60>>2]=a;j[c+56>>2]=d;j[c+92>>2]=1065353216;j[c+96>>2]=1065353216;a=40;j[c+52>>2]=40;j[c+48>>2]=40;b=j[67085];d=j[b+308>>2];j[c+120>>2]=0;j[c+152>>2]=d;if(d){j[d+148>>2]=c}j[b+308>>2]=c;d:{d=j[b+36>>2];if(d){if((qe[d|0](b,c)|0)<0){break d}a=j[c+48>>2]}if(a&64){j[c+48>>2]=a&-65}a=j[67085];e:{if(!a){ve(57733,0);break e}if(j[c>>2]!=(a+316|0)){ve(56433,0);break e}a=j[c+8>>2];if((a|0)==1647){break e}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}i=c,k=Uf(1647),j[i+8>>2]=k;a=j[67085];b=j[a+44>>2];if(!b){break e}qe[b|0](a,c)}bn(c,32);a=j[c+48>>2];Xg(c,(a&5)==5?(a>>>6^-1)&1:0);break a}Ik(c);c=0}oe=e+80|0;return c}function Oj(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0;l=j[a+172>>2];j[a+172>>2]=0;e=j[a>>2]?p(j[a+28>>2],c):c;g=j[a+240>>2];if(j[a+216>>2]!=j[a+204>>2]){f=e;i=k[a+232|0]<<2;m=w(o[a+224>>3]*+((e|0)/(i|0)|0));a:{if(r(m)<2147483648){e=~~m;break a}e=-2147483648}i=p(e,i);e=f+i|0}f=j[a+188>>2];if(j[a+84>>2]){e=p(j[a+112>>2],e)}g=g<<2;e=e+g|0;if((e|0)>j[a+192>>2]){f=mf(f,e+32|0);if(!f){Be(0);return-1}j[a+192>>2]=e;j[a+188>>2]=f}e=f&15?(f&-16)+16|0:f;if(!e){return-1}f=l?0:g;l=f+e|0;Ge(l,b,c);b:{if(!j[a>>2]){break b}h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;j[a+20>>2]=c;j[a+16>>2]=l;b=k[a+40|0]|k[a+41|0]<<8|(k[a+42|0]<<16|k[a+43|0]<<24);if(!b){break b}h[a+80|0]=0;h[a+81|0]=0;h[a+82|0]=0;h[a+83|0]=0;qe[b|0](a,k[a+4|0]|k[a+5|0]<<8);c=j[a+24>>2]}c:{d:{if(j[a+216>>2]==j[a+204>>2]){f=e;break d}if(f){Ge(e,j[a+244>>2],f);c=c+f|0}b=c-g|0;Ge(j[a+244>>2],b+e|0,g);f=c+e|0;g=(c|0)<=(g|0);c=0;if(g){break c}c=qe[j[a+252>>2]](a,e,b,f,i)|0}if((c|0)<1){break c}b=a+84|0;if(!j[b>>2]){break c}h[a+108|0]=c;h[a+109|0]=c>>>8;h[a+110|0]=c>>>16;h[a+111|0]=c>>>24;j[a+104>>2]=c;j[a+100>>2]=f;e=k[a+124|0]|k[a+125|0]<<8|(k[a+126|0]<<16|k[a+127|0]<<24);if(!e){break c}h[a+164|0]=0;h[a+165|0]=0;h[a+166|0]=0;h[a+167|0]=0;qe[e|0](b,k[a+88|0]|k[a+89|0]<<8);c=j[a+108>>2]}if(d){b=j[d>>2];c=(b|0)<(c|0)?b:c;j[d>>2]=b-c}if(!c){return 0}return pl(j[a+168>>2],f,c)}function oC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,m=0;a:{b:{c:{d:{c=b&255;switch(c-16|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break c;case 0:break d;default:break b}}f=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>1|0;if(!f){break a}d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){c=l[d>>1];i[d>>1]=(c<<24|c<<8&16711680)>>>16;d=d+2|0;f=f-1|0;if(f){continue}break}break a}e=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>2|0;if(!e){break a}d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){c=j[d>>2];j[d>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d+4|0;e=e-1|0;if(e){continue}break}break a}if((c|0)!=64){break a}f=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>3|0;if(!f){break a}d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){e=j[d>>2];c=j[d+4>>2];g=c<<24|e>>>8;g=g&65280|(c<<8|e>>>24)&255|(e<<24|e<<8&16711680);j[d>>2]=((c&255)<<24|e>>>8)&-16777216|((c&16777215)<<8|e>>>24)&16711680|(c>>>8&65280|c>>>24)|m;j[d+4>>2]=g;d=d+8|0;f=f-1|0;if(f){continue}break}}c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b^4096)}}function El(a,b,c,d,e,f,g){var h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;r=oe-16|0;oe=r;x=a+24|0;y=!d|!e;v=-1;w=-1;s=-1;t=-1;u=-1;q=b;o=c;a:{while(1){i=j[a>>2];if(!i){h=-129;m=-1;break a}l=(o|0)>0?1:(o|0)>=0?q>>>0>65536:0;h=l?q:65536;q=h-65536|0;n=q;p=(l?o:0)-(h>>>0<65536)|0;o=p;if(j[a+8>>2]!=(n|0)|(o|0)!=j[a+12>>2]){h=-128;m=-1;l=j[a+708>>2];if(!l){break a}if((qe[l|0](i,q,o,0)|0)==-1){break a}j[a+8>>2]=q;j[a+12>>2]=o;if(j[x+4>>2]>=0){i=x;j[i+8>>2]=0;j[i+12>>2]=0;j[i+24>>2]=0;j[i+16>>2]=0;j[i+20>>2]=0}p=j[a+12>>2];n=j[a+8>>2]}i=-1;l=-1;b:{if((c|0)<(p|0)?1:(c|0)<=(p|0)?b>>>0<=n>>>0:0){break b}while(1){z=i;A=l;h=-128;m=-1;i=b;i=Of(a,r,i-n|0,c-((i>>>0>>0)+p|0)|0);n=pe;l=n;if((i|0)==-128&(l|0)==-1){break a}if((l|0)<0){i=z;l=A;break b}h=j[r>>2];v=k[h+6|0]|k[h+7|0]<<8|(k[h+8|0]<<16|k[h+9|0]<<24);w=k[h+10|0]|k[h+11|0]<<8|(k[h+12|0]<<16|k[h+13|0]<<24);h=j[r>>2];s=k[h+14|0]|k[h+15|0]<<8|(k[h+16|0]<<16|k[h+17|0]<<24);if((s|0)==j[f>>2]){j[g>>2]=v;j[g+4>>2]=w;t=i;u=l}m=e;h=d;c:{if(y){t=-1;u=-1;break c}while(1){if(j[h>>2]==(s|0)){break c}h=h+4|0;m=m-1|0;if(m){continue}break}t=-1;u=-1}n=j[a+8>>2];p=j[a+12>>2];h=p;if((c|0)>(h|0)?1:(c|0)>=(h|0)?b>>>0>n>>>0:0){continue}break}}if((i|0)==-1&(l|0)==-1){continue}break}m=u;h=t;if((m|0)>-1){break a}j[f>>2]=s;j[g>>2]=v;j[g+4>>2]=w;h=i;m=l}oe=r+16|0;pe=m;return h}function $y(a,b,c,d,e,f,g){var h=0,i=0,k=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0;l=c/90;a:{if(r(l)<2147483648){n=~~l;break a}n=-2147483648}if(+(n|0)==l){n=(n|0)%4|0;n=(n|0)<0?n+4|0:n;if(n&1){j[d>>2]=b;j[e>>2]=a;j[f>>2]=0;j[f+4>>2]=0;o[g>>3]=((n|0)==1?-1:1)|0;return}j[d>>2]=a;j[e>>2]=b;o[f>>3]=(n?-1:1)|0;j[g>>2]=0;j[g+4>>2]=0;return}c=c*-.017453292519943295;u=g,v=Mg(c),o[u>>3]=v;k=lg(c);o[f>>3]=k;p=+((a|0)/2|0);c=k*p;q=o[g>>3];s=+((b|0)/2|0);m=q*s;i=c-m;l=m-c;t=l;h=c+m;if(!(r(r(h)>r(i)?h:i)>r(l)^1)){t=r(h)>r(i)?h:i}m=-c-m;c=m;b:{if(r(t)>r(c)^1){break b}c=l;if(r(r(h)>r(i)?h:i)>r(c)^1){break b}c=r(h)>r(i)?h:i}a=2;c=w(r(c));c:{if(r(c)<2147483648){b=~~c;break c}b=-2147483648}if((b|0)>=2){d:{if(r(r(r(h)>r(i)?h:i)>r(l)^1?l:r(h)>r(i)?h:i)>r(m)^1){break d}m=l;if(r(r(h)>r(i)?h:i)>r(l)^1){break d}m=r(h)>r(i)?h:i}c=w(r(m));e:{if(r(c)<2147483648){a=~~c;break e}a=-2147483648}a=a<<1}c=q*p;i=k*s;h=c-i;l=i-c;m=l;k=i+c;if(!(r(r(k)>r(h)?k:h)>r(l)^1)){m=r(k)>r(h)?k:h}c=-c-i;i=c;f:{if(r(m)>r(c)^1){break f}i=l;if(r(r(k)>r(h)?k:h)>r(i)^1){break f}i=r(k)>r(h)?k:h}g=2;j[d>>2]=a;m=w(r(i));g:{if(r(m)<2147483648){a=~~m;break g}a=-2147483648}if((a|0)>=2){h:{if(r(r(r(k)>r(h)?k:h)>r(l)^1?l:r(k)>r(h)?k:h)>r(c)^1){break h}c=l;if(r(r(k)>r(h)?k:h)>r(c)^1){break h}c=r(k)>r(h)?k:h}c=w(r(c));i:{if(r(c)<2147483648){a=~~c;break i}a=-2147483648}g=a<<1}j[e>>2]=g}function NC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=oe-4272|0;oe=c;b=0;j[c+4232>>2]=j[5506];e=j[5505];d=c+4224|0;j[d>>2]=j[5504];j[d+4>>2]=e;e=j[5503];d=c+4216|0;j[d>>2]=j[5502];j[d+4>>2]=e;e=j[5501];d=c+4208|0;j[d>>2]=j[5500];j[d+4>>2]=e;e=j[5499];d=c+4200|0;j[d>>2]=j[5498];j[d+4>>2]=e;e=j[5497];d=c+4192|0;j[d>>2]=j[5496];j[d+4>>2]=e;d=j[5495];j[c+4184>>2]=j[5494];j[c+4188>>2]=d;d=j[5493];j[c+4176>>2]=j[5492];j[c+4180>>2]=d;e=j[a+20>>2];f=j[a+12>>2];g=j[a+16>>2];d=j[a+4>>2];j[c+52>>2]=j[a+8>>2];j[c+48>>2]=(d|0)==1?22085:22090;j[c+44>>2]=d;j[c+40>>2]=g;j[c+36>>2]=f;j[c+32>>2]=e;Ue(c- -64|0,4096,22028,c+32|0);j[c+16>>2]=c- -64;Ui(22096,c+16|0);a=Mf(22103);a:{if(a){if(!cf(a,22114)){a=2;break a}if(!cf(a,22120)){a=1;break a}if(!cf(a,22126)){a=0;break a}if(!cf(a,22132)){a=3;break a}a=cf(a,22139)?2:4;break a}a=Nu();b:{if(!a){break b}if(!(Ii(a)&1)){break b}Tu(a);b=a}Oe(c+4240|0,0,28);j[c+4256>>2]=5;j[c+4248>>2]=22153;j[c+4244>>2]=b;j[c+4240>>2]=32;j[c+4260>>2]=c+4176;j[c+4252>>2]=c- -64;c:{if(Hu(c+4240|0,c+4172|0)){while(1){h[c+4170|0]=105;h[c+4171|0]=0;j[c>>2]=c- -64;a=E(22170,c+4170|0,c|0)|0;if(!cf(a,22395)){ze(a);a=2;break c}if(!cf(a,22397)){ze(a);a=0;break c}if(!cf(a,22399)){ze(a);a=3;break c}d=cf(a,22401);ze(a);if(d){continue}break}a=4;break c}a=j[c+4172>>2];a=(a|0)==-1?3:a}if(!b){break a}Su(b)}oe=c+4272|0;return a|0}function BM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=0,o=0;a:{b:{c:{e=j[a+28>>2];if(!k[e+64|0]){f=j[b+4>>2];g=j[b>>2];h[e+64|0]=1;c=j[e+20>>2];d:{if(k[e+65|0]){d=j[e+12>>2];if((i[d+20>>1]+i[d+56>>1]|0)+1>>>0>m[d+8>>2]){d=yf(d,0,1);if(d){break c}}n=l[c>>1];d=n<<16>>16;if((d|0)<1){break d}i[(j[c+12>>2]+(n<<1)|0)-2>>1]=l[c+2>>1]-1}d=l[c>>1]}i[c>>1]=d+1;c=j[e+12>>2];if((i[c+22>>1]+i[c+58>>1]|0)+1>>>0>m[c+4>>2]){d=yf(c,1,0);if(d){break c}}c=j[e+20>>2];if(k[e+65|0]){d=j[c+8>>2];n=i[c+2>>1];o=j[c+4>>2]+(n<<3)|0;j[o+4>>2]=f>>10;j[o>>2]=g>>10;h[d+n|0]=1}i[c+2>>1]=l[c+2>>1]+1}c=j[e+12>>2];if((i[c+22>>1]+i[c+58>>1]|0)+3>>>0<=m[c+4>>2]){break b}c=yf(c,3,0);if(!c){break b}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=c;return}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=d;return}a=j[e+20>>2];e:{f:{g:{if(!k[e+65|0]){i[a+2>>1]=l[a+2>>1]+1;break g}c=j[a+8>>2];d=j[b+8>>2];f=i[a+2>>1];g=j[a+4>>2]+(f<<3)|0;j[g+4>>2]=j[b+12>>2]>>10;j[g>>2]=d>>10;h[c+f|0]=2;d=k[e+65|0];c=j[e+20>>2];i[a+2>>1]=l[a+2>>1]+1;if(d){break f}a=c}i[a+2>>1]=l[a+2>>1]+1;break e}a=j[c+8>>2];d=j[b+16>>2];f=i[c+2>>1];g=j[c+4>>2]+(f<<3)|0;j[g+4>>2]=j[b+20>>2]>>10;j[g>>2]=d>>10;h[a+f|0]=2;d=k[e+65|0];a=j[e+20>>2];i[c+2>>1]=l[c+2>>1]+1;if(!d){break e}c=j[a+8>>2];e=j[b+24>>2];d=i[a+2>>1];f=j[a+4>>2]+(d<<3)|0;j[f+4>>2]=j[b+28>>2]>>10;j[f>>2]=e>>10;h[c+d|0]=1}i[a+2>>1]=l[a+2>>1]+1}}function Di(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;d=oe-16|0;oe=d;e=p(b,-11796480)+5898240|0;g=Df(j[a>>2],j[a+4>>2]);f=(g|0)/2|0;m=(b<<5)+a|0;a:{b:{c:{d:{e:{f:{if(!k[m+80|0]|(!c|g+11763713>>>0>23527426)){break f}i=ye(j[a+60>>2],AN(f));g=i>>31;g=g^g+i;if(!g|(c|0)<(g|0)){break f}if((g|0)<=j[a+16>>2]){break e}}of(d,j[a+60>>2],e+j[a+4>>2]|0);e=j[d>>2]+j[a+8>>2]|0;j[d>>2]=e;f=j[d+4>>2]+j[a+12>>2]|0;j[d+4>>2]=f;h[m+80|0]=0;break d}c=j[a>>2];g=Bi(f);of(d,De(j[a+60>>2],g),c+(e+f|0)|0);e=j[d>>2]+j[a+8>>2]|0;j[d>>2]=e;f=j[d+4>>2]+j[a+12>>2]|0;j[d+4>>2]=f;if(!k[m+80|0]){break d}a=(b<<5)+a|0;a=((j[a- -64>>2]<<3)+j[a+72>>2]|0)-8|0;b=j[d+4>>2];j[a>>2]=j[d>>2];j[a+4>>2]=b;break c}g=(b<<5)+a|0;i=g- -64|0;c=j[i>>2];g:{if(!c){break g}l=j[g+72>>2]+(c-1<<3)|0;if((j[l>>2]-e|0)+1>>>0>2){break g}e=0;if((j[l+4>>2]-f|0)+1>>>0<3){break a}}f=j[g+68>>2];j[d+12>>2]=0;e=c+1|0;h:{if(e>>>0<=f>>>0){f=j[((b<<5)+a|0)+76>>2];break h}l=j[((b<<5)+a|0)+88>>2];c=f;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}n=(b<<5)+a|0;e=n;o=e,q=xe(l,8,f,c,j[e+72>>2],d+12|0),j[o+72>>2]=q;e=j[d+12>>2];if(e){break b}f=xe(l,1,f,c,j[n+76>>2],d+12|0);j[n+76>>2]=f;e=j[d+12>>2];if(e){break b}j[g+68>>2]=c;c=j[i>>2]}a=j[((b<<5)+a|0)+72>>2]+(c<<3)|0;b=j[d+4>>2];j[a>>2]=j[d>>2];j[a+4>>2]=b;h[c+f|0]=1;j[i>>2]=j[i>>2]+1}e=0}h[m+80|0]=0}oe=d+16|0;return e}function uK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0;m=oe-16|0;oe=m;h=He(a,2496,m+12|0);d=j[m+12>>2];if(!d){j[h>>2]=a;j[h+212>>2]=l[b+120>>1];g=k[b+124|0];if(g){a=h+224|0;d=b+128|0;f=g;while(1){j[a>>2]=i[d>>1];d=d+2|0;a=a+12|0;f=f-1|0;if(f){continue}break}}a=1;j[h+208>>2]=g+1;j[h+8>>2]=l[b+122>>1];g=k[b+125|0];if(g){d=h+20|0;f=b+154|0;e=g;while(1){j[d>>2]=i[f>>1];f=f+2|0;d=d+12|0;e=e-1|0;if(e){continue}break}}j[h+4>>2]=g+1;d=0;g=h+412|0;f=b+12|0;Uq(g,k[b+8|0],f,k[b+9|0],b+40|0,j[b+116>>2],0);Uq(g,k[b+10|0],b+60|0,k[b+11|0],b+88|0,j[b+116>>2],1);g=k[b+8|0];if(g){while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}g=k[b+9|0];if(g){d=0;f=b+40|0;while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}g=k[b+10|0];if(g){d=0;f=b+60|0;while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}g=k[b+11|0];if(g){d=0;f=b+88|0;while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}a=De(1e3,a<<16>>16);f=j[b+108>>2];j[h+2476>>2]=(a|0)>(f|0)?f:a;j[h+2480>>2]=j[b+112>>2];a=j[b+116>>2];j[h+404>>2]=0;j[h+408>>2]=0;j[h+200>>2]=0;j[h+204>>2]=0;j[h+2488>>2]=a;d=j[m+12>>2]}j[c>>2]=h;oe=m+16|0;return d|0}function jm(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;j[c+12>>2]=j[a>>2];d=j[a+8>>2];Qf(c+12|0,d);b=j[c+12>>2];a:{if(d>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{f=k[b|0];switch(f-40|0){case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 52:break b;case 7:break c;case 22:break d;case 20:break e;case 0:break f;case 51:case 53:break h;default:break g}}j[c+12>>2]=b+1;break a}if((f|0)!=123){break b}e=fr(c+12|0,d);break a}e=im(c+12|0,d);break a}if(!(k[b+1|0]!=60|b+1>>>0>=d>>>0)){j[c+12>>2]=b+2;break a}e=er(c+12|0,d);break a}f=b+1|0;j[c+12>>2]=f;e=3;if(k[f|0]!=62|d>>>0<=f>>>0){break a}j[c+12>>2]=b+2;e=0;break a}b=b+1|0;j[c+12>>2]=b}if(b>>>0>=d>>>0){break a}i:{while(1){j:{switch(k[b|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break i;default:break j}}b=b+1|0;if((d|0)!=(b|0)){continue}break}j[c+12>>2]=d;break a}j[c+12>>2]=b}b=j[c+12>>2];if(b>>>0>>0){e=(b|0)==j[a>>2]?3:e}j[a>>2]=b;j[a+12>>2]=e;oe=c+16|0}function $L(a,b,c,d,e){var f=0,g=0;f=oe+ -64|0;oe=f;g=6;a:{if(!c|(!b|!a)){break a}j[f+20>>2]=b;j[f+12>>2]=e;j[f+8>>2]=d;b=j[c>>2];j[f+48>>2]=a;j[f+44>>2]=659;j[f+40>>2]=660;j[f+24>>2]=b;if(nr(f+8|0,15)){break a}d=lr(f+8|0,4);if((d|0)!=1){g=j[f+36>>2];b:{if(!g){break b}c=j[f+44>>2];if(!c){break b}b=j[g+20>>2];if(b){a=j[b>>2];if((a&-2)==4){qe[c|0](j[f+48>>2],j[b+12>>2]);a=j[b>>2]}if((a|0)==6){qe[j[f+44>>2]](j[f+48>>2],j[b+4>>2])}j[b+28>>2]=0;j[b+32>>2]=0;j[b>>2]=0;g=j[b+40>>2];j[b+52>>2]=g;j[b+48>>2]=g;a=j[b+56>>2];if(a){a=qe[a|0](0,0,0)|0;j[b+60>>2]=a;j[f+56>>2]=a;g=j[b+40>>2]}qe[j[f+44>>2]](j[f+48>>2],g);qe[j[f+44>>2]](j[f+48>>2],j[b+36>>2]);qe[j[f+44>>2]](j[f+48>>2],b);g=j[f+36>>2];c=j[f+44>>2]}qe[c|0](j[f+48>>2],g)}g=0;a=d+5|0;if(a>>>0>=6){break a}g=j[(a<<2)+90548>>2];break a}j[c>>2]=j[f+28>>2];g=0;a=j[f+36>>2];if(!a){break a}c=j[f+44>>2];if(!c){break a}b=j[a+20>>2];if(b){a=j[b>>2];if((a&-2)==4){qe[c|0](j[f+48>>2],j[b+12>>2]);a=j[b>>2]}if((a|0)==6){qe[j[f+44>>2]](j[f+48>>2],j[b+4>>2])}j[b+28>>2]=0;j[b+32>>2]=0;j[b>>2]=0;a=j[b+40>>2];j[b+52>>2]=a;j[b+48>>2]=a;c=j[b+56>>2];if(c){a=qe[c|0](0,0,0)|0;j[b+60>>2]=a;j[f+56>>2]=a;a=j[b+40>>2]}qe[j[f+44>>2]](j[f+48>>2],a);qe[j[f+44>>2]](j[f+48>>2],j[b+36>>2]);qe[j[f+44>>2]](j[f+48>>2],b);c=j[f+44>>2];a=j[f+36>>2]}qe[c|0](j[f+48>>2],a)}oe=f- -64|0;return g}function Ei(a,b){var c=0,d=0,e=0,f=0,g=0,k=0,m=0,n=0,o=0;c=j[a+88>>2];if(h[a+8|0]&1){a:{b:{c:{d:{e:{switch(j[b>>2]){case 0:g=l[a+68>>1];e=g;break c;case 2:f=j[a+60>>2]-j[a+52>>2]|0;e=j[a- -64>>2]-j[a+56>>2]|0;break d;case 3:f=i[a+76>>1];e=i[a+70>>1]-i[a+72>>1]|0;break d;case 4:d=j[b+4>>2];j[c+16>>2]=d;e=j[b+8>>2];j[c+20>>2]=e;if(!d){j[c+16>>2]=e;d=0;break b}if(e){d=0;break b}j[c+20>>2]=d;d=0;break b;case 1:break e;default:break c}}f=i[a+70>>1]-i[a+72>>1]|0;e=f}d=e;d=d>>31;e=e+d^d;d=f>>31;g=d+f^d}k=j[b+4>>2];f=k;d=j[b+12>>2];if(d){f=(p(d,k)+36|0)/72|0}d=j[b+8>>2];m=j[b+16>>2];if(m){d=(p(d,m)+36|0)/72|0}if(k){k=De(f,g);j[c+16>>2]=k;if(j[b+8>>2]){g=De(d,e);j[c+20>>2]=g;e=j[b>>2];if((e|0)!=3){break a}e=j[c+16>>2];if((e|0)<(g|0)){j[c+20>>2]=e;break b}j[c+16>>2]=g;break b}j[c+20>>2]=k;d=Ne(f,e,g);break b}f=De(d,e);j[c+16>>2]=f;j[c+20>>2]=f;f=Ne(d,g,e)}e=j[b>>2]}b=c;if(e){f=ye(l[a+68>>1],j[c+16>>2]);d=ye(l[a+68>>1],j[c+20>>2])}i[b+14>>1]=d+32>>>6;i[c+12>>1]=f+32>>>6;n=c,o=ye(i[a+70>>1],j[c+20>>2])+63&-64,j[n+24>>2]=o;n=c,o=ye(i[a+72>>1],j[c+20>>2])&-64,j[n+28>>2]=o;n=c,o=ye(i[a+74>>1],j[c+20>>2])+32&-64,j[n+32>>2]=o;n=c,o=ye(i[a+76>>1],j[c+16>>2])+32&-64,j[n+36>>2]=o;return}j[c+12>>2]=0;j[c+16>>2]=0;j[c+36>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+20>>2]=0;j[c+24>>2]=0;j[c+16>>2]=65536;j[c+20>>2]=65536}function zv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[f>>2];b=d>>>24|0;g=d>>>8&255;h=d>>>16&255;if(y){g=(p(g,v)>>>0)/255|0;h=(p(h,u)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d&255;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;e=c>>>16|0;if(!(!w|i>>>0>254)){h=(p(h,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;e=e&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(b,c)>>>0)/255|0;d=(p(d,h)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+b|0;d=((p(d,q)>>>0)/255|0)+h|0;e=((p(e,q)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=d+h|0;d=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[m>>2]=d<<8|e<<16|c|r<<24;m=m+4|0;f=f+4|0;if(o){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function iw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];g=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[g>>2];b=d>>>24|0;e=d>>>8&255;h=d>>>16&255;if(y){e=(p(e,t)>>>0)/255|0;h=(p(h,u)>>>0)/255|0;b=(p(b,v)>>>0)/255|0}d=d&255;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;f=c>>>16|0;if(!(!w|i>>>0>254)){e=(p(e,i)>>>0)/255|0;h=(p(h,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;f=f&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(c,e)>>>0)/255|0;d=(p(d,h)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+e|0;d=((p(d,q)>>>0)/255|0)+h|0;f=((p(f,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+e|0;c=c>>>0<255?c:255;e=d+h|0;d=e>>>0<255?e:255;b=b+f|0;f=b>>>0<255?b:255}j[m>>2]=d<<8|f<<16|c|r<<24;m=m+4|0;g=g+4|0;if(o){continue}break}g=j[a+28>>2]}else{g=c}b=g;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;g=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function Uv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];g=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[g>>2];b=d&255;e=d>>>8&255;h=d>>>16&255;if(y){e=(p(e,u)>>>0)/255|0;h=(p(h,t)>>>0)/255|0;b=(p(b,v)>>>0)/255|0}d=d>>>24|0;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;f=c>>>16|0;if(!(!w|i>>>0>254)){h=(p(h,i)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;f=f&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(c,h)>>>0)/255|0;d=(p(d,e)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+h|0;d=((p(d,q)>>>0)/255|0)+e|0;f=((p(f,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+h|0;c=c>>>0<255?c:255;e=d+e|0;d=e>>>0<255?e:255;b=b+f|0;f=b>>>0<255?b:255}j[m>>2]=d<<8|f<<16|c|r<<24;m=m+4|0;g=g+4|0;if(o){continue}break}g=j[a+28>>2]}else{g=c}b=g;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;g=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function Bw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[f>>2];b=d&255;g=d>>>8&255;h=d>>>16&255;if(y){g=(p(g,u)>>>0)/255|0;h=(p(h,v)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d>>>24|0;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;e=c>>>16|0;if(!(!w|i>>>0>254)){g=(p(g,i)>>>0)/255|0;h=(p(h,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;e=e&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(b,c)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;e=(p(e,h)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+b|0;d=((p(d,q)>>>0)/255|0)+g|0;e=((p(e,q)>>>0)/255|0)+h|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=d+g|0;d=b>>>0<255?b:255;b=e+h|0;e=b>>>0<255?b:255}j[m>>2]=d<<8|e<<16|c|r<<24;m=m+4|0;f=f+4|0;if(o){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function fj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;a:{if(!j[b>>2]){b=c;h=1;break a}h=!j[c>>2]}g=j[a+20>>2];b:{c:{if(!g){break c}e=j[b+8>>2];while(1){f=j[(p(d,20)+a|0)+36>>2];if((f|0)<(e|0)){d=d+1|0;if(g>>>0>d>>>0){continue}break c}break}if(k[(p(d,20)+a|0)+28|0]&8|((e|0)==(f|0)|((f|0)<=j[c+8>>2]?!h:0))){break b}}e=j[a+4>>2];d:{if(!k[e+12|0]|k[b|0]&16){break d}if(!h){e=Sg(e,(j[b+8>>2]+j[c+8>>2]|0)/2|0);f=ye((j[c+8>>2]-j[b+8>>2]|0)/2|0,j[a+16>>2]);j[b+12>>2]=e-f;j[c+12>>2]=e+f;break d}q=b,r=Sg(e,j[b+8>>2]),j[q+12>>2]=r}if(j[b+12>>2]>2]?d:0){break b}e=j[a+20>>2];e:{if(e>>>0<=d>>>0){break e}if(!h){if(j[c+12>>2]<=j[(p(d,20)+a|0)+40>>2]){break e}break b}if(j[b+12>>2]>j[(p(d,20)+a|0)+40>>2]){break b}}g=(h^1)+e|0;if(g>>>0>191){break b}l=e-d|0;if(l){n=a+28|0;while(1){e=e-1|0;f=p(e,20)+n|0;o=j[f+4>>2];m=p(g,20)+n|0;i=m;j[i>>2]=j[f>>2];j[i+4>>2]=o;j[i+16>>2]=j[f+16>>2];i=j[f+12>>2];j[m+8>>2]=j[f+8>>2];j[m+12>>2]=i;g=g-1|0;l=l-1|0;if(l){continue}break}}d=p(d,20)+a|0;j[d+44>>2]=j[b+16>>2];e=j[b+12>>2];j[d+36>>2]=j[b+8>>2];j[d+40>>2]=e;e=j[b+4>>2];j[d+28>>2]=j[b>>2];j[d+32>>2]=e;j[a+20>>2]=j[a+20>>2]+1;if(h){break b}j[d- -64>>2]=j[c+16>>2];b=j[c+12>>2];j[d+56>>2]=j[c+8>>2];j[d+60>>2]=b;b=j[c+4>>2];j[d+48>>2]=j[c>>2];j[d+52>>2]=b;j[a+20>>2]=j[a+20>>2]+1}}function us(a,b,c){var d=0,e=0,f=0,g=0,i=0,n=0,o=0,q=0,r=0,s=0;a:{g=j[(c?8:4)+b>>2];d=p(c,1572)+a|0;e=d+1608|0;i=j[(c?16:12)+b>>2];if((i|0)==j[d+1612>>2]?(g|0)==j[e>>2]:0){break a}j[e>>2]=g;j[d+1612>>2]=i;e=j[a+1832>>2];b:{if(!e){break b}d=0;while(1){if(!(k[(p(d,28)+a|0)+1860|0]&8)){d=d+1|0;if(e>>>0>d>>>0){continue}break b}break}b=ye(j[(p(d,28)+a|0)+1848>>2],j[b+8>>2]);if((c|0)!=1){break b}d=j[j[a+36>>2]+12>>2];e=l[j[j[a+4>>2]+88>>2]+12>>1];d=b+(d?e>>>0>5?d>>>0>=e>>>0?52:40:40:40)&-64;if((d|0)==(b|0)){break b}g=Ne(g,d,b)}b=p(c,1572)+a|0;j[b+48>>2]=i;j[b+44>>2]=g;c:{if(!c){j[a+8>>2]=g;b=a+16|0;break c}j[a+12>>2]=g;b=a+20|0}j[b>>2]=i;b=p(c,1572)+a|0;n=b;if(j[b+52>>2]){d=0;while(1){e=b+p(d,12)|0;f=ye(j[e+56>>2],g);j[e- -64>>2]=f;j[e+60>>2]=f;d=d+1|0;if(d>>>0>2]){continue}break}}r=b,s=(ye(j[b+252>>2],g)|0)<40,h[r+256|0]=s;if(!j[a+1832>>2]|(c|0)!=1){break a}c=0;while(1){b=p(c,28)+a|0;e=b+1844|0;d=b+1836|0;f=ye(j[d>>2],g)+i|0;j[e>>2]=f;n=b+1840|0;j[n>>2]=f;f=b+1856|0;o=b+1848|0;q=ye(j[o>>2],g)+i|0;j[f>>2]=q;j[b+1852>>2]=q;b=b+1860|0;j[b>>2]=j[b>>2]&-2;d=ye(j[d>>2]-j[o>>2]|0,g);if(d+48>>>0<=96){o=e;e=j[n>>2]+32&-64;j[o>>2]=e;n=f;f=d>>31;f=f+d^f;f=(f|0)<32?0:(f|0)<48?32:64;j[n>>2]=e+((d|0)<0?f:0-f|0);j[b>>2]=j[b>>2]|1}c=c+1|0;if(c>>>0>2]){continue}break}}}function sj(){var a=0,b=0,c=0,d=0,e=0,f=0;if(j[67085]){mB();sB();Tj(16384);a=j[67085];a:{if(!j[a+296>>2]){break a}j[a+296>>2]=0;b=j[a+236>>2];if(!b){break a}qe[b|0](a);a=j[67085]}b=j[a+308>>2];if(b){while(1){Ik(b);a=j[67085];b=j[a+308>>2];if(b){continue}break}}qe[j[a+8>>2]](a);b=j[67085];a=j[b+300>>2];if((a|0)>=1){while(1){c=j[b+304>>2]+p(d,72)|0;e=c;b=j[c+8>>2];b:{if(!b){a=j[e+12>>2];break b}a=j[e+12>>2];while(1){b=b-1|0;f=p(b,20);a=j[(f+a|0)+16>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[e+12>>2];j[(f+a|0)+16>>2]=0;if(b){continue}break}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[c+12>>2]=0;a=j[c+32>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[c+32>>2]=0;a=j[c+68>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[c+68>>2]=0;b=j[67085];a=j[b+300>>2];d=d+1|0;if((a|0)>(d|0)){continue}break}}c=j[b+304>>2];if(c){d=1;c:{if((a|0)<1){break c}a=j[c>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}b=j[67085];if(j[b+300>>2]<2){break c}while(1){a=j[j[b+304>>2]+p(d,72)>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}d=d+1|0;b=j[67085];if((d|0)>2]){continue}break}}a=j[b+304>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}b=j[67085];j[b+300>>2]=0;j[b+304>>2]=0}a=j[b+324>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[67085];j[a+324>>2]=0;qe[j[a+1e3>>2]](a);j[67085]=0}}function gh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;g=oe-32|0;oe=g;a:{if(!(c?a:0)){b=ve(56060,0);break a}if(!(j[c+28>>2]?0:!j[a+28>>2])){b=ve(56097,0);break a}if(!d){j[g+16>>2]=0;j[g+20>>2]=0;j[g+24>>2]=j[c+8>>2];j[g+28>>2]=j[c+12>>2];d=g+16|0}b:{if(b){i=j[b+8>>2];k=j[b>>2];if((k|0)<=-1){j[d>>2]=j[d>>2]-k;i=i+k|0;k=0}f=j[a+8>>2]-k|0;h=(f|0)<(i|0);e=j[b+12>>2];l=j[b+4>>2];if((l|0)<=-1){j[d+4>>2]=j[d+4>>2]-l;e=e+l|0;l=0}b=h?f:i;f=j[a+12>>2]-l|0;i=(e|0)>(f|0)?f:e;break b}b=j[a+8>>2];i=j[a+12>>2]}e=j[c+36>>2];h=j[d>>2];f=e-h|0;c:{if((f|0)<1){f=e;e=h;break c}j[d>>2]=e;k=f+k|0;b=b-f|0;f=j[c+36>>2]}e=((b+e|0)-f|0)-j[c+44>>2]|0;n=(e|0)>0?e:0;e=j[c+40>>2];h=j[d+4>>2];f=e-h|0;d:{if((f|0)<1){f=e;e=h;break d}j[d+4>>2]=e;l=f+l|0;i=i-f|0;f=j[c+40>>2]}o=j[c+48>>2];h=j[a+52>>2];m=j[h+68>>2];if(m&512){j[h+68>>2]=m&-513;vf(h)}e:{b=b-n|0;if((b|0)<1){break e}e=((e+i|0)-f|0)-o|0;e=i-((e|0)>0?e:0)|0;if((e|0)<1){break e}j[g+4>>2]=l;j[g>>2]=k;j[d+8>>2]=b;j[g+8>>2]=b;j[d+12>>2]=e;j[g+12>>2]=e;b=j[a+52>>2];f:{g:{if(j[b>>2]!=(c|0)){break g}e=j[j[c+4>>2]+4>>2];if(j[b+80>>2]!=j[e+8>>2]?e:0){break g}e=j[j[a+4>>2]+4>>2];if(!e|j[b+84>>2]==j[e+8>>2]){break f}}b=-1;if((xj(a,c)|0)<0){break a}b=j[a+52>>2]}b=qe[j[b+8>>2]](a,g,c,d)|0;break a}j[d+8>>2]=0;j[d+12>>2]=0;b=0}oe=g+32|0;return b}function Sq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{g=k[a|0];if((g|0)!=117){break c}d:{c=k[a+1|0];if((c|0)!=110|k[a+2|0]!=105){break d}b=k[a+3|0];d=b-48|0;e=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(e>>>0>15){break d}b=k[a+4|0];d=b-48|0;f=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(f>>>0>15){break d}b=k[a+5|0];d=b-48|0;h=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(h>>>0>15){break d}b=k[a+6|0];d=b-48|0;b=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(b>>>0>15){break d}b=b+((f+(e<<4)<<4)+h<<4)|0;d=k[a+7|0];if(!d){break a}if((d|0)!=46){break d}return b|-2147483648}b=c-65>>>0>5?16:c-55|0;c=c-48|0;d=c>>>0>9?b:c;if(d>>>0>15){break c}c=k[a+2|0];b=c-48|0;e=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(e>>>0>15){break c}c=k[a+3|0];b=c-48|0;f=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(f>>>0>15){break c}c=k[a+4|0];b=c-48|0;c=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(c>>>0>15){break c}b=c+(f+(e+(d<<4)<<4)<<4)|0;d=k[a+5|0];e=d-48|0;d=e>>>0>9?d-65>>>0>5?16:d-55|0:e;c=a+5|0;e:{if(d>>>0>15){break e}b=d+(b<<4)|0;d=k[a+6|0];e=d-48|0;d=e>>>0>9?d-65>>>0>5?16:d-55|0:e;c=a+6|0;if(d>>>0>15){break e}b=d+(b<<4)|0;c=a+7|0}d=k[c|0];if(!d){break a}c=a;if((d|0)!=46){break b}return b|-2147483648}c=a}while(1){f:{g:{if((g|0)!=46){if(g){break g}return Qq(a,c)|0}if(a>>>0>>0){break f}}g=k[c+1|0];c=c+1|0;continue}break}b=Qq(a,c)|-2147483648}return b|0}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,l=0;i=-1;g=j[a+16>>2];a=k[g+6|0]|k[g+7|0]<<8|(k[g+8|0]<<16|k[g+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!a){break a}l=g+13|0;while(1){b:{e=a+f>>>1|0;d=l+p(e,11)|0;h=d-3|0;h=k[h+1|0]<<8|k[h|0]<<16|k[h+2|0];c:{if(h>>>0>c>>>0){a=e;break c}if(c>>>0<=h>>>0){break b}f=e+1|0}if(a>>>0>f>>>0){continue}break a}break}e=k[d+4|0]|k[d+5|0]<<8|(k[d+6|0]<<16|k[d+7|0]<<24);d:{a=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break d}c=a+g|0;a=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=c+7|0;f=0;while(1){if(a>>>0<=f>>>0){break d}c=a;a=a+f>>>1|0;l=h+(a<<2)|0;d=l-3|0;d=k[d+1|0]<<8|k[d|0]<<16|k[d+2|0];if(d>>>0>b>>>0){continue}i=1;f=a+1|0;a=c;if(d+k[l|0]>>>0>>0){continue}break}break a}a=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+g|0;a=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}g=c+7|0;f=0;while(1){f:{c=a+f>>>1|0;e=g+p(c,5)|0;d=e-3|0;d=k[d+1|0]<<8|k[d|0]<<16|k[d+2|0];g:{if(d>>>0>b>>>0){a=c;break g}if(b>>>0<=d>>>0){break f}f=c+1|0}if(a>>>0>f>>>0){continue}break e}break}i=0;if(k[e+1|0]|k[e|0]<<8){break a}}i=-1}return i|0}function hJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,l=0;a:{i=j[a+16>>2];a=k[i+6|0]|k[i+7|0]<<8|(k[i+8|0]<<16|k[i+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b:{if(!a){break b}l=i+13|0;while(1){c:{f=a+g>>>1|0;e=l+p(f,11)|0;h=e-3|0;h=k[h+1|0]<<8|k[h|0]<<16|k[h+2|0];d:{if(h>>>0>d>>>0){a=f;break d}if(d>>>0<=h>>>0){break c}g=f+1|0}if(a>>>0>g>>>0){continue}break b}break}f=k[e+4|0]|k[e+5|0]<<8|(k[e+6|0]<<16|k[e+7|0]<<24);e:{a=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}d=a+i|0;a=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=d+7|0;g=0;while(1){if(a>>>0<=g>>>0){break e}d=a;a=a+g>>>1|0;l=h+(a<<2)|0;e=l-3|0;e=k[e+1|0]<<8|k[e|0]<<16|k[e+2|0];if(e>>>0>c>>>0){continue}g=a+1|0;a=d;if(e+k[l|0]>>>0>>0){continue}break}return qe[j[j[b+12>>2]+12>>2]](b,c)|0}a=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);if(!a){break b}b=a+i|0;a=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break b}e=b+7|0;g=0;while(1){b=a+g>>>1|0;d=e+p(b,5)|0;f=d-3|0;f=k[f+1|0]<<8|k[f|0]<<16|k[f+2|0];f:{if(f>>>0>c>>>0){a=b;break f}if(c>>>0<=f>>>0){break a}g=b+1|0}if(a>>>0>g>>>0){continue}break}}return 0}return k[d+1|0]|k[d|0]<<8}function KF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=oe-272|0;oe=h;f=bf(1,1312);j[f+1296>>2]=b;j[f+1288>>2]=j[b+840>>2];i=b+836|0;a=j[b>>2];a:{b:{c:{if((a|0)<=0){a=2;j[f+1284>>2]=2;break c}d=b+4|0;e=b+128|0;while(1){k=j[e+(j[d+(c<<2)>>2]<<2)>>2]+k|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}a=k+2|0;j[f+1284>>2]=a;if((k|0)<=-2){fg(h,a,4,1028);break a}d=1;if((a|0)<2){break b}}d=a}c=0;while(1){e=c<<2;j[e+h>>2]=e+i;c=c+1|0;if((d|0)!=(c|0)){continue}break}fg(h,a,4,1028);d=(a|0)>1?a:1;e=f+260|0;c=0;while(1){g=c<<2;j[g+e>>2]=j[g+h>>2]-i>>2;c=c+1|0;if((d|0)!=(c|0)){continue}break}d=(a|0)>1?a:1;e=f+260|0;g=f+520|0;c=0;while(1){j[g+(j[e+(c<<2)>>2]<<2)>>2]=c;c=c+1|0;if((d|0)!=(c|0)){continue}break}a=(a|0)>1?a:1;d=f+260|0;c=0;while(1){e=c<<2;j[e+f>>2]=j[(j[d+e>>2]<<2)+i>>2];c=c+1|0;if((a|0)!=(c|0)){continue}break}}a=j[b+832>>2]-1|0;if(a>>>0<=3){j[f+1292>>2]=j[(a<<2)+165344>>2]}if((k|0)>=1){q=f+780|0;r=f+1032|0;e=0;g=2;while(1){m=e<<2;p=j[(m+i|0)+8>>2];n=j[f+1288>>2];b=1;c=0;o=0;a=0;while(1){d=j[(c<<2)+i>>2];l=(d|0)<(n|0)&(d|0)>(p|0);n=l?d:n;b=l?c:b;l=d;d=(d|0)<(p|0)&(d|0)>(o|0);o=d?l:o;a=d?c:a;c=c+1|0;if((g|0)!=(c|0)){continue}break}j[m+r>>2]=a;j[m+q>>2]=b;g=g+1|0;e=e+1|0;if((e|0)!=(k|0)){continue}break}}oe=h+272|0;return f|0}function Iz(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var i=0,l=0,m=0,n=0,o=0,q=0,r=0;if((c|0)==(e|0)){a=j[a+20>>2]+p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)|0;a:{if((b|0)<=(d|0)){m=(g|0)!=0;c=a+b|0;a=d-b|0;break a}a=a+d|0;c=g?a:a+1|0;m=(g|0)!=0;a=b-d|0}Oe(c,f,a+m|0);return}b:{if((b|0)==(d|0)){d=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];c:{if((c|0)<=(e|0)){e=e-c|0;b=(a+p(c,d)|0)+b|0;a=(g|0)!=0;break c}a=(a+p(d,e)|0)+b|0;b=g?a:a+d|0;e=c-e|0;a=(g|0)!=0}c=a+e|0;if(!c){break b}while(1){h[b|0]=f;b=b+d|0;c=c-1|0;if(c){continue}break}break b}n=b-d|0;l=n>>31;m=c-e|0;i=m>>31;if((l^l+n)==(i^i+m)){l=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;i=j[a+20>>2];d:{if((c|0)<=(e|0)){m=e-c|0;a=l+((b|0)>(d|0)?-1:1)|0;b=(i+p(c,l)|0)+b|0;break d}c=(i+p(e,l)|0)+d|0;a=l+((b|0)<(d|0)?-1:1)|0;b=g?c:c+a|0}c=((g|0)!=0)+m|0;if(!c){break b}while(1){h[b|0]=f;b=a+b|0;c=c-1|0;if(c){continue}break}break b}m=d-b|0;l=m>>31;n=e-c|0;i=n>>31;l=l^l+m;i=i^i+n;e:{if((l|0)>=(i|0)){n=i-l|0;o=i<<1;m=o-l|0;i=1;break e}n=l-i|0;q=1;o=l<<1;m=o-i|0;l=i;i=0}g=((g|0)!=0)+l|0;if(!g){break b}e=(c|0)>(e|0);l=e?0-q|0:q;d=(b|0)>(d|0);i=d?0-i|0:i;q=e?-1:1;r=d?-1:1;n=n<<1;d=0;while(1){h[(j[a+20>>2]+p(j[a+16>>2],c)|0)+b|0]=f;e=(m|0)<0;m=(e?o:n)+m|0;b=(e?i:r)+b|0;c=(e?l:q)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}}function HE(){var a=0,b=0,c=0,d=0;a=j[65559];j[65540]=j[65558];j[65541]=a;a=j[65563];j[65544]=j[65562];j[65545]=a;a=j[65561];j[65542]=j[65560];j[65543]=a;a:{if(!j[57796]){break a}a=j[57799];if(a){if(qe[a|0](262232)|0){break a}}j[57797]=1;b=j[57793];a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break a}j[65538]=a;c=j[65537];j[65537]=c+1;j[a+(c<<2)>>2]=b}b:{if(!j[57816]){break b}a=j[57819];if(a){if(qe[a|0](262232)|0){break b}}j[57817]=1;b=j[57813];a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break b}j[65538]=a;c=j[65537];j[65537]=c+1;j[a+(c<<2)>>2]=b}c:{if(!j[57817]|j[57815]!=3?!(j[57797]?j[57795]==3:0):0){break c}a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break c}j[65538]=a;b=j[65537];j[65537]=b+1;j[a+(b<<2)>>2]=20245}d:{if(!j[57817]|j[57815]!=4?!(j[57797]?j[57795]==4:0):0){break d}a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break d}j[65538]=a;b=j[65537];j[65537]=b+1;j[a+(b<<2)>>2]=20249}e:{if(!j[57817]|j[57815]!=6?!(j[57797]?j[57795]==6:0):0){break e}a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break e}j[65538]=a;b=j[65537];j[65537]=b+1;j[a+(b<<2)>>2]=20254}j[57792]=128;_g();if(!(!j[65546]|!j[j[j[65546]>>2]+36>>2])){qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],j[57792])}Jg();d=+l[131120]*1e3/+j[65558];f:{if(r(d)<2147483648){a=~~d;break f}a=-2147483648}j[65548]=a;return 0}function dM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;a:{if(!(b?a:0)){j[e+8>>2]=40;break a}f=j[b+28>>2];c=qr(b);j[e+8>>2]=c;if(c){break a}c=a;j[c+24>>2]=0;j[c+28>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c+28>>2]=f;c=gj(f,8276,e+8|0);if(!j[e+8>>2]){j[c>>2]=b;j[c+4>>2]=a;d=j[a+28>>2];g=c+8264|0;j[c+8272>>2]=g;j[c+8>>2]=d;j[c+8268>>2]=g;j[c+8264>>2]=0;b:{d=qr(b);c:{if(d){break c}d=j[b+8>>2];j[c+48>>2]=659;j[c+44>>2]=660;j[c+68>>2]=d;d=j[b+28>>2];j[c+16>>2]=0;j[c+52>>2]=d;j[c+12>>2]=c+4168;d=3;if(nr(c+12|0,-15)){break c}if(j[c+12>>2]){break b}}j[e+8>>2]=d;if(c){qe[j[f+8>>2]](f,c)}break a}j[e+8>>2]=0;j[a+12>>2]=c}d=j[b+8>>2];d:{e:{if(Fe(b,j[b+4>>2]-4|0)){break e}g=sf(b,e+12|0);h=j[e+12>>2];Fe(b,d);b=h?0:g;if(b-1>>>0>40958){break e}d=He(f,b,e+8|0);if(!j[e+8>>2]){if((mm(c,0,d,b)|0)==(b|0)){break d}mm(c,0,0,0);if(d){qe[j[f+8>>2]](f,d)}}j[e+8>>2]=0}j[a+8>>2]=0;j[a>>2]=0;j[a+4>>2]=2147483647;j[a+24>>2]=661;j[a+20>>2]=662;break a}nk(c+12|0);j[c+52>>2]=0;j[c+44>>2]=0;j[c+48>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c+16>>2]=0;if(c){qe[j[f+8>>2]](f,c)}j[a+4>>2]=b;j[a+8>>2]=0;j[a+12>>2]=0;j[a+24>>2]=661;j[a+20>>2]=0;j[a>>2]=d}oe=e+16|0;return j[e+8>>2]}function xo(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=q(0),o=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;m=q(c|0);o=+q(m/q(b|0));l=0;a:{if((b|0)==(c|0)){break a}l=512;if((b|0)<=(c|0)){break a}k=w(+q(q(b<<9)/m));if(r(k)<2147483648){l=~~k;break a}l=-2147483648}G=l;u=a<<2;c=(i|0)/(u|0)|0;v=(g|0)/(u|0)|0;k=o*+(v|0);b:{if(r(k)<2147483648){g=~~k;break b}g=-2147483648}x=(c|0)>(g|0)?g:c;if((x|0)>=1){H=1/+m;y=+(b|0);C=j[66092];D=j[66091];while(1){k=z*y;c:{if(r(k)<2147483648){s=~~k;break c}s=-2147483648}E=s+1|0;k=+(E|0)/y;A=1-(k-z)/(k- +(s|0)/y);k=A*512;d:{if(r(k)<2147483648){t=~~k;break d}t=-2147483648}o=1-A;k=o*512;e:{if(r(k)<2147483648){i=~~k;break e}i=-2147483648}if((a|0)>=1){I=2560-i>>>9|0;J=2560-t>>>9|0;g=0;while(1){m=q(0);b=0;c=t;if((c|0)<2561){while(1){c=c<<2;k=A*+n[c+C>>2]+ +n[c+D>>2];c=s-b|0;m=q(m+q(k*+n[((c|0)<0?d:f)+(p(c+(c>>31&G)|0,a)+g<<2)>>2]));l=b+1|0;c=t+(l<<9)|0;B=(b|0)==(J|0);b=l;if(!B){continue}break}}b=0;c=i;if((c|0)<2561){while(1){c=c<<2;k=o*+n[c+C>>2]+ +n[c+D>>2];l=b+E|0;c=(l|0)<(v|0);m=q(m+q(k*+n[(c?f:e)+(p(l-(c?0:v)|0,a)+g<<2)>>2]));l=b+1|0;c=(l<<9)+i|0;B=(b|0)!=(I|0);b=l;if(B){continue}break}}n[h>>2]=m;h=h+4|0;g=g+1|0;if((g|0)!=(a|0)){continue}break}}z=H+z;F=F+1|0;if((F|0)!=(x|0)){continue}break}}return p(u,x)}function $e(a,b,c){var d=0,e=0,f=0,g=0,n=0;if(!b){return 6}if(!a){return 40}d=j[a+32>>2];a:{while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{g=k[b|0];switch(g-4|0){case 14:case 15:break g;case 12:case 13:break h;case 10:case 11:break i;case 8:case 9:break j;case 20:case 21:break k;case 0:break l;case 4:case 5:break d;case 18:case 19:break e;case 16:case 17:break f;default:break b}}d=_e(a,l[b+2>>1]);if(d){break a}d=j[a+32>>2];n=1;b=b+4|0;continue}f=k[b+1|0];e=f+d|0;if(e>>>0>m[a+36>>2]){d=85;break a}if((g|0)!=24){d=e;b=b+4|0;continue}Ae(l[b+2>>1]+c|0,d,f);d=e;b=b+4|0;continue}e=k[d+1|0]|k[d|0]<<8;f=16;d=d+2|0;break c}e=k[d|0]|k[d+1|0]<<8;f=16;d=d+2|0;break c}e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);f=0;d=d+4|0;break c}e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);f=0;d=d+4|0;break c}f=8;e=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);d=d+3|0;break c}f=8;e=k[d|0]|(k[d+1|0]<<8|k[d+2|0]<<16);d=d+3|0;break c}e=k[d|0];f=24;d=d+1|0}e=g&1?e<>f:e;f=l[b+2>>1]+c|0;m:{n:{switch(k[b+1|0]-1|0){case 0:h[f|0]=e;break m;case 1:i[f>>1]=e;break m;default:break n}}j[f>>2]=e}b=b+4|0;continue}break}j[a+32>>2]=d;d=0}if(n){if(j[a+20>>2]){b=j[a+28>>2];c=j[a>>2];if(c){qe[j[b+8>>2]](b,c)}j[a>>2]=0}j[a+32>>2]=0;j[a+36>>2]=0}return d}function YO(a,b){var c=0,d=0,e=0,f=0,g=0,i=0;c=oe-208|0;oe=c;d=6;a:{if(!a){break a}f=j[a>>2];if(!f){break a}g=j[f+4>>2];if(!g){break a}i=j[f>>2];if(!i){break a}if((g|0)==70276){d=0;break a}if(!j[g+28>>2]){break a}Ee(c+48|4,0,152);j[c+40>>2]=0;j[c+44>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c+204>>2]=c+8;j[c+48>>2]=i;j[c+120>>2]=j[g+4>>2];e=He(j[i>>2],52,c);d=j[c>>2];if(d){break a}j[e+8>>2]=1651078259;j[e+4>>2]=70276;j[e>>2]=i;d=qe[j[g+28>>2]](f,c+48|0)|0;if(!d){d=jO(j[f>>2],c+48|0,b)}b:{if(d){break b}d=18;if(j[c+120>>2]!=1651078259){break b}d=j[e>>2];j[e+20>>2]=j[c+148>>2];j[e+24>>2]=j[c+152>>2];b=e+28|0;c:{if(h[j[c+204>>2]+4|0]&1){d=j[c+128>>2];j[b>>2]=j[c+124>>2];j[b+4>>2]=d;d=j[c+144>>2];j[b+16>>2]=j[c+140>>2];j[b+20>>2]=d;d=j[c+136>>2];j[b+8>>2]=j[c+132>>2];j[b+12>>2]=d;b=j[c+204>>2];j[b+4>>2]=j[b+4>>2]&-2;break c}if(b){j[b>>2]=0;j[b+4>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0}d=xk(d,c+124|0,b);if(d){break b}}b=j[f+16>>2];j[e+12>>2]=j[f+12>>2];j[e+16>>2]=b;b=j[j[f>>2]>>2];d=j[j[f+4>>2]+12>>2];if(d){qe[d|0](f)}if(f){qe[j[b+8>>2]](b,f)}j[a>>2]=e;d=0;break a}a=j[j[e>>2]>>2];b=j[j[e+4>>2]+12>>2];if(b){qe[b|0](e)}if(e){qe[j[a+8>>2]](a,e)}}oe=c+208|0;return d}function ew(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;i=j[a+20>>2];l=i;m=j[a>>2];h=m;while(1){z=a;o=j[a+24>>2];if(o){while(1){f=j[l>>2];c=j[h>>2];b=c&255;d=c>>>8&255;e=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;e=(p(e,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}c=c>>>24|0;n=v?(p(c,q)>>>0)/255|0:c;c=f>>>8|0;g=f>>>16|0;if(!(!u|n>>>0>254)){e=(p(e,n)>>>0)/255|0;d=(p(d,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}o=o-1|0;f=f&255;c=c&255;g=g&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(e,f)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;g=(p(b,g)>>>0)/255|0;break a;case 0:A=e;e=255-n|0;f=A+((p(e,f)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+d|0;g=((p(e,g)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}e=e+f|0;f=e>>>0<255?e:255;d=c+d|0;c=d>>>0<255?d:255;b=b+g|0;g=b>>>0<255?b:255}j[l>>2]=c<<8|g<<16|f;l=l+4|0;h=h+4|0;if(o){continue}break}h=j[a+28>>2]}else{h=d}b=h;d=b-1|0;j[z+28>>2]=d;i=j[a+32>>2]+i|0;l=i;m=j[a+12>>2]+m|0;h=m;if(b){continue}break}j[a+20>>2]=i;j[a>>2]=m}}function $v(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;i=j[a+20>>2];l=i;m=j[a>>2];h=m;while(1){z=a;o=j[a+24>>2];if(o){while(1){f=j[l>>2];c=j[h>>2];b=c&255;d=c>>>8&255;e=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;e=(p(e,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}c=c>>>24|0;n=v?(p(c,q)>>>0)/255|0:c;c=f>>>8|0;g=f>>>16|0;if(!(!u|n>>>0>254)){e=(p(e,n)>>>0)/255|0;d=(p(d,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}o=o-1|0;f=f&255;c=c&255;g=g&255;a:{b:{switch(x|0){default:if(!y){break a}g=(p(e,g)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:A=e;e=255-n|0;g=A+((p(e,g)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+d|0;f=((p(e,f)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}e=e+g|0;g=e>>>0<255?e:255;d=c+d|0;c=d>>>0<255?d:255;b=b+f|0;f=b>>>0<255?b:255}j[l>>2]=c<<8|f|g<<16;l=l+4|0;h=h+4|0;if(o){continue}break}h=j[a+28>>2]}else{h=d}b=h;d=b-1|0;j[z+28>>2]=d;i=j[a+32>>2]+i|0;l=i;m=j[a+12>>2]+m|0;h=m;if(b){continue}break}j[a+20>>2]=i;j[a>>2]=m}}function sA(a,b){var c=0,d=0,e=0,f=0,g=0;e=oe;f=e;if(!(j[a>>2]==268305?a:0)){ve(31725,0);oe=f;return}a:{if(!b){ve(32163,0);break a}b:{if(j[a+192>>2]){break b}if(!(n[a+292>>2]==q(1)?n[a+288>>2]==q(1):0)){rA(a,b);break a}e=e-48|0;oe=e;while(1){d=c<<3;g=d+e|0;d=b+d|0;n[g>>2]=n[d>>2]*n[a+288>>2];n[g+4>>2]=n[d+4>>2]*n[a+292>>2];c=c+1|0;if((c|0)!=5){continue}break}c=-1;c:{if(Fj(a,k[a+324|0],k[a+325|0],k[a+326|0],k[a+327|0])){break c}d:{b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break d}b=Xe(1,28);if(b){break d}Be(0);break c}d=j[a+344>>2];j[(d?d+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){break c}j[b>>2]=6;j[b+4>>2]=0;j[b+8>>2]=0;h[b+12|0]=k[a+324|0];h[b+13|0]=k[a+325|0];h[b+14|0]=k[a+326|0];h[b+15|0]=k[a+327|0];c=j[a+328>>2];j[b+20>>2]=0;j[b+16>>2]=c;c=qe[j[a+32>>2]](a,b,e,5)|0;if((c|0)>-1){break c}j[b>>2]=0}if((c|0)<0){break b}if(j[a+336>>2]){oe=f;return}c=j[a+340>>2];if(!c){break b}b=a+420|0;qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[b+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}oe=f;return}oe=f}function Nv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c>>>24|0;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,t)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c&255;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){g=(p(g,m)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}e=(p(b,e)>>>0)/255|0;c=(p(c,g)>>>0)/255|0;f=(p(d,f)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;e=A+((p(b,e)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+g|0;f=((p(b,f)>>>0)/255|0)+d|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+e|0;e=b>>>0<255?b:255;b=c+g|0;c=b>>>0<255?b:255;b=d+f|0;f=b>>>0<255?b:255}j[i>>2]=c<<8|f<<16|e;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function Mw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c&255;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c>>>24|0;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){d=(p(d,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}e=(p(b,e)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;f=(p(f,g)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;e=A+((p(b,e)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+d|0;f=((p(b,f)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+e|0;e=b>>>0<255?b:255;b=c+d|0;c=b>>>0<255?b:255;b=f+g|0;f=b>>>0<255?b:255}j[i>>2]=c<<8|f<<16|e;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function Iw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c&255;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c>>>24|0;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){d=(p(d,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(b,f)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;f=A+((p(b,f)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+d|0;e=((p(b,e)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+f|0;f=b>>>0<255?b:255;b=c+d|0;c=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[i>>2]=c<<8|e|f<<16;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function Gv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c>>>24|0;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,t)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c&255;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){g=(p(g,m)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(b,f)>>>0)/255|0;c=(p(c,g)>>>0)/255|0;e=(p(e,d)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;f=A+((p(b,f)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+g|0;e=((p(b,e)>>>0)/255|0)+d|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+f|0;f=b>>>0<255?b:255;b=c+g|0;c=b>>>0<255?b:255;b=e+d|0;e=b>>>0<255?b:255}j[i>>2]=c<<8|e|f<<16;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function Ik(a){var b=0,c=0;b=j[67085];if(!b){ve(57733,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(56433,0);return}j[a+120>>2]=1;an(a);if(j[66371]==(a|0)){oo(0)}if(j[67024]==(a|0)){Lj(0)}if(!(!(k[a+48|0]&2)|j[j[67085]+696>>2]!=(a|0))){tg(a,0)}b=j[a+108>>2];if(b){j[b>>2]=j[b>>2]&-5;kf(b)}b=j[67085];c=j[b+144>>2];if(c){qe[c|0](b,a);b=j[67085]}c=j[b+132>>2];if(c){qe[c|0](b,a)}a:{if(!(k[a+48|0]&2)){break a}b=j[67085];if(!b){ve(57733,0);break a}c=j[b+432>>2];if((c|0)<1){break a}j[b+432>>2]=c-1;if((c|0)!=1){break a}c=j[b+176>>2];if(!c){break a}qe[c|0](b)}b:{if(!(k[a+51|0]&16)){break b}b=j[67085];if(!b){ve(57733,0);break b}c=j[b+720>>2];if((c|0)<1){break b}j[b+720>>2]=c-1;if((c|0)!=1){break b}c=j[b+216>>2];if(!c){break b}qe[c|0](b)}b=0;c=Ch(a);if((c|0)>=0){b=j[j[67085]+304>>2]+p(c,72)|0}if(j[b+60>>2]==(a|0)){j[b+60>>2]=0}j[a>>2]=0;b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}kf(j[a+12>>2]);b=j[a+100>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}while(1){b=j[a+140>>2];if(b){j[a+140>>2]=j[b+8>>2];c=j[b>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}continue}break}b=j[a+152>>2];if(b){j[b+148>>2]=j[a+148>>2]}c=j[a+148>>2];j[(c?c+152|0:j[67085]+308|0)>>2]=b;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function vE(){var a=0,b=0,c=0,d=0;d=oe-16|0;oe=d;a:{b:{c:{if(!j[57797]){break c}a=j[57801];if(!a){break c}c=231172;b=qe[a|0](1222)|0;if(b){break b}}d:{if(!j[57817]){break d}a=j[57821];if(!a){break d}c=231252;b=qe[a|0](1222)|0;if(b){break b}}c=fi(1222,20291);if(!c){j[d>>2]=1222;ve(20294,d);a=0;break a}b=0;a=Al(1222,46);e:{if(!a){break e}a=a+1|0;if(!Me(a,20313)){b=2;break e}b=4;if(!Me(a,20317)){break e}if(!Me(a,20249)){break e}if(!Me(a,20321)){break e}if(!Me(a,20325)){b=5;break e}if(!Me(a,20329)){b=8;break e}b=6;if(!Me(a,20334)){break e}if(!Me(a,20338)){break e}if(!Me(a,20254)){break e}if(!Me(a,20343)){break e}f:{if(!Me(a,20347)){break f}if(!Me(a,20351)){break f}if(!Me(a,20355)){break f}if(!Me(a,20359)){break f}if(!Me(a,20363)){break f}if(!Me(a,20367)){break f}if(!Me(a,20371)){break f}if(!Me(a,20374)){break f}if(!Me(a,20378)){break f}if(!Me(a,20245)){break f}if(!Me(a,20382)){break f}if(!Me(a,20386)){break f}if(!Me(a,20390)){break f}if(!Me(a,20394)){break f}if(!Me(a,20398)){break f}if(!Me(a,20402)){break f}if(!Me(a,20406)){break f}if(!Me(a,20410)){break f}if(!Me(a,20414)){break f}if(!Me(a,20418)){break f}b=0;if(Me(a,20422)){break e}}b=3}a=pE(c,b);break a}a=Xe(1,24);if(!a){a=0;ve(20277,0);break a}j[a+4>>2]=b;j[a>>2]=c}oe=d+16|0;return a}function vw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];d=j[n>>2];b=d>>>24|0;c=d>>>8&255;g=d>>>16&255;if(w){c=(p(c,r)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d&255;m=v?(p(d,q)>>>0)/255|0:d;d=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){c=(p(c,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;d=d&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}e=(p(c,e)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:A=c;c=255-m|0;e=A+((p(c,e)>>>0)/255|0)|0;d=((p(c,d)>>>0)/255|0)+g|0;f=((p(c,f)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+e|0;e=c>>>0<255?c:255;c=d+g|0;d=c>>>0<255?c:255;b=b+f|0;f=b>>>0<255?b:255}j[i>>2]=d<<8|f<<16|e;i=i+4|0;n=n+4|0;if(o){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[z+28>>2]=c;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function pw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];d=j[n>>2];b=d>>>24|0;c=d>>>8&255;g=d>>>16&255;if(w){c=(p(c,r)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d&255;m=v?(p(d,q)>>>0)/255|0:d;d=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){c=(p(c,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;d=d&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(c,f)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;e=(p(b,e)>>>0)/255|0;break a;case 0:A=c;c=255-m|0;f=A+((p(c,f)>>>0)/255|0)|0;d=((p(c,d)>>>0)/255|0)+g|0;e=((p(c,e)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+f|0;f=c>>>0<255?c:255;c=d+g|0;d=c>>>0<255?c:255;b=b+e|0;e=b>>>0<255?b:255}j[i>>2]=d<<8|e|f<<16;i=i+4|0;n=n+4|0;if(o){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[z+28>>2]=c;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function hx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+62|0];t=k[a+61|0];u=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;v=(b&48)!=0&(i|0)!=255;w=b&1;o=i^255;b=b&112;x=b-16|0;y=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];e=n;while(1){z=a;q=j[a+24>>2];if(q){while(1){d=j[m>>2];c=j[e>>2];b=c&255;f=c>>>8&255;g=c>>>16&255;if(w){f=(p(f,t)>>>0)/255|0;g=(p(g,u)>>>0)/255|0;b=(p(b,s)>>>0)/255|0}if(v){f=(p(f,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}q=q-1|0;r=d>>>24|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(x|0){default:if(!y){break a}c=(p(b,c)>>>0)/255|0;h=(p(f,h)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;break a;case 0:r=((p(o,r)>>>0)/255|0)+i|0;c=((p(c,o)>>>0)/255|0)+b|0;h=((p(h,o)>>>0)/255|0)+f|0;d=((p(d,o)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=f+h|0;h=b>>>0<255?b:255;b=d+g|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c|r<<24;m=m+4|0;e=e+4|0;if(q){continue}break}e=j[a+28>>2]}else{e=c}b=e;c=b-1|0;j[z+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;e=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function Sw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+62|0];t=k[a+61|0];u=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;v=(b&48)!=0&(i|0)!=255;w=b&1;o=i^255;b=b&112;x=b-16|0;y=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){z=a;q=j[a+24>>2];if(q){while(1){d=j[m>>2];c=j[f>>2];b=c&255;e=c>>>8&255;g=c>>>16&255;if(w){e=(p(e,t)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,u)>>>0)/255|0}if(v){e=(p(e,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}q=q-1|0;r=d>>>24|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(x|0){default:if(!y){break a}c=(p(c,g)>>>0)/255|0;h=(p(e,h)>>>0)/255|0;d=(p(b,d)>>>0)/255|0;break a;case 0:r=((p(o,r)>>>0)/255|0)+i|0;c=((p(c,o)>>>0)/255|0)+g|0;h=((p(h,o)>>>0)/255|0)+e|0;d=((p(d,o)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+g|0;c=c>>>0<255?c:255;e=e+h|0;h=e>>>0<255?e:255;b=b+d|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c|r<<24;m=m+4|0;f=f+4|0;if(q){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[z+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function Au(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=oe-1136|0;oe=c;a:{b:{c:{d:{if(!j[a+992>>2]){break d}d=j[a+396>>2];e=j[a+392>>2];f=j[a+404>>2];if(j[a+408>>2]){g=Vg()}else{g=0}e:{if(!(j[a+400>>2]|f&-5|(!d&(f|0)==4?0:(e|0)>=3))){d=0;if((f|0)!=4){break e}j[c+1072>>2]=12440;j[c+1076>>2]=(e|0)>1?e:1;d=2;break e}if(!nj(a,58783)){break c}j[c+1084>>2]=d;j[c+1080>>2]=12539;j[c+1076>>2]=e;j[c+1072>>2]=12440;if(f&-5){j[c+1092>>2]=f;j[c+1088>>2]=12541;d=6}else{d=4}e=j[a+400>>2];if(!e){break e}j[(c+1072|0)+(d<<2)>>2]=12540;d=d|1;j[(c+1072|0)+(d<<2)>>2]=e;d=d+1|0}i=c+1072|0;if(j[a+424>>2]){if(!nj(a,58908)){break b}e=(c+1072|0)+(d<<2)|0;j[e>>2]=12723;j[e+4>>2]=j[a+424>>2];d=d+2|0}j[(d<<2)+i>>2]=12344;qe[j[j[a+992>>2]+112>>2]]((f|0)==4?12448:12450)|0;d=j[a+992>>2];h=qe[j[d+64>>2]](j[d+8>>2],j[d+12>>2],g,c+1072|0)|0;d=j[a+992>>2];if(!h){a=59572;b=c;g=qe[j[d+116>>2]]()|0;d=g-12288|0;if(d>>>0<=14){a=j[(d<<2)+59576>>2]}if(!k[a|0]){j[c+16>>2]=g;Ue(c+48|0,32,58627,c+16|0);a=c+48|0}j[b+8>>2]=a;j[c+4>>2]=58697;j[c>>2]=58994;ve(58632,c);break d}j[d+16>>2]=0;if((Ck(a,b,h)|0)>-1){break a}Re(c+48|0,Ig(),1024);a=j[a+992>>2];if(a){qe[j[a+68>>2]](j[a+8>>2],h)|0}j[c+32>>2]=c+48;ve(59023,c+32|0)}h=0;break a}ve(58840,0);break a}ve(58940,0)}oe=c+1136|0;return h}function um(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;h=oe-16|0;oe=h;n=j[c+12>>2];i=k[a|0];if(i){g=i;e=a;while(1){f=p(f,31)+(g<<24>>24)|0;g=k[e+1|0];e=e+1|0;if(g){continue}break}}a:{b:{l=j[c+4>>2];e=n+((f>>>0)%(l>>>0)<<2)|0;g=j[e>>2];if(g){f=(n+(l<<2)|0)-4|0;while(1){l=j[g>>2];if((i|0)==k[l|0]){if(!we(l,a)){break b}}e=e-4|0;e=e>>>0>>0?f:e;g=j[e>>2];if(g){continue}break}}j[h+8>>2]=0;i=He(d,8,h+8|0);f=j[h+8>>2];if(f){break a}j[e>>2]=i;j[i+4>>2]=b;j[i>>2]=a;b=c;a=j[c+8>>2];if(a>>>0>=m[c>>2]){l=j[c+12>>2];o=j[c+4>>2];j[h+12>>2]=0;a=o<<1;j[c>>2]=(a>>>0)/3;j[c+4>>2]=a;t=c,u=xe(d,4,0,a,0,h+12|0),j[t+12>>2]=u;f=j[h+12>>2];if(f){j[h+8>>2]=f;break a}if(o){a=l;while(1){q=j[a>>2];if(q){r=j[c+12>>2];f=0;i=j[q>>2];n=k[i|0];g=n;e=i;if(g){while(1){f=p(f,31)+(g<<24>>24)|0;g=k[e+1|0];e=e+1|0;if(g){continue}break}}e=f;f=j[c+4>>2];g=((e>>>0)%(f>>>0)<<2)+r|0;e=j[g>>2];c:{if(!e){break c}f=((f<<2)+r|0)-4|0;while(1){e=j[e>>2];if((n|0)==k[e|0]){if(!we(e,i)){break c}}e=g-4|0;g=e>>>0>>0?f:e;e=j[g>>2];if(e){continue}break}}j[g>>2]=q}a=a+4|0;s=s+1|0;if((s|0)!=(o|0)){continue}break}}if(l){qe[j[d+8>>2]](d,l)}f=j[h+12>>2];j[h+8>>2]=f;if(f){break a}a=j[c+8>>2]}j[b+8>>2]=a+1;f=0;break a}f=0;j[h+8>>2]=0;j[g+4>>2]=b}oe=h+16|0;return f}function pm(a,b,c,d,e){var f=0,g=0,i=0,l=0,m=0,n=0,o=0;i=oe-32|0;oe=i;g=j[b+392>>2];l=b+8|0;m=g-l|0;o=m&8;if(!(k[e|0]|!o)){a:{if(!m){n=j[b+4>>2];if(!n|j[n>>2]){break a}j[n>>2]=130;break a}b:{switch(j[b+12>>2]-1|0){case 1:f=j[l>>2]<<16;break a;case 0:f=j[l>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break a}f=f- -8192>>14;break a;default:break b}}f=j[l>>2]}j[d>>2]=(j[j[j[a+132>>2]+736>>2]+532>>2]<<16)+f}if(!k[j[a+132>>2]+561|0]){c:{a=(o|0)!=0;m=m>>3;if(a>>>0>=m>>>0){break c}f=0;while(1){n=g-l>>3;d:{if(n>>>0<=a>>>0){d=0;g=j[b+4>>2];if(!g|j[g>>2]){break d}j[g>>2]=130;break d}e:{f:{g:{d=(a<<3)+b|0;switch(j[d+12>>2]-1|0){case 0:break f;case 1:break g;default:break e}}d=j[d+8>>2]<<16;break d}d=j[d+8>>2];if((d|0)<=-1){d=0-(8192-d>>14)|0;break d}d=d- -8192>>14;break d}d=j[d+8>>2]}f=d+f|0;j[i+12>>2]=f;d=a+1|0;h:{if(d>>>0>=n>>>0){g=0;d=j[b+4>>2];if(!d|j[d>>2]){break h}j[d>>2]=130;break h}i:{j:{k:{d=(d<<3)+b|0;switch(j[d+12>>2]-1|0){case 0:break j;case 1:break k;default:break i}}g=j[d+8>>2]<<16;break h}d=j[d+8>>2];if((d|0)<=-1){g=0-(8192-d>>14)|0;break h}g=d- -8192>>14;break h}g=j[d+8>>2]}j[i+20>>2]=0;j[i+24>>2]=0;h[i+8|0]=0;f=f+g|0;j[i+16>>2]=f;ur(c,i+8|0);a=a+2|0;if(m>>>0<=a>>>0){break c}g=j[b+392>>2];continue}}j[b+392>>2]=l}h[e|0]=1;oe=i+32|0}function pC(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0;e=oe-1072|0;oe=e;h=Te(40);j[h>>2]=0;Ee(e+168|0,0,900);j[e+924>>2]=1e3;j[e+928>>2]=8e6;j[e+916>>2]=1e6;j[e+920>>2]=1e6;j[67126]=0;f=e+168|0;if(f){j[f+724>>2]=0;j[f+720>>2]=0;j[f+716>>2]=0}f=j[67126];j[67126]=0;g=-1;i=4;a:{if(!f){break a}k=j[67127];if(!k){break a}g=ef(j[f>>2],h,4);if(!g){F(f|0,k|0);z()}D(k|0)}b:{f=C()|0;c:{if((g|0)==1){break c}j[67126]=0;f=e+168|0;if(f){j[f+172>>2]=d;j[f+168>>2]=c;j[f+176>>2]=b}b=j[67126];j[67126]=0;g=-1;d:{if(!b){break d}c=j[67127];if(!c){break d}g=ef(j[b>>2],h,4);if(!g){break b}D(c|0)}f=C()|0;if((g|0)==1){break c}h=ki(e,1,h,4);i=C()|0;f=0}b=f;e:{while(1){if(b){d=0;break e}j[e+332>>2]=0;j[e+324>>2]=37;j[67126]=0;j[e+328>>2]=e;d=L(64,e+168|0,a|0)|0;b=j[67126];j[67126]=0;g=-1;f:{if(!b){break f}c=j[67127];if(!c){break f}g=ef(j[b>>2],h,i);if(!g){break b}D(c|0)}b=C()|0;if((g|0)==1){continue}if(!d){d=0;break e}j[67126]=0;d=L(65,e+168|0,900)|0;b=j[67126];j[67126]=0;g=-1;g:{if(!b){break g}c=j[67127];if(!c){break g}g=ef(j[b>>2],h,i);if(!g){break b}D(c|0)}b=C()|0;if((g|0)==1){continue}break}if(!d){d=0;break e}j[e+432>>2]=d;j[e+428>>2]=66;j[e+424>>2]=67;j[e+332>>2]=0;j[e+324>>2]=0;j[e+328>>2]=0;Ae(d,e+168|0,900)}ze(h);oe=e+1072|0;return d}F(b|0,c|0);z()}function kA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,m=0;a:{if((k[a+644|0]&48)!=48){g=k[c+84|0]|k[c+85|0]<<8|(k[c+86|0]<<16|k[c+87|0]<<24);m=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);i=65536;g=0;while(1){b:{h=g<<5;if(j[h+4380>>2]!=(m|0)){break b}e=k[c+88|0]|k[c+89|0]<<8|(k[c+90|0]<<16|k[c+91|0]<<24);if(j[h+4384>>2]!=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))){break b}e=k[c+92|0]|k[c+93|0]<<8|(k[c+94|0]<<16|k[c+95|0]<<24);if(j[h+4388>>2]!=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))){break b}e=k[c+96|0]|k[c+97|0]<<8|(k[c+98|0]<<16|k[c+99|0]<<24);if(j[h+4392>>2]!=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))){break b}if(!f){f=k[c+64|0]|k[c+65|0]<<8|(k[c+66|0]<<16|k[c+67|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24)}if(j[h+4376>>2]!=(f|0)|l[h+4398>>1]!=(i|0)){break b}c:{if(d){e=d}else{e=wi(wi(0,0,0),c,f)}d=g<<5;if((e|0)!=j[d+4368>>2]){break c}if((Sf(Sf(0,0,0),c,f)|0)!=j[d+4372>>2]){break c}if(g-5>>>0<=1){Pf(a,4592,2);break a}if(g-4>>>0>2){break a}Pf(a,4621,0);break a}Pf(a,4664,0);return}g=g+1|0;if((g|0)!=7){continue}break}}return}d=a;a=k[c+64|0]|k[c+65|0]<<8|(k[c+66|0]<<16|k[c+67|0]<<24);eo(d,b,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))}function Fk(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;a:{if(!(!b|(!c|!a))){d=j[b+128>>2];if((j[b+132>>2]-d|0)<1){b:{if((2147483647-d|0)>=1){f=d+1|0;f=(f|0)<2147483639?f+8&-8:2147483647;d=Pk(a,j[b+136>>2],d,f-d|0,28);if(d){break b}}Pf(a,5298,1);return 1}Ke(a,j[b+136>>2]);j[b+136>>2]=d;j[b+132>>2]=f;j[b+232>>2]=j[b+232>>2]|16384}while(1){l=p(o,28)+c|0;d=j[l+4>>2];c:{if(!d){break c}i=j[l>>2];if(i+1>>>0>=4){Pf(a,5319,1);break c}e=p(j[b+128>>2],28);g=j[b+136>>2];f=Le(d);q=(i|0)<1;d:{if(q){m=0;d=0;break d}d=0;m=0;n=j[l+20>>2];if(n){m=Le(n)}n=j[l+24>>2];if(!n){break d}d=Le(n)}e=e+g|0;g=j[l+8>>2];e:{if(!(k[g|0]?g:0)){if(!q){j[e>>2]=1;g=0;break e}j[e>>2]=-1;g=0;break e}g=Le(g);j[e>>2]=i}i=$f(a,(((f+m|0)+d|0)+g|0)+4|0);j[e+4>>2]=i;if(!i){break a}Ae(i,j[l+4>>2],f);i=e+4|0;h[f+j[i>>2]|0]=0;f:{if(j[l>>2]>=1){f=(f+j[e+4>>2]|0)+1|0;j[e+20>>2]=f;Ae(f,j[l+20>>2],m);h[j[e+20>>2]+m|0]=0;f=(j[e+20>>2]+m|0)+1|0;j[e+24>>2]=f;Ae(f,j[l+24>>2],d);h[j[e+24>>2]+d|0]=0;i=e+24|0;break f}j[e+20>>2]=0;j[e+24>>2]=0;d=f}d=(j[i>>2]+d|0)+1|0;j[e+8>>2]=d;if(g){Ae(d,j[l+8>>2],g);d=j[e+8>>2]}h[d+g|0]=0;d=j[e>>2]>0;j[e+16>>2]=d?g:0;j[e+12>>2]=d?0:g;j[b+128>>2]=j[b+128>>2]+1}o=o+1|0;if((o|0)!=1){continue}break}}return 0}Pf(a,5357,1);return 1}function yM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(m[a+404>>2]>=a+24>>>0){g=j[a+412>>2];c=j[a+20>>2];d=j[a+16>>2];f=k[d|0];a:{b:{if((f|0)==30){b=Jf(d,c,0,0)>>16;break b}c:{switch(f-28|0){case 0:if(d+3>>>0>c>>>0){break a}b=k[d+1|0]|k[d+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break b;case 1:if(d+5>>>0>c>>>0){break a}b=k[d+1|0]|k[d+2|0]<<8|(k[d+3|0]<<16|k[d+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b;default:break c}}b=f-139|0;if(f>>>0<=246){break b}b=d+2|0;if(f>>>0<=250){if(c>>>0>>0){break a}b=(k[d+1|0]|f<<8)-63124|0;break b}if(c>>>0>>0){break a}b=64148-(k[d+1|0]|f<<8)|0}e=b;if((e|0)<0){return 3}c=j[a+20>>2]}j[g+120>>2]=e;e=j[a+24>>2];d:{b=k[c|0];e:{if((b|0)==30){a=Jf(c,e,0,0)>>16;break e}f:{switch(b-28|0){case 0:a=0;if(e>>>0>>0){break d}a=k[c+1|0]|k[c+2|0]<<8;a=(a<<24|a<<8&16711680)>>16;break e;case 1:a=0;if(e>>>0>>0){break d}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e;default:break f}}a=b-139|0;if(b>>>0<=246){break e}d=c+2|0;if(b>>>0<=250){a=0;if(d>>>0>e>>>0){break d}a=(k[c+1|0]|b<<8)-63124|0;break e}a=0;if(d>>>0>e>>>0){break d}a=64148-(k[c+1|0]|b<<8)|0}if((a|0)>=0){break d}return 3}j[g+116>>2]=a;a=0}else{a=161}return a|0}function Fj(a,b,c,d,e){var f=0,g=0,i=0;a:{g=c<<8|b<<16|d|e<<24;b:{if(!((g|0)==j[a+356>>2]?j[a+396>>2]:0)){c:{f=j[a+348>>2];if(f){j[a+348>>2]=j[f+24>>2];j[f+24>>2]=0;break c}f=Xe(1,28);if(f){break c}break a}i=j[a+344>>2];j[(i?i+24|0:a+340|0)>>2]=f;j[a+344>>2]=f;if(!f){return-1}j[f>>2]=3;j[f+4>>2]=0;h[f+11|0]=e;h[f+10|0]=d;h[f+9|0]=c;h[f+8|0]=b;e=qe[j[a+24>>2]](a,f)|0;if((e|0)<=-1){j[f>>2]=0;return e}j[a+396>>2]=1;j[a+356>>2]=g;if(e){break b}}d:{if(j[a+400>>2]){if(!wf(a+216|0,a+360|0,16)){break d}}e:{f=j[a+348>>2];if(f){j[a+348>>2]=j[f+24>>2];j[f+24>>2]=0;break e}f=Xe(1,28);if(f){break e}break a}b=j[a+344>>2];j[(b?b+24|0:a+340|0)>>2]=f;j[a+344>>2]=f;if(!f){return-1}j[f>>2]=1;j[f+4>>2]=0;b=a+216|0;Ge(f+8|0,b,16);e=qe[j[a+20>>2]](a,f)|0;if((e|0)<=-1){j[f>>2]=0;return e}Ge(a+360|0,b,16);j[a+400>>2]=1;if(e){break b}}f:{if(!(!j[a+404>>2]|j[a+280>>2]!=j[a+392>>2])){if(!wf(a+248|0,a+376|0,16)){break f}}g:{f=j[a+348>>2];if(f){j[a+348>>2]=j[f+24>>2];j[f+24>>2]=0;break g}f=Xe(1,28);if(f){break g}break a}b=j[a+344>>2];j[(b?b+24|0:a+340|0)>>2]=f;j[a+344>>2]=f;if(!f){return-1}j[f>>2]=2;j[f+4>>2]=j[a+280>>2];b=a+248|0;Ge(f+8|0,b,16);Ge(a+376|0,b,16);j[a+404>>2]=1;j[a+392>>2]=j[a+280>>2]}e=0}return e}Be(0);return-1}function Tp(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;f=oe;u=f;k=j[b>>2];g=j[k+4>>2];h=j[a+36>>2]>>1;g=((g|0)<(h|0)?g:h)-j[k>>2]|0;a:{if((g|0)<1){break a}m=j[j[b+16>>2]>>2];q=j[k+8>>2];g=(g|0)/(q|0)|0;n=f-((d<<2)+15&-16)|0;oe=n;if((d|0)>=1){h=((g+m|0)-1|0)/(m|0)<<2;f=0;while(1){z=(f<<2)+n|0,A=Ef(a,h),j[z>>2]=A;f=f+1|0;if((f|0)!=(d|0)){continue}break}}f=j[b+8>>2];if((f|0)<1){break a}r=a+4|0;h=0;v=(g|0)<1;while(1){if(!v){a=0;s=(d|0)<1;w=s|(h|0)!=0;x=1<>2],r);if((i|0)==-1|(i|0)>=j[k+16>>2]){break a}i=j[j[b+28>>2]+(i<<2)>>2];j[j[(f<<2)+n>>2]+(o<<2)>>2]=i;if(!i){break a}f=f+1|0;if((f|0)!=(d|0)){continue}break}}b:{if((m|0)<1){break b}i=0;if((a|0)>=(g|0)){break b}while(1){if(!s){y=p(a,q);f=0;while(1){t=f<<2;l=j[j[j[t+n>>2]+(o<<2)>>2]+(i<<2)>>2]<<2;c:{if(!(j[(l+k|0)+24>>2]&x)){break c}l=j[j[l+j[b+20>>2]>>2]+(h<<2)>>2];if(!l){break c}if((qe[e|0](l,j[c+t>>2]+(j[k>>2]+y<<2)|0,r,q)|0)==-1){break a}}f=f+1|0;if((f|0)!=(d|0)){continue}break}}a=a+1|0;i=i+1|0;if((m|0)<=(i|0)){break b}if((a|0)<(g|0)){continue}break}}o=o+1|0;if((a|0)<(g|0)){continue}break}f=j[b+8>>2]}h=h+1|0;if((h|0)<(f|0)){continue}break}}oe=u}function gr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,q=0,r=0,t=0;j[d>>2]=0;j[d+4>>2]=0;g=b?b-1|0:0;b=j[a+408>>2];a:{if(g>>>0>b>>>0){break a}c=c?c-1|0:0;if(c>>>0>b>>>0){break a}b=j[a+424>>2];if(!b){break a}f=c<<4;c=j[a+416>>2];g=l[f+c>>1]|j[c+(g<<4)>>2]<<16;o=j[a+104>>2];while(1){if(!(g>>>0<=m[b+20>>2]?g>>>0>=m[b+16>>2]:0)){b=j[b>>2];if(b){continue}break a}break}e=Fe(o,j[b+12>>2]);if(e){break a}e=_e(o,p(j[b+8>>2],k[b+4|0]));if(e){break a}a=k[b+5|0];t=a&2;r=a&1;q=j[b+8>>2];e=j[o+32>>2];a=k[b+4|0];c=-2147483648>>>s(a)|0;a=a-c|0;b:{c:{d:{if(!a){break d}a=p(a,q)+e|0;e:{if(r){h=k[a+1|0]<<16|k[a|0]<<24|k[a+2|0]<<8;n=a+3|0;a=a+4|0;break e}n=a+1|0;h=k[a|0]<<16;a=a+2|0}f=k[n|0]|h;if((f|0)==(g|0)){break c}if(g>>>0<=f>>>0){break d}e=(t?2:1)+a|0}f=p(c,q);if(q>>>0>>0){while(1){f=f>>>1|0;c=f+e|0;f:{if(r){h=k[c+1|0]<<16|k[c|0]<<24|k[c+2|0]<<8;n=c+3|0;a=c+4|0;break f}n=c+1|0;h=k[c|0]<<16;a=c+2|0}h=k[n|0]|h;if((h|0)==(g|0)){break c}e=g>>>0>h>>>0?c:e;if(f>>>0>q>>>0){continue}break}}g:{if(r){f=3;c=k[e+1|0]<<16|k[e|0]<<24|k[e+2|0]<<8;a=e+4|0;break g}f=1;c=k[e|0]<<16;a=e+2|0}if((g|0)!=(c|k[e+f|0])){break b}}c=k[a|0];if(t){c=(k[a+1|0]|c<<8)<<16>>16}j[d>>2]=i[b+6>>1]+c}Ve(o);e=0}return e|0}function fy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0;b=j[a+36>>2]/2|0;a:{g=j[a+28>>2];if(!g){break a}d=j[a+56>>2];e=j[a+48>>2];h=j[a+16>>2];f=j[a+24>>2];m=f&7;n=(f+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];o=b<<1;b:while(1){f=n;c:{d:{switch(m-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=1;continue;case 1:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=2;continue;case 2:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=3;continue;case 3:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=4;continue;case 4:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=5;continue;case 5:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=6;continue;case 6:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=7;continue;default:break e}}b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}b=g-1|0;a=a+2|0;c=c+1|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+h|0;a=a+o|0;g=b;if(b){continue b}break a}b=0;continue}}}}function dy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;b=j[a+36>>2]/4|0;a:{g=j[a+28>>2];if(!g){break a}d=j[a+56>>2];e=j[a+48>>2];h=j[a+16>>2];f=j[a+24>>2];i=f&7;l=(f+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];m=b<<2;b:while(1){f=l;c:{d:{switch(i-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=1;continue;case 1:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=2;continue;case 2:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=3;continue;case 3:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=4;continue;case 4:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=5;continue;case 5:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=6;continue;case 6:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=7;continue;default:break e}}b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}b=g-1|0;a=a+4|0;c=c+1|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+h|0;a=a+m|0;g=b;if(b){continue b}break a}b=0;continue}}}}function sx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];e=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[e>>2];b=c&255;f=c>>>8&255;g=c>>>16&255;if(v){f=(p(f,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}if(u){f=(p(f,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}c=(p(b,c)>>>0)/255|0;h=(p(f,h)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;break a;case 0:c=((p(c,q)>>>0)/255|0)+b|0;h=((p(h,q)>>>0)/255|0)+f|0;d=((p(d,q)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=f+h|0;h=b>>>0<255?b:255;b=d+g|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c;m=m+4|0;e=e+4|0;if(o){continue}break}e=j[a+28>>2]}else{e=c}b=e;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;e=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function ox(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];e=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[e>>2];b=c&255;f=c>>>8&255;g=c>>>16&255;if(v){f=(p(f,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}if(u){f=(p(f,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}d=(p(b,d)>>>0)/255|0;h=(p(f,h)>>>0)/255|0;c=(p(c,g)>>>0)/255|0;break a;case 0:d=((p(d,q)>>>0)/255|0)+b|0;h=((p(h,q)>>>0)/255|0)+f|0;c=((p(c,q)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+d|0;d=b>>>0<255?b:255;b=f+h|0;h=b>>>0<255?b:255;c=c+g|0;c=c>>>0<255?c:255}j[m>>2]=h<<8|c|d<<16;m=m+4|0;e=e+4|0;if(o){continue}break}e=j[a+28>>2]}else{e=c}b=e;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;e=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function cx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[f>>2];b=c&255;e=c>>>8&255;g=c>>>16&255;if(v){e=(p(e,s)>>>0)/255|0;g=(p(g,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}if(u){e=(p(e,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}c=(p(c,g)>>>0)/255|0;h=(p(e,h)>>>0)/255|0;d=(p(b,d)>>>0)/255|0;break a;case 0:c=((p(c,q)>>>0)/255|0)+g|0;h=((p(h,q)>>>0)/255|0)+e|0;d=((p(d,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+g|0;c=c>>>0<255?c:255;e=e+h|0;h=e>>>0<255?e:255;b=b+d|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c;m=m+4|0;f=f+4|0;if(o){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function Zw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];g=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[g>>2];b=c&255;e=c>>>8&255;f=c>>>16&255;if(v){e=(p(e,s)>>>0)/255|0;f=(p(f,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}if(u){e=(p(e,i)>>>0)/255|0;f=(p(f,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}d=(p(d,f)>>>0)/255|0;h=(p(e,h)>>>0)/255|0;c=(p(b,c)>>>0)/255|0;break a;case 0:d=((p(d,q)>>>0)/255|0)+f|0;h=((p(h,q)>>>0)/255|0)+e|0;c=((p(c,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}f=d+f|0;d=f>>>0<255?f:255;e=e+h|0;h=e>>>0<255?e:255;c=b+c|0;c=c>>>0<255?c:255}j[m>>2]=h<<8|c|d<<16;m=m+4|0;g=g+4|0;if(o){continue}break}g=j[a+28>>2]}else{g=c}b=g;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;g=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function aq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;m=oe+ -64|0;oe=m;q=6;e=j[a+528>>2];a:{if(!e){break a}d=j[e+4>>2];b:{if(!d){d=0;break b}t=b>>>0>d>>>0?d:b;while(1){b=p(f,12)+e|0;o=b;i=j[b+96>>2];n=j[b+92>>2];c:{if(f>>>0>>0){b=k[o+88|0];h=j[(f<<2)+c>>2];break c}b=k[o+88|0];h=(j[((b<<2)+n|0)-4>>2]-j[n>>2]|0)/2|0}d:{e:{f:{if(b&255){b=0;g=-1;g:{while(1){l=b<<2;r=l+n|0;s=j[r>>2];if((h|0)==(s|0)){break e}if((h|0)<(s|0)){break g}g=b;b=b+1|0;l=k[o+88|0];if(b>>>0>>0){continue}break}b=j[(i+(l<<2)|0)-4>>2];break d}if((g|0)>-1){break f}}b=j[i>>2];break d}b=g<<2;g=j[b+n>>2];b=Ne(h-g|0,j[i+l>>2]-j[b+i>>2]|0,j[r>>2]-g|0);d=j[e+4>>2];break d}b=j[i+l>>2]}j[(f<<2)+m>>2]=b;f=f+1|0;if(f>>>0>>0){continue}break}e=j[a+528>>2];if(!e){break a}}q=0;f=j[e>>2];if(!f){break a}c=j[e+4>>2];i=c>>>0>>0?c:d;d=0;while(1){g=65536;b=0;h=0;a=65536;if(c){while(1){a=32768;h:{i:{if(b>>>0>=i>>>0){break i}a=j[(b<<2)+m>>2];if((a|0)<1){a=0;break i}c=65536;if((a|0)>65535){break h}}c=a}g=ye(g,d>>>b&1?c:65536-c|0);b=b+1|0;h=j[e+4>>2];if(b>>>0>>0){continue}break}f=j[e>>2];a=g}j[j[e+136>>2]+(d<<2)>>2]=a;c=h;d=d+1|0;if(f>>>0>d>>>0){continue}break}}oe=m- -64|0;return q|0}function ZG(a){a=a|0;var b=0,c=0,d=0;if(a){c=j[a+100>>2];b=j[a+544>>2];if(b){if(b){qe[j[c+8>>2]](c,b)}j[a+540>>2]=0;j[a+544>>2]=0}Ol(a);j[a+528>>2]=0;b=j[a+132>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+136>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0;b=j[a+144>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+144>>2]=0;b=j[a+148>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+148>>2]=0;b=j[a+428>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+428>>2]=0;b=j[a+424>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+424>>2]=0;b=j[a+420>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+420>>2]=0;b=j[a+408>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+408>>2]=0;b=j[a+412>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+412>>2]=0;b=j[a+392>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+392>>2]=0;b=j[a+396>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+396>>2]=0;b=j[a+400>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+400>>2]=0;b=j[a+384>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+384>>2]=0;b=j[a+388>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+388>>2]=0;b=j[a+364>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+364>>2]=0;b=j[a+492>>2];if(b){d=j[b+36>>2];if(d){qe[j[c+8>>2]](c,d)}j[b+36>>2]=0;j[b+40>>2]=0;d=j[b+28>>2];if(d){qe[j[c+8>>2]](c,d)}j[b+28>>2]=0;j[b+32>>2]=0;if(b){qe[j[c+8>>2]](c,b)}}j[a+20>>2]=0;j[a+24>>2]=0}}function Nk(a,b){var c=0,d=0,e=0;e=oe-32|0;oe=e;d=-1;a:{if(!ai(b,e+28|0,e+24|0,e+20|0,e+16|0,e+12|0)){break a}Oe(a,0,44);j[a>>2]=b;b=j[e+28>>2];h[a+8|0]=b;h[a+9|0]=(b+7|0)/8;b=j[e+24>>2];h[a+32|0]=0;j[a+12>>2]=b;h[a+28|0]=8;b:{if(!b){break b}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+32|0]=c;if(!(d&2)){break b}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+28|0]=c}b=j[e+20>>2];c=0;h[a+33|0]=0;j[a+16>>2]=b;h[a+29|0]=8;c:{if(!b){break c}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+33|0]=c;if(!(d&2)){break c}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+29|0]=c}b=j[e+16>>2];c=0;h[a+34|0]=0;j[a+20>>2]=b;h[a+30|0]=8;d:{if(!b){break d}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+34|0]=c;if(!(d&2)){break d}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+30|0]=c}b=j[e+12>>2];c=0;h[a+35|0]=0;j[a+24>>2]=b;h[a+31|0]=8;e:{if(!b){break e}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+35|0]=c;if(!(d&2)){break e}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+31|0]=c}j[a+36>>2]=1;j[a+40>>2]=0;j[a+4>>2]=0;d=0}oe=e+32|0;return d}function $N(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=oe-48|0;oe=e;f=Fe(a,b);j[e+44>>2]=f;a:{if(f){break a}f=uf(a,e+16|0,16);j[e+44>>2]=f;if(f){break a}f=d;d=j[e+16>>2];g=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+b|0;j[f>>2]=g;f=2;d=j[e+20>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break a}b=b+d|0;if((b|0)!=(k[e+27|0]+(((g+(k[e+24|0]<<24)|0)+(k[e+25|0]<<16)|0)+(k[e+26|0]<<8)|0)|0)){break a}f=Fe(a,b);j[e+44>>2]=f;if(f){break a}h[e+15|0]=k[e+31|0]+1;f=uf(a,e,16);j[e+44>>2]=f;if(f){break a}d=k[e+1|0];g=k[e|0];i=k[e+2|0];l=k[e+3|0];m=k[e+4|0];n=k[e+5|0];o=k[e+6|0];p=k[e+7|0];q=k[e+8|0];r=k[e+9|0];s=k[e+10|0];t=k[e+11|0];u=k[e+12|0];v=k[e+13|0];w=k[e+14|0];x=k[e+15|0];if(!((d|0)==k[e+17|0]&(g|0)==k[e+16|0]&(i|0)==k[e+18|0]&(l|0)==k[e+19|0]&(m|0)==k[e+20|0]&(n|0)==k[e+21|0]&(o|0)==k[e+22|0]&(p|0)==k[e+23|0]&(q|0)==k[e+24|0]&(r|0)==k[e+25|0]&(s|0)==k[e+26|0]&(t|0)==k[e+27|0]&(u|0)==k[e+28|0]&(v|0)==k[e+29|0]&(w|0)==k[e+30|0]&(x|0)==k[e+31|0])){f=2;if(d|g|i|l|m|n|o|p|q|r|s|t|u|v|w|x){break a}}y=e,z=xf(a,8),j[y+44>>2]=z;d=qf(a,e+44|0);f=j[e+44>>2];if(f){break a}f=a;a=b+d|0;f=Fe(f,a);if(f){break a}j[c>>2]=a;f=0}oe=e+48|0;return f}function zN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;a:{if(!a|!b){break a}f=j[a+4>>2];c=j[a>>2];if(!(f|c)){break a}d=f>>31;e=c>>31;l=d+f^d|e+c^e;i=s(l);k=i-2|0;b:{if(l>>>0<=1073741823){d=f<>f;c=c>>f}c:{if((b|0)>=-2949120){e=b;f=c;break c}while(1){f=d;d=0-c|0;g=(b|0)<-8847360;c=f;e=b+5898240|0;b=e;if(g){continue}break}}d:{if((e|0)<=2949120){b=d;c=e;break d}while(1){b=f;f=0-d|0;g=(e|0)>8847360;d=b;c=e-5898240|0;e=c;if(g){continue}break}}g=74944;e=1;d=1;while(1){h=b+e>>d;e:{if((c|0)<=-1){c=j[g>>2]+c|0;b=b-(e+f>>d)|0;f=f+h|0;break e}c=c-j[g>>2]|0;b=(e+f>>d)+b|0;f=f-h|0}e=e<<1;g=g+4|0;d=d+1|0;if((d|0)!=23){continue}break}c=b>>31;d=c+b^c;e=d&65535;c=p(e,56281);g=d>>>16|0;d=c+p(g,23318)|0;h=d<<16;e=h+p(e,23318)|0;c=(((p(g,56281)+(d>>>16|0)|0)+((c>>>0>d>>>0)<<16)|0)+(e>>>0>>0)|0)+(e>>>0>3221225471)|0;b=(b|0)<0?0-c|0:c;c=f>>31;d=c+f^c;e=d&65535;c=p(e,56281);g=d>>>16|0;d=c+p(g,23318)|0;h=d<<16;e=h+p(e,23318)|0;c=(((p(g,56281)+(d>>>16|0)|0)+((c>>>0>d>>>0)<<16)|0)+(e>>>0>>0)|0)+(e>>>0>3221225471)|0;f=(f|0)<0?0-c|0:c;if(l>>>0<=536870911){c=1<>2]=(c+b|0)+(b>>31)>>k;j[a>>2]=(c+f|0)+(f>>31)>>k;return}c=b;b=2-i|0;j[a+4>>2]=c<>2]=f<>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];s=(j[a+4>>2]<<16)/(g|0)|0;t=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;u=c-16|0;v=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){n=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;n=((b>>>16|0)+n|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(n<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];r=e>>>24|0;h=e&255;b=j[q>>2];i=b&255;k=e>>>8&255;l=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(u|0){default:if(!v){break a}h=(p(h,i)>>>0)/255|0;k=(p(e,k)>>>0)/255|0;l=(p(b,l)>>>0)/255|0;break a;case 0:r=255;l=b;k=e;h=i;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}i=h+i|0;h=i>>>0<255?i:255;e=e+k|0;k=e>>>0<255?e:255;b=b+l|0;l=b>>>0<255?b:255}j[c>>2]=k<<8|l<<16|h|r<<24;c=c+4|0;d=d+s|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){f=f+t|0;g=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function Vw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];s=(j[a+4>>2]<<16)/(g|0)|0;t=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;u=c-16|0;v=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){m=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;m=((b>>>16|0)+m|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(m<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];r=e>>>24|0;h=e&255;b=j[q>>2];n=b&255;i=e>>>8&255;k=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(u|0){default:if(!v){break a}h=(p(b,h)>>>0)/255|0;i=(p(e,i)>>>0)/255|0;k=(p(k,n)>>>0)/255|0;break a;case 0:r=255;k=n;i=e;h=b;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+h|0;h=b>>>0<255?b:255;b=e+i|0;i=b>>>0<255?b:255;b=k+n|0;k=b>>>0<255?b:255}j[c>>2]=i<<8|k<<16|h|r<<24;c=c+4|0;d=d+s|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){f=f+t|0;g=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function wx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;b=j[a+36>>2]/2|0;d=j[a+16>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}e=j[a+24>>2];h=e&7;e=(e+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];k=b<<1;l=d<<2;b:while(1){d=e;c:{d:{switch(h-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=1;continue;case 1:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=2;continue;case 2:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=3;continue;case 3:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=4;continue;case 4:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=5;continue;case 5:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=6;continue;case 6:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=7;continue;default:break e}}b=f-1|0;g=j[c>>2];i[a>>1]=g>>>8&63488|g>>>5&2016|g>>>3&31;a=a+2|0;c=c+4|0;f:{if((d|0)>1){d=d-1|0;break f}a=a+k|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function hk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;e=oe-16|0;oe=e;f=j[a+100>>2];j[e+12>>2]=0;d=j[a+528>>2];a:{if(!d){d=He(f,420,e+12|0);if(j[e+12>>2]){break a}j[d+416>>2]=0;j[a+528>>2]=d}b:{c:{if(!b){break c}g=j[d>>2];if(!g){l=d,m=xe(f,32,0,b,0,e+12|0),j[l+148>>2]=m;if(j[e+12>>2]){break a}l=d,m=xe(f,196,0,b,0,e+12|0),j[l+216>>2]=m;if(j[e+12>>2]){break a}l=d,m=xe(f,16,0,b,0,e+12|0),j[l+288>>2]=m;if(j[e+12>>2]){break a}g=xe(f,4,0,b<<1,0,e+12|0);j[d+136>>2]=g;if(j[e+12>>2]){break a}j[d+284>>2]=a+460;j[d+212>>2]=a+168;j[d+144>>2]=a+132;j[d+140>>2]=g+(b<<2);if(b>>>0>=2){g=j[d+288>>2];h=j[d+216>>2];i=j[d+148>>2];a=2;while(1){k=(a<<2)+d|0;g=g+16|0;j[k+284>>2]=g;h=h+196|0;j[k+212>>2]=h;i=i+32|0;j[k+144>>2]=i;a=a+1|0;if(b>>>0>=a>>>0){continue}break}}j[d>>2]=b;break c}if((b|0)!=(g|0)){break b}}a=j[d+4>>2];d:{if(!c){c=a;break d}if((a|0)!=(c|0)?a:0){break b}j[d+4>>2]=c}b=j[d>>2];if(j[d+24>>2]|(!b|!c)){break a}f=xe(f,4,0,p(b,c),0,e+12|0);j[d+24>>2]=f;if(j[e+12>>2]){break a}a=2;if(b>>>0<2){break a}j[d+28>>2]=f+(c<<2);if((b|0)==2){break a}f=d+24|0;while(1){j[f+(a<<2)>>2]=j[d+24>>2]+(p(a,c)<<2);a=a+1|0;if((b|0)!=(a|0)){continue}break}break a}j[e+12>>2]=3}oe=e+16|0;return j[e+12>>2]}function cl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=oe-48|0;oe=e;a:{if(!a){ve(31492,0);break a}if(Hk(a,31682)){ve(31507,0);break a}b:{if(!eg(31547)){break b}if(xg(31547,1)){c=c|4;break b}c=c&-5}c:{d:{e:{if((b|0)<=-1){b=1;d=eg(31564);f:{if(!d){break f}g=a;h=c;f=231392;g:{if(!Me(d,j[57849])){break g}if(Me(d,j[57951])){break f}f=231800}d=qe[j[f>>2]](g,h)|0;b=!d;if(d){break d}}if((j[57850]&c)==(c|0)){d=qe[j[57848]](a,c)|0;if(d){break d}}if((j[57952]&c)==(c|0)){break e}break c}if((b|0)>=2){j[e+16>>2]=1;ve(31619,e+16|0);break a}c=qe[j[j[(b<<2)+31484>>2]>>2]](a,c)|0;if(!c){break a}b=0;d=c;break d}d=qe[j[57950]](a,c)|0;if(!d){break c}}c=1;h:{if(j[d+332>>2]){break h}c=b;if(!eg(31662)){break h}c=xg(31662,1)}j[d+188>>2]=a;j[d>>2]=268305;j[d+336>>2]=c;b=Hi();j[d+352>>2]=1;j[d+304>>2]=1065353216;j[d+308>>2]=1065353216;j[d+288>>2]=1065353216;j[d+292>>2]=1065353216;j[d+320>>2]=b;b=j[d+8>>2];i:{if(!b){break i}if(qe[b|0](d,e+36|0,e+32|0)|0){break i}Wg(j[d+188>>2],e+44|0,e+40|0);n[d+304>>2]=q(j[e+44>>2])/q(j[e+36>>2]);n[d+308>>2]=q(j[e+40>>2])/q(j[e+32>>2])}i=d,k=(Ii(a)&72)!=0,j[i+192>>2]=k;rj(a,31682,d);mh(d,0);so(170,d);j[e>>2]=j[d+104>>2];GC(e);break a}d=0;ve(31582,0)}oe=e+48|0;return d}function Aj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;d=j[a+36>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}g=j[a+16>>2];e=j[a+24>>2];h=e&7;i=(e+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];l=d<<2;b:while(1){e=i;c:{d:{switch(h-1|0){default:d=0;break c;case 0:d=7;break c;case 1:d=6;break c;case 2:d=5;break c;case 3:d=4;break c;case 4:d=3;break c;case 5:d=2;break c;case 6:break d}}d=1}while(1){e:{switch(d|0){case 0:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=1;continue;case 1:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=2;continue;case 2:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=3;continue;case 3:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=4;continue;case 4:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=5;continue;case 5:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=6;continue;case 6:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=7;continue;default:break e}}d=f-1|0;j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;f:{if((e|0)>1){e=e-1|0;break f}c=c+g|0;a=a+l|0;f=d;if(d){continue b}break a}d=0;continue}}}}function Oq(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=k[a+9|0];if(c>>>0<8){break a}d=k[a+8|0];if(d&2){break a}e=j[a>>2];b:{c:{switch(d|0){case 0:if((c|0)==8){if(!e){break b}c=(b+e|0)-1|0;b=c+(e<<1)|0;d=0;while(1){h[b|0]=k[c|0];h[b-1|0]=k[c|0];h[b-2|0]=k[c|0];b=b-3|0;c=c-1|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break b}if(!e){break b}b=((e<<1)+b|0)-1|0;c=b+(e<<2)|0;d=0;while(1){h[c|0]=k[b|0];f=b-1|0;h[c-1|0]=k[f|0];h[c-2|0]=k[b|0];h[c-3|0]=k[f|0];h[c-4|0]=k[b|0];h[c-5|0]=k[f|0];c=c-6|0;b=b-2|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break b;case 4:break c;default:break b}}if((c|0)==8){if(!e){break b}c=e<<1;b=(c+b|0)-1|0;c=b+c|0;d=0;while(1){h[c|0]=k[b|0];f=b-1|0;h[c-1|0]=k[f|0];h[c-2|0]=k[f|0];h[c-3|0]=k[f|0];c=c-4|0;b=b-2|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break b}if(!e){break b}c=e<<2;b=(c+b|0)-1|0;c=b+c|0;d=0;while(1){h[c|0]=k[b|0];h[c-1|0]=k[b-1|0];f=b-2|0;h[c-2|0]=k[f|0];g=b-3|0;h[c-3|0]=k[g|0];h[c-4|0]=k[f|0];h[c-5|0]=k[g|0];h[c-6|0]=k[f|0];h[c-7|0]=k[g|0];c=c-8|0;b=b-4|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}}b=k[a+10|0]+2|0;h[a+10|0]=b;h[a+8|0]=k[a+8|0]|2;b=p(b,k[a+9|0]);h[a+11|0]=b;b=b&255;d:{if(b>>>0>=8){b=p(b>>>3|0,e);break d}b=p(b,e)+7>>>3|0}j[a+4>>2]=b}}function vx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;b=j[a+36>>2]/2|0;d=j[a+16>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}e=j[a+24>>2];h=e&7;e=(e+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];k=b<<1;l=d<<2;b:while(1){d=e;c:{d:{switch(h-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=1;continue;case 1:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=2;continue;case 2:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=3;continue;case 3:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=4;continue;case 4:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=5;continue;case 5:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=6;continue;case 6:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=7;continue;default:break e}}b=f-1|0;g=j[c>>2];i[a>>1]=g>>>9&31744|g>>>6&992|g>>>3&31;a=a+2|0;c=c+4|0;f:{if((d|0)>1){d=d-1|0;break f}a=a+k|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function CI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=oe-16|0;oe=f;j[a+724>>2]=0;j[a+728>>2]=0;j[a+732>>2]=0;j[a+736>>2]=0;g=a+724|0;a:{b:{c:{if(!(qe[j[a+508>>2]](a,1128418371,b,f+12|0)|0)){e=2;break c}e=1;if(!(qe[j[a+508>>2]](a,1161972803,b,f+12|0)|0)){break c}if(!(qe[j[a+508>>2]](a,1651273571,b,f+12|0)|0)){break c}d=qe[j[a+508>>2]](a,1935829368,b,f+12|0)|0;if(d){break b}e=3}j[a+732>>2]=e;d=3;c=j[f+12>>2];if(c>>>0<8){break b}d:{switch(e-1|0){case 0:case 1:d=_f(b,c,g);if(d){break b}e=j[f+12>>2];j[a+728>>2]=e;d=2;c=j[a+724>>2];if((k[c+1|0]<<16|k[c|0]<<24)!=131072){break b}d=3;c=k[c+4|0]|k[c+5|0]<<8|(k[c+6|0]<<16|k[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>65535){break b}j[a+736>>2]=e>>>0<(p(c,48)|8)>>>0?(e-8>>>0)/48|0:c;break a;case 2:break d;default:break a}}d=_e(b,8);if(d){break b}d=af(b);c=af(b);e=Ff(b);Ve(b);if(!d){d=2;break b}d=3;e:{switch(c-1|0){case 0:case 2:break e;default:break b}}if(e>>>0>65535){break b}c=j[f+12>>2];d=Fe(b,j[b+8>>2]-8|0);if(d){break b}c=c>>>0<(e<<2)+8>>>0?c-8>>>2|0:e;d=(c<<2)+8|0;j[a+728>>2]=d;d=_f(b,d,g);if(d){break b}j[a+736>>2]=c;break a}if(j[g>>2]){jf(b,g)}j[a+728>>2]=0;j[a+732>>2]=0;h=d}oe=f+16|0;return h|0}function fL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0,l=0,n=0;e=oe-464|0;oe=e;f=b+8|0;g=j[f+4>>2];j[e+16>>2]=j[f>>2];j[e+20>>2]=g;j[e+40>>2]=j[b+32>>2];f=j[b+28>>2];j[e+32>>2]=j[b+24>>2];j[e+36>>2]=f;f=j[b+20>>2];j[e+24>>2]=j[b+16>>2];j[e+28>>2]=f;f=j[b+4>>2];g=j[b>>2];j[e+16>>2]=2;j[e+8>>2]=g;j[e+12>>2]=f;a:{switch(j[b+8>>2]-7|0){case 0:case 3:j[e+16>>2]=3;break;default:break a}}Oh(a,e+448|0);b:{if(j[e+456>>2]!=3){b=162;break b}l=j[a>>2];g=j[e+448>>2]+1|0;j[a>>2]=g;n=j[a+8>>2];i=j[e+452>>2]-1|0;j[a+8>>2]=i;f=e+48|0;c:{if(g>>>0>=i>>>0){break c}g=e+432|0;f=e+48|0;while(1){Oh(a,e+432|0);if(!j[e+440>>2]){break c}if(f>>>0>>0){i=j[e+436>>2];j[f>>2]=j[e+432>>2];j[f+4>>2]=i;j[f+8>>2]=j[e+440>>2]}f=f+12|0;if(m[a>>2]>2]){continue}break}}j[a+8>>2]=n;j[a>>2]=l;g=f-(e+48|0)|0;f=(g|0)/12|0;if((g|0)<0){b=162;break b}g=j[b+24>>2];g=f>>>0>g>>>0?g:f;d:{if(j[b+8>>2]==7){break d}b=j[b+28>>2];if(!b){break d}h[b+j[c>>2]|0]=g}e:{if((g|0)>=1){i=k[e+28|0];f=e+48|0;while(1){j[a>>2]=j[f>>2];j[a+8>>2]=j[f+4>>2];b=br(a,e+8|0,c,d,0);if(b){break e}j[e+24>>2]=i+j[e+24>>2];f=f+12|0;b=(g|0)>1;g=g-1|0;if(b){continue}break}}b=0}j[a+8>>2]=n;j[a>>2]=l}oe=e+464|0;return b|0}function cn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;if(!(c?b:0)){ve(57774,0);return 0}k=j[b>>2];if(!k){k=j[a+16>>2]}m=j[b+12>>2];if(!m){m=j[a+28>>2]}n=k>>>8&255;i=j[a+8>>2];while(1){a:{if(i){break a}i=0;h=j[67085];d=j[h+28>>2];if(!d){break a}qe[d|0](h,a);en(j[a+12>>2],j[a+8>>2]);i=j[a+8>>2]}b:{c:{d:{e:{if((e|0)>=(i|0)){break e}g=j[a+12>>2];h=p(e,20);d=g+h|0;l=j[d+4>>2];if(j[b+4>>2]>(l|0)?l:0){break e}h=g+h|0;g=j[h+8>>2];if(!g|(g|0)>=j[b+8>>2]){break d}if(!l|j[b+4>>2]!=(l|0)){break c}}if(f){break b}return 0}if(!f){f=d;e=e+1|0;continue}if(j[f+4>>2]>(l|0)){f=d;e=e+1|0;continue}if((g|0)>2]){f=d;e=e+1|0;continue}g=j[d>>2];if((g|0)!=j[f>>2]){if((g|0)==(k|0)){f=d;e=e+1|0;continue}if((g^k)&251658240|(g>>>8&255)>>>0>>0){break c}f=d;e=e+1|0;continue}g=d;d=j[h+12>>2];f=(d|0)<(m|0)?f:(d|0)==j[f+12>>2]?f:g}e=e+1|0;continue}break}e=j[f>>2];if(!e){e=j[b>>2]}j[c>>2]=e;f:{g:{a=j[f+4>>2];if(!a){break g}i=j[f+8>>2];if(!i){break g}j[c+4>>2]=a;a=1;d=1;break f}a=j[b+4>>2];j[c+4>>2]=a;i=j[b+8>>2];d=i}g=d;j[c+8>>2]=i;h=c;d=j[f+12>>2];if(!d){d=j[b+12>>2]}j[h+12>>2]=d;j[c+16>>2]=j[f+16>>2];if(!e){j[c>>2]=370546692}if(!a){j[c+4>>2]=640}if(!g){j[c+8>>2]=480}return c}function nr(a,b){var c=0,d=0,e=0,f=0;d=-2;a:{if(!a){break a}j[a+24>>2]=0;d=j[a+32>>2];if(!d){j[a+40>>2]=0;j[a+32>>2]=663;d=663}if(!j[a+36>>2]){j[a+36>>2]=664}c=qe[d|0](j[a+40>>2],1,24)|0;j[a+28>>2]=c;d=-4;if(!c){break a}j[c+20>>2]=0;j[c+12>>2]=b>>>31;d=b>>31;d=d+b^d;if((d|0)<=7){nk(a);return-2}j[c+16>>2]=d;b:{c=qe[j[a+32>>2]](j[a+40>>2],1,64)|0;c:{if(!c){break c}e=qe[j[a+32>>2]](j[a+40>>2],8,1440)|0;j[c+36>>2]=e;if(!e){qe[j[a+36>>2]](j[a+40>>2],c);break c}e=1<>2]](j[a+40>>2],1,e)|0;j[c+40>>2]=d;if(d){break b}qe[j[a+36>>2]](j[a+40>>2],j[c+36>>2]);qe[j[a+36>>2]](j[a+40>>2],c)}j[j[a+28>>2]+20>>2]=0;nk(a);return-4}f=(b|0)>-1?665:0;j[c+56>>2]=f;j[c+52>>2]=d;j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;j[c+48>>2]=d;j[c+44>>2]=d+e;d=0;if((b|0)>=0){b=qe[f|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b;d=j[c>>2]}b=j[a+28>>2];j[b+20>>2]=c;j[a+8>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[b>>2]=j[b+12>>2]?7:0;if((d&-2)==4){qe[j[a+36>>2]](j[a+40>>2],j[c+12>>2]);d=j[c>>2]}if((d|0)==6){qe[j[a+36>>2]](j[a+40>>2],j[c+4>>2])}j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;b=j[c+40>>2];j[c+52>>2]=b;j[c+48>>2]=b;b=j[c+56>>2];d=0;if(!b){break a}b=qe[b|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b;d=0}return d}function zJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0;d=a+8208|0;if(d>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(c>>>0>8207?c>>>0<=j[b+160>>2]-a>>>0:0)){Pe(b,8)}c=k[a+8204|0]|k[a+8205|0]<<8|(k[a+8206|0]<<16|k[a+8207|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{b:{if(g>>>0>(j[b+160>>2]-d>>>0)/12>>>0){Pe(b,8);break b}if(!g){break a}}h=a+12|0;c=0;while(1){e=c;f=k[d+8|0]|k[d+9|0]<<8|(k[d+10|0]<<16|k[d+11|0]<<24);l=k[d+1|0]<<16|k[d|0]<<24;a=k[d+3|0]|(l|k[d+2|0]<<8);n=k[d+5|0]<<16|k[d+4|0]<<24;c=k[d+7|0]|(n|k[d+6|0]<<8);if(a>>>0>c>>>0){Pe(b,8)}if(!(!i|a>>>0>e>>>0)){Pe(b,8)}c:{if(!j[b+164>>2]){break c}o=j[b+172>>2];e=c-a|0;if(!(o-e>>>0>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0?o>>>0>=e>>>0:0)){Pe(b,16)}e=e+1|0;if(l){if(!e){break c}while(1){if(!(k[(a>>>19|0)+h|0]<<(a>>>16&7)&128)){Pe(b,8)}if(!(k[(a>>>3&8191)+h|0]<<(a&7)&128)){Pe(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}break c}if(n){Pe(b,8)}if(!e){break c}while(1){if(k[(a>>>3&8191)+h|0]<<(a&7)&128){Pe(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}}d=d+12|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}return 0}function bi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0;e=oe-16|0;oe=e;c=j[a>>2];a:{if(!(c&2)){break a}j[a>>2]=c&-3;b:{if(!b|c&1){break b}c:{b=j[a+52>>2];if(k[b+69|0]&32){c=Sk(p(j[a+16>>2],j[a+12>>2]));j[a+20>>2]=c;b=j[a>>2];if(c){break c}j[a>>2]=b|2;break a}m=j[a+8>>2];n=j[a+4>>2];g=j[b+12>>2];b=k[g|0];c=Sk(p(j[a+16>>2],j[a+12>>2]));j[a+20>>2]=c;d=j[a>>2];if(c){i=(b|0)==2;q=i?243:244;r=i?245:244;j[a>>2]=d|8;Oe(c,0,p(j[a+16>>2],j[a+12>>2]));c=g+28|0;h=j[a+20>>2];s=(b|0)!=2;while(1){b=0;while(1){d:{if(!s){f=k[c|0];o=2;d=k[c+1|0];break d}f=l[c>>1];o=4;d=l[c+2>>1]}b=b+f|0;c=c+o|0;e:{if(d){c=(qe[r|0]((b<<2)+h|0,c,d,g,n)|0)+c|0;b=b+d|0;break e}if(!b){break b}}if((b|0)<(m|0)){continue}break}c=i?(c&2)+c|0:c;b=0;while(1){d=c+4|0;f=l[c>>1]+b|0;c=l[c+2>>1];f:{if(!c){b=f;break f}b=c+f|0;d=(qe[q|0]((f<<2)+h|0,d,c,g,n)|0)+d|0}c=d;if((b|0)<(m|0)){continue}break}h=(j[a+16>>2]&-4)+h|0;continue}}j[a>>2]=d|2;break a}j[a>>2]=b|8;Dh(a,0,j[j[a+52>>2]+72>>2]);j[e>>2]=0;j[e+4>>2]=0;j[e+8>>2]=j[a+8>>2];j[e+12>>2]=j[a+12>>2];Cn(a,e,a,e)}b=j[a+52>>2];j[b+68>>2]=j[b+68>>2]&-24577;b=j[b+12>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[j[a+52>>2]+12>>2]=0}oe=e+16|0}function tx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){n=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;n=((b>>>16|0)+n|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(n<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];h=e&255;b=j[q>>2];i=b&255;k=e>>>8&255;l=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}h=(p(h,i)>>>0)/255|0;k=(p(e,k)>>>0)/255|0;l=(p(b,l)>>>0)/255|0;break a;case 0:l=b;k=e;h=i;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}i=h+i|0;h=i>>>0<255?i:255;e=e+k|0;k=e>>>0<255?e:255;b=b+l|0;l=b>>>0<255?b:255}j[c>>2]=k<<8|l<<16|h;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){f=f+s|0;g=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function px(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){n=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;n=((b>>>16|0)+n|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(n<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];h=e&255;b=j[q>>2];i=b&255;k=e>>>8&255;l=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}l=(p(l,i)>>>0)/255|0;k=(p(e,k)>>>0)/255|0;h=(p(b,h)>>>0)/255|0;break a;case 0:h=b;k=e;l=i;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}i=l+i|0;l=i>>>0<255?i:255;e=e+k|0;k=e>>>0<255?e:255;b=b+h|0;h=b>>>0<255?b:255}j[c>>2]=k<<8|h|l<<16;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){f=f+s|0;g=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function dx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((e|0)>=65536){b=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){m=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;m=((b>>>16|0)+m|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(m<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;f=j[c>>2];h=f&255;b=j[q>>2];n=b&255;i=f>>>8&255;k=f>>>16&255;f=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}h=(p(b,h)>>>0)/255|0;i=(p(f,i)>>>0)/255|0;k=(p(k,n)>>>0)/255|0;break a;case 0:k=n;i=f;h=b;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+h|0;h=b>>>0<255?b:255;b=f+i|0;i=b>>>0<255?b:255;b=k+n|0;k=b>>>0<255?b:255}j[c>>2]=i<<8|k<<16|h;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){e=e+s|0;g=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function $w(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((e|0)>=65536){b=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){m=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;m=((b>>>16|0)+m|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(m<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;f=j[c>>2];h=f&255;b=j[q>>2];n=b&255;i=f>>>8&255;k=f>>>16&255;f=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}k=(p(b,k)>>>0)/255|0;i=(p(f,i)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;break a;case 0:h=n;i=f;k=b;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+k|0;k=b>>>0<255?b:255;b=f+i|0;i=b>>>0<255?b:255;b=h+n|0;h=b>>>0<255?b:255}j[c>>2]=i<<8|h|k<<16;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){e=e+s|0;g=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function XA(a,b,c){var d=0,e=0,f=0,g=0,m=0,n=0;d=oe-96|0;oe=d;j[a+12>>2]=0;j[a+8>>2]=b;Oe(j[a+20>>2],0,j[j[a>>2]+28>>2]<<2);Oe(d- -64|0,0,20);Oe(d+32|0,0,20);a:{b:{if(!c){break b}g=1;while(1){m=0;b=0;c:{d:{e:{f:{g:{e=k[c|0];switch(e-32|0){case 26:break c;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break d;case 0:break f;case 12:break g;default:break e}}fo(a,d- -64|0,d+32|0);Oe(d- -64|0,0,20);Oe(d+32|0,0,20);m=1;break c}m=g;b=f;break c}if(!e){break b}}if(g){if(f>>>0>=20){j[d+16>>2]=d- -64;ve(31199,d+16|0);break a}h[(d- -64|0)+f|0]=e;m=1;b=f+1|0;break c}if(f>>>0>=20){j[d>>2]=d+32;ve(31225,d);break a}h[(d+32|0)+f|0]=e;b=f+1|0}c=c+1|0;f=b;g=m;continue}}if(!(k[d+32|0]|k[d+64|0])){break a}fo(a,d- -64|0,d+32|0)}f=j[a+12>>2];if((f|0)>=1){m=j[a+16>>2];c=0;while(1){b=m+(c<<5)|0;h:{if(j[b>>2]!=2|j[b+16>>2]!=2|(j[b+20>>2]&-2)!=4){break h}e=j[b+4>>2];g=j[a>>2];if((e|0)>=j[g+28>>2]){break h}g=j[g+32>>2];n=g+(e<<4)|0;e=l[b+8>>1];i[n+4>>1]=e;i[(g+(j[b+4>>2]<<4)|0)+2>>1]=e}c=c+1|0;if((f|0)!=(c|0)){continue}break}}oe=d+96|0}function fo(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;g=oe-32|0;oe=g;a:{b:{e=k[b|0];switch(e-43|0){case 0:case 2:break b;default:break a}}b=b+1|0;f=e}i=$A(b);e=_A(b);c:{d:{e:{if((i|0)!=-1){e=32767;m=2;if((i&-2)==4){break d}f:{switch(f-43|0){case 0:break d;case 2:break e;default:break f}}n=-32768;break d}if((e|0)!=-1){m=1;i=e;break d}j[g>>2]=b;ve(31260,g);break c}e=-32768}f=0;g:{h:{b=k[c|0];switch(b-43|0){case 0:case 2:break h;default:break g}}c=c+1|0;f=b}d=Le(c);i:{j:{b=k[c|0];if((b|0)==97){o=k[(c+d|0)-1|0];if(h[c+1|0]-48>>>0<10){d=0;b=32767;l=rf(c+1|0);k:{l:{switch(f-43|0){case 2:b=-32768;break k;case 0:break k;default:break l}}d=-32768}c=(o|0)==126;f=c?b:d;b=c?d:b;c=2;break i}b=k[c|0]}if((b&255)==98){if(h[c+1|0]-48>>>0<10){break j}b=k[c|0]}if(!((b&255)!=104|h[c+1|0]-48>>>0>=10|(k[c+2|0]!=46|h[c+3|0]-48>>>0>=10))){l=rf(c+1|0);f=rf(c+3|0);c=3;break i}j[g+16>>2]=c;ve(31293,g+16|0);break c}l=rf(c+1|0);c=1}d=j[a+12>>2]+1|0;j[a+12>>2]=d;d=mf(j[a+16>>2],d<<5);j[a+16>>2]=d;if(!d){j[a+12>>2]=0;Be(0);break c}a=(d+(j[a+12>>2]<<5)|0)-32|0;j[a+20>>2]=i;j[a+16>>2]=m;j[a+4>>2]=l;j[a>>2]=c;j[a+28>>2]=e;j[a+24>>2]=n;j[a+12>>2]=b;j[a+8>>2]=f}oe=g+32|0}function il(a){var b=0,c=0,d=0,e=0;c=j[66371];a:{if(j[67035]==(a|0)){break a}b:{c:{d:{e:{f:{if(j[67036]?!a:0){break f}g:{h:{if(a){if(j[67018]){b=1;if(xg(29913,0)){break f}}b=j[67020];if(b){break h}break g}b=j[67020];if(!b){break d}}if(!a|(qe[b|0](a)|0)>-1){break e}}b=1;if(j[67018]){break f}ve(29828,0);return}j[67036]=b}j[67039]=0;j[67040]=0;j[67035]=a;i:{if(!a|!c){break i}b=j[67024];j:{if((b|0)==(c|0)){break j}if(b){zf(b,11,0,0)}j[67024]=c;j[67034]=0;zf(c,10,0,0);b=j[67015];d=j[(j[67024]?268200:268196)>>2];if(!(j[67035]|(!d|!j[67051]))){if(!b){break j}qe[b|0](d)|0;break j}if(!b){break j}qe[b|0](0)|0}b=j[c+28>>2]/2|0;d=j[c+24>>2]/2|0;e=j[67018];if(e){qe[e|0](c,d,b);break i}e=j[67023];if(!Gh(c,d,b,(e|0)!=-1)){break i}Fh(c,e,0,d,b)}c=j[67024];if(!c){break b}Zm(c);if(!a){break c}break b}j[67039]=0;j[67040]=0;j[67035]=a;a=j[67024];if(!a){break b}Zm(a)}a=j[67024];if(!a){break b}c=j[67026];b=j[67025];d=j[67018];if(d){qe[d|0](a,b,c);break b}d=j[67023];if(!Gh(a,b,c,(d|0)!=-1)){break b}Fh(a,d,0,b,c)}Ri(1024,1024);a=j[67015];c=j[(j[67024]?268200:268196)>>2];if(!(j[67035]|(!c|!j[67051]))){if(!a){break a}qe[a|0](c)|0;return}if(!a){break a}qe[a|0](0)|0}}function cp(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{c=j[a+4>>2];d:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break d}c=ff(a)}switch(c-43|0){case 0:case 2:break b;default:break c}}d=c-48|0;break a}f=(c|0)==45;b=!b;c=j[a+4>>2];e:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break e}c=ff(a)}d=c-48|0;if(!(b|d>>>0<10|!j[a+104>>2])){j[a+4>>2]=j[a+4>>2]-1}}f:{if(d>>>0<10){d=0;while(1){d=p(d,10)+c|0;b=j[a+4>>2];g:{if(b>>>0>2]){j[a+4>>2]=b+1;c=k[b|0];break g}c=ff(a)}e=c-48|0;d=d-48|0;if((d|0)<214748364?e>>>0<=9:0){continue}break}b=d;d=d>>31;h:{if(e>>>0>=10){break h}while(1){d=gP(b,d,10,0);b=d+c|0;c=pe;c=b>>>0>>0?c+1|0:c;d=b;b=d-48|0;d=c-(d>>>0<48)|0;c=j[a+4>>2];i:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break i}c=ff(a)}e=c-48|0;if(e>>>0>9){break h}if((d|0)<21474836?1:(d|0)<=21474836?b>>>0<2061584302:0){continue}break}}if(e>>>0<10){while(1){c=j[a+4>>2];j:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break j}c=ff(a)}if(c-48>>>0<10){continue}break}}if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}a=b;b=f?0-a|0:a;d=f?0-(((a|0)!=0)+d|0)|0:d;break f}b=0;d=-2147483648;if(!j[a+104>>2]){break f}j[a+4>>2]=j[a+4>>2]-1;pe=-2147483648;return 0}pe=d;return b}function uO(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0;a:{b:{d=j[a+208>>2];if(d&1){if(d&4){Ie(a,c);Je(a,5774);return}if(!(!b|!(k[b+9|0]&4))){Ie(a,c);Je(a,5808);return}d=c+1|0;e=j[a+788>>2];c:{if(e){if(d>>>0<=m[a+792>>2]){break c}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,e)}e=$f(a,d);if(!e){break b}j[a+792>>2]=d;j[a+788>>2]=e}pf(a,e,c);tf(a,e,c);if(!Ie(a,0)){i=c+e|0;h[i|0]=0;d=e;while(1){c=d;d=c+1|0;if(k[c|0]){continue}break}if(c+12>>>0>=i>>>0){Je(a,5787);return}l=k[c+5|0]|k[c+6|0]<<8|(k[c+7|0]<<16|k[c+8|0]<<24);n=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);g=k[c+9|0];f=k[c+10|0];if(!((f|0)==4|(g|0)!=3?!(((f|0)!=2?!g:0)|((f|0)!=3?(g-1&255)>>>0<=1:0)):0)){Je(a,6201);return}if(g>>>0>=4){Je(a,6225)}p=c+11|0;d=p;while(1){c=d;d=c+1|0;if(k[c|0]){continue}break}d=dg(a,f<<2);if(!d){break a}if(f){while(1){c=c+1|0;j[d+(o<<2)>>2]=c;d:{if(c>>>0<=i>>>0){while(1){if(!k[c|0]){break d}c=c+1|0;if(i>>>0>=c>>>0){continue}break}}Ke(a,d);Je(a,6252);return}o=o+1|0;if((o|0)!=(f|0)){continue}break}}rv(a,b,e,n>>>8&65280|n>>>24|(n<<8&16711680|n<<24),l>>>8&65280|l>>>24|(l<<8&16711680|l<<24),g,f,p,d);Ke(a,d)}return}hf(a,5795);z()}Ie(a,c);Je(a,5965);return}Je(a,5965)}function mw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,l)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+l|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Yv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,m)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+m|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+m|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Pg(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;f=oe-16|0;oe=f;h=j[a+100>>2];j[f+12>>2]=0;q=l[a+340>>1];a:{if(!q){break a}g=-1;k=-1;n=-1;o=-1;m=j[a+356>>2];e=m;while(1){b:{if(!l[e+8>>1]|l[e+6>>1]!=(b|0)){break b}c:{switch(l[e>>1]){case 0:case 2:g=d;break b;case 1:if(!l[e+4>>1]){n=d;break b}o=l[e+2>>1]?o:d;break b;case 3:break c;default:break b}}if((l[e+4>>1]&1023)!=9?(k|0)!=-1:0){break b}r=l[e+2>>1];if(r>>>0>10|!(1<>1]&1023)==9;k=d}e=e+20|0;d=d+1|0;if((q|0)!=(d|0)){continue}break}d=(n|0)>-1?n:o;d:{e:{f:{if((k|0)>=0){if((d|0)>=0){b=793;if(!s){break f}}e=0;d=p(k,20)+m|0;g=l[d+2>>1];if(g>>>0>10){break a}b=794;if(1<-1){break f}e=0;b=794;d=g;if((d|0)<0){break a}}if(!m){break d}d=p(d,20)+m|0}g:{if(j[d+16>>2]){break g}a=j[a+360>>2];e=0;t=d,u=xe(h,1,0,l[d+8>>1],0,f+12|0),j[t+16>>2]=u;h:{if(j[f+12>>2]){break h}g=Fe(a,j[d+12>>2]);j[f+12>>2]=g;if(g){break h}a=uf(a,j[d+16>>2],l[d+8>>1]);j[f+12>>2]=a;if(!a){break g}}a=j[d+16>>2];if(a){qe[j[h+8>>2]](h,a)}i[d+8>>1]=0;j[d+16>>2]=0;break a}e=qe[b|0](d,h)|0;break a}e=0}j[c>>2]=e;oe=f+16|0;return j[f+12>>2]}function Gw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,m)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+m|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+m|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Dv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,l)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+l|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+l|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function lv(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0;c=oe-160|0;oe=c;if(ri(1352,c+72|0)){a=Le(j[58911]);k=bf(a+5|0,1);e=j[58910];b=j[65532];j[c+56>>2]=1387;j[c+52>>2]=b;j[c+48>>2]=e;bk(k,a+4|0,1379,c+48|0);m=oi(k,1392);n=oi(j[58911],1392);o=oi(1352,1392);f=j[58906];a=j[58907];e=bf(p(f,a)+1|0,1);a:{if((f|0)<1){break a}g=j[58908];b=j[g>>2];if((a|0)<(b|0)){break a}a=0;while(1){b:{if((b|0)<1){break b}d=0;l=i<<2;if(j[l+g>>2]<=0){break b}while(1){j[c+72>>2]=0;b=j[j[j[58909]+l>>2]+(d<<2)>>2];c:{if((b|0)==-1){j[c+72>>2]=6234144;break c}j[c+32>>2]=b;bk(c+72|0,4,1395,c+32|0)}f=Le(c+72|0);if(f){Ae(a+e|0,c+72|0,f);b=0;while(1){a=a+1|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}d=d+1|0;g=j[58908];b=j[l+g>>2];if((d|0)!=(b|0)){h[a+e|0]=44;a=a+1|0}if((b|0)>(d|0)){continue}break}f=j[58906]}h[a+e|0]=10;i=i+1|0;if((i|0)>=(f|0)){break a}a=a+1|0;b=j[(i<<2)+g>>2];if((b|0)<=j[58907]){continue}break}}a=Le(e);b=rl(e,1,a,m);if((a|0)!=(b|0)){j[c+20>>2]=a;j[c+16>>2]=b;hi(1399,c+16|0)}b=1;d=j[65532];j[65532]=(d|0)==99?0:d+1|0;Lh(m);d=rl(e,1,a,n);if((d|0)!=(a|0)){j[c+4>>2]=a;j[c>>2]=d;hi(1399,c)}Lh(n);ze(k);ze(e);Lh(o);pp()}oe=c+160|0;return b}function Dp(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,s=0,t=q(0),u=0,v=q(0),w=0,x=q(0),z=0,A=0;l=oe;A=l;z=j[a+4>>2];l=l-((h<<2)+15&-16)|0;oe=l;a=h;a=j[z+500>>2]?j[z+504>>2]-g|0:a;a=(a|0)>(h|0)?h:a;a:{if((a|0)<1){a=0;break a}while(1){if(!(j[(m<<2)+f>>2]?f:0)){s=m<<2;k=jP(y(+q(n[s+d>>2]/n[e+s>>2])));k=n[c+s>>2]>2]=w}m=m+1|0;if((m|0)!=(a|0)){continue}break}}c:{if((a|0)>=(h|0)){break c}m=b-g|0;s=(f|0)!=0;while(1){d:{if(j[(a<<2)+f>>2]?f:0){break d}b=a<<2;g=b+d|0;v=n[b+e>>2];t=q(n[g>>2]/v);if(!(s&(a|0)<(m|0)|t>2]=g;u=u+1|0;x=q(x+t);break d}w=b+i|0;k=jP(y(+t));k=n[b+c>>2]>2]=b;n[g>>2]=v*q(p(b,b)|0)}a=a+1|0;if((h|0)!=(a|0)){continue}break}if(!u){break c}fg(l,u,4,1056);if((u|0)<1){break c}k=o[z+512>>3];a=0;while(1){t=q(0);f=j[l+(a<<2)>>2];b=f-d>>2;g=(b<<2)+i|0;if(k<=+x^1){b=0}else{b=b<<2;t=n[b+e>>2];x=q(x+q(-1));v=(pP(2,j[b+c>>2]&-2147483648|1065353216),sP());f:{if(q(r(v))>2]=b;n[f>>2]=t;a=a+1|0;if((u|0)!=(a|0)){continue}break}}oe=A}function Hx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0;b=j[a+36>>2]/2|0;f=j[a+16>>2]/2|0;a:{h=j[a+28>>2];if(!h){break a}d=j[j[a+40>>2]+24>>2]^-1;e=d&j[a+56>>2];g=j[a+24>>2];k=g&7;g=(g+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];m=b<<1;n=f<<1;b:while(1){f=g;c:{d:{switch(k-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=1;continue;case 1:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=2;continue;case 2:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=3;continue;case 3:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=4;continue;case 4:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=5;continue;case 5:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=6;continue;case 6:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=7;continue;default:break e}}b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}b=h-1|0;c=c+2|0;a=a+2|0;f:{if((f|0)>1){f=f-1|0;break f}a=a+m|0;c=c+n|0;h=b;if(b){continue b}break a}b=0;continue}}}}function mm(a,b,c,d){var e=0,f=0,g=0;a:{b:{g=j[a+8264>>2];if(g>>>0>b>>>0){g=0;if(Fe(j[a>>2],j[a+68>>2])){break a}e=j[a+40>>2];c:{if(!e){break c}j[a+20>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[e>>2]=j[e+12>>2]?7:0;f=j[e+20>>2];e=j[f>>2];if((e&-2)==4){qe[j[a+48>>2]](j[a+52>>2],j[f+12>>2]);e=j[f>>2]}if((e|0)==6){qe[j[a+48>>2]](j[a+52>>2],j[f+4>>2])}j[f+28>>2]=0;j[f+32>>2]=0;j[f>>2]=0;e=j[f+40>>2];j[f+52>>2]=e;j[f+48>>2]=e;e=j[f+56>>2];if(!e){break c}e=qe[e|0](0,0,0)|0;j[f+60>>2]=e;j[a+60>>2]=e}j[a+28>>2]=0;j[a+12>>2]=a+72;j[a+16>>2]=0;e=a+8264|0;j[a+8272>>2]=e;j[a+24>>2]=a+4168;j[a+8268>>2]=e;j[e>>2]=0}if(b>>>0>g>>>0){f=j[a+8268>>2];e=j[a+8272>>2]-f|0;b=b-g|0;e=b>>>0>e>>>0?e:b;j[a+8268>>2]=e+f;j[a+8264>>2]=e+g;b=b-e|0;if(b){while(1){if(mr(a)){return 0}f=j[a+8268>>2];e=j[a+8272>>2]-f|0;e=b>>>0>e>>>0?e:b;j[a+8268>>2]=e+f;j[a+8264>>2]=e+j[a+8264>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=0;while(1){e=j[a+8268>>2];b=j[a+8272>>2]-e|0;f=b>>>0>>0?b:d;b=Ae(c,e,f);j[a+8268>>2]=f+j[a+8268>>2];j[a+8264>>2]=f+j[a+8264>>2];g=f+g|0;d=d-f|0;if(!d){break a}c=b+f|0;if(!mr(a)){continue}break}}return g}function Qg(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=oe-16|0;oe=g;a:{if((c|0)<1){break a}l=j[a+4>>2];while(1){i=(n<<3)+b|0;b:{if(!j[i>>2]){bh(l);if(j[l+12>>2]>1){break a}d=j[l>>2];f=d-1|0;o=j[l+8>>2];c:{while(1){m=3;if(d>>>0>=o>>>0){e=d;break c}e=d+1|0;j[l>>2]=e;p=k[d|0];d=e;d:{switch(p-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}m=2}j[l+12>>2]=m;j[g+8>>2]=f;break b}f=uh(l);j[g+8>>2]=f;if(!f){break a}e=j[l>>2]}d=e-f|0;e=d-1|0;e:{f:{switch(j[i>>2]){case 0:case 1:d=gj(j[a>>2],d,g+4|0);j[i+4>>2]=d;if(j[g+4>>2]){break e}Ae(d,f,e);h[e+j[i+4>>2]|0]=0;break e;case 2:q=i,r=wh(g+8|0,e+f|0,0),j[q+4>>2]=r;break e;case 3:j[g+12>>2]=f;o=e+f|0;m=Rg(g+12|0,o,10);e=0;d=j[g+12>>2];g:{if((f|0)==(d|0)){break g}if(!(k[d|0]!=35|d>>>0>=o>>>0)){f=d+1|0;j[g+12>>2]=f;m=Rg(g+12|0,o,m);d=j[g+12>>2];if((f|0)==(d|0)){break g}}j[g+8>>2]=d;e=m}j[i+4>>2]=e;break e;case 4:if((e|0)==4){e=!Qe(f,93320,4)}else{e=0}h[i+4|0]=e;break e;case 5:break f;default:break e}}d=j[a+12>>2];if(d){q=i,r=qe[d|0](f,e,j[a+16>>2])|0,j[q+4>>2]=r;break e}j[i+4>>2]=0}n=n+1|0;if((n|0)!=(c|0)){continue}break}n=c}oe=g+16|0;return n}function kj(a,b,c,d,e){var f=0,g=0,h=0,i=0,l=0,m=0,n=0;i=j[a+2984>>2];a:{if(!(i&4)){break a}g=j[a+2988>>2];if(k[(g+p(b,1572)|0)+256|0]){break a}a=c>>31;f=a+c^a;b:{c:{d:{if((b|0)==1){if(i&2){break d}if(!(e&2)|(f|0)>191){break c}a=f;break b}if(!(i&1)){break c}}l=g+p(b,1572)|0;m=j[l+52>>2];e:{f:{if(m){a=98;d=0;e=f;while(1){n=j[(l+p(d,12)|0)+60>>2];h=f-n|0;g=h>>31;h=g^g+h;g=(h|0)<(a|0);a=g?h:a;e=g?n:e;d=d+1|0;if((m|0)!=(d|0)){continue}break}d=e+32&-64;a=d;if((e|0)<=(f|0)){break f}d=(d-48|0)<(f|0)?e:f;break e}e=f;a=f+32&2147483584}d=(a|48)>(f|0)?e:f}if((b|0)==1){a=64;if((d|0)<64){break b}a=d+16&-64;break b}if(i&8){a=64;if((d|0)<64){break b}a=d+32&-64;break b}if((d|0)<=47){a=d- -64>>1;break b}if((d|0)<=127){a=d+22&-64;d=a-f|0;b=d>>31;if((b^b+d)<16){break b}if((f|0)>47){a=f;break b}a=f- -64>>>1|0;break b}a=d+32&-64;break b}a=d&1?(f|0)<80?64:f:(f|0)>56?f:56;b=g+p(b,1572)|0;if(!j[b+52>>2]){break b}b=j[b+60>>2];e=a-b|0;d=e>>31;if((d^d+e)<=39){a=(b|0)>48?b:48;break b}if((a|0)<=191){b=a&63;if(b>>>0<10){break b}d=a&2147483584;if(b>>>0<=31){a=d|10;break b}a=b>>>0<54?d|54:a;break b}a=a+32&2147483584}c=(c|0)<0?0-a|0:a}return c}function aj(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=j[a+28>>2];if(c){d=j[c+8>>2];if((d|0)>=1){e=c+32|0;while(1){f=j[e+(b<<2)>>2];if(f){ze(f);d=j[c+8>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=j[c+12>>2];if((d|0)>=1){e=c+288|0;f=c+544|0;b=0;while(1){g=b<<2;h=j[g+f>>2];if(h){qe[j[j[(j[e+g>>2]<<2)+198168>>2]+8>>2]](h);d=j[c+12>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=j[c+16>>2];if((d|0)>=1){e=c+800|0;f=c+1056|0;b=0;while(1){g=b<<2;h=j[g+f>>2];if(h){qe[j[j[(j[e+g>>2]<<2)+198148>>2]+12>>2]](h);d=j[c+16>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=j[c+20>>2];if((d|0)>=1){e=c+1312|0;f=c+1568|0;b=0;while(1){g=b<<2;h=j[g+f>>2];if(h){qe[j[j[(j[e+g>>2]<<2)+198156>>2]+12>>2]](h);d=j[c+20>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}if(j[c+24>>2]>=1){d=c+1824|0;b=0;while(1){e=j[d+(b<<2)>>2];if(e){dk(e)}e=j[c+2848>>2];if(e){$E(e+p(b,56)|0)}b=b+1|0;if((b|0)>2]){continue}break}}b=j[c+2848>>2];if(b){ze(b)}if(j[c+28>>2]>=1){d=c+2852|0;b=0;while(1){Nh(j[d+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}}ze(c)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}function cy(a){var b=0,c=0,d=0,e=0,f=0;b=j[a+4>>2];d=j[a+52>>2];c=j[j[d>>2]+4>>2];a=0;a:{b:{c:{d:{e=j[d+68>>2]&-28673;switch(e-16|0){case 1:break a;case 2:break b;case 0:break c;default:break d}}if(j[b+24>>2]|(e|0)!=274){break a}a=270;if(k[c+9|0]!=1){break a}return j[c+4>>2]?271:270}a=272;e:{switch(k[c+9|0]-1|0){case 0:return j[c+4>>2]?273:272;case 1:if(k[b+9|0]!=4|j[b+24>>2]!=-16777216|j[b+16>>2]!=65280){break a}if(j[b+20>>2]!=255|j[c+20>>2]!=31?!(j[c+12>>2]==31?j[b+12>>2]==255:0):0){break a}a=j[c+16>>2];return(a|0)==2016?274:(a|0)==992?275:272;case 3:break e;default:break a}}if(!(j[b+12>>2]!=j[c+12>>2]|j[b+16>>2]!=j[c+16>>2]|(j[b+20>>2]!=j[c+20>>2]|k[b+9|0]!=4))){a=276;if(j[b+24>>2]==-16777216){break a}}return 272}if(j[b+24>>2]){break a}a=277;f:{switch(k[c+9|0]-1|0){case 0:return j[c+4>>2]?278:277;case 1:if(!j[d+4>>2]){break a}a=j[c+16>>2];return(a|0)==2016?279:(a|0)==992?280:277;case 3:break f;default:break a}}d=j[b+12>>2];g:{if((d|0)!=j[c+12>>2]){break g}e=j[b+16>>2];if((e|0)!=j[c+16>>2]){break g}f=j[b+20>>2];if((f|0)!=j[c+20>>2]|k[b+9|0]!=4){break g}a=281;if((d|e|f)==16777215){break a}}a=277}return a}function Ws(a,b,c){var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0;d=oe+ -64|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,5774);break a}if((c|0)!=32){Ie(a,c);Je(a,5787);break a}pf(a,d+32|0,32);tf(a,d+32|0,32);if(Ie(a,0)){break a}c=k[d+32|0]<<24;e=k[d+35|0]|(c|k[d+33|0]<<16|k[d+34|0]<<8);j[d+24>>2]=(e|0)>-1?e:-1;e=k[d+36|0]<<24;f=k[d+39|0]|(e|k[d+37|0]<<16|k[d+38|0]<<8);j[d+28>>2]=(f|0)>-1?f:-1;f=k[d+40|0]<<24;g=k[d+43|0]|(f|k[d+41|0]<<16|k[d+42|0]<<8);j[d>>2]=(g|0)>-1?g:-1;g=k[d+44|0]<<24;h=k[d+47|0]|(g|k[d+45|0]<<16|k[d+46|0]<<8);j[d+4>>2]=(h|0)>-1?h:-1;h=k[d+48|0]<<24;m=k[d+51|0]|(h|k[d+49|0]<<16|k[d+50|0]<<8);j[d+8>>2]=(m|0)>-1?m:-1;m=k[d+52|0]<<24;n=k[d+55|0]|(m|k[d+53|0]<<16|k[d+54|0]<<8);j[d+12>>2]=(n|0)>-1?n:-1;n=k[d+56|0]<<24;o=k[d+59|0]|(n|k[d+57|0]<<16|k[d+58|0]<<8);j[d+16>>2]=(o|0)>-1?o:-1;o=k[d+60|0]<<24;p=k[d+63|0]|(o|k[d+61|0]<<16|k[d+62|0]<<8);j[d+20>>2]=(p|0)>-1?p:-1;if((o|(n|(m|(h|(g|(f|(c|e)))))))<=-1){Je(a,5900);break a}c=l[a+898>>1];if(c&32768){break a}if(c&16){i[a+898>>1]=c|32768;oh(a,b);Je(a,5808);break a}i[a+898>>1]=c|16;oB(a,a+824|0,d);oh(a,b)}oe=d- -64|0;return}hf(a,5795);z()}function VE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=k[262188];a:{if(a&1|(!j[65546]|(c|0)<1)){break a}while(1){b:{if(!j[j[65546]+12>>2]){break b}d=j[65546];a=j[d+16>>2];j[d+16>>2]=a+1;d=j[65546];if((a|0)>2]){if(!j[j[j[65546]>>2]+36>>2]){break b}a=j[j[65546]+20>>2];d=j[d+16>>2];qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],(p(j[57792],j[j[65546]+12>>2]==1?a-d|0:d)|0)/(a|0)|0);break b}a=j[65546];if(j[d+12>>2]==1){if(j[j[a>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0;a=j[65539];if(!a){break a}qe[a|0]();return}j[a+12>>2]=0}if(j[j[j[65546]>>2]+48>>2]){a=qe[j[j[j[65546]>>2]+48>>2]](j[j[65546]+4>>2],b,c)|0;if(a){j[j[65546]+8>>2]=0}d=(c-a|0)+b|0;c=(a|0)>0;b=c?d:b;c=c?a:0}else{c=0}c:{if(j[65546]){if(j[j[j[65546]>>2]+44>>2]){a=qe[j[j[j[65546]>>2]+44>>2]](j[j[65546]+4>>2])|0;j[j[65546]+8>>2]=a}if(j[j[65546]+8>>2]){break c}}if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0;a=j[65539];if(!a){break c}qe[a|0]()}if(!c|!j[65546]){break a}if(!(h[262188]&1)){continue}break}}}function zi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,n=0;l=oe-16|0;oe=l;g=6;a:{if(!a){break a}i=j[a+8>>2];if(i>>>0<=b>>>0){break a}n=j[a>>2];b:{c:{d:{e:{f:{g:{e=j[a+24>>2];if(!e){g=Fe(n,(j[a+4>>2]+p(k[a+12|0],b)|0)+3|0);if(g){break a}g=uf(j[a>>2],l+12|0,k[a+12|0]);if(g){break a}e=k[a+12|0];if(!e){break f}g=e>>>0>1?e:1;while(1){h=k[(l+12|0)+f|0]|h<<8;f=f+1|0;if((g|0)!=(f|0)){continue}break}if(!h){break f}while(1){g=uf(j[a>>2],l+12|0,e&255);h:{if(g){break h}f=k[a+12|0];if(!f){break h}i=f>>>0>1?f:1;e=0;f=0;while(1){f=k[(l+12|0)+e|0]|f<<8;e=e+1|0;if((i|0)!=(e|0)){continue}break}if(f){break g}}b=b+1|0;if(b>>>0>=m[a+8>>2]){break e}e=k[a+12|0];continue}}g=0;h=j[e+(b<<2)>>2];if(!h){break e}while(1){b=b+1|0;f=j[e+(b<<2)>>2];if(f){break g}if((b|0)!=(i|0)){continue}break}break e}g=0;b=j[n+4>>2];e=b+1|0;if(e>>>0>=f>>>0){break d}i=j[a+16>>2];break c}h=0;g=0}b=j[n+4>>2];f=0}i=j[a+16>>2];e=b+1|0;if(i>>>0<=e-f>>>0){break b}}f=e-i|0}if(!(!h|f>>>0<=h>>>0)){b=f-h|0;j[d>>2]=b;d=j[a+28>>2];if(d){j[c>>2]=(d+h|0)-1;break a}g=Fe(n,(j[a+16>>2]+h|0)-1|0);if(g){break a}g=_f(n,b,c);break a}j[c>>2]=0;j[d>>2]=0}oe=l+16|0;return g}function wj(a,b,c){var d=0,e=0,f=0;d=Xe(1,60);if(!d){Be(0);return 0}f=Ok(c);j[d+4>>2]=f;a:{b:{if(!f){break b}j[d+12>>2]=b;j[d+8>>2]=a;c:{if(!(!c|(c&-268435456)==268435456)){e=2;if((c|0)==844715353|(c|0)==1498831189){break c}e=(c|0)==1431918169?2:1;break c}e=c&255}e=p(e,a);d:{e:{switch((c>>>8&255)-1|0){case 0:e=(e+7|0)/8|0;break d;case 3:break e;default:break d}}e=(e+1|0)/2|0}j[d+48>>2]=b;j[d+44>>2]=a;j[d+36>>2]=0;j[d+40>>2]=0;j[d+16>>2]=e+3&-4;b=j[f>>2];if(!(((b&-268435456)!=268435456?b:0)|(b>>>24&15)-1>>>0>2)){b=sv(1<>2]==2){a=j[b+4>>2];h[a+4|0]=0;h[a+5|0]=0;h[a+2|0]=255;h[a|0]=255;h[a+1|0]=255;h[a+6|0]=0}if((Lk(j[d+4>>2],b)|0)>=0){vf(j[d+52>>2])}tv(b);a=j[d+8>>2]}f:{if(!a){break f}a=j[d+12>>2];if(!a){break f}b=j[d+16>>2];a=gP(b,b>>31,a,a>>31);b=pe;if(!b&a>>>0>=2147483648|b){break a}a=Sk(a);j[d+20>>2]=a;if(!a){break a}j[d>>2]=j[d>>2]|8;Oe(a,0,p(j[d+16>>2],j[d+12>>2]))}a=qv();j[d+52>>2]=a;if(!a){break b}g:{if(!j[j[d+4>>2]+24>>2]){break g}b=j[a+68>>2];c=b&-113|16;j[a+68>>2]=c;if((b|0)==(c|0)){break g}vf(a)}j[d+56>>2]=1;return d}kf(d);return 0}kf(d);Be(0);return 0}function ko(a,b,c,d,e,f){var g=0,i=0,k=0,l=0,m=q(0),o=0,p=q(0),s=0;k=oe+ -64|0;oe=k;o=fl(a,b);a:{if(!o){break a}b:{if(!(!j[67043]|(a|0)==-1&(b|0)==-1)){g=j[67024];if(!g|!(h[268228]&1)|((a|0)!=j[67058]|(b|0)!=j[67059]|((c|0)!=j[67060]|(d|0)!=j[67061]))){break b}l=j[g+28>>2];m=q(q(l|0)*f);c:{if(q(r(m))0?i:0;i=(l|0)>(i|0)?i:l-1|0;s=g;l=j[g+24>>2];m=q(q(l|0)*e);d:{if(q(r(m))0?g:0;Kj(s,-1,0,(g|0)<(l|0)?g:l-1|0,i);break b}if((a|0)!=-1|(b|0)!=-1){break b}if(!j[67044]){break a}}e:{l=j[o+12>>2];f:{if((l|0)<1){break f}o=j[o+20>>2];i=0;while(1){g=j[o+(i<<2)>>2];if(j[g>>2]!=(c|0)|j[g+4>>2]!=(d|0)){i=i+1|0;if((l|0)!=(i|0)){continue}break f}break}if((l|0)>(i|0)){break e}}Jj(a,b,c,d,1,e,f);break a}p=q(e-n[g+8>>2]);m=q(f-n[g+12>>2]);if(q(q(1)-n[g+16>>2])==q(0)?!(p!=q(0)|m!=q(0)):0){break a}n[g+16>>2]=1;n[g+12>>2]=f;n[g+8>>2]=e;if((We(1794,-1)|0)!=1){break a}n[k+48>>2]=1;n[k+44>>2]=m;n[k+40>>2]=p;n[k+36>>2]=f;n[k+32>>2]=e;j[k+24>>2]=c;j[k+28>>2]=d;j[k+16>>2]=a;j[k+20>>2]=b;j[k+8>>2]=1794;gf(k+8|0)}oe=k- -64|0}function AF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,s=0,t=0,u=q(0),v=q(0),w=0,x=0,y=0;a:{if((e|0)<1){break a}while(1){f=g<<2;if(j[f+d>>2]){j[(h<<2)+c>>2]=j[c+f>>2];h=h+1|0}g=g+1|0;if((g|0)!=(e|0)){continue}break}if(!h){break a}i=j[b>>2];k=j[i+8>>2];n=(j[i+4>>2]-j[i>>2]|0)/(k|0)|0;s=j[i+12>>2];o=Ef(a,h<<2);if((h|0)>=1){e=n<<2;g=0;while(1){d=Ef(a,e);j[(g<<2)+o>>2]=d;Ee(d,0,e);g=g+1|0;if((h|0)!=(g|0)){continue}break}}if((n|0)>=1){v=q(100/+(k|0));e=s-1|0;w=(h|0)<1;while(1){if(!w){x=j[i>>2]+p(k,m)|0;l=0;while(1){b:{if((k|0)<1){g=0;d=0;break b}y=j[(l<<2)+c>>2];d=0;g=0;a=0;while(1){f=j[(a+x<<2)+y>>2];t=f>>31;f=t^f+t;g=(g|0)<(f|0)?f:g;d=d+f|0;a=a+1|0;if((k|0)!=(a|0)){continue}break}}f=(s|0)<2;u=q(v*q(d|0));c:{if(q(r(u))>2]>=(g|0)){f=j[f+2584>>2];if((f|0)<0|(d|0)<(f|0)){break d}}a=a+1|0;if((e|0)!=(a|0)){continue}break}a=e}j[j[(l<<2)+o>>2]+(m<<2)>>2]=a;l=l+1|0;if((l|0)!=(h|0)){continue}break}}m=m+1|0;if((n|0)!=(m|0)){continue}break}}j[b+40>>2]=j[b+40>>2]+1}return o|0}function cF(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;d=oe-144|0;oe=d;m=Te((c?c:b)<<2);g=Ee(d,0,132);a:{b:{c:{d:{if((b|0)<1){break d}p=!c;while(1){i=p;d=h[a+q|0];e:{if((d|0)<1){break e}o=(d|0)>31;i=(d<<2)+g|0;l=j[i>>2];if(l>>>d|0?!o:0){break c}j[(n<<2)+m>>2]=l;e=d;f=l;f:{if(!(l&1)){while(1){j[i>>2]=f+1;if((e|0)<2){break f}e=e-1|0;i=(e<<2)+g|0;f=j[i>>2];if(!(f&1)){continue}break}}if((e|0)==1){j[g+4>>2]=j[g+4>>2]+1;break f}j[i>>2]=j[((e<<2)+g|0)-4>>2]<<1}i=1;if(o){break e}while(1){o=l;e=d+1|0;f=(e<<2)+g|0;l=j[f>>2];if((o|0)!=(l>>>1|0)){break e}j[f>>2]=j[(d<<2)+g>>2]<<1;d=e;if((d|0)!=32){continue}break}}n=i+n|0;q=q+1|0;if((q|0)!=(b|0)){continue}break}if((n|0)!=1){break d}if(j[g+8>>2]==2){break b}}d=1;while(1){if(j[(d<<2)+g>>2]<<32-d){break c}d=d+1|0;if((d|0)!=33){continue}break}break b}ze(m);m=0;break a}if((b|0)<1){break a}f=0;i=(c|0)!=0;c=0;while(1){e=0;d=k[a+f|0];l=d<<24>>24;if((l|0)>=1){p=d>>>0>1?d:1;n=j[(c<<2)+m>>2];d=0;while(1){e=n>>>d&1|e<<1;d=d+1|0;if((p|0)!=(d|0)){continue}break}}if(!(i&!l)){j[(c<<2)+m>>2]=e;c=c+1|0}f=f+1|0;if((f|0)!=(b|0)){continue}break}}oe=g+144|0;return m}function Ae(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){Ia(a|0,b|0,c|0)|0;return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if((c|0)<1){c=a;break b}if(!(a&3)){c=a;break b}c=a;while(1){h[c|0]=k[b|0];b=b+1|0;c=c+1|0;if(e>>>0<=c>>>0){break b}if(c&3){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+ -64|0;if(f>>>0>>0){break c}while(1){j[c>>2]=j[b>>2];j[c+4>>2]=j[b+4>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=j[b+12>>2];j[c+16>>2]=j[b+16>>2];j[c+20>>2]=j[b+20>>2];j[c+24>>2]=j[b+24>>2];j[c+28>>2]=j[b+28>>2];j[c+32>>2]=j[b+32>>2];j[c+36>>2]=j[b+36>>2];j[c+40>>2]=j[b+40>>2];j[c+44>>2]=j[b+44>>2];j[c+48>>2]=j[b+48>>2];j[c+52>>2]=j[b+52>>2];j[c+56>>2]=j[b+56>>2];j[c+60>>2]=j[b+60>>2];b=b- -64|0;c=c- -64|0;if(f>>>0>=c>>>0){continue}break}}if(c>>>0>=d>>>0){break a}while(1){j[c>>2]=j[b>>2];b=b+4|0;c=c+4|0;if(d>>>0>c>>>0){continue}break}break a}if(e>>>0<4){c=a;break a}d=e-4|0;if(d>>>0>>0){c=a;break a}c=a;while(1){h[c|0]=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=k[b+2|0];h[c+3|0]=k[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){while(1){h[c|0]=k[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function hs(a,b,c,d,e){var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;l=oe-16|0;oe=l;j[l+12>>2]=0;f=j[a+12>>2];a:{b:{c:{d:{if((f|0)<=11){if(j[a+20>>2]){break d}j[a+16>>2]=12;j[a+20>>2]=a+892;break d}m=j[a+16>>2];if((m|0)>(f|0)){d=j[a+20>>2];k=d+p(f,48)|0;break c}f=64;if((m|0)>44739241){break a}f=((m>>2)+m|0)+4|0;h=(m|0)<-16?44739242:(f|0)>44739242?44739242:f;g=j[a+20>>2];e:{if((g|0)==(a+892|0)){d=xe(d,48,0,h,0,l+12|0);j[a+20>>2]=d;f=j[l+12>>2];if(f){break a}Ae(d,g,576);break e}n=a,o=xe(d,48,m,h,g,l+12|0),j[n+20>>2]=o;f=j[l+12>>2];if(f){break a}}j[a+16>>2]=h;f=j[a+12>>2]}d=j[a+20>>2];k=d+p(f,48)|0;if((f|0)<1){break b}}f=k;while(1){f:{k=f-48|0;g=i[k>>1];if((g|0)<(b|0)){k=f;break f}if(!((b|0)!=(g|0)|j[a+24>>2]!=(c|0))){k=f;break f}g=k;h=j[g+4>>2];j[f>>2]=j[g>>2];j[f+4>>2]=h;h=j[g+44>>2];j[f+40>>2]=j[g+40>>2];j[f+44>>2]=h;h=j[g+36>>2];j[f+32>>2]=j[g+32>>2];j[f+36>>2]=h;h=j[g+28>>2];j[f+24>>2]=j[g+24>>2];j[f+28>>2]=h;h=j[g+20>>2];j[f+16>>2]=j[g+16>>2];j[f+20>>2]=h;h=j[g+12>>2];j[f+8>>2]=j[g+8>>2];j[f+12>>2]=h;f=g;if(f>>>0>d>>>0){continue}}break}f=j[a+12>>2]}j[a+12>>2]=f+1;f=0}j[e>>2]=k;oe=l+16|0;return f}function cz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=q(0),h=q(0),i=q(0);f=nh(a,d<<4,b+4|0);if(!f){return-1}j[b+8>>2]=d;b=j[a+216>>2];if(!(b|j[a+220>>2])){if((d|0)>0){b=0;while(1){a=f;g=n[c>>2];a:{if(q(r(g))>2]=e;a=f;g=n[c+4>>2];b:{if(q(r(g))>2]=e;e=f;g=n[c+8>>2];c:{if(q(r(g))>2]=(a|0)>1?a:1;e=f;g=n[c+12>>2];d:{if(q(r(g))>2]=(a|0)>1?a:1;c=c+16|0;f=f+16|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}if((d|0)<1){return 0}g=q(j[a+220>>2]);i=q(b|0);b=0;while(1){a=f;h=q(n[c>>2]+i);e:{if(q(r(h))>2]=e;a=f;h=q(n[c+4>>2]+g);f:{if(q(r(h))>2]=e;e=f;h=n[c+8>>2];g:{if(q(r(h))>2]=(a|0)>1?a:1;e=f;h=n[c+12>>2];h:{if(q(r(h))>2]=(a|0)>1?a:1;c=c+16|0;f=f+16|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}return 0}function zw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,l)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+l|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function tw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,l)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;c=((p(c,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+l|0;b=((p(b,e)>>>0)/255|0)+m|0;c=((p(c,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+l|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+k|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function gw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,m)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+m|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+m|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function cw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,m)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;c=((p(c,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+m|0;b=((p(b,e)>>>0)/255|0)+l|0;c=((p(c,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+m|0;d=d>>>0<255?d:255;b=b+l|0;b=b>>>0<255?b:255;c=c+k|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Rv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,l)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+l|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+l|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Ow(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,m)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+m|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+m|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Lv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,k)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;c=((p(c,l)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+m|0;c=((p(c,e)>>>0)/255|0)+l|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+k|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+l|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Kw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,k)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;c=((p(c,m)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+l|0;c=((p(c,e)>>>0)/255|0)+m|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+k|0;d=d>>>0<255?d:255;b=b+l|0;b=b>>>0<255?b:255;c=c+m|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function fO(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0;if(!a){return}b=j[a+188>>2];j[a+188>>2]=b-1;if((b|0)<=1){k=j[a>>2];b=j[a+16>>2];a:{if(!b){break a}while(1){g=j[((f<<2)+a|0)+20>>2];c=j[g>>2];b:{if(we(j[c+8>>2],74776)|!(h[c|0]&1)){break b}c=j[g+16>>2];if(!c){break b}while(1){b=j[c+8>>2];c:{if(!b){break c}c=j[b+96>>2];if(!c){break c}d=j[b+128>>2];e=j[d+56>>2];j[d+56>>2]=e-1;if((e|0)>1){break c}e=j[c+8>>2];i=c+16|0;d=zh(i,b);if(!d){break c}Th(i,d);if(d){qe[j[e+8>>2]](e,d)}Vh(e,b,c)}c=j[g+16>>2];if(c){continue}break}b=j[a+16>>2]}f=f+1|0;if(f>>>0>>0){continue}break}if(!b){break a}f=0;while(1){g=j[((f<<2)+a|0)+20>>2];d:{if(!(h[j[g>>2]]&1)){break d}c=j[g+16>>2];if(!c){break d}while(1){b=j[c+8>>2];e:{if(!b){break e}c=j[b+96>>2];if(!c){break e}d=j[b+128>>2];e=j[d+56>>2];j[d+56>>2]=e-1;if((e|0)>1){break e}e=j[c+8>>2];i=c+16|0;d=zh(i,b);if(!d){break e}Th(i,d);if(d){qe[j[e+8>>2]](e,d)}Vh(e,b,c)}c=j[g+16>>2];if(c){continue}break}b=j[a+16>>2]}f=f+1|0;if(f>>>0>>0){continue}break}if(!b){break a}while(1){Ur(a,j[((b<<2)+a|0)+16>>2]);b=j[a+16>>2];if(b){continue}break}}if(a){qe[j[k+8>>2]](k,a)}}}function Dr(a,b,c,d,e,f){var g=0,i=0,l=0;g=oe-432|0;oe=g;j[g+12>>2]=0;l=Ee(g+16|4,0,400);j[g+428>>2]=a;j[g+424>>2]=4096;i=g+32|0;j[g+420>>2]=i;j[g+16>>2]=f;Ee(a+24|0,0,148);j[a+156>>2]=8720;j[a+60>>2]=65536;j[a+44>>2]=2;j[a+48>>2]=65536;j[a+32>>2]=-6553600;j[a+36>>2]=3276800;j[a+172>>2]=65535;j[a+136>>2]=65535;j[a+128>>2]=65535;j[a+132>>2]=65535;j[a+16>>2]=65535;j[a+20>>2]=65535;j[a+8>>2]=65535;j[a+12>>2]=65535;j[a>>2]=65535;j[a+4>>2]=65535;c=zi(b,c,g+12|0,g+8|0);if(!c){c=j[g+12>>2];c=sr(g+16|0,c,c+j[g+8>>2]|0)}if(!j[b+28>>2]){jf(j[b>>2],g+12|0)}a:{if(c){break a}c=0;if(j[a+132>>2]!=65535){break a}c=j[a+116>>2];if(!(!c|!j[a+120>>2])){b=Ee(a+176|0,0,360);j[a+516>>2]=3932;j[a+508>>2]=-1;j[a+380>>2]=1;j[a+372>>2]=2596864;j[a+376>>2]=7;Ee(l,0,400);j[g+428>>2]=b;j[g+424>>2]=8192;j[g+420>>2]=i;j[g+16>>2]=f;c=Fe(d,c+e|0);if(c){break a}c=_e(d,j[a+120>>2]);if(c){break a}c=sr(g+16|0,j[d+32>>2],j[d+36>>2]);Ve(d);if(c){break a}h[b|0]=k[b|0]&254}c=0;b=j[a+524>>2];if(!b){break a}c=Fe(d,j[a+116>>2]+(b+e|0)|0);if(c){break a}b=a+536|0;c=Rh(b,d,1);if(c){break a}c=sm(b,a+568|0,0)}oe=g+432|0;return c}function FF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;d=bf(1,2840);h=j[a+28>>2];m=d,n=Ce(b,24),j[m>>2]=n;m=d,n=Ce(b,24),j[m+4>>2]=n;m=d,n=Ce(b,24)+1|0,j[m+8>>2]=n;i=Ce(b,6);k=i+1|0;j[d+12>>2]=k;g=Ce(b,8);j[d+20>>2]=g;a:{if((g|0)<0){break a}b:{if((i|0)>=0){l=d+24|0;while(1){a=Ce(b,3);c=Ce(b,1);if((c|0)<0){break a}if(c){c=Ce(b,5);if((c|0)<0){break a}a=c<<3|a}j[(e<<2)+l>>2]=a;c=0;if(a){while(1){c=(a&1)+c|0;a=a>>>1|0;if(a){continue}break}}f=c+f|0;a=(e|0)<(i|0);e=e+1|0;if(a){continue}break}c:{if((f|0)>=1){c=d+280|0;a=0;while(1){e=Ce(b,8);if((e|0)<0){break c}j[c+(a<<2)>>2]=e;a=a+1|0;if((f|0)!=(a|0)){continue}break}}b=j[h+24>>2];if((b|0)<=(g|0)){break a}if((f|0)<1){break b}c=d+280|0;a=0;while(1){e=j[c+(a<<2)>>2];if((e|0)>=(b|0)|!j[j[((e<<2)+h|0)+1824>>2]+12>>2]){break a}a=a+1|0;if((f|0)!=(a|0)){continue}break}break b}if(d){break a}return 0}if(j[h+24>>2]<=(g|0)){break a}}c=1;b=j[((g<<2)+h|0)+1824>>2];a=j[b>>2];if((a|0)<1){break a}b=j[b+4>>2];while(1){c=p(c,k);if((b|0)<(c|0)){break a}f=(a|0)<2;a=a-1|0;if(!f){continue}break}j[d+16>>2]=c;return d|0}ze(d);return 0}function SF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:{if(j[a+8>>2]<1){break a}b:{if(j[a>>2]<=8){if((d|0)<1){break a}i=-1;while(1){e=vi(a,c);if((e|0)==-1){break a}g=j[a>>2];h=j[a+16>>2]+(p(g,e)<<2)|0;e=0;c:{switch(g-1|0){case 7:e=(f<<2)+b|0;n[e>>2]=n[h>>2]+n[e>>2];e=1;f=f+1|0;case 6:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 5:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 4:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 3:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 2:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 1:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 0:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;break;default:break c}}if((d|0)>(f|0)){continue}break}break b}if((d|0)<1){break a}while(1){i=-1;e=vi(a,c);if((e|0)==-1){break a}h=j[a>>2];if((h|0)>=1){i=j[a+16>>2]+(p(e,h)<<2)|0;e=0;while(1){g=(f<<2)+b|0;n[g>>2]=n[i+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if((d|0)>(f|0)){continue}break}}i=0}return i|0}function Sl(a,b){var c=0,d=0,e=0,f=0,g=0,k=0,l=0,n=0;l=oe-16|0;oe=l;e=j[a+28>>2];j[l+12>>2]=0;j[b>>2]=0;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;d=h[c|0]}else{d=0}d=d<<24>>24;c=-1;a:{if(!d){break a}f=d&255;if(f&128){d=f<<8&32512;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}f=d|c<<24>>24&255}e=xe(e,2,0,f,0,l+12|0);c=0;if(j[l+12>>2]){break a}j[b>>2]=f;b:{if(!f){break b}b=0;while(1){c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}c=c<<24>>24;k=c&255;c:{if(c&128){d=af(a);i[e+(b<<1)>>1]=d;k=k&127;if(!k){break b}g=0;b=b+1|0;c=e;if(k+b>>>0>f>>>0){break a}while(1){d=af(a)+d|0;i[e+(b<<1)>>1]=d;b=b+1|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}break c}g=e+(b<<1)|0;d=j[a+32>>2];if(d>>>0>2]){j[a+32>>2]=d+1;d=h[d|0]}else{d=0}d=d<<24>>24&255;i[g>>1]=d;if(!c){break b}g=0;b=b+1|0;c=e;if(k+b>>>0>f>>>0){break a}while(1){n=e+(b<<1)|0;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}d=(c<<24>>24&255)+d|0;i[n>>1]=d;b=b+1|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}if(b>>>0>>0){continue}break}}c=e}oe=l+16|0;return c}function OE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=q(0),g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0,s=q(0),t=0,u=0,w=0;m=j[b+20>>2];g=j[b+8>>2];h=j[a+28>>2];e=h<<2;i=g+e|0;if(!j[i>>2]){l=j[b>>2];g=j[m+4>>2];a=j[e+j[j[j[a+64>>2]+4>>2]+28>>2]>>2];e=(a|0)/2|0;u=i,w=Te((e<<2)+4|0),j[u>>2]=w;a:{if((a|0)<=1){g=j[b+8>>2];i=j[g+(h<<2)>>2];a=0;break a}f=q(q(g|0)*q(.5));p=+q(+(l|0)/(pi(+q(f*q(.0007399999885819852)))*13.100000381469727+pi(+q(q(f*f)*q(1.8499999754340024e-8)))*2.240000009536743+ +q(f*q(9999999747378752e-20))));s=q(f/q(e|0));g=j[b+8>>2];i=j[g+(h<<2)>>2];a=0;while(1){t=(a<<2)+i|0;f=q(s*q(a|0));o=v((pi(+q(f*q(.0007399999885819852)))*13.100000381469727+pi(+q(q(f*f)*q(1.8499999754340024e-8)))*2.240000009536743+ +q(f*q(9999999747378752e-20)))*p);b:{if(r(o)<2147483648){k=~~o;break b}k=-2147483648}j[t>>2]=(l|0)>(k|0)?k:l-1|0;a=a+1|0;if((e|0)==(a|0)){a=e}else{l=j[b>>2];continue}break}}j[(a<<2)+i>>2]=-1;j[((h<<2)+b|0)+12>>2]=e}if(c){a=h<<2;e=j[a+g>>2];k=j[(a+b|0)+12>>2];a=j[b+4>>2];NE(d,e,k,j[b>>2],c,a,n[(a<<2)+c>>2],q(j[m+16>>2]));return 1}Ee(d,0,j[((h<<2)+b|0)+12>>2]<<2);return 0}function Ux(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,q=0;e=k[a+63|0];if((e|0)==128){Bn(a,63454);return}a:{g=j[a+28>>2];if(!g){break a}f=e>>>3|0;e=j[a+24>>2];h=e&3;m=(e+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>1<<1;b:while(1){e=m;c:{d:{switch(h-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=l[d>>1];c=(a<<16|a)&132184095;a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c-a|0,f)>>>5|0)+a&132184095;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=1;continue;case 1:a=l[d>>1];c=(a<<16|a)&132184095;a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c-a|0,f)>>>5|0)+a&132184095;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=2;continue;case 2:a=l[d>>1];c=(a<<16|a)&132184095;a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c-a|0,f)>>>5|0)+a&132184095;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=3;continue;default:break e}}a=g-1|0;c=l[d>>1];q=(c<<16|c)&132184095;c=l[b>>1];c=(c<<16|c)&132184095;c=(p(q-c|0,f)>>>5|0)+c&132184095;i[b>>1]=c>>>16|c;b=b+2|0;d=d+2|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function Pl(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if((a|0)>(b|0)){break a}g=j[(c<<3)+e>>2]>j[(d<<3)+e>>2];l=g?c:d;i=l<<3;h=j[i+f>>2];i=j[e+i>>2];n=h-i|0;m=g?d:c;c=m<<3;k=j[c+f>>2];g=j[c+e>>2];o=k-g|0;c=a;b:{if(!((h|0)!=(k|0)?(g|0)!=(i|0):0)){while(1){h=c<<3;d=j[h+e>>2];j[f+h>>2]=(d|0)>(g|0)?(d|0)<(i|0)?k:d+n|0:d+o|0;d=(b|0)==(c|0);c=c+1|0;if(!d){continue}break}break b}q=De(h-k|0,i-g|0);d=a;while(1){c=d;p=c<<3;d=j[p+e>>2];c:{if((d|0)<=(g|0)){h=d+o|0;break c}h=d+n|0;if((d|0)>=(i|0)){break c}h=ye(d-g|0,q)+k|0}j[f+p>>2]=h;d=c+1|0;if((b|0)!=(c|0)){continue}break}}i=f+4|0;d=e+4|0;e=j[d+(m<<3)>>2]>j[d+(l<<3)>>2];f=(e?m:l)<<3;c=j[i+f>>2];f=j[d+f>>2];h=c-f|0;e=(e?l:m)<<3;g=j[e+i>>2];e=j[d+e>>2];l=g-e|0;if(!((e|0)==(f|0)|(c|0)==(g|0))){m=De(c-g|0,f-e|0);while(1){c=a;n=c<<3;a=j[n+d>>2];d:{if((a|0)<=(e|0)){k=a+l|0;break d}k=a+h|0;if((a|0)>=(f|0)){break d}k=ye(a-e|0,m)+g|0}j[i+n>>2]=k;a=c+1|0;if((b|0)!=(c|0)){continue}break}break a}while(1){k=a<<3;c=j[k+d>>2];j[i+k>>2]=(c|0)>(e|0)?(c|0)<(f|0)?g:c+h|0:c+l|0;c=(a|0)==(b|0);a=a+1|0;if(!c){continue}break}}} +function dJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];d=j[n>>2];b=d>>>24|0;c=d>>>8&255;g=d>>>16&255;if(w){c=(p(c,r)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d&255;m=v?(p(d,q)>>>0)/255|0:d;d=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){c=(p(c,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;d=d&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}e=(p(c,e)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:A=c;c=255-m|0;e=A+((p(c,e)>>>0)/255|0)|0;d=((p(c,d)>>>0)/255|0)+g|0;f=((p(c,f)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+e|0;e=c>>>0<255?c:255;c=d+g|0;d=c>>>0<255?c:255;b=b+f|0;f=b>>>0<255?b:255}j[i>>2]=d<<8|f<<16|e;i=i+4|0;n=n+4|0;if(o){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[z+28>>2]=c;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function ZI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];d=j[n>>2];b=d>>>24|0;c=d>>>8&255;g=d>>>16&255;if(w){c=(p(c,r)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d&255;m=v?(p(d,q)>>>0)/255|0:d;d=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){c=(p(c,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;d=d&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(c,f)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;e=(p(b,e)>>>0)/255|0;break a;case 0:A=c;c=255-m|0;f=A+((p(c,f)>>>0)/255|0)|0;d=((p(c,d)>>>0)/255|0)+g|0;e=((p(c,e)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+f|0;f=c>>>0<255?c:255;c=d+g|0;d=c>>>0<255?c:255;b=b+e|0;e=b>>>0<255?b:255}j[i>>2]=d<<8|e|f<<16;i=i+4|0;n=n+4|0;if(o){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[z+28>>2]=c;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function zJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+62|0];t=k[a+61|0];u=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;v=(b&48)!=0&(i|0)!=255;w=b&1;o=i^255;b=b&112;x=b-16|0;y=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){z=a;q=j[a+24>>2];if(q){while(1){d=j[m>>2];c=j[f>>2];b=c&255;e=c>>>8&255;g=c>>>16&255;if(w){e=(p(e,t)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,u)>>>0)/255|0}if(v){e=(p(e,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}q=q-1|0;r=d>>>24|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(x|0){default:if(!y){break a}c=(p(c,g)>>>0)/255|0;h=(p(e,h)>>>0)/255|0;d=(p(b,d)>>>0)/255|0;break a;case 0:r=((p(o,r)>>>0)/255|0)+i|0;c=((p(c,o)>>>0)/255|0)+g|0;h=((p(h,o)>>>0)/255|0)+e|0;d=((p(d,o)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+g|0;c=c>>>0<255?c:255;e=e+h|0;h=e>>>0<255?e:255;b=b+d|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c|r<<24;m=m+4|0;f=f+4|0;if(q){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[z+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function PJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+62|0];t=k[a+61|0];u=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;v=(b&48)!=0&(i|0)!=255;w=b&1;o=i^255;b=b&112;x=b-16|0;y=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];e=n;while(1){z=a;q=j[a+24>>2];if(q){while(1){d=j[m>>2];c=j[e>>2];b=c&255;f=c>>>8&255;g=c>>>16&255;if(w){f=(p(f,t)>>>0)/255|0;g=(p(g,u)>>>0)/255|0;b=(p(b,s)>>>0)/255|0}if(v){f=(p(f,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}q=q-1|0;r=d>>>24|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(x|0){default:if(!y){break a}c=(p(b,c)>>>0)/255|0;h=(p(f,h)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;break a;case 0:r=((p(o,r)>>>0)/255|0)+i|0;c=((p(c,o)>>>0)/255|0)+b|0;h=((p(h,o)>>>0)/255|0)+f|0;d=((p(d,o)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=f+h|0;h=b>>>0<255?b:255;b=d+g|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c|r<<24;m=m+4|0;e=e+4|0;if(q){continue}break}e=j[a+28>>2]}else{e=c}b=e;c=b-1|0;j[z+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;e=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function wl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;h=oe-16|0;oe=h;n=j[c+12>>2];i=k[a|0];if(i){g=i;e=a;while(1){f=p(f,31)+(g<<24>>24)|0;g=k[e+1|0];e=e+1|0;if(g){continue}break}}a:{b:{l=j[c+4>>2];e=n+((f>>>0)%(l>>>0)<<2)|0;g=j[e>>2];if(g){f=(n+(l<<2)|0)-4|0;while(1){l=j[g>>2];if((i|0)==k[l|0]){if(!we(l,a)){break b}}e=e-4|0;e=e>>>0>>0?f:e;g=j[e>>2];if(g){continue}break}}j[h+8>>2]=0;i=He(d,8,h+8|0);f=j[h+8>>2];if(f){break a}j[e>>2]=i;j[i+4>>2]=b;j[i>>2]=a;b=c;a=j[c+8>>2];if(a>>>0>=m[c>>2]){l=j[c+12>>2];o=j[c+4>>2];j[h+12>>2]=0;a=o<<1;j[c>>2]=(a>>>0)/3;j[c+4>>2]=a;t=c,u=xe(d,4,0,a,0,h+12|0),j[t+12>>2]=u;f=j[h+12>>2];if(f){j[h+8>>2]=f;break a}if(o){a=l;while(1){q=j[a>>2];if(q){r=j[c+12>>2];f=0;i=j[q>>2];n=k[i|0];g=n;e=i;if(g){while(1){f=p(f,31)+(g<<24>>24)|0;g=k[e+1|0];e=e+1|0;if(g){continue}break}}e=f;f=j[c+4>>2];g=((e>>>0)%(f>>>0)<<2)+r|0;e=j[g>>2];c:{if(!e){break c}f=((f<<2)+r|0)-4|0;while(1){e=j[e>>2];if((n|0)==k[e|0]){if(!we(e,i)){break c}}e=g-4|0;g=e>>>0>>0?f:e;e=j[g>>2];if(e){continue}break}}j[g>>2]=q}a=a+4|0;s=s+1|0;if((s|0)!=(o|0)){continue}break}}if(l){qe[j[d+8>>2]](d,l)}f=j[h+12>>2];j[h+8>>2]=f;if(f){break a}a=j[c+8>>2]}j[b+8>>2]=a+1;f=0;break a}f=0;j[h+8>>2]=0;j[g+4>>2]=b}oe=h+16|0;return f}function lv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0;e=oe-1072|0;oe=e;h=Se(40);j[h>>2]=0;Ee(e+168|0,0,900);j[e+924>>2]=1e3;j[e+928>>2]=8e6;j[e+916>>2]=1e6;j[e+920>>2]=1e6;j[67126]=0;f=e+168|0;if(f){j[f+724>>2]=0;j[f+720>>2]=0;j[f+716>>2]=0}f=j[67126];j[67126]=0;g=-1;i=4;a:{if(!f){break a}k=j[67127];if(!k){break a}g=ef(j[f>>2],h,4);if(!g){F(f|0,k|0);z()}D(k|0)}b:{f=C()|0;c:{if((g|0)==1){break c}j[67126]=0;f=e+168|0;if(f){j[f+172>>2]=d;j[f+168>>2]=c;j[f+176>>2]=b}b=j[67126];j[67126]=0;g=-1;d:{if(!b){break d}c=j[67127];if(!c){break d}g=ef(j[b>>2],h,4);if(!g){break b}D(c|0)}f=C()|0;if((g|0)==1){break c}h=li(e,1,h,4);i=C()|0;f=0}b=f;e:{while(1){if(b){d=0;break e}j[e+332>>2]=0;j[e+324>>2]=535;j[67126]=0;j[e+328>>2]=e;d=K(562,e+168|0,a|0)|0;b=j[67126];j[67126]=0;g=-1;f:{if(!b){break f}c=j[67127];if(!c){break f}g=ef(j[b>>2],h,i);if(!g){break b}D(c|0)}b=C()|0;if((g|0)==1){continue}if(!d){d=0;break e}j[67126]=0;d=K(563,e+168|0,900)|0;b=j[67126];j[67126]=0;g=-1;g:{if(!b){break g}c=j[67127];if(!c){break g}g=ef(j[b>>2],h,i);if(!g){break b}D(c|0)}b=C()|0;if((g|0)==1){continue}break}if(!d){d=0;break e}j[e+432>>2]=d;j[e+428>>2]=564;j[e+424>>2]=565;j[e+332>>2]=0;j[e+324>>2]=0;j[e+328>>2]=0;Ae(d,e+168|0,900)}ze(h);oe=e+1072|0;return d}F(b|0,c|0);z()}function cv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,m=0;a:{if((k[a+644|0]&48)!=48){g=k[c+84|0]|k[c+85|0]<<8|(k[c+86|0]<<16|k[c+87|0]<<24);m=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);i=65536;g=0;while(1){b:{h=g<<5;if(j[h+98588>>2]!=(m|0)){break b}e=k[c+88|0]|k[c+89|0]<<8|(k[c+90|0]<<16|k[c+91|0]<<24);if(j[h+98592>>2]!=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))){break b}e=k[c+92|0]|k[c+93|0]<<8|(k[c+94|0]<<16|k[c+95|0]<<24);if(j[h+98596>>2]!=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))){break b}e=k[c+96|0]|k[c+97|0]<<8|(k[c+98|0]<<16|k[c+99|0]<<24);if(j[h+98600>>2]!=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))){break b}if(!f){f=k[c+64|0]|k[c+65|0]<<8|(k[c+66|0]<<16|k[c+67|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24)}if(j[h+98584>>2]!=(f|0)|l[h+98606>>1]!=(i|0)){break b}c:{if(d){e=d}else{e=bi(bi(0,0,0),c,f)}d=g<<5;if((e|0)!=j[d+98576>>2]){break c}if((Rf(Rf(0,0,0),c,f)|0)!=j[d+98580>>2]){break c}if(g-5>>>0<=1){Mf(a,98800,2);break a}if(g-4>>>0>2){break a}Mf(a,98829,0);break a}Mf(a,98872,0);return}g=g+1|0;if((g|0)!=7){continue}break}}return}d=a;a=k[c+64|0]|k[c+65|0]<<8|(k[c+66|0]<<16|k[c+67|0]<<24);rn(d,b,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))}function Fk(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;a:{if(!(!b|(!c|!a))){d=j[b+128>>2];if((j[b+132>>2]-d|0)<1){b:{if((2147483647-d|0)>=1){f=d+1|0;f=(f|0)<2147483639?f+8&-8:2147483647;d=Gk(a,j[b+136>>2],d,f-d|0,28);if(d){break b}}Mf(a,99506,1);return 1}Ke(a,j[b+136>>2]);j[b+136>>2]=d;j[b+132>>2]=f;j[b+232>>2]=j[b+232>>2]|16384}while(1){l=p(o,28)+c|0;d=j[l+4>>2];c:{if(!d){break c}i=j[l>>2];if(i+1>>>0>=4){Mf(a,99527,1);break c}e=p(j[b+128>>2],28);g=j[b+136>>2];f=Le(d);q=(i|0)<1;d:{if(q){m=0;d=0;break d}d=0;m=0;n=j[l+20>>2];if(n){m=Le(n)}n=j[l+24>>2];if(!n){break d}d=Le(n)}e=e+g|0;g=j[l+8>>2];e:{if(!(k[g|0]?g:0)){if(!q){j[e>>2]=1;g=0;break e}j[e>>2]=-1;g=0;break e}g=Le(g);j[e>>2]=i}i=$f(a,(((f+m|0)+d|0)+g|0)+4|0);j[e+4>>2]=i;if(!i){break a}Ae(i,j[l+4>>2],f);i=e+4|0;h[f+j[i>>2]|0]=0;f:{if(j[l>>2]>=1){f=(f+j[e+4>>2]|0)+1|0;j[e+20>>2]=f;Ae(f,j[l+20>>2],m);h[j[e+20>>2]+m|0]=0;f=(j[e+20>>2]+m|0)+1|0;j[e+24>>2]=f;Ae(f,j[l+24>>2],d);h[j[e+24>>2]+d|0]=0;i=e+24|0;break f}j[e+20>>2]=0;j[e+24>>2]=0;d=f}d=(j[i>>2]+d|0)+1|0;j[e+8>>2]=d;if(g){Ae(d,j[l+8>>2],g);d=j[e+8>>2]}h[d+g|0]=0;d=j[e>>2]>0;j[e+16>>2]=d?g:0;j[e+12>>2]=d?0:g;j[b+128>>2]=j[b+128>>2]+1}o=o+1|0;if((o|0)!=1){continue}break}}return 0}Mf(a,99565,1);return 1}function SB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(m[a+404>>2]>=a+24>>>0){g=j[a+412>>2];c=j[a+20>>2];d=j[a+16>>2];f=k[d|0];a:{b:{if((f|0)==30){b=If(d,c,0,0)>>16;break b}c:{switch(f-28|0){case 0:if(d+3>>>0>c>>>0){break a}b=k[d+1|0]|k[d+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break b;case 1:if(d+5>>>0>c>>>0){break a}b=k[d+1|0]|k[d+2|0]<<8|(k[d+3|0]<<16|k[d+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b;default:break c}}b=f-139|0;if(f>>>0<=246){break b}b=d+2|0;if(f>>>0<=250){if(c>>>0>>0){break a}b=(k[d+1|0]|f<<8)-63124|0;break b}if(c>>>0>>0){break a}b=64148-(k[d+1|0]|f<<8)|0}e=b;if((e|0)<0){return 3}c=j[a+20>>2]}j[g+120>>2]=e;e=j[a+24>>2];d:{b=k[c|0];e:{if((b|0)==30){a=If(c,e,0,0)>>16;break e}f:{switch(b-28|0){case 0:a=0;if(e>>>0>>0){break d}a=k[c+1|0]|k[c+2|0]<<8;a=(a<<24|a<<8&16711680)>>16;break e;case 1:a=0;if(e>>>0>>0){break d}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e;default:break f}}a=b-139|0;if(b>>>0<=246){break e}d=c+2|0;if(b>>>0<=250){a=0;if(d>>>0>e>>>0){break d}a=(k[c+1|0]|b<<8)-63124|0;break e}a=0;if(d>>>0>e>>>0){break d}a=64148-(k[c+1|0]|b<<8)|0}if((a|0)>=0){break d}return 3}j[g+116>>2]=a;a=0}else{a=161}return a|0}function kk(a,b,c,d,e){var f=0,g=0,i=0;a:{g=c<<8|b<<16|d|e<<24;b:{if(!((g|0)==j[a+356>>2]?j[a+396>>2]:0)){c:{f=j[a+348>>2];if(f){j[a+348>>2]=j[f+24>>2];j[f+24>>2]=0;break c}f=Xe(1,28);if(f){break c}break a}i=j[a+344>>2];j[(i?i+24|0:a+340|0)>>2]=f;j[a+344>>2]=f;if(!f){return-1}j[f>>2]=3;j[f+4>>2]=0;h[f+11|0]=e;h[f+10|0]=d;h[f+9|0]=c;h[f+8|0]=b;e=qe[j[a+24>>2]](a,f)|0;if((e|0)<=-1){j[f>>2]=0;return e}j[a+396>>2]=1;j[a+356>>2]=g;if(e){break b}}d:{if(j[a+400>>2]){if(!xf(a+216|0,a+360|0,16)){break d}}e:{f=j[a+348>>2];if(f){j[a+348>>2]=j[f+24>>2];j[f+24>>2]=0;break e}f=Xe(1,28);if(f){break e}break a}b=j[a+344>>2];j[(b?b+24|0:a+340|0)>>2]=f;j[a+344>>2]=f;if(!f){return-1}j[f>>2]=1;j[f+4>>2]=0;b=a+216|0;Ge(f+8|0,b,16);e=qe[j[a+20>>2]](a,f)|0;if((e|0)<=-1){j[f>>2]=0;return e}Ge(a+360|0,b,16);j[a+400>>2]=1;if(e){break b}}f:{if(!(!j[a+404>>2]|j[a+280>>2]!=j[a+392>>2])){if(!xf(a+248|0,a+376|0,16)){break f}}g:{f=j[a+348>>2];if(f){j[a+348>>2]=j[f+24>>2];j[f+24>>2]=0;break g}f=Xe(1,28);if(f){break g}break a}b=j[a+344>>2];j[(b?b+24|0:a+340|0)>>2]=f;j[a+344>>2]=f;if(!f){return-1}j[f>>2]=2;j[f+4>>2]=j[a+280>>2];b=a+248|0;Ge(f+8|0,b,16);Ge(a+376|0,b,16);j[a+404>>2]=1;j[a+392>>2]=j[a+280>>2]}e=0}return e}Be(0);return-1}function uq(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;f=oe;u=f;k=j[b>>2];g=j[k+4>>2];h=j[a+36>>2]>>1;g=((g|0)<(h|0)?g:h)-j[k>>2]|0;a:{if((g|0)<1){break a}m=j[j[b+16>>2]>>2];q=j[k+8>>2];g=(g|0)/(q|0)|0;n=f-((d<<2)+15&-16)|0;oe=n;if((d|0)>=1){h=((g+m|0)-1|0)/(m|0)<<2;f=0;while(1){z=(f<<2)+n|0,A=Ff(a,h),j[z>>2]=A;f=f+1|0;if((f|0)!=(d|0)){continue}break}}f=j[b+8>>2];if((f|0)<1){break a}r=a+4|0;h=0;v=(g|0)<1;while(1){if(!v){a=0;s=(d|0)<1;w=s|(h|0)!=0;x=1<>2],r);if((i|0)==-1|(i|0)>=j[k+16>>2]){break a}i=j[j[b+28>>2]+(i<<2)>>2];j[j[(f<<2)+n>>2]+(o<<2)>>2]=i;if(!i){break a}f=f+1|0;if((f|0)!=(d|0)){continue}break}}b:{if((m|0)<1){break b}i=0;if((a|0)>=(g|0)){break b}while(1){if(!s){y=p(a,q);f=0;while(1){t=f<<2;l=j[j[j[t+n>>2]+(o<<2)>>2]+(i<<2)>>2]<<2;c:{if(!(j[(l+k|0)+24>>2]&x)){break c}l=j[j[l+j[b+20>>2]>>2]+(h<<2)>>2];if(!l){break c}if((qe[e|0](l,j[c+t>>2]+(j[k>>2]+y<<2)|0,r,q)|0)==-1){break a}}f=f+1|0;if((f|0)!=(d|0)){continue}break}}a=a+1|0;i=i+1|0;if((m|0)<=(i|0)){break b}if((a|0)<(g|0)){continue}break}}o=o+1|0;if((a|0)<(g|0)){continue}break}f=j[b+8>>2]}h=h+1|0;if((h|0)<(f|0)){continue}break}}oe=u}function No(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,q=0,r=0,t=0;j[d>>2]=0;j[d+4>>2]=0;g=b?b-1|0:0;b=j[a+408>>2];a:{if(g>>>0>b>>>0){break a}c=c?c-1|0:0;if(c>>>0>b>>>0){break a}b=j[a+424>>2];if(!b){break a}f=c<<4;c=j[a+416>>2];g=l[f+c>>1]|j[c+(g<<4)>>2]<<16;o=j[a+104>>2];while(1){if(!(g>>>0<=m[b+20>>2]?g>>>0>=m[b+16>>2]:0)){b=j[b>>2];if(b){continue}break a}break}e=Fe(o,j[b+12>>2]);if(e){break a}e=_e(o,p(j[b+8>>2],k[b+4|0]));if(e){break a}a=k[b+5|0];t=a&2;r=a&1;q=j[b+8>>2];e=j[o+32>>2];a=k[b+4|0];c=-2147483648>>>s(a)|0;a=a-c|0;b:{c:{d:{if(!a){break d}a=p(a,q)+e|0;e:{if(r){h=k[a+1|0]<<16|k[a|0]<<24|k[a+2|0]<<8;n=a+3|0;a=a+4|0;break e}n=a+1|0;h=k[a|0]<<16;a=a+2|0}f=k[n|0]|h;if((f|0)==(g|0)){break c}if(g>>>0<=f>>>0){break d}e=(t?2:1)+a|0}f=p(c,q);if(q>>>0>>0){while(1){f=f>>>1|0;c=f+e|0;f:{if(r){h=k[c+1|0]<<16|k[c|0]<<24|k[c+2|0]<<8;n=c+3|0;a=c+4|0;break f}n=c+1|0;h=k[c|0]<<16;a=c+2|0}h=k[n|0]|h;if((h|0)==(g|0)){break c}e=g>>>0>h>>>0?c:e;if(f>>>0>q>>>0){continue}break}}g:{if(r){f=3;c=k[e+1|0]<<16|k[e|0]<<24|k[e+2|0]<<8;a=e+4|0;break g}f=1;c=k[e|0]<<16;a=e+2|0}if((g|0)!=(c|k[e+f|0])){break b}}c=k[a|0];if(t){c=(k[a+1|0]|c<<8)<<16>>16}j[d>>2]=i[b+6>>1]+c}Ve(o);e=0}return e|0}function PK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0;b=j[a+36>>2]/2|0;a:{g=j[a+28>>2];if(!g){break a}d=j[a+56>>2];e=j[a+48>>2];h=j[a+16>>2];f=j[a+24>>2];m=f&7;n=(f+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];o=b<<1;b:while(1){f=n;c:{d:{switch(m-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=1;continue;case 1:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=2;continue;case 2:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=3;continue;case 3:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=4;continue;case 4:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=5;continue;case 5:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=6;continue;case 6:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=7;continue;default:break e}}b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}b=g-1|0;a=a+2|0;c=c+1|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+h|0;a=a+o|0;g=b;if(b){continue b}break a}b=0;continue}}}}function NK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;b=j[a+36>>2]/4|0;a:{g=j[a+28>>2];if(!g){break a}d=j[a+56>>2];e=j[a+48>>2];h=j[a+16>>2];f=j[a+24>>2];i=f&7;l=(f+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];m=b<<2;b:while(1){f=l;c:{d:{switch(i-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=1;continue;case 1:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=2;continue;case 2:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=3;continue;case 3:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=4;continue;case 4:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=5;continue;case 5:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=6;continue;case 6:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=7;continue;default:break e}}b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}b=g-1|0;a=a+4|0;c=c+1|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+h|0;a=a+m|0;g=b;if(b){continue b}break a}b=0;continue}}}}function xm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=oe-48|0;oe=e;a:{if(!a){ve(125476,0);break a}if(cm(a,125666)){ve(125491,0);break a}b:{if(!bg(125531)){break b}if(sg(125531,1)){c=c|4;break b}c=c&-5}c:{d:{e:{if((b|0)<=-1){b=1;d=bg(125548);f:{if(!d){break f}g=a;h=c;f=231392;g:{if(!Me(d,j[57849])){break g}if(Me(d,j[57951])){break f}f=231800}d=qe[j[f>>2]](g,h)|0;b=!d;if(d){break d}}if((j[57850]&c)==(c|0)){d=qe[j[57848]](a,c)|0;if(d){break d}}if((j[57952]&c)==(c|0)){break e}break c}if((b|0)>=2){j[e+16>>2]=1;ve(125603,e+16|0);break a}c=qe[j[j[(b<<2)+125468>>2]>>2]](a,c)|0;if(!c){break a}b=0;d=c;break d}d=qe[j[57950]](a,c)|0;if(!d){break c}}c=1;h:{if(j[d+332>>2]){break h}c=b;if(!bg(125646)){break h}c=sg(125646,1)}j[d+188>>2]=a;j[d>>2]=268305;j[d+336>>2]=c;b=$i();j[d+352>>2]=1;j[d+304>>2]=1065353216;j[d+308>>2]=1065353216;j[d+288>>2]=1065353216;j[d+292>>2]=1065353216;j[d+320>>2]=b;b=j[d+8>>2];i:{if(!b){break i}if(qe[b|0](d,e+36|0,e+32|0)|0){break i}ah(j[d+188>>2],e+44|0,e+40|0);n[d+304>>2]=q(j[e+44>>2])/q(j[e+36>>2]);n[d+308>>2]=q(j[e+40>>2])/q(j[e+32>>2])}i=d,k=(cj(a)&72)!=0,j[i+192>>2]=k;Yj(a,125666,d);zh(d,0);ns(667,d);j[e>>2]=j[d+104>>2];Es(e);break a}d=0;ve(125566,0)}oe=e+48|0;return d}function XJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];e=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[e>>2];b=c&255;f=c>>>8&255;g=c>>>16&255;if(v){f=(p(f,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}if(u){f=(p(f,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}d=(p(b,d)>>>0)/255|0;h=(p(f,h)>>>0)/255|0;c=(p(c,g)>>>0)/255|0;break a;case 0:d=((p(d,q)>>>0)/255|0)+b|0;h=((p(h,q)>>>0)/255|0)+f|0;c=((p(c,q)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+d|0;d=b>>>0<255?b:255;b=f+h|0;h=b>>>0<255?b:255;c=c+g|0;c=c>>>0<255?c:255}j[m>>2]=h<<8|c|d<<16;m=m+4|0;e=e+4|0;if(o){continue}break}e=j[a+28>>2]}else{e=c}b=e;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;e=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function LJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[f>>2];b=c&255;e=c>>>8&255;g=c>>>16&255;if(v){e=(p(e,s)>>>0)/255|0;g=(p(g,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}if(u){e=(p(e,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}c=(p(c,g)>>>0)/255|0;h=(p(e,h)>>>0)/255|0;d=(p(b,d)>>>0)/255|0;break a;case 0:c=((p(c,q)>>>0)/255|0)+g|0;h=((p(h,q)>>>0)/255|0)+e|0;d=((p(d,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+g|0;c=c>>>0<255?c:255;e=e+h|0;h=e>>>0<255?e:255;b=b+d|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c;m=m+4|0;f=f+4|0;if(o){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function HJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];g=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[g>>2];b=c&255;e=c>>>8&255;f=c>>>16&255;if(v){e=(p(e,s)>>>0)/255|0;f=(p(f,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}if(u){e=(p(e,i)>>>0)/255|0;f=(p(f,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}d=(p(d,f)>>>0)/255|0;h=(p(e,h)>>>0)/255|0;c=(p(b,c)>>>0)/255|0;break a;case 0:d=((p(d,q)>>>0)/255|0)+f|0;h=((p(h,q)>>>0)/255|0)+e|0;c=((p(c,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}f=d+f|0;d=f>>>0<255?f:255;e=e+h|0;h=e>>>0<255?e:255;c=b+c|0;c=c>>>0<255?c:255}j[m>>2]=h<<8|c|d<<16;m=m+4|0;g=g+4|0;if(o){continue}break}g=j[a+28>>2]}else{g=c}b=g;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;g=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function $J(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];e=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[e>>2];b=c&255;f=c>>>8&255;g=c>>>16&255;if(v){f=(p(f,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}if(u){f=(p(f,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}c=(p(b,c)>>>0)/255|0;h=(p(f,h)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;break a;case 0:c=((p(c,q)>>>0)/255|0)+b|0;h=((p(h,q)>>>0)/255|0)+f|0;d=((p(d,q)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=f+h|0;h=b>>>0<255?b:255;b=d+g|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c;m=m+4|0;e=e+4|0;if(o){continue}break}e=j[a+28>>2]}else{e=c}b=e;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;e=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function Gn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;m=oe+ -64|0;oe=m;q=6;e=j[a+528>>2];a:{if(!e){break a}d=j[e+4>>2];b:{if(!d){d=0;break b}t=b>>>0>d>>>0?d:b;while(1){b=p(f,12)+e|0;o=b;i=j[b+96>>2];n=j[b+92>>2];c:{if(f>>>0>>0){b=k[o+88|0];h=j[(f<<2)+c>>2];break c}b=k[o+88|0];h=(j[((b<<2)+n|0)-4>>2]-j[n>>2]|0)/2|0}d:{e:{f:{if(b&255){b=0;g=-1;g:{while(1){l=b<<2;r=l+n|0;s=j[r>>2];if((h|0)==(s|0)){break e}if((h|0)<(s|0)){break g}g=b;b=b+1|0;l=k[o+88|0];if(b>>>0>>0){continue}break}b=j[(i+(l<<2)|0)-4>>2];break d}if((g|0)>-1){break f}}b=j[i>>2];break d}b=g<<2;g=j[b+n>>2];b=Ne(h-g|0,j[i+l>>2]-j[b+i>>2]|0,j[r>>2]-g|0);d=j[e+4>>2];break d}b=j[i+l>>2]}j[(f<<2)+m>>2]=b;f=f+1|0;if(f>>>0>>0){continue}break}e=j[a+528>>2];if(!e){break a}}q=0;f=j[e>>2];if(!f){break a}c=j[e+4>>2];i=c>>>0>>0?c:d;d=0;while(1){g=65536;b=0;h=0;a=65536;if(c){while(1){a=32768;h:{i:{if(b>>>0>=i>>>0){break i}a=j[(b<<2)+m>>2];if((a|0)<1){a=0;break i}c=65536;if((a|0)>65535){break h}}c=a}g=ye(g,d>>>b&1?c:65536-c|0);b=b+1|0;h=j[e+4>>2];if(b>>>0>>0){continue}break}f=j[e>>2];a=g}j[j[e+136>>2]+(d<<2)>>2]=a;c=h;d=d+1|0;if(f>>>0>d>>>0){continue}break}}oe=m- -64|0;return q|0}function sw(a){a=a|0;var b=0,c=0,d=0;if(a){c=j[a+100>>2];b=j[a+544>>2];if(b){if(b){qe[j[c+8>>2]](c,b)}j[a+540>>2]=0;j[a+544>>2]=0}Mk(a);j[a+528>>2]=0;b=j[a+132>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+136>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0;b=j[a+144>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+144>>2]=0;b=j[a+148>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+148>>2]=0;b=j[a+428>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+428>>2]=0;b=j[a+424>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+424>>2]=0;b=j[a+420>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+420>>2]=0;b=j[a+408>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+408>>2]=0;b=j[a+412>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+412>>2]=0;b=j[a+392>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+392>>2]=0;b=j[a+396>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+396>>2]=0;b=j[a+400>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+400>>2]=0;b=j[a+384>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+384>>2]=0;b=j[a+388>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+388>>2]=0;b=j[a+364>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+364>>2]=0;b=j[a+492>>2];if(b){d=j[b+36>>2];if(d){qe[j[c+8>>2]](c,d)}j[b+36>>2]=0;j[b+40>>2]=0;d=j[b+28>>2];if(d){qe[j[c+8>>2]](c,d)}j[b+28>>2]=0;j[b+32>>2]=0;if(b){qe[j[c+8>>2]](c,b)}}j[a+20>>2]=0;j[a+24>>2]=0}}function jm(a,b){var c=0,d=0,e=0;e=oe-32|0;oe=e;d=-1;a:{if(!zi(b,e+28|0,e+24|0,e+20|0,e+16|0,e+12|0)){break a}Oe(a,0,44);j[a>>2]=b;b=j[e+28>>2];h[a+8|0]=b;h[a+9|0]=(b+7|0)/8;b=j[e+24>>2];h[a+32|0]=0;j[a+12>>2]=b;h[a+28|0]=8;b:{if(!b){break b}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+32|0]=c;if(!(d&2)){break b}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+28|0]=c}b=j[e+20>>2];c=0;h[a+33|0]=0;j[a+16>>2]=b;h[a+29|0]=8;c:{if(!b){break c}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+33|0]=c;if(!(d&2)){break c}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+29|0]=c}b=j[e+16>>2];c=0;h[a+34|0]=0;j[a+20>>2]=b;h[a+30|0]=8;d:{if(!b){break d}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+34|0]=c;if(!(d&2)){break d}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+30|0]=c}b=j[e+12>>2];c=0;h[a+35|0]=0;j[a+24>>2]=b;h[a+31|0]=8;e:{if(!b){break e}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+35|0]=c;if(!(d&2)){break e}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+31|0]=c}j[a+36>>2]=1;j[a+40>>2]=0;j[a+4>>2]=0;d=0}oe=e+32|0;return d}function _G(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=oe-48|0;oe=e;f=Fe(a,b);j[e+44>>2]=f;a:{if(f){break a}f=uf(a,e+16|0,16);j[e+44>>2]=f;if(f){break a}f=d;d=j[e+16>>2];g=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+b|0;j[f>>2]=g;f=2;d=j[e+20>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break a}b=b+d|0;if((b|0)!=(k[e+27|0]+(((g+(k[e+24|0]<<24)|0)+(k[e+25|0]<<16)|0)+(k[e+26|0]<<8)|0)|0)){break a}f=Fe(a,b);j[e+44>>2]=f;if(f){break a}h[e+15|0]=k[e+31|0]+1;f=uf(a,e,16);j[e+44>>2]=f;if(f){break a}d=k[e+1|0];g=k[e|0];i=k[e+2|0];l=k[e+3|0];m=k[e+4|0];n=k[e+5|0];o=k[e+6|0];p=k[e+7|0];q=k[e+8|0];r=k[e+9|0];s=k[e+10|0];t=k[e+11|0];u=k[e+12|0];v=k[e+13|0];w=k[e+14|0];x=k[e+15|0];if(!((d|0)==k[e+17|0]&(g|0)==k[e+16|0]&(i|0)==k[e+18|0]&(l|0)==k[e+19|0]&(m|0)==k[e+20|0]&(n|0)==k[e+21|0]&(o|0)==k[e+22|0]&(p|0)==k[e+23|0]&(q|0)==k[e+24|0]&(r|0)==k[e+25|0]&(s|0)==k[e+26|0]&(t|0)==k[e+27|0]&(u|0)==k[e+28|0]&(v|0)==k[e+29|0]&(w|0)==k[e+30|0]&(x|0)==k[e+31|0])){f=2;if(d|g|i|l|m|n|o|p|q|r|s|t|u|v|w|x){break a}}y=e,z=vf(a,8),j[y+44>>2]=z;d=qf(a,e+44|0);f=j[e+44>>2];if(f){break a}f=a;a=b+d|0;f=Fe(f,a);if(f){break a}j[c>>2]=a;f=0}oe=e+48|0;return f}function TJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];s=(j[a+4>>2]<<16)/(g|0)|0;t=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;u=c-16|0;v=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){n=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;n=((b>>>16|0)+n|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(n<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];r=e>>>24|0;h=e&255;b=j[q>>2];i=b&255;k=e>>>8&255;l=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(u|0){default:if(!v){break a}h=(p(h,i)>>>0)/255|0;k=(p(e,k)>>>0)/255|0;l=(p(b,l)>>>0)/255|0;break a;case 0:r=255;l=b;k=e;h=i;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}i=h+i|0;h=i>>>0<255?i:255;e=e+k|0;k=e>>>0<255?e:255;b=b+l|0;l=b>>>0<255?b:255}j[c>>2]=k<<8|l<<16|h|r<<24;c=c+4|0;d=d+s|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){f=f+t|0;g=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function DJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];s=(j[a+4>>2]<<16)/(g|0)|0;t=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;u=c-16|0;v=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){m=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;m=((b>>>16|0)+m|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(m<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];r=e>>>24|0;h=e&255;b=j[q>>2];n=b&255;i=e>>>8&255;k=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(u|0){default:if(!v){break a}h=(p(b,h)>>>0)/255|0;i=(p(e,i)>>>0)/255|0;k=(p(k,n)>>>0)/255|0;break a;case 0:r=255;k=n;i=e;h=b;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+h|0;h=b>>>0<255?b:255;b=e+i|0;i=b>>>0<255?b:255;b=k+n|0;k=b>>>0<255?b:255}j[c>>2]=i<<8|k<<16|h|r<<24;c=c+4|0;d=d+s|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){f=f+t|0;g=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function PC(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;a:{if(!a|!b){break a}f=j[a+4>>2];c=j[a>>2];if(!(f|c)){break a}d=f>>31;e=c>>31;l=d+f^d|e+c^e;i=s(l);k=i-2|0;b:{if(l>>>0<=1073741823){d=f<>f;c=c>>f}c:{if((b|0)>=-2949120){e=b;f=c;break c}while(1){f=d;d=0-c|0;g=(b|0)<-8847360;c=f;e=b+5898240|0;b=e;if(g){continue}break}}d:{if((e|0)<=2949120){b=d;c=e;break d}while(1){b=f;f=0-d|0;g=(e|0)>8847360;d=b;c=e-5898240|0;e=c;if(g){continue}break}}g=6736;e=1;d=1;while(1){h=b+e>>d;e:{if((c|0)<=-1){c=j[g>>2]+c|0;b=b-(e+f>>d)|0;f=f+h|0;break e}c=c-j[g>>2]|0;b=(e+f>>d)+b|0;f=f-h|0}e=e<<1;g=g+4|0;d=d+1|0;if((d|0)!=23){continue}break}c=b>>31;d=c+b^c;e=d&65535;c=p(e,56281);g=d>>>16|0;d=c+p(g,23318)|0;h=d<<16;e=h+p(e,23318)|0;c=(((p(g,56281)+(d>>>16|0)|0)+((c>>>0>d>>>0)<<16)|0)+(e>>>0>>0)|0)+(e>>>0>3221225471)|0;b=(b|0)<0?0-c|0:c;c=f>>31;d=c+f^c;e=d&65535;c=p(e,56281);g=d>>>16|0;d=c+p(g,23318)|0;h=d<<16;e=h+p(e,23318)|0;c=(((p(g,56281)+(d>>>16|0)|0)+((c>>>0>d>>>0)<<16)|0)+(e>>>0>>0)|0)+(e>>>0>3221225471)|0;f=(f|0)<0?0-c|0:c;if(l>>>0<=536870911){c=1<>2]=(c+b|0)+(b>>31)>>k;j[a>>2]=(c+f|0)+(f>>31)>>k;return}c=b;b=2-i|0;j[a+4>>2]=c<>2]=f<>2]/2|0;d=j[a+16>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}e=j[a+24>>2];h=e&7;e=(e+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];k=b<<1;l=d<<2;b:while(1){d=e;c:{d:{switch(h-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=1;continue;case 1:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=2;continue;case 2:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=3;continue;case 3:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=4;continue;case 4:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=5;continue;case 5:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=6;continue;case 6:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=7;continue;default:break e}}b=f-1|0;g=j[c>>2];i[a>>1]=g>>>8&63488|g>>>5&2016|g>>>3&31;a=a+2|0;c=c+4|0;f:{if((d|0)>1){d=d-1|0;break f}a=a+k|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function vj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;e=oe-16|0;oe=e;f=j[a+100>>2];j[e+12>>2]=0;d=j[a+528>>2];a:{if(!d){d=He(f,420,e+12|0);if(j[e+12>>2]){break a}j[d+416>>2]=0;j[a+528>>2]=d}b:{c:{if(!b){break c}g=j[d>>2];if(!g){l=d,m=xe(f,32,0,b,0,e+12|0),j[l+148>>2]=m;if(j[e+12>>2]){break a}l=d,m=xe(f,196,0,b,0,e+12|0),j[l+216>>2]=m;if(j[e+12>>2]){break a}l=d,m=xe(f,16,0,b,0,e+12|0),j[l+288>>2]=m;if(j[e+12>>2]){break a}g=xe(f,4,0,b<<1,0,e+12|0);j[d+136>>2]=g;if(j[e+12>>2]){break a}j[d+284>>2]=a+460;j[d+212>>2]=a+168;j[d+144>>2]=a+132;j[d+140>>2]=g+(b<<2);if(b>>>0>=2){g=j[d+288>>2];h=j[d+216>>2];i=j[d+148>>2];a=2;while(1){k=(a<<2)+d|0;g=g+16|0;j[k+284>>2]=g;h=h+196|0;j[k+212>>2]=h;i=i+32|0;j[k+144>>2]=i;a=a+1|0;if(b>>>0>=a>>>0){continue}break}}j[d>>2]=b;break c}if((b|0)!=(g|0)){break b}}a=j[d+4>>2];d:{if(!c){c=a;break d}if((a|0)!=(c|0)?a:0){break b}j[d+4>>2]=c}b=j[d>>2];if(j[d+24>>2]|(!b|!c)){break a}f=xe(f,4,0,p(b,c),0,e+12|0);j[d+24>>2]=f;if(j[e+12>>2]){break a}a=2;if(b>>>0<2){break a}j[d+28>>2]=f+(c<<2);if((b|0)==2){break a}f=d+24|0;while(1){j[f+(a<<2)>>2]=j[d+24>>2]+(p(a,c)<<2);a=a+1|0;if((b|0)!=(a|0)){continue}break}break a}j[e+12>>2]=3}oe=e+16|0;return j[e+12>>2]}function gk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;d=j[a+36>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}g=j[a+16>>2];e=j[a+24>>2];h=e&7;i=(e+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];l=d<<2;b:while(1){e=i;c:{d:{switch(h-1|0){default:d=0;break c;case 0:d=7;break c;case 1:d=6;break c;case 2:d=5;break c;case 3:d=4;break c;case 4:d=3;break c;case 5:d=2;break c;case 6:break d}}d=1}while(1){e:{switch(d|0){case 0:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=1;continue;case 1:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=2;continue;case 2:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=3;continue;case 3:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=4;continue;case 4:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=5;continue;case 5:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=6;continue;case 6:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=7;continue;default:break e}}d=f-1|0;j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;f:{if((e|0)>1){e=e-1|0;break f}c=c+g|0;a=a+l|0;f=d;if(d){continue b}break a}d=0;continue}}}}function dn(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=k[a+9|0];if(c>>>0<8){break a}d=k[a+8|0];if(d&2){break a}e=j[a>>2];b:{c:{switch(d|0){case 0:if((c|0)==8){if(!e){break b}c=(b+e|0)-1|0;b=c+(e<<1)|0;d=0;while(1){h[b|0]=k[c|0];h[b-1|0]=k[c|0];h[b-2|0]=k[c|0];b=b-3|0;c=c-1|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break b}if(!e){break b}b=((e<<1)+b|0)-1|0;c=b+(e<<2)|0;d=0;while(1){h[c|0]=k[b|0];f=b-1|0;h[c-1|0]=k[f|0];h[c-2|0]=k[b|0];h[c-3|0]=k[f|0];h[c-4|0]=k[b|0];h[c-5|0]=k[f|0];c=c-6|0;b=b-2|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break b;case 4:break c;default:break b}}if((c|0)==8){if(!e){break b}c=e<<1;b=(c+b|0)-1|0;c=b+c|0;d=0;while(1){h[c|0]=k[b|0];f=b-1|0;h[c-1|0]=k[f|0];h[c-2|0]=k[f|0];h[c-3|0]=k[f|0];c=c-4|0;b=b-2|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break b}if(!e){break b}c=e<<2;b=(c+b|0)-1|0;c=b+c|0;d=0;while(1){h[c|0]=k[b|0];h[c-1|0]=k[b-1|0];f=b-2|0;h[c-2|0]=k[f|0];g=b-3|0;h[c-3|0]=k[g|0];h[c-4|0]=k[f|0];h[c-5|0]=k[g|0];h[c-6|0]=k[f|0];h[c-7|0]=k[g|0];c=c-8|0;b=b-4|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}}b=k[a+10|0]+2|0;h[a+10|0]=b;h[a+8|0]=k[a+8|0]|2;b=p(b,k[a+9|0]);h[a+11|0]=b;b=b&255;d:{if(b>>>0>=8){b=p(b>>>3|0,e);break d}b=p(b,e)+7>>>3|0}j[a+4>>2]=b}}function cK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;b=j[a+36>>2]/2|0;d=j[a+16>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}e=j[a+24>>2];h=e&7;e=(e+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];k=b<<1;l=d<<2;b:while(1){d=e;c:{d:{switch(h-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=1;continue;case 1:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=2;continue;case 2:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=3;continue;case 3:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=4;continue;case 4:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=5;continue;case 5:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=6;continue;case 6:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=7;continue;default:break e}}b=f-1|0;g=j[c>>2];i[a>>1]=g>>>9&31744|g>>>6&992|g>>>3&31;a=a+2|0;c=c+4|0;f:{if((d|0)>1){d=d-1|0;break f}a=a+k|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function Tx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=oe-16|0;oe=f;j[a+724>>2]=0;j[a+728>>2]=0;j[a+732>>2]=0;j[a+736>>2]=0;g=a+724|0;a:{b:{c:{if(!(qe[j[a+508>>2]](a,1128418371,b,f+12|0)|0)){e=2;break c}e=1;if(!(qe[j[a+508>>2]](a,1161972803,b,f+12|0)|0)){break c}if(!(qe[j[a+508>>2]](a,1651273571,b,f+12|0)|0)){break c}d=qe[j[a+508>>2]](a,1935829368,b,f+12|0)|0;if(d){break b}e=3}j[a+732>>2]=e;d=3;c=j[f+12>>2];if(c>>>0<8){break b}d:{switch(e-1|0){case 0:case 1:d=Zf(b,c,g);if(d){break b}e=j[f+12>>2];j[a+728>>2]=e;d=2;c=j[a+724>>2];if((k[c+1|0]<<16|k[c|0]<<24)!=131072){break b}d=3;c=k[c+4|0]|k[c+5|0]<<8|(k[c+6|0]<<16|k[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>65535){break b}j[a+736>>2]=e>>>0<(p(c,48)|8)>>>0?(e-8>>>0)/48|0:c;break a;case 2:break d;default:break a}}d=_e(b,8);if(d){break b}d=af(b);c=af(b);e=Ef(b);Ve(b);if(!d){d=2;break b}d=3;e:{switch(c-1|0){case 0:case 2:break e;default:break b}}if(e>>>0>65535){break b}c=j[f+12>>2];d=Fe(b,j[b+8>>2]-8|0);if(d){break b}c=c>>>0<(e<<2)+8>>>0?c-8>>>2|0:e;d=(c<<2)+8|0;j[a+728>>2]=d;d=Zf(b,d,g);if(d){break b}j[a+736>>2]=c;break a}if(j[g>>2]){jf(b,g)}j[a+728>>2]=0;j[a+732>>2]=0;h=d}oe=f+16|0;return h|0}function BA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0,l=0,n=0;e=oe-464|0;oe=e;f=b+8|0;g=j[f+4>>2];j[e+16>>2]=j[f>>2];j[e+20>>2]=g;j[e+40>>2]=j[b+32>>2];f=j[b+28>>2];j[e+32>>2]=j[b+24>>2];j[e+36>>2]=f;f=j[b+20>>2];j[e+24>>2]=j[b+16>>2];j[e+28>>2]=f;f=j[b+4>>2];g=j[b>>2];j[e+16>>2]=2;j[e+8>>2]=g;j[e+12>>2]=f;a:{switch(j[b+8>>2]-7|0){case 0:case 3:j[e+16>>2]=3;break;default:break a}}Dh(a,e+448|0);b:{if(j[e+456>>2]!=3){b=162;break b}l=j[a>>2];g=j[e+448>>2]+1|0;j[a>>2]=g;n=j[a+8>>2];i=j[e+452>>2]-1|0;j[a+8>>2]=i;f=e+48|0;c:{if(g>>>0>=i>>>0){break c}g=e+432|0;f=e+48|0;while(1){Dh(a,e+432|0);if(!j[e+440>>2]){break c}if(f>>>0>>0){i=j[e+436>>2];j[f>>2]=j[e+432>>2];j[f+4>>2]=i;j[f+8>>2]=j[e+440>>2]}f=f+12|0;if(m[a>>2]>2]){continue}break}}j[a+8>>2]=n;j[a>>2]=l;g=f-(e+48|0)|0;f=(g|0)/12|0;if((g|0)<0){b=162;break b}g=j[b+24>>2];g=f>>>0>g>>>0?g:f;d:{if(j[b+8>>2]==7){break d}b=j[b+28>>2];if(!b){break d}h[b+j[c>>2]|0]=g}e:{if((g|0)>=1){i=k[e+28|0];f=e+48|0;while(1){j[a>>2]=j[f>>2];j[a+8>>2]=j[f+4>>2];b=Jo(a,e+8|0,c,d,0);if(b){break e}j[e+24>>2]=i+j[e+24>>2];f=f+12|0;b=(g|0)>1;g=g-1|0;if(b){continue}break}}b=0}j[a+8>>2]=n;j[a>>2]=l}oe=e+464|0;return b|0}function Tq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;if(!(c?b:0)){ve(151758,0);return 0}k=j[b>>2];if(!k){k=j[a+16>>2]}m=j[b+12>>2];if(!m){m=j[a+28>>2]}n=k>>>8&255;i=j[a+8>>2];while(1){a:{if(i){break a}i=0;h=j[67085];d=j[h+28>>2];if(!d){break a}qe[d|0](h,a);Wq(j[a+12>>2],j[a+8>>2]);i=j[a+8>>2]}b:{c:{d:{e:{if((e|0)>=(i|0)){break e}g=j[a+12>>2];h=p(e,20);d=g+h|0;l=j[d+4>>2];if(j[b+4>>2]>(l|0)?l:0){break e}h=g+h|0;g=j[h+8>>2];if(!g|(g|0)>=j[b+8>>2]){break d}if(!l|j[b+4>>2]!=(l|0)){break c}}if(f){break b}return 0}if(!f){f=d;e=e+1|0;continue}if(j[f+4>>2]>(l|0)){f=d;e=e+1|0;continue}if((g|0)>2]){f=d;e=e+1|0;continue}g=j[d>>2];if((g|0)!=j[f>>2]){if((g|0)==(k|0)){f=d;e=e+1|0;continue}if((g^k)&251658240|(g>>>8&255)>>>0>>0){break c}f=d;e=e+1|0;continue}g=d;d=j[h+12>>2];f=(d|0)<(m|0)?f:(d|0)==j[f+12>>2]?f:g}e=e+1|0;continue}break}e=j[f>>2];if(!e){e=j[b>>2]}j[c>>2]=e;f:{g:{a=j[f+4>>2];if(!a){break g}i=j[f+8>>2];if(!i){break g}j[c+4>>2]=a;a=1;d=1;break f}a=j[b+4>>2];j[c+4>>2]=a;i=j[b+8>>2];d=i}g=d;j[c+8>>2]=i;h=c;d=j[f+12>>2];if(!d){d=j[b+12>>2]}j[h+12>>2]=d;j[c+16>>2]=j[f+16>>2];if(!e){j[c>>2]=370546692}if(!a){j[c+4>>2]=640}if(!g){j[c+8>>2]=480}return c}function Wo(a,b){var c=0,d=0,e=0,f=0;d=-2;a:{if(!a){break a}j[a+24>>2]=0;d=j[a+32>>2];if(!d){j[a+40>>2]=0;j[a+32>>2]=136;d=136}if(!j[a+36>>2]){j[a+36>>2]=137}c=qe[d|0](j[a+40>>2],1,24)|0;j[a+28>>2]=c;d=-4;if(!c){break a}j[c+20>>2]=0;j[c+12>>2]=b>>>31;d=b>>31;d=d+b^d;if((d|0)<=7){Dj(a);return-2}j[c+16>>2]=d;b:{c=qe[j[a+32>>2]](j[a+40>>2],1,64)|0;c:{if(!c){break c}e=qe[j[a+32>>2]](j[a+40>>2],8,1440)|0;j[c+36>>2]=e;if(!e){qe[j[a+36>>2]](j[a+40>>2],c);break c}e=1<>2]](j[a+40>>2],1,e)|0;j[c+40>>2]=d;if(d){break b}qe[j[a+36>>2]](j[a+40>>2],j[c+36>>2]);qe[j[a+36>>2]](j[a+40>>2],c)}j[j[a+28>>2]+20>>2]=0;Dj(a);return-4}f=(b|0)>-1?138:0;j[c+56>>2]=f;j[c+52>>2]=d;j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;j[c+48>>2]=d;j[c+44>>2]=d+e;d=0;if((b|0)>=0){b=qe[f|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b;d=j[c>>2]}b=j[a+28>>2];j[b+20>>2]=c;j[a+8>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[b>>2]=j[b+12>>2]?7:0;if((d&-2)==4){qe[j[a+36>>2]](j[a+40>>2],j[c+12>>2]);d=j[c>>2]}if((d|0)==6){qe[j[a+36>>2]](j[a+40>>2],j[c+4>>2])}j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;b=j[c+40>>2];j[c+52>>2]=b;j[c+48>>2]=b;b=j[c+56>>2];d=0;if(!b){break a}b=qe[b|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b;d=0}return d}function Sy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0;d=a+8208|0;if(d>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(c>>>0>8207?c>>>0<=j[b+160>>2]-a>>>0:0)){Pe(b,8)}c=k[a+8204|0]|k[a+8205|0]<<8|(k[a+8206|0]<<16|k[a+8207|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{b:{if(g>>>0>(j[b+160>>2]-d>>>0)/12>>>0){Pe(b,8);break b}if(!g){break a}}h=a+12|0;c=0;while(1){e=c;f=k[d+8|0]|k[d+9|0]<<8|(k[d+10|0]<<16|k[d+11|0]<<24);l=k[d+1|0]<<16|k[d|0]<<24;a=k[d+3|0]|(l|k[d+2|0]<<8);n=k[d+5|0]<<16|k[d+4|0]<<24;c=k[d+7|0]|(n|k[d+6|0]<<8);if(a>>>0>c>>>0){Pe(b,8)}if(!(!i|a>>>0>e>>>0)){Pe(b,8)}c:{if(!j[b+164>>2]){break c}o=j[b+172>>2];e=c-a|0;if(!(o-e>>>0>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0?o>>>0>=e>>>0:0)){Pe(b,16)}e=e+1|0;if(l){if(!e){break c}while(1){if(!(k[(a>>>19|0)+h|0]<<(a>>>16&7)&128)){Pe(b,8)}if(!(k[(a>>>3&8191)+h|0]<<(a&7)&128)){Pe(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}break c}if(n){Pe(b,8)}if(!e){break c}while(1){if(k[(a>>>3&8191)+h|0]<<(a&7)&128){Pe(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}}d=d+12|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}return 0}function Bi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0;e=oe-16|0;oe=e;c=j[a>>2];a:{if(!(c&2)){break a}j[a>>2]=c&-3;b:{if(!b|c&1){break b}c:{b=j[a+52>>2];if(k[b+69|0]&32){c=nm(p(j[a+16>>2],j[a+12>>2]));j[a+20>>2]=c;b=j[a>>2];if(c){break c}j[a>>2]=b|2;break a}m=j[a+8>>2];n=j[a+4>>2];g=j[b+12>>2];b=k[g|0];c=nm(p(j[a+16>>2],j[a+12>>2]));j[a+20>>2]=c;d=j[a>>2];if(c){i=(b|0)==2;q=i?740:741;r=i?742:741;j[a>>2]=d|8;Oe(c,0,p(j[a+16>>2],j[a+12>>2]));c=g+28|0;h=j[a+20>>2];s=(b|0)!=2;while(1){b=0;while(1){d:{if(!s){f=k[c|0];o=2;d=k[c+1|0];break d}f=l[c>>1];o=4;d=l[c+2>>1]}b=b+f|0;c=c+o|0;e:{if(d){c=(qe[r|0]((b<<2)+h|0,c,d,g,n)|0)+c|0;b=b+d|0;break e}if(!b){break b}}if((b|0)<(m|0)){continue}break}c=i?(c&2)+c|0:c;b=0;while(1){d=c+4|0;f=l[c>>1]+b|0;c=l[c+2>>1];f:{if(!c){b=f;break f}b=c+f|0;d=(qe[q|0]((f<<2)+h|0,d,c,g,n)|0)+d|0}c=d;if((b|0)<(m|0)){continue}break}h=(j[a+16>>2]&-4)+h|0;continue}}j[a>>2]=d|2;break a}j[a>>2]=b|8;Qh(a,0,j[j[a+52>>2]+72>>2]);j[e>>2]=0;j[e+4>>2]=0;j[e+8>>2]=j[a+8>>2];j[e+12>>2]=j[a+12>>2];sr(a,e,a,e)}b=j[a+52>>2];j[b+68>>2]=j[b+68>>2]&-24577;b=j[b+12>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[j[a+52>>2]+12>>2]=0}oe=e+16|0}function ou(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0;a:{b:{d=j[a+208>>2];if(d&1){if(d&4){Ie(a,c);Je(a,99982);return}if(!(!b|!(k[b+9|0]&4))){Ie(a,c);Je(a,100016);return}d=c+1|0;e=j[a+788>>2];c:{if(e){if(d>>>0<=m[a+792>>2]){break c}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,e)}e=$f(a,d);if(!e){break b}j[a+792>>2]=d;j[a+788>>2]=e}pf(a,e,c);tf(a,e,c);if(!Ie(a,0)){i=c+e|0;h[i|0]=0;d=e;while(1){c=d;d=c+1|0;if(k[c|0]){continue}break}if(c+12>>>0>=i>>>0){Je(a,99995);return}l=k[c+5|0]|k[c+6|0]<<8|(k[c+7|0]<<16|k[c+8|0]<<24);n=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);g=k[c+9|0];f=k[c+10|0];if(!((f|0)==4|(g|0)!=3?!(((f|0)!=2?!g:0)|((f|0)!=3?(g-1&255)>>>0<=1:0)):0)){Je(a,100409);return}if(g>>>0>=4){Je(a,100433)}p=c+11|0;d=p;while(1){c=d;d=c+1|0;if(k[c|0]){continue}break}d=cg(a,f<<2);if(!d){break a}if(f){while(1){c=c+1|0;j[d+(o<<2)>>2]=c;d:{if(c>>>0<=i>>>0){while(1){if(!k[c|0]){break d}c=c+1|0;if(i>>>0>=c>>>0){continue}break}}Ke(a,d);Je(a,100460);return}o=o+1|0;if((o|0)!=(f|0)){continue}break}}Pu(a,b,e,n>>>8&65280|n>>>24|(n<<8&16711680|n<<24),l>>>8&65280|l>>>24|(l<<8&16711680|l<<24),g,f,p,d);Ke(a,d)}return}hf(a,100003);z()}Ie(a,c);Je(a,100173);return}Je(a,100173)}function aK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){n=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;n=((b>>>16|0)+n|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(n<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];h=e&255;b=j[q>>2];i=b&255;k=e>>>8&255;l=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}h=(p(h,i)>>>0)/255|0;k=(p(e,k)>>>0)/255|0;l=(p(b,l)>>>0)/255|0;break a;case 0:l=b;k=e;h=i;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}i=h+i|0;h=i>>>0<255?i:255;e=e+k|0;k=e>>>0<255?e:255;b=b+l|0;l=b>>>0<255?b:255}j[c>>2]=k<<8|l<<16|h;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){f=f+s|0;g=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function YJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){n=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;n=((b>>>16|0)+n|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(n<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];h=e&255;b=j[q>>2];i=b&255;k=e>>>8&255;l=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}l=(p(l,i)>>>0)/255|0;k=(p(e,k)>>>0)/255|0;h=(p(b,h)>>>0)/255|0;break a;case 0:h=b;k=e;l=i;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}i=l+i|0;l=i>>>0<255?i:255;e=e+k|0;k=e>>>0<255?e:255;b=b+h|0;h=b>>>0<255?b:255}j[c>>2]=k<<8|h|l<<16;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){f=f+s|0;g=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function MJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((e|0)>=65536){b=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){m=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;m=((b>>>16|0)+m|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(m<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;f=j[c>>2];h=f&255;b=j[q>>2];n=b&255;i=f>>>8&255;k=f>>>16&255;f=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}h=(p(b,h)>>>0)/255|0;i=(p(f,i)>>>0)/255|0;k=(p(k,n)>>>0)/255|0;break a;case 0:k=n;i=f;h=b;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+h|0;h=b>>>0<255?b:255;b=f+i|0;i=b>>>0<255?b:255;b=k+n|0;k=b>>>0<255?b:255}j[c>>2]=i<<8|k<<16|h;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){e=e+s|0;g=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function IJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((e|0)>=65536){b=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){m=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;m=((b>>>16|0)+m|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(m<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;f=j[c>>2];h=f&255;b=j[q>>2];n=b&255;i=f>>>8&255;k=f>>>16&255;f=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}k=(p(b,k)>>>0)/255|0;i=(p(f,i)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;break a;case 0:h=n;i=f;k=b;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+k|0;k=b>>>0<255?b:255;b=f+i|0;i=b>>>0<255?b:255;b=h+n|0;h=b>>>0<255?b:255}j[c>>2]=i<<8|h|k<<16;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){e=e+s|0;g=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function CN(a,b,c){var d=0,e=0,f=0,g=0,m=0,n=0;d=oe-96|0;oe=d;j[a+12>>2]=0;j[a+8>>2]=b;Oe(j[a+20>>2],0,j[j[a>>2]+28>>2]<<2);Oe(d- -64|0,0,20);Oe(d+32|0,0,20);a:{b:{if(!c){break b}g=1;while(1){m=0;b=0;c:{d:{e:{f:{g:{e=k[c|0];switch(e-32|0){case 26:break c;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break d;case 0:break f;case 12:break g;default:break e}}Zr(a,d- -64|0,d+32|0);Oe(d- -64|0,0,20);Oe(d+32|0,0,20);m=1;break c}m=g;b=f;break c}if(!e){break b}}if(g){if(f>>>0>=20){j[d+16>>2]=d- -64;ve(125183,d+16|0);break a}h[(d- -64|0)+f|0]=e;m=1;b=f+1|0;break c}if(f>>>0>=20){j[d>>2]=d+32;ve(125209,d);break a}h[(d+32|0)+f|0]=e;b=f+1|0}c=c+1|0;f=b;g=m;continue}}if(!(k[d+32|0]|k[d+64|0])){break a}Zr(a,d- -64|0,d+32|0)}f=j[a+12>>2];if((f|0)>=1){m=j[a+16>>2];c=0;while(1){b=m+(c<<5)|0;h:{if(j[b>>2]!=2|j[b+16>>2]!=2|(j[b+20>>2]&-2)!=4){break h}e=j[b+4>>2];g=j[a>>2];if((e|0)>=j[g+28>>2]){break h}g=j[g+32>>2];n=g+(e<<4)|0;e=l[b+8>>1];i[n+4>>1]=e;i[(g+(j[b+4>>2]<<4)|0)+2>>1]=e}c=c+1|0;if((f|0)!=(c|0)){continue}break}}oe=d+96|0}function Zr(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;g=oe-32|0;oe=g;a:{b:{e=k[b|0];switch(e-43|0){case 0:case 2:break b;default:break a}}b=b+1|0;f=e}i=FN(b);e=EN(b);c:{d:{e:{if((i|0)!=-1){e=32767;m=2;if((i&-2)==4){break d}f:{switch(f-43|0){case 0:break d;case 2:break e;default:break f}}n=-32768;break d}if((e|0)!=-1){m=1;i=e;break d}j[g>>2]=b;ve(125244,g);break c}e=-32768}f=0;g:{h:{b=k[c|0];switch(b-43|0){case 0:case 2:break h;default:break g}}c=c+1|0;f=b}d=Le(c);i:{j:{b=k[c|0];if((b|0)==97){o=k[(c+d|0)-1|0];if(h[c+1|0]-48>>>0<10){d=0;b=32767;l=sf(c+1|0);k:{l:{switch(f-43|0){case 2:b=-32768;break k;case 0:break k;default:break l}}d=-32768}c=(o|0)==126;f=c?b:d;b=c?d:b;c=2;break i}b=k[c|0]}if((b&255)==98){if(h[c+1|0]-48>>>0<10){break j}b=k[c|0]}if(!((b&255)!=104|h[c+1|0]-48>>>0>=10|(k[c+2|0]!=46|h[c+3|0]-48>>>0>=10))){l=sf(c+1|0);f=sf(c+3|0);c=3;break i}j[g+16>>2]=c;ve(125277,g+16|0);break c}l=sf(c+1|0);c=1}d=j[a+12>>2]+1|0;j[a+12>>2]=d;d=mf(j[a+16>>2],d<<5);j[a+16>>2]=d;if(!d){j[a+12>>2]=0;Be(0);break c}a=(d+(j[a+12>>2]<<5)|0)-32|0;j[a+20>>2]=i;j[a+16>>2]=m;j[a+4>>2]=l;j[a>>2]=c;j[a+28>>2]=e;j[a+24>>2]=n;j[a+12>>2]=b;j[a+8>>2]=f}oe=g+32|0}function Fm(a){var b=0,c=0,d=0,e=0;c=j[66371];a:{if(j[67035]==(a|0)){break a}b:{c:{d:{e:{f:{if(j[67036]?!a:0){break f}g:{h:{if(a){if(j[67018]){b=1;if(sg(123897,0)){break f}}b=j[67020];if(b){break h}break g}b=j[67020];if(!b){break d}}if(!a|(qe[b|0](a)|0)>-1){break e}}b=1;if(j[67018]){break f}ve(123812,0);return}j[67036]=b}j[67039]=0;j[67040]=0;j[67035]=a;i:{if(!a|!c){break i}b=j[67024];j:{if((b|0)==(c|0)){break j}if(b){Cf(b,11,0,0)}j[67024]=c;j[67034]=0;Cf(c,10,0,0);b=j[67015];d=j[(j[67024]?268200:268196)>>2];if(!(j[67035]|(!d|!j[67051]))){if(!b){break j}qe[b|0](d)|0;break j}if(!b){break j}qe[b|0](0)|0}b=j[c+28>>2]/2|0;d=j[c+24>>2]/2|0;e=j[67018];if(e){qe[e|0](c,d,b);break i}e=j[67023];if(!Vh(c,d,b,(e|0)!=-1)){break i}Uh(c,e,0,d,b)}c=j[67024];if(!c){break b}Nq(c);if(!a){break c}break b}j[67039]=0;j[67040]=0;j[67035]=a;a=j[67024];if(!a){break b}Nq(a)}a=j[67024];if(!a){break b}c=j[67026];b=j[67025];d=j[67018];if(d){qe[d|0](a,b,c);break b}d=j[67023];if(!Vh(a,b,c,(d|0)!=-1)){break b}Uh(a,d,0,b,c)}lj(1024,1024);a=j[67015];c=j[(j[67024]?268200:268196)>>2];if(!(j[67035]|(!c|!j[67051]))){if(!a){break a}qe[a|0](c)|0;return}if(!a){break a}qe[a|0](0)|0}}function Ip(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{c=j[a+4>>2];d:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break d}c=ff(a)}switch(c-43|0){case 0:case 2:break b;default:break c}}d=c-48|0;break a}f=(c|0)==45;b=!b;c=j[a+4>>2];e:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break e}c=ff(a)}d=c-48|0;if(!(b|d>>>0<10|!j[a+104>>2])){j[a+4>>2]=j[a+4>>2]-1}}f:{if(d>>>0<10){d=0;while(1){d=p(d,10)+c|0;b=j[a+4>>2];g:{if(b>>>0>2]){j[a+4>>2]=b+1;c=k[b|0];break g}c=ff(a)}e=c-48|0;d=d-48|0;if((d|0)<214748364?e>>>0<=9:0){continue}break}b=d;d=d>>31;h:{if(e>>>0>=10){break h}while(1){d=gP(b,d,10,0);b=d+c|0;c=pe;c=b>>>0>>0?c+1|0:c;d=b;b=d-48|0;d=c-(d>>>0<48)|0;c=j[a+4>>2];i:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break i}c=ff(a)}e=c-48|0;if(e>>>0>9){break h}if((d|0)<21474836?1:(d|0)<=21474836?b>>>0<2061584302:0){continue}break}}if(e>>>0<10){while(1){c=j[a+4>>2];j:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break j}c=ff(a)}if(c-48>>>0<10){continue}break}}if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}a=b;b=f?0-a|0:a;d=f?0-(((a|0)!=0)+d|0)|0:d;break f}b=0;d=-2147483648;if(!j[a+104>>2]){break f}j[a+4>>2]=j[a+4>>2]-1;pe=-2147483648;return 0}pe=d;return b}function oJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,m)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+m|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+m|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function oI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,l)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+l|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+l|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function WI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,l)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+l|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Ig(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;f=oe-16|0;oe=f;h=j[a+100>>2];j[f+12>>2]=0;q=l[a+340>>1];a:{if(!q){break a}g=-1;k=-1;n=-1;o=-1;m=j[a+356>>2];e=m;while(1){b:{if(!l[e+8>>1]|l[e+6>>1]!=(b|0)){break b}c:{switch(l[e>>1]){case 0:case 2:g=d;break b;case 1:if(!l[e+4>>1]){n=d;break b}o=l[e+2>>1]?o:d;break b;case 3:break c;default:break b}}if((l[e+4>>1]&1023)!=9?(k|0)!=-1:0){break b}r=l[e+2>>1];if(r>>>0>10|!(1<>1]&1023)==9;k=d}e=e+20|0;d=d+1|0;if((q|0)!=(d|0)){continue}break}d=(n|0)>-1?n:o;d:{e:{f:{if((k|0)>=0){if((d|0)>=0){b=266;if(!s){break f}}e=0;d=p(k,20)+m|0;g=l[d+2>>1];if(g>>>0>10){break a}b=267;if(1<-1){break f}e=0;b=267;d=g;if((d|0)<0){break a}}if(!m){break d}d=p(d,20)+m|0}g:{if(j[d+16>>2]){break g}a=j[a+360>>2];e=0;t=d,u=xe(h,1,0,l[d+8>>1],0,f+12|0),j[t+16>>2]=u;h:{if(j[f+12>>2]){break h}g=Fe(a,j[d+12>>2]);j[f+12>>2]=g;if(g){break h}a=uf(a,j[d+16>>2],l[d+8>>1]);j[f+12>>2]=a;if(!a){break g}}a=j[d+16>>2];if(a){qe[j[h+8>>2]](h,a)}i[d+8>>1]=0;j[d+16>>2]=0;break a}e=qe[b|0](d,h)|0;break a}e=0}j[c>>2]=e;oe=f+16|0;return j[f+12>>2]}function HI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,m)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+m|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+m|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Zu(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0;c=oe-160|0;oe=c;if(si(1352,c+72|0)){a=Le(j[58911]);k=bf(a+5|0,1);e=j[58910];b=j[65532];j[c+56>>2]=1387;j[c+52>>2]=b;j[c+48>>2]=e;Oj(k,a+4|0,1379,c+48|0);m=pi(k,1392);n=pi(j[58911],1392);o=pi(1352,1392);f=j[58906];a=j[58907];e=bf(p(f,a)+1|0,1);a:{if((f|0)<1){break a}g=j[58908];b=j[g>>2];if((a|0)<(b|0)){break a}a=0;while(1){b:{if((b|0)<1){break b}d=0;l=i<<2;if(j[l+g>>2]<=0){break b}while(1){j[c+72>>2]=0;b=j[j[j[58909]+l>>2]+(d<<2)>>2];c:{if((b|0)==-1){j[c+72>>2]=6234144;break c}j[c+32>>2]=b;Oj(c+72|0,4,1395,c+32|0)}f=Le(c+72|0);if(f){Ae(a+e|0,c+72|0,f);b=0;while(1){a=a+1|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}d=d+1|0;g=j[58908];b=j[l+g>>2];if((d|0)!=(b|0)){h[a+e|0]=44;a=a+1|0}if((b|0)>(d|0)){continue}break}f=j[58906]}h[a+e|0]=10;i=i+1|0;if((i|0)>=(f|0)){break a}a=a+1|0;b=j[(i<<2)+g>>2];if((b|0)<=j[58907]){continue}break}}a=Le(e);b=Cl(e,1,a,m);if((a|0)!=(b|0)){j[c+20>>2]=a;j[c+16>>2]=b;Zh(1399,c+16|0)}b=1;d=j[65532];j[65532]=(d|0)==99?0:d+1|0;Lh(m);d=Cl(e,1,a,n);if((d|0)!=(a|0)){j[c+4>>2]=a;j[c>>2]=d;Zh(1399,c)}Lh(n);ze(k);ze(e);Lh(o);Wp()}oe=c+160|0;return b}function gq(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,s=0,t=q(0),u=0,v=q(0),w=0,x=q(0),z=0,A=0;l=oe;A=l;z=j[a+4>>2];l=l-((h<<2)+15&-16)|0;oe=l;a=h;a=j[z+500>>2]?j[z+504>>2]-g|0:a;a=(a|0)>(h|0)?h:a;a:{if((a|0)<1){a=0;break a}while(1){if(!(j[(m<<2)+f>>2]?f:0)){s=m<<2;k=jP(y(+q(n[s+d>>2]/n[e+s>>2])));k=n[c+s>>2]>2]=w}m=m+1|0;if((m|0)!=(a|0)){continue}break}}c:{if((a|0)>=(h|0)){break c}m=b-g|0;s=(f|0)!=0;while(1){d:{if(j[(a<<2)+f>>2]?f:0){break d}b=a<<2;g=b+d|0;v=n[b+e>>2];t=q(n[g>>2]/v);if(!(s&(a|0)<(m|0)|t>2]=g;u=u+1|0;x=q(x+t);break d}w=b+i|0;k=jP(y(+t));k=n[b+c>>2]>2]=b;n[g>>2]=v*q(p(b,b)|0)}a=a+1|0;if((h|0)!=(a|0)){continue}break}if(!u){break c}eg(l,u,4,1056);if((u|0)<1){break c}k=o[z+512>>3];a=0;while(1){t=q(0);f=j[l+(a<<2)>>2];b=f-d>>2;g=(b<<2)+i|0;if(k<=+x^1){b=0}else{b=b<<2;t=n[b+e>>2];x=q(x+q(-1));v=(pP(2,j[b+c>>2]&-2147483648|1065353216),sP());f:{if(q(r(v))>2]=b;n[f>>2]=t;a=a+1|0;if((u|0)!=(a|0)){continue}break}}oe=A}function nK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0;b=j[a+36>>2]/2|0;f=j[a+16>>2]/2|0;a:{h=j[a+28>>2];if(!h){break a}d=j[j[a+40>>2]+24>>2]^-1;e=d&j[a+56>>2];g=j[a+24>>2];k=g&7;g=(g+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];m=b<<1;n=f<<1;b:while(1){f=g;c:{d:{switch(k-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=1;continue;case 1:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=2;continue;case 2:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=3;continue;case 3:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=4;continue;case 4:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=5;continue;case 5:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=6;continue;case 6:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=7;continue;default:break e}}b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}b=h-1|0;c=c+2|0;a=a+2|0;f:{if((f|0)>1){f=f-1|0;break f}a=a+m|0;c=c+n|0;h=b;if(b){continue b}break a}b=0;continue}}}}function ol(a,b,c,d){var e=0,f=0,g=0;a:{b:{g=j[a+8264>>2];if(g>>>0>b>>>0){g=0;if(Fe(j[a>>2],j[a+68>>2])){break a}e=j[a+40>>2];c:{if(!e){break c}j[a+20>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[e>>2]=j[e+12>>2]?7:0;f=j[e+20>>2];e=j[f>>2];if((e&-2)==4){qe[j[a+48>>2]](j[a+52>>2],j[f+12>>2]);e=j[f>>2]}if((e|0)==6){qe[j[a+48>>2]](j[a+52>>2],j[f+4>>2])}j[f+28>>2]=0;j[f+32>>2]=0;j[f>>2]=0;e=j[f+40>>2];j[f+52>>2]=e;j[f+48>>2]=e;e=j[f+56>>2];if(!e){break c}e=qe[e|0](0,0,0)|0;j[f+60>>2]=e;j[a+60>>2]=e}j[a+28>>2]=0;j[a+12>>2]=a+72;j[a+16>>2]=0;e=a+8264|0;j[a+8272>>2]=e;j[a+24>>2]=a+4168;j[a+8268>>2]=e;j[e>>2]=0}if(b>>>0>g>>>0){f=j[a+8268>>2];e=j[a+8272>>2]-f|0;b=b-g|0;e=b>>>0>e>>>0?e:b;j[a+8268>>2]=e+f;j[a+8264>>2]=e+g;b=b-e|0;if(b){while(1){if(Vo(a)){return 0}f=j[a+8268>>2];e=j[a+8272>>2]-f|0;e=b>>>0>e>>>0?e:b;j[a+8268>>2]=e+f;j[a+8264>>2]=e+j[a+8264>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=0;while(1){e=j[a+8268>>2];b=j[a+8272>>2]-e|0;f=b>>>0>>0?b:d;b=Ae(c,e,f);j[a+8268>>2]=f+j[a+8268>>2];j[a+8264>>2]=f+j[a+8264>>2];g=f+g|0;d=d-f|0;if(!d){break a}c=b+f|0;if(!Vo(a)){continue}break}}return g}function Jg(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=oe-16|0;oe=g;a:{if((c|0)<1){break a}l=j[a+4>>2];while(1){i=(n<<3)+b|0;b:{if(!j[i>>2]){Xg(l);if(j[l+12>>2]>1){break a}d=j[l>>2];f=d-1|0;o=j[l+8>>2];c:{while(1){m=3;if(d>>>0>=o>>>0){e=d;break c}e=d+1|0;j[l>>2]=e;p=k[d|0];d=e;d:{switch(p-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}m=2}j[l+12>>2]=m;j[g+8>>2]=f;break b}f=lh(l);j[g+8>>2]=f;if(!f){break a}e=j[l>>2]}d=e-f|0;e=d-1|0;e:{f:{switch(j[i>>2]){case 0:case 1:d=Ti(j[a>>2],d,g+4|0);j[i+4>>2]=d;if(j[g+4>>2]){break e}Ae(d,f,e);h[e+j[i+4>>2]|0]=0;break e;case 2:q=i,r=nh(g+8|0,e+f|0,0),j[q+4>>2]=r;break e;case 3:j[g+12>>2]=f;o=e+f|0;m=Kg(g+12|0,o,10);e=0;d=j[g+12>>2];g:{if((f|0)==(d|0)){break g}if(!(k[d|0]!=35|d>>>0>=o>>>0)){f=d+1|0;j[g+12>>2]=f;m=Kg(g+12|0,o,m);d=j[g+12>>2];if((f|0)==(d|0)){break g}}j[g+8>>2]=d;e=m}j[i+4>>2]=e;break e;case 4:if((e|0)==4){e=!Qe(f,25112,4)}else{e=0}h[i+4|0]=e;break e;case 5:break f;default:break e}}d=j[a+12>>2];if(d){q=i,r=qe[d|0](f,e,j[a+16>>2])|0,j[q+4>>2]=r;break e}j[i+4>>2]=0}n=n+1|0;if((n|0)!=(c|0)){continue}break}n=c}oe=g+16|0;return n}function Oi(a,b,c,d,e){var f=0,g=0,h=0,i=0,l=0,m=0,n=0;i=j[a+2984>>2];a:{if(!(i&4)){break a}g=j[a+2988>>2];if(k[(g+p(b,1572)|0)+256|0]){break a}a=c>>31;f=a+c^a;b:{c:{d:{if((b|0)==1){if(i&2){break d}if(!(e&2)|(f|0)>191){break c}a=f;break b}if(!(i&1)){break c}}l=g+p(b,1572)|0;m=j[l+52>>2];e:{f:{if(m){a=98;d=0;e=f;while(1){n=j[(l+p(d,12)|0)+60>>2];h=f-n|0;g=h>>31;h=g^g+h;g=(h|0)<(a|0);a=g?h:a;e=g?n:e;d=d+1|0;if((m|0)!=(d|0)){continue}break}d=e+32&-64;a=d;if((e|0)<=(f|0)){break f}d=(d-48|0)<(f|0)?e:f;break e}e=f;a=f+32&2147483584}d=(a|48)>(f|0)?e:f}if((b|0)==1){a=64;if((d|0)<64){break b}a=d+16&-64;break b}if(i&8){a=64;if((d|0)<64){break b}a=d+32&-64;break b}if((d|0)<=47){a=d- -64>>1;break b}if((d|0)<=127){a=d+22&-64;d=a-f|0;b=d>>31;if((b^b+d)<16){break b}if((f|0)>47){a=f;break b}a=f- -64>>>1|0;break b}a=d+32&-64;break b}a=d&1?(f|0)<80?64:f:(f|0)>56?f:56;b=g+p(b,1572)|0;if(!j[b+52>>2]){break b}b=j[b+60>>2];e=a-b|0;d=e>>31;if((d^d+e)<=39){a=(b|0)>48?b:48;break b}if((a|0)<=191){b=a&63;if(b>>>0<10){break b}d=a&2147483584;if(b>>>0<=31){a=d|10;break b}a=b>>>0<54?d|54:a;break b}a=a+32&2147483584}c=(c|0)<0?0-a|0:a}return c}function yu(a,b,c){var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0;d=oe+ -64|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,99982);break a}if((c|0)!=32){Ie(a,c);Je(a,99995);break a}pf(a,d+32|0,32);tf(a,d+32|0,32);if(Ie(a,0)){break a}c=k[d+32|0]<<24;e=k[d+35|0]|(c|k[d+33|0]<<16|k[d+34|0]<<8);j[d+24>>2]=(e|0)>-1?e:-1;e=k[d+36|0]<<24;f=k[d+39|0]|(e|k[d+37|0]<<16|k[d+38|0]<<8);j[d+28>>2]=(f|0)>-1?f:-1;f=k[d+40|0]<<24;g=k[d+43|0]|(f|k[d+41|0]<<16|k[d+42|0]<<8);j[d>>2]=(g|0)>-1?g:-1;g=k[d+44|0]<<24;h=k[d+47|0]|(g|k[d+45|0]<<16|k[d+46|0]<<8);j[d+4>>2]=(h|0)>-1?h:-1;h=k[d+48|0]<<24;m=k[d+51|0]|(h|k[d+49|0]<<16|k[d+50|0]<<8);j[d+8>>2]=(m|0)>-1?m:-1;m=k[d+52|0]<<24;n=k[d+55|0]|(m|k[d+53|0]<<16|k[d+54|0]<<8);j[d+12>>2]=(n|0)>-1?n:-1;n=k[d+56|0]<<24;o=k[d+59|0]|(n|k[d+57|0]<<16|k[d+58|0]<<8);j[d+16>>2]=(o|0)>-1?o:-1;o=k[d+60|0]<<24;p=k[d+63|0]|(o|k[d+61|0]<<16|k[d+62|0]<<8);j[d+20>>2]=(p|0)>-1?p:-1;if((o|(n|(m|(h|(g|(f|(c|e)))))))<=-1){Je(a,100108);break a}c=l[a+898>>1];if(c&32768){break a}if(c&16){i[a+898>>1]=c|32768;ih(a,b);Je(a,100016);break a}i[a+898>>1]=c|16;hv(a,a+824|0,d);ih(a,b)}oe=d- -64|0;return}hf(a,100003);z()}function Yi(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=j[a+28>>2];if(c){d=j[c+8>>2];if((d|0)>=1){e=c+32|0;while(1){f=j[e+(b<<2)>>2];if(f){ze(f);d=j[c+8>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=j[c+12>>2];if((d|0)>=1){e=c+288|0;f=c+544|0;b=0;while(1){g=b<<2;h=j[g+f>>2];if(h){qe[j[j[(j[e+g>>2]<<2)+198168>>2]+8>>2]](h);d=j[c+12>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=j[c+16>>2];if((d|0)>=1){e=c+800|0;f=c+1056|0;b=0;while(1){g=b<<2;h=j[g+f>>2];if(h){qe[j[j[(j[e+g>>2]<<2)+198148>>2]+12>>2]](h);d=j[c+16>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=j[c+20>>2];if((d|0)>=1){e=c+1312|0;f=c+1568|0;b=0;while(1){g=b<<2;h=j[g+f>>2];if(h){qe[j[j[(j[e+g>>2]<<2)+198156>>2]+12>>2]](h);d=j[c+20>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}if(j[c+24>>2]>=1){d=c+1824|0;b=0;while(1){e=j[d+(b<<2)>>2];if(e){Qj(e)}e=j[c+2848>>2];if(e){BE(e+p(b,56)|0)}b=b+1|0;if((b|0)>2]){continue}break}}b=j[c+2848>>2];if(b){ze(b)}if(j[c+28>>2]>=1){d=c+2852|0;b=0;while(1){Nh(j[d+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}}ze(c)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}function MK(a){var b=0,c=0,d=0,e=0,f=0;b=j[a+4>>2];d=j[a+52>>2];c=j[j[d>>2]+4>>2];a=0;a:{b:{c:{d:{e=j[d+68>>2]&-28673;switch(e-16|0){case 1:break a;case 2:break b;case 0:break c;default:break d}}if(j[b+24>>2]|(e|0)!=274){break a}a=767;if(k[c+9|0]!=1){break a}return j[c+4>>2]?768:767}a=769;e:{switch(k[c+9|0]-1|0){case 0:return j[c+4>>2]?770:769;case 1:if(k[b+9|0]!=4|j[b+24>>2]!=-16777216|j[b+16>>2]!=65280){break a}if(j[b+20>>2]!=255|j[c+20>>2]!=31?!(j[c+12>>2]==31?j[b+12>>2]==255:0):0){break a}a=j[c+16>>2];return(a|0)==2016?771:(a|0)==992?772:769;case 3:break e;default:break a}}if(!(j[b+12>>2]!=j[c+12>>2]|j[b+16>>2]!=j[c+16>>2]|(j[b+20>>2]!=j[c+20>>2]|k[b+9|0]!=4))){a=773;if(j[b+24>>2]==-16777216){break a}}return 769}if(j[b+24>>2]){break a}a=774;f:{switch(k[c+9|0]-1|0){case 0:return j[c+4>>2]?775:774;case 1:if(!j[d+4>>2]){break a}a=j[c+16>>2];return(a|0)==2016?776:(a|0)==992?777:774;case 3:break f;default:break a}}d=j[b+12>>2];g:{if((d|0)!=j[c+12>>2]){break g}e=j[b+16>>2];if((e|0)!=j[c+16>>2]){break g}f=j[b+20>>2];if((f|0)!=j[c+20>>2]|k[b+9|0]!=4){break g}a=778;if((d|e|f)==16777215){break a}}a=774}return a}function vt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=k[262196];a:{if(a&1|(!j[65548]|(c|0)<1)){break a}while(1){b:{if(!j[j[65548]+12>>2]){break b}d=j[65548];a=j[d+16>>2];j[d+16>>2]=a+1;d=j[65548];if((a|0)>2]){if(!j[j[j[65548]>>2]+36>>2]){break b}a=j[j[65548]+20>>2];d=j[d+16>>2];qe[j[j[j[65548]>>2]+36>>2]](j[j[65548]+4>>2],(p(j[57792],j[j[65548]+12>>2]==1?a-d|0:d)|0)/(a|0)|0);break b}a=j[65548];if(j[d+12>>2]==1){if(j[j[a>>2]+64>>2]){qe[j[j[j[65548]>>2]+64>>2]](j[j[65548]+4>>2])}j[j[65548]+8>>2]=0;j[j[65548]+12>>2]=0;j[65548]=0;a=j[65541];if(!a){break a}qe[a|0]();return}j[a+12>>2]=0}if(j[j[j[65548]>>2]+48>>2]){a=qe[j[j[j[65548]>>2]+48>>2]](j[j[65548]+4>>2],b,c)|0;if(a){j[j[65548]+8>>2]=0}d=(c-a|0)+b|0;c=(a|0)>0;b=c?d:b;c=c?a:0}else{c=0}c:{if(j[65548]){if(j[j[j[65548]>>2]+44>>2]){a=qe[j[j[j[65548]>>2]+44>>2]](j[j[65548]+4>>2])|0;j[j[65548]+8>>2]=a}if(j[j[65548]+8>>2]){break c}}if(j[j[j[65548]>>2]+64>>2]){qe[j[j[j[65548]>>2]+64>>2]](j[j[65548]+4>>2])}j[j[65548]+8>>2]=0;j[j[65548]+12>>2]=0;j[65548]=0;a=j[65541];if(!a){break c}qe[a|0]()}if(!c|!j[65548]){break a}if(!(h[262196]&1)){continue}break}}}function gi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,n=0;l=oe-16|0;oe=l;g=6;a:{if(!a){break a}i=j[a+8>>2];if(i>>>0<=b>>>0){break a}n=j[a>>2];b:{c:{d:{e:{f:{g:{e=j[a+24>>2];if(!e){g=Fe(n,(j[a+4>>2]+p(k[a+12|0],b)|0)+3|0);if(g){break a}g=uf(j[a>>2],l+12|0,k[a+12|0]);if(g){break a}e=k[a+12|0];if(!e){break f}g=e>>>0>1?e:1;while(1){h=k[(l+12|0)+f|0]|h<<8;f=f+1|0;if((g|0)!=(f|0)){continue}break}if(!h){break f}while(1){g=uf(j[a>>2],l+12|0,e&255);h:{if(g){break h}f=k[a+12|0];if(!f){break h}i=f>>>0>1?f:1;e=0;f=0;while(1){f=k[(l+12|0)+e|0]|f<<8;e=e+1|0;if((i|0)!=(e|0)){continue}break}if(f){break g}}b=b+1|0;if(b>>>0>=m[a+8>>2]){break e}e=k[a+12|0];continue}}g=0;h=j[e+(b<<2)>>2];if(!h){break e}while(1){b=b+1|0;f=j[e+(b<<2)>>2];if(f){break g}if((b|0)!=(i|0)){continue}break}break e}g=0;b=j[n+4>>2];e=b+1|0;if(e>>>0>=f>>>0){break d}i=j[a+16>>2];break c}h=0;g=0}b=j[n+4>>2];f=0}i=j[a+16>>2];e=b+1|0;if(i>>>0<=e-f>>>0){break b}}f=e-i|0}if(!(!h|f>>>0<=h>>>0)){b=f-h|0;j[d>>2]=b;d=j[a+28>>2];if(d){j[c>>2]=(d+h|0)-1;break a}g=Fe(n,(j[a+16>>2]+h|0)-1|0);if(g){break a}g=Zf(n,b,c);break a}j[c>>2]=0;j[d>>2]=0}oe=l+16|0;return g}function es(a,b,c,d,e,f){var g=0,i=0,k=0,l=0,m=q(0),o=0,p=q(0),s=0;k=oe+ -64|0;oe=k;o=Cm(a,b);a:{if(!o){break a}b:{if(!(!j[67043]|(a|0)==-1&(b|0)==-1)){g=j[67024];if(!g|!(h[268228]&1)|((a|0)!=j[67058]|(b|0)!=j[67059]|((c|0)!=j[67060]|(d|0)!=j[67061]))){break b}l=j[g+28>>2];m=q(q(l|0)*f);c:{if(q(r(m))0?i:0;i=(l|0)>(i|0)?i:l-1|0;s=g;l=j[g+24>>2];m=q(q(l|0)*e);d:{if(q(r(m))0?g:0;ok(s,-1,0,(g|0)<(l|0)?g:l-1|0,i);break b}if((a|0)!=-1|(b|0)!=-1){break b}if(!j[67044]){break a}}e:{l=j[o+12>>2];f:{if((l|0)<1){break f}o=j[o+20>>2];i=0;while(1){g=j[o+(i<<2)>>2];if(j[g>>2]!=(c|0)|j[g+4>>2]!=(d|0)){i=i+1|0;if((l|0)!=(i|0)){continue}break f}break}if((l|0)>(i|0)){break e}}nk(a,b,c,d,1,e,f);break a}p=q(e-n[g+8>>2]);m=q(f-n[g+12>>2]);if(q(q(1)-n[g+16>>2])==q(0)?!(p!=q(0)|m!=q(0)):0){break a}n[g+16>>2]=1;n[g+12>>2]=f;n[g+8>>2]=e;if((We(1794,-1)|0)!=1){break a}n[k+48>>2]=1;n[k+44>>2]=m;n[k+40>>2]=p;n[k+36>>2]=f;n[k+32>>2]=e;j[k+24>>2]=c;j[k+28>>2]=d;j[k+16>>2]=a;j[k+20>>2]=b;j[k+8>>2]=1794;gf(k+8|0)}oe=k- -64|0}function bk(a,b,c){var d=0,e=0,f=0;d=Xe(1,60);if(!d){Be(0);return 0}f=km(c);j[d+4>>2]=f;a:{b:{if(!f){break b}j[d+12>>2]=b;j[d+8>>2]=a;c:{if(!(!c|(c&-268435456)==268435456)){e=2;if((c|0)==844715353|(c|0)==1498831189){break c}e=(c|0)==1431918169?2:1;break c}e=c&255}e=p(e,a);d:{e:{switch((c>>>8&255)-1|0){case 0:e=(e+7|0)/8|0;break d;case 3:break e;default:break d}}e=(e+1|0)/2|0}j[d+48>>2]=b;j[d+44>>2]=a;j[d+36>>2]=0;j[d+40>>2]=0;j[d+16>>2]=e+3&-4;b=j[f>>2];if(!(((b&-268435456)!=268435456?b:0)|(b>>>24&15)-1>>>0>2)){b=bI(1<>2]==2){a=j[b+4>>2];h[a+4|0]=0;h[a+5|0]=0;h[a+2|0]=255;h[a|0]=255;h[a+1|0]=255;h[a+6|0]=0}if((hm(j[d+4>>2],b)|0)>=0){wf(j[d+52>>2])}cI(b);a=j[d+8>>2]}f:{if(!a){break f}a=j[d+12>>2];if(!a){break f}b=j[d+16>>2];a=gP(b,b>>31,a,a>>31);b=pe;if(!b&a>>>0>=2147483648|b){break a}a=nm(a);j[d+20>>2]=a;if(!a){break a}j[d>>2]=j[d>>2]|8;Oe(a,0,p(j[d+16>>2],j[d+12>>2]))}a=aI();j[d+52>>2]=a;if(!a){break b}g:{if(!j[j[d+4>>2]+24>>2]){break g}b=j[a+68>>2];c=b&-113|16;j[a+68>>2]=c;if((b|0)==(c|0)){break g}wf(a)}j[d+56>>2]=1;return d}lf(d);return 0}lf(d);Be(0);return 0}function aF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,s=0,t=0,u=q(0),v=q(0),w=0,x=0,y=0;a:{if((e|0)<1){break a}while(1){f=g<<2;if(j[f+d>>2]){j[(h<<2)+c>>2]=j[c+f>>2];h=h+1|0}g=g+1|0;if((g|0)!=(e|0)){continue}break}if(!h){break a}i=j[b>>2];k=j[i+8>>2];n=(j[i+4>>2]-j[i>>2]|0)/(k|0)|0;s=j[i+12>>2];o=Ff(a,h<<2);if((h|0)>=1){e=n<<2;g=0;while(1){d=Ff(a,e);j[(g<<2)+o>>2]=d;Ee(d,0,e);g=g+1|0;if((h|0)!=(g|0)){continue}break}}if((n|0)>=1){v=q(100/+(k|0));e=s-1|0;w=(h|0)<1;while(1){if(!w){x=j[i>>2]+p(k,m)|0;l=0;while(1){b:{if((k|0)<1){g=0;d=0;break b}y=j[(l<<2)+c>>2];d=0;g=0;a=0;while(1){f=j[(a+x<<2)+y>>2];t=f>>31;f=t^f+t;g=(g|0)<(f|0)?f:g;d=d+f|0;a=a+1|0;if((k|0)!=(a|0)){continue}break}}f=(s|0)<2;u=q(v*q(d|0));c:{if(q(r(u))>2]>=(g|0)){f=j[f+2584>>2];if((f|0)<0|(d|0)<(f|0)){break d}}a=a+1|0;if((e|0)!=(a|0)){continue}break}a=e}j[j[(l<<2)+o>>2]+(m<<2)>>2]=a;l=l+1|0;if((l|0)!=(h|0)){continue}break}}m=m+1|0;if((n|0)!=(m|0)){continue}break}}j[b+40>>2]=j[b+40>>2]+1}return o|0}function EE(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;d=oe-144|0;oe=d;m=Se((c?c:b)<<2);g=Ee(d,0,132);a:{b:{c:{d:{if((b|0)<1){break d}p=!c;while(1){i=p;d=h[a+q|0];e:{if((d|0)<1){break e}o=(d|0)>31;i=(d<<2)+g|0;l=j[i>>2];if(l>>>d|0?!o:0){break c}j[(n<<2)+m>>2]=l;e=d;f=l;f:{if(!(l&1)){while(1){j[i>>2]=f+1;if((e|0)<2){break f}e=e-1|0;i=(e<<2)+g|0;f=j[i>>2];if(!(f&1)){continue}break}}if((e|0)==1){j[g+4>>2]=j[g+4>>2]+1;break f}j[i>>2]=j[((e<<2)+g|0)-4>>2]<<1}i=1;if(o){break e}while(1){o=l;e=d+1|0;f=(e<<2)+g|0;l=j[f>>2];if((o|0)!=(l>>>1|0)){break e}j[f>>2]=j[(d<<2)+g>>2]<<1;d=e;if((d|0)!=32){continue}break}}n=i+n|0;q=q+1|0;if((q|0)!=(b|0)){continue}break}if((n|0)!=1){break d}if(j[g+8>>2]==2){break b}}d=1;while(1){if(j[(d<<2)+g>>2]<<32-d){break c}d=d+1|0;if((d|0)!=33){continue}break}break b}ze(m);m=0;break a}if((b|0)<1){break a}f=0;i=(c|0)!=0;c=0;while(1){e=0;d=k[a+f|0];l=d<<24>>24;if((l|0)>=1){p=d>>>0>1?d:1;n=j[(c<<2)+m>>2];d=0;while(1){e=n>>>d&1|e<<1;d=d+1|0;if((p|0)!=(d|0)){continue}break}}if(!(i&!l)){j[(c<<2)+m>>2]=e;c=c+1|0}f=f+1|0;if((f|0)!=(b|0)){continue}break}}oe=g+144|0;return m}function Ae(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){Ia(a|0,b|0,c|0)|0;return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if((c|0)<1){c=a;break b}if(!(a&3)){c=a;break b}c=a;while(1){h[c|0]=k[b|0];b=b+1|0;c=c+1|0;if(e>>>0<=c>>>0){break b}if(c&3){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+ -64|0;if(f>>>0>>0){break c}while(1){j[c>>2]=j[b>>2];j[c+4>>2]=j[b+4>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=j[b+12>>2];j[c+16>>2]=j[b+16>>2];j[c+20>>2]=j[b+20>>2];j[c+24>>2]=j[b+24>>2];j[c+28>>2]=j[b+28>>2];j[c+32>>2]=j[b+32>>2];j[c+36>>2]=j[b+36>>2];j[c+40>>2]=j[b+40>>2];j[c+44>>2]=j[b+44>>2];j[c+48>>2]=j[b+48>>2];j[c+52>>2]=j[b+52>>2];j[c+56>>2]=j[b+56>>2];j[c+60>>2]=j[b+60>>2];b=b- -64|0;c=c- -64|0;if(f>>>0>=c>>>0){continue}break}}if(c>>>0>=d>>>0){break a}while(1){j[c>>2]=j[b>>2];b=b+4|0;c=c+4|0;if(d>>>0>c>>>0){continue}break}break a}if(e>>>0<4){c=a;break a}d=e-4|0;if(d>>>0>>0){c=a;break a}c=a;while(1){h[c|0]=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=k[b+2|0];h[c+3|0]=k[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){while(1){h[c|0]=k[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function bn(a,b,c,d,e){var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;l=oe-16|0;oe=l;j[l+12>>2]=0;f=j[a+12>>2];a:{b:{c:{d:{if((f|0)<=11){if(j[a+20>>2]){break d}j[a+16>>2]=12;j[a+20>>2]=a+892;break d}m=j[a+16>>2];if((m|0)>(f|0)){d=j[a+20>>2];k=d+p(f,48)|0;break c}f=64;if((m|0)>44739241){break a}f=((m>>2)+m|0)+4|0;h=(m|0)<-16?44739242:(f|0)>44739242?44739242:f;g=j[a+20>>2];e:{if((g|0)==(a+892|0)){d=xe(d,48,0,h,0,l+12|0);j[a+20>>2]=d;f=j[l+12>>2];if(f){break a}Ae(d,g,576);break e}n=a,o=xe(d,48,m,h,g,l+12|0),j[n+20>>2]=o;f=j[l+12>>2];if(f){break a}}j[a+16>>2]=h;f=j[a+12>>2]}d=j[a+20>>2];k=d+p(f,48)|0;if((f|0)<1){break b}}f=k;while(1){f:{k=f-48|0;g=i[k>>1];if((g|0)<(b|0)){k=f;break f}if(!((b|0)!=(g|0)|j[a+24>>2]!=(c|0))){k=f;break f}g=k;h=j[g+4>>2];j[f>>2]=j[g>>2];j[f+4>>2]=h;h=j[g+44>>2];j[f+40>>2]=j[g+40>>2];j[f+44>>2]=h;h=j[g+36>>2];j[f+32>>2]=j[g+32>>2];j[f+36>>2]=h;h=j[g+28>>2];j[f+24>>2]=j[g+24>>2];j[f+28>>2]=h;h=j[g+20>>2];j[f+16>>2]=j[g+16>>2];j[f+20>>2]=h;h=j[g+12>>2];j[f+8>>2]=j[g+8>>2];j[f+12>>2]=h;f=g;if(f>>>0>d>>>0){continue}}break}f=j[a+12>>2]}j[a+12>>2]=f+1;f=0}j[e>>2]=k;oe=l+16|0;return f}function NL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=q(0),h=q(0),i=q(0);f=Ah(a,d<<4,b+4|0);if(!f){return-1}j[b+8>>2]=d;b=j[a+216>>2];if(!(b|j[a+220>>2])){if((d|0)>0){b=0;while(1){a=f;g=n[c>>2];a:{if(q(r(g))>2]=e;a=f;g=n[c+4>>2];b:{if(q(r(g))>2]=e;e=f;g=n[c+8>>2];c:{if(q(r(g))>2]=(a|0)>1?a:1;e=f;g=n[c+12>>2];d:{if(q(r(g))>2]=(a|0)>1?a:1;c=c+16|0;f=f+16|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}if((d|0)<1){return 0}g=q(j[a+220>>2]);i=q(b|0);b=0;while(1){a=f;h=q(n[c>>2]+i);e:{if(q(r(h))>2]=e;a=f;h=q(n[c+4>>2]+g);f:{if(q(r(h))>2]=e;e=f;h=n[c+8>>2];g:{if(q(r(h))>2]=(a|0)>1?a:1;e=f;h=n[c+12>>2];h:{if(q(r(h))>2]=(a|0)>1?a:1;c=c+16|0;f=f+16|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}return 0}function xJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,m)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+m|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+m|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function vI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,k)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;c=((p(c,l)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+m|0;c=((p(c,e)>>>0)/255|0)+l|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+k|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+l|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function tJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,k)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;c=((p(c,m)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+l|0;c=((p(c,e)>>>0)/255|0)+m|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+k|0;d=d>>>0<255?d:255;b=b+l|0;b=b>>>0<255?b:255;c=c+m|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function iJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,l)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+l|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function bJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,l)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;c=((p(c,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+l|0;b=((p(b,e)>>>0)/255|0)+m|0;c=((p(c,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+l|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+k|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function QI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,m)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+m|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+m|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function MI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,m)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;c=((p(c,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+m|0;b=((p(b,e)>>>0)/255|0)+l|0;c=((p(c,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+m|0;d=d>>>0<255?d:255;b=b+l|0;b=b>>>0<255?b:255;c=c+k|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function BI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,l)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+l|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+l|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function dI(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0;if(!a){return}b=j[a+188>>2];j[a+188>>2]=b-1;if((b|0)<=1){k=j[a>>2];b=j[a+16>>2];a:{if(!b){break a}while(1){g=j[((f<<2)+a|0)+20>>2];c=j[g>>2];b:{if(we(j[c+8>>2],6568)|!(h[c|0]&1)){break b}c=j[g+16>>2];if(!c){break b}while(1){b=j[c+8>>2];c:{if(!b){break c}c=j[b+96>>2];if(!c){break c}d=j[b+128>>2];e=j[d+56>>2];j[d+56>>2]=e-1;if((e|0)>1){break c}e=j[c+8>>2];i=c+16|0;d=ph(i,b);if(!d){break c}Ih(i,d);if(d){qe[j[e+8>>2]](e,d)}Sh(e,b,c)}c=j[g+16>>2];if(c){continue}break}b=j[a+16>>2]}f=f+1|0;if(f>>>0>>0){continue}break}if(!b){break a}f=0;while(1){g=j[((f<<2)+a|0)+20>>2];d:{if(!(h[j[g>>2]]&1)){break d}c=j[g+16>>2];if(!c){break d}while(1){b=j[c+8>>2];e:{if(!b){break e}c=j[b+96>>2];if(!c){break e}d=j[b+128>>2];e=j[d+56>>2];j[d+56>>2]=e-1;if((e|0)>1){break e}e=j[c+8>>2];i=c+16|0;d=ph(i,b);if(!d){break e}Ih(i,d);if(d){qe[j[e+8>>2]](e,d)}Sh(e,b,c)}c=j[g+16>>2];if(c){continue}break}b=j[a+16>>2]}f=f+1|0;if(f>>>0>>0){continue}break}if(!b){break a}while(1){dr(a,j[((b<<2)+a|0)+16>>2]);b=j[a+16>>2];if(b){continue}break}}if(a){qe[j[k+8>>2]](k,a)}}}function lp(a,b,c,d,e,f){var g=0,i=0,l=0;g=oe-432|0;oe=g;j[g+12>>2]=0;l=Ee(g+16|4,0,400);j[g+428>>2]=a;j[g+424>>2]=4096;i=g+32|0;j[g+420>>2]=i;j[g+16>>2]=f;Ee(a+24|0,0,148);j[a+156>>2]=8720;j[a+60>>2]=65536;j[a+44>>2]=2;j[a+48>>2]=65536;j[a+32>>2]=-6553600;j[a+36>>2]=3276800;j[a+172>>2]=65535;j[a+136>>2]=65535;j[a+128>>2]=65535;j[a+132>>2]=65535;j[a+16>>2]=65535;j[a+20>>2]=65535;j[a+8>>2]=65535;j[a+12>>2]=65535;j[a>>2]=65535;j[a+4>>2]=65535;c=gi(b,c,g+12|0,g+8|0);if(!c){c=j[g+12>>2];c=ap(g+16|0,c,c+j[g+8>>2]|0)}if(!j[b+28>>2]){jf(j[b>>2],g+12|0)}a:{if(c){break a}c=0;if(j[a+132>>2]!=65535){break a}c=j[a+116>>2];if(!(!c|!j[a+120>>2])){b=Ee(a+176|0,0,360);j[a+516>>2]=3932;j[a+508>>2]=-1;j[a+380>>2]=1;j[a+372>>2]=2596864;j[a+376>>2]=7;Ee(l,0,400);j[g+428>>2]=b;j[g+424>>2]=8192;j[g+420>>2]=i;j[g+16>>2]=f;c=Fe(d,c+e|0);if(c){break a}c=_e(d,j[a+120>>2]);if(c){break a}c=ap(g+16|0,j[d+32>>2],j[d+36>>2]);Ve(d);if(c){break a}h[b|0]=k[b|0]&254}c=0;b=j[a+524>>2];if(!b){break a}c=Fe(d,j[a+116>>2]+(b+e|0)|0);if(c){break a}b=a+536|0;c=Gh(b,d,1);if(c){break a}c=ul(b,a+568|0,0)}oe=g+432|0;return c}function fF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;d=bf(1,2840);h=j[a+28>>2];m=d,n=Ce(b,24),j[m>>2]=n;m=d,n=Ce(b,24),j[m+4>>2]=n;m=d,n=Ce(b,24)+1|0,j[m+8>>2]=n;i=Ce(b,6);k=i+1|0;j[d+12>>2]=k;g=Ce(b,8);j[d+20>>2]=g;a:{if((g|0)<0){break a}b:{if((i|0)>=0){l=d+24|0;while(1){a=Ce(b,3);c=Ce(b,1);if((c|0)<0){break a}if(c){c=Ce(b,5);if((c|0)<0){break a}a=c<<3|a}j[(e<<2)+l>>2]=a;c=0;if(a){while(1){c=(a&1)+c|0;a=a>>>1|0;if(a){continue}break}}f=c+f|0;a=(e|0)<(i|0);e=e+1|0;if(a){continue}break}c:{if((f|0)>=1){c=d+280|0;a=0;while(1){e=Ce(b,8);if((e|0)<0){break c}j[c+(a<<2)>>2]=e;a=a+1|0;if((f|0)!=(a|0)){continue}break}}b=j[h+24>>2];if((b|0)<=(g|0)){break a}if((f|0)<1){break b}c=d+280|0;a=0;while(1){e=j[c+(a<<2)>>2];if((e|0)>=(b|0)|!j[j[((e<<2)+h|0)+1824>>2]+12>>2]){break a}a=a+1|0;if((f|0)!=(a|0)){continue}break}break b}if(d){break a}return 0}if(j[h+24>>2]<=(g|0)){break a}}c=1;b=j[((g<<2)+h|0)+1824>>2];a=j[b>>2];if((a|0)<1){break a}b=j[b+4>>2];while(1){c=p(c,k);if((b|0)<(c|0)){break a}f=(a|0)<2;a=a-1|0;if(!f){continue}break}j[d+16>>2]=c;return d|0}ze(d);return 0}function tF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:{if(j[a+8>>2]<1){break a}b:{if(j[a>>2]<=8){if((d|0)<1){break a}i=-1;while(1){e=vi(a,c);if((e|0)==-1){break a}g=j[a>>2];h=j[a+16>>2]+(p(g,e)<<2)|0;e=0;c:{switch(g-1|0){case 7:e=(f<<2)+b|0;n[e>>2]=n[h>>2]+n[e>>2];e=1;f=f+1|0;case 6:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 5:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 4:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 3:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 2:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 1:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 0:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;break;default:break c}}if((d|0)>(f|0)){continue}break}break b}if((d|0)<1){break a}while(1){i=-1;e=vi(a,c);if((e|0)==-1){break a}h=j[a>>2];if((h|0)>=1){i=j[a+16>>2]+(p(e,h)<<2)|0;e=0;while(1){g=(f<<2)+b|0;n[g>>2]=n[i+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if((d|0)>(f|0)){continue}break}}i=0}return i|0}function oE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=q(0),g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0,s=q(0),t=0,u=0,w=0;m=j[b+20>>2];g=j[b+8>>2];h=j[a+28>>2];e=h<<2;i=g+e|0;if(!j[i>>2]){l=j[b>>2];g=j[m+4>>2];a=j[e+j[j[j[a+64>>2]+4>>2]+28>>2]>>2];e=(a|0)/2|0;u=i,w=Se((e<<2)+4|0),j[u>>2]=w;a:{if((a|0)<=1){g=j[b+8>>2];i=j[g+(h<<2)>>2];a=0;break a}f=q(q(g|0)*q(.5));p=+q(+(l|0)/(qi(+q(f*q(.0007399999885819852)))*13.100000381469727+qi(+q(q(f*f)*q(1.8499999754340024e-8)))*2.240000009536743+ +q(f*q(9999999747378752e-20))));s=q(f/q(e|0));g=j[b+8>>2];i=j[g+(h<<2)>>2];a=0;while(1){t=(a<<2)+i|0;f=q(s*q(a|0));o=v((qi(+q(f*q(.0007399999885819852)))*13.100000381469727+qi(+q(q(f*f)*q(1.8499999754340024e-8)))*2.240000009536743+ +q(f*q(9999999747378752e-20)))*p);b:{if(r(o)<2147483648){k=~~o;break b}k=-2147483648}j[t>>2]=(l|0)>(k|0)?k:l-1|0;a=a+1|0;if((e|0)==(a|0)){a=e}else{l=j[b>>2];continue}break}}j[(a<<2)+i>>2]=-1;j[((h<<2)+b|0)+12>>2]=e}if(c){a=h<<2;e=j[a+g>>2];k=j[(a+b|0)+12>>2];a=j[b+4>>2];nE(d,e,k,j[b>>2],c,a,n[(a<<2)+c>>2],q(j[m+16>>2]));return 1}Ee(d,0,j[((h<<2)+b|0)+12>>2]<<2);return 0}function Qk(a,b){var c=0,d=0,e=0,f=0,g=0,k=0,l=0,n=0;l=oe-16|0;oe=l;e=j[a+28>>2];j[l+12>>2]=0;j[b>>2]=0;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;d=h[c|0]}else{d=0}d=d<<24>>24;c=-1;a:{if(!d){break a}f=d&255;if(f&128){d=f<<8&32512;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}f=d|c<<24>>24&255}e=xe(e,2,0,f,0,l+12|0);c=0;if(j[l+12>>2]){break a}j[b>>2]=f;b:{if(!f){break b}b=0;while(1){c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}c=c<<24>>24;k=c&255;c:{if(c&128){d=af(a);i[e+(b<<1)>>1]=d;k=k&127;if(!k){break b}g=0;b=b+1|0;c=e;if(k+b>>>0>f>>>0){break a}while(1){d=af(a)+d|0;i[e+(b<<1)>>1]=d;b=b+1|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}break c}g=e+(b<<1)|0;d=j[a+32>>2];if(d>>>0>2]){j[a+32>>2]=d+1;d=h[d|0]}else{d=0}d=d<<24>>24&255;i[g>>1]=d;if(!c){break b}g=0;b=b+1|0;c=e;if(k+b>>>0>f>>>0){break a}while(1){n=e+(b<<1)|0;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}d=(c<<24>>24&255)+d|0;i[n>>1]=d;b=b+1|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}if(b>>>0>>0){continue}break}}c=e}oe=l+16|0;return c}function BK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,q=0;e=k[a+63|0];if((e|0)==128){rr(a,63454);return}a:{g=j[a+28>>2];if(!g){break a}f=e>>>3|0;e=j[a+24>>2];h=e&3;m=(e+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>1<<1;b:while(1){e=m;c:{d:{switch(h-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=l[d>>1];c=(a<<16|a)&132184095;a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c-a|0,f)>>>5|0)+a&132184095;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=1;continue;case 1:a=l[d>>1];c=(a<<16|a)&132184095;a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c-a|0,f)>>>5|0)+a&132184095;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=2;continue;case 2:a=l[d>>1];c=(a<<16|a)&132184095;a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c-a|0,f)>>>5|0)+a&132184095;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=3;continue;default:break e}}a=g-1|0;c=l[d>>1];q=(c<<16|c)&132184095;c=l[b>>1];c=(c<<16|c)&132184095;c=(p(q-c|0,f)>>>5|0)+c&132184095;i[b>>1]=c>>>16|c;b=b+2|0;d=d+2|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function xi(a,b){var c=0,d=0;d=oe-32|0;oe=d;c=j[67085];a:{if(!c){ve(151717,0);break a}b:{switch(a|0){case 0:j[c+328>>2]=b;break a;case 1:j[c+332>>2]=b;break a;case 2:j[c+336>>2]=b;break a;case 3:j[c+340>>2]=b;break a;case 5:j[c+356>>2]=b;break a;case 4:j[c+348>>2]=b;break a;case 6:j[c+344>>2]=b;break a;case 7:j[c+352>>2]=b;break a;case 8:j[c+360>>2]=b;break a;case 9:j[c+364>>2]=b;break a;case 10:j[c+368>>2]=b;break a;case 11:j[c+372>>2]=b;break a;case 12:j[c+376>>2]=b;break a;case 13:j[c+380>>2]=b;break a;case 14:j[c+384>>2]=b;break a;case 15:j[c+388>>2]=b;break a;case 16:j[c+428>>2]=b;break a;case 17:j[c+392>>2]=b;break a;case 18:j[c+396>>2]=b;break a;case 19:if(b){j[c+404>>2]=4;break a}j[c+404>>2]=0;break a;case 20:if(b>>>0>=16){j[d>>2]=b;ve(151130,d);break a}j[c+400>>2]=b;break a;case 21:if(!((b|0)!=3?b>>>0<=4:0)){j[d+16>>2]=b;ve(151161,d+16|0);break a}j[c+404>>2]=b;break a;case 22:j[c+408>>2]=b;break a;case 23:j[c+420>>2]=b;break a;case 24:j[c+412>>2]=b;break a;case 25:j[c+416>>2]=b;break a;case 26:j[c+424>>2]=b;break a;default:break b}}ve(151195,0)}oe=d+32|0}function tx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;k=j[b>>2]<<2;j[c+232>>2]=k;h=j[b+4>>2]<<2;j[c+236>>2]=h;f=j[a>>2];j[c+240>>2]=f<<2;e=j[a+4>>2];d=j[c+220>>2];j[c+248>>2]=d;i=j[c+224>>2];j[c+252>>2]=i;g=e<<2;j[c+244>>2]=g;a=c+232|0;b=0;e=i+(h-(e<<3)|0)|0;l=e>>31;d=(k-(f<<3)|0)+d|0;f=d>>31;a:{b:{e=l^e+l;d=f^d+f;d=(d|0)<(e|0)?e:d;c:{if((d|0)<64){break c}e=(g|0)<(h|0)?g:h;if(j[c+176>>2]<=((e|0)>(i|0)?i:e)>>8){break c}b=(g|0)>(h|0)?g:h;if(j[c+172>>2]<=((b|0)<(i|0)?i:b)>>8){break b}b=0}d=0;break a}while(1){m=m+1|0;b=(d|0)>259;d=d>>2;if(b){continue}break}j[c+1008>>2]=m;b=0;d=1}while(1){d:{if(!d){_k(c,k,j[a+4>>2]);b=b-1|0;a=a-16|0;break d}e=j[a+16>>2];j[a+32>>2]=e;g=j[a+20>>2];j[a+36>>2]=g;d=j[a+8>>2];l=(d+k|0)/2|0;j[a+8>>2]=l;f=(d+e|0)/2|0;j[a+24>>2]=f;d=j[a+12>>2];e=(d+j[a+4>>2]|0)/2|0;j[a+12>>2]=e;d=(d+g|0)/2|0;j[a+28>>2]=d;j[a+16>>2]=(f+l|0)/2;j[a+20>>2]=(d+e|0)/2;e=c+1008|0;d=m-1|0;j[e+(b<<2)>>2]=d;b=b+1|0;j[e+(b<<2)>>2]=d;a=a+16|0}e:{if((b|0)>-1){k=j[a>>2];m=j[((b<<2)+c|0)+1008>>2];if((m|0)<1){break e}d=1;continue}return 0}d=0;continue}}function Av(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,n=0,o=0;g=oe-16|0;oe=g;b=j[b>>2];j[g+12>>2]=0;a:{if(!b){d=35;break a}d=6;f=j[b+132>>2];if(!f|m[b+16>>2]<=c>>>0){break a}d=3;e=l[f+4>>1];b=(e|0)==768;c=p(c?c-1|0:k[f+106|0],b?6:4)+(b?148:118)|0;i=j[f+8>>2];if(c>>>0>=(i+(b?-4:-2)|0)-2>>>0){break a}o=j[f+160>>2];b=c+o|0;c=k[b|0]|k[b+1|0]<<8;j[a+80>>2]=c;b=b+2|0;n=k[b|0];if((e|0)==768){b=k[b+2|0]<<16|k[b+3|0]<<24|k[b+1|0]<<8}else{b=k[b+1|0]<<8}b=n|b;if(b>>>0>=i>>>0){break a}n=j[j[a+4>>2]+100>>2];e=c+7>>>3|0;j[a+84>>2]=e;c=l[f+96>>1];j[a+76>>2]=c;h[a+94|0]=1;if(i>>>0>>0){break a}c=xe(n,c,0,e,0,g+12|0);j[a+88>>2]=c;d=j[g+12>>2];if(d){break a}if(e){b=b+o|0;while(1){d=j[a+76>>2];if((d|0)>=1){i=b+d|0;d=c;while(1){h[d|0]=k[b|0];d=j[a+84>>2]+d|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}c=c+1|0;e=e-1|0;if(e){continue}break}}j[j[a+156>>2]+4>>2]=1;j[a+100>>2]=0;b=l[f+80>>1];j[a+72>>2]=1651078259;j[a+104>>2]=b;c=j[a+80>>2]<<6;j[a+24>>2]=c;j[a+40>>2]=c;c=j[a+76>>2]<<6;j[a+28>>2]=c;j[a+32>>2]=0;j[a+36>>2]=b<<6;Ci(a+24|0,c);d=j[g+12>>2]}oe=g+16|0;return d|0}function Nk(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if((a|0)>(b|0)){break a}g=j[(c<<3)+e>>2]>j[(d<<3)+e>>2];l=g?c:d;i=l<<3;h=j[i+f>>2];i=j[e+i>>2];n=h-i|0;m=g?d:c;c=m<<3;k=j[c+f>>2];g=j[c+e>>2];o=k-g|0;c=a;b:{if(!((h|0)!=(k|0)?(g|0)!=(i|0):0)){while(1){h=c<<3;d=j[h+e>>2];j[f+h>>2]=(d|0)>(g|0)?(d|0)<(i|0)?k:d+n|0:d+o|0;d=(b|0)==(c|0);c=c+1|0;if(!d){continue}break}break b}q=De(h-k|0,i-g|0);d=a;while(1){c=d;p=c<<3;d=j[p+e>>2];c:{if((d|0)<=(g|0)){h=d+o|0;break c}h=d+n|0;if((d|0)>=(i|0)){break c}h=ye(d-g|0,q)+k|0}j[f+p>>2]=h;d=c+1|0;if((b|0)!=(c|0)){continue}break}}i=f+4|0;d=e+4|0;e=j[d+(m<<3)>>2]>j[d+(l<<3)>>2];f=(e?m:l)<<3;c=j[i+f>>2];f=j[d+f>>2];h=c-f|0;e=(e?l:m)<<3;g=j[e+i>>2];e=j[d+e>>2];l=g-e|0;if(!((e|0)==(f|0)|(c|0)==(g|0))){m=De(c-g|0,f-e|0);while(1){c=a;n=c<<3;a=j[n+d>>2];d:{if((a|0)<=(e|0)){k=a+l|0;break d}k=a+h|0;if((a|0)>=(f|0)){break d}k=ye(a-e|0,m)+g|0}j[i+n>>2]=k;a=c+1|0;if((b|0)!=(c|0)){continue}break}break a}while(1){k=a<<3;c=j[k+d>>2];j[i+k>>2]=(c|0)>(e|0)?(c|0)<(f|0)?g:c+h|0:c+l|0;c=(a|0)==(b|0);a=a+1|0;if(!c){continue}break}}}function ZO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0;h=j[a+44>>2];i=j[a+48>>2];d=j[a+16>>2];o=k[a+11|0];b=j[a+4>>2];c=l[a+12>>1];j[a+88>>2]=0;qe[j[66043]](a);m=(p(c,1e3)|0)/(b|0)|0;if(!j[a+56>>2]){f=a- -64|0;n=(d|0)<1;while(1){qe[j[66045]](a);a:{if(j[f>>2]){gg(m);b=j[a+52>>2];if(b){sk(b)}qe[j[66050]](a);break a}e=j[a+72>>2];b:{c:{if(j[a+60>>2]){b=d;c=e;if(n){break b}while(1){g=qe[j[66049]](a,c,b)|0;if((g|0)<=0){Nm(a);break c}c=c+g|0;b=b-g|0;if((b|0)>0){continue}break}break b}gg(m);b=d;c=e;if(n){break b}}Oe(c,o,b)}b=j[a+52>>2];if(b){Gi(b,e,d);b=j[a+52>>2];c=0;d:{if(!b){break d}b=j[b+168>>2];c=0;e:{if(!b){break e}c=j[b+16>>2]}}b=j[a+40>>2];if((c|0)<(b|0)){break a}while(1){c=Wh(j[a+52>>2],j[a+72>>2],b);b=j[a+40>>2];if((c|0)!=(b|0)){Oe(j[a+72>>2],k[a+11|0],b)}if(!j[f>>2]){qe[h|0](i,j[a+72>>2],j[a+40>>2])}b=j[a+52>>2];c=0;f:{if(!b){break f}b=j[b+168>>2];c=0;g:{if(!b){break g}c=j[b+16>>2]}}b=j[a+40>>2];if((c|0)>=(b|0)){continue}break}break a}if(!j[f>>2]){qe[h|0](i,e,j[a+40>>2])}}if(!j[a+56>>2]){continue}break}}qe[j[66050]](a);qe[j[66044]](a);return 0}function pj(a){var b=0;a:{if(!(a&32768)){break a}b=k[262319];if(!(!b|!((k[262336]|(b|0)==1)&1))){IL();b=k[262319]}if(!b){break a}h[262319]=b-1}b:{if(!(a&8192)){break b}a=a|512;b=k[262317];if(!(!b|!((k[262336]|(b|0)==1)&1))){b=j[67069];if(b){while(1){j[b+4>>2]=1;uN(b);b=j[67069];if(b){continue}break}}b=k[262317]}if(!b){break b}h[262317]=b-1}c:{if(!(a&512)){break c}a=a|16384;b=k[262313];if(!(!b|!((k[262336]|(b|0)==1)&1))){oN();b=k[262313]}if(!b){break c}h[262313]=b-1}d:{if(!(a&16)){break d}b=k[262308];if(!(!b|!((k[262336]|(b|0)==1)&1))){Mm();b=k[262308]}if(!b){break d}h[262308]=b-1}e:{if(!(a&32)){break e}a=a|16384;b=k[262309];if(!(!b|!((k[262336]|(b|0)==1)&1))){Zj();b=k[262309]}if(!b){break e}h[262309]=b-1}f:{if(!(a&1)){break f}b=k[262304];if(!(!b|!((k[262336]|(b|0)==1)&1))){while(1){b=j[67081];if(b){j[67081]=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}continue}break}b=k[262304]}if(!b){break f}h[262304]=b-1}g:{if(!(a&16384)){break g}a=k[262318];if(!(!a|!((k[262336]|(a|0)==1)&1))){TN();nO();$h(118915,647,0);a=k[262318]}if(!(a&255)){break g}h[262318]=a-1}}function Ri(a,b,c,d,e){var f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0;i=oe-16|0;oe=i;if(e){j[e>>2]=-1}o=(c|0)==-21;q=o?b-21|0:b;r=(c|0)<0?0:c;l=j[a+8>>2];g=j[a>>2];a:{b:{if(g){b=l;while(1){if(!(j[b>>2]!=(q|0)|j[b+4>>2]!=(r|0))){g=f;break b}b=b+12|0;f=f+1|0;if((f|0)!=(g|0)){continue}break}}n=g+1|0;b=j[a+4>>2];c:{if(n>>>0>>0){break c}j[i+4>>2]=0;if(b>>>0>=n>>>0){break c}f=b;b=g+8&-8;l=xe(d,12,f,b,l,i+4|0);j[a+8>>2]=l;f=j[i+4>>2];if(f){break a}j[a+4>>2]=b}j[a>>2]=n;b=p(g,12)+l|0;j[b+8>>2]=c>>31&(o?3:1);j[b+4>>2]=r;j[b>>2]=q}b=j[a+12>>2];d:{e:{if(!b){f:{if(j[a+16>>2]){b=j[a+20>>2];break f}j[i+8>>2]=0;b=xe(d,16,0,8,j[a+20>>2],i+8|0);j[a+20>>2]=b;f=j[i+8>>2];if(f){break a}j[a+16>>2]=8}j[b+12>>2]=0;j[b>>2]=0;j[a+12>>2]=1;break e}b=(j[a+20>>2]+(b<<4)|0)-16|0;if(m[b>>2]>g>>>0){break d}}a=j[b+4>>2];j[i+12>>2]=0;c=g+8>>>3|0;a=a+7>>>3|0;if(c>>>0>a>>>0){f=a;a=c+7&1073741816;s=b,t=xe(d,1,f,a,j[b+8>>2],i+12|0),j[s+8>>2]=t;f=j[i+12>>2];if(f){break a}j[b+4>>2]=a<<3}j[b>>2]=g+1}a=j[b+8>>2]+(g>>>3|0)|0;h[a|0]=k[a|0]|128>>>(g&7);f=0;if(!e){break a}j[e>>2]=g}oe=i+16|0;return f}function Lx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;g=3;a:{if((d|0)<0){break a}f=j[a+8>>2];i=j[a+12>>2];o=l[i>>1];if((e|0)<0|m[f>>2]>>0){break a}i=l[i+2>>1];if(m[f+4>>2]>>0){break a}q=p(i,k[a+18|0]);if((p(q,o)+7>>>3|0)+b>>>0>c>>>0){break a}if(o){r=d&7;a=8-r|0;n=a>>>0>q>>>0?q:a;v=(255<>2];i=j[f+12>>2]+(p(t,e)+(d>>>3|0)|0)|0;w=q-n|0;u=8-n|0;e=0;f=0;d=o;while(1){s=d;b:{if(!r){g=b;d=i;a=q;break b}c:{if((o|0)==(s|0)){e=k[b|0];b=b+1|0;a=r;break c}if((f|0)<(n|0)){a=f+u|0;if(b>>>0>=c>>>0){break c}e=k[b|0]|e;b=b+1|0;a=f+u|0;break c}e=(e&65280)>>>8|0;a=f-n|0}f=a;g=b;h[i|0]=k[i|0]|(e&65535)>>>f&v;e=e<<8;d=i+1|0;a=w}if((a|0)>=8){while(1){b=k[g|0]|e;h[d|0]=k[d|0]|(b&65535)>>>f;d=d+1|0;g=g+1|0;e=b<<8;b=(a|0)>15;a=a-8|0;if(b){continue}break}}d:{if((a|0)>=1){if((a|0)>(f|0)){if(c>>>0<=g>>>0){b=g}else{e=k[g|0]|e;b=g+1|0}h[d|0]=k[d|0]|(e&65535)>>>f&65280>>>a;e=e<<8;f=(f-a|0)+8|0;break d}h[d|0]=k[d|0]|65280>>>a&(e&65535)>>>f;f=f-a|0}b=g}i=i+t|0;d=s-1|0;if((s|0)>1){continue}break}}g=0}return g|0}function YO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=j[a+44>>2];f=j[a+48>>2];j[a+88>>2]=0;qe[j[66043]](a);if(!j[a+56>>2]){g=a- -64|0;while(1){qe[j[66045]](a);c=j[a+40>>2];a:{if(!(j[a+52>>2]|!j[a+60>>2])){b=qe[j[66048]](a)|0;if(b){break a}}b=j[a+72>>2]}b:{if(j[g>>2]){Oe(b,k[a+11|0],c);break b}qe[e|0](f,b,c)}d=j[a+52>>2];c:{if(d){Gi(d,b,c);c=j[a+52>>2];b=0;d:{if(!c){break d}c=j[c+168>>2];b=0;e:{if(!c){break e}b=j[c+16>>2]}}if((b|0)>2]){break c}while(1){f:{g:{h:{if(!j[a+60>>2]){b=j[a+52>>2];break h}c=qe[j[66048]](a)|0;b=j[a+52>>2];if(c){break g}}Wh(b,j[a+72>>2],j[a+16>>2]);gg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0);break f}d=Wh(b,c,j[a+16>>2]);b=j[a+16>>2];if((d|0)!=(b|0)){Oe(c,k[a+11|0],b)}qe[j[66047]](a);qe[j[66046]](a)}c=j[a+52>>2];b=0;i:{if(!c){break i}c=j[c+168>>2];b=0;j:{if(!c){break j}b=j[c+16>>2]}}if((b|0)>=j[a+16>>2]){continue}break}break c}if(j[a+72>>2]==(b|0)){gg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0);break c}qe[j[66047]](a);qe[j[66046]](a)}if(!j[a+56>>2]){continue}break}}qe[j[66051]](a);gg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]<<1);qe[j[66044]](a);return 0}function AK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,q=0;e=k[a+63|0];if((e|0)==128){rr(a,64478);return}a:{g=j[a+28>>2];if(!g){break a}f=e>>>3|0;e=j[a+24>>2];h=e&3;m=(e+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>1<<1;b:while(1){e=m;c:{d:{switch(h-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=l[d>>1];c=(a<<16|a)&65043487;a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c-a|0,f)>>>5|0)+a&65043487;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=1;continue;case 1:a=l[d>>1];c=(a<<16|a)&65043487;a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c-a|0,f)>>>5|0)+a&65043487;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=2;continue;case 2:a=l[d>>1];c=(a<<16|a)&65043487;a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c-a|0,f)>>>5|0)+a&65043487;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=3;continue;default:break e}}a=g-1|0;c=l[d>>1];q=(c<<16|c)&65043487;c=l[b>>1];c=(c<<16|c)&65043487;c=(p(q-c|0,f)>>>5|0)+c&65043487;i[b>>1]=c>>>16|c;b=b+2|0;d=d+2|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function VE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;c=bf(1,3208);k=j[a+28>>2];e=Ee(c,0,3208);a:{if(j[a+4>>2]<1){break a}c=Ce(b,1);if((c|0)<0){break a}b:{if(c){c=Ce(b,4);h=c+1|0;j[e>>2]=h;if((c|0)>=0){break b}break a}h=1;j[e>>2]=1}c=Ce(b,1);if((c|0)<0){break a}if(c){i=Ce(b,8);j[e+1156>>2]=i+1;if((i|0)<0){break a}l=e+2184|0;m=e+1160|0;d=j[a+4>>2];c=0;while(1){f=c<<2;d=d-1|0;g=Ce(b,d?32-s(d)|0:0);j[f+m>>2]=g;n=f+l|0;d=j[a+4>>2]-1|0;f=Ce(b,d?32-s(d)|0:0);j[n>>2]=f;if((g|0)==(f|0)|(g|f)<0){break a}d=j[a+4>>2];if((g|0)>=(d|0)|(d|0)<=(f|0)){break a}g=(c|0)>=(i|0);c=c+1|0;if(!g){continue}break}}if(Ce(b,2)){break a}c:{if((h|0)>=2){if(j[a+4>>2]<1){break c}g=e+4|0;c=0;while(1){d=Ce(b,4);j[g+(c<<2)>>2]=d;if((d|0)<0|(d|0)>=(h|0)){break a}c=c+1|0;if((c|0)>2]){continue}break}}if((h|0)>=1){break c}return e|0}d=e+1092|0;g=e+1028|0;c=0;while(1){Ce(b,8);f=c<<2;a=Ce(b,8);j[f+g>>2]=a;if((a|0)<0|(a|0)>=j[k+16>>2]){break a}a=Ce(b,8);j[d+f>>2]=a;if((a|0)<0|(a|0)>=j[k+20>>2]){break a}c=c+1|0;if((h|0)>(c|0)){continue}break}return e|0}ze(e);return 0}function TD(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;rP(+b);c=oP(1)|0;c=c&2147483647;e=!(oP(0)|0)&(c|0)==2146435072|c>>>0<2146435072;rP(+a);c=oP(1)|0;d=oP(0)|0;c=c&2147483647;if(!((c|0)==2146435072&d>>>0<1|c>>>0<2146435072?e:0)){return a+b}rP(+b);d=oP(1)|0;e=oP(0)|0;c=d;h=c;if(!(e|c-1072693248)){return qi(a)}rP(+a);d=oP(1)|0;g=c>>>30&2;c=g|d>>>31;a:{b:{c:{d=d&2147483647;if(!(oP(0)|d)){d:{switch(c-2|0){case 0:break c;case 1:break d;default:break b}}return-3.141592653589793}i=e;e=h&2147483647;if(!(i|e)){break a}e:{if((e|0)==2146435072){if((d|0)!=2146435072){break e}return o[(c<<3)+226640>>3]}if(!(e+67108864>>>0>=d>>>0?(d|0)!=2146435072:0)){break a}f:{if(g){f=0;if(e>>>0>d+67108864>>>0){break f}}f=qi(r(a/b))}a=f;g:{switch(c|0){case 1:return-a;case 2:return 3.141592653589793-(a+ -1.2246467991473532e-16);case 0:break b;default:break g}}return a+ -1.2246467991473532e-16+ -3.141592653589793}return o[(c<<3)+226672>>3]}a=3.141592653589793}return a}rP(1.5707963267948966);c=oP(1)|0;e=oP(0)|0;rP(+a);d=oP(1)|0;oP(0)|0;pP(0,e|0);pP(1,c&2147483647|d&-2147483648);return+qP()}function yj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;e=oe-16|0;d=1;a:{b:{c:{switch(j[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){f=d;while(1){i=p(f,12)+b|0;h=i-12|0;if(j[i>>2]>2]){j[e+8>>2]=j[i+8>>2];g=j[i+4>>2];j[e>>2]=j[i>>2];j[e+4>>2]=g;j[i+8>>2]=j[h+8>>2];g=j[h+4>>2];j[i>>2]=j[h>>2];j[i+4>>2]=g;j[h+8>>2]=j[e+8>>2];g=j[e+4>>2];j[h>>2]=j[e>>2];j[h+4>>2]=g;f=f-1|0;if(f){continue}}break}d=d+1|0;k=j[a>>2];if(d>>>0>>0){continue}break}d=1;if(k>>>0<2){break b}m=k-1|0;n=j[b>>2];e=0;while(1){i=(d|0)==(m|0);h=j[p(d,12)+b>>2]-n|0;d:{if((h|0)<=(c|0)?!i:0){break d}l=0;f=e;g=e;d=((c|0)>=(h|0)&i)+d|0;if(e>>>0>>0){while(1){h=p(f,12)+b|0;g=j[h>>2];j[h>>2]=0;l=g+l|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}g=d}j[p(e,12)+b>>2]=(l|0)/(g|0);if(d>>>0>=m>>>0){break d}e=d+1|0;n=j[p(e,12)+b>>2]}d=d+1|0;if(k>>>0>d>>>0){continue}break}d=1;if(k>>>0<=1){break b}f=1;while(1){e=p(f,12)+b|0;if(j[e>>2]){c=j[e+4>>2];g=p(d,12)+b|0;j[g>>2]=j[e>>2];j[g+4>>2]=c;j[g+8>>2]=j[e+8>>2];k=j[a>>2];d=d+1|0}f=f+1|0;if(k>>>0>f>>>0){continue}break}}j[a>>2]=d}}function bp(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0;d=oe-48|0;oe=d;j[d+40>>2]=1;c=j[a+11732>>2];j[d+8>>2]=j[a+11728>>2];j[d+12>>2]=c;f=a+8|0;if(!k[a+20|0]){c=j[a+11740>>2];e=j[a+11736>>2];a:{b:{c:{if(k[a+11664|0]){h[a+11665|0]=1;Yg(a,e,c);if(k[a+11744|0]){g=j[a+11716>>2];j[d>>2]=j[a+11712>>2];j[d+4>>2]=g;Fh(a,f,a+11704|0,d,1)}h[a+11744|0]=0;i[a+11664>>1]=0;j[a+11736>>2]=e;j[a+11740>>2]=c;j[a+11720>>2]=e;h[a+11667|0]=1;j[a+11724>>2]=c;if(!k[a+20|0]){break c}c=j[a+11676>>2];if(k[c+5|0]){break b}break a}j[a+11740>>2]=c;j[a+11720>>2]=e;j[a+11736>>2]=e;h[a+11667|0]=1;j[a+11724>>2]=c}c=j[a+11676>>2]}oh(f,j[a+11668>>2],j[a+11672>>2],c,j[a+11680>>2],0)}Ae(a+3876|0,f,3868)}c=j[b+4>>2];e=ye(j[a+11644>>2],j[b>>2]);g=ye(j[a+11648>>2],c);c=Lg(f,c);e=e+g|0;l=d,m=(ye(j[j[a>>2]+60>>2],e)+ye(j[j[a>>2]+68>>2],c)|0)+j[a+11656>>2]|0,j[l+16>>2]=m;l=d,m=(ye(j[j[a>>2]- -64>>2],e)+ye(j[j[a>>2]+72>>2],c)|0)+j[a+11660>>2]|0,j[l+20>>2]=m;c=j[a+4>>2];qe[j[c>>2]](c,d+8|0);c=j[d+20>>2];j[a+11728>>2]=j[d+16>>2];j[a+11732>>2]=c;c=j[b+4>>2];j[a+11704>>2]=j[b>>2];j[a+11708>>2]=c;oe=d+48|0}function mj(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);i=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);m=k[a+20|0]|k[a+21|0]<<8|(k[a+22|0]<<16|k[a+23|0]<<24);n=k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24);e=k[a+72|0]|k[a+73|0]<<8|(k[a+74|0]<<16|k[a+75|0]<<24);f=k[a+76|0]|k[a+77|0]<<8|(k[a+78|0]<<16|k[a+79|0]<<24);d=0;a:{if((e|0)==(f|0)){break a}d=512;if((e|0)<=(f|0)){break a}l=w(+q(q(e<<9)/q(f|0)));if(r(l)<2147483648){d=~~l;break a}d=-2147483648}d=(d|0)<(2147483647/(b|0)|0)?p(d,b):0;d=Xe(d?d:1,4);if(!d){Be(0);return}o=e;e=g+i|0;b=qs(b,o,f,d,d,i,g,e,p(m,n)-g|0);h[a+24|0]=b;h[a+25|0]=b>>>8;h[a+26|0]=b>>>16;h[a+27|0]=b>>>24;if(d){qe[j[57975]](d);j[57976]=j[57976]-1}fj(k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24),e,k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24));b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,c)}}function Mm(){var a=0,b=0,c=0;if(j[66039]){Df(j[66072]);Df(j[66073]);Df(j[66074]);Df(j[66075]);Df(j[66076]);Df(j[66077]);Df(j[66078]);Df(j[66079]);Df(j[66080]);Df(j[66081]);Df(j[66082]);Df(j[66083]);Df(j[66084]);Df(j[66085]);Df(j[66086]);Df(j[66087]);a=j[66068];if(a){while(1){c=j[a+16>>2];b=j[a>>2];if(b){qe[j[66055]](b)}b=j[a+4>>2];if((b|0)!=j[a+8>>2]){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+8>>2]}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}j[66066]=0;j[66068]=0;a=j[66069];if(a){while(1){c=j[a+16>>2];b=j[a>>2];if(b){qe[j[66055]](b)}b=j[a+4>>2];if((b|0)!=j[a+8>>2]){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+8>>2]}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}j[66067]=0;j[66069]=0;qe[j[66056]]();a=j[66063];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}Oe(264156,0,124);Oe(264288,0,64);a=j[66091];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[66092];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66092]=0;j[66091]=0}}function xs(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;if(Ii(16)){Mm()}Oe(264156,0,124);Oe(264288,0,64);a=Qf(116752);a:{b:{while(1){if((b|0)==3){break b}c=j[(b<<2)+116736>>2];c:{d:{if(a){e=0;if(!om(j[c>>2],a,Le(a))){break d}break c}e=0;if(j[c+12>>2]){break c}}Oe(264156,0,124);j[66039]=j[c>>2];j[66040]=j[c+4>>2];f=1;e=qe[j[c+8>>2]](264164)|0}b=b+1|0;if(!e){continue}break}g=264252,h=$i(),j[g>>2]=h;e:{if(!j[66058]){break e}if(!j[66053]){j[66053]=597}if(j[66054]){break e}j[66054]=597}a=j[66041];if(!a){j[66041]=598;a=598}if(!j[66042]){j[66042]=599}if(!j[66043]){j[66043]=600}if(!j[66044]){j[66044]=601}if(!j[66045]){j[66045]=602}if(!j[66046]){j[66046]=603}if(!j[66047]){j[66047]=604}if(!j[66048]){j[66048]=605}if(!j[66049]){j[66049]=606}if(!j[66050]){j[66050]=607}if(!j[66051]){j[66051]=608}if(!j[66052]){j[66052]=609}if(!j[66053]){j[66053]=610}if(!j[66054]){j[66054]=611}if(!j[66055]){j[66055]=612}b=0;if(!j[66056]){j[66056]=613}qe[a|0]();break a}f:{if(f){break f}if(a){j[d>>2]=a;ve(116768,d);break f}ve(116800,0)}Oe(264156,0,124);b=-1}oe=d+16|0;return b}function $A(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;g=oe-16|0;oe=g;i=j[c>>2];j[g+12>>2]=0;d=8;e=a+5|0;a:{if(e>>>0>b>>>0){break a}f=k[a+3|0];h=k[a+4|0];a=j[c+92>>2];d=h+a|0;if(d>>>0>m[c+96>>2]){l=a;a=d+3&-4;t=c,u=xe(i,36,l,a,j[c+100>>2],g+12|0),j[t+100>>2]=u;d=j[g+12>>2];if(d){break a}j[c+96>>2]=a}d=8;l=f&1;n=f&2;o=f&4;q=f&8;r=f&16;if(p((l|8)+(n>>>1|0)+(o>>>2)+(q>>>3)+(r>>>4)|0,h)+e>>>0>b>>>0){break a}i=j[c+92>>2];if(h){a=j[c+100>>2]+p(i,36)|0;while(1){b=a;b:{if(l){d=e+2|0;e=k[e+1|0]|k[e|0]<<8;break b}d=e+1|0;e=k[e|0]}j[b>>2]=e;b=a;c:{if(n){e=d+2|0;d=k[d+1|0]|k[d|0]<<8;break c}e=d+1|0;d=k[d|0]}j[b+4>>2]=d;j[a+8>>2]=k[e|0];d:{if(o){d=e+4|0;f=3;b=k[e+2|0]<<8|k[e+1|0]<<16;break d}d=e+3|0;f=2;b=k[e+1|0]<<8}j[a+20>>2]=b|k[e+f|0];e:{if(q){e=k[d+1|0]<<8|k[d|0]<<16;f=2;b=d+3|0;break e}e=k[d|0]<<8;f=1;b=d+2|0}j[a+24>>2]=k[d+f|0]|e;d=a;f:{if(r){e=b+2|0;b=k[b+1|0]|k[b|0]<<8;break f}e=b+1|0;b=k[b|0]}j[d+28>>2]=b;a=a+36|0;s=s+1|0;if((s|0)!=(h|0)){continue}break}d=j[g+12>>2]}else{d=0}j[c+92>>2]=i+h}oe=g+16|0;return d|0}function On(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;a:{c=p(b,1468)+a|0;g=j[c+56>>2];if((g|0)<1){break a}d=j[a+24>>2];if((d|0)<1){break a}a=j[a+28>>2];q=a+p(d,40)|0;k=b?8:4;r=k|16;e=j[c- -64>>2];m=e+p(g,48)|0;h=m-48|0;c=(b|0)==1;s=c?14:12;t=c?8:4;u=b?20:16;while(1){if(!(l[a>>1]&r)){b=j[a+t>>2];v=a+u|0;d=i[e>>1];f=i[a+s>>1];c=(b+j[e+8>>2]|0)-j[e+4>>2]|0;b:{if((d|0)>=(f|0)){break b}c=(b+j[h+8>>2]|0)-j[h+4>>2]|0;if(i[h>>1]<=(f|0)){break b}b=0;c:{c=g;d:{if((c|0)<=8){e:{if((d|0)>=(f|0)){break e}while(1){b=b+1|0;if((g|0)==(b|0)){d=l[m>>1];b=g;break e}d=i[p(b,48)+e>>1];if((f|0)>(d|0)){continue}break}}if((d&65535)!=(f&65535)){break d}c=j[(p(b,48)+e|0)+8>>2];break b}while(1){d=b+c>>1;n=p(d,48)+e|0;o=i[n>>1];f:{if((o|0)>(f|0)){c=d;break f}if((f|0)<=(o|0)){break c}b=d+1|0}if((b|0)<(c|0)){continue}break}}c=p(b,48)+e|0;b=c-48|0;d=j[c-32>>2];if(!d){d=De(j[c+8>>2]-j[b+8>>2]|0,i[c>>1]-i[b>>1]|0);j[b+16>>2]=d}c=j[b+8>>2]+ye(f-i[b>>1]|0,d)|0;break b}c=j[n+8>>2]}j[v>>2]=c;i[a>>1]=l[a>>1]|k}a=a+40|0;if(q>>>0>a>>>0){continue}break}}}function Ki(a,b){var c=0;c=oe-240|0;oe=c;a:{b:{switch(b+138|0){case 137:j[c+20>>2]=115287;j[c+16>>2]=a;ve(115280,c+16|0);break a;case 136:j[c+36>>2]=115296;j[c+32>>2]=a;ve(115280,c+32|0);break a;case 135:j[c+52>>2]=115303;j[c+48>>2]=a;ve(115280,c+48|0);break a;case 10:j[c+68>>2]=115311;j[c+64>>2]=a;ve(115280,c- -64|0);break a;case 9:j[c+84>>2]=115320;j[c+80>>2]=a;ve(115280,c+80|0);break a;case 8:j[c+100>>2]=115330;j[c+96>>2]=a;ve(115280,c+96|0);break a;case 7:j[c+116>>2]=115339;j[c+112>>2]=a;ve(115280,c+112|0);break a;case 6:j[c+132>>2]=115349;j[c+128>>2]=a;ve(115280,c+128|0);break a;case 5:j[c+148>>2]=115363;j[c+144>>2]=a;ve(115280,c+144|0);break a;case 4:j[c+164>>2]=115377;j[c+160>>2]=a;ve(115280,c+160|0);break a;case 3:j[c+180>>2]=115389;j[c+176>>2]=a;ve(115280,c+176|0);break a;case 2:j[c+196>>2]=115402;j[c+192>>2]=a;ve(115280,c+192|0);break a;case 1:j[c+212>>2]=115416;j[c+208>>2]=a;ve(115280,c+208|0);break a;case 0:j[c+228>>2]=115428;j[c+224>>2]=a;ve(115280,c+224|0);break a;default:break b}}j[c+4>>2]=b;j[c>>2]=a;ve(115439,c)}oe=c+240|0}function XN(){var a=0,b=0,c=0,d=0;a:{if(!j[67021]){break a}a=j[66371];if(!a|!(k[a+49|0]&64)){break a}if((qe[j[67021]](0)|0)==-1){break a}j[a+48>>2]=j[a+48>>2]&-16385}Fm(0);a=j[67051];j[67051]=1;b:{if((a|0)==1){break b}b=j[67015];c:{if(j[67035]){break c}a=j[(j[67024]?268200:268196)>>2];if(!a){break c}if(!b){break b}qe[b|0](a)|0;break b}if(!b){break b}qe[b|0](0)|0}b=j[67048];if(b){while(1){d=b;b=j[b>>2];c=j[67049];d:{if((d|0)==(c|0)){break d}e:{if(j[67050]!=(d|0)){break e}f:{if(c){j[67050]=c;break f}c=j[67024]?d:0}a=j[67015];if(!(j[67035]|(!c|!j[67051]))){if(!a){break e}qe[a|0](c)|0;break e}if(!a){break e}qe[a|0](0)|0}c=j[67048];if(!c){break d}g:{if((c|0)==(d|0)){j[67048]=j[d>>2];break g}while(1){a=c;c=j[a>>2];if(!c){break d}if((c|0)!=(d|0)){continue}break}j[a>>2]=j[d>>2]}a=j[67017];if(!a){break d}qe[a|0](d)}if(b){continue}break}}j[67050]=0;j[67048]=0;b=j[67049];h:{if(!b){break h}a=j[67017];if(!a){break h}qe[a|0](b);j[67049]=0}a=j[67047];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[67047]=0}$h(123706,650,268052);$h(123735,651,268052)}function Eg(a,b,c){var d=0,e=0,f=0,g=0;g=oe-32|0;oe=g;a:{if(!(k[a|0]?a:0)){j[g>>2]=116600;ve(116574,g);break a}if(!b){j[g+16>>2]=116605;ve(116574,g+16|0);break a}d=j[66036];b:{if(!d){break b}while(1){if(!df(a,j[d>>2])){e=j[d+12>>2];if(!e){break b}f=d+12|0;d=0;while(1){if(!(j[e>>2]!=(b|0)|j[e+4>>2]!=(c|0))){j[(d?d+8|0:f)>>2]=j[e+8>>2];if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break b}d=e;e=j[d+8>>2];if(e){continue}break}break b}d=j[d+16>>2];if(d){continue}break}}f=qe[j[57972]](12)|0;if(f){j[57976]=j[57976]+1}if(!f){Be(0);break a}j[f+4>>2]=c;j[f>>2]=b;d=j[66036];c:{if(d){while(1){if(!df(a,j[d>>2])){break c}d=j[d+16>>2];if(d){continue}break}}d=qe[j[57972]](20)|0;if(d){j[57976]=j[57976]+1}if(!d){Be(0);if(f){qe[j[57975]](f);j[57976]=j[57976]-1}break a}e=_f(a);j[d+12>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d>>2]=e;j[d+16>>2]=j[66036];j[66036]=d}j[f+8>>2]=j[d+12>>2];j[d+12>>2]=f;e=Qf(a);d=j[66036];d:{if(!d){break d}while(1){if(!df(a,j[d>>2])){if(j[d+8>>2]!=2?e:0){break d}e=j[d+4>>2];break d}d=j[d+16>>2];if(d){continue}break}}qe[b|0](c,a,e,e)}oe=g+32|0}function ly(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=j[a+100>>2];d=j[a+532>>2];a:{if(!d){break a}b=j[d+80>>2];if(b){qe[b|0](a)}b=j[d+100>>2];if(!b){break a}qe[b|0](a)}if(k[a+780|0]){if(j[a+760>>2]){jf(j[a+104>>2],a+760|0)}j[a+772>>2]=0;j[a+764>>2]=0;j[a+768>>2]=0}jf(j[a+104>>2],a+740|0);j[a+752>>2]=0;j[a+756>>2]=0;j[a+744>>2]=0;j[a+748>>2]=0;b=c;e=j[a+144>>2];if(e){qe[j[b+8>>2]](b,e)}j[a+140>>2]=0;j[a+144>>2]=0;b=j[a+156>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+152>>1]=0;j[a+156>>2]=0;jf(j[a+104>>2],a+500|0);j[a+504>>2]=0;b=j[a+104>>2];jf(b,a+680|0);jf(b,a+688|0);j[a+692>>2]=0;j[a+684>>2]=0;if(k[a+292|0]){b=c;e=j[a+332>>2];if(e){qe[j[b+8>>2]](b,e)}j[a+332>>2]=0;b=j[a+336>>2];if(b){qe[j[c+8>>2]](c,b)}h[a+292|0]=0;j[a+336>>2]=0}b=j[a+544>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+542>>1]=0;j[a+544>>2]=0;if(d){qe[j[d+52>>2]](a)}b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0;j[a+32>>2]=0;b=j[a+664>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+532>>2]=0;j[a+664>>2]=0}}function Gq(a,b,c,d,e,f,g,h){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=oe-16|0;oe=k;m=j[a>>2];a=Fe(b,c);j[k+12>>2]=a;a:{if(a){break a}n=qf(b,k+12|0);a=j[k+12>>2];if(a){break a}while(1){o=rf(b,k+12|0);a=j[k+12>>2];if(a){break a}p=qf(b,k+12|0);a=j[k+12>>2];if(a){break a}q=qf(b,k+12|0);a=j[k+12>>2];if(a){break a}if((e|0)!=(o|0)){a=1;o=(l|0)==(n|0);l=l+1|0;if(o){break a}continue}break}j[h>>2]=p+1;a=Fe(b,c+q|0);j[k+12>>2]=a;if(a){break a}l=0;c=xe(m,8,0,j[h>>2],0,k+12|0);a=j[k+12>>2];if(a){break a}e=j[h>>2];b:{if((e|0)>=1){while(1){a=c+(l<<3)|0;r=a,s=qf(b,k+12|0),i[r>>1]=s;if(j[k+12>>2]){break b}e=vf(b,2);j[k+12>>2]=e;if(e){break b}e=rf(b,k+12|0);if(j[k+12>>2]){break b}n=vf(b,4);j[k+12>>2]=n;if(n){break b}j[a+4>>2]=e&16777215;e=j[h>>2];l=l+1|0;if((e|0)>(l|0)){continue}break}}a=0;b=m;if(f){eg(c,e,8,38);e=j[h>>2]}b=xe(b,4,0,e,0,k+12|0);if(j[k+12>>2]){break b}if(j[h>>2]>=1){while(1){j[b+(a<<2)>>2]=j[(c+(a<<3)|0)+4>>2]+d;a=a+1|0;if((a|0)>2]){continue}break}}j[g>>2]=b;j[k+12>>2]=0}if(c){qe[j[m+8>>2]](m,c)}a=j[k+12>>2]}oe=k+16|0;return a}function eg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0;e=oe-208|0;oe=e;j[e+8>>2]=1;j[e+12>>2]=0;a:{i=p(b,c);if(!i){break a}j[e+16>>2]=c;j[e+20>>2]=c;k=0-c|0;b=c;h=b;g=2;while(1){f=b;b=(c+h|0)+b|0;j[(e+16|0)+(g<<2)>>2]=b;g=g+1|0;h=f;if(b>>>0>>0){continue}break}f=(a+i|0)+k|0;b:{if(f>>>0<=a>>>0){g=1;b=1;break b}g=1;b=1;while(1){c:{if((g&3)==3){Gl(a,c,d,b,e+16|0);Kj(e+8|0,2);b=b+2|0;break c}h=b-1|0;d:{if(m[(e+16|0)+(h<<2)>>2]>=f-a>>>0){Jj(a,c,d,e+8|0,b,0,e+16|0);break d}Gl(a,c,d,b,e+16|0)}if((b|0)==1){Ij(e+8|0,1);b=0;break c}Ij(e+8|0,h);b=1}g=j[e+8>>2]|1;j[e+8>>2]=g;a=a+c|0;if(f>>>0>a>>>0){continue}break}}Jj(a,c,d,e+8|0,b,0,e+16|0);while(1){e:{f:{g:{if(!((b|0)!=1|(g|0)!=1)){if(j[e+12>>2]){break g}break a}if((b|0)>1){break f}}h=e+8|0;f=fP(j[e+8>>2]-1|0);if(!f){f=fP(j[e+12>>2]);f=f?f+32|0:0}Kj(h,f);g=j[e+8>>2];b=b+f|0;break e}Ij(e+8|0,2);j[e+8>>2]=j[e+8>>2]^7;Kj(e+8|0,1);h=a+k|0;f=b-2|0;Jj(h-j[(e+16|0)+(f<<2)>>2]|0,c,d,e+8|0,b-1|0,1,e+16|0);Ij(e+8|0,1);g=j[e+8>>2]|1;j[e+8>>2]=g;Jj(h,c,d,e+8|0,f,1,e+16|0);b=f}a=a+k|0;continue}}oe=e+208|0}function JE(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=oe-16|0;oe=e;b=-131;a:{if(j[a+88>>2]!=1){break a}j[a+88>>2]=2;b:{if(j[a+4>>2]){b=j[a+60>>2];g=j[b>>2];h=j[b+4>>2];j[e+8>>2]=-1;j[e+12>>2]=-1;i=j[a+456>>2];j[e+4>>2]=i;f=pq(a,j[a+72>>2]);k=pe;b=j[a+708>>2];c:{if(!(j[a+716>>2]?b:0)){j[a+8>>2]=-1;j[a+12>>2]=-1;j[a+16>>2]=-1;j[a+20>>2]=-1;b=-131;break c}qe[b|0](j[a>>2],0,0,2)|0;c=qe[j[a+716>>2]](j[a>>2])|0;b=c>>31;d=c;c=b;j[a+8>>2]=d;j[a+12>>2]=b;j[a+16>>2]=d;j[a+20>>2]=b;if((d|0)==-1){b=-131;break c}b=j[a+64>>2];b=Rl(a,d,c,b+8|0,j[b+4>>2],e+4|0,e+8|0);c=pe;d=c;if(!((c|0)<-1?1:(c|0)<=-1)){c=b;b=j[a+64>>2];if((oq(a,0,0,g,h,c,d,j[e+8>>2],j[e+12>>2],j[e+4>>2],b+8|0,j[b+4>>2],0)|0)<0){b=-128;break c}b=j[a+56>>2];j[b>>2]=0;j[b+4>>2]=0;j[j[a+64>>2]>>2]=i;b=j[a+60>>2];j[b>>2]=g;j[b+4>>2]=h;b=j[a+68>>2];j[b>>2]=f;j[b+4>>2]=k;d=j[b+8>>2];c=j[b+12>>2]-(k+(f>>>0>d>>>0)|0)|0;f=d-f|0;d=f;f=(c|0)>0?1:(c|0)>=0?!!f:0;j[b+8>>2]=f?d:0;j[b+12>>2]=f?c:0;b=nq(a,g,h)}if(!b){break b}}j[a>>2]=0;Rj(a);break a}j[a+88>>2]=3}b=0}oe=e+16|0;return b}function FE(a,b,c,d){var e=0,f=0,g=0,h=0,k=0,l=0,m=0,o=0,s=0,t=0,u=0,w=0;l=oe-16|0;oe=l;f=-131;e=j[a+88>>2];a:{if((e|0)<2){break a}m=a+480|0;b:{while(1){if((e|0)==4){e=_i(m,l+12|0);if(e){break b}}e=lq(a);g=(e|0)<1;h=(e|0)==-2?0:g?e:h;if(!g){e=j[a+88>>2];continue}break}f=h;break a}if((e|0)<1){f=e;break a}c:{if(j[a+4>>2]){g=j[a+72>>2];k=g;if(j[a+88>>2]<3){break c}k=g+(j[a+96>>2]<<5)|0;break c}k=j[a+72>>2]}o=j[k+4>>2];s=o<<1;c=(c|0)/(s|0)|0;g=(c|0)<(e|0)?c:e;if((g|0)<1){break a}if((o|0)>=1){f=0;u=j[l+12>>2];while(1){e=(f<<1)+b|0;w=j[(f<<2)+u>>2];h=0;while(1){k=e;t=v(+q(n[(h<<2)+w>>2]*q(32768))+.5);d:{if(r(t)<2147483648){c=~~t;break d}c=-2147483648}c=(c|0)>-32768?c:-32768;i[k>>1]=(c|0)<32767?c:32767;e=(o<<1)+e|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}f=f+1|0;if((o|0)!=(f|0)){continue}break}}b=g+j[m+24>>2]|0;if(!((b|0)>j[m+20>>2]?g:0)){j[m+24>>2]=b}c=g<>2]+28>>2]+3656>>2];e=c;f=e+j[a+80>>2]|0;c=j[a+84>>2]+(e>>31)|0;j[a+80>>2]=f;j[a+84>>2]=e>>>0>f>>>0?c+1|0:c;if(d){j[d>>2]=j[a+96>>2]}f=p(g,s)}oe=l+16|0;return f}function YE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;h=j[b>>2];f=j[h+4>>2];g=p(j[a+36>>2],e)>>1;g=((f|0)<(g|0)?f:g)-j[h>>2]|0;a:{if((g|0)<1){break a}f=0;k=j[j[b+16>>2]>>2];m=j[h+8>>2];g=(g|0)/(m|0)|0;n=Ff(a,((k+g|0)-1|0)/(k|0)<<2);b:{if((e|0)<1){break b}while(1){if(j[(f<<2)+d>>2]){break b}f=f+1|0;if((f|0)!=(e|0)){continue}break}break a}if((e|0)==(f|0)){break a}f=j[b+8>>2];if((f|0)<1){break a}o=a+4|0;a=0;q=(g|0)<1;while(1){if(!q){r=1<>2],o);if((d|0)==-1|(d|0)>=j[h+16>>2]){break a}d=j[j[b+28>>2]+(d<<2)>>2];j[(l<<2)+n>>2]=d;if(!d){break a}}c:{if((k|0)<1|(f|0)>=(g|0)){break c}s=(l<<2)+n|0;d=0;while(1){i=j[j[s>>2]+(d<<2)>>2]<<2;d:{if(!(j[(i+h|0)+24>>2]&r)){break d}i=j[j[i+j[b+20>>2]>>2]+(a<<2)>>2];if(!i){break d}if((qF(i,c,j[h>>2]+p(f,m)|0,e,o,m)|0)==-1){break a}}f=f+1|0;d=d+1|0;if((k|0)<=(d|0)){break c}if((f|0)<(g|0)){continue}break}}l=l+1|0;if((f|0)<(g|0)){continue}break}f=j[b+8>>2]}a=a+1|0;if((f|0)>(a|0)){continue}break}}return 0}function xq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=q(0),m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=q(0),y=q(0),z=q(0),A=q(0),B=0;s=a<<1;r=p(a,b);if((b|0)>=1){j=s-1|0;g=r;while(1){h=(f<<2)+c|0;k=(g<<2)+c|0;n[(f<<3)+d>>2]=n[h>>2]+n[k>>2];n[(j+(f<<1)<<2)+d>>2]=n[h>>2]-n[k>>2];g=a+g|0;f=a+f|0;i=i+1|0;if((i|0)!=(b|0)){continue}break}}a:{if((a|0)<2){break a}if((a|0)!=2){if((b|0)>=1){f=0;j=r;while(1){g=f<<1;k=a+f|0;i=k<<1;h=j;m=2;while(1){o=h<<2;t=g+2|0;u=f+2|0;v=(u<<2)+c|0;w=(m<<2)+e|0;l=n[w-8>>2];h=h+2|0;x=n[(h<<2)+c>>2];y=n[(c+o|0)+4>>2];z=n[w-4>>2];A=q(q(l*x)-q(y*z));n[(t<<2)+d>>2]=n[v>>2]+A;o=i-2|0;n[(o<<2)+d>>2]=A-n[v>>2];l=q(q(l*y)+q(z*x));f=(f<<2)+c|0;n[(g<<2|4)+d>>2]=l+n[f+4>>2];n[((i<<2)+d|0)-12>>2]=n[f+4>>2]-l;g=t;f=u;i=o;m=m+2|0;if((m|0)<(a|0)){continue}break}j=a+j|0;f=k;B=B+1|0;if((B|0)!=(b|0)){continue}break}}if(((a|0)%2|0)==1){break a}}if((b|0)<1){break a}f=a-1|0;g=r+f|0;h=0;i=a;while(1){e=(i<<2)+d|0;n[e>>2]=-n[(g<<2)+c>>2];n[e-4>>2]=n[(f<<2)+c>>2];f=a+f|0;g=a+g|0;i=i+s|0;h=h+1|0;if((h|0)!=(b|0)){continue}break}}}function hG(a,b,c,d,e,f,g,h,j,l){var m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;if(b){u=a-1|0;a=p(l,12);v=a+163170|0;w=a+163168|0;x=a+163178|0;y=a+163176|0;z=a+163174|0;A=a+163172|0;while(1){a=p(j,o)+h|0;l=p(g,o);t=l+e|0;n=d+l|0;l=p(f,o)+c|0;a:{if(!u){q=0;break a}B=i[v>>1];C=k[w|0];E=i[x>>1];F=i[y>>1];G=i[z>>1];H=i[A>>1];q=0;while(1){r=k[t|0]-128|0;s=k[n|0]-128|0;D=p(r,F)+p(s,G)|0;m=p(k[l|0]-C|0,B)- -8192|0;r=p(r,H);s=p(s,E);i[a>>1]=k[(D+m>>6)+163216|0]<<3&2016|k[(r+m>>6)+163216|0]<<8&63488|k[(s+m>>6)+163216|0]>>>3;m=p(k[l+2|0]-C|0,B)- -8192|0;i[a+2>>1]=k[(m+D>>6)+163216|0]<<3&2016|k[(m+r>>6)+163216|0]<<8&63488|k[(m+s>>6)+163216|0]>>>3;t=t+4|0;n=n+4|0;l=l+4|0;a=a+4|0;q=q+2|0;if(u>>>0>q>>>0){continue}break}}o=o+1|0;if((q|0)==(u|0)){m=a;a=p(i[v>>1],k[l|0]-k[w|0]|0)- -8192|0;n=k[n|0]-128|0;l=k[t|0]-128|0;i[m>>1]=k[((a+p(n,i[z>>1])|0)+p(l,i[y>>1])>>6)+163216|0]<<3&2016|k[(a+p(l,i[A>>1])>>6)+163216|0]<<8&63488|k[(a+p(n,i[x>>1])>>6)+163216|0]>>>3}if((b|0)!=(o|0)){continue}break}}}function NE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;a:{b:{if(!a){break b}c=j[a+64>>2];if(!c){break b}f=j[c+104>>2];e=j[c+4>>2];if(!e){e=0;c=1;break a}g=j[e+28>>2];d=1;c=1;break a}c=0}c:{if(!a|!g|(!d|!c)){break c}if(!f){break c}sq(a);d=j[b+4>>2];c=a?a+4|0:0;h=j[b>>2];j[c+12>>2]=h;j[c>>2]=0;j[c+4>>2]=0;j[c+16>>2]=d;j[c+8>>2]=h;d=-135;d:{if(Ce(c,1)){break d}d=Ce(c,j[f+44>>2]);if((d|0)==-1){break c}j[a+40>>2]=d;f=(d<<2)+g|0;d=j[f+32>>2];if(!d){break c}d=j[d>>2];j[a+28>>2]=d;e:{if(d){i=a,k=Ce(c,1),j[i+24>>2]=k;c=Ce(c,1);j[a+32>>2]=c;d=-136;if((c|0)==-1){break d}c=j[a+28>>2];break e}j[a+32>>2]=0;j[a+24>>2]=0;c=0}d=j[b+20>>2];j[a+48>>2]=j[b+16>>2];j[a+52>>2]=d;d=j[b+28>>2];j[a+56>>2]=j[b+24>>2];j[a+60>>2]=d;j[a+44>>2]=j[b+12>>2];j[a+36>>2]=j[(c<<2)+g>>2];i=a,k=Ff(a,j[e+4>>2]<<2),j[i>>2]=k;if(j[e+4>>2]>=1){b=0;while(1){c=Ff(a,j[a+36>>2]<<2);j[j[a>>2]+(b<<2)>>2]=c;b=b+1|0;if((b|0)>2]){continue}break}}b=a;a=(j[j[f+32>>2]+12>>2]<<2)+g|0;d=qe[j[j[(j[a+288>>2]<<2)+198168>>2]+16>>2]](b,j[a+544>>2])|0}return d}return-136}function wG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0),h=0,i=0,l=0,m=0,p=0,s=0,t=0;f=oe-16|0;oe=f;c=Xe(1,36);a:{if(!c){a=Be(0);break a}s=c,t=_f(157646),j[s+12>>2]=t;b:{if(k[b+49|0]&32){g=q(+L());n[c+16>>2]=g;l=c+16|0;break b}j[c+16>>2]=1065353216;g=q(1);l=c+16|0}d=v(+q(g*q(j[b+24>>2])));h=v(+q(n[c+16>>2]*q(j[b+28>>2])));e=1;J(j[c+12>>2],1,1)|0;I(j[c+12>>2],f+8|0,f|0)|0;e=v(o[f+8>>3])==1?v(o[f>>3])!=1:e;j[c+20>>2]=e;if(!(!(k[b+48|0]&32)|!e)){g=n[l>>2];d=o[f>>3];c:{if(r(d)<2147483648){e=~~d;break c}e=-2147483648}m=b;p=o[f+8>>3];d:{if(r(p)<2147483648){i=~~p;break d}i=-2147483648}Cf(m,5,i,e);h=d;d=+g;h=h*d;d=p*d}m=j[c+12>>2];if(r(h)<2147483648){e=~~h}else{e=-2147483648}if(r(d)<2147483648){i=~~d}else{i=-2147483648}J(m|0,i|0,e|0)|0;if(!(j[c+20>>2]|n[l>>2]==q(1))){Q(j[c+12>>2],+j[b+24>>2],+j[b+28>>2])|0}e:{if(!(k[b+48|0]&2)){break e}f:{if(j[a+992>>2]){break f}if((IH()|0)>=0){break f}a=-1;break a}a=kH(a);j[c>>2]=a;if(a){break e}a=ve(157654,0);break a}j[c+4>>2]=b;j[b+144>>2]=c;pk(b);js(b);TG(c);a=0}oe=f+16|0;return a|0}function gG(a,b,c,d,e,f,g,j,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;if(b){v=a-1|0;a=p(m,12);w=a+163170|0;x=a+163168|0;y=a+163178|0;z=a+163176|0;A=a+163174|0;B=a+163172|0;while(1){a=p(l,s)+j|0;m=p(g,s);n=m+e|0;o=d+m|0;m=p(f,s)+c|0;a:{if(!v){t=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];t=0;while(1){q=k[n|0];u=k[o|0]-128|0;E=p(u,F);r=p(k[m|0]-D|0,C)- -8192|0;h[a+2|0]=k[(E+r>>6)+163216|0];q=q-128|0;u=p(q,G)+p(u,H)|0;h[a+1|0]=k[(u+r>>6)+163216|0];q=p(q,I);h[a|0]=k[(q+r>>6)+163216|0];r=p(k[m+2|0]-D|0,C)- -8192|0;h[a+5|0]=k[(r+E>>6)+163216|0];h[a+4|0]=k[(r+u>>6)+163216|0];h[a+3|0]=k[(q+r>>6)+163216|0];n=n+4|0;o=o+4|0;m=m+4|0;a=a+6|0;t=t+2|0;if(v>>>0>t>>>0){continue}break}}s=s+1|0;if((t|0)==(v|0)){n=k[n|0];m=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;h[a+2|0]=k[(m+p(o,i[y>>1])>>6)+163216|0];n=n-128|0;h[a|0]=k[(m+p(n,i[B>>1])>>6)+163216|0];h[a+1|0]=k[((m+p(o,i[A>>1])|0)+p(n,i[z>>1])>>6)+163216|0]}if((b|0)!=(s|0)){continue}break}}}function dG(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;if(b){v=a-1|0;a=p(m,12);w=a+163170|0;x=a+163168|0;y=a+163178|0;z=a+163176|0;A=a+163174|0;B=a+163172|0;while(1){a=p(l,r)+h|0;m=p(g,r);o=m+e|0;t=d+m|0;m=p(f,r)+c|0;a:{if(!v){s=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];s=0;while(1){n=k[o|0]-128|0;E=p(n,I);q=p(k[m|0]-D|0,C)- -8192|0;u=p(n,G);n=k[t|0]-128|0;u=u+p(n,H)|0;n=p(n,F);j[a>>2]=k[(E+q>>6)+163216|0]<<16|k[(q+u>>6)+163216|0]<<8|k[(n+q>>6)+163216|0]|-16777216;q=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(q+E>>6)+163216|0]<<16|k[(q+u>>6)+163216|0]<<8|k[(n+q>>6)+163216|0]|-16777216;o=o+4|0;t=t+4|0;m=m+4|0;a=a+8|0;s=s+2|0;if(v>>>0>s>>>0){continue}break}}r=r+1|0;if((s|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[t|0]-128|0;j[n>>2]=k[(a+p(o,i[B>>1])>>6)+163216|0]<<16|k[((a+p(m,i[A>>1])|0)+p(o,i[z>>1])>>6)+163216|0]<<8|k[(a+p(m,i[y>>1])>>6)+163216|0]|-16777216}if((b|0)!=(r|0)){continue}break}}}function Kv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=j[j[j[a+4>>2]+96>>2]+28>>2];e=j[a+160>>2];_N(e);j[e+24>>2]=0;j[e+28>>2]=0;j[e+152>>2]=0;j[e+32>>2]=0;j[e+36>>2]=0;j[e+40>>2]=0;j[e+44>>2]=0;j[e+48>>2]=0;j[e+52>>2]=0;j[e+56>>2]=0;j[e+60>>2]=0;Ee(e+72|0,0,72);c=qe[j[f+72>>2]](j[a+160>>2],j[b+44>>2],c,d|8)|0;if(!c){b=j[a+160>>2];d=j[b+28>>2];j[a+24>>2]=j[b+24>>2];j[a+28>>2]=d;d=j[b+36>>2];j[a+32>>2]=j[b+32>>2];j[a+36>>2]=d;d=j[b+44>>2];j[a+40>>2]=j[b+40>>2];j[a+44>>2]=d;d=j[b+52>>2];j[a+48>>2]=j[b+48>>2];j[a+52>>2]=d;j[a+56>>2]=j[b+56>>2];j[a+60>>2]=j[b+60>>2];j[a+72>>2]=j[b+72>>2];j[a+124>>2]=j[b+124>>2];d=j[b+120>>2];j[a+116>>2]=j[b+116>>2];j[a+120>>2]=d;d=j[b+112>>2];j[a+108>>2]=j[b+108>>2];j[a+112>>2]=d;d=j[b+96>>2];j[a+92>>2]=j[b+92>>2];j[a+96>>2]=d;d=j[b+88>>2];j[a+84>>2]=j[b+84>>2];j[a+88>>2]=d;d=j[b+80>>2];j[a+76>>2]=j[b+76>>2];j[a+80>>2]=d;j[a+100>>2]=j[b+100>>2];j[a+104>>2]=j[b+104>>2];j[a+128>>2]=j[b+128>>2];j[a+132>>2]=j[b+132>>2];j[a+136>>2]=j[b+136>>2];j[a+140>>2]=j[b+140>>2]}return c|0}function RK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;c=j[a+36>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}d=j[a+48>>2];g=j[a+16>>2];e=j[a+24>>2];h=e&7;i=(e+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];l=c<<2;b:while(1){e=i;c:{d:{switch(h-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=1;continue;case 1:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=2;continue;case 2:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=3;continue;case 3:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=4;continue;case 4:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=5;continue;case 5:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=6;continue;case 6:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=7;continue;default:break e}}c=f-1|0;j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+g|0;a=a+l|0;f=c;if(c){continue b}break a}c=0;continue}}}}function El(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=oe-32|0;oe=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;i=c;a:{if((f|0)==(e|0)&c>>>0>c>>>0|e>>>0>f>>>0){f=c<<4|b>>>28;c=d<<4|c>>>28;b=b&268435455;h=b;if((b|0)==134217728&a>>>0>=1|b>>>0>134217728){e=c+1073741824|0;a=f+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}e=c+1073741824|0;if(a|h^134217728){break a}a=f+(f&1)|0;e=a>>>0>>0?e+1|0:e;f=a;break a}if(!(!i&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){f=c;c=d<<4|c>>>28;f=f<<4|b>>>28;e=c&524287|2146959360;break a}f=0;e=2146435072;if(h>>>0>1140785151){break a}e=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;Of(g+16|0,a,b,c,e,h-15233|0);ni(g,a,b,c,e,15361-h|0);e=j[g+4>>2];h=e;a=j[g+8>>2];c=j[g+12>>2]<<4|a>>>28;f=a<<4|e>>>28;e=c;a=h&268435455;c=a;b=j[g>>2]|((j[g+16>>2]|j[g+24>>2])!=0|(j[g+20>>2]|j[g+28>>2])!=0);if((a|0)==134217728&b>>>0>=1|a>>>0>134217728){a=f+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}if(b|c^134217728){break a}a=f+(f&1)|0;e=a>>>0>>0?e+1|0:e;f=a}oe=g+32|0;pP(0,f|0);pP(1,d&-2147483648|e);return+qP()}function cG(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;if(b){v=a-1|0;a=p(m,12);w=a+163170|0;x=a+163168|0;y=a+163178|0;z=a+163176|0;A=a+163174|0;B=a+163172|0;while(1){a=p(l,q)+h|0;m=p(g,q);u=m+e|0;o=d+m|0;m=p(f,q)+c|0;a:{if(!v){r=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];r=0;while(1){s=k[o|0]-128|0;E=p(s,F);n=p(k[m|0]-D|0,C)- -8192|0;t=k[u|0]-128|0;s=p(t,G)+p(s,H)|0;t=p(t,I);j[a>>2]=k[(E+n>>6)+163216|0]<<16|k[(s+n>>6)+163216|0]<<8|k[(t+n>>6)+163216|0]|-16777216;n=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(n+E>>6)+163216|0]<<16|k[(n+s>>6)+163216|0]<<8|k[(n+t>>6)+163216|0]|-16777216;u=u+4|0;o=o+4|0;m=m+4|0;a=a+8|0;r=r+2|0;if(v>>>0>r>>>0){continue}break}}q=q+1|0;if((r|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[u|0]-128|0;j[n>>2]=k[(a+p(o,i[y>>1])>>6)+163216|0]<<16|k[((a+p(o,i[A>>1])|0)+p(m,i[z>>1])>>6)+163216|0]<<8|k[(a+p(m,i[B>>1])>>6)+163216|0]|-16777216}if((b|0)!=(q|0)){continue}break}}}function Wx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;d=j[a+744>>2];a:{if((d|0)<10){break a}g=j[a+748>>2];if(!g){break a}e=j[a+740>>2];i=e+d|0;d=e+4|0;f=e+10|0;l=b<<16|c;o=j[a+752>>2];h=1;while(1){b=(k[d+3|0]|k[d+2|0]<<8)+d|0;c=b>>>0>i>>>0?i:b;b:{if(!(h&o)){break b}e=d+14|0;if(k[d+4|0]|c>>>0>>0){break b}q=k[d+5|0];b=c-e|0;f=k[d+7|0]|k[f|0]<<8;b=(b|0)<(p(f,6)|0)?(b|0)/6|0:f;c:{if(j[a+756>>2]&h){if(!b){break b}r=d+18|0;e=0;while(1){m=b+e>>>1|0;f=p(m,6)+r|0;d=f-4|0;d=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=(l|0)){d=d>>>0>>0;e=d?m+1|0:e;b=d?b:m;if(e>>>0>>0){continue}break b}break}b=f+1|0;break c}if(!b){break b}while(1){d=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))!=(l|0)){e=e+6|0;b=b-1|0;if(b){continue}break b}break}f=e+4|0;b=e+5|0}n=((k[b|0]|k[f|0]<<8)<<16>>16)+(q&8?0:n)|0}f=c+6|0;if(i>>>0>>0){break a}h=h<<1;d=c;g=g-1|0;if(g){continue}break}}return n|0}function CM(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;var i=q(0),k=q(0),l=q(0),m=q(0),o=q(0),p=q(0),r=q(0),s=q(0),t=0,u=0,v=0;f=+q((360-f)*3.141592653589793/180);t=Og(f);f=mg(f);k=n[e+4>>2];i=n[g+4>>2];p=n[e>>2];o=n[g>>2];a=Ah(a,128,b+4|0);if(!a){return-1}g=j[d+8>>2];u=j[d+12>>2];r=n[e+8>>2];l=n[e>>2];s=n[e+12>>2];m=n[e+4>>2];e=j[d+4>>2];v=j[c+16>>2];d=j[d>>2];c=j[c+12>>2];j[b+8>>2]=1;k=q(i+k);n[a+124>>2]=k;i=q(o+p);n[a+120>>2]=i;n[a+116>>2]=k;n[a+112>>2]=i;n[a+108>>2]=k;n[a+104>>2]=i;n[a+100>>2]=k;n[a+96>>2]=i;k=q(q(f)+q(-1));n[a+92>>2]=k;i=q(t);n[a+88>>2]=i;n[a+84>>2]=k;n[a+80>>2]=i;n[a+76>>2]=k;n[a+72>>2]=i;n[a+68>>2]=k;n[a+64>>2]=i;k=q(c|0);i=q(q(d|0)/k);n[a+48>>2]=i;p=q(v|0);o=q(q(e|0)/p);n[a+44>>2]=o;n[a+36>>2]=o;n[a+32>>2]=i;i=q(m+s);b=h&2;o=b?m:i;n[a+28>>2]=o;r=q(l+r);c=h&1;s=c?l:r;n[a+24>>2]=s;n[a+20>>2]=o;l=c?r:l;n[a+16>>2]=l;m=b?i:m;n[a+12>>2]=m;n[a+8>>2]=s;n[a+4>>2]=m;n[a>>2]=l;l=q(q(e+u|0)/p);n[a+60>>2]=l;m=q(q(d+g|0)/k);n[a+56>>2]=m;n[a+52>>2]=l;n[a+40>>2]=m;return 0}function an(a,b){var c=0,d=0,e=0,f=0;c=j[a+4>>2];e=c+b|0;a:{b:{c:{switch(k[a+10|0]-2|0){case 0:d:{e:{switch(k[a+9|0]-8|0){case 0:d=b+1|0;f=8;c=b+2|0;if(e>>>0<=c>>>0){break d}while(1){h[d|0]=k[c|0];d=d+1|0;c=c+2|0;if(e>>>0>c>>>0){continue}break}break d;case 8:break e;default:break a}}d=b+2|0;f=16;c=b+4|0;if(e>>>0<=c>>>0){break d}while(1){h[d|0]=k[c|0];h[d+1|0]=k[c+1|0];d=d+2|0;c=c+4|0;if(e>>>0>c>>>0){continue}break}}h[a+10|0]=1;h[a+11|0]=f;if(k[a+8|0]!=4){break b}h[a+8|0]=0;break b;case 2:break c;default:break a}}f:{g:{switch(k[a+9|0]-8|0){case 0:d=b+3|0;f=24;if((c|0)<=4){break f}c=b+4|0;while(1){h[d|0]=k[c|0];h[d+1|0]=k[c+1|0];h[d+2|0]=k[c+2|0];d=d+3|0;c=c+4|0;if(e>>>0>c>>>0){continue}break}break f;case 8:break g;default:break a}}d=b+6|0;f=48;if((c|0)<=8){break f}c=b+8|0;while(1){h[d|0]=k[c|0];h[d+1|0]=k[c+1|0];h[d+2|0]=k[c+2|0];h[d+3|0]=k[c+3|0];h[d+4|0]=k[c+4|0];h[d+5|0]=k[c+5|0];d=d+6|0;c=c+8|0;if(e>>>0>c>>>0){continue}break}}h[a+10|0]=3;h[a+11|0]=f;if(k[a+8|0]!=6){break b}h[a+8|0]=2}j[a+4>>2]=d-b}}function fG(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;if(b){v=a-1|0;a=p(m,12);w=a+163170|0;x=a+163168|0;y=a+163178|0;z=a+163176|0;A=a+163174|0;B=a+163172|0;while(1){a=p(l,r)+h|0;m=p(g,r);o=m+e|0;t=d+m|0;m=p(f,r)+c|0;a:{if(!v){s=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];s=0;while(1){n=k[o|0]-128|0;E=p(n,I);q=p(k[m|0]-D|0,C)- -8192|0;u=p(n,G);n=k[t|0]-128|0;u=u+p(n,H)|0;n=p(n,F);j[a>>2]=k[(E+q>>6)+163216|0]<<24|k[(q+u>>6)+163216|0]<<16|k[(n+q>>6)+163216|0]<<8|255;q=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(q+E>>6)+163216|0]<<24|k[(q+u>>6)+163216|0]<<16|k[(n+q>>6)+163216|0]<<8|255;o=o+4|0;t=t+4|0;m=m+4|0;a=a+8|0;s=s+2|0;if(v>>>0>s>>>0){continue}break}}r=r+1|0;if((s|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[t|0]-128|0;j[n>>2]=k[(a+p(o,i[B>>1])>>6)+163216|0]<<24|k[((a+p(m,i[A>>1])|0)+p(o,i[z>>1])>>6)+163216|0]<<16|k[(a+p(m,i[y>>1])>>6)+163216|0]<<8|255}if((b|0)!=(r|0)){continue}break}}}function eG(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;if(b){v=a-1|0;a=p(m,12);w=a+163170|0;x=a+163168|0;y=a+163178|0;z=a+163176|0;A=a+163174|0;B=a+163172|0;while(1){a=p(l,q)+h|0;m=p(g,q);u=m+e|0;o=d+m|0;m=p(f,q)+c|0;a:{if(!v){r=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];r=0;while(1){s=k[o|0]-128|0;E=p(s,F);n=p(k[m|0]-D|0,C)- -8192|0;t=k[u|0]-128|0;s=p(t,G)+p(s,H)|0;t=p(t,I);j[a>>2]=k[(E+n>>6)+163216|0]<<24|k[(s+n>>6)+163216|0]<<16|k[(t+n>>6)+163216|0]<<8|255;n=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(n+E>>6)+163216|0]<<24|k[(n+s>>6)+163216|0]<<16|k[(n+t>>6)+163216|0]<<8|255;u=u+4|0;o=o+4|0;m=m+4|0;a=a+8|0;r=r+2|0;if(v>>>0>r>>>0){continue}break}}q=q+1|0;if((r|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[u|0]-128|0;j[n>>2]=k[(a+p(o,i[y>>1])>>6)+163216|0]<<24|k[((a+p(o,i[A>>1])|0)+p(m,i[z>>1])>>6)+163216|0]<<16|k[(a+p(m,i[B>>1])>>6)+163216|0]<<8|255}if((b|0)!=(q|0)){continue}break}}}function bv(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{if(!(k[a+701|0]|!(k[a+898|0]&2))){b=j[a+864>>2];if((b|0)<0){break a}c=j[a+888>>2];d=j[a+876>>2];g=c+(d+b|0)|0;if((g|0)<1){break a}h=(d|0)<0;f=0;c:{if(!b){break c}e=v(+(b|0)*32768/+(g|0)+.5);if(e<=2147483647^1|e>=-2147483648^1){break a}f=~~e;if(r(e)<2147483648){break c}f=-2147483648}if(h|f>>>0>32768){break a}h=(c|0)<0;b=0;d:{if(!d){break d}e=v(+(d|0)*32768/+(g|0)+.5);if(e<=2147483647^1|e>=-2147483648^1){break a}b=~~e;if(r(e)<2147483648){break d}b=-2147483648}if(h|b>>>0>32768){break a}e:{if(!c){d=0;break e}e=v(+(c|0)*32768/+(g|0)+.5);if(e<=2147483647^1|e>=-2147483648^1){break a}if(r(e)<2147483648){d=~~e}else{d=-2147483648}if(d>>>0>32768){break a}}c=(b+f|0)+d|0;if((c|0)>32769){break a}g=(c|0)<32768;c=(c|0)==32769;f:{if((g|0)==(c|0)){break f}c=c?-1:g;if(!((b|0)<(f|0)|(b|0)<(d|0))){b=b+c|0;break f}if(!((b|0)>(f|0)|(d|0)>(f|0))){f=c+f|0;break f}d=c+d|0}if(((b+f|0)+d|0)!=32768){break b}i[a+704>>1]=b;i[a+702>>1]=f}return}Ye(a,97812);z()}Ye(a,97854);z()}function NB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){c=j[a+100>>2];d=j[a+316>>2];if(d){g=c;b=j[a+300>>2];if((b|0)>=1){while(1){e=(f<<3)+d|0;d=j[e+4>>2];if(d){b=c;d=j[d>>2];if(d){qe[j[b+8>>2]](b,d)}j[j[e+4>>2]>>2]=0;b=j[e+4>>2];if(b){qe[j[c+8>>2]](c,b)}j[e+4>>2]=0;b=j[a+300>>2]}f=f+1|0;if((f|0)<(b|0)){d=j[a+316>>2];continue}break}d=j[a+316>>2]}if(d){qe[j[g+8>>2]](g,d)}j[a+316>>2]=0}b=j[a+164>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+164>>2]=0;b=j[a+168>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+168>>2]=0;b=j[a+172>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+172>>2]=0;b=j[a+176>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+176>>2]=0;b=j[a+180>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+180>>2]=0;b=j[a+304>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+300>>2]=0;j[a+304>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0;b=j[a+152>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+152>>2]=0;b=j[a+156>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;j[a+24>>2]=0;j[a+156>>2]=0;b=j[a+324>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+324>>2]=0;b=j[a+328>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+328>>2]=0}}function sB(a,b){var c=0,d=0,e=0,f=0,g=0,i=0;d=oe-16|0;oe=d;e=40;a:{if(!a|!b){break a}g=j[b+28>>2];e=Fe(b,0);if(e){break a}e=uf(b,d+14|0,2);if(e){break a}e=3;if(k[d+14|0]!=31|k[d+15|0]!=157){break a}j[d+8>>2]=0;c=a;j[c+24>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+28>>2]=g;c=He(g,4292,d+8|0);e=j[d+8>>2];if(!e){j[c>>2]=b;j[c+4>>2]=a;f=j[a+28>>2];i=c+4280|0;j[c+4288>>2]=i;j[c+8>>2]=f;j[c+4284>>2]=i;j[c+4280>>2]=0;b:{f=Fe(b,0);c:{if(f){break c}f=uf(b,d+14|0,2);if(f){break c}f=3;if(k[d+14|0]!=31){break c}if(k[d+15|0]==157){break b}}j[d+8>>2]=f;if(c){qe[j[g+8>>2]](g,c)}e=j[d+8>>2];break a}Ee(c+20|0,0,156);j[c+176>>2]=b;b=j[b+28>>2];j[c+100>>2]=c+112;j[c+96>>2]=0;j[c+88>>2]=0;j[c+92>>2]=0;j[c+180>>2]=b;j[c+104>>2]=0;j[c+108>>2]=64;j[c+48>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;h[c+44|0]=0;j[c+64>>2]=9;j[c+12>>2]=0;j[c+16>>2]=0;j[a+12>>2]=c}j[a+8>>2]=0;j[a>>2]=0;j[a+4>>2]=2147483647;j[a+24>>2]=139;j[a+20>>2]=140}oe=d+16|0;return e}function kp(a,b){var c=0,d=0;b=Ee(b,0,196);d=k[a+176|0];h[b+8|0]=d;if(d){while(1){i[(b+(c<<1)|0)+12>>1]=j[((c<<2)+a|0)+180>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+177|0];h[b+9|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+40>>1]=j[((c<<2)+a|0)+236>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+178|0];h[b+10|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+60>>1]=j[((c<<2)+a|0)+276>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+179|0];h[b+11|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+88>>1]=j[((c<<2)+a|0)+332>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}j[b+108>>2]=j[a+372>>2];j[b+112>>2]=j[a+376>>2];j[b+116>>2]=j[a+380>>2];i[b+120>>1]=j[a+384>>2];i[b+122>>1]=j[a+388>>2];d=k[a+392|0];h[b+124|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+128>>1]=j[((c<<2)+a|0)+396>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+393|0];h[b+125|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+154>>1]=j[((c<<2)+a|0)+448>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}h[b+126|0]=k[a+500|0];j[b+184>>2]=j[a+512>>2];j[b+4>>2]=j[a+508>>2]}function iF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=q(0);k=j[j[j[j[a+64>>2]+4>>2]+28>>2]+(j[a+28>>2]<<2)>>2]/2|0;a:{if(c){r=j[b+1296>>2];s=j[r+832>>2];a=p(s,j[c>>2]);a=(a|0)<255?a:255;h=(a|0)>0?a:0;t=j[b+1284>>2];if((t|0)>=2){w=b+260|0;a=0;l=1;while(1){i=j[(l<<2)+w>>2]<<2;b=j[i+c>>2];if(b>>>0<=32767){b=p(b,s);b=(b|0)<255?b:255;b=(b|0)>0?b:0;f=b-h|0;g=j[(i+r|0)+836>>2];i=g-a|0;u=(f|0)/(i|0)|0;o=(g|0)<(k|0)?g:k;if((o|0)>(a|0)){e=(a<<2)+d|0;n[e>>2]=n[(h<<2)+164320>>2]*n[e>>2]}a=a+1|0;if((o|0)>(a|0)){e=f>>31;m=e+f^e;e=p(i,u);e=m+((e|0)<0?e:0-e|0)|0;x=(f|0)>-1?1:-1;f=0;while(1){m=(a<<2)+d|0;f=f+e|0;v=(f|0)<(i|0);h=(h+u|0)+(v?0:x)|0;n[m>>2]=n[(h<<2)+164320>>2]*n[m>>2];f=f-(v?0:i)|0;a=a+1|0;if((o|0)!=(a|0)){continue}break}}h=b;a=g}l=l+1|0;if((t|0)!=(l|0)){continue}break}}a=1;if((g|0)>=(k|0)){break a}y=n[(h<<2)+164320>>2];while(1){a=(g<<2)+d|0;n[a>>2]=y*n[a>>2];a=1;g=g+1|0;if((k|0)!=(g|0)){continue}break}break a}a=0;Ee(d,0,k<<2)}return a|0}function TK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0;a:{e=j[a+28>>2];if(!e){break a}d=j[a+48>>2];g=j[a+36>>2];h=j[a+16>>2];c=j[a+24>>2];m=c&7;n=(c+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];b:while(1){f=n;c:{d:{switch(m-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=1;continue;case 1:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=2;continue;case 2:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=3;continue;case 3:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=4;continue;case 4:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=5;continue;case 5:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=6;continue;case 6:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=7;continue;default:break e}}c=e-1|0;i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;f:{if((f|0)>1){f=f-1|0;break f}a=a+g|0;b=b+h|0;e=c;if(c){continue b}break a}c=0;continue}}}}function _C(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;g=oe-16|0;oe=g;j[g+12>>2]=b;a:{if(!j[65534]){ve(1877,0);b=-1;break a}if(!b){ve(2032,0);b=-1;break a}e=k[j[a>>2]+8|0]&64?j[a+32>>2]!=0:e;o=j[a+28>>2];b=Le(b);j[g+8>>2]=b;b:{if(!b){break b}p=e^1;e=0;while(1){c:{b=qp(g+12|0,g+8|0)&65535;if(!((b|0)==65279|(b|0)==65534)){if(Mp(a,b,16)){break c}b=j[a+52>>2];d:{if(!i|p){break d}f=j[b+4>>2];if(!f){break d}qr(j[a>>2],i,f,g);e=(j[g>>2]>>6)+e|0}i=j[b+56>>2]+e|0;f=(i|0)<(l|0);l=f?i:l;e=!(h[a+24|0]&1)|h[a+20|0]&1?e:j[a+36>>2]+e|0;i=j[b+76>>2];f=j[b+60>>2];f=e+((f|0)<(i|0)?i:f)|0;m=(f|0)>(m|0)?f:m;e=e+i|0;i=j[b+4>>2];f=j[b+64>>2];n=(f|0)<(n|0)?f:n}if(j[g+8>>2]){continue}break b}break}ve(2012,0);b=-1;break a}e=(o|0)>0?o<<1:0;if(c){j[c>>2]=(e+m|0)-l}b=0;if(!d){break a}c=e+(j[a+8>>2]-n|0)|0;j[d>>2]=c;e=j[a+4>>2];c=(c|0)<(e|0)?e:c;j[d>>2]=c;if(!(k[a+24|0]&4)){break a}e=j[a+48>>2]+(j[a+8>>2]+(j[a+44>>2]^-1)|0)|0;a=j[a+28>>2];a=e+((a|0)>0?a<<1:0)|0;if((a|0)<=(c|0)){break a}j[d>>2]=a}oe=g+16|0;return b}function pz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=oe-80|0;oe=f;e=6;a:{if(j[b+72>>2]!=j[a+16>>2]){break a}e=19;if((c|0)!=2){break a}c=b+108|0;if(d){Tf(c,j[d>>2],j[d+4>>2])}Rg(c,f+56|0);e=6;g=j[f+68>>2];n=g+32&-64;k=j[f+60>>2];o=k+32&-64;d=n-o|0;p=g+63&-64;q=k&-64;g=(d?d:p-q|0)>>6;i=j[f+64>>2];l=j[f+56>>2];r=l+32&-64;k=(i+32&-64)-r|0;l=l&-64;i=(k?k:(i+63&-64)-l|0)>>6;if((g|i)>>>0>65535){break a}e=j[a+8>>2];if(h[j[b+156>>2]+4|0]&1){m=j[b+88>>2];if(m){qe[j[e+8>>2]](e,m)}j[b+88>>2]=0;m=j[b+156>>2];j[m+4>>2]=j[m+4>>2]&-2}j[b+76>>2]=g;j[b+80>>2]=i;h[b+94|0]=1;i=i+15>>>3&536870910;j[b+84>>2]=i;s=b,t=xe(e,g,0,i,0,f+76|0),j[s+88>>2]=t;e=j[f+76>>2];if(e){break a}e=j[b+156>>2];j[e+4>>2]=j[e+4>>2]|1;g=k?r:l;e=d?o:q;Tf(c,0-g|0,0-e|0);j[f+16>>2]=0;j[f+12>>2]=c;j[f+8>>2]=b+76;s=f,t=qe[j[a+56>>2]](j[a+52>>2],f+8|0)|0,j[s+76>>2]=t;Tf(c,g,e);e=j[f+76>>2];if(e){break a}j[b+72>>2]=1651078259;j[b+104>>2]=(d?n:p)>>6;j[b+100>>2]=g>>6;e=0}oe=f+80|0;return e|0}function Pi(a,b,c,d){var e=0,f=0,g=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;f=p(d,1468)+a|0;g=j[f+44>>2];l=b?j[(p(b,12)+c|0)-12>>2]:0;e=j[j[a+2988>>2]+40>>2];b=(e|0)/256|0;o=(p(e,6e3)|0)/2048|0;a:{if((g|0)<1){break a}c=j[f+52>>2];k=c+p(g,48)|0;q=e+255>>>0<511?1:b;m=j[(p(d,1468)+a|0)+68>>2];b=c;while(1){if((m|0)==h[b+1|0]){n=i[b+2>>1];a=c;while(1){e=i[a+2>>1];b:{if((m|0)!=(0-h[a+1|0]|0)|(e|0)<=(n|0)){break b}f=i[a+6>>1];d=i[b+6>>1];r=(d|0)>(f|0)?f:d;f=i[a+4>>1];d=i[b+4>>1];f=r-((d|0)<(f|0)?f:d)|0;if((f|0)<(q|0)){break b}d=e-n|0;e=d;c:{if(!l){break c}d=(d<<10)/(l|0)|0;e=32e3;if((d|0)>11024){break c}e=0;if((d|0)<1025){break c}d=d-1024|0;e=(p(d,d)>>>0)/3e3|0}d=e+((o|0)/(f|0)|0)|0;if((d|0)>2]){j[b+20>>2]=a;j[b+32>>2]=d}if((d|0)>=j[a+32>>2]){break b}j[a+20>>2]=b;j[a+32>>2]=d}a=a+48|0;if(k>>>0>a>>>0){continue}break}}b=b+48|0;if(k>>>0>b>>>0){continue}break}if((g|0)<=0){break a}while(1){a=j[c+20>>2];if(!(!a|j[a+20>>2]==(c|0))){j[c+20>>2]=0;j[c+24>>2]=j[a+20>>2]}c=c+48|0;if(k>>>0>c>>>0){continue}break}}}function Aq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=q(0),p=0,s=0,t=0,u=q(0);i=(b|0)/4|0;m=Se(i<<2);f=Se(b+i<<2);j[a+12>>2]=m;j[a+8>>2]=f;j[a>>2]=b;d=a;o=q(b|0);g=jP(RD(+o)/.6931471805599453);a:{if(r(g)<2147483648){e=~~g;break a}e=-2147483648}j[d+4>>2]=e;b:{if((b|0)<4){break b}d=b>>1;g=+(b|0);l=3.141592653589793/g;s=3.141592653589793/+(b<<1);while(1){k=l*+(c<<2);t=f+(c<<3)|0,u=q(mg(k)),n[t>>2]=u;h=c<<1;p=h|1;t=f+(p<<2)|0,u=q(-q(Og(k))),n[t>>2]=u;h=f+(d+h<<2)|0;k=s*+(p|0);t=h,u=q(Og(k)),n[t+4>>2]=u;t=h,u=q(mg(k)),n[t>>2]=u;c=c+1|0;if((i|0)!=(c|0)){continue}break}if((b|0)<8){break b}i=(b|0)/8|0;g=3.141592653589793/g;c=0;while(1){d=f+((c<<1)+b<<2)|0;l=g*+(c<<2|2);t=d,u=q(Og(l)*-.5),n[t+4>>2]=u;t=d,u=q(mg(l)*.5),n[t>>2]=u;c=c+1|0;if((i|0)!=(c|0)){continue}break}if((b|0)<8){break b}b=1<>c;if(e){continue}break}e=d<<3;j[e+m>>2]=-2-(f|h);j[(e|4)+m>>2]=f;d=d+1|0;if((i|0)!=(d|0)){continue}break}}n[a+16>>2]=q(4)/o}function rt(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-16|0;oe=c;a:{if(!a){b=0;ve(114633,0);break a}f=qe[j[a+4>>2]](a,0,0,1)|0;g=pe;b:{c:{d:{if(b){break d}if((qe[j[a+8>>2]](a,c+4|0,1,12)|0)!=12){break c}qe[j[a+4>>2]](a,-12,-1,1)|0;e:{if(xf(c+4|0,114821,4)){break e}if(xf(c+12|0,114826,4)){break e}b=2;break d}if(!xf(c+4|0,114831,4)){b=2;break d}if(!xf(c+4|0,114466,4)){b=5;break d}if(!xf(c+4|0,114471,4)){b=8;break d}b=4;if(!xf(c+4|0,114476,4)){break d}b=6;if(!xf(c+4|0,114481,3)|((k[c+5|0]&254)==250?k[c+4|0]==255:0)){break d}b=3}j[65586]=0;f:{if(!j[57797]|j[57795]!=(b|0)){break f}d=j[57800];if(!d){break f}e=231172;d=qe[d|0](a,1)|0;if(d){break b}qe[j[a+4>>2]](a,f,g,0)|0}g:{if(!j[57817]|j[57815]!=(b|0)){break g}b=j[57820];if(!b){break g}e=231252;d=qe[b|0](a,1)|0;if(d){break b}qe[j[a+4>>2]](a,f,g,0)|0}if(!k[Fg()|0]){ve(114655,0)}qe[j[a+16>>2]](a)|0;b=0;break a}b=0;ve(114778,0);qe[j[a+16>>2]](a)|0;break a}b=Xe(1,24);if(!b){qe[j[e+68>>2]](d);b=0;ve(114485,0);break a}j[b+4>>2]=d;j[b>>2]=e}oe=c+16|0;return b}function Wl(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,s=0,t=q(0);if((b|0)>=1){t=n[e+1108>>2];while(1){e=p(f,56)+a|0;o=j[e+28>>2];s=j[e+52>>2];k=+q(q(t*q(o+s|0))/q(o+1|0))+1;h=h+(k*+(o|0)+ +(s|0));l=l+(k*+j[e+24>>2]+ +j[e+48>>2]);i=i+(k*+j[e+16>>2]+ +j[e+40>>2]);m=m+(k*+j[e+12>>2]+ +j[e+36>>2]);g=g+(k*+j[e+8>>2]+ +j[e+32>>2]);f=f+1|0;if((f|0)!=(b|0)){continue}break}}e=j[a>>2];f=j[c>>2];if((f|0)>=0){h=h+1;m=m+ +(f|0);l=l+ +(p(e,f)|0);i=i+ +(p(e,e)|0);g=g+ +(e|0)}f=j[(p(b,56)+a|0)-52>>2];a=j[d>>2];if((a|0)>=0){h=h+1;m=m+ +(a|0);l=l+ +(p(a,f)|0);i=i+ +(p(f,f)|0);g=g+ +(f|0)}b=1;k=h*i-g*g;a:{b:{if(!(k>0^1)){a=c;i=(i*m-l*g)/k;g=(h*l-m*g)/k;h=jP(i+g*+(e|0));c:{if(r(h)<2147483648){b=~~h;break c}b=-2147483648}j[a>>2]=b;a=d;g=jP(i+g*+(f|0));d:{if(r(g)<2147483648){e=~~g;break d}e=-2147483648}j[a>>2]=e;f=j[c>>2];if((f|0)>=1024){f=1023;j[c>>2]=1023;e=j[d>>2]}if((e|0)>=1024){j[d>>2]=1023;f=j[c>>2];e=1023}b=0;if((f|0)<=-1){j[c>>2]=0;e=j[d>>2]}if((e|0)<0){break b}break a}j[c>>2]=0}j[d>>2]=0}return b}function eF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0,u=0;f=1;d=bf(1,44);h=j[j[a+4>>2]+28>>2];j[d>>2]=b;g=j[b+12>>2];j[d+4>>2]=g;a=j[h+2848>>2];j[d+12>>2]=a;a=a+p(j[b+20>>2],56)|0;j[d+16>>2]=a;i=j[a>>2];l=bf(g,4);j[d+20>>2]=l;if((g|0)>=1){m=b+280|0;n=b+24|0;a=0;while(1){b=k<<2;o=b+n|0;c=j[o>>2];c=c?32-s(c)|0:0;a:{if(!c){break a}q=b+l|0;t=q,u=bf(c,4),j[t>>2]=u;e=(c|0)>(e|0)?c:e;if((c|0)<1){break a}o=j[o>>2];b=0;while(1){if(o>>>b&1){j[j[q>>2]+(b<<2)>>2]=j[h+2848>>2]+p(j[m+(a<<2)>>2],56);a=a+1|0}b=b+1|0;if((c|0)!=(b|0)){continue}break}}k=k+1|0;if((k|0)!=(g|0)){continue}break}}j[d+24>>2]=1;if((i|0)>=1){while(1){f=p(f,g);r=r+1|0;if((r|0)!=(i|0)){continue}break}j[d+24>>2]=f}j[d+8>>2]=e;h=Se(f<<2);j[d+28>>2]=h;if((f|0)>=1){k=i<<2;e=0;l=(i|0)<1;while(1){m=Se(k);j[h+(e<<2)>>2]=m;b=f;a=e;c=0;if(!l){while(1){b=(b|0)/(g|0)|0;n=(a|0)/(b|0)|0;j[m+(c<<2)>>2]=n;a=a-p(b,n)|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}}e=e+1|0;if((f|0)!=(e|0)){continue}break}}return d|0}function qB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,k=0;a:{b:{c:{a=j[a+12>>2];f=j[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=j[a+4284>>2];if(f>>>0<=(e-a|0)-184>>>0){j[a+4280>>2]=b;j[a+4284>>2]=e-f;break c}f=0;if(Fe(j[a>>2],0)){break a}j[a+12>>2]=0;j[a+16>>2]=0;j[a+104>>2]=0;j[a+48>>2]=0;j[a+36>>2]=0;j[a+40>>2]=0;h[a+44|0]=0;j[a- -64>>2]=9;e=a+4280|0;j[a+4288>>2]=e;j[a+4284>>2]=e;j[e>>2]=0}if(b>>>0<=f>>>0){break c}g=j[a+4284>>2];i=j[a+4288>>2]-g|0;e=b-f|0;b=e>>>0>i>>>0?i:e;j[a+4284>>2]=b+g;j[a+4280>>2]=b+f;b=e-b|0;if(b){g=a+12|0;while(1){f=0;e=b>>>0<4096?b:4096;if(So(g,0,e)>>>0>>0){break a}j[a+4280>>2]=e+j[a+4280>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=a+184|0;k=a+12|0;e=j[a+4284>>2];b=j[a+4288>>2];f=0;while(1){b=b-e|0;b=b>>>0>>0?b:d;Ae(c+f|0,e,b);j[a+4284>>2]=b+j[a+4284>>2];j[a+4280>>2]=b+j[a+4280>>2];f=b+f|0;d=d-b|0;if(!d){break a}j[a+4284>>2]=g;i=So(k,g,4096);e=j[a+4284>>2];b=i+e|0;j[a+4288>>2]=b;if(i){continue}break}}return f|0}function pl(a,b,c,d,e,f,g){var h=0,i=0,l=0,m=0,n=0;i=k[j[a>>2]+192|0];j[g>>2]=0;j[f>>2]=0;if(k[a+11666|0]){h=e-c|0;e=i?0-h|0:h;l=j[a+4>>2];h=p(h>>16,b>>16);b=d-b|0;j[l+16>>2]=j[l+16>>2]+(h-p(b>>16,c>>16)|0);a:{b:{b=i?0-b|0:b;if((b|0)>=0){if((e|0)>=0){if((b|0)>e<<1){break b}c=j[a+11688>>2];if((e|0)>b<<1){j[f>>2]=c;a=j[a+11692>>2];break a}m=f,n=ye(45875,c),j[m>>2]=n;a=ye(19661,j[a+11692>>2]);break a}if((b|0)>(0-(e<<1)|0)){break b}c=j[a+11688>>2];if((0-e|0)>b<<1){j[f>>2]=0-c;a=j[a+11692>>2];break a}m=f,n=ye(-45874,c),j[m>>2]=n;a=ye(19661,j[a+11692>>2]);break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){j[f>>2]=0;a=j[a+11692>>2]<<1;break a}c=j[a+11688>>2];if((e|0)>(0-(b<<1)|0)){j[f>>2]=c;a=j[a+11692>>2];break a}m=f,n=ye(45875,c),j[m>>2]=n;a=ye(111411,j[a+11692>>2]);break a}if((c|0)>(0-(e<<1)|0)){j[f>>2]=0;a=j[a+11692>>2]<<1;break a}c=j[a+11688>>2];if((0-(b<<1)|0)<(0-e|0)){j[f>>2]=0-c;a=j[a+11692>>2];break a}m=f,n=ye(-45874,c),j[m>>2]=n;a=ye(111411,j[a+11692>>2]);break a}j[f>>2]=0;a=0}j[g>>2]=a}}function by(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;f=oe-16|0;oe=f;e=qe[j[a+508>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=j[f+12>>2];if(c>>>0<4){break a}e=Zf(b,c,a+740|0);if(e){break a}c=j[f+12>>2];j[a+744>>2]=c;e=0;d=j[a+740>>2];b=k[d+2|0]<<8|k[d+3|0];l=b>>>0<32?b:32;b:{if(!l){break b}h=c+d|0;m=d+4|0;while(1){b=m;if(b+6>>>0>h>>>0){break b}c=k[b+3|0]|k[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;m=c>>>0>h>>>0?h:c;c=b+14|0;c:{if((k[b+5|0]&247|k[b+4|0]<<8)!=1|c>>>0>h>>>0){break c}n=1<>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0>>0){continue}break c}break}q=q|n}g=g+1|0;if((l|0)!=(g|0)){continue}break}g=l}j[a+756>>2]=q;j[a+752>>2]=o;j[a+748>>2]=g}oe=f+16|0;return e|0}function ds(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;e=oe-16|0;oe=e;a:{if(!a){c=35;break a}c=j[a+96>>2];if(!c){c=6;break a}l=j[c+8>>2];d=He(l,j[j[c+12>>2]+44>>2],e+8|0);b:{c:{c=j[e+8>>2];if(!c){j[d+4>>2]=a;i=j[a+96>>2];c=j[i+12>>2];m=j[i+8>>2];j[e+12>>2]=0;j[d>>2]=j[i+4>>2];f=He(m,40,e+12|0);g=j[e+12>>2];if(g){break c}j[d+156>>2]=f;if(!(k[j[i>>2]+1|0]&2)){g=Ns(m,f);j[e+12>>2]=g;if(g){break c}}c=j[c+64>>2];if(c){c=qe[c|0](d)|0;j[e+8>>2]=c;if(c){break b}}j[d+8>>2]=j[a+84>>2];j[a+84>>2]=d;c=0;if(!b){break a}j[b>>2]=d;break a}if(!b){break a}j[b>>2]=0;break a}j[e+8>>2]=g}f=j[j[d+4>>2]+96>>2];c=j[f+8>>2];a=j[j[f+12>>2]+68>>2];if(a){qe[a|0](d)}a=j[d+156>>2];d:{if(!a){j[d+88>>2]=0;break d}e:{if(h[a+4|0]&1){b=j[j[d+4>>2]+100>>2];a=j[d+88>>2];if(a){qe[j[b+8>>2]](b,a)}j[d+88>>2]=0;a=j[d+156>>2];j[a+4>>2]=j[a+4>>2]&-2;break e}j[d+88>>2]=0}if(!(k[j[f>>2]+1|0]&2)){Sm(j[a>>2]);a=j[d+156>>2];j[a>>2]=0}if(a){qe[j[c+8>>2]](c,a)}j[d+156>>2]=0}if(d){qe[j[l+8>>2]](l,d)}c=j[e+8>>2]}oe=e+16|0;return c}function ku(a,b,c){var d=0,e=0,f=0,g=0;f=oe-32|0;oe=f;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ie(a,c);Je(a,100560);break a}e:{d=j[a+208>>2];if(d&1){if(d&4){j[a+208>>2]=d|8}e=j[a+788>>2];f:{if(e){if(m[a+792>>2]>=c>>>0){break f}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,e)}e=$f(a,c);if(!e){break e}j[a+792>>2]=c;j[a+788>>2]=e}pf(a,e,c);tf(a,e,c);d=0;if(Ie(a,0)){break a}g=100220;g:{if(!c){break g}h:{while(1){if(!k[d+e|0]){break h}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}if(d-1>>>0>78){break g}g=100187;if(d+3>>>0>c>>>0){break g}g=100626;if(k[(d+e|0)+1|0]){break g}j[f+28>>2]=-1;e=c;c=d+2|0;if((kn(a,e,c,f+28|0)|0)==1){e=j[f+28>>2];g=e+c|0;c=j[a+788>>2];h[g+c|0]=0;j[f+24>>2]=0;j[f+16>>2]=0;j[f+20>>2]=0;j[f+12>>2]=e;j[f+8>>2]=(c+d|0)+2;j[f+4>>2]=c;j[f>>2]=0;g=100651;if(Fk(a,b,f)){break g}break a}g=j[a+248>>2];if(!g){break a}}Je(a,g);break a}hf(a,100003);z()}Ie(a,c);Je(a,100173)}oe=f+32|0}function Ws(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0,l=0;f=oe-16|0;oe=f;b=Wh(j[a+772>>2],b,c);a:{if(b){break a}if(!j[a+8>>2]){j[d>>2]=1;b=0;break a}j[f+12>>2]=j[a+768>>2];b=-1;e=a+16|0;c=FE(e,j[a+776>>2],j[a+780>>2],f+12|0);if((c|0)<=-1){Ki(115260,c);break a}b:{b=j[f+12>>2];if((b|0)==j[a+768>>2]){break b}j[a+768>>2]=b;if((Xm(a)|0)>=0){break b}b=-1;break a}if(j[e+88>>2]>=2){g=j[e+84>>2];d=j[e+80>>2]}else{g=-1;d=-131}c:{d:{e:{if(j[a+784>>2]!=1){break e}h=j[a+800>>2];i=j[a+804>>2];b=i;if((b|0)>(g|0)?1:(g|0)<=(b|0)?d>>>0>>0:0){break e}k=j[a+816>>2];l=j[a+820>>2];b=-1;e=mq(e,j[a+792>>2],j[a+796>>2]);if((e|0)<=-1){Ki(115268,e);break a}c=(gP(k,l,h-d|0,i-(g+(d>>>0>h>>>0)|0)|0)<<1)+c|0;if((c|0)<1){break c}break d}if((c|0)>0){break d}c=j[a+8>>2];if((c|0)==1){j[a+8>>2]=0;ps(j[a+772>>2]);break c}b=-1;j[a+8>>2]=(c|0)>0?c-1|0:-1;a=Ql(e,0);if((a|0)>-1){break c}Ki(115461,a);break a}if((Gi(j[a+772>>2],j[a+776>>2],c)|0)>=0){break c}b=-1;break a}b=0}oe=f+16|0;return b|0}function rr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=j[a+28>>2];if(h){k=b^-1;m=j[a+24>>2];n=m-1|0;g=b<<16|b;o=g^-1;d=j[a>>2];c=j[a+20>>2];r=j[a+36>>2]>>1<<1;p=j[a+16>>2]>>1;s=p-1<<1;while(1){h=h-1|0;a:{if((c^d)&2){if(c&2){e=l[d>>1];a=l[c>>1];i[c>>1]=(e&(a&k))+((b&e)+(a&b)>>>1|0);d=d+2|0;c=c+2|0;a=n}else{a=m}e=a;a=d+2|0;d=j[d-2>>2];if((e|0)>=2){while(1){f=d>>>16|0;d=j[a>>2];f=f|d<<16;q=j[c>>2];j[c>>2]=(((f&g)>>>1)+((q&g)>>>1)|0)+(f&(o&q));a=a+4|0;c=c+4|0;f=(e|0)>3;e=e-2|0;if(f){continue}break}}if(e){e=d>>>16|0;d=l[c>>1];i[c>>1]=((e&b)+(d&b)>>>1|0)+(d&(e&k));c=c+2|0;a=a+2|0}d=a+s|0;break a}if(d&2){e=l[d>>1];a=l[c>>1];i[c>>1]=(e&(a&k))+((b&e)+(a&b)>>>1|0);c=c+2|0;d=d+2|0;a=n}else{a=m}if((a|0)>=2){while(1){e=j[c>>2];f=j[d>>2];j[c>>2]=(((e&g)>>>1)+((f&g)>>>1)|0)+(e&(f&o));c=c+4|0;d=d+4|0;e=(a|0)>3;a=a-2|0;if(e){continue}break}}if(a){e=l[d>>1];a=l[c>>1];i[c>>1]=(e&(a&k))+((b&e)+(a&b)>>>1|0);c=c+2|0;d=d+2|0}d=d+(p<<1)|0}c=c+r|0;if(h){continue}break}}}function rm(a,b,c,d,e,f,g){var h=0,i=0,k=0,m=0,n=0;h=oe-32|0;oe=h;a:{if(j[a+4>>2]==(c|0)){break a}i=j[a+44>>2];if(!i){break a}lf(i);j[a+44>>2]=0}b:{c:{d:{if(j[b>>2]|j[b+4>>2]){break d}i=j[a+8>>2];k=j[b+8>>2];if((i|0)>(k|0)){break d}m=j[a+12>>2];n=j[b+12>>2];if((d|0)!=(k|0)|(m|0)>(n|0)){break d}k=1;if((e|0)==(n|0)){break c}}e:{f:{i=j[a+44>>2];if(i){j[i+20>>2]=f;j[i+12>>2]=e;j[i+8>>2]=d;j[i+16>>2]=g;break f}zi(c,h,h+28|0,h+24|0,h+20|0,h+16|0);d=ak(f,d,e,j[h>>2],g,j[h+28>>2],j[h+24>>2],j[h+20>>2],j[h+16>>2]);j[a+44>>2]=d;if(d){break f}d=0;break e}i=j[a+40>>2];if(!i){zi(c,h,h+28|0,h+24|0,h+20|0,h+16|0);i=Ag(0,j[a+8>>2],j[a+12>>2],j[h>>2],j[h+28>>2],j[h+24>>2],j[h+20>>2],j[h+16>>2]);j[a+40>>2]=i;d=0;if(!i){break e}}g=j[i+16>>2];f=j[i+20>>2];d=1}if(!d){break b}m=j[a+12>>2];i=j[a+8>>2];k=0}if(k|(th(i,m,j[a>>2],j[a+28>>2],l[a+20>>1],c,f,g)|0)<0){break b}c=j[b+12>>2];j[h+8>>2]=j[b+8>>2];j[h+12>>2]=c;c=j[b+4>>2];j[h>>2]=j[b>>2];j[h+4>>2]=c;_q(j[a+40>>2],h,j[a+44>>2],0)}oe=h+32|0}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;a:{a=j[b+1300>>2];b:{c:{if((a|0)<0){break c}c=j[67093];if(!c){break c}while(1){if((a|0)==j[c>>2]){break b}c=j[c+1320>>2];if(c){continue}break}}a=qe[j[57972]](1328)|0;if(a){j[57976]=j[57976]+1}if(!a){break b}Oe(a,0,1328);j[a>>2]=j[b+1300>>2];c=_f(b+1304|0);j[a+4>>2]=c;if(!c){break a}c=_f(b+1368|0);j[a+8>>2]=c;if(!c){b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}break a}e=j[b+8>>2];j[a+24>>2]=e;f=j[b+12>>2];j[a+20>>2]=f;c=0;g=j[67091];j[67091]=g+1;j[a+12>>2]=g;o[a+32>>3]=o[b>>3];if((e|0)>=1){h=a+40|0;while(1){d=c<<3;o[d+h>>3]=o[(b+d|0)+16>>3];c=c+1|0;if((e|0)!=(c|0)){continue}break}}if((f|0)>=1){e=a+1064|0;h=a+552|0;c=0;while(1){d=c<<3;o[d+h>>3]=o[(b+d|0)+528>>3];d=c<<2;j[d+e>>2]=j[(b+d|0)+1040>>2];c=c+1|0;if((f|0)>(c|0)){continue}break}}b=j[67092];d:{if(!b){j[67092]=a;b=268372;break d}j[b+1320>>2]=a;b=268368}j[b>>2]=a;j[67090]=j[67090]+1;nN(g)}return 1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return 1}function gn(a,b,c){var d=0,e=0,f=0,g=0;f=oe-1024|0;oe=f;j[a+240>>2]=0;j[a+236>>2]=b;e=b?c:0;g=a+224|0;a:{b:{c:{while(1){if(!j[a+228>>2]){c=j[a+408>>2];d:{while(1){if(c){break d}Ie(a,0);c=Ek(a);j[a+408>>2]=c;if(j[a+376>>2]==1229209940){continue}break}Ye(a,101228);z()}d=j[a+796>>2];c=c>>>0>>0?c:d;d=j[a+788>>2];e:{if(d){if(c>>>0<=m[a+792>>2]){break e}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,d)}d=$f(a,c);if(!d){break c}j[a+792>>2]=c;j[a+788>>2]=d}pf(a,d,c);tf(a,d,c);j[a+228>>2]=c;j[a+224>>2]=d;j[a+408>>2]=j[a+408>>2]-c}f:{if(b){j[a+240>>2]=e;e=0;c=ai(g,0);d=j[a+240>>2];break f}j[a+240>>2]=1024;j[a+236>>2]=f;c=ai(g,0);d=1024-j[a+240>>2]|0}j[a+240>>2]=0;e=d+e|0;g:{if(c){if((c|0)==1){j[a+236>>2]=0;j[a+208>>2]=j[a+208>>2]|8;j[a+212>>2]=j[a+212>>2]|8;if(!(j[a+408>>2]?0:!j[a+228>>2])){Je(a,101250)}if(!e){break g}if(b){break a}Je(a,101272);break g}jh(a,c);c=j[a+248>>2];if(b){break b}Je(a,c);break g}if(e){continue}}break}oe=f+1024|0;return}hf(a,101404);z()}hf(a,c);z()}Ye(a,101228);z()}function ll(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;f=oe-16|0;oe=f;j[f+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}if((b|0)==(c|0)){d=0;break a}g=j[c+8>>2];i=(g|0)>-1?1:-1;d=0;e=j[b+8>>2];k=(e|0)<0?-1:1;if(!j[b+12>>2]){a=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=a;a=j[b+20>>2];j[c+16>>2]=j[b+16>>2];j[c+20>>2]=a;a=j[b+12>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=a;if((i|0)==(k|0)){break a}j[c+8>>2]=0-j[c+8>>2];break a}d=e>>31;e=d+e^d;h=p(e,j[b>>2]);d=j[a>>2];m=c;a=j[c+12>>2];b:{c:{if(a){l=g>>31;g=p(j[c>>2],l^g+l);if((g|0)==(h|0)){break b}a=op(d,g,h,a,f+12|0);break c}a=Ti(d,h,f+12|0)}j[m+12>>2]=a}d:{if(j[f+12>>2]){break d}d=j[b+12>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=d;d=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=d;d=j[b+20>>2];j[c+16>>2]=j[b+16>>2];j[c+20>>2]=d;j[c+12>>2]=a;if((i|0)==(k|0)){Ae(a,j[b+12>>2],h);break d}c=j[c>>2];if(!c){break d}d=0-e|0;a=p(e,c-1|0)+a|0;b=j[b+12>>2];while(1){a=Ae(a,b,e)+d|0;b=b+e|0;c=c-1|0;if(c){continue}break}}d=j[f+12>>2]}oe=f+16|0;return d}function Aj(a,b,c,d,e){var f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0;f=j[a+40>>2];a:{l=j[a+52>>2];r=b<<3;n=j[(l+r|0)+4>>2];b:{if((n|0)>(e|0)){break b}g=j[l+4>>2];if((g|0)<(d|0)){break b}i=g;o=j[a+4>>2];g=0-o|0;q=i&g;i=(q|0)>(e|0);c:{if((d|0)>(n|0)){g=d;break c}g=g&(n+o|0)-1;if(n&o-1&65535){d=g;break c}if(k[a+87|0]){h[a+87|0]=0;f=f-4|0}j[f>>2]=j[(b<<3)+l>>2];d=g+o|0;f=f+4|0}if(k[a+86|0]){j[j[a+88>>2]+20>>2]=g>>j[a>>2];h[a+86|0]=0}g=i?e:q;if((g|0)<(d|0)){break b}if(m[a+36>>2]<=((g-d>>j[a>>2]<<2)+f|0)+4>>>0){break a}n=0-b|0;o=b<<3;e=l;while(1){h[a+87|0]=0;b=j[e+4>>2];d:{if((b|0)>(d|0)){i=b;b=e+o|0;q=j[b+4>>2];i=i-q|0;if((i|0)>=j[a+16>>2]){qe[c|0](e);break d}b=j[b>>2];j[f>>2]=((p(j[e>>2]-b|0,d-q|0)|0)/(i|0)|0)+b;f=f+4|0;d=j[a+4>>2]+d|0;b=(n<<3)+e|0;break d}if((b|0)==(d|0)){h[a+87|0]=1;j[f>>2]=j[e>>2];f=f+4|0;d=j[a+4>>2]+d|0}b=(n<<3)+e|0}e=b;if(e>>>0>=l>>>0?(d|0)<=(g|0):0){continue}break}l=j[a+52>>2]}j[a+40>>2]=f;j[a+52>>2]=l-r;return 0}j[a+44>>2]=98;j[a+40>>2]=f;return 1}function tj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;h=j[a+2984>>2];if(h&4){e=j[a+2988>>2];a=c>>31;d=a+c^a;a:{b:{c:{if((b|0)==1){if(!(h&2)){break c}break b}if(h&1){break b}}d:{a=e+p(b,1572)|0;if(!j[a+52>>2]){break d}e=j[a+60>>2];a=d-e|0;b=a>>31;if((b^a+b)>39){break d}d=(e|0)>48?e:48;break a}if((d|0)<=53){d=((54-d|0)/2|0)+d|0;break a}if((d|0)>191){break a}b=d&63;if(b>>>0<10){break a}a=d&2147483584;if(b>>>0<=21){d=a|10;break a}d=b-42>>>0<12?a|54:d;break a}k=e+p(b,1572)|0;l=j[k+52>>2];e:{f:{if(l){a=98;e=d;while(1){m=j[(p(i,12)+k|0)+60>>2];f=d-m|0;g=f>>31;f=g^f+g;g=(f|0)<(a|0);a=g?f:a;e=g?m:e;i=i+1|0;if((l|0)!=(i|0)){continue}break}a=e+32&-64;f=a;if((d|0)>=(e|0)){break f}a=(a-48|0)<(d|0)?e:d;break e}e=d;f=d+32&2147483584}a=(f|48)>(d|0)?e:d}if((b|0)==1){d=64;if((a|0)<64){break a}d=a+16&-64;break a}if(h&8){d=64;if((a|0)<64){break a}d=a+32&-64;break a}if((a|0)<=47){d=a- -64>>1;break a}if((a|0)<=127){d=a+22&-64;break a}d=a+32&-64}c=(c|0)<0?0-d|0:d}return c}function Pf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,n=0,o=0,p=0,q=0;if((d|0)>0?1:(d|0)>=0?c>>>0>=1:0){d=d+j[a+12>>2]|0;h=c+j[a+8>>2]|0;d=h>>>0>>0?d+1|0:d;c=h}i=a+24|0;a:{while(1){h=f;k=e;while(1){b:{if((d|0)<0?1:(d|0)<=0?c>>>0<1:0){break b}e=j[a+12>>2];if((d|0)>(e|0)?1:(d|0)>=(e|0)?c>>>0>m[a+8>>2]:0){break b}pe=-1;return-1}e=jE(i,b);if((e|0)<=-1){g=j[a+8>>2];f=e;e=j[a+12>>2]-((e>>31)+(g>>>0>>0)|0)|0;j[a+8>>2]=g-f;j[a+12>>2]=e;continue}break}if(!e){if(!(c|d)){pe=-1;return-1}j[67100]=0;f=-128;e=-1;if(!j[a+704>>2]){break a}if(!j[a>>2]){pe=-1;return-2}g=(n=kE(i),o=1,p=2048,q=j[a>>2],l=j[a+704>>2],qe[l](n|0,o|0,p|0,q|0)|0);c:{if((g|0)>=1){e=j[i+4>>2];if((e|0)<0){break c}f=e;e=g+j[i+8>>2]|0;if((f|0)<(e|0)){break c}j[i+8>>2]=e;break c}if(g){break c}if(j[67100]){break a}}f=h;h=(g|0)<0;e=h;f=g?e?-128:f:-2;e=g?e?-1:k:-1;if((h|0)==(!g|0)){continue}break a}break}b=a;f=j[a+8>>2];c=e;d=f+e|0;e=j[a+12>>2];j[b+8>>2]=d;j[b+12>>2]=c>>>0>d>>>0?e+1|0:e}pe=e;return f}function nO(){var a=0,b=0,c=0,d=0;c=oe-16|0;oe=c;a=bg(118779);j[57840]=0;a:{if(!a){break a}if(!sf(a)){break a}j[c>>2]=j[57842];Vg(118806,c)}a=j[57843];if(a){while(1){b=j[a+72>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}a=j[57845];if(a){while(1){b=j[a+72>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}a=j[57846];if(a){while(1){b=j[a+12>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}a=j[57847];if(a){while(1){b=j[a+12>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}j[57841]=0;j[57846]=0;j[57847]=0;j[57844]=0;j[57845]=0;j[57842]=0;j[57843]=0;a=0;while(1){b=(a<<2)+264416|0;d=j[b>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}j[b>>2]=0;a=a+1|0;if((a|0)!=256){continue}break}a=j[66360];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66361]=0;j[66360]=0}Oe(265448,0,12);if(j[57839]){a=j[57839];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}j[57839]=0}oe=c+16|0}function Bj(a,b,c,d,e,f){var g=0,i=0,l=0,m=0,n=0;i=oe-16|0;oe=i;l=j[a+12>>2];if(l){j[(j[a+20>>2]+(l<<4)|0)-4>>2]=e}a:{b:{c:{n=l+1|0;g=j[a+16>>2];if(n>>>0>g>>>0){j[i+4>>2]=0;m=l+8&-8;e=xe(f,16,g,m,j[a+20>>2],i+4|0);j[a+20>>2]=e;g=j[i+4>>2];if(g){break a}j[a+16>>2]=m;g=(l<<4)+e|0;j[g+12>>2]=0;j[g>>2]=0;j[a+12>>2]=n;break c}e=j[a+20>>2];m=e+(l<<4)|0;j[m+12>>2]=0;j[m>>2]=0;j[a+12>>2]=n;if(n){break c}if(!g){j[i+8>>2]=0;e=xe(f,16,0,8,e,i+8|0);j[a+20>>2]=e;g=j[i+8>>2];if(g){break a}j[a+16>>2]=8}j[e+12>>2]=0;j[e>>2]=0;j[a+12>>2]=1;break b}e=(l<<4)+e|0}a=j[e+4>>2];j[i+12>>2]=0;l=d+7>>>3|0;a=a+7>>>3|0;d:{if(l>>>0<=a>>>0){a=j[e+8>>2];break d}g=f;f=l+7&1073741816;a=xe(g,1,a,f,j[e+8>>2],i+12|0);j[e+8>>2]=a;g=j[i+12>>2];if(g){break a}j[e+4>>2]=f<<3}j[e>>2]=d;g=0;if(!d){break a}e=(c>>>3|0)+b|0;c=128>>>(c&7)|0;b=128;while(1){f=k[a|0];h[a|0]=k[e|0]&c?f|b:f&(b^-1);b=b>>1;a=b?a:a+1|0;c=c>>1;e=c?e:e+1|0;b=b?b:128;c=c?c:128;d=d-1|0;if(d){continue}break}}oe=i+16|0;return g}function rs(){var a=0,b=0,c=0,d=0,e=0,f=q(0),g=0,h=0,i=0,k=0,l=0,m=0,o=q(0);oj(264360);a:{if(!j[66091]){a=qe[j[57972]](10244)|0;if(a){j[57976]=j[57976]+1}j[66091]=a;if(!a){break a}a=qe[j[57972]](10244)|0;if(a){j[57976]=j[57976]+1}k=a;j[66092]=a;if(!a){a=j[66091];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66091]=0;break a}g=j[66091];j[g>>2]=1065353216;b=1;while(1){i=1;h=y(1-gj(+(b-2560|0)*.5/1280,2))*7.85726*.5;d=1;c=1;e=1;while(1){a=1;m=e;l=gj(h,+(c<<1))/gj(d,2);e=e+l;c=c+1|0;d=d*+(c|0);if(l<9.999999682655225e-22^1){continue}break}d=1;while(1){e=d;h=gj(3.92863,+(a<<1))/gj(i,2);d=e+h;a=a+1|0;i=i*+(a|0);if(h<9.999999682655225e-22^1){continue}break}n[(2561-b<<2)+g>>2]=m/e;b=b+1|0;if((b|0)!=2561){continue}break}a=1;while(1){f=q(q(q(a|0)*q(.001953125))*q(3.1415927410125732));o=VD(f);b=a<<2;c=b+g|0;f=q(n[c>>2]*q(o/f));n[c>>2]=f;b=b-4|0;n[b+k>>2]=f-n[b+g>>2];a=a+1|0;if((a|0)!=2561){continue}break}j[k+10240>>2]=0}j[66090]=0;return 0}j[66090]=0;return Be(0)}function qi(a){var b=0,c=0,d=0,e=0,f=0,g=0;rP(+a);b=oP(1)|0;oP(0)|0;f=b;b=b&2147483647;if(b>>>0<1141899264){a:{b:{if(b>>>0<=1071382527){if(b>>>0<1044381696){break a}b=-1;d=1;break b}a=r(a);c:{if(b>>>0<=1072889855){if(b>>>0<=1072037887){a=(a+a+ -1)/(a+2);b=0;d=0;break b}b=1;a=(a+ -1)/(a+1);break c}if(b>>>0<=1073971199){b=2;a=(a+ -1.5)/(a*1.5+1);break c}b=3;a=-1/a}d=0}g=a*a;c=g*g;e=c*(c*(c*(c*(c*-.036531572744216916+ -.058335701337905735)+ -.0769187620504483)+ -.11111110405462356)+ -.19999999999876483);c=g*(c*(c*(c*(c*(c*.016285820115365782+.049768779946159324)+.06661073137387531)+.09090887133436507)+.14285714272503466)+.3333333333333293);if(d){return a-a*(e+c)}b=b<<3;a=o[b+226704>>3]-(a*(e+c)-o[b+226736>>3]-a);a=(f|0)>-1?a:-a}return a}rP(1.5707963267948966);b=oP(1)|0;f=oP(0)|0;rP(+a);d=oP(1)|0;oP(0)|0;pP(0,f|0);pP(1,b&2147483647|d&-2147483648);e=+qP();rP(+a);b=oP(1)|0;d=oP(0)|0;b=b&2147483647;return(b|0)==2146435072&(d|0)!=0|b>>>0>2146435072?a:e}function _E(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;if((e|0)>=1){while(1){h=(j[(f<<2)+d>>2]!=0)+h|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}if(!h){return 0}i=j[b>>2];d=j[i>>2];l=j[i+4>>2];m=j[i+8>>2];r=j[i+12>>2];h=Ff(a,4);f=a;n=(l-d|0)/(m|0)|0;a=n<<2;d=Ff(f,a);j[h>>2]=d;Ee(d,0,a);if((n|0)>=1){l=r-1|0;o=j[i>>2]/(e|0)|0;v=j[h>>2];w=(m|0)<1;while(1){a=0;a:{if(w){k=0;d=0;break a}x=j[c>>2];d=0;k=0;p=0;while(1){s=o<<2;g=j[s+x>>2];f=g>>31;t=f^f+g;y=(t|0)>(k|0);f=1;if((e|0)>=2){while(1){u=j[j[(f<<2)+c>>2]+s>>2];g=u>>31;g=g^g+u;d=(d|0)<(g|0)?g:d;f=f+1|0;if((f|0)!=(e|0)){continue}break}}k=y?t:k;o=o+1|0;p=e+p|0;if((p|0)<(m|0)){continue}break}}b:{if((r|0)<=1){break b}while(1){f=(a<<2)+i|0;if(j[f+2584>>2]>=(d|0)?j[f+2328>>2]>=(k|0):0){break b}a=a+1|0;if((l|0)!=(a|0)){continue}break}a=l}j[(q<<2)+v>>2]=a;q=q+1|0;if((n|0)!=(q|0)){continue}break}}j[b+40>>2]=j[b+40>>2]+1}return h|0}function Sr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;f=oe-16|0;oe=f;p=j[a>>2];k=j[b+8>>2];g=rf(b,f+12|0);e=j[f+12>>2];a:{b:{c:{if(e){break c}e=2;if((g|0)!=1954115633){break c}l=qf(b,f+12|0);e=j[f+12>>2];if(e){break c}e=vf(b,6);j[f+12>>2]=e;if(e){break c}if(!l){e=142;break c}h=-1;d:{while(1){m=rf(b,f+12|0);e=j[f+12>>2];if(e){break c}e=vf(b,4);j[f+12>>2]=e;if(e){break c}i=rf(b,f+12|0);e=j[f+12>>2];if(e){break c}g=rf(b,f+12|0);e=j[f+12>>2];if(e){break c}e:{if((m|0)!=1415139377){if((m|0)!=1128875040){break e}g=g-22|0;i=i+22|0;n=1;if((c|0)<0){break d}h=h+1|0;break e}g=g-24|0;i=i+24|0;n=0;if((c|0)<0){break d}h=h+1|0}if((c|0)==(h|0)?(c|0)>=0:0){break d}o=o+1|0;if((o|0)!=(l|0)){continue}break}e=142;break c}e=0;j[f+8>>2]=0;if(Fe(b,i+k|0)){break a}h=He(p,g,f+8|0);e=j[f+8>>2];if(e){break b}e=uf(b,h,g);j[f+8>>2]=e;if(e){break b}e=pm(a,h,g,c>>31&c,n?6529:6533,d)}j[f+8>>2]=e}if((e&255)!=2){break a}a=Fe(b,k);e=a?a:j[f+8>>2]}oe=f+16|0;return e}function Hm(a,b){var c=0,d=0,e=0,f=0,g=0,m=0;d=oe+ -64|0;oe=d;a:{if(!b){break a}b:{c:{switch(a|0){case 0:c=k[b+265490|0];g=769;e=0;break b;case 1:break c;default:break a}}c=k[b+265490|0];m=(c|0)!=0;g=768;e=1}if((a|0)==(c|0)?!m:0){break a}h[b+265490|0]=a;c=64;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{f=j[(b<<2)+266004>>2];switch(f-1073742048|0){case 6:break i;case 2:break j;case 5:break k;case 1:break l;case 4:break m;case 0:break d;case 33:break f;case 7:break g;case 3:break h;default:break e}}c=128;break d}c=1;break d}c=2;break d}c=256;break d}c=512;break d}c=1024;break d}c=2048;break d}c=16384;break d}c=0}n:{if(e){o:{if((f|0)!=1073741881){if((f|0)!=1073741907){break o}e=l[132744]^4096;break n}e=l[132744]^8192;break n}e=l[132744]|c;break n}e=l[132744]&(c^-1)}i[132744]=e;if((We(g,-1)|0)!=1){break a}j[d+28>>2]=f;i[d+32>>1]=l[132744];j[d+24>>2]=b;h[d+21|0]=m;h[d+20|0]=a;j[d+8>>2]=g;a=d;b=j[66371];if(b){b=j[b+4>>2]}else{b=0}j[a+16>>2]=b;gf(d+8|0)}oe=d- -64|0}function UK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;a:{e=j[a+28>>2];if(!e){break a}d=j[a+48>>2];g=j[a+36>>2];i=j[a+16>>2];c=j[a+24>>2];l=c&7;m=(c+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];b:while(1){f=m;c:{d:{switch(l-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=1;continue;case 1:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=2;continue;case 2:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=3;continue;case 3:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=4;continue;case 4:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=5;continue;case 5:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=6;continue;case 6:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=7;continue;default:break e}}c=e-1|0;h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;f:{if((f|0)>1){f=f-1|0;break f}a=a+g|0;b=b+i|0;e=c;if(c){continue b}break a}c=0;continue}}}}function sz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,n=0,o=0,q=0,r=0,s=0;a:{g=j[a+4>>2];i=0-g|0;q=c-1|0;n=i&g+q;o=d&i;b:{if((n|0)<=(o|0)){e=j[a>>2];d=n;break b}if((g+o|0)!=(n|0)){break a}g=o;c:{d:{e:{r=l[e+12>>1];s=r&7;switch(s|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}g=j[a+8>>2]+((d+q|0)/2|0)&i;break c}if((!(r&16)|j[a+8>>2]>(d-c|0)?!(j[e+28>>2]!=(f|0)|j[e+16>>2]>0):0)|(!(r&32)|j[a+8>>2]>(d-c|0)?!(j[f+28>>2]!=(e|0)|j[e+20>>2]!=(b|0)):0)){break a}if((s|0)==1){break c}g=j[a+8>>2]+((d+q|0)/2|0)&i}e=j[a>>2];i=j[a+112>>2];d=n;d=(g|0)>=0?m[a+104>>2]>g>>>e>>>0?g:o:d;c=((n|0)==(d|0)?o:n)>>e;f=(j[a+60>>2]+(b>>3)|0)-p(i,c)|0;f=(i|0)>=1?p(i,j[a+104>>2]-1|0)+f|0:f;if((c|0)<0|c>>>0>=m[a+104>>2]){break b}if(k[f|0]&128>>>(b&7)){break a}}c=d>>e;if((c|0)<0){break a}d=j[a+104>>2];if(d>>>0<=c>>>0){break a}e=j[a+60>>2]+(b>>3)|0;a=j[a+112>>2];c=e-p(a,c)|0;a=(a|0)>0?c+p(a,d-1|0)|0:c;h[a|0]=k[a|0]|128>>>(b&7)}}function EI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];r=(j[a+4>>2]<<16)/(f|0)|0;s=(j[a+8>>2]<<16)/(b|0)|0;if(b){t=k[a+63|0];u=k[a+62|0];v=k[a+61|0];w=k[a+60|0];b=j[a+52>>2];x=b&2;y=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){i=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;i=((d>>>16|0)+i|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(i<<2)|0;c=(c-(d&-65536)|0)-65536|0}h=j[o>>2];l=h&255;m=h>>>8&255;d=h>>>16&255;z=b;if(y){m=(p(m,v)>>>0)/255|0;l=(p(l,w)>>>0)/255|0;q=(p(d,u)>>>0)/255|0}else{q=d}d=h>>>24|0;j[z>>2]=q|m<<8|l<<16|(x?(p(d,t)>>>0)/255|0:d)<<24;b=b+4|0;c=c+r|0;f=f-1|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+s|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function Eh(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0;i=oe-48|0;oe=i;l=a+11724|0;pl(a,j[a+11720>>2],j[l>>2],b,c,i+44|0,i+40|0);pl(a,d,e,f,g,i+36|0,i+32|0);m=j[a+4>>2];j[m+16>>2]=j[m+16>>2]+(p(e-c>>16,b>>16)-p(d-b>>16,c>>16)|0);m=j[i+44>>2];j[i+24>>2]=m+j[a+11720>>2];l=j[l>>2];n=c;c=j[i+40>>2];j[i+20>>2]=n+c;j[i+16>>2]=b+m;j[i+28>>2]=c+l;b=j[i+32>>2];c=j[i+36>>2];if(k[a+11667|0]){l=j[i+28>>2];j[i+8>>2]=j[i+24>>2];j[i+12>>2]=l;bp(a,i+8|0);h[a+11664|0]=1;h[a+11667|0]=0;l=j[i+20>>2];j[a+11712>>2]=j[i+16>>2];j[a+11716>>2]=l}if(k[a+11744|0]){l=j[i+20>>2];j[i>>2]=j[i+16>>2];j[i+4>>2]=l;Fh(a,a+8|0,i+24|0,i,0)}j[a+11748>>2]=4;h[a+11744|0]=1;l=j[i+28>>2];j[a+11752>>2]=j[i+24>>2];j[a+11756>>2]=l;l=j[i+20>>2];m=j[i+16>>2];j[a+11780>>2]=b+g;j[a+11776>>2]=c+f;j[a+11772>>2]=b+e;j[a+11768>>2]=c+d;j[a+11760>>2]=m;j[a+11764>>2]=l;b=j[a+11676>>2];if(k[b+5|0]){oh(a+8|0,j[a+11668>>2],j[a+11672>>2],b,j[a+11680>>2],0)}j[a+11724>>2]=g;j[a+11720>>2]=f;oe=i+48|0}function Tk(a,b,c,d,e){var f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=oe-16|0;oe=g;a:{if(h[a+368|0]&1){n=j[a+52>>2];o=j[a+48>>2];p=l[a+46>>1];m=l[a+44>>1];q=j[a+36>>2];r=j[a+40>>2];f=a- -64|0;s=j[f+4>>2];j[g+8>>2]=j[f>>2];j[g+12>>2]=s;f=j[a+60>>2];j[g>>2]=j[a+56>>2];j[g+4>>2]=f;f=a+286|0;break a}n=j[a+88>>2];o=j[a+84>>2];p=l[a+82>>1];m=l[a+80>>1];q=j[a+72>>2];r=j[a+76>>2];f=j[a+104>>2];j[g+8>>2]=j[a+100>>2];j[g+12>>2]=f;f=j[a+96>>2];j[g>>2]=j[a+92>>2];j[g+4>>2]=f;f=a+288|0}f=l[f>>1];b:{if(f>>>0>=m>>>0){if(k[a+561|0]){j[a+12>>2]=134}i[e>>1]=0;a=1;break b}j[d+16>>2]=n;j[d+12>>2]=o;i[d+10>>1]=p;i[d+8>>1]=m;j[d>>2]=q;j[d+4>>2]=r;m=j[g+4>>2];j[d+20>>2]=j[g>>2];j[d+24>>2]=m;m=j[g+12>>2];j[d+28>>2]=j[g+8>>2];j[d+32>>2]=m;i[e>>1]=f;e=b;b=f<<3;d=b+n|0;b=b+o|0;b=qe[j[a+572>>2]](a,j[d>>2]-j[b>>2]|0,j[d+4>>2]-j[b+4>>2]|0)|0;t=e,u=Ne(b,i[a+298>>1],j[a+564>>2]),j[t>>2]=u;t=c,u=Ne(b,i[a+300>>1],j[a+564>>2]),j[t>>2]=u;a=0}oe=g+16|0;return a}function YN(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=oe+ -64|0;oe=f;a:{if(!a){break a}d=j[67024];if((d|0)==(a|0)){break a}if(d){Cf(d,11,0,0)}j[67024]=a;j[67034]=0;Cf(a,10,0,0);a=j[67015];d=j[(j[67024]?268200:268196)>>2];if(!(j[67035]|(!d|!j[67051]))){if(!a){break a}qe[a|0](d)|0;break a}if(!a){break a}qe[a|0](0)|0}b:{if(c==q(0)?b==q(0):0){break b}d=0;b=q(n[67031]+b);n[67031]=b;c:{d:{if(!(b>q(0)^1)){e=v(+b);if(!(r(e)<2147483648)){break d}d=~~e;break c}if(bq(0)^1)){e=v(+b);if(!(r(e)<2147483648)){break f}g=~~e;break e}if(b>2]=1027;a=0;h=j[67024];if(h){a=j[h+4>>2]}j[f+32>>2]=0;j[f+28>>2]=g;j[f+24>>2]=d;j[f+20>>2]=0;j[f+16>>2]=a;gf(f+8|0)}oe=f- -64|0}function Cj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}c=j[a+100>>2];d=c;b=j[a+300>>2];if(b){qe[j[d+8>>2]](d,b)}j[a+300>>2]=0;b=j[a+292>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+292>>2]=0;d=j[a+284>>2];if(d){b=c;if(j[a+280>>2]>=1){while(1){b:{if(!d){break b}e=p(f,12)+d|0;d=j[e>>2];if(d){qe[j[c+8>>2]](c,d)}j[e>>2]=0;if(!k[e+4|0]){break b}d=j[e+8>>2];if(d){qe[j[c+8>>2]](c,d)}j[e+8>>2]=0}f=f+1|0;if((f|0)>2]){d=j[a+284>>2];continue}break}d=j[a+284>>2]}if(d){qe[j[b+8>>2]](b,d)}j[a+284>>2]=0}b=j[a+192>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+192>>2]=0;b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+32>>2]=0;b=j[a+176>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+176>>2]=0;b=j[a+180>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+180>>2]=0;c=j[a+104>>2];if((c|0)!=(a+132|0)){break a}c:{if(!c){break c}b=j[c+24>>2];if(!b){break c}qe[b|0](c)}j[a+104>>2]=j[a+172>>2]}}function kI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];r=(j[a+4>>2]<<16)/(f|0)|0;s=(j[a+8>>2]<<16)/(b|0)|0;if(b){t=k[a+63|0];u=k[a+62|0];v=k[a+61|0];w=k[a+60|0];b=j[a+52>>2];x=b&2;y=b&1;h=j[a+20>>2];b=h;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){i=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;i=((d>>>16|0)+i|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(i<<2)|0;c=(c-(d&-65536)|0)-65536|0}g=j[o>>2];l=g>>>24|0;m=g>>>8&255;d=g>>>16&255;f=f-1|0;q=g&255;g=b;if(y){l=(p(l,u)>>>0)/255|0;m=(p(m,w)>>>0)/255|0;d=(p(d,v)>>>0)/255|0}j[g>>2]=d<<8|l|m<<16|(x?(p(q,t)>>>0)/255|0:q)<<24;b=b+4|0;c=c+r|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;h=j[a+32>>2]+h|0;if(c){e=e+s|0;f=j[a+24>>2];c=b;b=h;continue}break}j[a+20>>2]=h}}function TI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];r=(j[a+4>>2]<<16)/(f|0)|0;s=(j[a+8>>2]<<16)/(b|0)|0;if(b){t=k[a+63|0];u=k[a+62|0];v=k[a+61|0];w=k[a+60|0];b=j[a+52>>2];x=b&2;y=b&1;h=j[a+20>>2];b=h;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){i=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;i=((d>>>16|0)+i|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(i<<2)|0;c=(c-(d&-65536)|0)-65536|0}g=j[o>>2];l=g>>>24|0;m=g>>>8&255;d=g>>>16&255;f=f-1|0;q=g&255;g=b;if(y){m=(p(m,u)>>>0)/255|0;l=(p(l,w)>>>0)/255|0;d=(p(d,v)>>>0)/255|0}j[g>>2]=d<<8|m|l<<16|(x?(p(q,t)>>>0)/255|0:q)<<24;b=b+4|0;c=c+r|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;h=j[a+32>>2]+h|0;if(c){e=e+s|0;f=j[a+24>>2];c=b;b=h;continue}break}j[a+20>>2]=h}}function su(a,b,c){var d=0,e=0,f=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{b:{if(!(e&4)){f=e&2;e=k[a+435|0];if(f|(e|0)!=3){break b}}Ie(a,c);Je(a,99982);break a}if(!(!b|!(k[b+8|0]&32))){Ie(a,c);Je(a,100016);break a}if((((e|0)==3?1:e&2?6:2)|0)!=(c|0)){Ie(a,c);Je(a,99995);break a}pf(a,d+10|0,c);tf(a,d+10|0,c);if(Ie(a,0)){break a}e=k[a+435|0];c:{if((e|0)==3){c=k[d+10|0];h[d|0]=c;d:{e:{if(!b){break e}e=l[b+20>>1];if(!e){break e}if(c>>>0>=e>>>0){Je(a,100395);break a}c=j[a+416>>2]+p(c,3)|0;i[d+2>>1]=k[c|0];i[d+4>>1]=k[c+1|0];i[d+6>>1]=k[c+2|0];break d}i[d+6>>1]=0;i[d+2>>1]=0;i[d+4>>1]=0}i[d+8>>1]=0;break c}h[d|0]=0;c=k[d+10|0]|k[d+11|0]<<8;c=(c<<24|c<<8&16711680)>>>16|0;if(!(e&2)){i[d+6>>1]=c;i[d+8>>1]=c;i[d+4>>1]=c;i[d+2>>1]=c;break c}i[d+2>>1]=c;i[d+8>>1]=0;c=k[d+12|0]|k[d+13|0]<<8;i[d+4>>1]=(c<<24|c<<8&16711680)>>>16;c=k[d+14|0]|k[d+15|0]<<8;i[d+6>>1]=(c<<24|c<<8&16711680)>>>16}Tu(a,b,d)}oe=d+16|0;return}hf(a,100003);z()}function lJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];q=(j[a+4>>2]<<16)/(f|0)|0;r=(j[a+8>>2]<<16)/(b|0)|0;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&2;x=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){l=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;l=((d>>>16|0)+l|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(l<<2)|0;c=(c-(d&-65536)|0)-65536|0}i=j[o>>2];h=i&255;m=i>>>8&255;d=i>>>16&255;if(x){h=(p(h,t)>>>0)/255|0;m=(p(m,u)>>>0)/255|0;d=(p(d,v)>>>0)/255|0}h=m<<8|h|d<<16;d=i>>>24|0;j[b>>2]=h|(w?(p(d,s)>>>0)/255|0:d)<<24;b=b+4|0;c=c+q|0;f=f-1|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+r|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function Wv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0;c=oe-336|0;oe=c;j[c+332>>2]=0;k=j[a+100>>2];qe[j[b+60>>2]](b,c+272|0,4,c+268|0);g=j[c+268>>2];a:{if((g|0)<0){d=162;break a}d=3;if(!g|(g|0)>4){break a}l=j[b+8>>2];m=j[b>>2];d=vj(a,0,g);j[c+332>>2]=d;if(d){break a}if(j[c+268>>2]>=1){n=j[a+528>>2];a=0;while(1){d=p(a,12);e=d+(c+272|0)|0;j[b>>2]=j[e>>2];j[b+8>>2]=j[e+4>>2];qe[j[b+60>>2]](b,c+16|0,20,c+12|0);g=j[c+12>>2];if(g-1>>>0>=20){d=3;break a}e=d+n|0;i=xe(k,4,0,g<<1,0,c+332|0);j[e+92>>2]=i;d=j[c+332>>2];if(d){break a}g=e;f=j[c+12>>2];h[e+88|0]=f;j[e+96>>2]=i+(f<<2);d=0;if((f|0)>=1){while(1){f=(c+16|0)+p(d,12)|0;j[b>>2]=j[f>>2]+1;j[b+8>>2]=j[f+4>>2]-1;f=qe[j[b+36>>2]](b)|0;i=d<<2;j[i+j[g+92>>2]>>2]=f;f=qe[j[b+40>>2]](b,0)|0;j[i+j[e+96>>2]>>2]=f;d=d+1|0;if((d|0)>2]){continue}break}}a=a+1|0;if((a|0)>2]){continue}break}e=j[c+332>>2]}j[b+8>>2]=l;j[b>>2]=m;d=e}j[b+12>>2]=d;oe=c+336|0}function LH(a,b){var c=0,d=0,e=0;c=oe+ -64|0;oe=c;a:{b:{if(b){j[c+56>>2]=j[b+16>>2];d=j[b+12>>2];j[c+48>>2]=j[b+8>>2];j[c+52>>2]=d;d=j[b+4>>2];b=j[b>>2];j[c+40>>2]=b;j[c+44>>2]=d;if(!b){j[c+40>>2]=j[a+36>>2]}if(!j[c+44>>2]){j[c+44>>2]=j[a+40>>2]}if(!j[c+48>>2]){j[c+48>>2]=j[a+44>>2]}if(!j[c+52>>2]){j[c+52>>2]=j[a+48>>2]}if(Tq(a,c+40|0,c+40|0)){break b}a=j[c+48>>2];j[c>>2]=j[c+44>>2];j[c+4>>2]=a;e=ve(151805,c);break a}j[c+56>>2]=j[a+32>>2];b=j[a+28>>2];j[c+48>>2]=j[a+24>>2];j[c+52>>2]=b;b=j[a+20>>2];j[c+40>>2]=j[a+16>>2];j[c+44>>2]=b}j[c+32>>2]=j[a+52>>2];b=j[a+48>>2];j[c+24>>2]=j[a+44>>2];j[c+28>>2]=b;b=j[a+40>>2];j[c+16>>2]=j[a+36>>2];j[c+20>>2]=b;if(xf(c+40|0,c+16|0,20)){d=j[67085];b=j[d+32>>2];if(!b){e=ve(151842,0);break a}e=-1;if((qe[b|0](d,a,c+40|0)|0)<0){break a}b=j[c+44>>2];a=a+36|0;j[a>>2]=j[c+40>>2];j[a+4>>2]=b;j[a+16>>2]=j[c+56>>2];b=j[c+52>>2];j[a+8>>2]=j[c+48>>2];j[a+12>>2]=b}e=0}b=e;oe=c- -64|0;return b}function fz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0;if(m[b+160>>2]>>0){Pe(b,8)}c=k[a+3|0]|k[a+2|0]<<8;i=c+a|0;if(!(m[b+160>>2]>=i>>>0?c>>>0>=518:0)){Pe(b,8)}c=a+6|0;while(1){d=k[c+1|0];f=d|k[c|0]<<8;if(!(!(d&7)|m[b+164>>2]<2)){Pe(b,8)}c=c+2|0;d=f>>>3|0;g=d>>>0>g>>>0?d:g;e=e+1|0;if((e|0)!=256){continue}break}c=a+518|0;l=(c+(g<<3)|0)+8|0;if(l>>>0>m[b+160>>2]){Pe(b,8)}a=0;while(1){d=c+8|0;f=k[c+3|0]|k[c+2|0]<<8;a:{if(!f){c=d;break a}e=k[c+7|0]|k[c+6|0]<<8;n=k[c+4|0];o=k[c+5|0];h=k[c|0];p=k[c+1|0];b:{if(m[b+164>>2]<2){break b}h=h<<8|p;if(f+h>>>0<257?h>>>0<=255:0){break b}Pe(b,8)}if(!e){c=d;break a}e=e+(c+6|0)|0;if(!(e+(f<<1)>>>0<=i>>>0?e>>>0>=l>>>0:0)){Pe(b,9)}if(!j[b+164>>2]){c=d;break a}e=n<<8|o;f=((f<<1)+c|0)+8|0;c=d;while(1){d=c;c=c+2|0;d=k[d+1|0]|k[d|0]<<8;if(!(!d|m[b+172>>2]>(d+e&65535)>>>0)){Pe(b,16)}if(c>>>0>>0){continue}break}}a=a+1|0;if(g>>>0>=a>>>0){continue}break}return 0}function Qx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=oe-16|0;oe=f;d=6;a:{if(m[a+736>>2]<=b>>>0){break a}d=2;b:{c:{switch(j[a+732>>2]-1|0){case 0:case 1:a=j[a+724>>2]+p(b,48)|0;i[c>>1]=k[a+52|0];i[c+2>>1]=k[a+53|0];b=h[a+24|0]<<6;j[c+12>>2]=b;d=h[a+25|0]<<6;j[c+16>>2]=d;j[c+20>>2]=b-d;j[c+24>>2]=h[a+31|0]+(k[a+26|0]+h[a+30|0]|0)<<6;break b;case 2:break c;default:break a}}b=j[a+724>>2]+(b<<2)|0;e=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);b=j[a+104>>2];d=qe[j[a+508>>2]](a,1935829368,b,f+12|0)|0;if(d){break a}d=3;e=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(m[f+12>>2]>>0){break a}d=Fe(b,e+j[b+8>>2]|0);if(d){break a}d=_e(b,4);if(d){break a}d=af(b);af(b);Ve(b);b=l[a+178>>1];i[c+2>>1]=d;i[c>>1]=d;d=d<<6;e=i[a+220>>1];j[c+12>>2]=(p(d,e)|0)/(b|0);g=i[a+222>>1];j[c+16>>2]=(p(d,g)|0)/(b|0);j[c+20>>2]=(p(d,i[a+224>>1]+(e-g|0)|0)|0)/(b|0);j[c+24>>2]=(p(d,l[a+226>>1])>>>0)/(b>>>0)}d=0}oe=f+16|0;return d|0}function yh(a){var b=0,c=0,d=0;if(!(j[a>>2]==268306?a:0)){ve(125954,0);return}b=j[a+36>>2];a:{if(j[b+316>>2]==(a|0)){wm(b,0);break a}if(j[a+72>>2]!=j[b+352>>2]){break a}c=j[b+340>>2];if(!c){break a}qe[j[b+48>>2]](b,c,j[b+408>>2],j[b+412>>2])|0;c=b+420|0;while(1){d=c;c=j[c+8>>2];if(c){continue}break}j[d+8>>2]=j[b+432>>2];j[b+432>>2]=j[b+428>>2];j[b+428>>2]=0;c=j[b+344>>2];if(c){j[c+24>>2]=j[b+348>>2];j[b+344>>2]=0;j[b+348>>2]=j[b+340>>2];j[b+340>>2]=0}j[b+412>>2]=0;j[b+404>>2]=0;j[b+396>>2]=0;j[b+400>>2]=0;j[b+352>>2]=j[b+352>>2]+1}j[a>>2]=0;c=j[a+84>>2];if(c){j[c+80>>2]=j[a+80>>2]}d=j[a+80>>2];j[(d?d+84|0:b+312|0)>>2]=c;c=j[a+40>>2];if(c){yh(c)}c=j[a+44>>2];if(c){if(c){d=j[c+16>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}lf(j[c+40>>2]);lf(j[c+44>>2]);if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}}c=j[a+48>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}qe[j[b+80>>2]](b,a);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function YB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=0,o=0;a:{b:{c:{e=j[a+28>>2];if(!k[e+64|0]){g=j[b+4>>2];o=j[b>>2];h[e+64|0]=1;c=j[e+20>>2];d:{if(k[e+65|0]){d=j[e+12>>2];if((i[d+20>>1]+i[d+56>>1]|0)+1>>>0>m[d+8>>2]){d=yf(d,0,1);if(d){break c}}f=l[c>>1];d=f<<16>>16;if((d|0)<1){break d}i[(j[c+12>>2]+(f<<1)|0)-2>>1]=l[c+2>>1]-1}d=l[c>>1]}i[c>>1]=d+1;c=j[e+12>>2];if((i[c+22>>1]+i[c+58>>1]|0)+1>>>0>m[c+4>>2]){d=yf(c,1,0);if(d){break c}}c=j[e+20>>2];if(k[e+65|0]){d=j[c+8>>2];f=i[c+2>>1];n=j[c+4>>2]+(f<<3)|0;j[n+4>>2]=g>>10;j[n>>2]=o>>10;h[d+f|0]=1}i[c+2>>1]=l[c+2>>1]+1}c=j[b+12>>2];d=j[b+8>>2];b=j[e+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+1>>>0>m[b+4>>2]){b=yf(b,1,0);if(b){break b}}a=j[e+20>>2];if(k[e+65|0]){b=j[a+8>>2];e=i[a+2>>1];g=j[a+4>>2]+(e<<3)|0;j[g+4>>2]=c>>10;j[g>>2]=d>>10;h[b+e|0]=1}i[a+2>>1]=l[a+2>>1]+1;return}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=d;return}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=b}}function pD(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0;g=oe-32|0;oe=g;f=d&2147483647;h=f;e=f-1065418752|0;i=f-1082064896|0;f=c;a:{if((e|0)==(i|0)&f>>>0>>0|e>>>0>>0){h=(d&33554431)<<7|c>>>25;f=0;k=f;i=c&33554431;if(!(!f&(i|0)==16777216?!(a|b):!f&i>>>0<16777216)){e=h+1073741825|0;break a}e=h+1073741824|0;if(i^16777216|a|(b|k)){break a}e=(e&1)+e|0;break a}if(!(!f&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){e=((d&33554431)<<7|c>>>25)&4194303|2143289344;break a}e=2139095040;if(h>>>0>1082064895){break a}e=0;f=h>>>16|0;if(f>>>0<16145){break a}h=c;e=d&65535|65536;Of(g+16|0,a,b,h,e,f-16129|0);ni(g,a,b,h,e,16257-f|0);b=j[g+8>>2];e=(j[g+12>>2]&33554431)<<7|b>>>25;h=j[g+4>>2];f=h;a=0;i=a;k=j[g>>2]|((j[g+16>>2]|j[g+24>>2])!=0|(j[g+20>>2]|j[g+28>>2])!=0);b=b&33554431;if(!(!a&(b|0)==16777216?!(f|k):!a&b>>>0<16777216)){e=e+1|0;break a}if(b^16777216|k|(f|i)){break a}e=(e&1)+e|0}oe=g+32|0;return pP(2,d&-2147483648|e),sP()}function Oh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=oe-32|0;oe=d;b=j[67085];a:{if(!b){ve(151717,0);b=-1;break a}if(!(j[a>>2]==(b+316|0)?a:0)){ve(150417,0);b=-1;break a}f=j[a+16>>2];c=f&-65536;if(!((c|0)!=536805376?(c|0)!=805240832:0)){a=f&65535;b=(a|0)>2]?a:0;break a}c=j[a+20>>2];e=c&-65536;if(!((e|0)==536805376|(e|0)==805240832)){e=j[b+300>>2];g=(e|0)<1;if(!g){h=j[b+304>>2];b=0;while(1){if(j[(p(b,72)+h|0)+60>>2]==(a|0)){break a}b=b+1|0;if((e|0)>(b|0)){continue}break}}j[d+24>>2]=f+(j[a+24>>2]/2|0);j[d+28>>2]=c+(j[a+28>>2]/2|0);b=-1;if(!g){f=2147483647;a=0;while(1){bm(a,d+8|0);if(ZH(d+24|0,d+8|0)){b=a;break a}c=(j[d+28>>2]-j[d+12>>2]|0)+(j[d+20>>2]/-2|0)|0;e=p(c,c);c=(j[d+24>>2]-j[d+8>>2]|0)+(j[d+16>>2]/-2|0)|0;e=e+p(c,c)|0;c=(e|0)<(f|0);f=c?e:f;b=c?a:b;a=a+1|0;if((a|0)>2]){continue}break}if((b|0)>-1){break a}}ve(150432,0);break a}a=c&65535;b=(a|0)>2]?a:0}oe=d+32|0;return b}function RA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0;g=oe-16|0;oe=g;j[g+12>>2]=0;m=j[c>>2];d=He(m,24,g+12|0);e=j[g+12>>2];a:{if(e){break a}b:{e=a+4|0;if(e>>>0>b>>>0){break b}l=k[a|0];h[d+4|0]=l;f=k[a+1|0]|k[a+2|0]<<8;i[d+6>>1]=(f<<24|f<<8&16711680)>>>16;f=k[a+3|0];h[d+5|0]=f;o=j[c+148>>2];q=j[c+4>>2];n=f&1;f=(f>>>1&1)+(n?5:3)|0;j[d+8>>2]=f;j[d+12>>2]=(e+q|0)-o;if(e+p(f,l)>>>0>b>>>0){break b}if(l){c:{if(n){a=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);j[d+16>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=e+p(f,l-1|0)|0;a=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break c}j[d+16>>2]=k[a+5|0]|k[a+4|0]<<16;a=e+p(f,l-1|0)|0;a=k[a|0]<<16|k[a+1|0]}e=0;j[d>>2]=0;j[d+20>>2]=a;j[j[c+140>>2]>>2]=d;j[c+140>>2]=d;j[c+132>>2]=j[c+132>>2]+l;break a}if(d){qe[j[m+8>>2]](m,d)}e=j[g+12>>2];break a}if(d){qe[j[m+8>>2]](m,d)}e=8}oe=g+16|0;return e|0}function Pv(a){a=a|0;var b=0,c=0;if(a){c=j[a+100>>2];b=j[a+500>>2];if(b){Ar(b)}b=j[a+132>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+136>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0;b=j[a+144>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+144>>2]=0;b=j[a+148>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+148>>2]=0;b=j[a+428>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+428>>2]=0;b=j[a+424>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+424>>2]=0;b=j[a+420>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+420>>2]=0;b=j[a+396>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+396>>2]=0;b=j[a+400>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+400>>2]=0;b=j[a+384>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+384>>2]=0;b=j[a+388>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+388>>2]=0;b=j[a+364>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+364>>2]=0;b=j[a+492>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+492>>2]=0;b=j[a+556>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+552>>2]=0;j[a+556>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0}}function tu(a,b,c){var d=0,e=0;d=oe-256|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&4){Ie(a,c);Je(a,99982);break a}if(!(!b|!(k[b+8|0]&16))){Ie(a,c);Je(a,100016);break a}b:{c:{d:{switch(k[a+435|0]){case 0:if((c|0)==2){pf(a,d,2);tf(a,d,2);i[a+428>>1]=1;c=k[d|0]|k[d+1|0]<<8;i[a+540>>1]=(c<<24|c<<8&16711680)>>>16;break b}Ie(a,c);Je(a,99995);break a;case 2:if((c|0)==6){pf(a,d,6);tf(a,d,6);i[a+428>>1]=1;c=k[d|0]|k[d+1|0]<<8;i[a+534>>1]=(c<<24|c<<8&16711680)>>>16;c=k[d+2|0]|k[d+3|0]<<8;i[a+536>>1]=(c<<24|c<<8&16711680)>>>16;c=k[d+4|0]|k[d+5|0]<<8;i[a+538>>1]=(c<<24|c<<8&16711680)>>>16;break b}Ie(a,c);Je(a,99995);break a;case 3:if(!(e&2)){Ie(a,c);Je(a,99982);break a}if(l[a+420>>1]>c-1>>>0?c>>>0<=256:0){break c}Ie(a,c);Je(a,99995);break a;default:break d}}Ie(a,c);Je(a,100368);break a}pf(a,d,c);tf(a,d,c);i[a+428>>1]=c}if(Ie(a,0)){i[a+428>>1]=0;break a}Iu(a,b,d,l[a+428>>1],a+532|0)}oe=d+256|0;return}hf(a,100003);z()}function rn(a,b,c){var d=0,e=0,f=0;d=l[b+74>>1];if(!(d&32768)){if(c>>>0>=4){Hf(a,b,97088,c,97093);return}if(!(!(d&4)|l[b+72>>1]==(c|0))){Hf(a,b,97088,c,97123);return}if(d&32){zk(a,97154);return}a:{if(!(d&2)){break a}if(uj(97192,b+4|0,100)){break a}Mf(a,97224,2);d=l[b+74>>1]}b:{if(!(d&1)){break b}e=j[b>>2];c:{if(!e){break c}f=v(+(e|0)*1e5/45455+.5);if(f<=2147483647^1|f>=-2147483648^1){break c}if(r(f)<2147483648){e=~~f}else{e=-2147483648}if(e-95e3>>>0<10001){break b}}Mf(a,98451,2);d=l[b+74>>1]}i[b+72>>1]=c;a=j[24299];j[b+4>>2]=j[24298];j[b+8>>2]=a;a=j[24301];j[b+12>>2]=j[24300];j[b+16>>2]=a;a=j[24303];j[b+20>>2]=j[24302];j[b+24>>2]=a;a=j[24305];j[b+28>>2]=j[24304];j[b+32>>2]=a;a=j[24264];j[b+36>>2]=j[24263];j[b+40>>2]=a;a=j[24266];j[b+44>>2]=j[24265];j[b+48>>2]=a;a=j[24268];j[b+52>>2]=j[24267];j[b+56>>2]=a;a=j[24270];j[b+60>>2]=j[24269];j[b+64>>2]=a;j[b+68>>2]=j[24271];i[b+74>>1]=d|231;j[b>>2]=45455}}function nu(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0;e=oe-16|0;oe=e;a:{b:{d=j[a+208>>2];if(d&1){if(d&4){Ie(a,c);Je(a,99982);break a}if(!(!b|!(k[b+9|0]&64))){Ie(a,c);Je(a,100016);break a}if(c>>>0<=3){Ie(a,c);Je(a,99995);break a}f=c+1|0;d=j[a+788>>2];c:{if(d){if(f>>>0<=m[a+792>>2]){break c}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,d)}d=$f(a,f);if(!d){break b}j[a+792>>2]=f;j[a+788>>2]=d}pf(a,d,c);tf(a,d,c);h[c+d|0]=0;if(Ie(a,0)){break a}if((k[d|0]-1&255)>>>0>=2){Je(a,100473);break a}j[e+8>>2]=0;j[e+12>>2]=1;d:{e:{if(!Kk(d,c,e+8|0,e+12|0)){break e}f=j[e+12>>2];if(f>>>0>=c>>>0){break e}g=f+1|0;j[e+12>>2]=g;if(!k[d+f|0]){break d}}Je(a,100486);break a}if((j[e+8>>2]&392)!=264){Je(a,100503);break a}j[e+8>>2]=0;if(!(i=Kk(d,c,e+8|0,e+12|0),l=0,n=j[e+12>>2]==(c|0),n?i:l)){Je(a,100522);break a}if((j[e+8>>2]&392)!=264){Je(a,100540);break a}Ou(a,b,k[d|0],d+1|0,d+g|0);break a}hf(a,100003);z()}Je(a,100173);Ie(a,c)}oe=e+16|0}function Dh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=0;Nf(a,j[a+8>>2]);c=j[a>>2];j[d+12>>2]=c;f=j[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=k[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}j[b>>2]=c;j[b+8>>2]=2;if(jl(d+12|0,f)){break e}break d}j[b>>2]=c;j[b+8>>2]=3;if(!Mo(d+12|0,f)){break d}break e}j[b>>2]=c;j[b+8>>2]=3;j[a>>2]=c+1;Nf(a,f);c=j[a>>2];j[d+12>>2]=c;if(c>>>0>=f>>>0){break e}e=1;while(1){if(!j[a+12>>2]){h:{i:{switch(k[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break h}c=c+1|0;j[d+12>>2]=c;j[b+4>>2]=c;break a;case 0:break i;default:break h}}e=e+1|0}kl(a);Nf(a,j[a+8>>2]);c=j[a>>2];if(f>>>0>c>>>0){continue}}break}j[d+12>>2]=c;break e}j[b>>2]=c;j[b+8>>2]=k[c|0]==47?4:1;kl(a);c=j[a>>2];j[d+12>>2]=c;if(!j[a+12>>2]){break c}}c=j[b+4>>2];break b}c=j[d+12>>2]}j[b+4>>2]=c}if(c){break a}j[b+8>>2]=0;j[b>>2]=0}j[a>>2]=j[d+12>>2]}oe=d+16|0}function mo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=j[a+16>>2];g=k[e+6|0]<<8|k[e+7|0]&254;a:{if(!g){break a}f=j[b>>2]+((c|0)!=0)|0;if(f>>>0>65535){break a}d=g>>>1|0;p=d>>>0>1?d:1;q=d-1|0;r=e+14|0;s=(e+g|0)+16|0;b:{while(1){m=0;h=s;d=r;c:{while(1){d:{e=d+2|0;e:{o=k[d+1|0]|k[d|0]<<8;if(o>>>0>>0){d=e;break e}d=e;n=k[h+1|0]|k[h|0]<<8;if(n>>>0>f>>>0){break e}i=h+g|0;d=i+g|0;l=k[d|0]<<8|k[d+1|0];f:{g:{h:{if((o|0)!=65535|m>>>0>>0|(n|0)!=65535){break h}if(!l){break g}e=j[a>>2];if((d+l|0)+2>>>0<=j[e+500>>2]+j[e+504>>2]>>>0){break h}d=1;break f}if((l|0)==65535){break e}if(!l){break g}d=((f-n<<1)+l|0)+d|0;d=k[d|0]<<8|k[d+1|0];if(!d){break d}d=d+(k[i+1|0]|k[i|0]<<8)&65535;break c}d=k[i+1|0]|k[i|0]<<8}d=d+f&65535;break c}h=h+2|0;m=m+1|0;if((p|0)!=(m|0)){continue}}break}d=0}if(d|!c){break b}f=f+1|0;if((f|0)!=65536){continue}break}return 0}if(!c|!d){break a}j[b>>2]=f}return d}function zi(a,b,c,d,e,f){var g=0,h=0,i=0;if(!(!a|(a&-268435456)==268435456)){ve(149280,0);return 0}j[b>>2]=(a&255)>>>0<3?a>>>8&255:a<<3&2040;j[f>>2]=0;j[e>>2]=0;j[d>>2]=0;j[c>>2]=0;a:{b:{if((a|0)!=390076419){if((a|0)!=386930691){break b}j[c>>2]=255;j[d>>2]=65280;j[e>>2]=16711680;break a}j[c>>2]=16711680;j[d>>2]=65280;j[e>>2]=255;break a}if((a>>>24&15)-4>>>0<=2){b=(a>>>16&15)-1|0;if(b>>>0>=8){ve(149319,0);return 0}g=b<<2;b=j[g+149608>>2];h=j[g+149576>>2];i=j[g+149544>>2];g=j[g+149512>>2];c:{switch((a>>>20&15)-1|0){case 1:j[c>>2]=b;j[d>>2]=h;j[e>>2]=i;break a;case 2:j[f>>2]=b;case 0:j[c>>2]=h;j[d>>2]=i;j[e>>2]=g;break a;case 3:j[c>>2]=b;j[d>>2]=h;j[e>>2]=i;j[f>>2]=g;break a;case 5:j[e>>2]=b;j[d>>2]=h;j[c>>2]=i;break a;case 7:j[e>>2]=b;j[d>>2]=h;j[c>>2]=i;j[f>>2]=g;break a;case 6:j[f>>2]=b;case 4:j[e>>2]=h;j[d>>2]=i;j[c>>2]=g;break a;default:break c}}ve(149319,0);a=0}else{a=1}return a}return 1}function go(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;e=j[a+16>>2];d=k[e+12|0]|k[e+13|0]<<8|(k[e+14|0]<<16|k[e+15|0]<<24);m=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!m){return 0}q=e+20|0;i=j[b>>2]+((c|0)!=0)|0;d=m;a:{b:{while(1){g=d+n>>>1|0;l=p(g,12)+q|0;f=l;e=k[f|0]|k[f+1|0]<<8|(k[f+2|0]<<16|k[f+3|0]<<24);o=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=g;f=f-4|0;f=k[f|0]|k[f+1|0]<<8|(k[f+2|0]<<16|k[f+3|0]<<24);if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0<=i>>>0){if(i>>>0<=o>>>0){break b}n=g+1|0}else{d=e}if(d>>>0>n>>>0){continue}break}d=0;break a}d=k[l+4|0]|k[l+5|0]<<8|(k[l+6|0]<<16|k[l+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(!c){return d}c:{if(i>>>0>o>>>0){e=0;g=g+1|0;if((m|0)==(g|0)){break c}}h[a+24|0]=1;j[a+36>>2]=g;j[a+28>>2]=i;d:{if(!d){fo(a);e=0;if(!k[a+24|0]){break c}c=j[a+32>>2];if(!c){break c}i=j[a+28>>2];break d}j[a+32>>2]=d;c=d}e=c;j[b>>2]=i}return e}function Qo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;d=3;f=j[b+188>>2];a:{if(!f){break a}g=j[b+192>>2];while(1){if(j[g+(h<<4)>>2]==(c|0)){d=83;c=j[(g+(h<<4)|0)+12>>2];h=j[a+8>>2];if(c>>>0>>0){break a}if(vf(a,c-h|0)){break a}j[e+12>>2]=0;c=Wf(a,e+12|0);d=j[e+12>>2];if(d){break a}i=c&-256;if((i|256)==256){d=b+196|0;f=e;g=a;b:{if(c&4){d=$e(a,22800,d);j[e+12>>2]=d;if(d){break a}c=22928;break b}d=$e(a,22864,d);j[e+12>>2]=d;if(d){break a}c=22960}h=b+216|0;d=$e(g,c,h);j[f+12>>2]=d;if(d){break a}f=b+232|0;d=$e(a,c,f);j[e+12>>2]=d;if(d){break a}g=b+248|0;if((i|0)==256){d=$e(a,c,g);j[e+12>>2]=d;if(d){break a}d=$e(a,c,b+264|0);break a}a=h;c=j[a+4>>2];j[g>>2]=j[a>>2];j[g+4>>2]=c;c=j[a+12>>2];j[g+8>>2]=j[a+8>>2];j[g+12>>2]=c;a=j[f+12>>2];j[b+272>>2]=j[f+8>>2];j[b+276>>2]=a;a=j[f+4>>2];j[b+264>>2]=j[f>>2];j[b+268>>2]=a}d=0;break a}h=h+1|0;if((f|0)!=(h|0)){continue}break}}oe=e+16|0;return d}function AJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(b|0)|0;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&2?k[a+63|0]<<24:-16777216;v=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;m=((d>>>16|0)+m|0)+1|0}if(f){h=-1;c=65536;n=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;c=(c-(d&-65536)|0)-65536|0}f=f-1|0;d=j[n>>2];i=d&255;l=d>>>8&255;d=d>>>16&255;w=b;if(v){l=(p(l,s)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;d=(p(d,r)>>>0)/255|0}j[w>>2]=l<<8|u|d|i<<16;b=b+4|0;c=c+o|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+q|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function Du(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;d=oe-16|0;oe=d;a:{b:{c:{f=j[a+208>>2];if(!(f&1)){if((c|0)!=13){break c}j[a+208>>2]=f|1;pf(a,d+3|0,13);tf(a,d+3|0,13);Ie(a,0);c=k[d+3|0]|k[d+4|0]<<8|(k[d+5|0]<<16|k[d+6|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((f|0)<=-1){break b}c=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((g|0)<=-1){break a}m=k[d+15|0];i=k[d+12|0];n=k[d+14|0];o=k[d+13|0];l=k[d+11|0];h[a+436|0]=l;j[a+352>>2]=g;j[a+348>>2]=f;h[a+744|0]=o;h[a+712|0]=n;h[a+435|0]=i;h[a+432|0]=m;c=1;e=i-2|0;if((e&255)>>>0<=4){e=(e&255)<<3;c=e&31;c=(e&63)>>>0>=32?4>>>c|0:((1<>>c}h[a+439|0]=c;e=p(c,l);h[a+438|0]=e;c=a;e=e&255;d:{if(e>>>0>=8){e=p(f,e>>>3|0);break d}e=p(e,f)+7>>>3|0}j[c+364>>2]=e;Ru(a,b,f,g,l,i,m,o,n);oe=d+16|0;return}hf(a,99982);z()}hf(a,99995);z()}Ye(a,99884);z()}Ye(a,99884);z()}function UJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){c=j[a+52>>2]&112;o=c-16|0;q=(c|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];e=i;while(1){r=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;b=j[h>>2];n=b>>>24|0;c=b&255;f=j[e>>2];l=f&255;d=b>>>8&255;b=b>>>16&255;m=f>>>8&255;f=f>>>16&255;a:{b:{switch(o|0){default:if(!q){break a}c=(p(c,l)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,f)>>>0)/255|0;break a;case 0:n=255;b=f;d=m;c=l;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;d=d+m|0;d=d>>>0<255?d:255;b=b+f|0;b=b>>>0<255?b:255}j[h>>2]=d<<8|b<<16|c|n<<24;h=h+4|0;e=e+4|0;if(k){continue}break}e=j[a+28>>2]}else{e=b}c=e;b=c-1|0;j[r+28>>2]=b;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;e=i;if(c){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function 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,i=0,n=0,o=0,q=0;n=3;a:{if((d|0)<0){break a}f=j[a+8>>2];g=j[a+12>>2];i=l[g>>1];if((e|0)<0|m[f>>2]>>0){break a}g=l[g+2>>1];if(m[f+4>>2]>>0){break a}g=p(g,k[a+18|0]);if(p(g+7>>>3|0,i)+b>>>0>c>>>0){break a}o=j[f+8>>2];c=j[f+12>>2]+(p(o,e)+(d>>>3|0)|0)|0;f=d&7;if(f){if(i){n=g>>>0<8;while(1){e=0;a=g;d=c;if(!n){while(1){e=k[b|0]|e;h[d|0]=k[d|0]|e>>>f;d=d+1|0;b=b+1|0;e=e<<8;q=(a|0)>15;a=a-8|0;if(q){continue}break}}if((a|0)>=1){e=k[b|0]&65280>>>a|e;b=b+1|0}h[d|0]=k[d|0]|e>>>f;if((a+f|0)>=9){h[d+1|0]=k[d+1|0]|e<<8>>>f}c=c+o|0;a=(i|0)>1;i=i-1|0;if(a){continue}break}}return 0}n=0;if(!i){break a}e=g>>>0<8;while(1){a=g;d=c;if(!e){while(1){h[d|0]=k[b|0]|k[d|0];d=d+1|0;b=b+1|0;f=(a|0)>15;a=a-8|0;if(f){continue}break}}if((a|0)>=1){h[d|0]=k[d|0]|k[b|0]&65280>>>a;b=b+1|0}c=c+o|0;a=(i|0)>1;i=i-1|0;if(a){continue}break}}return n|0}function EJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){c=j[a+52>>2]&112;o=c-16|0;q=(c|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];e=i;while(1){r=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;b=j[h>>2];n=b>>>24|0;c=b&255;f=j[e>>2];l=f&255;d=b>>>8&255;b=b>>>16&255;m=f>>>8&255;f=f>>>16&255;a:{b:{switch(o|0){default:if(!q){break a}c=(p(c,f)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,l)>>>0)/255|0;break a;case 0:n=255;b=l;d=m;c=f;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+f|0;c=c>>>0<255?c:255;d=d+m|0;d=d>>>0<255?d:255;b=b+l|0;b=b>>>0<255?b:255}j[h>>2]=d<<8|b<<16|c|n<<24;h=h+4|0;e=e+4|0;if(k){continue}break}e=j[a+28>>2]}else{e=b}c=e;b=c-1|0;j[r+28>>2]=b;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;e=i;if(c){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function pK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{d=j[a+28>>2];if(!d){break a}f=j[a+36>>2];g=j[a+16>>2];c=j[a+24>>2];h=c&7;i=(c+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];b:while(1){e=i;c:{d:{switch(h-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=1;continue;case 1:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=2;continue;case 2:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=3;continue;case 3:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=4;continue;case 4:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=5;continue;case 5:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=6;continue;case 6:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=7;continue;default:break e}}c=d-1|0;j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;f:{if((e|0)>1){e=e-1|0;break f}a=a+f|0;b=b+g|0;d=c;if(c){continue b}break a}c=0;continue}}}}function wj(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=oe-16|0;oe=f;d=j[a+4>>2];g=j[j[d+128>>2]+48>>2];e=j[d+440>>2];j[a+1376>>2]=j[d+436>>2];j[a+1380>>2]=e;h=j[d+448>>2];e=a+1384|0;j[e>>2]=j[d+444>>2];j[e+4>>2]=h;e=j[d+456>>2];j[a+1392>>2]=j[d+452>>2];j[a+1396>>2]=e;a:{b:{if(!g){h=b<<2;e=j[h+j[d+424>>2]>>2];j[c>>2]=e;d=j[j[d+428>>2]+h>>2];j[c+4>>2]=d;break b}d=qe[j[j[g>>2]>>2]](j[g+4>>2],b,c)|0;if(d){break a}d=j[c+4>>2];e=j[c>>2]}d=qe[j[a+1484>>2]](a,e,d)|0;if(d|!g){break a}if(!j[j[g>>2]+8>>2]){d=0;break a}c=j[a+32>>2];d=c+32768&-65536;if((c|0)<0){d=0-(32768-c&-65536)|0}j[f+4>>2]=0;j[f>>2]=d>>16;c=f;d=j[a+40>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}j[c+8>>2]=e>>16;d=j[a+44>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}j[c+12>>2]=e>>16;d=qe[j[j[g>>2]+8>>2]](j[g+4>>2],b,0,f)|0;j[a+32>>2]=j[f>>2]<<16;j[a+40>>2]=j[f+8>>2]<<16;j[a+44>>2]=j[f+12>>2]<<16}oe=f+16|0;return d}function oF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;f=j[a+840>>2];cf(b,j[a>>2],5);a:{if(j[a>>2]<1){break a}g=a+4|0;e=-1;while(1){c=g+(d<<2)|0;cf(b,j[c>>2],4);c=j[c>>2];e=(c|0)>(e|0)?c:e;d=d+1|0;if((d|0)>2]){continue}break}c=0;if((e|0)<0){break a}i=a+320|0;k=a+256|0;l=a+192|0;g=a+128|0;while(1){d=c<<2;cf(b,j[d+g>>2]-1|0,3);h=d+l|0;cf(b,j[h>>2],2);b:{if(j[h>>2]){cf(b,j[d+k>>2],8);if(j[h>>2]==31){break b}}d=0;while(1){cf(b,j[(i+(c<<5)|0)+(d<<2)>>2]+1|0,8);d=d+1|0;if((d|0)<1<>2]){continue}break}}d=(c|0)!=(e|0);c=c+1|0;if(d){continue}break}}cf(b,j[a+832>>2]-1|0,2);c=f-1|0;cf(b,c?32-s(c)|0:0,4);i=c?32-s(c)|0:0;f=j[a>>2];if((f|0)>=1){k=a+836|0;l=a+4|0;g=a+128|0;e=0;d=0;c=0;while(1){c=j[g+(j[l+(e<<2)>>2]<<2)>>2]+c|0;if((c|0)>(d|0)){while(1){cf(b,j[(k+(d<<2)|0)+8>>2],i);d=d+1|0;if((c|0)!=(d|0)){continue}break}f=j[a>>2];d=c}e=e+1|0;if((f|0)>(e|0)){continue}break}}}function QJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(b|0)|0;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&2?k[a+63|0]<<24:-16777216;v=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;m=((d>>>16|0)+m|0)+1|0}if(f){h=-1;c=65536;n=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;c=(c-(d&-65536)|0)-65536|0}f=f-1|0;d=j[n>>2];i=d&255;l=d>>>8&255;d=d>>>16&255;if(v){i=(p(i,r)>>>0)/255|0;l=(p(l,s)>>>0)/255|0;d=(p(d,t)>>>0)/255|0}j[b>>2]=l<<8|u|i|d<<16;b=b+4|0;c=c+o|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+q|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function Li(a,b,c){var d=0,e=0,f=0,g=0;a=j[a+376>>2];d=a>>>24|0;a:{if(!(d-91>>>0>5?d-65>>>0<=57:0)){h[b+3|0]=93;h[b|0]=91;h[b+2|0]=k[(d&15)+102384|0];h[b+1|0]=k[(a>>>28|0)+102384|0];d=4;break a}h[b|0]=d;d=1}e=a>>>16|0;f=e&255;b:{if(!(f-65>>>0>57|f-91>>>0<6)){f=d;break b}h[(b+d|0)+1|0]=k[(a>>>20&15)+102384|0];h[(d|2)+b|0]=k[(e&15)+102384|0];f=d+3|0;h[f+b|0]=93;e=91}h[b+d|0]=e;g=f+1|0;d=a>>>8|0;e=d&255;c:{if(!(e-65>>>0>57|e-91>>>0<6)){e=g;break c}e=f+4|0;h[e+b|0]=93;f=b+f|0;h[f+3|0]=k[(d&15)+102384|0];h[f+2|0]=k[(a>>>12&15)+102384|0];d=91}h[b+g|0]=d;f=e+1|0;d=a&255;d:{if(!(d-65>>>0>57|d-91>>>0<6)){d=f;break d}d=e+4|0;h[d+b|0]=93;e=b+e|0;h[e+3|0]=k[(a&15)+102384|0];h[e+2|0]=k[(a>>>4&15)+102384|0];a=91}h[b+f|0]=a;a=d+1|0;e:{if(!c){break e}h[a+b|0]=58;h[(b+d|0)+2|0]=32;a=d+3|0;d=0;while(1){e=k[c+d|0];if(!e){break e}h[a+b|0]=e;a=a+1|0;d=d+1|0;if((d|0)!=195){continue}break}}h[a+b|0]=0}function Gr(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;b=h^255;c=j[58747];i[d>>1]=((p(b,k[j[58746]+(a>>>5&63)|0])>>>0)/255|0)+f<<3&8160|((p(b,k[c+(a>>>11|0)|0])>>>0)/255|0)+e<<8&63488|((p(b,k[c+(a&31)|0])>>>0)/255|0)+g>>>3;return 0;case 1:c=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[c>>1];b=k[j[58746]+(a>>>5&63)|0]+f|0;d=c;f=(b>>>0<255?b:255)<<3&4064;b=j[58747];c=k[b+(a>>>11|0)|0]+e|0;a=k[b+(a&31)|0]+g|0;i[d>>1]=f|(c>>>0<255?c:255)<<8&63488|(a>>>0<255?a:255)>>>3;return 0;case 3:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];c=b;b=j[58747];i[c>>1]=(p(k[j[58746]+(a>>>5&63)|0],f)>>>0)/255<<3&4064|(p(k[b+(a>>>11|0)|0],e)>>>0)/255<<8&63488|(p(k[b+(a&31)|0],g)>>>0)/255>>>3;return 0;default:break a}}i[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=f<<3&2016|e<<8&63488|g>>>3;return 0}function Ky(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=a+16|0;if(d>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!((c-16>>>0)/12>>>0>=h>>>0?!(c>>>0<16|c>>>0>j[b+160>>2]-a>>>0):0)){Pe(b,8)}if(h){c=0;a=0;while(1){f=c;g=k[d+8|0]|k[d+9|0]<<8|(k[d+10|0]<<16|k[d+11|0]<<24);c=k[d+4|0]|k[d+5|0]<<8|(k[d+6|0]<<16|k[d+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(c>>>0>>0){Pe(b,8)}if(!(!a|e>>>0>f>>>0)){Pe(b,8)}a:{if(!j[b+164>>2]){break a}f=j[b+172>>2];e=c-e|0;if(f-e>>>0>(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))>>>0?f>>>0>=e>>>0:0){break a}Pe(b,16)}d=d+12|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}return 0}function pq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;d=oe-48|0;oe=d;i=j[a+456>>2];Pf(a,d+32|0,-1,-1);a:{if((pe|0)>-1){h=a+120|0;f=-1;while(1){b:{if(k[j[d+32>>2]+5|0]&2){break b}c:{c=j[d+32>>2];if((k[c+14|0]|k[c+15|0]<<8|(k[c+16|0]<<16|k[c+17|0]<<24))!=(i|0)){break c}Pg(h,d+32|0);while(1){c=ng(h,d);if(c){if((c|0)<1){continue}c=Tl(b,d);if((c|0)<0){continue}l=e;e=(f|0)==-1?0:c+f>>2;f=l+e|0;g=(e>>31)+g|0;g=f>>>0>>0?g+1|0:g;e=f;f=c;continue}break}c=j[d+32>>2];if((k[c+6|0]|k[c+7|0]<<8|(k[c+8|0]<<16|k[c+9|0]<<24))==-1&(k[c+10|0]|k[c+11|0]<<8|(k[c+12|0]<<16|k[c+13|0]<<24))==-1){break c}b=j[d+32>>2];f=k[b+6|0]|k[b+7|0]<<8|(k[b+8|0]<<16|k[b+9|0]<<24);a=e;e=f-e|0;g=(k[b+10|0]|k[b+11|0]<<8|(k[b+12|0]<<16|k[b+13|0]<<24))-(g+(a>>>0>f>>>0)|0)|0;break b}Pf(a,d+32|0,-1,-1);if((pe|0)>-1){continue}}break}b=(g|0)>0?1:(g|0)>=0?!!e:0;a=b?e:0;b=b?g:0;break a}a=0;b=0}oe=d+48|0;pe=b;return a}function jx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){b=j[a+532>>2];c=j[a+104>>2];e=j[a+100>>2];d=j[a+660>>2];if(d){qe[d|0](j[a+656>>2])}if(b){qe[j[b+12>>2]](a)}jf(j[a+104>>2],a+700|0);j[a+696>>2]=0;d=j[a+104>>2];b=j[d+28>>2];f=j[a+720>>2];if(f){qe[j[b+8>>2]](b,f)}j[a+720>>2]=0;jf(d,a+704|0);b=e;d=j[a+648>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+644>>2]=0;j[a+648>>2]=0;jf(c,a+632|0);jf(c,a+640|0);j[a+636>>2]=0;j[a+628>>2]=0;c=j[a+676>>2];if(c){d=j[c+4>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+4>>2]=0;b=j[c+8>>2];if(b){qe[j[e+8>>2]](e,b)}j[c+8>>2]=0;b=j[c+20>>2];if(b){if(j[c>>2]){d=0;while(1){f=d<<3;b=j[(f+b|0)+4>>2];if(b){qe[j[e+8>>2]](e,b)}b=j[c+20>>2];j[(f+b|0)+4>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}if(b){qe[j[e+8>>2]](e,b)}j[c+20>>2]=0}b=j[c+28>>2];if(b){qe[j[e+8>>2]](e,b)}j[c+28>>2]=0;b=j[c+36>>2];if(b){qe[j[e+8>>2]](e,b)}j[c+36>>2]=0;if(c){qe[j[e+8>>2]](e,c)}}j[a+676>>2]=0}}function Pu(a,b,c,d,e,f,g,i,k){var l=0,m=0,n=0,o=0;a:{b:{if(!a|!b|(!c|!i)){break b}if(k?0:(g|0)>=1){break b}n=Le(c);if(f>>>0>=4){break a}c:{d:{if(g>>>0<=255){if(!g){break c}o=(g|0)>1?g:1;break d}Ye(a,99153);z()}while(1){e:{m=j[(l<<2)+k>>2];if(!m){break e}if(!Jk(m,Le(m))){break e}l=l+1|0;if((o|0)!=(l|0)){continue}break c}break}Ye(a,99182);z()}m=n+1|0;l=cg(a,m);j[b+208>>2]=l;if(!l){Ze(a,99216);return}Ae(l,c,m);h[b+229|0]=g;h[b+228|0]=f;j[b+216>>2]=e;j[b+212>>2]=d;d=Le(i)+1|0;c=cg(a,d);j[b+220>>2]=c;if(!c){Ze(a,99253);return}Ae(c,i,d);d=(g<<2)+4|0;c=cg(a,d);j[b+224>>2]=c;if(!c){Ze(a,99288);return}l=0;Ee(c,0,d);if((g|0)>=1){while(1){c=l<<2;d=c+k|0;e=Le(j[d>>2])+1|0;f=cg(a,e);j[c+j[b+224>>2]>>2]=f;c=j[c+j[b+224>>2]>>2];if(!c){Ze(a,99324);return}Ae(c,j[d>>2],e);l=l+1|0;if((l|0)!=(g|0)){continue}break}}j[b+8>>2]=j[b+8>>2]|1024;j[b+232>>2]=j[b+232>>2]|128}return}Ye(a,99126);z()}function io(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;d=j[a+16>>2];f=k[d+12|0]|k[d+13|0]<<8|(k[d+14|0]<<16|k[d+15|0]<<24);m=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(!m){return 0}q=d+20|0;i=j[b>>2]+((c|0)!=0)|0;d=m;a:{b:{while(1){l=d+n>>>1|0;g=p(l,12)+q|0;f=k[g|0]|k[g+1|0]<<8|(k[g+2|0]<<16|k[g+3|0]<<24);o=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=l;e=g-4|0;e=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0<=i>>>0){if(i>>>0<=o>>>0){break b}n=l+1|0}else{d=f}if(d>>>0>n>>>0){continue}break}d=0;break a}d=k[g+7|0]+((((i-e|0)+(k[g+4|0]<<24)|0)+(k[g+5|0]<<16)|0)+(k[g+6|0]<<8)|0)|0}if(!c){return d}c:{if(i>>>0>o>>>0){c=0;l=l+1|0;if((m|0)==(l|0)){break c}}h[a+24|0]=1;j[a+36>>2]=l;j[a+28>>2]=i;d:{if(!d){ho(a);c=0;if(!k[a+24|0]){break c}d=j[a+32>>2];if(!d){break c}i=j[a+28>>2];break d}j[a+32>>2]=d}c=d;j[b>>2]=i}return c}function LG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=j[b+28>>2];a:{if(c>>>0>222){break a}c=j[(c<<2)+156560>>2];if(!c){break a}b:{c:{switch(j[b>>2]-2|0){case 0:c=(c&-4)==224?c+4|0:c;break b;case 1:break c;default:break b}}d:{switch(c-30|0){case 9:case 43:c=98;break b;case 0:case 47:c=89;break b;case 1:case 51:c=90;break b;case 2:case 48:c=91;break b;case 3:case 50:c=92;break b;case 4:c=93;break b;case 5:case 49:c=94;break b;case 6:case 44:c=95;break b;case 7:case 52:c=96;break b;case 8:case 45:c=97;break b;case 10:c=88;break b;case 46:break d;default:break b}}c=99}Hm((a|0)==2,c)}f=We((a|0)==2?768:769,-1);g=j[b+28>>2];e=g-8|0;e:{if(e>>>0<33){c=e&31;d=1;if(((e&63)>>>0>=32?1>>>c|0:((1<>>c)&1){break e}}d=1;if(g-112>>>0<24){break e}d=1;if(j[b+4>>2]){break e}d=j[b+12>>2]!=0}c=d;if((a|0)!=2){return(f|0)==1|0}return(c|(We(771,-1)|0)!=1)&(f|0)==1}function jH(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0;a:{if(!a){break a}c=l[a+2>>1];b=c<<16>>16;if((b|0)<1){break a}g=2;if((b|0)==1){break a}m=j[a+4>>2];c=m+(c<<3)|0;d=m+8|0;e=j[m>>2];f=e;b=m;h=j[b+4>>2];k=h;while(1){b=j[b+12>>2];k=(b|0)>(k|0)?b:k;h=(b|0)<(h|0)?b:h;b=j[d>>2];f=(b|0)>(f|0)?b:f;e=(b|0)<(e|0)?b:e;b=d;d=b+8|0;if(c>>>0>d>>>0){continue}break}if((e|0)==(f|0)|(h|0)==(k|0)){break a}c=i[a>>1];if((c|0)>=1){d=0;b=f>>31;f=b+f^b;b=e>>31;b=17-s(f|b+e^b)|0;o=(b|0)>0?b:0;b=17-s(k-h|0)|0;q=(b|0)>0?b:0;b=c&65535;h=b>>>0>1?b:1;k=j[a+12>>2];b=0;a=0;while(1){n=i[(a<<1)+k>>1];if((n|0)>=(b|0)){c=(n<<3)+m|0;e=j[c>>2];f=j[c+4>>2];while(1){g=e;r=d;d=(b<<3)+m|0;c=j[d+4>>2];e=j[d>>2];d=r+p(c-f>>q,g+e>>o)|0;g=(b|0)!=(n|0);b=b+1|0;f=c;if(g){continue}break}}b=n+1|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}g=1;if((d|0)>0){break a}g=0;if(d){break a}}g=2}return g}function Mk(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0;c=j[a+528>>2];if(c){i=j[c+4>>2];g=j[c>>2];f=j[a+100>>2];b=f;d=j[c+24>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+24>>2]=0;if(g>>>0>=2){Ee(c+28|0,0,(g<<2)-4|0)}b=f;d=j[c+216>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+216>>2]=0;d=j[c+148>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+148>>2]=0;d=j[c+288>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+288>>2]=0;if(g){while(1){b=(e<<2)+c|0;j[b+284>>2]=0;j[b+144>>2]=0;j[b+212>>2]=0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}b=j[c+136>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+136>>2]=0;j[c+140>>2]=0;a:{if(!i){break a}e=0;while(1){b=(e<<2)+c|0;g=j[b+8>>2];if(g){qe[j[f+8>>2]](f,g)}j[b+8>>2]=0;e=e+1|0;if((i|0)!=(e|0)){continue}break}if(!i){break a}e=0;while(1){b=p(e,12)+c|0;g=b;d=j[b+92>>2];if(d){qe[j[f+8>>2]](f,d)}h[b+88|0]=0;j[g+92>>2]=0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}b=j[a+528>>2];if(b){qe[j[f+8>>2]](f,b)}j[a+528>>2]=0}}function Hr(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;c=h^255;b=j[58747];i[d>>1]=((p(c,k[b+(a>>>5&31)|0])>>>0)/255|0)+f<<2&4064|((p(c,k[b+(a>>>10&31)|0])>>>0)/255|0)+e<<7&64512|((p(c,k[b+(a&31)|0])>>>0)/255|0)+g>>>3;return 0;case 1:d=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[d>>1];b=j[58747];c=k[(a>>>5&31)+b|0]+f|0;f=(c>>>0<255?c:255)<<2&2016;c=k[b+(a>>>10&31)|0]+e|0;a=k[b+(a&31)|0]+g|0;i[d>>1]=f|(c>>>0<255?c:255)<<7&64512|(a>>>0<255?a:255)>>>3;return 0;case 3:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];c=b;b=j[58747];i[c>>1]=(p(k[b+(a>>>5&31)|0],f)>>>0)/255<<2&2016|(p(k[b+(a>>>10&31)|0],e)>>>0)/255<<7&64512|(p(k[b+(a&31)|0],g)>>>0)/255>>>3;return 0;default:break a}}i[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=f<<2&992|e<<7&31744|g>>>3;return 0}function bK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}c=(p(c,l)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;d=(p(d,e)>>>0)/255|0;break a;case 0:d=e;b=m;c=l;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+e|0;d=d>>>0<255?d:255}j[g>>2]=b<<8|d<<16|c;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function ZJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}d=(p(d,l)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;c=(p(c,e)>>>0)/255|0;break a;case 0:c=e;b=m;d=l;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+l|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+e|0;c=c>>>0<255?c:255}j[g>>2]=b<<8|c|d<<16;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function NJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}c=(p(c,e)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;d=(p(d,l)>>>0)/255|0;break a;case 0:d=l;b=m;c=e;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+e|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+l|0;d=d>>>0<255?d:255}j[g>>2]=b<<8|d<<16|c;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function JJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}d=(p(d,e)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;c=(p(c,l)>>>0)/255|0;break a;case 0:c=l;b=m;d=e;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+e|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+l|0;c=c>>>0<255?c:255}j[g>>2]=b<<8|c|d<<16;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function yI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;v=d;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[v>>2]=c<<8|i|l<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function eJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;v=d;if(u){l=(p(l,r)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[v>>2]=c<<8|l|i<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function mr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;v=d;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,s)>>>0)/255|0;c=(p(c,t)>>>0)/255|0}j[v>>2]=i<<16|l<<8|c;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function kr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;v=d;if(u){l=(p(l,s)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,r)>>>0)/255|0}j[v>>2]=c|l<<8|i<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function eP(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{d=b;if(d){e=c;if(!e){break i}break h}a=(a>>>0)/(c>>>0)|0;pe=0;return a}if(!a){break g}break f}if(!(e-1&e)){break e}h=(s(e)+33|0)-s(d)|0;i=0-h|0;break c}a=(d>>>0)/0|0;pe=0;return a}d=32-s(d)|0;if(d>>>0<31){break d}break b}if((e|0)==1){break a}d=fP(e);c=d&31;if((d&63)>>>0>=32){e=0;a=b>>>c|0}else{e=b>>>c|0;a=((1<>>c}pe=e;return a}h=d+1|0;i=63-d|0}d=b;e=h&63;f=e&31;if(e>>>0>=32){e=0;f=d>>>f|0}else{e=d>>>f|0;f=((1<>>f}i=i&63;d=i&31;if(i>>>0>=32){b=a<>>32-d|b<>>31;j=g;e=e<<1|f>>>31;g=i-(e+(d>>>0>>0)|0)>>31;k=c&g;f=j-k|0;e=e-(j>>>0>>0)|0;b=b<<1|a>>>31;a=l|a<<1;g=g&1;l=g;h=h-1|0;if(h){continue}break}}pe=b<<1|a>>>31;return g|a<<1}a=0;b=0}pe=b;return a}function dr(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0;if(!a){return}a:{if(!b){break a}e=j[a+16>>2];if((e|0)<1){break a}f=((e<<2)+a|0)+20|0;c=a+20|0;while(1){if(j[c>>2]==(b|0)){j[a+16>>2]=e-1;a=f-4|0;if(a>>>0>c>>>0){while(1){j[c>>2]=j[c+4>>2];c=c+4|0;if(a>>>0>c>>>0){continue}break}}j[a>>2]=0;i=j[b>>2];f=j[b+8>>2];d=j[b+4>>2];b:{if(!d){break b}if(j[d+160>>2]==(b|0)){j[d+160>>2]=0}if(!(k[i|0]&2)){break b}l=j[d>>2];c=d+148|0;g=ph(c,b);if(!g){break b}e=j[b+12>>2];c:{if(j[e+36>>2]!=1869968492){break c}a=j[b+52>>2];if(!a){break c}qe[j[j[e+56>>2]+20>>2]](a)}Ih(c,g);if(g){qe[j[l+8>>2]](l,g)}c=j[d+148>>2];d:{if(c){while(1){a=j[c+8>>2];if(j[a+16>>2]==1869968492){break d}c=j[c+4>>2];if(c){continue}break}}a=0}j[d+156>>2]=a}if(h[j[b>>2]]&1){np(b+16|0,37,j[b+8>>2],b)}a=j[i+28>>2];if(a){qe[a|0](b)}if(b){qe[j[f+8>>2]](f,b)}return}c=c+4|0;if(f>>>0>c>>>0){continue}break}}}function UD(a){var b=0,c=0,d=0,e=0,f=0,g=0;rP(+a);e=oP(1)|0;oP(0)|0;b=e;e=b>>>31|0;a:{b:{c:{d:{d=a;e:{f:{b=b&2147483647;g:{if(b>>>0>=1082532651){rP(+a);b=oP(1)|0;b=b&2147483647;if((b|0)==2146435072&(oP(0)|0)!=0|b>>>0>2146435072){return a}if(!(a>709.782712893384^1)){return a*8.98846567431158e+307}if(!(a<-745.1332191019411)|a<-708.3964185322641^1){break g}break b}if(b>>>0<1071001155){break d}if(b>>>0<1072734898){break f}}a=a*1.4426950408889634+o[(e<<3)+223776>>3];if(r(a)<2147483648){b=~~a;break e}b=-2147483648;break e}b=(e^1)-e|0}c=+(b|0);a=d+c*-.6931471803691238;f=c*1.9082149292705877e-10;d=a-f;break c}if(b>>>0<=1043333120){break a}b=0;d=a}c=d;g=a;c=c*c;a=d-c*(c*(c*(c*(c*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);c=g+(d*a/(2-a)-f)+1;if(!b){break b}c=Mg(c,b)}return c}return a+1}function sI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[d>>2]=i<<16|c<<8|l;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function _I(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;if(u){l=(p(l,r)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[d>>2]=l<<16|c<<8|i;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function pG(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;e=j[a+40>>2];f=j[a+44>>2];a:{if(!(j[a- -64>>2]?0:j[a+60>>2])){a=j[a+52>>2];if(!a){break a}sk(a);break a}b=j[a+52>>2];b:{if(b){if(b){b=j[b+168>>2];c=0;c:{if(!b){break c}c=j[b+16>>2]}}else{c=0}b=j[a+16>>2];d:{if((c|0)>=(b|0)){break d}while(1){e:{qe[f|0](j[a+48>>2],j[a+72>>2],e);c=Gi(j[a+52>>2],j[a+72>>2],e);b=j[a+52>>2];if((c|0)==-1){break e}if(b){b=j[b+168>>2];c=0;f:{if(!b){break f}c=j[b+16>>2]}}else{c=0}b=j[a+16>>2];if((c|0)<(b|0)){continue}break d}break}sk(b);j[a+60>>2]=0;b=j[a+16>>2]}b=Wh(j[a+52>>2],j[a+72>>2],b);c=j[a+16>>2];if((b|0)==(c|0)){break b}Oe(j[a+72>>2],k[a+11|0],c);break b}qe[f|0](j[a+48>>2],j[a+72>>2],e)}c=j[a+16>>2];e=j[a+72>>2];b=k[a+10|0];a=l[a+8>>1];h[d+15|0]=0;h[d+13|0]=105;h[d+14|0]=105;j[d>>2]=e;j[d+4>>2]=(c|0)/(p(b,a>>>3&31)|0);E(161507,d+13|0,d|0)|0}oe=d+16|0}function or(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,s)>>>0)/255|0;c=(p(c,t)>>>0)/255|0}j[d>>2]=l<<8|i|c<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function hr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;if(u){l=(p(l,s)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,r)>>>0)/255|0}j[d>>2]=c<<16|l<<8|i;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function MH(a,b){var c=0,d=0,e=0;c=oe-32|0;oe=c;d=j[67085];a:{if(!d){ve(151717,0);a=-1;break a}if(!(j[a>>2]==(d+316|0)?a:0)){ve(150417,0);a=-1;break a}if(!b){j[c>>2]=150485;a=ve(150459,c);break a}j[c+24>>2]=j[a+88>>2];d=j[a+84>>2];j[c+16>>2]=j[a+80>>2];j[c+20>>2]=d;d=j[a+76>>2];j[c+8>>2]=j[a+72>>2];j[c+12>>2]=d;if(!j[c+12>>2]){j[c+12>>2]=j[a- -64>>2]}if(!j[c+16>>2]){j[c+16>>2]=j[a+68>>2]}d=0;e=Oh(a);if((e|0)>=0){d=j[j[67085]+304>>2]+p(e,72)|0}b:{if((j[a+48>>2]&4097)==4097){j[c+24>>2]=j[d+32>>2];a=j[d+28>>2];j[c+16>>2]=j[d+24>>2];j[c+20>>2]=a;a=j[d+20>>2];j[c+8>>2]=j[d+16>>2];j[c+12>>2]=a;break b}a=Oh(a);if((a|0)>=0){a=j[j[67085]+304>>2]+p(a,72)|0}else{a=0}if(Tq(a,c+8|0,c+8|0)){break b}a=ve(150490,0);break a}a=j[c+12>>2];j[b>>2]=j[c+8>>2];j[b+4>>2]=a;j[b+16>>2]=j[c+24>>2];a=j[c+20>>2];j[b+8>>2]=j[c+16>>2];j[b+12>>2]=a;a=0}oe=c+32|0;return a}function Uk(a){var b=0,c=0,d=0,e=0,f=0,g=0;h[a+108|0]=0;b=j[a+16>>2];c=j[a+12>>2];j[a+44>>2]=c;j[a+48>>2]=b;b=j[a+24>>2];j[a+52>>2]=j[a+20>>2];j[a+56>>2]=b;b=j[a+32>>2];j[a+60>>2]=j[a+28>>2];j[a+64>>2]=b;j[a+68>>2]=j[a+36>>2];b=151;e=c&65535;a:{if(!e){break a}d=l[a+46>>1];if(!d){break a}b=j[a>>2];if(k[b+176|0]&8){f=a,g=De(e<<6,l[b+68>>1]),j[f+48>>2]=g;c=De(l[a+46>>1]<<6,l[b+68>>1]);j[a+52>>2]=c;f=a,g=ye(i[b+70>>1],c)+32&-64,j[f+56>>2]=g;f=a,g=ye(i[b+72>>1],j[a+52>>2])+32&-64,j[f+60>>2]=g;f=a- -64|0,g=ye(i[b+74>>1],j[a+52>>2])+32&-64,j[f>>2]=g;f=a,g=ye(i[b+76>>1],j[a+48>>2])+32&-64,j[f+68>>2]=g;d=l[a+46>>1];c=l[a+44>>1]}b=c&65535;b:{if(b>>>0>=d>>>0){j[a+72>>2]=65536;i[a+80>>1]=c;j[a+88>>2]=j[a+48>>2];c=De(d,b);break b}i[a+80>>1]=d;j[a+88>>2]=j[a+52>>2];f=a,g=De(b,d),j[f+72>>2]=g;c=65536}j[a+300>>2]=-1;h[a+108|0]=1;j[a+76>>2]=c;b=0}return b}function nE(a,b,c,d,e,f,g,h){var i=0,k=q(0),l=0,m=0,o=0,p=q(0),r=0,s=0,t=0,u=q(0),v=0,w=0;if((f|0)>0){while(1){l=(i<<2)+e|0;m=mg(+n[l>>2]);n[l>>2]=m+m;i=i+1|0;if((i|0)!=(f|0)){continue}break}}if((c|0)>=1){u=q(3.141592653589793/+(d|0));v=((f<<2)+e|0)-4|0;l=(f-2&-2)+3|0;m=+h;w=+g;i=0;while(1){r=i<<2;o=j[r+b>>2];s=mg(+q(u*q(o|0)));k=q(s+s);d=1;h=q(.5);g=q(.5);p=q(.5);if((f|0)>=2){while(1){t=(d<<2)+e|0;g=q(g*q(k-n[t>>2]));h=q(h*q(k-n[t-4>>2]));d=d+2|0;if((f|0)>(d|0)){continue}break}p=g;d=l}else{d=1}a:{if((d|0)==(f|0)){h=q(h*q(k-n[v>>2]));h=q(h*h);g=q(q(4)-q(k*k));break a}h=q(h*q(q(k+q(2))*h));g=q(q(2)-k)}d=a+r|0;k=n[d>>2];g=q(UD((w/y(+q(h+q(p*q(p*g))))-m)*.1151292473077774));n[d>>2]=k*g;i=i+1|0;if(j[(i<<2)+b>>2]==(o|0)){while(1){d=(i<<2)+a|0;n[d>>2]=n[d>>2]*g;i=i+1|0;if(j[(i<<2)+b>>2]==(o|0)){continue}break}}if((c|0)>(i|0)){continue}break}}}function vz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,m=0,n=0,o=0,p=0,q=0;a:{g=j[a+4>>2];n=0-g|0;o=c-1|0;i=n&g+o;m=d&n;b:{if((i|0)<=(m|0)){c=j[a>>2];d=i;break b}if((g+m|0)!=(i|0)){break a}g=m;c:{d:{e:{p=l[e+12>>1];q=p&7;switch(q|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}g=j[a+8>>2]+((d+o|0)/2|0)&n;break c}if((!(p&16)|j[a+8>>2]>(d-c|0)?!(j[e+28>>2]!=(f|0)|j[e+16>>2]>0):0)|(!(p&32)|j[a+8>>2]>(d-c|0)?!(j[f+28>>2]!=(e|0)|j[e+20>>2]!=(b|0)):0)){break a}if((q|0)==1){break c}g=j[a+8>>2]+((d+o|0)/2|0)&n}c=j[a>>2];d=i;d=(g|0)>=0?l[a+56>>1]>(g>>>c|0)?g:m:d;b=((i|0)==(d|0)?m:i)>>c;if((b|0)<0|(b|0)>=l[a+56>>1]){break b}if(k[j[a+60>>2]+(j[a+148>>2]+(b<<13>>16)|0)|0]<<(b&7)&128){break a}}b=d>>c;if((b|0)<0|(b|0)>=l[a+56>>1]){break a}a=j[a+60>>2]+(j[a+148>>2]+(b<<13>>16)|0)|0;h[a|0]=k[a|0]|128>>>(b&7)}}function XC(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;o=oe-16|0;oe=o;a:{if(!a){break a}c=j[a>>2];if(!c|j[c+4>>2]!=2108){break a}e=qz(c,o+12|0);if(e){break a}b:{m=e?c:j[o+12>>2];l=m+20|0;if(YC(b,l)){break b}if(b){c:{d:{e=j[b+64>>2];if(e){d=j[b+76>>2];c=e;while(1){g=k[d|0];e:{if(g&4){if(!f){break e}break d}if(!f){break d}}d=d+1|0;g=g>>>3&1;f=g^1;i=i+g|0;c=c-1|0;if(c){continue}break}c=0;if(f){break c}}h[b+92|0]=1;p=i;c=e;break c}c=0}g=c;f:{g:{e=j[b+96>>2];h:{if(!e){i=0;break h}d=j[b+108>>2];f=0;c=e;i=0;while(1){n=k[d|0];i:{if(n&4){if(!f){break i}break g}if(!f){break g}}d=d+1|0;n=n>>>3&1;f=n^1;i=i+n|0;c=c-1|0;if(c){continue}break}d=0;c=0;if(f){break f}}h[b+124|0]=1;d=i;c=e;break f}d=0;c=0}f=c+g|0;d=d+p|0}Rq(j[m>>2],l);if(fm(j[m>>2],f,d,l)){break b}j[l>>2]=0;rp(b,0,l);rp(b,1,l);zj(j[a>>2]);j[a>>2]=m;break a}zj(m)}oe=o+16|0}function Ct(a,b){var c=0,d=0,e=0;a:{c=k[a+8|0];if(!(c&2)){break a}d=j[a>>2];b:{switch(k[a+9|0]-8|0){case 0:c:{switch(c-2|0){case 4:if(!d){break a}a=0;while(1){c=k[b+2|0];h[b+2|0]=k[b|0];h[b|0]=c;b=b+4|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a;case 0:break c;default:break a}}if(!d){break a}a=0;while(1){c=k[b+2|0];h[b+2|0]=k[b|0];h[b|0]=c;b=b+3|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a;case 8:break b;default:break a}}d:{switch(c-2|0){case 4:if(!d){break a}a=0;while(1){c=k[b|0]|k[b+1|0]<<8;e=k[b+4|0]|k[b+5|0]<<8;h[b|0]=e;h[b+1|0]=e>>>8;h[b+4|0]=c;h[b+5|0]=c>>>8;b=b+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a;case 0:break d;default:break a}}if(!d){break a}a=0;while(1){c=k[b|0]|k[b+1|0]<<8;e=k[b+4|0]|k[b+5|0]<<8;h[b|0]=e;h[b+1|0]=e>>>8;h[b+4|0]=c;h[b+5|0]=c>>>8;b=b+6|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function Pk(a,b){var c=0,d=0,e=0,f=0,g=0,k=0,l=0,n=0,o=0,p=0;l=oe-16|0;oe=l;n=j[a+28>>2];j[l+12>>2]=0;f=xe(n,2,0,b,0,l+12|0);a:{if(!j[l+12>>2]){while(1){if(b>>>0<=e>>>0){break a}d=j[a+32>>2];if(d>>>0>2]){j[a+32>>2]=d+1;d=h[d|0]}else{d=0}c=d<<24>>24;k=c&63;b:{if(c&128){d=0;c=(e^-1)+b|0;Ee((e<<1)+f|0,0,((c>>>0>>0?c:k)<<1)+2|0);while(1){c=d+1|0;e=e+1|0;if(e>>>0>=b>>>0){break b}g=d>>>0>>0;d=c;if(g){continue}break}break b}d=0;if(c&64){while(1){o=(e<<1)+f|0,p=af(a),i[o>>1]=p;c=d+1|0;e=e+1|0;if(e>>>0>=b>>>0){break b}g=d>>>0>>0;d=c;if(g){continue}break b}}while(1){g=(e<<1)+f|0;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}i[g>>1]=c<<24>>24;c=d+1|0;e=e+1|0;if(e>>>0>=b>>>0){break b}g=d>>>0>>0;d=c;if(g){continue}break}}if(c>>>0>k>>>0){continue}break}if(f){qe[j[n+8>>2]](n,f)}}f=0}oe=l+16|0;return f}function Gh(a,b,c){var d=0,e=0,f=0,g=0,i=0;e=oe-16|0;oe=e;i=j[b+28>>2];j[a+28>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a+12>>2]=0;j[a+16>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a>>2]=b;j[a+4>>2]=j[b+8>>2];f=qf(b,e+8|0);a:{b:{if(j[e+8>>2]){break b}if(!f){break a}d=fg(b,e+8|0);if(j[e+8>>2]){break b}if((d-1&255)>>>0>=4){j[e+8>>2]=8;break b}h[a+12|0]=d;j[a+8>>2]=f;d=d&255;j[a+16>>2]=(j[a+4>>2]+p(d,f+1|0)|0)+3;d=vf(b,p(d,f));j[e+8>>2]=d;if(d){break b}d=uf(j[a>>2],e+12|0,k[a+12|0]);if(d){j[e+8>>2]=d;break b}c:{d=k[a+12|0];if(d){d=d>>>0>1?d:1;f=0;while(1){f=k[(e+12|0)+g|0]|f<<8;g=g+1|0;if((d|0)!=(g|0)){continue}break}j[e+8>>2]=0;if(f){break c}}j[e+8>>2]=8;break b}f=f-1|0;j[a+20>>2]=f;d=e;d:{if(c){b=Zf(b,f,a+28|0);break d}b=vf(b,f)}j[d+8>>2]=b;if(b){break b}g=0;break a}b=j[a+24>>2];if(b){qe[j[i+8>>2]](i,b)}j[a+24>>2]=0;g=j[e+8>>2]}oe=e+16|0;return g}function KE(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=-1;a:{if(!a){break a}f=j[c+4>>2];if(!f){break a}e=qe[f|0](a,0,0,1)|0}j[d+12>>2]=0;j[d+8>>2]=0;b=Ee(b,0,704);j[b>>2]=a;a=j[c+4>>2];j[b+704>>2]=j[c>>2];j[b+708>>2]=a;a=j[c+12>>2];j[b+712>>2]=j[c+8>>2];j[b+716>>2]=a;a=b+24|0;if(a){j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}if((e|0)!=-1){j[b+4>>2]=1}j[b+52>>2]=1;g=b,h=bf(1,32),j[g+72>>2]=h;g=b,h=bf(1,16),j[g+76>>2]=h;fq(b+120|0,-1);f=Sl(b,j[b+72>>2],j[b+76>>2],d+12|0,d+8|0,0);b:{if((f|0)<=-1){j[b>>2]=0;Rj(b);c=j[d+12>>2];break b}e=j[d+8>>2];a=bf(e+2|0,4);j[b+64>>2]=a;c=j[b+456>>2];j[b+92>>2]=c;j[a+4>>2]=e;j[a>>2]=c;c=j[d+12>>2];Ae(a+8|0,c,e<<2);g=b,h=bf(1,8),j[g+56>>2]=h;a=bf(1,8);j[b+60>>2]=a;e=j[b+12>>2];j[a>>2]=j[b+8>>2];j[a+4>>2]=e;j[b+88>>2]=1}if(c){ze(c)}oe=d+16|0;return f}function wk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;g=oe-16|0;oe=g;a:{if(!a){j[g>>2]=116717;i=ve(116691,g);break a}f=j[a+4>>2];if(f){l=j[f>>2]}if(!c){break a}m=j[a>>2];k=j[a+12>>2];d=f;while(1){b:{c:{if(d){e=j[d>>2];if(k>>>0>e>>>0){break c}}d=j[a+8>>2];d:{if(d){j[a+8>>2]=j[d+8>>2];break d}d=j[a+12>>2]+12|0;d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}if(!d){break b}}e=0;j[d+8>>2]=0;j[d>>2]=0;j[d+4>>2]=0;h=j[a+4>>2];j[(h?h+8|0:a)>>2]=d;j[a+4>>2]=d}h=(d+e|0)+12|0;e=k-e|0;e=c>>>0>>0?c:e;Ge(h,b,e);j[d>>2]=e+j[d>>2];j[a+16>>2]=e+j[a+16>>2];c=c-e|0;if(!c){break a}b=b+e|0;d=j[a+4>>2];continue}break}e:{if(!f){d=j[a>>2];break e}j[f>>2]=l;d=j[f+8>>2];j[f+8>>2]=0}j[a+8>>2]=0;j[a+4>>2]=f;j[a>>2]=m;if(d){while(1){a=j[d+8>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}d=a;if(d){continue}break}}i=Be(0)}oe=g+16|0;return i}function wE(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=q(0),l=q(0),m=0;f=(c<<2)+15&-16;h=oe-f|0;i=h-f|0;a:{if((c|0)<=0){break a}while(1){b:{if((d|0)>=2){k=n[(e<<2)+a>>2];while(1){f=d;d=d-1|0;g=d<<2;l=n[g+i>>2];if(!(l>k^1)){j[(f<<2)+h>>2]=e;break b}c:{if((f|0)<2|(j[h+g>>2]+b|0)<=(e|0)){break c}g=f-2<<2;if(n[g+i>>2]>=l^1){break c}if((j[h+g>>2]+b|0)>(e|0)){continue}}break}j[(f<<2)+h>>2]=e;break b}j[(d<<2)+h>>2]=e;k=n[(e<<2)+a>>2];f=d}n[(f<<2)+i>>2]=k;d=f+1|0;e=e+1|0;if((e|0)!=(c|0)){continue}break}d=0;if((f|0)<0){break a}m=b+1|0;e=0;while(1){b=c;d:{e:{if((d|0)>=(f|0)){break e}g=d+1<<2;if(n[g+i>>2]>n[(d<<2)+i>>2]^1){break e}g=j[h+g>>2];break d}g=j[(d<<2)+h>>2]+m|0}b=(c|0)<(g|0)?b:g;if((b|0)>(e|0)){k=n[(d<<2)+i>>2];while(1){n[(e<<2)+a>>2]=k;e=e+1|0;if((b|0)!=(e|0)){continue}break}e=b}b=(d|0)!=(f|0);d=d+1|0;if(b){continue}break}}}function Yg(a,b,c){var d=0,e=0,f=0,g=0,i=0;d=oe-48|0;oe=d;g=a+11724|0;e=j[g>>2];if(k[j[a+11676>>2]+5|0]){i=!k[a+11665|0]}else{i=0}f=j[a+11720>>2];if(!((c|0)==(e|0)?!(i|(f|0)!=(b|0)):0)){pl(a,f,e,b,c,d+44|0,d+40|0);e=j[d+44>>2];j[d+32>>2]=e+j[a+11720>>2];g=j[g>>2];f=j[d+40>>2];j[d+28>>2]=f+c;j[d+24>>2]=b+e;j[d+36>>2]=g+f;if(k[a+11667|0]){e=j[d+36>>2];j[d+16>>2]=j[d+32>>2];j[d+20>>2]=e;bp(a,d+16|0);h[a+11664|0]=1;h[a+11667|0]=0;e=j[d+28>>2];j[a+11712>>2]=j[d+24>>2];j[a+11716>>2]=e}if(k[a+11744|0]){e=j[d+28>>2];j[d+8>>2]=j[d+24>>2];j[d+12>>2]=e;Fh(a,a+8|0,d+32|0,d+8|0,0)}j[a+11748>>2]=2;h[a+11744|0]=1;e=j[d+36>>2];j[a+11752>>2]=j[d+32>>2];j[a+11756>>2]=e;e=j[d+28>>2];j[a+11760>>2]=j[d+24>>2];j[a+11764>>2]=e;if(i){oh(a+8|0,j[a+11668>>2],j[a+11672>>2],j[a+11676>>2],j[a+11680>>2],0)}j[a+11724>>2]=c;j[a+11720>>2]=b}oe=d+48|0}function pt(a){var b=0;b=j[65550];if(!b){ve(114681,0);return}if(!a){ve(114713,0);return}j[a+16>>2]=0;j[a+20>>2]=0/(b|0);j[a+12>>2]=0;Wg();a:{if(!j[65548]){break a}while(1){if(j[j[65548]+12>>2]!=1){break a}Gg();gg(100);Wg();if(j[65548]){continue}break}}if(j[65548]){if(j[j[j[65548]>>2]+64>>2]){qe[j[j[j[65548]>>2]+64>>2]](j[j[65548]+4>>2])}j[j[65548]+8>>2]=0;j[j[65548]+12>>2]=0;j[65548]=0}j[65548]=a;j[j[65548]+8>>2]=1;b:{if(j[j[65548]+12>>2]==2){if(!j[j[j[65548]>>2]+36>>2]){break b}qe[j[j[j[65548]>>2]+36>>2]](j[j[65548]+4>>2],0);break b}if(!j[j[j[65548]>>2]+36>>2]){break b}qe[j[j[j[65548]>>2]+36>>2]](j[j[65548]+4>>2],j[57792])}b=qe[j[j[a>>2]+40>>2]](j[a+4>>2],-1)|0;c:{if(!b){if(!j[j[j[65548]>>2]+52>>2]){break c}qe[j[j[j[65548]>>2]+52>>2]](j[j[65548]+4>>2],0)|0;Gg();return}if((b|0)>-1){break c}j[a+8>>2]=0;j[65548]=0}Gg()}function Fy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=a+16|0;if(c>>>0>m[b+160>>2]){Pe(b,8)}d=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!((d-16>>>0)/12>>>0>=g>>>0?!(d>>>0<16|d>>>0>j[b+160>>2]-a>>>0):0)){Pe(b,8)}if(g){a=0;while(1){d=a;f=k[c+8|0]|k[c+9|0]<<8|(k[c+10|0]<<16|k[c+11|0]<<24);a=k[c+4|0]|k[c+5|0]<<8|(k[c+6|0]<<16|k[c+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);e=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(a>>>0>>0){Pe(b,8)}if(!(!h|d>>>0>>0)){Pe(b,8)}if(!(!j[b+164>>2]|m[b+172>>2]>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0)){Pe(b,16)}c=c+12|0;h=h+1|0;if((h|0)!=(g|0)){continue}break}}return 0}function AL(a,b,c){var d=0;d=qe[j[57972]](808)|0;if(d){j[57976]=j[57976]+1}if(!d){Be(0);return 0}Oe(d,0,808);j[d+8>>2]=-1;j[d+12>>2]=0;a:{b:{if(!a){break b}a=_f(a);j[d+792>>2]=a;if(a){break b}Be(0);break a}a=qe[j[57972]](16)|0;if(a){j[57976]=j[57976]+1}if(!a){Be(0);a=j[d+792>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}break a}j[a+8>>2]=d;j[a+4>>2]=c;j[a>>2]=617;c=Bq();j[a+12>>2]=c;if(!c){b=j[d+792>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return 0}j[d+796>>2]=b;c:{if((ve(164217,0)|0)>=0){ve(164183,0);break c}b=j[d+792>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}d=0}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return d}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}return 0}function rv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;a:{if(!a){ve(96059,0);break a}qe[j[a+4>>2]](a,0,0,1)|0;c=pe;if((c|0)<-1?1:(c|0)<=-1){ve(96085,0);qe[j[a+16>>2]](a)|0;break a}b:{if(j[a+20>>2]!=2){break b}c=ce(j[a+28>>2],e+12|0,e+8|0)|0;if(!c){break b}d=Ag(0,j[e+12>>2],j[e+8>>2],32,255,65280,16711680,-16777216);if(d){Ae(j[d+20>>2],c,p(j[e+12>>2],j[e+8>>2])<<2)}ze(c);qe[j[a+16>>2]](a)|0;break a}while(1){c:{d:{if(f){if(qe[j[p(f,12)+96132>>2]](a)|0){break d}break c}if(!b){break c}d=96333;c=b;g=k[c|0];if(g){while(1){h=k[d|0];if(!h|((g-97>>>0<26?g&95:g)|0)!=((h-97>>>0<26?h&95:h)|0)){break c}d=d+1|0;g=k[c+1|0];c=c+1|0;if(g){continue}break}}if(k[d|0]){break c}f=0}d=qe[j[p(f,12)+96136>>2]](a)|0;qe[j[a+16>>2]](a)|0;break a}f=f+1|0;if((f|0)!=15){continue}break}qe[j[a+16>>2]](a)|0;d=0;ve(96308,0)}oe=e+16|0;return d}function lk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=oe-32|0;oe=b;a:{if(!(j[a>>2]==268306?a:0)){ve(125954,0);break a}if(j[a+8>>2]!=1){break a}c=j[a+40>>2];if(j[a+44>>2]){j[b+28>>2]=0;j[b+24>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b+16>>2]=j[a+12>>2];j[b+20>>2]=j[a+16>>2];if((mk(c,b+8|0,b+28|0,b+24|0)|0)<0){break a}rm(j[a+44>>2],b+8|0,j[c+4>>2],j[b+16>>2],j[b+20>>2],j[b+28>>2],j[b+24>>2]);lk(c);break a}if(c){j[b+8>>2]=0;j[b+28>>2]=0;f=a+56|0;d=j[a+4>>2];b:{if(!(!d|(d&-268435456)==268435456)){e=2;if((d|0)==844715353|(d|0)==1498831189){break b}e=(d|0)==1431918169?2:1;break b}e=d&255}g=j[a+60>>2];d=j[a+52>>2];h=j[a+48>>2];i=j[a+56>>2];if((mk(c,f,b+8|0,b+28|0)|0)<0){break a}th(j[a- -64>>2],j[a+68>>2],j[a+4>>2],(p(d,g)+h|0)+p(e,i)|0,d,j[c+4>>2],j[b+8>>2],j[b+28>>2]);lk(c);break a}c=j[a+36>>2];qe[j[c+64>>2]](c,a)}oe=b+32|0}function dy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0;d=oe-16|0;oe=d;g=j[b+28>>2];j[a+360>>2]=b;c=qe[j[a+508>>2]](a,1851878757,b,d+8|0)|0;j[d+12>>2]=c;a:{if(c){break a}h=j[b+8>>2];c=$e(b,88992,a+344|0);j[d+12>>2]=c;if(c){break a}c=145;f=j[a+348>>2];e=p(f,12);k=(e+h|0)+6|0;m=j[d+8>>2]+h|0;if(k>>>0>m>>>0){break a}j[a+348>>2]=0;n=a,o=xe(g,20,0,f,0,d+12|0),j[n+356>>2]=o;c=j[d+12>>2];if(c){break a}c=_e(b,e);j[d+12>>2]=c;if(c){break a}c=j[a+356>>2];if(f){while(1){e=$e(b,89024,c);j[d+12>>2]=e;b:{if(e){break b}e=l[c+8>>1];if(!e){break b}g=j[c+12>>2]+(j[a+352>>2]+h|0)|0;j[c+12>>2]=g;if(!(e+g>>>0<=m>>>0?g>>>0>=k>>>0:0)){i[c+8>>1]=0;j[c+12>>2]=0;break b}c=c+20|0}f=f-1|0;if(f){continue}break}e=j[a+356>>2]}else{e=c}j[a+348>>2]=(c-e|0)/20;Ve(b);i[a+340>>1]=j[a+348>>2];c=j[d+12>>2]}oe=d+16|0;return c|0}function tA(a,b,c,d,e,f,g,i,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;k=k|0;var l=0;a=Ee(a,0,1500);l=vh(j[b+96>>2],24092);if(!l){return 7}h[a+68|0]=1;j[a+64>>2]=0;j[a+1348>>2]=l;j[a+8>>2]=d;j[a+4>>2]=b;j[a>>2]=j[b+100>>2];a:{if(!d){break a}l=j[j[d+156>>2]>>2];j[a+12>>2]=l;j[a+20>>2]=l+56;j[a+16>>2]=l+20;Ch(l);c=j[c+40>>2];j[a+72>>2]=0;j[a+76>>2]=c;if(!g){break a}j[a+72>>2]=j[j[d+156>>2]+36>>2]}j[a+24>>2]=0;j[a+28>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;c=j[5888];j[a+80>>2]=j[5887];j[a+84>>2]=c;c=j[5890];j[a+88>>2]=j[5889];j[a+92>>2]=c;c=j[5892];j[a+96>>2]=j[5891];j[a+100>>2]=c;c=j[5894];j[a+104>>2]=j[5893];j[a+108>>2]=c;j[a+1352>>2]=j[b+16>>2];j[a+1464>>2]=f;j[a+1472>>2]=k;j[a+1356>>2]=e;j[a+1468>>2]=i;j[a+1484>>2]=j[5897];b=j[5896];j[a+1476>>2]=j[5895];j[a+1480>>2]=b;return 0}function IO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0),i=0,j=q(0),l=q(0),m=q(0),o=q(0);e=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);i=(e<<2)/3|0;if(e>>>0>=24){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=c+e|0;d=c+i|0;e=(e>>>0)/24|0;while(1){j=n[f-8>>2];c=f-24|0;l=n[c>>2];m=n[f-4>>2];o=n[f-20>>2];n[d-20>>2]=n[f-12>>2];g=n[f-16>>2];n[d-4>>2]=q(o+m)*q(.5);n[d-24>>2]=g;g=q(q(l+j)*q(.5));n[d-8>>2]=g;n[d-12>>2]=m+q(m-g);n[d-16>>2]=j+q(j-g);n[d-28>>2]=o+q(o-g);d=d-32|0;n[d>>2]=l+q(l-g);f=c;e=e-1|0;if(e){continue}break}}h[a+24|0]=i;h[a+25|0]=i>>>8;h[a+26|0]=i>>>16;h[a+27|0]=i>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function nn(a,b,c,d,e){var f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;p=j[a+2984>>2]&4;f=64;a:{if(p){break a}k=1;f=(e|0)==1?55:49;if(!(!(h[b+12|0]&1)|!(h[c+12|0]&1))){break a}f=(e|0)==1?61:59}n=j[c+4>>2];o=j[b+4>>2];m=tj(a,e,n-o|0);a=(((n+o|0)/2|0)+d|0)+((m|0)/-2|0)|0;d=a&63;b:{if(!d){break b}i=a+m&63;if(!i){break b}g=64-d|0;if((f|0)>=(m|0)){if((i|0)>=(m|0)){break b}l=g>>>0>i>>>0?0-i|0:g;break b}if(k){if(f>>>0<=64-i>>>0|f>>>0<=i>>>0|(d>>>0>=f>>>0|g>>>0>=f>>>0)){break b}}k=m&63;c:{if(k>>>0<=31){if(g>>>0<=k>>>0){break b}if(i>>>0>k>>>0){break c}break b}k=64-f|0}e=g-k|0;d=f-g|0;g=(d|0)>(e|0)?e:0-d|0;l=g>>31;e=f-i|0;d=i-k|0;e=(d|0)>(e|0)?e:0-d|0;d=e>>31;l=(l^g+l)>(d^d+e)?e:g}e=b;d=l;d:{if(p){break d}d=14;if((l|0)>14){break d}d=(l|0)>-14?l:-14}a=d+a|0;b=(n|0)>(o|0);j[e+8>>2]=a+(b?0:m);j[c+8>>2]=a+(b?m:0);return d}function Cu(a,b,c){var d=0,e=0,f=0,g=0;e=oe-784|0;oe=e;a:{b:{c:{d:{d=j[a+208>>2];if(d&1){if(d&2){break d}if(d&4){Ie(a,c);Je(a,99982);break a}j[a+208>>2]=d|2;if(!(k[a+435|0]&2)){Ie(a,c);Je(a,100026);break a}if(!((c>>>0)%3|0?0:c>>>0<=768)){Ie(a,c);if(k[a+435|0]!=3){Je(a,99995);break a}hf(a,99995);z()}c=c&65535;f=(c>>>0)/3|0;if(c>>>0>=3){g=f>>>0>1?f:1;c=0;d=e+16|0;while(1){pf(a,e+13|0,3);tf(a,e+13|0,3);h[d|0]=k[e+13|0];h[d+1|0]=k[e+14|0];h[d+2|0]=k[e+15|0];d=d+3|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}Ie(a,0);Lu(a,b,e+16|0,f);if(!l[a+428>>1]){if(!b){break a}d=j[b+8>>2];if(!(d&16)){break b}i[a+428>>1]=0;break c}i[a+428>>1]=0;if(b){break c}Je(a,100051);break a}hf(a,100003);z()}hf(a,100016);z()}i[b+22>>1]=0;Je(a,100051);d=j[b+8>>2]}if(d&64){Je(a,100070)}if(!(k[b+8|0]&32)){break a}Je(a,100089)}oe=e+784|0}function oo(a,b,c,d,e,f,g){var i=0,l=0,n=0;n=e-c|0;a:{if((n|0)<1|(e|0)<(f|0)|(c|0)>(g|0)){break a}i=d-b|0;b:{if((c|0)<(f|0)){b=Ne(i,f-c|0,n)+b|0;l=j[a>>2];f=f>>l;c=0;break b}l=j[a>>2];f=c>>l;c=j[a+4>>2]-1&c}d=0;if((e|0)<=(g|0)){g=e;d=j[a+4>>2]-1&e}e=g>>l;c:{if((c|0)>=1){if((e|0)==(f|0)){break a}f=f+1|0;b=Ne(i,j[a+4>>2]-c|0,n)+b|0;break c}if(!k[a+87|0]){break c}j[a+40>>2]=j[a+40>>2]-4}h[a+87|0]=!d;if(k[a+86|0]){j[j[a+88>>2]+20>>2]=f;h[a+86|0]=0}g=e-f|0;c=g+1|0;if(m[a+36>>2]<=j[a+40>>2]+(c<<2)>>>0){j[a+44>>2]=98;return 1}d=1;e=j[a+4>>2];d:{if((i|0)>=1){f=sl(e,i,n);break d}d=-1;i=0-i|0;f=0-sl(e,i,n)|0}i=(p(j[a+4>>2],i)|0)%(n|0)|0;e=j[a+40>>2];if((g|0)>=0){g=0-n|0;while(1){j[e>>2]=b;g=g+i|0;l=(g|0)>-1;g=g-(l?n:0)|0;b=(b+f|0)+(l?d:0)|0;e=e+4|0;l=(c|0)>1;c=c-1|0;if(l){continue}break}}j[a+40>>2]=e}return 0}function iM(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=oe-16|0;oe=i;a:{if(!a){ve(138481,0);break a}b:{c:{d:{e:{l=j[a+4>>2];switch(k[l+9|0]-2|0){case 2:break d;case 0:break e;default:break b}}m=j[l+12>>2];m=(m|0)==31744?699:(m|0)==63488?700:701;break c}n=j[l+24>>2];m=n?702:703;if(j[l+12>>2]==16711680){break c}m=n?704:705}if((c|0)>=2){r=a+36|0;l=1;while(1){n=(l<<3)+b|0;o=n-8|0;j[i+12>>2]=j[o>>2];j[i+8>>2]=j[o+4>>2];j[i+4>>2]=j[n>>2];j[i>>2]=j[n+4>>2];if($q(r,i+12|0,i+8|0,i+4|0,i)){o=1;p=j[i>>2];q=j[i+4>>2];o=(q|0)==j[n>>2]?j[n+4>>2]!=(p|0):o;qe[m|0](a,j[i+12>>2],j[i+8>>2],q,p,d,e,f,g,h,o)}l=l+1|0;if((l|0)!=(c|0)){continue}break}}c=(c-1<<3)+b|0;m=j[c>>2];f:{if((m|0)!=j[b>>2]){l=j[c+4>>2];break f}l=j[c+4>>2];if((l|0)==j[b+4>>2]){break a}}vM(a,m,l,d,e,f,g,h);break a}ve(138531,0)}oe=i+16|0}function Mo(a,b){var c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;c=j[a>>2];j[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){f=0;c:{d:{e:{f:{g:{g=k[c|0];switch(g-37|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:break c;case 0:break d;case 23:break e;case 3:break f;default:break g}}h:{switch(g-123|0){case 0:e=e+1|0;break c;case 2:break h;default:break c}}e=e-1|0;if(e){break c}c=c+1|0;break b}f=jl(d+12|0,b);break c}f=Lo(d+12|0,b);break c}i:{while(1){j:{switch(g-10|0){case 0:case 3:break i;default:break j}}c=c+1|0;if((c|0)!=(b|0)){g=k[c|0];continue}break}c=b}j[d+12>>2]=c}c=j[d+12>>2]+1|0;j[d+12>>2]=c;if(f?0:b>>>0>c>>>0){continue}break}b=3;if(e){break a}}b=f}j[a>>2]=c;oe=d+16|0;return b}function vi(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,n=0;d=j[a+40>>2];n=b;c=Nl(b,j[a+36>>2]);a:{b:{c:{if((c|0)>=0){c=j[j[a+32>>2]+(c<<2)>>2];if((c|0)>=0){g=c-1|0;a=h[g+j[a+28>>2]|0];break b}i=c>>>15&32767;c=j[a+8>>2]-(c&32767)|0;break c}c=j[a+8>>2]}k=c;f=Nl(b,d);l=f>>>31|0;g=-1;d:{if((f|0)>-1){c=d;break d}if((d|0)<2){c=d;break d}while(1){c=d-1|0;f=Nl(b,c);l=f>>>31|0;if((f|0)>-1){break d}e=(d|0)>2;d=c;if(e){continue}break}}if(l){break a}d=k-i|0;if((d|0)>=2){e=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);e=e>>>4&252645135|e<<4&-252645136;e=e>>>2&858993459|e<<2&-858993460;l=e>>>1&1431655765|e<<1&-1431655766;e=j[a+20>>2];while(1){g=d>>>1|0;d=l>>>0>2];k=k-(d?g:0)|0;i=(d?0:g)+i|0;d=k-i|0;if((d|0)>1){continue}break}}a=h[j[a+28>>2]+i|0];k=(a|0)>(c|0);g=k?-1:i;a=k?c:a}fE(n,a)}return g}function hv(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=oe-48|0;oe=f;a:{b:{c:{switch(gv(f+8|0,c)|0){case 0:e=l[b+74>>1];if(e&32768){break a}if(!(e&2)){break b}if(!uj(c,b+4|0,100)){i[b+74>>1]=e|32768;zk(a,98526);break a}break b;case 1:i[b+74>>1]=l[b+74>>1]|32768;zk(a,96987);break a;default:break c}}i[b+74>>1]=l[b+74>>1]|32768;Ye(a,97010);z()}a=j[c+4>>2];j[b+4>>2]=j[c>>2];j[b+8>>2]=a;a=j[c+28>>2];j[b+28>>2]=j[c+24>>2];j[b+32>>2]=a;a=j[c+20>>2];j[b+20>>2]=j[c+16>>2];j[b+24>>2]=a;a=j[c+12>>2];j[b+12>>2]=j[c+8>>2];j[b+16>>2]=a;a=f;d=j[a+12>>2];j[b+36>>2]=j[a+8>>2];j[b+40>>2]=d;d=j[a+20>>2];j[b+44>>2]=j[a+16>>2];j[b+48>>2]=d;d=j[a+28>>2];j[b+52>>2]=j[a+24>>2];j[b+56>>2]=d;d=j[a+36>>2];j[b+60>>2]=j[a+32>>2];j[b+64>>2]=d;j[b+68>>2]=j[a+40>>2];g=b,h=uj(c,97192,1e3)?e|66:e&65469|2,i[g+74>>1]=h}oe=f+48|0}function Xv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;d=oe-272|0;oe=d;qe[j[b+60>>2]](b,d+80|0,16,d+76|0);e=j[d+76>>2];a:{if((e|0)<0){c=162;break a}c=3;if(!e|(e|0)>16){break a}k=j[b+8>>2];l=j[b>>2];if((e|0)>=1){i=j[a+528>>2];e=0;while(1){c=(d+80|0)+p(g,12)|0;j[b>>2]=j[c>>2];j[b+8>>2]=j[c+4>>2];qe[j[b+60>>2]](b,d+16|0,4,d+12|0);f=j[d+12>>2];b:{if(!g){c=3;if(f-1>>>0>3){break a}c=vj(a,j[d+76>>2],f);if(c){break a}i=j[a+528>>2];c=j[d+12>>2];e=f;break b}c=e;if((f|0)==(c|0)){break b}c=3;break a}if((c|0)>=1){f=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+p(c,12)|0;j[b>>2]=j[h>>2];j[b+8>>2]=j[h+4>>2];h=qe[j[b+40>>2]](b,0)|0;j[j[f+24>>2]+(c<<2)>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}}j[b+8>>2]=k;j[b>>2]=l;c=0}j[b+12>>2]=c;oe=d+272|0}function wD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=oe-32|0;oe=e;g=j[a+28>>2];j[e+16>>2]=g;d=j[a+20>>2];j[e+28>>2]=c;j[e+24>>2]=b;b=d-g|0;j[e+20>>2]=b;g=b+c|0;k=2;b=e+16|0;a:{b:{f=V(j[a+60>>2],e+16|0,2,e+12|0)|0;d=0;c:{if(!f){break c}j[67100]=f;d=-1}d:{if(!d){while(1){d=j[e+12>>2];if((d|0)==(g|0)){break d}if((d|0)<=-1){break b}h=j[b+4>>2];f=h>>>0>>0;i=(f<<3)+b|0;h=d-(f?h:0)|0;j[i>>2]=h+j[i>>2];i=(f?12:4)+b|0;j[i>>2]=j[i>>2]-h;g=g-d|0;b=f?b+8|0:b;k=k-f|0;f=V(j[a+60>>2],b|0,k|0,e+12|0)|0;d=0;e:{if(!f){break e}j[67100]=f;d=-1}if(!d){continue}break}}if((g|0)!=-1){break b}}b=j[a+44>>2];j[a+28>>2]=b;j[a+20>>2]=b;j[a+16>>2]=b+j[a+48>>2];a=c;break a}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a>>2]=j[a>>2]|32;a=0;if((k|0)==2){break a}a=c-j[b+4>>2]|0}oe=e+32|0;return a|0}function IG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=q(0),l=0,m=0,p=q(0);a=oe-16|0;oe=a;b=1;a:{if(!(k[j[c+4>>2]+49|0]&32)){break a}i=n[c+16>>2];if(+L()==+i){break a}m=c,p=q(+L()),n[m+16>>2]=p;b=0}e=j[c+4>>2];if((j[e+48>>2]&4129)==32){d=+j[e+24>>2];o[a+8>>3]=d;f=+j[e+28>>2];o[a>>3]=f;if(j[c+20>>2]){I(j[c+12>>2],a+8|0,a|0)|0;f=o[a>>3];d=o[a+8>>3]}g=f;f=+n[c+16>>2];g=g*f;b:{if(r(g)<2147483648){e=~~g;break b}e=-2147483648}l=j[c+12>>2];d=d*f;c:{if(r(d)<2147483648){h=~~d;break c}h=-2147483648}J(l|0,h|0,e|0)|0;if(!(j[c+20>>2]|n[c+16>>2]==q(1))){Q(j[c+12>>2],+o[a+8>>3],+o[a>>3])|0}c=j[c+4>>2];if(!b){j[c+24>>2]=0;j[c+28>>2]=0}d=o[a>>3];d:{if(r(d)<2147483648){b=~~d;break d}b=-2147483648}d=o[a+8>>3];e:{if(r(d)<2147483648){e=~~d;break e}e=-2147483648}Cf(c,5,e,b)}oe=a+16|0;return 0}function xF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0;a:{h=j[a>>2];if((h|0)==1){break a}q=j[a+8>>2];l=j[q+4>>2];if((l|0)<1){break a}s=l+1|0;d=j[a+4>>2];k=(d+(h<<2)|0)-4|0;e=1;a=h;i=a;while(1){c=(h|0)/(a|0)|0;f=j[(s-m<<2)+q>>2];a=(a|0)/(f|0)|0;i=i-p(c,f-1|0)|0;o=1-e|0;b:{c:{d:{e:{switch(f-2|0){case 2:e=(i<<2)+k|0;g=c+i|0;f=(g<<2)+k|0;g=(c+g<<2)+k|0;if(o){yq(c,a,d,b,e,f,g);break c}yq(c,a,b,d,e,f,g);break d;case 0:e=(i<<2)+k|0;if(!o){xq(c,a,b,d,e);break d}xq(c,a,d,b,e);break c;default:break e}}g=p(a,c);r=(i<<2)+k|0;if(!((c|0)==1?e:o)){wq(c,f,a,g,b,b,b,d,d,r);break c}wq(c,f,a,g,d,d,d,b,b,r)}e=0;c=1;break b}e=1;c=0}m=m+1|0;if((l|0)!=(m|0)){continue}break}if(c^1|(h|0)<1){break a}a=0;while(1){c=a<<2;n[c+b>>2]=n[c+d>>2];a=a+1|0;if((h|0)!=(a|0)){continue}break}}}function tB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if(!b){return 1}f=a>>>16|0;a=a&65535;if(c){while(1){d=c>>>0<5552?c:5552;u=c-d|0;a:{if((d|0)>=16){while(1){c=k[b|0]+a|0;e=c+k[b+1|0]|0;g=e+k[b+2|0]|0;h=g+k[b+3|0]|0;i=h+k[b+4|0]|0;j=i+k[b+5|0]|0;l=j+k[b+6|0]|0;m=l+k[b+7|0]|0;n=m+k[b+8|0]|0;o=n+k[b+9|0]|0;p=o+k[b+10|0]|0;q=p+k[b+11|0]|0;r=q+k[b+12|0]|0;s=r+k[b+13|0]|0;t=s+k[b+14|0]|0;a=t+k[b+15|0]|0;f=a+(t+(s+(r+(q+(p+(o+(n+(m+(l+(j+(i+(h+(g+(e+(c+f|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;e=(d|0)>31;c=d-16|0;d=c;if(e){continue}break}if(!c){break a}}d=b;e=c;while(1){a=k[d|0]+a|0;f=f+a|0;d=d+1|0;e=e-1|0;if(e){continue}break}b=b+c|0}f=(f>>>0)%65521|0;a=(a>>>0)%65521|0;c=u;if(c){continue}break}}return f<<16|a}function Sh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=j[c+12>>2];d=j[b+120>>2];if(d){qe[d|0](j[b+116>>2])}while(1){d=j[b+84>>2];if(d){bs(d);continue}break}np(b+108|0,35,a,c);j[b+88>>2]=0;c=j[b+48>>2];if(c){qe[c|0](b)}if(j[b+36>>2]>=1){c=0;while(1){g=c<<2;d=j[g+j[b+40>>2]>>2];f=j[j[d>>2]+100>>2];h=j[j[d+12>>2]+8>>2];if(h){qe[h|0](d)}if(d){qe[j[f+8>>2]](f,d)}j[j[b+40>>2]+g>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}c=j[b+40>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+36>>2]=0;j[b+40>>2]=0;c=j[e+52>>2];if(c){qe[c|0](b)}c=j[b+104>>2];a:{if(!c){break a}d=j[c+28>>2];f=j[b+8>>2];b:{if(!c){break b}e=j[c+24>>2];if(!e){break b}qe[e|0](c)}if(f&1024){break a}if(c){qe[j[d+8>>2]](d,c)}}j[b+104>>2]=0;c=j[b+128>>2];if(c){if(c){qe[j[a+8>>2]](a,c)}j[b+128>>2]=0}if(b){qe[j[a+8>>2]](a,b)}}function _A(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){e=j[j[a+96>>2]+8>>2];j[a+20>>2]=0;j[a+24>>2]=0;d=j[a+100>>2];b=d;c=j[a+368>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+368>>2]=0;b=d;c=j[a+372>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+372>>2]=0;c=j[a+376>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+376>>2]=0;c=j[a+364>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+360>>2]=0;j[a+364>>2]=0;j[a+348>>2]=0;j[a+352>>2]=0;c=j[a+388>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+380>>2]=0;j[a+384>>2]=0;j[a+388>>2]=0;c=j[a+416>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+408>>2]=0;j[a+412>>2]=0;j[a+416>>2]=0;b=j[a+396>>2];if(b){qe[j[d+8>>2]](d,b)}j[a+392>>2]=0;j[a+396>>2]=0;b=j[a+424>>2];if(b){while(1){c=j[b>>2];if(b){qe[j[d+8>>2]](d,b)}b=c;if(b){continue}break}}j[a+428>>2]=0;j[a+420>>2]=0;j[a+424>>2]=0;b=j[a+32>>2];if(b){qe[j[e+8>>2]](e,b)}j[a+32>>2]=0}}function Kk(a,b,c,d){var e=0,f=0,g=0,i=0;e=j[c>>2];i=j[d>>2];a:{if(i>>>0>=b>>>0){break a}while(1){f=4;b:{c:{switch(h[a+i|0]-43|0){case 2:f=132;break b;case 3:f=16;break b;case 5:f=8;break b;case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:f=264;break b;case 0:break b;case 26:case 58:break c;default:break a}}f=32}d:{e:{switch((f&60|e&3)-4|0){case 0:if(e&60){break a}g=e|f;break d;case 12:if(e&16){break a}g=e|f;if(e&8){break d}g=e&448|f|1;break d;case 4:g=(e&16?e&384|17:e)|f|64;break d;case 28:if(!(e&8)){break a}g=e&448|2;break d;case 5:g=e|f|64;break d;case 29:if(!(e&8)){break a}g=e&448|2;break d;case 2:if(e&60){break a}g=e|4;break d;case 6:break e;default:break a}}g=e|72}e=g;i=i+1|0;if((i|0)!=(b|0)){continue}break}i=b}j[c>>2]=e;j[d>>2]=i;return e>>>3&1}function on(a){var b=0,c=0,d=0,e=0;Ke(a,j[a+492>>2]);j[a+492>>2]=0;b=j[a+496>>2];if(b){e=a;d=8-j[a+484>>2]|0;if((d|0)!=31){c=1;Ke(a,j[b>>2]);b=1<>2]+(c<<2)>>2]);c=c+1|0;if((b|0)!=(c|0)){continue}break}}b=j[a+496>>2]}Ke(e,b);j[a+496>>2]=0}Ke(a,j[a+500>>2]);j[a+500>>2]=0;Ke(a,j[a+504>>2]);j[a+504>>2]=0;b=j[a+508>>2];if(b){e=a;d=8-j[a+484>>2]|0;if((d|0)!=31){c=1;Ke(a,j[b>>2]);b=1<>2]+(c<<2)>>2]);c=c+1|0;if((b|0)!=(c|0)){continue}break}}b=j[a+508>>2]}Ke(e,b);j[a+508>>2]=0}b=j[a+512>>2];if(b){e=a;d=8-j[a+484>>2]|0;if((d|0)!=31){c=1;Ke(a,j[b>>2]);b=1<>2]+(c<<2)>>2]);c=c+1|0;if((b|0)!=(c|0)){continue}break}}b=j[a+512>>2]}Ke(e,b);j[a+512>>2]=0}}function qn(a,b,c,d,e,f,g,h){var i=0,l=0;a:{b:{if(!b){i=97888;break b}i=97944;if((b|0)<=-1){Ze(a,97916);l=1}else{l=0}if((b+7&-8)>>>0<536870905){break a}}Ze(a,i);l=1}i=l;if(m[a+748>>2]>>0){Ze(a,97991);i=1}b=a;c:{if(c){if((c|0)>-1){break c}l=98059}else{l=98030}Ze(b,l);i=1}if(m[a+752>>2]>>0){Ze(a,98088);i=1}if(!(1<>>0<=16:0)){Ze(a,98128);i=1}b=e&-5;if(!((b|0)!=1?e>>>0<=6:0)){Ze(a,98154);i=1}if(!(!((e|0)==4|(b|0)==2)|(d|0)>7?!((e|0)==3?(d|0)>=9:0):0)){Ze(a,98181);i=1}if((f|0)>=2){Ze(a,98230);i=1}if(g){Ze(a,98263);i=1}if(!(!(k[a+209|0]&16)|!j[a+708>>2])){Ze(a,98298)}d:{e:{f:{if(!h){break f}if(!(!(j[a+708>>2]&4)|(h|0)!=64|(b|0)!=2)){if(!(j[a+208>>2]&4096)){break f}}Ze(a,98347);if(!(k[a+209|0]&16)){break e}Ze(a,98377);break e}if(!i){break d}}Ye(a,98407);z()}}function ng(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){break a}i=j[a>>2];if(!i){break a}f=j[a+36>>2];if((f|0)>=j[a+32>>2]){break a}d=j[a+16>>2];g=j[d+(f<<2)>>2];if(g&1024){j[a+36>>2]=f+1;b=a;c=j[a+348>>2];a=j[a+344>>2]+1|0;c=a>>>0<1?c+1|0:c;j[b+344>>2]=a;j[b+348>>2]=c;return-1}e=g&512;h=255;c=g&255;b:{if((c|0)!=255){h=c;break b}while(1){f=f+1|0;c=j[(f<<2)+d>>2];e=c&512?512:e;c=c&255;h=c+h|0;if((c|0)==255){continue}break}}c:{if(!b){e=j[a+344>>2];c=j[a+348>>2];g=j[a+12>>2];break c}j[b+8>>2]=g&256;j[b+12>>2]=e;g=j[a+12>>2];j[b>>2]=i+g;d=j[a+348>>2];c=d;e=j[a+344>>2];j[b+24>>2]=e;j[b+28>>2]=c;d=j[a+20>>2]+(f<<3)|0;i=j[d+4>>2];d=j[d>>2];j[b+4>>2]=h;j[b+16>>2]=d;j[b+20>>2]=i}d=e+1|0;c=d>>>0<1?c+1|0:c;j[a+344>>2]=d;j[a+348>>2]=c;e=1;j[a+36>>2]=f+1;j[a+12>>2]=g+h}return e}function Er(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a:{b:{switch(d-1|0){case 0:d=h;h=h^255;a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];d=d+((p(h,c>>>24|0)>>>0)/255|0)<<24|((p(h,c&255)>>>0)/255|0)+g;b=((p(h,c>>>8&255)>>>0)/255|0)+f<<8;g=((p(h,c>>>16&255)>>>0)/255|0)+e<<16;break a;case 1:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=(c&255)+g|0;d=(b>>>0<255?b:255)|c&-16777216;b=(c>>>8&255)+f|0;b=(b>>>0<255?b:255)<<8;c=(c>>>16&255)+e|0;g=(c>>>0<255?c:255)<<16;break a;case 3:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];d=c&-16777216|(p(c&255,g)>>>0)/255;b=(p(c>>>8&255,f)>>>0)/255<<8;g=(p(c>>>16&255,e)>>>0)/255<<16;break a;default:break b}}d=f<<8|e<<16;a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;b=h<<24}j[a>>2]=d|g|b;return 0}function OA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;i=oe-16|0;oe=i;e=6;a:{if((b|0)<0|j[a+16>>2]<=(b|0)){break a}f=j[a+8>>2];e=j[a+4>>2]+d|0;b:{if(f>>>0>=e>>>0){break b}g=j[a>>2];k=c-g|0;n=(k|0)>-1&f>>>0>k>>>0;while(1){f=((f>>>2|0)+f|0)+1024&-1024;if(e>>>0>f>>>0){continue}break}l=j[a+32>>2];h=He(l,f,i+12|0);j[a>>2]=h;e=j[i+12>>2];if(e){j[a>>2]=g;break a}if(g){Ae(h,g,j[a+8>>2]);h=j[a+16>>2];if((h|0)>=1){o=j[a>>2]-g|0;e=j[a+24>>2];h=e+(h<<2)|0;while(1){m=j[e>>2];if(m){j[e>>2]=o+m}e=e+4|0;if(h>>>0>e>>>0){continue}break}}if(g){qe[j[l+8>>2]](l,g)}}j[a+8>>2]=f;e=n?k:-1;if((e|0)<0){break b}c=e+j[a>>2]|0}b=b<<2;e=j[a+4>>2];j[b+j[a+24>>2]>>2]=e+j[a>>2];j[b+j[a+28>>2]>>2]=d;Ae(e+j[a>>2]|0,c,d);j[a+4>>2]=j[a+4>>2]+d;e=0}oe=i+16|0;return e|0}function RO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=q(0),g=0,i=q(0);g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=g>>>5|0;if(e){d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=d;while(1){f=n[c+28>>2];i=q(n[c+24>>2]*q(.5));n[d>>2]=q(i+n[c>>2])/q(1.5);f=q(f*q(.5));n[d+4>>2]=q(f+n[c+4>>2])/q(1.5);n[d+8>>2]=n[c+8>>2]/q(1.5);n[d+12>>2]=n[c+12>>2]/q(1.5);n[d+16>>2]=q(i+n[c+16>>2])/q(1.5);n[d+20>>2]=q(f+n[c+20>>2])/q(1.5);d=d+24|0;c=c+32|0;e=e-1|0;if(e){continue}break}}c=p((g|0)/8|0,6);h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function sm(a){var b=0,c=0;if(!(j[a>>2]==268305?a:0)){ve(125709,0);return}ms(667,a);c=j[a+344>>2];b=a+348|0;a:{if(!c){break a}j[c+24>>2]=j[a+348>>2];b=a+340|0}b=j[b>>2];j[a+348>>2]=0;j[a+340>>2]=0;j[a+344>>2]=0;if(b){while(1){c=j[b+24>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}b=j[a+408>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+428>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}b=j[a+432>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}while(1){b=j[a+312>>2];if(b){yh(b);continue}break}b=j[a+188>>2];if(b){Yj(b,125666,0)}j[a>>2]=0;b=j[a+320>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}j[a+320>>2]=0;qe[j[a+84>>2]](a)}function PH(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;c=j[a+12>>2];f=j[a+8>>2];a:{if((f|0)>=1){while(1){g=p(h,20)+c|0;if((g|0)==(b|0)){break a}d=j[g+4>>2];e=j[b+4>>2];b:{if((d|0)!=(e|0)){if(d-e|0){break b}break a}d=j[g+8>>2];e=j[b+8>>2];if((d|0)!=(e|0)){if(d-e|0){break b}break a}d=j[b>>2];e=d>>>8&255;i=j[g>>2];k=i>>>8&255;if((e|0)!=(k|0)){if(k-e|0){break b}break a}e=i>>>16&15;d=d>>>16&15;if((e|0)!=(d|0)){if(e-d|0){break b}break a}if(j[g+12>>2]==j[b+12>>2]){break a}}h=h+1|0;if((h|0)!=(f|0)){continue}break}}if(j[a+4>>2]==(f|0)){c=mf(c,p(f,20)+640|0);if(!c){return}j[a+12>>2]=c;j[a+4>>2]=j[a+4>>2]+32}c=p(f,20)+c|0;f=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=f;j[c+16>>2]=j[b+16>>2];f=j[b+12>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=f;b=j[a+8>>2]+1|0;j[a+8>>2]=b;Wq(j[a+12>>2],b)}}function VD(a){var b=0,c=0,d=0,e=0;b=oe-16|0;oe=b;e=(tP(a),oP(2));c=e&2147483647;a:{if(c>>>0<=1061752794){if(c>>>0<964689920){break a}a=Xi(+a);break a}if(c>>>0<=1081824209){d=+a;if(c>>>0<=1075235811){if((e|0)<=-1){a=q(-ri(d+1.5707963267948966));break a}a=ri(d+ -1.5707963267948966);break a}a=Xi(-(((e|0)>-1?-3.141592653589793:3.141592653589793)+d));break a}if(c>>>0<=1088565717){d=+a;if(c>>>0<=1085271519){if((e|0)<=-1){a=ri(d+4.71238898038469);break a}a=q(-ri(d+ -4.71238898038469));break a}a=Xi(((e|0)>-1?-6.283185307179586:6.283185307179586)+d);break a}if(c>>>0>=2139095040){a=q(a-a);break a}b:{switch(SD(a,b+8|0)&3){case 0:a=Xi(o[b+8>>3]);break a;case 1:a=ri(o[b+8>>3]);break a;case 2:a=Xi(-o[b+8>>3]);break a;default:break b}}a=q(-ri(o[b+8>>3]))}oe=b+16|0;return a}function Bk(a,b,c,d){var e=0;a:{b:{c:{d:{e:{if(j[a+684>>2]){if(!jn(a,c)){c=1;break a}e=qe[j[a+684>>2]](a,a+764|0)|0;if((e|0)<=-1){break d}c=0;if(e){break a}if((d|0)>1){break e}if(j[a+688>>2]>1){break c}di(a,100712);cn(a,100734);break c}f:{g:{h:{d=d?d:j[a+688>>2];switch(d-2|0){case 1:break g;case 0:break h;default:break f}}if(!(k[a+379|0]&32)){break f}}if(jn(a,c)){break e}c=1;break a}Ie(a,c)}c=1;switch(d-2|0){case 1:break b;case 0:break c;default:break a}}hf(a,100692);z()}c=1;if(!(k[a+379|0]&32)){break a}}i:{j:{k:{d=j[a+756>>2];switch(d|0){case 1:break a;case 0:break i;case 2:break k;default:break j}}j[a+756>>2]=1;Je(a,100560);break a}j[a+756>>2]=d-1}Gu(a,b,a+764|0);c=0}b=j[a+772>>2];if(b){Ke(a,b)}j[a+772>>2]=0;if(!(k[a+379|0]&32?0:c)){return}hf(a,100810);z()}function _n(a,b){var c=0,d=0,e=0,f=0;c=j[a+292>>2];e=j[a>>2];d=Vk(c,e,a);if(!d){h[c+561|0]=b;h[c+488|0]=0;j[c+16>>2]=0;j[c+428>>2]=0;f=j[e+640>>2];b=j[e+636>>2];j[c+460>>2]=0;j[c+464>>2]=0;j[c+456>>2]=b;j[c+452>>2]=f;d=0;if(b){j[c+364>>2]=b;j[c+356>>2]=f;j[c+360>>2]=0;j[c+352>>2]=2;d=qe[j[e+652>>2]](c)|0}j[a+300>>2]=d;i[c+300>>1]=0;i[c+292>>1]=0;i[c+294>>1]=16384;i[c+296>>1]=0;i[c+298>>1]=16384;j[c+284>>2]=0;j[c+288>>2]=1073741824;i[c+348>>1]=1;j[c+344>>2]=65537;j[c+304>>2]=1;Ae(a+172|0,c+284|0,68);j[a+116>>2]=j[c+396>>2];j[a+128>>2]=j[c+408>>2];j[a+140>>2]=j[c+420>>2];j[a+144>>2]=j[c+424>>2];b=j[c+448>>2];j[a+148>>2]=j[c+444>>2];j[a+152>>2]=b;b=j[c+456>>2];j[a+156>>2]=j[c+452>>2];j[a+160>>2]=b;b=j[c+464>>2];j[a+164>>2]=j[c+460>>2];j[a+168>>2]=b}return d}function qp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=65533;f=j[b>>2];a:{if(!f){break a}b:{c:{d:{g=j[a>>2];d=k[g|0];e:{if(d>>>0>=252){c=65533;if((d&254)!=252){break e}e=5;c=1;break d}if(d>>>0>=248){c=65533;if((d&252)!=248){break e}e=4;c=3;break d}if(d>>>0>=240){c=65533;if((d&248)!=240){break e}e=3;c=7;break d}if(d>>>0>=224){c=65533;if((d&240)!=224){break e}e=2;c=15;break d}if(d>>>0>=192){c=65533;if((d&224)!=192){break e}e=1;c=31;break d}c=d&128?65533:d}j[a>>2]=g+1;j[b>>2]=f-1;break c}i=g+1|0;j[a>>2]=i;h=f-1|0;j[b>>2]=h;c=c&d;while(1){if(!h){break b}f=k[g+1|0];if((f&192)!=128){break b}g=g+1|0;i=i+1|0;j[a>>2]=i;h=h-1|0;j[b>>2]=h;c=f&63|c<<6;e=e-1|0;if(e){continue}break}}if((c&-2)==65534|c>>>0>1114111){break b}if((c&-2048)!=55296){break a}}c=65533}return c}function lu(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0;e=oe-32|0;oe=e;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ie(a,c);Je(a,100560);break a}e:{d=j[a+208>>2];if(d&1){if(d&4){j[a+208>>2]=d|8}f=c+1|0;d=j[a+788>>2];f:{if(d){if(f>>>0<=m[a+792>>2]){break f}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,d)}d=$f(a,f);if(!d){break e}j[a+792>>2]=f;j[a+788>>2]=d}pf(a,d,c);tf(a,d,c);if(Ie(a,0)){break a}g=c+d|0;h[g|0]=0;c=d;while(1){f=c;c=c+1|0;if(k[f|0]){continue}break}j[e+24>>2]=0;j[e+4>>2]=d;j[e>>2]=-1;j[e+16>>2]=0;j[e+20>>2]=0;c=(f|0)==(g|0)?f:c;j[e+8>>2]=c;i=e,l=Le(c),j[i+12>>2]=l;if(!Fk(a,b,e)){break a}Ze(a,100584);break a}hf(a,100003);z()}di(a,101404);Je(a,100173)}oe=e+32|0}function iN(){var a=0,b=0,c=0,d=0;a:{if(!Ii(512)){break a}if(k[268300]){if(!j[67073]){break a}return}h[268300]=1;a=j[67074];if(a){while(1){b:{if(!j[a+60>>2]){break b}b=j[a+80>>2];if(b){qe[j[b+36>>2]](a)}if(!j[a+68>>2]){break b}sN(a)}if(j[a+72>>2]){c=j[a+28>>2];if((c|0)>=1){b=0;while(1){d=j[a+32>>2]+(b<<4)|0;if(j[d+8>>2]){zm(a,b&255,i[d+4>>1]);c=j[a+28>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}b=0;if(j[a+52>>2]>0){while(1){Xr(a,b&255,0);b=b+1|0;if((b|0)>2]){continue}break}}b=0;if(j[a+36>>2]>0){while(1){jN(a,b&255);b=b+1|0;if((b|0)>2]){continue}break}}j[a+72>>2]=0}a=j[a+92>>2];if(a){continue}break}}h[268300]=0;a=j[67074];if(a){while(1){if(j[a+88>>2]<=0){Am(a)}a=j[a+92>>2];if(a){continue}break}}qe[j[58772]]();if(!j[67073]){break a}}}function Hf(a,b,c,d,e){var f=0,g=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;f=oe-240|0;oe=f;if(b){i[b+74>>1]=l[b+74>>1]|32768}g=Uf(f+32|0,196,0,98554);j=Uf(f+32|0,196,Uf(f+32|0,g+79|0,g,c),98564);q=f+32|0;a:{b:{g=d>>>24|0;if(g-48>>>0>9?!((g&223)-65>>>0<26|(g|0)==32):0){break b}k=d>>>16|0;m=k&255;if(m-48>>>0>9?!((m|0)==32|(k&223)-65>>>0<26):0){break b}n=d>>>8|0;o=n&255;if(o-48>>>0>9?!((o|0)==32|(n&223)-65>>>0<26):0){break b}p=d&255;if(p-48>>>0>9?!((p|0)==32|(d&223)-65>>>0<26):0){break b}c=(f+32|0)+j|0;h[c+5|0]=39;h[c+6|0]=58;h[c|0]=39;h[c+7|0]=32;h[c+4|0]=p-32>>>0<95?d:63;h[c+3|0]=o-32>>>0<95?n:63;h[c+2|0]=m-32>>>0<95?k:63;h[c+1|0]=g-32>>>0<95?g:63;c=j+8|0;break a}c=Uf(f+32|0,196,Uf(f+32|0,196,j,Mt(f,f+24|0,d)),98568)}Uf(q,196,c,e);Mf(a,f+32|0,b?2:1);oe=f+240|0}function zm(a,b,c){var d=0,e=0,f=0,g=0;f=oe+ -64|0;oe=f;a:{if(j[a+28>>2]<=(b|0)){break a}e=j[a+32>>2];d=e+(b<<4)|0;if(!j[d+8>>2]){i[d+4>>1]=c;i[d+2>>1]=c;i[d>>1]=c;j[d+8>>2]=1;break a}d=l[d+2>>1];if((d|0)==(c&65535)){break a}if(!j[(e+(b<<4)|0)+12>>2]){e=c-(d<<16>>16)|0;d=e>>31;if((d^d+e)<410){break a}d=j[a+32>>2]+(b<<4)|0;i[d+2>>1]=c;j[d+12>>2]=1;zm(a,b,i[d>>1])}b:{if(k[268304]){break b}e=j[66371];d=j[67085];if(d){d=j[d+308>>2]!=0}else{d=0}if(e|!d){break b}d=j[a+32>>2];e=d+(b<<4)|0;g=i[e+4>>1];if(i[e+2>>1]<=(c|0)?(g|0)<(c|0):0){break a}if((c|0)>=(g|0)){break b}if(i[(d+(b<<4)|0)+2>>1]>=(c|0)){break a}}i[(j[a+32>>2]+(b<<4)|0)+2>>1]=c;if((We(1536,-1)|0)!=1){break a}j[f+8>>2]=1536;a=j[a>>2];i[f+24>>1]=c;h[f+20|0]=b;j[f+16>>2]=a;gf(f+8|0)}oe=f- -64|0}function vM(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0;if(!a){ve(138265,0);return}i=j[a+4>>2];l=k[i+8|0];if(l>>>0<=7){ve(138297,0);return}m=j[a+36>>2];a:{if((m|0)>(b|0)){break a}n=j[a+40>>2];if((j[a+44>>2]+m|0)<=(b|0)|(n|0)>(c|0)|(j[a+48>>2]+n|0)<=(c|0)){break a}if(d-1>>>0<=1){g=(p(g,h)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;e=(p(e,h)>>>0)/255|0}b:{c:{switch(l-15|0){case 0:if(j[i+12>>2]!=31744){break b}Hr(a,b,c,d,e&255,f&255,g&255,h);return;case 1:if(j[i+12>>2]!=63488){break b}Gr(a,b,c,d,e&255,f&255,g&255,h);return;case 17:break c;default:break b}}if(j[i+12>>2]!=16711680){break b}if(!j[i+24>>2]){Fr(a,b,c,d,e&255,f&255,g&255,h);return}Er(a,b,c,d,e&255,f&255,g&255,h);return}if(!j[i+24>>2]){Dr(a,b,c,d,e&255,f&255,g&255,h);return}Cr(a,b,c,d,e&255,f&255,g&255,h)}}function Sk(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if(b>>>0>c>>>0){break a}f=j[a+12>>2];if(f>>>0<=d>>>0|e>>>0>=f>>>0){break a}g=j[a+8>>2];f=j[g+(d<<3)>>2];g=j[g+(e<<3)>>2];b:{if((f|0)<=(g|0)){i=g;g=f;f=e;e=d;break b}i=f;f=d}k=j[a+4>>2];f=f<<3;h=j[k+f>>2];d=j[a>>2];m=j[f+d>>2];o=h-m|0;e=e<<3;l=j[e+k>>2];n=j[d+e>>2];p=l-n|0;if(!((g|0)==(i|0)|(h|0)==(l|0))){q=i-g|0;e=h-l|0;i=0;f=0;while(1){h=b<<3;d=j[h+d>>2];c:{if((d|0)<=(n|0)){d=d+p|0;break c}if((d|0)>=(m|0)){d=d+o|0;break c}if(!(i&255)){f=De(e,q)}d=ye(j[j[a+8>>2]+h>>2]-g|0,f)+l|0;k=j[a+4>>2];i=1}j[h+k>>2]=d;b=b+1|0;if(c>>>0>>0){break a}d=j[a>>2];continue}}while(1){a=b<<3;e=j[a+d>>2];j[a+k>>2]=(e|0)>(n|0)?(e|0)<(m|0)?l:e+o|0:e+p|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function Gj(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 0}b=j[a+4>>2];c=j[a>>2];if(!c){a=b>>31;return a+b^a}a=c>>31;a=a+c^a;if(b){d=a;a=b>>31;g=d|a+b^a;f=s(g);h=f-2|0;a:{if(g>>>0<=1073741823){a=b<>b;b=c>>b}c=0-b|0;b:{if((a|0)>(b|0)){d=(a|0)>(c|0);b=d?c:0-a|0;c=d?a:c;break b}d=(a|0)<(c|0);c=d?0-a|0:b;b=d?b:a}a=1;d=1;while(1){e=a+b>>d;c:{if((b|0)>=1){b=b-(a+c>>d)|0;c=c+e|0;break c}b=(a+c>>d)+b|0;c=c-e|0}a=a<<1;d=d+1|0;if((d|0)!=23){continue}break}a=c>>31;b=a+c^a;d=b&65535;a=p(d,56281);e=b>>>16|0;b=a+p(e,23318)|0;i=b<<16;d=i+p(d,23318)|0;a=(((p(e,56281)+(b>>>16|0)|0)+((a>>>0>b>>>0)<<16)|0)+(d>>>0>>0)|0)+(d>>>0>3221225471)|0;a=(c|0)<0?0-a|0:a;if(g>>>0<=536870911){return a+(1<>h}a=a<<2-f}return a}function uM(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;if(!a){ve(138265,0);return}i=j[a+4>>2];l=k[i+8|0];if(l>>>0<=7){ve(138342,0);return}if(d-1>>>0<=1){g=(p(g,h)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;e=(p(e,h)>>>0)/255|0}a:{b:{c:{switch(l-15|0){case 0:l=690;if(j[i+12>>2]!=31744){break b}break a;case 17:if(j[i+12>>2]!=16711680){break b}l=j[i+24>>2]?691:692;break a;case 1:break c;default:break b}}l=693;if(j[i+12>>2]==63488){break a}}l=j[i+24>>2]?694:695}if((c|0)>=1){i=j[a+40>>2];n=i+j[a+48>>2]|0;m=j[a+36>>2];o=m+j[a+44>>2]|0;q=g&255;r=f&255;s=e&255;e=0;while(1){g=(e<<3)+b|0;f=j[g+4>>2];d:{if((f|0)>=(n|0)){break d}g=j[g>>2];if((g|0)<(m|0)|(g|0)>=(o|0)|(f|0)<(i|0)){break d}qe[l|0](a,g,f,d,s,r,q,h)|0}e=e+1|0;if((e|0)!=(c|0)){continue}break}}}function cf(a,b,c){var d=0,e=0,f=0;a:{b:{if(c>>>0>32){break b}d=j[a+12>>2];e=j[a+16>>2];if(j[a>>2]>=(e-4|0)){if(!d){break a}if((e|0)>2147483391){break b}d=Vf(j[a+8>>2],e+256|0);if(!d){break b}j[a+8>>2]=d;j[a+16>>2]=j[a+16>>2]+256;d=d+j[a>>2]|0;j[a+12>>2]=d}e=d;f=k[d|0];d=j[(c<<2)+223632>>2]&b;b=j[a+4>>2];h[e|0]=f|d<>2]+1|0]=d>>>8-j[a+4>>2];if((b|0)<16){break c}h[j[a+12>>2]+2|0]=d>>>16-j[a+4>>2];if((b|0)<24){break c}h[j[a+12>>2]+3|0]=d>>>24-j[a+4>>2];if((b|0)<32){break c}c=j[a+4>>2];if(c){h[j[a+12>>2]+4|0]=d>>>32-c;break c}h[j[a+12>>2]+4|0]=0}j[a+4>>2]=b&7;b=(b|0)/8|0;j[a>>2]=b+j[a>>2];j[a+12>>2]=b+j[a+12>>2];return}b=j[a+8>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function aN(a){var b=0,c=0;if(!(j[a>>2]==268305?a:0)){ve(125709,0);return}a:{b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break a}b=Xe(1,28);if(b){break a}Be(0);return}c=j[a+344>>2];j[(c?c+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){return}j[b>>2]=4;j[b+4>>2]=0;h[b+8|0]=k[a+324|0];h[b+9|0]=k[a+325|0];h[b+10|0]=k[a+326|0];h[b+11|0]=k[a+327|0];b:{if(j[a+336>>2]){break b}c=j[a+340>>2];if(!c){break b}b=a+420|0;qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[b+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;c=j[a+344>>2];if(c){j[c+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}}function $n(a){var b=0,c=0,d=0,e=0,f=0;c=j[j[a>>2]+100>>2];b=j[a+292>>2];if(b){j[b+440>>2]=0;e=j[b+8>>2];d=e;f=j[b+24>>2];if(f){qe[j[d+8>>2]](d,f)}j[b+20>>2]=0;j[b+24>>2]=0;d=j[b+436>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+436>>2]=0;j[b+428>>2]=0;j[b+432>>2]=0;d=j[b+392>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+388>>2]=0;j[b+392>>2]=0;j[b>>2]=0;j[b+4>>2]=0;if(b){qe[j[e+8>>2]](e,b)}j[a+292>>2]=0}b=j[a+244>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+240>>2]=0;j[a+244>>2]=0;b=j[a+252>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+248>>1]=0;j[a+252>>2]=0;Wk(a+256|0);b=j[a+124>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+124>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+128>>2]=0;j[a+132>>2]=0;j[a+116>>2]=0;j[a+120>>2]=0;j[a+136>>2]=0;j[a+140>>2]=0;j[a+144>>2]=0;j[a+296>>2]=-1;j[a+300>>2]=-1}function qG(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;e=j[a+40>>2];f=j[a+44>>2];a:{if(!(j[a- -64>>2]?0:j[a+60>>2])){sk(j[a+52>>2]);break a}h[d+15|0]=0;h[d+13|0]=105;h[d+14|0]=105;b=k[a+10|0];c=j[a+16>>2];j[d>>2]=j[a+72>>2];j[d+4>>2]=(c>>>2>>>0)/(b>>>0);E(160902,d+13|0,d|0)|0;b=j[a+52>>2];if(!b){qe[f|0](j[a+48>>2],j[a+72>>2],e);break a}if((Gi(b,j[a+72>>2],j[a+16>>2])|0)==-1){j[a+60>>2]=0}c=j[a+52>>2];b=0;b:{if(!c){break b}c=j[c+168>>2];b=0;c:{if(!c){break c}b=j[c+16>>2]}}if((b|0)<(e|0)){break a}while(1){if((Wh(j[a+52>>2],j[a+72>>2],e)|0)!=(e|0)){Oe(j[a+72>>2],k[a+35|0],e)}qe[f|0](j[a+48>>2],j[a+72>>2],e);c=j[a+52>>2];b=0;d:{if(!c){break d}c=j[c+168>>2];b=0;e:{if(!c){break e}b=j[c+16>>2]}}if((b|0)>=(e|0)){continue}break}}oe=d+16|0}function RD(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;rP(+a);b=oP(1)|0;e=oP(0)|0;a:{b:{c:{d:{if((b|0)>0?1:(b|0)>=0){f=b;if(b>>>0>1048575){break d}}if(!(b&2147483647|e)){return-1/(a*a)}if((b|0)>-1){break c}return(a-a)/0}if(f>>>0>2146435071){break a}b=1072693248;g=-1023;if((f|0)!=1072693248){b=f;break b}if(e){break b}return 0}rP(+(a*0x40000000000000));b=oP(1)|0;e=oP(0)|0;g=-1077}b=b+614242|0;d=+((b>>>20|0)+g|0);pP(0,e|0);pP(1,(b&1048575)+1072079006|0);a=+qP()+ -1;c=a/(a+2);h=d*.6931471803691238;i=a;j=d*1.9082149292705877e-10;k=c;d=a*(a*.5);c=c*c;a=c*c;a=h+(i+(j+k*(d+(a*(a*(a*.15313837699209373+.22222198432149784)+.3999999999940942)+c*(a*(a*(a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))-d))}return a}function Kg(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;a:{b:{if(c-2>>>0>34){break b}d=j[a>>2];if(d>>>0>=b>>>0){break b}c:{d:{e=k[d|0];switch(e-43|0){case 0:case 2:break d;default:break c}}d=d+1|0;if((d|0)==(b|0)){break a}n=(e|0)==45}i=2147483647/(c>>>0)|0;e:{f:{if(b>>>0<=d>>>0){j[a>>2]=d;e=0;break f}o=2147483647-p(c,i)|0;g:{while(1){m=l;e=f;h:{f=k[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break g;default:break h}}if(f<<24>>24<0){break g}f=h[f+23856|0];if((f|0)<0|(c|0)<=(f|0)){break g}l=1;g=e;i:{if((e|0)>(i|0)){break i}if((e|0)==(i|0)){g=i;if((f|0)>(o|0)){break i}}l=m;g=f+p(c,e)|0}f=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}m=l;e=f;d=b}j[a>>2]=d;a=2147483647;if(m&255){break e}}a=e}e=n?0-a|0:a}return e}return 0}function KO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0),l=q(0),m=q(0),o=0,r=0;c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);f=(p(c,3)|0)/2|0;g=c>>>4|0;if(g){d=c;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);d=d+c|0;e=c+f|0;while(1){i=n[d-12>>2];c=d-16|0;l=n[c>>2];d=d-8|0;o=j[d+4>>2];r=j[d>>2];j[e-12>>2]=0;d=e-8|0;j[d>>2]=r;j[d+4>>2]=o;m=q(q(l+i)*q(.5));n[e-16>>2]=m;n[e-20>>2]=i+q(i-m);e=e-24|0;n[e>>2]=l+q(l-m);d=c;g=g-1|0;if(g){continue}break}}h[a+24|0]=f;h[a+25|0]=f>>>8;h[a+26|0]=f>>>16;h[a+27|0]=f>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function CF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=oe-1440|0;oe=f;a=j[a+84>>2];$()|0;a:{if(!a){break a}if(_(j[a>>2],f+8|0)|0){break a}d=o[f+8>>3];if(d==o[a+32>>3]?d!=0:0){break a}e=j[a+20>>2];if((e|0)>=1){while(1){b=c<<2;h=(b+a|0)+1064|0;g=j[h>>2];b=(b+f|0)+1048|0;i=j[b>>2];if((g|0)!=(i|0)){Xr(j[a+16>>2],c&255,(i|0)!=0);g=j[b>>2];e=j[a+20>>2]}b=c<<3;o[(b+a|0)+552>>3]=o[(b+f|0)+536>>3];j[h>>2]=g;c=c+1|0;if((e|0)>(c|0)){continue}break}}e=j[a+24>>2];if((e|0)>=1){c=0;while(1){b=c<<3;g=b+a|0;b=b+f|0;d=o[b+24>>3];if(d!=o[g+40>>3]){h=j[a+16>>2];i=c&255;d=d*32767;b:{if(r(d)<2147483648){e=~~d;break b}e=-2147483648}zm(h,i,e);d=o[b+24>>3];e=j[a+24>>2]}o[g+40>>3]=d;c=c+1|0;if((e|0)>(c|0)){continue}break}}o[a+32>>3]=o[f+8>>3]}oe=f+1440|0}function rG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,m=0,n=0;e=oe+ -64|0;oe=e;h[e+62|0]=105;h[e+63|0]=0;j[e+32>>2]=d;a:{if((E(158217,e+62|0,e+32|0)|0)<=-1){b=ve(158710,0);break a}b:{b=WO(l[a+8>>1]);if(b){g=a+4|0;while(1){c=b;f=(b&65535)!=33056;if(!f){i[a+8>>1]=33056}b=VO();if(f?b:0){continue}break}if((c&65535)==33056){break b}}b=ve(158742,0);break a}j[a+96>>2]=1;b=0;h[e+61|0]=0;m=a,n=E(158770,e+61|0,0)|0,j[m+4>>2]=n;UO(g);if(d){h[e+60|0]=0;j[e+56>>2]=1768515945;c=k[a+10|0];d=l[a+12>>1];j[e+28>>2]=a;j[e+24>>2]=999;j[e+20>>2]=d;j[e+16>>2]=c;E(158840,e+56|0,e+16|0)|0;break a}h[e+52|0]=0;j[e+48>>2]=1768515945;c=k[a+10|0];d=l[a+12>>1];j[e+12>>2]=a;j[e+8>>2]=1e3;j[e+4>>2]=d;j[e>>2]=c;E(160492,e+48|0,e|0)|0}oe=e- -64|0;return b|0}function sO(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,i=0;e=a;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);f=b>>>2|0;if(f){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);g=b;while(1){i=g;c=n[b>>2];d=127;a:{if(c>=q(1)){break a}d=128;if(c<=q(-1)){break a}c=q(c*q(127));if(q(r(c))>>8;h[e+26|0]=b>>>16;h[e+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,32776)}}function tg(a,b,c){var d=0;a:{if((a|0)==(b|0)){break a}if((b-a|0)-c>>>0<=0-(c<<1)>>>0){return Ae(a,b,c)}d=(a^b)&3;b:{c:{if(a>>>0>>0){if(d){d=a;break b}if(!(a&3)){d=a;break c}d=a;while(1){if(!c){break a}h[d|0]=k[b|0];b=b+1|0;c=c-1|0;d=d+1|0;if(d&3){continue}break}break c}d:{if(d){break d}if(a+c&3){while(1){if(!c){break a}c=c-1|0;d=c+a|0;h[d|0]=k[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break d}while(1){c=c-4|0;j[c+a>>2]=j[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c-1|0;h[c+a|0]=k[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break b}while(1){j[d>>2]=j[b>>2];b=b+4|0;d=d+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}while(1){h[d|0]=k[b|0];d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}return a}function rO(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,i=0;e=a;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);f=b>>>2|0;if(f){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);g=b;while(1){i=g;c=n[b>>2];d=255;a:{if(c>=q(1)){break a}d=0;if(c<=q(-1)){break a}c=q(q(c+q(1))*q(127));if(c=q(0)){d=~~c>>>0;break a}d=0}h[i|0]=d;g=g+1|0;b=b+4|0;f=f-1|0;if(f){continue}break}b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24)}b=(b|0)/4|0;h[e+24|0]=b;h[e+25|0]=b>>>8;h[e+26|0]=b>>>16;h[e+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,8)}}function ep(a,b,c,d,e,f,g){var h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0;j[d>>2]=0;if(!(!(e|f)|(a|0)<655)){q=d;r=(e|0)/2|0;if(f){o=j[g+28>>2];i=j[g+20>>2];h=j[g+16>>2];k=j[g+12>>2];l=j[g+8>>2];m=j[g+4>>2];p=j[g>>2];t=d;n=j[g+24>>2];f=n<<16;d=ye(c+e|0,a);if((62-(s(b)+s(d)|0)|0)<46){f=ye(d,b)}c=f;e=p<<16;a:{if((c|0)<(e|0)){b=De(m<<16,b);break a}b:{c:{d:{g=l<<16;e:{if((g|0)>(c|0)){e=De(e,b);c=l-p|0;if(!c){break e}b=Ne(d-e|0,k-m|0,c)+De(m<<16,b)|0;break a}f=h<<16;if((c|0)>=(f|0)){break d}}e=De(g,b);c=h-l|0;if(!c){f=h<<16;break c}b=Ne(d-e|0,i-k|0,c)+De(k<<16,b)|0;break a}if((c|0)>=n<<16){break b}}e=De(f,b);c=n-h|0;if(!c){break b}b=Ne(d-e|0,o-i|0,c)+De(i<<16,b)|0;break a}b=De(o<<16,b)}j[t>>2]=b;a=De(b,a<<1)}else{a=0}j[q>>2]=r+a}}function Sq(a,b){var c=0,d=0,e=0;c=j[j[67085]+288>>2];if(c){d=a;if((We(4096,-1)|0)!=1){e=(We(4097,-1)|0)==1}else{e=1}qe[c|0](d,e)}a:{if(!(b&128)){break a}c=j[67085];if(!c){ve(151717,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(150417,0);break a}if(k[a+48|0]&128){break a}d=j[c+96>>2];if(!d){break a}qe[d|0](c,a)}b:{if(!(b&64)){break b}c=j[67085];if(!c){ve(151717,0);break b}if(!(j[a>>2]==(c+316|0)?a:0)){ve(150417,0);break b}if(!j[c+100>>2]|k[a+48|0]&64){break b}bh(a,0);c=j[67085];d=j[c+100>>2];if(!d){break b}qe[d|0](c,a)}if(b&1){Pq(a,b)}if(b&256){HH(a)}c:{if(b&8){break c}b=j[67085];if(!b){ve(151717,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(150417,0);return}if(k[a+48|0]&4){break c}c=j[b+84>>2];if(c){qe[c|0](b,a)}Cf(a,1,0,0)}}function Am(a){var b=0,c=0,d=0;if(!a){ve(125379,0);return}b=j[a+88>>2];j[a+88>>2]=b-1;a:{if((b|0)>=2){if(!j[67073]){break a}return}if(k[268300]){if(!j[67073]){break a}return}qe[j[j[a+80>>2]+40>>2]](a);j[a+84>>2]=0;b=j[67074];b:{if(!b){break b}if((a|0)!=(b|0)){while(1){c=j[b+92>>2];if(!c){break b}d=b;b=c;if((b|0)!=(a|0)){continue}break}}b=j[a+92>>2];if(d){j[d+92>>2]=b;break b}j[67074]=b}b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+32>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+40>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+48>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+56>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(!j[67073]){break a}}}function jq(a){var b=0,c=0,d=0;if(a){b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}b=j[a+24>>2];if(b){ze(b)}b=j[a+8>>2];if(b){while(1){d=b;b=c<<2;ze(j[j[d+b>>2]>>2]);ze(j[j[b+j[a+8>>2]>>2]+4>>2]);ze(j[j[b+j[a+8>>2]>>2]+8>>2]);ze(j[j[b+j[a+8>>2]>>2]+12>>2]);ze(j[j[b+j[a+8>>2]>>2]+16>>2]);ze(j[j[b+j[a+8>>2]>>2]+20>>2]);ze(j[j[b+j[a+8>>2]>>2]+24>>2]);ze(j[j[b+j[a+8>>2]>>2]+28>>2]);ze(j[b+j[a+8>>2]>>2]);c=c+1|0;if((c|0)!=17){b=j[a+8>>2];continue}break}ze(j[a+8>>2])}b=j[a+12>>2];if(b){ze(j[b>>2]);ze(j[j[a+12>>2]+4>>2]);ze(j[j[a+12>>2]+8>>2]);ze(j[a+12>>2])}j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function Vh(a,b,c,d){var e=0,f=0,g=0,h=0;f=oe-16|0;oe=f;a:{b:{if(!a|k[a+49|0]&64){break b}ah(a,f+12|0,f+8|0);if(j[f+8>>2]>(c|0)?!((b|c)<0|j[f+12>>2]<=(b|0)):0){break b}if(j[67024]!=(a|0)){break a}if(d){Uh(a,j[67023],0,b,c);a=j[67024];if(!a){break a}}Cf(a,11,0,0);j[67034]=0;j[67024]=0;a=j[67015];b=j[67049];if(!(j[67035]|(!b|!j[67051]))){if(!a){break a}qe[a|0](b)|0;break a}if(!a){break a}qe[a|0](0)|0;break a}h=1;e=j[67024];if((e|0)==(a|0)){break a}if(e){Cf(e,11,0,0)}j[67024]=a;j[67034]=0;c:{if(a){Cf(a,10,0,0);g=268200;if(j[67024]){break c}}g=268196}e=j[67015];g=j[g>>2];d:{if(!(j[67035]|(!g|!j[67051]))){if(!e){break d}qe[e|0](g)|0;break d}if(!e){break d}qe[e|0](0)|0}if(!d){break a}Uh(a,j[67023],0,b,c)}oe=f+16|0;return h}function pE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=q(0);e=a+4|0;c=j[b+20>>2];g=Ce(e,j[c+12>>2]);a:{if((g|0)<1){break a}i=j[c+12>>2];k=j[c+16>>2];d=j[c+20>>2];d=Ce(e,d?32-s(d)|0:0);if((d|0)==-1|(d|0)>=j[c+20>>2]){break a}d=j[j[j[j[a+64>>2]+4>>2]+28>>2]+2848>>2]+p(j[(c+(d<<2)|0)+24>>2],56)|0;c=Ff(a,(j[d>>2]+j[b+4>>2]<<2)+4|0);if((sF(d,c,e,j[b+4>>2])|0)==-1){break a}e=j[b+4>>2];if((e|0)>=1){a=0;while(1){b:{if((a|0)>=(e|0)){break b}l=e-a|0;b=0;f=j[d>>2];f=((f|0)>0?f:0)+a|0;while(1){if((a|0)==(f|0)){a=f;break b}h=c+(a<<2)|0;n[h>>2]=m+n[h>>2];a=a+1|0;b=b+1|0;if((l|0)!=(b|0)){continue}break}}m=n[(c+(a<<2)|0)-4>>2];if((a|0)<(e|0)){continue}break}}n[c+(e<<2)>>2]=q(q(g|0)/q(-1<>>31|0;f=(e^-1)>>>31|0}a:{b:{e=k[a|0]&2;if(!e){break b}if((Sg(a)|0)>=0){break b}m=1;f=-1;break a}m=!e;if(!f){f=-1;break a}f=0;if(!b){break a}g=j[b+8>>2];if((g|0)<1){break a}n=j[b+12>>2];if((n|0)<1){break a}e=j[a+52>>2];h=k[j[e+56>>2]+9|0];o=l[b>>1];q=j[a+20>>2];r=l[b+4>>1];b=j[a+16>>2];j[e+28>>2]=b;j[e+24>>2]=n;j[e+20>>2]=g;j[e+32>>2]=b-p(g,h);j[e+16>>2]=(p(b,r)+q|0)+p(h,o);b=j[c+16>>2];g=k[j[e+60>>2]+9|0];j[e+36>>2]=(j[c+20>>2]+p(b,l[d+4>>1])|0)+p(g,l[d>>1]);h=j[d+8>>2];j[e+40>>2]=h;j[e+44>>2]=j[d+12>>2];j[e+52>>2]=b-p(g,h);j[e+48>>2]=b;qe[j[e+12>>2]](e+16|0)}if(!i){pg(c)}if(!m){pg(a)}return f|0}function XI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];m=(j[a+4>>2]<<16)/(f|0)|0;n=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];l=d>>>8|0;o=c,q=l&255|(lP(d,24)&-65536|l&65280),j[o>>2]=q;c=c+4|0;b=b+m|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+n|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function nj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=oe-16|0;oe=g;e=qe[j[57972]](20)|0;if(e){j[57976]=j[57976]+1}a:{if(!e){b=Be(0);break a}f=_f(a);j[e+8>>2]=f;if(!f){if(e){qe[j[57975]](e);j[57976]=j[57976]-1}b=Be(0);break a}j[e+4>>2]=f;j[e+12>>2]=0;j[e>>2]=b;b=j[c>>2];b:{if(!b){break b}while(1){if(df(a,j[b+8>>2])){b=j[b+16>>2];if(b){continue}break b}break}f=j[b+12>>2];h=f+1|0;if(h>>>0>>0){break b}i=Le(a)+16|0;b=i;b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}if(!b){a=j[e+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}Be(0);b=-1;break a}j[g>>2]=a;j[g+4>>2]=f+2;Ue(b,i,117096,g);j[e+4>>2]=b;j[e+12>>2]=h}j[e+16>>2]=j[c>>2];j[c>>2]=e;b=j[d>>2];j[d>>2]=b+1}oe=g+16|0;return b}function qM(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;e=oe-16|0;oe=e;a:{if(!a){ve(138388,0);break a}i=696;b:{c:{d:{e:{f=j[a+4>>2];switch(k[f+9|0]-1|0){case 1:break b;case 0:break d;case 3:break e;default:break c}}i=697;break b}i=698;if(k[f+8|0]>=8){break b}}ve(138437,0);break a}if((c|0)>=2){n=a+36|0;f=1;while(1){g=(f<<3)+b|0;h=g-8|0;j[e+12>>2]=j[h>>2];j[e+8>>2]=j[h+4>>2];j[e+4>>2]=j[g>>2];j[e>>2]=j[g+4>>2];if($q(n,e+12|0,e+8|0,e+4|0,e)){h=1;l=j[e>>2];m=j[e+4>>2];h=(m|0)==j[g>>2]?j[g+4>>2]!=(l|0):h;qe[i|0](a,j[e+12>>2],j[e+8>>2],m,l,d,h)}f=f+1|0;if((f|0)!=(c|0)){continue}break}}c=(c-1<<3)+b|0;g=j[c>>2];f:{if((g|0)!=j[b>>2]){f=j[c+4>>2];break f}f=j[c+4>>2];if((f|0)==j[b+4>>2]){break a}}xM(a,g,f,d)}oe=e+16|0}function kh(a){var b=0,c=0,d=0;d=l[a+298>>1];a:{if((d|0)==16384){b=i[a+294>>1];j[a+564>>2]=b;c=b;break a}c=i[a+300>>1];if((c|0)==16384){b=i[a+296>>1];j[a+564>>2]=b;c=l[a+294>>1];break a}b=p(c,i[a+296>>1]);c=i[a+294>>1];b=b+p(c,d<<16>>16)>>14;j[a+564>>2]=b}b:{if((c&65535)==16384){j[a+572>>2]=398;break b}if(l[a+296>>1]==16384){j[a+572>>2]=399;break b}j[a+572>>2]=400}c:{if(l[a+290>>1]==16384){j[a+576>>2]=398;break c}if(l[a+292>>1]==16384){j[a+576>>2]=399;break c}j[a+576>>2]=401}j[a+588>>2]=402;j[a+584>>2]=403;d:{if((b|0)!=16384){break d}if((d|0)==16384){j[a+588>>2]=404;j[a+584>>2]=405;break d}if(l[a+300>>1]!=16384){break d}j[a+588>>2]=406;j[a+584>>2]=407}c=b>>31;if((c+b^c)<=1023){j[a+564>>2]=16384}j[a+256>>2]=0}function WE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(j[b>>2]>=2){cf(c,1,1);cf(c,j[b>>2]-1|0,4);break a}cf(c,0,1)}b:{if(j[b+1156>>2]>=1){cf(c,1,1);cf(c,j[b+1156>>2]-1|0,8);if(j[b+1156>>2]<1){break b}g=b+2184|0;h=b+1160|0;while(1){f=d<<2;e=j[a+4>>2]-1|0;cf(c,j[f+h>>2],e?32-s(e)|0:0);e=j[a+4>>2]-1|0;cf(c,j[f+g>>2],e?32-s(e)|0:0);d=d+1|0;if((d|0)>2]){continue}break}break b}cf(c,0,1)}cf(c,0,2);e=j[b>>2];c:{d:{if((e|0)>=2){if(j[a+4>>2]<1){break d}e=b+4|0;d=0;while(1){cf(c,j[e+(d<<2)>>2],4);d=d+1|0;if((d|0)>2]){continue}break}e=j[b>>2]}if((e|0)<1){break c}}f=b+1092|0;e=b+1028|0;d=0;while(1){cf(c,0,8);a=d<<2;cf(c,j[a+e>>2],8);cf(c,j[a+f>>2],8);d=d+1|0;if((d|0)>2]){continue}break}}}function ML(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=q(0),h=q(0),i=q(0);f=Ah(a,d<<3,b+4|0);if(!f){return-1}j[b+8>>2]=d;b=j[a+216>>2];if(!(b|j[a+220>>2])){if((d|0)>0){a=0;while(1){b=f;g=n[c>>2];a:{if(q(r(g))>2]=e;b=f;g=n[c+4>>2];b:{if(q(r(g))>2]=e;c=c+8|0;f=f+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}return 0}if((d|0)<1){return 0}g=q(j[a+220>>2]);i=q(b|0);a=0;while(1){b=f;h=q(n[c>>2]+i);c:{if(q(r(h))>2]=e;b=f;h=q(n[c+4>>2]+g);d:{if(q(r(h))>2]=e;c=c+8|0;f=f+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}return 0}function Xz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;a:{if(j[a+4>>2]){break a}d=6;b:{if(j[a+12>>2]!=1){break b}g=j[a>>2];c=j[a+28>>2];if(c){j[(j[a+36>>2]+(c<<4)|0)-4>>2]=b}h=c+1|0;d=j[a+32>>2];c:{if(h>>>0<=d>>>0){f=j[a+36>>2];break c}j[e+8>>2]=0;i=c+8&-8;f=xe(g,16,d,i,j[a+36>>2],e+8|0);j[a+36>>2]=f;d=j[e+8>>2];if(d){break b}j[a+32>>2]=i}c=(c<<4)+f|0;j[c+12>>2]=0;j[c>>2]=0;j[a+28>>2]=h;c=j[a- -64>>2];if(c){j[(j[a+72>>2]+(c<<4)|0)-4>>2]=b}f=c+1|0;b=j[a+68>>2];d:{if(f>>>0<=b>>>0){b=j[a+72>>2];break d}j[e+12>>2]=0;d=g;g=c+8&-8;b=xe(d,16,b,g,j[a+72>>2],e+12|0);j[a+72>>2]=b;d=j[e+12>>2];if(d){break b}j[a+68>>2]=g}b=(c<<4)+b|0;j[b+12>>2]=0;j[b>>2]=0;j[a+64>>2]=f;break a}j[a+4>>2]=d}oe=e+16|0}function fh(a){var b=0,c=0,d=0,e=0,f=0;b=j[a+372>>2]+1|0;j[a+372>>2]=b;a:{if(b>>>0>2]){break a}if(k[a+432|0]){j[a+372>>2]=0;Ee(j[a+380>>2],0,j[a+364>>2]+1|0);b=k[a+433|0];b:{while(1){b=b+1|0;c=b&255;if(c>>>0>6){break b}d=k[c+101313|0];f=(d+j[a+348>>2]|0)+(k[c+101306|0]^-1)|0;j[a+368>>2]=(f>>>0)/(d>>>0);if(!(k[a+216|0]&2)){e=k[c+101299|0];c=(e+j[a+352>>2]|0)+(k[c+101292|0]^-1)|0;j[a+356>>2]=(c>>>0)/(e>>>0);if(c>>>0>>0|d>>>0>f>>>0){continue}}break}h[a+433|0]=b;return}h[a+433|0]=b}c:{if(k[a+212|0]&8){break c}gn(a,0,0);j[a+236>>2]=0;b=j[a+212>>2];if(b&8){break c}j[a+212>>2]=b|8;j[a+208>>2]=j[a+208>>2]|8}if(j[a+220>>2]!=1229209940){break a}j[a+220>>2]=0;j[a+224>>2]=0;j[a+228>>2]=0;Ie(a,j[a+408>>2])}}function Kp(a,b,c,d,e,f){var g=0;g=oe-80|0;oe=g;a:{if((f|0)>=16384){kf(g+32|0,b,c,d,e,0,0,0,2147352576);d=j[g+40>>2];e=j[g+44>>2];b=j[g+32>>2];c=j[g+36>>2];if((f|0)<32767){f=f-16383|0;break a}kf(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)<49149?f:49149)-32766|0;d=j[g+24>>2];e=j[g+28>>2];b=j[g+16>>2];c=j[g+20>>2];break a}if((f|0)>-16383){break a}kf(g- -64|0,b,c,d,e,0,0,0,65536);d=j[g+72>>2];e=j[g+76>>2];b=j[g+64>>2];c=j[g+68>>2];if((f|0)>-32765){f=f+16382|0;break a}kf(g+48|0,b,c,d,e,0,0,0,65536);f=((f|0)>-49146?f:-49146)+32764|0;d=j[g+56>>2];e=j[g+60>>2];b=j[g+48>>2];c=j[g+52>>2]}kf(g,b,c,d,e,0,0,0,f+16383<<16);b=j[g+12>>2];j[a+8>>2]=j[g+8>>2];j[a+12>>2]=b;b=j[g+4>>2];j[a>>2]=j[g>>2];j[a+4>>2]=b;oe=g+80|0}function DN(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0;f=oe+ -64|0;oe=f;a:{if(!a){ve(124145,0);break a}d=qe[j[a>>2]](a)|0;c=d+1|0;c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}if(!c){qe[j[a+16>>2]](a)|0;ve(124159,0);break a}if((qe[j[a+8>>2]](a,c,d,1)|0)!=1){qe[j[a+16>>2]](a)|0;if(c){qe[j[57975]](c);j[57976]=j[57976]-1}ve(124207,0);break a}qe[j[a+16>>2]](a)|0;g=c+d|0;h[g|0]=0;if((d|0)>=1){a=c;while(1){d=g;b=Dg(a,10);if(b){h[b|0]=0;d=b}b=xh(a,124225);b:{if(!b){break b}b=Le(124225)+b|0;e=Dg(b,44);if(!e){break b}e=e-b|0;if(e+2>>>0>63){break b}i=b;b=e+1|0;Re(f,i,b);if(om(f,115735,b)){break b}k=((ij(a,1)|0)>0)+k|0}a=d+1|0;if(g>>>0>a>>>0){continue}break}}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}oe=f- -64|0}function mm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 35}g=6;a:{b:{if(!b){break b}e=j[b+4>>2];if((e|0)<0){break b}f=j[b+8>>2];if((f|0)<0){break b}d=j[b>>2];if(d>>>0>4){break b}i=j[j[a+96>>2]+12>>2];c=j[i+88>>2];if(c){break a}c:{if((j[a+8>>2]&3)==2){g=7;if(d){break b}d=e;c=j[b+12>>2];if(c){d=(p(c,e)+36|0)/72|0}c=f;b=j[b+16>>2];if(b){c=(p(b,f)+36|0)/72|0}g=23;h=j[a+28>>2];if((h|0)<1){break b}b=f?c:d;c=(e?b:c)+32|0;e=(e?d:b)+32|0;f=j[a+32>>2];b=0;while(1){d=f+(b<<4)|0;if(!((e^j[d+8>>2]+32)>>>0<64?(j[d+12>>2]+32^c)>>>0<=63:0)){b=b+1|0;if((h|0)!=(b|0)){continue}break b}break}g=6;if((b|0)>=(h|0)){break b}c=j[i+92>>2];if(c){break a}Cg(a,b);break c}Ai(a,b)}g=0}return g}return qe[c|0](j[a+88>>2],b)|0}function zu(a,b,c){var d=0,e=0,f=0,g=0,i=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,99982);break a}if(!(!b|!(k[b+8|0]&2))){Ie(a,c);Je(a,100016);break a}f=3;e=8;if(k[a+435|0]!=3){f=k[a+439|0];e=k[a+436|0]}if(!((c|0)==(f|0)?c>>>0<=4:0)){Je(a,99995);Ie(a,c);break a}j[d+12>>2]=p(e,16843009);pf(a,d+12|0,c);tf(a,d+12|0,c);f=0;if(Ie(a,0)){break a}b:{if(!c){break b}while(1){if(e>>>0>(k[(d+12|0)+f|0]-1&255)>>>0){f=f+1|0;if((f|0)!=(c|0)){continue}break b}break}Je(a,99995);break a}e=k[d+12|0];i=a;c:{if(k[a+435|0]&2){c=k[d+13|0];f=k[d+14|0];g=d+12|3;break c}h[a+519|0]=e;c=e;f=c;g=d+12|1}h[i+520|0]=k[g|0];h[a+518|0]=f;h[a+517|0]=c;h[a+516|0]=e;Ku(a,b,a+516|0)}oe=d+16|0;return}hf(a,100003);z()}function gz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=j[b>>2]+1|0;if(d>>>0<=65535){a=j[a+16>>2];g=a+518|0;h=a+6|0;while(1){a=d>>>8|0;a:{b:{if(!a){c=(d<<1&510)+h|0;a=g;if(!(k[c|0]<<8|k[c+1|0])){break b}break a}a=(a<<1)+h|0;a=k[a|0]<<8|k[a+1|0]&248;if(!a){break a}a=a+g|0}f=k[a+7|0]|k[a+6|0]<<8;if(!f){break a}e=k[a+1|0]|k[a|0]<<8;c=d&255;d=(d&-256)+(c>>>0>>0?e:c)|0;e=c-e|0;c=c>>>0>>0?0:e;e=k[a+3|0]|k[a+2|0]<<8;if(c>>>0>=e>>>0){break a}i=k[a+5|0]|k[a+4|0]<<8;a=a+6+(f+(c<<1))|0;while(1){c:{f=k[a+1|0]|k[a|0]<<8;if(!f){break c}f=f+i&65535;if(!f){break c}j[b>>2]=d;return f|0}a=a+2|0;d=d+1|0;c=c+1|0;if(e>>>0>c>>>0){continue}break}}d=d+256&-256;if(d>>>0<65536){continue}break}}j[b>>2]=0;return 0}function Ne(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!(!a|(b|0)==(c|0))){e=(a|0)<0?-1:1;e=(b|0)<0?0-e|0:e;j=(c|0)<0?0-e|0:e;e=2147483647;d=c;c=c>>31;c=d+c^c;a:{if(!c){break a}d=b;b=b>>31;b=d+b^b;d=a;a=a>>31;a=d+a^a;if(b+a>>>0<=129894-(c>>>17|0)>>>0){e=(p(a,b)+(c>>>1|0)>>>0)/(c>>>0)|0;break a}f=b>>>16|0;d=a&65535;g=b&65535;h=a>>>16|0;i=p(f,d)+p(g,h)|0;b=i<<16;d=b+p(d,g)|0;a=d+(c>>>1|0)|0;b=((p(f,h)+(i>>>16|0)|0)+(b>>>0>d>>>0)|0)+(a>>>0>>0)|0;if(!b){e=(a>>>0)/(c>>>0)|0;break a}if(b>>>0>=c>>>0){break a}d=s(b);f=32-d|0;b=a>>>f|b<>>0)/(c>>>0)|0;b=b-p(c,e)|0;a=a<>>31;b=d-(c>>>0>d>>>0?0:c)|0;e=e<<1|c>>>0<=d>>>0;a=a<<1;f=f-1|0;if(f){continue}break}}a=(j|0)<0?0-e|0:e}return a}function Yr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=6;a:{b:{if(!a){break b}d=j[a+4>>2];if(!d){break b}f=j[a+72>>2];if((f|0)==1651078259){return 0}g=j[j[d+96>>2]+4>>2];c:{if((f|0)!=1869968492){e=7;if(!g){break b}c=j[g+148>>2];if(!c){break b}while(1){d=j[c+8>>2];if((f|0)==j[d+16>>2]){break c}c=j[c+4>>2];if(c){continue}break}break b}d=j[g+156>>2];if(!d){break a}c=j[g+148>>2]}e=0;f=qe[j[d+60>>2]](d,a,b,0)|0;if(!f){break b}i=g+148|0;d=f;while(1){d:{e:{if((d&255)!=19){break e}if(!g){return f}c=j[(c?c+4|0:i)>>2];if(!c){break e}e=j[a+72>>2];while(1){h=j[c+8>>2];if((e|0)==j[h+16>>2]){break d}c=j[c+4>>2];if(c){continue}break}}e=d;break b}e=0;d=qe[j[h+60>>2]](h,a,b,0)|0;if(d){continue}break}}return e}return 7}function Eo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;h=j[b>>2];f=j[b+8>>2];e=j[a>>2];if(e){b=j[a+8>>2];c=e;while(1){j[b+24>>2]=-1;j[b+16>>2]=j[b+16>>2]&-5;b=b+28|0;c=c-1|0;if(c){continue}break}}if(!h){j[a+4>>2]=0;return}b=0;c=0;while(1){if(!b){i=k[f|0];f=f+1|0;b=128}a:{if(!(b&i)){break a}d=j[a+8>>2]+p(c,28)|0;l=j[d+16>>2];if(l&4){break a}j[d+16>>2]=l|4;if(e>>>0<=g>>>0){break a}j[j[a+12>>2]+(g<<2)>>2]=d;g=g+1|0}b=b>>1;c=c+1|0;if((h|0)!=(c|0)){continue}break}j[a+4>>2]=g;if((g|0)>=2){e=j[a+12>>2];a=1;while(1){f=j[e+(a<<2)>>2];h=j[f>>2];b=a;while(1){c=b-1|0;d=e+(c<<2)|0;i=j[d>>2];if((h|0)<=j[i>>2]){j[e+(b<<2)>>2]=i;j[d>>2]=f;d=(b|0)>1;b=c;if(d){continue}}break}a=a+1|0;if((g|0)!=(a|0)){continue}break}}}function pI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function Px(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,m=0,n=0;f=oe-16|0;oe=f;a:{b:{h=l[(b?a+296|0:a+216|0)+34>>1];if(!h){break b}g=j[(b?788:784)+a>>2];b=g+j[(b?692:684)+a>>2]|0;a=j[a+104>>2];if(c>>>0>>0){h=b;b=g+(c<<2)|0;if(h>>>0>>0){break b}b=Fe(a,b);j[f+12>>2]=b;if(b){break b}m=e,n=qf(a,f+12|0),i[m>>1]=n;if(j[f+12>>2]){break b}m=d,n=qf(a,f+12|0),i[m>>1]=n;if(!j[f+12>>2]){break a}break b}g=g+(h<<2)|0;if(g>>>0>b>>>0){break b}k=Fe(a,g-4|0);j[f+12>>2]=k;if(k){break b}m=e,n=qf(a,f+12|0),i[m>>1]=n;if(j[f+12>>2]){break b}c=g+(c-h<<1)|0;if(b>>>0>>0){i[d>>1]=0;break a}b=Fe(a,c);j[f+12>>2]=b;if(b){break a}m=d,n=qf(a,f+12|0),i[m>>1]=n;break a}i[d>>1]=0;i[e>>1]=0}oe=f+16|0}function Op(a,b,c,d){a:{if(b>>>0>20){break a}b:{switch(b-9|0){case 0:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=j[b>>2];return;case 1:b=j[c>>2];j[c>>2]=b+4;b=j[b>>2];j[a>>2]=b;j[a+4>>2]=b>>31;return;case 2:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=j[b>>2];j[a+4>>2]=0;return;case 3:b=j[c>>2]+7&-8;j[c>>2]=b+8;c=j[b+4>>2];j[a>>2]=j[b>>2];j[a+4>>2]=c;return;case 4:b=j[c>>2];j[c>>2]=b+4;b=i[b>>1];j[a>>2]=b;j[a+4>>2]=b>>31;return;case 5:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=l[b>>1];j[a+4>>2]=0;return;case 6:b=j[c>>2];j[c>>2]=b+4;b=h[b|0];j[a>>2]=b;j[a+4>>2]=b>>31;return;case 7:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=k[b|0];j[a+4>>2]=0;return;case 8:b=j[c>>2]+7&-8;j[c>>2]=b+8;o[a>>3]=o[b>>3];return;case 9:break b;default:break a}}qe[d|0](a,c)}}function jw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0;f=oe-1520|0;oe=f;a:{b:{if(d&16){if(!c){break b}d=0;Ee(e,0,c<<2);break a}d=qe[j[j[j[a+488>>2]+12>>2]>>2]](f+8|0,a,0,0,j[a+420>>2],j[a+528>>2],0,0,427)|0;if(d){break a}h[f+76|0]=0;h[f+78|0]=1;j[f+1372>>2]=j[a+404>>2];j[f+1376>>2]=j[a+408>>2];j[f+1380>>2]=j[a+412>>2];j[f+1496>>2]=j[a+544>>2];j[f+1500>>2]=j[a+540>>2];d=0;if(!c){break a}a=0;while(1){i=(a<<2)+e|0;c:{if(!wj(f+8|0,a+b|0,f+1512|0)){d=j[j[j[f+12>>2]+128>>2]+48>>2];if(d){qe[j[j[d>>2]+4>>2]](j[d+4>>2],f+1512|0)}d=j[f+48>>2];g=d+32768&-65536;if((d|0)<0){g=0-(32768-d&-65536)|0}d=g>>16;break c}d=0}j[i>>2]=d;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=0}oe=f+1520|0;return d|0}function XH(a,b,c,d){var e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;f=6;a:{if(!a|!d){break a}j[d>>2]=0;j[d+4>>2]=0;j[d+16>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;if((c|0)<0|b>>>0>>0){break a}f=10;if(b>>>0>32767){break a}g=d,h=xe(a,8,0,b,0,e+12|0),j[g+4>>2]=h;b:{if(j[e+12>>2]){break b}g=d,h=xe(a,1,0,b,0,e+12|0),j[g+8>>2]=h;if(j[e+12>>2]){break b}f=0;g=d,h=xe(a,2,0,c,0,e+12|0),j[g+12>>2]=h;if(j[e+12>>2]){break b}i[d>>1]=c;i[d+2>>1]=b;j[d+16>>2]=j[d+16>>2]|1;break a}j[d+16>>2]=j[d+16>>2]|1;b=j[d+4>>2];if(b){qe[j[a+8>>2]](a,b)}j[d+4>>2]=0;b=j[d+8>>2];if(b){qe[j[a+8>>2]](a,b)}j[d+8>>2]=0;b=j[d+12>>2];if(b){qe[j[a+8>>2]](a,b)}j[d+16>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;j[d>>2]=0;j[d+4>>2]=0;f=j[e+12>>2]}oe=e+16|0;return f}function yo(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,j=0;a:{if(!a|a>>>0>=b>>>0){break a}f=a+1|0;g=h[a|0];a=0;e=52;b:{while(1){i=a+e|0;c=i&-2;c=(k[c+26290|0]<<8|k[c+26291|0])+26288|0;d=k[c|0];j=d&127;if((g|0)==(j|0)){break b}c=i>>1;d=(g|0)>(j|0);a=d?c+1|0:a;e=d?e:c;if((a|0)<(e|0)){continue}break}return 0}if(b>>>0>f>>>0){while(1){a=c+1|0;e=d<<24;d=k[c+1|0];g=h[f|0];c:{if(e>>24<=-1){c=a;if((g|0)==(d&127)){break c}return 0}e=d&127;if(!e){break a}a=a+(d&128?3:1)|0;while(1){c=(k[a+1|0]|k[a|0]<<8)+26288|0;d=k[c|0];if((g|0)==(d&127)){break c}a=a+2|0;c=(e|0)>1;e=e-1|0;if(c){continue}break}break a}f=f+1|0;if((f|0)!=(b|0)){continue}break}}if(d<<24>>24<0|h[c+1|0]>-1){break a}return k[c+3|0]|k[c+2|0]<<8}return 0}function II(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d&-16711936|d<<16&16711680|d>>>16&255;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function bs(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}g=j[a+4>>2];b=j[g+84>>2];if(!b){break a}d=j[g+96>>2];e=j[d+8>>2];if((a|0)!=(b|0)){while(1){f=j[b+8>>2];if(!f){break a}c=b;b=f;if((b|0)!=(a|0)){continue}break}}j[(c?c+8|0:g+84|0)>>2]=j[a+8>>2];c=e;b=j[a+20>>2];if(b){qe[b|0](a);d=j[j[a+4>>2]+96>>2];c=j[d+8>>2]}b=j[j[d+12>>2]+68>>2];if(b){qe[b|0](a)}b=j[a+156>>2];if(!b){j[a+88>>2]=0;if(a){qe[j[e+8>>2]](e,a)}return}b:{if(h[b+4|0]&1){f=j[j[a+4>>2]+100>>2];b=j[a+88>>2];if(b){qe[j[f+8>>2]](f,b)}j[a+88>>2]=0;b=j[a+156>>2];j[b+4>>2]=j[b+4>>2]&-2;break b}j[a+88>>2]=0}if(!(k[j[d>>2]+1|0]&2)){Sm(j[b>>2]);b=j[a+156>>2];j[b>>2]=0}if(b){qe[j[c+8>>2]](c,b)}j[a+156>>2]=0;if(a){qe[j[e+8>>2]](e,a)}}}function Fr(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a:{b:{switch(d-1|0){case 0:d=h^255;a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=((p(d,c&255)>>>0)/255|0)+g|0;f=((p(d,c>>>8&255)>>>0)/255|0)+f|0;g=((p(d,c>>>16&255)>>>0)/255|0)+e<<16;break a;case 1:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=(c&255)+g|0;b=b>>>0<255?b:255;d=(c>>>8&255)+f|0;f=d>>>0<255?d:255;c=(c>>>16&255)+e|0;g=(c>>>0<255?c:255)<<16;break a;case 3:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=(p(c&255,g)>>>0)/255|0;f=(p(c>>>8&255,f)>>>0)/255|0;g=(p(c>>>16&255,e)>>>0)/255<<16;break a;default:break b}}a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;b=e<<16}j[a>>2]=f<<8|b|g;return 0}function qC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;f=oe-16|0;oe=f;c=j[a>>2];a:{if(k[c+8|0]&2){if(!(qe[j[j[c+532>>2]+104>>2]](c,b,f+12|0)|0)){gp(a,j[f+12>>2]);break a}j[a+44>>2]=-1;c=j[a>>2]}Ai(c,b);c=j[a>>2];b=j[j[c+656>>2]+2952>>2];c=Kf(j[j[c+96>>2]+4>>2],11024);if(!b|!c){break a}b=j[b>>2];if(!b){break a}g=qe[b|0](c)|0;if(!g){break a}h=j[j[a>>2]+656>>2];c=j[h+1392>>2];i=j[a+40>>2];qe[j[g+4>>2]](j[i>>2],j[a+16>>2],j[a+20>>2],0,0);e=j[h+1896>>2];if(!e){break a}while(1){b=j[a+16>>2];e=e-1|0;l=e<<2;d=j[j[(l+h|0)+1900>>2]+68>>2];b:{if((d|0)!=(c|0)){b=Ne(b,c,d);d=Ne(j[a+20>>2],c,d);break b}d=j[a+20>>2]}qe[j[g+4>>2]](j[(i+l|0)+4>>2],b,d,0,0);if(e){continue}break}}oe=f+16|0;return 0}function ml(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=j[a+52>>2];c=k[a+32|0];a:{b:{c:{if(c){break c}b=j[a+24>>2];if(b>>>0>=m[a+28>>2]){break c}if(m[a+56>>2]>2]){break b}}if(m[a+56>>2]>=m[a+60>>2]){d=d+1|0;j[a+52>>2]=d;b=a;if(m[a+40>>2]>d>>>0){e=(1<>2]+1|0}j[b+60>>2]=e}if(c){j[a+60>>2]=256;j[a+52>>2]=9;h[a+32|0]=0;d=9}e=-1;if(j[a+4>>2]){break a}b=0;c=Ol(j[a+164>>2],a+8|0,d);j[a+24>>2]=0;j[a+36>>2]=c+j[a+36>>2];f=j[a+52>>2];j[a+4>>2]=f>>>0>c>>>0;j[a+28>>2]=(c<<3|1)-f;if(!c){break a}}j[a+24>>2]=d+b;a=(b>>>3|0)+a|0;c=a+8|0;f=b&7;e=k[c|0]>>>f|0;g=a+9|0;b=8-f|0;a=d-b|0;if(a>>>0>=8){a=a-8|0;e=k[c+1|0]<>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d&65280|d<<16|d>>>16&255|-16777216;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function Ee(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}d=a+c|0;h[d-1|0]=b;h[a|0]=b;if(c>>>0<3){break a}h[d-2|0]=b;h[a+1|0]=b;h[d-3|0]=b;h[a+2|0]=b;if(c>>>0<7){break a}h[d-4|0]=b;h[a+3|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;b=p(b&255,16843009);j[e>>2]=b;c=c-d&-4;d=c+e|0;j[d-4>>2]=b;if(c>>>0<9){break a}j[e+8>>2]=b;j[e+4>>2]=b;j[d-8>>2]=b;j[d-12>>2]=b;if(c>>>0<25){break a}j[e+24>>2]=b;j[e+20>>2]=b;j[e+16>>2]=b;j[e+12>>2]=b;j[d-16>>2]=b;j[d-20>>2]=b;j[d-24>>2]=b;j[d-28>>2]=b;g=e&4|24;c=c-g|0;if(c>>>0<32){break a}d=b;f=b;b=e+g|0;while(1){j[b+24>>2]=f;j[b+28>>2]=d;j[b+16>>2]=f;j[b+20>>2]=d;j[b+8>>2]=f;j[b+12>>2]=d;j[b>>2]=f;j[b+4>>2]=d;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}return a}function ek(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d<<16&16711680|d&65280|d>>>16&255;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function ar(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;if(c){a:{f=j[a>>2];if((f|0)>j[b>>2]){break a}if((a|0)!=(b|0)){if(xf(j[a+4>>2],j[b+4>>2],f<<2)){break a}}j[c>>2]=1;return 0}j[c>>2]=0}c=j[a>>2];f=qe[j[57972]](c?c:1)|0;if(f){j[57976]=j[57976]+1}if(f){if(j[a>>2]>=1){while(1){l=0;m=j[b>>2];if((m|0)>=1){c=j[a+4>>2]+(g<<2)|0;o=k[c+3|0];q=k[c+2|0];r=k[c+1|0];s=k[c|0];t=j[b+4>>2];n=-1;c=0;while(1){b:{d=(c<<2)+t|0;e=k[d+1|0]-r|0;i=p(e,e);e=k[d|0]-s|0;i=i+p(e,e)|0;e=k[d+2|0]-q|0;d=k[d+3|0]-o|0;d=(i+p(e,e)|0)+p(d,d)|0;if(d>>>0>>0){l=c;n=d;if(!d){break b}}c=c+1|0;if((m|0)!=(c|0)){continue}}break}}h[f+g|0]=l;g=g+1|0;if((g|0)>2]){continue}break}}return f}Be(0);return 0}function PL(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;var i=q(0),k=0;c=Ah(a,56,b+4|0);if(!c){return-1}j[b+8>>2]=1;Ge(c,d,16);b=c;d=j[a+216>>2];a=j[a+220>>2];a:{if(d|a){k=c;i=q(n[e>>2]+q(d|0));b:{if(q(r(i))>2]=d;i=q(n[e+4>>2]+q(a|0));break a}a=c;i=n[e>>2];c:{if(q(r(i))>2]=d;i=n[e+4>>2]}d:{if(q(r(i))>2]=a;a=c;i=n[e+8>>2];e:{if(q(r(i))>2]=b;i=n[e+12>>2];o[c+32>>3]=f;a=c;if(q(r(i))>2]=b;Ge(c+40|0,g,8);j[c+48>>2]=h;return 0}function er(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d>>>8&65280|d>>>24|d<<8&16711680;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function wh(a,b,c,d,e,f,g){var h=0,i=0,l=0,m=0,n=0;l=j[(k[a+30|0]<<2)+234976>>2]+((j[a+20>>2]&67305985)>>>k[a+34|0]|0)|0;m=j[(k[a+29|0]<<2)+234976>>2]+((j[a+16>>2]&67305985)>>>k[a+33|0]|0)|0;n=j[(k[a+28|0]<<2)+234976>>2]+((j[a+12>>2]&67305985)>>>k[a+32|0]|0)|0;i=j[a+24>>2];h=0;a:{if(!i){break a}h=k[j[(k[a+31|0]<<2)+234976>>2]+((i&67305985)>>>k[a+35|0]|0)|0]}a=k[m|0]>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>2]|!i?a:h>>>k[b+31|0]<>>24|0;i=a>>>16&255;l=a>>>8&255;a=a&255;b:{if(!a){a=1;h=0;break b}if(!l){h=1;l=1;break b}if(!i){i=1;h=2;break b}h=b?0:3;b=b?b:1}j[c>>2]=a-1;j[d>>2]=l-1;j[e>>2]=i-1;j[f>>2]=b-1;if(g){j[g>>2]=h}}function Zk(a){var b=0,c=0;a:{if(!a){break a}c=j[a>>2];if(!c){break a}j[a+44>>2]=0;j[a+48>>2]=0;b=j[a+52>>2];if((b|0)!=(a+72|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+52>>2]=0}j[a+56>>2]=0;j[a+60>>2]=0;b=j[a- -64>>2];if((b|0)!=(a+936|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+64>>2]=0}b=a+1512|0;j[b>>2]=0;j[b+4>>2]=0;b=j[a+1520>>2];if((b|0)!=(a+1540|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+1520>>2]=0}b=a+1524|0;j[b>>2]=0;j[b+4>>2]=0;b=j[a+1532>>2];if((b|0)!=(a+2404|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+1532>>2]=0}b=j[a+40>>2];if((b|0)!=(a+3e3|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+40>>2]=0}j[a+32>>2]=0;j[a+36>>2]=0;b=j[a+28>>2];if((b|0)!=(a+3032|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0}j[a+20>>2]=0;j[a+24>>2]=0;j[a>>2]=0}}function KC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,k=0,n=0,o=0;d=j[b>>2];if(m[d+16>>2]>c>>>0){b=j[d+140>>2];f=l[b+278662>>1];e=j[b+56>>2];if(c){b=c-1|0}else{b=j[d+164>>2]}b=e+p(b,36)|0;g=l[b+10>>1];c=i[b+20>>1];e=i[b+16>>1];k=j[b+24>>2];n=l[b+14>>1];o=l[b+12>>1];j[a+84>>2]=j[b+28>>2];j[a+80>>2]=o;j[a+76>>2]=n;gs(a,k);a:{b:{switch(f-1|0){case 0:h[a+94|0]=1;break a;case 1:h[a+94|0]=3;break a;case 3:h[a+94|0]=4;break a;case 7:break b;default:break a}}i[a+92>>1]=256;h[a+94|0]=2}j[a+104>>2]=c;j[a+100>>2]=e;j[a+72>>2]=1651078259;j[a+40>>2]=g<<6;j[a+36>>2]=c<<6;j[a+32>>2]=e<<6;j[a+24>>2]=j[a+80>>2]<<6;j[a+28>>2]=j[a+76>>2]<<6;Ci(a+24|0,l[j[d+140>>2]+6>>1]<<6);a=0}else{a=6}return a|0}function GC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0;l=6;g=j[a+140>>2];a:{if(!g|!b|!j[g+72>>2]){break a}h=k[b|0];if(!h){break a}f=j[g+128>>2];i=j[f+12>>2];a=h;d=b;while(1){e=p(e,31)+(a<<24>>24)|0;a=k[d+1|0];d=d+1|0;if(a){continue}break}a=e;e=j[f+4>>2];d=((a>>>0)%(e>>>0)<<2)+i|0;a=j[d>>2];if(!a){break a}e=((e<<2)+i|0)-4|0;while(1){b:{f=j[a>>2];if(k[f|0]==(h|0)){if(!we(f,b)){break b}}a=d-4|0;d=a>>>0>>0?e:a;a=j[d>>2];if(a){continue}break a}break}b=j[g+80>>2];if(!b){break a}c:{d:{e:{f:{a=b+(j[a+4>>2]<<4)|0;switch(j[a+4>>2]-1|0){case 2:break d;case 1:break e;case 0:break f;default:break a}}j[c>>2]=1;break c}j[c>>2]=2;break c}j[c>>2]=3}j[c+4>>2]=j[a+12>>2];l=0}return l|0}function LO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0),l=q(0),m=q(0);c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=p(c,3);g=c>>>3|0;if(g){f=c;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=f+c|0;d=c+e|0;while(1){c=f-8|0;i=n[c>>2];l=n[f-4>>2];n[d-4>>2]=l;n[d-8>>2]=i;j[d-12>>2]=0;m=q(q(i+l)*q(.5));n[d-16>>2]=m;n[d-20>>2]=l+q(l-m);d=d-24|0;n[d>>2]=i+q(i-m);f=c;g=g-1|0;if(g){continue}break}}h[a+24|0]=e;h[a+25|0]=e>>>8;h[a+26|0]=e>>>16;h[a+27|0]=e>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function qO(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,j=0;g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=g>>>2|0;if(e){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=b;while(1){j=f;c=n[b>>2];d=32767;a:{if(c>=q(1)){break a}d=32768;if(c<=q(-1)){break a}c=q(c*q(32767));if(q(r(c))>1]=d;f=f+2|0;b=b+4|0;e=e-1|0;if(e){continue}break}}b=(g|0)/2|0;h[a+24|0]=b;h[a+25|0]=b>>>8;h[a+26|0]=b>>>16;h[a+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,32784)}}function pm(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;i=oe-32|0;oe=i;k=j[a>>2];a:{if(!b){g=6;if(b){qe[j[k+8>>2]](k,b)}break a}h=He(k,40,i);b:{g=j[i>>2];if(!g){j[h+32>>2]=0;j[h+8>>2]=0;j[h+4>>2]=c;j[h>>2]=b;j[h+20>>2]=0;j[h+24>>2]=0;j[h+24>>2]=36;g=j[i>>2];if(!g){break b}}if(b){qe[j[k+8>>2]](k,b)}break a}j[i+16>>2]=h;j[i>>2]=2;if(e){j[i>>2]=10;b=j[a+16>>2];c:{if((b|0)<1){g=0;break c}c=((b<<2)+a|0)+20|0;b=a+20|0;while(1){g=j[b>>2];if(!we(j[j[g>>2]+8>>2],e)){break c}b=b+4|0;if(c>>>0>b>>>0){continue}break}g=0}j[i+20>>2]=g}g=ym(a,i,d,f);if(!g){a=j[f>>2];j[a+8>>2]=j[a+8>>2]&-1025;g=0;break a}d:{if(!h){break d}a=j[h+24>>2];if(!a){break d}qe[a|0](h)}if(h){qe[j[k+8>>2]](k,h)}}oe=i+32|0;return g}function pO(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,j=0;g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=g>>>2|0;if(e){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=b;while(1){j=f;c=n[b>>2];d=65535;a:{if(c>=q(1)){break a}d=0;if(c<=q(-1)){break a}c=q(q(c+q(1))*q(32767));if(c=q(0)){d=~~c>>>0;break a}d=0}i[j>>1]=d;f=f+2|0;b=b+4|0;e=e-1|0;if(e){continue}break}}b=(g|0)/2|0;h[a+24|0]=b;h[a+25|0]=b>>>8;h[a+26|0]=b>>>16;h[a+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,16)}}function aM(a){var b=0,c=0;if(!a){ve(138657,0);return 0}b=Xe(1,440);if(!b){Be(0);return 0}c=Xe(1,8);if(!c){a=j[b+436>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}Be(0);return 0}j[c+4>>2]=a;j[c>>2]=a;j[b+68>>2]=712;j[b+64>>2]=713;j[b+60>>2]=714;j[b+52>>2]=715;j[b+16>>2]=716;j[b+8>>2]=717;j[b+4>>2]=718;j[b+84>>2]=719;j[b+80>>2]=720;j[b+76>>2]=721;j[b+72>>2]=722;j[b+48>>2]=723;j[b+44>>2]=724;j[b+40>>2]=725;j[b+36>>2]=726;j[b+32>>2]=727;j[b+28>>2]=727;j[b+24>>2]=728;j[b+20>>2]=728;Ae(b+104|0,231804,84);j[b+436>>2]=c;a:{if(j[c>>2]){break a}a=j[c+4>>2];j[c>>2]=a;if(a){break a}a=Xj(j[b+188>>2]);if(!a){break a}j[c>>2]=a;j[c+4>>2]=a}return b}function Cn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=j[(c?16:12)+b>>2];b=j[(c?8:4)+b>>2];f=p(c,1572)+a|0;g=f+1608|0;a:{if(j[f+1612>>2]==(h|0)?(b|0)==j[g>>2]:0){break a}j[g>>2]=b;j[f+48>>2]=h;j[f+44>>2]=b;j[f+1612>>2]=h;if(!j[f+260>>2]){break a}g=0;i=p(c,1572)+a|0;while(1){a=p(g,28)+i|0;c=a;d=ye(j[a+264>>2],b)+h|0;j[a+272>>2]=d;j[a+268>>2]=d;d=ye(j[a+276>>2],b)+h|0;j[a+284>>2]=d;j[a+280>>2]=d;j[a+288>>2]=j[a+288>>2]&-2;if(ye(j[a+264>>2]-j[a+276>>2]|0,b)+48>>>0<=96){d=j[a+268>>2]+32&-64;j[c+272>>2]=d;d=De(d,b)-j[a+276>>2]|0;e=d>>31;e=ye(e^d+e,b);e=(e|0)<32?0:e+32&-64;j[a+284>>2]=((d|0)<0?e:0-e|0)+j[c+272>>2];j[a+288>>2]=j[a+288>>2]|1}g=g+1|0;if(g>>>0>2]){continue}break}}}function Ji(a){var b=0,c=0,d=0;j[65586]=0;Dq();a=a>>>4&512|a;b=a&544?a|16384:a;if(b&16384){a=k[262318];if(!a){Eg(118915,647,0);mO();WN();a=k[262318]}h[262318]=a+1}if(b&1){a=k[262304];if(!a){a=k[262304]}h[262304]=a+1}a:{if(b&32){a=k[262309];if(!a){if((Vq()|0)<0){break a}a=k[262309]}h[262309]=a+1}if(b&16){a=k[262308];if(!a){if((xs()|0)<0){break a}a=k[262308]}h[262308]=a+1}if(b&512){a=k[262313];if(!a){if((rN()|0)<0){break a}a=k[262313]}h[262313]=a+1}if(b&8192){a=k[262317];if(!a){if((yN()|0)<0){break a}a=k[262317]}h[262317]=a+1}if(b&4096){return ve(115684,0)}if(b&32768){a=k[262319];if(!a){if(!j[67077]){c=268308,d=$i(),j[c>>2]=d}Ji(16384);break a}h[262319]=a+1}return 0}return-1}function OO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0);e=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);if(e>>>0>=24){f=(e>>>0)/24|0;d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=d;while(1){g=q(n[c+8>>2]*q(.5));n[d>>2]=q(n[c>>2]+g)/q(1.5);n[d+4>>2]=q(g+n[c+4>>2])/q(1.5);n[d+8>>2]=n[c+16>>2]/q(1.5);n[d+12>>2]=n[c+20>>2]/q(1.5);d=d+16|0;c=c+24|0;f=f-1|0;if(f){continue}break}}c=(e|0)/6<<2;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function wH(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;a:{if(!a){j[e>>2]=151491;a=ve(150459,e);break a}if(j[a+16>>2]<=-1){a=ve(151506,0);break a}d=j[66371];b:{if(!d){break b}c=j[67085];if(!c){ve(151717,0);break b}if(j[d>>2]!=(c+316|0)){ve(150417,0);break b}g=(k[d+49|0]&64)>>>6|0}h=j[67035];Em(0);Fm(0);i=hs(1);ks();c=j[67085];c:{d:{if(!c){break d}f=j[c+280>>2];if(!f){break d}a=qe[f|0](c,a,b?b:e+12|0)|0;if((a|0)!=-1){break c}}ve(151532,0);a=-1}e:{if(!d){break e}b=j[67085];f:{if(!b){ve(151717,0);break f}if(j[d>>2]!=(b+316|0)){ve(150417,0);break f}if(!(k[d+48|0]&4)){break f}c=j[b+92>>2];if(!c){break f}qe[c|0](b,d)}if(!g){break e}Em(1)}hs(i);Fm(h)}oe=e+16|0;return a}function wF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0;b=oe-16|0;oe=b;f=j[a>>2];a=Le(c);f=He(f,a+18|0,b+12|0);g=j[b+12>>2];if(!g){i=Ae(f,c,a);c=i+a|0;a=k[6683]|k[6684]<<8;h[c+16|0]=a;h[c+17|0]=a>>>8;a=k[6679]|k[6680]<<8|(k[6681]<<16|k[6682]<<24);f=k[6675]|k[6676]<<8|(k[6677]<<16|k[6678]<<24);h[c+8|0]=f;h[c+9|0]=f>>>8;h[c+10|0]=f>>>16;h[c+11|0]=f>>>24;h[c+12|0]=a;h[c+13|0]=a>>>8;h[c+14|0]=a>>>16;h[c+15|0]=a>>>24;a=k[6671]|k[6672]<<8|(k[6673]<<16|k[6674]<<24);f=k[6667]|k[6668]<<8|(k[6669]<<16|k[6670]<<24);h[c|0]=f;h[c+1|0]=f>>>8;h[c+2|0]=f>>>16;h[c+3|0]=f>>>24;h[c+4|0]=a;h[c+5|0]=a>>>8;h[c+6|0]=a>>>16;h[c+7|0]=a>>>24;j[d>>2]=i;j[e>>2]=0}oe=b+16|0;return g|0}function rC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,m=0;g=oe-16|0;oe=g;h=j[a+84>>2];a:{b:{c:{if(!(k[a+8|0]&8)){break c}if(d&16){if(!k[a+292|0]){break c}if(!c){break b}while(1){qe[j[j[a+532>>2]+112>>2]](a,1,b+f|0,g+14|0,g+12|0);j[(f<<2)+e>>2]=l[g+12>>1];f=f+1|0;if((f|0)!=(c|0)){continue}break}break b}if(!l[a+250>>1]){break c}if(!c){break b}while(1){qe[j[j[a+532>>2]+112>>2]](a,0,b+f|0,g+14|0,g+10|0);j[(f<<2)+e>>2]=l[g+10>>1];f=f+1|0;if((f|0)!=(c|0)){continue}break}break b}if(!c){break b}i=d|256;m=(d&16?60:56)+h|0;while(1){d=jp(h,j[a+88>>2],b+f|0,i);if(d){break a}j[(f<<2)+e>>2]=j[m>>2];f=f+1|0;if((f|0)!=(c|0)){continue}break}}d=0}oe=g+16|0;return d|0}function Gu(a,b,c){var d=0,e=0,f=0,g=0,i=0;g=1;a:{if(!(!b|(!c|!a))){d=Gk(a,j[b+236>>2],j[b+240>>2],1,20);if(!d){Mf(a,99736,1);return}Ke(a,j[b+236>>2]);j[b+236>>2]=d;j[b+232>>2]=j[b+232>>2]|512;f=d+p(j[b+240>>2],20)|0;while(1){d=j[c>>2];h[f+4|0]=0;j[f>>2]=d;e=k[c+16|0]&11;if(!e){if(k[a+209|0]&128){break a}cn(a,99789);e=j[a+208>>2]&11;if(!e){break a}}while(1){d=e;i=0-d&d;e=d^i;if((d|0)!=(i|0)){continue}break}h[f+16|0]=d;d=j[c+12>>2];b:{c:{if(!d){e=0;j[f+8>>2]=0;break c}d=$f(a,d);j[f+8>>2]=d;if(!d){Mf(a,99760,1);break b}e=j[c+12>>2];Ae(d,j[c+8>>2],e)}j[f+12>>2]=e;j[b+240>>2]=j[b+240>>2]+1;f=f+20|0}c=c+20|0;d=(g|0)>1;g=g-1|0;if(d){continue}break}}return}Ye(a,99841);z()}function XE(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0;g=(e?f:0)<<2;i=j[g+c>>2];m=(i|0)/-4|0;h=j[(e<<2)+c>>2];o=(h|0)/2|0;f=(i|0)/2|0;k=(h|0)/4|0;p=c;c=(e?d:0)<<2;e=j[p+c>>2];d=k+((e|0)/-4|0)|0;e=d+((e|0)/2|0)|0;g=j[b+g>>2];b=j[b+c>>2];c=0;if((d|0)>=1){Ee(a,0,d<<2);while(1){c=c+1|0;if((d|0)!=(c|0)){continue}break}c=d}if((c|0)<(e|0)){b=j[(b<<2)+165456>>2];while(1){d=(c<<2)+a|0;n[d>>2]=n[b+(l<<2)>>2]*n[d>>2];l=l+1|0;c=c+1|0;if((e|0)>(c|0)){continue}break}}c=(o+k|0)+m|0;if((i|0)>1){b=c+f|0;d=j[(g<<2)+165456>>2];while(1){e=(c<<2)+a|0;f=f-1|0;n[e>>2]=n[d+(f<<2)>>2]*n[e>>2];c=c+1|0;if((b|0)>(c|0)){continue}break}}if((c|0)<(h|0)){b=a;a=c<<2;Ee(b+a|0,0,(h<<2)-a|0)}}function VJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2]|-16777216;c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function gr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2]&16777215;c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function Jj(a,b,c,d,e,f,g){var h=0,i=0,k=0,l=0,m=0;h=oe-240|0;oe=h;i=j[d>>2];j[h+232>>2]=i;d=j[d+4>>2];j[h>>2]=a;j[h+236>>2]=d;k=1;a:{b:{c:{d:{if(d?0:(i|0)==1){break d}i=a-j[(e<<2)+g>>2]|0;if((qe[c|0](i,a)|0)<1){break d}m=0-b|0;l=!f;while(1){e:{d=i;if(!(!l|(e|0)<2)){f=j[((e<<2)+g|0)-8>>2];i=a+m|0;if((qe[c|0](i,d)|0)>-1){break e}if((qe[c|0](i-f|0,d)|0)>-1){break e}}j[(k<<2)+h>>2]=d;f=h+232|0;a=fP(j[h+232>>2]-1|0);if(!a){a=fP(j[h+236>>2]);a=a?a+32|0:0}Kj(f,a);k=k+1|0;e=a+e|0;if(j[h+236>>2]?0:j[h+232>>2]==1){break b}f=0;l=1;a=d;i=a-j[(e<<2)+g>>2]|0;if((qe[c|0](i,j[h>>2])|0)>0){continue}break c}break}d=a;break b}d=a}if(f){break a}}Dp(b,h,k);Gl(d,b,c,e,g)}oe=h+240|0}function Hq(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;g=(b+1|0)/2|0;h=(a+1|0)/2|0;a=p(b,d)+c|0;c=p(b,f)+e|0;if((a|0)==(c|0)){c=qe[j[57972]](h?h:1)|0;if(c){j[57976]=j[57976]+1}if(!c){return Be(0)}d=(f+1|0)/2|0;if((b|0)>=1){b=(g|0)>1?g:1;f=p(d,g)+a|0;e=0;while(1){Ge(c,a,h);Ge(a,f,h);Ge(f,c,h);f=d+f|0;a=a+d|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}return 0}if((b|0)<1){return 0}e=(d+1|0)/2|0;k=(g|0)>1?g:1;i=(f+1|0)/2|0;f=p(i,g)+c|0;d=0;while(1){Ge(f,a,h);f=f+i|0;a=a+e|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}if((b|0)<1){return 0}b=(g|0)>1?g:1;f=0;while(1){Ge(c,a,h);c=c+i|0;a=a+e|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}return 0}function CH(a){var b=0,c=0,d=0,e=0;a:{if(!j[a+100>>2]){break a}b=j[67085];c=j[b+120>>2];if(!c){break a}qe[c|0](b,a,j[a+104>>2])|0}b=j[67085];c=j[b+312>>2];d=j[a+48>>2];b:{if(!(!(j[67035]|d&256)|!(d&512))){c:{if(!c|(a|0)==(c|0)){break c}j[c+48>>2]=j[c+48>>2]&-257;d=j[b+128>>2];if(!d){break c}qe[d|0](b,c,0);b=j[67085]}j[b+312>>2]=a;e=1;break b}if((a|0)!=(c|0)){break b}j[b+312>>2]=0}c=j[b+128>>2];if(c){qe[c|0](b,a,e)}d:{if(j[a+120>>2]|!(h[a+48|0]&1)){break d}if(!sg(151897,1)){break d}b=j[67085];if(!b){ve(151717,0);return}if(j[a>>2]!=(b+316|0)){ve(150417,0);return}if(!j[b+100>>2]|k[a+48|0]&64){break d}bh(a,0);b=j[67085];c=j[b+100>>2];if(!c){break d}qe[c|0](b,a)}}function fr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2]>>>8;c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function $K(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;f=j[a+24>>2];l=j[a+16>>2]+(f+((f+7|0)/-8|0)|0)|0;m=j[a+56>>2];n=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];e=j[a+28>>2];g=j[a+48>>2];a:{if(g){if(!e){break a}i=(f|0)<1;while(1){e=e-1|0;a=0;d=0;if(!i){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}o=a>>>7&1;if((o|0)!=(m|0)){h[b|0]=k[g+o|0]}a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+n|0;c=c+l|0;if(e){continue}break}break a}if(!e){break a}g=(f|0)<1;while(1){e=e-1|0;a=0;d=0;if(!g){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}i=a>>>7&1;if((i|0)!=(m|0)){h[b|0]=i}a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+n|0;c=c+l|0;if(e){continue}break}}}function lm(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2];c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function jl(a,b){var c=0,d=0,e=0,f=0,g=0;e=j[a>>2];if(e>>>0>>0){while(1){c=e+1|0;a:{b:{c:{d:{e:{f=k[e|0];switch(f-40|0){case 1:break c;case 0:break d;default:break e}}d=c;if((f|0)!=92){break a}if((b|0)==(c|0)){j[a>>2]=b;return 3}f:{f=k[c|0];switch(f-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break b;default:break f}}d=c;if(b>>>0<=c>>>0){break a}e=0;d=c;if((f&248)!=48){break a}while(1){c=c+1|0;d=c;if(e>>>0>1){break a}d=c;if(b>>>0<=c>>>0){break a}e=e+1|0;if((k[c|0]&248)==48){continue}break}d=c;break a}g=g+1|0;d=c;break a}g=g-1|0;d=c;if(g){break a}j[a>>2]=c;return 0}d=e+2|0}e=d;if(e>>>0>>0){continue}break}}j[a>>2]=e;return 3}function uC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=oe-208|0;oe=d;j[d+204>>2]=0;a:{b:{c=j[a>>2];b=j[j[c+656>>2]+2952>>2];c=Kf(j[j[c+96>>2]+4>>2],11024);c:{if(!b|!c){break c}b=j[b>>2];if(!b){break c}e=qe[b|0](c)|0;if(!e){break c}b=j[a>>2];f=j[b+656>>2];g=He(j[b+100>>2],1028,d+204|0);b=j[d+204>>2];if(b){break b}kp(f+1324|0,d+8|0);b=qe[j[e>>2]](j[j[a>>2]+100>>2],d+8|0,g)|0;j[d+204>>2]=b;if(b){break b}i=g+4|0;b=j[f+1896>>2];d:{while(1){if(!b){break d}b=b-1|0;c=b<<2;kp(j[(c+f|0)+1900>>2],d+8|0);c=qe[j[e>>2]](j[j[a>>2]+100>>2],d+8|0,c+i|0)|0;j[d+204>>2]=c;if(!c){continue}break}h=c;break a}j[a+40>>2]=g}j[a+44>>2]=-1;break a}h=b}oe=d+208|0;return h|0}function bC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=j[a+656>>2];a:{b:{if(!e){break b}f=j[e+1456>>2];a=6;if((f|0)==65535){break a}if(b){a=j[e+2964>>2];if(!a){h=e;c:{if(f>>>0>=391){f=f-391|0;g=0;if(f>>>0>=m[e+1312>>2]){break c}g=j[j[e+1316>>2]+(f<<2)>>2];break c}a=j[e+2956>>2];g=0;if(!a){break c}g=qe[j[a+20>>2]](f)|0}a=g;j[h+2964>>2]=a}j[b>>2]=a}if(c){a=j[e+2968>>2];if(!a){a=0;b=j[e+1460>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b-391|0;if(b>>>0>=m[e+1312>>2]){break d}a=j[j[e+1316>>2]+(b<<2)>>2];break d}f=j[e+2956>>2];if(!f){break d}a=qe[j[f+20>>2]](b)|0}j[e+2968>>2]=a}j[c>>2]=a}if(!d){break b}j[d>>2]=j[e+1464>>2]}a=0}return a|0}function sl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!(!a|(b|0)==(c|0))){d=(a|0)<0?-1:1;d=(b|0)<0?0-d|0:d;j=(c|0)<0?0-d|0:d;d=2147483647;f=c;c=c>>31;c=f+c^c;a:{if(!c){break a}f=b;b=b>>31;b=f+b^b;f=a;a=a>>31;a=f+a^a;if(b+a>>>0<=131071){d=(p(a,b)>>>0)/(c>>>0)|0;break a}e=b>>>16|0;g=a&65535;b=b&65535;h=a>>>16|0;i=p(e,g)+p(b,h)|0;a=i<<16;f=a;a=a+p(b,g)|0;b=(p(e,h)+(i>>>16|0)|0)+(f>>>0>a>>>0)|0;if(!b){d=(a>>>0)/(c>>>0)|0;break a}if(b>>>0>=c>>>0){break a}e=s(b);g=32-e|0;b=a>>>g|b<>>0)/(c>>>0)|0;b=b-p(c,d)|0;a=a<>>31;b=e-(c>>>0>e>>>0?0:c)|0;d=d<<1|c>>>0<=e>>>0;a=a<<1;g=g-1|0;if(g){continue}break}}a=(j|0)<0?0-d|0:d}return a}function mh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(j[a+64>>2]!=3){j[a+64>>2]=3;e=j[a+20>>2];if(!e){break a}b:{if(k[a+68|0]){d=j[a+12>>2];if((i[d+20>>1]+i[d+56>>1]|0)+1>>>0>m[d+8>>2]){d=yf(d,0,1);if(d){break a}}f=l[e>>1];d=f<<16>>16;if((d|0)<1){break b}i[(j[e+12>>2]+(f<<1)|0)-2>>1]=l[e+2>>1]-1}d=l[e>>1]}i[e>>1]=d+1;d=j[a+12>>2];if((i[d+22>>1]+i[d+58>>1]|0)+1>>>0>m[d+4>>2]){d=yf(d,1,0);if(d){break a}}d=j[a+20>>2];if(k[a+68|0]){e=j[d+8>>2];f=i[d+2>>1];a=j[d+4>>2]+(f<<3)|0;j[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;j[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;h[e+f|0]=1}i[d+2>>1]=l[d+2>>1]+1}d=0}return d|0}function ff(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0;a:{c=j[a+112>>2];d=j[a+116>>2];b:{if(c|d){b=c>>>0<=m[a+120>>2];c=j[a+124>>2];if((d|0)<(c|0)?1:(d|0)<=(c|0)?b:0){break b}}g=FD(a);if((g|0)>-1){break a}}j[a+104>>2]=0;return-1}i=a;b=j[a+116>>2];l=b;d=j[a+8>>2];c=d;f=j[a+112>>2];c:{if(!(b|f)){break c}c=d;e=j[a+120>>2]^-1;f=e+f|0;b=(j[a+124>>2]^-1)+l|0;b=f>>>0>>0?b+1|0:b;l=j[a+4>>2];e=d-l|0;n=f>>>0>=e>>>0;e=e>>31;if((b|0)>(e|0)?1:(e|0)<=(b|0)?n:0){break c}c=f+l|0}j[i+104>>2]=c;i=j[a+4>>2];if(d){c=a;b=(d-i|0)+1|0;d=b+j[a+120>>2]|0;a=j[a+124>>2]+(b>>31)|0;j[c+120>>2]=d;j[c+124>>2]=d>>>0>>0?a+1|0:a}a=i-1|0;if(k[a|0]!=(g|0)){h[a|0]=g}return g}function dx(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;a:{b:{if(!a){break b}b=j[a+8>>2];a=He(b,612,d+8|0);if(j[d+8>>2]){break b}j[a+432>>2]=32;j[a+8>>2]=b;f=a,g=xe(b,16,0,32,0,d+12|0),j[f+436>>2]=g;if(!j[d+12>>2]){j[a+440>>2]=0;j[a+388>>2]=0;j[a+392>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a>>2]=0;j[a+4>>2]=0;break a}j[a+440>>2]=0;b=j[a+8>>2];c=b;e=j[a+24>>2];if(e){qe[j[c+8>>2]](c,e)}j[a+20>>2]=0;j[a+24>>2]=0;c=j[a+436>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+436>>2]=0;j[a+428>>2]=0;j[a+432>>2]=0;c=j[a+392>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+388>>2]=0;j[a+392>>2]=0;j[a>>2]=0;j[a+4>>2]=0;if(a){qe[j[b+8>>2]](b,a)}if(!j[d+12>>2]){break a}}a=0}oe=d+16|0;return a}function Kh(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;j=1;i=d&2147483647;m=i;k=c;a:{if(!c&(i|0)==2147418112?a|b:(i|0)==2147418112&(c|0)!=0|i>>>0>2147418112){break a}l=h&2147483647;n=l;i=g;if(!g&(l|0)==2147418112?e|f:(l|0)==2147418112&(g|0)!=0|l>>>0>2147418112){break a}if(!(a|e|(i|k)|(b|f|(m|n)))){return 0}k=d&h;if((k|0)>0?1:(k|0)>=0){j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:(d|0)<(h|0)?1:(d|0)<=(h|0)?c>>>0>>0:0){break a}return(a^e|c^g)!=0|(b^f|d^h)!=0}j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:(d|0)>(h|0)?1:(d|0)>=(h|0)?c>>>0>g>>>0:0){break a}j=(a^e|c^g)!=0|(b^f|d^h)!=0}return j}function PO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0);e=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);if(e>>>0>=24){f=(e>>>0)/24|0;d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=d;while(1){g=q(n[c+8>>2]*q(.5));n[d>>2]=q(q(n[c>>2]+g)+n[c+16>>2])/q(2.5);n[d+4>>2]=q(q(g+n[c+4>>2])+n[c+20>>2])/q(2.5);d=d+8|0;c=c+24|0;f=f-1|0;if(f){continue}break}}c=(e|0)/3|0;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function Tg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;f=oe-48|0;oe=f;a:{if(!a){j[f>>2]=149666;ve(149640,f);a=0;break a}if(!b){j[f+16>>2]=149668;ve(149640,f+16|0);a=0;break a}if(!c){j[f+32>>2]=149670;ve(149640,f+32|0);a=0;break a}b:{g=j[a+8>>2];c:{if((g|0)<1){break c}h=j[a+12>>2];if((h|0)<1){break c}i=j[b+8>>2];if((i|0)<1){break c}k=j[b+12>>2];if((k|0)>0){break b}}j[c+8>>2]=0;j[c+12>>2]=0;a=0;break a}d=j[b>>2];e=j[a>>2];l=(d|0)>(e|0)?d:e;j[c>>2]=l;d=d+i|0;e=e+g|0;d=((d|0)<(e|0)?d:e)-l|0;j[c+8>>2]=d;b=j[b+4>>2];a=j[a+4>>2];e=(a|0)<(b|0)?b:a;j[c+4>>2]=e;b=b+k|0;a=a+h|0;a=((a|0)>(b|0)?b:a)-e|0;j[c+12>>2]=a;a=(d|0)>0&(a|0)>0}oe=f+48|0;return a}function eq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;a:{if(!a){break a}g=j[a>>2];if(!g){break a}e=j[a+36>>2];if((e|0)>=j[a+32>>2]){break a}h=j[a+16>>2];c=j[h+(e<<2)>>2];if(c&1024){j[a+36>>2]=e+1;b=a;d=j[a+348>>2];a=j[a+344>>2]+1|0;d=a>>>0<1?d+1|0:d;j[b+344>>2]=a;j[b+348>>2]=d;return-1}i=1;if(!b){break a}k=c&256;f=c&512;d=255;c=c&255;b:{if((c|0)!=255){d=c;break b}while(1){e=e+1|0;c=j[(e<<2)+h>>2];f=c&512?512:f;c=c&255;d=c+d|0;if((c|0)==255){continue}break}}j[b+8>>2]=k;j[b+12>>2]=f;j[b>>2]=j[a+12>>2]+g;c=j[a+348>>2];j[b+24>>2]=j[a+344>>2];j[b+28>>2]=c;a=j[a+20>>2]+(e<<3)|0;c=j[a+4>>2];a=j[a>>2];j[b+4>>2]=d;j[b+16>>2]=a;j[b+20>>2]=c}return i}function zB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-32|0;oe=c;d=j[b+96>>2];a:{if((d|0)<0|j[a+300>>2]<=(d|0)){break a}f=j[a+304>>2];if((qe[j[b+52>>2]](b,6,c,3)|0)<6){break a}e=j[c+12>>2];b=e>>31;b=b^b+e;if(!b){break a}g=a,h=De(1e3,b),i[g+68>>1]=h;if((b|0)!=65536){g=c,h=De(j[c>>2],b),j[g>>2]=h;g=c,h=De(j[c+4>>2],b),j[g+4>>2]=h;g=c,h=De(j[c+8>>2],b),j[g+8>>2]=h;g=c,h=De(j[c+16>>2],b),j[g+16>>2]=h;g=c,h=De(j[c+20>>2],b),j[g+20>>2]=h;j[c+12>>2]=j[c+12>>2]<0?-65536:65536}a=p(d,252)+f|0;j[a+216>>2]=j[c>>2];j[a+224>>2]=j[c+4>>2];j[a+220>>2]=j[c+8>>2];j[a+228>>2]=j[c+12>>2];j[a+232>>2]=j[c+16>>2]>>16;j[a+236>>2]=j[c+20>>2]>>16}oe=c+32|0}function ho(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0;c=j[a+28>>2];a:{if((c|0)==-1){break a}e=j[a+36>>2];g=j[a+40>>2];if(e>>>0>=g>>>0){break a}d=c+1|0;i=j[a+16>>2]+20|0;while(1){c=p(e,12)+i|0;b=c-4|0;b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);d=d>>>0>>0?f:d;b=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(d>>>0<=b>>>0){c=k[c+7|0]+((((k[c+4|0]<<24)-f|0)+(k[c+5|0]<<16)|0)+(k[c+6|0]<<8)|0)|0;while(1){f=c+d|0;if(f){j[a+36>>2]=e;j[a+32>>2]=f;j[a+28>>2]=d;return}d=d+1|0;if(b>>>0>=d>>>0){continue}break}}e=e+1|0;if(g>>>0>e>>>0){continue}break}}h[a+24|0]=0}function Yj(a,b,c){var d=0,e=0,f=0,g=0;f=oe-16|0;oe=f;e=j[67085];a:{if(!e){ve(151717,0);break a}if(!(j[a>>2]==(e+316|0)?a:0)){ve(150417,0);break a}if(!(k[b|0]?b:0)){j[f>>2]=150914;ve(150459,f);break a}g=a+140|0;d=j[a+140>>2];if(d){e=0;while(1){b:{a=d;d=j[a>>2];if(!d){break b}if(df(d,b)){break b}d=j[a+4>>2];if(c){j[a+4>>2]=c;break a}j[(e?e+8|0:g)>>2]=j[a+8>>2];b=j[a>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}break a}e=a;d=j[a+8>>2];if(d){continue}break}}d=0;if(!c){break a}a=qe[j[57972]](12)|0;if(a){j[57976]=j[57976]+1}b=_f(b);j[a+4>>2]=c;j[a>>2]=b;j[a+8>>2]=j[g>>2];j[g>>2]=a}oe=f+16|0;return d}function Iu(a,b,c,d,e){var f=0;a:{if(!a|!b){break a}b:{if(!c){break b}Ni(a,b,8192,0);f=gh(a,256);j[b+156>>2]=f;j[a+528>>2]=f;if(d-1>>>0>255){break b}Ae(f,c,d)}c:{if(e){c=k[b+24|0];d:{if(c>>>0>15){break d}c=-1<>1]){break e}break d;case 2:break f;default:break d}}if((c|0)>1]|(c|0)>1]){break e}if((c|0)>=l[e+6>>1]){break d}}Ze(a,99619)}a=l[e+4>>1]|l[e+6>>1]<<16;c=l[e>>1]|l[e+2>>1]<<16;i[b+160>>1]=c;i[b+162>>1]=c>>>16;i[b+164>>1]=a;i[b+166>>1]=a>>>16;i[b+168>>1]=l[e+8>>1];i[b+22>>1]=d?d:1;break c}i[b+22>>1]=d;if(!d){break a}}j[b+8>>2]=j[b+8>>2]|16;j[b+232>>2]=j[b+232>>2]|8192}}function Gi(a,b,c){var d=0,e=0,f=0;f=oe-32|0;oe=f;a:{if(!a){j[f>>2]=117899;d=ve(117597,f);break a}if(!b){j[f+16>>2]=117906;d=ve(117597,f+16|0);break a}if(!c){break a}if((c|0)%j[a+196>>2]|0){d=ve(117910,0);break a}if(!(j[a+84>>2]|(j[a>>2]|j[a+216>>2]!=j[a+204>>2]))){d=wk(j[a+168>>2],b,c);break a}if((c|0)<1){break a}while(1){d=j[a+184>>2];e=j[a+180>>2];if(!(d|(e|0)>(c|0))){d=tk(a,b,c,0);break a}if((e|0)>(c+d|0)){Ge(d+j[a+176>>2]|0,b,c);j[a+184>>2]=j[a+184>>2]+c;d=0;break a}e=e-d|0;Ge(d+j[a+176>>2]|0,b,e);j[a+184>>2]=0;if((tk(a,j[a+176>>2],j[a+180>>2],0)|0)<0){d=-1;break a}b=b+e|0;d=0;c=c-e|0;if((c|0)>0){continue}break}}oe=f+32|0;return d}function Ty(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=j[a+16>>2];d=k[a+8204|0]|k[a+8205|0]<<8|(k[a+8206|0]<<16|k[a+8207|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(e){a=a+8208|0;d=j[b>>2]+1|0;while(1){a:{c=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d>>>0>>0?f:d;c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);if(d>>>0>(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0){break a}c=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);c=(d-f|0)+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;if(!c){break a}j[b>>2]=d;return c|0}a=a+12|0;e=e-1|0;if(e){continue}break}}j[b>>2]=0;return 0}function Af(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;i=j[b+12>>2];g=b;e=j[b+16>>2];k=e;f=e;h=j[a+48>>2];d=j[a+52>>2];if(h>>>0>d>>>0){d=j[a+44>>2]}d=d-h|0;e=d>>>0>e>>>0?f:d;j[g+16>>2]=k-e;j[b+20>>2]=e+j[b+20>>2];d=j[a+56>>2];if(d){d=qe[d|0](j[a+60>>2],h,e)|0;j[a+60>>2]=d;j[b+48>>2]=d}c=(c|0)==-5?e?0:c:c;g=Ae(i,h,e)+e|0;f=e+h|0;if((f|0)==j[a+44>>2]){e=j[a+40>>2];d=j[a+52>>2];if((f|0)==(d|0)){j[a+52>>2]=e;d=e}f=j[b+16>>2];d=d-e|0;d=d>>>0>f>>>0?f:d;j[b+16>>2]=f-d;j[b+20>>2]=d+j[b+20>>2];f=j[a+56>>2];if(f){f=qe[f|0](j[a+60>>2],e,d)|0;j[a+60>>2]=f;j[b+48>>2]=f}f=d+e|0;g=Ae(g,e,d)+d|0;c=(c|0)==-5?d?0:c:c}j[b+12>>2]=g;j[a+48>>2]=f;return c}function Ql(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;i=-131;a:{if(j[a+88>>2]<2){break a}if(!j[a+4>>2]){return-138}if(b<0){break a}g=j[a+52>>2];b:{if((g|0)<1){break b}while(1){e=k+kq(a,d);if(e>b){e=k;break b}l=j[a+68>>2]+(d<<4|8)|0;f=j[l>>2]+h|0;c=j[l+4>>2]+c|0;c=h>>>0>f>>>0?c+1|0:c;h=f;k=e;d=d+1|0;if((g|0)>(d|0)){continue}break}}if((d|0)==(g|0)){break a}f=a;b=(b-e)*+j[(j[a+72>>2]+(d<<5)|0)+8>>2]+(+(h>>>0)+ +(c|0)*4294967296);c:{if(r(b)<0x8000000000000000){c=r(b)>=1?b>0?~~t(v(b*2.3283064365386963e-10),4294967295)>>>0:~~w((b- +(~~b>>>0>>>0))*2.3283064365386963e-10)>>>0:0;a=~~b>>>0;break c}c=-2147483648;a=0}i=mq(f,a,c)}return i}function yE(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;d=oe;k=d;e=j[a>>2];g=d-((e<<2)+15&-16)|0;oe=g;iq(e,j[a+24>>2],b,c,q(140),-1);if((e|0)>=1){d=0;while(1){f=d<<2;n[f+g>>2]=n[b+f>>2]-n[c+f>>2];d=d+1|0;if((e|0)!=(d|0)){continue}break}}iq(e,j[a+24>>2],g,c,q(0),j[j[a+4>>2]+128>>2]);d=0;a:{if((e|0)<=0){break a}while(1){f=d<<2;h=f+g|0;n[h>>2]=n[b+f>>2]-n[h>>2];d=d+1|0;if((e|0)!=(d|0)){continue}break}if((e|0)<1){break a}b=j[a+4>>2];d=0;while(1){f=d<<2;h=f+c|0;i=+n[h>>2]+.5;b:{if(r(i)<2147483648){a=~~i;break b}a=-2147483648}a=(a|0)<39?a:39;n[h>>2]=n[f+g>>2]+n[(b+(((a|0)>0?a:0)<<2)|0)+336>>2];d=d+1|0;if((e|0)!=(d|0)){continue}break}}oe=k}function OL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=q(0),g=0;c=Ah(a,32,b+4|0);if(!c){return-1}j[b+8>>2]=1;Ge(c,d,16);b=c;d=j[a+216>>2];a=j[a+220>>2];a:{if(d|a){g=c;f=q(n[e>>2]+q(d|0));b:{if(q(r(f))>2]=d;f=q(n[e+4>>2]+q(a|0));break a}a=c;f=n[e>>2];c:{if(q(r(f))>2]=d;f=n[e+4>>2]}d:{if(q(r(f))>2]=a;a=c;f=n[e+8>>2];e:{if(q(r(f))>2]=b;f=n[e+12>>2];f:{if(q(r(f))>2]=a;return 0}function Sn(a,b){var c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;c=j[a>>2];f=j[a+24>>2];i[d+14>>1]=0;i[d+12>>1]=0;i[d+10>>1]=0;i[d+8>>1]=0;g=j[f+8>>2];qe[j[j[c+532>>2]+112>>2]](c,0,b,d+14|0,d+10|0);a:{if(k[c+292|0]){qe[j[j[c+532>>2]+112>>2]](c,1,b,d+12|0,d+8|0);break a}b=j[a+48>>2];if(l[c+364>>1]!=65535){e=i[c+434>>1];i[d+12>>1]=e-b;c=e-i[c+436>>1]|0;b=c>>31;i[d+8>>1]=b^b+c;break a}e=i[c+220>>1];i[d+12>>1]=e-b;c=e-i[c+222>>1]|0;b=c>>31;i[d+8>>1]=b^b+c}b=Fe(f,g);b:{if(b){break b}j[a+52>>2]=i[d+14>>1];c=l[d+10>>1];j[a+56>>2]=c;j[a+176>>2]=i[d+12>>1];j[a+180>>2]=l[d+8>>1];if(k[a+64|0]){break b}j[a+60>>2]=c;h[a+64|0]=1}oe=d+16|0;return b}function lf(a){a=a|0;var b=0,c=0;a:{if(!a|k[a|0]&4){break a}wf(j[a+52>>2]);b=j[a+56>>2];j[a+56>>2]=b-1;if((b|0)>1){break a}b=j[a+28>>2];b:{if((b|0)<1){break b}while(1){c=b-1|0;j[a+28>>2]=c;if((b|0)==1){b=j[a>>2];if(!(b&2)){break b}j[a>>2]=b&-3;hk(a);b=j[a+28>>2]}else{b=c}if((b|0)>0){continue}break}}if(k[a|0]&2){Bi(a,0)}b=j[a+4>>2];if(b){if((hm(b,0)|0)>=0){wf(j[a+52>>2])}im(j[a+4>>2]);j[a+4>>2]=0}c=j[a>>2];c:{if(c&1){break c}b=j[a+20>>2];if(c&8){if(b){b=j[b-4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}break c}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}b=j[a+52>>2];if(b){_H(b)}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function kt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;d=k[a+20|0];f=j[a+16>>2];g=j[a+12>>2];a:{b:{if(!we(b,6509)){d=j[c>>2];if(!d){a=35;break a}b=j[d+116>>2];j[e+8>>2]=b;if(!b){a=rj(d,e+8|0,a);if(a){break a}b=j[e+8>>2];j[d+116>>2]=b;j[d+120>>2]=14}j[c+4>>2]=j[b+8>>2];break b}if(!we(b,6452)){j[c>>2]=j[j[(g<<2)+4960>>2]+8>>2];break b}if(!we(b,6468)){j[c>>2]=f;break b}if(!we(b,6483)){d=j[c>>2];if(!d){a=35;break a}b=j[d+116>>2];j[e+12>>2]=b;if(!b){a=rj(d,e+12|0,a);if(a){break a}b=j[e+12>>2];j[d+116>>2]=b;j[d+120>>2]=14}j[c+4>>2]=j[b+12>>2];break b}a=12;if(we(b,6501)){break a}h[c|0]=d}a=0}oe=e+16|0;return a|0}function bM(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0;m=oe-16|0;oe=m;a:{if(!a){ve(138576,0);break a}i=j[a+4>>2];l=k[i+8|0];if(l>>>0<=7){ve(138608,0);break a}if(d-1>>>0<=1){g=(p(g,h)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;e=(p(e,h)>>>0)/255|0}b:{c:{d:{switch(l-15|0){case 0:l=706;if(j[i+12>>2]!=31744){break c}break b;case 17:if(j[i+12>>2]!=16711680){break c}l=j[i+24>>2]?707:708;break b;case 1:break d;default:break c}}l=709;if(j[i+12>>2]==63488){break b}}l=j[i+24>>2]?710:711}if((c|0)<1){break a}i=a+36|0;g=g&255;f=f&255;n=e&255;e=0;while(1){if(Tg((e<<4)+b|0,i,m)){qe[l|0](a,m,d,n,f,g,h)|0}e=e+1|0;if((e|0)!=(c|0)){continue}break}}oe=m+16|0}function al(a,b,c,d,e){var f=0,g=0,m=0,n=0,o=0,q=0;f=d>>9;d=(d|0)<0?0-f|0:f;a:{if(k[a+1152|0]&2){d=d&511;if(d>>>0>=257){d=512-d|0;break a}d=(d|0)==256?255:d;break a}d=(d|0)<255?d:255}m=d;if(m){b=j[a+164>>2]+b|0;o=(b|0)<32767?b:32767;b=a+1196|0;d=j[a+1388>>2];g=b+p(d,6)|0;b:{f=j[a+1400>>2];c=j[a+172>>2]+c|0;if((f|0)!=(c|0)|(d|0)<1){break b}f=c;n=g-6|0;q=l[n+2>>1];if((q+i[n>>1]|0)!=(o|0)|k[g-2|0]!=(m|0)){break b}i[n+2>>1]=e+q;return}c:{if(!((c|0)!=(f|0)|(d|0)>31)){b=g;break c}d:{if((d|0)<1){break d}g=j[a+1392>>2];if(!g){break d}qe[g|0](f,d,b,j[a+1396>>2])}j[a+1400>>2]=c;d=0}h[b+4|0]=m;i[b+2>>1]=e;i[b>>1]=o;j[a+1388>>2]=d+1}}function cl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0;if(!a){return 35}f=16;a:{b:{if(l[a+264>>1]<=b>>>0){break b}d=j[a+536>>2];if(!d){return 7}f=0;g=c,i=qe[j[d+16>>2]](0)|0,j[g>>2]=i;e=j[a+468>>2];if((e|0)!=163840){if((e|0)!=131072){if((e|0)!=65536|b>>>0>257){break b}break a}if(!k[a+612|0]){if(bo(a)){break b}}if(l[a+616>>1]<=b>>>0){break b}b=l[j[a+620>>2]+(b<<1)>>1];if(b>>>0<=257){break a}j[c>>2]=j[(j[a+624>>2]+(b<<2)|0)-1032>>2];return 0}if(!k[a+612|0]){if(bo(a)){break b}}if(l[a+616>>1]<=b>>>0){break b}g=c,i=qe[j[d+16>>2]](h[j[a+620>>2]+b|0]+b|0)|0,j[g>>2]=i}return f|0}g=c,i=qe[j[d+16>>2]](b)|0,j[g>>2]=i;return 0}function pn(a,b,c){var d=0,e=0,f=0,g=0,k=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0;l=p(c,1468)+a|0;f=j[l- -64>>2];a=j[l+56>>2];g=p(c,1572)+b|0;n=j[g+44>>2];b=ye(m[b+40>>2]/40|0,n);if((a|0)>=1){s=(b|0)<32?b:32;t=p(a,48)+f|0;a=j[g+260>>2];b=a;while(1){if(b){b=0;c=s;k=0;while(1){e=p(b,28)+g|0;d=j[e+288>>2];if(!(!(d&1)|(d&2)>>>1^j[l+68>>2]!=h[f+13|0])){a=i[f>>1];o=a-j[e+264>>2]|0;d=o>>31;q=a-j[e+276>>2]|0;r=q>>31;e=(d^d+o)>(r^r+q)?e+276|0:e+264|0;d=a-j[e>>2]|0;a=d>>31;d=ye(a^a+d,n);a=(d|0)<(c|0);c=a?d:c;k=a?e:k;a=j[g+260>>2]}b=b+1|0;if(b>>>0>>0){continue}break}if(k){j[f+20>>2]=k}b=a}else{b=0}f=f+48|0;if(t>>>0>f>>>0){continue}break}}}function mJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+63|0];n=k[a+62|0];o=k[a+61|0];q=k[a+60|0];b=j[a+52>>2];r=b&2;s=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){t=a;h=j[a+24>>2];if(h){while(1){b=j[g>>2];c=b&255;i=b>>>8&255;l=b>>>16&255;u=f;if(s){i=(p(i,o)>>>0)/255|0;l=(p(l,q)>>>0)/255|0;c=(p(c,n)>>>0)/255|0}b=b>>>24|0;j[u>>2]=c|(i<<8|l<<16)|(r?(p(b,m)>>>0)/255|0:b)<<24;f=f+4|0;g=g+4|0;h=h-1|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[t+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function mI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+63|0];n=k[a+62|0];o=k[a+61|0];q=k[a+60|0];b=j[a+52>>2];r=b&2;s=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){t=a;h=j[a+24>>2];if(h){while(1){b=j[g>>2];c=b>>>24|0;i=b>>>8&255;l=b>>>16&255;u=f;if(s){i=(p(i,q)>>>0)/255|0;l=(p(l,o)>>>0)/255|0;c=(p(c,n)>>>0)/255|0}b=b&255;j[u>>2]=c|(l<<8|i<<16)|(r?(p(b,m)>>>0)/255|0:b)<<24;f=f+4|0;g=g+4|0;h=h-1|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[t+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function fo(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=j[a+28>>2];a:{if((c|0)==-1){break a}d=j[a+36>>2];f=j[a+40>>2];if(d>>>0>=f>>>0){break a}e=c+1|0;g=j[a+16>>2]+20|0;while(1){b:{c=p(d,12)+g|0;b=c-4|0;b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=b>>>0>e>>>0?b:e;b=c;b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);if(e>>>0>(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0){break b}c=k[c+4|0]|k[c+5|0]<<8|(k[c+6|0]<<16|k[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){break b}j[a+36>>2]=d;j[a+32>>2]=c;j[a+28>>2]=e;return}d=d+1|0;if(f>>>0>d>>>0){continue}break}}h[a+24|0]=0}function Yk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=c;f=j[a+696>>2];a:{if(f>>>0>b>>>0){d=j[a+700>>2];b:{if(l[a+210>>1]){b=d+(b<<2)|0;c=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=c;b=b+8|0;if(b>>>0>d+(f<<2)>>>0){break b}b=b-4|0;b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}e=d+(b<<1)|0;b=k[e|0]<<8|k[e+1|0];c=b<<1;f=d+(f<<1)|0;d=e+4|0;if(f>>>0>=d>>>0){b=d-2|0;b=k[b|0]<<8|k[b+1|0]}e=b<<1}d=0;a=j[a+668>>2];b=0;if(a>>>0>>0){break a}b=a;a=a>>>0>>0?a:e;d=c;a=a>>>0>>0?b:a}else{a=0}b=a-d|0}j[g>>2]=b;return d|0}function UI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+63|0];n=k[a+62|0];o=k[a+61|0];q=k[a+60|0];b=j[a+52>>2];r=b&2;s=b&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){t=a;h=j[a+24>>2];if(h){while(1){b=j[g>>2];c=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(s){i=(p(i,n)>>>0)/255|0;l=(p(l,o)>>>0)/255|0;c=(p(c,q)>>>0)/255|0}b=b&255;j[d>>2]=l<<8|c<<16|i|(r?(p(b,m)>>>0)/255|0:b)<<24;d=d+4|0;g=g+4|0;h=h-1|0;if(h){continue}break}d=j[a+28>>2]}else{d=c}b=d;c=b-1|0;j[t+28>>2]=c;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(b){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function FI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){n=k[a+63|0];o=k[a+62|0];q=k[a+61|0];r=k[a+60|0];b=j[a+52>>2];s=b&2;t=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){u=a;h=j[a+24>>2];if(h){while(1){c=j[g>>2];i=c&255;l=c>>>8&255;b=c>>>16&255;h=h-1|0;m=c>>>24|0;c=f;if(t){l=(p(l,q)>>>0)/255|0;i=(p(i,r)>>>0)/255|0;b=(p(b,o)>>>0)/255|0}j[c>>2]=l<<8|i<<16|b|(s?(p(m,n)>>>0)/255|0:m)<<24;f=f+4|0;g=g+4|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[u+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function qg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=oe-16|0;oe=f;j[f+12>>2]=0;e=6;a:{if(!a|!c){break a}g=j[c>>2];if(!g){break a}h=j[g+100>>2];e=He(h,j[a>>2],f+12|0);b:{if(j[f+12>>2]){break b}i=j[c+4>>2];j[e>>2]=j[c>>2];j[e+4>>2]=i;j[e+8>>2]=j[c+8>>2];j[e+12>>2]=a;c:{a=j[a+4>>2];if(a){a=qe[a|0](e,b)|0;j[f+12>>2]=a;if(a){break c}}a=j[g+36>>2];a=xe(h,4,a,a+1|0,j[g+40>>2],f+12|0);j[g+40>>2]=a;if(j[f+12>>2]){break c}b=j[g+36>>2];j[g+36>>2]=b+1;j[a+(b<<2)>>2]=e;break b}a=j[j[e>>2]+100>>2];b=j[j[e+12>>2]+8>>2];if(b){qe[b|0](e)}if(e){qe[j[a+8>>2]](a,e)}e=0}if(d){j[d>>2]=e}e=j[f+12>>2]}oe=f+16|0;return e|0}function EA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0;f=oe-16|0;oe=f;Nf(a,j[a+8>>2]);g=j[a+8>>2];d=j[a>>2];j[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}l=k[d|0];e=93;b:{c:{if((l|0)==91){break c}e=1;if((l|0)!=123){break b}e=125}m=e;d=d+1|0;j[f+12>>2]=d;e=0}l=e;if(d>>>0>=g>>>0){break a}while(1){Nf(f+12|0,g);e=j[f+12>>2];if(e>>>0>=g>>>0){d=e;break a}if(k[e|0]==(m|0)){d=e+1|0;break a}if(!(!c|(b|0)>(h|0))){d=e;break a}n=c?(h<<1)+c|0:f+10|0,o=nh(f+12|0,g,0)>>>16|0,i[n>>1]=o;d=j[f+12>>2];if((e|0)==(d|0)){h=-1;d=e;break a}h=h+1|0;if(l){break a}if(d>>>0>>0){continue}break}}j[a>>2]=d;oe=f+16|0;return h|0}function DA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0;g=oe-16|0;oe=g;Nf(a,j[a+8>>2]);h=j[a+8>>2];e=j[a>>2];j[g+12>>2]=e;a:{if(e>>>0>=h>>>0){break a}l=k[e|0];f=93;b:{c:{if((l|0)==91){break c}f=1;if((l|0)!=123){break b}f=125}m=f;e=e+1|0;j[g+12>>2]=e;f=0}l=f;if(e>>>0>=h>>>0){break a}while(1){Nf(g+12|0,h);f=j[g+12>>2];if(f>>>0>=h>>>0){e=f;break a}if(k[f|0]==(m|0)){e=f+1|0;break a}if(!(!c|(b|0)>(i|0))){e=f;break a}n=c?(i<<2)+c|0:g+8|0,o=nh(g+12|0,h,d),j[n>>2]=o;e=j[g+12>>2];if((f|0)==(e|0)){i=-1;e=f;break a}i=i+1|0;if(l){break a}if(e>>>0>>0){continue}break}}j[a>>2]=e;oe=g+16|0;return i|0}function JO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0),j=q(0);c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);g=c<<1;f=c>>>3|0;if(f){e=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=e+c|0;d=e+g|0;while(1){e=c-8|0;i=n[e>>2];j=n[c-4>>2];n[d-4>>2]=j;n[d-8>>2]=i;n[d-12>>2]=j;d=d-16|0;n[d>>2]=i;c=e;f=f-1|0;if(f){continue}break}}c=g;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function Sm(a){var b=0,c=0,d=0;if(a){c=j[a>>2];b=c;d=j[a+24>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+24>>2]=0;b=j[a+28>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+32>>2]=0;b=j[a+40>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+40>>2]=0;b=j[a+52>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;j[a+44>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+12>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a+88>>2]=0;d=j[a+32>>2];b=a- -64|0;j[b>>2]=j[a+28>>2];j[b+4>>2]=d;b=j[a+40>>2];j[a+72>>2]=j[a+36>>2];j[a+76>>2]=b;b=j[a+24>>2];j[a+56>>2]=j[a+20>>2];j[a+60>>2]=b;b=j[a+48>>2];j[a+80>>2]=j[a+44>>2];j[a+84>>2]=b;if(a){qe[j[c+8>>2]](c,a)}}}function Qp(a,b,c,d,e){var f=0,g=0,i=0;f=oe-208|0;oe=f;j[f+204>>2]=c;Ee(f+160|0,0,40);j[f+200>>2]=j[f+204>>2];a:{if((Il(0,b,f+200|0,f+80|0,f+160|0,d,e)|0)<0){b=-1;break a}g=j[a+76>>2]>=0;c=j[a>>2];if(h[a+74|0]<=0){j[a>>2]=c&-33}i=c&32;b:{if(j[a+48>>2]){b=Il(a,b,f+200|0,f+80|0,f+160|0,d,e);break b}j[a+48>>2]=80;j[a+16>>2]=f+80;j[a+28>>2]=f;j[a+20>>2]=f;c=j[a+44>>2];j[a+44>>2]=f;d=Il(a,b,f+200|0,f+80|0,f+160|0,d,e);b=d;if(!c){break b}qe[j[a+36>>2]](a,0,0)|0;j[a+48>>2]=0;j[a+44>>2]=c;j[a+28>>2]=0;j[a+16>>2]=0;b=j[a+20>>2];j[a+20>>2]=0;b=b?d:-1}c=a;a=j[a>>2];j[c>>2]=a|i;b=a&32?-1:b;if(!g){break a}}oe=f+208|0;return b}function Nz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;f=oe-128|0;oe=f;if((c|0)>=1){l=(p((b|0)!=0,36)+a|0)+16|0;while(1){i=(c|0)<16?c:16;g=i<<1;b=0;while(1){e=b<<2;m=e+f|0;k=j[d+e>>2]+k|0;e=k;h=e+32768&-65536;if((e|0)<0){h=0-(32768-e&-65536)|0}j[m>>2]=h>>16;b=b+1|0;if((g|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;h=(e|4)+f|0;j[h>>2]=j[h>>2]-j[e+f>>2];b=b+2|0;if((g|0)>(b|0)){continue}break}a:{if(j[a+4>>2]){break a}b=f;g=i;while(1){e=Ri(l,j[b>>2],j[b+4>>2],j[a>>2],0);if(e){j[a+4>>2]=e;break a}b=b+8|0;e=(g|0)>1;g=g-1|0;if(e){continue}break}}c=c-i|0;if((c|0)>0){continue}break}}oe=f+128|0}function EL(a,b){var c=0,d=0,e=0,f=0;a:{if((a|0)<=-1){h[b|0]=45;a=0-a|0;e=b+1|0;c=e;while(1){d=(a>>>0)/10|0;h[c|0]=k[(a-p(d,10)|0)+138832|0];c=c+1|0;f=a>>>0>=10;a=d;if(f){continue}break}h[c|0]=0;c=Le(e);a=c>>>1|0;if(!a){break a}d=b+c|0;while(1){b=k[e|0];h[e|0]=k[d|0];h[d|0]=b;d=d-1|0;e=e+1|0;a=a-1|0;if(a){continue}break}break a}b:{if(a){c=b;while(1){d=(a>>>0)/10|0;h[c|0]=k[(a-p(d,10)|0)+138832|0];c=c+1|0;e=a>>>0<10;a=d;if(!e){continue}break}break b}h[b|0]=48;c=b+1|0}h[c|0]=0;a=Le(b);c=a>>>1|0;if(!c){break a}d=(a+b|0)-1|0;a=b;while(1){b=k[a|0];h[a|0]=k[d|0];h[d|0]=b;d=d-1|0;a=a+1|0;c=c-1|0;if(c){continue}break}}}function zx(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;b=Se(40);j[b>>2]=0;j[e+12>>2]=0;f=li(a,1,b,4);g=C()|0;h=a+1136|0;while(1){a:{b:{c:{if(!c){j[67126]=0;i=N(358,h|0,89664,a|0)|0;c=j[67126];j[67126]=0;b=-1;if(!c){break b}d=j[67127];if(!d){break b}b=ef(j[c>>2],f,g);if(b){break c}F(c|0,d|0);z()}j[e+12>>2]=64;break a}D(d|0)}c=C()|0;if((b|0)==1){continue}j[e+12>>2]=i;if(j[a+196>>2]){break a}j[67126]=0;H(359,a|0);c=j[67126];j[67126]=0;b=-1;d:{if(!c){break d}d=j[67127];if(!d){break d}b=ef(j[c>>2],f,g);if(!b){F(c|0,d|0);z()}D(d|0)}c=C()|0;if((b|0)==1){continue}}break}a=j[e+12>>2];ze(f);oe=e+16|0;return a}function oB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=oe-16|0;oe=d;a:{b:{if(Ro(a,b)){Cj(b);e=b+132|0;f=xB(e,a);if((f&255)==7){break b}if(f){f=sB(e,a);if(f|(f&255)==7){break b}}j[b+104>>2]=e;j[b+172>>2]=a;if(Ro(e,b)){break b}}if((c|0)>=1){Cj(b);a=6;break a}a=d;f=a;c:{d:{c=j[b+180>>2];e:{if(!c){break e}e=j[b+176>>2];if(!e|(k[c|0]|32)!=105|((k[c+1|0]|32)!=115|(k[c+2|0]|32)!=111)){break e}c=c+3|0;if(!we(c,22516)){break d}if(we(c,22522)){break e}if(!we(e,22527)){break d}}j[d>>2]=b;c=0;b=0;break c}j[d>>2]=b;c=65539;b=1970170211}j[f+4>>2]=b;j[a+8>>2]=c;a=qg(22532,0,d,0);break a}Cj(b);a=2}oe=d+16|0;return a|0}function PD(a,b){var c=0,d=0;d=oe-32|0;oe=d;a:{b:{c:{if(!Zg(226816,h[b|0])){j[67100]=28;break c}c=Se(1176);if(c){break b}}c=0;break a}Ee(c,0,144);if(!Zg(b,43)){j[c>>2]=k[b|0]==114?8:4}d:{if(k[b|0]!=97){b=j[c>>2];break d}b=X(a|0,3,0)|0;if(!(b&1024)){j[d+16>>2]=b|1024;X(a|0,4,d+16|0)|0}b=j[c>>2]|128;j[c>>2]=b}h[c+75|0]=255;j[c+48>>2]=1024;j[c+60>>2]=a;j[c+44>>2]=c+152;e:{if(b&8){break e}j[d>>2]=d+24;if(Na(a|0,21523,d|0)|0){break e}h[c+75|0]=10}j[c+40>>2]=1063;j[c+36>>2]=1064;j[c+32>>2]=1065;j[c+12>>2]=1066;if(!j[67102]){j[c+76>>2]=-1}j[c+56>>2]=j[67123];a=j[67123];if(a){j[a+52>>2]=c}j[67123]=c}oe=d+32|0;return c}function Ek(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=oe-16|0;oe=c;j[a+800>>2]=33;pf(a,c+8|0,8);a:{b=k[c+8|0]|k[c+9|0]<<8|(k[c+10|0]<<16|k[c+11|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if((e|0)>-1){b=k[c+12|0]|k[c+13|0]<<8|(k[c+14|0]<<16|k[c+15|0]<<24);j[a+376>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);f=a,g=Rf(0,0,0),j[f+412>>2]=g;tf(a,c+12|0,4);b=j[a+376>>2];d=b&255;if(d-65>>>0>57|d-91>>>0<=5){break a}d=b>>>8&255;if(d-65>>>0>57|d-91>>>0<6){break a}d=b>>>16&255;if(d-65>>>0>57|d-91>>>0<6){break a}b=b>>>24|0;if(b-65>>>0>57|b-91>>>0<6){break a}j[a+800>>2]=65;oe=c+16|0;return e}Ye(a,99884);z()}hf(a,100835);z()}function hJ(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=j[b+72>>2];if((f|0)==1651078259){return 0}a:{b:{c:{if((f|0)!=1869968492){g=7;if(!a){break b}d=j[a+148>>2];if(!d){break b}while(1){e=j[d+8>>2];if((f|0)==j[e+16>>2]){break c}d=j[d+4>>2];if(d){continue}break}break b}e=j[a+156>>2];if(!e){break a}d=j[a+148>>2]}g=0;e=qe[j[e+60>>2]](e,b,c,0)|0;if(!e){break b}h=a+148|0;while(1){d:{e:{if(!a|(e&255)!=19){break e}d=j[(d?d+4|0:h)>>2];if(!d){break e}g=j[b+72>>2];while(1){f=j[d+8>>2];if((g|0)==j[f+16>>2]){break d}d=j[d+4>>2];if(d){continue}break}}g=e;break b}g=0;e=qe[j[f+60>>2]](f,b,c,0)|0;if(e){continue}break}}return g}return 7}function eo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;a:{b:{f=j[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;g=f<<1;l=g+2|0;m=j[a+16>>2]+14|0;while(1){c=(b<<1)+m|0;e=k[c|0]<<8|k[c+1|0];j[a+44>>2]=e;c=c+l|0;h=k[c|0]<<8|k[c+1|0];j[a+40>>2]=h;c=c+g|0;d=k[c|0]|k[c+1|0]<<8;j[a+48>>2]=(d<<24|d<<8&16711680)>>16;d=c+g|0;c=k[d|0]<<8|k[d+1|0];c:{if((e|0)!=65535|b>>>0>>0|(h|0)!=65535){break c}if(!c){break b}e=j[a>>2];if((c+d|0)+2>>>0<=j[e+500>>2]+j[e+504>>2]>>>0){break c}j[a+48>>2]=1;break b}if((c|0)!=65535){if(!c){break b}c=c+d|0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}return-1}c=0}j[a+36>>2]=b;j[a+52>>2]=c;return 0}function as(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-16|0;oe=c;j[b>>2]=0;a:{if(!a){break a}b:{if(k[a|0]!=64){j[c+12>>2]=a;break b}d=IN(Fi(a+1|0,124115));j[c+12>>2]=d;a=d;if(!a){break a}}a=xh(a,125131);j[c+12>>2]=a;c:{if(!a){break c}while(1){f=vr(a,c+12|0);a=xh(j[c+12>>2],125131);j[c+12>>2]=a;if(!a){break c}g=vr(a,c+12|0);a=j[b>>2];d:{if((a|0)!=j[b+4>>2]){e=j[b+8>>2];break d}a=a+16|0;e=mf(j[b+8>>2],a<<2);if(!e){break c}j[b+4>>2]=a;j[b+8>>2]=e;a=j[b>>2]}j[b>>2]=a+1;j[(a<<2)+e>>2]=g&65535|f<<16;a=xh(j[c+12>>2],125131);j[c+12>>2]=a;if(a){continue}break}}if(!d){break a}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}}oe=c+16|0}function RF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=oe-16|0;oe=e;if(!(c?!b:0)){b=Qf(d?163865:163885);c=b?b:d?163903:163919}f=Qf(163754);b=qe[j[57972]](12)|0;if(b){j[57976]=j[57976]+1}j[a+96>>2]=b;a:{if(!b){b=Be(0);break a}Oe(b,0,12);b:{if(f){b=sf(f);break b}b=(p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0}j[j[a+96>>2]+4>>2]=b;f=Fi(c,d?163773:163776);j[j[a+96>>2]>>2]=f;b=-1;if(!f){break a}b=163841;if(!d){b=j[a+16>>2];b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}j[j[a+96>>2]+8>>2]=b;if(!b){b=Be(0);break a}Oe(b,k[a+11|0],j[a+16>>2]);b=163854}Rm(163779,0);j[e+4>>2]=c;j[e>>2]=b;Rm(163825,e);b=0}oe=e+16|0;return b|0}function oO(a,b){a=a|0;b=b|0;var c=0,d=q(0),e=0,f=0;e=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>2|0;if(e){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){f=b;d=n[b>>2];c=2147483647;a:{if(d>=q(1)){break a}c=-2147483648;if(d<=q(-1)){break a}d=q(d*q(8388607));b:{if(q(r(d))>2]=c;b=b+4|0;e=e-1|0;if(e){continue}break}}b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,32800)}}function Fn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=oe-32|0;oe=c;a:{if((qe[j[b+52>>2]](b,6,c,3)|0)<=5){j[b+12>>2]=3;break a}e=j[c+12>>2];d=e>>31;d=d^d+e;if(!d){j[b+12>>2]=3;break a}f=a,g=De(1e3,d),i[f+68>>1]=g;b:{if((d|0)==65536){b=j[c+20>>2];d=j[c+12>>2];break b}f=c,g=De(j[c>>2],d),j[f>>2]=g;f=c,g=De(j[c+4>>2],d),j[f+4>>2]=g;f=c,g=De(j[c+8>>2],d),j[f+8>>2]=g;f=c,g=De(j[c+16>>2],d),j[f+16>>2]=g;b=De(j[c+20>>2],d);j[c+20>>2]=b;d=j[c+12>>2]<0?-65536:65536;j[c+12>>2]=d}j[a+436>>2]=j[c>>2];j[a+444>>2]=j[c+4>>2];e=j[c+8>>2];j[a+448>>2]=d;j[a+440>>2]=e;d=j[c+16>>2];j[a+456>>2]=b>>16;j[a+452>>2]=d>>16}oe=c+32|0}function eL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;f=j[a+24>>2];i=j[a+16>>2]+(f+((f+7|0)/-8|0)|0)|0;l=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];e=j[a+28>>2];g=j[a+48>>2];a:{if(g){if(!e){break a}m=(f|0)<1;while(1){e=e-1|0;d=0;a=0;if(!m){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}h[b|0]=k[g+((a&128)>>>7|0)|0];a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+l|0;c=c+i|0;if(e){continue}break}break a}if(!e){break a}g=(f|0)<1;while(1){e=e-1|0;d=0;a=0;if(!g){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}h[b|0]=(a&128)>>>7;a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+l|0;c=c+i|0;if(e){continue}break}}}function Ze(a,b){var c=0,d=0,e=0;d=oe-16|0;oe=d;a:{b:{if(!a){break b}c=0;c:{if(k[b|0]!=35){break c}c=1;if(k[b+1|0]==32){break c}c=2;if(k[b+2|0]==32){break c}c=3;if(k[b+3|0]==32){break c}c=4;if(k[b+4|0]==32){break c}c=5;if(k[b+5|0]==32){break c}c=6;if(k[b+6|0]==32){break c}c=7;if(k[b+7|0]==32){break c}c=8;if(k[b+8|0]==32){break c}c=9;if(k[b+9|0]==32){break c}c=10;if(k[b+10|0]==32){break c}c=11;if(k[b+11|0]==32){break c}c=12;if(k[b+12|0]==32){break c}c=13;if(k[b+13|0]==32){break c}c=k[b+14|0]==32?14:15}e=j[a+172>>2];if(!e){break b}qe[e|0](a,b+c|0);break a}j[d>>2]=b+c;a=j[56878];Lj(a,102427,d);Ll(a)}oe=d+16|0}function Hu(a,b,c){var d=0,e=0,f=0,g=0;g=1;a:{if(!b|(!c|!a)){break a}d=Gk(a,j[b+244>>2],j[b+248>>2],1,16);if(!d){Mf(a,99669,1);return}Ke(a,j[b+244>>2]);j[b+244>>2]=d;j[b+232>>2]=j[b+232>>2]|32;d=d+(j[b+248>>2]<<4)|0;while(1){e=j[c>>2];b:{if(!(j[c+8>>2]?e:0)){ci(a,99690);break b}h[d+4|0]=k[c+4|0];f=Le(e)+1|0;e=$f(a,f);j[d>>2]=e;c:{if(e){Ae(e,j[c>>2],f);e=Yu(a,j[c+12>>2]);j[d+8>>2]=e;if(e){break c}Ke(a,j[d>>2]);j[d>>2]=0}if((g|0)<1){break a}Mf(a,99717,1);return}f=j[c+12>>2];j[d+12>>2]=f;Ae(e,j[c+8>>2],p(f,10));j[b+8>>2]=j[b+8>>2]|8192;j[b+248>>2]=j[b+248>>2]+1;d=d+16|0}c=c+16|0;g=g-1|0;if(g){continue}break}}}function _o(a){var b=0,c=0,d=0;b=oe-16|0;oe=b;c=Fe(a,0);j[b+12>>2]=c;a:{if(c){break a}c=uf(a,b+8|0,4);j[b+12>>2]=c;if(c){break a}c=3;if(k[b+8|0]!=31|k[b+9|0]!=139|(k[b+10|0]!=8|k[b+11|0]>31)){break a}c=vf(a,6);j[b+12>>2]=c;d=k[b+11|0];if(d&4){d=Fp(a,b+12|0);c=j[b+12>>2];if(c){break a}c=vf(a,d);j[b+12>>2]=c;if(c){break a}c=0;d=k[b+11|0]}if(d&8){while(1){d=fg(a,b+12|0)?0:3;c=j[b+12>>2];d=c?2:d;if(!d){continue}break}if((d|0)!=3){break a}d=k[b+11|0]}if(d&16){while(1){d=fg(a,b+12|0)?0:5;c=j[b+12>>2];d=c?2:d;if(!d){continue}break}if((d|0)!=5){break a}d=k[b+11|0]}if(!(d&2)){break a}c=vf(a,2)}oe=b+16|0;return c}function CD(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0;g=oe-16|0;oe=g;e=c?c:268480;c=j[e>>2];a:{b:{c:{if(!b){if(c){break c}break a}d=-2;i=a?a:g+12|0;d:{if(c){a=1;break d}a=k[b|0];c=a<<24>>24;if((c|0)>=0){j[i>>2]=a;d=(c|0)!=0;break a}a=h[b|0];if(!j[j[58826]>>2]){j[i>>2]=a&57343;d=1;break a}a=(a&255)-194|0;if(a>>>0>50){break c}c=j[(a<<2)+227888>>2];break b}f=k[b|0];l=f>>>3|0;if((l-16|(c>>26)+l)>>>0>7){break c}while(1){a=a-1|0;c=f-128|c<<6;if((c|0)>=0){j[e>>2]=0;j[i>>2]=c;d=1-a|0;break a}if(!a){break b}b=b+1|0;f=k[b|0];if((f&192)==128){continue}break}}j[e>>2]=0;j[67100]=25;d=-1;break a}j[e>>2]=c}oe=g+16|0;return d}function Yn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=qe[j[a+592>>2]](a)|0;f=j[b>>2];a:{if(!f){break a}h=a+36|0;e=1;while(1){b=j[a+28>>2];if((b|0)<=1){if(k[a+561|0]){j[a+12>>2]=129}j[a+28>>2]=0;break a}c=b-2|0;j[a+28>>2]=c;d=b<<2;b=j[a+24>>2];d=l[(d+b|0)-4>>1];b:{if(d>>>0>1]){c=j[b+(c<<2)>>2];b=c>>>4&15;c:{d:{switch(k[a+368|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((l[a+332>>1]+b|0)!=(g|0)){break b}b=c&15;qe[j[a+584>>2]](a,h,d,(b>>>0>7?-7:-8)+b<<6-l[a+334>>1]);break b}if(!k[a+561|0]){break b}j[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}j[a+32>>2]=j[a+28>>2]}function wM(a,b,c,d){var e=0,f=0,g=0,l=0,m=0,n=0,o=0;if(!a){ve(138144,0);return}if(k[j[a+4>>2]+8|0]<=7){ve(138220,0);return}if((c|0)>=1){l=j[a+40>>2];n=l+j[a+48>>2]|0;m=j[a+36>>2];o=m+j[a+44>>2]|0;while(1){e=(g<<3)+b|0;f=j[e+4>>2];a:{if((n|0)<=(f|0)){break a}e=j[e>>2];if((e|0)<(m|0)|(e|0)>=(o|0)|(f|0)<(l|0)){break a}b:{switch(k[j[a+4>>2]+9|0]-1|0){case 0:h[e+(j[a+20>>2]+p(j[a+16>>2],f)|0)|0]=d;break a;case 1:i[(j[a+20>>2]+p(j[a+16>>2],f)|0)+(e<<1)>>1]=d;break a;case 2:Be(4);return;case 3:break b;default:break a}}j[(j[a+20>>2]+p(j[a+16>>2],f)|0)+(e<<2)>>2]=d}g=g+1|0;if((g|0)!=(c|0)){continue}break}}}function gf(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0;i=a,l=yg(),j[i+4>>2]=l;b=j[66362];d=j[66361];a:{b:{if((d|0)<1?!b:0){break b}if(b){if(!(qe[b|0](j[66363],a)|0)){break a}d=j[66361]}if((d|0)<1){break b}h[265460]=1;while(1){b=j[66360]+p(c,12)|0;if(!j[b+8>>2]){qe[j[b>>2]](j[b+4>>2],a)|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}h[265460]=0;if(!k[265464]){break b}c=j[66361];if(c){while(1){e=j[66360];b=c;c=b-1|0;f=e+p(c,12)|0;c:{if(!j[f+8>>2]){break c}g=j[66361];d=g-1|0;j[66361]=d;if((b|0)>=(g|0)){break c}fj(f,p(b,12)+e|0,p(d-c|0,12))}if(c){continue}break}}h[265464]=0}if((Bh(a,1,0,0,0)|0)<1){return}hO(a)}}function Vv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;d=oe+ -64|0;oe=d;j[d+8>>2]=0;qe[j[b+60>>2]](b,d+16|0,4,d+12|0);c=j[d+12>>2];a:{if((c|0)<0){c=162;break a}if(!c){c=3;break a}if((c|0)>4){c=3;break a}c=vj(a,0,c);j[d+8>>2]=c;if(c){break a}if(j[d+12>>2]<1){c=0;break a}i=j[a+100>>2];l=j[a+528>>2];while(1){a=(d+16|0)+p(e,12)|0;c=j[a>>2];if(k[c|0]==47){c=c+1|0;j[a>>2]=c}f=j[a+4>>2]-c|0;if(!f){c=3;break a}g=He(i,f+1|0,d+8|0);j[((e<<2)+l|0)+8>>2]=g;c=j[d+8>>2];if(c){break a}m=Ae(g,j[a>>2],f)+f|0,n=0,h[m|0]=n;e=e+1|0;if((e|0)>2]){continue}break}c=j[d+8>>2]}j[b+12>>2]=c;oe=d- -64|0}function Xo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(b){if(!a){return(b|0)>-1?0-c|0:c}if(!d){return(c|0)>-1?b:0-b|0}if(!c){return(d|0)>-1?0-a|0:a}e=d>>>16|0;f=a&65535;g=p(e,f);h=d&65535;i=a>>>16|0;d=g+p(h,i)|0;a=d<<16;j=c>>>16|0;k=b&65535;l=p(j,k);m=c&65535;n=b>>>16|0;b=l+p(m,n)|0;c=b<<16;e=(p(i,e)+(d>>>16|0)|0)+((d>>>0>>0)<<16)|0;d=a+p(h,f)|0;a=e+(d>>>0>>0)|0;e=(p(n,j)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0;b=c+p(m,k)|0;c=e+(b>>>0>>0)|0;e=1;a:{if(a>>>0>c>>>0){break a}e=-1;if(a>>>0>>0){break a}e=1;if(b>>>0>>0){break a}e=b>>>0>d>>>0?-1:0}return e}return(a|0)>-1?d:0-d|0}function ME(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;c=j[a+64>>2];f=j[c+104>>2];g=j[j[c+4>>2]+28>>2];sq(a);h=j[b+4>>2];d=a+4|0;c=d;e=j[b>>2];j[c+12>>2]=e;j[c>>2]=0;j[c+4>>2]=0;j[c+16>>2]=h;j[c+8>>2]=e;a:{if(Ce(c,1)){break a}c=Ce(d,j[f+44>>2]);if((c|0)==-1){break a}j[a+40>>2]=c;c=j[((c<<2)+g|0)+32>>2];if(!c){break a}c=j[c>>2];j[a+28>>2]=c;b:{if(c){i=a,k=Ce(d,1),j[i+24>>2]=k;c=Ce(d,1);j[a+32>>2]=c;if((c|0)!=-1){break b}break a}j[a+32>>2]=0;j[a+24>>2]=0}c=j[b+20>>2];j[a+48>>2]=j[b+16>>2];j[a+52>>2]=c;c=j[b+28>>2];j[a+56>>2]=j[b+24>>2];j[a+60>>2]=c;b=j[b+12>>2];j[a+36>>2]=0;j[a+44>>2]=b;j[a>>2]=0}}function oL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if((c|0)>=1){h=j[(k[d+22|0]<<2)+234976>>2];i=j[(k[d+21|0]<<2)+234976>>2];l=j[(k[d+20|0]<<2)+234976>>2];m=k[e+35|0];n=k[e+31|0];o=k[e+34|0];p=k[e+30|0];q=k[e+33|0];r=k[e+29|0];s=k[e+32|0];t=k[e+28|0];u=k[d+26|0];v=k[d+25|0];w=k[d+24|0];e=0;while(1){f=j[b>>2];g=f&-993|f>>>16;j[a>>2]=k[((g&j[d+8>>2])>>>v|0)+i|0]>>>r<>2]&g)>>>w|0)+l|0]>>>t<>2]&g)>>>u|0)+h|0]>>>p<>>2&248)>>>n<=(b|0)){break a}vk(j[65566]);d=j[65568];e=p(a,60);if(j[(d+e|0)+4>>2]){b=j[65572];if(b){qe[b|0](a);d=j[65568]}f=p(a,60);b=f+d|0;g=b;c=j[b+56>>2];if(c){while(1){b=j[c+12>>2];d=j[c+4>>2];if(d){qe[d|0](a,j[c+8>>2])}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=b;if(b){continue}break}d=j[65568]}j[g+56>>2]=0;b=d+f|0;j[b+20>>2]=0;j[b+4>>2]=0}b=d+e|0;j[b+28>>2]=0;if(j[b+36>>2]){a=p(a,60)+d|0;j[a+16>>2]=j[a+44>>2]}j[b+36>>2]=0;uk(j[65566])}}function NO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=f>>>4|0;if(d){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);e=c;while(1){n[e>>2]=q(n[c>>2]+n[c+8>>2])*q(.5);n[e+4>>2]=q(n[c+4>>2]+n[c+12>>2])*q(.5);e=e+8|0;c=c+16|0;d=d-1|0;if(d){continue}break}}c=(f|0)/2|0;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function Js(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a|!b){break a}if(Qf(a)){break a}d=j[66036];b:{if(d){while(1){if(!df(a,j[d>>2])){if(m[d+8>>2]>1){break a}c=j[d+4>>2];c:{if(c){if(!df(c,b)){break c}}c=j[d+12>>2];if(c){while(1){e=j[c+8>>2];qe[j[c>>2]](j[c+4>>2],a,j[d+4>>2],b);c=e;if(c){continue}break}}a=j[d+4>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}f=d,g=_f(b),j[f+4>>2]=g}j[d+8>>2]=1;break b}d=j[d+16>>2];if(d){continue}break}}c=qe[j[57972]](20)|0;if(c){j[57976]=j[57976]+1}if(!c){break a}f=c,g=_f(a),j[f>>2]=g;a=_f(b);j[c+12>>2]=0;j[c+8>>2]=1;j[c+4>>2]=a;j[c+16>>2]=j[66036];j[66036]=c}}}function _w(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=j[a+256>>2];if(!f){t=a;f=i[a+296>>1];g=j[a+244>>2];a:{if(!f){break a}e=i[a+294>>1];g=j[a+248>>2];if(!e){break a}k=j[a+244>>2];d=k>>31;m=d^d+k;d=e>>31;n=d+e^d;o=p(m>>>16|0,n);d=o<<16|8192;l=j[a+248>>2];h=l>>31;q=h^h+l;h=f>>31;r=h+f^h;s=p(q>>>16|0,r);h=s<<16|8192;g=d;d=d+p(n,m&65535)|0;d=(o>>>16|0)+(g>>>0>d>>>0)<<18|d>>>14;g=(e^k)>-1?d:0-d|0;e=h+p(r,q&65535)|0;e=(s>>>16|0)+(e>>>0>>0)<<18|e>>>14;g=ig(g,(f^l)>-1?e:0-e|0)}f=g;j[t+256>>2]=f}c=De(c,f);a=j[a+384>>2]+(b<<2)|0;j[a>>2]=c+j[a>>2]}function RJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]<<24:-16777216;q=b&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){r=a;b=j[a+24>>2];if(b){while(1){b=b-1|0;c=j[g>>2];h=c&255;i=c>>>8&255;c=c>>>16&255;if(q){h=(p(h,l)>>>0)/255|0;i=(p(i,m)>>>0)/255|0;c=(p(c,n)>>>0)/255|0}j[d>>2]=c<<16|o|i<<8|h;d=d+4|0;g=g+4|0;if(b){continue}break}d=j[a+28>>2]}else{d=c}b=d;c=b-1|0;j[r+28>>2]=c;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(b){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Co(a,b){var c=0,d=0,e=0,f=0;c=j[a+32>>2];e=b;d=j[a+28>>2];if(d){while(1){f=j[c+8>>2];if(f){qe[j[b+8>>2]](b,f)}j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=j[a+32>>2]}if(c){qe[j[e+8>>2]](e,c)}j[a+24>>2]=0;j[a+28>>2]=0;j[a+32>>2]=0;c=j[a+20>>2];d=j[a+16>>2];if(d){while(1){f=j[c+8>>2];if(f){qe[j[b+8>>2]](b,f)}j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=j[a+20>>2]}if(c){qe[j[e+8>>2]](e,c)}j[a+12>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;e=j[a+8>>2];if(e){qe[j[b+8>>2]](b,e)}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0}function _B(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,m=0;a:{b:{if(!we(b,10401)){d=6;b=j[c+16>>2];e=j[c+8>>2];if((b|0)<(e|0)){break a}f=j[c>>2];if((e|0)<(f|0)){break a}g=j[c+28>>2];i=j[c+24>>2];l=j[c+20>>2];m=j[c+12>>2];c=j[c+4>>2];if((g|(i|(l|(m|(e|(c|f))|b))))<0|(g|0)>500|((l|0)>500|(m|0)>500)){break a}if((c|0)>500|(b|0)>(i|0)){break a}j[a+60>>2]=i;j[a+48>>2]=m;j[a+36>>2]=f;j[a- -64>>2]=g;j[a+56>>2]=l;j[a+52>>2]=b;j[a+44>>2]=e;j[a+40>>2]=c;break b}if(!we(b,10422)){d=7;if(j[c>>2]!=1){break a}j[a+28>>2]=1;break b}d=12;if(we(b,10437)){break a}h[a+32|0]=k[c|0]}d=0}return d|0}function YH(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0;f=oe-80|0;oe=f;a:{if((a|0)<=0){j[f>>2]=149707;ve(149640,f);break a}if((b|0)<=0){j[f+16>>2]=149713;ve(149640,f+16|0);break a}if(!d){j[f+32>>2]=149720;ve(149640,f+32|0);break a}if(!e){j[f+48>>2]=149726;ve(149640,f+48|0);break a}if((c|0)>0){g=b;while(1){i=(h<<4)+d|0;k=j[i+4>>2];i=k+j[i+12>>2]|0;l=(b|0)<(i|0)?b:(i|0)>(l|0)?i:l;g=(k|0)<0?0:(g|0)>(k|0)?k:g;h=h+1|0;if((h|0)!=(c|0)){continue}break}h=0;if((g|0)>=(l|0)){break a}j[e+8>>2]=a;j[e+4>>2]=g;j[e>>2]=0;j[e+12>>2]=l-g;h=1;break a}j[f+64>>2]=149731;ve(149640,f- -64|0)}oe=f+80|0;return h}function Uv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-208|0;oe=d;f=j[a+528>>2];qe[j[b+60>>2]](b,d+16|0,16,d+12|0);c=j[d+12>>2];a:{if((c|0)<0){e=162;break a}e=3;if(!c|(c|0)>16){break a}b:{c:{if(f){g=j[f>>2];if(g){break c}}e=vj(a,c,0);if(e){break a}f=j[a+528>>2];c=j[d+12>>2];break b}if((c|0)!=(g|0)){break a}}e=j[b+8>>2];g=j[b>>2];if((c|0)>=1){c=0;while(1){a=(d+16|0)+p(c,12)|0;j[b>>2]=j[a>>2];j[b+8>>2]=j[a+4>>2];a=qe[j[b+40>>2]](b,0)|0;h=c<<2;j[h+j[f+136>>2]>>2]=a;j[j[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}j[b+8>>2]=e;j[b>>2]=g;e=0}j[b+12>>2]=e;oe=d+208|0}function Kx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,r=0;g=3;f=b+2|0;a:{if(f>>>0>c>>>0){break a}h=k[b+1|0]|k[b|0]<<8;if((h<<2)+f>>>0>c>>>0){break a}c=j[a+12>>2];m=k[c+14|0];n=l[c+12>>1];o=l[c+10>>1];p=k[c+8|0];q=l[c+6>>1];r=l[c+4>>1];b=0;b:{if(!h){g=0;break b}while(1){g=co(a,k[f+1|0]|k[f|0]<<8,k[f+2|0]+d|0,k[f+3|0]+e|0);if(!g){f=f+4|0;b=b+1|0;if((h|0)!=(b|0)){continue}}break}c=j[a+12>>2]}i[c+14>>1]=m;i[c+8>>1]=p;i[c+12>>1]=n<<24>>24;i[c+10>>1]=o<<24>>24;i[c+6>>1]=q<<24>>24;i[c+4>>1]=r<<24>>24;a=j[a+8>>2];i[c+2>>1]=k[a+4|0];i[c>>1]=k[a|0]}return g|0}function CJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+62|0];n=k[a+61|0];o=k[a+60|0];b=j[a+52>>2];q=b&2?k[a+63|0]<<24:-16777216;r=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){s=a;h=j[a+24>>2];if(h){while(1){h=h-1|0;c=j[g>>2];i=c&255;l=c>>>8&255;b=c>>>16&255;c=f;if(r){l=(p(l,n)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[c>>2]=i<<16|q|l<<8|b;f=f+4|0;g=g+4|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[s+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function 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;var g=0,i=0,m=0;g=j[a+4>>2];i=0-g|0;m=j[a>>2];f=(i&(c+g|0)-1)>>m;a:{if((l[e+12>>1]&7)!=2){b=f;if(j[a+20>>2]>=((d-c|0)-g|0)){break a}}b=(d&i)>>m}b:{if((b|0)<0){break b}c=l[a+56>>1];if((c|0)<=(f|0)){break b}g=(b|0)<(c|0)?b:c-1|0;c=-128>>(g&7);i=j[a+60>>2];m=j[a+148>>2];a=(f|0)>0?f:0;b=a<<13>>16;e=(i+m|0)+b|0;d=255>>>(a&7)|0;f=g<<13>>16;a=f-b|0;if((a|0)>=1){h[e|0]=d|k[e|0];if((a|0)!=1){Ee((i+(b+m|0)|0)+1|0,255,f+(b^-1)|0);while(1){e=e+1|0;b=(a|0)>2;a=a-1|0;if(b){continue}break}}h[e+1|0]=c|k[e+1|0];return}h[e|0]=k[e|0]|c&d}}function vO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<1;e=b>>>1|0;if(e){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);b=(c+b|0)-2|0;c=(d+c|0)-4|0;while(1){n[c>>2]=q(q(l[b>>1])*q(30517578125e-15))+q(-1);c=c-4|0;b=b-2|0;e=e-1|0;if(e){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function kj(a,b,c){var d=0,e=0,f=0;e=oe-16|0;oe=e;j[c>>2]=0;a:{if(!a){a=33;break a}if(!b){a=6;break a}f=j[a>>2];d=He(f,40,e+12|0);a=j[e+12>>2];if(a){break a}j[d+28>>2]=f;b:{c:{d:{a=j[b>>2];e:{f:{if(a&1){a=j[b+4>>2];b=j[b+8>>2];j[d+32>>2]=0;j[d+8>>2]=0;j[d+4>>2]=b;j[d>>2]=a;j[d+20>>2]=0;j[d+24>>2]=0;break f}if(a&4){a=WC(d,j[b+12>>2]);j[e+12>>2]=a;j[d+16>>2]=j[b+12>>2];break e}if(!(a&2)|!j[b+16>>2]){break d}if(d){qe[j[f+8>>2]](f,d)}d=j[b+16>>2]}a=j[e+12>>2]}if(a){break c}j[d+28>>2]=f;a=0;break b}j[e+12>>2]=6}if(d){qe[j[f+8>>2]](f,d)}d=0;a=j[e+12>>2]}j[c>>2]=d}oe=e+16|0;return a}function gD(a){if(!we(a,228092)){return 1071}if(!we(a,228105)){return 1072}if(!we(a,228121)){return 1073}if(!we(a,228131)){return 1074}if(!we(a,228144)){return 1075}if(!we(a,228155)){return 1076}if(!we(a,228170)){return 1077}if(!we(a,228183)){return 1078}if(!we(a,228202)){return 1079}if(!we(a,228222)){return 1080}if(!we(a,228243)){return 1081}if(!we(a,228265)){return 1082}if(!we(a,228283)){return 1083}if(!we(a,228304)){return 1084}if(!we(a,228322)){return 1085}if(!we(a,228338)){return 1086}if(!we(a,228352)){return 1087}if(!we(a,228374)){return 1088}return we(a,228398)?0:1089}function Gf(a,b){var c=0,d=0,e=0,f=0,g=0;if(!(a|b)){return 0}c=b>>31;d=c+b^c;c=a>>31;d=d|c+a^c;c=s(d);a:{if(d>>>0<=1073741823){c=c-2|0;b=b<>c;a=a>>c}c=0-a|0;b:{if((a|0)<(b|0)){e=5898240;if((b|0)>(c|0)){d=c;c=b;break b}e=(b|0)>0?11796480:-11796480;d=0-b|0;break b}if((b|0)>=(c|0)){d=b;c=a;break b}c=0-b|0;e=-5898240;d=a}f=6736;b=1;a=1;while(1){g=b+d>>a;c:{if((d|0)>=1){e=j[f>>2]+e|0;d=d-(b+c>>a)|0;c=c+g|0;break c}e=e-j[f>>2]|0;d=(b+c>>a)+d|0;c=c-g|0}b=b<<1;f=f+4|0;a=a+1|0;if((a|0)!=23){continue}break}if((e|0)>=0){return e+8&-16}return 0-(8-e&-16)|0}function ay(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=j[b+28>>2];c=qe[j[a+508>>2]](a,1734439792,b,0)|0;a:{if(c){break a}c=_e(b,4);j[d+12>>2]=c;if(c){break a}g=a,h=af(b),i[g+540>>1]=h;g=a,h=af(b),i[g+542>>1]=h;Ve(b);if(l[a+540>>1]>=2){i[a+542>>1]=0;c=8;break a}c=e;e=l[a+542>>1];g=a,h=xe(c,4,0,e,0,d+12|0),j[g+544>>2]=h;c=j[d+12>>2];if(c){break a}c=_e(b,e<<2);j[d+12>>2]=c;if(c){break a}if(e){c=j[a+544>>2];a=0;while(1){f=c+(a<<2)|0;g=f,h=af(b),i[g>>1]=h;g=f,h=af(b),i[g+2>>1]=h;a=a+1|0;if((e|0)!=(a|0)){continue}break}}Ve(b);c=j[d+12>>2]}oe=d+16|0;return c|0}function Zw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=j[a+256>>2];if(!f){t=a;f=i[a+296>>1];g=j[a+244>>2];a:{if(!f){break a}e=i[a+294>>1];g=j[a+248>>2];if(!e){break a}k=j[a+244>>2];d=k>>31;m=d^d+k;d=e>>31;n=d+e^d;o=p(m>>>16|0,n);d=o<<16|8192;l=j[a+248>>2];h=l>>31;q=h^h+l;h=f>>31;r=h+f^h;s=p(q>>>16|0,r);h=s<<16|8192;g=d;d=d+p(n,m&65535)|0;d=(o>>>16|0)+(g>>>0>d>>>0)<<18|d>>>14;g=(e^k)>-1?d:0-d|0;e=h+p(r,q&65535)|0;e=(s>>>16|0)+(e>>>0>>0)<<18|e>>>14;g=ig(g,(f^l)>-1?e:0-e|0)}f=g;j[t+256>>2]=f}c=De(c,f);j[j[a+384>>2]+(b<<2)>>2]=c}function dv(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,l=0;f=k[e+128|0]|k[e+129|0]<<8|(k[e+130|0]<<16|k[e+131|0]<<24);h=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(!h){return 1}e=e+132|0;while(1){f=k[e+8|0]|k[e+9|0]<<8|(k[e+10|0]<<16|k[e+11|0]<<24);g=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);i=k[e+7|0];j=i|(k[e+5|0]<<16|k[e+4|0]<<24|k[e+6|0]<<8);if(i&3){Hf(a,0,c,g,97738)}if(!(d-j>>>0>=(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0?d>>>0>=j>>>0:0)){Hf(a,b,c,g,97780);return 0}e=e+12|0;l=l+1|0;if((h|0)!=(l|0)){continue}break}return 1}function bx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0;g=oe-16|0;oe=g;a:{if(d&16){if(!c){break a}d=0;while(1){m=(d<<2)+e|0;b:{if(k[a+292|0]){qe[j[j[a+532>>2]+112>>2]](a,1,b+d|0,g+14|0,g+12|0);f=l[g+12>>1];break b}if(l[a+364>>1]!=65535){f=i[a+434>>1]-i[a+436>>1]|0;h=f>>31;f=h^h+f;break b}f=i[a+220>>1]-i[a+222>>1]|0;h=f>>31;f=h^h+f}j[m>>2]=f&65535;d=d+1|0;if((d|0)!=(c|0)){continue}break}break a}if(!c){break a}d=0;while(1){qe[j[j[a+532>>2]+112>>2]](a,0,b+d|0,g+10|0,g+8|0);j[(d<<2)+e>>2]=l[g+8>>1];d=d+1|0;if((d|0)!=(c|0)){continue}break}}oe=g+16|0;return 0}function Wm(){var a=0,b=0,c=0;a:{b:{c:{b=j[65559];switch(b|0){case 0:break a;case 1:break c;default:break b}}if(j[65567]>=1){while(1){Os(a);a=a+1|0;if((a|0)>2];c=j[a+4>>2];if(c){qe[c|0](-2,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}j[65573]=0;uk(j[65566]);mt();nt();Vm(-1);Rs();ss(j[65566]);j[65566]=0;b=j[65568];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[65568]=0;b=j[65558];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[65557]=0;j[65558]=0;b=j[65559]}j[65559]=b-1}}function SO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0);c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=c<<1;f=c>>>2|0;if(f){e=c;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);g=e+c|0;e=c+d|0;while(1){c=e-8|0;g=g-4|0;i=n[g>>2];n[c>>2]=i;n[e-4>>2]=i;e=c;f=f-1|0;if(f){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function Hk(a,b,c,d){var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;e=b;f=8-c|0;b=1<>2]=l;n=b>>>0>1?b:1;o=+(d|0)*1e-5;q=1<<15-c;m=-1<<16-c^-1;r=1/+(m|0);b=0;s=d-95e3>>>0<10001;while(1){g=gh(a,512);j[(b<<2)+l>>2]=g;d=0;e=0;a:{if(!s){while(1){h=(d<<1)+g|0;k=v(vg(r*+((d<>>0),o)*65535+.5);b:{if(k<4294967296&k>=0){e=~~k>>>0;break b}e=0}i[h>>1]=e;d=d+1|0;if((d|0)!=256){continue}break a}}while(1){d=(e<>>0)/(m>>>0)|0}i[h>>1]=d;e=e+1|0;if((e|0)!=256){continue}break}}b=b+1|0;if((n|0)!=(b|0)){continue}break}}function Ah(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=a+420|0;f=j[a+412>>2];d=j[a+428>>2];if(d){while(1){h=j[d>>2];g=j[d+4>>2];if(!(!g|b>>>0>g>>>0)){a:{if((b|0)==(g|0)){j[e+8>>2]=j[d+8>>2];j[d+8>>2]=j[a+432>>2];j[a+432>>2]=d;break a}j[d+4>>2]=g-b;j[d>>2]=b+h}if(c){j[c>>2]=h}return h+j[a+408>>2]|0}e=d;d=j[d+8>>2];if(d){continue}break}}d=j[a+416>>2];f=b+f|0;if(d>>>0>>0){e=j[a+408>>2];while(1){d=e?d<<1:2048;e=mf(e,d);if(!e){Be(0);return 0}j[a+416>>2]=d;j[a+408>>2]=e;if(d>>>0>>0){continue}break}}d=j[a+412>>2];e=j[a+408>>2];if(c){j[c>>2]=d}j[a+412>>2]=j[a+412>>2]+b;return d+e|0}function wO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<1;e=b>>>1|0;if(e){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);b=(c+b|0)-2|0;c=(d+c|0)-4|0;while(1){n[c>>2]=q(i[b>>1])*q(30517578125e-15);c=c-4|0;b=b-2|0;e=e-1|0;if(e){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function mL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((c|0)>=1){g=(j[e+24>>2]?255:0)>>>k[e+31|0]<>2];i=j[(k[d+21|0]<<2)+234976>>2];m=j[(k[d+20|0]<<2)+234976>>2];n=k[e+34|0];o=k[e+30|0];p=k[e+33|0];q=k[e+29|0];r=k[e+32|0];s=k[e+28|0];t=k[d+26|0];u=k[d+25|0];v=k[d+24|0];while(1){e=l[b>>1];j[a>>2]=k[((e&j[d+8>>2])>>>u|0)+i|0]>>>q<>2])>>>v|0)+m|0]>>>s<>2])>>>t|0)+h|0]>>>o<>2],k[j[a+44>>2]+9|0]);e=j[a+32>>2];d=j[a+12>>2];b=j[a+28>>2];c=j[a>>2];a:{b:{a=j[a+20>>2];c:{if(c>>>0>>0){if(p(b,d)+c>>>0>a>>>0){break c}break b}if(p(b,e)+a>>>0<=c>>>0){break b}}if(a>>>0>>0){if(!b){break a}while(1){fj(a,c,f);a=a+e|0;c=c+d|0;b=b-1|0;if(b){continue}break}break a}if(!b){break a}g=0-e|0;h=0-d|0;i=d;d=b-1|0;c=p(i,d)+c|0;a=p(d,e)+a|0;while(1){fj(a,c,f);a=a+g|0;c=c+h|0;b=b-1|0;if(b){continue}break}break a}if(!b){break a}while(1){Ge(a,c,f);a=a+e|0;c=c+d|0;b=b-1|0;if(b){continue}break}}}function ZM(a,b){var c=q(0),d=0,e=q(0),f=q(0),g=q(0),h=0;d=oe-48|0;oe=d;a:{if(!(j[a>>2]==268305?a:0)){ve(125709,0);break a}h=d;b:{if(b){e=n[b+12>>2];g=n[b+8>>2];f=n[b>>2];c=n[b+4>>2];break b}c=q(q(j[a+228>>2])/n[a+292>>2]);c:{if(q(r(c))>2])/n[a+288>>2]);d:{if(q(r(c))>2]=c;e=q(q(c+e)+q(-1));n[d+28>>2]=e;n[d+20>>2]=e;n[d+32>>2]=f;n[d+24>>2]=f;n[d+12>>2]=c;n[d+4>>2]=c;n[d>>2]=f;c=q(q(f+g)+q(-1));n[d+16>>2]=c;n[d+8>>2]=c;$M(a,d)}oe=d+48|0}function Yw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;q=j[j[a+384>>2]+(b<<2)>>2];b=j[a+256>>2];if(!b){r=a;b=i[a+296>>1];e=j[a+244>>2];a:{if(!b){break a}d=i[a+294>>1];e=j[a+248>>2];if(!d){break a}g=j[a+244>>2];c=g>>31;h=c^c+g;c=d>>31;k=c+d^c;l=p(h>>>16|0,k);c=l<<16|8192;a=j[a+248>>2];f=a>>31;m=f^a+f;f=b>>31;n=f+b^f;o=p(m>>>16|0,n);f=o<<16|8192;e=c;c=c+p(k,h&65535)|0;c=(l>>>16|0)+(e>>>0>c>>>0)<<18|c>>>14;e=(d^g)>-1?c:0-c|0;d=f+p(n,m&65535)|0;d=(o>>>16|0)+(d>>>0>>0)<<18|d>>>14;e=ig(e,(a^b)>-1?d:0-d|0)}b=e;j[r+256>>2]=b}return ye(q,b)|0}function nL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((c|0)>=1){g=j[(k[d+22|0]<<2)+234976>>2];h=j[(k[d+21|0]<<2)+234976>>2];i=j[(k[d+20|0]<<2)+234976>>2];l=k[e+35|0];m=k[e+31|0];n=k[e+34|0];o=k[e+30|0];p=k[e+33|0];q=k[e+29|0];r=k[e+32|0];s=k[e+28|0];t=k[d+26|0];u=k[d+25|0];v=k[d+24|0];while(1){e=j[b>>2];j[a>>2]=k[((e&j[d+8>>2])>>>u|0)+h|0]>>>q<>2])>>>v|0)+i|0]>>>s<>2])>>>t|0)+g|0]>>>o<>>24>>>m<>2]=149366;ve(149340,d);break a}oj(268332);c=j[a+36>>2];j[a+36>>2]=c-1;if((c|0)>=2){j[67083]=0;break a}b=j[67084];b:{if((b|0)==(a|0)){j[67084]=j[a+40>>2];break b}if(!b){break b}while(1){c=b;b=j[b+40>>2];if(!b){break b}if((a|0)!=(b|0)){continue}break}j[c+40>>2]=j[a+40>>2]}j[67083]=0;b=j[a+4>>2];c:{if(!b){break c}c=j[b+12>>2];j[b+12>>2]=c-1;if((c|0)>1){break c}c=j[b+4>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=d+16|0}function Wt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(!a){break a}d=j[a>>2];if(!d){break a}un(d,c);un(d,b);j[a>>2]=0;on(d);Ke(d,j[d+728>>2]);j[d+728>>2]=0;Ke(d,j[d+804>>2]);j[d+804>>2]=0;Ke(d,j[d+788>>2]);j[d+788>>2]=0;Ke(d,j[d+612>>2]);j[d+612>>2]=0;Ke(d,j[d+616>>2]);j[d+616>>2]=0;a=j[d+676>>2];if(a&4096){wn(d,j[d+416>>2]);j[d+416>>2]=0;a=j[d+676>>2]}c=a&-4097;j[d+676>>2]=c;b=d;if(a&8192){Ke(d,j[d+528>>2]);j[d+528>>2]=0;c=j[d+676>>2]}j[b+676>>2]=c&-8193;xt(d+224|0);Ke(d,j[d+568>>2]);j[d+568>>2]=0;Ke(d,j[d+772>>2]);j[d+772>>2]=0;Ke(d,j[d+696>>2]);j[d+696>>2]=0;_u(d)}}function qL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;if((c|0)>=1){f=j[(k[d+30|0]<<2)+234976>>2];g=j[(k[d+29|0]<<2)+234976>>2];h=j[(k[d+28|0]<<2)+234976>>2];l=j[e+24>>2];m=k[e+34|0];n=k[e+30|0];o=k[e+33|0];p=k[e+29|0];q=k[e+32|0];r=k[e+28|0];s=k[d+34|0];t=j[d+20>>2];u=k[d+33|0];v=j[d+16>>2];w=k[d+32|0];x=j[d+12>>2];e=0;while(1){d=j[b>>2];i[a>>1]=k[((d&v)>>>u|0)+g|0]>>>p<>>w|0)+h|0]>>>r<>>s|0)+f|0]>>>n<>2]=149677;ve(149640,g);break a}if(b){b:{c=j[b+8>>2];if((c|0)<1){break a}f=j[b+12>>2];if((f|0)<1){break a}i=j[b+4>>2];n=f+i|0;k=j[b>>2];o=c+k|0;f=0;b=0;while(1){d=(h<<3)+a|0;c=j[d+4>>2];c:{if((c|0)>=(n|0)){break c}d=j[d>>2];if((d|0)<(k|0)|(d|0)>=(o|0)|(c|0)<(i|0)){break c}if(!e){e=1;break a}e=(d|0)<(l|0);b=e?b:(b|0)<(d|0)?d:b;l=e?d:l;e=1;if((c|0)<(f|0)){f=c;break c}m=(c|0)>(m|0)?c:m}h=h+1|0;if((h|0)!=1){continue}break}if(e){break b}e=0;break a}}e=1}oe=g+32|0;return e}function BM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=q(0),g=q(0),h=q(0),i=q(0),k=0,l=0,m=0;a=Ah(a,64,b+4|0);if(!a){return-1}j[b+8>>2]=1;k=j[d+8>>2];l=j[d+12>>2];b=j[d+4>>2];m=j[c+16>>2];d=j[d>>2];c=j[c+12>>2];h=n[e+8>>2];i=n[e+12>>2];f=n[e+4>>2];g=n[e>>2];n[a+16>>2]=g;n[a+12>>2]=f;n[a+4>>2]=f;n[a>>2]=g;f=q(f+i);n[a+28>>2]=f;g=q(g+h);n[a+24>>2]=g;n[a+20>>2]=f;n[a+8>>2]=g;f=q(c|0);g=q(q(d|0)/f);n[a+48>>2]=g;h=q(m|0);i=q(q(b|0)/h);n[a+44>>2]=i;n[a+36>>2]=i;n[a+32>>2]=g;g=q(q(b+l|0)/h);n[a+60>>2]=g;f=q(q(d+k|0)/f);n[a+56>>2]=f;n[a+52>>2]=g;n[a+40>>2]=f;return 0}function gp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;j[a+44>>2]=b;Cg(j[a>>2],b);c=j[a>>2];b=j[j[c+656>>2]+2952>>2];c=Kf(j[j[c+96>>2]+4>>2],11024);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}e=qe[b|0](c)|0;if(!e){break a}f=j[j[a>>2]+656>>2];c=j[f+1392>>2];h=j[a+40>>2];qe[j[e+4>>2]](j[h>>2],j[a+16>>2],j[a+20>>2],0,0);b=j[f+1896>>2];if(!b){break a}while(1){g=j[a+16>>2];b=b-1|0;i=b<<2;d=j[j[(i+f|0)+1900>>2]+68>>2];b:{if((d|0)!=(c|0)){g=Ne(g,c,d);d=Ne(j[a+20>>2],c,d);break b}d=j[a+20>>2]}qe[j[e+4>>2]](j[(h+i|0)+4>>2],g,d,0,0);if(b){continue}break}}return 0}function Xj(a){var b=0,c=0,d=0,e=0,f=0;b=oe-32|0;oe=b;d=j[67085];a:{if(!d){ve(151717,0);break a}if(!(j[a>>2]==(d+316|0)?a:0)){ve(150417,0);break a}c=j[a+108>>2];if(j[a+112>>2]){break a}if(c){j[c>>2]=j[c>>2]&-5;lf(c);d=j[67085]}c=0;f=j[d+136>>2];b:{if(!f|!j[d+140>>2]){break b}if((qe[f|0](d,a,b+28|0,b+24|0,b+20|0)|0)<0){break b}if(!zi(j[b+28>>2],b+16|0,b+12|0,b+8|0,b+4|0,b)){break b}e=ak(j[b+24>>2],j[a+24>>2],j[a+28>>2],j[b+16>>2],j[b+20>>2],j[b+12>>2],j[b+8>>2],j[b+4>>2],j[b>>2])}j[a+108>>2]=e;if(!e){break a}j[a+112>>2]=1;j[e>>2]=j[e>>2]|4;c=e}oe=b+32|0;return c}function Hg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{g=j[a+192>>2];h=j[a+188>>2];if(g|h){b=j[a+180>>2];c=j[a+156>>2];d=(b|0)<(c|0)?b:c;f=j[a+1420>>2]+(j[a+160>>2]<<2)|0;c=j[f>>2];b:{c:{if(!c){c=0;break c}e=j[c>>2];if((e|0)>(d|0)){break c}d:{while(1){b=c;if((d|0)==(e|0)){break b}c=j[b+12>>2];if(c){e=j[c>>2];if((e|0)>(d|0)){break d}continue}break}c=0}f=b+12|0}b=j[a+208>>2];if((b|0)>=j[a+204>>2]){break a}j[a+208>>2]=b+1;b=j[a+200>>2]+(b<<4)|0;j[b>>2]=d;j[b+12>>2]=c;j[b+4>>2]=0;j[b+8>>2]=0;j[f>>2]=b}j[b+8>>2]=j[b+8>>2]+h;j[b+4>>2]=j[b+4>>2]+g}return}F(a|0,1);z()}function Uy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=j[a+16>>2];c=k[a+8204|0]|k[a+8205|0]<<8|(k[a+8206|0]<<16|k[a+8207|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{if(!d){break a}a=a+8208|0;while(1){c=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}f=k[a+11|0]+(((((k[a+8|0]<<24)+b|0)-e|0)+(k[a+9|0]<<16)|0)+(k[a+10|0]<<8)|0)|0}return f|0}function MO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);if(d+7>>>0>=15){e=(d|0)/8|0;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=c;while(1){n[f>>2]=q(n[c>>2]+n[c+4>>2])*q(.5);c=c+8|0;f=f+4|0;e=e-1|0;if(e){continue}break}}c=(d|0)/2|0;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function Vj(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0,o=0;m=(a+1|0)/2|0;o=(f+1|0)/2|0;l=(d+1|0)/2<<1;i=(b+1|0)/2|0;c=p(b,d)+c|0;e=p(b,f)+e|0;a:{if((c|0)!=(e|0)){d=c;break a}f=p(i,l);d=f;d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}if(!d){return Be(0)}Ge(d,c,f);n=d}if(b+2>>>0>=3){c=o-m|0;l=l-(m<<1)|0;f=e+p(i,o)|0;b=g?f:e;f=g?e:f;e=a+2>>>0<3;while(1){i=i-1|0;a=m;if(!e){while(1){h[b|0]=k[d|0];h[f|0]=k[d+1|0];f=f+1|0;d=d+2|0;b=b+1|0;a=a-1|0;if(a){continue}break}}f=c+f|0;b=b+c|0;d=d+l|0;if(i){continue}break}}if(n){if(n){qe[j[57975]](n);j[57976]=j[57976]-1}}return 0}function Wj(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0,o=0;m=(a+1|0)/2|0;i=(d+1|0)/2|0;o=(f+1|0)/2|0;l=(b+1|0)/2|0;f=p(b,f)+e|0;c=p(b,d)+c|0;a:{if((f|0)!=(c|0)){d=c;break a}e=p(i,l)<<1;d=e;d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}if(!d){return Be(0)}Ge(d,c,e);n=d}if(b+2>>>0>=3){c=i-m|0;e=o-m<<1;i=p(i,l)+d|0;b=g?i:d;d=g?d:i;g=a+2>>>0<3;while(1){l=l-1|0;a=m;if(!g){while(1){h[f|0]=k[b|0];h[f+1|0]=k[d|0];f=f+2|0;d=d+1|0;b=b+1|0;a=a-1|0;if(a){continue}break}}f=e+f|0;d=c+d|0;b=b+c|0;if(l){continue}break}}if(n){if(n){qe[j[57975]](n);j[57976]=j[57976]-1}}return 0}function Ie(a,b){var c=0,d=0;c=oe-1024|0;oe=c;if(b){while(1){d=b>>>0<1024?b:1024;b=b-d|0;if(a){pf(a,c,d);tf(a,c,d)}if(b){continue}break}}b=j[a+212>>2];a:{b:{c:{d:{if(k[a+379|0]&32){j[a+800>>2]=129;pf(a,c,4);if((b&768)==768){break d}break c}j[a+800>>2]=129;pf(a,c,4);if(!(b&2048)){break c}}b=0;break b}d=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);b=0;if(j[a+412>>2]==(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))){break b}b=j[a+212>>2];e:{if(k[a+379|0]&32){if(!(b&512)){break e}break a}if(!(b&1024)){break a}}di(a,99972);b=1}oe=c+1024|0;return b}hf(a,99972);z()}function yO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<2;if(b){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);e=c+b|0;c=(d+c|0)-4|0;while(1){e=e-1|0;n[c>>2]=q(q(k[e|0])*q(.0078125))+q(-1);c=c-4|0;b=b-1|0;if(b){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function ut(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=oe-16|0;oe=e;a:{b:{if(!we(b,6452)){d=j[c>>2];b=0;c=3728;while(1){if(j[c+16>>2]==10?(d|0)==j[c+8>>2]:0){break a}b=b+1|0;c=j[(b<<2)+4960>>2];if((b|0)!=49){continue}break}d=6;break b}c:{if(!we(b,6468)){j[a+16>>2]=j[c>>2];break c}if(!we(b,6483)){b=j[c>>2];if(!b){d=35;break b}d=j[b+116>>2];j[e+12>>2]=d;if(!d){d=rj(b,e+12|0,a);if(d){break b}d=j[e+12>>2];j[b+116>>2]=d;j[b+120>>2]=14}j[d+12>>2]=j[c+4>>2];break c}d=12;if(we(b,6501)){break b}h[a+20|0]=k[c|0]}d=0}oe=e+16|0;return d|0}j[a+12>>2]=b;oe=e+16|0;return 0}function yt(a,b,c){var d=0,e=0,f=0;a:{d=j[a+28>>2];e=j[d+52>>2];b:{if(!e){f=1;e=qe[j[a+32>>2]](j[a+40>>2],1<>2],1)|0;j[d+52>>2]=e;if(!e){break b}}a=j[d+40>>2];if(!a){j[d+44>>2]=0;j[d+48>>2]=0;a=1<>2];j[d+40>>2]=a}if(a>>>0<=c>>>0){Ae(e,b-a|0,a);j[d+48>>2]=0;break a}f=j[d+48>>2];a=a-f|0;a=a>>>0>c>>>0?c:a;Ae(e+f|0,b-c|0,a);c=c-a|0;if(c){Ae(j[d+52>>2],b-c|0,c);j[d+48>>2]=c;break a}f=0;b=a+j[d+48>>2]|0;c=b;b=j[d+40>>2];j[d+48>>2]=(c|0)==(b|0)?0:c;c=b;b=j[d+44>>2];if(c>>>0<=b>>>0){break b}j[d+44>>2]=a+b}return f}j[d+44>>2]=j[d+40>>2];return 0}function ax(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=oe-16|0;oe=e;c=j[a>>2];a:{if(k[c+8|0]&2){d=qe[j[j[c+532>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=j[e+12>>2];j[a+112>>2]=c;b=j[a>>2];if(h[b+8|0]&1){Cg(b,c);Uk(a);d=0;break a}d=qe[j[j[b+532>>2]+108>>2]](b,c,a+12|0)|0;if(!d){d=0;break a}j[a+112>>2]=-1;break a}j[a+112>>2]=-1;c=j[a>>2]}Ai(c,b);if(!(h[j[a>>2]+8|0]&1)){break a}d=Uk(a);j[a+36>>2]=j[a+68>>2];b=j[a+64>>2];j[a+28>>2]=j[a+60>>2];j[a+32>>2]=b;b=j[a+56>>2];j[a+20>>2]=j[a+52>>2];j[a+24>>2]=b;b=j[a+48>>2];j[a+12>>2]=j[a+44>>2];j[a+16>>2]=b}oe=e+16|0;return d|0}function Ng(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;f=oe-16|0;oe=f;rP(+b);h=oP(1)|0;e=oP(0)|0;g=h&2147483647;c=g;d=e;g=c+ -1048576|0;a:{if((g|0)==2145386495|g>>>0<2145386495){i=d<<28;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e+1006632960|0;break a}if((c|0)==2146435072|c>>>0>2146435072){i=e<<28;c=h;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e|2147418112;break a}if(!(c|d)){c=0;d=0;break a}g=c;c=c>>>0<1?s(e)+32|0:s(c);Of(f,d,g,0,0,c+49|0);k=j[f>>2];i=j[f+4>>2];e=15372-c<<16;c=j[f+8>>2];d=e|j[f+12>>2]^65536}j[a>>2]=k;j[a+4>>2]=i;j[a+8>>2]=c;j[a+12>>2]=h&-2147483648|d;oe=f+16|0}function Df(a){var b=0,c=0;if(a){qe[j[66053]](a);b=a- -64|0;b;j[b>>2]=1;j[a+56>>2]=1;j[a+60>>2]=0;qe[j[66054]](a);b=j[a+84>>2];if(b){if(b){c=j[b+792>>2];if(c){if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}}b=j[a+80>>2];if(b){if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}}b=j[a+72>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}Xh(j[a+52>>2]);b=j[a>>2];a:{if(!b){break a}b=(b<<2)+264284|0;if(j[b>>2]!=(a|0)){break a}j[b>>2]=0}if(j[a+96>>2]){qe[j[66052]](a)}eh(j[a+92>>2]);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function uj(a,b,c){var d=0,e=0;a:{d=j[a+24>>2];e=j[b+24>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+28>>2];e=j[b+28>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a>>2];e=j[b>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+4>>2];e=j[b+4>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+8>>2];e=j[b+8>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+12>>2];e=j[b+12>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+16>>2];e=j[b+16>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}a=j[a+20>>2];b=j[b+20>>2];return(a|0)>=(b-c|0)&(a|0)<=(b+c|0)}return 0}function gF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;cf(b,j[a>>2],24);cf(b,j[a+4>>2],24);cf(b,j[a+8>>2]-1|0,24);cf(b,j[a+12>>2]-1|0,6);cf(b,j[a+20>>2],8);a:{if(j[a+12>>2]<1){break a}h=a+24|0;while(1){c=(e<<2)+h|0;d=j[c>>2];g=j[c>>2];b:{if(((d?32-s(d)|0:0)|0)>=4){cf(b,g,3);cf(b,1,1);cf(b,j[c>>2]>>3,5);break b}cf(b,g,4)}d=0;c=j[c>>2];if(c){while(1){d=(c&1)+d|0;c=c>>>1|0;if(c){continue}break}}f=d+f|0;e=e+1|0;if((e|0)>2]){continue}break}if((f|0)<1){break a}a=a+280|0;c=0;while(1){cf(b,j[a+(c<<2)>>2],8);c=c+1|0;if((f|0)!=(c|0)){continue}break}}}function zI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){h=(p(h,l)>>>0)/255|0;i=(p(i,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|i<<16|h;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function vN(a,b){var c=0,d=0;d=oe-16|0;oe=d;c=j[67062];a:{if(c){while(1){if(!xf(b,c,16)){break a}c=j[c+28>>2];if(c){continue}break}}c=k[b+12|0]|k[b+13|0]<<8|(k[b+14|0]<<16|k[b+15|0]<<24);j[d+8>>2]=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);j[d+12>>2]=c;c=k[b+4|0]|k[b+5|0]<<8|(k[b+6|0]<<16|k[b+7|0]<<24);j[d>>2]=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);j[d+4>>2]=c;c=k[d+14|0]==104?j[67071]:0;if(c|!a){break a}b:{if(xh(a,125167)){break b}if(xh(a,125172)){break b}if(xh(a,125178)){break b}c=0;break a}c=j[67072]}oe=d+16|0;return c?c:j[67070]}function tI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){h=(p(h,l)>>>0)/255|0;i=(p(i,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|i|h<<16;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function fJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){i=(p(i,l)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|h<<16|i;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function $I(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){i=(p(i,l)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|h|i<<16;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function zt(a){var b=0;if(k[101380]==49){if(!a){return-2}j[a+24>>2]=0;b=j[a+32>>2];if(!b){j[a+40>>2]=0;j[a+32>>2]=573;b=573}if(!j[a+36>>2]){j[a+36>>2]=574}b=qe[b|0](j[a+40>>2],1,7116)|0;if(!b){return-4}j[a+28>>2]=b;j[b+44>>2]=0;j[b+48>>2]=0;j[b+36>>2]=15;j[b+40>>2]=0;j[b+8>>2]=1;j[b+52>>2]=0;j[b+28>>2]=0;j[a+48>>2]=1;j[a+8>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[b+7104>>2]=1;j[b+7108>>2]=-1;a=b+1328|0;j[b+80>>2]=a;j[b+12>>2]=0;j[b+20>>2]=32768;j[b+32>>2]=0;j[b+108>>2]=a;j[b>>2]=0;j[b+4>>2]=0;j[b+56>>2]=0;j[b+60>>2]=0;j[b+76>>2]=a;a=0}else{a=-6}return a}function Ce(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(b>>>0>=33){c=j[a+16>>2];break a}f=j[a+4>>2];d=f+b|0;b:{g=j[a>>2];c=j[a+16>>2];if((g|0)<(c-4|0)){break b}if((c-(d+7>>3)|0)<(g|0)){break a}if(d){break b}return 0}h=j[(b<<2)+223632>>2];c=j[a+12>>2];b=k[c|0]>>>f|0;e=b;c:{if((d|0)<9){break c}b=k[c+1|0]<<8-f|b;e=b;if((d|0)<17){break c}b=k[c+2|0]<<16-f|b;e=b;if((d|0)<25){break c}b=k[c+3|0]<<24-f|b;e=b;if(!f|(d|0)<33){break c}e=k[c+4|0]<<32-f|b}b=e;j[a+4>>2]=d&7;d=(d|0)/8|0;j[a>>2]=d+g;j[a+12>>2]=d+c;return b&h}j[a+4>>2]=1;j[a>>2]=c;j[a+12>>2]=0;return-1}function xO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<2;if(b){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);e=c+b|0;c=(d+c|0)-4|0;while(1){e=e-1|0;n[c>>2]=q(h[e|0])*q(.0078125);c=c-4|0;b=b-1|0;if(b){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function uF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0;e=oe;k=e;a:{if(j[a+8>>2]>=1){f=e;g=j[a>>2];e=(d|0)/(g|0)|0;i=f-((e<<2)+15&-16)|0;oe=i;if((e|0)>=1){d=0;while(1){h=vi(a,c);f=-1;if((h|0)==-1){break a}g=j[a>>2];j[(d<<2)+i>>2]=j[a+16>>2]+(p(h,g)<<2);d=d+1|0;if((e|0)!=(d|0)){continue}break}}d=0;f=0;if((g|0)<=0){break a}f=(e|0)<1;c=0;while(1){a=0;if(!f){while(1){h=(a+d<<2)+b|0;n[h>>2]=n[j[(a<<2)+i>>2]+(c<<2)>>2]+n[h>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}d=d+e|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}f=0}oe=k;return f|0}function pr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(o){h=(p(h,l)>>>0)/255|0;i=(p(i,m)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}j[d>>2]=i<<8|b<<16|h;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function ir(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(o){i=(p(i,m)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;b=(p(b,l)>>>0)/255|0}j[d>>2]=i<<8|h|b<<16;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Xw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0;q=l[a+252>>1];b=j[a+256>>2];if(!b){r=a;e=i[a+296>>1];b=j[a+244>>2];a:{if(!e){break a}c=i[a+294>>1];b=j[a+248>>2];if(!c){break a}f=j[a+244>>2];b=f>>31;g=b^b+f;b=c>>31;h=b+c^b;k=p(g>>>16|0,h);b=k<<16|8192;a=j[a+248>>2];d=a>>31;m=d^a+d;d=e>>31;n=d+e^d;o=p(m>>>16|0,n);d=o<<16|8192;s=b;b=b+p(h,g&65535)|0;b=(k>>>16|0)+(s>>>0>b>>>0)<<18|b>>>14;b=(c^f)>-1?b:0-b|0;c=d+p(n,m&65535)|0;c=(o>>>16|0)+(c>>>0>>0)<<18|c>>>14;b=ig(b,(a^e)>-1?c:0-c|0)}j[r+256>>2]=b}return ye(q,b)|0}function SG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a=oe-16|0;oe=a;h=j[c+32>>2];I(j[c+12>>2],a+8|0,a|0)|0;g=j[c+4>>2];d=+j[g+28>>2]/o[a>>3];e=+j[g+24>>2]/o[a+8>>3];a:{if(h){e=o[33543]+e*+j[b+36>>2];b:{if(r(e)<2147483648){c=~~e;break b}c=-2147483648}b=j[b+40>>2];o[33543]=e- +(c|0);d=o[33544]+d*+(b|0);c:{if(r(d)<2147483648){f=~~d;break c}f=-2147483648}o[33544]=d- +(f|0);break a}d=d*+j[b+48>>2];d:{if(r(d)<2147483648){f=~~d;break d}f=-2147483648}d=e*+j[b+44>>2];if(r(d)<2147483648){c=~~d;break a}c=-2147483648}ok(g,0,h,c,f);oe=a+16|0;return 0}function nr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){m=k[a+62|0];n=k[a+61|0];o=k[a+60|0];q=j[a+52>>2]&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){r=a;h=j[a+24>>2];if(h){while(1){h=h-1|0;b=j[g>>2];i=b&255;l=b>>>8&255;c=b>>>16&255;b=f;if(q){i=(p(i,m)>>>0)/255|0;l=(p(l,n)>>>0)/255|0;c=(p(c,o)>>>0)/255|0}j[b>>2]=l<<8|c|i<<16;f=f+4|0;g=g+4|0;if(h){continue}break}b=j[a+28>>2]}c=b;b=c-1|0;j[r+28>>2]=b;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(c){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function lr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){m=k[a+62|0];n=k[a+61|0];o=k[a+60|0];q=j[a+52>>2]&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){r=a;h=j[a+24>>2];if(h){while(1){h=h-1|0;b=j[g>>2];i=b&255;l=b>>>8&255;c=b>>>16&255;b=f;if(q){l=(p(l,n)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;c=(p(c,m)>>>0)/255|0}j[b>>2]=l<<8|i<<16|c;f=f+4|0;g=g+4|0;if(h){continue}break}b=j[a+28>>2]}c=b;b=c-1|0;j[r+28>>2]=b;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(c){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function br(a,b,c,d,e,f){var g=0;g=j[b+4>>2];if(!g){h[c|0]=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];h[d|0]=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];h[e|0]=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];h[f|0]=k[j[(k[b+31|0]<<2)+234976>>2]+((j[b+24>>2]&a)>>>k[b+35|0]|0)|0];return}if(m[g>>2]>a>>>0){a=a<<2;h[c|0]=k[a+j[g+4>>2]|0];h[d|0]=k[(a+j[j[b+4>>2]+4>>2]|0)+1|0];h[e|0]=k[(a+j[j[b+4>>2]+4>>2]|0)+2|0];h[f|0]=k[(a+j[j[b+4>>2]+4>>2]|0)+3|0];return}h[f|0]=0;h[e|0]=0;h[d|0]=0;h[c|0]=0}function Dj(a){var b=0,c=0,d=0;a:{if(!a){break a}b=j[a+28>>2];if(!b){break a}d=j[a+36>>2];if(!d){break a}c=j[b+20>>2];if(c){b=j[c>>2];if((b&-2)==4){qe[d|0](j[a+40>>2],j[c+12>>2]);b=j[c>>2]}if((b|0)==6){qe[j[a+36>>2]](j[a+40>>2],j[c+4>>2])}j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;b=j[c+40>>2];j[c+52>>2]=b;j[c+48>>2]=b;d=j[c+56>>2];if(d){b=qe[d|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b;b=j[c+40>>2]}qe[j[a+36>>2]](j[a+40>>2],b);qe[j[a+36>>2]](j[a+40>>2],j[c+36>>2]);qe[j[a+36>>2]](j[a+40>>2],c);d=j[a+36>>2];b=j[a+28>>2]}qe[d|0](j[a+40>>2],b);j[a+28>>2]=0}}function IN(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0;f=oe-16|0;oe=f;a:{if(!a){j[f>>2]=124111;ve(124085,f);break a}g=qe[j[a>>2]](a)|0;d=pe;b=(d|0)<0;i=b?1024:g;g=b?0:d;b=i+1|0;c=qe[j[57972]](b?b:1)|0;if(c){j[57976]=j[57976]+1}b:{while(1){d=a;b=g;k=0;l=e+1024|0;k=l>>>0<1024?1:k;if((b|0)<(k|0)?1:(b|0)<=(k|0)?i>>>0>>0:0){b=mf(c,e+1025|0);if(!b){if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0;Be(0);break b}i=e+1024|0;c=b;g=0}b=d;d=c+e|0;b=qe[j[a+8>>2]](b,d,1,i-e|0)|0;e=b+e|0;if(b){continue}break}h[d|0]=0}qe[j[a+16>>2]](a)|0}oe=f+16|0;return c}function zA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;h[a+68|0]=1;j[a+64>>2]=0;j[a+8>>2]=d;j[a+4>>2]=b;j[a>>2]=j[b+100>>2];a:{if(!d){break a}b=j[j[d+156>>2]>>2];j[a+12>>2]=b;j[a+20>>2]=b+56;j[a+16>>2]=b+20;Ch(b);b=j[c+40>>2];j[a+72>>2]=0;j[a+76>>2]=b;if(!e){break a}j[a+72>>2]=j[j[d+156>>2]+36>>2]}j[a+24>>2]=0;j[a+28>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;b=j[5888];j[a+80>>2]=j[5887];j[a+84>>2]=b;b=j[5890];j[a+88>>2]=j[5889];j[a+92>>2]=b;b=j[5892];j[a+96>>2]=j[5891];j[a+100>>2]=b;b=j[5894];j[a+104>>2]=j[5893];j[a+108>>2]=b}function SN(a,b){var c=0,d=0,e=0,f=0,g=0;e=-1;g=j[67055];a:{if((g|0)<1){break a}d=j[67056];while(1){f=j[d+(c<<2)>>2];if((a|0)==j[f>>2]&j[f+4>>2]==(b|0)){e=c;break a}c=c+1|0;if((g|0)!=(c|0)){continue}break}}d=Cm(a,b);if(d){if(j[d+16>>2]>=1){c=0;while(1){f=j[j[d+20>>2]+(c<<2)>>2];if(f){qe[j[57975]](f);j[57976]=j[57976]-1}c=c+1|0;if((c|0)>2]){continue}break}}c=j[d+20>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}c=j[67055]-1|0;j[67055]=c;g=e<<2;e=j[67056];j[g+e>>2]=j[e+(c<<2)>>2];iO(a,b)}} -function fG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,n=0,o=0;g=oe-16|0;oe=g;b=j[b>>2];j[g+12>>2]=0;a:{if(!b){d=35;break a}d=6;f=j[b+132>>2];if(!f|m[b+16>>2]<=c>>>0){break a}d=3;e=l[f+4>>1];b=(e|0)==768;c=p(c?c-1|0:k[f+106|0],b?6:4)+(b?148:118)|0;i=j[f+8>>2];if(c>>>0>=(i+(b?-4:-2)|0)-2>>>0){break a}o=j[f+160>>2];b=c+o|0;c=k[b|0]|k[b+1|0]<<8;j[a+80>>2]=c;b=b+2|0;n=k[b|0];if((e|0)==768){b=k[b+2|0]<<16|k[b+3|0]<<24|k[b+1|0]<<8}else{b=k[b+1|0]<<8}b=n|b;if(b>>>0>=i>>>0){break a}n=j[j[a+4>>2]+100>>2];e=c+7>>>3|0;j[a+84>>2]=e;c=l[f+96>>1];j[a+76>>2]=c;h[a+94|0]=1;if(i>>>0>>0){break a}c=xe(n,c,0,e,0,g+12|0);j[a+88>>2]=c;d=j[g+12>>2];if(d){break a}if(e){b=b+o|0;while(1){d=j[a+76>>2];if((d|0)>=1){i=b+d|0;d=c;while(1){h[d|0]=k[b|0];d=j[a+84>>2]+d|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}c=c+1|0;e=e-1|0;if(e){continue}break}}j[j[a+156>>2]+4>>2]=1;j[a+100>>2]=0;b=l[f+80>>1];j[a+72>>2]=1651078259;j[a+104>>2]=b;c=j[a+80>>2]<<6;j[a+24>>2]=c;j[a+40>>2]=c;c=j[a+76>>2]<<6;j[a+28>>2]=c;j[a+32>>2]=0;j[a+36>>2]=b<<6;Fi(a+24|0,c);d=j[g+12>>2]}oe=g+16|0;return d|0}function dI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;k=j[b>>2]<<2;j[c+232>>2]=k;h=j[b+4>>2]<<2;j[c+236>>2]=h;f=j[a>>2];j[c+240>>2]=f<<2;e=j[a+4>>2];d=j[c+220>>2];j[c+248>>2]=d;i=j[c+224>>2];j[c+252>>2]=i;g=e<<2;j[c+244>>2]=g;a=c+232|0;b=0;e=i+(h-(e<<3)|0)|0;l=e>>31;d=(k-(f<<3)|0)+d|0;f=d>>31;a:{b:{e=l^e+l;d=f^d+f;d=(d|0)<(e|0)?e:d;c:{if((d|0)<64){break c}e=(g|0)<(h|0)?g:h;if(j[c+176>>2]<=((e|0)>(i|0)?i:e)>>8){break c}b=(g|0)>(h|0)?g:h;if(j[c+172>>2]<=((b|0)<(i|0)?i:b)>>8){break b}b=0}d=0;break a}while(1){m=m+1|0;b=(d|0)>259;d=d>>2;if(b){continue}break}j[c+1008>>2]=m;b=0;d=1}while(1){d:{if(!d){$l(c,k,j[a+4>>2]);b=b-1|0;a=a-16|0;break d}e=j[a+16>>2];j[a+32>>2]=e;g=j[a+20>>2];j[a+36>>2]=g;d=j[a+8>>2];l=(d+k|0)/2|0;j[a+8>>2]=l;f=(d+e|0)/2|0;j[a+24>>2]=f;d=j[a+12>>2];e=(d+j[a+4>>2]|0)/2|0;j[a+12>>2]=e;d=(d+g|0)/2|0;j[a+28>>2]=d;j[a+16>>2]=(f+l|0)/2;j[a+20>>2]=(d+e|0)/2;e=c+1008|0;d=m-1|0;j[e+(b<<2)>>2]=d;b=b+1|0;j[e+(b<<2)>>2]=d;a=a+16|0}e:{if((b|0)>-1){k=j[a>>2];m=j[((b<<2)+c|0)+1008>>2];if((m|0)<1){break e}d=1;continue}return 0}d=0;continue}}function vC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0;h=j[a+44>>2];i=j[a+48>>2];d=j[a+16>>2];o=k[a+11|0];b=j[a+4>>2];c=l[a+12>>1];j[a+88>>2]=0;qe[j[66043]](a);m=(p(c,1e3)|0)/(b|0)|0;if(!j[a+56>>2]){f=a- -64|0;n=(d|0)<1;while(1){qe[j[66045]](a);a:{if(j[f>>2]){bg(m);b=j[a+52>>2];if(b){Nj(b)}qe[j[66050]](a);break a}e=j[a+72>>2];b:{c:{if(j[a+60>>2]){b=d;c=e;if(n){break b}while(1){g=qe[j[66049]](a,c,b)|0;if((g|0)<=0){Do(a);break c}c=c+g|0;b=b-g|0;if((b|0)>0){continue}break}break b}bg(m);b=d;c=e;if(n){break b}}Oe(c,o,b)}b=j[a+52>>2];if(b){gi(b,e,d);b=j[a+52>>2];c=0;d:{if(!b){break d}b=j[b+168>>2];c=0;e:{if(!b){break e}c=j[b+16>>2]}}b=j[a+40>>2];if((c|0)<(b|0)){break a}while(1){c=Hh(j[a+52>>2],j[a+72>>2],b);b=j[a+40>>2];if((c|0)!=(b|0)){Oe(j[a+72>>2],k[a+11|0],b)}if(!j[f>>2]){qe[h|0](i,j[a+72>>2],j[a+40>>2])}b=j[a+52>>2];c=0;f:{if(!b){break f}b=j[b+168>>2];c=0;g:{if(!b){break g}c=j[b+16>>2]}}b=j[a+40>>2];if((c|0)>=(b|0)){continue}break}break a}if(!j[f>>2]){qe[h|0](i,e,j[a+40>>2])}}if(!j[a+56>>2]){continue}break}}qe[j[66050]](a);qe[j[66044]](a);return 0}function _h(a,b){var c=0,d=0;d=oe-32|0;oe=d;c=j[67085];a:{if(!c){ve(57733,0);break a}b:{switch(a|0){case 0:j[c+328>>2]=b;break a;case 1:j[c+332>>2]=b;break a;case 2:j[c+336>>2]=b;break a;case 3:j[c+340>>2]=b;break a;case 5:j[c+356>>2]=b;break a;case 4:j[c+348>>2]=b;break a;case 6:j[c+344>>2]=b;break a;case 7:j[c+352>>2]=b;break a;case 8:j[c+360>>2]=b;break a;case 9:j[c+364>>2]=b;break a;case 10:j[c+368>>2]=b;break a;case 11:j[c+372>>2]=b;break a;case 12:j[c+376>>2]=b;break a;case 13:j[c+380>>2]=b;break a;case 14:j[c+384>>2]=b;break a;case 15:j[c+388>>2]=b;break a;case 16:j[c+428>>2]=b;break a;case 17:j[c+392>>2]=b;break a;case 18:j[c+396>>2]=b;break a;case 19:if(b){j[c+404>>2]=4;break a}j[c+404>>2]=0;break a;case 20:if(b>>>0>=16){j[d>>2]=b;ve(57146,d);break a}j[c+400>>2]=b;break a;case 21:if(!((b|0)!=3?b>>>0<=4:0)){j[d+16>>2]=b;ve(57177,d+16|0);break a}j[c+404>>2]=b;break a;case 22:j[c+408>>2]=b;break a;case 23:j[c+420>>2]=b;break a;case 24:j[c+412>>2]=b;break a;case 25:j[c+416>>2]=b;break a;case 26:j[c+424>>2]=b;break a;default:break b}}ve(57211,0)}oe=d+32|0}function Tj(a){var b=0;a:{if(!(a&32768)){break a}b=k[262319];if(!(!b|!((k[262336]|(b|0)==1)&1))){_y();b=k[262319]}if(!b){break a}h[262319]=b-1}b:{if(!(a&8192)){break b}a=a|512;b=k[262317];if(!(!b|!((k[262336]|(b|0)==1)&1))){b=j[67069];if(b){while(1){j[b+4>>2]=1;OA(b);b=j[67069];if(b){continue}break}}b=k[262317]}if(!b){break b}h[262317]=b-1}c:{if(!(a&512)){break c}a=a|16384;b=k[262313];if(!(!b|!((k[262336]|(b|0)==1)&1))){IA();b=k[262313]}if(!b){break c}h[262313]=b-1}d:{if(!(a&16)){break d}b=k[262308];if(!(!b|!((k[262336]|(b|0)==1)&1))){Co();b=k[262308]}if(!b){break d}h[262308]=b-1}e:{if(!(a&32)){break e}a=a|16384;b=k[262309];if(!(!b|!((k[262336]|(b|0)==1)&1))){sj();b=k[262309]}if(!b){break e}h[262309]=b-1}f:{if(!(a&1)){break f}b=k[262304];if(!(!b|!((k[262336]|(b|0)==1)&1))){while(1){b=j[67081];if(b){j[67081]=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}continue}break}b=k[262304]}if(!b){break f}h[262304]=b-1}g:{if(!(a&16384)){break g}a=k[262318];if(!(!a|!((k[262336]|(a|0)==1)&1))){pB();LB();ji(24931,150,0);a=k[262318]}if(!(a&255)){break g}h[262318]=a-1}}function uI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;g=3;a:{if((d|0)<0){break a}f=j[a+8>>2];i=j[a+12>>2];o=l[i>>1];if((e|0)<0|m[f>>2]>>0){break a}i=l[i+2>>1];if(m[f+4>>2]>>0){break a}q=p(i,k[a+18|0]);if((p(q,o)+7>>>3|0)+b>>>0>c>>>0){break a}if(o){r=d&7;a=8-r|0;n=a>>>0>q>>>0?q:a;v=(255<>2];i=j[f+12>>2]+(p(t,e)+(d>>>3|0)|0)|0;w=q-n|0;u=8-n|0;e=0;f=0;d=o;while(1){s=d;b:{if(!r){g=b;d=i;a=q;break b}c:{if((o|0)==(s|0)){e=k[b|0];b=b+1|0;a=r;break c}if((f|0)<(n|0)){a=f+u|0;if(b>>>0>=c>>>0){break c}e=k[b|0]|e;b=b+1|0;a=f+u|0;break c}e=(e&65280)>>>8|0;a=f-n|0}f=a;g=b;h[i|0]=k[i|0]|(e&65535)>>>f&v;e=e<<8;d=i+1|0;a=w}if((a|0)>=8){while(1){b=k[g|0]|e;h[d|0]=k[d|0]|(b&65535)>>>f;d=d+1|0;g=g+1|0;e=b<<8;b=(a|0)>15;a=a-8|0;if(b){continue}break}}d:{if((a|0)>=1){if((a|0)>(f|0)){if(c>>>0<=g>>>0){b=g}else{e=k[g|0]|e;b=g+1|0}h[d|0]=k[d|0]|(e&65535)>>>f&65280>>>a;e=e<<8;f=(f-a|0)+8|0;break d}h[d|0]=k[d|0]|65280>>>a&(e&65535)>>>f;f=f-a|0}b=g}i=i+t|0;d=s-1|0;if((s|0)>1){continue}break}}g=0}return g|0}function ej(a,b,c,d,e){var f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0;i=oe-16|0;oe=i;if(e){j[e>>2]=-1}o=(c|0)==-21;q=o?b-21|0:b;r=(c|0)<0?0:c;l=j[a+8>>2];g=j[a>>2];a:{b:{if(g){b=l;while(1){if(!(j[b>>2]!=(q|0)|j[b+4>>2]!=(r|0))){g=f;break b}b=b+12|0;f=f+1|0;if((f|0)!=(g|0)){continue}break}}n=g+1|0;b=j[a+4>>2];c:{if(n>>>0>>0){break c}j[i+4>>2]=0;if(b>>>0>=n>>>0){break c}f=b;b=g+8&-8;l=xe(d,12,f,b,l,i+4|0);j[a+8>>2]=l;f=j[i+4>>2];if(f){break a}j[a+4>>2]=b}j[a>>2]=n;b=p(g,12)+l|0;j[b+8>>2]=c>>31&(o?3:1);j[b+4>>2]=r;j[b>>2]=q}b=j[a+12>>2];d:{e:{if(!b){f:{if(j[a+16>>2]){b=j[a+20>>2];break f}j[i+8>>2]=0;b=xe(d,16,0,8,j[a+20>>2],i+8|0);j[a+20>>2]=b;f=j[i+8>>2];if(f){break a}j[a+16>>2]=8}j[b+12>>2]=0;j[b>>2]=0;j[a+12>>2]=1;break e}b=(j[a+20>>2]+(b<<4)|0)-16|0;if(m[b>>2]>g>>>0){break d}}a=j[b+4>>2];j[i+12>>2]=0;c=g+8>>>3|0;a=a+7>>>3|0;if(c>>>0>a>>>0){f=a;a=c+7&1073741816;s=b,t=xe(d,1,f,a,j[b+8>>2],i+12|0),j[s+8>>2]=t;f=j[i+12>>2];if(f){break a}j[b+4>>2]=a<<3}j[b>>2]=g+1}a=j[b+8>>2]+(g>>>3|0)|0;h[a|0]=k[a|0]|128>>>(g&7);f=0;if(!e){break a}j[e>>2]=g}oe=i+16|0;return f}function uC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=j[a+44>>2];f=j[a+48>>2];j[a+88>>2]=0;qe[j[66043]](a);if(!j[a+56>>2]){g=a- -64|0;while(1){qe[j[66045]](a);c=j[a+40>>2];a:{if(!(j[a+52>>2]|!j[a+60>>2])){b=qe[j[66048]](a)|0;if(b){break a}}b=j[a+72>>2]}b:{if(j[g>>2]){Oe(b,k[a+11|0],c);break b}qe[e|0](f,b,c)}d=j[a+52>>2];c:{if(d){gi(d,b,c);c=j[a+52>>2];b=0;d:{if(!c){break d}c=j[c+168>>2];b=0;e:{if(!c){break e}b=j[c+16>>2]}}if((b|0)>2]){break c}while(1){f:{g:{h:{if(!j[a+60>>2]){b=j[a+52>>2];break h}c=qe[j[66048]](a)|0;b=j[a+52>>2];if(c){break g}}Hh(b,j[a+72>>2],j[a+16>>2]);bg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0);break f}d=Hh(b,c,j[a+16>>2]);b=j[a+16>>2];if((d|0)!=(b|0)){Oe(c,k[a+11|0],b)}qe[j[66047]](a);qe[j[66046]](a)}c=j[a+52>>2];b=0;i:{if(!c){break i}c=j[c+168>>2];b=0;j:{if(!c){break j}b=j[c+16>>2]}}if((b|0)>=j[a+16>>2]){continue}break}break c}if(j[a+72>>2]==(b|0)){bg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0);break c}qe[j[66047]](a);qe[j[66046]](a)}if(!j[a+56>>2]){continue}break}}qe[j[66051]](a);bg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]<<1);qe[j[66044]](a);return 0}function Tx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,q=0;e=k[a+63|0];if((e|0)==128){Bn(a,64478);return}a:{g=j[a+28>>2];if(!g){break a}f=e>>>3|0;e=j[a+24>>2];h=e&3;m=(e+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>1<<1;b:while(1){e=m;c:{d:{switch(h-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=l[d>>1];c=(a<<16|a)&65043487;a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c-a|0,f)>>>5|0)+a&65043487;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=1;continue;case 1:a=l[d>>1];c=(a<<16|a)&65043487;a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c-a|0,f)>>>5|0)+a&65043487;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=2;continue;case 2:a=l[d>>1];c=(a<<16|a)&65043487;a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c-a|0,f)>>>5|0)+a&65043487;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=3;continue;default:break e}}a=g-1|0;c=l[d>>1];q=(c<<16|c)&65043487;c=l[b>>1];c=(c<<16|c)&65043487;c=(p(q-c|0,f)>>>5|0)+c&65043487;i[b>>1]=c>>>16|c;b=b+2|0;d=d+2|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function tF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;c=bf(1,3208);k=j[a+28>>2];e=Ee(c,0,3208);a:{if(j[a+4>>2]<1){break a}c=Ce(b,1);if((c|0)<0){break a}b:{if(c){c=Ce(b,4);h=c+1|0;j[e>>2]=h;if((c|0)>=0){break b}break a}h=1;j[e>>2]=1}c=Ce(b,1);if((c|0)<0){break a}if(c){i=Ce(b,8);j[e+1156>>2]=i+1;if((i|0)<0){break a}l=e+2184|0;m=e+1160|0;d=j[a+4>>2];c=0;while(1){f=c<<2;d=d-1|0;g=Ce(b,d?32-s(d)|0:0);j[f+m>>2]=g;n=f+l|0;d=j[a+4>>2]-1|0;f=Ce(b,d?32-s(d)|0:0);j[n>>2]=f;if((g|0)==(f|0)|(g|f)<0){break a}d=j[a+4>>2];if((g|0)>=(d|0)|(d|0)<=(f|0)){break a}g=(c|0)>=(i|0);c=c+1|0;if(!g){continue}break}}if(Ce(b,2)){break a}c:{if((h|0)>=2){if(j[a+4>>2]<1){break c}g=e+4|0;c=0;while(1){d=Ce(b,4);j[g+(c<<2)>>2]=d;if((d|0)<0|(d|0)>=(h|0)){break a}c=c+1|0;if((c|0)>2]){continue}break}}if((h|0)>=1){break c}return e|0}d=e+1092|0;g=e+1028|0;c=0;while(1){Ce(b,8);f=c<<2;a=Ce(b,8);j[f+g>>2]=a;if((a|0)<0|(a|0)>=j[k+16>>2]){break a}a=Ce(b,8);j[d+f>>2]=a;if((a|0)<0|(a|0)>=j[k+20>>2]){break a}c=c+1|0;if((h|0)>(c|0)){continue}break}return e|0}ze(e);return 0}function oE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;rP(+b);c=oP(1)|0;c=c&2147483647;e=!(oP(0)|0)&(c|0)==2146435072|c>>>0<2146435072;rP(+a);c=oP(1)|0;d=oP(0)|0;c=c&2147483647;if(!((c|0)==2146435072&d>>>0<1|c>>>0<2146435072?e:0)){return a+b}rP(+b);d=oP(1)|0;e=oP(0)|0;c=d;h=c;if(!(e|c-1072693248)){return pi(a)}rP(+a);d=oP(1)|0;g=c>>>30&2;c=g|d>>>31;a:{b:{c:{d=d&2147483647;if(!(oP(0)|d)){d:{switch(c-2|0){case 0:break c;case 1:break d;default:break b}}return-3.141592653589793}i=e;e=h&2147483647;if(!(i|e)){break a}e:{if((e|0)==2146435072){if((d|0)!=2146435072){break e}return o[(c<<3)+226640>>3]}if(!(e+67108864>>>0>=d>>>0?(d|0)!=2146435072:0)){break a}f:{if(g){f=0;if(e>>>0>d+67108864>>>0){break f}}f=pi(r(a/b))}a=f;g:{switch(c|0){case 1:return-a;case 2:return 3.141592653589793-(a+ -1.2246467991473532e-16);case 0:break b;default:break g}}return a+ -1.2246467991473532e-16+ -3.141592653589793}return o[(c<<3)+226672>>3]}a=3.141592653589793}return a}rP(1.5707963267948966);c=oP(1)|0;e=oP(0)|0;rP(+a);d=oP(1)|0;oP(0)|0;pP(0,e|0);pP(1,c&2147483647|d&-2147483648);return+qP()}function uk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;e=oe-16|0;d=1;a:{b:{c:{switch(j[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){f=d;while(1){i=p(f,12)+b|0;h=i-12|0;if(j[i>>2]>2]){j[e+8>>2]=j[i+8>>2];g=j[i+4>>2];j[e>>2]=j[i>>2];j[e+4>>2]=g;j[i+8>>2]=j[h+8>>2];g=j[h+4>>2];j[i>>2]=j[h>>2];j[i+4>>2]=g;j[h+8>>2]=j[e+8>>2];g=j[e+4>>2];j[h>>2]=j[e>>2];j[h+4>>2]=g;f=f-1|0;if(f){continue}}break}d=d+1|0;k=j[a>>2];if(d>>>0>>0){continue}break}d=1;if(k>>>0<2){break b}m=k-1|0;n=j[b>>2];e=0;while(1){i=(d|0)==(m|0);h=j[p(d,12)+b>>2]-n|0;d:{if((h|0)<=(c|0)?!i:0){break d}l=0;f=e;g=e;d=((c|0)>=(h|0)&i)+d|0;if(e>>>0>>0){while(1){h=p(f,12)+b|0;g=j[h>>2];j[h>>2]=0;l=g+l|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}g=d}j[p(e,12)+b>>2]=(l|0)/(g|0);if(d>>>0>=m>>>0){break d}e=d+1|0;n=j[p(e,12)+b>>2]}d=d+1|0;if(k>>>0>d>>>0){continue}break}d=1;if(k>>>0<=1){break b}f=1;while(1){e=p(f,12)+b|0;if(j[e>>2]){c=j[e+4>>2];g=p(d,12)+b|0;j[g>>2]=j[e>>2];j[g+4>>2]=c;j[g+8>>2]=j[e+8>>2];k=j[a>>2];d=d+1|0}f=f+1|0;if(k>>>0>f>>>0){continue}break}}j[a>>2]=d}}function tr(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0;d=oe-48|0;oe=d;j[d+40>>2]=1;c=j[a+11732>>2];j[d+8>>2]=j[a+11728>>2];j[d+12>>2]=c;f=a+8|0;if(!k[a+20|0]){c=j[a+11740>>2];e=j[a+11736>>2];a:{b:{c:{if(k[a+11664|0]){h[a+11665|0]=1;ch(a,e,c);if(k[a+11744|0]){g=j[a+11716>>2];j[d>>2]=j[a+11712>>2];j[d+4>>2]=g;Qh(a,f,a+11704|0,d,1)}h[a+11744|0]=0;i[a+11664>>1]=0;j[a+11736>>2]=e;j[a+11740>>2]=c;j[a+11720>>2]=e;h[a+11667|0]=1;j[a+11724>>2]=c;if(!k[a+20|0]){break c}c=j[a+11676>>2];if(k[c+5|0]){break b}break a}j[a+11740>>2]=c;j[a+11720>>2]=e;j[a+11736>>2]=e;h[a+11667|0]=1;j[a+11724>>2]=c}c=j[a+11676>>2]}xh(f,j[a+11668>>2],j[a+11672>>2],c,j[a+11680>>2],0)}Ae(a+3876|0,f,3868)}c=j[b+4>>2];e=ye(j[a+11644>>2],j[b>>2]);g=ye(j[a+11648>>2],c);c=Sg(f,c);e=e+g|0;l=d,m=(ye(j[j[a>>2]+60>>2],e)+ye(j[j[a>>2]+68>>2],c)|0)+j[a+11656>>2]|0,j[l+16>>2]=m;l=d,m=(ye(j[j[a>>2]- -64>>2],e)+ye(j[j[a>>2]+72>>2],c)|0)+j[a+11660>>2]|0,j[l+20>>2]=m;c=j[a+4>>2];qe[j[c>>2]](c,d+8|0);c=j[d+20>>2];j[a+11728>>2]=j[d+16>>2];j[a+11732>>2]=c;c=j[b+4>>2];j[a+11704>>2]=j[b>>2];j[a+11708>>2]=c;oe=d+48|0}function Ti(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);i=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);m=k[a+20|0]|k[a+21|0]<<8|(k[a+22|0]<<16|k[a+23|0]<<24);n=k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24);e=k[a+72|0]|k[a+73|0]<<8|(k[a+74|0]<<16|k[a+75|0]<<24);f=k[a+76|0]|k[a+77|0]<<8|(k[a+78|0]<<16|k[a+79|0]<<24);d=0;a:{if((e|0)==(f|0)){break a}d=512;if((e|0)<=(f|0)){break a}l=w(+q(q(e<<9)/q(f|0)));if(r(l)<2147483648){d=~~l;break a}d=-2147483648}d=(d|0)<(2147483647/(b|0)|0)?p(d,b):0;d=Xe(d?d:1,4);if(!d){Be(0);return}o=e;e=g+i|0;b=xo(b,o,f,d,d,i,g,e,p(m,n)-g|0);h[a+24|0]=b;h[a+25|0]=b>>>8;h[a+26|0]=b>>>16;h[a+27|0]=b>>>24;if(d){qe[j[57975]](d);j[57976]=j[57976]-1}Li(k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24),e,k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24));b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,c)}}function Co(){var a=0,b=0,c=0;if(j[66039]){Af(j[66072]);Af(j[66073]);Af(j[66074]);Af(j[66075]);Af(j[66076]);Af(j[66077]);Af(j[66078]);Af(j[66079]);Af(j[66080]);Af(j[66081]);Af(j[66082]);Af(j[66083]);Af(j[66084]);Af(j[66085]);Af(j[66086]);Af(j[66087]);a=j[66068];if(a){while(1){c=j[a+16>>2];b=j[a>>2];if(b){qe[j[66055]](b)}b=j[a+4>>2];if((b|0)!=j[a+8>>2]){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+8>>2]}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}j[66066]=0;j[66068]=0;a=j[66069];if(a){while(1){c=j[a+16>>2];b=j[a>>2];if(b){qe[j[66055]](b)}b=j[a+4>>2];if((b|0)!=j[a+8>>2]){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+8>>2]}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}j[66067]=0;j[66069]=0;qe[j[66056]]();a=j[66063];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}Oe(264156,0,124);Oe(264288,0,64);a=j[66091];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[66092];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66092]=0;j[66091]=0}}function DL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;g=oe-16|0;oe=g;i=j[c>>2];j[g+12>>2]=0;d=8;e=a+5|0;a:{if(e>>>0>b>>>0){break a}f=k[a+3|0];h=k[a+4|0];a=j[c+92>>2];d=h+a|0;if(d>>>0>m[c+96>>2]){l=a;a=d+3&-4;t=c,u=xe(i,36,l,a,j[c+100>>2],g+12|0),j[t+100>>2]=u;d=j[g+12>>2];if(d){break a}j[c+96>>2]=a}d=8;l=f&1;n=f&2;o=f&4;q=f&8;r=f&16;if(p((l|8)+(n>>>1|0)+(o>>>2)+(q>>>3)+(r>>>4)|0,h)+e>>>0>b>>>0){break a}i=j[c+92>>2];if(h){a=j[c+100>>2]+p(i,36)|0;while(1){b=a;b:{if(l){d=e+2|0;e=k[e+1|0]|k[e|0]<<8;break b}d=e+1|0;e=k[e|0]}j[b>>2]=e;b=a;c:{if(n){e=d+2|0;d=k[d+1|0]|k[d|0]<<8;break c}e=d+1|0;d=k[d|0]}j[b+4>>2]=d;j[a+8>>2]=k[e|0];d:{if(o){d=e+4|0;f=3;b=k[e+2|0]<<8|k[e+1|0]<<16;break d}d=e+3|0;f=2;b=k[e+1|0]<<8}j[a+20>>2]=b|k[e+f|0];e:{if(q){e=k[d+1|0]<<8|k[d|0]<<16;f=2;b=d+3|0;break e}e=k[d|0]<<8;f=1;b=d+2|0}j[a+24>>2]=k[d+f|0]|e;d=a;f:{if(r){e=b+2|0;b=k[b+1|0]|k[b|0]<<8;break f}e=b+1|0;b=k[b|0]}j[d+28>>2]=b;a=a+36|0;s=s+1|0;if((s|0)!=(h|0)){continue}break}d=j[g+12>>2]}else{d=0}j[c+92>>2]=i+h}oe=g+16|0;return d|0}function AC(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;if(Vi(16)){Co()}Oe(264156,0,124);Oe(264288,0,64);a=Mf(22768);a:{b:{while(1){if((b|0)==3){break b}c=j[(b<<2)+22752>>2];c:{d:{if(a){e=0;if(!Tk(j[c>>2],a,Le(a))){break d}break c}e=0;if(j[c+12>>2]){break c}}Oe(264156,0,124);j[66039]=j[c>>2];j[66040]=j[c+4>>2];f=1;e=qe[j[c+8>>2]](264164)|0}b=b+1|0;if(!e){continue}break}g=264252,h=Hi(),j[g>>2]=h;e:{if(!j[66058]){break e}if(!j[66053]){j[66053]=100}if(j[66054]){break e}j[66054]=100}a=j[66041];if(!a){j[66041]=101;a=101}if(!j[66042]){j[66042]=102}if(!j[66043]){j[66043]=103}if(!j[66044]){j[66044]=104}if(!j[66045]){j[66045]=105}if(!j[66046]){j[66046]=106}if(!j[66047]){j[66047]=107}if(!j[66048]){j[66048]=108}if(!j[66049]){j[66049]=109}if(!j[66050]){j[66050]=110}if(!j[66051]){j[66051]=111}if(!j[66052]){j[66052]=112}if(!j[66053]){j[66053]=113}if(!j[66054]){j[66054]=114}if(!j[66055]){j[66055]=115}b=0;if(!j[66056]){j[66056]=116}qe[a|0]();break a}f:{if(f){break f}if(a){j[d>>2]=a;ve(22784,d);break f}ve(22816,0)}Oe(264156,0,124);b=-1}oe=d+16|0;return b}function rs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;a:{c=p(b,1468)+a|0;g=j[c+56>>2];if((g|0)<1){break a}d=j[a+24>>2];if((d|0)<1){break a}a=j[a+28>>2];q=a+p(d,40)|0;k=b?8:4;r=k|16;e=j[c- -64>>2];m=e+p(g,48)|0;h=m-48|0;c=(b|0)==1;s=c?14:12;t=c?8:4;u=b?20:16;while(1){if(!(l[a>>1]&r)){b=j[a+t>>2];v=a+u|0;d=i[e>>1];f=i[a+s>>1];c=(b+j[e+8>>2]|0)-j[e+4>>2]|0;b:{if((d|0)>=(f|0)){break b}c=(b+j[h+8>>2]|0)-j[h+4>>2]|0;if(i[h>>1]<=(f|0)){break b}b=0;c:{c=g;d:{if((c|0)<=8){e:{if((d|0)>=(f|0)){break e}while(1){b=b+1|0;if((g|0)==(b|0)){d=l[m>>1];b=g;break e}d=i[p(b,48)+e>>1];if((f|0)>(d|0)){continue}break}}if((d&65535)!=(f&65535)){break d}c=j[(p(b,48)+e|0)+8>>2];break b}while(1){d=b+c>>1;n=p(d,48)+e|0;o=i[n>>1];f:{if((o|0)>(f|0)){c=d;break f}if((f|0)<=(o|0)){break c}b=d+1|0}if((b|0)<(c|0)){continue}break}}c=p(b,48)+e|0;b=c-48|0;d=j[c-32>>2];if(!d){d=De(j[c+8>>2]-j[b+8>>2]|0,i[c>>1]-i[b>>1]|0);j[b+16>>2]=d}c=j[b+8>>2]+ye(f-i[b>>1]|0,d)|0;break b}c=j[n+8>>2]}j[v>>2]=c;i[a>>1]=l[a>>1]|k}a=a+40|0;if(q>>>0>a>>>0){continue}break}}}function sB(){var a=0,b=0,c=0,d=0;a:{if(!j[67021]){break a}a=j[66371];if(!a|!(k[a+49|0]&64)){break a}if((qe[j[67021]](0)|0)==-1){break a}j[a+48>>2]=j[a+48>>2]&-16385}il(0);a=j[67051];j[67051]=1;b:{if((a|0)==1){break b}b=j[67015];c:{if(j[67035]){break c}a=j[(j[67024]?268200:268196)>>2];if(!a){break c}if(!b){break b}qe[b|0](a)|0;break b}if(!b){break b}qe[b|0](0)|0}b=j[67048];if(b){while(1){d=b;b=j[b>>2];c=j[67049];d:{if((d|0)==(c|0)){break d}e:{if(j[67050]!=(d|0)){break e}f:{if(c){j[67050]=c;break f}c=j[67024]?d:0}a=j[67015];if(!(j[67035]|(!c|!j[67051]))){if(!a){break e}qe[a|0](c)|0;break e}if(!a){break e}qe[a|0](0)|0}c=j[67048];if(!c){break d}g:{if((c|0)==(d|0)){j[67048]=j[d>>2];break g}while(1){a=c;c=j[a>>2];if(!c){break d}if((c|0)!=(d|0)){continue}break}j[a>>2]=j[d>>2]}a=j[67017];if(!a){break d}qe[a|0](d)}if(b){continue}break}}j[67050]=0;j[67048]=0;b=j[67049];h:{if(!b){break h}a=j[67017];if(!a){break h}qe[a|0](b);j[67049]=0}a=j[67047];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[67047]=0}ji(29722,153,268052);ji(29751,154,268052)}function VI(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=j[a+100>>2];d=j[a+532>>2];a:{if(!d){break a}b=j[d+80>>2];if(b){qe[b|0](a)}b=j[d+100>>2];if(!b){break a}qe[b|0](a)}if(k[a+780|0]){if(j[a+760>>2]){jf(j[a+104>>2],a+760|0)}j[a+772>>2]=0;j[a+764>>2]=0;j[a+768>>2]=0}jf(j[a+104>>2],a+740|0);j[a+752>>2]=0;j[a+756>>2]=0;j[a+744>>2]=0;j[a+748>>2]=0;b=c;e=j[a+144>>2];if(e){qe[j[b+8>>2]](b,e)}j[a+140>>2]=0;j[a+144>>2]=0;b=j[a+156>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+152>>1]=0;j[a+156>>2]=0;jf(j[a+104>>2],a+500|0);j[a+504>>2]=0;b=j[a+104>>2];jf(b,a+680|0);jf(b,a+688|0);j[a+692>>2]=0;j[a+684>>2]=0;if(k[a+292|0]){b=c;e=j[a+332>>2];if(e){qe[j[b+8>>2]](b,e)}j[a+332>>2]=0;b=j[a+336>>2];if(b){qe[j[c+8>>2]](c,b)}h[a+292|0]=0;j[a+336>>2]=0}b=j[a+544>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+542>>1]=0;j[a+544>>2]=0;if(d){qe[j[d+52>>2]](a)}b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0;j[a+32>>2]=0;b=j[a+664>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+532>>2]=0;j[a+664>>2]=0}}function Hg(a,b,c){var d=0,e=0,f=0,g=0;g=oe-32|0;oe=g;a:{if(!(k[a|0]?a:0)){j[g>>2]=22616;ve(22590,g);break a}if(!b){j[g+16>>2]=22621;ve(22590,g+16|0);break a}d=j[66036];b:{if(!d){break b}while(1){if(!cf(a,j[d>>2])){e=j[d+12>>2];if(!e){break b}f=d+12|0;d=0;while(1){if(!(j[e>>2]!=(b|0)|j[e+4>>2]!=(c|0))){j[(d?d+8|0:f)>>2]=j[e+8>>2];if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break b}d=e;e=j[d+8>>2];if(e){continue}break}break b}d=j[d+16>>2];if(d){continue}break}}f=qe[j[57972]](12)|0;if(f){j[57976]=j[57976]+1}if(!f){Be(0);break a}j[f+4>>2]=c;j[f>>2]=b;d=j[66036];c:{if(d){while(1){if(!cf(a,j[d>>2])){break c}d=j[d+16>>2];if(d){continue}break}}d=qe[j[57972]](20)|0;if(d){j[57976]=j[57976]+1}if(!d){Be(0);if(f){qe[j[57975]](f);j[57976]=j[57976]-1}break a}e=Uf(a);j[d+12>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d>>2]=e;j[d+16>>2]=j[66036];j[66036]=d}j[f+8>>2]=j[d+12>>2];j[d+12>>2]=f;e=Mf(a);d=j[66036];d:{if(!d){break d}while(1){if(!cf(a,j[d>>2])){if(j[d+8>>2]!=2?e:0){break d}e=j[d+4>>2];break d}d=j[d+16>>2];if(d){continue}break}}qe[b|0](c,a,e,e)}oe=g+32|0}function Rr(a,b,c,d,e,f,g,h){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=oe-16|0;oe=k;m=j[a>>2];a=Fe(b,c);j[k+12>>2]=a;a:{if(a){break a}n=qf(b,k+12|0);a=j[k+12>>2];if(a){break a}while(1){o=sf(b,k+12|0);a=j[k+12>>2];if(a){break a}p=qf(b,k+12|0);a=j[k+12>>2];if(a){break a}q=qf(b,k+12|0);a=j[k+12>>2];if(a){break a}if((e|0)!=(o|0)){a=1;o=(l|0)==(n|0);l=l+1|0;if(o){break a}continue}break}j[h>>2]=p+1;a=Fe(b,c+q|0);j[k+12>>2]=a;if(a){break a}l=0;c=xe(m,8,0,j[h>>2],0,k+12|0);a=j[k+12>>2];if(a){break a}e=j[h>>2];b:{if((e|0)>=1){while(1){a=c+(l<<3)|0;r=a,s=qf(b,k+12|0),i[r>>1]=s;if(j[k+12>>2]){break b}e=xf(b,2);j[k+12>>2]=e;if(e){break b}e=sf(b,k+12|0);if(j[k+12>>2]){break b}n=xf(b,4);j[k+12>>2]=n;if(n){break b}j[a+4>>2]=e&16777215;e=j[h>>2];l=l+1|0;if((e|0)>(l|0)){continue}break}}a=0;b=m;if(f){fg(c,e,8,565);e=j[h>>2]}b=xe(b,4,0,e,0,k+12|0);if(j[k+12>>2]){break b}if(j[h>>2]>=1){while(1){j[b+(a<<2)>>2]=j[(c+(a<<3)|0)+4>>2]+d;a=a+1|0;if((a|0)>2]){continue}break}}j[g>>2]=b;j[k+12>>2]=0}if(c){qe[j[m+8>>2]](m,c)}a=j[k+12>>2]}oe=k+16|0;return a}function fg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0;e=oe-208|0;oe=e;j[e+8>>2]=1;j[e+12>>2]=0;a:{i=p(b,c);if(!i){break a}j[e+16>>2]=c;j[e+20>>2]=c;k=0-c|0;b=c;h=b;g=2;while(1){f=b;b=(c+h|0)+b|0;j[(e+16|0)+(g<<2)>>2]=b;g=g+1|0;h=f;if(b>>>0>>0){continue}break}f=(a+i|0)+k|0;b:{if(f>>>0<=a>>>0){g=1;b=1;break b}g=1;b=1;while(1){c:{if((g&3)==3){vl(a,c,d,b,e+16|0);Zj(e+8|0,2);b=b+2|0;break c}h=b-1|0;d:{if(m[(e+16|0)+(h<<2)>>2]>=f-a>>>0){Yj(a,c,d,e+8|0,b,0,e+16|0);break d}vl(a,c,d,b,e+16|0)}if((b|0)==1){Xj(e+8|0,1);b=0;break c}Xj(e+8|0,h);b=1}g=j[e+8>>2]|1;j[e+8>>2]=g;a=a+c|0;if(f>>>0>a>>>0){continue}break}}Yj(a,c,d,e+8|0,b,0,e+16|0);while(1){e:{f:{g:{if(!((b|0)!=1|(g|0)!=1)){if(j[e+12>>2]){break g}break a}if((b|0)>1){break f}}h=e+8|0;f=fP(j[e+8>>2]-1|0);if(!f){f=fP(j[e+12>>2]);f=f?f+32|0:0}Zj(h,f);g=j[e+8>>2];b=b+f|0;break e}Xj(e+8|0,2);j[e+8>>2]=j[e+8>>2]^7;Zj(e+8|0,1);h=a+k|0;f=b-2|0;Yj(h-j[(e+16|0)+(f<<2)>>2]|0,c,d,e+8|0,b-1|0,1,e+16|0);Xj(e+8|0,1);g=j[e+8>>2]|1;j[e+8>>2]=g;Yj(h,c,d,e+8|0,f,1,e+16|0);b=f}a=a+k|0;continue}}oe=e+208|0}function hF(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=oe-16|0;oe=e;b=-131;a:{if(j[a+88>>2]!=1){break a}j[a+88>>2]=2;b:{if(j[a+4>>2]){b=j[a+60>>2];g=j[b>>2];h=j[b+4>>2];j[e+8>>2]=-1;j[e+12>>2]=-1;i=j[a+456>>2];j[e+4>>2]=i;f=Op(a,j[a+72>>2]);k=pe;b=j[a+708>>2];c:{if(!(j[a+716>>2]?b:0)){j[a+8>>2]=-1;j[a+12>>2]=-1;j[a+16>>2]=-1;j[a+20>>2]=-1;b=-131;break c}qe[b|0](j[a>>2],0,0,2)|0;c=qe[j[a+716>>2]](j[a>>2])|0;b=c>>31;d=c;c=b;j[a+8>>2]=d;j[a+12>>2]=b;j[a+16>>2]=d;j[a+20>>2]=b;if((d|0)==-1){b=-131;break c}b=j[a+64>>2];b=El(a,d,c,b+8|0,j[b+4>>2],e+4|0,e+8|0);c=pe;d=c;if(!((c|0)<-1?1:(c|0)<=-1)){c=b;b=j[a+64>>2];if((Np(a,0,0,g,h,c,d,j[e+8>>2],j[e+12>>2],j[e+4>>2],b+8|0,j[b+4>>2],0)|0)<0){b=-128;break c}b=j[a+56>>2];j[b>>2]=0;j[b+4>>2]=0;j[j[a+64>>2]>>2]=i;b=j[a+60>>2];j[b>>2]=g;j[b+4>>2]=h;b=j[a+68>>2];j[b>>2]=f;j[b+4>>2]=k;d=j[b+8>>2];c=j[b+12>>2]-(k+(f>>>0>d>>>0)|0)|0;f=d-f|0;d=f;f=(c|0)>0?1:(c|0)>=0?!!f:0;j[b+8>>2]=f?d:0;j[b+12>>2]=f?c:0;b=Mp(a,g,h)}if(!b){break b}}j[a>>2]=0;ek(a);break a}j[a+88>>2]=3}b=0}oe=e+16|0;return b}function dF(a,b,c,d){var e=0,f=0,g=0,h=0,k=0,l=0,m=0,o=0,s=0,t=0,u=0,w=0;l=oe-16|0;oe=l;f=-131;e=j[a+88>>2];a:{if((e|0)<2){break a}m=a+480|0;b:{while(1){if((e|0)==4){e=cj(m,l+12|0);if(e){break b}}e=Jp(a);g=(e|0)<1;h=(e|0)==-2?0:g?e:h;if(!g){e=j[a+88>>2];continue}break}f=h;break a}if((e|0)<1){f=e;break a}c:{if(j[a+4>>2]){g=j[a+72>>2];k=g;if(j[a+88>>2]<3){break c}k=g+(j[a+96>>2]<<5)|0;break c}k=j[a+72>>2]}o=j[k+4>>2];s=o<<1;c=(c|0)/(s|0)|0;g=(c|0)<(e|0)?c:e;if((g|0)<1){break a}if((o|0)>=1){f=0;u=j[l+12>>2];while(1){e=(f<<1)+b|0;w=j[(f<<2)+u>>2];h=0;while(1){k=e;t=v(+q(n[(h<<2)+w>>2]*q(32768))+.5);d:{if(r(t)<2147483648){c=~~t;break d}c=-2147483648}c=(c|0)>-32768?c:-32768;i[k>>1]=(c|0)<32767?c:32767;e=(o<<1)+e|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}f=f+1|0;if((o|0)!=(f|0)){continue}break}}b=g+j[m+24>>2]|0;if(!((b|0)>j[m+20>>2]?g:0)){j[m+24>>2]=b}c=g<>2]+28>>2]+3656>>2];e=c;f=e+j[a+80>>2]|0;c=j[a+84>>2]+(e>>31)|0;j[a+80>>2]=f;j[a+84>>2]=e>>>0>f>>>0?c+1|0:c;if(d){j[d>>2]=j[a+96>>2]}f=p(g,s)}oe=l+16|0;return f}function wF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;h=j[b>>2];f=j[h+4>>2];g=p(j[a+36>>2],e)>>1;g=((f|0)<(g|0)?f:g)-j[h>>2]|0;a:{if((g|0)<1){break a}f=0;k=j[j[b+16>>2]>>2];m=j[h+8>>2];g=(g|0)/(m|0)|0;n=Ef(a,((k+g|0)-1|0)/(k|0)<<2);b:{if((e|0)<1){break b}while(1){if(j[(f<<2)+d>>2]){break b}f=f+1|0;if((f|0)!=(e|0)){continue}break}break a}if((e|0)==(f|0)){break a}f=j[b+8>>2];if((f|0)<1){break a}o=a+4|0;a=0;q=(g|0)<1;while(1){if(!q){r=1<>2],o);if((d|0)==-1|(d|0)>=j[h+16>>2]){break a}d=j[j[b+28>>2]+(d<<2)>>2];j[(l<<2)+n>>2]=d;if(!d){break a}}c:{if((k|0)<1|(f|0)>=(g|0)){break c}s=(l<<2)+n|0;d=0;while(1){i=j[j[s>>2]+(d<<2)>>2]<<2;d:{if(!(j[(i+h|0)+24>>2]&r)){break d}i=j[j[i+j[b+20>>2]>>2]+(a<<2)>>2];if(!i){break d}if((PF(i,c,j[h>>2]+p(f,m)|0,e,o,m)|0)==-1){break a}}f=f+1|0;d=d+1|0;if((k|0)<=(d|0)){break c}if((f|0)<(g|0)){continue}break}}l=l+1|0;if((f|0)<(g|0)){continue}break}f=j[b+8>>2]}a=a+1|0;if((f|0)>(a|0)){continue}break}}return 0}function mF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;a:{b:{if(!a){break b}c=j[a+64>>2];if(!c){break b}f=j[c+104>>2];e=j[c+4>>2];if(!e){e=0;c=1;break a}g=j[e+28>>2];d=1;c=1;break a}c=0}c:{if(!a|!g|(!d|!c)){break c}if(!f){break c}Rp(a);d=j[b+4>>2];c=a?a+4|0:0;h=j[b>>2];j[c+12>>2]=h;j[c>>2]=0;j[c+4>>2]=0;j[c+16>>2]=d;j[c+8>>2]=h;d=-135;d:{if(Ce(c,1)){break d}d=Ce(c,j[f+44>>2]);if((d|0)==-1){break c}j[a+40>>2]=d;f=(d<<2)+g|0;d=j[f+32>>2];if(!d){break c}d=j[d>>2];j[a+28>>2]=d;e:{if(d){i=a,k=Ce(c,1),j[i+24>>2]=k;c=Ce(c,1);j[a+32>>2]=c;d=-136;if((c|0)==-1){break d}c=j[a+28>>2];break e}j[a+32>>2]=0;j[a+24>>2]=0;c=0}d=j[b+20>>2];j[a+48>>2]=j[b+16>>2];j[a+52>>2]=d;d=j[b+28>>2];j[a+56>>2]=j[b+24>>2];j[a+60>>2]=d;j[a+44>>2]=j[b+12>>2];j[a+36>>2]=j[(c<<2)+g>>2];i=a,k=Ef(a,j[e+4>>2]<<2),j[i>>2]=k;if(j[e+4>>2]>=1){b=0;while(1){c=Ef(a,j[a+36>>2]<<2);j[j[a>>2]+(b<<2)>>2]=c;b=b+1|0;if((b|0)>2]){continue}break}}b=a;a=(j[j[f+32>>2]+12>>2]<<2)+g|0;d=qe[j[j[(j[a+288>>2]<<2)+198168>>2]+16>>2]](b,j[a+544>>2])|0}return d}return-136}function Wp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=q(0),m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=q(0),y=q(0),z=q(0),A=q(0),B=0;s=a<<1;r=p(a,b);if((b|0)>=1){j=s-1|0;g=r;while(1){h=(f<<2)+c|0;k=(g<<2)+c|0;n[(f<<3)+d>>2]=n[h>>2]+n[k>>2];n[(j+(f<<1)<<2)+d>>2]=n[h>>2]-n[k>>2];g=a+g|0;f=a+f|0;i=i+1|0;if((i|0)!=(b|0)){continue}break}}a:{if((a|0)<2){break a}if((a|0)!=2){if((b|0)>=1){f=0;j=r;while(1){g=f<<1;k=a+f|0;i=k<<1;h=j;m=2;while(1){o=h<<2;t=g+2|0;u=f+2|0;v=(u<<2)+c|0;w=(m<<2)+e|0;l=n[w-8>>2];h=h+2|0;x=n[(h<<2)+c>>2];y=n[(c+o|0)+4>>2];z=n[w-4>>2];A=q(q(l*x)-q(y*z));n[(t<<2)+d>>2]=n[v>>2]+A;o=i-2|0;n[(o<<2)+d>>2]=A-n[v>>2];l=q(q(l*y)+q(z*x));f=(f<<2)+c|0;n[(g<<2|4)+d>>2]=l+n[f+4>>2];n[((i<<2)+d|0)-12>>2]=n[f+4>>2]-l;g=t;f=u;i=o;m=m+2|0;if((m|0)<(a|0)){continue}break}j=a+j|0;f=k;B=B+1|0;if((B|0)!=(b|0)){continue}break}}if(((a|0)%2|0)==1){break a}}if((b|0)<1){break a}f=a-1|0;g=r+f|0;h=0;i=a;while(1){e=(i<<2)+d|0;n[e>>2]=-n[(g<<2)+c>>2];n[e-4>>2]=n[(f<<2)+c>>2];f=a+f|0;g=a+g|0;i=i+s|0;h=h+1|0;if((h|0)!=(b|0)){continue}break}}}function Xi(a,b){var c=0;c=oe-240|0;oe=c;a:{b:{switch(b+138|0){case 137:j[c+20>>2]=21079;j[c+16>>2]=a;ve(21072,c+16|0);break a;case 136:j[c+36>>2]=21088;j[c+32>>2]=a;ve(21072,c+32|0);break a;case 135:j[c+52>>2]=21095;j[c+48>>2]=a;ve(21072,c+48|0);break a;case 10:j[c+68>>2]=21103;j[c+64>>2]=a;ve(21072,c- -64|0);break a;case 9:j[c+84>>2]=21112;j[c+80>>2]=a;ve(21072,c+80|0);break a;case 8:j[c+100>>2]=21122;j[c+96>>2]=a;ve(21072,c+96|0);break a;case 7:j[c+116>>2]=21131;j[c+112>>2]=a;ve(21072,c+112|0);break a;case 6:j[c+132>>2]=21141;j[c+128>>2]=a;ve(21072,c+128|0);break a;case 5:j[c+148>>2]=21155;j[c+144>>2]=a;ve(21072,c+144|0);break a;case 4:j[c+164>>2]=21169;j[c+160>>2]=a;ve(21072,c+160|0);break a;case 3:j[c+180>>2]=21181;j[c+176>>2]=a;ve(21072,c+176|0);break a;case 2:j[c+196>>2]=21194;j[c+192>>2]=a;ve(21072,c+192|0);break a;case 1:j[c+212>>2]=21208;j[c+208>>2]=a;ve(21072,c+208|0);break a;case 0:j[c+228>>2]=21220;j[c+224>>2]=a;ve(21072,c+224|0);break a;default:break b}}j[c+4>>2]=b;j[c>>2]=a;ve(21231,c)}oe=c+240|0}function Gt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0),h=0,i=0,l=0,m=0,p=0,s=0,t=0;f=oe-16|0;oe=f;c=Xe(1,36);a:{if(!c){a=Be(0);break a}s=c,t=Uf(63662),j[s+12>>2]=t;b:{if(k[b+49|0]&32){g=q(+K());n[c+16>>2]=g;l=c+16|0;break b}j[c+16>>2]=1065353216;g=q(1);l=c+16|0}d=v(+q(g*q(j[b+24>>2])));h=v(+q(n[c+16>>2]*q(j[b+28>>2])));e=1;J(j[c+12>>2],1,1)|0;H(j[c+12>>2],f+8|0,f|0)|0;e=v(o[f+8>>3])==1?v(o[f>>3])!=1:e;j[c+20>>2]=e;if(!(!(k[b+48|0]&32)|!e)){g=n[l>>2];d=o[f>>3];c:{if(r(d)<2147483648){e=~~d;break c}e=-2147483648}m=b;p=o[f+8>>3];d:{if(r(p)<2147483648){i=~~p;break d}i=-2147483648}zf(m,5,i,e);h=d;d=+g;h=h*d;d=p*d}m=j[c+12>>2];if(r(h)<2147483648){e=~~h}else{e=-2147483648}if(r(d)<2147483648){i=~~d}else{i=-2147483648}J(m|0,i|0,e|0)|0;if(!(j[c+20>>2]|n[l>>2]==q(1))){Q(j[c+12>>2],+j[b+24>>2],+j[b+28>>2])|0}e:{if(!(k[b+48|0]&2)){break e}f:{if(j[a+992>>2]){break f}if((Wu()|0)>=0){break f}a=-1;break a}a=uu(a);j[c>>2]=a;if(a){break e}a=ve(63670,0);break a}j[c+4>>2]=b;j[b+144>>2]=c;Lj(b);oo(b);cu(c);a=0}oe=f+16|0;return a|0}function pG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=j[j[j[a+4>>2]+96>>2]+28>>2];e=j[a+160>>2];vO(e);j[e+24>>2]=0;j[e+28>>2]=0;j[e+152>>2]=0;j[e+32>>2]=0;j[e+36>>2]=0;j[e+40>>2]=0;j[e+44>>2]=0;j[e+48>>2]=0;j[e+52>>2]=0;j[e+56>>2]=0;j[e+60>>2]=0;Ee(e+72|0,0,72);c=qe[j[f+72>>2]](j[a+160>>2],j[b+44>>2],c,d|8)|0;if(!c){b=j[a+160>>2];d=j[b+28>>2];j[a+24>>2]=j[b+24>>2];j[a+28>>2]=d;d=j[b+36>>2];j[a+32>>2]=j[b+32>>2];j[a+36>>2]=d;d=j[b+44>>2];j[a+40>>2]=j[b+40>>2];j[a+44>>2]=d;d=j[b+52>>2];j[a+48>>2]=j[b+48>>2];j[a+52>>2]=d;j[a+56>>2]=j[b+56>>2];j[a+60>>2]=j[b+60>>2];j[a+72>>2]=j[b+72>>2];j[a+124>>2]=j[b+124>>2];d=j[b+120>>2];j[a+116>>2]=j[b+116>>2];j[a+120>>2]=d;d=j[b+112>>2];j[a+108>>2]=j[b+108>>2];j[a+112>>2]=d;d=j[b+96>>2];j[a+92>>2]=j[b+92>>2];j[a+96>>2]=d;d=j[b+88>>2];j[a+84>>2]=j[b+84>>2];j[a+88>>2]=d;d=j[b+80>>2];j[a+76>>2]=j[b+76>>2];j[a+80>>2]=d;j[a+100>>2]=j[b+100>>2];j[a+104>>2]=j[b+104>>2];j[a+128>>2]=j[b+128>>2];j[a+132>>2]=j[b+132>>2];j[a+136>>2]=j[b+136>>2];j[a+140>>2]=j[b+140>>2]}return c|0}function tl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=oe-32|0;oe=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;i=c;a:{if((f|0)==(e|0)&c>>>0>c>>>0|e>>>0>f>>>0){f=c<<4|b>>>28;c=d<<4|c>>>28;b=b&268435455;h=b;if((b|0)==134217728&a>>>0>=1|b>>>0>134217728){e=c+1073741824|0;a=f+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}e=c+1073741824|0;if(a|h^134217728){break a}a=f+(f&1)|0;e=a>>>0>>0?e+1|0:e;f=a;break a}if(!(!i&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){f=c;c=d<<4|c>>>28;f=f<<4|b>>>28;e=c&524287|2146959360;break a}f=0;e=2146435072;if(h>>>0>1140785151){break a}e=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;Nf(g+16|0,a,b,c,e,h-15233|0);mi(g,a,b,c,e,15361-h|0);e=j[g+4>>2];h=e;a=j[g+8>>2];c=j[g+12>>2]<<4|a>>>28;f=a<<4|e>>>28;e=c;a=h&268435455;c=a;b=j[g>>2]|((j[g+16>>2]|j[g+24>>2])!=0|(j[g+20>>2]|j[g+28>>2])!=0);if((a|0)==134217728&b>>>0>=1|a>>>0>134217728){a=f+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}if(b|c^134217728){break a}a=f+(f&1)|0;e=a>>>0>>0?e+1|0:e;f=a}oe=g+32|0;pP(0,f|0);pP(1,d&-2147483648|e);return+qP()}function hy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;c=j[a+36>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}d=j[a+48>>2];g=j[a+16>>2];e=j[a+24>>2];h=e&7;i=(e+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];l=c<<2;b:while(1){e=i;c:{d:{switch(h-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=1;continue;case 1:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=2;continue;case 2:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=3;continue;case 3:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=4;continue;case 4:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=5;continue;case 5:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=6;continue;case 6:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=7;continue;default:break e}}c=f-1|0;j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+g|0;a=a+l|0;f=c;if(c){continue b}break a}c=0;continue}}}}function Uz(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;var i=q(0),k=q(0),l=q(0),m=q(0),o=q(0),p=q(0),r=q(0),s=q(0),t=0,u=0,v=0;f=+q((360-f)*3.141592653589793/180);t=Mg(f);f=lg(f);k=n[e+4>>2];i=n[g+4>>2];p=n[e>>2];o=n[g>>2];a=nh(a,128,b+4|0);if(!a){return-1}g=j[d+8>>2];u=j[d+12>>2];r=n[e+8>>2];l=n[e>>2];s=n[e+12>>2];m=n[e+4>>2];e=j[d+4>>2];v=j[c+16>>2];d=j[d>>2];c=j[c+12>>2];j[b+8>>2]=1;k=q(i+k);n[a+124>>2]=k;i=q(o+p);n[a+120>>2]=i;n[a+116>>2]=k;n[a+112>>2]=i;n[a+108>>2]=k;n[a+104>>2]=i;n[a+100>>2]=k;n[a+96>>2]=i;k=q(q(f)+q(-1));n[a+92>>2]=k;i=q(t);n[a+88>>2]=i;n[a+84>>2]=k;n[a+80>>2]=i;n[a+76>>2]=k;n[a+72>>2]=i;n[a+68>>2]=k;n[a+64>>2]=i;k=q(c|0);i=q(q(d|0)/k);n[a+48>>2]=i;p=q(v|0);o=q(q(e|0)/p);n[a+44>>2]=o;n[a+36>>2]=o;n[a+32>>2]=i;i=q(m+s);b=h&2;o=b?m:i;n[a+28>>2]=o;r=q(l+r);c=h&1;s=c?l:r;n[a+24>>2]=s;n[a+20>>2]=o;l=c?r:l;n[a+16>>2]=l;m=b?i:m;n[a+12>>2]=m;n[a+8>>2]=s;n[a+4>>2]=m;n[a>>2]=l;l=q(q(e+u|0)/p);n[a+60>>2]=l;m=q(q(d+g|0)/k);n[a+56>>2]=m;n[a+52>>2]=l;n[a+40>>2]=m;return 0}function FI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;d=j[a+744>>2];a:{if((d|0)<10){break a}g=j[a+748>>2];if(!g){break a}e=j[a+740>>2];i=e+d|0;d=e+4|0;f=e+10|0;l=b<<16|c;o=j[a+752>>2];h=1;while(1){b=(k[d+3|0]|k[d+2|0]<<8)+d|0;c=b>>>0>i>>>0?i:b;b:{if(!(h&o)){break b}e=d+14|0;if(k[d+4|0]|c>>>0>>0){break b}q=k[d+5|0];b=c-e|0;f=k[d+7|0]|k[f|0]<<8;b=(b|0)<(p(f,6)|0)?(b|0)/6|0:f;c:{if(j[a+756>>2]&h){if(!b){break b}r=d+18|0;e=0;while(1){m=b+e>>>1|0;f=p(m,6)+r|0;d=f-4|0;d=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=(l|0)){d=d>>>0>>0;e=d?m+1|0:e;b=d?b:m;if(e>>>0>>0){continue}break b}break}b=f+1|0;break c}if(!b){break b}while(1){d=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))!=(l|0)){e=e+6|0;b=b-1|0;if(b){continue}break b}break}f=e+4|0;b=e+5|0}n=((k[b|0]|k[f|0]<<8)<<16>>16)+(q&8?0:n)|0}f=c+6|0;if(i>>>0>>0){break a}h=h<<1;d=c;g=g-1|0;if(g){continue}break}}return n|0}function hq(a,b){var c=0,d=0,e=0,f=0;c=j[a+4>>2];e=c+b|0;a:{b:{c:{switch(k[a+10|0]-2|0){case 0:d:{e:{switch(k[a+9|0]-8|0){case 0:d=b+1|0;f=8;c=b+2|0;if(e>>>0<=c>>>0){break d}while(1){h[d|0]=k[c|0];d=d+1|0;c=c+2|0;if(e>>>0>c>>>0){continue}break}break d;case 8:break e;default:break a}}d=b+2|0;f=16;c=b+4|0;if(e>>>0<=c>>>0){break d}while(1){h[d|0]=k[c|0];h[d+1|0]=k[c+1|0];d=d+2|0;c=c+4|0;if(e>>>0>c>>>0){continue}break}}h[a+10|0]=1;h[a+11|0]=f;if(k[a+8|0]!=4){break b}h[a+8|0]=0;break b;case 2:break c;default:break a}}f:{g:{switch(k[a+9|0]-8|0){case 0:d=b+3|0;f=24;if((c|0)<=4){break f}c=b+4|0;while(1){h[d|0]=k[c|0];h[d+1|0]=k[c+1|0];h[d+2|0]=k[c+2|0];d=d+3|0;c=c+4|0;if(e>>>0>c>>>0){continue}break}break f;case 8:break g;default:break a}}d=b+6|0;f=48;if((c|0)<=8){break f}c=b+8|0;while(1){h[d|0]=k[c|0];h[d+1|0]=k[c+1|0];h[d+2|0]=k[c+2|0];h[d+3|0]=k[c+3|0];h[d+4|0]=k[c+4|0];h[d+5|0]=k[c+5|0];d=d+6|0;c=c+8|0;if(e>>>0>c>>>0){continue}break}}h[a+10|0]=3;h[a+11|0]=f;if(k[a+8|0]!=6){break b}h[a+8|0]=2}j[a+4>>2]=d-b}}function st(a,b,c,d,e,f,g,h,j,l){var m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;if(b){u=a-1|0;a=p(l,12);v=a+69186|0;w=a+69184|0;x=a+69194|0;y=a+69192|0;z=a+69190|0;A=a+69188|0;while(1){a=p(j,o)+h|0;l=p(g,o);t=l+e|0;n=d+l|0;l=p(f,o)+c|0;a:{if(!u){q=0;break a}B=i[v>>1];C=k[w|0];E=i[x>>1];F=i[y>>1];G=i[z>>1];H=i[A>>1];q=0;while(1){r=k[t|0]-128|0;s=k[n|0]-128|0;D=p(r,F)+p(s,G)|0;m=p(k[l|0]-C|0,B)- -8192|0;r=p(r,H);s=p(s,E);i[a>>1]=k[(D+m>>6)+69232|0]<<3&2016|k[(r+m>>6)+69232|0]<<8&63488|k[(s+m>>6)+69232|0]>>>3;m=p(k[l+2|0]-C|0,B)- -8192|0;i[a+2>>1]=k[(m+D>>6)+69232|0]<<3&2016|k[(m+r>>6)+69232|0]<<8&63488|k[(m+s>>6)+69232|0]>>>3;t=t+4|0;n=n+4|0;l=l+4|0;a=a+4|0;q=q+2|0;if(u>>>0>q>>>0){continue}break}}o=o+1|0;if((q|0)==(u|0)){m=a;a=p(i[v>>1],k[l|0]-k[w|0]|0)- -8192|0;n=k[n|0]-128|0;l=k[t|0]-128|0;i[m>>1]=k[((a+p(n,i[z>>1])|0)+p(l,i[y>>1])>>6)+69232|0]<<3&2016|k[(a+p(l,i[A>>1])>>6)+69232|0]<<8&63488|k[(a+p(n,i[x>>1])>>6)+69232|0]>>>3}if((b|0)!=(o|0)){continue}break}}}function tM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){c=j[a+100>>2];d=j[a+316>>2];if(d){g=c;b=j[a+300>>2];if((b|0)>=1){while(1){e=(f<<3)+d|0;d=j[e+4>>2];if(d){b=c;d=j[d>>2];if(d){qe[j[b+8>>2]](b,d)}j[j[e+4>>2]>>2]=0;b=j[e+4>>2];if(b){qe[j[c+8>>2]](c,b)}j[e+4>>2]=0;b=j[a+300>>2]}f=f+1|0;if((f|0)<(b|0)){d=j[a+316>>2];continue}break}d=j[a+316>>2]}if(d){qe[j[g+8>>2]](g,d)}j[a+316>>2]=0}b=j[a+164>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+164>>2]=0;b=j[a+168>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+168>>2]=0;b=j[a+172>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+172>>2]=0;b=j[a+176>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+176>>2]=0;b=j[a+180>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+180>>2]=0;b=j[a+304>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+300>>2]=0;j[a+304>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0;b=j[a+152>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+152>>2]=0;b=j[a+156>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;j[a+24>>2]=0;j[a+156>>2]=0;b=j[a+324>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+324>>2]=0;b=j[a+328>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+328>>2]=0}}function cA(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{if(!(k[a+701|0]|!(k[a+898|0]&2))){b=j[a+864>>2];if((b|0)<0){break a}c=j[a+888>>2];d=j[a+876>>2];g=c+(d+b|0)|0;if((g|0)<1){break a}h=(d|0)<0;f=0;c:{if(!b){break c}e=v(+(b|0)*32768/+(g|0)+.5);if(e<=2147483647^1|e>=-2147483648^1){break a}f=~~e;if(r(e)<2147483648){break c}f=-2147483648}if(h|f>>>0>32768){break a}h=(c|0)<0;b=0;d:{if(!d){break d}e=v(+(d|0)*32768/+(g|0)+.5);if(e<=2147483647^1|e>=-2147483648^1){break a}b=~~e;if(r(e)<2147483648){break d}b=-2147483648}if(h|b>>>0>32768){break a}e:{if(!c){d=0;break e}e=v(+(c|0)*32768/+(g|0)+.5);if(e<=2147483647^1|e>=-2147483648^1){break a}if(r(e)<2147483648){d=~~e}else{d=-2147483648}if(d>>>0>32768){break a}}c=(b+f|0)+d|0;if((c|0)>32769){break a}g=(c|0)<32768;c=(c|0)==32769;f:{if((g|0)==(c|0)){break f}c=c?-1:g;if(!((b|0)<(f|0)|(b|0)<(d|0))){b=b+c|0;break f}if(!((b|0)>(f|0)|(d|0)>(f|0))){f=c+f|0;break f}d=c+d|0}if(((b+f|0)+d|0)!=32768){break b}i[a+704>>1]=b;i[a+702>>1]=f}return}Ye(a,3604);z()}Ye(a,3646);z()}function TC(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;g=oe-16|0;oe=g;j[g+12>>2]=b;a:{if(!j[65572]){ve(21506,0);b=-1;break a}if(!b){ve(21661,0);b=-1;break a}e=k[j[a>>2]+8|0]&64?j[a+32>>2]!=0:e;o=j[a+28>>2];b=Le(b);j[g+8>>2]=b;b:{if(!b){break b}p=e^1;e=0;while(1){c:{b=Mo(g+12|0,g+8|0)&65535;if(!((b|0)==65279|(b|0)==65534)){if(No(a,b,16)){break c}b=j[a+52>>2];d:{if(!i|p){break d}f=j[b+4>>2];if(!f){break d}Wr(j[a>>2],i,f,g);e=(j[g>>2]>>6)+e|0}i=j[b+56>>2]+e|0;f=(i|0)<(l|0);l=f?i:l;e=!(h[a+24|0]&1)|h[a+20|0]&1?e:j[a+36>>2]+e|0;i=j[b+76>>2];f=j[b+60>>2];f=e+((f|0)<(i|0)?i:f)|0;m=(f|0)>(m|0)?f:m;e=e+i|0;i=j[b+4>>2];f=j[b+64>>2];n=(f|0)<(n|0)?f:n}if(j[g+8>>2]){continue}break b}break}ve(21641,0);b=-1;break a}e=(o|0)>0?o<<1:0;if(c){j[c>>2]=(e+m|0)-l}b=0;if(!d){break a}c=e+(j[a+8>>2]-n|0)|0;j[d>>2]=c;e=j[a+4>>2];c=(c|0)<(e|0)?e:c;j[d>>2]=c;if(!(k[a+24|0]&4)){break a}e=j[a+48>>2]+(j[a+8>>2]+(j[a+44>>2]^-1)|0)|0;a=j[a+28>>2];a=e+((a|0)>0?a<<1:0)|0;if((a|0)<=(c|0)){break a}j[d>>2]=a}oe=g+16|0;return b}function jy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0;a:{e=j[a+28>>2];if(!e){break a}d=j[a+48>>2];g=j[a+36>>2];h=j[a+16>>2];c=j[a+24>>2];m=c&7;n=(c+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];b:while(1){f=n;c:{d:{switch(m-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=1;continue;case 1:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=2;continue;case 2:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=3;continue;case 3:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=4;continue;case 4:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=5;continue;case 5:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=6;continue;case 6:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=7;continue;default:break e}}c=e-1|0;i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;f:{if((f|0)>1){f=f-1|0;break f}a=a+g|0;b=b+h|0;e=c;if(c){continue b}break a}c=0;continue}}}}function XL(a,b){var c=0,d=0,e=0,f=0,g=0,i=0;d=oe-16|0;oe=d;e=40;a:{if(!a|!b){break a}g=j[b+28>>2];e=Fe(b,0);if(e){break a}e=uf(b,d+14|0,2);if(e){break a}e=3;if(k[d+14|0]!=31|k[d+15|0]!=157){break a}j[d+8>>2]=0;c=a;j[c+24>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+28>>2]=g;c=He(g,4292,d+8|0);e=j[d+8>>2];if(!e){j[c>>2]=b;j[c+4>>2]=a;f=j[a+28>>2];i=c+4280|0;j[c+4288>>2]=i;j[c+8>>2]=f;j[c+4284>>2]=i;j[c+4280>>2]=0;b:{f=Fe(b,0);c:{if(f){break c}f=uf(b,d+14|0,2);if(f){break c}f=3;if(k[d+14|0]!=31){break c}if(k[d+15|0]==157){break b}}j[d+8>>2]=f;if(c){qe[j[g+8>>2]](g,c)}e=j[d+8>>2];break a}Ee(c+20|0,0,156);j[c+176>>2]=b;b=j[b+28>>2];j[c+100>>2]=c+112;j[c+96>>2]=0;j[c+88>>2]=0;j[c+92>>2]=0;j[c+180>>2]=b;j[c+104>>2]=0;j[c+108>>2]=64;j[c+48>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;h[c+44|0]=0;j[c+64>>2]=9;j[c+12>>2]=0;j[c+16>>2]=0;j[a+12>>2]=c}j[a+8>>2]=0;j[a>>2]=0;j[a+4>>2]=2147483647;j[a+24>>2]=666;j[a+20>>2]=667}oe=d+16|0;return e}function IF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=q(0);k=j[j[j[j[a+64>>2]+4>>2]+28>>2]+(j[a+28>>2]<<2)>>2]/2|0;a:{if(c){r=j[b+1296>>2];s=j[r+832>>2];a=p(s,j[c>>2]);a=(a|0)<255?a:255;h=(a|0)>0?a:0;t=j[b+1284>>2];if((t|0)>=2){w=b+260|0;a=0;l=1;while(1){i=j[(l<<2)+w>>2]<<2;b=j[i+c>>2];if(b>>>0<=32767){b=p(b,s);b=(b|0)<255?b:255;b=(b|0)>0?b:0;f=b-h|0;g=j[(i+r|0)+836>>2];i=g-a|0;u=(f|0)/(i|0)|0;o=(g|0)<(k|0)?g:k;if((o|0)>(a|0)){e=(a<<2)+d|0;n[e>>2]=n[(h<<2)+164320>>2]*n[e>>2]}a=a+1|0;if((o|0)>(a|0)){e=f>>31;m=e+f^e;e=p(i,u);e=m+((e|0)<0?e:0-e|0)|0;x=(f|0)>-1?1:-1;f=0;while(1){m=(a<<2)+d|0;f=f+e|0;v=(f|0)<(i|0);h=(h+u|0)+(v?0:x)|0;n[m>>2]=n[(h<<2)+164320>>2]*n[m>>2];f=f-(v?0:i)|0;a=a+1|0;if((o|0)!=(a|0)){continue}break}}h=b;a=g}l=l+1|0;if((t|0)!=(l|0)){continue}break}}a=1;if((g|0)>=(k|0)){break a}y=n[(h<<2)+164320>>2];while(1){a=(g<<2)+d|0;n[a>>2]=y*n[a>>2];a=1;g=g+1|0;if((k|0)!=(g|0)){continue}break}break a}a=0;Ee(d,0,k<<2)}return a|0}function Cr(a,b){var c=0,d=0;b=Ee(b,0,196);d=k[a+176|0];h[b+8|0]=d;if(d){while(1){i[(b+(c<<1)|0)+12>>1]=j[((c<<2)+a|0)+180>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+177|0];h[b+9|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+40>>1]=j[((c<<2)+a|0)+236>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+178|0];h[b+10|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+60>>1]=j[((c<<2)+a|0)+276>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+179|0];h[b+11|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+88>>1]=j[((c<<2)+a|0)+332>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}j[b+108>>2]=j[a+372>>2];j[b+112>>2]=j[a+376>>2];j[b+116>>2]=j[a+380>>2];i[b+120>>1]=j[a+384>>2];i[b+122>>1]=j[a+388>>2];d=k[a+392|0];h[b+124|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+128>>1]=j[((c<<2)+a|0)+396>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+393|0];h[b+125|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+154>>1]=j[((c<<2)+a|0)+448>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}h[b+126|0]=k[a+500|0];j[b+184>>2]=j[a+512>>2];j[b+4>>2]=j[a+508>>2]}function rt(a,b,c,d,e,f,g,j,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;if(b){v=a-1|0;a=p(m,12);w=a+69186|0;x=a+69184|0;y=a+69194|0;z=a+69192|0;A=a+69190|0;B=a+69188|0;while(1){a=p(l,s)+j|0;m=p(g,s);n=m+e|0;o=d+m|0;m=p(f,s)+c|0;a:{if(!v){t=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];t=0;while(1){q=k[n|0];u=k[o|0]-128|0;E=p(u,F);r=p(k[m|0]-D|0,C)- -8192|0;h[a+2|0]=k[(E+r>>6)+69232|0];q=q-128|0;u=p(q,G)+p(u,H)|0;h[a+1|0]=k[(u+r>>6)+69232|0];q=p(q,I);h[a|0]=k[(q+r>>6)+69232|0];r=p(k[m+2|0]-D|0,C)- -8192|0;h[a+5|0]=k[(r+E>>6)+69232|0];h[a+4|0]=k[(r+u>>6)+69232|0];h[a+3|0]=k[(q+r>>6)+69232|0];n=n+4|0;o=o+4|0;m=m+4|0;a=a+6|0;t=t+2|0;if(v>>>0>t>>>0){continue}break}}s=s+1|0;if((t|0)==(v|0)){n=k[n|0];m=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;h[a+2|0]=k[(m+p(o,i[y>>1])>>6)+69232|0];n=n-128|0;h[a|0]=k[(m+p(n,i[B>>1])>>6)+69232|0];h[a+1|0]=k[((m+p(o,i[A>>1])|0)+p(n,i[z>>1])>>6)+69232|0]}if((b|0)!=(s|0)){continue}break}}}function nt(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;if(b){v=a-1|0;a=p(m,12);w=a+69186|0;x=a+69184|0;y=a+69194|0;z=a+69192|0;A=a+69190|0;B=a+69188|0;while(1){a=p(l,r)+h|0;m=p(g,r);o=m+e|0;t=d+m|0;m=p(f,r)+c|0;a:{if(!v){s=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];s=0;while(1){n=k[o|0]-128|0;E=p(n,I);q=p(k[m|0]-D|0,C)- -8192|0;u=p(n,G);n=k[t|0]-128|0;u=u+p(n,H)|0;n=p(n,F);j[a>>2]=k[(E+q>>6)+69232|0]<<16|k[(q+u>>6)+69232|0]<<8|k[(n+q>>6)+69232|0]|-16777216;q=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(q+E>>6)+69232|0]<<16|k[(q+u>>6)+69232|0]<<8|k[(n+q>>6)+69232|0]|-16777216;o=o+4|0;t=t+4|0;m=m+4|0;a=a+8|0;s=s+2|0;if(v>>>0>s>>>0){continue}break}}r=r+1|0;if((s|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[t|0]-128|0;j[n>>2]=k[(a+p(o,i[B>>1])>>6)+69232|0]<<16|k[((a+p(m,i[A>>1])|0)+p(o,i[z>>1])>>6)+69232|0]<<8|k[(a+p(m,i[y>>1])>>6)+69232|0]|-16777216}if((b|0)!=(r|0)){continue}break}}}function lj(a,b,c,d){var e=0,f=0,g=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;f=p(d,1468)+a|0;g=j[f+44>>2];l=b?j[(p(b,12)+c|0)-12>>2]:0;e=j[j[a+2988>>2]+40>>2];b=(e|0)/256|0;o=(p(e,6e3)|0)/2048|0;a:{if((g|0)<1){break a}c=j[f+52>>2];k=c+p(g,48)|0;q=e+255>>>0<511?1:b;m=j[(p(d,1468)+a|0)+68>>2];b=c;while(1){if((m|0)==h[b+1|0]){n=i[b+2>>1];a=c;while(1){e=i[a+2>>1];b:{if((m|0)!=(0-h[a+1|0]|0)|(e|0)<=(n|0)){break b}f=i[a+6>>1];d=i[b+6>>1];r=(d|0)>(f|0)?f:d;f=i[a+4>>1];d=i[b+4>>1];f=r-((d|0)<(f|0)?f:d)|0;if((f|0)<(q|0)){break b}d=e-n|0;e=d;c:{if(!l){break c}d=(d<<10)/(l|0)|0;e=32e3;if((d|0)>11024){break c}e=0;if((d|0)<1025){break c}d=d-1024|0;e=(p(d,d)>>>0)/3e3|0}d=e+((o|0)/(f|0)|0)|0;if((d|0)>2]){j[b+20>>2]=a;j[b+32>>2]=d}if((d|0)>=j[a+32>>2]){break b}j[a+20>>2]=b;j[a+32>>2]=d}a=a+48|0;if(k>>>0>a>>>0){continue}break}}b=b+48|0;if(k>>>0>b>>>0){continue}break}if((g|0)<=0){break a}while(1){a=j[c+20>>2];if(!(!a|j[a+20>>2]==(c|0))){j[c+20>>2]=0;j[c+24>>2]=j[a+20>>2]}c=c+48|0;if(k>>>0>c>>>0){continue}break}}}function YJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=oe-80|0;oe=f;e=6;a:{if(j[b+72>>2]!=j[a+16>>2]){break a}e=19;if((c|0)!=2){break a}c=b+108|0;if(d){Tf(c,j[d>>2],j[d+4>>2])}Ug(c,f+56|0);e=6;g=j[f+68>>2];n=g+32&-64;k=j[f+60>>2];o=k+32&-64;d=n-o|0;p=g+63&-64;q=k&-64;g=(d?d:p-q|0)>>6;i=j[f+64>>2];l=j[f+56>>2];r=l+32&-64;k=(i+32&-64)-r|0;l=l&-64;i=(k?k:(i+63&-64)-l|0)>>6;if((g|i)>>>0>65535){break a}e=j[a+8>>2];if(h[j[b+156>>2]+4|0]&1){m=j[b+88>>2];if(m){qe[j[e+8>>2]](e,m)}j[b+88>>2]=0;m=j[b+156>>2];j[m+4>>2]=j[m+4>>2]&-2}j[b+76>>2]=g;j[b+80>>2]=i;h[b+94|0]=1;i=i+15>>>3&536870910;j[b+84>>2]=i;s=b,t=xe(e,g,0,i,0,f+76|0),j[s+88>>2]=t;e=j[f+76>>2];if(e){break a}e=j[b+156>>2];j[e+4>>2]=j[e+4>>2]|1;g=k?r:l;e=d?o:q;Tf(c,0-g|0,0-e|0);j[f+16>>2]=0;j[f+12>>2]=c;j[f+8>>2]=b+76;s=f,t=qe[j[a+56>>2]](j[a+52>>2],f+8|0)|0,j[s+76>>2]=t;Tf(c,g,e);e=j[f+76>>2];if(e){break a}j[b+72>>2]=1651078259;j[b+104>>2]=(d?n:p)>>6;j[b+100>>2]=g>>6;e=0}oe=f+80|0;return e|0}function _p(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=q(0),p=0,s=0,t=0,u=q(0);i=(b|0)/4|0;m=Te(i<<2);f=Te(b+i<<2);j[a+12>>2]=m;j[a+8>>2]=f;j[a>>2]=b;d=a;o=q(b|0);g=jP(lE(+o)/.6931471805599453);a:{if(r(g)<2147483648){e=~~g;break a}e=-2147483648}j[d+4>>2]=e;b:{if((b|0)<4){break b}d=b>>1;g=+(b|0);l=3.141592653589793/g;s=3.141592653589793/+(b<<1);while(1){k=l*+(c<<2);t=f+(c<<3)|0,u=q(lg(k)),n[t>>2]=u;h=c<<1;p=h|1;t=f+(p<<2)|0,u=q(-q(Mg(k))),n[t>>2]=u;h=f+(d+h<<2)|0;k=s*+(p|0);t=h,u=q(Mg(k)),n[t+4>>2]=u;t=h,u=q(lg(k)),n[t>>2]=u;c=c+1|0;if((i|0)!=(c|0)){continue}break}if((b|0)<8){break b}i=(b|0)/8|0;g=3.141592653589793/g;c=0;while(1){d=f+((c<<1)+b<<2)|0;l=g*+(c<<2|2);t=d,u=q(Mg(l)*-.5),n[t+4>>2]=u;t=d,u=q(lg(l)*.5),n[t>>2]=u;c=c+1|0;if((i|0)!=(c|0)){continue}break}if((b|0)<8){break b}b=1<>c;if(e){continue}break}e=d<<3;j[e+m>>2]=-2-(f|h);j[(e|4)+m>>2]=f;d=d+1|0;if((i|0)!=(d|0)){continue}break}}n[a+16>>2]=q(4)/o}function Kl(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,s=0,t=q(0);if((b|0)>=1){t=n[e+1108>>2];while(1){e=p(f,56)+a|0;o=j[e+28>>2];s=j[e+52>>2];k=+q(q(t*q(o+s|0))/q(o+1|0))+1;h=h+(k*+(o|0)+ +(s|0));l=l+(k*+j[e+24>>2]+ +j[e+48>>2]);i=i+(k*+j[e+16>>2]+ +j[e+40>>2]);m=m+(k*+j[e+12>>2]+ +j[e+36>>2]);g=g+(k*+j[e+8>>2]+ +j[e+32>>2]);f=f+1|0;if((f|0)!=(b|0)){continue}break}}e=j[a>>2];f=j[c>>2];if((f|0)>=0){h=h+1;m=m+ +(f|0);l=l+ +(p(e,f)|0);i=i+ +(p(e,e)|0);g=g+ +(e|0)}f=j[(p(b,56)+a|0)-52>>2];a=j[d>>2];if((a|0)>=0){h=h+1;m=m+ +(a|0);l=l+ +(p(a,f)|0);i=i+ +(p(f,f)|0);g=g+ +(f|0)}b=1;k=h*i-g*g;a:{b:{if(!(k>0^1)){a=c;i=(i*m-l*g)/k;g=(h*l-m*g)/k;h=jP(i+g*+(e|0));c:{if(r(h)<2147483648){b=~~h;break c}b=-2147483648}j[a>>2]=b;a=d;g=jP(i+g*+(f|0));d:{if(r(g)<2147483648){e=~~g;break d}e=-2147483648}j[a>>2]=e;f=j[c>>2];if((f|0)>=1024){f=1023;j[c>>2]=1023;e=j[d>>2]}if((e|0)>=1024){j[d>>2]=1023;f=j[c>>2];e=1023}b=0;if((f|0)<=-1){j[c>>2]=0;e=j[d>>2]}if((e|0)<0){break b}break a}j[c>>2]=0}j[d>>2]=0}return b}function mt(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;if(b){v=a-1|0;a=p(m,12);w=a+69186|0;x=a+69184|0;y=a+69194|0;z=a+69192|0;A=a+69190|0;B=a+69188|0;while(1){a=p(l,q)+h|0;m=p(g,q);u=m+e|0;o=d+m|0;m=p(f,q)+c|0;a:{if(!v){r=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];r=0;while(1){s=k[o|0]-128|0;E=p(s,F);n=p(k[m|0]-D|0,C)- -8192|0;t=k[u|0]-128|0;s=p(t,G)+p(s,H)|0;t=p(t,I);j[a>>2]=k[(E+n>>6)+69232|0]<<16|k[(s+n>>6)+69232|0]<<8|k[(t+n>>6)+69232|0]|-16777216;n=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(n+E>>6)+69232|0]<<16|k[(n+s>>6)+69232|0]<<8|k[(n+t>>6)+69232|0]|-16777216;u=u+4|0;o=o+4|0;m=m+4|0;a=a+8|0;r=r+2|0;if(v>>>0>r>>>0){continue}break}}q=q+1|0;if((r|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[u|0]-128|0;j[n>>2]=k[(a+p(o,i[y>>1])>>6)+69232|0]<<16|k[((a+p(o,i[A>>1])|0)+p(m,i[z>>1])>>6)+69232|0]<<8|k[(a+p(m,i[B>>1])>>6)+69232|0]|-16777216}if((b|0)!=(q|0)){continue}break}}}function EF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0,u=0;f=1;d=bf(1,44);h=j[j[a+4>>2]+28>>2];j[d>>2]=b;g=j[b+12>>2];j[d+4>>2]=g;a=j[h+2848>>2];j[d+12>>2]=a;a=a+p(j[b+20>>2],56)|0;j[d+16>>2]=a;i=j[a>>2];l=bf(g,4);j[d+20>>2]=l;if((g|0)>=1){m=b+280|0;n=b+24|0;a=0;while(1){b=k<<2;o=b+n|0;c=j[o>>2];c=c?32-s(c)|0:0;a:{if(!c){break a}q=b+l|0;t=q,u=bf(c,4),j[t>>2]=u;e=(c|0)>(e|0)?c:e;if((c|0)<1){break a}o=j[o>>2];b=0;while(1){if(o>>>b&1){j[j[q>>2]+(b<<2)>>2]=j[h+2848>>2]+p(j[m+(a<<2)>>2],56);a=a+1|0}b=b+1|0;if((c|0)!=(b|0)){continue}break}}k=k+1|0;if((k|0)!=(g|0)){continue}break}}j[d+24>>2]=1;if((i|0)>=1){while(1){f=p(f,g);r=r+1|0;if((r|0)!=(i|0)){continue}break}j[d+24>>2]=f}j[d+8>>2]=e;h=Te(f<<2);j[d+28>>2]=h;if((f|0)>=1){k=i<<2;e=0;l=(i|0)<1;while(1){m=Te(k);j[h+(e<<2)>>2]=m;b=f;a=e;c=0;if(!l){while(1){b=(b|0)/(g|0)|0;n=(a|0)/(b|0)|0;j[m+(c<<2)>>2]=n;a=a-p(b,n)|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}}e=e+1|0;if((f|0)!=(e|0)){continue}break}}return d|0}function pt(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;if(b){v=a-1|0;a=p(m,12);w=a+69186|0;x=a+69184|0;y=a+69194|0;z=a+69192|0;A=a+69190|0;B=a+69188|0;while(1){a=p(l,r)+h|0;m=p(g,r);o=m+e|0;t=d+m|0;m=p(f,r)+c|0;a:{if(!v){s=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];s=0;while(1){n=k[o|0]-128|0;E=p(n,I);q=p(k[m|0]-D|0,C)- -8192|0;u=p(n,G);n=k[t|0]-128|0;u=u+p(n,H)|0;n=p(n,F);j[a>>2]=k[(E+q>>6)+69232|0]<<24|k[(q+u>>6)+69232|0]<<16|k[(n+q>>6)+69232|0]<<8|255;q=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(q+E>>6)+69232|0]<<24|k[(q+u>>6)+69232|0]<<16|k[(n+q>>6)+69232|0]<<8|255;o=o+4|0;t=t+4|0;m=m+4|0;a=a+8|0;s=s+2|0;if(v>>>0>s>>>0){continue}break}}r=r+1|0;if((s|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[t|0]-128|0;j[n>>2]=k[(a+p(o,i[B>>1])>>6)+69232|0]<<24|k[((a+p(m,i[A>>1])|0)+p(o,i[z>>1])>>6)+69232|0]<<16|k[(a+p(m,i[y>>1])>>6)+69232|0]<<8|255}if((b|0)!=(r|0)){continue}break}}}function VL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,k=0;a:{b:{c:{a=j[a+12>>2];f=j[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=j[a+4284>>2];if(f>>>0<=(e-a|0)-184>>>0){j[a+4280>>2]=b;j[a+4284>>2]=e-f;break c}f=0;if(Fe(j[a>>2],0)){break a}j[a+12>>2]=0;j[a+16>>2]=0;j[a+104>>2]=0;j[a+48>>2]=0;j[a+36>>2]=0;j[a+40>>2]=0;h[a+44|0]=0;j[a- -64>>2]=9;e=a+4280|0;j[a+4288>>2]=e;j[a+4284>>2]=e;j[e>>2]=0}if(b>>>0<=f>>>0){break c}g=j[a+4284>>2];i=j[a+4288>>2]-g|0;e=b-f|0;b=e>>>0>i>>>0?i:e;j[a+4284>>2]=b+g;j[a+4280>>2]=b+f;b=e-b|0;if(b){g=a+12|0;while(1){f=0;e=b>>>0<4096?b:4096;if(kr(g,0,e)>>>0>>0){break a}j[a+4280>>2]=e+j[a+4280>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=a+184|0;k=a+12|0;e=j[a+4284>>2];b=j[a+4288>>2];f=0;while(1){b=b-e|0;b=b>>>0>>0?b:d;Ae(c+f|0,e,b);j[a+4284>>2]=b+j[a+4284>>2];j[a+4280>>2]=b+j[a+4280>>2];f=b+f|0;d=d-b|0;if(!d){break a}j[a+4284>>2]=g;i=kr(k,g,4096);e=j[a+4284>>2];b=i+e|0;j[a+4288>>2]=b;if(i){continue}break}}return f|0}function om(a,b,c,d,e,f,g){var h=0,i=0,l=0,m=0,n=0;i=k[j[a>>2]+192|0];j[g>>2]=0;j[f>>2]=0;if(k[a+11666|0]){h=e-c|0;e=i?0-h|0:h;l=j[a+4>>2];h=p(h>>16,b>>16);b=d-b|0;j[l+16>>2]=j[l+16>>2]+(h-p(b>>16,c>>16)|0);a:{b:{b=i?0-b|0:b;if((b|0)>=0){if((e|0)>=0){if((b|0)>e<<1){break b}c=j[a+11688>>2];if((e|0)>b<<1){j[f>>2]=c;a=j[a+11692>>2];break a}m=f,n=ye(45875,c),j[m>>2]=n;a=ye(19661,j[a+11692>>2]);break a}if((b|0)>(0-(e<<1)|0)){break b}c=j[a+11688>>2];if((0-e|0)>b<<1){j[f>>2]=0-c;a=j[a+11692>>2];break a}m=f,n=ye(-45874,c),j[m>>2]=n;a=ye(19661,j[a+11692>>2]);break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){j[f>>2]=0;a=j[a+11692>>2]<<1;break a}c=j[a+11688>>2];if((e|0)>(0-(b<<1)|0)){j[f>>2]=c;a=j[a+11692>>2];break a}m=f,n=ye(45875,c),j[m>>2]=n;a=ye(111411,j[a+11692>>2]);break a}if((c|0)>(0-(e<<1)|0)){j[f>>2]=0;a=j[a+11692>>2]<<1;break a}c=j[a+11688>>2];if((0-(b<<1)|0)<(0-e|0)){j[f>>2]=0-c;a=j[a+11692>>2];break a}m=f,n=ye(-45874,c),j[m>>2]=n;a=ye(111411,j[a+11692>>2]);break a}j[f>>2]=0;a=0}j[g>>2]=a}}function ot(a,b,c,d,e,f,g,h,l,m){var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;if(b){v=a-1|0;a=p(m,12);w=a+69186|0;x=a+69184|0;y=a+69194|0;z=a+69192|0;A=a+69190|0;B=a+69188|0;while(1){a=p(l,q)+h|0;m=p(g,q);u=m+e|0;o=d+m|0;m=p(f,q)+c|0;a:{if(!v){r=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];r=0;while(1){s=k[o|0]-128|0;E=p(s,F);n=p(k[m|0]-D|0,C)- -8192|0;t=k[u|0]-128|0;s=p(t,G)+p(s,H)|0;t=p(t,I);j[a>>2]=k[(E+n>>6)+69232|0]<<24|k[(s+n>>6)+69232|0]<<16|k[(t+n>>6)+69232|0]<<8|255;n=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(n+E>>6)+69232|0]<<24|k[(n+s>>6)+69232|0]<<16|k[(n+t>>6)+69232|0]<<8|255;u=u+4|0;o=o+4|0;m=m+4|0;a=a+8|0;r=r+2|0;if(v>>>0>r>>>0){continue}break}}q=q+1|0;if((r|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[u|0]-128|0;j[n>>2]=k[(a+p(o,i[y>>1])>>6)+69232|0]<<24|k[((a+p(o,i[A>>1])|0)+p(m,i[z>>1])>>6)+69232|0]<<16|k[(a+p(m,i[B>>1])>>6)+69232|0]<<8|255}if((b|0)!=(q|0)){continue}break}}}function LI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;f=oe-16|0;oe=f;e=qe[j[a+508>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=j[f+12>>2];if(c>>>0<4){break a}e=_f(b,c,a+740|0);if(e){break a}c=j[f+12>>2];j[a+744>>2]=c;e=0;d=j[a+740>>2];b=k[d+2|0]<<8|k[d+3|0];l=b>>>0<32?b:32;b:{if(!l){break b}h=c+d|0;m=d+4|0;while(1){b=m;if(b+6>>>0>h>>>0){break b}c=k[b+3|0]|k[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;m=c>>>0>h>>>0?h:c;c=b+14|0;c:{if((k[b+5|0]&247|k[b+4|0]<<8)!=1|c>>>0>h>>>0){break c}n=1<>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0>>0){continue}break c}break}q=q|n}g=g+1|0;if((l|0)!=(g|0)){continue}break}g=l}j[a+756>>2]=q;j[a+752>>2]=o;j[a+748>>2]=g}oe=f+16|0;return e|0}function ds(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;e=oe-16|0;oe=e;a:{if(!a){c=35;break a}c=j[a+96>>2];if(!c){c=6;break a}l=j[c+8>>2];d=He(l,j[j[c+12>>2]+44>>2],e+8|0);b:{c:{c=j[e+8>>2];if(!c){j[d+4>>2]=a;i=j[a+96>>2];c=j[i+12>>2];m=j[i+8>>2];j[e+12>>2]=0;j[d>>2]=j[i+4>>2];f=He(m,40,e+12|0);g=j[e+12>>2];if(g){break c}j[d+156>>2]=f;if(!(k[j[i>>2]+1|0]&2)){g=BO(m,f);j[e+12>>2]=g;if(g){break c}}c=j[c+64>>2];if(c){c=qe[c|0](d)|0;j[e+8>>2]=c;if(c){break b}}j[d+8>>2]=j[a+84>>2];j[a+84>>2]=d;c=0;if(!b){break a}j[b>>2]=d;break a}if(!b){break a}j[b>>2]=0;break a}j[e+8>>2]=g}f=j[j[d+4>>2]+96>>2];c=j[f+8>>2];a=j[j[f+12>>2]+68>>2];if(a){qe[a|0](d)}a=j[d+156>>2];d:{if(!a){j[d+88>>2]=0;break d}e:{if(h[a+4|0]&1){b=j[j[d+4>>2]+100>>2];a=j[d+88>>2];if(a){qe[j[b+8>>2]](b,a)}j[d+88>>2]=0;a=j[d+156>>2];j[a+4>>2]=j[a+4>>2]&-2;break e}j[d+88>>2]=0}if(!(k[j[f>>2]+1|0]&2)){gs(j[a>>2]);a=j[d+156>>2];j[a>>2]=0}if(a){qe[j[c+8>>2]](c,a)}j[d+156>>2]=0}if(d){qe[j[l+8>>2]](l,d)}c=j[e+8>>2]}oe=e+16|0;return c}function pE(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-16|0;oe=c;a:{if(!a){b=0;ve(20425,0);break a}f=qe[j[a+4>>2]](a,0,0,1)|0;g=pe;b:{c:{d:{if(b){break d}if((qe[j[a+8>>2]](a,c+4|0,1,12)|0)!=12){break c}qe[j[a+4>>2]](a,-12,-1,1)|0;e:{if(wf(c+4|0,20613,4)){break e}if(wf(c+12|0,20618,4)){break e}b=2;break d}if(!wf(c+4|0,20623,4)){b=2;break d}if(!wf(c+4|0,20258,4)){b=5;break d}if(!wf(c+4|0,20263,4)){b=8;break d}b=4;if(!wf(c+4|0,20268,4)){break d}b=6;if(!wf(c+4|0,20273,3)|((k[c+5|0]&254)==250?k[c+4|0]==255:0)){break d}b=3}j[65586]=0;f:{if(!j[57797]|j[57795]!=(b|0)){break f}d=j[57800];if(!d){break f}e=231172;d=qe[d|0](a,1)|0;if(d){break b}qe[j[a+4>>2]](a,f,g,0)|0}g:{if(!j[57817]|j[57815]!=(b|0)){break g}b=j[57820];if(!b){break g}e=231252;d=qe[b|0](a,1)|0;if(d){break b}qe[j[a+4>>2]](a,f,g,0)|0}if(!k[Ig()|0]){ve(20447,0)}qe[j[a+16>>2]](a)|0;b=0;break a}b=0;ve(20570,0);qe[j[a+16>>2]](a)|0;break a}b=Xe(1,24);if(!b){qe[j[e+68>>2]](d);b=0;ve(20277,0);break a}j[b+4>>2]=d;j[b>>2]=e}oe=c+16|0;return b}function fD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0,l=0;f=oe-16|0;oe=f;b=Hh(j[a+772>>2],b,c);a:{if(b){break a}if(!j[a+8>>2]){j[d>>2]=1;b=0;break a}j[f+12>>2]=j[a+768>>2];b=-1;e=a+16|0;c=dF(e,j[a+776>>2],j[a+780>>2],f+12|0);if((c|0)<=-1){Xi(21052,c);break a}b:{b=j[f+12>>2];if((b|0)==j[a+768>>2]){break b}j[a+768>>2]=b;if((Ro(a)|0)>=0){break b}b=-1;break a}if(j[e+88>>2]>=2){g=j[e+84>>2];d=j[e+80>>2]}else{g=-1;d=-131}c:{d:{e:{if(j[a+784>>2]!=1){break e}h=j[a+800>>2];i=j[a+804>>2];b=i;if((b|0)>(g|0)?1:(g|0)<=(b|0)?d>>>0>>0:0){break e}k=j[a+816>>2];l=j[a+820>>2];b=-1;e=Lp(e,j[a+792>>2],j[a+796>>2]);if((e|0)<=-1){Xi(21060,e);break a}c=(gP(k,l,h-d|0,i-(g+(d>>>0>h>>>0)|0)|0)<<1)+c|0;if((c|0)<1){break c}break d}if((c|0)>0){break d}c=j[a+8>>2];if((c|0)==1){j[a+8>>2]=0;vo(j[a+772>>2]);break c}b=-1;j[a+8>>2]=(c|0)>0?c-1|0:-1;a=Dl(e,0);if((a|0)>-1){break c}Xi(21253,a);break a}if((gi(j[a+772>>2],j[a+776>>2],c)|0)>=0){break c}b=-1;break a}b=0}oe=f+16|0;return b|0}function Yk(a,b,c,d,e,f,g){var h=0,i=0,k=0,m=0,n=0;h=oe-32|0;oe=h;a:{if(j[a+4>>2]==(c|0)){break a}i=j[a+44>>2];if(!i){break a}kf(i);j[a+44>>2]=0}b:{c:{d:{if(j[b>>2]|j[b+4>>2]){break d}i=j[a+8>>2];k=j[b+8>>2];if((i|0)>(k|0)){break d}m=j[a+12>>2];n=j[b+12>>2];if((d|0)!=(k|0)|(m|0)>(n|0)){break d}k=1;if((e|0)==(n|0)){break c}}e:{f:{i=j[a+44>>2];if(i){j[i+20>>2]=f;j[i+12>>2]=e;j[i+8>>2]=d;j[i+16>>2]=g;break f}ai(c,h,h+28|0,h+24|0,h+20|0,h+16|0);d=vj(f,d,e,j[h>>2],g,j[h+28>>2],j[h+24>>2],j[h+20>>2],j[h+16>>2]);j[a+44>>2]=d;if(d){break f}d=0;break e}i=j[a+40>>2];if(!i){ai(c,h,h+28|0,h+24|0,h+20|0,h+16|0);i=ug(0,j[a+8>>2],j[a+12>>2],j[h>>2],j[h+28>>2],j[h+24>>2],j[h+20>>2],j[h+16>>2]);j[a+40>>2]=i;d=0;if(!i){break e}}g=j[i+16>>2];f=j[i+20>>2];d=1}if(!d){break b}m=j[a+12>>2];i=j[a+8>>2];k=0}if(k|(fh(i,m,j[a>>2],j[a+28>>2],l[a+20>>1],c,f,g)|0)<0){break b}c=j[b+12>>2];j[h+8>>2]=j[b+8>>2];j[h+12>>2]=c;c=j[b+4>>2];j[h>>2]=j[b>>2];j[h+4>>2]=c;jn(j[a+40>>2],h,j[a+44>>2],0)}oe=h+32|0}function Rm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{a=j[b+1300>>2];b:{c:{if((a|0)<0){break c}c=j[67093];if(!c){break c}while(1){if((a|0)==j[c>>2]){break b}c=j[c+1320>>2];if(c){continue}break}}a=qe[j[57972]](1328)|0;if(a){j[57976]=j[57976]+1}if(!a){break b}Oe(a,0,1328);j[a>>2]=j[b+1300>>2];c=Uf(b+1304|0);j[a+4>>2]=c;if(!c){break a}c=Uf(b+1368|0);j[a+8>>2]=c;if(!c){b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}break a}e=j[b+8>>2];j[a+24>>2]=e;f=j[b+12>>2];j[a+20>>2]=f;c=0;g=j[67091];j[67091]=g+1;j[a+12>>2]=g;o[a+32>>3]=o[b>>3];if((e|0)>=1){h=a+40|0;while(1){d=c<<3;o[d+h>>3]=o[(b+d|0)+16>>3];c=c+1|0;if((e|0)!=(c|0)){continue}break}}if((f|0)>=1){e=a+1064|0;h=a+552|0;c=0;while(1){d=c<<3;o[d+h>>3]=o[(b+d|0)+528>>3];d=c<<2;j[d+e>>2]=j[(b+d|0)+1040>>2];c=c+1|0;if((f|0)>(c|0)){continue}break}}b=j[67092];d:{if(!b){j[67092]=a;b=268372;break d}j[b+1320>>2]=a;b=268368}j[b>>2]=a;j[67090]=j[67090]+1;HA(g)}return 1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return 1}function Bn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=j[a+28>>2];if(h){k=b^-1;m=j[a+24>>2];n=m-1|0;g=b<<16|b;o=g^-1;d=j[a>>2];c=j[a+20>>2];r=j[a+36>>2]>>1<<1;p=j[a+16>>2]>>1;s=p-1<<1;while(1){h=h-1|0;a:{if((c^d)&2){if(c&2){e=l[d>>1];a=l[c>>1];i[c>>1]=(e&(a&k))+((b&e)+(a&b)>>>1|0);d=d+2|0;c=c+2|0;a=n}else{a=m}e=a;a=d+2|0;d=j[d-2>>2];if((e|0)>=2){while(1){f=d>>>16|0;d=j[a>>2];f=f|d<<16;q=j[c>>2];j[c>>2]=(((f&g)>>>1)+((q&g)>>>1)|0)+(f&(o&q));a=a+4|0;c=c+4|0;f=(e|0)>3;e=e-2|0;if(f){continue}break}}if(e){e=d>>>16|0;d=l[c>>1];i[c>>1]=((e&b)+(d&b)>>>1|0)+(d&(e&k));c=c+2|0;a=a+2|0}d=a+s|0;break a}if(d&2){e=l[d>>1];a=l[c>>1];i[c>>1]=(e&(a&k))+((b&e)+(a&b)>>>1|0);c=c+2|0;d=d+2|0;a=n}else{a=m}if((a|0)>=2){while(1){e=j[c>>2];f=j[d>>2];j[c>>2]=(((e&g)>>>1)+((f&g)>>>1)|0)+(e&(f&o));c=c+4|0;d=d+4|0;e=(a|0)>3;a=a-2|0;if(e){continue}break}}if(a){e=l[d>>1];a=l[c>>1];i[c>>1]=(e&(a&k))+((b&e)+(a&b)>>>1|0);c=c+2|0;d=d+2|0}d=d+(p<<1)|0}c=c+r|0;if(h){continue}break}}}function xk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;f=oe-16|0;oe=f;j[f+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}if((b|0)==(c|0)){d=0;break a}g=j[c+8>>2];i=(g|0)>-1?1:-1;d=0;e=j[b+8>>2];k=(e|0)<0?-1:1;if(!j[b+12>>2]){a=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=a;a=j[b+20>>2];j[c+16>>2]=j[b+16>>2];j[c+20>>2]=a;a=j[b+12>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=a;if((i|0)==(k|0)){break a}j[c+8>>2]=0-j[c+8>>2];break a}d=e>>31;e=d+e^d;h=p(e,j[b>>2]);d=j[a>>2];m=c;a=j[c+12>>2];b:{c:{if(a){l=g>>31;g=p(j[c>>2],l^g+l);if((g|0)==(h|0)){break b}a=Gr(d,g,h,a,f+12|0);break c}a=gj(d,h,f+12|0)}j[m+12>>2]=a}d:{if(j[f+12>>2]){break d}d=j[b+12>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=d;d=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=d;d=j[b+20>>2];j[c+16>>2]=j[b+16>>2];j[c+20>>2]=d;j[c+12>>2]=a;if((i|0)==(k|0)){Ae(a,j[b+12>>2],h);break d}c=j[c>>2];if(!c){break d}d=0-e|0;a=p(e,c-1|0)+a|0;b=j[b+12>>2];while(1){a=Ae(a,b,e)+d|0;b=b+e|0;c=c-1|0;if(c){continue}break}}d=j[f+12>>2]}oe=f+16|0;return d}function bO(a,b,c){var d=0,e=0,f=0,g=0;f=oe-32|0;oe=f;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ie(a,c);Je(a,6352);break a}e:{d=j[a+208>>2];if(d&1){if(d&4){j[a+208>>2]=d|8}e=j[a+788>>2];f:{if(e){if(m[a+792>>2]>=c>>>0){break f}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,e)}e=$f(a,c);if(!e){break e}j[a+792>>2]=c;j[a+788>>2]=e}pf(a,e,c);tf(a,e,c);d=0;if(Ie(a,0)){break a}g=6012;g:{if(!c){break g}h:{while(1){if(!k[d+e|0]){break h}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}if(d-1>>>0>78){break g}g=5979;if(d+3>>>0>c>>>0){break g}g=6418;if(k[(d+e|0)+1|0]){break g}j[f+28>>2]=-1;e=c;c=d+2|0;if((Qr(a,e,c,f+28|0)|0)==1){e=j[f+28>>2];g=e+c|0;c=j[a+788>>2];h[g+c|0]=0;j[f+24>>2]=0;j[f+16>>2]=0;j[f+20>>2]=0;j[f+12>>2]=e;j[f+8>>2]=(c+d|0)+2;j[f+4>>2]=c;j[f>>2]=0;g=6443;if(Fk(a,b,f)){break g}break a}g=j[a+248>>2];if(!g){break a}}Je(a,g);break a}hf(a,5795);z()}Ie(a,c);Je(a,5965)}oe=f+32|0}function wr(a,b,c){var d=0,e=0,f=0,g=0;f=oe-1024|0;oe=f;j[a+240>>2]=0;j[a+236>>2]=b;e=b?c:0;g=a+224|0;a:{b:{c:{while(1){if(!j[a+228>>2]){c=j[a+408>>2];d:{while(1){if(c){break d}Ie(a,0);c=Bk(a);j[a+408>>2]=c;if(j[a+376>>2]==1229209940){continue}break}Ye(a,7020);z()}d=j[a+796>>2];c=c>>>0>>0?c:d;d=j[a+788>>2];e:{if(d){if(c>>>0<=m[a+792>>2]){break e}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,d)}d=$f(a,c);if(!d){break c}j[a+792>>2]=c;j[a+788>>2]=d}pf(a,d,c);tf(a,d,c);j[a+228>>2]=c;j[a+224>>2]=d;j[a+408>>2]=j[a+408>>2]-c}f:{if(b){j[a+240>>2]=e;e=0;c=ui(g,0);d=j[a+240>>2];break f}j[a+240>>2]=1024;j[a+236>>2]=f;c=ui(g,0);d=1024-j[a+240>>2]|0}j[a+240>>2]=0;e=d+e|0;g:{if(c){if((c|0)==1){j[a+236>>2]=0;j[a+208>>2]=j[a+208>>2]|8;j[a+212>>2]=j[a+212>>2]|8;if(!(j[a+408>>2]?0:!j[a+228>>2])){Je(a,7042)}if(!e){break g}if(b){break a}Je(a,7064);break g}ph(a,c);c=j[a+248>>2];if(b){break b}Je(a,c);break g}if(e){continue}}break}oe=f+1024|0;return}hf(a,7196);z()}hf(a,c);z()}Ye(a,7020);z()}function kk(a,b,c,d,e){var f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0;f=j[a+40>>2];a:{l=j[a+52>>2];r=b<<3;n=j[(l+r|0)+4>>2];b:{if((n|0)>(e|0)){break b}g=j[l+4>>2];if((g|0)<(d|0)){break b}i=g;o=j[a+4>>2];g=0-o|0;q=i&g;i=(q|0)>(e|0);c:{if((d|0)>(n|0)){g=d;break c}g=g&(n+o|0)-1;if(n&o-1&65535){d=g;break c}if(k[a+87|0]){h[a+87|0]=0;f=f-4|0}j[f>>2]=j[(b<<3)+l>>2];d=g+o|0;f=f+4|0}if(k[a+86|0]){j[j[a+88>>2]+20>>2]=g>>j[a>>2];h[a+86|0]=0}g=i?e:q;if((g|0)<(d|0)){break b}if(m[a+36>>2]<=((g-d>>j[a>>2]<<2)+f|0)+4>>>0){break a}n=0-b|0;o=b<<3;e=l;while(1){h[a+87|0]=0;b=j[e+4>>2];d:{if((b|0)>(d|0)){i=b;b=e+o|0;q=j[b+4>>2];i=i-q|0;if((i|0)>=j[a+16>>2]){qe[c|0](e);break d}b=j[b>>2];j[f>>2]=((p(j[e>>2]-b|0,d-q|0)|0)/(i|0)|0)+b;f=f+4|0;d=j[a+4>>2]+d|0;b=(n<<3)+e|0;break d}if((b|0)==(d|0)){h[a+87|0]=1;j[f>>2]=j[e>>2];f=f+4|0;d=j[a+4>>2]+d|0}b=(n<<3)+e|0}e=b;if(e>>>0>=l>>>0?(d|0)<=(g|0):0){continue}break}l=j[a+52>>2]}j[a+40>>2]=f;j[a+52>>2]=l-r;return 0}j[a+44>>2]=98;j[a+40>>2]=f;return 1}function tk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;h=j[a+2984>>2];if(h&4){e=j[a+2988>>2];a=c>>31;d=a+c^a;a:{b:{c:{if((b|0)==1){if(!(h&2)){break c}break b}if(h&1){break b}}d:{a=e+p(b,1572)|0;if(!j[a+52>>2]){break d}e=j[a+60>>2];a=d-e|0;b=a>>31;if((b^a+b)>39){break d}d=(e|0)>48?e:48;break a}if((d|0)<=53){d=((54-d|0)/2|0)+d|0;break a}if((d|0)>191){break a}b=d&63;if(b>>>0<10){break a}a=d&2147483584;if(b>>>0<=21){d=a|10;break a}d=b-42>>>0<12?a|54:d;break a}k=e+p(b,1572)|0;l=j[k+52>>2];e:{f:{if(l){a=98;e=d;while(1){m=j[(p(i,12)+k|0)+60>>2];f=d-m|0;g=f>>31;f=g^f+g;g=(f|0)<(a|0);a=g?f:a;e=g?m:e;i=i+1|0;if((l|0)!=(i|0)){continue}break}a=e+32&-64;f=a;if((d|0)>=(e|0)){break f}a=(a-48|0)<(d|0)?e:d;break e}e=d;f=d+32&2147483584}a=(f|48)>(d|0)?e:d}if((b|0)==1){d=64;if((a|0)<64){break a}d=a+16&-64;break a}if(h&8){d=64;if((a|0)<64){break a}d=a+32&-64;break a}if((a|0)<=47){d=a- -64>>1;break a}if((a|0)<=127){d=a+22&-64;break a}d=a+32&-64}c=(c|0)<0?0-d|0:d}return c}function Of(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,n=0,o=0,p=0,q=0;if((d|0)>0?1:(d|0)>=0?c>>>0>=1:0){d=d+j[a+12>>2]|0;h=c+j[a+8>>2]|0;d=h>>>0>>0?d+1|0:d;c=h}i=a+24|0;a:{while(1){h=f;k=e;while(1){b:{if((d|0)<0?1:(d|0)<=0?c>>>0<1:0){break b}e=j[a+12>>2];if((d|0)>(e|0)?1:(d|0)>=(e|0)?c>>>0>m[a+8>>2]:0){break b}pe=-1;return-1}e=JE(i,b);if((e|0)<=-1){g=j[a+8>>2];f=e;e=j[a+12>>2]-((e>>31)+(g>>>0>>0)|0)|0;j[a+8>>2]=g-f;j[a+12>>2]=e;continue}break}if(!e){if(!(c|d)){pe=-1;return-1}j[67100]=0;f=-128;e=-1;if(!j[a+704>>2]){break a}if(!j[a>>2]){pe=-1;return-2}g=(n=KE(i),o=1,p=2048,q=j[a>>2],l=j[a+704>>2],qe[l](n|0,o|0,p|0,q|0)|0);c:{if((g|0)>=1){e=j[i+4>>2];if((e|0)<0){break c}f=e;e=g+j[i+8>>2]|0;if((f|0)<(e|0)){break c}j[i+8>>2]=e;break c}if(g){break c}if(j[67100]){break a}}f=h;h=(g|0)<0;e=h;f=g?e?-128:f:-2;e=g?e?-1:k:-1;if((h|0)==(!g|0)){continue}break a}break}b=a;f=j[a+8>>2];c=e;d=f+e|0;e=j[a+12>>2];j[b+8>>2]=d;j[b+12>>2]=c>>>0>d>>>0?e+1|0:e}pe=e;return f}function lk(a,b,c,d,e,f){var g=0,i=0,l=0,m=0,n=0;i=oe-16|0;oe=i;l=j[a+12>>2];if(l){j[(j[a+20>>2]+(l<<4)|0)-4>>2]=e}a:{b:{c:{n=l+1|0;g=j[a+16>>2];if(n>>>0>g>>>0){j[i+4>>2]=0;m=l+8&-8;e=xe(f,16,g,m,j[a+20>>2],i+4|0);j[a+20>>2]=e;g=j[i+4>>2];if(g){break a}j[a+16>>2]=m;g=(l<<4)+e|0;j[g+12>>2]=0;j[g>>2]=0;j[a+12>>2]=n;break c}e=j[a+20>>2];m=e+(l<<4)|0;j[m+12>>2]=0;j[m>>2]=0;j[a+12>>2]=n;if(n){break c}if(!g){j[i+8>>2]=0;e=xe(f,16,0,8,e,i+8|0);j[a+20>>2]=e;g=j[i+8>>2];if(g){break a}j[a+16>>2]=8}j[e+12>>2]=0;j[e>>2]=0;j[a+12>>2]=1;break b}e=(l<<4)+e|0}a=j[e+4>>2];j[i+12>>2]=0;l=d+7>>>3|0;a=a+7>>>3|0;d:{if(l>>>0<=a>>>0){a=j[e+8>>2];break d}g=f;f=l+7&1073741816;a=xe(g,1,a,f,j[e+8>>2],i+12|0);j[e+8>>2]=a;g=j[i+12>>2];if(g){break a}j[e+4>>2]=f<<3}j[e>>2]=d;g=0;if(!d){break a}e=(c>>>3|0)+b|0;c=128>>>(c&7)|0;b=128;while(1){f=k[a|0];h[a|0]=k[e|0]&c?f|b:f&(b^-1);b=b>>1;a=b?a:a+1|0;c=c>>1;e=c?e:e+1|0;b=b?b:128;c=c?c:128;d=d-1|0;if(d){continue}break}}oe=i+16|0;return g}function LB(){var a=0,b=0,c=0,d=0;c=oe-16|0;oe=c;a=eg(24795);j[57840]=0;a:{if(!a){break a}if(!rf(a)){break a}j[c>>2]=j[57842];Zg(24822,c)}a=j[57843];if(a){while(1){b=j[a+72>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}a=j[57845];if(a){while(1){b=j[a+72>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}a=j[57846];if(a){while(1){b=j[a+12>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}a=j[57847];if(a){while(1){b=j[a+12>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}j[57841]=0;j[57846]=0;j[57847]=0;j[57844]=0;j[57845]=0;j[57842]=0;j[57843]=0;a=0;while(1){b=(a<<2)+264416|0;d=j[b>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}j[b>>2]=0;a=a+1|0;if((a|0)!=256){continue}break}a=j[66360];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66361]=0;j[66360]=0}Oe(265448,0,12);if(j[57839]){a=j[57839];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}j[57839]=0}oe=c+16|0}function zo(){var a=0,b=0,c=0,d=0,e=0,f=q(0),g=0,h=0,i=0,k=0,l=0,m=0,o=q(0);Sj(264360);a:{if(!j[66091]){a=qe[j[57972]](10244)|0;if(a){j[57976]=j[57976]+1}j[66091]=a;if(!a){break a}a=qe[j[57972]](10244)|0;if(a){j[57976]=j[57976]+1}k=a;j[66092]=a;if(!a){a=j[66091];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66091]=0;break a}g=j[66091];j[g>>2]=1065353216;b=1;while(1){i=1;h=y(1-Mi(+(b-2560|0)*.5/1280,2))*7.85726*.5;d=1;c=1;e=1;while(1){a=1;m=e;l=Mi(h,+(c<<1))/Mi(d,2);e=e+l;c=c+1|0;d=d*+(c|0);if(l<9.999999682655225e-22^1){continue}break}d=1;while(1){e=d;h=Mi(3.92863,+(a<<1))/Mi(i,2);d=e+h;a=a+1|0;i=i*+(a|0);if(h<9.999999682655225e-22^1){continue}break}n[(2561-b<<2)+g>>2]=m/e;b=b+1|0;if((b|0)!=2561){continue}break}a=1;while(1){f=q(q(q(a|0)*q(.001953125))*q(3.1415927410125732));o=rE(f);b=a<<2;c=b+g|0;f=q(n[c>>2]*q(o/f));n[c>>2]=f;b=b-4|0;n[b+k>>2]=f-n[b+g>>2];a=a+1|0;if((a|0)!=2561){continue}break}j[k+10240>>2]=0}j[66090]=0;return 0}j[66090]=0;return Be(0)}function $r(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;f=oe-16|0;oe=f;p=j[a>>2];k=j[b+8>>2];g=sf(b,f+12|0);e=j[f+12>>2];a:{b:{c:{if(e){break c}e=2;if((g|0)!=1954115633){break c}l=qf(b,f+12|0);e=j[f+12>>2];if(e){break c}e=xf(b,6);j[f+12>>2]=e;if(e){break c}if(!l){e=142;break c}h=-1;d:{while(1){m=sf(b,f+12|0);e=j[f+12>>2];if(e){break c}e=xf(b,4);j[f+12>>2]=e;if(e){break c}i=sf(b,f+12|0);e=j[f+12>>2];if(e){break c}g=sf(b,f+12|0);e=j[f+12>>2];if(e){break c}e:{if((m|0)!=1415139377){if((m|0)!=1128875040){break e}g=g-22|0;i=i+22|0;n=1;if((c|0)<0){break d}h=h+1|0;break e}g=g-24|0;i=i+24|0;n=0;if((c|0)<0){break d}h=h+1|0}if((c|0)==(h|0)?(c|0)>=0:0){break d}o=o+1|0;if((o|0)!=(l|0)){continue}break}e=142;break c}e=0;j[f+8>>2]=0;if(Fe(b,i+k|0)){break a}h=He(p,g,f+8|0);e=j[f+8>>2];if(e){break b}e=uf(b,h,g);j[f+8>>2]=e;if(e){break b}e=Em(a,h,g,c>>31&c,n?74737:74741,d)}j[f+8>>2]=e}if((e&255)!=2){break a}a=Fe(b,k);e=a?a:j[f+8>>2]}oe=f+16|0;return e}function yF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;if((e|0)>=1){while(1){h=(j[(f<<2)+d>>2]!=0)+h|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}if(!h){return 0}i=j[b>>2];d=j[i>>2];l=j[i+4>>2];m=j[i+8>>2];r=j[i+12>>2];h=Ef(a,4);f=a;n=(l-d|0)/(m|0)|0;a=n<<2;d=Ef(f,a);j[h>>2]=d;Ee(d,0,a);if((n|0)>=1){l=r-1|0;o=j[i>>2]/(e|0)|0;v=j[h>>2];w=(m|0)<1;while(1){a=0;a:{if(w){k=0;d=0;break a}x=j[c>>2];d=0;k=0;p=0;while(1){s=o<<2;g=j[s+x>>2];f=g>>31;t=f^f+g;y=(t|0)>(k|0);f=1;if((e|0)>=2){while(1){u=j[j[(f<<2)+c>>2]+s>>2];g=u>>31;g=g^g+u;d=(d|0)<(g|0)?g:d;f=f+1|0;if((f|0)!=(e|0)){continue}break}}k=y?t:k;o=o+1|0;p=e+p|0;if((p|0)<(m|0)){continue}break}}b:{if((r|0)<=1){break b}while(1){f=(a<<2)+i|0;if(j[f+2584>>2]>=(d|0)?j[f+2328>>2]>=(k|0):0){break b}a=a+1|0;if((l|0)!=(a|0)){continue}break}a=l}j[(q<<2)+v>>2]=a;q=q+1|0;if((n|0)!=(q|0)){continue}break}}j[b+40>>2]=j[b+40>>2]+1}return h|0}function pi(a){var b=0,c=0,d=0,e=0,f=0,g=0;rP(+a);b=oP(1)|0;oP(0)|0;f=b;b=b&2147483647;if(b>>>0<1141899264){a:{b:{if(b>>>0<=1071382527){if(b>>>0<1044381696){break a}b=-1;d=1;break b}a=r(a);c:{if(b>>>0<=1072889855){if(b>>>0<=1072037887){a=(a+a+ -1)/(a+2);b=0;d=0;break b}b=1;a=(a+ -1)/(a+1);break c}if(b>>>0<=1073971199){b=2;a=(a+ -1.5)/(a*1.5+1);break c}b=3;a=-1/a}d=0}g=a*a;c=g*g;e=c*(c*(c*(c*(c*-.036531572744216916+ -.058335701337905735)+ -.0769187620504483)+ -.11111110405462356)+ -.19999999999876483);c=g*(c*(c*(c*(c*(c*.016285820115365782+.049768779946159324)+.06661073137387531)+.09090887133436507)+.14285714272503466)+.3333333333333293);if(d){return a-a*(e+c)}b=b<<3;a=o[b+226704>>3]-(a*(e+c)-o[b+226736>>3]-a);a=(f|0)>-1?a:-a}return a}rP(1.5707963267948966);b=oP(1)|0;f=oP(0)|0;rP(+a);d=oP(1)|0;oP(0)|0;pP(0,f|0);pP(1,b&2147483647|d&-2147483648);e=+qP();rP(+a);b=oP(1)|0;d=oP(0)|0;b=b&2147483647;return(b|0)==2146435072&(d|0)!=0|b>>>0>2146435072?a:e}function kl(a,b){var c=0,d=0,e=0,f=0,g=0,m=0;d=oe+ -64|0;oe=d;a:{if(!b){break a}b:{c:{switch(a|0){case 0:c=k[b+265490|0];g=769;e=0;break b;case 1:break c;default:break a}}c=k[b+265490|0];m=(c|0)!=0;g=768;e=1}if((a|0)==(c|0)?!m:0){break a}h[b+265490|0]=a;c=64;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{f=j[(b<<2)+266004>>2];switch(f-1073742048|0){case 6:break i;case 2:break j;case 5:break k;case 1:break l;case 4:break m;case 0:break d;case 33:break f;case 7:break g;case 3:break h;default:break e}}c=128;break d}c=1;break d}c=2;break d}c=256;break d}c=512;break d}c=1024;break d}c=2048;break d}c=16384;break d}c=0}n:{if(e){o:{if((f|0)!=1073741881){if((f|0)!=1073741907){break o}e=l[132744]^4096;break n}e=l[132744]^8192;break n}e=l[132744]|c;break n}e=l[132744]&(c^-1)}i[132744]=e;if((We(g,-1)|0)!=1){break a}j[d+28>>2]=f;i[d+32>>1]=l[132744];j[d+24>>2]=b;h[d+21|0]=m;h[d+20|0]=a;j[d+8>>2]=g;a=d;b=j[66371];if(b){b=j[b+4>>2]}else{b=0}j[a+16>>2]=b;gf(d+8|0)}oe=d- -64|0}function ky(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;a:{e=j[a+28>>2];if(!e){break a}d=j[a+48>>2];g=j[a+36>>2];i=j[a+16>>2];c=j[a+24>>2];l=c&7;m=(c+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];b:while(1){f=m;c:{d:{switch(l-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=1;continue;case 1:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=2;continue;case 2:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=3;continue;case 3:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=4;continue;case 4:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=5;continue;case 5:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=6;continue;case 6:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=7;continue;default:break e}}c=e-1|0;h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;f:{if((f|0)>1){f=f-1|0;break f}a=a+g|0;b=b+i|0;e=c;if(c){continue b}break a}c=0;continue}}}}function _J(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,n=0,o=0,q=0,r=0,s=0;a:{g=j[a+4>>2];i=0-g|0;q=c-1|0;n=i&g+q;o=d&i;b:{if((n|0)<=(o|0)){e=j[a>>2];d=n;break b}if((g+o|0)!=(n|0)){break a}g=o;c:{d:{e:{r=l[e+12>>1];s=r&7;switch(s|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}g=j[a+8>>2]+((d+q|0)/2|0)&i;break c}if((!(r&16)|j[a+8>>2]>(d-c|0)?!(j[e+28>>2]!=(f|0)|j[e+16>>2]>0):0)|(!(r&32)|j[a+8>>2]>(d-c|0)?!(j[f+28>>2]!=(e|0)|j[e+20>>2]!=(b|0)):0)){break a}if((s|0)==1){break c}g=j[a+8>>2]+((d+q|0)/2|0)&i}e=j[a>>2];i=j[a+112>>2];d=n;d=(g|0)>=0?m[a+104>>2]>g>>>e>>>0?g:o:d;c=((n|0)==(d|0)?o:n)>>e;f=(j[a+60>>2]+(b>>3)|0)-p(i,c)|0;f=(i|0)>=1?p(i,j[a+104>>2]-1|0)+f|0:f;if((c|0)<0|c>>>0>=m[a+104>>2]){break b}if(k[f|0]&128>>>(b&7)){break a}}c=d>>e;if((c|0)<0){break a}d=j[a+104>>2];if(d>>>0<=c>>>0){break a}e=j[a+60>>2]+(b>>3)|0;a=j[a+112>>2];c=e-p(a,c)|0;a=(a|0)>0?c+p(a,d-1|0)|0:c;h[a|0]=k[a|0]|128>>>(b&7)}}function Vv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];r=(j[a+4>>2]<<16)/(f|0)|0;s=(j[a+8>>2]<<16)/(b|0)|0;if(b){t=k[a+63|0];u=k[a+62|0];v=k[a+61|0];w=k[a+60|0];b=j[a+52>>2];x=b&2;y=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){i=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;i=((d>>>16|0)+i|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(i<<2)|0;c=(c-(d&-65536)|0)-65536|0}h=j[o>>2];l=h&255;m=h>>>8&255;d=h>>>16&255;z=b;if(y){m=(p(m,v)>>>0)/255|0;l=(p(l,w)>>>0)/255|0;q=(p(d,u)>>>0)/255|0}else{q=d}d=h>>>24|0;j[z>>2]=q|m<<8|l<<16|(x?(p(d,t)>>>0)/255|0:d)<<24;b=b+4|0;c=c+r|0;f=f-1|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+s|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function Ph(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0;i=oe-48|0;oe=i;l=a+11724|0;om(a,j[a+11720>>2],j[l>>2],b,c,i+44|0,i+40|0);om(a,d,e,f,g,i+36|0,i+32|0);m=j[a+4>>2];j[m+16>>2]=j[m+16>>2]+(p(e-c>>16,b>>16)-p(d-b>>16,c>>16)|0);m=j[i+44>>2];j[i+24>>2]=m+j[a+11720>>2];l=j[l>>2];n=c;c=j[i+40>>2];j[i+20>>2]=n+c;j[i+16>>2]=b+m;j[i+28>>2]=c+l;b=j[i+32>>2];c=j[i+36>>2];if(k[a+11667|0]){l=j[i+28>>2];j[i+8>>2]=j[i+24>>2];j[i+12>>2]=l;tr(a,i+8|0);h[a+11664|0]=1;h[a+11667|0]=0;l=j[i+20>>2];j[a+11712>>2]=j[i+16>>2];j[a+11716>>2]=l}if(k[a+11744|0]){l=j[i+20>>2];j[i>>2]=j[i+16>>2];j[i+4>>2]=l;Qh(a,a+8|0,i+24|0,i,0)}j[a+11748>>2]=4;h[a+11744|0]=1;l=j[i+28>>2];j[a+11752>>2]=j[i+24>>2];j[a+11756>>2]=l;l=j[i+20>>2];m=j[i+16>>2];j[a+11780>>2]=b+g;j[a+11776>>2]=c+f;j[a+11772>>2]=b+e;j[a+11768>>2]=c+d;j[a+11760>>2]=m;j[a+11764>>2]=l;b=j[a+11676>>2];if(k[b+5|0]){xh(a+8|0,j[a+11668>>2],j[a+11672>>2],b,j[a+11680>>2],0)}j[a+11724>>2]=g;j[a+11720>>2]=f;oe=i+48|0}function Vl(a,b,c,d,e){var f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=oe-16|0;oe=g;a:{if(h[a+368|0]&1){n=j[a+52>>2];o=j[a+48>>2];p=l[a+46>>1];m=l[a+44>>1];q=j[a+36>>2];r=j[a+40>>2];f=a- -64|0;s=j[f+4>>2];j[g+8>>2]=j[f>>2];j[g+12>>2]=s;f=j[a+60>>2];j[g>>2]=j[a+56>>2];j[g+4>>2]=f;f=a+286|0;break a}n=j[a+88>>2];o=j[a+84>>2];p=l[a+82>>1];m=l[a+80>>1];q=j[a+72>>2];r=j[a+76>>2];f=j[a+104>>2];j[g+8>>2]=j[a+100>>2];j[g+12>>2]=f;f=j[a+96>>2];j[g>>2]=j[a+92>>2];j[g+4>>2]=f;f=a+288|0}f=l[f>>1];b:{if(f>>>0>=m>>>0){if(k[a+561|0]){j[a+12>>2]=134}i[e>>1]=0;a=1;break b}j[d+16>>2]=n;j[d+12>>2]=o;i[d+10>>1]=p;i[d+8>>1]=m;j[d>>2]=q;j[d+4>>2]=r;m=j[g+4>>2];j[d+20>>2]=j[g>>2];j[d+24>>2]=m;m=j[g+12>>2];j[d+28>>2]=j[g+8>>2];j[d+32>>2]=m;i[e>>1]=f;e=b;b=f<<3;d=b+n|0;b=b+o|0;b=qe[j[a+572>>2]](a,j[d>>2]-j[b>>2]|0,j[d+4>>2]-j[b+4>>2]|0)|0;t=e,u=Ne(b,i[a+298>>1],j[a+564>>2]),j[t>>2]=u;t=c,u=Ne(b,i[a+300>>1],j[a+564>>2]),j[t>>2]=u;a=0}oe=g+16|0;return a}function tB(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=oe+ -64|0;oe=f;a:{if(!a){break a}d=j[67024];if((d|0)==(a|0)){break a}if(d){zf(d,11,0,0)}j[67024]=a;j[67034]=0;zf(a,10,0,0);a=j[67015];d=j[(j[67024]?268200:268196)>>2];if(!(j[67035]|(!d|!j[67051]))){if(!a){break a}qe[a|0](d)|0;break a}if(!a){break a}qe[a|0](0)|0}b:{if(c==q(0)?b==q(0):0){break b}d=0;b=q(n[67031]+b);n[67031]=b;c:{d:{if(!(b>q(0)^1)){e=v(+b);if(!(r(e)<2147483648)){break d}d=~~e;break c}if(bq(0)^1)){e=v(+b);if(!(r(e)<2147483648)){break f}g=~~e;break e}if(b>2]=1027;a=0;h=j[67024];if(h){a=j[h+4>>2]}j[f+32>>2]=0;j[f+28>>2]=g;j[f+24>>2]=d;j[f+20>>2]=0;j[f+16>>2]=a;gf(f+8|0)}oe=f- -64|0}function mk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}c=j[a+100>>2];d=c;b=j[a+300>>2];if(b){qe[j[d+8>>2]](d,b)}j[a+300>>2]=0;b=j[a+292>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+292>>2]=0;d=j[a+284>>2];if(d){b=c;if(j[a+280>>2]>=1){while(1){b:{if(!d){break b}e=p(f,12)+d|0;d=j[e>>2];if(d){qe[j[c+8>>2]](c,d)}j[e>>2]=0;if(!k[e+4|0]){break b}d=j[e+8>>2];if(d){qe[j[c+8>>2]](c,d)}j[e+8>>2]=0}f=f+1|0;if((f|0)>2]){d=j[a+284>>2];continue}break}d=j[a+284>>2]}if(d){qe[j[b+8>>2]](b,d)}j[a+284>>2]=0}b=j[a+192>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+192>>2]=0;b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+32>>2]=0;b=j[a+176>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+176>>2]=0;b=j[a+180>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+180>>2]=0;c=j[a+104>>2];if((c|0)!=(a+132|0)){break a}c:{if(!c){break c}b=j[c+24>>2];if(!b){break c}qe[b|0](c)}j[a+104>>2]=j[a+172>>2]}}function jw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];r=(j[a+4>>2]<<16)/(f|0)|0;s=(j[a+8>>2]<<16)/(b|0)|0;if(b){t=k[a+63|0];u=k[a+62|0];v=k[a+61|0];w=k[a+60|0];b=j[a+52>>2];x=b&2;y=b&1;h=j[a+20>>2];b=h;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){i=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;i=((d>>>16|0)+i|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(i<<2)|0;c=(c-(d&-65536)|0)-65536|0}g=j[o>>2];l=g>>>24|0;m=g>>>8&255;d=g>>>16&255;f=f-1|0;q=g&255;g=b;if(y){m=(p(m,u)>>>0)/255|0;l=(p(l,w)>>>0)/255|0;d=(p(d,v)>>>0)/255|0}j[g>>2]=d<<8|m|l<<16|(x?(p(q,t)>>>0)/255|0:q)<<24;b=b+4|0;c=c+r|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;h=j[a+32>>2]+h|0;if(c){e=e+s|0;f=j[a+24>>2];c=b;b=h;continue}break}j[a+20>>2]=h}}function Av(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];r=(j[a+4>>2]<<16)/(f|0)|0;s=(j[a+8>>2]<<16)/(b|0)|0;if(b){t=k[a+63|0];u=k[a+62|0];v=k[a+61|0];w=k[a+60|0];b=j[a+52>>2];x=b&2;y=b&1;h=j[a+20>>2];b=h;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){i=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;i=((d>>>16|0)+i|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(i<<2)|0;c=(c-(d&-65536)|0)-65536|0}g=j[o>>2];l=g>>>24|0;m=g>>>8&255;d=g>>>16&255;f=f-1|0;q=g&255;g=b;if(y){l=(p(l,u)>>>0)/255|0;m=(p(m,w)>>>0)/255|0;d=(p(d,v)>>>0)/255|0}j[g>>2]=d<<8|l|m<<16|(x?(p(q,t)>>>0)/255|0:q)<<24;b=b+4|0;c=c+r|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;h=j[a+32>>2]+h|0;if(c){e=e+s|0;f=j[a+24>>2];c=b;b=h;continue}break}j[a+20>>2]=h}}function Cw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];q=(j[a+4>>2]<<16)/(f|0)|0;r=(j[a+8>>2]<<16)/(b|0)|0;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&2;x=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){l=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;l=((d>>>16|0)+l|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(l<<2)|0;c=(c-(d&-65536)|0)-65536|0}i=j[o>>2];h=i&255;m=i>>>8&255;d=i>>>16&255;if(x){h=(p(h,t)>>>0)/255|0;m=(p(m,u)>>>0)/255|0;d=(p(d,v)>>>0)/255|0}h=m<<8|h|d<<16;d=i>>>24|0;j[b>>2]=h|(w?(p(d,s)>>>0)/255|0:d)<<24;b=b+4|0;c=c+q|0;f=f-1|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+r|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function BG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0;c=oe-336|0;oe=c;j[c+332>>2]=0;k=j[a+100>>2];qe[j[b+60>>2]](b,c+272|0,4,c+268|0);g=j[c+268>>2];a:{if((g|0)<0){d=162;break a}d=3;if(!g|(g|0)>4){break a}l=j[b+8>>2];m=j[b>>2];d=hk(a,0,g);j[c+332>>2]=d;if(d){break a}if(j[c+268>>2]>=1){n=j[a+528>>2];a=0;while(1){d=p(a,12);e=d+(c+272|0)|0;j[b>>2]=j[e>>2];j[b+8>>2]=j[e+4>>2];qe[j[b+60>>2]](b,c+16|0,20,c+12|0);g=j[c+12>>2];if(g-1>>>0>=20){d=3;break a}e=d+n|0;i=xe(k,4,0,g<<1,0,c+332|0);j[e+92>>2]=i;d=j[c+332>>2];if(d){break a}g=e;f=j[c+12>>2];h[e+88|0]=f;j[e+96>>2]=i+(f<<2);d=0;if((f|0)>=1){while(1){f=(c+16|0)+p(d,12)|0;j[b>>2]=j[f>>2]+1;j[b+8>>2]=j[f+4>>2]-1;f=qe[j[b+36>>2]](b)|0;i=d<<2;j[i+j[g+92>>2]>>2]=f;f=qe[j[b+40>>2]](b,0)|0;j[i+j[e+96>>2]>>2]=f;d=d+1|0;if((d|0)>2]){continue}break}}a=a+1|0;if((a|0)>2]){continue}break}e=j[c+332>>2]}j[b+8>>2]=l;j[b>>2]=m;d=e}j[b+12>>2]=d;oe=c+336|0}function Zu(a,b){var c=0,d=0,e=0;c=oe+ -64|0;oe=c;a:{b:{if(b){j[c+56>>2]=j[b+16>>2];d=j[b+12>>2];j[c+48>>2]=j[b+8>>2];j[c+52>>2]=d;d=j[b+4>>2];b=j[b>>2];j[c+40>>2]=b;j[c+44>>2]=d;if(!b){j[c+40>>2]=j[a+36>>2]}if(!j[c+44>>2]){j[c+44>>2]=j[a+40>>2]}if(!j[c+48>>2]){j[c+48>>2]=j[a+44>>2]}if(!j[c+52>>2]){j[c+52>>2]=j[a+48>>2]}if(cn(a,c+40|0,c+40|0)){break b}a=j[c+48>>2];j[c>>2]=j[c+44>>2];j[c+4>>2]=a;e=ve(57821,c);break a}j[c+56>>2]=j[a+32>>2];b=j[a+28>>2];j[c+48>>2]=j[a+24>>2];j[c+52>>2]=b;b=j[a+20>>2];j[c+40>>2]=j[a+16>>2];j[c+44>>2]=b}j[c+32>>2]=j[a+52>>2];b=j[a+48>>2];j[c+24>>2]=j[a+44>>2];j[c+28>>2]=b;b=j[a+40>>2];j[c+16>>2]=j[a+36>>2];j[c+20>>2]=b;if(wf(c+40|0,c+16|0,20)){d=j[67085];b=j[d+32>>2];if(!b){e=ve(57858,0);break a}e=-1;if((qe[b|0](d,a,c+40|0)|0)<0){break a}b=j[c+44>>2];a=a+36|0;j[a>>2]=j[c+40>>2];j[a+4>>2]=b;j[a+16>>2]=j[c+56>>2];b=j[c+52>>2];j[a+8>>2]=j[c+48>>2];j[a+12>>2]=b}e=0}b=e;oe=c- -64|0;return b}function zI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=oe-16|0;oe=f;d=6;a:{if(m[a+736>>2]<=b>>>0){break a}d=2;b:{c:{switch(j[a+732>>2]-1|0){case 0:case 1:a=j[a+724>>2]+p(b,48)|0;i[c>>1]=k[a+52|0];i[c+2>>1]=k[a+53|0];b=h[a+24|0]<<6;j[c+12>>2]=b;d=h[a+25|0]<<6;j[c+16>>2]=d;j[c+20>>2]=b-d;j[c+24>>2]=h[a+31|0]+(k[a+26|0]+h[a+30|0]|0)<<6;break b;case 2:break c;default:break a}}b=j[a+724>>2]+(b<<2)|0;e=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);b=j[a+104>>2];d=qe[j[a+508>>2]](a,1935829368,b,f+12|0)|0;if(d){break a}d=3;e=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(m[f+12>>2]>>0){break a}d=Fe(b,e+j[b+8>>2]|0);if(d){break a}d=_e(b,4);if(d){break a}d=af(b);af(b);Ve(b);b=l[a+178>>1];i[c+2>>1]=d;i[c>>1]=d;d=d<<6;e=i[a+220>>1];j[c+12>>2]=(p(d,e)|0)/(b|0);g=i[a+222>>1];j[c+16>>2]=(p(d,g)|0)/(b|0);j[c+20>>2]=(p(d,i[a+224>>1]+(e-g|0)|0)|0)/(b|0);j[c+24>>2]=(p(d,l[a+226>>1])>>>0)/(b>>>0)}d=0}oe=f+16|0;return d|0}function NJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0;if(m[b+160>>2]>>0){Pe(b,8)}c=k[a+3|0]|k[a+2|0]<<8;i=c+a|0;if(!(m[b+160>>2]>=i>>>0?c>>>0>=518:0)){Pe(b,8)}c=a+6|0;while(1){d=k[c+1|0];f=d|k[c|0]<<8;if(!(!(d&7)|m[b+164>>2]<2)){Pe(b,8)}c=c+2|0;d=f>>>3|0;g=d>>>0>g>>>0?d:g;e=e+1|0;if((e|0)!=256){continue}break}c=a+518|0;l=(c+(g<<3)|0)+8|0;if(l>>>0>m[b+160>>2]){Pe(b,8)}a=0;while(1){d=c+8|0;f=k[c+3|0]|k[c+2|0]<<8;a:{if(!f){c=d;break a}e=k[c+7|0]|k[c+6|0]<<8;n=k[c+4|0];o=k[c+5|0];h=k[c|0];p=k[c+1|0];b:{if(m[b+164>>2]<2){break b}h=h<<8|p;if(f+h>>>0<257?h>>>0<=255:0){break b}Pe(b,8)}if(!e){c=d;break a}e=e+(c+6|0)|0;if(!(e+(f<<1)>>>0<=i>>>0?e>>>0>=l>>>0:0)){Pe(b,9)}if(!j[b+164>>2]){c=d;break a}e=n<<8|o;f=((f<<1)+c|0)+8|0;c=d;while(1){d=c;c=c+2|0;d=k[d+1|0]|k[d|0]<<8;if(!(!d|m[b+172>>2]>(d+e&65535)>>>0)){Pe(b,16)}if(c>>>0>>0){continue}break}}a=a+1|0;if(g>>>0>=a>>>0){continue}break}return 0}function lh(a){var b=0,c=0,d=0;if(!(j[a>>2]==268306?a:0)){ve(31970,0);return}b=j[a+36>>2];a:{if(j[b+316>>2]==(a|0)){bl(b,0);break a}if(j[a+72>>2]!=j[b+352>>2]){break a}c=j[b+340>>2];if(!c){break a}qe[j[b+48>>2]](b,c,j[b+408>>2],j[b+412>>2])|0;c=b+420|0;while(1){d=c;c=j[c+8>>2];if(c){continue}break}j[d+8>>2]=j[b+432>>2];j[b+432>>2]=j[b+428>>2];j[b+428>>2]=0;c=j[b+344>>2];if(c){j[c+24>>2]=j[b+348>>2];j[b+344>>2]=0;j[b+348>>2]=j[b+340>>2];j[b+340>>2]=0}j[b+412>>2]=0;j[b+404>>2]=0;j[b+396>>2]=0;j[b+400>>2]=0;j[b+352>>2]=j[b+352>>2]+1}j[a>>2]=0;c=j[a+84>>2];if(c){j[c+80>>2]=j[a+80>>2]}d=j[a+80>>2];j[(d?d+84|0:b+312|0)>>2]=c;c=j[a+40>>2];if(c){lh(c)}c=j[a+44>>2];if(c){if(c){d=j[c+16>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}kf(j[c+40>>2]);kf(j[c+44>>2]);if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}}c=j[a+48>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}qe[j[b+80>>2]](b,a);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function NO(a,b,c){var d=0,e=0,f=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{b:{if(!(e&4)){f=e&2;e=k[a+435|0];if(f|(e|0)!=3){break b}}Ie(a,c);Je(a,5774);break a}if(!(!b|!(k[b+8|0]&32))){Ie(a,c);Je(a,5808);break a}if((((e|0)==3?1:e&2?6:2)|0)!=(c|0)){Ie(a,c);Je(a,5787);break a}pf(a,d+10|0,c);tf(a,d+10|0,c);if(Ie(a,0)){break a}e=k[a+435|0];c:{if((e|0)==3){c=k[d+10|0];h[d|0]=c;d:{e:{if(!b){break e}e=l[b+20>>1];if(!e){break e}if(c>>>0>=e>>>0){Je(a,6187);break a}c=j[a+416>>2]+p(c,3)|0;i[d+2>>1]=k[c|0];i[d+4>>1]=k[c+1|0];i[d+6>>1]=k[c+2|0];break d}i[d+6>>1]=0;i[d+2>>1]=0;i[d+4>>1]=0}i[d+8>>1]=0;break c}h[d|0]=0;c=k[d+10|0]|k[d+11|0]<<8;c=(c<<24|c<<8&16711680)>>>16|0;if(!(e&2)){i[d+6>>1]=c;i[d+8>>1]=c;i[d+4>>1]=c;i[d+2>>1]=c;break c}i[d+2>>1]=c;i[d+8>>1]=0;c=k[d+12|0]|k[d+13|0]<<8;i[d+4>>1]=(c<<24|c<<8&16711680)>>>16;c=k[d+14|0]|k[d+15|0]<<8;i[d+6>>1]=(c<<24|c<<8&16711680)>>>16}bw(a,b,d)}oe=d+16|0;return}hf(a,5795);z()}function DM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=0,o=0;a:{b:{c:{e=j[a+28>>2];if(!k[e+64|0]){g=j[b+4>>2];o=j[b>>2];h[e+64|0]=1;c=j[e+20>>2];d:{if(k[e+65|0]){d=j[e+12>>2];if((i[d+20>>1]+i[d+56>>1]|0)+1>>>0>m[d+8>>2]){d=yf(d,0,1);if(d){break c}}f=l[c>>1];d=f<<16>>16;if((d|0)<1){break d}i[(j[c+12>>2]+(f<<1)|0)-2>>1]=l[c+2>>1]-1}d=l[c>>1]}i[c>>1]=d+1;c=j[e+12>>2];if((i[c+22>>1]+i[c+58>>1]|0)+1>>>0>m[c+4>>2]){d=yf(c,1,0);if(d){break c}}c=j[e+20>>2];if(k[e+65|0]){d=j[c+8>>2];f=i[c+2>>1];n=j[c+4>>2]+(f<<3)|0;j[n+4>>2]=g>>10;j[n>>2]=o>>10;h[d+f|0]=1}i[c+2>>1]=l[c+2>>1]+1}c=j[b+12>>2];d=j[b+8>>2];b=j[e+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+1>>>0>m[b+4>>2]){b=yf(b,1,0);if(b){break b}}a=j[e+20>>2];if(k[e+65|0]){b=j[a+8>>2];e=i[a+2>>1];g=j[a+4>>2]+(e<<3)|0;j[g+4>>2]=c>>10;j[g>>2]=d>>10;h[b+e|0]=1}i[a+2>>1]=l[a+2>>1]+1;return}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=d;return}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=b}}function ED(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0;g=oe-32|0;oe=g;f=d&2147483647;h=f;e=f-1065418752|0;i=f-1082064896|0;f=c;a:{if((e|0)==(i|0)&f>>>0>>0|e>>>0>>0){h=(d&33554431)<<7|c>>>25;f=0;k=f;i=c&33554431;if(!(!f&(i|0)==16777216?!(a|b):!f&i>>>0<16777216)){e=h+1073741825|0;break a}e=h+1073741824|0;if(i^16777216|a|(b|k)){break a}e=(e&1)+e|0;break a}if(!(!f&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){e=((d&33554431)<<7|c>>>25)&4194303|2143289344;break a}e=2139095040;if(h>>>0>1082064895){break a}e=0;f=h>>>16|0;if(f>>>0<16145){break a}h=c;e=d&65535|65536;Nf(g+16|0,a,b,h,e,f-16129|0);mi(g,a,b,h,e,16257-f|0);b=j[g+8>>2];e=(j[g+12>>2]&33554431)<<7|b>>>25;h=j[g+4>>2];f=h;a=0;i=a;k=j[g>>2]|((j[g+16>>2]|j[g+24>>2])!=0|(j[g+20>>2]|j[g+28>>2])!=0);b=b&33554431;if(!(!a&(b|0)==16777216?!(f|k):!a&b>>>0<16777216)){e=e+1|0;break a}if(b^16777216|k|(f|i)){break a}e=(e&1)+e|0}oe=g+32|0;return pP(2,d&-2147483648|e),sP()}function tL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0;g=oe-16|0;oe=g;j[g+12>>2]=0;m=j[c>>2];d=He(m,24,g+12|0);e=j[g+12>>2];a:{if(e){break a}b:{e=a+4|0;if(e>>>0>b>>>0){break b}l=k[a|0];h[d+4|0]=l;f=k[a+1|0]|k[a+2|0]<<8;i[d+6>>1]=(f<<24|f<<8&16711680)>>>16;f=k[a+3|0];h[d+5|0]=f;o=j[c+148>>2];q=j[c+4>>2];n=f&1;f=(f>>>1&1)+(n?5:3)|0;j[d+8>>2]=f;j[d+12>>2]=(e+q|0)-o;if(e+p(f,l)>>>0>b>>>0){break b}if(l){c:{if(n){a=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);j[d+16>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=e+p(f,l-1|0)|0;a=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break c}j[d+16>>2]=k[a+5|0]|k[a+4|0]<<16;a=e+p(f,l-1|0)|0;a=k[a|0]<<16|k[a+1|0]}e=0;j[d>>2]=0;j[d+20>>2]=a;j[j[c+140>>2]>>2]=d;j[c+140>>2]=d;j[c+132>>2]=j[c+132>>2]+l;break a}if(d){qe[j[m+8>>2]](m,d)}e=j[g+12>>2];break a}if(d){qe[j[m+8>>2]](m,d)}e=8}oe=g+16|0;return e|0}function uG(a){a=a|0;var b=0,c=0;if(a){c=j[a+100>>2];b=j[a+500>>2];if(b){Yr(b)}b=j[a+132>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+136>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0;b=j[a+144>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+144>>2]=0;b=j[a+148>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+148>>2]=0;b=j[a+428>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+428>>2]=0;b=j[a+424>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+424>>2]=0;b=j[a+420>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+420>>2]=0;b=j[a+396>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+396>>2]=0;b=j[a+400>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+400>>2]=0;b=j[a+384>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+384>>2]=0;b=j[a+388>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+388>>2]=0;b=j[a+364>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+364>>2]=0;b=j[a+492>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+492>>2]=0;b=j[a+556>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+552>>2]=0;j[a+556>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0}}function Ch(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=oe-32|0;oe=d;b=j[67085];a:{if(!b){ve(57733,0);b=-1;break a}if(!(j[a>>2]==(b+316|0)?a:0)){ve(56433,0);b=-1;break a}f=j[a+16>>2];c=f&-65536;if(!((c|0)!=536805376?(c|0)!=805240832:0)){a=f&65535;b=(a|0)>2]?a:0;break a}c=j[a+20>>2];e=c&-65536;if(!((e|0)==536805376|(e|0)==805240832)){e=j[b+300>>2];g=(e|0)<1;if(!g){h=j[b+304>>2];b=0;while(1){if(j[(p(b,72)+h|0)+60>>2]==(a|0)){break a}b=b+1|0;if((e|0)>(b|0)){continue}break}}j[d+24>>2]=f+(j[a+24>>2]/2|0);j[d+28>>2]=c+(j[a+28>>2]/2|0);b=-1;if(!g){f=2147483647;a=0;while(1){Gk(a,d+8|0);if(nv(d+24|0,d+8|0)){b=a;break a}c=(j[d+28>>2]-j[d+12>>2]|0)+(j[d+20>>2]/-2|0)|0;e=p(c,c);c=(j[d+24>>2]-j[d+8>>2]|0)+(j[d+16>>2]/-2|0)|0;e=e+p(c,c)|0;c=(e|0)<(f|0);f=c?e:f;b=c?a:b;a=a+1|0;if((a|0)>2]){continue}break}if((b|0)>-1){break a}}ve(56448,0);break a}a=c&65535;b=(a|0)>2]?a:0}oe=d+32|0;return b}function Oh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=0;Qf(a,j[a+8>>2]);c=j[a>>2];j[d+12>>2]=c;f=j[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=k[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}j[b>>2]=c;j[b+8>>2]=2;if(im(d+12|0,f)){break e}break d}j[b>>2]=c;j[b+8>>2]=3;if(!fr(d+12|0,f)){break d}break e}j[b>>2]=c;j[b+8>>2]=3;j[a>>2]=c+1;Qf(a,f);c=j[a>>2];j[d+12>>2]=c;if(c>>>0>=f>>>0){break e}e=1;while(1){if(!j[a+12>>2]){h:{i:{switch(k[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break h}c=c+1|0;j[d+12>>2]=c;j[b+4>>2]=c;break a;case 0:break i;default:break h}}e=e+1|0}jm(a);Qf(a,j[a+8>>2]);c=j[a>>2];if(f>>>0>c>>>0){continue}}break}j[d+12>>2]=c;break e}j[b>>2]=c;j[b+8>>2]=k[c|0]==47?4:1;jm(a);c=j[a>>2];j[d+12>>2]=c;if(!j[a+12>>2]){break c}}c=j[b+4>>2];break b}c=j[d+12>>2]}j[b+4>>2]=c}if(c){break a}j[b+8>>2]=0;j[b>>2]=0}j[a>>2]=j[d+12>>2]}oe=d+16|0}function Eq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=j[a+16>>2];g=k[e+6|0]<<8|k[e+7|0]&254;a:{if(!g){break a}f=j[b>>2]+((c|0)!=0)|0;if(f>>>0>65535){break a}d=g>>>1|0;p=d>>>0>1?d:1;q=d-1|0;r=e+14|0;s=(e+g|0)+16|0;b:{while(1){m=0;h=s;d=r;c:{while(1){d:{e=d+2|0;e:{o=k[d+1|0]|k[d|0]<<8;if(o>>>0>>0){d=e;break e}d=e;n=k[h+1|0]|k[h|0]<<8;if(n>>>0>f>>>0){break e}i=h+g|0;d=i+g|0;l=k[d|0]<<8|k[d+1|0];f:{g:{h:{if((o|0)!=65535|m>>>0>>0|(n|0)!=65535){break h}if(!l){break g}e=j[a>>2];if((d+l|0)+2>>>0<=j[e+500>>2]+j[e+504>>2]>>>0){break h}d=1;break f}if((l|0)==65535){break e}if(!l){break g}d=((f-n<<1)+l|0)+d|0;d=k[d|0]<<8|k[d+1|0];if(!d){break d}d=d+(k[i+1|0]|k[i|0]<<8)&65535;break c}d=k[i+1|0]|k[i|0]<<8}d=d+f&65535;break c}h=h+2|0;m=m+1|0;if((p|0)!=(m|0)){continue}}break}d=0}if(d|!c){break b}f=f+1|0;if((f|0)!=65536){continue}break}return 0}if(!c|!d){break a}j[b>>2]=f}return d}function yq(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;e=j[a+16>>2];d=k[e+12|0]|k[e+13|0]<<8|(k[e+14|0]<<16|k[e+15|0]<<24);m=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!m){return 0}q=e+20|0;i=j[b>>2]+((c|0)!=0)|0;d=m;a:{b:{while(1){g=d+n>>>1|0;l=p(g,12)+q|0;f=l;e=k[f|0]|k[f+1|0]<<8|(k[f+2|0]<<16|k[f+3|0]<<24);o=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=g;f=f-4|0;f=k[f|0]|k[f+1|0]<<8|(k[f+2|0]<<16|k[f+3|0]<<24);if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0<=i>>>0){if(i>>>0<=o>>>0){break b}n=g+1|0}else{d=e}if(d>>>0>n>>>0){continue}break}d=0;break a}d=k[l+4|0]|k[l+5|0]<<8|(k[l+6|0]<<16|k[l+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(!c){return d}c:{if(i>>>0>o>>>0){e=0;g=g+1|0;if((m|0)==(g|0)){break c}}h[a+24|0]=1;j[a+36>>2]=g;j[a+28>>2]=i;d:{if(!d){xq(a);e=0;if(!k[a+24|0]){break c}c=j[a+32>>2];if(!c){break c}i=j[a+28>>2];break d}j[a+32>>2]=d;c=d}e=c;j[b>>2]=i}return e}function ir(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;d=3;f=j[b+188>>2];a:{if(!f){break a}g=j[b+192>>2];while(1){if(j[g+(h<<4)>>2]==(c|0)){d=83;c=j[(g+(h<<4)|0)+12>>2];h=j[a+8>>2];if(c>>>0>>0){break a}if(xf(a,c-h|0)){break a}j[e+12>>2]=0;c=Zf(a,e+12|0);d=j[e+12>>2];if(d){break a}i=c&-256;if((i|256)==256){d=b+196|0;f=e;g=a;b:{if(c&4){d=$e(a,91008,d);j[e+12>>2]=d;if(d){break a}c=91136;break b}d=$e(a,91072,d);j[e+12>>2]=d;if(d){break a}c=91168}h=b+216|0;d=$e(g,c,h);j[f+12>>2]=d;if(d){break a}f=b+232|0;d=$e(a,c,f);j[e+12>>2]=d;if(d){break a}g=b+248|0;if((i|0)==256){d=$e(a,c,g);j[e+12>>2]=d;if(d){break a}d=$e(a,c,b+264|0);break a}a=h;c=j[a+4>>2];j[g>>2]=j[a>>2];j[g+4>>2]=c;c=j[a+12>>2];j[g+8>>2]=j[a+8>>2];j[g+12>>2]=c;a=j[f+12>>2];j[b+272>>2]=j[f+8>>2];j[b+276>>2]=a;a=j[f+4>>2];j[b+264>>2]=j[f>>2];j[b+268>>2]=a}d=0;break a}h=h+1|0;if((f|0)!=(h|0)){continue}break}}oe=e+16|0;return d}function Tw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(b|0)|0;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&2?k[a+63|0]<<24:-16777216;v=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;m=((d>>>16|0)+m|0)+1|0}if(f){h=-1;c=65536;n=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;c=(c-(d&-65536)|0)-65536|0}f=f-1|0;d=j[n>>2];i=d&255;l=d>>>8&255;d=d>>>16&255;w=b;if(v){l=(p(l,s)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;d=(p(d,r)>>>0)/255|0}j[w>>2]=l<<8|u|d|i<<16;b=b+4|0;c=c+o|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+q|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function PO(a,b,c){var d=0,e=0;d=oe-256|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&4){Ie(a,c);Je(a,5774);break a}if(!(!b|!(k[b+8|0]&16))){Ie(a,c);Je(a,5808);break a}b:{c:{d:{switch(k[a+435|0]){case 0:if((c|0)==2){pf(a,d,2);tf(a,d,2);i[a+428>>1]=1;c=k[d|0]|k[d+1|0]<<8;i[a+540>>1]=(c<<24|c<<8&16711680)>>>16;break b}Ie(a,c);Je(a,5787);break a;case 2:if((c|0)==6){pf(a,d,6);tf(a,d,6);i[a+428>>1]=1;c=k[d|0]|k[d+1|0]<<8;i[a+534>>1]=(c<<24|c<<8&16711680)>>>16;c=k[d+2|0]|k[d+3|0]<<8;i[a+536>>1]=(c<<24|c<<8&16711680)>>>16;c=k[d+4|0]|k[d+5|0]<<8;i[a+538>>1]=(c<<24|c<<8&16711680)>>>16;break b}Ie(a,c);Je(a,5787);break a;case 3:if(!(e&2)){Ie(a,c);Je(a,5774);break a}if(l[a+420>>1]>c-1>>>0?c>>>0<=256:0){break c}Ie(a,c);Je(a,5787);break a;default:break d}}Ie(a,c);Je(a,6160);break a}pf(a,d,c);tf(a,d,c);i[a+428>>1]=c}if(Ie(a,0)){i[a+428>>1]=0;break a}Qu(a,b,d,l[a+428>>1],a+532|0)}oe=d+256|0;return}hf(a,5795);z()}function vI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0,n=0,o=0,q=0;n=3;a:{if((d|0)<0){break a}f=j[a+8>>2];g=j[a+12>>2];i=l[g>>1];if((e|0)<0|m[f>>2]>>0){break a}g=l[g+2>>1];if(m[f+4>>2]>>0){break a}g=p(g,k[a+18|0]);if(p(g+7>>>3|0,i)+b>>>0>c>>>0){break a}o=j[f+8>>2];c=j[f+12>>2]+(p(o,e)+(d>>>3|0)|0)|0;f=d&7;if(f){if(i){n=g>>>0<8;while(1){e=0;a=g;d=c;if(!n){while(1){e=k[b|0]|e;h[d|0]=k[d|0]|e>>>f;d=d+1|0;b=b+1|0;e=e<<8;q=(a|0)>15;a=a-8|0;if(q){continue}break}}if((a|0)>=1){e=k[b|0]&65280>>>a|e;b=b+1|0}h[d|0]=k[d|0]|e>>>f;if((a+f|0)>=9){h[d+1|0]=k[d+1|0]|e<<8>>>f}c=c+o|0;a=(i|0)>1;i=i-1|0;if(a){continue}break}}return 0}n=0;if(!i){break a}e=g>>>0<8;while(1){a=g;d=c;if(!e){while(1){h[d|0]=k[b|0]|k[d|0];d=d+1|0;b=b+1|0;f=(a|0)>15;a=a-8|0;if(f){continue}break}}if((a|0)>=1){h[d|0]=k[d|0]|k[b|0]&65280>>>a;b=b+1|0}c=c+o|0;a=(i|0)>1;i=i-1|0;if(a){continue}break}}return n|0}function lx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){c=j[a+52>>2]&112;o=c-16|0;q=(c|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];e=i;while(1){r=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;b=j[h>>2];n=b>>>24|0;c=b&255;f=j[e>>2];l=f&255;d=b>>>8&255;b=b>>>16&255;m=f>>>8&255;f=f>>>16&255;a:{b:{switch(o|0){default:if(!q){break a}c=(p(c,l)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,f)>>>0)/255|0;break a;case 0:n=255;b=f;d=m;c=l;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;d=d+m|0;d=d>>>0<255?d:255;b=b+f|0;b=b>>>0<255?b:255}j[h>>2]=d<<8|b<<16|c|n<<24;h=h+4|0;e=e+4|0;if(k){continue}break}e=j[a+28>>2]}else{e=b}c=e;b=c-1|0;j[r+28>>2]=b;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;e=i;if(c){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function ai(a,b,c,d,e,f){var g=0,h=0,i=0;if(!(!a|(a&-268435456)==268435456)){ve(55296,0);return 0}j[b>>2]=(a&255)>>>0<3?a>>>8&255:a<<3&2040;j[f>>2]=0;j[e>>2]=0;j[d>>2]=0;j[c>>2]=0;a:{b:{if((a|0)!=390076419){if((a|0)!=386930691){break b}j[c>>2]=255;j[d>>2]=65280;j[e>>2]=16711680;break a}j[c>>2]=16711680;j[d>>2]=65280;j[e>>2]=255;break a}if((a>>>24&15)-4>>>0<=2){b=(a>>>16&15)-1|0;if(b>>>0>=8){ve(55335,0);return 0}g=b<<2;b=j[g+55624>>2];h=j[g+55592>>2];i=j[g+55560>>2];g=j[g+55528>>2];c:{switch((a>>>20&15)-1|0){case 1:j[c>>2]=b;j[d>>2]=h;j[e>>2]=i;break a;case 2:j[f>>2]=b;case 0:j[c>>2]=h;j[d>>2]=i;j[e>>2]=g;break a;case 3:j[c>>2]=b;j[d>>2]=h;j[e>>2]=i;j[f>>2]=g;break a;case 5:j[e>>2]=b;j[d>>2]=h;j[c>>2]=i;break a;case 7:j[e>>2]=b;j[d>>2]=h;j[c>>2]=i;j[f>>2]=g;break a;case 6:j[f>>2]=b;case 4:j[e>>2]=h;j[d>>2]=i;j[c>>2]=g;break a;default:break c}}ve(55335,0);a=0}else{a=1}return a}return 1}function Ww(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){c=j[a+52>>2]&112;o=c-16|0;q=(c|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];e=i;while(1){r=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;b=j[h>>2];n=b>>>24|0;c=b&255;f=j[e>>2];l=f&255;d=b>>>8&255;b=b>>>16&255;m=f>>>8&255;f=f>>>16&255;a:{b:{switch(o|0){default:if(!q){break a}c=(p(c,f)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,l)>>>0)/255|0;break a;case 0:n=255;b=l;d=m;c=f;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+f|0;c=c>>>0<255?c:255;d=d+m|0;d=d>>>0<255?d:255;b=b+l|0;b=b>>>0<255?b:255}j[h>>2]=d<<8|b<<16|c|n<<24;h=h+4|0;e=e+4|0;if(k){continue}break}e=j[a+28>>2]}else{e=b}c=e;b=c-1|0;j[r+28>>2]=b;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;e=i;if(c){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Jx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{d=j[a+28>>2];if(!d){break a}f=j[a+36>>2];g=j[a+16>>2];c=j[a+24>>2];h=c&7;i=(c+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];b:while(1){e=i;c:{d:{switch(h-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=1;continue;case 1:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=2;continue;case 2:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=3;continue;case 3:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=4;continue;case 4:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=5;continue;case 5:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=6;continue;case 6:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=7;continue;default:break e}}c=d-1|0;j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;f:{if((e|0)>1){e=e-1|0;break f}a=a+f|0;b=b+g|0;d=c;if(c){continue b}break a}c=0;continue}}}}function ik(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=oe-16|0;oe=f;d=j[a+4>>2];g=j[j[d+128>>2]+48>>2];e=j[d+440>>2];j[a+1376>>2]=j[d+436>>2];j[a+1380>>2]=e;h=j[d+448>>2];e=a+1384|0;j[e>>2]=j[d+444>>2];j[e+4>>2]=h;e=j[d+456>>2];j[a+1392>>2]=j[d+452>>2];j[a+1396>>2]=e;a:{b:{if(!g){h=b<<2;e=j[h+j[d+424>>2]>>2];j[c>>2]=e;d=j[j[d+428>>2]+h>>2];j[c+4>>2]=d;break b}d=qe[j[j[g>>2]>>2]](j[g+4>>2],b,c)|0;if(d){break a}d=j[c+4>>2];e=j[c>>2]}d=qe[j[a+1484>>2]](a,e,d)|0;if(d|!g){break a}if(!j[j[g>>2]+8>>2]){d=0;break a}c=j[a+32>>2];d=c+32768&-65536;if((c|0)<0){d=0-(32768-c&-65536)|0}j[f+4>>2]=0;j[f>>2]=d>>16;c=f;d=j[a+40>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}j[c+8>>2]=e>>16;d=j[a+44>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}j[c+12>>2]=e>>16;d=qe[j[j[g>>2]+8>>2]](j[g+4>>2],b,0,f)|0;j[a+32>>2]=j[f>>2]<<16;j[a+40>>2]=j[f+8>>2]<<16;j[a+44>>2]=j[f+12>>2]<<16}oe=f+16|0;return d}function Wt(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;d=oe-16|0;oe=d;a:{b:{c:{f=j[a+208>>2];if(!(f&1)){if((c|0)!=13){break c}j[a+208>>2]=f|1;pf(a,d+3|0,13);tf(a,d+3|0,13);Ie(a,0);c=k[d+3|0]|k[d+4|0]<<8|(k[d+5|0]<<16|k[d+6|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((f|0)<=-1){break b}c=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((g|0)<=-1){break a}m=k[d+15|0];i=k[d+12|0];n=k[d+14|0];o=k[d+13|0];l=k[d+11|0];h[a+436|0]=l;j[a+352>>2]=g;j[a+348>>2]=f;h[a+744|0]=o;h[a+712|0]=n;h[a+435|0]=i;h[a+432|0]=m;c=1;e=i-2|0;if((e&255)>>>0<=4){e=(e&255)<<3;c=e&31;c=(e&63)>>>0>=32?4>>>c|0:((1<>>c}h[a+439|0]=c;e=p(c,l);h[a+438|0]=e;c=a;e=e&255;d:{if(e>>>0>=8){e=p(f,e>>>3|0);break d}e=p(e,f)+7>>>3|0}j[c+364>>2]=e;Hv(a,b,f,g,l,i,m,o,n);oe=d+16|0;return}hf(a,5774);z()}hf(a,5787);z()}Ye(a,5676);z()}Ye(a,5676);z()}function NF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;f=j[a+840>>2];df(b,j[a>>2],5);a:{if(j[a>>2]<1){break a}g=a+4|0;e=-1;while(1){c=g+(d<<2)|0;df(b,j[c>>2],4);c=j[c>>2];e=(c|0)>(e|0)?c:e;d=d+1|0;if((d|0)>2]){continue}break}c=0;if((e|0)<0){break a}i=a+320|0;k=a+256|0;l=a+192|0;g=a+128|0;while(1){d=c<<2;df(b,j[d+g>>2]-1|0,3);h=d+l|0;df(b,j[h>>2],2);b:{if(j[h>>2]){df(b,j[d+k>>2],8);if(j[h>>2]==31){break b}}d=0;while(1){df(b,j[(i+(c<<5)|0)+(d<<2)>>2]+1|0,8);d=d+1|0;if((d|0)<1<>2]){continue}break}}d=(c|0)!=(e|0);c=c+1|0;if(d){continue}break}}df(b,j[a+832>>2]-1|0,2);c=f-1|0;df(b,c?32-s(c)|0:0,4);i=c?32-s(c)|0:0;f=j[a>>2];if((f|0)>=1){k=a+836|0;l=a+4|0;g=a+128|0;e=0;d=0;c=0;while(1){c=j[g+(j[l+(e<<2)>>2]<<2)>>2]+c|0;if((c|0)>(d|0)){while(1){df(b,j[(k+(d<<2)|0)+8>>2],i);d=d+1|0;if((c|0)!=(d|0)){continue}break}f=j[a>>2];d=c}e=e+1|0;if((f|0)>(e|0)){continue}break}}}function ix(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(b|0)|0;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&2?k[a+63|0]<<24:-16777216;v=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;m=((d>>>16|0)+m|0)+1|0}if(f){h=-1;c=65536;n=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;c=(c-(d&-65536)|0)-65536|0}f=f-1|0;d=j[n>>2];i=d&255;l=d>>>8&255;d=d>>>16&255;if(v){i=(p(i,r)>>>0)/255|0;l=(p(l,s)>>>0)/255|0;d=(p(d,t)>>>0)/255|0}j[b>>2]=l<<8|u|i|d<<16;b=b+4|0;c=c+o|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+q|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function rO(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0;e=oe-16|0;oe=e;a:{b:{d=j[a+208>>2];if(d&1){if(d&4){Ie(a,c);Je(a,5774);break a}if(!(!b|!(k[b+9|0]&64))){Ie(a,c);Je(a,5808);break a}if(c>>>0<=3){Ie(a,c);Je(a,5787);break a}f=c+1|0;d=j[a+788>>2];c:{if(d){if(f>>>0<=m[a+792>>2]){break c}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,d)}d=$f(a,f);if(!d){break b}j[a+792>>2]=f;j[a+788>>2]=d}pf(a,d,c);tf(a,d,c);h[c+d|0]=0;if(Ie(a,0)){break a}if((k[d|0]-1&255)>>>0>=2){Je(a,6265);break a}j[e+8>>2]=0;j[e+12>>2]=1;d:{e:{if(!Wk(d,c,e+8|0,e+12|0)){break e}f=j[e+12>>2];if(f>>>0>=c>>>0){break e}g=f+1|0;j[e+12>>2]=g;if(!k[d+f|0]){break d}}Je(a,6278);break a}if((j[e+8>>2]&392)!=264){Je(a,6295);break a}j[e+8>>2]=0;if(!(i=Wk(d,c,e+8|0,e+12|0),l=0,n=j[e+12>>2]==(c|0),n?i:l)){Je(a,6314);break a}if((j[e+8>>2]&392)!=264){Je(a,6332);break a}ov(a,b,k[d|0],d+1|0,d+g|0);break a}hf(a,5795);z()}Je(a,5965);Ie(a,c)}oe=e+16|0}function On(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;b=h^255;c=j[58747];i[d>>1]=((p(b,k[j[58746]+(a>>>5&63)|0])>>>0)/255|0)+f<<3&8160|((p(b,k[c+(a>>>11|0)|0])>>>0)/255|0)+e<<8&63488|((p(b,k[c+(a&31)|0])>>>0)/255|0)+g>>>3;return 0;case 1:c=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[c>>1];b=k[j[58746]+(a>>>5&63)|0]+f|0;d=c;f=(b>>>0<255?b:255)<<3&4064;b=j[58747];c=k[b+(a>>>11|0)|0]+e|0;a=k[b+(a&31)|0]+g|0;i[d>>1]=f|(c>>>0<255?c:255)<<8&63488|(a>>>0<255?a:255)>>>3;return 0;case 3:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];c=b;b=j[58747];i[c>>1]=(p(k[j[58746]+(a>>>5&63)|0],f)>>>0)/255<<3&4064|(p(k[b+(a>>>11|0)|0],e)>>>0)/255<<8&63488|(p(k[b+(a&31)|0],g)>>>0)/255>>>3;return 0;default:break a}}i[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=f<<3&2016|e<<8&63488|g>>>3;return 0}function qJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=a+16|0;if(d>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!((c-16>>>0)/12>>>0>=h>>>0?!(c>>>0<16|c>>>0>j[b+160>>2]-a>>>0):0)){Pe(b,8)}if(h){c=0;a=0;while(1){f=c;g=k[d+8|0]|k[d+9|0]<<8|(k[d+10|0]<<16|k[d+11|0]<<24);c=k[d+4|0]|k[d+5|0]<<8|(k[d+6|0]<<16|k[d+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(c>>>0>>0){Pe(b,8)}if(!(!a|e>>>0>f>>>0)){Pe(b,8)}a:{if(!j[b+164>>2]){break a}f=j[b+172>>2];e=c-e|0;if(f-e>>>0>(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))>>>0?f>>>0>=e>>>0:0){break a}Pe(b,16)}d=d+12|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}return 0}function VH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){b=j[a+532>>2];c=j[a+104>>2];e=j[a+100>>2];d=j[a+660>>2];if(d){qe[d|0](j[a+656>>2])}if(b){qe[j[b+12>>2]](a)}jf(j[a+104>>2],a+700|0);j[a+696>>2]=0;d=j[a+104>>2];b=j[d+28>>2];f=j[a+720>>2];if(f){qe[j[b+8>>2]](b,f)}j[a+720>>2]=0;jf(d,a+704|0);b=e;d=j[a+648>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+644>>2]=0;j[a+648>>2]=0;jf(c,a+632|0);jf(c,a+640|0);j[a+636>>2]=0;j[a+628>>2]=0;c=j[a+676>>2];if(c){d=j[c+4>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+4>>2]=0;b=j[c+8>>2];if(b){qe[j[e+8>>2]](e,b)}j[c+8>>2]=0;b=j[c+20>>2];if(b){if(j[c>>2]){d=0;while(1){f=d<<3;b=j[(f+b|0)+4>>2];if(b){qe[j[e+8>>2]](e,b)}b=j[c+20>>2];j[(f+b|0)+4>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}if(b){qe[j[e+8>>2]](e,b)}j[c+20>>2]=0}b=j[c+28>>2];if(b){qe[j[e+8>>2]](e,b)}j[c+28>>2]=0;b=j[c+36>>2];if(b){qe[j[e+8>>2]](e,b)}j[c+36>>2]=0;if(c){qe[j[e+8>>2]](e,c)}}j[a+676>>2]=0}}function Op(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;d=oe-48|0;oe=d;i=j[a+456>>2];Of(a,d+32|0,-1,-1);a:{if((pe|0)>-1){h=a+120|0;f=-1;while(1){b:{if(k[j[d+32>>2]+5|0]&2){break b}c:{c=j[d+32>>2];if((k[c+14|0]|k[c+15|0]<<8|(k[c+16|0]<<16|k[c+17|0]<<24))!=(i|0)){break c}Ng(h,d+32|0);while(1){c=mg(h,d);if(c){if((c|0)<1){continue}c=Gl(b,d);if((c|0)<0){continue}l=e;e=(f|0)==-1?0:c+f>>2;f=l+e|0;g=(e>>31)+g|0;g=f>>>0>>0?g+1|0:g;e=f;f=c;continue}break}c=j[d+32>>2];if((k[c+6|0]|k[c+7|0]<<8|(k[c+8|0]<<16|k[c+9|0]<<24))==-1&(k[c+10|0]|k[c+11|0]<<8|(k[c+12|0]<<16|k[c+13|0]<<24))==-1){break c}b=j[d+32>>2];f=k[b+6|0]|k[b+7|0]<<8|(k[b+8|0]<<16|k[b+9|0]<<24);a=e;e=f-e|0;g=(k[b+10|0]|k[b+11|0]<<8|(k[b+12|0]<<16|k[b+13|0]<<24))-(g+(a>>>0>f>>>0)|0)|0;break b}Of(a,d+32|0,-1,-1);if((pe|0)>-1){continue}}break}b=(g|0)>0?1:(g|0)>=0?!!e:0;a=b?e:0;b=b?g:0;break a}a=0;b=0}oe=d+48|0;pe=b;return a}function Aq(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;d=j[a+16>>2];f=k[d+12|0]|k[d+13|0]<<8|(k[d+14|0]<<16|k[d+15|0]<<24);m=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(!m){return 0}q=d+20|0;i=j[b>>2]+((c|0)!=0)|0;d=m;a:{b:{while(1){l=d+n>>>1|0;g=p(l,12)+q|0;f=k[g|0]|k[g+1|0]<<8|(k[g+2|0]<<16|k[g+3|0]<<24);o=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=l;e=g-4|0;e=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0<=i>>>0){if(i>>>0<=o>>>0){break b}n=l+1|0}else{d=f}if(d>>>0>n>>>0){continue}break}d=0;break a}d=k[g+7|0]+((((i-e|0)+(k[g+4|0]<<24)|0)+(k[g+5|0]<<16)|0)+(k[g+6|0]<<8)|0)|0}if(!c){return d}c:{if(i>>>0>o>>>0){c=0;l=l+1|0;if((m|0)==(l|0)){break c}}h[a+24|0]=1;j[a+36>>2]=l;j[a+28>>2]=i;d:{if(!d){zq(a);c=0;if(!k[a+24|0]){break c}d=j[a+32>>2];if(!d){break c}i=j[a+28>>2];break d}j[a+32>>2]=d}c=d;j[b>>2]=i}return c}function Vt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=j[b+28>>2];a:{if(c>>>0>222){break a}c=j[(c<<2)+62576>>2];if(!c){break a}b:{c:{switch(j[b>>2]-2|0){case 0:c=(c&-4)==224?c+4|0:c;break b;case 1:break c;default:break b}}d:{switch(c-30|0){case 9:case 43:c=98;break b;case 0:case 47:c=89;break b;case 1:case 51:c=90;break b;case 2:case 48:c=91;break b;case 3:case 50:c=92;break b;case 4:c=93;break b;case 5:case 49:c=94;break b;case 6:case 44:c=95;break b;case 7:case 52:c=96;break b;case 8:case 45:c=97;break b;case 10:c=88;break b;case 46:break d;default:break b}}c=99}kl((a|0)==2,c)}f=We((a|0)==2?768:769,-1);g=j[b+28>>2];e=g-8|0;e:{if(e>>>0<33){c=e&31;d=1;if(((e&63)>>>0>=32?1>>>c|0:((1<>>c)&1){break e}}d=1;if(g-112>>>0<24){break e}d=1;if(j[b+4>>2]){break e}d=j[b+12>>2]!=0}c=d;if((a|0)!=2){return(f|0)==1|0}return(c|(We(771,-1)|0)!=1)&(f|0)==1}function aO(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0;a:{if(!a){break a}c=l[a+2>>1];b=c<<16>>16;if((b|0)<1){break a}g=2;if((b|0)==1){break a}m=j[a+4>>2];c=m+(c<<3)|0;d=m+8|0;e=j[m>>2];f=e;b=m;h=j[b+4>>2];k=h;while(1){b=j[b+12>>2];k=(b|0)>(k|0)?b:k;h=(b|0)<(h|0)?b:h;b=j[d>>2];f=(b|0)>(f|0)?b:f;e=(b|0)<(e|0)?b:e;b=d;d=b+8|0;if(c>>>0>d>>>0){continue}break}if((e|0)==(f|0)|(h|0)==(k|0)){break a}c=i[a>>1];if((c|0)>=1){d=0;b=f>>31;f=b+f^b;b=e>>31;b=17-s(f|b+e^b)|0;o=(b|0)>0?b:0;b=17-s(k-h|0)|0;q=(b|0)>0?b:0;b=c&65535;h=b>>>0>1?b:1;k=j[a+12>>2];b=0;a=0;while(1){n=i[(a<<1)+k>>1];if((n|0)>=(b|0)){c=(n<<3)+m|0;e=j[c>>2];f=j[c+4>>2];while(1){g=e;r=d;d=(b<<3)+m|0;c=j[d+4>>2];e=j[d>>2];d=r+p(c-f>>q,g+e>>o)|0;g=(b|0)!=(n|0);b=b+1|0;f=c;if(g){continue}break}}b=n+1|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}g=1;if((d|0)>0){break a}g=0;if(d){break a}}g=2}return g} +function ps(a){var b=0,c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;a:{if(!a){j[c>>2]=117899;ve(117597,c);break a}b:{d=j[a+184>>2];if((d|0)<1){break b}b=(d|0)/j[a+196>>2]|0;b=j[a+172>>2]?b:(j[a+240>>2]/k[a+232|0]|0)+b|0;if((b|0)<1){break b}f=c;e=w(o[a+224>>3]*+(b|0));c:{if(r(e)<2147483648){b=~~e;break c}b=-2147483648}j[f+12>>2]=p(b,j[a+208>>2]);Oe(j[a+176>>2]+d|0,0,j[a+180>>2]-d|0);if((tk(a,j[a+176>>2],j[a+180>>2],c+12|0)|0)>=0){Oe(j[a+176>>2],0,d);if((tk(a,j[a+176>>2],j[a+180>>2],c+12|0)|0)>-1){break b}}break a}j[a+172>>2]=1;j[a+184>>2]=0}oe=c+16|0}function cp(a,b){var c=0,d=0,e=0,f=0;f=oe-16|0;oe=f;a:{b:{d=j[a+20>>2];if((d|0)!=j[a+12>>2]){e=j[a+28>>2];break b}c=j[a+16>>2];j[f+12>>2]=0;c:{c=c+d|0;e=j[a+8>>2];if(c>>>0>2147483647/(e>>>0)>>>0){break c}d=p(c,e);e=xe(j[a>>2],1,j[a+24>>2],d,j[a+28>>2],f+12|0);j[a+28>>2]=e;if(j[f+12>>2]){break c}j[a+24>>2]=d;j[a+12>>2]=c;d=j[a+20>>2];if(c>>>0>=d>>>0){break b}b=j[a+4>>2];if(!(!b|j[b>>2])){j[b>>2]=130}j[a+20>>2]=c;break a}a=j[a+4>>2];if(!a|j[a>>2]){break a}j[a>>2]=64;break a}c=j[a+8>>2];Ae(p(c,d)+e|0,b,c);j[a+20>>2]=j[a+20>>2]+1}oe=f+16|0}function Pl(a,b,c,d,e,f,g){var h=q(0),i=0,k=q(0),l=0,m=0,o=0,p=q(0),r=0,s=q(0),t=0;l=j[a>>2];if((l|0)>=1){m=j[a+4>>2];i=d<<2;s=n[(m+i|0)+12>>2];t=j[i+j[a+12>>2]>>2];o=+n[a+48>>2];i=0;d=(d|0)!=1;while(1){a=i<<2;h=q(s+n[a+c>>2]);k=n[m+108>>2];p=q(n[a+b>>2]+n[a+t>>2]);k=k>2]=h>k?h:k;if(!d){h=q(k-n[a+g>>2]);r=+q(h+q(17.200000762939453));a:{if(!(h>q(-17.200000762939453)^1)){h=q(r*-.005*o+1);if(h>2]=h*n[a>>2]}i=i+1|0;if((l|0)!=(i|0)){continue}break}}}function GM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[b+76>>2];d=j[a+436>>2];f=$g();e=j[d>>2];a:{if((f|0)!=(e|0)){j[d+424>>2]=0;if((zg(j[a+188>>2],e)|0)<0){break a}}a=j[a+436>>2];if(!j[a+4>>2]){break a}while(1){if(qe[j[a+104>>2]]()|0){continue}break}}if(j[d+360>>2]==(b|0)){j[d+360>>2]=0}if(j[d+364>>2]==(b|0)){j[d+364>>2]=0}if(c){qe[j[d+60>>2]](1,c);if(j[c+32>>2]){qe[j[d+60>>2]](1,c+32|0)}if(j[c+36>>2]){qe[j[d+60>>2]](1,c+36|0)}a=j[c+16>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[b+76>>2]=0}}function ko(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=-1;b=j[a+24>>2];a:{if(b>>>0>65534){break a}c=j[a+40>>2];b=b+1|0;b=b>>>0>>0?c:b;while(1){b:{e=j[a+44>>2];c:{if(e>>>0>>0){break c}g=j[a+48>>2];d=j[a+52>>2];if(d){c=d+(b-c<<1)|0;while(1){d=k[c+1|0]|k[c|0]<<8;if(d){d=d+g&65535;if(d){break b}}c=c+2|0;b=b+1|0;if(e>>>0>=b>>>0){continue}break}break c}while(1){d=b+g&65535;if(d){break b}b=b+1|0;if(e>>>0>=b>>>0){continue}break}}d=0;if((eo(a,j[a+36>>2]+1|0)|0)<0){break a}c=j[a+40>>2];b=b>>>0>>0?c:b;continue}break}f=b}j[a+28>>2]=d;j[a+24>>2]=f}function iH(a,b){a=a|0;b=b|0;var c=0,d=0;c=Xe(1,120);j[a+992>>2]=c;if(!c){return Be(0)|0}j[c+100>>2]=933;j[c+60>>2]=934;j[c+52>>2]=935;j[c+48>>2]=936;j[c+36>>2]=937;j[c+56>>2]=938;j[c+112>>2]=939;j[c+108>>2]=940;j[c+104>>2]=941;j[c+92>>2]=942;j[c+88>>2]=943;j[c+84>>2]=944;j[c+80>>2]=945;j[c+76>>2]=946;j[c+68>>2]=947;j[c+64>>2]=948;j[c+116>>2]=949;j[c+96>>2]=950;c=wa(0)|0;d=j[a+992>>2];j[d+8>>2]=c;if(!c){return ve(153620,0)|0}if((qe[j[d+48>>2]](c,0,0)|0)!=1){return ve(153646,0)|0}a=a+436|0;if(b){Re(a,b,255);return 0}h[a|0]=0;return 0}function NG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=q(0),i=q(0),k=0;d=oe-16|0;oe=d;a:{if((fs(1,0)|0)<0){break a}I(j[c+12>>2],d+8|0,d|0)|0;c=0;if(j[b>>2]<1){break a}k=a-22|0;while(1){f=p(c,52)+b|0;a=g;b:{if(!j[f+48>>2]){break b}e=j[f+20>>2];a=e;e=e>>31;h=q(+j[f+60>>2]/o[d>>3]);i=q(+j[f+56>>2]/o[d+8>>3]);c:{switch(k|0){case 0:nk(1,0,a,e,1,i,h);a=1;if(g){break b}a=(We(1792,-1)|0)==1;break b;case 2:es(1,0,a,e,i,h);a=g;break b;default:break c}}nk(1,0,a,e,0,i,h);a=1}g=a;c=c+1|0;if((c|0)>2]){continue}break}}oe=d+16|0;return g|0}function bj(a,b,c){var d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;f=rf(a,e+12|0);d=j[e+12>>2];a:{if(d){break a}d=2;if((b|0)!=(f|0)){break a}rf(a,e+12|0);d=j[e+12>>2];if(d){break a}d=vf(a,16);j[e+12>>2]=d;if(d){break a}f=qf(a,e+12|0);d=j[e+12>>2];if(d){break a}d=2;if(!f){break a}b=0;while(1){g=rf(a,e+12|0);d=j[e+12>>2];if(d){break a}b:{if((g|0)==2){d=rf(a,e+12|0);if(j[e+12>>2]){break b}rf(a,e+12|0);if(j[e+12>>2]){break b}j[c>>2]=d;d=0;break a}d=vf(a,8);j[e+12>>2]=d;if(d){break a}}d=2;b=b+1|0;if((f|0)!=(b|0)){continue}break}}oe=e+16|0;return d}function rp(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c|(!a|b>>>0>1)){break a}g=(b<<5)+a|0;if(!k[g+92|0]){break a}e=g- -64|0;Ae(j[c+4>>2]+(i[c+2>>1]<<3)|0,j[g+72>>2],j[e>>2]<<3);a=i[c+2>>1];d=j[e>>2];b:{if(!d){break b}b=j[c+8>>2]+a|0;a=j[g+76>>2];while(1){f=k[a|0];h[b|0]=f&1?1:f&2;b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}a=l[c+2>>1];f=j[e>>2];if(!f){f=0;break b}e=j[c+12>>2]+(i[c>>1]<<1)|0;b=j[g+76>>2];d=f;while(1){if(k[b|0]&8){i[e>>1]=a;i[c>>1]=l[c>>1]+1;e=e+2|0}a=a+1|0;b=b+1|0;d=d-1|0;if(d){continue}break}a=l[c+2>>1]}i[c+2>>1]=a+f}}function _h(a,b,c,d){var e=0,f=0,g=0,i=0;g=oe;i=g;a:{if(!j[57838]|b>>>0>6){break a}e=j[66037];b:{c:{if(e){while(1){if(j[e>>2]==(a|0)){f=e+4|0;break c}e=j[e+8>>2];if(e){continue}break}}f=231348;e=1;d:{switch(a|0){case 2:f=231344;break c;case 8:break b;case 0:break c;default:break d}}f=231340}e=j[f>>2]}if(b>>>0>>0){break a}e=g-4096|0;oe=e;Jl(e,4096,c?c:138868,d);c=Le(e);e:{if(!c){break e}d=c-1|0;f=d+e|0;if(k[f|0]!=10){break e}h[f|0]=0;if(!d){break e}c=(c+e|0)-2|0;if(k[c|0]!=13){break e}h[c|0]=0}qe[j[57838]](j[66038],a,b,e)}oe=i}function Yh(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(a){b=i[a+56>>1];c=b+l[a+20>>1]|0;i[a+20>>1]=c;e=l[a+22>>1];d=e+l[a+58>>1]|0;i[a+22>>1]=d;f=j[a+48>>2]+j[a+84>>2]|0;j[a+48>>2]=f;if((b|0)>=1){d=j[a+68>>2];c=0;while(1){g=d+(c<<1)|0;i[g>>1]=l[g>>1]+e;c=c+1|0;if((b|0)!=(c|0)){continue}break}d=i[a+22>>1];c=l[a+20>>1]}j[a+84>>2]=0;j[a+56>>2]=0;b=d<<16>>16;j[a- -64>>2]=b+j[a+28>>2];b=b<<3;j[a+60>>2]=b+j[a+24>>2];j[a+68>>2]=j[a+32>>2]+(c<<16>>16<<1);if(k[a+16|0]){j[a+76>>2]=b+j[a+40>>2];j[a+80>>2]=b+j[a+44>>2]}j[a+88>>2]=j[a+52>>2]+(f<<5)}}function Bl(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=oe-16|0;oe=d;vs(d+8|0,j[58911]);e=j[d+12>>2];f=j[d+8>>2];j[58913]=f;j[58914]=e;a:{if(e){j[58906]=0;j[58907]=0;while(1){b:{if(k[b+f|0]==10){if((a|0)>(g|0)){j[58907]=a;g=a}c=c+1|0;j[58906]=c;a=0;break b}a=a+1|0}b=b+1|0;if((e|0)!=(b|0)){continue}break}break a}Vg(1079,0);U(1);z()}h=235632,i=bf(c,4),j[h>>2]=i;a=bf(c,4);j[58909]=a;if(a){b=0;if((c|0)>0){while(1){a=bf(g,4);j[j[58909]+(b<<2)>>2]=a;b=b+1|0;if((c|0)!=(b|0)){continue}break}}oe=d+16|0;return}za(1110,1135,42,1148);z()}function kH(a){var b=0,c=0,d=0,e=0,f=0;b=oe+ -64|0;oe=b;a:{if(qH(a)){break a}b:{e=b+20|0;if(j[a+420>>2]){if(!Uj(a,153175)){break b}j[b+20>>2]=12445;j[b+24>>2]=12425;d=2}else{d=0}j[e+(d<<2)>>2]=12344;c=j[a+992>>2];f=qe[j[c+76>>2]](j[c+8>>2],j[c+12>>2],0,b+20|0)|0;if(f){break a}c=153556;e=b;a=qe[j[j[a+992>>2]+116>>2]]()|0;d=a-12288|0;if(d>>>0<=14){c=j[(d<<2)+153560>>2]}if(!k[c|0]){j[b+16>>2]=a;Ue(b+32|0,32,152611,b+16|0);c=b+32|0}j[e+8>>2]=c;j[b+4>>2]=152698;j[b>>2]=153258;ve(152616,b);break a}ve(153197,0)}oe=b- -64|0;return f}function TM(a,b,c,d){var e=0,f=0;e=c;a:{b:{c:{d:{e:{f:{c=j[a>>2];switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break d;case 0:case 11:break e;default:break f}}if((c|0)==1448433993){break e}if((c|0)!=825382478){break d}}if(!b){break b}if(!(j[b>>2]|j[b+4>>2]|j[b+8>>2]!=j[a+8>>2])){c=0;if(j[b+12>>2]==j[a+12>>2]){break c}}return ve(126419,0)}if(!b){break b}f=j[b>>2]<<1;c=j[b+4>>2]}b=l[a+20>>1];a=(j[a+28>>2]+p(c,b)|0)+f|0;break a}b=l[a+20>>1];a=j[a+28>>2]}j[e>>2]=a;j[d>>2]=b;return 0}function yk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0;a:{if(a>>>0>b>>>0){break a}f=j[c+28>>2]>j[d+28>>2];g=f?c:d;e=j[g+24>>2];g=j[g+28>>2];h=e-g|0;c=f?d:c;f=j[c+24>>2];d=j[c+28>>2];i=f-d|0;if(!((e|0)!=(f|0)?(d|0)!=(g|0):0)){while(1){c=j[a+28>>2];j[a+24>>2]=(c|0)>(d|0)?(c|0)<(g|0)?f:c+h|0:c+i|0;a=a+40|0;if(b>>>0>=a>>>0){continue}break a}}k=De(e-f|0,g-d|0);while(1){c=a;l=c;e=j[c+28>>2];b:{if((e|0)<=(d|0)){c=e+i|0;break b}c=e+h|0;if((e|0)>=(g|0)){break b}c=ye(e-d|0,k)+f|0}j[l+24>>2]=c;a=a+40|0;if(b>>>0>=a>>>0){continue}break}}}function vx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if(!j[b+196>>2]){Hg(b)}c=j[a>>2];a=j[a+4>>2];j[b+188>>2]=0;j[b+192>>2]=0;j[b+196>>2]=0;e=a<<2;j[b+228>>2]=e&-256;f=(e>>8)-j[b+172>>2]|0;j[b+160>>2]=f;a=j[b+164>>2];d=j[b+168>>2];g=c<<2;c=g>>8;c=(c|0)>(d|0)?d:c;c=(a|0)>(c|0)?a-1|0:c;h=c-a|0;j[b+156>>2]=h;a=((c|0)>(d|0)?d:c)-a|0;d=(a|0)>-1?a:-1;if((d|0)!=(h|0)){Hg(b);j[b+188>>2]=0;j[b+192>>2]=0;j[b+160>>2]=f;j[b+156>>2]=d}a=1;a=m[b+184>>2]>f>>>0?(d|0)>=j[b+180>>2]:a;j[b+224>>2]=e;j[b+220>>2]=g;j[b+196>>2]=a;return 0}function TG(a){var b=0;ua(j[a+12>>2],a|0,0,957,2)|0;ta(j[a+12>>2],a|0,0,958,2)|0;sa(1,a|0,0,958,2)|0;ra(j[a+12>>2],a|0,0,959,2)|0;qa(j[a+12>>2],a|0,0,959,2)|0;pa(j[a+12>>2],a|0,0,960,2)|0;oa(2,a|0,0,961,2)|0;na(2,a|0,0,961,2)|0;ma(j[a+12>>2],a|0,0,962,2)|0;la(j[a+12>>2],a|0,0,962,2)|0;ka(j[a+12>>2],a|0,0,962,2)|0;ja(j[a+12>>2],a|0,0,962,2)|0;ia(1,a|0,0,963,2)|0;b=bg(156524);b=b?b:2;ha(b|0,a|0,0,964,2)|0;ga(b|0,a|0,0,964,2)|0;fa(b|0,a|0,0,965,2)|0;ea(1,a|0,0,966,2)|0;da(2,a|0,0,967,2)|0;ca(a|0,0,968,2)|0;ba(a|0,969,1)|0}function RL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0;a:{g=j[a+436>>2];f=j[g>>2];if(f){break a}f=j[g+4>>2];j[g>>2]=f;if(f){break a}f=Xj(j[a+188>>2]);if(f){j[g>>2]=f;j[g+4>>2]=f;break a}f=j[g>>2];if(f){break a}return-1}b:{a=j[b>>2];c:{if((a|0)<0){break c}h=j[b+8>>2];if(j[f+8>>2]<(a+h|0)){break c}g=j[b+4>>2];if((g|0)<0){break c}b=j[b+12>>2];if(j[f+12>>2]>=(b+g|0)){break b}}return ve(138777,0)|0}i=b;b=j[f+4>>2];l=j[f+20>>2];f=j[f+16>>2];return th(h,i,j[b>>2],(l+p(f,g)|0)+p(a,k[b+9|0])|0,f,c,d,e)|0}function ao(a,b){var c=0,d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;c=j[b+28>>2];d=qe[j[a+508>>2]](a,1668707360,b,e+8|0)|0;j[e+12>>2]=d;a:{if(d){j[a+644>>2]=0;j[a+648>>2]=0;c=0;break a}d=j[e+8>>2]>>>1|0;j[a+644>>2]=d;f=a,g=xe(c,2,0,d,0,e+12|0),j[f+648>>2]=g;c=j[e+12>>2];if(c){break a}c=_e(b,j[a+644>>2]<<1);j[e+12>>2]=c;if(c){break a}d=j[a+644>>2];if((d|0)>=1){c=j[a+648>>2];d=c+(d<<1)|0;while(1){f=c,g=af(b),i[f>>1]=g;c=c+2|0;if(d>>>0>c>>>0){continue}break}}Ve(b);if(!k[a+672|0]){c=j[e+12>>2];break a}c=Vn(a,b)}oe=e+16|0;return c}function Rj(a){var b=0,c=0,d=0;if(a){_g(a+592|0);xg(a+480|0);Pj(a+120|0);b=j[a+72>>2];a:{if(!b){break a}d=j[a+52>>2];if(!d){break a}c=1;if((d|0)>=1){Yi(b);Zi(j[a+76>>2]);if(j[a+52>>2]>=2){while(1){Yi(j[a+72>>2]+(c<<5)|0);Zi(j[a+76>>2]+(c<<4)|0);c=c+1|0;if((c|0)>2]){continue}break}}b=j[a+72>>2]}ze(b);ze(j[a+76>>2])}b=j[a+60>>2];if(b){ze(b)}b=j[a+68>>2];if(b){ze(b)}b=j[a+64>>2];if(b){ze(b)}b=j[a+56>>2];if(b){ze(b)}lE(a+24|0);b=j[a>>2];b:{if(!b){break b}c=j[a+712>>2];if(!c){break b}qe[c|0](b)|0}Ee(a,0,720)}}function Cg(a,b){var c=0,d=0,e=0,f=0,g=0;c=j[a+88>>2];b=j[a+32>>2]+(b<<4)|0;d=j[b+8>>2];i[c+12>>1]=d+32>>>6;e=j[b+12>>2];i[c+14>>1]=e+32>>>6;a:{if(h[a+8|0]&1){f=c,g=De(d,l[a+68>>1]),j[f+16>>2]=g;b=De(j[b+12>>2],l[a+68>>1]);j[c+20>>2]=b;f=c,g=ye(i[a+70>>1],b)+63&-64,j[f+24>>2]=g;f=c,g=ye(i[a+72>>1],j[c+20>>2])&-64,j[f+28>>2]=g;f=c,g=ye(i[a+74>>1],j[c+20>>2])+32&-64,j[f+32>>2]=g;d=ye(i[a+76>>1],j[c+16>>2])+32&-64;break a}j[c+28>>2]=0;j[c+24>>2]=e;j[c+16>>2]=65536;j[c+20>>2]=65536;j[c+32>>2]=i[b>>1]<<6}j[c+36>>2]=d}function _e(a,b){var c=0,d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;j[e+12>>2]=0;a:{if(j[a+20>>2]){d=85;if(m[a+4>>2]>>0){break a}f=j[a+28>>2];c=Ti(f,b,e+12|0);j[a>>2]=c;d=j[e+12>>2];if(d){break a}g=qe[j[a+20>>2]](a,j[a+8>>2],c,b)|0;c=j[a>>2];if(b>>>0<=g>>>0){d=j[e+12>>2]}else{if(c){qe[j[f+8>>2]](f,c)}c=0;j[a>>2]=0;d=85}j[a+32>>2]=c;j[a+36>>2]=b+c;j[a+8>>2]=j[a+8>>2]+g;break a}d=85;f=j[a+4>>2];c=j[a+8>>2];if(f>>>0<=c>>>0|f-c>>>0>>0){break a}j[a+8>>2]=b+c;d=c+j[a>>2]|0;j[a+32>>2]=d;j[a+36>>2]=b+d;d=0}oe=e+16|0;return d}function gy(a,b){a=a|0;b=b|0;var c=0,d=0;c=qe[j[a+508>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=$e(b,88624,d);if(c){break a}i[a+290>>1]=0;i[a+282>>1]=0;i[a+284>>1]=0;i[a+286>>1]=0;i[a+288>>1]=0;i[a+274>>1]=0;i[a+276>>1]=0;i[a+278>>1]=0;i[a+280>>1]=0;i[a+266>>1]=0;i[a+268>>1]=0;i[a+270>>1]=0;i[a+272>>1]=0;b:{if(j[a+260>>2]<65536){break b}c=$e(b,88640,d);if(c){break a}if(l[a+280>>1]<=63){i[a+280>>1]=64}if(l[a+276>>1]>=65532){i[a+276>>1]=65531}if(l[a+290>>1]<101){break b}i[a+290>>1]=100}c=0}return c|0}function QC(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=14408027;a:{if((a|0)>=-2949120){b=a;c=14408027;break a}while(1){c=d;d=0-e|0;f=(a|0)<-8847360;e=c;b=a+5898240|0;a=b;if(f){continue}break}}b:{if((b|0)<=2949120){a=d;e=b;break b}while(1){a=c;c=0-d|0;f=(b|0)>8847360;d=a;e=b-5898240|0;b=e;if(f){continue}break}}g=6736;b=1;d=1;while(1){f=a+b>>d;c:{if((e|0)<=-1){e=j[g>>2]+e|0;a=a-(b+c>>d)|0;c=c+f|0;break c}e=e-j[g>>2]|0;a=(b+c>>d)+a|0;c=c-f|0}b=b<<1;g=g+4|0;d=d+1|0;if((d|0)!=23){continue}break}return De(a+128>>8,c+128>>8)}function Ax(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;a=j[d+1164>>2];e=j[d+1168>>2]-p(e,a)|0;e=(a|0)>=0?p(a,j[d+1156>>2]-1|0)+e|0:e;if((b|0)>=1){while(1){a=b;d=k[c+4|0];a:{if(!d){break a}f=l[c+2>>1];if(f>>>0>=8){Ee(i[c>>1]+e|0,d,f);break a}b=i[c>>1]+e|0;b:{switch(f-1|0){case 6:h[b|0]=d;b=b+1|0;case 5:h[b|0]=d;b=b+1|0;case 4:h[b|0]=d;b=b+1|0;case 3:h[b|0]=d;b=b+1|0;case 2:h[b|0]=d;b=b+1|0;case 1:h[b|0]=d;b=b+1|0;break;case 0:break b;default:break a}}h[b|0]=d}c=c+6|0;b=a-1|0;if((a|0)>1){continue}break}}}function Xx(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!k[a+612|0]){break a}c=j[a+100>>2];b=j[a+468>>2];if((b|0)!=163840){if((b|0)!=131072){break a}b=j[a+620>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+616>>1]=0;j[a+620>>2]=0;if(l[a+618>>1]){b=0;while(1){d=b<<2;e=j[d+j[a+624>>2]>>2];if(e){qe[j[c+8>>2]](c,e)}j[j[a+624>>2]+d>>2]=0;b=b+1|0;if(b>>>0>1]){continue}break}}b=j[a+624>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+618>>1]=0;j[a+624>>2]=0;break a}b=j[a+620>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+616>>1]=0;j[a+620>>2]=0}h[a+612|0]=0}function ni(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;a:{if(f&64){c=f+ -64|0;b=c&31;if((c&63)>>>0>=32){c=0;b=e>>>b|0}else{c=e>>>b|0;b=((1<>>b}d=0;e=0;break a}if(!f){break a}h=e;i=d;k=64-f|0;g=k&31;if((k&63)>>>0>=32){h=i<>>32-g|h<>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<>>b}b=k|b;c=g|h;g=d;d=f&31;if((f&63)>>>0>=32){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<>>d}e=h}j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=d;j[a+12>>2]=e}function Xt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}b:{if(!(k[a+212|0]&64)){c=1;if(!(!a|!k[a+432|0])){j[a+216>>2]=j[a+216>>2]|2;c=7}d=c;if(!(k[a+212|0]&64)){Ak(a);break b}ci(a,101603);break b}if(!(!k[a+432|0]|k[a+216|0]&2)){Ze(a,101791);j[a+356>>2]=j[a+352>>2]}c=1;if(!(!a|!k[a+432|0])){j[a+216>>2]=j[a+216>>2]|2;c=7}d=c}if((d|0)<1){break a}f=j[a+352>>2];while(1){c=b;e=0;if(f){while(1){Zt(a,j[c>>2]);c=c+4|0;e=e+1|0;if((e|0)!=(f|0)){continue}break}}g=g+1|0;if((g|0)!=(d|0)){continue}break}}}function Ou(a,b,c,d,e){var f=0,g=0;a:{b:{c:{if(!(!a|!b)){if(c-1>>>0>=2){break c}if(!d){break b}f=Le(d);if(!f|k[d|0]==45){break b}if(!Jk(d,f)){break b}if(!e){break a}g=Le(e);if(!g|k[e|0]==45){break a}if(!Jk(e,g)){break a}h[b+252|0]=c;f=f+1|0;c=cg(a,f);j[b+256>>2]=c;if(!c){Ze(a,99420);return}Ae(c,d,f);d=g+1|0;c=cg(a,d);j[b+260>>2]=c;if(!c){Ke(a,j[b+256>>2]);j[b+256>>2]=0;Ze(a,99420);return}Ae(c,e,d);j[b+8>>2]=j[b+8>>2]|16384;j[b+232>>2]=j[b+232>>2]|256}return}Ye(a,99363);z()}Ye(a,99381);z()}Ye(a,99400);z()}function Ls(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=oe-32|0;oe=b;a=j[65585];if(!(!a|j[57834]==595)){Hi(115746,0);Hi(115771,0);while(1){d=j[a+8>>2];e=j[a+16>>2];f=j[a+12>>2];g=j[a+20>>2];h=j[a>>2];c=j[a+4>>2];j[b+16>>2]=c;j[b+24>>2]=h?115894:115898;j[b+20>>2]=(c|0)==1?115891:115892;j[b+4>>2]=g;j[b+8>>2]=f;j[b+12>>2]=e;j[b>>2]=d;Hi(115816,b);a=j[a+24>>2];if(a){continue}break}Hi(115901,0);a=j[65585];if(a){while(1){j[a>>2]=0;j[a+4>>2]=0;c=j[a+24>>2];j[a+24>>2]=0;a=c;if(a){continue}break}}j[65585]=0}oe=b+32|0}function hL(a){var b=0,c=0,d=0;a:{if(k[j[a+4>>2]+8|0]!=1){break a}a=j[a+52>>2];c=j[j[a>>2]+4>>2];if(k[c+8|0]>=8){b=k[c+9|0]}b:{c:{d:{e:{f:{a=j[a+68>>2]&-28673;switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break a;case 18:break c;case 0:break e;default:break f}}a=a-256|0;if(!a){break d}if((a|0)==18){break b}break a}return j[(b<<2)+139072>>2]}return j[(b<<2)+139104>>2]}return b>>>0>1?747:0}d=b>>>0>1?748:0}return d}function zg(a,b){var c=0,d=0;c=j[67085];a:{if(!c){ve(151717,0);break a}d=Rh(j[c+704>>2])}b:{if((a|0)!=(d|0)){break b}d=0;c=j[67085];c:{if(!c){ve(151717,0);break c}d=Rh(j[c+708>>2])}if((b|0)!=(d|0)){break b}return 0}d=0;c=j[67085];d:{if(!b){break d}if(!c){ve(151717,0);return-1}if(!(j[a>>2]==(c+316|0)?a:0)){ve(150417,0);return-1}d=a;if(k[a+48|0]&2){break d}return ve(151317,0)}a=qe[j[c+184>>2]](c,d,b)|0;if(!a){a=j[67085];j[a+700>>2]=b;j[a+696>>2]=d;ik(j[a+704>>2],d);ik(j[j[67085]+708>>2],b);a=0}return a}function WD(a,b,c){var d=0;a:{b:{c:{if((a^b)&3){break c}d=(c|0)!=0;d:{if(!c|!(b&3)){break d}while(1){d=k[b|0];h[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c-1|0;d=(c|0)!=0;if(!c){break d}if(b&3){continue}break}}if(!d){break b}if(!k[b|0]){break a}if(c>>>0<4){break c}while(1){d=j[b>>2];if((d^-1)&d-16843009&-2139062144){break c}j[a>>2]=d;a=a+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}while(1){d=k[b|0];h[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}Ee(a,0,c)}function sE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=j[a+28>>2];a=Se(96);d=Ce(b,8);j[a>>2]=d;c=Ce(b,16);j[a+4>>2]=c;e=Ce(b,16);j[a+8>>2]=e;h=a,i=Ce(b,6),j[h+12>>2]=i;h=a,i=Ce(b,8),j[h+16>>2]=i;f=Ce(b,4);j[a+20>>2]=f+1;a:{b:{if((d|0)<1|(c|0)<1|((e|0)<1|(f|0)<0)){break b}e=a+24|0;d=0;while(1){c=Ce(b,8);j[e+(d<<2)>>2]=c;if((c|0)<0|(c|0)>=j[g+24>>2]){break b}c=j[((c<<2)+g|0)+1824>>2];if(!j[c+12>>2]|j[c>>2]<=0){break b}c=(d|0)>=(f|0);d=d+1|0;if(!c){continue}break}break a}ze(a);a=0}return a|0}function Ft(a,b){var c=0;a:{b:{switch(k[a+8|0]){case 0:c=j[a+4>>2];if(!c){break a}a=0;while(1){h[b|0]=k[b|0]^-1;b=b+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}break a;case 4:break b;default:break a}}c:{switch(k[a+9|0]-8|0){case 0:c=j[a+4>>2];if(!c){break a}a=0;while(1){h[b|0]=k[b|0]^-1;b=b+2|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}break a;case 8:break c;default:break a}}c=j[a+4>>2];if(!c){break a}a=0;while(1){h[b|0]=k[b|0]^-1;h[b+1|0]=k[b+1|0]^-1;b=b+4|0;a=a+4|0;if(c>>>0>a>>>0){continue}break}}}function ii(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=14408027;a:{if((a|0)>=-2949120){b=a;c=14408027;break a}while(1){c=d;d=0-e|0;f=(a|0)<-8847360;e=c;b=a+5898240|0;a=b;if(f){continue}break}}b:{if((b|0)<=2949120){a=d;e=b;break b}while(1){a=c;c=0-d|0;f=(b|0)>8847360;d=a;e=b-5898240|0;b=e;if(f){continue}break}}g=6736;b=1;d=1;while(1){f=a+b>>d;c:{if((e|0)<=-1){e=j[g>>2]+e|0;a=a-(b+c>>d)|0;c=c+f|0;break c}e=e-j[g>>2]|0;a=(b+c>>d)+a|0;c=c-f|0}b=b<<1;g=g+4|0;d=d+1|0;if((d|0)!=23){continue}break}return c+128>>8}function hi(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=14408027;a:{if((a|0)>=-2949120){b=a;e=14408027;break a}while(1){e=c;c=0-d|0;f=(a|0)<-8847360;d=e;b=a+5898240|0;a=b;if(f){continue}break}}b:{if((b|0)<=2949120){a=c;d=b;break b}while(1){a=e;e=0-c|0;f=(b|0)>8847360;c=a;d=b-5898240|0;b=d;if(f){continue}break}}f=6736;b=1;c=1;while(1){g=a+b>>c;c:{if((d|0)<=-1){d=j[f>>2]+d|0;a=a-(b+e>>c)|0;e=e+g|0;break c}d=d-j[f>>2]|0;a=(b+e>>c)+a|0;e=e-g|0}b=b<<1;f=f+4|0;c=c+1|0;if((c|0)!=23){continue}break}return a+128>>8}function qu(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&4){Ie(a,c);Je(a,99982);break a}if(!(!b|!(k[b+8|0]&128))){Ie(a,c);Je(a,100016);break a}if((c|0)!=9){Ie(a,c);Je(a,99995);break a}pf(a,d+7|0,9);tf(a,d+7|0,9);if(Ie(a,0)){break a}c=a;a=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=k[d+11|0]|k[d+12|0]<<8|(k[d+13|0]<<16|k[d+14|0]<<24);Nu(c,b,e,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),k[d+15|0])}oe=d+16|0;return}hf(a,100003);z()}function Vo(a){var b=0,c=0,d=0,e=0,f=0;j[a+28>>2]=4096;b=a+4168|0;j[a+24>>2]=b;j[a+8268>>2]=b;d=a+72|0;f=a+12|0;while(1){if(!j[a+16>>2]){b=j[a>>2];c=j[b+20>>2];a:{if(c){c=qe[c|0](b,j[b+8>>2],d,4096)|0;if(c){break a}return 85}e=j[b+8>>2];c=j[b+4>>2]-e|0;c=c>>>0<4096?c:4096;if(!c){return 85}Ae(d,j[b>>2]+e|0,c)}j[b+8>>2]=j[b+8>>2]+c;j[a+16>>2]=c;j[a+12>>2]=d}b=Uo(f,0);if(b){if((b|0)==1){b=j[a+24>>2];j[a+8272>>2]=b;a=(b|0)==j[a+8268>>2]?85:0}else{a=85}return a}if(j[a+28>>2]){continue}break}return 0}function SD(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;f=(tP(a),oP(2));c=f&2147483647;a:{if(c>>>0<=1305022426){g=+a;d=g*.6366197723675814+6755399441055744+ -6755399441055744;o[b>>3]=g+d*-1.5707963109016418+d*-1.5893254773528196e-8;if(r(d)<2147483648){c=~~d;break a}c=-2147483648;break a}if(c>>>0>=2139095040){o[b>>3]=q(a-a);c=0;break a}h=c;c=(c>>>23|0)-150|0;o[e+8>>3]=(pP(2,h-(c<<23)|0),sP());c=$p(e+8|0,e,c,1,0);d=o[e>>3];if((f|0)<=-1){o[b>>3]=-d;c=0-c|0;break a}o[b>>3]=d}oe=e+16|0;return c}function Py(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=b;a=j[a+16>>2];c=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=j[b>>2]+1|0;c=c>>>0>>0?e:c;f=c-e|0;d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(f>>>0>>0){e=d+e|0;a=(a+(f<<1)|0)+20|0;while(1){g=k[a+1|0]|k[a|0]<<8;if(g){j[b>>2]=c;return g|0}c=c+1|0;a=a+2|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}a=e}else{a=c}j[h>>2]=a;return 0}function Of(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;a:{if(f&64){d=b;e=f+ -64|0;b=e&31;if((e&63)>>>0>=32){e=d<>>32-b|c<>>0>=32){h=g<>>32-d|e<>>0>=32){f=0;d=d>>>e|0}else{f=d>>>e|0;d=((1<>>e}d=k|d;e=f|h;f=b;b=i&31;if((i&63)>>>0>=32){h=f<>>32-b|c<>2]=b;j[a+4>>2]=c;j[a+8>>2]=d;j[a+12>>2]=e}function pu(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&4){Ie(a,c);Je(a,99982);break a}if(!(!b|!(h[b+9|0]&1))){Ie(a,c);Je(a,100016);break a}if((c|0)!=9){Ie(a,c);Je(a,99995);break a}pf(a,d+7|0,9);tf(a,d+7|0,9);if(Ie(a,0)){break a}c=a;a=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=k[d+11|0]|k[d+12|0]<<8|(k[d+13|0]<<16|k[d+14|0]<<24);Qu(c,b,e,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),k[d+15|0])}oe=d+16|0;return}hf(a,100003);z()}function km(a){var b=0,c=0;c=oe-16|0;oe=c;oj(268332);b=j[67084];a:{if(b){while(1){if(j[b>>2]==(a|0)){j[b+36>>2]=j[b+36>>2]+1;j[67083]=0;break a}b=j[b+40>>2];if(b){continue}break}}b=qe[j[57972]](44)|0;if(b){j[57976]=j[57976]+1}if(!b){j[67083]=0;b=0;Be(0);break a}if((jm(b,a)|0)<=-1){j[67083]=0;if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[c>>2]=149366;ve(149340,c);b=0;break a}if(!((a>>>24&15)-1>>>0<3?!((a&-268435456)!=268435456?a:0):0)){j[b+40>>2]=j[67084];j[67084]=b}j[67083]=0}oe=c+16|0;return b}function Lg(a,b){var c=0,d=0,e=0;c=j[a+20>>2];if(!(k[a+13|0]?c:0)){return ye(b,j[a+16>>2])}d=j[a+24>>2];c=c-1|0;e=c>>>0>>0?d:c;while(1){a:{c=d;if((e|0)==(c|0)){c=e;break a}d=c+1|0;if(j[(p(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}b:{c:{if(c){while(1){d=j[(p(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break c}c=c-1|0;if(c){continue}break}}c=0;j[a+24>>2]=0;d=j[a+36>>2];if((d|0)<=(b|0)){break b}return ye(b-d|0,j[a+16>>2])+j[a+40>>2]|0}j[a+24>>2]=c}a=p(c,20)+a|0;return ye(b-d|0,j[a+44>>2])+j[a+40>>2]|0}function KF(a,b,c){a=a|0;b=b|0;c=c|0;c=0;a=j[67093];a:{if(!a){break a}b=j[b+1300>>2];if((b|0)!=j[a>>2]){while(1){c=a;a=j[a+1320>>2];if(!a){break a}if((b|0)!=j[a>>2]){continue}break}}b=j[a+16>>2];if(b){j[b+84>>2]=0}b=j[a+1320>>2];b:{if(c){j[c+1320>>2]=b;break b}j[67093]=b}if(j[67092]==(a|0)){j[67092]=c}j[67090]=j[67090]-1;lN(j[a+12>>2]);b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}return 1}function Jr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-16|0;oe=c;a:{if(!a){g=35;break a}if(!b){g=6;break a}if(!j[a+96>>2]){g=34;break a}j[b>>2]=0;f=j[a+100>>2];d=j[j[a+96>>2]+12>>2];e=He(f,j[d+40>>2],c+12|0);b:{if(j[c+12>>2]){break b}h=He(f,12,c+12|0);if(j[c+12>>2]){break b}j[e+40>>2]=0;j[e>>2]=a;d=j[d+56>>2];if(d){d=qe[d|0](e)|0;j[c+12>>2]=d;if(d){break b}}j[b>>2]=e;j[h+8>>2]=e;yl(a+108|0,h);if(!j[c+12>>2]){break a}}if(h){qe[j[f+8>>2]](f,h)}if(e){qe[j[f+8>>2]](f,e)}g=j[c+12>>2]}oe=c+16|0;return g}function _r(a,b,c){var d=0,e=0,f=0,g=0,i=0,k=0;d=oe+ -64|0;oe=d;a:{if((b|0)==-1){break a}b:{c:{switch(c|0){case 1:f=1617;j[d+8>>2]=1617;if((b|0)!=5){break b}i=a,k=yg(),j[i+28>>2]=k;if(!j[j[a>>2]+68>>2]){break b}break a;case 0:break c;default:break a}}f=1618;j[d+8>>2]=1618;if((b|0)!=5){break b}e=yg();g=((j[a+28>>2]-e|0)+250|0)<1;e=j[a>>2];if(!(g|j[e+72>>2])){j[e+68>>2]=1;break a}j[e+68>>2]=0}if((We(f,-1)|0)!=1){break a}a=j[j[a>>2]>>2];h[d+21|0]=c;h[d+20|0]=b;j[d+16>>2]=a;gf(d+8|0)}oe=d- -64|0}function Xm(a){var b=0,c=0;b=HE(a+16|0);if(!b){ve(115238,0);return-1}a:{b:{if(j[b+4>>2]==j[a+740>>2]){c=0;if(j[b+8>>2]==j[a+744>>2]){break b}}Ge(a+736|0,b,32);c=j[a+776>>2];if(c){if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[a+776>>2]=0}c=j[a+772>>2];if(c){Xh(c);j[a+772>>2]=0}c=Km(32784,k[b+4|0],j[b+8>>2],l[131086],k[262174],j[65542]);j[a+772>>2]=c;if(c){break a}c=-1}return c}b=p(l[131088],j[b+4>>2])<<1;j[a+780>>2]=b;b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}j[a+776>>2]=b;return b?0:-1}function WO(a){var b=0,c=0;j[66088]=0;a:{b:{if((a|0)==8){break b}b=1;j[66088]=1;if((a|0)==32776){break b}b=2;j[66088]=2;if((a|0)==32784){break b}b=3;j[66088]=3;if((a|0)==36880){break b}b=4;j[66088]=4;if((a|0)==16){break b}b=5;j[66088]=5;if((a|0)==4112){break b}b=6;j[66088]=6;if((a|0)==32800){break b}b=7;j[66088]=7;if((a|0)==36896){break b}b=8;j[66088]=8;if((a|0)==33056){break b}b=9;j[66088]=9;if((a|0)==37152){break b}j[66088]=10;j[66089]=0;break a}j[66089]=1;c=l[p(b,20)+116896>>1]}return c}function De(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=(a|0)<0?-1:1;e=2147483647;c=b>>31;c=c+b^c;a:{if(!c){break a}d=a;a=a>>31;a=d+a^a;if(a>>>0<=(c>>>17^65535)>>>0){e=((a<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break a}f=c>>>1|0;d=f+(a<<16)|0;a=(a>>>16|0)+(d>>>0>>0)|0;if(a>>>0>=c>>>0){break a}f=s(a);g=32-f|0;a=d>>>g|a<>>0)/(c>>>0)|0;i=a-p(c,e)|0;a=d<>>31;i=d-(c>>>0>d>>>0?0:c)|0;e=e<<1|c>>>0<=d>>>0;a=a<<1;g=g-1|0;if(g){continue}break}}return(((b|0)<0?0-h|0:h)|0)<0?0-e|0:e}function ru(a,b,c){var d=0,e=0,f=0;d=oe-528|0;oe=d;a:{b:{e=j[a+208>>2];if(e&1){if((e&6)!=2){Ie(a,c);Je(a,99982);break a}if(!(!b|!(k[b+8|0]&64))){Ie(a,c);Je(a,100016);break a}if(c>>>0>513){break b}e=c>>>1|0;if((e|0)!=l[a+420>>1]){break b}if(e){c=0;while(1){pf(a,d+14|0,2);tf(a,d+14|0,2);f=k[d+14|0]|k[d+15|0]<<8;i[(d+16|0)+(c<<1)>>1]=(f<<24|f<<8&16711680)>>>16;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(Ie(a,0)){break a}Su(a,b,d+16|0);break a}hf(a,100003);z()}Ie(a,c);Je(a,99995)}oe=d+528|0}function WH(a,b,c,d){var e=0,f=0;f=j[a+52>>2];e=j[f+68>>2];if(!(e&512)){j[f+68>>2]=e|512;wf(f);f=j[a+52>>2];e=j[f+68>>2]}a:{if(e&371){break a}e=j[j[a+4>>2]>>2];if((e|0)!=j[j[c+4>>2]>>2]|((e>>>24&15)-1>>>0<3?!((e&-268435456)!=268435456?e:0):0)){break a}return _q(a,b,c,d)}b:{c:{if(j[f>>2]!=(c|0)){break c}e=j[j[c+4>>2]+4>>2];if(j[f+80>>2]!=j[e+8>>2]?e:0){break c}e=j[j[a+4>>2]+4>>2];if(!e|j[f+84>>2]==j[e+8>>2]){break b}}if((ck(a,c)|0)<0){return-1}f=j[a+52>>2]}return qe[j[f+8>>2]](a,b,c,d)|0}function qz(a,b){var c=0,d=0,e=0,f=0,g=0;f=oe-16|0;oe=f;d=6;a:{if(!j[a+4>>2]|(!a|!b)){break a}j[b>>2]=0;e=j[a+4>>2];if(!e){break a}g=j[a>>2];c=He(j[g>>2],j[e>>2],f+12|0);d=j[f+12>>2];if(d){break a}j[c+4>>2]=e;j[c>>2]=g;j[c+8>>2]=j[e+4>>2];d=j[a+16>>2];j[c+12>>2]=j[a+12>>2];j[c+16>>2]=d;j[c+8>>2]=j[a+8>>2];b:{d=j[e+16>>2];if(!d){break b}d=qe[d|0](a,c)|0;if(!d){break b}a=j[j[c>>2]>>2];b=j[j[c+4>>2]+12>>2];if(b){qe[b|0](c)}if(c){qe[j[a+8>>2]](a,c)}break a}j[b>>2]=c;d=0}oe=f+16|0;return d}function jv(a,b,c){var d=0,e=0,f=0,g=0;a:{if(c-16>>>0>=624999985){e=l[b+74>>1];d=96952;break a}g=l[b+74>>1];e=g<<16>>16;if(k[a+209|0]&128){d=96977;if(g&8){break a}}b:{if((e|0)>=0){c:{if(!(e&1)){break c}d=j[b>>2];d:{if(!d){break d}f=v(+(d|0)*1e5/+(c|0)+.5);if(f<=2147483647^1|f>=-2147483648^1){break d}if(r(f)<2147483648){d=~~f}else{d=-2147483648}if(d-95e3>>>0<10001){break c}}if(e&32){break b}Mf(a,98483,0)}j[b>>2]=c;i[b+74>>1]=e|9}return}Mf(a,98451,2);return}i[b+74>>1]=e|32768;Mf(a,d,1)}function dz(a,b){var c=0,d=0,e=0,f=0;e=oe-16|0;oe=e;a:{if(!a|!b){break a}f=j[a>>2];c=j[a+72>>2];d=2076;b:{c:{if((c|0)==1651078259){break c}d=2108;if((c|0)==1869968492){break c}d=rJ(f,c);if(!d){break b}d=d+20|0}c=He(j[f>>2],j[d>>2],e+12|0);if(j[e+12>>2]){break a}j[c+4>>2]=d;j[c>>2]=f;j[c+8>>2]=j[d+4>>2];j[c+12>>2]=j[a+64>>2]<<10;j[c+16>>2]=j[a+68>>2]<<10;if(qe[j[d+8>>2]](c,a)|0){a=j[j[c>>2]>>2];b=j[j[c+4>>2]+12>>2];if(b){qe[b|0](c)}if(c){qe[j[a+8>>2]](a,c)}break a}j[b>>2]=c}}oe=e+16|0}function HH(a){var b=0,c=0,d=0;b=j[67085];if(!b){ve(151717,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(150417,0);return}b=j[a+48>>2];a:{if(!(b&256)^1){break a}j[a+48>>2]=b&-257|256;b=j[67085];d=j[b+312>>2];c=j[a+48>>2];b:{if(!(!(j[67035]|c&256)|!(c&512))){c:{if(!d|(a|0)==(d|0)){break c}j[d+48>>2]=j[d+48>>2]&-257;c=j[b+128>>2];if(!c){break c}qe[c|0](b,d,0);b=j[67085]}j[b+312>>2]=a;c=1;break b}c=0;if((a|0)!=(d|0)){break b}j[b+312>>2]=0;c=0}d=j[b+128>>2];if(!d){break a}qe[d|0](b,a,c)}}function 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,k=0;e=j[a+528>>2];if(!e){return 6}h=j[e>>2];if(h){f=j[e+4>>2];k=b>>>0>f>>>0?f:b;while(1){i=65536;a=0;b=0;d=65536;if(f){while(1){d=32768;a:{b:{if(a>>>0>=k>>>0){break b}d=j[(a<<2)+c>>2];if((d|0)<1){d=0;break b}b=65536;if((d|0)>65535){break a}}b=d}i=ye(i,g>>>a&1?b:65536-b|0);a=a+1|0;b=j[e+4>>2];if(a>>>0>>0){continue}break}h=j[e>>2];d=i}j[j[e+136>>2]+(g<<2)>>2]=d;f=b;g=g+1|0;if(h>>>0>g>>>0){continue}break}}return 0}function 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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if((c|0)>=1){i=k[e+34|0];l=k[e+30|0];m=k[e+33|0];n=k[e+29|0];o=k[e+32|0];p=k[e+28|0];q=k[d+35|0];r=k[d+34|0];s=k[d+33|0];t=k[d+32|0];while(1){f=j[b>>2];g=j[e+24>>2]|((f&j[d+16>>2])>>>s>>>n<>2]&f)>>>t>>>p<>2]&f)>>>r>>>l<>2]=g&63519|(j[d+24>>2]&f)>>>q<<2&2016|g<<16&132120576;a=a+4|0;b=b+4|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}}return c<<2}function mt(){var a=0;Wg();a:{if(!j[65548]){break a}if(j[j[j[65548]>>2]+64>>2]){qe[j[j[j[65548]>>2]+64>>2]](j[j[65548]+4>>2])}j[j[65548]+8>>2]=0;j[j[65548]+12>>2]=0;j[65548]=0;a=j[65541];if(!a){break a}qe[a|0]()}Gg();if(j[57797]){a=j[57811];if(a){qe[a|0]()}j[57797]=0}if(j[57817]){a=j[57831];if(a){qe[a|0]()}j[57817]=0}a=j[65551];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[65551]=0}a=j[65540];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[65540]=0}j[65550]=0;j[65539]=0}function rL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if((c|0)>=1){i=k[e+34|0];l=k[e+30|0];m=k[e+33|0];n=k[e+29|0];o=k[e+32|0];p=k[e+28|0];q=k[d+35|0];r=k[d+34|0];s=k[d+33|0];t=k[d+32|0];while(1){f=j[b>>2];g=j[e+24>>2]|((f&j[d+16>>2])>>>s>>>n<>2]&f)>>>t>>>p<>2]&f)>>>r>>>l<>2]=g&64543|(j[d+24>>2]&f)>>>q<<2&992|g<<16&65011712;a=a+4|0;b=b+4|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}}return c<<2}function fk(a){var b=0,c=0,d=0,e=0,f=0;if(!a){return 35}f=38;c=j[a+40>>2];a:{if(!c){break a}d=(j[a+36>>2]<<2)+c|0;e=d-4|0;b:{if(e>>>0>=c>>>0){while(1){b=j[e>>2];c:{if(j[b+4>>2]!=1970170211){break c}d:{switch(l[b+8>>1]){case 0:if(l[b+10>>1]!=4){break c}break b;case 3:break d;default:break c}}if(l[b+10>>1]==10){break b}}e=e-4|0;if(e>>>0>=c>>>0){continue}break}}while(1){d=d-4|0;if(d>>>0>>0){break a}b=j[d>>2];if(j[b+4>>2]!=1970170211){continue}break}}j[a+92>>2]=b;f=0}return f}function ej(a,b,c,d,e){var f=0,g=0,h=0,i=0,l=0,m=0,n=0;h=j[a+4>>2];if(!h){return j[a+24>>2]&e>>>k[a+31|0]<>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>2];a:{if((l|0)<1){h=0;break a}n=j[h+4>>2];m=-1;h=0;a=0;while(1){b:{f=(a<<2)+n|0;g=k[f+1|0]-c|0;i=p(g,g);g=k[f|0]-b|0;i=i+p(g,g)|0;g=k[f+2|0]-d|0;f=k[f+3|0]-e|0;f=(i+p(g,g)|0)+p(f,f)|0;if(f>>>0>>0){h=a;m=f;if(!f){break b}}a=a+1|0;if((l|0)!=(a|0)){continue}}break}}return h&255}function XB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=j[a+28>>2];a=j[g+20>>2];a:{if(!a){break a}b=l[a>>1];e=b<<16>>16;if((e|0)>=2){c=i[(j[a+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[a+2>>1];b:{if((b|0)<2){break b}d=j[a+4>>2];f=d+(c<<3)|0;d=(d+(b<<3)|0)-8|0;if(j[f>>2]!=j[d>>2]|j[f+4>>2]!=j[d+4>>2]|k[(j[a+8>>2]+b|0)-1|0]!=1){break b}b=b-1|0;i[a+2>>1]=b}if((e|0)<1){break a}f=c;c=(b<<16>>16)-1|0;if((f|0)==(c|0)){i[a+2>>1]=b-1;i[a>>1]=e-1;break a}i[(j[a+12>>2]+(e<<1)|0)-2>>1]=c}h[g+64|0]=0}function 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,l=0,m=0;g=j[a+4>>2];if(!g){return j[a+24>>2]|(c>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>2];a:{if((i|0)<1){g=0;break a}m=j[g+4>>2];l=-1;g=0;a=0;while(1){b:{e=(a<<2)+m|0;f=k[e+1|0]-c|0;h=p(f,f);f=k[e|0]-b|0;h=h+p(f,f)|0;f=k[e+2|0]-d|0;e=k[e+3|0]-255|0;e=(h+p(f,f)|0)+p(e,e)|0;if(e>>>0>>0){g=a;l=e;if(!e){break b}}a=a+1|0;if((i|0)!=(a|0)){continue}}break}}return g&255}function Oy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+20|0;if(e>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!(d-20>>>1>>>0>=c>>>0?!(d>>>0<20|d>>>0>j[b+160>>2]-a>>>0):0)){Pe(b,8)}if(!(!j[b+164>>2]|!c)){while(1){if(m[b+172>>2]<=(k[e+1|0]|k[e|0]<<8)>>>0){Pe(b,16)}e=e+2|0;c=c-1|0;if(c){continue}break}}return 0}function Mu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0;e=oe-16|0;oe=e;g=j[b+92>>2];j[a+40>>2]=l[b+68>>1];a:{if(fk(b)){j[b+92>>2]=0;break a}En(a,b);d=48;while(1){b:{f=d;d=0;c=j[j[a+36>>2]>>2];c:{if(!c){break c}c=j[c+92>>2];if(!c){break c}d=qe[j[j[c+12>>2]+12>>2]](c,f)|0}d:{if(!d){break d}if(el(b,d,e+12|0)){break d}c=i;i=1;d=j[e+12>>2];if(!c){k=d;break d}if((d|0)==(k|0)){break d}c=0;break b}c=1;d=f+1|0;if((d|0)!=58){continue}}break}h[a+32|0]=c}Ph(b,g);oe=e+16|0;return 0}function gN(a,b){var c=0,d=0;d=oe-32|0;oe=d;a:{b:{if((b|0)<0){break b}c=qe[j[58771]]()|0;if((c|0)<=(b|0)){break b}qe[j[58775]](d+16|0,b);b=j[d+28>>2];c=j[d+24>>2];h[a+8|0]=c;h[a+9|0]=c>>>8;h[a+10|0]=c>>>16;h[a+11|0]=c>>>24;h[a+12|0]=b;h[a+13|0]=b>>>8;h[a+14|0]=b>>>16;h[a+15|0]=b>>>24;b=j[d+20>>2];c=j[d+16>>2];h[a|0]=c;h[a+1|0]=c>>>8;h[a+2|0]=c>>>16;h[a+3|0]=c>>>24;h[a+4|0]=b;h[a+5|0]=b>>>8;h[a+6|0]=b>>>16;h[a+7|0]=b>>>24;break a}j[d>>2]=c;ve(125346,d);Oe(a,0,16)}oe=d+32|0}function XK(a){var b=0,c=0,d=0;a=j[a+52>>2];c=j[j[a>>2]+4>>2];if(k[c+8|0]>=8){b=k[c+9|0]}a:{b:{c:{d:{e:{f:{a=j[a+68>>2]&-28673;switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break a;case 18:break c;case 0:break e;default:break f}}a=a-256|0;if(!a){break d}if((a|0)==18){break b}break a}return j[(b<<2)+139136>>2]}return j[(b<<2)+139168>>2]}return b>>>0>1?757:0}d=b>>>0>1?758:0}return d}function QD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=oe-32|0;oe=d;j[d+16>>2]=b;e=j[a+48>>2];j[d+20>>2]=c-((e|0)!=0);f=j[a+44>>2];j[d+28>>2]=e;j[d+24>>2]=f;e=-1;a:{b:{g=Ma(j[a+60>>2],d+16|0,2,d+12|0)|0;f=0;c:{if(!g){break c}j[67100]=g;f=-1}if(!f){e=j[d+12>>2];if((e|0)>0){break b}}j[a>>2]=j[a>>2]|e&48^16;break a}g=j[d+20>>2];if(g>>>0>=e>>>0){break a}f=j[a+44>>2];j[a+4>>2]=f;j[a+8>>2]=f+(e-g|0);if(j[a+48>>2]){j[a+4>>2]=f+1;h[(b+c|0)-1|0]=k[f|0]}e=c}oe=d+32|0;return e|0}function Jt(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=oe-160|0;oe=d;b=Se(40);j[b>>2]=0;if(a){e=j[a+160>>2];a:{if(!j[a+164>>2]|(!e|(a|0)==(e|0))){break a}b=li(d,1,b,4);h=C()|0;while(1){if(c){break a}j[a+164>>2]=0;j[a+156>>2]=535;j[a+160>>2]=d;j[67126]=0;M(572,a|0,e|0);c=j[67126];j[67126]=0;f=-1;b:{if(!c){break b}g=j[67127];if(!g){break b}f=ef(j[c>>2],b,h);if(!f){F(c|0,g|0);z()}D(g|0)}c=C()|0;if((f|0)==1){continue}break}}j[a+164>>2]=0;j[a+156>>2]=0;j[a+160>>2]=0}ze(b);oe=d+160|0}function QA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=oe-16|0;oe=d;j[a+32>>2]=c;e=a,f=xe(c,4,0,b,0,d+12|0),j[e+24>>2]=f;a:{b:{if(j[d+12>>2]){break b}e=a,f=xe(c,4,0,b,0,d+12|0),j[e+28>>2]=f;if(j[d+12>>2]){break b}j[a+20>>2]=0;j[a+16>>2]=b;j[a+8>>2]=0;j[a+12>>2]=-559038737;j[a>>2]=0;j[a+4>>2]=0;b=j[5871];j[a+36>>2]=j[5870];j[a+40>>2]=b;b=j[5873];j[a+44>>2]=j[5872];j[a+48>>2]=b;a=0;break a}b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;a=j[d+12>>2]}oe=d+16|0;return a|0}function Lo(a,b){var c=0,d=0,e=0;d=oe-16|0;oe=d;c=j[a>>2]+1|0;j[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){Nf(d+12|0,b);c=j[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=k[c|0];if((e-48&255)>>>0<=9){break b}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}c=c+1|0;j[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(k[c|0]!=62){break c}}c=c+1|0;b=0}j[a>>2]=c;oe=d+16|0;return b}function CA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0;e=oe-32|0;oe=e;j[d>>2]=-1;Dh(a,e+16|0);if(j[e+24>>2]==3){i=j[a>>2];g=j[e+16>>2]+1|0;j[a>>2]=g;k=j[a+8>>2];h=j[e+20>>2]-1|0;j[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}c=p(c,12)+b|0;while(1){Dh(a,e);if(!j[e+8>>2]){break a}if(!(!b|c>>>0<=f>>>0)){g=j[e+4>>2];j[f>>2]=j[e>>2];j[f+4>>2]=g;j[f+8>>2]=j[e+8>>2]}f=f+12|0;if(m[a>>2]>2]){continue}break}}j[d>>2]=(f-b|0)/12;j[a+8>>2]=k;j[a>>2]=i}oe=e+32|0}function xM(a,b,c,d){var e=0,f=0,g=0;if(!a){ve(138144,0);return}e=j[a+4>>2];if(k[e+8|0]<=7){ve(138176,0);return}f=j[a+36>>2];a:{if((f|0)>(b|0)){break a}g=j[a+40>>2];if((j[a+44>>2]+f|0)<=(b|0)|(g|0)>(c|0)|(j[a+48>>2]+g|0)<=(c|0)){break a}b:{switch(k[e+9|0]-1|0){case 0:h[(j[a+20>>2]+p(j[a+16>>2],c)|0)+b|0]=d;return;case 1:i[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=d;return;case 2:Be(4);return;case 3:break b;default:break a}}j[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)>>2]=d}}function BN(){var a=0,b=0,c=0,d=0,e=0;d=oe-1024|0;oe=d;ij(124600,0);ij(124847,0);a=bg(125076);a:{if(!a|!k[a|0]){break a}if(Re(d,a,1024)>>>0>1023){break a}DN(Fi(d,124235))}e=bg(125106);if(!(!e|!k[e|0])){b=Le(e);a=b+1|0;c=qe[j[57972]](a?a:1)|0;if(c){j[57976]=j[57976]+1}Ge(c,e,b);h[b+c|0]=0;a=c;b=Dg(a,10);if(b){while(1){h[b|0]=0;ij(a,2);a=b+1|0;b=Dg(a,10);if(b){continue}break}}ij(a,2);if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}Eg(124238,663,0);Eg(124272,664,0);oe=d+1024|0}function uN(a){var b=0,c=0,d=0;if(a){b=j[a+4>>2];j[a+4>>2]=b-1;if((b|0)<=1){Am(j[a>>2]);b=j[67069];a:{if(!b){break a}if((a|0)!=(b|0)){while(1){c=j[b+32>>2];if(!c){break a}d=b;b=c;if((b|0)!=(a|0)){continue}break}}b=j[a+32>>2];if(d){j[d+32>>2]=b;break a}j[67069]=b}b=j[a+16>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+20>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+24>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}}function bu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;e=k[a+11|0]+7>>>3|0;a:{if(!e){d=b;break a}f=b+e|0;d=b;while(1){h[d|0]=k[c|0]+k[d|0];c=c+1|0;d=d+1|0;if(f>>>0>d>>>0){continue}break}}i=j[a+4>>2]+b|0;if(i>>>0>d>>>0){a=0-e|0;while(1){l=k[a+d|0];b=k[a+c|0];e=l-b|0;f=e>>31;m=k[c|0];g=m-b|0;n=g>>31;o=e+g|0;p=o>>31;q=b;b=f^e+f;e=n^g+n;f=(b|0)<(e|0);h[d|0]=k[d|0]+((p^p+o)<((f?b:e)|0)?q:f?m:l);c=c+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}}function lw(a,b,c,d){var e=0,f=0;e=oe-48|0;oe=e;j[e+36>>2]=c;j[e+32>>2]=b;j[e+20>>2]=c;j[e+16>>2]=b;j[e+24>>2]=16;j[e+28>>2]=28;j[e+4>>2]=c;j[e>>2]=b;f=(c|0)%4|0;c=f>>31;c=c^c+f;f=(b|0)%4|0;b=f>>31;f=b^b+f;b=e;a:{b:{c:{switch(d|0){case 0:j[e>>2]=c<<4;c=64;break b;case 1:j[e>>2]=f<<4;c=32;break b;case 2:j[e>>2]=c<<4;c=0;break b;case 3:break c;default:break a}}j[e>>2]=f<<4;c=96}j[b+4>>2]=c}j[e+8>>2]=16;j[e+12>>2]=28;Vr(a,e+40|0,e+44|0);hj(j[58882],a,e,e+16|0);oe=e+48|0}function DH(a){var b=0,c=0,d=0,e=0;c=j[a+100>>2];a:{if(!c){break a}b=j[67085];d=j[b+120>>2];if(!d){break a}qe[d|0](b,a,c)|0}if(j[67035]){pk(a);Dm(a,j[a+24>>2]/2|0,j[a+28>>2]/2|0)}d=0;c=j[67085];b=j[c+312>>2];e=j[a+48>>2];b:{if(!(!(j[67035]|e&256)|!(e&512))){c:{if(!b|(a|0)==(b|0)){break c}j[b+48>>2]=j[b+48>>2]&-257;d=j[c+128>>2];if(!d){break c}qe[d|0](c,b,0);c=j[67085]}j[c+312>>2]=a;d=1;break b}if((a|0)!=(b|0)){break b}j[c+312>>2]=0}b=j[c+128>>2];if(b){qe[b|0](c,a,d)}}function SA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a:{if(j[c+76>>2]){break a}f=8;e=a+1|0;if(e>>>0>b>>>0){break a}h=b;a=k[a|0];g=a&15;b=g+(a>>>4|0)|0;if(h>>>0<(b<<1)+e>>>0){break a}a=xe(j[c>>2],4,0,b,0,d+12|0);f=j[d+12>>2];if(f){break a}j[c+76>>2]=a;j[c- -64>>2]=(g<<2)+a;f=0;if(!b){break a}while(1){c=k[e|0]|k[e+1|0]<<8;j[a>>2]=(c<<24|c<<8&16711680)>>16;a=a+4|0;e=e+2|0;b=b-1|0;if(b){continue}break}f=j[d+12>>2]}oe=d+16|0;return f|0}function DL(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=35;a:{if(!(k[a+8|0]&2)){break a}e=7;if(j[b>>2]){break a}f=j[b+4>>2];g=f;e=j[b+12>>2];if(e){g=(p(e,f)+36|0)/72|0}d=j[b+8>>2];h=d;b=j[b+16>>2];if(b){h=(p(b,d)+36|0)/72|0}e=23;b=j[a+28>>2];if((b|0)<1){break a}d=d?h:g;h=(f?d:h)+32|0;f=(f?g:d)+32|0;g=j[a+32>>2];a=0;while(1){d=g+(a<<4)|0;if(!((h^j[d+12>>2]+32)>>>0>63|(f^j[d+8>>2]+32)>>>0>63)){e=0;if(!c){break a}j[c>>2]=a;return 0}a=a+1|0;if((b|0)>(a|0)){continue}break}}return e}function tO(a,b){a=a|0;b=b|0;var c=0;c=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>2|0;if(c){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){n[b>>2]=q(j[b>>2]>>8)*q(1.1920930376163597e-7);b=b+4|0;c=c-1|0;if(c){continue}break}}b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function fs(a,b){var c=0,d=0,e=0,f=0;e=j[67055];a:{b:{if((e|0)<=0){c=j[67056];break b}c=j[67056];while(1){f=j[(d<<2)+c>>2];if(j[f>>2]==(a|0)&j[f+4>>2]==(b|0)){break a}d=d+1|0;if((e|0)!=(d|0)){continue}break}}c=mf(c,(e<<2)+4|0);if(!c){return Be(0)}j[67056]=c;d=j[67055];c=qe[j[57972]](24)|0;if(c){j[57976]=j[57976]+1}j[j[67056]+(d<<2)>>2]=c;if(!c){return Be(0)}j[67055]=j[67055]+1;j[c+20>>2]=0;j[c+12>>2]=0;j[c+16>>2]=0;j[c+8>>2]=0;j[c>>2]=a;j[c+4>>2]=b;jO(a,b)}return d}function Mh(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!c|!(a&3)){break c}e=b&255;while(1){if((e|0)==k[a|0]){break b}a=a+1|0;c=c-1|0;d=(c|0)!=0;if(!c){break c}if(a&3){continue}break}}if(!d){break a}}d:{if(k[a|0]==(b&255)|c>>>0<4){break d}d=p(b&255,16843009);while(1){e=d^j[a>>2];if((e^-1)&e-16843009&-2139062144){break d}a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}b=b&255;while(1){if((b|0)==k[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function Qr(a){var b=0,c=0;if(!(j[a>>2]==268305?a:0)){ve(125709,0);return}b=j[a+340>>2];if(b){qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;c=a+420|0;while(1){b=c;c=j[b+8>>2];if(c){continue}break}j[b+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}if(!j[a+192>>2]){qe[j[a+76>>2]](a)}}function EN(a){var b=0;b=-1;a:{if(!(!a|!k[a|0])){if(!Me(a,124364)){return 0}if(Me(a,124366)){break a}b=1}return b}if(!Me(a,124368)){return 2}if(!Me(a,124370)){return 3}if(!Me(a,124372)){return 4}if(!Me(a,124377)){return 5}if(!Me(a,124383)){return 6}if(!Me(a,124389)){return 7}if(!Me(a,124399)){return 8}if(!Me(a,124410)){return 9}if(!Me(a,124423)){return 10}if(!Me(a,124437)){return 11}if(!Me(a,124442)){return 12}if(!Me(a,124449)){return 13}return Me(a,124456)?-1:14}function Ko(a,b,c,d){var e=0,f=0,g=0,i=0;i=j[a>>2];if(i>>>0>>0){f=1;b=b-i|0;d=d<<1;d=b>>>0>>0?b:d;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=k[b+i|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break c;default:break d}}if(e<<24>>24<0){break b}e=k[e+23856|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}h[c+g|0]=e;f=1;g=g+1|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}if((f|0)==1){break a}h[c+g|0]=f<<4;g=g+1|0}j[a>>2]=b+i}return g}function Ck(a,b,c,d,e,f){var g=0,h=0,i=0;if(j[a+220>>2]==j[a+376>>2]){j[a+240>>2]=0;j[a+236>>2]=d;h=f?4:2;i=a+224|0;d=1024;f=e;a:{while(1){if(!j[a+228>>2]){g=j[c>>2];d=d>>>0>g>>>0?g:d;j[c>>2]=g-d;if(d){pf(a,b,d);tf(a,b,d)}j[a+228>>2]=d;j[a+224>>2]=b}if(!j[a+240>>2]){g=j[e>>2];j[e>>2]=0;j[a+240>>2]=g}g=ai(i,j[c>>2]?0:h);if(g){d=j[e>>2];b=j[a+240>>2];break a}if(j[e>>2]|j[a+240>>2]){continue}break}d=0;b=0}j[f>>2]=b+d;j[a+240>>2]=0;jh(a,g);return}j[a+248>>2]=101386}function ZE(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;i=oe-16|0;oe=i;l=j[b+36>>2];m=(l|0)/2|0;n=Ff(b,p(m,f)<<2);j[i+12>>2]=n;a:{if((f|0)<1){break a}h=0;while(1){b=h<<2;q=j[b+e>>2]!=0;if((l|0)>=2){r=j[b+d>>2];b=h;k=0;while(1){j[(b<<2)+n>>2]=j[(k<<2)+r>>2];b=b+f|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}o=o+q|0;h=h+1|0;if((h|0)!=(f|0)){continue}break}if(!o){break a}tq(a,c,i+12|0,1,g)}oe=i+16|0;return 0}function Bz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;k=j[a+16>>2];a:{if(k){c=j[b>>2]+1|0;l=j[a+20>>2];h=k;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+l|0;f=j[e>>2];if((f|0)==(c|0)){a=j[((i<<3)+l|0)+4>>2];j[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?j[e+4>>2]:g;e=c>>>0>f>>>0;h=e?h:i;d=e?i+1|0:d;if(h>>>0>d>>>0){continue}break}if(g){break a}}c=0;g=0;if(d>>>0>=k>>>0){break a}a=j[a+20>>2]+(d<<3)|0;c=j[a>>2]&2147483647;g=j[a+4>>2]}j[b>>2]=c;return g|0}function Un(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,n=0;if(!j[a>>2]){return 65536}n=b&16384;f=65536;b=0;while(1){a:{k=f;h=b<<2;i=j[h+c>>2];b:{if(!i){break b}f=0;g=j[h+j[a+4>>2]>>2];if(!g|((g|0)<0?(i|0)>=1:0)|((g|0)>0?(i|0)<=-1:0)){break a}if(!n){f=g>>31;f=ye(k,f+g^f);break b}l=j[d+h>>2];if((l|0)>(g|0)){break a}h=j[e+h>>2];if((h|0)<(g|0)){break a}if((g|0)<(i|0)){f=Ne(k,g-l|0,i-l|0);break b}f=Ne(k,h-g|0,h-i|0)}b=b+1|0;if(b>>>0>2]){continue}}break}return f}function Ph(a,b){var c=0,d=0,e=0,f=0;f=oe-16|0;oe=f;a:{if(!a){c=35;break a}c=38;if(!b){break a}e=j[a+40>>2];if(!e){break a}c=j[b>>2];b:{if(!c){break b}c=j[c+96>>2];d=j[j[c>>2]+32>>2];if(!d){break b}c=qe[d|0](c,6559)|0;if(!c){break b}if(qe[j[c>>2]](b,f+8|0)|0){break b}c=6;if(j[f+12>>2]==14){break a}}c=6;d=j[a+36>>2];if((d|0)<=0){break a}d=(d<<2)+e|0;while(1){if(j[e>>2]!=(b|0)){e=e+4|0;if(d>>>0>e>>>0){continue}break a}break}j[a+92>>2]=b;c=0}oe=f+16|0;return c}function kE(a){var b=0,c=0,d=0;c=j[a+4>>2];if((c|0)>=0){b=j[a+12>>2];if(b){d=j[a+8>>2]-b|0;j[a+8>>2]=d;if((d|0)>=1){c=j[a>>2];tg(c,c+b|0,d);c=j[a+4>>2]}j[a+12>>2]=0}b=c;c=j[a+8>>2];a:{if((b-c|0)>=2048){b=j[a>>2];break a}c=c+6144|0;b=j[a>>2];b:{if(b){b=Vf(b,c);break b}b=Se(c)}if(!b){b=j[a>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;return 0}j[a+4>>2]=c;j[a>>2]=b;c=j[a+8>>2]}a=c+b|0}else{a=0}return a}function CG(a){a=a|0;a=Xe(1,1004);if(!a){Be(0);return 0}Tm(157491,157524);j[a+232>>2]=970;j[a+32>>2]=971;j[a+20>>2]=972;j[a+8>>2]=973;j[a+4>>2]=974;j[a+132>>2]=975;j[a+56>>2]=976;j[a+44>>2]=977;j[a+36>>2]=978;j[a+204>>2]=979;j[a+200>>2]=980;j[a+196>>2]=981;j[a+192>>2]=982;j[a+184>>2]=983;j[a+180>>2]=984;j[a+176>>2]=985;j[a+172>>2]=986;j[a+168>>2]=987;j[a+144>>2]=988;j[a+140>>2]=989;j[a+136>>2]=990;j[a+116>>2]=991;j[a+1e3>>2]=992;j[a+188>>2]=993;return a|0}function qr(a,b,c,d){var e=0,f=0,g=0;if(!a){return}if(!d){return}e=j[a+96>>2];j[d>>2]=0;j[d+4>>2]=0;e=j[j[e+12>>2]+76>>2];if(e){if(!(qe[e|0](a,b,c,d)|0)){f=d,g=ye(j[d>>2],j[j[a+88>>2]+16>>2]),j[f>>2]=g;f=d,g=ye(j[d+4>>2],j[j[a+88>>2]+20>>2]),j[f+4>>2]=g;c=d;b=j[a+88>>2];e=l[b+12>>1];if(e>>>0<=24){f=d,g=Ne(j[d>>2],e,25),j[f>>2]=g;b=j[a+88>>2]}a=l[b+14>>1];b=j[d+4>>2];a:{if(a>>>0>=25){break a}b=Ne(j[d+4>>2],a,25)}j[c+4>>2]=b+32&-64;j[d>>2]=j[d>>2]+32&-64}}}function hz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>65535){break a}c=j[a+16>>2];a=c+518|0;c=c+6|0;d=b>>>8|0;b:{if(!d){c=c+(b<<1&510)|0;if(!(k[c|0]<<8|k[c+1|0])){break b}break a}c=c+(d<<1)|0;c=k[c|0]<<8|k[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(k[a+1|0]|k[a|0]<<8)|0;if(b>>>0>=(k[a+3|0]|k[a+2|0]<<8)>>>0){break a}c=k[a+7|0]|k[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=k[b|0]<<8|k[b+1|0];if(!b){break a}e=b+(k[a+5|0]|k[a+4|0]<<8)&65535}return e|0}function XG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=oe-32|0;oe=e;d=km(376840196);if(d){f=em(a,d);im(d)}d=0;a:{if(!f){break a}i[e+28>>1]=105;j[e+24>>2]=1768515945;d=j[a+12>>2];a=j[a+8>>2];j[e+16>>2]=j[f+20>>2];j[e+12>>2]=c;j[e+8>>2]=b;j[e>>2]=a;j[e+4>>2]=d;a=E(155219,e+24|0,e|0)|0;lf(f);d=Xe(1,8);b:{if(d){b=Xe(1,8);if(!b){Be(0);if(d){qe[j[57975]](d);j[57976]=j[57976]-1}d=0;break a}j[b+4>>2]=1;j[b>>2]=a;j[d+4>>2]=b;break b}Be(0)}}oe=e+32|0;return d|0}function NA(a,b){a=a|0;b=b|0;var c=0;if(j[b+72>>2]==1651078259){c=j[a>>2];j[a+20>>2]=j[b+100>>2];j[a+24>>2]=j[b+104>>2];a=a+28|0;if(h[j[b+156>>2]+4|0]&1){c=j[b+80>>2];j[a>>2]=j[b+76>>2];j[a+4>>2]=c;c=j[b+96>>2];j[a+16>>2]=j[b+92>>2];j[a+20>>2]=c;c=j[b+88>>2];j[a+8>>2]=j[b+84>>2];j[a+12>>2]=c;a=j[b+156>>2];j[a+4>>2]=j[a+4>>2]&-2;return 0}if(a){j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}a=ll(c,b+76|0,a)}else{a=18}return a|0}function gm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=oe-32|0;oe=e;a:{if(!a){j[e>>2]=15e4;a=ve(149974,e);break a}d=j[j[a+4>>2]+4>>2];if(!(!d|m[d>>2]>c>>>0)){j[e+16>>2]=150008;a=ve(149974,e+16|0);break a}b:{if(!(b&2)){break b}d=j[a+52>>2];g=j[d+68>>2];f=g|4096;j[d+68>>2]=f;if((f|0)==(g|0)){break b}wf(d)}d=j[a+52>>2];f=j[d+68>>2];a=d;c:{if(b){j[d+72>>2]=c;b=f|256;break c}b=f&-257}j[a+68>>2]=b;a=0;if((b|0)==(f|0)){break a}wf(d)}oe=e+32|0;return a|0}function KG(a,b,c){a=a|0;b=b|0;c=c|0;a=oe-16|0;oe=a;b=j[b+24>>2];a:{b:{if(b>>>0<=127){h[a+11|0]=b;b=1;break b}if(b>>>0<=2047){h[a+12|0]=b&63|128;h[a+11|0]=b>>>6|192;b=2;break b}if(b>>>0<=65535){h[a+13|0]=b&63|128;h[a+11|0]=b>>>12|224;h[a+12|0]=b>>>6&63|128;b=3;break b}if(b>>>0>1114111){break a}h[a+14|0]=b&63|128;h[a+11|0]=b>>>18|240;h[a+13|0]=b>>>6&63|128;h[a+12|0]=b>>>12&63|128;b=4}h[b+(a+11|0)|0]=0;gO(a+11|0)}b=We(771,-1);oe=a+16|0;return(b|0)==1|0}function $C(a){var b=0,c=0,d=0,e=0;if(a){e=j[j[a+128>>2]>>2];c=j[a+88>>2];b=c;d=j[a+72>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+72>>2]=0;b=j[a+76>>2];if(b){qe[j[c+8>>2]](c,b)}h[a+92|0]=0;j[a+84>>2]=-1;j[a+64>>2]=0;j[a+68>>2]=0;j[a+76>>2]=0;c=j[a+120>>2];b=c;d=j[a+104>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+104>>2]=0;b=j[a+108>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+128>>2]=0;h[a+124|0]=0;j[a+116>>2]=-1;j[a+96>>2]=0;j[a+100>>2]=0;j[a+108>>2]=0;if(a){qe[j[e+8>>2]](e,a)}}}function nz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=j[a+24>>2];j[a+48>>2]=c;b=j[a+28>>2];j[a+52>>2]=b;d=j[a+8>>2]+1|0;e=d+j[a>>2]>>1;j[a+8>>2]=e;f=j[a+16>>2];c=(c+f|0)+1>>1;j[a+40>>2]=c;g=j[a+12>>2]+1|0;h=g+j[a+4>>2]>>1;j[a+12>>2]=h;i=j[a+20>>2];b=(b+i|0)+1>>1;j[a+44>>2]=b;d=(d+f>>1)+1|0;e=d+e>>1;j[a+16>>2]=e;c=c+d>>1;j[a+32>>2]=c;f=b;b=(g+i>>1)+1|0;d=f+b>>1;j[a+36>>2]=d;b=b+h>>1;j[a+20>>2]=b;j[a+24>>2]=(c+e|0)+1>>1;j[a+28>>2]=(b+d|0)+1>>1}function uA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{a=j[a+20>>2];if(!a){break a}b=l[a>>1];e=b<<16>>16;if((e|0)>=2){d=i[(j[a+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[a+2>>1];b:{if((b|0)<2){break b}c=j[a+4>>2];f=c+(d<<3)|0;c=(c+(b<<3)|0)-8|0;if(j[f>>2]!=j[c>>2]|j[f+4>>2]!=j[c+4>>2]|k[(j[a+8>>2]+b|0)-1|0]!=1){break b}b=b-1|0;i[a+2>>1]=b}if((e|0)<1){break a}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){i[a+2>>1]=b-1;i[a>>1]=e-1;return}i[(j[a+12>>2]+(e<<1)|0)-2>>1]=d}}function yy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;c=j[a+28>>2];g=j[a+16>>2];e=j[a+24>>2];j[d+12>>2]=0;a:{b:{f=e+1|0;c:{if(c>>>0>=f>>>0){b=j[a+32>>2];break c}j[a+36>>2]=b;b=xe(b,4,c,f,j[a+32>>2],d+12|0);j[a+32>>2]=b;if(j[d+12>>2]){break b}j[a+28>>2]=f}if(e){a=g+10|0;c=0;while(1){j[(c<<2)+b>>2]=k[a+2|0]|(k[a+1|0]<<8|k[a|0]<<16);a=a+11|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[(e<<2)+b>>2]=0;break a}b=0}oe=d+16|0;return b|0}function mO(){var a=0,b=0;a:{b:{c:{a=j[66107];d:{e:{f:{if(a){b=j[a>>2];if(!(b&8)){break f}break d}a=Xe(1,32);j[66107]=a;if(!a){break e}b=j[a>>2]}j[a>>2]=b|8;lj(771,771);a=j[66107]}if(!a){break c}}b=j[a>>2];if(!(b&4)){break b}break a}a=Xe(1,32);j[66107]=a;if(!a){break a}b=j[a>>2]}j[a>>2]=b|4;lj(770,770)}a=j[66106];g:{h:{if(a){b=j[a>>2];if(!(b&2)){break h}break g}a=Xe(1,32);j[66106]=a;if(!a){break g}b=j[a>>2]}j[a>>2]=b|2;lj(513,513)}j[57840]=1}function _l(a,b,c){var d=0,e=0,f=0,g=0;e=oe+ -64|0;oe=e;d=j[a+992>>2];a:{if(!d){f=ve(153010,0);break a}g=j[d+8>>2];d=j[d+84>>2];if(!(c?b:0)){qe[d|0](g,0,0,0)|0;f=0;break a}f=0;if(qe[d|0](g,b,b,c)|0){break a}b=153556;c=e;a=qe[j[j[a+992>>2]+116>>2]]()|0;d=a-12288|0;if(d>>>0<=14){b=j[(d<<2)+153560>>2]}if(!k[b|0]){j[e+16>>2]=a;Ue(e+32|0,32,152611,e+16|0);b=e+32|0}j[c+8>>2]=b;j[e+4>>2]=152721;j[e>>2]=153033;f=ve(152616,e)}d=f;oe=e- -64|0;return d}function Bp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;f=d&2147483647;i=f;g=c;a:{if(!c&(f|0)==2147418112?a|b:(f|0)==2147418112&(c|0)!=0|f>>>0>2147418112){break a}f=e&2147483647;j=f;if((f|0)==2147418112?0:f>>>0>2147418112){break a}if(!(a|g|(i|j|b))){return 0}g=d&e;if((g|0)>0?1:(g|0)>=0){if(!c&(d|0)==(e|0)?0:(d|0)<(e|0)){break a}return(a|c)!=0|(d^e|b)!=0}if(!c&(d|0)==(e|0)?a|b:(d|0)>(e|0)?1:(d|0)>=(e|0)?c:0){break a}h=(a|c)!=0|(d^e|b)!=0}return h}function yG(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=q(0),f=0,g=0,h=0;a:{a=j[b+144>>2];if(!a){break a}b:{if(!(k[b+49|0]&32)){c=n[a+16>>2];d=a+16|0;break b}c=q(+L());n[a+16>>2]=c;d=a+16|0}e=q(c*q(j[b+28>>2]));c:{if(q(r(e))>2];c=q(c*q(j[b+24>>2]));d:{if(q(r(c))>2]|n[d>>2]==q(1)){break a}Q(j[a+12>>2],+j[b+24>>2],+j[b+28>>2])|0}}function xe(a,b,c,d,e,f){var g=0;if((b|c|d)<0){j[f>>2]=6;return e}a:{b:{c:{if(!(d?b:0)){if(!e){break c}qe[j[a+8>>2]](a,e);break c}g=10;if((2147483647/(b|0)|0)<(d|0)){break a}if(!c){e=0;g=p(b,d);if((g|0)<=0){g=g?6:0;break b}e=qe[j[a+4>>2]](a,g)|0;if(!e){j[f>>2]=64;return 0}Ee(e,0,g);g=0;break b}a=qe[j[a+12>>2]](a,p(b,c),p(b,d),e)|0;e=a?a:e;g=!a<<6;break b}e=0;g=0}if(g|(c|0)>=(d|0)){break a}g=0;Ee(p(b,c)+e|0,0,p(d-c|0,b))}j[f>>2]=g;return e}function mu(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(!(!b|!(k[b+9|0]&2))){Ie(a,c);Je(a,100016);break a}if(e&4){j[a+208>>2]=e|8}if((c|0)!=7){Ie(a,c);Je(a,99995);break a}pf(a,d+9|0,7);tf(a,d+9|0,7);if(Ie(a,0)){break a}h[d+6|0]=k[d+15|0];c=k[d+11|0]|k[d+12|0]<<8|(k[d+13|0]<<16|k[d+14|0]<<24);i[d+2>>1]=c;i[d+4>>1]=c>>>16;c=k[d+9|0]|k[d+10|0]<<8;i[d>>1]=(c<<24|c<<8&16711680)>>>16;Ju(a,b,d)}oe=d+16|0;return}hf(a,100003);z()}function Nl(a,b){var c=0,d=0,e=0,f=0,g=0;f=-1;a:{if(b>>>0>32){break a}d=j[a+4>>2];e=d+b|0;b:{c=j[a>>2];g=j[a+16>>2];if((c|0)<(g-4|0)){break b}if((g-(e+7>>3)|0)<(c|0)){break a}if(e){break b}return 0}f=j[(b<<2)+223632>>2];b=j[a+12>>2];a=k[b|0]>>>d|0;c=a;c:{if((e|0)<9){break c}a=k[b+1|0]<<8-d|a;c=a;if((e|0)<17){break c}a=k[b+2|0]<<16-d|a;c=a;if((e|0)<25){break c}a=k[b+3|0]<<24-d|a;c=a;if(!d|(e|0)<33){break c}c=k[b+4|0]<<32-d|a}f=c&f}return f}function LD(a,b){a:{if(a){if(b>>>0<=127){break a}b:{if(!j[j[58826]>>2]){if((b&-128)==57216){break a}break b}if(b>>>0<=2047){h[a+1|0]=b&63|128;h[a|0]=b>>>6|192;return 2}if(!((b&-8192)!=57344?b>>>0>=55296:0)){h[a+2|0]=b&63|128;h[a|0]=b>>>12|224;h[a+1|0]=b>>>6&63|128;return 3}if(b-65536>>>0<=1048575){h[a+3|0]=b&63|128;h[a|0]=b>>>18|240;h[a+2|0]=b>>>6&63|128;h[a+1|0]=b>>>12&63|128;return 4}}j[67100]=25;a=-1}else{a=1}return a}h[a|0]=b;return 1}function YD(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=k[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=j[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=p(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=j[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=k[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return Le(a)+a|0}return a}function Xr(a,b,c){var d=0,e=0;d=oe+ -64|0;oe=d;a:{b:{c:{switch(c|0){case 1:j[d+8>>2]=1539;break b;case 0:break c;default:break a}}j[d+8>>2]=1540}if(k[j[a+56>>2]+b|0]==(c|0)|j[a+52>>2]<=(b|0)){break a}d:{if(k[268304]){break d}e=j[67085];if(e){e=j[e+308>>2]!=0}else{e=0}if(!e|(c|0)!=1){break d}if(!j[66371]){break a}}h[j[a+56>>2]+b|0]=c;if((We(j[d+8>>2],-1)|0)!=1){break a}a=j[a>>2];h[d+21|0]=c;h[d+20|0]=b;j[d+16>>2]=a;gf(d+8|0)}oe=d- -64|0}function As(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}d=j[a+12>>2];e=(d+b|0)-1|0;f=(e>>>0)/(d>>>0)|0;c=j[a+8>>2];b=j[a>>2];b:{if(!b){b=c;break b}j[j[a+4>>2]+8>>2]=c}c=0;j[a+16>>2]=0;j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=b;a=a+8|0;if(!(!b|d>>>0>e>>>0)){while(1){a=b;b=j[a+8>>2];if(b){c=c+1|0;if(f>>>0>c>>>0){continue}}break}a=a+8|0}j[a>>2]=0;if(!b){break a}while(1){a=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=a;if(a){continue}break}}}function js(a){var b=0,c=0;b=j[66371];if(!(!b|a)){while(1){if(k[c+265490|0]==1){Hm(0,c)}c=c+1|0;if((c|0)!=512){continue}break}b=j[66371]}a:{if(!b|(a|0)==(b|0)){break a}if(k[b+49|0]&64){Em(0);b=j[66371]}Cf(b,13,0,0);if(!We(771,-1)){break a}c=j[67085];if(!c){break a}b=j[c+244>>2];if(!b){break a}qe[b|0](c)}j[66371]=a;b:{if(!a){break b}Cf(a,12,0,0);if(!We(771,-1)){break b}b=j[67085];if(!b){break b}a=j[b+240>>2];if(!a){break b}qe[a|0](b)}}function XM(a,b){var c=0,d=0;a:{if(kk(a,k[b+32|0],k[b+33|0],k[b+34|0],k[b+35|0])){break a}b:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break b}c=Xe(1,28);if(c){break b}Be(0);break a}d=j[a+344>>2];j[(d?d+24|0:a+340|0)>>2]=c;j[a+344>>2]=c;if(!c){break a}j[c+4>>2]=0;j[c+8>>2]=0;j[c>>2]=8;h[c+12|0]=k[b+32|0];h[c+13|0]=k[b+33|0];h[c+14|0]=k[b+34|0];h[c+15|0]=k[b+35|0];a=j[b+24>>2];j[c+20>>2]=b;j[c+16>>2]=a;return c}return 0}function EG(a){ua(j[a+12>>2],0,0,0,2)|0;ta(j[a+12>>2],0,0,0,2)|0;sa(1,0,0,0,2)|0;ra(j[a+12>>2],0,0,0,2)|0;qa(j[a+12>>2],0,0,0,2)|0;pa(j[a+12>>2],0,0,0,2)|0;oa(2,0,0,0,2)|0;na(2,0,0,0,2)|0;ma(j[a+12>>2],0,0,0,2)|0;la(j[a+12>>2],0,0,0,2)|0;ka(j[a+12>>2],0,0,0,2)|0;ja(j[a+12>>2],0,0,0,2)|0;ia(1,0,0,0,2)|0;a=bg(156524);a=a?a:2;ha(a|0,0,0,0,2)|0;ga(a|0,0,0,0,2)|0;fa(a|0,0,0,0,2)|0;ea(1,0,0,0,2)|0;da(2,0,0,0,2)|0;ca(0,0,0,2)|0;ba(0,0,1)|0}function _K(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0;c=j[a+36>>2]/2|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){h=j[a+16>>2]+(b+e|0)|0;m=j[a+48>>2];n=j[a+56>>2];b=j[a>>2];d=j[a+20>>2];o=(e|0)<1;p=c<<1;while(1){f=f-1|0;a=0;c=0;if(!o){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(n|0)){i[d>>1]=l[(g<<1)+m>>1]}d=d+2|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+h|0;d=d+p|0;if(f){continue}break}}}function YK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;c=j[a+36>>2]/4|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){h=j[a+16>>2]+(b+e|0)|0;i=j[a+48>>2];l=j[a+56>>2];b=j[a>>2];d=j[a+20>>2];m=(e|0)<1;n=c<<2;while(1){f=f-1|0;a=0;c=0;if(!m){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(l|0)){j[d>>2]=j[(g<<2)+i>>2]}d=d+4|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+h|0;d=d+n|0;if(f){continue}break}}}function xl(a){a=a|0;var b=0,c=0;if(a){c=j[a+100>>2];mp(j[a+140>>2]);b=j[a+144>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+144>>2]=0;b=j[a+132>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+136>>2]=0;b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+32>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0}}function tN(){var a=0,b=0;while(1){a=j[67062];if(a){j[67062]=j[a+28>>2];b=j[a+16>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+20>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}continue}break}ms(665,0);$h(124238,663,0);$h(124272,664,0);a=j[67065];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}Oe(268252,0,12)}a=j[67068];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}Oe(268264,0,12)}}function pL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((c|0)>=1){g=k[e+34|0];h=k[e+30|0];i=k[e+33|0];l=k[e+29|0];m=k[e+32|0];n=k[e+28|0];o=k[d+35|0];p=k[d+34|0];q=k[d+33|0];r=k[d+32|0];while(1){e=j[b>>2];j[a>>2]=(e&j[d+12>>2])>>>r>>>n<>2])>>>o<<24|(e&j[d+16>>2])>>>q>>>l<>2])>>>p>>>h<>2];if(!f){return 6}g=j[f+32>>2];if(g){a=0;while(1){e=j[f+28>>2]+p(a,20)|0;a:{if(j[e>>2]!=(c|0)){break a}h=j[e+4>>2];if((h|0)>(b|0)){j[d>>2]=j[e+8>>2];break a}i=j[e+12>>2];if((i|0)<(b|0)){j[d>>2]=j[e+16>>2];break a}k=d,l=Ne(b-h|0,j[e+16>>2]-j[e+8>>2]|0,i-h|0)+j[e+8>>2]|0,j[k>>2]=l;g=j[f+32>>2]}a=a+1|0;if(g>>>0>a>>>0){continue}break}}return 0}function fN(a,b){var c=0,d=0,e=0,f=0,g=0,i=0;e=Le(b);Oe(a,0,16);g=e&-2;a:{if(!g){break a}e=a;while(1){c=k[b+f|0];d=c-48|0;b:{if((d&255)>>>0<10){break b}if((c-65&255)>>>0<=5){d=c-55|0;break b}d=(c-97&255)>>>0<6?c-87|0:0}i=d<<4;c=k[(f|1)+b|0];d=c-48|0;c:{if((d&255)>>>0<10){break c}if((c-65&255)>>>0<=5){d=c-55|0;break c}d=(c-97&255)>>>0<6?c-87|0:0}h[e|0]=d|i;f=f+2|0;if(g>>>0<=f>>>0){break a}e=e+1|0;if((e-a|0)<16){continue}break}}}function OE(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=oe-32|0;oe=b;a:{if(!a){break a}d=j[a+4>>2];c=j[a>>2];j[b+20>>2]=c;j[b+8>>2]=0;j[b+12>>2]=0;j[b+24>>2]=d;j[b+16>>2]=c;if(!j[a+8>>2]){break a}if((Ce(b+8|0,8)|0)!=1){break a}f=b,g=Ce(b+8|0,8),h[f+2|0]=g;f=b,g=Ce(b+8|0,8),h[f+3|0]=g;f=b,g=Ce(b+8|0,8),h[f+4|0]=g;f=b,g=Ce(b+8|0,8),h[f+5|0]=g;f=b,g=Ce(b+8|0,8),h[f+6|0]=g;f=b,g=Ce(b+8|0,8),h[f+7|0]=g;e=!wg(b+2|0,198172,6)}oe=b+32|0;return e}function wr(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}b=j[a>>2];if(!b){return}e=j[b+96>>2];if(!e){return}d=j[e+8>>2];f=b+108|0;c=ph(f,a);if(!c){break a}Ih(f,c);if(c){qe[j[d+8>>2]](d,c)}b:{if(j[b+88>>2]!=(a|0)){break b}j[b+88>>2]=0;c=j[b+108>>2];if(!c){break b}j[b+88>>2]=j[c+8>>2]}b=j[a+8>>2];if(b){qe[b|0](a)}b=j[j[e+12>>2]+60>>2];if(b){qe[b|0](a)}b=j[a+40>>2];if(b){qe[j[d+8>>2]](d,b)}j[a+40>>2]=0;if(a){qe[j[d+8>>2]](d,a)}}}function cL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;d=j[a+24>>2];b=(d+7|0)/-8|0;e=j[a+28>>2];if(e){l=j[a+16>>2]+(b+d|0)|0;i=j[a+48>>2];m=j[a+36>>2];b=j[a>>2];a=j[a+20>>2];n=(d|0)<1;while(1){e=e-1|0;f=0;g=0;if(!n){while(1){if(!(f&7)){g=k[b|0];b=b+1|0}c=g>>>5&4;h[a|0]=k[c+i|0];c=(c|1)+i|0;h[a+1|0]=k[c|0];h[a+2|0]=k[c+1|0];a=a+3|0;g=g<<1;f=f+1|0;if((f|0)!=(d|0)){continue}break}}a=a+m|0;b=b+l|0;if(e){continue}break}}}function qF(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0;a:{if(j[a+8>>2]<1){break a}h=(c|0)/(d|0)|0;k=(c+f|0)/(d|0)|0;if((h|0)>=(k|0)){break a}f=0;while(1){g=-1;c=vi(a,e);if((c|0)==-1){break a}g=j[a>>2];if((g|0)>=1){l=j[a+16>>2]+(p(c,g)<<2)|0;c=0;while(1){i=j[(f<<2)+b>>2]+(h<<2)|0;n[i>>2]=n[(c<<2)+l>>2]+n[i>>2];f=f+1|0;i=(f|0)==(d|0);f=i?0:f;h=h+i|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if((h|0)<(k|0)){continue}break}g=0}return g}function qD(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=oe-16|0;oe=d;f=(tP(b),oP(2));c=f&2147483647;a:{if(c-8388608>>>0<=2130706431){e=c;c=c>>>7|0;g=e<<25;c=c+1065353216|0;break a}if(c>>>0>=2139095040){c=f;e=c>>>7|0;g=c<<25;c=e|2147418112;break a}if(!c){c=0;break a}e=c;c=s(c);Of(d,e,0,0,0,c+81|0);h=j[d>>2];i=j[d+4>>2];g=j[d+8>>2];c=j[d+12>>2]^65536|16265-c<<16}j[a>>2]=h;j[a+4>>2]=i;j[a+8>>2]=g;j[a+12>>2]=f&-2147483648|c;oe=d+16|0}function cB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=j[a+16>>2];f=j[b>>2];a:while(1){if(!e){j[b>>2]=0;return 0}f=f+1|0;i=j[a+20>>2];c=0;d=e;while(1){g=(d-c>>>1|0)+c|0;h=j[(g<<4)+i>>2];if((h|0)==(f|0)){if(!g){continue a}j[b>>2]=f;return g+1|0}h=f>>>0>h>>>0;d=h?d:g;c=h?g+1|0:c;if(d>>>0>c>>>0){continue}break}break}d=0;if(c>>>0>=e>>>0){j[b>>2]=0;return 0}e=0;if(c){e=j[j[a+20>>2]+(c<<4)>>2];d=c+1|0}j[b>>2]=e;return d|0}function 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,l=0,m=0,n=0;f=oe-16|0;oe=f;Nf(a,j[a+8>>2]);g=j[a>>2];j[f+12>>2]=g;h=j[a+8>>2];a:{if(h>>>0<=g>>>0){break a}l=a;b:{if(e){i=3;if(k[g|0]!=60){break a}j[f+12>>2]=g+1;m=d,n=Ko(f+12|0,h,b,c),j[m>>2]=n;b=j[a+8>>2];a=j[f+12>>2];if(k[a|0]!=62?b>>>0>a>>>0:0){break a}a=a+1|0;break b}m=d,n=Ko(f+12|0,h,b,c),j[m>>2]=n;a=j[f+12>>2]}j[l>>2]=a;i=0}oe=f+16|0;return i|0}function wN(){var a=0,b=0,c=0,d=0,e=0,f=0;a=oe;f=a;b=Bh(0,0,1,1619,1619);a:{if((b|0)<1){break a}c=p(b,56);b:{if(c>>>0<=127){a=a-(c+15&-16)|0;oe=a;break b}a=qe[j[57972]](c?c:1)|0;if(a){j[57976]=j[57976]+1}if(!a){break a}}b=Bh(a,b,2,1619,1619);if((b|0)>=1){while(1){e=p(d,56)+a|0;j[e+8>>2]=j[e+8>>2]-1;d=d+1|0;if((b|0)!=(d|0)){continue}break}}Bh(a,b,0,0,0);if(c>>>0<128){break a}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=f}function kN(){var a=0,b=0,c=0,d=0,e=0,f=0;a=oe;f=a;b=Bh(0,0,1,1541,1541);a:{if((b|0)<1){break a}c=p(b,56);b:{if(c>>>0<=127){a=a-(c+15&-16)|0;oe=a;break b}a=qe[j[57972]](c?c:1)|0;if(a){j[57976]=j[57976]+1}if(!a){break a}}b=Bh(a,b,2,1541,1541);if((b|0)>=1){while(1){e=p(d,56)+a|0;j[e+8>>2]=j[e+8>>2]-1;d=d+1|0;if((b|0)!=(d|0)){continue}break}}Bh(a,b,0,0,0);if(c>>>0<128){break a}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=f}function _g(a){var b=0,c=0,d=0,e=0;d=j[a+104>>2];b=j[a+84>>2];if(b){while(1){c=j[b+4>>2];ze(j[b>>2]);ze(b);b=c;if(b){continue}break}}b=j[a+68>>2];c=j[a+80>>2];if(c){b=Vf(b,c+j[a+76>>2]|0);j[a+68>>2]=b;c=j[a+80>>2];j[a+80>>2]=0;j[a+76>>2]=c+j[a+76>>2]}j[a+84>>2]=0;j[a+72>>2]=0;if(b){ze(b)}if(d){e=d+12|0;b=0;while(1){c=(b<<2)+e|0;gE(j[c>>2]);if((b|0)!=7){ze(j[c>>2])}b=b+1|0;if((b|0)!=15){continue}break}ze(d)}Ee(a,0,112)}function nw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;j[d>>2]=0;j[d+4>>2]=0;e=j[a+492>>2];if(e){h=d;a=j[e+36>>2];e=(a+(j[e+40>>2]<<4)|0)-16|0;a:{if(a>>>0<=e>>>0){c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=j[b>>2]<<16|j[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;j[d>>2]=j[a+8>>2];a=j[a+12>>2];break a}f=c>>>0>g>>>0;a=f?b+16|0:a;e=f?e:b-16|0;if(a>>>0<=e>>>0){continue}break}}j[d>>2]=0;a=0}j[h+4>>2]=a}return 0}function mx(a){a=a|0;var b=0,c=0,d=0;b=j[a+200>>2];d=b+10|0;if(d>>>0<=m[a+204>>2]){c=k[b|0]|k[b+1|0]<<8;i[a+32>>1]=(c<<24|c<<8&16711680)>>>16;c=k[b+2|0]|k[b+3|0]<<8;j[a+36>>2]=(c<<24|c<<8&16711680)>>16;c=k[b+4|0]|k[b+5|0]<<8;j[a+40>>2]=(c<<24|c<<8&16711680)>>16;c=k[b+6|0]|k[b+7|0]<<8;j[a+44>>2]=(c<<24|c<<8&16711680)>>16;b=k[b+8|0]|k[b+9|0]<<8;j[a+200>>2]=d;j[a+48>>2]=(b<<8&16711680|b<<24)>>16;a=0}else{a=20}return a|0}function ZK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;d=j[a+24>>2];b=(d+7|0)/-8|0;e=j[a+28>>2];if(e){h=j[a+16>>2]+(b+d|0)|0;i=j[a+48>>2];l=j[a+56>>2];m=j[a+36>>2];b=j[a>>2];c=j[a+20>>2];n=(d|0)<1;while(1){e=e-1|0;a=0;f=0;if(!n){while(1){if(!(f&7)){a=k[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(l|0)){Ge(c,(g<<2)+i|0,3)}c=c+3|0;a=a<<1;f=f+1|0;if((f|0)!=(d|0)){continue}break}}c=c+m|0;b=b+h|0;if(e){continue}break}}}function JC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=j[a>>2];d=j[f+140>>2];c=j[b+8>>2];g=j[f+32>>2];e=j[b+16>>2];if(e){c=(p(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(j[b>>2]){case 0:c=23;if((e|0)==j[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(j[d+44>>2]+j[d+40>>2]|0)){break a}}c=0;Cg(f,0);j[a+24>>2]=j[d+40>>2]<<6;j[a+28>>2]=0-(j[d+44>>2]<<6);j[a+36>>2]=l[d+4>>1]<<6}return c|0}function BJ(a,b,c){var d=0,e=0,f=0;if(!a){return 35}if(!c){return 6}h[c|0]=0;e=16;a:{if(j[a+16>>2]<=(b|0)){break a}if(!(k[a+9|0]&2)){return 6}e=6;b:{c:{f=j[a+128>>2];d=j[f+36>>2];switch(d+2|0){case 0:break a;case 2:break c;default:break b}}d=j[a+96>>2];e=j[j[d>>2]+32>>2];d:{if(!e){d=0;break d}d=qe[e|0](d,6548)|0;f=j[a+128>>2]}j[f+36>>2]=d?d:-2}if(!d){return 6}e=6;d=j[d>>2];if(!d){break a}e=qe[d|0](a,b,c,8)|0}return e}function nH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe+ -64|0;oe=c;d=j[a+992>>2];a:{if(!d){a=ve(153068,0);break a}e=qe[j[d+92>>2]](j[d+8>>2],b)|0;d=j[a+992>>2];if((e|0)==1){j[d+16>>2]=b;a=0;break a}a=153556;b=c;d=qe[j[d+116>>2]]()|0;e=d-12288|0;if(e>>>0<=14){a=j[(e<<2)+153560>>2]}if(!k[a|0]){j[c+16>>2]=d;Ue(c+32|0,32,152611,c+16|0);a=c+32|0}j[b+8>>2]=a;j[c+4>>2]=152751;j[c>>2]=153088;a=ve(152616,c)}oe=c- -64|0;return a|0}function We(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=(a&-2)==4096&b>>>0<2;e=(a>>>6&1020)+264416|0;c=j[e>>2];a:{if(c){d=0;if(j[(a>>>3&28)+c>>2]>>>a&1){break a}}d=1}g=d;b:{if((b|0)==(d|0)){break b}c:{switch(b|0){case 0:if(!c){c=Xe(1,32);j[e>>2]=c;if(!c){break b}}b=(a>>>3&28)+c|0;j[b>>2]=j[b>>2]|1<>>3&28)+c|0;d=j[b>>2];h=b,i=lP(-2,a)&d,j[h>>2]=i}if(f){KH()}return g}function Hj(a,b,c){var d=0,e=0,f=0,g=0;e=oe-16|0;g=e;oe=e;a:{if(!j[65534]){ve(1877,0);break a}if(!b){ve(2032,0);break a}e=e-((Le(b)<<1)+16&-16)|0;oe=e;d=e;f=k[b|0];if(f){while(1){b=b+1|0;b:{if(f<<24>>24>=0){h[d|0]=f;d=d+1|0;break b}h[d+1|0]=f&63|128;h[d|0]=(f&192)>>>6|192;d=d+2|0}f=k[b|0];if(f){continue}break}}h[d|0]=0;j[g+12>>2]=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);d=OC(a,e,g+12|0)}oe=g+16|0;return d}function FL(a,b){var c=0,d=0,e=0,f=0;d=Le(b);d=d>>>0<31?d:31;if(d){c=d-1|0;e=k[c+b|0];a:{if((e- -64&255)>>>0<53){break a}if(e<<24>>24>-1){c=d;break a}if(e>>>0>191){c=d;break a}if(!c){c=d;break a}f=2;b:{if((e&224)==192){break b}while(1){if((e&240)==224){f=3;break b}if((e+16&255)>>>0<=4){f=4;break b}c=c-1|0;if(!c){c=d;break a}e=k[b+c|0];if((e&224)!=192){continue}break}}c=(d-c|0)==(f|0)?d:c}Ae(a,b,c)}h[a+c|0]=0}function BL(a){var b=0,c=0,d=0;a:{b:{c:{b=j[67080];if(!b){break c}d:{if(!j[b>>2]){c=b;break d}while(1){c=j[b+8>>2];if(!c){break c}d=b;b=c;if(j[b>>2]){continue}break}}if(a){j[c+4>>2]=a;break b}j[(d?d+8|0:268320)>>2]=j[c+8>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}break b}b=qe[j[57972]](12)|0;if(b){j[57976]=j[57976]+1}if(!b){break a}j[b+4>>2]=a;j[b>>2]=0;j[b+8>>2]=j[67080];j[67080]=b}return 0}return Be(0)}function zv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=j[b+8>>2];f=j[a>>2];g=j[f+32>>2];e=j[f+132>>2];d=j[b+16>>2];if(d){c=(p(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(j[b>>2]){case 0:c=23;if((d|0)==j[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=l[e+96>>1]){break a}}c=0;Cg(f,0);b=l[e+80>>1];j[a+24>>2]=b<<6;j[a+28>>2]=b-l[e+96>>1]<<6;j[a+36>>2]=l[e+102>>1]<<6}return c|0}function mB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[b+8>>2];d=j[a>>2];f=j[d+32>>2];e=j[b+16>>2];if(e){c=(p(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(j[b>>2]){case 0:c=23;if((e|0)==j[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(j[d+208>>2]+j[d+204>>2]|0)){break a}}c=0;Cg(d,0);j[a+24>>2]=j[d+204>>2]<<6;j[a+28>>2]=0-(j[d+208>>2]<<6);j[a+36>>2]=i[d+236>>1]<<6}return c|0}function bm(a,b){var c=0,d=0,e=0,f=0;e=oe-16|0;oe=e;c=j[67085];a:{if(!c){ve(151717,0);break a}d=j[c+300>>2];if(!((d|0)>(a|0)?(a|0)>=0:0)){j[e>>2]=d-1;ve(150376,e);break a}if(!b){break a}d=j[c+304>>2];f=j[c+16>>2];if(f){if(!(qe[f|0](c,d+p(a,72)|0,b)|0)){break a}}b:{if(!a){j[b>>2]=0;j[b+4>>2]=0;break b}bm(a-1|0,b);j[b>>2]=j[b>>2]+j[b+8>>2]}a=d+p(a,72)|0;j[b+8>>2]=j[a+40>>2];j[b+12>>2]=j[a+44>>2]}oe=e+16|0}function sF(a,b,c,d){var e=0,f=0,g=0,h=0;a:{if(j[a+8>>2]<=0){if((d|0)<1){break a}Ee(b,0,d<<2);break a}if((d|0)<1){break a}while(1){e=-1;g=vi(a,c);if((g|0)==-1){break a}h=j[a>>2];b:{if((h|0)<1|(d|0)<=(f|0)){break b}g=j[a+16>>2]+(p(g,h)<<2)|0;e=0;while(1){n[(f<<2)+b>>2]=n[g+(e<<2)>>2];f=f+1|0;e=e+1|0;if((h|0)<=(e|0)){break b}if((d|0)>(f|0)){continue}break}}if((d|0)>(f|0)){continue}break}return 0}return e}function mg(a){var b=0,c=0,d=0;b=oe-16|0;oe=b;rP(+a);d=oP(1)|0;oP(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=Vi(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(_p(a,b)&3){case 0:c=Vi(o[b>>3],o[b+8>>3]);break a;case 1:c=-Wi(o[b>>3],o[b+8>>3],1);break a;case 2:c=-Vi(o[b>>3],o[b+8>>3]);break a;default:break b}}c=Wi(o[b>>3],o[b+8>>3],1)}a=c;oe=b+16|0;return a}function mv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=oe-128|0;oe=d;a:{if(b){c=-1;while(1){g=c+96685|0;c=c+1|0;f=k[c+b|0];if((f|0)!=k[g|0]){j[a+212>>2]=j[a+212>>2]|131072}e=((f|0)==46)+e|0;if(f?!((c|0)==6|e>>>0>1):0){continue}break}e=j[a+212>>2];break a}e=j[a+212>>2]|131072;j[a+212>>2]=e}c=1;if(e&131072){Uf(d,128,Uf(d,128,Uf(d,128,Uf(d,128,0,96691),b),96722),96684);Ze(a,d);c=0}oe=d+128|0;return c|0}function ky(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{c:{if(b){h=142;g=l[a+152>>1];if(!g){break b}f=j[a+156>>2];i=f+(g<<4)|0;while(1){d:{if(j[f>>2]==(b|0)){g=j[f+12>>2];if(g){break d}}f=f+16|0;if(i>>>0>f>>>0){continue}break b}break}c=j[f+8>>2]+c|0;break c}g=j[j[a+104>>2]+4>>2]}if(!e){f=g;break a}f=j[e>>2];if(f){break a}j[e>>2]=g;h=0}return h|0}return hq(j[a+104>>2],c,d,f)|0}function QG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;if(!j[c+32>>2]){g=j[b+44>>2];f=j[b+48>>2];I(j[c+12>>2],d+8|0,d|0)|0;b=j[c+4>>2];e=+j[b+28>>2]/o[d>>3]*+(f|0);a:{if(r(e)<2147483648){f=~~e;break a}f=-2147483648}h=b;e=+j[b+24>>2]/o[d+8>>3]*+(g|0);b:{if(r(e)<2147483648){b=~~e;break b}b=-2147483648}ok(h,0,0,b,f)}pk((a|0)==33?j[c+4>>2]:0);a=We(512,-1);oe=d+16|0;return(a|0)==1|0}function XL(a,b){a=a|0;b=b|0;var c=0;a=oe-32|0;oe=a;a:{if(!zi(j[b+4>>2],a+28|0,a+24|0,a+20|0,a+16|0,a+12|0)){b=ve(138754,0);break a}c=Ag(0,j[b+12>>2],j[b+16>>2],j[a+28>>2],j[a+24>>2],j[a+20>>2],j[a+16>>2],j[a+12>>2]);j[b+76>>2]=c;yi(c,k[b+32|0],k[b+33|0],k[b+34|0]);dj(j[b+76>>2],k[b+35|0]);hg(j[b+76>>2],j[b+24>>2]);if(!(j[a+12>>2]|j[b+8>>2])){$j(j[b+76>>2],1)}b=j[b+76>>2]?0:-1}oe=a+32|0;return b|0}function Uj(a,b){var c=0,d=0,e=0,f=0;a:{if(!b|!k[b|0]){break a}if(Dg(b,32)){break a}c=Qf(b);if(c){if(sf(c)&1){break a}}d=Le(b);a=j[a+992>>2];c=qe[j[a+96>>2]](j[a+8>>2],12373)|0;if(!c|!k[c|0]){break a}a=c;b:while(1){a=xh(a,b);if(!a){break a}if(!((k[a+d|0]|32)!=32|(k[a-1|0]!=32?(a|0)!=(c|0):0))){f=1;break a}a=a+d|0;while(1){e=k[a|0];if(!e){break a}if((e|0)==32){continue b}a=a+1|0;continue}}}return f}function vG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a=oe-32|0;oe=a;c=j[b+144>>2];a:{if(!c){break a}if(d){e=j[b+48>>2];f=e&4097;d=(f|0)==4097;j[a+8>>2]=d?1:2;b:{if(!d){j[a+12>>2]=0;break b}if(e&8192){j[a+12>>2]=2;break b}j[a+12>>2]=1}j[a+24>>2]=c;j[a+20>>2]=994;j[a+16>>2]=0;j[c+28>>2]=d;j[c+24>>2]=f;if(Wa(j[c+12>>2],1,a+8|0)>>>0<2){break a}j[b+48>>2]=j[b+48>>2]&-4098;break a}Va()|0}oe=a+32|0}function rf(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+3>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+12|0,4)|0)!=4){break d}c=j[a+8>>2];b=d+12|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+4}oe=d+16|0;return f}function dL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0;c=j[a+36>>2]/2|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){g=j[a+16>>2]+(b+e|0)|0;h=j[a+48>>2];b=j[a>>2];d=j[a+20>>2];m=(e|0)<1;n=c<<1;while(1){f=f-1|0;c=0;a=0;if(!m){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}i[d>>1]=l[((a&128)>>>6|0)+h>>1];d=d+2|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+g|0;d=d+n|0;if(f){continue}break}}}function bL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;c=j[a+36>>2]/4|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){g=j[a+16>>2]+(b+e|0)|0;h=j[a+48>>2];b=j[a>>2];d=j[a+20>>2];i=(e|0)<1;l=c<<2;while(1){f=f-1|0;a=0;c=0;if(!i){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}j[d>>2]=j[((a&128)>>>5|0)+h>>2];d=d+4|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+g|0;d=d+l|0;if(f){continue}break}}}function XD(a,b){var c=0;a:{b:{if((a^b)&3){break b}if(b&3){while(1){c=k[b|0];h[a|0]=c;if(!c){break a}a=a+1|0;b=b+1|0;if(b&3){continue}break}}c=j[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){j[a>>2]=c;c=j[b+4>>2];a=a+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}c=k[b|0];h[a|0]=c;if(!c){break a}while(1){c=k[b+1|0];h[a+1|0]=c;a=a+1|0;b=b+1|0;if(c){continue}break}}}function Og(a){var b=0,c=0;b=oe-16|0;oe=b;rP(+a);c=oP(1)|0;oP(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=Wi(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(_p(a,b)&3){case 0:a=Wi(o[b>>3],o[b+8>>3],1);break a;case 1:a=Vi(o[b>>3],o[b+8>>3]);break a;case 2:a=-Wi(o[b>>3],o[b+8>>3],1);break a;default:break b}}a=-Vi(o[b>>3],o[b+8>>3])}oe=b+16|0;return a}function yM(a,b,c,d,e,f,g,h,i,k,l){var m=0,n=0,o=0,q=0;a:{b:{if(!l|(!e|!f)){break b}o=e;q=f;e=p(e,l);if((e|0)!=(k|0)){l=p(e,f);l=qe[j[57972]](l?l:1)|0;if(l){j[57976]=j[57976]+1}m=l;if(!l){break a}if((f|0)>0){while(1){Ge(l,i,e);i=i+k|0;l=e+l|0;n=n+1|0;if((n|0)!=(f|0)){continue}break}}i=m}qe[j[a+160>>2]](b,0,c,d,o,q,g,h,i);if(!m){break b}if(m){qe[j[57975]](m);j[57976]=j[57976]-1}}return}Be(0)}function iO(a,b){var c=0,d=0,e=0,f=0;a:{d=j[66369];if((d|0)<1){break a}f=j[66370];while(1){e=f+p(c,8232)|0;if(j[e>>2]==(a|0)&j[e+4>>2]==(b|0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}return}if((c|0)!=(d|0)){a=p(c,8232);b=j[(a+j[66370]|0)+8224>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}Oe(a+j[66370]|0,0,8232);b=j[66369]-1|0;j[66369]=b;c=a;a=j[66370];Ge(c+a|0,a+p(b,8232)|0,8232)}}function Dl(a,b,c){var d=0,e=0,f=0;f=j[c+16>>2];a:{if(f){d=f}else{if(xp(c)){break a}d=j[c+16>>2]}f=j[c+20>>2];if(d-f>>>0>>0){return qe[j[c+36>>2]](c,a,b)|0}b:{if(h[c+75|0]<0){break b}d=b;while(1){e=d;if(!e){e=0;break b}d=e-1|0;if(k[d+a|0]!=10){continue}break}d=qe[j[c+36>>2]](c,a,e)|0;if(d>>>0>>0){break a}a=a+e|0;b=b-e|0;f=j[c+20>>2]}Ae(f,a,b);j[c+20>>2]=j[c+20>>2]+b;d=b+e|0}return d}function $m(a){var b=0,c=0,d=0;c=-2;a:{if(!a){break a}b=j[a+28>>2];if(!b){break a}c=0;j[b+48>>2]=0;j[b+40>>2]=0;j[b+44>>2]=0;j[b+28>>2]=0;j[a+8>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;d=j[b+8>>2];if(d){j[a+48>>2]=d&1}j[b+56>>2]=0;j[b+60>>2]=0;j[b+32>>2]=0;j[b+20>>2]=32768;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0;j[b+7104>>2]=1;j[b+7108>>2]=-1;a=b+1328|0;j[b+108>>2]=a;j[b+80>>2]=a;j[b+76>>2]=a}return c}function nm(a){var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;b=j[57977];a:{if((b&j[57978])!=-1){break a}if(!k[268328]){h[268328]=1}b=4;j[57977]=4;j[57978]=0;j[d+12>>2]=0;if(!j[d+12>>2]){break a}b=16;j[57977]=16;j[57978]=2}e=a+b|0;a=(a>>>0)%(b>>>0)|0;a=(e+(a?b-a|0:0)|0)+4|0;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}if(a){c=a+4|0;c=(b-((c>>>0)%(b>>>0)|0)|0)+c|0;j[c-4>>2]=a}oe=d+16|0;return c}function AM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0),f=q(0),g=0,h=q(0),i=q(0);a=Ah(a,d<<5,b+4|0);if(!a){return-1}j[b+8>>2]=d;if((d|0)>=1){b=0;while(1){g=(b<<4)+c|0;h=n[g+8>>2];i=n[g+12>>2];e=n[g+4>>2];f=n[g>>2];n[a+16>>2]=f;n[a+12>>2]=e;n[a+4>>2]=e;n[a>>2]=f;e=q(e+i);n[a+28>>2]=e;f=q(f+h);n[a+24>>2]=f;n[a+20>>2]=e;n[a+8>>2]=f;a=a+32|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function Gy(a,b,c){var d=0,e=0,f=0;if(!a){return 35}if(!c){return 6}e=16;f=b+1|0;d=j[a+16>>2];a:{if(f>>>0>d>>>0|f>>>0<1|b>>>0>=d>>>0){break a}e=0;d=j[j[j[a+96>>2]+12>>2]+84>>2];if(d){d=qe[d|0](a,b,1,2051,c)|0;if(!d){break a}e=d;if((d&255)!=7){break a}}d=0;while(1){e=Th(a,b+d|0,2307);if(e){break a}j[(d<<2)+c>>2]=j[j[a+84>>2]- -64>>2]<<10;e=0;d=d+1|0;if((d|0)!=1){continue}break}}return e}function fy(a,b){a=a|0;b=b|0;var c=0,d=0;c=qe[j[a+508>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+364|0;c=$e(b,88704,d);if(c){break a}j[a+460>>2]=0;j[a+452>>2]=0;j[a+456>>2]=0;j[a+444>>2]=0;j[a+448>>2]=0;i[a+464>>1]=65535;if(!l[a+364>>1]){return 0}c=$e(b,88880,d);if(c){break a}if(l[d>>1]<2){return 0}c=$e(b,88896,d);if(c){break a}c=0;if(l[d>>1]<5){break a}c=$e(b,88928,d)}return c|0}function _D(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=k[a|0];a:{if(!d){break a}while(1){b:{c=c-1|0;if(!c){break b}e=k[b|0];if(!e){break b}c:{if((d|0)==(e|0)){break c}e=d-65>>>0<26?d|32:d;d=k[b|0];if((e|0)==((d-65>>>0<26?d|32:d)|0)){break c}f=k[a|0];break a}b=b+1|0;d=k[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}a=f&255;c=a-65>>>0<26?a|32:a;a=k[b|0];return c-(a-65>>>0<26?a|32:a)|0}function Qm(a,b){var c=0,d=0,e=0,f=0;c=qe[j[57972]](20)|0;if(c){j[57976]=j[57976]+1}if(!c){Be(0);return 0}Oe(c,0,20);a=a?a:1024;j[c+12>>2]=a;d=b-1|0;e=d+a|0;b=(e>>>0)/(a>>>0)|0;if(d>>>0<=e>>>0){d=b>>>0>1?b:1;b=a+12|0;while(1){a=qe[j[57972]](b?b:1)|0;if(a){j[57976]=j[57976]+1}if(a){j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=j[c+8>>2];j[c+8>>2]=a}f=f+1|0;if((d|0)!=(f|0)){continue}break}}return c}function jn(a,b){var c=0;c=j[a+772>>2];if(c){Ke(a,c);j[a+772>>2]=0}a:{b:{c=j[a+760>>2];if(!(b>>>0>c>>>0?c+1>>>0>=2:0)){j[a+776>>2]=b;h[a+768|0]=0;c=j[a+376>>2];h[a+767|0]=c;h[a+780|0]=j[a+208>>2];h[a+766|0]=c>>>8;h[a+765|0]=c>>>16;h[a+764|0]=c>>>24;if(!b){j[a+772>>2]=0;break a}c=cg(a,b);j[a+772>>2]=c;if(c){break b}}Ie(a,b);Je(a,101438);return 0}pf(a,c,b);tf(a,c,b)}Ie(a,0);return 1}function PA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;d=j[a>>2];a:{if(!d){break a}f=j[a+32>>2];b=He(f,j[a+4>>2],e+12|0);j[a>>2]=b;if(j[e+12>>2]){break a}Ae(b,d,j[a+4>>2]);b=j[a+16>>2];if((b|0)>=1){g=j[a>>2]-d|0;c=j[a+24>>2];h=c+(b<<2)|0;while(1){b=j[c>>2];if(b){j[c>>2]=b+g}c=c+4|0;if(h>>>0>c>>>0){continue}break}}j[a+8>>2]=j[a+4>>2];if(d){qe[j[f+8>>2]](f,d)}}oe=e+16|0}function Dk(a,b){var c=0,d=0;d=oe+ -64|0;oe=d;c=j[a+220>>2];if(c){j[d>>2]=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);Uf(d,64,4,101365);di(a,d);j[a+220>>2]=0}j[a+224>>2]=0;j[a+228>>2]=0;j[a+236>>2]=0;j[a+240>>2]=0;c=a+224|0;a:{b:{c:{if(!(k[a+212|0]&2)){c=zt(c);if(c){break b}j[a+212>>2]=j[a+212>>2]|2;break c}c=$m(c);if(c){break b}}j[a+220>>2]=b;c=0;break a}jh(a,c)}oe=d- -64|0;return c}function wA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=j[a+12>>2];a:{if((i[d+22>>1]+i[d+58>>1]|0)+1>>>0>m[d+4>>2]){d=yf(d,1,0);if(d){break a}}d=j[a+20>>2];if(k[a+68|0]){f=j[d+8>>2];e=i[d+2>>1];a=j[d+4>>2]+(e<<3)|0;j[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;j[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;h[f+e|0]=1}i[d+2>>1]=l[d+2>>1]+1;d=0}return d|0}function lj(a,b){var c=0,d=0,e=0,f=0;a:{if(!j[57840]){break a}e=j[57843];if(e){while(1){c=e;e=j[c+72>>2];d=j[c>>2];if(!(d>>>0>>0|b>>>0>>0)){d=e;f=j[c+68>>2];if(f){j[f+72>>2]=e;d=j[c+72>>2]}if(d){j[d+68>>2]=f}if(j[57843]==(c|0)){j[57843]=d}if(j[57844]==(c|0)){j[57844]=j[c+68>>2]}j[c+72>>2]=j[57845];j[57845]=c;j[57841]=j[57841]-1}if(e){continue}break}}if(!j[57839]){break a}}}function RG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=l[b+32>>1];a:{if(e>>>0>2){break a}f=1026;if((a|0)==5){f=1025;if(!(j[c+32>>2]|!j[67035])){va(j[c+12>>2],0)|0}g=1}Gm(j[c+4>>2],0,g,e+1&255);I(j[c+12>>2],d+8|0,d|0)|0;a=j[b+44>>2];if((a|0)<0|o[d+8>>3]<=+(a|0)){break a}a=j[b+48>>2];if((a|0)<0|o[d>>3]<=+(a|0)){break a}h=(We(f,-1)|0)==1}oe=d+16|0;return h|0}function Cm(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-32|0;oe=c;f=j[67055];a:{b:{if((f|0)<1){break b}g=j[67056];while(1){e=j[(d<<2)+g>>2];if((a|0)!=j[e>>2]|j[e+4>>2]!=(b|0)){d=d+1|0;if((f|0)!=(d|0)){continue}break b}break}if((d|0)<(f|0)){break a}}c:{if(j[j[67085]+12>>2]){j[c+16>>2]=a;ve(123949,c+16|0);qe[j[j[67085]+12>>2]](j[67085]);break c}j[c>>2]=a;ve(123980,c)}e=0}oe=c+32|0;return e}function $r(a){var b=0,c=0,d=0,e=0,f=0;b=oe+ -64|0;oe=b;a:{b:{if((a|0)>=0){if((qe[j[58771]]()|0)>(a|0)){break b}}e=b,f=qe[j[58771]]()|0,j[e>>2]=f;ve(125134,b);break a}d=pN(a);gN(b+32|0,a);a=j[b+44>>2];c=j[b+40>>2];j[b+56>>2]=c;j[b+60>>2]=a;j[b+24>>2]=c;j[b+28>>2]=a;a=j[b+36>>2];c=j[b+32>>2];j[b+48>>2]=c;j[b+52>>2]=a;j[b+16>>2]=c;j[b+20>>2]=a;c=vN(d,b+16|0)}oe=b- -64|0;return c}function Ru(a,b,c,d,e,f,g,i,l){if(!(!a|!b)){h[b+28|0]=g;h[b+27|0]=l;h[b+26|0]=i;h[b+25|0]=f;h[b+24|0]=e;j[b+4>>2]=d;j[b>>2]=c;qn(a,c,d,e&255,f&255,g&255,i&255,l&255);d=b;e=k[b+25|0];a=1;a:{b:{if((e|0)==3){break b}a=e&2|1;h[b+29|0]=a;if(!(e&4)){break a}a=a+1|0}h[d+29|0]=a}a=p(k[b+24|0],a);h[b+30|0]=a;a=a&255;c:{if(a>>>0>=8){a=p(a>>>3|0,c);break c}a=p(a,c)+7>>>3|0}j[b+12>>2]=a}}function Rg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!(!a|!b)){c=i[a+2>>1];a:{if(!c){c=0;break a}a=j[a+4>>2];d=j[a+4>>2];e=j[a>>2];if((c|0)<2){c=d;f=e;break a}h=(c<<3)+a|0;g=a+8|0;f=e;c=d;while(1){a=j[a+12>>2];c=(a|0)>(c|0)?a:c;d=(a|0)<(d|0)?a:d;a=j[g>>2];f=(a|0)>(f|0)?a:f;e=(a|0)<(e|0)?a:e;a=g;g=a+8|0;if(h>>>0>g>>>0){continue}break}}j[b+8>>2]=f;j[b>>2]=e;j[b+12>>2]=c;j[b+4>>2]=d}}function aP(){var a=0,b=0;a=oe+ -64|0;oe=a;b=nj(117128,1,264272,264264);a:{if((b|0)==-1){break a}if((We(4352,-1)|0)!=1){break a}Oe(a+8|0,0,56);h[a+20|0]=0;j[a+16>>2]=b;j[a+8>>2]=4352;gf(a+8|0)}b:{if(!j[66059]){break b}b=nj(117155,2,264276,264268);if((b|0)==-1){break b}if((We(4352,-1)|0)!=1){break b}Oe(a+8|0,0,56);h[a+20|0]=1;j[a+16>>2]=b;j[a+8>>2]=4352;gf(a+8|0)}oe=a- -64|0}function Tw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=j[b+4>>2];j[a+2988>>2]=b;d=j[b+28>>2];j[a+4>>2]=j[b+44>>2];j[a+8>>2]=j[b+48>>2];j[a+12>>2]=j[b+1616>>2];j[a+16>>2]=j[b+1620>>2];e=j[b+24>>2];c=(e&-2)==2;f=c|2;c=(e|0)==2?f:(e|0)==4?f:c;f=(e|0)==1;c=f?c:c|4;d=(h[g+12|0]&1?0:!f)?d:d|1;b=k[j[j[b+36>>2]+212>>2]+20|0];j[a+2984>>2]=(e|0)==2?c|8:c;j[a+2980>>2]=b?d:d|8;return 0}function IA(a,b){var c=0,d=0,e=0;c=oe-48|0;oe=c;if(k[242924]){j[c+32>>2]=0;j[c+36>>2]=0;j[c+40>>2]=16;j[c+44>>2]=16;d=j[58884]+j[a>>2]|0;j[c+16>>2]=d+2;e=j[58885];a=j[a+4>>2];j[c+24>>2]=10;j[c+28>>2]=9;a=a+e|0;j[c+20>>2]=a+2;j[c+4>>2]=a;j[c>>2]=d;j[c+8>>2]=16;j[c+12>>2]=16;Tr(j[58882]);Rr(j[58882],c);hj(j[58882],j[(((b|0)<0?b+300|0:b)<<2)+260928>>2],c+32|0,c+16|0)}oe=c+48|0}function LA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;j[a+8>>2]=c;j[a+4>>2]=b;j[a+12>>2]=0;j[a+16>>2]=d;j[a>>2]=b;b=j[5875];j[a+20>>2]=j[5874];j[a+24>>2]=b;b=j[5877];j[a+28>>2]=j[5876];j[a+32>>2]=b;b=j[5879];j[a+36>>2]=j[5878];j[a+40>>2]=b;b=j[5881];j[a+44>>2]=j[5880];j[a+48>>2]=b;b=j[5883];j[a+52>>2]=j[5882];j[a+56>>2]=b;b=j[5885];j[a+60>>2]=j[5884];j[a+64>>2]=b;j[a+68>>2]=j[5886]}function tn(a,b){var c=0,d=0;c=oe-16|0;h[c+15|0]=0;h[c+14|0]=b;h[c+13|0]=b>>>8;h[c+12|0]=b>>>16;h[c+11|0]=b>>>24;a:{if(!a){break a}b=j[a+692>>2];if(!b){break a}d=j[a+696>>2];a=d+p(b,5)|0;while(1){b=a-5|0;if((k[c+11|0]|k[c+12|0]<<8|(k[c+13|0]<<16|k[c+14|0]<<24))==(k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24))){return k[a-1|0]}a=b;if(b>>>0>d>>>0){continue}break}}return 0}function kD(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;a:{if(!a){e=33;break a}if(!b){e=6;break a}f=j[a>>2];c=He(f,132,d+12|0);e=j[d+12>>2];if(!e){j[c+88>>2]=f;j[c+128>>2]=a;j[c+64>>2]=0;j[c+68>>2]=0;j[c+120>>2]=f;h[c+92|0]=0;j[c+84>>2]=-1;j[c+96>>2]=0;j[c+100>>2]=0;h[c+124|0]=0;j[c+116>>2]=-1;j[c+72>>2]=0;j[c+76>>2]=0;j[c+104>>2]=0;j[c+108>>2]=0}j[b>>2]=c}oe=d+16|0;return e}function bI(a){var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;a:{if((a|0)<=0){j[d>>2]=149373;ve(149340,d);break a}b=qe[j[57972]](16)|0;if(b){j[57976]=j[57976]+1}if(!b){b=0;Be(0);break a}e=a<<2;c=e;c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}j[b+4>>2]=c;if(!c){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=0;break a}j[b+8>>2]=1;j[b+12>>2]=1;j[b>>2]=a;Oe(c,255,e)}oe=d+16|0;return b}function Pm(a,b,c){var d=0,e=0,f=0,g=0;if(!a){return 0}f=b;a:{b:{if(c){while(1){d=j[a>>2];if(!d){break b}g=j[d+4>>2];e=j[d>>2]-g|0;e=c>>>0>>0?c:e;Ge(f,(d+g|0)+12|0,e);j[d+4>>2]=e+j[d+4>>2];j[a+16>>2]=j[a+16>>2]-e;c=c-e|0;if(j[d+4>>2]==j[d>>2]){j[a>>2]=j[d+8>>2];j[d+8>>2]=j[a+8>>2];j[a+8>>2]=d}f=e+f|0;if(c){continue}break}}if(j[a>>2]){break a}}j[a+4>>2]=0}return f-b|0}function HM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=j[b+76>>2];e=j[a+436>>2];h=$g();g=j[e>>2];a:{if((h|0)!=(g|0)){j[e+424>>2]=0;if((zg(j[a+188>>2],g)|0)<0){break a}}a=j[a+436>>2];if(!j[a+4>>2]){break a}while(1){if(qe[j[a+104>>2]]()|0){continue}break}}qe[j[e+20>>2]](j[f+4>>2],j[f>>2]);j[e+360>>2]=b;if(c){j[c>>2]=1065353216}if(d){j[d>>2]=1065353216}return 0}function Gw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i[a+294>>1];e=p(d,b>>16);b=p(d,b&65535);d=e<<16;f=b+d|0;a=i[a+296>>1];g=p(a,c&65535);c=p(a,c>>16);h=c<<16;a=g+h|0;j=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>j>>>0)|0;b=c>>31;a=j+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function Fw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i[a+290>>1];e=p(d,b>>16);b=p(d,b&65535);d=e<<16;f=b+d|0;a=i[a+292>>1];g=p(a,c&65535);c=p(a,c>>16);h=c<<16;a=g+h|0;j=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>j>>>0)|0;b=c>>31;a=j+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function hm(a,b){var c=0,d=0;if(!a){return ve(149381,0)}if(!(!b|j[b>>2]<=1<>2];a:{if((c|0)==(b|0)){break a}b:{if(!c){break b}d=j[c+12>>2];j[c+12>>2]=d-1;if((d|0)>1){break b}d=j[c+4>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}j[a+4>>2]=b;if(!b){break a}j[b+12>>2]=j[b+12>>2]+1}return 0}function dH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;a=oe-32|0;oe=a;f=j[b+144>>2];lf(j[f+8>>2]);zi(374740996,a+20|0,a+16|0,a+12|0,a+8|0,a+4|0);ah(b,a+28|0,a+24|0);b=Ag(0,j[a+28>>2],j[a+24>>2],j[a+20>>2],j[a+16>>2],j[a+12>>2],j[a+8>>2],j[a+4>>2]);a:{if(!b){g=-1;break a}j[f+8>>2]=b;j[c>>2]=374740996;j[d>>2]=j[b+20>>2];j[e>>2]=j[b+16>>2]}oe=a+32|0;return g|0}function qt(a){if(a){Wg();a:{if(j[65548]!=(a|0)){break a}if(j[a+12>>2]==1){while(1){Gg();gg(100);Wg();if(j[a+12>>2]==1){continue}break}}if(j[65548]!=(a|0)){break a}if(j[j[j[65548]>>2]+64>>2]){qe[j[j[j[65548]>>2]+64>>2]](j[j[65548]+4>>2])}j[j[65548]+8>>2]=0;j[j[65548]+12>>2]=0;j[65548]=0}Gg();qe[j[j[a>>2]+68>>2]](j[a+4>>2]);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function dC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a+656>>2];e=vh(j[a+96>>2],10384);a:{if(!e|!j[c+12>>2]){break a}while(1){a=l[j[c+1160>>2]+(d<<1)>>1];b:{c:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[c+1312>>2]){break b}a=j[j[c+1316>>2]+(a<<2)>>2];break c}a=qe[j[e+20>>2]](a)|0}if(!a){break b}if(!we(b,a)){break a}}d=d+1|0;if(d>>>0>2]){continue}break}d=0}return d|0}function cu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;e=j[a+4>>2];a=k[c|0];d=a+k[b|0]|0;h[b|0]=d;if((e|0)>=2){o=b+e|0;b=b+1|0;while(1){i=d&255;d=i-a|0;f=d>>31;e=k[c+1|0];g=e-a|0;l=g>>31;m=d+g|0;n=m>>31;p=a;a=f^d+f;d=l^g+l;f=(a|0)<(d|0);d=k[b|0]+((n^n+m)<((f?a:d)|0)?p:f?e:i)|0;h[b|0]=d;c=c+1|0;a=e;b=b+1|0;if(o>>>0>b>>>0){continue}break}}}function Au(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,99982);break a}if((c|0)!=4){Ie(a,c);Je(a,99995);break a}pf(a,d+12|0,4);tf(a,d+12|0,4);if(Ie(a,0)){break a}c=k[d+12|0]|k[d+13|0]<<8|(k[d+14|0]<<16|k[d+15|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);jv(a,a+824|0,(c|0)>-1?c:-1);ih(a,b)}oe=d+16|0;return}hf(a,100003);z()}function Kt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{b:{c:{if(!a){break c}d=j[a+160>>2];if(!d){j[a+164>>2]=0;if(c>>>0<=156){j[a+160>>2]=a;j[a+156>>2]=b;return a|0}d=cg(a,c);j[a+160>>2]=d;if(!d){break c}j[a+164>>2]=c;break a}e=j[a+164>>2];if(!e){e=156;if((a|0)!=(d|0)){break b}}if((c|0)==(e|0)){break a}Ze(a,102336)}return 0}Ye(a,102305);z()}j[a+156>>2]=b;return d|0}function rk(a,b,c){var d=0,e=0,f=0,g=q(0),h=0,i=0,j=q(0),k=0,l=q(0),m=0,o=q(0),p=0,r=q(0);e=+c;c=q(0);while(1){h=f<<3;d=h+a|0;g=n[d>>2];i=mg(e);j=n[d+4>>2];k=Og(e);l=n[d>>2];m=Og(e);o=n[d+4>>2];p=mg(e);r=c;d=b+h|0;c=q(q(i*+g-k*+j)-n[d>>2]);g=q(c*c);c=q(q(m*+l+p*+o)-n[d+4>>2]);c=q(r+q(y(+q(g+q(c*c)))));f=f+1|0;if((f|0)!=64){continue}break}return q(c*q(.015625))}function Tl(a,b){var c=0,d=0;c=oe-32|0;oe=c;d=-129;a=j[a+28>>2];a:{if(!a|j[a+8>>2]<1){break a}d=j[b+4>>2];b=j[b>>2];j[c+20>>2]=b;j[c+8>>2]=0;j[c+12>>2]=0;j[c+24>>2]=d;j[c+16>>2]=b;d=-135;if(Ce(c+8|0,1)){break a}d=-136;b=j[a+8>>2]-1|0;b=Ce(c+8|0,b?32-s(b)|0:0);if((b|0)==-1){break a}b=j[(a+(b<<2)|0)+32>>2];if(!b){break a}d=j[a+(j[b>>2]<<2)>>2]}oe=c+32|0;return d}function Nj(a,b,c,d){var e=0,f=0,g=0,i=0;e=k[d+74|0];h[d+74|0]=e-1|e;g=p(b,c);e=j[d+4>>2];f=j[d+8>>2]-e|0;i=g;a:{if((f|0)<1){break a}i=e;e=f>>>0>>0?f:g;Ae(a,i,e);j[d+4>>2]=e+j[d+4>>2];a=a+e|0;i=g-e|0}e=i;if(e){while(1){b:{if(!Sp(d)){f=qe[j[d+32>>2]](d,a,e)|0;if(f+1>>>0>1){break b}}return(g-e>>>0)/(b>>>0)|0}a=a+f|0;e=e-f|0;if(e){continue}break}}return b?c:0}function Fi(a,b){var c=0;c=oe-16|0;oe=c;a:{b:{if(!(!k[a|0]|(!a|!b))){if(k[b|0]){break b}}a=0;ve(124021,0);break a}b=pi(a,b);if(!b){j[c>>2]=a;ve(124068,c);a=0;break a}a=qe[j[57972]](36)|0;if(a){j[57976]=j[57976]+1}if(!a){Be(0);break a}j[a+28>>2]=b;j[a+16>>2]=658;j[a+12>>2]=659;j[a+8>>2]=660;j[a+4>>2]=661;j[a>>2]=662;j[a+20>>2]=2;j[a+24>>2]=1}oe=c+16|0;return a}function jA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=j[b>>2];while(1){d=d+1|0;if(d>>>0>255){j[b>>2]=0;return 0}f=qe[j[a+20>>2]](l[j[a+16>>2]+(d<<1)>>1])|0;g=j[a+24>>2];a:{if(g){h=j[a+28>>2];c=0;while(1){e=j[(c<<2)+h>>2];if(!(!e|k[e|0]!=k[f|0])){if(!we(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}j[b>>2]=d;return c|0}function Nf(a,b){var c=0,d=0;c=j[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{d=k[c|0];switch(d|0){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}while(1){d:{switch(d-10|0){case 0:case 3:break b;default:break d}}c=c+1|0;if((c|0)!=(b|0)){d=k[c|0];continue}break}c=b}c=c+1|0;if(c>>>0>>0){continue}break}}j[a>>2]=c}function sN(a){var b=0,c=0,d=0;c=oe+ -64|0;oe=c;b=j[67069];a:{if(!b){break a}while(1){if(j[b>>2]==(a|0)){j[c+8>>2]=1618;a=yg();d=((j[b+28>>2]-a|0)+250|0)<1;a=j[b>>2];if(!(d|j[a+72>>2])){j[a+68>>2]=1;break a}j[a+68>>2]=0;if((We(1618,-1)|0)!=1){break a}a=j[j[b>>2]>>2];i[c+20>>1]=5;j[c+16>>2]=a;gf(c+8|0);break a}b=j[b+32>>2];if(b){continue}break}}oe=c- -64|0}function qf(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+1>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+14|0,2)|0)!=2){break d}c=j[a+8>>2];b=d+14|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}b=k[b|0]|k[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>>16|0;break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+2}oe=d+16|0;return f}function Gk(a,b,c,d,e){var f=0,g=0,h=0;if(!((c|0)<0|(d|0)<1|(!e|((c|0)>=1?!b:0)))){a:{if((2147483647-c|0)<(d|0)){break a}f=c+d|0;gP(e,0,f,0);if(pe){break a}f=p(e,f);if(!f){break a}b:{c:{if(!a){break c}h=j[a+720>>2];if(!h){break c}a=qe[h|0](a,f)|0;break b}a=Se(f)}if(!a){break a}if((c|0)>=1){g=p(c,e);Ae(a,b,g)}Ee(a+g|0,0,p(d,e));g=a}return g}Ye(a,98996);z()}function Uu(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var l=0;if(!(!a|!b)){if(c){j[c>>2]=j[b>>2]}if(d){j[d>>2]=j[b+4>>2]}if(e){j[e>>2]=k[b+24|0]}if(f){j[f>>2]=k[b+25|0]}if(h){j[h>>2]=k[b+26|0]}if(i){j[i>>2]=k[b+27|0]}c=k[b+28|0];if(g){j[g>>2]=c}qn(a,j[b>>2],j[b+4>>2],k[b+24|0],k[b+25|0],c,k[b+26|0],k[b+27|0]);l=1}return l|0}function rB(a){a=a|0;var b=0,c=0,d=0,e=0;b=j[a+12>>2];if(b){e=j[a+28>>2];j[b+104>>2]=0;j[b+48>>2]=0;j[b+36>>2]=0;j[b+40>>2]=0;h[b+44|0]=0;j[b+64>>2]=9;j[b+12>>2]=0;j[b+16>>2]=0;d=j[b+180>>2];c=j[b+100>>2];if((c|0)!=(b+112|0)){if(c){qe[j[d+8>>2]](d,c)}j[b+100>>2]=0}c=j[b+88>>2];if(c){qe[j[d+8>>2]](d,c)}b=Ee(b,0,184);if(b){qe[j[e+8>>2]](e,b)}j[a+12>>2]=0}}function Yz(a){a=a|0;var b=0;b=j[a+8>>2];Ee(a+16|0,0,84);j[a+136>>2]=218;j[a+132>>2]=219;j[a+128>>2]=220;j[a+124>>2]=221;j[a+120>>2]=222;j[a+116>>2]=223;j[a+108>>2]=224;j[a+104>>2]=225;j[a+100>>2]=226;j[a+12>>2]=b;j[a+164>>2]=218;j[a+160>>2]=227;j[a+156>>2]=228;j[a+152>>2]=229;j[a+148>>2]=222;j[a+144>>2]=230;b=a+12|0;j[a+112>>2]=b;j[a+140>>2]=b;return 0}function Jl(a,b,c,d){var e=0,f=0;e=oe-160|0;oe=e;Ae(e+8|0,226824,144);a:{b:{if(b-1>>>0>=2147483647){if(b){break b}b=1;a=e+159|0}j[e+52>>2]=a;j[e+28>>2]=a;f=-2-a|0;b=b>>>0>f>>>0?f:b;j[e+56>>2]=b;a=a+b|0;j[e+36>>2]=a;j[e+24>>2]=a;a=Qp(e+8|0,c,d,1068,1069);if(!b){break a}b=j[e+28>>2];h[b-((b|0)==j[e+24>>2])|0]=0;break a}j[67100]=61;a=-1}oe=e+160|0;return a}function xu(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,99982);break a}if((c|0)!=1){Ie(a,c);Je(a,99995);break a}pf(a,d+15|0,1);tf(a,d+15|0,1);if(Ie(a,0)){break a}c=l[a+898>>1];if(c&32768){break a}if(c&4){i[a+898>>1]=c|32768;ih(a,b);Je(a,100123);break a}rn(a,a+824|0,k[d+15|0]);ih(a,b)}oe=d+16|0;return}hf(a,100003);z()}function vh(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(!a){break b}c=j[j[a>>2]+32>>2];if(c){c=qe[c|0](a,b)|0;if(c){break a}}c=j[a+4>>2];d=j[c+16>>2];if((d|0)<1){break b}f=(c+(d<<2)|0)+20|0;d=c+20|0;while(1){c=j[d>>2];c:{if((c|0)==(a|0)){break c}e=j[j[c>>2]+32>>2];if(!e){break c}c=qe[e|0](c,b)|0;if(c){break a}}d=d+4|0;if(f>>>0>d>>>0){continue}break}}c=0}return c}function Wf(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+3>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+12|0,4)|0)!=4){break d}c=j[a+8>>2];b=d+12|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}f=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+4}oe=d+16|0;return f}function cm(a,b){var c=0,d=0,e=0;d=oe-16|0;oe=d;c=j[67085];a:{if(!c){ve(151717,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(150417,0);break a}if(!(k[b|0]?b:0)){j[d>>2]=150914;ve(150459,d);break a}a=j[a+140>>2];if(!a){break a}while(1){b:{c=j[a>>2];if(!c){break b}if(df(c,b)){break b}e=j[a+4>>2];break a}a=j[a+8>>2];if(a){continue}break}}oe=d+16|0;return e}function ZB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!we(b,10401)){j[c>>2]=j[a+36>>2];j[c+4>>2]=j[a+40>>2];j[c+8>>2]=j[a+44>>2];j[c+12>>2]=j[a+48>>2];j[c+16>>2]=j[a+52>>2];j[c+20>>2]=j[a+56>>2];j[c+24>>2]=j[a+60>>2];j[c+28>>2]=j[a- -64>>2];break b}if(!we(b,10422)){j[c>>2]=j[a+28>>2];break b}d=12;if(we(b,10437)){break a}h[c|0]=k[a+32|0]}d=0}return d|0}function TH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=oe-16|0;oe=e;a=cm(b,151622);a:{if(!(j[a+4>>2]?a:0)){b=ve(151694,0);break a}if(YH(j[b+24>>2],j[b+28>>2],d,c,e)){b=-1;c=j[a+12>>2];if((Ei(j[a+4>>2],e,(j[a+8>>2]+p(c,j[e+4>>2])|0)+p(j[a+16>>2],j[e>>2])|0,c)|0)<0){break a}if((hj(j[a>>2],j[a+4>>2],0,0)|0)<0){break a}Qr(j[a>>2])}b=0}oe=e+16|0;return b|0}function Yy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=j[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=j[a+16>>2];c=k[a+6|0]<<8|k[a+7|0];d=d>>>0>>0?c:d;c=d-c|0;e=k[a+9|0]|k[a+8|0]<<8;if(c>>>0>=e>>>0){break a}a=(a+(c<<1)|0)+10|0;while(1){f=k[a+1|0]|k[a|0]<<8;if(f){j[b>>2]=d;return f|0}d=d+1|0;a=a+2|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[b>>2]=0;return 0}function gB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=j[a+20>>2];g=j[a+16>>2];a:{b:{if(g){h=j[b>>2]+1|0;a=g;while(1){e=a+c>>>1|0;d=j[(e<<3)+f>>2];if((d|0)==(h|0)){c=e;a=h;break b}d=h>>>0>>0;c=d?c:e+1|0;a=d?e:a;if(c>>>0>>0){continue}break}}a=0;if(c>>>0>=g>>>0){break a}a=j[(c<<3)+f>>2]}i=a;a=l[((c<<3)+f|0)+4>>1]+1|0}j[b>>2]=i;return a|0}function mE(a,b){var c=0;a:{c=j[a+24>>2];if(j[a+28>>2]>=(c-b|0)){if((c|0)>(2147483647-b|0)){break a}b=b+c|0;b=(b|0)<2147483615?b+32|0:b;c=Vf(j[a+16>>2],b<<2);if(!c){break a}j[a+16>>2]=c;c=Vf(j[a+20>>2],b<<3);if(!c){break a}j[a+24>>2]=b;j[a+20>>2]=c}return 0}b=j[a>>2];if(b){ze(b)}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360);return-1}function Cq(a){var b=0,c=0,d=0,e=0;if(a){while(1){b=p(d,84)+a|0;e=b;if(l[b+136>>1]){j[b+56>>2]=0;j[b+60>>2]=0;c=j[b+76>>2];if(c){ze(c);j[b+76>>2]=0}c=j[b+100>>2];if(c){ze(c);j[b+100>>2]=0}i[e+136>>1]=0}d=d+1|0;if((d|0)!=257){continue}break}b=j[a>>2];if(b){Ar(b)}b=j[a+21668>>2];if(b){ze(b)}if(j[a+21648>>2]){b=j[a+21644>>2];qe[j[b+16>>2]](b)|0}ze(a)}}function rF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=oe-16|0;oe=b;f=j[a>>2];a=Le(c);f=He(f,a+6|0,b+12|0);g=j[b+12>>2];if(!g){f=Ae(f,c,a);a=f+a|0;c=k[6689]|k[6690]<<8;h[a+4|0]=c;h[a+5|0]=c>>>8;c=k[6685]|k[6686]<<8|(k[6687]<<16|k[6688]<<24);h[a|0]=c;h[a+1|0]=c>>>8;h[a+2|0]=c>>>16;h[a+3|0]=c>>>24;j[d>>2]=f;j[e>>2]=0}oe=b+16|0;return g|0}function lh(a){var b=0,c=0,d=0,e=0;Xg(a);a:{if(j[a+12>>2]>0){break a}b=j[a>>2];c=b-1|0;d=j[a+8>>2];b:{c:{while(1){if(b>>>0>=d>>>0){break b}e=b;b=b+1|0;j[a>>2]=b;d:{switch(k[e|0]-9|0){case 0:case 23:break a;case 17:break b;case 50:break c;case 1:case 4:break d;default:continue}}break}j[a+12>>2]=2;return c}j[a+12>>2]=1;return c}j[a+12>>2]=3}return c}function SE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=oe-48|0;oe=b;f=j[a>>2];c=aj(f,c,6716);a:{if(!c){a=64;break a}j[b+28>>2]=c;j[b+16>>2]=4;b:{a=kj(a,b+16|0,b+12|0);if(a){break b}a=j[b+12>>2];c:{if(!a){a=81;e=0;break c}a=bj(a,333319,e);e=j[b+12>>2]}qk(e,0);if(a){break b}j[d>>2]=c;a=0;break a}if(c){qe[j[f+8>>2]](f,c)}}oe=b+48|0;return a|0}function QE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=oe-48|0;oe=b;f=j[a>>2];c=aj(f,c,6718);a:{if(!c){a=64;break a}j[b+28>>2]=c;j[b+16>>2]=4;b:{a=kj(a,b+16|0,b+12|0);if(a){break b}a=j[b+12>>2];c:{if(!a){a=81;e=0;break c}a=bj(a,333319,e);e=j[b+12>>2]}qk(e,0);if(a){break b}j[d>>2]=c;a=0;break a}if(c){qe[j[f+8>>2]](f,c)}}oe=b+48|0;return a|0}function OB(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;if(!(!a|!b)){e=j[a>>2];g=j[b>>2];c=c<<16;i=Ne(e,g,c);f=j[a+4>>2];h=j[b+8>>2];k=Ne(f,h,c);d=e;e=j[b+4>>2];l=Ne(d,e,c);d=f;f=j[b+12>>2];m=Ne(d,f,c);d=j[a+8>>2];g=Ne(d,g,c);a=j[a+12>>2];n=b,o=g+Ne(a,h,c)|0,j[n+8>>2]=o;j[b+4>>2]=l+m;j[b>>2]=i+k;n=b,o=Ne(d,e,c)+Ne(a,f,c)|0,j[n+12>>2]=o}}function IF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=oe-48|0;oe=b;f=j[a>>2];c=aj(f,c,6664);a:{if(!c){a=64;break a}j[b+28>>2]=c;j[b+16>>2]=4;b:{a=kj(a,b+16|0,b+12|0);if(a){break b}a=j[b+12>>2];c:{if(!a){a=81;e=0;break c}a=bj(a,333319,e);e=j[b+12>>2]}qk(e,0);if(a){break b}j[d>>2]=c;a=0;break a}if(c){qe[j[f+8>>2]](f,c)}}oe=b+48|0;return a|0}function zC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=j[a+20>>2];h=j[a+16>>2];a:{b:{if(h){d=j[b>>2]+1|0;a=h;while(1){f=a+c>>>1|0;e=j[(f<<3)+g>>2];if((e|0)==(d|0)){c=f;break b}e=d>>>0>>0;c=e?c:f+1|0;a=e?f:a;if(c>>>0>>0){continue}break}}d=0;if(c>>>0>=h>>>0){break a}d=j[(c<<3)+g>>2]}i=l[((c<<3)+g|0)+4>>1]+1&65535}j[b>>2]=d;return i|0}function Is(){var a=0,b=0,c=0;while(1){b=j[66036];if(b){j[66036]=j[b+16>>2];a=j[b>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[b+4>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[b+12>>2];if(a){while(1){c=j[a+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}continue}break}}function Zm(){var a=0,b=0;a=oe-160|0;oe=a;a:{if(j[57796]){break a}j[a+16>>2]=j[57793];Ue(a+32|0,128,114432,a+16|0);if(sg(a+32|0,0)){break a}b=j[57798];if(b){if(qe[b|0]()|0){break a}}j[57796]=1}b:{if(j[57816]){break b}j[a>>2]=j[57813];Ue(a+32|0,128,114432,a);if(sg(a+32|0,0)){break b}b=j[57818];if(b){if(qe[b|0]()|0){break b}}j[57816]=1}oe=a+160|0}function Jv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a>>2];d=j[a+44>>2];if(d){e=j[d>>2];if(!(!e|!j[e+96>>2])){j[e+88>>2]=d}}d=mm(j[c+500>>2],b);if(!d){b=j[j[c+500>>2]+88>>2];c=j[b+16>>2];j[a+12>>2]=j[b+12>>2];j[a+16>>2]=c;j[a+36>>2]=j[b+36>>2];c=j[b+32>>2];j[a+28>>2]=j[b+28>>2];j[a+32>>2]=c;c=j[b+24>>2];j[a+20>>2]=j[b+20>>2];j[a+24>>2]=c}return d|0}function Iv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a>>2];d=j[a+44>>2];if(d){e=j[d>>2];if(!(!e|!j[e+96>>2])){j[e+88>>2]=d}}d=aL(j[c+500>>2],b);if(!d){b=j[j[c+500>>2]+88>>2];c=j[b+16>>2];j[a+12>>2]=j[b+12>>2];j[a+16>>2]=c;j[a+36>>2]=j[b+36>>2];c=j[b+32>>2];j[a+28>>2]=j[b+28>>2];j[a+32>>2]=c;c=j[b+24>>2];j[a+20>>2]=j[b+20>>2];j[a+24>>2]=c}return d|0}function Gl(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0;g=oe-240|0;oe=g;j[g>>2]=a;h=1;a:{if((d|0)<2){break a}l=0-b|0;f=a;while(1){f=f+l|0;k=d-2|0;i=f-j[(k<<2)+e>>2]|0;if((qe[c|0](a,i)|0)>=0){if((qe[c|0](a,f)|0)>-1){break a}}a=(qe[c|0](i,f)|0)>-1;f=a?i:f;j[(h<<2)+g>>2]=f;h=h+1|0;d=a?d-1|0:k;if((d|0)<2){break a}a=j[g>>2];continue}}Dp(b,g,h);oe=g+240|0}function lO(a,b){var c=0,d=0,e=0,f=0;a:{c=j[57843];if(c){while(1){f=j[c+72>>2];if(!(qe[a|0](b,c)|0)){d=j[c+68>>2];if(d){j[d+72>>2]=j[c+72>>2]}e=j[c+72>>2];if(e){j[e+68>>2]=d}if(j[57843]==(c|0)){j[57843]=e}if(j[57844]==(c|0)){j[57844]=j[c+68>>2]}j[c+72>>2]=j[57845];j[57845]=c;j[57841]=j[57841]-1}c=f;if(c){continue}break}}if(!j[57839]){break a}}}function og(a,b,c,d,e){var f=0,g=0,h=0,i=0,l=0,m=0;a:{if(!c|!d){break a}b=j[b+1284>>2];g=Ff(a,b<<2);if((b|0)<1){break a}m=65536-e|0;a=0;while(1){f=a<<2;h=f+g|0;i=c+f|0;f=d+f|0;l=(p(j[i>>2]&32767,m)+p(j[f>>2]&32767,e)|0)+32768>>16;j[h>>2]=l;if(!(!(k[i+1|0]&128)|!(k[f+1|0]&128))){j[h>>2]=l|32768}a=a+1|0;if((b|0)!=(a|0)){continue}break}}return g}function Mg(a,b){a:{if((b|0)>=1024){a=a*8.98846567431158e+307;if((b|0)<2047){b=b-1023|0;break a}a=a*8.98846567431158e+307;b=((b|0)<3069?b:3069)-2046|0;break a}if((b|0)>-1023){break a}a=a*2.2250738585072014e-308;if((b|0)>-2045){b=b+1022|0;break a}a=a*2.2250738585072014e-308;b=((b|0)>-3066?b:-3066)+2044|0}pP(0,0);pP(1,b+1023<<20);return a*+qP()}function _j(a,b){if(!a){return}a:{if(b){b:{c:{d:{e:{a=j[j[a+52>>2]+68>>2]&112;switch(a-16|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break b;case 16:break d;case 0:break e;default:break c}}j[b>>2]=1;return}j[b>>2]=2;return}if((a|0)==64){break a}}j[b>>2]=0}return}j[b>>2]=4}function OH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if((a|0)==(b|0)){return 0}a:{c=j[b+4>>2];d=j[a+4>>2];if((c|0)!=(d|0)){break a}c=j[b+8>>2];d=j[a+8>>2];if((c|0)!=(d|0)){break a}d=j[a>>2];c=d>>>8&255;e=j[b>>2];f=e>>>8&255;if((c|0)!=(f|0)){return f-c|0}c=e>>>16&15;d=d>>>16&15;if((c|0)!=(d|0)){break a}return j[b+12>>2]-j[a+12>>2]|0}return c-d|0}function tD(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+2>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+13|0,3)|0)!=3){break d}c=j[a+8>>2];b=d+13|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}f=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16);break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+3}oe=d+16|0;return f}function bE(a,b){var c=0,d=0,e=0,f=0;d=a+3|0;c=k[a+3|0];f=!c;e=c|(k[a+1|0]<<16|k[a|0]<<24|k[a+2|0]<<8);a=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!(!c|(e|0)==(b|0))){while(1){a=d+1|0;c=k[d+1|0];f=!c;e=c|e<<8;if((b|0)==(e|0)){break a}d=a;if(c){continue}break}break a}a=d}return f?0:a-3|0}function ui(a,b){var c=0,d=0,e=0;if(RE(a,b)){xg(a);return 1}c=j[a+4>>2];a:{if(!c){break a}b=j[a+104>>2];if(!b){break a}c=j[c+28>>2];if(!c){break a}d=j[c+4>>2];c=j[c+3656>>2];j[a+56>>2]=-1;j[a+60>>2]=-1;j[a+24>>2]=-1;e=a- -64|0;j[e>>2]=-1;j[e+4>>2]=-1;j[a+32>>2]=0;d=d>>c+1;j[a+48>>2]=d;j[a+20>>2]=d>>c;j[b+128>>2]=-1;j[b+132>>2]=-1}return 0}function tC(a){a=a|0;var b=0,c=0,d=0;a:{c=j[a+40>>2];if(!c){break a}b=j[a>>2];d=j[b+656>>2];a=j[d+2952>>2];b=Kf(j[j[b+96>>2]+4>>2],11024);if(!a|!b){break a}a=j[a>>2];if(!a){break a}b=qe[a|0](b)|0;if(!b){break a}qe[j[b+8>>2]](j[c>>2]);a=j[d+1896>>2];if(!a){break a}while(1){a=a-1|0;qe[j[b+8>>2]](j[((a<<2)+c|0)+4>>2]);if(a){continue}break}}}function WM(a,b,c,d){var e=0,f=0,g=0;e=oe-128|0;oe=e;a:{if(!b){f=85;break a}f=Fe(b,0);if(f){break a}f=uf(b,e,128);if(f){break a}f=2;if(k[e+82|0]|(k[e|0]|k[e+74|0])){break a}g=k[e+1|0];if(k[e+63|0]|(g-1&255)>>>0>32|k[(e+g|0)+2|0]){break a}f=qm(a,b,(k[e+86|0]+(k[e+83|0]<<24|k[e+84|0]<<16|255)|0)+(k[e+85|0]<<8)&-128,c,d)}oe=e+128|0;return f}function Up(a,b,c,d){var e=0,f=0;if((d|0)==1){f=b;e=j[a+8>>2]-j[a+4>>2]|0;b=b-e|0;c=c-((e>>31)+(f>>>0>>0)|0)|0}a:{if(m[a+20>>2]>m[a+28>>2]){qe[j[a+36>>2]](a,0,0)|0;if(!j[a+20>>2]){break a}}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;qe[j[a+40>>2]](a,b,c,d)|0;if((pe|0)<0){break a}j[a+4>>2]=0;j[a+8>>2]=0;j[a>>2]=j[a>>2]&-17;return 0}return-1}function Lu(a,b,c,d){var e=0;a:{b:{if(!(!a|!b)){if(d>>>0>=257){if(k[b+25|0]==3){break b}Ze(a,99467);return}if((d?!c:0)|(h[a+708|0]&1?0:!d)){break a}Ni(a,b,4096,0);e=sj(a,768);j[a+416>>2]=e;if(d){Ae(e,c,p(d,3))}j[b+16>>2]=e;i[a+420>>1]=d;i[b+20>>1]=d;j[b+232>>2]=j[b+232>>2]|4096;j[b+8>>2]=j[b+8>>2]|8}return}Ye(a,99467);z()}Ye(a,99490);z()}function DE(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=j[a+4>>2];d=j[a>>2];g=v(vg(+q(c|0),+q(q(1)/q(d|0))));a:{if(r(g)<2147483648){b=~~g;break a}b=-2147483648}while(1){a=1;e=1;if((d|0)>=1){h=b+1|0;f=0;while(1){e=p(e,h);a=p(a,b);f=f+1|0;if((f|0)!=(d|0)){continue}break}}a=(a|0)>(c|0);if(!((e|0)>(c|0)?!a:0)){b=(a?-1:1)+b|0;continue}break}return b}function Cz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=j[a+20>>2];a=(c+(j[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=j[e>>2];if((d|0)==(b|0)){f=e;break a}d=d&2147483647;f=(d|0)==(b|0)?e:f;if((a|0)!=(c|0)){d=b>>>0>d>>>0;c=d?e+8|0:c;a=d?a:e-8|0;if(c>>>0<=a>>>0){continue}}break}if(f){break a}}return 0}return j[f+4>>2]}function ug(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;h=e;e=0;i=e;f=c;c=0;e=gP(h,e,f,c);k=pe;g=b;l=gP(d,0,b,0);b=pe;d=gP(d,m,f,c);c=b+d|0;b=pe;b=c>>>0>>0?b+1|0:b;f=b;d=b+e|0;b=k;b=d>>>0>>0?b+1|0:b;f=d;e=b;b=gP(g,n,h,i)+c|0;d=pe;d=b>>>0>>0?d+1|0:d;g=d;d=d+f|0;j[a+8>>2]=d;j[a+12>>2]=d>>>0>>0?e+1|0:e;j[a>>2]=l;j[a+4>>2]=b}function ti(a,b){var c=0,d=0,e=0,f=0;d=-131;c=-1;a:{if(!j[a+4>>2]|j[a+88>>2]<2){break a}e=j[a+52>>2];if((e|0)<=(b|0)){break a}if((b|0)<=-1){d=0;c=0;if((e|0)<1){break a}b=0;while(1){f=ti(a,b)+d|0;c=c+pe|0;c=d>>>0>f>>>0?c+1|0:c;d=f;b=b+1|0;if((e|0)!=(b|0)){continue}break}break a}a=j[a+68>>2]+(b<<4|8)|0;d=j[a>>2];c=j[a+4>>2]}pe=c;return d}function _m(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=oe-16|0;oe=f;j[f+12>>2]=0;g=b;if((d|0)!=128){g=f-(c+15&-16)|0;oe=g}a:{if((c|0)<1){break a}i=(d|0)!=128;while(1){h=qe[e|0](a,g,c,f+12|0)|0;if((h|0)<0){break a}b:{if(!i){g=g+h|0;break b}Jm(b,g,l[131086],h,d);b=b+h|0}c=c-h|0;if((c|0)<1){break a}if(!j[f+12>>2]){continue}break}}oe=f+16|0;return c}function yg(){var a=0,b=0;a=oe-16|0;oe=a;a:{b:{c:{if(!k[268376]){h[268376]=1;if(!(P(4,268380)|0)){h[268388]=1;break c}O(268392,0)|0}if(!k[268388]){break b}}P(4,a+8|0)|0;b=p(j[a+8>>2]-j[67095]|0,1e3)+((j[a+12>>2]-j[67096]|0)/1e6|0)|0;break a}O(a+8|0,0)|0;b=p(j[a+8>>2]-j[67098]|0,1e3)+((j[a+12>>2]-j[67099]|0)/1e3|0)|0}oe=a+16|0;return b}function cH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=oe-16|0;oe=a;b=j[j[b+144>>2]+8>>2];a:{if(!b){b=ve(153695,0);break a}h[a+12|0]=105;h[a+13|0]=105;h[a+14|0]=105;h[a+15|0]=0;c=j[b+12>>2];d=j[b+8>>2];j[a+8>>2]=j[b+20>>2];j[a>>2]=d;j[a+4>>2]=c;E(153740,a+12|0,a|0)|0;b=0;if(!(S()|0)){break a}if(!sg(155195,1)){break a}R(0)}oe=a+16|0;return b|0}function lH(a,b){var c=0,d=0,e=0;c=oe+ -64|0;oe=c;e=j[a+992>>2];if(!(qe[j[e+88>>2]](j[e+8>>2],b)|0)){d=153556;b=c;a=qe[j[j[a+992>>2]+116>>2]]()|0;e=a-12288|0;if(e>>>0<=14){d=j[(e<<2)+153560>>2]}if(!k[d|0]){j[c+16>>2]=a;Ue(c+32|0,32,152611,c+16|0);d=c+32|0}j[b+8>>2]=d;j[c+4>>2]=152736;j[c>>2]=153124;d=ve(152616,c)}oe=c- -64|0;return d}function ZD(a,b){var c=0,d=0,e=0;c=k[a|0];a:{if(!c){break a}while(1){d=k[b|0];if(!d){e=c;break a}b:{if((c|0)==(d|0)){break b}d=c-65>>>0<26?c|32:c;c=k[b|0];if((d|0)==((c-65>>>0<26?c|32:c)|0)){break b}e=k[a|0];break a}b=b+1|0;c=k[a+1|0];a=a+1|0;if(c){continue}break}}a=e&255;e=a-65>>>0<26?a|32:a;a=k[b|0];return e-(a-65>>>0<26?a|32:a)|0}function Nx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;e=j[a+16>>2];d=b;b=l[a+8>>1]>>>1|0;d=xe(d,1,0,b+1|0,0,c+12|0);oe=c+16|0;if(j[c+12>>2]){a=f}else{a=0;a:{if(!b){break a}while(1){f=k[e+1|0];c=f|k[e|0]<<8;if(!c){break a}h[a+d|0]=c-32>>>0>95?63:f;e=e+2|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}h[a+d|0]=0;a=d}return a|0}function LF(){var a=0,b=0,c=0;b=oe-1440|0;oe=b;j[67090]=0;a:{if(($()|0)==-1){a=ve(164016,0);break a}c=Ta()|0;if((c|0)>=1){while(1){if(!(_(a|0,b+8|0)|0)){Eq(26,b+8|0,0)}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0;if(Z(0,0,1014,2)|0){Zl();a=ve(164039,0);break a}if(!(Y(0,0,1015,2)|0)){break a}Zl();a=ve(164078,0)}oe=b+1440|0;return a|0}function $h(a,b,c){var d=0,e=0;a:{d=j[66036];if(!d){break a}while(1){if(!df(a,j[d>>2])){a=j[d+12>>2];if(!a){break a}e=d+12|0;d=0;while(1){if(!(j[a>>2]!=(b|0)|j[a+4>>2]!=(c|0))){j[(d?d+8|0:e)>>2]=j[a+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return}d=a;a=j[a+8>>2];if(a){continue}break}break a}d=j[d+16>>2];if(d){continue}break}}}function Dp(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=oe-256|0;oe=e;a:{if((c|0)<2){break a}h=(c<<2)+b|0;j[h>>2]=e;if(!a){break a}d=e;while(1){f=a>>>0<256?a:256;Ae(d,j[b>>2],f);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;Ae(j[g>>2],j[(d<<2)+b>>2],f);j[g>>2]=j[g>>2]+f;if((c|0)!=(d|0)){continue}break}a=a-f|0;if(!a){break a}d=j[h>>2];continue}}oe=e+256|0}function ms(a,b){var c=0,d=0,e=0,f=0;a:{d=j[66361];if((d|0)<1){break a}e=j[66360];while(1){f=p(c,12)+e|0;if(!(j[f>>2]!=(a|0)|j[f+4>>2]!=(b|0))){if(k[265460]){j[(p(c,12)+e|0)+8>>2]=1;h[265464]=1;return}a=d-1|0;j[66361]=a;if((a|0)<=(c|0)){break a}b=p(c,12)+e|0;fj(b,b+12|0,p(a-c|0,12));return}c=c+1|0;if((d|0)!=(c|0)){continue}break}}}function Wk(a){var b=0,c=0;c=j[a>>2];if(c){b=j[a+28>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+16>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+16>>2]=0;b=j[a+12>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+12>>2]=0;b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a>>2]=0;j[a+4>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0}}function yn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;j[a+2988>>2]=b;d=j[b+28>>2];j[a+4>>2]=j[b+44>>2];j[a+8>>2]=j[b+48>>2];j[a+12>>2]=j[b+1616>>2];j[a+16>>2]=j[b+1620>>2];c=j[b+24>>2];j[a+2980>>2]=(k[j[j[b+36>>2]+212>>2]+20|0]?4:12)|d;d=a;a=(c&-2)==2;b=a|2;e=(c|0)==4?b:a;a=(c|0)==2;b=a?b:e;b=(c|0)==1?b:b|4;j[d+2984>>2]=a?b|8:b;return 0}function Bs(a){var b=0,c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;d=xe(j[a>>2],8,0,j[a+4>>2]<<1,0,c+12|0);j[a+40>>2]=d;e=j[c+12>>2];if(!e){h[a+16|0]=1;f=(j[a+4>>2]<<3)+d|0;j[a+44>>2]=f;b=i[a+22>>1];j[a- -64>>2]=b+j[a+28>>2];j[a+68>>2]=j[a+32>>2]+(i[a+20>>1]<<1);b=b<<3;j[a+60>>2]=b+j[a+24>>2];j[a+80>>2]=b+f;j[a+76>>2]=b+d}oe=c+16|0;return e}function AB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe-16|0;oe=c;e=j[a+100>>2];j[c+12>>2]=0;d=qe[j[b+36>>2]](b)|0;a:{if((d|0)<0|j[a+304>>2]){break a}b=0;e=xe(e,252,0,d,0,c+12|0);j[a+304>>2]=e;if(j[c+12>>2]){break a}j[a+300>>2]=d;if((d|0)<1){break a}while(1){j[(e+p(b,252)|0)+4>>2]=4;b=b+1|0;if((d|0)!=(b|0)){continue}break}}oe=c+16|0}function sf(a){var b=0,c=0,d=0,e=0,f=0;while(1){b=a;a=b+1|0;c=h[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{b:{c:{c=h[b|0];switch(c-43|0){case 0:break b;case 2:break c;default:break a}}e=1}c=h[a|0];b=a;f=e}if(c-48>>>0<10){while(1){d=(p(d,10)-h[b|0]|0)+48|0;a=h[b+1|0];b=b+1|0;if(a-48>>>0<10){continue}break}}return f?d:0-d|0}function eu(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=j[j[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=j[f+16>>2];if(c){b=j[j[(j[j[b+4960>>2]+4>>2]<<2)+4832>>2]+16>>2];if(b){qe[b|0](c);c=j[f+16>>2]}if(c){qe[j[d+8>>2]](d,c)}j[f+16>>2]=0}e=e+1|0;if((e|0)!=49){continue}break}j[a+8>>2]=0;j[a>>2]=0;j[a+4>>2]=0;if(a){qe[j[d+8>>2]](d,a)}}}function Qy(a,b){a=a|0;b=b|0;var c=0;c=b;a=j[a+16>>2];b=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);c=c-(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);if(c>>>0<(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0){a=a+(c<<1)|0;a=k[a+20|0]<<8|k[a+21|0]}else{a=0}return a|0}function QH(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=oe-32|0;oe=c;b=j[67085];e=mf(j[b+304>>2],p(j[b+300>>2],72)+72|0);a:{if(e){d=j[67085];b=j[d+300>>2];j[d+300>>2]=b+1;f=Ae(p(b,72)+e|0,a,72);j[f+64>>2]=d;j[d+304>>2]=e;a=j[a>>2];if(a){g=f,h=_f(a),j[g>>2]=h;break a}EL(b,c);g=f,h=_f(c),j[g>>2]=h;break a}Be(0);b=-1}oe=c+32|0;return b}function Le(a){var b=0,c=0,d=0;a:{b:{b=a;if(!(b&3)){break b}if(!k[a|0]){return 0}while(1){b=b+1|0;if(!(b&3)){break b}if(k[b|0]){continue}break}break a}while(1){c=b;b=b+4|0;d=j[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}if(!(d&255)){return c-a|0}while(1){d=k[c+1|0];b=c+1|0;c=b;if(d){continue}break}}return b-a|0}function Fp(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+1>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+14|0,2)|0)!=2){break d}c=j[a+8>>2];b=d+14|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}f=k[b|0]|k[b+1|0]<<8;break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+2}oe=d+16|0;return f}function FN(a){var b=0,c=0;c=-1;a:{b:{if(!a){break b}c:{d:{b=k[a|0];switch(b-43|0){case 0:case 2:break d;default:break c}}b=k[a+1|0];a=a+1|0}if(!b){break b}if(!Me(a,124313)){return 0}if(Me(a,124319)){break a}c=1}return c}if(!Me(a,124325)){return 2}if(!Me(a,124332)){return 3}if(!Me(a,124339)){return 4}return Me(a,124351)?-1:5}function Xg(a){var b=0,c=0,d=0;a:{if(j[a+12>>2]>0){break a}b=j[a>>2];c=j[a+8>>2];b:{if(b>>>0>=c>>>0){break b}while(1){d=b+1|0;j[a>>2]=d;c:{switch(k[b|0]-9|0){case 1:case 4:j[a+12>>2]=2;return;case 50:j[a+12>>2]=1;return;case 17:break b;case 0:case 23:break c;default:break a}}b=d;if(c>>>0>b>>>0){continue}break}}j[a+12>>2]=3}}function 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;a:{e=j[a+4>>2];if((e|0)<=(d-c|0)){break a}f=0-e|0;c=f&(c+e|0)-1;if((c|0)!=(d&f)){break a}c=c>>j[a>>2];if((c|0)<0){break a}d=j[a+104>>2];if(d>>>0<=c>>>0){break a}e=j[a+60>>2]+(b>>3)|0;a=j[a+112>>2];c=e-p(a,c)|0;a=(a|0)>0?c+p(a,d-1|0)|0:c;h[a|0]=k[a|0]|128>>>(b&7)}}function RH(a){var b=0,c=0;b=oe-80|0;oe=b;Oe(b+8|0,0,72);if(a){j[b+40>>2]=j[a+16>>2];c=j[a+12>>2];j[b+32>>2]=j[a+8>>2];j[b+36>>2]=c;c=j[a+4>>2];j[b+24>>2]=j[a>>2];j[b+28>>2]=c}j[b+60>>2]=j[b+40>>2];a=j[b+36>>2];j[b+52>>2]=j[b+32>>2];j[b+56>>2]=a;a=j[b+28>>2];j[b+44>>2]=j[b+24>>2];j[b+48>>2]=a;a=QH(b+8|0);oe=b+80|0;return a}function Qn(a,b,c){var d=0,e=0,f=0;e=oe-16|0;oe=e;d=Fe(a,0);a:{if(d){break a}f=qf(a,e+12|0);d=j[e+12>>2];if(d){break a}b:{if((f+32767&65535)>>>0<2){Wf(a,e+12|0);d=j[e+12>>2];if(d){break a}if((f|0)==32769){break b}}d=Fe(a,0);if(d){break a}}d=_e(a,c);if(d){break a}b=wg(j[a+32>>2],b,c);Ve(a);d=((b|0)!=0)<<1}oe=e+16|0;return d}function BE(a){var b=0;b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}b=j[a+24>>2];if(b){ze(b)}b=j[a+28>>2];if(b){ze(b)}b=j[a+32>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}function kq(a,b){var c=0,d=0;d=-131;a:{if(!j[a+4>>2]|j[a+88>>2]<2){break a}c=j[a+52>>2];if((c|0)<=(b|0)){break a}if((b|0)<=-1){d=0;if((c|0)<1){break a}b=0;while(1){d=d+kq(a,b);b=b+1|0;if((c|0)!=(b|0)){continue}break}break a}c=j[a+68>>2]+(b<<4|8)|0;d=(+m[c>>2]+ +j[c+4>>2]*4294967296)/+j[(j[a+72>>2]+(b<<5)|0)+8>>2]}return d}function 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;a=j[b+76>>2];if(k[a|0]&2){Sg(a)}if(j[c+12>>2]>=1){b=k[j[a+4>>2]+9|0];g=p(b,j[c+8>>2]);b=(j[a+20>>2]+p(j[a+16>>2],j[c+4>>2])|0)+p(b,j[c>>2])|0;while(1){Ge(b,d,g);d=d+e|0;b=j[a+16>>2]+b|0;f=f+1|0;if((f|0)>2]){continue}break}}if(k[a|0]&2){pg(a)}return 0}function Os(a){var b=0,c=0,d=0,e=0;vk(j[65566]);c=262292;a:{if((a|0)!=-2){if(!(j[65567]>(a|0)?(a|0)>=0:0)){ve(115661,0);break a}c=(j[65568]+p(a,60)|0)+56|0}b=j[c>>2];if(b){while(1){e=j[b+12>>2];d=j[b+4>>2];if(d){qe[d|0](a,j[b+8>>2])}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=e;if(b){continue}break}}j[c>>2]=0}uk(j[65566])}function Nq(a){var b=0,c=0,d=0,e=0;c=j[67085];b=j[c+312>>2];d=j[a+48>>2];a:{if(!(!(j[67035]|d&256)|!(d&512))){b:{if(!b|(a|0)==(b|0)){break b}j[b+48>>2]=j[b+48>>2]&-257;d=j[c+128>>2];if(!d){break b}qe[d|0](c,b,0);c=j[67085]}j[c+312>>2]=a;e=1;break a}if((a|0)!=(b|0)){break a}j[c+312>>2]=0}b=j[c+128>>2];if(b){qe[b|0](c,a,e)}}function IH(){var a=0,b=0,c=0,d=0;c=oe-16|0;oe=c;a=j[67085];a:{if(!a){a=ve(151717,0);break a}b:{if(!j[a+432>>2]){b=j[a+168>>2];if(!b){j[c>>2]=j[a>>2];a=ve(151032,c);break a}a=qe[b|0](a,0)|0;if(a){break b}}a=0;b=j[67085];j[b+432>>2]=j[b+432>>2]+1;break a}b=j[67085];d=j[b+176>>2];if(!d){break a}qe[d|0](b)}oe=c+16|0;return a}function Wy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+10|0;if(c>>>0>m[b+160>>2]){Pe(b,8)}d=k[a+3|0]|k[a+2|0]<<8;e=m[b+160>>2]>=d+a>>>0;a=k[a+9|0]|k[a+8|0]<<8;if(!((a<<1)+10>>>0<=d>>>0?e:0)){Pe(b,8)}if(!(!j[b+164>>2]|!a)){while(1){if(m[b+172>>2]<=(k[c+1|0]|k[c|0]<<8)>>>0){Pe(b,16)}c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}function NH(a){var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;b=j[67085];a:{if(!b){ve(151717,0);e=-1;break a}c=j[b+300>>2];if((c|0)<=0){e=-1;j[d>>2]=c-1;ve(150376,d);break a}if(!a){break a}b=j[b+304>>2];c=j[b+20>>2];j[a>>2]=j[b+16>>2];j[a+4>>2]=c;j[a+16>>2]=j[b+32>>2];c=j[b+28>>2];j[a+8>>2]=j[b+24>>2];j[a+12>>2]=c}oe=d+16|0;return e}function DF(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[67093];if((b|0)>=1){while(1){d=(b|0)>1;c=j[c+1320>>2];b=b-1|0;if(d){continue}break}}if(!c){return ve(164120,0)|0}if(j[c+16>>2]){return ve(164135,0)|0}b=j[c+12>>2];j[a+84>>2]=c;j[a>>2]=b;j[c+16>>2]=a;j[a+44>>2]=0;j[a+36>>2]=0;j[a+52>>2]=j[c+20>>2];j[a+28>>2]=j[c+24>>2];return 0}function jB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=6;e=j[a+280>>2];a:{if((e|0)<1){break a}f=j[a+284>>2];a=0;while(1){b:{h=a;g=we(j[p(a,12)+f>>2],b);a=a+1|0;if((e|0)<=(a|0)){break b}if(g){continue}}break}if(g){break a}a=p(h,12)+f|0;c:{if(k[a+4|0]){j[c>>2]=1;break c}j[c>>2]=2}j[c+4>>2]=j[a+8>>2];d=0}return d|0}function ew(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=j[a+528>>2];if(!c){return 6}e=j[c+4>>2];j[b>>2]=e;j[b+4>>2]=j[c>>2];if(e){a=0;while(1){d=p(a,12);f=d+b|0;j[f+8>>2]=j[((a<<2)+c|0)+8>>2];d=c+d|0;g=j[d+92>>2];j[f+12>>2]=j[g>>2];j[f+16>>2]=j[((k[d+88|0]<<2)+g|0)-4>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function MB(a){a=a|0;var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;c=j[a>>2];b=j[c+320>>2];c=Kf(j[j[c+96>>2]+4>>2],14338);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}c=qe[b|0](c)|0;if(!c){break a}b=j[a>>2];e=qe[j[c>>2]](j[b+100>>2],j[b+304>>2]+p(j[b+4>>2],252)|0,d+12|0)|0;if(e){break a}j[a+40>>2]=j[d+12>>2]}oe=d+16|0;return e|0}function vm(a,b,c){var d=0;if(!(j[a>>2]==268305?a:0)){ve(125709,0);return-1}d=j[a+316>>2];a:{if(d){if(j[d>>2]!=268306){ve(125954,0);return-1}if(b){j[b>>2]=j[d+12>>2]}a=0;if(!c){break a}j[c>>2]=j[d+16>>2];return 0}d=j[a+8>>2];if(d){return qe[d|0](a,b,c)|0}a=j[a+188>>2];if(a){ah(a,b,c);return 0}a=ve(125726,0)}return a}function Lk(a,b){var c=0,d=0;c=Fe(b,j[a>>2]);a:{if(c){break a}c=$e(b,95904,a+4|0);if(c){break a}c=2;d=l[a+4>>1];if((d|256)!=768|m[a+8>>2]<((d|0)==768?148:118)>>>0){break a}if((d|0)==512){j[a+140>>2]=0;j[a+132>>2]=0;j[a+136>>2]=0}if(h[a+72|0]&1){break a}c=Fe(b,j[a>>2]);if(c){break a}c=Zf(b,j[a+8>>2],a+160|0)}return c}function vA(a){a=a|0;var b=0,c=0,d=0;b=j[a+20>>2];if(!b){return 3}a:{b:{if(!k[a+68|0]){i[b>>1]=l[b>>1]+1;break b}a=j[a+12>>2];if((i[a+20>>1]+i[a+56>>1]|0)+1>>>0>m[a+8>>2]){a=yf(a,0,1);if(a){break a}}d=b;c=l[b>>1];a=c<<16>>16;if((a|0)>=1){i[(j[b+12>>2]+(c<<1)|0)-2>>1]=l[b+2>>1]-1;a=l[b>>1]}i[d>>1]=a+1}a=0}return a|0}function jN(a,b){var c=0,d=0;c=oe+ -64|0;oe=c;a:{if(!k[j[a+40>>2]+b|0]|j[a+36>>2]<=(b|0)){break a}b:{if(k[268304]){break b}d=j[67085];if(d){d=j[d+308>>2]!=0}else{d=0}if(!d){break b}}h[j[a+40>>2]+b|0]=0;if((We(1538,-1)|0)!=1){break a}j[c+8>>2]=1538;a=j[a>>2];h[c+21|0]=0;h[c+20|0]=b;j[c+16>>2]=a;gf(c+8|0)}oe=c- -64|0}function Zl(){var a=0,b=0,c=0;a=j[67093];if(a){while(1){c=j[a+1320>>2];b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}j[67093]=0;j[67092]=0;j[67090]=0;j[67091]=0;Z(0,0,0,2)|0;Y(0,0,0,2)|0}function JA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=oe-16|0;oe=b;Nf(a,j[a+8>>2]);e=j[a+8>>2];d=j[a>>2];j[b+12>>2]=d;f=Kg(b+12|0,e,10);c=j[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(k[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;j[b+12>>2]=d;f=Kg(b+12|0,e,f);c=j[b+12>>2];if((d|0)==(c|0)){break a}}j[a>>2]=c;g=f}oe=b+16|0;return g|0}function zG(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[b+144>>2];if(c){EG(c);d=j[c>>2];if(d){a:{if(!d){break a}a=j[a+992>>2];if(!a){break a}qe[j[a+80>>2]](j[a+8>>2],d)|0}j[c>>2]=0}J(j[c+12>>2],0,0)|0;a=j[c+12>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[b+144>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[b+144>>2]=0}}function To(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=d>>31;e=e+d^e;f=c>>31;f=f+c^f;i=(e|0)<(f|0);g=b>>31;g=g+b^g;h=a>>31;h=h+a^h;j=(g|0)<(h|0);d=b+d|0;b=d>>31;c=a+c|0;a=c>>31;b=b^b+d;a=a^a+c;c=(b|0)<(a|0);a=(p(c?b:a,3)>>>3|0)+(c?a:b)|0;return(((p(i?e:f,3)>>>3|0)+(i?f:e)+((p(j?g:h,3)>>>3|0)+(j?h:g))|0)-a|0)<(a>>>4|0)}function Bn(a){a=a|0;var b=0;a:{if(!(a&1)){break a}if(!(h[262144]&1)){ve(96393,0);break a}b=1}if(a&2){if(!(k[262144]&2)){j[65537]=j[65537]+1}b=b|2}b:{if(!(a&4)){break b}if(!(k[262144]&4)){ve(96581,0);break b}b=b|4}c:{if(!(a&8)){break c}if(!(k[262144]&8)){ve(96611,0);break c}b=b|8}a=j[65536]|b;j[65536]=a;return a|0}function ik(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;a:{if(!a){j[d>>2]=138895;ve(138869,d);break a}c=ur();b:{if(c){e=j[c>>2];if(e>>>0>=a>>>0){break b}}c=mf(c,(a<<3)+36|0);if(!c){Be(0);break a}f=a+4|0;j[c>>2]=f;if(e>>>0>>0){Ee((e<<3|4)+c|0,0,f-e<<3)}if(BL(c)){break a}}a=(a<<3)+c|0;j[a>>2]=0;j[a-4>>2]=b}oe=d+16|0}function cy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=j[a+356>>2];if(b){d=j[j[a+96>>2]+8>>2];e=d;c=j[a+348>>2];if(c){while(1){f=j[b+16>>2];if(f){qe[j[d+8>>2]](d,f)}i[b+8>>1]=0;j[b+16>>2]=0;b=b+20|0;c=c-1|0;if(c){continue}break}b=j[a+356>>2]}if(b){qe[j[e+8>>2]](e,b)}j[a+356>>2]=0}i[a+344>>1]=0;j[a+348>>2]=0;j[a+352>>2]=0}function Su(a,b,c){var d=0,e=0,f=0;if(!(!a|!b)){if((l[b+20>>1]-1&65535)>>>0>=256){Ze(a,99040);return}Ni(a,b,8,0);d=cg(a,512);j[b+204>>2]=d;if(!d){Ze(a,99086);return}j[b+232>>2]=j[b+232>>2]|8;e=l[b+20>>1];if(e){a=0;while(1){f=a<<1;i[f+d>>1]=l[c+f>>1];a=a+1|0;if(e>>>0>a>>>0){continue}break}}j[b+8>>2]=j[b+8>>2]|64}}function fu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[a+11|0]+7>>>3|0;e=j[a+4>>2]-d|0;if(d){a=0;while(1){h[b|0]=k[b|0]+(k[c|0]>>>1|0);b=b+1|0;c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}if(e){a=0;d=0-d|0;while(1){h[b|0]=k[b|0]+(k[b+d|0]+k[c|0]>>>1|0);b=b+1|0;c=c+1|0;a=a+1|0;if((e|0)!=(a|0)){continue}break}}}function OM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=j[c>>2];f=j[c+4>>2];a=j[b+76>>2];c=j[a+20>>2];f=j[a+16>>2]+p(c,f)|0;a=j[b+4>>2];a:{if(!(!a|(a&-268435456)==268435456)){b=2;if((a|0)==844715353|(a|0)==1498831189){break a}b=(a|0)==1431918169?2:1;break a}b=a&255}j[d>>2]=f+p(b,g);j[e>>2]=c;return 0}function ny(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qi(a,b);a:{if(d){break a}c=j[a+24>>2];if((c|0)<1){break a}a=j[a+28>>2];f=a+p(c,40)|0;c=j[b+4>>2];b=j[b+8>>2];while(1){j[c>>2]=j[a+16>>2];j[c+4>>2]=j[a+20>>2];e=l[a>>1];h[b|0]=e&1?0:e&2?2:1;b=b+1|0;c=c+8|0;a=a+40|0;if(f>>>0>a>>>0){continue}break}}return d|0}function hh(a,b,c){var d=0,e=0;e=b-1|0;a:{if(k[a+436|0]==8){b:{if(e>>>0>253){break b}d=v(vg(+(b|0)/255,+(c|0)*1e-5)*255+.5);if(d<4294967296&d>=0){b=~~d>>>0;break b}b=0}b=b&255;break a}if(e>>>0>65533){break a}d=v(vg(+(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 VH(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{if(!a){break b}b=i[a+2>>1];c=i[a>>1];if(!((b|c)&65535)){return 0}if((b|0)<1|(c|0)<1){break b}f=j[a+12>>2];d=-1;a=0;while(1){e=i[(a<<1)+f>>1];if((e|0)>=(b|0)|(d|0)>=(e|0)){break b}d=e;a=a+1|0;if((c|0)!=(a|0)){continue}break}break a}return 6}return(b-1|0)==(d|0)?0:6}function iv(a,b){var c=0,d=0;a:{c=l[b+114>>1];if(c&32768){c=j[b+8>>2]&-6150;j[b+8>>2]=c;if(!a){break a}d=j[b+232>>2];if(d&16){Ke(a,j[b+116>>2]);Ke(a,j[b+120>>2]);j[b+116>>2]=0;j[b+120>>2]=0;j[b+8>>2]=c}j[b+232>>2]=d&-17;return}a=c<<1&4|(j[b+8>>2]&-2053|c<<4&2048);if(c&1){j[b+8>>2]=a|1;return}j[b+8>>2]=a&-2}}function Ox(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe-16|0;oe=c;e=j[a+16>>2];a=l[a+8>>1];b=xe(b,1,0,a+1|0,0,c+12|0);oe=c+16|0;if(j[c+12>>2]){b=d}else{a:{if(!a){break a}while(1){c=k[e|0];if(!c){break a}h[b+d|0]=c>>>0<32?63:c<<24>>24<0?63:c;e=e+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}d=a}h[b+d|0]=0}return b|0}function hF(a){a=a|0;var b=0,c=0,d=0;if(a){c=j[a+4>>2];if((c|0)>=1){while(1){d=j[j[a+20>>2]+(b<<2)>>2];if(d){ze(d);c=j[a+4>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}ze(j[a+20>>2]);if(j[a+24>>2]>=1){b=0;while(1){ze(j[j[a+28>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}}ze(j[a+28>>2]);ze(a)}}function eH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0),f=0;a:{a=j[b+144>>2];if(!a){break a}if(c){e=q(n[a+16>>2]*q(j[b+24>>2]));b:{if(q(r(e))>2]=f}if(!d){break a}e=q(n[a+16>>2]*q(j[b+28>>2]));c:{if(q(r(e))>2]=a}}function Ul(a){var b=0,c=0,d=0,e=0;a:{b=j[a+4>>2];if(!b){break a}d=j[a+104>>2];if(!d){break a}b=j[b+28>>2];if(!b){break a}c=j[b+4>>2];b=j[b+3656>>2];j[a+56>>2]=-1;j[a+60>>2]=-1;j[a+24>>2]=-1;e=a- -64|0;j[e>>2]=-1;j[e+4>>2]=-1;j[a+32>>2]=0;c=c>>b+1;j[a+48>>2]=c;j[a+20>>2]=c>>b;j[d+128>>2]=-1;j[d+132>>2]=-1}}function eC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=j[a+656>>2];e=j[a+2956>>2];if(!e){return 11}b=l[j[a+1160>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}b:{if(b>>>0>=391){b=b-391|0;if(b>>>0>=m[a+1312>>2]){break a}a=j[j[a+1316>>2]+(b<<2)>>2];break b}a=qe[j[e+20>>2]](b)|0}if(!a){break a}zl(c,a,d)}return 0}function op(a,b,c,d,e){if((b|1|c)<0){j[e>>2]=6;return d}a:{if(!c){if(!d){break a}qe[j[a+8>>2]](a,d);break a}if(!b){if((c|0)<=0){j[e>>2]=c?6:0;return 0}a=qe[j[a+4>>2]](a,c)|0;if(!a){j[e>>2]=64;return 0}a=Ee(a,0,c);j[e>>2]=0;return a}a=qe[j[a+12>>2]](a,b,c,d)|0;j[e>>2]=!a<<6;return a?a:d}j[e>>2]=0;return 0}function gg(a){var b=0,c=0;b=oe-16|0;oe=b;a:{b:{if(!(S()|0)){break b}if(!sg(164159,1)){break b}R(a|0);break a}c=(a>>>0)/1e3|0;j[b+8>>2]=c;j[b+12>>2]=p(a-p(c,1e3)|0,1e6);while(1){j[67100]=0;a=j[b+12>>2];j[b>>2]=j[b+8>>2];j[b+4>>2]=a;if(!(Sa(b|0,b+8|0)|0)){break a}if(j[67100]==27){continue}break}}oe=b+16|0}function ag(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;g=a;h=a;a:{if(!b){b=0;break a}c=b>>31;e=c+b^c;c=s(e);Of(d,e,0,0,0,c+81|0);e=0+j[d+8>>2]|0;c=(j[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=j[d+4>>2];b=j[d>>2]}j[h>>2]=b;j[g+4>>2]=c;j[a+8>>2]=e;j[a+12>>2]=f;oe=d+16|0}function ln(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{if(!(k[b+8|0]&16)|(!a|!b)){break a}b:{if(k[b+25|0]==3){if(c){j[c>>2]=j[b+156>>2];f=16}else{f=0}if(!e){break b}j[e>>2]=b+160;break b}if(e){j[e>>2]=b+160;f=16}else{f=0}if(!c){break b}j[c>>2]=0}if(!d){break a}j[d>>2]=l[b+22>>1];f=16}return f|0}function Em(a){var b=0,c=0;if(!j[67021]){Be(4);return}b=j[66371];if(b){c=j[b+48>>2]>>>14&1}else{c=0}a:{if((c|0)==(a|0)){break a}b:{if(a){if(!b){ve(123854,0);return}if((qe[j[67021]](b)|0)==-1){break a}j[b+48>>2]=j[b+48>>2]|16384;break b}if((qe[j[67021]](0)|0)==-1){break a}j[b+48>>2]=j[b+48>>2]&-16385}}}function qv(a){a=a|0;var b=0,c=0,d=0,e=0;c=oe-16|0;oe=c;if(a){d=qe[j[a+4>>2]](a,0,0,1)|0;e=pe;b=0;a:{if((qe[j[a+8>>2]](a,c+12|0,1,4)|0)!=4){break a}b=0;if(k[c+12|0]!=137){break a}b=0;if(k[c+13|0]!=80){break a}b=0;if(k[c+14|0]!=78){break a}b=k[c+15|0]==71}qe[j[a+4>>2]](a,d,e,0)|0}oe=c+16|0;return b|0}function rh(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a|!b){break a}c=i[a+2>>1];if((c|0)<1){break a}a=j[a+4>>2];c=a+(c<<3)|0;while(1){if(a){d=ye(j[a>>2],j[b>>2]);e=ye(j[a+4>>2],j[b+4>>2]);f=ye(j[a>>2],j[b+8>>2]);g=ye(j[a+4>>2],j[b+12>>2]);j[a>>2]=d+e;j[a+4>>2]=f+g}a=a+8|0;if(c>>>0>a>>>0){continue}break}}}function Rs(){var a=0,b=0;if(j[65553]>=1){while(1){b=j[j[65554]+(a<<2)>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}a=a+1|0;if((a|0)>2];c=j[b+548>>2];b=Kf(j[j[b+96>>2]+4>>2],91760);a:{if(!c|!b){break a}c=j[c>>2];if(!c){break a}c=qe[c|0](b)|0;if(!c){break a}b=j[a>>2];e=qe[j[c>>2]](j[b+100>>2],b+168|0,d+12|0)|0;if(e){break a}j[a+40>>2]=j[d+12>>2]}oe=d+16|0;return e|0}function IM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=j[b+76>>2];b=j[a+436>>2];e=$g();c=j[b>>2];a:{if((e|0)!=(c|0)){j[b+424>>2]=0;if((zg(j[a+188>>2],c)|0)<0){break a}}a=j[a+436>>2];if(!j[a+4>>2]){break a}while(1){if(qe[j[a+104>>2]]()|0){continue}break}}qe[j[b+20>>2]](j[d+4>>2],0);j[b+360>>2]=0;return 0}function fg(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;h[c+15|0]=0;j[b>>2]=0;d=j[a+8>>2];a:{b:{e=j[a+20>>2];c:{if(e){if((qe[e|0](a,d,c+15|0,1)|0)!=1){break b}d=j[a+8>>2];b=c+15|0;break c}if(m[a+4>>2]<=d>>>0){break b}b=j[a>>2]+d|0}b=k[b|0];j[a+8>>2]=d+1;break a}j[b>>2]=85;b=0}oe=c+16|0;return b<<24>>24}function ts(a,b){var c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;d=j[a>>2];j[c+12>>2]=0;f=j[a+12>>2];b=j[a+84>>2]+(j[a+48>>2]+b|0)|0;a:{if(f>>>0>=b>>>0){break a}b=b+1&-2;d=xe(d,32,f,b,j[a+52>>2],c+12|0);j[a+52>>2]=d;e=j[c+12>>2];if(e){break a}j[a+12>>2]=b;j[a+88>>2]=d+(j[a+48>>2]<<5);e=0}oe=c+16|0;return e}function mN(a){var b=0,c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;e=-1;f=qe[j[58771]]()|0;a:{if((f|0)<1){break a}while(1){b=qe[j[58771]]()|0;b:{if((b|0)<=(c|0)){j[d>>2]=b;ve(125346,d);b=-1;break b}b=qe[j[58776]](c)|0}if((b|0)==(a|0)){e=c;break a}c=c+1|0;if((f|0)!=(c|0)){continue}break}}oe=d+16|0;return e}function kw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(b>>>0>65535){break a}e=j[c+284>>2];if((e|0)<1){break a}f=j[c+288>>2];while(1){c=j[(d<<2)+f>>2];b:{if(!c|k[c|0]!=k[a|0]){break b}if((Le(c)|0)!=(b|0)){break b}if(!Qe(c,a,b)){break a}}d=d+1|0;if((e|0)>(d|0)){continue}break}d=0}return d|0}function vH(a,b,c,d,e,f,g,h){var i=0,k=0,l=0;if((c|0)==372645892){return Iq(a,b,d,e,f,g,h)}k=a<<2;i=p(k,b);i=qe[j[57972]](i?i:1)|0;if(i){j[57976]=j[57976]+1}if(!i){return Be(0)}l=-1;if((th(a,b,c,d,e,372645892,i,k)|0)!=-1){l=Iq(a,b,i,k,f,g,h)}if(i){qe[j[57975]](i);j[57976]=j[57976]-1}return l}function Dw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=i[a+298>>1];if(e){e=Ne(d,e,j[a+564>>2]);f=j[b+16>>2]+(c<<3)|0;j[f>>2]=e+j[f>>2];e=j[b+24>>2]+c|0;h[e|0]=k[e|0]|8}e=i[a+300>>1];if(e){a=Ne(d,e,j[a+564>>2]);d=j[b+16>>2]+(c<<3)|0;j[d+4>>2]=a+j[d+4>>2];a=j[b+24>>2]+c|0;h[a|0]=k[a|0]|16}}function Zp(a){var b=0,c=0,d=0,e=0,f=0;b=j[a+40>>2];c=qe[b|0](a,0,0,k[a|0]&128?m[a+20>>2]>m[a+28>>2]?2:1:1)|0;b=pe;d=b;if((b|0)>0?1:(b|0)>=0){e=j[a+20>>2]-j[a+28>>2]|0;a=j[a+8>>2]-j[a+4>>2]|0;f=c-a|0;b=e+f|0;a=(d-((a>>31)+(c>>>0>>0)|0)|0)+(e>>31)|0;c=b;d=b>>>0>>0?a+1|0:a}pe=d;return c}function AH(a){var b=0,c=0;b=j[67085];if(!b){ve(151717,0);return 0}if(!(j[a>>2]==(b+316|0)?a:0)){ve(150417,0);return 0}if(!(k[a+48|0]&2)){ve(151317,0);return 0}b=qe[j[b+180>>2]](b,a)|0;if(!b){return 0}c=j[67085];j[c+700>>2]=b;j[c+696>>2]=a;ik(j[c+704>>2],a);ik(j[j[67085]+708>>2],b);return b}function hg(a,b){var c=0,d=0,e=0;if(!a){return}d=j[a+52>>2];e=j[d+68>>2];c=e&-113;j[d+68>>2]=c;a:{b:{c:{switch(b|0){case 1:c=c|16;break b;case 2:c=c|32;break b;case 4:c=c|64;break b;case 0:break a;default:break c}}Be(4);d=j[a+52>>2];c=j[d+68>>2];break a}j[d+68>>2]=c}if((c|0)!=(e|0)){wf(d)}}function _i(a,b){var c=0,d=0,e=0,f=0,g=0;d=j[a+24>>2];a:{if((d|0)<0){break a}e=j[a+20>>2];if((e|0)<=(d|0)){break a}if(b){f=j[j[a+4>>2]+4>>2];if((f|0)>=1){while(1){g=c<<2;j[g+j[a+12>>2]>>2]=j[j[a+8>>2]+g>>2]+(d<<2);c=c+1|0;if((f|0)!=(c|0)){continue}break}}j[b>>2]=j[a+12>>2]}c=e-d|0}return c}function xA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=j[a+20>>2];if(k[a+68|0]){g=j[e+8>>2];f=i[e+2>>1];a=j[e+4>>2]+(f<<3)|0;j[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;j[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;h[g+f|0]=d?1:2}i[e+2>>1]=l[e+2>>1]+1}function Zi(a){var b=0,c=0,d=0;if(a){b=j[a>>2];if(b){c=j[a+8>>2];if((c|0)>=1){while(1){b=j[(d<<2)+b>>2];if(b){ze(b);c=j[a+8>>2]}d=d+1|0;if((d|0)<(c|0)){b=j[a>>2];continue}break}b=j[a>>2]}ze(b)}b=j[a+4>>2];if(b){ze(b)}b=j[a+12>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function Rq(a,b){var c=0;if(!a){return}if(!b){return}a=j[a>>2];if(!a){return}if(h[b+16|0]&1){c=j[b+4>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+4>>2]=0;c=j[b+8>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+8>>2]=0;c=j[b+12>>2];if(c){qe[j[a+8>>2]](a,c)}}j[b>>2]=0;j[b+4>>2]=0;j[b+16>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0}function jr(a,b,c){var d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;d=0;a:{if(!a){break a}f=j[a+92>>2];d=0;if(!f){break a}d=0;if(!j[a+16>>2]){break a}j[e+12>>2]=b;while(1){g=qe[j[j[f+12>>2]+16>>2]](f,e+12|0)|0;if(g>>>0>=m[a+16>>2]){continue}break}d=g?j[e+12>>2]:0}a=d;if(c){j[c>>2]=g}oe=e+16|0;return a}function eh(a){var b=0,c=0;if(a){b=j[a>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}b=j[a+8>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function Jx(a,b){a=a|0;b=b|0;var c=0;a:{switch(b|0){case 0:return a+160|0;case 3:return a+216|0;case 4:return(k[a+292|0]?a+296|0:0)|0;case 2:return(l[a+364>>1]==65535?0:a+364|0)|0;case 5:return a+468|0;case 1:return a+260|0;case 6:c=j[a+548>>2]?a+548|0:0;break;default:break a}}return c|0}function rD(a){var b=0,c=0,d=0,e=0;e=Le(a);a:{if(!j[67124]|!k[a|0]){break a}if(Zg(a,61)){break a}b=j[j[67124]>>2];if(!b){break a}b:{while(1){d=Qe(a,b,e);b=j[67124];if(!d){d=j[b+(c<<2)>>2]+e|0;if(k[d|0]==61){break b}}c=c+1|0;b=j[b+(c<<2)>>2];if(b){continue}break}return 0}c=d+1|0}return c}function nt(){var a=0;Wg();a:{if(!j[65548]){break a}if(j[j[j[65548]>>2]+64>>2]){qe[j[j[j[65548]>>2]+64>>2]](j[j[65548]+4>>2])}j[j[65548]+8>>2]=0;j[j[65548]+12>>2]=0;j[65548]=0;a=j[65541];if(!a){break a}qe[a|0]()}Gg();a=j[65538];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[65538]=0}}function mi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-16|0;oe=c;g=a;h=a;a:{if(!b){b=0;e=0;break a}d=b;b=s(b);Of(c,d,0,0,0,b+81|0);d=0+j[c+8>>2]|0;b=(j[c+12>>2]^65536)+(16414-b<<16)|0;b=d>>>0>>0?b+1|0:b;f=d;d=b;b=j[c+4>>2];e=j[c>>2]}j[h>>2]=e;j[g+4>>2]=b;j[a+8>>2]=f;j[a+12>>2]=d;oe=c+16|0}function Xh(a){var b=0;if(a){b=j[a+260>>2];if(b){qe[b|0](a)}eh(j[a+168>>2]);b=j[a+176>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+188>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+244>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function oz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=j[a+16>>2];j[a+32>>2]=b;c=j[a+20>>2];j[a+36>>2]=c;d=j[a+8>>2];e=(d+j[a>>2]|0)/2|0;j[a+8>>2]=e;b=(b+d|0)/2|0;j[a+24>>2]=b;d=j[a+12>>2];f=(d+j[a+4>>2]|0)/2|0;j[a+12>>2]=f;c=(c+d|0)/2|0;j[a+28>>2]=c;j[a+16>>2]=(b+e|0)/2;j[a+20>>2]=(c+f|0)/2}function RM(a,b){a=a|0;b=b|0;a=j[a+436>>2];j[a+356>>2]=1;if(!b){qe[j[a+188>>2]](36160,j[a+236>>2]);return 0}b=j[b+76>>2];qe[j[a+188>>2]](36160,j[j[b+40>>2]+8>>2]);qe[j[a+192>>2]](36160,36064,j[b+4>>2],j[b>>2],0);if((qe[j[a+196>>2]](36160)|0)!=36053){a=ve(127789,0)}else{a=0}return a|0}function Lh(a){var b=0,c=0,d=0,e=0,f=0;f=j[a+76>>2]>=0;d=j[a>>2]&1;if(!d){b=j[a+52>>2];if(b){j[b+56>>2]=j[a+56>>2]}c=j[a+56>>2];if(c){j[c+52>>2]=b}if(j[67123]==(a|0)){j[67123]=c}}b=Vp(a);c=qe[j[a+12>>2]](a)|0;e=j[a+96>>2];if(e){ze(e)}a:{if(!d){ze(a);break a}if(!f){break a}}return b|c}function oN(){var a=0;if(k[268300]){while(1){gg(1);if(k[268300]){continue}break}}a=j[67074];if(a){while(1){j[a+88>>2]=1;Am(a);a=j[67074];if(a){continue}break}}qe[j[58781]]();pj(16384);$h(125309,666,0);a=j[67073];if(a){j[67073]=0;if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}tN()}function Vl(a,b){var c=0,d=0,e=0;b=Ee(b,0,112);j[b+76>>2]=0;j[b+64>>2]=a;j[b+68>>2]=0;if(j[a>>2]){c=bf(1,72);j[b+104>>2]=c;j[c+4>>2]=-971228160;a=b+4|0;e=c+12|0;while(1){a:{if((d|0)==7){j[c+40>>2]=a;b=a;break a}b=bf(1,20);j[(d<<2)+e>>2]=b}hE(b);d=d+1|0;if((d|0)!=15){continue}break}}}function KH(){var a=0,b=0,c=0;a:{b=j[67085];if(!b|!j[b+288>>2]){break a}b=1;if((We(4096,-1)|0)!=1){b=(We(4097,-1)|0)==1}c=j[67085];a=j[c+308>>2];if(!a){break a}qe[j[c+288>>2]](a,b);a=j[a+152>>2];if(!a){break a}while(1){qe[j[j[67085]+288>>2]](a,b);a=j[a+152>>2];if(a){continue}break}}}function qj(a,b){var c=0,d=0;c=j[65567];if((a|0)==-1){if((c|0)>=1){a=0;while(1){d=qj(a,b)+d|0;a=a+1|0;c=j[65567];if((a|0)<(c|0)){continue}break}}return(d|0)/(c|0)|0}a:{if((a|0)>=(c|0)){break a}a=j[65568]+p(a,60)|0;d=j[a+16>>2];if((b|0)<0){break a}j[a+16>>2]=(b|0)<128?b:128}return d}function JG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(j[b>>2]){a=j[c+24>>2];b=j[c+4>>2];d=j[b+48>>2];j[c+24>>2]=0;j[b+48>>2]=a|d|1;return 0}a=j[c+4>>2];j[a+48>>2]=j[a+48>>2]&-4098;a=Oh(a);if((a|0)>=0){a=j[j[67085]+304>>2]+p(a,72)|0}else{a=0}if(j[a+60>>2]==j[c+4>>2]){j[a+60>>2]=0}return 0}function Dt(a,b){var c=0,d=0;a:{d=k[a+9|0];if(d>>>0>7){break a}c=j[a+4>>2];a=102448;b:{c:{switch(d-1|0){case 1:a=102704;break b;case 0:break b;case 3:break c;default:break a}}a=102960}if((c|0)<1){break a}c=b+c|0;while(1){h[b|0]=k[k[b|0]+a|0];b=b+1|0;if(c>>>0>b>>>0){continue}break}}}function sv(a){var b=0,c=0;b=oe-16|0;oe=b;c=ne(a|0,b+12|0,b+8|0)|0;a:{if(c){a=Ag(0,j[b+12>>2],j[b+8>>2],32,255,65280,16711680,-16777216);if(a){Ae(j[a+20>>2],c,p(j[b+12>>2],j[b+8>>2])<<2)}ze(c);break a}c=Fi(a,96056);a=Ml(a,46);if(!c){a=0;break a}a=rv(c,a?a+1|0:0)}oe=b+16|0;return a}function lA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=qe[j[a+20>>2]](l[j[a+16>>2]+(b<<1)>>1])|0;d=j[a+24>>2];if(!d){break a}e=j[a+28>>2];while(1){a=j[(c<<2)+e>>2];if(!(!a|k[a|0]!=k[b|0])){if(!we(a,b)){break a}}c=c+1|0;if(d>>>0>c>>>0){continue}break}c=0}return c|0}function Uz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=j[c>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}d=j[c+4>>2];c=d+32768&-65536;if((d|0)<0){c=0-(32768-d&-65536)|0}a:{if(j[a+4>>2]){break a}b=Ri((p((b|0)!=0,36)+a|0)+16|0,e>>16,c>>16,j[a>>2],0);if(!b){break a}j[a+4>>2]=b}}function Bv(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=j[a+100>>2];b=j[a+132>>2];if(b){if(j[b+160>>2]){jf(j[a+104>>2],b+160|0)}d=c;e=j[b+168>>2];if(e){qe[j[d+8>>2]](d,e)}j[b+168>>2]=0;if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0}d=j[a+32>>2];if(d){qe[j[c+8>>2]](c,d)}j[a+28>>2]=0;j[a+32>>2]=0}}function sg(a,b){var c=0,d=0;d=Qf(a);c=j[66036];a:{b:{c:{if(!c){break c}while(1){if(!df(a,j[c>>2])){if(j[c+8>>2]!=2?d:0){break b}d=j[c+4>>2];break c}c=j[c+16>>2];if(c){continue}break}}if(!d){break a}}a=k[d|0];if(!a){break a}if((a|0)!=48){b=1;if(Me(d,116568)){break a}}b=0}return b}function pk(a){var b=0;a:{b=j[67024];if((b|0)==(a|0)){break a}if(b){Cf(b,11,0,0)}j[67024]=a;j[67034]=0;b:{if(a){Cf(a,10,0,0);b=268200;if(j[67024]){break b}}b=268196}a=j[67015];b=j[b>>2];if(!(j[67035]|(!b|!j[67051]))){if(!a){break a}qe[a|0](b)|0;return}if(!a){break a}qe[a|0](0)|0}}function li(a,b,c,d){var e=0,f=0,g=0;f=j[67125]+1|0;j[67125]=f;j[a>>2]=f;a:{if(d){while(1){g=(e<<3)+c|0;if(!j[g>>2]){break a}e=e+1|0;if((e|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=li(e,b,Vf(c,d<<4|8),a);D(a|0);return b}j[g>>2]=f;a=(e<<3)+c|0;j[a+4>>2]=b;j[a+8>>2]=0;D(d|0);return c}function ye(a,b){var c=0,d=0;if(!(!a|(b|0)==65536)){d=(a|0)<0?-1:1;d=(b|0)<0?0-d|0:d;c=a;a=a>>31;a=c+a^a;c=b;b=b>>31;b=c+b^b;a:{if(a+(b>>>8|0)>>>0<=8190){a=p(a,b)+32768>>>16|0;break a}c=a&65535;a=p(c,b>>>16|0)+p(b,a>>>16|0)+(p(c,b&65535)+32768>>>16)|0}a=(d|0)<0?0-a|0:a}return a}function cE(a,b){var c=0,d=0,e=0,f=0;d=a+2|0;c=k[a+2|0];e=!c;a=k[a+1|0]<<16|k[a|0]<<24|c<<8;f=k[b+1|0]<<16|k[b|0]<<24|k[b+2|0]<<8;a:{if(!(!c|(a|0)==(f|0))){while(1){b=d+1|0;c=k[d+1|0];e=!c;a=(a|c)<<8;if((f|0)==(a|0)){break a}d=b;if(c){continue}break}break a}b=d}return e?0:b-2|0}function ry(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=142;e=l[a+152>>1];a:{if(!e){break a}a=j[a+156>>2];e=a+(e<<4)|0;while(1){b:{if(j[a>>2]==(b|0)){g=j[a+12>>2];if(g){break b}}a=a+16|0;if(e>>>0>a>>>0){continue}break a}break}if(d){j[d>>2]=g}f=Fe(c,j[a+8>>2])}return f|0}function Yf(a,b){var c=0,d=0;c=h[b|0];if(!c){return a}a=Zg(a,c);a:{if(!a){break a}if(!k[b+1|0]){return a}if(!k[a+1|0]){break a}if(!k[b+2|0]){return dE(a,b)}if(!k[a+2|0]){break a}if(!k[b+3|0]){return cE(a,b)}if(!k[a+3|0]){break a}if(!k[b+4|0]){return bE(a,b)}d=aE(a,b)}return d}function Ju(a,b,c){if(!(!a|!b|(!c|k[a+209|0]&2))){a:{if(!((k[c+2|0]-1&255)>>>0>11|(k[c+3|0]-1&255)>>>0>30|(k[c+4|0]>23|k[c+5|0]>59))){if(k[c+6|0]<61){break a}}Ze(a,99591);return}a=l[c+4>>1]|l[c+6>>1]<<16;j[b+140>>2]=l[c>>1]|l[c+2>>1]<<16;j[b+144>>2]=a;j[b+8>>2]=j[b+8>>2]|512}}function bw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;f=b>>>0<4?b:4;if(f){b=0;while(1){d=b<<2;h=d+e|0;d=j[c+d>>2];g=d+32768&-65536;if((d|0)<0){g=0-(32768-d&-65536)|0}j[h>>2]=g>>16;b=b+1|0;if((f|0)!=(b|0)){continue}break}}a=Gn(a,f,e);oe=e+16|0;return a|0}function LM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=Pr(b);d=Nr(b);if(!(23>>>b&1)|b>>>0>=5){c=b&15}else{c=1}e=Or(b);f=Mr(b);if(!(23>>>b&1)|b>>>0>=5){b=b>>>16&15}else{b=1}a:{if(a-1>>>0>9|d-1>>>0>9|(c-1>>>0>2|e-1>>>0>9)){break a}if(f-1>>>0>9){break a}return b-1>>>0<3|0}return 0}function EH(a){var b=0,c=0;b=oe-16|0;oe=b;c=j[67085];a:{if(!c){ve(151717,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(150417,0);break a}j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=j[a+24>>2];j[b+12>>2]=j[a+28>>2];if(!j[a+112>>2]){ve(150919,0);break a}qe[j[c+140>>2]](c,a,b,1)|0}oe=b+16|0}function fq(a,b){var c=0,d=0,e=0;if(a){Ee(a+8|0,0,352);j[a+24>>2]=1024;j[a+4>>2]=16384;d=Se(16384);j[a>>2]=d;c=Se(4096);j[a+16>>2]=c;e=Se(8192);j[a+20>>2]=e;a:{if(d){if(c?e:0){break a}ze(d);c=j[a+16>>2]}if(c){ze(c)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360);return}j[a+336>>2]=b}}function Pq(a,b){var c=0,d=0,e=0;a:{c=j[67085];if(!c){ve(151717,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(150417,0);break a}d=b&4097;c=j[a+48>>2];e=c&4097;if((d|0)==(e|0)){break a}j[a+48>>2]=c&-4098|d;if(!bh(a,(c>>>6^-1)&c>>>2&b&1)){break a}j[a+48>>2]=j[a+48>>2]&-4098|e}}function Ch(a){var b=0,c=0;j[a+20>>2]=0;j[a+48>>2]=0;b=j[a+24>>2];j[a+56>>2]=j[a+20>>2];j[a+60>>2]=b;c=j[a+32>>2];b=a- -64|0;j[b>>2]=j[a+28>>2];j[b+4>>2]=c;b=j[a+40>>2];j[a+72>>2]=j[a+36>>2];j[a+76>>2]=b;j[a+88>>2]=j[a+52>>2];b=j[a+48>>2];j[a+80>>2]=j[a+44>>2];j[a+84>>2]=b}function AG(a){a=a|0;var b=0,c=0,d=0;b=oe-32|0;oe=b;h[b+7|0]=0;j[b+8>>2]=370546692;c=E(157526,b+7|0,0)|0;h[b+6|0]=0;j[b+12>>2]=c;c=E(157553,b+6|0,0)|0;j[b+20>>2]=0;j[b+24>>2]=0;j[b+16>>2]=c;a:{if((RH(b+8|0)|0)<0){d=-1;break a}PH(j[a+304>>2],b+8|0);aH()}oe=b+32|0;return d|0}function tG(a){a=a|0;var b=0,c=0,d=0;b=oe-16|0;oe=b;j[a+76>>2]=1;j[a+44>>2]=997;j[a+4>>2]=998;j[a+64>>2]=1;j[a+68>>2]=1;h[b+15|0]=0;c=E(157825,b+15|0,0)|0;a:{if(!c){ve(157964,0);break a}h[b+14|0]=0;d=(E(157991,b+14|0,0)|0)!=0}j[a+80>>2]=d;j[a+72>>2]=d;oe=b+16|0;return c|0}function oi(a,b,c){var d=0,e=0,f=0;a:{if(b>>>0<1){d=a;break a}while(1){d=iP(a,b,10);e=pe;f=e;e=gP(d,e,10,0);c=c-1|0;h[c|0]=a-e|48;e=b>>>0>9;a=d;b=f;if(e){continue}break}}if(d){while(1){c=c-1|0;a=(d>>>0)/10|0;h[c|0]=d-p(a,10)|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function UG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=oe-16|0;oe=a;if(j[c+28>>2]){I(j[c+12>>2],a+8|0,a|0)|0;c=j[c+4>>2];d=o[a>>3];a:{if(r(d)<2147483648){b=~~d;break a}b=-2147483648}d=o[a+8>>3];b:{if(r(d)<2147483648){e=~~d;break b}e=-2147483648}Cf(c,5,e,b)}oe=a+16|0;return 0}function Ll(a){var b=0;if(j[a+76>>2]<0){a:{if(h[a+75|0]==10){break a}b=j[a+20>>2];if(b>>>0>=m[a+16>>2]){break a}j[a+20>>2]=b+1;h[b|0]=10;return}wp(a);return}b:{c:{if(h[a+75|0]==10){break c}b=j[a+20>>2];if(b>>>0>=m[a+16>>2]){break c}j[a+20>>2]=b+1;h[b|0]=10;break b}wp(a)}}function Kl(a){var b=0,c=0;a:{if(m[a+20>>2]<=m[a+28>>2]){break a}qe[j[a+36>>2]](a,0,0)|0;if(j[a+20>>2]){break a}return-1}b=j[a+4>>2];c=j[a+8>>2];if(b>>>0>>0){b=b-c|0;qe[j[a+40>>2]](a,b,b>>31,1)|0}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;return 0}function Dx(){var a=0,b=0,c=0,d=0;a=oe-16|0;oe=a;a:{if(!Qs()){Zm();b:{if(j[57795]==5){b=1;if(j[57797]){break b}}b=j[57815]==5&j[57817]!=0}if(!b){ve(115573,0)}Ym(25);c=242880,d=st(),j[c>>2]=d;if(ot()){break a}pt(j[60720]);break a}c=a,d=Fg(),j[c>>2]=d;Zh(1259,a)}oe=a+16|0}function rH(a){a=a|0;var b=0,c=0;b=j[a+992>>2];if(b){c=j[b+8>>2];if(c){qe[j[b+52>>2]](c)|0;b=j[a+992>>2];j[b+8>>2]=0}c=j[b+4>>2];if(c){Fq(c);b=j[a+992>>2];j[b+4>>2]=0}c=j[b>>2];if(c){Fq(c);b=j[a+992>>2];j[b>>2]=0}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[a+992>>2]=0}}function Wi(a,b,c){var d=0,e=0,f=0;d=a*a;f=d*(d*d)*(d*1.58969099521155e-10+ -2.5050760253406863e-8)+(d*(d*27557313707070068e-22+ -.0001984126982985795)+.00833333333332249);e=d*a;if(!c){return e*(d*f+ -.16666666666666632)+a}return a-(d*(b*.5-e*f)-b+e*.16666666666666632)}function Fu(a,b){var c=0,d=0;a:{c=k[a+441|0];b:{if(c>>>0>7){break b}j[a+800>>2]=17;b=b+32|0;d=8-c|0;pf(a,b+c|0,d);h[a+441|0]=8;if(xn(b,c,d)){if(c>>>0<=3){if(xn(b,c,4-c|0)){break a}}Ye(a,99933);z()}if(c>>>0>2){break b}j[a+208>>2]=j[a+208>>2]|4096}return}Ye(a,99918);z()}function hs(a){var b=0,c=0;c=j[67051];a:{if((a|0)<0){break a}b=(a|0)!=0;j[67051]=b;if((b|0)==(c|0)){break a}b=j[67015];b:{if(j[67035]|!a){break b}a=j[(j[67024]?268200:268196)>>2];if(!a){break b}if(!b){break a}qe[b|0](a)|0;return c}if(!b){break a}qe[b|0](0)|0}return c}function _H(a){var b=0,c=0;if(a){b=j[a>>2];a:{if(!b){break a}c=j[b+56>>2];j[b+56>>2]=c-1;if((c|0)>1){break a}lf(b)}j[a>>2]=0;j[a+80>>2]=0;j[a+84>>2]=0;b=a- -64|0;c=j[b>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[b>>2]=0;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function jz(a,b){a=a|0;b=b|0;var c=0;if(m[b+160>>2]>>0){Pe(b,8)}c=k[a+3|0]|k[a+2|0]<<8;if(!(m[b+160>>2]>=a+c>>>0?c>>>0>=262:0)){Pe(b,8)}if(j[b+164>>2]){a=a+6|0;c=0;while(1){if(m[b+172>>2]<=k[a|0]){Pe(b,16)}a=a+1|0;c=c+1|0;if((c|0)!=256){continue}break}}return 0}function iy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=j[a+508>>2];e=b;a:{b:{if(c){c=qe[d|0](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=qe[d|0](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=$e(e,88544,a);if(c){break a}j[a+36>>2]=0;j[a+40>>2]=0;c=0}return c|0}function uG(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,m=0,n=0;while(1){h=g<<2;k=h+d|0;j[k>>2]=0;a:{b:{if(!b){i=f+h|0;j[i>>2]=0;break b}i=f+h|0;l=Fe(b,0);j[i>>2]=l;if(l){break a}}m=i,n=qe[j[(g<<3)+6592>>2]](a,b,c,k,e+h|0)|0,j[m>>2]=n}g=g+1|0;if((g|0)!=9){continue}break}}function et(a){a=a|0;var b=0;b=j[a+68>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}b=j[a+60>>2];if(b){Xh(b)}b=j[a+56>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(j[a+4>>2]){b=j[a>>2];qe[j[b+16>>2]](b)|0}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function VA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=j[a+88>>2];if(b){j[b>>2]=j[a+300>>2]}if(c){j[c>>2]=j[a+304>>2]}a:{if(!f){b=65536;a=65536;break a}b=De(l[f+12>>1]<<6,j[a+304>>2]);a=De(l[f+14>>1]<<6,j[a+304>>2])}if(d){j[d>>2]=b}if(e){j[e>>2]=a}return 0}function Mf(a,b,c){var d=0,e=0;d=oe-224|0;oe=d;a:{b:{if(k[a+209|0]&128){if(k[a+214|0]&16|(c|0)<=1){break b}hf(a,b);z()}e=j[a+212>>2];c:{d:{if((c|0)<=0){if(e&2097152){break d}break c}if(!(e&4194304)){break c}}Ze(a,b);break a}Ye(a,b);z()}Li(a,d,b);Ze(a,d)}oe=d+224|0}function Hv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=j[a+416>>2];if((d|0)>=1){f=j[a+420>>2];g=k[b|0];while(1){a:{e=j[(c<<2)+f>>2];if(k[e|0]!=(g|0)){break a}if(we(b,e)){break a}return sf(j[j[a+424>>2]+(c<<2)>>2])|0}c=c+1|0;if((d|0)>(c|0)){continue}break}}return 0}function ht(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=j[a+64>>2];if((e|0)>=1){f=j[a+68>>2];while(1){d=p(c,20)+f|0;j[d>>2]=1;j[d+16>>2]=j[d+12>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[a+36>>2]=b;b=j[a>>2];qe[j[b+4>>2]](b,j[a+40>>2],j[a+44>>2],0)|0;return pe>>31}function Uq(a,b){var c=0;a:{if(!a|!b){break a}c=l[a+2>>1];if((c|0)!=l[b+2>>1]|l[a>>1]!=l[b>>1]|(a|0)==(b|0)){break a}Ae(j[b+4>>2],j[a+4>>2],c<<16>>16<<3);Ae(j[b+8>>2],j[a+8>>2],i[a+2>>1]);Ae(j[b+12>>2],j[a+12>>2],i[a>>1]<<1);j[b+16>>2]=j[a+16>>2]&-2|j[b+16>>2]&1}}function sq(a){var b=0,c=0,d=0,e=0;b=j[a+84>>2];if(b){while(1){c=j[b+4>>2];ze(j[b>>2]);ze(b);b=c;if(b){continue}break}}c=j[a+80>>2];if(c){d=a,e=Vf(j[a+68>>2],c+j[a+76>>2]|0),j[d+68>>2]=e;c=j[a+80>>2];j[a+80>>2]=0;j[a+76>>2]=c+j[a+76>>2]}j[a+84>>2]=0;j[a+72>>2]=0}function Wh(a,b,c){var d=0,e=0;d=oe-32|0;oe=d;a:{if(!a){j[d>>2]=117899;e=ve(117597,d);break a}if(!b){j[d+16>>2]=117906;e=ve(117597,d+16|0);break a}e=0;if((c|0)<1){break a}if((c|0)%j[a+208>>2]|0){e=ve(117942,0);break a}e=Pm(j[a+168>>2],b,c)}a=e;oe=d+32|0;return a}function vs(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b=pi(b,1024);if(b){Ui(b,0,2);c=Xp(b);Ui(b,0,0);d=Se(c+1|0);if(d){e=Nj(d,1,c,b);if(e>>>0>c>>>0){break a}h[d+e|0]=0;Lh(b)}j[a>>2]=d;j[a+4>>2]=c;return}f=a,g=bf(1,1),j[f>>2]=g;j[a+4>>2]=1;return}za(1027,1050,45,1069);z()}function bq(a,b){var c=0,d=0,e=0;rP(+a);c=oP(1)|0;d=oP(0)|0;e=c;c=c>>>20&2047;if((c|0)!=2047){if(!c){c=b;if(a==0){b=0}else{a=bq(a*0x10000000000000000,b);b=j[b>>2]+ -64|0}j[c>>2]=b;return a}j[b>>2]=c-1022;pP(0,d|0);pP(1,e&-2146435073|1071644672);a=+qP()}return a}function Mw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>=0){c=b+c|0;b=j[a+480>>2];c=j[a+484>>2]+(c-b|0)|0;a=(c-((c|0)%j[a+476>>2]|0)|0)+b|0;return((a|0)<0?b:a)|0}d=b;b=j[a+480>>2];c=j[a+484>>2]+c-(d+b)|0;a=(((c|0)%j[a+476>>2]|0)-c|0)-b|0;return((a|0)>0?0-b|0:a)|0}function kC(a,b){a=a|0;b=b|0;var c=0;a=j[a+656>>2];b=l[j[a+1160>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=m[a+1312>>2]){break a}return j[j[a+1316>>2]+(b<<2)>>2]}a=j[a+2956>>2];if(!a){break a}c=qe[j[a+20>>2]](b)|0}return c|0}function aH(){var a=0,b=0;j[67018]=951;j[67017]=952;j[67015]=953;j[67013]=954;j[67020]=955;j[67014]=956;a=Xe(1,8);a:{if(a){b=Xe(1,8);if(!b){Be(0);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}is(0);return}j[b+4>>2]=0;j[b>>2]=156370;j[a+4>>2]=b;break a}Be(0)}is(a)}function fB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=j[a>>2];c=j[b+408>>2];j[a+16>>2]=c;d=j[b+416>>2];j[a+20>>2]=d;a:{if(c>>>0<2){break a}b=j[d>>2];a=1;while(1){e=b;b=j[(a<<4)+d>>2];if(e>>>0>>0){a=a+1|0;if((c|0)!=(a|0)){continue}break a}break}f=8}return f|0}function YG(a){a=a|0;var b=0;b=oe-16|0;oe=b;a:{if(!j[67024]){break a}b:{if(!a){break b}a=j[a+4>>2];if(!a){break b}a=j[a>>2];if(!a){break a}h[b+14|0]=105;h[b+15|0]=0;j[b>>2]=a;E(156208,b+14|0,b|0)|0;break a}h[b+13|0]=0;E(156301,b+13|0,0)|0}oe=b+16|0;return 0}function WC(a,b){var c=0;if(!a){return 40}j[a+16>>2]=b;j[a+8>>2]=0;j[a+12>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a>>2]=0;b=pi(b,6732);if(!b){return 1}Ui(b,0,2);c=Xp(b);j[a+4>>2]=c;if(!c){Lh(b);return 81}Ui(b,0,0);j[a+24>>2]=48;j[a+20>>2]=49;j[a+12>>2]=b;return 0}function sD(){var a=0,b=0;a=oe-16|0;oe=a;a:{if(La(a+12|0,a+8|0)|0){break a}b=Se((j[a+12>>2]<<2)+4|0);j[67124]=b;if(!b){break a}b=Se(j[a+8>>2]);if(!b){j[67124]=0;break a}j[j[67124]+(j[a+12>>2]<<2)>>2]=0;if(!(Ka(j[67124],b|0)|0)){break a}j[67124]=0}oe=a+16|0}function pi(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;a:{b:{if(!Zg(226820,h[b|0])){j[67100]=28;break b}e=vD(b);j[c>>2]=438;a=Oa(a|0,e|32768,c|0)|0;if(a>>>0>=4294963201){j[67100]=0-a;a=-1}if((a|0)<0){break a}d=PD(a,b);if(d){break a}W(a|0)|0}d=0}oe=c+16|0;return d}function cF(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;a:{if((f|0)<1){break a}b=0;h=0;while(1){i=h<<2;if(j[i+e>>2]){j[(b<<2)+d>>2]=j[d+i>>2];b=b+1|0}h=h+1|0;if((h|0)!=(f|0)){continue}break}if(!b){break a}tq(a,c,d,b,g)}return 0}function Vf(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){return Se(b)|0}if(b>>>0>=4294967232){j[67100]=48;return 0}c=nD(a-8|0,b>>>0<11?16:b+11&-8);if(c){return c+8|0}c=Se(b);if(!c){return 0}d=j[a-4>>2];d=(d&3?-4:-8)+(d&-8)|0;Ae(c,a,b>>>0>d>>>0?d:b);ze(a);return c|0}function QO(a){var b=0;j[a+56>>2]=0;j[a+84>>2]=0;b=i[a+22>>1];j[a- -64>>2]=b+j[a+28>>2];j[a+68>>2]=j[a+32>>2]+(i[a+20>>1]<<1);b=b<<3;j[a+60>>2]=b+j[a+24>>2];if(k[a+16|0]){j[a+76>>2]=b+j[a+40>>2];j[a+80>>2]=b+j[a+44>>2]}j[a+88>>2]=j[a+52>>2]+(j[a+48>>2]<<5)}function iw(a,b){a=a|0;b=b|0;var c=0,d=0;a:{d=j[a>>2];c=j[d+548>>2];d=Kf(j[j[d+96>>2]+4>>2],91760);if(!(!c|!d)){c=j[c>>2];if(c){break a}}Ai(j[a>>2],b);return 0}c=qe[c|0](d)|0;Ai(j[a>>2],b);if(c){qe[j[c+4>>2]](j[a+40>>2],j[a+16>>2],j[a+20>>2],0,0)}return 0}function RN(){var a=0,b=0;a=j[67055];if(a){while(1){a=a-1|0;b=j[j[67056]+(a<<2)>>2];SN(j[b>>2],j[b+4>>2]);if(a){continue}break}}a=j[67056];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[67056]=0;a=j[66370];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66370]=0}function Nm(a){var b=0,c=0;b=oe+ -64|0;oe=b;c=a+60|0;a:{if(j[a+56>>2]|!j[c>>2]){break a}qe[j[66053]](a);j[c>>2]=0;qe[j[66054]](a);if((We(4353,-1)|0)!=1){break a}Oe(b+8|0,0,56);j[b+8>>2]=4353;j[b+16>>2]=j[a>>2];h[b+20|0]=j[a+68>>2]!=0;gf(b+8|0)}oe=b- -64|0}function ND(a,b){var c=0,d=0;c=oe-160|0;oe=c;Ae(c+8|0,226824,144);j[c+52>>2]=a;j[c+28>>2]=a;d=-2-a|0;d=d>>>0<2147483647?d:2147483647;j[c+56>>2]=d;a=a+d|0;j[c+36>>2]=a;j[c+24>>2]=a;Np(c+8|0,8547,b);if(d){a=j[c+28>>2];h[a-((a|0)==j[c+24>>2])|0]=0}oe=c+160|0}function WA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;No(a,b,c,d);b=j[a+300>>2];c=j[a+304>>2];a:{if((b|0)==(c|0)){break a}e=j[d>>2];if(e){f=d,g=Ne(e,b,c),j[f>>2]=g}b=j[d+4>>2];if(!b){break a}f=d,g=Ne(b,j[a+300>>2],j[a+304>>2]),j[f+4>>2]=g}return 0}function wp(a){var b=0,c=0,d=0;c=oe-16|0;oe=c;h[c+15|0]=10;b=j[a+16>>2];a:{if(!b){if(xp(a)){break a}b=j[a+16>>2]}d=b;b=j[a+20>>2];if(!(h[a+75|0]==10|d>>>0<=b>>>0)){j[a+20>>2]=b+1;h[b|0]=10;break a}if((qe[j[a+36>>2]](a,c+15|0,1)|0)!=1){break a}}oe=c+16|0}function Bm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=j[j[a+4>>2]+100>>2];c=j[a+156>>2];f=j[c+4>>2];a:{if(f&1){c=j[a+88>>2];if(c){qe[j[e+8>>2]](e,c)}j[a+88>>2]=0;break a}j[c+4>>2]=f|1}g=a,h=He(e,b,d+12|0),j[g+88>>2]=h;oe=d+16|0;return j[d+12>>2]}function uD(a,b){var c=0,d=0,e=0;c=oe-160|0;oe=c;Ee(c+16|0,0,144);j[c+92>>2]=-1;j[c+60>>2]=b;j[c+24>>2]=-1;j[c+20>>2]=b;kg(c+16|0,0,0);Jp(c,c+16|0,1,1);b=j[c+8>>2];d=j[c+12>>2];e=j[c+4>>2];j[a>>2]=j[c>>2];j[a+4>>2]=e;j[a+8>>2]=b;j[a+12>>2]=d;oe=c+160|0}function Bg(a,b){var c=0;c=oe-16|0;oe=c;a:{if(!a){break a}j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=j[a+8>>2];j[c+12>>2]=j[a+12>>2];a=a+36|0;if(!b){b=j[c+4>>2];j[a>>2]=j[c>>2];j[a+4>>2]=b;b=j[c+12>>2];j[a+8>>2]=j[c+8>>2];j[a+12>>2]=b;break a}Tg(b,c,a)}oe=c+16|0}function pN(a){var b=0,c=0,d=0;b=oe-16|0;oe=b;a:{b:{if((a|0)>=0){c=qe[j[58771]]()|0;if((c|0)>(a|0)){break b}}j[b>>2]=c;ve(125346,b);break a}a=qe[j[58773]](a)|0;if(!a){break a}if(Qe(a,125411,Le(125411))){d=a;break a}d=Le(125411)+a|0}oe=b+16|0;return d}function Sp(a){var b=0,c=0;b=k[a+74|0];h[a+74|0]=b-1|b;if(m[a+20>>2]>m[a+28>>2]){qe[j[a+36>>2]](a,0,0)|0}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;b=j[a>>2];if(b&4){j[a>>2]=b|32;return-1}c=j[a+44>>2]+j[a+48>>2]|0;j[a+8>>2]=c;j[a+4>>2]=c;return b<<27>>31}function AC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[a+16>>2];if(c){f=j[a+20>>2];a=0;while(1){e=a+c>>>1|0;d=j[(e<<3)+f>>2];if((d|0)==(b|0)){return l[((e<<3)+f|0)+4>>1]+1&65535}d=b>>>0>>0;a=d?a:e+1|0;c=d?e:c;if(a>>>0>>0){continue}break}}return 0}function YA(a){a=a|0;var b=0,c=0,d=0;c=j[j[a+188>>2]>>2];b=c;d=j[a+168>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+172>>2]=0;j[a+164>>2]=0;j[a+168>>2]=0;b=j[a+184>>2];if(b){qe[j[c+8>>2]](c,b)}h[a+192|0]=0;j[a+184>>2]=0;j[a+188>>2]=0;j[a+176>>2]=0;j[a+180>>2]=0}function Fj(a,b){var c=0,d=0,e=0;j[a+28>>2]=b;b=0;while(1){c=p(b,84)+a|0;e=c;if(l[c+136>>1]){j[c+56>>2]=0;j[c+60>>2]=0;d=j[c+76>>2];if(d){ze(d);j[c+76>>2]=0}d=j[c+100>>2];if(d){ze(d);j[c+100>>2]=0}i[e+136>>1]=0}b=b+1|0;if((b|0)!=257){continue}break}}function lN(a){var b=0,c=0;c=oe+ -64|0;oe=c;j[c+8>>2]=1542;if((We(1542,-1)|0)==1){j[c+16>>2]=a;gf(c+8|0)}kN();b=j[67074];a:{if(!b){break a}while(1){if(j[b>>2]==(a|0)){j[b+72>>2]=1;j[b+60>>2]=0;break a}b=j[b+92>>2];if(b){continue}break}}oe=c- -64|0}function eA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=j[a+16>>2];c=j[b>>2]+1|0;c=c>>>0>>0?d:c;d=d+j[a+20>>2]|0;a:{if(c>>>0>>0){e=j[a+24>>2];while(1){a=l[(c<<1)+e>>1];if(a){break a}c=c+1|0;if(d>>>0>c>>>0){continue}break}}a=0;c=0}j[b>>2]=c;return a|0}function hB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[a+16>>2];if(c){f=j[a+20>>2];a=0;while(1){e=a+c>>>1|0;d=j[(e<<3)+f>>2];if((d|0)==(b|0)){return l[((e<<3)+f|0)+4>>1]+1|0}d=b>>>0>>0;a=d?a:e+1|0;c=d?e:c;if(a>>>0>>0){continue}break}}return 0}function TA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a:{if(j[c+80>>2]){break a}b=b-a|0;f=He(j[c>>2],b+1|0,d+12|0);j[c+80>>2]=f;e=j[d+12>>2];if(e){break a}Ae(f,a,b);h[b+j[c+80>>2]|0]=0;e=j[d+12>>2]}oe=d+16|0;return e|0}function zM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=Ah(a,d<<3,b+4|0);if(!a){return-1}j[b+8>>2]=d;if((d|0)>=1){b=0;while(1){e=(b<<3)+c|0;n[a>>2]=n[e>>2]+q(.5);n[a+4>>2]=n[e+4>>2]+q(.5);a=a+8|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function Vi(a,b){var c=0,d=0,e=0,f=0;c=a*a;d=c*.5;e=1-d;f=1-e-d;d=c*c;return e+(f+(c*(c*(c*(c*2480158728947673e-20+ -.001388888888887411)+.0416666666666666)+d*d*(c*(c*-1.1359647557788195e-11+2.087572321298175e-9)+ -2.7557314351390663e-7))-a*b))}function Uf(a,b,c,d){var e=0;if(!(!a|b>>>0<=c>>>0)){a:{if(!d){break a}e=b-1|0;if(e>>>0<=c>>>0){break a}b=k[d|0];if(!b){break a}while(1){h[a+c|0]=b;c=c+1|0;if(e>>>0<=c>>>0){break a}b=k[d+1|0];d=d+1|0;if(b&255){continue}break}}h[a+c|0]=0}return c}function VF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=j[a+96>>2];gg(j[e+4>>2]);d=j[e>>2];a:{if(!d){d=c;break a}d=qe[j[d+8>>2]](d,b,1,c)|0;b=d+b|0;d=c-d|0;if((d|0)<1){break a}f=j[e>>2];qe[j[f+16>>2]](f)|0;j[e>>2]=0}Oe(b,k[a+11|0],d);return c|0}function cI(a){var b=0,c=0;c=oe-16|0;oe=c;a:{if(!a){j[c>>2]=149503;ve(149340,c);break a}b=j[a+12>>2];j[a+12>>2]=b-1;if((b|0)>1){break a}b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=c+16|0}function IB(a,b){a=a|0;b=b|0;var c=0;Ai(j[a>>2],b);c=j[a>>2];b=j[c+320>>2];c=Kf(j[j[c+96>>2]+4>>2],14338);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}b=qe[b|0](c)|0;if(!b){break a}qe[j[b+4>>2]](j[a+40>>2],j[a+16>>2],j[a+20>>2],0,0)}return 0}function Ff(a,b){var c=0,d=0,e=0;d=j[a+68>>2];c=j[a+72>>2];b=b+7&-8;if(j[a+76>>2]<(c+b|0)){if(d){e=Se(8);j[a+80>>2]=j[a+80>>2]+c;c=j[a+84>>2];j[e>>2]=d;j[e+4>>2]=c;j[a+84>>2]=e}j[a+76>>2]=b;d=Se(b);j[a+68>>2]=d;c=0}j[a+72>>2]=b+c;return c+d|0}function bP(){var a=0;a=j[58882];if(a){sm(a)}a=j[58883];if(a){dm(a)}a=j[58904];if(a){yh(a)}a=j[58905];if(a){yh(a)}a=j[60720];if(a){qt(a)}a=j[60721];if(a){Cq(a)}Wp();ze(j[58908]);ze(j[58909]);ze(j[58913]);ze(j[58917]);tv();Wm();lt();EC();Ms()}function Om(a,b,c){var d=0;d=oe+ -64|0;oe=d;a:{if(a){b=nj(b,c,264276,264268);break a}b=nj(b,c,264272,264264)}b:{if((b|0)==-1){break b}if((We(4352,-1)|0)!=1){break b}Oe(d+8|0,0,56);h[d+20|0]=a;j[d+16>>2]=b;j[d+8>>2]=4352;gf(d+8|0)}oe=d- -64|0}function MA(a){a=a|0;var b=0,c=0,d=0;if(j[a+12>>2]==-559038737){c=j[a+32>>2];b=c;d=j[a>>2];if(d){qe[j[b+8>>2]](b,d)}j[a>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+28>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+12>>2]=0;j[a+28>>2]=0}}function Ep(a,b,c,d){var e=0;e=oe-144|0;oe=e;j[e+44>>2]=a;j[e+4>>2]=a;j[e>>2]=0;j[e+76>>2]=-1;j[e+8>>2]=(a|0)<0?-1:a+2147483647|0;kg(e,0,0);c=Hp(e,0,1,c,d);d=pe;if(b){j[b>>2]=((j[e+4>>2]+j[e+120>>2]|0)-j[e+8>>2]|0)+a}oe=e+144|0;pe=d;return c}function eD(a){a=a|0;var b=0;a=cq(Se(Le(a)+1|0),a);b=Yf(a,231124);if(b){h[b|0]=0}b=Yf(a,231128);if(b){h[b|0]=0}b=Yf(a,231132);if(b){h[b|0]=0}b=Yf(a,231136);if(b){h[b|0]=0}b=Yf(a,231142);if(b){h[b|0]=0}b=fD(a);if(!b){b=gD(a)}ze(a);return b|0}function Ln(a,b){a=a|0;b=b|0;var c=0;c=j[a+136>>2];j[b>>2]=j[a+132>>2];j[b+4>>2]=c;c=j[a+160>>2];j[b+24>>2]=j[a+156>>2];j[b+28>>2]=c;c=j[a+152>>2];j[b+16>>2]=j[a+148>>2];j[b+20>>2]=c;c=j[a+144>>2];j[b+8>>2]=j[a+140>>2];j[b+12>>2]=c;return 0}function GB(a,b){a=a|0;b=b|0;var c=0;c=j[a+192>>2];j[b+24>>2]=j[a+188>>2];j[b+28>>2]=c;c=j[a+184>>2];j[b+16>>2]=j[a+180>>2];j[b+20>>2]=c;c=j[a+176>>2];j[b+8>>2]=j[a+172>>2];j[b+12>>2]=c;c=j[a+168>>2];j[b>>2]=j[a+164>>2];j[b+4>>2]=c;return 0}function wB(a){a=a|0;var b=0,c=0;b=j[a+12>>2];if(b){c=j[a+28>>2];Dj(b+12|0);j[b+52>>2]=0;j[b+44>>2]=0;j[b+48>>2]=0;j[b+24>>2]=0;j[b+28>>2]=0;j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b+16>>2]=0;if(b){qe[j[c+8>>2]](c,b)}j[a+12>>2]=0}}function cC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[j[j[a>>2]+96>>2]+4>>2];j[b>>2]=0;j[b+4>>2]=0;d=j[a+12>>2];a:{if((d|0)==10076|(d|0)==10116){break a}c=vh(Kf(c,10224),10332);if(!c){break a}c=j[c>>2];if(!c){break a}e=qe[c|0](a,b)|0}return e|0}function dE(a,b){var c=0,d=0,e=0,f=0;c=k[a+1|0];e=!c;d=c|k[a|0]<<8;f=k[b+1|0]|k[b|0]<<8;a:{if(!c|(d|0)==(f|0)){break a}b=a+1|0;while(1){a=b;c=k[a+1|0];e=!c;d=c|d<<8&65280;if((f|0)==(d|0)){break a}b=a+1|0;if(c){continue}break}}return e?0:a}function Kf(a,b){var c=0,d=0;if(!a){return 0}if(!b){return 0}c=j[a+16>>2];if((c|0)<1){return 0}c=((c<<2)+a|0)+20|0;a=a+20|0;a:{while(1){d=j[a>>2];if(!we(j[j[d>>2]+8>>2],b)){break a}a=a+4|0;if(c>>>0>a>>>0){continue}break}return 0}return d}function lI(a){var b=0,c=0,d=0;c=oe-16|0;oe=c;d=6;a:{if(!a){break a}b=He(a,192,c+12|0);d=j[c+12>>2];if(d){break a}j[b>>2]=a;j[b+164>>2]=0;j[b+168>>2]=0;j[b+188>>2]=1;d=0;j[b+12>>2]=0;j[b+4>>2]=2;j[b+8>>2]=6;j[65535]=b}oe=c+16|0;return d}function dF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:{if((e|0)<1){break a}while(1){h=g<<2;if(j[h+d>>2]){j[(f<<2)+c>>2]=j[c+h>>2];f=f+1|0}g=g+1|0;if((g|0)!=(e|0)){continue}break}if(!f){break a}uq(a,b,c,f,1036)}return 0}function Oz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{if(j[a+4>>2]){break a}e=c;g=a+52|0;f=j[g>>2];c=j[a+16>>2];if((e|0)!=(f+c|0)){break a}e=j[a>>2];c=Bj(a+16|0,d,f,c,b,e);if(!c){c=Bj(g,d,0,f,b,e);if(!c){break a}}j[a+4>>2]=c}}function Lw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>=0){c=b+c|0;b=j[a+480>>2];a=(j[a+484>>2]+(c-b|0)&0-j[a+476>>2])+b|0;return((a|0)<0?b:a)|0}d=b;b=j[a+480>>2];a=0-((j[a+484>>2]+c-(d+b)&0-j[a+476>>2])+b|0)|0;return((a|0)>0?0-b|0:a)|0}function Ix(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=6;a:{if(!d|!e){break a}g=l[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=j[a+156>>2]+(b<<4)|0;j[c>>2]=j[a>>2];j[d>>2]=j[a+8>>2];g=j[a+12>>2]}j[e>>2]=g;f=0}return f|0}function $E(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:{if((e|0)<1){break a}while(1){h=g<<2;if(j[h+d>>2]){j[(f<<2)+c>>2]=j[c+h>>2];f=f+1|0}g=g+1|0;if((g|0)!=(e|0)){continue}break}if(!f){break a}uq(a,b,c,f,1037)}return 0}function xH(a){var b=0;b=j[67085];if(!b){ve(151717,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(150417,0);return}if(!(k[a+48|0]&2)){ve(151317,0);return}if((Rh(j[b+704>>2])|0)!=(a|0)){ve(151444,0);return}b=j[67085];qe[j[b+200>>2]](b,a)|0}function dB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[a+16>>2];if(c){f=j[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=j[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=b>>>0>d>>>0;c=d?c:e;a=d?e+1|0:a;if(c>>>0>a>>>0){continue}break}}return 0}function ak(a,b,c,d,e,f,g,h,i){d=dk(d,f,g,h,i);if(!d){ve(149907,0);return 0}d=bk(0,0,d);if(d){j[d+20>>2]=a;j[d+36>>2]=0;j[d+40>>2]=0;j[d+16>>2]=e;j[d+12>>2]=c;j[d+8>>2]=b;j[d+48>>2]=c;j[d+44>>2]=b;j[d>>2]=j[d>>2]|1}else{d=0}return d}function aj(a,b,c){var d=0,e=0,f=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a=He(a,(Le(b)+Le(c)|0)+1|0,d+12|0);if(!j[d+12>>2]){e=Ml(b,47);a:{if(e){f=b;b=(e-b|0)+1|0;WD(a,f,b);h[a+b|0]=0;b=e+1|0;break a}h[a|0]=0}e=dq(dq(a,c),b)}oe=d+16|0;return e}function Qe(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=k[a|0];a:{if(!d){break a}while(1){b:{e=k[b|0];if((e|0)!=(d|0)){break b}c=c-1|0;if(!c|!e){break b}b=b+1|0;d=k[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-k[b|0]|0}function Ex(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=oe-16|0;oe=d;e=bl(a,89348,d);a:{if(e){break a}e=bl(a,89365,d+8|0);if(e){break a}e=6;if(j[d>>2]!=1|j[d+8>>2]!=1){break a}j[b>>2]=j[d+12>>2];j[c>>2]=j[d+4>>2];e=0}oe=d+16|0;return e|0}function hN(){a:{if((We(1536,-1)|0)==1){break a}if((We(1537,-1)|0)==1){break a}if((We(1538,-1)|0)==1){break a}if((We(1539,-1)|0)==1){break a}if((We(1540,-1)|0)==1){break a}if((We(1541,-1)|0)==1){break a}return We(1542,-1)}return 1}function ch(a,b){var c=0,d=0,e=0;a:{if(!a|!b){break a}c=j[a+16>>2];if((c|0)<1){break a}c=((c<<2)+a|0)+20|0;a=a+20|0;while(1){d=j[j[a>>2]>>2];if(we(j[d+8>>2],b)){a=a+4|0;if(c>>>0>a>>>0){continue}break a}break}e=j[d+20>>2]}return e}function qA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=oe-16|0;oe=f;e=He(b,16,f+12|0);g=j[f+12>>2];if(!g){j[e+12>>2]=2;j[e+8>>2]=d;j[e>>2]=c;j[e+4>>2]=c;j[a+8>>2]=0;j[a+12>>2]=0;j[a+4>>2]=e;j[a>>2]=b}oe=f+16|0;return g|0}function zL(a,b){a=a|0;b=b|0;var c=0,d=0;if((a|0)>0){while(1){d=j[(c<<2)+b>>2];a:{if(we(d,1831)){if(we(d,1834)){break a}}j[58880]=1}c=c+1|0;if((c|0)!=(a|0)){continue}break}}j[58882]=0;j[58883]=0;Ee(235536,0,26600);QM();return 0}function uf(a,b,c){var d=0,e=0,f=0;d=j[a+8>>2];f=j[a+4>>2];if(d>>>0>>0){e=j[a+20>>2];a:{if(e){b=qe[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>c>>>0?c:b;Ae(e,j[a>>2]+d|0,b)}j[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function qh(a,b){if(!(!a|!j[a>>2])){j[a+344>>2]=0;j[a+348>>2]=0;j[a+340>>2]=-1;j[a+332>>2]=0;j[a+324>>2]=0;j[a+328>>2]=0;j[a+36>>2]=0;j[a+28>>2]=0;j[a+32>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;j[a+336>>2]=b;j[a+352>>2]=0;j[a+356>>2]=0}}function Pz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(j[a+4>>2]){break a}d=j[a+16>>2];e=a+52|0;f=j[e>>2];if((d+f|0)!=(b|0)){break a}g=j[a>>2];b=Bj(a+16|0,c,0,d,0,g);if(!b){b=Bj(e,c,d,f,0,g);if(!b){break a}}j[a+4>>2]=b}}function Dz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=j[a>>2];d=a&2147483647;b=j[b>>2];e=b&2147483647;a:{if((d|0)==(e|0)){c=1;if(a>>>0>b>>>0){break a}return(a>>>0>>0?-1:0)|0}c=1;if(d>>>0>e>>>0){break a}c=d>>>0>>0?-1:0}return c|0}function $s(a){Lf(a,6116);Lf(a,89700);Lf(a,91408);Lf(a,9980);Lf(a,14088);Lf(a,23140);Lf(a,94104);Lf(a,95428);Lf(a,22368);Lf(a,23816);Lf(a,25216);Lf(a,25140);Lf(a,87460);Lf(a,88112);Lf(a,89460);Lf(a,89532);Lf(a,89604);Lf(a,6828)}function Ar(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}d=j[a+96>>2];if(!d){break a}b=j[a+128>>2];c=j[b+56>>2];j[b+56>>2]=c-1;if((c|0)<=1){c=j[d+8>>2];e=d+16|0;b=ph(e,a);if(!b){break a}Ih(e,b);if(b){qe[j[c+8>>2]](c,b)}Sh(c,a,d)}}}function gO(a){var b=0,c=0,d=0;c=oe+ -64|0;oe=c;b=k[a|0];a:{if(b>>>0<32|(b|0)==127){break a}if((We(771,-1)|0)!=1){break a}j[c+8>>2]=771;d=c;b=j[66371];if(b){b=j[b+4>>2]}else{b=0}j[d+16>>2]=b;FL(c+20|0,a);gf(c+8|0)}oe=c- -64|0}function Te(a){var b=0,c=0,d=0;d=oe-16|0;oe=d;c=j[67085];a:{if(!c){ve(151717,0);break a}b=j[c+172>>2];if(b){if(j[c+432>>2]){b=qe[b|0](c,a)|0;break a}b=0;ve(151087,0);break a}j[d>>2]=j[c>>2];ve(151032,d);b=0}oe=d+16|0;return b}function Ew(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=i[a+298>>1];if(e){e=Ne(d,e,j[a+564>>2]);f=j[b+12>>2]+(c<<3)|0;j[f>>2]=e+j[f>>2]}e=i[a+300>>1];if(e){a=Ne(d,e,j[a+564>>2]);b=j[b+12>>2]+(c<<3)|0;j[b+4>>2]=a+j[b+4>>2]}}function xK(a,b,c){var d=0,e=0;d=oe-32|0;oe=d;j[d+20>>2]=0;j[d+24>>2]=0;j[d+8>>2]=0;e=b?b:c;e=e?e:1;j[d+12>>2]=(e>>>0<65535?e:65535)<<6;b=b?c?c:b:c;b=b?b:1;j[d+16>>2]=(b>>>0<65535?b:65535)<<6;a=mm(a,d+8|0);oe=d+32|0;return a}function wf(a){var b=0,c=0;if(a){b=j[a>>2];a:{if(!b){break a}c=j[b+56>>2];j[b+56>>2]=c-1;if((c|0)>1){break a}lf(b)}j[a>>2]=0;j[a+80>>2]=0;j[a+84>>2]=0;a=a- -64|0;b=j[a>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[a>>2]=0}}function el(a,b,c){var d=0;if(!a){return 35}if(!c){return 6}d=16;a:{if(m[a+16>>2]<=b>>>0){break a}d=j[j[j[a+96>>2]+12>>2]+84>>2];if(d){d=qe[d|0](a,b,1,2051,c)|0;if(!d){d=0;break a}if((d&255)!=7){break a}}d=Gy(a,b,c)}return d}function zk(a,b){var c=0,d=0;c=oe-224|0;oe=c;d=j[a+208>>2]&32768;a:{b:{c:{if(k[a+214|0]&16){if(!d|!j[a+376>>2]){break c}Li(a,c,b);Ze(a,c);break b}if(j[a+376>>2]?d:0){break a}Ye(a,b);z()}Ze(a,b)}oe=c+224|0;return}hf(a,b);z()}function cP(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=p(e,f);g=c&65535;h=a&65535;i=p(g,h);f=(i>>>16|0)+p(f,g)|0;e=(f&65535)+p(e,h)|0;a=(p(b,c)+j|0)+p(a,d)+(f>>>16)+(e>>>16)|0;b=i&65535|e<<16;pe=a;return b}function Qq(a){var b=0,c=0;b=j[67085];if(!b){ve(151717,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(150417,0);return}if(k[a+48|0]&4){j[a+116>>2]=1;bh(a,0);b=j[67085];c=j[b+88>>2];if(c){qe[c|0](b,a)}j[a+116>>2]=0;Cf(a,2,0,0)}}function FO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=j[a+240>>2];f=j[a+248>>2];g=b+c|0;d=qs(k[a+232|0],j[a+204>>2],j[a+216>>2],f,g,b,c,d,e);b=h<<2;a=(b|0)>(c|0)?c:b;Ge((b+f|0)-(a&-4)|0,g-a|0,a);return d|0}function az(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[b>>2];a:{if(c>>>0>65534){break a}if(h[a+20|0]&1){return mo(a,b,1)|0}if((c|0)==j[a+24>>2]){ko(a);c=j[a+28>>2];if(!c){break a}j[b>>2]=j[a+24>>2];return c|0}d=lo(a,b,1)}return d|0}function Ly(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+28>>2];a:{if((c|0)==-1){break a}if(!(!k[a+24|0]|(c|0)!=j[b>>2])){ho(a);if(!k[a+24|0]){break a}c=j[a+32>>2];if(!c){break a}j[b>>2]=j[a+28>>2];return c|0}d=io(a,b,1)}return d|0}function Hy(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+28>>2];a:{if((c|0)==-1){break a}if(!(!k[a+24|0]|(c|0)!=j[b>>2])){fo(a);if(!k[a+24|0]){break a}c=j[a+32>>2];if(!c){break a}j[b>>2]=j[a+28>>2];return c|0}d=go(a,b,1)}return d|0}function qw(a){a=a|0;var b=0,c=0;if(j[a+40>>2]){c=j[a>>2];b=j[c+548>>2];c=Kf(j[j[c+96>>2]+4>>2],91760);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}b=qe[b|0](c)|0;if(!b){break a}qe[j[b+8>>2]](j[a+40>>2])}j[a+40>>2]=0}}function LB(a){a=a|0;var b=0,c=0;if(j[a+40>>2]){c=j[a>>2];b=j[c+320>>2];c=Kf(j[j[c+96>>2]+4>>2],14338);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}b=qe[b|0](c)|0;if(!b){break a}qe[j[b+8>>2]](j[a+40>>2])}j[a+40>>2]=0}}function ZG(a){a=a|0;var b=0;if(a){b=j[a+4>>2];if(b){if(j[b+4>>2]){b=j[b>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+4>>2]}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function VG(a){a=a|0;var b=0,c=0;if(a>>>0<=11){a:{b=Xe(1,8);if(b){c=Xe(1,8);if(!c){Be(0);if(b){qe[j[57975]](b);j[57976]=j[57976]-1}return 0}j[c+4>>2]=0;j[c>>2]=j[(a<<2)+156476>>2];j[b+4>>2]=c;break a}Be(0)}}return b|0}function Ii(a){var b=0,c=0,d=0;if((kP(a)|0)==1){return k[(a?s(a)^31:-1)+262304|0]?a:0}a=a?a:62001;d=32-s(a)|0;if(d){while(1){c=!(a&1)|!k[b+262304|0]?c:1<>>1|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return c}function GH(a){var b=0,c=0;b=j[67085];if(!b){ve(151717,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(150417,0);return}a:{if(!j[b+100>>2]|k[a+48|0]&64){break a}bh(a,0);b=j[67085];c=j[b+100>>2];if(!c){break a}qe[c|0](b,a)}}function ZA(a){a=a|0;var b=0;b=j[j[a+156>>2]>>2];j[a+184>>2]=0;j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=0;j[a+164>>2]=0;j[a+168>>2]=0;j[a+172>>2]=0;j[a+176>>2]=0;j[a+180>>2]=0;j[a+188>>2]=b;h[a+192|0]=0;Ch(b);return 0}function yz(a,b){a=a|0;b=b|0;var c=0,d=0;j[b+72>>2]=1869968492;d=j[a+36>>2];j[b+124>>2]=d;c=j[a+24>>2];j[b+108>>2]=j[a+20>>2];j[b+112>>2]=c;c=j[a+32>>2];j[b+116>>2]=j[a+28>>2];j[b+120>>2]=c;j[b+124>>2]=d&-2;return 0}function qx(a,b){a=a|0;b=b|0;var c=0,d=0;d=rg(90384,b);a:{if(d){break a}d=0;if(!a){break a}c=j[a+4>>2];if(!c){break a}c=Kf(c,90432);if(!c){break a}c=j[j[c>>2]+20>>2];if(!c){break a}d=qe[j[c+16>>2]](a,b)|0}return d|0}function Us(a){a=a|0;var b=0;Rj(a+16|0);b=j[a+772>>2];if(b){Xh(b)}b=j[a+776>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(j[a+4>>2]){b=j[a>>2];qe[j[b+16>>2]](b)|0}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function EB(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;if(!(!a|!b)){f=j[b+8>>2];g=j[b+12>>2];d=j[a>>2];c=c<<16;h=Ne(d,j[b>>2],c);e=j[a+4>>2];i=a,k=h+Ne(e,j[b+4>>2],c)|0,j[i>>2]=k;i=a,k=Ne(d,f,c)+Ne(e,g,c)|0,j[i+4>>2]=k}}function Dn(a,b){a=a|0;b=b|0;var c=0;c=j[b+4>>2];j[a+4>>2]=j[b>>2];j[a+8>>2]=c;j[a+28>>2]=j[b+24>>2];c=j[b+20>>2];j[a+20>>2]=j[b+16>>2];j[a+24>>2]=c;c=j[b+12>>2];j[a+12>>2]=j[b+8>>2];j[a+16>>2]=c;Cn(a,b,0);Cn(a,b,1)}function Fx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=oe-16|0;oe=d;e=j[a+16>>2];a:{if((e|0)>=1){while(1){if(!cl(a,c,d+12|0)){if(!we(b,j[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}oe=d+16|0;return c|0}function hq(a,b,c,d){var e=0,f=0;f=j[a+4>>2];if(f>>>0>b>>>0){e=j[a+20>>2];a:{if(e){c=qe[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>d>>>0?d:c;Ae(e,j[a>>2]+b|0,c)}j[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function Kq(a,b,c){var d=0,e=0;d=j[67085];if(!d){ve(151717,0);return}if(!(j[a>>2]==(d+316|0)?a:0)){ve(150417,0);return}e=j[d+188>>2];if(e){qe[e|0](d,a,b,c);return}if(b){j[b>>2]=j[a+24>>2]}if(c){j[c>>2]=j[a+28>>2]}}function BG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=oe-16|0;oe=a;if(c){j[c>>2]=0;j[c+4>>2]=0;h[a+15|0]=0;d=c,e=E(157581,a+15|0,0)|0,j[d+8>>2]=e;h[a+14|0]=0;d=c,e=E(157613,a+14|0,0)|0,j[d+12>>2]=e}oe=a+16|0;return 0}function WL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=j[j[a+436>>2]>>2];a:{if(d){if(b){j[b>>2]=j[d+8>>2]}a=0;if(!c){break a}j[c>>2]=j[d+12>>2];return 0}a=j[a+188>>2];if(a){ah(a,b,c);return 0}ve(138705,0);a=-1}return a|0}function iE(a){if(!(!a|!j[a>>2])){j[a+344>>2]=0;j[a+348>>2]=0;j[a+340>>2]=-1;j[a+332>>2]=0;j[a+324>>2]=0;j[a+328>>2]=0;j[a+36>>2]=0;j[a+28>>2]=0;j[a+32>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;j[a+352>>2]=0;j[a+356>>2]=0}}function Ol(a,b,c){var d=0,e=0,f=0,g=0;e=j[a+8>>2];f=j[a+4>>2];if(e>>>0>>0){d=j[a+20>>2];a:{if(d){d=qe[d|0](a,e,b,c)|0;break a}g=b;b=f-e|0;d=b>>>0>c>>>0?c:b;Ae(g,j[a>>2]+e|0,d)}j[a+8>>2]=j[a+8>>2]+d}return d}function yN(){var a=0,b=0;a=oe+ -64|0;oe=a;ns(665,0);if((qe[j[58771]]()|0)>=1){while(1){if($r(b)){j[a+16>>2]=b;j[a+8>>2]=1619;gf(a+8|0)}b=b+1|0;if((qe[j[58771]]()|0)>(b|0)){continue}break}}oe=a- -64|0;return 0}function Ux(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=oe-16|0;oe=d;e=qe[j[a+508>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){j[(c?692:684)+a>>2]=j[d+12>>2];j[(c?788:784)+a>>2]=j[b+8>>2]}oe=d+16|0;return e|0}function xt(a){var b=0,c=0,d=0;a:{if(!a){break a}b=j[a+28>>2];if(!b){break a}c=j[a+36>>2];if(!c){break a}d=j[b+52>>2];if(d){qe[c|0](j[a+40>>2],d);c=j[a+36>>2];b=j[a+28>>2]}qe[c|0](j[a+40>>2],b);j[a+28>>2]=0}}function Vp(a){var b=0;if(a){if(j[a+76>>2]<=-1){return Kl(a)}return Kl(a)}if(j[67117]){b=Vp(j[67117])}a=j[67123];if(a){while(1){if(m[a+20>>2]>m[a+28>>2]){b=Kl(a)|b}a=j[a+56>>2];if(a){continue}break}}return b}function av(a,b,c){var d=0,e=0;a:{b:{if(!(c?b:0)){j[a>>2]=0;break b}d=v(+(b|0)*+(c|0)/1e5+.5);if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){b=~~d}else{b=-2147483648}j[a>>2]=b}e=1}return e}function Tu(a,b,c){var d=0;if(!(!c|(!a|!b))){a=l[c+4>>1]|l[c+6>>1]<<16;d=l[c>>1]|l[c+2>>1]<<16;i[b+170>>1]=d;i[b+172>>1]=d>>>16;i[b+174>>1]=a;i[b+176>>1]=a>>>16;i[b+178>>1]=l[c+8>>1];j[b+8>>2]=j[b+8>>2]|32}}function Tf(a,b,c){var d=0,e=0;a:{if(!a){break a}d=i[a+2>>1];if((d|0)<1){break a}a=j[a+4>>2];while(1){j[a>>2]=j[a>>2]+b;j[a+4>>2]=j[a+4>>2]+c;a=a+8|0;e=e+1|0;if((e&65535)>>>0<(d&65535)>>>0){continue}break}}}function $i(){var a=0,b=0;a=qe[j[57972]](12)|0;if(a){j[57976]=j[57976]+1}a:{if(a){b=Bq();j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=b;if(b){break a}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return 0}a=0;Be(0)}return a}function ur(){var a=0,b=0,c=0;b=oe-16|0;oe=b;j[b+12>>2]=0;oj(b+12|0);j[b+12>>2]=0;a=j[67080];a:{if(!a){break a}while(1){if(!j[a>>2]){c=j[a+4>>2];break a}a=j[a+8>>2];if(a){continue}break}}oe=b+16|0;return c}function WF(a){a=a|0;var b=0,c=0;b=j[a+96>>2];c=j[b>>2];if(c){qe[j[c+16>>2]](c)|0;b=j[a+96>>2]}b=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}a=j[a+96>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function xL(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>1&1}function wL(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>3&1}function vL(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>4&1}function uL(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>5&1}function tr(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>2&1}function kg(a,b,c){var d=0,e=0,f=0,g=0;j[a+112>>2]=b;j[a+116>>2]=c;d=j[a+8>>2];g=j[a+4>>2];e=d-g|0;f=e>>31;j[a+120>>2]=e;j[a+124>>2]=f;j[a+104>>2]=b|c?((c|0)<(f|0)?1:(c|0)<=(f|0)?b>>>0>>0:0)?b+g|0:d:d}function Sf(a,b,c,d,e){var f=0;f=oe-256|0;oe=f;if(!(e&73728|(c|0)<=(d|0))){c=c-d|0;d=c>>>0<256;Ee(f,b&255,d?c:256);if(!d){while(1){Jf(a,f,256);c=c-256|0;if(c>>>0>255){continue}break}}Jf(a,f,c)}oe=f+256|0}function MD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=oe-16|0;oe=e;a=jb(j[a+60>>2],b|0,c|0,d&255,e+8|0)|0;b=0;a:{if(!a){break a}j[67100]=a;b=-1}a=b;oe=e+16|0;pe=a?-1:j[e+12>>2];return(a?-1:j[e+8>>2])|0}function Zq(a,b){var c=0,d=0;c=oe-16|0;oe=c;a:{if(!a){j[c>>2]=15e4;a=ve(149974,c);break a}d=j[a+52>>2];if(!(h[d+69|0]&1)){a=ve(150012,0);break a}a=0;if(!b){break a}j[b>>2]=j[d+72>>2]}oe=c+16|0;return a}function FF(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[67093];if((b|0)>=1){while(1){d=(b|0)>1;c=j[c+1320>>2];b=b-1|0;if(d){continue}break}}b=j[c+4>>2];Oe(a,0,16);c=b;if(Le(b)>>>0<=16){b=Le(b)}else{b=16}Ge(a,c,b)}function Ef(a){var b=0,c=0,d=0;c=a;d=j[a+36>>2];a=j[a+32>>2];if(d>>>0>a+3>>>0){b=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);a=a+4|0}j[c+32>>2]=a;return b}function Bf(a,b){var c=0;c=b-a|0;c=(((c|0)>-11796479?c:-11796479)+a|0)+23592959|0;a=c-(((c-b>>>0)%23592960|0)+a|0)|0;b=(a-((a|0)<11796480?a:11796480)|0)+23592959|0;return(((b>>>0)%23592960|0)-b|0)+a|0}function jO(a,b){var c=0,d=0;c=mf(j[66370],p(j[66369],8232)+8232|0);if(!c){Be(0);return}j[66370]=c;Oe(c+p(j[66369],8232)|0,0,8232);c=j[66369];d=j[66370]+p(c,8232)|0;j[d>>2]=a;j[d+4>>2]=b;j[66369]=c+1}function Mt(a,b,c){var d=0;b=b-1|0;h[b|0]=0;a:{if(a>>>0>=b>>>0){break a}while(1){if((d|0)>=1?!c:0){break a}b=b-1|0;h[b|0]=k[(c&15)+102288|0];d=d+1|0;c=c>>>4|0;if(a>>>0>>0){continue}break}}return b}function fE(a,b){var c=0,d=0;d=j[a>>2];c=j[a+16>>2];b=j[a+4>>2]+b|0;if((d|0)<=(c-(b+7>>3)|0)){c=(b|0)/8|0;j[a>>2]=c+d;j[a+12>>2]=c+j[a+12>>2];j[a+4>>2]=b&7;return}j[a>>2]=c;j[a+12>>2]=0;j[a+4>>2]=1}function $B(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=j[a+656>>2];a:{b:{if(!a){break b}d=6;if(j[a+1456>>2]==65535|m[a+12>>2]>>0){break a}if(!c){break b}j[c>>2]=l[j[a+1160>>2]+(b<<1)>>1]}d=0}return d|0}function os(a){var b=0;b=j[67085];if(b){qe[j[b+232>>2]](b)}a:{if(j[66110]){if(!hN()){break a}}iN()}if(!j[66122]){HL()}if(k[268216]){h[268216]=0;Im(256)}a=Bh(a,1,2,0,65535);return!!((a|0)!=-1?a:0)}function fC(a){a=a|0;var b=0,c=0;c=j[a+656>>2];a:{if(!j[a+532>>2]){break a}b=vh(Kf(j[j[a+96>>2]+4>>2],10224),10284);if(!b){break a}b=j[b>>2];if(!b){break a}return qe[b|0](a)|0}return j[c+1304>>2]}function Yu(a,b){var c=0;if((b|0)>=1){gP(b,0,10,0);a:{if(pe){break a}b=p(b,10);if(!b){break a}b:{if(!a){break b}c=j[a+720>>2];if(!c){break b}return qe[c|0](a,b)|0}c=Se(b)}return c}Ye(a,98968);z()}function UH(a,b){a=a|0;b=b|0;a=Yj(b,151622,0);if(a){b=j[a+4>>2];if(b){yh(b)}b=j[a>>2];if(b){sm(b)}b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function yF(a){Yl(a+16|0);ze(j[a+48>>2]);ze(j[a- -64>>2]);ze(j[a+80>>2]);ze(j[a+96>>2]);ze(j[a+112>>2]);ze(j[a+128>>2]);ze(j[a+144>>2]);ze(j[a+36>>2]);ze(j[a+152>>2]);ze(j[a+160>>2]);Ee(a,0,180)}function gu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=k[a+11|0]+7>>>3|0;d=j[a+4>>2];if(c>>>0>>0){e=0-c|0;a=b+c|0;while(1){h[a|0]=k[a+e|0]+k[a|0];a=a+1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}}function _N(a){var b=0,c=0;b=j[a+156>>2];if(!(!b|!(h[b+4|0]&1))){b=j[j[a+4>>2]+100>>2];c=j[a+88>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+88>>2]=0;a=j[a+156>>2];j[a+4>>2]=j[a+4>>2]&-2;return}j[a+88>>2]=0}function Ku(a,b,c){if(!(!c|(!a|!b))){a=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);h[b+148|0]=a;h[b+149|0]=a>>>8;h[b+150|0]=a>>>16;h[b+151|0]=a>>>24;h[b+152|0]=k[c+4|0];j[b+8>>2]=j[b+8>>2]|2}}function $N(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{if(d){b=k[d|0];if((b|0)==49){break a}if(b){break b}}j[a+124>>2]=0;return}if(!Me(d,123880)){break a}j[a+124>>2]=0;return}j[a+124>>2]=1;fs(-1,-1)}function mC(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[b>>2];j[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=l[j[a+16>>2]+(c<<1)>>1];if(!d){continue}break}j[b>>2]=c;return d|0}function fO(){Oe(268052,0,160);Eg(123648,648,268052);Eg(123676,649,268052);Eg(123706,650,268052);Eg(123735,651,268052);Eg(123766,652,268052);Eg(123789,653,268052);j[67051]=1;j[67045]=0;return 0}function Jk(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;j[c+12>>2]=0;j[c+8>>2]=0;a:{if(!Kk(a,b,c+12|0,c+8|0)){break a}d=b;b=j[c+8>>2];if(k[a+b|0]?(d|0)!=(b|0):0){break a}e=j[c+12>>2]}oe=c+16|0;return e}function Ik(a,b){var c=0;a:{b:{if(!a|!b){break b}c=v(1e15/+(a|0)/+(b|0)+.5);b=c<=2147483647^1;if(r(c)<2147483648){a=~~c}else{a=-2147483648}if(b){break b}if(c>=-2147483648){break a}}a=0}return a}function Et(a,b){var c=0,d=0;a:{if(k[a+9|0]!=16){break a}c=p(j[a>>2],k[a+10|0]);if(!c){break a}a=0;while(1){d=k[b+1|0];h[b+1|0]=k[b|0];h[b|0]=d;b=b+2|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}}function tw(a,b){a=a|0;b=b|0;var c=0;c=oe-16|0;oe=c;b=wj(a,b,c+8|0);a:{if(b){break a}a=j[j[j[a+4>>2]+128>>2]+48>>2];if(!a){break a}qe[j[j[a>>2]+4>>2]](j[a+4>>2],c+8|0)}oe=c+16|0;return b|0} -function rv(a,b,c,d,e,f,g,i,k){var l=0,m=0,n=0,o=0;a:{b:{if(!a|!b|(!c|!i)){break b}if(k?0:(g|0)>=1){break b}n=Le(c);if(f>>>0>=4){break a}c:{d:{if(g>>>0<=255){if(!g){break c}o=(g|0)>1?g:1;break d}Ye(a,4945);z()}while(1){e:{m=j[(l<<2)+k>>2];if(!m){break e}if(!Vk(m,Le(m))){break e}l=l+1|0;if((o|0)!=(l|0)){continue}break c}break}Ye(a,4974);z()}m=n+1|0;l=dg(a,m);j[b+208>>2]=l;if(!l){Ze(a,5008);return}Ae(l,c,m);h[b+229|0]=g;h[b+228|0]=f;j[b+216>>2]=e;j[b+212>>2]=d;d=Le(i)+1|0;c=dg(a,d);j[b+220>>2]=c;if(!c){Ze(a,5045);return}Ae(c,i,d);d=(g<<2)+4|0;c=dg(a,d);j[b+224>>2]=c;if(!c){Ze(a,5080);return}l=0;Ee(c,0,d);if((g|0)>=1){while(1){c=l<<2;d=c+k|0;e=Le(j[d>>2])+1|0;f=dg(a,e);j[c+j[b+224>>2]>>2]=f;c=j[c+j[b+224>>2]>>2];if(!c){Ze(a,5116);return}Ae(c,j[d>>2],e);l=l+1|0;if((l|0)!=(g|0)){continue}break}}j[b+8>>2]=j[b+8>>2]|1024;j[b+232>>2]=j[b+232>>2]|128}return}Ye(a,4918);z()}function dj(a,b,c){var d=0,e=0,f=0,g=0;a=j[a+376>>2];d=a>>>24|0;a:{if(!(d-91>>>0>5?d-65>>>0<=57:0)){h[b+3|0]=93;h[b|0]=91;h[b+2|0]=k[(d&15)+8176|0];h[b+1|0]=k[(a>>>28|0)+8176|0];d=4;break a}h[b|0]=d;d=1}e=a>>>16|0;f=e&255;b:{if(!(f-65>>>0>57|f-91>>>0<6)){f=d;break b}h[(b+d|0)+1|0]=k[(a>>>20&15)+8176|0];h[(d|2)+b|0]=k[(e&15)+8176|0];f=d+3|0;h[f+b|0]=93;e=91}h[b+d|0]=e;g=f+1|0;d=a>>>8|0;e=d&255;c:{if(!(e-65>>>0>57|e-91>>>0<6)){e=g;break c}e=f+4|0;h[e+b|0]=93;f=b+f|0;h[f+3|0]=k[(d&15)+8176|0];h[f+2|0]=k[(a>>>12&15)+8176|0];d=91}h[b+g|0]=d;f=e+1|0;d=a&255;d:{if(!(d-65>>>0>57|d-91>>>0<6)){d=f;break d}d=e+4|0;h[d+b|0]=93;e=b+e|0;h[e+3|0]=k[(a&15)+8176|0];h[e+2|0]=k[(a>>>4&15)+8176|0];a=91}h[b+f|0]=a;a=d+1|0;e:{if(!c){break e}h[a+b|0]=58;h[(b+d|0)+2|0]=32;a=d+3|0;d=0;while(1){e=k[c+d|0];if(!e){break e}h[a+b|0]=e;a=a+1|0;d=d+1|0;if((d|0)!=195){continue}break}}h[a+b|0]=0}function Ol(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0;c=j[a+528>>2];if(c){i=j[c+4>>2];g=j[c>>2];f=j[a+100>>2];b=f;d=j[c+24>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+24>>2]=0;if(g>>>0>=2){Ee(c+28|0,0,(g<<2)-4|0)}b=f;d=j[c+216>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+216>>2]=0;d=j[c+148>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+148>>2]=0;d=j[c+288>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+288>>2]=0;if(g){while(1){b=(e<<2)+c|0;j[b+284>>2]=0;j[b+144>>2]=0;j[b+212>>2]=0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}b=j[c+136>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+136>>2]=0;j[c+140>>2]=0;a:{if(!i){break a}e=0;while(1){b=(e<<2)+c|0;g=j[b+8>>2];if(g){qe[j[f+8>>2]](f,g)}j[b+8>>2]=0;e=e+1|0;if((i|0)!=(e|0)){continue}break}if(!i){break a}e=0;while(1){b=p(e,12)+c|0;g=b;d=j[b+92>>2];if(d){qe[j[f+8>>2]](f,d)}h[b+88|0]=0;j[g+92>>2]=0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}b=j[a+528>>2];if(b){qe[j[f+8>>2]](f,b)}j[a+528>>2]=0}}function qx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}d=(p(d,l)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;c=(p(c,e)>>>0)/255|0;break a;case 0:c=e;b=m;d=l;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+l|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+e|0;c=c>>>0<255?c:255}j[g>>2]=b<<8|c|d<<16;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}} +function aL(a,b){var c=0;c=35;a:{if(!a|!(k[a+8|0]&2)){break a}c=6;if((b|0)<0|j[a+28>>2]<=(b|0)){break a}c=j[j[j[a+96>>2]+12>>2]+92>>2];if(c){return qe[c|0](j[a+88>>2],b)|0}Cg(a,b);c=0}return c}function Gp(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:h[a|0]=c;return;case 1:i[a>>1]=c;return;case 2:case 3:j[a>>2]=c;return;case 5:break b;default:break a}}j[a>>2]=c;j[a+4>>2]=d}} -function eo(a,b,c){var d=0,e=0,f=0;d=l[b+74>>1];if(!(d&32768)){if(c>>>0>=4){Hf(a,b,2880,c,2885);return}if(!(!(d&4)|l[b+72>>1]==(c|0))){Hf(a,b,2880,c,2915);return}if(d&32){em(a,2946);return}a:{if(!(d&2)){break a}if(Ij(2984,b+4|0,100)){break a}Pf(a,3016,2);d=l[b+74>>1]}b:{if(!(d&1)){break b}e=j[b>>2];c:{if(!e){break c}f=v(+(e|0)*1e5/45455+.5);if(f<=2147483647^1|f>=-2147483648^1){break c}if(r(f)<2147483648){e=~~f}else{e=-2147483648}if(e-95e3>>>0<10001){break b}}Pf(a,4243,2);d=l[b+74>>1]}i[b+72>>1]=c;a=j[747];j[b+4>>2]=j[746];j[b+8>>2]=a;a=j[749];j[b+12>>2]=j[748];j[b+16>>2]=a;a=j[751];j[b+20>>2]=j[750];j[b+24>>2]=a;a=j[753];j[b+28>>2]=j[752];j[b+32>>2]=a;a=j[712];j[b+36>>2]=j[711];j[b+40>>2]=a;a=j[714];j[b+44>>2]=j[713];j[b+48>>2]=a;a=j[716];j[b+52>>2]=j[715];j[b+56>>2]=a;a=j[718];j[b+60>>2]=j[717];j[b+64>>2]=a;j[b+68>>2]=j[719];i[b+74>>1]=d|231;j[b>>2]=45455}}function Pn(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;c=h^255;b=j[58747];i[d>>1]=((p(c,k[b+(a>>>5&31)|0])>>>0)/255|0)+f<<2&4064|((p(c,k[b+(a>>>10&31)|0])>>>0)/255|0)+e<<7&64512|((p(c,k[b+(a&31)|0])>>>0)/255|0)+g>>>3;return 0;case 1:d=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[d>>1];b=j[58747];c=k[(a>>>5&31)+b|0]+f|0;f=(c>>>0<255?c:255)<<2&2016;c=k[b+(a>>>10&31)|0]+e|0;a=k[b+(a&31)|0]+g|0;i[d>>1]=f|(c>>>0<255?c:255)<<7&64512|(a>>>0<255?a:255)>>>3;return 0;case 3:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];c=b;b=j[58747];i[c>>1]=(p(k[b+(a>>>5&31)|0],f)>>>0)/255<<2&2016|(p(k[b+(a>>>10&31)|0],e)>>>0)/255<<7&64512|(p(k[b+(a&31)|0],g)>>>0)/255>>>3;return 0;default:break a}}i[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=f<<2&992|e<<7&31744|g>>>3;return 0}function ux(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}c=(p(c,l)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;d=(p(d,e)>>>0)/255|0;break a;case 0:d=e;b=m;c=l;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+e|0;d=d>>>0<255?d:255}j[g>>2]=b<<8|d<<16|c;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function ex(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}c=(p(c,e)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;d=(p(d,l)>>>0)/255|0;break a;case 0:d=l;b=m;c=e;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+e|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+l|0;d=d>>>0<255?d:255}j[g>>2]=b<<8|d<<16|c;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function ax(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}d=(p(d,e)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;c=(p(c,l)>>>0)/255|0;break a;case 0:c=l;b=m;d=e;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+e|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+l|0;c=c>>>0<255?c:255}j[g>>2]=b<<8|c|d<<16;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function ww(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;v=d;if(u){l=(p(l,r)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[v>>2]=c<<8|l|i<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function Ov(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;v=d;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[v>>2]=c<<8|i|l<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function Ur(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0;if(!a){return}a:{if(!b){break a}e=j[a+16>>2];if((e|0)<1){break a}f=((e<<2)+a|0)+20|0;c=a+20|0;while(1){if(j[c>>2]==(b|0)){j[a+16>>2]=e-1;a=f-4|0;if(a>>>0>c>>>0){while(1){j[c>>2]=j[c+4>>2];c=c+4|0;if(a>>>0>c>>>0){continue}break}}j[a>>2]=0;i=j[b>>2];f=j[b+8>>2];d=j[b+4>>2];b:{if(!d){break b}if(j[d+160>>2]==(b|0)){j[d+160>>2]=0}if(!(k[i|0]&2)){break b}l=j[d>>2];c=d+148|0;g=zh(c,b);if(!g){break b}e=j[b+12>>2];c:{if(j[e+36>>2]!=1869968492){break c}a=j[b+52>>2];if(!a){break c}qe[j[j[e+56>>2]+20>>2]](a)}Th(c,g);if(g){qe[j[l+8>>2]](l,g)}c=j[d+148>>2];d:{if(c){while(1){a=j[c+8>>2];if(j[a+16>>2]==1869968492){break d}c=j[c+4>>2];if(c){continue}break}}a=0}j[d+156>>2]=a}if(h[j[b>>2]]&1){Fr(b+16|0,564,j[b+8>>2],b)}a=j[i+28>>2];if(a){qe[a|0](b)}if(b){qe[j[f+8>>2]](f,b)}return}c=c+4|0;if(f>>>0>c>>>0){continue}break}}}function xn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;v=d;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,s)>>>0)/255|0;c=(p(c,t)>>>0)/255|0}j[v>>2]=i<<16|l<<8|c;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function vn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;v=d;if(u){l=(p(l,s)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,r)>>>0)/255|0}j[v>>2]=c|l<<8|i<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function eP(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{d=b;if(d){e=c;if(!e){break i}break h}a=(a>>>0)/(c>>>0)|0;pe=0;return a}if(!a){break g}break f}if(!(e-1&e)){break e}h=(s(e)+33|0)-s(d)|0;i=0-h|0;break c}a=(d>>>0)/0|0;pe=0;return a}d=32-s(d)|0;if(d>>>0<31){break d}break b}if((e|0)==1){break a}d=fP(e);c=d&31;if((d&63)>>>0>=32){e=0;a=b>>>c|0}else{e=b>>>c|0;a=((1<>>c}pe=e;return a}h=d+1|0;i=63-d|0}d=b;e=h&63;f=e&31;if(e>>>0>=32){e=0;f=d>>>f|0}else{e=d>>>f|0;f=((1<>>f}i=i&63;d=i&31;if(i>>>0>=32){b=a<>>32-d|b<>>31;j=g;e=e<<1|f>>>31;g=i-(e+(d>>>0>>0)|0)>>31;k=c&g;f=j-k|0;e=e-(j>>>0>>0)|0;b=b<<1|a>>>31;a=l|a<<1;g=g&1;l=g;h=h-1|0;if(h){continue}break}}pe=b<<1|a>>>31;return g|a<<1}a=0;b=0}pe=b;return a}function qE(a){var b=0,c=0,d=0,e=0,f=0,g=0;rP(+a);e=oP(1)|0;oP(0)|0;b=e;e=b>>>31|0;a:{b:{c:{d:{d=a;e:{f:{b=b&2147483647;g:{if(b>>>0>=1082532651){rP(+a);b=oP(1)|0;b=b&2147483647;if((b|0)==2146435072&(oP(0)|0)!=0|b>>>0>2146435072){return a}if(!(a>709.782712893384^1)){return a*8.98846567431158e+307}if(!(a<-745.1332191019411)|a<-708.3964185322641^1){break g}break b}if(b>>>0<1071001155){break d}if(b>>>0<1072734898){break f}}a=a*1.4426950408889634+o[(e<<3)+223776>>3];if(r(a)<2147483648){b=~~a;break e}b=-2147483648;break e}b=(e^1)-e|0}c=+(b|0);a=d+c*-.6931471803691238;f=c*1.9082149292705877e-10;d=a-f;break c}if(b>>>0<=1043333120){break a}b=0;d=a}c=d;g=a;c=c*c;a=d-c*(c*(c*(c*(c*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);c=g+(d*a/(2-a)-f)+1;if(!b){break b}c=Kg(c,b)}return c}return a+1}function qw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;if(u){l=(p(l,r)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[d>>2]=l<<16|c<<8|i;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function Iv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[d>>2]=i<<16|c<<8|l;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function zt(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;e=j[a+40>>2];f=j[a+44>>2];a:{if(!(j[a- -64>>2]?0:j[a+60>>2])){a=j[a+52>>2];if(!a){break a}Nj(a);break a}b=j[a+52>>2];b:{if(b){if(b){b=j[b+168>>2];c=0;c:{if(!b){break c}c=j[b+16>>2]}}else{c=0}b=j[a+16>>2];d:{if((c|0)>=(b|0)){break d}while(1){e:{qe[f|0](j[a+48>>2],j[a+72>>2],e);c=gi(j[a+52>>2],j[a+72>>2],e);b=j[a+52>>2];if((c|0)==-1){break e}if(b){b=j[b+168>>2];c=0;f:{if(!b){break f}c=j[b+16>>2]}}else{c=0}b=j[a+16>>2];if((c|0)<(b|0)){continue}break d}break}Nj(b);j[a+60>>2]=0;b=j[a+16>>2]}b=Hh(j[a+52>>2],j[a+72>>2],b);c=j[a+16>>2];if((b|0)==(c|0)){break b}Oe(j[a+72>>2],k[a+11|0],c);break b}qe[f|0](j[a+48>>2],j[a+72>>2],e)}c=j[a+16>>2];e=j[a+72>>2];b=k[a+10|0];a=l[a+8>>1];h[d+15|0]=0;h[d+13|0]=105;h[d+14|0]=105;j[d>>2]=e;j[d+4>>2]=(c|0)/(p(b,a>>>3&31)|0);E(67523,d+13|0,d|0)|0}oe=d+16|0}function zn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,s)>>>0)/255|0;c=(p(c,t)>>>0)/255|0}j[d>>2]=l<<8|i|c<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function tn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;if(u){l=(p(l,s)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,r)>>>0)/255|0}j[d>>2]=c<<16|l<<8|i;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function Wl(a){var b=0,c=0,d=0,e=0,f=0,g=0;h[a+108|0]=0;b=j[a+16>>2];c=j[a+12>>2];j[a+44>>2]=c;j[a+48>>2]=b;b=j[a+24>>2];j[a+52>>2]=j[a+20>>2];j[a+56>>2]=b;b=j[a+32>>2];j[a+60>>2]=j[a+28>>2];j[a+64>>2]=b;j[a+68>>2]=j[a+36>>2];b=151;e=c&65535;a:{if(!e){break a}d=l[a+46>>1];if(!d){break a}b=j[a>>2];if(k[b+176|0]&8){f=a,g=De(e<<6,l[b+68>>1]),j[f+48>>2]=g;c=De(l[a+46>>1]<<6,l[b+68>>1]);j[a+52>>2]=c;f=a,g=ye(i[b+70>>1],c)+32&-64,j[f+56>>2]=g;f=a,g=ye(i[b+72>>1],j[a+52>>2])+32&-64,j[f+60>>2]=g;f=a- -64|0,g=ye(i[b+74>>1],j[a+52>>2])+32&-64,j[f>>2]=g;f=a,g=ye(i[b+76>>1],j[a+48>>2])+32&-64,j[f+68>>2]=g;d=l[a+46>>1];c=l[a+44>>1]}b=c&65535;b:{if(b>>>0>=d>>>0){j[a+72>>2]=65536;i[a+80>>1]=c;j[a+88>>2]=j[a+48>>2];c=De(d,b);break b}i[a+80>>1]=d;j[a+88>>2]=j[a+52>>2];f=a,g=De(b,d),j[f+72>>2]=g;c=65536}j[a+300>>2]=-1;h[a+108|0]=1;j[a+76>>2]=c;b=0}return b}function NE(a,b,c,d,e,f,g,h){var i=0,k=q(0),l=0,m=0,o=0,p=q(0),r=0,s=0,t=0,u=q(0),v=0,w=0;if((f|0)>0){while(1){l=(i<<2)+e|0;m=lg(+n[l>>2]);n[l>>2]=m+m;i=i+1|0;if((i|0)!=(f|0)){continue}break}}if((c|0)>=1){u=q(3.141592653589793/+(d|0));v=((f<<2)+e|0)-4|0;l=(f-2&-2)+3|0;m=+h;w=+g;i=0;while(1){r=i<<2;o=j[r+b>>2];s=lg(+q(u*q(o|0)));k=q(s+s);d=1;h=q(.5);g=q(.5);p=q(.5);if((f|0)>=2){while(1){t=(d<<2)+e|0;g=q(g*q(k-n[t>>2]));h=q(h*q(k-n[t-4>>2]));d=d+2|0;if((f|0)>(d|0)){continue}break}p=g;d=l}else{d=1}a:{if((d|0)==(f|0)){h=q(h*q(k-n[v>>2]));h=q(h*h);g=q(q(4)-q(k*k));break a}h=q(h*q(q(k+q(2))*h));g=q(q(2)-k)}d=a+r|0;k=n[d>>2];g=q(qE((w/y(+q(h+q(p*q(p*g))))-m)*.1151292473077774));n[d>>2]=k*g;i=i+1|0;if(j[(i<<2)+b>>2]==(o|0)){while(1){d=(i<<2)+a|0;n[d>>2]=n[d>>2]*g;i=i+1|0;if(j[(i<<2)+b>>2]==(o|0)){continue}break}}if((c|0)>(i|0)){continue}break}}}function 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,i=0,m=0,n=0,o=0,p=0,q=0;a:{g=j[a+4>>2];n=0-g|0;o=c-1|0;i=n&g+o;m=d&n;b:{if((i|0)<=(m|0)){c=j[a>>2];d=i;break b}if((g+m|0)!=(i|0)){break a}g=m;c:{d:{e:{p=l[e+12>>1];q=p&7;switch(q|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}g=j[a+8>>2]+((d+o|0)/2|0)&n;break c}if((!(p&16)|j[a+8>>2]>(d-c|0)?!(j[e+28>>2]!=(f|0)|j[e+16>>2]>0):0)|(!(p&32)|j[a+8>>2]>(d-c|0)?!(j[f+28>>2]!=(e|0)|j[e+20>>2]!=(b|0)):0)){break a}if((q|0)==1){break c}g=j[a+8>>2]+((d+o|0)/2|0)&n}c=j[a>>2];d=i;d=(g|0)>=0?l[a+56>>1]>(g>>>c|0)?g:m:d;b=((i|0)==(d|0)?m:i)>>c;if((b|0)<0|(b|0)>=l[a+56>>1]){break b}if(k[j[a+60>>2]+(j[a+148>>2]+(b<<13>>16)|0)|0]<<(b&7)&128){break a}}b=d>>c;if((b|0)<0|(b|0)>=l[a+56>>1]){break a}a=j[a+60>>2]+(j[a+148>>2]+(b<<13>>16)|0)|0;h[a|0]=k[a|0]|128>>>(b&7)}}function _u(a,b){var c=0,d=0,e=0;c=oe-32|0;oe=c;d=j[67085];a:{if(!d){ve(57733,0);a=-1;break a}if(!(j[a>>2]==(d+316|0)?a:0)){ve(56433,0);a=-1;break a}if(!b){j[c>>2]=56501;a=ve(56475,c);break a}j[c+24>>2]=j[a+88>>2];d=j[a+84>>2];j[c+16>>2]=j[a+80>>2];j[c+20>>2]=d;d=j[a+76>>2];j[c+8>>2]=j[a+72>>2];j[c+12>>2]=d;if(!j[c+12>>2]){j[c+12>>2]=j[a- -64>>2]}if(!j[c+16>>2]){j[c+16>>2]=j[a+68>>2]}d=0;e=Ch(a);if((e|0)>=0){d=j[j[67085]+304>>2]+p(e,72)|0}b:{if((j[a+48>>2]&4097)==4097){j[c+24>>2]=j[d+32>>2];a=j[d+28>>2];j[c+16>>2]=j[d+24>>2];j[c+20>>2]=a;a=j[d+20>>2];j[c+8>>2]=j[d+16>>2];j[c+12>>2]=a;break b}a=Ch(a);if((a|0)>=0){a=j[j[67085]+304>>2]+p(a,72)|0}else{a=0}if(cn(a,c+8|0,c+8|0)){break b}a=ve(56506,0);break a}a=j[c+12>>2];j[b>>2]=j[c+8>>2];j[b+4>>2]=a;j[b+16>>2]=j[c+24>>2];a=j[c+20>>2];j[b+8>>2]=j[c+16>>2];j[b+12>>2]=a;a=0}oe=c+32|0;return a}function IN(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;o=oe-16|0;oe=o;a:{if(!a){break a}c=j[a>>2];if(!c|j[c+4>>2]!=70308){break a}e=_O(c,o+12|0);if(e){break a}b:{m=e?c:j[o+12>>2];l=m+20|0;if(JN(b,l)){break b}if(b){c:{d:{e=j[b+64>>2];if(e){d=j[b+76>>2];c=e;while(1){g=k[d|0];e:{if(g&4){if(!f){break e}break d}if(!f){break d}}d=d+1|0;g=g>>>3&1;f=g^1;i=i+g|0;c=c-1|0;if(c){continue}break}c=0;if(f){break c}}h[b+92|0]=1;p=i;c=e;break c}c=0}g=c;f:{g:{e=j[b+96>>2];h:{if(!e){i=0;break h}d=j[b+108>>2];f=0;c=e;i=0;while(1){n=k[d|0];i:{if(n&4){if(!f){break i}break g}if(!f){break g}}d=d+1|0;n=n>>>3&1;f=n^1;i=i+n|0;c=c-1|0;if(c){continue}break}d=0;c=0;if(f){break f}}h[b+124|0]=1;d=i;c=e;break f}d=0;c=0}f=c+g|0;d=d+p|0}Sr(j[m>>2],l);if(Cm(j[m>>2],f,d,l)){break b}j[l>>2]=0;Hr(b,0,l);Hr(b,1,l);vk(j[a>>2]);j[a>>2]=m;break a}vk(m)}oe=o+16|0}function MG(a,b){var c=0,d=0,e=0;a:{c=k[a+8|0];if(!(c&2)){break a}d=j[a>>2];b:{switch(k[a+9|0]-8|0){case 0:c:{switch(c-2|0){case 4:if(!d){break a}a=0;while(1){c=k[b+2|0];h[b+2|0]=k[b|0];h[b|0]=c;b=b+4|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a;case 0:break c;default:break a}}if(!d){break a}a=0;while(1){c=k[b+2|0];h[b+2|0]=k[b|0];h[b|0]=c;b=b+3|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a;case 8:break b;default:break a}}d:{switch(c-2|0){case 4:if(!d){break a}a=0;while(1){c=k[b|0]|k[b+1|0]<<8;e=k[b+4|0]|k[b+5|0]<<8;h[b|0]=e;h[b+1|0]=e>>>8;h[b+4|0]=c;h[b+5|0]=c>>>8;b=b+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a;case 0:break d;default:break a}}if(!d){break a}a=0;while(1){c=k[b|0]|k[b+1|0]<<8;e=k[b+4|0]|k[b+5|0]<<8;h[b|0]=e;h[b+1|0]=e>>>8;h[b+4|0]=c;h[b+5|0]=c>>>8;b=b+6|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function Rl(a,b){var c=0,d=0,e=0,f=0,g=0,k=0,l=0,n=0,o=0,p=0;l=oe-16|0;oe=l;n=j[a+28>>2];j[l+12>>2]=0;f=xe(n,2,0,b,0,l+12|0);a:{if(!j[l+12>>2]){while(1){if(b>>>0<=e>>>0){break a}d=j[a+32>>2];if(d>>>0>2]){j[a+32>>2]=d+1;d=h[d|0]}else{d=0}c=d<<24>>24;k=c&63;b:{if(c&128){d=0;c=(e^-1)+b|0;Ee((e<<1)+f|0,0,((c>>>0>>0?c:k)<<1)+2|0);while(1){c=d+1|0;e=e+1|0;if(e>>>0>=b>>>0){break b}g=d>>>0>>0;d=c;if(g){continue}break}break b}d=0;if(c&64){while(1){o=(e<<1)+f|0,p=af(a),i[o>>1]=p;c=d+1|0;e=e+1|0;if(e>>>0>=b>>>0){break b}g=d>>>0>>0;d=c;if(g){continue}break b}}while(1){g=(e<<1)+f|0;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}i[g>>1]=c<<24>>24;c=d+1|0;e=e+1|0;if(e>>>0>=b>>>0){break b}g=d>>>0>>0;d=c;if(g){continue}break}}if(c>>>0>k>>>0){continue}break}if(f){qe[j[n+8>>2]](n,f)}}f=0}oe=l+16|0;return f}function Rh(a,b,c){var d=0,e=0,f=0,g=0,i=0;e=oe-16|0;oe=e;i=j[b+28>>2];j[a+28>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a+12>>2]=0;j[a+16>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a>>2]=b;j[a+4>>2]=j[b+8>>2];f=qf(b,e+8|0);a:{b:{if(j[e+8>>2]){break b}if(!f){break a}d=hg(b,e+8|0);if(j[e+8>>2]){break b}if((d-1&255)>>>0>=4){j[e+8>>2]=8;break b}h[a+12|0]=d;j[a+8>>2]=f;d=d&255;j[a+16>>2]=(j[a+4>>2]+p(d,f+1|0)|0)+3;d=xf(b,p(d,f));j[e+8>>2]=d;if(d){break b}d=uf(j[a>>2],e+12|0,k[a+12|0]);if(d){j[e+8>>2]=d;break b}c:{d=k[a+12|0];if(d){d=d>>>0>1?d:1;f=0;while(1){f=k[(e+12|0)+g|0]|f<<8;g=g+1|0;if((d|0)!=(g|0)){continue}break}j[e+8>>2]=0;if(f){break c}}j[e+8>>2]=8;break b}f=f-1|0;j[a+20>>2]=f;d=e;d:{if(c){b=_f(b,f,a+28|0);break d}b=xf(b,f)}j[d+8>>2]=b;if(b){break b}g=0;break a}b=j[a+24>>2];if(b){qe[j[i+8>>2]](i,b)}j[a+24>>2]=0;g=j[e+8>>2]}oe=e+16|0;return g}function iF(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=-1;a:{if(!a){break a}f=j[c+4>>2];if(!f){break a}e=qe[f|0](a,0,0,1)|0}j[d+12>>2]=0;j[d+8>>2]=0;b=Ee(b,0,704);j[b>>2]=a;a=j[c+4>>2];j[b+704>>2]=j[c>>2];j[b+708>>2]=a;a=j[c+12>>2];j[b+712>>2]=j[c+8>>2];j[b+716>>2]=a;a=b+24|0;if(a){j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}if((e|0)!=-1){j[b+4>>2]=1}j[b+52>>2]=1;g=b,h=bf(1,32),j[g+72>>2]=h;g=b,h=bf(1,16),j[g+76>>2]=h;Cp(b+120|0,-1);f=Fl(b,j[b+72>>2],j[b+76>>2],d+12|0,d+8|0,0);b:{if((f|0)<=-1){j[b>>2]=0;ek(b);c=j[d+12>>2];break b}e=j[d+8>>2];a=bf(e+2|0,4);j[b+64>>2]=a;c=j[b+456>>2];j[b+92>>2]=c;j[a+4>>2]=e;j[a>>2]=c;c=j[d+12>>2];Ae(a+8|0,c,e<<2);g=b,h=bf(1,8),j[g+56>>2]=h;a=bf(1,8);j[b+60>>2]=a;e=j[b+12>>2];j[a>>2]=j[b+8>>2];j[a+4>>2]=e;j[b+88>>2]=1}if(c){ze(c)}oe=d+16|0;return f}function pl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;g=oe-16|0;oe=g;a:{if(!a){j[g>>2]=22733;i=ve(22707,g);break a}f=j[a+4>>2];if(f){l=j[f>>2]}if(!c){break a}m=j[a>>2];k=j[a+12>>2];d=f;while(1){b:{c:{if(d){e=j[d>>2];if(k>>>0>e>>>0){break c}}d=j[a+8>>2];d:{if(d){j[a+8>>2]=j[d+8>>2];break d}d=j[a+12>>2]+12|0;d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}if(!d){break b}}e=0;j[d+8>>2]=0;j[d>>2]=0;j[d+4>>2]=0;h=j[a+4>>2];j[(h?h+8|0:a)>>2]=d;j[a+4>>2]=d}h=(d+e|0)+12|0;e=k-e|0;e=c>>>0>>0?c:e;Ge(h,b,e);j[d>>2]=e+j[d>>2];j[a+16>>2]=e+j[a+16>>2];c=c-e|0;if(!c){break a}b=b+e|0;d=j[a+4>>2];continue}break}e:{if(!f){d=j[a>>2];break e}j[f>>2]=l;d=j[f+8>>2];j[f+8>>2]=0}j[a+8>>2]=0;j[a+4>>2]=f;j[a>>2]=m;if(d){while(1){a=j[d+8>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}d=a;if(d){continue}break}}i=Be(0)}oe=g+16|0;return i}function ch(a,b,c){var d=0,e=0,f=0,g=0,i=0;d=oe-48|0;oe=d;g=a+11724|0;e=j[g>>2];if(k[j[a+11676>>2]+5|0]){i=!k[a+11665|0]}else{i=0}f=j[a+11720>>2];if(!((c|0)==(e|0)?!(i|(f|0)!=(b|0)):0)){om(a,f,e,b,c,d+44|0,d+40|0);e=j[d+44>>2];j[d+32>>2]=e+j[a+11720>>2];g=j[g>>2];f=j[d+40>>2];j[d+28>>2]=f+c;j[d+24>>2]=b+e;j[d+36>>2]=g+f;if(k[a+11667|0]){e=j[d+36>>2];j[d+16>>2]=j[d+32>>2];j[d+20>>2]=e;tr(a,d+16|0);h[a+11664|0]=1;h[a+11667|0]=0;e=j[d+28>>2];j[a+11712>>2]=j[d+24>>2];j[a+11716>>2]=e}if(k[a+11744|0]){e=j[d+28>>2];j[d+8>>2]=j[d+24>>2];j[d+12>>2]=e;Qh(a,a+8|0,d+32|0,d+8|0,0)}j[a+11748>>2]=2;h[a+11744|0]=1;e=j[d+36>>2];j[a+11752>>2]=j[d+32>>2];j[a+11756>>2]=e;e=j[d+28>>2];j[a+11760>>2]=j[d+24>>2];j[a+11764>>2]=e;if(i){xh(a+8|0,j[a+11668>>2],j[a+11672>>2],j[a+11676>>2],j[a+11680>>2],0)}j[a+11724>>2]=c;j[a+11720>>2]=b}oe=d+48|0}function WE(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=q(0),l=q(0),m=0;f=(c<<2)+15&-16;h=oe-f|0;i=h-f|0;a:{if((c|0)<=0){break a}while(1){b:{if((d|0)>=2){k=n[(e<<2)+a>>2];while(1){f=d;d=d-1|0;g=d<<2;l=n[g+i>>2];if(!(l>k^1)){j[(f<<2)+h>>2]=e;break b}c:{if((f|0)<2|(j[h+g>>2]+b|0)<=(e|0)){break c}g=f-2<<2;if(n[g+i>>2]>=l^1){break c}if((j[h+g>>2]+b|0)>(e|0)){continue}}break}j[(f<<2)+h>>2]=e;break b}j[(d<<2)+h>>2]=e;k=n[(e<<2)+a>>2];f=d}n[(f<<2)+i>>2]=k;d=f+1|0;e=e+1|0;if((e|0)!=(c|0)){continue}break}d=0;if((f|0)<0){break a}m=b+1|0;e=0;while(1){b=c;d:{e:{if((d|0)>=(f|0)){break e}g=d+1<<2;if(n[g+i>>2]>n[(d<<2)+i>>2]^1){break e}g=j[h+g>>2];break d}g=j[(d<<2)+h>>2]+m|0}b=(c|0)<(g|0)?b:g;if((b|0)>(e|0)){k=n[(d<<2)+i>>2];while(1){n[(e<<2)+a>>2]=k;e=e+1|0;if((b|0)!=(e|0)){continue}break}e=b}b=(d|0)!=(f|0);d=d+1|0;if(b){continue}break}}}function mJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=a+16|0;if(c>>>0>m[b+160>>2]){Pe(b,8)}d=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!((d-16>>>0)/12>>>0>=g>>>0?!(d>>>0<16|d>>>0>j[b+160>>2]-a>>>0):0)){Pe(b,8)}if(g){a=0;while(1){d=a;f=k[c+8|0]|k[c+9|0]<<8|(k[c+10|0]<<16|k[c+11|0]<<24);a=k[c+4|0]|k[c+5|0]<<8|(k[c+6|0]<<16|k[c+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);e=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(a>>>0>>0){Pe(b,8)}if(!(!h|d>>>0>>0)){Pe(b,8)}if(!(!j[b+164>>2]|m[b+172>>2]>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0)){Pe(b,16)}c=c+12|0;h=h+1|0;if((h|0)!=(g|0)){continue}break}}return 0}function kE(a){var b=0;b=j[65548];if(!b){ve(20473,0);return}if(!a){ve(20505,0);return}j[a+16>>2]=0;j[a+20>>2]=0/(b|0);j[a+12>>2]=0;_g();a:{if(!j[65546]){break a}while(1){if(j[j[65546]+12>>2]!=1){break a}Jg();bg(100);_g();if(j[65546]){continue}break}}if(j[65546]){if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0}j[65546]=a;j[j[65546]+8>>2]=1;b:{if(j[j[65546]+12>>2]==2){if(!j[j[j[65546]>>2]+36>>2]){break b}qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],0);break b}if(!j[j[j[65546]>>2]+36>>2]){break b}qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],j[57792])}b=qe[j[j[a>>2]+40>>2]](j[a+4>>2],-1)|0;c:{if(!b){if(!j[j[j[65546]>>2]+52>>2]){break c}qe[j[j[j[65546]>>2]+52>>2]](j[j[65546]+4>>2],0)|0;Jg();return}if((b|0)>-1){break c}j[a+8>>2]=0;j[65546]=0}Jg()}function Ty(a,b,c){var d=0;d=qe[j[57972]](808)|0;if(d){j[57976]=j[57976]+1}if(!d){Be(0);return 0}Oe(d,0,808);j[d+8>>2]=-1;j[d+12>>2]=0;a:{b:{if(!a){break b}a=Uf(a);j[d+792>>2]=a;if(a){break b}Be(0);break a}a=qe[j[57972]](16)|0;if(a){j[57976]=j[57976]+1}if(!a){Be(0);a=j[d+792>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}break a}j[a+8>>2]=d;j[a+4>>2]=c;j[a>>2]=120;c=Pm();j[a+12>>2]=c;if(!c){b=j[d+792>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return 0}j[d+796>>2]=b;c:{if((ve(70233,0)|0)>=0){ve(70199,0);break c}b=j[d+792>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}d=0}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return d}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}return 0}function ZK(a,b,c,d,e,f,g,i,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;k=k|0;var l=0;a=Ee(a,0,1500);l=Bh(j[b+96>>2],92300);if(!l){return 7}h[a+68|0]=1;j[a+64>>2]=0;j[a+1348>>2]=l;j[a+8>>2]=d;j[a+4>>2]=b;j[a>>2]=j[b+100>>2];a:{if(!d){break a}l=j[j[d+156>>2]>>2];j[a+12>>2]=l;j[a+20>>2]=l+56;j[a+16>>2]=l+20;Yh(l);c=j[c+40>>2];j[a+72>>2]=0;j[a+76>>2]=c;if(!g){break a}j[a+72>>2]=j[j[d+156>>2]+36>>2]}j[a+24>>2]=0;j[a+28>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;c=j[22940];j[a+80>>2]=j[22939];j[a+84>>2]=c;c=j[22942];j[a+88>>2]=j[22941];j[a+92>>2]=c;c=j[22944];j[a+96>>2]=j[22943];j[a+100>>2]=c;c=j[22946];j[a+104>>2]=j[22945];j[a+108>>2]=c;j[a+1352>>2]=j[b+16>>2];j[a+1464>>2]=f;j[a+1472>>2]=k;j[a+1356>>2]=e;j[a+1468>>2]=i;j[a+1484>>2]=j[22949];b=j[22948];j[a+1476>>2]=j[22947];j[a+1480>>2]=b;return 0}function NI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0;d=oe-16|0;oe=d;g=j[b+28>>2];j[a+360>>2]=b;c=qe[j[a+508>>2]](a,1851878757,b,d+8|0)|0;j[d+12>>2]=c;a:{if(c){break a}h=j[b+8>>2];c=$e(b,157200,a+344|0);j[d+12>>2]=c;if(c){break a}c=145;f=j[a+348>>2];e=p(f,12);k=(e+h|0)+6|0;m=j[d+8>>2]+h|0;if(k>>>0>m>>>0){break a}j[a+348>>2]=0;n=a,o=xe(g,20,0,f,0,d+12|0),j[n+356>>2]=o;c=j[d+12>>2];if(c){break a}c=_e(b,e);j[d+12>>2]=c;if(c){break a}c=j[a+356>>2];if(f){while(1){e=$e(b,157232,c);j[d+12>>2]=e;b:{if(e){break b}e=l[c+8>>1];if(!e){break b}g=j[c+12>>2]+(j[a+352>>2]+h|0)|0;j[c+12>>2]=g;if(!(e+g>>>0<=m>>>0?g>>>0>=k>>>0:0)){i[c+8>>1]=0;j[c+12>>2]=0;break b}c=c+20|0}f=f-1|0;if(f){continue}break}e=j[a+356>>2]}else{e=c}j[a+348>>2]=(c-e|0)/20;Ve(b);i[a+340>>1]=j[a+348>>2];c=j[d+12>>2]}oe=d+16|0;return c|0}function Gj(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=oe-32|0;oe=b;a:{if(!(j[a>>2]==268306?a:0)){ve(31970,0);break a}if(j[a+8>>2]!=1){break a}c=j[a+40>>2];if(j[a+44>>2]){j[b+28>>2]=0;j[b+24>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b+16>>2]=j[a+12>>2];j[b+20>>2]=j[a+16>>2];if((Hj(c,b+8|0,b+28|0,b+24|0)|0)<0){break a}Yk(j[a+44>>2],b+8|0,j[c+4>>2],j[b+16>>2],j[b+20>>2],j[b+28>>2],j[b+24>>2]);Gj(c);break a}if(c){j[b+8>>2]=0;j[b+28>>2]=0;f=a+56|0;d=j[a+4>>2];b:{if(!(!d|(d&-268435456)==268435456)){e=2;if((d|0)==844715353|(d|0)==1498831189){break b}e=(d|0)==1431918169?2:1;break b}e=d&255}g=j[a+60>>2];d=j[a+52>>2];h=j[a+48>>2];i=j[a+56>>2];if((Hj(c,f,b+8|0,b+28|0)|0)<0){break a}fh(j[a- -64>>2],j[a+68>>2],j[a+4>>2],(p(d,g)+h|0)+p(e,i)|0,d,j[c+4>>2],j[b+8>>2],j[b+28>>2]);Gj(c);break a}c=j[a+36>>2];qe[j[c+64>>2]](c,a)}oe=b+32|0}function aG(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;a:{if(!a){ve(1850,0);break a}qe[j[a+4>>2]](a,0,0,1)|0;c=pe;if((c|0)<-1?1:(c|0)<=-1){ve(1876,0);qe[j[a+16>>2]](a)|0;break a}b:{if(j[a+20>>2]!=2){break b}c=Ya(j[a+28>>2],e+12|0,e+8|0)|0;if(!c){break b}d=ug(0,j[e+12>>2],j[e+8>>2],32,255,65280,16711680,-16777216);if(d){Ae(j[d+20>>2],c,p(j[e+12>>2],j[e+8>>2])<<2)}ze(c);qe[j[a+16>>2]](a)|0;break a}while(1){c:{d:{if(f){if(qe[j[p(f,12)+1924>>2]](a)|0){break d}break c}if(!b){break c}d=2125;c=b;g=k[c|0];if(g){while(1){h=k[d|0];if(!h|((g-97>>>0<26?g&95:g)|0)!=((h-97>>>0<26?h&95:h)|0)){break c}d=d+1|0;g=k[c+1|0];c=c+1|0;if(g){continue}break}}if(k[d|0]){break c}f=0}d=qe[j[p(f,12)+1928>>2]](a)|0;qe[j[a+16>>2]](a)|0;break a}f=f+1|0;if((f|0)!=15){continue}break}qe[j[a+16>>2]](a)|0;d=0;ve(2100,0)}oe=e+16|0;return d}function dC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0),i=0,j=q(0),l=q(0),m=q(0),o=q(0);e=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);i=(e<<2)/3|0;if(e>>>0>=24){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=c+e|0;d=c+i|0;e=(e>>>0)/24|0;while(1){j=n[f-8>>2];c=f-24|0;l=n[c>>2];m=n[f-4>>2];o=n[f-20>>2];n[d-20>>2]=n[f-12>>2];g=n[f-16>>2];n[d-4>>2]=q(o+m)*q(.5);n[d-24>>2]=g;g=q(q(l+j)*q(.5));n[d-8>>2]=g;n[d-12>>2]=m+q(m-g);n[d-16>>2]=j+q(j-g);n[d-28>>2]=o+q(o-g);d=d-32|0;n[d>>2]=l+q(l-g);f=c;e=e-1|0;if(e){continue}break}}h[a+24|0]=i;h[a+25|0]=i>>>8;h[a+26|0]=i>>>16;h[a+27|0]=i>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function is(a,b,c,d,e){var f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;p=j[a+2984>>2]&4;f=64;a:{if(p){break a}k=1;f=(e|0)==1?55:49;if(!(!(h[b+12|0]&1)|!(h[c+12|0]&1))){break a}f=(e|0)==1?61:59}n=j[c+4>>2];o=j[b+4>>2];m=tk(a,e,n-o|0);a=(((n+o|0)/2|0)+d|0)+((m|0)/-2|0)|0;d=a&63;b:{if(!d){break b}i=a+m&63;if(!i){break b}g=64-d|0;if((f|0)>=(m|0)){if((i|0)>=(m|0)){break b}l=g>>>0>i>>>0?0-i|0:g;break b}if(k){if(f>>>0<=64-i>>>0|f>>>0<=i>>>0|(d>>>0>=f>>>0|g>>>0>=f>>>0)){break b}}k=m&63;c:{if(k>>>0<=31){if(g>>>0<=k>>>0){break b}if(i>>>0>k>>>0){break c}break b}k=64-f|0}e=g-k|0;d=f-g|0;g=(d|0)>(e|0)?e:0-d|0;l=g>>31;e=f-i|0;d=i-k|0;e=(d|0)>(e|0)?e:0-d|0;d=e>>31;l=(l^g+l)>(d^d+e)?e:g}e=b;d=l;d:{if(p){break d}d=14;if((l|0)>14){break d}d=(l|0)>-14?l:-14}a=d+a|0;b=(n|0)>(o|0);j[e+8>>2]=a+(b?0:m);j[c+8>>2]=a+(b?m:0);return d}function Fq(a,b,c,d,e,f,g){var i=0,l=0,n=0;n=e-c|0;a:{if((n|0)<1|(e|0)<(f|0)|(c|0)>(g|0)){break a}i=d-b|0;b:{if((c|0)<(f|0)){b=Ne(i,f-c|0,n)+b|0;l=j[a>>2];f=f>>l;c=0;break b}l=j[a>>2];f=c>>l;c=j[a+4>>2]-1&c}d=0;if((e|0)<=(g|0)){g=e;d=j[a+4>>2]-1&e}e=g>>l;c:{if((c|0)>=1){if((e|0)==(f|0)){break a}f=f+1|0;b=Ne(i,j[a+4>>2]-c|0,n)+b|0;break c}if(!k[a+87|0]){break c}j[a+40>>2]=j[a+40>>2]-4}h[a+87|0]=!d;if(k[a+86|0]){j[j[a+88>>2]+20>>2]=f;h[a+86|0]=0}g=e-f|0;c=g+1|0;if(m[a+36>>2]<=j[a+40>>2]+(c<<2)>>>0){j[a+44>>2]=98;return 1}d=1;e=j[a+4>>2];d:{if((i|0)>=1){f=yk(e,i,n);break d}d=-1;i=0-i|0;f=0-yk(e,i,n)|0}i=(p(j[a+4>>2],i)|0)%(n|0)|0;e=j[a+40>>2];if((g|0)>=0){g=0-n|0;while(1){j[e>>2]=b;g=g+i|0;l=(g|0)>-1;g=g-(l?n:0)|0;b=(b+f|0)+(l?d:0)|0;e=e+4|0;l=(c|0)>1;c=c-1|0;if(l){continue}break}}j[a+40>>2]=e}return 0}function zz(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=oe-16|0;oe=i;a:{if(!a){ve(44497,0);break a}b:{c:{d:{e:{l=j[a+4>>2];switch(k[l+9|0]-2|0){case 2:break d;case 0:break e;default:break b}}m=j[l+12>>2];m=(m|0)==31744?202:(m|0)==63488?203:204;break c}n=j[l+24>>2];m=n?205:206;if(j[l+12>>2]==16711680){break c}m=n?207:208}if((c|0)>=2){r=a+36|0;l=1;while(1){n=(l<<3)+b|0;o=n-8|0;j[i+12>>2]=j[o>>2];j[i+8>>2]=j[o+4>>2];j[i+4>>2]=j[n>>2];j[i>>2]=j[n+4>>2];if(kn(r,i+12|0,i+8|0,i+4|0,i)){o=1;p=j[i>>2];q=j[i+4>>2];o=(q|0)==j[n>>2]?j[n+4>>2]!=(p|0):o;qe[m|0](a,j[i+12>>2],j[i+8>>2],q,p,d,e,f,g,h,o)}l=l+1|0;if((l|0)!=(c|0)){continue}break}}c=(c-1<<3)+b|0;m=j[c>>2];f:{if((m|0)!=j[b>>2]){l=j[c+4>>2];break f}l=j[c+4>>2];if((l|0)==j[b+4>>2]){break a}}Mz(a,m,l,d,e,f,g,h);break a}ve(44547,0)}oe=i+16|0}function fr(a,b){var c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;c=j[a>>2];j[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){f=0;c:{d:{e:{f:{g:{g=k[c|0];switch(g-37|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:break c;case 0:break d;case 23:break e;case 3:break f;default:break g}}h:{switch(g-123|0){case 0:e=e+1|0;break c;case 2:break h;default:break c}}e=e-1|0;if(e){break c}c=c+1|0;break b}f=im(d+12|0,b);break c}f=er(d+12|0,b);break c}i:{while(1){j:{switch(g-10|0){case 0:case 3:break i;default:break j}}c=c+1|0;if((c|0)!=(b|0)){g=k[c|0];continue}break}c=b}j[d+12>>2]=c}c=j[d+12>>2]+1|0;j[d+12>>2]=c;if(f?0:b>>>0>c>>>0){continue}break}b=3;if(e){break a}}b=f}j[a>>2]=c;oe=d+16|0;return b}function vi(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,n=0;d=j[a+40>>2];n=b;c=Bl(b,j[a+36>>2]);a:{b:{c:{if((c|0)>=0){c=j[j[a+32>>2]+(c<<2)>>2];if((c|0)>=0){g=c-1|0;a=h[g+j[a+28>>2]|0];break b}i=c>>>15&32767;c=j[a+8>>2]-(c&32767)|0;break c}c=j[a+8>>2]}k=c;f=Bl(b,d);l=f>>>31|0;g=-1;d:{if((f|0)>-1){c=d;break d}if((d|0)<2){c=d;break d}while(1){c=d-1|0;f=Bl(b,c);l=f>>>31|0;if((f|0)>-1){break d}e=(d|0)>2;d=c;if(e){continue}break}}if(l){break a}d=k-i|0;if((d|0)>=2){e=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);e=e>>>4&252645135|e<<4&-252645136;e=e>>>2&858993459|e<<2&-858993460;l=e>>>1&1431655765|e<<1&-1431655766;e=j[a+20>>2];while(1){g=d>>>1|0;d=l>>>0>2];k=k-(d?g:0)|0;i=(d?0:g)+i|0;d=k-i|0;if((d|0)>1){continue}break}}a=h[j[a+28>>2]+i|0];k=(a|0)>(c|0);g=k?-1:i;a=k?c:a}EE(n,a)}return g}function Mt(a,b,c){var d=0,e=0,f=0,g=0;e=oe-784|0;oe=e;a:{b:{c:{d:{d=j[a+208>>2];if(d&1){if(d&2){break d}if(d&4){Ie(a,c);Je(a,5774);break a}j[a+208>>2]=d|2;if(!(k[a+435|0]&2)){Ie(a,c);Je(a,5818);break a}if(!((c>>>0)%3|0?0:c>>>0<=768)){Ie(a,c);if(k[a+435|0]!=3){Je(a,5787);break a}hf(a,5787);z()}c=c&65535;f=(c>>>0)/3|0;if(c>>>0>=3){g=f>>>0>1?f:1;c=0;d=e+16|0;while(1){pf(a,e+13|0,3);tf(a,e+13|0,3);h[d|0]=k[e+13|0];h[d+1|0]=k[e+14|0];h[d+2|0]=k[e+15|0];d=d+3|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}Ie(a,0);iv(a,b,e+16|0,f);if(!l[a+428>>1]){if(!b){break a}d=j[b+8>>2];if(!(d&16)){break b}i[a+428>>1]=0;break c}i[a+428>>1]=0;if(b){break c}Je(a,5843);break a}hf(a,5795);z()}hf(a,5808);z()}i[b+22>>1]=0;Je(a,5843);d=j[b+8>>2]}if(d&64){Je(a,5862)}if(!(k[b+8|0]&32)){break a}Je(a,5881)}oe=e+784|0}function CG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;d=oe-272|0;oe=d;qe[j[b+60>>2]](b,d+80|0,16,d+76|0);e=j[d+76>>2];a:{if((e|0)<0){c=162;break a}c=3;if(!e|(e|0)>16){break a}k=j[b+8>>2];l=j[b>>2];if((e|0)>=1){i=j[a+528>>2];e=0;while(1){c=(d+80|0)+p(g,12)|0;j[b>>2]=j[c>>2];j[b+8>>2]=j[c+4>>2];qe[j[b+60>>2]](b,d+16|0,4,d+12|0);f=j[d+12>>2];b:{if(!g){c=3;if(f-1>>>0>3){break a}c=hk(a,j[d+76>>2],f);if(c){break a}i=j[a+528>>2];c=j[d+12>>2];e=f;break b}c=e;if((f|0)==(c|0)){break b}c=3;break a}if((c|0)>=1){f=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+p(c,12)|0;j[b>>2]=j[h>>2];j[b+8>>2]=j[h+4>>2];h=qe[j[b+40>>2]](b,0)|0;j[j[f+24>>2]+(c<<2)>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}}j[b+8>>2]=k;j[b>>2]=l;c=0}j[b+12>>2]=c;oe=d+272|0}function ND(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=oe-32|0;oe=e;g=j[a+28>>2];j[e+16>>2]=g;d=j[a+20>>2];j[e+28>>2]=c;j[e+24>>2]=b;b=d-g|0;j[e+20>>2]=b;g=b+c|0;k=2;b=e+16|0;a:{b:{f=W(j[a+60>>2],e+16|0,2,e+12|0)|0;d=0;c:{if(!f){break c}j[67100]=f;d=-1}d:{if(!d){while(1){d=j[e+12>>2];if((d|0)==(g|0)){break d}if((d|0)<=-1){break b}h=j[b+4>>2];f=h>>>0>>0;i=(f<<3)+b|0;h=d-(f?h:0)|0;j[i>>2]=h+j[i>>2];i=(f?12:4)+b|0;j[i>>2]=j[i>>2]-h;g=g-d|0;b=f?b+8|0:b;k=k-f|0;f=W(j[a+60>>2],b|0,k|0,e+12|0)|0;d=0;e:{if(!f){break e}j[67100]=f;d=-1}if(!d){continue}break}}if((g|0)!=-1){break b}}b=j[a+44>>2];j[a+28>>2]=b;j[a+20>>2]=b;j[a+16>>2]=b+j[a+48>>2];a=c;break a}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a>>2]=j[a>>2]|32;a=0;if((k|0)==2){break a}a=c-j[b+4>>2]|0}oe=e+32|0;return a|0}function oB(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=oe-48|0;oe=f;a:{b:{c:{switch(fB(f+8|0,c)|0){case 0:e=l[b+74>>1];if(e&32768){break a}if(!(e&2)){break b}if(!Ij(c,b+4|0,100)){i[b+74>>1]=e|32768;em(a,4318);break a}break b;case 1:i[b+74>>1]=l[b+74>>1]|32768;em(a,2779);break a;default:break c}}i[b+74>>1]=l[b+74>>1]|32768;Ye(a,2802);z()}a=j[c+4>>2];j[b+4>>2]=j[c>>2];j[b+8>>2]=a;a=j[c+28>>2];j[b+28>>2]=j[c+24>>2];j[b+32>>2]=a;a=j[c+20>>2];j[b+20>>2]=j[c+16>>2];j[b+24>>2]=a;a=j[c+12>>2];j[b+12>>2]=j[c+8>>2];j[b+16>>2]=a;a=f;d=j[a+12>>2];j[b+36>>2]=j[a+8>>2];j[b+40>>2]=d;d=j[a+20>>2];j[b+44>>2]=j[a+16>>2];j[b+48>>2]=d;d=j[a+28>>2];j[b+52>>2]=j[a+24>>2];j[b+56>>2]=d;d=j[a+36>>2];j[b+60>>2]=j[a+32>>2];j[b+64>>2]=d;j[b+68>>2]=j[a+40>>2];g=b,h=Ij(c,2984,1e3)?e|66:e&65469|2,i[g+74>>1]=h}oe=f+48|0}function St(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=q(0),l=0,m=0,p=q(0);a=oe-16|0;oe=a;b=1;a:{if(!(k[j[c+4>>2]+49|0]&32)){break a}i=n[c+16>>2];if(+K()==+i){break a}m=c,p=q(+K()),n[m+16>>2]=p;b=0}e=j[c+4>>2];if((j[e+48>>2]&4129)==32){d=+j[e+24>>2];o[a+8>>3]=d;f=+j[e+28>>2];o[a>>3]=f;if(j[c+20>>2]){H(j[c+12>>2],a+8|0,a|0)|0;f=o[a>>3];d=o[a+8>>3]}g=f;f=+n[c+16>>2];g=g*f;b:{if(r(g)<2147483648){e=~~g;break b}e=-2147483648}l=j[c+12>>2];d=d*f;c:{if(r(d)<2147483648){h=~~d;break c}h=-2147483648}J(l|0,h|0,e|0)|0;if(!(j[c+20>>2]|n[c+16>>2]==q(1))){Q(j[c+12>>2],+o[a+8>>3],+o[a>>3])|0}c=j[c+4>>2];if(!b){j[c+24>>2]=0;j[c+28>>2]=0}d=o[a>>3];d:{if(r(d)<2147483648){b=~~d;break d}b=-2147483648}d=o[a+8>>3];e:{if(r(d)<2147483648){e=~~d;break e}e=-2147483648}zf(c,5,e,b)}oe=a+16|0;return 0}function _L(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if(!b){return 1}f=a>>>16|0;a=a&65535;if(c){while(1){d=c>>>0<5552?c:5552;u=c-d|0;a:{if((d|0)>=16){while(1){c=k[b|0]+a|0;e=c+k[b+1|0]|0;g=e+k[b+2|0]|0;h=g+k[b+3|0]|0;i=h+k[b+4|0]|0;j=i+k[b+5|0]|0;l=j+k[b+6|0]|0;m=l+k[b+7|0]|0;n=m+k[b+8|0]|0;o=n+k[b+9|0]|0;p=o+k[b+10|0]|0;q=p+k[b+11|0]|0;r=q+k[b+12|0]|0;s=r+k[b+13|0]|0;t=s+k[b+14|0]|0;a=t+k[b+15|0]|0;f=a+(t+(s+(r+(q+(p+(o+(n+(m+(l+(j+(i+(h+(g+(e+(c+f|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;e=(d|0)>31;c=d-16|0;d=c;if(e){continue}break}if(!c){break a}}d=b;e=c;while(1){a=k[d|0]+a|0;f=f+a|0;d=d+1|0;e=e-1|0;if(e){continue}break}b=b+c|0}f=(f>>>0)%65521|0;a=(a>>>0)%65521|0;c=u;if(c){continue}break}}return f<<16|a}function Vh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=j[c+12>>2];d=j[b+120>>2];if(d){qe[d|0](j[b+116>>2])}while(1){d=j[b+84>>2];if(d){cs(d);continue}break}Fr(b+108|0,562,a,c);j[b+88>>2]=0;c=j[b+48>>2];if(c){qe[c|0](b)}if(j[b+36>>2]>=1){c=0;while(1){g=c<<2;d=j[g+j[b+40>>2]>>2];f=j[j[d>>2]+100>>2];h=j[j[d+12>>2]+8>>2];if(h){qe[h|0](d)}if(d){qe[j[f+8>>2]](f,d)}j[j[b+40>>2]+g>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}c=j[b+40>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+36>>2]=0;j[b+40>>2]=0;c=j[e+52>>2];if(c){qe[c|0](b)}c=j[b+104>>2];a:{if(!c){break a}d=j[c+28>>2];f=j[b+8>>2];b:{if(!c){break b}e=j[c+24>>2];if(!e){break b}qe[e|0](c)}if(f&1024){break a}if(c){qe[j[d+8>>2]](d,c)}}j[b+104>>2]=0;c=j[b+128>>2];if(c){if(c){qe[j[a+8>>2]](a,c)}j[b+128>>2]=0}if(b){qe[j[a+8>>2]](a,b)}}function VF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0;a:{h=j[a>>2];if((h|0)==1){break a}q=j[a+8>>2];l=j[q+4>>2];if((l|0)<1){break a}s=l+1|0;d=j[a+4>>2];k=(d+(h<<2)|0)-4|0;e=1;a=h;i=a;while(1){c=(h|0)/(a|0)|0;f=j[(s-m<<2)+q>>2];a=(a|0)/(f|0)|0;i=i-p(c,f-1|0)|0;o=1-e|0;b:{c:{d:{e:{switch(f-2|0){case 2:e=(i<<2)+k|0;g=c+i|0;f=(g<<2)+k|0;g=(c+g<<2)+k|0;if(o){Yp(c,a,d,b,e,f,g);break c}Yp(c,a,b,d,e,f,g);break d;case 0:e=(i<<2)+k|0;if(!o){Wp(c,a,b,d,e);break d}Wp(c,a,d,b,e);break c;default:break e}}g=p(a,c);r=(i<<2)+k|0;if(!((c|0)==1?e:o)){Vp(c,f,a,g,b,b,b,d,d,r);break c}Vp(c,f,a,g,d,d,d,b,b,r)}e=0;c=1;break b}e=1;c=0}m=m+1|0;if((l|0)!=(m|0)){continue}break}if(c^1|(h|0)<1){break a}a=0;while(1){c=a<<2;n[c+b>>2]=n[c+d>>2];a=a+1|0;if((h|0)!=(a|0)){continue}break}}}function CL(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){e=j[j[a+96>>2]+8>>2];j[a+20>>2]=0;j[a+24>>2]=0;d=j[a+100>>2];b=d;c=j[a+368>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+368>>2]=0;b=d;c=j[a+372>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+372>>2]=0;c=j[a+376>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+376>>2]=0;c=j[a+364>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+360>>2]=0;j[a+364>>2]=0;j[a+348>>2]=0;j[a+352>>2]=0;c=j[a+388>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+380>>2]=0;j[a+384>>2]=0;j[a+388>>2]=0;c=j[a+416>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+408>>2]=0;j[a+412>>2]=0;j[a+416>>2]=0;b=j[a+396>>2];if(b){qe[j[d+8>>2]](d,b)}j[a+392>>2]=0;j[a+396>>2]=0;b=j[a+424>>2];if(b){while(1){c=j[b>>2];if(b){qe[j[d+8>>2]](d,b)}b=c;if(b){continue}break}}j[a+428>>2]=0;j[a+420>>2]=0;j[a+424>>2]=0;b=j[a+32>>2];if(b){qe[j[e+8>>2]](e,b)}j[a+32>>2]=0}}function Wk(a,b,c,d){var e=0,f=0,g=0,i=0;e=j[c>>2];i=j[d>>2];a:{if(i>>>0>=b>>>0){break a}while(1){f=4;b:{c:{switch(h[a+i|0]-43|0){case 2:f=132;break b;case 3:f=16;break b;case 5:f=8;break b;case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:f=264;break b;case 0:break b;case 26:case 58:break c;default:break a}}f=32}d:{e:{switch((f&60|e&3)-4|0){case 0:if(e&60){break a}g=e|f;break d;case 12:if(e&16){break a}g=e|f;if(e&8){break d}g=e&448|f|1;break d;case 4:g=(e&16?e&384|17:e)|f|64;break d;case 28:if(!(e&8)){break a}g=e&448|2;break d;case 5:g=e|f|64;break d;case 29:if(!(e&8)){break a}g=e&448|2;break d;case 2:if(e&60){break a}g=e|4;break d;case 6:break e;default:break a}}g=e|72}e=g;i=i+1|0;if((i|0)!=(b|0)){continue}break}i=b}j[c>>2]=e;j[d>>2]=i;return e>>>3&1}function Fn(a){var b=0,c=0,d=0,e=0;Ke(a,j[a+492>>2]);j[a+492>>2]=0;b=j[a+496>>2];if(b){e=a;d=8-j[a+484>>2]|0;if((d|0)!=31){c=1;Ke(a,j[b>>2]);b=1<>2]+(c<<2)>>2]);c=c+1|0;if((b|0)!=(c|0)){continue}break}}b=j[a+496>>2]}Ke(e,b);j[a+496>>2]=0}Ke(a,j[a+500>>2]);j[a+500>>2]=0;Ke(a,j[a+504>>2]);j[a+504>>2]=0;b=j[a+508>>2];if(b){e=a;d=8-j[a+484>>2]|0;if((d|0)!=31){c=1;Ke(a,j[b>>2]);b=1<>2]+(c<<2)>>2]);c=c+1|0;if((b|0)!=(c|0)){continue}break}}b=j[a+508>>2]}Ke(e,b);j[a+508>>2]=0}b=j[a+512>>2];if(b){e=a;d=8-j[a+484>>2]|0;if((d|0)!=31){c=1;Ke(a,j[b>>2]);b=1<>2]+(c<<2)>>2]);c=c+1|0;if((b|0)!=(c|0)){continue}break}}b=j[a+512>>2]}Ke(e,b);j[a+512>>2]=0}}function mg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){break a}i=j[a>>2];if(!i){break a}f=j[a+36>>2];if((f|0)>=j[a+32>>2]){break a}d=j[a+16>>2];g=j[d+(f<<2)>>2];if(g&1024){j[a+36>>2]=f+1;b=a;c=j[a+348>>2];a=j[a+344>>2]+1|0;c=a>>>0<1?c+1|0:c;j[b+344>>2]=a;j[b+348>>2]=c;return-1}e=g&512;h=255;c=g&255;b:{if((c|0)!=255){h=c;break b}while(1){f=f+1|0;c=j[(f<<2)+d>>2];e=c&512?512:e;c=c&255;h=c+h|0;if((c|0)==255){continue}break}}c:{if(!b){e=j[a+344>>2];c=j[a+348>>2];g=j[a+12>>2];break c}j[b+8>>2]=g&256;j[b+12>>2]=e;g=j[a+12>>2];j[b>>2]=i+g;d=j[a+348>>2];c=d;e=j[a+344>>2];j[b+24>>2]=e;j[b+28>>2]=c;d=j[a+20>>2]+(f<<3)|0;i=j[d+4>>2];d=j[d>>2];j[b+4>>2]=h;j[b+16>>2]=d;j[b+20>>2]=i}d=e+1|0;c=d>>>0<1?c+1|0:c;j[a+344>>2]=d;j[a+348>>2]=c;e=1;j[a+36>>2]=f+1;j[a+12>>2]=g+h}return e}function Mn(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a:{b:{switch(d-1|0){case 0:d=h;h=h^255;a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];d=d+((p(h,c>>>24|0)>>>0)/255|0)<<24|((p(h,c&255)>>>0)/255|0)+g;b=((p(h,c>>>8&255)>>>0)/255|0)+f<<8;g=((p(h,c>>>16&255)>>>0)/255|0)+e<<16;break a;case 1:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=(c&255)+g|0;d=(b>>>0<255?b:255)|c&-16777216;b=(c>>>8&255)+f|0;b=(b>>>0<255?b:255)<<8;c=(c>>>16&255)+e|0;g=(c>>>0<255?c:255)<<16;break a;case 3:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];d=c&-16777216|(p(c&255,g)>>>0)/255;b=(p(c>>>8&255,f)>>>0)/255<<8;g=(p(c>>>16&255,e)>>>0)/255<<16;break a;default:break b}}d=f<<8|e<<16;a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;b=h<<24}j[a>>2]=d|g|b;return 0}function qL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;i=oe-16|0;oe=i;e=6;a:{if((b|0)<0|j[a+16>>2]<=(b|0)){break a}f=j[a+8>>2];e=j[a+4>>2]+d|0;b:{if(f>>>0>=e>>>0){break b}g=j[a>>2];k=c-g|0;n=(k|0)>-1&f>>>0>k>>>0;while(1){f=((f>>>2|0)+f|0)+1024&-1024;if(e>>>0>f>>>0){continue}break}l=j[a+32>>2];h=He(l,f,i+12|0);j[a>>2]=h;e=j[i+12>>2];if(e){j[a>>2]=g;break a}if(g){Ae(h,g,j[a+8>>2]);h=j[a+16>>2];if((h|0)>=1){o=j[a>>2]-g|0;e=j[a+24>>2];h=e+(h<<2)|0;while(1){m=j[e>>2];if(m){j[e>>2]=o+m}e=e+4|0;if(h>>>0>e>>>0){continue}break}}if(g){qe[j[l+8>>2]](l,g)}}j[a+8>>2]=f;e=n?k:-1;if((e|0)<0){break b}c=e+j[a>>2]|0}b=b<<2;e=j[a+4>>2];j[b+j[a+24>>2]>>2]=e+j[a>>2];j[b+j[a+28>>2]>>2]=d;Ae(e+j[a>>2]|0,c,d);j[a+4>>2]=j[a+4>>2]+d;e=0}oe=i+16|0;return e|0}function mC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=q(0),g=0,i=q(0);g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=g>>>5|0;if(e){d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=d;while(1){f=n[c+28>>2];i=q(n[c+24>>2]*q(.5));n[d>>2]=q(i+n[c>>2])/q(1.5);f=q(f*q(.5));n[d+4>>2]=q(f+n[c+4>>2])/q(1.5);n[d+8>>2]=n[c+8>>2]/q(1.5);n[d+12>>2]=n[c+12>>2]/q(1.5);n[d+16>>2]=q(i+n[c+16>>2])/q(1.5);n[d+20>>2]=q(f+n[c+20>>2])/q(1.5);d=d+24|0;c=c+32|0;e=e-1|0;if(e){continue}break}}c=p((g|0)/8|0,6);h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function bv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;c=j[a+12>>2];f=j[a+8>>2];a:{if((f|0)>=1){while(1){g=p(h,20)+c|0;if((g|0)==(b|0)){break a}d=j[g+4>>2];e=j[b+4>>2];b:{if((d|0)!=(e|0)){if(d-e|0){break b}break a}d=j[g+8>>2];e=j[b+8>>2];if((d|0)!=(e|0)){if(d-e|0){break b}break a}d=j[b>>2];e=d>>>8&255;i=j[g>>2];k=i>>>8&255;if((e|0)!=(k|0)){if(k-e|0){break b}break a}e=i>>>16&15;d=d>>>16&15;if((e|0)!=(d|0)){if(e-d|0){break b}break a}if(j[g+12>>2]==j[b+12>>2]){break a}}h=h+1|0;if((h|0)!=(f|0)){continue}break}}if(j[a+4>>2]==(f|0)){c=mf(c,p(f,20)+640|0);if(!c){return}j[a+12>>2]=c;j[a+4>>2]=j[a+4>>2]+32}c=p(f,20)+c|0;f=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=f;j[c+16>>2]=j[b+16>>2];f=j[b+12>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=f;b=j[a+8>>2]+1|0;j[a+8>>2]=b;en(j[a+12>>2],b)}}function rE(a){var b=0,c=0,d=0,e=0;b=oe-16|0;oe=b;e=(tP(a),oP(2));c=e&2147483647;a:{if(c>>>0<=1061752794){if(c>>>0<964689920){break a}a=$i(+a);break a}if(c>>>0<=1081824209){d=+a;if(c>>>0<=1075235811){if((e|0)<=-1){a=q(-qi(d+1.5707963267948966));break a}a=qi(d+ -1.5707963267948966);break a}a=$i(-(((e|0)>-1?-3.141592653589793:3.141592653589793)+d));break a}if(c>>>0<=1088565717){d=+a;if(c>>>0<=1085271519){if((e|0)<=-1){a=qi(d+4.71238898038469);break a}a=q(-qi(d+ -4.71238898038469));break a}a=$i(((e|0)>-1?-6.283185307179586:6.283185307179586)+d);break a}if(c>>>0>=2139095040){a=q(a-a);break a}b:{switch(nE(a,b+8|0)&3){case 0:a=$i(o[b+8>>3]);break a;case 1:a=qi(o[b+8>>3]);break a;case 2:a=$i(-o[b+8>>3]);break a;default:break b}}a=q(-qi(o[b+8>>3]))}oe=b+16|0;return a}function Zk(a){var b=0,c=0;if(!(j[a>>2]==268305?a:0)){ve(31725,0);return}ro(170,a);c=j[a+344>>2];b=a+348|0;a:{if(!c){break a}j[c+24>>2]=j[a+348>>2];b=a+340|0}b=j[b>>2];j[a+348>>2]=0;j[a+340>>2]=0;j[a+344>>2]=0;if(b){while(1){c=j[b+24>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}b=j[a+408>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+428>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}b=j[a+432>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}while(1){b=j[a+312>>2];if(b){lh(b);continue}break}b=j[a+188>>2];if(b){rj(b,31682,0)}j[a>>2]=0;b=j[a+320>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}j[a+320>>2]=0;qe[j[a+84>>2]](a)}function qq(a,b){var c=0,d=0,e=0,f=0;c=j[a+292>>2];e=j[a>>2];d=Xl(c,e,a);if(!d){h[c+561|0]=b;h[c+488|0]=0;j[c+16>>2]=0;j[c+428>>2]=0;f=j[e+640>>2];b=j[e+636>>2];j[c+460>>2]=0;j[c+464>>2]=0;j[c+456>>2]=b;j[c+452>>2]=f;d=0;if(b){j[c+364>>2]=b;j[c+356>>2]=f;j[c+360>>2]=0;j[c+352>>2]=2;d=qe[j[e+652>>2]](c)|0}j[a+300>>2]=d;i[c+300>>1]=0;i[c+292>>1]=0;i[c+294>>1]=16384;i[c+296>>1]=0;i[c+298>>1]=16384;j[c+284>>2]=0;j[c+288>>2]=1073741824;i[c+348>>1]=1;j[c+344>>2]=65537;j[c+304>>2]=1;Ae(a+172|0,c+284|0,68);j[a+116>>2]=j[c+396>>2];j[a+128>>2]=j[c+408>>2];j[a+140>>2]=j[c+420>>2];j[a+144>>2]=j[c+424>>2];b=j[c+448>>2];j[a+148>>2]=j[c+444>>2];j[a+152>>2]=b;b=j[c+456>>2];j[a+156>>2]=j[c+452>>2];j[a+160>>2]=b;b=j[c+464>>2];j[a+164>>2]=j[c+460>>2];j[a+168>>2]=b}return d}function Qn(a,b,c,d,e,f,g,h){var i=0,l=0;a:{b:{if(!b){i=3680;break b}i=3736;if((b|0)<=-1){Ze(a,3708);l=1}else{l=0}if((b+7&-8)>>>0<536870905){break a}}Ze(a,i);l=1}i=l;if(m[a+748>>2]>>0){Ze(a,3783);i=1}b=a;c:{if(c){if((c|0)>-1){break c}l=3851}else{l=3822}Ze(b,l);i=1}if(m[a+752>>2]>>0){Ze(a,3880);i=1}if(!(1<>>0<=16:0)){Ze(a,3920);i=1}b=e&-5;if(!((b|0)!=1?e>>>0<=6:0)){Ze(a,3946);i=1}if(!(!((e|0)==4|(b|0)==2)|(d|0)>7?!((e|0)==3?(d|0)>=9:0):0)){Ze(a,3973);i=1}if((f|0)>=2){Ze(a,4022);i=1}if(g){Ze(a,4055);i=1}if(!(!(k[a+209|0]&16)|!j[a+708>>2])){Ze(a,4090)}d:{e:{f:{if(!h){break f}if(!(!(j[a+708>>2]&4)|(h|0)!=64|(b|0)!=2)){if(!(j[a+208>>2]&4096)){break f}}Ze(a,4139);if(!(k[a+209|0]&16)){break e}Ze(a,4169);break e}if(!i){break d}}Ye(a,4199);z()}}function Mo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=65533;f=j[b>>2];a:{if(!f){break a}b:{c:{d:{g=j[a>>2];d=k[g|0];e:{if(d>>>0>=252){c=65533;if((d&254)!=252){break e}e=5;c=1;break d}if(d>>>0>=248){c=65533;if((d&252)!=248){break e}e=4;c=3;break d}if(d>>>0>=240){c=65533;if((d&248)!=240){break e}e=3;c=7;break d}if(d>>>0>=224){c=65533;if((d&240)!=224){break e}e=2;c=15;break d}if(d>>>0>=192){c=65533;if((d&224)!=192){break e}e=1;c=31;break d}c=d&128?65533:d}j[a>>2]=g+1;j[b>>2]=f-1;break c}i=g+1|0;j[a>>2]=i;h=f-1|0;j[b>>2]=h;c=c&d;while(1){if(!h){break b}f=k[g+1|0];if((f&192)!=128){break b}g=g+1|0;i=i+1|0;j[a>>2]=i;h=h-1|0;j[b>>2]=h;c=f&63|c<<6;e=e-1|0;if(e){continue}break}}if((c&-2)==65534|c>>>0>1114111){break b}if((c&-2048)!=55296){break a}}c=65533}return c}function Am(a,b,c,d){var e=0;a:{b:{c:{d:{e:{if(j[a+684>>2]){if(!Nr(a,c)){c=1;break a}e=qe[j[a+684>>2]](a,a+764|0)|0;if((e|0)<=-1){break d}c=0;if(e){break a}if((d|0)>1){break e}if(j[a+688>>2]>1){break c}yi(a,6504);tq(a,6526);break c}f:{g:{h:{d=d?d:j[a+688>>2];switch(d-2|0){case 1:break g;case 0:break h;default:break f}}if(!(k[a+379|0]&32)){break f}}if(Nr(a,c)){break e}c=1;break a}Ie(a,c)}c=1;switch(d-2|0){case 1:break b;case 0:break c;default:break a}}hf(a,6484);z()}c=1;if(!(k[a+379|0]&32)){break a}}i:{j:{k:{d=j[a+756>>2];switch(d|0){case 1:break a;case 0:break i;case 2:break k;default:break j}}j[a+756>>2]=1;Je(a,6352);break a}j[a+756>>2]=d-1}Fu(a,b,a+764|0);c=0}b=j[a+772>>2];if(b){Ke(a,b)}j[a+772>>2]=0;if(!(k[a+379|0]&32?0:c)){return}hf(a,6602);z()}function CA(){var a=0,b=0,c=0,d=0;a:{if(!Vi(512)){break a}if(k[268300]){if(!j[67073]){break a}return}h[268300]=1;a=j[67074];if(a){while(1){b:{if(!j[a+60>>2]){break b}b=j[a+80>>2];if(b){qe[j[b+36>>2]](a)}if(!j[a+68>>2]){break b}MA(a)}if(j[a+72>>2]){c=j[a+28>>2];if((c|0)>=1){b=0;while(1){d=j[a+32>>2]+(b<<4)|0;if(j[d+8>>2]){dl(a,b&255,i[d+4>>1]);c=j[a+28>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}b=0;if(j[a+52>>2]>0){while(1){co(a,b&255,0);b=b+1|0;if((b|0)>2]){continue}break}}b=0;if(j[a+36>>2]>0){while(1){DA(a,b&255);b=b+1|0;if((b|0)>2]){continue}break}}j[a+72>>2]=0}a=j[a+92>>2];if(a){continue}break}}h[268300]=0;a=j[67074];if(a){while(1){if(j[a+88>>2]<=0){el(a)}a=j[a+92>>2];if(a){continue}break}}qe[j[58772]]();if(!j[67073]){break a}}}function dl(a,b,c){var d=0,e=0,f=0,g=0;f=oe+ -64|0;oe=f;a:{if(j[a+28>>2]<=(b|0)){break a}e=j[a+32>>2];d=e+(b<<4)|0;if(!j[d+8>>2]){i[d+4>>1]=c;i[d+2>>1]=c;i[d>>1]=c;j[d+8>>2]=1;break a}d=l[d+2>>1];if((d|0)==(c&65535)){break a}if(!j[(e+(b<<4)|0)+12>>2]){e=c-(d<<16>>16)|0;d=e>>31;if((d^d+e)<410){break a}d=j[a+32>>2]+(b<<4)|0;i[d+2>>1]=c;j[d+12>>2]=1;dl(a,b,i[d>>1])}b:{if(k[268304]){break b}e=j[66371];d=j[67085];if(d){d=j[d+308>>2]!=0}else{d=0}if(e|!d){break b}d=j[a+32>>2];e=d+(b<<4)|0;g=i[e+4>>1];if(i[e+2>>1]<=(c|0)?(g|0)<(c|0):0){break a}if((c|0)>=(g|0)){break b}if(i[(d+(b<<4)|0)+2>>1]>=(c|0)){break a}}i[(j[a+32>>2]+(b<<4)|0)+2>>1]=c;if((We(1536,-1)|0)!=1){break a}j[f+8>>2]=1536;a=j[a>>2];i[f+24>>1]=c;h[f+20|0]=b;j[f+16>>2]=a;gf(f+8|0)}oe=f- -64|0}function Ul(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if(b>>>0>c>>>0){break a}f=j[a+12>>2];if(f>>>0<=d>>>0|e>>>0>=f>>>0){break a}g=j[a+8>>2];f=j[g+(d<<3)>>2];g=j[g+(e<<3)>>2];b:{if((f|0)<=(g|0)){i=g;g=f;f=e;e=d;break b}i=f;f=d}k=j[a+4>>2];f=f<<3;h=j[k+f>>2];d=j[a>>2];m=j[f+d>>2];o=h-m|0;e=e<<3;l=j[e+k>>2];n=j[d+e>>2];p=l-n|0;if(!((g|0)==(i|0)|(h|0)==(l|0))){q=i-g|0;e=h-l|0;i=0;f=0;while(1){h=b<<3;d=j[h+d>>2];c:{if((d|0)<=(n|0)){d=d+p|0;break c}if((d|0)>=(m|0)){d=d+o|0;break c}if(!(i&255)){f=De(e,q)}d=ye(j[j[a+8>>2]+h>>2]-g|0,f)+l|0;k=j[a+4>>2];i=1}j[h+k>>2]=d;b=b+1|0;if(c>>>0>>0){break a}d=j[a>>2];continue}}while(1){a=b<<3;e=j[a+d>>2];j[a+k>>2]=(e|0)>(n|0)?(e|0)<(m|0)?l:e+o|0:e+p|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function Hf(a,b,c,d,e){var f=0,g=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;f=oe-240|0;oe=f;if(b){i[b+74>>1]=l[b+74>>1]|32768}g=Yf(f+32|0,196,0,4346);j=Yf(f+32|0,196,Yf(f+32|0,g+79|0,g,c),4356);q=f+32|0;a:{b:{g=d>>>24|0;if(g-48>>>0>9?!((g&223)-65>>>0<26|(g|0)==32):0){break b}k=d>>>16|0;m=k&255;if(m-48>>>0>9?!((m|0)==32|(k&223)-65>>>0<26):0){break b}n=d>>>8|0;o=n&255;if(o-48>>>0>9?!((o|0)==32|(n&223)-65>>>0<26):0){break b}p=d&255;if(p-48>>>0>9?!((p|0)==32|(d&223)-65>>>0<26):0){break b}c=(f+32|0)+j|0;h[c+5|0]=39;h[c+6|0]=58;h[c|0]=39;h[c+7|0]=32;h[c+4|0]=p-32>>>0<95?d:63;h[c+3|0]=o-32>>>0<95?n:63;h[c+2|0]=m-32>>>0<95?k:63;h[c+1|0]=g-32>>>0<95?g:63;c=j+8|0;break a}c=Yf(f+32|0,196,Yf(f+32|0,196,j,tJ(f,f+24|0,d)),4360)}Yf(q,196,c,e);Pf(a,f+32|0,b?2:1);oe=f+240|0}function Mz(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0;if(!a){ve(44281,0);return}i=j[a+4>>2];l=k[i+8|0];if(l>>>0<=7){ve(44313,0);return}m=j[a+36>>2];a:{if((m|0)>(b|0)){break a}n=j[a+40>>2];if((j[a+44>>2]+m|0)<=(b|0)|(n|0)>(c|0)|(j[a+48>>2]+n|0)<=(c|0)){break a}if(d-1>>>0<=1){g=(p(g,h)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;e=(p(e,h)>>>0)/255|0}b:{c:{switch(l-15|0){case 0:if(j[i+12>>2]!=31744){break b}Pn(a,b,c,d,e&255,f&255,g&255,h);return;case 1:if(j[i+12>>2]!=63488){break b}On(a,b,c,d,e&255,f&255,g&255,h);return;case 17:break c;default:break b}}if(j[i+12>>2]!=16711680){break b}if(!j[i+24>>2]){Nn(a,b,c,d,e&255,f&255,g&255,h);return}Mn(a,b,c,d,e&255,f&255,g&255,h);return}if(!j[i+24>>2]){Ln(a,b,c,d,e&255,f&255,g&255,h);return}Kn(a,b,c,d,e&255,f&255,g&255,h)}}function pk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 0}b=j[a+4>>2];c=j[a>>2];if(!c){a=b>>31;return a+b^a}a=c>>31;a=a+c^a;if(b){d=a;a=b>>31;g=d|a+b^a;f=s(g);h=f-2|0;a:{if(g>>>0<=1073741823){a=b<>b;b=c>>b}c=0-b|0;b:{if((a|0)>(b|0)){d=(a|0)>(c|0);b=d?c:0-a|0;c=d?a:c;break b}d=(a|0)<(c|0);c=d?0-a|0:b;b=d?b:a}a=1;d=1;while(1){e=a+b>>d;c:{if((b|0)>=1){b=b-(a+c>>d)|0;c=c+e|0;break c}b=(a+c>>d)+b|0;c=c-e|0}a=a<<1;d=d+1|0;if((d|0)!=23){continue}break}a=c>>31;b=a+c^a;d=b&65535;a=p(d,56281);e=b>>>16|0;b=a+p(e,23318)|0;i=b<<16;d=i+p(d,23318)|0;a=(((p(e,56281)+(b>>>16|0)|0)+((a>>>0>b>>>0)<<16)|0)+(d>>>0>>0)|0)+(d>>>0>3221225471)|0;a=(c|0)<0?0-a|0:a;if(g>>>0<=536870911){return a+(1<>h}a=a<<2-f}return a}function df(a,b,c){var d=0,e=0,f=0;a:{b:{if(c>>>0>32){break b}d=j[a+12>>2];e=j[a+16>>2];if(j[a>>2]>=(e-4|0)){if(!d){break a}if((e|0)>2147483391){break b}d=Vf(j[a+8>>2],e+256|0);if(!d){break b}j[a+8>>2]=d;j[a+16>>2]=j[a+16>>2]+256;d=d+j[a>>2]|0;j[a+12>>2]=d}e=d;f=k[d|0];d=j[(c<<2)+223632>>2]&b;b=j[a+4>>2];h[e|0]=f|d<>2]+1|0]=d>>>8-j[a+4>>2];if((b|0)<16){break c}h[j[a+12>>2]+2|0]=d>>>16-j[a+4>>2];if((b|0)<24){break c}h[j[a+12>>2]+3|0]=d>>>24-j[a+4>>2];if((b|0)<32){break c}c=j[a+4>>2];if(c){h[j[a+12>>2]+4|0]=d>>>32-c;break c}h[j[a+12>>2]+4|0]=0}j[a+4>>2]=b&7;b=(b|0)/8|0;j[a>>2]=b+j[a>>2];j[a+12>>2]=b+j[a+12>>2];return}b=j[a+8>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function Lz(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;if(!a){ve(44281,0);return}i=j[a+4>>2];l=k[i+8|0];if(l>>>0<=7){ve(44358,0);return}if(d-1>>>0<=1){g=(p(g,h)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;e=(p(e,h)>>>0)/255|0}a:{b:{c:{switch(l-15|0){case 0:l=193;if(j[i+12>>2]!=31744){break b}break a;case 17:if(j[i+12>>2]!=16711680){break b}l=j[i+24>>2]?194:195;break a;case 1:break c;default:break b}}l=196;if(j[i+12>>2]==63488){break a}}l=j[i+24>>2]?197:198}if((c|0)>=1){i=j[a+40>>2];n=i+j[a+48>>2]|0;m=j[a+36>>2];o=m+j[a+44>>2]|0;q=g&255;r=f&255;s=e&255;e=0;while(1){g=(e<<3)+b|0;f=j[g+4>>2];d:{if((f|0)>=(n|0)){break d}g=j[g>>2];if((g|0)<(m|0)|(g|0)>=(o|0)|(f|0)<(i|0)){break d}qe[l|0](a,g,f,d,s,r,q,h)|0}e=e+1|0;if((e|0)!=(c|0)){continue}break}}}function rq(a){var b=0,c=0,d=0,e=0,f=0;c=j[j[a>>2]+100>>2];b=j[a+292>>2];if(b){j[b+440>>2]=0;e=j[b+8>>2];d=e;f=j[b+24>>2];if(f){qe[j[d+8>>2]](d,f)}j[b+20>>2]=0;j[b+24>>2]=0;d=j[b+436>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+436>>2]=0;j[b+428>>2]=0;j[b+432>>2]=0;d=j[b+392>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+388>>2]=0;j[b+392>>2]=0;j[b>>2]=0;j[b+4>>2]=0;if(b){qe[j[e+8>>2]](e,b)}j[a+292>>2]=0}b=j[a+244>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+240>>2]=0;j[a+244>>2]=0;b=j[a+252>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+248>>1]=0;j[a+252>>2]=0;Yl(a+256|0);b=j[a+124>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+124>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+128>>2]=0;j[a+132>>2]=0;j[a+116>>2]=0;j[a+120>>2]=0;j[a+136>>2]=0;j[a+140>>2]=0;j[a+144>>2]=0;j[a+296>>2]=-1;j[a+300>>2]=-1}function hO(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0;e=oe-32|0;oe=e;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ie(a,c);Je(a,6352);break a}e:{d=j[a+208>>2];if(d&1){if(d&4){j[a+208>>2]=d|8}f=c+1|0;d=j[a+788>>2];f:{if(d){if(f>>>0<=m[a+792>>2]){break f}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,d)}d=$f(a,f);if(!d){break e}j[a+792>>2]=f;j[a+788>>2]=d}pf(a,d,c);tf(a,d,c);if(Ie(a,0)){break a}g=c+d|0;h[g|0]=0;c=d;while(1){f=c;c=c+1|0;if(k[f|0]){continue}break}j[e+24>>2]=0;j[e+4>>2]=d;j[e>>2]=-1;j[e+16>>2]=0;j[e+20>>2]=0;c=(f|0)==(g|0)?f:c;j[e+8>>2]=c;i=e,l=Le(c),j[i+12>>2]=l;if(!Fk(a,b,e)){break a}Ze(a,6376);break a}hf(a,5795);z()}yi(a,7196);Je(a,5965)}oe=e+32|0}function tA(a){var b=0,c=0;if(!(j[a>>2]==268305?a:0)){ve(31725,0);return}a:{b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break a}b=Xe(1,28);if(b){break a}Be(0);return}c=j[a+344>>2];j[(c?c+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){return}j[b>>2]=4;j[b+4>>2]=0;h[b+8|0]=k[a+324|0];h[b+9|0]=k[a+325|0];h[b+10|0]=k[a+326|0];h[b+11|0]=k[a+327|0];b:{if(j[a+336>>2]){break b}c=j[a+340>>2];if(!c){break b}b=a+420|0;qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[b+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;c=j[a+344>>2];if(c){j[c+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}}function lE(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;rP(+a);b=oP(1)|0;e=oP(0)|0;a:{b:{c:{d:{if((b|0)>0?1:(b|0)>=0){f=b;if(b>>>0>1048575){break d}}if(!(b&2147483647|e)){return-1/(a*a)}if((b|0)>-1){break c}return(a-a)/0}if(f>>>0>2146435071){break a}b=1072693248;g=-1023;if((f|0)!=1072693248){b=f;break b}if(e){break b}return 0}rP(+(a*0x40000000000000));b=oP(1)|0;e=oP(0)|0;g=-1077}b=b+614242|0;d=+((b>>>20|0)+g|0);pP(0,e|0);pP(1,(b&1048575)+1072079006|0);a=+qP()+ -1;c=a/(a+2);h=d*.6931471803691238;i=a;j=d*1.9082149292705877e-10;k=c;d=a*(a*.5);c=c*c;a=c*c;a=h+(i+(j+k*(d+(a*(a*(a*.15313837699209373+.22222198432149784)+.3999999999940942)+c*(a*(a*(a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))-d))}return a}function Rg(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;a:{b:{if(c-2>>>0>34){break b}d=j[a>>2];if(d>>>0>=b>>>0){break b}c:{d:{e=k[d|0];switch(e-43|0){case 0:case 2:break d;default:break c}}d=d+1|0;if((d|0)==(b|0)){break a}n=(e|0)==45}i=2147483647/(c>>>0)|0;e:{f:{if(b>>>0<=d>>>0){j[a>>2]=d;e=0;break f}o=2147483647-p(c,i)|0;g:{while(1){m=l;e=f;h:{f=k[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break g;default:break h}}if(f<<24>>24<0){break g}f=h[f+92064|0];if((f|0)<0|(c|0)<=(f|0)){break g}l=1;g=e;i:{if((e|0)>(i|0)){break i}if((e|0)==(i|0)){g=i;if((f|0)>(o|0)){break i}}l=m;g=f+p(c,e)|0}f=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}m=l;e=f;d=b}j[a>>2]=d;a=2147483647;if(m&255){break e}}a=e}e=n?0-a|0:a}return e}return 0}function Ls(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=oe-1440|0;oe=f;a=j[a+84>>2];aa()|0;a:{if(!a){break a}if($(j[a>>2],f+8|0)|0){break a}d=o[f+8>>3];if(d==o[a+32>>3]?d!=0:0){break a}e=j[a+20>>2];if((e|0)>=1){while(1){b=c<<2;h=(b+a|0)+1064|0;g=j[h>>2];b=(b+f|0)+1048|0;i=j[b>>2];if((g|0)!=(i|0)){co(j[a+16>>2],c&255,(i|0)!=0);g=j[b>>2];e=j[a+20>>2]}b=c<<3;o[(b+a|0)+552>>3]=o[(b+f|0)+536>>3];j[h>>2]=g;c=c+1|0;if((e|0)>(c|0)){continue}break}}e=j[a+24>>2];if((e|0)>=1){c=0;while(1){b=c<<3;g=b+a|0;b=b+f|0;d=o[b+24>>3];if(d!=o[g+40>>3]){h=j[a+16>>2];i=c&255;d=d*32767;b:{if(r(d)<2147483648){e=~~d;break b}e=-2147483648}dl(h,i,e);d=o[b+24>>3];e=j[a+24>>2]}o[g+40>>3]=d;c=c+1|0;if((e|0)>(c|0)){continue}break}}o[a+32>>3]=o[f+8>>3]}oe=f+1440|0}function At(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;e=j[a+40>>2];f=j[a+44>>2];a:{if(!(j[a- -64>>2]?0:j[a+60>>2])){Nj(j[a+52>>2]);break a}h[d+15|0]=0;h[d+13|0]=105;h[d+14|0]=105;b=k[a+10|0];c=j[a+16>>2];j[d>>2]=j[a+72>>2];j[d+4>>2]=(c>>>2>>>0)/(b>>>0);E(66918,d+13|0,d|0)|0;b=j[a+52>>2];if(!b){qe[f|0](j[a+48>>2],j[a+72>>2],e);break a}if((gi(b,j[a+72>>2],j[a+16>>2])|0)==-1){j[a+60>>2]=0}c=j[a+52>>2];b=0;b:{if(!c){break b}c=j[c+168>>2];b=0;c:{if(!c){break c}b=j[c+16>>2]}}if((b|0)<(e|0)){break a}while(1){if((Hh(j[a+52>>2],j[a+72>>2],e)|0)!=(e|0)){Oe(j[a+72>>2],k[a+35|0],e)}qe[f|0](j[a+48>>2],j[a+72>>2],e);c=j[a+52>>2];b=0;d:{if(!c){break d}c=j[c+168>>2];b=0;e:{if(!c){break e}b=j[c+16>>2]}}if((b|0)>=(e|0)){continue}break}}oe=d+16|0}function fC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0),l=q(0),m=q(0),o=0,r=0;c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);f=(p(c,3)|0)/2|0;g=c>>>4|0;if(g){d=c;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);d=d+c|0;e=c+f|0;while(1){i=n[d-12>>2];c=d-16|0;l=n[c>>2];d=d-8|0;o=j[d+4>>2];r=j[d>>2];j[e-12>>2]=0;d=e-8|0;j[d>>2]=r;j[d+4>>2]=o;m=q(q(l+i)*q(.5));n[e-16>>2]=m;n[e-20>>2]=i+q(i-m);e=e-24|0;n[e>>2]=l+q(l-m);d=c;g=g-1|0;if(g){continue}break}}h[a+24|0]=f;h[a+25|0]=f>>>8;h[a+26|0]=f>>>16;h[a+27|0]=f>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function QB(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,i=0;e=a;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);f=b>>>2|0;if(f){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);g=b;while(1){i=g;c=n[b>>2];d=127;a:{if(c>=q(1)){break a}d=128;if(c<=q(-1)){break a}c=q(c*q(127));if(q(r(c))>>8;h[e+26|0]=b>>>16;h[e+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,32776)}}function yg(a,b,c){var d=0;a:{if((a|0)==(b|0)){break a}if((b-a|0)-c>>>0<=0-(c<<1)>>>0){return Ae(a,b,c)}d=(a^b)&3;b:{c:{if(a>>>0>>0){if(d){d=a;break b}if(!(a&3)){d=a;break c}d=a;while(1){if(!c){break a}h[d|0]=k[b|0];b=b+1|0;c=c-1|0;d=d+1|0;if(d&3){continue}break}break c}d:{if(d){break d}if(a+c&3){while(1){if(!c){break a}c=c-1|0;d=c+a|0;h[d|0]=k[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break d}while(1){c=c-4|0;j[c+a>>2]=j[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c-1|0;h[c+a|0]=k[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break b}while(1){j[d>>2]=j[b>>2];b=b+4|0;d=d+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}while(1){h[d|0]=k[b|0];d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}return a}function PB(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,i=0;e=a;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);f=b>>>2|0;if(f){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);g=b;while(1){i=g;c=n[b>>2];d=255;a:{if(c>=q(1)){break a}d=0;if(c<=q(-1)){break a}c=q(q(c+q(1))*q(127));if(c=q(0)){d=~~c>>>0;break a}d=0}h[i|0]=d;g=g+1|0;b=b+4|0;f=f-1|0;if(f){continue}break}b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24)}b=(b|0)/4|0;h[e+24|0]=b;h[e+25|0]=b>>>8;h[e+26|0]=b>>>16;h[e+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,8)}}function vr(a,b,c,d,e,f,g){var h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0;j[d>>2]=0;if(!(!(e|f)|(a|0)<655)){q=d;r=(e|0)/2|0;if(f){o=j[g+28>>2];i=j[g+20>>2];h=j[g+16>>2];k=j[g+12>>2];l=j[g+8>>2];m=j[g+4>>2];p=j[g>>2];t=d;n=j[g+24>>2];f=n<<16;d=ye(c+e|0,a);if((62-(s(b)+s(d)|0)|0)<46){f=ye(d,b)}c=f;e=p<<16;a:{if((c|0)<(e|0)){b=De(m<<16,b);break a}b:{c:{d:{g=l<<16;e:{if((g|0)>(c|0)){e=De(e,b);c=l-p|0;if(!c){break e}b=Ne(d-e|0,k-m|0,c)+De(m<<16,b)|0;break a}f=h<<16;if((c|0)>=(f|0)){break d}}e=De(g,b);c=h-l|0;if(!c){f=h<<16;break c}b=Ne(d-e|0,i-k|0,c)+De(k<<16,b)|0;break a}if((c|0)>=n<<16){break b}}e=De(f,b);c=n-h|0;if(!c){break b}b=Ne(d-e|0,o-i|0,c)+De(i<<16,b)|0;break a}b=De(o<<16,b)}j[t>>2]=b;a=De(b,a<<1)}else{a=0}j[q>>2]=r+a}}function Ct(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,m=0,n=0;e=oe+ -64|0;oe=e;h[e+62|0]=105;h[e+63|0]=0;j[e+32>>2]=d;a:{if((E(64233,e+62|0,e+32|0)|0)<=-1){b=ve(64726,0);break a}b:{b=sC(l[a+8>>1]);if(b){g=a+4|0;while(1){c=b;f=(b&65535)!=33056;if(!f){i[a+8>>1]=33056}b=rC();if(f?b:0){continue}break}if((c&65535)==33056){break b}}b=ve(64758,0);break a}j[a+96>>2]=1;b=0;h[e+61|0]=0;m=a,n=E(64786,e+61|0,0)|0,j[m+4>>2]=n;qC(g);if(d){h[e+60|0]=0;j[e+56>>2]=1768515945;c=k[a+10|0];d=l[a+12>>1];j[e+28>>2]=a;j[e+24>>2]=502;j[e+20>>2]=d;j[e+16>>2]=c;E(64856,e+56|0,e+16|0)|0;break a}h[e+52|0]=0;j[e+48>>2]=1768515945;c=k[a+10|0];d=l[a+12>>1];j[e+12>>2]=a;j[e+8>>2]=503;j[e+4>>2]=d;j[e>>2]=c;E(66508,e+48|0,e|0)|0}oe=e- -64|0;return b|0}function el(a){var b=0,c=0,d=0;if(!a){ve(31395,0);return}b=j[a+88>>2];j[a+88>>2]=b-1;a:{if((b|0)>=2){if(!j[67073]){break a}return}if(k[268300]){if(!j[67073]){break a}return}qe[j[j[a+80>>2]+40>>2]](a);j[a+84>>2]=0;b=j[67074];b:{if(!b){break b}if((a|0)!=(b|0)){while(1){c=j[b+92>>2];if(!c){break b}d=b;b=c;if((b|0)!=(a|0)){continue}break}}b=j[a+92>>2];if(d){j[d+92>>2]=b;break b}j[67074]=b}b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+32>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+40>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+48>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+56>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(!j[67073]){break a}}}function Gp(a){var b=0,c=0,d=0;if(a){b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}b=j[a+24>>2];if(b){ze(b)}b=j[a+8>>2];if(b){while(1){d=b;b=c<<2;ze(j[j[d+b>>2]>>2]);ze(j[j[b+j[a+8>>2]>>2]+4>>2]);ze(j[j[b+j[a+8>>2]>>2]+8>>2]);ze(j[j[b+j[a+8>>2]>>2]+12>>2]);ze(j[j[b+j[a+8>>2]>>2]+16>>2]);ze(j[j[b+j[a+8>>2]>>2]+20>>2]);ze(j[j[b+j[a+8>>2]>>2]+24>>2]);ze(j[j[b+j[a+8>>2]>>2]+28>>2]);ze(j[b+j[a+8>>2]>>2]);c=c+1|0;if((c|0)!=17){b=j[a+8>>2];continue}break}ze(j[a+8>>2])}b=j[a+12>>2];if(b){ze(j[b>>2]);ze(j[j[a+12>>2]+4>>2]);ze(j[j[a+12>>2]+8>>2]);ze(j[a+12>>2])}j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function Gh(a,b,c,d){var e=0,f=0,g=0,h=0;f=oe-16|0;oe=f;a:{b:{if(!a|k[a+49|0]&64){break b}Wg(a,f+12|0,f+8|0);if(j[f+8>>2]>(c|0)?!((b|c)<0|j[f+12>>2]<=(b|0)):0){break b}if(j[67024]!=(a|0)){break a}if(d){Fh(a,j[67023],0,b,c);a=j[67024];if(!a){break a}}zf(a,11,0,0);j[67034]=0;j[67024]=0;a=j[67015];b=j[67049];if(!(j[67035]|(!b|!j[67051]))){if(!a){break a}qe[a|0](b)|0;break a}if(!a){break a}qe[a|0](0)|0;break a}h=1;e=j[67024];if((e|0)==(a|0)){break a}if(e){zf(e,11,0,0)}j[67024]=a;j[67034]=0;c:{if(a){zf(a,10,0,0);g=268200;if(j[67024]){break c}}g=268196}e=j[67015];g=j[g>>2];d:{if(!(j[67035]|(!g|!j[67051]))){if(!e){break d}qe[e|0](g)|0;break d}if(!e){break d}qe[e|0](0)|0}if(!d){break a}Fh(a,j[67023],0,b,c)}oe=f+16|0;return h}function uv(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,m=0,n=0,o=0,q=0,r=0;i=1;f=1;if(k[c|0]&2){e=Eg(c);i=e>>>31|0;f=(e^-1)>>>31|0}a:{b:{e=k[a|0]&2;if(!e){break b}if((Eg(a)|0)>=0){break b}m=1;f=-1;break a}m=!e;if(!f){f=-1;break a}f=0;if(!b){break a}g=j[b+8>>2];if((g|0)<1){break a}n=j[b+12>>2];if((n|0)<1){break a}e=j[a+52>>2];h=k[j[e+56>>2]+9|0];o=l[b>>1];q=j[a+20>>2];r=l[b+4>>1];b=j[a+16>>2];j[e+28>>2]=b;j[e+24>>2]=n;j[e+20>>2]=g;j[e+32>>2]=b-p(g,h);j[e+16>>2]=(p(b,r)+q|0)+p(h,o);b=j[c+16>>2];g=k[j[e+60>>2]+9|0];j[e+36>>2]=(j[c+20>>2]+p(b,l[d+4>>1])|0)+p(g,l[d>>1]);h=j[d+8>>2];j[e+40>>2]=h;j[e+44>>2]=j[d+12>>2];j[e+52>>2]=b-p(g,h);j[e+48>>2]=b;qe[j[e+12>>2]](e+16|0)}if(!i){jg(c)}if(!m){jg(a)}return f|0}function PE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=q(0);e=a+4|0;c=j[b+20>>2];g=Ce(e,j[c+12>>2]);a:{if((g|0)<1){break a}i=j[c+12>>2];k=j[c+16>>2];d=j[c+20>>2];d=Ce(e,d?32-s(d)|0:0);if((d|0)==-1|(d|0)>=j[c+20>>2]){break a}d=j[j[j[j[a+64>>2]+4>>2]+28>>2]+2848>>2]+p(j[(c+(d<<2)|0)+24>>2],56)|0;c=Ef(a,(j[d>>2]+j[b+4>>2]<<2)+4|0);if((RF(d,c,e,j[b+4>>2])|0)==-1){break a}e=j[b+4>>2];if((e|0)>=1){a=0;while(1){b:{if((a|0)>=(e|0)){break b}l=e-a|0;b=0;f=j[d>>2];f=((f|0)>0?f:0)+a|0;while(1){if((a|0)==(f|0)){a=f;break b}h=c+(a<<2)|0;n[h>>2]=m+n[h>>2];a=a+1|0;b=b+1|0;if((l|0)!=(b|0)){continue}break}}m=n[(c+(a<<2)|0)-4>>2];if((a|0)<(e|0)){continue}break}}n[c+(e<<2)>>2]=q(q(g|0)/q(-1<>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];m=(j[a+4>>2]<<16)/(f|0)|0;n=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];l=d>>>8|0;o=c,q=l&255|(lP(d,24)&-65536|l&65280),j[o>>2]=q;c=c+4|0;b=b+m|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+n|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function bn(a,b){var c=0,d=0,e=0;c=j[j[67085]+288>>2];if(c){d=a;if((We(4096,-1)|0)!=1){e=(We(4097,-1)|0)==1}else{e=1}qe[c|0](d,e)}a:{if(!(b&128)){break a}c=j[67085];if(!c){ve(57733,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(56433,0);break a}if(k[a+48|0]&128){break a}d=j[c+96>>2];if(!d){break a}qe[d|0](c,a)}b:{if(!(b&64)){break b}c=j[67085];if(!c){ve(57733,0);break b}if(!(j[a>>2]==(c+316|0)?a:0)){ve(56433,0);break b}if(!j[c+100>>2]|k[a+48|0]&64){break b}Xg(a,0);c=j[67085];d=j[c+100>>2];if(!d){break b}qe[d|0](c,a)}if(b&1){$m(a,b)}if(b&256){Uu(a)}c:{if(b&8){break c}b=j[67085];if(!b){ve(57733,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(56433,0);return}if(k[a+48|0]&4){break c}c=j[b+84>>2];if(c){qe[c|0](b,a)}zf(a,1,0,0)}}function Rj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=oe-16|0;oe=g;e=qe[j[57972]](20)|0;if(e){j[57976]=j[57976]+1}a:{if(!e){b=Be(0);break a}f=Uf(a);j[e+8>>2]=f;if(!f){if(e){qe[j[57975]](e);j[57976]=j[57976]-1}b=Be(0);break a}j[e+4>>2]=f;j[e+12>>2]=0;j[e>>2]=b;b=j[c>>2];b:{if(!b){break b}while(1){if(cf(a,j[b+8>>2])){b=j[b+16>>2];if(b){continue}break b}break}f=j[b+12>>2];h=f+1|0;if(h>>>0>>0){break b}i=Le(a)+16|0;b=i;b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}if(!b){a=j[e+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}Be(0);b=-1;break a}j[g>>2]=a;j[g+4>>2]=f+2;Ue(b,i,23112,g);j[e+4>>2]=b;j[e+12>>2]=h}j[e+16>>2]=j[c>>2];j[c>>2]=e;b=j[d>>2];j[d>>2]=b+1}oe=g+16|0;return b}function uF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(j[b>>2]>=2){df(c,1,1);df(c,j[b>>2]-1|0,4);break a}df(c,0,1)}b:{if(j[b+1156>>2]>=1){df(c,1,1);df(c,j[b+1156>>2]-1|0,8);if(j[b+1156>>2]<1){break b}g=b+2184|0;h=b+1160|0;while(1){f=d<<2;e=j[a+4>>2]-1|0;df(c,j[f+h>>2],e?32-s(e)|0:0);e=j[a+4>>2]-1|0;df(c,j[f+g>>2],e?32-s(e)|0:0);d=d+1|0;if((d|0)>2]){continue}break}break b}df(c,0,1)}df(c,0,2);e=j[b>>2];c:{d:{if((e|0)>=2){if(j[a+4>>2]<1){break d}e=b+4|0;d=0;while(1){df(c,j[e+(d<<2)>>2],4);d=d+1|0;if((d|0)>2]){continue}break}e=j[b>>2]}if((e|0)<1){break c}}f=b+1092|0;e=b+1028|0;d=0;while(1){df(c,0,8);a=d<<2;df(c,j[a+e>>2],8);df(c,j[a+f>>2],8);d=d+1|0;if((d|0)>2]){continue}break}}}function th(a){var b=0,c=0,d=0;d=l[a+298>>1];a:{if((d|0)==16384){b=i[a+294>>1];j[a+564>>2]=b;c=b;break a}c=i[a+300>>1];if((c|0)==16384){b=i[a+296>>1];j[a+564>>2]=b;c=l[a+294>>1];break a}b=p(c,i[a+296>>1]);c=i[a+294>>1];b=b+p(c,d<<16>>16)>>14;j[a+564>>2]=b}b:{if((c&65535)==16384){j[a+572>>2]=925;break b}if(l[a+296>>1]==16384){j[a+572>>2]=926;break b}j[a+572>>2]=927}c:{if(l[a+290>>1]==16384){j[a+576>>2]=925;break c}if(l[a+292>>1]==16384){j[a+576>>2]=926;break c}j[a+576>>2]=928}j[a+588>>2]=929;j[a+584>>2]=930;d:{if((b|0)!=16384){break d}if((d|0)==16384){j[a+588>>2]=931;j[a+584>>2]=932;break d}if(l[a+300>>1]!=16384){break d}j[a+588>>2]=933;j[a+584>>2]=934}c=b>>31;if((c+b^c)<=1023){j[a+564>>2]=16384}j[a+256>>2]=0}function bz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=q(0),h=q(0),i=q(0);f=nh(a,d<<3,b+4|0);if(!f){return-1}j[b+8>>2]=d;b=j[a+216>>2];if(!(b|j[a+220>>2])){if((d|0)>0){a=0;while(1){b=f;g=n[c>>2];a:{if(q(r(g))>2]=e;b=f;g=n[c+4>>2];b:{if(q(r(g))>2]=e;c=c+8|0;f=f+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}return 0}if((d|0)<1){return 0}g=q(j[a+220>>2]);i=q(b|0);a=0;while(1){b=f;h=q(n[c>>2]+i);c:{if(q(r(h))>2]=e;b=f;h=q(n[c+4>>2]+g);d:{if(q(r(h))>2]=e;c=c+8|0;f=f+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}return 0}function BK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;a:{if(j[a+4>>2]){break a}d=6;b:{if(j[a+12>>2]!=1){break b}g=j[a>>2];c=j[a+28>>2];if(c){j[(j[a+36>>2]+(c<<4)|0)-4>>2]=b}h=c+1|0;d=j[a+32>>2];c:{if(h>>>0<=d>>>0){f=j[a+36>>2];break c}j[e+8>>2]=0;i=c+8&-8;f=xe(g,16,d,i,j[a+36>>2],e+8|0);j[a+36>>2]=f;d=j[e+8>>2];if(d){break b}j[a+32>>2]=i}c=(c<<4)+f|0;j[c+12>>2]=0;j[c>>2]=0;j[a+28>>2]=h;c=j[a- -64>>2];if(c){j[(j[a+72>>2]+(c<<4)|0)-4>>2]=b}f=c+1|0;b=j[a+68>>2];d:{if(f>>>0<=b>>>0){b=j[a+72>>2];break d}j[e+12>>2]=0;d=g;g=c+8&-8;b=xe(d,16,b,g,j[a+72>>2],e+12|0);j[a+72>>2]=b;d=j[e+12>>2];if(d){break b}j[a+68>>2]=g}b=(c<<4)+b|0;j[b+12>>2]=0;j[b>>2]=0;j[a+64>>2]=f;break a}j[a+4>>2]=d}oe=e+16|0}function Hz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;e=oe-16|0;oe=e;a:{if(!a){ve(44404,0);break a}i=199;b:{c:{d:{e:{f=j[a+4>>2];switch(k[f+9|0]-1|0){case 1:break b;case 0:break d;case 3:break e;default:break c}}i=200;break b}i=201;if(k[f+8|0]>=8){break b}}ve(44453,0);break a}if((c|0)>=2){n=a+36|0;f=1;while(1){g=(f<<3)+b|0;h=g-8|0;j[e+12>>2]=j[h>>2];j[e+8>>2]=j[h+4>>2];j[e+4>>2]=j[g>>2];j[e>>2]=j[g+4>>2];if(kn(n,e+12|0,e+8|0,e+4|0,e)){h=1;l=j[e>>2];m=j[e+4>>2];h=(m|0)==j[g>>2]?j[g+4>>2]!=(l|0):h;qe[i|0](a,j[e+12>>2],j[e+8>>2],m,l,d,h)}f=f+1|0;if((f|0)!=(c|0)){continue}break}}c=(c-1<<3)+b|0;g=j[c>>2];f:{if((g|0)!=j[b>>2]){f=j[c+4>>2];break f}f=j[c+4>>2];if((f|0)==j[b+4>>2]){break a}}Oz(a,g,f,d)}oe=e+16|0}function ep(a,b,c,d,e,f){var g=0;g=oe-80|0;oe=g;a:{if((f|0)>=16384){lf(g+32|0,b,c,d,e,0,0,0,2147352576);d=j[g+40>>2];e=j[g+44>>2];b=j[g+32>>2];c=j[g+36>>2];if((f|0)<32767){f=f-16383|0;break a}lf(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)<49149?f:49149)-32766|0;d=j[g+24>>2];e=j[g+28>>2];b=j[g+16>>2];c=j[g+20>>2];break a}if((f|0)>-16383){break a}lf(g- -64|0,b,c,d,e,0,0,0,65536);d=j[g+72>>2];e=j[g+76>>2];b=j[g+64>>2];c=j[g+68>>2];if((f|0)>-32765){f=f+16382|0;break a}lf(g+48|0,b,c,d,e,0,0,0,65536);f=((f|0)>-49146?f:-49146)+32764|0;d=j[g+56>>2];e=j[g+60>>2];b=j[g+48>>2];c=j[g+52>>2]}lf(g,b,c,d,e,0,0,0,f+16383<<16);b=j[g+12>>2];j[a+8>>2]=j[g+8>>2];j[a+12>>2]=b;b=j[g+4>>2];j[a>>2]=j[g>>2];j[a+4>>2]=b;oe=g+80|0}function Dm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 35}g=6;a:{b:{if(!b){break b}e=j[b+4>>2];if((e|0)<0){break b}f=j[b+8>>2];if((f|0)<0){break b}d=j[b>>2];if(d>>>0>4){break b}i=j[j[a+96>>2]+12>>2];c=j[i+88>>2];if(c){break a}c:{if((j[a+8>>2]&3)==2){g=7;if(d){break b}d=e;c=j[b+12>>2];if(c){d=(p(c,e)+36|0)/72|0}c=f;b=j[b+16>>2];if(b){c=(p(b,f)+36|0)/72|0}g=23;h=j[a+28>>2];if((h|0)<1){break b}b=f?c:d;c=(e?b:c)+32|0;e=(e?d:b)+32|0;f=j[a+32>>2];b=0;while(1){d=f+(b<<4)|0;if(!((e^j[d+8>>2]+32)>>>0<64?(j[d+12>>2]+32^c)>>>0<=63:0)){b=b+1|0;if((h|0)!=(b|0)){continue}break b}break}g=6;if((b|0)>=(h|0)){break b}c=j[i+92>>2];if(c){break a}Dg(a,b);break c}Ei(a,b)}g=0}return g}return qe[c|0](j[a+88>>2],b)|0}function OJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=j[b>>2]+1|0;if(d>>>0<=65535){a=j[a+16>>2];g=a+518|0;h=a+6|0;while(1){a=d>>>8|0;a:{b:{if(!a){c=(d<<1&510)+h|0;a=g;if(!(k[c|0]<<8|k[c+1|0])){break b}break a}a=(a<<1)+h|0;a=k[a|0]<<8|k[a+1|0]&248;if(!a){break a}a=a+g|0}f=k[a+7|0]|k[a+6|0]<<8;if(!f){break a}e=k[a+1|0]|k[a|0]<<8;c=d&255;d=(d&-256)+(c>>>0>>0?e:c)|0;e=c-e|0;c=c>>>0>>0?0:e;e=k[a+3|0]|k[a+2|0]<<8;if(c>>>0>=e>>>0){break a}i=k[a+5|0]|k[a+4|0]<<8;a=a+6+(f+(c<<1))|0;while(1){c:{f=k[a+1|0]|k[a|0]<<8;if(!f){break c}f=f+i&65535;if(!f){break c}j[b>>2]=d;return f|0}a=a+2|0;d=d+1|0;c=c+1|0;if(e>>>0>c>>>0){continue}break}}d=d+256&-256;if(d>>>0<65536){continue}break}}j[b>>2]=0;return 0}function Ne(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!(!a|(b|0)==(c|0))){e=(a|0)<0?-1:1;e=(b|0)<0?0-e|0:e;j=(c|0)<0?0-e|0:e;e=2147483647;d=c;c=c>>31;c=d+c^c;a:{if(!c){break a}d=b;b=b>>31;b=d+b^b;d=a;a=a>>31;a=d+a^a;if(b+a>>>0<=129894-(c>>>17|0)>>>0){e=(p(a,b)+(c>>>1|0)>>>0)/(c>>>0)|0;break a}f=b>>>16|0;d=a&65535;g=b&65535;h=a>>>16|0;i=p(f,d)+p(g,h)|0;b=i<<16;d=b+p(d,g)|0;a=d+(c>>>1|0)|0;b=((p(f,h)+(i>>>16|0)|0)+(b>>>0>d>>>0)|0)+(a>>>0>>0)|0;if(!b){e=(a>>>0)/(c>>>0)|0;break a}if(b>>>0>=c>>>0){break a}d=s(b);f=32-d|0;b=a>>>f|b<>>0)/(c>>>0)|0;b=b-p(c,e)|0;a=a<>>31;b=d-(c>>>0>d>>>0?0:c)|0;e=e<<1|c>>>0<=d>>>0;a=a<<1;f=f-1|0;if(f){continue}break}}a=(j|0)<0?0-e|0:e}return a}function yh(a){var b=0,c=0,d=0,e=0,f=0;b=j[a+372>>2]+1|0;j[a+372>>2]=b;a:{if(b>>>0>2]){break a}if(k[a+432|0]){j[a+372>>2]=0;Ee(j[a+380>>2],0,j[a+364>>2]+1|0);b=k[a+433|0];b:{while(1){b=b+1|0;c=b&255;if(c>>>0>6){break b}d=k[c+7105|0];f=(d+j[a+348>>2]|0)+(k[c+7098|0]^-1)|0;j[a+368>>2]=(f>>>0)/(d>>>0);if(!(k[a+216|0]&2)){e=k[c+7091|0];c=(e+j[a+352>>2]|0)+(k[c+7084|0]^-1)|0;j[a+356>>2]=(c>>>0)/(e>>>0);if(c>>>0>>0|d>>>0>f>>>0){continue}}break}h[a+433|0]=b;return}h[a+433|0]=b}c:{if(k[a+212|0]&8){break c}wr(a,0,0);j[a+236>>2]=0;b=j[a+212>>2];if(b&8){break c}j[a+212>>2]=b|8;j[a+208>>2]=j[a+208>>2]|8}if(j[a+220>>2]!=1229209940){break a}j[a+220>>2]=0;j[a+224>>2]=0;j[a+228>>2]=0;Ie(a,j[a+408>>2])}}function bs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=6;a:{b:{if(!a){break b}d=j[a+4>>2];if(!d){break b}f=j[a+72>>2];if((f|0)==1651078259){return 0}g=j[j[d+96>>2]+4>>2];c:{if((f|0)!=1869968492){e=7;if(!g){break b}c=j[g+148>>2];if(!c){break b}while(1){d=j[c+8>>2];if((f|0)==j[d+16>>2]){break c}c=j[c+4>>2];if(c){continue}break}break b}d=j[g+156>>2];if(!d){break a}c=j[g+148>>2]}e=0;f=qe[j[d+60>>2]](d,a,b,0)|0;if(!f){break b}i=g+148|0;d=f;while(1){d:{e:{if((d&255)!=19){break e}if(!g){return f}c=j[(c?c+4|0:i)>>2];if(!c){break e}e=j[a+72>>2];while(1){h=j[c+8>>2];if((e|0)==j[h+16>>2]){break d}c=j[c+4>>2];if(c){continue}break}}e=d;break b}e=0;d=qe[j[h+60>>2]](h,a,b,0)|0;if(d){continue}break}}return e}return 7}function Yq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;h=j[b>>2];f=j[b+8>>2];e=j[a>>2];if(e){b=j[a+8>>2];c=e;while(1){j[b+24>>2]=-1;j[b+16>>2]=j[b+16>>2]&-5;b=b+28|0;c=c-1|0;if(c){continue}break}}if(!h){j[a+4>>2]=0;return}b=0;c=0;while(1){if(!b){i=k[f|0];f=f+1|0;b=128}a:{if(!(b&i)){break a}d=j[a+8>>2]+p(c,28)|0;l=j[d+16>>2];if(l&4){break a}j[d+16>>2]=l|4;if(e>>>0<=g>>>0){break a}j[j[a+12>>2]+(g<<2)>>2]=d;g=g+1|0}b=b>>1;c=c+1|0;if((h|0)!=(c|0)){continue}break}j[a+4>>2]=g;if((g|0)>=2){e=j[a+12>>2];a=1;while(1){f=j[e+(a<<2)>>2];h=j[f>>2];b=a;while(1){c=b-1|0;d=e+(c<<2)|0;i=j[d>>2];if((h|0)<=j[i>>2]){j[e+(b<<2)>>2]=i;j[d>>2]=f;d=(b|0)>1;b=c;if(d){continue}}break}a=a+1|0;if((g|0)!=(a|0)){continue}break}}}function YA(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0;f=oe+ -64|0;oe=f;a:{if(!a){ve(30161,0);break a}d=qe[j[a>>2]](a)|0;c=d+1|0;c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}if(!c){qe[j[a+16>>2]](a)|0;ve(30175,0);break a}if((qe[j[a+8>>2]](a,c,d,1)|0)!=1){qe[j[a+16>>2]](a)|0;if(c){qe[j[57975]](c);j[57976]=j[57976]-1}ve(30223,0);break a}qe[j[a+16>>2]](a)|0;g=c+d|0;h[g|0]=0;if((d|0)>=1){a=c;while(1){d=g;b=wg(a,10);if(b){h[b|0]=0;d=b}b=jh(a,30241);b:{if(!b){break b}b=Le(30241)+b|0;e=wg(b,44);if(!e){break b}e=e-b|0;if(e+2>>>0>63){break b}i=b;b=e+1|0;Re(f,i,b);if(Tk(f,21754,b)){break b}k=((Pi(a,1)|0)>0)+k|0}a=d+1|0;if(g>>>0>a>>>0){continue}break}}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}oe=f- -64|0}function 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,k=0,m=0,n=0;f=oe-16|0;oe=f;a:{b:{h=l[(b?a+296|0:a+216|0)+34>>1];if(!h){break b}g=j[(b?788:784)+a>>2];b=g+j[(b?692:684)+a>>2]|0;a=j[a+104>>2];if(c>>>0>>0){h=b;b=g+(c<<2)|0;if(h>>>0>>0){break b}b=Fe(a,b);j[f+12>>2]=b;if(b){break b}m=e,n=qf(a,f+12|0),i[m>>1]=n;if(j[f+12>>2]){break b}m=d,n=qf(a,f+12|0),i[m>>1]=n;if(!j[f+12>>2]){break a}break b}g=g+(h<<2)|0;if(g>>>0>b>>>0){break b}k=Fe(a,g-4|0);j[f+12>>2]=k;if(k){break b}m=e,n=qf(a,f+12|0),i[m>>1]=n;if(j[f+12>>2]){break b}c=g+(c-h<<1)|0;if(b>>>0>>0){i[d>>1]=0;break a}b=Fe(a,c);j[f+12>>2]=b;if(b){break a}m=d,n=qf(a,f+12|0),i[m>>1]=n;break a}i[d>>1]=0;i[e>>1]=0}oe=f+16|0}function hp(a,b,c,d){a:{if(b>>>0>20){break a}b:{switch(b-9|0){case 0:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=j[b>>2];return;case 1:b=j[c>>2];j[c>>2]=b+4;b=j[b>>2];j[a>>2]=b;j[a+4>>2]=b>>31;return;case 2:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=j[b>>2];j[a+4>>2]=0;return;case 3:b=j[c>>2]+7&-8;j[c>>2]=b+8;c=j[b+4>>2];j[a>>2]=j[b>>2];j[a+4>>2]=c;return;case 4:b=j[c>>2];j[c>>2]=b+4;b=i[b>>1];j[a>>2]=b;j[a+4>>2]=b>>31;return;case 5:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=l[b>>1];j[a+4>>2]=0;return;case 6:b=j[c>>2];j[c>>2]=b+4;b=h[b|0];j[a>>2]=b;j[a+4>>2]=b>>31;return;case 7:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=k[b|0];j[a+4>>2]=0;return;case 8:b=j[c>>2]+7&-8;j[c>>2]=b+8;o[a>>3]=o[b>>3];return;case 9:break b;default:break a}}qe[d|0](a,c)}}function Ev(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function RG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0;f=oe-1520|0;oe=f;a:{b:{if(d&16){if(!c){break b}d=0;Ee(e,0,c<<2);break a}d=qe[j[j[j[a+488>>2]+12>>2]>>2]](f+8|0,a,0,0,j[a+420>>2],j[a+528>>2],0,0,954)|0;if(d){break a}h[f+76|0]=0;h[f+78|0]=1;j[f+1372>>2]=j[a+404>>2];j[f+1376>>2]=j[a+408>>2];j[f+1380>>2]=j[a+412>>2];j[f+1496>>2]=j[a+544>>2];j[f+1500>>2]=j[a+540>>2];d=0;if(!c){break a}a=0;while(1){i=(a<<2)+e|0;c:{if(!ik(f+8|0,a+b|0,f+1512|0)){d=j[j[j[f+12>>2]+128>>2]+48>>2];if(d){qe[j[j[d>>2]+4>>2]](j[d+4>>2],f+1512|0)}d=j[f+48>>2];g=d+32768&-65536;if((d|0)<0){g=0-(32768-d&-65536)|0}d=g>>16;break c}d=0}j[i>>2]=d;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=0}oe=f+1520|0;return d|0}function ft(a,b,c){var d=0,e=0,f=0,g=0,i=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,5774);break a}if(!(!b|!(k[b+8|0]&2))){Ie(a,c);Je(a,5808);break a}f=3;e=8;if(k[a+435|0]!=3){f=k[a+439|0];e=k[a+436|0]}if(!((c|0)==(f|0)?c>>>0<=4:0)){Je(a,5787);Ie(a,c);break a}j[d+12>>2]=p(e,16843009);pf(a,d+12|0,c);tf(a,d+12|0,c);f=0;if(Ie(a,0)){break a}b:{if(!c){break b}while(1){if(e>>>0>(k[(d+12|0)+f|0]-1&255)>>>0){f=f+1|0;if((f|0)!=(c|0)){continue}break b}break}Je(a,5787);break a}e=k[d+12|0];i=a;c:{if(k[a+435|0]&2){c=k[d+13|0];f=k[d+14|0];g=d+12|3;break c}h[a+519|0]=e;c=e;f=c;g=d+12|1}h[i+520|0]=k[g|0];h[a+518|0]=f;h[a+517|0]=c;h[a+516|0]=e;ev(a,b,a+516|0)}oe=d+16|0;return}hf(a,5795);z()}function dO(a,b,c,d){var e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;f=6;a:{if(!a|!d){break a}j[d>>2]=0;j[d+4>>2]=0;j[d+16>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;if((c|0)<0|b>>>0>>0){break a}f=10;if(b>>>0>32767){break a}g=d,h=xe(a,8,0,b,0,e+12|0),j[g+4>>2]=h;b:{if(j[e+12>>2]){break b}g=d,h=xe(a,1,0,b,0,e+12|0),j[g+8>>2]=h;if(j[e+12>>2]){break b}f=0;g=d,h=xe(a,2,0,c,0,e+12|0),j[g+12>>2]=h;if(j[e+12>>2]){break b}i[d>>1]=c;i[d+2>>1]=b;j[d+16>>2]=j[d+16>>2]|1;break a}j[d+16>>2]=j[d+16>>2]|1;b=j[d+4>>2];if(b){qe[j[a+8>>2]](a,b)}j[d+4>>2]=0;b=j[d+8>>2];if(b){qe[j[a+8>>2]](a,b)}j[d+8>>2]=0;b=j[d+12>>2];if(b){qe[j[a+8>>2]](a,b)}j[d+16>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;j[d>>2]=0;j[d+4>>2]=0;f=j[e+12>>2]}oe=e+16|0;return f}function Zv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d&-16711936|d<<16&16711680|d>>>16&255;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function Qq(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,j=0;a:{if(!a|a>>>0>=b>>>0){break a}f=a+1|0;g=h[a|0];a=0;e=52;b:{while(1){i=a+e|0;c=i&-2;c=(k[c+94498|0]<<8|k[c+94499|0])+94496|0;d=k[c|0];j=d&127;if((g|0)==(j|0)){break b}c=i>>1;d=(g|0)>(j|0);a=d?c+1|0:a;e=d?e:c;if((a|0)<(e|0)){continue}break}return 0}if(b>>>0>f>>>0){while(1){a=c+1|0;e=d<<24;d=k[c+1|0];g=h[f|0];c:{if(e>>24<=-1){c=a;if((g|0)==(d&127)){break c}return 0}e=d&127;if(!e){break a}a=a+(d&128?3:1)|0;while(1){c=(k[a+1|0]|k[a|0]<<8)+94496|0;d=k[c|0];if((g|0)==(d&127)){break c}a=a+2|0;c=(e|0)>1;e=e-1|0;if(c){continue}break}break a}f=f+1|0;if((f|0)!=(b|0)){continue}break}}if(d<<24>>24<0|h[c+1|0]>-1){break a}return k[c+3|0]|k[c+2|0]<<8}return 0}function cs(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}g=j[a+4>>2];b=j[g+84>>2];if(!b){break a}d=j[g+96>>2];e=j[d+8>>2];if((a|0)!=(b|0)){while(1){f=j[b+8>>2];if(!f){break a}c=b;b=f;if((b|0)!=(a|0)){continue}break}}j[(c?c+8|0:g+84|0)>>2]=j[a+8>>2];c=e;b=j[a+20>>2];if(b){qe[b|0](a);d=j[j[a+4>>2]+96>>2];c=j[d+8>>2]}b=j[j[d+12>>2]+68>>2];if(b){qe[b|0](a)}b=j[a+156>>2];if(!b){j[a+88>>2]=0;if(a){qe[j[e+8>>2]](e,a)}return}b:{if(h[b+4|0]&1){f=j[j[a+4>>2]+100>>2];b=j[a+88>>2];if(b){qe[j[f+8>>2]](f,b)}j[a+88>>2]=0;b=j[a+156>>2];j[b+4>>2]=j[b+4>>2]&-2;break b}j[a+88>>2]=0}if(!(k[j[d>>2]+1|0]&2)){gs(j[b>>2]);b=j[a+156>>2];j[b>>2]=0}if(b){qe[j[c+8>>2]](c,b)}j[a+156>>2]=0;if(a){qe[j[e+8>>2]](e,a)}}}function Nn(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a:{b:{switch(d-1|0){case 0:d=h^255;a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=((p(d,c&255)>>>0)/255|0)+g|0;f=((p(d,c>>>8&255)>>>0)/255|0)+f|0;g=((p(d,c>>>16&255)>>>0)/255|0)+e<<16;break a;case 1:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=(c&255)+g|0;b=b>>>0<255?b:255;d=(c>>>8&255)+f|0;f=d>>>0<255?d:255;c=(c>>>16&255)+e|0;g=(c>>>0<255?c:255)<<16;break a;case 3:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=(p(c&255,g)>>>0)/255|0;f=(p(c>>>8&255,f)>>>0)/255|0;g=(p(c>>>16&255,e)>>>0)/255<<16;break a;default:break b}}a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;b=e<<16}j[a>>2]=f<<8|b|g;return 0}function YM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;f=oe-16|0;oe=f;c=j[a>>2];a:{if(k[c+8|0]&2){if(!(qe[j[j[c+532>>2]+104>>2]](c,b,f+12|0)|0)){yr(a,j[f+12>>2]);break a}j[a+44>>2]=-1;c=j[a>>2]}Ei(c,b);c=j[a>>2];b=j[j[c+656>>2]+2952>>2];c=Kf(j[j[c+96>>2]+4>>2],79232);if(!b|!c){break a}b=j[b>>2];if(!b){break a}g=qe[b|0](c)|0;if(!g){break a}h=j[j[a>>2]+656>>2];c=j[h+1392>>2];i=j[a+40>>2];qe[j[g+4>>2]](j[i>>2],j[a+16>>2],j[a+20>>2],0,0);e=j[h+1896>>2];if(!e){break a}while(1){b=j[a+16>>2];e=e-1|0;l=e<<2;d=j[j[(l+h|0)+1900>>2]+68>>2];b:{if((d|0)!=(c|0)){b=Ne(b,c,d);d=Ne(j[a+20>>2],c,d);break b}d=j[a+20>>2]}qe[j[g+4>>2]](j[(i+l|0)+4>>2],b,d,0,0);if(e){continue}break}}oe=f+16|0;return 0}function km(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=j[a+52>>2];c=k[a+32|0];a:{b:{c:{if(c){break c}b=j[a+24>>2];if(b>>>0>=m[a+28>>2]){break c}if(m[a+56>>2]>2]){break b}}if(m[a+56>>2]>=m[a+60>>2]){d=d+1|0;j[a+52>>2]=d;b=a;if(m[a+40>>2]>d>>>0){e=(1<>2]+1|0}j[b+60>>2]=e}if(c){j[a+60>>2]=256;j[a+52>>2]=9;h[a+32|0]=0;d=9}e=-1;if(j[a+4>>2]){break a}b=0;c=Bm(j[a+164>>2],a+8|0,d);j[a+24>>2]=0;j[a+36>>2]=c+j[a+36>>2];f=j[a+52>>2];j[a+4>>2]=f>>>0>c>>>0;j[a+28>>2]=(c<<3|1)-f;if(!c){break a}}j[a+24>>2]=d+b;a=(b>>>3|0)+a|0;c=a+8|0;f=b&7;e=k[c|0]>>>f|0;g=a+9|0;b=8-f|0;a=d-b|0;if(a>>>0>=8){a=a-8|0;e=k[c+1|0]<>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d&65280|d<<16|d>>>16&255|-16777216;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function Ee(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}d=a+c|0;h[d-1|0]=b;h[a|0]=b;if(c>>>0<3){break a}h[d-2|0]=b;h[a+1|0]=b;h[d-3|0]=b;h[a+2|0]=b;if(c>>>0<7){break a}h[d-4|0]=b;h[a+3|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;b=p(b&255,16843009);j[e>>2]=b;c=c-d&-4;d=c+e|0;j[d-4>>2]=b;if(c>>>0<9){break a}j[e+8>>2]=b;j[e+4>>2]=b;j[d-8>>2]=b;j[d-12>>2]=b;if(c>>>0<25){break a}j[e+24>>2]=b;j[e+20>>2]=b;j[e+16>>2]=b;j[e+12>>2]=b;j[d-16>>2]=b;j[d-20>>2]=b;j[d-24>>2]=b;j[d-28>>2]=b;g=e&4|24;c=c-g|0;if(c>>>0<32){break a}d=b;f=b;b=e+g|0;while(1){j[b+24>>2]=f;j[b+28>>2]=d;j[b+16>>2]=f;j[b+20>>2]=d;j[b+8>>2]=f;j[b+12>>2]=d;j[b>>2]=f;j[b+4>>2]=d;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}return a}function zj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d<<16&16711680|d&65280|d>>>16&255;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function ln(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;if(c){a:{f=j[a>>2];if((f|0)>j[b>>2]){break a}if((a|0)!=(b|0)){if(wf(j[a+4>>2],j[b+4>>2],f<<2)){break a}}j[c>>2]=1;return 0}j[c>>2]=0}c=j[a>>2];f=qe[j[57972]](c?c:1)|0;if(f){j[57976]=j[57976]+1}if(f){if(j[a>>2]>=1){while(1){l=0;m=j[b>>2];if((m|0)>=1){c=j[a+4>>2]+(g<<2)|0;o=k[c+3|0];q=k[c+2|0];r=k[c+1|0];s=k[c|0];t=j[b+4>>2];n=-1;c=0;while(1){b:{d=(c<<2)+t|0;e=k[d+1|0]-r|0;i=p(e,e);e=k[d|0]-s|0;i=i+p(e,e)|0;e=k[d+2|0]-q|0;d=k[d+3|0]-o|0;d=(i+p(e,e)|0)+p(d,d)|0;if(d>>>0>>0){l=c;n=d;if(!d){break b}}c=c+1|0;if((m|0)!=(c|0)){continue}}break}}h[f+g|0]=l;g=g+1|0;if((g|0)>2]){continue}break}}return f}Be(0);return 0}function ez(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;var i=q(0),k=0;c=nh(a,56,b+4|0);if(!c){return-1}j[b+8>>2]=1;Ge(c,d,16);b=c;d=j[a+216>>2];a=j[a+220>>2];a:{if(d|a){k=c;i=q(n[e>>2]+q(d|0));b:{if(q(r(i))>2]=d;i=q(n[e+4>>2]+q(a|0));break a}a=c;i=n[e>>2];c:{if(q(r(i))>2]=d;i=n[e+4>>2]}d:{if(q(r(i))>2]=a;a=c;i=n[e+8>>2];e:{if(q(r(i))>2]=b;i=n[e+12>>2];o[c+32>>3]=f;a=c;if(q(r(i))>2]=b;Ge(c+40|0,g,8);j[c+48>>2]=h;return 0}function pn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d>>>8&65280|d>>>24|d<<8&16711680;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function VN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0;b=oe-16|0;oe=b;f=j[a>>2];a=Le(c);f=He(f,a+18|0,b+12|0);g=j[b+12>>2];if(!g){i=Ae(f,c,a);c=i+a|0;a=k[74891]|k[74892]<<8;h[c+16|0]=a;h[c+17|0]=a>>>8;a=k[74887]|k[74888]<<8|(k[74889]<<16|k[74890]<<24);f=k[74883]|k[74884]<<8|(k[74885]<<16|k[74886]<<24);h[c+8|0]=f;h[c+9|0]=f>>>8;h[c+10|0]=f>>>16;h[c+11|0]=f>>>24;h[c+12|0]=a;h[c+13|0]=a>>>8;h[c+14|0]=a>>>16;h[c+15|0]=a>>>24;a=k[74879]|k[74880]<<8|(k[74881]<<16|k[74882]<<24);f=k[74875]|k[74876]<<8|(k[74877]<<16|k[74878]<<24);h[c|0]=f;h[c+1|0]=f>>>8;h[c+2|0]=f>>>16;h[c+3|0]=f>>>24;h[c+4|0]=a;h[c+5|0]=a>>>8;h[c+6|0]=a>>>16;h[c+7|0]=a>>>24;j[d>>2]=i;j[e>>2]=0}oe=b+16|0;return g|0}function tN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,k=0,n=0,o=0;d=j[b>>2];if(m[d+16>>2]>c>>>0){b=j[d+140>>2];f=l[b+278662>>1];e=j[b+56>>2];if(c){b=c-1|0}else{b=j[d+164>>2]}b=e+p(b,36)|0;g=l[b+10>>1];c=i[b+20>>1];e=i[b+16>>1];k=j[b+24>>2];n=l[b+14>>1];o=l[b+12>>1];j[a+84>>2]=j[b+28>>2];j[a+80>>2]=o;j[a+76>>2]=n;es(a,k);a:{b:{switch(f-1|0){case 0:h[a+94|0]=1;break a;case 1:h[a+94|0]=3;break a;case 3:h[a+94|0]=4;break a;case 7:break b;default:break a}}i[a+92>>1]=256;h[a+94|0]=2}j[a+104>>2]=c;j[a+100>>2]=e;j[a+72>>2]=1651078259;j[a+40>>2]=g<<6;j[a+36>>2]=c<<6;j[a+32>>2]=e<<6;j[a+24>>2]=j[a+80>>2]<<6;j[a+28>>2]=j[a+76>>2]<<6;Fi(a+24|0,l[j[d+140>>2]+6>>1]<<6);a=0}else{a=6}return a|0}function hh(a,b,c,d,e,f,g){var h=0,i=0,l=0,m=0,n=0;l=j[(k[a+30|0]<<2)+234976>>2]+((j[a+20>>2]&67305985)>>>k[a+34|0]|0)|0;m=j[(k[a+29|0]<<2)+234976>>2]+((j[a+16>>2]&67305985)>>>k[a+33|0]|0)|0;n=j[(k[a+28|0]<<2)+234976>>2]+((j[a+12>>2]&67305985)>>>k[a+32|0]|0)|0;i=j[a+24>>2];h=0;a:{if(!i){break a}h=k[j[(k[a+31|0]<<2)+234976>>2]+((i&67305985)>>>k[a+35|0]|0)|0]}a=k[m|0]>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>2]|!i?a:h>>>k[b+31|0]<>>24|0;i=a>>>16&255;l=a>>>8&255;a=a&255;b:{if(!a){a=1;h=0;break b}if(!l){h=1;l=1;break b}if(!i){i=1;h=2;break b}h=b?0:3;b=b?b:1}j[c>>2]=a-1;j[d>>2]=l-1;j[e>>2]=i-1;j[f>>2]=b-1;if(g){j[g>>2]=h}}function Jm(a){var b=0,c=0;a:{if(!a){break a}c=j[a>>2];if(!c){break a}j[a+44>>2]=0;j[a+48>>2]=0;b=j[a+52>>2];if((b|0)!=(a+72|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+52>>2]=0}j[a+56>>2]=0;j[a+60>>2]=0;b=j[a- -64>>2];if((b|0)!=(a+936|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+64>>2]=0}b=a+1512|0;j[b>>2]=0;j[b+4>>2]=0;b=j[a+1520>>2];if((b|0)!=(a+1540|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+1520>>2]=0}b=a+1524|0;j[b>>2]=0;j[b+4>>2]=0;b=j[a+1532>>2];if((b|0)!=(a+2404|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+1532>>2]=0}b=j[a+40>>2];if((b|0)!=(a+3e3|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+40>>2]=0}j[a+32>>2]=0;j[a+36>>2]=0;b=j[a+28>>2];if((b|0)!=(a+3032|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0}j[a+20>>2]=0;j[a+24>>2]=0;j[a>>2]=0}}function pN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0;l=6;g=j[a+140>>2];a:{if(!g|!b|!j[g+72>>2]){break a}h=k[b|0];if(!h){break a}f=j[g+128>>2];i=j[f+12>>2];a=h;d=b;while(1){e=p(e,31)+(a<<24>>24)|0;a=k[d+1|0];d=d+1|0;if(a){continue}break}a=e;e=j[f+4>>2];d=((a>>>0)%(e>>>0)<<2)+i|0;a=j[d>>2];if(!a){break a}e=((e<<2)+i|0)-4|0;while(1){b:{f=j[a>>2];if(k[f|0]==(h|0)){if(!we(f,b)){break b}}a=d-4|0;d=a>>>0>>0?e:a;a=j[d>>2];if(a){continue}break a}break}b=j[g+80>>2];if(!b){break a}c:{d:{e:{f:{a=b+(j[a+4>>2]<<4)|0;switch(j[a+4>>2]-1|0){case 2:break d;case 1:break e;case 0:break f;default:break a}}j[c>>2]=1;break c}j[c>>2]=2;break c}j[c>>2]=3}j[c+4>>2]=j[a+12>>2];l=0}return l|0}function hC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0),l=q(0),m=q(0);c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=p(c,3);g=c>>>3|0;if(g){f=c;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=f+c|0;d=c+e|0;while(1){c=f-8|0;i=n[c>>2];l=n[f-4>>2];n[d-4>>2]=l;n[d-8>>2]=i;j[d-12>>2]=0;m=q(q(i+l)*q(.5));n[d-16>>2]=m;n[d-20>>2]=l+q(l-m);d=d-24|0;n[d>>2]=i+q(i-m);f=c;g=g-1|0;if(g){continue}break}}h[a+24|0]=e;h[a+25|0]=e>>>8;h[a+26|0]=e>>>16;h[a+27|0]=e>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function OB(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,j=0;g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=g>>>2|0;if(e){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=b;while(1){j=f;c=n[b>>2];d=32767;a:{if(c>=q(1)){break a}d=32768;if(c<=q(-1)){break a}c=q(c*q(32767));if(q(r(c))>1]=d;f=f+2|0;b=b+4|0;e=e-1|0;if(e){continue}break}}b=(g|0)/2|0;h[a+24|0]=b;h[a+25|0]=b>>>8;h[a+26|0]=b>>>16;h[a+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,32784)}}function Em(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;i=oe-32|0;oe=i;k=j[a>>2];a:{if(!b){g=6;if(b){qe[j[k+8>>2]](k,b)}break a}h=He(k,40,i);b:{g=j[i>>2];if(!g){j[h+32>>2]=0;j[h+8>>2]=0;j[h+4>>2]=c;j[h>>2]=b;j[h+20>>2]=0;j[h+24>>2]=0;j[h+24>>2]=563;g=j[i>>2];if(!g){break b}}if(b){qe[j[k+8>>2]](k,b)}break a}j[i+16>>2]=h;j[i>>2]=2;if(e){j[i>>2]=10;b=j[a+16>>2];c:{if((b|0)<1){g=0;break c}c=((b<<2)+a|0)+20|0;b=a+20|0;while(1){g=j[b>>2];if(!we(j[j[g>>2]+8>>2],e)){break c}b=b+4|0;if(c>>>0>b>>>0){continue}break}g=0}j[i+20>>2]=g}g=Gm(a,i,d,f);if(!g){a=j[f>>2];j[a+8>>2]=j[a+8>>2]&-1025;g=0;break a}d:{if(!h){break d}a=j[h+24>>2];if(!a){break d}qe[a|0](h)}if(h){qe[j[k+8>>2]](k,h)}}oe=i+32|0;return g}function NB(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,j=0;g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=g>>>2|0;if(e){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=b;while(1){j=f;c=n[b>>2];d=65535;a:{if(c>=q(1)){break a}d=0;if(c<=q(-1)){break a}c=q(q(c+q(1))*q(32767));if(c=q(0)){d=~~c>>>0;break a}d=0}i[j>>1]=d;f=f+2|0;b=b+4|0;e=e-1|0;if(e){continue}break}}b=(g|0)/2|0;h[a+24|0]=b;h[a+25|0]=b>>>8;h[a+26|0]=b>>>16;h[a+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,16)}}function rz(a){var b=0,c=0;if(!a){ve(44673,0);return 0}b=Xe(1,440);if(!b){Be(0);return 0}c=Xe(1,8);if(!c){a=j[b+436>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}Be(0);return 0}j[c+4>>2]=a;j[c>>2]=a;j[b+68>>2]=215;j[b+64>>2]=216;j[b+60>>2]=217;j[b+52>>2]=218;j[b+16>>2]=219;j[b+8>>2]=220;j[b+4>>2]=221;j[b+84>>2]=222;j[b+80>>2]=223;j[b+76>>2]=224;j[b+72>>2]=225;j[b+48>>2]=226;j[b+44>>2]=227;j[b+40>>2]=228;j[b+36>>2]=229;j[b+32>>2]=230;j[b+28>>2]=230;j[b+24>>2]=231;j[b+20>>2]=231;Ae(b+104|0,231804,84);j[b+436>>2]=c;a:{if(j[c>>2]){break a}a=j[c+4>>2];j[c>>2]=a;if(a){break a}a=qj(j[b+188>>2]);if(!a){break a}j[c>>2]=a;j[c+4>>2]=a}return b}function ns(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=j[(c?16:12)+b>>2];b=j[(c?8:4)+b>>2];f=p(c,1572)+a|0;g=f+1608|0;a:{if(j[f+1612>>2]==(h|0)?(b|0)==j[g>>2]:0){break a}j[g>>2]=b;j[f+48>>2]=h;j[f+44>>2]=b;j[f+1612>>2]=h;if(!j[f+260>>2]){break a}g=0;i=p(c,1572)+a|0;while(1){a=p(g,28)+i|0;c=a;d=ye(j[a+264>>2],b)+h|0;j[a+272>>2]=d;j[a+268>>2]=d;d=ye(j[a+276>>2],b)+h|0;j[a+284>>2]=d;j[a+280>>2]=d;j[a+288>>2]=j[a+288>>2]&-2;if(ye(j[a+264>>2]-j[a+276>>2]|0,b)+48>>>0<=96){d=j[a+268>>2]+32&-64;j[c+272>>2]=d;d=De(d,b)-j[a+276>>2]|0;e=d>>31;e=ye(e^d+e,b);e=(e|0)<32?0:e+32&-64;j[a+284>>2]=((d|0)<0?e:0-e|0)+j[c+272>>2];j[a+288>>2]=j[a+288>>2]|1}g=g+1|0;if(g>>>0>2]){continue}break}}}function kC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0);e=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);if(e>>>0>=24){f=(e>>>0)/24|0;d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=d;while(1){g=q(n[c+8>>2]*q(.5));n[d>>2]=q(n[c>>2]+g)/q(1.5);n[d+4>>2]=q(g+n[c+4>>2])/q(1.5);n[d+8>>2]=n[c+16>>2]/q(1.5);n[d+12>>2]=n[c+20>>2]/q(1.5);d=d+16|0;c=c+24|0;f=f-1|0;if(f){continue}break}}c=(e|0)/6<<2;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function Wi(a){var b=0,c=0,d=0;j[65586]=0;Qm();a=a>>>4&512|a;b=a&544?a|16384:a;if(b&16384){a=k[262318];if(!a){Hg(24931,150,0);KB();rB();a=k[262318]}h[262318]=a+1}if(b&1){a=k[262304];if(!a){a=k[262304]}h[262304]=a+1}a:{if(b&32){a=k[262309];if(!a){if((dn()|0)<0){break a}a=k[262309]}h[262309]=a+1}if(b&16){a=k[262308];if(!a){if((AC()|0)<0){break a}a=k[262308]}h[262308]=a+1}if(b&512){a=k[262313];if(!a){if((LA()|0)<0){break a}a=k[262313]}h[262313]=a+1}if(b&8192){a=k[262317];if(!a){if((TA()|0)<0){break a}a=k[262317]}h[262317]=a+1}if(b&4096){return ve(21703,0)}if(b&32768){a=k[262319];if(!a){if(!j[67077]){c=268308,d=Hi(),j[c>>2]=d}Wi(16384);break a}h[262319]=a+1}return 0}return-1}function ZM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,m=0;g=oe-16|0;oe=g;h=j[a+84>>2];a:{b:{c:{if(!(k[a+8|0]&8)){break c}if(d&16){if(!k[a+292|0]){break c}if(!c){break b}while(1){qe[j[j[a+532>>2]+112>>2]](a,1,b+f|0,g+14|0,g+12|0);j[(f<<2)+e>>2]=l[g+12>>1];f=f+1|0;if((f|0)!=(c|0)){continue}break}break b}if(!l[a+250>>1]){break c}if(!c){break b}while(1){qe[j[j[a+532>>2]+112>>2]](a,0,b+f|0,g+14|0,g+10|0);j[(f<<2)+e>>2]=l[g+10>>1];f=f+1|0;if((f|0)!=(c|0)){continue}break}break b}if(!c){break b}i=d|256;m=(d&16?60:56)+h|0;while(1){d=Br(h,j[a+88>>2],b+f|0,i);if(d){break a}j[(f<<2)+e>>2]=j[m>>2];f=f+1|0;if((f|0)!=(c|0)){continue}break}}d=0}oe=g+16|0;return d|0}function vF(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0;g=(e?f:0)<<2;i=j[g+c>>2];m=(i|0)/-4|0;h=j[(e<<2)+c>>2];o=(h|0)/2|0;f=(i|0)/2|0;k=(h|0)/4|0;p=c;c=(e?d:0)<<2;e=j[p+c>>2];d=k+((e|0)/-4|0)|0;e=d+((e|0)/2|0)|0;g=j[b+g>>2];b=j[b+c>>2];c=0;if((d|0)>=1){Ee(a,0,d<<2);while(1){c=c+1|0;if((d|0)!=(c|0)){continue}break}c=d}if((c|0)<(e|0)){b=j[(b<<2)+165456>>2];while(1){d=(c<<2)+a|0;n[d>>2]=n[b+(l<<2)>>2]*n[d>>2];l=l+1|0;c=c+1|0;if((e|0)>(c|0)){continue}break}}c=(o+k|0)+m|0;if((i|0)>1){b=c+f|0;d=j[(g<<2)+165456>>2];while(1){e=(c<<2)+a|0;f=f-1|0;n[e>>2]=n[d+(f<<2)>>2]*n[e>>2];c=c+1|0;if((b|0)>(c|0)){continue}break}}if((c|0)<(h|0)){b=a;a=c<<2;Ee(b+a|0,0,(h<<2)-a|0)}}function mx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2]|-16777216;c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function Hu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;a:{if(!a){j[e>>2]=57507;a=ve(56475,e);break a}if(j[a+16>>2]<=-1){a=ve(57522,0);break a}d=j[66371];b:{if(!d){break b}c=j[67085];if(!c){ve(57733,0);break b}if(j[d>>2]!=(c+316|0)){ve(56433,0);break b}g=(k[d+49|0]&64)>>>6|0}h=j[67035];hl(0);il(0);i=mo(1);po();c=j[67085];c:{d:{if(!c){break d}f=j[c+280>>2];if(!f){break d}a=qe[f|0](c,a,b?b:e+12|0)|0;if((a|0)!=-1){break c}}ve(57548,0);a=-1}e:{if(!d){break e}b=j[67085];f:{if(!b){ve(57733,0);break f}if(j[d>>2]!=(b+316|0)){ve(56433,0);break f}if(!(k[d+48|0]&4)){break f}c=j[b+92>>2];if(!c){break f}qe[c|0](b,d)}if(!g){break e}hl(1)}mo(i);il(h)}oe=e+16|0;return a}function sn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2]&16777215;c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function Yj(a,b,c,d,e,f,g){var h=0,i=0,k=0,l=0,m=0;h=oe-240|0;oe=h;i=j[d>>2];j[h+232>>2]=i;d=j[d+4>>2];j[h>>2]=a;j[h+236>>2]=d;k=1;a:{b:{c:{d:{if(d?0:(i|0)==1){break d}i=a-j[(e<<2)+g>>2]|0;if((qe[c|0](i,a)|0)<1){break d}m=0-b|0;l=!f;while(1){e:{d=i;if(!(!l|(e|0)<2)){f=j[((e<<2)+g|0)-8>>2];i=a+m|0;if((qe[c|0](i,d)|0)>-1){break e}if((qe[c|0](i-f|0,d)|0)>-1){break e}}j[(k<<2)+h>>2]=d;f=h+232|0;a=fP(j[h+232>>2]-1|0);if(!a){a=fP(j[h+236>>2]);a=a?a+32|0:0}Zj(f,a);k=k+1|0;e=a+e|0;if(j[h+236>>2]?0:j[h+232>>2]==1){break b}f=0;l=1;a=d;i=a-j[(e<<2)+g>>2]|0;if((qe[c|0](i,j[h>>2])|0)>0){continue}break c}break}d=a;break b}d=a}if(f){break a}}_o(b,h,k);vl(d,b,c,e,g)}oe=h+240|0}function Fu(a,b,c){var d=0,e=0,f=0,g=0,i=0;g=1;a:{if(!(!b|(!c|!a))){d=Pk(a,j[b+236>>2],j[b+240>>2],1,20);if(!d){Pf(a,5528,1);return}Ke(a,j[b+236>>2]);j[b+236>>2]=d;j[b+232>>2]=j[b+232>>2]|512;f=d+p(j[b+240>>2],20)|0;while(1){d=j[c>>2];h[f+4|0]=0;j[f>>2]=d;e=k[c+16|0]&11;if(!e){if(k[a+209|0]&128){break a}tq(a,5581);e=j[a+208>>2]&11;if(!e){break a}}while(1){d=e;i=0-d&d;e=d^i;if((d|0)!=(i|0)){continue}break}h[f+16|0]=d;d=j[c+12>>2];b:{c:{if(!d){e=0;j[f+8>>2]=0;break c}d=$f(a,d);j[f+8>>2]=d;if(!d){Pf(a,5552,1);break b}e=j[c+12>>2];Ae(d,j[c+8>>2],e)}j[f+12>>2]=e;j[b+240>>2]=j[b+240>>2]+1;f=f+20|0}c=c+20|0;d=(g|0)>1;g=g-1|0;if(d){continue}break}}return}Ye(a,5633);z()}function Tm(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;g=(b+1|0)/2|0;h=(a+1|0)/2|0;a=p(b,d)+c|0;c=p(b,f)+e|0;if((a|0)==(c|0)){c=qe[j[57972]](h?h:1)|0;if(c){j[57976]=j[57976]+1}if(!c){return Be(0)}d=(f+1|0)/2|0;if((b|0)>=1){b=(g|0)>1?g:1;f=p(d,g)+a|0;e=0;while(1){Ge(c,a,h);Ge(a,f,h);Ge(f,c,h);f=d+f|0;a=a+d|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}return 0}if((b|0)<1){return 0}e=(d+1|0)/2|0;k=(g|0)>1?g:1;i=(f+1|0)/2|0;f=p(i,g)+c|0;d=0;while(1){Ge(f,a,h);f=f+i|0;a=a+e|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}if((b|0)<1){return 0}b=(g|0)>1?g:1;f=0;while(1){Ge(c,a,h);c=c+i|0;a=a+e|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}return 0}function ry(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;f=j[a+24>>2];l=j[a+16>>2]+(f+((f+7|0)/-8|0)|0)|0;m=j[a+56>>2];n=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];e=j[a+28>>2];g=j[a+48>>2];a:{if(g){if(!e){break a}i=(f|0)<1;while(1){e=e-1|0;a=0;d=0;if(!i){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}o=a>>>7&1;if((o|0)!=(m|0)){h[b|0]=k[g+o|0]}a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+n|0;c=c+l|0;if(e){continue}break}break a}if(!e){break a}g=(f|0)<1;while(1){e=e-1|0;a=0;d=0;if(!g){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}i=a>>>7&1;if((i|0)!=(m|0)){h[b|0]=i}a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+n|0;c=c+l|0;if(e){continue}break}}}function rn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2]>>>8;c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function Ou(a){var b=0,c=0,d=0,e=0;a:{if(!j[a+100>>2]){break a}b=j[67085];c=j[b+120>>2];if(!c){break a}qe[c|0](b,a,j[a+104>>2])|0}b=j[67085];c=j[b+312>>2];d=j[a+48>>2];b:{if(!(!(j[67035]|d&256)|!(d&512))){c:{if(!c|(a|0)==(c|0)){break c}j[c+48>>2]=j[c+48>>2]&-257;d=j[b+128>>2];if(!d){break c}qe[d|0](b,c,0);b=j[67085]}j[b+312>>2]=a;e=1;break b}if((a|0)!=(c|0)){break b}j[b+312>>2]=0}c=j[b+128>>2];if(c){qe[c|0](b,a,e)}d:{if(j[a+120>>2]|!(h[a+48|0]&1)){break d}if(!xg(57913,1)){break d}b=j[67085];if(!b){ve(57733,0);return}if(j[a>>2]!=(b+316|0)){ve(56433,0);return}if(!j[b+100>>2]|k[a+48|0]&64){break d}Xg(a,0);b=j[67085];c=j[b+100>>2];if(!c){break d}qe[c|0](b,a)}}function im(a,b){var c=0,d=0,e=0,f=0,g=0;e=j[a>>2];if(e>>>0>>0){while(1){c=e+1|0;a:{b:{c:{d:{e:{f=k[e|0];switch(f-40|0){case 1:break c;case 0:break d;default:break e}}d=c;if((f|0)!=92){break a}if((b|0)==(c|0)){j[a>>2]=b;return 3}f:{f=k[c|0];switch(f-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break b;default:break f}}d=c;if(b>>>0<=c>>>0){break a}e=0;d=c;if((f&248)!=48){break a}while(1){c=c+1|0;d=c;if(e>>>0>1){break a}d=c;if(b>>>0<=c>>>0){break a}e=e+1|0;if((k[c|0]&248)==48){continue}break}d=c;break a}g=g+1|0;d=c;break a}g=g-1|0;d=c;if(g){break a}j[a>>2]=c;return 0}d=e+2|0}e=d;if(e>>>0>>0){continue}break}}j[a>>2]=e;return 3}function Qk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2];c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function bN(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=oe-208|0;oe=d;j[d+204>>2]=0;a:{b:{c=j[a>>2];b=j[j[c+656>>2]+2952>>2];c=Kf(j[j[c+96>>2]+4>>2],79232);c:{if(!b|!c){break c}b=j[b>>2];if(!b){break c}e=qe[b|0](c)|0;if(!e){break c}b=j[a>>2];f=j[b+656>>2];g=He(j[b+100>>2],1028,d+204|0);b=j[d+204>>2];if(b){break b}Cr(f+1324|0,d+8|0);b=qe[j[e>>2]](j[j[a>>2]+100>>2],d+8|0,g)|0;j[d+204>>2]=b;if(b){break b}i=g+4|0;b=j[f+1896>>2];d:{while(1){if(!b){break d}b=b-1|0;c=b<<2;Cr(j[(c+f|0)+1900>>2],d+8|0);c=qe[j[e>>2]](j[j[a>>2]+100>>2],d+8|0,c+i|0)|0;j[d+204>>2]=c;if(!c){continue}break}h=c;break a}j[a+40>>2]=g}j[a+44>>2]=-1;break a}h=b}oe=d+208|0;return h|0}function 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;e=j[a+656>>2];a:{b:{if(!e){break b}f=j[e+1456>>2];a=6;if((f|0)==65535){break a}if(b){a=j[e+2964>>2];if(!a){h=e;c:{if(f>>>0>=391){f=f-391|0;g=0;if(f>>>0>=m[e+1312>>2]){break c}g=j[j[e+1316>>2]+(f<<2)>>2];break c}a=j[e+2956>>2];g=0;if(!a){break c}g=qe[j[a+20>>2]](f)|0}a=g;j[h+2964>>2]=a}j[b>>2]=a}if(c){a=j[e+2968>>2];if(!a){a=0;b=j[e+1460>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b-391|0;if(b>>>0>=m[e+1312>>2]){break d}a=j[j[e+1316>>2]+(b<<2)>>2];break d}f=j[e+2956>>2];if(!f){break d}a=qe[j[f+20>>2]](b)|0}j[e+2968>>2]=a}j[c>>2]=a}if(!d){break b}j[d>>2]=j[e+1464>>2]}a=0}return a|0}function yk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!(!a|(b|0)==(c|0))){d=(a|0)<0?-1:1;d=(b|0)<0?0-d|0:d;j=(c|0)<0?0-d|0:d;d=2147483647;f=c;c=c>>31;c=f+c^c;a:{if(!c){break a}f=b;b=b>>31;b=f+b^b;f=a;a=a>>31;a=f+a^a;if(b+a>>>0<=131071){d=(p(a,b)>>>0)/(c>>>0)|0;break a}e=b>>>16|0;g=a&65535;b=b&65535;h=a>>>16|0;i=p(e,g)+p(b,h)|0;a=i<<16;f=a;a=a+p(b,g)|0;b=(p(e,h)+(i>>>16|0)|0)+(f>>>0>a>>>0)|0;if(!b){d=(a>>>0)/(c>>>0)|0;break a}if(b>>>0>=c>>>0){break a}e=s(b);g=32-e|0;b=a>>>g|b<>>0)/(c>>>0)|0;b=b-p(c,d)|0;a=a<>>31;b=e-(c>>>0>e>>>0?0:c)|0;d=d<<1|c>>>0<=e>>>0;a=a<<1;g=g-1|0;if(g){continue}break}}a=(j|0)<0?0-d|0:d}return a}function vh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(j[a+64>>2]!=3){j[a+64>>2]=3;e=j[a+20>>2];if(!e){break a}b:{if(k[a+68|0]){d=j[a+12>>2];if((i[d+20>>1]+i[d+56>>1]|0)+1>>>0>m[d+8>>2]){d=yf(d,0,1);if(d){break a}}f=l[e>>1];d=f<<16>>16;if((d|0)<1){break b}i[(j[e+12>>2]+(f<<1)|0)-2>>1]=l[e+2>>1]-1}d=l[e>>1]}i[e>>1]=d+1;d=j[a+12>>2];if((i[d+22>>1]+i[d+58>>1]|0)+1>>>0>m[d+4>>2]){d=yf(d,1,0);if(d){break a}}d=j[a+20>>2];if(k[a+68|0]){e=j[d+8>>2];f=i[d+2>>1];a=j[d+4>>2]+(f<<3)|0;j[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;j[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;h[e+f|0]=1}i[d+2>>1]=l[d+2>>1]+1}d=0}return d|0}function ff(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0;a:{c=j[a+112>>2];d=j[a+116>>2];b:{if(c|d){b=c>>>0<=m[a+120>>2];c=j[a+124>>2];if((d|0)<(c|0)?1:(d|0)<=(c|0)?b:0){break b}}g=XD(a);if((g|0)>-1){break a}}j[a+104>>2]=0;return-1}i=a;b=j[a+116>>2];l=b;d=j[a+8>>2];c=d;f=j[a+112>>2];c:{if(!(b|f)){break c}c=d;e=j[a+120>>2]^-1;f=e+f|0;b=(j[a+124>>2]^-1)+l|0;b=f>>>0>>0?b+1|0:b;l=j[a+4>>2];e=d-l|0;n=f>>>0>=e>>>0;e=e>>31;if((b|0)>(e|0)?1:(e|0)<=(b|0)?n:0){break c}c=f+l|0}j[i+104>>2]=c;i=j[a+4>>2];if(d){c=a;b=(d-i|0)+1|0;d=b+j[a+120>>2]|0;a=j[a+124>>2]+(b>>31)|0;j[c+120>>2]=d;j[c+124>>2]=d>>>0>>0?a+1|0:a}a=i-1|0;if(k[a|0]!=(g|0)){h[a|0]=g}return g}function PH(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;a:{b:{if(!a){break b}b=j[a+8>>2];a=He(b,612,d+8|0);if(j[d+8>>2]){break b}j[a+432>>2]=32;j[a+8>>2]=b;f=a,g=xe(b,16,0,32,0,d+12|0),j[f+436>>2]=g;if(!j[d+12>>2]){j[a+440>>2]=0;j[a+388>>2]=0;j[a+392>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a>>2]=0;j[a+4>>2]=0;break a}j[a+440>>2]=0;b=j[a+8>>2];c=b;e=j[a+24>>2];if(e){qe[j[c+8>>2]](c,e)}j[a+20>>2]=0;j[a+24>>2]=0;c=j[a+436>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+436>>2]=0;j[a+428>>2]=0;j[a+432>>2]=0;c=j[a+392>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+388>>2]=0;j[a+392>>2]=0;j[a>>2]=0;j[a+4>>2]=0;if(a){qe[j[b+8>>2]](b,a)}if(!j[d+12>>2]){break a}}a=0}oe=d+16|0;return a}function Kh(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;j=1;i=d&2147483647;m=i;k=c;a:{if(!c&(i|0)==2147418112?a|b:(i|0)==2147418112&(c|0)!=0|i>>>0>2147418112){break a}l=h&2147483647;n=l;i=g;if(!g&(l|0)==2147418112?e|f:(l|0)==2147418112&(g|0)!=0|l>>>0>2147418112){break a}if(!(a|e|(i|k)|(b|f|(m|n)))){return 0}k=d&h;if((k|0)>0?1:(k|0)>=0){j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:(d|0)<(h|0)?1:(d|0)<=(h|0)?c>>>0>>0:0){break a}return(a^e|c^g)!=0|(b^f|d^h)!=0}j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:(d|0)>(h|0)?1:(d|0)>=(h|0)?c>>>0>g>>>0:0){break a}j=(a^e|c^g)!=0|(b^f|d^h)!=0}return j}function lC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0);e=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);if(e>>>0>=24){f=(e>>>0)/24|0;d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=d;while(1){g=q(n[c+8>>2]*q(.5));n[d>>2]=q(q(n[c>>2]+g)+n[c+16>>2])/q(2.5);n[d+4>>2]=q(q(g+n[c+4>>2])+n[c+20>>2])/q(2.5);d=d+8|0;c=c+24|0;f=f-1|0;if(f){continue}break}}c=(e|0)/3|0;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function Ap(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;a:{if(!a){break a}g=j[a>>2];if(!g){break a}e=j[a+36>>2];if((e|0)>=j[a+32>>2]){break a}h=j[a+16>>2];c=j[h+(e<<2)>>2];if(c&1024){j[a+36>>2]=e+1;b=a;d=j[a+348>>2];a=j[a+344>>2]+1|0;d=a>>>0<1?d+1|0:d;j[b+344>>2]=a;j[b+348>>2]=d;return-1}i=1;if(!b){break a}k=c&256;f=c&512;d=255;c=c&255;b:{if((c|0)!=255){d=c;break b}while(1){e=e+1|0;c=j[(e<<2)+h>>2];f=c&512?512:f;c=c&255;d=c+d|0;if((c|0)==255){continue}break}}j[b+8>>2]=k;j[b+12>>2]=f;j[b>>2]=j[a+12>>2]+g;c=j[a+348>>2];j[b+24>>2]=j[a+344>>2];j[b+28>>2]=c;a=j[a+20>>2]+(e<<3)|0;c=j[a+4>>2];a=j[a>>2];j[b+4>>2]=d;j[b+16>>2]=a;j[b+20>>2]=c}return i}function fM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-32|0;oe=c;d=j[b+96>>2];a:{if((d|0)<0|j[a+300>>2]<=(d|0)){break a}f=j[a+304>>2];if((qe[j[b+52>>2]](b,6,c,3)|0)<6){break a}e=j[c+12>>2];b=e>>31;b=b^b+e;if(!b){break a}g=a,h=De(1e3,b),i[g+68>>1]=h;if((b|0)!=65536){g=c,h=De(j[c>>2],b),j[g>>2]=h;g=c,h=De(j[c+4>>2],b),j[g+4>>2]=h;g=c,h=De(j[c+8>>2],b),j[g+8>>2]=h;g=c,h=De(j[c+16>>2],b),j[g+16>>2]=h;g=c,h=De(j[c+20>>2],b),j[g+20>>2]=h;j[c+12>>2]=j[c+12>>2]<0?-65536:65536}a=p(d,252)+f|0;j[a+216>>2]=j[c>>2];j[a+224>>2]=j[c+4>>2];j[a+220>>2]=j[c+8>>2];j[a+228>>2]=j[c+12>>2];j[a+232>>2]=j[c+16>>2]>>16;j[a+236>>2]=j[c+20>>2]>>16}oe=c+32|0}function zq(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0;c=j[a+28>>2];a:{if((c|0)==-1){break a}e=j[a+36>>2];g=j[a+40>>2];if(e>>>0>=g>>>0){break a}d=c+1|0;i=j[a+16>>2]+20|0;while(1){c=p(e,12)+i|0;b=c-4|0;b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);d=d>>>0>>0?f:d;b=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(d>>>0<=b>>>0){c=k[c+7|0]+((((k[c+4|0]<<24)-f|0)+(k[c+5|0]<<16)|0)+(k[c+6|0]<<8)|0)|0;while(1){f=c+d|0;if(f){j[a+36>>2]=e;j[a+32>>2]=f;j[a+28>>2]=d;return}d=d+1|0;if(b>>>0>=d>>>0){continue}break}}e=e+1|0;if(g>>>0>e>>>0){continue}break}}h[a+24|0]=0}function Qu(a,b,c,d,e){var f=0;a:{if(!a|!b){break a}b:{if(!c){break b}Si(a,b,8192,0);f=ih(a,256);j[b+156>>2]=f;j[a+528>>2]=f;if(d-1>>>0>255){break b}Ae(f,c,d)}c:{if(e){c=k[b+24|0];d:{if(c>>>0>15){break d}c=-1<>1]){break e}break d;case 2:break f;default:break d}}if((c|0)>1]|(c|0)>1]){break e}if((c|0)>=l[e+6>>1]){break d}}Ze(a,5411)}a=l[e+4>>1]|l[e+6>>1]<<16;c=l[e>>1]|l[e+2>>1]<<16;i[b+160>>1]=c;i[b+162>>1]=c>>>16;i[b+164>>1]=a;i[b+166>>1]=a>>>16;i[b+168>>1]=l[e+8>>1];i[b+22>>1]=d?d:1;break c}i[b+22>>1]=d;if(!d){break a}}j[b+8>>2]=j[b+8>>2]|16;j[b+232>>2]=j[b+232>>2]|8192}}function Fg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;f=oe-48|0;oe=f;a:{if(!a){j[f>>2]=55682;ve(55656,f);a=0;break a}if(!b){j[f+16>>2]=55684;ve(55656,f+16|0);a=0;break a}if(!c){j[f+32>>2]=55686;ve(55656,f+32|0);a=0;break a}b:{g=j[a+8>>2];c:{if((g|0)<1){break c}h=j[a+12>>2];if((h|0)<1){break c}i=j[b+8>>2];if((i|0)<1){break c}k=j[b+12>>2];if((k|0)>0){break b}}j[c+8>>2]=0;j[c+12>>2]=0;a=0;break a}d=j[b>>2];e=j[a>>2];l=(d|0)>(e|0)?d:e;j[c>>2]=l;d=d+i|0;e=e+g|0;d=((d|0)<(e|0)?d:e)-l|0;j[c+8>>2]=d;b=j[b+4>>2];a=j[a+4>>2];e=(a|0)<(b|0)?b:a;j[c+4>>2]=e;b=b+k|0;a=a+h|0;a=((a|0)>(b|0)?b:a)-e|0;j[c+12>>2]=a;a=(d|0)>0&(a|0)>0}oe=f+48|0;return a}function rj(a,b,c){var d=0,e=0,f=0,g=0;f=oe-16|0;oe=f;e=j[67085];a:{if(!e){ve(57733,0);break a}if(!(j[a>>2]==(e+316|0)?a:0)){ve(56433,0);break a}if(!(k[b|0]?b:0)){j[f>>2]=56930;ve(56475,f);break a}g=a+140|0;d=j[a+140>>2];if(d){e=0;while(1){b:{a=d;d=j[a>>2];if(!d){break b}if(cf(d,b)){break b}d=j[a+4>>2];if(c){j[a+4>>2]=c;break a}j[(e?e+8|0:g)>>2]=j[a+8>>2];b=j[a>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}break a}e=a;d=j[a+8>>2];if(d){continue}break}}d=0;if(!c){break a}a=qe[j[57972]](12)|0;if(a){j[57976]=j[57976]+1}b=Uf(b);j[a+4>>2]=c;j[a>>2]=b;j[a+8>>2]=j[g>>2];j[g>>2]=a}oe=f+16|0;return d}function gi(a,b,c){var d=0,e=0,f=0;f=oe-32|0;oe=f;a:{if(!a){j[f>>2]=23915;d=ve(23613,f);break a}if(!b){j[f+16>>2]=23922;d=ve(23613,f+16|0);break a}if(!c){break a}if((c|0)%j[a+196>>2]|0){d=ve(23926,0);break a}if(!(j[a+84>>2]|(j[a>>2]|j[a+216>>2]!=j[a+204>>2]))){d=pl(j[a+168>>2],b,c);break a}if((c|0)<1){break a}while(1){d=j[a+184>>2];e=j[a+180>>2];if(!(d|(e|0)>(c|0))){d=Oj(a,b,c,0);break a}if((e|0)>(c+d|0)){Ge(d+j[a+176>>2]|0,b,c);j[a+184>>2]=j[a+184>>2]+c;d=0;break a}e=e-d|0;Ge(d+j[a+176>>2]|0,b,e);j[a+184>>2]=0;if((Oj(a,j[a+176>>2],j[a+180>>2],0)|0)<0){d=-1;break a}b=b+e|0;d=0;c=c-e|0;if((c|0)>0){continue}break}}oe=f+32|0;return d}function AJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=j[a+16>>2];d=k[a+8204|0]|k[a+8205|0]<<8|(k[a+8206|0]<<16|k[a+8207|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(e){a=a+8208|0;d=j[b>>2]+1|0;while(1){a:{c=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d>>>0>>0?f:d;c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);if(d>>>0>(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0){break a}c=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);c=(d-f|0)+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;if(!c){break a}j[b>>2]=d;return c|0}a=a+12|0;e=e-1|0;if(e){continue}break}}j[b>>2]=0;return 0}function EO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;d=k[a+20|0];f=j[a+16>>2];g=j[a+12>>2];a:{b:{if(!we(b,74717)){d=j[c>>2];if(!d){a=35;break a}b=j[d+116>>2];j[e+8>>2]=b;if(!b){a=sk(d,e+8|0,a);if(a){break a}b=j[e+8>>2];j[d+116>>2]=b;j[d+120>>2]=541}j[c+4>>2]=j[b+8>>2];break b}if(!we(b,74660)){j[c>>2]=j[j[(g<<2)+73168>>2]+8>>2];break b}if(!we(b,74676)){j[c>>2]=f;break b}if(!we(b,74691)){d=j[c>>2];if(!d){a=35;break a}b=j[d+116>>2];j[e+12>>2]=b;if(!b){a=sk(d,e+12|0,a);if(a){break a}b=j[e+12>>2];j[d+116>>2]=b;j[d+120>>2]=541}j[c+4>>2]=j[b+12>>2];break b}a=12;if(we(b,74709)){break a}h[c|0]=d}a=0}oe=e+16|0;return a|0}function Cf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;i=j[b+12>>2];g=b;e=j[b+16>>2];k=e;f=e;h=j[a+48>>2];d=j[a+52>>2];if(h>>>0>d>>>0){d=j[a+44>>2]}d=d-h|0;e=d>>>0>e>>>0?f:d;j[g+16>>2]=k-e;j[b+20>>2]=e+j[b+20>>2];d=j[a+56>>2];if(d){d=qe[d|0](j[a+60>>2],h,e)|0;j[a+60>>2]=d;j[b+48>>2]=d}c=(c|0)==-5?e?0:c:c;g=Ae(i,h,e)+e|0;f=e+h|0;if((f|0)==j[a+44>>2]){e=j[a+40>>2];d=j[a+52>>2];if((f|0)==(d|0)){j[a+52>>2]=e;d=e}f=j[b+16>>2];d=d-e|0;d=d>>>0>f>>>0?f:d;j[b+16>>2]=f-d;j[b+20>>2]=d+j[b+20>>2];f=j[a+56>>2];if(f){f=qe[f|0](j[a+60>>2],e,d)|0;j[a+60>>2]=f;j[b+48>>2]=f}f=d+e|0;g=Ae(g,e,d)+d|0;c=(c|0)==-5?d?0:c:c}j[b+12>>2]=g;j[a+48>>2]=f;return c}function Dl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;i=-131;a:{if(j[a+88>>2]<2){break a}if(!j[a+4>>2]){return-138}if(b<0){break a}g=j[a+52>>2];b:{if((g|0)<1){break b}while(1){e=k+Ip(a,d);if(e>b){e=k;break b}l=j[a+68>>2]+(d<<4|8)|0;f=j[l>>2]+h|0;c=j[l+4>>2]+c|0;c=h>>>0>f>>>0?c+1|0:c;h=f;k=e;d=d+1|0;if((g|0)>(d|0)){continue}break}}if((d|0)==(g|0)){break a}f=a;b=(b-e)*+j[(j[a+72>>2]+(d<<5)|0)+8>>2]+(+(h>>>0)+ +(c|0)*4294967296);c:{if(r(b)<0x8000000000000000){c=r(b)>=1?b>0?~~t(v(b*2.3283064365386963e-10),4294967295)>>>0:~~w((b- +(~~b>>>0>>>0))*2.3283064365386963e-10)>>>0:0;a=~~b>>>0;break c}c=-2147483648;a=0}i=Lp(f,a,c)}return i}function YE(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;d=oe;k=d;e=j[a>>2];g=d-((e<<2)+15&-16)|0;oe=g;Fp(e,j[a+24>>2],b,c,q(140),-1);if((e|0)>=1){d=0;while(1){f=d<<2;n[f+g>>2]=n[b+f>>2]-n[c+f>>2];d=d+1|0;if((e|0)!=(d|0)){continue}break}}Fp(e,j[a+24>>2],g,c,q(0),j[j[a+4>>2]+128>>2]);d=0;a:{if((e|0)<=0){break a}while(1){f=d<<2;h=f+g|0;n[h>>2]=n[b+f>>2]-n[h>>2];d=d+1|0;if((e|0)!=(d|0)){continue}break}if((e|0)<1){break a}b=j[a+4>>2];d=0;while(1){f=d<<2;h=f+c|0;i=+n[h>>2]+.5;b:{if(r(i)<2147483648){a=~~i;break b}a=-2147483648}a=(a|0)<39?a:39;n[h>>2]=n[f+g>>2]+n[(b+(((a|0)>0?a:0)<<2)|0)+336>>2];d=d+1|0;if((e|0)!=(d|0)){continue}break}}oe=k}function dz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=q(0),g=0;c=nh(a,32,b+4|0);if(!c){return-1}j[b+8>>2]=1;Ge(c,d,16);b=c;d=j[a+216>>2];a=j[a+220>>2];a:{if(d|a){g=c;f=q(n[e>>2]+q(d|0));b:{if(q(r(f))>2]=d;f=q(n[e+4>>2]+q(a|0));break a}a=c;f=n[e>>2];c:{if(q(r(f))>2]=d;f=n[e+4>>2]}d:{if(q(r(f))>2]=a;a=c;f=n[e+8>>2];e:{if(q(r(f))>2]=b;f=n[e+12>>2];f:{if(q(r(f))>2]=a;return 0}function lq(a,b){var c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;c=j[a>>2];f=j[a+24>>2];i[d+14>>1]=0;i[d+12>>1]=0;i[d+10>>1]=0;i[d+8>>1]=0;g=j[f+8>>2];qe[j[j[c+532>>2]+112>>2]](c,0,b,d+14|0,d+10|0);a:{if(k[c+292|0]){qe[j[j[c+532>>2]+112>>2]](c,1,b,d+12|0,d+8|0);break a}b=j[a+48>>2];if(l[c+364>>1]!=65535){e=i[c+434>>1];i[d+12>>1]=e-b;c=e-i[c+436>>1]|0;b=c>>31;i[d+8>>1]=b^b+c;break a}e=i[c+220>>1];i[d+12>>1]=e-b;c=e-i[c+222>>1]|0;b=c>>31;i[d+8>>1]=b^b+c}b=Fe(f,g);b:{if(b){break b}j[a+52>>2]=i[d+14>>1];c=l[d+10>>1];j[a+56>>2]=c;j[a+176>>2]=i[d+12>>1];j[a+180>>2]=l[d+8>>1];if(k[a+64|0]){break b}j[a+60>>2]=c;h[a+64|0]=1}oe=d+16|0;return b}function kf(a){a=a|0;var b=0,c=0;a:{if(!a|k[a|0]&4){break a}vf(j[a+52>>2]);b=j[a+56>>2];j[a+56>>2]=b-1;if((b|0)>1){break a}b=j[a+28>>2];b:{if((b|0)<1){break b}while(1){c=b-1|0;j[a+28>>2]=c;if((b|0)==1){b=j[a>>2];if(!(b&2)){break b}j[a>>2]=b&-3;Cj(a);b=j[a+28>>2]}else{b=c}if((b|0)>0){continue}break}}if(k[a|0]&2){bi(a,0)}b=j[a+4>>2];if(b){if((Lk(b,0)|0)>=0){vf(j[a+52>>2])}Mk(j[a+4>>2]);j[a+4>>2]=0}c=j[a>>2];c:{if(c&1){break c}b=j[a+20>>2];if(c&8){if(b){b=j[b-4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}break c}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}b=j[a+52>>2];if(b){pv(b)}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function bm(a,b,c,d,e){var f=0,g=0,m=0,n=0,o=0,q=0;f=d>>9;d=(d|0)<0?0-f|0:f;a:{if(k[a+1152|0]&2){d=d&511;if(d>>>0>=257){d=512-d|0;break a}d=(d|0)==256?255:d;break a}d=(d|0)<255?d:255}m=d;if(m){b=j[a+164>>2]+b|0;o=(b|0)<32767?b:32767;b=a+1196|0;d=j[a+1388>>2];g=b+p(d,6)|0;b:{f=j[a+1400>>2];c=j[a+172>>2]+c|0;if((f|0)!=(c|0)|(d|0)<1){break b}f=c;n=g-6|0;q=l[n+2>>1];if((q+i[n>>1]|0)!=(o|0)|k[g-2|0]!=(m|0)){break b}i[n+2>>1]=e+q;return}c:{if(!((c|0)!=(f|0)|(d|0)>31)){b=g;break c}d:{if((d|0)<1){break d}g=j[a+1392>>2];if(!g){break d}qe[g|0](f,d,b,j[a+1396>>2])}j[a+1400>>2]=c;d=0}h[b+4|0]=m;i[b+2>>1]=e;i[b>>1]=o;j[a+1388>>2]=d+1}}function dm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0;if(!a){return 35}f=16;a:{b:{if(l[a+264>>1]<=b>>>0){break b}d=j[a+536>>2];if(!d){return 7}f=0;g=c,i=qe[j[d+16>>2]](0)|0,j[g>>2]=i;e=j[a+468>>2];if((e|0)!=163840){if((e|0)!=131072){if((e|0)!=65536|b>>>0>257){break b}break a}if(!k[a+612|0]){if(uq(a)){break b}}if(l[a+616>>1]<=b>>>0){break b}b=l[j[a+620>>2]+(b<<1)>>1];if(b>>>0<=257){break a}j[c>>2]=j[(j[a+624>>2]+(b<<2)|0)-1032>>2];return 0}if(!k[a+612|0]){if(uq(a)){break b}}if(l[a+616>>1]<=b>>>0){break b}g=c,i=qe[j[d+16>>2]](h[j[a+620>>2]+b|0]+b|0)|0,j[g>>2]=i}return f|0}g=c,i=qe[j[d+16>>2]](b)|0,j[g>>2]=i;return 0}function sz(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0;m=oe-16|0;oe=m;a:{if(!a){ve(44592,0);break a}i=j[a+4>>2];l=k[i+8|0];if(l>>>0<=7){ve(44624,0);break a}if(d-1>>>0<=1){g=(p(g,h)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;e=(p(e,h)>>>0)/255|0}b:{c:{d:{switch(l-15|0){case 0:l=209;if(j[i+12>>2]!=31744){break c}break b;case 17:if(j[i+12>>2]!=16711680){break c}l=j[i+24>>2]?210:211;break b;case 1:break d;default:break c}}l=212;if(j[i+12>>2]==63488){break b}}l=j[i+24>>2]?213:214}if((c|0)<1){break a}i=a+36|0;g=g&255;f=f&255;n=e&255;e=0;while(1){if(Fg((e<<4)+b|0,i,m)){qe[l|0](a,m,d,n,f,g,h)|0}e=e+1|0;if((e|0)!=(c|0)){continue}break}}oe=m+16|0}function js(a,b,c){var d=0,e=0,f=0,g=0,k=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0;l=p(c,1468)+a|0;f=j[l- -64>>2];a=j[l+56>>2];g=p(c,1572)+b|0;n=j[g+44>>2];b=ye(m[b+40>>2]/40|0,n);if((a|0)>=1){s=(b|0)<32?b:32;t=p(a,48)+f|0;a=j[g+260>>2];b=a;while(1){if(b){b=0;c=s;k=0;while(1){e=p(b,28)+g|0;d=j[e+288>>2];if(!(!(d&1)|(d&2)>>>1^j[l+68>>2]!=h[f+13|0])){a=i[f>>1];o=a-j[e+264>>2]|0;d=o>>31;q=a-j[e+276>>2]|0;r=q>>31;e=(d^d+o)>(r^r+q)?e+276|0:e+264|0;d=a-j[e>>2]|0;a=d>>31;d=ye(a^a+d,n);a=(d|0)<(c|0);c=a?d:c;k=a?e:k;a=j[g+260>>2]}b=b+1|0;if(b>>>0>>0){continue}break}if(k){j[f+20>>2]=k}b=a}else{b=0}f=f+48|0;if(t>>>0>f>>>0){continue}break}}}function xq(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=j[a+28>>2];a:{if((c|0)==-1){break a}d=j[a+36>>2];f=j[a+40>>2];if(d>>>0>=f>>>0){break a}e=c+1|0;g=j[a+16>>2]+20|0;while(1){b:{c=p(d,12)+g|0;b=c-4|0;b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=b>>>0>e>>>0?b:e;b=c;b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);if(e>>>0>(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0){break b}c=k[c+4|0]|k[c+5|0]<<8|(k[c+6|0]<<16|k[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){break b}j[a+36>>2]=d;j[a+32>>2]=c;j[a+28>>2]=e;return}d=d+1|0;if(f>>>0>d>>>0){continue}break}}h[a+24|0]=0}function Dw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+63|0];n=k[a+62|0];o=k[a+61|0];q=k[a+60|0];b=j[a+52>>2];r=b&2;s=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){t=a;h=j[a+24>>2];if(h){while(1){b=j[g>>2];c=b&255;i=b>>>8&255;l=b>>>16&255;u=f;if(s){i=(p(i,o)>>>0)/255|0;l=(p(l,q)>>>0)/255|0;c=(p(c,n)>>>0)/255|0}b=b>>>24|0;j[u>>2]=c|(i<<8|l<<16)|(r?(p(b,m)>>>0)/255|0:b)<<24;f=f+4|0;g=g+4|0;h=h-1|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[t+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function Bv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+63|0];n=k[a+62|0];o=k[a+61|0];q=k[a+60|0];b=j[a+52>>2];r=b&2;s=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){t=a;h=j[a+24>>2];if(h){while(1){b=j[g>>2];c=b>>>24|0;i=b>>>8&255;l=b>>>16&255;u=f;if(s){i=(p(i,q)>>>0)/255|0;l=(p(l,o)>>>0)/255|0;c=(p(c,n)>>>0)/255|0}b=b&255;j[u>>2]=c|(l<<8|i<<16)|(r?(p(b,m)>>>0)/255|0:b)<<24;f=f+4|0;g=g+4|0;h=h-1|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[t+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function kw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+63|0];n=k[a+62|0];o=k[a+61|0];q=k[a+60|0];b=j[a+52>>2];r=b&2;s=b&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){t=a;h=j[a+24>>2];if(h){while(1){b=j[g>>2];c=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(s){i=(p(i,n)>>>0)/255|0;l=(p(l,o)>>>0)/255|0;c=(p(c,q)>>>0)/255|0}b=b&255;j[d>>2]=l<<8|c<<16|i|(r?(p(b,m)>>>0)/255|0:b)<<24;d=d+4|0;g=g+4|0;h=h-1|0;if(h){continue}break}d=j[a+28>>2]}else{d=c}b=d;c=b-1|0;j[t+28>>2]=c;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(b){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function _l(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=c;f=j[a+696>>2];a:{if(f>>>0>b>>>0){d=j[a+700>>2];b:{if(l[a+210>>1]){b=d+(b<<2)|0;c=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=c;b=b+8|0;if(b>>>0>d+(f<<2)>>>0){break b}b=b-4|0;b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}e=d+(b<<1)|0;b=k[e|0]<<8|k[e+1|0];c=b<<1;f=d+(f<<1)|0;d=e+4|0;if(f>>>0>=d>>>0){b=d-2|0;b=k[b|0]<<8|k[b+1|0]}e=b<<1}d=0;a=j[a+668>>2];b=0;if(a>>>0>>0){break a}b=a;a=a>>>0>>0?a:e;d=c;a=a>>>0>>0?b:a}else{a=0}b=a-d|0}j[g>>2]=b;return d|0}function Wv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){n=k[a+63|0];o=k[a+62|0];q=k[a+61|0];r=k[a+60|0];b=j[a+52>>2];s=b&2;t=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){u=a;h=j[a+24>>2];if(h){while(1){c=j[g>>2];i=c&255;l=c>>>8&255;b=c>>>16&255;h=h-1|0;m=c>>>24|0;c=f;if(t){l=(p(l,q)>>>0)/255|0;i=(p(i,r)>>>0)/255|0;b=(p(b,o)>>>0)/255|0}j[c>>2]=l<<8|i<<16|b|(s?(p(m,n)>>>0)/255|0:m)<<24;f=f+4|0;g=g+4|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[u+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function qg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=oe-16|0;oe=f;j[f+12>>2]=0;e=6;a:{if(!a|!c){break a}g=j[c>>2];if(!g){break a}h=j[g+100>>2];e=He(h,j[a>>2],f+12|0);b:{if(j[f+12>>2]){break b}i=j[c+4>>2];j[e>>2]=j[c>>2];j[e+4>>2]=i;j[e+8>>2]=j[c+8>>2];j[e+12>>2]=a;c:{a=j[a+4>>2];if(a){a=qe[a|0](e,b)|0;j[f+12>>2]=a;if(a){break c}}a=j[g+36>>2];a=xe(h,4,a,a+1|0,j[g+40>>2],f+12|0);j[g+40>>2]=a;if(j[f+12>>2]){break c}b=j[g+36>>2];j[g+36>>2]=b+1;j[a+(b<<2)>>2]=e;break b}a=j[j[e>>2]+100>>2];b=j[j[e+12>>2]+8>>2];if(b){qe[b|0](e)}if(e){qe[j[a+8>>2]](a,e)}e=0}if(d){j[d>>2]=e}e=j[f+12>>2]}oe=f+16|0;return e|0}function iL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0;f=oe-16|0;oe=f;Qf(a,j[a+8>>2]);g=j[a+8>>2];d=j[a>>2];j[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}l=k[d|0];e=93;b:{c:{if((l|0)==91){break c}e=1;if((l|0)!=123){break b}e=125}m=e;d=d+1|0;j[f+12>>2]=d;e=0}l=e;if(d>>>0>=g>>>0){break a}while(1){Qf(f+12|0,g);e=j[f+12>>2];if(e>>>0>=g>>>0){d=e;break a}if(k[e|0]==(m|0)){d=e+1|0;break a}if(!(!c|(b|0)>(h|0))){d=e;break a}n=c?(h<<1)+c|0:f+10|0,o=wh(f+12|0,g,0)>>>16|0,i[n>>1]=o;d=j[f+12>>2];if((e|0)==(d|0)){h=-1;d=e;break a}h=h+1|0;if(l){break a}if(d>>>0>>0){continue}break}}j[a>>2]=d;oe=f+16|0;return h|0}function hL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0;g=oe-16|0;oe=g;Qf(a,j[a+8>>2]);h=j[a+8>>2];e=j[a>>2];j[g+12>>2]=e;a:{if(e>>>0>=h>>>0){break a}l=k[e|0];f=93;b:{c:{if((l|0)==91){break c}f=1;if((l|0)!=123){break b}f=125}m=f;e=e+1|0;j[g+12>>2]=e;f=0}l=f;if(e>>>0>=h>>>0){break a}while(1){Qf(g+12|0,h);f=j[g+12>>2];if(f>>>0>=h>>>0){e=f;break a}if(k[f|0]==(m|0)){e=f+1|0;break a}if(!(!c|(b|0)>(i|0))){e=f;break a}n=c?(i<<2)+c|0:g+8|0,o=wh(g+12|0,h,d),j[n>>2]=o;e=j[g+12>>2];if((f|0)==(e|0)){i=-1;e=f;break a}i=i+1|0;if(l){break a}if(e>>>0>>0){continue}break}}j[a>>2]=e;oe=g+16|0;return i|0}function eC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0),j=q(0);c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);g=c<<1;f=c>>>3|0;if(f){e=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=e+c|0;d=e+g|0;while(1){e=c-8|0;i=n[e>>2];j=n[c-4>>2];n[d-4>>2]=j;n[d-8>>2]=i;n[d-12>>2]=j;d=d-16|0;n[d>>2]=i;c=e;f=f-1|0;if(f){continue}break}}c=g;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function jp(a,b,c,d,e){var f=0,g=0,i=0;f=oe-208|0;oe=f;j[f+204>>2]=c;Ee(f+160|0,0,40);j[f+200>>2]=j[f+204>>2];a:{if((wl(0,b,f+200|0,f+80|0,f+160|0,d,e)|0)<0){b=-1;break a}g=j[a+76>>2]>=0;c=j[a>>2];if(h[a+74|0]<=0){j[a>>2]=c&-33}i=c&32;b:{if(j[a+48>>2]){b=wl(a,b,f+200|0,f+80|0,f+160|0,d,e);break b}j[a+48>>2]=80;j[a+16>>2]=f+80;j[a+28>>2]=f;j[a+20>>2]=f;c=j[a+44>>2];j[a+44>>2]=f;d=wl(a,b,f+200|0,f+80|0,f+160|0,d,e);b=d;if(!c){break b}qe[j[a+36>>2]](a,0,0)|0;j[a+48>>2]=0;j[a+44>>2]=c;j[a+28>>2]=0;j[a+16>>2]=0;b=j[a+20>>2];j[a+20>>2]=0;b=b?d:-1}c=a;a=j[a>>2];j[c>>2]=a|i;b=a&32?-1:b;if(!g){break a}}oe=f+208|0;return b}function gs(a){var b=0,c=0,d=0;if(a){c=j[a>>2];b=c;d=j[a+24>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+24>>2]=0;b=j[a+28>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+32>>2]=0;b=j[a+40>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+40>>2]=0;b=j[a+52>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;j[a+44>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+12>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a+88>>2]=0;d=j[a+32>>2];b=a- -64|0;j[b>>2]=j[a+28>>2];j[b+4>>2]=d;b=j[a+40>>2];j[a+72>>2]=j[a+36>>2];j[a+76>>2]=b;b=j[a+24>>2];j[a+56>>2]=j[a+20>>2];j[a+60>>2]=b;b=j[a+48>>2];j[a+80>>2]=j[a+44>>2];j[a+84>>2]=b;if(a){qe[j[c+8>>2]](c,a)}}}function 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,k=0,l=0,m=0;f=oe-128|0;oe=f;if((c|0)>=1){l=(p((b|0)!=0,36)+a|0)+16|0;while(1){i=(c|0)<16?c:16;g=i<<1;b=0;while(1){e=b<<2;m=e+f|0;k=j[d+e>>2]+k|0;e=k;h=e+32768&-65536;if((e|0)<0){h=0-(32768-e&-65536)|0}j[m>>2]=h>>16;b=b+1|0;if((g|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;h=(e|4)+f|0;j[h>>2]=j[h>>2]-j[e+f>>2];b=b+2|0;if((g|0)>(b|0)){continue}break}a:{if(j[a+4>>2]){break a}b=f;g=i;while(1){e=ej(l,j[b>>2],j[b+4>>2],j[a>>2],0);if(e){j[a+4>>2]=e;break a}b=b+8|0;e=(g|0)>1;g=g-1|0;if(e){continue}break}}c=c-i|0;if((c|0)>0){continue}break}}oe=f+128|0}function jI(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;b=Te(40);j[b>>2]=0;j[e+12>>2]=0;f=ki(a,1,b,4);g=C()|0;h=a+1136|0;while(1){a:{b:{c:{if(!c){j[67126]=0;i=T(885,h|0,157872,a|0)|0;c=j[67126];j[67126]=0;b=-1;if(!c){break b}d=j[67127];if(!d){break b}b=ef(j[c>>2],f,g);if(b){break c}F(c|0,d|0);z()}j[e+12>>2]=64;break a}D(d|0)}c=C()|0;if((b|0)==1){continue}j[e+12>>2]=i;if(j[a+196>>2]){break a}j[67126]=0;I(886,a|0);c=j[67126];j[67126]=0;b=-1;d:{if(!c){break d}d=j[67127];if(!d){break d}b=ef(j[c>>2],f,g);if(!b){F(c|0,d|0);z()}D(d|0)}c=C()|0;if((b|0)==1){continue}}break}a=j[e+12>>2];ze(f);oe=e+16|0;return a}function iE(a,b){var c=0,d=0;d=oe-32|0;oe=d;a:{b:{c:{if(!$g(226816,h[b|0])){j[67100]=28;break c}c=Te(1176);if(c){break b}}c=0;break a}Ee(c,0,144);if(!$g(b,43)){j[c>>2]=k[b|0]==114?8:4}d:{if(k[b|0]!=97){b=j[c>>2];break d}b=Y(a|0,3,0)|0;if(!(b&1024)){j[d+16>>2]=b|1024;Y(a|0,4,d+16|0)|0}b=j[c>>2]|128;j[c>>2]=b}h[c+75|0]=255;j[c+48>>2]=1024;j[c+60>>2]=a;j[c+44>>2]=c+152;e:{if(b&8){break e}j[d>>2]=d+24;if(Na(a|0,21523,d|0)|0){break e}h[c+75|0]=10}j[c+40>>2]=1063;j[c+36>>2]=1064;j[c+32>>2]=1065;j[c+12>>2]=1066;if(!j[67102]){j[c+76>>2]=-1}j[c+56>>2]=j[67123];a=j[67123];if(a){j[a+52>>2]=c}j[67123]=c}oe=d+32|0;return c}function TL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=oe-16|0;oe=d;a:{b:{if(jr(a,b)){mk(b);e=b+132|0;f=dM(e,a);if((f&255)==7){break b}if(f){f=XL(e,a);if(f|(f&255)==7){break b}}j[b+104>>2]=e;j[b+172>>2]=a;if(jr(e,b)){break b}}if((c|0)>=1){mk(b);a=6;break a}a=d;f=a;c:{d:{c=j[b+180>>2];e:{if(!c){break e}e=j[b+176>>2];if(!e|(k[c|0]|32)!=105|((k[c+1|0]|32)!=115|(k[c+2|0]|32)!=111)){break e}c=c+3|0;if(!we(c,90724)){break d}if(we(c,90730)){break e}if(!we(e,90735)){break d}}j[d>>2]=b;c=0;b=0;break c}j[d>>2]=b;c=65539;b=1970170211}j[f+4>>2]=b;j[a+8>>2]=c;a=qg(90740,0,d,0);break a}mk(b);a=2}oe=d+16|0;return a|0}function wq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;a:{b:{f=j[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;g=f<<1;l=g+2|0;m=j[a+16>>2]+14|0;while(1){c=(b<<1)+m|0;e=k[c|0]<<8|k[c+1|0];j[a+44>>2]=e;c=c+l|0;h=k[c|0]<<8|k[c+1|0];j[a+40>>2]=h;c=c+g|0;d=k[c|0]|k[c+1|0]<<8;j[a+48>>2]=(d<<24|d<<8&16711680)>>16;d=c+g|0;c=k[d|0]<<8|k[d+1|0];c:{if((e|0)!=65535|b>>>0>>0|(h|0)!=65535){break c}if(!c){break b}e=j[a>>2];if((c+d|0)+2>>>0<=j[e+500>>2]+j[e+504>>2]>>>0){break c}j[a+48>>2]=1;break b}if((c|0)!=65535){if(!c){break b}c=c+d|0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}return-1}c=0}j[a+36>>2]=b;j[a+52>>2]=c;return 0}function jO(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=j[b+72>>2];if((f|0)==1651078259){return 0}a:{b:{c:{if((f|0)!=1869968492){g=7;if(!a){break b}d=j[a+148>>2];if(!d){break b}while(1){e=j[d+8>>2];if((f|0)==j[e+16>>2]){break c}d=j[d+4>>2];if(d){continue}break}break b}e=j[a+156>>2];if(!e){break a}d=j[a+148>>2]}g=0;e=qe[j[e+60>>2]](e,b,c,0)|0;if(!e){break b}h=a+148|0;while(1){d:{e:{if(!a|(e&255)!=19){break e}d=j[(d?d+4|0:h)>>2];if(!d){break e}g=j[b+72>>2];while(1){f=j[d+8>>2];if((g|0)==j[f+16>>2]){break d}d=j[d+4>>2];if(d){continue}break}}g=e;break b}g=0;e=qe[j[f+60>>2]](f,b,c,0)|0;if(e){continue}break}}return g}return 7}function Wy(a,b){var c=0,d=0,e=0,f=0;a:{if((a|0)<=-1){h[b|0]=45;a=0-a|0;e=b+1|0;c=e;while(1){d=(a>>>0)/10|0;h[c|0]=k[(a-p(d,10)|0)+44848|0];c=c+1|0;f=a>>>0>=10;a=d;if(f){continue}break}h[c|0]=0;c=Le(e);a=c>>>1|0;if(!a){break a}d=b+c|0;while(1){b=k[e|0];h[e|0]=k[d|0];h[d|0]=b;d=d-1|0;e=e+1|0;a=a-1|0;if(a){continue}break}break a}b:{if(a){c=b;while(1){d=(a>>>0)/10|0;h[c|0]=k[(a-p(d,10)|0)+44848|0];c=c+1|0;e=a>>>0<10;a=d;if(!e){continue}break}break b}h[b|0]=48;c=b+1|0}h[c|0]=0;a=Le(b);c=a>>>1|0;if(!c){break a}d=(a+b|0)-1|0;a=b;while(1){b=k[a|0];h[a|0]=k[d|0];h[d|0]=b;d=d-1|0;a=a+1|0;c=c-1|0;if(c){continue}break}}}function MB(a,b){a=a|0;b=b|0;var c=0,d=q(0),e=0,f=0;e=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>2|0;if(e){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){f=b;d=n[b>>2];c=2147483647;a:{if(d>=q(1)){break a}c=-2147483648;if(d<=q(-1)){break a}d=q(d*q(8388607));b:{if(q(r(d))>2]=c;b=b+4|0;e=e-1|0;if(e){continue}break}}b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,32800)}}function Bk(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=oe-16|0;oe=c;j[a+800>>2]=33;pf(a,c+8|0,8);a:{b=k[c+8|0]|k[c+9|0]<<8|(k[c+10|0]<<16|k[c+11|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if((e|0)>-1){b=k[c+12|0]|k[c+13|0]<<8|(k[c+14|0]<<16|k[c+15|0]<<24);j[a+376>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);f=a,g=Sf(0,0,0),j[f+412>>2]=g;tf(a,c+12|0,4);b=j[a+376>>2];d=b&255;if(d-65>>>0>57|d-91>>>0<=5){break a}d=b>>>8&255;if(d-65>>>0>57|d-91>>>0<6){break a}d=b>>>16&255;if(d-65>>>0>57|d-91>>>0<6){break a}b=b>>>24|0;if(b-65>>>0>57|b-91>>>0<6){break a}j[a+800>>2]=65;oe=c+16|0;return e}Ye(a,5676);z()}hf(a,6627);z()}function $p(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=oe-32|0;oe=c;a:{if((qe[j[b+52>>2]](b,6,c,3)|0)<=5){j[b+12>>2]=3;break a}e=j[c+12>>2];d=e>>31;d=d^d+e;if(!d){j[b+12>>2]=3;break a}f=a,g=De(1e3,d),i[f+68>>1]=g;b:{if((d|0)==65536){b=j[c+20>>2];d=j[c+12>>2];break b}f=c,g=De(j[c>>2],d),j[f>>2]=g;f=c,g=De(j[c+4>>2],d),j[f+4>>2]=g;f=c,g=De(j[c+8>>2],d),j[f+8>>2]=g;f=c,g=De(j[c+16>>2],d),j[f+16>>2]=g;b=De(j[c+20>>2],d);j[c+20>>2]=b;d=j[c+12>>2]<0?-65536:65536;j[c+12>>2]=d}j[a+436>>2]=j[c>>2];j[a+444>>2]=j[c+4>>2];e=j[c+8>>2];j[a+448>>2]=d;j[a+440>>2]=e;d=j[c+16>>2];j[a+456>>2]=b>>16;j[a+452>>2]=d>>16}oe=c+32|0}function vy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;f=j[a+24>>2];i=j[a+16>>2]+(f+((f+7|0)/-8|0)|0)|0;l=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];e=j[a+28>>2];g=j[a+48>>2];a:{if(g){if(!e){break a}m=(f|0)<1;while(1){e=e-1|0;d=0;a=0;if(!m){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}h[b|0]=k[g+((a&128)>>>7|0)|0];a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+l|0;c=c+i|0;if(e){continue}break}break a}if(!e){break a}g=(f|0)<1;while(1){e=e-1|0;d=0;a=0;if(!g){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}h[b|0]=(a&128)>>>7;a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+l|0;c=c+i|0;if(e){continue}break}}}function io(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-16|0;oe=c;j[b>>2]=0;a:{if(!a){break a}b:{if(k[a|0]!=64){j[c+12>>2]=a;break b}d=cB(fi(a+1|0,30131));j[c+12>>2]=d;a=d;if(!a){break a}}a=jh(a,31147);j[c+12>>2]=a;c:{if(!a){break c}while(1){f=Gn(a,c+12|0);a=jh(j[c+12>>2],31147);j[c+12>>2]=a;if(!a){break c}g=Gn(a,c+12|0);a=j[b>>2];d:{if((a|0)!=j[b+4>>2]){e=j[b+8>>2];break d}a=a+16|0;e=mf(j[b+8>>2],a<<2);if(!e){break c}j[b+4>>2]=a;j[b+8>>2]=e;a=j[b>>2]}j[b>>2]=a+1;j[(a<<2)+e>>2]=g&65535|f<<16;a=jh(j[c+12>>2],31147);j[c+12>>2]=a;if(a){continue}break}}if(!d){break a}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}}oe=c+16|0}function Ze(a,b){var c=0,d=0,e=0;d=oe-16|0;oe=d;a:{b:{if(!a){break b}c=0;c:{if(k[b|0]!=35){break c}c=1;if(k[b+1|0]==32){break c}c=2;if(k[b+2|0]==32){break c}c=3;if(k[b+3|0]==32){break c}c=4;if(k[b+4|0]==32){break c}c=5;if(k[b+5|0]==32){break c}c=6;if(k[b+6|0]==32){break c}c=7;if(k[b+7|0]==32){break c}c=8;if(k[b+8|0]==32){break c}c=9;if(k[b+9|0]==32){break c}c=10;if(k[b+10|0]==32){break c}c=11;if(k[b+11|0]==32){break c}c=12;if(k[b+12|0]==32){break c}c=13;if(k[b+13|0]==32){break c}c=k[b+14|0]==32?14:15}e=j[a+172>>2];if(!e){break b}qe[e|0](a,b+c|0);break a}j[d>>2]=b+c;a=j[56878];_j(a,8219,d);zl(a)}oe=d+16|0}function qr(a){var b=0,c=0,d=0;b=oe-16|0;oe=b;c=Fe(a,0);j[b+12>>2]=c;a:{if(c){break a}c=uf(a,b+8|0,4);j[b+12>>2]=c;if(c){break a}c=3;if(k[b+8|0]!=31|k[b+9|0]!=139|(k[b+10|0]!=8|k[b+11|0]>31)){break a}c=xf(a,6);j[b+12>>2]=c;d=k[b+11|0];if(d&4){d=Or(a,b+12|0);c=j[b+12>>2];if(c){break a}c=xf(a,d);j[b+12>>2]=c;if(c){break a}c=0;d=k[b+11|0]}if(d&8){while(1){d=hg(a,b+12|0)?0:3;c=j[b+12>>2];d=c?2:d;if(!d){continue}break}if((d|0)!=3){break a}d=k[b+11|0]}if(d&16){while(1){d=hg(a,b+12|0)?0:5;c=j[b+12>>2];d=c?2:d;if(!d){continue}break}if((d|0)!=5){break a}d=k[b+11|0]}if(!(d&2)){break a}c=xf(a,2)}oe=b+16|0;return c}function TD(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0;g=oe-16|0;oe=g;e=c?c:268480;c=j[e>>2];a:{b:{c:{if(!b){if(c){break c}break a}d=-2;i=a?a:g+12|0;d:{if(c){a=1;break d}a=k[b|0];c=a<<24>>24;if((c|0)>=0){j[i>>2]=a;d=(c|0)!=0;break a}a=h[b|0];if(!j[j[58826]>>2]){j[i>>2]=a&57343;d=1;break a}a=(a&255)-194|0;if(a>>>0>50){break c}c=j[(a<<2)+227888>>2];break b}f=k[b|0];l=f>>>3|0;if((l-16|(c>>26)+l)>>>0>7){break c}while(1){a=a-1|0;c=f-128|c<<6;if((c|0)>=0){j[e>>2]=0;j[i>>2]=c;d=1-a|0;break a}if(!a){break b}b=b+1|0;f=k[b|0];if((f&192)==128){continue}break}}j[e>>2]=0;j[67100]=25;d=-1;break a}j[e>>2]=c}oe=g+16|0;return d}function Lu(a,b,c){var d=0,e=0,f=0,g=0;g=1;a:{if(!b|(!c|!a)){break a}d=Pk(a,j[b+244>>2],j[b+248>>2],1,16);if(!d){Pf(a,5461,1);return}Ke(a,j[b+244>>2]);j[b+244>>2]=d;j[b+232>>2]=j[b+232>>2]|32;d=d+(j[b+248>>2]<<4)|0;while(1){e=j[c>>2];b:{if(!(j[c+8>>2]?e:0)){xi(a,5482);break b}h[d+4|0]=k[c+4|0];f=Le(e)+1|0;e=$f(a,f);j[d>>2]=e;c:{if(e){Ae(e,j[c>>2],f);e=Dx(a,j[c+12>>2]);j[d+8>>2]=e;if(e){break c}Ke(a,j[d>>2]);j[d>>2]=0}if((g|0)<1){break a}Pf(a,5509,1);return}f=j[c+12>>2];j[d+12>>2]=f;Ae(e,j[c+8>>2],p(f,10));j[b+8>>2]=j[b+8>>2]|8192;j[b+248>>2]=j[b+248>>2]+1;d=d+16|0}c=c+16|0;g=g-1|0;if(g){continue}break}}}function pq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=qe[j[a+592>>2]](a)|0;f=j[b>>2];a:{if(!f){break a}h=a+36|0;e=1;while(1){b=j[a+28>>2];if((b|0)<=1){if(k[a+561|0]){j[a+12>>2]=129}j[a+28>>2]=0;break a}c=b-2|0;j[a+28>>2]=c;d=b<<2;b=j[a+24>>2];d=l[(d+b|0)-4>>1];b:{if(d>>>0>1]){c=j[b+(c<<2)>>2];b=c>>>4&15;c:{d:{switch(k[a+368|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((l[a+332>>1]+b|0)!=(g|0)){break b}b=c&15;qe[j[a+584>>2]](a,h,d,(b>>>0>7?-7:-8)+b<<6-l[a+334>>1]);break b}if(!k[a+561|0]){break b}j[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}j[a+32>>2]=j[a+28>>2]}function gf(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0;i=a,l=sg(),j[i+4>>2]=l;b=j[66362];d=j[66361];a:{b:{if((d|0)<1?!b:0){break b}if(b){if(!(qe[b|0](j[66363],a)|0)){break a}d=j[66361]}if((d|0)<1){break b}h[265460]=1;while(1){b=j[66360]+p(c,12)|0;if(!j[b+8>>2]){qe[j[b>>2]](j[b+4>>2],a)|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}h[265460]=0;if(!k[265464]){break b}c=j[66361];if(c){while(1){e=j[66360];b=c;c=b-1|0;f=e+p(c,12)|0;c:{if(!j[f+8>>2]){break c}g=j[66361];d=g-1|0;j[66361]=d;if((b|0)>=(g|0)){break c}Li(f,p(b,12)+e|0,p(d-c|0,12))}if(c){continue}break}}h[265464]=0}if((qh(a,1,0,0,0)|0)<1){return}FB(a)}}function _s(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=oe-16|0;oe=e;if(!(c?!b:0)){b=Mf(d?69881:69901);c=b?b:d?69919:69935}f=Mf(69770);b=qe[j[57972]](12)|0;if(b){j[57976]=j[57976]+1}j[a+96>>2]=b;a:{if(!b){b=Be(0);break a}Oe(b,0,12);b:{if(f){b=rf(f);break b}b=(p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0}j[j[a+96>>2]+4>>2]=b;f=fi(c,d?69789:69792);j[j[a+96>>2]>>2]=f;b=-1;if(!f){break a}b=69857;if(!d){b=j[a+16>>2];b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}j[j[a+96>>2]+8>>2]=b;if(!b){b=Be(0);break a}Oe(b,k[a+11|0],j[a+16>>2]);b=69870}Io(69795,0);j[e+4>>2]=c;j[e>>2]=b;Io(69841,e);b=0}oe=e+16|0;return b|0}function AG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;d=oe+ -64|0;oe=d;j[d+8>>2]=0;qe[j[b+60>>2]](b,d+16|0,4,d+12|0);c=j[d+12>>2];a:{if((c|0)<0){c=162;break a}if(!c){c=3;break a}if((c|0)>4){c=3;break a}c=hk(a,0,c);j[d+8>>2]=c;if(c){break a}if(j[d+12>>2]<1){c=0;break a}i=j[a+100>>2];l=j[a+528>>2];while(1){a=(d+16|0)+p(e,12)|0;c=j[a>>2];if(k[c|0]==47){c=c+1|0;j[a>>2]=c}f=j[a+4>>2]-c|0;if(!f){c=3;break a}g=He(i,f+1|0,d+8|0);j[((e<<2)+l|0)+8>>2]=g;c=j[d+8>>2];if(c){break a}m=Ae(g,j[a>>2],f)+f|0,n=0,h[m|0]=n;e=e+1|0;if((e|0)>2]){continue}break}c=j[d+8>>2]}j[b+12>>2]=c;oe=d- -64|0}function Nz(a,b,c,d){var e=0,f=0,g=0,l=0,m=0,n=0,o=0;if(!a){ve(44160,0);return}if(k[j[a+4>>2]+8|0]<=7){ve(44236,0);return}if((c|0)>=1){l=j[a+40>>2];n=l+j[a+48>>2]|0;m=j[a+36>>2];o=m+j[a+44>>2]|0;while(1){e=(g<<3)+b|0;f=j[e+4>>2];a:{if((n|0)<=(f|0)){break a}e=j[e>>2];if((e|0)<(m|0)|(e|0)>=(o|0)|(f|0)<(l|0)){break a}b:{switch(k[j[a+4>>2]+9|0]-1|0){case 0:h[e+(j[a+20>>2]+p(j[a+16>>2],f)|0)|0]=d;break a;case 1:i[(j[a+20>>2]+p(j[a+16>>2],f)|0)+(e<<1)>>1]=d;break a;case 2:Be(4);return;case 3:break b;default:break a}}j[(j[a+20>>2]+p(j[a+16>>2],f)|0)+(e<<2)>>2]=d}g=g+1|0;if((g|0)!=(c|0)){continue}break}}}function Om(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(b){if(!a){return(b|0)>-1?0-c|0:c}if(!d){return(c|0)>-1?b:0-b|0}if(!c){return(d|0)>-1?0-a|0:a}e=d>>>16|0;f=a&65535;g=p(e,f);h=d&65535;i=a>>>16|0;d=g+p(h,i)|0;a=d<<16;j=c>>>16|0;k=b&65535;l=p(j,k);m=c&65535;n=b>>>16|0;b=l+p(m,n)|0;c=b<<16;e=(p(i,e)+(d>>>16|0)|0)+((d>>>0>>0)<<16)|0;d=a+p(h,f)|0;a=e+(d>>>0>>0)|0;e=(p(n,j)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0;b=c+p(m,k)|0;c=e+(b>>>0>>0)|0;e=1;a:{if(a>>>0>c>>>0){break a}e=-1;if(a>>>0>>0){break a}e=1;if(b>>>0>>0){break a}e=b>>>0>d>>>0?-1:0}return e}return(a|0)>-1?d:0-d|0}function lF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;c=j[a+64>>2];f=j[c+104>>2];g=j[j[c+4>>2]+28>>2];Rp(a);h=j[b+4>>2];d=a+4|0;c=d;e=j[b>>2];j[c+12>>2]=e;j[c>>2]=0;j[c+4>>2]=0;j[c+16>>2]=h;j[c+8>>2]=e;a:{if(Ce(c,1)){break a}c=Ce(d,j[f+44>>2]);if((c|0)==-1){break a}j[a+40>>2]=c;c=j[((c<<2)+g|0)+32>>2];if(!c){break a}c=j[c>>2];j[a+28>>2]=c;b:{if(c){i=a,k=Ce(d,1),j[i+24>>2]=k;c=Ce(d,1);j[a+32>>2]=c;if((c|0)!=-1){break b}break a}j[a+32>>2]=0;j[a+24>>2]=0}c=j[b+20>>2];j[a+48>>2]=j[b+16>>2];j[a+52>>2]=c;c=j[b+28>>2];j[a+56>>2]=j[b+24>>2];j[a+60>>2]=c;b=j[b+12>>2];j[a+36>>2]=0;j[a+44>>2]=b;j[a>>2]=0}}function Hy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if((c|0)>=1){h=j[(k[d+22|0]<<2)+234976>>2];i=j[(k[d+21|0]<<2)+234976>>2];l=j[(k[d+20|0]<<2)+234976>>2];m=k[e+35|0];n=k[e+31|0];o=k[e+34|0];p=k[e+30|0];q=k[e+33|0];r=k[e+29|0];s=k[e+32|0];t=k[e+28|0];u=k[d+26|0];v=k[d+25|0];w=k[d+24|0];e=0;while(1){f=j[b>>2];g=f&-993|f>>>16;j[a>>2]=k[((g&j[d+8>>2])>>>v|0)+i|0]>>>r<>2]&g)>>>w|0)+l|0]>>>t<>2]&g)>>>u|0)+h|0]>>>p<>>2&248)>>>n<=(b|0)){break a}Qj(j[65564]);d=j[65566];e=p(a,60);if(j[(d+e|0)+4>>2]){b=j[65570];if(b){qe[b|0](a);d=j[65566]}f=p(a,60);b=f+d|0;g=b;c=j[b+56>>2];if(c){while(1){b=j[c+12>>2];d=j[c+4>>2];if(d){qe[d|0](a,j[c+8>>2])}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=b;if(b){continue}break}d=j[65566]}j[g+56>>2]=0;b=d+f|0;j[b+20>>2]=0;j[b+4>>2]=0}b=d+e|0;j[b+28>>2]=0;if(j[b+36>>2]){a=p(a,60)+d|0;j[a+16>>2]=j[a+44>>2]}j[b+36>>2]=0;Pj(j[65564])}}function jC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=f>>>4|0;if(d){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);e=c;while(1){n[e>>2]=q(n[c>>2]+n[c+8>>2])*q(.5);n[e+4>>2]=q(n[c+4>>2]+n[c+12>>2])*q(.5);e=e+8|0;c=c+16|0;d=d-1|0;if(d){continue}break}}c=(f|0)/2|0;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function MC(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a|!b){break a}if(Mf(a)){break a}d=j[66036];b:{if(d){while(1){if(!cf(a,j[d>>2])){if(m[d+8>>2]>1){break a}c=j[d+4>>2];c:{if(c){if(!cf(c,b)){break c}}c=j[d+12>>2];if(c){while(1){e=j[c+8>>2];qe[j[c>>2]](j[c+4>>2],a,j[d+4>>2],b);c=e;if(c){continue}break}}a=j[d+4>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}f=d,g=Uf(b),j[f+4>>2]=g}j[d+8>>2]=1;break b}d=j[d+16>>2];if(d){continue}break}}c=qe[j[57972]](20)|0;if(c){j[57976]=j[57976]+1}if(!c){break a}f=c,g=Uf(a),j[f>>2]=g;a=Uf(b);j[c+12>>2]=0;j[c+8>>2]=1;j[c+4>>2]=a;j[c+16>>2]=j[66036];j[66036]=c}}}function jx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]<<24:-16777216;q=b&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){r=a;b=j[a+24>>2];if(b){while(1){b=b-1|0;c=j[g>>2];h=c&255;i=c>>>8&255;c=c>>>16&255;if(q){h=(p(h,l)>>>0)/255|0;i=(p(i,m)>>>0)/255|0;c=(p(c,n)>>>0)/255|0}j[d>>2]=c<<16|o|i<<8|h;d=d+4|0;g=g+4|0;if(b){continue}break}d=j[a+28>>2]}else{d=c}b=d;c=b-1|0;j[r+28>>2]=c;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(b){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Vq(a,b){var c=0,d=0,e=0,f=0;c=j[a+32>>2];e=b;d=j[a+28>>2];if(d){while(1){f=j[c+8>>2];if(f){qe[j[b+8>>2]](b,f)}j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=j[a+32>>2]}if(c){qe[j[e+8>>2]](e,c)}j[a+24>>2]=0;j[a+28>>2]=0;j[a+32>>2]=0;c=j[a+20>>2];d=j[a+16>>2];if(d){while(1){f=j[c+8>>2];if(f){qe[j[b+8>>2]](b,f)}j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=j[a+20>>2]}if(c){qe[j[e+8>>2]](e,c)}j[a+12>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;e=j[a+8>>2];if(e){qe[j[b+8>>2]](b,e)}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0}function JH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=j[a+256>>2];if(!f){t=a;f=i[a+296>>1];g=j[a+244>>2];a:{if(!f){break a}e=i[a+294>>1];g=j[a+248>>2];if(!e){break a}k=j[a+244>>2];d=k>>31;m=d^d+k;d=e>>31;n=d+e^d;o=p(m>>>16|0,n);d=o<<16|8192;l=j[a+248>>2];h=l>>31;q=h^h+l;h=f>>31;r=h+f^h;s=p(q>>>16|0,r);h=s<<16|8192;g=d;d=d+p(n,m&65535)|0;d=(o>>>16|0)+(g>>>0>d>>>0)<<18|d>>>14;g=(e^k)>-1?d:0-d|0;e=h+p(r,q&65535)|0;e=(s>>>16|0)+(e>>>0>>0)<<18|e>>>14;g=ig(g,(f^l)>-1?e:0-e|0)}f=g;j[t+256>>2]=f}c=De(c,f);a=j[a+384>>2]+(b<<2)|0;j[a>>2]=c+j[a>>2]}function zG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-208|0;oe=d;f=j[a+528>>2];qe[j[b+60>>2]](b,d+16|0,16,d+12|0);c=j[d+12>>2];a:{if((c|0)<0){e=162;break a}e=3;if(!c|(c|0)>16){break a}b:{c:{if(f){g=j[f>>2];if(g){break c}}e=hk(a,c,0);if(e){break a}f=j[a+528>>2];c=j[d+12>>2];break b}if((c|0)!=(g|0)){break a}}e=j[b+8>>2];g=j[b>>2];if((c|0)>=1){c=0;while(1){a=(d+16|0)+p(c,12)|0;j[b>>2]=j[a>>2];j[b+8>>2]=j[a+4>>2];a=qe[j[b+40>>2]](b,0)|0;h=c<<2;j[h+j[f+136>>2]>>2]=a;j[j[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}j[b+8>>2]=e;j[b>>2]=g;e=0}j[b+12>>2]=e;oe=d+208|0}function tI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,r=0;g=3;f=b+2|0;a:{if(f>>>0>c>>>0){break a}h=k[b+1|0]|k[b|0]<<8;if((h<<2)+f>>>0>c>>>0){break a}c=j[a+12>>2];m=k[c+14|0];n=l[c+12>>1];o=l[c+10>>1];p=k[c+8|0];q=l[c+6>>1];r=l[c+4>>1];b=0;b:{if(!h){g=0;break b}while(1){g=vq(a,k[f+1|0]|k[f|0]<<8,k[f+2|0]+d|0,k[f+3|0]+e|0);if(!g){f=f+4|0;b=b+1|0;if((h|0)!=(b|0)){continue}}break}c=j[a+12>>2]}i[c+14>>1]=m;i[c+8>>1]=p;i[c+12>>1]=n<<24>>24;i[c+10>>1]=o<<24>>24;i[c+6>>1]=q<<24>>24;i[c+4>>1]=r<<24>>24;a=j[a+8>>2];i[c+2>>1]=k[a+4|0];i[c>>1]=k[a|0]}return g|0}function Uw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+62|0];n=k[a+61|0];o=k[a+60|0];b=j[a+52>>2];q=b&2?k[a+63|0]<<24:-16777216;r=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){s=a;h=j[a+24>>2];if(h){while(1){h=h-1|0;c=j[g>>2];i=c&255;l=c>>>8&255;b=c>>>16&255;c=f;if(r){l=(p(l,n)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[c>>2]=i<<16|q|l<<8|b;f=f+4|0;g=g+4|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[s+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function FM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,m=0;a:{b:{if(!we(b,78609)){d=6;b=j[c+16>>2];e=j[c+8>>2];if((b|0)<(e|0)){break a}f=j[c>>2];if((e|0)<(f|0)){break a}g=j[c+28>>2];i=j[c+24>>2];l=j[c+20>>2];m=j[c+12>>2];c=j[c+4>>2];if((g|(i|(l|(m|(e|(c|f))|b))))<0|(g|0)>500|((l|0)>500|(m|0)>500)){break a}if((c|0)>500|(b|0)>(i|0)){break a}j[a+60>>2]=i;j[a+48>>2]=m;j[a+36>>2]=f;j[a- -64>>2]=g;j[a+56>>2]=l;j[a+52>>2]=b;j[a+44>>2]=e;j[a+40>>2]=c;break b}if(!we(b,78630)){d=7;if(j[c>>2]!=1){break a}j[a+28>>2]=1;break b}d=12;if(we(b,78645)){break a}h[a+32|0]=k[c|0]}d=0}return d|0}function aK(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,m=0;g=j[a+4>>2];i=0-g|0;m=j[a>>2];f=(i&(c+g|0)-1)>>m;a:{if((l[e+12>>1]&7)!=2){b=f;if(j[a+20>>2]>=((d-c|0)-g|0)){break a}}b=(d&i)>>m}b:{if((b|0)<0){break b}c=l[a+56>>1];if((c|0)<=(f|0)){break b}g=(b|0)<(c|0)?b:c-1|0;c=-128>>(g&7);i=j[a+60>>2];m=j[a+148>>2];a=(f|0)>0?f:0;b=a<<13>>16;e=(i+m|0)+b|0;d=255>>>(a&7)|0;f=g<<13>>16;a=f-b|0;if((a|0)>=1){h[e|0]=d|k[e|0];if((a|0)!=1){Ee((i+(b+m|0)|0)+1|0,255,f+(b^-1)|0);while(1){e=e+1|0;b=(a|0)>2;a=a-1|0;if(b){continue}break}}h[e+1|0]=c|k[e+1|0];return}h[e|0]=k[e|0]|c&d}}function SB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<1;e=b>>>1|0;if(e){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);b=(c+b|0)-2|0;c=(d+c|0)-4|0;while(1){n[c>>2]=q(q(l[b>>1])*q(30517578125e-15))+q(-1);c=c-4|0;b=b-2|0;e=e-1|0;if(e){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function jj(a,b,c){var d=0,e=0,f=0;e=oe-16|0;oe=e;j[c>>2]=0;a:{if(!a){a=33;break a}if(!b){a=6;break a}f=j[a>>2];d=He(f,40,e+12|0);a=j[e+12>>2];if(a){break a}j[d+28>>2]=f;b:{c:{d:{a=j[b>>2];e:{f:{if(a&1){a=j[b+4>>2];b=j[b+8>>2];j[d+32>>2]=0;j[d+8>>2]=0;j[d+4>>2]=b;j[d>>2]=a;j[d+20>>2]=0;j[d+24>>2]=0;break f}if(a&4){a=HN(d,j[b+12>>2]);j[e+12>>2]=a;j[d+16>>2]=j[b+12>>2];break e}if(!(a&2)|!j[b+16>>2]){break d}if(d){qe[j[f+8>>2]](f,d)}d=j[b+16>>2]}a=j[e+12>>2]}if(a){break c}j[d+28>>2]=f;a=0;break b}j[e+12>>2]=6}if(d){qe[j[f+8>>2]](f,d)}d=0;a=j[e+12>>2]}j[c>>2]=d}oe=e+16|0;return a}function tD(a){if(!we(a,228092)){return 1071}if(!we(a,228105)){return 1072}if(!we(a,228121)){return 1073}if(!we(a,228131)){return 1074}if(!we(a,228144)){return 1075}if(!we(a,228155)){return 1076}if(!we(a,228170)){return 1077}if(!we(a,228183)){return 1078}if(!we(a,228202)){return 1079}if(!we(a,228222)){return 1080}if(!we(a,228243)){return 1081}if(!we(a,228265)){return 1082}if(!we(a,228283)){return 1083}if(!we(a,228304)){return 1084}if(!we(a,228322)){return 1085}if(!we(a,228338)){return 1086}if(!we(a,228352)){return 1087}if(!we(a,228374)){return 1088}return we(a,228398)?0:1089}function Gf(a,b){var c=0,d=0,e=0,f=0,g=0;if(!(a|b)){return 0}c=b>>31;d=c+b^c;c=a>>31;d=d|c+a^c;c=s(d);a:{if(d>>>0<=1073741823){c=c-2|0;b=b<>c;a=a>>c}c=0-a|0;b:{if((a|0)<(b|0)){e=5898240;if((b|0)>(c|0)){d=c;c=b;break b}e=(b|0)>0?11796480:-11796480;d=0-b|0;break b}if((b|0)>=(c|0)){d=b;c=a;break b}c=0-b|0;e=-5898240;d=a}f=74944;b=1;a=1;while(1){g=b+d>>a;c:{if((d|0)>=1){e=j[f>>2]+e|0;d=d-(b+c>>a)|0;c=c+g|0;break c}e=e-j[f>>2]|0;d=(b+c>>a)+d|0;c=c-g|0}b=b<<1;f=f+4|0;a=a+1|0;if((a|0)!=23){continue}break}if((e|0)>=0){return e+8&-16}return 0-(8-e&-16)|0}function mv(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0;f=oe-80|0;oe=f;a:{if((a|0)<=0){j[f>>2]=55723;ve(55656,f);break a}if((b|0)<=0){j[f+16>>2]=55729;ve(55656,f+16|0);break a}if(!d){j[f+32>>2]=55736;ve(55656,f+32|0);break a}if(!e){j[f+48>>2]=55742;ve(55656,f+48|0);break a}if((c|0)>0){g=b;while(1){i=(h<<4)+d|0;k=j[i+4>>2];i=k+j[i+12>>2]|0;l=(b|0)<(i|0)?b:(i|0)>(l|0)?i:l;g=(k|0)<0?0:(g|0)>(k|0)?k:g;h=h+1|0;if((h|0)!=(c|0)){continue}break}h=0;if((g|0)>=(l|0)){break a}j[e+8>>2]=a;j[e+4>>2]=g;j[e>>2]=0;j[e+12>>2]=l-g;h=1;break a}j[f+64>>2]=55747;ve(55656,f- -64|0)}oe=f+80|0;return h}function NH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0;g=oe-16|0;oe=g;a:{if(d&16){if(!c){break a}d=0;while(1){m=(d<<2)+e|0;b:{if(k[a+292|0]){qe[j[j[a+532>>2]+112>>2]](a,1,b+d|0,g+14|0,g+12|0);f=l[g+12>>1];break b}if(l[a+364>>1]!=65535){f=i[a+434>>1]-i[a+436>>1]|0;h=f>>31;f=h^h+f;break b}f=i[a+220>>1]-i[a+222>>1]|0;h=f>>31;f=h^h+f}j[m>>2]=f&65535;d=d+1|0;if((d|0)!=(c|0)){continue}break}break a}if(!c){break a}d=0;while(1){qe[j[j[a+532>>2]+112>>2]](a,0,b+d|0,g+10|0,g+8|0);j[(d<<2)+e>>2]=l[g+8>>1];d=d+1|0;if((d|0)!=(c|0)){continue}break}}oe=g+16|0;return 0} +function KN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!Tp(j[a+28>>2],b,c,d)){b=Yp(j[a+28>>2]);a=pe;c=a;if((a|0)>-1){break a}a=ve(124118,0);pe=a>>31;return a|0}a=Be(3);b=a;c=a>>31}pe=c;return b|0}function vf(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=j[a+8>>2]+b|0;d=j[a+20>>2];b:{if(d){if(!(qe[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>m[a+4>>2]){break a}}j[a+8>>2]=b;c=0}return c}function JL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=j[b+8>>2];if(d){qe[d|0](b)}c=j[j[c+12>>2]+60>>2];if(c){qe[c|0](b)}c=j[b+40>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+40>>2]=0;if(b){qe[j[a+8>>2]](a,b)}}function FH(a){var b=0,c=0;b=j[67085];if(!b){ve(151717,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(150417,0);return}a:{if(!(k[a+48|0]&192)){break a}c=j[b+104>>2];if(!c){break a}qe[c|0](b,a)}}function sk(a){var b=0,c=0;b=oe-16|0;oe=b;a:{if(!a){j[b>>2]=117899;ve(117597,b);break a}As(j[a+168>>2],j[a+236>>2]<<1);c=j[a+256>>2];if(c){qe[c|0](a)}j[a+184>>2]=0;j[a+172>>2]=1}oe=b+16|0}function WN(){var a=0;a=oe-144|0;oe=a;a:{if(sg(123926,0)){break a}G(2,0,a|0)|0;if(!j[a>>2]){j[a>>2]=654;G(2,a|0,0)|0}G(15,0,a|0)|0;if(j[a>>2]){break a}j[a>>2]=654;G(15,a|0,0)|0}oe=a+144|0}function MN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=Cl(b,c,d,j[a+28>>2]);a:{if(b){break a}a=j[a+28>>2];b:{if(j[a+76>>2]<=-1){a=j[a>>2];break b}a=j[a>>2]}if(!(a>>>5&1)){break a}Be(2)}return b|0}function LN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=Nj(b,c,d,j[a+28>>2]);a:{if(b){break a}a=j[a+28>>2];b:{if(j[a+76>>2]<=-1){a=j[a>>2];break b}a=j[a>>2]}if(!(a>>>5&1)){break a}Be(1)}return b|0}function xp(a){var b=0;b=k[a+74|0];h[a+74|0]=b-1|b;b=j[a>>2];if(b&8){j[a>>2]=b|32;return-1}j[a+4>>2]=0;j[a+8>>2]=0;b=j[a+44>>2];j[a+28>>2]=b;j[a+20>>2]=b;j[a+16>>2]=b+j[a+48>>2];return 0}function sC(a){a=a|0;var b=0,c=0;b=j[a+4>>2];c=j[j[b+656>>2]+2952>>2];a:{if(!c){break a}b=Kf(j[j[b+96>>2]+4>>2],11024);if(!b){break a}b=qe[j[c+8>>2]](b)|0;j[j[a+156>>2]+36>>2]=b}return 0}function hw(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+416>>2];a:{if((c|0)>=1){d=j[a+420>>2];a=0;while(1){if(!we(b,j[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)>(a|0)){continue}break}}a=0}return a|0}function we(a,b){var c=0,d=0;c=k[a|0];d=k[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=k[b+1|0];c=k[a+1|0];if(!c){break a}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}break}}return c-d|0}function hu(a,b,c,d,e){e=e-1|0;if(e>>>0<=3){if(!j[a+808>>2]){j[a+808>>2]=566;j[a+816>>2]=567;j[a+812>>2]=568;j[a+820>>2]=(k[a+438|0]+7&504)==8?569:570}qe[j[((e<<2)+a|0)+808>>2]](b,c,d)}}function Ov(a){a=a|0;var b=0,c=0,d=0;c=oe-16|0;oe=c;d=Jr(j[j[a>>2]+500>>2],c+12|0);b=a;a=j[c+12>>2];j[b+44>>2]=a;if(a){b=j[a>>2];if(!(!b|!j[b+96>>2])){j[b+88>>2]=a}}oe=c+16|0;return d|0}function ef(a,b,c){var d=0,e=0;a:{if(!c){break a}while(1){e=j[(d<<3)+b>>2];if(!e){break a}if((a|0)==(e|0)){return j[((d<<3)+b|0)+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function dg(a,b,c){var d=0,e=0,f=0;f=c;a:{if(b){d=Le(b)+1|0;b:{if((d|0)>=1){e=qe[j[a+4>>2]](a,d)|0;if(e){break b}j[c>>2]=64;return 0}a=6;if(d){break a}}Ae(e,b,d)}a=0}j[f>>2]=a;return e}function xC(a,b){a=a|0;b=b|0;var c=0;c=rg(10160,b);a:{if(c){break a}c=0;if(!a){break a}a=j[a+4>>2];if(!a){break a}a=Kf(a,10224);if(!a){break a}c=qe[j[j[a>>2]+32>>2]](a,b)|0}return c|0}function kO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=0;a:{if(!d){break a}a=0;if(!k[d|0]){break a}if((sf(d)|0)<=1){a=0;if((sf(d)|0)<1){break a}}a=2;if((sf(d)|0)>1){break a}a=sf(d)}j[66367]=a}function bf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=0;a:{if(!a){break a}d=gP(a,0,b,0);e=pe;c=d;if((a|b)>>>0<65536){break a}c=e?-1:d}b=c;a=Se(b);if(!(!a|!(k[a-4|0]&3))){Ee(a,0,b)}return a|0}function Jh(a){var b=0,c=0;b=j[58876];c=a+3&-4;a=b+c|0;a:{if(a>>>0<=b>>>0?(c|0)>=1:0){break a}if(a>>>0>vP()<<16>>>0){if(!(Ja(a|0)|0)){break a}}j[58876]=a;return b}j[67100]=48;return-1}function Fl(a,b,c,d,e,f,g,h,i){var k=0;k=oe-16|0;oe=k;Xf(k,b,c,d,e,f,g,h,i^-2147483648);b=j[k+4>>2];j[a>>2]=j[k>>2];j[a+4>>2]=b;b=j[k+12>>2];j[a+8>>2]=j[k+8>>2];j[a+12>>2]=b;oe=k+16|0}function bz(a,b){a=a|0;b=b|0;var c=0,d=0;c=oe-16|0;oe=c;j[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(h[a+20|0]&1){d=mo(a,c+12|0,0);break a}d=lo(a,c+12|0,0)}a=d;oe=c+16|0;return a|0}function Mv(a){a=a|0;var b=0,c=0,d=0;d=oe-16|0;oe=d;b=j[a+4>>2];c=j[b+500>>2];a:{if(!j[b+84>>2]){b=c+84|0;c=0;break a}b=d+12|0;c=ds(c,d+12|0)}j[a+160>>2]=j[b>>2];oe=d+16|0;return c|0}function Io(a){a=a|0;var b=0,c=0;b=j[a+8>>2];if(b){a=j[a+16>>2];c=j[a+4>>2];j[b+108>>2]=j[a>>2];j[b+112>>2]=c;j[b+124>>2]=j[a+16>>2];c=j[a+12>>2];j[b+116>>2]=j[a+8>>2];j[b+120>>2]=c}}function $w(a,b){a=a|0;b=b|0;var c=0;j[a+112>>2]=b;c=j[a>>2];if(h[c+8|0]&1){Cg(c,b);Uk(a);return 0}b=qe[j[j[c+532>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}j[a+112>>2]=-1;return b|0}function bg(a){var b=0,c=0;c=Qf(a);b=j[66036];a:{if(!b){break a}while(1){if(!df(a,j[b>>2])){if(j[b+8>>2]!=2?c:0){break a}return j[b+4>>2]}b=j[b+16>>2];if(b){continue}break}}return c}function Ci(a,b){var c=0,d=0;c=j[a+12>>2];d=j[a+4>>2];c=(c|0)<0?(c|0)>(d|0)?c:d:d-c|0;b=b?b:(p(c,12)|0)/10|0;j[a+28>>2]=b;j[a+24>>2]=(b-c|0)/2;j[a+20>>2]=j[a+8>>2]+(j[a+16>>2]/-2|0)}function is(a){var b=0;j[67049]=a;a:{if(j[67050]){break a}if(a){j[67050]=a}b=j[67015];if(!(j[67035]|(!a|!j[67051]))){if(!b){break a}qe[b|0](a)|0;return}if(!b){break a}qe[b|0](0)|0}}function np(a,b,c,d){var e=0,f=0;if(!(!a|!c)){e=j[a>>2];if(e){while(1){f=j[e+4>>2];if(b){qe[b|0](c,j[e+8>>2],d)}qe[j[c+8>>2]](c,e);e=f;if(e){continue}break}}j[a>>2]=0;j[a+4>>2]=0}}function XF(a){a=a|0;j[a+44>>2]=1002;j[a+36>>2]=1003;j[a+32>>2]=1004;j[a+28>>2]=1005;j[a+24>>2]=1006;j[a+20>>2]=1007;j[a+4>>2]=1008;j[a+84>>2]=1;j[a>>2]=1009;j[a+72>>2]=1;return 1}function Tj(a,b,c){var d=0,e=0;a:{if((b|0)<0){break a}d=j[a+12>>2];if(j[d+4>>2]<=(b|0)){break a}cf(c,j[j[a+20>>2]+(b<<2)>>2],h[j[d+8>>2]+b|0]);e=h[j[j[a+12>>2]+8>>2]+b|0]}return e}function Dy(a,b){a=a|0;b=b|0;j[a+16>>2]=b;b=k[b+6|0]|k[b+7|0]<<8|(k[b+8|0]<<16|k[b+9|0]<<24);j[a+28>>2]=0;j[a+32>>2]=0;j[a+24>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function _z(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)>=1){while(1){e=a+d|0;f=k[e|0];h[e|0]=f^c>>>8;c=p(c+f|0,52845)+22719&65535;d=d+1|0;if((d|0)!=(b|0)){continue}break}}}function LE(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[c+12>>2];j[d+8>>2]=j[c+8>>2];j[d+12>>2]=e;e=j[c+4>>2];j[d>>2]=j[c>>2];j[d+4>>2]=e;c=KE(a,b,d);if(!c){c=JE(b)}oe=d+16|0;return c}function gs(a,b){var c=0,d=0;c=j[a+156>>2];if(!(!c|!(h[c+4|0]&1))){c=j[j[a+4>>2]+100>>2];d=j[a+88>>2];if(d){qe[j[c+8>>2]](c,d)}c=j[a+156>>2];j[c+4>>2]=j[c+4>>2]&-2}j[a+88>>2]=b}function JN(a){a=a|0;var b=0,c=0,d=0,e=0;c=qe[j[a+4>>2]](a,0,0,1)|0;b=pe;d=b;if((b|0)<0){pe=-1;return-1}b=qe[j[a+4>>2]](a,0,0,2)|0;e=pe;qe[j[a+4>>2]](a,c,d,0)|0;pe=e;return b|0}function HL(){a:{if(!Ii(32768)){break a}if(k[268312]){if(!j[67077]){break a}return}h[268312]=1;if(!(j[67077]?j[67077]:0)){h[268312]=0;return}h[268312]=0;if(!j[67077]){break a}}}function pw(a){a=a|0;var b=0,c=0;b=j[a+4>>2];c=j[b+548>>2];a:{if(!c){break a}b=Kf(j[j[b+96>>2]+4>>2],91760);if(!b){break a}b=qe[j[c+4>>2]](b)|0;j[j[a+156>>2]+36>>2]=b}return 0}function kA(a,b){a=a|0;b=b|0;var c=0;c=18;a:{if(j[b+72>>2]!=1869968492){break a}c=j[a>>2];a=a+20|0;c=fm(c,i[b+110>>1],i[b+108>>1],a);if(c){break a}Uq(b+108|0,a);c=0}return c|0}function PM(a,b){a=a|0;b=b|0;var c=0,d=0;c=oe-16|0;oe=c;d=j[b+76>>2];j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=j[b+12>>2];j[c+12>>2]=j[b+16>>2];Kr(a,b,c,j[d+16>>2],j[d+20>>2]);oe=c+16|0}function KB(a){a=a|0;var b=0,c=0;b=j[a+4>>2];c=j[b+320>>2];a:{if(!c){break a}b=Kf(j[j[b+96>>2]+4>>2],14338);if(!b){break a}b=qe[j[c+4>>2]](b)|0;j[j[a+156>>2]+36>>2]=b}return 0}function yC(a){a=a|0;j[a+60>>2]=2333;j[a+64>>2]=0;j[a+36>>2]=500;j[a+40>>2]=400;j[a+52>>2]=1667;j[a+56>>2]=275;j[a+44>>2]=1e3;j[a+48>>2]=275;h[a+32|0]=0;j[a+28>>2]=1;return 0}function to(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=6;a:{if(j[b+72>>2]!=j[a+16>>2]){break a}if(c){rh(b+108|0,c)}e=0;if(!d){break a}Tf(b+108|0,j[d>>2],j[d+4>>2])}return e|0}function hj(a,b,c,d){var e=0;e=oe-16|0;oe=e;if(d){n[e>>2]=j[d>>2];n[e+4>>2]=j[d+4>>2];n[e+8>>2]=j[d+8>>2];n[e+12>>2]=j[d+12>>2];d=e}else{d=0}a=YM(a,b,c,d);oe=e+16|0;return a}function Oo(a,b){var c=0;if(!a){return}if(!b){return}a=j[a>>2];c=j[b+12>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}function vD(a){var b=0;b=2;if(!Zg(a,43)){b=k[a|0]!=114}b=Zg(a,120)?b|128:b;b=Zg(a,101)?b|524288:b;a=k[a|0];b=(a|0)==114?b:b|64;b=(a|0)==119?b|512:b;return(a|0)==97?b|1024:b}function rJ(a,b){var c=0;a:{b:{if(!a){break b}a=j[a+148>>2];if(!a){break b}while(1){c=j[a+8>>2];if(j[c+16>>2]==(b|0)){break a}a=j[a+4>>2];if(a){continue}break}}c=0}return c}function ot(){var a=0;Wg();if(j[65548]){if(j[j[j[65548]>>2]+44>>2]){a=qe[j[j[j[65548]>>2]+44>>2]](j[j[65548]+4>>2])|0;j[j[65548]+8>>2]=a}a=j[j[65548]+8>>2]!=0}Gg();return a}function aD(a,b){if(a){j[a+48>>2]=0;j[a+44>>2]=1;j[a+60>>2]=b;j[a+64>>2]=0;j[a+52>>2]=0;h[a+124|0]=0;j[a+116>>2]=-1;j[a+96>>2]=0;h[a+92|0]=0;j[a+84>>2]=-1;j[a+56>>2]=65536}}function UA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;j[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b-1|0;if(b>>>0>=m[a+408>>2]){break a}j[c>>2]=j[(j[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function zO(){if(!k[264412]){j[66094]=637;j[66093]=638;j[66095]=639;j[66096]=640;j[66097]=641;j[66098]=642;j[66099]=643;j[66100]=644;j[66101]=645;j[66102]=646;h[264412]=1}}function zH(a){var b=0,c=0;b=j[67085];if(!b){ve(151717,0);return}if(!Rh(j[b+708>>2])){ve(151361,0);return}b=j[67085];c=j[b+192>>2];if(c){qe[c|0](b,a)|0;return}ve(151401,0)}function kz(a,b){a=a|0;b=b|0;var c=0,d=0;d=j[a+16>>2]+6|0;a=j[b>>2];while(1){a=a+1|0;if(a>>>0>255){j[b>>2]=0;return 0}c=k[a+d|0];if(!c){continue}break}j[b>>2]=a;return c|0}function Qg(a,b){var c=0,d=0,e=0;if(!(!a|!b)){c=ye(j[a>>2],j[b>>2]);d=ye(j[a+4>>2],j[b+4>>2]);e=ye(j[a>>2],j[b+8>>2]);b=ye(j[a+4>>2],j[b+12>>2]);j[a>>2]=c+d;j[a+4>>2]=b+e}}function WG(a){a=a|0;var b=0;a:{b:{if(a){b=j[67024];if(!b){break b}a=0;if((va(j[j[b+144>>2]+12>>2],1)|0)<=-1){break b}break a}a=0;if((Xa()|0)>-1){break a}}a=-1}return a|0}function lx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=j[a+24>>2];c=Fe(b,c);a:{if(c){break a}c=_e(b,d);if(c){break a}j[a+200>>2]=j[b+32>>2];j[a+204>>2]=j[b+36>>2];c=0}return c|0}function jo(a,b){a=a|0;b=b|0;j[a+16>>2]=b;b=k[b+12|0]|k[b+13|0]<<8|(k[b+14|0]<<16|k[b+15|0]<<24);h[a+24|0]=0;j[a+40>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function wg(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}while(1){d=k[a|0];e=k[b|0];if((d|0)==(e|0)){b=b+1|0;a=a+1|0;c=c-1|0;if(c){continue}break a}break}f=d-e|0}return f}function zD(a,b,c){var d=0,e=0,f=0;e=j[a+84>>2];d=c+256|0;f=Mh(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;Ae(b,e,c);b=e+d|0;j[a+84>>2]=b;j[a+8>>2]=b;j[a+4>>2]=c+e;return c}function dP(a,b,c){var d=0,e=0,f=0;d=b>>31;a=a^d;f=b>>31;e=b>>31;a=iP(a-d|0,(f^b)-((a>>>0>>0)+f|0)|0,c)^e;c=a-e|0;b=b>>31;pe=(b^pe)-((a>>>0>>0)+b|0)|0;return c}function ah(a,b,c){var d=0;d=j[67085];if(!d){ve(151717,0);return}if(!(j[a>>2]==(d+316|0)?a:0)){ve(150417,0);return}if(b){j[b>>2]=j[a+24>>2]}if(c){j[c>>2]=j[a+28>>2]}}function Zy(a,b){a=a|0;b=b|0;a=j[a+16>>2];b=b-(k[a+6|0]<<8|k[a+7|0])|0;if(b>>>0<(k[a+9|0]|k[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=k[a+10|0]<<8|k[a+11|0]}else{a=0}return a|0}function Ny(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=10;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Jy(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=12;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Ey(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=13;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function am(a){var b=0;b=j[67085];a:{if(!b){break a}b=j[b+308>>2];if(!b){break a}while(1){if(j[b+4>>2]==(a|0)){return b}b=j[b+152>>2];if(b){continue}break}}return 0}function UC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if(!d){e=1;if(m[a+4>>2]>>0){break a}}e=j[a+12>>2];if(j[a+8>>2]!=(b|0)){Ui(e,b,0)}e=Nj(c,1,d,e)}return e|0}function Ry(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=8;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Pp(a){var b=0,c=0,d=0;if(h[j[a>>2]]-48>>>0<10){while(1){b=j[a>>2];d=h[b|0];j[a>>2]=b+1;c=(p(c,10)+d|0)-48|0;if(h[b+1|0]-48>>>0<10){continue}break}}return c}function uv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=j[b>>2]+1|0;b=j[a+16>>2];if(c>>>0>b>>>0){b=c-b|0;a=b>>>0>2];d=a?b+1|0:0;b=a?c:0}j[e>>2]=b;return d|0}function ZL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=j[b+76>>2];b=j[a+16>>2];j[d>>2]=(j[a+20>>2]+p(b,j[c+4>>2])|0)+p(j[c>>2],k[j[a+4>>2]+9|0]);j[e>>2]=b;return 0}function sj(a,b){var c=0;if(!a){return 0}a:{if(!b){break a}c=j[a+720>>2];b:{if(c){c=qe[c|0](a,b)|0;break b}c=Se(b)}if(!c){break a}return Ee(c,0,b)}Ye(a,99026);z()}function yi(a,b,c,d){var e=0;if(!a){return}a=j[a+52>>2];h[a+78|0]=d;h[a+77|0]=c;h[a+76|0]=b;e=j[a+68>>2];b=e&-2|(b&c&d)!=255;j[a+68>>2]=b;if((b|0)!=(e|0)){wf(a)}}function yB(a,b){a=a|0;b=b|0;var c=0;c=j[b+96>>2];if(!((c|0)<0|j[a+300>>2]<=(c|0))){a=j[a+304>>2]+p(c,252)|0;b=qe[j[b+40>>2]](b,0)|0;j[a+180>>2]=b;j[a+208>>2]=b}}function xy(a,b){a=a|0;b=b|0;j[a+2988>>2]=b;j[a+2980>>2]=j[b+28>>2];j[a+4>>2]=j[b+8>>2];j[a+12>>2]=j[b+12>>2];j[a+8>>2]=j[b+16>>2];j[a+16>>2]=j[b+20>>2];return 0}function rg(a,b){var c=0;a:{if(!a|!b){break a}c=j[a>>2];if(!c){break a}while(1){if(!we(c,b)){return j[a+4>>2]}c=j[a+8>>2];a=a+8|0;if(c){continue}break}}return 0}function af(a){var b=0,c=0,d=0;c=a;d=j[a+36>>2];a=j[a+32>>2];if(d>>>0>a+1>>>0){b=k[a|0]|k[a+1|0]<<8;b=(b<<24|b<<8&16711680)>>>16|0;a=a+2|0}j[c+32>>2]=a;return b}function Ym(a){if((a|0)>=0){j[57792]=(a|0)<128?a:128;Wg();if(!(!j[65548]|!j[j[j[65548]>>2]+36>>2])){qe[j[j[j[65548]>>2]+36>>2]](j[j[65548]+4>>2],j[57792])}Gg()}}function NN(a){a=a|0;var b=0;if(!a){return 0}a:{if(!j[a+24>>2]){break a}if(!Lh(j[a+28>>2])){break a}b=Be(2)}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return b|0}function yv(a,b){a=a|0;b=b|0;var c=0;c=j[a>>2];b=j[c+132>>2];Cg(c,0);c=l[b+80>>1];j[a+24>>2]=c<<6;j[a+28>>2]=c-l[b+96>>1]<<6;j[a+36>>2]=l[b+102>>1]<<6;return 0}function tf(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}d=j[a+212>>2];if(!(k[a+379|0]&32?(d&768)!=768:!(d&2048))){break a}e=a,f=Rf(j[a+412>>2],b,c),j[e+412>>2]=f}}function nA(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+484>>2];j[a+24>>2]=j[b+416>>2];j[a+28>>2]=j[b+420>>2];j[a+20>>2]=j[c+20>>2];j[a+16>>2]=j[c+24>>2];return 0}function iA(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+484>>2];j[a+24>>2]=j[b+416>>2];j[a+28>>2]=j[b+420>>2];j[a+20>>2]=j[c+20>>2];j[a+16>>2]=j[c+28>>2];return 0}function XO(a){var b=0;a:{a=a-1|0;if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}ve(117104,0);return}qe[j[66053]](a);b=a- -64|0;b;j[b>>2]=0;qe[j[66054]](a)}function IC(a,b){a=a|0;b=b|0;var c=0,d=0;d=j[a>>2];c=j[d+140>>2];Cg(d,b);j[a+24>>2]=j[c+40>>2]<<6;j[a+28>>2]=0-(j[c+44>>2]<<6);j[a+36>>2]=l[c+4>>1]<<6;return 0}function Fe(a,b){var c=0,d=0;d=j[a+20>>2];a:{b:{if(d){c=85;if(!(qe[d|0](a,b,0,0)|0)){break b}break a}c=85;if(m[a+4>>2]>>0){break a}}j[a+8>>2]=b;c=0}return c}function cg(a,b){a=a|0;b=b|0;var c=0;a:{if(!a){break a}if(b){c=j[a+720>>2];b:{if(c){c=qe[c|0](a,b)|0;break b}c=Se(b)}if(c){break a}}Ze(a,99026);c=0}return c|0}function Hl(a){var b=0,c=0;b=j[a+32>>2];if(m[a+36>>2]<=b+3>>>0){j[a+32>>2]=b;return 0}c=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);j[a+32>>2]=b+4;return c}function BH(){var a=0;a=j[67085];a:{if(!a){break a}a=j[a+308>>2];if(!a){break a}while(1){if(k[a+49|0]&2){return a}a=j[a+152>>2];if(a){continue}break}}return 0}function qk(a,b){var c=0,d=0;a:{if(!a){break a}c=j[a+28>>2];b:{if(!a){break b}d=j[a+24>>2];if(!d){break b}qe[d|0](a)}if(b){break a}if(a){qe[j[c+8>>2]](c,a)}}}function Dm(a,b,c){var d=0;a:{a=a?a:j[67024];if(!a){break a}d=j[67018];if(d){qe[d|0](a,b,c);return}d=j[67023];if(!Vh(a,b,c,(d|0)!=-1)){break a}Uh(a,d,0,b,c)}}function lC(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+656>>2];if(!j[c+1160>>2]){return 163}return qe[j[j[c+2956>>2]+4>>2]](j[b+100>>2],a,j[c+12>>2],73,0,b)|0}function hy(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1668112752,b,a+504|0)|0;if(!c){c=Zf(b,j[a+504>>2],a+500|0);if(!c){return 0}j[a+504>>2]=0}return c|0}function Xi(a){var b=0,c=0;b=a*a;c=b*a;return q(c*(b*b)*(b*2718311493989822e-21+ -.00019839334836096632)+(c*(b*.008333329385889463+ -.16666666641626524)+a))}function TN(){var a=0;a=oe-144|0;oe=a;G(2,0,a|0)|0;if(j[a>>2]==654){j[a>>2]=0;G(2,a|0,0)|0}G(15,0,a|0)|0;if(j[a>>2]==654){j[a>>2]=0;G(15,a|0,0)|0}oe=a+144|0}function Gs(){var a=0;while(1){a=j[66037];if(a){j[66037]=j[a+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}continue}break}j[57836]=4;j[57835]=6;j[57837]=3}function Rz(a){a=a|0;var b=0;if(a){j[a+412>>2]=0;j[a+4>>2]=0;j[a+1960>>2]=0;j[a+1444>>2]=0;j[a+928>>2]=0;j[a+208>>2]=0;b=j[a>>2];if(a){qe[j[b+8>>2]](b,a)}}}function du(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=j[a+4>>2];if(d){a=0;while(1){h[b|0]=k[c|0]+k[b|0];b=b+1|0;c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function VO(){var a=0,b=0,c=0;b=j[66088];a:{if((b|0)==10){break a}a=j[66089];if((a|0)==10){break a}j[66089]=a+1;c=l[(p(b,20)+(a<<1)|0)+116896>>1]}return c}function Rr(a,b){var c=0;c=oe-16|0;oe=c;if(b){n[c>>2]=j[b>>2];n[c+4>>2]=j[b+4>>2];n[c+8>>2]=j[b+8>>2];n[c+12>>2]=j[b+12>>2];b=c}else{b=0}ZM(a,b);oe=c+16|0}function ns(a,b){var c=0,d=0;c=mf(j[66360],p(j[66361],12)+12|0);if(c){j[66360]=c;d=j[66361];c=c+p(d,12)|0;j[c+8>>2]=0;j[c+4>>2]=b;j[c>>2]=a;j[66361]=d+1}}function _u(a){var b=0,c=0;b=oe-912|0;oe=b;if(a){Ae(b+8|0,a,900);a=Ee(a,0,900);c=j[b+732>>2];a:{if(c){qe[c|0](b+8|0,a);break a}ze(a)}Jt(b+8|0)}oe=b+912|0}function Cl(a,b,c,d){var e=0,f=0;e=p(b,c);f=e;a:{if(j[d+76>>2]<=-1){a=Dl(a,e,d);break a}a=Dl(a,e,d)}if((f|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function zl(a,b,c){var d=0;a:{if(c>>>0<2){break a}while(1){d=k[b|0];if(!d){break a}h[a|0]=d;a=a+1|0;b=b+1|0;c=c-1|0;if(c>>>0>1){continue}break}}h[a|0]=0}function xn(a,b,c){var d=0;d=8;a:{if(c>>>0>8){break a}d=c;if(d){break a}return-1}if(b>>>0<=7){a=wg(a+b|0,b+96641|0,b+d>>>0>8?8-b|0:d)}else{a=-1}return a}function au(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=lv(a,b,c,d);if(a){j[a+796>>2]=8192;j[a+208>>2]=32768;j[a+212>>2]=j[a+212>>2]|3145728;fn(a,0,0)}return a|0}function yH(){var a=0,b=0,c=0;a=j[67085];a:{if(!a){break a}if(!Rh(j[a+708>>2])){break a}a=j[67085];b=j[a+196>>2];if(!b){break a}c=qe[b|0](a)|0}return c}function nN(a){var b=0;b=oe+ -64|0;oe=b;a=mN(a);a:{if((a|0)<0){break a}j[b+8>>2]=1541;if((We(1541,-1)|0)!=1){break a}j[b+16>>2]=a;gf(b+8|0)}oe=b- -64|0}function jj(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=0;qe[j[a+8>>2]](a,b+12|0,4,1)|0;oe=b+16|0;a=j[b+12>>2];return a<<8&16711680|a<<24|(a>>>8&65280|a>>>24)}function hp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=j[a+532>>2];j[d>>2]=0;j[d+4>>2]=0;if(e){f=d,g=qe[j[e+84>>2]](a,b,c)|0,j[f>>2]=g}return 0}function gh(a,b){var c=0;a:{if(!a){b=0;break a}if(b){c=j[a+720>>2];b:{if(c){b=qe[c|0](a,b)|0;break b}b=Se(b)}if(b){break a}}Ye(a,99026);z()}return b}function xo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe-16|0;oe=c;j[b>>2]=0;d=He(a,4,c+12|0);e=j[c+12>>2];if(!e){j[d>>2]=a;j[b>>2]=d}oe=c+16|0;return e|0}function oj(a){var b=0,c=0;b=j[a>>2];j[a>>2]=1;if(b){b=0;while(1){a:{if((b|0)<=31){b=b+1|0;break a}gg(0)}c=j[a>>2];j[a>>2]=1;if(c){continue}break}}}function ei(a,b){var c=0;a:{if(a-1>>>0>253){break a}c=v(vg(+(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 tz(a,b,c){a=a|0;b=b|0;c=c|0;c=j[a+112>>2];i[a+156>>1]=0-c;b=p(i[b>>1],c);j[a+148>>2]=0-b;if((c|0)>=1){j[a+148>>2]=p(j[a+104>>2]-1|0,c)-b}}function yL(a,b,c,d){var e=0,f=0;if(b){if((c|0)>0){while(1){f=Qh(a,(e<<4)+b|0,d)+f|0;e=e+1|0;if((e|0)!=(c|0)){continue}break}}return}ve(139015,0)}function yA(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=j[a+12>>2];if((i[a+22>>1]+b|0)+i[a+58>>1]>>>0<=m[a+4>>2]){break a}c=yf(a,b,0)}return c|0}function rE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=bf(1,32);j[a+4>>2]=j[b>>2];c=j[b+8>>2];j[a+20>>2]=b;j[a>>2]=c;d=a,e=bf(2,4),j[d+8>>2]=e;return a|0}function rA(a,b){a=a|0;b=b|0;var c=0;c=j[a+20>>2];j[b>>2]=c<<6;j[b+8>>2]=c+j[a+32>>2]<<6;c=j[a+24>>2]<<6;j[b+12>>2]=c;j[b+4>>2]=c-(j[a+28>>2]<<6)}function lB(a,b){a=a|0;b=b|0;var c=0;c=j[a>>2];Cg(c,b);j[a+24>>2]=j[c+204>>2]<<6;j[a+28>>2]=0-(j[c+208>>2]<<6);j[a+36>>2]=i[c+236>>1]<<6;return 0}function FD(a){var b=0,c=0;b=oe-16|0;oe=b;c=-1;a:{if(Sp(a)){break a}if((qe[j[a+32>>2]](a,b+15|0,1)|0)!=1){break a}c=k[b+15|0]}oe=b+16|0;return c}function Sg(a){var b=0;b=j[a+28>>2];a:{if(b){break a}b=0;if(!(k[a|0]&2)){break a}Bi(a,1);j[a>>2]=j[a>>2]|2;b=j[a+28>>2]}j[a+28>>2]=b+1;return 0}function Cy(a){a=a|0;var b=0,c=0;j[a+28>>2]=0;b=j[a+36>>2];a:{if(!b){break a}c=j[a+32>>2];if(!c){break a}if(c){qe[j[b+8>>2]](b,c)}j[a+32>>2]=0}}function rN(){var a=0,b=0;BN();if(!j[67073]){a=268292,b=$i(),j[a>>2]=b}Eg(125309,666,0);if((Ji(16384)|0)<0){return-1}return qe[j[58770]]()>>31}function PE(a){var b=0,c=0;j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;b=a,c=bf(1,3664),j[b+28>>2]=c}function ph(a,b){a:{if(!a){break a}a=j[a>>2];if(!a){break a}while(1){if(j[a+8>>2]==(b|0)){return a}a=j[a+4>>2];if(a){continue}break}}return 0}function OD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=j[a+20>>2];d=j[a+16>>2]-e|0;d=c>>>0>>0?c:d;Ae(e,b,d);j[a+20>>2]=d+j[a+20>>2];return c|0}function Im(a){var b=0,c=0;b=oe+ -64|0;oe=b;c=j[(a>>>6&1020)+264416>>2];if(!(j[(a>>>3&28)+c>>2]>>>a&1?c:0)){j[b+8>>2]=a;gf(b+8|0)}oe=b- -64|0}function mD(a,b,c,d){var e=0,f=0;f=d&65535;d=d>>>16&32767;a:{if((d|0)!=32767){e=4;if(d){break a}return a|c|(b|f)?3:2}e=!(a|c|(b|f))}return e}function HK(a){var b=0;b=oe-32|0;oe=b;j[b+8>>2]=0;j[b+20>>2]=72;j[b+24>>2]=72;j[b+12>>2]=640;j[b+16>>2]=640;a=mm(a,b+8|0);oe=b+32|0;return a}function Ag(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=dk(d,e,f,g,h);if(!a){ve(149907,0);return 0}return bk(b,c,a)|0}function sH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[a+12>>2];qe[j[a+4>>2]](a,b,b>>31,0)|0;if(d){a=qe[j[a+8>>2]](a,c,1,d)|0}else{a=0}return a|0}function qE(a){a=a|0;var b=0,c=0;if(a){b=j[a+8>>2];if(b){c=j[b>>2];if(c){ze(c);b=j[a+8>>2]}c=j[b+4>>2];if(c){ze(c);b=j[a+8>>2]}ze(b)}ze(a)}}function di(a,b){var c=0;c=oe-240|0;oe=c;a:{if(!a){j[c>>2]=b;a=j[56878];Lj(a,102427,c);Ll(a);break a}Li(a,c+16|0,b);Ze(a,c+16|0)}oe=c+240|0}function ri(a){var b=0;a=a*a;b=a*a;return q(a*-.499999997251031+1+b*.04166662332373906+a*b*(a*2439044879627741e-20+ -.001388676377460993))}function mn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!(!a|!b|(!c|!(j[b+8>>2]&8)))){j[c>>2]=j[b+16>>2];j[d>>2]=l[b+20>>1];e=8}return e|0}function cs(a){var b=0;b=oe-16|0;oe=b;i[b+14>>1]=0;qe[j[a+8>>2]](a,b+14|0,2,1)|0;oe=b+16|0;a=l[b+14>>1];return(a<<8&16711680|a<<24)>>>16|0}function Yl(a){var b=0;if(a){b=j[a+8>>2];if(b){ze(b)}b=j[a+12>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function Tz(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+4>>2];a:{if(c){break a}d=j[a>>2];c=Ao(a+16|0,b,d);if(c){break a}c=Ao(a+52|0,b,d)}return c|0}function EF(a){a=a|0;var b=0,c=0;b=j[67093];if((a|0)>=1){while(1){c=(a|0)>1;b=j[b+1320>>2];a=a-1|0;if(c){continue}break}}return j[b+12>>2]}function $l(a){var b=0;a:{if(!a){break a}b=j[67085];if(!b){break a}if((Rh(j[b+708>>2])|0)==(a|0)){zg(0,0)}b=j[67085];qe[j[b+204>>2]](b,a)}}function so(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;j[d>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;if(j[b+72>>2]==j[a+16>>2]){Rg(b+108|0,c)}}function pg(a){var b=0;a:{b=j[a+28>>2];if(!b){break a}j[a+28>>2]=b-1;if((b|0)>1){break a}b=j[a>>2];if(!(b&2)){break a}j[a>>2]=b&-3;hk(a)}}function lE(a){var b=0;if(a){b=j[a>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function Mi(a){var b=0,c=0;b=v(1e10/+(a|0)+.5);a=b>=-2147483648;if(r(b)<2147483648){c=~~b}else{c=-2147483648}return b<=2147483647?a?c:0:0}function HF(a){a=a|0;var b=0,c=0;b=j[67093];if((a|0)>=1){while(1){c=(a|0)>1;b=j[b+1320>>2];a=a-1|0;if(c){continue}break}}return j[b+4>>2]}function HD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=j[b>>2]+15&-16;j[c>>2]=b+16;d=a,e=El(j[b>>2],j[b+4>>2],j[b+8>>2],j[b+12>>2]),o[d>>3]=e}function dj(a,b){var c=0;if(!a){return}a=j[a+52>>2];h[a+79|0]=b;c=j[a+68>>2];b=c&-3|((b|0)!=255)<<1;j[a+68>>2]=b;if((b|0)!=(c|0)){wf(a)}}function QN(a,b){a=a|0;b=b|0;var c=0;a:{if(!(j[b>>2]!=512|(k[b+12|0]-5&255)>>>0>1)){c=0;if(j[b+8>>2]==j[a+8>>2]){break a}}c=1}return c|0}function xw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=12;a:{if(we(b,90703)){break a}d=7;if(j[c>>2]!=35){break a}j[a- -64>>2]=35;d=0}return d|0}function KD(a,b,c,d){if(a|b){while(1){c=c-1|0;h[c|0]=k[(a&15)+227456|0]|d;a=(b&15)<<28|a>>>4;b=b>>>4|0;if(a|b){continue}break}}return c}function He(a,b,c){if((b|0)<=0){j[c>>2]=b?6:0;return 0}a=qe[j[a+4>>2]](a,b)|0;if(!a){j[c>>2]=64;return 0}a=Ee(a,0,b);j[c>>2]=0;return a}function fn(a,b,c){a=a|0;b=b|0;c=c|0;if(a){j[a+188>>2]=b;j[a+184>>2]=c?c:571;if(j[a+180>>2]){j[a+180>>2]=0;Ze(a,101894)}j[a+472>>2]=0}}function Kj(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=j[a+4>>2];c=a;break a}b=b-32|0;c=a+4|0}c=j[c>>2];j[a+4>>2]=d>>>b;j[a>>2]=d<<32-b|c>>>b}function HE(a){var b=0,c=0;a:{if(j[a+4>>2]){c=j[a+72>>2];b=c;if(j[a+88>>2]<3){break a}return(j[a+96>>2]<<5)+c|0}b=j[a+72>>2]}return b}function GE(a){var b=0,c=0;a:{if(j[a+4>>2]){c=j[a+76>>2];b=c;if(j[a+88>>2]<3){break a}return(j[a+96>>2]<<4)+c|0}b=j[a+76>>2]}return b}function nv(a,b,c){a=a|0;b=b|0;c=c|0;if(a){if(4294967295/(c>>>0)>>>0<=b>>>0){Ze(a,96649);return 0}a=cg(a,p(b,c))}else{a=0}return a|0}function cj(a){var b=0;b=j[67085];if(!b){ve(151717,0);return 0}if(!(j[a>>2]==(b+316|0)?a:0)){ve(150417,0);return 0}return j[a+48>>2]}function cz(a,b){a=a|0;b=b|0;var c=0;j[a+16>>2]=b;c=k[b+7|0];b=k[b+6|0];j[a+24>>2]=-1;j[a+28>>2]=0;j[a+32>>2]=(b<<8|c)>>>1;return 0}function Yq(a,b,c,d){if(!a){return}if(b){h[b|0]=k[j[a+52>>2]+76|0]}if(c){h[c|0]=k[j[a+52>>2]+77|0]}if(d){h[d|0]=k[j[a+52>>2]+78|0]}}function Tt(a){a=a|0;var b=0;if(a){b=j[a+212>>2];if(b&64){ci(a,102187);return}j[a+212>>2]=b|16384;j[a+216>>2]=j[a+216>>2]|33558528}}function Rw(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+32&-64;return((a|0)>0?a:0)|0}a=(c-b|0)+32&-64;return((a|0)<0?0:0-a|0)|0}function Ow(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+63&-64;return((a|0)>0?a:0)|0}a=(c-b|0)+63&-64;return((a|0)<0?0:0-a|0)|0}function Jw(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+16&-32;return((a|0)>0?a:0)|0}a=(c-b|0)+16&-32;return((a|0)<0?0:0-a|0)|0}function Ij(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=j[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=j[c>>2];j[a>>2]=d<>2]=c<>>32-b}function Gx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=oe-16|0;oe=e;a=cl(a,b,e+12|0);if(!a){zl(c,j[e+12>>2],d)}oe=e+16|0;return a|0}function Ds(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=oe-16|0;oe=a;j[a+4>>2]=d;j[a>>2]=j[(c<<2)+116624>>2];Lj(j[56878],116614,a);oe=a+16|0}function DB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){j[b>>2]=j[a+152>>2]}if(c){j[c>>2]=j[a+156>>2]}if(d){j[d>>2]=j[a+160>>2]}return 0}function hA(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+376>>2];j[a+16>>2]=c;j[a+20>>2]=j[b+380>>2]-c;j[a+24>>2]=j[b+384>>2];return 0}function yD(a,b){var c=0;c=oe-144|0;oe=c;c=Ee(c,0,144);j[c+76>>2]=-1;j[c+44>>2]=a;j[c+32>>2]=1070;j[c+84>>2]=a;BD(c,b);oe=c+144|0}function lg(a){var b=0,c=0,d=0;b=a;c=j[a+36>>2];a=j[a+32>>2];if(c>>>0>a+1>>>0){d=k[a|0]|k[a+1|0]<<8;a=a+2|0}j[b+32>>2]=a;return d}function Wr(a,b){var c=0;c=oe-16|0;oe=c;a:{if(a>>>0>=2){j[c>>2]=1;ve(125431,c);break a}Ae(b,j[(a<<2)+125468>>2]+4|0,84)}oe=c+16|0}function Hs(){var a=0;a=j[66037];if(a){while(1){if(j[a>>2]==1){return j[a+4>>2]}a=j[a+8>>2];if(a){continue}break}}return j[57835]}function Ho(a,b){a=a|0;b=b|0;a=j[a+4>>2]|j[a>>2]<<16;b=j[b+4>>2]|j[b>>2]<<16;if(a>>>0<=b>>>0){return(a>>>0>>0?-1:0)|0}return 1}function St(a){a=a|0;var b=0;if(a){b=j[a+212>>2];if(b&64){ci(a,102187);return}j[a+212>>2]=b|16384;j[a+216>>2]=j[a+216>>2]|20480}}function EC(){var a=0,b=0;a:{a=j[65534];if(!a){break a}a=a-1|0;j[65534]=a;if(a){break a}a=j[65535];if(a){b=j[a>>2];dI(a);ze(b)}}}function Ut(a){a=a|0;var b=0;if(a){b=j[a+212>>2];if(b&64){ci(a,102187);return}j[a+212>>2]=b|16384;j[a+216>>2]=j[a+216>>2]|1024}}function UL(a){a=a|0;var b=0;b=j[a+436>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function Qw(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c&-64|32;return((a|0)<0?32:a)|0}a=c-b&-64;return((a|0)<-32?-32:-32-a|0)|0}function $j(a,b){var c=0;if(!a){return}a=j[a+52>>2];c=j[a+68>>2];b=c&-4097|((b|0)!=0)<<12;j[a+68>>2]=b;if((b|0)!=(c|0)){wf(a)}}function fA(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+16>>2];return(c>>>0>b>>>0|j[a+20>>2]+c>>>0<=b>>>0?d:l[j[a+24>>2]+(b<<1)>>1])|0}function aO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(d){b=0;if(k[d|0]==48){break a}if(!Me(d,123874)){break a}}b=1}j[a+120>>2]=b}function Ve(a){var b=0,c=0;if(j[a+20>>2]){b=j[a+28>>2];c=j[a>>2];if(c){qe[j[b+8>>2]](b,c)}j[a>>2]=0}j[a+32>>2]=0;j[a+36>>2]=0}function Sz(a){a=a|0;j[a+12>>2]=1;j[a+16>>2]=0;j[a+4>>2]=0;j[a+76>>2]=0;j[a- -64>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+28>>2]=0}function PN(a,b){a=a|0;b=b|0;var c=0;a:{if(!(j[b>>2]!=512|k[b+12|0]!=4)){c=0;if(j[b+8>>2]==j[a+8>>2]){break a}}c=1}return c|0}function ON(a,b){a=a|0;b=b|0;var c=0;a:{if(!(j[b>>2]!=512|k[b+12|0]!=3)){c=0;if(j[b+8>>2]==j[a+8>>2]){break a}}c=1}return c|0}function Mz(a){a=a|0;j[a+12>>2]=2;j[a+16>>2]=0;j[a+4>>2]=0;j[a+76>>2]=0;j[a- -64>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+28>>2]=0}function lt(){var a=0;if(j[57796]){a=j[57812];if(a){qe[a|0]()}j[57796]=0}if(j[57816]){a=j[57832];if(a){qe[a|0]()}j[57816]=0}}function Ns(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;d=He(a,96,c+12|0);e=j[c+12>>2];if(!e){j[d>>2]=a;j[b>>2]=d}oe=c+16|0;return e}function TF(a){a=a|0;var b=0,c=0;b=j[a+96>>2];c=j[b>>2];if((qe[j[c+12>>2]](c,j[b+8>>2],1,j[a+16>>2])|0)!=j[a+16>>2]){Nm(a)}}function Lz(a){a=a|0;var b=0;j[a+140>>2]=0;j[a+112>>2]=0;b=j[a+12>>2];Co(a+28|0,b);Co(a- -64|0,b);j[a+12>>2]=0;j[a+16>>2]=0}function zw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+16>>2]+(c<<3)|0;j[a+4>>2]=j[a+4>>2]+d;a=j[b+24>>2]+c|0;h[a|0]=k[a|0]|16}function $f(a,b){var c=0;if(!b){return 0}a:{if(!a){break a}c=j[a+720>>2];if(!c){break a}return qe[c|0](a,b)|0}return Se(b)}function wv(a,b){a=a|0;b=b|0;var c=0;b=j[j[a>>2]+132>>2];c=k[b+104|0];j[a+16>>2]=c;j[a+20>>2]=(k[b+105|0]-c|0)+1;return 0}function sG(a){a=a|0;var b=0;b=oe-16|0;oe=b;h[b+14|0]=105;h[b+15|0]=0;j[b>>2]=j[a+68>>2];E(161987,b+14|0,b|0)|0;oe=b+16|0}function ey(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1886352244,b,0)|0;if(!c){return $e(b,88944,a+468|0)|0}return c|0}function Sj(a,b){var c=0;c=-1;a:{if(j[a+8>>2]<1){break a}b=vi(a,b);if((b|0)<0){break a}c=j[j[a+24>>2]+(b<<2)>>2]}return c}function Di(a,b,c,d,e){if(!(j[a>>2]==268305?a:0)){ve(125709,0);return}h[a+327|0]=e;h[a+326|0]=d;h[a+325|0]=c;h[a+324|0]=b}function xG(a,b){a=a|0;b=b|0;a=oe-16|0;oe=a;h[a+14|0]=105;h[a+15|0]=0;j[a>>2]=j[b+8>>2];E(157691,a+14|0,a|0)|0;oe=a+16|0}function fH(a,b){a=a|0;b=b|0;a=lH(a,j[j[b+144>>2]>>2]);a:{if(!(S()|0)){break a}if(!sg(153671,1)){break a}R(0)}return a|0}function Re(a,b,c){var d=0,e=0,f=0,g=0;d=Le(b);if(c){e=a;a=c-1|0;a=a>>>0>d>>>0?d:a;f=Ae(e,b,a)+a|0,g=0,h[f|0]=g}return d}function Nt(a){var b=0;a:{if(!a){break a}b=j[a+156>>2];if(!b){break a}a=j[a+160>>2];if(!a){break a}qe[b|0](a,1)}Lc();z()}function kF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=aj(j[a>>2],c,6691);if(!a){return 64}j[d>>2]=a;j[e>>2]=0;return 0}function bF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=aj(j[a>>2],c,6705);if(!a){return 64}j[d>>2]=a;j[e>>2]=0;return 0}function AA(a,b){a=a|0;b=b|0;var c=0;c=j[a>>2];j[b+20>>2]=j[a+20>>2];j[b+24>>2]=j[a+24>>2];return ll(c,a+28|0,b+28|0)|0}function JD(a,b,c){if(a|b){while(1){c=c-1|0;h[c|0]=a&7|48;a=(b&7)<<29|a>>>3;b=b>>>3|0;if(a|b){continue}break}}return c}function uo(a){a=a|0;var b=0;b=j[a+4>>2];qe[j[j[j[a+12>>2]+56>>2]+8>>2]](j[a+52>>2],j[b+164>>2],j[b+168>>2]);return 0}function py(a,b){a=a|0;b=b|0;a=j[j[a>>2]+4>>2];b=j[j[b>>2]+4>>2];if(a>>>0<=b>>>0){return(a>>>0>>0?-1:0)|0}return 1}function _f(a){var b=0,c=0;c=Le(a)+1|0;b=c;b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}if(b){Ae(b,a,c)}return b}function Vt(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(!a){break a}if((Nj(b,1,c,j[a+188>>2])|0)==(c|0)){break a}Ye(a,101883);z()}}function Pw(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c&-64;return((a|0)>0?a:0)|0}a=c-b&-64;return((a|0)<0?0:0-a|0)|0}function Bw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+16>>2]+(c<<3)|0;j[a>>2]=j[a>>2]+d;a=j[b+24>>2]+c|0;h[a|0]=k[a|0]|8}function Bu(a,b){var c=0;c=j[a+208>>2];if((c&5)==5){j[a+208>>2]=c|24;Ie(a,b);if(b){Je(a,99995)}return}hf(a,99982);z()}function $D(a,b,c){var d=0;b=b&255;while(1){if(!c){return 0}c=c-1|0;d=c+a|0;if((b|0)!=k[d|0]){continue}break}return d}function un(a,b){var c=0;a:{if(!a|!b){break a}c=j[b>>2];if(!c){break a}j[b>>2]=0;Ni(a,c,32767,-1);Ke(a,Ee(c,0,268))}}function fp(a){a=a|0;var b=0,c=0;b=j[j[a>>2]+100>>2];c=j[a+20>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+16>>2]=0;j[a+20>>2]=0}function Vr(a,b,c){if(!(j[a>>2]==268306?a:0)){ve(125954,0);return}if(b){j[b>>2]=j[a+12>>2]}if(c){j[c>>2]=j[a+16>>2]}}function OG(a,b,c){a=a|0;b=b|0;c=c|0;if((a|0)==12){ks()}Cf(j[c+4>>2],(a|0)==13?12:13,0,0);return(We(512,-1)|0)==1|0}function Lp(a,b,c,d,e,f,g,h,i){j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=d;j[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function Br(a){a=a|0;var b=0,c=0;b=j[a+28>>2];c=j[a>>2];if(c){qe[j[b+8>>2]](b,c)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0}function jy(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1751474532,b,0)|0;if(!c){c=$e(b,88448,a+160|0)}return c|0}function _x(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1651008868,b,0)|0;if(!c){c=$e(b,88448,a+160|0)}return c|0}function Vz(a,b){a=a|0;b=b|0;var c=0;b=b+20|0;c=fm(j[a>>2],i[a+22>>1],i[a+20>>1],b);if(!c){Uq(a+20|0,b)}return c|0}function $x(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1346587732,b,0)|0;if(!c){c=$e(b,89056,a+548|0)}return c|0}function zs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Pm(j[a+92>>2],b,c);d=d-c|0;if((d|0)>=1){Oe(b+c|0,k[a+11|0],d)}}function zj(a){var b=0,c=0;if(a){b=j[j[a>>2]>>2];c=j[j[a+4>>2]+12>>2];if(c){qe[c|0](a)}if(a){qe[j[b+8>>2]](b,a)}}}function Xe(a,b){var c=0;c=a;a=(a|0)!=0&(b|0)!=0;a=qe[j[57973]](a?c:1,a?b:1)|0;if(a){j[57976]=j[57976]+1}return a}function Pj(a){var b=0;if(a){b=j[a>>2];if(b){ze(b)}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360)}}function Cp(a){var b=0,c=0;b=oe-16|0;oe=b;uD(b,a);c=El(j[b>>2],j[b+4>>2],j[b+8>>2],j[b+12>>2]);oe=b+16|0;return c}function vk(a){a:{a=a-1|0;if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}ve(117104,0);return}qe[j[66053]](a)}function uk(a){a:{a=a-1|0;if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}ve(117104,0);return}qe[j[66054]](a)}function jP(a){var b=0,c=0;b=v(a);c=a-b;if(!(c<.5)){a=w(a);if(c>.5){return a}c=a;a=b*.5;b=a-v(a)==0?b:c}return b}function SJ(){var a=0;a:{a=j[65534];if(!a){if(Ss()){break a}a=j[65534]}j[65534]=a+1;return 0}ve(1847,0);return-1}function vq(a){var b=0;if(a){b=j[a+4>>2];if(b){ze(b)}b=j[a+8>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0}}function tv(){var a=0;a=j[65536];if(a&1){a=j[65536]}if(a&2){a=j[65537];if(a){j[65537]=a-1}a=j[65536]}j[65536]=0}function gx(a,b){a=a|0;b=b|0;j[a+24>>2]=j[b+20>>2];j[a+4>>2]=j[b>>2];j[a+28>>2]=j[b+24>>2];Zn(a,b,0);Zn(a,b,1)}function PG(a,b,c){a=a|0;b=b|0;c=c|0;YN(j[c+4>>2],q(o[b+64>>3]),q(-q(o[b+72>>3])));return(We(1027,-1)|0)==1|0}function IL(){var a=0;pj(16384);a=j[67077];if(a){if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}j[67077]=0}}function AD(a,b){var c=0;c=oe-16|0;j[c+12>>2]=a;a=b>>>0>1?((b<<2)+a|0)-4|0:a;j[c+8>>2]=a+4;return j[a>>2]} -function KI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=j[b+28>>2];c=qe[j[a+508>>2]](a,1734439792,b,0)|0;a:{if(c){break a}c=_e(b,4);j[d+12>>2]=c;if(c){break a}g=a,h=af(b),i[g+540>>1]=h;g=a,h=af(b),i[g+542>>1]=h;Ve(b);if(l[a+540>>1]>=2){i[a+542>>1]=0;c=8;break a}c=e;e=l[a+542>>1];g=a,h=xe(c,4,0,e,0,d+12|0),j[g+544>>2]=h;c=j[d+12>>2];if(c){break a}c=_e(b,e<<2);j[d+12>>2]=c;if(c){break a}if(e){c=j[a+544>>2];a=0;while(1){f=c+(a<<2)|0;g=f,h=af(b),i[g>>1]=h;g=f,h=af(b),i[g+2>>1]=h;a=a+1|0;if((e|0)!=(a|0)){continue}break}}Ve(b);c=j[d+12>>2]}oe=d+16|0;return c|0}function IH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=j[a+256>>2];if(!f){t=a;f=i[a+296>>1];g=j[a+244>>2];a:{if(!f){break a}e=i[a+294>>1];g=j[a+248>>2];if(!e){break a}k=j[a+244>>2];d=k>>31;m=d^d+k;d=e>>31;n=d+e^d;o=p(m>>>16|0,n);d=o<<16|8192;l=j[a+248>>2];h=l>>31;q=h^h+l;h=f>>31;r=h+f^h;s=p(q>>>16|0,r);h=s<<16|8192;g=d;d=d+p(n,m&65535)|0;d=(o>>>16|0)+(g>>>0>d>>>0)<<18|d>>>14;g=(e^k)>-1?d:0-d|0;e=h+p(r,q&65535)|0;e=(s>>>16|0)+(e>>>0>>0)<<18|e>>>14;g=ig(g,(f^l)>-1?e:0-e|0)}f=g;j[t+256>>2]=f}c=De(c,f);j[j[a+384>>2]+(b<<2)>>2]=c}function nh(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=a+420|0;f=j[a+412>>2];d=j[a+428>>2];if(d){while(1){h=j[d>>2];g=j[d+4>>2];if(!(!g|b>>>0>g>>>0)){a:{if((b|0)==(g|0)){j[e+8>>2]=j[d+8>>2];j[d+8>>2]=j[a+432>>2];j[a+432>>2]=d;break a}j[d+4>>2]=g-b;j[d>>2]=b+h}if(c){j[c>>2]=h}return h+j[a+408>>2]|0}e=d;d=j[d+8>>2];if(d){continue}break}}d=j[a+416>>2];f=b+f|0;if(d>>>0>>0){e=j[a+408>>2];while(1){d=e?d<<1:2048;e=mf(e,d);if(!e){Be(0);return 0}j[a+416>>2]=d;j[a+408>>2]=e;if(d>>>0>>0){continue}break}}d=j[a+412>>2];e=j[a+408>>2];if(c){j[c>>2]=d}j[a+412>>2]=j[a+412>>2]+b;return d+e|0}function nC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0);c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=c<<1;f=c>>>2|0;if(f){e=c;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);g=e+c|0;e=c+d|0;while(1){c=e-8|0;g=g-4|0;i=n[g>>2];n[c>>2]=i;n[e-4>>2]=i;e=c;f=f-1|0;if(f){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function Rk(a,b,c,d){var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;e=b;f=8-c|0;b=1<>2]=l;n=b>>>0>1?b:1;o=+(d|0)*1e-5;q=1<<15-c;m=-1<<16-c^-1;r=1/+(m|0);b=0;s=d-95e3>>>0<10001;while(1){g=ih(a,512);j[(b<<2)+l>>2]=g;d=0;e=0;a:{if(!s){while(1){h=(d<<1)+g|0;k=v(Ag(r*+((d<>>0),o)*65535+.5);b:{if(k<4294967296&k>=0){e=~~k>>>0;break b}e=0}i[h>>1]=e;d=d+1|0;if((d|0)!=256){continue}break a}}while(1){d=(e<>>0)/(m>>>0)|0}i[h>>1]=d;e=e+1|0;if((e|0)!=256){continue}break}}b=b+1|0;if((n|0)!=(b|0)){continue}break}}function Qo(){var a=0,b=0,c=0;a:{b:{c:{b=j[65557];switch(b|0){case 0:break a;case 1:break c;default:break b}}if(j[65565]>=1){while(1){ZC(a);a=a+1|0;if((a|0)>2];c=j[a+4>>2];if(c){qe[c|0](-2,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}j[65571]=0;Pj(j[65564]);ZD();cE();Po(-1);aD();Ao(j[65564]);j[65564]=0;b=j[65566];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[65566]=0;b=j[65556];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[65555]=0;j[65556]=0;b=j[65557]}j[65557]=b-1}}function TB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<1;e=b>>>1|0;if(e){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);b=(c+b|0)-2|0;c=(d+c|0)-4|0;while(1){n[c>>2]=q(i[b>>1])*q(30517578125e-15);c=c-4|0;b=b-2|0;e=e-1|0;if(e){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function pA(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,l=0;f=k[e+128|0]|k[e+129|0]<<8|(k[e+130|0]<<16|k[e+131|0]<<24);h=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(!h){return 1}e=e+132|0;while(1){f=k[e+8|0]|k[e+9|0]<<8|(k[e+10|0]<<16|k[e+11|0]<<24);g=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);i=k[e+7|0];j=i|(k[e+5|0]<<16|k[e+4|0]<<24|k[e+6|0]<<8);if(i&3){Hf(a,0,c,g,3530)}if(!(d-j>>>0>=(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0?d>>>0>=j>>>0:0)){Hf(a,b,c,g,3572);return 0}e=e+12|0;l=l+1|0;if((h|0)!=(l|0)){continue}break}return 1}function Fy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((c|0)>=1){g=(j[e+24>>2]?255:0)>>>k[e+31|0]<>2];i=j[(k[d+21|0]<<2)+234976>>2];m=j[(k[d+20|0]<<2)+234976>>2];n=k[e+34|0];o=k[e+30|0];p=k[e+33|0];q=k[e+29|0];r=k[e+32|0];s=k[e+28|0];t=k[d+26|0];u=k[d+25|0];v=k[d+24|0];while(1){e=l[b>>1];j[a>>2]=k[((e&j[d+8>>2])>>>u|0)+i|0]>>>q<>2])>>>v|0)+m|0]>>>s<>2])>>>t|0)+h|0]>>>o<>2],k[j[a+44>>2]+9|0]);e=j[a+32>>2];d=j[a+12>>2];b=j[a+28>>2];c=j[a>>2];a:{b:{a=j[a+20>>2];c:{if(c>>>0>>0){if(p(b,d)+c>>>0>a>>>0){break c}break b}if(p(b,e)+a>>>0<=c>>>0){break b}}if(a>>>0>>0){if(!b){break a}while(1){Li(a,c,f);a=a+e|0;c=c+d|0;b=b-1|0;if(b){continue}break}break a}if(!b){break a}g=0-e|0;h=0-d|0;i=d;d=b-1|0;c=p(i,d)+c|0;a=p(d,e)+a|0;while(1){Li(a,c,f);a=a+g|0;c=c+h|0;b=b-1|0;if(b){continue}break}break a}if(!b){break a}while(1){Ge(a,c,f);a=a+e|0;c=c+d|0;b=b-1|0;if(b){continue}break}}}function HH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;q=j[j[a+384>>2]+(b<<2)>>2];b=j[a+256>>2];if(!b){r=a;b=i[a+296>>1];e=j[a+244>>2];a:{if(!b){break a}d=i[a+294>>1];e=j[a+248>>2];if(!d){break a}g=j[a+244>>2];c=g>>31;h=c^c+g;c=d>>31;k=c+d^c;l=p(h>>>16|0,k);c=l<<16|8192;a=j[a+248>>2];f=a>>31;m=f^a+f;f=b>>31;n=f+b^f;o=p(m>>>16|0,n);f=o<<16|8192;e=c;c=c+p(k,h&65535)|0;c=(l>>>16|0)+(e>>>0>c>>>0)<<18|c>>>14;e=(d^g)>-1?c:0-c|0;d=f+p(n,m&65535)|0;d=(o>>>16|0)+(d>>>0>>0)<<18|d>>>14;e=ig(e,(a^b)>-1?d:0-d|0)}b=e;j[r+256>>2]=b}return ye(q,b)|0}function qA(a,b){var c=q(0),d=0,e=q(0),f=q(0),g=q(0),h=0;d=oe-48|0;oe=d;a:{if(!(j[a>>2]==268305?a:0)){ve(31725,0);break a}h=d;b:{if(b){e=n[b+12>>2];g=n[b+8>>2];f=n[b>>2];c=n[b+4>>2];break b}c=q(q(j[a+228>>2])/n[a+292>>2]);c:{if(q(r(c))>2])/n[a+288>>2]);d:{if(q(r(c))>2]=c;e=q(q(c+e)+q(-1));n[d+28>>2]=e;n[d+20>>2]=e;n[d+32>>2]=f;n[d+24>>2]=f;n[d+12>>2]=c;n[d+4>>2]=c;n[d>>2]=f;c=q(q(f+g)+q(-1));n[d+16>>2]=c;n[d+8>>2]=c;sA(a,d)}oe=d+48|0}function IL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(!a){break a}d=j[a>>2];if(!d){break a}wo(d,c);wo(d,b);j[a>>2]=0;Fn(d);Ke(d,j[d+728>>2]);j[d+728>>2]=0;Ke(d,j[d+804>>2]);j[d+804>>2]=0;Ke(d,j[d+788>>2]);j[d+788>>2]=0;Ke(d,j[d+612>>2]);j[d+612>>2]=0;Ke(d,j[d+616>>2]);j[d+616>>2]=0;a=j[d+676>>2];if(a&4096){Ho(d,j[d+416>>2]);j[d+416>>2]=0;a=j[d+676>>2]}c=a&-4097;j[d+676>>2]=c;b=d;if(a&8192){Ke(d,j[d+528>>2]);j[d+528>>2]=0;c=j[d+676>>2]}j[b+676>>2]=c&-8193;qF(d+224|0);Ke(d,j[d+568>>2]);j[d+568>>2]=0;Ke(d,j[d+772>>2]);j[d+772>>2]=0;Ke(d,j[d+696>>2]);j[d+696>>2]=0;yy(d)}}function Gy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((c|0)>=1){g=j[(k[d+22|0]<<2)+234976>>2];h=j[(k[d+21|0]<<2)+234976>>2];i=j[(k[d+20|0]<<2)+234976>>2];l=k[e+35|0];m=k[e+31|0];n=k[e+34|0];o=k[e+30|0];p=k[e+33|0];q=k[e+29|0];r=k[e+32|0];s=k[e+28|0];t=k[d+26|0];u=k[d+25|0];v=k[d+24|0];while(1){e=j[b>>2];j[a>>2]=k[((e&j[d+8>>2])>>>u|0)+h|0]>>>q<>2])>>>v|0)+i|0]>>>s<>2])>>>t|0)+g|0]>>>o<>>24>>>m<>2]=1;k=j[d+8>>2];l=j[d+12>>2];b=j[d+4>>2];m=j[c+16>>2];d=j[d>>2];c=j[c+12>>2];h=n[e+8>>2];i=n[e+12>>2];f=n[e+4>>2];g=n[e>>2];n[a+16>>2]=g;n[a+12>>2]=f;n[a+4>>2]=f;n[a>>2]=g;f=q(f+i);n[a+28>>2]=f;g=q(g+h);n[a+24>>2]=g;n[a+20>>2]=f;n[a+8>>2]=g;f=q(c|0);g=q(q(d|0)/f);n[a+48>>2]=g;h=q(m|0);i=q(q(b|0)/h);n[a+44>>2]=i;n[a+36>>2]=i;n[a+32>>2]=g;g=q(q(b+l|0)/h);n[a+60>>2]=g;f=q(q(d+k|0)/f);n[a+56>>2]=f;n[a+52>>2]=g;n[a+40>>2]=f;return 0}function Jy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;if((c|0)>=1){f=j[(k[d+30|0]<<2)+234976>>2];g=j[(k[d+29|0]<<2)+234976>>2];h=j[(k[d+28|0]<<2)+234976>>2];l=j[e+24>>2];m=k[e+34|0];n=k[e+30|0];o=k[e+33|0];p=k[e+29|0];q=k[e+32|0];r=k[e+28|0];s=k[d+34|0];t=j[d+20>>2];u=k[d+33|0];v=j[d+16>>2];w=k[d+32|0];x=j[d+12>>2];e=0;while(1){d=j[b>>2];i[a>>1]=k[((d&v)>>>u|0)+g|0]>>>p<>>w|0)+h|0]>>>r<>>s|0)+f|0]>>>n<>2]=55382;ve(55356,d);break a}Sj(268332);c=j[a+36>>2];j[a+36>>2]=c-1;if((c|0)>=2){j[67083]=0;break a}b=j[67084];b:{if((b|0)==(a|0)){j[67084]=j[a+40>>2];break b}if(!b){break b}while(1){c=b;b=j[b+40>>2];if(!b){break b}if((a|0)!=(b|0)){continue}break}j[c+40>>2]=j[a+40>>2]}j[67083]=0;b=j[a+4>>2];c:{if(!b){break c}c=j[b+12>>2];j[b+12>>2]=c-1;if((c|0)>1){break c}c=j[b+4>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=d+16|0}function yr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;j[a+44>>2]=b;Dg(j[a>>2],b);c=j[a>>2];b=j[j[c+656>>2]+2952>>2];c=Kf(j[j[c+96>>2]+4>>2],79232);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}e=qe[b|0](c)|0;if(!e){break a}f=j[j[a>>2]+656>>2];c=j[f+1392>>2];h=j[a+40>>2];qe[j[e+4>>2]](j[h>>2],j[a+16>>2],j[a+20>>2],0,0);b=j[f+1896>>2];if(!b){break a}while(1){g=j[a+16>>2];b=b-1|0;i=b<<2;d=j[j[(i+f|0)+1900>>2]+68>>2];b:{if((d|0)!=(c|0)){g=Ne(g,c,d);d=Ne(j[a+20>>2],c,d);break b}d=j[a+20>>2]}qe[j[e+4>>2]](j[(h+i|0)+4>>2],g,d,0,0);if(b){continue}break}}return 0}function nv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;g=oe-32|0;oe=g;a:{if(!a){j[g>>2]=55693;ve(55656,g);break a}if(b){b:{c=j[b+8>>2];if((c|0)<1){break a}f=j[b+12>>2];if((f|0)<1){break a}i=j[b+4>>2];n=f+i|0;k=j[b>>2];o=c+k|0;f=0;b=0;while(1){d=(h<<3)+a|0;c=j[d+4>>2];c:{if((c|0)>=(n|0)){break c}d=j[d>>2];if((d|0)<(k|0)|(d|0)>=(o|0)|(c|0)<(i|0)){break c}if(!e){e=1;break a}e=(d|0)<(l|0);b=e?b:(b|0)<(d|0)?d:b;l=e?d:l;e=1;if((c|0)<(f|0)){f=c;break c}m=(c|0)>(m|0)?c:m}h=h+1|0;if((h|0)!=1){continue}break}if(e){break b}e=0;break a}}e=1}oe=g+32|0;return e}function Og(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{g=j[a+192>>2];h=j[a+188>>2];if(g|h){b=j[a+180>>2];c=j[a+156>>2];d=(b|0)<(c|0)?b:c;f=j[a+1420>>2]+(j[a+160>>2]<<2)|0;c=j[f>>2];b:{c:{if(!c){c=0;break c}e=j[c>>2];if((e|0)>(d|0)){break c}d:{while(1){b=c;if((d|0)==(e|0)){break b}c=j[b+12>>2];if(c){e=j[c>>2];if((e|0)>(d|0)){break d}continue}break}c=0}f=b+12|0}b=j[a+208>>2];if((b|0)>=j[a+204>>2]){break a}j[a+208>>2]=b+1;b=j[a+200>>2]+(b<<4)|0;j[b>>2]=d;j[b+12>>2]=c;j[b+4>>2]=0;j[b+8>>2]=0;j[f>>2]=b}j[b+8>>2]=j[b+8>>2]+h;j[b+4>>2]=j[b+4>>2]+g}return}F(a|0,1);z()}function FO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=oe-16|0;oe=e;a:{b:{if(!we(b,74660)){d=j[c>>2];b=0;c=71936;while(1){if(j[c+16>>2]==10?(d|0)==j[c+8>>2]:0){break a}b=b+1|0;c=j[(b<<2)+73168>>2];if((b|0)!=49){continue}break}d=6;break b}c:{if(!we(b,74676)){j[a+16>>2]=j[c>>2];break c}if(!we(b,74691)){b=j[c>>2];if(!b){d=35;break b}d=j[b+116>>2];j[e+12>>2]=d;if(!d){d=sk(b,e+12|0,a);if(d){break b}d=j[e+12>>2];j[b+116>>2]=d;j[b+120>>2]=541}j[d+12>>2]=j[c+4>>2];break c}d=12;if(we(b,74709)){break b}h[a+20|0]=k[c|0]}d=0}oe=e+16|0;return d|0}j[a+12>>2]=b;oe=e+16|0;return 0}function BJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=j[a+16>>2];c=k[a+8204|0]|k[a+8205|0]<<8|(k[a+8206|0]<<16|k[a+8207|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{if(!d){break a}a=a+8208|0;while(1){c=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}f=k[a+11|0]+(((((k[a+8|0]<<24)+b|0)-e|0)+(k[a+9|0]<<16)|0)+(k[a+10|0]<<8)|0)|0}return f|0}function qj(a){var b=0,c=0,d=0,e=0,f=0;b=oe-32|0;oe=b;d=j[67085];a:{if(!d){ve(57733,0);break a}if(!(j[a>>2]==(d+316|0)?a:0)){ve(56433,0);break a}c=j[a+108>>2];if(j[a+112>>2]){break a}if(c){j[c>>2]=j[c>>2]&-5;kf(c);d=j[67085]}c=0;f=j[d+136>>2];b:{if(!f|!j[d+140>>2]){break b}if((qe[f|0](d,a,b+28|0,b+24|0,b+20|0)|0)<0){break b}if(!ai(j[b+28>>2],b+16|0,b+12|0,b+8|0,b+4|0,b)){break b}e=vj(j[b+24>>2],j[a+24>>2],j[a+28>>2],j[b+16>>2],j[b+20>>2],j[b+12>>2],j[b+8>>2],j[b+4>>2],j[b>>2])}j[a+108>>2]=e;if(!e){break a}j[a+112>>2]=1;j[e>>2]=j[e>>2]|4;c=e}oe=b+32|0;return c}function iC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);if(d+7>>>0>=15){e=(d|0)/8|0;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=c;while(1){n[f>>2]=q(n[c>>2]+n[c+4>>2])*q(.5);c=c+8|0;f=f+4|0;e=e-1|0;if(e){continue}break}}c=(d|0)/2|0;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function oj(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0,o=0;m=(a+1|0)/2|0;o=(f+1|0)/2|0;l=(d+1|0)/2<<1;i=(b+1|0)/2|0;c=p(b,d)+c|0;e=p(b,f)+e|0;a:{if((c|0)!=(e|0)){d=c;break a}f=p(i,l);d=f;d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}if(!d){return Be(0)}Ge(d,c,f);n=d}if(b+2>>>0>=3){c=o-m|0;l=l-(m<<1)|0;f=e+p(i,o)|0;b=g?f:e;f=g?e:f;e=a+2>>>0<3;while(1){i=i-1|0;a=m;if(!e){while(1){h[b|0]=k[d|0];h[f|0]=k[d+1|0];f=f+1|0;d=d+2|0;b=b+1|0;a=a-1|0;if(a){continue}break}}f=c+f|0;b=b+c|0;d=d+l|0;if(i){continue}break}}if(n){if(n){qe[j[57975]](n);j[57976]=j[57976]-1}}return 0}function pj(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0,o=0;m=(a+1|0)/2|0;i=(d+1|0)/2|0;o=(f+1|0)/2|0;l=(b+1|0)/2|0;f=p(b,f)+e|0;c=p(b,d)+c|0;a:{if((f|0)!=(c|0)){d=c;break a}e=p(i,l)<<1;d=e;d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}if(!d){return Be(0)}Ge(d,c,e);n=d}if(b+2>>>0>=3){c=i-m|0;e=o-m<<1;i=p(i,l)+d|0;b=g?i:d;d=g?d:i;g=a+2>>>0<3;while(1){l=l-1|0;a=m;if(!g){while(1){h[f|0]=k[b|0];h[f+1|0]=k[d|0];f=f+2|0;d=d+1|0;b=b+1|0;a=a-1|0;if(a){continue}break}}f=e+f|0;d=c+d|0;b=b+c|0;if(l){continue}break}}if(n){if(n){qe[j[57975]](n);j[57976]=j[57976]-1}}return 0}function VB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<2;if(b){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);e=c+b|0;c=(d+c|0)-4|0;while(1){e=e-1|0;n[c>>2]=q(q(k[e|0])*q(.0078125))+q(-1);c=c-4|0;b=b-1|0;if(b){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function Ie(a,b){var c=0,d=0;c=oe-1024|0;oe=c;if(b){while(1){d=b>>>0<1024?b:1024;b=b-d|0;if(a){pf(a,c,d);tf(a,c,d)}if(b){continue}break}}b=j[a+212>>2];a:{b:{c:{d:{if(k[a+379|0]&32){j[a+800>>2]=129;pf(a,c,4);if((b&768)==768){break d}break c}j[a+800>>2]=129;pf(a,c,4);if(!(b&2048)){break c}}b=0;break b}d=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);b=0;if(j[a+412>>2]==(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))){break b}b=j[a+212>>2];e:{if(k[a+379|0]&32){if(!(b&512)){break e}break a}if(!(b&1024)){break a}}yi(a,5764);b=1}oe=c+1024|0;return b}hf(a,5764);z()}function MH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=oe-16|0;oe=e;c=j[a>>2];a:{if(k[c+8|0]&2){d=qe[j[j[c+532>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=j[e+12>>2];j[a+112>>2]=c;b=j[a>>2];if(h[b+8|0]&1){Dg(b,c);Wl(a);d=0;break a}d=qe[j[j[b+532>>2]+108>>2]](b,c,a+12|0)|0;if(!d){d=0;break a}j[a+112>>2]=-1;break a}j[a+112>>2]=-1;c=j[a>>2]}Ei(c,b);if(!(h[j[a>>2]+8|0]&1)){break a}d=Wl(a);j[a+36>>2]=j[a+68>>2];b=j[a+64>>2];j[a+28>>2]=j[a+60>>2];j[a+32>>2]=b;b=j[a+56>>2];j[a+20>>2]=j[a+52>>2];j[a+24>>2]=b;b=j[a+48>>2];j[a+12>>2]=j[a+44>>2];j[a+16>>2]=b}oe=e+16|0;return d|0}function BF(a,b,c){var d=0,e=0,f=0;a:{d=j[a+28>>2];e=j[d+52>>2];b:{if(!e){f=1;e=qe[j[a+32>>2]](j[a+40>>2],1<>2],1)|0;j[d+52>>2]=e;if(!e){break b}}a=j[d+40>>2];if(!a){j[d+44>>2]=0;j[d+48>>2]=0;a=1<>2];j[d+40>>2]=a}if(a>>>0<=c>>>0){Ae(e,b-a|0,a);j[d+48>>2]=0;break a}f=j[d+48>>2];a=a-f|0;a=a>>>0>c>>>0?c:a;Ae(e+f|0,b-c|0,a);c=c-a|0;if(c){Ae(j[d+52>>2],b-c|0,c);j[d+48>>2]=c;break a}f=0;b=a+j[d+48>>2]|0;c=b;b=j[d+40>>2];j[d+48>>2]=(c|0)==(b|0)?0:c;c=b;b=j[d+44>>2];if(c>>>0<=b>>>0){break b}j[d+44>>2]=a+b}return f}j[d+44>>2]=j[d+40>>2];return 0}function Lg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;f=oe-16|0;oe=f;rP(+b);h=oP(1)|0;e=oP(0)|0;g=h&2147483647;c=g;d=e;g=c+ -1048576|0;a:{if((g|0)==2145386495|g>>>0<2145386495){i=d<<28;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e+1006632960|0;break a}if((c|0)==2146435072|c>>>0>2146435072){i=e<<28;c=h;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e|2147418112;break a}if(!(c|d)){c=0;d=0;break a}g=c;c=c>>>0<1?s(e)+32|0:s(c);Nf(f,d,g,0,0,c+49|0);k=j[f>>2];i=j[f+4>>2];e=15372-c<<16;c=j[f+8>>2];d=e|j[f+12>>2]^65536}j[a>>2]=k;j[a+4>>2]=i;j[a+8>>2]=c;j[a+12>>2]=h&-2147483648|d;oe=f+16|0}function Af(a){var b=0,c=0;if(a){qe[j[66053]](a);b=a- -64|0;b;j[b>>2]=1;j[a+56>>2]=1;j[a+60>>2]=0;qe[j[66054]](a);b=j[a+84>>2];if(b){if(b){c=j[b+792>>2];if(c){if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}}b=j[a+80>>2];if(b){if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}}b=j[a+72>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}Ih(j[a+52>>2]);b=j[a>>2];a:{if(!b){break a}b=(b<<2)+264284|0;if(j[b>>2]!=(a|0)){break a}j[b>>2]=0}if(j[a+96>>2]){qe[j[66052]](a)}rh(j[a+92>>2]);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function Ij(a,b,c){var d=0,e=0;a:{d=j[a+24>>2];e=j[b+24>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+28>>2];e=j[b+28>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a>>2];e=j[b>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+4>>2];e=j[b+4>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+8>>2];e=j[b+8>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+12>>2];e=j[b+12>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+16>>2];e=j[b+16>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}a=j[a+20>>2];b=j[b+20>>2];return(a|0)>=(b-c|0)&(a|0)<=(b+c|0)}return 0}function GF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;df(b,j[a>>2],24);df(b,j[a+4>>2],24);df(b,j[a+8>>2]-1|0,24);df(b,j[a+12>>2]-1|0,6);df(b,j[a+20>>2],8);a:{if(j[a+12>>2]<1){break a}h=a+24|0;while(1){c=(e<<2)+h|0;d=j[c>>2];g=j[c>>2];b:{if(((d?32-s(d)|0:0)|0)>=4){df(b,g,3);df(b,1,1);df(b,j[c>>2]>>3,5);break b}df(b,g,4)}d=0;c=j[c>>2];if(c){while(1){d=(c&1)+d|0;c=c>>>1|0;if(c){continue}break}}f=d+f|0;e=e+1|0;if((e|0)>2]){continue}break}if((f|0)<1){break a}a=a+280|0;c=0;while(1){df(b,j[a+(c<<2)>>2],8);c=c+1|0;if((f|0)!=(c|0)){continue}break}}}function xw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){i=(p(i,l)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|h<<16|i;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function rw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){i=(p(i,l)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|h|i<<16;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Pv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){h=(p(h,l)>>>0)/255|0;i=(p(i,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|i<<16|h;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Jv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){h=(p(h,l)>>>0)/255|0;i=(p(i,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|i|h<<16;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function dL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;h[a+68|0]=1;j[a+64>>2]=0;j[a+8>>2]=d;j[a+4>>2]=b;j[a>>2]=j[b+100>>2];a:{if(!d){break a}b=j[j[d+156>>2]>>2];j[a+12>>2]=b;j[a+20>>2]=b+56;j[a+16>>2]=b+20;Yh(b);b=j[c+40>>2];j[a+72>>2]=0;j[a+76>>2]=b;if(!e){break a}j[a+72>>2]=j[j[d+156>>2]+36>>2]}j[a+24>>2]=0;j[a+28>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;b=j[22940];j[a+80>>2]=j[22939];j[a+84>>2]=b;b=j[22942];j[a+88>>2]=j[22941];j[a+92>>2]=b;b=j[22944];j[a+96>>2]=j[22943];j[a+100>>2]=b;b=j[22946];j[a+104>>2]=j[22945];j[a+108>>2]=b}function Ce(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(b>>>0>=33){c=j[a+16>>2];break a}f=j[a+4>>2];d=f+b|0;b:{g=j[a>>2];c=j[a+16>>2];if((g|0)<(c-4|0)){break b}if((c-(d+7>>3)|0)<(g|0)){break a}if(d){break b}return 0}h=j[(b<<2)+223632>>2];c=j[a+12>>2];b=k[c|0]>>>f|0;e=b;c:{if((d|0)<9){break c}b=k[c+1|0]<<8-f|b;e=b;if((d|0)<17){break c}b=k[c+2|0]<<16-f|b;e=b;if((d|0)<25){break c}b=k[c+3|0]<<24-f|b;e=b;if(!f|(d|0)<33){break c}e=k[c+4|0]<<32-f|b}b=e;j[a+4>>2]=d&7;d=(d|0)/8|0;j[a>>2]=d+g;j[a+12>>2]=d+c;return b&h}j[a+4>>2]=1;j[a>>2]=c;j[a+12>>2]=0;return-1}function un(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(o){i=(p(i,m)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;b=(p(b,l)>>>0)/255|0}j[d>>2]=i<<8|h|b<<16;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function bu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a=oe-16|0;oe=a;h=j[c+32>>2];H(j[c+12>>2],a+8|0,a|0)|0;g=j[c+4>>2];d=+j[g+28>>2]/o[a>>3];e=+j[g+24>>2]/o[a+8>>3];a:{if(h){e=o[33543]+e*+j[b+36>>2];b:{if(r(e)<2147483648){c=~~e;break b}c=-2147483648}b=j[b+40>>2];o[33543]=e- +(c|0);d=o[33544]+d*+(b|0);c:{if(r(d)<2147483648){f=~~d;break c}f=-2147483648}o[33544]=d- +(f|0);break a}d=d*+j[b+48>>2];d:{if(r(d)<2147483648){f=~~d;break d}f=-2147483648}d=e*+j[b+44>>2];if(r(d)<2147483648){c=~~d;break a}c=-2147483648}Kj(g,0,h,c,f);oe=a+16|0;return 0}function UB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<2;if(b){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);e=c+b|0;c=(d+c|0)-4|0;while(1){e=e-1|0;n[c>>2]=q(h[e|0])*q(.0078125);c=c-4|0;b=b-1|0;if(b){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function TF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0;e=oe;k=e;a:{if(j[a+8>>2]>=1){f=e;g=j[a>>2];e=(d|0)/(g|0)|0;i=f-((e<<2)+15&-16)|0;oe=i;if((e|0)>=1){d=0;while(1){h=vi(a,c);f=-1;if((h|0)==-1){break a}g=j[a>>2];j[(d<<2)+i>>2]=j[a+16>>2]+(p(h,g)<<2);d=d+1|0;if((e|0)!=(d|0)){continue}break}}d=0;f=0;if((g|0)<=0){break a}f=(e|0)<1;c=0;while(1){a=0;if(!f){while(1){h=(a+d<<2)+b|0;n[h>>2]=n[j[(a<<2)+i>>2]+(c<<2)>>2]+n[h>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}d=d+e|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}f=0}oe=k;return f|0}function PA(a,b){var c=0,d=0;d=oe-16|0;oe=d;c=j[67062];a:{if(c){while(1){if(!wf(b,c,16)){break a}c=j[c+28>>2];if(c){continue}break}}c=k[b+12|0]|k[b+13|0]<<8|(k[b+14|0]<<16|k[b+15|0]<<24);j[d+8>>2]=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);j[d+12>>2]=c;c=k[b+4|0]|k[b+5|0]<<8|(k[b+6|0]<<16|k[b+7|0]<<24);j[d>>2]=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);j[d+4>>2]=c;c=k[d+14|0]==104?j[67071]:0;if(c|!a){break a}b:{if(jh(a,31183)){break b}if(jh(a,31188)){break b}if(jh(a,31194)){break b}c=0;break a}c=j[67072]}oe=d+16|0;return c?c:j[67070]}function GH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0;q=l[a+252>>1];b=j[a+256>>2];if(!b){r=a;e=i[a+296>>1];b=j[a+244>>2];a:{if(!e){break a}c=i[a+294>>1];b=j[a+248>>2];if(!c){break a}f=j[a+244>>2];b=f>>31;g=b^b+f;b=c>>31;h=b+c^b;k=p(g>>>16|0,h);b=k<<16|8192;a=j[a+248>>2];d=a>>31;m=d^a+d;d=e>>31;n=d+e^d;o=p(m>>>16|0,n);d=o<<16|8192;s=b;b=b+p(h,g&65535)|0;b=(k>>>16|0)+(s>>>0>b>>>0)<<18|b>>>14;b=(c^f)>-1?b:0-b|0;c=d+p(n,m&65535)|0;c=(o>>>16|0)+(c>>>0>>0)<<18|c>>>14;b=ig(b,(a^e)>-1?c:0-c|0)}j[r+256>>2]=b}return ye(q,b)|0}function An(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(o){h=(p(h,l)>>>0)/255|0;i=(p(i,m)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}j[d>>2]=i<<8|b<<16|h;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function yn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){m=k[a+62|0];n=k[a+61|0];o=k[a+60|0];q=j[a+52>>2]&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){r=a;h=j[a+24>>2];if(h){while(1){h=h-1|0;b=j[g>>2];i=b&255;l=b>>>8&255;c=b>>>16&255;b=f;if(q){i=(p(i,m)>>>0)/255|0;l=(p(l,n)>>>0)/255|0;c=(p(c,o)>>>0)/255|0}j[b>>2]=l<<8|c|i<<16;f=f+4|0;g=g+4|0;if(h){continue}break}b=j[a+28>>2]}c=b;b=c-1|0;j[r+28>>2]=b;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(c){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function wn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){m=k[a+62|0];n=k[a+61|0];o=k[a+60|0];q=j[a+52>>2]&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){r=a;h=j[a+24>>2];if(h){while(1){h=h-1|0;b=j[g>>2];i=b&255;l=b>>>8&255;c=b>>>16&255;b=f;if(q){l=(p(l,n)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;c=(p(c,m)>>>0)/255|0}j[b>>2]=l<<8|i<<16|c;f=f+4|0;g=g+4|0;if(h){continue}break}b=j[a+28>>2]}c=b;b=c-1|0;j[r+28>>2]=b;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(c){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function nk(a){var b=0,c=0,d=0;a:{if(!a){break a}b=j[a+28>>2];if(!b){break a}d=j[a+36>>2];if(!d){break a}c=j[b+20>>2];if(c){b=j[c>>2];if((b&-2)==4){qe[d|0](j[a+40>>2],j[c+12>>2]);b=j[c>>2]}if((b|0)==6){qe[j[a+36>>2]](j[a+40>>2],j[c+4>>2])}j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;b=j[c+40>>2];j[c+52>>2]=b;j[c+48>>2]=b;d=j[c+56>>2];if(d){b=qe[d|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b;b=j[c+40>>2]}qe[j[a+36>>2]](j[a+40>>2],b);qe[j[a+36>>2]](j[a+40>>2],j[c+36>>2]);qe[j[a+36>>2]](j[a+40>>2],c);d=j[a+36>>2];b=j[a+28>>2]}qe[d|0](j[a+40>>2],b);j[a+28>>2]=0}}function mn(a,b,c,d,e,f){var g=0;g=j[b+4>>2];if(!g){h[c|0]=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];h[d|0]=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];h[e|0]=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];h[f|0]=k[j[(k[b+31|0]<<2)+234976>>2]+((j[b+24>>2]&a)>>>k[b+35|0]|0)|0];return}if(m[g>>2]>a>>>0){a=a<<2;h[c|0]=k[a+j[g+4>>2]|0];h[d|0]=k[(a+j[j[b+4>>2]+4>>2]|0)+1|0];h[e|0]=k[(a+j[j[b+4>>2]+4>>2]|0)+2|0];h[f|0]=k[(a+j[j[b+4>>2]+4>>2]|0)+3|0];return}h[f|0]=0;h[e|0]=0;h[d|0]=0;h[c|0]=0}function QF(a){var b=0;if(k[7172]==49){if(!a){return-2}j[a+24>>2]=0;b=j[a+32>>2];if(!b){j[a+40>>2]=0;j[a+32>>2]=75;b=75}if(!j[a+36>>2]){j[a+36>>2]=76}b=qe[b|0](j[a+40>>2],1,7116)|0;if(!b){return-4}j[a+28>>2]=b;j[b+44>>2]=0;j[b+48>>2]=0;j[b+36>>2]=15;j[b+40>>2]=0;j[b+8>>2]=1;j[b+52>>2]=0;j[b+28>>2]=0;j[a+48>>2]=1;j[a+8>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[b+7104>>2]=1;j[b+7108>>2]=-1;a=b+1328|0;j[b+80>>2]=a;j[b+12>>2]=0;j[b+20>>2]=32768;j[b+32>>2]=0;j[b+108>>2]=a;j[b>>2]=0;j[b+4>>2]=0;j[b+56>>2]=0;j[b+60>>2]=0;j[b+76>>2]=a;a=0}else{a=-6}return a}function cB(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0;f=oe-16|0;oe=f;a:{if(!a){j[f>>2]=30127;ve(30101,f);break a}g=qe[j[a>>2]](a)|0;d=pe;b=(d|0)<0;i=b?1024:g;g=b?0:d;b=i+1|0;c=qe[j[57972]](b?b:1)|0;if(c){j[57976]=j[57976]+1}b:{while(1){d=a;b=g;k=0;l=e+1024|0;k=l>>>0<1024?1:k;if((b|0)<(k|0)?1:(b|0)<=(k|0)?i>>>0>>0:0){b=mf(c,e+1025|0);if(!b){if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0;Be(0);break b}i=e+1024|0;c=b;g=0}b=d;d=c+e|0;b=qe[j[a+8>>2]](b,d,1,i-e|0)|0;e=b+e|0;if(b){continue}break}h[d|0]=0}qe[j[a+16>>2]](a)|0}oe=f+16|0;return c}function ur(a,b){var c=0,d=0,e=0,f=0;f=oe-16|0;oe=f;a:{b:{d=j[a+20>>2];if((d|0)!=j[a+12>>2]){e=j[a+28>>2];break b}c=j[a+16>>2];j[f+12>>2]=0;c:{c=c+d|0;e=j[a+8>>2];if(c>>>0>2147483647/(e>>>0)>>>0){break c}d=p(c,e);e=xe(j[a>>2],1,j[a+24>>2],d,j[a+28>>2],f+12|0);j[a+28>>2]=e;if(j[f+12>>2]){break c}j[a+24>>2]=d;j[a+12>>2]=c;d=j[a+20>>2];if(c>>>0>=d>>>0){break b}b=j[a+4>>2];if(!(!b|j[b>>2])){j[b>>2]=130}j[a+20>>2]=c;break a}a=j[a+4>>2];if(!a|j[a>>2]){break a}j[a>>2]=64;break a}c=j[a+8>>2];Ae(p(c,d)+e|0,b,c);j[a+20>>2]=j[a+20>>2]+1}oe=f+16|0}function Cl(a,b,c,d,e,f,g){var h=q(0),i=0,k=q(0),l=0,m=0,o=0,p=q(0),r=0,s=q(0),t=0;l=j[a>>2];if((l|0)>=1){m=j[a+4>>2];i=d<<2;s=n[(m+i|0)+12>>2];t=j[i+j[a+12>>2]>>2];o=+n[a+48>>2];i=0;d=(d|0)!=1;while(1){a=i<<2;h=q(s+n[a+c>>2]);k=n[m+108>>2];p=q(n[a+b>>2]+n[a+t>>2]);k=k>2]=h>k?h:k;if(!d){h=q(k-n[a+g>>2]);r=+q(h+q(17.200000762939453));a:{if(!(h>q(-17.200000762939453)^1)){h=q(r*-.005*o+1);if(h>2]=h*n[a>>2]}i=i+1|0;if((l|0)!=(i|0)){continue}break}}}function nB(a,b){var c=0,d=0,e=0,f=0,g=0;e=-1;g=j[67055];a:{if((g|0)<1){break a}d=j[67056];while(1){f=j[d+(c<<2)>>2];if((a|0)==j[f>>2]&j[f+4>>2]==(b|0)){e=c;break a}c=c+1|0;if((g|0)!=(c|0)){continue}break}}d=fl(a,b);if(d){if(j[d+16>>2]>=1){c=0;while(1){f=j[j[d+20>>2]+(c<<2)>>2];if(f){qe[j[57975]](f);j[57976]=j[57976]-1}c=c+1|0;if((c|0)>2]){continue}break}}c=j[d+20>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}c=j[67055]-1|0;j[67055]=c;g=e<<2;e=j[67056];j[g+e>>2]=j[e+(c<<2)>>2];GB(a,b)}}function Yz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[b+76>>2];d=j[a+436>>2];f=Vg();e=j[d>>2];a:{if((f|0)!=(e|0)){j[d+424>>2]=0;if((tg(j[a+188>>2],e)|0)<0){break a}}a=j[a+436>>2];if(!j[a+4>>2]){break a}while(1){if(qe[j[a+104>>2]]()|0){continue}break}}if(j[d+360>>2]==(b|0)){j[d+360>>2]=0}if(j[d+364>>2]==(b|0)){j[d+364>>2]=0}if(c){qe[j[d+60>>2]](1,c);if(j[c+32>>2]){qe[j[d+60>>2]](1,c+32|0)}if(j[c+36>>2]){qe[j[d+60>>2]](1,c+36|0)}a=j[c+16>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[b+76>>2]=0}}function vo(a){var b=0,c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;a:{if(!a){j[c>>2]=23915;ve(23613,c);break a}b:{d=j[a+184>>2];if((d|0)<1){break b}b=(d|0)/j[a+196>>2]|0;b=j[a+172>>2]?b:(j[a+240>>2]/k[a+232|0]|0)+b|0;if((b|0)<1){break b}f=c;e=w(o[a+224>>3]*+(b|0));c:{if(r(e)<2147483648){b=~~e;break c}b=-2147483648}j[f+12>>2]=p(b,j[a+208>>2]);Oe(j[a+176>>2]+d|0,0,j[a+180>>2]-d|0);if((Oj(a,j[a+176>>2],j[a+180>>2],c+12|0)|0)>=0){Oe(j[a+176>>2],0,d);if((Oj(a,j[a+176>>2],j[a+180>>2],c+12|0)|0)>-1){break b}}break a}j[a+172>>2]=1;j[a+184>>2]=0}oe=c+16|0}function Cq(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=-1;b=j[a+24>>2];a:{if(b>>>0>65534){break a}c=j[a+40>>2];b=b+1|0;b=b>>>0>>0?c:b;while(1){b:{e=j[a+44>>2];c:{if(e>>>0>>0){break c}g=j[a+48>>2];d=j[a+52>>2];if(d){c=d+(b-c<<1)|0;while(1){d=k[c+1|0]|k[c|0]<<8;if(d){d=d+g&65535;if(d){break b}}c=c+2|0;b=b+1|0;if(e>>>0>=b>>>0){continue}break}break c}while(1){d=b+g&65535;if(d){break b}b=b+1|0;if(e>>>0>=b>>>0){continue}break}}d=0;if((wq(a,j[a+36>>2]+1|0)|0)<0){break a}c=j[a+40>>2];b=b>>>0>>0?c:b;continue}break}f=b}j[a+28>>2]=d;j[a+24>>2]=f}function Yt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=q(0),i=q(0),k=0;d=oe-16|0;oe=d;a:{if((lo(1,0)|0)<0){break a}H(j[c+12>>2],d+8|0,d|0)|0;c=0;if(j[b>>2]<1){break a}k=a-22|0;while(1){f=p(c,52)+b|0;a=g;b:{if(!j[f+48>>2]){break b}e=j[f+20>>2];a=e;e=e>>31;h=q(+j[f+60>>2]/o[d>>3]);i=q(+j[f+56>>2]/o[d+8>>3]);c:{switch(k|0){case 0:Jj(1,0,a,e,1,i,h);a=1;if(g){break b}a=(We(1792,-1)|0)==1;break b;case 2:ko(1,0,a,e,i,h);a=g;break b;default:break c}}Jj(1,0,a,e,0,i,h);a=1}g=a;c=c+1|0;if((c|0)>2]){continue}break}}oe=d+16|0;return g|0}function tu(a,b){a=a|0;b=b|0;var c=0,d=0;c=Xe(1,120);j[a+992>>2]=c;if(!c){return Be(0)|0}j[c+100>>2]=436;j[c+60>>2]=437;j[c+52>>2]=438;j[c+48>>2]=439;j[c+36>>2]=440;j[c+56>>2]=441;j[c+112>>2]=442;j[c+108>>2]=443;j[c+104>>2]=444;j[c+92>>2]=445;j[c+88>>2]=446;j[c+84>>2]=447;j[c+80>>2]=448;j[c+76>>2]=449;j[c+68>>2]=450;j[c+64>>2]=451;j[c+116>>2]=452;j[c+96>>2]=453;c=wa(0)|0;d=j[a+992>>2];j[d+8>>2]=c;if(!c){return ve(59636,0)|0}if((qe[j[d+48>>2]](c,0,0)|0)!=1){return ve(59662,0)|0}a=a+436|0;if(b){Re(a,b,255);return 0}h[a|0]=0;return 0}function ij(a,b,c){var d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;f=sf(a,e+12|0);d=j[e+12>>2];a:{if(d){break a}d=2;if((b|0)!=(f|0)){break a}sf(a,e+12|0);d=j[e+12>>2];if(d){break a}d=xf(a,16);j[e+12>>2]=d;if(d){break a}f=qf(a,e+12|0);d=j[e+12>>2];if(d){break a}d=2;if(!f){break a}b=0;while(1){g=sf(a,e+12|0);d=j[e+12>>2];if(d){break a}b:{if((g|0)==2){d=sf(a,e+12|0);if(j[e+12>>2]){break b}sf(a,e+12|0);if(j[e+12>>2]){break b}j[c>>2]=d;d=0;break a}d=xf(a,8);j[e+12>>2]=d;if(d){break a}}d=2;b=b+1|0;if((f|0)!=(b|0)){continue}break}}oe=e+16|0;return d}function Hr(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c|(!a|b>>>0>1)){break a}g=(b<<5)+a|0;if(!k[g+92|0]){break a}e=g- -64|0;Ae(j[c+4>>2]+(i[c+2>>1]<<3)|0,j[g+72>>2],j[e>>2]<<3);a=i[c+2>>1];d=j[e>>2];b:{if(!d){break b}b=j[c+8>>2]+a|0;a=j[g+76>>2];while(1){f=k[a|0];h[b|0]=f&1?1:f&2;b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}a=l[c+2>>1];f=j[e>>2];if(!f){f=0;break b}e=j[c+12>>2]+(i[c>>1]<<1)|0;b=j[g+76>>2];d=f;while(1){if(k[b|0]&8){i[e>>1]=a;i[c>>1]=l[c>>1]+1;e=e+2|0}a=a+1|0;b=b+1|0;d=d-1|0;if(d){continue}break}a=l[c+2>>1]}i[c+2>>1]=a+f}}function ii(a,b,c,d){var e=0,f=0,g=0,i=0;g=oe;i=g;a:{if(!j[57838]|b>>>0>6){break a}e=j[66037];b:{c:{if(e){while(1){if(j[e>>2]==(a|0)){f=e+4|0;break c}e=j[e+8>>2];if(e){continue}break}}f=231348;e=1;d:{switch(a|0){case 2:f=231344;break c;case 8:break b;case 0:break c;default:break d}}f=231340}e=j[f>>2]}if(b>>>0>>0){break a}e=g-4096|0;oe=e;xl(e,4096,c?c:44884,d);c=Le(e);e:{if(!c){break e}d=c-1|0;f=d+e|0;if(k[f|0]!=10){break e}h[f|0]=0;if(!d){break e}c=(c+e|0)-2|0;if(k[c|0]!=13){break e}h[c|0]=0}qe[j[57838]](j[66038],a,b,e)}oe=i}function Xh(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(a){b=i[a+56>>1];c=b+l[a+20>>1]|0;i[a+20>>1]=c;e=l[a+22>>1];d=e+l[a+58>>1]|0;i[a+22>>1]=d;f=j[a+48>>2]+j[a+84>>2]|0;j[a+48>>2]=f;if((b|0)>=1){d=j[a+68>>2];c=0;while(1){g=d+(c<<1)|0;i[g>>1]=l[g>>1]+e;c=c+1|0;if((b|0)!=(c|0)){continue}break}d=i[a+22>>1];c=l[a+20>>1]}j[a+84>>2]=0;j[a+56>>2]=0;b=d<<16>>16;j[a- -64>>2]=b+j[a+28>>2];b=b<<3;j[a+60>>2]=b+j[a+24>>2];j[a+68>>2]=j[a+32>>2]+(c<<16>>16<<1);if(k[a+16|0]){j[a+76>>2]=b+j[a+40>>2];j[a+80>>2]=b+j[a+44>>2]}j[a+88>>2]=j[a+52>>2]+(f<<5)}}function ql(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=oe-16|0;oe=d;vs(d+8|0,j[58911]);e=j[d+12>>2];f=j[d+8>>2];j[58913]=f;j[58914]=e;a:{if(e){j[58906]=0;j[58907]=0;while(1){b:{if(k[b+f|0]==10){if((a|0)>(g|0)){j[58907]=a;g=a}c=c+1|0;j[58906]=c;a=0;break b}a=a+1|0}b=b+1|0;if((e|0)!=(b|0)){continue}break}break a}Zg(1079,0);U(1);z()}h=235632,i=bf(c,4),j[h>>2]=i;a=bf(c,4);j[58909]=a;if(a){b=0;if((c|0)>0){while(1){a=bf(g,4);j[j[58909]+(b<<2)>>2]=a;b=b+1|0;if((c|0)!=(b|0)){continue}break}}oe=d+16|0;return}za(1110,1135,42,1148);z()}function jA(a,b,c,d){var e=0,f=0;e=c;a:{b:{c:{d:{e:{f:{c=j[a>>2];switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break d;case 0:case 11:break e;default:break f}}if((c|0)==1448433993){break e}if((c|0)!=825382478){break d}}if(!b){break b}if(!(j[b>>2]|j[b+4>>2]|j[b+8>>2]!=j[a+8>>2])){c=0;if(j[b+12>>2]==j[a+12>>2]){break c}}return ve(32435,0)}if(!b){break b}f=j[b>>2]<<1;c=j[b+4>>2]}b=l[a+20>>1];a=(j[a+28>>2]+p(c,b)|0)+f|0;break a}b=l[a+20>>1];a=j[a+28>>2]}j[e>>2]=a;j[d>>2]=b;return 0}function Im(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0;a:{if(a>>>0>b>>>0){break a}f=j[c+28>>2]>j[d+28>>2];g=f?c:d;e=j[g+24>>2];g=j[g+28>>2];h=e-g|0;c=f?d:c;f=j[c+24>>2];d=j[c+28>>2];i=f-d|0;if(!((e|0)!=(f|0)?(d|0)!=(g|0):0)){while(1){c=j[a+28>>2];j[a+24>>2]=(c|0)>(d|0)?(c|0)<(g|0)?f:c+h|0:c+i|0;a=a+40|0;if(b>>>0>=a>>>0){continue}break a}}k=De(e-f|0,g-d|0);while(1){c=a;l=c;e=j[c+28>>2];b:{if((e|0)<=(d|0)){c=e+i|0;break b}c=e+h|0;if((e|0)>=(g|0)){break b}c=ye(e-d|0,k)+f|0}j[l+24>>2]=c;a=a+40|0;if(b>>>0>=a>>>0){continue}break}}}function fI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if(!j[b+196>>2]){Og(b)}c=j[a>>2];a=j[a+4>>2];j[b+188>>2]=0;j[b+192>>2]=0;j[b+196>>2]=0;e=a<<2;j[b+228>>2]=e&-256;f=(e>>8)-j[b+172>>2]|0;j[b+160>>2]=f;a=j[b+164>>2];d=j[b+168>>2];g=c<<2;c=g>>8;c=(c|0)>(d|0)?d:c;c=(a|0)>(c|0)?a-1|0:c;h=c-a|0;j[b+156>>2]=h;a=((c|0)>(d|0)?d:c)-a|0;d=(a|0)>-1?a:-1;if((d|0)!=(h|0)){Og(b);j[b+188>>2]=0;j[b+192>>2]=0;j[b+160>>2]=f;j[b+156>>2]=d}a=1;a=m[b+184>>2]>f>>>0?(d|0)>=j[b+180>>2]:a;j[b+224>>2]=e;j[b+220>>2]=g;j[b+196>>2]=a;return 0}function cu(a){var b=0;ua(j[a+12>>2],a|0,0,460,2)|0;ta(j[a+12>>2],a|0,0,461,2)|0;sa(1,a|0,0,461,2)|0;ra(j[a+12>>2],a|0,0,462,2)|0;qa(j[a+12>>2],a|0,0,462,2)|0;pa(j[a+12>>2],a|0,0,463,2)|0;oa(2,a|0,0,464,2)|0;na(2,a|0,0,464,2)|0;ma(j[a+12>>2],a|0,0,465,2)|0;la(j[a+12>>2],a|0,0,465,2)|0;ka(j[a+12>>2],a|0,0,465,2)|0;ja(j[a+12>>2],a|0,0,465,2)|0;ia(1,a|0,0,466,2)|0;b=eg(62540);b=b?b:2;ha(b|0,a|0,0,467,2)|0;ga(b|0,a|0,0,467,2)|0;fa(b|0,a|0,0,468,2)|0;ea(1,a|0,0,469,2)|0;da(2,a|0,0,470,2)|0;ca(a|0,0,471,2)|0;ba(a|0,472,1)|0}function uu(a){var b=0,c=0,d=0,e=0,f=0;b=oe+ -64|0;oe=b;a:{if(Bu(a)){break a}b:{e=b+20|0;if(j[a+420>>2]){if(!nj(a,59191)){break b}j[b+20>>2]=12445;j[b+24>>2]=12425;d=2}else{d=0}j[e+(d<<2)>>2]=12344;c=j[a+992>>2];f=qe[j[c+76>>2]](j[c+8>>2],j[c+12>>2],0,b+20|0)|0;if(f){break a}c=59572;e=b;a=qe[j[j[a+992>>2]+116>>2]]()|0;d=a-12288|0;if(d>>>0<=14){c=j[(d<<2)+59576>>2]}if(!k[c|0]){j[b+16>>2]=a;Ue(b+32|0,32,58627,b+16|0);c=b+32|0}j[e+8>>2]=c;j[b+4>>2]=58714;j[b>>2]=59274;ve(58632,b);break a}ve(59213,0)}oe=b- -64|0;return f}function gz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0;a:{g=j[a+436>>2];f=j[g>>2];if(f){break a}f=j[g+4>>2];j[g>>2]=f;if(f){break a}f=qj(j[a+188>>2]);if(f){j[g>>2]=f;j[g+4>>2]=f;break a}f=j[g>>2];if(f){break a}return-1}b:{a=j[b>>2];c:{if((a|0)<0){break c}h=j[b+8>>2];if(j[f+8>>2]<(a+h|0)){break c}g=j[b+4>>2];if((g|0)<0){break c}b=j[b+12>>2];if(j[f+12>>2]>=(b+g|0)){break b}}return ve(44793,0)|0}i=b;b=j[f+4>>2];l=j[f+20>>2];f=j[f+16>>2];return fh(h,i,j[b>>2],(l+p(f,g)|0)+p(a,k[b+9|0])|0,f,c,d,e)|0}function sq(a,b){var c=0,d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;c=j[b+28>>2];d=qe[j[a+508>>2]](a,1668707360,b,e+8|0)|0;j[e+12>>2]=d;a:{if(d){j[a+644>>2]=0;j[a+648>>2]=0;c=0;break a}d=j[e+8>>2]>>>1|0;j[a+644>>2]=d;f=a,g=xe(c,2,0,d,0,e+12|0),j[f+648>>2]=g;c=j[e+12>>2];if(c){break a}c=_e(b,j[a+644>>2]<<1);j[e+12>>2]=c;if(c){break a}d=j[a+644>>2];if((d|0)>=1){c=j[a+648>>2];d=c+(d<<1)|0;while(1){f=c,g=af(b),i[f>>1]=g;c=c+2|0;if(d>>>0>c>>>0){continue}break}}Ve(b);if(!k[a+672|0]){c=j[e+12>>2];break a}c=nq(a,b)}oe=e+16|0;return c}function ek(a){var b=0,c=0,d=0;if(a){ah(a+592|0);Cg(a+480|0);ck(a+120|0);b=j[a+72>>2];a:{if(!b){break a}d=j[a+52>>2];if(!d){break a}c=1;if((d|0)>=1){aj(b);bj(j[a+76>>2]);if(j[a+52>>2]>=2){while(1){aj(j[a+72>>2]+(c<<5)|0);bj(j[a+76>>2]+(c<<4)|0);c=c+1|0;if((c|0)>2]){continue}break}}b=j[a+72>>2]}ze(b);ze(j[a+76>>2])}b=j[a+60>>2];if(b){ze(b)}b=j[a+68>>2];if(b){ze(b)}b=j[a+64>>2];if(b){ze(b)}b=j[a+56>>2];if(b){ze(b)}LE(a+24|0);b=j[a>>2];b:{if(!b){break b}c=j[a+712>>2];if(!c){break b}qe[c|0](b)|0}Ee(a,0,720)}}function QI(a,b){a=a|0;b=b|0;var c=0,d=0;c=qe[j[a+508>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=$e(b,156832,d);if(c){break a}i[a+290>>1]=0;i[a+282>>1]=0;i[a+284>>1]=0;i[a+286>>1]=0;i[a+288>>1]=0;i[a+274>>1]=0;i[a+276>>1]=0;i[a+278>>1]=0;i[a+280>>1]=0;i[a+266>>1]=0;i[a+268>>1]=0;i[a+270>>1]=0;i[a+272>>1]=0;b:{if(j[a+260>>2]<65536){break b}c=$e(b,156848,d);if(c){break a}if(l[a+280>>1]<=63){i[a+280>>1]=64}if(l[a+276>>1]>=65532){i[a+276>>1]=65531}if(l[a+290>>1]<101){break b}i[a+290>>1]=100}c=0}return c|0}function Dg(a,b){var c=0,d=0,e=0,f=0,g=0;c=j[a+88>>2];b=j[a+32>>2]+(b<<4)|0;d=j[b+8>>2];i[c+12>>1]=d+32>>>6;e=j[b+12>>2];i[c+14>>1]=e+32>>>6;a:{if(h[a+8|0]&1){f=c,g=De(d,l[a+68>>1]),j[f+16>>2]=g;b=De(j[b+12>>2],l[a+68>>1]);j[c+20>>2]=b;f=c,g=ye(i[a+70>>1],b)+63&-64,j[f+24>>2]=g;f=c,g=ye(i[a+72>>1],j[c+20>>2])&-64,j[f+28>>2]=g;f=c,g=ye(i[a+74>>1],j[c+20>>2])+32&-64,j[f+32>>2]=g;d=ye(i[a+76>>1],j[c+16>>2])+32&-64;break a}j[c+28>>2]=0;j[c+24>>2]=e;j[c+16>>2]=65536;j[c+20>>2]=65536;j[c+32>>2]=i[b>>1]<<6}j[c+36>>2]=d}function _e(a,b){var c=0,d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;j[e+12>>2]=0;a:{if(j[a+20>>2]){d=85;if(m[a+4>>2]>>0){break a}f=j[a+28>>2];c=gj(f,b,e+12|0);j[a>>2]=c;d=j[e+12>>2];if(d){break a}g=qe[j[a+20>>2]](a,j[a+8>>2],c,b)|0;c=j[a>>2];if(b>>>0<=g>>>0){d=j[e+12>>2]}else{if(c){qe[j[f+8>>2]](f,c)}c=0;j[a>>2]=0;d=85}j[a+32>>2]=c;j[a+36>>2]=b+c;j[a+8>>2]=j[a+8>>2]+g;break a}d=85;f=j[a+4>>2];c=j[a+8>>2];if(f>>>0<=c>>>0|f-c>>>0>>0){break a}j[a+8>>2]=b+c;d=c+j[a>>2]|0;j[a+32>>2]=d;j[a+36>>2]=b+d;d=0}oe=e+16|0;return d}function AN(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=14408027;a:{if((a|0)>=-2949120){b=a;c=14408027;break a}while(1){c=d;d=0-e|0;f=(a|0)<-8847360;e=c;b=a+5898240|0;a=b;if(f){continue}break}}b:{if((b|0)<=2949120){a=d;e=b;break b}while(1){a=c;c=0-d|0;f=(b|0)>8847360;d=a;e=b-5898240|0;b=e;if(f){continue}break}}g=74944;b=1;d=1;while(1){f=a+b>>d;c:{if((e|0)<=-1){e=j[g>>2]+e|0;a=a-(b+c>>d)|0;c=c+f|0;break c}e=e-j[g>>2]|0;a=(b+c>>d)+a|0;c=c-f|0}b=b<<1;g=g+4|0;d=d+1|0;if((d|0)!=23){continue}break}return De(a+128>>8,c+128>>8)}function kI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;a=j[d+1164>>2];e=j[d+1168>>2]-p(e,a)|0;e=(a|0)>=0?p(a,j[d+1156>>2]-1|0)+e|0:e;if((b|0)>=1){while(1){a=b;d=k[c+4|0];a:{if(!d){break a}f=l[c+2>>1];if(f>>>0>=8){Ee(i[c>>1]+e|0,d,f);break a}b=i[c>>1]+e|0;b:{switch(f-1|0){case 6:h[b|0]=d;b=b+1|0;case 5:h[b|0]=d;b=b+1|0;case 4:h[b|0]=d;b=b+1|0;case 3:h[b|0]=d;b=b+1|0;case 2:h[b|0]=d;b=b+1|0;case 1:h[b|0]=d;b=b+1|0;break;case 0:break b;default:break a}}h[b|0]=d}c=c+6|0;b=a-1|0;if((a|0)>1){continue}break}}}function GI(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!k[a+612|0]){break a}c=j[a+100>>2];b=j[a+468>>2];if((b|0)!=163840){if((b|0)!=131072){break a}b=j[a+620>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+616>>1]=0;j[a+620>>2]=0;if(l[a+618>>1]){b=0;while(1){d=b<<2;e=j[d+j[a+624>>2]>>2];if(e){qe[j[c+8>>2]](c,e)}j[j[a+624>>2]+d>>2]=0;b=b+1|0;if(b>>>0>1]){continue}break}}b=j[a+624>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+618>>1]=0;j[a+624>>2]=0;break a}b=j[a+620>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+616>>1]=0;j[a+620>>2]=0}h[a+612|0]=0}function mi(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;a:{if(f&64){c=f+ -64|0;b=c&31;if((c&63)>>>0>=32){c=0;b=e>>>b|0}else{c=e>>>b|0;b=((1<>>b}d=0;e=0;break a}if(!f){break a}h=e;i=d;k=64-f|0;g=k&31;if((k&63)>>>0>=32){h=i<>>32-g|h<>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<>>b}b=k|b;c=g|h;g=d;d=f&31;if((f&63)>>>0>=32){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<>>d}e=h}j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=d;j[a+12>>2]=e}function SL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}b:{if(!(k[a+212|0]&64)){c=1;if(!(!a|!k[a+432|0])){j[a+216>>2]=j[a+216>>2]|2;c=7}d=c;if(!(k[a+212|0]&64)){nm(a);break b}xi(a,7395);break b}if(!(!k[a+432|0]|k[a+216|0]&2)){Ze(a,7583);j[a+356>>2]=j[a+352>>2]}c=1;if(!(!a|!k[a+432|0])){j[a+216>>2]=j[a+216>>2]|2;c=7}d=c}if((d|0)<1){break a}f=j[a+352>>2];while(1){c=b;e=0;if(f){while(1){YL(a,j[c>>2]);c=c+4|0;e=e+1|0;if((e|0)!=(f|0)){continue}break}}g=g+1|0;if((g|0)!=(d|0)){continue}break}}}function Ay(a){var b=0,c=0,d=0;a:{if(k[j[a+4>>2]+8|0]!=1){break a}a=j[a+52>>2];c=j[j[a>>2]+4>>2];if(k[c+8|0]>=8){b=k[c+9|0]}b:{c:{d:{e:{f:{a=j[a+68>>2]&-28673;switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break a;case 18:break c;case 0:break e;default:break f}}a=a-256|0;if(!a){break d}if((a|0)==18){break b}break a}return j[(b<<2)+45088>>2]}return j[(b<<2)+45120>>2]}return b>>>0>1?250:0}d=b>>>0>1?251:0}return d}function ov(a,b,c,d,e){var f=0,g=0;a:{b:{c:{if(!(!a|!b)){if(c-1>>>0>=2){break c}if(!d){break b}f=Le(d);if(!f|k[d|0]==45){break b}if(!Vk(d,f)){break b}if(!e){break a}g=Le(e);if(!g|k[e|0]==45){break a}if(!Vk(e,g)){break a}h[b+252|0]=c;f=f+1|0;c=dg(a,f);j[b+256>>2]=c;if(!c){Ze(a,5212);return}Ae(c,d,f);d=g+1|0;c=dg(a,d);j[b+260>>2]=c;if(!c){Ke(a,j[b+256>>2]);j[b+256>>2]=0;Ze(a,5212);return}Ae(c,e,d);j[b+8>>2]=j[b+8>>2]|16384;j[b+232>>2]=j[b+232>>2]|256}return}Ye(a,5155);z()}Ye(a,5173);z()}Ye(a,5192);z()}function sE(a,b,c){var d=0;a:{b:{c:{if((a^b)&3){break c}d=(c|0)!=0;d:{if(!c|!(b&3)){break d}while(1){d=k[b|0];h[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c-1|0;d=(c|0)!=0;if(!c){break d}if(b&3){continue}break}}if(!d){break b}if(!k[b|0]){break a}if(c>>>0<4){break c}while(1){d=j[b>>2];if((d^-1)&d-16843009&-2139062144){break c}j[a>>2]=d;a=a+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}while(1){d=k[b|0];h[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}Ee(a,0,c)}function hH(a,b){var c=0;a:{b:{switch(k[a+8|0]){case 0:c=j[a+4>>2];if(!c){break a}a=0;while(1){h[b|0]=k[b|0]^-1;b=b+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}break a;case 4:break b;default:break a}}c:{switch(k[a+9|0]-8|0){case 0:c=j[a+4>>2];if(!c){break a}a=0;while(1){h[b|0]=k[b|0]^-1;b=b+2|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}break a;case 8:break c;default:break a}}c=j[a+4>>2];if(!c){break a}a=0;while(1){h[b|0]=k[b|0]^-1;h[b+1|0]=k[b+1|0]^-1;b=b+4|0;a=a+4|0;if(c>>>0>a>>>0){continue}break}}}function SE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=j[a+28>>2];a=Te(96);d=Ce(b,8);j[a>>2]=d;c=Ce(b,16);j[a+4>>2]=c;e=Ce(b,16);j[a+8>>2]=e;h=a,i=Ce(b,6),j[h+12>>2]=i;h=a,i=Ce(b,8),j[h+16>>2]=i;f=Ce(b,4);j[a+20>>2]=f+1;a:{b:{if((d|0)<1|(c|0)<1|((e|0)<1|(f|0)<0)){break b}e=a+24|0;d=0;while(1){c=Ce(b,8);j[e+(d<<2)>>2]=c;if((c|0)<0|(c|0)>=j[g+24>>2]){break b}c=j[((c<<2)+g|0)+1824>>2];if(!j[c+12>>2]|j[c>>2]<=0){break b}c=(d|0)>=(f|0);d=d+1|0;if(!c){continue}break}break a}ze(a);a=0}return a|0}function Bi(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=14408027;a:{if((a|0)>=-2949120){b=a;c=14408027;break a}while(1){c=d;d=0-e|0;f=(a|0)<-8847360;e=c;b=a+5898240|0;a=b;if(f){continue}break}}b:{if((b|0)<=2949120){a=d;e=b;break b}while(1){a=c;c=0-d|0;f=(b|0)>8847360;d=a;e=b-5898240|0;b=e;if(f){continue}break}}g=74944;b=1;d=1;while(1){f=a+b>>d;c:{if((e|0)<=-1){e=j[g>>2]+e|0;a=a-(b+c>>d)|0;c=c+f|0;break c}e=e-j[g>>2]|0;a=(b+c>>d)+a|0;c=c-f|0}b=b<<1;g=g+4|0;d=d+1|0;if((d|0)!=23){continue}break}return c+128>>8}function Ai(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=14408027;a:{if((a|0)>=-2949120){b=a;e=14408027;break a}while(1){e=c;c=0-d|0;f=(a|0)<-8847360;d=e;b=a+5898240|0;a=b;if(f){continue}break}}b:{if((b|0)<=2949120){a=c;d=b;break b}while(1){a=e;e=0-c|0;f=(b|0)>8847360;c=a;d=b-5898240|0;b=d;if(f){continue}break}}f=74944;b=1;c=1;while(1){g=a+b>>c;c:{if((d|0)<=-1){d=j[f>>2]+d|0;a=a-(b+e>>c)|0;e=e+g|0;break c}d=d-j[f>>2]|0;a=(b+e>>c)+a|0;e=e-g|0}b=b<<1;f=f+4|0;c=c+1|0;if((c|0)!=23){continue}break}return a+128>>8}function tg(a,b){var c=0,d=0;c=j[67085];a:{if(!c){ve(57733,0);break a}d=Eh(j[c+704>>2])}b:{if((a|0)!=(d|0)){break b}d=0;c=j[67085];c:{if(!c){ve(57733,0);break c}d=Eh(j[c+708>>2])}if((b|0)!=(d|0)){break b}return 0}d=0;c=j[67085];d:{if(!b){break d}if(!c){ve(57733,0);return-1}if(!(j[a>>2]==(c+316|0)?a:0)){ve(56433,0);return-1}d=a;if(k[a+48|0]&2){break d}return ve(57333,0)}a=qe[j[c+184>>2]](c,d,b)|0;if(!a){a=j[67085];j[a+700>>2]=b;j[a+696>>2]=d;Dj(j[a+704>>2],d);Dj(j[j[67085]+708>>2],b);a=0}return a}function OC(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=oe-32|0;oe=b;a=j[65585];if(!(!a|j[57834]==98)){Ui(21765,0);Ui(21790,0);while(1){d=j[a+8>>2];e=j[a+16>>2];f=j[a+12>>2];g=j[a+20>>2];h=j[a>>2];c=j[a+4>>2];j[b+16>>2]=c;j[b+24>>2]=h?21913:21917;j[b+20>>2]=(c|0)==1?21910:21911;j[b+4>>2]=g;j[b+8>>2]=f;j[b+12>>2]=e;j[b>>2]=d;Ui(21835,b);a=j[a+24>>2];if(a){continue}break}Ui(21920,0);a=j[65585];if(a){while(1){j[a>>2]=0;j[a+4>>2]=0;c=j[a+24>>2];j[a+24>>2]=0;a=c;if(a){continue}break}}j[65585]=0}oe=b+32|0}function mr(a){var b=0,c=0,d=0,e=0,f=0;j[a+28>>2]=4096;b=a+4168|0;j[a+24>>2]=b;j[a+8268>>2]=b;d=a+72|0;f=a+12|0;while(1){if(!j[a+16>>2]){b=j[a>>2];c=j[b+20>>2];a:{if(c){c=qe[c|0](b,j[b+8>>2],d,4096)|0;if(c){break a}return 85}e=j[b+8>>2];c=j[b+4>>2]-e|0;c=c>>>0<4096?c:4096;if(!c){return 85}Ae(d,j[b>>2]+e|0,c)}j[b+8>>2]=j[b+8>>2]+c;j[a+16>>2]=c;j[a+12>>2]=d}b=lr(f,0);if(b){if((b|0)==1){b=j[a+24>>2];j[a+8272>>2]=b;a=(b|0)==j[a+8268>>2]?85:0}else{a=85}return a}if(j[a+28>>2]){continue}break}return 0}function wJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=b;a=j[a+16>>2];c=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=j[b>>2]+1|0;c=c>>>0>>0?e:c;f=c-e|0;d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(f>>>0>>0){e=d+e|0;a=(a+(f<<1)|0)+20|0;while(1){g=k[a+1|0]|k[a|0]<<8;if(g){j[b>>2]=c;return g|0}c=c+1|0;a=a+2|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}a=e}else{a=c}j[h>>2]=a;return 0}function nE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;f=(tP(a),oP(2));c=f&2147483647;a:{if(c>>>0<=1305022426){g=+a;d=g*.6366197723675814+6755399441055744+ -6755399441055744;o[b>>3]=g+d*-1.5707963109016418+d*-1.5893254773528196e-8;if(r(d)<2147483648){c=~~d;break a}c=-2147483648;break a}if(c>>>0>=2139095040){o[b>>3]=q(a-a);c=0;break a}h=c;c=(c>>>23|0)-150|0;o[e+8>>3]=(pP(2,h-(c<<23)|0),sP());c=up(e+8|0,e,c,1,0);d=o[e>>3];if((f|0)<=-1){o[b>>3]=-d;c=0-c|0;break a}o[b>>3]=d}oe=e+16|0;return c}function Nf(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;a:{if(f&64){d=b;e=f+ -64|0;b=e&31;if((e&63)>>>0>=32){e=d<>>32-b|c<>>0>=32){h=g<>>32-d|e<>>0>=32){f=0;d=d>>>e|0}else{f=d>>>e|0;d=((1<>>e}d=k|d;e=f|h;f=b;b=i&31;if((i&63)>>>0>=32){h=f<>>32-b|c<>2]=b;j[a+4>>2]=c;j[a+8>>2]=d;j[a+12>>2]=e}function _r(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-16|0;oe=c;a:{if(!a){g=35;break a}if(!b){g=6;break a}if(!j[a+96>>2]){g=34;break a}j[b>>2]=0;f=j[a+100>>2];d=j[j[a+96>>2]+12>>2];e=He(f,j[d+40>>2],c+12|0);b:{if(j[c+12>>2]){break b}h=He(f,12,c+12|0);if(j[c+12>>2]){break b}j[e+40>>2]=0;j[e>>2]=a;d=j[d+56>>2];if(d){d=qe[d|0](e)|0;j[c+12>>2]=d;if(d){break b}}j[b>>2]=e;j[h+8>>2]=e;wm(a+108|0,h);if(!j[c+12>>2]){break a}}if(h){qe[j[f+8>>2]](f,h)}if(e){qe[j[f+8>>2]](f,e)}g=j[c+12>>2]}oe=c+16|0;return g}function Ts(a,b,c){a=a|0;b=b|0;c=c|0;c=0;a=j[67093];a:{if(!a){break a}b=j[b+1300>>2];if((b|0)!=j[a>>2]){while(1){c=a;a=j[a+1320>>2];if(!a){break a}if((b|0)!=j[a>>2]){continue}break}}b=j[a+16>>2];if(b){j[b+84>>2]=0}b=j[a+1320>>2];b:{if(c){j[c+1320>>2]=b;break b}j[67093]=b}if(j[67092]==(a|0)){j[67092]=c}j[67090]=j[67090]-1;FA(j[a+12>>2]);b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}return 1}function Sg(a,b){var c=0,d=0,e=0;c=j[a+20>>2];if(!(k[a+13|0]?c:0)){return ye(b,j[a+16>>2])}d=j[a+24>>2];c=c-1|0;e=c>>>0>>0?d:c;while(1){a:{c=d;if((e|0)==(c|0)){c=e;break a}d=c+1|0;if(j[(p(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}b:{c:{if(c){while(1){d=j[(p(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break c}c=c-1|0;if(c){continue}break}}c=0;j[a+24>>2]=0;d=j[a+36>>2];if((d|0)<=(b|0)){break b}return ye(b-d|0,j[a+16>>2])+j[a+40>>2]|0}j[a+24>>2]=c}a=p(c,20)+a|0;return ye(b-d|0,j[a+44>>2])+j[a+40>>2]|0}function go(a,b,c){var d=0,e=0,f=0,g=0,i=0,k=0;d=oe+ -64|0;oe=d;a:{if((b|0)==-1){break a}b:{c:{switch(c|0){case 1:f=1617;j[d+8>>2]=1617;if((b|0)!=5){break b}i=a,k=sg(),j[i+28>>2]=k;if(!j[j[a>>2]+68>>2]){break b}break a;case 0:break c;default:break a}}f=1618;j[d+8>>2]=1618;if((b|0)!=5){break b}e=sg();g=((j[a+28>>2]-e|0)+250|0)<1;e=j[a>>2];if(!(g|j[e+72>>2])){j[e+68>>2]=1;break a}j[e+68>>2]=0}if((We(f,-1)|0)!=1){break a}a=j[j[a>>2]>>2];h[d+21|0]=c;h[d+20|0]=b;j[d+16>>2]=a;gf(d+8|0)}oe=d- -64|0}function Ro(a){var b=0,c=0;b=fF(a+16|0);if(!b){ve(21030,0);return-1}a:{b:{if(j[b+4>>2]==j[a+740>>2]){c=0;if(j[b+8>>2]==j[a+744>>2]){break b}}Ge(a+736|0,b,32);c=j[a+776>>2];if(c){if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[a+776>>2]=0}c=j[a+772>>2];if(c){Ih(c);j[a+772>>2]=0}c=nl(32784,k[b+4|0],j[b+8>>2],l[131082],k[262166],j[65540]);j[a+772>>2]=c;if(c){break a}c=-1}return c}b=p(l[131084],j[b+4>>2])<<1;j[a+780>>2]=b;b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}j[a+776>>2]=b;return b?0:-1}function Ok(a){var b=0,c=0;c=oe-16|0;oe=c;Sj(268332);b=j[67084];a:{if(b){while(1){if(j[b>>2]==(a|0)){j[b+36>>2]=j[b+36>>2]+1;j[67083]=0;break a}b=j[b+40>>2];if(b){continue}break}}b=qe[j[57972]](44)|0;if(b){j[57976]=j[57976]+1}if(!b){j[67083]=0;b=0;Be(0);break a}if((Nk(b,a)|0)<=-1){j[67083]=0;if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[c>>2]=55382;ve(55356,c);b=0;break a}if(!((a>>>24&15)-1>>>0<3?!((a&-268435456)!=268435456?a:0):0)){j[b+40>>2]=j[67084];j[67084]=b}j[67083]=0}oe=c+16|0;return b}function sC(a){var b=0,c=0;j[66088]=0;a:{b:{if((a|0)==8){break b}b=1;j[66088]=1;if((a|0)==32776){break b}b=2;j[66088]=2;if((a|0)==32784){break b}b=3;j[66088]=3;if((a|0)==36880){break b}b=4;j[66088]=4;if((a|0)==16){break b}b=5;j[66088]=5;if((a|0)==4112){break b}b=6;j[66088]=6;if((a|0)==32800){break b}b=7;j[66088]=7;if((a|0)==36896){break b}b=8;j[66088]=8;if((a|0)==33056){break b}b=9;j[66088]=9;if((a|0)==37152){break b}j[66088]=10;j[66089]=0;break a}j[66089]=1;c=l[p(b,20)+22912>>1]}return c}function De(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=(a|0)<0?-1:1;e=2147483647;c=b>>31;c=c+b^c;a:{if(!c){break a}d=a;a=a>>31;a=d+a^a;if(a>>>0<=(c>>>17^65535)>>>0){e=((a<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break a}f=c>>>1|0;d=f+(a<<16)|0;a=(a>>>16|0)+(d>>>0>>0)|0;if(a>>>0>=c>>>0){break a}f=s(a);g=32-f|0;a=d>>>g|a<>>0)/(c>>>0)|0;i=a-p(c,e)|0;a=d<>>31;i=d-(c>>>0>d>>>0?0:c)|0;e=e<<1|c>>>0<=d>>>0;a=a<<1;g=g-1|0;if(g){continue}break}}return(((b|0)<0?0-h|0:h)|0)<0?0-e|0:e}function AO(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&4){Ie(a,c);Je(a,5774);break a}if(!(!b|!(k[b+8|0]&128))){Ie(a,c);Je(a,5808);break a}if((c|0)!=9){Ie(a,c);Je(a,5787);break a}pf(a,d+7|0,9);tf(a,d+7|0,9);if(Ie(a,0)){break a}c=a;a=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=k[d+11|0]|k[d+12|0]<<8|(k[d+13|0]<<16|k[d+14|0]<<24);kv(c,b,e,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),k[d+15|0])}oe=d+16|0;return}hf(a,5795);z()}function wO(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&4){Ie(a,c);Je(a,5774);break a}if(!(!b|!(h[b+9|0]&1))){Ie(a,c);Je(a,5808);break a}if((c|0)!=9){Ie(a,c);Je(a,5787);break a}pf(a,d+7|0,9);tf(a,d+7|0,9);if(Ie(a,0)){break a}c=a;a=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=k[d+11|0]|k[d+12|0]<<8|(k[d+13|0]<<16|k[d+14|0]<<24);wv(c,b,e,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),k[d+15|0])}oe=d+16|0;return}hf(a,5795);z()}function jv(a,b,c,d){var e=0,f=0;f=j[a+52>>2];e=j[f+68>>2];if(!(e&512)){j[f+68>>2]=e|512;vf(f);f=j[a+52>>2];e=j[f+68>>2]}a:{if(e&371){break a}e=j[j[a+4>>2]>>2];if((e|0)!=j[j[c+4>>2]>>2]|((e>>>24&15)-1>>>0<3?!((e&-268435456)!=268435456?e:0):0)){break a}return jn(a,b,c,d)}b:{c:{if(j[f>>2]!=(c|0)){break c}e=j[j[c+4>>2]+4>>2];if(j[f+80>>2]!=j[e+8>>2]?e:0){break c}e=j[j[a+4>>2]+4>>2];if(!e|j[f+84>>2]==j[e+8>>2]){break b}}if((xj(a,c)|0)<0){return-1}f=j[a+52>>2]}return qe[j[f+8>>2]](a,b,c,d)|0}function ZO(a,b){var c=0,d=0,e=0,f=0;e=oe-16|0;oe=e;a:{if(!a|!b){break a}f=j[a>>2];c=j[a+72>>2];d=70276;b:{c:{if((c|0)==1651078259){break c}d=70308;if((c|0)==1869968492){break c}d=kO(f,c);if(!d){break b}d=d+20|0}c=He(j[f>>2],j[d>>2],e+12|0);if(j[e+12>>2]){break a}j[c+4>>2]=d;j[c>>2]=f;j[c+8>>2]=j[d+4>>2];j[c+12>>2]=j[a+64>>2]<<10;j[c+16>>2]=j[a+68>>2]<<10;if(qe[j[d+8>>2]](c,a)|0){a=j[j[c>>2]>>2];b=j[j[c+4>>2]+12>>2];if(b){qe[b|0](c)}if(c){qe[j[a+8>>2]](a,c)}break a}j[b>>2]=c}}oe=e+16|0}function _O(a,b){var c=0,d=0,e=0,f=0,g=0;f=oe-16|0;oe=f;d=6;a:{if(!j[a+4>>2]|(!a|!b)){break a}j[b>>2]=0;e=j[a+4>>2];if(!e){break a}g=j[a>>2];c=He(j[g>>2],j[e>>2],f+12|0);d=j[f+12>>2];if(d){break a}j[c+4>>2]=e;j[c>>2]=g;j[c+8>>2]=j[e+4>>2];d=j[a+16>>2];j[c+12>>2]=j[a+12>>2];j[c+16>>2]=d;j[c+8>>2]=j[a+8>>2];b:{d=j[e+16>>2];if(!d){break b}d=qe[d|0](a,c)|0;if(!d){break b}a=j[j[c>>2]>>2];b=j[j[c+4>>2]+12>>2];if(b){qe[b|0](c)}if(c){qe[j[a+8>>2]](a,c)}break a}j[b>>2]=c;d=0}oe=f+16|0;return d}function IO(a,b,c){var d=0,e=0,f=0;d=oe-528|0;oe=d;a:{b:{e=j[a+208>>2];if(e&1){if((e&6)!=2){Ie(a,c);Je(a,5774);break a}if(!(!b|!(k[b+8|0]&64))){Ie(a,c);Je(a,5808);break a}if(c>>>0>513){break b}e=c>>>1|0;if((e|0)!=l[a+420>>1]){break b}if(e){c=0;while(1){pf(a,d+14|0,2);tf(a,d+14|0,2);f=k[d+14|0]|k[d+15|0]<<8;i[(d+16|0)+(c<<1)>>1]=(f<<24|f<<8&16711680)>>>16;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(Ie(a,0)){break a}Sv(a,b,d+16|0);break a}hf(a,5795);z()}Ie(a,c);Je(a,5787)}oe=d+528|0}function EB(a,b,c){var d=0,e=0,f=0,g=0;a:{if(c-16>>>0>=624999985){e=l[b+74>>1];d=2744;break a}g=l[b+74>>1];e=g<<16>>16;if(k[a+209|0]&128){d=2769;if(g&8){break a}}b:{if((e|0)>=0){c:{if(!(e&1)){break c}d=j[b>>2];d:{if(!d){break d}f=v(+(d|0)*1e5/+(c|0)+.5);if(f<=2147483647^1|f>=-2147483648^1){break d}if(r(f)<2147483648){d=~~f}else{d=-2147483648}if(d-95e3>>>0<10001){break c}}if(e&32){break b}Pf(a,4275,0)}j[b>>2]=c;i[b+74>>1]=e|9}return}Pf(a,4243,2);return}i[b+74>>1]=e|32768;Pf(a,d,1)}function Uu(a){var b=0,c=0,d=0;b=j[67085];if(!b){ve(57733,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(56433,0);return}b=j[a+48>>2];a:{if(!(b&256)^1){break a}j[a+48>>2]=b&-257|256;b=j[67085];d=j[b+312>>2];c=j[a+48>>2];b:{if(!(!(j[67035]|c&256)|!(c&512))){c:{if(!d|(a|0)==(d|0)){break c}j[d+48>>2]=j[d+48>>2]&-257;c=j[b+128>>2];if(!c){break c}qe[c|0](b,d,0);b=j[67085]}j[b+312>>2]=a;c=1;break b}c=0;if((a|0)!=(d|0)){break b}j[b+312>>2]=0;c=0}d=j[b+128>>2];if(!d){break a}qe[d|0](b,a,c)}}function KG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=j[a+528>>2];if(!e){return 6}h=j[e>>2];if(h){f=j[e+4>>2];k=b>>>0>f>>>0?f:b;while(1){i=65536;a=0;b=0;d=65536;if(f){while(1){d=32768;a:{b:{if(a>>>0>=k>>>0){break b}d=j[(a<<2)+c>>2];if((d|0)<1){d=0;break b}b=65536;if((d|0)>65535){break a}}b=d}i=ye(i,g>>>a&1?b:65536-b|0);a=a+1|0;b=j[e+4>>2];if(a>>>0>>0){continue}break}h=j[e>>2];d=i}j[j[e+136>>2]+(g<<2)>>2]=d;f=b;g=g+1|0;if(h>>>0>g>>>0){continue}break}}return 0}function Ly(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if((c|0)>=1){i=k[e+34|0];l=k[e+30|0];m=k[e+33|0];n=k[e+29|0];o=k[e+32|0];p=k[e+28|0];q=k[d+35|0];r=k[d+34|0];s=k[d+33|0];t=k[d+32|0];while(1){f=j[b>>2];g=j[e+24>>2]|((f&j[d+16>>2])>>>s>>>n<>2]&f)>>>t>>>p<>2]&f)>>>r>>>l<>2]=g&63519|(j[d+24>>2]&f)>>>q<<2&2016|g<<16&132120576;a=a+4|0;b=b+4|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}}return c<<2}function ZD(){var a=0;_g();a:{if(!j[65546]){break a}if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0;a=j[65539];if(!a){break a}qe[a|0]()}Jg();if(j[57797]){a=j[57811];if(a){qe[a|0]()}j[57797]=0}if(j[57817]){a=j[57831];if(a){qe[a|0]()}j[57817]=0}a=j[65549];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[65549]=0}a=j[65538];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[65538]=0}j[65548]=0;j[65537]=0}function sL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=oe-16|0;oe=d;j[a+32>>2]=c;e=a,f=xe(c,4,0,b,0,d+12|0),j[e+24>>2]=f;a:{b:{if(j[d+12>>2]){break b}e=a,f=xe(c,4,0,b,0,d+12|0),j[e+28>>2]=f;if(j[d+12>>2]){break b}j[a+20>>2]=0;j[a+16>>2]=b;j[a+8>>2]=0;j[a+12>>2]=-559038737;j[a>>2]=0;j[a+4>>2]=0;b=j[22923];j[a+36>>2]=j[22922];j[a+40>>2]=b;b=j[22925];j[a+44>>2]=j[22924];j[a+48>>2]=b;a=0;break a}b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;a=j[d+12>>2]}oe=d+16|0;return a|0}function qk(a){var b=0,c=0,d=0,e=0,f=0;if(!a){return 35}f=38;c=j[a+40>>2];a:{if(!c){break a}d=(j[a+36>>2]<<2)+c|0;e=d-4|0;b:{if(e>>>0>=c>>>0){while(1){b=j[e>>2];c:{if(j[b+4>>2]!=1970170211){break c}d:{switch(l[b+8>>1]){case 0:if(l[b+10>>1]!=4){break c}break b;case 3:break d;default:break c}}if(l[b+10>>1]==10){break b}}e=e-4|0;if(e>>>0>=c>>>0){continue}break}}while(1){d=d-4|0;if(d>>>0>>0){break a}b=j[d>>2];if(j[b+4>>2]!=1970170211){continue}break}}j[a+92>>2]=b;f=0}return f}function Ky(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if((c|0)>=1){i=k[e+34|0];l=k[e+30|0];m=k[e+33|0];n=k[e+29|0];o=k[e+32|0];p=k[e+28|0];q=k[d+35|0];r=k[d+34|0];s=k[d+33|0];t=k[d+32|0];while(1){f=j[b>>2];g=j[e+24>>2]|((f&j[d+16>>2])>>>s>>>n<>2]&f)>>>t>>>p<>2]&f)>>>r>>>l<>2]=g&64543|(j[d+24>>2]&f)>>>q<<2&992|g<<16&65011712;a=a+4|0;b=b+4|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}}return c<<2}function Ki(a,b,c,d,e){var f=0,g=0,h=0,i=0,l=0,m=0,n=0;h=j[a+4>>2];if(!h){return j[a+24>>2]&e>>>k[a+31|0]<>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>2];a:{if((l|0)<1){h=0;break a}n=j[h+4>>2];m=-1;h=0;a=0;while(1){b:{f=(a<<2)+n|0;g=k[f+1|0]-c|0;i=p(g,g);g=k[f|0]-b|0;i=i+p(g,g)|0;g=k[f+2|0]-d|0;f=k[f+3|0]-e|0;f=(i+p(g,g)|0)+p(f,f)|0;if(f>>>0>>0){h=a;m=f;if(!f){break b}}a=a+1|0;if((l|0)!=(a|0)){continue}}break}}return h&255}function CM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=j[a+28>>2];a=j[g+20>>2];a:{if(!a){break a}b=l[a>>1];e=b<<16>>16;if((e|0)>=2){c=i[(j[a+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[a+2>>1];b:{if((b|0)<2){break b}d=j[a+4>>2];f=d+(c<<3)|0;d=(d+(b<<3)|0)-8|0;if(j[f>>2]!=j[d>>2]|j[f+4>>2]!=j[d+4>>2]|k[(j[a+8>>2]+b|0)-1|0]!=1){break b}b=b-1|0;i[a+2>>1]=b}if((e|0)<1){break a}f=c;c=(b<<16>>16)-1|0;if((f|0)==(c|0)){i[a+2>>1]=b-1;i[a>>1]=e-1;break a}i[(j[a+12>>2]+(e<<1)|0)-2>>1]=c}h[g+64|0]=0}function vJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+20|0;if(e>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!(d-20>>>1>>>0>=c>>>0?!(d>>>0<20|d>>>0>j[b+160>>2]-a>>>0):0)){Pe(b,8)}if(!(!j[b+164>>2]|!c)){while(1){if(m[b+172>>2]<=(k[e+1|0]|k[e|0]<<8)>>>0){Pe(b,16)}e=e+2|0;c=c-1|0;if(c){continue}break}}return 0}function nn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,l=0,m=0;g=j[a+4>>2];if(!g){return j[a+24>>2]|(c>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>2];a:{if((i|0)<1){g=0;break a}m=j[g+4>>2];l=-1;g=0;a=0;while(1){b:{e=(a<<2)+m|0;f=k[e+1|0]-c|0;h=p(f,f);f=k[e|0]-b|0;h=h+p(f,f)|0;f=k[e+2|0]-d|0;e=k[e+3|0]-255|0;e=(h+p(f,f)|0)+p(e,e)|0;if(e>>>0>>0){g=a;l=e;if(!e){break b}}a=a+1|0;if((i|0)!=(a|0)){continue}}break}}return g&255}function MO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0;e=oe-16|0;oe=e;g=j[b+92>>2];j[a+40>>2]=l[b+68>>1];a:{if(qk(b)){j[b+92>>2]=0;break a}ps(a,b);d=48;while(1){b:{f=d;d=0;c=j[j[a+36>>2]>>2];c:{if(!c){break c}c=j[c+92>>2];if(!c){break c}d=qe[j[j[c+12>>2]+12>>2]](c,f)|0}d:{if(!d){break d}if(Km(b,d,e+12|0)){break d}c=i;i=1;d=j[e+12>>2];if(!c){k=d;break d}if((d|0)==(k|0)){break d}c=0;break b}c=1;d=f+1|0;if((d|0)!=58){continue}}break}h[a+32|0]=c}Uh(b,g);oe=e+16|0;return 0}function jE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=oe-32|0;oe=d;j[d+16>>2]=b;e=j[a+48>>2];j[d+20>>2]=c-((e|0)!=0);f=j[a+44>>2];j[d+28>>2]=e;j[d+24>>2]=f;e=-1;a:{b:{g=Ma(j[a+60>>2],d+16|0,2,d+12|0)|0;f=0;c:{if(!g){break c}j[67100]=g;f=-1}if(!f){e=j[d+12>>2];if((e|0)>0){break b}}j[a>>2]=j[a>>2]|e&48^16;break a}g=j[d+20>>2];if(g>>>0>=e>>>0){break a}f=j[a+44>>2];j[a+4>>2]=f;j[a+8>>2]=f+(e-g|0);if(j[a+48>>2]){j[a+4>>2]=f+1;h[(b+c|0)-1|0]=k[f|0]}e=c}oe=d+32|0;return e|0}function er(a,b){var c=0,d=0,e=0;d=oe-16|0;oe=d;c=j[a>>2]+1|0;j[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){Qf(d+12|0,b);c=j[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=k[c|0];if((e-48&255)>>>0<=9){break b}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}c=c+1|0;j[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(k[c|0]!=62){break c}}c=c+1|0;b=0}j[a>>2]=c;oe=d+16|0;return b}function AA(a,b){var c=0,d=0;d=oe-32|0;oe=d;a:{b:{if((b|0)<0){break b}c=qe[j[58771]]()|0;if((c|0)<=(b|0)){break b}qe[j[58775]](d+16|0,b);b=j[d+28>>2];c=j[d+24>>2];h[a+8|0]=c;h[a+9|0]=c>>>8;h[a+10|0]=c>>>16;h[a+11|0]=c>>>24;h[a+12|0]=b;h[a+13|0]=b>>>8;h[a+14|0]=b>>>16;h[a+15|0]=b>>>24;b=j[d+20>>2];c=j[d+16>>2];h[a|0]=c;h[a+1|0]=c>>>8;h[a+2|0]=c>>>16;h[a+3|0]=c>>>24;h[a+4|0]=b;h[a+5|0]=b>>>8;h[a+6|0]=b>>>16;h[a+7|0]=b>>>24;break a}j[d>>2]=c;ve(31362,d);Oe(a,0,16)}oe=d+32|0}function ny(a){var b=0,c=0,d=0;a=j[a+52>>2];c=j[j[a>>2]+4>>2];if(k[c+8|0]>=8){b=k[c+9|0]}a:{b:{c:{d:{e:{f:{a=j[a+68>>2]&-28673;switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break a;case 18:break c;case 0:break e;default:break f}}a=a-256|0;if(!a){break d}if((a|0)==18){break b}break a}return j[(b<<2)+45152>>2]}return j[(b<<2)+45184>>2]}return b>>>0>1?260:0}d=b>>>0>1?261:0}return d}function gL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0;e=oe-32|0;oe=e;j[d>>2]=-1;Oh(a,e+16|0);if(j[e+24>>2]==3){i=j[a>>2];g=j[e+16>>2]+1|0;j[a>>2]=g;k=j[a+8>>2];h=j[e+20>>2]-1|0;j[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}c=p(c,12)+b|0;while(1){Oh(a,e);if(!j[e+8>>2]){break a}if(!(!b|c>>>0<=f>>>0)){g=j[e+4>>2];j[f>>2]=j[e>>2];j[f+4>>2]=g;j[f+8>>2]=j[e+8>>2]}f=f+12|0;if(m[a>>2]>2]){continue}break}}j[d>>2]=(f-b|0)/12;j[a+8>>2]=k;j[a>>2]=i}oe=e+32|0}function LH(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=oe-160|0;oe=d;b=Te(40);j[b>>2]=0;if(a){e=j[a+160>>2];a:{if(!j[a+164>>2]|(!e|(a|0)==(e|0))){break a}b=ki(d,1,b,4);h=C()|0;while(1){if(c){break a}j[a+164>>2]=0;j[a+156>>2]=37;j[a+160>>2]=d;j[67126]=0;M(74,a|0,e|0);c=j[67126];j[67126]=0;f=-1;b:{if(!c){break b}g=j[67127];if(!g){break b}f=ef(j[c>>2],b,h);if(!f){F(c|0,g|0);z()}D(g|0)}c=C()|0;if((f|0)==1){continue}break}}j[a+164>>2]=0;j[a+156>>2]=0;j[a+160>>2]=0}ze(b);oe=d+160|0}function TM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;e=k[a+11|0]+7>>>3|0;a:{if(!e){d=b;break a}f=b+e|0;d=b;while(1){h[d|0]=k[c|0]+k[d|0];c=c+1|0;d=d+1|0;if(f>>>0>d>>>0){continue}break}}i=j[a+4>>2]+b|0;if(i>>>0>d>>>0){a=0-e|0;while(1){l=k[a+d|0];b=k[a+c|0];e=l-b|0;f=e>>31;m=k[c|0];g=m-b|0;n=g>>31;o=e+g|0;p=o>>31;q=b;b=f^e+f;e=n^g+n;f=(b|0)<(e|0);h[d|0]=k[d|0]+((p^p+o)<((f?b:e)|0)?q:f?m:l);c=c+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}}function OA(a){var b=0,c=0,d=0;if(a){b=j[a+4>>2];j[a+4>>2]=b-1;if((b|0)<=1){el(j[a>>2]);b=j[67069];a:{if(!b){break a}if((a|0)!=(b|0)){while(1){c=j[b+32>>2];if(!c){break a}d=b;b=c;if((b|0)!=(a|0)){continue}break}}b=j[a+32>>2];if(d){j[d+32>>2]=b;break a}j[67069]=b}b=j[a+16>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+20>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+24>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}}function Qw(a,b,c,d){var e=0,f=0;e=oe-48|0;oe=e;j[e+36>>2]=c;j[e+32>>2]=b;j[e+20>>2]=c;j[e+16>>2]=b;j[e+24>>2]=16;j[e+28>>2]=28;j[e+4>>2]=c;j[e>>2]=b;f=(c|0)%4|0;c=f>>31;c=c^c+f;f=(b|0)%4|0;b=f>>31;f=b^b+f;b=e;a:{b:{c:{switch(d|0){case 0:j[e>>2]=c<<4;c=64;break b;case 1:j[e>>2]=f<<4;c=32;break b;case 2:j[e>>2]=c<<4;c=0;break b;case 3:break c;default:break a}}j[e>>2]=f<<4;c=96}j[b+4>>2]=c}j[e+8>>2]=16;j[e+12>>2]=28;ao(a,e+40|0,e+44|0);Oi(j[58882],a,e,e+16|0);oe=e+48|0}function Pu(a){var b=0,c=0,d=0,e=0;c=j[a+100>>2];a:{if(!c){break a}b=j[67085];d=j[b+120>>2];if(!d){break a}qe[d|0](b,a,c)|0}if(j[67035]){Lj(a);gl(a,j[a+24>>2]/2|0,j[a+28>>2]/2|0)}d=0;c=j[67085];b=j[c+312>>2];e=j[a+48>>2];b:{if(!(!(j[67035]|e&256)|!(e&512))){c:{if(!b|(a|0)==(b|0)){break c}j[b+48>>2]=j[b+48>>2]&-257;d=j[c+128>>2];if(!d){break c}qe[d|0](c,b,0);c=j[67085]}j[c+312>>2]=a;d=1;break b}if((a|0)!=(b|0)){break b}j[c+312>>2]=0}b=j[c+128>>2];if(b){qe[b|0](c,a,d)}}function Oz(a,b,c,d){var e=0,f=0,g=0;if(!a){ve(44160,0);return}e=j[a+4>>2];if(k[e+8|0]<=7){ve(44192,0);return}f=j[a+36>>2];a:{if((f|0)>(b|0)){break a}g=j[a+40>>2];if((j[a+44>>2]+f|0)<=(b|0)|(g|0)>(c|0)|(j[a+48>>2]+g|0)<=(c|0)){break a}b:{switch(k[e+9|0]-1|0){case 0:h[(j[a+20>>2]+p(j[a+16>>2],c)|0)+b|0]=d;return;case 1:i[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=d;return;case 2:Be(4);return;case 3:break b;default:break a}}j[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)>>2]=d}}function uL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a:{if(j[c+76>>2]){break a}f=8;e=a+1|0;if(e>>>0>b>>>0){break a}h=b;a=k[a|0];g=a&15;b=g+(a>>>4|0)|0;if(h>>>0<(b<<1)+e>>>0){break a}a=xe(j[c>>2],4,0,b,0,d+12|0);f=j[d+12>>2];if(f){break a}j[c+76>>2]=a;j[c- -64>>2]=(g<<2)+a;f=0;if(!b){break a}while(1){c=k[e|0]|k[e+1|0]<<8;j[a>>2]=(c<<24|c<<8&16711680)>>16;a=a+4|0;e=e+2|0;b=b-1|0;if(b){continue}break}f=j[d+12>>2]}oe=d+16|0;return f|0}function qO(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=35;a:{if(!(k[a+8|0]&2)){break a}e=7;if(j[b>>2]){break a}f=j[b+4>>2];g=f;e=j[b+12>>2];if(e){g=(p(e,f)+36|0)/72|0}d=j[b+8>>2];h=d;b=j[b+16>>2];if(b){h=(p(b,d)+36|0)/72|0}e=23;b=j[a+28>>2];if((b|0)<1){break a}d=d?h:g;h=(f?d:h)+32|0;f=(f?g:d)+32|0;g=j[a+32>>2];a=0;while(1){d=g+(a<<4)|0;if(!((h^j[d+12>>2]+32)>>>0>63|(f^j[d+8>>2]+32)>>>0>63)){e=0;if(!c){break a}j[c>>2]=a;return 0}a=a+1|0;if((b|0)>(a|0)){continue}break}}return e}function lo(a,b){var c=0,d=0,e=0,f=0;e=j[67055];a:{b:{if((e|0)<=0){c=j[67056];break b}c=j[67056];while(1){f=j[(d<<2)+c>>2];if(j[f>>2]==(a|0)&j[f+4>>2]==(b|0)){break a}d=d+1|0;if((e|0)!=(d|0)){continue}break}}c=mf(c,(e<<2)+4|0);if(!c){return Be(0)}j[67056]=c;d=j[67055];c=qe[j[57972]](24)|0;if(c){j[57976]=j[57976]+1}j[j[67056]+(d<<2)>>2]=c;if(!c){return Be(0)}j[67055]=j[67055]+1;j[c+20>>2]=0;j[c+12>>2]=0;j[c+16>>2]=0;j[c+8>>2]=0;j[c>>2]=a;j[c+4>>2]=b;HB(a,b)}return d}function RB(a,b){a=a|0;b=b|0;var c=0;c=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>2|0;if(c){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){n[b>>2]=q(j[b>>2]>>8)*q(1.1920930376163597e-7);b=b+4|0;c=c-1|0;if(c){continue}break}}b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function Mh(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!c|!(a&3)){break c}e=b&255;while(1){if((e|0)==k[a|0]){break b}a=a+1|0;c=c-1|0;d=(c|0)!=0;if(!c){break c}if(a&3){continue}break}}if(!d){break a}}d:{if(k[a|0]==(b&255)|c>>>0<4){break d}d=p(b&255,16843009);while(1){e=d^j[a>>2];if((e^-1)&e-16843009&-2139062144){break d}a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}b=b&255;while(1){if((b|0)==k[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function Zn(a){var b=0,c=0;if(!(j[a>>2]==268305?a:0)){ve(31725,0);return}b=j[a+340>>2];if(b){qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;c=a+420|0;while(1){b=c;c=j[b+8>>2];if(c){continue}break}j[b+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}if(!j[a+192>>2]){qe[j[a+76>>2]](a)}}function WA(){var a=0,b=0,c=0,d=0,e=0;d=oe-1024|0;oe=d;Pi(30616,0);Pi(30863,0);a=eg(31092);a:{if(!a|!k[a|0]){break a}if(Re(d,a,1024)>>>0>1023){break a}YA(fi(d,30251))}e=eg(31122);if(!(!e|!k[e|0])){b=Le(e);a=b+1|0;c=qe[j[57972]](a?a:1)|0;if(c){j[57976]=j[57976]+1}Ge(c,e,b);h[b+c|0]=0;a=c;b=wg(a,10);if(b){while(1){h[b|0]=0;Pi(a,2);a=b+1|0;b=wg(a,10);if(b){continue}break}}Pi(a,2);if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}Hg(30254,166,0);Hg(30288,167,0);oe=d+1024|0}function cr(a,b,c,d){var e=0,f=0,g=0,i=0;i=j[a>>2];if(i>>>0>>0){f=1;b=b-i|0;d=d<<1;d=b>>>0>>0?b:d;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=k[b+i|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break c;default:break d}}if(e<<24>>24<0){break b}e=k[e+92064|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}h[c+g|0]=e;f=1;g=g+1|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}if((f|0)==1){break a}h[c+g|0]=f<<4;g=g+1|0}j[a>>2]=b+i}return g}function xF(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;i=oe-16|0;oe=i;l=j[b+36>>2];m=(l|0)/2|0;n=Ef(b,p(m,f)<<2);j[i+12>>2]=n;a:{if((f|0)<1){break a}h=0;while(1){b=h<<2;q=j[b+e>>2]!=0;if((l|0)>=2){r=j[b+d>>2];b=h;k=0;while(1){j[(b<<2)+n>>2]=j[(k<<2)+r>>2];b=b+f|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}o=o+q|0;h=h+1|0;if((h|0)!=(f|0)){continue}break}if(!o){break a}Sp(a,c,i+12|0,1,g)}oe=i+16|0;return 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,k=0,l=0;k=j[a+16>>2];a:{if(k){c=j[b>>2]+1|0;l=j[a+20>>2];h=k;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+l|0;f=j[e>>2];if((f|0)==(c|0)){a=j[((i<<3)+l|0)+4>>2];j[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?j[e+4>>2]:g;e=c>>>0>f>>>0;h=e?h:i;d=e?i+1|0:d;if(h>>>0>d>>>0){continue}break}if(g){break a}}c=0;g=0;if(d>>>0>=k>>>0){break a}a=j[a+20>>2]+(d<<3)|0;c=j[a>>2]&2147483647;g=j[a+4>>2]}j[b>>2]=c;return g|0}function Lm(a,b,c,d,e,f){var g=0,h=0,i=0;if(j[a+220>>2]==j[a+376>>2]){j[a+240>>2]=0;j[a+236>>2]=d;h=f?4:2;i=a+224|0;d=1024;f=e;a:{while(1){if(!j[a+228>>2]){g=j[c>>2];d=d>>>0>g>>>0?g:d;j[c>>2]=g-d;if(d){pf(a,b,d);tf(a,b,d)}j[a+228>>2]=d;j[a+224>>2]=b}if(!j[a+240>>2]){g=j[e>>2];j[e>>2]=0;j[a+240>>2]=g}g=ui(i,j[c>>2]?0:h);if(g){d=j[e>>2];b=j[a+240>>2];break a}if(j[e>>2]|j[a+240>>2]){continue}break}d=0;b=0}j[f>>2]=b+d;j[a+240>>2]=0;ph(a,g);return}j[a+248>>2]=7178}function Uh(a,b){var c=0,d=0,e=0,f=0;f=oe-16|0;oe=f;a:{if(!a){c=35;break a}c=38;if(!b){break a}e=j[a+40>>2];if(!e){break a}c=j[b>>2];b:{if(!c){break b}c=j[c+96>>2];d=j[j[c>>2]+32>>2];if(!d){break b}c=qe[d|0](c,74767)|0;if(!c){break b}if(qe[j[c>>2]](b,f+8|0)|0){break b}c=6;if(j[f+12>>2]==14){break a}}c=6;d=j[a+36>>2];if((d|0)<=0){break a}d=(d<<2)+e|0;while(1){if(j[e>>2]!=(b|0)){e=e+4|0;if(d>>>0>e>>>0){continue}break a}break}j[a+92>>2]=b;c=0}oe=f+16|0;return c}function mq(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,n=0;if(!j[a>>2]){return 65536}n=b&16384;f=65536;b=0;while(1){a:{k=f;h=b<<2;i=j[h+c>>2];b:{if(!i){break b}f=0;g=j[h+j[a+4>>2]>>2];if(!g|((g|0)<0?(i|0)>=1:0)|((g|0)>0?(i|0)<=-1:0)){break a}if(!n){f=g>>31;f=ye(k,f+g^f);break b}l=j[d+h>>2];if((l|0)>(g|0)){break a}h=j[e+h>>2];if((h|0)<(g|0)){break a}if((g|0)<(i|0)){f=Ne(k,g-l|0,i-l|0);break b}f=Ne(k,h-g|0,h-i|0)}b=b+1|0;if(b>>>0>2]){continue}}break}return f}function KE(a){var b=0,c=0,d=0;c=j[a+4>>2];if((c|0)>=0){b=j[a+12>>2];if(b){d=j[a+8>>2]-b|0;j[a+8>>2]=d;if((d|0)>=1){c=j[a>>2];yg(c,c+b|0,d);c=j[a+4>>2]}j[a+12>>2]=0}b=c;c=j[a+8>>2];a:{if((b-c|0)>=2048){b=j[a>>2];break a}c=c+6144|0;b=j[a>>2];b:{if(b){b=Vf(b,c);break b}b=Te(c)}if(!b){b=j[a>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;return 0}j[a+4>>2]=c;j[a>>2]=b;c=j[a+8>>2]}a=c+b|0}else{a=0}return a}function Wr(a,b,c,d){var e=0,f=0,g=0;if(!a){return}if(!d){return}e=j[a+96>>2];j[d>>2]=0;j[d+4>>2]=0;e=j[j[e+12>>2]+76>>2];if(e){if(!(qe[e|0](a,b,c,d)|0)){f=d,g=ye(j[d>>2],j[j[a+88>>2]+16>>2]),j[f>>2]=g;f=d,g=ye(j[d+4>>2],j[j[a+88>>2]+20>>2]),j[f+4>>2]=g;c=d;b=j[a+88>>2];e=l[b+12>>1];if(e>>>0<=24){f=d,g=Ne(j[d>>2],e,25),j[f>>2]=g;b=j[a+88>>2]}a=l[b+14>>1];b=j[d+4>>2];a:{if(a>>>0>=25){break a}b=Ne(j[d+4>>2],a,25)}j[c+4>>2]=b+32&-64;j[d>>2]=j[d>>2]+32&-64}}}function PJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>65535){break a}c=j[a+16>>2];a=c+518|0;c=c+6|0;d=b>>>8|0;b:{if(!d){c=c+(b<<1&510)|0;if(!(k[c|0]<<8|k[c+1|0])){break b}break a}c=c+(d<<1)|0;c=k[c|0]<<8|k[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(k[a+1|0]|k[a|0]<<8)|0;if(b>>>0>=(k[a+3|0]|k[a+2|0]<<8)>>>0){break a}c=k[a+7|0]|k[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=k[b|0]<<8|k[b+1|0];if(!b){break a}e=b+(k[a+5|0]|k[a+4|0]<<8)&65535}return e|0}function Nt(a){a=a|0;a=Xe(1,1004);if(!a){Be(0);return 0}Jo(63507,63540);j[a+232>>2]=473;j[a+32>>2]=474;j[a+20>>2]=475;j[a+8>>2]=476;j[a+4>>2]=477;j[a+132>>2]=478;j[a+56>>2]=479;j[a+44>>2]=480;j[a+36>>2]=481;j[a+204>>2]=482;j[a+200>>2]=483;j[a+196>>2]=484;j[a+192>>2]=485;j[a+184>>2]=486;j[a+180>>2]=487;j[a+176>>2]=488;j[a+172>>2]=489;j[a+168>>2]=490;j[a+144>>2]=491;j[a+140>>2]=492;j[a+136>>2]=493;j[a+116>>2]=494;j[a+1e3>>2]=495;j[a+188>>2]=496;return a|0}function Es(a,b){a=a|0;b=b|0;var c=0;if(j[b+72>>2]==1651078259){c=j[a>>2];j[a+20>>2]=j[b+100>>2];j[a+24>>2]=j[b+104>>2];a=a+28|0;if(h[j[b+156>>2]+4|0]&1){c=j[b+80>>2];j[a>>2]=j[b+76>>2];j[a+4>>2]=c;c=j[b+96>>2];j[a+16>>2]=j[b+92>>2];j[a+20>>2]=c;c=j[b+88>>2];j[a+8>>2]=j[b+84>>2];j[a+12>>2]=c;a=j[b+156>>2];j[a+4>>2]=j[a+4>>2]&-2;return 0}if(a){j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}a=xk(c,b+76|0,a)}else{a=18}return a|0}function hu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=oe-32|0;oe=e;d=Ok(376840196);if(d){f=Jk(a,d);Mk(d)}d=0;a:{if(!f){break a}i[e+28>>1]=105;j[e+24>>2]=1768515945;d=j[a+12>>2];a=j[a+8>>2];j[e+16>>2]=j[f+20>>2];j[e+12>>2]=c;j[e+8>>2]=b;j[e>>2]=a;j[e+4>>2]=d;a=E(61235,e+24|0,e|0)|0;kf(f);d=Xe(1,8);b:{if(d){b=Xe(1,8);if(!b){Be(0);if(d){qe[j[57975]](d);j[57976]=j[57976]-1}d=0;break a}j[b+4>>2]=1;j[b>>2]=a;j[d+4>>2]=b;break b}Be(0)}}oe=e+32|0;return d|0}function Ut(a,b,c){a=a|0;b=b|0;c=c|0;a=oe-16|0;oe=a;b=j[b+24>>2];a:{b:{if(b>>>0<=127){h[a+11|0]=b;b=1;break b}if(b>>>0<=2047){h[a+12|0]=b&63|128;h[a+11|0]=b>>>6|192;b=2;break b}if(b>>>0<=65535){h[a+13|0]=b&63|128;h[a+11|0]=b>>>12|224;h[a+12|0]=b>>>6&63|128;b=3;break b}if(b>>>0>1114111){break a}h[a+14|0]=b&63|128;h[a+11|0]=b>>>18|240;h[a+13|0]=b>>>6&63|128;h[a+12|0]=b>>>12&63|128;b=4}h[b+(a+11|0)|0]=0;DB(a+11|0)}b=We(771,-1);oe=a+16|0;return(b|0)==1|0}function _A(a){var b=0;b=-1;a:{if(!(!a|!k[a|0])){if(!Me(a,30380)){return 0}if(Me(a,30382)){break a}b=1}return b}if(!Me(a,30384)){return 2}if(!Me(a,30386)){return 3}if(!Me(a,30388)){return 4}if(!Me(a,30393)){return 5}if(!Me(a,30399)){return 6}if(!Me(a,30405)){return 7}if(!Me(a,30415)){return 8}if(!Me(a,30426)){return 9}if(!Me(a,30439)){return 10}if(!Me(a,30453)){return 11}if(!Me(a,30458)){return 12}if(!Me(a,30465)){return 13}return Me(a,30472)?-1:14}function Kk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=oe-32|0;oe=e;a:{if(!a){j[e>>2]=56016;a=ve(55990,e);break a}d=j[j[a+4>>2]+4>>2];if(!(!d|m[d>>2]>c>>>0)){j[e+16>>2]=56024;a=ve(55990,e+16|0);break a}b:{if(!(b&2)){break b}d=j[a+52>>2];g=j[d+68>>2];f=g|4096;j[d+68>>2]=f;if((f|0)==(g|0)){break b}vf(d)}d=j[a+52>>2];f=j[d+68>>2];a=d;c:{if(b){j[d+72>>2]=c;b=f|256;break c}b=f&-257}j[a+68>>2]=b;a=0;if((b|0)==(f|0)){break a}vf(d)}oe=e+32|0;return a|0}function LN(a){var b=0,c=0,d=0,e=0;if(a){e=j[j[a+128>>2]>>2];c=j[a+88>>2];b=c;d=j[a+72>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+72>>2]=0;b=j[a+76>>2];if(b){qe[j[c+8>>2]](c,b)}h[a+92|0]=0;j[a+84>>2]=-1;j[a+64>>2]=0;j[a+68>>2]=0;j[a+76>>2]=0;c=j[a+120>>2];b=c;d=j[a+104>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+104>>2]=0;b=j[a+108>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+128>>2]=0;h[a+124|0]=0;j[a+116>>2]=-1;j[a+96>>2]=0;j[a+100>>2]=0;j[a+108>>2]=0;if(a){qe[j[e+8>>2]](e,a)}}}function WJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=j[a+24>>2];j[a+48>>2]=c;b=j[a+28>>2];j[a+52>>2]=b;d=j[a+8>>2]+1|0;e=d+j[a>>2]>>1;j[a+8>>2]=e;f=j[a+16>>2];c=(c+f|0)+1>>1;j[a+40>>2]=c;g=j[a+12>>2]+1|0;h=g+j[a+4>>2]>>1;j[a+12>>2]=h;i=j[a+20>>2];b=(b+i|0)+1>>1;j[a+44>>2]=b;d=(d+f>>1)+1|0;e=d+e>>1;j[a+16>>2]=e;c=c+d>>1;j[a+32>>2]=c;f=b;b=(g+i>>1)+1|0;d=f+b>>1;j[a+36>>2]=d;b=b+h>>1;j[a+20>>2]=b;j[a+24>>2]=(c+e|0)+1>>1;j[a+28>>2]=(b+d|0)+1>>1}function _K(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{a=j[a+20>>2];if(!a){break a}b=l[a>>1];e=b<<16>>16;if((e|0)>=2){d=i[(j[a+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[a+2>>1];b:{if((b|0)<2){break b}c=j[a+4>>2];f=c+(d<<3)|0;c=(c+(b<<3)|0)-8|0;if(j[f>>2]!=j[c>>2]|j[f+4>>2]!=j[c+4>>2]|k[(j[a+8>>2]+b|0)-1|0]!=1){break b}b=b-1|0;i[a+2>>1]=b}if((e|0)<1){break a}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){i[a+2>>1]=b-1;i[a>>1]=e-1;return}i[(j[a+12>>2]+(e<<1)|0)-2>>1]=d}}function fJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;c=j[a+28>>2];g=j[a+16>>2];e=j[a+24>>2];j[d+12>>2]=0;a:{b:{f=e+1|0;c:{if(c>>>0>=f>>>0){b=j[a+32>>2];break c}j[a+36>>2]=b;b=xe(b,4,c,f,j[a+32>>2],d+12|0);j[a+32>>2]=b;if(j[d+12>>2]){break b}j[a+28>>2]=f}if(e){a=g+10|0;c=0;while(1){j[(c<<2)+b>>2]=k[a+2|0]|(k[a+1|0]<<8|k[a|0]<<16);a=a+11|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[(e<<2)+b>>2]=0;break a}b=0}oe=d+16|0;return b|0}function Yo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;f=d&2147483647;i=f;g=c;a:{if(!c&(f|0)==2147418112?a|b:(f|0)==2147418112&(c|0)!=0|f>>>0>2147418112){break a}f=e&2147483647;j=f;if((f|0)==2147418112?0:f>>>0>2147418112){break a}if(!(a|g|(i|j|b))){return 0}g=d&e;if((g|0)>0?1:(g|0)>=0){if(!c&(d|0)==(e|0)?0:(d|0)<(e|0)){break a}return(a|c)!=0|(d^e|b)!=0}if(!c&(d|0)==(e|0)?a|b:(d|0)>(e|0)?1:(d|0)>=(e|0)?c:0){break a}h=(a|c)!=0|(d^e|b)!=0}return h}function KB(){var a=0,b=0;a:{b:{c:{a=j[66107];d:{e:{f:{if(a){b=j[a>>2];if(!(b&8)){break f}break d}a=Xe(1,32);j[66107]=a;if(!a){break e}b=j[a>>2]}j[a>>2]=b|8;Ri(771,771);a=j[66107]}if(!a){break c}}b=j[a>>2];if(!(b&4)){break b}break a}a=Xe(1,32);j[66107]=a;if(!a){break a}b=j[a>>2]}j[a>>2]=b|4;Ri(770,770)}a=j[66106];g:{h:{if(a){b=j[a>>2];if(!(b&2)){break h}break g}a=Xe(1,32);j[66106]=a;if(!a){break g}b=j[a>>2]}j[a>>2]=b|2;Ri(513,513)}j[57840]=1}function It(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=q(0),f=0,g=0,h=0;a:{a=j[b+144>>2];if(!a){break a}b:{if(!(k[b+49|0]&32)){c=n[a+16>>2];d=a+16|0;break b}c=q(+K());n[a+16>>2]=c;d=a+16|0}e=q(c*q(j[b+28>>2]));c:{if(q(r(e))>2];c=q(c*q(j[b+24>>2]));d:{if(q(r(c))>2]|n[d>>2]==q(1)){break a}Q(j[a+12>>2],+j[b+24>>2],+j[b+28>>2])|0}}function xe(a,b,c,d,e,f){var g=0;if((b|c|d)<0){j[f>>2]=6;return e}a:{b:{c:{if(!(d?b:0)){if(!e){break c}qe[j[a+8>>2]](a,e);break c}g=10;if((2147483647/(b|0)|0)<(d|0)){break a}if(!c){e=0;g=p(b,d);if((g|0)<=0){g=g?6:0;break b}e=qe[j[a+4>>2]](a,g)|0;if(!e){j[f>>2]=64;return 0}Ee(e,0,g);g=0;break b}a=qe[j[a+12>>2]](a,p(b,c),p(b,d),e)|0;e=a?a:e;g=!a<<6;break b}e=0;g=0}if(g|(c|0)>=(d|0)){break a}g=0;Ee(p(b,c)+e|0,0,p(d-c|0,b))}j[f>>2]=g;return e}function dE(a,b){a:{if(a){if(b>>>0<=127){break a}b:{if(!j[j[58826]>>2]){if((b&-128)==57216){break a}break b}if(b>>>0<=2047){h[a+1|0]=b&63|128;h[a|0]=b>>>6|192;return 2}if(!((b&-8192)!=57344?b>>>0>=55296:0)){h[a+2|0]=b&63|128;h[a|0]=b>>>12|224;h[a+1|0]=b>>>6&63|128;return 3}if(b-65536>>>0<=1048575){h[a+3|0]=b&63|128;h[a|0]=b>>>18|240;h[a+2|0]=b>>>6&63|128;h[a+1|0]=b>>>12&63|128;return 4}}j[67100]=25;a=-1}else{a=1}return a}h[a|0]=b;return 1}function Bl(a,b){var c=0,d=0,e=0,f=0,g=0;f=-1;a:{if(b>>>0>32){break a}d=j[a+4>>2];e=d+b|0;b:{c=j[a>>2];g=j[a+16>>2];if((c|0)<(g-4|0)){break b}if((g-(e+7>>3)|0)<(c|0)){break a}if(e){break b}return 0}f=j[(b<<2)+223632>>2];b=j[a+12>>2];a=k[b|0]>>>d|0;c=a;c:{if((e|0)<9){break c}a=k[b+1|0]<<8-d|a;c=a;if((e|0)<17){break c}a=k[b+2|0]<<16-d|a;c=a;if((e|0)<25){break c}a=k[b+3|0]<<24-d|a;c=a;if(!d|(e|0)<33){break c}c=k[b+4|0]<<32-d|a}f=c&f}return f}function uE(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=k[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=j[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=p(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=j[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=k[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return Le(a)+a|0}return a}function co(a,b,c){var d=0,e=0;d=oe+ -64|0;oe=d;a:{b:{c:{switch(c|0){case 1:j[d+8>>2]=1539;break b;case 0:break c;default:break a}}j[d+8>>2]=1540}if(k[j[a+56>>2]+b|0]==(c|0)|j[a+52>>2]<=(b|0)){break a}d:{if(k[268304]){break d}e=j[67085];if(e){e=j[e+308>>2]!=0}else{e=0}if(!e|(c|0)!=1){break d}if(!j[66371]){break a}}h[j[a+56>>2]+b|0]=c;if((We(j[d+8>>2],-1)|0)!=1){break a}a=j[a>>2];h[d+21|0]=c;h[d+20|0]=b;j[d+16>>2]=a;gf(d+8|0)}oe=d- -64|0}function DC(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}d=j[a+12>>2];e=(d+b|0)-1|0;f=(e>>>0)/(d>>>0)|0;c=j[a+8>>2];b=j[a>>2];b:{if(!b){b=c;break b}j[j[a+4>>2]+8>>2]=c}c=0;j[a+16>>2]=0;j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=b;a=a+8|0;if(!(!b|d>>>0>e>>>0)){while(1){a=b;b=j[a+8>>2];if(b){c=c+1|0;if(f>>>0>c>>>0){continue}}break}a=a+8|0}j[a>>2]=0;if(!b){break a}while(1){a=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=a;if(a){continue}break}}}function Ck(a,b,c){var d=0,e=0,f=0,g=0;e=oe+ -64|0;oe=e;d=j[a+992>>2];a:{if(!d){f=ve(59026,0);break a}g=j[d+8>>2];d=j[d+84>>2];if(!(c?b:0)){qe[d|0](g,0,0,0)|0;f=0;break a}f=0;if(qe[d|0](g,b,b,c)|0){break a}b=59572;c=e;a=qe[j[j[a+992>>2]+116>>2]]()|0;d=a-12288|0;if(d>>>0<=14){b=j[(d<<2)+59576>>2]}if(!k[b|0]){j[e+16>>2]=a;Ue(e+32|0,32,58627,e+16|0);b=e+32|0}j[c+8>>2]=b;j[e+4>>2]=58737;j[e>>2]=59049;f=ve(58632,e)}d=f;oe=e- -64|0;return d}function oo(a){var b=0,c=0;b=j[66371];if(!(!b|a)){while(1){if(k[c+265490|0]==1){kl(0,c)}c=c+1|0;if((c|0)!=512){continue}break}b=j[66371]}a:{if(!b|(a|0)==(b|0)){break a}if(k[b+49|0]&64){hl(0);b=j[66371]}zf(b,13,0,0);if(!We(771,-1)){break a}c=j[67085];if(!c){break a}b=j[c+244>>2];if(!b){break a}qe[b|0](c)}j[66371]=a;b:{if(!a){break b}zf(a,12,0,0);if(!We(771,-1)){break b}b=j[67085];if(!b){break b}a=j[b+240>>2];if(!a){break b}qe[a|0](b)}}function mO(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(!(!b|!(k[b+9|0]&2))){Ie(a,c);Je(a,5808);break a}if(e&4){j[a+208>>2]=e|8}if((c|0)!=7){Ie(a,c);Je(a,5787);break a}pf(a,d+9|0,7);tf(a,d+9|0,7);if(Ie(a,0)){break a}h[d+6|0]=k[d+15|0];c=k[d+11|0]|k[d+12|0]<<8|(k[d+13|0]<<16|k[d+14|0]<<24);i[d+2>>1]=c;i[d+4>>1]=c>>>16;c=k[d+9|0]|k[d+10|0]<<8;i[d>>1]=(c<<24|c<<8&16711680)>>>16;Vu(a,b,d)}oe=d+16|0;return}hf(a,5795);z()}function nA(a,b){var c=0,d=0;a:{if(Fj(a,k[b+32|0],k[b+33|0],k[b+34|0],k[b+35|0])){break a}b:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break b}c=Xe(1,28);if(c){break b}Be(0);break a}d=j[a+344>>2];j[(d?d+24|0:a+340|0)>>2]=c;j[a+344>>2]=c;if(!c){break a}j[c+4>>2]=0;j[c+8>>2]=0;j[c>>2]=8;h[c+12|0]=k[b+32|0];h[c+13|0]=k[b+33|0];h[c+14|0]=k[b+34|0];h[c+15|0]=k[b+35|0];a=j[b+24>>2];j[c+20>>2]=b;j[c+16>>2]=a;return c}return 0}function qy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0;c=j[a+36>>2]/2|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){h=j[a+16>>2]+(b+e|0)|0;m=j[a+48>>2];n=j[a+56>>2];b=j[a>>2];d=j[a+20>>2];o=(e|0)<1;p=c<<1;while(1){f=f-1|0;a=0;c=0;if(!o){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(n|0)){i[d>>1]=l[(g<<1)+m>>1]}d=d+2|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+h|0;d=d+p|0;if(f){continue}break}}}function oy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;c=j[a+36>>2]/4|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){h=j[a+16>>2]+(b+e|0)|0;i=j[a+48>>2];l=j[a+56>>2];b=j[a>>2];d=j[a+20>>2];m=(e|0)<1;n=c<<2;while(1){f=f-1|0;a=0;c=0;if(!m){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(l|0)){j[d>>2]=j[(g<<2)+i>>2]}d=d+4|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+h|0;d=d+n|0;if(f){continue}break}}}function Pt(a){ua(j[a+12>>2],0,0,0,2)|0;ta(j[a+12>>2],0,0,0,2)|0;sa(1,0,0,0,2)|0;ra(j[a+12>>2],0,0,0,2)|0;qa(j[a+12>>2],0,0,0,2)|0;pa(j[a+12>>2],0,0,0,2)|0;oa(2,0,0,0,2)|0;na(2,0,0,0,2)|0;ma(j[a+12>>2],0,0,0,2)|0;la(j[a+12>>2],0,0,0,2)|0;ka(j[a+12>>2],0,0,0,2)|0;ja(j[a+12>>2],0,0,0,2)|0;ia(1,0,0,0,2)|0;a=eg(62540);a=a?a:2;ha(a|0,0,0,0,2)|0;ga(a|0,0,0,0,2)|0;fa(a|0,0,0,0,2)|0;ea(1,0,0,0,2)|0;da(2,0,0,0,2)|0;ca(0,0,0,2)|0;ba(0,0,1)|0}function vm(a){a=a|0;var b=0,c=0;if(a){c=j[a+100>>2];Er(j[a+140>>2]);b=j[a+144>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+144>>2]=0;b=j[a+132>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+136>>2]=0;b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+32>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0}}function NA(){var a=0,b=0;while(1){a=j[67062];if(a){j[67062]=j[a+28>>2];b=j[a+16>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+20>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}continue}break}ro(168,0);ji(30254,166,0);ji(30288,167,0);a=j[67065];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}Oe(268252,0,12)}a=j[67068];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}Oe(268264,0,12)}}function zA(a,b){var c=0,d=0,e=0,f=0,g=0,i=0;e=Le(b);Oe(a,0,16);g=e&-2;a:{if(!g){break a}e=a;while(1){c=k[b+f|0];d=c-48|0;b:{if((d&255)>>>0<10){break b}if((c-65&255)>>>0<=5){d=c-55|0;break b}d=(c-97&255)>>>0<6?c-87|0:0}i=d<<4;c=k[(f|1)+b|0];d=c-48|0;c:{if((d&255)>>>0<10){break c}if((c-65&255)>>>0<=5){d=c-55|0;break c}d=(c-97&255)>>>0<6?c-87|0:0}h[e|0]=d|i;f=f+2|0;if(g>>>0<=f>>>0){break a}e=e+1|0;if((e-a|0)<16){continue}break}}}function nF(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=oe-32|0;oe=b;a:{if(!a){break a}d=j[a+4>>2];c=j[a>>2];j[b+20>>2]=c;j[b+8>>2]=0;j[b+12>>2]=0;j[b+24>>2]=d;j[b+16>>2]=c;if(!j[a+8>>2]){break a}if((Ce(b+8|0,8)|0)!=1){break a}f=b,g=Ce(b+8|0,8),h[f+2|0]=g;f=b,g=Ce(b+8|0,8),h[f+3|0]=g;f=b,g=Ce(b+8|0,8),h[f+4|0]=g;f=b,g=Ce(b+8|0,8),h[f+5|0]=g;f=b,g=Ce(b+8|0,8),h[f+6|0]=g;f=b,g=Ce(b+8|0,8),h[f+7|0]=g;e=!Bg(b+2|0,198172,6)}oe=b+32|0;return e}function NG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0,l=0;f=j[a+492>>2];if(!f){return 6}g=j[f+32>>2];if(g){a=0;while(1){e=j[f+28>>2]+p(a,20)|0;a:{if(j[e>>2]!=(c|0)){break a}h=j[e+4>>2];if((h|0)>(b|0)){j[d>>2]=j[e+8>>2];break a}i=j[e+12>>2];if((i|0)<(b|0)){j[d>>2]=j[e+16>>2];break a}k=d,l=Ne(b-h|0,j[e+16>>2]-j[e+8>>2]|0,i-h|0)+j[e+8>>2]|0,j[k>>2]=l;g=j[f+32>>2]}a=a+1|0;if(g>>>0>a>>>0){continue}break}}return 0}function Iy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((c|0)>=1){g=k[e+34|0];h=k[e+30|0];i=k[e+33|0];l=k[e+29|0];m=k[e+32|0];n=k[e+28|0];o=k[d+35|0];p=k[d+34|0];q=k[d+33|0];r=k[d+32|0];while(1){e=j[b>>2];j[a>>2]=(e&j[d+12>>2])>>>r>>>n<>2])>>>o<<24|(e&j[d+16>>2])>>>q>>>l<>2])>>>p>>>h<>2];b=(d+7|0)/-8|0;e=j[a+28>>2];if(e){l=j[a+16>>2]+(b+d|0)|0;i=j[a+48>>2];m=j[a+36>>2];b=j[a>>2];a=j[a+20>>2];n=(d|0)<1;while(1){e=e-1|0;f=0;g=0;if(!n){while(1){if(!(f&7)){g=k[b|0];b=b+1|0}c=g>>>5&4;h[a|0]=k[c+i|0];c=(c|1)+i|0;h[a+1|0]=k[c|0];h[a+2|0]=k[c+1|0];a=a+3|0;g=g<<1;f=f+1|0;if((f|0)!=(d|0)){continue}break}}a=a+m|0;b=b+l|0;if(e){continue}break}}}function Xr(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}b=j[a>>2];if(!b){return}e=j[b+96>>2];if(!e){return}d=j[e+8>>2];f=b+108|0;c=zh(f,a);if(!c){break a}Th(f,c);if(c){qe[j[d+8>>2]](d,c)}b:{if(j[b+88>>2]!=(a|0)){break b}j[b+88>>2]=0;c=j[b+108>>2];if(!c){break b}j[b+88>>2]=j[c+8>>2]}b=j[a+8>>2];if(b){qe[b|0](a)}b=j[j[e+12>>2]+60>>2];if(b){qe[b|0](a)}b=j[a+40>>2];if(b){qe[j[d+8>>2]](d,b)}j[a+40>>2]=0;if(a){qe[j[d+8>>2]](d,a)}}}function PF(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0;a:{if(j[a+8>>2]<1){break a}h=(c|0)/(d|0)|0;k=(c+f|0)/(d|0)|0;if((h|0)>=(k|0)){break a}f=0;while(1){g=-1;c=vi(a,e);if((c|0)==-1){break a}g=j[a>>2];if((g|0)>=1){l=j[a+16>>2]+(p(c,g)<<2)|0;c=0;while(1){i=j[(f<<2)+b>>2]+(h<<2)|0;n[i>>2]=n[(c<<2)+l>>2]+n[i>>2];f=f+1|0;i=(f|0)==(d|0);f=i?0:f;h=h+i|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if((h|0)<(k|0)){continue}break}g=0}return g}function GD(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=oe-16|0;oe=d;f=(tP(b),oP(2));c=f&2147483647;a:{if(c-8388608>>>0<=2130706431){e=c;c=c>>>7|0;g=e<<25;c=c+1065353216|0;break a}if(c>>>0>=2139095040){c=f;e=c>>>7|0;g=c<<25;c=e|2147418112;break a}if(!c){c=0;break a}e=c;c=s(c);Nf(d,e,0,0,0,c+81|0);h=j[d>>2];i=j[d+4>>2];g=j[d+8>>2];c=j[d+12>>2]^65536|16265-c<<16}j[a>>2]=h;j[a+4>>2]=i;j[a+8>>2]=g;j[a+12>>2]=f&-2147483648|c;oe=d+16|0}function GL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=j[a+16>>2];f=j[b>>2];a:while(1){if(!e){j[b>>2]=0;return 0}f=f+1|0;i=j[a+20>>2];c=0;d=e;while(1){g=(d-c>>>1|0)+c|0;h=j[(g<<4)+i>>2];if((h|0)==(f|0)){if(!g){continue a}j[b>>2]=f;return g+1|0}h=f>>>0>h>>>0;d=h?d:g;c=h?g+1|0:c;if(d>>>0>c>>>0){continue}break}break}d=0;if(c>>>0>=e>>>0){j[b>>2]=0;return 0}e=0;if(c){e=j[j[a+20>>2]+(c<<4)>>2];d=c+1|0}j[b>>2]=e;return d|0}function 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,l=0,m=0,n=0;f=oe-16|0;oe=f;Qf(a,j[a+8>>2]);g=j[a>>2];j[f+12>>2]=g;h=j[a+8>>2];a:{if(h>>>0<=g>>>0){break a}l=a;b:{if(e){i=3;if(k[g|0]!=60){break a}j[f+12>>2]=g+1;m=d,n=cr(f+12|0,h,b,c),j[m>>2]=n;b=j[a+8>>2];a=j[f+12>>2];if(k[a|0]!=62?b>>>0>a>>>0:0){break a}a=a+1|0;break b}m=d,n=cr(f+12|0,h,b,c),j[m>>2]=n;a=j[f+12>>2]}j[l>>2]=a;i=0}oe=f+16|0;return i|0}function QA(){var a=0,b=0,c=0,d=0,e=0,f=0;a=oe;f=a;b=qh(0,0,1,1619,1619);a:{if((b|0)<1){break a}c=p(b,56);b:{if(c>>>0<=127){a=a-(c+15&-16)|0;oe=a;break b}a=qe[j[57972]](c?c:1)|0;if(a){j[57976]=j[57976]+1}if(!a){break a}}b=qh(a,b,2,1619,1619);if((b|0)>=1){while(1){e=p(d,56)+a|0;j[e+8>>2]=j[e+8>>2]-1;d=d+1|0;if((b|0)!=(d|0)){continue}break}}qh(a,b,0,0,0);if(c>>>0<128){break a}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=f}function EA(){var a=0,b=0,c=0,d=0,e=0,f=0;a=oe;f=a;b=qh(0,0,1,1541,1541);a:{if((b|0)<1){break a}c=p(b,56);b:{if(c>>>0<=127){a=a-(c+15&-16)|0;oe=a;break b}a=qe[j[57972]](c?c:1)|0;if(a){j[57976]=j[57976]+1}if(!a){break a}}b=qh(a,b,2,1541,1541);if((b|0)>=1){while(1){e=p(d,56)+a|0;j[e+8>>2]=j[e+8>>2]-1;d=d+1|0;if((b|0)!=(d|0)){continue}break}}qh(a,b,0,0,0);if(c>>>0<128){break a}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=f}function lO(a,b,c){var d=0,e=0,f=0;if(!a){return 35}if(!c){return 6}h[c|0]=0;e=16;a:{if(j[a+16>>2]<=(b|0)){break a}if(!(k[a+9|0]&2)){return 6}e=6;b:{c:{f=j[a+128>>2];d=j[f+36>>2];switch(d+2|0){case 0:break a;case 2:break c;default:break b}}d=j[a+96>>2];e=j[j[d>>2]+32>>2];d:{if(!e){d=0;break d}d=qe[e|0](d,74756)|0;f=j[a+128>>2]}j[f+36>>2]=d?d:-2}if(!d){return 6}e=6;d=j[d>>2];if(!d){break a}e=qe[d|0](a,b,c,8)|0}return e}function ah(a){var b=0,c=0,d=0,e=0;d=j[a+104>>2];b=j[a+84>>2];if(b){while(1){c=j[b+4>>2];ze(j[b>>2]);ze(b);b=c;if(b){continue}break}}b=j[a+68>>2];c=j[a+80>>2];if(c){b=Vf(b,c+j[a+76>>2]|0);j[a+68>>2]=b;c=j[a+80>>2];j[a+80>>2]=0;j[a+76>>2]=c+j[a+76>>2]}j[a+84>>2]=0;j[a+72>>2]=0;if(b){ze(b)}if(d){e=d+12|0;b=0;while(1){c=(b<<2)+e|0;FE(j[c>>2]);if((b|0)!=7){ze(j[c>>2])}b=b+1|0;if((b|0)!=15){continue}break}ze(d)}Ee(a,0,112)}function sN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=j[a>>2];d=j[f+140>>2];c=j[b+8>>2];g=j[f+32>>2];e=j[b+16>>2];if(e){c=(p(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(j[b>>2]){case 0:c=23;if((e|0)==j[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(j[d+44>>2]+j[d+40>>2]|0)){break a}}c=0;Dg(f,0);j[a+24>>2]=j[d+40>>2]<<6;j[a+28>>2]=0-(j[d+44>>2]<<6);j[a+36>>2]=l[d+4>>1]<<6}return c|0}function py(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;d=j[a+24>>2];b=(d+7|0)/-8|0;e=j[a+28>>2];if(e){h=j[a+16>>2]+(b+d|0)|0;i=j[a+48>>2];l=j[a+56>>2];m=j[a+36>>2];b=j[a>>2];c=j[a+20>>2];n=(d|0)<1;while(1){e=e-1|0;a=0;f=0;if(!n){while(1){if(!(f&7)){a=k[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(l|0)){Ge(c,(g<<2)+i|0,3)}c=c+3|0;a=a<<1;f=f+1|0;if((f|0)!=(d|0)){continue}break}}c=c+m|0;b=b+h|0;if(e){continue}break}}}function YH(a){a=a|0;var b=0,c=0,d=0;b=j[a+200>>2];d=b+10|0;if(d>>>0<=m[a+204>>2]){c=k[b|0]|k[b+1|0]<<8;i[a+32>>1]=(c<<24|c<<8&16711680)>>>16;c=k[b+2|0]|k[b+3|0]<<8;j[a+36>>2]=(c<<24|c<<8&16711680)>>16;c=k[b+4|0]|k[b+5|0]<<8;j[a+40>>2]=(c<<24|c<<8&16711680)>>16;c=k[b+6|0]|k[b+7|0]<<8;j[a+44>>2]=(c<<24|c<<8&16711680)>>16;b=k[b+8|0]|k[b+9|0]<<8;j[a+200>>2]=d;j[a+48>>2]=(b<<8&16711680|b<<24)>>16;a=0}else{a=20}return a|0}function UG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;j[d>>2]=0;j[d+4>>2]=0;e=j[a+492>>2];if(e){h=d;a=j[e+36>>2];e=(a+(j[e+40>>2]<<4)|0)-16|0;a:{if(a>>>0<=e>>>0){c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=j[b>>2]<<16|j[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;j[d>>2]=j[a+8>>2];a=j[a+12>>2];break a}f=c>>>0>g>>>0;a=f?b+16|0:a;e=f?e:b-16|0;if(a>>>0<=e>>>0){continue}break}}j[d>>2]=0;a=0}j[h+4>>2]=a}return 0}function We(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=(a&-2)==4096&b>>>0<2;e=(a>>>6&1020)+264416|0;c=j[e>>2];a:{if(c){d=0;if(j[(a>>>3&28)+c>>2]>>>a&1){break a}}d=1}g=d;b:{if((b|0)==(d|0)){break b}c:{switch(b|0){case 0:if(!c){c=Xe(1,32);j[e>>2]=c;if(!c){break b}}b=(a>>>3&28)+c|0;j[b>>2]=j[b>>2]|1<>>3&28)+c|0;d=j[b>>2];h=b,i=lP(-2,a)&d,j[h>>2]=i}if(f){Yu()}return g}function Vj(a,b,c){var d=0,e=0,f=0,g=0;e=oe-16|0;g=e;oe=e;a:{if(!j[65572]){ve(21506,0);break a}if(!b){ve(21661,0);break a}e=e-((Le(b)<<1)+16&-16)|0;oe=e;d=e;f=k[b|0];if(f){while(1){b=b+1|0;b:{if(f<<24>>24>=0){h[d|0]=f;d=d+1|0;break b}h[d+1|0]=f&63|128;h[d|0]=(f&192)>>>6|192;d=d+2|0}f=k[b|0];if(f){continue}break}}h[d|0]=0;j[g+12>>2]=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);d=RC(a,e,g+12|0)}oe=g+16|0;return d}function xu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe+ -64|0;oe=c;d=j[a+992>>2];a:{if(!d){a=ve(59084,0);break a}e=qe[j[d+92>>2]](j[d+8>>2],b)|0;d=j[a+992>>2];if((e|0)==1){j[d+16>>2]=b;a=0;break a}a=59572;b=c;d=qe[j[d+116>>2]]()|0;e=d-12288|0;if(e>>>0<=14){a=j[(e<<2)+59576>>2]}if(!k[a|0]){j[c+16>>2]=d;Ue(c+32|0,32,58627,c+16|0);a=c+32|0}j[b+8>>2]=a;j[c+4>>2]=58767;j[c>>2]=59104;a=ve(58632,c)}oe=c- -64|0;return a|0}function Xy(a,b){var c=0,d=0,e=0,f=0;d=Le(b);d=d>>>0<31?d:31;if(d){c=d-1|0;e=k[c+b|0];a:{if((e- -64&255)>>>0<53){break a}if(e<<24>>24>-1){c=d;break a}if(e>>>0>191){c=d;break a}if(!c){c=d;break a}f=2;b:{if((e&224)==192){break b}while(1){if((e&240)==224){f=3;break b}if((e+16&255)>>>0<=4){f=4;break b}c=c-1|0;if(!c){c=d;break a}e=k[b+c|0];if((e&224)!=192){continue}break}}c=(d-c|0)==(f|0)?d:c}Ae(a,b,c)}h[a+c|0]=0}function Uy(a){var b=0,c=0,d=0;a:{b:{c:{b=j[67080];if(!b){break c}d:{if(!j[b>>2]){c=b;break d}while(1){c=j[b+8>>2];if(!c){break c}d=b;b=c;if(j[b>>2]){continue}break}}if(a){j[c+4>>2]=a;break b}j[(d?d+8|0:268320)>>2]=j[c+8>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}break b}b=qe[j[57972]](12)|0;if(b){j[57976]=j[57976]+1}if(!b){break a}j[b+4>>2]=a;j[b>>2]=0;j[b+8>>2]=j[67080];j[67080]=b}return 0}return Be(0)}function eG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=j[b+8>>2];f=j[a>>2];g=j[f+32>>2];e=j[f+132>>2];d=j[b+16>>2];if(d){c=(p(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(j[b>>2]){case 0:c=23;if((d|0)==j[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=l[e+96>>1]){break a}}c=0;Dg(f,0);b=l[e+80>>1];j[a+24>>2]=b<<6;j[a+28>>2]=b-l[e+96>>1]<<6;j[a+36>>2]=l[e+102>>1]<<6}return c|0}function QL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[b+8>>2];d=j[a>>2];f=j[d+32>>2];e=j[b+16>>2];if(e){c=(p(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(j[b>>2]){case 0:c=23;if((e|0)==j[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(j[d+208>>2]+j[d+204>>2]|0)){break a}}c=0;Dg(d,0);j[a+24>>2]=j[d+204>>2]<<6;j[a+28>>2]=0-(j[d+208>>2]<<6);j[a+36>>2]=i[d+236>>1]<<6}return c|0}function lg(a){var b=0,c=0,d=0;b=oe-16|0;oe=b;rP(+a);d=oP(1)|0;oP(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=Zi(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(tp(a,b)&3){case 0:c=Zi(o[b>>3],o[b+8>>3]);break a;case 1:c=-_i(o[b>>3],o[b+8>>3],1);break a;case 2:c=-Zi(o[b>>3],o[b+8>>3]);break a;default:break b}}c=_i(o[b>>3],o[b+8>>3],1)}a=c;oe=b+16|0;return a}function RF(a,b,c,d){var e=0,f=0,g=0,h=0;a:{if(j[a+8>>2]<=0){if((d|0)<1){break a}Ee(b,0,d<<2);break a}if((d|0)<1){break a}while(1){e=-1;g=vi(a,c);if((g|0)==-1){break a}h=j[a>>2];b:{if((h|0)<1|(d|0)<=(f|0)){break b}g=j[a+16>>2]+(p(g,h)<<2)|0;e=0;while(1){n[(f<<2)+b>>2]=n[g+(e<<2)>>2];f=f+1|0;e=e+1|0;if((h|0)<=(e|0)){break b}if((d|0)>(f|0)){continue}break}}if((d|0)>(f|0)){continue}break}return 0}return e}function Gk(a,b){var c=0,d=0,e=0,f=0;e=oe-16|0;oe=e;c=j[67085];a:{if(!c){ve(57733,0);break a}d=j[c+300>>2];if(!((d|0)>(a|0)?(a|0)>=0:0)){j[e>>2]=d-1;ve(56392,e);break a}if(!b){break a}d=j[c+304>>2];f=j[c+16>>2];if(f){if(!(qe[f|0](c,d+p(a,72)|0,b)|0)){break a}}b:{if(!a){j[b>>2]=0;j[b+4>>2]=0;break b}Gk(a-1|0,b);j[b>>2]=j[b>>2]+j[b+8>>2]}a=d+p(a,72)|0;j[b+8>>2]=j[a+40>>2];j[b+12>>2]=j[a+44>>2]}oe=e+16|0}function UI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{c:{if(b){h=142;g=l[a+152>>1];if(!g){break b}f=j[a+156>>2];i=f+(g<<4)|0;while(1){d:{if(j[f>>2]==(b|0)){g=j[f+12>>2];if(g){break d}}f=f+16|0;if(i>>>0>f>>>0){continue}break b}break}c=j[f+8>>2]+c|0;break c}g=j[j[a+104>>2]+4>>2]}if(!e){f=g;break a}f=j[e>>2];if(f){break a}j[e>>2]=g;h=0}return h|0}return Pr(j[a+104>>2],c,d,f)|0}function $t(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;if(!j[c+32>>2]){g=j[b+44>>2];f=j[b+48>>2];H(j[c+12>>2],d+8|0,d|0)|0;b=j[c+4>>2];e=+j[b+28>>2]/o[d>>3]*+(f|0);a:{if(r(e)<2147483648){f=~~e;break a}f=-2147483648}h=b;e=+j[b+24>>2]/o[d+8>>3]*+(g|0);b:{if(r(e)<2147483648){b=~~e;break b}b=-2147483648}Kj(h,0,0,b,f)}Lj((a|0)==33?j[c+4>>2]:0);a=We(512,-1);oe=d+16|0;return(a|0)==1|0}function nj(a,b){var c=0,d=0,e=0,f=0;a:{if(!b|!k[b|0]){break a}if(wg(b,32)){break a}c=Mf(b);if(c){if(rf(c)&1){break a}}d=Le(b);a=j[a+992>>2];c=qe[j[a+96>>2]](j[a+8>>2],12373)|0;if(!c|!k[c|0]){break a}a=c;b:while(1){a=jh(a,b);if(!a){break a}if(!((k[a+d|0]|32)!=32|(k[a-1|0]!=32?(a|0)!=(c|0):0))){f=1;break a}a=a+d|0;while(1){e=k[a|0];if(!e){break a}if((e|0)==32){continue b}a=a+1|0;continue}}}return f}function mz(a,b){a=a|0;b=b|0;var c=0;a=oe-32|0;oe=a;a:{if(!ai(j[b+4>>2],a+28|0,a+24|0,a+20|0,a+16|0,a+12|0)){b=ve(44770,0);break a}c=ug(0,j[b+12>>2],j[b+16>>2],j[a+28>>2],j[a+24>>2],j[a+20>>2],j[a+16>>2],j[a+12>>2]);j[b+76>>2]=c;$h(c,k[b+32|0],k[b+33|0],k[b+34|0]);Ji(j[b+76>>2],k[b+35|0]);cg(j[b+76>>2],j[b+24>>2]);if(!(j[a+12>>2]|j[b+8>>2])){uj(j[b+76>>2],1)}b=j[b+76>>2]?0:-1}oe=a+32|0;return b|0}function xC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=oe-128|0;oe=d;a:{if(b){c=-1;while(1){g=c+2477|0;c=c+1|0;f=k[c+b|0];if((f|0)!=k[g|0]){j[a+212>>2]=j[a+212>>2]|131072}e=((f|0)==46)+e|0;if(f?!((c|0)==6|e>>>0>1):0){continue}break}e=j[a+212>>2];break a}e=j[a+212>>2]|131072;j[a+212>>2]=e}c=1;if(e&131072){Yf(d,128,Yf(d,128,Yf(d,128,Yf(d,128,0,2483),b),2514),2476);Ze(a,d);c=0}oe=d+128|0;return c|0}function Ft(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a=oe-32|0;oe=a;c=j[b+144>>2];a:{if(!c){break a}if(d){e=j[b+48>>2];f=e&4097;d=(f|0)==4097;j[a+8>>2]=d?1:2;b:{if(!d){j[a+12>>2]=0;break b}if(e&8192){j[a+12>>2]=2;break b}j[a+12>>2]=1}j[a+24>>2]=c;j[a+20>>2]=497;j[a+16>>2]=0;j[c+28>>2]=d;j[c+24>>2]=f;if(Wa(j[c+12>>2],1,a+8|0)>>>0<2){break a}j[b+48>>2]=j[b+48>>2]&-4098;break a}Va()|0}oe=a+32|0}function sf(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+3>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+12|0,4)|0)!=4){break d}c=j[a+8>>2];b=d+12|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+4}oe=d+16|0;return f}function uy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0;c=j[a+36>>2]/2|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){g=j[a+16>>2]+(b+e|0)|0;h=j[a+48>>2];b=j[a>>2];d=j[a+20>>2];m=(e|0)<1;n=c<<1;while(1){f=f-1|0;c=0;a=0;if(!m){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}i[d>>1]=l[((a&128)>>>6|0)+h>>1];d=d+2|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+g|0;d=d+n|0;if(f){continue}break}}}function sy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;c=j[a+36>>2]/4|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){g=j[a+16>>2]+(b+e|0)|0;h=j[a+48>>2];b=j[a>>2];d=j[a+20>>2];i=(e|0)<1;l=c<<2;while(1){f=f-1|0;a=0;c=0;if(!i){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}j[d>>2]=j[((a&128)>>>5|0)+h>>2];d=d+4|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+g|0;d=d+l|0;if(f){continue}break}}}function tE(a,b){var c=0;a:{b:{if((a^b)&3){break b}if(b&3){while(1){c=k[b|0];h[a|0]=c;if(!c){break a}a=a+1|0;b=b+1|0;if(b&3){continue}break}}c=j[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){j[a>>2]=c;c=j[b+4>>2];a=a+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}c=k[b|0];h[a|0]=c;if(!c){break a}while(1){c=k[b+1|0];h[a+1|0]=c;a=a+1|0;b=b+1|0;if(c){continue}break}}}function Mg(a){var b=0,c=0;b=oe-16|0;oe=b;rP(+a);c=oP(1)|0;oP(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=_i(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(tp(a,b)&3){case 0:a=_i(o[b>>3],o[b+8>>3],1);break a;case 1:a=Zi(o[b>>3],o[b+8>>3]);break a;case 2:a=-_i(o[b>>3],o[b+8>>3],1);break a;default:break b}}a=-Zi(o[b>>3],o[b+8>>3])}oe=b+16|0;return a}function Pz(a,b,c,d,e,f,g,h,i,k,l){var m=0,n=0,o=0,q=0;a:{b:{if(!l|(!e|!f)){break b}o=e;q=f;e=p(e,l);if((e|0)!=(k|0)){l=p(e,f);l=qe[j[57972]](l?l:1)|0;if(l){j[57976]=j[57976]+1}m=l;if(!l){break a}if((f|0)>0){while(1){Ge(l,i,e);i=i+k|0;l=e+l|0;n=n+1|0;if((n|0)!=(f|0)){continue}break}}i=m}qe[j[a+160>>2]](b,0,c,d,o,q,g,h,i);if(!m){break b}if(m){qe[j[57975]](m);j[57976]=j[57976]-1}}return}Be(0)}function sl(a,b,c){var d=0,e=0,f=0;f=j[c+16>>2];a:{if(f){d=f}else{if(Uo(c)){break a}d=j[c+16>>2]}f=j[c+20>>2];if(d-f>>>0>>0){return qe[j[c+36>>2]](c,a,b)|0}b:{if(h[c+75|0]<0){break b}d=b;while(1){e=d;if(!e){e=0;break b}d=e-1|0;if(k[d+a|0]!=10){continue}break}d=qe[j[c+36>>2]](c,a,e)|0;if(d>>>0>>0){break a}a=a+e|0;b=b-e|0;f=j[c+20>>2]}Ae(f,a,b);j[c+20>>2]=j[c+20>>2]+b;d=b+e|0}return d}function GB(a,b){var c=0,d=0,e=0,f=0;a:{d=j[66369];if((d|0)<1){break a}f=j[66370];while(1){e=f+p(c,8232)|0;if(j[e>>2]==(a|0)&j[e+4>>2]==(b|0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}return}if((c|0)!=(d|0)){a=p(c,8232);b=j[(a+j[66370]|0)+8224>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}Oe(a+j[66370]|0,0,8232);b=j[66369]-1|0;j[66369]=b;c=a;a=j[66370];Ge(c+a|0,a+p(b,8232)|0,8232)}}function Xp(a){var b=0,c=0,d=0;c=-2;a:{if(!a){break a}b=j[a+28>>2];if(!b){break a}c=0;j[b+48>>2]=0;j[b+40>>2]=0;j[b+44>>2]=0;j[b+28>>2]=0;j[a+8>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;d=j[b+8>>2];if(d){j[a+48>>2]=d&1}j[b+56>>2]=0;j[b+60>>2]=0;j[b+32>>2]=0;j[b+20>>2]=32768;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0;j[b+7104>>2]=1;j[b+7108>>2]=-1;a=b+1328|0;j[b+108>>2]=a;j[b+80>>2]=a;j[b+76>>2]=a}return c}function Sk(a){var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;b=j[57977];a:{if((b&j[57978])!=-1){break a}if(!k[268328]){h[268328]=1}b=4;j[57977]=4;j[57978]=0;j[d+12>>2]=0;if(!j[d+12>>2]){break a}b=16;j[57977]=16;j[57978]=2}e=a+b|0;a=(a>>>0)%(b>>>0)|0;a=(e+(a?b-a|0:0)|0)+4|0;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}if(a){c=a+4|0;c=(b-((c>>>0)%(b>>>0)|0)|0)+c|0;j[c-4>>2]=a}oe=d+16|0;return c}function Rz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0),f=q(0),g=0,h=q(0),i=q(0);a=nh(a,d<<5,b+4|0);if(!a){return-1}j[b+8>>2]=d;if((d|0)>=1){b=0;while(1){g=(b<<4)+c|0;h=n[g+8>>2];i=n[g+12>>2];e=n[g+4>>2];f=n[g>>2];n[a+16>>2]=f;n[a+12>>2]=e;n[a+4>>2]=e;n[a>>2]=f;e=q(e+i);n[a+28>>2]=e;f=q(f+h);n[a+24>>2]=f;n[a+20>>2]=e;n[a+8>>2]=f;a=a+32|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function PI(a,b){a=a|0;b=b|0;var c=0,d=0;c=qe[j[a+508>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+364|0;c=$e(b,156912,d);if(c){break a}j[a+460>>2]=0;j[a+452>>2]=0;j[a+456>>2]=0;j[a+444>>2]=0;j[a+448>>2]=0;i[a+464>>1]=65535;if(!l[a+364>>1]){return 0}c=$e(b,157088,d);if(c){break a}if(l[d>>1]<2){return 0}c=$e(b,157104,d);if(c){break a}c=0;if(l[d>>1]<5){break a}c=$e(b,157136,d)}return c|0}function nL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;j[a+8>>2]=c;j[a+4>>2]=b;j[a+12>>2]=0;j[a+16>>2]=d;j[a>>2]=b;b=j[22927];j[a+20>>2]=j[22926];j[a+24>>2]=b;b=j[22929];j[a+28>>2]=j[22928];j[a+32>>2]=b;b=j[22931];j[a+36>>2]=j[22930];j[a+40>>2]=b;b=j[22933];j[a+44>>2]=j[22932];j[a+48>>2]=b;b=j[22935];j[a+52>>2]=j[22934];j[a+56>>2]=b;b=j[22937];j[a+60>>2]=j[22936];j[a+64>>2]=b;j[a+68>>2]=j[22938]}function XO(a,b,c){var d=0,e=0,f=0;if(!a){return 35}if(!c){return 6}e=16;f=b+1|0;d=j[a+16>>2];a:{if(f>>>0>d>>>0|f>>>0<1|b>>>0>=d>>>0){break a}e=0;d=j[j[j[a+96>>2]+12>>2]+84>>2];if(d){d=qe[d|0](a,b,1,2051,c)|0;if(!d){break a}e=d;if((d&255)!=7){break a}}d=0;while(1){e=Wh(a,b+d|0,2307);if(e){break a}j[(d<<2)+c>>2]=j[j[a+84>>2]- -64>>2]<<10;e=0;d=d+1|0;if((d|0)!=1){continue}break}}return e}function xE(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=k[a|0];a:{if(!d){break a}while(1){b:{c=c-1|0;if(!c){break b}e=k[b|0];if(!e){break b}c:{if((d|0)==(e|0)){break c}e=d-65>>>0<26?d|32:d;d=k[b|0];if((e|0)==((d-65>>>0<26?d|32:d)|0)){break c}f=k[a|0];break a}b=b+1|0;d=k[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}a=f&255;c=a-65>>>0<26?a|32:a;a=k[b|0];return c-(a-65>>>0<26?a|32:a)|0}function Go(a,b){var c=0,d=0,e=0,f=0;c=qe[j[57972]](20)|0;if(c){j[57976]=j[57976]+1}if(!c){Be(0);return 0}Oe(c,0,20);a=a?a:1024;j[c+12>>2]=a;d=b-1|0;e=d+a|0;b=(e>>>0)/(a>>>0)|0;if(d>>>0<=e>>>0){d=b>>>0>1?b:1;b=a+12|0;while(1){a=qe[j[57972]](b?b:1)|0;if(a){j[57976]=j[57976]+1}if(a){j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=j[c+8>>2];j[c+8>>2]=a}f=f+1|0;if((d|0)!=(f|0)){continue}break}}return c}function rL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;d=j[a>>2];a:{if(!d){break a}f=j[a+32>>2];b=He(f,j[a+4>>2],e+12|0);j[a>>2]=b;if(j[e+12>>2]){break a}Ae(b,d,j[a+4>>2]);b=j[a+16>>2];if((b|0)>=1){g=j[a>>2]-d|0;c=j[a+24>>2];h=c+(b<<2)|0;while(1){b=j[c>>2];if(b){j[c>>2]=b+g}c=c+4|0;if(h>>>0>c>>>0){continue}break}}j[a+8>>2]=j[a+4>>2];if(d){qe[j[f+8>>2]](f,d)}}oe=e+16|0}function wk(a,b){var c=0,d=0;d=oe+ -64|0;oe=d;c=j[a+220>>2];if(c){j[d>>2]=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);Yf(d,64,4,7157);yi(a,d);j[a+220>>2]=0}j[a+224>>2]=0;j[a+228>>2]=0;j[a+236>>2]=0;j[a+240>>2]=0;c=a+224|0;a:{b:{c:{if(!(k[a+212|0]&2)){c=QF(c);if(c){break b}j[a+212>>2]=j[a+212>>2]|2;break c}c=Xp(c);if(c){break b}}j[a+220>>2]=b;c=0;break a}ph(a,c)}oe=d- -64|0;return c}function aL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=j[a+12>>2];a:{if((i[d+22>>1]+i[d+58>>1]|0)+1>>>0>m[d+4>>2]){d=yf(d,1,0);if(d){break a}}d=j[a+20>>2];if(k[a+68|0]){f=j[d+8>>2];e=i[d+2>>1];a=j[d+4>>2]+(e<<3)|0;j[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;j[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;h[f+e|0]=1}i[d+2>>1]=l[d+2>>1]+1;d=0}return d|0}function Ri(a,b){var c=0,d=0,e=0,f=0;a:{if(!j[57840]){break a}e=j[57843];if(e){while(1){c=e;e=j[c+72>>2];d=j[c>>2];if(!(d>>>0>>0|b>>>0>>0)){d=e;f=j[c+68>>2];if(f){j[f+72>>2]=e;d=j[c+72>>2]}if(d){j[d+68>>2]=f}if(j[57843]==(c|0)){j[57843]=d}if(j[57844]==(c|0)){j[57844]=j[c+68>>2]}j[c+72>>2]=j[57845];j[57845]=c;j[57841]=j[57841]-1}if(e){continue}break}}if(!j[57839]){break a}}}function Nr(a,b){var c=0;c=j[a+772>>2];if(c){Ke(a,c);j[a+772>>2]=0}a:{b:{c=j[a+760>>2];if(!(b>>>0>c>>>0?c+1>>>0>=2:0)){j[a+776>>2]=b;h[a+768|0]=0;c=j[a+376>>2];h[a+767|0]=c;h[a+780|0]=j[a+208>>2];h[a+766|0]=c>>>8;h[a+765|0]=c>>>16;h[a+764|0]=c>>>24;if(!b){j[a+772>>2]=0;break a}c=dg(a,b);j[a+772>>2]=c;if(c){break b}}Ie(a,b);Je(a,7230);return 0}pf(a,c,b);tf(a,c,b)}Ie(a,0);return 1}function au(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=l[b+32>>1];a:{if(e>>>0>2){break a}f=1026;if((a|0)==5){f=1025;if(!(j[c+32>>2]|!j[67035])){va(j[c+12>>2],0)|0}g=1}jl(j[c+4>>2],0,g,e+1&255);H(j[c+12>>2],d+8|0,d|0)|0;a=j[b+44>>2];if((a|0)<0|o[d+8>>3]<=+(a|0)){break a}a=j[b+48>>2];if((a|0)<0|o[d>>3]<=+(a|0)){break a}h=(We(f,-1)|0)==1}oe=d+16|0;return h|0}function ho(a){var b=0,c=0,d=0,e=0,f=0;b=oe+ -64|0;oe=b;a:{b:{if((a|0)>=0){if((qe[j[58771]]()|0)>(a|0)){break b}}e=b,f=qe[j[58771]]()|0,j[e>>2]=f;ve(31150,b);break a}d=JA(a);AA(b+32|0,a);a=j[b+44>>2];c=j[b+40>>2];j[b+56>>2]=c;j[b+60>>2]=a;j[b+24>>2]=c;j[b+28>>2]=a;a=j[b+36>>2];c=j[b+32>>2];j[b+48>>2]=c;j[b+52>>2]=a;j[b+16>>2]=c;j[b+20>>2]=a;c=PA(d,b+16|0)}oe=b- -64|0;return c}function fl(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-32|0;oe=c;f=j[67055];a:{b:{if((f|0)<1){break b}g=j[67056];while(1){e=j[(d<<2)+g>>2];if((a|0)!=j[e>>2]|j[e+4>>2]!=(b|0)){d=d+1|0;if((f|0)!=(d|0)){continue}break b}break}if((d|0)<(f|0)){break a}}c:{if(j[j[67085]+12>>2]){j[c+16>>2]=a;ve(29965,c+16|0);qe[j[j[67085]+12>>2]](j[67085]);break c}j[c>>2]=a;ve(29996,c)}e=0}oe=c+32|0;return e}function Ug(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!(!a|!b)){c=i[a+2>>1];a:{if(!c){c=0;break a}a=j[a+4>>2];d=j[a+4>>2];e=j[a>>2];if((c|0)<2){c=d;f=e;break a}h=(c<<3)+a|0;g=a+8|0;f=e;c=d;while(1){a=j[a+12>>2];c=(a|0)>(c|0)?a:c;d=(a|0)<(d|0)?a:d;a=j[g>>2];f=(a|0)>(f|0)?a:f;e=(a|0)<(e|0)?a:e;a=g;g=a+8|0;if(h>>>0>g>>>0){continue}break}}j[b+8>>2]=f;j[b>>2]=e;j[b+12>>2]=c;j[b+4>>2]=d}}function Hv(a,b,c,d,e,f,g,i,l){if(!(!a|!b)){h[b+28|0]=g;h[b+27|0]=l;h[b+26|0]=i;h[b+25|0]=f;h[b+24|0]=e;j[b+4>>2]=d;j[b>>2]=c;Qn(a,c,d,e&255,f&255,g&255,i&255,l&255);d=b;e=k[b+25|0];a=1;a:{b:{if((e|0)==3){break b}a=e&2|1;h[b+29|0]=a;if(!(e&4)){break a}a=a+1|0}h[d+29|0]=a}a=p(k[b+24|0],a);h[b+30|0]=a;a=a&255;c:{if(a>>>0>=8){a=p(a>>>3|0,c);break c}a=p(a,c)+7>>>3|0}j[b+12>>2]=a}}function ZA(a,b){var c=0,d=0,e=0;c=oe-48|0;oe=c;if(k[242924]){j[c+32>>2]=0;j[c+36>>2]=0;j[c+40>>2]=16;j[c+44>>2]=16;d=j[58884]+j[a>>2]|0;j[c+16>>2]=d+2;e=j[58885];a=j[a+4>>2];j[c+24>>2]=10;j[c+28>>2]=9;a=a+e|0;j[c+20>>2]=a+2;j[c+4>>2]=a;j[c>>2]=d;j[c+8>>2]=16;j[c+12>>2]=16;$n(j[58882]);_n(j[58882],c);Oi(j[58882],j[(((b|0)<0?b+300|0:b)<<2)+260928>>2],c+32|0,c+16|0)}oe=c+48|0}function RO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=j[b+4>>2];j[a+2988>>2]=b;d=j[b+28>>2];j[a+4>>2]=j[b+44>>2];j[a+8>>2]=j[b+48>>2];j[a+12>>2]=j[b+1616>>2];j[a+16>>2]=j[b+1620>>2];e=j[b+24>>2];c=(e&-2)==2;f=c|2;c=(e|0)==2?f:(e|0)==4?f:c;f=(e|0)==1;c=f?c:c|4;d=(h[g+12|0]&1?0:!f)?d:d|1;b=k[j[j[b+36>>2]+212>>2]+20|0];j[a+2984>>2]=(e|0)==2?c|8:c;j[a+2980>>2]=b?d:d|8;return 0}function zC(){var a=0,b=0;a=oe+ -64|0;oe=a;b=Rj(23144,1,264272,264264);a:{if((b|0)==-1){break a}if((We(4352,-1)|0)!=1){break a}Oe(a+8|0,0,56);h[a+20|0]=0;j[a+16>>2]=b;j[a+8>>2]=4352;gf(a+8|0)}b:{if(!j[66059]){break b}b=Rj(23171,2,264276,264268);if((b|0)==-1){break b}if((We(4352,-1)|0)!=1){break b}Oe(a+8|0,0,56);h[a+20|0]=1;j[a+16>>2]=b;j[a+8>>2]=4352;gf(a+8|0)}oe=a- -64|0}function uo(a,b){var c=0,d=0;c=oe-16|0;h[c+15|0]=0;h[c+14|0]=b;h[c+13|0]=b>>>8;h[c+12|0]=b>>>16;h[c+11|0]=b>>>24;a:{if(!a){break a}b=j[a+692>>2];if(!b){break a}d=j[a+696>>2];a=d+p(b,5)|0;while(1){b=a-5|0;if((k[c+11|0]|k[c+12|0]<<8|(k[c+13|0]<<16|k[c+14|0]<<24))==(k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24))){return k[a-1|0]}a=b;if(b>>>0>d>>>0){continue}break}}return 0}function NN(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;a:{if(!a){e=33;break a}if(!b){e=6;break a}f=j[a>>2];c=He(f,132,d+12|0);e=j[d+12>>2];if(!e){j[c+88>>2]=f;j[c+128>>2]=a;j[c+64>>2]=0;j[c+68>>2]=0;j[c+120>>2]=f;h[c+92|0]=0;j[c+84>>2]=-1;j[c+96>>2]=0;j[c+100>>2]=0;h[c+124|0]=0;j[c+116>>2]=-1;j[c+72>>2]=0;j[c+76>>2]=0;j[c+104>>2]=0;j[c+108>>2]=0}j[b>>2]=c}oe=d+16|0;return e}function Zz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=j[b+76>>2];e=j[a+436>>2];h=Vg();g=j[e>>2];a:{if((h|0)!=(g|0)){j[e+424>>2]=0;if((tg(j[a+188>>2],g)|0)<0){break a}}a=j[a+436>>2];if(!j[a+4>>2]){break a}while(1){if(qe[j[a+104>>2]]()|0){continue}break}}qe[j[e+20>>2]](j[f+4>>2],j[f>>2]);j[e+360>>2]=b;if(c){j[c>>2]=1065353216}if(d){j[d>>2]=1065353216}return 0}function Fo(a,b,c){var d=0,e=0,f=0,g=0;if(!a){return 0}f=b;a:{b:{if(c){while(1){d=j[a>>2];if(!d){break b}g=j[d+4>>2];e=j[d>>2]-g|0;e=c>>>0>>0?c:e;Ge(f,(d+g|0)+12|0,e);j[d+4>>2]=e+j[d+4>>2];j[a+16>>2]=j[a+16>>2]-e;c=c-e|0;if(j[d+4>>2]==j[d>>2]){j[a>>2]=j[d+8>>2];j[d+8>>2]=j[a+8>>2];j[a+8>>2]=d}f=e+f|0;if(c){continue}break}}if(j[a>>2]){break a}}j[a+4>>2]=0}return f-b|0}function sv(a){var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;a:{if((a|0)<=0){j[d>>2]=55389;ve(55356,d);break a}b=qe[j[57972]](16)|0;if(b){j[57976]=j[57976]+1}if(!b){b=0;Be(0);break a}e=a<<2;c=e;c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}j[b+4>>2]=c;if(!c){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=0;break a}j[b+8>>2]=1;j[b+12>>2]=1;j[b>>2]=a;Oe(c,255,e)}oe=d+16|0;return b}function oH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i[a+294>>1];e=p(d,b>>16);b=p(d,b&65535);d=e<<16;f=b+d|0;a=i[a+296>>1];g=p(a,c&65535);c=p(a,c>>16);h=c<<16;a=g+h|0;j=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>j>>>0)|0;b=c>>31;a=j+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function nH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i[a+290>>1];e=p(d,b>>16);b=p(d,b&65535);d=e<<16;f=b+d|0;a=i[a+292>>1];g=p(a,c&65535);c=p(a,c>>16);h=c<<16;a=g+h|0;j=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>j>>>0)|0;b=c>>31;a=j+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function ou(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;a=oe-32|0;oe=a;f=j[b+144>>2];kf(j[f+8>>2]);ai(374740996,a+20|0,a+16|0,a+12|0,a+8|0,a+4|0);Wg(b,a+28|0,a+24|0);b=ug(0,j[a+28>>2],j[a+24>>2],j[a+20>>2],j[a+16>>2],j[a+12>>2],j[a+8>>2],j[a+4>>2]);a:{if(!b){g=-1;break a}j[f+8>>2]=b;j[c>>2]=374740996;j[d>>2]=j[b+20>>2];j[e>>2]=j[b+16>>2]}oe=a+32|0;return g|0}function mE(a){if(a){_g();a:{if(j[65546]!=(a|0)){break a}if(j[a+12>>2]==1){while(1){Jg();bg(100);_g();if(j[a+12>>2]==1){continue}break}}if(j[65546]!=(a|0)){break a}if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0}Jg();qe[j[j[a>>2]+68>>2]](j[a+4>>2]);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function Lk(a,b){var c=0,d=0;if(!a){return ve(55397,0)}if(!(!b|j[b>>2]<=1<>2];a:{if((c|0)==(b|0)){break a}b:{if(!c){break b}d=j[c+12>>2];j[c+12>>2]=d-1;if((d|0)>1){break b}d=j[c+4>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}j[a+4>>2]=b;if(!b){break a}j[b+12>>2]=j[b+12>>2]+1}return 0}function _M(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;e=j[a+4>>2];a=k[c|0];d=a+k[b|0]|0;h[b|0]=d;if((e|0)>=2){o=b+e|0;b=b+1|0;while(1){i=d&255;d=i-a|0;f=d>>31;e=k[c+1|0];g=e-a|0;l=g>>31;m=d+g|0;n=m>>31;p=a;a=f^d+f;d=l^g+l;f=(a|0)<(d|0);d=k[b|0]+((n^n+m)<((f?a:d)|0)?p:f?e:i)|0;h[b|0]=d;c=c+1|0;a=e;b=b+1|0;if(o>>>0>b>>>0){continue}break}}}function KM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a+656>>2];e=Bh(j[a+96>>2],78592);a:{if(!e|!j[c+12>>2]){break a}while(1){a=l[j[c+1160>>2]+(d<<1)>>1];b:{c:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[c+1312>>2]){break b}a=j[j[c+1316>>2]+(a<<2)>>2];break c}a=qe[j[e+20>>2]](a)|0}if(!a){break b}if(!we(b,a)){break a}}d=d+1|0;if(d>>>0>2]){continue}break}d=0}return d|0}function Mj(a,b,c){var d=0,e=0,f=0,g=q(0),h=0,i=0,j=q(0),k=0,l=q(0),m=0,o=q(0),p=0,r=q(0);e=+c;c=q(0);while(1){h=f<<3;d=h+a|0;g=n[d>>2];i=lg(e);j=n[d+4>>2];k=Mg(e);l=n[d>>2];m=Mg(e);o=n[d+4>>2];p=lg(e);r=c;d=b+h|0;c=q(q(i*+g-k*+j)-n[d>>2]);g=q(c*c);c=q(q(m*+l+p*+o)-n[d+4>>2]);c=q(r+q(y(+q(g+q(c*c)))));f=f+1|0;if((f|0)!=64){continue}break}return q(c*q(.015625))}function Gl(a,b){var c=0,d=0;c=oe-32|0;oe=c;d=-129;a=j[a+28>>2];a:{if(!a|j[a+8>>2]<1){break a}d=j[b+4>>2];b=j[b>>2];j[c+20>>2]=b;j[c+8>>2]=0;j[c+12>>2]=0;j[c+24>>2]=d;j[c+16>>2]=b;d=-135;if(Ce(c+8|0,1)){break a}d=-136;b=j[a+8>>2]-1|0;b=Ce(c+8|0,b?32-s(b)|0:0);if((b|0)==-1){break a}b=j[(a+(b<<2)|0)+32>>2];if(!b){break a}d=j[a+(j[b>>2]<<2)>>2]}oe=c+32|0;return d}function qt(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,5774);break a}if((c|0)!=4){Ie(a,c);Je(a,5787);break a}pf(a,d+12|0,4);tf(a,d+12|0,4);if(Ie(a,0)){break a}c=k[d+12|0]|k[d+13|0]<<8|(k[d+14|0]<<16|k[d+15|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);EB(a,a+824|0,(c|0)>-1?c:-1);oh(a,b)}oe=d+16|0;return}hf(a,5795);z()}function ak(a,b,c,d){var e=0,f=0,g=0,i=0;e=k[d+74|0];h[d+74|0]=e-1|e;g=p(b,c);e=j[d+4>>2];f=j[d+8>>2]-e|0;i=g;a:{if((f|0)<1){break a}i=e;e=f>>>0>>0?f:g;Ae(a,i,e);j[d+4>>2]=e+j[d+4>>2];a=a+e|0;i=g-e|0}e=i;if(e){while(1){b:{if(!lp(d)){f=qe[j[d+32>>2]](d,a,e)|0;if(f+1>>>0>1){break b}}return(g-e>>>0)/(b>>>0)|0}a=a+f|0;e=e-f|0;if(e){continue}break}}return b?c:0}function RH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{b:{c:{if(!a){break c}d=j[a+160>>2];if(!d){j[a+164>>2]=0;if(c>>>0<=156){j[a+160>>2]=a;j[a+156>>2]=b;return a|0}d=dg(a,c);j[a+160>>2]=d;if(!d){break c}j[a+164>>2]=c;break a}e=j[a+164>>2];if(!e){e=156;if((a|0)!=(d|0)){break b}}if((c|0)==(e|0)){break a}Ze(a,8128)}return 0}Ye(a,8097);z()}j[a+156>>2]=b;return d|0}function PK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=j[b>>2];while(1){d=d+1|0;if(d>>>0>255){j[b>>2]=0;return 0}f=qe[j[a+20>>2]](l[j[a+16>>2]+(d<<1)>>1])|0;g=j[a+24>>2];a:{if(g){h=j[a+28>>2];c=0;while(1){e=j[(c<<2)+h>>2];if(!(!e|k[e|0]!=k[f|0])){if(!we(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}j[b>>2]=d;return c|0}function fi(a,b){var c=0;c=oe-16|0;oe=c;a:{b:{if(!(!k[a|0]|(!a|!b))){if(k[b|0]){break b}}a=0;ve(30037,0);break a}b=oi(a,b);if(!b){j[c>>2]=a;ve(30084,c);a=0;break a}a=qe[j[57972]](36)|0;if(a){j[57976]=j[57976]+1}if(!a){Be(0);break a}j[a+28>>2]=b;j[a+16>>2]=161;j[a+12>>2]=162;j[a+8>>2]=163;j[a+4>>2]=164;j[a>>2]=165;j[a+20>>2]=2;j[a+24>>2]=1}oe=c+16|0;return a}function Qf(a,b){var c=0,d=0;c=j[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{d=k[c|0];switch(d|0){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}while(1){d:{switch(d-10|0){case 0:case 3:break b;default:break d}}c=c+1|0;if((c|0)!=(b|0)){d=k[c|0];continue}break}c=b}c=c+1|0;if(c>>>0>>0){continue}break}}j[a>>2]=c}function qf(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+1>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+14|0,2)|0)!=2){break d}c=j[a+8>>2];b=d+14|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}b=k[b|0]|k[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>>16|0;break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+2}oe=d+16|0;return f}function MA(a){var b=0,c=0,d=0;c=oe+ -64|0;oe=c;b=j[67069];a:{if(!b){break a}while(1){if(j[b>>2]==(a|0)){j[c+8>>2]=1618;a=sg();d=((j[b+28>>2]-a|0)+250|0)<1;a=j[b>>2];if(!(d|j[a+72>>2])){j[a+68>>2]=1;break a}j[a+68>>2]=0;if((We(1618,-1)|0)!=1){break a}a=j[j[b>>2]>>2];i[c+20>>1]=5;j[c+16>>2]=a;gf(c+8|0);break a}b=j[b+32>>2];if(b){continue}break}}oe=c- -64|0}function Pk(a,b,c,d,e){var f=0,g=0,h=0;if(!((c|0)<0|(d|0)<1|(!e|((c|0)>=1?!b:0)))){a:{if((2147483647-c|0)<(d|0)){break a}f=c+d|0;gP(e,0,f,0);if(pe){break a}f=p(e,f);if(!f){break a}b:{c:{if(!a){break c}h=j[a+720>>2];if(!h){break c}a=qe[h|0](a,f)|0;break b}a=Te(f)}if(!a){break a}if((c|0)>=1){g=p(c,e);Ae(a,b,g)}Ee(a+g|0,0,p(d,e));g=a}return g}Ye(a,4788);z()}function Ew(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var l=0;if(!(!a|!b)){if(c){j[c>>2]=j[b>>2]}if(d){j[d>>2]=j[b+4>>2]}if(e){j[e>>2]=k[b+24|0]}if(f){j[f>>2]=k[b+25|0]}if(h){j[h>>2]=k[b+26|0]}if(i){j[i>>2]=k[b+27|0]}c=k[b+28|0];if(g){j[g>>2]=c}Qn(a,j[b>>2],j[b+4>>2],k[b+24|0],k[b+25|0],c,k[b+26|0],k[b+27|0]);l=1}return l|0}function xl(a,b,c,d){var e=0,f=0;e=oe-160|0;oe=e;Ae(e+8|0,226824,144);a:{b:{if(b-1>>>0>=2147483647){if(b){break b}b=1;a=e+159|0}j[e+52>>2]=a;j[e+28>>2]=a;f=-2-a|0;b=b>>>0>f>>>0?f:b;j[e+56>>2]=b;a=a+b|0;j[e+36>>2]=a;j[e+24>>2]=a;a=jp(e+8|0,c,d,1068,1069);if(!b){break a}b=j[e+28>>2];h[b-((b|0)==j[e+24>>2])|0]=0;break a}j[67100]=61;a=-1}oe=e+160|0;return a}function WL(a){a=a|0;var b=0,c=0,d=0,e=0;b=j[a+12>>2];if(b){e=j[a+28>>2];j[b+104>>2]=0;j[b+48>>2]=0;j[b+36>>2]=0;j[b+40>>2]=0;h[b+44|0]=0;j[b+64>>2]=9;j[b+12>>2]=0;j[b+16>>2]=0;d=j[b+180>>2];c=j[b+100>>2];if((c|0)!=(b+112|0)){if(c){qe[j[d+8>>2]](d,c)}j[b+100>>2]=0}c=j[b+88>>2];if(c){qe[j[d+8>>2]](d,c)}b=Ee(b,0,184);if(b){qe[j[e+8>>2]](e,b)}j[a+12>>2]=0}}function UN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=oe-16|0;oe=b;f=j[a>>2];a=Le(c);f=He(f,a+6|0,b+12|0);g=j[b+12>>2];if(!g){f=Ae(f,c,a);a=f+a|0;c=k[74897]|k[74898]<<8;h[a+4|0]=c;h[a+5|0]=c>>>8;c=k[74893]|k[74894]<<8|(k[74895]<<16|k[74896]<<24);h[a|0]=c;h[a+1|0]=c>>>8;h[a+2|0]=c>>>16;h[a+3|0]=c>>>24;j[d>>2]=f;j[e>>2]=0}oe=b+16|0;return g|0}function CK(a){a=a|0;var b=0;b=j[a+8>>2];Ee(a+16|0,0,84);j[a+136>>2]=745;j[a+132>>2]=746;j[a+128>>2]=747;j[a+124>>2]=748;j[a+120>>2]=749;j[a+116>>2]=750;j[a+108>>2]=751;j[a+104>>2]=752;j[a+100>>2]=753;j[a+12>>2]=b;j[a+164>>2]=745;j[a+160>>2]=754;j[a+156>>2]=755;j[a+152>>2]=756;j[a+148>>2]=749;j[a+144>>2]=757;b=a+12|0;j[a+112>>2]=b;j[a+140>>2]=b;return 0}function Zf(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+3>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+12|0,4)|0)!=4){break d}c=j[a+8>>2];b=d+12|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}f=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+4}oe=d+16|0;return f}function Bh(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(!a){break b}c=j[j[a>>2]+32>>2];if(c){c=qe[c|0](a,b)|0;if(c){break a}}c=j[a+4>>2];d=j[c+16>>2];if((d|0)<1){break b}f=(c+(d<<2)|0)+20|0;d=c+20|0;while(1){c=j[d>>2];c:{if((c|0)==(a|0)){break c}e=j[j[c>>2]+32>>2];if(!e){break c}c=qe[e|0](c,b)|0;if(c){break a}}d=d+4|0;if(f>>>0>d>>>0){continue}break}}c=0}return c}function EM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!we(b,78609)){j[c>>2]=j[a+36>>2];j[c+4>>2]=j[a+40>>2];j[c+8>>2]=j[a+44>>2];j[c+12>>2]=j[a+48>>2];j[c+16>>2]=j[a+52>>2];j[c+20>>2]=j[a+56>>2];j[c+24>>2]=j[a+60>>2];j[c+28>>2]=j[a- -64>>2];break b}if(!we(b,78630)){j[c>>2]=j[a+28>>2];break b}d=12;if(we(b,78645)){break a}h[c|0]=k[a+32|0]}d=0}return d|0}function EJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=j[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=j[a+16>>2];c=k[a+6|0]<<8|k[a+7|0];d=d>>>0>>0?c:d;c=d-c|0;e=k[a+9|0]|k[a+8|0]<<8;if(c>>>0>=e>>>0){break a}a=(a+(c<<1)|0)+10|0;while(1){f=k[a+1|0]|k[a|0]<<8;if(f){j[b>>2]=d;return f|0}d=d+1|0;a=a+2|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[b>>2]=0;return 0}function gv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=oe-16|0;oe=e;a=Hk(b,57638);a:{if(!(j[a+4>>2]?a:0)){b=ve(57710,0);break a}if(mv(j[b+24>>2],j[b+28>>2],d,c,e)){b=-1;c=j[a+12>>2];if((ei(j[a+4>>2],e,(j[a+8>>2]+p(c,j[e+4>>2])|0)+p(j[a+16>>2],j[e>>2])|0,c)|0)<0){break a}if((Oi(j[a>>2],j[a+4>>2],0,0)|0)<0){break a}Zn(j[a>>2])}b=0}oe=e+16|0;return b|0}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;f=j[a+20>>2];g=j[a+16>>2];a:{b:{if(g){h=j[b>>2]+1|0;a=g;while(1){e=a+c>>>1|0;d=j[(e<<3)+f>>2];if((d|0)==(h|0)){c=e;a=h;break b}d=h>>>0>>0;c=d?c:e+1|0;a=d?e:a;if(c>>>0>>0){continue}break}}a=0;if(c>>>0>=g>>>0){break a}a=j[(c<<3)+f>>2]}i=a;a=l[((c<<3)+f|0)+4>>1]+1|0}j[b>>2]=i;return a|0}function WN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=oe-48|0;oe=b;f=j[a>>2];c=hj(f,c,74872);a:{if(!c){a=64;break a}j[b+28>>2]=c;j[b+16>>2]=4;b:{a=jj(a,b+16|0,b+12|0);if(a){break b}a=j[b+12>>2];c:{if(!a){a=81;e=0;break c}a=ij(a,333319,e);e=j[b+12>>2]}rk(e,0);if(a){break b}j[d>>2]=c;a=0;break a}if(c){qe[j[f+8>>2]](f,c)}}oe=b+48|0;return a|0}function RN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=oe-48|0;oe=b;f=j[a>>2];c=hj(f,c,74924);a:{if(!c){a=64;break a}j[b+28>>2]=c;j[b+16>>2]=4;b:{a=jj(a,b+16|0,b+12|0);if(a){break b}a=j[b+12>>2];c:{if(!a){a=81;e=0;break c}a=ij(a,333319,e);e=j[b+12>>2]}rk(e,0);if(a){break b}j[d>>2]=c;a=0;break a}if(c){qe[j[f+8>>2]](f,c)}}oe=b+48|0;return a|0}function QN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=oe-48|0;oe=b;f=j[a>>2];c=hj(f,c,74926);a:{if(!c){a=64;break a}j[b+28>>2]=c;j[b+16>>2]=4;b:{a=jj(a,b+16|0,b+12|0);if(a){break b}a=j[b+12>>2];c:{if(!a){a=81;e=0;break c}a=ij(a,333319,e);e=j[b+12>>2]}rk(e,0);if(a){break b}j[d>>2]=c;a=0;break a}if(c){qe[j[f+8>>2]](f,c)}}oe=b+48|0;return a|0}function Oo(a){var b=0,c=0,d=0,e=0;if(a){while(1){b=p(d,84)+a|0;e=b;if(l[b+136>>1]){j[b+56>>2]=0;j[b+60>>2]=0;c=j[b+76>>2];if(c){ze(c);j[b+76>>2]=0}c=j[b+100>>2];if(c){ze(c);j[b+100>>2]=0}i[e+136>>1]=0}d=d+1|0;if((d|0)!=257){continue}break}b=j[a>>2];if(b){Yr(b)}b=j[a+21668>>2];if(b){ze(b)}if(j[a+21648>>2]){b=j[a+21644>>2];qe[j[b+16>>2]](b)|0}ze(a)}}function ME(a,b){var c=0;a:{c=j[a+24>>2];if(j[a+28>>2]>=(c-b|0)){if((c|0)>(2147483647-b|0)){break a}b=b+c|0;b=(b|0)<2147483615?b+32|0:b;c=Vf(j[a+16>>2],b<<2);if(!c){break a}j[a+16>>2]=c;c=Vf(j[a+20>>2],b<<3);if(!c){break a}j[a+24>>2]=b;j[a+20>>2]=c}return 0}b=j[a>>2];if(b){ze(b)}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360);return-1}function uh(a){var b=0,c=0,d=0,e=0;bh(a);a:{if(j[a+12>>2]>0){break a}b=j[a>>2];c=b-1|0;d=j[a+8>>2];b:{c:{while(1){if(b>>>0>=d>>>0){break b}e=b;b=b+1|0;j[a>>2]=b;d:{switch(k[e|0]-9|0){case 0:case 23:break a;case 17:break b;case 50:break c;case 1:case 4:break d;default:continue}}break}j[a+12>>2]=2;return c}j[a+12>>2]=1;return c}j[a+12>>2]=3}return c}function Hs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;if(!(!a|!b)){e=j[a>>2];g=j[b>>2];c=c<<16;i=Ne(e,g,c);f=j[a+4>>2];h=j[b+8>>2];k=Ne(f,h,c);d=e;e=j[b+4>>2];l=Ne(d,e,c);d=f;f=j[b+12>>2];m=Ne(d,f,c);d=j[a+8>>2];g=Ne(d,g,c);a=j[a+12>>2];n=b,o=g+Ne(a,h,c)|0,j[n+8>>2]=o;j[b+4>>2]=l+m;j[b>>2]=i+k;n=b,o=Ne(d,e,c)+Ne(a,f,c)|0,j[n+12>>2]=o}}function Hk(a,b){var c=0,d=0,e=0;d=oe-16|0;oe=d;c=j[67085];a:{if(!c){ve(57733,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(56433,0);break a}if(!(k[b|0]?b:0)){j[d>>2]=56930;ve(56475,d);break a}a=j[a+140>>2];if(!a){break a}while(1){b:{c=j[a>>2];if(!c){break b}if(cf(c,b)){break b}e=j[a+4>>2];break a}a=j[a+8>>2];if(a){continue}break}}oe=d+16|0;return e}function Os(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,5774);break a}if((c|0)!=1){Ie(a,c);Je(a,5787);break a}pf(a,d+15|0,1);tf(a,d+15|0,1);if(Ie(a,0)){break a}c=l[a+898>>1];if(c&32768){break a}if(c&4){i[a+898>>1]=c|32768;oh(a,b);Je(a,5915);break a}eo(a,a+824|0,k[d+15|0]);oh(a,b)}oe=d+16|0;return}hf(a,5795);z()}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;g=j[a+20>>2];h=j[a+16>>2];a:{b:{if(h){d=j[b>>2]+1|0;a=h;while(1){f=a+c>>>1|0;e=j[(f<<3)+g>>2];if((e|0)==(d|0)){c=f;break b}e=d>>>0>>0;c=e?c:f+1|0;a=e?f:a;if(c>>>0>>0){continue}break}}d=0;if(c>>>0>=h>>>0){break a}d=j[(c<<3)+g>>2]}i=l[((c<<3)+g|0)+4>>1]+1&65535}j[b>>2]=d;return i|0}function KC(){var a=0,b=0,c=0;while(1){b=j[66036];if(b){j[66036]=j[b+16>>2];a=j[b>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[b+4>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[b+12>>2];if(a){while(1){c=j[a+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}continue}break}}function vl(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0;g=oe-240|0;oe=g;j[g>>2]=a;h=1;a:{if((d|0)<2){break a}l=0-b|0;f=a;while(1){f=f+l|0;k=d-2|0;i=f-j[(k<<2)+e>>2]|0;if((qe[c|0](a,i)|0)>=0){if((qe[c|0](a,f)|0)>-1){break a}}a=(qe[c|0](i,f)|0)>-1;f=a?i:f;j[(h<<2)+g>>2]=f;h=h+1|0;d=a?d-1|0:k;if((d|0)<2){break a}a=j[g>>2];continue}}_o(b,g,h);oe=g+240|0}function oG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a>>2];d=j[a+44>>2];if(d){e=j[d>>2];if(!(!e|!j[e+96>>2])){j[e+88>>2]=d}}d=Dm(j[c+500>>2],b);if(!d){b=j[j[c+500>>2]+88>>2];c=j[b+16>>2];j[a+12>>2]=j[b+12>>2];j[a+16>>2]=c;j[a+36>>2]=j[b+36>>2];c=j[b+32>>2];j[a+28>>2]=j[b+28>>2];j[a+32>>2]=c;c=j[b+24>>2];j[a+20>>2]=j[b+20>>2];j[a+24>>2]=c}return d|0}function nG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a>>2];d=j[a+44>>2];if(d){e=j[d>>2];if(!(!e|!j[e+96>>2])){j[e+88>>2]=d}}d=pO(j[c+500>>2],b);if(!d){b=j[j[c+500>>2]+88>>2];c=j[b+16>>2];j[a+12>>2]=j[b+12>>2];j[a+16>>2]=c;j[a+36>>2]=j[b+36>>2];c=j[b+32>>2];j[a+28>>2]=j[b+28>>2];j[a+32>>2]=c;c=j[b+24>>2];j[a+20>>2]=j[b+20>>2];j[a+24>>2]=c}return d|0}function JB(a,b){var c=0,d=0,e=0,f=0;a:{c=j[57843];if(c){while(1){f=j[c+72>>2];if(!(qe[a|0](b,c)|0)){d=j[c+68>>2];if(d){j[d+72>>2]=j[c+72>>2]}e=j[c+72>>2];if(e){j[e+68>>2]=d}if(j[57843]==(c|0)){j[57843]=e}if(j[57844]==(c|0)){j[57844]=j[c+68>>2]}j[c+72>>2]=j[57845];j[57845]=c;j[57841]=j[57841]-1}c=f;if(c){continue}break}}if(!j[57839]){break a}}}function ng(a,b,c,d,e){var f=0,g=0,h=0,i=0,l=0,m=0;a:{if(!c|!d){break a}b=j[b+1284>>2];g=Ef(a,b<<2);if((b|0)<1){break a}m=65536-e|0;a=0;while(1){f=a<<2;h=f+g|0;i=c+f|0;f=d+f|0;l=(p(j[i>>2]&32767,m)+p(j[f>>2]&32767,e)|0)+32768>>16;j[h>>2]=l;if(!(!(k[i+1|0]&128)|!(k[f+1|0]&128))){j[h>>2]=l|32768}a=a+1|0;if((b|0)!=(a|0)){continue}break}}return g}function Kg(a,b){a:{if((b|0)>=1024){a=a*8.98846567431158e+307;if((b|0)<2047){b=b-1023|0;break a}a=a*8.98846567431158e+307;b=((b|0)<3069?b:3069)-2046|0;break a}if((b|0)>-1023){break a}a=a*2.2250738585072014e-308;if((b|0)>-2045){b=b+1022|0;break a}a=a*2.2250738585072014e-308;b=((b|0)>-3066?b:-3066)+2044|0}pP(0,0);pP(1,b+1023<<20);return a*+qP()}function Bp(){var a=0,b=0;a=oe-160|0;oe=a;a:{if(j[57796]){break a}j[a+16>>2]=j[57793];Ue(a+32|0,128,20224,a+16|0);if(xg(a+32|0,0)){break a}b=j[57798];if(b){if(qe[b|0]()|0){break a}}j[57796]=1}b:{if(j[57816]){break b}j[a>>2]=j[57813];Ue(a+32|0,128,20224,a);if(xg(a+32|0,0)){break b}b=j[57818];if(b){if(qe[b|0]()|0){break b}}j[57816]=1}oe=a+160|0}function tj(a,b){if(!a){return}a:{if(b){b:{c:{d:{e:{a=j[j[a+52>>2]+68>>2]&112;switch(a-16|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break b;case 16:break d;case 0:break e;default:break c}}j[b>>2]=1;return}j[b>>2]=2;return}if((a|0)==64){break a}}j[b>>2]=0}return}j[b>>2]=4}function av(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if((a|0)==(b|0)){return 0}a:{c=j[b+4>>2];d=j[a+4>>2];if((c|0)!=(d|0)){break a}c=j[b+8>>2];d=j[a+8>>2];if((c|0)!=(d|0)){break a}d=j[a>>2];c=d>>>8&255;e=j[b>>2];f=e>>>8&255;if((c|0)!=(f|0)){return f-c|0}c=e>>>16&15;d=d>>>16&15;if((c|0)!=(d|0)){break a}return j[b+12>>2]-j[a+12>>2]|0}return c-d|0}function ON(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+2>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+13|0,3)|0)!=3){break d}c=j[a+8>>2];b=d+13|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}f=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16);break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+3}oe=d+16|0;return f}function AE(a,b){var c=0,d=0,e=0,f=0;d=a+3|0;c=k[a+3|0];f=!c;e=c|(k[a+1|0]<<16|k[a|0]<<24|k[a+2|0]<<8);a=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!(!c|(e|0)==(b|0))){while(1){a=d+1|0;c=k[d+1|0];f=!c;e=c|e<<8;if((b|0)==(e|0)){break a}d=a;if(c){continue}break}break a}a=d}return f?0:a-3|0}function ti(a,b){var c=0,d=0,e=0;if(pF(a,b)){Cg(a);return 1}c=j[a+4>>2];a:{if(!c){break a}b=j[a+104>>2];if(!b){break a}c=j[c+28>>2];if(!c){break a}d=j[c+4>>2];c=j[c+3656>>2];j[a+56>>2]=-1;j[a+60>>2]=-1;j[a+24>>2]=-1;e=a- -64|0;j[e>>2]=-1;j[e+4>>2]=-1;j[a+32>>2]=0;d=d>>c+1;j[a+48>>2]=d;j[a+20>>2]=d>>c;j[b+128>>2]=-1;j[b+132>>2]=-1}return 0}function tO(a,b,c,d){var e=0,f=0,g=0;e=oe-128|0;oe=e;a:{if(!b){f=85;break a}f=Fe(b,0);if(f){break a}f=uf(b,e,128);if(f){break a}f=2;if(k[e+82|0]|(k[e|0]|k[e+74|0])){break a}g=k[e+1|0];if(k[e+63|0]|(g-1&255)>>>0>32|k[(e+g|0)+2|0]){break a}f=Fm(a,b,(k[e+86|0]+(k[e+83|0]<<24|k[e+84|0]<<16|255)|0)+(k[e+85|0]<<8)&-128,c,d)}oe=e+128|0;return f}function np(a,b,c,d){var e=0,f=0;if((d|0)==1){f=b;e=j[a+8>>2]-j[a+4>>2]|0;b=b-e|0;c=c-((e>>31)+(f>>>0>>0)|0)|0}a:{if(m[a+20>>2]>m[a+28>>2]){qe[j[a+36>>2]](a,0,0)|0;if(!j[a+20>>2]){break a}}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;qe[j[a+40>>2]](a,b,c,d)|0;if((pe|0)<0){break a}j[a+4>>2]=0;j[a+8>>2]=0;j[a>>2]=j[a>>2]&-17;return 0}return-1}function bF(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=j[a+4>>2];d=j[a>>2];g=v(Ag(+q(c|0),+q(q(1)/q(d|0))));a:{if(r(g)<2147483648){b=~~g;break a}b=-2147483648}while(1){a=1;e=1;if((d|0)>=1){h=b+1|0;f=0;while(1){e=p(e,h);a=p(a,b);f=f+1|0;if((f|0)!=(d|0)){continue}break}}a=(a|0)>(c|0);if(!((e|0)>(c|0)?!a:0)){b=(a?-1:1)+b|0;continue}break}return b}function aN(a){a=a|0;var b=0,c=0,d=0;a:{c=j[a+40>>2];if(!c){break a}b=j[a>>2];d=j[b+656>>2];a=j[d+2952>>2];b=Kf(j[j[b+96>>2]+4>>2],79232);if(!a|!b){break a}a=j[a>>2];if(!a){break a}b=qe[a|0](b)|0;if(!b){break a}qe[j[b+8>>2]](j[c>>2]);a=j[d+1896>>2];if(!a){break a}while(1){a=a-1|0;qe[j[b+8>>2]](j[((a<<2)+c|0)+4>>2]);if(a){continue}break}}}function hK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=j[a+20>>2];a=(c+(j[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=j[e>>2];if((d|0)==(b|0)){f=e;break a}d=d&2147483647;f=(d|0)==(b|0)?e:f;if((a|0)!=(c|0)){d=b>>>0>d>>>0;c=d?e+8|0:c;a=d?a:e-8|0;if(c>>>0<=a>>>0){continue}}break}if(f){break a}}return 0}return j[f+4>>2]}function zg(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;h=e;e=0;i=e;f=c;c=0;e=gP(h,e,f,c);k=pe;g=b;l=gP(d,0,b,0);b=pe;d=gP(d,m,f,c);c=b+d|0;b=pe;b=c>>>0>>0?b+1|0:b;f=b;d=b+e|0;b=k;b=d>>>0>>0?b+1|0:b;f=d;e=b;b=gP(g,n,h,i)+c|0;d=pe;d=b>>>0>>0?d+1|0:d;g=d;d=d+f|0;j[a+8>>2]=d;j[a+12>>2]=d>>>0>>0?e+1|0:e;j[a>>2]=l;j[a+4>>2]=b}function si(a,b){var c=0,d=0,e=0,f=0;d=-131;c=-1;a:{if(!j[a+4>>2]|j[a+88>>2]<2){break a}e=j[a+52>>2];if((e|0)<=(b|0)){break a}if((b|0)<=-1){d=0;c=0;if((e|0)<1){break a}b=0;while(1){f=si(a,b)+d|0;c=c+pe|0;c=d>>>0>f>>>0?c+1|0:c;d=f;b=b+1|0;if((e|0)!=(b|0)){continue}break}break a}a=j[a+68>>2]+(b<<4|8)|0;d=j[a>>2];c=j[a+4>>2]}pe=c;return d}function Hp(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=oe-16|0;oe=f;j[f+12>>2]=0;g=b;if((d|0)!=128){g=f-(c+15&-16)|0;oe=g}a:{if((c|0)<1){break a}i=(d|0)!=128;while(1){h=qe[e|0](a,g,c,f+12|0)|0;if((h|0)<0){break a}b:{if(!i){g=g+h|0;break b}ml(b,g,l[131082],h,d);b=b+h|0}c=c-h|0;if((c|0)<1){break a}if(!j[f+12>>2]){continue}break}}oe=f+16|0;return c}function sg(){var a=0,b=0;a=oe-16|0;oe=a;a:{b:{c:{if(!k[268376]){h[268376]=1;if(!(P(4,268380)|0)){h[268388]=1;break c}O(268392,0)|0}if(!k[268388]){break b}}P(4,a+8|0)|0;b=p(j[a+8>>2]-j[67095]|0,1e3)+((j[a+12>>2]-j[67096]|0)/1e6|0)|0;break a}O(a+8|0,0)|0;b=p(j[a+8>>2]-j[67098]|0,1e3)+((j[a+12>>2]-j[67099]|0)/1e3|0)|0}oe=a+16|0;return b}function iv(a,b,c,d){var e=0;a:{b:{if(!(!a|!b)){if(d>>>0>=257){if(k[b+25|0]==3){break b}Ze(a,5259);return}if((d?!c:0)|(h[a+708|0]&1?0:!d)){break a}Si(a,b,4096,0);e=Bj(a,768);j[a+416>>2]=e;if(d){Ae(e,c,p(d,3))}j[b+16>>2]=e;i[a+420>>1]=d;i[b+20>>1]=d;j[b+232>>2]=j[b+232>>2]|4096;j[b+8>>2]=j[b+8>>2]|8}return}Ye(a,5259);z()}Ye(a,5282);z()}function wI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;e=j[a+16>>2];d=b;b=l[a+8>>1]>>>1|0;d=xe(d,1,0,b+1|0,0,c+12|0);oe=c+16|0;if(j[c+12>>2]){a=f}else{a=0;a:{if(!b){break a}while(1){f=k[e+1|0];c=f|k[e|0]<<8;if(!c){break a}h[a+d|0]=c-32>>>0>95?63:f;e=e+2|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}h[a+d|0]=0;a=d}return a|0}function wE(a,b){var c=0,d=0,e=0;c=k[a|0];a:{if(!c){break a}while(1){d=k[b|0];if(!d){e=c;break a}b:{if((c|0)==(d|0)){break b}d=c-65>>>0<26?c|32:c;c=k[b|0];if((d|0)==((c-65>>>0<26?c|32:c)|0)){break b}e=k[a|0];break a}b=b+1|0;c=k[a+1|0];a=a+1|0;if(c){continue}break}}a=e&255;e=a-65>>>0<26?a|32:a;a=k[b|0];return e-(a-65>>>0<26?a|32:a)|0}function ji(a,b,c){var d=0,e=0;a:{d=j[66036];if(!d){break a}while(1){if(!cf(a,j[d>>2])){a=j[d+12>>2];if(!a){break a}e=d+12|0;d=0;while(1){if(!(j[a>>2]!=(b|0)|j[a+4>>2]!=(c|0))){j[(d?d+8|0:e)>>2]=j[a+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return}d=a;a=j[a+8>>2];if(a){continue}break}break a}d=j[d+16>>2];if(d){continue}break}}}function nu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=oe-16|0;oe=a;b=j[j[b+144>>2]+8>>2];a:{if(!b){b=ve(59711,0);break a}h[a+12|0]=105;h[a+13|0]=105;h[a+14|0]=105;h[a+15|0]=0;c=j[b+12>>2];d=j[b+8>>2];j[a+8>>2]=j[b+20>>2];j[a>>2]=d;j[a+4>>2]=c;E(59756,a+12|0,a|0)|0;b=0;if(!(S()|0)){break a}if(!xg(61211,1)){break a}R(0)}oe=a+16|0;return b|0}function _o(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=oe-256|0;oe=e;a:{if((c|0)<2){break a}h=(c<<2)+b|0;j[h>>2]=e;if(!a){break a}d=e;while(1){f=a>>>0<256?a:256;Ae(d,j[b>>2],f);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;Ae(j[g>>2],j[(d<<2)+b>>2],f);j[g>>2]=j[g>>2]+f;if((c|0)!=(d|0)){continue}break}a=a-f|0;if(!a){break a}d=j[h>>2];continue}}oe=e+256|0}function ro(a,b){var c=0,d=0,e=0,f=0;a:{d=j[66361];if((d|0)<1){break a}e=j[66360];while(1){f=p(c,12)+e|0;if(!(j[f>>2]!=(a|0)|j[f+4>>2]!=(b|0))){if(k[265460]){j[(p(c,12)+e|0)+8>>2]=1;h[265464]=1;return}a=d-1|0;j[66361]=a;if((a|0)<=(c|0)){break a}b=p(c,12)+e|0;Li(b,b+12|0,p(a-c|0,12));return}c=c+1|0;if((d|0)!=(c|0)){continue}break}}}function Yl(a){var b=0,c=0;c=j[a>>2];if(c){b=j[a+28>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+16>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+16>>2]=0;b=j[a+12>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+12>>2]=0;b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a>>2]=0;j[a+4>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0}}function Us(){var a=0,b=0,c=0;b=oe-1440|0;oe=b;j[67090]=0;a:{if((aa()|0)==-1){a=ve(70032,0);break a}c=Ta()|0;if((c|0)>=1){while(1){if(!($(a|0,b+8|0)|0)){Rm(26,b+8|0,0)}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0;if(_(0,0,517,2)|0){zk();a=ve(70055,0);break a}if(!(Z(0,0,518,2)|0)){break a}zk();a=ve(70094,0)}oe=b+1440|0;return a|0}function zO(a){var b=0,c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;d=xe(j[a>>2],8,0,j[a+4>>2]<<1,0,c+12|0);j[a+40>>2]=d;e=j[c+12>>2];if(!e){h[a+16|0]=1;f=(j[a+4>>2]<<3)+d|0;j[a+44>>2]=f;b=i[a+22>>1];j[a- -64>>2]=b+j[a+28>>2];j[a+68>>2]=j[a+32>>2]+(i[a+20>>1]<<1);b=b<<3;j[a+60>>2]=b+j[a+24>>2];j[a+80>>2]=b+f;j[a+76>>2]=b+d}oe=c+16|0;return e}function vu(a,b){var c=0,d=0,e=0;c=oe+ -64|0;oe=c;e=j[a+992>>2];if(!(qe[j[e+88>>2]](j[e+8>>2],b)|0)){d=59572;b=c;a=qe[j[j[a+992>>2]+116>>2]]()|0;e=a-12288|0;if(e>>>0<=14){d=j[(e<<2)+59576>>2]}if(!k[d|0]){j[c+16>>2]=a;Ue(c+32|0,32,58627,c+16|0);d=c+32|0}j[b+8>>2]=d;j[c+4>>2]=58752;j[c>>2]=59140;d=ve(58632,c)}oe=c- -64|0;return d}function ms(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;j[a+2988>>2]=b;d=j[b+28>>2];j[a+4>>2]=j[b+44>>2];j[a+8>>2]=j[b+48>>2];j[a+12>>2]=j[b+1616>>2];j[a+16>>2]=j[b+1620>>2];c=j[b+24>>2];j[a+2980>>2]=(k[j[j[b+36>>2]+212>>2]+20|0]?4:12)|d;d=a;a=(c&-2)==2;b=a|2;e=(c|0)==4?b:a;a=(c|0)==2;b=a?b:e;b=(c|0)==1?b:b|4;j[d+2984>>2]=a?b|8:b;return 0}function JO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=j[j[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=j[f+16>>2];if(c){b=j[j[(j[j[b+73168>>2]+4>>2]<<2)+73040>>2]+16>>2];if(b){qe[b|0](c);c=j[f+16>>2]}if(c){qe[j[d+8>>2]](d,c)}j[f+16>>2]=0}e=e+1|0;if((e|0)!=49){continue}break}j[a+8>>2]=0;j[a>>2]=0;j[a+4>>2]=0;if(a){qe[j[d+8>>2]](d,a)}}}function gM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe-16|0;oe=c;e=j[a+100>>2];j[c+12>>2]=0;d=qe[j[b+36>>2]](b)|0;a:{if((d|0)<0|j[a+304>>2]){break a}b=0;e=xe(e,252,0,d,0,c+12|0);j[a+304>>2]=e;if(j[c+12>>2]){break a}j[a+300>>2]=d;if((d|0)<1){break a}while(1){j[(e+p(b,252)|0)+4>>2]=4;b=b+1|0;if((d|0)!=(b|0)){continue}break}}oe=c+16|0}function xJ(a,b){a=a|0;b=b|0;var c=0;c=b;a=j[a+16>>2];b=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);c=c-(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);if(c>>>0<(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0){a=a+(c<<1)|0;a=k[a+20|0]<<8|k[a+21|0]}else{a=0}return a|0}function rf(a){var b=0,c=0,d=0,e=0,f=0;while(1){b=a;a=b+1|0;c=h[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{b:{c:{c=h[b|0];switch(c-43|0){case 0:break b;case 2:break c;default:break a}}e=1}c=h[a|0];b=a;f=e}if(c-48>>>0<10){while(1){d=(p(d,10)-h[b|0]|0)+48|0;a=h[b+1|0];b=b+1|0;if(a-48>>>0<10){continue}break}}return f?d:0-d|0}function cv(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=oe-32|0;oe=c;b=j[67085];e=mf(j[b+304>>2],p(j[b+300>>2],72)+72|0);a:{if(e){d=j[67085];b=j[d+300>>2];j[d+300>>2]=b+1;f=Ae(p(b,72)+e|0,a,72);j[f+64>>2]=d;j[d+304>>2]=e;a=j[a>>2];if(a){g=f,h=Uf(a),j[g>>2]=h;break a}Wy(b,c);g=f,h=Uf(c),j[g>>2]=h;break a}Be(0);b=-1}oe=c+32|0;return b}function Or(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+1>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+14|0,2)|0)!=2){break d}c=j[a+8>>2];b=d+14|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}f=k[b|0]|k[b+1|0]<<8;break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+2}oe=d+16|0;return f}function Le(a){var b=0,c=0,d=0;a:{b:{b=a;if(!(b&3)){break b}if(!k[a|0]){return 0}while(1){b=b+1|0;if(!(b&3)){break b}if(k[b|0]){continue}break}break a}while(1){c=b;b=b+4|0;d=j[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}if(!(d&255)){return c-a|0}while(1){d=k[c+1|0];b=c+1|0;c=b;if(d){continue}break}}return b-a|0}function bh(a){var b=0,c=0,d=0;a:{if(j[a+12>>2]>0){break a}b=j[a>>2];c=j[a+8>>2];b:{if(b>>>0>=c>>>0){break b}while(1){d=b+1|0;j[a>>2]=d;c:{switch(k[b|0]-9|0){case 1:case 4:j[a+12>>2]=2;return;case 50:j[a+12>>2]=1;return;case 17:break b;case 0:case 23:break c;default:break a}}b=d;if(c>>>0>b>>>0){continue}break}}j[a+12>>2]=3}}function jq(a,b,c){var d=0,e=0,f=0;e=oe-16|0;oe=e;d=Fe(a,0);a:{if(d){break a}f=qf(a,e+12|0);d=j[e+12>>2];if(d){break a}b:{if((f+32767&65535)>>>0<2){Zf(a,e+12|0);d=j[e+12>>2];if(d){break a}if((f|0)==32769){break b}}d=Fe(a,0);if(d){break a}}d=_e(a,c);if(d){break a}b=Bg(j[a+32>>2],b,c);Ve(a);d=((b|0)!=0)<<1}oe=e+16|0;return d}function dv(a){var b=0,c=0;b=oe-80|0;oe=b;Oe(b+8|0,0,72);if(a){j[b+40>>2]=j[a+16>>2];c=j[a+12>>2];j[b+32>>2]=j[a+8>>2];j[b+36>>2]=c;c=j[a+4>>2];j[b+24>>2]=j[a>>2];j[b+28>>2]=c}j[b+60>>2]=j[b+40>>2];a=j[b+36>>2];j[b+52>>2]=j[b+32>>2];j[b+56>>2]=a;a=j[b+28>>2];j[b+44>>2]=j[b+24>>2];j[b+48>>2]=a;a=cv(b+8|0);oe=b+80|0;return a}function ZJ(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a:{e=j[a+4>>2];if((e|0)<=(d-c|0)){break a}f=0-e|0;c=f&(c+e|0)-1;if((c|0)!=(d&f)){break a}c=c>>j[a>>2];if((c|0)<0){break a}d=j[a+104>>2];if(d>>>0<=c>>>0){break a}e=j[a+60>>2]+(b>>3)|0;a=j[a+112>>2];c=e-p(a,c)|0;a=(a|0)>0?c+p(a,d-1|0)|0:c;h[a|0]=k[a|0]|128>>>(b&7)}}function $E(a){var b=0;b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}b=j[a+24>>2];if(b){ze(b)}b=j[a+28>>2];if(b){ze(b)}b=j[a+32>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}function 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;a=j[b+76>>2];if(k[a|0]&2){Eg(a)}if(j[c+12>>2]>=1){b=k[j[a+4>>2]+9|0];g=p(b,j[c+8>>2]);b=(j[a+20>>2]+p(j[a+16>>2],j[c+4>>2])|0)+p(b,j[c>>2])|0;while(1){Ge(b,d,g);d=d+e|0;b=j[a+16>>2]+b|0;f=f+1|0;if((f|0)>2]){continue}break}}if(k[a|0]&2){jg(a)}return 0}function Zm(a){var b=0,c=0,d=0,e=0;c=j[67085];b=j[c+312>>2];d=j[a+48>>2];a:{if(!(!(j[67035]|d&256)|!(d&512))){b:{if(!b|(a|0)==(b|0)){break b}j[b+48>>2]=j[b+48>>2]&-257;d=j[c+128>>2];if(!d){break b}qe[d|0](c,b,0);c=j[67085]}j[c+312>>2]=a;e=1;break a}if((a|0)!=(b|0)){break a}j[c+312>>2]=0}b=j[c+128>>2];if(b){qe[b|0](c,a,e)}}function Ip(a,b){var c=0,d=0;d=-131;a:{if(!j[a+4>>2]|j[a+88>>2]<2){break a}c=j[a+52>>2];if((c|0)<=(b|0)){break a}if((b|0)<=-1){d=0;if((c|0)<1){break a}b=0;while(1){d=d+Ip(a,b);b=b+1|0;if((c|0)!=(b|0)){continue}break}break a}c=j[a+68>>2]+(b<<4|8)|0;d=(+m[c>>2]+ +j[c+4>>2]*4294967296)/+j[(j[a+72>>2]+(b<<5)|0)+8>>2]}return d}function ZC(a){var b=0,c=0,d=0,e=0;Qj(j[65564]);c=262284;a:{if((a|0)!=-2){if(!(j[65565]>(a|0)?(a|0)>=0:0)){ve(21453,0);break a}c=(j[65566]+p(a,60)|0)+56|0}b=j[c>>2];if(b){while(1){e=j[b+12>>2];d=j[b+4>>2];if(d){qe[d|0](a,j[b+8>>2])}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=e;if(b){continue}break}}j[c>>2]=0}Pj(j[65564])}function DJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+10|0;if(c>>>0>m[b+160>>2]){Pe(b,8)}d=k[a+3|0]|k[a+2|0]<<8;e=m[b+160>>2]>=d+a>>>0;a=k[a+9|0]|k[a+8|0]<<8;if(!((a<<1)+10>>>0<=d>>>0?e:0)){Pe(b,8)}if(!(!j[b+164>>2]|!a)){while(1){if(m[b+172>>2]<=(k[c+1|0]|k[c|0]<<8)>>>0){Pe(b,16)}c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}function Wu(){var a=0,b=0,c=0,d=0;c=oe-16|0;oe=c;a=j[67085];a:{if(!a){a=ve(57733,0);break a}b:{if(!j[a+432>>2]){b=j[a+168>>2];if(!b){j[c>>2]=j[a>>2];a=ve(57048,c);break a}a=qe[b|0](a,0)|0;if(a){break b}}a=0;b=j[67085];j[b+432>>2]=j[b+432>>2]+1;break a}b=j[67085];d=j[b+176>>2];if(!d){break a}qe[d|0](b)}oe=c+16|0;return a}function NL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=6;e=j[a+280>>2];a:{if((e|0)<1){break a}f=j[a+284>>2];a=0;while(1){b:{h=a;g=we(j[p(a,12)+f>>2],b);a=a+1|0;if((e|0)<=(a|0)){break b}if(g){continue}}break}if(g){break a}a=p(h,12)+f|0;c:{if(k[a+4|0]){j[c>>2]=1;break c}j[c>>2]=2}j[c+4>>2]=j[a+8>>2];d=0}return d|0}function sM(a){a=a|0;var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;c=j[a>>2];b=j[c+320>>2];c=Kf(j[j[c+96>>2]+4>>2],82546);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}c=qe[b|0](c)|0;if(!c){break a}b=j[a>>2];e=qe[j[c>>2]](j[b+100>>2],j[b+304>>2]+p(j[b+4>>2],252)|0,d+12|0)|0;if(e){break a}j[a+40>>2]=j[d+12>>2]}oe=d+16|0;return e|0}function Ms(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[67093];if((b|0)>=1){while(1){d=(b|0)>1;c=j[c+1320>>2];b=b-1|0;if(d){continue}break}}if(!c){return ve(70136,0)|0}if(j[c+16>>2]){return ve(70151,0)|0}b=j[c+12>>2];j[a+84>>2]=c;j[a>>2]=b;j[c+16>>2]=a;j[a+44>>2]=0;j[a+36>>2]=0;j[a+52>>2]=j[c+20>>2];j[a+28>>2]=j[c+24>>2];return 0}function LG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=j[a+528>>2];if(!c){return 6}e=j[c+4>>2];j[b>>2]=e;j[b+4>>2]=j[c>>2];if(e){a=0;while(1){d=p(a,12);f=d+b|0;j[f+8>>2]=j[((a<<2)+c|0)+8>>2];d=c+d|0;g=j[d+92>>2];j[f+12>>2]=j[g>>2];j[f+16>>2]=j[((k[d+88|0]<<2)+g|0)-4>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function $u(a){var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;b=j[67085];a:{if(!b){ve(57733,0);e=-1;break a}c=j[b+300>>2];if((c|0)<=0){e=-1;j[d>>2]=c-1;ve(56392,d);break a}if(!a){break a}b=j[b+304>>2];c=j[b+20>>2];j[a>>2]=j[b+16>>2];j[a+4>>2]=c;j[a+16>>2]=j[b+32>>2];c=j[b+28>>2];j[a+8>>2]=j[b+24>>2];j[a+12>>2]=c}oe=d+16|0;return e}function $A(a){var b=0,c=0;c=-1;a:{b:{if(!a){break b}c:{d:{b=k[a|0];switch(b-43|0){case 0:case 2:break d;default:break c}}b=k[a+1|0];a=a+1|0}if(!b){break b}if(!Me(a,30329)){return 0}if(Me(a,30335)){break a}c=1}return c}if(!Me(a,30341)){return 2}if(!Me(a,30348)){return 3}if(!Me(a,30355)){return 4}return Me(a,30367)?-1:5}function Nl(a,b){var c=0,d=0;c=Fe(b,j[a>>2]);a:{if(c){break a}c=$e(b,164112,a+4|0);if(c){break a}c=2;d=l[a+4>>1];if((d|256)!=768|m[a+8>>2]<((d|0)==768?148:118)>>>0){break a}if((d|0)==512){j[a+140>>2]=0;j[a+132>>2]=0;j[a+136>>2]=0}if(h[a+72|0]&1){break a}c=Fe(b,j[a>>2]);if(c){break a}c=_f(b,j[a+8>>2],a+160|0)}return c}function zk(){var a=0,b=0,c=0;a=j[67093];if(a){while(1){c=j[a+1320>>2];b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}j[67093]=0;j[67092]=0;j[67090]=0;j[67091]=0;_(0,0,0,2)|0;Z(0,0,0,2)|0}function lL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=oe-16|0;oe=b;Qf(a,j[a+8>>2]);e=j[a+8>>2];d=j[a>>2];j[b+12>>2]=d;f=Rg(b+12|0,e,10);c=j[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(k[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;j[b+12>>2]=d;f=Rg(b+12|0,e,f);c=j[b+12>>2];if((d|0)==(c|0)){break a}}j[a>>2]=c;g=f}oe=b+16|0;return g|0}function DA(a,b){var c=0,d=0;c=oe+ -64|0;oe=c;a:{if(!k[j[a+40>>2]+b|0]|j[a+36>>2]<=(b|0)){break a}b:{if(k[268304]){break b}d=j[67085];if(d){d=j[d+308>>2]!=0}else{d=0}if(!d){break b}}h[j[a+40>>2]+b|0]=0;if((We(1538,-1)|0)!=1){break a}j[c+8>>2]=1538;a=j[a>>2];h[c+21|0]=0;h[c+20|0]=b;j[c+16>>2]=a;gf(c+8|0)}oe=c- -64|0}function $K(a){a=a|0;var b=0,c=0,d=0;b=j[a+20>>2];if(!b){return 3}a:{b:{if(!k[a+68|0]){i[b>>1]=l[b>>1]+1;break b}a=j[a+12>>2];if((i[a+20>>1]+i[a+56>>1]|0)+1>>>0>m[a+8>>2]){a=yf(a,0,1);if(a){break a}}d=b;c=l[b>>1];a=c<<16>>16;if((a|0)>=1){i[(j[b+12>>2]+(c<<1)|0)-2>>1]=l[b+2>>1]-1;a=l[b>>1]}i[d>>1]=a+1}a=0}return a|0}function Nm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=d>>31;e=e+d^e;f=c>>31;f=f+c^f;i=(e|0)<(f|0);g=b>>31;g=g+b^g;h=a>>31;h=h+a^h;j=(g|0)<(h|0);d=b+d|0;b=d>>31;c=a+c|0;a=c>>31;b=b^b+d;a=a^a+c;c=(b|0)<(a|0);a=(p(c?b:a,3)>>>3|0)+(c?a:b)|0;return(((p(i?e:f,3)>>>3|0)+(i?f:e)+((p(j?g:h,3)>>>3|0)+(j?h:g))|0)-a|0)<(a>>>4|0)}function Jt(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[b+144>>2];if(c){Pt(c);d=j[c>>2];if(d){a:{if(!d){break a}a=j[a+992>>2];if(!a){break a}qe[j[a+80>>2]](j[a+8>>2],d)|0}j[c>>2]=0}J(j[c+12>>2],0,0)|0;a=j[c+12>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[b+144>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[b+144>>2]=0}}function al(a,b,c){var d=0;if(!(j[a>>2]==268305?a:0)){ve(31725,0);return-1}d=j[a+316>>2];a:{if(d){if(j[d>>2]!=268306){ve(31970,0);return-1}if(b){j[b>>2]=j[d+12>>2]}a=0;if(!c){break a}j[c>>2]=j[d+16>>2];return 0}d=j[a+8>>2];if(d){return qe[d|0](a,b,c)|0}a=j[a+188>>2];if(a){Wg(a,b,c);return 0}a=ve(31742,0)}return a}function MI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=j[a+356>>2];if(b){d=j[j[a+96>>2]+8>>2];e=d;c=j[a+348>>2];if(c){while(1){f=j[b+16>>2];if(f){qe[j[d+8>>2]](d,f)}i[b+8>>1]=0;j[b+16>>2]=0;b=b+20|0;c=c-1|0;if(c){continue}break}b=j[a+356>>2]}if(b){qe[j[e+8>>2]](e,b)}j[a+356>>2]=0}i[a+344>>1]=0;j[a+348>>2]=0;j[a+352>>2]=0}function mN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[a+11|0]+7>>>3|0;e=j[a+4>>2]-d|0;if(d){a=0;while(1){h[b|0]=k[b|0]+(k[c|0]>>>1|0);b=b+1|0;c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}if(e){a=0;d=0-d|0;while(1){h[b|0]=k[b|0]+(k[b+d|0]+k[c|0]>>>1|0);b=b+1|0;c=c+1|0;a=a+1|0;if((e|0)!=(a|0)){continue}break}}}function 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;g=j[c>>2];f=j[c+4>>2];a=j[b+76>>2];c=j[a+20>>2];f=j[a+16>>2]+p(c,f)|0;a=j[b+4>>2];a:{if(!(!a|(a&-268435456)==268435456)){b=2;if((a|0)==844715353|(a|0)==1498831189){break a}b=(a|0)==1431918169?2:1;break a}b=a&255}j[d>>2]=f+p(b,g);j[e>>2]=c;return 0}function Wq(a){a=a|0;var b=0;a:{if(!(a&1)){break a}if(!(h[262136]&1)){ve(2185,0);break a}b=1}if(a&2){if(!(k[262136]&2)){j[65535]=j[65535]+1}b=b|2}b:{if(!(a&4)){break b}if(!(k[262136]&4)){ve(2373,0);break b}b=b|4}c:{if(!(a&8)){break c}if(!(k[262136]&8)){ve(2403,0);break c}b=b|8}a=j[65534]|b;j[65534]=a;return a|0}function Dj(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;a:{if(!a){j[d>>2]=44911;ve(44885,d);break a}c=En();b:{if(c){e=j[c>>2];if(e>>>0>=a>>>0){break b}}c=mf(c,(a<<3)+36|0);if(!c){Be(0);break a}f=a+4|0;j[c>>2]=f;if(e>>>0>>0){Ee((e<<3|4)+c|0,0,f-e<<3)}if(Uy(c)){break a}}a=(a<<3)+c|0;j[a>>2]=0;j[a-4>>2]=b}oe=d+16|0}function VO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=mj(a,b);a:{if(d){break a}c=j[a+24>>2];if((c|0)<1){break a}a=j[a+28>>2];f=a+p(c,40)|0;c=j[b+4>>2];b=j[b+8>>2];while(1){j[c>>2]=j[a+16>>2];j[c+4>>2]=j[a+20>>2];e=l[a>>1];h[b|0]=e&1?0:e&2?2:1;b=b+1|0;c=c+8|0;a=a+40|0;if(f>>>0>a>>>0){continue}break}}return d|0}function Sv(a,b,c){var d=0,e=0,f=0;if(!(!a|!b)){if((l[b+20>>1]-1&65535)>>>0>=256){Ze(a,4832);return}Si(a,b,8,0);d=dg(a,512);j[b+204>>2]=d;if(!d){Ze(a,4878);return}j[b+232>>2]=j[b+232>>2]|8;e=l[b+20>>1];if(e){a=0;while(1){f=a<<1;i[f+d>>1]=l[c+f>>1];a=a+1|0;if(e>>>0>a>>>0){continue}break}}j[b+8>>2]=j[b+8>>2]|64}}function kh(a,b,c){var d=0,e=0;e=b-1|0;a:{if(k[a+436|0]==8){b:{if(e>>>0>253){break b}d=v(Ag(+(b|0)/255,+(c|0)*1e-5)*255+.5);if(d<4294967296&d>=0){b=~~d>>>0;break b}b=0}b=b&255;break a}if(e>>>0>65533){break a}d=v(Ag(+(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 cO(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{if(!a){break b}b=i[a+2>>1];c=i[a>>1];if(!((b|c)&65535)){return 0}if((b|0)<1|(c|0)<1){break b}f=j[a+12>>2];d=-1;a=0;while(1){e=i[(a<<1)+f>>1];if((e|0)>=(b|0)|(d|0)>=(e|0)){break b}d=e;a=a+1|0;if((c|0)!=(a|0)){continue}break}break a}return 6}return(b-1|0)==(d|0)?0:6}function xI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe-16|0;oe=c;e=j[a+16>>2];a=l[a+8>>1];b=xe(b,1,0,a+1|0,0,c+12|0);oe=c+16|0;if(j[c+12>>2]){b=d}else{a:{if(!a){break a}while(1){c=k[e|0];if(!c){break a}h[b+d|0]=c>>>0<32?63:c<<24>>24<0?63:c;e=e+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}d=a}h[b+d|0]=0}return b|0}function vB(a,b){var c=0,d=0;a:{c=l[b+114>>1];if(c&32768){c=j[b+8>>2]&-6150;j[b+8>>2]=c;if(!a){break a}d=j[b+232>>2];if(d&16){Ke(a,j[b+116>>2]);Ke(a,j[b+120>>2]);j[b+116>>2]=0;j[b+120>>2]=0;j[b+8>>2]=c}j[b+232>>2]=d&-17;return}a=c<<1&4|(j[b+8>>2]&-2053|c<<4&2048);if(c&1){j[b+8>>2]=a|1;return}j[b+8>>2]=a&-2}}function pu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0),f=0;a:{a=j[b+144>>2];if(!a){break a}if(c){e=q(n[a+16>>2]*q(j[b+24>>2]));b:{if(q(r(e))>2]=f}if(!d){break a}e=q(n[a+16>>2]*q(j[b+28>>2]));c:{if(q(r(e))>2]=a}}function Il(a){var b=0,c=0,d=0,e=0;a:{b=j[a+4>>2];if(!b){break a}d=j[a+104>>2];if(!d){break a}b=j[b+28>>2];if(!b){break a}c=j[b+4>>2];b=j[b+3656>>2];j[a+56>>2]=-1;j[a+60>>2]=-1;j[a+24>>2]=-1;e=a- -64|0;j[e>>2]=-1;j[e+4>>2]=-1;j[a+32>>2]=0;c=c>>b+1;j[a+48>>2]=c;j[a+20>>2]=c>>b;j[d+128>>2]=-1;j[d+132>>2]=-1}}function HF(a){a=a|0;var b=0,c=0,d=0;if(a){c=j[a+4>>2];if((c|0)>=1){while(1){d=j[j[a+20>>2]+(b<<2)>>2];if(d){ze(d);c=j[a+4>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}ze(j[a+20>>2]);if(j[a+24>>2]>=1){b=0;while(1){ze(j[j[a+28>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}}ze(j[a+28>>2]);ze(a)}}function LM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=j[a+656>>2];e=j[a+2956>>2];if(!e){return 11}b=l[j[a+1160>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}b:{if(b>>>0>=391){b=b-391|0;if(b>>>0>=m[a+1312>>2]){break a}a=j[j[a+1316>>2]+(b<<2)>>2];break b}a=qe[j[e+20>>2]](b)|0}if(!a){break a}xm(c,a,d)}return 0}function ag(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;g=a;h=a;a:{if(!b){b=0;break a}c=b>>31;e=c+b^c;c=s(e);Nf(d,e,0,0,0,c+81|0);e=0+j[d+8>>2]|0;c=(j[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=j[d+4>>2];b=j[d>>2]}j[h>>2]=b;j[g+4>>2]=c;j[a+8>>2]=e;j[a+12>>2]=f;oe=d+16|0}function Gr(a,b,c,d,e){if((b|1|c)<0){j[e>>2]=6;return d}a:{if(!c){if(!d){break a}qe[j[a+8>>2]](a,d);break a}if(!b){if((c|0)<=0){j[e>>2]=c?6:0;return 0}a=qe[j[a+4>>2]](a,c)|0;if(!a){j[e>>2]=64;return 0}a=Ee(a,0,c);j[e>>2]=0;return a}a=qe[j[a+12>>2]](a,b,c,d)|0;j[e>>2]=!a<<6;return a?a:d}j[e>>2]=0;return 0}function on(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{if(!(k[b+8|0]&16)|(!a|!b)){break a}b:{if(k[b+25|0]==3){if(c){j[c>>2]=j[b+156>>2];f=16}else{f=0}if(!e){break b}j[e>>2]=b+160;break b}if(e){j[e>>2]=b+160;f=16}else{f=0}if(!c){break b}j[c>>2]=0}if(!d){break a}j[d>>2]=l[b+22>>1];f=16}return f|0}function bg(a){var b=0,c=0;b=oe-16|0;oe=b;a:{b:{if(!(S()|0)){break b}if(!xg(70175,1)){break b}R(a|0);break a}c=(a>>>0)/1e3|0;j[b+8>>2]=c;j[b+12>>2]=p(a-p(c,1e3)|0,1e6);while(1){j[67100]=0;a=j[b+12>>2];j[b>>2]=j[b+8>>2];j[b+4>>2]=a;if(!(Sa(b|0,b+8|0)|0)){break a}if(j[67100]==27){continue}break}}oe=b+16|0}function hl(a){var b=0,c=0;if(!j[67021]){Be(4);return}b=j[66371];if(b){c=j[b+48>>2]>>>14&1}else{c=0}a:{if((c|0)==(a|0)){break a}b:{if(a){if(!b){ve(29870,0);return}if((qe[j[67021]](b)|0)==-1){break a}j[b+48>>2]=j[b+48>>2]|16384;break b}if((qe[j[67021]](0)|0)==-1){break a}j[b+48>>2]=j[b+48>>2]&-16385}}}function dD(a){a=a|0;var b=0,c=0,d=0,e=0;c=oe-16|0;oe=c;if(a){d=qe[j[a+4>>2]](a,0,0,1)|0;e=pe;b=0;a:{if((qe[j[a+8>>2]](a,c+12|0,1,4)|0)!=4){break a}b=0;if(k[c+12|0]!=137){break a}b=0;if(k[c+13|0]!=80){break a}b=0;if(k[c+14|0]!=78){break a}b=k[c+15|0]==71}qe[j[a+4>>2]](a,d,e,0)|0}oe=c+16|0;return b|0}function Ah(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a|!b){break a}c=i[a+2>>1];if((c|0)<1){break a}a=j[a+4>>2];c=a+(c<<3)|0;while(1){if(a){d=ye(j[a>>2],j[b>>2]);e=ye(j[a+4>>2],j[b+4>>2]);f=ye(j[a>>2],j[b+8>>2]);g=ye(j[a+4>>2],j[b+12>>2]);j[a>>2]=d+e;j[a+4>>2]=f+g}a=a+8|0;if(c>>>0>a>>>0){continue}break}}}function aD(){var a=0,b=0;if(j[65551]>=1){while(1){b=j[j[65552]+(a<<2)>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}a=a+1|0;if((a|0)>2];c=j[b+548>>2];b=Kf(j[j[b+96>>2]+4>>2],159968);a:{if(!c|!b){break a}c=j[c>>2];if(!c){break a}c=qe[c|0](b)|0;if(!c){break a}b=j[a>>2];e=qe[j[c>>2]](j[b+100>>2],b+168|0,d+12|0)|0;if(e){break a}j[a+40>>2]=j[d+12>>2]}oe=d+16|0;return e|0}function _z(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=j[b+76>>2];b=j[a+436>>2];e=Vg();c=j[b>>2];a:{if((e|0)!=(c|0)){j[b+424>>2]=0;if((tg(j[a+188>>2],c)|0)<0){break a}}a=j[a+436>>2];if(!j[a+4>>2]){break a}while(1){if(qe[j[a+104>>2]]()|0){continue}break}}qe[j[b+20>>2]](j[d+4>>2],0);j[b+360>>2]=0;return 0}function hg(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;h[c+15|0]=0;j[b>>2]=0;d=j[a+8>>2];a:{b:{e=j[a+20>>2];c:{if(e){if((qe[e|0](a,d,c+15|0,1)|0)!=1){break b}d=j[a+8>>2];b=c+15|0;break c}if(m[a+4>>2]<=d>>>0){break b}b=j[a>>2]+d|0}b=k[b|0];j[a+8>>2]=d+1;break a}j[b>>2]=85;b=0}oe=c+16|0;return b<<24>>24}function fs(a,b){var c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;d=j[a>>2];j[c+12>>2]=0;f=j[a+12>>2];b=j[a+84>>2]+(j[a+48>>2]+b|0)|0;a:{if(f>>>0>=b>>>0){break a}b=b+1&-2;d=xe(d,32,f,b,j[a+52>>2],c+12|0);j[a+52>>2]=d;e=j[c+12>>2];if(e){break a}j[a+12>>2]=b;j[a+88>>2]=d+(j[a+48>>2]<<5);e=0}oe=c+16|0;return e}function SG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(b>>>0>65535){break a}e=j[c+284>>2];if((e|0)<1){break a}f=j[c+288>>2];while(1){c=j[(d<<2)+f>>2];b:{if(!c|k[c|0]!=k[a|0]){break b}if((Le(c)|0)!=(b|0)){break b}if(!Qe(c,a,b)){break a}}d=d+1|0;if((e|0)>(d|0)){continue}break}d=0}return d|0}function lH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=i[a+298>>1];if(e){e=Ne(d,e,j[a+564>>2]);f=j[b+16>>2]+(c<<3)|0;j[f>>2]=e+j[f>>2];e=j[b+24>>2]+c|0;h[e|0]=k[e|0]|8}e=i[a+300>>1];if(e){a=Ne(d,e,j[a+564>>2]);d=j[b+16>>2]+(c<<3)|0;j[d+4>>2]=a+j[d+4>>2];a=j[b+24>>2]+c|0;h[a|0]=k[a|0]|16}}function Gu(a,b,c,d,e,f,g,h){var i=0,k=0,l=0;if((c|0)==372645892){return Um(a,b,d,e,f,g,h)}k=a<<2;i=p(k,b);i=qe[j[57972]](i?i:1)|0;if(i){j[57976]=j[57976]+1}if(!i){return Be(0)}l=-1;if((fh(a,b,c,d,e,372645892,i,k)|0)!=-1){l=Um(a,b,i,k,f,g,h)}if(i){qe[j[57975]](i);j[57976]=j[57976]-1}return l}function GA(a){var b=0,c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;e=-1;f=qe[j[58771]]()|0;a:{if((f|0)<1){break a}while(1){b=qe[j[58771]]()|0;b:{if((b|0)<=(c|0)){j[d>>2]=b;ve(31362,d);b=-1;break b}b=qe[j[58776]](c)|0}if((b|0)==(a|0)){e=c;break a}c=c+1|0;if((f|0)!=(c|0)){continue}break}}oe=d+16|0;return e}function sp(a){var b=0,c=0,d=0,e=0,f=0;b=j[a+40>>2];c=qe[b|0](a,0,0,k[a|0]&128?m[a+20>>2]>m[a+28>>2]?2:1:1)|0;b=pe;d=b;if((b|0)>0?1:(b|0)>=0){e=j[a+20>>2]-j[a+28>>2]|0;a=j[a+8>>2]-j[a+4>>2]|0;f=c-a|0;b=e+f|0;a=(d-((a>>31)+(c>>>0>>0)|0)|0)+(e>>31)|0;c=b;d=b>>>0>>0?a+1|0:a}pe=d;return c}function cj(a,b){var c=0,d=0,e=0,f=0,g=0;d=j[a+24>>2];a:{if((d|0)<0){break a}e=j[a+20>>2];if((e|0)<=(d|0)){break a}if(b){f=j[j[a+4>>2]+4>>2];if((f|0)>=1){while(1){g=c<<2;j[g+j[a+12>>2]>>2]=j[j[a+8>>2]+g>>2]+(d<<2);c=c+1|0;if((f|0)!=(c|0)){continue}break}}j[b>>2]=j[a+12>>2]}c=e-d|0}return c}function cg(a,b){var c=0,d=0,e=0;if(!a){return}d=j[a+52>>2];e=j[d+68>>2];c=e&-113;j[d+68>>2]=c;a:{b:{c:{switch(b|0){case 1:c=c|16;break b;case 2:c=c|32;break b;case 4:c=c|64;break b;case 0:break a;default:break c}}Be(4);d=j[a+52>>2];c=j[d+68>>2];break a}j[d+68>>2]=c}if((c|0)!=(e|0)){vf(d)}}function bj(a){var b=0,c=0,d=0;if(a){b=j[a>>2];if(b){c=j[a+8>>2];if((c|0)>=1){while(1){b=j[(d<<2)+b>>2];if(b){ze(b);c=j[a+8>>2]}d=d+1|0;if((d|0)<(c|0)){b=j[a>>2];continue}break}b=j[a>>2]}ze(b)}b=j[a+4>>2];if(b){ze(b)}b=j[a+12>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function bL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=j[a+20>>2];if(k[a+68|0]){g=j[e+8>>2];f=i[e+2>>1];a=j[e+4>>2]+(f<<3)|0;j[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;j[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;h[g+f|0]=d?1:2}i[e+2>>1]=l[e+2>>1]+1}function Sr(a,b){var c=0;if(!a){return}if(!b){return}a=j[a>>2];if(!a){return}if(h[b+16|0]&1){c=j[b+4>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+4>>2]=0;c=j[b+8>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+8>>2]=0;c=j[b+12>>2];if(c){qe[j[a+8>>2]](a,c)}}j[b>>2]=0;j[b+4>>2]=0;j[b+16>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0}function sI(a,b){a=a|0;b=b|0;var c=0;a:{switch(b|0){case 0:return a+160|0;case 3:return a+216|0;case 4:return(k[a+292|0]?a+296|0:0)|0;case 2:return(l[a+364>>1]==65535?0:a+364|0)|0;case 5:return a+468|0;case 1:return a+260|0;case 6:c=j[a+548>>2]?a+548|0:0;break;default:break a}}return c|0}function rh(a){var b=0,c=0;if(a){b=j[a>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}b=j[a+8>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function Vr(a,b,c){var d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;d=0;a:{if(!a){break a}f=j[a+92>>2];d=0;if(!f){break a}d=0;if(!j[a+16>>2]){break a}j[e+12>>2]=b;while(1){g=qe[j[j[f+12>>2]+16>>2]](f,e+12|0)|0;if(g>>>0>=m[a+16>>2]){continue}break}d=g?j[e+12>>2]:0}a=d;if(c){j[c>>2]=g}oe=e+16|0;return a}function Mu(a){var b=0,c=0;b=j[67085];if(!b){ve(57733,0);return 0}if(!(j[a>>2]==(b+316|0)?a:0)){ve(56433,0);return 0}if(!(k[a+48|0]&2)){ve(57333,0);return 0}b=qe[j[b+180>>2]](b,a)|0;if(!b){return 0}c=j[67085];j[c+700>>2]=b;j[c+696>>2]=a;Dj(j[c+704>>2],a);Dj(j[j[67085]+708>>2],b);return b}function li(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-16|0;oe=c;g=a;h=a;a:{if(!b){b=0;e=0;break a}d=b;b=s(b);Nf(c,d,0,0,0,b+81|0);d=0+j[c+8>>2]|0;b=(j[c+12>>2]^65536)+(16414-b<<16)|0;b=d>>>0>>0?b+1|0:b;f=d;d=b;b=j[c+4>>2];e=j[c>>2]}j[h>>2]=e;j[g+4>>2]=b;j[a+8>>2]=f;j[a+12>>2]=d;oe=c+16|0}function cE(){var a=0;_g();a:{if(!j[65546]){break a}if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0;a=j[65539];if(!a){break a}qe[a|0]()}Jg();a=j[65536];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[65536]=0}}function Ih(a){var b=0;if(a){b=j[a+260>>2];if(b){qe[b|0](a)}rh(j[a+168>>2]);b=j[a+176>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+188>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+244>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function HD(a){var b=0,c=0,d=0,e=0;e=Le(a);a:{if(!j[67124]|!k[a|0]){break a}if($g(a,61)){break a}b=j[j[67124]>>2];if(!b){break a}b:{while(1){d=Qe(a,b,e);b=j[67124];if(!d){d=j[b+(c<<2)>>2]+e|0;if(k[d|0]==61){break b}}c=c+1|0;b=j[b+(c<<2)>>2];if(b){continue}break}return 0}c=d+1|0}return c}function XJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=j[a+16>>2];j[a+32>>2]=b;c=j[a+20>>2];j[a+36>>2]=c;d=j[a+8>>2];e=(d+j[a>>2]|0)/2|0;j[a+8>>2]=e;b=(b+d|0)/2|0;j[a+24>>2]=b;d=j[a+12>>2];f=(d+j[a+4>>2]|0)/2|0;j[a+12>>2]=f;c=(c+d|0)/2|0;j[a+28>>2]=c;j[a+16>>2]=(b+e|0)/2;j[a+20>>2]=(c+f|0)/2}function Lh(a){var b=0,c=0,d=0,e=0,f=0;f=j[a+76>>2]>=0;d=j[a>>2]&1;if(!d){b=j[a+52>>2];if(b){j[b+56>>2]=j[a+56>>2]}c=j[a+56>>2];if(c){j[c+52>>2]=b}if(j[67123]==(a|0)){j[67123]=c}}b=op(a);c=qe[j[a+12>>2]](a)|0;e=j[a+96>>2];if(e){ze(e)}a:{if(!d){ze(a);break a}if(!f){break a}}return b|c}function hA(a,b){a=a|0;b=b|0;a=j[a+436>>2];j[a+356>>2]=1;if(!b){qe[j[a+188>>2]](36160,j[a+236>>2]);return 0}b=j[b+76>>2];qe[j[a+188>>2]](36160,j[j[b+40>>2]+8>>2]);qe[j[a+192>>2]](36160,36064,j[b+4>>2],j[b>>2],0);if((qe[j[a+196>>2]](36160)|0)!=36053){a=ve(33805,0)}else{a=0}return a|0}function Yu(){var a=0,b=0,c=0;a:{b=j[67085];if(!b|!j[b+288>>2]){break a}b=1;if((We(4096,-1)|0)!=1){b=(We(4097,-1)|0)==1}c=j[67085];a=j[c+308>>2];if(!a){break a}qe[j[c+288>>2]](a,b);a=j[a+152>>2];if(!a){break a}while(1){qe[j[j[67085]+288>>2]](a,b);a=j[a+152>>2];if(a){continue}break}}}function Jl(a,b){var c=0,d=0,e=0;b=Ee(b,0,112);j[b+76>>2]=0;j[b+64>>2]=a;j[b+68>>2]=0;if(j[a>>2]){c=bf(1,72);j[b+104>>2]=c;j[c+4>>2]=-971228160;a=b+4|0;e=c+12|0;while(1){a:{if((d|0)==7){j[c+40>>2]=a;b=a;break a}b=bf(1,20);j[(d<<2)+e>>2]=b}GE(b);d=d+1|0;if((d|0)!=15){continue}break}}}function Wj(a,b){var c=0,d=0;c=j[65565];if((a|0)==-1){if((c|0)>=1){a=0;while(1){d=Wj(a,b)+d|0;a=a+1|0;c=j[65565];if((a|0)<(c|0)){continue}break}}return(d|0)/(c|0)|0}a:{if((a|0)>=(c|0)){break a}a=j[65566]+p(a,60)|0;d=j[a+16>>2];if((b|0)<0){break a}j[a+16>>2]=(b|0)<128?b:128}return d}function Tt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(j[b>>2]){a=j[c+24>>2];b=j[c+4>>2];d=j[b+48>>2];j[c+24>>2]=0;j[b+48>>2]=a|d|1;return 0}a=j[c+4>>2];j[a+48>>2]=j[a+48>>2]&-4098;a=Ch(a);if((a|0)>=0){a=j[j[67085]+304>>2]+p(a,72)|0}else{a=0}if(j[a+60>>2]==j[c+4>>2]){j[a+60>>2]=0}return 0}function IA(){var a=0;if(k[268300]){while(1){bg(1);if(k[268300]){continue}break}}a=j[67074];if(a){while(1){j[a+88>>2]=1;el(a);a=j[67074];if(a){continue}break}}qe[j[58781]]();Tj(16384);ji(31325,169,0);a=j[67073];if(a){j[67073]=0;if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}NA()}function yK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=j[c>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}d=j[c+4>>2];c=d+32768&-65536;if((d|0)<0){c=0-(32768-d&-65536)|0}a:{if(j[a+4>>2]){break a}b=ej((p((b|0)!=0,36)+a|0)+16|0,e>>16,c>>16,j[a>>2],0);if(!b){break a}j[a+4>>2]=b}}function gG(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=j[a+100>>2];b=j[a+132>>2];if(b){if(j[b+160>>2]){jf(j[a+104>>2],b+160|0)}d=c;e=j[b+168>>2];if(e){qe[j[d+8>>2]](d,e)}j[b+168>>2]=0;if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0}d=j[a+32>>2];if(d){qe[j[c+8>>2]](c,d)}j[a+28>>2]=0;j[a+32>>2]=0}}function RK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=qe[j[a+20>>2]](l[j[a+16>>2]+(b<<1)>>1])|0;d=j[a+24>>2];if(!d){break a}e=j[a+28>>2];while(1){a=j[(c<<2)+e>>2];if(!(!a|k[a|0]!=k[b|0])){if(!we(a,b)){break a}}c=c+1|0;if(d>>>0>c>>>0){continue}break}c=0}return c|0}function ki(a,b,c,d){var e=0,f=0,g=0;f=j[67125]+1|0;j[67125]=f;j[a>>2]=f;a:{if(d){while(1){g=(e<<3)+c|0;if(!j[g>>2]){break a}e=e+1|0;if((e|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=ki(e,b,Vf(c,d<<4|8),a);D(a|0);return b}j[g>>2]=f;a=(e<<3)+c|0;j[a+4>>2]=b;j[a+8>>2]=0;D(d|0);return c}function Lj(a){var b=0;a:{b=j[67024];if((b|0)==(a|0)){break a}if(b){zf(b,11,0,0)}j[67024]=a;j[67034]=0;b:{if(a){zf(a,10,0,0);b=268200;if(j[67024]){break b}}b=268196}a=j[67015];b=j[b>>2];if(!(j[67035]|(!b|!j[67051]))){if(!a){break a}qe[a|0](b)|0;return}if(!a){break a}qe[a|0](0)|0}}function BH(a){var b=0,c=0;b=oe-16|0;oe=b;c=hb(a|0,b+12|0,b+8|0)|0;a:{if(c){a=ug(0,j[b+12>>2],j[b+8>>2],32,255,65280,16711680,-16777216);if(a){Ae(j[a+20>>2],c,p(j[b+12>>2],j[b+8>>2])<<2)}ze(c);break a}c=fi(a,1847);a=Al(a,46);if(!c){a=0;break a}a=aG(c,a?a+1|0:0)}oe=b+16|0;return a}function xg(a,b){var c=0,d=0;d=Mf(a);c=j[66036];a:{b:{c:{if(!c){break c}while(1){if(!cf(a,j[c>>2])){if(j[c+8>>2]!=2?d:0){break b}d=j[c+4>>2];break c}c=j[c+16>>2];if(c){continue}break}}if(!d){break a}}a=k[d|0];if(!a){break a}if((a|0)!=48){b=1;if(Me(d,22584)){break a}}b=0}return b}function ye(a,b){var c=0,d=0;if(!(!a|(b|0)==65536)){d=(a|0)<0?-1:1;d=(b|0)<0?0-d|0:d;c=a;a=a>>31;a=c+a^a;c=b;b=b>>31;b=c+b^b;a:{if(a+(b>>>8|0)>>>0<=8190){a=p(a,b)+32768>>>16|0;break a}c=a&65535;a=p(c,b>>>16|0)+p(b,a>>>16|0)+(p(c,b&65535)+32768>>>16)|0}a=(d|0)<0?0-a|0:a}return a}function BE(a,b){var c=0,d=0,e=0,f=0;d=a+2|0;c=k[a+2|0];e=!c;a=k[a+1|0]<<16|k[a|0]<<24|c<<8;f=k[b+1|0]<<16|k[b|0]<<24|k[b+2|0]<<8;a:{if(!(!c|(a|0)==(f|0))){while(1){b=d+1|0;c=k[d+1|0];e=!c;a=(a|c)<<8;if((f|0)==(a|0)){break a}d=b;if(c){continue}break}break a}b=d}return e?0:b-2|0}function _I(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=142;e=l[a+152>>1];a:{if(!e){break a}a=j[a+156>>2];e=a+(e<<4)|0;while(1){b:{if(j[a>>2]==(b|0)){g=j[a+12>>2];if(g){break b}}a=a+16|0;if(e>>>0>a>>>0){continue}break a}break}if(d){j[d>>2]=g}f=Fe(c,j[a+8>>2])}return f|0}function _G(a,b){var c=0,d=0;a:{d=k[a+9|0];if(d>>>0>7){break a}c=j[a+4>>2];a=8240;b:{c:{switch(d-1|0){case 1:a=8496;break b;case 0:break b;case 3:break c;default:break a}}a=8752}if((c|0)<1){break a}c=b+c|0;while(1){h[b|0]=k[k[b|0]+a|0];b=b+1|0;if(c>>>0>b>>>0){continue}break}}}function Xf(a,b){var c=0,d=0;c=h[b|0];if(!c){return a}a=$g(a,c);a:{if(!a){break a}if(!k[b+1|0]){return a}if(!k[a+1|0]){break a}if(!k[b+2|0]){return CE(a,b)}if(!k[a+2|0]){break a}if(!k[b+3|0]){return BE(a,b)}if(!k[a+3|0]){break a}if(!k[b+4|0]){return AE(a,b)}d=zE(a,b)}return d}function Vu(a,b,c){if(!(!a|!b|(!c|k[a+209|0]&2))){a:{if(!((k[c+2|0]-1&255)>>>0>11|(k[c+3|0]-1&255)>>>0>30|(k[c+4|0]>23|k[c+5|0]>59))){if(k[c+6|0]<61){break a}}Ze(a,5383);return}a=l[c+4>>1]|l[c+6>>1]<<16;j[b+140>>2]=l[c>>1]|l[c+2>>1]<<16;j[b+144>>2]=a;j[b+8>>2]=j[b+8>>2]|512}}function IG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;f=b>>>0<4?b:4;if(f){b=0;while(1){d=b<<2;h=d+e|0;d=j[c+d>>2];g=d+32768&-65536;if((d|0)<0){g=0-(32768-d&-65536)|0}j[h>>2]=g>>16;b=b+1|0;if((f|0)!=(b|0)){continue}break}}a=aq(a,f,e);oe=e+16|0;return a|0}function bA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=Yn(b);d=Wn(b);if(!(23>>>b&1)|b>>>0>=5){c=b&15}else{c=1}e=Xn(b);f=Vn(b);if(!(23>>>b&1)|b>>>0>=5){b=b>>>16&15}else{b=1}a:{if(a-1>>>0>9|d-1>>>0>9|(c-1>>>0>2|e-1>>>0>9)){break a}if(f-1>>>0>9){break a}return b-1>>>0<3|0}return 0}function Yh(a){var b=0,c=0;j[a+20>>2]=0;j[a+48>>2]=0;b=j[a+24>>2];j[a+56>>2]=j[a+20>>2];j[a+60>>2]=b;c=j[a+32>>2];b=a- -64|0;j[b>>2]=j[a+28>>2];j[b+4>>2]=c;b=j[a+40>>2];j[a+72>>2]=j[a+36>>2];j[a+76>>2]=b;j[a+88>>2]=j[a+52>>2];b=j[a+48>>2];j[a+80>>2]=j[a+44>>2];j[a+84>>2]=b}function Cp(a,b){var c=0,d=0,e=0;if(a){Ee(a+8|0,0,352);j[a+24>>2]=1024;j[a+4>>2]=16384;d=Te(16384);j[a>>2]=d;c=Te(4096);j[a+16>>2]=c;e=Te(8192);j[a+20>>2]=e;a:{if(d){if(c?e:0){break a}ze(d);c=j[a+16>>2]}if(c){ze(c)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360);return}j[a+336>>2]=b}}function ni(a,b,c){var d=0,e=0,f=0;a:{if(b>>>0<1){d=a;break a}while(1){d=iP(a,b,10);e=pe;f=e;e=gP(d,e,10,0);c=c-1|0;h[c|0]=a-e|48;e=b>>>0>9;a=d;b=f;if(e){continue}break}}if(d){while(1){c=c-1|0;a=(d>>>0)/10|0;h[c|0]=d-p(a,10)|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function zl(a){var b=0;if(j[a+76>>2]<0){a:{if(h[a+75|0]==10){break a}b=j[a+20>>2];if(b>>>0>=m[a+16>>2]){break a}j[a+20>>2]=b+1;h[b|0]=10;return}To(a);return}b:{c:{if(h[a+75|0]==10){break c}b=j[a+20>>2];if(b>>>0>=m[a+16>>2]){break c}j[a+20>>2]=b+1;h[b|0]=10;break b}To(a)}}function du(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=oe-16|0;oe=a;if(j[c+28>>2]){H(j[c+12>>2],a+8|0,a|0)|0;c=j[c+4>>2];d=o[a>>3];a:{if(r(d)<2147483648){b=~~d;break a}b=-2147483648}d=o[a+8>>3];b:{if(r(d)<2147483648){e=~~d;break b}e=-2147483648}zf(c,5,e,b)}oe=a+16|0;return 0}function Ru(a){var b=0,c=0;b=oe-16|0;oe=b;c=j[67085];a:{if(!c){ve(57733,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(56433,0);break a}j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=j[a+24>>2];j[b+12>>2]=j[a+28>>2];if(!j[a+112>>2]){ve(56935,0);break a}qe[j[c+140>>2]](c,a,b,1)|0}oe=b+16|0}function Kt(a){a=a|0;var b=0,c=0,d=0;b=oe-32|0;oe=b;h[b+7|0]=0;j[b+8>>2]=370546692;c=E(63542,b+7|0,0)|0;h[b+6|0]=0;j[b+12>>2]=c;c=E(63569,b+6|0,0)|0;j[b+20>>2]=0;j[b+24>>2]=0;j[b+16>>2]=c;a:{if((dv(b+8|0)|0)<0){d=-1;break a}bv(j[a+304>>2],b+8|0);lu()}oe=b+32|0;return d|0}function $m(a,b){var c=0,d=0,e=0;a:{c=j[67085];if(!c){ve(57733,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(56433,0);break a}d=b&4097;c=j[a+48>>2];e=c&4097;if((d|0)==(e|0)){break a}j[a+48>>2]=c&-4098|d;if(!Xg(a,(c>>>6^-1)&c>>>2&b&1)){break a}j[a+48>>2]=j[a+48>>2]&-4098|e}}function yl(a){var b=0,c=0;a:{if(m[a+20>>2]<=m[a+28>>2]){break a}qe[j[a+36>>2]](a,0,0)|0;if(j[a+20>>2]){break a}return-1}b=j[a+4>>2];c=j[a+8>>2];if(b>>>0>>0){b=b-c|0;qe[j[a+40>>2]](a,b,b>>31,1)|0}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;return 0}function zy(){var a=0,b=0,c=0,d=0;a=oe-16|0;oe=a;a:{if(!$C()){Bp();b:{if(j[57795]==5){b=1;if(j[57797]){break b}}b=j[57815]==5&j[57817]!=0}if(!b){ve(21365,0)}zp(25);c=242880,d=vE(),j[c>>2]=d;if(hE()){break a}kE(j[60720]);break a}c=a,d=Ig(),j[c>>2]=d;hi(1259,a)}oe=a+16|0}function _i(a,b,c){var d=0,e=0,f=0;d=a*a;f=d*(d*d)*(d*1.58969099521155e-10+ -2.5050760253406863e-8)+(d*(d*27557313707070068e-22+ -.0001984126982985795)+.00833333333332249);e=d*a;if(!c){return e*(d*f+ -.16666666666666632)+a}return a-(d*(b*.5-e*f)-b+e*.16666666666666632)}function Et(a){a=a|0;var b=0,c=0,d=0;b=oe-16|0;oe=b;j[a+76>>2]=1;j[a+44>>2]=500;j[a+4>>2]=501;j[a+64>>2]=1;j[a+68>>2]=1;h[b+15|0]=0;c=E(63841,b+15|0,0)|0;a:{if(!c){ve(63980,0);break a}h[b+14|0]=0;d=(E(64007,b+14|0,0)|0)!=0}j[a+80>>2]=d;j[a+72>>2]=d;oe=b+16|0;return c|0}function Cu(a){a=a|0;var b=0,c=0;b=j[a+992>>2];if(b){c=j[b+8>>2];if(c){qe[j[b+52>>2]](c)|0;b=j[a+992>>2];j[b+8>>2]=0}c=j[b+4>>2];if(c){Sm(c);b=j[a+992>>2];j[b+4>>2]=0}c=j[b>>2];if(c){Sm(c);b=j[a+992>>2];j[b>>2]=0}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[a+992>>2]=0}}function pv(a){var b=0,c=0;if(a){b=j[a>>2];a:{if(!b){break a}c=j[b+56>>2];j[b+56>>2]=c-1;if((c|0)>1){break a}kf(b)}j[a>>2]=0;j[a+80>>2]=0;j[a+84>>2]=0;b=a- -64|0;c=j[b>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[b>>2]=0;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function mo(a){var b=0,c=0;c=j[67051];a:{if((a|0)<0){break a}b=(a|0)!=0;j[67051]=b;if((b|0)==(c|0)){break a}b=j[67015];b:{if(j[67035]|!a){break b}a=j[(j[67024]?268200:268196)>>2];if(!a){break b}if(!b){break a}qe[b|0](a)|0;return c}if(!b){break a}qe[b|0](0)|0}return c}function zu(a,b){var c=0,d=0;a:{c=k[a+441|0];b:{if(c>>>0>7){break b}j[a+800>>2]=17;b=b+32|0;d=8-c|0;pf(a,b+c|0,d);h[a+441|0]=8;if(Lo(b,c,d)){if(c>>>0<=3){if(Lo(b,c,4-c|0)){break a}}Ye(a,5725);z()}if(c>>>0>2){break b}j[a+208>>2]=j[a+208>>2]|4096}return}Ye(a,5710);z()}function SI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=j[a+508>>2];e=b;a:{b:{if(c){c=qe[d|0](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=qe[d|0](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=$e(e,156752,a);if(c){break a}j[a+36>>2]=0;j[a+40>>2]=0;c=0}return c|0}function RJ(a,b){a=a|0;b=b|0;var c=0;if(m[b+160>>2]>>0){Pe(b,8)}c=k[a+3|0]|k[a+2|0]<<8;if(!(m[b+160>>2]>=a+c>>>0?c>>>0>=262:0)){Pe(b,8)}if(j[b+164>>2]){a=a+6|0;c=0;while(1){if(m[b+172>>2]<=k[a|0]){Pe(b,16)}a=a+1|0;c=c+1|0;if((c|0)!=256){continue}break}}return 0}function ZN(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,m=0,n=0;while(1){h=g<<2;k=h+d|0;j[k>>2]=0;a:{b:{if(!b){i=f+h|0;j[i>>2]=0;break b}i=f+h|0;l=Fe(b,0);j[i>>2]=l;if(l){break a}}m=i,n=qe[j[(g<<3)+74800>>2]](a,b,c,k,e+h|0)|0,j[m>>2]=n}g=g+1|0;if((g|0)!=9){continue}break}}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;f=j[a+88>>2];if(b){j[b>>2]=j[a+300>>2]}if(c){j[c>>2]=j[a+304>>2]}a:{if(!f){b=65536;a=65536;break a}b=De(l[f+12>>1]<<6,j[a+304>>2]);a=De(l[f+14>>1]<<6,j[a+304>>2])}if(d){j[d>>2]=b}if(e){j[e>>2]=a}return 0}function xD(a){a=a|0;var b=0;b=j[a+68>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}b=j[a+60>>2];if(b){Ih(b)}b=j[a+56>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(j[a+4>>2]){b=j[a>>2];qe[j[b+16>>2]](b)|0}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function mG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=j[a+416>>2];if((d|0)>=1){f=j[a+420>>2];g=k[b|0];while(1){a:{e=j[(c<<2)+f>>2];if(k[e|0]!=(g|0)){break a}if(we(b,e)){break a}return rf(j[j[a+424>>2]+(c<<2)>>2])|0}c=c+1|0;if((d|0)>(c|0)){continue}break}}return 0}function Pf(a,b,c){var d=0,e=0;d=oe-224|0;oe=d;a:{b:{if(k[a+209|0]&128){if(k[a+214|0]&16|(c|0)<=1){break b}hf(a,b);z()}e=j[a+212>>2];c:{d:{if((c|0)<=0){if(e&2097152){break d}break c}if(!(e&4194304)){break c}}Ze(a,b);break a}Ye(a,b);z()}dj(a,d,b);Ze(a,d)}oe=d+224|0}function Tr(a,b){var c=0;a:{if(!a|!b){break a}c=l[a+2>>1];if((c|0)!=l[b+2>>1]|l[a>>1]!=l[b>>1]|(a|0)==(b|0)){break a}Ae(j[b+4>>2],j[a+4>>2],c<<16>>16<<3);Ae(j[b+8>>2],j[a+8>>2],i[a+2>>1]);Ae(j[b+12>>2],j[a+12>>2],i[a>>1]<<1);j[b+16>>2]=j[a+16>>2]&-2|j[b+16>>2]&1}}function FD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=j[a+64>>2];if((e|0)>=1){f=j[a+68>>2];while(1){d=p(c,20)+f|0;j[d>>2]=1;j[d+16>>2]=j[d+12>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[a+36>>2]=b;b=j[a>>2];qe[j[b+4>>2]](b,j[a+40>>2],j[a+44>>2],0)|0;return pe>>31}function Rp(a){var b=0,c=0,d=0,e=0;b=j[a+84>>2];if(b){while(1){c=j[b+4>>2];ze(j[b>>2]);ze(b);b=c;if(b){continue}break}}c=j[a+80>>2];if(c){d=a,e=Vf(j[a+68>>2],c+j[a+76>>2]|0),j[d+68>>2]=e;c=j[a+80>>2];j[a+80>>2]=0;j[a+76>>2]=c+j[a+76>>2]}j[a+84>>2]=0;j[a+72>>2]=0}function wp(a,b){var c=0,d=0,e=0;rP(+a);c=oP(1)|0;d=oP(0)|0;e=c;c=c>>>20&2047;if((c|0)!=2047){if(!c){c=b;if(a==0){b=0}else{a=wp(a*0x10000000000000000,b);b=j[b>>2]+ -64|0}j[c>>2]=b;return a}j[b>>2]=c-1022;pP(0,d|0);pP(1,e&-2146435073|1071644672);a=+qP()}return a}function vs(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b=oi(b,1024);if(b){Yi(b,0,2);c=qp(b);Yi(b,0,0);d=Te(c+1|0);if(d){e=ak(d,1,c,b);if(e>>>0>c>>>0){break a}h[d+e|0]=0;Lh(b)}j[a>>2]=d;j[a+4>>2]=c;return}f=a,g=bf(1,1),j[f>>2]=g;j[a+4>>2]=1;return}za(1027,1050,45,1069);z()}function uH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>=0){c=b+c|0;b=j[a+480>>2];c=j[a+484>>2]+(c-b|0)|0;a=(c-((c|0)%j[a+476>>2]|0)|0)+b|0;return((a|0)<0?b:a)|0}d=b;b=j[a+480>>2];c=j[a+484>>2]+c-(d+b)|0;a=(((c|0)%j[a+476>>2]|0)-c|0)-b|0;return((a|0)>0?0-b|0:a)|0}function HN(a,b){var c=0;if(!a){return 40}j[a+16>>2]=b;j[a+8>>2]=0;j[a+12>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a>>2]=0;b=oi(b,74940);if(!b){return 1}Yi(b,0,2);c=qp(b);j[a+4>>2]=c;if(!c){Lh(b);return 81}Yi(b,0,0);j[a+24>>2]=575;j[a+20>>2]=576;j[a+12>>2]=b;return 0}function RM(a,b){a=a|0;b=b|0;var c=0;a=j[a+656>>2];b=l[j[a+1160>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=m[a+1312>>2]){break a}return j[j[a+1316>>2]+(b<<2)>>2]}a=j[a+2956>>2];if(!a){break a}c=qe[j[a+20>>2]](b)|0}return c|0}function lu(){var a=0,b=0;j[67018]=454;j[67017]=455;j[67015]=456;j[67013]=457;j[67020]=458;j[67014]=459;a=Xe(1,8);a:{if(a){b=Xe(1,8);if(!b){Be(0);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}no(0);return}j[b+4>>2]=0;j[b>>2]=62386;j[a+4>>2]=b;break a}Be(0)}no(a)}function JL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=j[a>>2];c=j[b+408>>2];j[a+16>>2]=c;d=j[b+416>>2];j[a+20>>2]=d;a:{if(c>>>0<2){break a}b=j[d>>2];a=1;while(1){e=b;b=j[(a<<4)+d>>2];if(e>>>0>>0){a=a+1|0;if((c|0)!=(a|0)){continue}break a}break}f=8}return f|0}function Hh(a,b,c){var d=0,e=0;d=oe-32|0;oe=d;a:{if(!a){j[d>>2]=23915;e=ve(23613,d);break a}if(!b){j[d+16>>2]=23922;e=ve(23613,d+16|0);break a}e=0;if((c|0)<1){break a}if((c|0)%j[a+208>>2]|0){e=ve(23958,0);break a}e=Fo(j[a+168>>2],b,c)}a=e;oe=d+32|0;return a}function yO(a){var b=0;j[a+56>>2]=0;j[a+84>>2]=0;b=i[a+22>>1];j[a- -64>>2]=b+j[a+28>>2];j[a+68>>2]=j[a+32>>2]+(i[a+20>>1]<<1);b=b<<3;j[a+60>>2]=b+j[a+24>>2];if(k[a+16|0]){j[a+76>>2]=b+j[a+40>>2];j[a+80>>2]=b+j[a+44>>2]}j[a+88>>2]=j[a+52>>2]+(j[a+48>>2]<<5)}function oi(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;a:{b:{if(!$g(226820,h[b|0])){j[67100]=28;break b}e=LD(b);j[c>>2]=438;a=Oa(a|0,e|32768,c|0)|0;if(a>>>0>=4294963201){j[67100]=0-a;a=-1}if((a|0)<0){break a}d=iE(a,b);if(d){break a}X(a|0)|0}d=0}oe=c+16|0;return d}function fE(a,b){var c=0,d=0;c=oe-160|0;oe=c;Ae(c+8|0,226824,144);j[c+52>>2]=a;j[c+28>>2]=a;d=-2-a|0;d=d>>>0<2147483647?d:2147483647;j[c+56>>2]=d;a=a+d|0;j[c+36>>2]=a;j[c+24>>2]=a;gp(c+8|0,76755,b);if(d){a=j[c+28>>2];h[a-((a|0)==j[c+24>>2])|0]=0}oe=c+160|0}function Vf(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){return Te(b)|0}if(b>>>0>=4294967232){j[67100]=48;return 0}c=BD(a-8|0,b>>>0<11?16:b+11&-8);if(c){return c+8|0}c=Te(b);if(!c){return 0}d=j[a-4>>2];d=(d&3?-4:-8)+(d&-8)|0;Ae(c,a,b>>>0>d>>>0?d:b);ze(a);return c|0}function QG(a,b){a=a|0;b=b|0;var c=0,d=0;a:{d=j[a>>2];c=j[d+548>>2];d=Kf(j[j[d+96>>2]+4>>2],159968);if(!(!c|!d)){c=j[c>>2];if(c){break a}}Ei(j[a>>2],b);return 0}c=qe[c|0](d)|0;Ei(j[a>>2],b);if(c){qe[j[c+4>>2]](j[a+40>>2],j[a+16>>2],j[a+20>>2],0,0)}return 0}function ID(){var a=0,b=0;a=oe-16|0;oe=a;a:{if(La(a+12|0,a+8|0)|0){break a}b=Te((j[a+12>>2]<<2)+4|0);j[67124]=b;if(!b){break a}b=Te(j[a+8>>2]);if(!b){j[67124]=0;break a}j[j[67124]+(j[a+12>>2]<<2)>>2]=0;if(!(Ka(j[67124],b|0)|0)){break a}j[67124]=0}oe=a+16|0}function CF(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;a:{if((f|0)<1){break a}b=0;h=0;while(1){i=h<<2;if(j[i+e>>2]){j[(b<<2)+d>>2]=j[d+i>>2];b=b+1|0}h=h+1|0;if((h|0)!=(f|0)){continue}break}if(!b){break a}Sp(a,c,d,b,g)}return 0}function mB(){var a=0,b=0;a=j[67055];if(a){while(1){a=a-1|0;b=j[j[67056]+(a<<2)>>2];nB(j[b>>2],j[b+4>>2]);if(a){continue}break}}a=j[67056];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[67056]=0;a=j[66370];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66370]=0}function iu(a){a=a|0;var b=0;b=oe-16|0;oe=b;a:{if(!j[67024]){break a}b:{if(!a){break b}a=j[a+4>>2];if(!a){break b}a=j[a>>2];if(!a){break a}h[b+14|0]=105;h[b+15|0]=0;j[b>>2]=a;E(62224,b+14|0,b|0)|0;break a}h[b+13|0]=0;E(62317,b+13|0,0)|0}oe=b+16|0;return 0}function Do(a){var b=0,c=0;b=oe+ -64|0;oe=b;c=a+60|0;a:{if(j[a+56>>2]|!j[c>>2]){break a}qe[j[66053]](a);j[c>>2]=0;qe[j[66054]](a);if((We(4353,-1)|0)!=1){break a}Oe(b+8|0,0,56);j[b+8>>2]=4353;j[b+16>>2]=j[a>>2];h[b+20|0]=j[a+68>>2]!=0;gf(b+8|0)}oe=b- -64|0}function yL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;gr(a,b,c,d);b=j[a+300>>2];c=j[a+304>>2];a:{if((b|0)==(c|0)){break a}e=j[d>>2];if(e){f=d,g=Ne(e,b,c),j[f>>2]=g}b=j[d+4>>2];if(!b){break a}f=d,g=Ne(b,j[a+300>>2],j[a+304>>2]),j[f+4>>2]=g}return 0}function To(a){var b=0,c=0,d=0;c=oe-16|0;oe=c;h[c+15|0]=10;b=j[a+16>>2];a:{if(!b){if(Uo(a)){break a}b=j[a+16>>2]}d=b;b=j[a+20>>2];if(!(h[a+75|0]==10|d>>>0<=b>>>0)){j[a+20>>2]=b+1;h[b|0]=10;break a}if((qe[j[a+36>>2]](a,c+15|0,1)|0)!=1){break a}}oe=c+16|0}function Hm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=j[j[a+4>>2]+100>>2];c=j[a+156>>2];f=j[c+4>>2];a:{if(f&1){c=j[a+88>>2];if(c){qe[j[e+8>>2]](e,c)}j[a+88>>2]=0;break a}j[c+4>>2]=f|1}g=a,h=He(e,b,d+12|0),j[g+88>>2]=h;oe=d+16|0;return j[d+12>>2]}function KD(a,b){var c=0,d=0,e=0;c=oe-160|0;oe=c;Ee(c+16|0,0,144);j[c+92>>2]=-1;j[c+60>>2]=b;j[c+24>>2]=-1;j[c+20>>2]=b;kg(c+16|0,0,0);dp(c,c+16|0,1,1);b=j[c+8>>2];d=j[c+12>>2];e=j[c+4>>2];j[a>>2]=j[c>>2];j[a+4>>2]=e;j[a+8>>2]=b;j[a+12>>2]=d;oe=c+160|0}function vg(a,b){var c=0;c=oe-16|0;oe=c;a:{if(!a){break a}j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=j[a+8>>2];j[c+12>>2]=j[a+12>>2];a=a+36|0;if(!b){b=j[c+4>>2];j[a>>2]=j[c>>2];j[a+4>>2]=b;b=j[c+12>>2];j[a+8>>2]=j[c+8>>2];j[a+12>>2]=b;break a}Fg(b,c,a)}oe=c+16|0}function lp(a){var b=0,c=0;b=k[a+74|0];h[a+74|0]=b-1|b;if(m[a+20>>2]>m[a+28>>2]){qe[j[a+36>>2]](a,0,0)|0}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;b=j[a>>2];if(b&4){j[a>>2]=b|32;return-1}c=j[a+44>>2]+j[a+48>>2]|0;j[a+8>>2]=c;j[a+4>>2]=c;return b<<27>>31}function iN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[a+16>>2];if(c){f=j[a+20>>2];a=0;while(1){e=a+c>>>1|0;d=j[(e<<3)+f>>2];if((d|0)==(b|0)){return l[((e<<3)+f|0)+4>>1]+1&65535}d=b>>>0>>0;a=d?a:e+1|0;c=d?e:c;if(a>>>0>>0){continue}break}}return 0}function Uj(a,b){var c=0,d=0,e=0;j[a+28>>2]=b;b=0;while(1){c=p(b,84)+a|0;e=c;if(l[c+136>>1]){j[c+56>>2]=0;j[c+60>>2]=0;d=j[c+76>>2];if(d){ze(d);j[c+76>>2]=0}d=j[c+100>>2];if(d){ze(d);j[c+100>>2]=0}i[e+136>>1]=0}b=b+1|0;if((b|0)!=257){continue}break}}function AL(a){a=a|0;var b=0,c=0,d=0;c=j[j[a+188>>2]>>2];b=c;d=j[a+168>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+172>>2]=0;j[a+164>>2]=0;j[a+168>>2]=0;b=j[a+184>>2];if(b){qe[j[c+8>>2]](c,b)}h[a+192|0]=0;j[a+184>>2]=0;j[a+188>>2]=0;j[a+176>>2]=0;j[a+180>>2]=0}function KK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=j[a+16>>2];c=j[b>>2]+1|0;c=c>>>0>>0?d:c;d=d+j[a+20>>2]|0;a:{if(c>>>0>>0){e=j[a+24>>2];while(1){a=l[(c<<1)+e>>1];if(a){break a}c=c+1|0;if(d>>>0>c>>>0){continue}break}}a=0;c=0}j[b>>2]=c;return a|0}function FA(a){var b=0,c=0;c=oe+ -64|0;oe=c;j[c+8>>2]=1542;if((We(1542,-1)|0)==1){j[c+16>>2]=a;gf(c+8|0)}EA();b=j[67074];a:{if(!b){break a}while(1){if(j[b>>2]==(a|0)){j[b+72>>2]=1;j[b+60>>2]=0;break a}b=j[b+92>>2];if(b){continue}break}}oe=c- -64|0}function LL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[a+16>>2];if(c){f=j[a+20>>2];a=0;while(1){e=a+c>>>1|0;d=j[(e<<3)+f>>2];if((d|0)==(b|0)){return l[((e<<3)+f|0)+4>>1]+1|0}d=b>>>0>>0;a=d?a:e+1|0;c=d?e:c;if(a>>>0>>0){continue}break}}return 0}function JA(a){var b=0,c=0,d=0;b=oe-16|0;oe=b;a:{b:{if((a|0)>=0){c=qe[j[58771]]()|0;if((c|0)>(a|0)){break b}}j[b>>2]=c;ve(31362,b);break a}a=qe[j[58773]](a)|0;if(!a){break a}if(Qe(a,31427,Le(31427))){d=a;break a}d=Le(31427)+a|0}oe=b+16|0;return d}function vL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a:{if(j[c+80>>2]){break a}b=b-a|0;f=He(j[c>>2],b+1|0,d+12|0);j[c+80>>2]=f;e=j[d+12>>2];if(e){break a}Ae(f,a,b);h[b+j[c+80>>2]|0]=0;e=j[d+12>>2]}oe=d+16|0;return e|0}function Zi(a,b){var c=0,d=0,e=0,f=0;c=a*a;d=c*.5;e=1-d;f=1-e-d;d=c*c;return e+(f+(c*(c*(c*(c*2480158728947673e-20+ -.001388888888887411)+.0416666666666666)+d*d*(c*(c*-1.1359647557788195e-11+2.087572321298175e-9)+ -2.7557314351390663e-7))-a*b))}function Yf(a,b,c,d){var e=0;if(!(!a|b>>>0<=c>>>0)){a:{if(!d){break a}e=b-1|0;if(e>>>0<=c>>>0){break a}b=k[d|0];if(!b){break a}while(1){h[a+c|0]=b;c=c+1|0;if(e>>>0<=c>>>0){break a}b=k[d+1|0];d=d+1|0;if(b&255){continue}break}}h[a+c|0]=0}return c}function Qz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=nh(a,d<<3,b+4|0);if(!a){return-1}j[b+8>>2]=d;if((d|0)>=1){b=0;while(1){e=(b<<3)+c|0;n[a>>2]=n[e>>2]+q(.5);n[a+4>>2]=n[e+4>>2]+q(.5);a=a+8|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function ct(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=j[a+96>>2];bg(j[e+4>>2]);d=j[e>>2];a:{if(!d){d=c;break a}d=qe[j[d+8>>2]](d,b,1,c)|0;b=d+b|0;d=c-d|0;if((d|0)<1){break a}f=j[e>>2];qe[j[f+16>>2]](f)|0;j[e>>2]=0}Oe(b,k[a+11|0],d);return c|0}function oM(a,b){a=a|0;b=b|0;var c=0;Ei(j[a>>2],b);c=j[a>>2];b=j[c+320>>2];c=Kf(j[j[c+96>>2]+4>>2],82546);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}b=qe[b|0](c)|0;if(!b){break a}qe[j[b+4>>2]](j[a+40>>2],j[a+16>>2],j[a+20>>2],0,0)}return 0}function Ef(a,b){var c=0,d=0,e=0;d=j[a+68>>2];c=j[a+72>>2];b=b+7&-8;if(j[a+76>>2]<(c+b|0)){if(d){e=Te(8);j[a+80>>2]=j[a+80>>2]+c;c=j[a+84>>2];j[e>>2]=d;j[e+4>>2]=c;j[a+84>>2]=e}j[a+76>>2]=b;d=Te(b);j[a+68>>2]=d;c=0}j[a+72>>2]=b+c;return c+d|0}function oL(a){a=a|0;var b=0,c=0,d=0;if(j[a+12>>2]==-559038737){c=j[a+32>>2];b=c;d=j[a>>2];if(d){qe[j[b+8>>2]](b,d)}j[a>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+28>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+12>>2]=0;j[a+28>>2]=0}}function bP(){var a=0;a=j[58882];if(a){Zk(a)}a=j[58883];if(a){Ik(a)}a=j[58904];if(a){lh(a)}a=j[58905];if(a){lh(a)}a=j[60720];if(a){mE(a)}a=j[60721];if(a){Oo(a)}pp();ze(j[58908]);ze(j[58909]);ze(j[58913]);ze(j[58917]);cJ();Qo();UD();QC();PC()}function Eo(a,b,c){var d=0;d=oe+ -64|0;oe=d;a:{if(a){b=Rj(b,c,264276,264268);break a}b=Rj(b,c,264272,264264)}b:{if((b|0)==-1){break b}if((We(4352,-1)|0)!=1){break b}Oe(d+8|0,0,56);h[d+20|0]=a;j[d+16>>2]=b;j[d+8>>2]=4352;gf(d+8|0)}oe=d- -64|0}function $o(a,b,c,d){var e=0;e=oe-144|0;oe=e;j[e+44>>2]=a;j[e+4>>2]=a;j[e>>2]=0;j[e+76>>2]=-1;j[e+8>>2]=(a|0)<0?-1:a+2147483647|0;kg(e,0,0);c=bp(e,0,1,c,d);d=pe;if(b){j[b>>2]=((j[e+4>>2]+j[e+120>>2]|0)-j[e+8>>2]|0)+a}oe=e+144|0;pe=d;return c}function tv(a){var b=0,c=0;c=oe-16|0;oe=c;a:{if(!a){j[c>>2]=55519;ve(55356,c);break a}b=j[a+12>>2];j[a+12>>2]=b-1;if((b|0)>1){break a}b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=c+16|0}function rD(a){a=a|0;var b=0;a=xp(Te(Le(a)+1|0),a);b=Xf(a,231124);if(b){h[b|0]=0}b=Xf(a,231128);if(b){h[b|0]=0}b=Xf(a,231132);if(b){h[b|0]=0}b=Xf(a,231136);if(b){h[b|0]=0}b=Xf(a,231142);if(b){h[b|0]=0}b=sD(a);if(!b){b=tD(a)}ze(a);return b|0}function mM(a,b){a=a|0;b=b|0;var c=0;c=j[a+192>>2];j[b+24>>2]=j[a+188>>2];j[b+28>>2]=c;c=j[a+184>>2];j[b+16>>2]=j[a+180>>2];j[b+20>>2]=c;c=j[a+176>>2];j[b+8>>2]=j[a+172>>2];j[b+12>>2]=c;c=j[a+168>>2];j[b>>2]=j[a+164>>2];j[b+4>>2]=c;return 0}function eq(a,b){a=a|0;b=b|0;var c=0;c=j[a+136>>2];j[b>>2]=j[a+132>>2];j[b+4>>2]=c;c=j[a+160>>2];j[b+24>>2]=j[a+156>>2];j[b+28>>2]=c;c=j[a+152>>2];j[b+16>>2]=j[a+148>>2];j[b+20>>2]=c;c=j[a+144>>2];j[b+8>>2]=j[a+140>>2];j[b+12>>2]=c;return 0}function bM(a){a=a|0;var b=0,c=0;b=j[a+12>>2];if(b){c=j[a+28>>2];nk(b+12|0);j[b+52>>2]=0;j[b+44>>2]=0;j[b+48>>2]=0;j[b+24>>2]=0;j[b+28>>2]=0;j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b+16>>2]=0;if(b){qe[j[c+8>>2]](c,b)}j[a+12>>2]=0}}function JM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[j[j[a>>2]+96>>2]+4>>2];j[b>>2]=0;j[b+4>>2]=0;d=j[a+12>>2];a:{if((d|0)==78284|(d|0)==78324){break a}c=Bh(Kf(c,78432),78540);if(!c){break a}c=j[c>>2];if(!c){break a}e=qe[c|0](a,b)|0}return e|0}function DO(a){Lf(a,74324);Lf(a,157908);Lf(a,159616);Lf(a,78188);Lf(a,82296);Lf(a,91348);Lf(a,162312);Lf(a,163636);Lf(a,90576);Lf(a,92024);Lf(a,93424);Lf(a,93348);Lf(a,155668);Lf(a,156320);Lf(a,157668);Lf(a,157740);Lf(a,157812);Lf(a,75036)}function CE(a,b){var c=0,d=0,e=0,f=0;c=k[a+1|0];e=!c;d=c|k[a|0]<<8;f=k[b+1|0]|k[b|0]<<8;a:{if(!c|(d|0)==(f|0)){break a}b=a+1|0;while(1){a=b;c=k[a+1|0];e=!c;d=c|d<<8&65280;if((f|0)==(d|0)){break a}b=a+1|0;if(c){continue}break}}return e?0:a}function Kf(a,b){var c=0,d=0;if(!a){return 0}if(!b){return 0}c=j[a+16>>2];if((c|0)<1){return 0}c=((c<<2)+a|0)+20|0;a=a+20|0;a:{while(1){d=j[a>>2];if(!we(j[j[d>>2]+8>>2],b)){break a}a=a+4|0;if(c>>>0>a>>>0){continue}break}return 0}return d}function gO(a){var b=0,c=0,d=0;c=oe-16|0;oe=c;d=6;a:{if(!a){break a}b=He(a,192,c+12|0);d=j[c+12>>2];if(d){break a}j[b>>2]=a;j[b+164>>2]=0;j[b+168>>2]=0;j[b+188>>2]=1;d=0;j[b+12>>2]=0;j[b+4>>2]=2;j[b+8>>2]=6;j[65573]=b}oe=c+16|0;return d}function zF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:{if((e|0)<1){break a}while(1){h=g<<2;if(j[h+d>>2]){j[(f<<2)+c>>2]=j[c+h>>2];f=f+1|0}g=g+1|0;if((g|0)!=(e|0)){continue}break}if(!f){break a}Tp(a,b,c,f,1037)}return 0}function tH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>=0){c=b+c|0;b=j[a+480>>2];a=(j[a+484>>2]+(c-b|0)&0-j[a+476>>2])+b|0;return((a|0)<0?b:a)|0}d=b;b=j[a+480>>2];a=0-((j[a+484>>2]+c-(d+b)&0-j[a+476>>2])+b|0)|0;return((a|0)>0?0-b|0:a)|0}function sK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{if(j[a+4>>2]){break a}e=c;g=a+52|0;f=j[g>>2];c=j[a+16>>2];if((e|0)!=(f+c|0)){break a}e=j[a>>2];c=lk(a+16|0,d,f,c,b,e);if(!c){c=lk(g,d,0,f,b,e);if(!c){break a}}j[a+4>>2]=c}}function rI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=6;a:{if(!d|!e){break a}g=l[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=j[a+156>>2]+(b<<4)|0;j[c>>2]=j[a>>2];j[d>>2]=j[a+8>>2];g=j[a+12>>2]}j[e>>2]=g;f=0}return f|0}function DF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:{if((e|0)<1){break a}while(1){h=g<<2;if(j[h+d>>2]){j[(f<<2)+c>>2]=j[c+h>>2];f=f+1|0}g=g+1|0;if((g|0)!=(e|0)){continue}break}if(!f){break a}Tp(a,b,c,f,1036)}return 0}function nI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=oe-16|0;oe=d;e=cm(a,157556,d);a:{if(e){break a}e=cm(a,157573,d+8|0);if(e){break a}e=6;if(j[d>>2]!=1|j[d+8>>2]!=1){break a}j[b>>2]=j[d+12>>2];j[c>>2]=j[d+4>>2];e=0}oe=d+16|0;return e|0}function HL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[a+16>>2];if(c){f=j[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=j[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=b>>>0>d>>>0;c=d?c:e;a=d?e+1|0:a;if(c>>>0>a>>>0){continue}break}}return 0}function hj(a,b,c){var d=0,e=0,f=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a=He(a,(Le(b)+Le(c)|0)+1|0,d+12|0);if(!j[d+12>>2]){e=Al(b,47);a:{if(e){f=b;b=(e-b|0)+1|0;sE(a,f,b);h[a+b|0]=0;b=e+1|0;break a}h[a|0]=0}e=yp(yp(a,c),b)}oe=d+16|0;return e}function Qe(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=k[a|0];a:{if(!d){break a}while(1){b:{e=k[b|0];if((e|0)!=(d|0)){break b}c=c-1|0;if(!c|!e){break b}b=b+1|0;d=k[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-k[b|0]|0}function vj(a,b,c,d,e,f,g,h,i){d=yj(d,f,g,h,i);if(!d){ve(55923,0);return 0}d=wj(0,0,d);if(d){j[d+20>>2]=a;j[d+36>>2]=0;j[d+40>>2]=0;j[d+16>>2]=e;j[d+12>>2]=c;j[d+8>>2]=b;j[d+48>>2]=c;j[d+44>>2]=b;j[d>>2]=j[d>>2]|1}else{d=0}return d}function Iu(a){var b=0;b=j[67085];if(!b){ve(57733,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(56433,0);return}if(!(k[a+48|0]&2)){ve(57333,0);return}if((Eh(j[b+704>>2])|0)!=(a|0)){ve(57460,0);return}b=j[67085];qe[j[b+200>>2]](b,a)|0}function BA(){a:{if((We(1536,-1)|0)==1){break a}if((We(1537,-1)|0)==1){break a}if((We(1538,-1)|0)==1){break a}if((We(1539,-1)|0)==1){break a}if((We(1540,-1)|0)==1){break a}if((We(1541,-1)|0)==1){break a}return We(1542,-1)}return 1}function dh(a,b){var c=0,d=0,e=0;a:{if(!a|!b){break a}c=j[a+16>>2];if((c|0)<1){break a}c=((c<<2)+a|0)+20|0;a=a+20|0;while(1){d=j[j[a>>2]>>2];if(we(j[d+8>>2],b)){a=a+4|0;if(c>>>0>a>>>0){continue}break a}break}e=j[d+20>>2]}return e}function WK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=oe-16|0;oe=f;e=He(b,16,f+12|0);g=j[f+12>>2];if(!g){j[e+12>>2]=2;j[e+8>>2]=d;j[e>>2]=c;j[e+4>>2]=c;j[a+8>>2]=0;j[a+12>>2]=0;j[a+4>>2]=e;j[a>>2]=b}oe=f+16|0;return g|0}function uf(a,b,c){var d=0,e=0,f=0;d=j[a+8>>2];f=j[a+4>>2];if(d>>>0>>0){e=j[a+20>>2];a:{if(e){b=qe[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>c>>>0?c:b;Ae(e,j[a>>2]+d|0,b)}j[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function tK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(j[a+4>>2]){break a}d=j[a+16>>2];e=a+52|0;f=j[e>>2];if((d+f|0)!=(b|0)){break a}g=j[a>>2];b=lk(a+16|0,c,0,d,0,g);if(!b){b=lk(e,c,d,f,0,g);if(!b){break a}}j[a+4>>2]=b}}function sh(a,b){if(!(!a|!j[a>>2])){j[a+344>>2]=0;j[a+348>>2]=0;j[a+340>>2]=-1;j[a+332>>2]=0;j[a+324>>2]=0;j[a+328>>2]=0;j[a+36>>2]=0;j[a+28>>2]=0;j[a+32>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;j[a+336>>2]=b;j[a+352>>2]=0;j[a+356>>2]=0}}function iK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=j[a>>2];d=a&2147483647;b=j[b>>2];e=b&2147483647;a:{if((d|0)==(e|0)){c=1;if(a>>>0>b>>>0){break a}return(a>>>0>>0?-1:0)|0}c=1;if(d>>>0>e>>>0){break a}c=d>>>0>>0?-1:0}return c|0}function ZL(a,b){a=a|0;b=b|0;var c=0,d=0;if((a|0)>0){while(1){d=j[(c<<2)+b>>2];a:{if(we(d,1831)){if(we(d,1834)){break a}}j[58880]=1}c=c+1|0;if((c|0)!=(a|0)){continue}break}}j[58882]=0;j[58883]=0;Ee(235536,0,26600);nN();return 0}function Yr(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}d=j[a+96>>2];if(!d){break a}b=j[a+128>>2];c=j[b+56>>2];j[b+56>>2]=c-1;if((c|0)<=1){c=j[d+8>>2];e=d+16|0;b=zh(e,a);if(!b){break a}Th(e,b);if(b){qe[j[c+8>>2]](c,b)}Vh(c,a,d)}}}function mH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=i[a+298>>1];if(e){e=Ne(d,e,j[a+564>>2]);f=j[b+12>>2]+(c<<3)|0;j[f>>2]=e+j[f>>2]}e=i[a+300>>1];if(e){a=Ne(d,e,j[a+564>>2]);b=j[b+12>>2]+(c<<3)|0;j[b+4>>2]=a+j[b+4>>2]}}function DB(a){var b=0,c=0,d=0;c=oe+ -64|0;oe=c;b=k[a|0];a:{if(b>>>0<32|(b|0)==127){break a}if((We(771,-1)|0)!=1){break a}j[c+8>>2]=771;d=c;b=j[66371];if(b){b=j[b+4>>2]}else{b=0}j[d+16>>2]=b;Xy(c+20|0,a);gf(c+8|0)}oe=c- -64|0}function vf(a){var b=0,c=0;if(a){b=j[a>>2];a:{if(!b){break a}c=j[b+56>>2];j[b+56>>2]=c-1;if((c|0)>1){break a}kf(b)}j[a>>2]=0;j[a+80>>2]=0;j[a+84>>2]=0;a=a- -64|0;b=j[a>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[a>>2]=0}}function nO(a,b,c){var d=0,e=0;d=oe-32|0;oe=d;j[d+20>>2]=0;j[d+24>>2]=0;j[d+8>>2]=0;e=b?b:c;e=e?e:1;j[d+12>>2]=(e>>>0<65535?e:65535)<<6;b=b?c?c:b:c;b=b?b:1;j[d+16>>2]=(b>>>0<65535?b:65535)<<6;a=Dm(a,d+8|0);oe=d+32|0;return a}function Km(a,b,c){var d=0;if(!a){return 35}if(!c){return 6}d=16;a:{if(m[a+16>>2]<=b>>>0){break a}d=j[j[j[a+96>>2]+12>>2]+84>>2];if(d){d=qe[d|0](a,b,1,2051,c)|0;if(!d){d=0;break a}if((d&255)!=7){break a}}d=XO(a,b,c)}return d}function em(a,b){var c=0,d=0;c=oe-224|0;oe=c;d=j[a+208>>2]&32768;a:{b:{c:{if(k[a+214|0]&16){if(!d|!j[a+376>>2]){break c}dj(a,c,b);Ze(a,c);break b}if(j[a+376>>2]?d:0){break a}Ye(a,b);z()}Ze(a,b)}oe=c+224|0;return}hf(a,b);z()}function cP(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=p(e,f);g=c&65535;h=a&65535;i=p(g,h);f=(i>>>16|0)+p(f,g)|0;e=(f&65535)+p(e,h)|0;a=(p(b,c)+j|0)+p(a,d)+(f>>>16)+(e>>>16)|0;b=i&65535|e<<16;pe=a;return b}function aC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=j[a+240>>2];f=j[a+248>>2];g=b+c|0;d=xo(k[a+232|0],j[a+204>>2],j[a+216>>2],f,g,b,c,d,e);b=h<<2;a=(b|0)>(c|0)?c:b;Ge((b+f|0)-(a&-4)|0,g-a|0,a);return d|0}function Se(a){var b=0,c=0,d=0;d=oe-16|0;oe=d;c=j[67085];a:{if(!c){ve(57733,0);break a}b=j[c+172>>2];if(b){if(j[c+432>>2]){b=qe[b|0](c,a)|0;break a}b=0;ve(57103,0);break a}j[d>>2]=j[c>>2];ve(57048,d);b=0}oe=d+16|0;return b}function rJ(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+28>>2];a:{if((c|0)==-1){break a}if(!(!k[a+24|0]|(c|0)!=j[b>>2])){zq(a);if(!k[a+24|0]){break a}c=j[a+32>>2];if(!c){break a}j[b>>2]=j[a+28>>2];return c|0}d=Aq(a,b,1)}return d|0}function nJ(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+28>>2];a:{if((c|0)==-1){break a}if(!(!k[a+24|0]|(c|0)!=j[b>>2])){xq(a);if(!k[a+24|0]){break a}c=j[a+32>>2];if(!c){break a}j[b>>2]=j[a+28>>2];return c|0}d=yq(a,b,1)}return d|0}function IJ(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[b>>2];a:{if(c>>>0>65534){break a}if(h[a+20|0]&1){return Eq(a,b,1)|0}if((c|0)==j[a+24>>2]){Cq(a);c=j[a+28>>2];if(!c){break a}j[b>>2]=j[a+24>>2];return c|0}d=Dq(a,b,1)}return d|0}function an(a){var b=0,c=0;b=j[67085];if(!b){ve(57733,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(56433,0);return}if(k[a+48|0]&4){j[a+116>>2]=1;Xg(a,0);b=j[67085];c=j[b+88>>2];if(c){qe[c|0](b,a)}j[a+116>>2]=0;zf(a,2,0,0)}}function XG(a){a=a|0;var b=0,c=0;if(j[a+40>>2]){c=j[a>>2];b=j[c+548>>2];c=Kf(j[j[c+96>>2]+4>>2],159968);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}b=qe[b|0](c)|0;if(!b){break a}qe[j[b+8>>2]](j[a+40>>2])}j[a+40>>2]=0}}function rM(a){a=a|0;var b=0,c=0;if(j[a+40>>2]){c=j[a>>2];b=j[c+320>>2];c=Kf(j[j[c+96>>2]+4>>2],82546);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}b=qe[b|0](c)|0;if(!b){break a}qe[j[b+8>>2]](j[a+40>>2])}j[a+40>>2]=0}}function ju(a){a=a|0;var b=0;if(a){b=j[a+4>>2];if(b){if(j[b+4>>2]){b=j[b>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+4>>2]}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function aI(a,b){a=a|0;b=b|0;var c=0,d=0;d=rg(158592,b);a:{if(d){break a}d=0;if(!a){break a}c=j[a+4>>2];if(!c){break a}c=Kf(c,158640);if(!c){break a}c=j[j[c>>2]+20>>2];if(!c){break a}d=qe[j[c+16>>2]](a,b)|0}return d|0}function Vi(a){var b=0,c=0,d=0;if((kP(a)|0)==1){return k[(a?s(a)^31:-1)+262304|0]?a:0}a=a?a:62001;d=32-s(a)|0;if(d){while(1){c=!(a&1)|!k[b+262304|0]?c:1<>>1|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return c}function eu(a){a=a|0;var b=0,c=0;if(a>>>0<=11){a:{b=Xe(1,8);if(b){c=Xe(1,8);if(!c){Be(0);if(b){qe[j[57975]](b);j[57976]=j[57976]-1}return 0}j[c+4>>2]=0;j[c>>2]=j[(a<<2)+62492>>2];j[b+4>>2]=c;break a}Be(0)}}return b|0}function BL(a){a=a|0;var b=0;b=j[j[a+156>>2]>>2];j[a+184>>2]=0;j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=0;j[a+164>>2]=0;j[a+168>>2]=0;j[a+172>>2]=0;j[a+176>>2]=0;j[a+180>>2]=0;j[a+188>>2]=b;h[a+192|0]=0;Yh(b);return 0}function os(a,b){a=a|0;b=b|0;var c=0;c=j[b+4>>2];j[a+4>>2]=j[b>>2];j[a+8>>2]=c;j[a+28>>2]=j[b+24>>2];c=j[b+20>>2];j[a+20>>2]=j[b+16>>2];j[a+24>>2]=c;c=j[b+12>>2];j[a+12>>2]=j[b+8>>2];j[a+16>>2]=c;ns(a,b,0);ns(a,b,1)}function cD(a){a=a|0;var b=0;ek(a+16|0);b=j[a+772>>2];if(b){Ih(b)}b=j[a+776>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(j[a+4>>2]){b=j[a>>2];qe[j[b+16>>2]](b)|0}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function Tu(a){var b=0,c=0;b=j[67085];if(!b){ve(57733,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(56433,0);return}a:{if(!j[b+100>>2]|k[a+48|0]&64){break a}Xg(a,0);b=j[67085];c=j[b+100>>2];if(!c){break a}qe[c|0](b,a)}}function Gs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;if(!(!a|!b)){f=j[b+8>>2];g=j[b+12>>2];d=j[a>>2];c=c<<16;h=Ne(d,j[b>>2],c);e=j[a+4>>2];i=a,k=h+Ne(e,j[b+4>>2],c)|0,j[i>>2]=k;i=a,k=Ne(d,f,c)+Ne(e,g,c)|0,j[i+4>>2]=k}}function $O(a,b){a=a|0;b=b|0;var c=0,d=0;j[b+72>>2]=1869968492;d=j[a+36>>2];j[b+124>>2]=d;c=j[a+24>>2];j[b+108>>2]=j[a+20>>2];j[b+112>>2]=c;c=j[a+32>>2];j[b+116>>2]=j[a+28>>2];j[b+120>>2]=c;j[b+124>>2]=d&-2;return 0}function oI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=oe-16|0;oe=d;e=j[a+16>>2];a:{if((e|0)>=1){while(1){if(!dm(a,c,d+12|0)){if(!we(b,j[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}oe=d+16|0;return c|0}function Pr(a,b,c,d){var e=0,f=0;f=j[a+4>>2];if(f>>>0>b>>>0){e=j[a+20>>2];a:{if(e){c=qe[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>d>>>0?d:c;Ae(e,j[a>>2]+b|0,c)}j[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function lz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=j[j[a+436>>2]>>2];a:{if(d){if(b){j[b>>2]=j[d+8>>2]}a=0;if(!c){break a}j[c>>2]=j[d+12>>2];return 0}a=j[a+188>>2];if(a){Wg(a,b,c);return 0}ve(44721,0);a=-1}return a|0}function Wm(a,b,c){var d=0,e=0;d=j[67085];if(!d){ve(57733,0);return}if(!(j[a>>2]==(d+316|0)?a:0)){ve(56433,0);return}e=j[d+188>>2];if(e){qe[e|0](d,a,b,c);return}if(b){j[b>>2]=j[a+24>>2]}if(c){j[c>>2]=j[a+28>>2]}}function Lt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=oe-16|0;oe=a;if(c){j[c>>2]=0;j[c+4>>2]=0;h[a+15|0]=0;d=c,e=E(63597,a+15|0,0)|0,j[d+8>>2]=e;h[a+14|0]=0;d=c,e=E(63629,a+14|0,0)|0,j[d+12>>2]=e}oe=a+16|0;return 0}function IE(a){if(!(!a|!j[a>>2])){j[a+344>>2]=0;j[a+348>>2]=0;j[a+340>>2]=-1;j[a+332>>2]=0;j[a+324>>2]=0;j[a+328>>2]=0;j[a+36>>2]=0;j[a+28>>2]=0;j[a+32>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;j[a+352>>2]=0;j[a+356>>2]=0}}function Bm(a,b,c){var d=0,e=0,f=0,g=0;e=j[a+8>>2];f=j[a+4>>2];if(e>>>0>>0){d=j[a+20>>2];a:{if(d){d=qe[d|0](a,e,b,c)|0;break a}g=b;b=f-e|0;d=b>>>0>c>>>0?c:b;Ae(g,j[a>>2]+e|0,d)}j[a+8>>2]=j[a+8>>2]+d}return d}function TA(){var a=0,b=0;a=oe+ -64|0;oe=a;so(168,0);if((qe[j[58771]]()|0)>=1){while(1){if(ho(b)){j[a+16>>2]=b;j[a+8>>2]=1619;gf(a+8|0)}b=b+1|0;if((qe[j[58771]]()|0)>(b|0)){continue}break}}oe=a- -64|0;return 0}function DI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=oe-16|0;oe=d;e=qe[j[a+508>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){j[(c?692:684)+a>>2]=j[d+12>>2];j[(c?788:784)+a>>2]=j[b+8>>2]}oe=d+16|0;return e|0}function qF(a){var b=0,c=0,d=0;a:{if(!a){break a}b=j[a+28>>2];if(!b){break a}c=j[a+36>>2];if(!c){break a}d=j[b+52>>2];if(d){qe[c|0](j[a+40>>2],d);c=j[a+36>>2];b=j[a+28>>2]}qe[c|0](j[a+40>>2],b);j[a+28>>2]=0}}function op(a){var b=0;if(a){if(j[a+76>>2]<=-1){return yl(a)}return yl(a)}if(j[67117]){b=op(j[67117])}a=j[67123];if(a){while(1){if(m[a+20>>2]>m[a+28>>2]){b=yl(a)|b}a=j[a+56>>2];if(a){continue}break}}return b}function bw(a,b,c){var d=0;if(!(!c|(!a|!b))){a=l[c+4>>1]|l[c+6>>1]<<16;d=l[c>>1]|l[c+2>>1]<<16;i[b+170>>1]=d;i[b+172>>1]=d>>>16;i[b+174>>1]=a;i[b+176>>1]=a>>>16;i[b+178>>1]=l[c+8>>1];j[b+8>>2]=j[b+8>>2]|32}}function Tz(a,b,c){var d=0,e=0;a:{b:{if(!(c?b:0)){j[a>>2]=0;break b}d=v(+(b|0)*+(c|0)/1e5+.5);if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){b=~~d}else{b=-2147483648}j[a>>2]=b}e=1}return e}function Tf(a,b,c){var d=0,e=0;a:{if(!a){break a}d=i[a+2>>1];if((d|0)<1){break a}a=j[a+4>>2];while(1){j[a>>2]=j[a>>2]+b;j[a+4>>2]=j[a+4>>2]+c;a=a+8|0;e=e+1|0;if((e&65535)>>>0<(d&65535)>>>0){continue}break}}}function Hi(){var a=0,b=0;a=qe[j[57972]](12)|0;if(a){j[57976]=j[57976]+1}a:{if(a){b=Pm();j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=b;if(b){break a}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return 0}a=0;Be(0)}return a}function En(){var a=0,b=0,c=0;b=oe-16|0;oe=b;j[b+12>>2]=0;Sj(b+12|0);j[b+12>>2]=0;a=j[67080];a:{if(!a){break a}while(1){if(!j[a>>2]){c=j[a+4>>2];break a}a=j[a+8>>2];if(a){continue}break}}oe=b+16|0;return c}function dt(a){a=a|0;var b=0,c=0;b=j[a+96>>2];c=j[b>>2];if(c){qe[j[c+16>>2]](c)|0;b=j[a+96>>2]}b=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}a=j[a+96>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function kg(a,b,c){var d=0,e=0,f=0,g=0;j[a+112>>2]=b;j[a+116>>2]=c;d=j[a+8>>2];g=j[a+4>>2];e=d-g|0;f=e>>31;j[a+120>>2]=e;j[a+124>>2]=f;j[a+104>>2]=b|c?((c|0)<(f|0)?1:(c|0)<=(f|0)?b>>>0>>0:0)?b+g|0:d:d}function Ry(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>1&1}function Rf(a,b,c,d,e){var f=0;f=oe-256|0;oe=f;if(!(e&73728|(c|0)<=(d|0))){c=c-d|0;d=c>>>0<256;Ee(f,b&255,d?c:256);if(!d){while(1){If(a,f,256);c=c-256|0;if(c>>>0>255){continue}break}}If(a,f,c)}oe=f+256|0}function Py(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>3&1}function Oy(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>4&1}function Ny(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>5&1}function Dn(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>2&1}function eE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=oe-16|0;oe=e;a=lb(j[a+60>>2],b|0,c|0,d&255,e+8|0)|0;b=0;a:{if(!a){break a}j[67100]=a;b=-1}a=b;oe=e+16|0;pe=a?-1:j[e+12>>2];return(a?-1:j[e+8>>2])|0}function Ps(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[67093];if((b|0)>=1){while(1){d=(b|0)>1;c=j[c+1320>>2];b=b-1|0;if(d){continue}break}}b=j[c+4>>2];Oe(a,0,16);c=b;if(Le(b)>>>0<=16){b=Le(b)}else{b=16}Ge(a,c,b)}function hn(a,b){var c=0,d=0;c=oe-16|0;oe=c;a:{if(!a){j[c>>2]=56016;a=ve(55990,c);break a}d=j[a+52>>2];if(!(h[d+69|0]&1)){a=ve(56028,0);break a}a=0;if(!b){break a}j[b>>2]=j[d+72>>2]}oe=c+16|0;return a}function Ff(a){var b=0,c=0,d=0;c=a;d=j[a+36>>2];a=j[a+32>>2];if(d>>>0>a+3>>>0){b=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);a=a+4|0}j[c+32>>2]=a;return b}function Df(a,b){var c=0;c=b-a|0;c=(((c|0)>-11796479?c:-11796479)+a|0)+23592959|0;a=c-(((c-b>>>0)%23592960|0)+a|0)|0;b=(a-((a|0)<11796480?a:11796480)|0)+23592959|0;return(((b>>>0)%23592960|0)-b|0)+a|0}function HB(a,b){var c=0,d=0;c=mf(j[66370],p(j[66369],8232)+8232|0);if(!c){Be(0);return}j[66370]=c;Oe(c+p(j[66369],8232)|0,0,8232);c=j[66369];d=j[66370]+p(c,8232)|0;j[d>>2]=a;j[d+4>>2]=b;j[66369]=c+1}function tJ(a,b,c){var d=0;b=b-1|0;h[b|0]=0;a:{if(a>>>0>=b>>>0){break a}while(1){if((d|0)>=1?!c:0){break a}b=b-1|0;h[b|0]=k[(c&15)+8080|0];d=d+1|0;c=c>>>4|0;if(a>>>0>>0){continue}break}}return b}function EE(a,b){var c=0,d=0;d=j[a>>2];c=j[a+16>>2];b=j[a+4>>2]+b|0;if((d|0)<=(c-(b+7>>3)|0)){c=(b|0)/8|0;j[a>>2]=c+d;j[a+12>>2]=c+j[a+12>>2];j[a+4>>2]=b&7;return}j[a>>2]=c;j[a+12>>2]=0;j[a+4>>2]=1}function GM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=j[a+656>>2];a:{b:{if(!a){break b}d=6;if(j[a+1456>>2]==65535|m[a+12>>2]>>0){break a}if(!c){break b}j[c>>2]=l[j[a+1160>>2]+(b<<1)>>1]}d=0}return d|0}function to(a){var b=0;b=j[67085];if(b){qe[j[b+232>>2]](b)}a:{if(j[66110]){if(!BA()){break a}}CA()}if(!j[66122]){Zy()}if(k[268216]){h[268216]=0;ll(256)}a=qh(a,1,2,0,65535);return!!((a|0)!=-1?a:0)}function MM(a){a=a|0;var b=0,c=0;c=j[a+656>>2];a:{if(!j[a+532>>2]){break a}b=Bh(Kf(j[j[a+96>>2]+4>>2],78432),78492);if(!b){break a}b=j[b>>2];if(!b){break a}return qe[b|0](a)|0}return j[c+1304>>2]}function vO(a){var b=0,c=0;b=j[a+156>>2];if(!(!b|!(h[b+4|0]&1))){b=j[j[a+4>>2]+100>>2];c=j[a+88>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+88>>2]=0;a=j[a+156>>2];j[a+4>>2]=j[a+4>>2]&-2;return}j[a+88>>2]=0}function uN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=k[a+11|0]+7>>>3|0;d=j[a+4>>2];if(c>>>0>>0){e=0-c|0;a=b+c|0;while(1){h[a|0]=k[a+e|0]+k[a|0];a=a+1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}}function hv(a,b){a=a|0;b=b|0;a=rj(b,57638,0);if(a){b=j[a+4>>2];if(b){lh(b)}b=j[a>>2];if(b){Zk(b)}b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function ev(a,b,c){if(!(!c|(!a|!b))){a=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);h[b+148|0]=a;h[b+149|0]=a>>>8;h[b+150|0]=a>>>16;h[b+151|0]=a>>>24;h[b+152|0]=k[c+4|0];j[b+8>>2]=j[b+8>>2]|2}}function WF(a){Ml(a+16|0);ze(j[a+48>>2]);ze(j[a- -64>>2]);ze(j[a+80>>2]);ze(j[a+96>>2]);ze(j[a+112>>2]);ze(j[a+128>>2]);ze(j[a+144>>2]);ze(j[a+36>>2]);ze(j[a+152>>2]);ze(j[a+160>>2]);Ee(a,0,180)}function Dx(a,b){var c=0;if((b|0)>=1){gP(b,0,10,0);a:{if(pe){break a}b=p(b,10);if(!b){break a}b:{if(!a){break b}c=j[a+720>>2];if(!c){break b}return qe[c|0](a,b)|0}c=Te(b)}return c}Ye(a,4760);z()}function wB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{if(d){b=k[d|0];if((b|0)==49){break a}if(b){break b}}j[a+124>>2]=0;return}if(!Me(d,29896)){break a}j[a+124>>2]=0;return}j[a+124>>2]=1;lo(-1,-1)}function cH(a,b){var c=0,d=0;a:{if(k[a+9|0]!=16){break a}c=p(j[a>>2],k[a+10|0]);if(!c){break a}a=0;while(1){d=k[b+1|0];h[b+1|0]=k[b|0];h[b|0]=d;b=b+2|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}}function Vk(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;j[c+12>>2]=0;j[c+8>>2]=0;a:{if(!Wk(a,b,c+12|0,c+8|0)){break a}d=b;b=j[c+8>>2];if(k[a+b|0]?(d|0)!=(b|0):0){break a}e=j[c+12>>2]}oe=c+16|0;return e}function Uk(a,b){var c=0;a:{b:{if(!a|!b){break b}c=v(1e15/+(a|0)/+(b|0)+.5);b=c<=2147483647^1;if(r(c)<2147483648){a=~~c}else{a=-2147483648}if(b){break b}if(c>=-2147483648){break a}}a=0}return a}function UM(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[b>>2];j[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=l[j[a+16>>2]+(c<<1)>>1];if(!d){continue}break}j[b>>2]=c;return d|0}function pO(a,b){var c=0;c=35;a:{if(!a|!(k[a+8|0]&2)){break a}c=6;if((b|0)<0|j[a+28>>2]<=(b|0)){break a}c=j[j[j[a+96>>2]+12>>2]+92>>2];if(c){return qe[c|0](j[a+88>>2],b)|0}Dg(a,b);c=0}return c}function xf(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=j[a+8>>2]+b|0;d=j[a+20>>2];b:{if(d){if(!(qe[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>m[a+4>>2]){break a}}j[a+8>>2]=b;c=0}return c}function eB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!mp(j[a+28>>2],b,c,d)){b=rp(j[a+28>>2]);a=pe;c=a;if((a|0)>-1){break a}a=ve(30134,0);pe=a>>31;return a|0}a=Be(3);b=a;c=a>>31}pe=c;return b|0}function sO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=j[b+8>>2];if(d){qe[d|0](b)}c=j[j[c+12>>2]+60>>2];if(c){qe[c|0](b)}c=j[b+40>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+40>>2]=0;if(b){qe[j[a+8>>2]](a,b)}}function ap(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:h[a|0]=c;return;case 1:i[a>>1]=c;return;case 2:case 3:j[a>>2]=c;return;case 5:break b;default:break a}}j[a>>2]=c;j[a+4>>2]=d}}function $G(a,b){a=a|0;b=b|0;var c=0;c=oe-16|0;oe=c;b=ik(a,b,c+8|0);a:{if(b){break a}a=j[j[j[a+4>>2]+128>>2]+48>>2];if(!a){break a}qe[j[j[a>>2]+4>>2]](j[a+4>>2],c+8|0)}oe=c+16|0;return b|0}function hB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=rl(b,c,d,j[a+28>>2]);a:{if(b){break a}a=j[a+28>>2];b:{if(j[a+76>>2]<=-1){a=j[a>>2];break b}a=j[a>>2]}if(!(a>>>5&1)){break a}Be(2)}return b|0}function gB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=ak(b,c,d,j[a+28>>2]);a:{if(b){break a}a=j[a+28>>2];b:{if(j[a+76>>2]<=-1){a=j[a>>2];break b}a=j[a>>2]}if(!(a>>>5&1)){break a}Be(1)}return b|0}function Su(a){var b=0,c=0;b=j[67085];if(!b){ve(57733,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(56433,0);return}a:{if(!(k[a+48|0]&192)){break a}c=j[b+104>>2];if(!c){break a}qe[c|0](b,a)}}function CB(){Oe(268052,0,160);Hg(29664,151,268052);Hg(29692,152,268052);Hg(29722,153,268052);Hg(29751,154,268052);Hg(29782,155,268052);Hg(29805,156,268052);j[67051]=1;j[67045]=0;return 0}function rB(){var a=0;a=oe-144|0;oe=a;a:{if(xg(29942,0)){break a}G(2,0,a|0)|0;if(!j[a>>2]){j[a>>2]=157;G(2,a|0,0)|0}G(15,0,a|0)|0;if(j[a>>2]){break a}j[a>>2]=157;G(15,a|0,0)|0}oe=a+144|0}function Uo(a){var b=0;b=k[a+74|0];h[a+74|0]=b-1|b;b=j[a>>2];if(b&8){j[a>>2]=b|32;return-1}j[a+4>>2]=0;j[a+8>>2]=0;b=j[a+44>>2];j[a+28>>2]=b;j[a+20>>2]=b;j[a+16>>2]=b+j[a+48>>2];return 0}function PG(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+416>>2];a:{if((c|0)>=1){d=j[a+420>>2];a=0;while(1){if(!we(b,j[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)>(a|0)){continue}break}}a=0}return a|0}function $M(a){a=a|0;var b=0,c=0;b=j[a+4>>2];c=j[j[b+656>>2]+2952>>2];a:{if(!c){break a}b=Kf(j[j[b+96>>2]+4>>2],79232);if(!b){break a}b=qe[j[c+8>>2]](b)|0;j[j[a+156>>2]+36>>2]=b}return 0}function we(a,b){var c=0,d=0;c=k[a|0];d=k[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=k[b+1|0];c=k[a+1|0];if(!c){break a}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}break}}return c-d|0}function tG(a){a=a|0;var b=0,c=0,d=0;c=oe-16|0;oe=c;d=_r(j[j[a>>2]+500>>2],c+12|0);b=a;a=j[c+12>>2];j[b+44>>2]=a;if(a){b=j[a>>2];if(!(!b|!j[b+96>>2])){j[b+88>>2]=a}}oe=c+16|0;return d|0}function Nj(a){var b=0,c=0;b=oe-16|0;oe=b;a:{if(!a){j[b>>2]=23915;ve(23613,b);break a}DC(j[a+168>>2],j[a+236>>2]<<1);c=j[a+256>>2];if(c){qe[c|0](a)}j[a+184>>2]=0;j[a+172>>2]=1}oe=b+16|0}function gg(a,b,c){var d=0,e=0,f=0;f=c;a:{if(b){d=Le(b)+1|0;b:{if((d|0)>=1){e=qe[j[a+4>>2]](a,d)|0;if(e){break b}j[c>>2]=64;return 0}a=6;if(d){break a}}Ae(e,b,d)}a=0}j[f>>2]=a;return e}function ef(a,b,c){var d=0,e=0;a:{if(!c){break a}while(1){e=j[(d<<3)+b>>2];if(!e){break a}if((a|0)==(e|0)){return j[((d<<3)+b|0)+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function ul(a,b,c,d,e,f,g,h,i){var k=0;k=oe-16|0;oe=k;Wf(k,b,c,d,e,f,g,h,i^-2147483648);b=j[k+4>>2];j[a>>2]=j[k>>2];j[a+4>>2]=b;b=j[k+12>>2];j[a+8>>2]=j[k+8>>2];j[a+12>>2]=b;oe=k+16|0}function fN(a,b){a=a|0;b=b|0;var c=0;c=rg(78368,b);a:{if(c){break a}c=0;if(!a){break a}a=j[a+4>>2];if(!a){break a}a=Kf(a,78432);if(!a){break a}c=qe[j[j[a>>2]+32>>2]](a,b)|0}return c|0}function bf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=0;a:{if(!a){break a}d=gP(a,0,b,0);e=pe;c=d;if((a|b)>>>0<65536){break a}c=e?-1:d}b=c;a=Te(b);if(!(!a|!(k[a-4|0]&3))){Ee(a,0,b)}return a|0}function Jh(a){var b=0,c=0;b=j[58876];c=a+3&-4;a=b+c|0;a:{if(a>>>0<=b>>>0?(c|0)>=1:0){break a}if(a>>>0>vP()<<16>>>0){if(!(Ja(a|0)|0)){break a}}j[58876]=a;return b}j[67100]=48;return-1}function IB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=0;a:{if(!d){break a}a=0;if(!k[d|0]){break a}if((rf(d)|0)<=1){a=0;if((rf(d)|0)<1){break a}}a=2;if((rf(d)|0)>1){break a}a=rf(d)}j[66367]=a}function rG(a){a=a|0;var b=0,c=0,d=0;d=oe-16|0;oe=d;b=j[a+4>>2];c=j[b+500>>2];a:{if(!j[b+84>>2]){b=c+84|0;c=0;break a}b=d+12|0;c=ds(c,d+12|0)}j[a+160>>2]=j[b>>2];oe=d+16|0;return c|0}function ar(a){a=a|0;var b=0,c=0;b=j[a+8>>2];if(b){a=j[a+16>>2];c=j[a+4>>2];j[b+108>>2]=j[a>>2];j[b+112>>2]=c;j[b+124>>2]=j[a+16>>2];c=j[a+12>>2];j[b+116>>2]=j[a+8>>2];j[b+120>>2]=c}}function KH(a,b){a=a|0;b=b|0;var c=0;j[a+112>>2]=b;c=j[a>>2];if(h[c+8|0]&1){Dg(c,b);Wl(a);return 0}b=qe[j[j[c+532>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}j[a+112>>2]=-1;return b|0}function JJ(a,b){a=a|0;b=b|0;var c=0,d=0;c=oe-16|0;oe=c;j[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(h[a+20|0]&1){d=Eq(a,c+12|0,0);break a}d=Dq(a,c+12|0,0)}a=d;oe=c+16|0;return a|0}function eg(a){var b=0,c=0;c=Mf(a);b=j[66036];a:{if(!b){break a}while(1){if(!cf(a,j[b>>2])){if(j[b+8>>2]!=2?c:0){break a}return j[b+4>>2]}b=j[b+16>>2];if(b){continue}break}}return c}function Fi(a,b){var c=0,d=0;c=j[a+12>>2];d=j[a+4>>2];c=(c|0)<0?(c|0)>(d|0)?c:d:d-c|0;b=b?b:(p(c,12)|0)/10|0;j[a+28>>2]=b;j[a+24>>2]=(b-c|0)/2;j[a+20>>2]=j[a+8>>2]+(j[a+16>>2]/-2|0)}function yN(a,b,c,d,e){e=e-1|0;if(e>>>0<=3){if(!j[a+808>>2]){j[a+808>>2]=68;j[a+816>>2]=69;j[a+812>>2]=70;j[a+820>>2]=(k[a+438|0]+7&504)==8?71:72}qe[j[((e<<2)+a|0)+808>>2]](b,c,d)}}function no(a){var b=0;j[67049]=a;a:{if(j[67050]){break a}if(a){j[67050]=a}b=j[67015];if(!(j[67035]|(!a|!j[67051]))){if(!b){break a}qe[b|0](a)|0;return}if(!b){break a}qe[b|0](0)|0}}function kJ(a,b){a=a|0;b=b|0;j[a+16>>2]=b;b=k[b+6|0]|k[b+7|0]<<8|(k[b+8|0]<<16|k[b+9|0]<<24);j[a+28>>2]=0;j[a+32>>2]=0;j[a+24>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function gk(a,b,c){var d=0,e=0;a:{if((b|0)<0){break a}d=j[a+12>>2];if(j[d+4>>2]<=(b|0)){break a}df(c,j[j[a+20>>2]+(b<<2)>>2],h[j[d+8>>2]+b|0]);e=h[j[j[a+12>>2]+8>>2]+b|0]}return e}function Fr(a,b,c,d){var e=0,f=0;if(!(!a|!c)){e=j[a>>2];if(e){while(1){f=j[e+4>>2];if(b){qe[b|0](c,j[e+8>>2],d)}qe[j[c+8>>2]](c,e);e=f;if(e){continue}break}}j[a>>2]=0;j[a+4>>2]=0}}function kF(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[c+12>>2];j[d+8>>2]=j[c+8>>2];j[d+12>>2]=e;e=j[c+4>>2];j[d>>2]=j[c>>2];j[d+4>>2]=e;c=iF(a,b,d);if(!c){c=hF(b)}oe=d+16|0;return c}function EK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)>=1){while(1){e=a+d|0;f=k[e|0];h[e|0]=f^c>>>8;c=p(c+f|0,52845)+22719&65535;d=d+1|0;if((d|0)!=(b|0)){continue}break}}}function es(a,b){var c=0,d=0;c=j[a+156>>2];if(!(!c|!(h[c+4|0]&1))){c=j[j[a+4>>2]+100>>2];d=j[a+88>>2];if(d){qe[j[c+8>>2]](c,d)}c=j[a+156>>2];j[c+4>>2]=j[c+4>>2]&-2}j[a+88>>2]=b}function dB(a){a=a|0;var b=0,c=0,d=0,e=0;c=qe[j[a+4>>2]](a,0,0,1)|0;b=pe;d=b;if((b|0)<0){pe=-1;return-1}b=qe[j[a+4>>2]](a,0,0,2)|0;e=pe;qe[j[a+4>>2]](a,c,d,0)|0;pe=e;return b|0}function Zy(){a:{if(!Vi(32768)){break a}if(k[268312]){if(!j[67077]){break a}return}h[268312]=1;if(!(j[67077]?j[67077]:0)){h[268312]=0;return}h[268312]=0;if(!j[67077]){break a}}}function WG(a){a=a|0;var b=0,c=0;b=j[a+4>>2];c=j[b+548>>2];a:{if(!c){break a}b=Kf(j[j[b+96>>2]+4>>2],159968);if(!b){break a}b=qe[j[c+4>>2]](b)|0;j[j[a+156>>2]+36>>2]=b}return 0}function qM(a){a=a|0;var b=0,c=0;b=j[a+4>>2];c=j[b+320>>2];a:{if(!c){break a}b=Kf(j[j[b+96>>2]+4>>2],82546);if(!b){break a}b=qe[j[c+4>>2]](b)|0;j[j[a+156>>2]+36>>2]=b}return 0}function gA(a,b){a=a|0;b=b|0;var c=0,d=0;c=oe-16|0;oe=c;d=j[b+76>>2];j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=j[b+12>>2];j[c+12>>2]=j[b+16>>2];Tn(a,b,c,j[d+16>>2],j[d+20>>2]);oe=c+16|0}function As(a,b){a=a|0;b=b|0;var c=0;c=18;a:{if(j[b+72>>2]!=1869968492){break a}c=j[a>>2];a=a+20|0;c=Cm(c,i[b+110>>1],i[b+108>>1],a);if(c){break a}Tr(b+108|0,a);c=0}return c|0}function gN(a){a=a|0;j[a+60>>2]=2333;j[a+64>>2]=0;j[a+36>>2]=500;j[a+40>>2]=400;j[a+52>>2]=1667;j[a+56>>2]=275;j[a+44>>2]=1e3;j[a+48>>2]=275;h[a+32|0]=0;j[a+28>>2]=1;return 0}function Kq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=6;a:{if(j[b+72>>2]!=j[a+16>>2]){break a}if(c){Ah(b+108|0,c)}e=0;if(!d){break a}Tf(b+108|0,j[d>>2],j[d+4>>2])}return e|0}function Oi(a,b,c,d){var e=0;e=oe-16|0;oe=e;if(d){n[e>>2]=j[d>>2];n[e+4>>2]=j[d+4>>2];n[e+8>>2]=j[d+8>>2];n[e+12>>2]=j[d+12>>2];d=e}else{d=0}a=oA(a,b,c,d);oe=e+16|0;return a}function Mm(a,b){var c=0;if(!a){return}if(!b){return}a=j[a>>2];c=j[b+12>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}function wL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;j[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b-1|0;if(b>>>0>=m[a+408>>2]){break a}j[c>>2]=j[(j[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function kO(a,b){var c=0;a:{b:{if(!a){break b}a=j[a+148>>2];if(!a){break b}while(1){c=j[a+8>>2];if(j[c+16>>2]==(b|0)){break a}a=j[a+4>>2];if(a){continue}break}}c=0}return c}function hE(){var a=0;_g();if(j[65546]){if(j[j[j[65546]>>2]+44>>2]){a=qe[j[j[j[65546]>>2]+44>>2]](j[j[65546]+4>>2])|0;j[j[65546]+8>>2]=a}a=j[j[65546]+8>>2]!=0}Jg();return a}function MN(a,b){if(a){j[a+48>>2]=0;j[a+44>>2]=1;j[a+60>>2]=b;j[a+64>>2]=0;j[a+52>>2]=0;h[a+124|0]=0;j[a+116>>2]=-1;j[a+96>>2]=0;h[a+92|0]=0;j[a+84>>2]=-1;j[a+56>>2]=65536}}function LD(a){var b=0;b=2;if(!$g(a,43)){b=k[a|0]!=114}b=$g(a,120)?b|128:b;b=$g(a,101)?b|524288:b;a=k[a|0];b=(a|0)==114?b:b|64;b=(a|0)==119?b|512:b;return(a|0)==97?b|1024:b}function et(a){a=a|0;j[a+44>>2]=505;j[a+36>>2]=506;j[a+32>>2]=507;j[a+28>>2]=508;j[a+24>>2]=509;j[a+20>>2]=510;j[a+4>>2]=511;j[a+84>>2]=1;j[a>>2]=512;j[a+72>>2]=1;return 1}function WB(){if(!k[264412]){j[66094]=140;j[66093]=141;j[66095]=142;j[66096]=143;j[66097]=144;j[66098]=145;j[66099]=146;j[66100]=147;j[66101]=148;j[66102]=149;h[264412]=1}}function Tg(a,b){var c=0,d=0,e=0;if(!(!a|!b)){c=ye(j[a>>2],j[b>>2]);d=ye(j[a+4>>2],j[b+4>>2]);e=ye(j[a>>2],j[b+8>>2]);b=ye(j[a+4>>2],j[b+12>>2]);j[a>>2]=c+d;j[a+4>>2]=b+e}}function SJ(a,b){a=a|0;b=b|0;var c=0,d=0;d=j[a+16>>2]+6|0;a=j[b>>2];while(1){a=a+1|0;if(a>>>0>255){j[b>>2]=0;return 0}c=k[a+d|0];if(!c){continue}break}j[b>>2]=a;return c|0}function gu(a){a=a|0;var b=0;a:{b:{if(a){b=j[67024];if(!b){break b}a=0;if((va(j[j[b+144>>2]+12>>2],1)|0)<=-1){break b}break a}a=0;if((Xa()|0)>-1){break a}}a=-1}return a|0}function XH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=j[a+24>>2];c=Fe(b,c);a:{if(c){break a}c=_e(b,d);if(c){break a}j[a+200>>2]=j[b+32>>2];j[a+204>>2]=j[b+36>>2];c=0}return c|0}function Bq(a,b){a=a|0;b=b|0;j[a+16>>2]=b;b=k[b+12|0]|k[b+13|0]<<8|(k[b+14|0]<<16|k[b+15|0]<<24);h[a+24|0]=0;j[a+40>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function Ku(a){var b=0,c=0;b=j[67085];if(!b){ve(57733,0);return}if(!Eh(j[b+708>>2])){ve(57377,0);return}b=j[67085];c=j[b+192>>2];if(c){qe[c|0](b,a)|0;return}ve(57417,0)}function Bg(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}while(1){d=k[a|0];e=k[b|0];if((d|0)==(e|0)){b=b+1|0;a=a+1|0;c=c-1|0;if(c){continue}break a}break}f=d-e|0}return f}function uJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=10;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function pJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=12;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function lJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=13;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function dP(a,b,c){var d=0,e=0,f=0;d=b>>31;a=a^d;f=b>>31;e=b>>31;a=iP(a-d|0,(f^b)-((a>>>0>>0)+f|0)|0,c)^e;c=a-e|0;b=b>>31;pe=(b^pe)-((a>>>0>>0)+b|0)|0;return c}function QD(a,b,c){var d=0,e=0,f=0;e=j[a+84>>2];d=c+256|0;f=Mh(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;Ae(b,e,c);b=e+d|0;j[a+84>>2]=b;j[a+8>>2]=b;j[a+4>>2]=c+e;return c}function FJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];b=b-(k[a+6|0]<<8|k[a+7|0])|0;if(b>>>0<(k[a+9|0]|k[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=k[a+10|0]<<8|k[a+11|0]}else{a=0}return a|0}function yJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=8;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function ip(a){var b=0,c=0,d=0;if(h[j[a>>2]]-48>>>0<10){while(1){b=j[a>>2];d=h[b|0];j[a>>2]=b+1;c=(p(c,10)+d|0)-48|0;if(h[b+1|0]-48>>>0<10){continue}break}}return c}function FN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if(!d){e=1;if(m[a+4>>2]>>0){break a}}e=j[a+12>>2];if(j[a+8>>2]!=(b|0)){Yi(e,b,0)}e=ak(c,1,d,e)}return e|0}function Ek(a){var b=0;b=j[67085];a:{if(!b){break a}b=j[b+308>>2];if(!b){break a}while(1){if(j[b+4>>2]==(a|0)){return b}b=j[b+152>>2];if(b){continue}break}}return 0}function oz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=j[b+76>>2];b=j[a+16>>2];j[d>>2]=(j[a+20>>2]+p(b,j[c+4>>2])|0)+p(j[c>>2],k[j[a+4>>2]+9|0]);j[e>>2]=b;return 0}function ZF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=j[b>>2]+1|0;b=j[a+16>>2];if(c>>>0>b>>>0){b=c-b|0;a=b>>>0>2];d=a?b+1|0:0;b=a?c:0}j[e>>2]=b;return d|0}function Wg(a,b,c){var d=0;d=j[67085];if(!d){ve(57733,0);return}if(!(j[a>>2]==(d+316|0)?a:0)){ve(56433,0);return}if(b){j[b>>2]=j[a+24>>2]}if(c){j[c>>2]=j[a+28>>2]}}function eM(a,b){a=a|0;b=b|0;var c=0;c=j[b+96>>2];if(!((c|0)<0|j[a+300>>2]<=(c|0))){a=j[a+304>>2]+p(c,252)|0;b=qe[j[b+40>>2]](b,0)|0;j[a+180>>2]=b;j[a+208>>2]=b}}function WO(a,b){a=a|0;b=b|0;j[a+2988>>2]=b;j[a+2980>>2]=j[b+28>>2];j[a+4>>2]=j[b+8>>2];j[a+12>>2]=j[b+12>>2];j[a+8>>2]=j[b+16>>2];j[a+16>>2]=j[b+20>>2];return 0}function Bj(a,b){var c=0;if(!a){return 0}a:{if(!b){break a}c=j[a+720>>2];b:{if(c){c=qe[c|0](a,b)|0;break b}c=Te(b)}if(!c){break a}return Ee(c,0,b)}Ye(a,4818);z()}function $h(a,b,c,d){var e=0;if(!a){return}a=j[a+52>>2];h[a+78|0]=d;h[a+77|0]=c;h[a+76|0]=b;e=j[a+68>>2];b=e&-2|(b&c&d)!=255;j[a+68>>2]=b;if((b|0)!=(e|0)){vf(a)}}function zp(a){if((a|0)>=0){j[57792]=(a|0)<128?a:128;_g();if(!(!j[65546]|!j[j[j[65546]>>2]+36>>2])){qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],j[57792])}Jg()}}function rg(a,b){var c=0;a:{if(!a|!b){break a}c=j[a>>2];if(!c){break a}while(1){if(!we(c,b)){return j[a+4>>2]}c=j[a+8>>2];a=a+8|0;if(c){continue}break}}return 0}function iB(a){a=a|0;var b=0;if(!a){return 0}a:{if(!j[a+24>>2]){break a}if(!Lh(j[a+28>>2])){break a}b=Be(2)}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return b|0}function af(a){var b=0,c=0,d=0;c=a;d=j[a+36>>2];a=j[a+32>>2];if(d>>>0>a+1>>>0){b=k[a|0]|k[a+1|0]<<8;b=(b<<24|b<<8&16711680)>>>16|0;a=a+2|0}j[c+32>>2]=a;return b}function tf(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}d=j[a+212>>2];if(!(k[a+379|0]&32?(d&768)!=768:!(d&2048))){break a}e=a,f=Sf(j[a+412>>2],b,c),j[e+412>>2]=f}}function rN(a,b){a=a|0;b=b|0;var c=0,d=0;d=j[a>>2];c=j[d+140>>2];Dg(d,b);j[a+24>>2]=j[c+40>>2]<<6;j[a+28>>2]=0-(j[c+44>>2]<<6);j[a+36>>2]=l[c+4>>1]<<6;return 0}function dG(a,b){a=a|0;b=b|0;var c=0;c=j[a>>2];b=j[c+132>>2];Dg(c,0);c=l[b+80>>1];j[a+24>>2]=c<<6;j[a+28>>2]=c-l[b+96>>1]<<6;j[a+36>>2]=l[b+102>>1]<<6;return 0}function TK(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+484>>2];j[a+24>>2]=j[b+416>>2];j[a+28>>2]=j[b+420>>2];j[a+20>>2]=j[c+20>>2];j[a+16>>2]=j[c+24>>2];return 0}function OK(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+484>>2];j[a+24>>2]=j[b+416>>2];j[a+28>>2]=j[b+420>>2];j[a+20>>2]=j[c+20>>2];j[a+16>>2]=j[c+28>>2];return 0}function Fe(a,b){var c=0,d=0;d=j[a+20>>2];a:{b:{if(d){c=85;if(!(qe[d|0](a,b,0,0)|0)){break b}break a}c=85;if(m[a+4>>2]>>0){break a}}j[a+8>>2]=b;c=0}return c}function zm(a){var b=0,c=0;b=j[a+32>>2];if(m[a+36>>2]<=b+3>>>0){j[a+32>>2]=b;return 0}c=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);j[a+32>>2]=b+4;return c}function tC(a){var b=0;a:{a=a-1|0;if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}ve(23120,0);return}qe[j[66053]](a);b=a- -64|0;b;j[b>>2]=0;qe[j[66054]](a)}function Nu(){var a=0;a=j[67085];a:{if(!a){break a}a=j[a+308>>2];if(!a){break a}while(1){if(k[a+49|0]&2){return a}a=j[a+152>>2];if(a){continue}break}}return 0}function rk(a,b){var c=0,d=0;a:{if(!a){break a}c=j[a+28>>2];b:{if(!a){break b}d=j[a+24>>2];if(!d){break b}qe[d|0](a)}if(b){break a}if(a){qe[j[c+8>>2]](c,a)}}}function gl(a,b,c){var d=0;a:{a=a?a:j[67024];if(!a){break a}d=j[67018];if(d){qe[d|0](a,b,c);return}d=j[67023];if(!Gh(a,b,c,(d|0)!=-1)){break a}Fh(a,d,0,b,c)}}function dg(a,b){a=a|0;b=b|0;var c=0;a:{if(!a){break a}if(b){c=j[a+720>>2];b:{if(c){c=qe[c|0](a,b)|0;break b}c=Te(b)}if(c){break a}}Ze(a,4818);c=0}return c|0}function SM(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+656>>2];if(!j[c+1160>>2]){return 163}return qe[j[j[c+2956>>2]+4>>2]](j[b+100>>2],a,j[c+12>>2],600,0,b)|0}function pB(){var a=0;a=oe-144|0;oe=a;G(2,0,a|0)|0;if(j[a>>2]==157){j[a>>2]=0;G(2,a|0,0)|0}G(15,0,a|0)|0;if(j[a>>2]==157){j[a>>2]=0;G(15,a|0,0)|0}oe=a+144|0}function RI(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1668112752,b,a+504|0)|0;if(!c){c=_f(b,j[a+504>>2],a+500|0);if(!c){return 0}j[a+504>>2]=0}return c|0}function IC(){var a=0;while(1){a=j[66037];if(a){j[66037]=j[a+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}continue}break}j[57836]=4;j[57835]=6;j[57837]=3}function $i(a){var b=0,c=0;b=a*a;c=b*a;return q(c*(b*b)*(b*2718311493989822e-21+ -.00019839334836096632)+(c*(b*.008333329385889463+ -.16666666641626524)+a))}function vK(a){a=a|0;var b=0;if(a){j[a+412>>2]=0;j[a+4>>2]=0;j[a+1960>>2]=0;j[a+1444>>2]=0;j[a+928>>2]=0;j[a+208>>2]=0;b=j[a>>2];if(a){qe[j[b+8>>2]](b,a)}}}function dN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=j[a+4>>2];if(d){a=0;while(1){h[b|0]=k[c|0]+k[b|0];b=b+1|0;c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function _n(a,b){var c=0;c=oe-16|0;oe=c;if(b){n[c>>2]=j[b>>2];n[c+4>>2]=j[b+4>>2];n[c+8>>2]=j[b+8>>2];n[c+12>>2]=j[b+12>>2];b=c}else{b=0}qA(a,b);oe=c+16|0}function yy(a){var b=0,c=0;b=oe-912|0;oe=b;if(a){Ae(b+8|0,a,900);a=Ee(a,0,900);c=j[b+732>>2];a:{if(c){qe[c|0](b+8|0,a);break a}ze(a)}LH(b+8|0)}oe=b+912|0}function so(a,b){var c=0,d=0;c=mf(j[66360],p(j[66361],12)+12|0);if(c){j[66360]=c;d=j[66361];c=c+p(d,12)|0;j[c+8>>2]=0;j[c+4>>2]=b;j[c>>2]=a;j[66361]=d+1}}function rl(a,b,c,d){var e=0,f=0;e=p(b,c);f=e;a:{if(j[d+76>>2]<=-1){a=sl(a,e,d);break a}a=sl(a,e,d)}if((f|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function rC(){var a=0,b=0,c=0;b=j[66088];a:{if((b|0)==10){break a}a=j[66089];if((a|0)==10){break a}j[66089]=a+1;c=l[(p(b,20)+(a<<1)|0)+22912>>1]}return c}function xm(a,b,c){var d=0;a:{if(c>>>0<2){break a}while(1){d=k[b|0];if(!d){break a}h[a|0]=d;a=a+1|0;b=b+1|0;c=c-1|0;if(c>>>0>1){continue}break}}h[a|0]=0}function uM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=pC(a,b,c,d);if(a){j[a+796>>2]=8192;j[a+208>>2]=32768;j[a+212>>2]=j[a+212>>2]|3145728;dr(a,0,0)}return a|0}function zr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=j[a+532>>2];j[d>>2]=0;j[d+4>>2]=0;if(e){f=d,g=qe[j[e+84>>2]](a,b,c)|0,j[f>>2]=g}return 0}function Qi(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=0;qe[j[a+8>>2]](a,b+12|0,4,1)|0;oe=b+16|0;a=j[b+12>>2];return a<<8&16711680|a<<24|(a>>>8&65280|a>>>24)}function Lo(a,b,c){var d=0;d=8;a:{if(c>>>0>8){break a}d=c;if(d){break a}return-1}if(b>>>0<=7){a=Bg(a+b|0,b+2433|0,b+d>>>0>8?8-b|0:d)}else{a=-1}return a}function Ju(){var a=0,b=0,c=0;a=j[67085];a:{if(!a){break a}if(!Eh(j[a+708>>2])){break a}a=j[67085];b=j[a+196>>2];if(!b){break a}c=qe[b|0](a)|0}return c}function HA(a){var b=0;b=oe+ -64|0;oe=b;a=GA(a);a:{if((a|0)<0){break a}j[b+8>>2]=1541;if((We(1541,-1)|0)!=1){break a}j[b+16>>2]=a;gf(b+8|0)}oe=b- -64|0}function ih(a,b){var c=0;a:{if(!a){b=0;break a}if(b){c=j[a+720>>2];b:{if(c){b=qe[c|0](a,b)|0;break b}b=Te(b)}if(b){break a}}Ye(a,4818);z()}return b}function ci(a,b){var c=0;a:{if(a-1>>>0>253){break a}c=v(Ag(+(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 Sj(a){var b=0,c=0;b=j[a>>2];j[a>>2]=1;if(b){b=0;while(1){a:{if((b|0)<=31){b=b+1|0;break a}bg(0)}c=j[a>>2];j[a>>2]=1;if(c){continue}break}}}function Pq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe-16|0;oe=c;j[b>>2]=0;d=He(a,4,c+12|0);e=j[c+12>>2];if(!e){j[d>>2]=a;j[b>>2]=d}oe=c+16|0;return e|0}function $J(a,b,c){a=a|0;b=b|0;c=c|0;c=j[a+112>>2];i[a+156>>1]=0-c;b=p(i[b>>1],c);j[a+148>>2]=0-b;if((c|0)>=1){j[a+148>>2]=p(j[a+104>>2]-1|0,c)-b}}function cL(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=j[a+12>>2];if((i[a+22>>1]+b|0)+i[a+58>>1]>>>0<=m[a+4>>2]){break a}c=yf(a,b,0)}return c|0}function RE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=bf(1,32);j[a+4>>2]=j[b>>2];c=j[b+8>>2];j[a+20>>2]=b;j[a>>2]=c;d=a,e=bf(2,4),j[d+8>>2]=e;return a|0}function PL(a,b){a=a|0;b=b|0;var c=0;c=j[a>>2];Dg(c,b);j[a+24>>2]=j[c+204>>2]<<6;j[a+28>>2]=0-(j[c+208>>2]<<6);j[a+36>>2]=i[c+236>>1]<<6;return 0}function Bs(a,b){a=a|0;b=b|0;var c=0;c=j[a+20>>2];j[b>>2]=c<<6;j[b+8>>2]=c+j[a+32>>2]<<6;c=j[a+24>>2]<<6;j[b+12>>2]=c;j[b+4>>2]=c-(j[a+28>>2]<<6)}function XD(a){var b=0,c=0;b=oe-16|0;oe=b;c=-1;a:{if(lp(a)){break a}if((qe[j[a+32>>2]](a,b+15|0,1)|0)!=1){break a}c=k[b+15|0]}oe=b+16|0;return c}function Sy(a,b,c,d){var e=0,f=0;if(b){if((c|0)>0){while(1){f=Dh(a,(e<<4)+b|0,d)+f|0;e=e+1|0;if((e|0)!=(c|0)){continue}break}}return}ve(45031,0)}function jJ(a){a=a|0;var b=0,c=0;j[a+28>>2]=0;b=j[a+36>>2];a:{if(!b){break a}c=j[a+32>>2];if(!c){break a}if(c){qe[j[b+8>>2]](b,c)}j[a+32>>2]=0}}function Eg(a){var b=0;b=j[a+28>>2];a:{if(b){break a}b=0;if(!(k[a|0]&2)){break a}bi(a,1);j[a>>2]=j[a>>2]|2;b=j[a+28>>2]}j[a+28>>2]=b+1;return 0}function oF(a){var b=0,c=0;j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;b=a,c=bf(1,3664),j[b+28>>2]=c}function zh(a,b){a:{if(!a){break a}a=j[a>>2];if(!a){break a}while(1){if(j[a+8>>2]==(b|0)){return a}a=j[a+4>>2];if(a){continue}break}}return 0}function ll(a){var b=0,c=0;b=oe+ -64|0;oe=b;c=j[(a>>>6&1020)+264416>>2];if(!(j[(a>>>3&28)+c>>2]>>>a&1?c:0)){j[b+8>>2]=a;gf(b+8|0)}oe=b- -64|0}function gE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=j[a+20>>2];d=j[a+16>>2]-e|0;d=c>>>0>>0?c:d;Ae(e,b,d);j[a+20>>2]=d+j[a+20>>2];return c|0}function LA(){var a=0,b=0;WA();if(!j[67073]){a=268292,b=Hi(),j[a>>2]=b}Hg(31325,169,0);if((Wi(16384)|0)<0){return-1}return qe[j[58770]]()>>31}function zD(a,b,c,d){var e=0,f=0;f=d&65535;d=d>>>16&32767;a:{if((d|0)!=32767){e=4;if(d){break a}return a|c|(b|f)?3:2}e=!(a|c|(b|f))}return e}function oO(a){var b=0;b=oe-32|0;oe=b;j[b+8>>2]=0;j[b+20>>2]=72;j[b+24>>2]=72;j[b+12>>2]=640;j[b+16>>2]=640;a=Dm(a,b+8|0);oe=b+32|0;return a}function ug(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a=yj(d,e,f,g,h);if(!a){ve(55923,0);return 0}return wj(b,c,a)|0}function VC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[a+12>>2];qe[j[a+4>>2]](a,b,b>>31,0)|0;if(d){a=qe[j[a+8>>2]](a,c,1,d)|0}else{a=0}return a|0}function QE(a){a=a|0;var b=0,c=0;if(a){b=j[a+8>>2];if(b){c=j[b>>2];if(c){ze(c);b=j[a+8>>2]}c=j[b+4>>2];if(c){ze(c);b=j[a+8>>2]}ze(b)}ze(a)}}function xK(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+4>>2];a:{if(c){break a}d=j[a>>2];c=Tq(a+16|0,b,d);if(c){break a}c=Tq(a+52|0,b,d)}return c|0}function qn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!(!a|!b|(!c|!(j[b+8>>2]&8)))){j[c>>2]=j[b+16>>2];j[d>>2]=l[b+20>>1];e=8}return e|0}function qi(a){var b=0;a=a*a;b=a*a;return q(a*-.499999997251031+1+b*.04166662332373906+a*b*(a*2439044879627741e-20+ -.001388676377460993))}function jo(a){var b=0;b=oe-16|0;oe=b;i[b+14>>1]=0;qe[j[a+8>>2]](a,b+14|0,2,1)|0;oe=b+16|0;a=l[b+14>>1];return(a<<8&16711680|a<<24)>>>16|0}function Ns(a){a=a|0;var b=0,c=0;b=j[67093];if((a|0)>=1){while(1){c=(a|0)>1;b=j[b+1320>>2];a=a-1|0;if(c){continue}break}}return j[b+12>>2]}function Ml(a){var b=0;if(a){b=j[a+8>>2];if(b){ze(b)}b=j[a+12>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function Dk(a){var b=0;a:{if(!a){break a}b=j[67085];if(!b){break a}if((Eh(j[b+708>>2])|0)==(a|0)){tg(0,0)}b=j[67085];qe[j[b+204>>2]](b,a)}}function yi(a,b){var c=0;c=oe-240|0;oe=c;a:{if(!a){j[c>>2]=b;a=j[56878];_j(a,8219,c);zl(a);break a}dj(a,c+16|0,b);Ze(a,c+16|0)}oe=c+240|0}function jg(a){var b=0;a:{b=j[a+28>>2];if(!b){break a}j[a+28>>2]=b-1;if((b|0)>1){break a}b=j[a>>2];if(!(b&2)){break a}j[a>>2]=b&-3;Cj(a)}}function _D(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=j[b>>2]+15&-16;j[c>>2]=b+16;d=a,e=tl(j[b>>2],j[b+4>>2],j[b+8>>2],j[b+12>>2]),o[d>>3]=e}function Rs(a){a=a|0;var b=0,c=0;b=j[67093];if((a|0)>=1){while(1){c=(a|0)>1;b=j[b+1320>>2];a=a-1|0;if(c){continue}break}}return j[b+4>>2]}function Ni(a){var b=0,c=0;b=v(1e10/+(a|0)+.5);a=b>=-2147483648;if(r(b)<2147483648){c=~~b}else{c=-2147483648}return b<=2147483647?a?c:0:0}function LE(a){var b=0;if(a){b=j[a>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function Jq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;j[d>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;if(j[b+72>>2]==j[a+16>>2]){Ug(b+108|0,c)}}function lB(a,b){a=a|0;b=b|0;var c=0;a:{if(!(j[b>>2]!=512|(k[b+12|0]-5&255)>>>0>1)){c=0;if(j[b+8>>2]==j[a+8>>2]){break a}}c=1}return c|0}function eH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=12;a:{if(we(b,158911)){break a}d=7;if(j[c>>2]!=35){break a}j[a- -64>>2]=35;d=0}return d|0}function Ji(a,b){var c=0;if(!a){return}a=j[a+52>>2];h[a+79|0]=b;c=j[a+68>>2];b=c&-3|((b|0)!=255)<<1;j[a+68>>2]=b;if((b|0)!=(c|0)){vf(a)}}function bE(a,b,c,d){if(a|b){while(1){c=c-1|0;h[c|0]=k[(a&15)+227456|0]|d;a=(b&15)<<28|a>>>4;b=b>>>4|0;if(a|b){continue}break}}return c}function He(a,b,c){if((b|0)<=0){j[c>>2]=b?6:0;return 0}a=qe[j[a+4>>2]](a,b)|0;if(!a){j[c>>2]=64;return 0}a=Ee(a,0,b);j[c>>2]=0;return a}function Zj(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=j[a+4>>2];c=a;break a}b=b-32|0;c=a+4|0}c=j[c>>2];j[a+4>>2]=d>>>b;j[a>>2]=d<<32-b|c>>>b}function fF(a){var b=0,c=0;a:{if(j[a+4>>2]){c=j[a+72>>2];b=c;if(j[a+88>>2]<3){break a}return(j[a+96>>2]<<5)+c|0}b=j[a+72>>2]}return b}function eF(a){var b=0,c=0;a:{if(j[a+4>>2]){c=j[a+76>>2];b=c;if(j[a+88>>2]<3){break a}return(j[a+96>>2]<<4)+c|0}b=j[a+76>>2]}return b}function zH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+32&-64;return((a|0)>0?a:0)|0}a=(c-b|0)+32&-64;return((a|0)<0?0:0-a|0)|0}function wH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+63&-64;return((a|0)>0?a:0)|0}a=(c-b|0)+63&-64;return((a|0)<0?0:0-a|0)|0}function sH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+16&-32;return((a|0)>0?a:0)|0}a=(c-b|0)+16&-32;return((a|0)<0?0:0-a|0)|0}function pI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=oe-16|0;oe=e;a=dm(a,b,e+12|0);if(!a){xm(c,j[e+12>>2],d)}oe=e+16|0;return a|0}function jM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){j[b>>2]=j[a+152>>2]}if(c){j[c>>2]=j[a+156>>2]}if(d){j[d>>2]=j[a+160>>2]}return 0}function gn(a,b,c,d){if(!a){return}if(b){h[b|0]=k[j[a+52>>2]+76|0]}if(c){h[c|0]=k[j[a+52>>2]+77|0]}if(d){h[d|0]=k[j[a+52>>2]+78|0]}}function dr(a,b,c){a=a|0;b=b|0;c=c|0;if(a){j[a+188>>2]=b;j[a+184>>2]=c?c:73;if(j[a+180>>2]){j[a+180>>2]=0;Ze(a,7686)}j[a+472>>2]=0}}function Xj(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=j[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=j[c>>2];j[a>>2]=d<>2]=c<>>32-b}function LJ(a,b){a=a|0;b=b|0;var c=0;j[a+16>>2]=b;c=k[b+7|0];b=k[b+6|0];j[a+24>>2]=-1;j[a+28>>2]=0;j[a+32>>2]=(b<<8|c)>>>1;return 0}function LC(a,b,c){a=a|0;b=b|0;c=c|0;if(a){if(4294967295/(c>>>0)>>>0<=b>>>0){Ze(a,2441);return 0}a=dg(a,p(b,c))}else{a=0}return a|0}function NK(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+376>>2];j[a+16>>2]=c;j[a+20>>2]=j[b+380>>2]-c;j[a+24>>2]=j[b+384>>2];return 0}function Ii(a){var b=0;b=j[67085];if(!b){ve(57733,0);return 0}if(!(j[a>>2]==(b+316|0)?a:0)){ve(56433,0);return 0}return j[a+48>>2]}function pg(a){var b=0,c=0,d=0;b=a;c=j[a+36>>2];a=j[a+32>>2];if(c>>>0>a+1>>>0){d=k[a|0]|k[a+1|0]<<8;a=a+2|0}j[b+32>>2]=a;return d}function XK(a){a=a|0;var b=0;if(a){b=j[a+212>>2];if(b&64){xi(a,7979);return}j[a+212>>2]=b|16384;j[a+216>>2]=j[a+216>>2]|33558528}}function PD(a,b){var c=0;c=oe-144|0;oe=c;c=Ee(c,0,144);j[c+76>>2]=-1;j[c+44>>2]=a;j[c+32>>2]=1070;j[c+84>>2]=a;SD(c,b);oe=c+144|0}function JC(){var a=0;a=j[66037];if(a){while(1){if(j[a>>2]==1){return j[a+4>>2]}a=j[a+8>>2];if(a){continue}break}}return j[57835]}function FC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=oe-16|0;oe=a;j[a+4>>2]=d;j[a>>2]=j[(c<<2)+22640>>2];_j(j[56878],22630,a);oe=a+16|0}function $q(a,b){a=a|0;b=b|0;a=j[a+4>>2]|j[a>>2]<<16;b=j[b+4>>2]|j[b>>2]<<16;if(a>>>0<=b>>>0){return(a>>>0>>0?-1:0)|0}return 1}function QC(){var a=0,b=0;a:{a=j[65572];if(!a){break a}a=a-1|0;j[65572]=a;if(a){break a}a=j[65573];if(a){b=j[a>>2];fO(a);ze(b)}}}function yH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c&-64|32;return((a|0)<0?32:a)|0}a=c-b&-64;return((a|0)<-32?-32:-32-a|0)|0}function jz(a){a=a|0;var b=0;b=j[a+436>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function bo(a,b){var c=0;c=oe-16|0;oe=c;a:{if(a>>>0>=2){j[c>>2]=1;ve(31447,c);break a}Ae(b,j[(a<<2)+31484>>2]+4|0,84)}oe=c+16|0}function uj(a,b){var c=0;if(!a){return}a=j[a+52>>2];c=j[a+68>>2];b=c&-4097|((b|0)!=0)<<12;j[a+68>>2]=b;if((b|0)!=(c|0)){vf(a)}}function QK(a){a=a|0;var b=0;if(a){b=j[a+212>>2];if(b&64){xi(a,7979);return}j[a+212>>2]=b|16384;j[a+216>>2]=j[a+216>>2]|20480}}function wK(a){a=a|0;j[a+12>>2]=1;j[a+16>>2]=0;j[a+4>>2]=0;j[a+76>>2]=0;j[a- -64>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+28>>2]=0}function qK(a){a=a|0;j[a+12>>2]=2;j[a+16>>2]=0;j[a+4>>2]=0;j[a+76>>2]=0;j[a- -64>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+28>>2]=0}function kB(a,b){a=a|0;b=b|0;var c=0;a:{if(!(j[b>>2]!=512|k[b+12|0]!=4)){c=0;if(j[b+8>>2]==j[a+8>>2]){break a}}c=1}return c|0}function jB(a,b){a=a|0;b=b|0;var c=0;a:{if(!(j[b>>2]!=512|k[b+12|0]!=3)){c=0;if(j[b+8>>2]==j[a+8>>2]){break a}}c=1}return c|0}function eL(a){a=a|0;var b=0;if(a){b=j[a+212>>2];if(b&64){xi(a,7979);return}j[a+212>>2]=b|16384;j[a+216>>2]=j[a+216>>2]|1024}}function Ve(a){var b=0,c=0;if(j[a+20>>2]){b=j[a+28>>2];c=j[a>>2];if(c){qe[j[b+8>>2]](b,c)}j[a>>2]=0}j[a+32>>2]=0;j[a+36>>2]=0}function LK(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+16>>2];return(c>>>0>b>>>0|j[a+20>>2]+c>>>0<=b>>>0?d:l[j[a+24>>2]+(b<<1)>>1])|0}function xB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(d){b=0;if(k[d|0]==48){break a}if(!Me(d,29890)){break a}}b=1}j[a+120>>2]=b}function UD(){var a=0;if(j[57796]){a=j[57812];if(a){qe[a|0]()}j[57796]=0}if(j[57816]){a=j[57832];if(a){qe[a|0]()}j[57816]=0}}function BO(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;d=He(a,96,c+12|0);e=j[c+12>>2];if(!e){j[d>>2]=a;j[b>>2]=d}oe=c+16|0;return e}function pK(a){a=a|0;var b=0;j[a+140>>2]=0;j[a+112>>2]=0;b=j[a+12>>2];Vq(a+28|0,b);Vq(a- -64|0,b);j[a+12>>2]=0;j[a+16>>2]=0}function at(a){a=a|0;var b=0,c=0;b=j[a+96>>2];c=j[b>>2];if((qe[j[c+12>>2]](c,j[b+8>>2],1,j[a+16>>2])|0)!=j[a+16>>2]){Do(a)}}function gH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+16>>2]+(c<<3)|0;j[a+4>>2]=j[a+4>>2]+d;a=j[b+24>>2]+c|0;h[a|0]=k[a|0]|16}function OI(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1886352244,b,0)|0;if(!c){return $e(b,157152,a+468|0)|0}return c|0}function $f(a,b){var c=0;if(!b){return 0}a:{if(!a){break a}c=j[a+720>>2];if(!c){break a}return qe[c|0](a,b)|0}return Te(b)}function fk(a,b){var c=0;c=-1;a:{if(j[a+8>>2]<1){break a}b=vi(a,b);if((b|0)<0){break a}c=j[j[a+24>>2]+(b<<2)>>2]}return c}function bG(a,b){a=a|0;b=b|0;var c=0;b=j[j[a>>2]+132>>2];c=k[b+104|0];j[a+16>>2]=c;j[a+20>>2]=(k[b+105|0]-c|0)+1;return 0}function di(a,b,c,d,e){if(!(j[a>>2]==268305?a:0)){ve(31725,0);return}h[a+327|0]=e;h[a+326|0]=d;h[a+325|0]=c;h[a+324|0]=b}function TN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=hj(j[a>>2],c,74899);if(!a){return 64}j[d>>2]=a;j[e>>2]=0;return 0}function SN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=hj(j[a>>2],c,74913);if(!a){return 64}j[d>>2]=a;j[e>>2]=0;return 0}function Re(a,b,c){var d=0,e=0,f=0,g=0;d=Le(b);if(c){e=a;a=c-1|0;a=a>>>0>d>>>0?d:a;f=Ae(e,b,a)+a|0,g=0,h[f|0]=g}return d}function KJ(a){var b=0;a:{if(!a){break a}b=j[a+156>>2];if(!b){break a}a=j[a+160>>2];if(!a){break a}qe[b|0](a,1)}Nc();z()}function Dt(a){a=a|0;var b=0;b=oe-16|0;oe=b;h[b+14|0]=105;h[b+15|0]=0;j[b>>2]=j[a+68>>2];E(68003,b+14|0,b|0)|0;oe=b+16|0}function qu(a,b){a=a|0;b=b|0;a=vu(a,j[j[b+144>>2]>>2]);a:{if(!(S()|0)){break a}if(!xg(59687,1)){break a}R(0)}return a|0}function Ht(a,b){a=a|0;b=b|0;a=oe-16|0;oe=a;h[a+14|0]=105;h[a+15|0]=0;j[a>>2]=j[b+8>>2];E(63707,a+14|0,a|0)|0;oe=a+16|0}function Cs(a,b){a=a|0;b=b|0;var c=0;c=j[a>>2];j[b+20>>2]=j[a+20>>2];j[b+24>>2]=j[a+24>>2];return xk(c,a+28|0,b+28|0)|0}function aE(a,b,c){if(a|b){while(1){c=c-1|0;h[c|0]=a&7|48;a=(b&7)<<29|a>>>3;b=b>>>3|0;if(a|b){continue}break}}return c}function yE(a,b,c){var d=0;b=b&255;while(1){if(!c){return 0}c=c-1|0;d=c+a|0;if((b|0)!=k[d|0]){continue}break}return d}function xH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c&-64;return((a|0)>0?a:0)|0}a=c-b&-64;return((a|0)<0?0:0-a|0)|0}function jH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+16>>2]+(c<<3)|0;j[a>>2]=j[a>>2]+d;a=j[b+24>>2]+c|0;h[a|0]=k[a|0]|8}function YI(a,b){a=a|0;b=b|0;a=j[j[a>>2]+4>>2];b=j[j[b>>2]+4>>2];if(a>>>0<=b>>>0){return(a>>>0>>0?-1:0)|0}return 1}function Uf(a){var b=0,c=0;c=Le(a)+1|0;b=c;b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}if(b){Ae(b,a,c)}return b}function Lq(a){a=a|0;var b=0;b=j[a+4>>2];qe[j[j[j[a+12>>2]+56>>2]+8>>2]](j[a+52>>2],j[b+164>>2],j[b+168>>2]);return 0}function xr(a){a=a|0;var b=0,c=0;b=j[j[a>>2]+100>>2];c=j[a+20>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+16>>2]=0;j[a+20>>2]=0}function wo(a,b){var c=0;a:{if(!a|!b){break a}c=j[b>>2];if(!c){break a}j[b>>2]=0;Si(a,c,32767,-1);Ke(a,Ee(c,0,268))}}function pL(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(!a){break a}if((ak(b,1,c,j[a+188>>2])|0)==(c|0)){break a}Ye(a,7675);z()}}function fp(a,b,c,d,e,f,g,h,i){j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=d;j[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function ao(a,b,c){if(!(j[a>>2]==268306?a:0)){ve(31970,0);return}if(b){j[b>>2]=j[a+12>>2]}if(c){j[c>>2]=j[a+16>>2]}}function Zt(a,b,c){a=a|0;b=b|0;c=c|0;if((a|0)==12){po()}zf(j[c+4>>2],(a|0)==13?12:13,0,0);return(We(512,-1)|0)==1|0}function Zr(a){a=a|0;var b=0,c=0;b=j[a+28>>2];c=j[a>>2];if(c){qe[j[b+8>>2]](b,c)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0}function TI(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1751474532,b,0)|0;if(!c){c=$e(b,156656,a+160|0)}return c|0}function JI(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1346587732,b,0)|0;if(!c){c=$e(b,157264,a+548|0)}return c|0}function II(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1651008868,b,0)|0;if(!c){c=$e(b,156656,a+160|0)}return c|0}function Bt(a,b){var c=0;c=j[a+208>>2];if((c&5)==5){j[a+208>>2]=c|24;Ie(a,b);if(b){Je(a,5787)}return}hf(a,5774);z()}function ys(a,b){a=a|0;b=b|0;var c=0;b=b+20|0;c=Cm(j[a>>2],i[a+22>>1],i[a+20>>1],b);if(!c){Tr(a+20|0,b)}return c|0}function vk(a){var b=0,c=0;if(a){b=j[j[a>>2]>>2];c=j[j[a+4>>2]+12>>2];if(c){qe[c|0](a)}if(a){qe[j[b+8>>2]](b,a)}}}function ck(a){var b=0;if(a){b=j[a>>2];if(b){ze(b)}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360)}}function Zo(a){var b=0,c=0;b=oe-16|0;oe=b;KD(b,a);c=tl(j[b>>2],j[b+4>>2],j[b+8>>2],j[b+12>>2]);oe=b+16|0;return c}function Xe(a,b){var c=0;c=a;a=(a|0)!=0&(b|0)!=0;a=qe[j[57973]](a?c:1,a?b:1)|0;if(a){j[57976]=j[57976]+1}return a}function XC(){var a=0;a:{a=j[65572];if(!a){if(CO()){break a}a=j[65572]}j[65572]=a+1;return 0}ve(21476,0);return-1}function CC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Fo(j[a+92>>2],b,c);d=d-c|0;if((d|0)>=1){Oe(b+c|0,k[a+11|0],d)}}function jP(a){var b=0,c=0;b=v(a);c=a-b;if(!(c<.5)){a=w(a);if(c>.5){return a}c=a;a=b*.5;b=a-v(a)==0?b:c}return b}function cJ(){var a=0;a=j[65534];if(a&1){a=j[65534]}if(a&2){a=j[65535];if(a){j[65535]=a-1}a=j[65534]}j[65534]=0}function Up(a){var b=0;if(a){b=j[a+4>>2];if(b){ze(b)}b=j[a+8>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0}}function Qj(a){a:{a=a-1|0;if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}ve(23120,0);return}qe[j[66053]](a)}function Pj(a){a:{a=a-1|0;if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}ve(23120,0);return}qe[j[66054]](a)}function SO(a,b){a=a|0;b=b|0;j[a+24>>2]=j[b+20>>2];j[a+4>>2]=j[b>>2];j[a+28>>2]=j[b+24>>2];us(a,b,0);us(a,b,1)}function _y(){var a=0;Tj(16384);a=j[67077];if(a){if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}j[67077]=0}}function _t(a,b,c){a=a|0;b=b|0;c=c|0;tB(j[c+4>>2],q(o[b+64>>3]),q(-q(o[b+72>>3])));return(We(1027,-1)|0)==1|0}function qp(a){var b=0;a=rp(a);b=pe;if((b|0)>0?1:(b|0)>=0?a>>>0>=2147483648:0){j[67100]=61;return-1}return a}function Yg(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=0;qe[j[a+8>>2]](a,b+12|0,4,1)|0;oe=b+16|0;return j[b+12>>2]}function yu(a,b){a=a|0;b=b|0;a:{if(!b){break a}a=j[a+992>>2];if(!a){break a}qe[j[a+68>>2]](j[a+8>>2],b)|0}}function hD(a,b){a=a|0;b=b|0;j[a+8>>2]=b;a=Dl(a+16|0,0);if((a|0)<=-1){Xi(21253,a);a=-1}else{a=0}return a|0}function Je(a,b){var c=0;c=oe-224|0;oe=c;if(k[a+214|0]&16){dj(a,c,b);Ze(a,c);oe=c+224|0;return}hf(a,b);z()}function JK(a,b){a=a|0;b=b|0;b=j[a>>2];return qe[j[j[b+484>>2]+4>>2]](j[b+100>>2],a,j[b+416>>2],699,0,b)|0}function FE(a){var b=0;b=j[a+8>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}function yB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0);e=q(1);if(!(!d|!k[d|0])){e=q(Zo(d))}n[a+100>>2]=e}function jf(a,b){var c=0;if(!(!a|!j[a+20>>2])){a=j[a+28>>2];c=j[b>>2];if(c){qe[j[a+8>>2]](a,c)}}j[b>>2]=0}function RD(a,b){var c=0;c=oe-16|0;j[c+12>>2]=a;a=b>>>0>1?((b<<2)+a|0)-4|0:a;j[c+8>>2]=a+4;return j[a>>2]}function Du(a,b){a=a|0;b=b|0;a=j[j[a+992>>2]+56>>2];a:{if(a){a=qe[a|0](b)|0;if(a){break a}}a=0}return a|0}function zB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0);e=q(1);if(!(!d|!k[d|0])){e=q(Zo(d))}n[a+96>>2]=e}function wm(a,b){var c=0;if(!(!a|!b)){c=j[a+4>>2];j[b>>2]=c;j[b+4>>2]=0;j[(c?c+4|0:a)>>2]=b;j[a+4>>2]=b}}function ru(a,b,c){a=a|0;b=b|0;c=c|0;if(!(!b|!c)){return Ck(a,j[j[b+144>>2]>>2],c)|0}return Ck(a,0,0)|0}function YN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;j[d>>2]=0;if(!b){return 81}return ij(b,333319,e)|0}function Xs(a,b,c){a=a|0;b=b|0;c=c|0;bg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0);Oe(b,k[a+11|0],c);return c|0}function XN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;j[d>>2]=0;if(!b){return 81}return ij(b,333312,e)|0}function GE(a){var b=0;j[a>>2]=0;j[a+4>>2]=0;b=Te(256);j[a+12>>2]=b;j[a+8>>2]=b;h[b|0]=0;j[a+16>>2]=256}function vH(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 sJ(a,b){a=a|0;b=b|0;var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;a=Aq(a,c+12|0,0);oe=c+16|0;return a|0}function qC(a){var b=0;b=l[a+4>>1];h[a+7|0]=((b|0)==8)<<7;j[a+12>>2]=p(l[a+8>>1],p(k[a+6|0],b>>>3&31))}function or(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=oe-16|0;oe=d;a=He(a,p(b,c),d+12|0);oe=d+16|0;return a|0}function oJ(a,b){a=a|0;b=b|0;var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;a=yq(a,c+12|0,0);oe=c+16|0;return a|0}function jN(a,b){a=a|0;b=b|0;b=j[a>>2];j[a+16>>2]=j[j[b+140>>2]+52>>2];j[a+20>>2]=j[b+144>>2];return 0}function wv(a,b,c,d,e){if(!(!a|!b)){h[b+188|0]=e;j[b+184>>2]=d;j[b+180>>2]=c;j[b+8>>2]=j[b+8>>2]|256}}function ph(a,b){if(!j[a+248>>2]){b=b+7|0;if(b>>>0<=9){b=j[(b<<2)+4720>>2]}else{b=2533}j[a+248>>2]=b}}function kv(a,b,c,d,e){if(!(!a|!b)){h[b+200|0]=e;j[b+196>>2]=d;j[b+192>>2]=c;j[b+8>>2]=j[b+8>>2]|128}}function xO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;j[a+156>>2]=b;j[a+160>>2]=c;j[a+164>>2]=d;j[a+168>>2]=0}function gj(a,b,c){if((b|0)>=1){a=qe[j[a+4>>2]](a,b)|0;j[c>>2]=!a<<6;return a}j[c>>2]=b?6:0;return 0}function Th(a,b){var c=0;if(!(!a|!b)){c=j[b>>2];b=j[b+4>>2];j[(c?c+4|0:a)>>2]=b;j[(b?b:a+4|0)>>2]=c}}function dH(a,b,c){a=a|0;b=b|0;c=c|0;if(we(b,158911)){a=12}else{j[c>>2]=j[a- -64>>2];a=0}return a|0}function HM(a,b){a=a|0;b=b|0;a=j[a+656>>2];h[b|0]=0;if(!(!a|j[a+1456>>2]==65535)){h[b|0]=1}return 0}function CO(){var a=0,b=0;a=EN();if(!a){return 7}b=gO(a);if(b){ze(a);return b}DO(j[65573]);return 0}function pp(){var a=0;a=Qa(1352)|0;if((a|0)==-31){a=Pa(1352)|0}if(a>>>0>=4294963201){j[67100]=0-a}}function po(){var a=0;while(1){if(k[a+265490|0]==1){kl(0,a)}a=a+1|0;if((a|0)!=512){continue}break}}function kN(a,b){a=a|0;b=b|0;a=j[a+4>>2];b=j[b+4>>2];if((a|0)>=(b|0)){return(a|0)>(b|0)|0}return-1}function TE(a,b){a=a|0;b=b|0;var c=q(0),d=q(0);c=n[j[a>>2]>>2];d=n[j[b>>2]>>2];return(cd)|0}function EN(){var a=0;a=Te(16);if(a){j[a+12>>2]=577;j[a+4>>2]=578;j[a>>2]=0;j[a+8>>2]=579}return a}function Ao(a){a=a-1|0;a:{if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}a=0;ve(23120,0)}Af(a)}function Ys(a){a=a|0;j[a+80>>2]=1;j[a+32>>2]=514;j[a+4>>2]=515;j[a+72>>2]=1;j[a+76>>2]=1;return 1}function Ue(a,b,c,d){var e=0;e=oe-16|0;oe=e;j[e+12>>2]=d;a=xl(a,b,c?c:44884,d);oe=e+16|0;return a}function KA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(d){a=1;if(k[d|0]==49){break a}}a=0}h[268304]=a}function xG(a){a=a|0;var b=0;b=Kf(j[a+4>>2],162408);if(!b){return 11}j[a+28>>2]=j[b>>2];return 0}function ZE(a,b){a=a|0;b=b|0;a=j[j[a>>2]>>2];b=j[j[b>>2]>>2];return(a>>>0>b>>>0)-(a>>>0>>0)|0}function Ye(a,b){var c=0;a:{if(!a){break a}c=j[a+168>>2];if(!c){break a}qe[c|0](a,b)}VJ(a,b);z()}function VJ(a,b){var c=0;c=oe-16|0;oe=c;j[c>>2]=b?b:8209;b=j[56878];_j(b,8192,c);zl(b);KJ(a);z()}function Ke(a,b){a=a|0;b=b|0;var c=0;if(!(!a|!b)){c=j[a+724>>2];if(c){qe[c|0](a,b);return}ze(b)}}function ig(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;j[c+8>>2]=a;a=pk(c+8|0);oe=c+16|0;return a}function _N(a,b){a=a|0;b=b|0;a=l[a>>1];b=l[b>>1];if(a>>>0>=b>>>0){return a>>>0>b>>>0|0}return-1}function Qm(){if(!k[268376]){h[268376]=1;if(!(P(4,268380)|0)){h[268388]=1;return}O(268392,0)|0}}function Kj(a,b,c,d,e){a:{if(c|!a){break a}if(Gh(a,d,e,(b|0)!=-1)){break a}return}Fh(a,b,c,d,e)}function Iq(a,b,c){a=a|0;b=b|0;c=c|0;return qe[j[j[j[a+12>>2]+56>>2]+12>>2]](j[a+52>>2],b,c)|0}function fx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){j[a+724>>2]=d;j[a+720>>2]=c;j[a+716>>2]=b}}function eD(a,b){a=a|0;b=+b;a=Dl(a+16|0,b);if((a|0)<=-1){Xi(21253,a);a=-1}else{a=0}return a|0}function dk(a){var b=0;if(j[a+36>>2]){b=j[a+32>>2];if(b){ze(b)}b=j[a+8>>2];if(b){ze(b)}ze(a)}}function ML(a,b){a=a|0;b=b|0;b=j[a>>2];j[a+16>>2]=j[b+296>>2];j[a+20>>2]=j[b+300>>2];return 0}function AH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){j[a+172>>2]=d;j[a+168>>2]=c;j[a+176>>2]=b}}function sG(a){a=a|0;if(zh(j[j[a>>2]+500>>2]+108|0,j[a+44>>2])){Xr(j[a+44>>2]);j[a+44>>2]=0}}function pD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=qe[a|0](b,c,d,e)|0;D(pe|0);return a|0}function Eh(a){var b=0,c=0;b=En();if(!(!a|!b|m[b>>2]>>0)){c=j[((a<<3)+b|0)-4>>2]}return c}function xs(a,b,c){a=a|0;b=b|0;c=c|0;if(b){Ah(a+20|0,b)}if(c){Tf(a+20|0,j[c>>2],j[c+4>>2])}}function VK(a){a=a|0;var b=0,c=0;b=j[a>>2];c=j[a+4>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+4>>2]=0}function QJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=0;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function MJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=2;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function GJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=4;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function CJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=6;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function wA(a,b){if(!(j[a>>2]==268305?a:0)){ve(31725,0);return-1}Ae(b,a+104|0,84);return 0}function hI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=am(a,b,c,d,3);if(!a){h[b+94|0]=5}return a|0}function gI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=am(a,b,c,d,4);if(!a){h[b+94|0]=6}return a|0}function PC(){h[262336]=1;Tj(62001);h[268376]=0;KC();OC();IC();Oe(262304,0,32);h[262336]=0}function BB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=500;if(!(!d|!k[d|0])){b=rf(d)}j[a+112>>2]=b}function _f(a,b,c){b=_e(a,b);if(!b){j[c>>2]=j[a+32>>2];j[a+32>>2]=0;j[a+36>>2]=0}return b}function AB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=32;if(!(!d|!k[d|0])){b=rf(d)}j[a+116>>2]=b}function uA(a){if(!(j[a>>2]==268305?a:0)){ve(31725,0);return}n[a+288>>2]=2;n[a+292>>2]=2}function iH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+12>>2]+(c<<3)|0;j[a+4>>2]=j[a+4>>2]+d}function cM(a,b){a=a|0;b=b|0;if(a){if(!(k[a+212|0]&64)){nm(a);zK(a,b);return}xi(a,7337)}}function lP(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function UH(a){a=a|0;j[a+296>>2]=-1;j[a+300>>2]=-1;j[a+112>>2]=-1;h[a+108|0]=0;return 0}function yG(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=qe[j[b+52>>2]](b,0,0,0)|0,j[c+540>>2]=d}function fq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;xm(c,j[j[a+420>>2]+(b<<2)>>2],d);return 0}function BI(a){a=a|0;jf(j[a+104>>2],a+724|0);j[a+736>>2]=0;j[a+728>>2]=0;j[a+732>>2]=0}function qN(a,b,c){a=a|0;b=b|0;c=c|0;j[b>>2]=j[a+132>>2];j[c>>2]=j[a+136>>2];return 0}function mf(a,b){b=qe[j[57974]](a,a|b?b:1)|0;if(!(!b|a)){j[57976]=j[57976]+1}return b}function kP(a){var b=0,c=0;while(1){c=b;if(a){a=a-1&a;b=b+1|0;continue}break}return c}function Wn(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+32372>>2]}return a>>>20&15}function Vn(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+32392>>2]}return a>>>24&15}function OL(a,b,c){a=a|0;b=b|0;c=c|0;j[b>>2]=j[a+176>>2];j[c>>2]=j[a+180>>2];return 0}function kH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+12>>2]+(c<<3)|0;j[a>>2]=j[a>>2]+d}function Yn(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+32332>>2]}return a>>>4&15}function Xn(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+32352>>2]}return a>>>8&15}function PM(a,b){a=a|0;b=b|0;return qe[j[j[j[j[a>>2]+656>>2]+2956>>2]+12>>2]](a,b)|0}function rH(a){a=a|0;if(!(!a|k[a+436|0]>7)){h[a+437|0]=8;j[a+216>>2]=j[a+216>>2]|4}}function pf(a,b,c){var d=0;d=j[a+184>>2];if(d){qe[d|0](a,b,c);return}Ye(a,7648);z()}function Vg(){var a=0;a=j[67085];if(!a){ve(57733,0);return 0}return Eh(j[a+708>>2])}function QM(a,b){a=a|0;b=b|0;return qe[j[j[j[j[a>>2]+656>>2]+2956>>2]+8>>2]](a,b)|0}function qz(a,b){a=a|0;b=b|0;a=j[a+436>>2];j[a>>2]=j[(b?b+76|0:a+4|0)>>2];return 0}function kz(a,b){a=a|0;b=b|0;if(k[b+12|0]==6){a=j[a+436>>2];j[a>>2]=0;j[a+4>>2]=0}}function bB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=qe[j[a+4>>2]](a,b,c,d)|0;return a|0}function ri(a,b){a=Ra(a|0,b|0)|0;if(a>>>0>=4294963201){j[67100]=0-a;a=-1}return a}function hf(a,b){var c=0;c=oe-224|0;oe=c;if(!a){Ye(0,b);z()}dj(a,c,b);Ye(a,c);z()}function Yy(a){a=a|0;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}return a|0}function wu(a){a=a|0;a=j[a+992>>2];if(!a){ve(59084,0);return 0}return j[a+16>>2]}function _F(a,b){a=a|0;b=b|0;b=b-j[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function SC(a,b,c){a=a|0;b=b|0;c=c|0;a=a?j[a+188>>2]:0;qe[j[a+8>>2]](a,b,c,1)|0}function oD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return qe[a|0](b,c,d,e)|0}function nM(a){a=a|0;a=j[a+140>>2];if(a){return(k[a|0]==47?a+1|0:a)|0}return 0}function iI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return am(a,b,(c|0)==1?0:c,d,0)|0}function bk(a,b,c,d){var e=0;e=oe-16|0;oe=e;j[e+12>>2]=d;xl(a,b,c,d);oe=e+16|0}function UC(){var a=0;a=fi(1700,21638);if(!a){ve(Ig(),0);return 0}return WC(a)}function qv(){var a=0;a=Xe(1,88);if(!a){Be(0);return 0}j[a+76>>2]=-1;return a}function mp(a,b,c,d){if(j[a+76>>2]<=-1){return np(a,b,c,d)}return np(a,b,c,d)}function gC(a){a=a|0;if(!a){return 0}a=$f(a,268);if(a){Ee(a,0,268)}return a|0}function cC(a){a=a|0;a=j[a+248>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function FH(a,b,c){a=a|0;b=b|0;c=c|0;a=j[a+384>>2]+(b<<2)|0;j[a>>2]=j[a>>2]+c}function kD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qe[j[a+4>>2]](a,b,c,d)|0}function jD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qe[j[d+8>>2]](d,a,b,c)|0}function HC(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=a;ii(1,2,22410,a);oe=b+16|0}function GC(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=a;ii(6,3,31704,a);oe=b+16|0}function VM(a,b){a=a|0;b=b|0;return(b>>>0<=255?l[j[a+16>>2]+(b<<1)>>1]:0)|0}function TJ(a,b){a=a|0;b=b|0;return(b>>>0<=255?k[(j[a+16>>2]+b|0)+6|0]:0)|0}function Rt(a,b,c){a=a|0;b=b|0;c=c|0;zf(j[c+4>>2],j[b>>2]?2:1,0,0);return 0}function hi(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;ii(1,5,a,b);oe=c+16|0}function aM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return mm(j[a+12>>2],b,c,d)|0}function _w(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;return(!a|!b?d:j[b+8>>2]&c)|0}function _j(a,b,c){var d=0;d=oe-16|0;oe=d;j[d+12>>2]=c;gp(a,b,c);oe=d+16|0}function Zg(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;ii(0,3,a,b);oe=c+16|0}function Ui(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;ii(2,4,a,b);oe=c+16|0}function Io(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;ii(4,6,a,b);oe=c+16|0}function $n(a){if(!(j[a>>2]==268305?a:0)){ve(31725,0);return}j[a+328>>2]=1}function GK(a,b){a=a|0;b=b|0;return qe[j[j[j[a>>2]+484>>2]+12>>2]](a,b)|0}function $z(a,b){a=a|0;b=b|0;if(k[b+12|0]==7){qe[j[j[a+436>>2]+84>>2]]()}}function qB(a){a=a|0;hc(a|0,157)|0;a=a-2|0;if(!a|(a|0)==13){h[268216]=1}}function eK(a){a=a|0;return(a>>>0<=390?i[(a<<1)+154816>>1]+150592|0:0)|0}function SK(a){a=a|0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0}function HK(a,b){a=a|0;b=b|0;return qe[j[j[j[a>>2]+484>>2]+8>>2]](a,b)|0}function kL(a,b){a=a|0;b=b|0;Qf(a,j[a+8>>2]);return wh(a,j[a+8>>2],b)|0}function fK(a){a=a|0;return i[((a>>>0>257?0:a)<<1)+154288>>1]+150592|0}function XM(a,b){a=a|0;b=b|0;j[a+16>>2]=j[j[a>>2]+656>>2]+640;return 0}function Vy(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;PD(a,b);oe=c+16|0}function GN(a){a=a|0;Lh(j[a+12>>2]);j[a+12>>2]=0;j[a>>2]=0;j[a+4>>2]=0}function $j(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;fE(a,b);oe=c+16|0}function gD(a,b,c){a=a|0;b=b|0;c=c|0;return Hp(a,b,c,j[a+12>>2],86)|0}function DD(a,b,c){a=a|0;b=b|0;c=c|0;return Hp(a,b,c,j[a+32>>2],77)|0}function mu(a,b){a=a|0;b=b|0;a=j[b+144>>2];kf(j[a+8>>2]);j[a+8>>2]=0}function HO(a){a=a|0;j[a+12>>2]=48;j[a+16>>2]=5;h[a+20|0]=0;return 0}function rp(a){if(j[a+76>>2]<=-1){a=sp(a);return a}a=sp(a);return a}function eI(a,b){a=a|0;b=b|0;$l(b,j[a>>2]<<2,j[a+4>>2]<<2);return 0}function az(a,b){a=a|0;b=b|0;a=qj(a);if(!a){return 0}return rz(a)|0}function mI(a,b){a=a|0;b=b|0;return qe[j[j[a+12>>2]+48>>2]](a,b)|0}function aA(a,b,c){a=a|0;b=b|0;c=c|0;Wm(j[a+188>>2],b,c);return 0}function LF(a,b){a=a|0;b=b|0;return j[j[a>>2]>>2]-j[j[b>>2]>>2]|0}function Ep(a,b){b=BH(b);if(!b){return 0}a=_k(a,b);kf(b);return a}function CD(a,b){a=a|0;b=b|0;if(!j[67126]){j[67127]=b;j[67126]=a}}function Xt(a,b,c){a=a|0;b=b|0;c=c|0;j[c+32>>2]=j[b>>2];return 0}function Pw(a,b){a=a|0;b=b|0;var c=0;return(!a|!b?c:k[b+29|0])|0}function Mq(a){a=a|0;var b=0;b=j[a>>2];if(a){qe[j[b+8>>2]](b,a)}}function cG(a,b){a=a|0;b=b|0;Ae(b,j[a+132>>2]+4|0,156);return 0}function In(a){a=a|0;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function EH(a,b,c){a=a|0;b=b|0;c=c|0;j[j[a+384>>2]+(b<<2)>>2]=c}function Be(a){ve(a>>>0<=4?j[(a<<2)+22564>>2]:22545,0);return-1}function qD(a,b){a=a|0;b=b|0;a=qe[a|0](b)|0;D(pe|0);return a|0}function Cm(a,b,c,d){if(!a){return 33}return dO(j[a>>2],b,c,d)}function xi(a,b){if(k[a+214|0]&64){Ze(a,b);return}Ye(a,b);z()}function tq(a,b){if(k[a+214|0]&32){Ze(a,b);return}Ye(a,b);z()}function su(a,b){a=a|0;b=b|0;return Au(a,j[j[b+144>>2]>>2])|0}function hM(a,b,c){a=a|0;b=b|0;c=c|0;if(c){j[c>>2]=b}return 0}function aJ(a,b){a=a|0;b=b|0;j[b>>2]=-1;j[b+4>>2]=14;return 0}function DN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Vf(d,c)|0}function IK(a,b){a=a|0;b=b|0;return j[j[a+420>>2]+(b<<2)>>2]}function DH(a,b){a=a|0;b=b|0;return j[j[a+384>>2]+(b<<2)>>2]}function MK(a){a=a|0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0}function Cy(a){a=a|0;return k[a|0]|k[a+1|0]<<8|k[a+2|0]<<16}function Bo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Be(4)|0}function aB(a){a=a|0;a=qe[j[a+4>>2]](a,0,0,1)|0;return a|0}function lM(a,b){a=a|0;b=b|0;i[b>>1]=l[a+312>>1];return 0}function dq(a,b){a=a|0;b=b|0;i[b>>1]=l[a+164>>1];return 0}function VA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;io(d,268264)}function UA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;io(d,268252)}function Qt(a,b,c){a=a|0;b=b|0;c=c|0;ll(257);return 62572}function Mf(a){var b=0;if(!(!a|!k[a|0])){b=HD(a)}return b}function jF(a,b,c){a=a|0;b=b|0;c=c|0;return Te(p(b,c))|0}function cK(a){a=a|0;j[a+148>>2]=j[a+148>>2]+i[a+156>>1]}function of(a,b,c){if(a){j[a+4>>2]=0;j[a>>2]=b;zN(a,c)}}function bq(a,b){a=a|0;b=b|0;Ae(b,a+168|0,196);return 0}function OD(a,b,c){a=a|0;b=b|0;c=c|0;return QD(a,b,c)|0}function LO(a,b,c){a=a|0;b=b|0;c=c|0;return ls(a,b,c)|0}function BC(a,b,c){a=a|0;b=b|0;c=c|0;pl(j[a+92>>2],b,c)}function AI(a,b,c){a=a|0;b=b|0;c=c|0;return qO(a,b,c)|0}function pr(a,b){a=a|0;b=b|0;if(b){qe[j[a+8>>2]](a,b)}}function EG(a,b){a=a|0;b=b|0;j[b+372>>2]=j[b+372>>2]|1}function oh(a,b){if(b){Ae(b+40|0,a+824|0,76);vB(a,b)}}function bC(a){a=a|0;Oe(j[a+248>>2],0,j[a+240>>2]<<2)}function Vs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function Ks(a){a=a|0;a=j[a+84>>2];if(a){j[a+16>>2]=0}}function $g(a,b){a=uE(a,b);return k[a|0]==(b&255)?a:0}function lD(a){a=a|0;return qe[j[a+4>>2]](a,0,0,1)|0}function iM(a,b){a=a|0;b=b|0;if(b){h[b|0]=1}return 0}function bD(){var a=0;a=j[65550];if(a){j[65550]=a-1}}function fP(a){if(a){return 31-s(a-1^a)|0}return 32}function SH(a){a=a|0;return zO(j[j[a+156>>2]>>2])|0}function wG(a,b){a=a|0;b=b|0;return rg(162432,b)|0}function kK(a,b){a=a|0;b=b|0;return rg(155600,b)|0}function iG(a,b){a=a|0;b=b|0;return rg(163744,b)|0}function bH(a,b){a=a|0;b=b|0;return rg(159712,b)|0}function UJ(a,b){a=a|0;b=b|0;j[a+16>>2]=b;return 0}function $I(a,b){a=a|0;b=b|0;return rg(157408,b)|0}function xN(a,b){a=a|0;b=b|0;return rg(75136,b)|0}function wM(a,b){a=a|0;b=b|0;return rg(82400,b)|0}function UL(a,b){a=a|0;b=b|0;return rg(90672,b)|0}function GO(a,b){a=a|0;b=b|0;return rg(74624,b)|0}function FL(a,b){a=a|0;b=b|0;return rg(91456,b)|0}function vD(a){a=a|0;a=oe-a&-16;oe=a;return a|0}function qH(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function pH(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function kp(a,b){if(!a){return 0}return dE(a,b)}function iJ(a,b){a=a|0;b=b|0;j[b>>2]=0;return 0}function hz(a){a=a|0;a=j[a+188>>2];if(a){Ru(a)}}function tm(a){a=a|0;j[a+16>>2]=0;j[a+20>>2]=0}function bt(a){a=a|0;return j[j[a+96>>2]+8>>2]}function Ym(a){if((j[a+48>>2]&69)==5){Xg(a,1)}}function If(a,b,c){if(!(k[a|0]&32)){sl(b,c,a)}}function yC(a,b,c){a=a|0;b=b|0;c=c|0;return-1}function bI(a){a=a|0;j[a- -64>>2]=35;return 0}function Gn(a,b){return $o(a,b,-2147483648,0)}function Ak(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function rm(a){a=a|0;j[j[a+156>>2]+36>>2]=0}function iz(a,b){a=a|0;b=b|0;kf(j[b+76>>2])}function gP(a,b,c,d){a=cP(a,b,c,d);return a}function YD(a){a=a|0;return X(j[a+60>>2])|0}function Pe(a,b){j[a+168>>2]=b;F(a|0,1);z()}function NM(a){a=a|0;return j[a+8>>2]>>>9&1}function CN(a,b){a=a|0;b=b|0;return Te(b)|0}function $s(a){a=a|0;bg(j[j[a+96>>2]+4>>2])}function nD(){j[65550]=j[65550]+1;return 0}function ku(a,b,c){a=a|0;b=b|0;c=c|0;Be(4)}function yp(a,b){xp(Le(a)+a|0,b);return a}function iD(a,b){a=a|0;b=b|0;j[a+12>>2]=b}function aP(a,b){a=a|0;b=b|0;Ug(a+20|0,b)}function Zs(){Eo(0,69948,1);Eo(1,69975,2)}function JD(a,b){a=a|0;b=b|0;j[a+32>>2]=b}function Al(a,b){return yE(a,b,Le(a)+1|0)}function zs(a){a=a|0;Sr(j[a>>2],a+20|0)}function gq(a){a=a|0;return j[a+364>>2]}function TH(a){a=a|0;rq(a);h[a+108|0]=0}function Ds(a){a=a|0;Mm(j[a>>2],a+28|0)}function CH(a){a=a|0;return l[a+252>>1]}function uD(a){a=a|0;return j[a+60>>2]}function _B(a,b){a=a|0;b=b|0;Ti(a,2,b)}function ZB(a,b){a=a|0;b=b|0;Ti(a,4,b)}function YB(a,b){a=a|0;b=b|0;Ti(a,6,b)}function XB(a,b){a=a|0;b=b|0;Ti(a,8,b)}function Ig(){Ko(263120);return 263120}function $B(a,b){a=a|0;b=b|0;Ti(a,1,b)}function Xk(a,b){a=a|0;b=b|0;return 0}function qG(a){a=a|0;cs(j[a+160>>2])}function mL(a){a=a|0;Qf(a,j[a+8>>2])}function gm(a,b,c){a=a|0;b=b|0;c=c|0}function Xz(a){a=a|0;Iu(j[a+188>>2])}function Ho(a,b){a=a|0;b=b|0;Ke(a,b)}function wf(a,b,c){return Bg(a,b,c)}function nK(a){a=a|0;return a+100|0}function mK(a){a=a|0;return a+112|0}function lK(a){a=a|0;return a+140|0}function iP(a,b,c){return eP(a,b,c)}function hP(a,b,c){return dP(a,b,c)}function WH(a){a=a|0;Ve(j[a+24>>2])}function Tk(a,b,c){return xE(a,b,c)}function EC(a){a=a|0;return j[a>>2]}function Dy(a){a=a|0;return l[a>>1]}function mP(a,b){pe=a;return b} +function dh(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=0;qe[j[a+8>>2]](a,b+12|0,4,1)|0;oe=b+16|0;return j[b+12>>2]}function Xp(a){var b=0;a=Yp(a);b=pe;if((b|0)>0?1:(b|0)>=0?a>>>0>=2147483648:0){j[67100]=61;return-1}return a}function Ys(a,b){a=a|0;b=b|0;j[a+8>>2]=b;a=Ql(a+16|0,0);if((a|0)<=-1){Ki(115461,a);a=-1}else{a=0}return a|0}function oH(a,b){a=a|0;b=b|0;a:{if(!b){break a}a=j[a+992>>2];if(!a){break a}qe[j[a+68>>2]](j[a+8>>2],b)|0}}function gE(a){var b=0;b=j[a+8>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}function dA(a,b){a=a|0;b=b|0;b=j[a>>2];return qe[j[j[b+484>>2]+4>>2]](j[b+100>>2],a,j[b+416>>2],172,0,b)|0}function Je(a,b){var c=0;c=oe-224|0;oe=c;if(k[a+214|0]&16){Li(a,c,b);Ze(a,c);oe=c+224|0;return}hf(a,b);z()}function tH(a,b){a=a|0;b=b|0;a=j[j[a+992>>2]+56>>2];a:{if(a){a=qe[a|0](b)|0;if(a){break a}}a=0}return a|0}function jf(a,b){var c=0;if(!(!a|!j[a+20>>2])){a=j[a+28>>2];c=j[b>>2];if(c){qe[j[a+8>>2]](a,c)}}j[b>>2]=0}function bO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0);e=q(1);if(!(!d|!k[d|0])){e=q(Cp(d))}n[a+100>>2]=e}function yl(a,b){var c=0;if(!(!a|!b)){c=j[a+4>>2];j[b>>2]=c;j[b+4>>2]=0;j[(c?c+4|0:a)>>2]=b;j[a+4>>2]=b}}function cO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0);e=q(1);if(!(!d|!k[d|0])){e=q(Cp(d))}n[a+96>>2]=e}function jh(a,b){if(!j[a+248>>2]){b=b+7|0;if(b>>>0<=9){b=j[(b<<2)+98928>>2]}else{b=96741}j[a+248>>2]=b}}function jG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;j[d>>2]=0;if(!b){return 81}return bj(b,333319,e)|0}function hE(a){var b=0;j[a>>2]=0;j[a+4>>2]=0;b=Se(256);j[a+12>>2]=b;j[a+8>>2]=b;h[b|0]=0;j[a+16>>2]=256}function gH(a,b,c){a=a|0;b=b|0;c=c|0;if(!(!b|!c)){return _l(a,j[j[b+144>>2]>>2],c)|0}return _l(a,0,0)|0}function QF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;j[d>>2]=0;if(!b){return 81}return bj(b,333312,e)|0}function NF(a,b,c){a=a|0;b=b|0;c=c|0;gg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0);Oe(b,k[a+11|0],c);return c|0}function Yo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=oe-16|0;oe=d;a=He(a,p(b,c),d+12|0);oe=d+16|0;return a|0}function UO(a){var b=0;b=l[a+4>>1];h[a+7|0]=((b|0)==8)<<7;j[a+12>>2]=p(l[a+8>>1],p(k[a+6|0],b>>>3&31))}function Nw(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 My(a,b){a=a|0;b=b|0;var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;a=io(a,c+12|0,0);oe=c+16|0;return a|0}function Iy(a,b){a=a|0;b=b|0;var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;a=go(a,c+12|0,0);oe=c+16|0;return a|0}function BC(a,b){a=a|0;b=b|0;b=j[a>>2];j[a+16>>2]=j[j[b+140>>2]+52>>2];j[a+20>>2]=j[b+144>>2];return 0}function Qu(a,b,c,d,e){if(!(!a|!b)){h[b+188|0]=e;j[b+184>>2]=d;j[b+180>>2]=c;j[b+8>>2]=j[b+8>>2]|256}}function Nu(a,b,c,d,e){if(!(!a|!b)){h[b+200|0]=e;j[b+196>>2]=d;j[b+192>>2]=c;j[b+8>>2]=j[b+8>>2]|128}}function uO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;j[a+156>>2]=b;j[a+160>>2]=c;j[a+164>>2]=d;j[a+168>>2]=0}function Ti(a,b,c){if((b|0)>=1){a=qe[j[a+4>>2]](a,b)|0;j[c>>2]=!a<<6;return a}j[c>>2]=b?6:0;return 0}function Ot(a,b){var c=0;c=oe-16|0;oe=c;j[c>>2]=b?b:102417;b=j[56878];Lj(b,102400,c);Ll(b);Nt(a);z()}function Ih(a,b){var c=0;if(!(!a|!b)){c=j[b>>2];b=j[b+4>>2];j[(c?c+4|0:a)>>2]=b;j[(b?b:a+4|0)>>2]=c}}function ss(a){a=a-1|0;a:{if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}a=0;ve(117104,0)}Df(a)}function aC(a,b){a=a|0;b=b|0;a=j[a+656>>2];h[b|0]=0;if(!(!a|j[a+1456>>2]==65535)){h[b|0]=1}return 0}function Ss(){var a=0,b=0;a=TC();if(!a){return 7}b=lI(a);if(b){ze(a);return b}$s(j[65535]);return 0}function OF(a){a=a|0;j[a+80>>2]=1;j[a+32>>2]=1011;j[a+4>>2]=1012;j[a+72>>2]=1;j[a+76>>2]=1;return 1}function ww(a,b,c){a=a|0;b=b|0;c=c|0;if(we(b,90703)){a=12}else{j[c>>2]=j[a- -64>>2];a=0}return a|0}function tE(a,b){a=a|0;b=b|0;var c=q(0),d=q(0);c=n[j[a>>2]>>2];d=n[j[b>>2]>>2];return(cd)|0}function ks(){var a=0;while(1){if(k[a+265490|0]==1){Hm(0,a)}a=a+1|0;if((a|0)!=512){continue}break}}function Wp(){var a=0;a=Qa(1352)|0;if((a|0)==-31){a=Pa(1352)|0}if(a>>>0>=4294963201){j[67100]=0-a}}function Ue(a,b,c,d){var e=0;e=oe-16|0;oe=e;j[e+12>>2]=d;a=Jl(a,b,c?c:138868,d);oe=e+16|0;return a}function CC(a,b){a=a|0;b=b|0;a=j[a+4>>2];b=j[b+4>>2];if((a|0)>=(b|0)){return(a|0)>(b|0)|0}return-1}function qN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(d){a=1;if(k[d|0]==49){break a}}a=0}h[268304]=a}function zE(a,b){a=a|0;b=b|0;a=j[j[a>>2]>>2];b=j[j[b>>2]>>2];return(a>>>0>b>>>0)-(a>>>0>>0)|0}function Ye(a,b){var c=0;a:{if(!a){break a}c=j[a+168>>2];if(!c){break a}qe[c|0](a,b)}Ot(a,b);z()}function Ke(a,b){a=a|0;b=b|0;var c=0;if(!(!a|!b)){c=j[a+724>>2];if(c){qe[c|0](a,b);return}ze(b)}}function ok(a,b,c,d,e){a:{if(c|!a){break a}if(Vh(a,d,e,(b|0)!=-1)){break a}return}Uh(a,b,c,d,e)}function ig(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;j[c+8>>2]=a;a=Gj(c+8|0);oe=c+16|0;return a}function TC(){var a=0;a=Se(16);if(a){j[a+12>>2]=50;j[a+4>>2]=51;j[a>>2]=0;j[a+8>>2]=52}return a}function Sv(a){a=a|0;var b=0;b=Kf(j[a+4>>2],94200);if(!b){return 11}j[a+28>>2]=j[b>>2];return 0}function FG(a,b){a=a|0;b=b|0;a=l[a>>1];b=l[b>>1];if(a>>>0>=b>>>0){return a>>>0>b>>>0|0}return-1}function Dq(){if(!k[268376]){h[268376]=1;if(!(P(4,268380)|0)){h[268388]=1;return}O(268392,0)|0}}function ro(a,b,c){a=a|0;b=b|0;c=c|0;return qe[j[j[j[a+12>>2]+56>>2]+12>>2]](j[a+52>>2],b,c)|0}function Vs(a,b){a=a|0;b=+b;a=Ql(a+16|0,b);if((a|0)<=-1){Ki(115461,a);a=-1}else{a=0}return a|0}function iB(a,b){a=a|0;b=b|0;b=j[a>>2];j[a+16>>2]=j[b+296>>2];j[a+20>>2]=j[b+300>>2];return 0}function Xu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){j[a+724>>2]=d;j[a+720>>2]=c;j[a+716>>2]=b}}function Qj(a){var b=0;if(j[a+36>>2]){b=j[a+32>>2];if(b){ze(b)}b=j[a+8>>2];if(b){ze(b)}ze(a)}}function It(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){j[a+172>>2]=d;j[a+168>>2]=c;j[a+176>>2]=b}}function cD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=qe[a|0](b,c,d,e)|0;D(pe|0);return a|0}function Rh(a){var b=0,c=0;b=ur();if(!(!a|!b|m[b>>2]>>0)){c=j[((a<<3)+b|0)-4>>2]}return c}function Nv(a){a=a|0;if(ph(j[j[a>>2]+500>>2]+108|0,j[a+44>>2])){wr(j[a+44>>2]);j[a+44>>2]=0}}function pA(a){a=a|0;var b=0,c=0;b=j[a>>2];c=j[a+4>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+4>>2]=0}function iz(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=0;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function ez(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=2;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function cN(a,b){if(!(j[a>>2]==268305?a:0)){ve(125709,0);return-1}Ae(b,a+104|0,84);return 0}function _y(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=4;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function Vy(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=6;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function Kz(a,b,c){a=a|0;b=b|0;c=c|0;if(b){rh(a+20|0,b)}if(c){Tf(a+20|0,j[c>>2],j[c+4>>2])}}function xx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=$k(a,b,c,d,3);if(!a){h[b+94|0]=5}return a|0}function wx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=$k(a,b,c,d,4);if(!a){h[b+94|0]=6}return a|0}function eO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=500;if(!(!d|!k[d|0])){b=sf(d)}j[a+112>>2]=b}function _t(a,b){a=a|0;b=b|0;if(a){if(!(k[a+212|0]&64)){Ak(a);Qt(a,b);return}ci(a,101545)}}function Ms(){h[262336]=1;pj(62001);h[268376]=0;Is();Ls();Gs();Oe(262304,0,32);h[262336]=0}function dO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=32;if(!(!d|!k[d|0])){b=sf(d)}j[a+116>>2]=b}function bN(a){if(!(j[a>>2]==268305?a:0)){ve(125709,0);return}n[a+288>>2]=2;n[a+292>>2]=2}function Zf(a,b,c){b=_e(a,b);if(!b){j[c>>2]=j[a+32>>2];j[a+32>>2]=0;j[a+36>>2]=0}return b}function Aw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+12>>2]+(c<<3)|0;j[a+4>>2]=j[a+4>>2]+d}function lP(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function ix(a){a=a|0;j[a+296>>2]=-1;j[a+300>>2]=-1;j[a+112>>2]=-1;h[a+108|0]=0;return 0}function Tv(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=qe[j[b+52>>2]](b,0,0,0)|0,j[c+540>>2]=d}function Sx(a){a=a|0;jf(j[a+104>>2],a+724|0);j[a+736>>2]=0;j[a+728>>2]=0;j[a+732>>2]=0}function Nr(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+126356>>2]}return a>>>20&15}function Mr(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+126376>>2]}return a>>>24&15}function Mn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;zl(c,j[j[a+420>>2]+(b<<2)>>2],d);return 0}function pf(a,b,c){var d=0;d=j[a+184>>2];if(d){qe[d|0](a,b,c);return}Ye(a,101856);z()}function mf(a,b){b=qe[j[57974]](a,a|b?b:1)|0;if(!(!b|a)){j[57976]=j[57976]+1}return b}function kP(a){var b=0,c=0;while(1){c=b;if(a){a=a-1&a;b=b+1|0;continue}break}return c}function kB(a,b,c){a=a|0;b=b|0;c=c|0;j[b>>2]=j[a+176>>2];j[c>>2]=j[a+180>>2];return 0}function Pr(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+126316>>2]}return a>>>4&15}function Or(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+126336>>2]}return a>>>8&15}function HC(a,b,c){a=a|0;b=b|0;c=c|0;j[b>>2]=j[a+132>>2];j[c>>2]=j[a+136>>2];return 0}function iC(a,b){a=a|0;b=b|0;return qe[j[j[j[j[a>>2]+656>>2]+2956>>2]+12>>2]](a,b)|0}function Cw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+12>>2]+(c<<3)|0;j[a>>2]=j[a>>2]+d}function $g(){var a=0;a=j[67085];if(!a){ve(151717,0);return 0}return Rh(j[a+708>>2])}function jC(a,b){a=a|0;b=b|0;return qe[j[j[j[j[a>>2]+656>>2]+2956>>2]+8>>2]](a,b)|0}function Gt(a){a=a|0;if(!(!a|k[a+436|0]>7)){h[a+437|0]=8;j[a+216>>2]=j[a+216>>2]|4}}function VL(a,b){a=a|0;b=b|0;if(k[b+12|0]==6){a=j[a+436>>2];j[a>>2]=0;j[a+4>>2]=0}}function HN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=qe[j[a+4>>2]](a,b,c,d)|0;return a|0}function $L(a,b){a=a|0;b=b|0;a=j[a+436>>2];j[a>>2]=j[(b?b+76|0:a+4|0)>>2];return 0}function si(a,b){a=Ra(a|0,b|0)|0;if(a>>>0>=4294963201){j[67100]=0-a;a=-1}return a}function mH(a){a=a|0;a=j[a+992>>2];if(!a){ve(153068,0);return 0}return j[a+16>>2]}function hf(a,b){var c=0;c=oe-224|0;oe=c;if(!a){Ye(0,b);z()}Li(a,c,b);Ye(a,c);z()}function GL(a){a=a|0;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}return a|0}function vv(a,b){a=a|0;b=b|0;b=b-j[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function ov(a,b,c){a=a|0;b=b|0;c=c|0;a=a?j[a+188>>2]:0;qe[j[a+8>>2]](a,b,c,1)|0}function yx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return $k(a,b,(c|0)==1?0:c,d,0)|0}function bD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return qe[a|0](b,c,d,e)|0}function Oj(a,b,c,d){var e=0;e=oe-16|0;oe=e;j[e+12>>2]=d;Jl(a,b,c,d);oe=e+16|0}function HB(a){a=a|0;a=j[a+140>>2];if(a){return(k[a|0]==47?a+1|0:a)|0}return 0}function vE(){var a=0;a=Fi(1700,2009);if(!a){ve(Fg(),0);return 0}return eI(a)}function kv(a){a=a|0;if(!a){return 0}a=$f(a,268);if(a){Ee(a,0,268)}return a|0}function aI(){var a=0;a=Xe(1,88);if(!a){Be(0);return 0}j[a+76>>2]=-1;return a}function Ww(a,b,c){a=a|0;b=b|0;c=c|0;a=j[a+384>>2]+(b<<2)|0;j[a>>2]=j[a>>2]+c}function Tp(a,b,c,d){if(j[a+76>>2]<=-1){return Up(a,b,c,d)}return Up(a,b,c,d)}function HO(a){a=a|0;a=j[a+248>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function Fs(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=a;_h(1,2,116394,a);oe=b+16|0}function Es(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=a;_h(6,3,125688,a);oe=b+16|0}function at(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qe[j[a+4>>2]](a,b,c,d)|0}function _s(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qe[j[d+8>>2]](d,a,b,c)|0}function nC(a,b){a=a|0;b=b|0;return(b>>>0<=255?l[j[a+16>>2]+(b<<1)>>1]:0)|0}function lz(a,b){a=a|0;b=b|0;return(b>>>0<=255?k[(j[a+16>>2]+b|0)+6|0]:0)|0}function Tr(a){if(!(j[a>>2]==268305?a:0)){ve(125709,0);return}j[a+328>>2]=1}function HG(a,b,c){a=a|0;b=b|0;c=c|0;Cf(j[c+4>>2],j[b>>2]?2:1,0,0);return 0}function vB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ol(j[a+12>>2],b,c,d)|0}function Zh(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;_h(1,5,a,b);oe=c+16|0}function Wu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;return(!a|!b?d:j[b+8>>2]&c)|0}function Vg(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;_h(0,3,a,b);oe=c+16|0}function Rm(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;_h(4,6,a,b);oe=c+16|0}function Lj(a,b,c){var d=0;d=oe-16|0;oe=d;j[d+12>>2]=c;Np(a,b,c);oe=d+16|0}function Hi(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;_h(2,4,a,b);oe=c+16|0}function aA(a,b){a=a|0;b=b|0;return qe[j[j[j[a>>2]+484>>2]+12>>2]](a,b)|0}function JM(a,b){a=a|0;b=b|0;if(k[b+12|0]==7){qe[j[j[a+436>>2]+84>>2]]()}}function mA(a){a=a|0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0}function bA(a,b){a=a|0;b=b|0;return qe[j[j[j[a>>2]+484>>2]+8>>2]](a,b)|0}function VN(a){a=a|0;fc(a|0,654)|0;a=a-2|0;if(!a|(a|0)==13){h[268216]=1}}function GA(a,b){a=a|0;b=b|0;Nf(a,j[a+8>>2]);return nh(a,j[a+8>>2],b)|0}function zz(a){a=a|0;return(a>>>0<=390?i[(a<<1)+86608>>1]+82384|0:0)|0}function pC(a,b){a=a|0;b=b|0;j[a+16>>2]=j[j[a>>2]+656>>2]+640;return 0}function gt(a,b,c){a=a|0;b=b|0;c=c|0;return _m(a,b,c,j[a+32>>2],575)|0}function Xs(a,b,c){a=a|0;b=b|0;c=c|0;return _m(a,b,c,j[a+12>>2],584)|0}function VC(a){a=a|0;Lh(j[a+12>>2]);j[a+12>>2]=0;j[a>>2]=0;j[a+4>>2]=0}function Mj(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;ND(a,b);oe=c+16|0}function CL(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;yD(a,b);oe=c+16|0}function bH(a,b){a=a|0;b=b|0;a=j[b+144>>2];lf(j[a+8>>2]);j[a+8>>2]=0}function Yt(a){a=a|0;j[a+12>>2]=48;j[a+16>>2]=5;h[a+20|0]=0;return 0}function Az(a){a=a|0;return i[((a>>>0>257?0:a)<<1)+86080>>1]+82384|0}function ux(a,b){a=a|0;b=b|0;_k(b,j[a>>2]<<2,j[a+4>>2]<<2);return 0}function Yp(a){if(j[a+76>>2]<=-1){a=Zp(a);return a}a=Zp(a);return a}function LL(a,b){a=a|0;b=b|0;a=Xj(a);if(!a){return 0}return aM(a)|0}function Cx(a,b){a=a|0;b=b|0;return qe[j[j[a+12>>2]+48>>2]](a,b)|0}function oD(a,b){a=a|0;b=b|0;if(!j[67126]){j[67127]=b;j[67126]=a}}function mF(a,b){a=a|0;b=b|0;return j[j[a>>2]>>2]-j[j[b>>2]>>2]|0}function KM(a,b,c){a=a|0;b=b|0;c=c|0;Kq(j[a+188>>2],b,c);return 0}function Be(a){ve(a>>>0<=4?j[(a<<2)+116548>>2]:116529,0);return-1}function An(a,b){b=sv(b);if(!b){return 0}a=tm(a,b);lf(b);return a}function vo(a){a=a|0;var b=0;b=j[a>>2];if(a){qe[j[b+8>>2]](b,a)}}function Vu(a,b){a=a|0;b=b|0;var c=0;return(!a|!b?c:k[b+29|0])|0}function MG(a,b,c){a=a|0;b=b|0;c=c|0;j[c+32>>2]=j[b>>2];return 0}function yr(a){a=a|0;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function xv(a,b){a=a|0;b=b|0;Ae(b,j[a+132>>2]+4|0,156);return 0}function Vw(a,b,c){a=a|0;b=b|0;c=c|0;j[j[a+384>>2]+(b<<2)>>2]=c}function fm(a,b,c,d){if(!a){return 33}return XH(j[a>>2],b,c,d)}function dD(a,b){a=a|0;b=b|0;a=qe[a|0](b)|0;D(pe|0);return a|0}function ty(a,b){a=a|0;b=b|0;j[b>>2]=-1;j[b+4>>2]=14;return 0}function hH(a,b){a=a|0;b=b|0;return pH(a,j[j[b+144>>2]>>2])|0}function cn(a,b){if(k[a+214|0]&32){Ze(a,b);return}Ye(a,b);z()}function ci(a,b){if(k[a+214|0]&64){Ze(a,b);return}Ye(a,b);z()}function SC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Vf(d,c)|0}function BB(a,b,c){a=a|0;b=b|0;c=c|0;if(c){j[c>>2]=b}return 0}function cA(a,b){a=a|0;b=b|0;return j[j[a+420>>2]+(b<<2)>>2]}function Uw(a,b){a=a|0;b=b|0;return j[j[a+384>>2]+(b<<2)>>2]}function us(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Be(4)|0}function jL(a){a=a|0;return k[a|0]|k[a+1|0]<<8|k[a+2|0]<<16}function gA(a){a=a|0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0}function GN(a){a=a|0;a=qe[j[a+4>>2]](a,0,0,1)|0;return a|0}function GG(a,b,c){a=a|0;b=b|0;c=c|0;Im(257);return 156556}function zN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;as(d,268252)}function Qf(a){var b=0;if(!(!a|!k[a|0])){b=rD(a)}return b}function Kn(a,b){a=a|0;b=b|0;i[b>>1]=l[a+164>>1];return 0}function FB(a,b){a=a|0;b=b|0;i[b>>1]=l[a+312>>1];return 0}function AN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;as(d,268264)}function wz(a){a=a|0;j[a+148>>2]=j[a+148>>2]+i[a+156>>1]}function wt(a,b,c){a=a|0;b=b|0;c=c|0;return Se(p(b,c))|0}function ys(a,b,c){a=a|0;b=b|0;c=c|0;wk(j[a+92>>2],b,c)}function xD(a,b,c){a=a|0;b=b|0;c=c|0;return zD(a,b,c)|0}function of(a,b,c){if(a){j[a+4>>2]=0;j[a>>2]=b;PC(a,c)}}function Rx(a,b,c){a=a|0;b=b|0;c=c|0;return DL(a,b,c)|0}function In(a,b){a=a|0;b=b|0;Ae(b,a+168|0,196);return 0}function Eu(a,b,c){a=a|0;b=b|0;c=c|0;return vn(a,b,c)|0}function Zo(a,b){a=a|0;b=b|0;if(b){qe[j[a+8>>2]](a,b)}}function Yv(a,b){a=a|0;b=b|0;j[b+372>>2]=j[b+372>>2]|1}function ih(a,b){if(b){Ae(b+40|0,a+824|0,76);iv(a,b)}}function Zg(a,b){a=YD(a,b);return k[a|0]==(b&255)?a:0}function MF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function GO(a){a=a|0;Oe(j[a+248>>2],0,j[a+240>>2]<<2)}function BF(a){a=a|0;a=j[a+84>>2];if(a){j[a+16>>2]=0}}function bt(a){a=a|0;return qe[j[a+4>>2]](a,0,0,1)|0}function Ts(){var a=0;a=j[65552];if(a){j[65552]=a-1}}function CB(a,b){a=a|0;b=b|0;if(b){h[b|0]=1}return 0}function fx(a){a=a|0;return Bs(j[j[a+156>>2]>>2])|0}function fP(a){if(a){return 31-s(a-1^a)|0}return 32}function mz(a,b){a=a|0;b=b|0;j[a+16>>2]=b;return 0}function vw(a,b){a=a|0;b=b|0;return rg(91504,b)|0}function sy(a,b){a=a|0;b=b|0;return rg(89200,b)|0}function pB(a,b){a=a|0;b=b|0;return rg(22464,b)|0}function bB(a,b){a=a|0;b=b|0;return rg(23248,b)|0}function Rv(a,b){a=a|0;b=b|0;return rg(94224,b)|0}function QB(a,b){a=a|0;b=b|0;return rg(14192,b)|0}function Gz(a,b){a=a|0;b=b|0;return rg(87392,b)|0}function Dv(a,b){a=a|0;b=b|0;return rg(95536,b)|0}function NC(a,b){a=a|0;b=b|0;return rg(6928,b)|0}function Lt(a,b){a=a|0;b=b|0;return rg(6416,b)|0}function iD(a){a=a|0;a=oe-a&-16;oe=a;return a|0}function SL(a){a=a|0;a=j[a+188>>2];if(a){EH(a)}}function Rp(a,b){if(!a){return 0}return LD(a,b)}function Iw(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function Hw(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function By(a,b){a=a|0;b=b|0;j[b>>2]=0;return 0}function vl(a){a=a|0;j[a+16>>2]=0;j[a+20>>2]=0}function UF(a){a=a|0;return j[j[a+96>>2]+8>>2]}function Mq(a){if((j[a+48>>2]&69)==5){bh(a,1)}}function Jf(a,b,c){if(!(k[a|0]&32)){Dl(b,c,a)}}function vr(a,b){return Ep(a,b,-2147483648,0)}function rx(a){a=a|0;j[a- -64>>2]=35;return 0}function gl(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function $O(a,b,c){a=a|0;b=b|0;c=c|0;return-1}function tl(a){a=a|0;j[j[a+156>>2]+36>>2]=0}function gP(a,b,c,d){a=cP(a,b,c,d);return a}function gC(a){a=a|0;return j[a+8>>2]>>>9&1}function TL(a,b){a=a|0;b=b|0;lf(j[b+76>>2])}function SF(a){a=a|0;gg(j[j[a+96>>2]+4>>2])}function RC(a,b){a=a|0;b=b|0;return Se(b)|0}function Pe(a,b){j[a+168>>2]=b;F(a|0,1);z()}function PF(){Om(0,163932,1);Om(1,163959,2)}function GD(a){a=a|0;return W(j[a+60>>2])|0}function dt(){j[65552]=j[65552]+1;return 0}function $G(a,b,c){a=a|0;b=b|0;c=c|0;Be(4)}function it(a,b){a=a|0;b=b|0;j[a+32>>2]=b}function dq(a,b){cq(Le(a)+a|0,b);return a}function Zs(a,b){a=a|0;b=b|0;j[a+12>>2]=b}function Ml(a,b){return $D(a,b,Le(a)+1|0)}function Fz(a,b){a=a|0;b=b|0;Rg(a+20|0,b)}function hx(a){a=a|0;$n(a);h[a+108|0]=0}function Sw(a){a=a|0;return l[a+252>>1]}function Nn(a){a=a|0;return j[a+364>>2]}function HA(a){a=a|0;Oo(j[a>>2],a+28|0)}function $z(a){a=a|0;Rq(j[a>>2],a+20|0)}function hD(a){a=a|0;return j[a+60>>2]}function Fg(){Um(263120);return 263120}function EO(a,b){a=a|0;b=b|0;mj(a,1,b)}function DO(a,b){a=a|0;b=b|0;mj(a,2,b)}function CO(a,b){a=a|0;b=b|0;mj(a,4,b)}function BO(a,b){a=a|0;b=b|0;mj(a,6,b)}function AO(a,b){a=a|0;b=b|0;mj(a,8,b)}function dl(a,b){a=a|0;b=b|0;return 0}function wn(a,b){a=a|0;b=b|0;Ke(a,b)}function hl(a,b,c){a=a|0;b=b|0;c=c|0}function Lv(a){a=a|0;bs(j[a+160>>2])}function KA(a){a=a|0;Nf(a,j[a+8>>2])}function FM(a){a=a|0;xH(j[a+188>>2])}function xf(a,b,c){return wg(a,b,c)}function om(a,b,c){return _D(a,b,c)}function kx(a){a=a|0;Ve(j[a+24>>2])}function kL(a){a=a|0;return l[a>>1]}function iP(a,b,c){return eP(a,b,c)}function hP(a,b,c){return dP(a,b,c)}function Jz(a){a=a|0;return a+100|0}function Iz(a){a=a|0;return a+112|0}function Hz(a){a=a|0;return a+140|0}function Cs(a){a=a|0;return j[a>>2]}function Bq(){ve(164183,0);return 0}function pp(a,b){a=a|0;b=b|0;ze(b)}function mP(a,b){pe=a;return b} -function Yi(a,b,c){mp(a,b,b>>31,c)}function Pm(){ve(70199,0);return 0}function Kp(a,b){a=a|0;b=b|0;ze(b)}function Ey(a){a=a|0;return k[a|0]}function xp(a,b){tE(a,b);return a}function WM(a){a=a|0;j[a+16>>2]=0}function Nh(a){a=a|0;if(a){ze(a)}}function zx(a){a=a|0;Aj(a,52288)}function jl(a,b,c,d){uB(a,b,c,d)}function gp(a,b,c){jp(a,b,c,0,0)}function Cx(a){a=a|0;Aj(a,46144)}function Bx(a){a=a|0;Aj(a,48192)}function Ax(a){a=a|0;Aj(a,50240)}function wg(a,b){return $g(a,b)}function vp(a,b){return Kg(a,b)}function jh(a,b){return Xf(a,b)}function en(a,b){fg(a,b,20,435)}function cf(a,b){return we(a,b)}function Sm(a){if(a){Ua(a|0)|0}}function Mi(a,b){return Ag(a,b)}function Me(a,b){return wE(a,b)}function Hn(a,b){return oE(a,b)}function nf(a){a=a|0;return 0}function cq(a){a=a|0;return 1}function Ss(){return j[67090]}function Qs(a){a=a|0;return-1}function pz(a,b){a=a|0;b=b|0}function Oe(a,b,c){Ee(a,b,c)}function Li(a,b,c){yg(a,b,c)}function Ge(a,b,c){Ae(a,b,c)}function DE(){return 268400}function _g(){Qj(j[65564])}function Jg(){Pj(j[65564])}function yD(){return oe|0}function wD(a){a=a|0;oe=a}function Jo(a,b){MC(a,b)}function Xm(a){Xg(a,0)}function Ot(){return 1}function Bf(a){a=a|0}function ws(){ID()}function iO(){fu()}function So(){} +function lL(a){a=a|0;return k[a|0]}function Ui(a,b,c){Tp(a,b,b>>31,c)}function oC(a){a=a|0;j[a+16>>2]=0}function jK(a){a=a|0;gk(a,140128)}function iK(a){a=a|0;gk(a,142176)}function hK(a){a=a|0;gk(a,144224)}function gK(a){a=a|0;gk(a,146272)}function cq(a,b){XD(a,b);return a}function Nh(a){a=a|0;if(a){ze(a)}}function Np(a,b,c){Qp(a,b,c,0,0)}function Gm(a,b,c,d){ZN(a,b,c,d)}function xr(a,b){return TD(a,b)}function xh(a,b){return Yf(a,b)}function gj(a,b){return vg(a,b)}function df(a,b){return we(a,b)}function aq(a,b){return Mg(a,b)}function Wq(a,b){eg(a,b,20,932)}function Me(a,b){return ZD(a,b)}function Fq(a){if(a){Ua(a|0)|0}}function Dg(a,b){return Zg(a,b)}function nf(a){a=a|0;return 0}function Jn(a){a=a|0;return 1}function JF(){return j[67090]}function GF(a){a=a|0;return-1}function fj(a,b,c){tg(a,b,c)}function _L(a,b){a=a|0;b=b|0}function Oe(a,b,c){Ee(a,b,c)}function Ge(a,b,c){Ae(a,b,c)}function eE(){return 268400}function Wg(){vk(j[65566])}function Gg(){uk(j[65566])}function lD(){return oe|0}function jD(a){a=a|0;oe=a}function Tm(a,b){Js(a,b)}function Lq(a){bh(a,0)}function DG(){return 1}function zf(a){a=a|0}function ws(){sD()}function UN(){Ht()}function zn(){} // EMSCRIPTEN_END_FUNCS -a=k;var qe=nP([null,iO,bP,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,dD,YC,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,aB,Wq,uM,gC,RH,F,In,dr,SC,IL,kM,bB,kf,ve,Ew,eL,rH,XK,_w,on,QK,cM,Pw,ug,Ig,nn,Kk,Yy,SL,qn,fx,AH,xC,dg,Ho,LC,uN,mN,dN,_M,TM,pL,Ke,jF,Kp,AD,MD,JD,FD,DD,xD,lD,kD,jD,fD,nD,mD,iD,hD,gD,eD,cD,bD,_C,VE,VC,NC,FC,Bf,zC,Bo,Bf,Bf,Bf,Bf,Bf,nf,yC,Bf,Bf,Bf,Bf,Bf,Bf,So,BC,CC,vC,uC,oC,nC,mC,lC,kC,jC,iC,hC,fC,eC,dC,cC,bC,aC,$B,_B,ZB,YB,XB,VB,UB,TB,SB,RB,QB,PB,OB,NB,MB,IB,BB,AB,zB,yB,xB,wB,qB,lB,kB,jB,iB,hB,gB,eB,dB,VA,UA,SA,KA,yA,hA,gA,fA,eA,Tn,dA,bA,aA,$z,_z,Zz,Un,Yz,Xz,Wz,Vz,Uz,Sz,Rz,Qz,Xk,iA,Pn,Mn,Nn,On,Kn,Ln,Kz,Jz,Iz,Cz,Bz,Az,Gz,Fz,Ez,Dz,yz,vz,wz,xz,tz,uz,qz,pz,oz,nz,mz,lz,kz,jz,iz,hz,gz,fz,ez,dz,cz,bz,Xk,az,Te,bf,Vf,ze,Cn,Ly,Ky,Jy,Iy,My,Hy,Gy,Fy,Ey,Dy,Cy,EC,xy,wy,vy,uy,ty,sy,ry,qy,py,oy,my,ly,ky,jy,iy,hy,gy,fy,ey,dy,by,ay,$x,_x,Zx,Yx,Xx,Wx,Vx,Ux,Tx,Sx,Qx,Px,Ox,Nx,Mx,Lx,Kx,Jx,Ix,Hx,Gx,Fx,Ex,Cx,Bx,Ax,zx,yx,xx,wx,vx,Qk,ux,tx,An,zn,sx,rx,zj,qx,px,yn,xn,ox,nx,mx,lx,kx,jx,ix,hx,gx,zj,ex,dx,wn,vn,cx,bx,Qk,ax,$w,un,tn,Zw,Yw,Xw,Ww,Vw,Uw,Tw,Sw,Rw,sn,Ow,Nw,An,zn,Mw,Lw,zj,Kw,Jw,yn,xn,Iw,Hw,Qk,Gw,Fw,Dw,Cw,Bw,Aw,rn,zw,yw,xw,ww,vw,uw,pn,tw,sw,rw,qw,pw,ow,nw,mw,lw,kw,jw,iw,hw,zj,gw,fw,wn,vn,ew,dw,sn,cw,aw,un,tn,$v,_v,Zv,Yv,Xv,Wv,Vv,Uv,Tv,pn,Rv,Qv,Pv,Ov,Nv,Mv,rn,Lv,Kv,Jv,Iv,Gv,Fv,Ev,Dv,Cv,Bv,Av,zv,yv,uv,By,xv,hv,gv,fv,av,Yb,Nb,Cb,rb,wa,kb,jb,ib,gb,fb,eb,db,cb,bb,ab,$a,_a,Za,ku,ju,iu,hu,gu,eu,bu,au,$t,_t,Zt,Yt,Xt,Vt,Ut,Tt,St,Rt,Qt,Bf,Ak,Lt,Bf,Kt,Jt,It,Ht,Gt,yu,qu,wu,xu,ru,su,Cu,Du,tu,mu,nu,ou,Ft,In,pu,du,Ot,Nt,Dt,Ct,At,zt,Et,dt,Bf,ct,bt,at,$s,_s,Zs,et,Xs,Vs,Ys,Rm,Ts,Us,Ss,So,Rs,Qs,Ps,Ns,Ms,Bo,Ls,Ks,zk,Es,Ds,Cs,Bs,As,zs,ys,xs,aP,$O,JO,WO,VO,TO,SO,RO,QO,OO,os,ms,ls,MO,os,ms,LO,KO,HO,Bf,GO,FO,EO,sO,Zr,Vh,_N,YN,XN,WN,VN,UN,TN,SN,RN,QN,GN,FN,DN,CN,Kp,vN,oN,lN,kN,xN,wN,vm,tN,sN,rN,qN,pN,jN,tm,iN,hN,Bf,DM,CM,BM,RM,gN,Bf,fN,eN,cN,bN,aN,$M,rm,Br,zr,ZM,YM,yr,XM,WM,VM,UM,SM,xr,QM,PM,OM,NM,MM,LM,KM,JM,IM,HM,GM,FM,EM,AM,zM,yM,xM,rr,nf,Bf,wM,vM,tM,sM,rM,qM,rm,pM,oM,nM,mM,lM,jM,iM,hM,gM,fM,eM,pr,or,bM,aM,or,pr,_L,WL,VL,UL,TL,mk,RL,QL,PL,OL,NL,ML,tm,LL,KL,DL,JL,tm,HL,GL,FL,EL,CL,BL,AL,zL,yL,xL,gr,wL,vL,uL,tL,$q,IK,sL,rL,qL,oL,nL,Bf,mL,jm,lL,kL,jL,iL,hL,Oh,gL,br,fL,dL,ar,cL,bL,aL,$K,vh,_K,ZK,ar,YK,WK,VK,UK,TK,SK,RK,PK,OK,NK,MK,LK,KK,JK,xr,HK,GK,EK,DK,BK,AK,yK,xK,wK,vK,hm,uK,tK,sK,rK,qK,nK,mK,lK,CK,pK,iK,Sq,jK,hK,gK,fK,eK,kK,cK,bK,aK,$J,Bf,_J,ZJ,gm,XJ,WJ,Pq,gm,Ak,dK,Mq,Lq,YJ,Kq,Jq,Iq,YI,Zr,xI,wI,xO,qg,vI,uI,tI,UJ,TJ,SJ,RJ,QJ,PJ,OJ,NJ,MJ,LJ,JJ,IJ,HJ,GJ,FJ,EJ,DJ,CJ,BJ,AJ,zJ,yJ,xJ,wJ,vJ,uJ,Bq,sJ,rJ,qJ,pJ,Bq,oJ,nJ,mJ,lJ,kJ,jJ,Xk,iJ,hJ,gJ,fJ,eJ,dJ,bJ,aJ,_I,ZI,XI,VI,$I,UI,TI,SI,RI,QI,PI,OI,NI,MI,LI,KI,JI,II,HI,dm,GI,FI,EI,DI,CI,BI,AI,zI,yI,sI,rI,qI,pI,oI,nI,cm,mI,kI,eO,Og,Pq,gm,Ak,lI,Mq,Lq,iI,Kq,Jq,Iq,hI,gI,fI,eI,dI,cI,_H,ZH,YH,XH,WH,OH,JH,IH,HH,GH,FH,EH,DH,CH,zH,yH,xH,wH,vH,uH,tH,sH,qH,pH,oH,nH,mH,lH,kH,jH,iH,gH,bI,Bf,aI,$H,VH,UH,TH,SH,QH,zr,NH,MH,KH,oq,Tl,fH,_l,eH,dH,$G,SG,$q,nf,Bf,bH,aH,ZG,YG,XG,WG,rm,VG,UG,TG,RG,QG,gq,fq,PG,eq,dq,cq,bq,OG,NG,LG,aq,KG,JG,IG,$p,HG,GG,FG,EG,CG,BG,AG,zG,yG,xG,Bf,wG,vG,uG,tG,sG,rG,qG,pG,oG,nG,fq,mG,gq,eq,dq,cq,bq,$p,lG,kG,jG,iG,hG,gG,fG,eG,dG,cG,bG,_F,ZF,LF,NF,MF,KF,Nh,Nh,JF,IF,TF,SF,FF,EF,Nh,HF,DF,GF,AF,CF,zF,yF,xF,wF,uF,tF,Nh,sF,rF,ZE,TE,SE,RE,Nh,QE,PE,OE,eE,ND,jE,YD,gE,$D,_D,OD,Ha,Ga,Fa,Ea,Da,Ca,Ba,Aa,ne,me,le,ke,je,ie,he,ge,fe,ee,de,ce,be,ae,$d,_d,Zd,Yd,Xd,Wd,Vd,Ud,Td,Sd,Rd,Qd,Pd,Od,Nd,Md,Ld,Kd,Jd,Id,Hd,Gd,Fd,Ed,Dd,Cd,Bd,Ad,zd,yd,xd,wd,vd,ud,td,sd,rd,qd,pd,od,nd,md,ld,kd,jd,id,gd,fd,ed,dd,cd,bd,ad,$c,_c,Zc,Xc,Wc,Vc,Uc,Tc,Sc,Rc,Qc,Pc,Oc,Mc,Lc,Kc,Jc,Ic,Hc,Gc,Fc,Ec,Dc,Cc,Bc,Ac,zc,yc,xc,wc,vc,uc,tc,rc,qc,pc,oc,nc,mc,lc,kc,jc,ic,gc,fc,ec,dc,cc,bc,ac,$b,_b,Zb,Xb,Wb,Vb,Ub,Tb,Sb,Rb,Qb,Pb,Ob,Mb,Lb,Kb,Jb,Ib,Hb,Gb,Fb,Eb,Db,Bb,Ab,zb,yb,xb,wb,vb,ub,tb,sb,qb,pb,ob]);function vP(){return g.byteLength/65536|0}function wP(EP){EP=EP|0;var re=vP()|0;var se=re+EP|0;if(re