var OGVDemuxerWebM (function() { var scriptSrc; if (typeof document !== 'undefined' && document.currentScript) scriptSrc = document.currentScript.src; OGVDemuxerWebM = function(OGVDemuxerWebM) { OGVDemuxerWebM = OGVDemuxerWebM || {}; if (!OGVDemuxerWebM.currentScriptUrl) OGVDemuxerWebM.currentScriptUrl = scriptSrc; var Module = OGVDemuxerWebM; var options=Module;Module={print:(function(str){console.log(str)})};if(typeof OGVLoader!=="undefined"){Module["pthreadMainPrefixURL"]=OGVLoader.base+"/"}if(options["memoryLimit"]&&!options.wasmBinary){Module["TOTAL_MEMORY"]=options["memoryLimit"]}for(option in options){if(options.hasOwnProperty(option)){Module[option]=options[option]}}var Math_imul_orig=Math.imul;var OGVDemuxerWebM=Module;var Module;if(!Module)Module=(typeof OGVDemuxerWebM!=="undefined"?OGVDemuxerWebM:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else if(Module["ENVIRONMENT"]==="PTHREAD"){ENVIRONMENT_IS_WORKER=true;ENVIRONMENT_IS_PTHREAD=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=console.log;if(!Module["printErr"])Module["printErr"]=console.warn;var nodeFS;var nodePath;Module["read"]=function shell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);return binary?ret:ret.toString()};Module["readBinary"]=function readBinary(filename){var ret=Module["read"](filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};Module["load"]=function load(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function shell_read(){throw"no read() available"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof quit==="function"){Module["quit"]=(function(status,toThrow){quit(status)})}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function shell_read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){Module["readBinary"]=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return xhr.response}}Module["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)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function shell_print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function shell_printErr(x){console.warn(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeof dump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}function globalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=function load(f){globalEval(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}if(!Module["quit"]){Module["quit"]=(function(status,toThrow){throw toThrow})}Module.print=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(var key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=undefined;var Runtime={setTempRet0:(function(value){tempRet0=value;return value}),getTempRet0:(function(){return tempRet0}),stackSave:(function(){return STACKTOP}),stackRestore:(function(stackTop){STACKTOP=stackTop}),getNativeTypeSize:(function(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return Runtime.QUANTUM_SIZE}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0);return bits/8}else{return 0}}}}),getNativeFieldSize:(function(type){return Math.max(Runtime.getNativeTypeSize(type),Runtime.QUANTUM_SIZE)}),STACK_ALIGN:16,prepVararg:(function(ptr,type){if(type==="double"||type==="i64"){if(ptr&7){assert((ptr&7)===4);ptr+=4}}else{assert((ptr&3)===0)}return ptr}),getAlignSize:(function(type,size,vararg){if(!vararg&&(type=="i64"||type=="double"))return 8;if(!type)return Math.min(size,8);return Math.min(size||(type?Runtime.getNativeFieldSize(type):0),Runtime.QUANTUM_SIZE)}),dynCall:(function(sig,ptr,args){if(args&&args.length){return Module["dynCall_"+sig].apply(null,[ptr].concat(args))}else{return Module["dynCall_"+sig].call(null,ptr)}}),functionPointers:[],addFunction:(function(func){for(var i=0;i>2];var end=(ret+size+15|0)&-16;HEAP32[DYNAMICTOP_PTR>>2]=end;if(end>=TOTAL_MEMORY){var success=enlargeMemory();if(!success){HEAP32[DYNAMICTOP_PTR>>2]=ret;return 0}}return ret}),alignMemory:(function(size,quantum){var ret=size=Math.ceil(size/(quantum?quantum:16))*(quantum?quantum:16);return ret}),makeBigInt:(function(low,high,unsigned){var ret=unsigned?+(low>>>0)+ +(high>>>0)*+4294967296:+(low>>>0)+ +(high|0)*+4294967296;return ret}),GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module["Runtime"]=Runtime;var ABORT=0;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];if(!func){try{func=eval("_"+ident)}catch(e){}}assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)");return func}var cwrap,ccall;((function(){var JSfuncs={"stackSave":(function(){Runtime.stackSave()}),"stackRestore":(function(){Runtime.stackRestore()}),"arrayToC":(function(arr){var ret=Runtime.stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}),"stringToC":(function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=Runtime.stackAlloc(len);stringToUTF8(str,ret,len)}return ret})};var toC={"string":JSfuncs["stringToC"],"array":JSfuncs["arrayToC"]};ccall=function ccallFunc(ident,returnType,argTypes,args,opts){var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}Module["setValue"]=setValue;function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for setValue: "+type)}return null}Module["getValue"]=getValue;var ALLOC_NORMAL=0;var ALLOC_STACK=1;var ALLOC_STATIC=2;var ALLOC_DYNAMIC=3;var ALLOC_NONE=4;Module["ALLOC_NORMAL"]=ALLOC_NORMAL;Module["ALLOC_STACK"]=ALLOC_STACK;Module["ALLOC_STATIC"]=ALLOC_STATIC;Module["ALLOC_DYNAMIC"]=ALLOC_DYNAMIC;Module["ALLOC_NONE"]=ALLOC_NONE;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[typeof _malloc==="function"?_malloc:Runtime.staticAlloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][allocator===undefined?ALLOC_STATIC:allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var ptr=ret,stop;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr>2]=0}stop=ret+size;while(ptr>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i>0];hasUtf|=t;if(t==0&&!length)break;i++;if(length&&i==length)break}if(!length)length=i;var ret="";if(hasUtf<128){var MAX_CHUNK=1024;var curr;while(length>0){curr=String.fromCharCode.apply(String,HEAPU8.subarray(ptr,ptr+Math.min(length,MAX_CHUNK)));ret=ret?ret+curr:curr;ptr+=MAX_CHUNK;length-=MAX_CHUNK}return ret}return Module["UTF8ToString"](ptr)}Module["Pointer_stringify"]=Pointer_stringify;function AsciiToString(ptr){var str="";while(1){var ch=HEAP8[ptr++>>0];if(!ch)return str;str+=String.fromCharCode(ch)}}Module["AsciiToString"]=AsciiToString;function stringToAscii(str,outPtr){return writeAsciiToMemory(str,outPtr,false)}Module["stringToAscii"]=stringToAscii;var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(u8Array,idx){var endPtr=idx;while(u8Array[endPtr])++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{var u0,u1,u2,u3,u4,u5;var str="";while(1){u0=u8Array[idx++];if(!u0)return str;if(!(u0&128)){str+=String.fromCharCode(u0);continue}u1=u8Array[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}u2=u8Array[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u3=u8Array[idx++]&63;if((u0&248)==240){u0=(u0&7)<<18|u1<<12|u2<<6|u3}else{u4=u8Array[idx++]&63;if((u0&252)==248){u0=(u0&3)<<24|u1<<18|u2<<12|u3<<6|u4}else{u5=u8Array[idx++]&63;u0=(u0&1)<<30|u1<<24|u2<<18|u3<<12|u4<<6|u5}}}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}}}Module["UTF8ArrayToString"]=UTF8ArrayToString;function UTF8ToString(ptr){return UTF8ArrayToString(HEAPU8,ptr)}Module["UTF8ToString"]=UTF8ToString;function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=2097151){if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=67108863){if(outIdx+4>=endIdx)break;outU8Array[outIdx++]=248|u>>24;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+5>=endIdx)break;outU8Array[outIdx++]=252|u>>30;outU8Array[outIdx++]=128|u>>24&63;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}Module["stringToUTF8Array"]=stringToUTF8Array;function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}Module["stringToUTF8"]=stringToUTF8;function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){++len}else if(u<=2047){len+=2}else if(u<=65535){len+=3}else if(u<=2097151){len+=4}else if(u<=67108863){len+=5}else{len+=6}}return len}Module["lengthBytesUTF8"]=lengthBytesUTF8;var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function demangle(func){var __cxa_demangle_func=Module["___cxa_demangle"]||Module["__cxa_demangle"];if(__cxa_demangle_func){try{var s=func.substr(1);var len=lengthBytesUTF8(s)+1;var buf=_malloc(len);stringToUTF8(s,buf,len);var status=_malloc(4);var ret=__cxa_demangle_func(buf,0,0,status);if(getValue(status,"i32")===0&&ret){return Pointer_stringify(ret)}}catch(e){}finally{if(buf)_free(buf);if(status)_free(status);if(ret)_free(ret)}return func}Runtime.warnOnce("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling");return func}function demangleAll(text){var regex=/__Z[\w\d_]+/g;return text.replace(regex,(function(x){var y=demangle(x);return x===y?x:x+" ["+y+"]"}))}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}Module["stackTrace"]=stackTrace;var HEAP,buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferViews(){Module["HEAP8"]=HEAP8=new Int8Array(buffer);Module["HEAP16"]=HEAP16=new Int16Array(buffer);Module["HEAP32"]=HEAP32=new Int32Array(buffer);Module["HEAPU8"]=HEAPU8=new Uint8Array(buffer);Module["HEAPU16"]=HEAPU16=new Uint16Array(buffer);Module["HEAPU32"]=HEAPU32=new Uint32Array(buffer);Module["HEAPF32"]=HEAPF32=new Float32Array(buffer);Module["HEAPF64"]=HEAPF64=new Float64Array(buffer)}var STATIC_BASE,STATICTOP,staticSealed;var STACK_BASE,STACKTOP,STACK_MAX;var DYNAMIC_BASE,DYNAMICTOP_PTR;STATIC_BASE=STATICTOP=STACK_BASE=STACKTOP=STACK_MAX=DYNAMIC_BASE=DYNAMICTOP_PTR=0;staticSealed=false;function abortOnCannotGrowMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+TOTAL_MEMORY+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}function enlargeMemory(){abortOnCannotGrowMemory()}var TOTAL_STACK=Module["TOTAL_STACK"]||5242880;var TOTAL_MEMORY=Module["TOTAL_MEMORY"]||16777216;if(TOTAL_MEMORY0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Module["dynCall_v"](func)}else{Module["dynCall_vi"](func,callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATEXIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){if(runtimeInitialized)return;runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__);runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}Module["addOnPreRun"]=addOnPreRun;function addOnInit(cb){__ATINIT__.unshift(cb)}Module["addOnInit"]=addOnInit;function addOnPreMain(cb){__ATMAIN__.unshift(cb)}Module["addOnPreMain"]=addOnPreMain;function addOnExit(cb){__ATEXIT__.unshift(cb)}Module["addOnExit"]=addOnExit;function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}Module["addOnPostRun"]=addOnPostRun;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}Module["intArrayFromString"]=intArrayFromString;function intArrayToString(array){var ret=[];for(var i=0;i255){chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}Module["intArrayToString"]=intArrayToString;function writeStringToMemory(string,buffer,dontAddNull){Runtime.warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!");var lastChar,end;if(dontAddNull){end=buffer+lengthBytesUTF8(string);lastChar=HEAP8[end]}stringToUTF8(string,buffer,Infinity);if(dontAddNull)HEAP8[end]=lastChar}Module["writeStringToMemory"]=writeStringToMemory;function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}Module["writeArrayToMemory"]=writeArrayToMemory;function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}Module["writeAsciiToMemory"]=writeAsciiToMemory;if(!Math["imul"]||Math["imul"](4294967295,5)!==-5)Math["imul"]=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};Math.imul=Math["imul"];if(!Math["clz32"])Math["clz32"]=(function(x){x=x>>>0;for(var i=0;i<32;i++){if(x&1<<31-i)return i}return 32});Math.clz32=Math["clz32"];if(!Math["trunc"])Math["trunc"]=(function(x){return x<0?Math.ceil(x):Math.floor(x)});Math.trunc=Math["trunc"];var Math_abs=Math.abs;var Math_cos=Math.cos;var Math_sin=Math.sin;var Math_tan=Math.tan;var Math_acos=Math.acos;var Math_asin=Math.asin;var Math_atan=Math.atan;var Math_atan2=Math.atan2;var Math_exp=Math.exp;var Math_log=Math.log;var Math_sqrt=Math.sqrt;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_pow=Math.pow;var Math_imul=Math.imul;var Math_fround=Math.fround;var Math_round=Math.round;var Math_min=Math.min;var Math_clz32=Math.clz32;var Math_trunc=Math.trunc;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}Module["addRunDependency"]=addRunDependency;function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["removeRunDependency"]=removeRunDependency;Module["preloadedImages"]={};Module["preloadedAudios"]={};var ASM_CONSTS=[];STATIC_BASE=Runtime.GLOBAL_BASE;STATICTOP=STATIC_BASE+10304;__ATINIT__.push();allocate([128,14,0,0,0,0,0,0,163,223,69,26,0,0,0,0,1,0,0,0,40,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,136,14,0,0,0,0,0,0,103,128,83,24,0,0,0,0,1,0,0,0,152,0,0,0,4,0,0,0,192,1,0,0,0,0,0,0,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,59,17,0,0,0,0,0,0,134,66,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,75,17,0,0,0,0,0,0,247,66,0,0,0,0,0,0,2,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,17,0,0,0,0,0,0,242,66,0,0,0,0,0,0,2,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,118,17,0,0,0,0,0,0,243,66,0,0,0,0,0,0,2,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,142,17,0,0,0,0,0,0,130,66,0,0,0,0,0,0,4,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,153,17,0,0,0,0,0,0,135,66,0,0,0,0,0,0,2,0,0,0,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,172,17,0,0,0,0,0,0,133,66,0,0,0,0,0,0,2,0,0,0,96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,147,14,0,0,0,0,0,0,116,155,77,17,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,176,2,0,0,8,0,0,0,0,0,0,0,160,14,0,0,0,0,0,0,102,169,73,21,0,0,0,0,1,0,0,0,8,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,168,14,0,0,0,0,0,0,117,182,67,31,0,0,0,0,1,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,179,14,0,0,0,0,0,0,107,174,84,22,0,0,0,0,1,0,0,0,40,0,0,0,0,0,0,0,120,3,0,0,0,0,0,0,0,0,0,0,189,14,0,0,0,0,0,0,107,187,83,28,0,0,0,0,1,0,0,0,48,0,0,0,0,0,0,0,200,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,23,17,0,0,0,0,0,0,187,77,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,8,10,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,249,16,0,0,0,0,0,0,177,215,42,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,17,0,0,0,0,0,0,137,68,0,0,0,0,0,0,3,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,15,0,0,0,0,0,0,174,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,48,5,0,0,160,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,197,14,0,0,0,0,0,0,187,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,24,4,0,0,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,210,14,0,0,0,0,0,0,179,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,222,14,0,0,0,0,0,0,183,0,0,0,0,0,0,0,1,0,0,0,16,0,0,0,1,0,0,0,144,4,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,245,14,0,0,0,0,0,0,247,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,15,0,0,0,0,0,0,241,0,0,0,0,0,0,0,2,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,15,0,0,0,0,0,0,120,83,0,0,0,0,0,0,2,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,61,15,0,0,0,0,0,0,215,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,77,15,0,0,0,0,0,0,197,115,0,0,0,0,0,0,2,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,90,15,0,0,0,0,0,0,131,0,0,0,0,0,0,0,2,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,15,0,0,0,0,0,0,185,0,0,0,0,0,0,0,2,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,120,15,0,0,0,0,0,0,136,0,0,0,0,0,0,0,2,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,136,15,0,0,0,0,0,0,156,0,0,0,0,0,0,0,2,0,0,0,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,151,15,0,0,0,0,0,0,79,49,35,0,0,0,0,0,3,0,0,0,96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,175,15,0,0,0,0,0,0,156,181,34,0,0,0,0,0,4,0,0,0,112,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,187,15,0,0,0,0,0,0,134,0,0,0,0,0,0,0,4,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,199,15,0,0,0,0,0,0,162,99,0,0,0,0,0,0,5,0,0,0,144,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,216,15,0,0,0,0,0,0,170,86,0,0,0,0,0,0,2,0,0,0,160,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,231,15,0,0,0,0,0,0,187,86,0,0,0,0,0,0,2,0,0,0,176,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,247,15,0,0,0,0,0,0,131,227,35,0,0,0,0,0,2,0,0,0,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,16,0,0,0,0,0,0,224,0,0,0,0,0,0,0,1,0,0,0,208,0,0,0,0,0,0,0,176,7,0,0,0,0,0,0,0,0,0,0,20,16,0,0,0,0,0,0,225,0,0,0,0,0,0,0,1,0,0,0,112,1,0,0,0,0,0,0,104,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76,16,0,0,0,0,0,0,184,83,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,91,16,0,0,0,0,0,0,192,83,0,0,0,0,0,0,2,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,105,16,0,0,0,0,0,0,176,0,0,0,0,0,0,0,2,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,120,16,0,0,0,0,0,0,186,0,0,0,0,0,0,0,2,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,136,16,0,0,0,0,0,0,170,84,0,0,0,0,0,0,2,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,157,16,0,0,0,0,0,0,187,84,0,0,0,0,0,0,2,0,0,0,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,175,16,0,0,0,0,0,0,204,84,0,0,0,0,0,0,2,0,0,0,96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,194,16,0,0,0,0,0,0,221,84,0,0,0,0,0,0,2,0,0,0,112,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,214,16,0,0,0,0,0,0,176,84,0,0,0,0,0,0,2,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,231,16,0,0,0,0,0,0,186,84,0,0,0,0,0,0,2,0,0,0,144,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,29,16,0,0,0,0,0,0,181,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,51,16,0,0,0,0,0,0,159,0,0,0,0,0,0,0,2,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,63,16,0,0,0,0,0,0,100,98,0,0,0,0,0,0,2,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,17,0,0,0,0,0,0,171,83,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,42,17,0,0,0,0,0,0,172,83,0,0,0,0,0,0,2,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,63,0,0,0,0,0,0,0,255,31,0,0,0,0,0,0,255,255,15,0,0,0,0,0,255,255,255,7,0,0,0,0,255,255,255,255,3,0,0,0,255,255,255,255,255,1,0,0,255,255,255,255,255,255,0,0,255,255,255,255,255,255,127,0,0,0,0,0,0,0,240,191,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,212,11,0,0,5,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,3,0,0,0,55,36,0,0,0,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,99,116,120,45,62,97,110,99,101,115,116,111,114,32,61,61,32,78,85,76,76,0,46,46,47,46,46,47,46,46,47,108,105,98,110,101,115,116,101,103,103,47,115,114,99,47,110,101,115,116,101,103,103,46,99,0,110,101,115,116,101,103,103,95,100,101,115,116,114,111,121,0,99,116,120,32,37,112,0,116,121,112,101,46,116,121,112,101,32,61,61,32,84,89,80,69,95,85,73,78,84,0,110,101,95,103,101,116,95,117,105,110,116,0,116,121,112,101,46,116,121,112,101,32,61,61,32,84,89,80,69,95,83,84,82,73,78,71,0,110,101,95,103,101,116,95,115,116,114,105,110,103,0,109,97,116,114,111,115,107,97,0,119,101,98,109,0,99,116,120,45,62,97,110,99,101,115,116,111,114,0,110,101,95,112,97,114,115,101,0,101,108,101,109,101,110,116,45,62,105,100,32,61,61,32,73,68,95,67,76,85,83,84,69,82,32,38,38,32,101,108,101,109,101,110,116,45,62,116,121,112,101,32,61,61,32,84,89,80,69,95,77,65,83,84,69,82,0,115,117,115,112,101,110,100,32,112,97,114,115,101,32,97,116,32,37,108,108,120,0,105,100,32,61,61,32,112,101,101,107,101,100,95,105,100,0,109,117,108,116,105,32,109,97,115,116,101,114,32,101,108,101,109,101,110,116,32,37,108,108,120,32,40,37,115,41,0,32,45,62,32,117,115,105,110,103,32,100,97,116,97,32,37,112,0,115,105,110,103,108,101,32,109,97,115,116,101,114,32,101,108,101,109,101,110,116,32,37,108,108,120,32,40,37,115,41,0,32,45,62,32,117,115,105,110,103,32,100,97,116,97,32,37,112,32,40,37,117,41,0,101,108,101,109,101,110,116,32,37,108,108,120,32,40,37,115,41,32,97,108,114,101,97,100,121,32,114,101,97,100,44,32,115,107,105,112,112,105,110,103,0,101,108,101,109,101,110,116,32,37,108,108,120,32,40,37,115,41,32,45,62,32,37,112,32,40,37,117,41,0,48,0,110,101,95,114,101,97,100,95,115,105,109,112,108,101,0,112,97,114,101,110,116,32,101,108,101,109,101,110,116,32,37,108,108,120,0,42,42,42,32,112,97,114,115,101,32,97,98,111,117,116,32,116,111,32,98,97,99,107,32,117,112,32,112,97,115,116,32,116,111,112,95,108,101,118,101,108,0,117,110,107,110,111,119,110,32,101,108,101,109,101,110,116,32,37,108,108,120,0,73,68,95,69,66,77,76,0,73,68,95,83,69,71,77,69,78,84,0,73,68,95,83,69,69,75,95,72,69,65,68,0,73,68,95,73,78,70,79,0,73,68,95,67,76,85,83,84,69,82,0,73,68,95,84,82,65,67,75,83,0,73,68,95,67,85,69,83,0,73,68,95,67,85,69,95,80,79,73,78,84,0,73,68,95,67,85,69,95,84,73,77,69,0,73,68,95,67,85,69,95,84,82,65,67,75,95,80,79,83,73,84,73,79,78,83,0,73,68,95,67,85,69,95,84,82,65,67,75,0,73,68,95,67,85,69,95,67,76,85,83,84,69,82,95,80,79,83,73,84,73,79,78,0,73,68,95,67,85,69,95,66,76,79,67,75,95,78,85,77,66,69,82,0,73,68,95,84,82,65,67,75,95,69,78,84,82,89,0,73,68,95,84,82,65,67,75,95,78,85,77,66,69,82,0,73,68,95,84,82,65,67,75,95,85,73,68,0,73,68,95,84,82,65,67,75,95,84,89,80,69,0,73,68,95,70,76,65,71,95,69,78,65,66,76,69,68,0,73,68,95,70,76,65,71,95,68,69,70,65,85,76,84,0,73,68,95,70,76,65,71,95,76,65,67,73,78,71,0,73,68,95,84,82,65,67,75,95,84,73,77,69,67,79,68,69,95,83,67,65,76,69,0,73,68,95,76,65,78,71,85,65,71,69,0,73,68,95,67,79,68,69,67,95,73,68,0,73,68,95,67,79,68,69,67,95,80,82,73,86,65,84,69,0,73,68,95,67,79,68,69,67,95,68,69,76,65,89,0,73,68,95,83,69,69,75,95,80,82,69,82,79,76,76,0,73,68,95,68,69,70,65,85,76,84,95,68,85,82,65,84,73,79,78,0,73,68,95,86,73,68,69,79,0,73,68,95,65,85,68,73,79,0,73,68,95,83,65,77,80,76,73,78,71,95,70,82,69,81,85,69,78,67,89,0,73,68,95,67,72,65,78,78,69,76,83,0,73,68,95,66,73,84,95,68,69,80,84,72,0,73,68,95,83,84,69,82,69,79,95,77,79,68,69,0,73,68,95,65,76,80,72,65,95,77,79,68,69,0,73,68,95,80,73,88,69,76,95,87,73,68,84,72,0,73,68,95,80,73,88,69,76,95,72,69,73,71,72,84,0,73,68,95,80,73,88,69,76,95,67,82,79,80,95,66,79,84,84,79,77,0,73,68,95,80,73,88,69,76,95,67,82,79,80,95,84,79,80,0,73,68,95,80,73,88,69,76,95,67,82,79,80,95,76,69,70,84,0,73,68,95,80,73,88,69,76,95,67,82,79,80,95,82,73,71,72,84,0,73,68,95,68,73,83,80,76,65,89,95,87,73,68,84,72,0,73,68,95,68,73,83,80,76,65,89,95,72,69,73,71,72,84,0,73,68,95,84,73,77,69,67,79,68,69,95,83,67,65,76,69,0,73,68,95,68,85,82,65,84,73,79,78,0,73,68,95,83,69,69,75,0,73,68,95,83,69,69,75,95,73,68,0,73,68,95,83,69,69,75,95,80,79,83,73,84,73,79,78,0,73,68,95,69,66,77,76,95,86,69,82,83,73,79,78,0,73,68,95,69,66,77,76,95,82,69,65,68,95,86,69,82,83,73,79,78,0,73,68,95,69,66,77,76,95,77,65,88,95,73,68,95,76,69,78,71,84,72,0,73,68,95,69,66,77,76,95,77,65,88,95,83,73,90,69,95,76,69,78,71,84,72,0,73,68,95,68,79,67,84,89,80,69,0,73,68,95,68,79,67,84,89,80,69,95,86,69,82,83,73,79,78,0,73,68,95,68,79,67,84,89,80,69,95,82,69,65,68,95,86,69,82,83,73,79,78,0,116,121,112,101,46,116,121,112,101,32,61,61,32,84,89,80,69,95,70,76,79,65,84,0,110,101,95,103,101,116,95,102,108,111,97,116,0,110,111,100,101,45,62,105,100,32,61,61,32,73,68,95,84,82,65,67,75,95,69,78,84,82,89,0,110,101,95,109,97,112,95,116,114,97,99,107,95,110,117,109,98,101,114,95,116,111,95,105,110,100,101,120,0,110,101,95,105,110,105,116,95,99,117,101,95,112,111,105,110,116,115,0,115,101,101,107,58,32,112,97,114,115,105,110,103,32,99,117,101,32,101,108,101,109,101,110,116,115,0,115,101,101,107,95,104,101,97,100,45,62,105,100,32,61,61,32,73,68,95,83,69,69,75,95,72,69,65,68,0,110,101,95,102,105,110,100,95,115,101,101,107,95,102,111,114,95,105,100,0,115,101,101,107,45,62,105,100,32,61,61,32,73,68,95,83,69,69,75,0,116,121,112,101,46,116,121,112,101,32,61,61,32,84,89,80,69,95,66,73,78,65,82,89,0,110,101,95,103,101,116,95,98,105,110,97,114,121,0,110,101,115,116,101,103,103,95,111,102,102,115,101,116,95,115,101,101,107,0,99,117,101,95,112,111,105,110,116,45,62,105,100,32,61,61,32,73,68,95,67,85,69,95,80,79,73,78,84,0,110,101,95,102,105,110,100,95,99,117,101,95,112,111,105,110,116,95,102,111,114,95,116,115,116,97,109,112,0,110,111,100,101,45,62,105,100,32,61,61,32,73,68,95,67,85,69,95,84,82,65,67,75,95,80,79,83,73,84,73,79,78,83,0,110,101,95,102,105,110,100,95,99,117,101,95,112,111,115,105,116,105,111,110,95,102,111,114,95,116,114,97,99,107,0,110,101,95,102,105,110,100,95,116,114,97,99,107,95,101,110,116,114,121,0,86,95,86,80,56,0,86,95,86,80,57,0,65,95,86,79,82,66,73,83,0,65,95,79,80,85,83,0,110,101,115,116,101,103,103,95,114,101,97,100,95,114,101,115,101,116,0,110,101,115,116,101,103,103,95,114,101,97,100,95,112,97,99,107,101,116,0,114,101,97,100,95,112,97,99,107,101,116,58,32,117,110,107,110,111,119,110,32,101,108,101,109,101,110,116,32,37,108,108,120,0,117,110,107,110,111,119,110,32,101,108,101,109,101,110,116,32,37,108,108,120,32,105,110,32,66,108,111,99,107,65,100,100,105,116,105,111,110,115,0,68,105,115,97,108,108,111,119,101,100,32,66,108,111,99,107,65,100,100,73,100,32,48,32,117,115,101,100,0,77,117,108,116,105,112,108,101,32,66,108,111,99,107,65,100,100,105,116,105,111,110,97,108,32,101,108,101,109,101,110,116,115,32,105,110,32,97,32,66,108,111,99,107,77,111,114,101,0,117,110,107,110,111,119,110,32,101,108,101,109,101,110,116,32,37,108,108,120,32,105,110,32,66,108,111,99,107,77,111,114,101,0,78,111,32,66,108,111,99,107,65,100,100,105,116,105,111,110,97,108,32,101,108,101,109,101,110,116,32,105,110,32,97,32,66,108,111,99,107,77,111,114,101,0,114,101,97,100,95,112,97,99,107,101,116,58,32,117,110,107,110,111,119,110,32,101,108,101,109,101,110,116,32,37,108,108,120,32,105,110,32,66,108,111,99,107,71,114,111,117,112,0,114,101,97,100,95,98,108,111,99,107,32,61,61,32,40,42,112,107,116,32,33,61,32,78,85,76,76,41,0,115,105,109,112,108,101,0,37,115,98,108,111,99,107,32,116,32,37,108,108,100,32,112,116,115,32,37,102,32,102,32,37,108,108,120,32,102,114,97,109,101,115,58,32,37,108,108,117,0,33,32,97,108,108,111,99,97,116,111,114,0,46,46,47,46,46,47,46,46,47,108,105,98,110,101,115,116,101,103,103,47,104,97,108,108,111,99,47,115,114,99,47,104,97,108,108,111,99,46,99,0,104,97,108,108,111,99,95,115,101,116,95,97,108,108,111,99,97,116,111,114,0,97,108,108,111,99,97,116,111,114,0,104,97,108,108,111,99,0,112,45,62,109,97,103,105,99,32,61,61,32,72,72,95,77,65,71,73,67,0,112,32,38,38,32,112,45,62,109,97,103,105,99,32,61,61,32,72,72,95,77,65,71,73,67,0,95,102,114,101,101,95,99,104,105,108,100,114,101,110,0,33,32,112,97,114,101,110,116,0,104,97,116,116,97,99,104,0,98,45,62,109,97,103,105,99,32,61,61,32,72,72,95,77,65,71,73,67,0,98,32,33,61,32,112,0,33,32,95,114,101,108,97,116,101,40,112,44,32,98,41,0,110,101,115,116,101,103,103,95,105,110,105,116,32,115,116,97,114,116,105,110,103,46,46,46,0,110,101,115,116,101,103,103,95,105,110,105,116,32,102,97,105,108,101,100,0,118,112,56,0,118,112,57,0,118,111,114,98,105,115,0,111,112,117,115,0,99,111,100,101,99,32,100,97,116,97,32,102,111,114,32,97,117,100,105,111,58,32,37,100,10,0,102,97,105,108,101,100,32,116,111,32,114,101,97,100,32,99,111,100,101,99,32,100,97,116,97,32,37,100,10,0,68,111,110,101,32,119,105,116,104,32,104,101,97,100,101,114,115,32,115,116,101,112,0,119,101,98,109,32,112,114,111,99,101,115,115,68,101,99,111,100,105,110,103,58,32,101,114,114,111,114,32,37,100,10,0,112,97,99,107,101,116,32,105,115,32,37,108,108,120,44,32,115,105,122,101,32,105,115,32,37,108,108,100,44,32,104,101,97,100,114,111,111,109,32,37,108,108,100,10,0,110,111,116,32,114,101,97,100,121,32,116,111,32,114,101,97,100,32,116,104,101,32,99,117,101,115,0,73,110,118,97,108,105,100,32,97,112,112,83,116,97,116,101,32,105,110,32,111,103,118,95,100,101,109,117,120,101,114,95,112,114,111,99,101,115,115,0,105,115,32,115,101,101,107,105,110,103,32,112,114,111,99,101,115,115,105,110,103,46,46,46,32,70,65,73,76,69,68,32,97,116,32,37,108,108,100,32,37,108,108,100,32,37,108,108,100,10,0,105,115,32,115,101,101,107,105,110,103,32,112,114,111,99,101,115,115,105,110,103,46,46,46,32,77,79,65,82,32,83,69,69,75,32,37,108,108,100,32,37,108,108,100,32,37,108,108,100,10,0,105,115,32,115,101,101,107,105,110,103,32,112,114,111,99,101,115,115,105,110,103,46,46,46,32,76,79,79,75,83,32,82,79,76,76,32,79,86,69,82,0,111,117,116,32,111,102,32,98,121,116,101,115,32,97,116,32,115,116,97,114,116,32,111,102,32,102,105,101,108,100,0,122,101,114,111,32,102,105,101,108,100,0,111,117,116,32,111,102,32,98,121,116,101,115,32,105,110,32,102,105,101,108,100,0,66,117,102,102,101,114,32,115,101,101,107,32,102,97,105,108,117,114,101,32,105,110,32,119,101,98,109,32,100,101,109,117,120,101,114,0,116,114,121,105,110,103,32,116,111,32,115,101,101,107,32,116,111,32,37,108,108,100,10,0,102,97,105,108,101,100,32,98,113,95,114,101,97,100,32,108,101,110,32,37,100,32,97,116,32,112,111,115,32,37,108,108,100,10,0,102,97,105,108,101,100,32,97,32,98,113,95,114,101,97,100,32,108,101,110,32,37,100,32,97,116,32,112,111,115,32,37,108,108,100,10,0,17,0,10,0,17,17,17,0,0,0,0,5,0,0,0,0,0,0,9,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,15,10,17,17,17,3,10,7,0,1,19,9,11,11,0,0,9,6,11,0,0,11,0,6,17,0,0,0,17,17,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,10,10,17,17,17,0,10,0,0,2,0,9,11,0,0,0,9,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,4,13,0,0,0,0,9,14,0,0,0,0,0,14,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,15,0,0,0,0,9,16,0,0,0,0,0,16,0,0,16,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,9,11,0,0,0,0,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,45,43,32,32,32,48,88,48,120,0,40,110,117,108,108,41,0,45,48,88,43,48,88,32,48,88,45,48,120,43,48,120,32,48,120,0,105,110,102,0,73,78,70,0,110,97,110,0,78,65,78,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,46,0,84,33,34,25,13,1,2,3,17,75,28,12,16,4,11,29,18,30,39,104,110,111,112,113,98,32,5,6,15,19,20,21,26,8,22,7,40,36,23,24,9,10,14,27,31,37,35,131,130,125,38,42,43,60,61,62,63,67,71,74,77,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,105,106,107,108,114,115,116,121,122,123,124,0,73,108,108,101,103,97,108,32,98,121,116,101,32,115,101,113,117,101,110,99,101,0,68,111,109,97,105,110,32,101,114,114,111,114,0,82,101,115,117,108,116,32,110,111,116,32,114,101,112,114,101,115,101,110,116,97,98,108,101,0,78,111,116,32,97,32,116,116,121,0,80,101,114,109,105,115,115,105,111,110,32,100,101,110,105,101,100,0,79,112,101,114,97,116,105,111,110,32,110,111,116,32,112,101,114,109,105,116,116,101,100,0,78,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121,0,78,111,32,115,117,99,104,32,112,114,111,99,101,115,115,0,70,105,108,101,32,101,120,105,115,116,115,0,86,97,108,117,101,32,116,111,111,32,108,97,114,103,101,32,102,111,114,32,100,97,116,97,32,116,121,112,101,0,78,111,32,115,112,97,99,101,32,108,101,102,116,32,111,110,32,100,101,118,105,99,101,0,79,117,116,32,111,102,32,109,101,109,111,114,121,0,82,101,115,111,117,114,99,101,32,98,117,115,121,0,73,110,116,101,114,114,117,112,116,101,100,32,115,121,115,116,101,109,32,99,97,108,108,0,82,101,115,111,117,114,99,101,32,116,101,109,112,111,114,97,114,105,108,121,32,117,110,97,118,97,105,108,97,98,108,101,0,73,110,118,97,108,105,100,32,115,101,101,107,0,67,114,111,115,115,45,100,101,118,105,99,101,32,108,105,110,107,0,82,101,97,100,45,111,110,108,121,32,102,105,108,101,32,115,121,115,116,101,109,0,68,105,114,101,99,116,111,114,121,32,110,111,116,32,101,109,112,116,121,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,112,101,101,114,0,79,112,101,114,97,116,105,111,110,32,116,105,109,101,100,32,111,117,116,0,67,111,110,110,101,99,116,105,111,110,32,114,101,102,117,115,101,100,0,72,111,115,116,32,105,115,32,100,111,119,110,0,72,111,115,116,32,105,115,32,117,110,114,101,97,99,104,97,98,108,101,0,65,100,100,114,101,115,115,32,105,110,32,117,115,101,0,66,114,111,107,101,110,32,112,105,112,101,0,73,47,79,32,101,114,114,111,114,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,32,111,114,32,97,100,100,114,101,115,115,0,66,108,111,99,107,32,100,101,118,105,99,101,32,114,101,113,117,105,114,101,100,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,0,78,111,116,32,97,32,100,105,114,101,99,116,111,114,121,0,73,115,32,97,32,100,105,114,101,99,116,111,114,121,0,84,101,120,116,32,102,105,108,101,32,98,117,115,121,0,69,120,101,99,32,102,111,114,109,97,116,32,101,114,114,111,114,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,0,65,114,103,117,109,101,110,116,32,108,105,115,116,32,116,111,111,32,108,111,110,103,0,83,121,109,98,111,108,105,99,32,108,105,110,107,32,108,111,111,112,0,70,105,108,101,110,97,109,101,32,116,111,111,32,108,111,110,103,0,84,111,111,32,109,97,110,121,32,111,112,101,110,32,102,105,108,101,115,32,105,110,32,115,121,115,116,101,109,0,78,111,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,115,32,97,118,97,105,108,97,98,108,101,0,66,97,100,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,0,78,111,32,99,104,105,108,100,32,112,114,111,99,101,115,115,0,66,97,100,32,97,100,100,114,101,115,115,0,70,105,108,101,32,116,111,111,32,108,97,114,103,101,0,84,111,111,32,109,97,110,121,32,108,105,110,107,115,0,78,111,32,108,111,99,107,115,32,97,118,97,105,108,97,98,108,101,0,82,101,115,111,117,114,99,101,32,100,101,97,100,108,111,99,107,32,119,111,117,108,100,32,111,99,99,117,114,0,83,116,97,116,101,32,110,111,116,32,114,101,99,111,118,101,114,97,98,108,101,0,80,114,101,118,105,111,117,115,32,111,119,110,101,114,32,100,105,101,100,0,79,112,101,114,97,116,105,111,110,32,99,97,110,99,101,108,101,100,0,70,117,110,99,116,105,111,110,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,0,78,111,32,109,101,115,115,97,103,101,32,111,102,32,100,101,115,105,114,101,100,32,116,121,112,101,0,73,100,101,110,116,105,102,105,101,114,32,114,101,109,111,118,101,100,0,68,101,118,105,99,101,32,110,111,116,32,97,32,115,116,114,101,97,109,0,78,111,32,100,97,116,97,32,97,118,97,105,108,97,98,108,101,0,68,101,118,105,99,101,32,116,105,109,101,111,117,116,0,79,117,116,32,111,102,32,115,116,114,101,97,109,115,32,114,101,115,111,117,114,99,101,115,0,76,105,110,107,32,104,97,115,32,98,101,101,110,32,115,101,118,101,114,101,100,0,80,114,111,116,111,99,111,108,32,101,114,114,111,114,0,66,97,100,32,109,101,115,115,97,103,101,0,70,105,108,101,32,100,101,115,99,114,105,112,116,111,114,32,105,110,32,98,97,100,32,115,116,97,116,101,0,78,111,116,32,97,32,115,111,99,107,101,116,0,68,101,115,116,105,110,97,116,105,111,110,32,97,100,100,114,101,115,115,32,114,101,113,117,105,114,101,100,0,77,101,115,115,97,103,101,32,116,111,111,32,108,97,114,103,101,0,80,114,111,116,111,99,111,108,32,119,114,111,110,103,32,116,121,112,101,32,102,111,114,32,115,111,99,107,101,116,0,80,114,111,116,111,99,111,108,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,80,114,111,116,111,99,111,108,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,83,111,99,107,101,116,32,116,121,112,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,78,111,116,32,115,117,112,112,111,114,116,101,100,0,80,114,111,116,111,99,111,108,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,65,100,100,114,101,115,115,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,98,121,32,112,114,111,116,111,99,111,108,0,65,100,100,114,101,115,115,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,78,101,116,119,111,114,107,32,105,115,32,100,111,119,110,0,78,101,116,119,111,114,107,32,117,110,114,101,97,99,104,97,98,108,101,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,110,101,116,119,111,114,107,0,67,111,110,110,101,99,116,105,111,110,32,97,98,111,114,116,101,100,0,78,111,32,98,117,102,102,101,114,32,115,112,97,99,101,32,97,118,97,105,108,97,98,108,101,0,83,111,99,107,101,116,32,105,115,32,99,111,110,110,101,99,116,101,100,0,83,111,99,107,101,116,32,110,111,116,32,99,111,110,110,101,99,116,101,100,0,67,97,110,110,111,116,32,115,101,110,100,32,97,102,116,101,114,32,115,111,99,107,101,116,32,115,104,117,116,100,111,119,110,0,79,112,101,114,97,116,105,111,110,32,97,108,114,101,97,100,121,32,105,110,32,112,114,111,103,114,101,115,115,0,79,112,101,114,97,116,105,111,110,32,105,110,32,112,114,111,103,114,101,115,115,0,83,116,97,108,101,32,102,105,108,101,32,104,97,110,100,108,101,0,82,101,109,111,116,101,32,73,47,79,32,101,114,114,111,114,0,81,117,111,116,97,32,101,120,99,101,101,100,101,100,0,78,111,32,109,101,100,105,117,109,32,102,111,117,110,100,0,87,114,111,110,103,32,109,101,100,105,117,109,32,116,121,112,101,0,78,111,32,101,114,114,111,114,32,105,110,102,111,114,109,97,116,105,111,110,0,0],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE);var tempDoublePtr=STATICTOP;STATICTOP+=16;function _ogvjs_callback_loaded_metadata(videoCodecStr,audioCodecStr){if(videoCodecStr){Module.videoCodec=Module.Pointer_stringify(videoCodecStr)}if(audioCodecStr){Module.audioCodec=Module.Pointer_stringify(audioCodecStr)}var len=Module._ogv_demuxer_media_duration();if(len>=0){Module.duration=len}else{Module.duration=NaN}Module.loadedMetadata=true}Module["_i64Subtract"]=_i64Subtract;function ___assert_fail(condition,filename,line,func){ABORT=true;throw"Assertion failed: "+Pointer_stringify(condition)+", at: "+[filename?Pointer_stringify(filename):"unknown filename",line,func?Pointer_stringify(func):"unknown function"]+" at "+stackTrace()}Module["_memset"]=_memset;Module["_bitshift64Lshr"]=_bitshift64Lshr;Module["_bitshift64Shl"]=_bitshift64Shl;function _abort(){Module["abort"]()}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest);return dest}Module["_memcpy"]=_memcpy;function _ogvjs_callback_seek(offsetLow,offsetHigh){var offset=offsetLow+offsetHigh*4294967296;if(Module.onseek){Module.onseek(offset)}}Module["_i64Add"]=_i64Add;var cttz_i8=allocate([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",ALLOC_STATIC);Module["_llvm_cttz_i32"]=_llvm_cttz_i32;Module["___udivmoddi4"]=___udivmoddi4;Module["___udivdi3"]=___udivdi3;Module["___muldsi3"]=___muldsi3;Module["___muldi3"]=___muldi3;function _ogvjs_callback_audio_packet(buffer,len,audioTimestamp){Module.audioPackets.push({data:Module.HEAPU8.buffer.slice?Module.HEAPU8.buffer.slice(buffer,buffer+len):(new Uint8Array(new Uint8Array(Module.HEAPU8.buffer,buffer,len))).buffer,timestamp:audioTimestamp})}Module["_memmove"]=_memmove;function _ogvjs_callback_video_packet(buffer,len,frameTimestamp,keyframeTimestamp,isKeyframe){Module.videoPackets.push({data:Module.HEAPU8.buffer.slice?Module.HEAPU8.buffer.slice(buffer,buffer+len):(new Uint8Array(new Uint8Array(Module.HEAPU8.buffer,buffer,len))).buffer,timestamp:frameTimestamp,keyframeTimestamp:keyframeTimestamp,isKeyframe:!!isKeyframe})}Module["___uremdi3"]=___uremdi3;function _ogvjs_callback_init_video(frameWidth,frameHeight,chromaWidth,chromaHeight,fps,picWidth,picHeight,picX,picY,displayWidth,displayHeight){Module.videoFormat={width:frameWidth,height:frameHeight,chromaWidth:chromaWidth,chromaHeight:chromaHeight,cropLeft:picX,cropTop:picY,cropWidth:picWidth,cropHeight:picHeight,displayWidth:displayWidth,displayHeight:displayHeight,fps:fps}}Module["_llvm_bswap_i32"]=_llvm_bswap_i32;function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}Module["_sbrk"]=_sbrk;var SYSCALLS={varargs:0,get:(function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret}),getStr:(function(){var ret=Pointer_stringify(SYSCALLS.get());return ret}),get64:(function(){var low=SYSCALLS.get(),high=SYSCALLS.get();if(low>=0)assert(high===0);else assert(high===-1);return low}),getZero:(function(){assert(SYSCALLS.get()===0)})};function ___syscall140(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),offset_high=SYSCALLS.get(),offset_low=SYSCALLS.get(),result=SYSCALLS.get(),whence=SYSCALLS.get();var offset=offset_low;assert(offset_high===0);FS.llseek(stream,offset,whence);HEAP32[result>>2]=stream.position;if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall6(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD();FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall146(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.get(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();var ret=0;if(!___syscall146.buffer){___syscall146.buffers=[null,[],[]];___syscall146.printChar=(function(stream,curr){var buffer=___syscall146.buffers[stream];assert(buffer);if(curr===0||curr===10){(stream===1?Module["print"]:Module["printErr"])(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}})}for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];for(var j=0;j>2]=DYNAMIC_BASE;staticSealed=true;function invoke_ii(index,a1){try{return Module["dynCall_ii"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiii(index,a1,a2,a3){try{return Module["dynCall_iiii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iii(index,a1,a2){try{return Module["dynCall_iii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){try{return Module["dynCall_iiiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiii(index,a1,a2,a3,a4){try{Module["dynCall_viiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}Module.asmGlobalArg={"Math":Math,"Int8Array":Int8Array,"Int16Array":Int16Array,"Int32Array":Int32Array,"Uint8Array":Uint8Array,"Uint16Array":Uint16Array,"Uint32Array":Uint32Array,"Float32Array":Float32Array,"Float64Array":Float64Array,"NaN":NaN,"Infinity":Infinity};Module.asmLibraryArg={"abort":abort,"assert":assert,"enlargeMemory":enlargeMemory,"getTotalMemory":getTotalMemory,"abortOnCannotGrowMemory":abortOnCannotGrowMemory,"invoke_ii":invoke_ii,"invoke_iiii":invoke_iiii,"invoke_iii":invoke_iii,"invoke_iiiii":invoke_iiiii,"invoke_viiii":invoke_viiii,"_ogvjs_callback_init_video":_ogvjs_callback_init_video,"_ogvjs_callback_video_packet":_ogvjs_callback_video_packet,"___syscall6":___syscall6,"___setErrNo":___setErrNo,"_abort":_abort,"___syscall140":___syscall140,"_ogvjs_callback_seek":_ogvjs_callback_seek,"_emscripten_memcpy_big":_emscripten_memcpy_big,"___syscall54":___syscall54,"_ogvjs_callback_audio_packet":_ogvjs_callback_audio_packet,"___assert_fail":___assert_fail,"___syscall146":___syscall146,"_ogvjs_callback_loaded_metadata":_ogvjs_callback_loaded_metadata,"DYNAMICTOP_PTR":DYNAMICTOP_PTR,"tempDoublePtr":tempDoublePtr,"ABORT":ABORT,"STACKTOP":STACKTOP,"STACK_MAX":STACK_MAX,"cttz_i8":cttz_i8};// EMSCRIPTEN_START_ASM var asm=(function(global,env,buffer) { "use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.DYNAMICTOP_PTR|0;var j=env.tempDoublePtr|0;var k=env.ABORT|0;var l=env.STACKTOP|0;var m=env.STACK_MAX|0;var n=env.cttz_i8|0;var o=0;var p=0;var q=0;var r=0;var s=global.NaN,t=global.Infinity;var u=0,v=0,w=0,x=0,y=0.0,z=0,A=0,B=0,C=0.0;var D=0;var E=global.Math.floor;var F=global.Math.abs;var G=global.Math.sqrt;var H=global.Math.pow;var I=global.Math.cos;var J=global.Math.sin;var K=global.Math.tan;var L=global.Math.acos;var M=global.Math.asin;var N=global.Math.atan;var O=global.Math.atan2;var P=global.Math.exp;var Q=global.Math.log;var R=global.Math.ceil;var S=global.Math.imul;var T=global.Math.min;var U=global.Math.max;var V=global.Math.clz32;var W=env.abort;var X=env.assert;var Y=env.enlargeMemory;var Z=env.getTotalMemory;var _=env.abortOnCannotGrowMemory;var $=env.invoke_ii;var aa=env.invoke_iiii;var ba=env.invoke_iii;var ca=env.invoke_iiiii;var da=env.invoke_viiii;var ea=env._ogvjs_callback_init_video;var fa=env._ogvjs_callback_video_packet;var ga=env.___syscall6;var ha=env.___setErrNo;var ia=env._abort;var ja=env.___syscall140;var ka=env._ogvjs_callback_seek;var la=env._emscripten_memcpy_big;var ma=env.___syscall54;var na=env._ogvjs_callback_audio_packet;var oa=env.___assert_fail;var pa=env.___syscall146;var qa=env._ogvjs_callback_loaded_metadata;var ra=0.0; // EMSCRIPTEN_START_FUNCS function xa(a){a=a|0;var b=0;b=l;l=l+a|0;l=l+15&-16;return b|0}function ya(){return l|0}function za(a){a=a|0;l=a}function Aa(a,b){a=a|0;b=b|0;l=a;m=b}function Ba(a,b){a=a|0;b=b|0;if(!o){o=a;p=b}}function Ca(a){a=a|0;D=a}function Da(){return D|0}function Ea(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0;h=l;l=l+16|0;i=h+8|0;j=h;if(!(c[b>>2]|0)){k=-1;l=h;return k|0}if(!(c[b+4>>2]|0)){k=-1;l=h;return k|0}if(!(c[b+8>>2]|0)){k=-1;l=h;return k|0}m=Ac(1,272)|0;if(!m){k=-1;l=h;return k|0}n=Ac(1,16)|0;c[m>>2]=n;if(!n){fb(0);zc(c[m>>2]|0);zc(m);k=-1;l=h;return k|0};c[n>>2]=c[b>>2];c[n+4>>2]=c[b+4>>2];c[n+8>>2]=c[b+8>>2];c[n+12>>2]=c[b+12>>2];b=m+4|0;c[b>>2]=e;e=eb(1)|0;n=m+8|0;c[n>>2]=e;if(!e){if(c[m+36>>2]|0)oa(3152,3174,1879,3208);fb(e);zc(c[m>>2]|0);zc(m);k=-1;l=h;return k|0}if(!(c[b>>2]|0))c[b>>2]=1;if((Ga(m,j,0)|0)!=1){if(c[m+36>>2]|0)oa(3152,3174,1879,3208);fb(c[n>>2]|0);zc(c[m>>2]|0);zc(m);k=-1;l=h;return k|0}e=j;if(!((c[e>>2]|0)==440786851&(c[e+4>>2]|0)==0)){if(c[m+36>>2]|0)oa(3152,3174,1879,3208);fb(c[n>>2]|0);zc(c[m>>2]|0);zc(m);k=-1;l=h;return k|0}e=c[b>>2]|0;c[i>>2]=m;wa[e&3](m,1,3224,i);i=Ac(1,12)|0;e=m+36|0;if(i|0){c[i>>2]=c[e>>2];c[i+4>>2]=8;c[i+8>>2]=m;c[e>>2]=i}i=Ha(m,0,f,g)|0;g=c[e>>2]|0;if(g|0){f=g;do{c[e>>2]=c[f>>2];zc(f);f=c[e>>2]|0}while((f|0)!=0)}if((i|0)!=1){fb(c[n>>2]|0);zc(c[m>>2]|0);zc(m);k=-1;l=h;return k|0}i=m+56|0;f=c[i>>2]|0;g=c[i+4>>2]|0;if(c[m+68>>2]|0){if((c[m+64>>2]|0)!=2)oa(3231,3174,725,3254);if(!((f|0)==1&(g|0)==0)){fb(c[n>>2]|0);zc(c[m>>2]|0);zc(m);k=-1;l=h;return k|0}}g=m+116|0;if(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24){g=m+104|0;f=m+112|0;if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)==4)o=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;else oa(3266,3174,751,3291)}else o=3305;if(Qb(o,3314)|0){fb(c[n>>2]|0);zc(c[m>>2]|0);zc(m);k=-1;l=h;return k|0}o=m+136|0;g=c[o>>2]|0;f=c[o+4>>2]|0;if(c[m+148>>2]|0){if((c[m+144>>2]|0)!=2)oa(3231,3174,725,3254);o=Kc(g|0,f|0,-1,-1)|0;f=D;if(f>>>0>0|(f|0)==0&o>>>0>1){fb(c[n>>2]|0);zc(c[m>>2]|0);zc(m);k=-1;l=h;return k|0}}o=c[m+192>>2]|0;if(!o){fb(c[n>>2]|0);zc(c[m>>2]|0);zc(m);k=-1;l=h;return k|0}f=m+216|0;c[f>>2]=0;g=0;i=o;do{g=g+1|0;i=c[i>>2]|0}while((i|0)!=0);c[f>>2]=g;g=c[m>>2]|0;f=sa[c[g+8>>2]&3](c[g+12>>2]|0)|0;g=D;i=m+240|0;c[i>>2]=f;c[i+4>>2]=g;if((g|0)>=0){g=m+16|0;i=c[g+4>>2]|0;f=m+248|0;c[f>>2]=c[g>>2];c[f+4>>2]=i;i=m+24|0;f=c[i+4>>2]|0;g=m+256|0;c[g>>2]=c[i>>2];c[g+4>>2]=f;c[m+264>>2]=c[m+32>>2];c[a>>2]=m;k=0;l=h;return k|0}if(c[e>>2]|0)oa(3152,3174,1879,3208);fb(c[n>>2]|0);zc(c[m>>2]|0);zc(m);k=-1;l=h;return k|0}function Fa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return}function Ga(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0;g=l;l=l+16|0;h=g;i=b+32|0;if(c[i>>2]|0){if(e|0){j=b+16|0;k=c[j+4>>2]|0;m=e;c[m>>2]=c[j>>2];c[m+4>>2]=k}if(!f){n=1;l=g;return n|0}k=b+24|0;m=c[k+4>>2]|0;j=f;c[j>>2]=c[k>>2];c[j+4>>2]=m;n=1;l=g;return n|0}m=c[b>>2]|0;j=b+16|0;k=m+12|0;o=ta[c[m>>2]&7](h,1,c[k>>2]|0)|0;a:do if((o|0)==1){p=a[h>>0]|0;q=p&255;do if(!(q&128)){if(!(q&64))if(!(q&32))if(!(q&16))if(!(q&8)){r=8-(q>>>1&1)+-1|0;if(!(q&4)){s=j;c[s>>2]=p&255;c[s+4>>2]=0;if(!r)break;else t=r}else{u=5;v=10}}else{u=4;v=10}else{u=3;v=10}else{u=2;v=10}else{u=1;v=10}if((v|0)==10){r=j;c[r>>2]=p&255;c[r+4>>2]=0;t=u}do{r=ta[c[m>>2]&7](h,1,c[k>>2]|0)|0;if((r|0)!=1){w=r;break a}r=j;s=Ic(c[r>>2]|0,c[r+4>>2]|0,8)|0;r=j;c[r>>2]=d[h>>0]|0|s;c[r+4>>2]=D;t=t+-1|0}while((t|0)!=0)}else{r=j;c[r>>2]=p&255;c[r+4>>2]=0}while(0);p=c[b>>2]|0;q=b+24|0;r=p+12|0;s=ta[c[p>>2]&7](h,1,c[r>>2]|0)|0;b:do if((s|0)==1){x=d[h>>0]|0;do if(!(x&128)){if(!(x&64))if(!(x&32))if(!(x&16))if(!(x&8)){y=x>>>1&1;z=8-y+-1|0;if(!(x&4)){A=q;c[A>>2]=-2-y&x;c[A+4>>2]=0;if(!z)break;else B=z}else{C=5;E=-5;v=23}}else{C=4;E=-9;v=23}else{C=3;E=-17;v=23}else{C=2;E=-33;v=23}else{C=1;E=-65;v=23}if((v|0)==23){z=q;c[z>>2]=E&x;c[z+4>>2]=0;B=C}do{z=ta[c[p>>2]&7](h,1,c[r>>2]|0)|0;if((z|0)!=1){F=z;break b}z=q;A=Ic(c[z>>2]|0,c[z+4>>2]|0,8)|0;z=q;c[z>>2]=d[h>>0]|0|A;c[z+4>>2]=D;B=B+-1|0}while((B|0)!=0)}else{z=q;c[z>>2]=x&127;c[z+4>>2]=0}while(0);if(e|0){x=j;z=c[x+4>>2]|0;A=e;c[A>>2]=c[x>>2];c[A+4>>2]=z}if(f|0){z=q;A=c[z+4>>2]|0;x=f;c[x>>2]=c[z>>2];c[x+4>>2]=A}c[i>>2]=1;n=1;l=g;return n|0}else F=s;while(0);n=F;l=g;return n|0}else w=o;while(0);n=w;l=g;return n|0}function Ha(b,e,f,i){b=b|0;e=e|0;f=f|0;i=i|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0.0,la=0,ma=0,na=0;k=l;l=l+8336|0;m=k+128|0;n=k+120|0;o=k+112|0;p=k+88|0;q=k+72|0;r=k+64|0;s=k+48|0;t=k+40|0;u=k+24|0;v=k+16|0;w=k+136|0;x=k+8|0;y=k;z=b+36|0;if(!(c[z>>2]|0))oa(3319,3174,997,3333);A=(i|0)>0|(i|0)==0&f>>>0>0;B=b+32|0;C=b+4|0;E=(e|0)==0;F=b+8|0;a:while(1){if(A?(G=c[b>>2]|0,H=sa[c[G+8>>2]&3](c[G+12>>2]|0)|0,G=D,!((G|0)<(i|0)|(G|0)==(i|0)&H>>>0>>0)):0){I=1;J=86;break}H=Ga(b,x,y)|0;if((H|0)!=1){K=H;break}H=x;L=c[H>>2]|0;M=c[H+4>>2]|0;H=c[z>>2]|0;G=c[H+4>>2]|0;N=G+8|0;O=c[N>>2]|0;P=c[N+4>>2]|0;b:do if(!((O|0)==0&(P|0)==0)){N=O;Q=P;R=G;while(1){if((N|0)==(L|0)&(Q|0)==(M|0))break;S=R+48|0;N=c[S>>2]|0;Q=c[S+4>>2]|0;if((N|0)==0&(Q|0)==0)break b;else R=R+40|0}if(R|0){Q=R+24|0;if(c[Q>>2]&2|0){J=12;break a}N=Ga(b,x,y)|0;if((N|0)!=1){K=N;break a}c[B>>2]=0;N=x;if(!((c[N>>2]|0)==(L|0)?(c[N+4>>2]|0)==(M|0):0)){J=18;break a}if(c[Q>>2]&4|0?(N=(c[(c[z>>2]|0)+8>>2]|0)+(c[R+36>>2]|0)|0,S=c[b>>2]|0,T=sa[c[S+8>>2]&3](c[S+12>>2]|0)|0,S=D,U=N,c[U>>2]=T,c[U+4>>2]=S,(S|0)<0):0){K=-1;break a}S=R+16|0;U=c[S>>2]|0;if((U|0)==1){T=c[C>>2]|0;N=R+8|0;V=N;W=c[V>>2]|0;X=c[V+4>>2]|0;V=c[R>>2]|0;if(!(c[Q>>2]&1)){Q=s;c[Q>>2]=W;c[Q+4>>2]=X;c[s+8>>2]=V;wa[T&3](b,1,3487,s);Q=c[C>>2]|0;Y=R+20|0;Z=c[Y>>2]|0;c[r>>2]=(c[(c[z>>2]|0)+8>>2]|0)+Z;c[r+4>>2]=Z;wa[Q&3](b,1,3519,r);Q=c[R+28>>2]|0;Z=c[z>>2]|0;_=c[Z+8>>2]|0;$=c[Y>>2]|0;Y=Ac(1,12)|0;if(!Y){I=1;J=86;break a}c[Y>>2]=Z;c[Y+4>>2]=Q;c[Y+8>>2]=_+$;c[z>>2]=Y;continue a}Y=u;c[Y>>2]=W;c[Y+4>>2]=X;c[u+8>>2]=V;wa[T&3](b,1,3438,u);T=(c[(c[z>>2]|0)+8>>2]|0)+(c[R+20>>2]|0)|0;V=c[F>>2]|0;aa=eb(24)|0;if(!aa){I=1;J=86;break a}cb(aa,V);V=aa;X=V+24|0;do{a[V>>0]=0;V=V+1|0}while((V|0)<(X|0));V=N;X=c[V+4>>2]|0;Y=aa+8|0;c[Y>>2]=c[V>>2];c[Y+4>>2]=X;X=c[R+32>>2]|0;Y=c[F>>2]|0;V=eb(X)|0;if(!V){J=25;break a}cb(V,Y);Gc(V|0,0,X|0)|0;X=aa+16|0;c[X>>2]=V;Y=T+4|0;W=c[Y>>2]|0;if(W|0)c[W>>2]=aa;c[Y>>2]=aa;if(!(c[T>>2]|0))c[T>>2]=aa;Y=c[C>>2]|0;c[t>>2]=V;wa[Y&3](b,1,3469,t);Y=c[R+28>>2]|0;V=c[X>>2]|0;X=Ac(1,12)|0;if(!X){I=1;J=86;break a}c[X>>2]=c[z>>2];c[X+4>>2]=Y;c[X+8>>2]=V;c[z>>2]=X;continue a}X=c[y>>2]|0;V=c[R+20>>2]|0;ba=(c[(c[z>>2]|0)+8>>2]|0)+V|0;Y=ba+12|0;W=c[C>>2]|0;$=c[R>>2]|0;_=R+8|0;Q=c[_>>2]|0;Z=c[_+4>>2]|0;if(c[Y>>2]|0){_=q;c[_>>2]=Q;c[_+4>>2]=Z;c[q+8>>2]=$;wa[W&3](b,1,3542,q);continue a}c[ba+8>>2]=U;_=p;c[_>>2]=Q;c[_+4>>2]=Z;c[p+8>>2]=$;c[p+12>>2]=ba;c[p+16>>2]=V;wa[W&3](b,1,3583,p);c:do switch(c[S>>2]|0){case 2:{W=c[b>>2]|0;V=Kc(X|0,0,-1,-1)|0;$=D;d:do if(!($>>>0>0|($|0)==0&V>>>0>7)){Z=W+12|0;_=ta[c[W>>2]&7](w,1,c[Z>>2]|0)|0;if((_|0)==1){Q=ba;c[Q>>2]=d[w>>0];c[Q+4>>2]=0;if((V|0)==0&($|0)==0)ca=1;else{Q=V;da=$;while(1){ea=ta[c[W>>2]&7](w,1,c[Z>>2]|0)|0;if((ea|0)!=1){ca=ea;break d}ea=ba;fa=Ic(c[ea>>2]|0,c[ea+4>>2]|0,8)|0;ea=ba;c[ea>>2]=d[w>>0]|0|fa;c[ea+4>>2]=D;Q=Kc(Q|0,da|0,-1,-1)|0;da=D;if((Q|0)==0&(da|0)==0){ca=1;break}}}}else ca=_}else ca=-1;while(0);ga=ca;J=61;break}case 3:{W=c[b>>2]|0;switch(X|0){case 4:case 8:break;default:{K=-1;break a}}$=Kc(X|0,0,-1,-1)|0;V=D;e:do if(!(V>>>0>0|(V|0)==0&$>>>0>7)){da=W+12|0;Q=ta[c[W>>2]&7](w,1,c[da>>2]|0)|0;if((Q|0)==1){Z=d[w>>0]|0;ea=$;fa=V;ha=0;do{ia=ta[c[W>>2]&7](w,1,c[da>>2]|0)|0;if((ia|0)!=1){ja=ia;break e}ia=Z;Z=d[w>>0]|0|Z<<8;ha=Hc(ia|0,ha|0,24)|0;ea=Kc(ea|0,fa|0,-1,-1)|0;fa=D}while(!((ea|0)==0&(fa|0)==0));ka=(c[j>>2]=Z,+g[j>>2]);c[j>>2]=Z;c[j+4>>2]=ha;h[ba>>3]=(X|0)==4?ka:+h[j>>3];J=62;break c}else ja=Q}else ja=-1;while(0);la=ja;J=63;break}case 4:{if(X>>>0>1048576){K=-1;break a}W=X+1|0;V=c[F>>2]|0;$=eb(W)|0;if(!$){K=-1;break a}cb($,V);Gc($|0,0,W|0)|0;if(X|0?(W=c[b>>2]|0,V=ta[c[W>>2]&7]($,X,c[W+12>>2]|0)|0,(V|0)!=1):0){la=V;J=63;break c}a[$+X>>0]=0;c[ba>>2]=$;J=62;break}case 5:{$=Kc(X|0,0,-1,-1)|0;V=D;if(V>>>0>0|(V|0)==0&$>>>0>16777215){K=-1;break a}$=c[F>>2]|0;V=eb(X)|0;if(!V){J=58;break a}cb(V,$);Gc(V|0,0,X|0)|0;c[ba>>2]=V;c[ba+4>>2]=X;$=c[b>>2]|0;ga=ta[c[$>>2]&7](V,X,c[$+12>>2]|0)|0;J=61;break}default:{J=60;break a}}while(0);if((J|0)==61){J=0;if((ga|0)==1)J=62;else{la=ga;J=63}}if((J|0)==62){J=0;c[Y>>2]=1;continue a}else if((J|0)==63){J=0;if((la|0)<0){K=la;break a}else continue a}}}while(0);G=c[H>>2]|0;f:do if(G|0){P=G;g:while(1){O=c[P+4>>2]|0;X=O+8|0;S=c[X>>2]|0;U=c[X+4>>2]|0;if(!((S|0)==0&(U|0)==0)){X=S;S=U;U=O;while(1){if((X|0)==(L|0)&(S|0)==(M|0))break g;O=U+48|0;X=c[O>>2]|0;S=c[O+4>>2]|0;if((X|0)==0&(S|0)==0)break;else U=U+40|0}}P=c[P>>2]|0;if(!P)break f}P=c[C>>2]|0;Y=o;c[Y>>2]=L;c[Y+4>>2]=M;wa[P&3](b,1,3629,o);P=c[z>>2]|0;if(!E?(c[P+4>>2]|0)==(e|0):0){J=71;break a}c[z>>2]=c[P>>2];zc(P);continue a}while(0);G=Ga(b,x,y)|0;if((G|0)!=1){K=G;break}c[B>>2]=0;G=x;H=c[G>>2]|0;P=c[G+4>>2]|0;switch(H|0){case 191:{if(P|0)J=77;break}case 236:{if(P|0)J=77;break}default:J=77}if((J|0)==77){J=0;G=c[C>>2]|0;Y=m;c[Y>>2]=H;c[Y+4>>2]=P;wa[G&3](b,1,3691,m)}G=c[b>>2]|0;P=c[y>>2]|0;if(P|0){Y=G+12|0;H=P;do{P=H>>>0<8192?H:8192;ma=ta[c[G>>2]&7](w,P,c[Y>>2]|0)|0;H=H-P|0;if((ma|0)!=1){J=83;break a}}while((H|0)!=0)}}if((J|0)==12){w=R+8|0;if(!((c[w>>2]|0)==524531317&(c[w+4>>2]|0)==0))oa(3342,3174,1013,3333);if((c[R+16>>2]|0)!=1)oa(3342,3174,1013,3333);R=c[C>>2]|0;w=v;c[w>>2]=L;c[w+4>>2]=M;wa[R&3](b,1,3400,v);I=1;l=k;return I|0}else if((J|0)==18)oa(3422,3174,1022,3333);else if((J|0)==25){c[aa+16>>2]=0;I=1;l=k;return I|0}else if((J|0)==58){c[ba>>2]=0;K=-1}else if((J|0)==60)oa(3612,3174,979,3614);else if((J|0)==71){wa[c[C>>2]&3](b,1,3649,n);I=1;l=k;return I|0}else if((J|0)==83)K=ma;else if((J|0)==86){l=k;return I|0}J=c[z>>2]|0;if(!J){I=K;l=k;return I|0}else na=J;do{c[z>>2]=c[na>>2];zc(na);na=c[z>>2]|0}while((na|0)!=0);I=K;l=k;return I|0}function Ia(b,e){b=b|0;e=e|0;var f=0,g=0.0,i=0,k=0,l=0,m=0.0;f=b+176|0;a[j>>0]=a[f>>0];a[j+1>>0]=a[f+1>>0];a[j+2>>0]=a[f+2>>0];a[j+3>>0]=a[f+3>>0];a[j+4>>0]=a[f+4>>0];a[j+5>>0]=a[f+5>>0];a[j+6>>0]=a[f+6>>0];a[j+7>>0]=a[f+7>>0];g=+h[j>>3];f=b+188|0;if(!(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)){i=-1;return i|0}f=b+184|0;if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)!=3)oa(4548,3174,738,4572);if(c[b+172>>2]|0){f=b+160|0;if((c[b+168>>2]|0)==2){k=c[f>>2]|0;l=c[f+4>>2]|0}else oa(3231,3174,725,3254)}else{k=1e6;l=0}if(g<0.0){i=-1;return i|0}f=Nc(-1,-1,k|0,l|0)|0;if(g>+(f>>>0)+4294967296.0*+(D>>>0)){i=-1;return i|0}m=g*(+(k>>>0)+4294967296.0*+(l>>>0));l=+F(m)>=1.0?(m>0.0?~~+T(+E(m/4294967296.0),4294967295.0)>>>0:~~+R((m-+(~~m>>>0))/4294967296.0)>>>0):0;k=e;c[k>>2]=~~m>>>0;c[k+4>>2]=l;i=0;return i|0}function Ja(a,b){a=a|0;b=b|0;c[b>>2]=c[a+216>>2];return 0}function Ka(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=l;l=l+16|0;f=e+8|0;g=e;h=a+152|0;i=a+200|0;if(!(c[i>>2]|0)){j=La(c[h>>2]|0)|0;if(!j){k=-1;l=e;return k|0}m=j+16|0;n=c[m>>2]|0;o=c[m+4>>2]|0;if(!(c[j+28>>2]|0)){k=-1;l=e;return k|0}if((c[j+24>>2]|0)!=2)oa(3231,3174,725,3254);j=c[a>>2]|0;m=sa[c[j+8>>2]&3](c[j+12>>2]|0)|0;j=D;if((j|0)<0){k=-1;l=e;return k|0}p=a+16|0;q=p;r=c[q>>2]|0;s=c[q+4>>2]|0;q=a+24|0;t=q;u=c[t>>2]|0;v=c[t+4>>2]|0;t=a+32|0;w=c[t>>2]|0;x=c[a>>2]|0;y=a+208|0;z=Kc(c[y>>2]|0,c[y+4>>2]|0,n|0,o|0)|0;if(va[c[x+4>>2]&1](z,D,0,c[x+12>>2]|0)|0){k=-1;l=e;return k|0}c[t>>2]=0;if((Ga(a,g,0)|0)!=1){k=-1;l=e;return k|0}c[t>>2]=0;x=g;if(!((c[x>>2]|0)==475249515&(c[x+4>>2]|0)==0)){k=-1;l=e;return k|0}x=a+36|0;g=c[x>>2]|0;if(g|0)oa(3152,3174,1631,4641);z=Ac(1,12)|0;if(!z){k=-1;l=e;return k|0}c[z>>2]=g;c[z+4>>2]=8;c[z+8>>2]=a;c[x>>2]=z;g=Ac(1,12)|0;if(!g){k=-1;l=e;return k|0}c[g>>2]=z;c[g+4>>2]=448;c[g+8>>2]=h;c[x>>2]=g;h=Ac(1,12)|0;if(!h){k=-1;l=e;return k|0}c[h>>2]=g;c[h+4>>2]=968;c[h+8>>2]=i;c[x>>2]=h;wa[c[a+4>>2]&3](a,1,4660,f);f=Ha(a,968,b,d)|0;d=c[x>>2]|0;if(d|0){b=d;do{c[x>>2]=c[b>>2];zc(b);b=c[x>>2]|0}while((b|0)!=0)}b=c[a>>2]|0;if(va[c[b+4>>2]&1](m,j,0,c[b+12>>2]|0)|0){k=-1;l=e;return k|0}b=p;c[b>>2]=r;c[b+4>>2]=s;s=q;c[s>>2]=u;c[s+4>>2]=v;c[t>>2]=w;if((f|0)<0){k=-1;l=e;return k|0}if(!(c[i>>2]|0)){k=-1;l=e;return k|0}}k=0;l=e;return k|0}function La(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!a){b=0;return b|0}else e=a;a:while(1){a=e+8|0;if(!((c[a>>2]|0)==290298740&(c[a+4>>2]|0)==0)){f=3;break}a=c[c[e+16>>2]>>2]|0;if(a|0){g=a;do{a=g+8|0;if(!((c[a>>2]|0)==19899&(c[a+4>>2]|0)==0)){f=6;break a}a=c[g+16>>2]|0;h=c[a>>2]|0;i=c[a+4>>2]|0;if(c[a+12>>2]|0){if((c[a+8>>2]|0)!=5){f=9;break a}if(i|0){j=0;k=0;l=i;i=h;while(1){l=l+-1|0;h=Ic(j|0,k|0,8)|0;k=D;j=d[i>>0]|0|h;if(!l)break;else i=i+1|0}if((j|0)==475249515&(k|0)==0){b=a;f=15;break a}}}g=c[g>>2]|0}while((g|0)!=0)}e=c[e>>2]|0;if(!e){b=0;f=15;break}}if((f|0)==3)oa(4687,3174,1516,4717);else if((f|0)==6)oa(4737,3174,1521,4717);else if((f|0)==9)oa(4757,3174,764,4782);else if((f|0)==15)return b|0;return 0}function Ma(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=a+200|0;if((c[f>>2]|0)==0?Ka(a,-1,-1)|0:0){g=-1;return g|0}if(c[a+172>>2]|0){h=a+160|0;if((c[a+168>>2]|0)==2){i=c[h>>2]|0;j=c[h+4>>2]|0}else oa(3231,3174,725,3254)}else{i=1e6;j=0}h=c[f>>2]|0;if(!h){g=-1;return g|0}f=a+192|0;k=h;h=0;a:while(1){l=k+8|0;if(!((c[l>>2]|0)==187&(c[l+4>>2]|0)==0)){m=9;break}l=c[k+16>>2]|0;n=(h|0)==0?l:h;o=l;p=c[o>>2]|0;q=c[o+4>>2]|0;if(c[l+12>>2]|0){if((c[l+8>>2]|0)!=2){m=12;break}o=Pc(p|0,q|0,i|0,j|0)|0;q=D;if(q>>>0>e>>>0|(q|0)==(e|0)&o>>>0>d>>>0){r=n;m=33;break}}o=c[l+16>>2]|0;b:do if(!o)s=0;else{q=o;while(1){p=q+8|0;if(!((c[p>>2]|0)==183&(c[p+4>>2]|0)==0)){m=16;break a}p=c[q+16>>2]|0;t=c[p>>2]|0;if(!(c[p+12>>2]|0)){s=0;break b}if((c[p+8>>2]|0)!=2){m=19;break a}if(!t){s=0;break b}u=c[f>>2]|0;if(!u){s=0;break b}v=u;u=0;while(1){w=v+8|0;if(!((c[w>>2]|0)==174&(c[w+4>>2]|0)==0)){m=24;break a}w=c[v+16>>2]|0;x=w;if(!(c[w+12>>2]|0)){s=0;break b}if((c[w+8>>2]|0)!=2){m=27;break a}if((c[x+4>>2]|0)==0?(c[x>>2]|0)==(t|0):0)break;v=c[v>>2]|0;if(!v){s=0;break b}else u=u+1|0}if((u|0)==(b|0)){s=p;break b}q=c[q>>2]|0;if(!q){s=0;break}}}while(0);o=(s|0)==0?n:l;k=c[k>>2]|0;if(!k){r=o;m=33;break}else h=o}if((m|0)==9)oa(4816,3174,1569,4846);else if((m|0)==12)oa(3231,3174,725,3254);else if((m|0)==16)oa(4875,3174,1545,4910);else if((m|0)==19)oa(3231,3174,725,3254);else if((m|0)==24)oa(4585,3174,1187,4612);else if((m|0)==27)oa(3231,3174,725,3254);else if((m|0)==33){if(!r){g=-1;return g|0}h=c[r+16>>2]|0;if(!h){g=-1;return g|0}else y=h;c:while(1){h=y+8|0;if(!((c[h>>2]|0)==183&(c[h+4>>2]|0)==0)){m=36;break}z=c[y+16>>2]|0;h=c[z>>2]|0;if(!(c[z+12>>2]|0)){g=-1;m=60;break}if((c[z+8>>2]|0)!=2){m=39;break}if(!h){g=-1;m=60;break}r=c[f>>2]|0;if(!r){g=-1;m=60;break}k=r;r=0;while(1){s=k+8|0;if(!((c[s>>2]|0)==174&(c[s+4>>2]|0)==0)){m=44;break c}s=c[k+16>>2]|0;d=s;if(!(c[s+12>>2]|0)){g=-1;m=60;break c}if((c[s+8>>2]|0)!=2){m=47;break c}if((c[d+4>>2]|0)==0?(c[d>>2]|0)==(h|0):0)break;k=c[k>>2]|0;if(!k){g=-1;m=60;break c}else r=r+1|0}if((r|0)==(b|0)){m=52;break}y=c[y>>2]|0;if(!y){g=-1;m=60;break}}if((m|0)==36)oa(4875,3174,1545,4910);else if((m|0)==39)oa(3231,3174,725,3254);else if((m|0)==44)oa(4585,3174,1187,4612);else if((m|0)==47)oa(3231,3174,725,3254);else if((m|0)==52){if(!z){g=-1;return g|0}y=z+16|0;b=c[y>>2]|0;f=c[y+4>>2]|0;if(!(c[z+28>>2]|0)){g=-1;return g|0}if((c[z+24>>2]|0)!=2)oa(3231,3174,725,3254);z=a+208|0;y=Kc(c[z>>2]|0,c[z+4>>2]|0,b|0,f|0)|0;f=D;if((f|0)<0){g=-1;return g|0}b=c[a>>2]|0;if(va[c[b+4>>2]&1](y,f,0,c[b+12>>2]|0)|0){g=-1;return g|0}c[a+32>>2]=0;if(!(c[a+36>>2]|0)){g=0;return g|0}else oa(3152,3174,2002,4796)}else if((m|0)==60)return g|0}return 0}function Na(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=c[a+192>>2]|0;if(!d)return -1;else{e=d;f=0}while(1){d=e+8|0;if(!((c[d>>2]|0)==174&(c[d+4>>2]|0)==0)){g=3;break}if((f|0)==(b|0)){g=6;break}d=c[e>>2]|0;if(!d){g=11;break}else{e=d;f=f+1|0}}if((g|0)==3)oa(4585,3174,1208,4941);else if((g|0)==6){f=c[e+16>>2]|0;if(!f)return -1;e=c[f+32>>2]|0;if(!(c[f+44>>2]|0))return -1;if((c[f+40>>2]|0)==2)return ((e&1|0)==0&0==0?((e&2|0)==0&0==0?2147483647:1):0)|0;else oa(3231,3174,725,3254)}else if((g|0)==11)return -1;return 0}function Oa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0;e=c[a+192>>2]|0;if(!e){f=-1;return f|0}else{g=e;h=0}while(1){e=g+8|0;if(!((c[e>>2]|0)==174&(c[e+4>>2]|0)==0)){i=3;break}if((h|0)==(b|0)){i=6;break}e=c[g>>2]|0;if(!e){f=-1;i=14;break}else{g=e;h=h+1|0}}if((i|0)==3)oa(4585,3174,1208,4941);else if((i|0)==6){h=c[g+16>>2]|0;if(!h){f=-1;return f|0}g=h+128|0;b=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;g=h+140|0;if(!(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24)){f=-1;return f|0}g=h+136|0;if((d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24|0)!=4)oa(3266,3174,751,3291);if(!(Qb(b,4961)|0)){f=0;return f|0}if(!(Qb(b,4967)|0)){f=2;return f|0}if(!(Qb(b,4973)|0)){f=1;return f|0}g=(Qb(b,4982)|0)==0;f=g?3:2147483647;return f|0}else if((i|0)==14)return f|0;return 0}function Pa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;c[e>>2]=0;f=c[a+192>>2]|0;if(!f){g=-1;return g|0}else{h=f;i=0}while(1){f=h+8|0;if(!((c[f>>2]|0)==174&(c[f+4>>2]|0)==0)){j=3;break}if((i|0)==(b|0)){j=6;break}f=c[h>>2]|0;if(!f){g=-1;j=14;break}else{h=f;i=i+1|0}}if((j|0)==3)oa(4585,3174,1208,4941);else if((j|0)==6){i=c[h+16>>2]|0;if(!i){g=-1;return g|0}switch(Oa(a,b)|0){case 3:{c[e>>2]=1;g=0;return g|0}case 1:{b=c[i+144>>2]|0;a=c[i+148>>2]|0;if(!(c[i+156>>2]|0)){g=-1;return g|0}if((c[i+152>>2]|0)!=5)oa(4757,3174,764,4782);if(!a){g=-1;return g|0}a=(d[b>>0]|0)+1|0;c[e>>2]=a;g=(a>>>0>3)<<31>>31;return g|0}default:{g=-1;return g|0}}}else if((j|0)==14)return g|0;return 0}function Qa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;h=l;l=l+32|0;i=h;c[f>>2]=0;c[g>>2]=0;j=c[b+192>>2]|0;if(!j){k=-1;l=h;return k|0}else{m=j;n=0}while(1){j=m+8|0;if(!((c[j>>2]|0)==174&(c[j+4>>2]|0)==0)){o=3;break}if((n|0)==(d|0)){o=6;break}j=c[m>>2]|0;if(!j){k=-1;o=27;break}else{m=j;n=n+1|0}}if((o|0)==3)oa(4585,3174,1208,4941);else if((o|0)==6){n=c[m+16>>2]|0;if(!n){k=-1;l=h;return k|0}if((Oa(b,d)|0)!=1?(Oa(b,d)|0)!=3:0){k=-1;l=h;return k|0}m=c[n+144>>2]|0;j=c[n+148>>2]|0;if(!(c[n+156>>2]|0)){k=-1;l=h;return k|0}if((c[n+152>>2]|0)!=5)oa(4757,3174,764,4782);do if((Oa(b,d)|0)!=1)if(!e){c[f>>2]=m;p=j;break}else{k=-1;l=h;return k|0}else{n=m;if(!j){k=-1;l=h;return k|0}q=n+1|0;r=a[n>>0]|0;n=r&255;s=n+1|0;t=Kc(j|0,0,-1,-1)|0;u=D;if(!(s>>>0<4&s>>>0>e>>>0)){k=-1;l=h;return k|0}a:do if(r<<24>>24){s=0;v=0;w=t;x=u;y=0;z=q;b:while(1){A=w;B=x;C=0;E=0;F=z;do{G=Fc(A|0,B|0,s|0,v|0)|0;H=D;if(!(H>>>0>C>>>0|(H|0)==(C|0)&G>>>0>E>>>0)){k=-1;o=27;break b}G=a[F>>0]|0;E=Kc(G&255|0,0,E|0,C|0)|0;C=D;A=Kc(A|0,B|0,-1,-1)|0;B=D;F=F+1|0}while(G<<24>>24==-1);G=Fc(A|0,B|0,s|0,v|0)|0;H=D;if(H>>>0>>0|(H|0)==(C|0)&G>>>0>>0){k=-1;o=27;break}G=i+(y<<3)|0;c[G>>2]=E;c[G+4>>2]=C;G=Kc(E|0,C|0,s|0,v|0)|0;H=D;I=y+1|0;if(I>>>0>>0){s=G;v=H;w=A;x=B;y=I;z=F}else{J=A;K=B;L=G;M=H;N=I;O=F;break a}}if((o|0)==27){l=h;return k|0}}else{J=t;K=u;L=0;M=0;N=0;O=q}while(0);q=Fc(J|0,K|0,L|0,M|0)|0;u=i+(N<<3)|0;c[u>>2]=q;c[u+4>>2]=D;if(!e)P=O;else{u=0;q=O;while(1){t=q+(c[i+(u<<3)>>2]|0)|0;u=u+1|0;if((u|0)==(e|0)){P=t;break}else q=t}}c[f>>2]=P;p=c[i+(e<<3)>>2]|0}while(0);c[g>>2]=p;k=0;l=h;return k|0}else if((o|0)==27){l=h;return k|0}return 0}function Ra(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=d;f=e+40|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));e=c[a+192>>2]|0;if(!e){g=-1;return g|0}else{h=e;i=0}while(1){a=h+8|0;if(!((c[a>>2]|0)==174&(c[a+4>>2]|0)==0)){j=3;break}if((i|0)==(b|0)){j=6;break}a=c[h>>2]|0;if(!a){g=-1;j=54;break}else{h=a;i=i+1|0}}if((j|0)==3)oa(4585,3174,1208,4941);else if((j|0)==6){i=c[h+16>>2]|0;if(!i){g=-1;return g|0}else{k=e;l=0}while(1){e=k+8|0;if(!((c[e>>2]|0)==174&(c[e+4>>2]|0)==0)){j=8;break}if((l|0)==(b|0)){j=11;break}e=c[k>>2]|0;if(!e){g=-1;j=54;break}else{k=e;l=l+1|0}}if((j|0)==8)oa(4585,3174,1208,4941);else if((j|0)==11){l=c[k+16>>2]|0;if(!l){g=-1;return g|0}k=c[l+32>>2]|0;if(!(c[l+44>>2]|0)){g=-1;return g|0}if((c[l+40>>2]|0)!=2)oa(3231,3174,725,3254);if((k&1|0)==0&0==0){g=-1;return g|0}k=i+208|0;l=c[k>>2]|0;b=c[k+4>>2]|0;a:do if(!(c[i+220>>2]|0)){m=0;j=25}else{if((c[i+216>>2]|0)!=2)oa(3231,3174,725,3254);switch(l|0){case 0:{if(!b){m=l;j=25;break a}else break a;break}case 1:{if(!b){m=l;j=25;break a}else break a;break}case 2:{if(!b){m=l;j=25;break a}else break a;break}case 3:{if(!b){m=l;j=25;break a}else break a;break}case 11:{if(!b){m=l;j=25;break a}else break a;break}default:break a}}while(0);if((j|0)==25)c[d>>2]=m;if(c[i+236>>2]|0)if((c[i+232>>2]|0)==2)n=c[i+224>>2]|0;else oa(3231,3174,725,3254);else n=0;c[d+36>>2]=n;n=c[i+240>>2]|0;if(!(c[i+252>>2]|0)){g=-1;return g|0}if((c[i+248>>2]|0)!=2)oa(3231,3174,725,3254);c[d+4>>2]=n;m=c[i+256>>2]|0;if(!(c[i+268>>2]|0)){g=-1;return g|0}if((c[i+264>>2]|0)!=2)oa(3231,3174,725,3254);c[d+8>>2]=m;if(c[i+284>>2]|0)if((c[i+280>>2]|0)==2)o=c[i+272>>2]|0;else oa(3231,3174,725,3254);else o=0;c[d+20>>2]=o;if(c[i+300>>2]|0)if((c[i+296>>2]|0)==2)p=c[i+288>>2]|0;else oa(3231,3174,725,3254);else p=0;c[d+24>>2]=p;if(c[i+316>>2]|0)if((c[i+312>>2]|0)==2)q=c[i+304>>2]|0;else oa(3231,3174,725,3254);else q=0;c[d+28>>2]=q;if(c[i+332>>2]|0)if((c[i+328>>2]|0)==2)r=c[i+320>>2]|0;else oa(3231,3174,725,3254);else r=0;c[d+32>>2]=r;do if(!(c[i+348>>2]|0))s=n;else{if((c[i+344>>2]|0)==2){s=c[i+336>>2]|0;break}oa(3231,3174,725,3254)}while(0);c[d+12>>2]=s;do if(!(c[i+364>>2]|0))t=m;else{if((c[i+360>>2]|0)==2){t=c[i+352>>2]|0;break}oa(3231,3174,725,3254)}while(0);c[d+16>>2]=t;g=0;return g|0}else if((j|0)==54)return g|0}else if((j|0)==54)return g|0;return 0}function Sa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;g=c[b+192>>2]|0;if(!g){i=-1;return i|0}else{k=g;l=0}while(1){b=k+8|0;if(!((c[b>>2]|0)==174&(c[b+4>>2]|0)==0)){m=3;break}if((l|0)==(e|0)){m=6;break}b=c[k>>2]|0;if(!b){i=-1;m=33;break}else{k=b;l=l+1|0}}if((m|0)==3)oa(4585,3174,1208,4941);else if((m|0)==6){l=c[k+16>>2]|0;if(!l){i=-1;return i|0}else{n=g;o=0}while(1){g=n+8|0;if(!((c[g>>2]|0)==174&(c[g+4>>2]|0)==0)){m=8;break}if((o|0)==(e|0)){m=11;break}g=c[n>>2]|0;if(!g){i=-1;m=33;break}else{n=g;o=o+1|0}}if((m|0)==8)oa(4585,3174,1208,4941);else if((m|0)==11){o=c[n+16>>2]|0;if(!o){i=-1;return i|0}n=c[o+32>>2]|0;if(!(c[o+44>>2]|0)){i=-1;return i|0}if((c[o+40>>2]|0)!=2)oa(3231,3174,725,3254);if(!((n&3|0)==2&0==0)){i=-1;return i|0}h[f>>3]=8.0e3;n=l+368|0;a[j>>0]=a[n>>0];a[j+1>>0]=a[n+1>>0];a[j+2>>0]=a[n+2>>0];a[j+3>>0]=a[n+3>>0];a[j+4>>0]=a[n+4>>0];a[j+5>>0]=a[n+5>>0];a[j+6>>0]=a[n+6>>0];a[j+7>>0]=a[n+7>>0];p=+h[j>>3];n=l+380|0;do if(d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24|0){o=l+376|0;if((d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24|0)==3){h[f>>3]=p;break}else oa(4548,3174,738,4572)}while(0);if(c[l+396>>2]|0)if((c[l+392>>2]|0)==2)q=c[l+384>>2]|0;else oa(3231,3174,725,3254);else q=1;c[f+8>>2]=q;if(c[l+412>>2]|0)if((c[l+408>>2]|0)==2)r=c[l+400>>2]|0;else oa(3231,3174,725,3254);else r=16;c[f+12>>2]=r;if(c[l+172>>2]|0){r=l+160|0;if((c[l+168>>2]|0)==2){s=c[r>>2]|0;t=c[r+4>>2]|0}else oa(3231,3174,725,3254)}else{s=0;t=0}r=f+16|0;c[r>>2]=s;c[r+4>>2]=t;if(c[l+188>>2]|0){t=l+176|0;if((c[l+184>>2]|0)==2){u=c[t>>2]|0;v=c[t+4>>2]|0}else oa(3231,3174,725,3254)}else{u=0;v=0}t=f+24|0;c[t>>2]=u;c[t+4>>2]=v;i=0;return i|0}else if((m|0)==33)return i|0}else if((m|0)==33)return i|0;return 0}function Ta(a){a=a|0;var b=0,d=0,e=0,f=0;if(c[a+36>>2]|0)oa(3152,3174,2325,4989);b=a+240|0;d=c[b+4>>2]|0;if((d|0)<0){e=-1;return e|0}f=c[a>>2]|0;if(va[c[f+4>>2]&1](c[b>>2]|0,d,0,c[f+12>>2]|0)|0){e=-1;return e|0}f=a+248|0;d=c[f+4>>2]|0;b=a+16|0;c[b>>2]=c[f>>2];c[b+4>>2]=d;d=a+256|0;b=c[d+4>>2]|0;f=a+24|0;c[f>>2]=c[d>>2];c[f+4>>2]=b;c[a+32>>2]=c[a+264>>2];e=0;return e|0}function Ua(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,pa=0,qa=0,ra=0,ua=0,va=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0;f=l;l=l+8288|0;g=f+80|0;h=f+72|0;i=f+64|0;j=f+56|0;k=f+48|0;m=f+40|0;n=f+32|0;o=f+88|0;p=f+24|0;q=f+16|0;r=f+8|0;s=f;c[e>>2]=0;if(c[b+36>>2]|0)oa(3152,3174,2337,5008);t=c[b>>2]|0;u=sa[c[t+8>>2]&3](c[t+12>>2]|0)|0;t=D;v=b+240|0;c[v>>2]=u;c[v+4>>2]=t;if((t|0)<0){w=-1;l=f;return w|0}t=b+16|0;v=c[t+4>>2]|0;u=b+248|0;c[u>>2]=c[t>>2];c[u+4>>2]=v;v=b+24|0;u=c[v+4>>2]|0;t=b+256|0;c[t>>2]=c[v>>2];c[t+4>>2]=u;u=b+32|0;c[b+264>>2]=c[u>>2];t=b+4|0;v=b+224|0;x=b+232|0;y=b+172|0;z=b+168|0;A=b+160|0;a:while(1){B=Ga(b,r,s)|0;if((B|0)!=1){w=B;C=136;break}b:while(1){c[u>>2]=0;B=r;E=c[B>>2]|0;F=c[B+4>>2]|0;c:do if((E|0)<163){switch(E|0){case 160:break;default:{C=18;break c}}if(!F)break b;else C=18}else{if((E|0)<524531317){switch(E|0){case 163:break;default:{C=18;break c}}if(!F){C=25;break a}else{C=18;break}}switch(E|0){case 524531317:break;default:{C=18;break c}}if(!F){B=Ga(b,r,s)|0;if((B|0)!=1){w=B;C=136;break a}c[u>>2]=0;B=r;if(!((c[B>>2]|0)==231&(c[B+4>>2]|0)==0)){w=-1;C=136;break a}B=c[b>>2]|0;G=s;H=Kc(c[G>>2]|0,c[G+4>>2]|0,-1,-1)|0;G=D;if(G>>>0>0|(G|0)==0&H>>>0>7){I=-1;C=24;break a}J=B+12|0;K=ta[c[B>>2]&7](o,1,c[J>>2]|0)|0;if((K|0)!=1){I=K;C=24;break a}K=v;c[K>>2]=d[o>>0];c[K+4>>2]=0;if(!((H|0)==0&(G|0)==0)){K=H;H=G;do{G=ta[c[B>>2]&7](o,1,c[J>>2]|0)|0;if((G|0)!=1){I=G;C=24;break a}G=v;L=Ic(c[G>>2]|0,c[G+4>>2]|0,8)|0;G=v;c[G>>2]=d[o>>0]|0|L;c[G+4>>2]=D;K=Kc(K|0,H|0,-1,-1)|0;H=D}while(!((K|0)==0&(H|0)==0))}c[x>>2]=1}else C=18}while(0);if((C|0)==18?(C=0,H=c[t>>2]|0,K=n,c[K>>2]=E,c[K+4>>2]=F,wa[H&3](b,1,5028,n),H=c[b>>2]|0,K=c[s>>2]|0,K|0):0){J=H+12|0;B=K;do{K=B>>>0<8192?B:8192;M=ta[c[H>>2]&7](o,K,c[J>>2]|0)|0;B=B-K|0;if((M|0)!=1){C=135;break a}}while((B|0)!=0)}B=Ga(b,r,s)|0;if((B|0)!=1){w=B;C=136;break a}}B=c[b>>2]|0;J=sa[c[B+8>>2]&3](c[B+12>>2]|0)|0;B=s;H=Kc(c[B>>2]|0,c[B+4>>2]|0,J|0,D|0)|0;J=D;B=0;F=0;E=0;K=0;G=0;L=0;N=0;O=0;P=0;Q=0;R=0;d:while(1){S=E;T=K;U=G;V=L;W=N;X=O;Y=Q;Z=R;e:while(1){_=U;$=V;aa=W;ba=X;ca=Z;f:while(1){da=aa;ea=ba;g:while(1){fa=ea;h:while(1){ga=c[b>>2]|0;ha=sa[c[ga+8>>2]&3](c[ga+12>>2]|0)|0;ga=D;if(!((ga|0)<(J|0)|(ga|0)==(J|0)&ha>>>0>>0))break d;i:while(1){ha=Ga(b,r,s)|0;if((ha|0)!=1){w=ha;C=136;break a}c[u>>2]=0;ha=r;ga=c[ha>>2]|0;ia=c[ha+4>>2]|0;j:do if((ga|0)>=236)if((ga|0)<30113)switch(ga|0){case 236:{if(!ia)break j;else{C=121;break j}break}case 251:{if(!ia)break g;else{C=121;break j}break}default:{C=121;break j}}else switch(ga|0){case 30113:{if(!ia)break h;else{C=121;break j}break}case 30114:{if(!ia)break f;else{C=121;break j}break}default:{C=121;break j}}else switch(ga|0){case 155:{if(!ia)break e;else{C=121;break j}break}case 161:{if(!ia)break i;else{C=121;break j}break}case 191:{if(!ia)break j;else{C=121;break j}break}default:{C=121;break j}}while(0);if((C|0)==121){C=0;ha=c[t>>2]|0;ja=g;c[ja>>2]=ga;c[ja+4>>2]=ia;wa[ha&3](b,1,5255,g)}ha=c[b>>2]|0;ja=c[s>>2]|0;if(!ja)ka=ha;else{la=ha+12|0;ma=ja;do{ja=ma>>>0<8192?ma:8192;na=ta[c[ha>>2]&7](o,ja,c[la>>2]|0)|0;ma=ma-ja|0;if((na|0)!=1){C=128;break a}}while((ma|0)!=0);ka=c[b>>2]|0}ma=sa[c[ka+8>>2]&3](c[ka+12>>2]|0)|0;la=D;if(!((la|0)<(J|0)|(la|0)==(J|0)&ma>>>0>>0))break d}ma=s;la=Va(b,161,0,c[ma>>2]|0,c[ma+4>>2]|0,e)|0;if((la|0)==1)fa=1;else{w=la;C=136;break a}}if(da|0){w=-1;C=136;break a}la=s;ma=c[la>>2]|0;ha=c[la+4>>2]|0;la=c[b>>2]|0;ia=sa[c[la+8>>2]&3](c[la+12>>2]|0)|0;la=Kc(ia|0,D|0,ma|0,ha|0)|0;ha=D;ma=c[b>>2]|0;ia=sa[c[ma+8>>2]&3](c[ma+12>>2]|0)|0;ma=D;k:do if((ma|0)<(ha|0)|(ma|0)==(ha|0)&ia>>>0>>0){ga=0;ja=0;while(1){l:while(1){pa=Ga(b,p,q)|0;if((pa|0)!=1){qa=pa;break a}c[u>>2]=0;pa=p;ra=c[pa>>2]|0;ua=c[pa+4>>2]|0;switch(ra|0){case 166:{if(!ua)break l;else C=68;break}case 191:{if(ua|0)C=68;break}case 236:{if(ua|0)C=68;break}default:C=68}if((C|0)==68){C=0;pa=c[t>>2]|0;va=m;c[va>>2]=ra;c[va+4>>2]=ua;wa[pa&3](b,1,5062,m)}pa=c[b>>2]|0;ua=c[q>>2]|0;if(!ua)xa=pa;else{va=pa+12|0;ra=ua;do{ua=ra>>>0<8192?ra:8192;ya=ta[c[pa>>2]&7](o,ua,c[va>>2]|0)|0;ra=ra-ua|0;if((ya|0)!=1){C=75;break a}}while((ra|0)!=0);xa=c[b>>2]|0}ra=sa[c[xa+8>>2]&3](c[xa+12>>2]|0)|0;va=D;if(!((va|0)<(ha|0)|(va|0)==(ha|0)&ra>>>0>>0)){za=ga;break k}}ra=c[b>>2]|0;va=sa[c[ra+8>>2]&3](c[ra+12>>2]|0)|0;ra=q;pa=Kc(c[ra>>2]|0,c[ra+4>>2]|0,va|0,D|0)|0;va=D;ra=1;ua=0;Aa=ja;Ba=0;m:while(1){Ca=ua;Da=Aa;Ea=Ba;n:while(1){Fa=Da;Ha=Ea;while(1){Ia=c[b>>2]|0;Ja=sa[c[Ia+8>>2]&3](c[Ia+12>>2]|0)|0;Ia=D;if(!((Ia|0)<(va|0)|(Ia|0)==(va|0)&Ja>>>0>>0))break m;o:while(1){Ka=Ga(b,p,q)|0;if((Ka|0)!=1){C=81;break a}c[u>>2]=0;Ja=p;Ia=c[Ja>>2]|0;La=c[Ja+4>>2]|0;switch(Ia|0){case 165:{if(!La)break o;else C=101;break}case 191:{if(La|0)C=101;break}case 236:{if(La|0)C=101;break}case 238:{if(!La)break n;else C=101;break}default:C=101}if((C|0)==101){C=0;Ja=c[t>>2]|0;Ma=i;c[Ma>>2]=Ia;c[Ma+4>>2]=La;wa[Ja&3](b,1,5179,i)}Ja=c[b>>2]|0;La=c[q>>2]|0;if(!La)Na=Ja;else{Ma=Ja+12|0;Ia=La;do{La=Ia>>>0<8192?Ia:8192;Oa=ta[c[Ja>>2]&7](o,La,c[Ma>>2]|0)|0;Ia=Ia-La|0;if((Oa|0)!=1){C=108;break a}}while((Ia|0)!=0);Na=c[b>>2]|0}Ia=sa[c[Na+8>>2]&3](c[Na+12>>2]|0)|0;Ma=D;if(!((Ma|0)<(va|0)|(Ma|0)==(va|0)&Ia>>>0>>0))break m}if(Ha|0){C=96;break a}Ia=q;Pa=c[Ia>>2]|0;Ma=Kc(Pa|0,c[Ia+4>>2]|0,-1,-1)|0;Ia=D;if(Ia>>>0<0|(Ia|0)==0&Ma>>>0<268435455)break;else{Fa=Pa;Ha=1}}Qa=Ac(1,Pa)|0;if(!Qa){qa=-1;break a}Ma=c[b>>2]|0;Ra=ta[c[Ma>>2]&7](Qa,Pa,c[Ma+12>>2]|0)|0;if((Ra|0)==1){Ca=Qa;Da=Pa;Ea=1}else{C=100;break a}}Ea=c[b>>2]|0;Da=q;Ma=Kc(c[Da>>2]|0,c[Da+4>>2]|0,-1,-1)|0;Da=D;if(Da>>>0>0|(Da|0)==0&Ma>>>0>7){Sa=-1;C=92;break a}Ia=Ea+12|0;Ja=ta[c[Ea>>2]&7](o,1,c[Ia>>2]|0)|0;if((Ja|0)!=1){Sa=Ja;C=92;break a}Ja=d[o>>0]|0;if((Ma|0)==0&(Da|0)==0){Ta=Ja;Ua=0}else{La=Ja;Ja=0;Wa=Ma;Ma=Da;while(1){Da=ta[c[Ea>>2]&7](o,1,c[Ia>>2]|0)|0;if((Da|0)!=1){Sa=Da;C=92;break a}Da=Ic(La|0,Ja|0,8)|0;Xa=D;Ya=d[o>>0]|0|Da;Wa=Kc(Wa|0,Ma|0,-1,-1)|0;Ma=D;if((Wa|0)==0&(Ma|0)==0){Ta=Ya;Ua=Xa;break}else{La=Ya;Ja=Xa}}}if((Ta|0)==0&(Ua|0)==0){C=94;break a}else{ra=Ta;ua=Ca;Aa=Fa;Ba=Ha}}if(!Ha){C=110;break a}Ba=Ac(1,16)|0;c[Ba+12>>2]=ga;c[Ba>>2]=ra;c[Ba+4>>2]=Ca;c[Ba+8>>2]=Fa;Aa=Ba;Ba=c[b>>2]|0;ua=sa[c[Ba+8>>2]&3](c[Ba+12>>2]|0)|0;Ba=D;if((Ba|0)<(ha|0)|(Ba|0)==(ha|0)&ua>>>0>>0){ga=Aa;ja=Fa}else{za=Aa;break}}}else za=0;while(0);da=za;ea=fa}ea=c[b>>2]|0;la=s;ha=c[la>>2]|0;ia=c[la+4>>2]|0;la=Kc(ha|0,ia|0,-1,-1)|0;ma=D;if(ma>>>0>0|(ma|0)==0&la>>>0>7){Za=-1;C=120;break a}ja=ea+12|0;ga=ta[c[ea>>2]&7](o,1,c[ja>>2]|0)|0;if((ga|0)!=1){Za=ga;C=120;break a}ga=d[o>>0]|0;if((la|0)==0&(ma|0)==0){_a=0;$a=ga}else{Aa=ga;ga=0;ua=la;la=ma;while(1){ma=ta[c[ea>>2]&7](o,1,c[ja>>2]|0)|0;if((ma|0)!=1){Za=ma;C=120;break a}ma=Ic(Aa|0,ga|0,8)|0;Ba=D;pa=d[o>>0]|0|ma;ua=Kc(ua|0,la|0,-1,-1)|0;la=D;if((ua|0)==0&(la|0)==0){_a=Ba;$a=pa;break}else{Aa=pa;ga=Ba}}}ga=ia>>>0<0|(ia|0)==0&ha>>>0<8;Aa=Ic(ha|0,ia|0,3)|0;la=Kc(Aa|0,D|0,-1,-1)|0;ua=Ic(1,0,la|0)|0;la=D;ja=_a>>>0>>0|(_a|0)==(la|0)&$a>>>0>>0;ua=Ic(1,0,Aa|0)|0;Aa=Fc($a|0,_a|0,(ga?(ja?0:ua):0)|0,(ga?(ja?0:D):0)|0)|0;_=Aa;$=D;aa=da;ba=fa;ca=1}ba=c[b>>2]|0;aa=s;Aa=c[aa>>2]|0;ja=c[aa+4>>2]|0;aa=Kc(Aa|0,ja|0,-1,-1)|0;ga=D;if(ga>>>0>0|(ga|0)==0&aa>>>0>7){ab=-1;C=59;break a}ua=ba+12|0;la=ta[c[ba>>2]&7](o,1,c[ua>>2]|0)|0;if((la|0)!=1){ab=la;C=59;break a}la=d[o>>0]|0;if((aa|0)==0&(ga|0)==0){bb=0;cb=la}else{ea=la;la=0;Ba=aa;aa=ga;while(1){ga=ta[c[ba>>2]&7](o,1,c[ua>>2]|0)|0;if((ga|0)!=1){ab=ga;C=59;break a}ga=Ic(ea|0,la|0,8)|0;pa=D;ma=d[o>>0]|0|ga;Ba=Kc(Ba|0,aa|0,-1,-1)|0;aa=D;if((Ba|0)==0&(aa|0)==0){bb=pa;cb=ma;break}else{ea=ma;la=pa}}}la=ja>>>0<0|(ja|0)==0&Aa>>>0<8;ea=Ic(Aa|0,ja|0,3)|0;aa=Kc(ea|0,D|0,-1,-1)|0;Ba=Ic(1,0,aa|0)|0;aa=D;ua=bb>>>0>>0|(bb|0)==(aa|0)&cb>>>0>>0;Ba=Ic(1,0,ea|0)|0;ea=Fc(cb|0,bb|0,(la?(ua?0:Ba):0)|0,(la?(ua?0:D):0)|0)|0;S=ea;T=D;U=_;V=$;W=da;X=fa;Y=1;Z=ca}Z=c[b>>2]|0;X=s;W=Kc(c[X>>2]|0,c[X+4>>2]|0,-1,-1)|0;X=D;if(X>>>0>0|(X|0)==0&W>>>0>7){db=-1;C=48;break a}V=Z+12|0;U=ta[c[Z>>2]&7](o,1,c[V>>2]|0)|0;if((U|0)!=1){db=U;C=48;break a}U=d[o>>0]|0;if((W|0)==0&(X|0)==0){eb=U;fb=0}else{ea=U;U=0;ua=W;W=X;while(1){X=ta[c[Z>>2]&7](o,1,c[V>>2]|0)|0;if((X|0)!=1){db=X;C=48;break a}X=Ic(ea|0,U|0,8)|0;la=D;Ba=d[o>>0]|0|X;ua=Kc(ua|0,W|0,-1,-1)|0;W=D;if((ua|0)==0&(W|0)==0){eb=Ba;fb=la;break}else{ea=Ba;U=la}}}if(c[y>>2]|0){U=A;if((c[z>>2]|0)==2){gb=c[U>>2]|0;hb=c[U+4>>2]|0}else{C=51;break a}}else{gb=1e6;hb=0}U=Pc(gb|0,hb|0,eb|0,fb|0)|0;B=U;F=D;E=S;K=T;G=_;L=$;N=da;O=fa;P=1;Q=Y;R=ca}R=c[e>>2]|0;Q=(R|0)!=0;if((fa|0)!=(Q&1|0)){C=130;break}if(Q){Q=R+16|0;c[Q>>2]=B;c[Q+4>>2]=F;c[R+24>>2]=P;Q=R+40|0;c[Q>>2]=S;c[Q+4>>2]=T;c[R+48>>2]=Y;Q=R+56|0;c[Q>>2]=_;c[Q+4>>2]=$;c[R+64>>2]=ca;c[R+32>>2]=da;R=c[e>>2]|0;if(c[R+64>>2]|0)a[R+68>>0]=0}else zc(da);if(fa|0){w=1;C=136;break}}switch(C|0){case 24:{w=I;l=f;return w|0}case 25:{I=s;w=Va(b,163,0,c[I>>2]|0,c[I+4>>2]|0,e)|0;l=f;return w|0}case 48:{w=db;l=f;return w|0}case 51:{oa(3231,3174,725,3254);break}case 59:{w=ab;l=f;return w|0}case 75:{qa=ya;break}case 81:{zc(Ca);qa=Ka;break}case 92:{zc(Ca);qa=Sa;break}case 94:{wa[c[t>>2]&3](b,1e3,5101,k);zc(Ca);qa=-1;break}case 96:{wa[c[t>>2]&3](b,1e3,5130,j);zc(Ca);qa=-1;break}case 100:{zc(Qa);qa=Ra;break}case 108:{zc(Ca);qa=Oa;break}case 110:{wa[c[t>>2]&3](b,1e3,5213,h);qa=-1;break}case 120:{w=Za;l=f;return w|0}case 128:{w=na;l=f;return w|0}case 130:{oa(5303,3174,2441,5008);break}case 135:{w=M;l=f;return w|0}case 136:{l=f;return w|0}}w=qa;l=f;return w|0}function Va(b,e,f,g,i,j){b=b|0;e=e|0;f=f|0;g=g|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,pa=0,qa=0,ra=0,sa=0,ua=0,va=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0.0,kb=0,lb=0;k=l;l=l+2096|0;m=k+2048|0;n=k+2088|0;o=k;c[j>>2]=0;if(i>>>0>0|(i|0)==0&g>>>0>1073741824){p=-1;l=k;return p|0}q=c[b>>2]|0;r=q+12|0;s=ta[c[q>>2]&7](n,1,c[r>>2]|0)|0;a:do if((s|0)==1){t=d[n>>0]|0;do if(!(t&128)){if(!(t&64))if(!(t&32))if(!(t&16))if(!(t&8)){u=(t&4|0)==0;v=t>>>1&1;w=u?8-v|0:6;x=(u?-2-v|0:251)&t;v=w+-1|0;if(!v){y=x;z=0;A=1;break}else{B=x;C=0;G=w;H=v}}else{I=5;J=-9;K=6}else{I=4;J=-17;K=6}else{I=3;J=-33;K=6}else{I=2;J=-65;K=6}if((K|0)==6){B=J&t;C=0;G=I;H=I+-1|0}v=B;w=C;x=H;while(1){u=ta[c[q>>2]&7](n,1,c[r>>2]|0)|0;if((u|0)!=1){L=u;break a}u=Ic(v|0,w|0,8)|0;M=D;N=d[n>>0]|0|u;x=x+-1|0;if(!x){y=N;z=M;A=G;break}else{v=N;w=M}}}else{y=t&127;z=0;A=1}while(0);if((y|0)==0&(z|0)==0){p=-1;l=k;return p|0}t=c[b>>2]|0;w=t+12|0;v=ta[c[t>>2]&7](n,1,c[w>>2]|0)|0;if((v|0)==1){x=a[n>>0]|0;M=ta[c[t>>2]&7](n,1,c[w>>2]|0)|0;if((M|0)==1){w=Ic(x&255|0,0,8)|0;x=D;t=d[n>>0]|0|w;w=x>>>0<0|(x|0)==0&t>>>0<32768;N=Fc(t|0,x|0,(w?0:65536)|0,(w?0:0)|0)|0;w=D;x=c[b>>2]|0;t=ta[c[x>>2]&7](n,1,c[x+12>>2]|0)|0;if((t|0)!=1){p=t;l=k;return p|0}t=a[n>>0]|0;x=t&255;u=A+3|0;O=(e|0)==163&(f|0)==0?(t&255)>>>7:2;P=(t&255)>>>1;b:do if(!(P&3)){Q=g;S=i;U=u;V=0;W=1;X=0;Y=u;Z=0;K=72}else{t=c[b>>2]|0;_=ta[c[t>>2]&7](n,1,c[t+12>>2]|0)|0;if((_|0)!=1){p=_;l=k;return p|0}_=a[n>>0]|0;t=_&255;$=A+4|0;aa=Kc(t|0,0,1,0)|0;ba=D;switch(P&3){case 3:{if(!(_<<24>>24)){p=-1;l=k;return p|0}ca=c[b>>2]|0;da=ca+12|0;ea=ta[c[ca>>2]&7](n,1,c[da>>2]|0)|0;c:do if((ea|0)==1){fa=d[n>>0]|0;d:do if(!(fa&128)){do if(!(fa&64)){if(fa&32|0){ga=3;ha=-33;K=45;break}if(fa&16|0){ga=4;ha=-17;K=45;break}if(fa&8|0){ga=5;ha=-9;K=45;break}ia=(fa&4|0)==0;ja=fa>>>1&1;ka=ia?8-ja|0:6;la=(ia?-2-ja|0:251)&fa;ja=ka+-1|0;if(!ja){ma=la;na=0;pa=1;break d}else{qa=la;ra=0;sa=ka;ua=ja}}else{ga=2;ha=-65;K=45}while(0);if((K|0)==45){qa=ha&fa;ra=0;sa=ga;ua=ga+-1|0}ja=qa;ka=ra;la=ua;while(1){ia=ta[c[ca>>2]&7](n,1,c[da>>2]|0)|0;if((ia|0)!=1){va=ia;break c}ia=Ic(ja|0,ka|0,8)|0;xa=D;ya=d[n>>0]|0|ia;la=la+-1|0;if(!la){ma=ya;na=xa;pa=sa;break}else{ja=ya;ka=xa}}}else{ma=fa&127;na=0;pa=1}while(0);fa=pa+$|0;ka=o;c[ka>>2]=ma;c[ka+4>>2]=na;ka=Kc(t|0,0,-1,-1)|0;ja=D;e:do if((ka|0)==0&(ja|0)==0){za=ma;Aa=na;Ba=fa;Ca=1}else{la=ma;xa=na;ya=ma;ia=na;Da=ka;Ea=ja;Fa=fa;Ga=1;f:while(1){Ha=ta[c[ca>>2]&7](n,1,c[da>>2]|0)|0;if((Ha|0)!=1){Ia=Ha;break}Ha=d[n>>0]|0;g:do if(!(Ha&128)){do if(!(Ha&64)){if(Ha&32|0){Ja=3;Ka=-33;K=59;break}if(Ha&16|0){Ja=4;Ka=-17;K=59;break}if(Ha&8|0){Ja=5;Ka=-9;K=59;break}La=(Ha&4|0)==0;Ma=Ha>>>1&1;Na=La?8-Ma|0:6;Oa=(La?-2-Ma|0:251)&Ha;Ma=Na+-1|0;if(!Ma){Pa=Oa;Qa=0;Ra=1;Sa=0;break g}else{Ta=Oa;Ua=0;Va=Na;Wa=Ma}}else{Ja=2;Ka=-65;K=59}while(0);if((K|0)==59){K=0;Ta=Ka&Ha;Ua=0;Va=Ja;Wa=Ja+-1|0}Ma=Ta;Na=Ua;Oa=Wa;while(1){La=ta[c[ca>>2]&7](n,1,c[da>>2]|0)|0;if((La|0)!=1){Ia=La;break f}La=Ic(Ma|0,Na|0,8)|0;Xa=D;Ya=d[n>>0]|0|La;Oa=Oa+-1|0;if(!Oa){Pa=Ya;Qa=Xa;Ra=Va;Sa=Wa;break}else{Ma=Ya;Na=Xa}}}else{Pa=Ha&127;Qa=0;Ra=1;Sa=0}while(0);Ha=2688+(Sa<<3)|0;Na=Fc(Pa|0,Qa|0,c[Ha>>2]|0,c[Ha+4>>2]|0)|0;Ha=Ra+Fa|0;la=Kc(la|0,xa|0,Na|0,D|0)|0;xa=D;Na=o+(Ga<<3)|0;c[Na>>2]=la;c[Na+4>>2]=xa;Na=Kc(la|0,xa|0,ya|0,ia|0)|0;Ma=D;Oa=Ga+1|0;Da=Kc(Da|0,Ea|0,-1,-1)|0;Ea=D;if((Da|0)==0&(Ea|0)==0){za=Na;Aa=Ma;Ba=Ha;Ca=Oa;break e}else{ya=Na;ia=Ma;Fa=Ha;Ga=Oa}}p=Ia;l=k;return p|0}while(0);fa=Kc(Ba|0,0,za|0,Aa|0)|0;ja=D;if(ja>>>0>0|(ja|0)==0&fa>>>0>g>>>0){p=-1;l=k;return p|0}else{Q=g-Ba|0;S=0;U=za;V=Aa;W=aa;X=ba;Y=Ba;Z=Ca;K=72;break b}}else va=ea;while(0);p=va;l=k;return p|0}case 1:{if(!(_<<24>>24)){p=-1;l=k;return p|0}ea=c[b>>2]|0;da=ea+12|0;ca=0;fa=0;ja=t;ka=0;Ga=$;Fa=0;h:while(1){ia=o+(Fa<<3)|0;Za=ta[c[ea>>2]&7](n,1,c[da>>2]|0)|0;if((Za|0)!=1){K=29;break}ya=a[n>>0]|0;Ea=ya&255;Da=Ga+1|0;xa=ia;c[xa>>2]=Ea;c[xa+4>>2]=0;if(ya<<24>>24==-1){ya=Ea;xa=0;la=Da;while(1){_a=ta[c[ea>>2]&7](n,1,c[da>>2]|0)|0;if((_a|0)!=1){K=32;break h}Oa=a[n>>0]|0;Ha=la+1|0;Ma=Kc(ya|0,xa|0,Oa&255|0,0)|0;Na=D;Xa=ia;c[Xa>>2]=Ma;c[Xa+4>>2]=Na;if(Oa<<24>>24==-1){ya=Ma;xa=Na;la=Ha}else{$a=Ma;ab=Na;bb=Ha;break}}}else{$a=Ea;ab=0;bb=Da}ca=Kc($a|0,ab|0,ca|0,fa|0)|0;fa=D;Fa=Fa+1|0;ja=Kc(ja|0,ka|0,-1,-1)|0;ka=D;if((ja|0)==0&(ka|0)==0){K=35;break}else Ga=bb}if((K|0)==29){p=Za;l=k;return p|0}else if((K|0)==32){p=_a;l=k;return p|0}else if((K|0)==35){Ga=Kc(ca|0,fa|0,bb|0,0)|0;ka=D;if(ka>>>0>0|(ka|0)==0&Ga>>>0>g>>>0){p=-1;l=k;return p|0}else{Q=g-bb|0;S=0;U=ca;V=fa;W=aa;X=ba;Y=bb;Z=Fa;K=72;break b}}break}case 2:{Ga=Fc(g|0,i|0,$|0,0)|0;ka=D;ja=Rc(Ga|0,ka|0,aa|0,ba|0)|0;if(!((ja|0)==0&(D|0)==0)){p=-1;l=k;return p|0}ja=Nc(Ga|0,ka|0,aa|0,ba|0)|0;ka=D;Ga=0;do{da=o+(Ga<<3)|0;c[da>>2]=ja;c[da+4>>2]=ka;Ga=Ga+1|0}while(0>>0|0==(ba|0)&Ga>>>0>>0);cb=ba;db=aa;eb=$;break}default:{}}}while(0);if((K|0)==72){P=Fc(Q|0,S|0,U|0,V|0)|0;u=o+(Z<<3)|0;c[u>>2]=P;c[u+4>>2]=D;cb=X;db=W;eb=Y}u=eb;P=0;$=0;do{aa=o+($<<3)|0;u=Kc(c[aa>>2]|0,c[aa+4>>2]|0,u|0,P|0)|0;P=D;$=$+1|0}while(0>>0|0==(cb|0)&$>>>0>>0);if((y|0)==0|(P>>>0>i>>>0|(P|0)==(i|0)&u>>>0>g>>>0)){p=-1;l=k;return p|0}$=c[b+192>>2]|0;if(!$){p=-1;l=k;return p|0}aa=$;ba=0;while(1){Ga=aa+8|0;if(!((c[Ga>>2]|0)==174&(c[Ga+4>>2]|0)==0)){K=79;break}Ga=c[aa+16>>2]|0;ka=Ga;if(!(c[Ga+12>>2]|0)){p=-1;K=131;break}if((c[Ga+8>>2]|0)!=2){K=82;break}if((c[ka+4>>2]|0)==0?(c[ka>>2]|0)==(y|0):0){fb=$;gb=0;K=85;break}aa=c[aa>>2]|0;if(!aa){p=-1;K=131;break}else ba=ba+1|0}if((K|0)==79)oa(4585,3174,1187,4612);else if((K|0)==82)oa(3231,3174,725,3254);else if((K|0)==85){while(1){K=0;aa=fb+8|0;if(!((c[aa>>2]|0)==174&(c[aa+4>>2]|0)==0)){K=86;break}if((gb|0)==(ba|0)){K=89;break}aa=c[fb>>2]|0;if(!aa){p=-1;K=131;break}else{fb=aa;gb=gb+1|0;K=85}}if((K|0)==86)oa(4585,3174,1208,4941);else if((K|0)==89){if(!(c[fb+16>>2]|0)){p=-1;l=k;return p|0}if(c[b+172>>2]|0){aa=b+160|0;if((c[b+168>>2]|0)==2){hb=c[aa>>2]|0;ib=c[aa+4>>2]|0}else oa(3231,3174,725,3254)}else{hb=1e6;ib=0}if(!(c[b+232>>2]|0)){p=-1;l=k;return p|0}aa=b+224|0;$=Kc(c[aa>>2]|0,c[aa+4>>2]|0,N|0,w|0)|0;aa=D;if((aa|0)<0){p=-1;l=k;return p|0}u=Ac(1,72)|0;if(!u){p=-1;l=k;return p|0}P=u;c[P>>2]=ba;c[P+4>>2]=0;P=Pc($|0,aa|0,hb|0,ib|0)|0;jb=+(P>>>0)+4294967296.0*+(D>>>0);P=~~jb>>>0;aa=+F(jb)>=1.0?(jb>0.0?~~+T(+E(jb/4294967296.0),4294967295.0)>>>0:~~+R((jb-+(~~jb>>>0))/4294967296.0)>>>0):0;$=u+8|0;c[$>>2]=P;c[$+4>>2]=aa;a[u+68>>0]=O;$=c[b+4>>2]|0;c[m>>2]=(e|0)==161&(f|0)==0?9260:5332;ka=m+8|0;c[ka>>2]=ba;c[ka+4>>2]=0;h[m+16>>3]=(+(P>>>0)+4294967296.0*+(aa>>>0))/1.0e9;aa=m+24|0;c[aa>>2]=x;c[aa+4>>2]=0;aa=m+32|0;c[aa>>2]=db;c[aa+4>>2]=cb;wa[$&3](b,1,5339,m);$=u+28|0;aa=0;P=0;while(1){ka=o+(aa<<3)|0;Ga=c[ka>>2]|0;ja=c[ka+4>>2]|0;if(ja>>>0>0|(ja|0)==0&Ga>>>0>268435456){K=98;break}ja=P;P=Ac(1,12)|0;if(!P){K=106;break}ka=Ac(1,Ga)|0;c[P>>2]=ka;if(!ka){K=114;break}c[P+4>>2]=Ga;Fa=c[b>>2]|0;kb=ta[c[Fa>>2]&7](ka,Ga,c[Fa+12>>2]|0)|0;if((kb|0)!=1){K=122;break}c[(ja|0?ja+8|0:$)>>2]=P;aa=aa+1|0;if(!(0>>0|0==(cb|0)&aa>>>0>>0)){K=130;break}}if((K|0)==98){aa=c[$>>2]|0;if(aa|0){x=aa;do{c[$>>2]=c[x+8>>2];zc(c[x>>2]|0);zc(x);x=c[$>>2]|0}while((x|0)!=0)}x=u+32|0;aa=c[x>>2]|0;if(aa|0){ba=aa;do{c[x>>2]=c[ba+12>>2];zc(c[ba+4>>2]|0);zc(ba);ba=c[x>>2]|0}while((ba|0)!=0)}zc(u);p=-1;l=k;return p|0}else if((K|0)==106){ba=c[$>>2]|0;if(ba|0){x=ba;do{c[$>>2]=c[x+8>>2];zc(c[x>>2]|0);zc(x);x=c[$>>2]|0}while((x|0)!=0)}x=u+32|0;ba=c[x>>2]|0;if(ba|0){aa=ba;do{c[x>>2]=c[aa+12>>2];zc(c[aa+4>>2]|0);zc(aa);aa=c[x>>2]|0}while((aa|0)!=0)}zc(u);p=-1;l=k;return p|0}else if((K|0)==114){zc(P);aa=c[$>>2]|0;if(aa|0){x=aa;do{c[$>>2]=c[x+8>>2];zc(c[x>>2]|0);zc(x);x=c[$>>2]|0}while((x|0)!=0)}x=u+32|0;aa=c[x>>2]|0;if(aa|0){ba=aa;do{c[x>>2]=c[ba+12>>2];zc(c[ba+4>>2]|0);zc(ba);ba=c[x>>2]|0}while((ba|0)!=0)}zc(u);p=-1;l=k;return p|0}else if((K|0)==122){zc(c[P>>2]|0);zc(P);ba=c[$>>2]|0;if(ba|0){x=ba;do{c[$>>2]=c[x+8>>2];zc(c[x>>2]|0);zc(x);x=c[$>>2]|0}while((x|0)!=0)}x=u+32|0;$=c[x>>2]|0;if($|0){P=$;do{c[x>>2]=c[P+12>>2];zc(c[P+4>>2]|0);zc(P);P=c[x>>2]|0}while((P|0)!=0)}zc(u);p=kb;l=k;return p|0}else if((K|0)==130){c[j>>2]=u;p=1;l=k;return p|0}}else if((K|0)==131){l=k;return p|0}}else if((K|0)==131){l=k;return p|0}}else lb=M}else lb=v;p=lb;l=k;return p|0}else L=s;while(0);p=L;l=k;return p|0}function Wa(a){a=a|0;var b=0,d=0,e=0;b=a+28|0;d=c[b>>2]|0;if(d|0){e=d;do{c[b>>2]=c[e+8>>2];zc(c[e>>2]|0);zc(e);e=c[b>>2]|0}while((e|0)!=0)}e=a+32|0;b=c[e>>2]|0;if(!b){zc(a);return}d=b;do{c[e>>2]=c[d+12>>2];zc(c[d+4>>2]|0);zc(d);d=c[e>>2]|0}while((d|0)!=0);zc(a);return}function Xa(a,b){a=a|0;b=b|0;c[b>>2]=c[a>>2];return 0}function Ya(a,b){a=a|0;b=b|0;var d=0,e=0;d=a+8|0;a=c[d+4>>2]|0;e=b;c[e>>2]=c[d>>2];c[e+4>>2]=a;return 0}function Za(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=c[a+28>>2]|0;c[d>>2]=0;c[e>>2]=0;if(!f){g=-1;return g|0}else{h=f;i=0}while(1){if((i|0)==(b|0))break;f=c[h+8>>2]|0;if(!f){g=-1;j=5;break}else{h=f;i=i+1|0}}if((j|0)==5)return g|0;c[d>>2]=c[h>>2];c[e>>2]=c[h+4>>2];g=0;return g|0}function _a(a){a=a|0;var b=0,d=0;if(c[a+200>>2]|0){b=1;d=b&1;return d|0}b=(La(c[a+152>>2]|0)|0)!=0;d=b&1;return d|0}function $a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=c[2164]|0;do if(!d){e=Bc(0,1)|0;if(e|0){if(!(Bc(e,0)|0)){c[2164]=1;f=1;break}if(c[2164]|0)oa(5381,5393,181,5433);e=Bc(0,1)|0;if(e|0){zc(e);c[2164]=2;f=2;break}}e=c[2164]|0;if(!e)oa(5454,5393,69,5464);else f=e}else f=d;while(0);d=(b|0)!=0;if(!a){if(!d){g=0;return g|0}e=ua[f&3](0,b+16|0)|0;if(!e){g=0;return g|0}c[e>>2]=537134360;c[e+12>>2]=8660;h=e+4|0;c[e+8>>2]=h;c[h>>2]=8660;g=e+16|0;return g|0}e=a+-16|0;if((c[e>>2]|0)!=537134360)oa(5471,5393,91,5464);if(!d){bb(e);d=a+-12|0;h=c[d>>2]|0;i=a+-8|0;c[h+4>>2]=c[i>>2];c[c[i>>2]>>2]=h;c[i>>2]=d;c[d>>2]=8660;ua[c[2164]&3](e,0)|0;g=0;return g|0}d=ua[f&3](e,b+16|0)|0;if(!d){g=0;return g|0}b=d+4|0;c[c[d+8>>2]>>2]=b;c[(c[b>>2]|0)+4>>2]=b;b=d+12|0;c[(c[b>>2]|0)+4>>2]=b;g=d+16|0;return g|0}function ab(a,b){a=a|0;b=b|0;var c=0;if(!b){zc(a);c=0}else c=Bc(a,b)|0;return c|0}function bb(a){a=a|0;var b=0,d=0;if(!a)oa(5492,5393,247,5518);if((c[a>>2]|0)!=537134360)oa(5492,5393,247,5518);c[a>>2]=0;b=c[a+12>>2]|0;if((b|0)==8660)return;else d=b;do{b=d;d=c[d>>2]|0;a=b+-4|0;bb(a);ua[c[2164]&3](a,0)|0}while((d|0)!=8660);return}function cb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!a)if(!b)return;else oa(5533,5393,120,5542);d=a+-16|0;if((c[d>>2]|0)!=537134360)oa(5550,5393,126,5542);e=a+-12|0;f=c[e>>2]|0;g=a+-8|0;c[f+4>>2]=c[g>>2];c[c[g>>2]>>2]=f;c[g>>2]=e;c[e>>2]=8660;if(!b)return;f=b+-16|0;if((c[f>>2]|0)!=537134360)oa(5471,5393,135,5542);if((a|0)==(b|0))oa(5571,5393,138,5542);if(db(f,d)|0)oa(5578,5393,139,5542);d=b+-4|0;b=c[d>>2]|0;c[e>>2]=b;c[b+4>>2]=e;c[d>>2]=e;c[g>>2]=d;return}function db(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;a:do if((a|0)!=0&(b|0)!=0?(d=c[b+12>>2]|0,(d|0)!=8660):0){e=d;while(1){d=e+-4|0;if((d|0)==(a|0)){f=1;break a}if(db(a,d)|0){f=1;break a}e=c[e>>2]|0;if((e|0)==8660){f=0;break}}}else f=0;while(0);return f|0}function eb(a){a=a|0;return $a(0,a)|0}function fb(a){a=a|0;$a(a,0)|0;return}function gb(){c[2167]=0;c[2168]=wb()|0;return}function hb(a,b){a=a|0;b=b|0;if((b|0)<=0)return;Db(c[2168]|0,a,b);return}function ib(){var b=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0,A=0,B=0,C=0,E=0,F=0;b=l;l=l+128|0;e=b+96|0;f=b+72|0;g=b+64|0;i=b+56|0;j=b+48|0;k=b+8|0;m=b;n=b+116|0;o=b+112|0;switch(c[2167]|0){case 0:{p=Ab(c[2168]|0)|0;q=D;if(!((q|0)>0|(q|0)==0&p>>>0>262144)){r=0;l=b;return r|0}wc(5594)|0;c[693]=c[2168];c[e>>2]=c[690];c[e+4>>2]=c[691];c[e+8>>2]=c[692];c[e+12>>2]=c[693];if((Ea(8676,e,2,-1,-1)|0)<0){wc(5619)|0;r=0;l=b;return r|0}if((Ja(c[2169]|0,e)|0)>=0)if(!(c[e>>2]|0))s=8;else{p=0;while(1){q=Na(c[2169]|0,p)|0;t=Oa(c[2169]|0,p)|0;u=a[9261]|0;a:do if(!((q|0)==0&u<<24>>24==0))if((q|0)==1&(a[9262]|0)==0)switch(t|0){case 1:{a[9262]=1;c[2172]=p;c[2173]=5647;v=u;break a;break}case 3:{a[9262]=1;c[2172]=p;c[2173]=5654;v=u;break a;break}default:{v=u;break a}}else v=u;else switch(t|0){case 0:{a[9261]=1;c[2170]=p;c[694]=0;c[2171]=5639;v=1;break a;break}case 2:{a[9261]=1;c[2170]=p;c[694]=2;c[2171]=5643;v=1;break a;break}default:{v=0;break a}}while(0);p=p+1|0;if(p>>>0>=(c[e>>2]|0)>>>0){w=v;break}}}else{c[e>>2]=0;s=8}if((s|0)==8)w=a[9261]|0;if(w<<24>>24)if((Ra(c[2169]|0,c[2170]|0,k)|0)<0)a[9261]=0;else{w=c[k+4>>2]|0;v=c[k+8>>2]|0;p=c[k+28>>2]|0;t=c[k+24>>2]|0;ea(w|0,v|0,w>>>1|0,v>>>1|0,0.0,w-p-(c[k+32>>2]|0)|0,v-t-(c[k+20>>2]|0)|0,p|0,t|0,c[k+12>>2]|0,c[k+16>>2]|0)}if(a[9262]|0)if((Sa(c[2169]|0,c[2172]|0,k)|0)<0)a[9262]=0;else{Pa(c[2169]|0,c[2172]|0,m)|0;c[j>>2]=c[m>>2];vc(5659,j)|0;b:do if(c[m>>2]|0){t=0;while(1){if((Qa(c[2169]|0,c[2172]|0,t,j,n)|0)<0)break;na(c[j>>2]|0,c[n>>2]|0,-1.0);p=t+1|0;if(p>>>0<(c[m>>2]|0)>>>0)t=p;else break b}c[i>>2]=t;vc(5685,i)|0;ia()}while(0)}c[2167]=1;wc(5715)|0;qa(c[2171]|0,c[2173]|0);r=1;l=b;return r|0}case 1:{c[e>>2]=0;i=Ua(c[2169]|0,e)|0;do if(!i){Ta(c[2169]|0)|0;x=0}else{if((i|0)<0){c[g>>2]=i;vc(5738,g)|0;x=0;break}Xa(c[e>>2]|0,k)|0;Ya(c[e>>2]|0,m)|0;j=m;y=(+((c[j>>2]|0)>>>0)+4294967296.0*+((c[j+4>>2]|0)>>>0))/1.0e9;c[n>>2]=0;c[o>>2]=0;Za(c[e>>2]|0,0,n,o)|0;if((a[9261]|0)!=0?(c[k>>2]|0)==(c[2170]|0):0){j=c[694]|0;p=c[o>>2]|0;if(!j)if(p){v=c[n>>2]|0;if(!(a[v>>0]&1)){z=v;s=47}else{A=p;s=44}}else{A=0;s=44}else if(!((j|0)!=2|(p|0)==0)){j=c[n>>2]|0;v=d[j>>0]|0;if((v>>>7<<1|v>>>6&1|0)==2?(((v&48|0)==48?6:12)&v|0)==0:0){z=j;s=47}else{B=j;C=p;E=0}}else{A=p;s=44}if((s|0)==44){B=c[n>>2]|0;C=A;E=0}else if((s|0)==47){h[344]=y;B=z;C=p;E=1}fa(B|0,C|0,+y,+(+h[344]),E|0)}else s=49;if(((s|0)==49?a[9262]|0:0)?(c[k>>2]|0)==(c[2172]|0):0)na(c[n>>2]|0,c[o>>2]|0,+y);Wa(c[e>>2]|0);x=1}while(0);r=x;l=b;return r|0}case 2:{x=zb(c[2168]|0)|0;o=D;if(kb(c[2168]|0,e,1)|0){n=e;e=c[n>>2]|0;s=c[n+4>>2]|0;n=(e|0)!=475249515|(s|0)!=0;if(!(kb(c[2168]|0,k,0)|0))F=n;else{E=k;k=c[E>>2]|0;C=c[E+4>>2]|0;E=Ab(c[2168]|0)|0;B=f;c[B>>2]=e;c[B+4>>2]=s;s=f+8|0;c[s>>2]=k;c[s+4>>2]=C;s=f+16|0;c[s>>2]=E;c[s+4>>2]=D;vc(5770,f)|0;f=Ab(c[2168]|0)|0;s=D;F=n|((s|0)>(C|0)|(s|0)==(C|0)&f>>>0>=k>>>0)}Bb(c[2168]|0,x,o)|0;if(F){lb();r=0;l=b;return r|0}}else Bb(c[2168]|0,x,o)|0;wc(5815)|0;r=0;l=b;return r|0}default:{wc(5842)|0;r=0;l=b;return r|0}}return 0}function jb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;a=l;l=l+16|0;f=a;if(b>>>0<=9){l=a;return}c[f>>2]=e;xc(d,f)|0;l=a;return}function kb(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;g=l;l=l+16|0;h=g+1|0;i=g;if(Eb(b,h,1)|0){wc(6025)|0;j=0;l=g;return j|0}k=a[h>>0]|0;if(!(k<<24>>24)){wc(6056)|0;j=0;l=g;return j|0}m=k&255;if(!(m&128)){n=m;m=1;while(1){o=n<<1;p=m+1|0;if(!(o&128)){n=o&254;m=p}else break}n=o&255;a[h>>0]=n;q=n;r=p;s=m}else{q=k;r=1;s=0}if(!f){f=q&127;a[h>>0]=f;t=f}else t=q;q=(t&255)>>>s;t=e;c[t>>2]=q;c[t+4>>2]=((q|0)<0)<<31>>31;if((s|0)<1){j=r;l=g;return j|0}else u=1;while(1){if(Eb(b,i,1)|0)break;q=e;t=Ic(c[q>>2]|0,c[q+4>>2]|0,8)|0;q=e;c[q>>2]=d[i>>0]|0|t;c[q+4>>2]=D;if((u|0)<(s|0))u=u+1|0;else{j=r;v=14;break}}if((v|0)==14){l=g;return j|0}wc(6067)|0;j=0;l=g;return j|0}function lb(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;a=l;l=l+48|0;b=a+24|0;d=a;e=(c[2168]|0)+24|0;c[e>>2]=0;c[e+4>>2]=0;e=8648;if(!(Ma(c[2169]|0,c[2174]|0,c[e>>2]|0,c[e+4>>2]|0)|0)){c[2167]=1;wc(5984)|0;l=a;return}e=c[2168]|0;f=e+24|0;g=c[f>>2]|0;h=c[f+4>>2]|0;if((g|0)==0&(h|0)==0){f=e+16|0;i=c[f>>2]|0;j=c[f+4>>2]|0;f=xb(e)|0;k=D;m=yb(c[2168]|0)|0;n=d;c[n>>2]=i;c[n+4>>2]=j;j=d+8|0;c[j>>2]=f;c[j+4>>2]=k;k=d+16|0;c[k>>2]=m;c[k+4>>2]=D;vc(5882,d)|0;l=a;return}else{d=xb(e)|0;e=D;k=yb(c[2168]|0)|0;m=b;c[m>>2]=g;c[m+4>>2]=h;h=b+8|0;c[h>>2]=d;c[h+4>>2]=e;e=b+16|0;c[e>>2]=k;c[e+4>>2]=D;vc(5933,b)|0;b=c[2168]|0;e=b+24|0;k=c[e>>2]|0;h=c[e+4>>2]|0;Cb(b);b=(c[2168]|0)+16|0;c[b>>2]=k;c[b+4>>2]=h;ka(k|0,h|0);l=a;return}}function mb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ab(c)|0;e=D;if((e|0)<0|(e|0)==0&d>>>0>>0){f=0;return f|0}d=(Eb(c,a,b)|0)==0;f=d?1:-1;return f|0}function nb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;switch(d|0){case 0:{f=a;g=b;break}case 1:{d=e+16|0;f=Kc(c[d>>2]|0,c[d+4>>2]|0,a|0,b|0)|0;g=D;break}default:{h=-1;return h|0}}if(!(Bb(e,f,g)|0)){h=0;return h|0}wc(6089)|0;h=-1;return h|0}function ob(a){a=a|0;var b=0;b=zb(a)|0;return b|0}function pb(){Fb(c[2168]|0);c[2168]=0;return}function qb(){Cb(c[2168]|0);h[344]=-1.0;return}function rb(){return -1}function sb(){var a=0,b=0,d=0.0,e=0;a=l;l=l+16|0;b=a;if((Ia(c[2169]|0,b)|0)<0){d=-1.0;l=a;return +d}e=b;d=(+((c[e>>2]|0)>>>0)+4294967296.0*+((c[e+4>>2]|0)>>>0))/1.0e9;l=a;return +d}function tb(){return _a(c[2169]|0)|0}function ub(a){a=a|0;return -1}function vb(b){b=b|0;var d=0,e=0,f=0;c[2167]=2;d=Pc(b|0,((b|0)<0)<<31>>31|0,1e6,0)|0;b=8648;c[b>>2]=d;c[b+4>>2]=D;if(!(a[9261]|0))if(!(a[9262]|0)){e=0;return e|0}else f=8688;else f=8680;c[2174]=c[f>>2];lb();e=1;return e|0}function wb(){var a=0,b=0;a=yc(32)|0;b=a+16|0;c[b>>2]=0;c[b+4>>2]=0;c[a+4>>2]=0;c[a+8>>2]=8;c[a>>2]=yc(192)|0;return a|0}function xb(a){a=a|0;var b=0;if(!(c[a+4>>2]|0))b=a+16|0;else b=(c[a>>2]|0)+8|0;a=b;D=c[a+4>>2]|0;return c[a>>2]|0}function yb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+4>>2]|0;if(!b){d=a+16|0;e=c[d+4>>2]|0;f=c[d>>2]|0;D=e;return f|0}else{d=c[a>>2]|0;a=b+-1|0;b=d+(a*24|0)+8|0;g=Kc(c[d+(a*24|0)+16>>2]|0,0,c[b>>2]|0,c[b+4>>2]|0)|0;e=D;f=g;D=e;return f|0}return 0}function zb(a){a=a|0;var b=0;b=a+16|0;D=c[b+4>>2]|0;return c[b>>2]|0}function Ab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=c[a+4>>2]|0;if(!b){d=a+16|0;e=c[d>>2]|0;f=c[d+4>>2]|0;g=e;h=f;i=e;j=f;k=Fc(g|0,h|0,i|0,j|0)|0;l=D;D=l;return k|0}else{f=c[a>>2]|0;e=b+-1|0;b=f+(e*24|0)+8|0;d=Kc(c[f+(e*24|0)+16>>2]|0,0,c[b>>2]|0,c[b+4>>2]|0)|0;b=a+16|0;g=d;h=D;i=c[b>>2]|0;j=c[b+4>>2]|0;k=Fc(g|0,h|0,i|0,j|0)|0;l=D;D=l;return k|0}return 0}function Bb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=l;l=l+16|0;f=e+8|0;g=e;h=c[a+4>>2]|0;i=(h|0)==0;if(i)j=a+16|0;else j=(c[a>>2]|0)+8|0;k=j;j=c[k+4>>2]|0;if((j|0)>(d|0)|((j|0)==(d|0)?(c[k>>2]|0)>>>0>b>>>0:0)){k=g;c[k>>2]=b;c[k+4>>2]=d;vc(6125,g)|0;m=a+24|0;n=-1;o=m;p=o;c[p>>2]=b;q=o+4|0;r=q;c[r>>2]=d;l=e;return n|0}if(i){i=a+16|0;s=c[i+4>>2]|0;t=c[i>>2]|0}else{i=c[a>>2]|0;g=h+-1|0;h=i+(g*24|0)+8|0;k=Kc(c[i+(g*24|0)+16>>2]|0,0,c[h>>2]|0,c[h+4>>2]|0)|0;s=D;t=k}if((s|0)<(d|0)|(s|0)==(d|0)&t>>>0>>0){t=f;c[t>>2]=b;c[t+4>>2]=d;vc(6125,f)|0;m=a+24|0;n=-1;o=m;p=o;c[p>>2]=b;q=o+4|0;r=q;c[r>>2]=d;l=e;return n|0}else{m=a+16|0;n=0;o=m;p=o;c[p>>2]=b;q=o+4|0;r=q;c[r>>2]=d;l=e;return n|0}return 0}function Cb(a){a=a|0;var b=0,d=0,e=0;b=a+4|0;if(!(c[b>>2]|0)){c[b>>2]=0;return}d=c[a>>2]|0;e=0;do{zc(c[d+(e*24|0)>>2]|0);d=c[a>>2]|0;c[d+(e*24|0)>>2]=0;e=e+1|0}while(e>>>0<(c[b>>2]|0)>>>0);c[b>>2]=0;return}function Db(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0;e=a+4|0;f=c[e>>2]|0;g=a+8|0;do if((f|0)==(c[g>>2]|0))if(!f)h=0;else{i=a+16|0;j=c[a>>2]|0;k=f;l=0;while(1){m=j+(l*24|0)+8|0;n=Kc(c[j+(l*24|0)+16>>2]|0,0,c[m>>2]|0,c[m+4>>2]|0)|0;m=D;o=i;p=c[o+4>>2]|0;if(!((m|0)<(p|0)|((m|0)==(p|0)?n>>>0<(c[o>>2]|0)>>>0:0))){q=6;break}zc(c[j+(l*24|0)>>2]|0);o=c[a>>2]|0;c[o+(l*24|0)>>2]=0;n=l+1|0;p=c[e>>2]|0;if(n>>>0

>>0){j=o;k=p;l=n}else{r=p;s=o;t=n;break}}if((q|0)==6)if(!l){h=k;break}else{r=k;s=j;t=l}i=r-t|0;c[e>>2]=i;Qc(s|0,s+(t*24|0)|0,i*24|0)|0;h=c[e>>2]|0}else h=f;while(0);f=c[g>>2]|0;t=f+8|0;if((h|0)==(f|0)){c[g>>2]=t;c[a>>2]=Bc(c[a>>2]|0,t*24|0)|0;u=c[e>>2]|0}else u=h;if(!u){h=a+16|0;v=c[a>>2]|0;w=c[h>>2]|0;x=c[h+4>>2]|0;y=v+(u*24|0)+8|0;z=y;A=z;c[A>>2]=w;B=z+4|0;C=B;c[C>>2]=x;E=v+(u*24|0)+16|0;c[E>>2]=d;F=yc(d)|0;G=v+(u*24|0)|0;c[G>>2]=F;Jc(F|0,b|0,d|0)|0;H=c[e>>2]|0;I=H+1|0;c[e>>2]=I;return}else{h=c[a>>2]|0;a=u+-1|0;t=h+(a*24|0)+8|0;g=Kc(c[h+(a*24|0)+16>>2]|0,0,c[t>>2]|0,c[t+4>>2]|0)|0;v=h;w=g;x=D;y=v+(u*24|0)+8|0;z=y;A=z;c[A>>2]=w;B=z+4|0;C=B;c[C>>2]=x;E=v+(u*24|0)+16|0;c[E>>2]=d;F=yc(d)|0;G=v+(u*24|0)|0;c[G>>2]=F;Jc(F|0,b|0,d|0)|0;H=c[e>>2]|0;I=H+1|0;c[e>>2]=I;return}}function Eb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0;e=l;l=l+32|0;f=e+16|0;g=e;h=a+4|0;i=c[h>>2]|0;j=(i|0)==0;k=a+16|0;m=k;n=c[m>>2]|0;o=c[m+4>>2]|0;if(j){p=n;q=o}else{m=c[a>>2]|0;r=i+-1|0;s=m+(r*24|0)+8|0;t=Kc(c[m+(r*24|0)+16>>2]|0,0,c[s>>2]|0,c[s+4>>2]|0)|0;p=t;q=D}t=Fc(p|0,q|0,n|0,o|0)|0;q=D;if((q|0)<0|(q|0)==0&t>>>0>>0){c[g>>2]=d;t=g+8|0;c[t>>2]=n;c[t+4>>2]=o;vc(6149,g)|0;u=-1;l=e;return u|0}a:do if(j){v=n;w=o}else{g=o;t=n;q=i;p=0;s=0;r=d;while(1){m=c[a>>2]|0;x=m+(p*24|0)+8|0;y=c[x>>2]|0;z=c[x+4>>2]|0;x=c[m+(p*24|0)+16>>2]|0;A=Kc(x|0,0,y|0,z|0)|0;B=D;if((B|0)<(g|0)|(B|0)==(g|0)&A>>>0>>0){C=q;E=t;F=g;G=s;H=r}else{A=Fc(t|0,g|0,y|0,z|0)|0;z=x-A|0;x=z>>>0>r>>>0?r:z;Jc(b+s|0,(c[m+(p*24|0)>>2]|0)+A|0,x|0)|0;A=k;m=Kc(c[A>>2]|0,c[A+4>>2]|0,x|0,0)|0;A=D;z=k;c[z>>2]=m;c[z+4>>2]=A;z=r-x|0;if(!z){u=0;break}C=c[h>>2]|0;E=m;F=A;G=x+s|0;H=z}p=p+1|0;if(p>>>0>=C>>>0){v=E;w=F;break a}else{g=F;t=E;q=C;s=G;r=H}}l=e;return u|0}while(0);c[f>>2]=d;d=f+8|0;c[d>>2]=v;c[d+4>>2]=w;vc(6184,f)|0;u=-1;l=e;return u|0}function Fb(a){a=a|0;var b=0,d=0,e=0,f=0;b=a+4|0;if(!(c[b>>2]|0)){d=c[a>>2]|0;c[b>>2]=0;zc(d);zc(a);return}e=c[a>>2]|0;f=0;do{zc(c[e+(f*24|0)>>2]|0);e=c[a>>2]|0;c[e+(f*24|0)>>2]=0;f=f+1|0}while(f>>>0<(c[b>>2]|0)>>>0);d=e;c[b>>2]=0;zc(d);zc(a);return}function Gb(){return 8700}function Hb(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=Ob(c[a+60>>2]|0)|0;a=Kb(ga(6,d|0)|0)|0;l=b;return a|0}function Ib(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=l;l=l+48|0;f=e+16|0;g=e;h=e+32|0;i=a+28|0;j=c[i>>2]|0;c[h>>2]=j;k=a+20|0;m=(c[k>>2]|0)-j|0;c[h+4>>2]=m;c[h+8>>2]=b;c[h+12>>2]=d;b=m+d|0;m=a+60|0;c[g>>2]=c[m>>2];c[g+4>>2]=h;c[g+8>>2]=2;j=Kb(pa(146,g|0)|0)|0;a:do if((b|0)!=(j|0)){g=j;n=h;o=2;p=b;while(1){if((g|0)<0)break;p=p-g|0;q=c[n+4>>2]|0;r=g>>>0>q>>>0;s=r?n+8|0:n;t=(r<<31>>31)+o|0;u=g-(r?q:0)|0;c[s>>2]=(c[s>>2]|0)+u;q=s+4|0;c[q>>2]=(c[q>>2]|0)-u;c[f>>2]=c[m>>2];c[f+4>>2]=s;c[f+8>>2]=t;g=Kb(pa(146,f|0)|0)|0;if((p|0)==(g|0)){v=3;break a}else{n=s;o=t}}c[a+16>>2]=0;c[i>>2]=0;c[k>>2]=0;c[a>>2]=c[a>>2]|32;if((o|0)==2)w=0;else w=d-(c[n+4>>2]|0)|0}else v=3;while(0);if((v|0)==3){v=c[a+44>>2]|0;c[a+16>>2]=v+(c[a+48>>2]|0);c[i>>2]=v;c[k>>2]=v;w=d}l=e;return w|0}function Jb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=l;l=l+32|0;f=e;g=e+20|0;c[f>>2]=c[a+60>>2];c[f+4>>2]=0;c[f+8>>2]=b;c[f+12>>2]=g;c[f+16>>2]=d;if((Kb(ja(140,f|0)|0)|0)<0){c[g>>2]=-1;h=-1}else h=c[g>>2]|0;l=e;return h|0}function Kb(a){a=a|0;var b=0;if(a>>>0>4294963200){c[(Lb()|0)>>2]=0-a;b=-1}else b=a;return b|0}function Lb(){return (Mb()|0)+64|0}function Mb(){return Nb()|0}function Nb(){return 2780}function Ob(a){a=a|0;return a|0}function Pb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+32|0;g=f;c[b+36>>2]=4;if((c[b>>2]&64|0)==0?(c[g>>2]=c[b+60>>2],c[g+4>>2]=21523,c[g+8>>2]=f+16,ma(54,g|0)|0):0)a[b+75>>0]=-1;g=Ib(b,d,e)|0;l=f;return g|0}function Qb(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=a[b>>0]|0;e=a[c>>0]|0;if(d<<24>>24==0?1:d<<24>>24!=e<<24>>24){f=e;g=d}else{d=b;b=c;do{d=d+1|0;b=b+1|0;c=a[d>>0]|0;e=a[b>>0]|0}while(!(c<<24>>24==0?1:c<<24>>24!=e<<24>>24));f=e;g=c}return (g&255)-(f&255)|0}function Rb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;f=l;l=l+224|0;g=f+120|0;h=f+80|0;i=f;j=f+136|0;k=h;m=k+40|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(m|0));c[g>>2]=c[e>>2];if((Sb(0,d,g,i,h)|0)<0)n=-1;else{if((c[b+76>>2]|0)>-1)o=Tb(b)|0;else o=0;e=c[b>>2]|0;k=e&32;if((a[b+74>>0]|0)<1)c[b>>2]=e&-33;e=b+48|0;if(!(c[e>>2]|0)){m=b+44|0;p=c[m>>2]|0;c[m>>2]=j;q=b+28|0;c[q>>2]=j;r=b+20|0;c[r>>2]=j;c[e>>2]=80;s=b+16|0;c[s>>2]=j+80;j=Sb(b,d,g,i,h)|0;if(!p)t=j;else{ta[c[b+36>>2]&7](b,0,0)|0;u=(c[r>>2]|0)==0?-1:j;c[m>>2]=p;c[e>>2]=0;c[s>>2]=0;c[q>>2]=0;c[r>>2]=0;t=u}}else t=Sb(b,d,g,i,h)|0;h=c[b>>2]|0;c[b>>2]=h|k;if(o|0)Ub(b);n=(h&32|0)==0?t:-1}l=f;return n|0}function Sb(d,e,f,g,i){d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0;j=l;l=l+64|0;k=j+16|0;m=j;n=j+24|0;o=j+8|0;p=j+20|0;c[k>>2]=e;q=(d|0)!=0;r=n+40|0;s=r;t=n+39|0;n=o+4|0;u=e;e=0;v=0;w=0;a:while(1){do if((e|0)>-1)if((v|0)>(2147483647-e|0)){c[(Lb()|0)>>2]=75;x=-1;break}else{x=v+e|0;break}else x=e;while(0);y=a[u>>0]|0;if(!(y<<24>>24)){z=87;break}else{A=y;B=u}b:while(1){switch(A<<24>>24){case 37:{C=B;E=B;z=9;break b;break}case 0:{F=B;G=B;break b;break}default:{}}y=B+1|0;c[k>>2]=y;A=a[y>>0]|0;B=y}c:do if((z|0)==9)while(1){z=0;if((a[C+1>>0]|0)!=37){F=C;G=E;break c}y=E+1|0;H=C+2|0;c[k>>2]=H;if((a[H>>0]|0)==37){C=H;E=y;z=9}else{F=H;G=y;break}}while(0);y=G-u|0;if(q)Vb(d,u,y);if(y|0){u=F;e=x;v=y;continue}y=F+1|0;H=(a[y>>0]|0)+-48|0;if(H>>>0<10){I=(a[F+2>>0]|0)==36;J=I?H:-1;K=I?1:w;L=I?F+3|0:y}else{J=-1;K=w;L=y}c[k>>2]=L;y=a[L>>0]|0;I=(y<<24>>24)+-32|0;d:do if(I>>>0<32){H=y;M=0;N=L;O=I;while(1){P=1<>2]=P;U=a[P>>0]|0;O=(U<<24>>24)+-32|0;if(O>>>0>=32){Q=U;R=P;S=T;break}else{H=U;M=T;N=P}}}else{Q=y;R=L;S=0}while(0);if(Q<<24>>24==42){y=R+1|0;I=(a[y>>0]|0)+-48|0;if(I>>>0<10?(a[R+2>>0]|0)==36:0){c[i+(I<<2)>>2]=10;V=1;W=R+3|0;X=c[g+((a[y>>0]|0)+-48<<3)>>2]|0}else{if(K|0){Y=-1;break}if(q){I=(c[f>>2]|0)+(4-1)&~(4-1);N=c[I>>2]|0;c[f>>2]=I+4;V=0;W=y;X=N}else{V=0;W=y;X=0}}c[k>>2]=W;y=(X|0)<0;Z=W;_=y?S|8192:S;$=V;aa=y?0-X|0:X}else{y=Wb(k)|0;if((y|0)<0){Y=-1;break}Z=c[k>>2]|0;_=S;$=K;aa=y}do if((a[Z>>0]|0)==46){if((a[Z+1>>0]|0)!=42){c[k>>2]=Z+1;y=Wb(k)|0;ba=c[k>>2]|0;ca=y;break}y=Z+2|0;N=(a[y>>0]|0)+-48|0;if(N>>>0<10?(a[Z+3>>0]|0)==36:0){c[i+(N<<2)>>2]=10;N=c[g+((a[y>>0]|0)+-48<<3)>>2]|0;I=Z+4|0;c[k>>2]=I;ba=I;ca=N;break}if($|0){Y=-1;break a}if(q){N=(c[f>>2]|0)+(4-1)&~(4-1);I=c[N>>2]|0;c[f>>2]=N+4;da=I}else da=0;c[k>>2]=y;ba=y;ca=da}else{ba=Z;ca=-1}while(0);y=ba;I=0;while(1){if(((a[y>>0]|0)+-65|0)>>>0>57){Y=-1;break a}ea=y+1|0;c[k>>2]=ea;fa=a[(a[y>>0]|0)+-65+(6221+(I*58|0))>>0]|0;ga=fa&255;if((ga+-1|0)>>>0<8){y=ea;I=ga}else break}if(!(fa<<24>>24)){Y=-1;break}N=(J|0)>-1;do if(fa<<24>>24==19)if(N){Y=-1;break a}else z=49;else{if(N){c[i+(J<<2)>>2]=ga;M=g+(J<<3)|0;H=c[M+4>>2]|0;O=m;c[O>>2]=c[M>>2];c[O+4>>2]=H;z=49;break}if(!q){Y=0;break a}Xb(m,ga,f)}while(0);if((z|0)==49?(z=0,!q):0){u=ea;e=x;v=0;w=$;continue}N=a[y>>0]|0;H=(I|0)!=0&(N&15|0)==3?N&-33:N;N=_&-65537;O=(_&8192|0)==0?_:N;e:do switch(H|0){case 110:{switch((I&255)<<24>>24){case 0:{c[c[m>>2]>>2]=x;u=ea;e=x;v=0;w=$;continue a;break}case 1:{c[c[m>>2]>>2]=x;u=ea;e=x;v=0;w=$;continue a;break}case 2:{M=c[m>>2]|0;c[M>>2]=x;c[M+4>>2]=((x|0)<0)<<31>>31;u=ea;e=x;v=0;w=$;continue a;break}case 3:{b[c[m>>2]>>1]=x;u=ea;e=x;v=0;w=$;continue a;break}case 4:{a[c[m>>2]>>0]=x;u=ea;e=x;v=0;w=$;continue a;break}case 6:{c[c[m>>2]>>2]=x;u=ea;e=x;v=0;w=$;continue a;break}case 7:{M=c[m>>2]|0;c[M>>2]=x;c[M+4>>2]=((x|0)<0)<<31>>31;u=ea;e=x;v=0;w=$;continue a;break}default:{u=ea;e=x;v=0;w=$;continue a}}break}case 112:{ha=O|8;ia=ca>>>0>8?ca:8;ja=120;z=61;break}case 88:case 120:{ha=O;ia=ca;ja=H;z=61;break}case 111:{M=m;P=c[M>>2]|0;T=c[M+4>>2]|0;M=Zb(P,T,r)|0;U=s-M|0;ka=P;la=T;ma=M;na=O;oa=(O&8|0)==0|(ca|0)>(U|0)?ca:U+1|0;pa=0;qa=6685;z=67;break}case 105:case 100:{U=m;M=c[U>>2]|0;T=c[U+4>>2]|0;if((T|0)<0){U=Fc(0,0,M|0,T|0)|0;P=D;ra=m;c[ra>>2]=U;c[ra+4>>2]=P;sa=U;ta=P;ua=1;va=6685;z=66;break e}else{sa=M;ta=T;ua=(O&2049|0)!=0&1;va=(O&2048|0)==0?((O&1|0)==0?6685:6687):6686;z=66;break e}break}case 117:{T=m;sa=c[T>>2]|0;ta=c[T+4>>2]|0;ua=0;va=6685;z=66;break}case 99:{a[t>>0]=c[m>>2];wa=t;xa=N;ya=1;za=0;Aa=6685;Ba=r;break}case 109:{Ca=$b(c[(Lb()|0)>>2]|0)|0;z=71;break}case 115:{T=c[m>>2]|0;Ca=T|0?T:6695;z=71;break}case 67:{c[o>>2]=c[m>>2];c[n>>2]=0;c[m>>2]=o;Da=o;Ea=-1;z=75;break}case 83:{T=c[m>>2]|0;if(!ca){bc(d,32,aa,0,O);Fa=0;z=84}else{Da=T;Ea=ca;z=75}break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{u=ea;e=x;v=dc(d,+h[m>>3],aa,ca,O,H)|0;w=$;continue a;break}default:{wa=u;xa=O;ya=ca;za=0;Aa=6685;Ba=r}}while(0);f:do if((z|0)==61){z=0;H=m;I=c[H>>2]|0;y=c[H+4>>2]|0;H=Yb(I,y,r,ja&32)|0;T=(ha&8|0)==0|(I|0)==0&(y|0)==0;ka=I;la=y;ma=H;na=ha;oa=ia;pa=T?0:2;qa=T?6685:6685+(ja>>4)|0;z=67}else if((z|0)==66){z=0;ka=sa;la=ta;ma=_b(sa,ta,r)|0;na=O;oa=ca;pa=ua;qa=va;z=67}else if((z|0)==71){z=0;T=ac(Ca,0,ca)|0;H=(T|0)==0;wa=Ca;xa=N;ya=H?ca:T-Ca|0;za=0;Aa=6685;Ba=H?Ca+ca|0:T}else if((z|0)==75){z=0;T=0;H=0;y=Da;while(1){I=c[y>>2]|0;if(!I){Ga=T;Ha=H;break}M=cc(p,I)|0;if((M|0)<0|M>>>0>(Ea-T|0)>>>0){Ga=T;Ha=M;break}I=M+T|0;if(Ea>>>0>I>>>0){T=I;H=M;y=y+4|0}else{Ga=I;Ha=M;break}}if((Ha|0)<0){Y=-1;break a}bc(d,32,aa,Ga,O);if(!Ga){Fa=0;z=84}else{y=0;H=Da;while(1){T=c[H>>2]|0;if(!T){Fa=Ga;z=84;break f}M=cc(p,T)|0;y=M+y|0;if((y|0)>(Ga|0)){Fa=Ga;z=84;break f}Vb(d,p,M);if(y>>>0>=Ga>>>0){Fa=Ga;z=84;break}else H=H+4|0}}}while(0);if((z|0)==67){z=0;N=(ka|0)!=0|(la|0)!=0;H=(oa|0)!=0|N;y=((N^1)&1)+(s-ma)|0;wa=H?ma:r;xa=(oa|0)>-1?na&-65537:na;ya=H?((oa|0)>(y|0)?oa:y):oa;za=pa;Aa=qa;Ba=r}else if((z|0)==84){z=0;bc(d,32,aa,Fa,O^8192);u=ea;e=x;v=(aa|0)>(Fa|0)?aa:Fa;w=$;continue}y=Ba-wa|0;H=(ya|0)<(y|0)?y:ya;N=H+za|0;M=(aa|0)<(N|0)?N:aa;bc(d,32,M,N,xa);Vb(d,Aa,za);bc(d,48,M,N,xa^65536);bc(d,48,H,y,0);Vb(d,wa,y);bc(d,32,M,N,xa^8192);u=ea;e=x;v=M;w=$}g:do if((z|0)==87)if(!d)if(!w)Y=0;else{$=1;while(1){v=c[i+($<<2)>>2]|0;if(!v){Ia=$;break}Xb(g+($<<3)|0,v,f);$=$+1|0;if(($|0)>=10){Y=1;break g}}while(1){if(c[i+(Ia<<2)>>2]|0){Y=-1;break g}Ia=Ia+1|0;if((Ia|0)>=10){Y=1;break}}}else Y=x;while(0);l=j;return Y|0}function Tb(a){a=a|0;return 0}function Ub(a){a=a|0;return}function Vb(a,b,d){a=a|0;b=b|0;d=d|0;if(!(c[a>>2]&32))pc(b,d,a)|0;return}function Wb(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b>>2]|0;e=(a[d>>0]|0)+-48|0;if(e>>>0<10){f=d;d=0;g=e;while(1){e=g+(d*10|0)|0;f=f+1|0;c[b>>2]=f;g=(a[f>>0]|0)+-48|0;if(g>>>0>=10){h=e;break}else d=e}}else h=0;return h|0}function Xb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0.0;a:do if(b>>>0<=20)do switch(b|0){case 9:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=f;break a;break}case 10:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;break a;break}case 11:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;e=a;c[e>>2]=f;c[e+4>>2]=0;break a;break}case 12:{e=(c[d>>2]|0)+(8-1)&~(8-1);f=e;g=c[f>>2]|0;i=c[f+4>>2]|0;c[d>>2]=e+8;e=a;c[e>>2]=g;c[e+4>>2]=i;break a;break}case 13:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=(e&65535)<<16>>16;e=a;c[e>>2]=i;c[e+4>>2]=((i|0)<0)<<31>>31;break a;break}case 14:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=a;c[i>>2]=e&65535;c[i+4>>2]=0;break a;break}case 15:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=(e&255)<<24>>24;e=a;c[e>>2]=i;c[e+4>>2]=((i|0)<0)<<31>>31;break a;break}case 16:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=a;c[i>>2]=e&255;c[i+4>>2]=0;break a;break}case 17:{i=(c[d>>2]|0)+(8-1)&~(8-1);j=+h[i>>3];c[d>>2]=i+8;h[a>>3]=j;break a;break}case 18:{i=(c[d>>2]|0)+(8-1)&~(8-1);j=+h[i>>3];c[d>>2]=i+8;h[a>>3]=j;break a;break}default:break a}while(0);while(0);return}function Yb(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0;if((b|0)==0&(c|0)==0)g=e;else{h=b;b=c;c=e;while(1){e=c+-1|0;a[e>>0]=d[6737+(h&15)>>0]|0|f;h=Hc(h|0,b|0,4)|0;b=D;if((h|0)==0&(b|0)==0){g=e;break}else c=e}}return g|0}function Zb(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;if((b|0)==0&(c|0)==0)e=d;else{f=b;b=c;c=d;while(1){d=c+-1|0;a[d>>0]=f&7|48;f=Hc(f|0,b|0,3)|0;b=D;if((f|0)==0&(b|0)==0){e=d;break}else c=d}}return e|0}function _b(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(c>>>0>0|(c|0)==0&b>>>0>4294967295){e=b;f=c;c=d;while(1){g=Rc(e|0,f|0,10,0)|0;c=c+-1|0;a[c>>0]=g&255|48;g=e;e=Nc(e|0,f|0,10,0)|0;if(!(f>>>0>9|(f|0)==9&g>>>0>4294967295))break;else f=D}h=c;i=e}else{h=d;i=b}if(!i)j=h;else{b=h;h=i;while(1){i=b+-1|0;a[i>>0]=(h>>>0)%10|0|48;if(h>>>0<10){j=i;break}else{b=i;h=(h>>>0)/10|0}}}return j|0}function $b(a){a=a|0;return kc(a,c[(jc()|0)+188>>2]|0)|0}function ac(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=d&255;g=(e|0)!=0;a:do if(g&(b&3|0)!=0){h=d&255;i=e;j=b;while(1){if((a[j>>0]|0)==h<<24>>24){k=i;l=j;m=6;break a}n=j+1|0;o=i+-1|0;p=(o|0)!=0;if(p&(n&3|0)!=0){i=o;j=n}else{q=o;r=n;s=p;m=5;break}}}else{q=e;r=b;s=g;m=5}while(0);if((m|0)==5)if(s){k=q;l=r;m=6}else{t=0;u=r}b:do if((m|0)==6){r=d&255;if((a[l>>0]|0)==r<<24>>24){t=k;u=l}else{q=S(f,16843009)|0;c:do if(k>>>0>3){s=k;g=l;while(1){b=c[g>>2]^q;if((b&-2139062144^-2139062144)&b+-16843009|0)break;b=g+4|0;e=s+-4|0;if(e>>>0>3){s=e;g=b}else{v=e;w=b;m=11;break c}}x=s;y=g}else{v=k;w=l;m=11}while(0);if((m|0)==11)if(!v){t=0;u=w;break}else{x=v;y=w}while(1){if((a[y>>0]|0)==r<<24>>24){t=x;u=y;break b}q=y+1|0;x=x+-1|0;if(!x){t=0;u=q;break}else y=q}}}while(0);return (t|0?u:0)|0}function bc(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=l;l=l+256|0;g=f;if((c|0)>(d|0)&(e&73728|0)==0){e=c-d|0;Gc(g|0,b|0,(e>>>0<256?e:256)|0)|0;if(e>>>0>255){b=c-d|0;d=e;do{Vb(a,g,256);d=d+-256|0}while(d>>>0>255);h=b&255}else h=e;Vb(a,g,h)}l=f;return}function cc(a,b){a=a|0;b=b|0;var c=0;if(!a)c=0;else c=hc(a,b,0)|0;return c|0}function dc(b,e,f,g,h,i){b=b|0;e=+e;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0.0,E=0.0,F=0,G=0,H=0,I=0.0,J=0,K=0,L=0,M=0,N=0,O=0.0,P=0,Q=0,R=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0.0,fa=0.0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0;j=l;l=l+560|0;k=j+8|0;m=j;n=j+524|0;o=n;p=j+512|0;c[m>>2]=0;q=p+12|0;ec(e)|0;if((D|0)<0){r=1;s=6702;t=-e}else{r=(h&2049|0)!=0&1;s=(h&2048|0)==0?((h&1|0)==0?6703:6708):6705;t=e}ec(t)|0;u=D&2146435072;do if(u>>>0<2146435072|(u|0)==2146435072&0<0){e=+fc(t,m)*2.0;v=e!=0.0;if(v)c[m>>2]=(c[m>>2]|0)+-1;w=i|32;if((w|0)==97){x=i&32;y=(x|0)==0?s:s+9|0;z=r|2;A=12-g|0;do if(!(g>>>0>11|(A|0)==0)){B=A;C=8.0;do{B=B+-1|0;C=C*16.0}while((B|0)!=0);if((a[y>>0]|0)==45){E=-(C+(-e-C));break}else{E=e+C-C;break}}else E=e;while(0);A=c[m>>2]|0;B=(A|0)<0?0-A|0:A;F=_b(B,((B|0)<0)<<31>>31,q)|0;if((F|0)==(q|0)){B=p+11|0;a[B>>0]=48;G=B}else G=F;a[G+-1>>0]=(A>>31&2)+43;A=G+-2|0;a[A>>0]=i+15;F=(g|0)<1;B=(h&8|0)==0;H=n;I=E;while(1){J=~~I;K=H+1|0;a[H>>0]=d[6737+J>>0]|x;I=(I-+(J|0))*16.0;if((K-o|0)==1?!(B&(F&I==0.0)):0){a[K>>0]=46;L=H+2|0}else L=K;if(!(I!=0.0))break;else H=L}H=L-o|0;F=q-A|0;B=(g|0)!=0&(H+-2|0)<(g|0)?g+2|0:H;x=F+z+B|0;bc(b,32,f,x,h);Vb(b,y,z);bc(b,48,f,x,h^65536);Vb(b,n,H);bc(b,48,B-H|0,0,0);Vb(b,A,F);bc(b,32,f,x,h^8192);M=x;break}x=(g|0)<0?6:g;if(v){F=(c[m>>2]|0)+-28|0;c[m>>2]=F;N=F;O=e*268435456.0}else{N=c[m>>2]|0;O=e}F=(N|0)<0?k:k+288|0;I=O;H=F;do{B=~~I>>>0;c[H>>2]=B;H=H+4|0;I=(I-+(B>>>0))*1.0e9}while(I!=0.0);if((N|0)>0){v=N;A=F;z=H;while(1){y=(v|0)<29?v:29;B=z+-4|0;if(B>>>0>=A>>>0){K=0;J=B;do{B=Ic(c[J>>2]|0,0,y|0)|0;P=Kc(B|0,D|0,K|0,0)|0;B=D;Q=Rc(P|0,B|0,1e9,0)|0;c[J>>2]=Q;K=Nc(P|0,B|0,1e9,0)|0;J=J+-4|0}while(J>>>0>=A>>>0);if(K){J=A+-4|0;c[J>>2]=K;R=J}else R=A}else R=A;J=z;while(1){if(J>>>0<=R>>>0)break;B=J+-4|0;if(!(c[B>>2]|0))J=B;else break}K=(c[m>>2]|0)-y|0;c[m>>2]=K;if((K|0)>0){v=K;A=R;z=J}else{T=K;U=R;V=J;break}}}else{T=N;U=F;V=H}if((T|0)<0){z=((x+25|0)/9|0)+1|0;A=(w|0)==102;v=T;K=U;B=V;while(1){P=0-v|0;Q=(P|0)<9?P:9;if(K>>>0>>0){P=(1<>>Q;X=0;Y=K;do{Z=c[Y>>2]|0;c[Y>>2]=(Z>>>Q)+X;X=S(Z&P,W)|0;Y=Y+4|0}while(Y>>>0>>0);Y=(c[K>>2]|0)==0?K+4|0:K;if(!X){_=Y;$=B}else{c[B>>2]=X;_=Y;$=B+4|0}}else{_=(c[K>>2]|0)==0?K+4|0:K;$=B}Y=A?F:_;W=($-Y>>2|0)>(z|0)?Y+(z<<2)|0:$;v=(c[m>>2]|0)+Q|0;c[m>>2]=v;if((v|0)>=0){aa=_;ba=W;break}else{K=_;B=W}}}else{aa=U;ba=V}B=F;if(aa>>>0>>0){K=(B-aa>>2)*9|0;v=c[aa>>2]|0;if(v>>>0<10)ca=K;else{z=K;K=10;while(1){K=K*10|0;A=z+1|0;if(v>>>0>>0){ca=A;break}else z=A}}}else ca=0;z=(w|0)==103;K=(x|0)!=0;v=x-((w|0)!=102?ca:0)+((K&z)<<31>>31)|0;if((v|0)<(((ba-B>>2)*9|0)+-9|0)){A=v+9216|0;v=F+4+(((A|0)/9|0)+-1024<<2)|0;H=((A|0)%9|0)+1|0;if((H|0)<9){A=10;W=H;while(1){H=A*10|0;W=W+1|0;if((W|0)==9){da=H;break}else A=H}}else da=10;A=c[v>>2]|0;W=(A>>>0)%(da>>>0)|0;w=(v+4|0)==(ba|0);if(!(w&(W|0)==0)){C=(((A>>>0)/(da>>>0)|0)&1|0)==0?9007199254740992.0:9007199254740994.0;H=(da|0)/2|0;I=W>>>0>>0?.5:w&(W|0)==(H|0)?1.0:1.5;if(!r){ea=C;fa=I}else{H=(a[s>>0]|0)==45;ea=H?-C:C;fa=H?-I:I}H=A-W|0;c[v>>2]=H;if(ea+fa!=ea){W=H+da|0;c[v>>2]=W;if(W>>>0>999999999){W=aa;H=v;while(1){A=H+-4|0;c[H>>2]=0;if(A>>>0>>0){w=W+-4|0;c[w>>2]=0;ga=w}else ga=W;w=(c[A>>2]|0)+1|0;c[A>>2]=w;if(w>>>0>999999999){W=ga;H=A}else{ha=ga;ia=A;break}}}else{ha=aa;ia=v}H=(B-ha>>2)*9|0;W=c[ha>>2]|0;if(W>>>0<10){ja=ha;ka=ia;la=H}else{A=H;H=10;while(1){H=H*10|0;w=A+1|0;if(W>>>0>>0){ja=ha;ka=ia;la=w;break}else A=w}}}else{ja=aa;ka=v;la=ca}}else{ja=aa;ka=v;la=ca}A=ka+4|0;ma=ja;na=la;oa=ba>>>0>A>>>0?A:ba}else{ma=aa;na=ca;oa=ba}A=oa;while(1){if(A>>>0<=ma>>>0){pa=0;break}H=A+-4|0;if(!(c[H>>2]|0))A=H;else{pa=1;break}}v=0-na|0;do if(z){H=((K^1)&1)+x|0;if((H|0)>(na|0)&(na|0)>-5){qa=H+-1-na|0;ra=i+-1|0}else{qa=H+-1|0;ra=i+-2|0}H=h&8;if(!H){if(pa?(W=c[A+-4>>2]|0,(W|0)!=0):0)if(!((W>>>0)%10|0)){w=10;Y=0;while(1){w=w*10|0;P=Y+1|0;if((W>>>0)%(w>>>0)|0|0){sa=P;break}else Y=P}}else sa=0;else sa=9;Y=((A-B>>2)*9|0)+-9|0;if((ra|32|0)==102){w=Y-sa|0;W=(w|0)>0?w:0;ta=0;ua=(qa|0)<(W|0)?qa:W;va=ra;break}else{W=Y+na-sa|0;Y=(W|0)>0?W:0;ta=0;ua=(qa|0)<(Y|0)?qa:Y;va=ra;break}}else{ta=H;ua=qa;va=ra}}else{ta=h&8;ua=x;va=i}while(0);x=ua|ta;B=(x|0)!=0&1;K=(va|32|0)==102;if(K){wa=0;xa=(na|0)>0?na:0}else{z=(na|0)<0?v:na;Y=_b(z,((z|0)<0)<<31>>31,q)|0;z=q;if((z-Y|0)<2){W=Y;while(1){w=W+-1|0;a[w>>0]=48;if((z-w|0)<2)W=w;else{ya=w;break}}}else ya=Y;a[ya+-1>>0]=(na>>31&2)+43;W=ya+-2|0;a[W>>0]=va;wa=W;xa=z-W|0}W=r+1+ua+B+xa|0;bc(b,32,f,W,h);Vb(b,s,r);bc(b,48,f,W,h^65536);if(K){v=ma>>>0>F>>>0?F:ma;w=n+9|0;Q=w;X=n+8|0;P=v;do{J=_b(c[P>>2]|0,0,w)|0;if((P|0)==(v|0))if((J|0)==(w|0)){a[X>>0]=48;za=X}else za=J;else if(J>>>0>n>>>0){Gc(n|0,48,J-o|0)|0;y=J;while(1){Z=y+-1|0;if(Z>>>0>n>>>0)y=Z;else{za=Z;break}}}else za=J;Vb(b,za,Q-za|0);P=P+4|0}while(P>>>0<=F>>>0);if(x|0)Vb(b,6753,1);if(P>>>0>>0&(ua|0)>0){F=P;Q=ua;while(1){X=_b(c[F>>2]|0,0,w)|0;if(X>>>0>n>>>0){Gc(n|0,48,X-o|0)|0;v=X;while(1){K=v+-1|0;if(K>>>0>n>>>0)v=K;else{Aa=K;break}}}else Aa=X;Vb(b,Aa,(Q|0)<9?Q:9);F=F+4|0;v=Q+-9|0;if(!(F>>>0>>0&(Q|0)>9)){Ba=v;break}else Q=v}}else Ba=ua;bc(b,48,Ba+9|0,9,0)}else{Q=pa?A:ma+4|0;if((ua|0)>-1){F=n+9|0;w=(ta|0)==0;P=F;x=0-o|0;v=n+8|0;J=ma;K=ua;while(1){B=_b(c[J>>2]|0,0,F)|0;if((B|0)==(F|0)){a[v>>0]=48;Ca=v}else Ca=B;do if((J|0)==(ma|0)){B=Ca+1|0;Vb(b,Ca,1);if(w&(K|0)<1){Da=B;break}Vb(b,6753,1);Da=B}else{if(Ca>>>0<=n>>>0){Da=Ca;break}Gc(n|0,48,Ca+x|0)|0;B=Ca;while(1){z=B+-1|0;if(z>>>0>n>>>0)B=z;else{Da=z;break}}}while(0);X=P-Da|0;Vb(b,Da,(K|0)>(X|0)?X:K);B=K-X|0;J=J+4|0;if(!(J>>>0>>0&(B|0)>-1)){Ea=B;break}else K=B}}else Ea=ua;bc(b,48,Ea+18|0,18,0);Vb(b,wa,q-wa|0)}bc(b,32,f,W,h^8192);M=W}else{K=(i&32|0)!=0;Q=r+3|0;bc(b,32,f,Q,h&-65537);Vb(b,s,r);Vb(b,t!=t|0.0!=0.0?(K?6729:6733):K?6721:6725,3);bc(b,32,f,Q,h^8192);M=Q}while(0);l=j;return ((M|0)<(f|0)?f:M)|0}function ec(a){a=+a;var b=0;h[j>>3]=a;b=c[j>>2]|0;D=c[j+4>>2]|0;return b|0}function fc(a,b){a=+a;b=b|0;return +(+gc(a,b))}function gc(a,b){a=+a;b=b|0;var d=0,e=0,f=0,g=0.0,i=0,k=0.0,l=0.0;h[j>>3]=a;d=c[j>>2]|0;e=c[j+4>>2]|0;f=Hc(d|0,e|0,52)|0;switch(f&2047){case 0:{if(a!=0.0){g=+gc(a*18446744073709551616.0,b);i=(c[b>>2]|0)+-64|0;k=g}else{i=0;k=a}c[b>>2]=i;l=k;break}case 2047:{l=a;break}default:{c[b>>2]=(f&2047)+-1022;c[j>>2]=d;c[j+4>>2]=e&-2146435073|1071644672;l=+h[j>>3]}}return +l}function hc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;do if(b){if(d>>>0<128){a[b>>0]=d;f=1;break}if(!(c[c[(ic()|0)+188>>2]>>2]|0))if((d&-128|0)==57216){a[b>>0]=d;f=1;break}else{c[(Lb()|0)>>2]=84;f=-1;break}if(d>>>0<2048){a[b>>0]=d>>>6|192;a[b+1>>0]=d&63|128;f=2;break}if(d>>>0<55296|(d&-8192|0)==57344){a[b>>0]=d>>>12|224;a[b+1>>0]=d>>>6&63|128;a[b+2>>0]=d&63|128;f=3;break}if((d+-65536|0)>>>0<1048576){a[b>>0]=d>>>18|240;a[b+1>>0]=d>>>12&63|128;a[b+2>>0]=d>>>6&63|128;a[b+3>>0]=d&63|128;f=4;break}else{c[(Lb()|0)>>2]=84;f=-1;break}}else f=1;while(0);return f|0}function ic(){return Nb()|0}function jc(){return Nb()|0}function kc(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=0;while(1){if((d[6755+f>>0]|0)==(b|0)){g=2;break}h=f+1|0;if((h|0)==87){i=87;j=6843;g=5;break}else f=h}if((g|0)==2)if(!f)k=6843;else{i=f;j=6843;g=5}if((g|0)==5)while(1){g=0;f=j;do{b=f;f=f+1|0}while((a[b>>0]|0)!=0);i=i+-1|0;if(!i){k=f;break}else{j=f;g=5}}return lc(k,c[e+20>>2]|0)|0}function lc(a,b){a=a|0;b=b|0;return mc(a,b)|0}function mc(a,b){a=a|0;b=b|0;var d=0;if(!b)d=0;else d=nc(c[b>>2]|0,c[b+4>>2]|0,a)|0;return (d|0?d:a)|0}function nc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=(c[b>>2]|0)+1794895138|0;g=oc(c[b+8>>2]|0,f)|0;h=oc(c[b+12>>2]|0,f)|0;i=oc(c[b+16>>2]|0,f)|0;a:do if((g>>>0>>2>>>0?(j=d-(g<<2)|0,h>>>0>>0&i>>>0>>0):0)?((i|h)&3|0)==0:0){j=h>>>2;k=i>>>2;l=0;m=g;while(1){n=m>>>1;o=l+n|0;p=o<<1;q=p+j|0;r=oc(c[b+(q<<2)>>2]|0,f)|0;s=oc(c[b+(q+1<<2)>>2]|0,f)|0;if(!(s>>>0>>0&r>>>0<(d-s|0)>>>0)){t=0;break a}if(a[b+(s+r)>>0]|0){t=0;break a}r=Qb(e,b+s|0)|0;if(!r)break;s=(r|0)<0;if((m|0)==1){t=0;break a}else{l=s?l:o;m=s?n:m-n|0}}m=p+k|0;l=oc(c[b+(m<<2)>>2]|0,f)|0;j=oc(c[b+(m+1<<2)>>2]|0,f)|0;if(j>>>0>>0&l>>>0<(d-j|0)>>>0)t=(a[b+(j+l)>>0]|0)==0?b+j|0:0;else t=0}else t=0;while(0);return t|0}function oc(a,b){a=a|0;b=b|0;var c=0;c=Sc(a|0)|0;return ((b|0)==0?a:c)|0}function pc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=e+16|0;g=c[f>>2]|0;if(!g)if(!(qc(e)|0)){h=c[f>>2]|0;i=5}else j=0;else{h=g;i=5}a:do if((i|0)==5){g=e+20|0;f=c[g>>2]|0;k=f;if((h-f|0)>>>0>>0){j=ta[c[e+36>>2]&7](e,b,d)|0;break}b:do if((a[e+75>>0]|0)>-1){f=d;while(1){if(!f){l=k;m=0;n=d;o=b;break b}p=f+-1|0;if((a[b+p>>0]|0)==10)break;else f=p}p=ta[c[e+36>>2]&7](e,b,f)|0;if(p>>>0>>0){j=p;break a}l=c[g>>2]|0;m=f;n=d-f|0;o=b+f|0}else{l=k;m=0;n=d;o=b}while(0);Jc(l|0,o|0,n|0)|0;c[g>>2]=(c[g>>2]|0)+n;j=m+n|0}while(0);return j|0}function qc(b){b=b|0;var d=0,e=0,f=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;e=c[b>>2]|0;if(!(e&8)){c[b+8>>2]=0;c[b+4>>2]=0;d=c[b+44>>2]|0;c[b+28>>2]=d;c[b+20>>2]=d;c[b+16>>2]=d+(c[b+48>>2]|0);f=0}else{c[b>>2]=e|32;f=-1}return f|0}function rc(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=b;a:do if(!(d&3)){e=b;f=4}else{g=d;h=b;while(1){if(!(a[h>>0]|0)){i=g;break a}j=h+1|0;g=j;if(!(g&3)){e=j;f=4;break}else h=j}}while(0);if((f|0)==4){f=e;while(1){k=c[f>>2]|0;if(!((k&-2139062144^-2139062144)&k+-16843009))f=f+4|0;else break}if(!((k&255)<<24>>24))l=f;else{k=f;while(1){f=k+1|0;if(!(a[f>>0]|0)){l=f;break}else k=f}}i=l}return i-d|0}function sc(a,b){a=a|0;b=b|0;var c=0;c=rc(a)|0;return ((tc(a,1,c,b)|0)!=(c|0))<<31>>31|0}function tc(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=S(d,b)|0;g=(b|0)==0?0:d;if((c[e+76>>2]|0)>-1){d=(Tb(e)|0)==0;h=pc(a,f,e)|0;if(d)i=h;else{Ub(e);i=h}}else i=pc(a,f,e)|0;if((i|0)==(f|0))j=g;else j=(i>>>0)/(b>>>0)|0;return j|0}function uc(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;f=l;l=l+16|0;g=f;h=e&255;a[g>>0]=h;i=b+16|0;j=c[i>>2]|0;if(!j)if(!(qc(b)|0)){k=c[i>>2]|0;m=4}else n=-1;else{k=j;m=4}do if((m|0)==4){j=b+20|0;i=c[j>>2]|0;if(i>>>0>>0?(o=e&255,(o|0)!=(a[b+75>>0]|0)):0){c[j>>2]=i+1;a[i>>0]=h;n=o;break}if((ta[c[b+36>>2]&7](b,g,1)|0)==1)n=d[g>>0]|0;else n=-1}while(0);l=f;return n|0}function vc(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;c[e>>2]=b;b=Rb(c[756]|0,a,e)|0;l=d;return b|0}function wc(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[756]|0;if((c[d+76>>2]|0)>-1)e=Tb(d)|0;else e=0;do if((sc(b,d)|0)<0)f=1;else{if((a[d+75>>0]|0)!=10?(g=d+20|0,h=c[g>>2]|0,h>>>0<(c[d+16>>2]|0)>>>0):0){c[g>>2]=h+1;a[h>>0]=10;f=0;break}f=(uc(d,10)|0)<0}while(0);if(e|0)Ub(d);return f<<31>>31|0}function xc(a,b){a=a|0;b=b|0;return Rb(c[756]|0,a,b)|0}function yc(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0;b=l;l=l+16|0;d=b;do if(a>>>0<245){e=a>>>0<11?16:a+11&-8;f=e>>>3;g=c[2191]|0;h=g>>>f;if(h&3|0){i=(h&1^1)+f|0;j=8804+(i<<1<<2)|0;k=j+8|0;m=c[k>>2]|0;n=m+8|0;o=c[n>>2]|0;do if((j|0)!=(o|0)){if(o>>>0<(c[2195]|0)>>>0)ia();p=o+12|0;if((c[p>>2]|0)==(m|0)){c[p>>2]=j;c[k>>2]=o;break}else ia()}else c[2191]=g&~(1<>2]=o|3;k=m+o+4|0;c[k>>2]=c[k>>2]|1;q=n;l=b;return q|0}k=c[2193]|0;if(e>>>0>k>>>0){if(h|0){o=2<>>12&16;p=o>>>j;o=p>>>5&8;r=p>>>o;p=r>>>2&4;s=r>>>p;r=s>>>1&2;t=s>>>r;s=t>>>1&1;u=(o|j|p|r|s)+(t>>>s)|0;s=8804+(u<<1<<2)|0;t=s+8|0;r=c[t>>2]|0;p=r+8|0;j=c[p>>2]|0;do if((s|0)!=(j|0)){if(j>>>0<(c[2195]|0)>>>0)ia();o=j+12|0;if((c[o>>2]|0)==(r|0)){c[o>>2]=s;c[t>>2]=j;v=g;break}else ia()}else{o=g&~(1<>2]=e|3;t=r+e|0;c[t+4>>2]=j|1;c[t+j>>2]=j;if(k|0){s=c[2196]|0;f=k>>>3;h=8804+(f<<1<<2)|0;n=1<>2]|0;if(m>>>0<(c[2195]|0)>>>0)ia();else{w=f;x=m}}else{c[2191]=v|n;w=h+8|0;x=h}c[w>>2]=s;c[x+12>>2]=s;c[s+8>>2]=x;c[s+12>>2]=h}c[2193]=j;c[2196]=t;q=p;l=b;return q|0}t=c[2192]|0;if(t){j=(t&0-t)+-1|0;h=j>>>12&16;s=j>>>h;j=s>>>5&8;n=s>>>j;s=n>>>2&4;m=n>>>s;n=m>>>1&2;f=m>>>n;m=f>>>1&1;i=c[9068+((j|h|s|n|m)+(f>>>m)<<2)>>2]|0;m=(c[i+4>>2]&-8)-e|0;f=c[i+16+(((c[i+16>>2]|0)==0&1)<<2)>>2]|0;if(!f){y=m;z=i}else{n=f;f=m;m=i;while(1){i=(c[n+4>>2]&-8)-e|0;s=i>>>0>>0;h=s?i:f;i=s?n:m;n=c[n+16+(((c[n+16>>2]|0)==0&1)<<2)>>2]|0;if(!n){y=h;z=i;break}else{f=h;m=i}}}m=c[2195]|0;if(z>>>0>>0)ia();f=z+e|0;if(z>>>0>=f>>>0)ia();n=c[z+24>>2]|0;p=c[z+12>>2]|0;do if((p|0)==(z|0)){r=z+20|0;u=c[r>>2]|0;if(!u){i=z+16|0;h=c[i>>2]|0;if(!h){A=0;break}else{B=h;C=i}}else{B=u;C=r}while(1){r=B+20|0;u=c[r>>2]|0;if(u|0){B=u;C=r;continue}r=B+16|0;u=c[r>>2]|0;if(!u)break;else{B=u;C=r}}if(C>>>0>>0)ia();else{c[C>>2]=0;A=B;break}}else{r=c[z+8>>2]|0;if(r>>>0>>0)ia();u=r+12|0;if((c[u>>2]|0)!=(z|0))ia();i=p+8|0;if((c[i>>2]|0)==(z|0)){c[u>>2]=p;c[i>>2]=r;A=p;break}else ia()}while(0);a:do if(n|0){p=c[z+28>>2]|0;m=9068+(p<<2)|0;do if((z|0)==(c[m>>2]|0)){c[m>>2]=A;if(!A){c[2192]=t&~(1<>>0>=(c[2195]|0)>>>0){c[n+16+(((c[n+16>>2]|0)!=(z|0)&1)<<2)>>2]=A;if(!A)break a;else break}else ia();while(0);p=c[2195]|0;if(A>>>0

>>0)ia();c[A+24>>2]=n;m=c[z+16>>2]|0;do if(m|0)if(m>>>0

>>0)ia();else{c[A+16>>2]=m;c[m+24>>2]=A;break}while(0);m=c[z+20>>2]|0;if(m|0)if(m>>>0<(c[2195]|0)>>>0)ia();else{c[A+20>>2]=m;c[m+24>>2]=A;break}}while(0);if(y>>>0<16){n=y+e|0;c[z+4>>2]=n|3;t=z+n+4|0;c[t>>2]=c[t>>2]|1}else{c[z+4>>2]=e|3;c[f+4>>2]=y|1;c[f+y>>2]=y;if(k|0){t=c[2196]|0;n=k>>>3;m=8804+(n<<1<<2)|0;p=1<>2]|0;if(r>>>0<(c[2195]|0)>>>0)ia();else{D=n;E=r}}else{c[2191]=g|p;D=m+8|0;E=m}c[D>>2]=t;c[E+12>>2]=t;c[t+8>>2]=E;c[t+12>>2]=m}c[2193]=y;c[2196]=f}q=z+8|0;l=b;return q|0}else F=e}else F=e}else if(a>>>0<=4294967231){m=a+11|0;t=m&-8;p=c[2192]|0;if(p){r=0-t|0;n=m>>>8;if(n)if(t>>>0>16777215)G=31;else{m=(n+1048320|0)>>>16&8;i=n<>>16&4;u=i<>>16&2;h=14-(n|m|i)+(u<>>15)|0;G=t>>>(h+7|0)&1|h<<1}else G=0;h=c[9068+(G<<2)>>2]|0;b:do if(!h){H=r;I=0;J=0;K=81}else{i=r;u=0;m=t<<((G|0)==31?0:25-(G>>>1)|0);n=h;s=0;while(1){j=(c[n+4>>2]&-8)-t|0;if(j>>>0>>0)if(!j){L=0;M=n;N=n;K=85;break b}else{O=j;P=n}else{O=i;P=s}j=c[n+20>>2]|0;n=c[n+16+(m>>>31<<2)>>2]|0;o=(j|0)==0|(j|0)==(n|0)?u:j;j=(n|0)==0;if(j){H=O;I=o;J=P;K=81;break}else{i=O;u=o;m=m<<((j^1)&1);s=P}}}while(0);if((K|0)==81){if((I|0)==0&(J|0)==0){h=2<>>12&16;e=h>>>r;h=e>>>5&8;f=e>>>h;e=f>>>2&4;g=f>>>e;f=g>>>1&2;k=g>>>f;g=k>>>1&1;Q=c[9068+((h|r|e|f|g)+(k>>>g)<<2)>>2]|0;R=0}else{Q=I;R=J}if(!Q){S=H;T=R}else{L=H;M=Q;N=R;K=85}}if((K|0)==85)while(1){K=0;g=(c[M+4>>2]&-8)-t|0;k=g>>>0>>0;f=k?g:L;g=k?M:N;M=c[M+16+(((c[M+16>>2]|0)==0&1)<<2)>>2]|0;if(!M){S=f;T=g;break}else{L=f;N=g;K=85}}if((T|0)!=0?S>>>0<((c[2193]|0)-t|0)>>>0:0){g=c[2195]|0;if(T>>>0>>0)ia();f=T+t|0;if(T>>>0>=f>>>0)ia();k=c[T+24>>2]|0;e=c[T+12>>2]|0;do if((e|0)==(T|0)){r=T+20|0;h=c[r>>2]|0;if(!h){s=T+16|0;m=c[s>>2]|0;if(!m){U=0;break}else{V=m;W=s}}else{V=h;W=r}while(1){r=V+20|0;h=c[r>>2]|0;if(h|0){V=h;W=r;continue}r=V+16|0;h=c[r>>2]|0;if(!h)break;else{V=h;W=r}}if(W>>>0>>0)ia();else{c[W>>2]=0;U=V;break}}else{r=c[T+8>>2]|0;if(r>>>0>>0)ia();h=r+12|0;if((c[h>>2]|0)!=(T|0))ia();s=e+8|0;if((c[s>>2]|0)==(T|0)){c[h>>2]=e;c[s>>2]=r;U=e;break}else ia()}while(0);c:do if(k){e=c[T+28>>2]|0;g=9068+(e<<2)|0;do if((T|0)==(c[g>>2]|0)){c[g>>2]=U;if(!U){r=p&~(1<>>0>=(c[2195]|0)>>>0){c[k+16+(((c[k+16>>2]|0)!=(T|0)&1)<<2)>>2]=U;if(!U){X=p;break c}else break}else ia();while(0);e=c[2195]|0;if(U>>>0>>0)ia();c[U+24>>2]=k;g=c[T+16>>2]|0;do if(g|0)if(g>>>0>>0)ia();else{c[U+16>>2]=g;c[g+24>>2]=U;break}while(0);g=c[T+20>>2]|0;if(g)if(g>>>0<(c[2195]|0)>>>0)ia();else{c[U+20>>2]=g;c[g+24>>2]=U;X=p;break}else X=p}else X=p;while(0);do if(S>>>0>=16){c[T+4>>2]=t|3;c[f+4>>2]=S|1;c[f+S>>2]=S;p=S>>>3;if(S>>>0<256){k=8804+(p<<1<<2)|0;g=c[2191]|0;e=1<>2]|0;if(r>>>0<(c[2195]|0)>>>0)ia();else{Y=p;Z=r}}else{c[2191]=g|e;Y=k+8|0;Z=k}c[Y>>2]=f;c[Z+12>>2]=f;c[f+8>>2]=Z;c[f+12>>2]=k;break}k=S>>>8;if(k)if(S>>>0>16777215)_=31;else{e=(k+1048320|0)>>>16&8;g=k<>>16&4;r=g<>>16&2;p=14-(k|e|g)+(r<>>15)|0;_=S>>>(p+7|0)&1|p<<1}else _=0;p=9068+(_<<2)|0;c[f+28>>2]=_;g=f+16|0;c[g+4>>2]=0;c[g>>2]=0;g=1<<_;if(!(X&g)){c[2192]=X|g;c[p>>2]=f;c[f+24>>2]=p;c[f+12>>2]=f;c[f+8>>2]=f;break}g=S<<((_|0)==31?0:25-(_>>>1)|0);r=c[p>>2]|0;while(1){if((c[r+4>>2]&-8|0)==(S|0)){K=139;break}$=r+16+(g>>>31<<2)|0;p=c[$>>2]|0;if(!p){K=136;break}else{g=g<<1;r=p}}if((K|0)==136)if($>>>0<(c[2195]|0)>>>0)ia();else{c[$>>2]=f;c[f+24>>2]=r;c[f+12>>2]=f;c[f+8>>2]=f;break}else if((K|0)==139){g=r+8|0;p=c[g>>2]|0;e=c[2195]|0;if(p>>>0>=e>>>0&r>>>0>=e>>>0){c[p+12>>2]=f;c[g>>2]=f;c[f+8>>2]=p;c[f+12>>2]=r;c[f+24>>2]=0;break}else ia()}}else{p=S+t|0;c[T+4>>2]=p|3;g=T+p+4|0;c[g>>2]=c[g>>2]|1}while(0);q=T+8|0;l=b;return q|0}else F=t}else F=t}else F=-1;while(0);T=c[2193]|0;if(T>>>0>=F>>>0){S=T-F|0;$=c[2196]|0;if(S>>>0>15){_=$+F|0;c[2196]=_;c[2193]=S;c[_+4>>2]=S|1;c[_+S>>2]=S;c[$+4>>2]=F|3}else{c[2193]=0;c[2196]=0;c[$+4>>2]=T|3;S=$+T+4|0;c[S>>2]=c[S>>2]|1}q=$+8|0;l=b;return q|0}$=c[2194]|0;if($>>>0>F>>>0){S=$-F|0;c[2194]=S;T=c[2197]|0;_=T+F|0;c[2197]=_;c[_+4>>2]=S|1;c[T+4>>2]=F|3;q=T+8|0;l=b;return q|0}if(!(c[2309]|0)){c[2311]=4096;c[2310]=4096;c[2312]=-1;c[2313]=-1;c[2314]=0;c[2302]=0;T=d&-16^1431655768;c[d>>2]=T;c[2309]=T;aa=4096}else aa=c[2311]|0;T=F+48|0;d=F+47|0;S=aa+d|0;_=0-aa|0;aa=S&_;if(aa>>>0<=F>>>0){q=0;l=b;return q|0}X=c[2301]|0;if(X|0?(Z=c[2299]|0,Y=Z+aa|0,Y>>>0<=Z>>>0|Y>>>0>X>>>0):0){q=0;l=b;return q|0}d:do if(!(c[2302]&4)){X=c[2197]|0;e:do if(X){Y=9212;while(1){Z=c[Y>>2]|0;if(Z>>>0<=X>>>0?(ba=Y+4|0,(Z+(c[ba>>2]|0)|0)>>>0>X>>>0):0)break;Z=c[Y+8>>2]|0;if(!Z){K=163;break e}else Y=Z}r=S-$&_;if(r>>>0<2147483647){Z=Tc(r|0)|0;if((Z|0)==((c[Y>>2]|0)+(c[ba>>2]|0)|0))if((Z|0)==(-1|0))ca=r;else{da=Z;ea=r;K=180;break d}else{fa=Z;ga=r;K=171}}else ca=0}else K=163;while(0);do if((K|0)==163){X=Tc(0)|0;if((X|0)!=(-1|0)?(t=X,r=c[2310]|0,Z=r+-1|0,U=((Z&t|0)==0?0:(Z+t&0-r)-t|0)+aa|0,t=c[2299]|0,r=U+t|0,U>>>0>F>>>0&U>>>0<2147483647):0){Z=c[2301]|0;if(Z|0?r>>>0<=t>>>0|r>>>0>Z>>>0:0){ca=0;break}Z=Tc(U|0)|0;if((Z|0)==(X|0)){da=X;ea=U;K=180;break d}else{fa=Z;ga=U;K=171}}else ca=0}while(0);do if((K|0)==171){U=0-ga|0;if(!(T>>>0>ga>>>0&(ga>>>0<2147483647&(fa|0)!=(-1|0))))if((fa|0)==(-1|0)){ca=0;break}else{da=fa;ea=ga;K=180;break d}Z=c[2311]|0;X=d-ga+Z&0-Z;if(X>>>0>=2147483647){da=fa;ea=ga;K=180;break d}if((Tc(X|0)|0)==(-1|0)){Tc(U|0)|0;ca=0;break}else{da=fa;ea=X+ga|0;K=180;break d}}while(0);c[2302]=c[2302]|4;ha=ca;K=178}else{ha=0;K=178}while(0);if(((K|0)==178?aa>>>0<2147483647:0)?(ca=Tc(aa|0)|0,aa=Tc(0)|0,ga=aa-ca|0,fa=ga>>>0>(F+40|0)>>>0,!((ca|0)==(-1|0)|fa^1|ca>>>0>>0&((ca|0)!=(-1|0)&(aa|0)!=(-1|0))^1)):0){da=ca;ea=fa?ga:ha;K=180}if((K|0)==180){ha=(c[2299]|0)+ea|0;c[2299]=ha;if(ha>>>0>(c[2300]|0)>>>0)c[2300]=ha;ha=c[2197]|0;do if(ha){ga=9212;while(1){ja=c[ga>>2]|0;ka=ga+4|0;la=c[ka>>2]|0;if((da|0)==(ja+la|0)){K=190;break}fa=c[ga+8>>2]|0;if(!fa)break;else ga=fa}if(((K|0)==190?(c[ga+12>>2]&8|0)==0:0)?ha>>>0>>0&ha>>>0>=ja>>>0:0){c[ka>>2]=la+ea;fa=ha+8|0;ca=(fa&7|0)==0?0:0-fa&7;fa=ha+ca|0;aa=(c[2194]|0)+(ea-ca)|0;c[2197]=fa;c[2194]=aa;c[fa+4>>2]=aa|1;c[fa+aa+4>>2]=40;c[2198]=c[2313];break}aa=c[2195]|0;if(da>>>0>>0){c[2195]=da;ma=da}else ma=aa;aa=da+ea|0;fa=9212;while(1){if((c[fa>>2]|0)==(aa|0)){K=198;break}ca=c[fa+8>>2]|0;if(!ca)break;else fa=ca}if((K|0)==198?(c[fa+12>>2]&8|0)==0:0){c[fa>>2]=da;ga=fa+4|0;c[ga>>2]=(c[ga>>2]|0)+ea;ga=da+8|0;ca=da+((ga&7|0)==0?0:0-ga&7)|0;ga=aa+8|0;d=aa+((ga&7|0)==0?0:0-ga&7)|0;ga=ca+F|0;T=d-ca-F|0;c[ca+4>>2]=F|3;do if((d|0)!=(ha|0)){if((d|0)==(c[2196]|0)){ba=(c[2193]|0)+T|0;c[2193]=ba;c[2196]=ga;c[ga+4>>2]=ba|1;c[ga+ba>>2]=ba;break}ba=c[d+4>>2]|0;if((ba&3|0)==1){_=ba&-8;$=ba>>>3;f:do if(ba>>>0>=256){S=c[d+24>>2]|0;X=c[d+12>>2]|0;do if((X|0)==(d|0)){U=d+16|0;Z=U+4|0;r=c[Z>>2]|0;if(!r){t=c[U>>2]|0;if(!t){na=0;break}else{oa=t;pa=U}}else{oa=r;pa=Z}while(1){Z=oa+20|0;r=c[Z>>2]|0;if(r|0){oa=r;pa=Z;continue}Z=oa+16|0;r=c[Z>>2]|0;if(!r)break;else{oa=r;pa=Z}}if(pa>>>0>>0)ia();else{c[pa>>2]=0;na=oa;break}}else{Z=c[d+8>>2]|0;if(Z>>>0>>0)ia();r=Z+12|0;if((c[r>>2]|0)!=(d|0))ia();U=X+8|0;if((c[U>>2]|0)==(d|0)){c[r>>2]=X;c[U>>2]=Z;na=X;break}else ia()}while(0);if(!S)break;X=c[d+28>>2]|0;Z=9068+(X<<2)|0;do if((d|0)!=(c[Z>>2]|0))if(S>>>0>=(c[2195]|0)>>>0){c[S+16+(((c[S+16>>2]|0)!=(d|0)&1)<<2)>>2]=na;if(!na)break f;else break}else ia();else{c[Z>>2]=na;if(na|0)break;c[2192]=c[2192]&~(1<>>0>>0)ia();c[na+24>>2]=S;Z=d+16|0;U=c[Z>>2]|0;do if(U|0)if(U>>>0>>0)ia();else{c[na+16>>2]=U;c[U+24>>2]=na;break}while(0);U=c[Z+4>>2]|0;if(!U)break;if(U>>>0<(c[2195]|0)>>>0)ia();else{c[na+20>>2]=U;c[U+24>>2]=na;break}}else{U=c[d+8>>2]|0;X=c[d+12>>2]|0;S=8804+($<<1<<2)|0;do if((U|0)!=(S|0)){if(U>>>0>>0)ia();if((c[U+12>>2]|0)==(d|0))break;ia()}while(0);if((X|0)==(U|0)){c[2191]=c[2191]&~(1<<$);break}do if((X|0)==(S|0))qa=X+8|0;else{if(X>>>0>>0)ia();Z=X+8|0;if((c[Z>>2]|0)==(d|0)){qa=Z;break}ia()}while(0);c[U+12>>2]=X;c[qa>>2]=U}while(0);ra=d+_|0;sa=_+T|0}else{ra=d;sa=T}$=ra+4|0;c[$>>2]=c[$>>2]&-2;c[ga+4>>2]=sa|1;c[ga+sa>>2]=sa;$=sa>>>3;if(sa>>>0<256){ba=8804+($<<1<<2)|0;Y=c[2191]|0;S=1<<$;do if(!(Y&S)){c[2191]=Y|S;ta=ba+8|0;ua=ba}else{$=ba+8|0;Z=c[$>>2]|0;if(Z>>>0>=(c[2195]|0)>>>0){ta=$;ua=Z;break}ia()}while(0);c[ta>>2]=ga;c[ua+12>>2]=ga;c[ga+8>>2]=ua;c[ga+12>>2]=ba;break}S=sa>>>8;do if(!S)va=0;else{if(sa>>>0>16777215){va=31;break}Y=(S+1048320|0)>>>16&8;_=S<>>16&4;$=_<>>16&2;r=14-(Z|Y|_)+($<<_>>>15)|0;va=sa>>>(r+7|0)&1|r<<1}while(0);S=9068+(va<<2)|0;c[ga+28>>2]=va;ba=ga+16|0;c[ba+4>>2]=0;c[ba>>2]=0;ba=c[2192]|0;r=1<>2]=ga;c[ga+24>>2]=S;c[ga+12>>2]=ga;c[ga+8>>2]=ga;break}r=sa<<((va|0)==31?0:25-(va>>>1)|0);ba=c[S>>2]|0;while(1){if((c[ba+4>>2]&-8|0)==(sa|0)){K=265;break}wa=ba+16+(r>>>31<<2)|0;S=c[wa>>2]|0;if(!S){K=262;break}else{r=r<<1;ba=S}}if((K|0)==262)if(wa>>>0<(c[2195]|0)>>>0)ia();else{c[wa>>2]=ga;c[ga+24>>2]=ba;c[ga+12>>2]=ga;c[ga+8>>2]=ga;break}else if((K|0)==265){r=ba+8|0;S=c[r>>2]|0;_=c[2195]|0;if(S>>>0>=_>>>0&ba>>>0>=_>>>0){c[S+12>>2]=ga;c[r>>2]=ga;c[ga+8>>2]=S;c[ga+12>>2]=ba;c[ga+24>>2]=0;break}else ia()}}else{S=(c[2194]|0)+T|0;c[2194]=S;c[2197]=ga;c[ga+4>>2]=S|1}while(0);q=ca+8|0;l=b;return q|0}ga=9212;while(1){T=c[ga>>2]|0;if(T>>>0<=ha>>>0?(xa=T+(c[ga+4>>2]|0)|0,xa>>>0>ha>>>0):0)break;ga=c[ga+8>>2]|0}ga=xa+-47|0;ca=ga+8|0;T=ga+((ca&7|0)==0?0:0-ca&7)|0;ca=ha+16|0;ga=T>>>0>>0?ha:T;T=ga+8|0;d=da+8|0;aa=(d&7|0)==0?0:0-d&7;d=da+aa|0;fa=ea+-40-aa|0;c[2197]=d;c[2194]=fa;c[d+4>>2]=fa|1;c[d+fa+4>>2]=40;c[2198]=c[2313];fa=ga+4|0;c[fa>>2]=27;c[T>>2]=c[2303];c[T+4>>2]=c[2304];c[T+8>>2]=c[2305];c[T+12>>2]=c[2306];c[2303]=da;c[2304]=ea;c[2306]=0;c[2305]=T;T=ga+24|0;do{d=T;T=T+4|0;c[T>>2]=7}while((d+8|0)>>>0>>0);if((ga|0)!=(ha|0)){T=ga-ha|0;c[fa>>2]=c[fa>>2]&-2;c[ha+4>>2]=T|1;c[ga>>2]=T;d=T>>>3;if(T>>>0<256){aa=8804+(d<<1<<2)|0;S=c[2191]|0;r=1<>2]|0;if(_>>>0<(c[2195]|0)>>>0)ia();else{ya=d;za=_}}else{c[2191]=S|r;ya=aa+8|0;za=aa}c[ya>>2]=ha;c[za+12>>2]=ha;c[ha+8>>2]=za;c[ha+12>>2]=aa;break}aa=T>>>8;if(aa)if(T>>>0>16777215)Aa=31;else{r=(aa+1048320|0)>>>16&8;S=aa<>>16&4;_=S<>>16&2;d=14-(aa|r|S)+(_<>>15)|0;Aa=T>>>(d+7|0)&1|d<<1}else Aa=0;d=9068+(Aa<<2)|0;c[ha+28>>2]=Aa;c[ha+20>>2]=0;c[ca>>2]=0;S=c[2192]|0;_=1<>2]=ha;c[ha+24>>2]=d;c[ha+12>>2]=ha;c[ha+8>>2]=ha;break}_=T<<((Aa|0)==31?0:25-(Aa>>>1)|0);S=c[d>>2]|0;while(1){if((c[S+4>>2]&-8|0)==(T|0)){K=292;break}Ba=S+16+(_>>>31<<2)|0;d=c[Ba>>2]|0;if(!d){K=289;break}else{_=_<<1;S=d}}if((K|0)==289)if(Ba>>>0<(c[2195]|0)>>>0)ia();else{c[Ba>>2]=ha;c[ha+24>>2]=S;c[ha+12>>2]=ha;c[ha+8>>2]=ha;break}else if((K|0)==292){_=S+8|0;T=c[_>>2]|0;ca=c[2195]|0;if(T>>>0>=ca>>>0&S>>>0>=ca>>>0){c[T+12>>2]=ha;c[_>>2]=ha;c[ha+8>>2]=T;c[ha+12>>2]=S;c[ha+24>>2]=0;break}else ia()}}}else{T=c[2195]|0;if((T|0)==0|da>>>0>>0)c[2195]=da;c[2303]=da;c[2304]=ea;c[2306]=0;c[2200]=c[2309];c[2199]=-1;T=0;do{_=8804+(T<<1<<2)|0;c[_+12>>2]=_;c[_+8>>2]=_;T=T+1|0}while((T|0)!=32);T=da+8|0;S=(T&7|0)==0?0:0-T&7;T=da+S|0;_=ea+-40-S|0;c[2197]=T;c[2194]=_;c[T+4>>2]=_|1;c[T+_+4>>2]=40;c[2198]=c[2313]}while(0);ea=c[2194]|0;if(ea>>>0>F>>>0){da=ea-F|0;c[2194]=da;ea=c[2197]|0;ha=ea+F|0;c[2197]=ha;c[ha+4>>2]=da|1;c[ea+4>>2]=F|3;q=ea+8|0;l=b;return q|0}}c[(Lb()|0)>>2]=12;q=0;l=b;return q|0}function zc(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;if(!a)return;b=a+-8|0;d=c[2195]|0;if(b>>>0>>0)ia();e=c[a+-4>>2]|0;a=e&3;if((a|0)==1)ia();f=e&-8;g=b+f|0;a:do if(!(e&1)){h=c[b>>2]|0;if(!a)return;i=b+(0-h)|0;j=h+f|0;if(i>>>0>>0)ia();if((i|0)==(c[2196]|0)){k=g+4|0;l=c[k>>2]|0;if((l&3|0)!=3){m=i;n=i;o=j;break}c[2193]=j;c[k>>2]=l&-2;c[i+4>>2]=j|1;c[i+j>>2]=j;return}l=h>>>3;if(h>>>0<256){h=c[i+8>>2]|0;k=c[i+12>>2]|0;p=8804+(l<<1<<2)|0;if((h|0)!=(p|0)){if(h>>>0>>0)ia();if((c[h+12>>2]|0)!=(i|0))ia()}if((k|0)==(h|0)){c[2191]=c[2191]&~(1<>>0>>0)ia();p=k+8|0;if((c[p>>2]|0)==(i|0))q=p;else ia()}else q=k+8|0;c[h+12>>2]=k;c[q>>2]=h;m=i;n=i;o=j;break}h=c[i+24>>2]|0;k=c[i+12>>2]|0;do if((k|0)==(i|0)){p=i+16|0;l=p+4|0;r=c[l>>2]|0;if(!r){s=c[p>>2]|0;if(!s){t=0;break}else{u=s;v=p}}else{u=r;v=l}while(1){l=u+20|0;r=c[l>>2]|0;if(r|0){u=r;v=l;continue}l=u+16|0;r=c[l>>2]|0;if(!r)break;else{u=r;v=l}}if(v>>>0>>0)ia();else{c[v>>2]=0;t=u;break}}else{l=c[i+8>>2]|0;if(l>>>0>>0)ia();r=l+12|0;if((c[r>>2]|0)!=(i|0))ia();p=k+8|0;if((c[p>>2]|0)==(i|0)){c[r>>2]=k;c[p>>2]=l;t=k;break}else ia()}while(0);if(h){k=c[i+28>>2]|0;l=9068+(k<<2)|0;do if((i|0)==(c[l>>2]|0)){c[l>>2]=t;if(!t){c[2192]=c[2192]&~(1<>>0>=(c[2195]|0)>>>0){c[h+16+(((c[h+16>>2]|0)!=(i|0)&1)<<2)>>2]=t;if(!t){m=i;n=i;o=j;break a}else break}else ia();while(0);k=c[2195]|0;if(t>>>0>>0)ia();c[t+24>>2]=h;l=i+16|0;p=c[l>>2]|0;do if(p|0)if(p>>>0>>0)ia();else{c[t+16>>2]=p;c[p+24>>2]=t;break}while(0);p=c[l+4>>2]|0;if(p)if(p>>>0<(c[2195]|0)>>>0)ia();else{c[t+20>>2]=p;c[p+24>>2]=t;m=i;n=i;o=j;break}else{m=i;n=i;o=j}}else{m=i;n=i;o=j}}else{m=b;n=b;o=f}while(0);if(m>>>0>=g>>>0)ia();f=g+4|0;b=c[f>>2]|0;if(!(b&1))ia();if(!(b&2)){t=c[2196]|0;if((g|0)==(c[2197]|0)){d=(c[2194]|0)+o|0;c[2194]=d;c[2197]=n;c[n+4>>2]=d|1;if((n|0)!=(t|0))return;c[2196]=0;c[2193]=0;return}if((g|0)==(t|0)){t=(c[2193]|0)+o|0;c[2193]=t;c[2196]=m;c[n+4>>2]=t|1;c[m+t>>2]=t;return}t=(b&-8)+o|0;d=b>>>3;b:do if(b>>>0>=256){u=c[g+24>>2]|0;v=c[g+12>>2]|0;do if((v|0)==(g|0)){q=g+16|0;a=q+4|0;e=c[a>>2]|0;if(!e){p=c[q>>2]|0;if(!p){w=0;break}else{x=p;y=q}}else{x=e;y=a}while(1){a=x+20|0;e=c[a>>2]|0;if(e|0){x=e;y=a;continue}a=x+16|0;e=c[a>>2]|0;if(!e)break;else{x=e;y=a}}if(y>>>0<(c[2195]|0)>>>0)ia();else{c[y>>2]=0;w=x;break}}else{a=c[g+8>>2]|0;if(a>>>0<(c[2195]|0)>>>0)ia();e=a+12|0;if((c[e>>2]|0)!=(g|0))ia();q=v+8|0;if((c[q>>2]|0)==(g|0)){c[e>>2]=v;c[q>>2]=a;w=v;break}else ia()}while(0);if(u|0){v=c[g+28>>2]|0;j=9068+(v<<2)|0;do if((g|0)==(c[j>>2]|0)){c[j>>2]=w;if(!w){c[2192]=c[2192]&~(1<>>0>=(c[2195]|0)>>>0){c[u+16+(((c[u+16>>2]|0)!=(g|0)&1)<<2)>>2]=w;if(!w)break b;else break}else ia();while(0);v=c[2195]|0;if(w>>>0>>0)ia();c[w+24>>2]=u;j=g+16|0;i=c[j>>2]|0;do if(i|0)if(i>>>0>>0)ia();else{c[w+16>>2]=i;c[i+24>>2]=w;break}while(0);i=c[j+4>>2]|0;if(i|0)if(i>>>0<(c[2195]|0)>>>0)ia();else{c[w+20>>2]=i;c[i+24>>2]=w;break}}}else{i=c[g+8>>2]|0;v=c[g+12>>2]|0;u=8804+(d<<1<<2)|0;if((i|0)!=(u|0)){if(i>>>0<(c[2195]|0)>>>0)ia();if((c[i+12>>2]|0)!=(g|0))ia()}if((v|0)==(i|0)){c[2191]=c[2191]&~(1<>>0<(c[2195]|0)>>>0)ia();u=v+8|0;if((c[u>>2]|0)==(g|0))z=u;else ia()}else z=v+8|0;c[i+12>>2]=v;c[z>>2]=i}while(0);c[n+4>>2]=t|1;c[m+t>>2]=t;if((n|0)==(c[2196]|0)){c[2193]=t;return}else A=t}else{c[f>>2]=b&-2;c[n+4>>2]=o|1;c[m+o>>2]=o;A=o}o=A>>>3;if(A>>>0<256){m=8804+(o<<1<<2)|0;b=c[2191]|0;f=1<>2]|0;if(t>>>0<(c[2195]|0)>>>0)ia();else{B=o;C=t}}else{c[2191]=b|f;B=m+8|0;C=m}c[B>>2]=n;c[C+12>>2]=n;c[n+8>>2]=C;c[n+12>>2]=m;return}m=A>>>8;if(m)if(A>>>0>16777215)D=31;else{C=(m+1048320|0)>>>16&8;B=m<>>16&4;f=B<>>16&2;b=14-(m|C|B)+(f<>>15)|0;D=A>>>(b+7|0)&1|b<<1}else D=0;b=9068+(D<<2)|0;c[n+28>>2]=D;c[n+20>>2]=0;c[n+16>>2]=0;B=c[2192]|0;f=1<>>1)|0);m=c[b>>2]|0;while(1){if((c[m+4>>2]&-8|0)==(A|0)){E=124;break}F=m+16+(C>>>31<<2)|0;t=c[F>>2]|0;if(!t){E=121;break}else{C=C<<1;m=t}}if((E|0)==121)if(F>>>0<(c[2195]|0)>>>0)ia();else{c[F>>2]=n;c[n+24>>2]=m;c[n+12>>2]=n;c[n+8>>2]=n;break}else if((E|0)==124){C=m+8|0;j=c[C>>2]|0;t=c[2195]|0;if(j>>>0>=t>>>0&m>>>0>=t>>>0){c[j+12>>2]=n;c[C>>2]=n;c[n+8>>2]=j;c[n+12>>2]=m;c[n+24>>2]=0;break}else ia()}}else{c[2192]=B|f;c[b>>2]=n;c[n+24>>2]=b;c[n+12>>2]=n;c[n+8>>2]=n}while(0);n=(c[2199]|0)+-1|0;c[2199]=n;if(!n)G=9220;else return;while(1){n=c[G>>2]|0;if(!n)break;else G=n+8|0}c[2199]=-1;return}function Ac(a,b){a=a|0;b=b|0;var d=0,e=0;if(a){d=S(b,a)|0;if((b|a)>>>0>65535)e=((d>>>0)/(a>>>0)|0|0)==(b|0)?d:-1;else e=d}else e=0;d=yc(e)|0;if(!d)return d|0;if(!(c[d+-4>>2]&3))return d|0;Gc(d|0,0,e|0)|0;return d|0}function Bc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!a){d=yc(b)|0;return d|0}if(b>>>0>4294967231){c[(Lb()|0)>>2]=12;d=0;return d|0}e=Cc(a+-8|0,b>>>0<11?16:b+11&-8)|0;if(e|0){d=e+8|0;return d|0}e=yc(b)|0;if(!e){d=0;return d|0}f=c[a+-4>>2]|0;g=(f&-8)-((f&3|0)==0?8:4)|0;Jc(e|0,a|0,(g>>>0>>0?g:b)|0)|0;zc(a);d=e;return d|0} function Cc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=a+4|0;e=c[d>>2]|0;f=e&-8;g=a+f|0;h=c[2195]|0;i=e&3;if(!((i|0)!=1&a>>>0>=h>>>0&a>>>0>>0))ia();j=c[g+4>>2]|0;if(!(j&1))ia();if(!i){if(b>>>0<256){k=0;return k|0}if(f>>>0>=(b+4|0)>>>0?(f-b|0)>>>0<=c[2311]<<1>>>0:0){k=a;return k|0}k=0;return k|0}if(f>>>0>=b>>>0){i=f-b|0;if(i>>>0<=15){k=a;return k|0}l=a+b|0;c[d>>2]=e&1|b|2;c[l+4>>2]=i|3;m=l+i+4|0;c[m>>2]=c[m>>2]|1;Dc(l,i);k=a;return k|0}if((g|0)==(c[2197]|0)){i=(c[2194]|0)+f|0;l=i-b|0;m=a+b|0;if(i>>>0<=b>>>0){k=0;return k|0}c[d>>2]=e&1|b|2;c[m+4>>2]=l|1;c[2197]=m;c[2194]=l;k=a;return k|0}if((g|0)==(c[2196]|0)){l=(c[2193]|0)+f|0;if(l>>>0>>0){k=0;return k|0}m=l-b|0;i=e&1;if(m>>>0>15){n=a+b|0;o=n+m|0;c[d>>2]=i|b|2;c[n+4>>2]=m|1;c[o>>2]=m;p=o+4|0;c[p>>2]=c[p>>2]&-2;q=n;r=m}else{c[d>>2]=i|l|2;i=a+l+4|0;c[i>>2]=c[i>>2]|1;q=0;r=0}c[2193]=r;c[2196]=q;k=a;return k|0}if(j&2|0){k=0;return k|0}q=(j&-8)+f|0;if(q>>>0>>0){k=0;return k|0}f=q-b|0;r=j>>>3;a:do if(j>>>0>=256){i=c[g+24>>2]|0;l=c[g+12>>2]|0;do if((l|0)==(g|0)){m=g+16|0;n=m+4|0;p=c[n>>2]|0;if(!p){o=c[m>>2]|0;if(!o){s=0;break}else{t=o;u=m}}else{t=p;u=n}while(1){n=t+20|0;p=c[n>>2]|0;if(p|0){t=p;u=n;continue}n=t+16|0;p=c[n>>2]|0;if(!p)break;else{t=p;u=n}}if(u>>>0>>0)ia();else{c[u>>2]=0;s=t;break}}else{n=c[g+8>>2]|0;if(n>>>0>>0)ia();p=n+12|0;if((c[p>>2]|0)!=(g|0))ia();m=l+8|0;if((c[m>>2]|0)==(g|0)){c[p>>2]=l;c[m>>2]=n;s=l;break}else ia()}while(0);if(i|0){l=c[g+28>>2]|0;n=9068+(l<<2)|0;do if((g|0)==(c[n>>2]|0)){c[n>>2]=s;if(!s){c[2192]=c[2192]&~(1<>>0>=(c[2195]|0)>>>0){c[i+16+(((c[i+16>>2]|0)!=(g|0)&1)<<2)>>2]=s;if(!s)break a;else break}else ia();while(0);l=c[2195]|0;if(s>>>0>>0)ia();c[s+24>>2]=i;n=g+16|0;m=c[n>>2]|0;do if(m|0)if(m>>>0>>0)ia();else{c[s+16>>2]=m;c[m+24>>2]=s;break}while(0);m=c[n+4>>2]|0;if(m|0)if(m>>>0<(c[2195]|0)>>>0)ia();else{c[s+20>>2]=m;c[m+24>>2]=s;break}}}else{m=c[g+8>>2]|0;l=c[g+12>>2]|0;i=8804+(r<<1<<2)|0;if((m|0)!=(i|0)){if(m>>>0>>0)ia();if((c[m+12>>2]|0)!=(g|0))ia()}if((l|0)==(m|0)){c[2191]=c[2191]&~(1<>>0>>0)ia();i=l+8|0;if((c[i>>2]|0)==(g|0))v=i;else ia()}else v=l+8|0;c[m+12>>2]=l;c[v>>2]=m}while(0);v=e&1;if(f>>>0<16){c[d>>2]=q|v|2;e=a+q+4|0;c[e>>2]=c[e>>2]|1;k=a;return k|0}else{e=a+b|0;c[d>>2]=v|b|2;c[e+4>>2]=f|3;b=e+f+4|0;c[b>>2]=c[b>>2]|1;Dc(e,f);k=a;return k|0}return 0}function Dc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;d=a+b|0;e=c[a+4>>2]|0;a:do if(!(e&1)){f=c[a>>2]|0;if(!(e&3))return;g=a+(0-f)|0;h=f+b|0;i=c[2195]|0;if(g>>>0>>0)ia();if((g|0)==(c[2196]|0)){j=d+4|0;k=c[j>>2]|0;if((k&3|0)!=3){l=g;m=h;break}c[2193]=h;c[j>>2]=k&-2;c[g+4>>2]=h|1;c[g+h>>2]=h;return}k=f>>>3;if(f>>>0<256){f=c[g+8>>2]|0;j=c[g+12>>2]|0;n=8804+(k<<1<<2)|0;if((f|0)!=(n|0)){if(f>>>0>>0)ia();if((c[f+12>>2]|0)!=(g|0))ia()}if((j|0)==(f|0)){c[2191]=c[2191]&~(1<>>0>>0)ia();n=j+8|0;if((c[n>>2]|0)==(g|0))o=n;else ia()}else o=j+8|0;c[f+12>>2]=j;c[o>>2]=f;l=g;m=h;break}f=c[g+24>>2]|0;j=c[g+12>>2]|0;do if((j|0)==(g|0)){n=g+16|0;k=n+4|0;p=c[k>>2]|0;if(!p){q=c[n>>2]|0;if(!q){r=0;break}else{s=q;t=n}}else{s=p;t=k}while(1){k=s+20|0;p=c[k>>2]|0;if(p|0){s=p;t=k;continue}k=s+16|0;p=c[k>>2]|0;if(!p)break;else{s=p;t=k}}if(t>>>0>>0)ia();else{c[t>>2]=0;r=s;break}}else{k=c[g+8>>2]|0;if(k>>>0>>0)ia();p=k+12|0;if((c[p>>2]|0)!=(g|0))ia();n=j+8|0;if((c[n>>2]|0)==(g|0)){c[p>>2]=j;c[n>>2]=k;r=j;break}else ia()}while(0);if(f){j=c[g+28>>2]|0;i=9068+(j<<2)|0;do if((g|0)==(c[i>>2]|0)){c[i>>2]=r;if(!r){c[2192]=c[2192]&~(1<>>0>=(c[2195]|0)>>>0){c[f+16+(((c[f+16>>2]|0)!=(g|0)&1)<<2)>>2]=r;if(!r){l=g;m=h;break a}else break}else ia();while(0);j=c[2195]|0;if(r>>>0>>0)ia();c[r+24>>2]=f;i=g+16|0;k=c[i>>2]|0;do if(k|0)if(k>>>0>>0)ia();else{c[r+16>>2]=k;c[k+24>>2]=r;break}while(0);k=c[i+4>>2]|0;if(k)if(k>>>0<(c[2195]|0)>>>0)ia();else{c[r+20>>2]=k;c[k+24>>2]=r;l=g;m=h;break}else{l=g;m=h}}else{l=g;m=h}}else{l=a;m=b}while(0);b=c[2195]|0;if(d>>>0>>0)ia();a=d+4|0;r=c[a>>2]|0;if(!(r&2)){s=c[2196]|0;if((d|0)==(c[2197]|0)){t=(c[2194]|0)+m|0;c[2194]=t;c[2197]=l;c[l+4>>2]=t|1;if((l|0)!=(s|0))return;c[2196]=0;c[2193]=0;return}if((d|0)==(s|0)){s=(c[2193]|0)+m|0;c[2193]=s;c[2196]=l;c[l+4>>2]=s|1;c[l+s>>2]=s;return}s=(r&-8)+m|0;t=r>>>3;b:do if(r>>>0>=256){o=c[d+24>>2]|0;e=c[d+12>>2]|0;do if((e|0)==(d|0)){k=d+16|0;j=k+4|0;f=c[j>>2]|0;if(!f){n=c[k>>2]|0;if(!n){u=0;break}else{v=n;w=k}}else{v=f;w=j}while(1){j=v+20|0;f=c[j>>2]|0;if(f|0){v=f;w=j;continue}j=v+16|0;f=c[j>>2]|0;if(!f)break;else{v=f;w=j}}if(w>>>0>>0)ia();else{c[w>>2]=0;u=v;break}}else{j=c[d+8>>2]|0;if(j>>>0>>0)ia();f=j+12|0;if((c[f>>2]|0)!=(d|0))ia();k=e+8|0;if((c[k>>2]|0)==(d|0)){c[f>>2]=e;c[k>>2]=j;u=e;break}else ia()}while(0);if(o|0){e=c[d+28>>2]|0;h=9068+(e<<2)|0;do if((d|0)==(c[h>>2]|0)){c[h>>2]=u;if(!u){c[2192]=c[2192]&~(1<>>0>=(c[2195]|0)>>>0){c[o+16+(((c[o+16>>2]|0)!=(d|0)&1)<<2)>>2]=u;if(!u)break b;else break}else ia();while(0);e=c[2195]|0;if(u>>>0>>0)ia();c[u+24>>2]=o;h=d+16|0;g=c[h>>2]|0;do if(g|0)if(g>>>0>>0)ia();else{c[u+16>>2]=g;c[g+24>>2]=u;break}while(0);g=c[h+4>>2]|0;if(g|0)if(g>>>0<(c[2195]|0)>>>0)ia();else{c[u+20>>2]=g;c[g+24>>2]=u;break}}}else{g=c[d+8>>2]|0;e=c[d+12>>2]|0;o=8804+(t<<1<<2)|0;if((g|0)!=(o|0)){if(g>>>0>>0)ia();if((c[g+12>>2]|0)!=(d|0))ia()}if((e|0)==(g|0)){c[2191]=c[2191]&~(1<>>0>>0)ia();o=e+8|0;if((c[o>>2]|0)==(d|0))x=o;else ia()}else x=e+8|0;c[g+12>>2]=e;c[x>>2]=g}while(0);c[l+4>>2]=s|1;c[l+s>>2]=s;if((l|0)==(c[2196]|0)){c[2193]=s;return}else y=s}else{c[a>>2]=r&-2;c[l+4>>2]=m|1;c[l+m>>2]=m;y=m}m=y>>>3;if(y>>>0<256){r=8804+(m<<1<<2)|0;a=c[2191]|0;s=1<>2]|0;if(x>>>0<(c[2195]|0)>>>0)ia();else{z=m;A=x}}else{c[2191]=a|s;z=r+8|0;A=r}c[z>>2]=l;c[A+12>>2]=l;c[l+8>>2]=A;c[l+12>>2]=r;return}r=y>>>8;if(r)if(y>>>0>16777215)B=31;else{A=(r+1048320|0)>>>16&8;z=r<>>16&4;s=z<>>16&2;a=14-(r|A|z)+(s<>>15)|0;B=y>>>(a+7|0)&1|a<<1}else B=0;a=9068+(B<<2)|0;c[l+28>>2]=B;c[l+20>>2]=0;c[l+16>>2]=0;z=c[2192]|0;s=1<>2]=l;c[l+24>>2]=a;c[l+12>>2]=l;c[l+8>>2]=l;return}s=y<<((B|0)==31?0:25-(B>>>1)|0);B=c[a>>2]|0;while(1){if((c[B+4>>2]&-8|0)==(y|0)){C=121;break}D=B+16+(s>>>31<<2)|0;a=c[D>>2]|0;if(!a){C=118;break}else{s=s<<1;B=a}}if((C|0)==118){if(D>>>0<(c[2195]|0)>>>0)ia();c[D>>2]=l;c[l+24>>2]=B;c[l+12>>2]=l;c[l+8>>2]=l;return}else if((C|0)==121){C=B+8|0;D=c[C>>2]|0;s=c[2195]|0;if(!(D>>>0>=s>>>0&B>>>0>=s>>>0))ia();c[D+12>>2]=l;c[C>>2]=l;c[l+8>>2]=D;c[l+12>>2]=B;c[l+24>>2]=0;return}}function Ec(){}function Fc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=b-d>>>0;e=b-d-(c>>>0>a>>>0|0)>>>0;return (D=e,a-c>>>0|0)|0}function Gc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=b+e|0;d=d&255;if((e|0)>=67){while(b&3){a[b>>0]=d;b=b+1|0}g=f&-4|0;h=g-64|0;i=d|d<<8|d<<16|d<<24;while((b|0)<=(h|0)){c[b>>2]=i;c[b+4>>2]=i;c[b+8>>2]=i;c[b+12>>2]=i;c[b+16>>2]=i;c[b+20>>2]=i;c[b+24>>2]=i;c[b+28>>2]=i;c[b+32>>2]=i;c[b+36>>2]=i;c[b+40>>2]=i;c[b+44>>2]=i;c[b+48>>2]=i;c[b+52>>2]=i;c[b+56>>2]=i;c[b+60>>2]=i;b=b+64|0}while((b|0)<(g|0)){c[b>>2]=i;b=b+4|0}}while((b|0)<(f|0)){a[b>>0]=d;b=b+1|0}return f-e|0}function Hc(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){D=b>>>c;return a>>>c|(b&(1<>>c-32|0}function Ic(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){D=b<>>32-c;return a<=8192)return la(b|0,d|0,e|0)|0;f=b|0;g=b+e|0;if((b&3)==(d&3)){while(b&3){if(!e)return f|0;a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}h=g&-4|0;e=h-64|0;while((b|0)<=(e|0)){c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+12>>2]=c[d+12>>2];c[b+16>>2]=c[d+16>>2];c[b+20>>2]=c[d+20>>2];c[b+24>>2]=c[d+24>>2];c[b+28>>2]=c[d+28>>2];c[b+32>>2]=c[d+32>>2];c[b+36>>2]=c[d+36>>2];c[b+40>>2]=c[d+40>>2];c[b+44>>2]=c[d+44>>2];c[b+48>>2]=c[d+48>>2];c[b+52>>2]=c[d+52>>2];c[b+56>>2]=c[d+56>>2];c[b+60>>2]=c[d+60>>2];b=b+64|0;d=d+64|0}while((b|0)<(h|0)){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}}else{h=g-4|0;while((b|0)<(h|0)){a[b>>0]=a[d>>0]|0;a[b+1>>0]=a[d+1>>0]|0;a[b+2>>0]=a[d+2>>0]|0;a[b+3>>0]=a[d+3>>0]|0;b=b+4|0;d=d+4|0}}while((b|0)<(g|0)){a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}return f|0}function Kc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=a+c>>>0;return (D=b+d+(e>>>0>>0|0)>>>0,e|0)|0}function Lc(b){b=b|0;var c=0;c=a[n+(b&255)>>0]|0;if((c|0)<8)return c|0;c=a[n+(b>>8&255)>>0]|0;if((c|0)<8)return c+8|0;c=a[n+(b>>16&255)>>0]|0;if((c|0)<8)return c+16|0;return (a[n+(b>>>24)>>0]|0)+24|0}function Mc(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0;g=a;h=b;i=h;j=d;k=e;l=k;if(!i){m=(f|0)!=0;if(!l){if(m){c[f>>2]=(g>>>0)%(j>>>0);c[f+4>>2]=0}n=0;o=(g>>>0)/(j>>>0)>>>0;return (D=n,o)|0}else{if(!m){n=0;o=0;return (D=n,o)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;n=0;o=0;return (D=n,o)|0}}m=(l|0)==0;do if(j){if(!m){p=(V(l|0)|0)-(V(i|0)|0)|0;if(p>>>0<=31){q=p+1|0;r=31-p|0;s=p-31>>31;t=q;u=g>>>(q>>>0)&s|i<>>(q>>>0)&s;w=0;x=g<>2]=a|0;c[f+4>>2]=h|b&0;n=0;o=0;return (D=n,o)|0}r=j-1|0;if(r&j|0){s=(V(j|0)|0)+33-(V(i|0)|0)|0;q=64-s|0;p=32-s|0;y=p>>31;z=s-32|0;A=z>>31;t=s;u=p-1>>31&i>>>(z>>>0)|(i<>>(s>>>0))&A;v=A&i>>>(s>>>0);w=g<>>(z>>>0))&y|g<>31;break}if(f|0){c[f>>2]=r&g;c[f+4>>2]=0}if((j|0)==1){n=h|b&0;o=a|0|0;return (D=n,o)|0}else{r=Lc(j|0)|0;n=i>>>(r>>>0)|0;o=i<<32-r|g>>>(r>>>0)|0;return (D=n,o)|0}}else{if(m){if(f|0){c[f>>2]=(i>>>0)%(j>>>0);c[f+4>>2]=0}n=0;o=(i>>>0)/(j>>>0)>>>0;return (D=n,o)|0}if(!g){if(f|0){c[f>>2]=0;c[f+4>>2]=(i>>>0)%(l>>>0)}n=0;o=(i>>>0)/(l>>>0)>>>0;return (D=n,o)|0}r=l-1|0;if(!(r&l)){if(f|0){c[f>>2]=a|0;c[f+4>>2]=r&i|b&0}n=0;o=i>>>((Lc(l|0)|0)>>>0);return (D=n,o)|0}r=(V(l|0)|0)-(V(i|0)|0)|0;if(r>>>0<=30){s=r+1|0;p=31-r|0;t=s;u=i<>>(s>>>0);v=i>>>(s>>>0);w=0;x=g<>2]=a|0;c[f+4>>2]=h|b&0;n=0;o=0;return (D=n,o)|0}while(0);if(!t){B=x;C=w;E=v;F=u;G=0;H=0}else{b=d|0|0;d=k|e&0;e=Kc(b|0,d|0,-1,-1)|0;k=D;h=x;x=w;w=v;v=u;u=t;t=0;do{a=h;h=x>>>31|h<<1;x=t|x<<1;g=v<<1|a>>>31|0;a=v>>>31|w<<1|0;Fc(e|0,k|0,g|0,a|0)|0;i=D;l=i>>31|((i|0)<0?-1:0)<<1;t=l&1;v=Fc(g|0,a|0,l&b|0,(((i|0)<0?-1:0)>>31|((i|0)<0?-1:0)<<1)&d|0)|0;w=D;u=u-1|0}while((u|0)!=0);B=h;C=x;E=w;F=v;G=0;H=t}t=C;C=0;if(f|0){c[f>>2]=F;c[f+4>>2]=E}n=(t|0)>>>31|(B|C)<<1|(C<<1|t>>>31)&0|G;o=(t<<1|0>>>31)&-2|H;return (D=n,o)|0}function Nc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Mc(a,b,c,d,0)|0}function Oc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=a&65535;d=b&65535;e=S(d,c)|0;f=a>>>16;a=(e>>>16)+(S(d,f)|0)|0;d=b>>>16;b=S(d,c)|0;return (D=(a>>>16)+(S(d,f)|0)+(((a&65535)+b|0)>>>16)|0,a+b<<16|e&65535|0)|0}function Pc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;a=c;c=Oc(e,a)|0;f=D;return (D=(S(b,a)|0)+(S(d,e)|0)+f|f&0,c|0|0)|0}function Qc(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if((c|0)<(b|0)&(b|0)<(c+d|0)){e=b;c=c+d|0;b=b+d|0;while((d|0)>0){b=b-1|0;c=c-1|0;d=d-1|0;a[b>>0]=a[c>>0]|0}b=e}else Jc(b,c,d)|0;return b|0}function Rc(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+16|0;g=f|0;Mc(a,b,d,e,g)|0;l=f;return (D=c[g+4>>2]|0,c[g>>2]|0)|0}function Sc(a){a=a|0;return (a&255)<<24|(a>>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function Tc(a){a=a|0;var b=0,d=0;a=a+15&-16|0;b=c[i>>2]|0;d=b+a|0;if((a|0)>0&(d|0)<(b|0)|(d|0)<0){_()|0;ha(12);return -1}c[i>>2]=d;if((d|0)>(Z()|0)?(Y()|0)==0:0){ha(12);c[i>>2]=b;return -1}return b|0}function Uc(a,b){a=a|0;b=b|0;return sa[a&3](b|0)|0}function Vc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ta[a&7](b|0,c|0,d|0)|0}function Wc(a,b,c){a=a|0;b=b|0;c=c|0;return ua[a&3](b|0,c|0)|0}function Xc(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return va[a&1](b|0,c|0,d|0,e|0)|0}function Yc(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;wa[a&3](b|0,c|0,d|0,e|0)}function Zc(a){a=a|0;W(0);return 0}function _c(a,b,c){a=a|0;b=b|0;c=c|0;W(1);return 0}function $c(a,b){a=a|0;b=b|0;W(2);return 0}function ad(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;W(3);return 0}function bd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;W(4)} // EMSCRIPTEN_END_FUNCS var sa=[Zc,ob,Hb,Zc];var ta=[_c,mb,Pb,Jb,Ib,_c,_c,_c];var ua=[$c,Bc,ab,$c];var va=[ad,nb];var wa=[bd,Fa,jb,bd];return{_ogv_demuxer_receive_input:hb,stackSave:ya,getTempRet0:Da,___udivdi3:Nc,setThrew:Ba,_bitshift64Lshr:Hc,_bitshift64Shl:Ic,_ogv_demuxer_keypoint_offset:ub,_ogv_demuxer_process:ib,_memset:Gc,_ogv_demuxer_destroy:pb,_sbrk:Tc,_ogv_demuxer_media_duration:sb,stackAlloc:xa,___muldi3:Pc,___uremdi3:Rc,_llvm_cttz_i32:Lc,_i64Subtract:Fc,___udivmoddi4:Mc,setTempRet0:Ca,_i64Add:Kc,_ogv_demuxer_seekable:tb,_ogv_demuxer_media_length:rb,_ogv_demuxer_seek_to_keypoint:vb,stackRestore:za,_llvm_bswap_i32:Sc,___muldsi3:Oc,_free:zc,runPostSets:Ec,establishStackSpace:Aa,_ogv_demuxer_flush:qb,_ogv_demuxer_init:gb,_emscripten_get_global_libc:Gb,_malloc:yc,_memcpy:Jc,_memmove:Qc,stackAlloc:xa,stackSave:ya,stackRestore:za,establishStackSpace:Aa,setThrew:Ba,setTempRet0:Ca,getTempRet0:Da,dynCall_ii:Uc,dynCall_iiii:Vc,dynCall_iii:Wc,dynCall_iiiii:Xc,dynCall_viiii:Yc}}) // EMSCRIPTEN_END_ASM (Module.asmGlobalArg,Module.asmLibraryArg,buffer);var _ogv_demuxer_receive_input=Module["_ogv_demuxer_receive_input"]=asm["_ogv_demuxer_receive_input"];var stackSave=Module["stackSave"]=asm["stackSave"];var getTempRet0=Module["getTempRet0"]=asm["getTempRet0"];var ___udivdi3=Module["___udivdi3"]=asm["___udivdi3"];var setThrew=Module["setThrew"]=asm["setThrew"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var _ogv_demuxer_keypoint_offset=Module["_ogv_demuxer_keypoint_offset"]=asm["_ogv_demuxer_keypoint_offset"];var _ogv_demuxer_process=Module["_ogv_demuxer_process"]=asm["_ogv_demuxer_process"];var _memset=Module["_memset"]=asm["_memset"];var _ogv_demuxer_destroy=Module["_ogv_demuxer_destroy"]=asm["_ogv_demuxer_destroy"];var _sbrk=Module["_sbrk"]=asm["_sbrk"];var _ogv_demuxer_media_duration=Module["_ogv_demuxer_media_duration"]=asm["_ogv_demuxer_media_duration"];var stackAlloc=Module["stackAlloc"]=asm["stackAlloc"];var ___muldi3=Module["___muldi3"]=asm["___muldi3"];var ___uremdi3=Module["___uremdi3"]=asm["___uremdi3"];var _llvm_cttz_i32=Module["_llvm_cttz_i32"]=asm["_llvm_cttz_i32"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var ___udivmoddi4=Module["___udivmoddi4"]=asm["___udivmoddi4"];var setTempRet0=Module["setTempRet0"]=asm["setTempRet0"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var _ogv_demuxer_seekable=Module["_ogv_demuxer_seekable"]=asm["_ogv_demuxer_seekable"];var _ogv_demuxer_media_length=Module["_ogv_demuxer_media_length"]=asm["_ogv_demuxer_media_length"];var _ogv_demuxer_seek_to_keypoint=Module["_ogv_demuxer_seek_to_keypoint"]=asm["_ogv_demuxer_seek_to_keypoint"];var stackRestore=Module["stackRestore"]=asm["stackRestore"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var ___muldsi3=Module["___muldsi3"]=asm["___muldsi3"];var _free=Module["_free"]=asm["_free"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var establishStackSpace=Module["establishStackSpace"]=asm["establishStackSpace"];var _ogv_demuxer_flush=Module["_ogv_demuxer_flush"]=asm["_ogv_demuxer_flush"];var _ogv_demuxer_init=Module["_ogv_demuxer_init"]=asm["_ogv_demuxer_init"];var _emscripten_get_global_libc=Module["_emscripten_get_global_libc"]=asm["_emscripten_get_global_libc"];var _malloc=Module["_malloc"]=asm["_malloc"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var _memmove=Module["_memmove"]=asm["_memmove"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];Runtime.stackAlloc=Module["stackAlloc"];Runtime.stackSave=Module["stackSave"];Runtime.stackRestore=Module["stackRestore"];Runtime.establishStackSpace=Module["establishStackSpace"];Runtime.setTempRet0=Module["setTempRet0"];Runtime.getTempRet0=Module["getTempRet0"];Module["asm"]=asm;Module["then"]=(function(func){if(Module["calledRun"]){func(Module)}else{var old=Module["onRuntimeInitialized"];Module["onRuntimeInitialized"]=(function(){if(old)old();func(Module)})}return Module});function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;var initialStackTop;var preloadStartTime=null;var calledMain=false;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=Module.callMain=function callMain(args){args=args||[];ensureInitRuntime();var argc=args.length+1;function pad(){for(var i=0;i<4-1;i++){argv.push(0)}}var argv=[allocate(intArrayFromString(Module["thisProgram"]),"i8",ALLOC_NORMAL)];pad();for(var i=0;i0){return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;function doRun(){if(Module["calledRun"])return;Module["calledRun"]=true;if(ABORT)return;ensureInitRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(Module["_main"]&&shouldRunNow)Module["callMain"](args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){Module["setStatus"]("")}),1);doRun()}),1)}else{doRun()}}Module["run"]=Module.run=run;function exit(status,implicit){if(implicit&&Module["noExitRuntime"]){return}if(Module["noExitRuntime"]){}else{ABORT=true;EXITSTATUS=status;STACKTOP=initialStackTop;exitRuntime();if(Module["onExit"])Module["onExit"](status)}if(ENVIRONMENT_IS_NODE){process["exit"](status)}Module["quit"](status,new ExitStatus(status))}Module["exit"]=Module.exit=exit;var abortDecorators=[];function abort(what){if(what!==undefined){Module.print(what);Module.printErr(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;var extra="\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.";var output="abort("+what+") at "+stackTrace()+extra;if(abortDecorators){abortDecorators.forEach((function(decorator){output=decorator(output,what)}))}throw output}Module["abort"]=Module.abort=abort;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=false;if(Module["noInitialRun"]){shouldRunNow=false}Module["noExitRuntime"]=true;run();var inputBuffer,inputBufferSize;function reallocInputBuffer(size){if(inputBuffer&&inputBufferSize>=size){return inputBuffer}if(inputBuffer){Module._free(inputBuffer)}inputBufferSize=size;inputBuffer=Module._malloc(inputBufferSize);return inputBuffer}var getTimestamp;if(typeof performance==="undefined"||typeof performance.now==="undefined"){getTimestamp=Date.now}else{getTimestamp=performance.now.bind(performance)}function time(func){var start=getTimestamp(),ret;ret=func();var delta=getTimestamp()-start;Module.cpuTime+=delta;return ret}Module.loadedMetadata=false;Module.videoCodec=null;Module.audioCodec=null;Module.duration=NaN;Module.onseek=null;Module.cpuTime=0;Module.audioPackets=[];Object.defineProperty(Module,"hasAudio",{get:(function(){return Module.loadedMetadata&&Module.audioCodec})});Object.defineProperty(Module,"audioReady",{get:(function(){return Module.audioPackets.length>0})});Object.defineProperty(Module,"audioTimestamp",{get:(function(){if(Module.audioPackets.length>0){return Module.audioPackets[0].timestamp}else{return-1}})});Module.videoPackets=[];Object.defineProperty(Module,"hasVideo",{get:(function(){return Module.loadedMetadata&&Module.videoCodec})});Object.defineProperty(Module,"frameReady",{get:(function(){return Module.videoPackets.length>0})});Object.defineProperty(Module,"frameTimestamp",{get:(function(){if(Module.videoPackets.length>0){return Module.videoPackets[0].timestamp}else{return-1}})});Object.defineProperty(Module,"keyframeTimestamp",{get:(function(){if(Module.videoPackets.length>0){return Module.videoPackets[0].keyframeTimestamp}else{return-1}})});Object.defineProperty(Module,"nextKeyframeTimestamp",{get:(function(){for(var i=0;i