scandit-sdk
Version:
Scandit Barcode Scanner SDK for the Web
1 lines • 141 kB
JavaScript
wasmJSVersion='5.15.0';var key,Module=void 0!==Module?Module:{},moduleOverrides={};for(key in Module)Module.hasOwnProperty(key)&&(moduleOverrides[key]=Module[key]);var nodeFS,nodePath,arguments_=[],thisProgram="./this.program",quit_=function(e,t){throw t},ENVIRONMENT_IS_WEB=!1,ENVIRONMENT_IS_WORKER=!1,ENVIRONMENT_IS_NODE=!1,ENVIRONMENT_IS_SHELL=!1,ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,ENVIRONMENT_IS_SHELL=!1,scriptDirectory="";function locateFile(e){return Module.locateFile?Module.locateFile(e,scriptDirectory):scriptDirectory+e}var scriptDirectory=0!==(scriptDirectory=self.location.href).indexOf("blob:")?scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1):"",read_=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},readBinary=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)},readAsync=function(e,t,r){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)},setWindowTitle=function(e){document.title=e},out=Module.print||console.log.bind(console),err=Module.printErr||console.warn.bind(console);for(key in moduleOverrides)moduleOverrides.hasOwnProperty(key)&&(Module[key]=moduleOverrides[key]);moduleOverrides=null,Module.arguments&&(arguments_=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram),Module.quit&&(quit_=Module.quit);var STACK_ALIGN=16;function alignMemory(e,t){return t=t||STACK_ALIGN,Math.ceil(e/t)*t}function warnOnce(e){warnOnce.shown||(warnOnce.shown={}),warnOnce.shown[e]||(warnOnce.shown[e]=1,err(e))}var wasmBinary,tempRet0=0,setTempRet0=function(e){tempRet0=e},getTempRet0=function(){return tempRet0};Module.wasmBinary&&(wasmBinary=Module.wasmBinary);var wasmMemory,noExitRuntime=Module.noExitRuntime||!0;function setValue(e,t,r,n){switch(r="*"===(r=r||"i8").charAt(r.length-1)?"i32":r){case"i1":case"i8":HEAP8[e>>0]=t;break;case"i16":HEAP16[e>>1]=t;break;case"i32":HEAP32[e>>2]=t;break;case"i64":tempI64=[t>>>0,(tempDouble=t,1<=+Math.abs(tempDouble)?0<tempDouble?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[e>>2]=tempI64[0],HEAP32[e+4>>2]=tempI64[1];break;case"float":HEAPF32[e>>2]=t;break;case"double":HEAPF64[e>>3]=t;break;default:abort("invalid type for setValue: "+r)}}function getValue(e,t,r){switch(t="*"===(t=t||"i8").charAt(t.length-1)?"i32":t){case"i1":case"i8":return HEAP8[e>>0];case"i16":return HEAP16[e>>1];case"i32":case"i64":return HEAP32[e>>2];case"float":return HEAPF32[e>>2];case"double":return HEAPF64[e>>3];default:abort("invalid type for getValue: "+t)}return null}"object"!=typeof WebAssembly&&abort("no native wasm support detected");var EXITSTATUS,ABORT=!1;function assert(e,t){e||abort("Assertion failed: "+t)}function getCFunc(e){var t=Module["_"+e];return assert(t,"Cannot call unknown function "+e+", make sure it is exported"),t}function ccall(e,t,r,n,o){var i={string:function(e){var t,r=0;return null!=e&&0!==e&&(t=1+(e.length<<2),stringToUTF8(e,r=stackAlloc(t),t)),r},array:function(e){var t=stackAlloc(e.length);return writeArrayToMemory(e,t),t}},e=getCFunc(e),a=[],s=0;if(n)for(var u=0;u<n.length;u++){var c=i[r[u]];c?(0===s&&(s=stackSave()),a[u]=c(n[u])):a[u]=n[u]}var l=e=e.apply(null,a);return e="string"===t?UTF8ToString(l):"boolean"===t?Boolean(l):l,0!==s&&stackRestore(s),e}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64,UTF8Decoder="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function UTF8ArrayToString(e,t,r){for(var n=t+r,o=t;e[o]&&!(n<=o);)++o;if(16<o-t&&e.subarray&&UTF8Decoder)return UTF8Decoder.decode(e.subarray(t,o));for(var i="";t<o;){var a,s,u=e[t++];128&u?(a=63&e[t++],192!=(224&u)?(s=63&e[t++],(u=224==(240&u)?(15&u)<<12|a<<6|s:(7&u)<<18|a<<12|s<<6|63&e[t++])<65536?i+=String.fromCharCode(u):(s=u-65536,i+=String.fromCharCode(55296|s>>10,56320|1023&s))):i+=String.fromCharCode((31&u)<<6|a)):i+=String.fromCharCode(u)}return i}function UTF8ToString(e,t){return e?UTF8ArrayToString(HEAPU8,e,t):""}function stringToUTF8Array(e,t,r,n){if(!(0<n))return 0;for(var o=r,i=r+n-1,a=0;a<e.length;++a){var s=e.charCodeAt(a);if((s=55296<=s&&s<=57343?65536+((1023&s)<<10)|1023&e.charCodeAt(++a):s)<=127){if(i<=r)break;t[r++]=s}else if(s<=2047){if(i<=r+1)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(i<=r+2)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(i<=r+3)break;t[r++]=240|s>>18,t[r++]=128|s>>12&63,t[r++]=128|s>>6&63,t[r++]=128|63&s}}return t[r]=0,r-o}function stringToUTF8(e,t,r){return stringToUTF8Array(e,HEAPU8,t,r)}function lengthBytesUTF8(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);(n=55296<=n&&n<=57343?65536+((1023&n)<<10)|1023&e.charCodeAt(++r):n)<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}function allocateUTF8(e){var t=lengthBytesUTF8(e)+1,r=_malloc(t);return r&&stringToUTF8Array(e,HEAP8,r,t),r}function allocateUTF8OnStack(e){var t=lengthBytesUTF8(e)+1,r=stackAlloc(t);return stringToUTF8Array(e,HEAP8,r,t),r}function writeArrayToMemory(e,t){HEAP8.set(e,t)}function writeAsciiToMemory(e,t,r){for(var n=0;n<e.length;++n)HEAP8[t++>>0]=e.charCodeAt(n);r||(HEAP8[t>>0]=0)}function alignUp(e,t){return 0<e%t&&(e+=t-e%t),e}function updateGlobalBufferAndViews(e){buffer=e,Module.HEAP8=HEAP8=new Int8Array(e),Module.HEAP16=HEAP16=new Int16Array(e),Module.HEAP32=HEAP32=new Int32Array(e),Module.HEAPU8=HEAPU8=new Uint8Array(e),Module.HEAPU16=HEAPU16=new Uint16Array(e),Module.HEAPU32=HEAPU32=new Uint32Array(e),Module.HEAPF32=HEAPF32=new Float32Array(e),Module.HEAPF64=HEAPF64=new Float64Array(e)}var wasmTable,INITIAL_MEMORY=Module.INITIAL_MEMORY||33554432,__ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATPOSTRUN__=[],runtimeInitialized=!1,runtimeExited=!1;function preRun(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=!0,Module.noFSInit||FS.init.initialized||FS.init(),TTY.init(),callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=!1,callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){runtimeExited=!0}function postRun(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(e){__ATPRERUN__.unshift(e)}function addOnPostRun(e){__ATPOSTRUN__.unshift(e)}__ATINIT__.push({func:function(){___wasm_call_ctors()}});var runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function getUniqueRunDependency(e){return e}function addRunDependency(e){runDependencies++,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies)}function removeRunDependency(e){var t;runDependencies--,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),0==runDependencies&&(null!==runDependencyWatcher&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled&&(t=dependenciesFulfilled,dependenciesFulfilled=null,t()))}function abort(e){throw Module.onAbort&&Module.onAbort(e),err(e+=""),ABORT=!0,EXITSTATUS=1,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}function hasPrefix(e,t){return String.prototype.startsWith?e.startsWith(t):0===e.indexOf(t)}Module.preloadedImages={},Module.preloadedAudios={};var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(e){return hasPrefix(e,dataURIPrefix)}var fileURIPrefix="file://";function isFileURI(e){return hasPrefix(e,fileURIPrefix)}var tempDouble,tempI64,wasmBinaryFile="scandit-engine-sdk.wasm";function getBinary(e){try{if(e==wasmBinaryFile&&wasmBinary)return new Uint8Array(wasmBinary);if(readBinary)return readBinary(e);throw"both async and sync fetching of the wasm failed"}catch(e){abort(e)}}function getBinaryPromise(){if(!wasmBinary){if("function"==typeof fetch&&!isFileURI(wasmBinaryFile))return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+wasmBinaryFile+"'";return e.arrayBuffer()}).catch(function(){return getBinary(wasmBinaryFile)});if(readAsync)return new Promise(function(t,e){readAsync(wasmBinaryFile,function(e){t(new Uint8Array(e))},e)})}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var t={a:asmLibraryArg};function r(e,t){e=e.exports,Module.asm=e,updateGlobalBufferAndViews((wasmMemory=Module.asm.Wb).buffer),wasmTable=Module.asm.ic,removeRunDependency("wasm-instantiate")}function n(e){r(e.instance)}function o(e){return getBinaryPromise().then(function(e){return WebAssembly.instantiate(e,t)}).then(e,function(e){err("failed to asynchronously prepare wasm: "+e),abort(e)})}if(addRunDependency("wasm-instantiate"),Module.instantiateWasm)try{return Module.instantiateWasm(t,r)}catch(e){return err("Module.instantiateWasm callback failed with error: "+e),!1}return wasmBinary||"function"!=typeof WebAssembly.instantiateStreaming||isDataURI(wasmBinaryFile)||isFileURI(wasmBinaryFile)||"function"!=typeof fetch?o(n):fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(n,function(e){return err("wasm streaming compile failed: "+e),err("falling back to ArrayBuffer instantiation"),o(n)})}),{}}function _0x329d(){var e=["W63cTrhcNSkZ","fSkAeSo5W7K","WQzjWOjQWQu","dmoGg8kVzW","W6amWOa2nq","WPtdMLDuW7SRW6O0EmoCWQiGjq","WO7dPSoFW63dHG","aCkwWPxcJuG","iCoXW7/dSCoG","g1Kpvga","ecFdMmkM","W4dcGCkNwSkA","acRdL8kWWQy","WQ3dV0S","tYe1WOWycCo/WQVcGmo3hmk0gxu","W6tcN8k7zCkE","ffDKW4H5","W4NcIGKfWRC","b8kGhLxcMq","bmkiaf3cMG","mCoYW7JdSCoK","fSk5bCoQW6K","CSoaWRnuW4K","ggSBq1S","W6unWORcKSoM","oJrXrmkt","y0hdNKhcQa","WPddPSovW7/dKq","WOFdKmoLW53dLa","jvCHtv4","W7LuWQTEWP3dJ8oF","ymoJW4TQW6S","BCoEW6DiW68","iqddKSkvWQW","wupdOqy","W6FdVSkxr8oe","W7JdOSkxq8o2","gW7cHcO8","C07cUhKSWORcM3hdG8kBhmkW","y8k/zSoGpW","aSksWQ0YW4q","WR7dN8oKxHe","WO7cLt7dJ8o7","WRxdK2/cRSkh","lSo7W7/dTCo1","uCopW51gW5G","mSkZWPC1W4W","p8k+W5fzWQu","W4/cRrRcISkZ","WPpdN8onBdq","BmoYWOe0gW","eCkxbCoIW5K","W7VdMCkOwCo6","cXKK","a8oTWQakW5S","jmk4WRq/W5C","p8oFW5RcVCox","oXGXcmoh","v8oOofLd","kbdcPqpcJG","amoSh8kCua","imoiW7NcHW","W6ikW6zvvG","FKtdMfdcGW","q8oIWO1wW6W","F2xdVsRcUW","WOS+BKb0","rCkKD8o2mG","drZcMX3cVW","uSogjKTp","W68JWQKcfa","kcpcSYRdNCkiW5nVWP/cRCka","nIRcUcBcGa","gGnxuSk8","WQfEW5uUcW","gmo3W5VdISoy","W4RcIWiJWRC","W4PjWQDhma","WOvRW5CFnG","z8oAW7H8W7C","uCo1WP5XW6q","gCkUWOBcS3S","uSo3Fq/dUX4voNlcUmk/h07cLW","gr0b","u8oAlf1Q","WOL9WOjeWQu","qSkOwCo0eW","frJdIaj7","nZWkW5vD","uf7dUvJcMq","WO03q29A","WOORBej0","fL8lW6rU","W6alWO8NfW","dmkXr35f","W5CLW69wvW","WOT/WPTmWQC","CSo2WQ9WW5G","aSkYWRvIWQ4","WOa8rePI","xuNdVbxcUG","DxddPh7cMq","ArKOWQ7dHa","B8k+w8o6ma","gGBcUYxcNG","uSoXWP5l","pmkHsmo6W48","pmkhmCoKW5K","WORcKYxdTCoc","WR5gWO5kWP0","i8keWOZcUNG","qCkAtCoJka","C8ogdery","W6HwWRX9bq","WPmPW6BcKgO","WPP+W58piq","Cb8zWOddVG","dSksWRrx","WPGqW7Chh8k9c8oXCCoX","W7eIWQudiq","W4ieWPhcJSol","WP4bWQ/dThu","WPhdLWlcVZy","DHlcIxG","W6OJWQdcHCoX","W6ZcQGK2WOO","fGuiW6S1","WR97W5lcOSo4","rGBcRwvB","WOn/WP1HWRG","W47dO8k8tmot","ufZdOH7cTW","dYRcPdRcTa","gbeGha","d345E3y","mCk4hSo5W7W","WOpcLHRdKCoY","WQtcNcddVmoM","oanazSkl","CCoKW5zuW6S","W7ldICkJtCoi","vGNdOSkdWOyPWRa","WRLCWObKWQu","W58nWO/cG8oG","W5ZcNbCQWO0","W5K3W6HWyG","zLyufCktmmo0W5iBta","FdxcIejF","WRGbWRhdOLK","fdJdUmkpWOe","v8o1W7jHW5m","hr4qW7q","edVdMmkHWOm","hSk0h8oSW58","WR/cGYFdTmoy","WP1UW743bW","i8kJC0nJ","W5RcUCkgzCkM","pMassa","W5TqWQvBma","xsNcJMbS","tCo/W4zSW4O","W4iEWRZcPmop","WQ/dVs7cGqi","W77cHCkPrmk5","fN5YW4Xf","gCkHzgrg","qCoEW5jxW50","W6tcSZ/cNSkB","WQZdNZ3cVYG","bXRcJqi8","W6BcOmkDw8kO","pCkeWPLBWOa","fWxcJWGP","WOKjqKnt","BHqGWPxdOW","WOm2W6tcMN8","W79NWRHmWRldI8ov","WQxdOCo+W4hdQG","wupdOqBcOa","W6GvW5rlvW","cCkTWOdcUvG","bmkUWRusW6e","kmk8WPamW68","WR/cJb/dQCoH","WPa4W77cKxa","nSkzsCooW7e","q8onk1X/","yZG9WRldQq","grGOeSoQ","W5/cQrlcM8kv","DwBdVWdcIa","ltZcQZBcMG","nSkZc8ocW7e","m8oVW77cRmo0","o8kNWPK","W57dLCkREmo0","s8oCW51sW40","y8kJxmo+oa","hCoEW6pcV8od","hCkPFSoRW7u","W5ZcN8kysSka","gSkkE8obW7K","xddcK1Lm","uCoGWOzkW7u","WP3cGXBdISo0","lSkdWPjCWPy","amozW5FcN8od","k8kzWRSXW5m","oCkZWQ1xWPG","nr/dNWLt","WPldMbNcTbm","hmk6pSoDW7i","oIyZW5bY","oCkoWO9NWP4","WOyOtfDS","j1mtEuS","WRniW6pcNmom","W4qOWQWnaq","jKZdIt8+v8opWQdcLY3cKa","W5zInXu5E8kHdSkIhG/dGZe","W7VdUSknsmoE","WOhdGSo5Bs0","W4ayWOFcK8o3","fYZcKIGN","vKJdPX/cLG","WOhdO8oyBIO","dCkBBmoCW68","WRJdGCoGW5ldSW","W7pdJ8kTA8oQ","bmkto2rV","v8oWmufc","acVdII1v","db7cObhcSW","WOJcGGFdKSop","W4dcOGGgWQy","W6NdKCkpvCoF","WQtdRCoWCYS","nCkZpNVcHq","W5JcRXNcV8k8","qSoqjKTO","WOuPy1n2","cthcQZRcSq","k8oWW7xdT8o5","fIhcOXFcRa","amo6e8k6tq","lSkozxX4","kCk6WPbdWQu","o8klzKLE","WPjRW5JcHCoA","WP1cWPXBWQe","aCkyeComW7y","WQ/dImojW7ddIW","W7JdR8kyvmof","dSkXj1pcGW","e0Ogt3u","dZ7cMqlcIG","zNJdUqlcVa","tCoqk0LL","mIFcQspcGW","WRJcIaldQCoN","W6hcUc0hWOW","k8oNiSkVBq","WR5OW4xcV8oH","aapcJa4N","W4ibW4nYBG","f8kpErO4FSoQAazZpmoC","WQFcIZ7dL8op","WRfdW53cSCow","bmk7wCoWW58","gSkwfSokW44","hGilW6Pz","iSkMgmo7W4G","oqJdGCk4WQe","WPTRW5CtnG","fYlcOHBdTW","mrZcMYBcRa","WQtdUmoSuXy","WRRdO3/cRmkb","WQNdR8ovvd8","W4e4WR3cSmog","zCkzWRNdM8kUWPRdVxa5WPTY","WOtdKGdcOt0","ASowWOvjW5a","o2Ggzf4","WRJdO8k+C8o8WRBcSW","FZeRWQpdOW","iCo2W7ddOmoc","WQLJW5pcKCoc","WQxcKttdP8oB","W4y5WP/cTCoj","sgldNKdcIq","W64hWOxcGSoM","WQj2WPrcWOe","F1xdVH/cJa","eCkrWPrsWP4","g8oIgmkAAa","dcBdK8kdWPe","WQfqW4G7nG","y8ouWOeRpq","bCkeC1fh","ECk/xSo3pG","s8oqWO00hG","a8oGWQ8DW6G","WOJdSCo5W4ldMq","asqommo9","f8kbWOrqWQG","WP8DWQxdONa","EgxdUNxcHa","jSovWR8kW5C","qCkHW75FWQvIWQZdO2JdPSo9W4Gj","WRfSW5/cSCo6","mxuZq3S","vN3dGdVcOa","mtVcPJZcIW","pSobWR0cW7O","mtVdSSkUWRq","WQrgWRvmWOq","k8kYWRq7W4i","h2C1qxO","kCocWQOcW58","aKacwvG","dZRcMshcNq","WQJcHd3dTmop","jHhdPYH8","WQT/W44OdW","W70kW6PfBW","CCoThNP5","WP9zWP5oWPS","W5dcOb8rWPi","l8kjWR1UWPW","W4RcSmkky8k8","p8o8WPOeW6W","W5mYW6rx","WOFcIqhdIW","WOpdUNRcK8kK","kCkFWOFcVv4","xKJdTZpcUG","nmkifvFcNq","emkHW5SuWRxcRCoXWPFdJ8o9W58aWONcQq","WP7dR8ofBri","WRRcOSooeSkjW4hdHmoZkwi2yam","W5hdRCk3ACov","h8oWWQSOW6K","ASoIW73dPJNcPmket3LwW4m","DXhcPh1b","WQmYW6tcSwC","kciQfmo5","jstdOmk4WOy","BmoXhenl","edBdL8k2WPa","y0NdSbxcOG","omkHwCorW5m","nmk6WPFcRgC","pmoJW5FcQ8ou","dSo6hCkOsq","DMxdR3C","amoiW4BdHCoP","qCkKW7PDWQ5GWQlcLf7dKSoLW5SFzq","W5tcRbRcISkZ","vJObWOi","W6BdKmkHumo8","uSotiuTS","bJVdUYj/","iCoCW6JcNmoV","W5GVW69sqG"];return(_0x329d=function(){return e})()}function _0x7906(i,e){var a=_0x329d();return(_0x7906=function(e,t){var r=a[e-=362];void 0===_0x7906.ssqUte&&(_0x7906.csUSZD=function(e,t){var r,n=[],o=0,i="";for(e=function(e){for(var t,r,n="",o="",i=0,a=0;r=e.charAt(a++);~r&&(t=i%4?64*t+r:r,i++%4)&&(n+=String.fromCharCode(255&t>>(-2*i&6))))r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(var s=0,u=n.length;s<u;s++)o+="%"+("00"+n.charCodeAt(s).toString(16)).slice(-2);return decodeURIComponent(o)}(e),a=0;a<256;a++)n[a]=a;for(a=0;a<256;a++)o=(o+n[a]+t.charCodeAt(a%t.length))%256,r=n[a],n[a]=n[o],n[o]=r;for(var a=0,o=0,s=0;s<e.length;s++)o=(o+n[a=(a+1)%256])%256,r=n[a],n[a]=n[o],n[o]=r,i+=String.fromCharCode(e.charCodeAt(s)^n[(n[a]+n[o])%256]);return i},i=arguments,_0x7906.ssqUte=!0);var n=a[0],o=e+n;return(n=i[o])?r=n:(void 0===_0x7906.fvyprj&&(_0x7906.fvyprj=!0),r=_0x7906.csUSZD(r,t),i[o]=r),r})(i,e)}isDataURI(wasmBinaryFile)||(wasmBinaryFile=locateFile(wasmBinaryFile)),function(){function e(e,t,r){return _0x7906(r-802,t)}function t(e,t,r,n){return _0x7906(t-761,n)}function r(e,t,r){return _0x7906(t- -652,r)}for(var n=_0x329d();;)try{if(811040==+parseInt(r(0,-108,"32*h"))+parseInt(r(0,-75,"zYpd"))/2*(parseInt(r(0,-227,"g1eD"))/3)+-parseInt(_0x7906(511,")xFH"))/4*(-parseInt(r(0,-5,"abMj"))/5)+-parseInt(r(0,-171,"g1eD"))/6+parseInt(t(0,1259,0,"j79!"))/7+-parseInt(t(0,1413,0,"a[PQ"))/8*(-parseInt(e(0,"ex80",1223))/9)+-parseInt(e(0,"04[L",1390))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}();var ASM_CONSTS={425932:function(e){var o={QlpyH:function(e,t){return e(t)},ZJwzD:_0x7906(493,"@vt#")+i(0,"[Amh",-98)+_0x7906(597,"uNzd")+"e",NUskg:function(e,t){return e!==t},mSTcl:_0x7906(699,"#ai)"),dNLeU:_0x7906(535,"OE]n"),zpTvG:function(e,t,r,n){return e(t,r,n)},mnzSG:function(e,t){return e+t},jrHHk:function(e,t){return e(t)},TezcO:function(e,t){return e<t},ISqli:_0x7906(722,"OE]n"),UNRXD:_0x7906(440,"J5fz"),uOxsQ:function(e,t){return e+t},YJgdu:function(e,t,r,n){return e(t,r,n)},MwnPX:function(e,t){return e+t}},t=o[_0x7906(563,"WGkQ")](unescape,o[_0x7906(444,"PmRi")](encodeURIComponent,Module[_0x7906(570,"PuBh")+_0x7906(629,"W$m#")][0]))[_0x7906(414,"6TDY")]("")[_0x7906(590,"NUr8")+"e"](function(e,t){function r(e,t,r,n,o){return a(0,0,0,o- -90,e)}function n(e,t,r,n,o){return s(n- -63,0,0,o)}return o[r("W$m#",0,0,0,1472)](o[r("a[PQ",0,0,0,1337)],o[n(0,0,0,764,"04[L")])?e[r(")4db",0,0,0,1415)+"t"](t[a(0,0,0,1406,"&QkK")+i(0,"abMj",-25)](0)):void o[n(0,0,0,627,"J5fz")](_0x3a32ad,o[r("abMj",0,0,0,1219)])},[]);for(var r=0;o[_0x7906(654,"mc(j")](r,40);r++)o[_0x7906(455,"j79!")](o[_0x7906(635,"7%i]")],o[_0x7906(702,"g1eD")])?o[_0x7906(435,"!3b9")](setValue,o[_0x7906(469,")xFH")](e,r),t[r],"i8"):o[_0x7906(396,"GGst")](_0xde689f,o[_0x7906(628,")^W!")](_0x5ecc92,_0x51decf),_0xfd12d9[_0xd2cc76],"i8");function i(e,t,r){return _0x7906(r- -462,t)}function a(e,t,r,n,o){return _0x7906(n-896,o)}function s(e,t,r,n){return _0x7906(e-302,n)}o[s(870,0,0,"1kud")](setValue,o[s(1007,0,0,"ex80")](e,40),0,"i8")},426186:function(e){var u={OhTmq:function(e,t){return e(t)},ggDmb:_0x7906(441,")4db")+"wn",CduRM:function(e,t){return e<t},EXqal:function(e,t,r,n){return e(t,r,n)},oHvQS:function(e,t){return e+t},JwFXL:function(e,t,r,n){return e(t,r,n)},WnpVp:function(e,t){return e+t},HvDfk:function(e,t){return e!==t},gQRIn:_0x7906(527,"#ai)"),DisLn:function(e,t){return e(t)},NIoXu:_0x7906(581,"k5I4"),HFojQ:_0x7906(478,"04[L"),olzxH:function(e,t,r,n){return e(t,r,n)}};function t(e,t){return _0x7906(t- -682,e)}var r=u[t("aBri",-207)](unescape,u[t("J5fz",-296)](encodeURIComponent,self[_0x7906(557,"#ai)")+d(0,0,-42,"@lTI")+_0x7906(714,"]LWJ")]||u[_0x7906(605,"uNzd")]))[_0x7906(517,"uFXe")]("")[_0x7906(533,"PmRi")+"e"](function(e,t){function r(e,t,r,n,o){return c(o-518,0,0,0,n)}function n(e,t){return d(0,0,e-1301,t)}function o(e,t,r){return c(t- -844,0,0,0,r)}function i(e,t,r){return l(0,0,0,e,r- -1564)}if(!u[i("pVx!",0,-236)](u[i("zYpd",0,-341)],u[n(1018,"5z%y")]))return e[i("&QkK",0,-311)+"t"](t[o(0,-189,"wFmt")+r(0,0,0,"a[PQ",1234)](0));for(var a=u[o(0,-234,"EFiJ")](_0x4cbd21,u[_0x7906(472,"j79!")](_0x2e0f4a,_0x5efc90[r(0,0,0,"4c6E",1298)+i(")xFH",0,-535)+o(0,-333,"T2Fw")]||u[_0x7906(452,"OE]n")]))[r(0,0,0,"[Amh",1266)]("")[o(0,-151,"6TDY")+"e"](function(e,t){function r(e,t,r,n){return c(t-940- -727,0,0,0,n)}return e[r(0,790,0,"1kud")+"t"](t[r(0,794,0,"qT9G")+o(0,-225,"V1m5")](0))},[])[o(0,-77,"WGkQ")](0,255),s=0;u[i("6TDY",0,-445)](s,a[o(0,-321,"nyZE")+"h"]);s++)u[_0x7906(395,"OE]n")](_0x6bedfa,u[o(0,-162,"GGst")](_0x387827,s),a[s],"i8");u[n(994,"@jp@")](_0x5cc9cc,u[o(0,-251,"uFXe")](_0x1f2d97,a[o(0,-166,"5z%y")+"h"]),0,"i8")},[])[_0x7906(696,"pVx!")](0,255);function c(e,t,r,n,o){return _0x7906(e-72,o)}function n(e,t,r,n,o){return _0x7906(e- -418,o)}function l(e,t,r,n,o){return _0x7906(o-654,n)}function d(e,t,r,n){return _0x7906(r- -736,n)}for(var o=0;u[c(650,0,0,0,"GGst")](o,r[n(154,0,0,0,"uNzd")+"h"]);o++)u[n(274,0,0,0,"4c6E")](u[c(643,0,0,0,"5z%y")],u[n(5,0,0,0,"PuBh")])?u[d(0,0,-128,"@lTI")](setValue,u[d(0,0,-346,"7%i]")](e,o),r[o],"i8"):_0x3606a1=_0x57b650[l(0,0,0,"NUr8",1156)](1,-1);u[n(208,0,0,0,"KCmd")](setValue,u[d(0,0,-336,"@jp@")](e,r[l(0,0,0,"]LWJ",1112)+"h"]),0,"i8")},426522:function(e){function t(e,t,r,n,o){return _0x7906(r-78,o)}var r,i={xTTKZ:function(e,t){return e+t},RRmsA:function(e,t,r){return e(t,r)},UurCJ:function(e,t){return e(t)},PXYqO:_0x7906(560,"j79!")+"s",CErib:function(e,t,r){return e(t,r)},xkxML:function(e,t,r,n){return e(t,r,n)},WTkpr:function(e,t){return e+t},lJlgX:function(e,t){return e===t},iHMVH:_0x7906(418,"aBri"),MdruC:function(e,t){return e===t},yABCM:function(e,t){return e!=t},IuBoc:function(e,t){return e===t},QwTYd:_0x7906(415,"GGst")+_0x7906(632,"ZVUs"),asLpl:_0x7906(630,"KCmd"),kFlge:_0x7906(698,"GUXS")+_0x7906(474,"@jp@"),rqcnC:function(e,t){return e!==t},tInvG:_0x7906(678,"Tl@#"),mKXpL:_0x7906(677,"uFXe"),BVkev:function(e,t){return e===t},rFDGW:function(e,t){return e-t},dmYvJ:function(e,t){return e!==t},GLMIw:_0x7906(703,"EFiJ"),PeUKO:_0x7906(680,"uNzd"),DoXrI:function(e,t){return e(t)},lJZDO:function(e,t){return e<t},MMhFE:function(e,t){return e!==t},MtbwW:_0x7906(476,"@vt#"),PpZpX:_0x7906(643,"@jp@"),PfESY:function(e,t,r,n){return e(t,r,n)},PPYwH:function(e,t){return e+t}};function a(e,t,r,n){return _0x7906(n- -856,e)}function s(e,t,r,n){return _0x7906(n- -946,r)}if(i[_0x7906(405,"1kud")](location[t(0,0,742,0,"OE]n")],null)&&i[_0x7906(573,")4db")](location[a("1kud",0,0,-383)][_0x7906(383,"k5I4")+"Of"](i[_0x7906(431,"zYpd")]),0)){if(!i[t(0,0,691,0,"#ai)")](i[s(0,0,"@jp@",-398)],i[t(0,0,799,0,"uNzd")]))return _0x538da5[t(0,0,458,0,"NUr8")+"t"](_0x4967a9[_0x7906(556,"T2Fw")+s(0,0,")xFH",-364)](0));r=i[_0x7906(659,"#ai)")]}else i[a("wFmt",0,0,-191)](i[_0x7906(712,"Tl@#")],i[t(0,0,579,0,"g1eD")])?r=new URL(location[a("6akT",0,0,-165)+s(0,0,"Tl@#",-245)]||location[t(0,0,782,0,")4db")+"n"])[a("5z%y",0,0,-171)+s(0,0,"aBri",-427)]:_0x100a9a[i[_0x7906(369,"g1eD")](_0x3a1712,16)]=i[a("!3b9",0,0,-141)](_0xa92ba,i[_0x7906(419,"V1m5")](_0x517f58,_0xf5e3bb),"i8");function u(e,t,r){return _0x7906(r-499,t)}i[_0x7906(459,"OE]n")](r[0],"[")&&i[a("WGkQ",0,0,-369)](r[i[a("&QkK",0,0,-231)](r[t(0,0,628,0,"k5I4")+"h"],1)],"]")&&(i[_0x7906(485,"W$m#")](i[s(0,0,"&QkK",-222)],i[s(0,0,"@jp@",-286)])?r=r[a("k5I4",0,0,-330)](1,-1):i[_0x7906(503,"32*h")](_0x5c5657,()=>{i[s(0,0,"7%i]",-478)](_0x3d1e22,i[c(0,744,0,0,"V1m5")])},1e3));for(var n=i[a("04[L",0,0,-478)](unescape,i[s(0,0,"qT9G",-544)](encodeURIComponent,r))[s(0,0,"Tl@#",-559)]("")[t(0,0,789,0,"@jp@")+"e"](function(e,t){function r(e,t,r,n){return a(t,0,0,n-1416)}function n(e,t,r,n){return u(0,r,n- -887)}function o(e,t,r,n){return c(0,n-572,0,0,e)}return i[o("nyZE",0,0,1358)](i[o("uFXe",0,0,1613)],i[n(0,0,"#ai)",330)])?e[n(0,0,"6akT",294)+"t"](t[r(0,"k5I4",0,987)+s(0,0,"[Amh",-403)](0)):void i[r(0,")^W!",0,982)](_0x14b955,i[r(0,"5z%y",0,957)](_0xd26f05,_0x39369b),_0x271a81[_0x58fa64],"i8")},[]),o=0;i[u(0,"ex80",993)](o,n[a("zYpd",0,0,-249)+"h"]);o++){if(!i[a("GUXS",0,0,-483)](i[_0x7906(670,"uFXe")],i[_0x7906(713,"ex80")]))return i[a("a[PQ",0,0,-277)](_0x42ebab[s(0,0,"j79!",-503)+"s"],0)?-1:_0x57f09a[t(0,0,471,0,"g1eD")+"s"];i[s(0,0,"PuBh",-343)](setValue,i[_0x7906(412,"#ai)")](e,o),n[o],"i8")}function c(e,t,r,n,o){return _0x7906(t-378,o)}i[u(0,")^W!",1174)](setValue,i[c(0,906,0,0,"PuBh")](e,n[c(0,901,0,0,")xFH")+"h"]),0,"i8")},427115:function(e,t,r,n,o,i){var a={gdumX:function(e,t,r,n){return e(t,r,n)},RyDlQ:function(e,t){return e+t},vOyiK:function(e,t){return e(t)},RoOCG:_0x7906(545,")4db")+m(0,-86,0,0,"4c6E")+_0x7906(363,"KCmd")+"e",EEwnr:function(e,t){return e(t)},DJmrF:function(e,t){return e(t)},okJPY:function(e,t){return e<t},OLnRG:function(e,t,r,n){return e(t,r,n)},Rebgl:_0x7906(542,"g1eD")+"s",nARJB:_0x7906(398,"NUr8")+_0x7906(540,"5z%y"),FJktL:function(e,t,r,n){return e(t,r,n)},lPVFE:function(e,t){return e+t},PyxrH:function(e,t){return e<t},tjbGL:function(e,t){return e===t},yAAPR:_0x7906(717,")^W!"),euWJU:function(e,t,r){return e(t,r)},MKxzy:function(e,t){return e+t},CQnIt:function(e,t){return e(t)},ExElc:function(e,t){return e<t},mzqJG:_0x7906(576,"&QkK"),uCmLs:_0x7906(377,"V1m5"),uuEME:function(e,t,r){return e(t,r)},SUUzt:function(e,t){return e<t},brctv:function(e,t){return e!==t},oIuIT:_0x7906(619,"wFmt"),BdLsQ:function(e,t,r){return e(t,r)},FfVzc:function(e,t){return e+t},gfRmV:_0x7906(500,"@lTI"),njYAU:_0x7906(432,"KCmd")+_0x7906(370,"J5fz")+"pe",DWJeO:_0x7906(448,"zYpd")+_0x7906(403,"nyZE")+_0x7906(598,"ZVUs")+_0x7906(553,"Tl@#")+_0x7906(639,"WGkQ"),TRuwA:_0x7906(376,"g1eD"),CyoNW:_0x7906(489,"NUr8"),ZBQXA:_0x7906(445,"WGkQ"),BVWWh:_0x7906(407,"@jp@"),HbcmG:function(e,t){return e===t},vWpqJ:_0x7906(690,"@jp@"),ZvNIe:_0x7906(669,")^W!"),fVQNS:function(e,t){return e!==t},xPHoq:_0x7906(492,"4c6E"),vjKVr:_0x7906(449,"j79!"),NiQvk:function(e,t){return e!==t},udMiz:p(0,0,0,173,"32*h"),pBQyJ:_0x7906(596,"uNzd")};function s(e,t){return _0x7906(e- -3,t)}for(var u=new Uint8Array(t),c=0;a[_0x7906(362,"V1m5")](c,t);c++){if(!a[p(0,0,0,72,"7%i]")](a[_0x7906(549,"aBri")],a[s(468,"uFXe")]))return-1;u[c]=a[_0x7906(614,"@jp@")](getValue,a[s(389,"PmRi")](e,c),"i8")}for(var l=a[_0x7906(697,"5z%y")](decodeURIComponent,a[_0x7906(591,"7%i]")](escape,String[_0x7906(411,"ZVUs")+s(678,"@lTI")+"de"][_0x7906(637,"5z%y")](null,u))),d=new Uint8Array(a[s(443,"Tl@#")](16,o)),c=0;a[_0x7906(636,"g1eD")](c,16);c++)a[_0x7906(391,"#ai)")](a[s(421,"OE]n")],a[_0x7906(417,"V1m5")])?a[s(371,"@jp@")](_0xd436ce,a[_0x7906(618,"NUr8")](_0x398b92,_0x812c70),_0x470336[_0x2fa289],"i8"):d[c]=a[_0x7906(661,"6TDY")](getValue,a[_0x7906(617,")4db")](r,c),"i8");for(c=0;a[_0x7906(686,"1kud")](c,o);c++)a[_0x7906(633,"nyZE")](a[_0x7906(653,"W$m#")],a[_0x7906(667,"EFiJ")])?(a[_0x7906(365,"5z%y")](_0x59734b,_0x3d49fb,1,"i8"),_0x3df788[_0x7906(447,"mc(j")+"s"](!1,function(e){a[g(863,0,0,0,"NUr8")](_0x4a25b9,a[_0x7906(720,"!3b9")])})):d[a[_0x7906(515,"OE]n")](c,16)]=a[_0x7906(555,"V1m5")](getValue,a[_0x7906(488,"abMj")](n,c),"i8");var f=a[_0x7906(436,"qT9G")](i,1);function _(e,t,r,n){return _0x7906(n-634,r)}function m(e,t,r,n,o){return _0x7906(t- -792,o)}function p(e,t,r,n,o){return _0x7906(n- -543,o)}function g(e,t,r,n,o){return _0x7906(e-492,o)}(i=new XMLHttpRequest)[_0x7906(496,"zYpd")](a[p(0,0,0,-19,"04[L")],l,f),i[_(0,0,"PuBh",1220)+_0x7906(504,"ex80")+_0x7906(530,"KCmd")+"r"](a[_(0,0,"7%i]",1091)],a[_0x7906(401,")xFH")]),i[_(0,0,"[Amh",1038)+"ut"]=1e4;try{if(a[p(0,0,0,150,"NUr8")](a[s(458,"OE]n")],a[p(0,0,0,145,"]LWJ")]))if(i[s(513,"abMj")](d),f){if(a[s(425,"nyZE")](a[p(0,0,0,-30,"@vt#")],a[m(0,-424,0,0,"PmRi")]))return 200;for(var h=a[m(0,-246,0,0,"]LWJ")](_0x4446f0,a[m(0,-151,0,0,"#ai)")](_0x276c87,_0x331c15[p(0,0,0,-48,"qT9G")+g(1149,0,0,0,"ZVUs")][0]))[_(0,0,"PuBh",1344)]("")[p(0,0,0,106,"KCmd")+"e"](function(e,t){function r(e,t,r,n,o){return m(0,n-12,0,0,o)}return e[r(0,0,0,-396,"GGst")+"t"](t[r(0,0,0,-262,"abMj")+g(902,0,0,0,"#ai)")](0))},[]),S=0;a[g(1181,0,0,0,"]LWJ")](S,40);S++)a[m(0,-198,0,0,"ZVUs")](_0x29051f,a[_(0,0,"@vt#",1321)](_0x2e4ab1,S),h[S],"i8");a[p(0,0,0,166,"W$m#")](_0x5ebaf5,a[p(0,0,0,-87,"abMj")](_0x223886,40),0,"i8")}else if(a[s(376,"pVx!")](a[p(0,0,0,176,"ZVUs")],a[g(989,0,0,0,"k5I4")])){if(a[s(379,"GUXS")](i[_(0,0,"4c6E",1001)+"s"],0))return a[s(378,"uNzd")](a[p(0,0,0,21,"NUr8")],a[_(0,0,"g1eD",1116)])?-1:_0xff2346[m(0,-113,0,0,"[Amh")+"t"](_0x46f512[p(0,0,0,11,"pVx!")+p(0,0,0,-133,"#ai)")](0));if(a[g(1092,0,0,0,"J5fz")](a[s(613,"@vt#")],a[_(0,0,"@lTI",1256)]))return i[_(0,0,"GUXS",1033)+"s"];a[p(0,0,0,-101,"T2Fw")](_0x4c0588,a[g(983,0,0,0,"5z%y")])}else _0x524a18=a[m(0,-69,0,0,"nyZE")];else a[p(0,0,0,-77,"1kud")](_0x1cd870,a[s(417,"KCmd")](_0x27d04e,_0x319f60),_0x2e10f1[_0x2cd482],"i8")}catch(e){return!a[m(0,-330,0,0,"GUXS")](a[_(0,0,"]LWJ",1186)],a[_(0,0,"g1eD",1192)])||f?200:-1}},427841:function(e){var u={NylmB:function(e,t){return e(t)},IEnTI:function(e,t){return e<t},zTTXE:function(e,t,r,n){return e(t,r,n)},iCmTx:function(e,t){return e+t},yspHN:function(e,t){return e+t},xRVir:function(e,t){return e===t},uCADM:_0x7906(480,"V1m5"),ApjfC:function(e,t){return e!==t},GbOKX:_0x7906(522,"HRVk"),BUxOu:function(e,t,r,n){return e(t,r,n)},DukHF:function(e,t){return e+t},kQtCJ:function(e,t,r,n){return e(t,r,n)},yDyuo:function(e,t){return e+t}};function t(e,t,r,n,o){return _0x7906(e-107,o)}function c(e,t,r,n){return _0x7906(n-145,e)}function r(e,t){return _0x7906(t-242,e)}function l(e,t,r,n){return _0x7906(n-333,e)}for(var n=u[l("5z%y",0,0,767)](unescape,u[_0x7906(592,")4db")](encodeURIComponent,self[l("ex80",0,0,900)]||"/"))[l("6akT",0,0,953)]("")[t(728,0,0,0,"6TDY")+"e"](function(e,t){function n(e,t,r){return l(r,0,0,e- -225)}function r(e,t,r){return l(r,0,0,e-254)}function o(e,t,r,n,o){return c(o,0,0,n- -1085)}function i(e,t,r,n){return _0x7906(n- -569-422,r)}if(u[n(682,0,"GGst")](u[n(764,0,"EFiJ")],u[c("Tl@#",0,0,615)]))return e[r(1101,0,"k5I4")+"t"](t[o(0,0,0,-513,"k5I4")+n(585,0,"5z%y")](0));for(var a=u[r(1225,0,"GUXS")](_0x5b227b,u[o(0,0,0,-411,"OE]n")](_0x3b4f16,_0x3bf038[o(0,0,0,-329,"PuBh")]||"/"))[i(0,0,"7%i]",501)]("")[i(0,0,"mc(j",480)+"e"](function(e,t){function r(e,t,r,n){return o(0,0,0,n-1089,r)}return e[r(0,0,"]LWJ",710)+"t"](t[r(0,0,"#ai)",656)+n(591,0,"j79!")](0))},[]),s=0;u[o(0,0,0,-309,")xFH")](s,a[i(0,0,"7%i]",361)+"h"]);s++)u[o(0,0,0,-408,"zYpd")](_0x13971d,u[i(0,0,"GUXS",418)](_0x12d6a5,s),a[s],"i8");u[n(517,0,"4c6E")](_0x76121e,u[r(1237,0,")xFH")](_0x5d80be,a[o(0,0,0,-399,"g1eD")+"h"]),0,"i8")},[]),o=0;u[t(687,0,0,0,"6TDY")](o,n[r("1kud",843)+"h"]);o++){if(u[_0x7906(506,"pVx!")](u[c("@jp@",0,0,608)],u[r("PmRi",926)]))return _0x4e1dbd[l("abMj",0,0,823)+"s"];u[t(644,0,0,0,"EFiJ")](setValue,u[_0x7906(454,"GGst")](e,o),n[o],"i8")}u[r("KCmd",672)](setValue,u[l("@lTI",0,0,759)](e,n[r("PmRi",754)+"h"]),0,"i8")},428133:function(e){function i(e,t,r){return _0x7906(r-91,t)}function t(e,t,r){return _0x7906(r-822,t)}function r(e,t,r,n,o){return _0x7906(o-243,n)}var n={IDesu:function(e,t,r){return e(t,r)},ElKYi:function(e,t){return e+t},ovWRL:function(e,t){return e===t},CknHy:_0x7906(460,"j79!"),eSTWf:_0x7906(372,"32*h"),IKsAt:function(e,t){return e(t)},wzNMd:_0x7906(575,"NUr8")+"s",BzBfr:_0x7906(394,"04[L"),PfAIf:t(0,"7%i]",1255),UzPnP:i(0,"uFXe",798)+t(0,"ex80",1522)+_0x7906(584,"6TDY")+"e",lphne:function(e,t){return t<e},BBdWI:function(e,t){return e===t},sFrTP:_0x7906(651,"1kud"),BNERU:t(0,"!3b9",1426),ObiST:function(e,t,r){return e(t,r)},ASwAv:function(e,t){return e===t},YlNUo:i(0,"g1eD",737),DRVRa:_0x7906(467,"NUr8"),xiarC:function(e,t,r,n){return e(t,r,n)}};function a(e,t,r){return _0x7906(t-115,r)}function o(e,t,r){return _0x7906(t- -625,r)}n[o(0,17,"@jp@")](FS[t(0,"EFiJ",1373)+o(0,20,"EFiJ")+a(0,738,"!3b9")],0)?n[t(0,"abMj",1361)](n[t(0,"J5fz",1494)],n[a(0,727,"4c6E")])?_0x6faa8[_0x18f9ea]=n[i(0,"J5fz",753)](_0x323160,n[r(0,0,0,"EFiJ",828)](_0x557332,_0x1ea02d),"i8"):n[i(0,"nyZE",480)](setTimeout,()=>{function e(e,t,r,n,o){return a(0,o- -554,n)}return n[o(0,-63,"ex80")](n[e(0,0,0,"6akT",47)],n[e(0,0,0,"PmRi",95)])?_0x279cbc?200:-1:void n[o(0,-187,"6TDY")](ccall,n[r(0,0,0,"abMj",898)])},1e3):n[a(0,717,"7%i]")](n[i(0,"OE]n",731)],n[o(0,-209,"GGst")])?_0x532fa4=new _0x332ca3(_0x327838[r(0,0,0,"g1eD",970)+a(0,704,"ZVUs")]||_0x22ebdb[t(0,"qT9G",1207)+"n"])[t(0,"HRVk",1493)+a(0,674,"WGkQ")]:(n[t(0,"pVx!",1321)](setValue,e,1,"i8"),FS[r(0,0,0,"abMj",901)+"s"](!1,function(e){function t(e,t,r,n,o){return i(0,e,o- -1029)}return n[a(0,783,"KCmd")](n[a(0,702,"@vt#")],n[a(0,708,"32*h")])?_0x5486d6[t("32*h",0,0,0,-474)+"t"](_0x5382d2[a(0,788,"EFiJ")+a(0,681,"qT9G")](0)):void n[t("zYpd",0,0,0,-343)](ccall,n[t("W$m#",0,0,0,-304)])}))}};function SyncFilesystem(){FS.syncfs(!1,function(e){ccall("js_syncfs_done")})}function callWebassemblyAbort(e){abort(UTF8ToString(e))}function callRuntimeCallbacks(e){for(;0<e.length;){var t,r=e.shift();"function"!=typeof r?"number"==typeof(t=r.func)?void 0===r.arg?wasmTable.get(t)():wasmTable.get(t)(r.arg):t(void 0===r.arg?null:r.arg):r(Module)}}var ExceptionInfoAttrs={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16};function ___cxa_allocate_exception(e){return _malloc(e+ExceptionInfoAttrs.SIZE)+ExceptionInfoAttrs.SIZE}function ExceptionInfo(e){this.excPtr=e,this.ptr=e-ExceptionInfoAttrs.SIZE,this.set_type=function(e){HEAP32[this.ptr+ExceptionInfoAttrs.TYPE_OFFSET>>2]=e},this.get_type=function(){return HEAP32[this.ptr+ExceptionInfoAttrs.TYPE_OFFSET>>2]},this.set_destructor=function(e){HEAP32[this.ptr+ExceptionInfoAttrs.DESTRUCTOR_OFFSET>>2]=e},this.get_destructor=function(){return HEAP32[this.ptr+ExceptionInfoAttrs.DESTRUCTOR_OFFSET>>2]},this.set_refcount=function(e){HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2]=e},this.set_caught=function(e){HEAP8[this.ptr+ExceptionInfoAttrs.CAUGHT_OFFSET>>0]=e=e?1:0},this.get_caught=function(){return 0!=HEAP8[this.ptr+ExceptionInfoAttrs.CAUGHT_OFFSET>>0]},this.set_rethrown=function(e){HEAP8[this.ptr+ExceptionInfoAttrs.RETHROWN_OFFSET>>0]=e=e?1:0},this.get_rethrown=function(){return 0!=HEAP8[this.ptr+ExceptionInfoAttrs.RETHROWN_OFFSET>>0]},this.init=function(e,t){this.set_type(e),this.set_destructor(t),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var e=HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2];HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2]=e+1},this.release_ref=function(){var e=HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2];return HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2]=e-1,1===e}}function CatchInfo(e){this.free=function(){_free(this.ptr),this.ptr=0},this.set_base_ptr=function(e){HEAP32[this.ptr>>2]=e},this.get_base_ptr=function(){return HEAP32[this.ptr>>2]},this.set_adjusted_ptr=function(e){HEAP32[this.ptr+4>>2]=e},this.get_adjusted_ptr=function(){return HEAP32[this.ptr+4>>2]},this.get_exception_ptr=function(){if(___cxa_is_pointer_type(this.get_exception_info().get_type()))return HEAP32[this.get_base_ptr()>>2];var e=this.get_adjusted_ptr();return 0!==e?e:this.get_base_ptr()},this.get_exception_info=function(){return new ExceptionInfo(this.get_base_ptr())},void 0===e?(this.ptr=_malloc(8),this.set_adjusted_ptr(0)):this.ptr=e}var exceptionCaught=[];function exception_addRef(e){e.add_ref()}var uncaughtExceptionCount=0;function ___cxa_begin_catch(e){var t=new CatchInfo(e);return(e=t.get_exception_info()).get_caught()||(e.set_caught(!0),uncaughtExceptionCount--),e.set_rethrown(!1),exceptionCaught.push(t),exception_addRef(e),t.get_exception_ptr()}function ___cxa_current_primary_exception(){if(!exceptionCaught.length)return 0;var e=exceptionCaught[exceptionCaught.length-1];return exception_addRef(e.get_exception_info()),e.get_base_ptr()}function ___cxa_free_exception(e){return _free(new ExceptionInfo(e).ptr)}function exception_decRef(e){var t;e.release_ref()&&!e.get_rethrown()&&((t=e.get_destructor())&&wasmTable.get(t)(e.excPtr),___cxa_free_exception(e.excPtr))}function ___cxa_decrement_exception_refcount(e){e&&exception_decRef(new ExceptionInfo(e))}var exceptionLast=0;function ___cxa_end_catch(){_setThrew(0);var e=exceptionCaught.pop();exception_decRef(e.get_exception_info()),e.free(),exceptionLast=0}function ___resumeException(e){var t=new CatchInfo(e),e=t.get_base_ptr();throw exceptionLast=exceptionLast||e,t.free(),e}function ___cxa_find_matching_catch_2(){var e=exceptionLast;if(!e)return setTempRet0(0),0;var t=new ExceptionInfo(e).get_type(),r=new CatchInfo;if(r.set_base_ptr(e),!t)return setTempRet0(0),0|r.ptr;var n=Array.prototype.slice.call(arguments),o=stackSave(),i=stackAlloc(4);HEAP32[i>>2]=e;for(var a=0;a<n.length;a++){var s=n[a];if(0===s||s===t)break;if(___cxa_can_catch(s,t,i)){var u=HEAP32[i>>2];return e!==u&&r.set_adjusted_ptr(u),setTempRet0(0|s),0|r.ptr}}return stackRestore(o),setTempRet0(0|t),0|r.ptr}function ___cxa_find_matching_catch_3(){var e=exceptionLast;if(!e)return setTempRet0(0),0;var t=new ExceptionInfo(e).get_type(),r=new CatchInfo;if(r.set_base_ptr(e),!t)return setTempRet0(0),0|r.ptr;var n=Array.prototype.slice.call(arguments),o=stackSave(),i=stackAlloc(4);HEAP32[i>>2]=e;for(var a=0;a<n.length;a++){var s=n[a];if(0===s||s===t)break;if(___cxa_can_catch(s,t,i)){var u=HEAP32[i>>2];return e!==u&&r.set_adjusted_ptr(u),setTempRet0(0|s),0|r.ptr}}return stackRestore(o),setTempRet0(0|t),0|r.ptr}function ___cxa_find_matching_catch_4(){var e=exceptionLast;if(!e)return setTempRet0(0),0;var t=new ExceptionInfo(e).get_type(),r=new CatchInfo;if(r.set_base_ptr(e),!t)return setTempRet0(0),0|r.ptr;var n=Array.prototype.slice.call(arguments),o=stackSave(),i=stackAlloc(4);HEAP32[i>>2]=e;for(var a=0;a<n.length;a++){var s=n[a];if(0===s||s===t)break;if(___cxa_can_catch(s,t,i)){var u=HEAP32[i>>2];return e!==u&&r.set_adjusted_ptr(u),setTempRet0(0|s),0|r.ptr}}return stackRestore(o),setTempRet0(0|t),0|r.ptr}function ___cxa_increment_exception_refcount(e){e&&exception_addRef(new ExceptionInfo(e))}function ___cxa_rethrow(){var e=exceptionCaught.pop();e||abort("no exception to throw");var t=e.get_exception_info(),r=e.get_base_ptr();throw t.get_rethrown()?e.free():(exceptionCaught.push(e),t.set_rethrown(!0),t.set_caught(!1),uncaughtExceptionCount++),exceptionLast=r}function ___cxa_rethrow_primary_exception(e){var t;e&&((t=new CatchInfo).set_base_ptr(e),e=t.get_exception_info(),exceptionCaught.push(t),e.set_rethrown(!0),___cxa_rethrow())}function ___cxa_throw(e,t,r){throw new ExceptionInfo(e).init(t,r),uncaughtExceptionCount++,exceptionLast=e}function ___cxa_uncaught_exceptions(){return uncaughtExceptionCount}function _tzset(){var e,t,r,n,o;function i(e){return(e=e.toTimeString().match(/\(([A-Za-z ]+)\)$/))?e[1]:"GMT"}_tzset.called||(_tzset.called=!0,r=(new Date).getFullYear(),n=new Date(r,0,1),o=new Date(r,6,1),e=n.getTimezoneOffset(),t=o.getTimezoneOffset(),r=Math.max(e,t),HEAP32[__get_timezone()>>2]=60*r,HEAP32[__get_daylight()>>2]=Number(e!=t),n=i(n),o=i(o),n=allocateUTF8(n),o=allocateUTF8(o),t<e?(HEAP32[__get_tzname()>>2]=n,HEAP32[__get_tzname()+4>>2]=o):(HEAP32[__get_tzname()>>2]=o,HEAP32[__get_tzname()+4>>2]=n))}function _localtime_r(e,t){_tzset();var r=new Date(1e3*HEAP32[e>>2]);HEAP32[t>>2]=r.getSeconds(),HEAP32[t+4>>2]=r.getMinutes(),HEAP32[t+8>>2]=r.getHours(),HEAP32[t+12>>2]=r.getDate(),HEAP32[t+16>>2]=r.getMonth(),HEAP32[t+20>>2]=r.getFullYear()-1900,HEAP32[t+24>>2]=r.getDay();var n=new Date(r.getFullYear(),0,1),e=(r.getTime()-n.getTime())/864e5|0;return HEAP32[t+28>>2]=e,HEAP32[t+36>>2]=-60*r.getTimezoneOffset(),e=0|((e=new Date(r.getFullYear(),6,1).getTimezoneOffset())!=(n=n.getTimezoneOffset())&&r.getTimezoneOffset()==Math.min(n,e)),HEAP32[t+32>>2]=e,e=HEAP32[__get_tzname()+(e?4:0)>>2],HEAP32[t+40>>2]=e,t}function ___localtime_r(e,t){return _localtime_r(e,t)}function setErrNo(e){return HEAP32[___errno_location()>>2]=e}var PATH={splitPath:function(e){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1)},normalizeArray:function(e,t){for(var r=0,n=e.length-1;0<=n;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r;r--)e.unshift("..");return e},normalize:function(e){var t="/"===e.charAt(0),r="/"===e.substr(-1);return(e=(e=PATH.normalizeArray(e.split("/").filter(function(e){return!!e}),!t).join("/"))||t?e:".")&&r&&(e+="/"),(t?"/":"")+e},dirname:function(e){var e=(t=PATH.splitPath(e))[0],t=t[1];return e||t?e+(t&&t.substr(0,t.length-1)):"."},basename:function(e){if("/"===e)return"/";var t=(e=(e=PATH.normalize(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===t?e:e.substr(t+1)},extname:function(e){return PATH.splitPath(e)[3]},join:function(){var e=Array.prototype.slice.call(arguments,0);return PATH.normalize(e.join("/"))},join2:function(e,t){return PATH.normalize(e+"/"+t)}};function getRandomDevice(){if("object"!=typeof crypto||"function"!=typeof crypto.getRandomValues)return function(){abort("randomDevice")};var e=new Uint8Array(1);return function(){return crypto.getRandomValues(e),e[0]}}var PATH_FS={resolve:function(){for(var e="",t=!1,r=arguments.length-1;-1<=r&&!t;r--){var n=0<=r?arguments[r]:FS.cwd();if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");if(!n)return"";e=n+"/"+e,t="/"===n.charAt(0)}return(t?"/":"")+(e=PATH.normalizeArray(e.split("/").filter(function(e){return!!e}),!t).join("/"))||"."},relative:function(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;0<=r&&""===e[r];r--);return r<t?[]:e.slice(t,r-t+1)}e=PATH_FS.resolve(e).substr(1),t=PATH_FS.resolve(t).substr(1);for(var n=r(e.split("/")),o=r(t.split("/")),i=Math.min(n.length,o.length),a=i,s=0;s<i;s++)if(n[s]!==o[s]){a=s;break}for(var u=[],s=a;s<n.length;s++)u.push("..");return(u=u.concat(o.slice(a))).join("/")}},TTY={ttys:[],init:function(){},shutdown:function(){},register:function(e,t){TTY.ttys[e]={input:[],output:[],ops:t},FS.registerDevice(e,TTY.stream_ops)},stream_ops:{open:function(e){var t=TTY.ttys[e.node.rdev];if(!t)throw new FS.ErrnoError(43);e.tty=t,e.seekable=!1},close:function(e){e.tty.ops.flush(e.tty)},flush:function(e){e.tty.ops.flush(e.tty)},read:function(e,t,r,n,o){if(!e.tty||!e.tty.ops.get_char)throw new FS.ErrnoError(60);for(var i,a=0,s=0;s<n;s++){try{i=e.tty.ops.get_char(e.tty)}catch(e){throw new FS.ErrnoError(29)}if(void 0===i&&0===a)throw new FS.ErrnoError(6);if(null==i)break;a++,t[r+s]=i}return a&&(e.node.timestamp=Date.now()),a},write:function(e,t,r,n,o){if(!e.tty||!e.tty.ops.put_char)throw new FS.ErrnoError(60);try{for(var i=0;i<n;i++)e.tty.ops.put_char(e.tty,t[r+i])}catch(e){throw new FS.ErrnoError(29)}return n&&(e.node.timestamp=Date.now()),i}},default_tty_ops:{get_char:function(e){if(!e.input.length){var t=null;if("undefined"!=typeof window&&"function"==typeof window.prompt?null!==(t=window.prompt("Input: "))&&(t+="\n"):"function"==typeof readline&&null!==(t=readline())&&(t+="\n"),!t)return null;e.input=intArrayFromString(t,!0)}return e.input.shift()},put_char:function(e,t){null===t||10===t?(out(UTF8ArrayToString(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&0<e.output.length&&(out(UTF8ArrayToString(e.output,0)),e.output=[])}},default_tty1_ops:{put_char:function(e,t){null===t||10===t?(err(UTF8ArrayToString(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&0<e.output.length&&(err(UTF8ArrayToString(e.output,0)),e.output=[])}}};function mmapAlloc(e){for(var t=alignMemory(e,16384),r=_malloc(t);e<t;)HEAP8[r+e++]=0;return r}var MEMFS={ops_table:null,mount:function(e){return MEMFS.createNode(null,"/",16895,0)},createNode:function(e,t,r,n){if(FS.isBlkdev(r)||FS.isFIFO(r))throw new FS.ErrnoError(63);return 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}}),n=FS.createNode(e,t,r,n),FS.isDir(n.mode)?(n.node_ops=MEMFS.ops_table.dir.node,n.stream_ops=MEMFS.ops_table.dir.stream,n.contents={}):FS.isFile(n.mode)?(n.node_ops=MEMFS.ops_table.file.node,n.stream_ops=MEMFS.ops_table.file.stream,n.usedBytes=0,n.contents=null):FS.isLink(n.mode)?(n.node_ops=MEMFS.ops_table.link.node,n.stream_ops=MEMFS.ops_table.link.stream):FS.isChrdev(n.mode)&&(n.node_ops=MEMFS.ops_table.chrdev.node,n.stream_ops=MEMFS.ops_table.chrdev.stream),n.timestamp=Date.now(),e&&(e.contents[t]=n,e.timestamp=n.timestamp),n},getFileDataAsTypedArray:function(e){return e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0)},expandFileStorage:function(e,t){var r=e.contents?e.contents.length:0;t<=r||(t=Math.max(t,r*(r<1048576?2:1.125)>>>0),0!=r&&(t=Math.max(t,256)),r=e.contents,e.contents=new Uint8Array(t),0<e.usedBytes&&e.contents.set(r.subarray(0,e.usedBytes),0))},resizeFileStorage:function(e,t){var r;e.usedBytes!=t&&(0==t?(e.contents=null,e.usedBytes=0):(r=e.contents,e.contents=new Uint8Array(t),r&&e.contents.set(r.subarray(0,Math.min(t,e.usedBytes))),e.usedBytes=t))},node_ops:{getattr:function(e){var t={};return t.dev=FS.isChrdev(e.mode)?e.id:1,t.ino=e.id,t.mode=e.mode,t.nlink=1,t.uid=0,t.gid=0,t.rdev=e.rdev,FS.isDir(e.mode)?t.size=4096:FS.isFile(e.mode)?t.size=e.usedBytes:FS.isLink(e.mode)?t.size=e.link.length:t.size=0,t.atime=new Date(e.timestamp),t.mtime=new Date(e.timestamp),t.ctime=new Date(e.timestamp),t.blksize=4096,t.blocks=Math.ceil(t.size/t.blksize),t},setattr:function(e,t){void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp),void 0!==t.size&&MEMFS.resizeFileStorage(e,t.size)},lookup:function(e,t){throw FS.genericErrors[44]},mknod:function(e,t,r,n){return MEMFS.createNode(e,t,r,n)},rename:function(e,t,r){if(FS.isDir(e.mode)){var n;try{n=FS.lookupNode(t,r)}catch(e){}if(n)for(var o in n.contents)throw new FS.ErrnoError(55)}delete e.parent.contents[e.name],e.parent.timestamp=Date.now(),e.name=r,t.contents[r]=e,t.timestamp=e.parent.timestamp,e.parent=t},unlink:function(e,t){delete e.contents[t],e.timestamp=Date.now()},rmdir:function(e,t){for(var r in FS.lookupNode(e,t).contents)throw new FS.ErrnoError(55);delete e.contents[t],e.timestamp=Date.now()},readdir:function(e){var t,r=[".",".."];for(t in e.contents)e.contents.hasOwnProperty(t)&&r.push(t);return r},symlink:function(e,t,r){return(t=MEMFS.createNode(e,t,41471,0)).link=r,t},readlink:function(e){if(!FS.isLink(e.mode))throw new FS.ErrnoError(28);return e.link}},stream_ops:{read:function(e,t,r,n,o){var i=e.node.contents;if(o>=e.node.usedBytes)return 0;var a=Math.min(e.node.usedBytes-o,n);if(8<a&&i.subarray)t.set(i.subarray(o,o+a),r);else for(var s=0;s<a;s++)t[r+s]=i[o+s];return a},write:function(e,t,r,n,o,i){if(t.buffer===HEAP8.buffer&&(i=!1),!n)return 0;var a=e.node;if(a.timestamp=Date.now(),t.subarray&&(!a.contents||a.contents.subarray)){if(i)return a.contents=t.subarray(r,r+n),a.usedBytes=n;if(0===a.usedBytes&&0===o)return a.contents=t.slice(r,r+n),a.usedBytes=n;if(o+n<=a.usedBytes)return a.contents.set(t.subarray(r,r+n),o),n}if(MEMFS.expandFileStorage(a,o+n),a.contents.subarray&&t.subarray)a.contents.set(t.subarray(r,r+n),o);else for(var s=0;s<n;s++)a.contents[o+s]=t[r+s];return a.usedBytes=Math.max(a.usedBytes,o+n),n},llseek:function(e,t,r){if(1===r?t+=e.position:2===r&&FS.isFile(e.node.mode)&&(t+=e.node.usedBytes),t<0)throw new FS.ErrnoError(28);return t},allocate:function(e,t,r){MEMFS.expandFileStorage(e.node,t+r),e.node.usedBytes=Math.max(e.node.usedBytes,t+r)},mmap:function(e,t,r,n,o,i){if(0!==t)throw new FS.ErrnoError(28);if(!FS.isFile(e.node.mode))throw new FS.ErrnoError(43);var a,s,e=e.node.contents;if(2&i||e.buffer!==buffer){if((0<n||n+r<e.length)&&(e=e.subarray?e.subarray(n,n+r):Array.prototype.slice.call(e,n,n+r)),s=!0,!(a=mmapAlloc(r)))throw new FS.ErrnoError(48);HEAP8.set(e,a)}else s=!1,a=e.byteOffset;return{ptr:a,allocated:s}},msync:function(e,t,r,n,o){if(!FS.isFile(e.node.mode))throw new FS.ErrnoError(43);return 2&o||MEMFS.stream_ops.write(e,t,0,n,r,!1),0}}},IDBFS={dbs:{},indexedDB:function(){if("undefined"!=typeof indexedDB)return indexedDB;var e=null;return assert(e="object"==typeof window?window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB:e,"IDBFS used, but indexedDB not supported"),e},DB_VERSION:21,DB_STORE_NAME:"FILE_DATA",mount:function(e){return MEMFS.mount.apply(null,arguments)},syncfs:function(t,n,o){IDBFS.getLocalSet(t,function(e,r){return e?o(e):void IDBFS.getRemoteSet(t,function(e,t){return e?o(e):void IDBFS.reconcile(n?t:r,n?r:t,o)})})},getDB:function(e,t){var r,n=IDBFS.dbs[e];if(n)return t(null,n);try{r=IDBFS.indexedDB().open(e,IDBFS.DB_VERSION)}catch(e){return t(e)}if(!r)return t("Unable to connect to IndexedDB");r.onupgradeneeded=function(e){var t=e.target.result,e=e.target.transaction;(t=t.objectStoreNames.contains(IDBFS.DB_STORE_NAME)?e.objectStore(IDBFS.DB_STORE_NAME):t.createObjectStore(IDBFS.DB_STORE_NAME)).indexNames.contains("timestamp")||t.createIndex("timestamp","timestamp",{unique:!1})},r.onsuccess=function(){n=r.result,IDBFS.dbs[e]=n,t(null,n)},r.onerror=function(e){t(this.error),e.preventDefault()}},getLocalSet:function(e,t){var r={};function n(e){return"."!==e&&".."!==e}function o(t){return function(e){return PATH.join2(t,e)}}for(var i=FS.readdir(e.mountpoint).filter(n).map(o(e.mountpoint));i.length;){var a,s=i.pop();try{a=FS.stat(s)}catch(e){return t(e)}FS.isDir(a.mode)&&i.push.apply(i,FS.readdir(s).filter(n).map(o(s))),r[s]={timestamp:a.mtime}}return t(null,{type:"local",entries:r})},getRemoteSet:function(e,n){var o={};IDBFS.getDB(e.mountpoint,function(e,t){if(e)return n(e);try{var r=t.transaction([IDBFS.DB_STORE_NAME],"readonly");r.onerror=function(e){n(this.error),e.preventDefault()},r.objectStore(IDBFS.DB_STORE_NAME).index("timestamp").openKeyCursor().onsuccess=function(e){if(!(e=e.target.result))return n(null,{type:"remote",db:t,entries:o});o[e.primaryKey]={timestamp:e.key},e.continue()}}catch(e){return n(e)}})},loadLocalEntry:function(e,t){try{var r=FS.lookupPath(e).node,n=FS.stat(e)}catch(e){return t(e)}return FS.isDir(n.mode)?t(null,{timestamp:n.mtime,mode:n.mode}):FS.isFile(n.mode)?(r.contents=MEMFS.getFileDataAsTypedArray(r),t(null,{timestamp:n.mtime,mode:n.mode,contents:r.contents})):t(new Error("node type not supported"))},storeLocalEntry:function(e,t,r){try{if(FS.isDir(t.mode))FS.mkdirTree(e,t.mode);else{if(!FS.isFile(t.mode))return r(new Error("node type not supported"));FS.writeFile(e,t.contents,{canOwn:!0})}FS.chmod(e,t.mode),FS.utime