UNPKG

scandit-sdk

Version:

Scandit Barcode Scanner SDK for the Web

1 lines 142 kB
wasmJSVersion='5.12.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.Rb).buffer),wasmTable=Module.asm.dc,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 _0x3511(i,e){var a=_0x1a6f();return(_0x3511=function(e,t){var r=a[e-=466];void 0===_0x3511.kunbsI&&(_0x3511.fWDqGN=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,_0x3511.kunbsI=!0);var n=a[0],o=e+n;return(n=i[o])?r=n:(void 0===_0x3511.PWxdCO&&(_0x3511.PWxdCO=!0),r=_0x3511.fWDqGN(r,t),i[o]=r),r})(i,e)}function _0x1a6f(){var e=["tY9EuZq","W43dOtHIEW","E8okvCoMW5O","fN7dJ8o6dW","fZ8uWQ8","WRyKjSkbbG","ge8KWRP2","WOKOfCoUWPK","W7v8B8oiWOe","F8oyW4eIWRO","vSoKW4O","cfuEWRXA","DJpcLSkIbG","ASoLW7uOWP4","WRZcPCoAt8o3","WOpdGxWUW6q","WPzpW7fqWOK","uNGxWROs","mwZcIufi","A8kXW6jAAG","zmonW5iqWOa","WRzEf8oywa","mbKxsmo0","W6JdKCkykGa","WRxcRmobtSoI","zSoDsvVcQq","W5ldPSkPkG","AMVcTsVdVa","WRPBW5nymG","WQuoW6BcT3e","WRhcUtiSW7W","WPCQp8o3WR8","rCoSW4ShWQa","wmocW7OHW68","jmoRWRTOWOK","EMJcSIVdUa","h0dcJLDq","WPmllCoUWRq","W5RcUIz8uq","csfiW6jDrgZcIvVdM8k3WPmM","WRFdLwunW4u","WRNcQCoqzSo5","ECkKWP4rW4K","WQJcRG1paW","eSoQW4FdGCo8","W4ZcNdLRFa","h2BdVSo6mW","WPDdW6PyeG","W4ldLGj1Ea","atuoWR/cOq","WPyHcCobWQG","q8k3W5XEsa","W6vEySopWPm","WPqaaSoHWOG","rmopW6mG","jSk0W73cV8kH","rCkSW7RdSSotns3dIW","WORcP8kEW4e","ymoTrmoHW4O","W5dcJIP/AG","j1FcPur8","sSozW7uwWOC","WPaUdCoHWR4","xI/cPSkwoq","WPriCKrr","hSoJWOrTWQ8","WQvBx0f3","tt3dUqWWW4RdICkCW4CZEmoO","DSkoW4vjsa","WPurcqK+","W40uWQiIW64iWPXbW6/dR2qXW7q","ESk7W6HmAa","icGoqKm","WRz3amo0FG","s8o0W4S6WQi","gwddL2Tw","W53dHW1MEq","lbSsrSoP","kZfVCCop","W4NcKdncCG","esqbWQ7cPa","zCojW4qXW78","v8kGW4iBW792WOrcAxrNW4io","W70iWO7cU8oRWO3dP1JdMa","WPGOaCovWOi","WRZcUI56nG","t8oMW4ripa","fsLKACo/","W5/dP8kUlq","WPaHkCocWQu","WPtcVmoMqmoe","WPxdGwqsmtfRg0Suc8k9WRO","WPTDuurZ","hcHWx8oZ","AMpcPa/dUa","EmoIW7yvWRy","WQSfptCr","W7GkW6tcPCo7WRJdP1C","WOGRimoXWPC","WR7dTuOdW4e","WQtcOCo3vmoc","WRiKW5hcM1e","iNKnWP9g","ECoCW4ZdL1q","WPT/W5KhDW","W4/dTcTWAG","s8k/W7xdM8kyWOG9fCk2WPzuWPpdGa","WRDDW5lcH8or","WPXmW7v3WR8","W7ldSSovWQ9t","WQjJaCovtW","yGJcMCkQga","EdZdUgVdIW","wSoEB20","qCo1W7ldNCoMnIK","ACoXW5uJW68","WRdcQSoTuSoh","W6VdKSoFWQXz","WPXJExPF","W4bbBmogWRm","adSkrCov","lCkDW6JcT8kN","WOxcSCk5W64/","WRirdIGd","WOqtaSkQaW","W7P2B8omWPq","W6zYDCod","WRtcPqPlda","WPKdaSoNWQm","utxcPSk8gW","cJiSwuW","csm+WPO/ms/cNW","W7VdM8kvdtm","W4RdJmoSWQnB","WOyMgmofWQu","WR0uW47cOhK","buWgWO5l","WRNcNCoqySoC","jY0+w0G","h8keWQjiW4RdQvzRqbZcP24","dam6A8og","zJdcVmkynG","cW4pWPhcJq","W6BcLr5JEq","tCoQW7y6WRO","yX1fyH0","WOyrfSkAjG","FualWPWo","CCohq8osW54","gmo4WRZcGCor","W5ZdLGHNBW","WRGWW6FcT0m","WR7dVeGjW5m","vtRdGMVdPa","W5pdK8kccWm","WPT2W6/cQCo+","WQznW4HEnG","W5dcJd1EFq","oYLIASo4","DCkXW6HiFq","WQyKW67cOhC","WRyno8kHca","WQWomSkxiG","hMuQWQ1t","nvNdNNDM","WO1UFh1/","dJKPq8oN","WQbEW7HRlW","WOSeW4VcMge","WR1EWRrliW","WO8KcCoYWPO","lbldI8oEda","WQfAW5VcOSon","WRvyW7zYgq","C8kIW7rMEW","amo9W47dKa","W5ddUCkCgrG","rmoKW7eZWPC","fZOqWPhcPa","rttcS1f+WOZdMmko","WOxcJCk+W4yo","zJNcOCkPnG","kZpdT8oaeG","wSo5W4mxWRC","zSoXW6D1eG","jXCvzuW","W71+W5BdJ38","WRlcUqDjhq","W6xdQsLrEG","WOr6W4GUBq","c8oTWQ3cGa","eCofWR56WOe","jmkiW7VcSCkc","kdddQhZcRCoaW43cJgfkEc8P","WO7dNLueW7i","qCoqW5yhWP8","WOugW4/cL0e","kxGEWRDr","WRKho8kLhq","W7tdPCoqWQjA","sCoyW4mCWPu","W7/dVSkldr0","WRZcJX4OWOC","WQa1W63cTq","WR4DjCo0WOC","WPq3kSolWRa","W69BDCokWQS","W7DMACofWQ8","cSoJWPL4WOm","iayvqSoH","EwWWWPvgjSkO","pcLQtSor","zJ7dKNldRq","W5pcMsHczG","WO7dUmkcfr7dNCkL","WOVcPSkeW5C","eqJdGCoaka","W59eW4ZdMNe","WRyZkd4i","W71MW57dMg8","EmklWP4VW7e","WRJdO2WIW4e","W5v8B8oFWOu","qmo7W4S6WPC","W4CuWQGHW612W7T9W4pdMey","WP0jbmkvgW","WPnVW7jXWOO","W4pdUZXzxq","smkTWRutW7K","WRbOcmodza","tCkQWRCn","WOrWW74wDW","ASoaW7vJWQO","rCo1W4mlWPC","WPRcKmkFW6Gw","W4JcKZbPtq","WO18W7GNqa","rdf0zWG","WPiQimopWOy","F8k2W5nNua","omkTW5NcQmky","WO9uW4ijxq","bCo5WPnzWOK","WOpdQ2C2W6q","WRjYdSoesG","t8onW5e2WPS","lxpdQ8ox","nYxdPSohdq","rmo5W4mBWRC","W5NdOCk7lcK","Bui/WRCA","W4ZcLHLdFq","gbldSSoDkq","WPtcUmk/W50c","eIBdPCogbW","vZBdH0xdOq","isyYzSo4","lq4+ugC","BCk2WQmtW7m","ihBdI8oOWRK","WOzjW63cOmoA","W7HMBCohW48","WQxcTmoBrmoR","CSoRW7aiWOi","wCoZFmo+W4e","o3xcIu9/","W7/dVSojWQvT","fCo9WRziWQW","jg/cK8kZbdeaWOW","WOGlarKN","BSknWRmPW5C","rCkHWPJcJmkOw2JdNConkIy+WO4","WQ3cQCkgW4Sw","WOnDW4TskG","CSklWRCGW5a","rmowxgxcQG","WRxdN08QW7m","jg3cPSkFjaGWWR8","gN3dOujK","bxdcPuz9","FhKlWPuG","WR1yCevK","kNJdVCoIeG","WOqOW43cGg8","fmoMWQDtWOi","rXDhzXq","r8oSW4rk","lG8Yuh0","WRXcW617WP8","dSkBW4/cO8kb","CZJcSCkHpW","n8olW5hdUCoR","WQSbW7VcKeC","rrTcDsC","kXGEFwq","tmoNW49Upa","WQDdW7r6nq","rSoXW7KuWO8","qmoAW47dUq","w8oaW60RWRi","W5pcOHD9BW","Axy3lmkpa34cW7FcKSoAWR9u","WR/dQuavW4q","W7tdJCkIpWq","WP7cKtunWPq","WROtcbmh","t8oqW6vogq","W7pdQ8ooWQzk","ealdL8o5oq","WOZcNCoYBSoM","WPz7W6Hlnq","o1lcO35O","c8olW6pdVmoI","W6P6W4BdRwm","WRrSh8o7sG","WRXcdmo5xG","CSovW4ChW50","WQP/W4tcQ8oo","WPOFcG","WQPeW7ZcL8oq","W6vNymoFWPu","WRTyW7X5","cCkDW5FcKCkf","sSk9W658Aa","FeRcSYZdVa","ySo7DCo5W7S","tSolW4a/WQK","W4XZFmoBWOnWcmoGWRy","WPOii8oNWRq","WP44emkbhW","rcVdQxhdRW","W6ldPMr2W7hcI8knW61QW49JWOu4Ea","o8ocW4LPWRZcMSks","WRJdOK8oW4G","WO3cKdr1fa","y8ovW5ifWRi","lxNdNf9k","t8oSW4Loja","cmk+W6/cLmkJ","AGRdVLJdTq","EmkKW7zdya","gXy4WONcJG","WPtcKGSwWOm","lhan","W6ZdSt1HtW","WPnUDM9O","rmotW4yaWQu","fwJcPq","oxRdQmobWP4","fSoSWQNcRmoC","tmkZWPCVW5u","CZZdPxZdHa","FH/cV8k3hG","heSBWQHz","rSoEzMRcKG","D8o3W6Xiga","zmoRW7GRWQO","afFcOuDQ","WQtcQmoruSoU","WRLcW7z3ia","ggdcRLj9","W4xdRCo3WQbp","WRjZW4L2WRK","hNBcN0zW","WQRcUa4QWPi","Axi6imkmaxTvW5xcImooWP10jW","W6pdUCoiWQHF","W7vcrCoKWPu","n8o8W6NdH8oL","WQzFW4ZcOmow","eCoQWRZcUSob","WPPIW5TAeW","WQdcLbOwWQG","WOtcU8kVW5CU","W5/dVCo3lr4","pLZdP0Tw","lZ7dG8oYka","lwVdPSooydOGWReKWPpdUG","WP/cUHGDWOe","W6NdQ8knbWm","kdGvWQNcLq","W5dcIb1pFW","WOijW4pcUxa","FddcPSkJhq","WQ7dO0OdW4y","WQWAhbmv","e8o5WP1/WQ8","eqOtWP/cIa","DhtcMapdLq","s8omW7CuWOC","s3WrWRen"];return(_0x1a6f=function(){return e})()}isDataURI(wasmBinaryFile)||(wasmBinaryFile=locateFile(wasmBinaryFile)),function(){var t=_0x1a6f();function e(e,t){return _0x3511(e-30,t)}function r(e,t){return _0x3511(e- -269,t)}function n(e,t,r,n,o){return _0x3511(t-187,o)}function o(e,t,r,n){return _0x3511(r-308,n)}for(;;)try{if(635939==-parseInt(e(561,"*yVK"))*(-parseInt(e(826,"YRmN"))/2)+parseInt(n(0,757,0,0,"fSrk"))/3*(parseInt(_0x3511(678,"fzOI"))/4)+parseInt(r(496,"DGE8"))/5+parseInt(n(0,978,0,0,"1hrK"))/6*(-parseInt(r(572,"m$17"))/7)+parseInt(n(0,748,0,0,"1L3C"))/8*(parseInt(n(0,733,0,0,"RrwL"))/9)+-parseInt(e(765,"dCX)"))/10*(parseInt(o(0,0,951,"*yVK"))/11)+parseInt(e(859,"DGE8"))/12*(-parseInt(o(0,0,903,"@UGO"))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();var ASM_CONSTS={315012:function(e){var i={iqJGh:function(e,t){return e(t)},NDxan:_0x3511(738,"Y&tk")+_0x3511(469,"nOMN")+_0x3511(853,"h$Kb")+"e",ylgUK:function(e,t){return e!==t},xbwdQ:_0x3511(754,"m$17"),SbWYi:function(e,t,r,n){return e(t,r,n)},EPsNf:function(e,t){return e+t},xrvFe:function(e,t){return e<t},hbpWi:function(e,t){return e===t},iZXUi:_0x3511(670,"2qpb"),mXcOW:function(e,t){return e+t}};function a(e,t,r,n){return _0x3511(n- -608,e)}for(var t=i[_0x3511(721,"DNt1")](unescape,i[a("ahsX",0,0,-116)](encodeURIComponent,Module[_0x3511(508,"dCX)")+_0x3511(552,"fzOI")][0]))[_0x3511(542,"DGE8")]("")[_0x3511(766,"K$0!")+"e"](function(e,t){function r(e,t,r,n,o){return a(n,0,0,o- -176)}function n(e,t,r,n,o){return _0x3511(o- -411-586,n)}var o={twpgv:function(e,t){return i[_0x3511(709,"h$Kb")](e,t)},tXoLA:i[n(0,0,0,"fzOI",942)]};if(!i[n(0,0,0,"nOMN",801)](i[n(0,0,0,"ixLj",672)],i[s(0,"Llet",0,0,704)]))return e[r(0,0,0,"lAve",31)+"t"](t[r(0,0,0,"DGE8",-162)+s(0,"Dm%U",0,0,733)](0));o[n(0,0,0,"Llet",946)](_0x304248,o[r(0,0,0,"66zM",-86)])},[]),r=0;i[a("RrwL",0,0,-79)](r,40);r++)i[a("fSrk",0,0,226)](i[_0x3511(805,"[qCA")],i[_0x3511(618,"fzOI")])?i[_0x3511(820,"tO38")](setValue,i[_0x3511(779,"PJ3J")](e,r),t[r],"i8"):i[_0x3511(843,"fzOI")](_0x47180d,i[_0x3511(611,"@UGO")](_0x5e35ea,_0x393b99),_0x1fb545[_0x25f75e],"i8");function s(e,t,r,n,o){return _0x3511(o- -26,t)}i[a("nCc3",0,0,-141)](setValue,i[_0x3511(519,"r8Q7")](e,40),0,"i8")},315266:function(e){function s(e,t,r,n,o){return _0x3511(o- -618,e)}var u={zcYHy:function(e,t){return e(t)},AQHjX:_0x3511(772,"9!v0")+_0x3511(624,"9Yvq")+_0x3511(521,"66zM"),MDhCR:function(e,t){return e!==t},PwRMp:_0x3511(776,"dCX)"),BzICC:function(e,t){return e(t)},URGer:function(e,t){return e<t},JNKjX:function(e,t,r,n){return e(t,r,n)},shWpi:function(e,t){return e+t},slDcf:function(e,t,r,n){return e(t,r,n)},yBoMj:function(e,t){return e+t},Kssmj:function(e,t){return e(t)},oMRDL:function(e,t){return e(t)},VGWYq:_0x3511(797,"K$0!")+"wn",UOKxh:function(e,t){return e<t},MTnMM:function(e,t){return e===t},fgXuJ:s("fqQw",0,0,0,159),RuJBc:_0x3511(770,"Dm%U"),sMcds:function(e,t,r,n){return e(t,r,n)},jvrIr:function(e,t,r,n){return e(t,r,n)},VcCTL:function(e,t){return e+t}},t=u[_0x3511(527,"m$17")](unescape,u[_0x3511(723,"zDY!")](encodeURIComponent,self[_0x3511(830,"Llet")+_0x3511(792,"1hrK")+_0x3511(581,"Llet")]||u[_0x3511(798,"3ymg")]))[_0x3511(712,"tO38")]("")[_0x3511(496,"tO38")+"e"](function(e,t){function r(e,t){return c(0,e,0,0,t-1158)}var n={DndPw:function(e,t){return u[_0x3511(608,"tO38")](e,t)},ymSdT:u[i(0,773,"VRgm")]};function o(e,t,r,n,o){return l(e,0,o- -1418)}function i(e,t,r){return f(0,0,0,r,t- -462)}if(!u[i(0,813,"p9WB")](u[c(0,"OfY^",0,0,268)],u[i(0,782,"ahsX")]))return e[o(")bDy",0,0,0,-12)+"t"](t[i(0,753,"PJ3J")+s("2Lq3",0,0,0,35)](0));var a={TWkyq:function(e,t){return n[r("abkA",1405)](e,t)},CCCKI:n[o("p9WB",0,0,0,143)]};_0x133ee8[r("3ymg",1373)+"s"](!1,function(e){function t(e,t,r,n){return i(0,t- -301,n)}a[t(0,471,0,"h$Kb")](_0x59ca4f,a[t(0,376,0,"9Yvq")])})},[])[_0x3511(605,"m$17")](0,255);function c(e,t,r,n,o){return _0x3511(o- -292,t)}function l(e,t,r){return _0x3511(r-733,e)}function f(e,t,r,n,o){return _0x3511(o-507,n)}for(var r=0;u[s("9!v0",0,0,0,222)](r,t[s("h$Kb",0,0,0,-93)+"h"]);r++)if(u[c(0,"9!v0",0,0,419)](u[s("Guei",0,0,0,-38)],u[s("ixLj",0,0,0,162)])){for(var n=u[f(0,0,0,"9Yvq",1072)](_0x2b2d4a,u[s("RrwL",0,0,0,-120)](_0x1085d2,_0xc09ade[f(0,0,0,"2qpb",1097)]||"/"))[l("DGE8",0,1275)]("")[l("N1#2",0,1347)+"e"](function(e,t){function r(e,t,r,n,o){return s(n,0,0,0,o-42)}return e[r(0,0,0,"wLqo",-4)+"t"](t[r(0,0,0,"DNt1",73)+i(0,0,"1hrK",164)](0))},[]),o=0;u[f(0,0,0,"@UGO",1221)](o,n[_0x3511(662,"nOMN")+"h"]);o++)u[s("9Yvq",0,0,0,228)](_0x33438d,u[_0x3511(734,"Y&tk")](_0x6fc2a3,o),n[o],"i8");u[c(0,"RrwL",0,0,439)](_0x3d3e12,u[f(0,0,0,"tO38",1297)](_0x2d0205,n[_0x3511(623,"@Rc)")+"h"]),0,"i8")}else u[_0x3511(516,"2qpb")](setValue,u[_0x3511(606,"[qCA")](e,r),t[r],"i8");function i(e,t,r,n){return _0x3511(n- -389,r)}u[i(0,0,"@Rc)",249)](setValue,u[l("9!v0",0,1368)](e,t[l("nOMN",0,1395)+"h"]),0,"i8")},315602:function(e){function t(e,t,r,n){return _0x3511(n-707,r)}var r,o={NMXNC:function(e,t,r,n){return e(t,r,n)},DisGH:function(e,t){return e+t},ErMZZ:function(e,t,r){return e(t,r)},MhgqD:function(e,t){return e===t},IHBEI:_0x3511(526,"1hrK"),OpIzv:_0x3511(742,"abkA"),DdIst:function(e,t){return e!=t},CRqdU:function(e,t){return e===t},paEqK:_0x3511(494,"p9WB")+_0x3511(725,"2qpb"),evpMC:_0x3511(684,"Y&tk"),uoHBf:_0x3511(749,"5WIP")+_0x3511(710,"nCc3"),SxBsa:function(e,t){return e!==t},sdxGa:_0x3511(554,"Guei"),BShMx:_0x3511(523,"X!gy"),sAGXn:function(e,t){return e===t},uhoTe:function(e,t){return e-t},hWmLG:_0x3511(687,"tO38"),fbUHY:function(e,t){return e(t)},iljDW:function(e,t){return e<t},mIndY:function(e,t){return e===t},EQqTo:_0x3511(844,"[qCA"),OjAJF:_0x3511(847,"m$17"),qxVfL:function(e,t,r,n){return e(t,r,n)},oIPap:function(e,t){return e+t}};function i(e,t,r,n){return _0x3511(t-953,n)}function a(e,t){return _0x3511(t-365,e)}function n(e,t,r,n,o){return _0x3511(n-186,o)}function s(e,t,r,n){return _0x3511(r- -895,n)}o[_0x3511(832,"dCX)")](location[_0x3511(667,"9Yvq")],null)&&o[t(0,0,"r8Q7",1509)](location[_0x3511(785,"ahsX")][_0x3511(651,"3ymg")+"Of"](o[_0x3511(634,"1hrK")]),0)?o[_0x3511(584,")bDy")](o[_0x3511(778,"PJ3J")],o[_0x3511(642,"[qCA")])?r=o[_0x3511(685,"K$0!")]:_0x109a50=_0x2a20b8[_0x3511(854,"@UGO")](1,-1):o[_0x3511(627,"I1NQ")](o[_0x3511(558,"%S(f")],o[t(0,0,"6Ns4",1452)])?r=new URL(location[_0x3511(568,"2Lq3")+_0x3511(474,"tO38")]||location[_0x3511(591,"3ymg")+"n"])[t(0,0,"lAve",1283)+t(0,0,"OfY^",1489)]:o[_0x3511(594,"DNt1")](_0x163779,o[t(0,0,"DGE8",1264)](_0x5131e0,_0x1fffba),_0x1fc869[_0x57bcc0],"i8"),o[a("K$0!",1023)](r[0],"[")&&o[n(0,0,0,890,"r8Q7")](r[o[a("RrwL",1215)](r[t(0,0,"N1#2",1219)+"h"],1)],"]")&&(o[n(0,0,0,1022,"p9WB")](o[i(0,1671,0,"9!v0")],o[n(0,0,0,814,"abkA")])?r=r[i(0,1444,0,"%S(f")](1,-1):o[_0x3511(479,"K$0!")](_0x504e77,o[t(0,0,"m$17",1300)](_0x21afb6,_0x52448e),_0x445185[_0x10a909],"i8"));for(var u=o[s(0,0,-195,"2Lq3")](unescape,o[t(0,0,"@Rc)",1410)](encodeURIComponent,r))[s(0,0,-279,"K$0!")]("")[s(0,0,-266,"6Ns4")+"e"](function(e,t){function r(e,t,r,n){return i(0,n- -292,0,e)}function n(e,t,r,n){return s(0,0,n-1382,e)}return o[r("DGE8",0,0,1212)](o[r("ahsX",0,0,1496)],o[a("*yVK",1094)])?void(_0x217d13[_0x34a15e]=o[r("Dm%U",0,0,1309)](_0x2b467,o[r("ahsX",0,0,1172)](_0x34ffd8,_0x550fd9),"i8")):e[n("2qpb",0,0,959)+"t"](t[i(0,1575,0,"DGE8")+n("nCc3",0,0,1233)](0))},[]),c=0;o[i(0,1433,0,"wLqo")](c,u[s(0,0,-71,"*yVK")+"h"]);c++){if(o[n(0,0,0,679,"9Yvq")](o[s(0,0,-121,"ahsX")],o[s(0,0,-291,")bDy")]))return _0x5317c1[i(0,1574,0,"X!gy")+"s"];o[i(0,1692,0,"8YEv")](setValue,o[a("@UGO",1109)](e,c),u[c],"i8")}o[a("tO38",1126)](setValue,o[t(0,0,"5WIP",1408)](e,u[s(0,0,-86,"6Ns4")+"h"]),0,"i8")},316195:function(e){var t={kyIJh:function(e,t){return e(t)}};function r(e,t,r){return _0x3511(t- -303,r)}t[r(0,283,"66zM")](abort,t[r(0,377,"9!v0")](UTF8ToString,e))},316224:function(e){function s(e,t,r,n){return _0x3511(n- -477,e)}function t(e,t,r,n){return _0x3511(e-361,n)}function u(e,t,r,n,o){return _0x3511(n- -147,o)}var c={pwodk:function(e,t){return e(t)},onEiu:_0x3511(574,"PJ3J")+"s",kklCE:function(e,t){return e===t},rlBsO:l(0,100,0,"1hrK"),xOpuS:_0x3511(671,"2qpb"),dhiVj:function(e,t){return e(t)},zpOyU:function(e,t){return e<t},gmoBw:function(e,t){return e!==t},HQnPy:_0x3511(669,"1hrK"),LoESG:function(e,t,r,n){return e(t,r,n)},ZzfYU:function(e,t){return e+t},QqWhj:function(e,t){return e+t}};function l(e,t,r,n){return _0x3511(t- -568,n)}function r(e,t,r,n){return _0x3511(n- -769,e)}for(var n=c[u(0,0,0,468,"9Yvq")](unescape,c[t(1036,0,0,"DGE8")](encodeURIComponent,self[l(0,194,0,"T$xY")]||"/"))[s(")bDy",0,0,9)]("")[r("tO38",0,0,-273)+"e"](function(e,t){function r(e,t,r,n){return u(0,0,0,n-48,r)}function n(e,t,r,n,o){return l(0,e-132,0,o)}function o(e,t,r,n){return u(0,0,0,r- -141,n)}var i={sZirf:function(e,t){return c[_0x3511(800,"abkA")](e,t)},HkQWr:c[n(279,0,0,0,"X!gy")]};function a(e,t,r,n){return u(0,0,0,n-723,t)}if(!c[n(263,0,0,0,"X!gy")](c[a(0,"Guei",0,1140)],c[o(0,0,234,"VRgm")]))return e[r(0,0,"nOMN",526)+"t"](t[r(0,0,"6Ns4",483)+s("X!gy",0,0,32)](0));i[o(0,0,522,"tO38")](_0x40416c,i[a(0,"nOMN",0,1265)])},[]),o=0;c[r("66zM",0,0,-52)](o,n[t(1185,0,0,"*yVK")+"h"]);o++)c[s("PJ3J",0,0,60)](c[s("tO38",0,0,-4)],c[u(0,0,0,453,"I1NQ")])?_0x2c2206=new _0x382bd5(_0x3a037a[l(0,109,0,"X!gy")+s("*yVK",0,0,334)]||_0xf126ab[l(0,-27,0,")bDy")+"n"])[r("1hrK",0,0,-274)+u(0,0,0,660,"I1NQ")]:c[u(0,0,0,695,"p9WB")](setValue,c[t(871,0,0,"nCc3")](e,o),n[o],"i8");c[r("9Yvq",0,0,-22)](setValue,c[s("nOMN",0,0,111)](e,n[l(0,21,0,"2qpb")+"h"]),0,"i8")},316516:function(){function a(e,t,r){return _0x3511(e- -900,r)}function s(e,t,r,n,o){return _0x3511(n- -950,o)}var u={dWzUL:function(e,t){return e(t)},EHvbh:a(-205,0,"2Lq3")+a(-49,0,"[qCA")+_0x3511(853,"h$Kb")+"e",AROSY:function(e,t,r,n){return e(t,r,n)},msDKL:function(e,t){return e===t},kCjLM:s(0,0,0,-388,"1hrK"),bXjBd:a(-73,0,"*yVK")+_0x3511(533,"OfY^")+_0x3511(518,"ixLj")};function t(e,t,r,n){return _0x3511(n- -302,e)}FS[a(-337,0,"K$0!")+"s"](!1,function(e){function o(e,t,r,n,o){return s(0,0,0,e-611,o)}var r,n={ugQAl:function(e,t){return u[_0x3511(536,"DNt1")](e,t)},OkYgu:u[o(136,0,0,0,"I1NQ")],GGVXE:function(e,t,r,n){return u[o(257,0,0,0,"fzOI")](e,t,r,n)}};function i(e,t,r,n,o){return a(o-1021,0,e)}u[o(513,0,0,0,"%S(f")](u[i("6Ns4",0,0,0,649)],u[i("m$17",0,0,0,937)])?u[i("5WIP",0,0,0,976)](ccall,u[t("h$Kb",0,0,339)]):(r={gDxnQ:function(e,t){return n[i("ahsX",0,0,0,741)](e,t)},URLdD:n[i("tO38",0,0,0,680)]},n[t("p9WB",0,0,504)](_0x3cf51c,_0x39fe1b,1,"i8"),_0x4395b1[i("Llet",0,0,0,784)+"s"](!1,function(e){function t(e,t,r,n){return o(n-1327,0,0,0,e)}r[t("PJ3J",0,0,1473)](_0x41518c,r[t("I1NQ",0,0,1458)])}))})},316582:function(e,t,r,n,o,i){function a(e,t,r){return _0x3511(r-57,e)}for(var s={jhohz:function(e,t,r){return e(t,r)},MAGDi:function(e,t){return e+t},OWcKa:function(e,t){return e(t)},zYAmb:function(e,t){return e(t)},cIXzd:function(e,t){return e<t},GeLZD:function(e,t,r,n){return e(t,r,n)},dzBti:function(e,t,r,n){return e(t,r,n)},EiItA:function(e,t){return e+t},dJofD:_0x3511(801,"Dm%U")+_0x3511(490,"fzOI"),MPRbg:function(e,t){return e===t},fqvGQ:function(e,t){return e(t)},kENbY:function(e,t){return e<t},QVsvk:function(e,t){return e!==t},IQXfQ:_0x3511(755,"dCX)"),cRJLG:_0x3511(476,"m$17"),oZCfA:function(e,t){return e(t)},UHQJG:_0x3511(477,"h$Kb"),Aagif:a("9Yvq",0,656),EwQSw:function(e,t){return e+t},Whsit:a("Y&tk",0,751),bOIGx:a("2qpb",0,743)+S("ahsX",0,30)+"pe",NgCVC:_0x3511(804,"@Rc)")+_0x3511(488,"Guei")+_0x3511(646,"nCc3")+_0x3511(838,"fzOI")+_0x3511(654,"fSrk"),ZPGIk:a("N1#2",0,626),pSGJM:function(e,t){return e===t},wTLQK:a("tO38",0,820),jpFGr:function(e,t){return e===t},fFNdr:_0x3511(514,"1hrK"),VRmmS:_0x3511(515,"@Rc)"),ogjjk:function(e,t){return e===t},mHPKQ:_0x3511(502,"X!gy"),xSkJT:function(e,t){return e!==t},SsCXO:_0x3511(612,"VRgm"),ycldh:function(e,t){return e===t},RXBtj:_0x3511(845,"X!gy"),TtFgP:_0x3511(821,"*yVK")},u=new Uint8Array(t),c=0;s[a("1hrK",0,574)](c,t);c++)s[_0x3511(681,"fqQw")](s[_0x3511(579,"ixLj")],s[_0x3511(602,"DNt1")])?u[c]=s[_0x3511(543,"X!gy")](getValue,s[_0x3511(482,"*yVK")](e,c),"i8"):_0xd6553b[_0xae484b]=s[_0x3511(481,"@UGO")](_0x32db83,s[_0x3511(682,"OfY^")](_0x2f681f,_0x2e9368),"i8");for(var l=s[_0x3511(666,"p9WB")](decodeURIComponent,s[_0x3511(532,"@Rc)")](escape,String[_0x3511(637,"ahsX")+_0x3511(833,"1L3C")+"de"][_0x3511(613,"fSrk")](null,u))),f=new Uint8Array(s[a("lAve",0,674)](16,o)),c=0;s[_0x3511(500,"*yVK")](c,16);c++){if(s[_0x3511(814,"Y&tk")](s[S("Y&tk",0,89)],s[_0x3511(619,"1L3C")]))return _0x56380b[a("@Rc)",0,592)+"t"](_0xaa4a29[_0x3511(466,"VRgm")+_0x3511(813,"fSrk")](0));f[c]=s[_0x3511(478,"Guei")](getValue,s[_0x3511(799,"h$Kb")](r,c),"i8")}function d(e,t,r,n,o){return _0x3511(o- -90,n)}for(c=0;s[a("66zM",0,701)](c,o);c++)if(s[_0x3511(817,"I1NQ")](s[a("OfY^",0,826)],s[_0x3511(769,"OfY^")])){for(var _=s[d(0,0,0,"*yVK",685)](_0x5d75b9,s[a("VRgm",0,846)](_0x16f467,_0x2ba7b0[a("PJ3J",0,750)+d(0,0,0,"66zM",589)][0]))[d(0,0,0,"K$0!",526)]("")[a("@Rc)",0,540)+"e"](function(e,t){function r(e,t,r,n,o){return a(n,0,o- -956)}return e[r(0,0,0,"%S(f",-400)+"t"](t[r(0,0,0,"fzOI",-186)+r(0,0,0,"I1NQ",-333)](0))},[]),m=0;s[_0x3511(697,"h$Kb")](m,40);m++)s[_0x3511(719,"lAve")](_0xa04c3e,s[d(0,0,0,"9Yvq",570)](_0x4726f3,m),_[m],"i8");s[a("1L3C",0,840)](_0x53b413,s[d(0,0,0,"ixLj",455)](_0xa6077e,40),0,"i8")}else f[s[_0x3511(753,"r8Q7")](c,16)]=s[_0x3511(823,"ahsX")](getValue,s[_0x3511(665,"fzOI")](n,c),"i8");function p(e,t,r,n,o){return _0x3511(o-512,e)}var h=s[d(0,0,0,"Llet",507)](i,1);function g(e,t,r,n){return _0x3511(e- -944,n)}function S(e,t,r){return _0x3511(r- -603,e)}(i=new XMLHttpRequest)[S("8YEv",0,-26)](s[d(0,0,0,"OfY^",759)],l,h),i[a("m$17",0,702)+p("*yVK",0,0,0,1255)+d(0,0,0,"5WIP",519)+"r"](s[g(-224,0,0,")bDy")],s[a("K$0!",0,764)]),i[g(-184,0,0,"ahsX")+"ut"]=1e4;try{if(!s[S(")bDy",0,27)](s[S("Guei",0,170)],s[d(0,0,0,"6Ns4",440)]))return _0x4bc097[d(0,0,0,"K$0!",758)+"t"](_0x28ea58[p("RrwL",0,0,0,1218)+g(-439,0,0,"Guei")](0));if(i[d(0,0,0,"dCX)",549)](f),h)return s[g(-222,0,0,"Y&tk")](s[S("RrwL",0,52)],s[a("m$17",0,632)]),200;if(s[a("fzOI",0,697)](s[d(0,0,0,"1hrK",502)],s[a("2qpb",0,640)]))_0x37ec59=s[S("2Lq3",0,102)];else{if(s[S("DNt1",0,148)](i[S("fqQw",0,80)+"s"],0))return s[p("DNt1",0,0,0,1270)](s[a("h$Kb",0,595)],s[a("N1#2",0,748)])||s[d(0,0,0,"wLqo",736)](_0x3b3f70[p("ahsX",0,0,0,1143)+"s"],0)?-1:_0x1cabf6[S("2qpb",0,181)+"s"];if(!s[S("K$0!",0,137)](s[g(-334,0,0,"nOMN")],s[S("8YEv",0,-114)]))return i[d(0,0,0,"N1#2",450)+"s"];s[p("K$0!",0,0,0,1016)](_0x5c1e54,s[a("r8Q7",0,642)](_0x389337,_0x42cb41))}}catch(e){return s[a("1L3C",0,628)](s[g(-457,0,0,"fzOI")],s[S("Dm%U",0,216)])?_0x1f36d6?200:-1:h?200:-1}},317308:function(e){function r(e,t,r,n,o){return _0x3511(o-573,t)}function n(e,t){return _0x3511(t-547,e)}var o={ycTFt:function(e,t){return e+t},vmYmH:function(e,t,r){return e(t,r)},pZKWg:function(e,t){return e+t},BBQsC:function(e,t){return e!==t},CavoA:_0x3511(831,"2qpb"),BqIas:function(e,t){return e(t)},IgvFS:_0x3511(513,"[qCA")+"s",TxbnJ:_0x3511(573,"Llet")+"wn",HwSCc:function(e,t){return e<t},rwUxH:function(e,t,r,n){return e(t,r,n)},dVILo:function(e,t){return e+t},KZECv:function(e,t,r,n){return e(t,r,n)},glMvl:function(e,t){return e+t},molLW:n("66zM",1384)+r(0,"5WIP",0,0,1330)+_0x3511(750,"Dm%U"),SihSa:function(e,t){return e!==t},gmMVS:r(0,"Guei",0,0,1174),IcaRb:function(e,t){return e(t)},vAqmk:_0x3511(738,"Y&tk")+n("9Yvq",1303)+r(0,"tO38",0,0,1220)+"e",EmBIq:function(e,t){return t<e},dAzHw:function(e,t){return e===t},cRTpw:_0x3511(690,"wLqo"),lrkSI:n("lAve",1350),odXmf:n("9!v0",1263)};function i(e,t,r){return _0x3511(e-7,r)}function t(e,t,r){return _0x3511(r-112,e)}function a(e,t){return _0x3511(e- -963,t)}if(o[a(-356,"X!gy")](FS[a(-230,"OfY^")+i(531,0,"*yVK")+r(0,"[qCA",0,0,1041)],0))if(o[t("1L3C",0,893)](o[n("N1#2",1403)],o[a(-124,"abkA")]))o[n("lAve",1223)](setTimeout,()=>{function e(e,t,r,n){return i(n- -699,0,e)}function t(e,t){return r(0,t,0,0,e- -1156)}o[t(225,"N1#2")](o[n("66zM",1283)],o[t(169,"wLqo")])?_0x29a1b7[o[i(605,0,"1hrK")](_0x2c6746,16)]=o[e("1hrK",0,0,-221)](_0x4b3d3d,o[t(181,"X!gy")](_0x27652f,_0x35525d),"i8"):o[e("r8Q7",0,0,94)](ccall,o[t(-16,"T$xY")])},1e3);else{for(var s=o[n("Llet",1372)](_0x949448,o[t("r8Q7",0,898)](_0x25fbdc,_0x4c76a0[a(-302,"I1NQ")+n("%S(f",1335)+t("1hrK",0,613)]||o[i(801,0,"lAve")]))[t("8YEv",0,930)]("")[t("Guei",0,934)+"e"](function(e,t){return e[n("K$0!",1395)+"t"](t[n("[qCA",1091)+a(-307,"r8Q7")](0))},[])[t("fqQw",0,762)](0,255),u=0;o[t("1L3C",0,836)](u,s[a(-451,"N1#2")+"h"]);u++)o[r(0,"RrwL",0,0,1321)](_0xf65e87,o[a(-407,"6Ns4")](_0xf68732,u),s[u],"i8");o[r(0,"nOMN",0,0,1366)](_0x14c0ce,o[n("h$Kb",1206)](_0x329dbf,s[r(0,"Dm%U",0,0,1123)+"h"]),0,"i8")}else o[i(513,0,"Y&tk")](o[r(0,"RrwL",0,0,1245)],o[n("h$Kb",1211)])?o[t("h$Kb",0,596)](_0x54e104,o[a(-261,"1hrK")]):(o[n("N1#2",1199)](setValue,e,1,"i8"),FS[t("Guei",0,838)+"s"](!1,function(e){function t(e,t,r,n){return a(t-1236,n)}return o[n("@Rc)",1334)](o[n("3ymg",1096)],o[n("1hrK",1095)])?_0x1e8c62[t(0,969,0,"YRmN")+"t"](_0x36f087[t(0,817,0,"[qCA")+a(-327,"1L3C")](0)):void o[a(-376,"OfY^")](ccall,o[a(-151,"zDY!")])}))}};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_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){