diff --git a/README.md b/README.md index 3fed82ec..add66edc 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,21 @@ -
+![Build Status: master](https://travis-ci.org/google/draco.svg?branch=master) + News ======= +### Version 1.4.1 release +* Using the versioned gstatic.com WASM and Javascript decoders is now + recommended. To use v1.4.1, use this URL: + * https://www.gstatic.com/draco/versioned/decoders/1.4.1/* + * Replace the * with the files to load. E.g. + * https://gstatic.com/draco/versioned/decoders/1.4.1/draco_decoder.js + * This works with the v1.3.6 and v1.4.0 releases, and will work with future + Draco releases. +* Bug fixes + ### Version 1.4.0 release * WASM and JavaScript decoders are hosted from a static URL. * It is recommended to always pull your Draco WASM and JavaScript decoders from this URL: diff --git a/cmake/draco_targets.cmake b/cmake/draco_targets.cmake index a914f51d..6dfa6a0c 100644 --- a/cmake/draco_targets.cmake +++ b/cmake/draco_targets.cmake @@ -332,7 +332,6 @@ macro(draco_add_library) # Determine if $lib_NAME is a header only target. unset(sources_list) - if(lib_SOURCES) set(sources_list ${lib_SOURCES}) list(FILTER sources_list INCLUDE REGEX cc$) diff --git a/javascript/draco_decoder.js b/javascript/draco_decoder.js index 43f0c46d..7e784872 100644 --- a/javascript/draco_decoder.js +++ b/javascript/draco_decoder.js @@ -6,29 +6,29 @@ var DracoDecoderModule = (function() { function(DracoDecoderModule) { DracoDecoderModule = DracoDecoderModule || {}; -var Module=typeof DracoDecoderModule!=="undefined"?DracoDecoderModule:{};var readyPromiseResolve,readyPromiseReject;Module["ready"]=new Promise(function(resolve,reject){readyPromiseResolve=resolve;readyPromiseReject=reject});var isRuntimeInitialized=false;var isModuleParsed=false;Module["onRuntimeInitialized"]=function(){isRuntimeInitialized=true;if(isModuleParsed){if(typeof Module["onModuleLoaded"]==="function"){Module["onModuleLoaded"](Module)}}};Module["onModuleParsed"]=function(){isModuleParsed=true;if(isRuntimeInitialized){if(typeof Module["onModuleLoaded"]==="function"){Module["onModuleLoaded"](Module)}}};function isVersionSupported(versionString){if(typeof versionString!=="string")return false;const version=versionString.split(".");if(version.length<2||version.length>3)return false;if(version[0]==1&&version[1]>=0&&version[1]<=3)return true;if(version[0]!=0||version[1]>10)return false;return true}Module["isVersionSupported"]=isVersionSupported;var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var arguments_=[];var thisProgram="./this.program";var quit_=function(status,toThrow){throw toThrow};var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof process.versions==="object"&&typeof process.versions.node==="string";ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;var nodeFS;var nodePath;if(ENVIRONMENT_IS_NODE){if(ENVIRONMENT_IS_WORKER){scriptDirectory=require("path").dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}read_=function shell_read(filename,binary){var ret=tryParseAsDataURI(filename);if(ret){return binary?ret:ret.toString()}if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);return nodeFS["readFileSync"](filename,binary?null:"utf8")};readBinary=function readBinary(filename){var ret=read_(filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);quit_=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){var data=tryParseAsDataURI(f);if(data){return intArrayToString(data)}return read(f)}}readBinary=function readBinary(f){var data;data=tryParseAsDataURI(f);if(data){return data}if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){arguments_=scriptArgs}else if(typeof arguments!="undefined"){arguments_=arguments}if(typeof quit==="function"){quit_=function(status){quit(status)}}if(typeof print!=="undefined"){if(typeof console==="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!=="undefined"?printErr:print}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(document.currentScript){scriptDirectory=document.currentScript.src}if(_scriptDir){scriptDirectory=_scriptDir}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function shell_read(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText}catch(err){var data=tryParseAsDataURI(url);if(data){return intArrayToString(data)}throw err}};if(ENVIRONMENT_IS_WORKER){readBinary=function readBinary(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}catch(err){var data=tryParseAsDataURI(url);if(data){return data}throw err}}}readAsync=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}var data=tryParseAsDataURI(url);if(data){onload(data.buffer);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var STACK_ALIGN=16;function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;err(text)}}function convertJsFunctionToWasm(func,sig){return func}var freeTableIndexes=[];var functionsInTableMap;function addFunctionWasm(func,sig){var table=wasmTable;if(!functionsInTableMap){functionsInTableMap=new WeakMap;for(var i=0;i
>>0){break C}h=(f>>>0)%(q>>>0)|0}c=i[d+(h<<2)>>2];if(!c){break n}d=i[c>>2];if(!d){break n}s=q+ -1|0;while(1){D:{c=i[d+4>>2];E:{if((f|0)!=(c|0)){F:{if(!t){c=c&s;break F}if(c>>>0>>0){break F}c=(c>>>0)%(q>>>0)|0}if((c|0)!=(h|0)){break n}break E}if((f|0)==i[d+8>>2]){break D}}d=i[d>>2];if(d){continue}break n}break}h=i[m+72>>2];if((h|0)!=(n|0)){i[n>>2]=i[d+12>>2];i[m+68>>2]=p;c=e;break m}t=n-e|0;p=t>>2;s=p+1|0;if(s>>>0>=1073741824){break p}n=h-e|0;h=n>>1;n=n>>2>>>0<536870911?h>>>0>>0?s:h:1073741823;c=0;G:{if(!n){break G}if(n>>>0>=1073741824){break a}c=Gm(n<<2)}h=c+(p<<2)|0;i[h>>2]=i[d+12>>2];d=(n<<2)+c|0;p=h+4|0;if((t|0)>=1){sn(c,e,t)}i[m+72>>2]=d;i[m+68>>2]=p;i[m+64>>2]=c;if(!e){break m}qn(e);p=i[m+68>>2];c=i[m+64>>2];break m}c=i[a+8>>2];bg(c+24|0,11508);d=-1;e=i[a+8>>2];q=o(f,3);p=i[c+28>>2]-i[c+24>>2]|0;s=p>>2;h=s+ -1|0;i[i[e>>2]+(q<<2)>>2]=h;bg(e+24|0,11508);n=q+1|0;i[i[e>>2]+(n<<2)>>2]=(i[e+28>>2]-i[e+24>>2]>>2)+ -1;c=i[a+8>>2];bg(c+24|0,11508);e=q+2|0;i[i[c>>2]+(e<<2)>>2]=(i[c+28>>2]-i[c+24>>2]>>2)+ -1;c=i[a+8>>2];t=i[c+24>>2];if(i[c+28>>2]-t>>2>(A|0)){break g}H:{I:{if(!p){i[t+(s<<2)>>2]=n;d=1;break I}i[t+(h<<2)>>2]=q;d=0;if((p|0)==-4){break I}i[t+(s<<2)>>2]=n;d=s+1|0;if((d|0)==-1){break H}}i[t+(d<<2)>>2]=e}c=i[m+68>>2];d=i[m+72>>2];if((c|0)!=(d|0)){i[c>>2]=q;i[m+68>>2]=c+4;break q}s=i[m+64>>2];p=c-s|0;h=p>>2;n=h+1|0;if(n>>>0>=1073741824){break o}e=d-s|0;d=e>>1;e=e>>2>>>0<536870911?d>>>0>>0?n:d:1073741823;c=0;J:{if(!e){break J}if(e>>>0>=1073741824){break a}c=Gm(e<<2)}d=c+(h<<2)|0;i[d>>2]=q;e=c+(e<<2)|0;d=d+4|0;if((p|0)>=1){sn(c,s,p)}i[m+72>>2]=e;i[m+68>>2]=d;i[m+64>>2]=c;if(!s){break q}qn(s)}d=i[a+40>>2];if((d|0)==i[a+36>>2]){break i}f=(f^-1)+b|0;while(1){c=i[d+ -8>>2];if(c>>>0>f>>>0){break l}if((c|0)!=(f|0)){break i}e=j[d+ -4|0];c=d+ -12|0;d=i[c>>2];i[a+40>>2]=c;if((d|0)<0){break l}h=i[i[m+68>>2]+ -4>>2];i[m+20>>2]=(d^-1)+b;i[m+88>>2]=m+20;cg(m,m+40|0,m+20|0,m+88|0);d=i[m>>2];K:{if(e&1){c=-1;if((h|0)==-1){break K}c=h+1|0;c=(c>>>0)%3|0?c:h+ -2|0;break K}c=-1;if((h|0)==-1){break K}c=h+ -1|0;if((h>>>0)%3|0){break K}c=h+2|0}i[d+12>>2]=c;d=i[a+40>>2];if((d|0)!=i[a+36>>2]){continue}break}break i}Vm();x()}Vm();x()}p=n;c=e}if((c|0)==(p|0)){break l}u=i[p+ -4>>2];d=(u|0)==-1;q=i[a+8>>2];if(i[i[q+12>>2]+(u<<2)>>2]!=-1?!d:0){break l}h=(z|0)==-1;s=i[q+12>>2];if(i[s+(z<<2)>>2]!=-1?!h:0){break l}t=o(f,3);f=t+2|0;i[s+(u<<2)>>2]=f;n=f<<2;i[n+s>>2]=u;c=t+1|0;i[s+(z<<2)>>2]=c;e=c<<2;i[e+s>>2]=z;if(d){break k}r=-1;v=-1;y=i[q>>2];d=y+(t<<2)|0;c=u+((u>>>0)%3|0?-1:2)|0;if((c|0)!=-1){v=i[(c<<2)+y>>2]}i[d>>2]=v;c=u+1|0;c=(c>>>0)%3|0?c:u+ -2|0;if((c|0)==-1){break j}r=i[(c<<2)+y>>2];break j}d=-1;if(r&1){break g}break h}v=-1;y=i[q>>2];i[y+(t<<2)>>2]=-1;r=-1}i[e+y>>2]=r;L:{M:{N:{if(!h){c=z+((z>>>0)%3|0?-1:2)|0;if((c|0)==-1){break N}c=i[(c<<2)+y>>2];i[n+y>>2]=c;if((c|0)==-1){break M}i[i[q+24>>2]+(c<<2)>>2]=f;break M}i[n+y>>2]=-1;B=-1;d=-1;break L}i[n+y>>2]=-1}B=-1;c=z+1|0;c=(c>>>0)%3|0?c:z+ -2|0;d=-1;if((c|0)==-1){break L}B=i[(c<<2)+y>>2];d=c}c=i[q+24>>2];e=c+(B<<2)|0;if((v|0)!=-1){i[c+(v<<2)>>2]=i[e>>2]}O:{if((d|0)==-1){break O}while(1){i[(d<<2)+y>>2]=v;c=d+1|0;c=(c>>>0)%3|0?c:d+ -2|0;if((c|0)==-1){break O}d=i[s+(c<<2)>>2];if((d|0)==-1){break O}c=d+1|0;d=(c>>>0)%3|0?c:d+ -2|0;if((d|0)!=-1){continue}break}}i[e>>2]=-1;P:{if(C){break P}c=i[m+28>>2];d=i[m+32>>2];if((c|0)!=(d|0)){i[c>>2]=B;i[m+28>>2]=c+4;break P}Q:{s=i[m+24>>2];n=c-s|0;f=n>>2;h=f+1|0;if(h>>>0<1073741824){e=d-s|0;d=e>>1;e=e>>2>>>0<536870911?d>>>0 >>0?h:d:1073741823;c=0;R:{if(!e){break R}if(e>>>0>=1073741824){break Q}c=Gm(e<<2)}d=c+(f<<2)|0;i[d>>2]=B;e=c+(e<<2)|0;d=d+4|0;if((n|0)>=1){sn(c,s,n)}i[m+32>>2]=e;i[m+28>>2]=d;i[m+24>>2]=c;if(!s){break P}qn(s);p=i[m+68>>2];break P}Vm();x()}break a}i[p+ -4>>2]=t}r=(w|0)<(b|0);if((b|0)!=(w|0)){continue}break}w=b}d=-1;b=i[a+8>>2];if(i[b+28>>2]-i[b+24>>2]>>2>(A|0)){break g}r=i[m+68>>2];if((r|0)!=i[m+64>>2]){C=a+72|0;b=a+60|0;s=a+312|0;while(1){c=r+ -4|0;q=i[c>>2];i[m+68>>2]=c;S:{T:{U:{V:{if(k[a+270>>1]<=513){if(!j[a+364|0]){break U}e=i[a+360>>2];c=i[a+352>>2]+(e>>>3|0)|0;if(c>>>0>=l[a+356>>2]){break T}c=j[c|0];i[a+360>>2]=e+1;c=c>>>(e&7)&1;break V}c=Ee(s)}if(!c){break T}}p=i[a+8>>2];z=i[p>>2];if((w|0)>=((i[p+4>>2]-z>>2>>>0)/3|0)){break g}h=-1;v=-1;n=i[p+24>>2];f=n;c=-1;W:{if((q|0)==-1){break W}e=q+1|0;e=(e>>>0)%3|0?e:q+ -2|0;c=-1;if((e|0)==-1){break W}c=i[z+(e<<2)>>2]}f=i[f+(c<<2)>>2];X:{if((f|0)==-1){break X}e=f+1|0;e=(e>>>0)%3|0?e:f+ -2|0;if((e|0)==-1){break X}f=e+1|0;f=(f>>>0)%3|0?f:e+ -2|0;if((f|0)!=-1){v=i[z+(f<<2)>>2]}h=e}r=-1;B=-1;n=i[n+(v<<2)>>2];f=-1;Y:{if((n|0)==-1){break Y}e=n+1|0;e=(e>>>0)%3|0?e:n+ -2|0;f=-1;if((e|0)==-1){break Y}f=e+1|0;f=(f>>>0)%3|0?f:e+ -2|0;if((f|0)!=-1){B=i[z+(f<<2)>>2]}f=e}A=i[p+12>>2];u=o(w,3);p=u<<2;i[A+p>>2]=q;i[A+(q<<2)>>2]=u;q=u+1|0;n=q<<2;i[n+A>>2]=h;i[A+(h<<2)>>2]=q;t=u+2|0;e=t<<2;i[e+A>>2]=f;i[A+(f<<2)>>2]=t;i[p+z>>2]=v;n=n+z|0;i[n>>2]=B;h=e+z|0;i[h>>2]=c;p=i[a+120>>2];f=q>>>0>>0?-1:v;e=p+(f>>>3&536870908)|0;c=i[e>>2];D=e,E=Nn(f)&c,i[D>>2]=E;r=(q|0)!=-1?i[n>>2]:r;e=p+(r>>>3&536870908)|0;c=i[e>>2];D=e,E=Nn(r)&c,i[D>>2]=E;r=-1;r=(t|0)!=-1?i[h>>2]:r;e=p+(r>>>3&536870908)|0;c=i[e>>2];D=e,E=Nn(r)&c,i[D>>2]=E;r=i[a+64>>2];e=i[a+68>>2];if((r|0)==e<<5){if((r+1|0)<=-1){break e}c=b;if(r>>>0<=1073741822){f=r+32&-32;e=e<<6;e=e>>>0 >>0?f:e}else{e=2147483647}Sc(c,e);r=i[a+64>>2]}w=w+1|0;i[a+64>>2]=r+1;c=i[a+60>>2]+(r>>>3&536870908)|0;i[c>>2]=i[c>>2]|1<<(r&31);c=i[a+76>>2];e=i[a+80>>2];if((c|0)!=(e|0)){i[c>>2]=u;i[a+76>>2]=c+4;break S}t=i[C>>2];p=c-t|0;h=p>>2;n=h+1|0;if(n>>>0>=1073741824){break d}f=e-t|0;e=f>>1;f=f>>2>>>0<536870911?e>>>0 >>0?n:e:1073741823;c=0;Z:{if(!f){break Z}if(f>>>0>=1073741824){break a}c=Gm(f<<2)}e=c+(h<<2)|0;i[e>>2]=u;f=c+(f<<2)|0;e=e+4|0;if((p|0)>=1){sn(c,t,p)}i[a+80>>2]=f;i[a+76>>2]=e;i[a+72>>2]=c;if(!t){break S}qn(t);break S}c=i[a+64>>2];h=i[a+68>>2];if((c|0)==h<<5){if((c+1|0)<=-1){break e}e=b;if(c>>>0<=1073741822){f=c+32&-32;c=h<<6;c=c>>>0 >>0?f:c}else{c=2147483647}Sc(e,c);c=i[a+64>>2]}i[a+64>>2]=c+1;f=i[a+60>>2]+(c>>>3&536870908)|0;e=i[f>>2];D=f,E=Nn(c)&e,i[D>>2]=E;c=i[a+76>>2];e=i[a+80>>2];if((c|0)!=(e|0)){i[c>>2]=q;i[a+76>>2]=c+4;break S}t=i[C>>2];p=c-t|0;h=p>>2;n=h+1|0;if(n>>>0>=1073741824){break d}f=e-t|0;e=f>>1;f=f>>2>>>0<536870911?e>>>0 >>0?n:e:1073741823;c=0;_:{if(!f){break _}if(f>>>0>=1073741824){break c}c=Gm(f<<2)}e=c+(h<<2)|0;i[e>>2]=q;f=c+(f<<2)|0;e=e+4|0;if((p|0)>=1){sn(c,t,p)}i[a+80>>2]=f;i[a+76>>2]=e;i[a+72>>2]=c;if(!t){break S}qn(t)}r=i[m+68>>2];if((r|0)!=i[m+64>>2]){continue}break}b=i[a+8>>2]}if(((i[b+4>>2]-i[b>>2]>>2>>>0)/3|0)!=(w|0)){break g}d=i[b+28>>2]-i[b+24>>2]>>2;v=i[m+24>>2];f=i[m+28>>2];if((v|0)==(f|0)){break f}while(1){h=i[v>>2];r=i[b+24>>2];w=d+ -1|0;$:{if(i[r+(w<<2)>>2]!=-1){c=d;break $}r=i[b+24>>2];while(1){w=d+ -2|0;c=d+ -1|0;d=c;if(i[(w<<2)+r>>2]==-1){continue}break}}if(w>>>0>=h>>>0){i[m>>2]=b;e=w<<2;d=i[e+r>>2];g[m+12|0]=1;i[m+8>>2]=d;i[m+4>>2]=d;if((d|0)!=-1){i[i[b>>2]+(d<<2)>>2]=h;Ld(m);d=i[m+8>>2];if((d|0)!=-1){while(1){i[i[i[a+8>>2]>>2]+(d<<2)>>2]=h;Ld(m);d=i[m+8>>2];if((d|0)!=-1){continue}break}}b=i[a+8>>2]}d=i[b+24>>2];e=d+e|0;if((h|0)!=-1){i[d+(h<<2)>>2]=i[e>>2]}i[e>>2]=-1;p=1<<(h&31);d=i[a+120>>2];n=d+(h>>>3&536870908)|0;e=n;h=d+(w>>>3&536870908)|0;d=1<<(w&31);w=p|i[n>>2];aa:{if(i[h>>2]&d){break aa}w=i[n>>2]&(p^-1)}i[e>>2]=w;i[h>>2]=i[h>>2]&(d^-1);c=c+ -1|0}d=c;v=v+4|0;if((f|0)!=(v|0)){continue}break}}v=i[m+24>>2]}if(v){i[m+28>>2]=v;qn(v)}a=i[m+48>>2];if(a){while(1){b=i[a>>2];qn(a);a=b;if(a){continue}break}}a=i[m+40>>2];i[m+40>>2]=0;if(a){qn(a)}a=i[m+64>>2];if(a){i[m+68>>2]=a;qn(a)}L=m+96|0;return d}Vm();x()}Vm();x()}Da(12220)}x()}Da(12220);x()}function ng(a,b){var c=0,d=0,e=0,f=0,h=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;p=L-96|0;L=p;i[p+72>>2]=0;i[p+64>>2]=0;i[p+68>>2]=0;i[p+48>>2]=0;i[p+52>>2]=0;i[p+40>>2]=0;i[p+44>>2]=0;i[p+56>>2]=1065353216;i[p+32>>2]=0;i[p+24>>2]=0;i[p+28>>2]=0;z=i[a+124>>2];a:{b:{c:{d:{e:{f:{if((b|0)<1){break f}w=a+232|0;y=i[a+216>>2]!=i[a+220>>2];s=1;while(1){e=u;u=e+1|0;c=pg(w);g:{if(!c){d=i[p+68>>2];if((d|0)==i[p+64>>2]){d=-1;break e}n=-1;f=i[a+8>>2];q=i[f+24>>2];m=q;s=d+ -4|0;d=i[s>>2];c=-1;h:{if((d|0)==-1){break h}h=d+1|0;h=(h>>>0)%3|0?h:d+ -2|0;c=-1;if((h|0)==-1){break h}c=i[i[f>>2]+(h<<2)>>2]}m=i[m+(c<<2)>>2];if((m|0)!=-1){h=m+1|0;n=(h>>>0)%3|0?h:m+ -2|0}h=i[f+12>>2];m=o(e,3);e=m+1|0;i[h+(d<<2)>>2]=e;t=e<<2;i[t+h>>2]=d;r=m+2|0;i[h+(n<<2)>>2]=r;v=r<<2;i[v+h>>2]=n;h=-1;e=-1;i:{if((d|0)==-1){break i}d=d+((d>>>0)%3|0?-1:2)|0;e=-1;if((d|0)==-1){break i}e=i[i[f>>2]+(d<<2)>>2]}j:{if((n|0)==-1){break j}d=n+1|0;d=(d>>>0)%3|0?d:n+ -2|0;if((d|0)==-1){break j}h=i[i[f>>2]+(d<<2)>>2]}d=-1;if((c|0)==(e|0)|(c|0)==(h|0)){break e}d=i[f>>2];i[d+(m<<2)>>2]=c;i[d+t>>2]=h;i[d+v>>2]=e;if((e|0)!=-1){i[q+(e<<2)>>2]=r}d=i[a+120>>2]+(c>>>3&536870908)|0;e=i[d>>2];D=d,E=Nn(c)&e,i[D>>2]=E;i[s>>2]=m;qg(w,m);break g}d=-1;k:{l:{m:{n:{o:{p:{q:{r:{s:{switch(c+ -1|0){case 2:case 4:d=i[p+68>>2];if((d|0)==i[p+64>>2]){d=-1;break e}m=i[a+8>>2];h=i[m+12>>2];f=o(e,3);n=(c|0)==5;r=f+(n?2:1)|0;t=r<<2;c=i[d+ -4>>2];i[h+t>>2]=c;i[h+(c<<2)>>2]=r;bg(m+24|0,11508);d=-1;q=i[a+8>>2];h=i[q+24>>2];if(i[q+28>>2]-h>>2>(z|0)){break e}v=f+2|0;d=i[q>>2];m=i[m+28>>2]-i[m+24>>2]|0;q=(m>>2)+ -1|0;i[d+t>>2]=q;if(m){i[h+(q<<2)>>2]=r}m=n?f:v;q=d+(f+n<<2)|0;t:{u:{v:{if((c|0)!=-1){n=c+((c>>>0)%3|0?-1:2)|0;if((n|0)==-1){break v}n=i[d+(n<<2)>>2];i[d+(m<<2)>>2]=n;if((n|0)==-1){break u}i[h+(n<<2)>>2]=m;break u}i[d+(m<<2)>>2]=-1;h=-1;break t}i[d+(m<<2)>>2]=-1}h=c+1|0;c=(h>>>0)%3|0?h:c+ -2|0;h=-1;if((c|0)==-1){break t}h=i[d+(c<<2)>>2]}i[q>>2]=h;d=i[p+68>>2];i[d+ -4>>2]=f;break r;case 0:m=i[p+68>>2];f=i[p+64>>2];if((m|0)==(f|0)){break e}h=m+ -4|0;r=i[h>>2];i[p+68>>2]=h;q=i[p+44>>2];if(!q){break o}v=i[p+40>>2];t=Mn(q)>>>0>1;d=e&q+2147483647;w:{if(!t){break w}c=e;d=c;if(c>>>0 >>0){break w}d=(e>>>0)%(q>>>0)|0}n=d;c=i[v+(n<<2)>>2];if(!c){break o}d=i[c>>2];if(!d){break o}v=q+ -1|0;while(1){x:{c=i[d+4>>2];y:{if((e|0)!=(c|0)){z:{if(!t){c=c&v;break z}if(c>>>0>>0){break z}c=(c>>>0)%(q>>>0)|0}if((c|0)!=(n|0)){break o}break y}if((e|0)==i[d+8>>2]){break x}}d=i[d>>2];if(d){continue}break o}break}n=i[p+72>>2];if((n|0)!=(h|0)){i[h>>2]=i[d+12>>2];i[p+68>>2]=m;c=f;break n}h=h-f|0;q=h>>2;m=q+1|0;if(m>>>0>=1073741824){break q}n=n-f|0;t=n>>1;m=n>>2>>>0<536870911?t>>>0>>0?m:t:1073741823;c=0;A:{if(!m){break A}if(m>>>0>=1073741824){break a}c=Gm(m<<2)}n=c+(q<<2)|0;i[n>>2]=i[d+12>>2];d=(m<<2)+c|0;m=n+4|0;if((h|0)>=1){sn(c,f,h)}i[p+72>>2]=d;i[p+68>>2]=m;i[p+64>>2]=c;if(!f){break n}qn(f);m=i[p+68>>2];c=i[p+64>>2];break n;case 6:break s;default:break e}}m=i[a+8>>2];bg(m+24|0,11508);c=i[a+8>>2];f=o(e,3);h=i[m+28>>2]-i[m+24>>2]|0;m=h>>2;r=m+ -1|0;i[i[c>>2]+(f<<2)>>2]=r;bg(c+24|0,11508);n=f+1|0;i[i[c>>2]+(n<<2)>>2]=(i[c+28>>2]-i[c+24>>2]>>2)+ -1;c=i[a+8>>2];bg(c+24|0,11508);q=f+2|0;i[i[c>>2]+(q<<2)>>2]=(i[c+28>>2]-i[c+24>>2]>>2)+ -1;t=i[a+8>>2];c=i[t+24>>2];if(i[t+28>>2]-c>>2>(z|0)){break e}B:{C:{if(!h){i[c+(m<<2)>>2]=n;d=1;break C}i[c+(r<<2)>>2]=f;d=0;if((h|0)==-4){break C}i[c+(m<<2)>>2]=n;d=m+1|0;if((d|0)==-1){break B}}i[c+(d<<2)>>2]=q}c=i[p+68>>2];n=i[p+72>>2];if((c|0)!=(n|0)){i[c>>2]=f;d=c+4|0;i[p+68>>2]=d;break r}m=i[p+64>>2];h=c-m|0;r=h>>2;d=r+1|0;if(d>>>0>=1073741824){break p}n=n-m|0;q=n>>1;d=n>>2>>>0<536870911?q>>>0 >>0?d:q:1073741823;c=0;D:{if(!d){break D}if(d>>>0>=1073741824){break a}c=Gm(d<<2)}n=c+(r<<2)|0;i[n>>2]=f;f=c+(d<<2)|0;d=n+4|0;if((h|0)>=1){sn(c,m,h)}i[p+72>>2]=f;i[p+68>>2]=d;i[p+64>>2]=c;if(!m){break r}qn(m);d=i[p+68>>2]}qg(w,i[d+ -4>>2]);d=i[a+40>>2];if((d|0)==i[a+36>>2]){break g}e=(e^-1)+b|0;while(1){c=i[d+ -8>>2];if(c>>>0>e>>>0){break m}if((c|0)!=(e|0)){break g}m=j[d+ -4|0];c=d+ -12|0;f=i[c>>2];i[a+40>>2]=c;if((f|0)<0){break m}c=i[i[p+68>>2]+ -4>>2];i[p+20>>2]=(f^-1)+b;i[p+88>>2]=p+20;cg(p,p+40|0,p+20|0,p+88|0);f=i[p>>2];E:{if(m&1){d=-1;if((c|0)==-1){break E}d=c+1|0;d=(d>>>0)%3|0?d:c+ -2|0;break E}d=-1;if((c|0)==-1){break E}d=c+ -1|0;if((c>>>0)%3|0){break E}d=c+2|0}i[f+12>>2]=d;d=i[a+40>>2];if((d|0)!=i[a+36>>2]){continue}break}break g}Vm();x()}Vm();x()}m=h;c=f}if((c|0)==(m|0)){break m}d=i[m+ -4>>2];c=(d|0)==-1;f=i[a+8>>2];if(i[i[f+12>>2]+(d<<2)>>2]!=-1?!c:0){break m}v=(r|0)==-1;h=i[f+12>>2];if(i[h+(r<<2)>>2]!=-1?!v:0){break m}q=o(e,3);t=q+2|0;i[h+(d<<2)>>2]=t;s=t<<2;i[s+h>>2]=d;e=q+1|0;i[h+(r<<2)>>2]=e;A=e<<2;i[A+h>>2]=r;if(c){break l}e=-1;c=-1;n=i[f>>2];C=n+(q<<2)|0;B=d+((d>>>0)%3|0?-1:2)|0;if((B|0)!=-1){c=i[(B<<2)+n>>2]}i[C>>2]=c;B=d+1|0;d=(B>>>0)%3|0?B:d+ -2|0;if((d|0)==-1){break k}e=i[(d<<2)+n>>2];break k}d=-1;if(s){break e}break f}c=-1;n=i[f>>2];i[n+(q<<2)>>2]=-1;e=-1}i[n+A>>2]=e;F:{G:{H:{if(!v){d=r+((r>>>0)%3|0?-1:2)|0;if((d|0)==-1){break H}d=i[(d<<2)+n>>2];i[n+s>>2]=d;if((d|0)==-1){break G}i[i[f+24>>2]+(d<<2)>>2]=t;break G}i[n+s>>2]=-1;s=-1;d=-1;break F}i[n+s>>2]=-1}s=-1;e=r+1|0;e=(e>>>0)%3|0?e:r+ -2|0;d=-1;if((e|0)==-1){break F}s=i[(e<<2)+n>>2];d=e}e=i[a+388>>2];r=c<<2;t=e+r|0;v=e;e=s<<2;i[t>>2]=i[t>>2]+i[v+e>>2];f=i[f+24>>2];e=f+e|0;if((c|0)!=-1){i[f+r>>2]=i[e>>2]}I:{if((d|0)==-1){break I}while(1){i[(d<<2)+n>>2]=c;f=d+1|0;d=(f>>>0)%3|0?f:d+ -2|0;if((d|0)==-1){break I}d=i[h+(d<<2)>>2];if((d|0)==-1){break I}f=d+1|0;d=(f>>>0)%3|0?f:d+ -2|0;if((d|0)!=-1){continue}break}}i[e>>2]=-1;J:{if(y){break J}c=i[p+28>>2];h=i[p+32>>2];if((c|0)!=(h|0)){i[c>>2]=s;i[p+28>>2]=c+4;break J}K:{d=i[p+24>>2];f=c-d|0;n=f>>2;e=n+1|0;if(e>>>0<1073741824){h=h-d|0;r=h>>1;e=h>>2>>>0<536870911?r>>>0 >>0?e:r:1073741823;c=0;L:{if(!e){break L}if(e>>>0>=1073741824){break K}c=Gm(e<<2)}h=c+(n<<2)|0;i[h>>2]=s;e=c+(e<<2)|0;h=h+4|0;if((f|0)>=1){sn(c,d,f)}i[p+32>>2]=e;i[p+28>>2]=h;i[p+24>>2]=c;if(!d){break J}qn(d);m=i[p+68>>2];break J}Vm();x()}break a}i[m+ -4>>2]=q;qg(w,q)}s=(u|0)<(b|0);if((b|0)!=(u|0)){continue}break}u=b}d=-1;b=i[a+8>>2];if(i[b+28>>2]-i[b+24>>2]>>2>(z|0)){break e}e=i[p+68>>2];if((e|0)!=i[p+64>>2]){z=a+72|0;b=a+60|0;t=a+312|0;while(1){c=e+ -4|0;r=i[c>>2];i[p+68>>2]=c;M:{N:{O:{P:{if(k[a+270>>1]<=513){if(!j[a+364|0]){break O}c=i[a+360>>2];e=i[a+352>>2]+(c>>>3|0)|0;if(e>>>0>=l[a+356>>2]){break N}e=j[e|0];i[a+360>>2]=c+1;c=e>>>(c&7)&1;break P}c=Ee(t)}if(!c){break N}}s=i[a+8>>2];q=i[s>>2];if((u|0)>=((i[s+4>>2]-q>>2>>>0)/3|0)){break e}c=-1;n=-1;f=i[s+24>>2];m=f;e=-1;Q:{if((r|0)==-1){break Q}h=r+1|0;h=(h>>>0)%3|0?h:r+ -2|0;e=-1;if((h|0)==-1){break Q}e=i[q+(h<<2)>>2]}h=e;e=i[m+(h<<2)>>2];R:{if((e|0)==-1){break R}m=e+1|0;e=(m>>>0)%3|0?m:e+ -2|0;if((e|0)==-1){break R}c=e+1|0;c=(c>>>0)%3|0?c:e+ -2|0;if((c|0)!=-1){n=i[q+(c<<2)>>2]}c=e}w=-1;m=-1;f=i[f+(n<<2)>>2];e=-1;S:{if((f|0)==-1){break S}y=f+1|0;f=(y>>>0)%3|0?y:f+ -2|0;e=-1;if((f|0)==-1){break S}e=f+1|0;e=(e>>>0)%3|0?e:f+ -2|0;if((e|0)!=-1){m=i[q+(e<<2)>>2]}e=f}s=i[s+12>>2];f=o(u,3);y=f<<2;i[s+y>>2]=r;i[s+(r<<2)>>2]=f;r=f+1|0;v=r<<2;i[v+s>>2]=c;i[s+(c<<2)>>2]=r;c=f+2|0;A=c<<2;i[A+s>>2]=e;i[s+(e<<2)>>2]=c;i[q+y>>2]=n;e=q+v|0;i[e>>2]=m;q=q+A|0;i[q>>2]=h;m=i[a+120>>2];h=r>>>0 >>0?-1:n;n=m+(h>>>3&536870908)|0;s=i[n>>2];D=n,E=Nn(h)&s,i[D>>2]=E;w=(r|0)!=-1?i[e>>2]:w;e=m+(w>>>3&536870908)|0;h=i[e>>2];D=e,E=Nn(w)&h,i[D>>2]=E;e=-1;e=(c|0)!=-1?i[q>>2]:e;c=m+(e>>>3&536870908)|0;m=i[c>>2];D=c,E=Nn(e)&m,i[D>>2]=E;e=i[a+64>>2];m=i[a+68>>2];if((e|0)==m<<5){if((e+1|0)<=-1){break c}c=b;if(e>>>0<=1073741822){e=e+32&-32;m=m<<6;e=m>>>0 >>0?e:m}else{e=2147483647}Sc(c,e);e=i[a+64>>2]}u=u+1|0;i[a+64>>2]=e+1;c=i[a+60>>2]+(e>>>3&536870908)|0;i[c>>2]=i[c>>2]|1<<(e&31);c=i[a+76>>2];n=i[a+80>>2];if((c|0)!=(n|0)){i[c>>2]=f;i[a+76>>2]=c+4;break M}e=i[z>>2];h=c-e|0;r=h>>2;m=r+1|0;if(m>>>0>=1073741824){break b}n=n-e|0;q=n>>1;m=n>>2>>>0<536870911?q>>>0 >>0?m:q:1073741823;c=0;T:{if(!m){break T}if(m>>>0>=1073741824){break a}c=Gm(m<<2)}n=c+(r<<2)|0;i[n>>2]=f;f=c+(m<<2)|0;m=n+4|0;if((h|0)>=1){sn(c,e,h)}i[a+80>>2]=f;i[a+76>>2]=m;i[a+72>>2]=c;if(!e){break M}qn(e);break M}c=i[a+64>>2];f=i[a+68>>2];if((c|0)==f<<5){if((c+1|0)<=-1){break c}e=b;if(c>>>0<=1073741822){c=c+32&-32;f=f<<6;c=f>>>0 >>0?c:f}else{c=2147483647}Sc(e,c);c=i[a+64>>2]}i[a+64>>2]=c+1;e=i[a+60>>2]+(c>>>3&536870908)|0;f=i[e>>2];D=e,E=Nn(c)&f,i[D>>2]=E;c=i[a+76>>2];h=i[a+80>>2];if((c|0)!=(h|0)){i[c>>2]=r;i[a+76>>2]=c+4;break M}e=i[z>>2];m=c-e|0;n=m>>2;f=n+1|0;if(f>>>0>=1073741824){break b}h=h-e|0;q=h>>1;f=h>>2>>>0<536870911?q>>>0 >>0?f:q:1073741823;c=0;U:{if(!f){break U}if(f>>>0>=1073741824){break a}c=Gm(f<<2)}h=c+(n<<2)|0;i[h>>2]=r;f=c+(f<<2)|0;h=h+4|0;if((m|0)>=1){sn(c,e,m)}i[a+80>>2]=f;i[a+76>>2]=h;i[a+72>>2]=c;if(!e){break M}qn(e)}e=i[p+68>>2];if((e|0)!=i[p+64>>2]){continue}break}b=i[a+8>>2]}if(((i[b+4>>2]-i[b>>2]>>2>>>0)/3|0)!=(u|0)){break e}d=i[b+28>>2]-i[b+24>>2]>>2;n=i[p+24>>2];m=i[p+28>>2];if((n|0)==(m|0)){break d}while(1){f=i[n>>2];e=i[b+24>>2];u=d+ -1|0;V:{if(i[e+(u<<2)>>2]!=-1){c=d;break V}e=i[b+24>>2];while(1){u=d+ -2|0;c=d+ -1|0;d=c;if(i[(u<<2)+e>>2]==-1){continue}break}}if(u>>>0>=f>>>0){i[p>>2]=b;d=e;e=u<<2;d=i[d+e>>2];g[p+12|0]=1;i[p+8>>2]=d;i[p+4>>2]=d;h=e;if((d|0)!=-1){i[i[b>>2]+(d<<2)>>2]=f;Ld(p);d=i[p+8>>2];if((d|0)!=-1){while(1){i[i[i[a+8>>2]>>2]+(d<<2)>>2]=f;Ld(p);d=i[p+8>>2];if((d|0)!=-1){continue}break}}b=i[a+8>>2]}e=i[b+24>>2];d=h+e|0;if((f|0)!=-1){i[e+(f<<2)>>2]=i[d>>2]}i[d>>2]=-1;d=1<<(f&31);e=f>>>3&536870908;f=i[a+120>>2];e=e+f|0;h=e;f=f+(u>>>3&536870908)|0;u=1<<(u&31);q=d|i[e>>2];W:{if(i[f>>2]&u){break W}q=i[e>>2]&(d^-1)}i[h>>2]=q;i[f>>2]=i[f>>2]&(u^-1);c=c+ -1|0}d=c;n=n+4|0;if((m|0)!=(n|0)){continue}break}}n=i[p+24>>2]}if(n){i[p+28>>2]=n;qn(n)}a=i[p+48>>2];if(a){while(1){b=i[a>>2];qn(a);a=b;if(a){continue}break}}a=i[p+40>>2];i[p+40>>2]=0;if(a){qn(a)}a=i[p+64>>2];if(a){i[p+68>>2]=a;qn(a)}L=p+96|0;return d}Vm();x()}Vm();x()}Da(12220);x()}function oh(a,b,c,d,e){var f=0,k=0;f=L-32|0;L=f;i[b+32>>2]=d;i[b+40>>2]=c;i[b+4>>2]=e;lh(a,d,f+16|0);a:{if(i[a>>2]){break a}c=a+4|0;if(g[a+15|0]<=-1){qn(i[c>>2])}e=j[f+23|0];if((O[i[i[b>>2]+8>>2]](b)|0)!=(e|0)){b=Gm(64);i[f>>2]=b;i[f+4>>2]=50;i[f+8>>2]=-2147483584;g[b+50|0]=0;d=j[13665]|j[13666]<<8;g[b+48|0]=d;g[b+49|0]=d>>>8;d=j[13661]|j[13662]<<8|(j[13663]<<16|j[13664]<<24);e=j[13657]|j[13658]<<8|(j[13659]<<16|j[13660]<<24);g[b+40|0]=e;g[b+41|0]=e>>>8;g[b+42|0]=e>>>16;g[b+43|0]=e>>>24;g[b+44|0]=d;g[b+45|0]=d>>>8;g[b+46|0]=d>>>16;g[b+47|0]=d>>>24;d=j[13653]|j[13654]<<8|(j[13655]<<16|j[13656]<<24);e=j[13649]|j[13650]<<8|(j[13651]<<16|j[13652]<<24);g[b+32|0]=e;g[b+33|0]=e>>>8;g[b+34|0]=e>>>16;g[b+35|0]=e>>>24;g[b+36|0]=d;g[b+37|0]=d>>>8;g[b+38|0]=d>>>16;g[b+39|0]=d>>>24;d=j[13645]|j[13646]<<8|(j[13647]<<16|j[13648]<<24);e=j[13641]|j[13642]<<8|(j[13643]<<16|j[13644]<<24);g[b+24|0]=e;g[b+25|0]=e>>>8;g[b+26|0]=e>>>16;g[b+27|0]=e>>>24;g[b+28|0]=d;g[b+29|0]=d>>>8;g[b+30|0]=d>>>16;g[b+31|0]=d>>>24;d=j[13637]|j[13638]<<8|(j[13639]<<16|j[13640]<<24);e=j[13633]|j[13634]<<8|(j[13635]<<16|j[13636]<<24);g[b+16|0]=e;g[b+17|0]=e>>>8;g[b+18|0]=e>>>16;g[b+19|0]=e>>>24;g[b+20|0]=d;g[b+21|0]=d>>>8;g[b+22|0]=d>>>16;g[b+23|0]=d>>>24;d=j[13629]|j[13630]<<8|(j[13631]<<16|j[13632]<<24);e=j[13625]|j[13626]<<8|(j[13627]<<16|j[13628]<<24);g[b+8|0]=e;g[b+9|0]=e>>>8;g[b+10|0]=e>>>16;g[b+11|0]=e>>>24;g[b+12|0]=d;g[b+13|0]=d>>>8;g[b+14|0]=d>>>16;g[b+15|0]=d>>>24;d=j[13621]|j[13622]<<8|(j[13623]<<16|j[13624]<<24);e=j[13617]|j[13618]<<8|(j[13619]<<16|j[13620]<<24);g[b|0]=e;g[b+1|0]=e>>>8;g[b+2|0]=e>>>16;g[b+3|0]=e>>>24;g[b+4|0]=d;g[b+5|0]=d>>>8;g[b+6|0]=d>>>16;g[b+7|0]=d>>>24;i[a>>2]=-1;Jm(c,f);if(g[f+11|0]>-1){break a}qn(i[f>>2]);break a}d=j[f+21|0];g[b+36|0]=d;k=j[f+22|0];g[b+37|0]=k;if((d+ -1&255)>>>0>=2){b=Gm(32);i[f>>2]=b;i[f+4>>2]=22;i[f+8>>2]=-2147483616;g[b+22|0]=0;d=j[13686]|j[13687]<<8|(j[13688]<<16|j[13689]<<24);e=j[13682]|j[13683]<<8|(j[13684]<<16|j[13685]<<24);g[b+14|0]=e;g[b+15|0]=e>>>8;g[b+16|0]=e>>>16;g[b+17|0]=e>>>24;g[b+18|0]=d;g[b+19|0]=d>>>8;g[b+20|0]=d>>>16;g[b+21|0]=d>>>24;d=j[13680]|j[13681]<<8|(j[13682]<<16|j[13683]<<24);e=j[13676]|j[13677]<<8|(j[13678]<<16|j[13679]<<24);g[b+8|0]=e;g[b+9|0]=e>>>8;g[b+10|0]=e>>>16;g[b+11|0]=e>>>24;g[b+12|0]=d;g[b+13|0]=d>>>8;g[b+14|0]=d>>>16;g[b+15|0]=d>>>24;d=j[13672]|j[13673]<<8|(j[13674]<<16|j[13675]<<24);e=j[13668]|j[13669]<<8|(j[13670]<<16|j[13671]<<24);g[b|0]=e;g[b+1|0]=e>>>8;g[b+2|0]=e>>>16;g[b+3|0]=e>>>24;g[b+4|0]=d;g[b+5|0]=d>>>8;g[b+6|0]=d>>>16;g[b+7|0]=d>>>24;i[a>>2]=-5;Jm(c,f);if(g[f+11|0]>-1){break a}qn(i[f>>2]);break a}if(!((d|0)!=2|(e?2:3)>>>0>=k>>>0)){b=Gm(32);i[f>>2]=b;i[f+4>>2]=22;i[f+8>>2]=-2147483616;g[b+22|0]=0;d=j[13709]|j[13710]<<8|(j[13711]<<16|j[13712]<<24);e=j[13705]|j[13706]<<8|(j[13707]<<16|j[13708]<<24);g[b+14|0]=e;g[b+15|0]=e>>>8;g[b+16|0]=e>>>16;g[b+17|0]=e>>>24;g[b+18|0]=d;g[b+19|0]=d>>>8;g[b+20|0]=d>>>16;g[b+21|0]=d>>>24;d=j[13703]|j[13704]<<8|(j[13705]<<16|j[13706]<<24);e=j[13699]|j[13700]<<8|(j[13701]<<16|j[13702]<<24);g[b+8|0]=e;g[b+9|0]=e>>>8;g[b+10|0]=e>>>16;g[b+11|0]=e>>>24;g[b+12|0]=d;g[b+13|0]=d>>>8;g[b+14|0]=d>>>16;g[b+15|0]=d>>>24;d=j[13695]|j[13696]<<8|(j[13697]<<16|j[13698]<<24);e=j[13691]|j[13692]<<8|(j[13693]<<16|j[13694]<<24);g[b|0]=e;g[b+1|0]=e>>>8;g[b+2|0]=e>>>16;g[b+3|0]=e>>>24;g[b+4|0]=d;g[b+5|0]=d>>>8;g[b+6|0]=d>>>16;g[b+7|0]=d>>>24;i[a>>2]=-5;Jm(c,f);if(g[f+11|0]>-1){break a}qn(i[f>>2]);break a}d=d<<8|k;h[i[b+32>>2]+38>>1]=d;b:{if((d&65535)>>>0<259|h[f+26>>1]>-1){break b}mh(a,b);if(i[a>>2]){break a}if(g[c+11|0]>-1){break b}qn(i[c>>2])}if(!(O[i[i[b>>2]+12>>2]](b)|0)){b=Gm(48);i[f>>2]=b;i[f+4>>2]=33;i[f+8>>2]=-2147483600;g[b+33|0]=0;g[b+32|0]=j[13746];d=j[13742]|j[13743]<<8|(j[13744]<<16|j[13745]<<24);e=j[13738]|j[13739]<<8|(j[13740]<<16|j[13741]<<24);g[b+24|0]=e;g[b+25|0]=e>>>8;g[b+26|0]=e>>>16;g[b+27|0]=e>>>24;g[b+28|0]=d;g[b+29|0]=d>>>8;g[b+30|0]=d>>>16;g[b+31|0]=d>>>24;d=j[13734]|j[13735]<<8|(j[13736]<<16|j[13737]<<24);e=j[13730]|j[13731]<<8|(j[13732]<<16|j[13733]<<24);g[b+16|0]=e;g[b+17|0]=e>>>8;g[b+18|0]=e>>>16;g[b+19|0]=e>>>24;g[b+20|0]=d;g[b+21|0]=d>>>8;g[b+22|0]=d>>>16;g[b+23|0]=d>>>24;d=j[13726]|j[13727]<<8|(j[13728]<<16|j[13729]<<24);e=j[13722]|j[13723]<<8|(j[13724]<<16|j[13725]<<24);g[b+8|0]=e;g[b+9|0]=e>>>8;g[b+10|0]=e>>>16;g[b+11|0]=e>>>24;g[b+12|0]=d;g[b+13|0]=d>>>8;g[b+14|0]=d>>>16;g[b+15|0]=d>>>24;d=j[13718]|j[13719]<<8|(j[13720]<<16|j[13721]<<24);e=j[13714]|j[13715]<<8|(j[13716]<<16|j[13717]<<24);g[b|0]=e;g[b+1|0]=e>>>8;g[b+2|0]=e>>>16;g[b+3|0]=e>>>24;g[b+4|0]=d;g[b+5|0]=d>>>8;g[b+6|0]=d>>>16;g[b+7|0]=d>>>24;i[a>>2]=-1;Jm(c,f);if(g[f+11|0]>-1){break a}qn(i[f>>2]);break a}if(!(O[i[i[b>>2]+20>>2]](b)|0)){b=Gm(32);i[f>>2]=b;i[f+4>>2]=31;i[f+8>>2]=-2147483616;g[b+31|0]=0;d=j[13775]|j[13776]<<8|(j[13777]<<16|j[13778]<<24);e=j[13771]|j[13772]<<8|(j[13773]<<16|j[13774]<<24);g[b+23|0]=e;g[b+24|0]=e>>>8;g[b+25|0]=e>>>16;g[b+26|0]=e>>>24;g[b+27|0]=d;g[b+28|0]=d>>>8;g[b+29|0]=d>>>16;g[b+30|0]=d>>>24;d=j[13768]|j[13769]<<8|(j[13770]<<16|j[13771]<<24);e=j[13764]|j[13765]<<8|(j[13766]<<16|j[13767]<<24);g[b+16|0]=e;g[b+17|0]=e>>>8;g[b+18|0]=e>>>16;g[b+19|0]=e>>>24;g[b+20|0]=d;g[b+21|0]=d>>>8;g[b+22|0]=d>>>16;g[b+23|0]=d>>>24;d=j[13760]|j[13761]<<8|(j[13762]<<16|j[13763]<<24);e=j[13756]|j[13757]<<8|(j[13758]<<16|j[13759]<<24);g[b+8|0]=e;g[b+9|0]=e>>>8;g[b+10|0]=e>>>16;g[b+11|0]=e>>>24;g[b+12|0]=d;g[b+13|0]=d>>>8;g[b+14|0]=d>>>16;g[b+15|0]=d>>>24;d=j[13752]|j[13753]<<8|(j[13754]<<16|j[13755]<<24);e=j[13748]|j[13749]<<8|(j[13750]<<16|j[13751]<<24);g[b|0]=e;g[b+1|0]=e>>>8;g[b+2|0]=e>>>16;g[b+3|0]=e>>>24;g[b+4|0]=d;g[b+5|0]=d>>>8;g[b+6|0]=d>>>16;g[b+7|0]=d>>>24;i[a>>2]=-1;Jm(c,f);if(g[f+11|0]>-1){break a}qn(i[f>>2]);break a}if(!(O[i[i[b>>2]+24>>2]](b)|0)){b=Gm(48);i[f>>2]=b;i[f+4>>2]=34;i[f+8>>2]=-2147483600;g[b+34|0]=0;d=j[13812]|j[13813]<<8;g[b+32|0]=d;g[b+33|0]=d>>>8;d=j[13808]|j[13809]<<8|(j[13810]<<16|j[13811]<<24);e=j[13804]|j[13805]<<8|(j[13806]<<16|j[13807]<<24);g[b+24|0]=e;g[b+25|0]=e>>>8;g[b+26|0]=e>>>16;g[b+27|0]=e>>>24;g[b+28|0]=d;g[b+29|0]=d>>>8;g[b+30|0]=d>>>16;g[b+31|0]=d>>>24;d=j[13800]|j[13801]<<8|(j[13802]<<16|j[13803]<<24);e=j[13796]|j[13797]<<8|(j[13798]<<16|j[13799]<<24);g[b+16|0]=e;g[b+17|0]=e>>>8;g[b+18|0]=e>>>16;g[b+19|0]=e>>>24;g[b+20|0]=d;g[b+21|0]=d>>>8;g[b+22|0]=d>>>16;g[b+23|0]=d>>>24;d=j[13792]|j[13793]<<8|(j[13794]<<16|j[13795]<<24);e=j[13788]|j[13789]<<8|(j[13790]<<16|j[13791]<<24);g[b+8|0]=e;g[b+9|0]=e>>>8;g[b+10|0]=e>>>16;g[b+11|0]=e>>>24;g[b+12|0]=d;g[b+13|0]=d>>>8;g[b+14|0]=d>>>16;g[b+15|0]=d>>>24;d=j[13784]|j[13785]<<8|(j[13786]<<16|j[13787]<<24);e=j[13780]|j[13781]<<8|(j[13782]<<16|j[13783]<<24);g[b|0]=e;g[b+1|0]=e>>>8;g[b+2|0]=e>>>16;g[b+3|0]=e>>>24;g[b+4|0]=d;g[b+5|0]=d>>>8;g[b+6|0]=d>>>16;g[b+7|0]=d>>>24;i[a>>2]=-1;Jm(c,f);if(g[f+11|0]>-1){break a}qn(i[f>>2]);break a}i[a>>2]=0;i[a+4>>2]=0;i[a+8>>2]=0;i[a+12>>2]=0}L=f+32|0}function lh(a,b,c){var d=0,e=0,f=0,k=0,m=0,n=0;e=L-16|0;L=e;k=i[b+12>>2];d=i[b+20>>2];f=i[b+16>>2];m=f+5|0;if(m>>>0<5){d=d+1|0}a:{if((k|0)<(d|0)?1:(k|0)<=(d|0)?l[b+8>>2] >>0:0){b=Gm(32);i[e>>2]=b;i[e+4>>2]=29;i[e+8>>2]=-2147483616;g[b+29|0]=0;c=j[13561]|j[13562]<<8|(j[13563]<<16|j[13564]<<24);d=j[13557]|j[13558]<<8|(j[13559]<<16|j[13560]<<24);g[b+21|0]=d;g[b+22|0]=d>>>8;g[b+23|0]=d>>>16;g[b+24|0]=d>>>24;g[b+25|0]=c;g[b+26|0]=c>>>8;g[b+27|0]=c>>>16;g[b+28|0]=c>>>24;c=i[3389];d=i[3388];g[b+16|0]=d;g[b+17|0]=d>>>8;g[b+18|0]=d>>>16;g[b+19|0]=d>>>24;g[b+20|0]=c;g[b+21|0]=c>>>8;g[b+22|0]=c>>>16;g[b+23|0]=c>>>24;c=i[3387];d=i[3386];g[b+8|0]=d;g[b+9|0]=d>>>8;g[b+10|0]=d>>>16;g[b+11|0]=d>>>24;g[b+12|0]=c;g[b+13|0]=c>>>8;g[b+14|0]=c>>>16;g[b+15|0]=c>>>24;c=i[3385];d=i[3384];g[b|0]=d;g[b+1|0]=d>>>8;g[b+2|0]=d>>>16;g[b+3|0]=d>>>24;g[b+4|0]=c;g[b+5|0]=c>>>8;g[b+6|0]=c>>>16;g[b+7|0]=c>>>24;i[a>>2]=-2;Jm(a+4|0,e);if(g[e+11|0]>-1){break a}qn(i[e>>2]);break a}d=f+i[b>>2]|0;k=j[d|0]|j[d+1|0]<<8|(j[d+2|0]<<16|j[d+3|0]<<24);g[c|0]=k;g[c+1|0]=k>>>8;g[c+2|0]=k>>>16;g[c+3|0]=k>>>24;g[c+4|0]=j[d+4|0];k=b;d=i[b+20>>2];f=i[b+16>>2]+5|0;if(f>>>0<5){d=d+1|0}m=f;f=d;i[k+16>>2]=m;i[k+20>>2]=d;if(Pl(c,13566,5)){b=Gm(32);i[e>>2]=b;i[e+4>>2]=17;i[e+8>>2]=-2147483616;g[b+17|0]=0;g[b+16|0]=j[13588];c=j[13584]|j[13585]<<8|(j[13586]<<16|j[13587]<<24);d=j[13580]|j[13581]<<8|(j[13582]<<16|j[13583]<<24);g[b+8|0]=d;g[b+9|0]=d>>>8;g[b+10|0]=d>>>16;g[b+11|0]=d>>>24;g[b+12|0]=c;g[b+13|0]=c>>>8;g[b+14|0]=c>>>16;g[b+15|0]=c>>>24;c=j[13576]|j[13577]<<8|(j[13578]<<16|j[13579]<<24);d=j[13572]|j[13573]<<8|(j[13574]<<16|j[13575]<<24);g[b|0]=d;g[b+1|0]=d>>>8;g[b+2|0]=d>>>16;g[b+3|0]=d>>>24;g[b+4|0]=c;g[b+5|0]=c>>>8;g[b+6|0]=c>>>16;g[b+7|0]=c>>>24;i[a>>2]=-1;Jm(a+4|0,e);if(g[e+11|0]>-1){break a}qn(i[e>>2]);break a}d=i[b+12>>2];if((d|0)<(f|0)?1:(d|0)<=(f|0)?l[b+8>>2]<=m>>>0:0){b=Gm(32);i[e>>2]=b;i[e+4>>2]=29;i[e+8>>2]=-2147483616;g[b+29|0]=0;c=j[13561]|j[13562]<<8|(j[13563]<<16|j[13564]<<24);d=j[13557]|j[13558]<<8|(j[13559]<<16|j[13560]<<24);g[b+21|0]=d;g[b+22|0]=d>>>8;g[b+23|0]=d>>>16;g[b+24|0]=d>>>24;g[b+25|0]=c;g[b+26|0]=c>>>8;g[b+27|0]=c>>>16;g[b+28|0]=c>>>24;c=i[3389];d=i[3388];g[b+16|0]=d;g[b+17|0]=d>>>8;g[b+18|0]=d>>>16;g[b+19|0]=d>>>24;g[b+20|0]=c;g[b+21|0]=c>>>8;g[b+22|0]=c>>>16;g[b+23|0]=c>>>24;c=i[3387];d=i[3386];g[b+8|0]=d;g[b+9|0]=d>>>8;g[b+10|0]=d>>>16;g[b+11|0]=d>>>24;g[b+12|0]=c;g[b+13|0]=c>>>8;g[b+14|0]=c>>>16;g[b+15|0]=c>>>24;c=i[3385];d=i[3384];g[b|0]=d;g[b+1|0]=d>>>8;g[b+2|0]=d>>>16;g[b+3|0]=d>>>24;g[b+4|0]=c;g[b+5|0]=c>>>8;g[b+6|0]=c>>>16;g[b+7|0]=c>>>24;i[a>>2]=-2;Jm(a+4|0,e);if(g[e+11|0]>-1){break a}qn(i[e>>2]);break a}g[c+5|0]=j[m+i[b>>2]|0];d=i[b+20>>2];f=i[b+16>>2]+1|0;if(f>>>0<1){d=d+1|0}i[b+16>>2]=f;i[k+20>>2]=d;k=i[b+12>>2];if((k|0)<(d|0)?1:(k|0)<=(d|0)?l[b+8>>2]<=f>>>0:0){b=Gm(32);i[e>>2]=b;i[e+4>>2]=29;i[e+8>>2]=-2147483616;g[b+29|0]=0;c=j[13561]|j[13562]<<8|(j[13563]<<16|j[13564]<<24);d=j[13557]|j[13558]<<8|(j[13559]<<16|j[13560]<<24);g[b+21|0]=d;g[b+22|0]=d>>>8;g[b+23|0]=d>>>16;g[b+24|0]=d>>>24;g[b+25|0]=c;g[b+26|0]=c>>>8;g[b+27|0]=c>>>16;g[b+28|0]=c>>>24;c=i[3389];d=i[3388];g[b+16|0]=d;g[b+17|0]=d>>>8;g[b+18|0]=d>>>16;g[b+19|0]=d>>>24;g[b+20|0]=c;g[b+21|0]=c>>>8;g[b+22|0]=c>>>16;g[b+23|0]=c>>>24;c=i[3387];d=i[3386];g[b+8|0]=d;g[b+9|0]=d>>>8;g[b+10|0]=d>>>16;g[b+11|0]=d>>>24;g[b+12|0]=c;g[b+13|0]=c>>>8;g[b+14|0]=c>>>16;g[b+15|0]=c>>>24;c=i[3385];d=i[3384];g[b|0]=d;g[b+1|0]=d>>>8;g[b+2|0]=d>>>16;g[b+3|0]=d>>>24;g[b+4|0]=c;g[b+5|0]=c>>>8;g[b+6|0]=c>>>16;g[b+7|0]=c>>>24;i[a>>2]=-2;Jm(a+4|0,e);if(g[e+11|0]>-1){break a}qn(i[e>>2]);break a}g[c+6|0]=j[f+i[b>>2]|0];d=i[b+20>>2];f=i[b+16>>2]+1|0;if(f>>>0<1){d=d+1|0}i[b+16>>2]=f;i[b+20>>2]=d;k=i[b+12>>2];if((k|0)<(d|0)?1:(k|0)<=(d|0)?l[b+8>>2]<=f>>>0:0){b=Gm(32);i[e>>2]=b;i[e+4>>2]=29;i[e+8>>2]=-2147483616;g[b+29|0]=0;c=j[13561]|j[13562]<<8|(j[13563]<<16|j[13564]<<24);d=j[13557]|j[13558]<<8|(j[13559]<<16|j[13560]<<24);g[b+21|0]=d;g[b+22|0]=d>>>8;g[b+23|0]=d>>>16;g[b+24|0]=d>>>24;g[b+25|0]=c;g[b+26|0]=c>>>8;g[b+27|0]=c>>>16;g[b+28|0]=c>>>24;c=i[3389];d=i[3388];g[b+16|0]=d;g[b+17|0]=d>>>8;g[b+18|0]=d>>>16;g[b+19|0]=d>>>24;g[b+20|0]=c;g[b+21|0]=c>>>8;g[b+22|0]=c>>>16;g[b+23|0]=c>>>24;c=i[3387];d=i[3386];g[b+8|0]=d;g[b+9|0]=d>>>8;g[b+10|0]=d>>>16;g[b+11|0]=d>>>24;g[b+12|0]=c;g[b+13|0]=c>>>8;g[b+14|0]=c>>>16;g[b+15|0]=c>>>24;c=i[3385];d=i[3384];g[b|0]=d;g[b+1|0]=d>>>8;g[b+2|0]=d>>>16;g[b+3|0]=d>>>24;g[b+4|0]=c;g[b+5|0]=c>>>8;g[b+6|0]=c>>>16;g[b+7|0]=c>>>24;i[a>>2]=-2;Jm(a+4|0,e);if(g[e+11|0]>-1){break a}qn(i[e>>2]);break a}g[c+7|0]=j[f+i[b>>2]|0];d=i[b+20>>2];f=i[b+16>>2]+1|0;if(f>>>0<1){d=d+1|0}i[b+16>>2]=f;i[b+20>>2]=d;k=i[b+12>>2];if((k|0)<(d|0)?1:(k|0)<=(d|0)?l[b+8>>2]<=f>>>0:0){b=Gm(32);i[e>>2]=b;i[e+4>>2]=29;i[e+8>>2]=-2147483616;g[b+29|0]=0;c=j[13561]|j[13562]<<8|(j[13563]<<16|j[13564]<<24);d=j[13557]|j[13558]<<8|(j[13559]<<16|j[13560]<<24);g[b+21|0]=d;g[b+22|0]=d>>>8;g[b+23|0]=d>>>16;g[b+24|0]=d>>>24;g[b+25|0]=c;g[b+26|0]=c>>>8;g[b+27|0]=c>>>16;g[b+28|0]=c>>>24;c=i[3389];d=i[3388];g[b+16|0]=d;g[b+17|0]=d>>>8;g[b+18|0]=d>>>16;g[b+19|0]=d>>>24;g[b+20|0]=c;g[b+21|0]=c>>>8;g[b+22|0]=c>>>16;g[b+23|0]=c>>>24;c=i[3387];d=i[3386];g[b+8|0]=d;g[b+9|0]=d>>>8;g[b+10|0]=d>>>16;g[b+11|0]=d>>>24;g[b+12|0]=c;g[b+13|0]=c>>>8;g[b+14|0]=c>>>16;g[b+15|0]=c>>>24;c=i[3385];d=i[3384];g[b|0]=d;g[b+1|0]=d>>>8;g[b+2|0]=d>>>16;g[b+3|0]=d>>>24;g[b+4|0]=c;g[b+5|0]=c>>>8;g[b+6|0]=c>>>16;g[b+7|0]=c>>>24;i[a>>2]=-2;Jm(a+4|0,e);if(g[e+11|0]>-1){break a}qn(i[e>>2]);break a}g[c+8|0]=j[f+i[b>>2]|0];d=i[b+20>>2];f=d;n=i[b+16>>2];m=n+1|0;if(m>>>0<1){d=d+1|0}i[b+16>>2]=m;i[b+20>>2]=d;k=i[b+12>>2];d=f;f=n+3|0;if(f>>>0<3){d=d+1|0}if((k|0)<(d|0)?1:(k|0)<=(d|0)?l[b+8>>2] >>0:0){b=Gm(32);i[e>>2]=b;i[e+4>>2]=29;i[e+8>>2]=-2147483616;g[b+29|0]=0;c=j[13561]|j[13562]<<8|(j[13563]<<16|j[13564]<<24);d=j[13557]|j[13558]<<8|(j[13559]<<16|j[13560]<<24);g[b+21|0]=d;g[b+22|0]=d>>>8;g[b+23|0]=d>>>16;g[b+24|0]=d>>>24;g[b+25|0]=c;g[b+26|0]=c>>>8;g[b+27|0]=c>>>16;g[b+28|0]=c>>>24;c=i[3389];d=i[3388];g[b+16|0]=d;g[b+17|0]=d>>>8;g[b+18|0]=d>>>16;g[b+19|0]=d>>>24;g[b+20|0]=c;g[b+21|0]=c>>>8;g[b+22|0]=c>>>16;g[b+23|0]=c>>>24;c=i[3387];d=i[3386];g[b+8|0]=d;g[b+9|0]=d>>>8;g[b+10|0]=d>>>16;g[b+11|0]=d>>>24;g[b+12|0]=c;g[b+13|0]=c>>>8;g[b+14|0]=c>>>16;g[b+15|0]=c>>>24;c=i[3385];d=i[3384];g[b|0]=d;g[b+1|0]=d>>>8;g[b+2|0]=d>>>16;g[b+3|0]=d>>>24;g[b+4|0]=c;g[b+5|0]=c>>>8;g[b+6|0]=c>>>16;g[b+7|0]=c>>>24;i[a>>2]=-2;Jm(a+4|0,e);if(g[e+11|0]>-1){break a}qn(i[e>>2]);break a}f=c;c=m+i[b>>2]|0;h[f+10>>1]=j[c|0]|j[c+1|0]<<8;c=b;f=b;d=i[b+20>>2];b=i[b+16>>2]+2|0;if(b>>>0<2){d=d+1|0}i[f+16>>2]=b;i[c+20>>2]=d;i[a+8>>2]=0;i[a+12>>2]=0;i[a>>2]=0;i[a+4>>2]=0}L=e+16|0}function lg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,h=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;p=L+ -64|0;L=p;i[a+132>>2]=0;if(i[a+148>>2]){c=i[a+144>>2];if(c){while(1){b=i[c>>2];qn(c);c=b;if(b){continue}break}}i[a+144>>2]=0;b=i[a+140>>2];if(b){c=0;while(1){i[i[a+136>>2]+(c<<2)>>2]=0;c=c+1|0;if((b|0)!=(c|0)){continue}break}}i[a+148>>2]=0}a:{b:{c:{d:{e:{f:{c=i[a+4>>2];e=j[c+36|0];b=e<<8|j[c+37|0];g:{if(b>>>0>513){break g}f=i[c+32>>2];if(b>>>0<=511){m=i[f+12>>2];b=i[f+20>>2];h=i[f+16>>2];d=h+4|0;if(d>>>0<4){b=b+1|0}n=d;d=b;if((m|0)<(b|0)?1:(m|0)<=(b|0)?l[f+8>>2] >>0:0){break f}b=h+i[f>>2]|0;b=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p>>2]=b;i[f+16>>2]=n;i[f+20>>2]=d;i[a+132>>2]=b;break g}if(!Rf(1,p,f)){break f}c=i[a+4>>2];e=j[c+36|0];i[a+132>>2]=i[p>>2]}f=i[c+32>>2];h:{i:{j:{if((e&255)>>>0<=1){e=0;m=i[f+12>>2];b=i[f+20>>2];h=i[f+16>>2];d=h+4|0;if(d>>>0<4){b=b+1|0}n=d;d=b;if((m|0)<(b|0)?1:(m|0)<=(b|0)?l[f+8>>2] >>0:0){break a}b=h+i[f>>2]|0;b=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+60>>2]=b;i[f+16>>2]=n;i[f+20>>2]=d;i[a+156>>2]=b;n=a+156|0;break j}e=0;if(!Rf(1,p+60|0,f)){break a}c=i[a+4>>2];b=j[c+36|0];i[a+156>>2]=i[p+60>>2];n=a+156|0;if(b>>>0>1){break i}}d=i[c+32>>2];b=i[d+8>>2];f=i[d+12>>2];q=b;b=i[d+20>>2];m=i[d+16>>2];c=m+4|0;if(c>>>0<4){b=b+1|0}s=c;c=b;if((f|0)<(b|0)?1:(f|0)<=(b|0)?q>>>0 >>0:0){break a}b=m+i[d>>2]|0;h=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+56>>2]=h;i[d+16>>2]=s;i[d+20>>2]=c;break h}if(!Rf(1,p+56|0,i[c+32>>2])){break a}h=i[p+56>>2]}if(h>>>0>1431655765|l[n>>2]>o(h,3)>>>0){break a}r=i[a+4>>2];d=i[r+32>>2];t=i[d+8>>2];q=i[d+16>>2];f=i[d+12>>2];b=f;c=i[d+20>>2];if((b|0)<(c|0)?1:(b|0)<=(c|0)?t>>>0<=q>>>0:0){break a}u=i[d>>2];s=j[u+q|0];b=c;m=q+1|0;if(m>>>0<1){b=b+1|0}i[d+16>>2]=m;i[d+20>>2]=b;k:{if(j[r+36|0]<=1){b=c;c=q+5|0;if(c>>>0<5){b=b+1|0}q=c;c=b;if((f|0)<(b|0)?1:(f|0)<=(b|0)?t>>>0>>0:0){break a}b=m+u|0;m=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+52>>2]=m;i[d+16>>2]=q;i[d+20>>2]=c;break k}if(!Rf(1,p+52|0,d)){break a}m=i[p+52>>2]}if(h>>>0>>0|h>>>0>((m>>>0)/3|0)+m>>>0){break a}b=i[a+4>>2];d=i[b+32>>2];l:{if(j[b+36|0]<=1){f=i[d+12>>2];b=i[d+20>>2];q=i[d+16>>2];c=q+4|0;if(c>>>0<4){b=b+1|0}r=c;c=b;if((f|0)<(b|0)?1:(f|0)<=(b|0)?l[d+8>>2] >>0:0){break a}b=q+i[d>>2]|0;q=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+48>>2]=q;i[d+16>>2]=r;i[d+20>>2]=c;break l}if(!Rf(1,p+48|0,d)){break a}q=i[p+48>>2]}if(q>>>0>m>>>0){break a}i[a+28>>2]=i[a+24>>2];c=Gm(88);yk(c);b=i[a+8>>2];i[a+8>>2]=c;f=a+8|0;if(b){Sf(f,b);if(!i[f>>2]){break a}}b=i[a+160>>2];i[a+164>>2]=b;m:{if(i[a+168>>2]-b>>2>>>0>=h>>>0){break m}if(h>>>0>=1073741824){break e}e=h<<2;c=Gm(e);i[a+164>>2]=c;i[a+160>>2]=c;i[a+168>>2]=c+e;if(!b){break m}qn(b)}b=i[a+172>>2];i[a+176>>2]=b;n:{if(i[a+180>>2]-b>>2>>>0>=h>>>0){break n}if(h>>>0>=1073741824){break d}e=h<<2;c=Gm(e);i[a+176>>2]=c;i[a+172>>2]=c;i[a+180>>2]=c+e;if(!b){break n}qn(b)}i[a+92>>2]=-1;i[a+84>>2]=-1;i[a+88>>2]=-1;i[a+40>>2]=i[a+36>>2];i[a- -64>>2]=0;i[a+52>>2]=i[a+48>>2];i[a+76>>2]=i[a+72>>2];r=a+216|0;c=i[a+220>>2];e=i[a+216>>2];if((c|0)==(e|0)){break c}while(1){b=i[c+ -12>>2];if(b){i[c+ -8>>2]=b;qn(b)}b=i[c+ -28>>2];if(b){i[c+ -24>>2]=b;qn(b)}b=c+ -144|0;d=i[c+ -40>>2];if(d){i[c+ -36>>2]=d;qn(d)}Tf(c+ -140|0);c=b;if((e|0)!=(b|0)){continue}break}b=i[r>>2];break b}e=0;break a}Da(12220);x()}Da(12220);x()}b=e}i[a+220>>2]=e;c=(e-b|0)/144|0;o:{if(c>>>0 >>0){Uf(r,s-c|0);break o}if(c>>>0<=s>>>0){break o}c=b+o(s,144)|0;if((c|0)!=(e|0)){while(1){b=i[e+ -12>>2];if(b){i[e+ -8>>2]=b;qn(b)}b=i[e+ -28>>2];if(b){i[e+ -24>>2]=b;qn(b)}b=e+ -144|0;d=i[e+ -40>>2];if(d){i[e+ -36>>2]=d;qn(d)}Tf(e+ -140|0);e=b;if((b|0)!=(c|0)){continue}break}}i[a+220>>2]=c}e=0;if(!Ik(i[f>>2],h,i[n>>2]+q|0)){break a}b=i[a+156>>2];g[p|0]=1;Lf(a+120|0,b+q|0,p);c=i[a+4>>2];b=k[c+36>>1];b=(b<<24|b<<8&16711680)>>>16|0;p:{if(b>>>0<=513){d=i[c+32>>2];q:{if(b>>>0<=511){h=i[d+12>>2];b=i[d+20>>2];n=i[d+16>>2];c=n+4|0;if(c>>>0<4){b=b+1|0}t=c;c=b;if((h|0)<(b|0)?1:(h|0)<=(b|0)?l[d+8>>2]>>0:0){break a}b=n+i[d>>2]|0;h=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+44>>2]=h;i[d+16>>2]=t;i[d+20>>2]=c;break q}if(!Rf(1,p+44|0,d)){break a}h=i[p+44>>2]}if(!h){break a}b=i[i[a+4>>2]+32>>2];c=i[b+8>>2];d=i[b+16>>2];b=i[b+12>>2]-(i[b+20>>2]+(c>>>0 >>0)|0)|0;if((b|0)<0?1:(b|0)<=0?c-d>>>0 >>0:0){break a}d=Bh(p);c=i[i[a+4>>2]+32>>2];b=i[c+16>>2];n=i[c+8>>2];Dh(d,(b+i[c>>2]|0)+h|0,(n-b|0)-h|0,k[c+38>>1]);c=Vf(a,d);if((c|0)==-1){break a}b=c;d=b>>31;break p}b=-1;d=-1;if((Vf(a,i[c+32>>2])|0)==-1){break a}}i[a+376>>2]=a;n=a+232|0;c=i[(O[i[i[a>>2]+32>>2]](a)|0)+32>>2];t=i[c>>2]+i[c+16>>2]|0;h=i[(O[i[i[a>>2]+32>>2]](a)|0)+32>>2];c=i[h+8>>2];e=i[h+16>>2];Dh(n,t,c-e|0,k[i[(O[i[i[a>>2]+32>>2]](a)|0)+32>>2]+38>>1]);v=a,w=O[i[i[a>>2]+36>>2]](a)|0,i[v+380>>2]=w;i[a+372>>2]=s;i[a+384>>2]=i[a+156>>2]+q;e=0;c=Bh(p);r:{if(!mg(n,c)){break r}h=ng(a,m);if((h|0)==-1){break r}m=i[i[a+4>>2]+32>>2];e=i[c+16>>2];n=e+i[c>>2]|0;c=i[c+8>>2];Dh(m,n,c-e|0,k[m+38>>1]);c=i[a+4>>2];e=k[c+36>>1];m=(e<<24|e<<8&16711680)>>>16|0;if(m>>>0<=513){e=i[c+32>>2];n=e;q=e;c=d+i[e+20>>2]|0;e=b+i[e+16>>2]|0;if(e>>>0>>0){c=c+1|0}i[q+16>>2]=e;i[n+20>>2]=c}s:{if(i[a+220>>2]==i[a+216>>2]){break s}c=i[f>>2];b=i[c>>2];c=i[c+4>>2];t:{if(m>>>0>=513){if((b|0)==(c|0)){break s}c=0;break t}if((b|0)==(c|0)){break s}c=0;while(1){if(Yf(a,c)){c=c+3|0;b=i[f>>2];if(c>>>0>2]-i[b>>2]>>2>>>0){continue}break s}break}e=0;break r}while(1){if(Zf(a,c)){c=c+3|0;b=i[f>>2];if(c>>>0>2]-i[b>>2]>>2>>>0){continue}break s}break}e=0;break r}if(j[a+308|0]){Gh(a+272|0)}if(k[a+270>>1]<=513){Gh(a+328|0)}c=i[a+216>>2];if((c|0)!=i[a+220>>2]){n=0;while(1){e=o(n,144);Sk((e+c|0)+4|0,i[f>>2]);b=i[r>>2];c=b+e|0;d=i[c+132>>2];m=i[c+136>>2];if((d|0)!=(m|0)){Uk(c+4|0,i[d>>2]);c=d+4|0;if((m|0)!=(c|0)){while(1){Uk((e+i[r>>2]|0)+4|0,i[c>>2]);c=c+4|0;if((m|0)!=(c|0)){continue}break}}b=i[r>>2]}Tk((b+e|0)+4|0);n=n+1|0;c=i[a+216>>2];if(n>>>0<(i[a+220>>2]-c|0)/144>>>0){continue}break}}b=i[a+8>>2];_f(a+184|0,i[b+28>>2]-i[b+24>>2]>>2);e=i[a+216>>2];if((e|0)!=i[a+220>>2]){c=0;while(1){b=o(c,144)+e|0;e=i[b+60>>2]-i[b+56>>2]>>2;d=b+104|0;b=i[a+8>>2];b=i[b+28>>2]-i[b+24>>2]>>2;_f(d,(e|0)<(b|0)?b:e);c=c+1|0;e=i[a+216>>2];if(c>>>0<(i[a+220>>2]-e|0)/144>>>0){continue}break}}e=$f(a,h)}}L=p- -64|0;return e|0}function gg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,h=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;p=L+ -64|0;L=p;i[a+132>>2]=0;if(i[a+148>>2]){c=i[a+144>>2];if(c){while(1){b=i[c>>2];qn(c);c=b;if(b){continue}break}}i[a+144>>2]=0;b=i[a+140>>2];if(b){c=0;while(1){i[i[a+136>>2]+(c<<2)>>2]=0;c=c+1|0;if((b|0)!=(c|0)){continue}break}}i[a+148>>2]=0}a:{b:{c:{d:{e:{f:{c=i[a+4>>2];e=j[c+36|0];b=e<<8|j[c+37|0];g:{if(b>>>0>513){break g}f=i[c+32>>2];if(b>>>0<=511){m=i[f+12>>2];b=i[f+20>>2];h=i[f+16>>2];d=h+4|0;if(d>>>0<4){b=b+1|0}n=d;d=b;if((m|0)<(b|0)?1:(m|0)<=(b|0)?l[f+8>>2] >>0:0){break f}b=h+i[f>>2]|0;b=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p>>2]=b;i[f+16>>2]=n;i[f+20>>2]=d;i[a+132>>2]=b;break g}if(!Rf(1,p,f)){break f}c=i[a+4>>2];e=j[c+36|0];i[a+132>>2]=i[p>>2]}f=i[c+32>>2];h:{i:{j:{if((e&255)>>>0<=1){e=0;m=i[f+12>>2];b=i[f+20>>2];h=i[f+16>>2];d=h+4|0;if(d>>>0<4){b=b+1|0}n=d;d=b;if((m|0)<(b|0)?1:(m|0)<=(b|0)?l[f+8>>2] >>0:0){break a}b=h+i[f>>2]|0;b=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+60>>2]=b;i[f+16>>2]=n;i[f+20>>2]=d;i[a+156>>2]=b;n=a+156|0;break j}e=0;if(!Rf(1,p+60|0,f)){break a}c=i[a+4>>2];b=j[c+36|0];i[a+156>>2]=i[p+60>>2];n=a+156|0;if(b>>>0>1){break i}}d=i[c+32>>2];b=i[d+8>>2];f=i[d+12>>2];q=b;b=i[d+20>>2];m=i[d+16>>2];c=m+4|0;if(c>>>0<4){b=b+1|0}s=c;c=b;if((f|0)<(b|0)?1:(f|0)<=(b|0)?q>>>0 >>0:0){break a}b=m+i[d>>2]|0;h=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+56>>2]=h;i[d+16>>2]=s;i[d+20>>2]=c;break h}if(!Rf(1,p+56|0,i[c+32>>2])){break a}h=i[p+56>>2]}if(h>>>0>1431655765|l[n>>2]>o(h,3)>>>0){break a}r=i[a+4>>2];d=i[r+32>>2];t=i[d+8>>2];q=i[d+16>>2];f=i[d+12>>2];b=f;c=i[d+20>>2];if((b|0)<(c|0)?1:(b|0)<=(c|0)?t>>>0<=q>>>0:0){break a}u=i[d>>2];s=j[u+q|0];b=c;m=q+1|0;if(m>>>0<1){b=b+1|0}i[d+16>>2]=m;i[d+20>>2]=b;k:{if(j[r+36|0]<=1){b=c;c=q+5|0;if(c>>>0<5){b=b+1|0}q=c;c=b;if((f|0)<(b|0)?1:(f|0)<=(b|0)?t>>>0>>0:0){break a}b=m+u|0;m=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+52>>2]=m;i[d+16>>2]=q;i[d+20>>2]=c;break k}if(!Rf(1,p+52|0,d)){break a}m=i[p+52>>2]}if(h>>>0>>0|h>>>0>((m>>>0)/3|0)+m>>>0){break a}b=i[a+4>>2];d=i[b+32>>2];l:{if(j[b+36|0]<=1){f=i[d+12>>2];b=i[d+20>>2];q=i[d+16>>2];c=q+4|0;if(c>>>0<4){b=b+1|0}r=c;c=b;if((f|0)<(b|0)?1:(f|0)<=(b|0)?l[d+8>>2] >>0:0){break a}b=q+i[d>>2]|0;q=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+48>>2]=q;i[d+16>>2]=r;i[d+20>>2]=c;break l}if(!Rf(1,p+48|0,d)){break a}q=i[p+48>>2]}if(q>>>0>m>>>0){break a}i[a+28>>2]=i[a+24>>2];c=Gm(88);yk(c);b=i[a+8>>2];i[a+8>>2]=c;f=a+8|0;if(b){Sf(f,b);if(!i[f>>2]){break a}}b=i[a+160>>2];i[a+164>>2]=b;m:{if(i[a+168>>2]-b>>2>>>0>=h>>>0){break m}if(h>>>0>=1073741824){break e}e=h<<2;c=Gm(e);i[a+164>>2]=c;i[a+160>>2]=c;i[a+168>>2]=c+e;if(!b){break m}qn(b)}b=i[a+172>>2];i[a+176>>2]=b;n:{if(i[a+180>>2]-b>>2>>>0>=h>>>0){break n}if(h>>>0>=1073741824){break d}e=h<<2;c=Gm(e);i[a+176>>2]=c;i[a+172>>2]=c;i[a+180>>2]=c+e;if(!b){break n}qn(b)}i[a+92>>2]=-1;i[a+84>>2]=-1;i[a+88>>2]=-1;i[a+40>>2]=i[a+36>>2];i[a- -64>>2]=0;i[a+52>>2]=i[a+48>>2];i[a+76>>2]=i[a+72>>2];r=a+216|0;c=i[a+220>>2];e=i[a+216>>2];if((c|0)==(e|0)){break c}while(1){b=i[c+ -12>>2];if(b){i[c+ -8>>2]=b;qn(b)}b=i[c+ -28>>2];if(b){i[c+ -24>>2]=b;qn(b)}b=c+ -144|0;d=i[c+ -40>>2];if(d){i[c+ -36>>2]=d;qn(d)}Tf(c+ -140|0);c=b;if((e|0)!=(b|0)){continue}break}b=i[r>>2];break b}e=0;break a}Da(12220);x()}Da(12220);x()}b=e}i[a+220>>2]=e;c=(e-b|0)/144|0;o:{if(c>>>0 >>0){Uf(r,s-c|0);break o}if(c>>>0<=s>>>0){break o}c=b+o(s,144)|0;if((c|0)!=(e|0)){while(1){b=i[e+ -12>>2];if(b){i[e+ -8>>2]=b;qn(b)}b=i[e+ -28>>2];if(b){i[e+ -24>>2]=b;qn(b)}b=e+ -144|0;d=i[e+ -40>>2];if(d){i[e+ -36>>2]=d;qn(d)}Tf(e+ -140|0);e=b;if((b|0)!=(c|0)){continue}break}}i[a+220>>2]=c}e=0;if(!Ik(i[f>>2],h,i[n>>2]+q|0)){break a}b=i[a+156>>2];g[p|0]=1;Lf(a+120|0,b+q|0,p);c=i[a+4>>2];b=k[c+36>>1];b=(b<<24|b<<8&16711680)>>>16|0;p:{if(b>>>0<=513){d=i[c+32>>2];q:{if(b>>>0<=511){h=i[d+12>>2];b=i[d+20>>2];n=i[d+16>>2];c=n+4|0;if(c>>>0<4){b=b+1|0}t=c;c=b;if((h|0)<(b|0)?1:(h|0)<=(b|0)?l[d+8>>2]>>0:0){break a}b=n+i[d>>2]|0;h=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+44>>2]=h;i[d+16>>2]=t;i[d+20>>2]=c;break q}if(!Rf(1,p+44|0,d)){break a}h=i[p+44>>2]}if(!h){break a}b=i[i[a+4>>2]+32>>2];c=i[b+8>>2];d=i[b+16>>2];b=i[b+12>>2]-(i[b+20>>2]+(c>>>0 >>0)|0)|0;if((b|0)<0?1:(b|0)<=0?c-d>>>0 >>0:0){break a}d=Bh(p);c=i[i[a+4>>2]+32>>2];b=i[c+16>>2];n=i[c+8>>2];Dh(d,(b+i[c>>2]|0)+h|0,(n-b|0)-h|0,k[c+38>>1]);c=Vf(a,d);if((c|0)==-1){break a}b=c;d=b>>31;break p}b=-1;d=-1;if((Vf(a,i[c+32>>2])|0)==-1){break a}}i[a+376>>2]=a;n=a+232|0;c=i[(O[i[i[a>>2]+32>>2]](a)|0)+32>>2];t=i[c>>2]+i[c+16>>2]|0;h=i[(O[i[i[a>>2]+32>>2]](a)|0)+32>>2];c=i[h+8>>2];e=i[h+16>>2];Dh(n,t,c-e|0,k[i[(O[i[i[a>>2]+32>>2]](a)|0)+32>>2]+38>>1]);v=a,w=O[i[i[a>>2]+36>>2]](a)|0,i[v+380>>2]=w;i[a+372>>2]=s;i[a+384>>2]=i[a+156>>2]+q;e=0;c=Bh(p);r:{if(!hg(n,c)){break r}h=ig(a,m);if((h|0)==-1){break r}m=i[i[a+4>>2]+32>>2];e=i[c+16>>2];n=e+i[c>>2]|0;c=i[c+8>>2];Dh(m,n,c-e|0,k[m+38>>1]);c=i[a+4>>2];e=k[c+36>>1];m=(e<<24|e<<8&16711680)>>>16|0;if(m>>>0<=513){e=i[c+32>>2];n=e;q=e;c=d+i[e+20>>2]|0;e=b+i[e+16>>2]|0;if(e>>>0>>0){c=c+1|0}i[q+16>>2]=e;i[n+20>>2]=c}s:{if(i[a+220>>2]==i[a+216>>2]){break s}c=i[f>>2];b=i[c>>2];c=i[c+4>>2];t:{if(m>>>0>=513){if((b|0)==(c|0)){break s}c=0;break t}if((b|0)==(c|0)){break s}c=0;while(1){if(Yf(a,c)){c=c+3|0;b=i[f>>2];if(c>>>0>2]-i[b>>2]>>2>>>0){continue}break s}break}e=0;break r}while(1){if(Zf(a,c)){c=c+3|0;b=i[f>>2];if(c>>>0>2]-i[b>>2]>>2>>>0){continue}break s}break}e=0;break r}if(j[a+308|0]){Gh(a+272|0)}if(k[a+270>>1]<=513){Gh(a+328|0)}c=i[a+216>>2];if((c|0)!=i[a+220>>2]){n=0;while(1){e=o(n,144);Sk((e+c|0)+4|0,i[f>>2]);b=i[r>>2];c=b+e|0;d=i[c+132>>2];m=i[c+136>>2];if((d|0)!=(m|0)){Uk(c+4|0,i[d>>2]);c=d+4|0;if((m|0)!=(c|0)){while(1){Uk((e+i[r>>2]|0)+4|0,i[c>>2]);c=c+4|0;if((m|0)!=(c|0)){continue}break}}b=i[r>>2]}Tk((b+e|0)+4|0);n=n+1|0;c=i[a+216>>2];if(n>>>0<(i[a+220>>2]-c|0)/144>>>0){continue}break}}b=i[a+8>>2];_f(a+184|0,i[b+28>>2]-i[b+24>>2]>>2);e=i[a+216>>2];if((e|0)!=i[a+220>>2]){c=0;while(1){b=o(c,144)+e|0;e=i[b+60>>2]-i[b+56>>2]>>2;d=b+104|0;b=i[a+8>>2];b=i[b+28>>2]-i[b+24>>2]>>2;_f(d,(e|0)<(b|0)?b:e);c=c+1|0;e=i[a+216>>2];if(c>>>0<(i[a+220>>2]-e|0)/144>>>0){continue}break}}e=$f(a,h)}}L=p- -64|0;return e|0}function Qf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,h=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0;p=L+ -64|0;L=p;i[a+132>>2]=0;if(i[a+148>>2]){c=i[a+144>>2];if(c){while(1){b=i[c>>2];qn(c);c=b;if(b){continue}break}}i[a+144>>2]=0;b=i[a+140>>2];if(b){c=0;while(1){i[i[a+136>>2]+(c<<2)>>2]=0;c=c+1|0;if((b|0)!=(c|0)){continue}break}}i[a+148>>2]=0}a:{b:{c:{d:{e:{f:{c=i[a+4>>2];e=j[c+36|0];b=e<<8|j[c+37|0];g:{if(b>>>0>513){break g}f=i[c+32>>2];if(b>>>0<=511){m=i[f+12>>2];b=i[f+20>>2];h=i[f+16>>2];d=h+4|0;if(d>>>0<4){b=b+1|0}n=d;d=b;if((m|0)<(b|0)?1:(m|0)<=(b|0)?l[f+8>>2] >>0:0){break f}b=h+i[f>>2]|0;b=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p>>2]=b;i[f+16>>2]=n;i[f+20>>2]=d;i[a+132>>2]=b;break g}if(!Rf(1,p,f)){break f}c=i[a+4>>2];e=j[c+36|0];i[a+132>>2]=i[p>>2]}f=i[c+32>>2];h:{i:{j:{if((e&255)>>>0<=1){e=0;m=i[f+12>>2];b=i[f+20>>2];h=i[f+16>>2];d=h+4|0;if(d>>>0<4){b=b+1|0}n=d;d=b;if((m|0)<(b|0)?1:(m|0)<=(b|0)?l[f+8>>2] >>0:0){break a}b=h+i[f>>2]|0;b=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+60>>2]=b;i[f+16>>2]=n;i[f+20>>2]=d;i[a+156>>2]=b;n=a+156|0;break j}e=0;if(!Rf(1,p+60|0,f)){break a}c=i[a+4>>2];b=j[c+36|0];i[a+156>>2]=i[p+60>>2];n=a+156|0;if(b>>>0>1){break i}}d=i[c+32>>2];b=i[d+8>>2];f=i[d+12>>2];q=b;b=i[d+20>>2];m=i[d+16>>2];c=m+4|0;if(c>>>0<4){b=b+1|0}s=c;c=b;if((f|0)<(b|0)?1:(f|0)<=(b|0)?q>>>0 >>0:0){break a}b=m+i[d>>2]|0;h=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+56>>2]=h;i[d+16>>2]=s;i[d+20>>2]=c;break h}if(!Rf(1,p+56|0,i[c+32>>2])){break a}h=i[p+56>>2]}if(h>>>0>1431655765|l[n>>2]>o(h,3)>>>0){break a}r=i[a+4>>2];d=i[r+32>>2];t=i[d+8>>2];q=i[d+16>>2];f=i[d+12>>2];b=f;c=i[d+20>>2];if((b|0)<(c|0)?1:(b|0)<=(c|0)?t>>>0<=q>>>0:0){break a}u=i[d>>2];s=j[u+q|0];b=c;m=q+1|0;if(m>>>0<1){b=b+1|0}i[d+16>>2]=m;i[d+20>>2]=b;k:{if(j[r+36|0]<=1){b=c;c=q+5|0;if(c>>>0<5){b=b+1|0}q=c;c=b;if((f|0)<(b|0)?1:(f|0)<=(b|0)?t>>>0>>0:0){break a}b=m+u|0;m=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+52>>2]=m;i[d+16>>2]=q;i[d+20>>2]=c;break k}if(!Rf(1,p+52|0,d)){break a}m=i[p+52>>2]}if(h>>>0>>0|h>>>0>((m>>>0)/3|0)+m>>>0){break a}b=i[a+4>>2];d=i[b+32>>2];l:{if(j[b+36|0]<=1){f=i[d+12>>2];b=i[d+20>>2];q=i[d+16>>2];c=q+4|0;if(c>>>0<4){b=b+1|0}t=c;c=b;if((f|0)<(b|0)?1:(f|0)<=(b|0)?l[d+8>>2] >>0:0){break a}b=q+i[d>>2]|0;r=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+48>>2]=r;i[d+16>>2]=t;i[d+20>>2]=c;break l}if(!Rf(1,p+48|0,d)){break a}r=i[p+48>>2]}if(r>>>0>m>>>0){break a}i[a+28>>2]=i[a+24>>2];c=Gm(88);yk(c);b=i[a+8>>2];i[a+8>>2]=c;f=a+8|0;if(b){Sf(f,b);if(!i[f>>2]){break a}}b=i[a+160>>2];i[a+164>>2]=b;m:{if(i[a+168>>2]-b>>2>>>0>=h>>>0){break m}if(h>>>0>=1073741824){break e}e=h<<2;c=Gm(e);i[a+164>>2]=c;i[a+160>>2]=c;i[a+168>>2]=c+e;if(!b){break m}qn(b)}b=i[a+172>>2];i[a+176>>2]=b;n:{if(i[a+180>>2]-b>>2>>>0>=h>>>0){break n}if(h>>>0>=1073741824){break d}e=h<<2;c=Gm(e);i[a+176>>2]=c;i[a+172>>2]=c;i[a+180>>2]=c+e;if(!b){break n}qn(b)}i[a+92>>2]=-1;i[a+84>>2]=-1;i[a+88>>2]=-1;i[a+40>>2]=i[a+36>>2];i[a- -64>>2]=0;i[a+52>>2]=i[a+48>>2];i[a+76>>2]=i[a+72>>2];q=a+216|0;c=i[a+220>>2];e=i[a+216>>2];if((c|0)==(e|0)){break c}while(1){b=i[c+ -12>>2];if(b){i[c+ -8>>2]=b;qn(b)}b=i[c+ -28>>2];if(b){i[c+ -24>>2]=b;qn(b)}b=c+ -144|0;d=i[c+ -40>>2];if(d){i[c+ -36>>2]=d;qn(d)}Tf(c+ -140|0);c=b;if((e|0)!=(b|0)){continue}break}b=i[q>>2];break b}e=0;break a}Da(12220);x()}Da(12220);x()}b=e}i[a+220>>2]=e;c=(e-b|0)/144|0;o:{if(c>>>0 >>0){Uf(q,s-c|0);break o}if(c>>>0<=s>>>0){break o}c=b+o(s,144)|0;if((c|0)!=(e|0)){while(1){b=i[e+ -12>>2];if(b){i[e+ -8>>2]=b;qn(b)}b=i[e+ -28>>2];if(b){i[e+ -24>>2]=b;qn(b)}b=e+ -144|0;d=i[e+ -40>>2];if(d){i[e+ -36>>2]=d;qn(d)}Tf(e+ -140|0);e=b;if((b|0)!=(c|0)){continue}break}}i[a+220>>2]=c}e=0;if(!Ik(i[f>>2],h,i[n>>2]+r|0)){break a}b=i[a+156>>2];g[p|0]=1;Lf(a+120|0,b+r|0,p);c=i[a+4>>2];b=k[c+36>>1];b=(b<<24|b<<8&16711680)>>>16|0;p:{if(b>>>0<=513){d=i[c+32>>2];q:{if(b>>>0<=511){h=i[d+12>>2];b=i[d+20>>2];n=i[d+16>>2];c=n+4|0;if(c>>>0<4){b=b+1|0}r=c;c=b;if((h|0)<(b|0)?1:(h|0)<=(b|0)?l[d+8>>2]>>0:0){break a}b=n+i[d>>2]|0;h=j[b|0]|j[b+1|0]<<8|(j[b+2|0]<<16|j[b+3|0]<<24);i[p+44>>2]=h;i[d+16>>2]=r;i[d+20>>2]=c;break q}if(!Rf(1,p+44|0,d)){break a}h=i[p+44>>2]}if(!h){break a}b=i[i[a+4>>2]+32>>2];c=i[b+8>>2];d=i[b+16>>2];b=i[b+12>>2]-(i[b+20>>2]+(c>>>0 >>0)|0)|0;if((b|0)<0?1:(b|0)<=0?c-d>>>0 >>0:0){break a}d=Bh(p);c=i[i[a+4>>2]+32>>2];b=i[c+16>>2];n=i[c+8>>2];Dh(d,(b+i[c>>2]|0)+h|0,(n-b|0)-h|0,k[c+38>>1]);c=Vf(a,d);if((c|0)==-1){break a}b=c;d=b>>31;break p}b=-1;d=-1;if((Vf(a,i[c+32>>2])|0)==-1){break a}}i[a+376>>2]=a;n=a+232|0;c=i[(O[i[i[a>>2]+32>>2]](a)|0)+32>>2];r=i[c>>2]+i[c+16>>2]|0;h=i[(O[i[i[a>>2]+32>>2]](a)|0)+32>>2];c=i[h+8>>2];e=i[h+16>>2];Dh(n,r,c-e|0,k[i[(O[i[i[a>>2]+32>>2]](a)|0)+32>>2]+38>>1]);i[a+372>>2]=s;e=0;c=Bh(p);r:{if(!Wf(n,c)){break r}h=Xf(a,m);if((h|0)==-1){break r}m=i[i[a+4>>2]+32>>2];e=i[c+16>>2];n=e+i[c>>2]|0;c=i[c+8>>2];Dh(m,n,c-e|0,k[m+38>>1]);c=i[a+4>>2];e=k[c+36>>1];m=(e<<24|e<<8&16711680)>>>16|0;if(m>>>0<=513){e=i[c+32>>2];n=e;r=e;c=d+i[e+20>>2]|0;e=b+i[e+16>>2]|0;if(e>>>0>>0){c=c+1|0}i[r+16>>2]=e;i[n+20>>2]=c}s:{if(i[a+220>>2]==i[a+216>>2]){break s}c=i[f>>2];b=i[c>>2];c=i[c+4>>2];t:{if(m>>>0>=513){if((b|0)==(c|0)){break s}c=0;break t}if((b|0)==(c|0)){break s}c=0;while(1){if(Yf(a,c)){c=c+3|0;b=i[f>>2];if(c>>>0>2]-i[b>>2]>>2>>>0){continue}break s}break}e=0;break r}while(1){if(Zf(a,c)){c=c+3|0;b=i[f>>2];if(c>>>0>2]-i[b>>2]>>2>>>0){continue}break s}break}e=0;break r}if(j[a+308|0]){Gh(a+272|0)}if(k[a+270>>1]<=513){Gh(a+328|0)}c=i[a+216>>2];if((c|0)!=i[a+220>>2]){n=0;while(1){e=o(n,144);Sk((e+c|0)+4|0,i[f>>2]);b=i[q>>2];c=b+e|0;d=i[c+132>>2];m=i[c+136>>2];if((d|0)!=(m|0)){Uk(c+4|0,i[d>>2]);c=d+4|0;if((m|0)!=(c|0)){while(1){Uk((e+i[q>>2]|0)+4|0,i[c>>2]);c=c+4|0;if((m|0)!=(c|0)){continue}break}}b=i[q>>2]}Tk((b+e|0)+4|0);n=n+1|0;c=i[a+216>>2];if(n>>>0<(i[a+220>>2]-c|0)/144>>>0){continue}break}}b=i[a+8>>2];_f(a+184|0,i[b+28>>2]-i[b+24>>2]>>2);e=i[a+216>>2];if((e|0)!=i[a+220>>2]){c=0;while(1){b=o(c,144)+e|0;e=i[b+60>>2]-i[b+56>>2]>>2;d=b+104|0;b=i[a+8>>2];b=i[b+28>>2]-i[b+24>>2]>>2;_f(d,(e|0)<(b|0)?b:e);c=c+1|0;e=i[a+216>>2];if(c>>>0<(i[a+220>>2]-e|0)/144>>>0){continue}break}}e=$f(a,h)}}L=p- -64|0;return e|0}function ub(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0,A=0;g=L-32|0;L=g;f=i[a+12>>2];i[g+16>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;a:{if(f){if(f>>>0>=1073741824){break a}e=f<<2;h=Gm(e);i[g+8>>2]=h;d=e+h|0;i[g+16>>2]=d;tn(h,0,e);i[g+12>>2]=d}k=i[a+120>>2];e=i[k>>2];if(e){i[k+4>>2]=e;qn(e);i[k+8>>2]=0;i[k>>2]=0;i[k+4>>2]=0;f=i[a+12>>2];h=i[g+8>>2];d=i[g+12>>2]}i[k+4>>2]=d;i[k>>2]=h;i[k+8>>2]=i[g+16>>2];h=0;i[g+16>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;b:{if(f){if(f>>>0>=1073741824){break b}e=f<<2;m=Gm(e);i[g+8>>2]=m;h=e+m|0;i[g+16>>2]=h;tn(m,0,e);i[g+12>>2]=h}d=i[a+132>>2];e=i[d>>2];if(e){i[d+4>>2]=e;qn(e);i[d+8>>2]=0;i[d>>2]=0;i[d+4>>2]=0;m=i[g+8>>2];h=i[g+12>>2]}i[d+4>>2]=h;i[d>>2]=m;i[d+8>>2]=i[g+16>>2];h=g+24|0;i[h>>2]=0;i[h+4>>2]=0;d=g+16|0;i[d>>2]=0;i[d+4>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;Pb(g+8|0);k=i[g+12>>2];e=0;c:{if((k|0)==i[d>>2]){break c}d=i[h>>2]+i[g+28>>2]|0;e=(d>>>0)/341|0;e=i[k+(e<<2)>>2]+o(d-o(e,341)|0,12)|0}i[e+4>>2]=0;i[e+8>>2]=0;i[e>>2]=b;k=1;e=i[g+28>>2];f=e+1|0;i[g+28>>2]=f;d:{if(f>>>0 >>0){break d}while(1){e=i[g+12>>2];k=f+ -1|0;n=k+i[g+24>>2]|0;d=(n>>>0)/341|0;d=i[e+(d<<2)>>2]+o(n-o(d,341)|0,12)|0;u=i[d+8>>2];h=i[d+4>>2];t=i[d>>2];i[g+28>>2]=k;d=i[g+16>>2];e=d-e|0;if((e?o(e>>2,341)+ -1|0:0)-n>>>0>=682){qn(i[d+ -4>>2]);i[g+16>>2]=i[g+16>>2]+ -4}k=0;if(t>>>0>b>>>0){break d}e=i[a+120>>2];v=o(u,12);A=v+i[a+132>>2]|0;m=xl(a,A,h);if(m>>>0>=l[a+12>>2]){break d}z=e+v|0;e:{f:{w=m<<2;e=i[a>>2]-i[w+i[A>>2]>>2]|0;if(!e){if(!t){break f}q=0;while(1){e=0;f=i[c+16>>2];g:{if((f|0)==i[c+20>>2]){break g}while(1){k=o(e,20)+f|0;d=i[z>>2]+(i[k+4>>2]<<2)|0;s=i[k>>2];m=i[k+12>>2];h:{if(m>>>0>3){break h}h=i[c+12>>2];p=k+16|0;if(!i[p>>2]){d=h;break h}n=k+12|0;f=0;while(1){k=sn(h,(f<<2)+d|0,m);m=i[n>>2];h=k+m|0;f=f+1|0;if(f>>>0 >2]){continue}break}d=i[c+12>>2]}f=i[c+28>>2];f=j[s+84|0]?f:i[i[s+68>>2]+(f<<2)>>2];if(f>>>0>=l[s+80>>2]){break g}k=i[s+40>>2];sn(i[i[s>>2]>>2]+o(k,f)|0,d,k);e=e+1|0;f=i[c+16>>2];if(e>>>0<(i[c+20>>2]-f|0)/20>>>0){continue}break}}i[c+28>>2]=i[c+28>>2]+1;i[a+8>>2]=i[a+8>>2]+1;q=q+1|0;if((t|0)!=(q|0)){continue}break}break f}i:{j:{k:{l:{if(t>>>0<=2){e=i[a+108>>2];i[e>>2]=m;h=1;f=i[a+12>>2];if(f>>>0>1){break l}break i}if(l[a+8>>2]>l[a+4>>2]){break d}k=1< >2];q=u+1|0;s=o(q,12);d=e+s|0;if((d|0)!=(z|0)){wa(d,i[z>>2],i[z+4>>2]);e=i[a+120>>2]}e=w+i[e+s>>2]|0;i[e>>2]=k+i[e>>2];p=r(t)^31;n=i[a+32>>2];k=32-n|0;m:{if((p|0)<=(k|0)){h=i[a+28>>2];if((h|0)==i[a+20>>2]){k=0;break m}d=i[h>>2];e=n+p|0;i[a+32>>2]=e;k=d< >>32-p|0;if((e|0)!=32){break m}i[a+32>>2]=0;i[a+28>>2]=h+4;break m}h=i[a+28>>2];e=h+4|0;if((e|0)==i[a+20>>2]){k=0;break m}d=i[h>>2];i[a+28>>2]=e;e=p-k|0;i[a+32>>2]=e;k=i[h+4>>2]>>>32-e|d< >>32-p}d=(t>>>1|0)-k|0;k=t-d|0;n:{if((k|0)==(d|0)){e=d;break n}p=i[a+88>>2];if((p|0)==i[a+80>>2]){break k}n=i[p>>2];h=i[a+92>>2];e=h+1|0;i[a+92>>2]=e;h=n&-2147483648>>>h;o:{if((e|0)==32){i[a+92>>2]=0;i[a+88>>2]=p+4;if(h){break o}break k}if(!h){break k}}e=k}k=d;break j}while(1){m=(f+ -1|0)==(m|0)?0:m+1|0;i[e+(h<<2)>>2]=m;h=h+1|0;f=i[a+12>>2];if(h>>>0 >>0){continue}break}break i}e=d}p=i[a+132>>2];n=p+v|0;h=i[n>>2];d=h+w|0;i[d>>2]=i[d>>2]+1;wa(p+s|0,h,i[n+4>>2]);if(k){d=i[g+28>>2]+i[g+24>>2]|0;n=i[g+16>>2];f=i[g+12>>2];h=n-f|0;if((d|0)==((h?o(h>>2,341)+ -1|0:0)|0)){Pb(g+8|0);f=i[g+12>>2];n=i[g+16>>2];d=i[g+24>>2]+i[g+28>>2]|0}if((f|0)==(n|0)){d=0}else{h=(d>>>0)/341|0;d=i[(h<<2)+f>>2]+o(d-o(h,341)|0,12)|0}i[d+8>>2]=u;i[d+4>>2]=m;i[d>>2]=k;i[g+28>>2]=i[g+28>>2]+1}if(!e){break f}h=i[g+28>>2]+i[g+24>>2]|0;d=i[g+16>>2];f=i[g+12>>2];k=d-f|0;if((h|0)==((k?o(k>>2,341)+ -1|0:0)|0)){Pb(g+8|0);f=i[g+12>>2];h=i[g+24>>2]+i[g+28>>2]|0;d=i[g+16>>2]}if((d|0)==(f|0)){d=0}else{d=(h>>>0)/341|0;d=i[(d<<2)+f>>2]+o(h-o(d,341)|0,12)|0}i[d+8>>2]=q;i[d+4>>2]=m;i[d>>2]=e;f=i[g+28>>2]+1|0;i[g+28>>2]=f;break e}if(!t){break f}v=0;while(1){if(f){p=i[z>>2];n=i[A>>2];u=i[a+96>>2];h=i[a+108>>2];f=0;while(1){w=h+(f<<2)|0;i[u+(i[w>>2]<<2)>>2]=0;e=i[w>>2]<<2;y=i[a>>2]-i[e+n>>2]|0;p:{if(!y){break p}m=e+u|0;s=i[a+52>>2];k=32-s|0;if((y|0)<=(k|0)){d=i[a+48>>2];if((d|0)==i[a+40>>2]){i[m>>2]=0;break p}i[m>>2]=i[d>>2]< >>32-y;e=y+i[a+52>>2]|0;i[a+52>>2]=e;if((e|0)!=32){break p}i[a+52>>2]=0;i[a+48>>2]=d+4;break p}q=i[a+48>>2];e=q+4|0;if((e|0)==i[a+40>>2]){i[m>>2]=0;break p}d=i[q>>2];i[a+48>>2]=e;e=y-k|0;i[a+52>>2]=e;i[m>>2]=i[q+4>>2]>>>32-e|d<>>32-y}d=i[w>>2]<<2;e=d+u|0;i[e>>2]=i[e>>2]|i[d+p>>2];f=f+1|0;if(f>>>0>2]){continue}break}}e=0;f=i[c+16>>2];q:{if((f|0)==i[c+20>>2]){break q}while(1){k=o(e,20)+f|0;d=i[a+96>>2]+(i[k+4>>2]<<2)|0;q=i[k>>2];m=i[k+12>>2];r:{if(m>>>0>3){break r}h=i[c+12>>2];p=k+16|0;if(!i[p>>2]){d=h;break r}n=k+12|0;f=0;while(1){k=sn(h,(f<<2)+d|0,m);m=i[n>>2];h=k+m|0;f=f+1|0;if(f>>>0 >2]){continue}break}d=i[c+12>>2]}f=i[c+28>>2];f=j[q+84|0]?f:i[i[q+68>>2]+(f<<2)>>2];if(f>>>0>=l[q+80>>2]){break q}k=i[q+40>>2];sn(i[i[q>>2]>>2]+o(k,f)|0,d,k);e=e+1|0;f=i[c+16>>2];if(e>>>0<(i[c+20>>2]-f|0)/20>>>0){continue}break}}i[c+28>>2]=i[c+28>>2]+1;i[a+8>>2]=i[a+8>>2]+1;v=v+1|0;if((v|0)==(t|0)){break f}f=i[a+12>>2];continue}}f=i[g+28>>2]}if(f){continue}break}k=1}b=i[g+24>>2];a=(b>>>0)/341|0;f=i[g+12>>2];h=i[g+16>>2];s:{if((f|0)==(h|0)){break s}d=(a<<2)+f|0;m=i[d>>2]+o(b-o(a,341)|0,12)|0;b=b+i[g+28>>2]|0;a=(b>>>0)/341|0;a=i[(a<<2)+f>>2]+o(b-o(a,341)|0,12)|0;if((m|0)==(a|0)){break s}while(1){m=m+12|0;if((m-i[d>>2]|0)==4092){m=i[d+4>>2];d=d+4|0}if((a|0)!=(m|0)){continue}break}}i[g+28>>2]=0;m=h-f>>2;if(m>>>0>2){while(1){qn(i[f>>2]);f=i[g+12>>2]+4|0;i[g+12>>2]=f;h=i[g+16>>2];m=h-f>>2;if(m>>>0>2){continue}break}}d=170;t:{switch(m+ -1|0){case 1:d=341;case 0:i[g+24>>2]=d;break;default:break t}}u:{if((f|0)==(h|0)){break u}while(1){qn(i[f>>2]);f=f+4|0;if((h|0)!=(f|0)){continue}break}b=i[g+16>>2];a=i[g+12>>2];if((b|0)==(a|0)){break u}i[g+16>>2]=b+(((b-a|0)+ -4>>>2^-1)<<2)}a=i[g+8>>2];if(a){qn(a)}L=g+32|0;return k}Vm();x()}Vm();x()}function wb(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0,A=0;g=L-32|0;L=g;f=i[a+12>>2];i[g+16>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;a:{if(f){if(f>>>0>=1073741824){break a}d=f<<2;h=Gm(d);i[g+8>>2]=h;e=d+h|0;i[g+16>>2]=e;tn(h,0,d);i[g+12>>2]=e}k=i[a+120>>2];d=i[k>>2];if(d){i[k+4>>2]=d;qn(d);i[k+8>>2]=0;i[k>>2]=0;i[k+4>>2]=0;f=i[a+12>>2];h=i[g+8>>2];e=i[g+12>>2]}i[k+4>>2]=e;i[k>>2]=h;i[k+8>>2]=i[g+16>>2];h=0;i[g+16>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;b:{if(f){if(f>>>0>=1073741824){break b}d=f<<2;m=Gm(d);i[g+8>>2]=m;h=d+m|0;i[g+16>>2]=h;tn(m,0,d);i[g+12>>2]=h}e=i[a+132>>2];d=i[e>>2];if(d){i[e+4>>2]=d;qn(d);i[e+8>>2]=0;i[e>>2]=0;i[e+4>>2]=0;m=i[g+8>>2];h=i[g+12>>2]}i[e+4>>2]=h;i[e>>2]=m;i[e+8>>2]=i[g+16>>2];h=g+24|0;i[h>>2]=0;i[h+4>>2]=0;e=g+16|0;i[e>>2]=0;i[e+4>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;Pb(g+8|0);k=i[g+12>>2];d=0;c:{if((k|0)==i[e>>2]){break c}e=i[h>>2]+i[g+28>>2]|0;d=(e>>>0)/341|0;d=i[k+(d<<2)>>2]+o(e-o(d,341)|0,12)|0}i[d+4>>2]=0;i[d+8>>2]=0;i[d>>2]=b;k=1;d=i[g+28>>2];f=d+1|0;i[g+28>>2]=f;d:{if(f>>>0 >>0){break d}while(1){d=i[g+12>>2];k=f+ -1|0;n=k+i[g+24>>2]|0;e=(n>>>0)/341|0;e=i[d+(e<<2)>>2]+o(n-o(e,341)|0,12)|0;v=i[e+8>>2];h=i[e+4>>2];t=i[e>>2];i[g+28>>2]=k;e=i[g+16>>2];d=e-d|0;if((d?o(d>>2,341)+ -1|0:0)-n>>>0>=682){qn(i[e+ -4>>2]);i[g+16>>2]=i[g+16>>2]+ -4}if(t>>>0>b>>>0){k=0;break d}k=0;d=i[a+12>>2];m=(h|0)==(d+ -1|0)?0:h+1|0;if(m>>>0>=d>>>0){break d}d=i[a+120>>2];u=o(v,12);y=d+u|0;e:{f:{q=m<<2;s=u+i[a+132>>2]|0;e=i[a>>2]-i[q+i[s>>2]>>2]|0;if(!e){if(!t){break f}p=0;while(1){q=0;f=i[c+16>>2];g:{if((f|0)==i[c+20>>2]){break g}while(1){d=o(q,20)+f|0;e=i[y>>2]+(i[d+4>>2]<<2)|0;s=i[d>>2];m=i[d+12>>2];h:{if(m>>>0>3){break h}h=i[c+12>>2];n=d+16|0;if(!i[n>>2]){e=h;break h}k=d+12|0;f=0;while(1){d=sn(h,(f<<2)+e|0,m);m=i[k>>2];h=d+m|0;f=f+1|0;if(f>>>0 >2]){continue}break}e=i[c+12>>2]}f=i[c+28>>2];f=j[s+84|0]?f:i[i[s+68>>2]+(f<<2)>>2];if(f>>>0>=l[s+80>>2]){break g}d=i[s+40>>2];sn(i[i[s>>2]>>2]+o(d,f)|0,e,d);q=q+1|0;f=i[c+16>>2];if(q>>>0<(i[c+20>>2]-f|0)/20>>>0){continue}break}}i[c+28>>2]=i[c+28>>2]+1;i[a+8>>2]=i[a+8>>2]+1;p=p+1|0;if((t|0)!=(p|0)){continue}break}break f}i:{j:{k:{l:{if(t>>>0<=2){d=i[a+108>>2];i[d>>2]=m;h=1;f=i[a+12>>2];if(f>>>0>1){break l}break i}if(l[a+8>>2]>l[a+4>>2]){break d}h=d;d=u+12|0;wa(h+d|0,i[y>>2],i[y+4>>2]);d=q+i[d+i[a+120>>2]>>2]|0;i[d>>2]=i[d>>2]+(1< >2];k=32-n|0;m:{if((p|0)<=(k|0)){h=i[a+28>>2];if((h|0)==i[a+20>>2]){k=0;break m}e=i[h>>2];d=p+n|0;i[a+32>>2]=d;k=e< >>32-p|0;if((d|0)!=32){break m}i[a+32>>2]=0;i[a+28>>2]=h+4;break m}h=i[a+28>>2];d=h+4|0;if((d|0)==i[a+20>>2]){k=0;break m}e=i[h>>2];i[a+28>>2]=d;d=p-k|0;i[a+32>>2]=d;k=i[h+4>>2]>>>32-d|e< >>32-p}s=v+1|0;e=(t>>>1|0)-k|0;k=t-e|0;n:{if((k|0)==(e|0)){d=e;break n}p=i[a+88>>2];if((p|0)==i[a+80>>2]){break k}n=i[p>>2];h=i[a+92>>2];d=h+1|0;i[a+92>>2]=d;h=n&-2147483648>>>h;o:{if((d|0)==32){i[a+92>>2]=0;i[a+88>>2]=p+4;if(h){break o}break k}if(!h){break k}}d=k}k=e;break j}while(1){m=(f+ -1|0)==(m|0)?0:m+1|0;i[d+(h<<2)>>2]=m;h=h+1|0;f=i[a+12>>2];if(h>>>0 >>0){continue}break}break i}d=e}p=i[a+132>>2];n=p+u|0;h=i[n>>2];e=h+q|0;i[e>>2]=i[e>>2]+1;wa(p+o(s,12)|0,h,i[n+4>>2]);if(k){h=i[g+28>>2]+i[g+24>>2]|0;n=i[g+16>>2];f=i[g+12>>2];e=n-f|0;if((h|0)==((e?o(e>>2,341)+ -1|0:0)|0)){Pb(g+8|0);f=i[g+12>>2];n=i[g+16>>2];h=i[g+24>>2]+i[g+28>>2]|0}if((f|0)==(n|0)){e=0}else{e=(h>>>0)/341|0;e=i[(e<<2)+f>>2]+o(h-o(e,341)|0,12)|0}i[e+8>>2]=v;i[e+4>>2]=m;i[e>>2]=k;i[g+28>>2]=i[g+28>>2]+1}if(!d){break f}h=i[g+28>>2]+i[g+24>>2]|0;e=i[g+16>>2];f=i[g+12>>2];k=e-f|0;if((h|0)==((k?o(k>>2,341)+ -1|0:0)|0)){Pb(g+8|0);f=i[g+12>>2];h=i[g+24>>2]+i[g+28>>2]|0;e=i[g+16>>2]}if((e|0)==(f|0)){e=0}else{e=(h>>>0)/341|0;e=i[(e<<2)+f>>2]+o(h-o(e,341)|0,12)|0}i[e+8>>2]=s;i[e+4>>2]=m;i[e>>2]=d;f=i[g+28>>2]+1|0;i[g+28>>2]=f;break e}if(!t){break f}A=0;while(1){if(f){p=i[y>>2];n=i[s>>2];m=i[a+96>>2];h=i[a+108>>2];f=0;while(1){v=h+(f<<2)|0;i[m+(i[v>>2]<<2)>>2]=0;d=i[v>>2]<<2;w=i[a>>2]-i[d+n>>2]|0;p:{if(!w){break p}z=d+m|0;u=i[a+52>>2];k=32-u|0;if((w|0)<=(k|0)){e=i[a+48>>2];if((e|0)==i[a+40>>2]){i[z>>2]=0;break p}i[z>>2]=i[e>>2]<>>32-w;d=w+i[a+52>>2]|0;i[a+52>>2]=d;if((d|0)!=32){break p}i[a+52>>2]=0;i[a+48>>2]=e+4;break p}q=i[a+48>>2];d=q+4|0;if((d|0)==i[a+40>>2]){i[z>>2]=0;break p}e=i[q>>2];i[a+48>>2]=d;d=w-k|0;i[a+52>>2]=d;i[z>>2]=i[q+4>>2]>>>32-d|e<>>32-w}e=i[v>>2]<<2;d=e+m|0;i[d>>2]=i[d>>2]|i[e+p>>2];f=f+1|0;if(f>>>0 >2]){continue}break}}q=0;f=i[c+16>>2];q:{if((f|0)==i[c+20>>2]){break q}while(1){d=o(q,20)+f|0;e=i[a+96>>2]+(i[d+4>>2]<<2)|0;p=i[d>>2];m=i[d+12>>2];r:{if(m>>>0>3){break r}h=i[c+12>>2];n=d+16|0;if(!i[n>>2]){e=h;break r}k=d+12|0;f=0;while(1){d=sn(h,(f<<2)+e|0,m);m=i[k>>2];h=d+m|0;f=f+1|0;if(f>>>0 >2]){continue}break}e=i[c+12>>2]}f=i[c+28>>2];f=j[p+84|0]?f:i[i[p+68>>2]+(f<<2)>>2];if(f>>>0>=l[p+80>>2]){break q}d=i[p+40>>2];sn(i[i[p>>2]>>2]+o(d,f)|0,e,d);q=q+1|0;f=i[c+16>>2];if(q>>>0<(i[c+20>>2]-f|0)/20>>>0){continue}break}}i[c+28>>2]=i[c+28>>2]+1;i[a+8>>2]=i[a+8>>2]+1;A=A+1|0;if((A|0)==(t|0)){break f}f=i[a+12>>2];continue}}f=i[g+28>>2]}if(f){continue}break}k=1}b=i[g+24>>2];a=(b>>>0)/341|0;f=i[g+12>>2];h=i[g+16>>2];s:{if((f|0)==(h|0)){break s}e=(a<<2)+f|0;m=i[e>>2]+o(b-o(a,341)|0,12)|0;b=b+i[g+28>>2]|0;a=(b>>>0)/341|0;a=i[(a<<2)+f>>2]+o(b-o(a,341)|0,12)|0;if((m|0)==(a|0)){break s}while(1){m=m+12|0;if((m-i[e>>2]|0)==4092){m=i[e+4>>2];e=e+4|0}if((a|0)!=(m|0)){continue}break}}i[g+28>>2]=0;m=h-f>>2;if(m>>>0>2){while(1){qn(i[f>>2]);f=i[g+12>>2]+4|0;i[g+12>>2]=f;h=i[g+16>>2];m=h-f>>2;if(m>>>0>2){continue}break}}e=170;t:{switch(m+ -1|0){case 1:e=341;case 0:i[g+24>>2]=e;break;default:break t}}u:{if((f|0)==(h|0)){break u}while(1){qn(i[f>>2]);f=f+4|0;if((h|0)!=(f|0)){continue}break}b=i[g+16>>2];a=i[g+12>>2];if((b|0)==(a|0)){break u}i[g+16>>2]=b+(((b-a|0)+ -4>>>2^-1)<<2)}a=i[g+8>>2];if(a){qn(a)}L=g+32|0;return k}Vm();x()}Vm();x()}function zb(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0,A=0;g=L-32|0;L=g;d=i[a+12>>2];i[g+16>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;a:{if(d){if(d>>>0>=1073741824){break a}h=d<<2;e=Gm(h);i[g+8>>2]=e;f=e+h|0;i[g+16>>2]=f;tn(e,0,h);i[g+12>>2]=f}h=i[a+628>>2];k=i[h>>2];if(k){i[h+4>>2]=k;qn(k);i[h+8>>2]=0;i[h>>2]=0;i[h+4>>2]=0;d=i[a+12>>2];e=i[g+8>>2];f=i[g+12>>2]}i[h+4>>2]=f;i[h>>2]=e;i[h+8>>2]=i[g+16>>2];e=0;i[g+16>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;k=0;b:{if(d){if(d>>>0>=1073741824){break b}f=d<<2;k=Gm(f);i[g+8>>2]=k;e=f+k|0;i[g+16>>2]=e;tn(k,0,f);i[g+12>>2]=e}f=i[a+640>>2];d=i[f>>2];if(d){i[f+4>>2]=d;qn(d);i[f+8>>2]=0;i[f>>2]=0;i[f+4>>2]=0;k=i[g+8>>2];e=i[g+12>>2]}i[f+4>>2]=e;i[f>>2]=k;i[f+8>>2]=i[g+16>>2];e=g+24|0;i[e>>2]=0;i[e+4>>2]=0;d=g+16|0;i[d>>2]=0;i[d+4>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;Pb(g+8|0);h=i[d>>2];d=i[g+12>>2];f=0;c:{if((h|0)==(d|0)){break c}f=i[e>>2]+i[g+28>>2]|0;e=(f>>>0)/341|0;f=i[d+(e<<2)>>2]+o(f-o(e,341)|0,12)|0}i[f+4>>2]=0;i[f+8>>2]=0;i[f>>2]=b;h=1;f=i[g+28>>2];d=f+1|0;i[g+28>>2]=d;d:{if(d>>>0 >>0){break d}while(1){h=i[g+12>>2];d=d+ -1|0;f=d+i[g+24>>2]|0;e=(f>>>0)/341|0;e=i[h+(e<<2)>>2]+o(f-o(e,341)|0,12)|0;n=i[e+8>>2];k=i[e+4>>2];m=i[e>>2];i[g+28>>2]=d;e=i[g+16>>2];d=e-h|0;if((d?o(d>>2,341)+ -1|0:0)-f>>>0>=682){qn(i[e+ -4>>2]);i[g+16>>2]=i[g+16>>2]+ -4}h=0;if(m>>>0>b>>>0){break d}f=i[a+628>>2];s=o(n,12);t=s+i[a+640>>2]|0;k=xl(a,t,k);if(k>>>0>=l[a+12>>2]){break d}q=f+s|0;e:{f:{p=k<<2;f=i[a>>2]-i[p+i[t>>2]>>2]|0;if(!f){if(!m){break f}s=0;while(1){h=0;d=i[c+16>>2];g:{if((d|0)==i[c+20>>2]){break g}while(1){d=o(h,20)+d|0;f=i[q>>2]+(i[d+4>>2]<<2)|0;n=i[d>>2];k=i[d+12>>2];h:{if(k>>>0>3){break h}e=i[c+12>>2];t=d+16|0;if(!i[t>>2]){f=e;break h}p=d+12|0;d=0;while(1){e=sn(e,(d<<2)+f|0,k);k=i[p>>2];e=e+k|0;d=d+1|0;if(d>>>0 >2]){continue}break}f=i[c+12>>2]}d=i[c+28>>2];d=j[n+84|0]?d:i[i[n+68>>2]+(d<<2)>>2];if(d>>>0>=l[n+80>>2]){break g}e=i[n+40>>2];sn(i[i[n>>2]>>2]+o(e,d)|0,f,e);h=h+1|0;d=i[c+16>>2];if(h>>>0<(i[c+20>>2]-d|0)/20>>>0){continue}break}}i[c+28>>2]=i[c+28>>2]+1;i[a+8>>2]=i[a+8>>2]+1;s=s+1|0;if((m|0)!=(s|0)){continue}break}break f}i:{j:{k:{l:{if(m>>>0<=2){f=i[a+616>>2];i[f>>2]=k;e=1;d=i[a+12>>2];if(d>>>0>1){break l}break i}if(l[a+8>>2]>l[a+4>>2]){break d}e=1< >2];t=n+1|0;h=o(t,12);d=f+h|0;if((d|0)!=(q|0)){wa(d,i[q>>2],i[q+4>>2]);f=i[a+628>>2]}f=p+i[f+h>>2]|0;i[f>>2]=e+i[f>>2];e=0;d=0;f=r(m)^31;if(f){while(1){e=Ee(((d<<4)+a|0)+16|0)|e<<1;d=d+1|0;if((f|0)!=(d|0)){continue}break}}e=(m>>>1|0)-e|0;d=m-e|0;m:{if((d|0)==(e|0)){f=e;break m}f=i[a+596>>2];if((f|0)==i[a+588>>2]){break k}m=i[f>>2];q=i[a+600>>2];u=q+1|0;i[a+600>>2]=u;m=m&-2147483648>>>q;n:{if((u|0)==32){i[a+600>>2]=0;i[a+596>>2]=f+4;if(m){break n}break k}if(!m){break k}}f=d}d=e;break j}while(1){k=(d+ -1|0)==(k|0)?0:k+1|0;i[f+(e<<2)>>2]=k;e=e+1|0;d=i[a+12>>2];if(e>>>0 >>0){continue}break}break i}f=e}e=i[a+640>>2];m=e+s|0;q=i[m>>2];s=q+p|0;i[s>>2]=i[s>>2]+1;wa(e+h|0,q,i[m+4>>2]);if(d){m=i[g+28>>2]+i[g+24>>2]|0;q=i[g+16>>2];e=i[g+12>>2];h=q-e|0;if((m|0)==((h?o(h>>2,341)+ -1|0:0)|0)){Pb(g+8|0);m=i[g+24>>2]+i[g+28>>2]|0;q=i[g+16>>2];e=i[g+12>>2]}h=0;o:{if((e|0)==(q|0)){break o}h=e;e=(m>>>0)/341|0;h=i[h+(e<<2)>>2]+o(m-o(e,341)|0,12)|0}i[h+8>>2]=n;i[h+4>>2]=k;i[h>>2]=d;i[g+28>>2]=i[g+28>>2]+1}if(!f){break f}e=i[g+28>>2]+i[g+24>>2]|0;h=i[g+16>>2];d=i[g+12>>2];m=h-d|0;if((e|0)==((m?o(m>>2,341)+ -1|0:0)|0)){Pb(g+8|0);h=i[g+16>>2];d=i[g+12>>2];e=i[g+24>>2]+i[g+28>>2]|0}if((d|0)==(h|0)){e=0}else{h=d;d=(e>>>0)/341|0;e=i[h+(d<<2)>>2]+o(e-o(d,341)|0,12)|0}i[e+8>>2]=t;i[e+4>>2]=k;i[e>>2]=f;d=i[g+28>>2]+1|0;i[g+28>>2]=d;break e}if(!m){break f}s=0;while(1){if(d){u=i[q>>2];y=i[t>>2];h=i[a+604>>2];z=i[a+616>>2];d=0;while(1){k=z+(d<<2)|0;i[h+(i[k>>2]<<2)>>2]=0;e=i[k>>2]<<2;f=i[a>>2]-i[e+y>>2]|0;p:{if(!f){break p}e=e+h|0;n=i[a+560>>2];v=32-n|0;if((f|0)<=(v|0)){p=i[a+556>>2];if((p|0)==i[a+548>>2]){i[e>>2]=0;break p}i[e>>2]=i[p>>2]< >>32-f;f=f+i[a+560>>2]|0;i[a+560>>2]=f;if((f|0)!=32){break p}i[a+560>>2]=0;i[a+556>>2]=p+4;break p}p=i[a+556>>2];w=p+4|0;if((w|0)==i[a+548>>2]){i[e>>2]=0;break p}A=i[p>>2];i[a+556>>2]=w;v=f-v|0;i[a+560>>2]=v;i[e>>2]=i[p+4>>2]>>>32-v|A< >>32-f}f=i[k>>2]<<2;e=f+h|0;i[e>>2]=i[e>>2]|i[f+u>>2];d=d+1|0;if(d>>>0 >2]){continue}break}}h=0;d=i[c+16>>2];q:{if((d|0)==i[c+20>>2]){break q}while(1){d=o(h,20)+d|0;f=i[a+604>>2]+(i[d+4>>2]<<2)|0;n=i[d>>2];k=i[d+12>>2];r:{if(k>>>0>3){break r}e=i[c+12>>2];p=d+16|0;if(!i[p>>2]){f=e;break r}u=d+12|0;d=0;while(1){e=sn(e,(d<<2)+f|0,k);k=i[u>>2];e=e+k|0;d=d+1|0;if(d>>>0 >2]){continue}break}f=i[c+12>>2]}d=i[c+28>>2];d=j[n+84|0]?d:i[i[n+68>>2]+(d<<2)>>2];if(d>>>0>=l[n+80>>2]){break q}e=i[n+40>>2];sn(i[i[n>>2]>>2]+o(e,d)|0,f,e);h=h+1|0;d=i[c+16>>2];if(h>>>0<(i[c+20>>2]-d|0)/20>>>0){continue}break}}i[c+28>>2]=i[c+28>>2]+1;i[a+8>>2]=i[a+8>>2]+1;s=s+1|0;if((s|0)==(m|0)){break f}d=i[a+12>>2];continue}}d=i[g+28>>2]}if(d){continue}break}h=1}a=i[g+24>>2];b=(a>>>0)/341|0;d=i[g+12>>2];e=i[g+16>>2];s:{if((d|0)==(e|0)){break s}f=(b<<2)+d|0;k=i[f>>2]+o(a-o(b,341)|0,12)|0;a=a+i[g+28>>2]|0;b=(a>>>0)/341|0;a=i[(b<<2)+d>>2]+o(a-o(b,341)|0,12)|0;if((k|0)==(a|0)){break s}while(1){k=k+12|0;if((k-i[f>>2]|0)==4092){k=i[f+4>>2];f=f+4|0}if((a|0)!=(k|0)){continue}break}}i[g+28>>2]=0;k=e-d>>2;if(k>>>0>2){while(1){qn(i[d>>2]);d=i[g+12>>2]+4|0;i[g+12>>2]=d;e=i[g+16>>2];k=e-d>>2;if(k>>>0>2){continue}break}}f=170;t:{switch(k+ -1|0){case 1:f=341;case 0:i[g+24>>2]=f;break;default:break t}}u:{if((d|0)==(e|0)){break u}while(1){qn(i[d>>2]);d=d+4|0;if((e|0)!=(d|0)){continue}break}a=i[g+16>>2];b=i[g+12>>2];if((a|0)==(b|0)){break u}i[g+16>>2]=a+(((a-b|0)+ -4>>>2^-1)<<2)}a=i[g+8>>2];if(a){qn(a)}L=g+32|0;return h}Vm();x()}Vm();x()}function Bb(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0,A=0;g=L-32|0;L=g;d=i[a+12>>2];i[g+16>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;a:{if(d){if(d>>>0>=1073741824){break a}h=d<<2;e=Gm(h);i[g+8>>2]=e;f=e+h|0;i[g+16>>2]=f;tn(e,0,h);i[g+12>>2]=f}h=i[a+628>>2];k=i[h>>2];if(k){i[h+4>>2]=k;qn(k);i[h+8>>2]=0;i[h>>2]=0;i[h+4>>2]=0;d=i[a+12>>2];e=i[g+8>>2];f=i[g+12>>2]}i[h+4>>2]=f;i[h>>2]=e;i[h+8>>2]=i[g+16>>2];e=0;i[g+16>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;k=0;b:{if(d){if(d>>>0>=1073741824){break b}f=d<<2;k=Gm(f);i[g+8>>2]=k;e=f+k|0;i[g+16>>2]=e;tn(k,0,f);i[g+12>>2]=e}f=i[a+640>>2];d=i[f>>2];if(d){i[f+4>>2]=d;qn(d);i[f+8>>2]=0;i[f>>2]=0;i[f+4>>2]=0;k=i[g+8>>2];e=i[g+12>>2]}i[f+4>>2]=e;i[f>>2]=k;i[f+8>>2]=i[g+16>>2];e=g+24|0;i[e>>2]=0;i[e+4>>2]=0;d=g+16|0;i[d>>2]=0;i[d+4>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;Pb(g+8|0);h=i[d>>2];d=i[g+12>>2];f=0;c:{if((h|0)==(d|0)){break c}f=i[e>>2]+i[g+28>>2]|0;e=(f>>>0)/341|0;f=i[d+(e<<2)>>2]+o(f-o(e,341)|0,12)|0}i[f+4>>2]=0;i[f+8>>2]=0;i[f>>2]=b;h=1;f=i[g+28>>2];d=f+1|0;i[g+28>>2]=d;d:{if(d>>>0 >>0){break d}while(1){k=i[g+12>>2];h=d+ -1|0;f=h+i[g+24>>2]|0;e=(f>>>0)/341|0;e=i[k+(e<<2)>>2]+o(f-o(e,341)|0,12)|0;n=i[e+8>>2];d=i[e+4>>2];m=i[e>>2];i[g+28>>2]=h;e=i[g+16>>2];h=e-k|0;if((h?o(h>>2,341)+ -1|0:0)-f>>>0>=682){qn(i[e+ -4>>2]);i[g+16>>2]=i[g+16>>2]+ -4}if(m>>>0>b>>>0){h=0;break d}h=0;f=i[a+12>>2];k=(d|0)==(f+ -1|0)?0:d+1|0;if(k>>>0>=f>>>0){break d}f=i[a+628>>2];p=o(n,12);s=f+p|0;e:{f:{q=k<<2;t=p+i[a+640>>2]|0;e=i[a>>2]-i[q+i[t>>2]>>2]|0;if(!e){if(!m){break f}p=0;while(1){h=0;d=i[c+16>>2];g:{if((d|0)==i[c+20>>2]){break g}while(1){d=o(h,20)+d|0;f=i[s>>2]+(i[d+4>>2]<<2)|0;n=i[d>>2];k=i[d+12>>2];h:{if(k>>>0>3){break h}e=i[c+12>>2];q=d+16|0;if(!i[q>>2]){f=e;break h}t=d+12|0;d=0;while(1){e=sn(e,(d<<2)+f|0,k);k=i[t>>2];e=e+k|0;d=d+1|0;if(d>>>0 >2]){continue}break}f=i[c+12>>2]}d=i[c+28>>2];d=j[n+84|0]?d:i[i[n+68>>2]+(d<<2)>>2];if(d>>>0>=l[n+80>>2]){break g}e=i[n+40>>2];sn(i[i[n>>2]>>2]+o(e,d)|0,f,e);h=h+1|0;d=i[c+16>>2];if(h>>>0<(i[c+20>>2]-d|0)/20>>>0){continue}break}}i[c+28>>2]=i[c+28>>2]+1;i[a+8>>2]=i[a+8>>2]+1;p=p+1|0;if((m|0)!=(p|0)){continue}break}break f}i:{j:{k:{l:{if(m>>>0<=2){f=i[a+616>>2];i[f>>2]=k;e=1;d=i[a+12>>2];if(d>>>0>1){break l}break i}if(l[a+8>>2]>l[a+4>>2]){break d}d=f;f=p+12|0;wa(d+f|0,i[s>>2],i[s+4>>2]);f=q+i[f+i[a+628>>2]>>2]|0;i[f>>2]=i[f>>2]+(1< >>1|0)-e|0;d=m-e|0;m:{if((d|0)==(e|0)){f=e;break m}f=i[a+596>>2];if((f|0)==i[a+588>>2]){break k}h=i[f>>2];m=i[a+600>>2];t=m+1|0;i[a+600>>2]=t;h=h&-2147483648>>>m;n:{if((t|0)==32){i[a+600>>2]=0;i[a+596>>2]=f+4;if(h){break n}break k}if(!h){break k}}f=d}d=e;break j}while(1){k=(d+ -1|0)==(k|0)?0:k+1|0;i[f+(e<<2)>>2]=k;e=e+1|0;d=i[a+12>>2];if(e>>>0 >>0){continue}break}break i}f=e}e=i[a+640>>2];h=e+p|0;m=i[h>>2];p=m+q|0;i[p>>2]=i[p>>2]+1;wa(e+o(s,12)|0,m,i[h+4>>2]);if(d){m=i[g+28>>2]+i[g+24>>2]|0;p=i[g+16>>2];e=i[g+12>>2];h=p-e|0;if((m|0)==((h?o(h>>2,341)+ -1|0:0)|0)){Pb(g+8|0);m=i[g+24>>2]+i[g+28>>2]|0;p=i[g+16>>2];e=i[g+12>>2]}h=0;o:{if((e|0)==(p|0)){break o}h=e;e=(m>>>0)/341|0;h=i[h+(e<<2)>>2]+o(m-o(e,341)|0,12)|0}i[h+8>>2]=n;i[h+4>>2]=k;i[h>>2]=d;i[g+28>>2]=i[g+28>>2]+1}if(!f){break f}e=i[g+28>>2]+i[g+24>>2]|0;m=i[g+16>>2];d=i[g+12>>2];h=m-d|0;if((e|0)==((h?o(h>>2,341)+ -1|0:0)|0)){Pb(g+8|0);m=i[g+16>>2];d=i[g+12>>2];e=i[g+24>>2]+i[g+28>>2]|0}if((d|0)==(m|0)){e=0}else{h=d;d=(e>>>0)/341|0;e=i[h+(d<<2)>>2]+o(e-o(d,341)|0,12)|0}i[e+8>>2]=s;i[e+4>>2]=k;i[e>>2]=f;d=i[g+28>>2]+1|0;i[g+28>>2]=d;break e}if(!m){break f}p=0;while(1){if(d){v=i[s>>2];y=i[t>>2];h=i[a+604>>2];z=i[a+616>>2];d=0;while(1){k=z+(d<<2)|0;i[h+(i[k>>2]<<2)>>2]=0;e=i[k>>2]<<2;f=i[a>>2]-i[e+y>>2]|0;p:{if(!f){break p}e=e+h|0;n=i[a+560>>2];u=32-n|0;if((f|0)<=(u|0)){q=i[a+556>>2];if((q|0)==i[a+548>>2]){i[e>>2]=0;break p}i[e>>2]=i[q>>2]< >>32-f;f=f+i[a+560>>2]|0;i[a+560>>2]=f;if((f|0)!=32){break p}i[a+560>>2]=0;i[a+556>>2]=q+4;break p}q=i[a+556>>2];w=q+4|0;if((w|0)==i[a+548>>2]){i[e>>2]=0;break p}A=i[q>>2];i[a+556>>2]=w;u=f-u|0;i[a+560>>2]=u;i[e>>2]=i[q+4>>2]>>>32-u|A< >>32-f}f=i[k>>2]<<2;e=f+h|0;i[e>>2]=i[e>>2]|i[f+v>>2];d=d+1|0;if(d>>>0 >2]){continue}break}}h=0;d=i[c+16>>2];q:{if((d|0)==i[c+20>>2]){break q}while(1){d=o(h,20)+d|0;f=i[a+604>>2]+(i[d+4>>2]<<2)|0;n=i[d>>2];k=i[d+12>>2];r:{if(k>>>0>3){break r}e=i[c+12>>2];q=d+16|0;if(!i[q>>2]){f=e;break r}v=d+12|0;d=0;while(1){e=sn(e,(d<<2)+f|0,k);k=i[v>>2];e=e+k|0;d=d+1|0;if(d>>>0 >2]){continue}break}f=i[c+12>>2]}d=i[c+28>>2];d=j[n+84|0]?d:i[i[n+68>>2]+(d<<2)>>2];if(d>>>0>=l[n+80>>2]){break q}e=i[n+40>>2];sn(i[i[n>>2]>>2]+o(e,d)|0,f,e);h=h+1|0;d=i[c+16>>2];if(h>>>0<(i[c+20>>2]-d|0)/20>>>0){continue}break}}i[c+28>>2]=i[c+28>>2]+1;i[a+8>>2]=i[a+8>>2]+1;p=p+1|0;if((p|0)==(m|0)){break f}d=i[a+12>>2];continue}}d=i[g+28>>2]}if(d){continue}break}h=1}a=i[g+24>>2];b=(a>>>0)/341|0;d=i[g+12>>2];e=i[g+16>>2];s:{if((d|0)==(e|0)){break s}f=(b<<2)+d|0;k=i[f>>2]+o(a-o(b,341)|0,12)|0;a=a+i[g+28>>2]|0;b=(a>>>0)/341|0;a=i[(b<<2)+d>>2]+o(a-o(b,341)|0,12)|0;if((k|0)==(a|0)){break s}while(1){k=k+12|0;if((k-i[f>>2]|0)==4092){k=i[f+4>>2];f=f+4|0}if((a|0)!=(k|0)){continue}break}}i[g+28>>2]=0;k=e-d>>2;if(k>>>0>2){while(1){qn(i[d>>2]);d=i[g+12>>2]+4|0;i[g+12>>2]=d;e=i[g+16>>2];k=e-d>>2;if(k>>>0>2){continue}break}}f=170;t:{switch(k+ -1|0){case 1:f=341;case 0:i[g+24>>2]=f;break;default:break t}}u:{if((d|0)==(e|0)){break u}while(1){qn(i[d>>2]);d=d+4|0;if((e|0)!=(d|0)){continue}break}a=i[g+16>>2];b=i[g+12>>2];if((a|0)==(b|0)){break u}i[g+16>>2]=a+(((a-b|0)+ -4>>>2^-1)<<2)}a=i[g+8>>2];if(a){qn(a)}L=g+32|0;return h}Vm();x()}Vm();x()}function Cb(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0,A=0;g=L-32|0;L=g;d=i[a+12>>2];i[g+16>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;a:{if(d){if(d>>>0>=1073741824){break a}h=d<<2;e=Gm(h);i[g+8>>2]=e;f=e+h|0;i[g+16>>2]=f;tn(e,0,h);i[g+12>>2]=f}h=i[a+628>>2];k=i[h>>2];if(k){i[h+4>>2]=k;qn(k);i[h+8>>2]=0;i[h>>2]=0;i[h+4>>2]=0;d=i[a+12>>2];e=i[g+8>>2];f=i[g+12>>2]}i[h+4>>2]=f;i[h>>2]=e;i[h+8>>2]=i[g+16>>2];e=0;i[g+16>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;k=0;b:{if(d){if(d>>>0>=1073741824){break b}f=d<<2;k=Gm(f);i[g+8>>2]=k;e=f+k|0;i[g+16>>2]=e;tn(k,0,f);i[g+12>>2]=e}f=i[a+640>>2];d=i[f>>2];if(d){i[f+4>>2]=d;qn(d);i[f+8>>2]=0;i[f>>2]=0;i[f+4>>2]=0;k=i[g+8>>2];e=i[g+12>>2]}i[f+4>>2]=e;i[f>>2]=k;i[f+8>>2]=i[g+16>>2];e=g+24|0;i[e>>2]=0;i[e+4>>2]=0;d=g+16|0;i[d>>2]=0;i[d+4>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;Pb(g+8|0);h=i[d>>2];d=i[g+12>>2];f=0;c:{if((h|0)==(d|0)){break c}f=i[e>>2]+i[g+28>>2]|0;e=(f>>>0)/341|0;f=i[d+(e<<2)>>2]+o(f-o(e,341)|0,12)|0}i[f+4>>2]=0;i[f+8>>2]=0;i[f>>2]=b;h=1;f=i[g+28>>2];d=f+1|0;i[g+28>>2]=d;d:{if(d>>>0 >>0){break d}while(1){h=i[g+12>>2];d=d+ -1|0;f=d+i[g+24>>2]|0;e=(f>>>0)/341|0;e=i[h+(e<<2)>>2]+o(f-o(e,341)|0,12)|0;n=i[e+8>>2];m=i[e>>2];i[g+28>>2]=d;e=i[g+16>>2];d=e-h|0;if((d?o(d>>2,341)+ -1|0:0)-f>>>0>=682){qn(i[e+ -4>>2]);i[g+16>>2]=i[g+16>>2]+ -4}h=0;if(m>>>0>b>>>0){break d}f=i[a+628>>2];s=o(n,12);t=s+i[a+640>>2]|0;k=yl(a,m,t);if(k>>>0>=l[a+12>>2]){break d}q=f+s|0;e:{f:{p=k<<2;f=i[a>>2]-i[p+i[t>>2]>>2]|0;if(!f){if(!m){break f}s=0;while(1){h=0;d=i[c+16>>2];g:{if((d|0)==i[c+20>>2]){break g}while(1){d=o(h,20)+d|0;f=i[q>>2]+(i[d+4>>2]<<2)|0;n=i[d>>2];k=i[d+12>>2];h:{if(k>>>0>3){break h}e=i[c+12>>2];t=d+16|0;if(!i[t>>2]){f=e;break h}p=d+12|0;d=0;while(1){e=sn(e,(d<<2)+f|0,k);k=i[p>>2];e=e+k|0;d=d+1|0;if(d>>>0 >2]){continue}break}f=i[c+12>>2]}d=i[c+28>>2];d=j[n+84|0]?d:i[i[n+68>>2]+(d<<2)>>2];if(d>>>0>=l[n+80>>2]){break g}e=i[n+40>>2];sn(i[i[n>>2]>>2]+o(e,d)|0,f,e);h=h+1|0;d=i[c+16>>2];if(h>>>0<(i[c+20>>2]-d|0)/20>>>0){continue}break}}i[c+28>>2]=i[c+28>>2]+1;i[a+8>>2]=i[a+8>>2]+1;s=s+1|0;if((m|0)!=(s|0)){continue}break}break f}i:{j:{k:{l:{if(m>>>0<=2){f=i[a+616>>2];i[f>>2]=k;e=1;d=i[a+12>>2];if(d>>>0>1){break l}break i}if(l[a+8>>2]>l[a+4>>2]){break d}e=1< >2];t=n+1|0;h=o(t,12);d=f+h|0;if((d|0)!=(q|0)){wa(d,i[q>>2],i[q+4>>2]);f=i[a+628>>2]}f=p+i[f+h>>2]|0;i[f>>2]=e+i[f>>2];e=0;d=0;f=r(m)^31;if(f){while(1){e=Ee(((d<<4)+a|0)+16|0)|e<<1;d=d+1|0;if((f|0)!=(d|0)){continue}break}}e=(m>>>1|0)-e|0;d=m-e|0;m:{if((d|0)==(e|0)){f=e;break m}f=i[a+596>>2];if((f|0)==i[a+588>>2]){break k}m=i[f>>2];q=i[a+600>>2];u=q+1|0;i[a+600>>2]=u;m=m&-2147483648>>>q;n:{if((u|0)==32){i[a+600>>2]=0;i[a+596>>2]=f+4;if(m){break n}break k}if(!m){break k}}f=d}d=e;break j}while(1){k=(d+ -1|0)==(k|0)?0:k+1|0;i[f+(e<<2)>>2]=k;e=e+1|0;d=i[a+12>>2];if(e>>>0 >>0){continue}break}break i}f=e}e=i[a+640>>2];m=e+s|0;q=i[m>>2];s=q+p|0;i[s>>2]=i[s>>2]+1;wa(e+h|0,q,i[m+4>>2]);if(d){m=i[g+28>>2]+i[g+24>>2]|0;q=i[g+16>>2];e=i[g+12>>2];h=q-e|0;if((m|0)==((h?o(h>>2,341)+ -1|0:0)|0)){Pb(g+8|0);m=i[g+24>>2]+i[g+28>>2]|0;q=i[g+16>>2];e=i[g+12>>2]}h=0;o:{if((e|0)==(q|0)){break o}h=e;e=(m>>>0)/341|0;h=i[h+(e<<2)>>2]+o(m-o(e,341)|0,12)|0}i[h+8>>2]=n;i[h+4>>2]=k;i[h>>2]=d;i[g+28>>2]=i[g+28>>2]+1}if(!f){break f}e=i[g+28>>2]+i[g+24>>2]|0;h=i[g+16>>2];d=i[g+12>>2];m=h-d|0;if((e|0)==((m?o(m>>2,341)+ -1|0:0)|0)){Pb(g+8|0);h=i[g+16>>2];d=i[g+12>>2];e=i[g+24>>2]+i[g+28>>2]|0}if((d|0)==(h|0)){e=0}else{h=d;d=(e>>>0)/341|0;e=i[h+(d<<2)>>2]+o(e-o(d,341)|0,12)|0}i[e+8>>2]=t;i[e+4>>2]=k;i[e>>2]=f;d=i[g+28>>2]+1|0;i[g+28>>2]=d;break e}if(!m){break f}s=0;while(1){if(d){u=i[q>>2];y=i[t>>2];h=i[a+604>>2];z=i[a+616>>2];d=0;while(1){k=z+(d<<2)|0;i[h+(i[k>>2]<<2)>>2]=0;e=i[k>>2]<<2;f=i[a>>2]-i[e+y>>2]|0;p:{if(!f){break p}e=e+h|0;n=i[a+560>>2];v=32-n|0;if((f|0)<=(v|0)){p=i[a+556>>2];if((p|0)==i[a+548>>2]){i[e>>2]=0;break p}i[e>>2]=i[p>>2]< >>32-f;f=f+i[a+560>>2]|0;i[a+560>>2]=f;if((f|0)!=32){break p}i[a+560>>2]=0;i[a+556>>2]=p+4;break p}p=i[a+556>>2];w=p+4|0;if((w|0)==i[a+548>>2]){i[e>>2]=0;break p}A=i[p>>2];i[a+556>>2]=w;v=f-v|0;i[a+560>>2]=v;i[e>>2]=i[p+4>>2]>>>32-v|A< >>32-f}f=i[k>>2]<<2;e=f+h|0;i[e>>2]=i[e>>2]|i[f+u>>2];d=d+1|0;if(d>>>0 >2]){continue}break}}h=0;d=i[c+16>>2];q:{if((d|0)==i[c+20>>2]){break q}while(1){d=o(h,20)+d|0;f=i[a+604>>2]+(i[d+4>>2]<<2)|0;n=i[d>>2];k=i[d+12>>2];r:{if(k>>>0>3){break r}e=i[c+12>>2];p=d+16|0;if(!i[p>>2]){f=e;break r}u=d+12|0;d=0;while(1){e=sn(e,(d<<2)+f|0,k);k=i[u>>2];e=e+k|0;d=d+1|0;if(d>>>0 >2]){continue}break}f=i[c+12>>2]}d=i[c+28>>2];d=j[n+84|0]?d:i[i[n+68>>2]+(d<<2)>>2];if(d>>>0>=l[n+80>>2]){break q}e=i[n+40>>2];sn(i[i[n>>2]>>2]+o(e,d)|0,f,e);h=h+1|0;d=i[c+16>>2];if(h>>>0<(i[c+20>>2]-d|0)/20>>>0){continue}break}}i[c+28>>2]=i[c+28>>2]+1;i[a+8>>2]=i[a+8>>2]+1;s=s+1|0;if((s|0)==(m|0)){break f}d=i[a+12>>2];continue}}d=i[g+28>>2]}if(d){continue}break}h=1}a=i[g+24>>2];b=(a>>>0)/341|0;d=i[g+12>>2];e=i[g+16>>2];s:{if((d|0)==(e|0)){break s}f=(b<<2)+d|0;k=i[f>>2]+o(a-o(b,341)|0,12)|0;a=a+i[g+28>>2]|0;b=(a>>>0)/341|0;a=i[(b<<2)+d>>2]+o(a-o(b,341)|0,12)|0;if((k|0)==(a|0)){break s}while(1){k=k+12|0;if((k-i[f>>2]|0)==4092){k=i[f+4>>2];f=f+4|0}if((a|0)!=(k|0)){continue}break}}i[g+28>>2]=0;k=e-d>>2;if(k>>>0>2){while(1){qn(i[d>>2]);d=i[g+12>>2]+4|0;i[g+12>>2]=d;e=i[g+16>>2];k=e-d>>2;if(k>>>0>2){continue}break}}f=170;t:{switch(k+ -1|0){case 1:f=341;case 0:i[g+24>>2]=f;break;default:break t}}u:{if((d|0)==(e|0)){break u}while(1){qn(i[d>>2]);d=d+4|0;if((e|0)!=(d|0)){continue}break}a=i[g+16>>2];b=i[g+12>>2];if((a|0)==(b|0)){break u}i[g+16>>2]=a+(((a-b|0)+ -4>>>2^-1)<<2)}a=i[g+8>>2];if(a){qn(a)}L=g+32|0;return h}Vm();x()}Vm();x()}function xb(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0,A=0,B=0;g=L-32|0;L=g;f=i[a+12>>2];i[g+16>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;a:{if(f){if(f>>>0>=1073741824){break a}d=f<<2;h=Gm(d);i[g+8>>2]=h;e=d+h|0;i[g+16>>2]=e;tn(h,0,d);i[g+12>>2]=e}m=i[a+116>>2];d=i[m>>2];if(d){i[m+4>>2]=d;qn(d);i[m+8>>2]=0;i[m>>2]=0;i[m+4>>2]=0;f=i[a+12>>2];h=i[g+8>>2];e=i[g+12>>2]}i[m+4>>2]=e;i[m>>2]=h;i[m+8>>2]=i[g+16>>2];h=0;i[g+16>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;b:{if(f){if(f>>>0>=1073741824){break b}d=f<<2;k=Gm(d);i[g+8>>2]=k;h=d+k|0;i[g+16>>2]=h;tn(k,0,d);i[g+12>>2]=h}e=i[a+128>>2];d=i[e>>2];if(d){i[e+4>>2]=d;qn(d);i[e+8>>2]=0;i[e>>2]=0;i[e+4>>2]=0;k=i[g+8>>2];h=i[g+12>>2]}i[e+4>>2]=h;i[e>>2]=k;i[e+8>>2]=i[g+16>>2];h=g+24|0;i[h>>2]=0;i[h+4>>2]=0;e=g+16|0;i[e>>2]=0;i[e+4>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;Pb(g+8|0);m=i[g+12>>2];d=0;c:{if((m|0)==i[e>>2]){break c}e=i[h>>2]+i[g+28>>2]|0;d=(e>>>0)/341|0;d=i[m+(d<<2)>>2]+o(e-o(d,341)|0,12)|0}i[d+4>>2]=0;i[d+8>>2]=0;i[d>>2]=b;d=1;e=i[g+28>>2];f=e+1|0;i[g+28>>2]=f;d:{if(f>>>0 >>0){break d}B=a+16|0;while(1){d=i[g+12>>2];h=f+ -1|0;n=h+i[g+24>>2]|0;e=(n>>>0)/341|0;e=i[d+(e<<2)>>2]+o(n-o(e,341)|0,12)|0;u=i[e+8>>2];m=i[e+4>>2];t=i[e>>2];i[g+28>>2]=h;e=i[g+16>>2];d=e-d|0;if((d?o(d>>2,341)+ -1|0:0)-n>>>0>=682){qn(i[e+ -4>>2]);i[g+16>>2]=i[g+16>>2]+ -4}d=0;if(t>>>0>b>>>0){break d}e=i[a+116>>2];v=o(u,12);A=v+i[a+128>>2]|0;k=xl(a,A,m);if(k>>>0>=l[a+12>>2]){break d}z=e+v|0;e:{w=k<<2;e=i[a>>2]-i[w+i[A>>2]>>2]|0;if(!e){if(!t){break e}p=0;while(1){m=0;f=i[c+16>>2];f:{if((f|0)==i[c+20>>2]){break f}while(1){d=o(m,20)+f|0;e=i[z>>2]+(i[d+4>>2]<<2)|0;s=i[d>>2];k=i[d+12>>2];g:{if(k>>>0>3){break g}h=i[c+12>>2];q=d+16|0;if(!i[q>>2]){e=h;break g}n=d+12|0;f=0;while(1){d=sn(h,(f<<2)+e|0,k);k=i[n>>2];h=d+k|0;f=f+1|0;if(f>>>0 >2]){continue}break}e=i[c+12>>2]}f=i[c+28>>2];f=j[s+84|0]?f:i[i[s+68>>2]+(f<<2)>>2];if(f>>>0>=l[s+80>>2]){break f}d=i[s+40>>2];sn(i[i[s>>2]>>2]+o(d,f)|0,e,d);m=m+1|0;f=i[c+16>>2];if(m>>>0<(i[c+20>>2]-f|0)/20>>>0){continue}break}}i[c+28>>2]=i[c+28>>2]+1;i[a+8>>2]=i[a+8>>2]+1;p=p+1|0;if((t|0)!=(p|0)){continue}break}break e}h:{i:{j:{k:{if(t>>>0<=2){d=i[a+104>>2];i[d>>2]=k;h=1;f=i[a+12>>2];if(f>>>0>1){break k}break h}if(l[a+8>>2]>l[a+4>>2]){break d}m=1< >2];p=u+1|0;s=o(p,12);e=d+s|0;if((e|0)!=(z|0)){wa(e,i[z>>2],i[z+4>>2]);d=i[a+116>>2]}d=w+i[d+s>>2]|0;i[d>>2]=m+i[d>>2];i[g+4>>2]=0;Fe(B,r(t)^31,g+4|0);e=(t>>>1|0)-i[g+4>>2]|0;d=t-e|0;l:{if((d|0)==(e|0)){d=e;break l}q=i[a+84>>2];if((q|0)==i[a+76>>2]){break j}n=i[q>>2];h=i[a+88>>2];m=h+1|0;i[a+88>>2]=m;h=n&-2147483648>>>h;m:{if((m|0)==32){i[a+88>>2]=0;i[a+84>>2]=q+4;if(h){break m}break j}if(!h){break j}}}m=d;d=e;break i}while(1){k=(f+ -1|0)==(k|0)?0:k+1|0;i[d+(h<<2)>>2]=k;h=h+1|0;f=i[a+12>>2];if(h>>>0 >>0){continue}break}break h}m=e}q=i[a+128>>2];n=q+v|0;h=i[n>>2];e=h+w|0;i[e>>2]=i[e>>2]+1;wa(s+q|0,h,i[n+4>>2]);if(d){e=i[g+28>>2]+i[g+24>>2]|0;n=i[g+16>>2];f=i[g+12>>2];h=n-f|0;if((e|0)==((h?o(h>>2,341)+ -1|0:0)|0)){Pb(g+8|0);f=i[g+12>>2];n=i[g+16>>2];e=i[g+24>>2]+i[g+28>>2]|0}if((f|0)==(n|0)){e=0}else{h=(e>>>0)/341|0;e=i[(h<<2)+f>>2]+o(e-o(h,341)|0,12)|0}i[e+8>>2]=u;i[e+4>>2]=k;i[e>>2]=d;i[g+28>>2]=i[g+28>>2]+1}if(!m){break e}h=i[g+28>>2]+i[g+24>>2]|0;e=i[g+16>>2];f=i[g+12>>2];d=e-f|0;if((h|0)==((d?o(d>>2,341)+ -1|0:0)|0)){Pb(g+8|0);f=i[g+12>>2];h=i[g+24>>2]+i[g+28>>2]|0;e=i[g+16>>2]}if((e|0)==(f|0)){d=0}else{d=(h>>>0)/341|0;d=i[(d<<2)+f>>2]+o(h-o(d,341)|0,12)|0}i[d+8>>2]=p;i[d+4>>2]=k;i[d>>2]=m;i[g+28>>2]=i[g+28>>2]+1;break e}if(!t){break e}v=0;while(1){if(f){q=i[z>>2];n=i[A>>2];u=i[a+92>>2];h=i[a+104>>2];f=0;while(1){w=h+(f<<2)|0;i[u+(i[w>>2]<<2)>>2]=0;d=i[w>>2]<<2;y=i[a>>2]-i[d+n>>2]|0;n:{if(!y){break n}k=d+u|0;s=i[a+48>>2];m=32-s|0;if((y|0)<=(m|0)){e=i[a+44>>2];if((e|0)==i[a+36>>2]){i[k>>2]=0;break n}i[k>>2]=i[e>>2]< >>32-y;d=y+i[a+48>>2]|0;i[a+48>>2]=d;if((d|0)!=32){break n}i[a+48>>2]=0;i[a+44>>2]=e+4;break n}p=i[a+44>>2];d=p+4|0;if((d|0)==i[a+36>>2]){i[k>>2]=0;break n}e=i[p>>2];i[a+44>>2]=d;d=y-m|0;i[a+48>>2]=d;i[k>>2]=i[p+4>>2]>>>32-d|e<>>32-y}e=i[w>>2]<<2;d=e+u|0;i[d>>2]=i[d>>2]|i[e+q>>2];f=f+1|0;if(f>>>0>2]){continue}break}}m=0;f=i[c+16>>2];o:{if((f|0)==i[c+20>>2]){break o}while(1){d=o(m,20)+f|0;e=i[a+92>>2]+(i[d+4>>2]<<2)|0;p=i[d>>2];k=i[d+12>>2];p:{if(k>>>0>3){break p}h=i[c+12>>2];q=d+16|0;if(!i[q>>2]){e=h;break p}n=d+12|0;f=0;while(1){d=sn(h,(f<<2)+e|0,k);k=i[n>>2];h=d+k|0;f=f+1|0;if(f>>>0 >2]){continue}break}e=i[c+12>>2]}f=i[c+28>>2];f=j[p+84|0]?f:i[i[p+68>>2]+(f<<2)>>2];if(f>>>0>=l[p+80>>2]){break o}d=i[p+40>>2];sn(i[i[p>>2]>>2]+o(d,f)|0,e,d);m=m+1|0;f=i[c+16>>2];if(m>>>0<(i[c+20>>2]-f|0)/20>>>0){continue}break}}i[c+28>>2]=i[c+28>>2]+1;i[a+8>>2]=i[a+8>>2]+1;v=v+1|0;if((v|0)==(t|0)){break e}f=i[a+12>>2];continue}}f=i[g+28>>2];if(f){continue}break}d=1}b=i[g+24>>2];a=(b>>>0)/341|0;f=i[g+12>>2];h=i[g+16>>2];q:{if((f|0)==(h|0)){break q}e=(a<<2)+f|0;k=i[e>>2]+o(b-o(a,341)|0,12)|0;b=b+i[g+28>>2]|0;a=(b>>>0)/341|0;a=i[(a<<2)+f>>2]+o(b-o(a,341)|0,12)|0;if((k|0)==(a|0)){break q}while(1){k=k+12|0;if((k-i[e>>2]|0)==4092){k=i[e+4>>2];e=e+4|0}if((a|0)!=(k|0)){continue}break}}i[g+28>>2]=0;k=h-f>>2;if(k>>>0>2){while(1){qn(i[f>>2]);f=i[g+12>>2]+4|0;i[g+12>>2]=f;h=i[g+16>>2];k=h-f>>2;if(k>>>0>2){continue}break}}e=170;r:{switch(k+ -1|0){case 1:e=341;case 0:i[g+24>>2]=e;break;default:break r}}s:{if((f|0)==(h|0)){break s}while(1){qn(i[f>>2]);f=f+4|0;if((h|0)!=(f|0)){continue}break}b=i[g+16>>2];a=i[g+12>>2];if((b|0)==(a|0)){break s}i[g+16>>2]=b+(((b-a|0)+ -4>>>2^-1)<<2)}a=i[g+8>>2];if(a){qn(a)}L=g+32|0;return d}Vm();x()}Vm();x()}function yb(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0,A=0,B=0;g=L-32|0;L=g;f=i[a+12>>2];i[g+16>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;a:{if(f){if(f>>>0>=1073741824){break a}d=f<<2;h=Gm(d);i[g+8>>2]=h;e=d+h|0;i[g+16>>2]=e;tn(h,0,d);i[g+12>>2]=e}m=i[a+116>>2];d=i[m>>2];if(d){i[m+4>>2]=d;qn(d);i[m+8>>2]=0;i[m>>2]=0;i[m+4>>2]=0;f=i[a+12>>2];h=i[g+8>>2];e=i[g+12>>2]}i[m+4>>2]=e;i[m>>2]=h;i[m+8>>2]=i[g+16>>2];h=0;i[g+16>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;b:{if(f){if(f>>>0>=1073741824){break b}d=f<<2;k=Gm(d);i[g+8>>2]=k;h=d+k|0;i[g+16>>2]=h;tn(k,0,d);i[g+12>>2]=h}e=i[a+128>>2];d=i[e>>2];if(d){i[e+4>>2]=d;qn(d);i[e+8>>2]=0;i[e>>2]=0;i[e+4>>2]=0;k=i[g+8>>2];h=i[g+12>>2]}i[e+4>>2]=h;i[e>>2]=k;i[e+8>>2]=i[g+16>>2];h=g+24|0;i[h>>2]=0;i[h+4>>2]=0;e=g+16|0;i[e>>2]=0;i[e+4>>2]=0;i[g+8>>2]=0;i[g+12>>2]=0;Pb(g+8|0);m=i[g+12>>2];d=0;c:{if((m|0)==i[e>>2]){break c}e=i[h>>2]+i[g+28>>2]|0;d=(e>>>0)/341|0;d=i[m+(d<<2)>>2]+o(e-o(d,341)|0,12)|0}i[d+4>>2]=0;i[d+8>>2]=0;i[d>>2]=b;m=1;d=i[g+28>>2];f=d+1|0;i[g+28>>2]=f;d:{if(f>>>0 >>0){break d}B=a+16|0;while(1){d=i[g+12>>2];m=f+ -1|0;n=m+i[g+24>>2]|0;e=(n>>>0)/341|0;e=i[d+(e<<2)>>2]+o(n-o(e,341)|0,12)|0;v=i[e+8>>2];h=i[e+4>>2];t=i[e>>2];i[g+28>>2]=m;e=i[g+16>>2];d=e-d|0;if((d?o(d>>2,341)+ -1|0:0)-n>>>0>=682){qn(i[e+ -4>>2]);i[g+16>>2]=i[g+16>>2]+ -4}if(t>>>0>b>>>0){m=0;break d}m=0;d=i[a+12>>2];k=(h|0)==(d+ -1|0)?0:h+1|0;if(k>>>0>=d>>>0){break d}d=i[a+116>>2];u=o(v,12);y=d+u|0;e:{q=k<<2;s=u+i[a+128>>2]|0;e=i[a>>2]-i[q+i[s>>2]>>2]|0;if(!e){if(!t){break e}p=0;while(1){q=0;f=i[c+16>>2];f:{if((f|0)==i[c+20>>2]){break f}while(1){d=o(q,20)+f|0;e=i[y>>2]+(i[d+4>>2]<<2)|0;s=i[d>>2];k=i[d+12>>2];g:{if(k>>>0>3){break g}h=i[c+12>>2];n=d+16|0;if(!i[n>>2]){e=h;break g}m=d+12|0;f=0;while(1){d=sn(h,(f<<2)+e|0,k);k=i[m>>2];h=d+k|0;f=f+1|0;if(f>>>0 >2]){continue}break}e=i[c+12>>2]}f=i[c+28>>2];f=j[s+84|0]?f:i[i[s+68>>2]+(f<<2)>>2];if(f>>>0>=l[s+80>>2]){break f}d=i[s+40>>2];sn(i[i[s>>2]>>2]+o(d,f)|0,e,d);q=q+1|0;f=i[c+16>>2];if(q>>>0<(i[c+20>>2]-f|0)/20>>>0){continue}break}}i[c+28>>2]=i[c+28>>2]+1;i[a+8>>2]=i[a+8>>2]+1;p=p+1|0;if((t|0)!=(p|0)){continue}break}break e}h:{i:{j:{k:{if(t>>>0<=2){d=i[a+104>>2];i[d>>2]=k;h=1;f=i[a+12>>2];if(f>>>0>1){break k}break h}if(l[a+8>>2]>l[a+4>>2]){break d}h=d;d=u+12|0;wa(h+d|0,i[y>>2],i[y+4>>2]);d=q+i[d+i[a+116>>2]>>2]|0;i[d>>2]=i[d>>2]+(1< >2]=0;Fe(B,r(t)^31,g+4|0);s=v+1|0;e=(t>>>1|0)-i[g+4>>2]|0;m=t-e|0;l:{if((m|0)==(e|0)){d=e;break l}p=i[a+84>>2];if((p|0)==i[a+76>>2]){break j}n=i[p>>2];h=i[a+88>>2];d=h+1|0;i[a+88>>2]=d;h=n&-2147483648>>>h;m:{if((d|0)==32){i[a+88>>2]=0;i[a+84>>2]=p+4;if(h){break m}break j}if(!h){break j}}d=m}m=e;break i}while(1){k=(f+ -1|0)==(k|0)?0:k+1|0;i[d+(h<<2)>>2]=k;h=h+1|0;f=i[a+12>>2];if(h>>>0 >>0){continue}break}break h}d=e}p=i[a+128>>2];n=p+u|0;h=i[n>>2];e=h+q|0;i[e>>2]=i[e>>2]+1;wa(p+o(s,12)|0,h,i[n+4>>2]);if(m){h=i[g+28>>2]+i[g+24>>2]|0;n=i[g+16>>2];f=i[g+12>>2];e=n-f|0;if((h|0)==((e?o(e>>2,341)+ -1|0:0)|0)){Pb(g+8|0);f=i[g+12>>2];n=i[g+16>>2];h=i[g+24>>2]+i[g+28>>2]|0}if((f|0)==(n|0)){e=0}else{e=(h>>>0)/341|0;e=i[(e<<2)+f>>2]+o(h-o(e,341)|0,12)|0}i[e+8>>2]=v;i[e+4>>2]=k;i[e>>2]=m;i[g+28>>2]=i[g+28>>2]+1}if(!d){break e}h=i[g+28>>2]+i[g+24>>2]|0;e=i[g+16>>2];f=i[g+12>>2];m=e-f|0;if((h|0)==((m?o(m>>2,341)+ -1|0:0)|0)){Pb(g+8|0);f=i[g+12>>2];h=i[g+24>>2]+i[g+28>>2]|0;e=i[g+16>>2]}if((e|0)==(f|0)){e=0}else{e=(h>>>0)/341|0;e=i[(e<<2)+f>>2]+o(h-o(e,341)|0,12)|0}i[e+8>>2]=s;i[e+4>>2]=k;i[e>>2]=d;i[g+28>>2]=i[g+28>>2]+1;break e}if(!t){break e}A=0;while(1){if(f){p=i[y>>2];n=i[s>>2];k=i[a+92>>2];h=i[a+104>>2];f=0;while(1){v=h+(f<<2)|0;i[k+(i[v>>2]<<2)>>2]=0;d=i[v>>2]<<2;w=i[a>>2]-i[d+n>>2]|0;n:{if(!w){break n}z=d+k|0;u=i[a+48>>2];m=32-u|0;if((w|0)<=(m|0)){e=i[a+44>>2];if((e|0)==i[a+36>>2]){i[z>>2]=0;break n}i[z>>2]=i[e>>2]<>>32-w;d=w+i[a+48>>2]|0;i[a+48>>2]=d;if((d|0)!=32){break n}i[a+48>>2]=0;i[a+44>>2]=e+4;break n}q=i[a+44>>2];d=q+4|0;if((d|0)==i[a+36>>2]){i[z>>2]=0;break n}e=i[q>>2];i[a+44>>2]=d;d=w-m|0;i[a+48>>2]=d;i[z>>2]=i[q+4>>2]>>>32-d|e<>>32-w}e=i[v>>2]<<2;d=e+k|0;i[d>>2]=i[d>>2]|i[e+p>>2];f=f+1|0;if(f>>>0 >2]){continue}break}}q=0;f=i[c+16>>2];o:{if((f|0)==i[c+20>>2]){break o}while(1){d=o(q,20)+f|0;e=i[a+92>>2]+(i[d+4>>2]<<2)|0;p=i[d>>2];k=i[d+12>>2];p:{if(k>>>0>3){break p}h=i[c+12>>2];n=d+16|0;if(!i[n>>2]){e=h;break p}m=d+12|0;f=0;while(1){d=sn(h,(f<<2)+e|0,k);k=i[m>>2];h=d+k|0;f=f+1|0;if(f>>>0 >2]){continue}break}e=i[c+12>>2]}f=i[c+28>>2];f=j[p+84|0]?f:i[i[p+68>>2]+(f<<2)>>2];if(f>>>0>=l[p+80>>2]){break o}d=i[p+40>>2];sn(i[i[p>>2]>>2]+o(d,f)|0,e,d);q=q+1|0;f=i[c+16>>2];if(q>>>0<(i[c+20>>2]-f|0)/20>>>0){continue}break}}i[c+28>>2]=i[c+28>>2]+1;i[a+8>>2]=i[a+8>>2]+1;A=A+1|0;if((A|0)==(t|0)){break e}f=i[a+12>>2];continue}}f=i[g+28>>2];if(f){continue}break}m=1}b=i[g+24>>2];a=(b>>>0)/341|0;f=i[g+12>>2];h=i[g+16>>2];q:{if((f|0)==(h|0)){break q}e=(a<<2)+f|0;k=i[e>>2]+o(b-o(a,341)|0,12)|0;b=b+i[g+28>>2]|0;a=(b>>>0)/341|0;a=i[(a<<2)+f>>2]+o(b-o(a,341)|0,12)|0;if((k|0)==(a|0)){break q}while(1){k=k+12|0;if((k-i[e>>2]|0)==4092){k=i[e+4>>2];e=e+4|0}if((a|0)!=(k|0)){continue}break}}i[g+28>>2]=0;k=h-f>>2;if(k>>>0>2){while(1){qn(i[f>>2]);f=i[g+12>>2]+4|0;i[g+12>>2]=f;h=i[g+16>>2];k=h-f>>2;if(k>>>0>2){continue}break}}e=170;r:{switch(k+ -1|0){case 1:e=341;case 0:i[g+24>>2]=e;break;default:break r}}s:{if((f|0)==(h|0)){break s}while(1){qn(i[f>>2]);f=f+4|0;if((h|0)!=(f|0)){continue}break}b=i[g+16>>2];a=i[g+12>>2];if((b|0)==(a|0)){break s}i[g+16>>2]=b+(((b-a|0)+ -4>>>2^-1)<<2)}a=i[g+8>>2];if(a){qn(a)}L=g+32|0;return m}Vm();x()}Vm();x()}function Rc(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,j=0,k=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0,A=0,B=0,C=0,D=0;j=L+ -64|0;L=j;i[a+8>>2]=e;f=a+32|0;k=i[f>>2];d=i[a+36>>2]-k>>2;a:{if(d>>>0 >>0){Ta(f,e-d|0);break a}if(d>>>0<=e>>>0){break a}i[a+36>>2]=k+(e<<2)}i[j+56>>2]=0;i[j+60>>2]=0;i[j+48>>2]=0;i[j+52>>2]=0;i[j+40>>2]=0;i[j+44>>2]=0;f=j+32|0;i[f>>2]=0;i[f+4>>2]=0;i[j+24>>2]=0;i[j+28>>2]=0;i[j+16>>2]=0;i[j+20>>2]=0;i[j>>2]=0;d=0;if(e){Va(j+16|0,e,j);h=i[j+28>>2];d=i[f>>2]}i[j>>2]=0;d=d-h>>2;b:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break b}i[j+32>>2]=(e<<2)+h;break b}Va(j+16|12,e-d|0,j)}i[j>>2]=0;f=i[j+40>>2];d=i[j+44>>2]-f>>2;c:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break c}i[j+44>>2]=f+(e<<2);break c}Va(j+40|0,e-d|0,j)}i[j>>2]=0;f=i[j+52>>2];d=i[j+56>>2]-f>>2;d:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break d}i[j+56>>2]=f+(e<<2);break d}Va(j+52|0,e-d|0,j)}e:{if(i[a+8>>2]<=0){break e}g=i[j+16>>2];h=0;while(1){d=h<<2;f=i[d+g>>2];l=i[a+16>>2];f:{if((f|0)>(l|0)){k=i[a+32>>2];i[d+k>>2]=l;break f}k=i[a+32>>2];d=d+k|0;l=i[a+12>>2];if((f|0)<(l|0)){i[d>>2]=l;break f}i[d>>2]=f}h=h+1|0;d=i[a+8>>2];if((h|0)<(d|0)){continue}break}if((d|0)<1){break e}d=0;while(1){g=d<<2;f=g+c|0;g=i[b+g>>2]+i[g+k>>2]|0;i[f>>2]=g;g:{if((g|0)>i[a+16>>2]){g=g-i[a+20>>2]|0}else{if((g|0)>=i[a+12>>2]){break g}g=g+i[a+20>>2]|0}i[f>>2]=g}d=d+1|0;if((d|0)>2]){continue}break}}A=i[a+52>>2];q=i[a+48>>2];u=Gm(16);d=u;i[d>>2]=0;i[d+4>>2]=0;i[d+8>>2]=0;i[d+12>>2]=0;i[j+8>>2]=0;i[j>>2]=0;i[j+4>>2]=0;h:{if(e){if(e>>>0>=1073741824){break h}d=e<<2;t=Gm(d);i[j>>2]=t;f=d+t|0;i[j+8>>2]=f;tn(t,0,d);i[j+4>>2]=f}d=1;f=i[a+56>>2];z=i[f>>2];f=i[f+4>>2]-z|0;i:{if((f|0)<5){break i}d=f>>2;B=(d|0)>2?d:2;C=d>>>0>1?d:1;D=e<<2;l=1;while(1){j:{k:{l:{if((l|0)!=(C|0)){m:{n:{k=i[(l<<2)+z>>2];if((k|0)==-1){break n}n=k+((k>>>0)%3|0?-1:2)|0;v=n>>>5|0;m=1;w=1<<(n&31);y=i[q>>2];f=0;d=k;o:{while(1){p:{if(i[y+(d>>>3&536870908)>>2]>>>(d&31)&1){break p}g=i[i[i[q+64>>2]+12>>2]+(d<<2)>>2];if((g|0)==-1){break p}r=i[A>>2];h=i[q+28>>2];s=i[r+(i[h+(g<<2)>>2]<<2)>>2];if((s|0)>=(l|0)){break p}p=g+1|0;p=i[r+(i[h+(((p>>>0)%3|0?p:g+ -2|0)<<2)>>2]<<2)>>2];if((p|0)>=(l|0)){break p}g=i[r+(i[h+(g+((g>>>0)%3|0?-1:2)<<2)>>2]<<2)>>2];if((g|0)>=(l|0)){break p}if((e|0)>=1){r=i[(j+16|0)+o(f,12)>>2];g=o(e,g);p=o(e,p);s=o(e,s);h=0;while(1){i[r+(h<<2)>>2]=(i[(g+h<<2)+c>>2]+i[(h+p<<2)+c>>2]|0)-i[(h+s<<2)+c>>2];h=h+1|0;if((h|0)!=(e|0)){continue}break}}g=4;f=f+1|0;if((f|0)==4){break o}}q:{if(m&1){h=-1;g=d+1|0;d=(g>>>0)%3|0?g:d+ -2|0;if((d|0)==-1|i[i[q>>2]+(d>>>3&536870908)>>2]>>>(d&31)&1){break q}d=i[i[i[q+64>>2]+12>>2]+(d<<2)>>2];if((d|0)==-1){break q}g=d+1|0;h=(g>>>0)%3|0?g:d+ -2|0;break q}h=-1;d=((d>>>0)%3|0?-1:2)+d|0;if((d|0)==-1|i[i[q>>2]+(d>>>3&536870908)>>2]>>>(d&31)&1){break q}d=i[i[i[q+64>>2]+12>>2]+(d<<2)>>2];if((d|0)==-1){break q}if((d>>>0)%3|0){h=d+ -1|0;break q}h=d+2|0}r:{if((h|0)==(k|0)){break r}d=h;g=(h|0)!=-1;h=(g|m^-1)&1;d=h?d:-1;m=g&m;if(!((n|0)==-1|h)){if(i[i[q>>2]+(v<<2)>>2]&w){break r}g=i[i[i[q+64>>2]+12>>2]+(n<<2)>>2];if((g|0)==-1){break r}m=0;if((g>>>0)%3|0){d=g+ -1|0}else{d=g+2|0}}if((d|0)!=-1){continue}}break}g=f;if((g|0)<1){break n}}n=(e|0)<1;if(!n){tn(t,0,D)}d=g+ -1|0;m=(d<<2)+u|0;d=o(d,12)+a|0;r=d+60|0;v=i[d- -64>>2];d=0;w=i[j>>2];k=0;f=0;while(1){h=i[m>>2];i[m>>2]=h+1;if(v>>>0<=h>>>0){break i}s:{if(i[i[r>>2]+(h>>>3&536870908)>>2]>>>(h&31)&1){break s}f=f+1|0;if(n){break s}y=i[(j+16|0)+o(k,12)>>2];h=0;while(1){s=h<<2;p=s+w|0;i[p>>2]=i[p>>2]+i[s+y>>2];h=h+1|0;if((h|0)!=(e|0)){continue}break}}k=k+1|0;if((g|0)!=(k|0)){continue}break}m=o(e,l);g=m;if(!f){break m}h=0;if((e|0)>0){break l}break k}g=o(e,l)}if(i[a+8>>2]<1){break j}m=(o(l+ -1|0,e)<<2)+c|0;h=0;while(1){d=h<<2;f=i[d+m>>2];n=i[a+16>>2];t:{if((f|0)>(n|0)){k=i[a+32>>2];i[d+k>>2]=n;break t}k=i[a+32>>2];d=d+k|0;n=i[a+12>>2];if((f|0)<(n|0)){i[d>>2]=n;break t}i[d>>2]=f}h=h+1|0;f=i[a+8>>2];if((h|0)<(f|0)){continue}break}d=0;if((f|0)<1){break j}f=g<<2;h=f+c|0;m=b+f|0;while(1){g=d<<2;f=g+h|0;g=i[g+m>>2]+i[g+k>>2]|0;i[f>>2]=g;u:{if((g|0)>i[a+16>>2]){g=g-i[a+20>>2]|0}else{if((g|0)>=i[a+12>>2]){break u}g=g+i[a+20>>2]|0}i[f>>2]=g}d=d+1|0;if((d|0)>2]){continue}break}break j}Wm();x()}while(1){d=(h<<2)+t|0;i[d>>2]=i[d>>2]/(f|0);h=h+1|0;if((h|0)!=(e|0)){continue}break}}if(i[a+8>>2]<1){break j}h=0;while(1){d=h<<2;f=i[d+t>>2];g=i[a+16>>2];v:{if((f|0)>(g|0)){k=i[a+32>>2];i[d+k>>2]=g;break v}k=i[a+32>>2];d=d+k|0;g=i[a+12>>2];if((f|0)<(g|0)){i[d>>2]=g;break v}i[d>>2]=f}h=h+1|0;f=i[a+8>>2];if((h|0)<(f|0)){continue}break}d=0;if((f|0)<1){break j}f=m<<2;h=f+c|0;m=b+f|0;while(1){g=d<<2;f=g+h|0;g=i[g+m>>2]+i[g+k>>2]|0;i[f>>2]=g;w:{if((g|0)>i[a+16>>2]){g=g-i[a+20>>2]|0}else{if((g|0)>=i[a+12>>2]){break w}g=g+i[a+20>>2]|0}i[f>>2]=g}d=d+1|0;if((d|0)>2]){continue}break}}d=1;l=l+1|0;if((B|0)!=(l|0)){continue}break}}a=i[j>>2];if(a){i[j+4>>2]=a;qn(a)}qn(u);a=i[j+52>>2];if(a){i[j+56>>2]=a;qn(a)}a=i[j+40>>2];if(a){i[j+44>>2]=a;qn(a)}a=i[j+28>>2];if(a){i[j+32>>2]=a;qn(a)}a=i[j+16>>2];if(a){i[j+20>>2]=a;qn(a)}L=j- -64|0;return d|0}Vm();x()}function yd(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,j=0,k=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0,A=0,B=0,C=0,D=0;h=L+ -64|0;L=h;i[a+8>>2]=e;f=a+32|0;k=i[f>>2];d=i[a+36>>2]-k>>2;a:{if(d>>>0 >>0){Ta(f,e-d|0);break a}if(d>>>0<=e>>>0){break a}i[a+36>>2]=k+(e<<2)}i[h+56>>2]=0;i[h+60>>2]=0;i[h+48>>2]=0;i[h+52>>2]=0;i[h+40>>2]=0;i[h+44>>2]=0;d=h+32|0;i[d>>2]=0;i[d+4>>2]=0;i[h+24>>2]=0;i[h+28>>2]=0;i[h+16>>2]=0;i[h+20>>2]=0;i[h>>2]=0;f=0;if(e){Va(h+16|0,e,h);j=i[h+28>>2];f=i[d>>2]}i[h>>2]=0;d=f-j>>2;b:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break b}i[h+32>>2]=(e<<2)+j;break b}Va(h+16|12,e-d|0,h)}i[h>>2]=0;f=i[h+40>>2];d=i[h+44>>2]-f>>2;c:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break c}i[h+44>>2]=f+(e<<2);break c}Va(h+40|0,e-d|0,h)}i[h>>2]=0;f=i[h+52>>2];d=i[h+56>>2]-f>>2;d:{if(d>>>0>=e>>>0){if(d>>>0<=e>>>0){break d}i[h+56>>2]=f+(e<<2);break d}Va(h+52|0,e-d|0,h)}e:{if(i[a+8>>2]<=0){break e}g=i[h+16>>2];j=0;while(1){d=j<<2;f=i[d+g>>2];m=i[a+16>>2];f:{if((f|0)>(m|0)){k=i[a+32>>2];i[d+k>>2]=m;break f}k=i[a+32>>2];d=d+k|0;m=i[a+12>>2];if((f|0)<(m|0)){i[d>>2]=m;break f}i[d>>2]=f}j=j+1|0;d=i[a+8>>2];if((j|0)<(d|0)){continue}break}if((d|0)<1){break e}f=0;while(1){g=f<<2;d=g+c|0;g=i[b+g>>2]+i[g+k>>2]|0;i[d>>2]=g;g:{if((g|0)>i[a+16>>2]){g=g-i[a+20>>2]|0}else{if((g|0)>=i[a+12>>2]){break g}g=g+i[a+20>>2]|0}i[d>>2]=g}f=f+1|0;if((f|0)>2]){continue}break}}A=i[a+52>>2];y=i[a+48>>2];w=Gm(16);d=w;i[d>>2]=0;i[d+4>>2]=0;i[d+8>>2]=0;i[d+12>>2]=0;i[h+8>>2]=0;i[h>>2]=0;i[h+4>>2]=0;h:{if(e){if(e>>>0>=1073741824){break h}d=e<<2;s=Gm(d);i[h>>2]=s;f=d+s|0;i[h+8>>2]=f;tn(s,0,d);i[h+4>>2]=f}k=1;d=i[a+56>>2];z=i[d>>2];d=i[d+4>>2]-z|0;i:{if((d|0)<5){break i}d=d>>2;B=(d|0)>2?d:2;C=d>>>0>1?d:1;D=e<<2;m=1;while(1){j:{k:{l:{if((m|0)!=(C|0)){m:{n:{k=i[(m<<2)+z>>2];if((k|0)==-1){break n}n=i[y+12>>2];u=k+((k>>>0)%3|0?-1:2)|0;v=n+(u<<2)|0;l=1;f=0;d=k;o:{while(1){g=i[n+(d<<2)>>2];p:{if((g|0)==-1){break p}j=-1;r=i[A>>2];p=i[y>>2];t=i[r+(i[p+(g<<2)>>2]<<2)>>2];q=g+1|0;q=(q>>>0)%3|0?q:g+ -2|0;if((q|0)!=-1){q=i[p+(q<<2)>>2]}else{q=-1}g=g+((g>>>0)%3|0?-1:2)|0;if((g|0)!=-1){j=i[p+(g<<2)>>2]}if((t|0)>=(m|0)){break p}g=i[(q<<2)+r>>2];if((g|0)>=(m|0)){break p}j=i[r+(j<<2)>>2];if((j|0)>=(m|0)){break p}p=i[(h+16|0)+o(f,12)>>2];if((e|0)>=1){r=o(e,j);g=o(e,g);t=o(e,t);j=0;while(1){i[p+(j<<2)>>2]=(i[(j+r<<2)+c>>2]+i[(g+j<<2)+c>>2]|0)-i[(j+t<<2)+c>>2];j=j+1|0;if((j|0)!=(e|0)){continue}break}}g=4;f=f+1|0;if((f|0)==4){break o}}q:{if(l&1){p=d+1|0;d=(p>>>0)%3|0?p:d+ -2|0;g=-1;if((d|0)==-1){break q}d=i[n+(d<<2)>>2];g=-1;if((d|0)==-1){break q}g=d+1|0;g=(g>>>0)%3|0?g:d+ -2|0;break q}d=((d>>>0)%3|0?-1:2)+d|0;g=-1;if((d|0)==-1){break q}d=i[n+(d<<2)>>2];g=-1;if((d|0)==-1){break q}g=d+ -1|0;if((d>>>0)%3|0){break q}g=d+2|0}r:{if((g|0)==(k|0)){break r}d=g;g=(g|0)!=-1;j=(g|l^-1)&1;d=j?d:-1;l=g&l;if(!((u|0)==-1|j)){g=i[v>>2];if((g|0)==-1){break r}l=0;if((g>>>0)%3|0){d=g+ -1|0}else{d=g+2|0}}if((d|0)!=-1){continue}}break}g=f;if((g|0)<1){break n}}n=(e|0)<1;if(!n){tn(s,0,D)}d=g+ -1|0;l=(d<<2)+w|0;d=o(d,12)+a|0;p=d+60|0;r=i[d- -64>>2];k=0;t=i[h>>2];d=0;f=0;while(1){j=i[l>>2];i[l>>2]=j+1;if(r>>>0<=j>>>0){break i}s:{if(i[i[p>>2]+(j>>>3&536870908)>>2]>>>(j&31)&1){break s}f=f+1|0;if(n){break s}q=i[(h+16|0)+o(d,12)>>2];j=0;while(1){u=j<<2;v=u+t|0;i[v>>2]=i[v>>2]+i[q+u>>2];j=j+1|0;if((j|0)!=(e|0)){continue}break}}d=d+1|0;if((g|0)!=(d|0)){continue}break}g=o(e,m);d=g;if(!f){break m}j=0;if((e|0)>0){break l}break k}d=o(e,m)}if(i[a+8>>2]<1){break j}l=(o(m+ -1|0,e)<<2)+c|0;j=0;while(1){f=j<<2;g=i[f+l>>2];n=i[a+16>>2];t:{if((g|0)>(n|0)){k=i[a+32>>2];i[f+k>>2]=n;break t}k=i[a+32>>2];f=f+k|0;n=i[a+12>>2];if((g|0)<(n|0)){i[f>>2]=n;break t}i[f>>2]=g}j=j+1|0;g=i[a+8>>2];if((j|0)<(g|0)){continue}break}f=0;if((g|0)<1){break j}d=d<<2;j=d+c|0;l=b+d|0;while(1){g=f<<2;d=g+j|0;g=i[g+l>>2]+i[g+k>>2]|0;i[d>>2]=g;u:{if((g|0)>i[a+16>>2]){g=g-i[a+20>>2]|0}else{if((g|0)>=i[a+12>>2]){break u}g=g+i[a+20>>2]|0}i[d>>2]=g}f=f+1|0;if((f|0)>2]){continue}break}break j}Wm();x()}while(1){d=(j<<2)+s|0;i[d>>2]=i[d>>2]/(f|0);j=j+1|0;if((j|0)!=(e|0)){continue}break}}if(i[a+8>>2]<1){break j}j=0;while(1){d=j<<2;f=i[d+s>>2];l=i[a+16>>2];v:{if((f|0)>(l|0)){k=i[a+32>>2];i[d+k>>2]=l;break v}k=i[a+32>>2];d=d+k|0;l=i[a+12>>2];if((f|0)<(l|0)){i[d>>2]=l;break v}i[d>>2]=f}j=j+1|0;d=i[a+8>>2];if((j|0)<(d|0)){continue}break}f=0;if((d|0)<1){break j}d=g<<2;j=d+c|0;l=b+d|0;while(1){g=f<<2;d=g+j|0;g=i[g+l>>2]+i[g+k>>2]|0;i[d>>2]=g;w:{if((g|0)>i[a+16>>2]){g=g-i[a+20>>2]|0}else{if((g|0)>=i[a+12>>2]){break w}g=g+i[a+20>>2]|0}i[d>>2]=g}f=f+1|0;if((f|0)>2]){continue}break}}k=1;m=m+1|0;if((B|0)!=(m|0)){continue}break}}a=i[h>>2];if(a){i[h+4>>2]=a;qn(a)}qn(w);a=i[h+52>>2];if(a){i[h+56>>2]=a;qn(a)}a=i[h+40>>2];if(a){i[h+44>>2]=a;qn(a)}a=i[h+28>>2];if(a){i[h+32>>2]=a;qn(a)}a=i[h+16>>2];if(a){i[h+20>>2]=a;qn(a)}L=h- -64|0;return k|0}Vm();x()}function Hl(a,b,c){var d=0,e=0,f=0,g=0,h=0,j=0,k=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0,A=0;f=L-32|0;L=f;g=i[a+12>>2];i[f+16>>2]=0;i[f+8>>2]=0;i[f+12>>2]=0;a:{if(g){if(g>>>0>=1073741824){break a}d=g<<2;e=Gm(d);i[f+8>>2]=e;h=d+e|0;i[f+16>>2]=h;tn(e,0,d);i[f+12>>2]=h}d=i[a+120>>2];j=i[d>>2];if(j){i[d+4>>2]=j;qn(j);i[d+8>>2]=0;i[d>>2]=0;i[d+4>>2]=0;h=i[f+12>>2];g=i[a+12>>2];e=i[f+8>>2]}i[d+4>>2]=h;i[d>>2]=e;i[d+8>>2]=i[f+16>>2];e=0;i[f+16>>2]=0;i[f+8>>2]=0;i[f+12>>2]=0;b:{if(g){if(g>>>0>=1073741824){break b}d=g<<2;k=Gm(d);i[f+8>>2]=k;e=d+k|0;i[f+16>>2]=e;tn(k,0,d);i[f+12>>2]=e}d=i[a+132>>2];j=i[d>>2];if(j){i[d+4>>2]=j;qn(j);i[d+8>>2]=0;i[d>>2]=0;i[d+4>>2]=0;k=i[f+8>>2];e=i[f+12>>2]}i[d+4>>2]=e;i[d>>2]=k;i[d+8>>2]=i[f+16>>2];e=f+24|0;i[e>>2]=0;i[e+4>>2]=0;j=f+16|0;i[j>>2]=0;i[j+4>>2]=0;i[f+8>>2]=0;i[f+12>>2]=0;Pb(f+8|0);g=i[j>>2];j=i[f+12>>2];d=0;c:{if((g|0)==(j|0)){break c}d=i[e>>2]+i[f+28>>2]|0;e=(d>>>0)/341|0;d=i[j+(e<<2)>>2]+o(d-o(e,341)|0,12)|0}i[d+4>>2]=0;i[d+8>>2]=0;i[d>>2]=b;d=i[f+28>>2];g=d+1|0;i[f+28>>2]=g;d:{if(g>>>0 >>0){break d}y=a+96|0;while(1){k=i[f+12>>2];g=g+ -1|0;d=g+i[f+24>>2]|0;e=(d>>>0)/341|0;e=i[k+(e<<2)>>2]+o(d-o(e,341)|0,12)|0;s=i[e+8>>2];h=i[e+4>>2];j=i[e>>2];i[f+28>>2]=g;e=i[f+16>>2];g=e-k|0;if((g?o(g>>2,341)+ -1|0:0)-d>>>0>=682){qn(i[e+ -4>>2]);i[f+16>>2]=i[f+16>>2]+ -4}if(j>>>0>b>>>0){break d}d=i[a+120>>2];g=o(s,12);n=g+i[a+132>>2]|0;k=xl(a,n,h);if(k>>>0>=l[a+12>>2]){break d}h=d+g|0;e:{f:{p=k<<2;d=i[a>>2]-i[p+i[n>>2]>>2]|0;if(!d){g=0;if(!j){break f}while(1){Ol(c,h);i[a+8>>2]=i[a+8>>2]+1;g=g+1|0;if((j|0)!=(g|0)){continue}break}break f}g:{h:{i:{j:{if(j>>>0<=2){d=i[a+108>>2];i[d>>2]=k;e=1;g=i[a+12>>2];if(g>>>0>1){break j}break g}if(l[a+8>>2]>l[a+4>>2]){break d}e=1< >2];t=s+1|0;n=o(t,12);m=d+n|0;if((m|0)!=(h|0)){wa(m,i[h>>2],i[h+4>>2]);d=i[a+120>>2]}d=p+i[d+n>>2]|0;i[d>>2]=e+i[d>>2];d=r(j)^31;e=i[a+32>>2];m=32-e|0;k:{if((d|0)<=(m|0)){h=i[a+28>>2];if((h|0)==i[a+20>>2]){e=0;break k}m=i[h>>2];q=d+e|0;i[a+32>>2]=q;e=m< >>32-d|0;if((q|0)!=32){break k}i[a+32>>2]=0;i[a+28>>2]=h+4;break k}h=i[a+28>>2];q=h+4|0;if((q|0)==i[a+20>>2]){e=0;break k}v=i[h>>2];i[a+28>>2]=q;m=d-m|0;i[a+32>>2]=m;e=i[h+4>>2]>>>32-m|v< >>32-d}d=(j>>>1|0)-e|0;e=j-d|0;l:{if((e|0)==(d|0)){e=d;break l}j=i[a+88>>2];if((j|0)==i[a+80>>2]){break i}h=i[j>>2];m=i[a+92>>2];q=m+1|0;i[a+92>>2]=q;h=h&-2147483648>>>m;m:{if((q|0)==32){i[a+92>>2]=0;i[a+88>>2]=j+4;if(h){break m}break i}if(!h){break i}}}j=e;e=d;break h}while(1){k=(g+ -1|0)==(k|0)?0:k+1|0;i[d+(e<<2)>>2]=k;e=e+1|0;g=i[a+12>>2];if(e>>>0 >>0){continue}break}break g}j=d}d=i[a+132>>2];g=d+g|0;h=i[g>>2];p=h+p|0;i[p>>2]=i[p>>2]+1;wa(d+n|0,h,i[g+4>>2]);if(e){h=i[f+28>>2]+i[f+24>>2]|0;d=i[f+16>>2];g=i[f+12>>2];n=d-g|0;if((h|0)==((n?o(n>>2,341)+ -1|0:0)|0)){Pb(f+8|0);h=i[f+24>>2]+i[f+28>>2]|0;g=i[f+12>>2];d=i[f+16>>2]}if((d|0)==(g|0)){d=0}else{d=(h>>>0)/341|0;d=i[(d<<2)+g>>2]+o(h-o(d,341)|0,12)|0}i[d+8>>2]=s;i[d+4>>2]=k;i[d>>2]=e;i[f+28>>2]=i[f+28>>2]+1}if(!j){break f}e=i[f+28>>2]+i[f+24>>2]|0;h=i[f+16>>2];g=i[f+12>>2];d=h-g|0;if((e|0)==((d?o(d>>2,341)+ -1|0:0)|0)){Pb(f+8|0);h=i[f+16>>2];g=i[f+12>>2];e=i[f+24>>2]+i[f+28>>2]|0}d=0;n:{if((g|0)==(h|0)){break n}d=(e>>>0)/341|0;d=i[(d<<2)+g>>2]+o(e-o(d,341)|0,12)|0}i[d+8>>2]=t;i[d+4>>2]=k;i[d>>2]=j;g=i[f+28>>2]+1|0;i[f+28>>2]=g;break e}if(!j){break f}s=0;while(1){if(g){q=i[h>>2];v=i[n>>2];k=i[a+96>>2];z=i[a+108>>2];g=0;while(1){p=z+(g<<2)|0;i[k+(i[p>>2]<<2)>>2]=0;e=i[p>>2]<<2;d=i[a>>2]-i[e+v>>2]|0;o:{if(!d){break o}e=e+k|0;t=i[a+52>>2];u=32-t|0;if((d|0)<=(u|0)){m=i[a+48>>2];if((m|0)==i[a+40>>2]){i[e>>2]=0;break o}i[e>>2]=i[m>>2]< >>32-d;d=d+i[a+52>>2]|0;i[a+52>>2]=d;if((d|0)!=32){break o}i[a+52>>2]=0;i[a+48>>2]=m+4;break o}m=i[a+48>>2];w=m+4|0;if((w|0)==i[a+40>>2]){i[e>>2]=0;break o}A=i[m>>2];i[a+48>>2]=w;u=d-u|0;i[a+52>>2]=u;i[e>>2]=i[m+4>>2]>>>32-u|A< >>32-d}d=i[p>>2]<<2;e=d+k|0;i[e>>2]=i[e>>2]|i[d+q>>2];g=g+1|0;if(g>>>0 >2]){continue}break}}Ol(c,y);i[a+8>>2]=i[a+8>>2]+1;s=s+1|0;if((s|0)==(j|0)){break f}g=i[a+12>>2];continue}}g=i[f+28>>2]}if(g){continue}break}}b=i[f+24>>2];c=(b>>>0)/341|0;a=i[f+12>>2];k=i[f+16>>2];p:{if((a|0)==(k|0)){break p}e=(c<<2)+a|0;g=i[e>>2]+o(b-o(c,341)|0,12)|0;b=b+i[f+28>>2]|0;c=(b>>>0)/341|0;b=i[(c<<2)+a>>2]+o(b-o(c,341)|0,12)|0;if((g|0)==(b|0)){break p}while(1){g=g+12|0;if((g-i[e>>2]|0)==4092){g=i[e+4>>2];e=e+4|0}if((b|0)!=(g|0)){continue}break}}i[f+28>>2]=0;g=k-a>>2;if(g>>>0>2){while(1){qn(i[a>>2]);a=i[f+12>>2]+4|0;i[f+12>>2]=a;k=i[f+16>>2];g=k-a>>2;if(g>>>0>2){continue}break}}e=170;q:{switch(g+ -1|0){case 1:e=341;case 0:i[f+24>>2]=e;break;default:break q}}r:{if((a|0)==(k|0)){break r}while(1){qn(i[a>>2]);a=a+4|0;if((k|0)!=(a|0)){continue}break}a=i[f+16>>2];b=i[f+12>>2];if((a|0)==(b|0)){break r}i[f+16>>2]=a+(((a-b|0)+ -4>>>2^-1)<<2)}a=i[f+8>>2];if(a){qn(a)}L=f+32|0;return}Vm();x()}Vm();x()}function Db(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,h=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=L-720|0;L=e;a:{b:{c:{d:{e:{f:{if(k[b+38>>1]>=515){i[e+680>>2]=0;i[e+672>>2]=0;i[e+676>>2]=0;if((O[i[i[a>>2]+24>>2]](a)|0)<1){break d}s=a+36|0;p=e+24|0;while(1){c=O[i[i[a>>2]+20>>2]](a,f)|0;d=i[i[i[(O[i[i[a>>2]+28>>2]](a)|0)+4>>2]+8>>2]+(c<<2)>>2];if(i[d+28>>2]==9){h=i[e+672>>2];c=i[e+676>>2]-h>>2;q=g[d+24|0];g:{if(c>>>0 >>0){pa(e+672|0,q-c|0);break g}if(c>>>0<=q>>>0){break g}i[e+676>>2]=h+(q<<2)}d=i[b+12>>2];c=i[b+20>>2];m=i[b+16>>2];n=q<<2;h=n;t=m+h|0;if(t>>>0>>0){c=c+1|0}if((d|0)<(c|0)?1:(d|0)<=(c|0)?l[b+8>>2] >>0:0){break b}sn(i[e+672>>2],m+i[b>>2]|0,n);c=b;r=c;d=i[c+20>>2];m=h+i[c+16>>2]|0;if(m>>>0 >>0){d=d+1|0}h=m;i[r+16>>2]=h;i[c+20>>2]=d;r=i[b+12>>2];n=r;c=d;m=h+4|0;if(m>>>0<4){d=d+1|0}t=i[b+8>>2];if((n|0)<(d|0)?1:(n|0)<=(d|0)?t>>>0 >>0:0){break b}u=i[b>>2];n=u+h|0;n=j[n|0]|j[n+1|0]<<8|(j[n+2|0]<<16|j[n+3|0]<<24);i[b+16>>2]=m;i[b+20>>2]=d;if((r|0)<(d|0)?1:(r|0)<=(d|0)?t>>>0<=m>>>0:0){break b}m=j[m+u|0];h=h+5|0;if(h>>>0<5){c=c+1|0}d=b;i[d+16>>2]=h;i[d+20>>2]=c;if(m>>>0>31){break b}i[e+20>>2]=-1;i[e+16>>2]=1140;c=p;i[c+8>>2]=0;i[c+12>>2]=0;i[c>>2]=0;i[c+4>>2]=0;c=0;h:{if(!va(e+16|0,m,i[e+672>>2],q,(Sn(2,n),Tn()))){break h}if(!Ea(e+16|0,i[i[a+60>>2]+((i[a+40>>2]-i[a+36>>2]|0)/24<<2)>>2])){break h}c=i[a+40>>2];i:{if((c|0)!=i[a+44>>2]){i[c>>2]=1140;d=i[e+20>>2];i[c+16>>2]=0;i[c+8>>2]=0;i[c+12>>2]=0;i[c+4>>2]=d;d=i[e+28>>2]-i[e+24>>2]|0;if(d){h=d>>2;if(h>>>0>=1073741824){break f}d=Gm(d);i[c+8>>2]=d;i[c+12>>2]=d;i[c+16>>2]=d+(h<<2);h=c;m=i[e+24>>2];q=i[e+28>>2]-m|0;if((q|0)>=1){d=sn(d,m,q)+q|0}i[h+12>>2]=d}i[c+20>>2]=i[e+36>>2];i[a+40>>2]=c+24;break i}Eb(s,e+16|0)}c=1}i[e+16>>2]=1140;d=i[e+24>>2];if(d){i[e+28>>2]=d;qn(d)}if(!c){break c}}f=f+1|0;if((f|0)<(O[i[i[a>>2]+24>>2]](a)|0)){continue}break}break d}m=O[i[i[a>>2]+24>>2]](a)|0;i[e+712>>2]=0;i[e+704>>2]=0;i[e+708>>2]=0;j:{k:{if(!m){break k}if(m>>>0>=214748365){break e}d=o(m,20);c=Gm(d);i[e+704>>2]=c;i[e+708>>2]=c;d=c+d|0;i[e+712>>2]=d;f=c;while(1){i[f>>2]=0;i[f+4>>2]=0;i[f+16>>2]=0;i[f+8>>2]=0;i[f+12>>2]=0;f=f+20|0;if((d|0)!=(f|0)){continue}break}i[e+708>>2]=d;if(!m){break k}d=0;while(1){f=O[i[i[a>>2]+20>>2]](a,d)|0;p=i[i[i[(O[i[i[a>>2]+28>>2]](a)|0)+4>>2]+8>>2]+(f<<2)>>2];h=i[p+28>>2];f=Hh(h);n=(f|0)>0?f:0;if(n>>>0>4){break j}f=c+o(d,20)|0;r=g[p+24|0];i[f+16>>2]=r;i[f+12>>2]=n;i[f+8>>2]=h;i[f+4>>2]=q;i[f>>2]=p;q=q+r|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}}c=O[i[i[a>>2]+20>>2]](a,0)|0;t=i[i[i[(O[i[i[a>>2]+28>>2]](a)|0)+4>>2]+8>>2]+(c<<2)>>2];g[t+84|0]=1;i[t+72>>2]=i[t+68>>2];r=i[b+8>>2];n=i[b+16>>2];f=i[b+12>>2];d=f;c=i[b+20>>2];if((d|0)<(c|0)?1:(d|0)<=(c|0)?r>>>0<=n>>>0:0){break j}u=i[b>>2];w=j[u+n|0];h=b;d=c;p=n+1|0;if(p>>>0<1){d=d+1|0}s=p;p=d;i[h+16>>2]=s;i[h+20>>2]=d;l:{m:{switch(w|0){case 0:if((f|0)<(p|0)?1:(f|0)<=(p|0)?r>>>0<=s>>>0:0){break j}a=c;p=n+2|0;if(p>>>0<2){a=a+1|0}d=b;i[d+16>>2]=p;i[d+20>>2]=a;a=n+6|0;if(a>>>0<6){c=c+1|0}d=a;a=c;if((f|0)<(c|0)?1:(f|0)<=(c|0)?r>>>0 >>0:0){break j}c=p+u|0;c=j[c|0]|j[c+1|0]<<8|(j[c+2|0]<<16|j[c+3|0]<<24);i[b+16>>2]=d;i[b+20>>2]=a;Ma(t,c);a=e+672|0;i[a+20>>2]=0;i[a+12>>2]=0;i[a+16>>2]=0;i[a>>2]=0;i[a+4>>2]=0;i[a+20>>2]=c;c=a;a=fb(e+16|0,e+704|0);c=Fb(c,b,a);b=i[a+16>>2];if(b){i[a+20>>2]=b;qn(b)}b=i[a>>2];if(b){i[a+4>>2]=b;qn(b)}if(c){break l}break j;case 1:break m;default:break j}}if((f|0)<(p|0)?1:(f|0)<=(p|0)?r>>>0<=s>>>0:0){break j}h=j[s+u|0];d=c;s=n+2|0;if(s>>>0<2){d=d+1|0}i[b+16>>2]=s;i[b+20>>2]=d;if(h>>>0>=7){i[e>>2]=h;zn(1620,e);break j}d=n+6|0;if(d>>>0<6){c=c+1|0}p=d;d=c;if((f|0)<(c|0)?1:(f|0)<=(c|0)?r>>>0 >>0:0){break j}c=s+u|0;f=j[c|0]|j[c+1|0]<<8|(j[c+2|0]<<16|j[c+3|0]<<24);i[b+16>>2]=p;i[b+20>>2]=d;if(m){d=0;while(1){c=O[i[i[a>>2]+20>>2]](a,d)|0;c=i[i[i[(O[i[i[a>>2]+28>>2]](a)|0)+4>>2]+8>>2]+(c<<2)>>2];Ma(c,f);g[c+84|0]=1;i[c+72>>2]=i[c+68>>2];d=d+1|0;if((m|0)!=(d|0)){continue}break}}a=0;c=fb(e+672|0,e+704|0);n:{o:{p:{switch(h|0){case 0:d=ib(e+16|0,q);b=gb(d,b,c);hb(d);if(b){break o}break n;case 1:d=ib(e+16|0,q);b=jb(d,b,c);hb(d);if(b){break o}break n;case 2:d=mb(e+16|0,q);b=kb(d,b,c);lb(d);if(b){break o}break n;case 3:d=mb(e+16|0,q);b=nb(d,b,c);lb(d);if(b){break o}break n;case 4:d=qb(e+16|0,q);b=ob(d,b,c);pb(d);if(b){break o}break n;case 5:d=qb(e+16|0,q);b=rb(d,b,c);pb(d);if(b){break o}break n;case 6:break p;default:break n}}d=qb(e+16|0,q);b=sb(d,b,c);pb(d);if(!b){break n}}a=1}b=i[c+16>>2];if(b){i[c+20>>2]=b;qn(b)}b=i[c>>2];if(b){i[c+4>>2]=b;qn(b)}if(!a){break j}}v=1}a=i[e+704>>2];if(!a){break a}i[e+708>>2]=a;qn(a);break a}Vm();x()}Vm();x()}v=1;if(i[a+52>>2]==i[a+48>>2]){break b}f=0;while(1){if(!Gb(1,e+16|0,b)){break c}c=i[a+48>>2];d=i[e+16>>2];i[c+(f<<2)>>2]=0-(d&1)^d>>>1;f=f+1|0;if(f>>>0>2]-c>>2>>>0){continue}break}break b}v=0}a=i[e+672>>2];if(!a){break a}i[e+676>>2]=a;qn(a)}L=e+720|0;return v|0}function Il(a,b,c){var d=0,e=0,f=0,g=0,h=0,j=0,k=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0,A=0;e=L-32|0;L=e;g=i[a+12>>2];i[e+16>>2]=0;i[e+8>>2]=0;i[e+12>>2]=0;a:{if(g){if(g>>>0>=1073741824){break a}d=g<<2;h=Gm(d);i[e+8>>2]=h;f=d+h|0;i[e+16>>2]=f;tn(h,0,d);i[e+12>>2]=f}d=i[a+120>>2];j=i[d>>2];if(j){i[d+4>>2]=j;qn(j);i[d+8>>2]=0;i[d>>2]=0;i[d+4>>2]=0;h=i[e+8>>2];g=i[a+12>>2];f=i[e+12>>2]}i[d+4>>2]=f;i[d>>2]=h;i[d+8>>2]=i[e+16>>2];h=0;i[e+16>>2]=0;i[e+8>>2]=0;i[e+12>>2]=0;b:{if(g){if(g>>>0>=1073741824){break b}d=g<<2;k=Gm(d);i[e+8>>2]=k;h=d+k|0;i[e+16>>2]=h;tn(k,0,d);i[e+12>>2]=h}d=i[a+132>>2];f=i[d>>2];if(f){i[d+4>>2]=f;qn(f);i[d+8>>2]=0;i[d>>2]=0;i[d+4>>2]=0;k=i[e+8>>2];h=i[e+12>>2]}i[d+4>>2]=h;i[d>>2]=k;i[d+8>>2]=i[e+16>>2];f=e+24|0;i[f>>2]=0;i[f+4>>2]=0;j=e+16|0;i[j>>2]=0;i[j+4>>2]=0;i[e+8>>2]=0;i[e+12>>2]=0;Pb(e+8|0);h=i[j>>2];j=i[e+12>>2];d=0;c:{if((h|0)==(j|0)){break c}d=i[f>>2]+i[e+28>>2]|0;f=(d>>>0)/341|0;d=i[j+(f<<2)>>2]+o(d-o(f,341)|0,12)|0}i[d+4>>2]=0;i[d+8>>2]=0;i[d>>2]=b;d=i[e+28>>2];g=d+1|0;i[e+28>>2]=g;d:{if(g>>>0
>>0){break d}v=a+96|0;while(1){h=i[e+12>>2];g=g+ -1|0;f=g+i[e+24>>2]|0;d=(f>>>0)/341|0;d=i[h+(d<<2)>>2]+o(f-o(d,341)|0,12)|0;q=i[d+8>>2];j=i[d+4>>2];d=i[d>>2];i[e+28>>2]=g;g=i[e+16>>2];h=g-h|0;if((h?o(h>>2,341)+ -1|0:0)-f>>>0>=682){qn(i[g+ -4>>2]);i[e+16>>2]=i[e+16>>2]+ -4}if(d>>>0>b>>>0){break d}f=i[a+12>>2];k=(j|0)==(f+ -1|0)?0:j+1|0;if(k>>>0>=f>>>0){break d}f=i[a+120>>2];g=o(q,12);j=f+g|0;e:{f:{h=k<<2;s=g+i[a+132>>2]|0;n=i[a>>2]-i[h+i[s>>2]>>2]|0;if(!n){g=0;if(!d){break f}while(1){Ol(c,j);i[a+8>>2]=i[a+8>>2]+1;g=g+1|0;if((d|0)!=(g|0)){continue}break}break f}g:{h:{i:{j:{if(d>>>0<=2){f=i[a+108>>2];i[f>>2]=k;h=1;g=i[a+12>>2];if(g>>>0>1){break j}break g}if(l[a+8>>2]>l[a+4>>2]){break d}m=f;f=g+12|0;wa(m+f|0,i[j>>2],i[j+4>>2]);f=h+i[f+i[a+120>>2]>>2]|0;i[f>>2]=i[f>>2]+(1< >2];m=32-j|0;k:{if((f|0)<=(m|0)){n=i[a+28>>2];if((n|0)==i[a+20>>2]){f=0;break k}m=i[n>>2];p=f+j|0;i[a+32>>2]=p;f=m< >>32-f|0;if((p|0)!=32){break k}i[a+32>>2]=0;i[a+28>>2]=n+4;break k}n=i[a+28>>2];p=n+4|0;if((p|0)==i[a+20>>2]){f=0;break k}s=i[n>>2];i[a+28>>2]=p;m=f-m|0;i[a+32>>2]=m;f=i[n+4>>2]>>>32-m|s< >>32-f}n=q+1|0;j=d;d=(d>>>1|0)-f|0;f=j-d|0;l:{if((f|0)==(d|0)){f=d;break l}j=i[a+88>>2];if((j|0)==i[a+80>>2]){break i}m=i[j>>2];p=i[a+92>>2];s=p+1|0;i[a+92>>2]=s;m=m&-2147483648>>>p;m:{if((s|0)==32){i[a+92>>2]=0;i[a+88>>2]=j+4;if(m){break m}break i}if(!m){break i}}}j=f;f=d;break h}while(1){k=(g+ -1|0)==(k|0)?0:k+1|0;i[f+(h<<2)>>2]=k;h=h+1|0;g=i[a+12>>2];if(h>>>0 >>0){continue}break}break g}j=d}m=h;d=i[a+132>>2];g=d+g|0;h=i[g>>2];m=m+h|0;i[m>>2]=i[m>>2]+1;wa(d+o(n,12)|0,h,i[g+4>>2]);if(f){h=i[e+28>>2]+i[e+24>>2]|0;d=i[e+16>>2];g=i[e+12>>2];m=d-g|0;if((h|0)==((m?o(m>>2,341)+ -1|0:0)|0)){Pb(e+8|0);h=i[e+24>>2]+i[e+28>>2]|0;g=i[e+12>>2];d=i[e+16>>2]}if((d|0)==(g|0)){d=0}else{d=(h>>>0)/341|0;d=i[(d<<2)+g>>2]+o(h-o(d,341)|0,12)|0}i[d+8>>2]=q;i[d+4>>2]=k;i[d>>2]=f;i[e+28>>2]=i[e+28>>2]+1}if(!j){break f}h=i[e+28>>2]+i[e+24>>2]|0;f=i[e+16>>2];g=i[e+12>>2];d=f-g|0;if((h|0)==((d?o(d>>2,341)+ -1|0:0)|0)){Pb(e+8|0);h=i[e+24>>2]+i[e+28>>2]|0;g=i[e+12>>2];f=i[e+16>>2]}d=0;n:{if((f|0)==(g|0)){break n}d=(h>>>0)/341|0;d=i[(d<<2)+g>>2]+o(h-o(d,341)|0,12)|0}i[d+8>>2]=n;i[d+4>>2]=k;i[d>>2]=j;g=i[e+28>>2]+1|0;i[e+28>>2]=g;break e}if(!d){break f}q=0;while(1){if(g){w=i[j>>2];y=i[s>>2];k=i[a+96>>2];z=i[a+108>>2];g=0;while(1){n=z+(g<<2)|0;i[k+(i[n>>2]<<2)>>2]=0;h=i[n>>2]<<2;f=i[a>>2]-i[h+y>>2]|0;o:{if(!f){break o}h=h+k|0;m=i[a+52>>2];t=32-m|0;if((f|0)<=(t|0)){p=i[a+48>>2];if((p|0)==i[a+40>>2]){i[h>>2]=0;break o}i[h>>2]=i[p>>2]< >>32-f;f=f+i[a+52>>2]|0;i[a+52>>2]=f;if((f|0)!=32){break o}i[a+52>>2]=0;i[a+48>>2]=p+4;break o}p=i[a+48>>2];u=p+4|0;if((u|0)==i[a+40>>2]){i[h>>2]=0;break o}A=i[p>>2];i[a+48>>2]=u;t=f-t|0;i[a+52>>2]=t;i[h>>2]=i[p+4>>2]>>>32-t|A< >>32-f}f=i[n>>2]<<2;h=f+k|0;i[h>>2]=i[h>>2]|i[f+w>>2];g=g+1|0;if(g>>>0 >2]){continue}break}}Ol(c,v);i[a+8>>2]=i[a+8>>2]+1;q=q+1|0;if((q|0)==(d|0)){break f}g=i[a+12>>2];continue}}g=i[e+28>>2]}if(g){continue}break}}b=i[e+24>>2];c=(b>>>0)/341|0;a=i[e+12>>2];k=i[e+16>>2];p:{if((a|0)==(k|0)){break p}h=(c<<2)+a|0;g=i[h>>2]+o(b-o(c,341)|0,12)|0;b=b+i[e+28>>2]|0;c=(b>>>0)/341|0;b=i[(c<<2)+a>>2]+o(b-o(c,341)|0,12)|0;if((g|0)==(b|0)){break p}while(1){g=g+12|0;if((g-i[h>>2]|0)==4092){g=i[h+4>>2];h=h+4|0}if((b|0)!=(g|0)){continue}break}}i[e+28>>2]=0;g=k-a>>2;if(g>>>0>2){while(1){qn(i[a>>2]);a=i[e+12>>2]+4|0;i[e+12>>2]=a;k=i[e+16>>2];g=k-a>>2;if(g>>>0>2){continue}break}}h=170;q:{switch(g+ -1|0){case 1:h=341;case 0:i[e+24>>2]=h;break;default:break q}}r:{if((a|0)==(k|0)){break r}while(1){qn(i[a>>2]);a=a+4|0;if((k|0)!=(a|0)){continue}break}a=i[e+16>>2];b=i[e+12>>2];if((a|0)==(b|0)){break r}i[e+16>>2]=a+(((a-b|0)+ -4>>>2^-1)<<2)}a=i[e+8>>2];if(a){qn(a)}L=e+32|0;return}Vm();x()}Vm();x()}function Vf(a,b){var c=0,d=0,e=0,f=0,h=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0;q=L-16|0;L=q;a:{b:{c:{d:{if(j[i[a+4>>2]+36|0]<=1){s=-1;h=i[b+12>>2];c=i[b+20>>2];e=i[b+16>>2];d=e+4|0;if(d>>>0<4){c=c+1|0}f=d;d=c;if((h|0)<(c|0)?1:(h|0)<=(c|0)?l[b+8>>2] >>0:0){break c}c=e+i[b>>2]|0;r=j[c|0]|j[c+1|0]<<8|(j[c+2|0]<<16|j[c+3|0]<<24);i[q+12>>2]=r;i[b+16>>2]=f;i[b+20>>2]=d;break d}s=-1;if(!Rf(1,q+12|0,b)){break c}r=i[q+12>>2]}e:{f:{g:{h:{i:{j:{if(!r){break j}c=i[a+8>>2];if(r>>>0>(i[c+4>>2]-i[c>>2]>>2>>>0)/3>>>0){break c}c=k[i[a+4>>2]+36>>1];if((c<<24|c<<8&16711680)>>>16>>>0>=258){u=a+36|0;h=0;k:{l:{while(1){if(!Rf(1,q+8|0,b)){break c}c=i[q+8>>2];if(!Rf(1,q+8|0,b)){break c}h=c+h|0;c=i[q+8>>2];if(h>>>0 >>0){break c}p=h-c|0;m=i[a+40>>2];t=i[a+44>>2];m:{if((m|0)!=(t|0)){i[m+4>>2]=h;i[m>>2]=p;i[a+40>>2]=m+12;break m}c=i[u>>2];d=m-c|0;m=(d|0)/12|0;f=m+1|0;if(f>>>0>=357913942){break l}t=(t-c|0)/12|0;v=t<<1;f=t>>>0<178956970?v>>>0 >>0?f:v:357913941;e=0;n:{if(!f){break n}if(f>>>0>=357913942){break k}e=Gm(o(f,12))}m=e+o(m,12)|0;i[m+4>>2]=h;i[m>>2]=p;p=m+o((d|0)/-12|0,12)|0;e=e+o(f,12)|0;m=m+12|0;if((d|0)>=1){sn(p,c,d)}i[a+44>>2]=e;i[a+40>>2]=m;i[a+36>>2]=p;if(!c){break m}qn(c)}n=n+1|0;if((n|0)!=(r|0)){continue}break}h=0;Eh(b,0,0);e=r>>>0>1?r:1;while(1){c=j[b+36|0];d=k[i[a+4>>2]+36>>1];o:{if((d<<24|d<<8&16711680)>>>16>>>0<=513){if(!c){break o}m=0;c=i[b+32>>2];r=c>>>3|0;f=i[b+24>>2];d=r+f|0;s=i[b+28>>2];p:{if(d>>>0>=s>>>0){d=c;break p}m=j[d|0];d=c+1|0;i[b+32>>2]=d;r=d>>>3|0;m=m>>>(c&7)&1}if(f+r>>>0>=s>>>0){break o}i[b+32>>2]=d+1;break o}if(!c){break o}m=0;c=i[b+32>>2];d=i[b+24>>2]+(c>>>3|0)|0;if(d>>>0>=l[b+28>>2]){break o}d=j[d|0];i[b+32>>2]=c+1;m=d>>>(c&7)&1}c=i[a+36>>2]+o(h,12)|0;g[c+8|0]=j[c+8|0]&254|m&1;h=h+1|0;if((e|0)!=(h|0)){continue}break}Gh(b);break j}Vm();x()}break a}z=a+36|0;u=q+10|0;while(1){e=i[b+12>>2];h=e;c=i[b+20>>2];d=c;p=i[b+16>>2];f=p+4|0;if(f>>>0<4){c=c+1|0}t=i[b+8>>2];v=f;f=c;if((e|0)<(c|0)?1:(e|0)<=(c|0)?t>>>0 >>0:0){break c}w=i[b>>2];c=w+p|0;y=j[c|0]|j[c+1|0]<<8|(j[c+2|0]<<16|j[c+3|0]<<24);i[b+16>>2]=v;i[b+20>>2]=f;e=h;c=d;f=p+8|0;if(f>>>0<8){c=c+1|0}if((e|0)<(c|0)?1:(e|0)<=(c|0)?t>>>0 >>0:0){break c}e=v+w|0;v=j[e|0]|j[e+1|0]<<8|(j[e+2|0]<<16|j[e+3|0]<<24);i[b+16>>2]=f;i[b+20>>2]=c;if((h|0)<(c|0)?1:(h|0)<=(c|0)?t>>>0<=f>>>0:0){break c}e=j[f+w|0];c=d;d=p+9|0;if(d>>>0<9){c=c+1|0}i[b+16>>2]=d;i[b+20>>2]=c;m=e&1|m&-2;c=i[a+40>>2];f=i[a+44>>2];q:{if((c|0)!=(f|0)){g[c+8|0]=m;i[c+4>>2]=v;i[c>>2]=y;d=j[q+8|0]|j[q+9|0]<<8;g[c+9|0]=d;g[c+10|0]=d>>>8;g[c+11|0]=j[u|0];i[a+40>>2]=c+12;break q}d=i[z>>2];h=c-d|0;e=(h|0)/12|0;c=e+1|0;if(c>>>0>=357913942){break i}w=o(e,12);f=(f-d|0)/12|0;t=f<<1;f=f>>>0<178956970?t>>>0 >>0?c:t:357913941;e=0;r:{if(!f){break r}if(f>>>0>=357913942){break a}e=Gm(o(f,12))}c=w+e|0;g[c+8|0]=m;i[c+4>>2]=v;i[c>>2]=y;p=j[q+8|0]|j[q+9|0]<<8;g[c+9|0]=p;g[c+10|0]=p>>>8;g[c+11|0]=j[u|0];p=c+o((h|0)/-12|0,12)|0;e=e+o(f,12)|0;c=c+12|0;if((h|0)>=1){sn(p,d,h)}i[a+44>>2]=e;i[a+40>>2]=c;i[a+36>>2]=p;if(!d){break q}qn(d)}n=n+1|0;if((n|0)!=(r|0)){continue}break}}i[q+8>>2]=0;c=k[i[a+4>>2]+36>>1];c=(c<<24|c<<8&16711680)>>>16|0;s:{if(c>>>0<=511){s=-1;h=i[b+12>>2];c=i[b+20>>2];e=i[b+16>>2];d=e+4|0;if(d>>>0<4){c=c+1|0}f=d;d=c;if((h|0)<(c|0)?1:(h|0)<=(c|0)?l[b+8>>2] >>0:0){break c}c=e+i[b>>2]|0;r=j[c|0]|j[c+1|0]<<8|(j[c+2|0]<<16|j[c+3|0]<<24);i[q+8>>2]=r;i[b+16>>2]=f;i[b+20>>2]=d;break s}if((c|0)!=512){break e}s=-1;if(!Rf(1,q+8|0,b)){break c}r=i[q+8>>2]}if(!r){break e}c=k[i[a+4>>2]+36>>1];if((c<<24|c<<8&16711680)>>>16>>>0<258){break f}s=a+48|0;m=0;h=0;while(1){if(!Rf(1,q+4|0,b)){break g}h=i[q+4>>2]+h|0;c=i[a+52>>2];n=i[a+56>>2];t:{if((c|0)!=(n|0)){i[c>>2]=h;i[a+52>>2]=c+4;break t}d=i[s>>2];f=c-d|0;p=f>>2;e=p+1|0;if(e>>>0>=1073741824){break h}n=n-d|0;u=n>>1;e=n>>2>>>0<536870911?u>>>0 >>0?e:u:1073741823;c=0;u:{if(!e){break u}if(e>>>0>=1073741824){break a}c=Gm(e<<2)}n=c+(p<<2)|0;i[n>>2]=h;e=c+(e<<2)|0;n=n+4|0;if((f|0)>=1){sn(c,d,f)}i[a+56>>2]=e;i[a+52>>2]=n;i[a+48>>2]=c;if(!d){break t}qn(d)}m=m+1|0;if((r|0)!=(m|0)){continue}break}break e}Vm();x()}Vm();x()}s=-1;break c}m=a+48|0;s=0;while(1){h=i[b+12>>2];c=i[b+20>>2];e=i[b+16>>2];d=e+4|0;if(d>>>0<4){c=c+1|0}f=d;d=c;if((h|0)<(c|0)?1:(h|0)<=(c|0)?l[b+8>>2] >>0:0){s=-1;break c}c=e+i[b>>2]|0;e=j[c|0]|j[c+1|0]<<8|(j[c+2|0]<<16|j[c+3|0]<<24);i[b+16>>2]=f;i[b+20>>2]=d;c=i[a+52>>2];n=i[a+56>>2];v:{if((c|0)!=(n|0)){i[c>>2]=e;i[a+52>>2]=c+4;break v}d=i[m>>2];f=c-d|0;p=f>>2;h=p+1|0;if(h>>>0>=1073741824){break b}n=n-d|0;u=n>>1;h=n>>2>>>0<536870911?u>>>0 >>0?h:u:1073741823;c=0;w:{if(!h){break w}if(h>>>0>=1073741824){break a}c=Gm(h<<2)}n=c+(p<<2)|0;i[n>>2]=e;h=c+(h<<2)|0;e=n+4|0;if((f|0)>=1){sn(c,d,f)}i[a+56>>2]=h;i[a+52>>2]=e;i[a+48>>2]=c;if(!d){break v}qn(d)}s=s+1|0;if((r|0)!=(s|0)){continue}break}}s=i[b+16>>2]}L=q+16|0;return s}Vm();x()}Da(12220);x()}function ni(a,b,c,d){var e=0,f=0,h=0,o=0,r=p(0),s=0,t=0;a:{if(!d){break a}b:{c:{switch(i[a+28>>2]+ -1|0){case 0:d:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break d}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){g[b+d|0]=j[f|0];b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break d}f=f+1|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 1:e:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break e}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){e=g[f|0];if((e|0)<0){break a}g[b+d|0]=e;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break e}f=f+1|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 2:f:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break f}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){e=k[f>>1];if((e+128&65535)>>>0>255){break a}g[b+d|0]=e;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break f}f=f+2|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 3:g:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break g}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){e=k[f>>1];if(e>>>0>127){break a}g[b+d|0]=e;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break g}f=f+2|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 4:h:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break h}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){e=i[f>>2];if(e+128>>>0>255){break a}g[b+d|0]=e;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break h}f=f+4|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 5:i:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break i}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){e=i[f>>2];if(e>>>0>127){break a}g[b+d|0]=e;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break i}f=f+4|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 6:j:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break j}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){e=i[f+4>>2];h=i[f>>2];o=h+128|0;if(o>>>0<128){e=e+1|0}if(!e&o>>>0>255|e>>>0>0){break a}g[b+d|0]=h;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break j}f=f+8|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 7:k:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break k}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){e=i[f+4>>2];h=i[f>>2];if(!e&h>>>0>127|e>>>0>0){break a}g[b+d|0]=h;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break k}f=f+8|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 8:l:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break l}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){h=b+d|0;r=m[f>>2];m:{if(p(q(r)) =((e|0)>(c|0)?c:e)<<24>>24){break l}f=f+4|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 9:n:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break n}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){h=b+d|0;s=n[f>>3];o:{if(q(s)<2147483648){e=~~s;break o}e=-2147483648}g[h|0]=e;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break n}f=f+8|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 10:break c;default:break a}}p:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break p}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){g[b+d|0]=j[f|0];b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break p}f=f+1|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0)}t=1}return t}function pi(a,b,c,d){var e=0,f=0,h=0,o=p(0),q=0,r=0;a:{if(!d){break a}b:{c:{switch(i[a+28>>2]+ -1|0){case 0:d:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break d}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){e=g[f|0];if((e|0)<0){break a}g[b+d|0]=e;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break d}f=f+1|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 1:e:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break e}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){g[b+d|0]=j[f|0];b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break e}f=f+1|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 2:f:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break f}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){e=k[f>>1];if(e>>>0>255){break a}g[b+d|0]=e;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break f}f=f+2|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 3:g:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break g}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){e=k[f>>1];if(e>>>0>255){break a}g[b+d|0]=e;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break g}f=f+2|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 4:h:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break h}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){e=i[f>>2];if(e>>>0>255){break a}g[b+d|0]=e;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break h}f=f+4|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 5:i:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break i}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){e=i[f>>2];if(e>>>0>255){break a}g[b+d|0]=e;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break i}f=f+4|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 6:j:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break j}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){e=i[f+4>>2];h=i[f>>2];if(!e&h>>>0>255|e>>>0>0){break a}g[b+d|0]=h;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break j}f=f+8|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 7:k:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break k}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){e=i[f+4>>2];h=i[f>>2];if(!e&h>>>0>255|e>>>0>0){break a}g[b+d|0]=h;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break k}f=f+8|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 8:l:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break l}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){h=b+d|0;o=m[f>>2];m:{if(o
=p(0)){e=~~o>>>0;break m}e=0}g[h|0]=e;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break l}f=f+4|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 9:n:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break n}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){h=b+d|0;q=n[f>>3];o:{if(q<4294967296&q>=0){e=~~q>>>0;break o}e=0}g[h|0]=e;b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break n}f=f+8|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0);break b;case 10:break c;default:break a}}p:{e=g[a+24|0];if(((e|0)>(c|0)?c:e)<<24>>24<1){break p}f=i[a>>2];e=i[f>>2];f=i[f+4>>2]-e|0;b=i[a+48>>2]+Jn(i[a+40>>2],i[a+44>>2],b,0)|0;if((f|0)<=(b|0)){break a}f=b+e|0;b=0;while(1){g[b+d|0]=j[f|0];b=b+1|0;e=g[a+24|0];if((b|0)>=((e|0)>(c|0)?c:e)<<24>>24){break p}f=f+1|0;if(l[i[a>>2]+4>>2]>f>>>0){continue}break}break a}if((e|0)>=(c|0)){break b}tn(d+e|0,0,c-e|0)}r=1}return r}function Wl(a,b,c,d,e){var f=0,k=0,l=0,m=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=L-80|0;L=f;i[f+76>>2]=b;z=f+55|0;w=f+56|0;b=0;a:{b:while(1){c:{if((t|0)<0){break c}if((b|0)>(2147483647-t|0)){i[4312]=61;t=-1;break c}t=b+t|0}d:{e:{f:{m=i[f+76>>2];b=m;k=j[b|0];if(k){while(1){g:{k=k&255;h:{if(!k){k=b;break h}if((k|0)!=37){break g}k=b;while(1){if(j[b+1|0]!=37){break h}l=b+2|0;i[f+76>>2]=l;k=k+1|0;p=j[b+2|0];b=l;if((p|0)==37){continue}break}}b=k-m|0;if(a){Xl(a,m,b)}if(b){continue b}k=f;l=!Rl(g[i[f+76>>2]+1|0]);b=i[f+76>>2];i:{if(!(l|j[b+2|0]!=36)){v=g[b+1|0]+ -48|0;x=1;b=b+3|0;break i}v=-1;b=b+1|0}i[k+76>>2]=b;q=0;u=g[b|0];l=u+ -32|0;j:{if(l>>>0>31){k=b;break j}k=b;l=1<
>2]=k;q=l|q;u=g[b+1|0];l=u+ -32|0;if(l>>>0>=32){break j}b=k;l=1< >2];if(j[b+2|0]!=36){break m}i[((g[b+1|0]<<2)+e|0)+ -192>>2]=10;r=i[((g[b+1|0]<<3)+d|0)+ -384>>2];x=1;b=b+3|0;break l}if(x){break f}x=0;r=0;if(a){b=i[c>>2];i[c>>2]=b+4;r=i[b>>2]}b=i[f+76>>2]+1|0}i[l+76>>2]=b;if((r|0)>-1){break k}r=0-r|0;q=q|8192;break k}r=Yl(f+76|0);if((r|0)<0){break f}b=i[f+76>>2]}p=-1;n:{if(j[b|0]!=46){break n}if(j[b+1|0]==42){o:{if(!Rl(g[b+2|0])){break o}b=i[f+76>>2];if(j[b+3|0]!=36){break o}i[((g[b+2|0]<<2)+e|0)+ -192>>2]=10;p=i[((g[b+2|0]<<3)+d|0)+ -384>>2];b=b+4|0;i[f+76>>2]=b;break n}if(x){break f}if(a){b=i[c>>2];i[c>>2]=b+4;p=i[b>>2]}else{p=0}b=i[f+76>>2]+2|0;i[f+76>>2]=b;break n}i[f+76>>2]=b+1;p=Yl(f+76|0);b=i[f+76>>2]}k=0;while(1){y=k;s=-1;if(g[b|0]+ -65>>>0>57){break a}u=b+1|0;i[f+76>>2]=u;k=g[b|0];b=u;k=j[(k+o(y,58)|0)+14959|0];if(k+ -1>>>0<8){continue}break}p:{q:{if((k|0)!=19){if(!k){break a}if((v|0)>=0){i[(v<<2)+e>>2]=k;b=(v<<3)+d|0;k=i[b+4>>2];i[f+64>>2]=i[b>>2];i[f+68>>2]=k;break q}if(!a){break d}Zl(f- -64|0,k,c);u=i[f+76>>2];break p}if((v|0)>-1){break a}}b=0;if(!a){continue b}}l=q&-65537;k=q&8192?l:q;s=0;v=15005;q=w;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{b=g[u+ -1|0];b=y?(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=i[f+64>>2];m=i[f+68>>2];v=15005;break z}b=0;I:{switch(y&255){case 0:i[i[f+64>>2]>>2]=t;continue b;case 1:i[i[f+64>>2]>>2]=t;continue b;case 2:k=i[f+64>>2];i[k>>2]=t;i[k+4>>2]=t>>31;continue b;case 3:h[i[f+64>>2]>>1]=t;continue b;case 4:g[i[f+64>>2]]=t;continue b;case 6:i[i[f+64>>2]>>2]=t;continue b;case 7:break I;default:continue b}}k=i[f+64>>2];i[k>>2]=t;i[k+4>>2]=t>>31;continue b}p=p>>>0>8?p:8;k=k|8;b=120}m=_l(i[f+64>>2],i[f+68>>2],w,b&32);if(!(k&8)|!(i[f+64>>2]|i[f+68>>2])){break y}v=(b>>>4|0)+15005|0;s=2;break y}m=$l(i[f+64>>2],i[f+68>>2],w);if(!(k&8)){break y}b=w-m|0;p=(p|0)>(b|0)?p:b+1|0;break y}l=i[f+68>>2];m=l;b=i[f+64>>2];if((l|0)<-1?1:(l|0)<=-1){m=0-(m+(0>>0)|0)|0;b=0-b|0;i[f+64>>2]=b;i[f+68>>2]=m;s=1;v=15005;break z}if(k&2048){s=1;v=15006;break z}s=k&1;v=s?15007:15005}m=am(b,m,w)}k=(p|0)>-1?k&-65537:k;b=i[f+64>>2];l=i[f+68>>2];if(!(!!(b|l)|p)){p=0;m=w;break e}b=!(b|l)+(w-m|0)|0;p=(p|0)>(b|0)?p:b;break e}b=i[f+64>>2];m=b?b:15015;b=Sl(m,p);q=b?b:p+m|0;k=l;p=b?b-m|0:p;break e}l=i[f+64>>2];if(p){break u}b=0;bm(a,32,r,0,k);break t}i[f+12>>2]=0;i[f+8>>2]=i[f+64>>2];i[f+64>>2]=f+8;p=-1;l=f+8|0}b=0;J:{while(1){m=i[l>>2];if(!m){break J}m=Ul(f+4|0,m);q=(m|0)<0;if(!(q|m>>>0>p-b>>>0)){l=l+4|0;b=b+m|0;if(p>>>0>b>>>0){continue}break J}break}s=-1;if(q){break a}}bm(a,32,r,b,k);if(!b){b=0;break t}u=0;l=i[f+64>>2];while(1){m=i[l>>2];if(!m){break t}m=Ul(f+4|0,m);u=m+u|0;if((u|0)>(b|0)){break t}Xl(a,f+4|0,m);l=l+4|0;if(u>>>0>>0){continue}break}}bm(a,32,r,b,k^8192);b=(r|0)>(b|0)?r:b;continue b}b=O[0](a,n[f+64>>3],r,p,k,b)|0;continue b}g[f+55|0]=i[f+64>>2];p=1;m=z;k=l;break e}l=b+1|0;i[f+76>>2]=l;k=j[b+1|0];b=l;continue}}s=t;if(a){break a}if(!x){break d}b=1;while(1){a=i[(b<<2)+e>>2];if(a){Zl((b<<3)+d|0,a,c);s=1;b=b+1|0;if((b|0)!=10){continue}break a}break}s=1;if(b>>>0>=10){break a}while(1){if(i[(b<<2)+e>>2]){break f}b=b+1|0;if((b|0)!=10){continue}break}break a}s=-1;break a}q=q-m|0;p=(p|0)<(q|0)?q:p;l=p+s|0;b=(r|0)<(l|0)?l:r;bm(a,32,b,l,k);Xl(a,v,s);bm(a,48,b,l,k^65536);bm(a,48,p,q,0);Xl(a,m,q);bm(a,32,b,l,k^8192);continue}break}s=0}L=f+80|0;return s}function hm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;e=L-16|0;L=e;i[e+12>>2]=a;a:{if(a>>>0<=211){a=i[im(15520,15712,e+12|0)>>2];break a}if(a>>>0>=4294967292){km();x()}f=(a>>>0)/210|0;d=o(f,210);i[e+8>>2]=a-d;g=im(15712,15904,e+8|0)-15712>>2;b:{while(1){a=i[(g<<2)+15712>>2]+d|0;d=5;b=h;c:{d:{while(1){h=b;if((d|0)==47){d=211;while(1){b=(a>>>0)/(d>>>0)|0;if(b>>>0 >>0){break c}if((o(b,d)|0)==(a|0)){break d}b=d+10|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+12|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+16|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+18|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+22|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+28|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+30|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+36|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+40|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+42|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+46|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+52|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+58|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+60|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+66|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+70|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+72|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+78|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+82|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+88|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+96|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+100|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+102|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+106|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+108|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+112|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+120|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+126|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+130|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+136|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+138|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+142|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+148|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+150|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+156|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+162|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+166|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+168|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+172|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+178|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+180|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+186|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+190|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+192|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+196|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0>>0){break c}if((o(b,c)|0)==(a|0)){break d}b=d+198|0;c=(a>>>0)/(b>>>0)|0;if(c>>>0