tesseract-core.js 248 KB

var TesseractCoreWASM = (function() {
  var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
  if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename;
  return (
function(TesseractCoreWASM) {
  TesseractCoreWASM = TesseractCoreWASM || {};

var Module=typeof TesseractCoreWASM!=="undefined"?TesseractCoreWASM:{};if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=0}Module.expectedDataFileDownloads++;(function(){var loadPackage=function(metadata){function runWithFS(){var fileData0=[];fileData0.push.apply(fileData0,[0,1,0,0,0,10,0,128,0,3,0,32,79,83,47,50,86,222,200,148,0,0,1,40,0,0,0,96,99,109,97,112,0,10,0,52,0,0,1,144,0,0,0,30,103,108,121,102,21,34,65,36,0,0,1,184,0,0,0,24,104,101,97,100,11,120,241,101,0,0,0,172,0,0,0,54,104,104,101,97,12,2,4,2,0,0,0,228,0,0,0,36,104,109,116,120,4,0,0,0,0,0,1,136,0,0,0,8,108,111,99,97,0,12,0,0,0,0,1,176,0,0,0,6,109,97,120,112,0,4,0,5,0,0,1,8,0,0,0,32,110,97,109,101,242,235,22,218,0,0,1,208,0,0,0,75,112,111,115,116,0,1,0,1,0,0,2,28,0,0,0,32,0,1,0,0,0,1,0,0,176,148,113,16,95,15,60,245,4,7,8,0,0,0,0,0,207,154,252,110,0,0,0,0,212,195,167,242,0,0,0,0,4,0,8,0,0,0,0,16,0,2,0,0,0,0,0,0,0,1,0,0,8,0,255,255,0,0,4,0,0,0,0,0,4,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,1,0,0,0,2,0,4,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,1,144,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,0,5,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,71,79,79,71,0,64,0,0,0,0,0,1,255,255,0,0,0,1,0,1,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,4,0,0,0,0,0,0,2,0,1,0,0,0,0,0,20,0,3,0,0,0,0,0,20,0,6,0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,1,0,0,0,0,4,0,8,0,0,3,0,0,49,33,17,33,4,0,252,0,8,0,0,0,0,3,0,42,0,0,0,3,0,0,0,5,0,22,0,0,0,1,0,0,0,0,0,5,0,11,0,22,0,3,0,1,4,9,0,5,0,22,0,0,0,86,0,101,0,114,0,115,0,105,0,111,0,110,0,32,0,49,0,46,0,48,86,101,114,115,105,111,110,32,49,46,48,0,0,1,0,0,0,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,0,0]);Module["FS_createDataFile"]("/","pdf.ttf",fileData0,true,true,false)}if(Module["calledRun"]){runWithFS()}else{if(!Module["preRun"])Module["preRun"]=[];Module["preRun"].push(runWithFS)}};loadPackage({"files":[]})})();var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var arguments_=[];var thisProgram="./this.program";var quit_=function(status,toThrow){throw toThrow};var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof process.versions==="object"&&typeof process.versions.node==="string";ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;var nodeFS;var nodePath;if(ENVIRONMENT_IS_NODE){if(ENVIRONMENT_IS_WORKER){scriptDirectory=require("path").dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}read_=function shell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);return nodeFS["readFileSync"](filename,binary?null:"utf8")};readBinary=function readBinary(filename){var ret=read_(filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);quit_=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){return read(f)}}readBinary=function readBinary(f){var data;if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){arguments_=scriptArgs}else if(typeof arguments!="undefined"){arguments_=arguments}if(typeof quit==="function"){quit_=function(status){quit(status)}}if(typeof print!=="undefined"){if(typeof console==="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!=="undefined"?printErr:print}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(document.currentScript){scriptDirectory=document.currentScript.src}if(_scriptDir){scriptDirectory=_scriptDir}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function shell_read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];function dynamicAlloc(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=ret+size+15&-16;if(end>_emscripten_get_heap_size()){abort()}HEAP32[DYNAMICTOP_PTR>>2]=end;return ret}function getNativeTypeSize(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 4}else if(type[0]==="i"){var bits=Number(type.substr(1));assert(bits%8===0,"getNativeTypeSize invalid bits "+bits+", type "+type);return bits/8}else{return 0}}}}var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime;if(Module["noExitRuntime"])noExitRuntime=Module["noExitRuntime"];if(typeof WebAssembly!=="object"){err("no native wasm support detected")}function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>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)}}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 getValue: "+type)}return null}var wasmMemory;var wasmTable=new WebAssembly.Table({"initial":1868,"maximum":1868+0,"element":"anyfunc"});var ABORT=false;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}var ALLOC_NONE=3;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=[_malloc,stackAlloc,dynamicAlloc][allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var stop;ptr=ret;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr<stop;ptr+=4){HEAP32[ptr>>2]=0}stop=ret+size;while(ptr<stop){HEAP8[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<size){var curr=slab[i];type=singleType||types[i];if(type===0){i++;continue}if(type=="i64")type="i32";setValue(ret+i,curr,type);if(previousType!==type){typeSize=getNativeTypeSize(type);previousType=type}i+=typeSize}return ret}function getMemory(size){if(!runtimeInitialized)return dynamicAlloc(size);return _malloc(size)}var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(u8Array,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(u8Array[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{var str="";while(idx<endPtr){var u0=u8Array[idx++];if(!(u0&128)){str+=String.fromCharCode(u0);continue}var u1=u8Array[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}var u2=u8Array[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u0=(u0&7)<<18|u1<<12|u2<<6|u8Array[idx++]&63}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&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(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}}outU8Array[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=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 len+=4}return len}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i<str.length;++i){HEAP8[buffer++>>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}var WASM_PAGE_SIZE=65536;function alignUp(x,multiple){if(x%multiple>0){x+=multiple-x%multiple}return x}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var DYNAMIC_BASE=5993952,DYNAMICTOP_PTR=750912;var INITIAL_INITIAL_MEMORY=Module["INITIAL_MEMORY"]||268435456;if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_INITIAL_MEMORY/WASM_PAGE_SIZE})}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_INITIAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);HEAP32[DYNAMICTOP_PTR>>2]=DYNAMIC_BASE;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){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 __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 initRuntime(){runtimeInitialized=true;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){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)}function addOnPreMain(cb){__ATMAIN__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var Math_abs=Math.abs;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_min=Math.min;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}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["preloadedImages"]={};Module["preloadedAudios"]={};function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what+="";out(what);err(what);ABORT=true;EXITSTATUS=1;what="abort("+what+"). Build with -s ASSERTIONS=1 for more info.";throw new WebAssembly.RuntimeError(what)}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return String.prototype.startsWith?filename.startsWith(dataURIPrefix):filename.indexOf(dataURIPrefix)===0}var wasmBinaryFile="tesseract-core.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(){try{if(wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(wasmBinaryFile)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary()})}return new Promise(function(resolve,reject){resolve(getBinary())})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiatedSource(output){receiveInstance(output["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&typeof fetch==="function"){fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiatedSource,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");instantiateArrayBuffer(receiveInstantiatedSource)})})}else{return instantiateArrayBuffer(receiveInstantiatedSource)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}var tempDouble;var tempI64;var ASM_CONSTS={33309:function($0){if(Module["TesseractProgress"])Module["TesseractProgress"]($0)}};function _emscripten_asm_const_iii(code,sigPtr,argbuf){var args=readAsmConstArgs(sigPtr,argbuf);return ASM_CONSTS[code].apply(null,args)}__ATINIT__.push({func:function(){___wasm_call_ctors()}});function demangle(func){demangle.recursionGuard=(demangle.recursionGuard|0)+1;if(demangle.recursionGuard>1)return func;var __cxa_demangle_func=Module["___cxa_demangle"]||Module["__cxa_demangle"];assert(__cxa_demangle_func);var stackTop=stackSave();try{var s=func;if(s.startsWith("__Z"))s=s.substr(1);var len=lengthBytesUTF8(s)+1;var buf=stackAlloc(len);stringToUTF8(s,buf,len);var status=stackAlloc(4);var ret=__cxa_demangle_func(buf,0,0,status);if(HEAP32[status>>2]===0&&ret){return UTF8ToString(ret)}}catch(e){}finally{_free(ret);stackRestore(stackTop);if(demangle.recursionGuard<2)--demangle.recursionGuard}return func}function demangleAll(text){var regex=/\b_Z[\w\d_]+/g;return text.replace(regex,function(x){var y=demangle(x);return x===y?x:y+" ["+x+"]"})}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error}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)}function ___assert_fail(condition,filename,line,func){abort("Assertion failed: "+UTF8ToString(condition)+", at: "+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}var _emscripten_get_now;if(ENVIRONMENT_IS_NODE){_emscripten_get_now=function(){var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!=="undefined"){_emscripten_get_now=dateNow}else _emscripten_get_now=function(){return performance.now()};var _emscripten_get_now_is_monotonic=true;function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if((clk_id===1||clk_id===4)&&_emscripten_get_now_is_monotonic){now=_emscripten_get_now()}else{___setErrNo(28);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function ___clock_gettime(a0,a1){return _clock_gettime(a0,a1)}function ___cxa_allocate_exception(size){return _malloc(size)}var ___exception_infos={};var ___exception_last=0;function __ZSt18uncaught_exceptionv(){return __ZSt18uncaught_exceptionv.uncaught_exceptions>0}function ___cxa_throw(ptr,type,destructor){___exception_infos[ptr]={ptr:ptr,adjusted:[ptr],type:type,destructor:destructor,refcount:0,caught:false,rethrown:false};___exception_last=ptr;if(!("uncaught_exception"in __ZSt18uncaught_exceptionv)){__ZSt18uncaught_exceptionv.uncaught_exceptions=1}else{__ZSt18uncaught_exceptionv.uncaught_exceptions++}throw ptr}function ___map_file(pathname,size){___setErrNo(63);return-1}var PATH={splitPath:function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:function(path){if(path==="/")return"/";var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},extname:function(path){return PATH.splitPath(path)[3]},join:function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))},join2:function(l,r){return PATH.normalize(l+"/"+r)}};var PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start<arr.length;start++){if(arr[start]!=="")break}var end=arr.length-1;for(;end>=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i<length;i++){if(fromParts[i]!==toParts[i]){samePartsLength=i;break}}var outputParts=[];for(var i=samePartsLength;i<fromParts.length;i++){outputParts.push("..")}outputParts=outputParts.concat(toParts.slice(samePartsLength));return outputParts.join("/")}};var TTY={ttys:[],init:function(){},shutdown:function(){},register:function(dev,ops){TTY.ttys[dev]={input:[],output:[],ops:ops};FS.registerDevice(dev,TTY.stream_ops)},stream_ops:{open:function(stream){var tty=TTY.ttys[stream.node.rdev];if(!tty){throw new FS.ErrnoError(43)}stream.tty=tty;stream.seekable=false},close:function(stream){stream.tty.ops.flush(stream.tty)},flush:function(stream){stream.tty.ops.flush(stream.tty)},read:function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.get_char){throw new FS.ErrnoError(60)}var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=stream.tty.ops.get_char(stream.tty)}catch(e){throw new FS.ErrnoError(29)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(6)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.timestamp=Date.now()}return bytesRead},write:function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.put_char){throw new FS.ErrnoError(60)}try{for(var i=0;i<length;i++){stream.tty.ops.put_char(stream.tty,buffer[offset+i])}}catch(e){throw new FS.ErrnoError(29)}if(length){stream.node.timestamp=Date.now()}return i}},default_tty_ops:{get_char:function(tty){if(!tty.input.length){var result=null;if(ENVIRONMENT_IS_NODE){var BUFSIZE=256;var buf=Buffer.alloc?Buffer.alloc(BUFSIZE):new Buffer(BUFSIZE);var bytesRead=0;try{bytesRead=nodeFS.readSync(process.stdin.fd,buf,0,BUFSIZE,null)}catch(e){if(e.toString().indexOf("EOF")!=-1)bytesRead=0;else throw e}if(bytesRead>0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node},getFileDataAsRegularArray:function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;i<node.usedBytes;++i)arr.push(node.contents[i]);return arr}return node.contents},getFileDataAsTypedArray:function(node){if(!node.contents)return new Uint8Array(0);if(node.contents.subarray)return node.contents.subarray(0,node.usedBytes);return new Uint8Array(node.contents)},expandFileStorage:function(node,newCapacity){var prevCapacity=node.contents?node.contents.length:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity<CAPACITY_DOUBLING_MAX?2:1.125)|0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length<newSize)node.contents.push(0);node.usedBytes=newSize},node_ops:{getattr:function(node){var attr={};attr.dev=FS.isChrdev(node.mode)?node.id:1;attr.ino=node.id;attr.mode=node.mode;attr.nlink=1;attr.uid=0;attr.gid=0;attr.rdev=node.rdev;if(FS.isDir(node.mode)){attr.size=4096}else if(FS.isFile(node.mode)){attr.size=node.usedBytes}else if(FS.isLink(node.mode)){attr.size=node.link.length}else{attr.size=0}attr.atime=new Date(node.timestamp);attr.mtime=new Date(node.timestamp);attr.ctime=new Date(node.timestamp);attr.blksize=4096;attr.blocks=Math.ceil(attr.size/attr.blksize);return attr},setattr:function(node,attr){if(attr.mode!==undefined){node.mode=attr.mode}if(attr.timestamp!==undefined){node.timestamp=attr.timestamp}if(attr.size!==undefined){MEMFS.resizeFileStorage(node,attr.size)}},lookup:function(parent,name){throw FS.genericErrors[44]},mknod:function(parent,name,mode,dev){return MEMFS.createNode(parent,name,mode,dev)},rename:function(old_node,new_dir,new_name){if(FS.isDir(old_node.mode)){var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(new_node){for(var i in new_node.contents){throw new FS.ErrnoError(55)}}}delete old_node.parent.contents[old_node.name];old_node.name=new_name;new_dir.contents[new_name]=old_node;old_node.parent=new_dir},unlink:function(parent,name){delete parent.contents[name]},rmdir:function(parent,name){var node=FS.lookupNode(parent,name);for(var i in node.contents){throw new FS.ErrnoError(55)}delete parent.contents[name]},readdir:function(node){var entries=[".",".."];for(var key in node.contents){if(!node.contents.hasOwnProperty(key)){continue}entries.push(key)}return entries},symlink:function(parent,newname,oldpath){var node=MEMFS.createNode(parent,newname,511|40960,0);node.link=oldpath;return node},readlink:function(node){if(!FS.isLink(node.mode)){throw new FS.ErrnoError(28)}return node.link}},stream_ops:{read:function(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i<size;i++)buffer[offset+i]=contents[position+i]}return size},write:function(stream,buffer,offset,length,position,canOwn){if(buffer.buffer===HEAP8.buffer){canOwn=false}if(!length)return 0;var node=stream.node;node.timestamp=Date.now();if(buffer.subarray&&(!node.contents||node.contents.subarray)){if(canOwn){node.contents=buffer.subarray(offset,offset+length);node.usedBytes=length;return length}else if(node.usedBytes===0&&position===0){node.contents=buffer.slice(offset,offset+length);node.usedBytes=length;return length}else if(position+length<=node.usedBytes){node.contents.set(buffer.subarray(offset,offset+length),position);return length}}MEMFS.expandFileStorage(node,position+length);if(node.contents.subarray&&buffer.subarray)node.contents.set(buffer.subarray(offset,offset+length),position);else{for(var i=0;i<length;i++){node.contents[position+i]=buffer[offset+i]}}node.usedBytes=Math.max(node.usedBytes,position+length);return length},llseek:function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){position+=stream.node.usedBytes}}if(position<0){throw new FS.ErrnoError(28)}return position},allocate:function(stream,offset,length){MEMFS.expandFileStorage(stream.node,offset+length);stream.node.usedBytes=Math.max(stream.node.usedBytes,offset+length)},mmap:function(stream,buffer,offset,length,position,prot,flags){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(43)}var ptr;var allocated;var contents=stream.node.contents;if(!(flags&2)&&contents.buffer===buffer.buffer){allocated=false;ptr=contents.byteOffset}else{if(position>0||position+length<contents.length){if(contents.subarray){contents=contents.subarray(position,position+length)}else{contents=Array.prototype.slice.call(contents,position,position+length)}}allocated=true;var fromHeap=buffer.buffer==HEAP8.buffer;ptr=_malloc(length);if(!ptr){throw new FS.ErrnoError(48)}(fromHeap?HEAP8:buffer).set(contents,ptr)}return{ptr:ptr,allocated:allocated}},msync:function(stream,buffer,offset,length,mmapFlags){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(43)}if(mmapFlags&2){return 0}var bytesWritten=MEMFS.stream_ops.write(stream,buffer,0,length,offset,false);return 0}}};var FS={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,handleFSError:function(e){if(!(e instanceof FS.ErrnoError))throw e+" : "+stackTrace();return ___setErrNo(e.errno)},lookupPath:function(path,opts){path=PATH_FS.resolve(FS.cwd(),path);opts=opts||{};if(!path)return{path:"",node:null};var defaults={follow_mount:true,recurse_count:0};for(var key in defaults){if(opts[key]===undefined){opts[key]=defaults[key]}}if(opts.recurse_count>8){throw new FS.ErrnoError(32)}var parts=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),false);var current=FS.root;var current_path="/";for(var i=0;i<parts.length;i++){var islast=i===parts.length-1;if(islast&&opts.parent){break}current=FS.lookupNode(current,parts[i]);current_path=PATH.join2(current_path,parts[i]);if(FS.isMountpoint(current)){if(!islast||islast&&opts.follow_mount){current=current.mounted.root}}if(!islast||opts.follow){var count=0;while(FS.isLink(current.mode)){var link=FS.readlink(current_path);current_path=PATH_FS.resolve(PATH.dirname(current_path),link);var lookup=FS.lookupPath(current_path,{recurse_count:opts.recurse_count});current=lookup.node;if(count++>40){throw new FS.ErrnoError(32)}}}}return{path:current_path,node:current}},getPath:function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:function(parentid,name){var hash=0;for(var i=0;i<name.length;i++){hash=(hash<<5)-hash+name.charCodeAt(i)|0}return(parentid+hash>>>0)%FS.nameTable.length},hashAddNode:function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:function(parent,name){var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:function(parent,name,mode,rdev){var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:function(node){FS.hashRemoveNode(node)},isRoot:function(node){return node===node.parent},isMountpoint:function(node){return!!node.mounted},isFile:function(mode){return(mode&61440)===32768},isDir:function(mode){return(mode&61440)===16384},isLink:function(mode){return(mode&61440)===40960},isChrdev:function(mode){return(mode&61440)===8192},isBlkdev:function(mode){return(mode&61440)===24576},isFIFO:function(mode){return(mode&61440)===4096},isSocket:function(mode){return(mode&49152)===49152},flagModes:{"r":0,"rs":1052672,"r+":2,"w":577,"wx":705,"xw":705,"w+":578,"wx+":706,"xw+":706,"a":1089,"ax":1217,"xa":1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return 2}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 2}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 2}return 0},mayLookup:function(dir){var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:function(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStream:function(fd){return FS.streams[fd]},createStream:function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=function(){};FS.FSStream.prototype={object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}}}}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:function(fd){FS.streams[fd]=null},chrdev_stream_ops:{open:function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:function(){throw new FS.ErrnoError(70)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},create:function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:function(path,mode){var dirs=path.split("/");var d="";for(var i=0;i<dirs.length;++i){if(!dirs[i])continue;d+="/"+dirs[i];try{FS.mkdir(d,mode)}catch(e){if(e.errno!=20)throw e}}},mkdev:function(path,mode,dev){if(typeof dev==="undefined"){dev=mode;mode=438}mode|=8192;return FS.mknod(path,mode,dev)},symlink:function(oldpath,newpath){if(!PATH_FS.resolve(oldpath)){throw new FS.ErrnoError(44)}var lookup=FS.lookupPath(newpath,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(44)}var newname=PATH.basename(newpath);var errCode=FS.mayCreate(parent,newname);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.symlink){throw new FS.ErrnoError(63)}return parent.node_ops.symlink(parent,newname,oldpath)},rename:function(old_path,new_path){var old_dirname=PATH.dirname(old_path);var new_dirname=PATH.dirname(new_path);var old_name=PATH.basename(old_path);var new_name=PATH.basename(new_path);var lookup,old_dir,new_dir;try{lookup=FS.lookupPath(old_path,{parent:true});old_dir=lookup.node;lookup=FS.lookupPath(new_path,{parent:true});new_dir=lookup.node}catch(e){throw new FS.ErrnoError(10)}if(!old_dir||!new_dir)throw new FS.ErrnoError(44);if(old_dir.mount!==new_dir.mount){throw new FS.ErrnoError(75)}var old_node=FS.lookupNode(old_dir,old_name);var relative=PATH_FS.relative(old_path,new_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(28)}relative=PATH_FS.relative(new_path,old_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(55)}var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(old_node===new_node){return}var isdir=FS.isDir(old_node.mode);var errCode=FS.mayDelete(old_dir,old_name,isdir);if(errCode){throw new FS.ErrnoError(errCode)}errCode=new_node?FS.mayDelete(new_dir,new_name,isdir):FS.mayCreate(new_dir,new_name);if(errCode){throw new FS.ErrnoError(errCode)}if(!old_dir.node_ops.rename){throw new FS.ErrnoError(63)}if(FS.isMountpoint(old_node)||new_node&&FS.isMountpoint(new_node)){throw new FS.ErrnoError(10)}if(new_dir!==old_dir){errCode=FS.nodePermissions(old_dir,"w");if(errCode){throw new FS.ErrnoError(errCode)}}try{if(FS.trackingDelegate["willMovePath"]){FS.trackingDelegate["willMovePath"](old_path,new_path)}}catch(e){err("FS.trackingDelegate['willMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}FS.hashRemoveNode(old_node);try{old_dir.node_ops.rename(old_node,new_dir,new_name)}catch(e){throw e}finally{FS.hashAddNode(old_node)}try{if(FS.trackingDelegate["onMovePath"])FS.trackingDelegate["onMovePath"](old_path,new_path)}catch(e){err("FS.trackingDelegate['onMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}},rmdir:function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,true);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.rmdir){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){err("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.rmdir(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){err("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}},readdir:function(path){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node.node_ops.readdir){throw new FS.ErrnoError(54)}return node.node_ops.readdir(node)},unlink:function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,false);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.unlink){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){err("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.unlink(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){err("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}},readlink:function(path){var lookup=FS.lookupPath(path);var link=lookup.node;if(!link){throw new FS.ErrnoError(44)}if(!link.node_ops.readlink){throw new FS.ErrnoError(28)}return PATH_FS.resolve(FS.getPath(link.parent),link.node_ops.readlink(link))},stat:function(path,dontFollow){var lookup=FS.lookupPath(path,{follow:!dontFollow});var node=lookup.node;if(!node){throw new FS.ErrnoError(44)}if(!node.node_ops.getattr){throw new FS.ErrnoError(63)}return node.node_ops.getattr(node)},lstat:function(path){return FS.stat(path,true)},chmod:function(path,mode,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{mode:mode&4095|node.mode&~4095,timestamp:Date.now()})},lchmod:function(path,mode){FS.chmod(path,mode,true)},fchmod:function(fd,mode){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}FS.chmod(stream.node,mode)},chown:function(path,uid,gid,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{timestamp:Date.now()})},lchown:function(path,uid,gid){FS.chown(path,uid,gid,true)},fchown:function(fd,uid,gid){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}FS.chown(stream.node,uid,gid)},truncate:function(path,len){if(len<0){throw new FS.ErrnoError(28)}var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}if(FS.isDir(node.mode)){throw new FS.ErrnoError(31)}if(!FS.isFile(node.mode)){throw new FS.ErrnoError(28)}var errCode=FS.nodePermissions(node,"w");if(errCode){throw new FS.ErrnoError(errCode)}node.node_ops.setattr(node,{size:len,timestamp:Date.now()})},ftruncate:function(fd,len){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(28)}FS.truncate(stream.node,len)},utime:function(path,atime,mtime){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;node.node_ops.setattr(node,{timestamp:Math.max(atime,mtime)})},open:function(path,flags,mode,fd_start,fd_end){if(path===""){throw new FS.ErrnoError(44)}flags=typeof flags==="string"?FS.modeStringToFlags(flags):flags;mode=typeof mode==="undefined"?438:mode;if(flags&64){mode=mode&4095|32768}else{mode=0}var node;if(typeof path==="object"){node=path}else{path=PATH.normalize(path);try{var lookup=FS.lookupPath(path,{follow:!(flags&131072)});node=lookup.node}catch(e){}}var created=false;if(flags&64){if(node){if(flags&128){throw new FS.ErrnoError(20)}}else{node=FS.mknod(path,mode,0);created=true}}if(!node){throw new FS.ErrnoError(44)}if(FS.isChrdev(node.mode)){flags&=~512}if(flags&65536&&!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}if(!created){var errCode=FS.mayOpen(node,flags);if(errCode){throw new FS.ErrnoError(errCode)}}if(flags&512){FS.truncate(node,0)}flags&=~(128|512);var stream=FS.createStream({node:node,path:FS.getPath(node),flags:flags,seekable:true,position:0,stream_ops:node.stream_ops,ungotten:[],error:false},fd_start,fd_end);if(stream.stream_ops.open){stream.stream_ops.open(stream)}if(Module["logReadFiles"]&&!(flags&1)){if(!FS.readFiles)FS.readFiles={};if(!(path in FS.readFiles)){FS.readFiles[path]=1;err("FS.trackingDelegate error on read file: "+path)}}try{if(FS.trackingDelegate["onOpenFile"]){var trackingFlags=0;if((flags&2097155)!==1){trackingFlags|=FS.tracking.openFlags.READ}if((flags&2097155)!==0){trackingFlags|=FS.tracking.openFlags.WRITE}FS.trackingDelegate["onOpenFile"](path,trackingFlags)}}catch(e){err("FS.trackingDelegate['onOpenFile']('"+path+"', flags) threw an exception: "+e.message)}return stream},close:function(stream){if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(stream.getdents)stream.getdents=null;try{if(stream.stream_ops.close){stream.stream_ops.close(stream)}}catch(e){throw e}finally{FS.closeStream(stream.fd)}stream.fd=null},isClosed:function(stream){return stream.fd===null},llseek:function(stream,offset,whence){if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(!stream.seekable||!stream.stream_ops.llseek){throw new FS.ErrnoError(70)}if(whence!=0&&whence!=1&&whence!=2){throw new FS.ErrnoError(28)}stream.position=stream.stream_ops.llseek(stream,offset,whence);stream.ungotten=[];return stream.position},read:function(stream,buffer,offset,length,position){if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.read){throw new FS.ErrnoError(28)}var seeking=typeof position!=="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesRead=stream.stream_ops.read(stream,buffer,offset,length,position);if(!seeking)stream.position+=bytesRead;return bytesRead},write:function(stream,buffer,offset,length,position,canOwn){if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.write){throw new FS.ErrnoError(28)}if(stream.flags&1024){FS.llseek(stream,0,2)}var seeking=typeof position!=="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesWritten=stream.stream_ops.write(stream,buffer,offset,length,position,canOwn);if(!seeking)stream.position+=bytesWritten;try{if(stream.path&&FS.trackingDelegate["onWriteToFile"])FS.trackingDelegate["onWriteToFile"](stream.path)}catch(e){err("FS.trackingDelegate['onWriteToFile']('"+stream.path+"') threw an exception: "+e.message)}return bytesWritten},allocate:function(stream,offset,length){if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(offset<0||length<=0){throw new FS.ErrnoError(28)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(!FS.isFile(stream.node.mode)&&!FS.isDir(stream.node.mode)){throw new FS.ErrnoError(43)}if(!stream.stream_ops.allocate){throw new FS.ErrnoError(138)}stream.stream_ops.allocate(stream,offset,length)},mmap:function(stream,buffer,offset,length,position,prot,flags){if((prot&2)!==0&&(flags&2)===0&&(stream.flags&2097155)!==2){throw new FS.ErrnoError(2)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(2)}if(!stream.stream_ops.mmap){throw new FS.ErrnoError(43)}return stream.stream_ops.mmap(stream,buffer,offset,length,position,prot,flags)},msync:function(stream,buffer,offset,length,mmapFlags){if(!stream||!stream.stream_ops.msync){return 0}return stream.stream_ops.msync(stream,buffer,offset,length,mmapFlags)},munmap:function(stream){return 0},ioctl:function(stream,cmd,arg){if(!stream.stream_ops.ioctl){throw new FS.ErrnoError(59)}return stream.stream_ops.ioctl(stream,cmd,arg)},readFile:function(path,opts){opts=opts||{};opts.flags=opts.flags||"r";opts.encoding=opts.encoding||"binary";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var ret;var stream=FS.open(path,opts.flags);var stat=FS.stat(path);var length=stat.size;var buf=new Uint8Array(length);FS.read(stream,buf,0,length,0);if(opts.encoding==="utf8"){ret=UTF8ArrayToString(buf,0)}else if(opts.encoding==="binary"){ret=buf}FS.close(stream);return ret},writeFile:function(path,data,opts){opts=opts||{};opts.flags=opts.flags||"w";var stream=FS.open(path,opts.flags,opts.mode);if(typeof data==="string"){var buf=new Uint8Array(lengthBytesUTF8(data)+1);var actualNumBytes=stringToUTF8Array(data,buf,0,buf.length);FS.write(stream,buf,0,actualNumBytes,undefined,opts.canOwn)}else if(ArrayBuffer.isView(data)){FS.write(stream,data,0,data.byteLength,undefined,opts.canOwn)}else{throw new Error("Unsupported data type")}FS.close(stream)},cwd:function(){return FS.currentPath},chdir:function(path){var lookup=FS.lookupPath(path,{follow:true});if(lookup.node===null){throw new FS.ErrnoError(44)}if(!FS.isDir(lookup.node.mode)){throw new FS.ErrnoError(54)}var errCode=FS.nodePermissions(lookup.node,"x");if(errCode){throw new FS.ErrnoError(errCode)}FS.currentPath=lookup.path},createDefaultDirectories:function(){FS.mkdir("/tmp");FS.mkdir("/home");FS.mkdir("/home/web_user")},createDefaultDevices:function(){FS.mkdir("/dev");FS.registerDevice(FS.makedev(1,3),{read:function(){return 0},write:function(stream,buffer,offset,length,pos){return length}});FS.mkdev("/dev/null",FS.makedev(1,3));TTY.register(FS.makedev(5,0),TTY.default_tty_ops);TTY.register(FS.makedev(6,0),TTY.default_tty1_ops);FS.mkdev("/dev/tty",FS.makedev(5,0));FS.mkdev("/dev/tty1",FS.makedev(6,0));var random_device;if(typeof crypto==="object"&&typeof crypto["getRandomValues"]==="function"){var randomBuffer=new Uint8Array(1);random_device=function(){crypto.getRandomValues(randomBuffer);return randomBuffer[0]}}else if(ENVIRONMENT_IS_NODE){try{var crypto_module=require("crypto");random_device=function(){return crypto_module["randomBytes"](1)[0]}}catch(e){}}else{}if(!random_device){random_device=function(){abort("random_device")}}FS.createDevice("/dev","random",random_device);FS.createDevice("/dev","urandom",random_device);FS.mkdir("/dev/shm");FS.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){FS.mkdir("/proc");FS.mkdir("/proc/self");FS.mkdir("/proc/self/fd");FS.mount({mount:function(){var node=FS.createNode("/proc/self","fd",16384|511,73);node.node_ops={lookup:function(parent,name){var fd=+name;var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);var ret={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return stream.path}}};ret.parent=ret;return ret}};return node}},{},"/proc/self/fd")},createStandardStreams:function(){if(Module["stdin"]){FS.createDevice("/dev","stdin",Module["stdin"])}else{FS.symlink("/dev/tty","/dev/stdin")}if(Module["stdout"]){FS.createDevice("/dev","stdout",null,Module["stdout"])}else{FS.symlink("/dev/tty","/dev/stdout")}if(Module["stderr"]){FS.createDevice("/dev","stderr",null,Module["stderr"])}else{FS.symlink("/dev/tty1","/dev/stderr")}var stdin=FS.open("/dev/stdin","r");var stdout=FS.open("/dev/stdout","w");var stderr=FS.open("/dev/stderr","w")},ensureErrnoError:function(){if(FS.ErrnoError)return;FS.ErrnoError=function ErrnoError(errno,node){this.node=node;this.setErrno=function(errno){this.errno=errno};this.setErrno(errno);this.message="FS error"};FS.ErrnoError.prototype=new Error;FS.ErrnoError.prototype.constructor=FS.ErrnoError;[44].forEach(function(code){FS.genericErrors[code]=new FS.ErrnoError(code);FS.genericErrors[code].stack="<generic error, no stack>"})},staticInit:function(){FS.ensureErrnoError();FS.nameTable=new Array(4096);FS.mount(MEMFS,{},"/");FS.createDefaultDirectories();FS.createDefaultDevices();FS.createSpecialDirectories();FS.filesystems={"MEMFS":MEMFS}},init:function(input,output,error){FS.init.initialized=true;FS.ensureErrnoError();Module["stdin"]=input||Module["stdin"];Module["stdout"]=output||Module["stdout"];Module["stderr"]=error||Module["stderr"];FS.createStandardStreams()},quit:function(){FS.init.initialized=false;var fflush=Module["_fflush"];if(fflush)fflush(0);for(var i=0;i<FS.streams.length;i++){var stream=FS.streams[i];if(!stream){continue}FS.close(stream)}},getMode:function(canRead,canWrite){var mode=0;if(canRead)mode|=292|73;if(canWrite)mode|=146;return mode},joinPath:function(parts,forceRelative){var path=PATH.join.apply(null,parts);if(forceRelative&&path[0]=="/")path=path.substr(1);return path},absolutePath:function(relative,base){return PATH_FS.resolve(base,relative)},standardizePath:function(path){return PATH.normalize(path)},findObject:function(path,dontResolveLastLink){var ret=FS.analyzePath(path,dontResolveLastLink);if(ret.exists){return ret.object}else{___setErrNo(ret.error);return null}},analyzePath:function(path,dontResolveLastLink){try{var lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});path=lookup.path}catch(e){}var ret={isRoot:false,exists:false,error:0,name:null,path:null,object:null,parentExists:false,parentPath:null,parentObject:null};try{var lookup=FS.lookupPath(path,{parent:true});ret.parentExists=true;ret.parentPath=lookup.path;ret.parentObject=lookup.node;ret.name=PATH.basename(path);lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});ret.exists=true;ret.path=lookup.path;ret.object=lookup.node;ret.name=lookup.node.name;ret.isRoot=lookup.path==="/"}catch(e){ret.error=e.errno}return ret},createFolder:function(parent,name,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.mkdir(path,mode)},createPath:function(parent,path,canRead,canWrite){parent=typeof parent==="string"?parent:FS.getPath(parent);var parts=path.split("/").reverse();while(parts.length){var part=parts.pop();if(!part)continue;var current=PATH.join2(parent,part);try{FS.mkdir(current)}catch(e){}parent=current}return current},createFile:function(parent,name,properties,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.create(path,mode)},createDataFile:function(parent,name,data,canRead,canWrite,canOwn){var path=name?PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name):parent;var mode=FS.getMode(canRead,canWrite);var node=FS.create(path,mode);if(data){if(typeof data==="string"){var arr=new Array(data.length);for(var i=0,len=data.length;i<len;++i)arr[i]=data.charCodeAt(i);data=arr}FS.chmod(node,mode|146);var stream=FS.open(node,"w");FS.write(stream,data,0,data.length,0,canOwn);FS.close(stream);FS.chmod(node,mode)}return node},createDevice:function(parent,name,input,output){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(!!input,!!output);if(!FS.createDevice.major)FS.createDevice.major=64;var dev=FS.makedev(FS.createDevice.major++,0);FS.registerDevice(dev,{open:function(stream){stream.seekable=false},close:function(stream){if(output&&output.buffer&&output.buffer.length){output(10)}},read:function(stream,buffer,offset,length,pos){var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=input()}catch(e){throw new FS.ErrnoError(29)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(6)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.timestamp=Date.now()}return bytesRead},write:function(stream,buffer,offset,length,pos){for(var i=0;i<length;i++){try{output(buffer[offset+i])}catch(e){throw new FS.ErrnoError(29)}}if(length){stream.node.timestamp=Date.now()}return i}});return FS.mkdev(path,mode,dev)},createLink:function(parent,name,target,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);return FS.symlink(target,path)},forceLoadFile:function(obj){if(obj.isDevice||obj.isFolder||obj.link||obj.contents)return true;var success=true;if(typeof XMLHttpRequest!=="undefined"){throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.")}else if(read_){try{obj.contents=intArrayFromString(read_(obj.url),true);obj.usedBytes=obj.contents.length}catch(e){success=false}}else{throw new Error("Cannot load without read() or XMLHttpRequest.")}if(!success)___setErrNo(29);return success},createLazyFile:function(parent,name,url,canRead,canWrite){function LazyUint8Array(){this.lengthKnown=false;this.chunks=[]}LazyUint8Array.prototype.get=function LazyUint8Array_get(idx){if(idx>this.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}};var lazyArray=this;lazyArray.setDataGetter(function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(29)}return fn.apply(null,arguments)}});stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(29)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i<size;i++){buffer[offset+i]=contents[position+i]}}else{for(var i=0;i<size;i++){buffer[offset+i]=contents.get(position+i)}}return size};node.stream_ops=stream_ops;return node},createPreloadedFile:function(parent,name,url,canRead,canWrite,onload,onerror,dontCreateFile,canOwn,preFinish){Browser.init();var fullname=name?PATH_FS.resolve(PATH.join2(parent,name)):parent;var dep=getUniqueRunDependency("cp "+fullname);function processData(byteArray){function finish(byteArray){if(preFinish)preFinish();if(!dontCreateFile){FS.createDataFile(parent,name,byteArray,canRead,canWrite,canOwn)}if(onload)onload();removeRunDependency(dep)}var handled=false;Module["preloadPlugins"].forEach(function(plugin){if(handled)return;if(plugin["canHandle"](fullname)){plugin["handle"](byteArray,fullname,finish,function(){if(onerror)onerror();removeRunDependency(dep)});handled=true}});if(!handled)finish(byteArray)}addRunDependency(dep);if(typeof url=="string"){Browser.asyncLoad(url,function(byteArray){processData(byteArray)},onerror)}else{processData(url)}},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:function(){return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function(paths,onload,onerror){onload=onload||function(){};onerror=onerror||function(){};var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=function openRequest_onupgradeneeded(){out("creating db");var db=openRequest.result;db.createObjectStore(FS.DB_STORE_NAME)};openRequest.onsuccess=function openRequest_onsuccess(){var db=openRequest.result;var transaction=db.transaction([FS.DB_STORE_NAME],"readwrite");var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach(function(path){var putRequest=files.put(FS.analyzePath(path).object.contents,path);putRequest.onsuccess=function putRequest_onsuccess(){ok++;if(ok+fail==total)finish()};putRequest.onerror=function putRequest_onerror(){fail++;if(ok+fail==total)finish()}});transaction.onerror=onerror};openRequest.onerror=onerror},loadFilesFromDB:function(paths,onload,onerror){onload=onload||function(){};onerror=onerror||function(){};var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=onerror;openRequest.onsuccess=function openRequest_onsuccess(){var db=openRequest.result;try{var transaction=db.transaction([FS.DB_STORE_NAME],"readonly")}catch(e){onerror(e);return}var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach(function(path){var getRequest=files.get(path);getRequest.onsuccess=function getRequest_onsuccess(){if(FS.analyzePath(path).exists){FS.unlink(path)}FS.createDataFile(PATH.dirname(path),PATH.basename(path),getRequest.result,true,true,true);ok++;if(ok+fail==total)finish()};getRequest.onerror=function getRequest_onerror(){fail++;if(ok+fail==total)finish()}});transaction.onerror=onerror};openRequest.onerror=onerror}};var SYSCALLS={mappings:{},DEFAULT_POLLMASK:5,umask:511,calculateAt:function(dirfd,path){if(path[0]!=="/"){var dir;if(dirfd===-100){dir=FS.cwd()}else{var dirstream=FS.getStream(dirfd);if(!dirstream)throw new FS.ErrnoError(8);dir=dirstream.path}path=PATH.join2(dir,path)}return path},doStat:function(func,path,buf){try{var stat=func(path)}catch(e){if(e&&e.node&&PATH.normalize(path)!==PATH.normalize(FS.getPath(e.node))){return-54}throw e}HEAP32[buf>>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags,offset){var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-28;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len},doAccess:function(path,amode){if(amode&~7){return-28}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i<iovcnt;i++){var ptr=HEAP32[iov+i*8>>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr<len)break}return ret},doWritev:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i<iovcnt;i++){var ptr=HEAP32[iov+i*8>>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},getStreamFromFD:function(fd){var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream},get64:function(low,high){return low}};function ___syscall10(path){try{path=SYSCALLS.getStr(path);FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall183(buf,size){try{if(size===0)return-28;var cwd=FS.cwd();var cwdLengthInBytes=lengthBytesUTF8(cwd);if(size<cwdLengthInBytes+1)return-68;stringToUTF8(cwd,buf,size);return buf}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _memset(ptr,value,num){ptr=ptr|0;value=value|0;num=num|0;var end=0,aligned_end=0,block_aligned_end=0,value4=0;end=ptr+num|0;value=value&255;if((num|0)>=67){while((ptr&3)!=0){HEAP8[ptr>>0]=value;ptr=ptr+1|0}aligned_end=end&-4|0;value4=value|value<<8|value<<16|value<<24;block_aligned_end=aligned_end-64|0;while((ptr|0)<=(block_aligned_end|0)){HEAP32[ptr>>2]=value4;HEAP32[ptr+4>>2]=value4;HEAP32[ptr+8>>2]=value4;HEAP32[ptr+12>>2]=value4;HEAP32[ptr+16>>2]=value4;HEAP32[ptr+20>>2]=value4;HEAP32[ptr+24>>2]=value4;HEAP32[ptr+28>>2]=value4;HEAP32[ptr+32>>2]=value4;HEAP32[ptr+36>>2]=value4;HEAP32[ptr+40>>2]=value4;HEAP32[ptr+44>>2]=value4;HEAP32[ptr+48>>2]=value4;HEAP32[ptr+52>>2]=value4;HEAP32[ptr+56>>2]=value4;HEAP32[ptr+60>>2]=value4;ptr=ptr+64|0}while((ptr|0)<(aligned_end|0)){HEAP32[ptr>>2]=value4;ptr=ptr+4|0}}while((ptr|0)<(end|0)){HEAP8[ptr>>0]=value;ptr=ptr+1|0}return end-num|0}function syscallMmap2(addr,len,prot,flags,fd,off){off<<=12;var ptr;var allocated=false;if((flags&16)!==0&&addr%16384!==0){return-28}if((flags&32)!==0){ptr=_memalign(16384,len);if(!ptr)return-48;_memset(ptr,0,len);allocated=true}else{var info=FS.getStream(fd);if(!info)return-8;var res=FS.mmap(info,HEAPU8,addr,len,off,prot,flags);ptr=res.ptr;allocated=res.allocated}SYSCALLS.mappings[ptr]={malloc:ptr,len:len,allocated:allocated,fd:fd,flags:flags,offset:off};return ptr}function ___syscall192(addr,len,prot,flags,fd,off){try{return syscallMmap2(addr,len,prot,flags,fd,off)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall195(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.stat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall197(fd,buf){try{var stream=SYSCALLS.getStreamFromFD(fd);return SYSCALLS.doStat(FS.stat,stream.path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall221(fd,cmd,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-28;case 9:___setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall3(fd,buf,count){try{var stream=SYSCALLS.getStreamFromFD(fd);return FS.read(stream,HEAP8,buf,count)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall40(path){try{path=SYSCALLS.getStr(path);FS.rmdir(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall5(path,flags,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(path);var mode=SYSCALLS.get();var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall54(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function syscallMunmap(addr,len){if(addr===-1||len===0){return-28}var info=SYSCALLS.mappings[addr];if(!info)return 0;if(len===info.len){var stream=FS.getStream(info.fd);SYSCALLS.doMsync(addr,stream,len,info.flags,info.offset);FS.munmap(stream);SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}function ___syscall91(addr,len){try{return syscallMunmap(addr,len)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _abort(){abort()}function _clock(){if(_clock.start===undefined)_clock.start=Date.now();return(Date.now()-_clock.start)*(1e6/1e3)|0}function _difftime(time1,time0){return time1-time0}function _emscripten_get_heap_size(){return HEAPU8.length}var setjmpId=0;function _saveSetjmp(env,label,table,size){env=env|0;label=label|0;table=table|0;size=size|0;var i=0;setjmpId=setjmpId+1|0;HEAP32[env>>2]=setjmpId;while((i|0)<(size|0)){if((HEAP32[table+(i<<3)>>2]|0)==0){HEAP32[table+(i<<3)>>2]=setjmpId;HEAP32[table+((i<<3)+4)>>2]=label;HEAP32[table+((i<<3)+8)>>2]=0;setTempRet0(size|0);return table|0}i=i+1|0}size=size*2|0;table=_realloc(table|0,8*(size+1|0)|0)|0;table=_saveSetjmp(env|0,label|0,table|0,size|0)|0;setTempRet0(size|0);return table|0}function _testSetjmp(id,table,size){id=id|0;table=table|0;size=size|0;var i=0,curr=0;while((i|0)<(size|0)){curr=HEAP32[table+(i<<3)>>2]|0;if((curr|0)==0)break;if((curr|0)==(id|0)){return HEAP32[table+((i<<3)+4)>>2]|0}i=i+1|0}return 0}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_longjmp(env,value){_longjmp(env,value)}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=_emscripten_get_heap_size();var PAGE_MULTIPLE=65536;var maxHeapSize=2147483648-PAGE_MULTIPLE;if(requestedSize>maxHeapSize){return false}var minHeapSize=16777216;for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(minHeapSize,requestedSize,overGrownHeapSize),PAGE_MULTIPLE));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var ENV={};function __getExecutableName(){return thisProgram||"./this.program"}function _emscripten_get_environ(){if(!_emscripten_get_environ.strings){var env={"USER":"web_user","LOGNAME":"web_user","PATH":"/","PWD":"/","HOME":"/home/web_user","LANG":(typeof navigator==="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8","_":__getExecutableName()};for(var x in ENV){env[x]=ENV[x]}var strings=[];for(var x in env){strings.push(x+"="+env[x])}_emscripten_get_environ.strings=strings}return _emscripten_get_environ.strings}function _environ_get(__environ,environ_buf){var strings=_emscripten_get_environ();var bufSize=0;strings.forEach(function(string,i){var ptr=environ_buf+bufSize;HEAP32[__environ+i*4>>2]=ptr;writeAsciiToMemory(string,ptr);bufSize+=string.length+1});return 0}function _environ_sizes_get(penviron_count,penviron_buf_size){var strings=_emscripten_get_environ();HEAP32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAP32[penviron_buf_size>>2]=bufSize;return 0}function _exit(status){exit(status)}function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_fdstat_get(fd,pbuf){try{var stream=SYSCALLS.getStreamFromFD(fd);var type=stream.tty?2:FS.isDir(stream.mode)?3:FS.isLink(stream.mode)?7:4;HEAP8[pbuf>>0]=type;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_read(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){try{var stream=SYSCALLS.getStreamFromFD(fd);var HIGH_OFFSET=4294967296;var offset=offset_high*HIGH_OFFSET+(offset_low>>>0);var DOUBLE_LIMIT=9007199254740992;if(offset<=-DOUBLE_LIMIT||offset>=DOUBLE_LIMIT){return-61}FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];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 _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doWritev(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _getTempRet0(){return getTempRet0()|0}var ___tm_current=750928;var ___tm_timezone=(stringToUTF8("GMT",750976,4),750976);function _gmtime_r(time,tmPtr){var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();HEAP32[tmPtr+36>>2]=0;HEAP32[tmPtr+32>>2]=0;var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+40>>2]=___tm_timezone;return tmPtr}function _gmtime(time){return _gmtime_r(time,___tm_current)}function _tzset(){if(_tzset.called)return;_tzset.called=true;HEAP32[__get_timezone()>>2]=(new Date).getTimezoneOffset()*60;var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);HEAP32[__get_daylight()>>2]=Number(winter.getTimezoneOffset()!=summer.getTimezoneOffset());function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summer.getTimezoneOffset()<winter.getTimezoneOffset()){HEAP32[__get_tzname()>>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[__get_tzname()+(dst?4:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function _localtime(time){return _localtime_r(time,___tm_current)}function _mktime(tmPtr){_tzset();var date=new Date(HEAP32[tmPtr+20>>2]+1900,HEAP32[tmPtr+16>>2],HEAP32[tmPtr+12>>2],HEAP32[tmPtr+8>>2],HEAP32[tmPtr+4>>2],HEAP32[tmPtr>>2],0);var dst=HEAP32[tmPtr+32>>2];var guessedOffset=date.getTimezoneOffset();var start=new Date(date.getFullYear(),0,1);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dstOffset=Math.min(winterOffset,summerOffset);if(dst<0){HEAP32[tmPtr+32>>2]=Number(summerOffset!=winterOffset&&dstOffset==guessedOffset)}else if(dst>0!=(dstOffset==guessedOffset)){var nonDstOffset=Math.max(winterOffset,summerOffset);var trueOffset=dst>0?dstOffset:nonDstOffset;date.setTime(date.getTime()+(trueOffset-guessedOffset)*6e4)}HEAP32[tmPtr+24>>2]=date.getDay();var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;return date.getTime()/1e3|0}function _png_init_io(){err("missing function: png_init_io");abort(-1)}function _round(d){d=+d;return d>=+0?+Math_floor(d+ +.5):+Math_ceil(d-+.5)}function _roundf(d){d=+d;return d>=+0?+Math_floor(d+ +.5):+Math_ceil(d-+.5)}function _setTempRet0($i){setTempRet0($i|0)}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]){}return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length<digits){str=character[0]+str}return str}function leadingNulls(value,digits){return leadingSomething(value,digits,"0")}function compareByDay(date1,date2){function sgn(value){return value<0?-1:value>0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday,2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){return date.tm_wday||7},"%U":function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()<date.tm_year+1900){daysDifference=date.tm_yday+32-firstWeekStartThisYear.getDate()}else{daysDifference=date.tm_yday+1-firstWeekStartThisYear.getDate()}return leadingNulls(Math.ceil(daysDifference/7),2)},"%w":function(date){return date.tm_wday},"%W":function(date){var janFirst=new Date(date.tm_year,0,1);var firstMonday=janFirst.getDay()===1?janFirst:__addDays(janFirst,janFirst.getDay()===0?1:7-janFirst.getDay()+1);var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstMonday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstMondayUntilEndJanuary=31-firstMonday.getDate();var days=firstMondayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstMonday,janFirst)===0?"01":"00"},"%y":function(date){return(date.tm_year+1900).toString().substring(2)},"%Y":function(date){return date.tm_year+1900},"%z":function(date){var off=date.tm_gmtoff;var ahead=off>=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}function readAsmConstArgs(sigPtr,buf){if(!readAsmConstArgs.array){readAsmConstArgs.array=[]}var args=readAsmConstArgs.array;args.length=0;var ch;while(ch=HEAPU8[sigPtr++]){if(ch===100||ch===102){buf=buf+7&~7;args.push(HEAPF64[buf>>3]);buf+=8}else{buf=buf+3&~3;args.push(HEAP32[buf>>2]);buf+=4}}return args}var FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};var readMode=292|73;var writeMode=146;Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}});FS.FSNode=FSNode;FS.staticInit();Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;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}var asmLibraryArg={"d":___assert_fail,"R":___clock_gettime,"E":___cxa_allocate_exception,"B":___cxa_throw,"K":___map_file,"y":___syscall10,"Q":___syscall183,"Y":___syscall192,"V":___syscall195,"W":___syscall197,"z":___syscall221,"P":___syscall3,"S":___syscall40,"x":___syscall5,"U":___syscall54,"X":___syscall91,"q":_abort,"F":_clock,"L":_clock_gettime,"$":_difftime,"v":_emscripten_asm_const_iii,"e":_emscripten_longjmp,"H":_emscripten_memcpy_big,"I":_emscripten_resize_heap,"N":_environ_get,"O":_environ_sizes_get,"r":_exit,"t":_fd_close,"M":_fd_fdstat_get,"T":_fd_read,"G":_fd_seek,"w":_fd_write,"a":_getTempRet0,"ba":_gmtime,"g":invoke_ii,"h":invoke_iii,"f":invoke_iiii,"m":invoke_iiiii,"p":invoke_iiiiii,"A":invoke_v,"i":invoke_vi,"j":invoke_vii,"C":invoke_viid,"k":invoke_viii,"o":invoke_viiii,"s":invoke_viiiii,"D":invoke_viiiiiiiii,"_":_localtime,"memory":wasmMemory,"aa":_mktime,"da":_png_init_io,"u":_round,"n":_roundf,"l":_saveSetjmp,"c":_setTempRet0,"Z":_strftime,"J":_strftime_l,"table":wasmTable,"b":_testSetjmp,"ca":_time};var asm=createWasm();Module["asm"]=asm;var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["ea"]).apply(null,arguments)};var _emscripten_bind_ParagraphJustification___destroy___0=Module["_emscripten_bind_ParagraphJustification___destroy___0"]=function(){return(_emscripten_bind_ParagraphJustification___destroy___0=Module["_emscripten_bind_ParagraphJustification___destroy___0"]=Module["asm"]["fa"]).apply(null,arguments)};var _emscripten_bind_BoolPtr___destroy___0=Module["_emscripten_bind_BoolPtr___destroy___0"]=function(){return(_emscripten_bind_BoolPtr___destroy___0=Module["_emscripten_bind_BoolPtr___destroy___0"]=Module["asm"]["ga"]).apply(null,arguments)};var _emscripten_bind_TessResultRenderer_BeginDocument_1=Module["_emscripten_bind_TessResultRenderer_BeginDocument_1"]=function(){return(_emscripten_bind_TessResultRenderer_BeginDocument_1=Module["_emscripten_bind_TessResultRenderer_BeginDocument_1"]=Module["asm"]["ha"]).apply(null,arguments)};var _emscripten_bind_TessResultRenderer_AddImage_1=Module["_emscripten_bind_TessResultRenderer_AddImage_1"]=function(){return(_emscripten_bind_TessResultRenderer_AddImage_1=Module["_emscripten_bind_TessResultRenderer_AddImage_1"]=Module["asm"]["ia"]).apply(null,arguments)};var _emscripten_bind_TessResultRenderer_EndDocument_0=Module["_emscripten_bind_TessResultRenderer_EndDocument_0"]=function(){return(_emscripten_bind_TessResultRenderer_EndDocument_0=Module["_emscripten_bind_TessResultRenderer_EndDocument_0"]=Module["asm"]["ja"]).apply(null,arguments)};var _emscripten_bind_TessResultRenderer_happy_0=Module["_emscripten_bind_TessResultRenderer_happy_0"]=function(){return(_emscripten_bind_TessResultRenderer_happy_0=Module["_emscripten_bind_TessResultRenderer_happy_0"]=Module["asm"]["ka"]).apply(null,arguments)};var _emscripten_bind_TessResultRenderer_file_extension_0=Module["_emscripten_bind_TessResultRenderer_file_extension_0"]=function(){return(_emscripten_bind_TessResultRenderer_file_extension_0=Module["_emscripten_bind_TessResultRenderer_file_extension_0"]=Module["asm"]["la"]).apply(null,arguments)};var _emscripten_bind_TessResultRenderer_title_0=Module["_emscripten_bind_TessResultRenderer_title_0"]=function(){return(_emscripten_bind_TessResultRenderer_title_0=Module["_emscripten_bind_TessResultRenderer_title_0"]=Module["asm"]["ma"]).apply(null,arguments)};var _emscripten_bind_TessResultRenderer_imagenum_0=Module["_emscripten_bind_TessResultRenderer_imagenum_0"]=function(){return(_emscripten_bind_TessResultRenderer_imagenum_0=Module["_emscripten_bind_TessResultRenderer_imagenum_0"]=Module["asm"]["na"]).apply(null,arguments)};var _emscripten_bind_TessResultRenderer___destroy___0=Module["_emscripten_bind_TessResultRenderer___destroy___0"]=function(){return(_emscripten_bind_TessResultRenderer___destroy___0=Module["_emscripten_bind_TessResultRenderer___destroy___0"]=Module["asm"]["oa"]).apply(null,arguments)};var _emscripten_bind_LongStarPtr___destroy___0=Module["_emscripten_bind_LongStarPtr___destroy___0"]=function(){return(_emscripten_bind_LongStarPtr___destroy___0=Module["_emscripten_bind_LongStarPtr___destroy___0"]=Module["asm"]["pa"]).apply(null,arguments)};var _emscripten_bind_VoidPtr___destroy___0=Module["_emscripten_bind_VoidPtr___destroy___0"]=function(){return(_emscripten_bind_VoidPtr___destroy___0=Module["_emscripten_bind_VoidPtr___destroy___0"]=Module["asm"]["qa"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_ResultIterator_1=Module["_emscripten_bind_ResultIterator_ResultIterator_1"]=function(){return(_emscripten_bind_ResultIterator_ResultIterator_1=Module["_emscripten_bind_ResultIterator_ResultIterator_1"]=Module["asm"]["ra"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_Begin_0=Module["_emscripten_bind_ResultIterator_Begin_0"]=function(){return(_emscripten_bind_ResultIterator_Begin_0=Module["_emscripten_bind_ResultIterator_Begin_0"]=Module["asm"]["sa"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_RestartParagraph_0=Module["_emscripten_bind_ResultIterator_RestartParagraph_0"]=function(){return(_emscripten_bind_ResultIterator_RestartParagraph_0=Module["_emscripten_bind_ResultIterator_RestartParagraph_0"]=Module["asm"]["ta"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_IsWithinFirstTextlineOfParagraph_0=Module["_emscripten_bind_ResultIterator_IsWithinFirstTextlineOfParagraph_0"]=function(){return(_emscripten_bind_ResultIterator_IsWithinFirstTextlineOfParagraph_0=Module["_emscripten_bind_ResultIterator_IsWithinFirstTextlineOfParagraph_0"]=Module["asm"]["ua"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_RestartRow_0=Module["_emscripten_bind_ResultIterator_RestartRow_0"]=function(){return(_emscripten_bind_ResultIterator_RestartRow_0=Module["_emscripten_bind_ResultIterator_RestartRow_0"]=Module["asm"]["va"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_Next_1=Module["_emscripten_bind_ResultIterator_Next_1"]=function(){return(_emscripten_bind_ResultIterator_Next_1=Module["_emscripten_bind_ResultIterator_Next_1"]=Module["asm"]["wa"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_IsAtBeginningOf_1=Module["_emscripten_bind_ResultIterator_IsAtBeginningOf_1"]=function(){return(_emscripten_bind_ResultIterator_IsAtBeginningOf_1=Module["_emscripten_bind_ResultIterator_IsAtBeginningOf_1"]=Module["asm"]["xa"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_IsAtFinalElement_2=Module["_emscripten_bind_ResultIterator_IsAtFinalElement_2"]=function(){return(_emscripten_bind_ResultIterator_IsAtFinalElement_2=Module["_emscripten_bind_ResultIterator_IsAtFinalElement_2"]=Module["asm"]["ya"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_Cmp_1=Module["_emscripten_bind_ResultIterator_Cmp_1"]=function(){return(_emscripten_bind_ResultIterator_Cmp_1=Module["_emscripten_bind_ResultIterator_Cmp_1"]=Module["asm"]["za"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_SetBoundingBoxComponents_2=Module["_emscripten_bind_ResultIterator_SetBoundingBoxComponents_2"]=function(){return(_emscripten_bind_ResultIterator_SetBoundingBoxComponents_2=Module["_emscripten_bind_ResultIterator_SetBoundingBoxComponents_2"]=Module["asm"]["Aa"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_BoundingBox_5=Module["_emscripten_bind_ResultIterator_BoundingBox_5"]=function(){return(_emscripten_bind_ResultIterator_BoundingBox_5=Module["_emscripten_bind_ResultIterator_BoundingBox_5"]=Module["asm"]["Ba"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_BoundingBox_6=Module["_emscripten_bind_ResultIterator_BoundingBox_6"]=function(){return(_emscripten_bind_ResultIterator_BoundingBox_6=Module["_emscripten_bind_ResultIterator_BoundingBox_6"]=Module["asm"]["Ca"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_BoundingBoxInternal_5=Module["_emscripten_bind_ResultIterator_BoundingBoxInternal_5"]=function(){return(_emscripten_bind_ResultIterator_BoundingBoxInternal_5=Module["_emscripten_bind_ResultIterator_BoundingBoxInternal_5"]=Module["asm"]["Da"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_Empty_1=Module["_emscripten_bind_ResultIterator_Empty_1"]=function(){return(_emscripten_bind_ResultIterator_Empty_1=Module["_emscripten_bind_ResultIterator_Empty_1"]=Module["asm"]["Ea"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_BlockType_0=Module["_emscripten_bind_ResultIterator_BlockType_0"]=function(){return(_emscripten_bind_ResultIterator_BlockType_0=Module["_emscripten_bind_ResultIterator_BlockType_0"]=Module["asm"]["Fa"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_BlockPolygon_0=Module["_emscripten_bind_ResultIterator_BlockPolygon_0"]=function(){return(_emscripten_bind_ResultIterator_BlockPolygon_0=Module["_emscripten_bind_ResultIterator_BlockPolygon_0"]=Module["asm"]["Ga"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_GetBinaryImage_1=Module["_emscripten_bind_ResultIterator_GetBinaryImage_1"]=function(){return(_emscripten_bind_ResultIterator_GetBinaryImage_1=Module["_emscripten_bind_ResultIterator_GetBinaryImage_1"]=Module["asm"]["Ha"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_GetImage_5=Module["_emscripten_bind_ResultIterator_GetImage_5"]=function(){return(_emscripten_bind_ResultIterator_GetImage_5=Module["_emscripten_bind_ResultIterator_GetImage_5"]=Module["asm"]["Ia"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_Baseline_5=Module["_emscripten_bind_ResultIterator_Baseline_5"]=function(){return(_emscripten_bind_ResultIterator_Baseline_5=Module["_emscripten_bind_ResultIterator_Baseline_5"]=Module["asm"]["Ja"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_Orientation_4=Module["_emscripten_bind_ResultIterator_Orientation_4"]=function(){return(_emscripten_bind_ResultIterator_Orientation_4=Module["_emscripten_bind_ResultIterator_Orientation_4"]=Module["asm"]["Ka"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_ParagraphInfo_4=Module["_emscripten_bind_ResultIterator_ParagraphInfo_4"]=function(){return(_emscripten_bind_ResultIterator_ParagraphInfo_4=Module["_emscripten_bind_ResultIterator_ParagraphInfo_4"]=Module["asm"]["La"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_ParagraphIsLtr_0=Module["_emscripten_bind_ResultIterator_ParagraphIsLtr_0"]=function(){return(_emscripten_bind_ResultIterator_ParagraphIsLtr_0=Module["_emscripten_bind_ResultIterator_ParagraphIsLtr_0"]=Module["asm"]["Ma"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_GetUTF8Text_1=Module["_emscripten_bind_ResultIterator_GetUTF8Text_1"]=function(){return(_emscripten_bind_ResultIterator_GetUTF8Text_1=Module["_emscripten_bind_ResultIterator_GetUTF8Text_1"]=Module["asm"]["Na"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_SetLineSeparator_1=Module["_emscripten_bind_ResultIterator_SetLineSeparator_1"]=function(){return(_emscripten_bind_ResultIterator_SetLineSeparator_1=Module["_emscripten_bind_ResultIterator_SetLineSeparator_1"]=Module["asm"]["Oa"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_SetParagraphSeparator_1=Module["_emscripten_bind_ResultIterator_SetParagraphSeparator_1"]=function(){return(_emscripten_bind_ResultIterator_SetParagraphSeparator_1=Module["_emscripten_bind_ResultIterator_SetParagraphSeparator_1"]=Module["asm"]["Pa"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_Confidence_1=Module["_emscripten_bind_ResultIterator_Confidence_1"]=function(){return(_emscripten_bind_ResultIterator_Confidence_1=Module["_emscripten_bind_ResultIterator_Confidence_1"]=Module["asm"]["Qa"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_WordFontAttributes_8=Module["_emscripten_bind_ResultIterator_WordFontAttributes_8"]=function(){return(_emscripten_bind_ResultIterator_WordFontAttributes_8=Module["_emscripten_bind_ResultIterator_WordFontAttributes_8"]=Module["asm"]["Ra"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_WordRecognitionLanguage_0=Module["_emscripten_bind_ResultIterator_WordRecognitionLanguage_0"]=function(){return(_emscripten_bind_ResultIterator_WordRecognitionLanguage_0=Module["_emscripten_bind_ResultIterator_WordRecognitionLanguage_0"]=Module["asm"]["Sa"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_WordDirection_0=Module["_emscripten_bind_ResultIterator_WordDirection_0"]=function(){return(_emscripten_bind_ResultIterator_WordDirection_0=Module["_emscripten_bind_ResultIterator_WordDirection_0"]=Module["asm"]["Ta"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_WordIsFromDictionary_0=Module["_emscripten_bind_ResultIterator_WordIsFromDictionary_0"]=function(){return(_emscripten_bind_ResultIterator_WordIsFromDictionary_0=Module["_emscripten_bind_ResultIterator_WordIsFromDictionary_0"]=Module["asm"]["Ua"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_WordIsNumeric_0=Module["_emscripten_bind_ResultIterator_WordIsNumeric_0"]=function(){return(_emscripten_bind_ResultIterator_WordIsNumeric_0=Module["_emscripten_bind_ResultIterator_WordIsNumeric_0"]=Module["asm"]["Va"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_HasBlamerInfo_0=Module["_emscripten_bind_ResultIterator_HasBlamerInfo_0"]=function(){return(_emscripten_bind_ResultIterator_HasBlamerInfo_0=Module["_emscripten_bind_ResultIterator_HasBlamerInfo_0"]=Module["asm"]["Wa"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_HasTruthString_0=Module["_emscripten_bind_ResultIterator_HasTruthString_0"]=function(){return(_emscripten_bind_ResultIterator_HasTruthString_0=Module["_emscripten_bind_ResultIterator_HasTruthString_0"]=Module["asm"]["Xa"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_EquivalentToTruth_1=Module["_emscripten_bind_ResultIterator_EquivalentToTruth_1"]=function(){return(_emscripten_bind_ResultIterator_EquivalentToTruth_1=Module["_emscripten_bind_ResultIterator_EquivalentToTruth_1"]=Module["asm"]["Ya"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_WordTruthUTF8Text_0=Module["_emscripten_bind_ResultIterator_WordTruthUTF8Text_0"]=function(){return(_emscripten_bind_ResultIterator_WordTruthUTF8Text_0=Module["_emscripten_bind_ResultIterator_WordTruthUTF8Text_0"]=Module["asm"]["Za"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_WordNormedUTF8Text_0=Module["_emscripten_bind_ResultIterator_WordNormedUTF8Text_0"]=function(){return(_emscripten_bind_ResultIterator_WordNormedUTF8Text_0=Module["_emscripten_bind_ResultIterator_WordNormedUTF8Text_0"]=Module["asm"]["_a"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_WordLattice_1=Module["_emscripten_bind_ResultIterator_WordLattice_1"]=function(){return(_emscripten_bind_ResultIterator_WordLattice_1=Module["_emscripten_bind_ResultIterator_WordLattice_1"]=Module["asm"]["$a"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_SymbolIsSuperscript_0=Module["_emscripten_bind_ResultIterator_SymbolIsSuperscript_0"]=function(){return(_emscripten_bind_ResultIterator_SymbolIsSuperscript_0=Module["_emscripten_bind_ResultIterator_SymbolIsSuperscript_0"]=Module["asm"]["ab"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_SymbolIsSubscript_0=Module["_emscripten_bind_ResultIterator_SymbolIsSubscript_0"]=function(){return(_emscripten_bind_ResultIterator_SymbolIsSubscript_0=Module["_emscripten_bind_ResultIterator_SymbolIsSubscript_0"]=Module["asm"]["bb"]).apply(null,arguments)};var _emscripten_bind_ResultIterator_SymbolIsDropcap_0=Module["_emscripten_bind_ResultIterator_SymbolIsDropcap_0"]=function(){return(_emscripten_bind_ResultIterator_SymbolIsDropcap_0=Module["_emscripten_bind_ResultIterator_SymbolIsDropcap_0"]=Module["asm"]["cb"]).apply(null,arguments)};var _emscripten_bind_ResultIterator___destroy___0=Module["_emscripten_bind_ResultIterator___destroy___0"]=function(){return(_emscripten_bind_ResultIterator___destroy___0=Module["_emscripten_bind_ResultIterator___destroy___0"]=Module["asm"]["db"]).apply(null,arguments)};var _emscripten_bind_TextlineOrder___destroy___0=Module["_emscripten_bind_TextlineOrder___destroy___0"]=function(){return(_emscripten_bind_TextlineOrder___destroy___0=Module["_emscripten_bind_TextlineOrder___destroy___0"]=Module["asm"]["eb"]).apply(null,arguments)};var _emscripten_bind_ETEXT_DESC___destroy___0=Module["_emscripten_bind_ETEXT_DESC___destroy___0"]=function(){return(_emscripten_bind_ETEXT_DESC___destroy___0=Module["_emscripten_bind_ETEXT_DESC___destroy___0"]=Module["asm"]["fb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_Begin_0=Module["_emscripten_bind_PageIterator_Begin_0"]=function(){return(_emscripten_bind_PageIterator_Begin_0=Module["_emscripten_bind_PageIterator_Begin_0"]=Module["asm"]["gb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_RestartParagraph_0=Module["_emscripten_bind_PageIterator_RestartParagraph_0"]=function(){return(_emscripten_bind_PageIterator_RestartParagraph_0=Module["_emscripten_bind_PageIterator_RestartParagraph_0"]=Module["asm"]["hb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_IsWithinFirstTextlineOfParagraph_0=Module["_emscripten_bind_PageIterator_IsWithinFirstTextlineOfParagraph_0"]=function(){return(_emscripten_bind_PageIterator_IsWithinFirstTextlineOfParagraph_0=Module["_emscripten_bind_PageIterator_IsWithinFirstTextlineOfParagraph_0"]=Module["asm"]["ib"]).apply(null,arguments)};var _emscripten_bind_PageIterator_RestartRow_0=Module["_emscripten_bind_PageIterator_RestartRow_0"]=function(){return(_emscripten_bind_PageIterator_RestartRow_0=Module["_emscripten_bind_PageIterator_RestartRow_0"]=Module["asm"]["jb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_Next_1=Module["_emscripten_bind_PageIterator_Next_1"]=function(){return(_emscripten_bind_PageIterator_Next_1=Module["_emscripten_bind_PageIterator_Next_1"]=Module["asm"]["kb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_IsAtBeginningOf_1=Module["_emscripten_bind_PageIterator_IsAtBeginningOf_1"]=function(){return(_emscripten_bind_PageIterator_IsAtBeginningOf_1=Module["_emscripten_bind_PageIterator_IsAtBeginningOf_1"]=Module["asm"]["lb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_IsAtFinalElement_2=Module["_emscripten_bind_PageIterator_IsAtFinalElement_2"]=function(){return(_emscripten_bind_PageIterator_IsAtFinalElement_2=Module["_emscripten_bind_PageIterator_IsAtFinalElement_2"]=Module["asm"]["mb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_Cmp_1=Module["_emscripten_bind_PageIterator_Cmp_1"]=function(){return(_emscripten_bind_PageIterator_Cmp_1=Module["_emscripten_bind_PageIterator_Cmp_1"]=Module["asm"]["nb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_SetBoundingBoxComponents_2=Module["_emscripten_bind_PageIterator_SetBoundingBoxComponents_2"]=function(){return(_emscripten_bind_PageIterator_SetBoundingBoxComponents_2=Module["_emscripten_bind_PageIterator_SetBoundingBoxComponents_2"]=Module["asm"]["ob"]).apply(null,arguments)};var _emscripten_bind_PageIterator_BoundingBox_5=Module["_emscripten_bind_PageIterator_BoundingBox_5"]=function(){return(_emscripten_bind_PageIterator_BoundingBox_5=Module["_emscripten_bind_PageIterator_BoundingBox_5"]=Module["asm"]["pb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_BoundingBox_6=Module["_emscripten_bind_PageIterator_BoundingBox_6"]=function(){return(_emscripten_bind_PageIterator_BoundingBox_6=Module["_emscripten_bind_PageIterator_BoundingBox_6"]=Module["asm"]["qb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_BoundingBoxInternal_5=Module["_emscripten_bind_PageIterator_BoundingBoxInternal_5"]=function(){return(_emscripten_bind_PageIterator_BoundingBoxInternal_5=Module["_emscripten_bind_PageIterator_BoundingBoxInternal_5"]=Module["asm"]["rb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_Empty_1=Module["_emscripten_bind_PageIterator_Empty_1"]=function(){return(_emscripten_bind_PageIterator_Empty_1=Module["_emscripten_bind_PageIterator_Empty_1"]=Module["asm"]["sb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_BlockType_0=Module["_emscripten_bind_PageIterator_BlockType_0"]=function(){return(_emscripten_bind_PageIterator_BlockType_0=Module["_emscripten_bind_PageIterator_BlockType_0"]=Module["asm"]["tb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_BlockPolygon_0=Module["_emscripten_bind_PageIterator_BlockPolygon_0"]=function(){return(_emscripten_bind_PageIterator_BlockPolygon_0=Module["_emscripten_bind_PageIterator_BlockPolygon_0"]=Module["asm"]["ub"]).apply(null,arguments)};var _emscripten_bind_PageIterator_GetBinaryImage_1=Module["_emscripten_bind_PageIterator_GetBinaryImage_1"]=function(){return(_emscripten_bind_PageIterator_GetBinaryImage_1=Module["_emscripten_bind_PageIterator_GetBinaryImage_1"]=Module["asm"]["vb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_GetImage_5=Module["_emscripten_bind_PageIterator_GetImage_5"]=function(){return(_emscripten_bind_PageIterator_GetImage_5=Module["_emscripten_bind_PageIterator_GetImage_5"]=Module["asm"]["wb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_Baseline_5=Module["_emscripten_bind_PageIterator_Baseline_5"]=function(){return(_emscripten_bind_PageIterator_Baseline_5=Module["_emscripten_bind_PageIterator_Baseline_5"]=Module["asm"]["xb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_Orientation_4=Module["_emscripten_bind_PageIterator_Orientation_4"]=function(){return(_emscripten_bind_PageIterator_Orientation_4=Module["_emscripten_bind_PageIterator_Orientation_4"]=Module["asm"]["yb"]).apply(null,arguments)};var _emscripten_bind_PageIterator_ParagraphInfo_4=Module["_emscripten_bind_PageIterator_ParagraphInfo_4"]=function(){return(_emscripten_bind_PageIterator_ParagraphInfo_4=Module["_emscripten_bind_PageIterator_ParagraphInfo_4"]=Module["asm"]["zb"]).apply(null,arguments)};var _emscripten_bind_PageIterator___destroy___0=Module["_emscripten_bind_PageIterator___destroy___0"]=function(){return(_emscripten_bind_PageIterator___destroy___0=Module["_emscripten_bind_PageIterator___destroy___0"]=Module["asm"]["Ab"]).apply(null,arguments)};var _emscripten_bind_WritingDirection___destroy___0=Module["_emscripten_bind_WritingDirection___destroy___0"]=function(){return(_emscripten_bind_WritingDirection___destroy___0=Module["_emscripten_bind_WritingDirection___destroy___0"]=Module["asm"]["Bb"]).apply(null,arguments)};var _emscripten_bind_WordChoiceIterator_WordChoiceIterator_1=Module["_emscripten_bind_WordChoiceIterator_WordChoiceIterator_1"]=function(){return(_emscripten_bind_WordChoiceIterator_WordChoiceIterator_1=Module["_emscripten_bind_WordChoiceIterator_WordChoiceIterator_1"]=Module["asm"]["Cb"]).apply(null,arguments)};var _emscripten_bind_WordChoiceIterator_Next_0=Module["_emscripten_bind_WordChoiceIterator_Next_0"]=function(){return(_emscripten_bind_WordChoiceIterator_Next_0=Module["_emscripten_bind_WordChoiceIterator_Next_0"]=Module["asm"]["Db"]).apply(null,arguments)};var _emscripten_bind_WordChoiceIterator_GetUTF8Text_0=Module["_emscripten_bind_WordChoiceIterator_GetUTF8Text_0"]=function(){return(_emscripten_bind_WordChoiceIterator_GetUTF8Text_0=Module["_emscripten_bind_WordChoiceIterator_GetUTF8Text_0"]=Module["asm"]["Eb"]).apply(null,arguments)};var _emscripten_bind_WordChoiceIterator_Confidence_0=Module["_emscripten_bind_WordChoiceIterator_Confidence_0"]=function(){return(_emscripten_bind_WordChoiceIterator_Confidence_0=Module["_emscripten_bind_WordChoiceIterator_Confidence_0"]=Module["asm"]["Fb"]).apply(null,arguments)};var _emscripten_bind_WordChoiceIterator___destroy___0=Module["_emscripten_bind_WordChoiceIterator___destroy___0"]=function(){return(_emscripten_bind_WordChoiceIterator___destroy___0=Module["_emscripten_bind_WordChoiceIterator___destroy___0"]=Module["asm"]["Gb"]).apply(null,arguments)};var _emscripten_bind_Box_get_x_0=Module["_emscripten_bind_Box_get_x_0"]=function(){return(_emscripten_bind_Box_get_x_0=Module["_emscripten_bind_Box_get_x_0"]=Module["asm"]["Hb"]).apply(null,arguments)};var _emscripten_bind_Box_get_y_0=Module["_emscripten_bind_Box_get_y_0"]=function(){return(_emscripten_bind_Box_get_y_0=Module["_emscripten_bind_Box_get_y_0"]=Module["asm"]["Ib"]).apply(null,arguments)};var _emscripten_bind_Box_get_w_0=Module["_emscripten_bind_Box_get_w_0"]=function(){return(_emscripten_bind_Box_get_w_0=Module["_emscripten_bind_Box_get_w_0"]=Module["asm"]["Jb"]).apply(null,arguments)};var _emscripten_bind_Box_get_h_0=Module["_emscripten_bind_Box_get_h_0"]=function(){return(_emscripten_bind_Box_get_h_0=Module["_emscripten_bind_Box_get_h_0"]=Module["asm"]["Kb"]).apply(null,arguments)};var _emscripten_bind_Box_get_refcount_0=Module["_emscripten_bind_Box_get_refcount_0"]=function(){return(_emscripten_bind_Box_get_refcount_0=Module["_emscripten_bind_Box_get_refcount_0"]=Module["asm"]["Lb"]).apply(null,arguments)};var _emscripten_bind_Box___destroy___0=Module["_emscripten_bind_Box___destroy___0"]=function(){return(_emscripten_bind_Box___destroy___0=Module["_emscripten_bind_Box___destroy___0"]=Module["asm"]["Mb"]).apply(null,arguments)};var _emscripten_bind_TessPDFRenderer_TessPDFRenderer_3=Module["_emscripten_bind_TessPDFRenderer_TessPDFRenderer_3"]=function(){return(_emscripten_bind_TessPDFRenderer_TessPDFRenderer_3=Module["_emscripten_bind_TessPDFRenderer_TessPDFRenderer_3"]=Module["asm"]["Nb"]).apply(null,arguments)};var _emscripten_bind_TessPDFRenderer_BeginDocument_1=Module["_emscripten_bind_TessPDFRenderer_BeginDocument_1"]=function(){return(_emscripten_bind_TessPDFRenderer_BeginDocument_1=Module["_emscripten_bind_TessPDFRenderer_BeginDocument_1"]=Module["asm"]["Ob"]).apply(null,arguments)};var _emscripten_bind_TessPDFRenderer_AddImage_1=Module["_emscripten_bind_TessPDFRenderer_AddImage_1"]=function(){return(_emscripten_bind_TessPDFRenderer_AddImage_1=Module["_emscripten_bind_TessPDFRenderer_AddImage_1"]=Module["asm"]["Pb"]).apply(null,arguments)};var _emscripten_bind_TessPDFRenderer_EndDocument_0=Module["_emscripten_bind_TessPDFRenderer_EndDocument_0"]=function(){return(_emscripten_bind_TessPDFRenderer_EndDocument_0=Module["_emscripten_bind_TessPDFRenderer_EndDocument_0"]=Module["asm"]["Qb"]).apply(null,arguments)};var _emscripten_bind_TessPDFRenderer_happy_0=Module["_emscripten_bind_TessPDFRenderer_happy_0"]=function(){return(_emscripten_bind_TessPDFRenderer_happy_0=Module["_emscripten_bind_TessPDFRenderer_happy_0"]=Module["asm"]["Rb"]).apply(null,arguments)};var _emscripten_bind_TessPDFRenderer_file_extension_0=Module["_emscripten_bind_TessPDFRenderer_file_extension_0"]=function(){return(_emscripten_bind_TessPDFRenderer_file_extension_0=Module["_emscripten_bind_TessPDFRenderer_file_extension_0"]=Module["asm"]["Sb"]).apply(null,arguments)};var _emscripten_bind_TessPDFRenderer_title_0=Module["_emscripten_bind_TessPDFRenderer_title_0"]=function(){return(_emscripten_bind_TessPDFRenderer_title_0=Module["_emscripten_bind_TessPDFRenderer_title_0"]=Module["asm"]["Tb"]).apply(null,arguments)};var _emscripten_bind_TessPDFRenderer_imagenum_0=Module["_emscripten_bind_TessPDFRenderer_imagenum_0"]=function(){return(_emscripten_bind_TessPDFRenderer_imagenum_0=Module["_emscripten_bind_TessPDFRenderer_imagenum_0"]=Module["asm"]["Ub"]).apply(null,arguments)};var _emscripten_bind_TessPDFRenderer___destroy___0=Module["_emscripten_bind_TessPDFRenderer___destroy___0"]=function(){return(_emscripten_bind_TessPDFRenderer___destroy___0=Module["_emscripten_bind_TessPDFRenderer___destroy___0"]=Module["asm"]["Vb"]).apply(null,arguments)};var _emscripten_bind_PixaPtr___destroy___0=Module["_emscripten_bind_PixaPtr___destroy___0"]=function(){return(_emscripten_bind_PixaPtr___destroy___0=Module["_emscripten_bind_PixaPtr___destroy___0"]=Module["asm"]["Wb"]).apply(null,arguments)};var _emscripten_bind_FloatPtr___destroy___0=Module["_emscripten_bind_FloatPtr___destroy___0"]=function(){return(_emscripten_bind_FloatPtr___destroy___0=Module["_emscripten_bind_FloatPtr___destroy___0"]=Module["asm"]["Xb"]).apply(null,arguments)};var _emscripten_bind_ChoiceIterator_ChoiceIterator_1=Module["_emscripten_bind_ChoiceIterator_ChoiceIterator_1"]=function(){return(_emscripten_bind_ChoiceIterator_ChoiceIterator_1=Module["_emscripten_bind_ChoiceIterator_ChoiceIterator_1"]=Module["asm"]["Yb"]).apply(null,arguments)};var _emscripten_bind_ChoiceIterator_Next_0=Module["_emscripten_bind_ChoiceIterator_Next_0"]=function(){return(_emscripten_bind_ChoiceIterator_Next_0=Module["_emscripten_bind_ChoiceIterator_Next_0"]=Module["asm"]["Zb"]).apply(null,arguments)};var _emscripten_bind_ChoiceIterator_GetUTF8Text_0=Module["_emscripten_bind_ChoiceIterator_GetUTF8Text_0"]=function(){return(_emscripten_bind_ChoiceIterator_GetUTF8Text_0=Module["_emscripten_bind_ChoiceIterator_GetUTF8Text_0"]=Module["asm"]["_b"]).apply(null,arguments)};var _emscripten_bind_ChoiceIterator_Confidence_0=Module["_emscripten_bind_ChoiceIterator_Confidence_0"]=function(){return(_emscripten_bind_ChoiceIterator_Confidence_0=Module["_emscripten_bind_ChoiceIterator_Confidence_0"]=Module["asm"]["$b"]).apply(null,arguments)};var _emscripten_bind_ChoiceIterator___destroy___0=Module["_emscripten_bind_ChoiceIterator___destroy___0"]=function(){return(_emscripten_bind_ChoiceIterator___destroy___0=Module["_emscripten_bind_ChoiceIterator___destroy___0"]=Module["asm"]["ac"]).apply(null,arguments)};var _emscripten_bind_PixPtr___destroy___0=Module["_emscripten_bind_PixPtr___destroy___0"]=function(){return(_emscripten_bind_PixPtr___destroy___0=Module["_emscripten_bind_PixPtr___destroy___0"]=Module["asm"]["bc"]).apply(null,arguments)};var _emscripten_bind_UNICHARSET_get_script_from_script_id_1=Module["_emscripten_bind_UNICHARSET_get_script_from_script_id_1"]=function(){return(_emscripten_bind_UNICHARSET_get_script_from_script_id_1=Module["_emscripten_bind_UNICHARSET_get_script_from_script_id_1"]=Module["asm"]["cc"]).apply(null,arguments)};var _emscripten_bind_UNICHARSET_get_script_id_from_name_1=Module["_emscripten_bind_UNICHARSET_get_script_id_from_name_1"]=function(){return(_emscripten_bind_UNICHARSET_get_script_id_from_name_1=Module["_emscripten_bind_UNICHARSET_get_script_id_from_name_1"]=Module["asm"]["dc"]).apply(null,arguments)};var _emscripten_bind_UNICHARSET_get_script_table_size_0=Module["_emscripten_bind_UNICHARSET_get_script_table_size_0"]=function(){return(_emscripten_bind_UNICHARSET_get_script_table_size_0=Module["_emscripten_bind_UNICHARSET_get_script_table_size_0"]=Module["asm"]["ec"]).apply(null,arguments)};var _emscripten_bind_UNICHARSET___destroy___0=Module["_emscripten_bind_UNICHARSET___destroy___0"]=function(){return(_emscripten_bind_UNICHARSET___destroy___0=Module["_emscripten_bind_UNICHARSET___destroy___0"]=Module["asm"]["fc"]).apply(null,arguments)};var _emscripten_bind_IntPtr___destroy___0=Module["_emscripten_bind_IntPtr___destroy___0"]=function(){return(_emscripten_bind_IntPtr___destroy___0=Module["_emscripten_bind_IntPtr___destroy___0"]=Module["asm"]["gc"]).apply(null,arguments)};var _emscripten_bind_Orientation___destroy___0=Module["_emscripten_bind_Orientation___destroy___0"]=function(){return(_emscripten_bind_Orientation___destroy___0=Module["_emscripten_bind_Orientation___destroy___0"]=Module["asm"]["hc"]).apply(null,arguments)};var _emscripten_bind_OSBestResult_get_orientation_id_0=Module["_emscripten_bind_OSBestResult_get_orientation_id_0"]=function(){return(_emscripten_bind_OSBestResult_get_orientation_id_0=Module["_emscripten_bind_OSBestResult_get_orientation_id_0"]=Module["asm"]["ic"]).apply(null,arguments)};var _emscripten_bind_OSBestResult_get_script_id_0=Module["_emscripten_bind_OSBestResult_get_script_id_0"]=function(){return(_emscripten_bind_OSBestResult_get_script_id_0=Module["_emscripten_bind_OSBestResult_get_script_id_0"]=Module["asm"]["jc"]).apply(null,arguments)};var _emscripten_bind_OSBestResult_get_sconfidence_0=Module["_emscripten_bind_OSBestResult_get_sconfidence_0"]=function(){return(_emscripten_bind_OSBestResult_get_sconfidence_0=Module["_emscripten_bind_OSBestResult_get_sconfidence_0"]=Module["asm"]["kc"]).apply(null,arguments)};var _emscripten_bind_OSBestResult_get_oconfidence_0=Module["_emscripten_bind_OSBestResult_get_oconfidence_0"]=function(){return(_emscripten_bind_OSBestResult_get_oconfidence_0=Module["_emscripten_bind_OSBestResult_get_oconfidence_0"]=Module["asm"]["lc"]).apply(null,arguments)};var _emscripten_bind_OSBestResult___destroy___0=Module["_emscripten_bind_OSBestResult___destroy___0"]=function(){return(_emscripten_bind_OSBestResult___destroy___0=Module["_emscripten_bind_OSBestResult___destroy___0"]=Module["asm"]["mc"]).apply(null,arguments)};var _emscripten_bind_Boxa_get_n_0=Module["_emscripten_bind_Boxa_get_n_0"]=function(){return(_emscripten_bind_Boxa_get_n_0=Module["_emscripten_bind_Boxa_get_n_0"]=Module["asm"]["nc"]).apply(null,arguments)};var _emscripten_bind_Boxa_get_nalloc_0=Module["_emscripten_bind_Boxa_get_nalloc_0"]=function(){return(_emscripten_bind_Boxa_get_nalloc_0=Module["_emscripten_bind_Boxa_get_nalloc_0"]=Module["asm"]["oc"]).apply(null,arguments)};var _emscripten_bind_Boxa_get_refcount_0=Module["_emscripten_bind_Boxa_get_refcount_0"]=function(){return(_emscripten_bind_Boxa_get_refcount_0=Module["_emscripten_bind_Boxa_get_refcount_0"]=Module["asm"]["pc"]).apply(null,arguments)};var _emscripten_bind_Boxa_get_box_0=Module["_emscripten_bind_Boxa_get_box_0"]=function(){return(_emscripten_bind_Boxa_get_box_0=Module["_emscripten_bind_Boxa_get_box_0"]=Module["asm"]["qc"]).apply(null,arguments)};var _emscripten_bind_Boxa___destroy___0=Module["_emscripten_bind_Boxa___destroy___0"]=function(){return(_emscripten_bind_Boxa___destroy___0=Module["_emscripten_bind_Boxa___destroy___0"]=Module["asm"]["rc"]).apply(null,arguments)};var _emscripten_bind_PixColormap_get_array_0=Module["_emscripten_bind_PixColormap_get_array_0"]=function(){return(_emscripten_bind_PixColormap_get_array_0=Module["_emscripten_bind_PixColormap_get_array_0"]=Module["asm"]["sc"]).apply(null,arguments)};var _emscripten_bind_PixColormap_get_depth_0=Module["_emscripten_bind_PixColormap_get_depth_0"]=function(){return(_emscripten_bind_PixColormap_get_depth_0=Module["_emscripten_bind_PixColormap_get_depth_0"]=Module["asm"]["tc"]).apply(null,arguments)};var _emscripten_bind_PixColormap_get_nalloc_0=Module["_emscripten_bind_PixColormap_get_nalloc_0"]=function(){return(_emscripten_bind_PixColormap_get_nalloc_0=Module["_emscripten_bind_PixColormap_get_nalloc_0"]=Module["asm"]["uc"]).apply(null,arguments)};var _emscripten_bind_PixColormap_get_n_0=Module["_emscripten_bind_PixColormap_get_n_0"]=function(){return(_emscripten_bind_PixColormap_get_n_0=Module["_emscripten_bind_PixColormap_get_n_0"]=Module["asm"]["vc"]).apply(null,arguments)};var _emscripten_bind_PixColormap___destroy___0=Module["_emscripten_bind_PixColormap___destroy___0"]=function(){return(_emscripten_bind_PixColormap___destroy___0=Module["_emscripten_bind_PixColormap___destroy___0"]=Module["asm"]["wc"]).apply(null,arguments)};var _emscripten_bind_Pta_get_n_0=Module["_emscripten_bind_Pta_get_n_0"]=function(){return(_emscripten_bind_Pta_get_n_0=Module["_emscripten_bind_Pta_get_n_0"]=Module["asm"]["xc"]).apply(null,arguments)};var _emscripten_bind_Pta_get_nalloc_0=Module["_emscripten_bind_Pta_get_nalloc_0"]=function(){return(_emscripten_bind_Pta_get_nalloc_0=Module["_emscripten_bind_Pta_get_nalloc_0"]=Module["asm"]["yc"]).apply(null,arguments)};var _emscripten_bind_Pta_get_refcount_0=Module["_emscripten_bind_Pta_get_refcount_0"]=function(){return(_emscripten_bind_Pta_get_refcount_0=Module["_emscripten_bind_Pta_get_refcount_0"]=Module["asm"]["zc"]).apply(null,arguments)};var _emscripten_bind_Pta_get_x_0=Module["_emscripten_bind_Pta_get_x_0"]=function(){return(_emscripten_bind_Pta_get_x_0=Module["_emscripten_bind_Pta_get_x_0"]=Module["asm"]["Ac"]).apply(null,arguments)};var _emscripten_bind_Pta_get_y_0=Module["_emscripten_bind_Pta_get_y_0"]=function(){return(_emscripten_bind_Pta_get_y_0=Module["_emscripten_bind_Pta_get_y_0"]=Module["asm"]["Bc"]).apply(null,arguments)};var _emscripten_bind_Pta___destroy___0=Module["_emscripten_bind_Pta___destroy___0"]=function(){return(_emscripten_bind_Pta___destroy___0=Module["_emscripten_bind_Pta___destroy___0"]=Module["asm"]["Cc"]).apply(null,arguments)};var _emscripten_bind_Pix_get_w_0=Module["_emscripten_bind_Pix_get_w_0"]=function(){return(_emscripten_bind_Pix_get_w_0=Module["_emscripten_bind_Pix_get_w_0"]=Module["asm"]["Dc"]).apply(null,arguments)};var _emscripten_bind_Pix_get_h_0=Module["_emscripten_bind_Pix_get_h_0"]=function(){return(_emscripten_bind_Pix_get_h_0=Module["_emscripten_bind_Pix_get_h_0"]=Module["asm"]["Ec"]).apply(null,arguments)};var _emscripten_bind_Pix_get_d_0=Module["_emscripten_bind_Pix_get_d_0"]=function(){return(_emscripten_bind_Pix_get_d_0=Module["_emscripten_bind_Pix_get_d_0"]=Module["asm"]["Fc"]).apply(null,arguments)};var _emscripten_bind_Pix_get_spp_0=Module["_emscripten_bind_Pix_get_spp_0"]=function(){return(_emscripten_bind_Pix_get_spp_0=Module["_emscripten_bind_Pix_get_spp_0"]=Module["asm"]["Gc"]).apply(null,arguments)};var _emscripten_bind_Pix_get_wpl_0=Module["_emscripten_bind_Pix_get_wpl_0"]=function(){return(_emscripten_bind_Pix_get_wpl_0=Module["_emscripten_bind_Pix_get_wpl_0"]=Module["asm"]["Hc"]).apply(null,arguments)};var _emscripten_bind_Pix_get_refcount_0=Module["_emscripten_bind_Pix_get_refcount_0"]=function(){return(_emscripten_bind_Pix_get_refcount_0=Module["_emscripten_bind_Pix_get_refcount_0"]=Module["asm"]["Ic"]).apply(null,arguments)};var _emscripten_bind_Pix_get_xres_0=Module["_emscripten_bind_Pix_get_xres_0"]=function(){return(_emscripten_bind_Pix_get_xres_0=Module["_emscripten_bind_Pix_get_xres_0"]=Module["asm"]["Jc"]).apply(null,arguments)};var _emscripten_bind_Pix_get_yres_0=Module["_emscripten_bind_Pix_get_yres_0"]=function(){return(_emscripten_bind_Pix_get_yres_0=Module["_emscripten_bind_Pix_get_yres_0"]=Module["asm"]["Kc"]).apply(null,arguments)};var _emscripten_bind_Pix_get_informat_0=Module["_emscripten_bind_Pix_get_informat_0"]=function(){return(_emscripten_bind_Pix_get_informat_0=Module["_emscripten_bind_Pix_get_informat_0"]=Module["asm"]["Lc"]).apply(null,arguments)};var _emscripten_bind_Pix_get_special_0=Module["_emscripten_bind_Pix_get_special_0"]=function(){return(_emscripten_bind_Pix_get_special_0=Module["_emscripten_bind_Pix_get_special_0"]=Module["asm"]["Mc"]).apply(null,arguments)};var _emscripten_bind_Pix_get_text_0=Module["_emscripten_bind_Pix_get_text_0"]=function(){return(_emscripten_bind_Pix_get_text_0=Module["_emscripten_bind_Pix_get_text_0"]=Module["asm"]["Nc"]).apply(null,arguments)};var _emscripten_bind_Pix_get_colormap_0=Module["_emscripten_bind_Pix_get_colormap_0"]=function(){return(_emscripten_bind_Pix_get_colormap_0=Module["_emscripten_bind_Pix_get_colormap_0"]=Module["asm"]["Oc"]).apply(null,arguments)};var _emscripten_bind_Pix_get_data_0=Module["_emscripten_bind_Pix_get_data_0"]=function(){return(_emscripten_bind_Pix_get_data_0=Module["_emscripten_bind_Pix_get_data_0"]=Module["asm"]["Pc"]).apply(null,arguments)};var _emscripten_bind_Pix___destroy___0=Module["_emscripten_bind_Pix___destroy___0"]=function(){return(_emscripten_bind_Pix___destroy___0=Module["_emscripten_bind_Pix___destroy___0"]=Module["asm"]["Qc"]).apply(null,arguments)};var _emscripten_bind_DoublePtr___destroy___0=Module["_emscripten_bind_DoublePtr___destroy___0"]=function(){return(_emscripten_bind_DoublePtr___destroy___0=Module["_emscripten_bind_DoublePtr___destroy___0"]=Module["asm"]["Rc"]).apply(null,arguments)};var _emscripten_bind_Dawg___destroy___0=Module["_emscripten_bind_Dawg___destroy___0"]=function(){return(_emscripten_bind_Dawg___destroy___0=Module["_emscripten_bind_Dawg___destroy___0"]=Module["asm"]["Sc"]).apply(null,arguments)};var _emscripten_bind_BoxPtr___destroy___0=Module["_emscripten_bind_BoxPtr___destroy___0"]=function(){return(_emscripten_bind_BoxPtr___destroy___0=Module["_emscripten_bind_BoxPtr___destroy___0"]=Module["asm"]["Tc"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_TessBaseAPI_0=Module["_emscripten_bind_TessBaseAPI_TessBaseAPI_0"]=function(){return(_emscripten_bind_TessBaseAPI_TessBaseAPI_0=Module["_emscripten_bind_TessBaseAPI_TessBaseAPI_0"]=Module["asm"]["Uc"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_Version_0=Module["_emscripten_bind_TessBaseAPI_Version_0"]=function(){return(_emscripten_bind_TessBaseAPI_Version_0=Module["_emscripten_bind_TessBaseAPI_Version_0"]=Module["asm"]["Vc"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_CatchSignals_0=Module["_emscripten_bind_TessBaseAPI_CatchSignals_0"]=function(){return(_emscripten_bind_TessBaseAPI_CatchSignals_0=Module["_emscripten_bind_TessBaseAPI_CatchSignals_0"]=Module["asm"]["Wc"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_SetInputName_1=Module["_emscripten_bind_TessBaseAPI_SetInputName_1"]=function(){return(_emscripten_bind_TessBaseAPI_SetInputName_1=Module["_emscripten_bind_TessBaseAPI_SetInputName_1"]=Module["asm"]["Xc"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetInputName_0=Module["_emscripten_bind_TessBaseAPI_GetInputName_0"]=function(){return(_emscripten_bind_TessBaseAPI_GetInputName_0=Module["_emscripten_bind_TessBaseAPI_GetInputName_0"]=Module["asm"]["Yc"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_SetInputImage_1=Module["_emscripten_bind_TessBaseAPI_SetInputImage_1"]=function(){return(_emscripten_bind_TessBaseAPI_SetInputImage_1=Module["_emscripten_bind_TessBaseAPI_SetInputImage_1"]=Module["asm"]["Zc"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetInputImage_0=Module["_emscripten_bind_TessBaseAPI_GetInputImage_0"]=function(){return(_emscripten_bind_TessBaseAPI_GetInputImage_0=Module["_emscripten_bind_TessBaseAPI_GetInputImage_0"]=Module["asm"]["_c"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetSourceYResolution_0=Module["_emscripten_bind_TessBaseAPI_GetSourceYResolution_0"]=function(){return(_emscripten_bind_TessBaseAPI_GetSourceYResolution_0=Module["_emscripten_bind_TessBaseAPI_GetSourceYResolution_0"]=Module["asm"]["$c"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetDatapath_0=Module["_emscripten_bind_TessBaseAPI_GetDatapath_0"]=function(){return(_emscripten_bind_TessBaseAPI_GetDatapath_0=Module["_emscripten_bind_TessBaseAPI_GetDatapath_0"]=Module["asm"]["ad"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_SetOutputName_1=Module["_emscripten_bind_TessBaseAPI_SetOutputName_1"]=function(){return(_emscripten_bind_TessBaseAPI_SetOutputName_1=Module["_emscripten_bind_TessBaseAPI_SetOutputName_1"]=Module["asm"]["bd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_SetVariable_2=Module["_emscripten_bind_TessBaseAPI_SetVariable_2"]=function(){return(_emscripten_bind_TessBaseAPI_SetVariable_2=Module["_emscripten_bind_TessBaseAPI_SetVariable_2"]=Module["asm"]["cd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_SetDebugVariable_2=Module["_emscripten_bind_TessBaseAPI_SetDebugVariable_2"]=function(){return(_emscripten_bind_TessBaseAPI_SetDebugVariable_2=Module["_emscripten_bind_TessBaseAPI_SetDebugVariable_2"]=Module["asm"]["dd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetIntVariable_2=Module["_emscripten_bind_TessBaseAPI_GetIntVariable_2"]=function(){return(_emscripten_bind_TessBaseAPI_GetIntVariable_2=Module["_emscripten_bind_TessBaseAPI_GetIntVariable_2"]=Module["asm"]["ed"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetBoolVariable_2=Module["_emscripten_bind_TessBaseAPI_GetBoolVariable_2"]=function(){return(_emscripten_bind_TessBaseAPI_GetBoolVariable_2=Module["_emscripten_bind_TessBaseAPI_GetBoolVariable_2"]=Module["asm"]["fd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetDoubleVariable_2=Module["_emscripten_bind_TessBaseAPI_GetDoubleVariable_2"]=function(){return(_emscripten_bind_TessBaseAPI_GetDoubleVariable_2=Module["_emscripten_bind_TessBaseAPI_GetDoubleVariable_2"]=Module["asm"]["gd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetStringVariable_1=Module["_emscripten_bind_TessBaseAPI_GetStringVariable_1"]=function(){return(_emscripten_bind_TessBaseAPI_GetStringVariable_1=Module["_emscripten_bind_TessBaseAPI_GetStringVariable_1"]=Module["asm"]["hd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_PrintVariables_0=Module["_emscripten_bind_TessBaseAPI_PrintVariables_0"]=function(){return(_emscripten_bind_TessBaseAPI_PrintVariables_0=Module["_emscripten_bind_TessBaseAPI_PrintVariables_0"]=Module["asm"]["id"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_Init_2=Module["_emscripten_bind_TessBaseAPI_Init_2"]=function(){return(_emscripten_bind_TessBaseAPI_Init_2=Module["_emscripten_bind_TessBaseAPI_Init_2"]=Module["asm"]["jd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_Init_3=Module["_emscripten_bind_TessBaseAPI_Init_3"]=function(){return(_emscripten_bind_TessBaseAPI_Init_3=Module["_emscripten_bind_TessBaseAPI_Init_3"]=Module["asm"]["kd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetInitLanguagesAsString_0=Module["_emscripten_bind_TessBaseAPI_GetInitLanguagesAsString_0"]=function(){return(_emscripten_bind_TessBaseAPI_GetInitLanguagesAsString_0=Module["_emscripten_bind_TessBaseAPI_GetInitLanguagesAsString_0"]=Module["asm"]["ld"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_InitLangMod_2=Module["_emscripten_bind_TessBaseAPI_InitLangMod_2"]=function(){return(_emscripten_bind_TessBaseAPI_InitLangMod_2=Module["_emscripten_bind_TessBaseAPI_InitLangMod_2"]=Module["asm"]["md"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_InitForAnalysePage_0=Module["_emscripten_bind_TessBaseAPI_InitForAnalysePage_0"]=function(){return(_emscripten_bind_TessBaseAPI_InitForAnalysePage_0=Module["_emscripten_bind_TessBaseAPI_InitForAnalysePage_0"]=Module["asm"]["nd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_ReadConfigFile_1=Module["_emscripten_bind_TessBaseAPI_ReadConfigFile_1"]=function(){return(_emscripten_bind_TessBaseAPI_ReadConfigFile_1=Module["_emscripten_bind_TessBaseAPI_ReadConfigFile_1"]=Module["asm"]["od"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_ReadDebugConfigFile_1=Module["_emscripten_bind_TessBaseAPI_ReadDebugConfigFile_1"]=function(){return(_emscripten_bind_TessBaseAPI_ReadDebugConfigFile_1=Module["_emscripten_bind_TessBaseAPI_ReadDebugConfigFile_1"]=Module["asm"]["pd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_SetPageSegMode_1=Module["_emscripten_bind_TessBaseAPI_SetPageSegMode_1"]=function(){return(_emscripten_bind_TessBaseAPI_SetPageSegMode_1=Module["_emscripten_bind_TessBaseAPI_SetPageSegMode_1"]=Module["asm"]["qd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetPageSegMode_0=Module["_emscripten_bind_TessBaseAPI_GetPageSegMode_0"]=function(){return(_emscripten_bind_TessBaseAPI_GetPageSegMode_0=Module["_emscripten_bind_TessBaseAPI_GetPageSegMode_0"]=Module["asm"]["rd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_TesseractRect_7=Module["_emscripten_bind_TessBaseAPI_TesseractRect_7"]=function(){return(_emscripten_bind_TessBaseAPI_TesseractRect_7=Module["_emscripten_bind_TessBaseAPI_TesseractRect_7"]=Module["asm"]["sd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_ClearAdaptiveClassifier_0=Module["_emscripten_bind_TessBaseAPI_ClearAdaptiveClassifier_0"]=function(){return(_emscripten_bind_TessBaseAPI_ClearAdaptiveClassifier_0=Module["_emscripten_bind_TessBaseAPI_ClearAdaptiveClassifier_0"]=Module["asm"]["td"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_SetImage_1=Module["_emscripten_bind_TessBaseAPI_SetImage_1"]=function(){return(_emscripten_bind_TessBaseAPI_SetImage_1=Module["_emscripten_bind_TessBaseAPI_SetImage_1"]=Module["asm"]["ud"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_SetImage_5=Module["_emscripten_bind_TessBaseAPI_SetImage_5"]=function(){return(_emscripten_bind_TessBaseAPI_SetImage_5=Module["_emscripten_bind_TessBaseAPI_SetImage_5"]=Module["asm"]["vd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_SetSourceResolution_1=Module["_emscripten_bind_TessBaseAPI_SetSourceResolution_1"]=function(){return(_emscripten_bind_TessBaseAPI_SetSourceResolution_1=Module["_emscripten_bind_TessBaseAPI_SetSourceResolution_1"]=Module["asm"]["wd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_SetRectangle_4=Module["_emscripten_bind_TessBaseAPI_SetRectangle_4"]=function(){return(_emscripten_bind_TessBaseAPI_SetRectangle_4=Module["_emscripten_bind_TessBaseAPI_SetRectangle_4"]=Module["asm"]["xd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetThresholdedImage_0=Module["_emscripten_bind_TessBaseAPI_GetThresholdedImage_0"]=function(){return(_emscripten_bind_TessBaseAPI_GetThresholdedImage_0=Module["_emscripten_bind_TessBaseAPI_GetThresholdedImage_0"]=Module["asm"]["yd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetRegions_1=Module["_emscripten_bind_TessBaseAPI_GetRegions_1"]=function(){return(_emscripten_bind_TessBaseAPI_GetRegions_1=Module["_emscripten_bind_TessBaseAPI_GetRegions_1"]=Module["asm"]["zd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetTextlines_2=Module["_emscripten_bind_TessBaseAPI_GetTextlines_2"]=function(){return(_emscripten_bind_TessBaseAPI_GetTextlines_2=Module["_emscripten_bind_TessBaseAPI_GetTextlines_2"]=Module["asm"]["Ad"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetTextlines_5=Module["_emscripten_bind_TessBaseAPI_GetTextlines_5"]=function(){return(_emscripten_bind_TessBaseAPI_GetTextlines_5=Module["_emscripten_bind_TessBaseAPI_GetTextlines_5"]=Module["asm"]["Bd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetStrips_2=Module["_emscripten_bind_TessBaseAPI_GetStrips_2"]=function(){return(_emscripten_bind_TessBaseAPI_GetStrips_2=Module["_emscripten_bind_TessBaseAPI_GetStrips_2"]=Module["asm"]["Cd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetWords_1=Module["_emscripten_bind_TessBaseAPI_GetWords_1"]=function(){return(_emscripten_bind_TessBaseAPI_GetWords_1=Module["_emscripten_bind_TessBaseAPI_GetWords_1"]=Module["asm"]["Dd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetConnectedComponents_1=Module["_emscripten_bind_TessBaseAPI_GetConnectedComponents_1"]=function(){return(_emscripten_bind_TessBaseAPI_GetConnectedComponents_1=Module["_emscripten_bind_TessBaseAPI_GetConnectedComponents_1"]=Module["asm"]["Ed"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetComponentImages_4=Module["_emscripten_bind_TessBaseAPI_GetComponentImages_4"]=function(){return(_emscripten_bind_TessBaseAPI_GetComponentImages_4=Module["_emscripten_bind_TessBaseAPI_GetComponentImages_4"]=Module["asm"]["Fd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetComponentImages_7=Module["_emscripten_bind_TessBaseAPI_GetComponentImages_7"]=function(){return(_emscripten_bind_TessBaseAPI_GetComponentImages_7=Module["_emscripten_bind_TessBaseAPI_GetComponentImages_7"]=Module["asm"]["Gd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetThresholdedImageScaleFactor_0=Module["_emscripten_bind_TessBaseAPI_GetThresholdedImageScaleFactor_0"]=function(){return(_emscripten_bind_TessBaseAPI_GetThresholdedImageScaleFactor_0=Module["_emscripten_bind_TessBaseAPI_GetThresholdedImageScaleFactor_0"]=Module["asm"]["Hd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_AnalyseLayout_0=Module["_emscripten_bind_TessBaseAPI_AnalyseLayout_0"]=function(){return(_emscripten_bind_TessBaseAPI_AnalyseLayout_0=Module["_emscripten_bind_TessBaseAPI_AnalyseLayout_0"]=Module["asm"]["Id"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_AnalyseLayout_1=Module["_emscripten_bind_TessBaseAPI_AnalyseLayout_1"]=function(){return(_emscripten_bind_TessBaseAPI_AnalyseLayout_1=Module["_emscripten_bind_TessBaseAPI_AnalyseLayout_1"]=Module["asm"]["Jd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_Recognize_1=Module["_emscripten_bind_TessBaseAPI_Recognize_1"]=function(){return(_emscripten_bind_TessBaseAPI_Recognize_1=Module["_emscripten_bind_TessBaseAPI_Recognize_1"]=Module["asm"]["Kd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_RecognizeForChopTest_1=Module["_emscripten_bind_TessBaseAPI_RecognizeForChopTest_1"]=function(){return(_emscripten_bind_TessBaseAPI_RecognizeForChopTest_1=Module["_emscripten_bind_TessBaseAPI_RecognizeForChopTest_1"]=Module["asm"]["Ld"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_ProcessPages_4=Module["_emscripten_bind_TessBaseAPI_ProcessPages_4"]=function(){return(_emscripten_bind_TessBaseAPI_ProcessPages_4=Module["_emscripten_bind_TessBaseAPI_ProcessPages_4"]=Module["asm"]["Md"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_ProcessPage_6=Module["_emscripten_bind_TessBaseAPI_ProcessPage_6"]=function(){return(_emscripten_bind_TessBaseAPI_ProcessPage_6=Module["_emscripten_bind_TessBaseAPI_ProcessPage_6"]=Module["asm"]["Nd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetIterator_0=Module["_emscripten_bind_TessBaseAPI_GetIterator_0"]=function(){return(_emscripten_bind_TessBaseAPI_GetIterator_0=Module["_emscripten_bind_TessBaseAPI_GetIterator_0"]=Module["asm"]["Od"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetUTF8Text_0=Module["_emscripten_bind_TessBaseAPI_GetUTF8Text_0"]=function(){return(_emscripten_bind_TessBaseAPI_GetUTF8Text_0=Module["_emscripten_bind_TessBaseAPI_GetUTF8Text_0"]=Module["asm"]["Pd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetHOCRText_1=Module["_emscripten_bind_TessBaseAPI_GetHOCRText_1"]=function(){return(_emscripten_bind_TessBaseAPI_GetHOCRText_1=Module["_emscripten_bind_TessBaseAPI_GetHOCRText_1"]=Module["asm"]["Qd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetTSVText_1=Module["_emscripten_bind_TessBaseAPI_GetTSVText_1"]=function(){return(_emscripten_bind_TessBaseAPI_GetTSVText_1=Module["_emscripten_bind_TessBaseAPI_GetTSVText_1"]=Module["asm"]["Rd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetBoxText_1=Module["_emscripten_bind_TessBaseAPI_GetBoxText_1"]=function(){return(_emscripten_bind_TessBaseAPI_GetBoxText_1=Module["_emscripten_bind_TessBaseAPI_GetBoxText_1"]=Module["asm"]["Sd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetUNLVText_0=Module["_emscripten_bind_TessBaseAPI_GetUNLVText_0"]=function(){return(_emscripten_bind_TessBaseAPI_GetUNLVText_0=Module["_emscripten_bind_TessBaseAPI_GetUNLVText_0"]=Module["asm"]["Td"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetOsdText_1=Module["_emscripten_bind_TessBaseAPI_GetOsdText_1"]=function(){return(_emscripten_bind_TessBaseAPI_GetOsdText_1=Module["_emscripten_bind_TessBaseAPI_GetOsdText_1"]=Module["asm"]["Ud"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_MeanTextConf_0=Module["_emscripten_bind_TessBaseAPI_MeanTextConf_0"]=function(){return(_emscripten_bind_TessBaseAPI_MeanTextConf_0=Module["_emscripten_bind_TessBaseAPI_MeanTextConf_0"]=Module["asm"]["Vd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_AllWordConfidences_0=Module["_emscripten_bind_TessBaseAPI_AllWordConfidences_0"]=function(){return(_emscripten_bind_TessBaseAPI_AllWordConfidences_0=Module["_emscripten_bind_TessBaseAPI_AllWordConfidences_0"]=Module["asm"]["Wd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_AdaptToWordStr_2=Module["_emscripten_bind_TessBaseAPI_AdaptToWordStr_2"]=function(){return(_emscripten_bind_TessBaseAPI_AdaptToWordStr_2=Module["_emscripten_bind_TessBaseAPI_AdaptToWordStr_2"]=Module["asm"]["Xd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_Clear_0=Module["_emscripten_bind_TessBaseAPI_Clear_0"]=function(){return(_emscripten_bind_TessBaseAPI_Clear_0=Module["_emscripten_bind_TessBaseAPI_Clear_0"]=Module["asm"]["Yd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_End_0=Module["_emscripten_bind_TessBaseAPI_End_0"]=function(){return(_emscripten_bind_TessBaseAPI_End_0=Module["_emscripten_bind_TessBaseAPI_End_0"]=Module["asm"]["Zd"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_ClearPersistentCache_0=Module["_emscripten_bind_TessBaseAPI_ClearPersistentCache_0"]=function(){return(_emscripten_bind_TessBaseAPI_ClearPersistentCache_0=Module["_emscripten_bind_TessBaseAPI_ClearPersistentCache_0"]=Module["asm"]["_d"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_IsValidWord_1=Module["_emscripten_bind_TessBaseAPI_IsValidWord_1"]=function(){return(_emscripten_bind_TessBaseAPI_IsValidWord_1=Module["_emscripten_bind_TessBaseAPI_IsValidWord_1"]=Module["asm"]["$d"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_IsValidCharacter_1=Module["_emscripten_bind_TessBaseAPI_IsValidCharacter_1"]=function(){return(_emscripten_bind_TessBaseAPI_IsValidCharacter_1=Module["_emscripten_bind_TessBaseAPI_IsValidCharacter_1"]=Module["asm"]["ae"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_DetectOS_1=Module["_emscripten_bind_TessBaseAPI_DetectOS_1"]=function(){return(_emscripten_bind_TessBaseAPI_DetectOS_1=Module["_emscripten_bind_TessBaseAPI_DetectOS_1"]=Module["asm"]["be"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetUnichar_1=Module["_emscripten_bind_TessBaseAPI_GetUnichar_1"]=function(){return(_emscripten_bind_TessBaseAPI_GetUnichar_1=Module["_emscripten_bind_TessBaseAPI_GetUnichar_1"]=Module["asm"]["ce"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_GetDawg_1=Module["_emscripten_bind_TessBaseAPI_GetDawg_1"]=function(){return(_emscripten_bind_TessBaseAPI_GetDawg_1=Module["_emscripten_bind_TessBaseAPI_GetDawg_1"]=Module["asm"]["de"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_NumDawgs_0=Module["_emscripten_bind_TessBaseAPI_NumDawgs_0"]=function(){return(_emscripten_bind_TessBaseAPI_NumDawgs_0=Module["_emscripten_bind_TessBaseAPI_NumDawgs_0"]=Module["asm"]["ee"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI_oem_0=Module["_emscripten_bind_TessBaseAPI_oem_0"]=function(){return(_emscripten_bind_TessBaseAPI_oem_0=Module["_emscripten_bind_TessBaseAPI_oem_0"]=Module["asm"]["fe"]).apply(null,arguments)};var _emscripten_bind_TessBaseAPI___destroy___0=Module["_emscripten_bind_TessBaseAPI___destroy___0"]=function(){return(_emscripten_bind_TessBaseAPI___destroy___0=Module["_emscripten_bind_TessBaseAPI___destroy___0"]=Module["asm"]["ge"]).apply(null,arguments)};var _emscripten_bind_OSResults_OSResults_0=Module["_emscripten_bind_OSResults_OSResults_0"]=function(){return(_emscripten_bind_OSResults_OSResults_0=Module["_emscripten_bind_OSResults_OSResults_0"]=Module["asm"]["he"]).apply(null,arguments)};var _emscripten_bind_OSResults_print_scores_0=Module["_emscripten_bind_OSResults_print_scores_0"]=function(){return(_emscripten_bind_OSResults_print_scores_0=Module["_emscripten_bind_OSResults_print_scores_0"]=Module["asm"]["ie"]).apply(null,arguments)};var _emscripten_bind_OSResults_get_best_result_0=Module["_emscripten_bind_OSResults_get_best_result_0"]=function(){return(_emscripten_bind_OSResults_get_best_result_0=Module["_emscripten_bind_OSResults_get_best_result_0"]=Module["asm"]["je"]).apply(null,arguments)};var _emscripten_bind_OSResults_get_unicharset_0=Module["_emscripten_bind_OSResults_get_unicharset_0"]=function(){return(_emscripten_bind_OSResults_get_unicharset_0=Module["_emscripten_bind_OSResults_get_unicharset_0"]=Module["asm"]["ke"]).apply(null,arguments)};var _emscripten_bind_OSResults___destroy___0=Module["_emscripten_bind_OSResults___destroy___0"]=function(){return(_emscripten_bind_OSResults___destroy___0=Module["_emscripten_bind_OSResults___destroy___0"]=Module["asm"]["le"]).apply(null,arguments)};var _emscripten_bind_Pixa_get_n_0=Module["_emscripten_bind_Pixa_get_n_0"]=function(){return(_emscripten_bind_Pixa_get_n_0=Module["_emscripten_bind_Pixa_get_n_0"]=Module["asm"]["me"]).apply(null,arguments)};var _emscripten_bind_Pixa_get_nalloc_0=Module["_emscripten_bind_Pixa_get_nalloc_0"]=function(){return(_emscripten_bind_Pixa_get_nalloc_0=Module["_emscripten_bind_Pixa_get_nalloc_0"]=Module["asm"]["ne"]).apply(null,arguments)};var _emscripten_bind_Pixa_get_refcount_0=Module["_emscripten_bind_Pixa_get_refcount_0"]=function(){return(_emscripten_bind_Pixa_get_refcount_0=Module["_emscripten_bind_Pixa_get_refcount_0"]=Module["asm"]["oe"]).apply(null,arguments)};var _emscripten_bind_Pixa_get_pix_0=Module["_emscripten_bind_Pixa_get_pix_0"]=function(){return(_emscripten_bind_Pixa_get_pix_0=Module["_emscripten_bind_Pixa_get_pix_0"]=Module["asm"]["pe"]).apply(null,arguments)};var _emscripten_bind_Pixa_get_boxa_0=Module["_emscripten_bind_Pixa_get_boxa_0"]=function(){return(_emscripten_bind_Pixa_get_boxa_0=Module["_emscripten_bind_Pixa_get_boxa_0"]=Module["asm"]["qe"]).apply(null,arguments)};var _emscripten_bind_Pixa___destroy___0=Module["_emscripten_bind_Pixa___destroy___0"]=function(){return(_emscripten_bind_Pixa___destroy___0=Module["_emscripten_bind_Pixa___destroy___0"]=Module["asm"]["re"]).apply(null,arguments)};var _emscripten_enum_PageIteratorLevel_RIL_BLOCK=Module["_emscripten_enum_PageIteratorLevel_RIL_BLOCK"]=function(){return(_emscripten_enum_PageIteratorLevel_RIL_BLOCK=Module["_emscripten_enum_PageIteratorLevel_RIL_BLOCK"]=Module["asm"]["se"]).apply(null,arguments)};var _emscripten_enum_PageIteratorLevel_RIL_PARA=Module["_emscripten_enum_PageIteratorLevel_RIL_PARA"]=function(){return(_emscripten_enum_PageIteratorLevel_RIL_PARA=Module["_emscripten_enum_PageIteratorLevel_RIL_PARA"]=Module["asm"]["te"]).apply(null,arguments)};var _emscripten_enum_PageIteratorLevel_RIL_TEXTLINE=Module["_emscripten_enum_PageIteratorLevel_RIL_TEXTLINE"]=function(){return(_emscripten_enum_PageIteratorLevel_RIL_TEXTLINE=Module["_emscripten_enum_PageIteratorLevel_RIL_TEXTLINE"]=Module["asm"]["ue"]).apply(null,arguments)};var _emscripten_enum_PageIteratorLevel_RIL_WORD=Module["_emscripten_enum_PageIteratorLevel_RIL_WORD"]=function(){return(_emscripten_enum_PageIteratorLevel_RIL_WORD=Module["_emscripten_enum_PageIteratorLevel_RIL_WORD"]=Module["asm"]["ve"]).apply(null,arguments)};var _emscripten_enum_PageIteratorLevel_RIL_SYMBOL=Module["_emscripten_enum_PageIteratorLevel_RIL_SYMBOL"]=function(){return(_emscripten_enum_PageIteratorLevel_RIL_SYMBOL=Module["_emscripten_enum_PageIteratorLevel_RIL_SYMBOL"]=Module["asm"]["we"]).apply(null,arguments)};var _emscripten_enum_OcrEngineMode_OEM_TESSERACT_ONLY=Module["_emscripten_enum_OcrEngineMode_OEM_TESSERACT_ONLY"]=function(){return(_emscripten_enum_OcrEngineMode_OEM_TESSERACT_ONLY=Module["_emscripten_enum_OcrEngineMode_OEM_TESSERACT_ONLY"]=Module["asm"]["xe"]).apply(null,arguments)};var _emscripten_enum_OcrEngineMode_OEM_LSTM_ONLY=Module["_emscripten_enum_OcrEngineMode_OEM_LSTM_ONLY"]=function(){return(_emscripten_enum_OcrEngineMode_OEM_LSTM_ONLY=Module["_emscripten_enum_OcrEngineMode_OEM_LSTM_ONLY"]=Module["asm"]["ye"]).apply(null,arguments)};var _emscripten_enum_OcrEngineMode_OEM_TESSERACT_LSTM_COMBINED=Module["_emscripten_enum_OcrEngineMode_OEM_TESSERACT_LSTM_COMBINED"]=function(){return(_emscripten_enum_OcrEngineMode_OEM_TESSERACT_LSTM_COMBINED=Module["_emscripten_enum_OcrEngineMode_OEM_TESSERACT_LSTM_COMBINED"]=Module["asm"]["ze"]).apply(null,arguments)};var _emscripten_enum_OcrEngineMode_OEM_DEFAULT=Module["_emscripten_enum_OcrEngineMode_OEM_DEFAULT"]=function(){return(_emscripten_enum_OcrEngineMode_OEM_DEFAULT=Module["_emscripten_enum_OcrEngineMode_OEM_DEFAULT"]=Module["asm"]["Ae"]).apply(null,arguments)};var _emscripten_enum_OcrEngineMode_OEM_COUNT=Module["_emscripten_enum_OcrEngineMode_OEM_COUNT"]=function(){return(_emscripten_enum_OcrEngineMode_OEM_COUNT=Module["_emscripten_enum_OcrEngineMode_OEM_COUNT"]=Module["asm"]["Be"]).apply(null,arguments)};var _emscripten_enum_WritingDirection__WRITING_DIRECTION_LEFT_TO_RIGHT=Module["_emscripten_enum_WritingDirection__WRITING_DIRECTION_LEFT_TO_RIGHT"]=function(){return(_emscripten_enum_WritingDirection__WRITING_DIRECTION_LEFT_TO_RIGHT=Module["_emscripten_enum_WritingDirection__WRITING_DIRECTION_LEFT_TO_RIGHT"]=Module["asm"]["Ce"]).apply(null,arguments)};var _emscripten_enum_WritingDirection__WRITING_DIRECTION_RIGHT_TO_LEFT=Module["_emscripten_enum_WritingDirection__WRITING_DIRECTION_RIGHT_TO_LEFT"]=function(){return(_emscripten_enum_WritingDirection__WRITING_DIRECTION_RIGHT_TO_LEFT=Module["_emscripten_enum_WritingDirection__WRITING_DIRECTION_RIGHT_TO_LEFT"]=Module["asm"]["De"]).apply(null,arguments)};var _emscripten_enum_WritingDirection__WRITING_DIRECTION_TOP_TO_BOTTOM=Module["_emscripten_enum_WritingDirection__WRITING_DIRECTION_TOP_TO_BOTTOM"]=function(){return(_emscripten_enum_WritingDirection__WRITING_DIRECTION_TOP_TO_BOTTOM=Module["_emscripten_enum_WritingDirection__WRITING_DIRECTION_TOP_TO_BOTTOM"]=Module["asm"]["Ee"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_UNKNOWN=Module["_emscripten_enum_PolyBlockType_PT_UNKNOWN"]=function(){return(_emscripten_enum_PolyBlockType_PT_UNKNOWN=Module["_emscripten_enum_PolyBlockType_PT_UNKNOWN"]=Module["asm"]["Fe"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_FLOWING_TEXT=Module["_emscripten_enum_PolyBlockType_PT_FLOWING_TEXT"]=function(){return(_emscripten_enum_PolyBlockType_PT_FLOWING_TEXT=Module["_emscripten_enum_PolyBlockType_PT_FLOWING_TEXT"]=Module["asm"]["Ge"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_HEADING_TEXT=Module["_emscripten_enum_PolyBlockType_PT_HEADING_TEXT"]=function(){return(_emscripten_enum_PolyBlockType_PT_HEADING_TEXT=Module["_emscripten_enum_PolyBlockType_PT_HEADING_TEXT"]=Module["asm"]["He"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_PULLOUT_TEXT=Module["_emscripten_enum_PolyBlockType_PT_PULLOUT_TEXT"]=function(){return(_emscripten_enum_PolyBlockType_PT_PULLOUT_TEXT=Module["_emscripten_enum_PolyBlockType_PT_PULLOUT_TEXT"]=Module["asm"]["Ie"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_EQUATION=Module["_emscripten_enum_PolyBlockType_PT_EQUATION"]=function(){return(_emscripten_enum_PolyBlockType_PT_EQUATION=Module["_emscripten_enum_PolyBlockType_PT_EQUATION"]=Module["asm"]["Je"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_INLINE_EQUATION=Module["_emscripten_enum_PolyBlockType_PT_INLINE_EQUATION"]=function(){return(_emscripten_enum_PolyBlockType_PT_INLINE_EQUATION=Module["_emscripten_enum_PolyBlockType_PT_INLINE_EQUATION"]=Module["asm"]["Ke"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_TABLE=Module["_emscripten_enum_PolyBlockType_PT_TABLE"]=function(){return(_emscripten_enum_PolyBlockType_PT_TABLE=Module["_emscripten_enum_PolyBlockType_PT_TABLE"]=Module["asm"]["Le"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_VERTICAL_TEXT=Module["_emscripten_enum_PolyBlockType_PT_VERTICAL_TEXT"]=function(){return(_emscripten_enum_PolyBlockType_PT_VERTICAL_TEXT=Module["_emscripten_enum_PolyBlockType_PT_VERTICAL_TEXT"]=Module["asm"]["Me"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_CAPTION_TEXT=Module["_emscripten_enum_PolyBlockType_PT_CAPTION_TEXT"]=function(){return(_emscripten_enum_PolyBlockType_PT_CAPTION_TEXT=Module["_emscripten_enum_PolyBlockType_PT_CAPTION_TEXT"]=Module["asm"]["Ne"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_FLOWING_IMAGE=Module["_emscripten_enum_PolyBlockType_PT_FLOWING_IMAGE"]=function(){return(_emscripten_enum_PolyBlockType_PT_FLOWING_IMAGE=Module["_emscripten_enum_PolyBlockType_PT_FLOWING_IMAGE"]=Module["asm"]["Oe"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_HEADING_IMAGE=Module["_emscripten_enum_PolyBlockType_PT_HEADING_IMAGE"]=function(){return(_emscripten_enum_PolyBlockType_PT_HEADING_IMAGE=Module["_emscripten_enum_PolyBlockType_PT_HEADING_IMAGE"]=Module["asm"]["Pe"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_PULLOUT_IMAGE=Module["_emscripten_enum_PolyBlockType_PT_PULLOUT_IMAGE"]=function(){return(_emscripten_enum_PolyBlockType_PT_PULLOUT_IMAGE=Module["_emscripten_enum_PolyBlockType_PT_PULLOUT_IMAGE"]=Module["asm"]["Qe"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_HORZ_LINE=Module["_emscripten_enum_PolyBlockType_PT_HORZ_LINE"]=function(){return(_emscripten_enum_PolyBlockType_PT_HORZ_LINE=Module["_emscripten_enum_PolyBlockType_PT_HORZ_LINE"]=Module["asm"]["Re"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_VERT_LINE=Module["_emscripten_enum_PolyBlockType_PT_VERT_LINE"]=function(){return(_emscripten_enum_PolyBlockType_PT_VERT_LINE=Module["_emscripten_enum_PolyBlockType_PT_VERT_LINE"]=Module["asm"]["Se"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_NOISE=Module["_emscripten_enum_PolyBlockType_PT_NOISE"]=function(){return(_emscripten_enum_PolyBlockType_PT_NOISE=Module["_emscripten_enum_PolyBlockType_PT_NOISE"]=Module["asm"]["Te"]).apply(null,arguments)};var _emscripten_enum_PolyBlockType_PT_COUNT=Module["_emscripten_enum_PolyBlockType_PT_COUNT"]=function(){return(_emscripten_enum_PolyBlockType_PT_COUNT=Module["_emscripten_enum_PolyBlockType_PT_COUNT"]=Module["asm"]["Ue"]).apply(null,arguments)};var _emscripten_enum_StrongScriptDirection_DIR_NEUTRAL=Module["_emscripten_enum_StrongScriptDirection_DIR_NEUTRAL"]=function(){return(_emscripten_enum_StrongScriptDirection_DIR_NEUTRAL=Module["_emscripten_enum_StrongScriptDirection_DIR_NEUTRAL"]=Module["asm"]["Ve"]).apply(null,arguments)};var _emscripten_enum_StrongScriptDirection_DIR_LEFT_TO_RIGHT=Module["_emscripten_enum_StrongScriptDirection_DIR_LEFT_TO_RIGHT"]=function(){return(_emscripten_enum_StrongScriptDirection_DIR_LEFT_TO_RIGHT=Module["_emscripten_enum_StrongScriptDirection_DIR_LEFT_TO_RIGHT"]=Module["asm"]["We"]).apply(null,arguments)};var _emscripten_enum_StrongScriptDirection_DIR_RIGHT_TO_LEFT=Module["_emscripten_enum_StrongScriptDirection_DIR_RIGHT_TO_LEFT"]=function(){return(_emscripten_enum_StrongScriptDirection_DIR_RIGHT_TO_LEFT=Module["_emscripten_enum_StrongScriptDirection_DIR_RIGHT_TO_LEFT"]=Module["asm"]["Xe"]).apply(null,arguments)};var _emscripten_enum_StrongScriptDirection_DIR_MIX=Module["_emscripten_enum_StrongScriptDirection_DIR_MIX"]=function(){return(_emscripten_enum_StrongScriptDirection_DIR_MIX=Module["_emscripten_enum_StrongScriptDirection_DIR_MIX"]=Module["asm"]["Ye"]).apply(null,arguments)};var _emscripten_enum_ParagraphJustification__JUSTIFICATION_UNKNOWN=Module["_emscripten_enum_ParagraphJustification__JUSTIFICATION_UNKNOWN"]=function(){return(_emscripten_enum_ParagraphJustification__JUSTIFICATION_UNKNOWN=Module["_emscripten_enum_ParagraphJustification__JUSTIFICATION_UNKNOWN"]=Module["asm"]["Ze"]).apply(null,arguments)};var _emscripten_enum_ParagraphJustification__JUSTIFICATION_LEFT=Module["_emscripten_enum_ParagraphJustification__JUSTIFICATION_LEFT"]=function(){return(_emscripten_enum_ParagraphJustification__JUSTIFICATION_LEFT=Module["_emscripten_enum_ParagraphJustification__JUSTIFICATION_LEFT"]=Module["asm"]["_e"]).apply(null,arguments)};var _emscripten_enum_ParagraphJustification__JUSTIFICATION_CENTER=Module["_emscripten_enum_ParagraphJustification__JUSTIFICATION_CENTER"]=function(){return(_emscripten_enum_ParagraphJustification__JUSTIFICATION_CENTER=Module["_emscripten_enum_ParagraphJustification__JUSTIFICATION_CENTER"]=Module["asm"]["$e"]).apply(null,arguments)};var _emscripten_enum_ParagraphJustification__JUSTIFICATION_RIGHT=Module["_emscripten_enum_ParagraphJustification__JUSTIFICATION_RIGHT"]=function(){return(_emscripten_enum_ParagraphJustification__JUSTIFICATION_RIGHT=Module["_emscripten_enum_ParagraphJustification__JUSTIFICATION_RIGHT"]=Module["asm"]["af"]).apply(null,arguments)};var _emscripten_enum_TextlineOrder__TEXTLINE_ORDER_LEFT_TO_RIGHT=Module["_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_LEFT_TO_RIGHT"]=function(){return(_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_LEFT_TO_RIGHT=Module["_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_LEFT_TO_RIGHT"]=Module["asm"]["bf"]).apply(null,arguments)};var _emscripten_enum_TextlineOrder__TEXTLINE_ORDER_RIGHT_TO_LEFT=Module["_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_RIGHT_TO_LEFT"]=function(){return(_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_RIGHT_TO_LEFT=Module["_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_RIGHT_TO_LEFT"]=Module["asm"]["cf"]).apply(null,arguments)};var _emscripten_enum_TextlineOrder__TEXTLINE_ORDER_TOP_TO_BOTTOM=Module["_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_TOP_TO_BOTTOM"]=function(){return(_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_TOP_TO_BOTTOM=Module["_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_TOP_TO_BOTTOM"]=Module["asm"]["df"]).apply(null,arguments)};var _emscripten_enum_Orientation__ORIENTATION_PAGE_UP=Module["_emscripten_enum_Orientation__ORIENTATION_PAGE_UP"]=function(){return(_emscripten_enum_Orientation__ORIENTATION_PAGE_UP=Module["_emscripten_enum_Orientation__ORIENTATION_PAGE_UP"]=Module["asm"]["ef"]).apply(null,arguments)};var _emscripten_enum_Orientation__ORIENTATION_PAGE_RIGHT=Module["_emscripten_enum_Orientation__ORIENTATION_PAGE_RIGHT"]=function(){return(_emscripten_enum_Orientation__ORIENTATION_PAGE_RIGHT=Module["_emscripten_enum_Orientation__ORIENTATION_PAGE_RIGHT"]=Module["asm"]["ff"]).apply(null,arguments)};var _emscripten_enum_Orientation__ORIENTATION_PAGE_DOWN=Module["_emscripten_enum_Orientation__ORIENTATION_PAGE_DOWN"]=function(){return(_emscripten_enum_Orientation__ORIENTATION_PAGE_DOWN=Module["_emscripten_enum_Orientation__ORIENTATION_PAGE_DOWN"]=Module["asm"]["gf"]).apply(null,arguments)};var _emscripten_enum_Orientation__ORIENTATION_PAGE_LEFT=Module["_emscripten_enum_Orientation__ORIENTATION_PAGE_LEFT"]=function(){return(_emscripten_enum_Orientation__ORIENTATION_PAGE_LEFT=Module["_emscripten_enum_Orientation__ORIENTATION_PAGE_LEFT"]=Module["asm"]["hf"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_OSD_ONLY=Module["_emscripten_enum_PageSegMode_PSM_OSD_ONLY"]=function(){return(_emscripten_enum_PageSegMode_PSM_OSD_ONLY=Module["_emscripten_enum_PageSegMode_PSM_OSD_ONLY"]=Module["asm"]["jf"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_AUTO_OSD=Module["_emscripten_enum_PageSegMode_PSM_AUTO_OSD"]=function(){return(_emscripten_enum_PageSegMode_PSM_AUTO_OSD=Module["_emscripten_enum_PageSegMode_PSM_AUTO_OSD"]=Module["asm"]["kf"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_AUTO_ONLY=Module["_emscripten_enum_PageSegMode_PSM_AUTO_ONLY"]=function(){return(_emscripten_enum_PageSegMode_PSM_AUTO_ONLY=Module["_emscripten_enum_PageSegMode_PSM_AUTO_ONLY"]=Module["asm"]["lf"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_AUTO=Module["_emscripten_enum_PageSegMode_PSM_AUTO"]=function(){return(_emscripten_enum_PageSegMode_PSM_AUTO=Module["_emscripten_enum_PageSegMode_PSM_AUTO"]=Module["asm"]["mf"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_SINGLE_COLUMN=Module["_emscripten_enum_PageSegMode_PSM_SINGLE_COLUMN"]=function(){return(_emscripten_enum_PageSegMode_PSM_SINGLE_COLUMN=Module["_emscripten_enum_PageSegMode_PSM_SINGLE_COLUMN"]=Module["asm"]["nf"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK_VERT_TEXT=Module["_emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK_VERT_TEXT"]=function(){return(_emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK_VERT_TEXT=Module["_emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK_VERT_TEXT"]=Module["asm"]["of"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK=Module["_emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK"]=function(){return(_emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK=Module["_emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK"]=Module["asm"]["pf"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_SINGLE_LINE=Module["_emscripten_enum_PageSegMode_PSM_SINGLE_LINE"]=function(){return(_emscripten_enum_PageSegMode_PSM_SINGLE_LINE=Module["_emscripten_enum_PageSegMode_PSM_SINGLE_LINE"]=Module["asm"]["qf"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_SINGLE_WORD=Module["_emscripten_enum_PageSegMode_PSM_SINGLE_WORD"]=function(){return(_emscripten_enum_PageSegMode_PSM_SINGLE_WORD=Module["_emscripten_enum_PageSegMode_PSM_SINGLE_WORD"]=Module["asm"]["rf"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_CIRCLE_WORD=Module["_emscripten_enum_PageSegMode_PSM_CIRCLE_WORD"]=function(){return(_emscripten_enum_PageSegMode_PSM_CIRCLE_WORD=Module["_emscripten_enum_PageSegMode_PSM_CIRCLE_WORD"]=Module["asm"]["sf"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_SINGLE_CHAR=Module["_emscripten_enum_PageSegMode_PSM_SINGLE_CHAR"]=function(){return(_emscripten_enum_PageSegMode_PSM_SINGLE_CHAR=Module["_emscripten_enum_PageSegMode_PSM_SINGLE_CHAR"]=Module["asm"]["tf"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_SPARSE_TEXT=Module["_emscripten_enum_PageSegMode_PSM_SPARSE_TEXT"]=function(){return(_emscripten_enum_PageSegMode_PSM_SPARSE_TEXT=Module["_emscripten_enum_PageSegMode_PSM_SPARSE_TEXT"]=Module["asm"]["uf"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_SPARSE_TEXT_OSD=Module["_emscripten_enum_PageSegMode_PSM_SPARSE_TEXT_OSD"]=function(){return(_emscripten_enum_PageSegMode_PSM_SPARSE_TEXT_OSD=Module["_emscripten_enum_PageSegMode_PSM_SPARSE_TEXT_OSD"]=Module["asm"]["vf"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_RAW_LINE=Module["_emscripten_enum_PageSegMode_PSM_RAW_LINE"]=function(){return(_emscripten_enum_PageSegMode_PSM_RAW_LINE=Module["_emscripten_enum_PageSegMode_PSM_RAW_LINE"]=Module["asm"]["wf"]).apply(null,arguments)};var _emscripten_enum_PageSegMode_PSM_COUNT=Module["_emscripten_enum_PageSegMode_PSM_COUNT"]=function(){return(_emscripten_enum_PageSegMode_PSM_COUNT=Module["_emscripten_enum_PageSegMode_PSM_COUNT"]=Module["asm"]["xf"]).apply(null,arguments)};var _pixDestroy=Module["_pixDestroy"]=function(){return(_pixDestroy=Module["_pixDestroy"]=Module["asm"]["yf"]).apply(null,arguments)};var _pixaDestroy=Module["_pixaDestroy"]=function(){return(_pixaDestroy=Module["_pixaDestroy"]=Module["asm"]["zf"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["Af"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["Bf"]).apply(null,arguments)};var _pixReadMem=Module["_pixReadMem"]=function(){return(_pixReadMem=Module["_pixReadMem"]=Module["asm"]["Cf"]).apply(null,arguments)};var _ptaDestroy=Module["_ptaDestroy"]=function(){return(_ptaDestroy=Module["_ptaDestroy"]=Module["asm"]["Df"]).apply(null,arguments)};var _realloc=Module["_realloc"]=function(){return(_realloc=Module["_realloc"]=Module["asm"]["Ef"]).apply(null,arguments)};var _boxaDestroy=Module["_boxaDestroy"]=function(){return(_boxaDestroy=Module["_boxaDestroy"]=Module["asm"]["Ff"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["Gf"]).apply(null,arguments)};var _pixReadHeaderMem=Module["_pixReadHeaderMem"]=function(){return(_pixReadHeaderMem=Module["_pixReadHeaderMem"]=Module["asm"]["Hf"]).apply(null,arguments)};var __get_tzname=Module["__get_tzname"]=function(){return(__get_tzname=Module["__get_tzname"]=Module["asm"]["If"]).apply(null,arguments)};var __get_daylight=Module["__get_daylight"]=function(){return(__get_daylight=Module["__get_daylight"]=Module["asm"]["Jf"]).apply(null,arguments)};var __get_timezone=Module["__get_timezone"]=function(){return(__get_timezone=Module["__get_timezone"]=Module["asm"]["Kf"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["Lf"]).apply(null,arguments)};var ___cxa_demangle=Module["___cxa_demangle"]=function(){return(___cxa_demangle=Module["___cxa_demangle"]=Module["asm"]["Mf"]).apply(null,arguments)};var _memalign=Module["_memalign"]=function(){return(_memalign=Module["_memalign"]=Module["asm"]["Nf"]).apply(null,arguments)};var dynCall_v=Module["dynCall_v"]=function(){return(dynCall_v=Module["dynCall_v"]=Module["asm"]["Of"]).apply(null,arguments)};var dynCall_vi=Module["dynCall_vi"]=function(){return(dynCall_vi=Module["dynCall_vi"]=Module["asm"]["Pf"]).apply(null,arguments)};var dynCall_vii=Module["dynCall_vii"]=function(){return(dynCall_vii=Module["dynCall_vii"]=Module["asm"]["Qf"]).apply(null,arguments)};var dynCall_viii=Module["dynCall_viii"]=function(){return(dynCall_viii=Module["dynCall_viii"]=Module["asm"]["Rf"]).apply(null,arguments)};var dynCall_viiii=Module["dynCall_viiii"]=function(){return(dynCall_viiii=Module["dynCall_viiii"]=Module["asm"]["Sf"]).apply(null,arguments)};var dynCall_viiiii=Module["dynCall_viiiii"]=function(){return(dynCall_viiiii=Module["dynCall_viiiii"]=Module["asm"]["Tf"]).apply(null,arguments)};var dynCall_viiiiiiiii=Module["dynCall_viiiiiiiii"]=function(){return(dynCall_viiiiiiiii=Module["dynCall_viiiiiiiii"]=Module["asm"]["Uf"]).apply(null,arguments)};var dynCall_viid=Module["dynCall_viid"]=function(){return(dynCall_viid=Module["dynCall_viid"]=Module["asm"]["Vf"]).apply(null,arguments)};var dynCall_ii=Module["dynCall_ii"]=function(){return(dynCall_ii=Module["dynCall_ii"]=Module["asm"]["Wf"]).apply(null,arguments)};var dynCall_iii=Module["dynCall_iii"]=function(){return(dynCall_iii=Module["dynCall_iii"]=Module["asm"]["Xf"]).apply(null,arguments)};var dynCall_iiii=Module["dynCall_iiii"]=function(){return(dynCall_iiii=Module["dynCall_iiii"]=Module["asm"]["Yf"]).apply(null,arguments)};var dynCall_iiiii=Module["dynCall_iiiii"]=function(){return(dynCall_iiiii=Module["dynCall_iiiii"]=Module["asm"]["Zf"]).apply(null,arguments)};var dynCall_iiiiii=Module["dynCall_iiiiii"]=function(){return(dynCall_iiiiii=Module["dynCall_iiiiii"]=Module["asm"]["_f"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["$f"]).apply(null,arguments)};var stackAlloc=Module["stackAlloc"]=function(){return(stackAlloc=Module["stackAlloc"]=Module["asm"]["ag"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["bg"]).apply(null,arguments)};function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return dynCall_iiii(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{dynCall_vi(index,a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_ii(index,a1){var sp=stackSave();try{return dynCall_ii(index,a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{dynCall_viii(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{dynCall_vii(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return dynCall_iii(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return dynCall_iiiii(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{dynCall_viiii(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return dynCall_iiiiii(index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{dynCall_viiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{dynCall_viiiii(index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viid(index,a1,a2,a3){var sp=stackSave();try{dynCall_viid(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_v(index){var sp=stackSave();try{dynCall_v(index)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}Module["asm"]=asm;Module["setValue"]=setValue;Module["getValue"]=getValue;Module["getMemory"]=getMemory;Module["addRunDependency"]=addRunDependency;Module["removeRunDependency"]=removeRunDependency;Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;Module["FS"]=FS;var calledRun;Module["then"]=function(func){if(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}dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0)return;function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;function exit(status,implicit){if(implicit&&noExitRuntime&&status===0){return}if(noExitRuntime){}else{ABORT=true;EXITSTATUS=status;exitRuntime();if(Module["onExit"])Module["onExit"](status)}quit_(status,new ExitStatus(status))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}noExitRuntime=true;run();function WrapperObject(){}WrapperObject.prototype=Object.create(WrapperObject.prototype);WrapperObject.prototype.constructor=WrapperObject;WrapperObject.prototype.__class__=WrapperObject;WrapperObject.__cache__={};Module["WrapperObject"]=WrapperObject;function getCache(__class__){return(__class__||WrapperObject).__cache__}Module["getCache"]=getCache;function wrapPointer(ptr,__class__){var cache=getCache(__class__);var ret=cache[ptr];if(ret)return ret;ret=Object.create((__class__||WrapperObject).prototype);ret.ptr=ptr;return cache[ptr]=ret}Module["wrapPointer"]=wrapPointer;function castObject(obj,__class__){return wrapPointer(obj.ptr,__class__)}Module["castObject"]=castObject;Module["NULL"]=wrapPointer(0);function destroy(obj){if(!obj["__destroy__"])throw"Error: Cannot destroy object. (Did you create it yourself?)";obj["__destroy__"]();delete getCache(obj.__class__)[obj.ptr]}Module["destroy"]=destroy;function compare(obj1,obj2){return obj1.ptr===obj2.ptr}Module["compare"]=compare;function getPointer(obj){return obj.ptr}Module["getPointer"]=getPointer;function getClass(obj){return obj.__class__}Module["getClass"]=getClass;var ensureCache={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(ensureCache.needed){for(var i=0;i<ensureCache.temps.length;i++){Module["_free"](ensureCache.temps[i])}ensureCache.temps.length=0;Module["_free"](ensureCache.buffer);ensureCache.buffer=0;ensureCache.size+=ensureCache.needed;ensureCache.needed=0}if(!ensureCache.buffer){ensureCache.size+=128;ensureCache.buffer=Module["_malloc"](ensureCache.size);assert(ensureCache.buffer)}ensureCache.pos=0},alloc:function(array,view){assert(ensureCache.buffer);var bytes=view.BYTES_PER_ELEMENT;var len=array.length*bytes;len=len+7&-8;var ret;if(ensureCache.pos+len>=ensureCache.size){assert(len>0);ensureCache.needed+=len;ret=Module["_malloc"](len);ensureCache.temps.push(ret)}else{ret=ensureCache.buffer+ensureCache.pos;ensureCache.pos+=len}return ret},copy:function(array,view,offset){var offsetShifted=offset;var bytes=view.BYTES_PER_ELEMENT;switch(bytes){case 2:offsetShifted>>=1;break;case 4:offsetShifted>>=2;break;case 8:offsetShifted>>=3;break}for(var i=0;i<array.length;i++){view[offsetShifted+i]=array[i]}}};function ensureString(value){if(typeof value==="string"){var intArray=intArrayFromString(value);var offset=ensureCache.alloc(intArray,HEAP8);ensureCache.copy(intArray,HEAP8,offset);return offset}return value}function ParagraphJustification(){throw"cannot construct a ParagraphJustification, no constructor in IDL"}ParagraphJustification.prototype=Object.create(WrapperObject.prototype);ParagraphJustification.prototype.constructor=ParagraphJustification;ParagraphJustification.prototype.__class__=ParagraphJustification;ParagraphJustification.__cache__={};Module["ParagraphJustification"]=ParagraphJustification;ParagraphJustification.prototype["__destroy__"]=ParagraphJustification.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_ParagraphJustification___destroy___0(self)};function BoolPtr(){throw"cannot construct a BoolPtr, no constructor in IDL"}BoolPtr.prototype=Object.create(WrapperObject.prototype);BoolPtr.prototype.constructor=BoolPtr;BoolPtr.prototype.__class__=BoolPtr;BoolPtr.__cache__={};Module["BoolPtr"]=BoolPtr;BoolPtr.prototype["__destroy__"]=BoolPtr.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_BoolPtr___destroy___0(self)};function TessResultRenderer(){throw"cannot construct a TessResultRenderer, no constructor in IDL"}TessResultRenderer.prototype=Object.create(WrapperObject.prototype);TessResultRenderer.prototype.constructor=TessResultRenderer;TessResultRenderer.prototype.__class__=TessResultRenderer;TessResultRenderer.__cache__={};Module["TessResultRenderer"]=TessResultRenderer;TessResultRenderer.prototype["BeginDocument"]=TessResultRenderer.prototype.BeginDocument=function(title){var self=this.ptr;ensureCache.prepare();if(title&&typeof title==="object")title=title.ptr;else title=ensureString(title);return!!_emscripten_bind_TessResultRenderer_BeginDocument_1(self,title)};TessResultRenderer.prototype["AddImage"]=TessResultRenderer.prototype.AddImage=function(api){var self=this.ptr;if(api&&typeof api==="object")api=api.ptr;return!!_emscripten_bind_TessResultRenderer_AddImage_1(self,api)};TessResultRenderer.prototype["EndDocument"]=TessResultRenderer.prototype.EndDocument=function(){var self=this.ptr;return!!_emscripten_bind_TessResultRenderer_EndDocument_0(self)};TessResultRenderer.prototype["happy"]=TessResultRenderer.prototype.happy=function(){var self=this.ptr;return!!_emscripten_bind_TessResultRenderer_happy_0(self)};TessResultRenderer.prototype["file_extension"]=TessResultRenderer.prototype.file_extension=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_TessResultRenderer_file_extension_0(self))};TessResultRenderer.prototype["title"]=TessResultRenderer.prototype.title=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_TessResultRenderer_title_0(self))};TessResultRenderer.prototype["imagenum"]=TessResultRenderer.prototype.imagenum=function(){var self=this.ptr;return _emscripten_bind_TessResultRenderer_imagenum_0(self)};TessResultRenderer.prototype["__destroy__"]=TessResultRenderer.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_TessResultRenderer___destroy___0(self)};function LongStarPtr(){throw"cannot construct a LongStarPtr, no constructor in IDL"}LongStarPtr.prototype=Object.create(WrapperObject.prototype);LongStarPtr.prototype.constructor=LongStarPtr;LongStarPtr.prototype.__class__=LongStarPtr;LongStarPtr.__cache__={};Module["LongStarPtr"]=LongStarPtr;LongStarPtr.prototype["__destroy__"]=LongStarPtr.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_LongStarPtr___destroy___0(self)};function VoidPtr(){throw"cannot construct a VoidPtr, no constructor in IDL"}VoidPtr.prototype=Object.create(WrapperObject.prototype);VoidPtr.prototype.constructor=VoidPtr;VoidPtr.prototype.__class__=VoidPtr;VoidPtr.__cache__={};Module["VoidPtr"]=VoidPtr;VoidPtr.prototype["__destroy__"]=VoidPtr.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_VoidPtr___destroy___0(self)};function ResultIterator(resit){if(resit&&typeof resit==="object")resit=resit.ptr;this.ptr=_emscripten_bind_ResultIterator_ResultIterator_1(resit);getCache(ResultIterator)[this.ptr]=this}ResultIterator.prototype=Object.create(WrapperObject.prototype);ResultIterator.prototype.constructor=ResultIterator;ResultIterator.prototype.__class__=ResultIterator;ResultIterator.__cache__={};Module["ResultIterator"]=ResultIterator;ResultIterator.prototype["Begin"]=ResultIterator.prototype.Begin=function(){var self=this.ptr;_emscripten_bind_ResultIterator_Begin_0(self)};ResultIterator.prototype["RestartParagraph"]=ResultIterator.prototype.RestartParagraph=function(){var self=this.ptr;_emscripten_bind_ResultIterator_RestartParagraph_0(self)};ResultIterator.prototype["IsWithinFirstTextlineOfParagraph"]=ResultIterator.prototype.IsWithinFirstTextlineOfParagraph=function(){var self=this.ptr;return!!_emscripten_bind_ResultIterator_IsWithinFirstTextlineOfParagraph_0(self)};ResultIterator.prototype["RestartRow"]=ResultIterator.prototype.RestartRow=function(){var self=this.ptr;_emscripten_bind_ResultIterator_RestartRow_0(self)};ResultIterator.prototype["Next"]=ResultIterator.prototype.Next=function(level){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;return!!_emscripten_bind_ResultIterator_Next_1(self,level)};ResultIterator.prototype["IsAtBeginningOf"]=ResultIterator.prototype.IsAtBeginningOf=function(level){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;return!!_emscripten_bind_ResultIterator_IsAtBeginningOf_1(self,level)};ResultIterator.prototype["IsAtFinalElement"]=ResultIterator.prototype.IsAtFinalElement=function(level,element){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;if(element&&typeof element==="object")element=element.ptr;return!!_emscripten_bind_ResultIterator_IsAtFinalElement_2(self,level,element)};ResultIterator.prototype["Cmp"]=ResultIterator.prototype.Cmp=function(other){var self=this.ptr;if(other&&typeof other==="object")other=other.ptr;return _emscripten_bind_ResultIterator_Cmp_1(self,other)};ResultIterator.prototype["SetBoundingBoxComponents"]=ResultIterator.prototype.SetBoundingBoxComponents=function(include_upper_dots,include_lower_dots){var self=this.ptr;if(include_upper_dots&&typeof include_upper_dots==="object")include_upper_dots=include_upper_dots.ptr;if(include_lower_dots&&typeof include_lower_dots==="object")include_lower_dots=include_lower_dots.ptr;_emscripten_bind_ResultIterator_SetBoundingBoxComponents_2(self,include_upper_dots,include_lower_dots)};ResultIterator.prototype["BoundingBox"]=ResultIterator.prototype.BoundingBox=function(level,padding,left,top,right,bottom){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;if(padding&&typeof padding==="object")padding=padding.ptr;if(left&&typeof left==="object")left=left.ptr;if(top&&typeof top==="object")top=top.ptr;if(right&&typeof right==="object")right=right.ptr;if(bottom&&typeof bottom==="object")bottom=bottom.ptr;if(bottom===undefined){return!!_emscripten_bind_ResultIterator_BoundingBox_5(self,level,padding,left,top,right)}return!!_emscripten_bind_ResultIterator_BoundingBox_6(self,level,padding,left,top,right,bottom)};ResultIterator.prototype["BoundingBoxInternal"]=ResultIterator.prototype.BoundingBoxInternal=function(level,left,top,right,bottom){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;if(left&&typeof left==="object")left=left.ptr;if(top&&typeof top==="object")top=top.ptr;if(right&&typeof right==="object")right=right.ptr;if(bottom&&typeof bottom==="object")bottom=bottom.ptr;return!!_emscripten_bind_ResultIterator_BoundingBoxInternal_5(self,level,left,top,right,bottom)};ResultIterator.prototype["Empty"]=ResultIterator.prototype.Empty=function(level){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;return!!_emscripten_bind_ResultIterator_Empty_1(self,level)};ResultIterator.prototype["BlockType"]=ResultIterator.prototype.BlockType=function(){var self=this.ptr;return _emscripten_bind_ResultIterator_BlockType_0(self)};ResultIterator.prototype["BlockPolygon"]=ResultIterator.prototype.BlockPolygon=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_ResultIterator_BlockPolygon_0(self),Pta)};ResultIterator.prototype["GetBinaryImage"]=ResultIterator.prototype.GetBinaryImage=function(level){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;return wrapPointer(_emscripten_bind_ResultIterator_GetBinaryImage_1(self,level),Pix)};ResultIterator.prototype["GetImage"]=ResultIterator.prototype.GetImage=function(level,padding,original_img,left,top){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;if(padding&&typeof padding==="object")padding=padding.ptr;if(original_img&&typeof original_img==="object")original_img=original_img.ptr;if(left&&typeof left==="object")left=left.ptr;if(top&&typeof top==="object")top=top.ptr;return wrapPointer(_emscripten_bind_ResultIterator_GetImage_5(self,level,padding,original_img,left,top),Pix)};ResultIterator.prototype["Baseline"]=ResultIterator.prototype.Baseline=function(level,x1,y1,x2,y2){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;if(x1&&typeof x1==="object")x1=x1.ptr;if(y1&&typeof y1==="object")y1=y1.ptr;if(x2&&typeof x2==="object")x2=x2.ptr;if(y2&&typeof y2==="object")y2=y2.ptr;return!!_emscripten_bind_ResultIterator_Baseline_5(self,level,x1,y1,x2,y2)};ResultIterator.prototype["Orientation"]=ResultIterator.prototype.Orientation=function(orientation,writing_direction,textline_order,deskew_angle){var self=this.ptr;if(orientation&&typeof orientation==="object")orientation=orientation.ptr;if(writing_direction&&typeof writing_direction==="object")writing_direction=writing_direction.ptr;if(textline_order&&typeof textline_order==="object")textline_order=textline_order.ptr;if(deskew_angle&&typeof deskew_angle==="object")deskew_angle=deskew_angle.ptr;_emscripten_bind_ResultIterator_Orientation_4(self,orientation,writing_direction,textline_order,deskew_angle)};ResultIterator.prototype["ParagraphInfo"]=ResultIterator.prototype.ParagraphInfo=function(justification,is_list_item,is_crown,first_line_indent){var self=this.ptr;if(justification&&typeof justification==="object")justification=justification.ptr;if(is_list_item&&typeof is_list_item==="object")is_list_item=is_list_item.ptr;if(is_crown&&typeof is_crown==="object")is_crown=is_crown.ptr;if(first_line_indent&&typeof first_line_indent==="object")first_line_indent=first_line_indent.ptr;_emscripten_bind_ResultIterator_ParagraphInfo_4(self,justification,is_list_item,is_crown,first_line_indent)};ResultIterator.prototype["ParagraphIsLtr"]=ResultIterator.prototype.ParagraphIsLtr=function(){var self=this.ptr;return!!_emscripten_bind_ResultIterator_ParagraphIsLtr_0(self)};ResultIterator.prototype["GetUTF8Text"]=ResultIterator.prototype.GetUTF8Text=function(level){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;return UTF8ToString(_emscripten_bind_ResultIterator_GetUTF8Text_1(self,level))};ResultIterator.prototype["SetLineSeparator"]=ResultIterator.prototype.SetLineSeparator=function(new_line){var self=this.ptr;ensureCache.prepare();if(new_line&&typeof new_line==="object")new_line=new_line.ptr;else new_line=ensureString(new_line);_emscripten_bind_ResultIterator_SetLineSeparator_1(self,new_line)};ResultIterator.prototype["SetParagraphSeparator"]=ResultIterator.prototype.SetParagraphSeparator=function(new_para){var self=this.ptr;ensureCache.prepare();if(new_para&&typeof new_para==="object")new_para=new_para.ptr;else new_para=ensureString(new_para);_emscripten_bind_ResultIterator_SetParagraphSeparator_1(self,new_para)};ResultIterator.prototype["Confidence"]=ResultIterator.prototype.Confidence=function(level){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;return _emscripten_bind_ResultIterator_Confidence_1(self,level)};ResultIterator.prototype["WordFontAttributes"]=ResultIterator.prototype.WordFontAttributes=function(is_bold,is_italic,is_underlined,is_monospace,is_serif,is_smallcaps,pointsize,font_id){var self=this.ptr;if(is_bold&&typeof is_bold==="object")is_bold=is_bold.ptr;if(is_italic&&typeof is_italic==="object")is_italic=is_italic.ptr;if(is_underlined&&typeof is_underlined==="object")is_underlined=is_underlined.ptr;if(is_monospace&&typeof is_monospace==="object")is_monospace=is_monospace.ptr;if(is_serif&&typeof is_serif==="object")is_serif=is_serif.ptr;if(is_smallcaps&&typeof is_smallcaps==="object")is_smallcaps=is_smallcaps.ptr;if(pointsize&&typeof pointsize==="object")pointsize=pointsize.ptr;if(font_id&&typeof font_id==="object")font_id=font_id.ptr;return UTF8ToString(_emscripten_bind_ResultIterator_WordFontAttributes_8(self,is_bold,is_italic,is_underlined,is_monospace,is_serif,is_smallcaps,pointsize,font_id))};ResultIterator.prototype["WordRecognitionLanguage"]=ResultIterator.prototype.WordRecognitionLanguage=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_ResultIterator_WordRecognitionLanguage_0(self))};ResultIterator.prototype["WordDirection"]=ResultIterator.prototype.WordDirection=function(){var self=this.ptr;return _emscripten_bind_ResultIterator_WordDirection_0(self)};ResultIterator.prototype["WordIsFromDictionary"]=ResultIterator.prototype.WordIsFromDictionary=function(){var self=this.ptr;return!!_emscripten_bind_ResultIterator_WordIsFromDictionary_0(self)};ResultIterator.prototype["WordIsNumeric"]=ResultIterator.prototype.WordIsNumeric=function(){var self=this.ptr;return!!_emscripten_bind_ResultIterator_WordIsNumeric_0(self)};ResultIterator.prototype["HasBlamerInfo"]=ResultIterator.prototype.HasBlamerInfo=function(){var self=this.ptr;return!!_emscripten_bind_ResultIterator_HasBlamerInfo_0(self)};ResultIterator.prototype["HasTruthString"]=ResultIterator.prototype.HasTruthString=function(){var self=this.ptr;return!!_emscripten_bind_ResultIterator_HasTruthString_0(self)};ResultIterator.prototype["EquivalentToTruth"]=ResultIterator.prototype.EquivalentToTruth=function(str){var self=this.ptr;ensureCache.prepare();if(str&&typeof str==="object")str=str.ptr;else str=ensureString(str);return!!_emscripten_bind_ResultIterator_EquivalentToTruth_1(self,str)};ResultIterator.prototype["WordTruthUTF8Text"]=ResultIterator.prototype.WordTruthUTF8Text=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_ResultIterator_WordTruthUTF8Text_0(self))};ResultIterator.prototype["WordNormedUTF8Text"]=ResultIterator.prototype.WordNormedUTF8Text=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_ResultIterator_WordNormedUTF8Text_0(self))};ResultIterator.prototype["WordLattice"]=ResultIterator.prototype.WordLattice=function(lattice_size){var self=this.ptr;if(lattice_size&&typeof lattice_size==="object")lattice_size=lattice_size.ptr;return UTF8ToString(_emscripten_bind_ResultIterator_WordLattice_1(self,lattice_size))};ResultIterator.prototype["SymbolIsSuperscript"]=ResultIterator.prototype.SymbolIsSuperscript=function(){var self=this.ptr;return!!_emscripten_bind_ResultIterator_SymbolIsSuperscript_0(self)};ResultIterator.prototype["SymbolIsSubscript"]=ResultIterator.prototype.SymbolIsSubscript=function(){var self=this.ptr;return!!_emscripten_bind_ResultIterator_SymbolIsSubscript_0(self)};ResultIterator.prototype["SymbolIsDropcap"]=ResultIterator.prototype.SymbolIsDropcap=function(){var self=this.ptr;return!!_emscripten_bind_ResultIterator_SymbolIsDropcap_0(self)};ResultIterator.prototype["__destroy__"]=ResultIterator.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_ResultIterator___destroy___0(self)};function TextlineOrder(){throw"cannot construct a TextlineOrder, no constructor in IDL"}TextlineOrder.prototype=Object.create(WrapperObject.prototype);TextlineOrder.prototype.constructor=TextlineOrder;TextlineOrder.prototype.__class__=TextlineOrder;TextlineOrder.__cache__={};Module["TextlineOrder"]=TextlineOrder;TextlineOrder.prototype["__destroy__"]=TextlineOrder.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_TextlineOrder___destroy___0(self)};function ETEXT_DESC(){throw"cannot construct a ETEXT_DESC, no constructor in IDL"}ETEXT_DESC.prototype=Object.create(WrapperObject.prototype);ETEXT_DESC.prototype.constructor=ETEXT_DESC;ETEXT_DESC.prototype.__class__=ETEXT_DESC;ETEXT_DESC.__cache__={};Module["ETEXT_DESC"]=ETEXT_DESC;ETEXT_DESC.prototype["__destroy__"]=ETEXT_DESC.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_ETEXT_DESC___destroy___0(self)};function PageIterator(){throw"cannot construct a PageIterator, no constructor in IDL"}PageIterator.prototype=Object.create(WrapperObject.prototype);PageIterator.prototype.constructor=PageIterator;PageIterator.prototype.__class__=PageIterator;PageIterator.__cache__={};Module["PageIterator"]=PageIterator;PageIterator.prototype["Begin"]=PageIterator.prototype.Begin=function(){var self=this.ptr;_emscripten_bind_PageIterator_Begin_0(self)};PageIterator.prototype["RestartParagraph"]=PageIterator.prototype.RestartParagraph=function(){var self=this.ptr;_emscripten_bind_PageIterator_RestartParagraph_0(self)};PageIterator.prototype["IsWithinFirstTextlineOfParagraph"]=PageIterator.prototype.IsWithinFirstTextlineOfParagraph=function(){var self=this.ptr;return!!_emscripten_bind_PageIterator_IsWithinFirstTextlineOfParagraph_0(self)};PageIterator.prototype["RestartRow"]=PageIterator.prototype.RestartRow=function(){var self=this.ptr;_emscripten_bind_PageIterator_RestartRow_0(self)};PageIterator.prototype["Next"]=PageIterator.prototype.Next=function(level){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;return!!_emscripten_bind_PageIterator_Next_1(self,level)};PageIterator.prototype["IsAtBeginningOf"]=PageIterator.prototype.IsAtBeginningOf=function(level){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;return!!_emscripten_bind_PageIterator_IsAtBeginningOf_1(self,level)};PageIterator.prototype["IsAtFinalElement"]=PageIterator.prototype.IsAtFinalElement=function(level,element){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;if(element&&typeof element==="object")element=element.ptr;return!!_emscripten_bind_PageIterator_IsAtFinalElement_2(self,level,element)};PageIterator.prototype["Cmp"]=PageIterator.prototype.Cmp=function(other){var self=this.ptr;if(other&&typeof other==="object")other=other.ptr;return _emscripten_bind_PageIterator_Cmp_1(self,other)};PageIterator.prototype["SetBoundingBoxComponents"]=PageIterator.prototype.SetBoundingBoxComponents=function(include_upper_dots,include_lower_dots){var self=this.ptr;if(include_upper_dots&&typeof include_upper_dots==="object")include_upper_dots=include_upper_dots.ptr;if(include_lower_dots&&typeof include_lower_dots==="object")include_lower_dots=include_lower_dots.ptr;_emscripten_bind_PageIterator_SetBoundingBoxComponents_2(self,include_upper_dots,include_lower_dots)};PageIterator.prototype["BoundingBox"]=PageIterator.prototype.BoundingBox=function(level,padding,left,top,right,bottom){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;if(padding&&typeof padding==="object")padding=padding.ptr;if(left&&typeof left==="object")left=left.ptr;if(top&&typeof top==="object")top=top.ptr;if(right&&typeof right==="object")right=right.ptr;if(bottom&&typeof bottom==="object")bottom=bottom.ptr;if(bottom===undefined){return!!_emscripten_bind_PageIterator_BoundingBox_5(self,level,padding,left,top,right)}return!!_emscripten_bind_PageIterator_BoundingBox_6(self,level,padding,left,top,right,bottom)};PageIterator.prototype["BoundingBoxInternal"]=PageIterator.prototype.BoundingBoxInternal=function(level,left,top,right,bottom){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;if(left&&typeof left==="object")left=left.ptr;if(top&&typeof top==="object")top=top.ptr;if(right&&typeof right==="object")right=right.ptr;if(bottom&&typeof bottom==="object")bottom=bottom.ptr;return!!_emscripten_bind_PageIterator_BoundingBoxInternal_5(self,level,left,top,right,bottom)};PageIterator.prototype["Empty"]=PageIterator.prototype.Empty=function(level){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;return!!_emscripten_bind_PageIterator_Empty_1(self,level)};PageIterator.prototype["BlockType"]=PageIterator.prototype.BlockType=function(){var self=this.ptr;return _emscripten_bind_PageIterator_BlockType_0(self)};PageIterator.prototype["BlockPolygon"]=PageIterator.prototype.BlockPolygon=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_PageIterator_BlockPolygon_0(self),Pta)};PageIterator.prototype["GetBinaryImage"]=PageIterator.prototype.GetBinaryImage=function(level){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;return wrapPointer(_emscripten_bind_PageIterator_GetBinaryImage_1(self,level),Pix)};PageIterator.prototype["GetImage"]=PageIterator.prototype.GetImage=function(level,padding,original_img,left,top){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;if(padding&&typeof padding==="object")padding=padding.ptr;if(original_img&&typeof original_img==="object")original_img=original_img.ptr;if(left&&typeof left==="object")left=left.ptr;if(top&&typeof top==="object")top=top.ptr;return wrapPointer(_emscripten_bind_PageIterator_GetImage_5(self,level,padding,original_img,left,top),Pix)};PageIterator.prototype["Baseline"]=PageIterator.prototype.Baseline=function(level,x1,y1,x2,y2){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;if(x1&&typeof x1==="object")x1=x1.ptr;if(y1&&typeof y1==="object")y1=y1.ptr;if(x2&&typeof x2==="object")x2=x2.ptr;if(y2&&typeof y2==="object")y2=y2.ptr;return!!_emscripten_bind_PageIterator_Baseline_5(self,level,x1,y1,x2,y2)};PageIterator.prototype["Orientation"]=PageIterator.prototype.Orientation=function(orientation,writing_direction,textline_order,deskew_angle){var self=this.ptr;if(orientation&&typeof orientation==="object")orientation=orientation.ptr;if(writing_direction&&typeof writing_direction==="object")writing_direction=writing_direction.ptr;if(textline_order&&typeof textline_order==="object")textline_order=textline_order.ptr;if(deskew_angle&&typeof deskew_angle==="object")deskew_angle=deskew_angle.ptr;_emscripten_bind_PageIterator_Orientation_4(self,orientation,writing_direction,textline_order,deskew_angle)};PageIterator.prototype["ParagraphInfo"]=PageIterator.prototype.ParagraphInfo=function(justification,is_list_item,is_crown,first_line_indent){var self=this.ptr;if(justification&&typeof justification==="object")justification=justification.ptr;if(is_list_item&&typeof is_list_item==="object")is_list_item=is_list_item.ptr;if(is_crown&&typeof is_crown==="object")is_crown=is_crown.ptr;if(first_line_indent&&typeof first_line_indent==="object")first_line_indent=first_line_indent.ptr;_emscripten_bind_PageIterator_ParagraphInfo_4(self,justification,is_list_item,is_crown,first_line_indent)};PageIterator.prototype["__destroy__"]=PageIterator.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_PageIterator___destroy___0(self)};function WritingDirection(){throw"cannot construct a WritingDirection, no constructor in IDL"}WritingDirection.prototype=Object.create(WrapperObject.prototype);WritingDirection.prototype.constructor=WritingDirection;WritingDirection.prototype.__class__=WritingDirection;WritingDirection.__cache__={};Module["WritingDirection"]=WritingDirection;WritingDirection.prototype["__destroy__"]=WritingDirection.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_WritingDirection___destroy___0(self)};function WordChoiceIterator(result_it){if(result_it&&typeof result_it==="object")result_it=result_it.ptr;this.ptr=_emscripten_bind_WordChoiceIterator_WordChoiceIterator_1(result_it);getCache(WordChoiceIterator)[this.ptr]=this}WordChoiceIterator.prototype=Object.create(WrapperObject.prototype);WordChoiceIterator.prototype.constructor=WordChoiceIterator;WordChoiceIterator.prototype.__class__=WordChoiceIterator;WordChoiceIterator.__cache__={};Module["WordChoiceIterator"]=WordChoiceIterator;WordChoiceIterator.prototype["Next"]=WordChoiceIterator.prototype.Next=function(){var self=this.ptr;return!!_emscripten_bind_WordChoiceIterator_Next_0(self)};WordChoiceIterator.prototype["GetUTF8Text"]=WordChoiceIterator.prototype.GetUTF8Text=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_WordChoiceIterator_GetUTF8Text_0(self))};WordChoiceIterator.prototype["Confidence"]=WordChoiceIterator.prototype.Confidence=function(){var self=this.ptr;return _emscripten_bind_WordChoiceIterator_Confidence_0(self)};WordChoiceIterator.prototype["__destroy__"]=WordChoiceIterator.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_WordChoiceIterator___destroy___0(self)};function Box(){throw"cannot construct a Box, no constructor in IDL"}Box.prototype=Object.create(WrapperObject.prototype);Box.prototype.constructor=Box;Box.prototype.__class__=Box;Box.__cache__={};Module["Box"]=Box;Box.prototype["get_x"]=Box.prototype.get_x=function(){var self=this.ptr;return _emscripten_bind_Box_get_x_0(self)};Object.defineProperty(Box.prototype,"x",{get:Box.prototype.get_x});Box.prototype["get_y"]=Box.prototype.get_y=function(){var self=this.ptr;return _emscripten_bind_Box_get_y_0(self)};Object.defineProperty(Box.prototype,"y",{get:Box.prototype.get_y});Box.prototype["get_w"]=Box.prototype.get_w=function(){var self=this.ptr;return _emscripten_bind_Box_get_w_0(self)};Object.defineProperty(Box.prototype,"w",{get:Box.prototype.get_w});Box.prototype["get_h"]=Box.prototype.get_h=function(){var self=this.ptr;return _emscripten_bind_Box_get_h_0(self)};Object.defineProperty(Box.prototype,"h",{get:Box.prototype.get_h});Box.prototype["get_refcount"]=Box.prototype.get_refcount=function(){var self=this.ptr;return _emscripten_bind_Box_get_refcount_0(self)};Object.defineProperty(Box.prototype,"refcount",{get:Box.prototype.get_refcount});Box.prototype["__destroy__"]=Box.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_Box___destroy___0(self)};function TessPDFRenderer(outputbase,datadir,textonly){ensureCache.prepare();if(outputbase&&typeof outputbase==="object")outputbase=outputbase.ptr;else outputbase=ensureString(outputbase);if(datadir&&typeof datadir==="object")datadir=datadir.ptr;else datadir=ensureString(datadir);if(textonly&&typeof textonly==="object")textonly=textonly.ptr;this.ptr=_emscripten_bind_TessPDFRenderer_TessPDFRenderer_3(outputbase,datadir,textonly);getCache(TessPDFRenderer)[this.ptr]=this}TessPDFRenderer.prototype=Object.create(WrapperObject.prototype);TessPDFRenderer.prototype.constructor=TessPDFRenderer;TessPDFRenderer.prototype.__class__=TessPDFRenderer;TessPDFRenderer.__cache__={};Module["TessPDFRenderer"]=TessPDFRenderer;TessPDFRenderer.prototype["BeginDocument"]=TessPDFRenderer.prototype.BeginDocument=function(title){var self=this.ptr;ensureCache.prepare();if(title&&typeof title==="object")title=title.ptr;else title=ensureString(title);return!!_emscripten_bind_TessPDFRenderer_BeginDocument_1(self,title)};TessPDFRenderer.prototype["AddImage"]=TessPDFRenderer.prototype.AddImage=function(api){var self=this.ptr;if(api&&typeof api==="object")api=api.ptr;return!!_emscripten_bind_TessPDFRenderer_AddImage_1(self,api)};TessPDFRenderer.prototype["EndDocument"]=TessPDFRenderer.prototype.EndDocument=function(){var self=this.ptr;return!!_emscripten_bind_TessPDFRenderer_EndDocument_0(self)};TessPDFRenderer.prototype["happy"]=TessPDFRenderer.prototype.happy=function(){var self=this.ptr;return!!_emscripten_bind_TessPDFRenderer_happy_0(self)};TessPDFRenderer.prototype["file_extension"]=TessPDFRenderer.prototype.file_extension=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_TessPDFRenderer_file_extension_0(self))};TessPDFRenderer.prototype["title"]=TessPDFRenderer.prototype.title=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_TessPDFRenderer_title_0(self))};TessPDFRenderer.prototype["imagenum"]=TessPDFRenderer.prototype.imagenum=function(){var self=this.ptr;return _emscripten_bind_TessPDFRenderer_imagenum_0(self)};TessPDFRenderer.prototype["__destroy__"]=TessPDFRenderer.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_TessPDFRenderer___destroy___0(self)};function PixaPtr(){throw"cannot construct a PixaPtr, no constructor in IDL"}PixaPtr.prototype=Object.create(WrapperObject.prototype);PixaPtr.prototype.constructor=PixaPtr;PixaPtr.prototype.__class__=PixaPtr;PixaPtr.__cache__={};Module["PixaPtr"]=PixaPtr;PixaPtr.prototype["__destroy__"]=PixaPtr.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_PixaPtr___destroy___0(self)};function FloatPtr(){throw"cannot construct a FloatPtr, no constructor in IDL"}FloatPtr.prototype=Object.create(WrapperObject.prototype);FloatPtr.prototype.constructor=FloatPtr;FloatPtr.prototype.__class__=FloatPtr;FloatPtr.__cache__={};Module["FloatPtr"]=FloatPtr;FloatPtr.prototype["__destroy__"]=FloatPtr.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_FloatPtr___destroy___0(self)};function ChoiceIterator(result_it){if(result_it&&typeof result_it==="object")result_it=result_it.ptr;this.ptr=_emscripten_bind_ChoiceIterator_ChoiceIterator_1(result_it);getCache(ChoiceIterator)[this.ptr]=this}ChoiceIterator.prototype=Object.create(WrapperObject.prototype);ChoiceIterator.prototype.constructor=ChoiceIterator;ChoiceIterator.prototype.__class__=ChoiceIterator;ChoiceIterator.__cache__={};Module["ChoiceIterator"]=ChoiceIterator;ChoiceIterator.prototype["Next"]=ChoiceIterator.prototype.Next=function(){var self=this.ptr;return!!_emscripten_bind_ChoiceIterator_Next_0(self)};ChoiceIterator.prototype["GetUTF8Text"]=ChoiceIterator.prototype.GetUTF8Text=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_ChoiceIterator_GetUTF8Text_0(self))};ChoiceIterator.prototype["Confidence"]=ChoiceIterator.prototype.Confidence=function(){var self=this.ptr;return _emscripten_bind_ChoiceIterator_Confidence_0(self)};ChoiceIterator.prototype["__destroy__"]=ChoiceIterator.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_ChoiceIterator___destroy___0(self)};function PixPtr(){throw"cannot construct a PixPtr, no constructor in IDL"}PixPtr.prototype=Object.create(WrapperObject.prototype);PixPtr.prototype.constructor=PixPtr;PixPtr.prototype.__class__=PixPtr;PixPtr.__cache__={};Module["PixPtr"]=PixPtr;PixPtr.prototype["__destroy__"]=PixPtr.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_PixPtr___destroy___0(self)};function UNICHARSET(){throw"cannot construct a UNICHARSET, no constructor in IDL"}UNICHARSET.prototype=Object.create(WrapperObject.prototype);UNICHARSET.prototype.constructor=UNICHARSET;UNICHARSET.prototype.__class__=UNICHARSET;UNICHARSET.__cache__={};Module["UNICHARSET"]=UNICHARSET;UNICHARSET.prototype["get_script_from_script_id"]=UNICHARSET.prototype.get_script_from_script_id=function(id){var self=this.ptr;if(id&&typeof id==="object")id=id.ptr;return UTF8ToString(_emscripten_bind_UNICHARSET_get_script_from_script_id_1(self,id))};UNICHARSET.prototype["get_script_id_from_name"]=UNICHARSET.prototype.get_script_id_from_name=function(script_name){var self=this.ptr;ensureCache.prepare();if(script_name&&typeof script_name==="object")script_name=script_name.ptr;else script_name=ensureString(script_name);return _emscripten_bind_UNICHARSET_get_script_id_from_name_1(self,script_name)};UNICHARSET.prototype["get_script_table_size"]=UNICHARSET.prototype.get_script_table_size=function(){var self=this.ptr;return _emscripten_bind_UNICHARSET_get_script_table_size_0(self)};UNICHARSET.prototype["__destroy__"]=UNICHARSET.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_UNICHARSET___destroy___0(self)};function IntPtr(){throw"cannot construct a IntPtr, no constructor in IDL"}IntPtr.prototype=Object.create(WrapperObject.prototype);IntPtr.prototype.constructor=IntPtr;IntPtr.prototype.__class__=IntPtr;IntPtr.__cache__={};Module["IntPtr"]=IntPtr;IntPtr.prototype["__destroy__"]=IntPtr.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_IntPtr___destroy___0(self)};function Orientation(){throw"cannot construct a Orientation, no constructor in IDL"}Orientation.prototype=Object.create(WrapperObject.prototype);Orientation.prototype.constructor=Orientation;Orientation.prototype.__class__=Orientation;Orientation.__cache__={};Module["Orientation"]=Orientation;Orientation.prototype["__destroy__"]=Orientation.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_Orientation___destroy___0(self)};function OSBestResult(){throw"cannot construct a OSBestResult, no constructor in IDL"}OSBestResult.prototype=Object.create(WrapperObject.prototype);OSBestResult.prototype.constructor=OSBestResult;OSBestResult.prototype.__class__=OSBestResult;OSBestResult.__cache__={};Module["OSBestResult"]=OSBestResult;OSBestResult.prototype["get_orientation_id"]=OSBestResult.prototype.get_orientation_id=function(){var self=this.ptr;return _emscripten_bind_OSBestResult_get_orientation_id_0(self)};Object.defineProperty(OSBestResult.prototype,"orientation_id",{get:OSBestResult.prototype.get_orientation_id});OSBestResult.prototype["get_script_id"]=OSBestResult.prototype.get_script_id=function(){var self=this.ptr;return _emscripten_bind_OSBestResult_get_script_id_0(self)};Object.defineProperty(OSBestResult.prototype,"script_id",{get:OSBestResult.prototype.get_script_id});OSBestResult.prototype["get_sconfidence"]=OSBestResult.prototype.get_sconfidence=function(){var self=this.ptr;return _emscripten_bind_OSBestResult_get_sconfidence_0(self)};Object.defineProperty(OSBestResult.prototype,"sconfidence",{get:OSBestResult.prototype.get_sconfidence});OSBestResult.prototype["get_oconfidence"]=OSBestResult.prototype.get_oconfidence=function(){var self=this.ptr;return _emscripten_bind_OSBestResult_get_oconfidence_0(self)};Object.defineProperty(OSBestResult.prototype,"oconfidence",{get:OSBestResult.prototype.get_oconfidence});OSBestResult.prototype["__destroy__"]=OSBestResult.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_OSBestResult___destroy___0(self)};function Boxa(){throw"cannot construct a Boxa, no constructor in IDL"}Boxa.prototype=Object.create(WrapperObject.prototype);Boxa.prototype.constructor=Boxa;Boxa.prototype.__class__=Boxa;Boxa.__cache__={};Module["Boxa"]=Boxa;Boxa.prototype["get_n"]=Boxa.prototype.get_n=function(){var self=this.ptr;return _emscripten_bind_Boxa_get_n_0(self)};Object.defineProperty(Boxa.prototype,"n",{get:Boxa.prototype.get_n});Boxa.prototype["get_nalloc"]=Boxa.prototype.get_nalloc=function(){var self=this.ptr;return _emscripten_bind_Boxa_get_nalloc_0(self)};Object.defineProperty(Boxa.prototype,"nalloc",{get:Boxa.prototype.get_nalloc});Boxa.prototype["get_refcount"]=Boxa.prototype.get_refcount=function(){var self=this.ptr;return _emscripten_bind_Boxa_get_refcount_0(self)};Object.defineProperty(Boxa.prototype,"refcount",{get:Boxa.prototype.get_refcount});Boxa.prototype["get_box"]=Boxa.prototype.get_box=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_Boxa_get_box_0(self),BoxPtr)};Object.defineProperty(Boxa.prototype,"box",{get:Boxa.prototype.get_box});Boxa.prototype["__destroy__"]=Boxa.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_Boxa___destroy___0(self)};function PixColormap(){throw"cannot construct a PixColormap, no constructor in IDL"}PixColormap.prototype=Object.create(WrapperObject.prototype);PixColormap.prototype.constructor=PixColormap;PixColormap.prototype.__class__=PixColormap;PixColormap.__cache__={};Module["PixColormap"]=PixColormap;PixColormap.prototype["get_array"]=PixColormap.prototype.get_array=function(){var self=this.ptr;return _emscripten_bind_PixColormap_get_array_0(self)};Object.defineProperty(PixColormap.prototype,"array",{get:PixColormap.prototype.get_array});PixColormap.prototype["get_depth"]=PixColormap.prototype.get_depth=function(){var self=this.ptr;return _emscripten_bind_PixColormap_get_depth_0(self)};Object.defineProperty(PixColormap.prototype,"depth",{get:PixColormap.prototype.get_depth});PixColormap.prototype["get_nalloc"]=PixColormap.prototype.get_nalloc=function(){var self=this.ptr;return _emscripten_bind_PixColormap_get_nalloc_0(self)};Object.defineProperty(PixColormap.prototype,"nalloc",{get:PixColormap.prototype.get_nalloc});PixColormap.prototype["get_n"]=PixColormap.prototype.get_n=function(){var self=this.ptr;return _emscripten_bind_PixColormap_get_n_0(self)};Object.defineProperty(PixColormap.prototype,"n",{get:PixColormap.prototype.get_n});PixColormap.prototype["__destroy__"]=PixColormap.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_PixColormap___destroy___0(self)};function Pta(){throw"cannot construct a Pta, no constructor in IDL"}Pta.prototype=Object.create(WrapperObject.prototype);Pta.prototype.constructor=Pta;Pta.prototype.__class__=Pta;Pta.__cache__={};Module["Pta"]=Pta;Pta.prototype["get_n"]=Pta.prototype.get_n=function(){var self=this.ptr;return _emscripten_bind_Pta_get_n_0(self)};Object.defineProperty(Pta.prototype,"n",{get:Pta.prototype.get_n});Pta.prototype["get_nalloc"]=Pta.prototype.get_nalloc=function(){var self=this.ptr;return _emscripten_bind_Pta_get_nalloc_0(self)};Object.defineProperty(Pta.prototype,"nalloc",{get:Pta.prototype.get_nalloc});Pta.prototype["get_refcount"]=Pta.prototype.get_refcount=function(){var self=this.ptr;return _emscripten_bind_Pta_get_refcount_0(self)};Object.defineProperty(Pta.prototype,"refcount",{get:Pta.prototype.get_refcount});Pta.prototype["get_x"]=Pta.prototype.get_x=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_Pta_get_x_0(self),FloatPtr)};Object.defineProperty(Pta.prototype,"x",{get:Pta.prototype.get_x});Pta.prototype["get_y"]=Pta.prototype.get_y=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_Pta_get_y_0(self),FloatPtr)};Object.defineProperty(Pta.prototype,"y",{get:Pta.prototype.get_y});Pta.prototype["__destroy__"]=Pta.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_Pta___destroy___0(self)};function Pix(){throw"cannot construct a Pix, no constructor in IDL"}Pix.prototype=Object.create(WrapperObject.prototype);Pix.prototype.constructor=Pix;Pix.prototype.__class__=Pix;Pix.__cache__={};Module["Pix"]=Pix;Pix.prototype["get_w"]=Pix.prototype.get_w=function(){var self=this.ptr;return _emscripten_bind_Pix_get_w_0(self)};Object.defineProperty(Pix.prototype,"w",{get:Pix.prototype.get_w});Pix.prototype["get_h"]=Pix.prototype.get_h=function(){var self=this.ptr;return _emscripten_bind_Pix_get_h_0(self)};Object.defineProperty(Pix.prototype,"h",{get:Pix.prototype.get_h});Pix.prototype["get_d"]=Pix.prototype.get_d=function(){var self=this.ptr;return _emscripten_bind_Pix_get_d_0(self)};Object.defineProperty(Pix.prototype,"d",{get:Pix.prototype.get_d});Pix.prototype["get_spp"]=Pix.prototype.get_spp=function(){var self=this.ptr;return _emscripten_bind_Pix_get_spp_0(self)};Object.defineProperty(Pix.prototype,"spp",{get:Pix.prototype.get_spp});Pix.prototype["get_wpl"]=Pix.prototype.get_wpl=function(){var self=this.ptr;return _emscripten_bind_Pix_get_wpl_0(self)};Object.defineProperty(Pix.prototype,"wpl",{get:Pix.prototype.get_wpl});Pix.prototype["get_refcount"]=Pix.prototype.get_refcount=function(){var self=this.ptr;return _emscripten_bind_Pix_get_refcount_0(self)};Object.defineProperty(Pix.prototype,"refcount",{get:Pix.prototype.get_refcount});Pix.prototype["get_xres"]=Pix.prototype.get_xres=function(){var self=this.ptr;return _emscripten_bind_Pix_get_xres_0(self)};Object.defineProperty(Pix.prototype,"xres",{get:Pix.prototype.get_xres});Pix.prototype["get_yres"]=Pix.prototype.get_yres=function(){var self=this.ptr;return _emscripten_bind_Pix_get_yres_0(self)};Object.defineProperty(Pix.prototype,"yres",{get:Pix.prototype.get_yres});Pix.prototype["get_informat"]=Pix.prototype.get_informat=function(){var self=this.ptr;return _emscripten_bind_Pix_get_informat_0(self)};Object.defineProperty(Pix.prototype,"informat",{get:Pix.prototype.get_informat});Pix.prototype["get_special"]=Pix.prototype.get_special=function(){var self=this.ptr;return _emscripten_bind_Pix_get_special_0(self)};Object.defineProperty(Pix.prototype,"special",{get:Pix.prototype.get_special});Pix.prototype["get_text"]=Pix.prototype.get_text=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_Pix_get_text_0(self))};Object.defineProperty(Pix.prototype,"text",{get:Pix.prototype.get_text});Pix.prototype["get_colormap"]=Pix.prototype.get_colormap=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_Pix_get_colormap_0(self),PixColormap)};Object.defineProperty(Pix.prototype,"colormap",{get:Pix.prototype.get_colormap});Pix.prototype["get_data"]=Pix.prototype.get_data=function(){var self=this.ptr;return _emscripten_bind_Pix_get_data_0(self)};Object.defineProperty(Pix.prototype,"data",{get:Pix.prototype.get_data});Pix.prototype["__destroy__"]=Pix.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_Pix___destroy___0(self)};function DoublePtr(){throw"cannot construct a DoublePtr, no constructor in IDL"}DoublePtr.prototype=Object.create(WrapperObject.prototype);DoublePtr.prototype.constructor=DoublePtr;DoublePtr.prototype.__class__=DoublePtr;DoublePtr.__cache__={};Module["DoublePtr"]=DoublePtr;DoublePtr.prototype["__destroy__"]=DoublePtr.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_DoublePtr___destroy___0(self)};function Dawg(){throw"cannot construct a Dawg, no constructor in IDL"}Dawg.prototype=Object.create(WrapperObject.prototype);Dawg.prototype.constructor=Dawg;Dawg.prototype.__class__=Dawg;Dawg.__cache__={};Module["Dawg"]=Dawg;Dawg.prototype["__destroy__"]=Dawg.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_Dawg___destroy___0(self)};function BoxPtr(){throw"cannot construct a BoxPtr, no constructor in IDL"}BoxPtr.prototype=Object.create(WrapperObject.prototype);BoxPtr.prototype.constructor=BoxPtr;BoxPtr.prototype.__class__=BoxPtr;BoxPtr.__cache__={};Module["BoxPtr"]=BoxPtr;BoxPtr.prototype["__destroy__"]=BoxPtr.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_BoxPtr___destroy___0(self)};function TessBaseAPI(){this.ptr=_emscripten_bind_TessBaseAPI_TessBaseAPI_0();getCache(TessBaseAPI)[this.ptr]=this}TessBaseAPI.prototype=Object.create(WrapperObject.prototype);TessBaseAPI.prototype.constructor=TessBaseAPI;TessBaseAPI.prototype.__class__=TessBaseAPI;TessBaseAPI.__cache__={};Module["TessBaseAPI"]=TessBaseAPI;TessBaseAPI.prototype["Version"]=TessBaseAPI.prototype.Version=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_TessBaseAPI_Version_0(self))};TessBaseAPI.prototype["CatchSignals"]=TessBaseAPI.prototype.CatchSignals=function(){var self=this.ptr;_emscripten_bind_TessBaseAPI_CatchSignals_0(self)};TessBaseAPI.prototype["SetInputName"]=TessBaseAPI.prototype.SetInputName=function(name){var self=this.ptr;ensureCache.prepare();if(name&&typeof name==="object")name=name.ptr;else name=ensureString(name);_emscripten_bind_TessBaseAPI_SetInputName_1(self,name)};TessBaseAPI.prototype["GetInputName"]=TessBaseAPI.prototype.GetInputName=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_TessBaseAPI_GetInputName_0(self))};TessBaseAPI.prototype["SetInputImage"]=TessBaseAPI.prototype.SetInputImage=function(pix){var self=this.ptr;if(pix&&typeof pix==="object")pix=pix.ptr;_emscripten_bind_TessBaseAPI_SetInputImage_1(self,pix)};TessBaseAPI.prototype["GetInputImage"]=TessBaseAPI.prototype.GetInputImage=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_TessBaseAPI_GetInputImage_0(self),Pix)};TessBaseAPI.prototype["GetSourceYResolution"]=TessBaseAPI.prototype.GetSourceYResolution=function(){var self=this.ptr;return _emscripten_bind_TessBaseAPI_GetSourceYResolution_0(self)};TessBaseAPI.prototype["GetDatapath"]=TessBaseAPI.prototype.GetDatapath=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_TessBaseAPI_GetDatapath_0(self))};TessBaseAPI.prototype["SetOutputName"]=TessBaseAPI.prototype.SetOutputName=function(name){var self=this.ptr;ensureCache.prepare();if(name&&typeof name==="object")name=name.ptr;else name=ensureString(name);_emscripten_bind_TessBaseAPI_SetOutputName_1(self,name)};TessBaseAPI.prototype["SetVariable"]=TessBaseAPI.prototype.SetVariable=function(name,value){var self=this.ptr;ensureCache.prepare();if(name&&typeof name==="object")name=name.ptr;else name=ensureString(name);if(value&&typeof value==="object")value=value.ptr;else value=ensureString(value);return!!_emscripten_bind_TessBaseAPI_SetVariable_2(self,name,value)};TessBaseAPI.prototype["SetDebugVariable"]=TessBaseAPI.prototype.SetDebugVariable=function(name,value){var self=this.ptr;ensureCache.prepare();if(name&&typeof name==="object")name=name.ptr;else name=ensureString(name);if(value&&typeof value==="object")value=value.ptr;else value=ensureString(value);return!!_emscripten_bind_TessBaseAPI_SetDebugVariable_2(self,name,value)};TessBaseAPI.prototype["GetIntVariable"]=TessBaseAPI.prototype.GetIntVariable=function(name,value){var self=this.ptr;ensureCache.prepare();if(name&&typeof name==="object")name=name.ptr;else name=ensureString(name);if(value&&typeof value==="object")value=value.ptr;return!!_emscripten_bind_TessBaseAPI_GetIntVariable_2(self,name,value)};TessBaseAPI.prototype["GetBoolVariable"]=TessBaseAPI.prototype.GetBoolVariable=function(name,value){var self=this.ptr;ensureCache.prepare();if(name&&typeof name==="object")name=name.ptr;else name=ensureString(name);if(value&&typeof value==="object")value=value.ptr;return!!_emscripten_bind_TessBaseAPI_GetBoolVariable_2(self,name,value)};TessBaseAPI.prototype["GetDoubleVariable"]=TessBaseAPI.prototype.GetDoubleVariable=function(name,value){var self=this.ptr;ensureCache.prepare();if(name&&typeof name==="object")name=name.ptr;else name=ensureString(name);if(value&&typeof value==="object")value=value.ptr;return!!_emscripten_bind_TessBaseAPI_GetDoubleVariable_2(self,name,value)};TessBaseAPI.prototype["GetStringVariable"]=TessBaseAPI.prototype.GetStringVariable=function(name){var self=this.ptr;ensureCache.prepare();if(name&&typeof name==="object")name=name.ptr;else name=ensureString(name);return UTF8ToString(_emscripten_bind_TessBaseAPI_GetStringVariable_1(self,name))};TessBaseAPI.prototype["PrintVariables"]=TessBaseAPI.prototype.PrintVariables=function(){var self=this.ptr;_emscripten_bind_TessBaseAPI_PrintVariables_0(self)};TessBaseAPI.prototype["Init"]=TessBaseAPI.prototype.Init=function(datapath,language,oem){var self=this.ptr;ensureCache.prepare();if(datapath&&typeof datapath==="object")datapath=datapath.ptr;else datapath=ensureString(datapath);if(language&&typeof language==="object")language=language.ptr;else language=ensureString(language);if(oem&&typeof oem==="object")oem=oem.ptr;if(oem===undefined){return _emscripten_bind_TessBaseAPI_Init_2(self,datapath,language)}return _emscripten_bind_TessBaseAPI_Init_3(self,datapath,language,oem)};TessBaseAPI.prototype["GetInitLanguagesAsString"]=TessBaseAPI.prototype.GetInitLanguagesAsString=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_TessBaseAPI_GetInitLanguagesAsString_0(self))};TessBaseAPI.prototype["InitLangMod"]=TessBaseAPI.prototype.InitLangMod=function(datapath,language){var self=this.ptr;ensureCache.prepare();if(datapath&&typeof datapath==="object")datapath=datapath.ptr;else datapath=ensureString(datapath);if(language&&typeof language==="object")language=language.ptr;else language=ensureString(language);return _emscripten_bind_TessBaseAPI_InitLangMod_2(self,datapath,language)};TessBaseAPI.prototype["InitForAnalysePage"]=TessBaseAPI.prototype.InitForAnalysePage=function(){var self=this.ptr;_emscripten_bind_TessBaseAPI_InitForAnalysePage_0(self)};TessBaseAPI.prototype["ReadConfigFile"]=TessBaseAPI.prototype.ReadConfigFile=function(filename){var self=this.ptr;ensureCache.prepare();if(filename&&typeof filename==="object")filename=filename.ptr;else filename=ensureString(filename);_emscripten_bind_TessBaseAPI_ReadConfigFile_1(self,filename)};TessBaseAPI.prototype["ReadDebugConfigFile"]=TessBaseAPI.prototype.ReadDebugConfigFile=function(filename){var self=this.ptr;ensureCache.prepare();if(filename&&typeof filename==="object")filename=filename.ptr;else filename=ensureString(filename);_emscripten_bind_TessBaseAPI_ReadDebugConfigFile_1(self,filename)};TessBaseAPI.prototype["SetPageSegMode"]=TessBaseAPI.prototype.SetPageSegMode=function(mode){var self=this.ptr;if(mode&&typeof mode==="object")mode=mode.ptr;_emscripten_bind_TessBaseAPI_SetPageSegMode_1(self,mode)};TessBaseAPI.prototype["GetPageSegMode"]=TessBaseAPI.prototype.GetPageSegMode=function(){var self=this.ptr;return _emscripten_bind_TessBaseAPI_GetPageSegMode_0(self)};TessBaseAPI.prototype["TesseractRect"]=TessBaseAPI.prototype.TesseractRect=function(imagedata,bytes_per_pixel,bytes_per_line,left,top,width,height){var self=this.ptr;if(imagedata&&typeof imagedata==="object")imagedata=imagedata.ptr;if(bytes_per_pixel&&typeof bytes_per_pixel==="object")bytes_per_pixel=bytes_per_pixel.ptr;if(bytes_per_line&&typeof bytes_per_line==="object")bytes_per_line=bytes_per_line.ptr;if(left&&typeof left==="object")left=left.ptr;if(top&&typeof top==="object")top=top.ptr;if(width&&typeof width==="object")width=width.ptr;if(height&&typeof height==="object")height=height.ptr;return UTF8ToString(_emscripten_bind_TessBaseAPI_TesseractRect_7(self,imagedata,bytes_per_pixel,bytes_per_line,left,top,width,height))};TessBaseAPI.prototype["ClearAdaptiveClassifier"]=TessBaseAPI.prototype.ClearAdaptiveClassifier=function(){var self=this.ptr;_emscripten_bind_TessBaseAPI_ClearAdaptiveClassifier_0(self)};TessBaseAPI.prototype["SetImage"]=TessBaseAPI.prototype.SetImage=function(imagedata,width,height,bytes_per_pixel,bytes_per_line){var self=this.ptr;if(imagedata&&typeof imagedata==="object")imagedata=imagedata.ptr;if(width&&typeof width==="object")width=width.ptr;if(height&&typeof height==="object")height=height.ptr;if(bytes_per_pixel&&typeof bytes_per_pixel==="object")bytes_per_pixel=bytes_per_pixel.ptr;if(bytes_per_line&&typeof bytes_per_line==="object")bytes_per_line=bytes_per_line.ptr;if(width===undefined){_emscripten_bind_TessBaseAPI_SetImage_1(self,imagedata);return}if(height===undefined){_emscripten_bind_TessBaseAPI_SetImage_2(self,imagedata,width);return}if(bytes_per_pixel===undefined){_emscripten_bind_TessBaseAPI_SetImage_3(self,imagedata,width,height);return}if(bytes_per_line===undefined){_emscripten_bind_TessBaseAPI_SetImage_4(self,imagedata,width,height,bytes_per_pixel);return}_emscripten_bind_TessBaseAPI_SetImage_5(self,imagedata,width,height,bytes_per_pixel,bytes_per_line)};TessBaseAPI.prototype["SetSourceResolution"]=TessBaseAPI.prototype.SetSourceResolution=function(ppi){var self=this.ptr;if(ppi&&typeof ppi==="object")ppi=ppi.ptr;_emscripten_bind_TessBaseAPI_SetSourceResolution_1(self,ppi)};TessBaseAPI.prototype["SetRectangle"]=TessBaseAPI.prototype.SetRectangle=function(left,top,width,height){var self=this.ptr;if(left&&typeof left==="object")left=left.ptr;if(top&&typeof top==="object")top=top.ptr;if(width&&typeof width==="object")width=width.ptr;if(height&&typeof height==="object")height=height.ptr;_emscripten_bind_TessBaseAPI_SetRectangle_4(self,left,top,width,height)};TessBaseAPI.prototype["GetThresholdedImage"]=TessBaseAPI.prototype.GetThresholdedImage=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_TessBaseAPI_GetThresholdedImage_0(self),Pix)};TessBaseAPI.prototype["GetRegions"]=TessBaseAPI.prototype.GetRegions=function(pixa){var self=this.ptr;if(pixa&&typeof pixa==="object")pixa=pixa.ptr;return wrapPointer(_emscripten_bind_TessBaseAPI_GetRegions_1(self,pixa),Boxa)};TessBaseAPI.prototype["GetTextlines"]=TessBaseAPI.prototype.GetTextlines=function(raw_image,raw_padding,pixa,blockids,paraids){var self=this.ptr;if(raw_image&&typeof raw_image==="object")raw_image=raw_image.ptr;if(raw_padding&&typeof raw_padding==="object")raw_padding=raw_padding.ptr;if(pixa&&typeof pixa==="object")pixa=pixa.ptr;if(blockids&&typeof blockids==="object")blockids=blockids.ptr;if(paraids&&typeof paraids==="object")paraids=paraids.ptr;if(pixa===undefined){return wrapPointer(_emscripten_bind_TessBaseAPI_GetTextlines_2(self,raw_image,raw_padding),Boxa)}if(blockids===undefined){return wrapPointer(_emscripten_bind_TessBaseAPI_GetTextlines_3(self,raw_image,raw_padding,pixa),Boxa)}if(paraids===undefined){return wrapPointer(_emscripten_bind_TessBaseAPI_GetTextlines_4(self,raw_image,raw_padding,pixa,blockids),Boxa)}return wrapPointer(_emscripten_bind_TessBaseAPI_GetTextlines_5(self,raw_image,raw_padding,pixa,blockids,paraids),Boxa)};TessBaseAPI.prototype["GetStrips"]=TessBaseAPI.prototype.GetStrips=function(pixa,blockids){var self=this.ptr;if(pixa&&typeof pixa==="object")pixa=pixa.ptr;if(blockids&&typeof blockids==="object")blockids=blockids.ptr;return wrapPointer(_emscripten_bind_TessBaseAPI_GetStrips_2(self,pixa,blockids),Boxa)};TessBaseAPI.prototype["GetWords"]=TessBaseAPI.prototype.GetWords=function(pixa){var self=this.ptr;if(pixa&&typeof pixa==="object")pixa=pixa.ptr;return wrapPointer(_emscripten_bind_TessBaseAPI_GetWords_1(self,pixa),Boxa)};TessBaseAPI.prototype["GetConnectedComponents"]=TessBaseAPI.prototype.GetConnectedComponents=function(cc){var self=this.ptr;if(cc&&typeof cc==="object")cc=cc.ptr;return wrapPointer(_emscripten_bind_TessBaseAPI_GetConnectedComponents_1(self,cc),Boxa)};TessBaseAPI.prototype["GetComponentImages"]=TessBaseAPI.prototype.GetComponentImages=function(level,text_only,raw_image,raw_padding,pixa,blockids,paraids){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;if(text_only&&typeof text_only==="object")text_only=text_only.ptr;if(raw_image&&typeof raw_image==="object")raw_image=raw_image.ptr;if(raw_padding&&typeof raw_padding==="object")raw_padding=raw_padding.ptr;if(pixa&&typeof pixa==="object")pixa=pixa.ptr;if(blockids&&typeof blockids==="object")blockids=blockids.ptr;if(paraids&&typeof paraids==="object")paraids=paraids.ptr;if(pixa===undefined){return wrapPointer(_emscripten_bind_TessBaseAPI_GetComponentImages_4(self,level,text_only,raw_image,raw_padding),Boxa)}if(blockids===undefined){return wrapPointer(_emscripten_bind_TessBaseAPI_GetComponentImages_5(self,level,text_only,raw_image,raw_padding,pixa),Boxa)}if(paraids===undefined){return wrapPointer(_emscripten_bind_TessBaseAPI_GetComponentImages_6(self,level,text_only,raw_image,raw_padding,pixa,blockids),Boxa)}return wrapPointer(_emscripten_bind_TessBaseAPI_GetComponentImages_7(self,level,text_only,raw_image,raw_padding,pixa,blockids,paraids),Boxa)};TessBaseAPI.prototype["GetThresholdedImageScaleFactor"]=TessBaseAPI.prototype.GetThresholdedImageScaleFactor=function(){var self=this.ptr;return _emscripten_bind_TessBaseAPI_GetThresholdedImageScaleFactor_0(self)};TessBaseAPI.prototype["AnalyseLayout"]=TessBaseAPI.prototype.AnalyseLayout=function(merge_similar_words){var self=this.ptr;if(merge_similar_words&&typeof merge_similar_words==="object")merge_similar_words=merge_similar_words.ptr;if(merge_similar_words===undefined){return wrapPointer(_emscripten_bind_TessBaseAPI_AnalyseLayout_0(self),PageIterator)}return wrapPointer(_emscripten_bind_TessBaseAPI_AnalyseLayout_1(self,merge_similar_words),PageIterator)};TessBaseAPI.prototype["Recognize"]=TessBaseAPI.prototype.Recognize=function(monitor){var self=this.ptr;if(monitor&&typeof monitor==="object")monitor=monitor.ptr;return _emscripten_bind_TessBaseAPI_Recognize_1(self,monitor)};TessBaseAPI.prototype["RecognizeForChopTest"]=TessBaseAPI.prototype.RecognizeForChopTest=function(monitor){var self=this.ptr;if(monitor&&typeof monitor==="object")monitor=monitor.ptr;return _emscripten_bind_TessBaseAPI_RecognizeForChopTest_1(self,monitor)};TessBaseAPI.prototype["ProcessPages"]=TessBaseAPI.prototype.ProcessPages=function(filename,retry_config,timeout_millisec,renderer){var self=this.ptr;ensureCache.prepare();if(filename&&typeof filename==="object")filename=filename.ptr;else filename=ensureString(filename);if(retry_config&&typeof retry_config==="object")retry_config=retry_config.ptr;else retry_config=ensureString(retry_config);if(timeout_millisec&&typeof timeout_millisec==="object")timeout_millisec=timeout_millisec.ptr;if(renderer&&typeof renderer==="object")renderer=renderer.ptr;return!!_emscripten_bind_TessBaseAPI_ProcessPages_4(self,filename,retry_config,timeout_millisec,renderer)};TessBaseAPI.prototype["ProcessPage"]=TessBaseAPI.prototype.ProcessPage=function(pix,page_index,filename,retry_config,timeout_millisec,renderer){var self=this.ptr;ensureCache.prepare();if(pix&&typeof pix==="object")pix=pix.ptr;if(page_index&&typeof page_index==="object")page_index=page_index.ptr;if(filename&&typeof filename==="object")filename=filename.ptr;else filename=ensureString(filename);if(retry_config&&typeof retry_config==="object")retry_config=retry_config.ptr;else retry_config=ensureString(retry_config);if(timeout_millisec&&typeof timeout_millisec==="object")timeout_millisec=timeout_millisec.ptr;if(renderer&&typeof renderer==="object")renderer=renderer.ptr;return!!_emscripten_bind_TessBaseAPI_ProcessPage_6(self,pix,page_index,filename,retry_config,timeout_millisec,renderer)};TessBaseAPI.prototype["GetIterator"]=TessBaseAPI.prototype.GetIterator=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_TessBaseAPI_GetIterator_0(self),ResultIterator)};TessBaseAPI.prototype["GetUTF8Text"]=TessBaseAPI.prototype.GetUTF8Text=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_TessBaseAPI_GetUTF8Text_0(self))};TessBaseAPI.prototype["GetHOCRText"]=TessBaseAPI.prototype.GetHOCRText=function(page_number){var self=this.ptr;if(page_number&&typeof page_number==="object")page_number=page_number.ptr;return UTF8ToString(_emscripten_bind_TessBaseAPI_GetHOCRText_1(self,page_number))};TessBaseAPI.prototype["GetTSVText"]=TessBaseAPI.prototype.GetTSVText=function(page_number){var self=this.ptr;if(page_number&&typeof page_number==="object")page_number=page_number.ptr;return UTF8ToString(_emscripten_bind_TessBaseAPI_GetTSVText_1(self,page_number))};TessBaseAPI.prototype["GetBoxText"]=TessBaseAPI.prototype.GetBoxText=function(page_number){var self=this.ptr;if(page_number&&typeof page_number==="object")page_number=page_number.ptr;return UTF8ToString(_emscripten_bind_TessBaseAPI_GetBoxText_1(self,page_number))};TessBaseAPI.prototype["GetUNLVText"]=TessBaseAPI.prototype.GetUNLVText=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_TessBaseAPI_GetUNLVText_0(self))};TessBaseAPI.prototype["GetOsdText"]=TessBaseAPI.prototype.GetOsdText=function(page_number){var self=this.ptr;if(page_number&&typeof page_number==="object")page_number=page_number.ptr;return UTF8ToString(_emscripten_bind_TessBaseAPI_GetOsdText_1(self,page_number))};TessBaseAPI.prototype["MeanTextConf"]=TessBaseAPI.prototype.MeanTextConf=function(){var self=this.ptr;return _emscripten_bind_TessBaseAPI_MeanTextConf_0(self)};TessBaseAPI.prototype["AllWordConfidences"]=TessBaseAPI.prototype.AllWordConfidences=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_TessBaseAPI_AllWordConfidences_0(self),IntPtr)};TessBaseAPI.prototype["AdaptToWordStr"]=TessBaseAPI.prototype.AdaptToWordStr=function(mode,wordstr){var self=this.ptr;ensureCache.prepare();if(mode&&typeof mode==="object")mode=mode.ptr;if(wordstr&&typeof wordstr==="object")wordstr=wordstr.ptr;else wordstr=ensureString(wordstr);return!!_emscripten_bind_TessBaseAPI_AdaptToWordStr_2(self,mode,wordstr)};TessBaseAPI.prototype["Clear"]=TessBaseAPI.prototype.Clear=function(){var self=this.ptr;_emscripten_bind_TessBaseAPI_Clear_0(self)};TessBaseAPI.prototype["End"]=TessBaseAPI.prototype.End=function(){var self=this.ptr;_emscripten_bind_TessBaseAPI_End_0(self)};TessBaseAPI.prototype["ClearPersistentCache"]=TessBaseAPI.prototype.ClearPersistentCache=function(){var self=this.ptr;_emscripten_bind_TessBaseAPI_ClearPersistentCache_0(self)};TessBaseAPI.prototype["IsValidWord"]=TessBaseAPI.prototype.IsValidWord=function(word){var self=this.ptr;ensureCache.prepare();if(word&&typeof word==="object")word=word.ptr;else word=ensureString(word);return _emscripten_bind_TessBaseAPI_IsValidWord_1(self,word)};TessBaseAPI.prototype["IsValidCharacter"]=TessBaseAPI.prototype.IsValidCharacter=function(utf8_character){var self=this.ptr;ensureCache.prepare();if(utf8_character&&typeof utf8_character==="object")utf8_character=utf8_character.ptr;else utf8_character=ensureString(utf8_character);return!!_emscripten_bind_TessBaseAPI_IsValidCharacter_1(self,utf8_character)};TessBaseAPI.prototype["DetectOS"]=TessBaseAPI.prototype.DetectOS=function(osr){var self=this.ptr;if(osr&&typeof osr==="object")osr=osr.ptr;return!!_emscripten_bind_TessBaseAPI_DetectOS_1(self,osr)};TessBaseAPI.prototype["GetUnichar"]=TessBaseAPI.prototype.GetUnichar=function(unichar_id){var self=this.ptr;if(unichar_id&&typeof unichar_id==="object")unichar_id=unichar_id.ptr;return UTF8ToString(_emscripten_bind_TessBaseAPI_GetUnichar_1(self,unichar_id))};TessBaseAPI.prototype["GetDawg"]=TessBaseAPI.prototype.GetDawg=function(i){var self=this.ptr;if(i&&typeof i==="object")i=i.ptr;return wrapPointer(_emscripten_bind_TessBaseAPI_GetDawg_1(self,i),Dawg)};TessBaseAPI.prototype["NumDawgs"]=TessBaseAPI.prototype.NumDawgs=function(){var self=this.ptr;return _emscripten_bind_TessBaseAPI_NumDawgs_0(self)};TessBaseAPI.prototype["oem"]=TessBaseAPI.prototype.oem=function(){var self=this.ptr;return _emscripten_bind_TessBaseAPI_oem_0(self)};TessBaseAPI.prototype["__destroy__"]=TessBaseAPI.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_TessBaseAPI___destroy___0(self)};function OSResults(){this.ptr=_emscripten_bind_OSResults_OSResults_0();getCache(OSResults)[this.ptr]=this}OSResults.prototype=Object.create(WrapperObject.prototype);OSResults.prototype.constructor=OSResults;OSResults.prototype.__class__=OSResults;OSResults.__cache__={};Module["OSResults"]=OSResults;OSResults.prototype["print_scores"]=OSResults.prototype.print_scores=function(){var self=this.ptr;_emscripten_bind_OSResults_print_scores_0(self)};OSResults.prototype["get_best_result"]=OSResults.prototype.get_best_result=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_OSResults_get_best_result_0(self),OSBestResult)};Object.defineProperty(OSResults.prototype,"best_result",{get:OSResults.prototype.get_best_result});OSResults.prototype["get_unicharset"]=OSResults.prototype.get_unicharset=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_OSResults_get_unicharset_0(self),UNICHARSET)};Object.defineProperty(OSResults.prototype,"unicharset",{get:OSResults.prototype.get_unicharset});OSResults.prototype["__destroy__"]=OSResults.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_OSResults___destroy___0(self)};function Pixa(){throw"cannot construct a Pixa, no constructor in IDL"}Pixa.prototype=Object.create(WrapperObject.prototype);Pixa.prototype.constructor=Pixa;Pixa.prototype.__class__=Pixa;Pixa.__cache__={};Module["Pixa"]=Pixa;Pixa.prototype["get_n"]=Pixa.prototype.get_n=function(){var self=this.ptr;return _emscripten_bind_Pixa_get_n_0(self)};Object.defineProperty(Pixa.prototype,"n",{get:Pixa.prototype.get_n});Pixa.prototype["get_nalloc"]=Pixa.prototype.get_nalloc=function(){var self=this.ptr;return _emscripten_bind_Pixa_get_nalloc_0(self)};Object.defineProperty(Pixa.prototype,"nalloc",{get:Pixa.prototype.get_nalloc});Pixa.prototype["get_refcount"]=Pixa.prototype.get_refcount=function(){var self=this.ptr;return _emscripten_bind_Pixa_get_refcount_0(self)};Object.defineProperty(Pixa.prototype,"refcount",{get:Pixa.prototype.get_refcount});Pixa.prototype["get_pix"]=Pixa.prototype.get_pix=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_Pixa_get_pix_0(self),PixPtr)};Object.defineProperty(Pixa.prototype,"pix",{get:Pixa.prototype.get_pix});Pixa.prototype["get_boxa"]=Pixa.prototype.get_boxa=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_Pixa_get_boxa_0(self),Boxa)};Object.defineProperty(Pixa.prototype,"boxa",{get:Pixa.prototype.get_boxa});Pixa.prototype["__destroy__"]=Pixa.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_Pixa___destroy___0(self)};(function(){function setupEnums(){Module["RIL_BLOCK"]=_emscripten_enum_PageIteratorLevel_RIL_BLOCK();Module["RIL_PARA"]=_emscripten_enum_PageIteratorLevel_RIL_PARA();Module["RIL_TEXTLINE"]=_emscripten_enum_PageIteratorLevel_RIL_TEXTLINE();Module["RIL_WORD"]=_emscripten_enum_PageIteratorLevel_RIL_WORD();Module["RIL_SYMBOL"]=_emscripten_enum_PageIteratorLevel_RIL_SYMBOL();Module["OEM_TESSERACT_ONLY"]=_emscripten_enum_OcrEngineMode_OEM_TESSERACT_ONLY();Module["OEM_LSTM_ONLY"]=_emscripten_enum_OcrEngineMode_OEM_LSTM_ONLY();Module["OEM_TESSERACT_LSTM_COMBINED"]=_emscripten_enum_OcrEngineMode_OEM_TESSERACT_LSTM_COMBINED();Module["OEM_DEFAULT"]=_emscripten_enum_OcrEngineMode_OEM_DEFAULT();Module["OEM_COUNT"]=_emscripten_enum_OcrEngineMode_OEM_COUNT();Module["WRITING_DIRECTION_LEFT_TO_RIGHT"]=_emscripten_enum_WritingDirection__WRITING_DIRECTION_LEFT_TO_RIGHT();Module["WRITING_DIRECTION_RIGHT_TO_LEFT"]=_emscripten_enum_WritingDirection__WRITING_DIRECTION_RIGHT_TO_LEFT();Module["WRITING_DIRECTION_TOP_TO_BOTTOM"]=_emscripten_enum_WritingDirection__WRITING_DIRECTION_TOP_TO_BOTTOM();Module["PT_UNKNOWN"]=_emscripten_enum_PolyBlockType_PT_UNKNOWN();Module["PT_FLOWING_TEXT"]=_emscripten_enum_PolyBlockType_PT_FLOWING_TEXT();Module["PT_HEADING_TEXT"]=_emscripten_enum_PolyBlockType_PT_HEADING_TEXT();Module["PT_PULLOUT_TEXT"]=_emscripten_enum_PolyBlockType_PT_PULLOUT_TEXT();Module["PT_EQUATION"]=_emscripten_enum_PolyBlockType_PT_EQUATION();Module["PT_INLINE_EQUATION"]=_emscripten_enum_PolyBlockType_PT_INLINE_EQUATION();Module["PT_TABLE"]=_emscripten_enum_PolyBlockType_PT_TABLE();Module["PT_VERTICAL_TEXT"]=_emscripten_enum_PolyBlockType_PT_VERTICAL_TEXT();Module["PT_CAPTION_TEXT"]=_emscripten_enum_PolyBlockType_PT_CAPTION_TEXT();Module["PT_FLOWING_IMAGE"]=_emscripten_enum_PolyBlockType_PT_FLOWING_IMAGE();Module["PT_HEADING_IMAGE"]=_emscripten_enum_PolyBlockType_PT_HEADING_IMAGE();Module["PT_PULLOUT_IMAGE"]=_emscripten_enum_PolyBlockType_PT_PULLOUT_IMAGE();Module["PT_HORZ_LINE"]=_emscripten_enum_PolyBlockType_PT_HORZ_LINE();Module["PT_VERT_LINE"]=_emscripten_enum_PolyBlockType_PT_VERT_LINE();Module["PT_NOISE"]=_emscripten_enum_PolyBlockType_PT_NOISE();Module["PT_COUNT"]=_emscripten_enum_PolyBlockType_PT_COUNT();Module["DIR_NEUTRAL"]=_emscripten_enum_StrongScriptDirection_DIR_NEUTRAL();Module["DIR_LEFT_TO_RIGHT"]=_emscripten_enum_StrongScriptDirection_DIR_LEFT_TO_RIGHT();Module["DIR_RIGHT_TO_LEFT"]=_emscripten_enum_StrongScriptDirection_DIR_RIGHT_TO_LEFT();Module["DIR_MIX"]=_emscripten_enum_StrongScriptDirection_DIR_MIX();Module["JUSTIFICATION_UNKNOWN"]=_emscripten_enum_ParagraphJustification__JUSTIFICATION_UNKNOWN();Module["JUSTIFICATION_LEFT"]=_emscripten_enum_ParagraphJustification__JUSTIFICATION_LEFT();Module["JUSTIFICATION_CENTER"]=_emscripten_enum_ParagraphJustification__JUSTIFICATION_CENTER();Module["JUSTIFICATION_RIGHT"]=_emscripten_enum_ParagraphJustification__JUSTIFICATION_RIGHT();Module["TEXTLINE_ORDER_LEFT_TO_RIGHT"]=_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_LEFT_TO_RIGHT();Module["TEXTLINE_ORDER_RIGHT_TO_LEFT"]=_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_RIGHT_TO_LEFT();Module["TEXTLINE_ORDER_TOP_TO_BOTTOM"]=_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_TOP_TO_BOTTOM();Module["ORIENTATION_PAGE_UP"]=_emscripten_enum_Orientation__ORIENTATION_PAGE_UP();Module["ORIENTATION_PAGE_RIGHT"]=_emscripten_enum_Orientation__ORIENTATION_PAGE_RIGHT();Module["ORIENTATION_PAGE_DOWN"]=_emscripten_enum_Orientation__ORIENTATION_PAGE_DOWN();Module["ORIENTATION_PAGE_LEFT"]=_emscripten_enum_Orientation__ORIENTATION_PAGE_LEFT();Module["PSM_OSD_ONLY"]=_emscripten_enum_PageSegMode_PSM_OSD_ONLY();Module["PSM_AUTO_OSD"]=_emscripten_enum_PageSegMode_PSM_AUTO_OSD();Module["PSM_AUTO_ONLY"]=_emscripten_enum_PageSegMode_PSM_AUTO_ONLY();Module["PSM_AUTO"]=_emscripten_enum_PageSegMode_PSM_AUTO();Module["PSM_SINGLE_COLUMN"]=_emscripten_enum_PageSegMode_PSM_SINGLE_COLUMN();Module["PSM_SINGLE_BLOCK_VERT_TEXT"]=_emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK_VERT_TEXT();Module["PSM_SINGLE_BLOCK"]=_emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK();Module["PSM_SINGLE_LINE"]=_emscripten_enum_PageSegMode_PSM_SINGLE_LINE();Module["PSM_SINGLE_WORD"]=_emscripten_enum_PageSegMode_PSM_SINGLE_WORD();Module["PSM_CIRCLE_WORD"]=_emscripten_enum_PageSegMode_PSM_CIRCLE_WORD();Module["PSM_SINGLE_CHAR"]=_emscripten_enum_PageSegMode_PSM_SINGLE_CHAR();Module["PSM_SPARSE_TEXT"]=_emscripten_enum_PageSegMode_PSM_SPARSE_TEXT();Module["PSM_SPARSE_TEXT_OSD"]=_emscripten_enum_PageSegMode_PSM_SPARSE_TEXT_OSD();Module["PSM_RAW_LINE"]=_emscripten_enum_PageSegMode_PSM_RAW_LINE();Module["PSM_COUNT"]=_emscripten_enum_PageSegMode_PSM_COUNT()}if(runtimeInitialized)setupEnums();else addOnPreMain(setupEnums)})();BoolPtr.prototype["getValue"]=function(n){return!!getValue(getPointer(this)+(n||0)*"i1")};IntPtr.prototype["getValue"]=function(n){return getValue(getPointer(this)+(n||0)*4,"i32")};FloatPtr.prototype["getValue"]=function(n){return getValue(getPointer(this)+(n||0)*4,"float")};DoublePtr.prototype["getValue"]=function(n){return getValue(getPointer(this)+(n||0)*8,"double")};BoxPtr.prototype["get"]=PixaPtr.prototype["get"]=PixPtr.prototype["get"]=function(n){return getValue(getPointer(this)+(n||0)*4,"*")};function pointerHelper(){this.obj={}}pointerHelper.prototype["wrap"]=function(name,type){var ptr=_malloc(4);setValue(ptr,0,"i32");return this.obj[name]=wrapPointer(ptr,type)};pointerHelper.prototype["bool"]=function(name){return this["wrap"](name,BoolPtr)};pointerHelper.prototype["i32"]=function(name){return this["wrap"](name,IntPtr)};pointerHelper.prototype["f32"]=function(name){return this["wrap"](name,FloatPtr)};pointerHelper.prototype["f64"]=function(name){return this.obj[name]=wrapPointer(_malloc(8),DoublePtr)};pointerHelper.prototype["peek"]=function(){var obj={};for(var name in this.obj){obj[name]=this.obj[name]["getValue"]()}return obj};pointerHelper.prototype["get"]=function(){var obj={};for(var name in this.obj){obj[name]=this.obj[name]["getValue"]();_free(getPointer(this.obj[name]))}return obj};ResultIterator.prototype["getBoundingBox"]=function(level){var pt=new pointerHelper;this["BoundingBox"](level,pt["i32"]("x0"),pt["i32"]("y0"),pt["i32"]("x1"),pt["i32"]("y1"));return pt.get()};ResultIterator.prototype["getBaseline"]=function(pil){var pt=new pointerHelper;var has_baseline=!!this["Baseline"](pil,pt["i32"]("x0"),pt["i32"]("y0"),pt["i32"]("x1"),pt["i32"]("y1"));var obj=pt.get();obj["has_baseline"]=has_baseline;return obj};ResultIterator.prototype["getWordFontAttributes"]=function(){var pt=new pointerHelper;var fontName=this["WordFontAttributes"](pt["bool"]("is_bold"),pt["bool"]("is_italic"),pt["bool"]("is_underlined"),pt["bool"]("is_monospace"),pt["bool"]("is_serif"),pt["bool"]("is_smallcaps"),pt["i32"]("pointsize"),pt["i32"]("font_id"));var obj=pt.get();obj["font_name"]=fontName;return obj};Module["pointerHelper"]=pointerHelper;


  return TesseractCoreWASM
}
);
})();
if (typeof exports === 'object' && typeof module === 'object')
      module.exports = TesseractCoreWASM;
    else if (typeof define === 'function' && define['amd'])
      define([], function() { return TesseractCoreWASM; });
    else if (typeof exports === 'object')
      exports["TesseractCoreWASM"] = TesseractCoreWASM;