trtc-sdk-v5 5.10.2-beta.6 → 5.10.2-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))__hasOwnProp.call(t,r)&&__defNormalProp(e,r,t[r]);if(__getOwnPropSymbols)for(var r of __getOwnPropSymbols(t))__propIsEnum.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__spreadProps=(e,t)=>__defProps(e,__getOwnPropDescs(t)),__require=(e=>"undefined"!=typeof require?require:"undefined"!=typeof Proxy?new Proxy(e,{get:(e,t)=>("undefined"!=typeof require?require:e)[t]}):e)((function(e){if("undefined"!=typeof require)return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')})),__publicField=(e,t,r)=>__defNormalProp(e,"symbol"!=typeof t?t+"":t,r);async function authEffect({sdkAppId:e,userId:t,userSig:r,core:n}){var o;const i=Math.round((new Date).getTime()/1e3);try{const a=await n.schedule.getAbilityConfig(e,n.schedule.ScheduleRequestType.TRTC_AUTO_CONF,{sdkAppId:e,userId:t,userSig:r,timestamp:i});n.log.info(`virtual background ability response: ${JSON.stringify(a)}`);const{data:s}=a;return(null==(o=null==s?void 0:s.trtcAutoConf)?void 0:o.web_ar)?{auth:!0,timestamp:i}:{auth:!1}}catch(e){return n.log.error("virtual background fetch error",e),{auth:!1}}}var UserRule={sdkAppId:{required:!0,type:"number"},userId:{required:!0,type:"string"},userSig:{required:!0,type:"string"}};function startValidateRule(e){return{name:"VirtualBackgroundOptions",type:"object",required:!0,allowEmpty:!1,properties:__spreadProps(__spreadValues({},UserRule),{type:{required:!1,type:"string",values:["image","blur"]},src:{required:!1,type:"string"},blurLevel:{required:!1,type:"number",min:1,max:10},onAbort:{required:!1}}),validate(t,r,n,o){var i;const{RtcError:a,ErrorCode:s,ErrorCodeDictionary:A}=e.errorModule;if(!t)return;const{type:c,src:g,onAbort:d}=t;if("image"===c&&!g)throw new a({code:s.INVALID_PARAMETER,extraCode:A.INVALID_PARAMETER_REQUIRED,fnName:n,messageParams:{key:"src"}});if(d&&!e.utils.isFunction(d))throw new a({code:s.INVALID_PARAMETER,extraCode:A.INVALID_PARAMETER_TYPE,fnName:n,messageParams:{key:"onAbort",value:typeof d,rule:{type:"Function"}}});if(!(null==(i=e.room.videoManager.cameraTrack)?void 0:i.mediaTrack))throw new a({code:s.INVALID_OPERATION,extraCode:A.INVALID_OPERATION_NEED_VIDEO,fnName:n})}}}function updateValidateRule(e){return{name:"UpdateVirtualBackgroundOptions",type:"object",required:!0,allowEmpty:!1,properties:{type:{required:!0,type:"string",values:["image","blur"]},src:{required:!1,type:"string"},blurLevel:{required:!1,type:"number",min:1,max:10}},validate(t,r,n,o){if(!t)return;const{RtcError:i,ErrorCode:a,ErrorCodeDictionary:s}=e.errorModule,{type:A,src:c}=t;if("image"===A&&!c)throw new i({code:a.INVALID_PARAMETER,extraCode:s.INVALID_PARAMETER_REQUIRED,fnName:n,messageParams:{key:"src"}})}}}function stopValidateRule(e){return{name:"StopVirtualBackgroundOptions",required:!1}}var createMediapipeSolutionsWasm=function(){let e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(e=e||__filename),function(t){const r=void 0!==(t=t||{})?t:{};let n,o;r.ready=new Promise(((e,t)=>{n=e,o=t})),Object.getOwnPropertyDescriptor(r.ready,"_main")||(Object.defineProperty(r.ready,"_main",{configurable:!0,get(){Ce("You are getting _main on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_main",{configurable:!0,set(){Ce("You are setting _main on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_stack_get_end")||(Object.defineProperty(r.ready,"_emscripten_stack_get_end",{configurable:!0,get(){Ce("You are getting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_stack_get_end",{configurable:!0,set(){Ce("You are setting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_stack_get_free")||(Object.defineProperty(r.ready,"_emscripten_stack_get_free",{configurable:!0,get(){Ce("You are getting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_stack_get_free",{configurable:!0,set(){Ce("You are setting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_stack_init")||(Object.defineProperty(r.ready,"_emscripten_stack_init",{configurable:!0,get(){Ce("You are getting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_stack_init",{configurable:!0,set(){Ce("You are setting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_stackSave")||(Object.defineProperty(r.ready,"_stackSave",{configurable:!0,get(){Ce("You are getting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_stackSave",{configurable:!0,set(){Ce("You are setting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_stackRestore")||(Object.defineProperty(r.ready,"_stackRestore",{configurable:!0,get(){Ce("You are getting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_stackRestore",{configurable:!0,set(){Ce("You are setting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_stackAlloc")||(Object.defineProperty(r.ready,"_stackAlloc",{configurable:!0,get(){Ce("You are getting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_stackAlloc",{configurable:!0,set(){Ce("You are setting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"___wasm_call_ctors")||(Object.defineProperty(r.ready,"___wasm_call_ctors",{configurable:!0,get(){Ce("You are getting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"___wasm_call_ctors",{configurable:!0,set(){Ce("You are setting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_fflush")||(Object.defineProperty(r.ready,"_fflush",{configurable:!0,get(){Ce("You are getting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_fflush",{configurable:!0,set(){Ce("You are setting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"___errno_location")||(Object.defineProperty(r.ready,"___errno_location",{configurable:!0,get(){Ce("You are getting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"___errno_location",{configurable:!0,set(){Ce("You are setting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_malloc")||(Object.defineProperty(r.ready,"_malloc",{configurable:!0,get(){Ce("You are getting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_malloc",{configurable:!0,set(){Ce("You are setting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_free")||(Object.defineProperty(r.ready,"_free",{configurable:!0,get(){Ce("You are getting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_free",{configurable:!0,set(){Ce("You are setting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_setThrew")||(Object.defineProperty(r.ready,"_setThrew",{configurable:!0,get(){Ce("You are getting _setThrew on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_setThrew",{configurable:!0,set(){Ce("You are setting _setThrew on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"___cxa_is_pointer_type")||(Object.defineProperty(r.ready,"___cxa_is_pointer_type",{configurable:!0,get(){Ce("You are getting ___cxa_is_pointer_type on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"___cxa_is_pointer_type",{configurable:!0,set(){Ce("You are setting ___cxa_is_pointer_type on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"___cxa_can_catch")||(Object.defineProperty(r.ready,"___cxa_can_catch",{configurable:!0,get(){Ce("You are getting ___cxa_can_catch on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"___cxa_can_catch",{configurable:!0,set(){Ce("You are setting ___cxa_can_catch on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_saveSetjmp")||(Object.defineProperty(r.ready,"_saveSetjmp",{configurable:!0,get(){Ce("You are getting _saveSetjmp on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_saveSetjmp",{configurable:!0,set(){Ce("You are setting _saveSetjmp on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_memalign")||(Object.defineProperty(r.ready,"_memalign",{configurable:!0,get(){Ce("You are getting _memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_memalign",{configurable:!0,set(){Ce("You are setting _memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_main_thread_process_queued_calls")||(Object.defineProperty(r.ready,"_emscripten_main_thread_process_queued_calls",{configurable:!0,get(){Ce("You are getting _emscripten_main_thread_process_queued_calls on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_main_thread_process_queued_calls",{configurable:!0,set(){Ce("You are setting _emscripten_main_thread_process_queued_calls on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_webgl_make_context_current")||(Object.defineProperty(r.ready,"_emscripten_webgl_make_context_current",{configurable:!0,get(){Ce("You are getting _emscripten_webgl_make_context_current on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_webgl_make_context_current",{configurable:!0,set(){Ce("You are setting _emscripten_webgl_make_context_current on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_webgl_get_current_context")||(Object.defineProperty(r.ready,"_emscripten_webgl_get_current_context",{configurable:!0,get(){Ce("You are getting _emscripten_webgl_get_current_context on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_webgl_get_current_context",{configurable:!0,set(){Ce("You are setting _emscripten_webgl_get_current_context on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"__get_tzname")||(Object.defineProperty(r.ready,"__get_tzname",{configurable:!0,get(){Ce("You are getting __get_tzname on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"__get_tzname",{configurable:!0,set(){Ce("You are setting __get_tzname on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"__get_daylight")||(Object.defineProperty(r.ready,"__get_daylight",{configurable:!0,get(){Ce("You are getting __get_daylight on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"__get_daylight",{configurable:!0,set(){Ce("You are setting __get_daylight on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"__get_timezone")||(Object.defineProperty(r.ready,"__get_timezone",{configurable:!0,get(){Ce("You are getting __get_timezone on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"__get_timezone",{configurable:!0,set(){Ce("You are setting __get_timezone on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_builtin_malloc")||(Object.defineProperty(r.ready,"_emscripten_builtin_malloc",{configurable:!0,get(){Ce("You are getting _emscripten_builtin_malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_builtin_malloc",{configurable:!0,set(){Ce("You are setting _emscripten_builtin_malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_builtin_free")||(Object.defineProperty(r.ready,"_emscripten_builtin_free",{configurable:!0,get(){Ce("You are getting _emscripten_builtin_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_builtin_free",{configurable:!0,set(){Ce("You are setting _emscripten_builtin_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_builtin_memalign")||(Object.defineProperty(r.ready,"_emscripten_builtin_memalign",{configurable:!0,get(){Ce("You are getting _emscripten_builtin_memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_builtin_memalign",{configurable:!0,set(){Ce("You are setting _emscripten_builtin_memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"___getTypeName")||(Object.defineProperty(r.ready,"___getTypeName",{configurable:!0,get(){Ce("You are getting ___getTypeName on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"___getTypeName",{configurable:!0,set(){Ce("You are setting ___getTypeName on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"___embind_register_native_and_builtin_types")||(Object.defineProperty(r.ready,"___embind_register_native_and_builtin_types",{configurable:!0,get(){Ce("You are getting ___embind_register_native_and_builtin_types on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"___embind_register_native_and_builtin_types",{configurable:!0,set(){Ce("You are setting ___embind_register_native_and_builtin_types on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"onRuntimeInitialized")||(Object.defineProperty(r.ready,"onRuntimeInitialized",{configurable:!0,get(){Ce("You are getting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"onRuntimeInitialized",{configurable:!0,set(){Ce("You are setting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}));let i,a={};for(i in r)r.hasOwnProperty(i)&&(a[i]=r[i]);let s=[],A="./this.program",c=function(e,t){throw t};const g="object"==typeof window,d="function"==typeof importScripts,u="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,l=!g&&!u&&!d;if(r.ENVIRONMENT)throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -s ENVIRONMENT=web or -s ENVIRONMENT=node)");let E,f,p,h,I="";if(!g&&!d)throw new Error("environment detection error");if(d?I=self.location.href:"undefined"!=typeof document&&document.currentScript&&(I=document.currentScript.src),e&&(I=e),I=0!==I.indexOf("blob:")?I.substr(0,I.lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");E=function(e){const t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},d&&(p=function(e){const t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),f=function(e,t,r){const 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)},h=function(e){document.title=e};let m=r.print||console.log.bind(console),C=r.printErr||console.warn.bind(console);for(i in a)a.hasOwnProperty(i)&&(r[i]=a[i]);function y(e){y.shown||(y.shown={}),y.shown[e]||(y.shown[e]=1,C(e))}a=null,r.arguments&&(s=r.arguments),Object.getOwnPropertyDescriptor(r,"arguments")||Object.defineProperty(r,"arguments",{configurable:!0,get(){Ce("Module.arguments has been replaced with plain arguments_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),r.thisProgram&&(A=r.thisProgram),Object.getOwnPropertyDescriptor(r,"thisProgram")||Object.defineProperty(r,"thisProgram",{configurable:!0,get(){Ce("Module.thisProgram has been replaced with plain thisProgram (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),r.quit&&(c=r.quit),Object.getOwnPropertyDescriptor(r,"quit")||Object.defineProperty(r,"quit",{configurable:!0,get(){Ce("Module.quit has been replaced with plain quit_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),T(void 0===r.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),T(void 0===r.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),T(void 0===r.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),T(void 0===r.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),T(void 0===r.read,"Module.read option was removed (modify read_ in JS)"),T(void 0===r.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),T(void 0===r.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),T(void 0===r.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),T(void 0===r.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),Object.getOwnPropertyDescriptor(r,"read")||Object.defineProperty(r,"read",{configurable:!0,get(){Ce("Module.read has been replaced with plain read_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(r,"readAsync")||Object.defineProperty(r,"readAsync",{configurable:!0,get(){Ce("Module.readAsync has been replaced with plain readAsync (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(r,"readBinary")||Object.defineProperty(r,"readBinary",{configurable:!0,get(){Ce("Module.readBinary has been replaced with plain readBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(r,"setWindowTitle")||Object.defineProperty(r,"setWindowTitle",{configurable:!0,get(){Ce("Module.setWindowTitle has been replaced with plain setWindowTitle (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),T(!l,"shell environment detected but not enabled at build time. Add 'shell' to `-s ENVIRONMENT` to enable.");let _=0;const w=function(e){_=e};let B;r.wasmBinary&&(B=r.wasmBinary),Object.getOwnPropertyDescriptor(r,"wasmBinary")||Object.defineProperty(r,"wasmBinary",{configurable:!0,get(){Ce("Module.wasmBinary has been replaced with plain wasmBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}});const D=r.noExitRuntime||!0;let O;Object.getOwnPropertyDescriptor(r,"noExitRuntime")||Object.defineProperty(r,"noExitRuntime",{configurable:!0,get(){Ce("Module.noExitRuntime has been replaced with plain noExitRuntime (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),"object"!=typeof WebAssembly&&Ce("no native wasm support detected");let b,Q=!1;function T(e,t){e||Ce(`Assertion failed: ${t}`)}const v="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function P(e,t,r){const n=t+r;let o=t;for(;e[o]&&!(o>=n);)++o;if(o-t>16&&e.subarray&&v)return v.decode(e.subarray(t,o));let i="";for(;t<o;){let r=e[t++];if(!(128&r)){i+=String.fromCharCode(r);continue}const n=63&e[t++];if(192==(224&r)){i+=String.fromCharCode((31&r)<<6|n);continue}const o=63&e[t++];if(224==(240&r)?r=(15&r)<<12|n<<6|o:(240!=(248&r)&&y(`Invalid UTF-8 leading byte 0x${r.toString(16)} encountered when deserializing a UTF-8 string in wasm memory to a JS string!`),r=(7&r)<<18|n<<12|o<<6|63&e[t++]),r<65536)i+=String.fromCharCode(r);else{const e=r-65536;i+=String.fromCharCode(55296|e>>10,56320|1023&e)}}return i}function R(e,t){return e?P(W,e,t):""}function M(e,t,r,n){if(!(n>0))return 0;const o=r,i=r+n-1;for(let n=0;n<e.length;++n){let o=e.charCodeAt(n);if(o>=55296&&o<=57343){o=65536+((1023&o)<<10)|1023&e.charCodeAt(++n)}if(o<=127){if(r>=i)break;t[r++]=o}else if(o<=2047){if(r+1>=i)break;t[r++]=192|o>>6,t[r++]=128|63&o}else if(o<=65535){if(r+2>=i)break;t[r++]=224|o>>12,t[r++]=128|o>>6&63,t[r++]=128|63&o}else{if(r+3>=i)break;o>=2097152&&y(`Invalid Unicode code point 0x${o.toString(16)} encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x1FFFFF).`),t[r++]=240|o>>18,t[r++]=128|o>>12&63,t[r++]=128|o>>6&63,t[r++]=128|63&o}}return t[r]=0,r-o}function S(e,t,r){return T("number"==typeof r,"stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),M(e,W,t,r)}function F(e){let t=0;for(let r=0;r<e.length;++r){let n=e.charCodeAt(r);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}const N="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function k(e,t){T(e%2==0,"Pointer passed to UTF16ToString must be aligned to two bytes!");let r=e,n=r>>1;const o=n+t/2;for(;!(n>=o)&&$[n];)++n;if(r=n<<1,r-e>32&&N)return N.decode(W.subarray(e,r));let i="";for(let r=0;!(r>=t/2);++r){const t=z[e+2*r>>1];if(0==t)break;i+=String.fromCharCode(t)}return i}function x(e,t,r){if(T(t%2==0,"Pointer passed to stringToUTF16 must be aligned to two bytes!"),T("number"==typeof r,"stringToUTF16(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),void 0===r&&(r=2147483647),r<2)return 0;const n=t,o=(r-=2)<2*e.length?r/2:e.length;for(let r=0;r<o;++r){const n=e.charCodeAt(r);z[t>>1]=n,t+=2}return z[t>>1]=0,t-n}function U(e){return 2*e.length}function j(e,t){T(e%4==0,"Pointer passed to UTF32ToString must be aligned to four bytes!");let r=0,n="";for(;!(r>=t/4);){const t=K[e+4*r>>2];if(0==t)break;if(++r,t>=65536){const e=t-65536;n+=String.fromCharCode(55296|e>>10,56320|1023&e)}else n+=String.fromCharCode(t)}return n}function L(e,t,r){if(T(t%4==0,"Pointer passed to stringToUTF32 must be aligned to four bytes!"),T("number"==typeof r,"stringToUTF32(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),void 0===r&&(r=2147483647),r<4)return 0;const n=t,o=n+r-4;for(let r=0;r<e.length;++r){let n=e.charCodeAt(r);if(n>=55296&&n<=57343){n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)}if(K[t>>2]=n,(t+=4)+4>o)break}return K[t>>2]=0,t-n}function H(e){let t=0;for(let r=0;r<e.length;++r){const n=e.charCodeAt(r);n>=55296&&n<=57343&&++r,t+=4}return t}function G(e){const t=F(e)+1,r=cn(t);return r&&M(e,V,r,t),r}function Y(e,t){T(e.length>=0,"writeArrayToMemory array must have a length (should be an array or typed array)"),V.set(e,t)}let X,V,W,z,$,K,J,Z,q;function ee(e){X=e,r.HEAP8=V=new Int8Array(e),r.HEAP16=z=new Int16Array(e),r.HEAP32=K=new Int32Array(e),r.HEAPU8=W=new Uint8Array(e),r.HEAPU16=$=new Uint16Array(e),r.HEAPU32=J=new Uint32Array(e),r.HEAPF32=Z=new Float32Array(e),r.HEAPF64=q=new Float64Array(e)}const te=5242880;r.TOTAL_STACK&&T(te===r.TOTAL_STACK,"the stack size can no longer be determined at runtime");const re=r.INITIAL_MEMORY||16777216;let ne;function oe(){const e=un();T(!(3&e)),J[1+(e>>2)]=34821223,J[2+(e>>2)]=2310721022,K[0]=1668509029}function ie(){if(Q)return;const e=un(),t=J[1+(e>>2)],r=J[2+(e>>2)];34821223==t&&2310721022==r||Ce(`Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x2135467, but received 0x${r.toString(16)} ${t.toString(16)}`),1668509029!==K[0]&&Ce("Runtime error: The application has corrupted its heap memory area (address zero)!")}Object.getOwnPropertyDescriptor(r,"INITIAL_MEMORY")||Object.defineProperty(r,"INITIAL_MEMORY",{configurable:!0,get(){Ce("Module.INITIAL_MEMORY has been replaced with plain INITIAL_MEMORY (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),T(re>=te,`INITIAL_MEMORY should be larger than TOTAL_STACK, was ${re}! (TOTAL_STACK=5242880)`),T("undefined"!=typeof Int32Array&&"undefined"!=typeof Float64Array&&void 0!==Int32Array.prototype.subarray&&void 0!==Int32Array.prototype.set,"JS engine does not provide full typed array support"),T(!r.wasmMemory,"Use of `wasmMemory` detected. Use -s IMPORTED_MEMORY to define wasmMemory externally"),T(16777216==re,"Detected runtime INITIAL_MEMORY setting. Use -s IMPORTED_MEMORY to define wasmMemory dynamically"),function(){const e=new Int16Array(1),t=new Int8Array(e.buffer);if(e[0]=25459,115!==t[0]||99!==t[1])throw"Runtime error: expected the system to be little-endian! (Run with -s SUPPORT_BIG_ENDIAN=1 to bypass)"}();const ae=[],se=[],Ae=[],ce=[];let ge=!1,de=!1;function ue(){return D||!1}T(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),T(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),T(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),T(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");let le=0,Ee=null,fe=null;const pe={};function he(e){const t=e;for(;;){if(!pe[e])return e;e=t+Math.random()}}function Ie(e){le++,r.monitorRunDependencies&&r.monitorRunDependencies(le),e?(T(!pe[e]),pe[e]=1,null===Ee&&"undefined"!=typeof setInterval&&(Ee=setInterval((()=>{if(Q)return clearInterval(Ee),void(Ee=null);let e=!1;for(const t in pe)e||(e=!0,C("still waiting on run dependencies:")),C(`dependency: ${t}`);e&&C("(end of list)")}),1e4))):C("warning: run dependency added without ID")}function me(e){if(le--,r.monitorRunDependencies&&r.monitorRunDependencies(le),e?(T(pe[e]),delete pe[e]):C("warning: run dependency removed without ID"),0==le&&(null!==Ee&&(clearInterval(Ee),Ee=null),fe)){const e=fe;fe=null,e()}}function Ce(e){r.onAbort&&r.onAbort(e),C(e+=""),Q=!0,b=1;const t=`abort(${e}) at ${function(){let e=function(){let e=new Error;if(!e.stack){try{throw new Error}catch(t){e=t}if(!e.stack)return"(no stack trace available)"}return e.stack.toString()}();r.extraStackTrace&&(e+=`\n${r.extraStackTrace()}`);return Fe(e)}()}`;e=t;const n=new WebAssembly.RuntimeError(e);throw o(n),n}r.preloadedImages={},r.preloadedAudios={};function ye(e,t){return function(){const n=e;let o=t;return t||(o=r.asm),T(ge,`native function \`${n}\` called before runtime initialization`),T(!de,`native function \`${n}\` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)`),o[e]||T(o[e],`exported native function \`${n}\` not found`),o[e].apply(null,arguments)}}let _e;var we;let Be,De;_e="selfie_segmentation_solution_simd_wasm_bin.wasm",_e.startsWith("data:application/octet-stream;base64,")||(we=_e,_e=r.locateFile?r.locateFile(we,I):I+we);const Oe={460656(){let e=!0;if(e){const t=Tr;if("function"!=typeof t)return void("undefined"!=typeof console&&console.error('Expected Emscripten global function "findCanvasEventTarget" not found. WebGL context creation may fail.'));Tr=function(e){if(0==e){if(r&&r.canvas)return r.canvas;if(r&&r.canvasCssSelector)return t(r.canvasCssSelector);"undefined"!=typeof console&&console.warn("Module properties canvas and canvasCssSelector not found during WebGL context creation.")}return t(e)},e=!1}},461441:()=>"undefined"!=typeof wasmOffsetConverter};function be(e,t){if(Me.mainLoop.timingMode=e,Me.mainLoop.timingValue=t,!Me.mainLoop.func)return C("emscripten_set_main_loop_timing: Cannot set timing mode for main loop since a main loop does not exist! Call emscripten_set_main_loop first to set one up."),1;if(Me.mainLoop.running||(Me.mainLoop.running=!0),0==e)Me.mainLoop.scheduler=function(){const e=0|Math.max(0,Me.mainLoop.tickStartTime+t-Qe());setTimeout(Me.mainLoop.runner,e)},Me.mainLoop.method="timeout";else if(1==e)Me.mainLoop.scheduler=function(){Me.requestAnimationFrame(Me.mainLoop.runner)},Me.mainLoop.method="rAF";else if(2==e){if("undefined"==typeof setImmediate){const e=[],t="setimmediate";addEventListener("message",(function(r){r.data!==t&&r.data.target!==t||(r.stopPropagation(),e.shift()())}),!0),setImmediate=function(n){e.push(n),d?(void 0===r.setImmediates&&(r.setImmediates=[]),r.setImmediates.push(n),postMessage({target:t})):postMessage(t,"*")}}Me.mainLoop.scheduler=function(){setImmediate(Me.mainLoop.runner)},Me.mainLoop.method="immediate"}return 0}let Qe;function Te(e){!function(e,t){if(b=e,function(){const e=m,t=C;let n=!1;m=C=function(e){n=!0};try{const e=r._fflush;e&&e(0),["stdout","stderr"].forEach((e=>{const t=Ke.analyzePath(`/dev/${e}`);if(!t)return;const r=t.object,{rdev:o}=r,i=Xe.ttys[o];i&&i.output&&i.output.length&&(n=!0)}))}catch(e){}m=e,C=t,n&&y("stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the FAQ), or make sure to emit a newline when you printf etc.")}(),ue()){if(!t){const t=`program exited (with status: ${e}), but EXIT_RUNTIME is not set, so halting execution but not exiting the runtime or preventing further async execution (build with EXIT_RUNTIME=1, if you want a true shutdown)`;o(t),C(t)}}else ie(),de=!0;On(e)}(e)}function ve(e,t,n,o,i){T(!Me.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters."),Me.mainLoop.func=e,Me.mainLoop.arg=o;const a=Me.mainLoop.currentlyRunningMainloop;function s(){return!(a<Me.mainLoop.currentlyRunningMainloop)||(function(){if(!ue())try{Te(b)}catch(e){if(e instanceof Bn)return;throw e}}(),!1)}if(Me.mainLoop.running=!1,Me.mainLoop.runner=function(){if(!Q)if(Me.mainLoop.queue.length>0){const e=Date.now(),t=Me.mainLoop.queue.shift();if(t.func(t.arg),Me.mainLoop.remainingBlockers){const e=Me.mainLoop.remainingBlockers;let r=e%1==0?e-1:Math.floor(e);t.counted?Me.mainLoop.remainingBlockers=r:(r+=.5,Me.mainLoop.remainingBlockers=(8*e+r)/9)}if(m(`main loop blocker "${t.name}" took ${Date.now()-e} ms`),Me.mainLoop.updateStatus(),!s())return;setTimeout(Me.mainLoop.runner,0)}else s()&&(Me.mainLoop.currentFrameNumber=Me.mainLoop.currentFrameNumber+1|0,1==Me.mainLoop.timingMode&&Me.mainLoop.timingValue>1&&Me.mainLoop.currentFrameNumber%Me.mainLoop.timingValue!=0?Me.mainLoop.scheduler():(0==Me.mainLoop.timingMode&&(Me.mainLoop.tickStartTime=Qe()),Dr.newRenderingFrameStarted(),void 0!==Dr&&Dr.currentContext&&!Dr.currentContextIsProxied&&!Dr.currentContext.attributes.explicitSwapControl&&Dr.currentContext.GLctx.commit&&Dr.currentContext.GLctx.commit(),"timeout"===Me.mainLoop.method&&r.ctx&&(y("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!"),Me.mainLoop.method=""),Me.mainLoop.runIter(e),ie(),s()&&("object"==typeof SDL&&SDL.audio&&SDL.audio.queueNewAudioData&&SDL.audio.queueNewAudioData(),Me.mainLoop.scheduler())))},i||(t&&t>0?be(0,1e3/t):be(1,1),Me.mainLoop.scheduler()),n)throw"unwind"}function Pe(e,t){if(Q)C("user callback triggered after application aborted. Ignoring.");else if(t)e();else try{e()}catch(e){if(e instanceof Bn)return;if("unwind"!==e)throw e&&"object"==typeof e&&e.stack&&C(`exception thrown: ${[e,e.stack]}`),e}}function Re(e,t){return setTimeout((()=>{Pe(e)}),t)}Qe=u?function(){const e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:function(){return performance.now()};var Me={mainLoop:{running:!1,scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause(){Me.mainLoop.scheduler=null,Me.mainLoop.currentlyRunningMainloop++},resume(){Me.mainLoop.currentlyRunningMainloop++;const{timingMode:e}=Me.mainLoop,{timingValue:t}=Me.mainLoop,{func:r}=Me.mainLoop;Me.mainLoop.func=null,ve(r,0,!1,Me.mainLoop.arg,!0),be(e,t),Me.mainLoop.scheduler()},updateStatus(){if(r.setStatus){const e=r.statusMessage||"Please wait...",t=Me.mainLoop.remainingBlockers,n=Me.mainLoop.expectedBlockers;t?t<n?r.setStatus(`${e} (${n-t}/${n})`):r.setStatus(e):r.setStatus("")}},runIter(e){if(!Q){if(r.preMainLoop){if(!1===r.preMainLoop())return}Pe(e),r.postMainLoop&&r.postMainLoop()}}},isFullscreen:!1,pointerLock:!1,moduleContextCreatedCallbacks:[],workers:[],init(){if(r.preloadPlugins||(r.preloadPlugins=[]),Me.initted)return;Me.initted=!0;try{new Blob,Me.hasBlobConstructor=!0}catch(e){Me.hasBlobConstructor=!1,m("warning: no blob constructor, cannot create blobs with mimetypes")}Me.BlobBuilder="undefined"!=typeof MozBlobBuilder?MozBlobBuilder:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:Me.hasBlobConstructor?null:m("warning: no BlobBuilder"),Me.URLObject="undefined"!=typeof window?window.URL?window.URL:window.webkitURL:void 0,r.noImageDecoding||void 0!==Me.URLObject||(m("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available."),r.noImageDecoding=!0);const e={canHandle:function(e){return!r.noImageDecoding&&/\.(jpg|jpeg|png|bmp)$/i.test(e)},handle:function(e,t,n,o){let i=null;if(Me.hasBlobConstructor)try{i=new Blob([e],{type:Me.getMimetype(t)}),i.size!==e.length&&(i=new Blob([new Uint8Array(e).buffer],{type:Me.getMimetype(t)}))}catch(e){y(`Blob constructor present but fails: ${e}; falling back to blob builder`)}if(!i){const t=new Me.BlobBuilder;t.append(new Uint8Array(e).buffer),i=t.getBlob()}const a=Me.URLObject.createObjectURL(i);T("string"==typeof a,"createObjectURL must return a url as a string");const s=new Image;s.onload=function(){T(s.complete,`Image ${t} could not be decoded`);const o=document.createElement("canvas");o.width=s.width,o.height=s.height;o.getContext("2d").drawImage(s,0,0),r.preloadedImages[t]=o,Me.URLObject.revokeObjectURL(a),n&&n(e)},s.onerror=function(e){m(`Image ${a} could not be decoded`),o&&o()},s.src=a}};r.preloadPlugins.push(e);const t={};t.canHandle=function(e){return!r.noAudioDecoding&&e.substr(-4)in{".ogg":1,".wav":1,".mp3":1}},t.handle=function(e,t,n,o){let i=!1;function a(o){i||(i=!0,r.preloadedAudios[t]=o,n&&n(e))}function s(){i||(i=!0,r.preloadedAudios[t]=new Audio,o&&o())}if(!Me.hasBlobConstructor)return s();{try{var A=new Blob([e],{type:Me.getMimetype(t)})}catch(e){return s()}const r=Me.URLObject.createObjectURL(A);T("string"==typeof r,"createObjectURL must return a url as a string");const n=new Audio;n.addEventListener("canplaythrough",(()=>{a(n)}),!1),n.onerror=function(r){i||(m(`warning: browser could not fully decode audio ${t}, trying slower base64 approach`),n.src=`data:audio/x-${t.substr(-3)};base64,${function(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";let r="",n=0,o=0;for(let i=0;i<e.length;i++)for(n=n<<8|e[i],o+=8;o>=6;){const e=n>>o-6&63;o-=6,r+=t[e]}return 2==o?(r+=t[(3&n)<<4],r+="=="):4==o&&(r+=t[(15&n)<<2],r+="="),r}(e)}`,a(n))},n.src=r,Re((()=>{a(n)}),1e4)}},r.preloadPlugins.push(t);const{canvas:n}=r},createContext(e,t,n,o){if(t&&r.ctx&&e==r.canvas)return r.ctx;let i,a;if(t){const t={antialias:!1,alpha:!1,majorVersion:"undefined"!=typeof WebGL2RenderingContext?2:1};if(o)for(const e in o)t[e]=o[e];void 0!==Dr&&(a=Dr.createContext(e,t),a&&(i=Dr.getContext(a).GLctx))}else i=e.getContext("2d");return i?(n&&(t||T(void 0===tn,"cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),r.ctx=i,t&&Dr.makeContextCurrent(a),r.useWebGL=t,Me.moduleContextCreatedCallbacks.forEach((e=>{e()})),Me.init()),i):null},destroyContext(e,t,r){},fullscreenHandlersInstalled:!1,lockPointer:void 0,resizeCanvas:void 0,requestFullscreen(e,t){Me.lockPointer=e,Me.resizeCanvas=t,void 0===Me.lockPointer&&(Me.lockPointer=!0),void 0===Me.resizeCanvas&&(Me.resizeCanvas=!1);const{canvas:n}=r;Me.fullscreenHandlersInstalled||(Me.fullscreenHandlersInstalled=!0);const o=document.createElement("div");n.parentNode.insertBefore(o,n),o.appendChild(n),o.requestFullscreen=o.requestFullscreen||o.mozRequestFullScreen||o.msRequestFullscreen||(o.webkitRequestFullscreen?function(){o.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)}:null)||(o.webkitRequestFullScreen?function(){o.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}:null),o.requestFullscreen()},requestFullScreen(){Ce("Module.requestFullScreen has been replaced by Module.requestFullscreen (without a capital S)")},exitFullscreen(){if(!Me.isFullscreen)return!1;return(document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.webkitCancelFullScreen||function(){}).apply(document,[]),!0},nextRAF:0,fakeRequestAnimationFrame(e){const t=Date.now();if(0===Me.nextRAF)Me.nextRAF=t+1e3/60;else for(;t+2>=Me.nextRAF;)Me.nextRAF+=1e3/60;const r=Math.max(Me.nextRAF-t,0);setTimeout(e,r)},requestAnimationFrame(e){if("function"==typeof requestAnimationFrame)return void requestAnimationFrame(e);(0,Me.fakeRequestAnimationFrame)(e)},safeSetTimeout:e=>Re(e),safeRequestAnimationFrame:e=>Me.requestAnimationFrame((()=>{Pe(e)})),getMimetype:e=>({jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",bmp:"image/bmp",ogg:"audio/ogg",wav:"audio/wav",mp3:"audio/mpeg"}[e.substr(e.lastIndexOf(".")+1)]),getUserMedia(e){window.getUserMedia||(window.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia),window.getUserMedia(e)},getMovementX:e=>e.movementX||e.mozMovementX||e.webkitMovementX||0,getMovementY:e=>e.movementY||e.mozMovementY||e.webkitMovementY||0,getMouseWheelDelta(e){let t=0;switch(e.type){case"DOMMouseScroll":t=e.detail/3;break;case"mousewheel":t=e.wheelDelta/120;break;case"wheel":switch(t=e.deltaY,e.deltaMode){case 0:t/=100;break;case 1:t/=3;break;case 2:t*=80;break;default:throw`unrecognized mouse wheel delta mode: ${e.deltaMode}`}break;default:throw`unrecognized mouse wheel event: ${e.type}`}return t},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent(e){if(Me.pointerLock)"mousemove"!=e.type&&"mozMovementX"in e?Me.mouseMovementX=Me.mouseMovementY=0:(Me.mouseMovementX=Me.getMovementX(e),Me.mouseMovementY=Me.getMovementY(e)),"undefined"!=typeof SDL?(Me.mouseX=SDL.mouseX+Me.mouseMovementX,Me.mouseY=SDL.mouseY+Me.mouseMovementY):(Me.mouseX+=Me.mouseMovementX,Me.mouseY+=Me.mouseMovementY);else{const t=r.canvas.getBoundingClientRect(),n=r.canvas.width,o=r.canvas.height,i=void 0!==window.scrollX?window.scrollX:window.pageXOffset,a=void 0!==window.scrollY?window.scrollY:window.pageYOffset;if(T(void 0!==i&&void 0!==a,"Unable to retrieve scroll position, mouse positions likely broken."),"touchstart"===e.type||"touchend"===e.type||"touchmove"===e.type){const{touch:r}=e;if(void 0===r)return;let s=r.pageX-(i+t.left),A=r.pageY-(a+t.top);s*=n/t.width,A*=o/t.height;const c={x:s,y:A};if("touchstart"===e.type)Me.lastTouches[r.identifier]=c,Me.touches[r.identifier]=c;else if("touchend"===e.type||"touchmove"===e.type){let e=Me.touches[r.identifier];e||(e=c),Me.lastTouches[r.identifier]=e,Me.touches[r.identifier]=c}return}let s=e.pageX-(i+t.left),A=e.pageY-(a+t.top);s*=n/t.width,A*=o/t.height,Me.mouseMovementX=s-Me.mouseX,Me.mouseMovementY=A-Me.mouseY,Me.mouseX=s,Me.mouseY=A}},resizeListeners:[],updateResizeListeners(){const{canvas:e}=r;Me.resizeListeners.forEach((t=>{t(e.width,e.height)}))},setCanvasSize(e,t,n){const{canvas:o}=r;Me.updateCanvasDimensions(o,e,t),n||Me.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize(){if("undefined"!=typeof SDL){let e=J[SDL.screen>>2];e|=8388608,K[SDL.screen>>2]=e}Me.updateCanvasDimensions(r.canvas),Me.updateResizeListeners()},setWindowedCanvasSize(){if("undefined"!=typeof SDL){let e=J[SDL.screen>>2];e&=-8388609,K[SDL.screen>>2]=e}Me.updateCanvasDimensions(r.canvas),Me.updateResizeListeners()},updateCanvasDimensions(e,t,n){t&&n?(e.widthNative=t,e.heightNative=n):(t=e.widthNative,n=e.heightNative);let o=t,i=n;if(r.forcedAspectRatio&&r.forcedAspectRatio>0&&(o/i<r.forcedAspectRatio?o=Math.round(i*r.forcedAspectRatio):i=Math.round(o/r.forcedAspectRatio)),(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e.parentNode&&"undefined"!=typeof screen){const e=Math.min(screen.width/o,screen.height/i);o=Math.round(o*e),i=Math.round(i*e)}Me.resizeCanvas?(e.width!=o&&(e.width=o),e.height!=i&&(e.height=i),void 0!==e.style&&(e.style.removeProperty("width"),e.style.removeProperty("height"))):(e.width!=t&&(e.width=t),e.height!=n&&(e.height=n),void 0!==e.style&&(o!=t||i!=n?(e.style.setProperty("width",`${o}px`,"important"),e.style.setProperty("height",`${i}px`,"important")):(e.style.removeProperty("width"),e.style.removeProperty("height"))))}};function Se(e){for(;e.length>0;){const t=e.shift();if("function"==typeof t){t(r);continue}const{func:n}=t;"number"==typeof n?void 0===t.arg?ne.get(n)():ne.get(n)(t.arg):n(void 0===t.arg?null:t.arg)}}function Fe(e){return e.replace(/\b_Z[\w\d_]+/g,(e=>{const t=(r=e,y("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling"),r);var r;return e===t?e:`${t} [${e}]`}))}function Ne(e){this.excPtr=e,this.ptr=e-16,this.set_type=function(e){K[this.ptr+4>>2]=e},this.get_type=function(){return K[this.ptr+4>>2]},this.set_destructor=function(e){K[this.ptr+8>>2]=e},this.get_destructor=function(){return K[this.ptr+8>>2]},this.set_refcount=function(e){K[this.ptr>>2]=e},this.set_caught=function(e){e=e?1:0,V[this.ptr+12|0]=e},this.get_caught=function(){return 0!=V[this.ptr+12|0]},this.set_rethrown=function(e){e=e?1:0,V[this.ptr+13|0]=e},this.get_rethrown=function(){return 0!=V[this.ptr+13|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(){const e=K[this.ptr>>2];K[this.ptr>>2]=e+1},this.release_ref=function(){const e=K[this.ptr>>2];return K[this.ptr>>2]=e-1,T(e>0),1===e}}function ke(e){this.free=function(){An(this.ptr),this.ptr=0},this.set_base_ptr=function(e){K[this.ptr>>2]=e},this.get_base_ptr=function(){return K[this.ptr>>2]},this.set_adjusted_ptr=function(e){K[this.ptr+4>>2]=e},this.get_adjusted_ptr_addr=function(){return this.ptr+4},this.get_adjusted_ptr=function(){return K[this.ptr+4>>2]},this.get_exception_ptr=function(){if(yn(this.get_exception_info().get_type()))return K[this.get_base_ptr()>>2];const e=this.get_adjusted_ptr();return 0!==e?e:this.get_base_ptr()},this.get_exception_info=function(){return new Ne(this.get_base_ptr())},void 0===e?(this.ptr=cn(8),this.set_adjusted_ptr(0)):this.ptr=e}const xe=[];let Ue=0;function je(e){try{return An(new Ne(e).ptr)}catch(e){C(`exception during cxa_free_exception: ${e}`)}}function Le(e){return K[gn()>>2]=e,e}var He={splitPath:e=>/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1),normalizeArray(e,t){let r=0;for(let t=e.length-1;t>=0;t--){const n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r;r--)e.unshift("..");return e},normalize(e){const t="/"===e.charAt(0),r="/"===e.substr(-1);return(e=He.normalizeArray(e.split("/").filter((e=>!!e)),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e},dirname(e){const t=He.splitPath(e),r=t[0];let n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},basename(e){if("/"===e)return"/";const t=(e=(e=He.normalize(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===t?e:e.substr(t+1)},extname:e=>He.splitPath(e)[3],join(){const e=Array.prototype.slice.call(arguments,0);return He.normalize(e.join("/"))},join2:(e,t)=>He.normalize(`${e}/${t}`)};function Ge(){if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues){const e=new Uint8Array(1);return function(){return crypto.getRandomValues(e),e[0]}}if(u)try{const e=__require("crypto");return function(){return e.randomBytes(1)[0]}}catch(e){}return function(){Ce("no cryptographic support found for randomDevice. consider polyfilling it if you want to use something insecure like Math.random(), e.g. put this in a --pre-js: var crypto = { getRandomValues: function(array) { for (var i = 0; i < array.length; i++) array[i] = (Math.random()*256)|0 } };")}}var Ye={resolve(){let e="",t=!1;for(let r=arguments.length-1;r>=-1&&!t;r--){const n=r>=0?arguments[r]:Ke.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 e=He.normalizeArray(e.split("/").filter((e=>!!e)),!t).join("/"),(t?"/":"")+e||"."},relative(e,t){function r(e){let t=0;for(;t<e.length&&""===e[t];t++);let r=e.length-1;for(;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=Ye.resolve(e).substr(1),t=Ye.resolve(t).substr(1);const n=r(e.split("/")),o=r(t.split("/")),i=Math.min(n.length,o.length);let a=i;for(var s=0;s<i;s++)if(n[s]!==o[s]){a=s;break}let A=[];for(s=a;s<n.length;s++)A.push("..");return A=A.concat(o.slice(a)),A.join("/")}},Xe={ttys:[],init(){},shutdown(){},register(e,t){Xe.ttys[e]={input:[],output:[],ops:t},Ke.registerDevice(e,Xe.stream_ops)},stream_ops:{open(e){const t=Xe.ttys[e.node.rdev];if(!t)throw new Ke.ErrnoError(43);e.tty=t,e.seekable=!1},close(e){e.tty.ops.flush(e.tty)},flush(e){e.tty.ops.flush(e.tty)},read(e,t,r,n,o){if(!e.tty||!e.tty.ops.get_char)throw new Ke.ErrnoError(60);let i=0;for(let o=0;o<n;o++){var a;try{a=e.tty.ops.get_char(e.tty)}catch(e){throw new Ke.ErrnoError(29)}if(void 0===a&&0===i)throw new Ke.ErrnoError(6);if(null==a)break;i++,t[r+o]=a}return i&&(e.node.timestamp=Date.now()),i},write(e,t,r,n,o){if(!e.tty||!e.tty.ops.put_char)throw new Ke.ErrnoError(60);try{for(var i=0;i<n;i++)e.tty.ops.put_char(e.tty,t[r+i])}catch(e){throw new Ke.ErrnoError(29)}return n&&(e.node.timestamp=Date.now()),i}},default_tty_ops:{get_char(e){if(!e.input.length){let t=null;if(u){const e=256,r=Buffer.alloc(e);let n=0;try{n=undefined.readSync(process.stdin.fd,r,0,e,null)}catch(e){if(!e.toString().includes("EOF"))throw e;n=0}t=n>0?r.slice(0,n).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?(t=window.prompt("Input: "),null!==t&&(t+="\n")):"function"==typeof readline&&(t=readline(),null!==t&&(t+="\n"));if(!t)return null;e.input=an(t,!0)}return e.input.shift()},put_char(e,t){null===t||10===t?(m(P(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush(e){e.output&&e.output.length>0&&(m(P(e.output,0)),e.output=[])}},default_tty1_ops:{put_char(e,t){null===t||10===t?(C(P(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush(e){e.output&&e.output.length>0&&(C(P(e.output,0)),e.output=[])}}};function Ve(e){e=function(e,t){return T(t,"alignment argument is required"),Math.ceil(e/t)*t}(e,65536);const t=_n(65536,e);return t?(function(e,t){W.fill(0,e,e+t)}(t,e),t):0}var We={ops_table:null,mount:e=>We.createNode(null,"/",16895,0),createNode(e,t,r,n){if(Ke.isBlkdev(r)||Ke.isFIFO(r))throw new Ke.ErrnoError(63);We.ops_table||(We.ops_table={dir:{node:{getattr:We.node_ops.getattr,setattr:We.node_ops.setattr,lookup:We.node_ops.lookup,mknod:We.node_ops.mknod,rename:We.node_ops.rename,unlink:We.node_ops.unlink,rmdir:We.node_ops.rmdir,readdir:We.node_ops.readdir,symlink:We.node_ops.symlink},stream:{llseek:We.stream_ops.llseek}},file:{node:{getattr:We.node_ops.getattr,setattr:We.node_ops.setattr},stream:{llseek:We.stream_ops.llseek,read:We.stream_ops.read,write:We.stream_ops.write,allocate:We.stream_ops.allocate,mmap:We.stream_ops.mmap,msync:We.stream_ops.msync}},link:{node:{getattr:We.node_ops.getattr,setattr:We.node_ops.setattr,readlink:We.node_ops.readlink},stream:{}},chrdev:{node:{getattr:We.node_ops.getattr,setattr:We.node_ops.setattr},stream:Ke.chrdev_stream_ops}});const o=Ke.createNode(e,t,r,n);return Ke.isDir(o.mode)?(o.node_ops=We.ops_table.dir.node,o.stream_ops=We.ops_table.dir.stream,o.contents={}):Ke.isFile(o.mode)?(o.node_ops=We.ops_table.file.node,o.stream_ops=We.ops_table.file.stream,o.usedBytes=0,o.contents=null):Ke.isLink(o.mode)?(o.node_ops=We.ops_table.link.node,o.stream_ops=We.ops_table.link.stream):Ke.isChrdev(o.mode)&&(o.node_ops=We.ops_table.chrdev.node,o.stream_ops=We.ops_table.chrdev.stream),o.timestamp=Date.now(),e&&(e.contents[t]=o,e.timestamp=o.timestamp),o},getFileDataAsTypedArray:e=>e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0),expandFileStorage(e,t){const r=e.contents?e.contents.length:0;if(r>=t)return;t=Math.max(t,r*(r<1048576?2:1.125)>>>0),0!=r&&(t=Math.max(t,256));const n=e.contents;e.contents=new Uint8Array(t),e.usedBytes>0&&e.contents.set(n.subarray(0,e.usedBytes),0)},resizeFileStorage(e,t){if(e.usedBytes!=t)if(0==t)e.contents=null,e.usedBytes=0;else{const 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(e){const t={};return t.dev=Ke.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,Ke.isDir(e.mode)?t.size=4096:Ke.isFile(e.mode)?t.size=e.usedBytes:Ke.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(e,t){void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp),void 0!==t.size&&We.resizeFileStorage(e,t.size)},lookup(e,t){throw Ke.genericErrors[44]},mknod:(e,t,r,n)=>We.createNode(e,t,r,n),rename(e,t,r){if(Ke.isDir(e.mode)){let e;try{e=Ke.lookupNode(t,r)}catch(e){}if(e)for(const t in e.contents)throw new Ke.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(e,t){delete e.contents[t],e.timestamp=Date.now()},rmdir(e,t){const r=Ke.lookupNode(e,t);for(const e in r.contents)throw new Ke.ErrnoError(55);delete e.contents[t],e.timestamp=Date.now()},readdir(e){const t=[".",".."];for(const r in e.contents)e.contents.hasOwnProperty(r)&&t.push(r);return t},symlink(e,t,r){const n=We.createNode(e,t,41471,0);return n.link=r,n},readlink(e){if(!Ke.isLink(e.mode))throw new Ke.ErrnoError(28);return e.link}},stream_ops:{read(e,t,r,n,o){const{contents:i}=e.node;if(o>=e.node.usedBytes)return 0;const a=Math.min(e.node.usedBytes-o,n);if(T(a>=0),a>8&&i.subarray)t.set(i.subarray(o,o+a),r);else for(let e=0;e<a;e++)t[r+e]=i[o+e];return a},write(e,t,r,n,o,i){if(T(!(t instanceof ArrayBuffer)),t.buffer===V.buffer&&(i=!1),!n)return 0;const{node:a}=e;if(a.timestamp=Date.now(),t.subarray&&(!a.contents||a.contents.subarray)){if(i)return T(0===o,"canOwn must imply no weird position inside the file"),a.contents=t.subarray(r,r+n),a.usedBytes=n,n;if(0===a.usedBytes&&0===o)return a.contents=t.slice(r,r+n),a.usedBytes=n,n;if(o+n<=a.usedBytes)return a.contents.set(t.subarray(r,r+n),o),n}if(We.expandFileStorage(a,o+n),a.contents.subarray&&t.subarray)a.contents.set(t.subarray(r,r+n),o);else for(let e=0;e<n;e++)a.contents[o+e]=t[r+e];return a.usedBytes=Math.max(a.usedBytes,o+n),n},llseek(e,t,r){let n=t;if(1===r?n+=e.position:2===r&&Ke.isFile(e.node.mode)&&(n+=e.node.usedBytes),n<0)throw new Ke.ErrnoError(28);return n},allocate(e,t,r){We.expandFileStorage(e.node,t+r),e.node.usedBytes=Math.max(e.node.usedBytes,t+r)},mmap(e,t,r,n,o,i){if(0!==t)throw new Ke.ErrnoError(28);if(!Ke.isFile(e.node.mode))throw new Ke.ErrnoError(43);let a,s,{contents:A}=e.node;if(2&i||A.buffer!==X){if((n>0||n+r<A.length)&&(A=A.subarray?A.subarray(n,n+r):Array.prototype.slice.call(A,n,n+r)),s=!0,a=Ve(r),!a)throw new Ke.ErrnoError(48);V.set(A,a)}else s=!1,a=A.byteOffset;return{ptr:a,allocated:s}},msync(e,t,r,n,o){if(!Ke.isFile(e.node.mode))throw new Ke.ErrnoError(43);if(2&o)return 0;We.stream_ops.write(e,t,0,n,r,!1);return 0}}};const ze={0:"Success",1:"Arg list too long",2:"Permission denied",3:"Address already in use",4:"Address not available",5:"Address family not supported by protocol family",6:"No more processes",7:"Socket already connected",8:"Bad file number",9:"Trying to read unreadable message",10:"Mount device busy",11:"Operation canceled",12:"No children",13:"Connection aborted",14:"Connection refused",15:"Connection reset by peer",16:"File locking deadlock error",17:"Destination address required",18:"Math arg out of domain of func",19:"Quota exceeded",20:"File exists",21:"Bad address",22:"File too large",23:"Host is unreachable",24:"Identifier removed",25:"Illegal byte sequence",26:"Connection already in progress",27:"Interrupted system call",28:"Invalid argument",29:"I/O error",30:"Socket is already connected",31:"Is a directory",32:"Too many symbolic links",33:"Too many open files",34:"Too many links",35:"Message too long",36:"Multihop attempted",37:"File or path name too long",38:"Network interface is not configured",39:"Connection reset by network",40:"Network is unreachable",41:"Too many open files in system",42:"No buffer space available",43:"No such device",44:"No such file or directory",45:"Exec format error",46:"No record locks available",47:"The link has been severed",48:"Not enough core",49:"No message of desired type",50:"Protocol not available",51:"No space left on device",52:"Function not implemented",53:"Socket is not connected",54:"Not a directory",55:"Directory not empty",56:"State not recoverable",57:"Socket operation on non-socket",59:"Not a typewriter",60:"No such device or address",61:"Value too large for defined data type",62:"Previous owner died",63:"Not super-user",64:"Broken pipe",65:"Protocol error",66:"Unknown protocol",67:"Protocol wrong type for socket",68:"Math result not representable",69:"Read only file system",70:"Illegal seek",71:"No such process",72:"Stale file handle",73:"Connection timed out",74:"Text file busy",75:"Cross-device link",100:"Device not a stream",101:"Bad font file fmt",102:"Invalid slot",103:"Invalid request code",104:"No anode",105:"Block device required",106:"Channel number out of range",107:"Level 3 halted",108:"Level 3 reset",109:"Link number out of range",110:"Protocol driver not attached",111:"No CSI structure available",112:"Level 2 halted",113:"Invalid exchange",114:"Invalid request descriptor",115:"Exchange full",116:"No data (for no delay io)",117:"Timer expired",118:"Out of streams resources",119:"Machine is not on the network",120:"Package not installed",121:"The object is remote",122:"Advertise error",123:"Srmount error",124:"Communication error on send",125:"Cross mount point (not really error)",126:"Given log. name not unique",127:"f.d. invalid for this operation",128:"Remote address changed",129:"Can access a needed shared lib",130:"Accessing a corrupted shared lib",131:".lib section in a.out corrupted",132:"Attempting to link in too many libs",133:"Attempting to exec a shared library",135:"Streams pipe error",136:"Too many users",137:"Socket type not supported",138:"Not supported",139:"Protocol family not supported",140:"Can't send after socket shutdown",141:"Too many references",142:"Host is down",148:"No medium (in tape drive)",156:"Level 2 not synchronized"},$e={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135};var Ke={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath(e,t){if(t=t||{},!(e=Ye.resolve(Ke.cwd(),e)))return{path:"",node:null};const r={follow_mount:!0,recurse_count:0};for(const e in r)void 0===t[e]&&(t[e]=r[e]);if(t.recurse_count>8)throw new Ke.ErrnoError(32);const n=He.normalizeArray(e.split("/").filter((e=>!!e)),!1);let o=Ke.root,i="/";for(let e=0;e<n.length;e++){const r=e===n.length-1;if(r&&t.parent)break;if(o=Ke.lookupNode(o,n[e]),i=He.join2(i,n[e]),Ke.isMountpoint(o)&&(!r||r&&t.follow_mount)&&(o=o.mounted.root),!r||t.follow){let e=0;for(;Ke.isLink(o.mode);){const r=Ke.readlink(i);i=Ye.resolve(He.dirname(i),r);if(o=Ke.lookupPath(i,{recurse_count:t.recurse_count}).node,e++>40)throw new Ke.ErrnoError(32)}}}return{path:i,node:o}},getPath(e){let t;for(;;){if(Ke.isRoot(e)){const r=e.mount.mountpoint;return t?"/"!==r[r.length-1]?`${r}/${t}`:r+t:r}t=t?`${e.name}/${t}`:e.name,e=e.parent}},hashName(e,t){let r=0;for(let e=0;e<t.length;e++)r=(r<<5)-r+t.charCodeAt(e)|0;return(e+r>>>0)%Ke.nameTable.length},hashAddNode(e){const t=Ke.hashName(e.parent.id,e.name);e.name_next=Ke.nameTable[t],Ke.nameTable[t]=e},hashRemoveNode(e){const t=Ke.hashName(e.parent.id,e.name);if(Ke.nameTable[t]===e)Ke.nameTable[t]=e.name_next;else{let r=Ke.nameTable[t];for(;r;){if(r.name_next===e){r.name_next=e.name_next;break}r=r.name_next}}},lookupNode(e,t){const r=Ke.mayLookup(e);if(r)throw new Ke.ErrnoError(r,e);const n=Ke.hashName(e.id,t);for(let r=Ke.nameTable[n];r;r=r.name_next){const n=r.name;if(r.parent.id===e.id&&n===t)return r}return Ke.lookup(e,t)},createNode(e,t,r,n){T("object"==typeof e);const o=new Ke.FSNode(e,t,r,n);return Ke.hashAddNode(o),o},destroyNode(e){Ke.hashRemoveNode(e)},isRoot:e=>e===e.parent,isMountpoint:e=>!!e.mounted,isFile:e=>32768==(61440&e),isDir:e=>16384==(61440&e),isLink:e=>40960==(61440&e),isChrdev:e=>8192==(61440&e),isBlkdev:e=>24576==(61440&e),isFIFO:e=>4096==(61440&e),isSocket:e=>!(49152&~e),flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags(e){const t=Ke.flagModes[e];if(void 0===t)throw new Error(`Unknown file open mode: ${e}`);return t},flagsToPermissionString(e){let t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t},nodePermissions:(e,t)=>Ke.ignorePermissions||(!t.includes("r")||292&e.mode)&&(!t.includes("w")||146&e.mode)&&(!t.includes("x")||73&e.mode)?0:2,mayLookup(e){const t=Ke.nodePermissions(e,"x");return t||(e.node_ops.lookup?0:2)},mayCreate(e,t){try{Ke.lookupNode(e,t);return 20}catch(e){}return Ke.nodePermissions(e,"wx")},mayDelete(e,t,r){let n;try{n=Ke.lookupNode(e,t)}catch(e){return e.errno}const o=Ke.nodePermissions(e,"wx");if(o)return o;if(r){if(!Ke.isDir(n.mode))return 54;if(Ke.isRoot(n)||Ke.getPath(n)===Ke.cwd())return 10}else if(Ke.isDir(n.mode))return 31;return 0},mayOpen:(e,t)=>e?Ke.isLink(e.mode)?32:Ke.isDir(e.mode)&&("r"!==Ke.flagsToPermissionString(t)||512&t)?31:Ke.nodePermissions(e,Ke.flagsToPermissionString(t)):44,MAX_OPEN_FDS:4096,nextfd(e,t){e=e||0,t=t||Ke.MAX_OPEN_FDS;for(let r=e;r<=t;r++)if(!Ke.streams[r])return r;throw new Ke.ErrnoError(33)},getStream:e=>Ke.streams[e],createStream(e,t,r){Ke.FSStream||(Ke.FSStream=function(){},Ke.FSStream.prototype={object:{get(){return this.node},set(e){this.node=e}},isRead:{get(){return 1!=(2097155&this.flags)}},isWrite:{get(){return!!(2097155&this.flags)}},isAppend:{get(){return 1024&this.flags}}});const n=new Ke.FSStream;for(const t in e)n[t]=e[t];e=n;const o=Ke.nextfd(t,r);return e.fd=o,Ke.streams[o]=e,e},closeStream(e){Ke.streams[e]=null},chrdev_stream_ops:{open(e){const t=Ke.getDevice(e.node.rdev);e.stream_ops=t.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek(){throw new Ke.ErrnoError(70)}},major:e=>e>>8,minor:e=>255&e,makedev:(e,t)=>e<<8|t,registerDevice(e,t){Ke.devices[e]={stream_ops:t}},getDevice:e=>Ke.devices[e],getMounts(e){const t=[],r=[e];for(;r.length;){const e=r.pop();t.push(e),r.push.apply(r,e.mounts)}return t},syncfs(e,t){"function"==typeof e&&(t=e,e=!1),Ke.syncFSRequests++,Ke.syncFSRequests>1&&C(`warning: ${Ke.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`);const r=Ke.getMounts(Ke.root.mount);let n=0;function o(e){return T(Ke.syncFSRequests>0),Ke.syncFSRequests--,t(e)}function i(e){if(e)return i.errored?void 0:(i.errored=!0,o(e));++n>=r.length&&o(null)}r.forEach((t=>{if(!t.type.syncfs)return i(null);t.type.syncfs(t,e,i)}))},mount(e,t,r){if("string"==typeof e)throw e;const n="/"===r,o=!r;let i;if(n&&Ke.root)throw new Ke.ErrnoError(10);if(!n&&!o){const e=Ke.lookupPath(r,{follow_mount:!1});if(r=e.path,i=e.node,Ke.isMountpoint(i))throw new Ke.ErrnoError(10);if(!Ke.isDir(i.mode))throw new Ke.ErrnoError(54)}const a={type:e,opts:t,mountpoint:r,mounts:[]},s=e.mount(a);return s.mount=a,a.root=s,n?Ke.root=s:i&&(i.mounted=a,i.mount&&i.mount.mounts.push(a)),s},unmount(e){const t=Ke.lookupPath(e,{follow_mount:!1});if(!Ke.isMountpoint(t.node))throw new Ke.ErrnoError(28);const{node:r}=t,n=r.mounted,o=Ke.getMounts(n);Object.keys(Ke.nameTable).forEach((e=>{let t=Ke.nameTable[e];for(;t;){const e=t.name_next;o.includes(t.mount)&&Ke.destroyNode(t),t=e}})),r.mounted=null;const i=r.mount.mounts.indexOf(n);T(-1!==i),r.mount.mounts.splice(i,1)},lookup:(e,t)=>e.node_ops.lookup(e,t),mknod(e,t,r){const n=Ke.lookupPath(e,{parent:!0}).node,o=He.basename(e);if(!o||"."===o||".."===o)throw new Ke.ErrnoError(28);const i=Ke.mayCreate(n,o);if(i)throw new Ke.ErrnoError(i);if(!n.node_ops.mknod)throw new Ke.ErrnoError(63);return n.node_ops.mknod(n,o,t,r)},create:(e,t)=>(t=void 0!==t?t:438,t&=4095,t|=32768,Ke.mknod(e,t,0)),mkdir:(e,t)=>(t=void 0!==t?t:511,t&=1023,t|=16384,Ke.mknod(e,t,0)),mkdirTree(e,t){const r=e.split("/");let n="";for(let e=0;e<r.length;++e)if(r[e]){n+=`/${r[e]}`;try{Ke.mkdir(n,t)}catch(e){if(20!=e.errno)throw e}}},mkdev:(e,t,r)=>(void 0===r&&(r=t,t=438),t|=8192,Ke.mknod(e,t,r)),symlink(e,t){if(!Ye.resolve(e))throw new Ke.ErrnoError(44);const r=Ke.lookupPath(t,{parent:!0}).node;if(!r)throw new Ke.ErrnoError(44);const n=He.basename(t),o=Ke.mayCreate(r,n);if(o)throw new Ke.ErrnoError(o);if(!r.node_ops.symlink)throw new Ke.ErrnoError(63);return r.node_ops.symlink(r,n,e)},rename(e,t){const r=He.dirname(e),n=He.dirname(t),o=He.basename(e),i=He.basename(t);let a,s,A;if(a=Ke.lookupPath(e,{parent:!0}),s=a.node,a=Ke.lookupPath(t,{parent:!0}),A=a.node,!s||!A)throw new Ke.ErrnoError(44);if(s.mount!==A.mount)throw new Ke.ErrnoError(75);const c=Ke.lookupNode(s,o);let g,d=Ye.relative(e,n);if("."!==d.charAt(0))throw new Ke.ErrnoError(28);if(d=Ye.relative(t,r),"."!==d.charAt(0))throw new Ke.ErrnoError(55);try{g=Ke.lookupNode(A,i)}catch(e){}if(c===g)return;const u=Ke.isDir(c.mode);let l=Ke.mayDelete(s,o,u);if(l)throw new Ke.ErrnoError(l);if(l=g?Ke.mayDelete(A,i,u):Ke.mayCreate(A,i),l)throw new Ke.ErrnoError(l);if(!s.node_ops.rename)throw new Ke.ErrnoError(63);if(Ke.isMountpoint(c)||g&&Ke.isMountpoint(g))throw new Ke.ErrnoError(10);if(A!==s&&(l=Ke.nodePermissions(s,"w"),l))throw new Ke.ErrnoError(l);try{Ke.trackingDelegate.willMovePath&&Ke.trackingDelegate.willMovePath(e,t)}catch(r){C(`FS.trackingDelegate['willMovePath']('${e}', '${t}') threw an exception: ${r.message}`)}Ke.hashRemoveNode(c);try{s.node_ops.rename(c,A,i)}catch(e){throw e}finally{Ke.hashAddNode(c)}try{Ke.trackingDelegate.onMovePath&&Ke.trackingDelegate.onMovePath(e,t)}catch(r){C(`FS.trackingDelegate['onMovePath']('${e}', '${t}') threw an exception: ${r.message}`)}},rmdir(e){const t=Ke.lookupPath(e,{parent:!0}).node,r=He.basename(e),n=Ke.lookupNode(t,r),o=Ke.mayDelete(t,r,!0);if(o)throw new Ke.ErrnoError(o);if(!t.node_ops.rmdir)throw new Ke.ErrnoError(63);if(Ke.isMountpoint(n))throw new Ke.ErrnoError(10);try{Ke.trackingDelegate.willDeletePath&&Ke.trackingDelegate.willDeletePath(e)}catch(t){C(`FS.trackingDelegate['willDeletePath']('${e}') threw an exception: ${t.message}`)}t.node_ops.rmdir(t,r),Ke.destroyNode(n);try{Ke.trackingDelegate.onDeletePath&&Ke.trackingDelegate.onDeletePath(e)}catch(t){C(`FS.trackingDelegate['onDeletePath']('${e}') threw an exception: ${t.message}`)}},readdir(e){const t=Ke.lookupPath(e,{follow:!0}),{node:r}=t;if(!r.node_ops.readdir)throw new Ke.ErrnoError(54);return r.node_ops.readdir(r)},unlink(e){const t=Ke.lookupPath(e,{parent:!0}).node,r=He.basename(e),n=Ke.lookupNode(t,r),o=Ke.mayDelete(t,r,!1);if(o)throw new Ke.ErrnoError(o);if(!t.node_ops.unlink)throw new Ke.ErrnoError(63);if(Ke.isMountpoint(n))throw new Ke.ErrnoError(10);try{Ke.trackingDelegate.willDeletePath&&Ke.trackingDelegate.willDeletePath(e)}catch(t){C(`FS.trackingDelegate['willDeletePath']('${e}') threw an exception: ${t.message}`)}t.node_ops.unlink(t,r),Ke.destroyNode(n);try{Ke.trackingDelegate.onDeletePath&&Ke.trackingDelegate.onDeletePath(e)}catch(t){C(`FS.trackingDelegate['onDeletePath']('${e}') threw an exception: ${t.message}`)}},readlink(e){const t=Ke.lookupPath(e).node;if(!t)throw new Ke.ErrnoError(44);if(!t.node_ops.readlink)throw new Ke.ErrnoError(28);return Ye.resolve(Ke.getPath(t.parent),t.node_ops.readlink(t))},stat(e,t){const r=Ke.lookupPath(e,{follow:!t}),{node:n}=r;if(!n)throw new Ke.ErrnoError(44);if(!n.node_ops.getattr)throw new Ke.ErrnoError(63);return n.node_ops.getattr(n)},lstat:e=>Ke.stat(e,!0),chmod(e,t,r){let n;if("string"==typeof e){n=Ke.lookupPath(e,{follow:!r}).node}else n=e;if(!n.node_ops.setattr)throw new Ke.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&t|-4096&n.mode,timestamp:Date.now()})},lchmod(e,t){Ke.chmod(e,t,!0)},fchmod(e,t){const r=Ke.getStream(e);if(!r)throw new Ke.ErrnoError(8);Ke.chmod(r.node,t)},chown(e,t,r,n){let o;if("string"==typeof e){o=Ke.lookupPath(e,{follow:!n}).node}else o=e;if(!o.node_ops.setattr)throw new Ke.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown(e,t,r){Ke.chown(e,t,r,!0)},fchown(e,t,r){const n=Ke.getStream(e);if(!n)throw new Ke.ErrnoError(8);Ke.chown(n.node,t,r)},truncate(e,t){if(t<0)throw new Ke.ErrnoError(28);let r;if("string"==typeof e){r=Ke.lookupPath(e,{follow:!0}).node}else r=e;if(!r.node_ops.setattr)throw new Ke.ErrnoError(63);if(Ke.isDir(r.mode))throw new Ke.ErrnoError(31);if(!Ke.isFile(r.mode))throw new Ke.ErrnoError(28);const n=Ke.nodePermissions(r,"w");if(n)throw new Ke.ErrnoError(n);r.node_ops.setattr(r,{size:t,timestamp:Date.now()})},ftruncate(e,t){const r=Ke.getStream(e);if(!r)throw new Ke.ErrnoError(8);if(!(2097155&r.flags))throw new Ke.ErrnoError(28);Ke.truncate(r.node,t)},utime(e,t,r){const n=Ke.lookupPath(e,{follow:!0}),{node:o}=n;o.node_ops.setattr(o,{timestamp:Math.max(t,r)})},open(e,t,n,o,i){if(""===e)throw new Ke.ErrnoError(44);let a;if(n=void 0===n?438:n,n=64&(t="string"==typeof t?Ke.modeStringToFlags(t):t)?4095&n|32768:0,"object"==typeof e)a=e;else{e=He.normalize(e);try{a=Ke.lookupPath(e,{follow:!(131072&t)}).node}catch(e){}}let s=!1;if(64&t)if(a){if(128&t)throw new Ke.ErrnoError(20)}else a=Ke.mknod(e,n,0),s=!0;if(!a)throw new Ke.ErrnoError(44);if(Ke.isChrdev(a.mode)&&(t&=-513),65536&t&&!Ke.isDir(a.mode))throw new Ke.ErrnoError(54);if(!s){const e=Ke.mayOpen(a,t);if(e)throw new Ke.ErrnoError(e)}512&t&&Ke.truncate(a,0),t&=-131713;const A=Ke.createStream({node:a,path:Ke.getPath(a),flags:t,seekable:!0,position:0,stream_ops:a.stream_ops,ungotten:[],error:!1},o,i);A.stream_ops.open&&A.stream_ops.open(A),!r.logReadFiles||1&t||(Ke.readFiles||(Ke.readFiles={}),e in Ke.readFiles||(Ke.readFiles[e]=1,C(`FS.trackingDelegate error on read file: ${e}`)));try{if(Ke.trackingDelegate.onOpenFile){let r=0;1!=(2097155&t)&&(r|=Ke.tracking.openFlags.READ),2097155&t&&(r|=Ke.tracking.openFlags.WRITE),Ke.trackingDelegate.onOpenFile(e,r)}}catch(t){C(`FS.trackingDelegate['onOpenFile']('${e}', flags) threw an exception: ${t.message}`)}return A},close(e){if(Ke.isClosed(e))throw new Ke.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{Ke.closeStream(e.fd)}e.fd=null},isClosed:e=>null===e.fd,llseek(e,t,r){if(Ke.isClosed(e))throw new Ke.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new Ke.ErrnoError(70);if(0!=r&&1!=r&&2!=r)throw new Ke.ErrnoError(28);return e.position=e.stream_ops.llseek(e,t,r),e.ungotten=[],e.position},read(e,t,r,n,o){if(n<0||o<0)throw new Ke.ErrnoError(28);if(Ke.isClosed(e))throw new Ke.ErrnoError(8);if(1==(2097155&e.flags))throw new Ke.ErrnoError(8);if(Ke.isDir(e.node.mode))throw new Ke.ErrnoError(31);if(!e.stream_ops.read)throw new Ke.ErrnoError(28);const i=void 0!==o;if(i){if(!e.seekable)throw new Ke.ErrnoError(70)}else o=e.position;const a=e.stream_ops.read(e,t,r,n,o);return i||(e.position+=a),a},write(e,t,r,n,o,i){if(n<0||o<0)throw new Ke.ErrnoError(28);if(Ke.isClosed(e))throw new Ke.ErrnoError(8);if(!(2097155&e.flags))throw new Ke.ErrnoError(8);if(Ke.isDir(e.node.mode))throw new Ke.ErrnoError(31);if(!e.stream_ops.write)throw new Ke.ErrnoError(28);e.seekable&&1024&e.flags&&Ke.llseek(e,0,2);const a=void 0!==o;if(a){if(!e.seekable)throw new Ke.ErrnoError(70)}else o=e.position;const s=e.stream_ops.write(e,t,r,n,o,i);a||(e.position+=s);try{e.path&&Ke.trackingDelegate.onWriteToFile&&Ke.trackingDelegate.onWriteToFile(e.path)}catch(t){C(`FS.trackingDelegate['onWriteToFile']('${e.path}') threw an exception: ${t.message}`)}return s},allocate(e,t,r){if(Ke.isClosed(e))throw new Ke.ErrnoError(8);if(t<0||r<=0)throw new Ke.ErrnoError(28);if(!(2097155&e.flags))throw new Ke.ErrnoError(8);if(!Ke.isFile(e.node.mode)&&!Ke.isDir(e.node.mode))throw new Ke.ErrnoError(43);if(!e.stream_ops.allocate)throw new Ke.ErrnoError(138);e.stream_ops.allocate(e,t,r)},mmap(e,t,r,n,o,i){if(2&o&&!(2&i)&&2!=(2097155&e.flags))throw new Ke.ErrnoError(2);if(1==(2097155&e.flags))throw new Ke.ErrnoError(2);if(!e.stream_ops.mmap)throw new Ke.ErrnoError(43);return e.stream_ops.mmap(e,t,r,n,o,i)},msync:(e,t,r,n,o)=>e&&e.stream_ops.msync?e.stream_ops.msync(e,t,r,n,o):0,munmap:e=>0,ioctl(e,t,r){if(!e.stream_ops.ioctl)throw new Ke.ErrnoError(59);return e.stream_ops.ioctl(e,t,r)},readFile(e,t){if((t=t||{}).flags=t.flags||0,t.encoding=t.encoding||"binary","utf8"!==t.encoding&&"binary"!==t.encoding)throw new Error(`Invalid encoding type "${t.encoding}"`);let r;const n=Ke.open(e,t.flags),o=Ke.stat(e).size,i=new Uint8Array(o);return Ke.read(n,i,0,o,0),"utf8"===t.encoding?r=P(i,0):"binary"===t.encoding&&(r=i),Ke.close(n),r},writeFile(e,t,r){(r=r||{}).flags=r.flags||577;const n=Ke.open(e,r.flags,r.mode);if("string"==typeof t){const e=new Uint8Array(F(t)+1),o=M(t,e,0,e.length);Ke.write(n,e,0,o,void 0,r.canOwn)}else{if(!ArrayBuffer.isView(t))throw new Error("Unsupported data type");Ke.write(n,t,0,t.byteLength,void 0,r.canOwn)}Ke.close(n)},cwd:()=>Ke.currentPath,chdir(e){const t=Ke.lookupPath(e,{follow:!0});if(null===t.node)throw new Ke.ErrnoError(44);if(!Ke.isDir(t.node.mode))throw new Ke.ErrnoError(54);const r=Ke.nodePermissions(t.node,"x");if(r)throw new Ke.ErrnoError(r);Ke.currentPath=t.path},createDefaultDirectories(){Ke.mkdir("/tmp"),Ke.mkdir("/home"),Ke.mkdir("/home/web_user")},createDefaultDevices(){Ke.mkdir("/dev"),Ke.registerDevice(Ke.makedev(1,3),{read:()=>0,write:(e,t,r,n,o)=>n}),Ke.mkdev("/dev/null",Ke.makedev(1,3)),Xe.register(Ke.makedev(5,0),Xe.default_tty_ops),Xe.register(Ke.makedev(6,0),Xe.default_tty1_ops),Ke.mkdev("/dev/tty",Ke.makedev(5,0)),Ke.mkdev("/dev/tty1",Ke.makedev(6,0));const e=Ge();Ke.createDevice("/dev","random",e),Ke.createDevice("/dev","urandom",e),Ke.mkdir("/dev/shm"),Ke.mkdir("/dev/shm/tmp")},createSpecialDirectories(){Ke.mkdir("/proc");const e=Ke.mkdir("/proc/self");Ke.mkdir("/proc/self/fd"),Ke.mount({mount(){const t=Ke.createNode(e,"fd",16895,73);return t.node_ops={lookup(e,t){const r=+t,n=Ke.getStream(r);if(!n)throw new Ke.ErrnoError(8);const o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>n.path}};return o.parent=o,o}},t}},{},"/proc/self/fd")},createStandardStreams(){r.stdin?Ke.createDevice("/dev","stdin",r.stdin):Ke.symlink("/dev/tty","/dev/stdin"),r.stdout?Ke.createDevice("/dev","stdout",null,r.stdout):Ke.symlink("/dev/tty","/dev/stdout"),r.stderr?Ke.createDevice("/dev","stderr",null,r.stderr):Ke.symlink("/dev/tty1","/dev/stderr");const e=Ke.open("/dev/stdin",0),t=Ke.open("/dev/stdout",1),n=Ke.open("/dev/stderr",1);T(0===e.fd,`invalid handle for stdin (${e.fd})`),T(1===t.fd,`invalid handle for stdout (${t.fd})`),T(2===n.fd,`invalid handle for stderr (${n.fd})`)},ensureErrnoError(){Ke.ErrnoError||(Ke.ErrnoError=function(e,t){this.node=t,this.setErrno=function(e){this.errno=e;for(const t in $e)if($e[t]===e){this.code=t;break}},this.setErrno(e),this.message=ze[e],this.stack&&(Object.defineProperty(this,"stack",{value:(new Error).stack,writable:!0}),this.stack=Fe(this.stack))},Ke.ErrnoError.prototype=new Error,Ke.ErrnoError.prototype.constructor=Ke.ErrnoError,[44].forEach((e=>{Ke.genericErrors[e]=new Ke.ErrnoError(e),Ke.genericErrors[e].stack="<generic error, no stack>"})))},staticInit(){Ke.ensureErrnoError(),Ke.nameTable=new Array(4096),Ke.mount(We,{},"/"),Ke.createDefaultDirectories(),Ke.createDefaultDevices(),Ke.createSpecialDirectories(),Ke.filesystems={MEMFS:We}},init(e,t,n){T(!Ke.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),Ke.init.initialized=!0,Ke.ensureErrnoError(),r.stdin=e||r.stdin,r.stdout=t||r.stdout,r.stderr=n||r.stderr,Ke.createStandardStreams()},quit(){Ke.init.initialized=!1;const e=r._fflush;e&&e(0);for(let e=0;e<Ke.streams.length;e++){const t=Ke.streams[e];t&&Ke.close(t)}},getMode(e,t){let r=0;return e&&(r|=365),t&&(r|=146),r},findObject(e,t){const r=Ke.analyzePath(e,t);return r.exists?r.object:null},analyzePath(e,t){try{e=(n=Ke.lookupPath(e,{follow:!t})).path}catch(e){}const r={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var n=Ke.lookupPath(e,{parent:!0});r.parentExists=!0,r.parentPath=n.path,r.parentObject=n.node,r.name=He.basename(e),n=Ke.lookupPath(e,{follow:!t}),r.exists=!0,r.path=n.path,r.object=n.node,r.name=n.node.name,r.isRoot="/"===n.path}catch(e){r.error=e.errno}return r},createPath(e,t,r,n){e="string"==typeof e?e:Ke.getPath(e);const o=t.split("/").reverse();for(;o.length;){const t=o.pop();if(t){var i=He.join2(e,t);try{Ke.mkdir(i)}catch(e){}e=i}}return i},createFile(e,t,r,n,o){const i=He.join2("string"==typeof e?e:Ke.getPath(e),t),a=Ke.getMode(n,o);return Ke.create(i,a)},createDataFile(e,t,r,n,o,i){const a=t?He.join2("string"==typeof e?e:Ke.getPath(e),t):e,s=Ke.getMode(n,o),A=Ke.create(a,s);if(r){if("string"==typeof r){const e=new Array(r.length);for(let t=0,n=r.length;t<n;++t)e[t]=r.charCodeAt(t);r=e}Ke.chmod(A,146|s);const e=Ke.open(A,577);Ke.write(e,r,0,r.length,0,i),Ke.close(e),Ke.chmod(A,s)}return A},createDevice(e,t,r,n){const o=He.join2("string"==typeof e?e:Ke.getPath(e),t),i=Ke.getMode(!!r,!!n);Ke.createDevice.major||(Ke.createDevice.major=64);const a=Ke.makedev(Ke.createDevice.major++,0);return Ke.registerDevice(a,{open(e){e.seekable=!1},close(e){n&&n.buffer&&n.buffer.length&&n(10)},read(e,t,n,o,i){let a=0;for(let e=0;e<o;e++){var s;try{s=r()}catch(e){throw new Ke.ErrnoError(29)}if(void 0===s&&0===a)throw new Ke.ErrnoError(6);if(null==s)break;a++,t[n+e]=s}return a&&(e.node.timestamp=Date.now()),a},write(e,t,r,o,i){for(var a=0;a<o;a++)try{n(t[r+a])}catch(e){throw new Ke.ErrnoError(29)}return o&&(e.node.timestamp=Date.now()),a}}),Ke.mkdev(o,i,a)},forceLoadFile(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!E)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=an(E(e.url),!0),e.usedBytes=e.contents.length}catch(e){throw new Ke.ErrnoError(29)}},createLazyFile(e,t,r,n,o){function i(){this.lengthKnown=!1,this.chunks=[]}if(i.prototype.get=function(e){if(e>this.length-1||e<0)return;const t=e%this.chunkSize,r=e/this.chunkSize|0;return this.getter(r)[t]},i.prototype.setDataGetter=function(e){this.getter=e},i.prototype.cacheLength=function(){const e=new XMLHttpRequest;if(e.open("HEAD",r,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error(`Couldn't load ${r}. Status: ${e.status}`);let t,n=Number(e.getResponseHeader("Content-length"));const o=(t=e.getResponseHeader("Accept-Ranges"))&&"bytes"===t,i=(t=e.getResponseHeader("Content-Encoding"))&&"gzip"===t;let a=1048576;o||(a=n);const s=this;s.setDataGetter((e=>{const t=e*a;let o=(e+1)*a-1;if(o=Math.min(o,n-1),void 0===s.chunks[e]&&(s.chunks[e]=function(e,t){if(e>t)throw new Error(`invalid range (${e}, ${t}) or no bytes requested!`);if(t>n-1)throw new Error(`only ${n} bytes available! programmer error!`);const o=new XMLHttpRequest;if(o.open("GET",r,!1),n!==a&&o.setRequestHeader("Range",`bytes=${e}-${t}`),"undefined"!=typeof Uint8Array&&(o.responseType="arraybuffer"),o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw new Error(`Couldn't load ${r}. Status: ${o.status}`);return void 0!==o.response?new Uint8Array(o.response||[]):an(o.responseText||"",!0)}(t,o)),void 0===s.chunks[e])throw new Error("doXHR failed!");return s.chunks[e]})),!i&&n||(a=n=1,n=this.getter(0).length,a=n,m("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!d)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";const e=new i;Object.defineProperties(e,{length:{get(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var a={isDevice:!1,contents:e}}else a={isDevice:!1,url:r};const s=Ke.createFile(e,t,a,n,o);a.contents?s.contents=a.contents:a.url&&(s.contents=null,s.url=a.url),Object.defineProperties(s,{usedBytes:{get(){return this.contents.length}}});const A={};return Object.keys(s.stream_ops).forEach((e=>{const t=s.stream_ops[e];A[e]=function(){return Ke.forceLoadFile(s),t.apply(null,arguments)}})),A.read=function(e,t,r,n,o){Ke.forceLoadFile(s);const{contents:i}=e.node;if(o>=i.length)return 0;const a=Math.min(i.length-o,n);if(T(a>=0),i.slice)for(var A=0;A<a;A++)t[r+A]=i[o+A];else for(A=0;A<a;A++)t[r+A]=i.get(o+A);return a},s.stream_ops=A,s},createPreloadedFile(e,t,n,o,i,a,s,A,c,g){Me.init();const d=t?Ye.resolve(He.join2(e,t)):e,u=he(`cp ${d}`);function l(n){function l(r){g&&g(),A||Ke.createDataFile(e,t,r,o,i,c),a&&a(),me(u)}let E=!1;r.preloadPlugins.forEach((e=>{E||e.canHandle(d)&&(e.handle(n,d,l,(()=>{s&&s(),me(u)})),E=!0)})),E||l(n)}Ie(u),"string"==typeof n?function(e,t,r,n){const o=n?"":he(`al ${e}`);f(e,(r=>{T(r,`Loading data file "${e}" failed (no arrayBuffer).`),t(new Uint8Array(r)),o&&me(o)}),(t=>{if(!r)throw`Loading data file "${e}" failed.`;r()})),o&&Ie(o)}(n,(e=>{l(e)}),s):l(n)},indexedDB:()=>window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,DB_NAME:()=>`EM_FS_${window.location.pathname}`,DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB(e,t,r){t=t||function(){},r=r||function(){};const n=Ke.indexedDB();try{var o=n.open(Ke.DB_NAME(),Ke.DB_VERSION)}catch(e){return r(e)}o.onupgradeneeded=function(){m("creating db");o.result.createObjectStore(Ke.DB_STORE_NAME)},o.onsuccess=function(){const n=o.result.transaction([Ke.DB_STORE_NAME],"readwrite"),i=n.objectStore(Ke.DB_STORE_NAME);let a=0,s=0;const A=e.length;function c(){0==s?t():r()}e.forEach((e=>{const t=i.put(Ke.analyzePath(e).object.contents,e);t.onsuccess=function(){a++,a+s==A&&c()},t.onerror=function(){s++,a+s==A&&c()}})),n.onerror=r},o.onerror=r},loadFilesFromDB(e,t,r){t=t||function(){},r=r||function(){};const n=Ke.indexedDB();try{var o=n.open(Ke.DB_NAME(),Ke.DB_VERSION)}catch(e){return r(e)}o.onupgradeneeded=r,o.onsuccess=function(){const n=o.result;try{var i=n.transaction([Ke.DB_STORE_NAME],"readonly")}catch(e){return void r(e)}const a=i.objectStore(Ke.DB_STORE_NAME);let s=0,A=0;const c=e.length;function g(){0==A?t():r()}e.forEach((e=>{const t=a.get(e);t.onsuccess=function(){Ke.analyzePath(e).exists&&Ke.unlink(e),Ke.createDataFile(He.dirname(e),He.basename(e),t.result,!0,!0,!0),s++,s+A==c&&g()},t.onerror=function(){A++,s+A==c&&g()}})),i.onerror=r},o.onerror=r},absolutePath(){Ce("FS.absolutePath has been removed; use PATH_FS.resolve instead")},createFolder(){Ce("FS.createFolder has been removed; use FS.mkdir instead")},createLink(){Ce("FS.createLink has been removed; use FS.symlink instead")},joinPath(){Ce("FS.joinPath has been removed; use PATH.join instead")},mmapAlloc(){Ce("FS.mmapAlloc has been replaced by the top level function mmapAlloc")},standardizePath(){Ce("FS.standardizePath has been removed; use PATH.normalize instead")}},Je={mappings:{},DEFAULT_POLLMASK:5,umask:511,calculateAt(e,t,r){if("/"===t[0])return t;let n;if(-100===e)n=Ke.cwd();else{const t=Ke.getStream(e);if(!t)throw new Ke.ErrnoError(8);n=t.path}if(0==t.length){if(!r)throw new Ke.ErrnoError(44);return n}return He.join2(n,t)},doStat(e,t,r){try{var n=e(t)}catch(e){if(e&&e.node&&He.normalize(t)!==He.normalize(Ke.getPath(e.node)))return-54;throw e}return K[r>>2]=n.dev,K[r+4>>2]=0,K[r+8>>2]=n.ino,K[r+12>>2]=n.mode,K[r+16>>2]=n.nlink,K[r+20>>2]=n.uid,K[r+24>>2]=n.gid,K[r+28>>2]=n.rdev,K[r+32>>2]=0,De=[n.size>>>0,(Be=n.size,+Math.abs(Be)>=1?Be>0?(0|Math.min(+Math.floor(Be/4294967296),4294967295))>>>0:~~+Math.ceil((Be-+(~~Be>>>0))/4294967296)>>>0:0)],K[r+40>>2]=De[0],K[r+44>>2]=De[1],K[r+48>>2]=4096,K[r+52>>2]=n.blocks,K[r+56>>2]=n.atime.getTime()/1e3|0,K[r+60>>2]=0,K[r+64>>2]=n.mtime.getTime()/1e3|0,K[r+68>>2]=0,K[r+72>>2]=n.ctime.getTime()/1e3|0,K[r+76>>2]=0,De=[n.ino>>>0,(Be=n.ino,+Math.abs(Be)>=1?Be>0?(0|Math.min(+Math.floor(Be/4294967296),4294967295))>>>0:~~+Math.ceil((Be-+(~~Be>>>0))/4294967296)>>>0:0)],K[r+80>>2]=De[0],K[r+84>>2]=De[1],0},doMsync(e,t,r,n,o){const i=W.slice(e,e+r);Ke.msync(t,i,o,r,n)},doMkdir:(e,t)=>("/"===(e=He.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),Ke.mkdir(e,t,0),0),doMknod(e,t,r){switch(61440&t){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return Ke.mknod(e,t,r),0},doReadlink(e,t,r){if(r<=0)return-28;const n=Ke.readlink(e),o=Math.min(r,F(n)),i=V[t+o];return S(n,t,r+1),V[t+o]=i,o},doAccess(e,t){if(-8&t)return-28;let r;if(r=Ke.lookupPath(e,{follow:!0}).node,!r)return-44;let n="";return 4&t&&(n+="r"),2&t&&(n+="w"),1&t&&(n+="x"),n&&Ke.nodePermissions(r,n)?-2:0},doDup(e,t,r){const n=Ke.getStream(r);return n&&Ke.close(n),Ke.open(e,t,0,r,r).fd},doReadv(e,t,r,n){let o=0;for(let i=0;i<r;i++){const r=K[t+8*i>>2],a=K[t+(8*i+4)>>2],s=Ke.read(e,V,r,a,n);if(s<0)return-1;if(o+=s,s<a)break}return o},doWritev(e,t,r,n){let o=0;for(let i=0;i<r;i++){const r=K[t+8*i>>2],a=K[t+(8*i+4)>>2],s=Ke.write(e,V,r,a,n);if(s<0)return-1;o+=s}return o},varargs:void 0,get(){T(null!=Je.varargs),Je.varargs+=4;return K[Je.varargs-4>>2]},getStr:e=>R(e),getStreamFromFD(e){const t=Ke.getStream(e);if(!t)throw new Ke.ErrnoError(8);return t},get64:(e,t)=>(T(e>=0?0===t:-1===t),e)};function Ze(e){if(void 0===e)return"_unknown";const t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=48&&t<=57?`_${e}`:e}function qe(e,t){return e=Ze(e),new Function("body",`return function ${e}() {\n "use strict"; return body.apply(this, arguments);\n};\n`)(t)}const et=[],tt=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function rt(){let e=0;for(let t=5;t<tt.length;++t)void 0!==tt[t]&&++e;return e}function nt(){for(let e=5;e<tt.length;++e)if(void 0!==tt[e])return tt[e];return null}function ot(e){switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:{const t=et.length?et.pop():tt.length;return tt[t]={refcount:1,value:e},t}}}function it(e,t){const r=qe(t,(function(e){this.name=t,this.message=e;const{stack:r}=new Error(e);void 0!==r&&(this.stack=`${this.toString()}\n${r.replace(/^Error(:[^\n]*)?\n/,"")}`)}));return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},r}let at;var st=void 0;function At(e){let t="",r=e;for(;W[r];)t+=st[W[r++]];return t}function ct(){return Object.keys(ft).length}function gt(){const e=[];for(const t in ft)ft.hasOwnProperty(t)&&e.push(ft[t]);return e}const dt=[];function ut(){for(;dt.length;){const e=dt.pop();e.$$.deleteScheduled=!1,e.delete()}}let lt;function Et(e){lt=e,dt.length&&lt&&lt(ut)}var ft={};let pt;function ht(e){throw new pt(e)}function It(e,t){for(void 0===t&&ht("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t}function mt(e){return e||ht(`Cannot use deleted val. handle = ${e}`),tt[e].value}const Ct={};function yt(e){const t=dn(e),r=At(t);return An(t),r}function _t(e,t){const r=Ct[e];return void 0===r&&ht(`${t} has unknown type ${yt(e)}`),r}function wt(e){}let Bt=!1;function Dt(e){e.count.value-=1;0===e.count.value&&function(e){e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)}(e)}function Ot(e){return"undefined"==typeof FinalizationGroup?(Ot=function(e){return e},e):(Bt=new FinalizationGroup((e=>{for(let t=e.next();!t.done;t=e.next()){const e=t.value;e.ptr?Dt(e):console.warn(`object already deleted: ${e.ptr}`)}})),wt=function(e){Bt.unregister(e.$$)},(Ot=function(e){return Bt.register(e,e.$$,e.$$),e})(e))}const bt={};function Qt(e){for(;e.length;){const t=e.pop();e.pop()(t)}}function Tt(e){return this.fromWireType(J[e>>2])}const vt={},Pt={};let Rt;function Mt(e){throw new Rt(e)}function St(e,t,r){function n(t){const n=r(t);n.length!==e.length&&Mt("Mismatched type converter count");for(let t=0;t<e.length;++t)Nt(e[t],n[t])}e.forEach((e=>{Pt[e]=t}));const o=new Array(t.length),i=[];let a=0;t.forEach(((e,t)=>{Ct.hasOwnProperty(e)?o[t]=Ct[e]:(i.push(e),vt.hasOwnProperty(e)||(vt[e]=[]),vt[e].push((()=>{o[t]=Ct[e],++a,a===i.length&&n(o)})))})),0===i.length&&n(o)}function Ft(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError(`Unknown type size: ${e}`)}}function Nt(e,t,r){if(r=r||{},!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");const{name:n}=t;if(e||ht(`type "${n}" must have a positive integer typeid pointer`),Ct.hasOwnProperty(e)){if(r.ignoreDuplicateRegistrations)return;ht(`Cannot register type '${n}' twice`)}if(Ct[e]=t,delete Pt[e],vt.hasOwnProperty(e)){const t=vt[e];delete vt[e],t.forEach((e=>{e()}))}}function kt(e){if(!(this instanceof Gt))return!1;if(!(e instanceof Gt))return!1;let t=this.$$.ptrType.registeredClass,r=this.$$.ptr,n=e.$$.ptrType.registeredClass,o=e.$$.ptr;for(;t.baseClass;)r=t.upcast(r),t=t.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return t===n&&r===o}function xt(e){var t;ht(`${t=e,t.$$.ptrType.registeredClass.name} instance already deleted`)}function Ut(){if(this.$$.ptr||xt(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;const e=Ot(Object.create(Object.getPrototypeOf(this),{$$:{value:(t=this.$$,{count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType})}}));var t;return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e}function jt(){this.$$.ptr||xt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&ht("Object already scheduled for deletion"),wt(this),Dt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function Lt(){return!this.$$.ptr}function Ht(){return this.$$.ptr||xt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&ht("Object already scheduled for deletion"),dt.push(this),1===dt.length&&lt&&lt(ut),this.$$.deleteScheduled=!0,this}function Gt(){}const Yt={};function Xt(e,t,r){if(void 0===e[t].overloadTable){const n=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||ht(`Function '${r}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[arguments.length].apply(this,arguments)},e[t].overloadTable=[],e[t].overloadTable[n.argCount]=n}}function Vt(e,t,n){r.hasOwnProperty(e)?((void 0===n||void 0!==r[e].overloadTable&&void 0!==r[e].overloadTable[n])&&ht(`Cannot register public name '${e}' twice`),Xt(r,e,e),r.hasOwnProperty(n)&&ht(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),r[e].overloadTable[n]=t):(r[e]=t,void 0!==n&&(r[e].numArguments=n))}function Wt(e,t,r,n,o,i,a,s){this.name=e,this.constructor=t,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}function zt(e,t,r){for(;t!==r;)t.upcast||ht(`Expected null or instance of ${r.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e}function $t(e,t){if(null===t)return this.isReference&&ht(`null is not a valid ${this.name}`),0;t.$$||ht(`Cannot pass "${fr(t)}" as a ${this.name}`),t.$$.ptr||ht(`Cannot pass deleted object as a pointer of type ${this.name}`);const r=t.$$.ptrType.registeredClass;return zt(t.$$.ptr,r,this.registeredClass)}function Kt(e,t){let r;if(null===t)return this.isReference&&ht(`null is not a valid ${this.name}`),this.isSmartPointer?(r=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,r),r):0;t.$$||ht(`Cannot pass "${fr(t)}" as a ${this.name}`),t.$$.ptr||ht(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&ht(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);const n=t.$$.ptrType.registeredClass;if(r=zt(t.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===t.$$.smartPtr&&ht("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?r=t.$$.smartPtr:ht(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:r=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)r=t.$$.smartPtr;else{const n=t.clone();r=this.rawShare(r,ot((()=>{n.delete()}))),null!==e&&e.push(this.rawDestructor,r)}break;default:ht("Unsupporting sharing policy")}return r}function Jt(e,t){if(null===t)return this.isReference&&ht(`null is not a valid ${this.name}`),0;t.$$||ht(`Cannot pass "${fr(t)}" as a ${this.name}`),t.$$.ptr||ht(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&ht(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);const r=t.$$.ptrType.registeredClass;return zt(t.$$.ptr,r,this.registeredClass)}function Zt(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e}function qt(e){this.rawDestructor&&this.rawDestructor(e)}function er(e){null!==e&&e.delete()}function tr(e,t,r){if(t===r)return e;if(void 0===r.baseClass)return null;const n=tr(e,t,r.baseClass);return null===n?null:r.downcast(n)}function rr(e,t){t.ptrType&&t.ptr||Mt("makeClassHandle requires ptr and ptrType");return!!t.smartPtrType!==!!t.smartPtr&&Mt("Both smartPtrType and smartPtr must be specified"),t.count={value:1},Ot(Object.create(e,{$$:{value:t}}))}function nr(e){const t=this.getPointee(e);if(!t)return this.destructor(e),null;const r=function(e,t){return t=It(e,t),ft[t]}(this.registeredClass,t);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=t,r.$$.smartPtr=e,r.clone();const n=r.clone();return this.destructor(e),n}function n(){return this.isSmartPointer?rr(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):rr(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}const o=this.registeredClass.getActualType(t),i=Yt[o];if(!i)return n.call(this);let a;a=this.isConst?i.constPointerType:i.pointerType;const s=tr(t,this.registeredClass,a.registeredClass);return null===s?n.call(this):this.isSmartPointer?rr(a.registeredClass.instancePrototype,{ptrType:a,ptr:s,smartPtrType:this,smartPtr:e}):rr(a.registeredClass.instancePrototype,{ptrType:a,ptr:s})}function or(e,t,r,n,o,i,a,s,A,c,g){this.name=e,this.registeredClass=t,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=A,this.rawShare=c,this.rawDestructor=g,o||void 0!==t.baseClass?this.toWireType=Kt:n?(this.toWireType=$t,this.destructorFunction=null):(this.toWireType=Jt,this.destructorFunction=null)}function ir(e,t,n){r.hasOwnProperty(e)||Mt("Replacing nonexistant public symbol"),void 0!==r[e].overloadTable&&void 0!==n?r[e].overloadTable[n]=t:(r[e]=t,r[e].argCount=n)}function ar(e,t,n){return e.includes("j")?function(e,t,n){T(`dynCall_${e}`in r,`bad function pointer type - no table for sig '${e}'`),n&&n.length?T(n.length===e.substring(1).replace(/j/g,"--").length):T(1==e.length);const o=r[`dynCall_${e}`];return n&&n.length?o.apply(null,[t].concat(n)):o.call(null,t)}(e,t,n):(T(ne.get(t),`missing table entry in dynCall: ${t}`),ne.get(t).apply(null,n))}function sr(e,t){const r=(e=At(e)).includes("j")?function(e,t){T(e.includes("j"),"getDynCaller should only be called with i64 sigs");const r=[];return function(){r.length=arguments.length;for(let e=0;e<arguments.length;e++)r[e]=arguments[e];return ar(e,t,r)}}(e,t):ne.get(t);return"function"!=typeof r&&ht(`unknown function pointer with signature ${e}: ${t}`),r}let Ar;function cr(e,t){const r=[],n={};throw t.forEach((function e(t){n[t]||Ct[t]||(Pt[t]?Pt[t].forEach(e):(r.push(t),n[t]=!0))})),new Ar(`${e}: ${r.map(yt).join([", "])}`)}function gr(e,t){if(!(e instanceof Function))throw new TypeError(`new_ called with constructor type ${typeof e} which is not a function`);const r=qe(e.name||"unknownFunctionName",(()=>{}));r.prototype=e.prototype;const n=new r,o=e.apply(n,t);return o instanceof Object?o:n}function dr(e,t,r,n,o){const i=t.length;i<2&&ht("argTypes array size mismatch! Must at least get return value and 'this' types!");const a=null!==t[1]&&null!==r;let s=!1;for(var A=1;A<t.length;++A)if(null!==t[A]&&void 0===t[A].destructorFunction){s=!0;break}const c="void"!==t[0].name;let g="",d="";for(A=0;A<i-2;++A)g+=`${0!==A?", ":""}arg${A}`,d+=`${0!==A?", ":""}arg${A}Wired`;let u=`return function ${Ze(e)}(${g}) {\nif (arguments.length !== ${i-2}) {\nthrowBindingError('function ${e} called with ' + arguments.length + ' arguments, expected ${i-2} args!');\n}\n`;s&&(u+="var destructors = [];\n");const l=s?"destructors":"null",E=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],f=[ht,n,o,Qt,t[0],t[1]];a&&(u+=`var thisWired = classParam.toWireType(${l}, this);\n`);for(A=0;A<i-2;++A)u+=`var arg${A}Wired = argType${A}.toWireType(${l}, arg${A}); // ${t[A+2].name}\n`,E.push(`argType${A}`),f.push(t[A+2]);if(a&&(d=`thisWired${d.length>0?", ":""}${d}`),u+=`${c?"var rv = ":""}invoker(fn${d.length>0?", ":""}${d});\n`,s)u+="runDestructors(destructors);\n";else for(A=a?1:2;A<t.length;++A){const e=1===A?"thisWired":`arg${A-2}Wired`;null!==t[A].destructorFunction&&(u+=`${e}_dtor(${e}); // ${t[A].name}\n`,E.push(`${e}_dtor`),f.push(t[A].destructorFunction))}c&&(u+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),u+="}\n",E.push(u);return gr(Function,E).apply(null,f)}function ur(e,t){const r=[];for(let n=0;n<e;n++)r.push(K[(t>>2)+n]);return r}function lr(e,t,r){return e instanceof Object||ht(`${r} with invalid "this": ${e}`),e instanceof t.registeredClass.constructor||ht(`${r} incompatible with "this" of type ${e.constructor.name}`),e.$$.ptr||ht(`cannot call emscripten binding method ${r} on deleted object`),zt(e.$$.ptr,e.$$.ptrType.registeredClass,t.registeredClass)}function Er(e){e>4&&0==--tt[e].refcount&&(tt[e]=void 0,et.push(e))}function fr(e){if(null===e)return"null";const t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():`${e}`}function pr(e,t){switch(t){case 2:return function(e){return this.fromWireType(Z[e>>2])};case 3:return function(e){return this.fromWireType(q[e>>3])};default:throw new TypeError(`Unknown float type: ${e}`)}}function hr(e,t,r){switch(t){case 0:return r?function(e){return V[e]}:function(e){return W[e]};case 1:return r?function(e){return z[e>>1]}:function(e){return $[e>>1]};case 2:return r?function(e){return K[e>>2]}:function(e){return J[e>>2]};default:throw new TypeError(`Unknown integer type: ${e}`)}}const Ir={};const mr=[];const Cr=[];function yr(e){try{return O.grow(e-X.byteLength+65535>>>16),ee(O.buffer),1}catch(t){C(`emscripten_realloc_buffer: Attempted to grow heap from ${X.byteLength} bytes to ${e} bytes, but got error: ${t}`)}}function _r(e){Ce("Cannot use emscripten_generate_pc (needed by __builtin_return_address) without -s USE_OFFSET_CONVERTER")}const wr={};function Br(e){e.forEach((e=>{const t=_r();t&&(wr[t]=e)}))}var Dr={counter:1,buffers:[],mappedBuffers:{},programs:[],framebuffers:[],renderbuffers:[],textures:[],shaders:[],vaos:[],contexts:[],offscreenCanvases:{},queries:[],samplers:[],transformFeedbacks:[],syncs:[],byteSizeByTypeRoot:5120,byteSizeByType:[1,1,2,2,4,4,4,2,3,4,8],stringCache:{},stringiCache:{},unpackAlignment:4,recordError:function(e){Dr.lastError||(Dr.lastError=e)},getNewId(e){const t=Dr.counter++;for(let r=e.length;r<t;r++)e[r]=null;return t},MAX_TEMP_BUFFER_SIZE:2097152,numTempVertexBuffersPerSize:64,log2ceilLookup:e=>32-Math.clz32(0===e?0:e-1),generateTempBuffers(e,t){const r=Dr.log2ceilLookup(Dr.MAX_TEMP_BUFFER_SIZE);t.tempVertexBufferCounters1=[],t.tempVertexBufferCounters2=[],t.tempVertexBufferCounters1.length=t.tempVertexBufferCounters2.length=r+1,t.tempVertexBuffers1=[],t.tempVertexBuffers2=[],t.tempVertexBuffers1.length=t.tempVertexBuffers2.length=r+1,t.tempIndexBuffers=[],t.tempIndexBuffers.length=r+1;for(var n=0;n<=r;++n){t.tempIndexBuffers[n]=null,t.tempVertexBufferCounters1[n]=t.tempVertexBufferCounters2[n]=0;const e=Dr.numTempVertexBuffersPerSize;t.tempVertexBuffers1[n]=[],t.tempVertexBuffers2[n]=[];const r=t.tempVertexBuffers1[n],o=t.tempVertexBuffers2[n];r.length=o.length=e;for(let t=0;t<e;++t)r[t]=o[t]=null}if(e){t.tempQuadIndexBuffer=tn.createBuffer(),t.GLctx.bindBuffer(34963,t.tempQuadIndexBuffer);const e=Dr.MAX_TEMP_BUFFER_SIZE>>1,r=new Uint16Array(e);n=0;let o=0;for(;!(r[n++]=o,n>=e||(r[n++]=o+1,n>=e)||(r[n++]=o+2,n>=e)||(r[n++]=o,n>=e)||(r[n++]=o+2,n>=e)||(r[n++]=o+3,n>=e));)o+=4;t.GLctx.bufferData(34963,r,35044),t.GLctx.bindBuffer(34963,null)}},getTempVertexBuffer:function(e){const t=Dr.log2ceilLookup(e),r=Dr.currentContext.tempVertexBuffers1[t],n=Dr.currentContext.tempVertexBufferCounters1[t];Dr.currentContext.tempVertexBufferCounters1[t]=Dr.currentContext.tempVertexBufferCounters1[t]+1&Dr.numTempVertexBuffersPerSize-1;const o=r[n];if(o)return o;const i=tn.getParameter(34964);return r[n]=tn.createBuffer(),tn.bindBuffer(34962,r[n]),tn.bufferData(34962,1<<t,35048),tn.bindBuffer(34962,i),r[n]},getTempIndexBuffer:function(e){const t=Dr.log2ceilLookup(e),r=Dr.currentContext.tempIndexBuffers[t];if(r)return r;const n=tn.getParameter(34965);return Dr.currentContext.tempIndexBuffers[t]=tn.createBuffer(),tn.bindBuffer(34963,Dr.currentContext.tempIndexBuffers[t]),tn.bufferData(34963,1<<t,35048),tn.bindBuffer(34963,n),Dr.currentContext.tempIndexBuffers[t]},newRenderingFrameStarted:function(){if(!Dr.currentContext)return;let e=Dr.currentContext.tempVertexBuffers1;Dr.currentContext.tempVertexBuffers1=Dr.currentContext.tempVertexBuffers2,Dr.currentContext.tempVertexBuffers2=e,e=Dr.currentContext.tempVertexBufferCounters1,Dr.currentContext.tempVertexBufferCounters1=Dr.currentContext.tempVertexBufferCounters2,Dr.currentContext.tempVertexBufferCounters2=e;const t=Dr.log2ceilLookup(Dr.MAX_TEMP_BUFFER_SIZE);for(let e=0;e<=t;++e)Dr.currentContext.tempVertexBufferCounters1[e]=0},getSource(e,t,r,n){let o="";for(let e=0;e<t;++e){const t=n?K[n+4*e>>2]:-1;o+=R(K[r+4*e>>2],t<0?void 0:t)}return o},calcBufLength:function(e,t,r,n){if(r>0)return n*r;return e*Dr.byteSizeByType[t-Dr.byteSizeByTypeRoot]*n},usedTempBuffers:[],preDrawHandleClientVertexAttribBindings:function(e){Dr.resetBufferBinding=!1;for(let t=0;t<Dr.currentContext.maxVertexAttribs;++t){const r=Dr.currentContext.clientBuffers[t];if(!r.clientside||!r.enabled)continue;Dr.resetBufferBinding=!0;const n=Dr.calcBufLength(r.size,r.type,r.stride,e),o=Dr.getTempVertexBuffer(n);tn.bindBuffer(34962,o),tn.bufferSubData(34962,0,W.subarray(r.ptr,r.ptr+n)),r.vertexAttribPointerAdaptor.call(tn,t,r.size,r.type,r.normalized,r.stride,0)}},postDrawHandleClientVertexAttribBindings:function(){Dr.resetBufferBinding&&tn.bindBuffer(34962,Dr.buffers[tn.currentArrayBufferBinding])},createContext(e,t){t.renderViaOffscreenBackBuffer&&(t.preserveDrawingBuffer=!0);const r=t.majorVersion>1?e.getContext("webgl2",t):e.getContext("webgl",t);if(!r)return 0;return Dr.registerContext(r,t)},enableOffscreenFramebufferAttributes(e){e.renderViaOffscreenBackBuffer=!0,e.preserveDrawingBuffer=!0},createOffscreenFramebuffer(e){const t=e.GLctx,r=t.createFramebuffer();if(t.bindFramebuffer(36160,r),e.defaultFbo=r,e.defaultFboForbidBlitFramebuffer=!1,t.getContextAttributes().antialias)e.defaultFboForbidBlitFramebuffer=!0;else{const t=navigator.userAgent.toLowerCase().match(/firefox\/(\d\d)/);if(null!=t){const r=t[1];e.defaultFboForbidBlitFramebuffer=r<67}}e.defaultColorTarget=t.createTexture(),e.defaultDepthTarget=t.createRenderbuffer(),Dr.resizeOffscreenFramebuffer(e),t.bindTexture(3553,e.defaultColorTarget),t.texParameteri(3553,10241,9728),t.texParameteri(3553,10240,9728),t.texParameteri(3553,10242,33071),t.texParameteri(3553,10243,33071),t.texImage2D(3553,0,6408,t.canvas.width,t.canvas.height,0,6408,5121,null),t.framebufferTexture2D(36160,36064,3553,e.defaultColorTarget,0),t.bindTexture(3553,null);t.createRenderbuffer();t.bindRenderbuffer(36161,e.defaultDepthTarget),t.renderbufferStorage(36161,33189,t.canvas.width,t.canvas.height),t.framebufferRenderbuffer(36160,36096,36161,e.defaultDepthTarget),t.bindRenderbuffer(36161,null);const n=t.createBuffer();t.bindBuffer(34962,n),t.bufferData(34962,new Float32Array([-1,-1,-1,1,1,-1,1,1]),35044),t.bindBuffer(34962,null),e.blitVB=n;const o=t.createShader(35633);t.shaderSource(o,"attribute vec2 pos;varying lowp vec2 tex;void main() { tex = pos * 0.5 + vec2(0.5,0.5); gl_Position = vec4(pos, 0.0, 1.0); }"),t.compileShader(o);const i=t.createShader(35632);t.shaderSource(i,"varying lowp vec2 tex;uniform sampler2D sampler;void main() { gl_FragColor = texture2D(sampler, tex); }"),t.compileShader(i);const a=t.createProgram();t.attachShader(a,o),t.attachShader(a,i),t.linkProgram(a),e.blitProgram=a,e.blitPosLoc=t.getAttribLocation(a,"pos"),t.useProgram(a),t.uniform1i(t.getUniformLocation(a,"sampler"),0),t.useProgram(null),e.defaultVao=void 0,t.createVertexArray&&(e.defaultVao=t.createVertexArray(),t.bindVertexArray(e.defaultVao),t.enableVertexAttribArray(e.blitPosLoc),t.bindVertexArray(null))},resizeOffscreenFramebuffer(e){const t=e.GLctx;if(e.defaultColorTarget){const r=t.getParameter(32873);t.bindTexture(3553,e.defaultColorTarget),t.texImage2D(3553,0,6408,t.drawingBufferWidth,t.drawingBufferHeight,0,6408,5121,null),t.bindTexture(3553,r)}if(e.defaultDepthTarget){const r=t.getParameter(36007);t.bindRenderbuffer(36161,e.defaultDepthTarget),t.renderbufferStorage(36161,33189,t.drawingBufferWidth,t.drawingBufferHeight),t.bindRenderbuffer(36161,r)}},blitOffscreenFramebuffer(e){const t=e.GLctx,r=t.getParameter(3089);r&&t.disable(3089);const n=t.getParameter(36006);if(t.blitFramebuffer&&!e.defaultFboForbidBlitFramebuffer)t.bindFramebuffer(36008,e.defaultFbo),t.bindFramebuffer(36009,null),t.blitFramebuffer(0,0,t.canvas.width,t.canvas.height,0,0,t.canvas.width,t.canvas.height,16384,9728);else{let r=function(){t.vertexAttribPointer(e.blitPosLoc,2,5126,!1,0,0),t.drawArrays(5,0,4)};t.bindFramebuffer(36160,null);const n=t.getParameter(35725);t.useProgram(e.blitProgram);const a=t.getParameter(34964);t.bindBuffer(34962,e.blitVB);const s=t.getParameter(34016);t.activeTexture(33984);const A=t.getParameter(32873);t.bindTexture(3553,e.defaultColorTarget);const c=t.getParameter(3042);c&&t.disable(3042);const g=t.getParameter(2884);g&&t.disable(2884);const d=t.getParameter(2929);d&&t.disable(2929);const u=t.getParameter(2960);if(u&&t.disable(2960),e.defaultVao){const n=t.getParameter(34229);t.bindVertexArray(e.defaultVao),r(),t.bindVertexArray(n)}else{const n={buffer:t.getVertexAttrib(e.blitPosLoc,34975),size:t.getVertexAttrib(e.blitPosLoc,34339),stride:t.getVertexAttrib(e.blitPosLoc,34340),type:t.getVertexAttrib(e.blitPosLoc,34341),normalized:t.getVertexAttrib(e.blitPosLoc,34922),pointer:t.getVertexAttribOffset(e.blitPosLoc,34373)},a=t.getParameter(34921),s=[];for(var o=0;o<a;++o){var i=t.getVertexAttrib(o,34338);const r=o==e.blitPosLoc;i&&!r&&t.disableVertexAttribArray(o),!i&&r&&t.enableVertexAttribArray(o),s[o]=i}r();for(o=0;o<a;++o){i=s[o];const r=o==e.blitPosLoc;i&&!r&&t.enableVertexAttribArray(o),!i&&r&&t.disableVertexAttribArray(o)}t.bindBuffer(34962,n.buffer),t.vertexAttribPointer(e.blitPosLoc,n.size,n.type,n.normalized,n.stride,n.offset)}u&&t.enable(2960),d&&t.enable(2929),g&&t.enable(2884),c&&t.enable(3042),t.bindTexture(3553,A),t.activeTexture(s),t.bindBuffer(34962,a),t.useProgram(n)}t.bindFramebuffer(36160,n),r&&t.enable(3089)},registerContext(e,t){const r=Dr.getNewId(Dr.contexts),n={handle:r,attributes:t,version:t.majorVersion,GLctx:e};e.canvas&&(e.canvas.GLctxObject=n),Dr.contexts[r]=n,(void 0===t.enableExtensionsByDefault||t.enableExtensionsByDefault)&&Dr.initExtensions(n),n.maxVertexAttribs=n.GLctx.getParameter(34921),n.clientBuffers=[];for(let e=0;e<n.maxVertexAttribs;e++)n.clientBuffers[e]={enabled:!1,clientside:!1,size:0,type:0,normalized:0,stride:0,ptr:0,vertexAttribPointerAdaptor:null};return Dr.generateTempBuffers(!1,n),t.renderViaOffscreenBackBuffer&&Dr.createOffscreenFramebuffer(n),r},makeContextCurrent:e=>(Dr.currentContext=Dr.contexts[e],r.ctx=tn=Dr.currentContext&&Dr.currentContext.GLctx,!(e&&!tn)),getContext:e=>Dr.contexts[e],deleteContext(e){Dr.currentContext===Dr.contexts[e]&&(Dr.currentContext=null),"object"==typeof Or&&Or.removeAllHandlersOnTarget(Dr.contexts[e].GLctx.canvas),Dr.contexts[e]&&Dr.contexts[e].GLctx.canvas&&(Dr.contexts[e].GLctx.canvas.GLctxObject=void 0),Dr.contexts[e]=null},initExtensions(e){if(e||(e=Dr.currentContext),e.initExtensionsDone)return;e.initExtensionsDone=!0;const{GLctx:t}=e;var r;!function(e){const t=e.getExtension("ANGLE_instanced_arrays");if(t)e.vertexAttribDivisor=function(e,r){t.vertexAttribDivisorANGLE(e,r)},e.drawArraysInstanced=function(e,r,n,o){t.drawArraysInstancedANGLE(e,r,n,o)},e.drawElementsInstanced=function(e,r,n,o,i){t.drawElementsInstancedANGLE(e,r,n,o,i)}}(t),function(e){const t=e.getExtension("OES_vertex_array_object");if(t)e.createVertexArray=function(){return t.createVertexArrayOES()},e.deleteVertexArray=function(e){t.deleteVertexArrayOES(e)},e.bindVertexArray=function(e){t.bindVertexArrayOES(e)},e.isVertexArray=function(e){return t.isVertexArrayOES(e)}}(t),function(e){const t=e.getExtension("WEBGL_draw_buffers");if(t)e.drawBuffers=function(e,r){t.drawBuffersWEBGL(e,r)}}(t),(r=t).dibvbi=r.getExtension("WEBGL_draw_instanced_base_vertex_base_instance"),function(e){e.mdibvbi=e.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance")}(t),e.version>=2&&(t.disjointTimerQueryExt=t.getExtension("EXT_disjoint_timer_query_webgl2")),(e.version<2||!t.disjointTimerQueryExt)&&(t.disjointTimerQueryExt=t.getExtension("EXT_disjoint_timer_query")),function(e){e.multiDrawWebgl=e.getExtension("WEBGL_multi_draw")}(t);(t.getSupportedExtensions()||[]).forEach((e=>{e.includes("lose_context")||e.includes("debug")||t.getExtension(e)}))}},Or={inEventHandler:0,removeAllEventListeners(){for(let e=Or.eventHandlers.length-1;e>=0;--e)Or._removeHandler(e);Or.eventHandlers=[],Or.deferredCalls=[]},registerRemoveEventListeners(){Or.removeEventListenersRegistered||(Ae.push(Or.removeAllEventListeners),Or.removeEventListenersRegistered=!0)},deferredCalls:[],deferCall(e,t,r){function n(e,t){if(e.length!=t.length)return!1;for(const r in e)if(e[r]!=t[r])return!1;return!0}for(const t in Or.deferredCalls){const o=Or.deferredCalls[t];if(o.targetFunction==e&&n(o.argsList,r))return}Or.deferredCalls.push({targetFunction:e,precedence:t,argsList:r}),Or.deferredCalls.sort(((e,t)=>e.precedence<t.precedence))},removeDeferredCalls(e){for(let t=0;t<Or.deferredCalls.length;++t)Or.deferredCalls[t].targetFunction==e&&(Or.deferredCalls.splice(t,1),--t)},canPerformEventHandlerRequests:()=>Or.inEventHandler&&Or.currentEventHandler.allowsDeferredCalls,runDeferredCalls(){if(Or.canPerformEventHandlerRequests())for(let e=0;e<Or.deferredCalls.length;++e){const t=Or.deferredCalls[e];Or.deferredCalls.splice(e,1),--e,t.targetFunction.apply(null,t.argsList)}},eventHandlers:[],removeAllHandlersOnTarget(e,t){for(let r=0;r<Or.eventHandlers.length;++r)Or.eventHandlers[r].target!=e||t&&t!=Or.eventHandlers[r].eventTypeString||Or._removeHandler(r--)},_removeHandler(e){const t=Or.eventHandlers[e];t.target.removeEventListener(t.eventTypeString,t.eventListenerFunc,t.useCapture),Or.eventHandlers.splice(e,1)},registerOrRemoveHandler(e){const t=function(t){++Or.inEventHandler,Or.currentEventHandler=e,Or.runDeferredCalls(),e.handlerFunc(t),Or.runDeferredCalls(),--Or.inEventHandler};if(e.callbackfunc)e.eventListenerFunc=t,e.target.addEventListener(e.eventTypeString,t,e.useCapture),Or.eventHandlers.push(e),Or.registerRemoveEventListeners();else for(let t=0;t<Or.eventHandlers.length;++t)Or.eventHandlers[t].target==e.target&&Or.eventHandlers[t].eventTypeString==e.eventTypeString&&Or._removeHandler(t--)},getNodeNameForTarget:e=>e?e==window?"#window":e==screen?"#screen":e&&e.nodeName?e.nodeName:"":"",fullscreenEnabled:()=>document.fullscreenEnabled||document.webkitFullscreenEnabled};const br=["default","low-power","high-performance"],Qr=[0,"undefined"!=typeof document?document:0,"undefined"!=typeof window?window:0];function Tr(e){return"number"==typeof e&&(e=R(e)),e&&"#canvas"!==e?void 0!==Dr&&Dr.offscreenCanvases[e]?Dr.offscreenCanvases[e]:function(e){y("Rules for selecting event targets in HTML5 API are changing: instead of using document.getElementById() that only can refer to elements by their DOM ID, new event target selection mechanism uses the more flexible function document.querySelector() that can look up element names, classes, and complex CSS selectors. Build with -s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1 to change to the new lookup rules. See https://github.com/emscripten-core/emscripten/pull/7977 for more details.");try{return e?("number"==typeof e&&(e=Qr[e]||R(e)),"#window"===e?window:"#document"===e?document:"#screen"===e?screen:"#canvas"===e?r.canvas:"string"==typeof e?document.getElementById(e):e):window}catch(e){return null}}(e):void 0!==Dr&&Dr.offscreenCanvases.canvas?Dr.offscreenCanvases.canvas:r.canvas}function vr(){return Dr.currentContext?Dr.currentContext.handle:0}function Pr(e){return Dr.makeContextCurrent(e)?0:-5}r._emscripten_webgl_get_current_context=vr,r._emscripten_webgl_make_context_current=Pr;const Rr={};function Mr(){if(!Mr.strings){const t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:`${("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")}.UTF-8`,_:A||"./this.program"};for(var e in Rr)void 0===Rr[e]?delete t[e]:t[e]=Rr[e];const r=[];for(var e in t)r.push(`${e}=${t[e]}`);Mr.strings=r}return Mr.strings}const Sr=[];function Fr(e,t,r,n){for(let o=0;o<e;o++){const e=tn[r](),i=e&&Dr.getNewId(n);e?(e.name=i,n[i]=e):Dr.recordError(1282),K[t+4*o>>2]=i}}function Nr(e,t){J[e>>2]=t,J[e+4>>2]=(t-J[e>>2])/4294967296;const r=t>=0?function(e){return J[e>>2]+4294967296*J[e+4>>2]}(e):function(e){return J[e>>2]+4294967296*K[e+4>>2]}(e);r!=t&&y(`writeI53ToI64() out of range: serialized JS Number ${t} to Wasm heap as bytes lo=0x${J[e>>2].toString(16)}, hi=0x${J[e+4>>2].toString(16)}, which deserializes back to ${r} instead!`)}function kr(e){const t=F(e)+1,r=cn(t);return S(e,r,t),r}function xr(e){return"]"==e.slice(-1)&&e.lastIndexOf("[")}function Ur(e){return 0==(e-=5120)?V:1==e?W:2==e?z:4==e?K:6==e?Z:5==e||28922==e||28520==e||30779==e||30782==e?J:$}function jr(e){return 31-Math.clz32(e.BYTES_PER_ELEMENT)}function Lr(e,t,r,n,o,i){const a=Ur(e),s=jr(a),A=1<<s,c=function(e){return{5:3,6:4,8:2,29502:3,29504:4,26917:2,26918:2,29846:3,29847:4}[e-6402]||1}(t)*A,g=function(e,t,r,n){var o;return t*(e*r+(o=n)-1&-o)}(r,n,c,Dr.unpackAlignment);return a.subarray(o>>s,o+g>>s)}function Hr(e){const t=tn.currentProgram;if(t){let r=t.uniformLocsById[e];return"number"==typeof r&&(t.uniformLocsById[e]=r=tn.getUniformLocation(t,t.uniformArrayNamesById[e]+(r>0?`[${r}]`:""))),r}Dr.recordError(1282)}const Gr=[];const Yr=[];function Xr(){if(Xr.called)return;Xr.called=!0;const e=(new Date).getFullYear(),t=new Date(e,0,1),r=new Date(e,6,1),n=t.getTimezoneOffset(),o=r.getTimezoneOffset(),i=Math.max(n,o);function a(e){const t=e.toTimeString().match(/\(([A-Za-z ]+)\)$/);return t?t[1]:"GMT"}K[fn()>>2]=60*i,K[En()>>2]=Number(n!=o);const s=a(t),A=a(r),c=G(s),g=G(A);o<n?(K[ln()>>2]=c,K[ln()+4>>2]=g):(K[ln()>>2]=g,K[ln()+4>>2]=c)}function Vr(e){return e%4==0&&(e%100!=0||e%400==0)}function Wr(e,t){let r=0;for(let n=0;n<=t;r+=e[n++]);return r}const zr=[31,29,31,30,31,30,31,31,30,31,30,31],$r=[31,28,31,30,31,30,31,31,30,31,30,31];function Kr(e,t){const r=new Date(e.getTime());for(;t>0;){const e=Vr(r.getFullYear()),n=r.getMonth(),o=(e?zr:$r)[n];if(!(t>o-r.getDate()))return r.setDate(r.getDate()+t),r;t-=o-r.getDate()+1,r.setDate(1),n<11?r.setMonth(n+1):(r.setMonth(0),r.setFullYear(r.getFullYear()+1))}return r}function Jr(e,t,r,n){const o=K[n+40>>2],i={tm_sec:K[n>>2],tm_min:K[n+4>>2],tm_hour:K[n+8>>2],tm_mday:K[n+12>>2],tm_mon:K[n+16>>2],tm_year:K[n+20>>2],tm_wday:K[n+24>>2],tm_yday:K[n+28>>2],tm_isdst:K[n+32>>2],tm_gmtoff:K[n+36>>2],tm_zone:o?R(o):""};let a=R(r);const s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var A in s)a=a.replace(new RegExp(A,"g"),s[A]);const c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],g=["January","February","March","April","May","June","July","August","September","October","November","December"];function d(e,t,r){let n="number"==typeof e?e.toString():e||"";for(;n.length<t;)n=r[0]+n;return n}function u(e,t){return d(e,t,"0")}function l(e,t){function r(e){return e<0?-1:e>0?1:0}let n;return 0===(n=r(e.getFullYear()-t.getFullYear()))&&0===(n=r(e.getMonth()-t.getMonth()))&&(n=r(e.getDate()-t.getDate())),n}function E(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function f(e){const t=Kr(new Date(e.tm_year+1900,0,1),e.tm_yday),r=new Date(t.getFullYear(),0,4),n=new Date(t.getFullYear()+1,0,4),o=E(r),i=E(n);return l(o,t)<=0?l(i,t)<=0?t.getFullYear()+1:t.getFullYear():t.getFullYear()-1}const p={"%a":e=>c[e.tm_wday].substring(0,3),"%A":e=>c[e.tm_wday],"%b":e=>g[e.tm_mon].substring(0,3),"%B":e=>g[e.tm_mon],"%C":e=>u((e.tm_year+1900)/100|0,2),"%d":e=>u(e.tm_mday,2),"%e":e=>d(e.tm_mday,2," "),"%g":e=>f(e).toString().substring(2),"%G":e=>f(e),"%H":e=>u(e.tm_hour,2),"%I"(e){let t=e.tm_hour;return 0==t?t=12:t>12&&(t-=12),u(t,2)},"%j":e=>u(e.tm_mday+Wr(Vr(e.tm_year+1900)?zr:$r,e.tm_mon-1),3),"%m":e=>u(e.tm_mon+1,2),"%M":e=>u(e.tm_min,2),"%n":()=>"\n","%p":e=>e.tm_hour>=0&&e.tm_hour<12?"AM":"PM","%S":e=>u(e.tm_sec,2),"%t":()=>"\t","%u":e=>e.tm_wday||7,"%U"(e){const t=new Date(e.tm_year+1900,0,1),r=0===t.getDay()?t:Kr(t,7-t.getDay()),n=new Date(e.tm_year+1900,e.tm_mon,e.tm_mday);if(l(r,n)<0){const e=Wr(Vr(n.getFullYear())?zr:$r,n.getMonth()-1)-31,t=31-r.getDate()+e+n.getDate();return u(Math.ceil(t/7),2)}return 0===l(r,t)?"01":"00"},"%V"(e){const t=new Date(e.tm_year+1900,0,4),r=new Date(e.tm_year+1901,0,4),n=E(t),o=E(r),i=Kr(new Date(e.tm_year+1900,0,1),e.tm_yday);if(l(i,n)<0)return"53";if(l(o,i)<=0)return"01";let a;return a=n.getFullYear()<e.tm_year+1900?e.tm_yday+32-n.getDate():e.tm_yday+1-n.getDate(),u(Math.ceil(a/7),2)},"%w":e=>e.tm_wday,"%W"(e){const t=new Date(e.tm_year,0,1),r=1===t.getDay()?t:Kr(t,0===t.getDay()?1:7-t.getDay()+1),n=new Date(e.tm_year+1900,e.tm_mon,e.tm_mday);if(l(r,n)<0){const e=Wr(Vr(n.getFullYear())?zr:$r,n.getMonth()-1)-31,t=31-r.getDate()+e+n.getDate();return u(Math.ceil(t/7),2)}return 0===l(r,t)?"01":"00"},"%y":e=>(e.tm_year+1900).toString().substring(2),"%Y":e=>e.tm_year+1900,"%z"(e){let t=e.tm_gmtoff;const r=t>=0;return t=Math.abs(t)/60,t=t/60*100+t%60,(r?"+":"-")+String(`0000${t}`).slice(-4)},"%Z":e=>e.tm_zone,"%%":()=>"%"};for(var A in p)a.includes(A)&&(a=a.replace(new RegExp(A,"g"),p[A](i)));const h=an(a,!1);return h.length>t?0:(Y(h,e),h.length-1)}r.requestFullscreen=function(e,t){Me.requestFullscreen(e,t)},r.requestFullScreen=function(){Me.requestFullScreen()},r.requestAnimationFrame=function(e){Me.requestAnimationFrame(e)},r.setCanvasSize=function(e,t,r){Me.setCanvasSize(e,t,r)},r.pauseMainLoop=function(){Me.mainLoop.pause()},r.resumeMainLoop=function(){Me.mainLoop.resume()},r.getUserMedia=function(){Me.getUserMedia()},r.createContext=function(e,t,r,n){return Me.createContext(e,t,r,n)};const Zr=function(e,t,r,n){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=Ke.nextInode++,this.name=t,this.mode=r,this.node_ops={},this.stream_ops={},this.rdev=n},qr=365,en=146;let tn;Object.defineProperties(Zr.prototype,{read:{get(){return(this.mode&qr)===qr},set(e){e?this.mode|=qr:this.mode&=-366}},write:{get(){return(this.mode&en)===en},set(e){e?this.mode|=en:this.mode&=-147}},isFolder:{get(){return Ke.isDir(this.mode)}},isDevice:{get(){return Ke.isChrdev(this.mode)}}}),Ke.FSNode=Zr,Ke.staticInit(),r.FS_createPath=Ke.createPath,r.FS_createDataFile=Ke.createDataFile,r.FS_createPreloadedFile=Ke.createPreloadedFile,r.FS_createLazyFile=Ke.createLazyFile,r.FS_createDevice=Ke.createDevice,r.FS_unlink=Ke.unlink,r.count_emval_handles=rt,r.get_first_emval=nt,at=r.PureVirtualError=it(Error,"PureVirtualError"),function(){const e=new Array(256);for(let t=0;t<256;++t)e[t]=String.fromCharCode(t);st=e}(),r.getInheritedInstanceCount=ct,r.getLiveInheritedInstances=gt,r.flushPendingDeletes=ut,r.setDelayFunction=Et,pt=r.BindingError=it(Error,"BindingError"),Rt=r.InternalError=it(Error,"InternalError"),Gt.prototype.isAliasOf=kt,Gt.prototype.clone=Ut,Gt.prototype.delete=jt,Gt.prototype.isDeleted=Lt,Gt.prototype.deleteLater=Ht,or.prototype.getPointee=Zt,or.prototype.destructor=qt,or.prototype.argPackAdvance=8,or.prototype.readValueFromPointer=Tt,or.prototype.deleteObject=er,or.prototype.fromWireType=nr,Ar=r.UnboundTypeError=it(Error,"UnboundTypeError");for(var rn=0;rn<32;++rn)Sr.push(new Array(rn));const nn=new Float32Array(288);for(rn=0;rn<288;++rn)Gr[rn]=nn.subarray(0,rn+1);const on=new Int32Array(288);for(rn=0;rn<288;++rn)Yr[rn]=on.subarray(0,rn+1);function an(e,t,r){const n=r>0?r:F(e)+1,o=new Array(n),i=M(e,o,0,o.length);return t&&(o.length=i),o}"function"==typeof atob&&atob;var sn={HaveOffsetConverter:function(){return"undefined"!=typeof wasmOffsetConverter},__cxa_allocate_exception:function(e){return cn(e+16)+16},__cxa_atexit:function(e,t){},__cxa_begin_catch:function(e){const t=new ke(e),r=t.get_exception_info();return r.get_caught()||r.set_caught(!0),r.set_rethrown(!1),xe.push(t),function(e){e.add_ref()}(r),t.get_exception_ptr()},__cxa_end_catch:function(){mn(0),T(xe.length>0);const e=xe.pop();!function(e){if(e.release_ref()&&!e.get_rethrown()){const t=e.get_destructor();t&&ne.get(t)(e.excPtr),je(e.excPtr)}}(e.get_exception_info()),e.free(),Ue=0},__cxa_find_matching_catch_2:function(){const e=Ue;if(!e)return w(0),0;const t=new Ne(e).get_type(),r=new ke;if(r.set_base_ptr(e),r.set_adjusted_ptr(e),!t)return w(0),0|r.ptr;const n=Array.prototype.slice.call(arguments);for(let e=0;e<n.length;e++){const o=n[e];if(0===o||o===t)break;if(Cn(o,t,r.get_adjusted_ptr_addr()))return w(o),0|r.ptr}return w(t),0|r.ptr},__cxa_find_matching_catch_3:function(){const e=Ue;if(!e)return w(0),0;const t=new Ne(e).get_type(),r=new ke;if(r.set_base_ptr(e),r.set_adjusted_ptr(e),!t)return w(0),0|r.ptr;const n=Array.prototype.slice.call(arguments);for(let e=0;e<n.length;e++){const o=n[e];if(0===o||o===t)break;if(Cn(o,t,r.get_adjusted_ptr_addr()))return w(o),0|r.ptr}return w(t),0|r.ptr},__cxa_free_exception:je,__cxa_rethrow:function(){const e=xe.pop();e||Ce("no exception to throw");const t=e.get_exception_info(),r=e.get_base_ptr();throw t.get_rethrown()?e.free():(xe.push(e),t.set_rethrown(!0),t.set_caught(!1)),Ue=r,`${r} - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch.`},__cxa_thread_atexit:function(e,t){},__cxa_throw:function(e,t,r){throw new Ne(e).init(t,r),Ue=e,`${e} - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch.`},__resumeException:function(e){const t=new ke(e),r=t.get_base_ptr();throw Ue||(Ue=r),t.free(),`${r} - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch.`},__sys_fcntl64:function(e,t,r){Je.varargs=r;try{const r=Je.getStreamFromFD(e);switch(t){case 0:{if((n=Je.get())<0)return-28;let e;return e=Ke.open(r.path,r.flags,0,n),e.fd}case 1:case 2:case 13:case 14:return 0;case 3:return r.flags;case 4:var n=Je.get();return r.flags|=n,0;case 12:n=Je.get();return z[n+0>>1]=2,0;case 16:case 8:default:return-28;case 9:return Le(28),-1}}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),-e.errno}},__sys_ioctl:function(e,t,r){Je.varargs=r;try{const r=Je.getStreamFromFD(e);switch(t){case 21509:case 21505:case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:case 21523:case 21524:return r.tty?0:-59;case 21519:if(!r.tty)return-59;var n=Je.get();return K[n>>2]=0,0;case 21520:return r.tty?-28:-59;case 21531:n=Je.get();return Ke.ioctl(r,t,n);default:Ce(`bad ioctl syscall ${t}`)}}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),-e.errno}},__sys_mmap2:function(e,t,r,n,o,i){try{return function(e,t,r,n,o,i){let a;i<<=12;let s=!1;if(16&n&&e%65536!=0)return-28;if(32&n){if(a=Ve(t),!a)return-48;s=!0}else{const A=Ke.getStream(o);if(!A)return-8;const c=Ke.mmap(A,e,t,i,r,n);a=c.ptr,s=c.allocated}return Je.mappings[a]={malloc:a,len:t,allocated:s,fd:o,prot:r,flags:n,offset:i},a}(e,t,r,n,o,i)}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),-e.errno}},__sys_open:function(e,t,r){Je.varargs=r;try{const n=Je.getStr(e),o=r?Je.get():0;return Ke.open(n,t,o).fd}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),-e.errno}},__sys_stat64:function(e,t){try{return e=Je.getStr(e),Je.doStat(Ke.stat,e,t)}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),-e.errno}},_embind_create_inheriting_constructor:function(e,t,r){e=At(e),t=_t(t,"wrapper"),r=mt(r);const n=[].slice,{registeredClass:o}=t,i=o.instancePrototype,{baseClass:a}=o,s=a.instancePrototype,A=o.baseClass.constructor,c=qe(e,(function(){o.baseClass.pureVirtualFunctions.forEach((e=>{if(this[e]===s[e])throw new at(`Pure virtual function ${e} must be implemented in JavaScript`)})),Object.defineProperty(this,"__parent",{value:i}),this.__construct.apply(this,n.call(arguments))}));i.__construct=function(){this===i&&ht("Pass correct 'this' to __construct");const e=A.implement.apply(void 0,[this].concat(n.call(arguments)));wt(e);const{$$:t}=e;var r,a,s;e.notifyOnDestruction(),t.preservePointerOnDelete=!0,Object.defineProperties(this,{$$:{value:t}}),Ot(this),r=o,a=t.ptr,s=this,a=It(r,a),ft.hasOwnProperty(a)?ht(`Tried to register registered instance: ${a}`):ft[a]=s},i.__destruct=function(){var e,t;this===i&&ht("Pass correct 'this' to __destruct"),wt(this),e=o,t=this.$$.ptr,t=It(e,t),ft.hasOwnProperty(t)?delete ft[t]:ht(`Tried to unregister unregistered instance: ${t}`)},c.prototype=Object.create(i);for(const e in r)c.prototype[e]=r[e];return ot(c)},_embind_finalize_value_object:function(e){const t=bt[e];delete bt[e];const{rawConstructor:r}=t,{rawDestructor:n}=t,o=t.fields;St([e],o.map((e=>e.getterReturnType)).concat(o.map((e=>e.setterArgumentType))),(e=>{const i={};return o.forEach(((t,r)=>{const{fieldName:n}=t,a=e[r],{getter:s}=t,{getterContext:A}=t,c=e[r+o.length],{setter:g}=t,{setterContext:d}=t;i[n]={read:e=>a.fromWireType(s(A,e)),write(e,t){const r=[];g(d,e,c.toWireType(r,t)),Qt(r)}}})),[{name:t.name,fromWireType(e){const t={};for(const r in i)t[r]=i[r].read(e);return n(e),t},toWireType(e,t){for(var o in i)if(!(o in t))throw new TypeError(`Missing field: "${o}"`);const a=r();for(o in i)i[o].write(a,t[o]);return null!==e&&e.push(n,a),a},argPackAdvance:8,readValueFromPointer:Tt,destructorFunction:n}]}))},_embind_register_bigint:function(e,t,r,n,o){},_embind_register_bool:function(e,t,r,n,o){const i=Ft(r);Nt(e,{name:t=At(t),fromWireType:e=>!!e,toWireType:(e,t)=>t?n:o,argPackAdvance:8,readValueFromPointer(e){let n;if(1===r)n=V;else if(2===r)n=z;else{if(4!==r)throw new TypeError(`Unknown boolean type size: ${t}`);n=K}return this.fromWireType(n[e>>i])},destructorFunction:null})},_embind_register_class:function(e,t,r,n,o,i,a,s,A,c,g,d,u){g=At(g),i=sr(o,i),s&&(s=sr(a,s)),c&&(c=sr(A,c)),u=sr(d,u);const l=Ze(g);Vt(l,(()=>{cr(`Cannot construct ${g} due to unbound types`,[n])})),St([e,t,r],n?[n]:[],(t=>{let r,o;t=t[0],n?(r=t.registeredClass,o=r.instancePrototype):o=Gt.prototype;const a=qe(l,(function(){if(Object.getPrototypeOf(this)!==A)throw new pt(`Use 'new' to construct ${g}`);if(void 0===d.constructor_body)throw new pt(`${g} has no accessible constructor`);const e=d.constructor_body[arguments.length];if(void 0===e)throw new pt(`Tried to invoke ctor of ${g} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(d.constructor_body).toString()}) parameters instead!`);return e.apply(this,arguments)}));var A=Object.create(o,{constructor:{value:a}});a.prototype=A;var d=new Wt(g,a,A,u,r,i,s,c);const E=new or(g,d,!0,!1,!1),f=new or(`${g}*`,d,!1,!1,!1),p=new or(`${g} const*`,d,!1,!0,!1);return Yt[e]={pointerType:f,constPointerType:p},ir(l,a),[E,f,p]}))},_embind_register_class_class_function:function(e,t,r,n,o,i,a){const s=ur(r,n);t=At(t),i=sr(o,i),St([],[e],(e=>{const n=`${(e=e[0]).name}.${t}`;function o(){cr(`Cannot call ${n} due to unbound types`,s)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]);const A=e.registeredClass.constructor;return void 0===A[t]?(o.argCount=r-1,A[t]=o):(Xt(A,t,n),A[t].overloadTable[r-1]=o),St([],s,(e=>{const o=[e[0],null].concat(e.slice(1)),s=dr(n,o,null,i,a);return void 0===A[t].overloadTable?(s.argCount=r-1,A[t]=s):A[t].overloadTable[r-1]=s,[]})),[]}))},_embind_register_class_constructor:function(e,t,r,n,o,i){T(t>0);const a=ur(t,r);o=sr(n,o),St([],[e],(e=>{const r=`constructor ${(e=e[0]).name}`;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new pt(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.registeredClass.constructor_body[t-1]=function(){cr(`Cannot construct ${e.name} due to unbound types`,a)},St([],a,(n=>(n.splice(1,0,null),e.registeredClass.constructor_body[t-1]=dr(r,n,null,o,i),[]))),[]}))},_embind_register_class_function:function(e,t,r,n,o,i,a,s){const A=ur(r,n);t=At(t),i=sr(o,i),St([],[e],(e=>{const n=`${(e=e[0]).name}.${t}`;function o(){cr(`Cannot call ${n} due to unbound types`,A)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(t);const c=e.registeredClass.instancePrototype,g=c[t];return void 0===g||void 0===g.overloadTable&&g.className!==e.name&&g.argCount===r-2?(o.argCount=r-2,o.className=e.name,c[t]=o):(Xt(c,t,n),c[t].overloadTable[r-2]=o),St([],A,(o=>{const s=dr(n,o,e,i,a);return void 0===c[t].overloadTable?(s.argCount=r-2,c[t]=s):c[t].overloadTable[r-2]=s,[]})),[]}))},_embind_register_class_property:function(e,t,r,n,o,i,a,s,A,c){t=At(t),o=sr(n,o),St([],[e],(e=>{const n=`${(e=e[0]).name}.${t}`,g={get(){cr(`Cannot access ${n} due to unbound types`,[r,a])},enumerable:!0,configurable:!0};return g.set=A?function(){cr(`Cannot access ${n} due to unbound types`,[r,a])}:function(e){ht(`${n} is a read-only property`)},Object.defineProperty(e.registeredClass.instancePrototype,t,g),St([],A?[r,a]:[r],(r=>{const a=r[0],g={get(){const t=lr(this,e,`${n} getter`);return a.fromWireType(o(i,t))},enumerable:!0};if(A){A=sr(s,A);const t=r[1];g.set=function(r){const o=lr(this,e,`${n} setter`),i=[];A(c,o,t.toWireType(i,r)),Qt(i)}}return Object.defineProperty(e.registeredClass.instancePrototype,t,g),[]})),[]}))},_embind_register_emval:function(e,t){Nt(e,{name:t=At(t),fromWireType(e){const t=tt[e].value;return Er(e),t},toWireType:(e,t)=>ot(t),argPackAdvance:8,readValueFromPointer:Tt,destructorFunction:null})},_embind_register_float:function(e,t,r){const n=Ft(r);Nt(e,{name:t=At(t),fromWireType:e=>e,toWireType(e,t){if("number"!=typeof t&&"boolean"!=typeof t)throw new TypeError(`Cannot convert "${fr(t)}" to ${this.name}`);return t},argPackAdvance:8,readValueFromPointer:pr(t,n),destructorFunction:null})},_embind_register_function:function(e,t,r,n,o,i){const a=ur(t,r);e=At(e),o=sr(n,o),Vt(e,(()=>{cr(`Cannot call ${e} due to unbound types`,a)}),t-1),St([],a,(r=>{const n=[r[0],null].concat(r.slice(1));return ir(e,dr(e,n,null,o,i),t-1),[]}))},_embind_register_integer:function(e,t,r,n,o){t=At(t),-1===o&&(o=4294967295);const i=Ft(r);let a=function(e){return e};if(0===n){const e=32-8*r;a=function(t){return t<<e>>>e}}const s=t.includes("unsigned");Nt(e,{name:t,fromWireType:a,toWireType(e,r){if("number"!=typeof r&&"boolean"!=typeof r)throw new TypeError(`Cannot convert "${fr(r)}" to ${this.name}`);if(r<n||r>o)throw new TypeError(`Passing a number "${fr(r)}" from JS side to C/C++ side to an argument of type "${t}", which is outside the valid range [${n}, ${o}]!`);return s?r>>>0:0|r},argPackAdvance:8,readValueFromPointer:hr(t,i,0!==n),destructorFunction:null})},_embind_register_memory_view:function(e,t,r){const n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function o(e){const t=J,r=t[e>>=2],o=t[e+1];return new n(X,o,r)}Nt(e,{name:r=At(r),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},_embind_register_std_string:function(e,t){const r="std::string"===(t=At(t));Nt(e,{name:t,fromWireType(e){const t=J[e>>2];let n;if(r){let r=e+4;for(var o=0;o<=t;++o){const i=e+4+o;if(o==t||0==W[i]){const e=R(r,i-r);void 0===n?n=e:(n+=String.fromCharCode(0),n+=e),r=i+1}}}else{const r=new Array(t);for(o=0;o<t;++o)r[o]=String.fromCharCode(W[e+4+o]);n=r.join("")}return An(e),n},toWireType(e,t){let n;t instanceof ArrayBuffer&&(t=new Uint8Array(t));const o="string"==typeof t;o||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||ht("Cannot pass non-string to std::string"),n=r&&o?function(){return F(t)}:function(){return t.length};const i=n(),a=cn(4+i+1);if(J[a>>2]=i,r&&o)S(t,a+4,i+1);else if(o)for(var s=0;s<i;++s){const e=t.charCodeAt(s);e>255&&(An(a),ht("String has UTF-16 code units that do not fit in 8 bits")),W[a+4+s]=e}else for(s=0;s<i;++s)W[a+4+s]=t[s];return null!==e&&e.push(An,a),a},argPackAdvance:8,readValueFromPointer:Tt,destructorFunction(e){An(e)}})},_embind_register_std_wstring:function(e,t,r){let n,o,i,a,s;r=At(r),2===t?(n=k,o=x,a=U,i=function(){return $},s=1):4===t&&(n=j,o=L,a=H,i=function(){return J},s=2),Nt(e,{name:r,fromWireType(e){const r=J[e>>2],o=i();let a,A=e+4;for(let i=0;i<=r;++i){const c=e+4+i*t;if(i==r||0==o[c>>s]){const e=n(A,c-A);void 0===a?a=e:(a+=String.fromCharCode(0),a+=e),A=c+t}}return An(e),a},toWireType(e,n){"string"!=typeof n&&ht(`Cannot pass non-string to C++ string type ${r}`);const i=a(n),A=cn(4+i+t);return J[A>>2]=i>>s,o(n,A+4,i+t),null!==e&&e.push(An,A),A},argPackAdvance:8,readValueFromPointer:Tt,destructorFunction(e){An(e)}})},_embind_register_value_object:function(e,t,r,n,o,i){bt[e]={name:At(t),rawConstructor:sr(r,n),rawDestructor:sr(o,i),fields:[]}},_embind_register_value_object_field:function(e,t,r,n,o,i,a,s,A,c){bt[e].fields.push({fieldName:At(t),getterReturnType:r,getter:sr(n,o),getterContext:i,setterArgumentType:a,setter:sr(s,A),setterContext:c})},_embind_register_void:function(e,t){Nt(e,{isVoid:!0,name:t=At(t),argPackAdvance:0,fromWireType(){},toWireType(e,t){}})},_emval_call_void_method:function(e,t,r,n){(e=mr[e])(t=mt(t),r=function(e){const t=Ir[e];return void 0===t?At(e):t}(r),null,n)},_emval_decref:Er,_emval_get_method_caller:function(e,t){const r=function(e,t){const r=new Array(e);for(let n=0;n<e;++n)r[n]=_t(K[(t>>2)+n],`parameter ${n}`);return r}(e,t),n=r[0],o=`${n.name}_$${r.slice(1).map((e=>e.name)).join("_")}$`,i=["retType"],a=[n];let s="";for(var A=0;A<e-1;++A)s+=`${0!==A?", ":""}arg${A}`,i.push(`argType${A}`),a.push(r[1+A]);let c=`return function ${Ze(`methodCaller_${o}`)}(handle, name, destructors, args) {\n`,g=0;for(A=0;A<e-1;++A)c+=` var arg${A} = argType${A}.readValueFromPointer(args${g?`+${g}`:""});\n`,g+=r[A+1].argPackAdvance;for(c+=` var rv = handle[name](${s});\n`,A=0;A<e-1;++A)r[A+1].deleteObject&&(c+=` argType${A}.deleteObject(arg${A});\n`);return n.isVoid||(c+=" return retType.toWireType(destructors, rv);\n"),c+="};\n",i.push(c),function(e){const t=mr.length;return mr.push(e),t}(gr(Function,i).apply(null,a))},_emval_incref:function(e){e>4&&(tt[e].refcount+=1)},_emval_take_value:function(e,t){return ot((e=_t(e,"_emval_take_value")).readValueFromPointer(t))},abort:function(){Ce()},clock_gettime:function(e,t){let r;if(0===e)r=Date.now();else{if(1!==e&&4!==e)return Le(28),-1;r=Qe()}return K[t>>2]=r/1e3|0,K[t+4>>2]=r%1e3*1e3*1e3|0,0},dlopen:function(e,t){Ce("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")},dlsym:function(e,t){Ce("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")},emscripten_asm_const_int:function(e,t,r){const n=function(e,t){let r;for(T(Array.isArray(Cr)),T(t%16==0),Cr.length=0,t>>=2;r=W[e++];){T(100===r||102===r||105===r);const e=r<105;e&&1&t&&t++,Cr.push(e?q[t++>>1]:K[t]),++t}return Cr}(t,r);return Oe.hasOwnProperty(e)||Ce(`No EM_ASM constant found at address ${e}`),Oe[e].apply(null,n)},emscripten_get_heap_max:function(){return 2147483648},emscripten_memcpy_big:function(e,t,r){W.copyWithin(e,t,t+r)},emscripten_pc_get_function:function(e){Ce("Cannot use emscripten_pc_get_function without -s USE_OFFSET_CONVERTER")},emscripten_resize_heap:function(e){const t=W.length;T((e>>>=0)>t);const r=2147483648;if(e>r)return C(`Cannot enlarge memory, asked to go up to ${e} bytes, but the limit is 2147483648 bytes!`),!1;for(let a=1;a<=4;a*=2){let s=t*(1+.2/a);s=Math.min(s,e+100663296);var n=Math.min(r,((o=Math.max(e,s))%(i=65536)>0&&(o+=i-o%i),o));if(yr(n))return!0}var o,i;return C(`Failed to grow the heap from ${t} bytes to ${n} bytes, not enough memory!`),!1},emscripten_stack_snapshot:function(){const e=(new Error).stack.split("\n");return"Error"==e[0]&&e.shift(),Br(e),wr.last_addr=_r(e[2]),wr.last_stack=e,wr.last_addr},emscripten_stack_unwind_buffer:function(e,t,r){let n;wr.last_addr==e?n=wr.last_stack:(n=(new Error).stack.split("\n"),"Error"==n[0]&&n.shift(),Br(n));let o=2;for(;n[o]&&_r(n[o])!=e;)++o;for(var i=0;i<r&&n[i+o];++i)K[t+4*i>>2]=_r(n[i+o]);return i},emscripten_thread_sleep:function(e){const t=Qe();for(;Qe()-t<e;);},emscripten_webgl_create_context:function(e,t){return function(e,t){T(t);const r=t>>2,n=K[r+6],o={alpha:!!K[r+0],depth:!!K[r+1],stencil:!!K[r+2],antialias:!!K[r+3],premultipliedAlpha:!!K[r+4],preserveDrawingBuffer:!!K[r+5],powerPreference:br[n],failIfMajorPerformanceCaveat:!!K[r+7],majorVersion:K[r+8],minorVersion:K[r+9],enableExtensionsByDefault:K[r+10],explicitSwapControl:K[r+11],proxyContextToMainThread:K[r+12],renderViaOffscreenBackBuffer:K[r+13]};let i=Tr(e);if(!i)return 0;if(i.offscreenCanvas&&(i=i.offscreenCanvas),o.explicitSwapControl&&(i.transferControlToOffscreen||"undefined"!=typeof OffscreenCanvas&&i instanceof OffscreenCanvas||o.renderViaOffscreenBackBuffer||(o.renderViaOffscreenBackBuffer=!0),i.transferControlToOffscreen)){if(i.controlTransferredOffscreen){if(!Dr.offscreenCanvases[i.id])return 0}else Dr.offscreenCanvases[i.id]={canvas:i.transferControlToOffscreen(),canvasSharedPtr:cn(12),id:i.id},i.controlTransferredOffscreen=!0;i=Dr.offscreenCanvases[i.id]}return Dr.createContext(i,o)}(e,t)},emscripten_webgl_destroy_context:function(e){Dr.currentContext==e&&(Dr.currentContext=0),Dr.deleteContext(e)},emscripten_webgl_get_context_attributes:function(e,t){if(!t)return-5;if(!(e=Dr.contexts[e]))return-3;let r=e.GLctx;if(!r)return-3;r=r.getContextAttributes(),K[t>>2]=r.alpha,K[t+4>>2]=r.depth,K[t+8>>2]=r.stencil,K[t+12>>2]=r.antialias,K[t+16>>2]=r.premultipliedAlpha,K[t+20>>2]=r.preserveDrawingBuffer;const n=r.powerPreference&&br.indexOf(r.powerPreference);return K[t+24>>2]=n,K[t+28>>2]=r.failIfMajorPerformanceCaveat,K[t+32>>2]=e.version,K[t+36>>2]=0,K[t+40>>2]=e.attributes.enableExtensionsByDefault,0},emscripten_webgl_get_current_context:vr,emscripten_webgl_init_context_attributes:function(e){T(e);const t=e>>2;for(let e=0;e<14;++e)K[t+e]=0;K[t+0]=K[t+1]=K[t+3]=K[t+4]=K[t+8]=K[t+10]=1},emscripten_webgl_make_context_current:Pr,environ_get:function(e,t){let r=0;return Mr().forEach(((n,o)=>{const i=t+r;K[e+4*o>>2]=i,function(e,t,r){for(let r=0;r<e.length;++r)T(e.charCodeAt(r)==e.charCodeAt(r)&255),V[0|t++]=e.charCodeAt(r);r||(V[0|t]=0)}(n,i),r+=n.length+1})),0},environ_sizes_get:function(e,t){const r=Mr();K[e>>2]=r.length;let n=0;return r.forEach((e=>{n+=e.length+1})),K[t>>2]=n,0},exit:Te,fd_close:function(e){try{const t=Je.getStreamFromFD(e);return Ke.close(t),0}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),e.errno}},fd_read:function(e,t,r,n){try{const o=Je.getStreamFromFD(e),i=Je.doReadv(o,t,r);return K[n>>2]=i,0}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),e.errno}},fd_seek:function(e,t,r,n,o){try{const i=Je.getStreamFromFD(e),a=r*4294967296+(t>>>0),s=9007199254740992;return a<=-s||a>=s?-61:(Ke.llseek(i,a,n),De=[i.position>>>0,(Be=i.position,+Math.abs(Be)>=1?Be>0?(0|Math.min(+Math.floor(Be/4294967296),4294967295))>>>0:~~+Math.ceil((Be-+(~~Be>>>0))/4294967296)>>>0:0)],K[o>>2]=De[0],K[o+4>>2]=De[1],i.getdents&&0===a&&0===n&&(i.getdents=null),0)}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),e.errno}},fd_write:function(e,t,r,n){try{const o=Je.getStreamFromFD(e),i=Je.doWritev(o,t,r);return K[n>>2]=i,0}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),e.errno}},getTempRet0:function(){return _},getentropy:function e(t,r){e.randomDevice||(e.randomDevice=Ge());for(let n=0;n<r;n++)V[t+n|0]=e.randomDevice();return 0},glActiveTexture:function(e){tn.activeTexture(e)},glAttachShader:function(e,t){tn.attachShader(Dr.programs[e],Dr.shaders[t])},glBindAttribLocation:function(e,t,r){tn.bindAttribLocation(Dr.programs[e],t,R(r))},glBindBuffer:function(e,t){34962==e?tn.currentArrayBufferBinding=t:34963==e&&(tn.currentElementArrayBufferBinding=t),35051==e?tn.currentPixelPackBufferBinding=t:35052==e&&(tn.currentPixelUnpackBufferBinding=t),tn.bindBuffer(e,Dr.buffers[t])},glBindBufferBase:function(e,t,r){tn.bindBufferBase(e,t,Dr.buffers[r])},glBindFramebuffer:function(e,t){tn.bindFramebuffer(e,t?Dr.framebuffers[t]:Dr.currentContext.defaultFbo)},glBindTexture:function(e,t){tn.bindTexture(e,Dr.textures[t])},glBindVertexArray:function(e){tn.bindVertexArray(Dr.vaos[e]);const t=tn.getParameter(34965);tn.currentElementArrayBufferBinding=t?0|t.name:0},glBufferData:function(e,t,r,n){Dr.currentContext.version>=2?r?tn.bufferData(e,W,n,r,t):tn.bufferData(e,t,n):tn.bufferData(e,r?W.subarray(r,r+t):t,n)},glClientWaitSync:function(e,t,r,n){return tn.clientWaitSync(Dr.syncs[e],t,(o=r,T((i=n)===(0|i)),(o>>>0)+4294967296*i));var o,i},glCompileShader:function(e){tn.compileShader(Dr.shaders[e])},glCreateProgram:function(){const e=Dr.getNewId(Dr.programs),t=tn.createProgram();return t.name=e,t.maxUniformLength=t.maxAttributeLength=t.maxUniformBlockNameLength=0,t.uniformIdCounter=1,Dr.programs[e]=t,e},glCreateShader:function(e){const t=Dr.getNewId(Dr.shaders);return Dr.shaders[t]=tn.createShader(e),t},glDeleteBuffers:function(e,t){for(let r=0;r<e;r++){const e=K[t+4*r>>2],n=Dr.buffers[e];n&&(tn.deleteBuffer(n),n.name=0,Dr.buffers[e]=null,e==tn.currentArrayBufferBinding&&(tn.currentArrayBufferBinding=0),e==tn.currentElementArrayBufferBinding&&(tn.currentElementArrayBufferBinding=0),e==tn.currentPixelPackBufferBinding&&(tn.currentPixelPackBufferBinding=0),e==tn.currentPixelUnpackBufferBinding&&(tn.currentPixelUnpackBufferBinding=0))}},glDeleteFramebuffers:function(e,t){for(let r=0;r<e;++r){const e=K[t+4*r>>2],n=Dr.framebuffers[e];n&&(tn.deleteFramebuffer(n),n.name=0,Dr.framebuffers[e]=null)}},glDeleteProgram:function(e){if(!e)return;const t=Dr.programs[e];t?(tn.deleteProgram(t),t.name=0,Dr.programs[e]=null):Dr.recordError(1281)},glDeleteShader:function(e){if(!e)return;const t=Dr.shaders[e];t?(tn.deleteShader(t),Dr.shaders[e]=null):Dr.recordError(1281)},glDeleteSync:function(e){if(!e)return;const t=Dr.syncs[e];t?(tn.deleteSync(t),t.name=0,Dr.syncs[e]=null):Dr.recordError(1281)},glDeleteTextures:function(e,t){for(let r=0;r<e;r++){const e=K[t+4*r>>2],n=Dr.textures[e];n&&(tn.deleteTexture(n),n.name=0,Dr.textures[e]=null)}},glDeleteVertexArrays:function(e,t){for(let r=0;r<e;r++){const e=K[t+4*r>>2];tn.deleteVertexArray(Dr.vaos[e]),Dr.vaos[e]=null}},glDisable:function(e){tn.disable(e)},glDisableVertexAttribArray:function(e){Dr.currentContext.clientBuffers[e].enabled=!1,tn.disableVertexAttribArray(e)},glDrawArrays:function(e,t,r){Dr.preDrawHandleClientVertexAttribBindings(t+r),tn.drawArrays(e,t,r),Dr.postDrawHandleClientVertexAttribBindings()},glDrawBuffers:function(e,t){const r=Sr[e];for(let n=0;n<e;n++)r[n]=K[t+4*n>>2];tn.drawBuffers(r)},glEnableVertexAttribArray:function(e){Dr.currentContext.clientBuffers[e].enabled=!0,tn.enableVertexAttribArray(e)},glFenceSync:function(e,t){const r=tn.fenceSync(e,t);if(r){const e=Dr.getNewId(Dr.syncs);return r.name=e,Dr.syncs[e]=r,e}return 0},glFinish:function(){tn.finish()},glFlush:function(){tn.flush()},glFramebufferTexture2D:function(e,t,r,n,o){tn.framebufferTexture2D(e,t,r,Dr.textures[n],o)},glFramebufferTextureLayer:function(e,t,r,n,o){tn.framebufferTextureLayer(e,t,Dr.textures[r],n,o)},glGenBuffers:function(e,t){Fr(e,t,"createBuffer",Dr.buffers)},glGenFramebuffers:function(e,t){Fr(e,t,"createFramebuffer",Dr.framebuffers)},glGenTextures:function(e,t){Fr(e,t,"createTexture",Dr.textures)},glGenVertexArrays:function(e,t){Fr(e,t,"createVertexArray",Dr.vaos)},glGetAttribLocation:function(e,t){return tn.getAttribLocation(Dr.programs[e],R(t))},glGetError:function(){const e=tn.getError()||Dr.lastError;return Dr.lastError=0,e},glGetIntegerv:function(e,t){!function(e,t,r){if(!t)return void Dr.recordError(1281);let n;switch(e){case 36346:n=1;break;case 36344:return void(0!=r&&1!=r&&Dr.recordError(1280));case 34814:case 36345:n=0;break;case 34466:var o=tn.getParameter(34467);n=o?o.length:0;break;case 33309:if(Dr.currentContext.version<2)return void Dr.recordError(1282);n=2*(tn.getSupportedExtensions()||[]).length;break;case 33307:case 33308:if(Dr.currentContext.version<2)return void Dr.recordError(1280);n=33307==e?3:0}if(void 0===n){const o=tn.getParameter(e);switch(typeof o){case"number":n=o;break;case"boolean":n=o?1:0;break;case"string":return void Dr.recordError(1280);case"object":if(null===o)switch(e){case 34964:case 35725:case 34965:case 36006:case 36007:case 32873:case 34229:case 36662:case 36663:case 35053:case 35055:case 36010:case 35097:case 35869:case 32874:case 36389:case 35983:case 35368:case 34068:n=0;break;default:return void Dr.recordError(1280)}else{if(o instanceof Float32Array||o instanceof Uint32Array||o instanceof Int32Array||o instanceof Array){for(let e=0;e<o.length;++e)switch(r){case 0:K[t+4*e>>2]=o[e];break;case 2:Z[t+4*e>>2]=o[e];break;case 4:V[t+e|0]=o[e]?1:0}return}try{n=0|o.name}catch(t){return Dr.recordError(1280),void C(`GL_INVALID_ENUM in glGet${r}v: Unknown object returned from WebGL getParameter(${e})! (error: ${t})`)}}break;default:return Dr.recordError(1280),void C(`GL_INVALID_ENUM in glGet${r}v: Native code calling glGet${r}v(${e}) and it returns ${o} of type ${typeof o}!`)}}switch(r){case 1:Nr(t,n);break;case 0:K[t>>2]=n;break;case 2:Z[t>>2]=n;break;case 4:V[0|t]=n?1:0}}(e,t,0)},glGetString:function(e){let t=Dr.stringCache[e];if(!t){switch(e){case 7939:var r=tn.getSupportedExtensions()||[];t=kr((r=r.concat(r.map((e=>`GL_${e}`)))).join(" "));break;case 7936:case 7937:case 37445:case 37446:var n=tn.getParameter(e);n||Dr.recordError(1280),t=n&&kr(n);break;case 7938:var o=tn.getParameter(7938);t=kr(o=Dr.currentContext.version>=2?`OpenGL ES 3.0 (${o})`:`OpenGL ES 2.0 (${o})`);break;case 35724:var i=tn.getParameter(35724),a=i.match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);null!==a&&(3==a[1].length&&(a[1]=`${a[1]}0`),i=`OpenGL ES GLSL ES ${a[1]} (${i})`),t=kr(i);break;default:Dr.recordError(1280)}Dr.stringCache[e]=t}return t},glGetUniformBlockIndex:function(e,t){return tn.getUniformBlockIndex(Dr.programs[e],R(t))},glGetUniformLocation:function(e,t){if(t=R(t),e=Dr.programs[e]){!function(e){let{uniformLocsById:t}=e;const{uniformSizeAndIdsByName:r}=e;let n,o;if(!t)for(e.uniformLocsById=t={},e.uniformArrayNamesById={},n=0;n<tn.getProgramParameter(e,35718);++n){const i=tn.getActiveUniform(e,n),a=i.name,s=i.size,A=xr(a),c=A>0?a.slice(0,A):a;let g=e.uniformIdCounter;for(e.uniformIdCounter+=s,r[c]=[s,g],o=0;o<s;++o)t[g]=o,e.uniformArrayNamesById[g++]=c}}(e);const{uniformLocsById:n}=e;let o=0,i=t;const a=xr(t);a>0&&(r=t.slice(a+1),o=parseInt(r)>>>0,i=t.slice(0,a));const s=e.uniformSizeAndIdsByName[i];if(s&&o<s[0]&&(o+=s[1],n[o]=n[o]||tn.getUniformLocation(e,t)))return o}else Dr.recordError(1281);var r;return-1},glLinkProgram:function(e){e=Dr.programs[e],tn.linkProgram(e),e.uniformLocsById=0,e.uniformSizeAndIdsByName={}},glPixelStorei:function(e,t){3317==e&&(Dr.unpackAlignment=t),tn.pixelStorei(e,t)},glReadPixels:function(e,t,r,n,o,i,a){if(Dr.currentContext.version>=2){if(tn.currentPixelPackBufferBinding)tn.readPixels(e,t,r,n,o,i,a);else{const s=Ur(i);tn.readPixels(e,t,r,n,o,i,s,a>>jr(s))}return}const s=Lr(i,o,r,n,a);s?tn.readPixels(e,t,r,n,o,i,s):Dr.recordError(1280)},glShaderSource:function(e,t,r,n){const o=Dr.getSource(e,t,r,n);tn.shaderSource(Dr.shaders[e],o)},glTexImage2D:function(e,t,r,n,o,i,a,s,A){if(Dr.currentContext.version>=2)if(tn.currentPixelUnpackBufferBinding)tn.texImage2D(e,t,r,n,o,i,a,s,A);else if(A){const c=Ur(s);tn.texImage2D(e,t,r,n,o,i,a,s,c,A>>jr(c))}else tn.texImage2D(e,t,r,n,o,i,a,s,null);else tn.texImage2D(e,t,r,n,o,i,a,s,A?Lr(s,a,n,o,A):null)},glTexParameterfv:function(e,t,r){const n=Z[r>>2];tn.texParameterf(e,t,n)},glTexParameteri:function(e,t,r){tn.texParameteri(e,t,r)},glTexStorage2D:function(e,t,r,n,o){tn.texStorage2D(e,t,r,n,o)},glTexStorage3D:function(e,t,r,n,o,i){tn.texStorage3D(e,t,r,n,o,i)},glTexSubImage2D:function(e,t,r,n,o,i,a,s,A){if(Dr.currentContext.version>=2){if(tn.currentPixelUnpackBufferBinding)tn.texSubImage2D(e,t,r,n,o,i,a,s,A);else if(A){const c=Ur(s);tn.texSubImage2D(e,t,r,n,o,i,a,s,c,A>>jr(c))}else tn.texSubImage2D(e,t,r,n,o,i,a,s,null);return}let c=null;A&&(c=Lr(s,a,o,i,A)),tn.texSubImage2D(e,t,r,n,o,i,a,s,c)},glTexSubImage3D:function(e,t,r,n,o,i,a,s,A,c,g){if(tn.currentPixelUnpackBufferBinding)tn.texSubImage3D(e,t,r,n,o,i,a,s,A,c,g);else if(g){const d=Ur(c);tn.texSubImage3D(e,t,r,n,o,i,a,s,A,c,d,g>>jr(d))}else tn.texSubImage3D(e,t,r,n,o,i,a,s,A,c,null)},glUniform1f:function(e,t){tn.uniform1f(Hr(e),t)},glUniform1i:function(e,t){tn.uniform1i(Hr(e),t)},glUniform2fv:function(e,t,r){if(Dr.currentContext.version>=2)tn.uniform2fv(Hr(e),Z,r>>2,2*t);else{if(t<=144){var n=Gr[2*t-1];for(let e=0;e<2*t;e+=2)n[e]=Z[r+4*e>>2],n[e+1]=Z[r+(4*e+4)>>2]}else n=Z.subarray(r>>2,r+8*t>>2);tn.uniform2fv(Hr(e),n)}},glUniform4fv:function(e,t,r){if(Dr.currentContext.version>=2)tn.uniform4fv(Hr(e),Z,r>>2,4*t);else{if(t<=72){var n=Gr[4*t-1];const e=Z;r>>=2;for(let o=0;o<4*t;o+=4){const t=r+o;n[o]=e[t],n[o+1]=e[t+1],n[o+2]=e[t+2],n[o+3]=e[t+3]}}else n=Z.subarray(r>>2,r+16*t>>2);tn.uniform4fv(Hr(e),n)}},glUniform4iv:function(e,t,r){if(Dr.currentContext.version>=2)tn.uniform4iv(Hr(e),K,r>>2,4*t);else{if(t<=72){var n=Yr[4*t-1];for(let e=0;e<4*t;e+=4)n[e]=K[r+4*e>>2],n[e+1]=K[r+(4*e+4)>>2],n[e+2]=K[r+(4*e+8)>>2],n[e+3]=K[r+(4*e+12)>>2]}else n=K.subarray(r>>2,r+16*t>>2);tn.uniform4iv(Hr(e),n)}},glUniformBlockBinding:function(e,t,r){e=Dr.programs[e],tn.uniformBlockBinding(e,t,r)},glUniformMatrix4fv:function(e,t,r,n){if(Dr.currentContext.version>=2)tn.uniformMatrix4fv(Hr(e),!!r,Z,n>>2,16*t);else{if(t<=18){var o=Gr[16*t-1];const e=Z;n>>=2;for(let r=0;r<16*t;r+=16){const t=n+r;o[r]=e[t],o[r+1]=e[t+1],o[r+2]=e[t+2],o[r+3]=e[t+3],o[r+4]=e[t+4],o[r+5]=e[t+5],o[r+6]=e[t+6],o[r+7]=e[t+7],o[r+8]=e[t+8],o[r+9]=e[t+9],o[r+10]=e[t+10],o[r+11]=e[t+11],o[r+12]=e[t+12],o[r+13]=e[t+13],o[r+14]=e[t+14],o[r+15]=e[t+15]}}else o=Z.subarray(n>>2,n+64*t>>2);tn.uniformMatrix4fv(Hr(e),!!r,o)}},glUseProgram:function(e){e=Dr.programs[e],tn.useProgram(e),tn.currentProgram=e},glVertexAttribPointer:function(e,t,r,n,o,i){const a=Dr.currentContext.clientBuffers[e];if(!tn.currentArrayBufferBinding)return a.size=t,a.type=r,a.normalized=n,a.stride=o,a.ptr=i,a.clientside=!0,void(a.vertexAttribPointerAdaptor=function(e,t,r,n,o,i){this.vertexAttribPointer(e,t,r,n,o,i)});a.clientside=!1,tn.vertexAttribPointer(e,t,r,!!n,o,i)},glViewport:function(e,t,r,n){tn.viewport(e,t,r,n)},gmtime_r:function e(t,r){const n=new Date(1e3*K[t>>2]);K[r>>2]=n.getUTCSeconds(),K[r+4>>2]=n.getUTCMinutes(),K[r+8>>2]=n.getUTCHours(),K[r+12>>2]=n.getUTCDate(),K[r+16>>2]=n.getUTCMonth(),K[r+20>>2]=n.getUTCFullYear()-1900,K[r+24>>2]=n.getUTCDay(),K[r+36>>2]=0,K[r+32>>2]=0;const o=Date.UTC(n.getUTCFullYear(),0,1,0,0,0,0),i=(n.getTime()-o)/864e5|0;return K[r+28>>2]=i,e.GMTString||(e.GMTString=G("GMT")),K[r+40>>2]=e.GMTString,r},invoke_diii:function(e,t,r,n){const o=pn();try{return ne.get(e)(t,r,n)}catch(e){if(hn(o),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_i:function(e){const t=pn();try{return ne.get(e)()}catch(e){if(hn(t),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_ii:function(e,t){const r=pn();try{return ne.get(e)(t)}catch(e){if(hn(r),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iii:function(e,t,r){const n=pn();try{return ne.get(e)(t,r)}catch(e){if(hn(n),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iiii:function(e,t,r,n){const o=pn();try{return ne.get(e)(t,r,n)}catch(e){if(hn(o),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iiiii:function(e,t,r,n,o){const i=pn();try{return ne.get(e)(t,r,n,o)}catch(e){if(hn(i),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iiiiii:function(e,t,r,n,o,i){const a=pn();try{return ne.get(e)(t,r,n,o,i)}catch(e){if(hn(a),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iiiiiii:function(e,t,r,n,o,i,a){const s=pn();try{return ne.get(e)(t,r,n,o,i,a)}catch(e){if(hn(s),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c){const g=pn();try{return ne.get(e)(t,r,n,o,i,a,s,A,c)}catch(e){if(hn(g),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iiiiiiii:function(e,t,r,n,o,i,a,s){const A=pn();try{return ne.get(e)(t,r,n,o,i,a,s)}catch(e){if(hn(A),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iiiiiiiii:function(e,t,r,n,o,i,a,s,A){const c=pn();try{return ne.get(e)(t,r,n,o,i,a,s,A)}catch(e){if(hn(c),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_v:function(e){const t=pn();try{ne.get(e)()}catch(e){if(hn(t),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_vdiii:function(e,t,r,n,o){const i=pn();try{ne.get(e)(t,r,n,o)}catch(e){if(hn(i),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_vi:function(e,t){const r=pn();try{ne.get(e)(t)}catch(e){if(hn(r),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_vididdii:function(e,t,r,n,o,i,a,s){const A=pn();try{ne.get(e)(t,r,n,o,i,a,s)}catch(e){if(hn(A),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_vidii:function(e,t,r,n,o){const i=pn();try{ne.get(e)(t,r,n,o)}catch(e){if(hn(i),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_vii:function(e,t,r){const n=pn();try{ne.get(e)(t,r)}catch(e){if(hn(n),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viid:function(e,t,r,n){const o=pn();try{ne.get(e)(t,r,n)}catch(e){if(hn(o),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viidi:function(e,t,r,n,o){const i=pn();try{ne.get(e)(t,r,n,o)}catch(e){if(hn(i),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viididii:function(e,t,r,n,o,i,a,s){const A=pn();try{ne.get(e)(t,r,n,o,i,a,s)}catch(e){if(hn(A),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viii:function(e,t,r,n){const o=pn();try{ne.get(e)(t,r,n)}catch(e){if(hn(o),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiid:function(e,t,r,n,o){const i=pn();try{ne.get(e)(t,r,n,o)}catch(e){if(hn(i),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiidd:function(e,t,r,n,o,i){const a=pn();try{ne.get(e)(t,r,n,o,i)}catch(e){if(hn(a),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiddi:function(e,t,r,n,o,i,a){const s=pn();try{ne.get(e)(t,r,n,o,i,a)}catch(e){if(hn(s),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiidi:function(e,t,r,n,o,i){const a=pn();try{ne.get(e)(t,r,n,o,i)}catch(e){if(hn(a),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiii:function(e,t,r,n,o){const i=pn();try{ne.get(e)(t,r,n,o)}catch(e){if(hn(i),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiid:function(e,t,r,n,o,i){const a=pn();try{ne.get(e)(t,r,n,o,i)}catch(e){if(hn(a),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiidi:function(e,t,r,n,o,i,a){const s=pn();try{ne.get(e)(t,r,n,o,i,a)}catch(e){if(hn(s),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiidid:function(e,t,r,n,o,i,a,s){const A=pn();try{ne.get(e)(t,r,n,o,i,a,s)}catch(e){if(hn(A),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiidiidiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l,E,f){const p=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l,E,f)}catch(e){if(hn(p),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiifiifiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l,E,f){const p=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l,E,f)}catch(e){if(hn(p),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiii:function(e,t,r,n,o,i){const a=pn();try{ne.get(e)(t,r,n,o,i)}catch(e){if(hn(a),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiid:function(e,t,r,n,o,i,a){const s=pn();try{ne.get(e)(t,r,n,o,i,a)}catch(e){if(hn(s),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiif:function(e,t,r,n,o,i,a){const s=pn();try{ne.get(e)(t,r,n,o,i,a)}catch(e){if(hn(s),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiii:function(e,t,r,n,o,i,a){const s=pn();try{ne.get(e)(t,r,n,o,i,a)}catch(e){if(hn(s),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiid:function(e,t,r,n,o,i,a,s){const A=pn();try{ne.get(e)(t,r,n,o,i,a,s)}catch(e){if(hn(A),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiif:function(e,t,r,n,o,i,a,s){const A=pn();try{ne.get(e)(t,r,n,o,i,a,s)}catch(e){if(hn(A),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiii:function(e,t,r,n,o,i,a,s){const A=pn();try{ne.get(e)(t,r,n,o,i,a,s)}catch(e){if(hn(A),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c,g){const d=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(hn(d),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiidiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u){const l=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(hn(l),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiifiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u){const l=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(hn(l),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiii:function(e,t,r,n,o,i,a,s,A){const c=pn();try{ne.get(e)(t,r,n,o,i,a,s,A)}catch(e){if(hn(c),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiidd:function(e,t,r,n,o,i,a,s,A,c,g){const d=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(hn(d),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiidf:function(e,t,r,n,o,i,a,s,A,c,g){const d=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(hn(d),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiii:function(e,t,r,n,o,i,a,s,A,c){const g=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c)}catch(e){if(hn(g),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiiidd:function(e,t,r,n,o,i,a,s,A,c,g,d){const u=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d)}catch(e){if(hn(u),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c,g,d,u){const l=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(hn(l),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g){const d=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(hn(d),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l){const E=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l)}catch(e){if(hn(E),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d){const u=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d)}catch(e){if(hn(u),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u){const l=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(hn(l),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l){const E=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l)}catch(e){if(hn(E),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},llvm_eh_typeid_for:function(e){return e},localtime_r:function(e,t){Xr();const r=new Date(1e3*K[e>>2]);K[t>>2]=r.getSeconds(),K[t+4>>2]=r.getMinutes(),K[t+8>>2]=r.getHours(),K[t+12>>2]=r.getDate(),K[t+16>>2]=r.getMonth(),K[t+20>>2]=r.getFullYear()-1900,K[t+24>>2]=r.getDay();const n=new Date(r.getFullYear(),0,1),o=(r.getTime()-n.getTime())/864e5|0;K[t+28>>2]=o,K[t+36>>2]=-60*r.getTimezoneOffset();const i=new Date(r.getFullYear(),6,1).getTimezoneOffset(),a=n.getTimezoneOffset(),s=0|(i!=a&&r.getTimezoneOffset()==Math.min(a,i));K[t+32>>2]=s;const A=K[ln()+(s?4:0)>>2];return K[t+40>>2]=A,t},mktime:function(e){Xr();const t=new Date(K[e+20>>2]+1900,K[e+16>>2],K[e+12>>2],K[e+8>>2],K[e+4>>2],K[e>>2],0),r=K[e+32>>2],n=t.getTimezoneOffset(),o=new Date(t.getFullYear(),0,1),i=new Date(t.getFullYear(),6,1).getTimezoneOffset(),a=o.getTimezoneOffset(),s=Math.min(a,i);if(r<0)K[e+32>>2]=Number(i!=a&&s==n);else if(r>0!=(s==n)){const e=Math.max(a,i),o=r>0?s:e;t.setTime(t.getTime()+6e4*(o-n))}K[e+24>>2]=t.getDay();const A=(t.getTime()-o.getTime())/864e5|0;return K[e+28>>2]=A,K[e>>2]=t.getSeconds(),K[e+4>>2]=t.getMinutes(),K[e+8>>2]=t.getHours(),K[e+12>>2]=t.getDate(),K[e+16>>2]=t.getMonth(),t.getTime()/1e3|0},proc_exit:function(e){On(e)},setTempRet0:function(e){w(e)},strftime:Jr,strftime_l:function(e,t,r,n){return Jr(e,t,r,n)}};(function(){const e={env:sn,wasi_snapshot_preview1:sn};function t(e,t){const{exports:n}=e;var o;r.asm=n,O=r.asm.memory,T(O,"memory not found in wasm exports"),ee(O.buffer),ne=r.asm.__indirect_function_table,T(ne,"table not found in wasm exports"),o=r.asm.__wasm_call_ctors,se.unshift(o),me("wasm-instantiate")}Ie("wasm-instantiate");let n=r;if(r.instantiateWasm)try{return r.instantiateWasm(e,t)}catch(e){return C(`Module.instantiateWasm callback failed with error: ${e}`),!1}r.loadWasm(_e,e).then((function(e){T(r===n,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),n=null,t(e)})).catch(o)})(),r.___wasm_call_ctors=ye("__wasm_call_ctors");var An=r._free=ye("free"),cn=r._malloc=ye("malloc"),gn=r.___errno_location=ye("__errno_location");r._fflush=ye("fflush");var dn=r.___getTypeName=ye("__getTypeName");r.___embind_register_native_and_builtin_types=ye("__embind_register_native_and_builtin_types"),r._emscripten_main_thread_process_queued_calls=ye("emscripten_main_thread_process_queued_calls");var un=r._emscripten_stack_get_end=function(){return(un=r._emscripten_stack_get_end=r.asm.emscripten_stack_get_end).apply(null,arguments)},ln=r.__get_tzname=ye("_get_tzname"),En=r.__get_daylight=ye("_get_daylight"),fn=r.__get_timezone=ye("_get_timezone"),pn=r.stackSave=ye("stackSave"),hn=r.stackRestore=ye("stackRestore"),In=(r.stackAlloc=ye("stackAlloc"),r._emscripten_stack_init=function(){return(In=r._emscripten_stack_init=r.asm.emscripten_stack_init).apply(null,arguments)});r._emscripten_stack_get_free=function(){return(r._emscripten_stack_get_free=r.asm.emscripten_stack_get_free).apply(null,arguments)};r._saveSetjmp=ye("saveSetjmp");var mn=r._setThrew=ye("setThrew"),Cn=r.___cxa_can_catch=ye("__cxa_can_catch"),yn=r.___cxa_is_pointer_type=ye("__cxa_is_pointer_type"),_n=r._memalign=ye("memalign");r._emscripten_builtin_malloc=ye("emscripten_builtin_malloc"),r._emscripten_builtin_free=ye("emscripten_builtin_free"),r._emscripten_builtin_memalign=ye("emscripten_builtin_memalign"),r.dynCall_jii=ye("dynCall_jii"),r.dynCall_viji=ye("dynCall_viji"),r.dynCall_jjj=ye("dynCall_jjj"),r.dynCall_iiiijj=ye("dynCall_iiiijj"),r.dynCall_viijj=ye("dynCall_viijj"),r.dynCall_viiijjjj=ye("dynCall_viiijjjj"),r.dynCall_ji=ye("dynCall_ji"),r.dynCall_vij=ye("dynCall_vij"),r.dynCall_viijii=ye("dynCall_viijii"),r.dynCall_vj=ye("dynCall_vj"),r.dynCall_viij=ye("dynCall_viij"),r.dynCall_viiiiij=ye("dynCall_viiiiij"),r.dynCall_iijjiiii=ye("dynCall_iijjiiii"),r.dynCall_jiji=ye("dynCall_jiji"),r.dynCall_iiiiij=ye("dynCall_iiiiij"),r.dynCall_iiiiijj=ye("dynCall_iiiiijj"),r.dynCall_iiiiiijj=ye("dynCall_iiiiiijj");let wn;function Bn(e){this.name="ExitStatus",this.message=`Program terminated with exit(${e})`,this.status=e}function Dn(e){function t(){wn||(wn=!0,r.calledRun=!0,Q||(ie(),T(!ge),ge=!0,r.noFSInit||Ke.init.initialized||Ke.init(),Ke.ignorePermissions=!1,Xe.init(),Se(se),n(r),r.onRuntimeInitialized&&r.onRuntimeInitialized(),T(!r._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),function(){if(ie(),r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)e=r.postRun.shift(),ce.unshift(e);var e;Se(ce)}()))}e=e||s,le>0||(In(),oe(),function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)e=r.preRun.shift(),ae.unshift(e);var e;Se(ae)}(),le>0||(r.setStatus?(r.setStatus("Running..."),setTimeout((()=>{setTimeout((()=>{r.setStatus("")}),1),t()}),1)):t(),ie()))}function On(e){b=e,ue()||(r.onExit&&r.onExit(e),Q=!0),c(e,new Bn(e))}if(Object.getOwnPropertyDescriptor(r,"intArrayFromString")||(r.intArrayFromString=function(){Ce("'intArrayFromString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"intArrayToString")||(r.intArrayToString=function(){Ce("'intArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ccall")||(r.ccall=function(){Ce("'ccall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"cwrap")||(r.cwrap=function(){Ce("'cwrap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setValue")||(r.setValue=function(){Ce("'setValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getValue")||(r.getValue=function(){Ce("'getValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"allocate")||(r.allocate=function(){Ce("'allocate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"UTF8ArrayToString")||(r.UTF8ArrayToString=function(){Ce("'UTF8ArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"UTF8ToString")||(r.UTF8ToString=function(){Ce("'UTF8ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stringToUTF8Array")||(r.stringToUTF8Array=function(){Ce("'stringToUTF8Array' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stringToUTF8")||(r.stringToUTF8=function(){Ce("'stringToUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"lengthBytesUTF8")||(r.lengthBytesUTF8=function(){Ce("'lengthBytesUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stackTrace")||(r.stackTrace=function(){Ce("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"addOnPreRun")||(r.addOnPreRun=function(){Ce("'addOnPreRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"addOnInit")||(r.addOnInit=function(){Ce("'addOnInit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"addOnPreMain")||(r.addOnPreMain=function(){Ce("'addOnPreMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"addOnExit")||(r.addOnExit=function(){Ce("'addOnExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"addOnPostRun")||(r.addOnPostRun=function(){Ce("'addOnPostRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeStringToMemory")||(r.writeStringToMemory=function(){Ce("'writeStringToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeArrayToMemory")||(r.writeArrayToMemory=function(){Ce("'writeArrayToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeAsciiToMemory")||(r.writeAsciiToMemory=function(){Ce("'writeAsciiToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),r.addRunDependency=Ie,r.removeRunDependency=me,Object.getOwnPropertyDescriptor(r,"FS_createFolder")||(r.FS_createFolder=function(){Ce("'FS_createFolder' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),r.FS_createPath=Ke.createPath,r.FS_createDataFile=Ke.createDataFile,r.FS_createPreloadedFile=Ke.createPreloadedFile,r.FS_createLazyFile=Ke.createLazyFile,Object.getOwnPropertyDescriptor(r,"FS_createLink")||(r.FS_createLink=function(){Ce("'FS_createLink' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),r.FS_createDevice=Ke.createDevice,r.FS_unlink=Ke.unlink,Object.getOwnPropertyDescriptor(r,"getLEB")||(r.getLEB=function(){Ce("'getLEB' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getFunctionTables")||(r.getFunctionTables=function(){Ce("'getFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"alignFunctionTables")||(r.alignFunctionTables=function(){Ce("'alignFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerFunctions")||(r.registerFunctions=function(){Ce("'registerFunctions' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"addFunction")||(r.addFunction=function(){Ce("'addFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"removeFunction")||(r.removeFunction=function(){Ce("'removeFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getFuncWrapper")||(r.getFuncWrapper=function(){Ce("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"prettyPrint")||(r.prettyPrint=function(){Ce("'prettyPrint' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"dynCall")||(r.dynCall=function(){Ce("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getCompilerSetting")||(r.getCompilerSetting=function(){Ce("'getCompilerSetting' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"print")||(r.print=function(){Ce("'print' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"printErr")||(r.printErr=function(){Ce("'printErr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getTempRet0")||(r.getTempRet0=function(){Ce("'getTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setTempRet0")||(r.setTempRet0=function(){Ce("'setTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"callMain")||(r.callMain=function(){Ce("'callMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"abort")||(r.abort=function(){Ce("'abort' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"keepRuntimeAlive")||(r.keepRuntimeAlive=function(){Ce("'keepRuntimeAlive' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"zeroMemory")||(r.zeroMemory=function(){Ce("'zeroMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stringToNewUTF8")||(r.stringToNewUTF8=function(){Ce("'stringToNewUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setFileTime")||(r.setFileTime=function(){Ce("'setFileTime' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emscripten_realloc_buffer")||(r.emscripten_realloc_buffer=function(){Ce("'emscripten_realloc_buffer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ENV")||(r.ENV=function(){Ce("'ENV' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ERRNO_CODES")||(r.ERRNO_CODES=function(){Ce("'ERRNO_CODES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ERRNO_MESSAGES")||(r.ERRNO_MESSAGES=function(){Ce("'ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setErrNo")||(r.setErrNo=function(){Ce("'setErrNo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"inetPton4")||(r.inetPton4=function(){Ce("'inetPton4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"inetNtop4")||(r.inetNtop4=function(){Ce("'inetNtop4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"inetPton6")||(r.inetPton6=function(){Ce("'inetPton6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"inetNtop6")||(r.inetNtop6=function(){Ce("'inetNtop6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"readSockaddr")||(r.readSockaddr=function(){Ce("'readSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeSockaddr")||(r.writeSockaddr=function(){Ce("'writeSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"DNS")||(r.DNS=function(){Ce("'DNS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getHostByName")||(r.getHostByName=function(){Ce("'getHostByName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"GAI_ERRNO_MESSAGES")||(r.GAI_ERRNO_MESSAGES=function(){Ce("'GAI_ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"Protocols")||(r.Protocols=function(){Ce("'Protocols' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"Sockets")||(r.Sockets=function(){Ce("'Sockets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getRandomDevice")||(r.getRandomDevice=function(){Ce("'getRandomDevice' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"traverseStack")||(r.traverseStack=function(){Ce("'traverseStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"UNWIND_CACHE")||(r.UNWIND_CACHE=function(){Ce("'UNWIND_CACHE' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"withBuiltinMalloc")||(r.withBuiltinMalloc=function(){Ce("'withBuiltinMalloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"readAsmConstArgsArray")||(r.readAsmConstArgsArray=function(){Ce("'readAsmConstArgsArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"readAsmConstArgs")||(r.readAsmConstArgs=function(){Ce("'readAsmConstArgs' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"mainThreadEM_ASM")||(r.mainThreadEM_ASM=function(){Ce("'mainThreadEM_ASM' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"jstoi_q")||(r.jstoi_q=function(){Ce("'jstoi_q' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"jstoi_s")||(r.jstoi_s=function(){Ce("'jstoi_s' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getExecutableName")||(r.getExecutableName=function(){Ce("'getExecutableName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"listenOnce")||(r.listenOnce=function(){Ce("'listenOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"autoResumeAudioContext")||(r.autoResumeAudioContext=function(){Ce("'autoResumeAudioContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"dynCallLegacy")||(r.dynCallLegacy=function(){Ce("'dynCallLegacy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getDynCaller")||(r.getDynCaller=function(){Ce("'getDynCaller' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"dynCall")||(r.dynCall=function(){Ce("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"callRuntimeCallbacks")||(r.callRuntimeCallbacks=function(){Ce("'callRuntimeCallbacks' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"runtimeKeepalivePush")||(r.runtimeKeepalivePush=function(){Ce("'runtimeKeepalivePush' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"runtimeKeepalivePop")||(r.runtimeKeepalivePop=function(){Ce("'runtimeKeepalivePop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"callUserCallback")||(r.callUserCallback=function(){Ce("'callUserCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"maybeExit")||(r.maybeExit=function(){Ce("'maybeExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"safeSetTimeout")||(r.safeSetTimeout=function(){Ce("'safeSetTimeout' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"asmjsMangle")||(r.asmjsMangle=function(){Ce("'asmjsMangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"asyncLoad")||(r.asyncLoad=function(){Ce("'asyncLoad' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"alignMemory")||(r.alignMemory=function(){Ce("'alignMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"mmapAlloc")||(r.mmapAlloc=function(){Ce("'mmapAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"reallyNegative")||(r.reallyNegative=function(){Ce("'reallyNegative' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"unSign")||(r.unSign=function(){Ce("'unSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"reSign")||(r.reSign=function(){Ce("'reSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"formatString")||(r.formatString=function(){Ce("'formatString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"PATH")||(r.PATH=function(){Ce("'PATH' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"PATH_FS")||(r.PATH_FS=function(){Ce("'PATH_FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"SYSCALLS")||(r.SYSCALLS=function(){Ce("'SYSCALLS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"syscallMmap2")||(r.syscallMmap2=function(){Ce("'syscallMmap2' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"syscallMunmap")||(r.syscallMunmap=function(){Ce("'syscallMunmap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getSocketFromFD")||(r.getSocketFromFD=function(){Ce("'getSocketFromFD' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getSocketAddress")||(r.getSocketAddress=function(){Ce("'getSocketAddress' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"JSEvents")||(r.JSEvents=function(){Ce("'JSEvents' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerKeyEventCallback")||(r.registerKeyEventCallback=function(){Ce("'registerKeyEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"specialHTMLTargets")||(r.specialHTMLTargets=function(){Ce("'specialHTMLTargets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"findEventTarget")||(r.findEventTarget=function(){Ce("'findEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"findCanvasEventTarget")||(r.findCanvasEventTarget=function(){Ce("'findCanvasEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getBoundingClientRect")||(r.getBoundingClientRect=function(){Ce("'getBoundingClientRect' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillMouseEventData")||(r.fillMouseEventData=function(){Ce("'fillMouseEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerMouseEventCallback")||(r.registerMouseEventCallback=function(){Ce("'registerMouseEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerWheelEventCallback")||(r.registerWheelEventCallback=function(){Ce("'registerWheelEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerUiEventCallback")||(r.registerUiEventCallback=function(){Ce("'registerUiEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerFocusEventCallback")||(r.registerFocusEventCallback=function(){Ce("'registerFocusEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillDeviceOrientationEventData")||(r.fillDeviceOrientationEventData=function(){Ce("'fillDeviceOrientationEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerDeviceOrientationEventCallback")||(r.registerDeviceOrientationEventCallback=function(){Ce("'registerDeviceOrientationEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillDeviceMotionEventData")||(r.fillDeviceMotionEventData=function(){Ce("'fillDeviceMotionEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerDeviceMotionEventCallback")||(r.registerDeviceMotionEventCallback=function(){Ce("'registerDeviceMotionEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"screenOrientation")||(r.screenOrientation=function(){Ce("'screenOrientation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillOrientationChangeEventData")||(r.fillOrientationChangeEventData=function(){Ce("'fillOrientationChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerOrientationChangeEventCallback")||(r.registerOrientationChangeEventCallback=function(){Ce("'registerOrientationChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillFullscreenChangeEventData")||(r.fillFullscreenChangeEventData=function(){Ce("'fillFullscreenChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerFullscreenChangeEventCallback")||(r.registerFullscreenChangeEventCallback=function(){Ce("'registerFullscreenChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerRestoreOldStyle")||(r.registerRestoreOldStyle=function(){Ce("'registerRestoreOldStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"hideEverythingExceptGivenElement")||(r.hideEverythingExceptGivenElement=function(){Ce("'hideEverythingExceptGivenElement' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"restoreHiddenElements")||(r.restoreHiddenElements=function(){Ce("'restoreHiddenElements' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setLetterbox")||(r.setLetterbox=function(){Ce("'setLetterbox' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"currentFullscreenStrategy")||(r.currentFullscreenStrategy=function(){Ce("'currentFullscreenStrategy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"restoreOldWindowedStyle")||(r.restoreOldWindowedStyle=function(){Ce("'restoreOldWindowedStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"softFullscreenResizeWebGLRenderTarget")||(r.softFullscreenResizeWebGLRenderTarget=function(){Ce("'softFullscreenResizeWebGLRenderTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"doRequestFullscreen")||(r.doRequestFullscreen=function(){Ce("'doRequestFullscreen' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillPointerlockChangeEventData")||(r.fillPointerlockChangeEventData=function(){Ce("'fillPointerlockChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerPointerlockChangeEventCallback")||(r.registerPointerlockChangeEventCallback=function(){Ce("'registerPointerlockChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerPointerlockErrorEventCallback")||(r.registerPointerlockErrorEventCallback=function(){Ce("'registerPointerlockErrorEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"requestPointerLock")||(r.requestPointerLock=function(){Ce("'requestPointerLock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillVisibilityChangeEventData")||(r.fillVisibilityChangeEventData=function(){Ce("'fillVisibilityChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerVisibilityChangeEventCallback")||(r.registerVisibilityChangeEventCallback=function(){Ce("'registerVisibilityChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerTouchEventCallback")||(r.registerTouchEventCallback=function(){Ce("'registerTouchEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillGamepadEventData")||(r.fillGamepadEventData=function(){Ce("'fillGamepadEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerGamepadEventCallback")||(r.registerGamepadEventCallback=function(){Ce("'registerGamepadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerBeforeUnloadEventCallback")||(r.registerBeforeUnloadEventCallback=function(){Ce("'registerBeforeUnloadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillBatteryEventData")||(r.fillBatteryEventData=function(){Ce("'fillBatteryEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"battery")||(r.battery=function(){Ce("'battery' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerBatteryEventCallback")||(r.registerBatteryEventCallback=function(){Ce("'registerBatteryEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setCanvasElementSize")||(r.setCanvasElementSize=function(){Ce("'setCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getCanvasElementSize")||(r.getCanvasElementSize=function(){Ce("'getCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"polyfillSetImmediate")||(r.polyfillSetImmediate=function(){Ce("'polyfillSetImmediate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"demangle")||(r.demangle=function(){Ce("'demangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"demangleAll")||(r.demangleAll=function(){Ce("'demangleAll' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"jsStackTrace")||(r.jsStackTrace=function(){Ce("'jsStackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stackTrace")||(r.stackTrace=function(){Ce("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getEnvStrings")||(r.getEnvStrings=function(){Ce("'getEnvStrings' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"checkWasiClock")||(r.checkWasiClock=function(){Ce("'checkWasiClock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeI53ToI64")||(r.writeI53ToI64=function(){Ce("'writeI53ToI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeI53ToI64Clamped")||(r.writeI53ToI64Clamped=function(){Ce("'writeI53ToI64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeI53ToI64Signaling")||(r.writeI53ToI64Signaling=function(){Ce("'writeI53ToI64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeI53ToU64Clamped")||(r.writeI53ToU64Clamped=function(){Ce("'writeI53ToU64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeI53ToU64Signaling")||(r.writeI53ToU64Signaling=function(){Ce("'writeI53ToU64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"readI53FromI64")||(r.readI53FromI64=function(){Ce("'readI53FromI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"readI53FromU64")||(r.readI53FromU64=function(){Ce("'readI53FromU64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"convertI32PairToI53")||(r.convertI32PairToI53=function(){Ce("'convertI32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"convertU32PairToI53")||(r.convertU32PairToI53=function(){Ce("'convertU32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"uncaughtExceptionCount")||(r.uncaughtExceptionCount=function(){Ce("'uncaughtExceptionCount' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"exceptionLast")||(r.exceptionLast=function(){Ce("'exceptionLast' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"exceptionCaught")||(r.exceptionCaught=function(){Ce("'exceptionCaught' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ExceptionInfo")||(r.ExceptionInfo=function(){Ce("'ExceptionInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"CatchInfo")||(r.CatchInfo=function(){Ce("'CatchInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"exception_addRef")||(r.exception_addRef=function(){Ce("'exception_addRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"exception_decRef")||(r.exception_decRef=function(){Ce("'exception_decRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"Browser")||(r.Browser=function(){Ce("'Browser' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"funcWrappers")||(r.funcWrappers=function(){Ce("'funcWrappers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getFuncWrapper")||(r.getFuncWrapper=function(){Ce("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setMainLoop")||(r.setMainLoop=function(){Ce("'setMainLoop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"wget")||(r.wget=function(){Ce("'wget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"FS")||(r.FS=function(){Ce("'FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"MEMFS")||(r.MEMFS=function(){Ce("'MEMFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"TTY")||(r.TTY=function(){Ce("'TTY' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"PIPEFS")||(r.PIPEFS=function(){Ce("'PIPEFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"SOCKFS")||(r.SOCKFS=function(){Ce("'SOCKFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"_setNetworkCallback")||(r._setNetworkCallback=function(){Ce("'_setNetworkCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"tempFixedLengthArray")||(r.tempFixedLengthArray=function(){Ce("'tempFixedLengthArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"miniTempWebGLFloatBuffers")||(r.miniTempWebGLFloatBuffers=function(){Ce("'miniTempWebGLFloatBuffers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"heapObjectForWebGLType")||(r.heapObjectForWebGLType=function(){Ce("'heapObjectForWebGLType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"heapAccessShiftForWebGLHeap")||(r.heapAccessShiftForWebGLHeap=function(){Ce("'heapAccessShiftForWebGLHeap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),r.GL=Dr,Object.getOwnPropertyDescriptor(r,"emscriptenWebGLGet")||(r.emscriptenWebGLGet=function(){Ce("'emscriptenWebGLGet' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"computeUnpackAlignedImageSize")||(r.computeUnpackAlignedImageSize=function(){Ce("'computeUnpackAlignedImageSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emscriptenWebGLGetTexPixelData")||(r.emscriptenWebGLGetTexPixelData=function(){Ce("'emscriptenWebGLGetTexPixelData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emscriptenWebGLGetUniform")||(r.emscriptenWebGLGetUniform=function(){Ce("'emscriptenWebGLGetUniform' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"webglGetUniformLocation")||(r.webglGetUniformLocation=function(){Ce("'webglGetUniformLocation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"webglPrepareUniformLocationsBeforeFirstUse")||(r.webglPrepareUniformLocationsBeforeFirstUse=function(){Ce("'webglPrepareUniformLocationsBeforeFirstUse' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"webglGetLeftBracePos")||(r.webglGetLeftBracePos=function(){Ce("'webglGetLeftBracePos' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emscriptenWebGLGetVertexAttrib")||(r.emscriptenWebGLGetVertexAttrib=function(){Ce("'emscriptenWebGLGetVertexAttrib' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emscriptenWebGLGetBufferBinding")||(r.emscriptenWebGLGetBufferBinding=function(){Ce("'emscriptenWebGLGetBufferBinding' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emscriptenWebGLValidateMapBufferTarget")||(r.emscriptenWebGLValidateMapBufferTarget=function(){Ce("'emscriptenWebGLValidateMapBufferTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeGLArray")||(r.writeGLArray=function(){Ce("'writeGLArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"AL")||(r.AL=function(){Ce("'AL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"SDL_unicode")||(r.SDL_unicode=function(){Ce("'SDL_unicode' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"SDL_ttfContext")||(r.SDL_ttfContext=function(){Ce("'SDL_ttfContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"SDL_audio")||(r.SDL_audio=function(){Ce("'SDL_audio' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"SDL")||(r.SDL=function(){Ce("'SDL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"SDL_gfx")||(r.SDL_gfx=function(){Ce("'SDL_gfx' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"GLUT")||(r.GLUT=function(){Ce("'GLUT' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"EGL")||(r.EGL=function(){Ce("'EGL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"GLFW_Window")||(r.GLFW_Window=function(){Ce("'GLFW_Window' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"GLFW")||(r.GLFW=function(){Ce("'GLFW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"GLEW")||(r.GLEW=function(){Ce("'GLEW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"IDBStore")||(r.IDBStore=function(){Ce("'IDBStore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"runAndAbortIfError")||(r.runAndAbortIfError=function(){Ce("'runAndAbortIfError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emval_handle_array")||(r.emval_handle_array=function(){Ce("'emval_handle_array' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emval_free_list")||(r.emval_free_list=function(){Ce("'emval_free_list' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emval_symbols")||(r.emval_symbols=function(){Ce("'emval_symbols' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"init_emval")||(r.init_emval=function(){Ce("'init_emval' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"count_emval_handles")||(r.count_emval_handles=function(){Ce("'count_emval_handles' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"get_first_emval")||(r.get_first_emval=function(){Ce("'get_first_emval' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getStringOrSymbol")||(r.getStringOrSymbol=function(){Ce("'getStringOrSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"requireHandle")||(r.requireHandle=function(){Ce("'requireHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emval_newers")||(r.emval_newers=function(){Ce("'emval_newers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"craftEmvalAllocator")||(r.craftEmvalAllocator=function(){Ce("'craftEmvalAllocator' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emval_get_global")||(r.emval_get_global=function(){Ce("'emval_get_global' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emval_methodCallers")||(r.emval_methodCallers=function(){Ce("'emval_methodCallers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"InternalError")||(r.InternalError=function(){Ce("'InternalError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"BindingError")||(r.BindingError=function(){Ce("'BindingError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"UnboundTypeError")||(r.UnboundTypeError=function(){Ce("'UnboundTypeError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"PureVirtualError")||(r.PureVirtualError=function(){Ce("'PureVirtualError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"init_embind")||(r.init_embind=function(){Ce("'init_embind' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"throwInternalError")||(r.throwInternalError=function(){Ce("'throwInternalError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"throwBindingError")||(r.throwBindingError=function(){Ce("'throwBindingError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"throwUnboundTypeError")||(r.throwUnboundTypeError=function(){Ce("'throwUnboundTypeError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ensureOverloadTable")||(r.ensureOverloadTable=function(){Ce("'ensureOverloadTable' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"exposePublicSymbol")||(r.exposePublicSymbol=function(){Ce("'exposePublicSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"replacePublicSymbol")||(r.replacePublicSymbol=function(){Ce("'replacePublicSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"extendError")||(r.extendError=function(){Ce("'extendError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"createNamedFunction")||(r.createNamedFunction=function(){Ce("'createNamedFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registeredInstances")||(r.registeredInstances=function(){Ce("'registeredInstances' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getBasestPointer")||(r.getBasestPointer=function(){Ce("'getBasestPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerInheritedInstance")||(r.registerInheritedInstance=function(){Ce("'registerInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"unregisterInheritedInstance")||(r.unregisterInheritedInstance=function(){Ce("'unregisterInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getInheritedInstance")||(r.getInheritedInstance=function(){Ce("'getInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getInheritedInstanceCount")||(r.getInheritedInstanceCount=function(){Ce("'getInheritedInstanceCount' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getLiveInheritedInstances")||(r.getLiveInheritedInstances=function(){Ce("'getLiveInheritedInstances' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registeredTypes")||(r.registeredTypes=function(){Ce("'registeredTypes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"awaitingDependencies")||(r.awaitingDependencies=function(){Ce("'awaitingDependencies' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"typeDependencies")||(r.typeDependencies=function(){Ce("'typeDependencies' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registeredPointers")||(r.registeredPointers=function(){Ce("'registeredPointers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerType")||(r.registerType=function(){Ce("'registerType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"whenDependentTypesAreResolved")||(r.whenDependentTypesAreResolved=function(){Ce("'whenDependentTypesAreResolved' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"embind_charCodes")||(r.embind_charCodes=function(){Ce("'embind_charCodes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"embind_init_charCodes")||(r.embind_init_charCodes=function(){Ce("'embind_init_charCodes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"readLatin1String")||(r.readLatin1String=function(){Ce("'readLatin1String' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getTypeName")||(r.getTypeName=function(){Ce("'getTypeName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"heap32VectorToArray")||(r.heap32VectorToArray=function(){Ce("'heap32VectorToArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"requireRegisteredType")||(r.requireRegisteredType=function(){Ce("'requireRegisteredType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getShiftFromSize")||(r.getShiftFromSize=function(){Ce("'getShiftFromSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"integerReadValueFromPointer")||(r.integerReadValueFromPointer=function(){Ce("'integerReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"enumReadValueFromPointer")||(r.enumReadValueFromPointer=function(){Ce("'enumReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"floatReadValueFromPointer")||(r.floatReadValueFromPointer=function(){Ce("'floatReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"simpleReadValueFromPointer")||(r.simpleReadValueFromPointer=function(){Ce("'simpleReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"runDestructors")||(r.runDestructors=function(){Ce("'runDestructors' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"new_")||(r.new_=function(){Ce("'new_' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"craftInvokerFunction")||(r.craftInvokerFunction=function(){Ce("'craftInvokerFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"embind__requireFunction")||(r.embind__requireFunction=function(){Ce("'embind__requireFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"tupleRegistrations")||(r.tupleRegistrations=function(){Ce("'tupleRegistrations' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"structRegistrations")||(r.structRegistrations=function(){Ce("'structRegistrations' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"genericPointerToWireType")||(r.genericPointerToWireType=function(){Ce("'genericPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"constNoSmartPtrRawPointerToWireType")||(r.constNoSmartPtrRawPointerToWireType=function(){Ce("'constNoSmartPtrRawPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"nonConstNoSmartPtrRawPointerToWireType")||(r.nonConstNoSmartPtrRawPointerToWireType=function(){Ce("'nonConstNoSmartPtrRawPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"init_RegisteredPointer")||(r.init_RegisteredPointer=function(){Ce("'init_RegisteredPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"RegisteredPointer")||(r.RegisteredPointer=function(){Ce("'RegisteredPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"RegisteredPointer_getPointee")||(r.RegisteredPointer_getPointee=function(){Ce("'RegisteredPointer_getPointee' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"RegisteredPointer_destructor")||(r.RegisteredPointer_destructor=function(){Ce("'RegisteredPointer_destructor' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"RegisteredPointer_deleteObject")||(r.RegisteredPointer_deleteObject=function(){Ce("'RegisteredPointer_deleteObject' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"RegisteredPointer_fromWireType")||(r.RegisteredPointer_fromWireType=function(){Ce("'RegisteredPointer_fromWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"runDestructor")||(r.runDestructor=function(){Ce("'runDestructor' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"releaseClassHandle")||(r.releaseClassHandle=function(){Ce("'releaseClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"finalizationGroup")||(r.finalizationGroup=function(){Ce("'finalizationGroup' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"detachFinalizer_deps")||(r.detachFinalizer_deps=function(){Ce("'detachFinalizer_deps' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"detachFinalizer")||(r.detachFinalizer=function(){Ce("'detachFinalizer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"attachFinalizer")||(r.attachFinalizer=function(){Ce("'attachFinalizer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"makeClassHandle")||(r.makeClassHandle=function(){Ce("'makeClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"init_ClassHandle")||(r.init_ClassHandle=function(){Ce("'init_ClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ClassHandle")||(r.ClassHandle=function(){Ce("'ClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ClassHandle_isAliasOf")||(r.ClassHandle_isAliasOf=function(){Ce("'ClassHandle_isAliasOf' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"throwInstanceAlreadyDeleted")||(r.throwInstanceAlreadyDeleted=function(){Ce("'throwInstanceAlreadyDeleted' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ClassHandle_clone")||(r.ClassHandle_clone=function(){Ce("'ClassHandle_clone' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ClassHandle_delete")||(r.ClassHandle_delete=function(){Ce("'ClassHandle_delete' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"deletionQueue")||(r.deletionQueue=function(){Ce("'deletionQueue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ClassHandle_isDeleted")||(r.ClassHandle_isDeleted=function(){Ce("'ClassHandle_isDeleted' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ClassHandle_deleteLater")||(r.ClassHandle_deleteLater=function(){Ce("'ClassHandle_deleteLater' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"flushPendingDeletes")||(r.flushPendingDeletes=function(){Ce("'flushPendingDeletes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"delayFunction")||(r.delayFunction=function(){Ce("'delayFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setDelayFunction")||(r.setDelayFunction=function(){Ce("'setDelayFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"RegisteredClass")||(r.RegisteredClass=function(){Ce("'RegisteredClass' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"shallowCopyInternalPointer")||(r.shallowCopyInternalPointer=function(){Ce("'shallowCopyInternalPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"downcastPointer")||(r.downcastPointer=function(){Ce("'downcastPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"upcastPointer")||(r.upcastPointer=function(){Ce("'upcastPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"validateThis")||(r.validateThis=function(){Ce("'validateThis' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"char_0")||(r.char_0=function(){Ce("'char_0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"char_9")||(r.char_9=function(){Ce("'char_9' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"makeLegalFunctionName")||(r.makeLegalFunctionName=function(){Ce("'makeLegalFunctionName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emscriptenWebGLGetIndexed")||(r.emscriptenWebGLGetIndexed=function(){Ce("'emscriptenWebGLGetIndexed' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"warnOnce")||(r.warnOnce=function(){Ce("'warnOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stackSave")||(r.stackSave=function(){Ce("'stackSave' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stackRestore")||(r.stackRestore=function(){Ce("'stackRestore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stackAlloc")||(r.stackAlloc=function(){Ce("'stackAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"AsciiToString")||(r.AsciiToString=function(){Ce("'AsciiToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stringToAscii")||(r.stringToAscii=function(){Ce("'stringToAscii' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"UTF16ToString")||(r.UTF16ToString=function(){Ce("'UTF16ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stringToUTF16")||(r.stringToUTF16=function(){Ce("'stringToUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"lengthBytesUTF16")||(r.lengthBytesUTF16=function(){Ce("'lengthBytesUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"UTF32ToString")||(r.UTF32ToString=function(){Ce("'UTF32ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stringToUTF32")||(r.stringToUTF32=function(){Ce("'stringToUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"lengthBytesUTF32")||(r.lengthBytesUTF32=function(){Ce("'lengthBytesUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"allocateUTF8")||(r.allocateUTF8=function(){Ce("'allocateUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"allocateUTF8OnStack")||(r.allocateUTF8OnStack=function(){Ce("'allocateUTF8OnStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),r.writeStackCookie=oe,r.checkStackCookie=ie,Object.getOwnPropertyDescriptor(r,"ALLOC_NORMAL")||Object.defineProperty(r,"ALLOC_NORMAL",{configurable:!0,get(){Ce("'ALLOC_NORMAL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),Object.getOwnPropertyDescriptor(r,"ALLOC_STACK")||Object.defineProperty(r,"ALLOC_STACK",{configurable:!0,get(){Ce("'ALLOC_STACK' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),fe=function e(){wn||Dn(),wn||(fe=e)},r.run=Dn,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();return Dn(),t.ready}}(),selfie_segmentation_solution_simd_wasm_bin_default=createMediapipeSolutionsWasm,createMediapipeSolutionsWasm2=function(){var e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(e=e||__filename),function(t){var r,n,o=void 0!==(t=t||{})?t:{};o.ready=new Promise((function(e,t){r=e,n=t})),Object.getOwnPropertyDescriptor(o.ready,"_main")||(Object.defineProperty(o.ready,"_main",{configurable:!0,get:function(){me("You are getting _main on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_main",{configurable:!0,set:function(){me("You are setting _main on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_stack_get_end")||(Object.defineProperty(o.ready,"_emscripten_stack_get_end",{configurable:!0,get:function(){me("You are getting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_stack_get_end",{configurable:!0,set:function(){me("You are setting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_stack_get_free")||(Object.defineProperty(o.ready,"_emscripten_stack_get_free",{configurable:!0,get:function(){me("You are getting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_stack_get_free",{configurable:!0,set:function(){me("You are setting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_stack_init")||(Object.defineProperty(o.ready,"_emscripten_stack_init",{configurable:!0,get:function(){me("You are getting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_stack_init",{configurable:!0,set:function(){me("You are setting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_stackSave")||(Object.defineProperty(o.ready,"_stackSave",{configurable:!0,get:function(){me("You are getting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_stackSave",{configurable:!0,set:function(){me("You are setting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_stackRestore")||(Object.defineProperty(o.ready,"_stackRestore",{configurable:!0,get:function(){me("You are getting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_stackRestore",{configurable:!0,set:function(){me("You are setting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_stackAlloc")||(Object.defineProperty(o.ready,"_stackAlloc",{configurable:!0,get:function(){me("You are getting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_stackAlloc",{configurable:!0,set:function(){me("You are setting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"___wasm_call_ctors")||(Object.defineProperty(o.ready,"___wasm_call_ctors",{configurable:!0,get:function(){me("You are getting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"___wasm_call_ctors",{configurable:!0,set:function(){me("You are setting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_fflush")||(Object.defineProperty(o.ready,"_fflush",{configurable:!0,get:function(){me("You are getting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_fflush",{configurable:!0,set:function(){me("You are setting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"___errno_location")||(Object.defineProperty(o.ready,"___errno_location",{configurable:!0,get:function(){me("You are getting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"___errno_location",{configurable:!0,set:function(){me("You are setting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_malloc")||(Object.defineProperty(o.ready,"_malloc",{configurable:!0,get:function(){me("You are getting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_malloc",{configurable:!0,set:function(){me("You are setting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_free")||(Object.defineProperty(o.ready,"_free",{configurable:!0,get:function(){me("You are getting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_free",{configurable:!0,set:function(){me("You are setting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_setThrew")||(Object.defineProperty(o.ready,"_setThrew",{configurable:!0,get:function(){me("You are getting _setThrew on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_setThrew",{configurable:!0,set:function(){me("You are setting _setThrew on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"___cxa_is_pointer_type")||(Object.defineProperty(o.ready,"___cxa_is_pointer_type",{configurable:!0,get:function(){me("You are getting ___cxa_is_pointer_type on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"___cxa_is_pointer_type",{configurable:!0,set:function(){me("You are setting ___cxa_is_pointer_type on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"___cxa_can_catch")||(Object.defineProperty(o.ready,"___cxa_can_catch",{configurable:!0,get:function(){me("You are getting ___cxa_can_catch on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"___cxa_can_catch",{configurable:!0,set:function(){me("You are setting ___cxa_can_catch on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_saveSetjmp")||(Object.defineProperty(o.ready,"_saveSetjmp",{configurable:!0,get:function(){me("You are getting _saveSetjmp on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_saveSetjmp",{configurable:!0,set:function(){me("You are setting _saveSetjmp on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_memalign")||(Object.defineProperty(o.ready,"_memalign",{configurable:!0,get:function(){me("You are getting _memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_memalign",{configurable:!0,set:function(){me("You are setting _memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_main_thread_process_queued_calls")||(Object.defineProperty(o.ready,"_emscripten_main_thread_process_queued_calls",{configurable:!0,get:function(){me("You are getting _emscripten_main_thread_process_queued_calls on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_main_thread_process_queued_calls",{configurable:!0,set:function(){me("You are setting _emscripten_main_thread_process_queued_calls on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_webgl_make_context_current")||(Object.defineProperty(o.ready,"_emscripten_webgl_make_context_current",{configurable:!0,get:function(){me("You are getting _emscripten_webgl_make_context_current on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_webgl_make_context_current",{configurable:!0,set:function(){me("You are setting _emscripten_webgl_make_context_current on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_webgl_get_current_context")||(Object.defineProperty(o.ready,"_emscripten_webgl_get_current_context",{configurable:!0,get:function(){me("You are getting _emscripten_webgl_get_current_context on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_webgl_get_current_context",{configurable:!0,set:function(){me("You are setting _emscripten_webgl_get_current_context on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"__get_tzname")||(Object.defineProperty(o.ready,"__get_tzname",{configurable:!0,get:function(){me("You are getting __get_tzname on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"__get_tzname",{configurable:!0,set:function(){me("You are setting __get_tzname on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"__get_daylight")||(Object.defineProperty(o.ready,"__get_daylight",{configurable:!0,get:function(){me("You are getting __get_daylight on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"__get_daylight",{configurable:!0,set:function(){me("You are setting __get_daylight on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"__get_timezone")||(Object.defineProperty(o.ready,"__get_timezone",{configurable:!0,get:function(){me("You are getting __get_timezone on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"__get_timezone",{configurable:!0,set:function(){me("You are setting __get_timezone on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_builtin_malloc")||(Object.defineProperty(o.ready,"_emscripten_builtin_malloc",{configurable:!0,get:function(){me("You are getting _emscripten_builtin_malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_builtin_malloc",{configurable:!0,set:function(){me("You are setting _emscripten_builtin_malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_builtin_free")||(Object.defineProperty(o.ready,"_emscripten_builtin_free",{configurable:!0,get:function(){me("You are getting _emscripten_builtin_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_builtin_free",{configurable:!0,set:function(){me("You are setting _emscripten_builtin_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_builtin_memalign")||(Object.defineProperty(o.ready,"_emscripten_builtin_memalign",{configurable:!0,get:function(){me("You are getting _emscripten_builtin_memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_builtin_memalign",{configurable:!0,set:function(){me("You are setting _emscripten_builtin_memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"___getTypeName")||(Object.defineProperty(o.ready,"___getTypeName",{configurable:!0,get:function(){me("You are getting ___getTypeName on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"___getTypeName",{configurable:!0,set:function(){me("You are setting ___getTypeName on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"___embind_register_native_and_builtin_types")||(Object.defineProperty(o.ready,"___embind_register_native_and_builtin_types",{configurable:!0,get:function(){me("You are getting ___embind_register_native_and_builtin_types on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"___embind_register_native_and_builtin_types",{configurable:!0,set:function(){me("You are setting ___embind_register_native_and_builtin_types on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"onRuntimeInitialized")||(Object.defineProperty(o.ready,"onRuntimeInitialized",{configurable:!0,get:function(){me("You are getting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"onRuntimeInitialized",{configurable:!0,set:function(){me("You are setting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}));var i,a={};for(i in o)o.hasOwnProperty(i)&&(a[i]=o[i]);var s=[],A="./this.program",c=function(e,t){throw t},g="object"==typeof window,d="function"==typeof importScripts,u="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,l=!g&&!u&&!d;if(o.ENVIRONMENT)throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -s ENVIRONMENT=web or -s ENVIRONMENT=node)");var E,f,p,h="";if(!g&&!d)throw new Error("environment detection error");if(d?h=self.location.href:"undefined"!=typeof document&&document.currentScript&&(h=document.currentScript.src),e&&(h=e),h=0!==h.indexOf("blob:")?h.substr(0,h.lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");E=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},d&&(p=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),f=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)};var I=o.print||console.log.bind(console),m=o.printErr||console.warn.bind(console);for(i in a)a.hasOwnProperty(i)&&(o[i]=a[i]);function C(e){C.shown||(C.shown={}),C.shown[e]||(C.shown[e]=1,m(e))}a=null,o.arguments&&(s=o.arguments),Object.getOwnPropertyDescriptor(o,"arguments")||Object.defineProperty(o,"arguments",{configurable:!0,get:function(){me("Module.arguments has been replaced with plain arguments_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),o.thisProgram&&(A=o.thisProgram),Object.getOwnPropertyDescriptor(o,"thisProgram")||Object.defineProperty(o,"thisProgram",{configurable:!0,get:function(){me("Module.thisProgram has been replaced with plain thisProgram (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),o.quit&&(c=o.quit),Object.getOwnPropertyDescriptor(o,"quit")||Object.defineProperty(o,"quit",{configurable:!0,get:function(){me("Module.quit has been replaced with plain quit_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Q(void 0===o.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),Q(void 0===o.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),Q(void 0===o.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),Q(void 0===o.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),Q(void 0===o.read,"Module.read option was removed (modify read_ in JS)"),Q(void 0===o.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),Q(void 0===o.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),Q(void 0===o.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),Q(void 0===o.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),Object.getOwnPropertyDescriptor(o,"read")||Object.defineProperty(o,"read",{configurable:!0,get:function(){me("Module.read has been replaced with plain read_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(o,"readAsync")||Object.defineProperty(o,"readAsync",{configurable:!0,get:function(){me("Module.readAsync has been replaced with plain readAsync (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(o,"readBinary")||Object.defineProperty(o,"readBinary",{configurable:!0,get:function(){me("Module.readBinary has been replaced with plain readBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(o,"setWindowTitle")||Object.defineProperty(o,"setWindowTitle",{configurable:!0,get:function(){me("Module.setWindowTitle has been replaced with plain setWindowTitle (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Q(!l,"shell environment detected but not enabled at build time. Add 'shell' to `-s ENVIRONMENT` to enable.");var y,_=0,w=function(e){_=e};o.wasmBinary&&(y=o.wasmBinary),Object.getOwnPropertyDescriptor(o,"wasmBinary")||Object.defineProperty(o,"wasmBinary",{configurable:!0,get:function(){me("Module.wasmBinary has been replaced with plain wasmBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}});var B,D=o.noExitRuntime||!0;Object.getOwnPropertyDescriptor(o,"noExitRuntime")||Object.defineProperty(o,"noExitRuntime",{configurable:!0,get:function(){me("Module.noExitRuntime has been replaced with plain noExitRuntime (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),"object"!=typeof WebAssembly&&me("no native wasm support detected");var O,b=!1;function Q(e,t){e||me("Assertion failed: "+t)}var T="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function v(e,t,r){for(var n=t+r,o=t;e[o]&&!(o>=n);)++o;if(o-t>16&&e.subarray&&T)return T.decode(e.subarray(t,o));for(var i="";t<o;){var a=e[t++];if(128&a){var s=63&e[t++];if(192!=(224&a)){var A=63&e[t++];if(224==(240&a)?a=(15&a)<<12|s<<6|A:(240!=(248&a)&&C("Invalid UTF-8 leading byte 0x"+a.toString(16)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),a=(7&a)<<18|s<<12|A<<6|63&e[t++]),a<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i}function P(e,t){return e?v(k,e,t):""}function R(e,t,r,n){if(!(n>0))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<=57343)s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a);if(s<=127){if(r>=i)break;t[r++]=s}else if(s<=2047){if(r+1>=i)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=i)break;s>=2097152&&C("Invalid Unicode code point 0x"+s.toString(16)+" encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x1FFFFF)."),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 M(e,t,r){return Q("number"==typeof r,"stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),R(e,k,t,r)}function S(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}var F,N,k,x,U,j,L,H,G,Y="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function X(e,t){Q(e%2==0,"Pointer passed to UTF16ToString must be aligned to two bytes!");for(var r=e,n=r>>1,o=n+t/2;!(n>=o)&&U[n];)++n;if((r=n<<1)-e>32&&Y)return Y.decode(k.subarray(e,r));for(var i="",a=0;!(a>=t/2);++a){var s=x[e+2*a>>1];if(0==s)break;i+=String.fromCharCode(s)}return i}function V(e,t,r){if(Q(t%2==0,"Pointer passed to stringToUTF16 must be aligned to two bytes!"),Q("number"==typeof r,"stringToUTF16(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),void 0===r&&(r=2147483647),r<2)return 0;for(var n=t,o=(r-=2)<2*e.length?r/2:e.length,i=0;i<o;++i){var a=e.charCodeAt(i);x[t>>1]=a,t+=2}return x[t>>1]=0,t-n}function W(e){return 2*e.length}function z(e,t){Q(e%4==0,"Pointer passed to UTF32ToString must be aligned to four bytes!");for(var r=0,n="";!(r>=t/4);){var o=j[e+4*r>>2];if(0==o)break;if(++r,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n}function $(e,t,r){if(Q(t%4==0,"Pointer passed to stringToUTF32 must be aligned to four bytes!"),Q("number"==typeof r,"stringToUTF32(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),void 0===r&&(r=2147483647),r<4)return 0;for(var n=t,o=n+r-4,i=0;i<e.length;++i){var a=e.charCodeAt(i);if(a>=55296&&a<=57343)a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i);if(j[t>>2]=a,(t+=4)+4>o)break}return j[t>>2]=0,t-n}function K(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&++r,t+=4}return t}function J(e){var t=S(e)+1,r=un(t);return r&&R(e,N,r,t),r}function Z(e,t){Q(e.length>=0,"writeArrayToMemory array must have a length (should be an array or typed array)"),N.set(e,t)}function q(e){F=e,o.HEAP8=N=new Int8Array(e),o.HEAP16=x=new Int16Array(e),o.HEAP32=j=new Int32Array(e),o.HEAPU8=k=new Uint8Array(e),o.HEAPU16=U=new Uint16Array(e),o.HEAPU32=L=new Uint32Array(e),o.HEAPF32=H=new Float32Array(e),o.HEAPF64=G=new Float64Array(e)}var ee=5242880;o.TOTAL_STACK&&Q(ee===o.TOTAL_STACK,"the stack size can no longer be determined at runtime");var te,re=o.INITIAL_MEMORY||16777216;function ne(){var e=fn();Q(!(3&e)),L[1+(e>>2)]=34821223,L[2+(e>>2)]=2310721022,j[0]=1668509029}function oe(){if(!b){var e=fn(),t=L[1+(e>>2)],r=L[2+(e>>2)];34821223==t&&2310721022==r||me("Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x2135467, but received 0x"+r.toString(16)+" "+t.toString(16)),1668509029!==j[0]&&me("Runtime error: The application has corrupted its heap memory area (address zero)!")}}Object.getOwnPropertyDescriptor(o,"INITIAL_MEMORY")||Object.defineProperty(o,"INITIAL_MEMORY",{configurable:!0,get:function(){me("Module.INITIAL_MEMORY has been replaced with plain INITIAL_MEMORY (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Q(re>=ee,"INITIAL_MEMORY should be larger than TOTAL_STACK, was "+re+"! (TOTAL_STACK="+ee+")"),Q("undefined"!=typeof Int32Array&&"undefined"!=typeof Float64Array&&void 0!==Int32Array.prototype.subarray&&void 0!==Int32Array.prototype.set,"JS engine does not provide full typed array support"),Q(!o.wasmMemory,"Use of `wasmMemory` detected. Use -s IMPORTED_MEMORY to define wasmMemory externally"),Q(16777216==re,"Detected runtime INITIAL_MEMORY setting. Use -s IMPORTED_MEMORY to define wasmMemory dynamically"),function(){var e=new Int16Array(1),t=new Int8Array(e.buffer);if(e[0]=25459,115!==t[0]||99!==t[1])throw"Runtime error: expected the system to be little-endian! (Run with -s SUPPORT_BIG_ENDIAN=1 to bypass)"}();var ie=[],ae=[],se=[],Ae=[],ce=!1,ge=!1;function de(){return D||!1}Q(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),Q(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),Q(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),Q(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var ue=0,le=null,Ee=null,fe={};function pe(e){for(var t=e;;){if(!fe[e])return e;e=t+Math.random()}}function he(e){ue++,o.monitorRunDependencies&&o.monitorRunDependencies(ue),e?(Q(!fe[e]),fe[e]=1,null===le&&"undefined"!=typeof setInterval&&(le=setInterval((function(){if(b)return clearInterval(le),void(le=null);var e=!1;for(var t in fe)e||(e=!0,m("still waiting on run dependencies:")),m("dependency: "+t);e&&m("(end of list)")}),1e4))):m("warning: run dependency added without ID")}function Ie(e){if(ue--,o.monitorRunDependencies&&o.monitorRunDependencies(ue),e?(Q(fe[e]),delete fe[e]):m("warning: run dependency removed without ID"),0==ue&&(null!==le&&(clearInterval(le),le=null),Ee)){var t=Ee;Ee=null,t()}}function me(e){o.onAbort&&o.onAbort(e),m(e+=""),b=!0,O=1;var t="abort("+e+") at "+function(){var e=function(){var e=new Error;if(!e.stack){try{throw new Error}catch(t){e=t}if(!e.stack)return"(no stack trace available)"}return e.stack.toString()}();o.extraStackTrace&&(e+="\n"+o.extraStackTrace());return ke(e)}();e=t;var r=new WebAssembly.RuntimeError(e);throw n(r),r}o.preloadedImages={},o.preloadedAudios={};var Ce,ye,_e,we;function Be(e){return e.startsWith("data:application/octet-stream;base64,")}function De(e){return e.startsWith("file://")}function Oe(e,t){return function(){var r=e,n=t;return t||(n=o.asm),Q(ce,"native function `"+r+"` called before runtime initialization"),Q(!ge,"native function `"+r+"` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),n[e]||Q(n[e],"exported native function `"+r+"` not found"),n[e].apply(null,arguments)}}function be(e){try{if(e==Ce&&y)return new Uint8Array(y);if(p)return p(e);throw"both async and sync fetching of the wasm failed"}catch(e){me(e)}}Be(Ce="selfie_segmentation_solution_wasm_bin.wasm")||(ye=Ce,Ce=o.locateFile?o.locateFile(ye,h):h+ye);var Qe,Te={460976:function(){let e=!0;if(e){const t=Pr;if("function"!=typeof t)return void("undefined"!=typeof console&&console.error('Expected Emscripten global function "findCanvasEventTarget" not found. WebGL context creation may fail.'));Pr=function(e){if(0==e){if(o&&o.canvas)return o.canvas;if(o&&o.canvasCssSelector)return t(o.canvasCssSelector);"undefined"!=typeof console&&console.warn("Module properties canvas and canvasCssSelector not found during WebGL context creation.")}return t(e)},e=!1}},461761:function(){return"undefined"!=typeof wasmOffsetConverter}};function ve(e,t){if(Fe.mainLoop.timingMode=e,Fe.mainLoop.timingValue=t,!Fe.mainLoop.func)return m("emscripten_set_main_loop_timing: Cannot set timing mode for main loop since a main loop does not exist! Call emscripten_set_main_loop first to set one up."),1;if(Fe.mainLoop.running||(Fe.mainLoop.running=!0),0==e)Fe.mainLoop.scheduler=function(){var e=0|Math.max(0,Fe.mainLoop.tickStartTime+t-Qe());setTimeout(Fe.mainLoop.runner,e)},Fe.mainLoop.method="timeout";else if(1==e)Fe.mainLoop.scheduler=function(){Fe.requestAnimationFrame(Fe.mainLoop.runner)},Fe.mainLoop.method="rAF";else if(2==e){if("undefined"==typeof setImmediate){var r=[],n="setimmediate";addEventListener("message",(function(e){e.data!==n&&e.data.target!==n||(e.stopPropagation(),r.shift()())}),!0),setImmediate=function(e){r.push(e),d?(void 0===o.setImmediates&&(o.setImmediates=[]),o.setImmediates.push(e),postMessage({target:n})):postMessage(n,"*")}}Fe.mainLoop.scheduler=function(){setImmediate(Fe.mainLoop.runner)},Fe.mainLoop.method="immediate"}return 0}function Pe(e){!function(e,t){if(O=e,function(){var e=I,t=m,r=!1;I=m=function(e){r=!0};try{var n=o._fflush;n&&n(0),["stdout","stderr"].forEach((function(e){var t=Ze.analyzePath("/dev/"+e);if(t){var n=t.object.rdev,o=We.ttys[n];o&&o.output&&o.output.length&&(r=!0)}}))}catch(e){}I=e,m=t,r&&C("stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the FAQ), or make sure to emit a newline when you printf etc.")}(),de()){if(!t){var r="program exited (with status: "+e+"), but EXIT_RUNTIME is not set, so halting execution but not exiting the runtime or preventing further async execution (build with EXIT_RUNTIME=1, if you want a true shutdown)";n(r),m(r)}}else oe(),ge=!0;Qn(e)}(e)}function Re(e,t,r,n,i){Q(!Fe.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters."),Fe.mainLoop.func=e,Fe.mainLoop.arg=n;var a=Fe.mainLoop.currentlyRunningMainloop;function s(){return!(a<Fe.mainLoop.currentlyRunningMainloop)||(function(){if(!de())try{Pe(O)}catch(e){if(e instanceof On)return;throw e}}(),!1)}if(Fe.mainLoop.running=!1,Fe.mainLoop.runner=function(){if(!b)if(Fe.mainLoop.queue.length>0){var t=Date.now(),r=Fe.mainLoop.queue.shift();if(r.func(r.arg),Fe.mainLoop.remainingBlockers){var n=Fe.mainLoop.remainingBlockers,i=n%1==0?n-1:Math.floor(n);r.counted?Fe.mainLoop.remainingBlockers=i:(i+=.5,Fe.mainLoop.remainingBlockers=(8*n+i)/9)}if(I('main loop blocker "'+r.name+'" took '+(Date.now()-t)+" ms"),Fe.mainLoop.updateStatus(),!s())return;setTimeout(Fe.mainLoop.runner,0)}else s()&&(Fe.mainLoop.currentFrameNumber=Fe.mainLoop.currentFrameNumber+1|0,1==Fe.mainLoop.timingMode&&Fe.mainLoop.timingValue>1&&Fe.mainLoop.currentFrameNumber%Fe.mainLoop.timingValue!=0?Fe.mainLoop.scheduler():(0==Fe.mainLoop.timingMode&&(Fe.mainLoop.tickStartTime=Qe()),br.newRenderingFrameStarted(),void 0!==br&&br.currentContext&&!br.currentContextIsProxied&&!br.currentContext.attributes.explicitSwapControl&&br.currentContext.GLctx.commit&&br.currentContext.GLctx.commit(),"timeout"===Fe.mainLoop.method&&o.ctx&&(C("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!"),Fe.mainLoop.method=""),Fe.mainLoop.runIter(e),oe(),s()&&("object"==typeof SDL&&SDL.audio&&SDL.audio.queueNewAudioData&&SDL.audio.queueNewAudioData(),Fe.mainLoop.scheduler())))},i||(t&&t>0?ve(0,1e3/t):ve(1,1),Fe.mainLoop.scheduler()),r)throw"unwind"}function Me(e,t){if(b)m("user callback triggered after application aborted. Ignoring.");else if(t)e();else try{e()}catch(e){if(e instanceof On)return;if("unwind"!==e)throw e&&"object"==typeof e&&e.stack&&m("exception thrown: "+[e,e.stack]),e}}function Se(e,t){return setTimeout((function(){Me(e)}),t)}Qe=u?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:function(){return performance.now()};var Fe={mainLoop:{running:!1,scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Fe.mainLoop.scheduler=null,Fe.mainLoop.currentlyRunningMainloop++},resume:function(){Fe.mainLoop.currentlyRunningMainloop++;var e=Fe.mainLoop.timingMode,t=Fe.mainLoop.timingValue,r=Fe.mainLoop.func;Fe.mainLoop.func=null,Re(r,0,!1,Fe.mainLoop.arg,!0),ve(e,t),Fe.mainLoop.scheduler()},updateStatus:function(){if(o.setStatus){var e=o.statusMessage||"Please wait...",t=Fe.mainLoop.remainingBlockers,r=Fe.mainLoop.expectedBlockers;t?t<r?o.setStatus(e+" ("+(r-t)+"/"+r+")"):o.setStatus(e):o.setStatus("")}},runIter:function(e){if(!b){if(o.preMainLoop)if(!1===o.preMainLoop())return;Me(e),o.postMainLoop&&o.postMainLoop()}}},isFullscreen:!1,pointerLock:!1,moduleContextCreatedCallbacks:[],workers:[],init:function(){if(o.preloadPlugins||(o.preloadPlugins=[]),!Fe.initted){Fe.initted=!0;try{new Blob,Fe.hasBlobConstructor=!0}catch(e){Fe.hasBlobConstructor=!1,I("warning: no blob constructor, cannot create blobs with mimetypes")}Fe.BlobBuilder="undefined"!=typeof MozBlobBuilder?MozBlobBuilder:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:Fe.hasBlobConstructor?null:I("warning: no BlobBuilder"),Fe.URLObject="undefined"!=typeof window?window.URL?window.URL:window.webkitURL:void 0,o.noImageDecoding||void 0!==Fe.URLObject||(I("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available."),o.noImageDecoding=!0);var e={canHandle:function(e){return!o.noImageDecoding&&/\.(jpg|jpeg|png|bmp)$/i.test(e)},handle:function(e,t,r,n){var i=null;if(Fe.hasBlobConstructor)try{(i=new Blob([e],{type:Fe.getMimetype(t)})).size!==e.length&&(i=new Blob([new Uint8Array(e).buffer],{type:Fe.getMimetype(t)}))}catch(e){C("Blob constructor present but fails: "+e+"; falling back to blob builder")}if(!i){var a=new Fe.BlobBuilder;a.append(new Uint8Array(e).buffer),i=a.getBlob()}var s=Fe.URLObject.createObjectURL(i);Q("string"==typeof s,"createObjectURL must return a url as a string");var A=new Image;A.onload=function(){Q(A.complete,"Image "+t+" could not be decoded");var n=document.createElement("canvas");n.width=A.width,n.height=A.height,n.getContext("2d").drawImage(A,0,0),o.preloadedImages[t]=n,Fe.URLObject.revokeObjectURL(s),r&&r(e)},A.onerror=function(e){I("Image "+s+" could not be decoded"),n&&n()},A.src=s}};o.preloadPlugins.push(e);var t={canHandle:function(e){return!o.noAudioDecoding&&e.substr(-4)in{".ogg":1,".wav":1,".mp3":1}},handle:function(e,t,r,n){var i=!1;function a(n){i||(i=!0,o.preloadedAudios[t]=n,r&&r(e))}function s(){i||(i=!0,o.preloadedAudios[t]=new Audio,n&&n())}if(!Fe.hasBlobConstructor)return s();try{var A=new Blob([e],{type:Fe.getMimetype(t)})}catch(e){return s()}var c=Fe.URLObject.createObjectURL(A);Q("string"==typeof c,"createObjectURL must return a url as a string");var g=new Audio;g.addEventListener("canplaythrough",(function(){a(g)}),!1),g.onerror=function(r){i||(I("warning: browser could not fully decode audio "+t+", trying slower base64 approach"),g.src="data:audio/x-"+t.substr(-3)+";base64,"+function(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r="",n=0,o=0,i=0;i<e.length;i++)for(n=n<<8|e[i],o+=8;o>=6;){var a=n>>o-6&63;o-=6,r+=t[a]}return 2==o?(r+=t[(3&n)<<4],r+="=="):4==o&&(r+=t[(15&n)<<2],r+="="),r}(e),a(g))},g.src=c,Se((function(){a(g)}),1e4)}};o.preloadPlugins.push(t);var r=o.canvas;r&&(r.requestPointerLock=r.requestPointerLock||r.mozRequestPointerLock||r.webkitRequestPointerLock||r.msRequestPointerLock||function(){},r.exitPointerLock=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock||function(){},r.exitPointerLock=r.exitPointerLock.bind(document),o.elementPointerLock&&r.addEventListener("click",(function(e){!Fe.pointerLock&&o.canvas.requestPointerLock&&(o.canvas.requestPointerLock(),e.preventDefault())}),!1))}},createContext:function(e,t,r,n){if(t&&o.ctx&&e==o.canvas)return o.ctx;var i,a;if(t){var s={antialias:!1,alpha:!1,majorVersion:"undefined"!=typeof WebGL2RenderingContext?2:1};if(n)for(var A in n)s[A]=n[A];void 0!==br&&(a=br.createContext(e,s))&&(i=br.getContext(a).GLctx)}else i=e.getContext("2d");return i?(r&&(t||Q(void 0===en,"cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),o.ctx=i,t&&br.makeContextCurrent(a),o.useWebGL=t,Fe.moduleContextCreatedCallbacks.forEach((function(e){e()})),Fe.init()),i):null},destroyContext:function(e,t,r){},fullscreenHandlersInstalled:!1,lockPointer:void 0,resizeCanvas:void 0,requestFullscreen:function(e,t){Fe.lockPointer=e,Fe.resizeCanvas=t,void 0===Fe.lockPointer&&(Fe.lockPointer=!0),void 0===Fe.resizeCanvas&&(Fe.resizeCanvas=!1);var r=o.canvas;function n(){Fe.isFullscreen=!1;var e=r.parentNode;(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e?(r.exitFullscreen=Fe.exitFullscreen,Fe.lockPointer&&r.requestPointerLock(),Fe.isFullscreen=!0,Fe.resizeCanvas?Fe.setFullscreenCanvasSize():Fe.updateCanvasDimensions(r)):(e.parentNode.insertBefore(r,e),e.parentNode.removeChild(e),Fe.resizeCanvas?Fe.setWindowedCanvasSize():Fe.updateCanvasDimensions(r)),o.onFullScreen&&o.onFullScreen(Fe.isFullscreen),o.onFullscreen&&o.onFullscreen(Fe.isFullscreen)}Fe.fullscreenHandlersInstalled||(Fe.fullscreenHandlersInstalled=!0,document.addEventListener("fullscreenchange",n,!1),document.addEventListener("mozfullscreenchange",n,!1),document.addEventListener("webkitfullscreenchange",n,!1),document.addEventListener("MSFullscreenChange",n,!1));var i=document.createElement("div");r.parentNode.insertBefore(i,r),i.appendChild(r),i.requestFullscreen=i.requestFullscreen||i.mozRequestFullScreen||i.msRequestFullscreen||(i.webkitRequestFullscreen?function(){i.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)}:null)||(i.webkitRequestFullScreen?function(){i.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}:null),i.requestFullscreen()},requestFullScreen:function(){me("Module.requestFullScreen has been replaced by Module.requestFullscreen (without a capital S)")},exitFullscreen:function(){return!!Fe.isFullscreen&&((document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.webkitCancelFullScreen||function(){}).apply(document,[]),!0)},nextRAF:0,fakeRequestAnimationFrame:function(e){var t=Date.now();if(0===Fe.nextRAF)Fe.nextRAF=t+1e3/60;else for(;t+2>=Fe.nextRAF;)Fe.nextRAF+=1e3/60;var r=Math.max(Fe.nextRAF-t,0);setTimeout(e,r)},requestAnimationFrame:function(e){"function"!=typeof requestAnimationFrame?(0,Fe.fakeRequestAnimationFrame)(e):requestAnimationFrame(e)},safeSetTimeout:function(e){return Se(e)},safeRequestAnimationFrame:function(e){return Fe.requestAnimationFrame((function(){Me(e)}))},getMimetype:function(e){return{jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",bmp:"image/bmp",ogg:"audio/ogg",wav:"audio/wav",mp3:"audio/mpeg"}[e.substr(e.lastIndexOf(".")+1)]},getUserMedia:function(e){window.getUserMedia||(window.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia),window.getUserMedia(e)},getMovementX:function(e){return e.movementX||e.mozMovementX||e.webkitMovementX||0},getMovementY:function(e){return e.movementY||e.mozMovementY||e.webkitMovementY||0},getMouseWheelDelta:function(e){var t=0;switch(e.type){case"DOMMouseScroll":t=e.detail/3;break;case"mousewheel":t=e.wheelDelta/120;break;case"wheel":switch(t=e.deltaY,e.deltaMode){case 0:t/=100;break;case 1:t/=3;break;case 2:t*=80;break;default:throw"unrecognized mouse wheel delta mode: "+e.deltaMode}break;default:throw"unrecognized mouse wheel event: "+e.type}return t},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(e){if(Fe.pointerLock)"mousemove"!=e.type&&"mozMovementX"in e?Fe.mouseMovementX=Fe.mouseMovementY=0:(Fe.mouseMovementX=Fe.getMovementX(e),Fe.mouseMovementY=Fe.getMovementY(e)),"undefined"!=typeof SDL?(Fe.mouseX=SDL.mouseX+Fe.mouseMovementX,Fe.mouseY=SDL.mouseY+Fe.mouseMovementY):(Fe.mouseX+=Fe.mouseMovementX,Fe.mouseY+=Fe.mouseMovementY);else{var t=o.canvas.getBoundingClientRect(),r=o.canvas.width,n=o.canvas.height,i=void 0!==window.scrollX?window.scrollX:window.pageXOffset,a=void 0!==window.scrollY?window.scrollY:window.pageYOffset;if(Q(void 0!==i&&void 0!==a,"Unable to retrieve scroll position, mouse positions likely broken."),"touchstart"===e.type||"touchend"===e.type||"touchmove"===e.type){var s=e.touch;if(void 0===s)return;var A=s.pageX-(i+t.left),c=s.pageY-(a+t.top),g={x:A*=r/t.width,y:c*=n/t.height};if("touchstart"===e.type)Fe.lastTouches[s.identifier]=g,Fe.touches[s.identifier]=g;else if("touchend"===e.type||"touchmove"===e.type){var d=Fe.touches[s.identifier];d||(d=g),Fe.lastTouches[s.identifier]=d,Fe.touches[s.identifier]=g}return}var u=e.pageX-(i+t.left),l=e.pageY-(a+t.top);u*=r/t.width,l*=n/t.height,Fe.mouseMovementX=u-Fe.mouseX,Fe.mouseMovementY=l-Fe.mouseY,Fe.mouseX=u,Fe.mouseY=l}},resizeListeners:[],updateResizeListeners:function(){var e=o.canvas;Fe.resizeListeners.forEach((function(t){t(e.width,e.height)}))},setCanvasSize:function(e,t,r){var n=o.canvas;Fe.updateCanvasDimensions(n,e,t),r||Fe.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if("undefined"!=typeof SDL){var e=L[SDL.screen>>2];e|=8388608,j[SDL.screen>>2]=e}Fe.updateCanvasDimensions(o.canvas),Fe.updateResizeListeners()},setWindowedCanvasSize:function(){if("undefined"!=typeof SDL){var e=L[SDL.screen>>2];e&=-8388609,j[SDL.screen>>2]=e}Fe.updateCanvasDimensions(o.canvas),Fe.updateResizeListeners()},updateCanvasDimensions:function(e,t,r){t&&r?(e.widthNative=t,e.heightNative=r):(t=e.widthNative,r=e.heightNative);var n=t,i=r;if(o.forcedAspectRatio&&o.forcedAspectRatio>0&&(n/i<o.forcedAspectRatio?n=Math.round(i*o.forcedAspectRatio):i=Math.round(n/o.forcedAspectRatio)),(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e.parentNode&&"undefined"!=typeof screen){var a=Math.min(screen.width/n,screen.height/i);n=Math.round(n*a),i=Math.round(i*a)}Fe.resizeCanvas?(e.width!=n&&(e.width=n),e.height!=i&&(e.height=i),void 0!==e.style&&(e.style.removeProperty("width"),e.style.removeProperty("height"))):(e.width!=t&&(e.width=t),e.height!=r&&(e.height=r),void 0!==e.style&&(n!=t||i!=r?(e.style.setProperty("width",n+"px","important"),e.style.setProperty("height",i+"px","important")):(e.style.removeProperty("width"),e.style.removeProperty("height"))))}};function Ne(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"==typeof r?void 0===t.arg?te.get(r)():te.get(r)(t.arg):r(void 0===t.arg?null:t.arg)}else t(o)}}function ke(e){return e.replace(/\b_Z[\w\d_]+/g,(function(e){var t,r=(t=e,C("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling"),t);return e===r?e:r+" ["+e+"]"}))}function xe(e){this.excPtr=e,this.ptr=e-16,this.set_type=function(e){j[this.ptr+4>>2]=e},this.get_type=function(){return j[this.ptr+4>>2]},this.set_destructor=function(e){j[this.ptr+8>>2]=e},this.get_destructor=function(){return j[this.ptr+8>>2]},this.set_refcount=function(e){j[this.ptr>>2]=e},this.set_caught=function(e){e=e?1:0,N[this.ptr+12|0]=e},this.get_caught=function(){return 0!=N[this.ptr+12|0]},this.set_rethrown=function(e){e=e?1:0,N[this.ptr+13|0]=e},this.get_rethrown=function(){return 0!=N[this.ptr+13|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=j[this.ptr>>2];j[this.ptr>>2]=e+1},this.release_ref=function(){var e=j[this.ptr>>2];return j[this.ptr>>2]=e-1,Q(e>0),1===e}}function Ue(e){this.free=function(){dn(this.ptr),this.ptr=0},this.set_base_ptr=function(e){j[this.ptr>>2]=e},this.get_base_ptr=function(){return j[this.ptr>>2]},this.set_adjusted_ptr=function(e){j[this.ptr+4>>2]=e},this.get_adjusted_ptr_addr=function(){return this.ptr+4},this.get_adjusted_ptr=function(){return j[this.ptr+4>>2]},this.get_exception_ptr=function(){if(Bn(this.get_exception_info().get_type()))return j[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 xe(this.get_base_ptr())},void 0===e?(this.ptr=un(8),this.set_adjusted_ptr(0)):this.ptr=e}var je=[];var Le=0;function He(e){try{return dn(new xe(e).ptr)}catch(e){m("exception during cxa_free_exception: "+e)}}function Ge(e){return j[ln()>>2]=e,e}var Ye={splitPath:function(e){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1)},normalizeArray:function(e,t){for(var r=0,n=e.length-1;n>=0;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=Ye.normalizeArray(e.split("/").filter((function(e){return!!e})),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e},dirname:function(e){var t=Ye.splitPath(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},basename:function(e){if("/"===e)return"/";var t=(e=(e=Ye.normalize(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===t?e:e.substr(t+1)},extname:function(e){return Ye.splitPath(e)[3]},join:function(){var e=Array.prototype.slice.call(arguments,0);return Ye.normalize(e.join("/"))},join2:function(e,t){return Ye.normalize(e+"/"+t)}};function Xe(){if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues){var e=new Uint8Array(1);return function(){return crypto.getRandomValues(e),e[0]}}if(u)try{var t=__require("crypto");return function(){return t.randomBytes(1)[0]}}catch(e){}return function(){me("no cryptographic support found for randomDevice. consider polyfilling it if you want to use something insecure like Math.random(), e.g. put this in a --pre-js: var crypto = { getRandomValues: function(array) { for (var i = 0; i < array.length; i++) array[i] = (Math.random()*256)|0 } };")}}var Ve={resolve:function(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:Ze.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=Ye.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;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=Ve.resolve(e).substr(1),t=Ve.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}var A=[];for(s=a;s<n.length;s++)A.push("..");return(A=A.concat(o.slice(a))).join("/")}},We={ttys:[],init:function(){},shutdown:function(){},register:function(e,t){We.ttys[e]={input:[],output:[],ops:t},Ze.registerDevice(e,We.stream_ops)},stream_ops:{open:function(e){var t=We.ttys[e.node.rdev];if(!t)throw new Ze.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 Ze.ErrnoError(60);for(var i=0,a=0;a<n;a++){var s;try{s=e.tty.ops.get_char(e.tty)}catch(e){throw new Ze.ErrnoError(29)}if(void 0===s&&0===i)throw new Ze.ErrnoError(6);if(null==s)break;i++,t[r+a]=s}return i&&(e.node.timestamp=Date.now()),i},write:function(e,t,r,n,o){if(!e.tty||!e.tty.ops.put_char)throw new Ze.ErrnoError(60);try{for(var i=0;i<n;i++)e.tty.ops.put_char(e.tty,t[r+i])}catch(e){throw new Ze.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(u){var r=Buffer.alloc(256),n=0;try{n=nodeFS.readSync(process.stdin.fd,r,0,256,null)}catch(e){if(!e.toString().includes("EOF"))throw e;n=0}t=n>0?r.slice(0,n).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?null!==(t=window.prompt("Input: "))&&(t+="\n"):"function"==typeof readline&&null!==(t=readline())&&(t+="\n");if(!t)return null;e.input=An(t,!0)}return e.input.shift()},put_char:function(e,t){null===t||10===t?(I(v(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&e.output.length>0&&(I(v(e.output,0)),e.output=[])}},default_tty1_ops:{put_char:function(e,t){null===t||10===t?(m(v(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&e.output.length>0&&(m(v(e.output,0)),e.output=[])}}};function ze(e){e=function(e,t){return Q(t,"alignment argument is required"),Math.ceil(e/t)*t}(e,65536);var t=Dn(65536,e);return t?(function(e,t){k.fill(0,e,e+t)}(t,e),t):0}var $e={ops_table:null,mount:function(e){return $e.createNode(null,"/",16895,0)},createNode:function(e,t,r,n){if(Ze.isBlkdev(r)||Ze.isFIFO(r))throw new Ze.ErrnoError(63);$e.ops_table||($e.ops_table={dir:{node:{getattr:$e.node_ops.getattr,setattr:$e.node_ops.setattr,lookup:$e.node_ops.lookup,mknod:$e.node_ops.mknod,rename:$e.node_ops.rename,unlink:$e.node_ops.unlink,rmdir:$e.node_ops.rmdir,readdir:$e.node_ops.readdir,symlink:$e.node_ops.symlink},stream:{llseek:$e.stream_ops.llseek}},file:{node:{getattr:$e.node_ops.getattr,setattr:$e.node_ops.setattr},stream:{llseek:$e.stream_ops.llseek,read:$e.stream_ops.read,write:$e.stream_ops.write,allocate:$e.stream_ops.allocate,mmap:$e.stream_ops.mmap,msync:$e.stream_ops.msync}},link:{node:{getattr:$e.node_ops.getattr,setattr:$e.node_ops.setattr,readlink:$e.node_ops.readlink},stream:{}},chrdev:{node:{getattr:$e.node_ops.getattr,setattr:$e.node_ops.setattr},stream:Ze.chrdev_stream_ops}});var o=Ze.createNode(e,t,r,n);return Ze.isDir(o.mode)?(o.node_ops=$e.ops_table.dir.node,o.stream_ops=$e.ops_table.dir.stream,o.contents={}):Ze.isFile(o.mode)?(o.node_ops=$e.ops_table.file.node,o.stream_ops=$e.ops_table.file.stream,o.usedBytes=0,o.contents=null):Ze.isLink(o.mode)?(o.node_ops=$e.ops_table.link.node,o.stream_ops=$e.ops_table.link.stream):Ze.isChrdev(o.mode)&&(o.node_ops=$e.ops_table.chrdev.node,o.stream_ops=$e.ops_table.chrdev.stream),o.timestamp=Date.now(),e&&(e.contents[t]=o,e.timestamp=o.timestamp),o},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;if(!(r>=t)){t=Math.max(t,r*(r<1048576?2:1.125)>>>0),0!=r&&(t=Math.max(t,256));var n=e.contents;e.contents=new Uint8Array(t),e.usedBytes>0&&e.contents.set(n.subarray(0,e.usedBytes),0)}},resizeFileStorage:function(e,t){if(e.usedBytes!=t)if(0==t)e.contents=null,e.usedBytes=0;else{var 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=Ze.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,Ze.isDir(e.mode)?t.size=4096:Ze.isFile(e.mode)?t.size=e.usedBytes:Ze.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&&$e.resizeFileStorage(e,t.size)},lookup:function(e,t){throw Ze.genericErrors[44]},mknod:function(e,t,r,n){return $e.createNode(e,t,r,n)},rename:function(e,t,r){if(Ze.isDir(e.mode)){var n;try{n=Ze.lookupNode(t,r)}catch(e){}if(n)for(var o in n.contents)throw new Ze.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){var r=Ze.lookupNode(e,t);for(var n in r.contents)throw new Ze.ErrnoError(55);delete e.contents[t],e.timestamp=Date.now()},readdir:function(e){var t=[".",".."];for(var r in e.contents)e.contents.hasOwnProperty(r)&&t.push(r);return t},symlink:function(e,t,r){var n=$e.createNode(e,t,41471,0);return n.link=r,n},readlink:function(e){if(!Ze.isLink(e.mode))throw new Ze.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(Q(a>=0),a>8&&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(Q(!(t instanceof ArrayBuffer)),t.buffer===N.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 Q(0===o,"canOwn must imply no weird position inside the file"),a.contents=t.subarray(r,r+n),a.usedBytes=n,n;if(0===a.usedBytes&&0===o)return a.contents=t.slice(r,r+n),a.usedBytes=n,n;if(o+n<=a.usedBytes)return a.contents.set(t.subarray(r,r+n),o),n}if($e.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){var n=t;if(1===r?n+=e.position:2===r&&Ze.isFile(e.node.mode)&&(n+=e.node.usedBytes),n<0)throw new Ze.ErrnoError(28);return n},allocate:function(e,t,r){$e.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 Ze.ErrnoError(28);if(!Ze.isFile(e.node.mode))throw new Ze.ErrnoError(43);var a,s,A=e.node.contents;if(2&i||A.buffer!==F){if((n>0||n+r<A.length)&&(A=A.subarray?A.subarray(n,n+r):Array.prototype.slice.call(A,n,n+r)),s=!0,!(a=ze(r)))throw new Ze.ErrnoError(48);N.set(A,a)}else s=!1,a=A.byteOffset;return{ptr:a,allocated:s}},msync:function(e,t,r,n,o){if(!Ze.isFile(e.node.mode))throw new Ze.ErrnoError(43);if(2&o)return 0;$e.stream_ops.write(e,t,0,n,r,!1);return 0}}};var Ke={0:"Success",1:"Arg list too long",2:"Permission denied",3:"Address already in use",4:"Address not available",5:"Address family not supported by protocol family",6:"No more processes",7:"Socket already connected",8:"Bad file number",9:"Trying to read unreadable message",10:"Mount device busy",11:"Operation canceled",12:"No children",13:"Connection aborted",14:"Connection refused",15:"Connection reset by peer",16:"File locking deadlock error",17:"Destination address required",18:"Math arg out of domain of func",19:"Quota exceeded",20:"File exists",21:"Bad address",22:"File too large",23:"Host is unreachable",24:"Identifier removed",25:"Illegal byte sequence",26:"Connection already in progress",27:"Interrupted system call",28:"Invalid argument",29:"I/O error",30:"Socket is already connected",31:"Is a directory",32:"Too many symbolic links",33:"Too many open files",34:"Too many links",35:"Message too long",36:"Multihop attempted",37:"File or path name too long",38:"Network interface is not configured",39:"Connection reset by network",40:"Network is unreachable",41:"Too many open files in system",42:"No buffer space available",43:"No such device",44:"No such file or directory",45:"Exec format error",46:"No record locks available",47:"The link has been severed",48:"Not enough core",49:"No message of desired type",50:"Protocol not available",51:"No space left on device",52:"Function not implemented",53:"Socket is not connected",54:"Not a directory",55:"Directory not empty",56:"State not recoverable",57:"Socket operation on non-socket",59:"Not a typewriter",60:"No such device or address",61:"Value too large for defined data type",62:"Previous owner died",63:"Not super-user",64:"Broken pipe",65:"Protocol error",66:"Unknown protocol",67:"Protocol wrong type for socket",68:"Math result not representable",69:"Read only file system",70:"Illegal seek",71:"No such process",72:"Stale file handle",73:"Connection timed out",74:"Text file busy",75:"Cross-device link",100:"Device not a stream",101:"Bad font file fmt",102:"Invalid slot",103:"Invalid request code",104:"No anode",105:"Block device required",106:"Channel number out of range",107:"Level 3 halted",108:"Level 3 reset",109:"Link number out of range",110:"Protocol driver not attached",111:"No CSI structure available",112:"Level 2 halted",113:"Invalid exchange",114:"Invalid request descriptor",115:"Exchange full",116:"No data (for no delay io)",117:"Timer expired",118:"Out of streams resources",119:"Machine is not on the network",120:"Package not installed",121:"The object is remote",122:"Advertise error",123:"Srmount error",124:"Communication error on send",125:"Cross mount point (not really error)",126:"Given log. name not unique",127:"f.d. invalid for this operation",128:"Remote address changed",129:"Can access a needed shared lib",130:"Accessing a corrupted shared lib",131:".lib section in a.out corrupted",132:"Attempting to link in too many libs",133:"Attempting to exec a shared library",135:"Streams pipe error",136:"Too many users",137:"Socket type not supported",138:"Not supported",139:"Protocol family not supported",140:"Can't send after socket shutdown",141:"Too many references",142:"Host is down",148:"No medium (in tape drive)",156:"Level 2 not synchronized"},Je={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135},Ze={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:function(e,t){if(t=t||{},!(e=Ve.resolve(Ze.cwd(),e)))return{path:"",node:null};var r={follow_mount:!0,recurse_count:0};for(var n in r)void 0===t[n]&&(t[n]=r[n]);if(t.recurse_count>8)throw new Ze.ErrnoError(32);for(var o=Ye.normalizeArray(e.split("/").filter((function(e){return!!e})),!1),i=Ze.root,a="/",s=0;s<o.length;s++){var A=s===o.length-1;if(A&&t.parent)break;if(i=Ze.lookupNode(i,o[s]),a=Ye.join2(a,o[s]),Ze.isMountpoint(i)&&(!A||A&&t.follow_mount)&&(i=i.mounted.root),!A||t.follow)for(var c=0;Ze.isLink(i.mode);){var g=Ze.readlink(a);if(a=Ve.resolve(Ye.dirname(a),g),i=Ze.lookupPath(a,{recurse_count:t.recurse_count}).node,c++>40)throw new Ze.ErrnoError(32)}}return{path:a,node:i}},getPath:function(e){for(var t;;){if(Ze.isRoot(e)){var r=e.mount.mountpoint;return t?"/"!==r[r.length-1]?r+"/"+t:r+t:r}t=t?e.name+"/"+t:e.name,e=e.parent}},hashName:function(e,t){for(var r=0,n=0;n<t.length;n++)r=(r<<5)-r+t.charCodeAt(n)|0;return(e+r>>>0)%Ze.nameTable.length},hashAddNode:function(e){var t=Ze.hashName(e.parent.id,e.name);e.name_next=Ze.nameTable[t],Ze.nameTable[t]=e},hashRemoveNode:function(e){var t=Ze.hashName(e.parent.id,e.name);if(Ze.nameTable[t]===e)Ze.nameTable[t]=e.name_next;else for(var r=Ze.nameTable[t];r;){if(r.name_next===e){r.name_next=e.name_next;break}r=r.name_next}},lookupNode:function(e,t){var r=Ze.mayLookup(e);if(r)throw new Ze.ErrnoError(r,e);for(var n=Ze.hashName(e.id,t),o=Ze.nameTable[n];o;o=o.name_next){var i=o.name;if(o.parent.id===e.id&&i===t)return o}return Ze.lookup(e,t)},createNode:function(e,t,r,n){Q("object"==typeof e);var o=new Ze.FSNode(e,t,r,n);return Ze.hashAddNode(o),o},destroyNode:function(e){Ze.hashRemoveNode(e)},isRoot:function(e){return e===e.parent},isMountpoint:function(e){return!!e.mounted},isFile:function(e){return 32768==(61440&e)},isDir:function(e){return 16384==(61440&e)},isLink:function(e){return 40960==(61440&e)},isChrdev:function(e){return 8192==(61440&e)},isBlkdev:function(e){return 24576==(61440&e)},isFIFO:function(e){return 4096==(61440&e)},isSocket:function(e){return!(49152&~e)},flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags:function(e){var t=Ze.flagModes[e];if(void 0===t)throw new Error("Unknown file open mode: "+e);return t},flagsToPermissionString:function(e){var t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t},nodePermissions:function(e,t){return Ze.ignorePermissions||(!t.includes("r")||292&e.mode)&&(!t.includes("w")||146&e.mode)&&(!t.includes("x")||73&e.mode)?0:2},mayLookup:function(e){var t=Ze.nodePermissions(e,"x");return t||(e.node_ops.lookup?0:2)},mayCreate:function(e,t){try{Ze.lookupNode(e,t);return 20}catch(e){}return Ze.nodePermissions(e,"wx")},mayDelete:function(e,t,r){var n;try{n=Ze.lookupNode(e,t)}catch(e){return e.errno}var o=Ze.nodePermissions(e,"wx");if(o)return o;if(r){if(!Ze.isDir(n.mode))return 54;if(Ze.isRoot(n)||Ze.getPath(n)===Ze.cwd())return 10}else if(Ze.isDir(n.mode))return 31;return 0},mayOpen:function(e,t){return e?Ze.isLink(e.mode)?32:Ze.isDir(e.mode)&&("r"!==Ze.flagsToPermissionString(t)||512&t)?31:Ze.nodePermissions(e,Ze.flagsToPermissionString(t)):44},MAX_OPEN_FDS:4096,nextfd:function(e,t){e=e||0,t=t||Ze.MAX_OPEN_FDS;for(var r=e;r<=t;r++)if(!Ze.streams[r])return r;throw new Ze.ErrnoError(33)},getStream:function(e){return Ze.streams[e]},createStream:function(e,t,r){Ze.FSStream||(Ze.FSStream=function(){},Ze.FSStream.prototype={object:{get:function(){return this.node},set:function(e){this.node=e}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return!!(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}});var n=new Ze.FSStream;for(var o in e)n[o]=e[o];e=n;var i=Ze.nextfd(t,r);return e.fd=i,Ze.streams[i]=e,e},closeStream:function(e){Ze.streams[e]=null},chrdev_stream_ops:{open:function(e){var t=Ze.getDevice(e.node.rdev);e.stream_ops=t.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek:function(){throw new Ze.ErrnoError(70)}},major:function(e){return e>>8},minor:function(e){return 255&e},makedev:function(e,t){return e<<8|t},registerDevice:function(e,t){Ze.devices[e]={stream_ops:t}},getDevice:function(e){return Ze.devices[e]},getMounts:function(e){for(var t=[],r=[e];r.length;){var n=r.pop();t.push(n),r.push.apply(r,n.mounts)}return t},syncfs:function(e,t){"function"==typeof e&&(t=e,e=!1),Ze.syncFSRequests++,Ze.syncFSRequests>1&&m("warning: "+Ze.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var r=Ze.getMounts(Ze.root.mount),n=0;function o(e){return Q(Ze.syncFSRequests>0),Ze.syncFSRequests--,t(e)}function i(e){if(e)return i.errored?void 0:(i.errored=!0,o(e));++n>=r.length&&o(null)}r.forEach((function(t){if(!t.type.syncfs)return i(null);t.type.syncfs(t,e,i)}))},mount:function(e,t,r){if("string"==typeof e)throw e;var n,o="/"===r,i=!r;if(o&&Ze.root)throw new Ze.ErrnoError(10);if(!o&&!i){var a=Ze.lookupPath(r,{follow_mount:!1});if(r=a.path,n=a.node,Ze.isMountpoint(n))throw new Ze.ErrnoError(10);if(!Ze.isDir(n.mode))throw new Ze.ErrnoError(54)}var s={type:e,opts:t,mountpoint:r,mounts:[]},A=e.mount(s);return A.mount=s,s.root=A,o?Ze.root=A:n&&(n.mounted=s,n.mount&&n.mount.mounts.push(s)),A},unmount:function(e){var t=Ze.lookupPath(e,{follow_mount:!1});if(!Ze.isMountpoint(t.node))throw new Ze.ErrnoError(28);var r=t.node,n=r.mounted,o=Ze.getMounts(n);Object.keys(Ze.nameTable).forEach((function(e){for(var t=Ze.nameTable[e];t;){var r=t.name_next;o.includes(t.mount)&&Ze.destroyNode(t),t=r}})),r.mounted=null;var i=r.mount.mounts.indexOf(n);Q(-1!==i),r.mount.mounts.splice(i,1)},lookup:function(e,t){return e.node_ops.lookup(e,t)},mknod:function(e,t,r){var n=Ze.lookupPath(e,{parent:!0}).node,o=Ye.basename(e);if(!o||"."===o||".."===o)throw new Ze.ErrnoError(28);var i=Ze.mayCreate(n,o);if(i)throw new Ze.ErrnoError(i);if(!n.node_ops.mknod)throw new Ze.ErrnoError(63);return n.node_ops.mknod(n,o,t,r)},create:function(e,t){return t=void 0!==t?t:438,t&=4095,t|=32768,Ze.mknod(e,t,0)},mkdir:function(e,t){return t=void 0!==t?t:511,t&=1023,t|=16384,Ze.mknod(e,t,0)},mkdirTree:function(e,t){for(var r=e.split("/"),n="",o=0;o<r.length;++o)if(r[o]){n+="/"+r[o];try{Ze.mkdir(n,t)}catch(e){if(20!=e.errno)throw e}}},mkdev:function(e,t,r){return void 0===r&&(r=t,t=438),t|=8192,Ze.mknod(e,t,r)},symlink:function(e,t){if(!Ve.resolve(e))throw new Ze.ErrnoError(44);var r=Ze.lookupPath(t,{parent:!0}).node;if(!r)throw new Ze.ErrnoError(44);var n=Ye.basename(t),o=Ze.mayCreate(r,n);if(o)throw new Ze.ErrnoError(o);if(!r.node_ops.symlink)throw new Ze.ErrnoError(63);return r.node_ops.symlink(r,n,e)},rename:function(e,t){var r,n,o=Ye.dirname(e),i=Ye.dirname(t),a=Ye.basename(e),s=Ye.basename(t);if(r=Ze.lookupPath(e,{parent:!0}).node,n=Ze.lookupPath(t,{parent:!0}).node,!r||!n)throw new Ze.ErrnoError(44);if(r.mount!==n.mount)throw new Ze.ErrnoError(75);var A,c=Ze.lookupNode(r,a),g=Ve.relative(e,i);if("."!==g.charAt(0))throw new Ze.ErrnoError(28);if("."!==(g=Ve.relative(t,o)).charAt(0))throw new Ze.ErrnoError(55);try{A=Ze.lookupNode(n,s)}catch(e){}if(c!==A){var d=Ze.isDir(c.mode),u=Ze.mayDelete(r,a,d);if(u)throw new Ze.ErrnoError(u);if(u=A?Ze.mayDelete(n,s,d):Ze.mayCreate(n,s))throw new Ze.ErrnoError(u);if(!r.node_ops.rename)throw new Ze.ErrnoError(63);if(Ze.isMountpoint(c)||A&&Ze.isMountpoint(A))throw new Ze.ErrnoError(10);if(n!==r&&(u=Ze.nodePermissions(r,"w")))throw new Ze.ErrnoError(u);try{Ze.trackingDelegate.willMovePath&&Ze.trackingDelegate.willMovePath(e,t)}catch(r){m("FS.trackingDelegate['willMovePath']('"+e+"', '"+t+"') threw an exception: "+r.message)}Ze.hashRemoveNode(c);try{r.node_ops.rename(c,n,s)}catch(e){throw e}finally{Ze.hashAddNode(c)}try{Ze.trackingDelegate.onMovePath&&Ze.trackingDelegate.onMovePath(e,t)}catch(r){m("FS.trackingDelegate['onMovePath']('"+e+"', '"+t+"') threw an exception: "+r.message)}}},rmdir:function(e){var t=Ze.lookupPath(e,{parent:!0}).node,r=Ye.basename(e),n=Ze.lookupNode(t,r),o=Ze.mayDelete(t,r,!0);if(o)throw new Ze.ErrnoError(o);if(!t.node_ops.rmdir)throw new Ze.ErrnoError(63);if(Ze.isMountpoint(n))throw new Ze.ErrnoError(10);try{Ze.trackingDelegate.willDeletePath&&Ze.trackingDelegate.willDeletePath(e)}catch(t){m("FS.trackingDelegate['willDeletePath']('"+e+"') threw an exception: "+t.message)}t.node_ops.rmdir(t,r),Ze.destroyNode(n);try{Ze.trackingDelegate.onDeletePath&&Ze.trackingDelegate.onDeletePath(e)}catch(t){m("FS.trackingDelegate['onDeletePath']('"+e+"') threw an exception: "+t.message)}},readdir:function(e){var t=Ze.lookupPath(e,{follow:!0}).node;if(!t.node_ops.readdir)throw new Ze.ErrnoError(54);return t.node_ops.readdir(t)},unlink:function(e){var t=Ze.lookupPath(e,{parent:!0}).node,r=Ye.basename(e),n=Ze.lookupNode(t,r),o=Ze.mayDelete(t,r,!1);if(o)throw new Ze.ErrnoError(o);if(!t.node_ops.unlink)throw new Ze.ErrnoError(63);if(Ze.isMountpoint(n))throw new Ze.ErrnoError(10);try{Ze.trackingDelegate.willDeletePath&&Ze.trackingDelegate.willDeletePath(e)}catch(t){m("FS.trackingDelegate['willDeletePath']('"+e+"') threw an exception: "+t.message)}t.node_ops.unlink(t,r),Ze.destroyNode(n);try{Ze.trackingDelegate.onDeletePath&&Ze.trackingDelegate.onDeletePath(e)}catch(t){m("FS.trackingDelegate['onDeletePath']('"+e+"') threw an exception: "+t.message)}},readlink:function(e){var t=Ze.lookupPath(e).node;if(!t)throw new Ze.ErrnoError(44);if(!t.node_ops.readlink)throw new Ze.ErrnoError(28);return Ve.resolve(Ze.getPath(t.parent),t.node_ops.readlink(t))},stat:function(e,t){var r=Ze.lookupPath(e,{follow:!t}).node;if(!r)throw new Ze.ErrnoError(44);if(!r.node_ops.getattr)throw new Ze.ErrnoError(63);return r.node_ops.getattr(r)},lstat:function(e){return Ze.stat(e,!0)},chmod:function(e,t,r){var n;"string"==typeof e?n=Ze.lookupPath(e,{follow:!r}).node:n=e;if(!n.node_ops.setattr)throw new Ze.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&t|-4096&n.mode,timestamp:Date.now()})},lchmod:function(e,t){Ze.chmod(e,t,!0)},fchmod:function(e,t){var r=Ze.getStream(e);if(!r)throw new Ze.ErrnoError(8);Ze.chmod(r.node,t)},chown:function(e,t,r,n){var o;"string"==typeof e?o=Ze.lookupPath(e,{follow:!n}).node:o=e;if(!o.node_ops.setattr)throw new Ze.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown:function(e,t,r){Ze.chown(e,t,r,!0)},fchown:function(e,t,r){var n=Ze.getStream(e);if(!n)throw new Ze.ErrnoError(8);Ze.chown(n.node,t,r)},truncate:function(e,t){if(t<0)throw new Ze.ErrnoError(28);var r;"string"==typeof e?r=Ze.lookupPath(e,{follow:!0}).node:r=e;if(!r.node_ops.setattr)throw new Ze.ErrnoError(63);if(Ze.isDir(r.mode))throw new Ze.ErrnoError(31);if(!Ze.isFile(r.mode))throw new Ze.ErrnoError(28);var n=Ze.nodePermissions(r,"w");if(n)throw new Ze.ErrnoError(n);r.node_ops.setattr(r,{size:t,timestamp:Date.now()})},ftruncate:function(e,t){var r=Ze.getStream(e);if(!r)throw new Ze.ErrnoError(8);if(!(2097155&r.flags))throw new Ze.ErrnoError(28);Ze.truncate(r.node,t)},utime:function(e,t,r){var n=Ze.lookupPath(e,{follow:!0}).node;n.node_ops.setattr(n,{timestamp:Math.max(t,r)})},open:function(e,t,r,n,i){if(""===e)throw new Ze.ErrnoError(44);var a;if(r=void 0===r?438:r,r=64&(t="string"==typeof t?Ze.modeStringToFlags(t):t)?4095&r|32768:0,"object"==typeof e)a=e;else{e=Ye.normalize(e);try{a=Ze.lookupPath(e,{follow:!(131072&t)}).node}catch(e){}}var s=!1;if(64&t)if(a){if(128&t)throw new Ze.ErrnoError(20)}else a=Ze.mknod(e,r,0),s=!0;if(!a)throw new Ze.ErrnoError(44);if(Ze.isChrdev(a.mode)&&(t&=-513),65536&t&&!Ze.isDir(a.mode))throw new Ze.ErrnoError(54);if(!s){var A=Ze.mayOpen(a,t);if(A)throw new Ze.ErrnoError(A)}512&t&&Ze.truncate(a,0),t&=-131713;var c=Ze.createStream({node:a,path:Ze.getPath(a),flags:t,seekable:!0,position:0,stream_ops:a.stream_ops,ungotten:[],error:!1},n,i);c.stream_ops.open&&c.stream_ops.open(c),!o.logReadFiles||1&t||(Ze.readFiles||(Ze.readFiles={}),e in Ze.readFiles||(Ze.readFiles[e]=1,m("FS.trackingDelegate error on read file: "+e)));try{if(Ze.trackingDelegate.onOpenFile){var g=0;1!=(2097155&t)&&(g|=Ze.tracking.openFlags.READ),2097155&t&&(g|=Ze.tracking.openFlags.WRITE),Ze.trackingDelegate.onOpenFile(e,g)}}catch(t){m("FS.trackingDelegate['onOpenFile']('"+e+"', flags) threw an exception: "+t.message)}return c},close:function(e){if(Ze.isClosed(e))throw new Ze.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{Ze.closeStream(e.fd)}e.fd=null},isClosed:function(e){return null===e.fd},llseek:function(e,t,r){if(Ze.isClosed(e))throw new Ze.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new Ze.ErrnoError(70);if(0!=r&&1!=r&&2!=r)throw new Ze.ErrnoError(28);return e.position=e.stream_ops.llseek(e,t,r),e.ungotten=[],e.position},read:function(e,t,r,n,o){if(n<0||o<0)throw new Ze.ErrnoError(28);if(Ze.isClosed(e))throw new Ze.ErrnoError(8);if(1==(2097155&e.flags))throw new Ze.ErrnoError(8);if(Ze.isDir(e.node.mode))throw new Ze.ErrnoError(31);if(!e.stream_ops.read)throw new Ze.ErrnoError(28);var i=void 0!==o;if(i){if(!e.seekable)throw new Ze.ErrnoError(70)}else o=e.position;var a=e.stream_ops.read(e,t,r,n,o);return i||(e.position+=a),a},write:function(e,t,r,n,o,i){if(n<0||o<0)throw new Ze.ErrnoError(28);if(Ze.isClosed(e))throw new Ze.ErrnoError(8);if(!(2097155&e.flags))throw new Ze.ErrnoError(8);if(Ze.isDir(e.node.mode))throw new Ze.ErrnoError(31);if(!e.stream_ops.write)throw new Ze.ErrnoError(28);e.seekable&&1024&e.flags&&Ze.llseek(e,0,2);var a=void 0!==o;if(a){if(!e.seekable)throw new Ze.ErrnoError(70)}else o=e.position;var s=e.stream_ops.write(e,t,r,n,o,i);a||(e.position+=s);try{e.path&&Ze.trackingDelegate.onWriteToFile&&Ze.trackingDelegate.onWriteToFile(e.path)}catch(t){m("FS.trackingDelegate['onWriteToFile']('"+e.path+"') threw an exception: "+t.message)}return s},allocate:function(e,t,r){if(Ze.isClosed(e))throw new Ze.ErrnoError(8);if(t<0||r<=0)throw new Ze.ErrnoError(28);if(!(2097155&e.flags))throw new Ze.ErrnoError(8);if(!Ze.isFile(e.node.mode)&&!Ze.isDir(e.node.mode))throw new Ze.ErrnoError(43);if(!e.stream_ops.allocate)throw new Ze.ErrnoError(138);e.stream_ops.allocate(e,t,r)},mmap:function(e,t,r,n,o,i){if(2&o&&!(2&i)&&2!=(2097155&e.flags))throw new Ze.ErrnoError(2);if(1==(2097155&e.flags))throw new Ze.ErrnoError(2);if(!e.stream_ops.mmap)throw new Ze.ErrnoError(43);return e.stream_ops.mmap(e,t,r,n,o,i)},msync:function(e,t,r,n,o){return e&&e.stream_ops.msync?e.stream_ops.msync(e,t,r,n,o):0},munmap:function(e){return 0},ioctl:function(e,t,r){if(!e.stream_ops.ioctl)throw new Ze.ErrnoError(59);return e.stream_ops.ioctl(e,t,r)},readFile:function(e,t){if((t=t||{}).flags=t.flags||0,t.encoding=t.encoding||"binary","utf8"!==t.encoding&&"binary"!==t.encoding)throw new Error('Invalid encoding type "'+t.encoding+'"');var r,n=Ze.open(e,t.flags),o=Ze.stat(e).size,i=new Uint8Array(o);return Ze.read(n,i,0,o,0),"utf8"===t.encoding?r=v(i,0):"binary"===t.encoding&&(r=i),Ze.close(n),r},writeFile:function(e,t,r){(r=r||{}).flags=r.flags||577;var n=Ze.open(e,r.flags,r.mode);if("string"==typeof t){var o=new Uint8Array(S(t)+1),i=R(t,o,0,o.length);Ze.write(n,o,0,i,void 0,r.canOwn)}else{if(!ArrayBuffer.isView(t))throw new Error("Unsupported data type");Ze.write(n,t,0,t.byteLength,void 0,r.canOwn)}Ze.close(n)},cwd:function(){return Ze.currentPath},chdir:function(e){var t=Ze.lookupPath(e,{follow:!0});if(null===t.node)throw new Ze.ErrnoError(44);if(!Ze.isDir(t.node.mode))throw new Ze.ErrnoError(54);var r=Ze.nodePermissions(t.node,"x");if(r)throw new Ze.ErrnoError(r);Ze.currentPath=t.path},createDefaultDirectories:function(){Ze.mkdir("/tmp"),Ze.mkdir("/home"),Ze.mkdir("/home/web_user")},createDefaultDevices:function(){Ze.mkdir("/dev"),Ze.registerDevice(Ze.makedev(1,3),{read:function(){return 0},write:function(e,t,r,n,o){return n}}),Ze.mkdev("/dev/null",Ze.makedev(1,3)),We.register(Ze.makedev(5,0),We.default_tty_ops),We.register(Ze.makedev(6,0),We.default_tty1_ops),Ze.mkdev("/dev/tty",Ze.makedev(5,0)),Ze.mkdev("/dev/tty1",Ze.makedev(6,0));var e=Xe();Ze.createDevice("/dev","random",e),Ze.createDevice("/dev","urandom",e),Ze.mkdir("/dev/shm"),Ze.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){Ze.mkdir("/proc");var e=Ze.mkdir("/proc/self");Ze.mkdir("/proc/self/fd"),Ze.mount({mount:function(){var t=Ze.createNode(e,"fd",16895,73);return t.node_ops={lookup:function(e,t){var r=+t,n=Ze.getStream(r);if(!n)throw new Ze.ErrnoError(8);var o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return n.path}}};return o.parent=o,o}},t}},{},"/proc/self/fd")},createStandardStreams:function(){o.stdin?Ze.createDevice("/dev","stdin",o.stdin):Ze.symlink("/dev/tty","/dev/stdin"),o.stdout?Ze.createDevice("/dev","stdout",null,o.stdout):Ze.symlink("/dev/tty","/dev/stdout"),o.stderr?Ze.createDevice("/dev","stderr",null,o.stderr):Ze.symlink("/dev/tty1","/dev/stderr");var e=Ze.open("/dev/stdin",0),t=Ze.open("/dev/stdout",1),r=Ze.open("/dev/stderr",1);Q(0===e.fd,"invalid handle for stdin ("+e.fd+")"),Q(1===t.fd,"invalid handle for stdout ("+t.fd+")"),Q(2===r.fd,"invalid handle for stderr ("+r.fd+")")},ensureErrnoError:function(){Ze.ErrnoError||(Ze.ErrnoError=function(e,t){this.node=t,this.setErrno=function(e){for(var t in this.errno=e,Je)if(Je[t]===e){this.code=t;break}},this.setErrno(e),this.message=Ke[e],this.stack&&(Object.defineProperty(this,"stack",{value:(new Error).stack,writable:!0}),this.stack=ke(this.stack))},Ze.ErrnoError.prototype=new Error,Ze.ErrnoError.prototype.constructor=Ze.ErrnoError,[44].forEach((function(e){Ze.genericErrors[e]=new Ze.ErrnoError(e),Ze.genericErrors[e].stack="<generic error, no stack>"})))},staticInit:function(){Ze.ensureErrnoError(),Ze.nameTable=new Array(4096),Ze.mount($e,{},"/"),Ze.createDefaultDirectories(),Ze.createDefaultDevices(),Ze.createSpecialDirectories(),Ze.filesystems={MEMFS:$e}},init:function(e,t,r){Q(!Ze.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),Ze.init.initialized=!0,Ze.ensureErrnoError(),o.stdin=e||o.stdin,o.stdout=t||o.stdout,o.stderr=r||o.stderr,Ze.createStandardStreams()},quit:function(){Ze.init.initialized=!1;var e=o._fflush;e&&e(0);for(var t=0;t<Ze.streams.length;t++){var r=Ze.streams[t];r&&Ze.close(r)}},getMode:function(e,t){var r=0;return e&&(r|=365),t&&(r|=146),r},findObject:function(e,t){var r=Ze.analyzePath(e,t);return r.exists?r.object:null},analyzePath:function(e,t){try{e=(n=Ze.lookupPath(e,{follow:!t})).path}catch(e){}var r={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var n=Ze.lookupPath(e,{parent:!0});r.parentExists=!0,r.parentPath=n.path,r.parentObject=n.node,r.name=Ye.basename(e),n=Ze.lookupPath(e,{follow:!t}),r.exists=!0,r.path=n.path,r.object=n.node,r.name=n.node.name,r.isRoot="/"===n.path}catch(e){r.error=e.errno}return r},createPath:function(e,t,r,n){e="string"==typeof e?e:Ze.getPath(e);for(var o=t.split("/").reverse();o.length;){var i=o.pop();if(i){var a=Ye.join2(e,i);try{Ze.mkdir(a)}catch(e){}e=a}}return a},createFile:function(e,t,r,n,o){var i=Ye.join2("string"==typeof e?e:Ze.getPath(e),t),a=Ze.getMode(n,o);return Ze.create(i,a)},createDataFile:function(e,t,r,n,o,i){var a=t?Ye.join2("string"==typeof e?e:Ze.getPath(e),t):e,s=Ze.getMode(n,o),A=Ze.create(a,s);if(r){if("string"==typeof r){for(var c=new Array(r.length),g=0,d=r.length;g<d;++g)c[g]=r.charCodeAt(g);r=c}Ze.chmod(A,146|s);var u=Ze.open(A,577);Ze.write(u,r,0,r.length,0,i),Ze.close(u),Ze.chmod(A,s)}return A},createDevice:function(e,t,r,n){var o=Ye.join2("string"==typeof e?e:Ze.getPath(e),t),i=Ze.getMode(!!r,!!n);Ze.createDevice.major||(Ze.createDevice.major=64);var a=Ze.makedev(Ze.createDevice.major++,0);return Ze.registerDevice(a,{open:function(e){e.seekable=!1},close:function(e){n&&n.buffer&&n.buffer.length&&n(10)},read:function(e,t,n,o,i){for(var a=0,s=0;s<o;s++){var A;try{A=r()}catch(e){throw new Ze.ErrnoError(29)}if(void 0===A&&0===a)throw new Ze.ErrnoError(6);if(null==A)break;a++,t[n+s]=A}return a&&(e.node.timestamp=Date.now()),a},write:function(e,t,r,o,i){for(var a=0;a<o;a++)try{n(t[r+a])}catch(e){throw new Ze.ErrnoError(29)}return o&&(e.node.timestamp=Date.now()),a}}),Ze.mkdev(o,i,a)},forceLoadFile:function(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!E)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=An(E(e.url),!0),e.usedBytes=e.contents.length}catch(e){throw new Ze.ErrnoError(29)}},createLazyFile:function(e,t,r,n,o){function i(){this.lengthKnown=!1,this.chunks=[]}if(i.prototype.get=function(e){if(!(e>this.length-1||e<0)){var t=e%this.chunkSize,r=e/this.chunkSize|0;return this.getter(r)[t]}},i.prototype.setDataGetter=function(e){this.getter=e},i.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",r,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+r+". Status: "+e.status);var t,n=Number(e.getResponseHeader("Content-length")),o=(t=e.getResponseHeader("Accept-Ranges"))&&"bytes"===t,i=(t=e.getResponseHeader("Content-Encoding"))&&"gzip"===t,a=1048576;o||(a=n);var s=this;s.setDataGetter((function(e){var t=e*a,o=(e+1)*a-1;if(o=Math.min(o,n-1),void 0===s.chunks[e]&&(s.chunks[e]=function(e,t){if(e>t)throw new Error("invalid range ("+e+", "+t+") or no bytes requested!");if(t>n-1)throw new Error("only "+n+" bytes available! programmer error!");var o=new XMLHttpRequest;if(o.open("GET",r,!1),n!==a&&o.setRequestHeader("Range","bytes="+e+"-"+t),"undefined"!=typeof Uint8Array&&(o.responseType="arraybuffer"),o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw new Error("Couldn't load "+r+". Status: "+o.status);return void 0!==o.response?new Uint8Array(o.response||[]):An(o.responseText||"",!0)}(t,o)),void 0===s.chunks[e])throw new Error("doXHR failed!");return s.chunks[e]})),!i&&n||(a=n=1,n=this.getter(0).length,a=n,I("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!d)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a=new i;Object.defineProperties(a,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var s={isDevice:!1,contents:a}}else s={isDevice:!1,url:r};var A=Ze.createFile(e,t,s,n,o);s.contents?A.contents=s.contents:s.url&&(A.contents=null,A.url=s.url),Object.defineProperties(A,{usedBytes:{get:function(){return this.contents.length}}});var c={};return Object.keys(A.stream_ops).forEach((function(e){var t=A.stream_ops[e];c[e]=function(){return Ze.forceLoadFile(A),t.apply(null,arguments)}})),c.read=function(e,t,r,n,o){Ze.forceLoadFile(A);var i=e.node.contents;if(o>=i.length)return 0;var a=Math.min(i.length-o,n);if(Q(a>=0),i.slice)for(var s=0;s<a;s++)t[r+s]=i[o+s];else for(s=0;s<a;s++)t[r+s]=i.get(o+s);return a},A.stream_ops=c,A},createPreloadedFile:function(e,t,r,n,i,a,s,A,c,g){Fe.init();var d=t?Ve.resolve(Ye.join2(e,t)):e,u=pe("cp "+d);function l(r){function l(r){g&&g(),A||Ze.createDataFile(e,t,r,n,i,c),a&&a(),Ie(u)}var E=!1;o.preloadPlugins.forEach((function(e){E||e.canHandle(d)&&(e.handle(r,d,l,(function(){s&&s(),Ie(u)})),E=!0)})),E||l(r)}he(u),"string"==typeof r?function(e,t,r,n){var o=n?"":pe("al "+e);f(e,(function(r){Q(r,'Loading data file "'+e+'" failed (no arrayBuffer).'),t(new Uint8Array(r)),o&&Ie(o)}),(function(t){if(!r)throw'Loading data file "'+e+'" failed.';r()})),o&&he(o)}(r,(function(e){l(e)}),s):l(r)},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:function(){return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function(e,t,r){t=t||function(){},r=r||function(){};var n=Ze.indexedDB();try{var o=n.open(Ze.DB_NAME(),Ze.DB_VERSION)}catch(e){return r(e)}o.onupgradeneeded=function(){I("creating db"),o.result.createObjectStore(Ze.DB_STORE_NAME)},o.onsuccess=function(){var n=o.result.transaction([Ze.DB_STORE_NAME],"readwrite"),i=n.objectStore(Ze.DB_STORE_NAME),a=0,s=0,A=e.length;function c(){0==s?t():r()}e.forEach((function(e){var t=i.put(Ze.analyzePath(e).object.contents,e);t.onsuccess=function(){++a+s==A&&c()},t.onerror=function(){s++,a+s==A&&c()}})),n.onerror=r},o.onerror=r},loadFilesFromDB:function(e,t,r){t=t||function(){},r=r||function(){};var n=Ze.indexedDB();try{var o=n.open(Ze.DB_NAME(),Ze.DB_VERSION)}catch(e){return r(e)}o.onupgradeneeded=r,o.onsuccess=function(){var n=o.result;try{var i=n.transaction([Ze.DB_STORE_NAME],"readonly")}catch(e){return void r(e)}var a=i.objectStore(Ze.DB_STORE_NAME),s=0,A=0,c=e.length;function g(){0==A?t():r()}e.forEach((function(e){var t=a.get(e);t.onsuccess=function(){Ze.analyzePath(e).exists&&Ze.unlink(e),Ze.createDataFile(Ye.dirname(e),Ye.basename(e),t.result,!0,!0,!0),++s+A==c&&g()},t.onerror=function(){A++,s+A==c&&g()}})),i.onerror=r},o.onerror=r},absolutePath:function(){me("FS.absolutePath has been removed; use PATH_FS.resolve instead")},createFolder:function(){me("FS.createFolder has been removed; use FS.mkdir instead")},createLink:function(){me("FS.createLink has been removed; use FS.symlink instead")},joinPath:function(){me("FS.joinPath has been removed; use PATH.join instead")},mmapAlloc:function(){me("FS.mmapAlloc has been replaced by the top level function mmapAlloc")},standardizePath:function(){me("FS.standardizePath has been removed; use PATH.normalize instead")}},qe={mappings:{},DEFAULT_POLLMASK:5,umask:511,calculateAt:function(e,t,r){if("/"===t[0])return t;var n;if(-100===e)n=Ze.cwd();else{var o=Ze.getStream(e);if(!o)throw new Ze.ErrnoError(8);n=o.path}if(0==t.length){if(!r)throw new Ze.ErrnoError(44);return n}return Ye.join2(n,t)},doStat:function(e,t,r){try{var n=e(t)}catch(e){if(e&&e.node&&Ye.normalize(t)!==Ye.normalize(Ze.getPath(e.node)))return-54;throw e}return j[r>>2]=n.dev,j[r+4>>2]=0,j[r+8>>2]=n.ino,j[r+12>>2]=n.mode,j[r+16>>2]=n.nlink,j[r+20>>2]=n.uid,j[r+24>>2]=n.gid,j[r+28>>2]=n.rdev,j[r+32>>2]=0,we=[n.size>>>0,(_e=n.size,+Math.abs(_e)>=1?_e>0?(0|Math.min(+Math.floor(_e/4294967296),4294967295))>>>0:~~+Math.ceil((_e-+(~~_e>>>0))/4294967296)>>>0:0)],j[r+40>>2]=we[0],j[r+44>>2]=we[1],j[r+48>>2]=4096,j[r+52>>2]=n.blocks,j[r+56>>2]=n.atime.getTime()/1e3|0,j[r+60>>2]=0,j[r+64>>2]=n.mtime.getTime()/1e3|0,j[r+68>>2]=0,j[r+72>>2]=n.ctime.getTime()/1e3|0,j[r+76>>2]=0,we=[n.ino>>>0,(_e=n.ino,+Math.abs(_e)>=1?_e>0?(0|Math.min(+Math.floor(_e/4294967296),4294967295))>>>0:~~+Math.ceil((_e-+(~~_e>>>0))/4294967296)>>>0:0)],j[r+80>>2]=we[0],j[r+84>>2]=we[1],0},doMsync:function(e,t,r,n,o){var i=k.slice(e,e+r);Ze.msync(t,i,o,r,n)},doMkdir:function(e,t){return"/"===(e=Ye.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),Ze.mkdir(e,t,0),0},doMknod:function(e,t,r){switch(61440&t){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return Ze.mknod(e,t,r),0},doReadlink:function(e,t,r){if(r<=0)return-28;var n=Ze.readlink(e),o=Math.min(r,S(n)),i=N[t+o];return M(n,t,r+1),N[t+o]=i,o},doAccess:function(e,t){if(-8&t)return-28;var r;if(!(r=Ze.lookupPath(e,{follow:!0}).node))return-44;var n="";return 4&t&&(n+="r"),2&t&&(n+="w"),1&t&&(n+="x"),n&&Ze.nodePermissions(r,n)?-2:0},doDup:function(e,t,r){var n=Ze.getStream(r);return n&&Ze.close(n),Ze.open(e,t,0,r,r).fd},doReadv:function(e,t,r,n){for(var o=0,i=0;i<r;i++){var a=j[t+8*i>>2],s=j[t+(8*i+4)>>2],A=Ze.read(e,N,a,s,n);if(A<0)return-1;if(o+=A,A<s)break}return o},doWritev:function(e,t,r,n){for(var o=0,i=0;i<r;i++){var a=j[t+8*i>>2],s=j[t+(8*i+4)>>2],A=Ze.write(e,N,a,s,n);if(A<0)return-1;o+=A}return o},varargs:void 0,get:function(){return Q(null!=qe.varargs),qe.varargs+=4,j[qe.varargs-4>>2]},getStr:function(e){return P(e)},getStreamFromFD:function(e){var t=Ze.getStream(e);if(!t)throw new Ze.ErrnoError(8);return t},get64:function(e,t){return Q(e>=0?0===t:-1===t),e}};function et(e){if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=48&&t<=57?"_"+e:e}function tt(e,t){return e=et(e),new Function("body","return function "+e+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(t)}var rt=[],nt=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function ot(){for(var e=0,t=5;t<nt.length;++t)void 0!==nt[t]&&++e;return e}function it(){for(var e=5;e<nt.length;++e)if(void 0!==nt[e])return nt[e];return null}function at(e){switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var t=rt.length?rt.pop():nt.length;return nt[t]={refcount:1,value:e},t}}function st(e,t){var r=tt(t,(function(e){this.name=t,this.message=e;var r=new Error(e).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))}));return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},r}var At=void 0;var ct=void 0;function gt(e){for(var t="",r=e;k[r];)t+=ct[k[r++]];return t}function dt(){return Object.keys(ht).length}function ut(){var e=[];for(var t in ht)ht.hasOwnProperty(t)&&e.push(ht[t]);return e}var lt=[];function Et(){for(;lt.length;){var e=lt.pop();e.$$.deleteScheduled=!1,e.delete()}}var ft=void 0;function pt(e){ft=e,lt.length&&ft&&ft(Et)}var ht={},It=void 0;function mt(e){throw new It(e)}function Ct(e,t){for(void 0===t&&mt("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t}function yt(e){return e||mt("Cannot use deleted val. handle = "+e),nt[e].value}var _t={};function wt(e){var t=En(e),r=gt(t);return dn(t),r}function Bt(e,t){var r=_t[e];return void 0===r&&mt(t+" has unknown type "+wt(e)),r}function Dt(e){}var Ot=!1;function bt(e){e.count.value-=1,0===e.count.value&&function(e){e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)}(e)}function Qt(e){return"undefined"==typeof FinalizationGroup?(Qt=function(e){return e},e):(Ot=new FinalizationGroup((function(e){for(var t=e.next();!t.done;t=e.next()){var r=t.value;r.ptr?bt(r):console.warn("object already deleted: "+r.ptr)}})),Dt=function(e){Ot.unregister(e.$$)},(Qt=function(e){return Ot.register(e,e.$$,e.$$),e})(e))}var Tt={};function vt(e){for(;e.length;){var t=e.pop();e.pop()(t)}}function Pt(e){return this.fromWireType(L[e>>2])}var Rt={},Mt={},St=void 0;function Ft(e){throw new St(e)}function Nt(e,t,r){function n(t){var n=r(t);n.length!==e.length&&Ft("Mismatched type converter count");for(var o=0;o<e.length;++o)xt(e[o],n[o])}e.forEach((function(e){Mt[e]=t}));var o=new Array(t.length),i=[],a=0;t.forEach((function(e,t){_t.hasOwnProperty(e)?o[t]=_t[e]:(i.push(e),Rt.hasOwnProperty(e)||(Rt[e]=[]),Rt[e].push((function(){o[t]=_t[e],++a===i.length&&n(o)})))})),0===i.length&&n(o)}function kt(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+e)}}function xt(e,t,r){if(r=r||{},!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=t.name;if(e||mt('type "'+n+'" must have a positive integer typeid pointer'),_t.hasOwnProperty(e)){if(r.ignoreDuplicateRegistrations)return;mt("Cannot register type '"+n+"' twice")}if(_t[e]=t,delete Mt[e],Rt.hasOwnProperty(e)){var o=Rt[e];delete Rt[e],o.forEach((function(e){e()}))}}function Ut(e){if(!(this instanceof Xt))return!1;if(!(e instanceof Xt))return!1;for(var t=this.$$.ptrType.registeredClass,r=this.$$.ptr,n=e.$$.ptrType.registeredClass,o=e.$$.ptr;t.baseClass;)r=t.upcast(r),t=t.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return t===n&&r===o}function jt(e){mt(e.$$.ptrType.registeredClass.name+" instance already deleted")}function Lt(){if(this.$$.ptr||jt(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e,t=Qt(Object.create(Object.getPrototypeOf(this),{$$:{value:(e=this.$$,{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType})}}));return t.$$.count.value+=1,t.$$.deleteScheduled=!1,t}function Ht(){this.$$.ptr||jt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&mt("Object already scheduled for deletion"),Dt(this),bt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function Gt(){return!this.$$.ptr}function Yt(){return this.$$.ptr||jt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&mt("Object already scheduled for deletion"),lt.push(this),1===lt.length&&ft&&ft(Et),this.$$.deleteScheduled=!0,this}function Xt(){}var Vt={};function Wt(e,t,r){if(void 0===e[t].overloadTable){var n=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||mt("Function '"+r+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+e[t].overloadTable+")!"),e[t].overloadTable[arguments.length].apply(this,arguments)},e[t].overloadTable=[],e[t].overloadTable[n.argCount]=n}}function zt(e,t,r){o.hasOwnProperty(e)?((void 0===r||void 0!==o[e].overloadTable&&void 0!==o[e].overloadTable[r])&&mt("Cannot register public name '"+e+"' twice"),Wt(o,e,e),o.hasOwnProperty(r)&&mt("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),o[e].overloadTable[r]=t):(o[e]=t,void 0!==r&&(o[e].numArguments=r))}function $t(e,t,r,n,o,i,a,s){this.name=e,this.constructor=t,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}function Kt(e,t,r){for(;t!==r;)t.upcast||mt("Expected null or instance of "+r.name+", got an instance of "+t.name),e=t.upcast(e),t=t.baseClass;return e}function Jt(e,t){if(null===t)return this.isReference&&mt("null is not a valid "+this.name),0;t.$$||mt('Cannot pass "'+hr(t)+'" as a '+this.name),t.$$.ptr||mt("Cannot pass deleted object as a pointer of type "+this.name);var r=t.$$.ptrType.registeredClass;return Kt(t.$$.ptr,r,this.registeredClass)}function Zt(e,t){var r;if(null===t)return this.isReference&&mt("null is not a valid "+this.name),this.isSmartPointer?(r=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,r),r):0;t.$$||mt('Cannot pass "'+hr(t)+'" as a '+this.name),t.$$.ptr||mt("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&t.$$.ptrType.isConst&&mt("Cannot convert argument of type "+(t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name)+" to parameter type "+this.name);var n=t.$$.ptrType.registeredClass;if(r=Kt(t.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===t.$$.smartPtr&&mt("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?r=t.$$.smartPtr:mt("Cannot convert argument of type "+(t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:r=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)r=t.$$.smartPtr;else{var o=t.clone();r=this.rawShare(r,at((function(){o.delete()}))),null!==e&&e.push(this.rawDestructor,r)}break;default:mt("Unsupporting sharing policy")}return r}function qt(e,t){if(null===t)return this.isReference&&mt("null is not a valid "+this.name),0;t.$$||mt('Cannot pass "'+hr(t)+'" as a '+this.name),t.$$.ptr||mt("Cannot pass deleted object as a pointer of type "+this.name),t.$$.ptrType.isConst&&mt("Cannot convert argument of type "+t.$$.ptrType.name+" to parameter type "+this.name);var r=t.$$.ptrType.registeredClass;return Kt(t.$$.ptr,r,this.registeredClass)}function er(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e}function tr(e){this.rawDestructor&&this.rawDestructor(e)}function rr(e){null!==e&&e.delete()}function nr(e,t,r){if(t===r)return e;if(void 0===r.baseClass)return null;var n=nr(e,t,r.baseClass);return null===n?null:r.downcast(n)}function or(e,t){return t.ptrType&&t.ptr||Ft("makeClassHandle requires ptr and ptrType"),!!t.smartPtrType!==!!t.smartPtr&&Ft("Both smartPtrType and smartPtr must be specified"),t.count={value:1},Qt(Object.create(e,{$$:{value:t}}))}function ir(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var r=function(e,t){return t=Ct(e,t),ht[t]}(this.registeredClass,t);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=t,r.$$.smartPtr=e,r.clone();var n=r.clone();return this.destructor(e),n}function o(){return this.isSmartPointer?or(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):or(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var i,a=this.registeredClass.getActualType(t),s=Vt[a];if(!s)return o.call(this);i=this.isConst?s.constPointerType:s.pointerType;var A=nr(t,this.registeredClass,i.registeredClass);return null===A?o.call(this):this.isSmartPointer?or(i.registeredClass.instancePrototype,{ptrType:i,ptr:A,smartPtrType:this,smartPtr:e}):or(i.registeredClass.instancePrototype,{ptrType:i,ptr:A})}function ar(e,t,r,n,o,i,a,s,A,c,g){this.name=e,this.registeredClass=t,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=A,this.rawShare=c,this.rawDestructor=g,o||void 0!==t.baseClass?this.toWireType=Zt:n?(this.toWireType=Jt,this.destructorFunction=null):(this.toWireType=qt,this.destructorFunction=null)}function sr(e,t,r){o.hasOwnProperty(e)||Ft("Replacing nonexistant public symbol"),void 0!==o[e].overloadTable&&void 0!==r?o[e].overloadTable[r]=t:(o[e]=t,o[e].argCount=r)}function Ar(e,t,r){return e.includes("j")?function(e,t,r){Q("dynCall_"+e in o,"bad function pointer type - no table for sig '"+e+"'"),r&&r.length?Q(r.length===e.substring(1).replace(/j/g,"--").length):Q(1==e.length);var n=o["dynCall_"+e];return r&&r.length?n.apply(null,[t].concat(r)):n.call(null,t)}(e,t,r):(Q(te.get(t),"missing table entry in dynCall: "+t),te.get(t).apply(null,r))}function cr(e,t){var r=(e=gt(e)).includes("j")?function(e,t){Q(e.includes("j"),"getDynCaller should only be called with i64 sigs");var r=[];return function(){r.length=arguments.length;for(var n=0;n<arguments.length;n++)r[n]=arguments[n];return Ar(e,t,r)}}(e,t):te.get(t);return"function"!=typeof r&&mt("unknown function pointer with signature "+e+": "+t),r}var gr=void 0;function dr(e,t){var r=[],n={};throw t.forEach((function e(t){n[t]||_t[t]||(Mt[t]?Mt[t].forEach(e):(r.push(t),n[t]=!0))})),new gr(e+": "+r.map(wt).join([", "]))}function ur(e,t){if(!(e instanceof Function))throw new TypeError("new_ called with constructor type "+typeof e+" which is not a function");var r=tt(e.name||"unknownFunctionName",(function(){}));r.prototype=e.prototype;var n=new r,o=e.apply(n,t);return o instanceof Object?o:n}function lr(e,t,r,n,o){var i=t.length;i<2&&mt("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==t[1]&&null!==r,s=!1,A=1;A<t.length;++A)if(null!==t[A]&&void 0===t[A].destructorFunction){s=!0;break}var c="void"!==t[0].name,g="",d="";for(A=0;A<i-2;++A)g+=(0!==A?", ":"")+"arg"+A,d+=(0!==A?", ":"")+"arg"+A+"Wired";var u="return function "+et(e)+"("+g+") {\nif (arguments.length !== "+(i-2)+") {\nthrowBindingError('function "+e+" called with ' + arguments.length + ' arguments, expected "+(i-2)+" args!');\n}\n";s&&(u+="var destructors = [];\n");var l=s?"destructors":"null",E=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],f=[mt,n,o,vt,t[0],t[1]];a&&(u+="var thisWired = classParam.toWireType("+l+", this);\n");for(A=0;A<i-2;++A)u+="var arg"+A+"Wired = argType"+A+".toWireType("+l+", arg"+A+"); // "+t[A+2].name+"\n",E.push("argType"+A),f.push(t[A+2]);if(a&&(d="thisWired"+(d.length>0?", ":"")+d),u+=(c?"var rv = ":"")+"invoker(fn"+(d.length>0?", ":"")+d+");\n",s)u+="runDestructors(destructors);\n";else for(A=a?1:2;A<t.length;++A){var p=1===A?"thisWired":"arg"+(A-2)+"Wired";null!==t[A].destructorFunction&&(u+=p+"_dtor("+p+"); // "+t[A].name+"\n",E.push(p+"_dtor"),f.push(t[A].destructorFunction))}return c&&(u+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),u+="}\n",E.push(u),ur(Function,E).apply(null,f)}function Er(e,t){for(var r=[],n=0;n<e;n++)r.push(j[(t>>2)+n]);return r}function fr(e,t,r){return e instanceof Object||mt(r+' with invalid "this": '+e),e instanceof t.registeredClass.constructor||mt(r+' incompatible with "this" of type '+e.constructor.name),e.$$.ptr||mt("cannot call emscripten binding method "+r+" on deleted object"),Kt(e.$$.ptr,e.$$.ptrType.registeredClass,t.registeredClass)}function pr(e){e>4&&0==--nt[e].refcount&&(nt[e]=void 0,rt.push(e))}function hr(e){if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e}function Ir(e,t){switch(t){case 2:return function(e){return this.fromWireType(H[e>>2])};case 3:return function(e){return this.fromWireType(G[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function mr(e,t,r){switch(t){case 0:return r?function(e){return N[e]}:function(e){return k[e]};case 1:return r?function(e){return x[e>>1]}:function(e){return U[e>>1]};case 2:return r?function(e){return j[e>>2]}:function(e){return L[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}var Cr={};var yr=[];var _r=[];function wr(e){try{return B.grow(e-F.byteLength+65535>>>16),q(B.buffer),1}catch(t){m("emscripten_realloc_buffer: Attempted to grow heap from "+F.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}function Br(e){me("Cannot use emscripten_generate_pc (needed by __builtin_return_address) without -s USE_OFFSET_CONVERTER")}var Dr={};function Or(e){e.forEach((function(e){var t=Br();t&&(Dr[t]=e)}))}var br={counter:1,buffers:[],mappedBuffers:{},programs:[],framebuffers:[],renderbuffers:[],textures:[],shaders:[],vaos:[],contexts:[],offscreenCanvases:{},queries:[],samplers:[],transformFeedbacks:[],syncs:[],byteSizeByTypeRoot:5120,byteSizeByType:[1,1,2,2,4,4,4,2,3,4,8],stringCache:{},stringiCache:{},unpackAlignment:4,recordError:function(e){br.lastError||(br.lastError=e)},getNewId:function(e){for(var t=br.counter++,r=e.length;r<t;r++)e[r]=null;return t},MAX_TEMP_BUFFER_SIZE:2097152,numTempVertexBuffersPerSize:64,log2ceilLookup:function(e){return 32-Math.clz32(0===e?0:e-1)},generateTempBuffers:function(e,t){var r=br.log2ceilLookup(br.MAX_TEMP_BUFFER_SIZE);t.tempVertexBufferCounters1=[],t.tempVertexBufferCounters2=[],t.tempVertexBufferCounters1.length=t.tempVertexBufferCounters2.length=r+1,t.tempVertexBuffers1=[],t.tempVertexBuffers2=[],t.tempVertexBuffers1.length=t.tempVertexBuffers2.length=r+1,t.tempIndexBuffers=[],t.tempIndexBuffers.length=r+1;for(var n=0;n<=r;++n){t.tempIndexBuffers[n]=null,t.tempVertexBufferCounters1[n]=t.tempVertexBufferCounters2[n]=0;var o=br.numTempVertexBuffersPerSize;t.tempVertexBuffers1[n]=[],t.tempVertexBuffers2[n]=[];var i=t.tempVertexBuffers1[n],a=t.tempVertexBuffers2[n];i.length=a.length=o;for(var s=0;s<o;++s)i[s]=a[s]=null}if(e){t.tempQuadIndexBuffer=en.createBuffer(),t.GLctx.bindBuffer(34963,t.tempQuadIndexBuffer);for(var A=br.MAX_TEMP_BUFFER_SIZE>>1,c=new Uint16Array(A),g=(n=0,0);!(c[n++]=g,n>=A||(c[n++]=g+1,n>=A)||(c[n++]=g+2,n>=A)||(c[n++]=g,n>=A)||(c[n++]=g+2,n>=A)||(c[n++]=g+3,n>=A));)g+=4;t.GLctx.bufferData(34963,c,35044),t.GLctx.bindBuffer(34963,null)}},getTempVertexBuffer:function(e){var t=br.log2ceilLookup(e),r=br.currentContext.tempVertexBuffers1[t],n=br.currentContext.tempVertexBufferCounters1[t];br.currentContext.tempVertexBufferCounters1[t]=br.currentContext.tempVertexBufferCounters1[t]+1&br.numTempVertexBuffersPerSize-1;var o=r[n];if(o)return o;var i=en.getParameter(34964);return r[n]=en.createBuffer(),en.bindBuffer(34962,r[n]),en.bufferData(34962,1<<t,35048),en.bindBuffer(34962,i),r[n]},getTempIndexBuffer:function(e){var t=br.log2ceilLookup(e),r=br.currentContext.tempIndexBuffers[t];if(r)return r;var n=en.getParameter(34965);return br.currentContext.tempIndexBuffers[t]=en.createBuffer(),en.bindBuffer(34963,br.currentContext.tempIndexBuffers[t]),en.bufferData(34963,1<<t,35048),en.bindBuffer(34963,n),br.currentContext.tempIndexBuffers[t]},newRenderingFrameStarted:function(){if(br.currentContext){var e=br.currentContext.tempVertexBuffers1;br.currentContext.tempVertexBuffers1=br.currentContext.tempVertexBuffers2,br.currentContext.tempVertexBuffers2=e,e=br.currentContext.tempVertexBufferCounters1,br.currentContext.tempVertexBufferCounters1=br.currentContext.tempVertexBufferCounters2,br.currentContext.tempVertexBufferCounters2=e;for(var t=br.log2ceilLookup(br.MAX_TEMP_BUFFER_SIZE),r=0;r<=t;++r)br.currentContext.tempVertexBufferCounters1[r]=0}},getSource:function(e,t,r,n){for(var o="",i=0;i<t;++i){var a=n?j[n+4*i>>2]:-1;o+=P(j[r+4*i>>2],a<0?void 0:a)}return o},calcBufLength:function(e,t,r,n){return r>0?n*r:e*br.byteSizeByType[t-br.byteSizeByTypeRoot]*n},usedTempBuffers:[],preDrawHandleClientVertexAttribBindings:function(e){br.resetBufferBinding=!1;for(var t=0;t<br.currentContext.maxVertexAttribs;++t){var r=br.currentContext.clientBuffers[t];if(r.clientside&&r.enabled){br.resetBufferBinding=!0;var n=br.calcBufLength(r.size,r.type,r.stride,e),o=br.getTempVertexBuffer(n);en.bindBuffer(34962,o),en.bufferSubData(34962,0,k.subarray(r.ptr,r.ptr+n)),r.vertexAttribPointerAdaptor.call(en,t,r.size,r.type,r.normalized,r.stride,0)}}},postDrawHandleClientVertexAttribBindings:function(){br.resetBufferBinding&&en.bindBuffer(34962,br.buffers[en.currentArrayBufferBinding])},createContext:function(e,t){t.renderViaOffscreenBackBuffer&&(t.preserveDrawingBuffer=!0);var r=t.majorVersion>1?e.getContext("webgl2",t):e.getContext("webgl",t);return r?br.registerContext(r,t):0},enableOffscreenFramebufferAttributes:function(e){e.renderViaOffscreenBackBuffer=!0,e.preserveDrawingBuffer=!0},createOffscreenFramebuffer:function(e){var t=e.GLctx,r=t.createFramebuffer();if(t.bindFramebuffer(36160,r),e.defaultFbo=r,e.defaultFboForbidBlitFramebuffer=!1,t.getContextAttributes().antialias)e.defaultFboForbidBlitFramebuffer=!0;else{var n=navigator.userAgent.toLowerCase().match(/firefox\/(\d\d)/);if(null!=n){var o=n[1];e.defaultFboForbidBlitFramebuffer=o<67}}e.defaultColorTarget=t.createTexture(),e.defaultDepthTarget=t.createRenderbuffer(),br.resizeOffscreenFramebuffer(e),t.bindTexture(3553,e.defaultColorTarget),t.texParameteri(3553,10241,9728),t.texParameteri(3553,10240,9728),t.texParameteri(3553,10242,33071),t.texParameteri(3553,10243,33071),t.texImage2D(3553,0,6408,t.canvas.width,t.canvas.height,0,6408,5121,null),t.framebufferTexture2D(36160,36064,3553,e.defaultColorTarget,0),t.bindTexture(3553,null);t.createRenderbuffer();t.bindRenderbuffer(36161,e.defaultDepthTarget),t.renderbufferStorage(36161,33189,t.canvas.width,t.canvas.height),t.framebufferRenderbuffer(36160,36096,36161,e.defaultDepthTarget),t.bindRenderbuffer(36161,null);var i=t.createBuffer();t.bindBuffer(34962,i),t.bufferData(34962,new Float32Array([-1,-1,-1,1,1,-1,1,1]),35044),t.bindBuffer(34962,null),e.blitVB=i;var a=t.createShader(35633);t.shaderSource(a,"attribute vec2 pos;varying lowp vec2 tex;void main() { tex = pos * 0.5 + vec2(0.5,0.5); gl_Position = vec4(pos, 0.0, 1.0); }"),t.compileShader(a);var s=t.createShader(35632);t.shaderSource(s,"varying lowp vec2 tex;uniform sampler2D sampler;void main() { gl_FragColor = texture2D(sampler, tex); }"),t.compileShader(s);var A=t.createProgram();t.attachShader(A,a),t.attachShader(A,s),t.linkProgram(A),e.blitProgram=A,e.blitPosLoc=t.getAttribLocation(A,"pos"),t.useProgram(A),t.uniform1i(t.getUniformLocation(A,"sampler"),0),t.useProgram(null),e.defaultVao=void 0,t.createVertexArray&&(e.defaultVao=t.createVertexArray(),t.bindVertexArray(e.defaultVao),t.enableVertexAttribArray(e.blitPosLoc),t.bindVertexArray(null))},resizeOffscreenFramebuffer:function(e){var t=e.GLctx;if(e.defaultColorTarget){var r=t.getParameter(32873);t.bindTexture(3553,e.defaultColorTarget),t.texImage2D(3553,0,6408,t.drawingBufferWidth,t.drawingBufferHeight,0,6408,5121,null),t.bindTexture(3553,r)}if(e.defaultDepthTarget){var n=t.getParameter(36007);t.bindRenderbuffer(36161,e.defaultDepthTarget),t.renderbufferStorage(36161,33189,t.drawingBufferWidth,t.drawingBufferHeight),t.bindRenderbuffer(36161,n)}},blitOffscreenFramebuffer:function(e){var t=e.GLctx,r=t.getParameter(3089);r&&t.disable(3089);var n=t.getParameter(36006);if(t.blitFramebuffer&&!e.defaultFboForbidBlitFramebuffer)t.bindFramebuffer(36008,e.defaultFbo),t.bindFramebuffer(36009,null),t.blitFramebuffer(0,0,t.canvas.width,t.canvas.height,0,0,t.canvas.width,t.canvas.height,16384,9728);else{let r=function(){t.vertexAttribPointer(e.blitPosLoc,2,5126,!1,0,0),t.drawArrays(5,0,4)};t.bindFramebuffer(36160,null);var o=t.getParameter(35725);t.useProgram(e.blitProgram);var i=t.getParameter(34964);t.bindBuffer(34962,e.blitVB);var a=t.getParameter(34016);t.activeTexture(33984);var s=t.getParameter(32873);t.bindTexture(3553,e.defaultColorTarget);var A=t.getParameter(3042);A&&t.disable(3042);var c=t.getParameter(2884);c&&t.disable(2884);var g=t.getParameter(2929);g&&t.disable(2929);var d=t.getParameter(2960);if(d&&t.disable(2960),e.defaultVao){var u=t.getParameter(34229);t.bindVertexArray(e.defaultVao),r(),t.bindVertexArray(u)}else{for(var l={buffer:t.getVertexAttrib(e.blitPosLoc,34975),size:t.getVertexAttrib(e.blitPosLoc,34339),stride:t.getVertexAttrib(e.blitPosLoc,34340),type:t.getVertexAttrib(e.blitPosLoc,34341),normalized:t.getVertexAttrib(e.blitPosLoc,34922),pointer:t.getVertexAttribOffset(e.blitPosLoc,34373)},E=t.getParameter(34921),f=[],p=0;p<E;++p){var h=t.getVertexAttrib(p,34338),I=p==e.blitPosLoc;h&&!I&&t.disableVertexAttribArray(p),!h&&I&&t.enableVertexAttribArray(p),f[p]=h}r();for(p=0;p<E;++p){h=f[p];var m=p==e.blitPosLoc;h&&!m&&t.enableVertexAttribArray(p),!h&&m&&t.disableVertexAttribArray(p)}t.bindBuffer(34962,l.buffer),t.vertexAttribPointer(e.blitPosLoc,l.size,l.type,l.normalized,l.stride,l.offset)}d&&t.enable(2960),g&&t.enable(2929),c&&t.enable(2884),A&&t.enable(3042),t.bindTexture(3553,s),t.activeTexture(a),t.bindBuffer(34962,i),t.useProgram(o)}t.bindFramebuffer(36160,n),r&&t.enable(3089)},registerContext:function(e,t){var r=br.getNewId(br.contexts),n={handle:r,attributes:t,version:t.majorVersion,GLctx:e};e.canvas&&(e.canvas.GLctxObject=n),br.contexts[r]=n,(void 0===t.enableExtensionsByDefault||t.enableExtensionsByDefault)&&br.initExtensions(n),n.maxVertexAttribs=n.GLctx.getParameter(34921),n.clientBuffers=[];for(var o=0;o<n.maxVertexAttribs;o++)n.clientBuffers[o]={enabled:!1,clientside:!1,size:0,type:0,normalized:0,stride:0,ptr:0,vertexAttribPointerAdaptor:null};return br.generateTempBuffers(!1,n),t.renderViaOffscreenBackBuffer&&br.createOffscreenFramebuffer(n),r},makeContextCurrent:function(e){return br.currentContext=br.contexts[e],o.ctx=en=br.currentContext&&br.currentContext.GLctx,!(e&&!en)},getContext:function(e){return br.contexts[e]},deleteContext:function(e){br.currentContext===br.contexts[e]&&(br.currentContext=null),"object"==typeof Qr&&Qr.removeAllHandlersOnTarget(br.contexts[e].GLctx.canvas),br.contexts[e]&&br.contexts[e].GLctx.canvas&&(br.contexts[e].GLctx.canvas.GLctxObject=void 0),br.contexts[e]=null},initExtensions:function(e){if(e||(e=br.currentContext),!e.initExtensionsDone){e.initExtensionsDone=!0;var t,r=e.GLctx;!function(e){var t=e.getExtension("ANGLE_instanced_arrays");if(t)e.vertexAttribDivisor=function(e,r){t.vertexAttribDivisorANGLE(e,r)},e.drawArraysInstanced=function(e,r,n,o){t.drawArraysInstancedANGLE(e,r,n,o)},e.drawElementsInstanced=function(e,r,n,o,i){t.drawElementsInstancedANGLE(e,r,n,o,i)}}(r),function(e){var t=e.getExtension("OES_vertex_array_object");if(t)e.createVertexArray=function(){return t.createVertexArrayOES()},e.deleteVertexArray=function(e){t.deleteVertexArrayOES(e)},e.bindVertexArray=function(e){t.bindVertexArrayOES(e)},e.isVertexArray=function(e){return t.isVertexArrayOES(e)}}(r),function(e){var t=e.getExtension("WEBGL_draw_buffers");if(t)e.drawBuffers=function(e,r){t.drawBuffersWEBGL(e,r)}}(r),(t=r).dibvbi=t.getExtension("WEBGL_draw_instanced_base_vertex_base_instance"),function(e){e.mdibvbi=e.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance")}(r),e.version>=2&&(r.disjointTimerQueryExt=r.getExtension("EXT_disjoint_timer_query_webgl2")),(e.version<2||!r.disjointTimerQueryExt)&&(r.disjointTimerQueryExt=r.getExtension("EXT_disjoint_timer_query")),function(e){e.multiDrawWebgl=e.getExtension("WEBGL_multi_draw")}(r),(r.getSupportedExtensions()||[]).forEach((function(e){e.includes("lose_context")||e.includes("debug")||r.getExtension(e)}))}}},Qr={inEventHandler:0,removeAllEventListeners:function(){for(var e=Qr.eventHandlers.length-1;e>=0;--e)Qr._removeHandler(e);Qr.eventHandlers=[],Qr.deferredCalls=[]},registerRemoveEventListeners:function(){Qr.removeEventListenersRegistered||(se.push(Qr.removeAllEventListeners),Qr.removeEventListenersRegistered=!0)},deferredCalls:[],deferCall:function(e,t,r){function n(e,t){if(e.length!=t.length)return!1;for(var r in e)if(e[r]!=t[r])return!1;return!0}for(var o in Qr.deferredCalls){var i=Qr.deferredCalls[o];if(i.targetFunction==e&&n(i.argsList,r))return}Qr.deferredCalls.push({targetFunction:e,precedence:t,argsList:r}),Qr.deferredCalls.sort((function(e,t){return e.precedence<t.precedence}))},removeDeferredCalls:function(e){for(var t=0;t<Qr.deferredCalls.length;++t)Qr.deferredCalls[t].targetFunction==e&&(Qr.deferredCalls.splice(t,1),--t)},canPerformEventHandlerRequests:function(){return Qr.inEventHandler&&Qr.currentEventHandler.allowsDeferredCalls},runDeferredCalls:function(){if(Qr.canPerformEventHandlerRequests())for(var e=0;e<Qr.deferredCalls.length;++e){var t=Qr.deferredCalls[e];Qr.deferredCalls.splice(e,1),--e,t.targetFunction.apply(null,t.argsList)}},eventHandlers:[],removeAllHandlersOnTarget:function(e,t){for(var r=0;r<Qr.eventHandlers.length;++r)Qr.eventHandlers[r].target!=e||t&&t!=Qr.eventHandlers[r].eventTypeString||Qr._removeHandler(r--)},_removeHandler:function(e){var t=Qr.eventHandlers[e];t.target.removeEventListener(t.eventTypeString,t.eventListenerFunc,t.useCapture),Qr.eventHandlers.splice(e,1)},registerOrRemoveHandler:function(e){var t=function(t){++Qr.inEventHandler,Qr.currentEventHandler=e,Qr.runDeferredCalls(),e.handlerFunc(t),Qr.runDeferredCalls(),--Qr.inEventHandler};if(e.callbackfunc)e.eventListenerFunc=t,e.target.addEventListener(e.eventTypeString,t,e.useCapture),Qr.eventHandlers.push(e),Qr.registerRemoveEventListeners();else for(var r=0;r<Qr.eventHandlers.length;++r)Qr.eventHandlers[r].target==e.target&&Qr.eventHandlers[r].eventTypeString==e.eventTypeString&&Qr._removeHandler(r--)},getNodeNameForTarget:function(e){return e?e==window?"#window":e==screen?"#screen":e&&e.nodeName?e.nodeName:"":""},fullscreenEnabled:function(){return document.fullscreenEnabled||document.webkitFullscreenEnabled}},Tr=["default","low-power","high-performance"],vr=[0,"undefined"!=typeof document?document:0,"undefined"!=typeof window?window:0];function Pr(e){return"number"==typeof e&&(e=P(e)),e&&"#canvas"!==e?void 0!==br&&br.offscreenCanvases[e]?br.offscreenCanvases[e]:function(e){C("Rules for selecting event targets in HTML5 API are changing: instead of using document.getElementById() that only can refer to elements by their DOM ID, new event target selection mechanism uses the more flexible function document.querySelector() that can look up element names, classes, and complex CSS selectors. Build with -s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1 to change to the new lookup rules. See https://github.com/emscripten-core/emscripten/pull/7977 for more details.");try{return e?("number"==typeof e&&(e=vr[e]||P(e)),"#window"===e?window:"#document"===e?document:"#screen"===e?screen:"#canvas"===e?o.canvas:"string"==typeof e?document.getElementById(e):e):window}catch(e){return null}}(e):void 0!==br&&br.offscreenCanvases.canvas?br.offscreenCanvases.canvas:o.canvas}function Rr(){return br.currentContext?br.currentContext.handle:0}function Mr(e){return br.makeContextCurrent(e)?0:-5}o._emscripten_webgl_get_current_context=Rr,o._emscripten_webgl_make_context_current=Mr;var Sr={};function Fr(){if(!Fr.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:A||"./this.program"};for(var t in Sr)void 0===Sr[t]?delete e[t]:e[t]=Sr[t];var r=[];for(var t in e)r.push(t+"="+e[t]);Fr.strings=r}return Fr.strings}var Nr=[];function kr(e,t,r,n){for(var o=0;o<e;o++){var i=en[r](),a=i&&br.getNewId(n);i?(i.name=a,n[a]=i):br.recordError(1282),j[t+4*o>>2]=a}}function xr(e,t){L[e>>2]=t,L[e+4>>2]=(t-L[e>>2])/4294967296;var r=t>=0?function(e){return L[e>>2]+4294967296*L[e+4>>2]}(e):function(e){return L[e>>2]+4294967296*j[e+4>>2]}(e);r!=t&&C("writeI53ToI64() out of range: serialized JS Number "+t+" to Wasm heap as bytes lo=0x"+L[e>>2].toString(16)+", hi=0x"+L[e+4>>2].toString(16)+", which deserializes back to "+r+" instead!")}function Ur(e){var t=S(e)+1,r=un(t);return M(e,r,t),r}function jr(e){return"]"==e.slice(-1)&&e.lastIndexOf("[")}function Lr(e){return 0==(e-=5120)?N:1==e?k:2==e?x:4==e?j:6==e?H:5==e||28922==e||28520==e||30779==e||30782==e?L:U}function Hr(e){return 31-Math.clz32(e.BYTES_PER_ELEMENT)}function Gr(e,t,r,n,o,i){var a=Lr(e),s=Hr(a),A=1<<s,c=function(e){return{5:3,6:4,8:2,29502:3,29504:4,26917:2,26918:2,29846:3,29847:4}[e-6402]||1}(t)*A,g=function(e,t,r,n){var o;return t*(e*r+(o=n)-1&-o)}(r,n,c,br.unpackAlignment);return a.subarray(o>>s,o+g>>s)}function Yr(e){var t=en.currentProgram;if(t){var r=t.uniformLocsById[e];return"number"==typeof r&&(t.uniformLocsById[e]=r=en.getUniformLocation(t,t.uniformArrayNamesById[e]+(r>0?"["+r+"]":""))),r}br.recordError(1282)}var Xr=[];var Vr=[];function Wr(){if(!Wr.called){Wr.called=!0;var e=(new Date).getFullYear(),t=new Date(e,0,1),r=new Date(e,6,1),n=t.getTimezoneOffset(),o=r.getTimezoneOffset(),i=Math.max(n,o);j[In()>>2]=60*i,j[hn()>>2]=Number(n!=o);var a=g(t),s=g(r),A=J(a),c=J(s);o<n?(j[pn()>>2]=A,j[pn()+4>>2]=c):(j[pn()>>2]=c,j[pn()+4>>2]=A)}function g(e){var t=e.toTimeString().match(/\(([A-Za-z ]+)\)$/);return t?t[1]:"GMT"}}function zr(e){return e%4==0&&(e%100!=0||e%400==0)}function $r(e,t){for(var r=0,n=0;n<=t;r+=e[n++]);return r}var Kr=[31,29,31,30,31,30,31,31,30,31,30,31],Jr=[31,28,31,30,31,30,31,31,30,31,30,31];function Zr(e,t){for(var r=new Date(e.getTime());t>0;){var n=zr(r.getFullYear()),o=r.getMonth(),i=(n?Kr:Jr)[o];if(!(t>i-r.getDate()))return r.setDate(r.getDate()+t),r;t-=i-r.getDate()+1,r.setDate(1),o<11?r.setMonth(o+1):(r.setMonth(0),r.setFullYear(r.getFullYear()+1))}return r}function qr(e,t,r,n){var o=j[n+40>>2],i={tm_sec:j[n>>2],tm_min:j[n+4>>2],tm_hour:j[n+8>>2],tm_mday:j[n+12>>2],tm_mon:j[n+16>>2],tm_year:j[n+20>>2],tm_wday:j[n+24>>2],tm_yday:j[n+28>>2],tm_isdst:j[n+32>>2],tm_gmtoff:j[n+36>>2],tm_zone:o?P(o):""},a=P(r),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var A in s)a=a.replace(new RegExp(A,"g"),s[A]);var c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],g=["January","February","March","April","May","June","July","August","September","October","November","December"];function d(e,t,r){for(var n="number"==typeof e?e.toString():e||"";n.length<t;)n=r[0]+n;return n}function u(e,t){return d(e,t,"0")}function l(e,t){function r(e){return e<0?-1:e>0?1:0}var n;return 0===(n=r(e.getFullYear()-t.getFullYear()))&&0===(n=r(e.getMonth()-t.getMonth()))&&(n=r(e.getDate()-t.getDate())),n}function E(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function f(e){var t=Zr(new Date(e.tm_year+1900,0,1),e.tm_yday),r=new Date(t.getFullYear(),0,4),n=new Date(t.getFullYear()+1,0,4),o=E(r),i=E(n);return l(o,t)<=0?l(i,t)<=0?t.getFullYear()+1:t.getFullYear():t.getFullYear()-1}var p={"%a":function(e){return c[e.tm_wday].substring(0,3)},"%A":function(e){return c[e.tm_wday]},"%b":function(e){return g[e.tm_mon].substring(0,3)},"%B":function(e){return g[e.tm_mon]},"%C":function(e){return u((e.tm_year+1900)/100|0,2)},"%d":function(e){return u(e.tm_mday,2)},"%e":function(e){return d(e.tm_mday,2," ")},"%g":function(e){return f(e).toString().substring(2)},"%G":function(e){return f(e)},"%H":function(e){return u(e.tm_hour,2)},"%I":function(e){var t=e.tm_hour;return 0==t?t=12:t>12&&(t-=12),u(t,2)},"%j":function(e){return u(e.tm_mday+$r(zr(e.tm_year+1900)?Kr:Jr,e.tm_mon-1),3)},"%m":function(e){return u(e.tm_mon+1,2)},"%M":function(e){return u(e.tm_min,2)},"%n":function(){return"\n"},"%p":function(e){return e.tm_hour>=0&&e.tm_hour<12?"AM":"PM"},"%S":function(e){return u(e.tm_sec,2)},"%t":function(){return"\t"},"%u":function(e){return e.tm_wday||7},"%U":function(e){var t=new Date(e.tm_year+1900,0,1),r=0===t.getDay()?t:Zr(t,7-t.getDay()),n=new Date(e.tm_year+1900,e.tm_mon,e.tm_mday);if(l(r,n)<0){var o=$r(zr(n.getFullYear())?Kr:Jr,n.getMonth()-1)-31,i=31-r.getDate()+o+n.getDate();return u(Math.ceil(i/7),2)}return 0===l(r,t)?"01":"00"},"%V":function(e){var t,r=new Date(e.tm_year+1900,0,4),n=new Date(e.tm_year+1901,0,4),o=E(r),i=E(n),a=Zr(new Date(e.tm_year+1900,0,1),e.tm_yday);return l(a,o)<0?"53":l(i,a)<=0?"01":(t=o.getFullYear()<e.tm_year+1900?e.tm_yday+32-o.getDate():e.tm_yday+1-o.getDate(),u(Math.ceil(t/7),2))},"%w":function(e){return e.tm_wday},"%W":function(e){var t=new Date(e.tm_year,0,1),r=1===t.getDay()?t:Zr(t,0===t.getDay()?1:7-t.getDay()+1),n=new Date(e.tm_year+1900,e.tm_mon,e.tm_mday);if(l(r,n)<0){var o=$r(zr(n.getFullYear())?Kr:Jr,n.getMonth()-1)-31,i=31-r.getDate()+o+n.getDate();return u(Math.ceil(i/7),2)}return 0===l(r,t)?"01":"00"},"%y":function(e){return(e.tm_year+1900).toString().substring(2)},"%Y":function(e){return e.tm_year+1900},"%z":function(e){var t=e.tm_gmtoff,r=t>=0;return t=(t=Math.abs(t)/60)/60*100+t%60,(r?"+":"-")+String("0000"+t).slice(-4)},"%Z":function(e){return e.tm_zone},"%%":function(){return"%"}};for(var A in p)a.includes(A)&&(a=a.replace(new RegExp(A,"g"),p[A](i)));var h=An(a,!1);return h.length>t?0:(Z(h,e),h.length-1)}o.requestFullscreen=function(e,t){Fe.requestFullscreen(e,t)},o.requestFullScreen=function(){Fe.requestFullScreen()},o.requestAnimationFrame=function(e){Fe.requestAnimationFrame(e)},o.setCanvasSize=function(e,t,r){Fe.setCanvasSize(e,t,r)},o.pauseMainLoop=function(){Fe.mainLoop.pause()},o.resumeMainLoop=function(){Fe.mainLoop.resume()},o.getUserMedia=function(){Fe.getUserMedia()},o.createContext=function(e,t,r,n){return Fe.createContext(e,t,r,n)};var en,tn=function(e,t,r,n){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=Ze.nextInode++,this.name=t,this.mode=r,this.node_ops={},this.stream_ops={},this.rdev=n},rn=365,nn=146;Object.defineProperties(tn.prototype,{read:{get:function(){return(this.mode&rn)===rn},set:function(e){e?this.mode|=rn:this.mode&=-366}},write:{get:function(){return(this.mode&nn)===nn},set:function(e){e?this.mode|=nn:this.mode&=-147}},isFolder:{get:function(){return Ze.isDir(this.mode)}},isDevice:{get:function(){return Ze.isChrdev(this.mode)}}}),Ze.FSNode=tn,Ze.staticInit(),o.FS_createPath=Ze.createPath,o.FS_createDataFile=Ze.createDataFile,o.FS_createPreloadedFile=Ze.createPreloadedFile,o.FS_createLazyFile=Ze.createLazyFile,o.FS_createDevice=Ze.createDevice,o.FS_unlink=Ze.unlink,o.count_emval_handles=ot,o.get_first_emval=it,At=o.PureVirtualError=st(Error,"PureVirtualError"),function(){for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);ct=e}(),o.getInheritedInstanceCount=dt,o.getLiveInheritedInstances=ut,o.flushPendingDeletes=Et,o.setDelayFunction=pt,It=o.BindingError=st(Error,"BindingError"),St=o.InternalError=st(Error,"InternalError"),Xt.prototype.isAliasOf=Ut,Xt.prototype.clone=Lt,Xt.prototype.delete=Ht,Xt.prototype.isDeleted=Gt,Xt.prototype.deleteLater=Yt,ar.prototype.getPointee=er,ar.prototype.destructor=tr,ar.prototype.argPackAdvance=8,ar.prototype.readValueFromPointer=Pt,ar.prototype.deleteObject=rr,ar.prototype.fromWireType=ir,gr=o.UnboundTypeError=st(Error,"UnboundTypeError");for(var on=0;on<32;++on)Nr.push(new Array(on));var an=new Float32Array(288);for(on=0;on<288;++on)Xr[on]=an.subarray(0,on+1);var sn=new Int32Array(288);for(on=0;on<288;++on)Vr[on]=sn.subarray(0,on+1);function An(e,t,r){var n=r>0?r:S(e)+1,o=new Array(n),i=R(e,o,0,o.length);return t&&(o.length=i),o}"function"==typeof atob&&atob;var cn,gn={HaveOffsetConverter:function(){return"undefined"!=typeof wasmOffsetConverter},__cxa_allocate_exception:function(e){return un(e+16)+16},__cxa_atexit:function(e,t){},__cxa_begin_catch:function(e){var t=new Ue(e),r=t.get_exception_info();return r.get_caught()||r.set_caught(!0),r.set_rethrown(!1),je.push(t),function(e){e.add_ref()}(r),t.get_exception_ptr()},__cxa_end_catch:function(){_n(0),Q(je.length>0);var e=je.pop();!function(e){if(e.release_ref()&&!e.get_rethrown()){var t=e.get_destructor();t&&te.get(t)(e.excPtr),He(e.excPtr)}}(e.get_exception_info()),e.free(),Le=0},__cxa_find_matching_catch_2:function(){var e=Le;if(!e)return w(0),0;var t=new xe(e).get_type(),r=new Ue;if(r.set_base_ptr(e),r.set_adjusted_ptr(e),!t)return w(0),0|r.ptr;for(var n=Array.prototype.slice.call(arguments),o=0;o<n.length;o++){var i=n[o];if(0===i||i===t)break;if(wn(i,t,r.get_adjusted_ptr_addr()))return w(i),0|r.ptr}return w(t),0|r.ptr},__cxa_find_matching_catch_3:function(){var e=Le;if(!e)return w(0),0;var t=new xe(e).get_type(),r=new Ue;if(r.set_base_ptr(e),r.set_adjusted_ptr(e),!t)return w(0),0|r.ptr;for(var n=Array.prototype.slice.call(arguments),o=0;o<n.length;o++){var i=n[o];if(0===i||i===t)break;if(wn(i,t,r.get_adjusted_ptr_addr()))return w(i),0|r.ptr}return w(t),0|r.ptr},__cxa_free_exception:He,__cxa_rethrow:function(){var e=je.pop();e||me("no exception to throw");var t=e.get_exception_info(),r=e.get_base_ptr();throw t.get_rethrown()?e.free():(je.push(e),t.set_rethrown(!0),t.set_caught(!1)),Le=r,r+" - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch."},__cxa_thread_atexit:function(e,t){},__cxa_throw:function(e,t,r){throw new xe(e).init(t,r),Le=e,e+" - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch."},__resumeException:function(e){var t=new Ue(e),r=t.get_base_ptr();throw Le||(Le=r),t.free(),r+" - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch."},__sys_fcntl64:function(e,t,r){qe.varargs=r;try{var n=qe.getStreamFromFD(e);switch(t){case 0:return(o=qe.get())<0?-28:Ze.open(n.path,n.flags,0,o).fd;case 1:case 2:case 13:case 14:return 0;case 3:return n.flags;case 4:var o=qe.get();return n.flags|=o,0;case 12:o=qe.get();return x[o+0>>1]=2,0;case 16:case 8:default:return-28;case 9:return Ge(28),-1}}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),-e.errno}},__sys_ioctl:function(e,t,r){qe.varargs=r;try{var n=qe.getStreamFromFD(e);switch(t){case 21509:case 21505:case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:case 21523:case 21524:return n.tty?0:-59;case 21519:if(!n.tty)return-59;var o=qe.get();return j[o>>2]=0,0;case 21520:return n.tty?-28:-59;case 21531:o=qe.get();return Ze.ioctl(n,t,o);default:me("bad ioctl syscall "+t)}}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),-e.errno}},__sys_mmap2:function(e,t,r,n,o,i){try{return function(e,t,r,n,o,i){var a;i<<=12;var s=!1;if(16&n&&e%65536!=0)return-28;if(32&n){if(!(a=ze(t)))return-48;s=!0}else{var A=Ze.getStream(o);if(!A)return-8;var c=Ze.mmap(A,e,t,i,r,n);a=c.ptr,s=c.allocated}return qe.mappings[a]={malloc:a,len:t,allocated:s,fd:o,prot:r,flags:n,offset:i},a}(e,t,r,n,o,i)}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),-e.errno}},__sys_open:function(e,t,r){qe.varargs=r;try{var n=qe.getStr(e),o=r?qe.get():0;return Ze.open(n,t,o).fd}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),-e.errno}},__sys_stat64:function(e,t){try{return e=qe.getStr(e),qe.doStat(Ze.stat,e,t)}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),-e.errno}},_embind_create_inheriting_constructor:function(e,t,r){e=gt(e),t=Bt(t,"wrapper"),r=yt(r);var n=[].slice,o=t.registeredClass,i=o.instancePrototype,a=o.baseClass.instancePrototype,s=o.baseClass.constructor,A=tt(e,(function(){o.baseClass.pureVirtualFunctions.forEach(function(e){if(this[e]===a[e])throw new At("Pure virtual function "+e+" must be implemented in JavaScript")}.bind(this)),Object.defineProperty(this,"__parent",{value:i}),this.__construct.apply(this,n.call(arguments))}));for(var c in i.__construct=function(){this===i&&mt("Pass correct 'this' to __construct");var e=s.implement.apply(void 0,[this].concat(n.call(arguments)));Dt(e);var t,r,a,A=e.$$;e.notifyOnDestruction(),A.preservePointerOnDelete=!0,Object.defineProperties(this,{$$:{value:A}}),Qt(this),t=o,r=A.ptr,a=this,r=Ct(t,r),ht.hasOwnProperty(r)?mt("Tried to register registered instance: "+r):ht[r]=a},i.__destruct=function(){var e,t;this===i&&mt("Pass correct 'this' to __destruct"),Dt(this),e=o,t=this.$$.ptr,t=Ct(e,t),ht.hasOwnProperty(t)?delete ht[t]:mt("Tried to unregister unregistered instance: "+t)},A.prototype=Object.create(i),r)A.prototype[c]=r[c];return at(A)},_embind_finalize_value_object:function(e){var t=Tt[e];delete Tt[e];var r=t.rawConstructor,n=t.rawDestructor,o=t.fields;Nt([e],o.map((function(e){return e.getterReturnType})).concat(o.map((function(e){return e.setterArgumentType}))),(function(e){var i={};return o.forEach((function(t,r){var n=t.fieldName,a=e[r],s=t.getter,A=t.getterContext,c=e[r+o.length],g=t.setter,d=t.setterContext;i[n]={read:function(e){return a.fromWireType(s(A,e))},write:function(e,t){var r=[];g(d,e,c.toWireType(r,t)),vt(r)}}})),[{name:t.name,fromWireType:function(e){var t={};for(var r in i)t[r]=i[r].read(e);return n(e),t},toWireType:function(e,t){for(var o in i)if(!(o in t))throw new TypeError('Missing field: "'+o+'"');var a=r();for(o in i)i[o].write(a,t[o]);return null!==e&&e.push(n,a),a},argPackAdvance:8,readValueFromPointer:Pt,destructorFunction:n}]}))},_embind_register_bigint:function(e,t,r,n,o){},_embind_register_bool:function(e,t,r,n,o){var i=kt(r);xt(e,{name:t=gt(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?n:o},argPackAdvance:8,readValueFromPointer:function(e){var n;if(1===r)n=N;else if(2===r)n=x;else{if(4!==r)throw new TypeError("Unknown boolean type size: "+t);n=j}return this.fromWireType(n[e>>i])},destructorFunction:null})},_embind_register_class:function(e,t,r,n,o,i,a,s,A,c,g,d,u){g=gt(g),i=cr(o,i),s&&(s=cr(a,s)),c&&(c=cr(A,c)),u=cr(d,u);var l=et(g);zt(l,(function(){dr("Cannot construct "+g+" due to unbound types",[n])})),Nt([e,t,r],n?[n]:[],(function(t){var r,o;t=t[0],o=n?(r=t.registeredClass).instancePrototype:Xt.prototype;var a=tt(l,(function(){if(Object.getPrototypeOf(this)!==A)throw new It("Use 'new' to construct "+g);if(void 0===d.constructor_body)throw new It(g+" has no accessible constructor");var e=d.constructor_body[arguments.length];if(void 0===e)throw new It("Tried to invoke ctor of "+g+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(d.constructor_body).toString()+") parameters instead!");return e.apply(this,arguments)})),A=Object.create(o,{constructor:{value:a}});a.prototype=A;var d=new $t(g,a,A,u,r,i,s,c),E=new ar(g,d,!0,!1,!1),f=new ar(g+"*",d,!1,!1,!1),p=new ar(g+" const*",d,!1,!0,!1);return Vt[e]={pointerType:f,constPointerType:p},sr(l,a),[E,f,p]}))},_embind_register_class_class_function:function(e,t,r,n,o,i,a){var s=Er(r,n);t=gt(t),i=cr(o,i),Nt([],[e],(function(e){var n=(e=e[0]).name+"."+t;function o(){dr("Cannot call "+n+" due to unbound types",s)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]);var A=e.registeredClass.constructor;return void 0===A[t]?(o.argCount=r-1,A[t]=o):(Wt(A,t,n),A[t].overloadTable[r-1]=o),Nt([],s,(function(e){var o=[e[0],null].concat(e.slice(1)),s=lr(n,o,null,i,a);return void 0===A[t].overloadTable?(s.argCount=r-1,A[t]=s):A[t].overloadTable[r-1]=s,[]})),[]}))},_embind_register_class_constructor:function(e,t,r,n,o,i){Q(t>0);var a=Er(t,r);o=cr(n,o),Nt([],[e],(function(e){var r="constructor "+(e=e[0]).name;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new It("Cannot register multiple constructors with identical number of parameters ("+(t-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.registeredClass.constructor_body[t-1]=function(){dr("Cannot construct "+e.name+" due to unbound types",a)},Nt([],a,(function(n){return n.splice(1,0,null),e.registeredClass.constructor_body[t-1]=lr(r,n,null,o,i),[]})),[]}))},_embind_register_class_function:function(e,t,r,n,o,i,a,s){var A=Er(r,n);t=gt(t),i=cr(o,i),Nt([],[e],(function(e){var n=(e=e[0]).name+"."+t;function o(){dr("Cannot call "+n+" due to unbound types",A)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(t);var c=e.registeredClass.instancePrototype,g=c[t];return void 0===g||void 0===g.overloadTable&&g.className!==e.name&&g.argCount===r-2?(o.argCount=r-2,o.className=e.name,c[t]=o):(Wt(c,t,n),c[t].overloadTable[r-2]=o),Nt([],A,(function(o){var s=lr(n,o,e,i,a);return void 0===c[t].overloadTable?(s.argCount=r-2,c[t]=s):c[t].overloadTable[r-2]=s,[]})),[]}))},_embind_register_class_property:function(e,t,r,n,o,i,a,s,A,c){t=gt(t),o=cr(n,o),Nt([],[e],(function(e){var n=(e=e[0]).name+"."+t,g={get:function(){dr("Cannot access "+n+" due to unbound types",[r,a])},enumerable:!0,configurable:!0};return g.set=A?function(){dr("Cannot access "+n+" due to unbound types",[r,a])}:function(e){mt(n+" is a read-only property")},Object.defineProperty(e.registeredClass.instancePrototype,t,g),Nt([],A?[r,a]:[r],(function(r){var a=r[0],g={get:function(){var t=fr(this,e,n+" getter");return a.fromWireType(o(i,t))},enumerable:!0};if(A){A=cr(s,A);var d=r[1];g.set=function(t){var r=fr(this,e,n+" setter"),o=[];A(c,r,d.toWireType(o,t)),vt(o)}}return Object.defineProperty(e.registeredClass.instancePrototype,t,g),[]})),[]}))},_embind_register_emval:function(e,t){xt(e,{name:t=gt(t),fromWireType:function(e){var t=nt[e].value;return pr(e),t},toWireType:function(e,t){return at(t)},argPackAdvance:8,readValueFromPointer:Pt,destructorFunction:null})},_embind_register_float:function(e,t,r){var n=kt(r);xt(e,{name:t=gt(t),fromWireType:function(e){return e},toWireType:function(e,t){if("number"!=typeof t&&"boolean"!=typeof t)throw new TypeError('Cannot convert "'+hr(t)+'" to '+this.name);return t},argPackAdvance:8,readValueFromPointer:Ir(t,n),destructorFunction:null})},_embind_register_function:function(e,t,r,n,o,i){var a=Er(t,r);e=gt(e),o=cr(n,o),zt(e,(function(){dr("Cannot call "+e+" due to unbound types",a)}),t-1),Nt([],a,(function(r){var n=[r[0],null].concat(r.slice(1));return sr(e,lr(e,n,null,o,i),t-1),[]}))},_embind_register_integer:function(e,t,r,n,o){t=gt(t),-1===o&&(o=4294967295);var i=kt(r),a=function(e){return e};if(0===n){var s=32-8*r;a=function(e){return e<<s>>>s}}var A=t.includes("unsigned");xt(e,{name:t,fromWireType:a,toWireType:function(e,r){if("number"!=typeof r&&"boolean"!=typeof r)throw new TypeError('Cannot convert "'+hr(r)+'" to '+this.name);if(r<n||r>o)throw new TypeError('Passing a number "'+hr(r)+'" from JS side to C/C++ side to an argument of type "'+t+'", which is outside the valid range ['+n+", "+o+"]!");return A?r>>>0:0|r},argPackAdvance:8,readValueFromPointer:mr(t,i,0!==n),destructorFunction:null})},_embind_register_memory_view:function(e,t,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function o(e){var t=L,r=t[e>>=2],o=t[e+1];return new n(F,o,r)}xt(e,{name:r=gt(r),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},_embind_register_std_string:function(e,t){var r="std::string"===(t=gt(t));xt(e,{name:t,fromWireType:function(e){var t,n=L[e>>2];if(r)for(var o=e+4,i=0;i<=n;++i){var a=e+4+i;if(i==n||0==k[a]){var s=P(o,a-o);void 0===t?t=s:(t+=String.fromCharCode(0),t+=s),o=a+1}}else{var A=new Array(n);for(i=0;i<n;++i)A[i]=String.fromCharCode(k[e+4+i]);t=A.join("")}return dn(e),t},toWireType:function(e,t){t instanceof ArrayBuffer&&(t=new Uint8Array(t));var n="string"==typeof t;n||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||mt("Cannot pass non-string to std::string");var o=(r&&n?function(){return S(t)}:function(){return t.length})(),i=un(4+o+1);if(L[i>>2]=o,r&&n)M(t,i+4,o+1);else if(n)for(var a=0;a<o;++a){var s=t.charCodeAt(a);s>255&&(dn(i),mt("String has UTF-16 code units that do not fit in 8 bits")),k[i+4+a]=s}else for(a=0;a<o;++a)k[i+4+a]=t[a];return null!==e&&e.push(dn,i),i},argPackAdvance:8,readValueFromPointer:Pt,destructorFunction:function(e){dn(e)}})},_embind_register_std_wstring:function(e,t,r){var n,o,i,a,s;r=gt(r),2===t?(n=X,o=V,a=W,i=function(){return U},s=1):4===t&&(n=z,o=$,a=K,i=function(){return L},s=2),xt(e,{name:r,fromWireType:function(e){for(var r,o=L[e>>2],a=i(),A=e+4,c=0;c<=o;++c){var g=e+4+c*t;if(c==o||0==a[g>>s]){var d=n(A,g-A);void 0===r?r=d:(r+=String.fromCharCode(0),r+=d),A=g+t}}return dn(e),r},toWireType:function(e,n){"string"!=typeof n&&mt("Cannot pass non-string to C++ string type "+r);var i=a(n),A=un(4+i+t);return L[A>>2]=i>>s,o(n,A+4,i+t),null!==e&&e.push(dn,A),A},argPackAdvance:8,readValueFromPointer:Pt,destructorFunction:function(e){dn(e)}})},_embind_register_value_object:function(e,t,r,n,o,i){Tt[e]={name:gt(t),rawConstructor:cr(r,n),rawDestructor:cr(o,i),fields:[]}},_embind_register_value_object_field:function(e,t,r,n,o,i,a,s,A,c){Tt[e].fields.push({fieldName:gt(t),getterReturnType:r,getter:cr(n,o),getterContext:i,setterArgumentType:a,setter:cr(s,A),setterContext:c})},_embind_register_void:function(e,t){xt(e,{isVoid:!0,name:t=gt(t),argPackAdvance:0,fromWireType:function(){},toWireType:function(e,t){}})},_emval_call_void_method:function(e,t,r,n){var o,i;(e=yr[e])(t=yt(t),r=void 0===(i=Cr[o=r])?gt(o):i,null,n)},_emval_decref:pr,_emval_get_method_caller:function(e,t){for(var r=function(e,t){for(var r=new Array(e),n=0;n<e;++n)r[n]=Bt(j[(t>>2)+n],"parameter "+n);return r}(e,t),n=r[0],o=n.name+"_$"+r.slice(1).map((function(e){return e.name})).join("_")+"$",i=["retType"],a=[n],s="",A=0;A<e-1;++A)s+=(0!==A?", ":"")+"arg"+A,i.push("argType"+A),a.push(r[1+A]);var c="return function "+et("methodCaller_"+o)+"(handle, name, destructors, args) {\n",g=0;for(A=0;A<e-1;++A)c+=" var arg"+A+" = argType"+A+".readValueFromPointer(args"+(g?"+"+g:"")+");\n",g+=r[A+1].argPackAdvance;for(c+=" var rv = handle[name]("+s+");\n",A=0;A<e-1;++A)r[A+1].deleteObject&&(c+=" argType"+A+".deleteObject(arg"+A+");\n");n.isVoid||(c+=" return retType.toWireType(destructors, rv);\n"),c+="};\n",i.push(c);var d,u,l=ur(Function,i).apply(null,a);return d=l,u=yr.length,yr.push(d),u},_emval_incref:function(e){e>4&&(nt[e].refcount+=1)},_emval_take_value:function(e,t){return at((e=Bt(e,"_emval_take_value")).readValueFromPointer(t))},abort:function(){me()},clock_gettime:function(e,t){var r;if(0===e)r=Date.now();else{if(1!==e&&4!==e)return Ge(28),-1;r=Qe()}return j[t>>2]=r/1e3|0,j[t+4>>2]=r%1e3*1e3*1e3|0,0},dlopen:function(e,t){me("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")},dlsym:function(e,t){me("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")},emscripten_asm_const_int:function(e,t,r){var n=function(e,t){var r;for(Q(Array.isArray(_r)),Q(t%16==0),_r.length=0,t>>=2;r=k[e++];){Q(100===r||102===r||105===r);var n=r<105;n&&1&t&&t++,_r.push(n?G[t++>>1]:j[t]),++t}return _r}(t,r);return Te.hasOwnProperty(e)||me("No EM_ASM constant found at address "+e),Te[e].apply(null,n)},emscripten_get_heap_max:function(){return 2147483648},emscripten_memcpy_big:function(e,t,r){k.copyWithin(e,t,t+r)},emscripten_pc_get_function:function(e){me("Cannot use emscripten_pc_get_function without -s USE_OFFSET_CONVERTER")},emscripten_resize_heap:function(e){var t=k.length;Q((e>>>=0)>t);var r,n,o=2147483648;if(e>o)return m("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is "+o+" bytes!"),!1;for(var i=1;i<=4;i*=2){var a=t*(1+.2/i);a=Math.min(a,e+100663296);var s=Math.min(o,((r=Math.max(e,a))%(n=65536)>0&&(r+=n-r%n),r));if(wr(s))return!0}return m("Failed to grow the heap from "+t+" bytes to "+s+" bytes, not enough memory!"),!1},emscripten_stack_snapshot:function(){var e=(new Error).stack.split("\n");return"Error"==e[0]&&e.shift(),Or(e),Dr.last_addr=Br(e[2]),Dr.last_stack=e,Dr.last_addr},emscripten_stack_unwind_buffer:function(e,t,r){var n;Dr.last_addr==e?n=Dr.last_stack:("Error"==(n=(new Error).stack.split("\n"))[0]&&n.shift(),Or(n));for(var o=2;n[o]&&Br(n[o])!=e;)++o;for(var i=0;i<r&&n[i+o];++i)j[t+4*i>>2]=Br(n[i+o]);return i},emscripten_thread_sleep:function(e){for(var t=Qe();Qe()-t<e;);},emscripten_webgl_create_context:function(e,t){return function(e,t){Q(t);var r=t>>2,n=j[r+6],o={alpha:!!j[r+0],depth:!!j[r+1],stencil:!!j[r+2],antialias:!!j[r+3],premultipliedAlpha:!!j[r+4],preserveDrawingBuffer:!!j[r+5],powerPreference:Tr[n],failIfMajorPerformanceCaveat:!!j[r+7],majorVersion:j[r+8],minorVersion:j[r+9],enableExtensionsByDefault:j[r+10],explicitSwapControl:j[r+11],proxyContextToMainThread:j[r+12],renderViaOffscreenBackBuffer:j[r+13]},i=Pr(e);if(!i)return 0;if(i.offscreenCanvas&&(i=i.offscreenCanvas),o.explicitSwapControl&&(i.transferControlToOffscreen||"undefined"!=typeof OffscreenCanvas&&i instanceof OffscreenCanvas||o.renderViaOffscreenBackBuffer||(o.renderViaOffscreenBackBuffer=!0),i.transferControlToOffscreen)){if(i.controlTransferredOffscreen){if(!br.offscreenCanvases[i.id])return 0}else br.offscreenCanvases[i.id]={canvas:i.transferControlToOffscreen(),canvasSharedPtr:un(12),id:i.id},i.controlTransferredOffscreen=!0;i=br.offscreenCanvases[i.id]}return br.createContext(i,o)}(e,t)},emscripten_webgl_destroy_context:function(e){br.currentContext==e&&(br.currentContext=0),br.deleteContext(e)},emscripten_webgl_get_context_attributes:function(e,t){if(!t)return-5;if(!(e=br.contexts[e]))return-3;var r=e.GLctx;if(!r)return-3;r=r.getContextAttributes(),j[t>>2]=r.alpha,j[t+4>>2]=r.depth,j[t+8>>2]=r.stencil,j[t+12>>2]=r.antialias,j[t+16>>2]=r.premultipliedAlpha,j[t+20>>2]=r.preserveDrawingBuffer;var n=r.powerPreference&&Tr.indexOf(r.powerPreference);return j[t+24>>2]=n,j[t+28>>2]=r.failIfMajorPerformanceCaveat,j[t+32>>2]=e.version,j[t+36>>2]=0,j[t+40>>2]=e.attributes.enableExtensionsByDefault,0},emscripten_webgl_get_current_context:Rr,emscripten_webgl_init_context_attributes:function(e){Q(e);for(var t=e>>2,r=0;r<14;++r)j[t+r]=0;j[t+0]=j[t+1]=j[t+3]=j[t+4]=j[t+8]=j[t+10]=1},emscripten_webgl_make_context_current:Mr,environ_get:function(e,t){var r=0;return Fr().forEach((function(n,o){var i=t+r;j[e+4*o>>2]=i,function(e,t,r){for(var n=0;n<e.length;++n)Q(e.charCodeAt(n)==e.charCodeAt(n)&255),N[0|t++]=e.charCodeAt(n);r||(N[0|t]=0)}(n,i),r+=n.length+1})),0},environ_sizes_get:function(e,t){var r=Fr();j[e>>2]=r.length;var n=0;return r.forEach((function(e){n+=e.length+1})),j[t>>2]=n,0},exit:Pe,fd_close:function(e){try{var t=qe.getStreamFromFD(e);return Ze.close(t),0}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),e.errno}},fd_read:function(e,t,r,n){try{var o=qe.getStreamFromFD(e),i=qe.doReadv(o,t,r);return j[n>>2]=i,0}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),e.errno}},fd_seek:function(e,t,r,n,o){try{var i=qe.getStreamFromFD(e),a=4294967296*r+(t>>>0),s=9007199254740992;return a<=-s||a>=s?-61:(Ze.llseek(i,a,n),we=[i.position>>>0,(_e=i.position,+Math.abs(_e)>=1?_e>0?(0|Math.min(+Math.floor(_e/4294967296),4294967295))>>>0:~~+Math.ceil((_e-+(~~_e>>>0))/4294967296)>>>0:0)],j[o>>2]=we[0],j[o+4>>2]=we[1],i.getdents&&0===a&&0===n&&(i.getdents=null),0)}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),e.errno}},fd_write:function(e,t,r,n){try{var o=qe.getStreamFromFD(e),i=qe.doWritev(o,t,r);return j[n>>2]=i,0}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),e.errno}},getTempRet0:function(){return _},getentropy:function e(t,r){e.randomDevice||(e.randomDevice=Xe());for(var n=0;n<r;n++)N[t+n|0]=e.randomDevice();return 0},glActiveTexture:function(e){en.activeTexture(e)},glAttachShader:function(e,t){en.attachShader(br.programs[e],br.shaders[t])},glBindAttribLocation:function(e,t,r){en.bindAttribLocation(br.programs[e],t,P(r))},glBindBuffer:function(e,t){34962==e?en.currentArrayBufferBinding=t:34963==e&&(en.currentElementArrayBufferBinding=t),35051==e?en.currentPixelPackBufferBinding=t:35052==e&&(en.currentPixelUnpackBufferBinding=t),en.bindBuffer(e,br.buffers[t])},glBindBufferBase:function(e,t,r){en.bindBufferBase(e,t,br.buffers[r])},glBindFramebuffer:function(e,t){en.bindFramebuffer(e,t?br.framebuffers[t]:br.currentContext.defaultFbo)},glBindTexture:function(e,t){en.bindTexture(e,br.textures[t])},glBindVertexArray:function(e){en.bindVertexArray(br.vaos[e]);var t=en.getParameter(34965);en.currentElementArrayBufferBinding=t?0|t.name:0},glBufferData:function(e,t,r,n){br.currentContext.version>=2?r?en.bufferData(e,k,n,r,t):en.bufferData(e,t,n):en.bufferData(e,r?k.subarray(r,r+t):t,n)},glClientWaitSync:function(e,t,r,n){return en.clientWaitSync(br.syncs[e],t,(o=r,Q((i=n)===(0|i)),(o>>>0)+4294967296*i));var o,i},glCompileShader:function(e){en.compileShader(br.shaders[e])},glCreateProgram:function(){var e=br.getNewId(br.programs),t=en.createProgram();return t.name=e,t.maxUniformLength=t.maxAttributeLength=t.maxUniformBlockNameLength=0,t.uniformIdCounter=1,br.programs[e]=t,e},glCreateShader:function(e){var t=br.getNewId(br.shaders);return br.shaders[t]=en.createShader(e),t},glDeleteBuffers:function(e,t){for(var r=0;r<e;r++){var n=j[t+4*r>>2],o=br.buffers[n];o&&(en.deleteBuffer(o),o.name=0,br.buffers[n]=null,n==en.currentArrayBufferBinding&&(en.currentArrayBufferBinding=0),n==en.currentElementArrayBufferBinding&&(en.currentElementArrayBufferBinding=0),n==en.currentPixelPackBufferBinding&&(en.currentPixelPackBufferBinding=0),n==en.currentPixelUnpackBufferBinding&&(en.currentPixelUnpackBufferBinding=0))}},glDeleteFramebuffers:function(e,t){for(var r=0;r<e;++r){var n=j[t+4*r>>2],o=br.framebuffers[n];o&&(en.deleteFramebuffer(o),o.name=0,br.framebuffers[n]=null)}},glDeleteProgram:function(e){if(e){var t=br.programs[e];t?(en.deleteProgram(t),t.name=0,br.programs[e]=null):br.recordError(1281)}},glDeleteShader:function(e){if(e){var t=br.shaders[e];t?(en.deleteShader(t),br.shaders[e]=null):br.recordError(1281)}},glDeleteSync:function(e){if(e){var t=br.syncs[e];t?(en.deleteSync(t),t.name=0,br.syncs[e]=null):br.recordError(1281)}},glDeleteTextures:function(e,t){for(var r=0;r<e;r++){var n=j[t+4*r>>2],o=br.textures[n];o&&(en.deleteTexture(o),o.name=0,br.textures[n]=null)}},glDeleteVertexArrays:function(e,t){for(var r=0;r<e;r++){var n=j[t+4*r>>2];en.deleteVertexArray(br.vaos[n]),br.vaos[n]=null}},glDisable:function(e){en.disable(e)},glDisableVertexAttribArray:function(e){br.currentContext.clientBuffers[e].enabled=!1,en.disableVertexAttribArray(e)},glDrawArrays:function(e,t,r){br.preDrawHandleClientVertexAttribBindings(t+r),en.drawArrays(e,t,r),br.postDrawHandleClientVertexAttribBindings()},glDrawBuffers:function(e,t){for(var r=Nr[e],n=0;n<e;n++)r[n]=j[t+4*n>>2];en.drawBuffers(r)},glEnableVertexAttribArray:function(e){br.currentContext.clientBuffers[e].enabled=!0,en.enableVertexAttribArray(e)},glFenceSync:function(e,t){var r=en.fenceSync(e,t);if(r){var n=br.getNewId(br.syncs);return r.name=n,br.syncs[n]=r,n}return 0},glFinish:function(){en.finish()},glFlush:function(){en.flush()},glFramebufferTexture2D:function(e,t,r,n,o){en.framebufferTexture2D(e,t,r,br.textures[n],o)},glFramebufferTextureLayer:function(e,t,r,n,o){en.framebufferTextureLayer(e,t,br.textures[r],n,o)},glGenBuffers:function(e,t){kr(e,t,"createBuffer",br.buffers)},glGenFramebuffers:function(e,t){kr(e,t,"createFramebuffer",br.framebuffers)},glGenTextures:function(e,t){kr(e,t,"createTexture",br.textures)},glGenVertexArrays:function(e,t){kr(e,t,"createVertexArray",br.vaos)},glGetAttribLocation:function(e,t){return en.getAttribLocation(br.programs[e],P(t))},glGetError:function(){var e=en.getError()||br.lastError;return br.lastError=0,e},glGetIntegerv:function(e,t){!function(e,t,r){if(t){var n=void 0;switch(e){case 36346:n=1;break;case 36344:return void(0!=r&&1!=r&&br.recordError(1280));case 34814:case 36345:n=0;break;case 34466:var o=en.getParameter(34467);n=o?o.length:0;break;case 33309:if(br.currentContext.version<2)return void br.recordError(1282);n=2*(en.getSupportedExtensions()||[]).length;break;case 33307:case 33308:if(br.currentContext.version<2)return void br.recordError(1280);n=33307==e?3:0}if(void 0===n){var i=en.getParameter(e);switch(typeof i){case"number":n=i;break;case"boolean":n=i?1:0;break;case"string":return void br.recordError(1280);case"object":if(null===i)switch(e){case 34964:case 35725:case 34965:case 36006:case 36007:case 32873:case 34229:case 36662:case 36663:case 35053:case 35055:case 36010:case 35097:case 35869:case 32874:case 36389:case 35983:case 35368:case 34068:n=0;break;default:return void br.recordError(1280)}else{if(i instanceof Float32Array||i instanceof Uint32Array||i instanceof Int32Array||i instanceof Array){for(var a=0;a<i.length;++a)switch(r){case 0:j[t+4*a>>2]=i[a];break;case 2:H[t+4*a>>2]=i[a];break;case 4:N[t+a|0]=i[a]?1:0}return}try{n=0|i.name}catch(t){return br.recordError(1280),void m("GL_INVALID_ENUM in glGet"+r+"v: Unknown object returned from WebGL getParameter("+e+")! (error: "+t+")")}}break;default:return br.recordError(1280),void m("GL_INVALID_ENUM in glGet"+r+"v: Native code calling glGet"+r+"v("+e+") and it returns "+i+" of type "+typeof i+"!")}}switch(r){case 1:xr(t,n);break;case 0:j[t>>2]=n;break;case 2:H[t>>2]=n;break;case 4:N[0|t]=n?1:0}}else br.recordError(1281)}(e,t,0)},glGetString:function(e){var t=br.stringCache[e];if(!t){switch(e){case 7939:var r=en.getSupportedExtensions()||[];t=Ur((r=r.concat(r.map((function(e){return"GL_"+e})))).join(" "));break;case 7936:case 7937:case 37445:case 37446:var n=en.getParameter(e);n||br.recordError(1280),t=n&&Ur(n);break;case 7938:var o=en.getParameter(7938);t=Ur(o=br.currentContext.version>=2?"OpenGL ES 3.0 ("+o+")":"OpenGL ES 2.0 ("+o+")");break;case 35724:var i=en.getParameter(35724),a=i.match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);null!==a&&(3==a[1].length&&(a[1]=a[1]+"0"),i="OpenGL ES GLSL ES "+a[1]+" ("+i+")"),t=Ur(i);break;default:br.recordError(1280)}br.stringCache[e]=t}return t},glGetUniformBlockIndex:function(e,t){return en.getUniformBlockIndex(br.programs[e],P(t))},glGetUniformLocation:function(e,t){if(t=P(t),e=br.programs[e]){!function(e){var t,r,n=e.uniformLocsById,o=e.uniformSizeAndIdsByName;if(!n)for(e.uniformLocsById=n={},e.uniformArrayNamesById={},t=0;t<en.getProgramParameter(e,35718);++t){var i=en.getActiveUniform(e,t),a=i.name,s=i.size,A=jr(a),c=A>0?a.slice(0,A):a,g=e.uniformIdCounter;for(e.uniformIdCounter+=s,o[c]=[s,g],r=0;r<s;++r)n[g]=r,e.uniformArrayNamesById[g++]=c}}(e);var r=e.uniformLocsById,n=0,o=t,i=jr(t);i>0&&(s=t.slice(i+1),n=parseInt(s)>>>0,o=t.slice(0,i));var a=e.uniformSizeAndIdsByName[o];if(a&&n<a[0]&&(r[n+=a[1]]=r[n]||en.getUniformLocation(e,t)))return n}else br.recordError(1281);var s;return-1},glLinkProgram:function(e){e=br.programs[e],en.linkProgram(e),e.uniformLocsById=0,e.uniformSizeAndIdsByName={}},glPixelStorei:function(e,t){3317==e&&(br.unpackAlignment=t),en.pixelStorei(e,t)},glReadPixels:function(e,t,r,n,o,i,a){if(br.currentContext.version>=2)if(en.currentPixelPackBufferBinding)en.readPixels(e,t,r,n,o,i,a);else{var s=Lr(i);en.readPixels(e,t,r,n,o,i,s,a>>Hr(s))}else{var A=Gr(i,o,r,n,a);A?en.readPixels(e,t,r,n,o,i,A):br.recordError(1280)}},glShaderSource:function(e,t,r,n){var o=br.getSource(e,t,r,n);en.shaderSource(br.shaders[e],o)},glTexImage2D:function(e,t,r,n,o,i,a,s,A){if(br.currentContext.version>=2)if(en.currentPixelUnpackBufferBinding)en.texImage2D(e,t,r,n,o,i,a,s,A);else if(A){var c=Lr(s);en.texImage2D(e,t,r,n,o,i,a,s,c,A>>Hr(c))}else en.texImage2D(e,t,r,n,o,i,a,s,null);else en.texImage2D(e,t,r,n,o,i,a,s,A?Gr(s,a,n,o,A):null)},glTexParameterfv:function(e,t,r){var n=H[r>>2];en.texParameterf(e,t,n)},glTexParameteri:function(e,t,r){en.texParameteri(e,t,r)},glTexStorage2D:function(e,t,r,n,o){en.texStorage2D(e,t,r,n,o)},glTexStorage3D:function(e,t,r,n,o,i){en.texStorage3D(e,t,r,n,o,i)},glTexSubImage2D:function(e,t,r,n,o,i,a,s,A){if(br.currentContext.version>=2)if(en.currentPixelUnpackBufferBinding)en.texSubImage2D(e,t,r,n,o,i,a,s,A);else if(A){var c=Lr(s);en.texSubImage2D(e,t,r,n,o,i,a,s,c,A>>Hr(c))}else en.texSubImage2D(e,t,r,n,o,i,a,s,null);else{var g=null;A&&(g=Gr(s,a,o,i,A)),en.texSubImage2D(e,t,r,n,o,i,a,s,g)}},glTexSubImage3D:function(e,t,r,n,o,i,a,s,A,c,g){if(en.currentPixelUnpackBufferBinding)en.texSubImage3D(e,t,r,n,o,i,a,s,A,c,g);else if(g){var d=Lr(c);en.texSubImage3D(e,t,r,n,o,i,a,s,A,c,d,g>>Hr(d))}else en.texSubImage3D(e,t,r,n,o,i,a,s,A,c,null)},glUniform1f:function(e,t){en.uniform1f(Yr(e),t)},glUniform1i:function(e,t){en.uniform1i(Yr(e),t)},glUniform2fv:function(e,t,r){if(br.currentContext.version>=2)en.uniform2fv(Yr(e),H,r>>2,2*t);else{if(t<=144)for(var n=Xr[2*t-1],o=0;o<2*t;o+=2)n[o]=H[r+4*o>>2],n[o+1]=H[r+(4*o+4)>>2];else n=H.subarray(r>>2,r+8*t>>2);en.uniform2fv(Yr(e),n)}},glUniform4fv:function(e,t,r){if(br.currentContext.version>=2)en.uniform4fv(Yr(e),H,r>>2,4*t);else{if(t<=72){var n=Xr[4*t-1],o=H;r>>=2;for(var i=0;i<4*t;i+=4){var a=r+i;n[i]=o[a],n[i+1]=o[a+1],n[i+2]=o[a+2],n[i+3]=o[a+3]}}else n=H.subarray(r>>2,r+16*t>>2);en.uniform4fv(Yr(e),n)}},glUniform4iv:function(e,t,r){if(br.currentContext.version>=2)en.uniform4iv(Yr(e),j,r>>2,4*t);else{if(t<=72)for(var n=Vr[4*t-1],o=0;o<4*t;o+=4)n[o]=j[r+4*o>>2],n[o+1]=j[r+(4*o+4)>>2],n[o+2]=j[r+(4*o+8)>>2],n[o+3]=j[r+(4*o+12)>>2];else n=j.subarray(r>>2,r+16*t>>2);en.uniform4iv(Yr(e),n)}},glUniformBlockBinding:function(e,t,r){e=br.programs[e],en.uniformBlockBinding(e,t,r)},glUniformMatrix4fv:function(e,t,r,n){if(br.currentContext.version>=2)en.uniformMatrix4fv(Yr(e),!!r,H,n>>2,16*t);else{if(t<=18){var o=Xr[16*t-1],i=H;n>>=2;for(var a=0;a<16*t;a+=16){var s=n+a;o[a]=i[s],o[a+1]=i[s+1],o[a+2]=i[s+2],o[a+3]=i[s+3],o[a+4]=i[s+4],o[a+5]=i[s+5],o[a+6]=i[s+6],o[a+7]=i[s+7],o[a+8]=i[s+8],o[a+9]=i[s+9],o[a+10]=i[s+10],o[a+11]=i[s+11],o[a+12]=i[s+12],o[a+13]=i[s+13],o[a+14]=i[s+14],o[a+15]=i[s+15]}}else o=H.subarray(n>>2,n+64*t>>2);en.uniformMatrix4fv(Yr(e),!!r,o)}},glUseProgram:function(e){e=br.programs[e],en.useProgram(e),en.currentProgram=e},glVertexAttribPointer:function(e,t,r,n,o,i){var a=br.currentContext.clientBuffers[e];if(!en.currentArrayBufferBinding)return a.size=t,a.type=r,a.normalized=n,a.stride=o,a.ptr=i,a.clientside=!0,void(a.vertexAttribPointerAdaptor=function(e,t,r,n,o,i){this.vertexAttribPointer(e,t,r,n,o,i)});a.clientside=!1,en.vertexAttribPointer(e,t,r,!!n,o,i)},glViewport:function(e,t,r,n){en.viewport(e,t,r,n)},gmtime_r:function e(t,r){var n=new Date(1e3*j[t>>2]);j[r>>2]=n.getUTCSeconds(),j[r+4>>2]=n.getUTCMinutes(),j[r+8>>2]=n.getUTCHours(),j[r+12>>2]=n.getUTCDate(),j[r+16>>2]=n.getUTCMonth(),j[r+20>>2]=n.getUTCFullYear()-1900,j[r+24>>2]=n.getUTCDay(),j[r+36>>2]=0,j[r+32>>2]=0;var o=Date.UTC(n.getUTCFullYear(),0,1,0,0,0,0),i=(n.getTime()-o)/864e5|0;return j[r+28>>2]=i,e.GMTString||(e.GMTString=J("GMT")),j[r+40>>2]=e.GMTString,r},invoke_diii:function(e,t,r,n){var o=mn();try{return te.get(e)(t,r,n)}catch(e){if(Cn(o),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_i:function(e){var t=mn();try{return te.get(e)()}catch(e){if(Cn(t),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_ii:function(e,t){var r=mn();try{return te.get(e)(t)}catch(e){if(Cn(r),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iii:function(e,t,r){var n=mn();try{return te.get(e)(t,r)}catch(e){if(Cn(n),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iiii:function(e,t,r,n){var o=mn();try{return te.get(e)(t,r,n)}catch(e){if(Cn(o),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iiiii:function(e,t,r,n,o){var i=mn();try{return te.get(e)(t,r,n,o)}catch(e){if(Cn(i),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iiiiii:function(e,t,r,n,o,i){var a=mn();try{return te.get(e)(t,r,n,o,i)}catch(e){if(Cn(a),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iiiiiii:function(e,t,r,n,o,i,a){var s=mn();try{return te.get(e)(t,r,n,o,i,a)}catch(e){if(Cn(s),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c){var g=mn();try{return te.get(e)(t,r,n,o,i,a,s,A,c)}catch(e){if(Cn(g),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iiiiiiii:function(e,t,r,n,o,i,a,s){var A=mn();try{return te.get(e)(t,r,n,o,i,a,s)}catch(e){if(Cn(A),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iiiiiiiii:function(e,t,r,n,o,i,a,s,A){var c=mn();try{return te.get(e)(t,r,n,o,i,a,s,A)}catch(e){if(Cn(c),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_v:function(e){var t=mn();try{te.get(e)()}catch(e){if(Cn(t),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_vdiii:function(e,t,r,n,o){var i=mn();try{te.get(e)(t,r,n,o)}catch(e){if(Cn(i),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_vi:function(e,t){var r=mn();try{te.get(e)(t)}catch(e){if(Cn(r),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_vididdii:function(e,t,r,n,o,i,a,s){var A=mn();try{te.get(e)(t,r,n,o,i,a,s)}catch(e){if(Cn(A),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_vidii:function(e,t,r,n,o){var i=mn();try{te.get(e)(t,r,n,o)}catch(e){if(Cn(i),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_vii:function(e,t,r){var n=mn();try{te.get(e)(t,r)}catch(e){if(Cn(n),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viid:function(e,t,r,n){var o=mn();try{te.get(e)(t,r,n)}catch(e){if(Cn(o),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viidi:function(e,t,r,n,o){var i=mn();try{te.get(e)(t,r,n,o)}catch(e){if(Cn(i),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viididii:function(e,t,r,n,o,i,a,s){var A=mn();try{te.get(e)(t,r,n,o,i,a,s)}catch(e){if(Cn(A),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viii:function(e,t,r,n){var o=mn();try{te.get(e)(t,r,n)}catch(e){if(Cn(o),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiid:function(e,t,r,n,o){var i=mn();try{te.get(e)(t,r,n,o)}catch(e){if(Cn(i),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiidd:function(e,t,r,n,o,i){var a=mn();try{te.get(e)(t,r,n,o,i)}catch(e){if(Cn(a),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiddi:function(e,t,r,n,o,i,a){var s=mn();try{te.get(e)(t,r,n,o,i,a)}catch(e){if(Cn(s),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiidi:function(e,t,r,n,o,i){var a=mn();try{te.get(e)(t,r,n,o,i)}catch(e){if(Cn(a),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiii:function(e,t,r,n,o){var i=mn();try{te.get(e)(t,r,n,o)}catch(e){if(Cn(i),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiid:function(e,t,r,n,o,i){var a=mn();try{te.get(e)(t,r,n,o,i)}catch(e){if(Cn(a),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiidi:function(e,t,r,n,o,i,a){var s=mn();try{te.get(e)(t,r,n,o,i,a)}catch(e){if(Cn(s),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiidid:function(e,t,r,n,o,i,a,s){var A=mn();try{te.get(e)(t,r,n,o,i,a,s)}catch(e){if(Cn(A),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiidiidiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l,E,f){var p=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l,E,f)}catch(e){if(Cn(p),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiifiifiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l,E,f){var p=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l,E,f)}catch(e){if(Cn(p),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiii:function(e,t,r,n,o,i){var a=mn();try{te.get(e)(t,r,n,o,i)}catch(e){if(Cn(a),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiid:function(e,t,r,n,o,i,a){var s=mn();try{te.get(e)(t,r,n,o,i,a)}catch(e){if(Cn(s),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiif:function(e,t,r,n,o,i,a){var s=mn();try{te.get(e)(t,r,n,o,i,a)}catch(e){if(Cn(s),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiii:function(e,t,r,n,o,i,a){var s=mn();try{te.get(e)(t,r,n,o,i,a)}catch(e){if(Cn(s),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiid:function(e,t,r,n,o,i,a,s){var A=mn();try{te.get(e)(t,r,n,o,i,a,s)}catch(e){if(Cn(A),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiif:function(e,t,r,n,o,i,a,s){var A=mn();try{te.get(e)(t,r,n,o,i,a,s)}catch(e){if(Cn(A),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiii:function(e,t,r,n,o,i,a,s){var A=mn();try{te.get(e)(t,r,n,o,i,a,s)}catch(e){if(Cn(A),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c,g){var d=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(Cn(d),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiidiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u){var l=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(Cn(l),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiifiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u){var l=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(Cn(l),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiii:function(e,t,r,n,o,i,a,s,A){var c=mn();try{te.get(e)(t,r,n,o,i,a,s,A)}catch(e){if(Cn(c),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiidd:function(e,t,r,n,o,i,a,s,A,c,g){var d=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(Cn(d),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiidf:function(e,t,r,n,o,i,a,s,A,c,g){var d=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(Cn(d),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiii:function(e,t,r,n,o,i,a,s,A,c){var g=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c)}catch(e){if(Cn(g),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiiidd:function(e,t,r,n,o,i,a,s,A,c,g,d){var u=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d)}catch(e){if(Cn(u),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c,g,d,u){var l=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(Cn(l),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g){var d=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(Cn(d),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l){var E=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l)}catch(e){if(Cn(E),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d){var u=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d)}catch(e){if(Cn(u),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u){var l=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(Cn(l),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l){var E=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l)}catch(e){if(Cn(E),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},llvm_eh_typeid_for:function(e){return e},localtime_r:function(e,t){Wr();var r=new Date(1e3*j[e>>2]);j[t>>2]=r.getSeconds(),j[t+4>>2]=r.getMinutes(),j[t+8>>2]=r.getHours(),j[t+12>>2]=r.getDate(),j[t+16>>2]=r.getMonth(),j[t+20>>2]=r.getFullYear()-1900,j[t+24>>2]=r.getDay();var n=new Date(r.getFullYear(),0,1),o=(r.getTime()-n.getTime())/864e5|0;j[t+28>>2]=o,j[t+36>>2]=-60*r.getTimezoneOffset();var i=new Date(r.getFullYear(),6,1).getTimezoneOffset(),a=n.getTimezoneOffset(),s=0|(i!=a&&r.getTimezoneOffset()==Math.min(a,i));j[t+32>>2]=s;var A=j[pn()+(s?4:0)>>2];return j[t+40>>2]=A,t},mktime:function(e){Wr();var t=new Date(j[e+20>>2]+1900,j[e+16>>2],j[e+12>>2],j[e+8>>2],j[e+4>>2],j[e>>2],0),r=j[e+32>>2],n=t.getTimezoneOffset(),o=new Date(t.getFullYear(),0,1),i=new Date(t.getFullYear(),6,1).getTimezoneOffset(),a=o.getTimezoneOffset(),s=Math.min(a,i);if(r<0)j[e+32>>2]=Number(i!=a&&s==n);else if(r>0!=(s==n)){var A=Math.max(a,i),c=r>0?s:A;t.setTime(t.getTime()+6e4*(c-n))}j[e+24>>2]=t.getDay();var g=(t.getTime()-o.getTime())/864e5|0;return j[e+28>>2]=g,j[e>>2]=t.getSeconds(),j[e+4>>2]=t.getMinutes(),j[e+8>>2]=t.getHours(),j[e+12>>2]=t.getDate(),j[e+16>>2]=t.getMonth(),t.getTime()/1e3|0},proc_exit:function(e){Qn(e)},setTempRet0:function(e){w(e)},strftime:qr,strftime_l:function(e,t,r,n){return qr(e,t,r,n)}},dn=(function(){var e={env:gn,wasi_snapshot_preview1:gn};function t(e,t){var r,n=e.exports;o.asm=n,Q(B=o.asm.memory,"memory not found in wasm exports"),q(B.buffer),Q(te=o.asm.__indirect_function_table,"table not found in wasm exports"),r=o.asm.__wasm_call_ctors,ae.unshift(r),Ie("wasm-instantiate")}he("wasm-instantiate");var r=o;function i(e){Q(o===r,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),r=null,t(e.instance)}function a(t){return function(){if(!y&&(g||d)){if("function"==typeof fetch&&!De(Ce))return fetch(Ce,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+Ce+"'";return e.arrayBuffer()})).catch((function(){return be(Ce)}));if(f)return new Promise((function(e,t){f(Ce,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return be(Ce)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){m("failed to asynchronously prepare wasm: "+e),De(Ce)&&m("warning: Loading from a file URI ("+Ce+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),me(e)}))}if(o.instantiateWasm)try{return o.instantiateWasm(e,t)}catch(e){return m("Module.instantiateWasm callback failed with error: "+e),!1}(y||"function"!=typeof WebAssembly.instantiateStreaming||Be(Ce)||De(Ce)||"function"!=typeof fetch?a(i):fetch(Ce,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(i,(function(e){return m("wasm streaming compile failed: "+e),m("falling back to ArrayBuffer instantiation"),a(i)}))}))).catch(n)}(),o.___wasm_call_ctors=Oe("__wasm_call_ctors"),o._free=Oe("free")),un=o._malloc=Oe("malloc"),ln=o.___errno_location=Oe("__errno_location"),En=(o._fflush=Oe("fflush"),o.___getTypeName=Oe("__getTypeName")),fn=(o.___embind_register_native_and_builtin_types=Oe("__embind_register_native_and_builtin_types"),o._emscripten_main_thread_process_queued_calls=Oe("emscripten_main_thread_process_queued_calls"),o._emscripten_stack_get_end=function(){return(fn=o._emscripten_stack_get_end=o.asm.emscripten_stack_get_end).apply(null,arguments)}),pn=o.__get_tzname=Oe("_get_tzname"),hn=o.__get_daylight=Oe("_get_daylight"),In=o.__get_timezone=Oe("_get_timezone"),mn=o.stackSave=Oe("stackSave"),Cn=o.stackRestore=Oe("stackRestore"),yn=(o.stackAlloc=Oe("stackAlloc"),o._emscripten_stack_init=function(){return(yn=o._emscripten_stack_init=o.asm.emscripten_stack_init).apply(null,arguments)}),_n=(o._emscripten_stack_get_free=function(){return(o._emscripten_stack_get_free=o.asm.emscripten_stack_get_free).apply(null,arguments)},o._saveSetjmp=Oe("saveSetjmp"),o._setThrew=Oe("setThrew")),wn=o.___cxa_can_catch=Oe("__cxa_can_catch"),Bn=o.___cxa_is_pointer_type=Oe("__cxa_is_pointer_type"),Dn=o._memalign=Oe("memalign");o._emscripten_builtin_malloc=Oe("emscripten_builtin_malloc"),o._emscripten_builtin_free=Oe("emscripten_builtin_free"),o._emscripten_builtin_memalign=Oe("emscripten_builtin_memalign"),o.dynCall_jii=Oe("dynCall_jii"),o.dynCall_viji=Oe("dynCall_viji"),o.dynCall_jjj=Oe("dynCall_jjj"),o.dynCall_iiiijj=Oe("dynCall_iiiijj"),o.dynCall_viijj=Oe("dynCall_viijj"),o.dynCall_viiijjjj=Oe("dynCall_viiijjjj"),o.dynCall_ji=Oe("dynCall_ji"),o.dynCall_vij=Oe("dynCall_vij"),o.dynCall_viijii=Oe("dynCall_viijii"),o.dynCall_vj=Oe("dynCall_vj"),o.dynCall_viij=Oe("dynCall_viij"),o.dynCall_viiiiij=Oe("dynCall_viiiiij"),o.dynCall_iijjiiii=Oe("dynCall_iijjiiii"),o.dynCall_jiji=Oe("dynCall_jiji"),o.dynCall_iiiiij=Oe("dynCall_iiiiij"),o.dynCall_iiiiijj=Oe("dynCall_iiiiijj"),o.dynCall_iiiiiijj=Oe("dynCall_iiiiiijj");function On(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function bn(e){function t(){cn||(cn=!0,o.calledRun=!0,b||(oe(),Q(!ce),ce=!0,o.noFSInit||Ze.init.initialized||Ze.init(),Ze.ignorePermissions=!1,We.init(),Ne(ae),r(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),Q(!o._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),function(){if(oe(),o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)e=o.postRun.shift(),Ae.unshift(e);var e;Ne(Ae)}()))}e=e||s,ue>0||(yn(),ne(),function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)e=o.preRun.shift(),ie.unshift(e);var e;Ne(ie)}(),ue>0||(o.setStatus?(o.setStatus("Running..."),setTimeout((function(){setTimeout((function(){o.setStatus("")}),1),t()}),1)):t(),oe()))}function Qn(e){O=e,de()||(o.onExit&&o.onExit(e),b=!0),c(e,new On(e))}if(Object.getOwnPropertyDescriptor(o,"intArrayFromString")||(o.intArrayFromString=function(){me("'intArrayFromString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"intArrayToString")||(o.intArrayToString=function(){me("'intArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ccall")||(o.ccall=function(){me("'ccall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"cwrap")||(o.cwrap=function(){me("'cwrap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setValue")||(o.setValue=function(){me("'setValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getValue")||(o.getValue=function(){me("'getValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"allocate")||(o.allocate=function(){me("'allocate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"UTF8ArrayToString")||(o.UTF8ArrayToString=function(){me("'UTF8ArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"UTF8ToString")||(o.UTF8ToString=function(){me("'UTF8ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stringToUTF8Array")||(o.stringToUTF8Array=function(){me("'stringToUTF8Array' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stringToUTF8")||(o.stringToUTF8=function(){me("'stringToUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"lengthBytesUTF8")||(o.lengthBytesUTF8=function(){me("'lengthBytesUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stackTrace")||(o.stackTrace=function(){me("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"addOnPreRun")||(o.addOnPreRun=function(){me("'addOnPreRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"addOnInit")||(o.addOnInit=function(){me("'addOnInit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"addOnPreMain")||(o.addOnPreMain=function(){me("'addOnPreMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"addOnExit")||(o.addOnExit=function(){me("'addOnExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"addOnPostRun")||(o.addOnPostRun=function(){me("'addOnPostRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeStringToMemory")||(o.writeStringToMemory=function(){me("'writeStringToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeArrayToMemory")||(o.writeArrayToMemory=function(){me("'writeArrayToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeAsciiToMemory")||(o.writeAsciiToMemory=function(){me("'writeAsciiToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),o.addRunDependency=he,o.removeRunDependency=Ie,Object.getOwnPropertyDescriptor(o,"FS_createFolder")||(o.FS_createFolder=function(){me("'FS_createFolder' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),o.FS_createPath=Ze.createPath,o.FS_createDataFile=Ze.createDataFile,o.FS_createPreloadedFile=Ze.createPreloadedFile,o.FS_createLazyFile=Ze.createLazyFile,Object.getOwnPropertyDescriptor(o,"FS_createLink")||(o.FS_createLink=function(){me("'FS_createLink' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),o.FS_createDevice=Ze.createDevice,o.FS_unlink=Ze.unlink,Object.getOwnPropertyDescriptor(o,"getLEB")||(o.getLEB=function(){me("'getLEB' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getFunctionTables")||(o.getFunctionTables=function(){me("'getFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"alignFunctionTables")||(o.alignFunctionTables=function(){me("'alignFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerFunctions")||(o.registerFunctions=function(){me("'registerFunctions' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"addFunction")||(o.addFunction=function(){me("'addFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"removeFunction")||(o.removeFunction=function(){me("'removeFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getFuncWrapper")||(o.getFuncWrapper=function(){me("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"prettyPrint")||(o.prettyPrint=function(){me("'prettyPrint' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"dynCall")||(o.dynCall=function(){me("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getCompilerSetting")||(o.getCompilerSetting=function(){me("'getCompilerSetting' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"print")||(o.print=function(){me("'print' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"printErr")||(o.printErr=function(){me("'printErr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getTempRet0")||(o.getTempRet0=function(){me("'getTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setTempRet0")||(o.setTempRet0=function(){me("'setTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"callMain")||(o.callMain=function(){me("'callMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"abort")||(o.abort=function(){me("'abort' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"keepRuntimeAlive")||(o.keepRuntimeAlive=function(){me("'keepRuntimeAlive' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"zeroMemory")||(o.zeroMemory=function(){me("'zeroMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stringToNewUTF8")||(o.stringToNewUTF8=function(){me("'stringToNewUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setFileTime")||(o.setFileTime=function(){me("'setFileTime' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emscripten_realloc_buffer")||(o.emscripten_realloc_buffer=function(){me("'emscripten_realloc_buffer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ENV")||(o.ENV=function(){me("'ENV' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ERRNO_CODES")||(o.ERRNO_CODES=function(){me("'ERRNO_CODES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ERRNO_MESSAGES")||(o.ERRNO_MESSAGES=function(){me("'ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setErrNo")||(o.setErrNo=function(){me("'setErrNo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"inetPton4")||(o.inetPton4=function(){me("'inetPton4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"inetNtop4")||(o.inetNtop4=function(){me("'inetNtop4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"inetPton6")||(o.inetPton6=function(){me("'inetPton6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"inetNtop6")||(o.inetNtop6=function(){me("'inetNtop6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"readSockaddr")||(o.readSockaddr=function(){me("'readSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeSockaddr")||(o.writeSockaddr=function(){me("'writeSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"DNS")||(o.DNS=function(){me("'DNS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getHostByName")||(o.getHostByName=function(){me("'getHostByName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"GAI_ERRNO_MESSAGES")||(o.GAI_ERRNO_MESSAGES=function(){me("'GAI_ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"Protocols")||(o.Protocols=function(){me("'Protocols' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"Sockets")||(o.Sockets=function(){me("'Sockets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getRandomDevice")||(o.getRandomDevice=function(){me("'getRandomDevice' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"traverseStack")||(o.traverseStack=function(){me("'traverseStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"UNWIND_CACHE")||(o.UNWIND_CACHE=function(){me("'UNWIND_CACHE' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"withBuiltinMalloc")||(o.withBuiltinMalloc=function(){me("'withBuiltinMalloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"readAsmConstArgsArray")||(o.readAsmConstArgsArray=function(){me("'readAsmConstArgsArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"readAsmConstArgs")||(o.readAsmConstArgs=function(){me("'readAsmConstArgs' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"mainThreadEM_ASM")||(o.mainThreadEM_ASM=function(){me("'mainThreadEM_ASM' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"jstoi_q")||(o.jstoi_q=function(){me("'jstoi_q' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"jstoi_s")||(o.jstoi_s=function(){me("'jstoi_s' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getExecutableName")||(o.getExecutableName=function(){me("'getExecutableName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"listenOnce")||(o.listenOnce=function(){me("'listenOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"autoResumeAudioContext")||(o.autoResumeAudioContext=function(){me("'autoResumeAudioContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"dynCallLegacy")||(o.dynCallLegacy=function(){me("'dynCallLegacy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getDynCaller")||(o.getDynCaller=function(){me("'getDynCaller' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"dynCall")||(o.dynCall=function(){me("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"callRuntimeCallbacks")||(o.callRuntimeCallbacks=function(){me("'callRuntimeCallbacks' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"runtimeKeepalivePush")||(o.runtimeKeepalivePush=function(){me("'runtimeKeepalivePush' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"runtimeKeepalivePop")||(o.runtimeKeepalivePop=function(){me("'runtimeKeepalivePop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"callUserCallback")||(o.callUserCallback=function(){me("'callUserCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"maybeExit")||(o.maybeExit=function(){me("'maybeExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"safeSetTimeout")||(o.safeSetTimeout=function(){me("'safeSetTimeout' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"asmjsMangle")||(o.asmjsMangle=function(){me("'asmjsMangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"asyncLoad")||(o.asyncLoad=function(){me("'asyncLoad' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"alignMemory")||(o.alignMemory=function(){me("'alignMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"mmapAlloc")||(o.mmapAlloc=function(){me("'mmapAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"reallyNegative")||(o.reallyNegative=function(){me("'reallyNegative' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"unSign")||(o.unSign=function(){me("'unSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"reSign")||(o.reSign=function(){me("'reSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"formatString")||(o.formatString=function(){me("'formatString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"PATH")||(o.PATH=function(){me("'PATH' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"PATH_FS")||(o.PATH_FS=function(){me("'PATH_FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"SYSCALLS")||(o.SYSCALLS=function(){me("'SYSCALLS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"syscallMmap2")||(o.syscallMmap2=function(){me("'syscallMmap2' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"syscallMunmap")||(o.syscallMunmap=function(){me("'syscallMunmap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getSocketFromFD")||(o.getSocketFromFD=function(){me("'getSocketFromFD' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getSocketAddress")||(o.getSocketAddress=function(){me("'getSocketAddress' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"JSEvents")||(o.JSEvents=function(){me("'JSEvents' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerKeyEventCallback")||(o.registerKeyEventCallback=function(){me("'registerKeyEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"specialHTMLTargets")||(o.specialHTMLTargets=function(){me("'specialHTMLTargets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"findEventTarget")||(o.findEventTarget=function(){me("'findEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"findCanvasEventTarget")||(o.findCanvasEventTarget=function(){me("'findCanvasEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getBoundingClientRect")||(o.getBoundingClientRect=function(){me("'getBoundingClientRect' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillMouseEventData")||(o.fillMouseEventData=function(){me("'fillMouseEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerMouseEventCallback")||(o.registerMouseEventCallback=function(){me("'registerMouseEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerWheelEventCallback")||(o.registerWheelEventCallback=function(){me("'registerWheelEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerUiEventCallback")||(o.registerUiEventCallback=function(){me("'registerUiEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerFocusEventCallback")||(o.registerFocusEventCallback=function(){me("'registerFocusEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillDeviceOrientationEventData")||(o.fillDeviceOrientationEventData=function(){me("'fillDeviceOrientationEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerDeviceOrientationEventCallback")||(o.registerDeviceOrientationEventCallback=function(){me("'registerDeviceOrientationEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillDeviceMotionEventData")||(o.fillDeviceMotionEventData=function(){me("'fillDeviceMotionEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerDeviceMotionEventCallback")||(o.registerDeviceMotionEventCallback=function(){me("'registerDeviceMotionEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"screenOrientation")||(o.screenOrientation=function(){me("'screenOrientation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillOrientationChangeEventData")||(o.fillOrientationChangeEventData=function(){me("'fillOrientationChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerOrientationChangeEventCallback")||(o.registerOrientationChangeEventCallback=function(){me("'registerOrientationChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillFullscreenChangeEventData")||(o.fillFullscreenChangeEventData=function(){me("'fillFullscreenChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerFullscreenChangeEventCallback")||(o.registerFullscreenChangeEventCallback=function(){me("'registerFullscreenChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerRestoreOldStyle")||(o.registerRestoreOldStyle=function(){me("'registerRestoreOldStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"hideEverythingExceptGivenElement")||(o.hideEverythingExceptGivenElement=function(){me("'hideEverythingExceptGivenElement' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"restoreHiddenElements")||(o.restoreHiddenElements=function(){me("'restoreHiddenElements' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setLetterbox")||(o.setLetterbox=function(){me("'setLetterbox' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"currentFullscreenStrategy")||(o.currentFullscreenStrategy=function(){me("'currentFullscreenStrategy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"restoreOldWindowedStyle")||(o.restoreOldWindowedStyle=function(){me("'restoreOldWindowedStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"softFullscreenResizeWebGLRenderTarget")||(o.softFullscreenResizeWebGLRenderTarget=function(){me("'softFullscreenResizeWebGLRenderTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"doRequestFullscreen")||(o.doRequestFullscreen=function(){me("'doRequestFullscreen' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillPointerlockChangeEventData")||(o.fillPointerlockChangeEventData=function(){me("'fillPointerlockChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerPointerlockChangeEventCallback")||(o.registerPointerlockChangeEventCallback=function(){me("'registerPointerlockChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerPointerlockErrorEventCallback")||(o.registerPointerlockErrorEventCallback=function(){me("'registerPointerlockErrorEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"requestPointerLock")||(o.requestPointerLock=function(){me("'requestPointerLock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillVisibilityChangeEventData")||(o.fillVisibilityChangeEventData=function(){me("'fillVisibilityChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerVisibilityChangeEventCallback")||(o.registerVisibilityChangeEventCallback=function(){me("'registerVisibilityChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerTouchEventCallback")||(o.registerTouchEventCallback=function(){me("'registerTouchEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillGamepadEventData")||(o.fillGamepadEventData=function(){me("'fillGamepadEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerGamepadEventCallback")||(o.registerGamepadEventCallback=function(){me("'registerGamepadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerBeforeUnloadEventCallback")||(o.registerBeforeUnloadEventCallback=function(){me("'registerBeforeUnloadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillBatteryEventData")||(o.fillBatteryEventData=function(){me("'fillBatteryEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"battery")||(o.battery=function(){me("'battery' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerBatteryEventCallback")||(o.registerBatteryEventCallback=function(){me("'registerBatteryEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setCanvasElementSize")||(o.setCanvasElementSize=function(){me("'setCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getCanvasElementSize")||(o.getCanvasElementSize=function(){me("'getCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"polyfillSetImmediate")||(o.polyfillSetImmediate=function(){me("'polyfillSetImmediate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"demangle")||(o.demangle=function(){me("'demangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"demangleAll")||(o.demangleAll=function(){me("'demangleAll' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"jsStackTrace")||(o.jsStackTrace=function(){me("'jsStackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stackTrace")||(o.stackTrace=function(){me("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getEnvStrings")||(o.getEnvStrings=function(){me("'getEnvStrings' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"checkWasiClock")||(o.checkWasiClock=function(){me("'checkWasiClock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeI53ToI64")||(o.writeI53ToI64=function(){me("'writeI53ToI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeI53ToI64Clamped")||(o.writeI53ToI64Clamped=function(){me("'writeI53ToI64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeI53ToI64Signaling")||(o.writeI53ToI64Signaling=function(){me("'writeI53ToI64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeI53ToU64Clamped")||(o.writeI53ToU64Clamped=function(){me("'writeI53ToU64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeI53ToU64Signaling")||(o.writeI53ToU64Signaling=function(){me("'writeI53ToU64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"readI53FromI64")||(o.readI53FromI64=function(){me("'readI53FromI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"readI53FromU64")||(o.readI53FromU64=function(){me("'readI53FromU64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"convertI32PairToI53")||(o.convertI32PairToI53=function(){me("'convertI32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"convertU32PairToI53")||(o.convertU32PairToI53=function(){me("'convertU32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"uncaughtExceptionCount")||(o.uncaughtExceptionCount=function(){me("'uncaughtExceptionCount' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"exceptionLast")||(o.exceptionLast=function(){me("'exceptionLast' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"exceptionCaught")||(o.exceptionCaught=function(){me("'exceptionCaught' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ExceptionInfo")||(o.ExceptionInfo=function(){me("'ExceptionInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"CatchInfo")||(o.CatchInfo=function(){me("'CatchInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"exception_addRef")||(o.exception_addRef=function(){me("'exception_addRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"exception_decRef")||(o.exception_decRef=function(){me("'exception_decRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"Browser")||(o.Browser=function(){me("'Browser' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"funcWrappers")||(o.funcWrappers=function(){me("'funcWrappers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getFuncWrapper")||(o.getFuncWrapper=function(){me("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setMainLoop")||(o.setMainLoop=function(){me("'setMainLoop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"wget")||(o.wget=function(){me("'wget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"FS")||(o.FS=function(){me("'FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"MEMFS")||(o.MEMFS=function(){me("'MEMFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"TTY")||(o.TTY=function(){me("'TTY' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"PIPEFS")||(o.PIPEFS=function(){me("'PIPEFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"SOCKFS")||(o.SOCKFS=function(){me("'SOCKFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"_setNetworkCallback")||(o._setNetworkCallback=function(){me("'_setNetworkCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"tempFixedLengthArray")||(o.tempFixedLengthArray=function(){me("'tempFixedLengthArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"miniTempWebGLFloatBuffers")||(o.miniTempWebGLFloatBuffers=function(){me("'miniTempWebGLFloatBuffers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"heapObjectForWebGLType")||(o.heapObjectForWebGLType=function(){me("'heapObjectForWebGLType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"heapAccessShiftForWebGLHeap")||(o.heapAccessShiftForWebGLHeap=function(){me("'heapAccessShiftForWebGLHeap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),o.GL=br,Object.getOwnPropertyDescriptor(o,"emscriptenWebGLGet")||(o.emscriptenWebGLGet=function(){me("'emscriptenWebGLGet' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"computeUnpackAlignedImageSize")||(o.computeUnpackAlignedImageSize=function(){me("'computeUnpackAlignedImageSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emscriptenWebGLGetTexPixelData")||(o.emscriptenWebGLGetTexPixelData=function(){me("'emscriptenWebGLGetTexPixelData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emscriptenWebGLGetUniform")||(o.emscriptenWebGLGetUniform=function(){me("'emscriptenWebGLGetUniform' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"webglGetUniformLocation")||(o.webglGetUniformLocation=function(){me("'webglGetUniformLocation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"webglPrepareUniformLocationsBeforeFirstUse")||(o.webglPrepareUniformLocationsBeforeFirstUse=function(){me("'webglPrepareUniformLocationsBeforeFirstUse' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"webglGetLeftBracePos")||(o.webglGetLeftBracePos=function(){me("'webglGetLeftBracePos' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emscriptenWebGLGetVertexAttrib")||(o.emscriptenWebGLGetVertexAttrib=function(){me("'emscriptenWebGLGetVertexAttrib' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emscriptenWebGLGetBufferBinding")||(o.emscriptenWebGLGetBufferBinding=function(){me("'emscriptenWebGLGetBufferBinding' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emscriptenWebGLValidateMapBufferTarget")||(o.emscriptenWebGLValidateMapBufferTarget=function(){me("'emscriptenWebGLValidateMapBufferTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeGLArray")||(o.writeGLArray=function(){me("'writeGLArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"AL")||(o.AL=function(){me("'AL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"SDL_unicode")||(o.SDL_unicode=function(){me("'SDL_unicode' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"SDL_ttfContext")||(o.SDL_ttfContext=function(){me("'SDL_ttfContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"SDL_audio")||(o.SDL_audio=function(){me("'SDL_audio' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"SDL")||(o.SDL=function(){me("'SDL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"SDL_gfx")||(o.SDL_gfx=function(){me("'SDL_gfx' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"GLUT")||(o.GLUT=function(){me("'GLUT' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"EGL")||(o.EGL=function(){me("'EGL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"GLFW_Window")||(o.GLFW_Window=function(){me("'GLFW_Window' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"GLFW")||(o.GLFW=function(){me("'GLFW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"GLEW")||(o.GLEW=function(){me("'GLEW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"IDBStore")||(o.IDBStore=function(){me("'IDBStore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"runAndAbortIfError")||(o.runAndAbortIfError=function(){me("'runAndAbortIfError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emval_handle_array")||(o.emval_handle_array=function(){me("'emval_handle_array' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emval_free_list")||(o.emval_free_list=function(){me("'emval_free_list' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emval_symbols")||(o.emval_symbols=function(){me("'emval_symbols' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"init_emval")||(o.init_emval=function(){me("'init_emval' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"count_emval_handles")||(o.count_emval_handles=function(){me("'count_emval_handles' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"get_first_emval")||(o.get_first_emval=function(){me("'get_first_emval' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getStringOrSymbol")||(o.getStringOrSymbol=function(){me("'getStringOrSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"requireHandle")||(o.requireHandle=function(){me("'requireHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emval_newers")||(o.emval_newers=function(){me("'emval_newers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"craftEmvalAllocator")||(o.craftEmvalAllocator=function(){me("'craftEmvalAllocator' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emval_get_global")||(o.emval_get_global=function(){me("'emval_get_global' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emval_methodCallers")||(o.emval_methodCallers=function(){me("'emval_methodCallers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"InternalError")||(o.InternalError=function(){me("'InternalError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"BindingError")||(o.BindingError=function(){me("'BindingError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"UnboundTypeError")||(o.UnboundTypeError=function(){me("'UnboundTypeError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"PureVirtualError")||(o.PureVirtualError=function(){me("'PureVirtualError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"init_embind")||(o.init_embind=function(){me("'init_embind' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"throwInternalError")||(o.throwInternalError=function(){me("'throwInternalError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"throwBindingError")||(o.throwBindingError=function(){me("'throwBindingError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"throwUnboundTypeError")||(o.throwUnboundTypeError=function(){me("'throwUnboundTypeError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ensureOverloadTable")||(o.ensureOverloadTable=function(){me("'ensureOverloadTable' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"exposePublicSymbol")||(o.exposePublicSymbol=function(){me("'exposePublicSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"replacePublicSymbol")||(o.replacePublicSymbol=function(){me("'replacePublicSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"extendError")||(o.extendError=function(){me("'extendError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"createNamedFunction")||(o.createNamedFunction=function(){me("'createNamedFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registeredInstances")||(o.registeredInstances=function(){me("'registeredInstances' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getBasestPointer")||(o.getBasestPointer=function(){me("'getBasestPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerInheritedInstance")||(o.registerInheritedInstance=function(){me("'registerInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"unregisterInheritedInstance")||(o.unregisterInheritedInstance=function(){me("'unregisterInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getInheritedInstance")||(o.getInheritedInstance=function(){me("'getInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getInheritedInstanceCount")||(o.getInheritedInstanceCount=function(){me("'getInheritedInstanceCount' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getLiveInheritedInstances")||(o.getLiveInheritedInstances=function(){me("'getLiveInheritedInstances' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registeredTypes")||(o.registeredTypes=function(){me("'registeredTypes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"awaitingDependencies")||(o.awaitingDependencies=function(){me("'awaitingDependencies' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"typeDependencies")||(o.typeDependencies=function(){me("'typeDependencies' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registeredPointers")||(o.registeredPointers=function(){me("'registeredPointers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerType")||(o.registerType=function(){me("'registerType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"whenDependentTypesAreResolved")||(o.whenDependentTypesAreResolved=function(){me("'whenDependentTypesAreResolved' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"embind_charCodes")||(o.embind_charCodes=function(){me("'embind_charCodes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"embind_init_charCodes")||(o.embind_init_charCodes=function(){me("'embind_init_charCodes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"readLatin1String")||(o.readLatin1String=function(){me("'readLatin1String' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getTypeName")||(o.getTypeName=function(){me("'getTypeName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"heap32VectorToArray")||(o.heap32VectorToArray=function(){me("'heap32VectorToArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"requireRegisteredType")||(o.requireRegisteredType=function(){me("'requireRegisteredType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getShiftFromSize")||(o.getShiftFromSize=function(){me("'getShiftFromSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"integerReadValueFromPointer")||(o.integerReadValueFromPointer=function(){me("'integerReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"enumReadValueFromPointer")||(o.enumReadValueFromPointer=function(){me("'enumReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"floatReadValueFromPointer")||(o.floatReadValueFromPointer=function(){me("'floatReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"simpleReadValueFromPointer")||(o.simpleReadValueFromPointer=function(){me("'simpleReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"runDestructors")||(o.runDestructors=function(){me("'runDestructors' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"new_")||(o.new_=function(){me("'new_' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"craftInvokerFunction")||(o.craftInvokerFunction=function(){me("'craftInvokerFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"embind__requireFunction")||(o.embind__requireFunction=function(){me("'embind__requireFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"tupleRegistrations")||(o.tupleRegistrations=function(){me("'tupleRegistrations' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"structRegistrations")||(o.structRegistrations=function(){me("'structRegistrations' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"genericPointerToWireType")||(o.genericPointerToWireType=function(){me("'genericPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"constNoSmartPtrRawPointerToWireType")||(o.constNoSmartPtrRawPointerToWireType=function(){me("'constNoSmartPtrRawPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"nonConstNoSmartPtrRawPointerToWireType")||(o.nonConstNoSmartPtrRawPointerToWireType=function(){me("'nonConstNoSmartPtrRawPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"init_RegisteredPointer")||(o.init_RegisteredPointer=function(){me("'init_RegisteredPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"RegisteredPointer")||(o.RegisteredPointer=function(){me("'RegisteredPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"RegisteredPointer_getPointee")||(o.RegisteredPointer_getPointee=function(){me("'RegisteredPointer_getPointee' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"RegisteredPointer_destructor")||(o.RegisteredPointer_destructor=function(){me("'RegisteredPointer_destructor' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"RegisteredPointer_deleteObject")||(o.RegisteredPointer_deleteObject=function(){me("'RegisteredPointer_deleteObject' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"RegisteredPointer_fromWireType")||(o.RegisteredPointer_fromWireType=function(){me("'RegisteredPointer_fromWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"runDestructor")||(o.runDestructor=function(){me("'runDestructor' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"releaseClassHandle")||(o.releaseClassHandle=function(){me("'releaseClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"finalizationGroup")||(o.finalizationGroup=function(){me("'finalizationGroup' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"detachFinalizer_deps")||(o.detachFinalizer_deps=function(){me("'detachFinalizer_deps' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"detachFinalizer")||(o.detachFinalizer=function(){me("'detachFinalizer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"attachFinalizer")||(o.attachFinalizer=function(){me("'attachFinalizer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"makeClassHandle")||(o.makeClassHandle=function(){me("'makeClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"init_ClassHandle")||(o.init_ClassHandle=function(){me("'init_ClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ClassHandle")||(o.ClassHandle=function(){me("'ClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ClassHandle_isAliasOf")||(o.ClassHandle_isAliasOf=function(){me("'ClassHandle_isAliasOf' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"throwInstanceAlreadyDeleted")||(o.throwInstanceAlreadyDeleted=function(){me("'throwInstanceAlreadyDeleted' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ClassHandle_clone")||(o.ClassHandle_clone=function(){me("'ClassHandle_clone' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ClassHandle_delete")||(o.ClassHandle_delete=function(){me("'ClassHandle_delete' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"deletionQueue")||(o.deletionQueue=function(){me("'deletionQueue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ClassHandle_isDeleted")||(o.ClassHandle_isDeleted=function(){me("'ClassHandle_isDeleted' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ClassHandle_deleteLater")||(o.ClassHandle_deleteLater=function(){me("'ClassHandle_deleteLater' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"flushPendingDeletes")||(o.flushPendingDeletes=function(){me("'flushPendingDeletes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"delayFunction")||(o.delayFunction=function(){me("'delayFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setDelayFunction")||(o.setDelayFunction=function(){me("'setDelayFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"RegisteredClass")||(o.RegisteredClass=function(){me("'RegisteredClass' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"shallowCopyInternalPointer")||(o.shallowCopyInternalPointer=function(){me("'shallowCopyInternalPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"downcastPointer")||(o.downcastPointer=function(){me("'downcastPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"upcastPointer")||(o.upcastPointer=function(){me("'upcastPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"validateThis")||(o.validateThis=function(){me("'validateThis' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"char_0")||(o.char_0=function(){me("'char_0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"char_9")||(o.char_9=function(){me("'char_9' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"makeLegalFunctionName")||(o.makeLegalFunctionName=function(){me("'makeLegalFunctionName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emscriptenWebGLGetIndexed")||(o.emscriptenWebGLGetIndexed=function(){me("'emscriptenWebGLGetIndexed' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"warnOnce")||(o.warnOnce=function(){me("'warnOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stackSave")||(o.stackSave=function(){me("'stackSave' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stackRestore")||(o.stackRestore=function(){me("'stackRestore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stackAlloc")||(o.stackAlloc=function(){me("'stackAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"AsciiToString")||(o.AsciiToString=function(){me("'AsciiToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stringToAscii")||(o.stringToAscii=function(){me("'stringToAscii' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"UTF16ToString")||(o.UTF16ToString=function(){me("'UTF16ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stringToUTF16")||(o.stringToUTF16=function(){me("'stringToUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"lengthBytesUTF16")||(o.lengthBytesUTF16=function(){me("'lengthBytesUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"UTF32ToString")||(o.UTF32ToString=function(){me("'UTF32ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stringToUTF32")||(o.stringToUTF32=function(){me("'stringToUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"lengthBytesUTF32")||(o.lengthBytesUTF32=function(){me("'lengthBytesUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"allocateUTF8")||(o.allocateUTF8=function(){me("'allocateUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"allocateUTF8OnStack")||(o.allocateUTF8OnStack=function(){me("'allocateUTF8OnStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),o.writeStackCookie=ne,o.checkStackCookie=oe,Object.getOwnPropertyDescriptor(o,"ALLOC_NORMAL")||Object.defineProperty(o,"ALLOC_NORMAL",{configurable:!0,get:function(){me("'ALLOC_NORMAL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),Object.getOwnPropertyDescriptor(o,"ALLOC_STACK")||Object.defineProperty(o,"ALLOC_STACK",{configurable:!0,get:function(){me("'ALLOC_STACK' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),Ee=function e(){cn||bn(),cn||(Ee=e)},o.run=bn,o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return bn(),t.ready}}(),selfie_segmentation_solution_wasm_bin_default=createMediapipeSolutionsWasm2,Module=(()=>{var e,t="undefined"!=typeof document?null==(e=document.currentScript)?void 0:e.src:void 0;return function(e={}){var r,n,o,i=Object.assign({},e),a=new Promise(((e,t)=>{r=e,n=t})),s=Object.assign({},i),A="";"undefined"!=typeof document&&document.currentScript&&(A=document.currentScript.src),t&&(A=t),A=A.startsWith("blob:")?"":A.substr(0,A.replace(/[?#].*/,"").lastIndexOf("/")+1);var c,g,d=i.print||console.log.bind(console),u=i.printErr||console.error.bind(console);function l(e){if(R(e))return function(e){for(var t=atob(e),r=new Uint8Array(t.length),n=0;n<t.length;++n)r[n]=t.charCodeAt(n);return r}(e.slice(P.length))}Object.assign(i,s),s=null,i.arguments&&i.arguments,i.thisProgram&&i.thisProgram,i.quit&&i.quit,i.wasmBinary&&(c=i.wasmBinary);var E,f,p,h,I,m,C,y,_=!1;var w=[],B=[],D=[];var O=0,b=null,Q=null;function T(e){var t;null==(t=i.onAbort)||t.call(i,e),u(e="Aborted("+e+")"),_=!0,e+=". Build with -sASSERTIONS for more info.";var r=new WebAssembly.RuntimeError(e);throw n(r),r}var v,P="data:application/octet-stream;base64,",R=e=>e.startsWith(P);function M(e){return Promise.resolve().then((()=>function(e){if(e==v&&c)return new Uint8Array(c);var t=l(e);if(t)return t;if(o)return o(e);throw"both async and sync fetching of the wasm failed"}(e)))}function S(e,t,r,n){return function(e,t,r){return M(e).then((e=>WebAssembly.instantiate(e,t))).then(r,(e=>{u(`failed to asynchronously prepare wasm: ${e}`),T(e)}))}(t,r,n)}var F=e=>{for(;e.length>0;)e.shift()(i)};i.noExitRuntime;class N{constructor(e){this.excPtr=e,this.ptr=e-24}set_type(e){m[this.ptr+4>>2]=e}get_type(){return m[this.ptr+4>>2]}set_destructor(e){m[this.ptr+8>>2]=e}get_destructor(){return m[this.ptr+8>>2]}set_caught(e){e=e?1:0,E[this.ptr+12]=e}get_caught(){return 0!=E[this.ptr+12]}set_rethrown(e){e=e?1:0,E[this.ptr+13]=e}get_rethrown(){return 0!=E[this.ptr+13]}init(e,t){this.set_adjusted_ptr(0),this.set_type(e),this.set_destructor(t)}set_adjusted_ptr(e){m[this.ptr+16>>2]=e}get_adjusted_ptr(){return m[this.ptr+16>>2]}get_exception_ptr(){if(ut(this.get_type()))return m[this.excPtr>>2];var e=this.get_adjusted_ptr();return 0!==e?e:this.excPtr}}var k,x,U,j=e=>{for(var t="",r=e;f[r];)t+=k[f[r++]];return t},L={},H={},G={},Y=e=>{throw new x(e)},X=e=>{throw new U(e)},V=(e,t,r)=>{function n(t){var n=r(t);n.length!==e.length&&X("Mismatched type converter count");for(var o=0;o<e.length;++o)W(e[o],n[o])}e.forEach((function(e){G[e]=t}));var o=new Array(t.length),i=[],a=0;t.forEach(((e,t)=>{H.hasOwnProperty(e)?o[t]=H[e]:(i.push(e),L.hasOwnProperty(e)||(L[e]=[]),L[e].push((()=>{o[t]=H[e],++a===i.length&&n(o)})))})),0===i.length&&n(o)};function W(e,t,r={}){if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");return function(e,t,r={}){var n=t.name;if(e||Y(`type "${n}" must have a positive integer typeid pointer`),H.hasOwnProperty(e)){if(r.ignoreDuplicateRegistrations)return;Y(`Cannot register type '${n}' twice`)}if(H[e]=t,delete G[e],L.hasOwnProperty(e)){var o=L[e];delete L[e],o.forEach((e=>e()))}}(e,t,r)}var z,$=e=>{Y(e.$$.ptrType.registeredClass.name+" instance already deleted")},K=!1,J=e=>{},Z=e=>{e.count.value-=1,0===e.count.value&&(e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)})(e)},q=(e,t,r)=>{if(t===r)return e;if(void 0===r.baseClass)return null;var n=q(e,t,r.baseClass);return null===n?null:r.downcast(n)},ee={},te=()=>Object.keys(ae).length,re=()=>{var e=[];for(var t in ae)ae.hasOwnProperty(t)&&e.push(ae[t]);return e},ne=[],oe=()=>{for(;ne.length;){var e=ne.pop();e.$$.deleteScheduled=!1,e.delete()}},ie=e=>{z=e,ne.length&&z&&z(oe)},ae={},se=(e,t)=>(t=((e,t)=>{for(void 0===t&&Y("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t})(e,t),ae[t]),Ae=(e,t)=>(t.ptrType&&t.ptr||X("makeClassHandle requires ptr and ptrType"),!!t.smartPtrType!==!!t.smartPtr&&X("Both smartPtrType and smartPtr must be specified"),t.count={value:1},ge(Object.create(e,{$$:{value:t,writable:!0}})));function ce(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var r=se(this.registeredClass,t);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=t,r.$$.smartPtr=e,r.clone();var n=r.clone();return this.destructor(e),n}function o(){return this.isSmartPointer?Ae(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):Ae(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var i,a=this.registeredClass.getActualType(t),s=ee[a];if(!s)return o.call(this);i=this.isConst?s.constPointerType:s.pointerType;var A=q(t,this.registeredClass,i.registeredClass);return null===A?o.call(this):this.isSmartPointer?Ae(i.registeredClass.instancePrototype,{ptrType:i,ptr:A,smartPtrType:this,smartPtr:e}):Ae(i.registeredClass.instancePrototype,{ptrType:i,ptr:A})}var ge=e=>"undefined"==typeof FinalizationRegistry?(ge=e=>e,e):(K=new FinalizationRegistry((e=>{Z(e.$$)})),J=e=>K.unregister(e),(ge=e=>{var t=e.$$;if(!!t.smartPtr){var r={$$:t};K.register(e,r,e)}return e})(e));function de(){}var ue=(e,t)=>Object.defineProperty(t,"name",{value:e}),le=(e,t,r)=>{if(void 0===e[t].overloadTable){var n=e[t];e[t]=function(...n){return e[t].overloadTable.hasOwnProperty(n.length)||Y(`Function '${r}' called with an invalid number of arguments (${n.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[n.length].apply(this,n)},e[t].overloadTable=[],e[t].overloadTable[n.argCount]=n}};function Ee(e,t,r,n,o,i,a,s){this.name=e,this.constructor=t,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}var fe=(e,t,r)=>{for(;t!==r;)t.upcast||Y(`Expected null or instance of ${r.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e};function pe(e,t){if(null===t)return this.isReference&&Y(`null is not a valid ${this.name}`),0;t.$$||Y(`Cannot pass "${He(t)}" as a ${this.name}`),t.$$.ptr||Y(`Cannot pass deleted object as a pointer of type ${this.name}`);var r=t.$$.ptrType.registeredClass;return fe(t.$$.ptr,r,this.registeredClass)}function he(e,t){var r;if(null===t)return this.isReference&&Y(`null is not a valid ${this.name}`),this.isSmartPointer?(r=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,r),r):0;t&&t.$$||Y(`Cannot pass "${He(t)}" as a ${this.name}`),t.$$.ptr||Y(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&Y(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass;if(r=fe(t.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===t.$$.smartPtr&&Y("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?r=t.$$.smartPtr:Y(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:r=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)r=t.$$.smartPtr;else{var o=t.clone();r=this.rawShare(r,je.toHandle((()=>o.delete()))),null!==e&&e.push(this.rawDestructor,r)}break;default:Y("Unsupporting sharing policy")}return r}function Ie(e,t){if(null===t)return this.isReference&&Y(`null is not a valid ${this.name}`),0;t.$$||Y(`Cannot pass "${He(t)}" as a ${this.name}`),t.$$.ptr||Y(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&Y(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var r=t.$$.ptrType.registeredClass;return fe(t.$$.ptr,r,this.registeredClass)}function me(e){return this.fromWireType(m[e>>2])}function Ce(e,t,r,n,o,i,a,s,A,c,g){this.name=e,this.registeredClass=t,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=A,this.rawShare=c,this.rawDestructor=g,o||void 0!==t.baseClass?this.toWireType=he:n?(this.toWireType=pe,this.destructorFunction=null):(this.toWireType=Ie,this.destructorFunction=null)}var ye,_e,we=[],Be=e=>{var t=we[e];return t||(e>=we.length&&(we.length=e+1),we[e]=t=ye.get(e)),t},De=(e,t,r=[])=>e.includes("j")?((e,t,r)=>(e=e.replace(/p/g,"i"),(0,i["dynCall_"+e])(t,...r)))(e,t,r):Be(t)(...r),Oe=(e,t)=>{var r,n,o=(e=j(e)).includes("j")?(r=e,n=t,(...e)=>De(r,n,e)):Be(t);return"function"!=typeof o&&Y(`unknown function pointer with signature ${e}: ${t}`),o},be=e=>{var t=gt(e),r=j(t);return dt(t),r},Qe=(e,t)=>{var r=[],n={};throw t.forEach((function e(t){n[t]||H[t]||(G[t]?G[t].forEach(e):(r.push(t),n[t]=!0))})),new _e(`${e}: `+r.map(be).join([", "]))},Te=(e,t)=>{for(var r=[],n=0;n<e;n++)r.push(m[t+4*n>>2]);return r},ve=e=>{for(;e.length;){var t=e.pop();e.pop()(t)}};function Pe(e,t,r,n,o,i){var a=t.length;a<2&&Y("argTypes array size mismatch! Must at least get return value and 'this' types!");var s=null!==t[1]&&null!==r,A=function(e){for(var t=1;t<e.length;++t)if(null!==e[t]&&void 0===e[t].destructorFunction)return!0;return!1}(t),c="void"!==t[0].name,g=a-2,d=new Array(g),u=[],l=[];return ue(e,(function(...r){var i;r.length!==g&&Y(`function ${e} called with ${r.length} arguments, expected ${g}`),l.length=0,u.length=s?2:1,u[0]=o,s&&(i=t[1].toWireType(l,this),u[1]=i);for(var a=0;a<g;++a)d[a]=t[a+2].toWireType(l,r[a]),u.push(d[a]);return function(e){if(A)ve(l);else for(var r=s?1:2;r<t.length;r++){var n=1===r?i:d[r-2];null!==t[r].destructorFunction&&t[r].destructorFunction(n)}if(c)return t[0].fromWireType(e)}(n(...u))}))}var Re,Me,Se,Fe=(e,t,r)=>(e instanceof Object||Y(`${r} with invalid "this": ${e}`),e instanceof t.registeredClass.constructor||Y(`${r} incompatible with "this" of type ${e.constructor.name}`),e.$$.ptr||Y(`cannot call emscripten binding method ${r} on deleted object`),fe(e.$$.ptr,e.$$.ptrType.registeredClass,t.registeredClass)),Ne=[],ke=[],xe=e=>{e>9&&0==--ke[e+1]&&(ke[e]=void 0,Ne.push(e))},Ue=()=>ke.length/2-5-Ne.length,je={toValue:e=>(e||Y("Cannot use deleted val. handle = "+e),ke[e]),toHandle:e=>{switch(e){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const t=Ne.pop()||ke.length;return ke[t]=e,ke[t+1]=1,t}}}},Le={name:"emscripten::val",fromWireType:e=>{var t=je.toValue(e);return xe(e),t},toWireType:(e,t)=>je.toHandle(t),argPackAdvance:8,readValueFromPointer:me,destructorFunction:null},He=e=>{if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e},Ge=(e,t)=>{switch(t){case 4:return function(e){return this.fromWireType(C[e>>2])};case 8:return function(e){return this.fromWireType(y[e>>3])};default:throw new TypeError(`invalid float width (${t}): ${e}`)}},Ye=(e,t,r)=>{switch(t){case 1:return r?e=>E[e]:e=>f[e];case 2:return r?e=>p[e>>1]:e=>h[e>>1];case 4:return r?e=>I[e>>2]:e=>m[e>>2];default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},Xe="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,Ve=(e,t,r)=>{for(var n=t+r,o=t;e[o]&&!(o>=n);)++o;if(o-t>16&&e.buffer&&Xe)return Xe.decode(e.subarray(t,o));for(var i="";t<o;){var a=e[t++];if(128&a){var s=63&e[t++];if(192!=(224&a)){var A=63&e[t++];if((a=224==(240&a)?(15&a)<<12|s<<6|A:(7&a)<<18|s<<12|A<<6|63&e[t++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i},We="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,ze=(e,t)=>{for(var r=e,n=r>>1,o=n+t/2;!(n>=o)&&h[n];)++n;if((r=n<<1)-e>32&&We)return We.decode(f.subarray(e,r));for(var i="",a=0;!(a>=t/2);++a){var s=p[e+2*a>>1];if(0==s)break;i+=String.fromCharCode(s)}return i},$e=(e,t,r)=>{if(null!=r||(r=2147483647),r<2)return 0;for(var n=t,o=(r-=2)<2*e.length?r/2:e.length,i=0;i<o;++i){var a=e.charCodeAt(i);p[t>>1]=a,t+=2}return p[t>>1]=0,t-n},Ke=e=>2*e.length,Je=(e,t)=>{for(var r=0,n="";!(r>=t/4);){var o=I[e+4*r>>2];if(0==o)break;if(++r,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n},Ze=(e,t,r)=>{if(null!=r||(r=2147483647),r<4)return 0;for(var n=t,o=n+r-4,i=0;i<e.length;++i){var a=e.charCodeAt(i);if(a>=55296&&a<=57343)a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i);if(I[t>>2]=a,(t+=4)+4>o)break}return I[t>>2]=0,t-n},qe=e=>{for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&++r,t+=4}return t},et=(e,t)=>{var r=H[e];return void 0===r&&Y(`${t} has unknown type ${be(e)}`),r},tt=(e,t,r)=>{var n=[],o=e.toWireType(n,r);return n.length&&(m[t>>2]=je.toHandle(n)),o},rt={},nt=[],ot=Reflect.construct,it=[null,[],[]];(()=>{for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);k=e})(),x=i.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},U=i.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},Object.assign(de.prototype,{isAliasOf(e){if(!(this instanceof de))return!1;if(!(e instanceof de))return!1;var t=this.$$.ptrType.registeredClass,r=this.$$.ptr;e.$$=e.$$;for(var n=e.$$.ptrType.registeredClass,o=e.$$.ptr;t.baseClass;)r=t.upcast(r),t=t.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return t===n&&r===o},clone(){if(this.$$.ptr||$(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e,t=ge(Object.create(Object.getPrototypeOf(this),{$$:{value:(e=this.$$,{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType})}}));return t.$$.count.value+=1,t.$$.deleteScheduled=!1,t},delete(){this.$$.ptr||$(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Y("Object already scheduled for deletion"),J(this),Z(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||$(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Y("Object already scheduled for deletion"),ne.push(this),1===ne.length&&z&&z(oe),this.$$.deleteScheduled=!0,this}}),i.getInheritedInstanceCount=te,i.getLiveInheritedInstances=re,i.flushPendingDeletes=oe,i.setDelayFunction=ie,Object.assign(Ce.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){var t;null==(t=this.rawDestructor)||t.call(this,e)},argPackAdvance:8,readValueFromPointer:me,fromWireType:ce}),_e=i.UnboundTypeError=(Re=Error,(Se=ue(Me="UnboundTypeError",(function(e){this.name=Me,this.message=e;var t=new Error(e).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))}))).prototype=Object.create(Re.prototype),Se.prototype.constructor=Se,Se.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},Se),ke.push(0,1,void 0,1,null,1,!0,1,!1,1),i.count_emval_handles=Ue;var at,st={w:(e,t,r)=>{throw new N(e).init(t,r),e},q:()=>{T("")},p:(e,t,r,n,o)=>{},u:(e,t,r,n)=>{W(e,{name:t=j(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?r:n},argPackAdvance:8,readValueFromPointer:function(e){return this.fromWireType(f[e])},destructorFunction:null})},y:(e,t,r,n,o,a,s,A,c,g,d,u,l)=>{d=j(d),a=Oe(o,a),A&&(A=Oe(s,A)),g&&(g=Oe(c,g)),l=Oe(u,l);var E=(e=>{if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=48&&t<=57?`_${e}`:e})(d);((e,t,r)=>{i.hasOwnProperty(e)?((void 0===r||void 0!==i[e].overloadTable&&void 0!==i[e].overloadTable[r])&&Y(`Cannot register public name '${e}' twice`),le(i,e,e),i.hasOwnProperty(r)&&Y(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`),i[e].overloadTable[r]=t):(i[e]=t,void 0!==r&&(i[e].numArguments=r))})(E,(function(){Qe(`Cannot construct ${d} due to unbound types`,[n])})),V([e,t,r],n?[n]:[],(t=>{var r,o,s;t=t[0],s=n?(o=t.registeredClass).instancePrototype:de.prototype;var c=ue(d,(function(...e){if(Object.getPrototypeOf(this)!==u)throw new x("Use 'new' to construct "+d);if(void 0===f.constructor_body)throw new x(d+" has no accessible constructor");var t=f.constructor_body[e.length];if(void 0===t)throw new x(`Tried to invoke ctor of ${d} with invalid number of parameters (${e.length}) - expected (${Object.keys(f.constructor_body).toString()}) parameters instead!`);return t.apply(this,e)})),u=Object.create(s,{constructor:{value:c}});c.prototype=u;var f=new Ee(d,c,u,l,o,a,A,g);f.baseClass&&(null!=(r=f.baseClass).__derivedClasses||(r.__derivedClasses=[]),f.baseClass.__derivedClasses.push(f));var p=new Ce(d,f,!0,!1,!1),h=new Ce(d+"*",f,!1,!1,!1),I=new Ce(d+" const*",f,!1,!0,!1);return ee[e]={pointerType:h,constPointerType:I},((e,t,r)=>{i.hasOwnProperty(e)||X("Replacing nonexistent public symbol"),void 0!==i[e].overloadTable&&void 0!==r?i[e].overloadTable[r]=t:(i[e]=t,i[e].argCount=r)})(E,c),[p,h,I]}))},x:(e,t,r,n,o,i)=>{var a=Te(t,r);o=Oe(n,o),V([],[e],(e=>{var r=`constructor ${(e=e[0]).name}`;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new x(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.registeredClass.constructor_body[t-1]=()=>{Qe(`Cannot construct ${e.name} due to unbound types`,a)},V([],a,(n=>(n.splice(1,0,null),e.registeredClass.constructor_body[t-1]=Pe(r,n,null,o,i),[]))),[]}))},h:(e,t,r,n,o,i,a,s,A)=>{var c=Te(r,n);t=(e=>{const t=(e=e.trim()).indexOf("(");return-1!==t?e.substr(0,t):e})(t=j(t)),i=Oe(o,i),V([],[e],(e=>{var n=`${(e=e[0]).name}.${t}`;function o(){Qe(`Cannot call ${n} due to unbound types`,c)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(t);var A=e.registeredClass.instancePrototype,g=A[t];return void 0===g||void 0===g.overloadTable&&g.className!==e.name&&g.argCount===r-2?(o.argCount=r-2,o.className=e.name,A[t]=o):(le(A,t,n),A[t].overloadTable[r-2]=o),V([],c,(o=>{var s=Pe(n,o,e,i,a);return void 0===A[t].overloadTable?(s.argCount=r-2,A[t]=s):A[t].overloadTable[r-2]=s,[]})),[]}))},k:(e,t,r,n,o,i,a,s,A,c)=>{t=j(t),o=Oe(n,o),V([],[e],(e=>{var n=`${(e=e[0]).name}.${t}`,g={get(){Qe(`Cannot access ${n} due to unbound types`,[r,a])},enumerable:!0,configurable:!0};return g.set=A?()=>Qe(`Cannot access ${n} due to unbound types`,[r,a]):e=>Y(n+" is a read-only property"),Object.defineProperty(e.registeredClass.instancePrototype,t,g),V([],A?[r,a]:[r],(r=>{var a=r[0],g={get(){var t=Fe(this,e,n+" getter");return a.fromWireType(o(i,t))},enumerable:!0};if(A){A=Oe(s,A);var d=r[1];g.set=function(t){var r=Fe(this,e,n+" setter"),o=[];A(c,r,d.toWireType(o,t)),ve(o)}}return Object.defineProperty(e.registeredClass.instancePrototype,t,g),[]})),[]}))},t:e=>W(e,Le),o:(e,t,r)=>{W(e,{name:t=j(t),fromWireType:e=>e,toWireType:(e,t)=>t,argPackAdvance:8,readValueFromPointer:Ge(t,r),destructorFunction:null})},g:(e,t,r,n,o)=>{t=j(t),-1===o&&(o=4294967295);var i=e=>e;if(0===n){var a=32-8*r;i=e=>e<<a>>>a}var s=t.includes("unsigned");W(e,{name:t,fromWireType:i,toWireType:s?function(e,t){return this.name,t>>>0}:function(e,t){return this.name,t},argPackAdvance:8,readValueFromPointer:Ye(t,r,0!==n),destructorFunction:null})},a:(e,t,r)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function o(e){var t=m[e>>2],r=m[e+4>>2];return new n(E.buffer,r,t)}W(e,{name:r=j(r),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},n:(e,t)=>{var r="std::string"===(t=j(t));W(e,{name:t,fromWireType(e){var t,n,o,i=m[e>>2],a=e+4;if(r)for(var s=a,A=0;A<=i;++A){var c=a+A;if(A==i||0==f[c]){var g=(o=c-s,(n=s)?Ve(f,n,o):"");void 0===t?t=g:(t+=String.fromCharCode(0),t+=g),s=c+1}}else{var d=new Array(i);for(A=0;A<i;++A)d[A]=String.fromCharCode(f[a+A]);t=d.join("")}return dt(e),t},toWireType(e,t){var n;t instanceof ArrayBuffer&&(t=new Uint8Array(t));var o="string"==typeof t;o||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||Y("Cannot pass non-string to std::string"),n=r&&o?(e=>{for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n<=127?t++:n<=2047?t+=2:n>=55296&&n<=57343?(t+=4,++r):t+=3}return t})(t):t.length;var i=ct(4+n+1),a=i+4;if(m[i>>2]=n,r&&o)((e,t,r,n)=>{if(!(n>0))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<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a)),s<=127){if(r>=i)break;t[r++]=s}else if(s<=2047){if(r+1>=i)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=i)break;t[r++]=240|s>>18,t[r++]=128|s>>12&63,t[r++]=128|s>>6&63,t[r++]=128|63&s}}t[r]=0})(t,f,a,n+1);else if(o)for(var s=0;s<n;++s){var A=t.charCodeAt(s);A>255&&(dt(a),Y("String has UTF-16 code units that do not fit in 8 bits")),f[a+s]=A}else for(s=0;s<n;++s)f[a+s]=t[s];return null!==e&&e.push(dt,i),i},argPackAdvance:8,readValueFromPointer:me,destructorFunction(e){dt(e)}})},l:(e,t,r)=>{var n,o,i,a;r=j(r),2===t?(n=ze,o=$e,a=Ke,i=e=>h[e>>1]):4===t&&(n=Je,o=Ze,a=qe,i=e=>m[e>>2]),W(e,{name:r,fromWireType:e=>{for(var r,o=m[e>>2],a=e+4,s=0;s<=o;++s){var A=e+4+s*t;if(s==o||0==i(A)){var c=n(a,A-a);void 0===r?r=c:(r+=String.fromCharCode(0),r+=c),a=A+t}}return dt(e),r},toWireType:(e,n)=>{"string"!=typeof n&&Y(`Cannot pass non-string to C++ string type ${r}`);var i=a(n),s=ct(4+i+t);return m[s>>2]=i/t,o(n,s+4,i+t),null!==e&&e.push(dt,s),s},argPackAdvance:8,readValueFromPointer:me,destructorFunction(e){dt(e)}})},v:(e,t)=>{W(e,{isVoid:!0,name:t=j(t),argPackAdvance:0,fromWireType:()=>{},toWireType:(e,t)=>{}})},s:(e,t,r)=>f.copyWithin(e,t,t+r),j:(e,t,r)=>(e=je.toValue(e),t=et(t,"emval::as"),tt(t,r,e)),e:(e,t,r,n,o)=>{var i,a;return(e=nt[e])(t=je.toValue(t),t[r=void 0===(a=rt[i=r])?j(i):a],n,o)},c:xe,f:(e,t,r)=>{var n=((e,t)=>{for(var r=new Array(e),n=0;n<e;++n)r[n]=et(m[t+4*n>>2],"parameter "+n);return r})(e,t),o=n.shift();e--;var i,a,s=new Array(e),A=`methodCaller<(${n.map((e=>e.name)).join(", ")}) => ${o.name}>`;return i=ue(A,((t,i,a,A)=>{for(var c=0,g=0;g<e;++g)s[g]=n[g].readValueFromPointer(A+c),c+=n[g].argPackAdvance;var d=1===r?ot(i,s):i.apply(t,s);return tt(o,a,d)})),a=nt.length,nt.push(i),a},d:e=>{e>9&&(ke[e+1]+=1)},b:e=>{var t=je.toValue(e);ve(t),xe(e)},i:(e,t)=>{var r=(e=et(e,"_emval_take_value")).readValueFromPointer(t);return je.toHandle(r)},r:e=>{f.length;T("OOM")},m:(e,t,r,n)=>{for(var o,i,a,s=0,A=0;A<r;A++){var c=m[t>>2],g=m[t+4>>2];t+=8;for(var l=0;l<g;l++)o=e,i=f[c+l],a=void 0,a=it[o],0===i||10===i?((1===o?d:u)(Ve(a,0)),a.length=0):a.push(i);s+=g}return m[n>>2]=s,0}},At=function(){var e,t={a:st};function r(e,t){var r,n;return At=e.exports,g=At.z,r=g.buffer,i.HEAP8=E=new Int8Array(r),i.HEAP16=p=new Int16Array(r),i.HEAPU8=f=new Uint8Array(r),i.HEAPU16=h=new Uint16Array(r),i.HEAP32=I=new Int32Array(r),i.HEAPU32=m=new Uint32Array(r),i.HEAPF32=C=new Float32Array(r),i.HEAPF64=y=new Float64Array(r),ye=At.C,n=At.A,B.unshift(n),function(){var e;if(O--,null==(e=i.monitorRunDependencies)||e.call(i,O),0==O&&(null!==b&&(clearInterval(b),b=null),Q)){var t=Q;Q=null,t()}}(),At}if(O++,null==(e=i.monitorRunDependencies)||e.call(i,O),i.instantiateWasm)try{return i.instantiateWasm(t,r)}catch(e){u(`Module.instantiateWasm callback failed with error: ${e}`),n(e)}return v||(v="data:application/octet-stream;base64,AGFzbQEAAAAB8gEfYAJ/fwBgAX8Bf2ABfwBgA39/fwF/YAN/f38AYAJ/fwF/YAR/f39/AGAAAGAFf39/f38AYAZ/f39/f38AYAR/f39/AX9gB39/f39/f38AYAN/fn8BfmAFf3x8fHwAYAZ/fHx8fHwAYAV/f39/fwF8YAl/f39/f39/f38AYAN/f38BfGAKf39/f39/f39/fwBgDX9/f39/f39/f39/f38AYAJ/fABgAn5/AX9gAn99AGABfAF8YAZ/fH9/f38Bf2AGf39/f39/AX9gAnx/AXxgBH9/fn4AYAZ/f3x8fHwAYAd/f3x8fHx8AGAFf39/f38BfwKXARkBYQFhAAQBYQFiAAIBYQFjAAIBYQFkAAIBYQFlAA8BYQFmAAMBYQFnAAgBYQFoABABYQFpAAUBYQFqABEBYQFrABIBYQFsAAQBYQFtAAoBYQFuAAABYQFvAAQBYQFwAAsBYQFxAAcBYQFyAAEBYQFzAAQBYQF0AAIBYQF1AAYBYQF2AAABYQF3AAQBYQF4AAkBYQF5ABMDZ2YCBQMBBAMIBRQDBAMFBQcBFQECAQAWAAAABAUFBQQXBw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QQhqIQdBGCEAQQALIQUgByADNgIAIAIgA2ogBDYCACADIAE2AgwgACADaiAFNgIAQdzYAEHc2AAoAgBBAWsiAEF/IAAbNgIACwsMACAAIAEgARAqEBsLvQEBA38jAEEQayIFJAACQCACIAAtAAtBB3YEfyAAKAIIQf////8HcUEBawVBCgsiBAJ/IAAtAAtBB3YEQCAAKAIEDAELIAAtAAtB/wBxCyIDa00EQCACRQ0BAn8gAC0AC0EHdgRAIAAoAgAMAQsgAAsiBCADaiABIAIQIyAAIAIgA2oiARAxIAVBADoADyABIARqIAUtAA86AAAMAQsgACAEIAIgBGsgA2ogAyADIAIgARBGCyAFQRBqJAAgAAs7AQJ/QQEgACAAQQFNGyEBA0ACQCABECwiAA0AQazcACgCACICRQ0AIAIRBwAMAQsLIABFBEAQJwsgAAvBAQEDfyAALQAAQSBxRQRAAkAgAiAAKAIQIgMEfyADBSAAEFANASAAKAIQCyAAKAIUIgRrSwRAIAAgASACIAAoAiQRAwAaDAELAkACQCAAKAJQQQBIDQAgAkUNACACIQMDQCABIANqIgVBAWstAABBCkcEQCADQQFrIgMNAQwCCwsgACABIAMgACgCJBEDACADSQ0CIAIgA2shAiAAKAIUIQQMAQsgASEFCyAEIAUgAhAiGiAAIAAoAhQgAmo2AhQLCwt0AQF/IAJFBEAgACgCBCABKAIERg8LIAAgAUYEQEEBDwsgASgCBCICLQAAIQECQCAAKAIEIgMtAAAiAEUNACAAIAFHDQADQCACLQABIQEgAy0AASIARQ0BIAJBAWohAiADQQFqIQMgACABRg0ACwsgACABRgtrAQF/IwBBgAJrIgUkAAJAIAIgA0wNACAEQYDABHENACAFIAEgAiADayIDQYACIANBgAJJIgEbECQaIAFFBEADQCAAIAVBgAIQHSADQYACayIDQf8BSw0ACwsgACAFIAMQHQsgBUGAAmokAAvlAwEFfyMAQRBrIgMkACADIAAoAgAiBEEIaygCACICNgIMIAMgACACajYCBCADIARBBGsoAgA2AgggAygCCCIEIAFBABAeIQIgAygCBCEFAkAgAgRAIAM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AIsNgIsIAIgASgCMDYCMCACIAEoAjQ2AjQgAiABKAI4NgI4IAIgASgCPDYCPCABQUBrIQEgAkFAayICIAVNDQALCyACIARPDQEDQCACIAEoAgA2AgAgAUEEaiEBIAJBBGoiAiAESQ0ACwwBCyADQQRJBEAgACECDAELIAAgA0EEayIESwRAIAAhAgwBCyAAIQIDQCACIAEtAAA6AAAgAiABLQABOgABIAIgAS0AAjoAAiACIAEtAAM6AAMgAUEEaiEBIAJBBGoiAiAETQ0ACwsgAiADSQRAA0AgAiABLQAAOgAAIAFBAWohASACQQFqIgIgA0cNAAsLIAALCwAgASACIAAQRRoL8gICAn8BfgJAIAJFDQAgACABOgAAIAAgAmoiA0EBayABOgAAIAJBA0kNACAAIAE6AAIgACABOgABIANBA2sgAToAACADQQJrIAE6AAAgAkEHSQ0AIAAgAToAAyADQQRrIAE6AAAgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBBGsgATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQQhrIAE2AgAgAkEMayABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkEQayABNgIAIAJBFGsgATYCACACQRhrIAE2AgAgAkEcayABNgIAIAQgA0EEcUEYciIEayICQSBJDQAgAa1CgYCAgBB+IQUgAyAEaiEBA0AgASAFNwMYIAEgBTcDECABIAU3AwggASAFNwMAIAFBIGohASACQSBrIgJBH0sNAAsLIAALEgAgAUEBdEHAxABqQQIgABBFC60CAQd/An8gARAqIQMjAEEQayIGJAACfyAALQALQQd2BEAgACgCBAwBCyAALQALQf8AcQsiBEEATwRAAkAgAyAALQALQQd2BH8gACgCCEH/////B3FBAWsFQQoLIgIgBGtNBEAgA0UNAQJ/IAAtAAtBB3YEQCAAKAIADAELIAALIgUgBAR/IwBBEGsiAiQAIAIgBCAFajYCCCACIAU2AgwgAiABNgIEIAIoAgQiCCACKAIMTwRAIAIoAgggCEshBwsgA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EAACACKAIMIQQgAkEQaiQAIAQLXwEBfyMAQRBrIgIkACABLQALGiAAIAEpAgA3AgAgACABKAIINgIIIAFCADcCACABQQA2AgggAC0AC0EHdiIBRQRAAn8gAQRAIAAoAgQMAQsgAC0ACwsaCyACQRBqJAALQwEBfyMAQRBrIgEkACAAQgA3AgAgAEEANgIIIAFBEGokACAAIAAtAAtBB3YEfyAAKAIIQf////8HcUEBawVBCgsQQgvUBAEJfwJ/IAAtAAtBB3YEQCAAKAIEDAELIAAtAAtB/wBxCyICIAFJBEAjAEEQayIGJAAgASACayIFBEAgBSAALQALQQd2BH8gACgCCEH/////B3FBAWsFQQoLIgICfyAALQALQQd2BEAgACgCBAwBCyAALQALQf8AcQsiAWtLBEAjAEEQayIEJAACQCAFIAJrIAFqIgNB9////wcgAmtNBEACfyAALQALQQd2BEAgACgCAAwBCyAACyEHIARBBGoiCCACQfP///8DSQR/IAQgAkEBdDYCDCAEIAIgA2o2AgQjAEEQayIDJAAgCCgCACAEQQxqIgkoAgBJIQogA0EQaiQAIAkgCCAKGygCACIDQQtPBH8gA0EIakF4cSIDIANBAWsiAyADQQtGGwVBCgtBAWoFQff///8HCxAwIAQoAgQhAyAEKAIIGiABBEAgAyAHIAEQIwsgAkEKRwRAIAcQGQsgACADNgIAIAAgACgCCEGAgICAeHEgBCgCCEH/////B3FyNgIIIAAgACgCCEGAgICAeHI2AgggBEEQaiQADAELECcACyAAIAE2AgQLIAECfyAALQALQQd2BEAgACgCAAwBCyAACyICaiAFEEMgACABIAVqIgAQMSAGQQA6AA8gACACaiAGLQAPOgAACyAGQRBqJAAPCwJ/IAAtAAtBB3YEQCAAKAIADAELIAALIQQjAEEQayICJAACfyAALQALQQd2BEAgACgCBAwBCyAALQALCxogACABEDEgAkEAOgAPIAEgBGogAi0ADzoAACACQRBqJAALPQEBfyMAQRBrIgIkACACQQA6AA8DQCABBEAgACACLQAPOgAAIAFBAWshASAAQQFqIQAMAQsLIAJBEGokAAsaACAALQALQQd2BEAg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+BH8gASABKAIAQQdqQXhxIgFBEGo2AgAgACELIAEpAwAhAyABKQMIIQcjAEEgayIBJAAgB0L///////8/gyEFAn4gB0IwiEL//wGDIgSnIglBgfgAa0H9D00EQCAFQgSGIANCPIiEIQIgCUGA+ABrrSEEAkAgA0L//////////w+DIgNCgYCAgICAgIAIWgRAIAJCAXwhAgwBCyADQoCAgICAgICACFINACACQgGDIAJ8IQILQgAgAiACQv////////8HViIAGyECIACtIAR8DAELAkAgAyAFhFANACAEQv//AVINACAFQgSGIANCPIiEQoCAgICAgIAEhCECQv8PDAELQv8PIAlB/ocBSw0AGkIAQYD4AEGB+AAgBFAiCBsiCiAJayIAQfAASg0AGiADIQIgBSAFQoCAgICAgMAAhCAIGyIEIQYCQEGAASAAayIIQcAAcQRAIAIgCEFAaq2GIQZCACECDAELIAhFDQAgBiAIrSIFhiACQcAAIAhrrYiEIQYgAiAFhiECCyABIAI3AxAgASAGNwMYAkAgAEHAAHEEQCAEIABBQGqtiCEDQgAhBAwBCyAARQ0AIARBwAAgAGuthiADIACtIgKIhCEDIAQgAoghBAsgASADNwMAIAEgBDcDCCABKQMIQgSGIAEpAwAiA0I8iIQhAgJAIAkgCkcgASkDECABKQMYhEIAUnGtIANC//////////8Pg4QiA0KBgICAgICAgAhaBEAgAkIBfCECDAELIANCgICAgICAgIAIUg0AIAJCAYMgAnwhAgsgAkKAgICAgICACIUgAiACQv////////8HViIAGyECIACtCyEDIAFBIGokACALIAdCgICAgICAgICAf4MgA0I0hoQgAoS/OQMAC0MBAn8jAEEQayICJAAgAiABNgIMIAJBpM8ANgIIIAJBCGogABEBACEDIAIoAgwiAUEJTwRAIAEQAgsgAkEQaiQAIAMLBABCAAsEAEEAC/YCAQh/IwBBIGsiAyQAIAMgACgCHCIENgIQIAAoAhQhBSADIAI2AhwgAyABNgIYIAMgBSAEayIBNgIUIAEgAmohBUECIQcCfwJAAkACQCAAKAI8IANBEGoiAUECIANBDGoQDCIEBH9BuNgAIAQ2AgBBfwV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QLiAFIAVB2ABqIAUoAgQgAyAFLAAPIgdBAEgiAxsgBSgCCCAHIAMbEBsiAygCCDYCcCAFIAMpAgA3A2ggA0IANwIAIANBADYCCCAFIAVB6ABqQasREBoiAygCCDYCgAEgBSADKQIANwN4IANCADcCACADQQA2AgggBUGIAWogBSgCeCAFQfgAaiAFLACDASIHQQBIIgMbIAUoAnwgByADGxAbGiAFLACDAUEASARAIAUoAngQGQsgBSwAc0EASARAIAUoAmgQGQsgBSwAD0EASARAIAUoAgQQGQsgBSwAY0EASARAIAUoAlgQGQsgBSwAU0EASARAIAUoAkgQGQsgBSwAG0EASARAIAUoAhAQGQsgBSwAQ0EASARAIAUoAjgQGQsgBSwAM0EASARAIAUoAigQGQsgBSwAJ0EATg0AIAUoAhwQGQsgAkEBaiICQQdHDQALIAlBAWoiCUEHRw0ACyMAQRBrIggkAEHzHxAqIQwCfyAFQYgBaiILLQALQQd2BEAgCygCBAwBCyALLQALQf8AcQshBgJ/An8jAEEQayIHJAAgBUH4AGohCiAGIAxqIglB9////wdNBEACQCAJQQtJBEAgCkIANwIAIApBADYCCCAKIAotAAtBgAFxIAlB/wBxcjoACyAKIAotAAtB/wBxOgALDAELIAlBC08EfyAJQQhqQXhxIgIgAkEBayICIAJBC0YbBUEKC0EBaiIDEBwhAiAKIAooAghBgICAgHhxIANB/////wdxcjYCCCAKIAooAghBgICAgHhyNgIIIAogAjYCACAKIAk2AgQLIAdBEGokACAKDAELECcACyICLQALQQd2BEAgAigCAAwBCyACCyICQfMfIAwQIyACIAxqIgICfyALLQALQQd2BEAgCygCAAwBCyALCyAGECMgAiAGakEBEEMgCEEQaiQAIA0gCkHNIxAaIgIpAgA3AgAgDSACKAIINgIIIAJCADcCACACQQA2AgggBSwAgwFBAEgEQCAFKAJ4EBkLIAUsAJMBQQBIBEAgBSgCiAEQGQsgBSgClAEiBwRAIAUoApgBIgMgByICRwRAA0AgA0EMayICKAIAIggEQCADQQhrIAg2AgAgCBAZCyACIgMgB0cNAAs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ABqAAAAQCQAAPQkAABsAAAAQCQAAAAlAABtAAAAQCQAAAwlAAB4AAAAQCQAABglAAB5AAAAQCQAACQlAABmAAAAQCQAADAlAABkAAAAQCQAADwlAAAAAAAAXCMAAB8AAAAkAAAAIQAAACIAAAAlAAAAJgAAACcAAAAoAAAAAAAAAMAlAAAfAAAAKQAAACEAAAAiAAAAJQAAACoAAAArAAAALAAAAE4xMF9fY3h4YWJpdjEyMF9fc2lfY2xhc3NfdHlwZV9pbmZvRQAAAAB4JQAAmCUAAFwjAAAAAAAAvCMAAB8AAAAtAAAAIQAAACIAAAAuAAAAAAAAAAwmAAAvAAAAMAAAADEAAABTdDlleGNlcHRpb24AAAAAUCUAAPwlAAAAAAAAOCYAABYAAAAyAAAAMwAAAFN0MTFsb2dpY19lcnJvcgB4JQAAKCYAAAwmAAAAAAAAbCYAABYAAAA0AAAAMwAAAFN0MTJsZW5ndGhfZXJyb3IAAAAAeCUAAFgmAAA4JgAAU3Q5dHlwZV9pbmZvAAAAAFAlAAB4JgBBkM0ACwnlEQAAAAAAAAUAQaTNAAsBGQBBvM0ACw4aAAAAGwAAADgoAAAABABB1M0ACwEBAEHkzQALBf////8KAEGozgALAzAuAQ=="),S(0,v,t,(function(e){r(e.instance)})).catch(n),{}}(),ct=e=>(ct=At.B)(e),gt=e=>(gt=At.D)(e),dt=e=>(dt=At.E)(e),ut=e=>(ut=At.F)(e);i.dynCall_jiji=(e,t,r,n,o)=>(i.dynCall_jiji=At.G)(e,t,r,n,o),i._vertexShaderSource=9872;function lt(){function e(){at||(at=!0,i.calledRun=!0,_||(F(B),r(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),function(){if(i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;)e=i.postRun.shift(),D.unshift(e);var e;F(D)}()))}O>0||(!function(){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)e=i.preRun.shift(),w.unshift(e);var e;F(w)}(),O>0||(i.setStatus?(i.setStatus("Running..."),setTimeout((function(){setTimeout((function(){i.setStatus("")}),1),e()}),1)):e()))}if(Q=function e(){at||lt(),at||(Q=e)},i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return lt(),a}})(),allin1_default=Module,MediaPipe=class{constructor(e,t){__publicField(this,"canvas"),__publicField(this,"locateFile"),__publicField(this,"_glName"),__publicField(this,"_solutionWasm"),__publicField(this,"ctx"),__publicField(this,"fileDownloader"),__publicField(this,"startTime"),__publicField(this,"lastTimestamp"),__publicField(this,"pl",{onResults:e=>this.onResults(e.get(0).glName)}),this.locateFile=t=>`${e}/${t}`.replace(/([^:]\/)\/+/g,"$1"),this.fileDownloader=t}bindTexture(){var e;null==(e=this.ctx)||e.activeTexture(this.ctx.TEXTURE0),this.bindTexture2d(this._glName)}async initialize(){this._solutionWasm=new this.SolutionWasm;const e=new this.StringList;e.push_back("segmentation_mask");const t=this.PacketListener.implement(this.pl);return this._solutionWasm.attachMultiListener(e,t),e.delete(),this._solutionWasm.loadGraph(await this.fileDownloader.download(this.locateFile("selfie_segmentation.binarypb"),{type:"arraybuffer"})),this}setCanvas(e){this.canvas=e,this.createContext(e,!0,!0,{}),this._glName=this.createTexture()}fetchResponse(e){return this.fileDownloader.downloadWithFetch(e,"fetch-response")}loadWasm(e,t){return this.fileDownloader.loadWasm(e,t)}async changeModel(e="selfie_segmentation_landscape.tflite"){e="string"==typeof e?await this.fileDownloader.download(this.locateFile(e),{type:"arraybuffer"}):e,this._solutionWasm.overrideFile("third_party/mediapipe/modules/selfie_segmentation/selfie_segmentation_landscape.tflite",e);const t=new this.GraphOptionChangeRequestList;t.push_back({calculatorIndex:1,calculatorName:"",calculatorType:"GlScalerCalculator",fieldName:"flip_horizontal",valueBoolean:!1,valueNumber:0,valueString:""}),t.push_back({calculatorIndex:0,calculatorType:"ConstantSidePacketCalculator",calculatorName:"ConstantSidePacketCalculatorModelSelection",fieldName:"int_value",valueBoolean:!1,valueNumber:1,valueString:""}),t.push_back({calculatorIndex:0,calculatorType:"InferenceCalculator",calculatorName:"",fieldName:"use_cpu_inference",valueBoolean:!1,valueNumber:0,valueString:""}),this._solutionWasm.changeOptions(t),this.startTime=Date.now()}send(e,t){const r=new this.PacketDataList,n=Date.now()-this.startTime;this.lastTimestamp&&this.lastTimestamp>=n?this.lastTimestamp++:this.lastTimestamp=n,r.pushTexture2d({stream:"input_frames_gpu",timestamp:this.lastTimestamp,glName:this._glName,width:e,height:t}),this._solutionWasm.send(r),r.delete()}close(){var e,t,r;null==(e=this.canvas)||delete e.getContext,delete this.readyPromiseResolve,delete this.readyPromiseReject,this.pl.onResults=null,delete this.onResults,null==(t=this.deleteTexture)||t.call(this,this._glName),null==(r=this._solutionWasm)||r.delete();for(const e of Object.keys(this))delete this[e]}},USER_AGENT="undefined"==typeof navigator?"":navigator.userAgent,isUserAgentMatch=e=>new RegExp(e,"i").test(USER_AGENT),getBrowserVersion=e=>{if(isUserAgentMatch(e)){const t=new RegExp(`${e}\\/([\\d.]+)`),r=USER_AGENT.match(t);if(r&&r[1])return r[1]}return""},getBrowserMajorVersion=e=>{if(isUserAgentMatch(e)){const t=new RegExp(`${e}\\/(\\d+)`),r=USER_AGENT.match(t);if(r&&r[1])return parseFloat(r[1])}return NaN},webkitVersionMap=/AppleWebKit\/([\d.]+)/i.exec(USER_AGENT),appleWebkitVersion=webkitVersionMap?parseFloat(webkitVersionMap[1]):NaN,IS_IPAD=isUserAgentMatch("iPad"),IS_IPAD_PRO="undefined"!=typeof navigator&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&isUserAgentMatch("Macintosh"),IS_IPHONE=isUserAgentMatch("iPhone")&&!IS_IPAD,IS_IPOD=isUserAgentMatch("iPod"),IS_IOS=IS_IPHONE||IS_IPAD||IS_IPOD||IS_IPAD_PRO,IS_ANDROID=isUserAgentMatch("Android"),ANDROID_VERSION=function(){if(IS_ANDROID){const e=USER_AGENT.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(e){const t=e[1]&&parseFloat(e[1]),r=e[2]&&parseFloat(e[2]);if(t&&r)return parseFloat(`${e[1]}.${e[2]}`);if(t)return t}}return NaN}(),IS_OLD_ANDROID=IS_ANDROID&&isUserAgentMatch("webkit")&&ANDROID_VERSION<2.3,IS_NATIVE_ANDROID=IS_ANDROID&&ANDROID_VERSION<5&&appleWebkitVersion<537,IS_FIREFOX=isUserAgentMatch("Firefox"),FIREFOX_VERSION=getBrowserVersion("Firefox"),FIREFOX_MAJOR_VERSION=getBrowserMajorVersion("Firefox"),IS_EDGE=isUserAgentMatch("Edge"),EDGE_VERSION=getBrowserVersion("Edge"),IS_EDG=isUserAgentMatch("Edg"),EDG_VERSION=getBrowserVersion("Edg"),EDG_MAJOR_VERSION=getBrowserMajorVersion("Edg"),IS_SOGOUM=isUserAgentMatch("SogouMobileBrowser"),SOGOUM_VERSION=getBrowserVersion("SogouMobileBrowser"),IS_SOGOU=isUserAgentMatch("MetaSr\\s"),SOGOU_VERSION=getBrowserVersion("MetaSr\\s"),IS_TBS=isUserAgentMatch("TBS"),TBS_VERSION=getBrowserVersion("TBS"),IS_XWEB=isUserAgentMatch("XWEB"),XWEB_VERSION=getBrowserVersion("XWEB"),IS_IE8=isUserAgentMatch("MSIE\\s8\\.0"),IS_IE=isUserAgentMatch("MSIE\\/\\d+"),IE_VERSION=function(){if(IS_IE){const e=/MSIE\s(\d+)\.\d/.exec(USER_AGENT);let t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(USER_AGENT)&&/rv:11.0/.test(USER_AGENT)&&(t=11),t}return NaN}(),IS_WECHAT=isUserAgentMatch("(micromessenger|webbrowser)"),WECHAT_VERSION=getBrowserVersion("MicroMessenger"),IS_X5MQQB=!IS_TBS&&isUserAgentMatch("MQQBrowser")&&isUserAgentMatch("COVC"),IS_MQQB=!IS_TBS&&isUserAgentMatch("MQQBrowser")&&!isUserAgentMatch("COVC"),MQQB_VERSION=IS_MQQB||IS_X5MQQB?getBrowserVersion("MQQBrowser"):"",IS_WQQB=!IS_TBS&&isUserAgentMatch(" QQBrowser"),WQQB_VERSION=getBrowserVersion(" QQBrowser"),IS_MACQQB=!IS_TBS&&isUserAgentMatch("QQBrowserLite"),MACQQB_VERSION=getBrowserVersion("QQBrowserLite"),IS_IPADQQB=!IS_TBS&&isUserAgentMatch("MQBHD"),IPADQQB_VERSION=getBrowserVersion("MQBHD"),IS_WIN=isUserAgentMatch("Windows"),IS_MAC=!IS_IOS&&isUserAgentMatch("MAC OS X"),IS_LINUX=!IS_ANDROID&&isUserAgentMatch("Linux"),IS_CHROME_OS=isUserAgentMatch("CrOS"),IS_WX=isUserAgentMatch("MicroMessenger"),IS_UCBROWSER=isUserAgentMatch("UCBrowser"),IS_ELECTRON=isUserAgentMatch("Electron"),IS_MIBROWSER=isUserAgentMatch("MiuiBrowser"),MI_VERSION=getBrowserVersion("MiuiBrowser"),IS_HUAWEIBROWSER=isUserAgentMatch("HuaweiBrowser"),IS_HUAWEI=isUserAgentMatch("Huawei")||isUserAgentMatch("HUAWEI"),IS_HONOR=isUserAgentMatch("Honor")||isUserAgentMatch("HONOR"),HUAWEI_VERSION=getBrowserVersion("HuaweiBrowser"),IS_SAMSUNGBROWSER=isUserAgentMatch("SamsungBrowser"),SAMSUNG_VERSION=getBrowserVersion("SamsungBrowser"),IS_OPPOBROWSER=isUserAgentMatch("HeyTapBrowser"),OPPO_VERSION=getBrowserVersion("HeyTapBrowser"),IS_VIVOBROWSER=isUserAgentMatch("VivoBrowser"),VIVO_VERSION=getBrowserVersion("VivoBrowser"),IS_OPENHARMONY=isUserAgentMatch("OpenHarmony"),OPENHARMONY_VERSION=getBrowserVersion("OpenHarmony"),getChromeMajorVersion=()=>getBrowserMajorVersion("Chrome"),IS_CHROMIUM_BASE=isUserAgentMatch("Chrome"),IS_CHROME=!IS_EDGE&&!IS_SOGOU&&!IS_SOGOUM&&!IS_TBS&&!IS_XWEB&&!IS_EDG&&!IS_WQQB&&!IS_MIBROWSER&&!IS_HUAWEIBROWSER&&!IS_SAMSUNGBROWSER&&!IS_OPPOBROWSER&&!IS_VIVOBROWSER&&IS_CHROMIUM_BASE,IS_HEADLESS_CHROME=isUserAgentMatch("HeadlessChrome"),CHROME_MAJOR_VERSION=getChromeMajorVersion(),CHROME_VERSION=getBrowserVersion("Chrome"),IS_SAFARI=!IS_CHROMIUM_BASE&&!IS_MQQB&&!IS_X5MQQB&&!IS_MACQQB&&!IS_IPADQQB&&isUserAgentMatch("Safari"),SAFARI_VERSION=getBrowserVersion("Version"),IS_ANDROID_WEBVIEW=/Android.*(wv|.0.0.0)/.test(USER_AGENT),IOS_VERSION=(()=>{if(IS_IPAD_PRO)return SAFARI_VERSION;if(IS_IOS){const e=USER_AGENT.match(/OS (\d+)_(\d+)/i);if(e&&e[1]){let t=e[1];return e[2]&&(t+=`.${e[2]}`),t}}return""})(),IOS_MAIN_VERSION=Number(IOS_VERSION.split(".")[0]),IS_IOS_13_OR_14=(()=>{const e=Number(IOS_VERSION.split(".")[0]);return 14===e||13===e})(),IS_IOS_CHROME=isUserAgentMatch("CriOS"),IS_LOCAL="undefined"!=typeof location&&("file:"===location.protocol||"localhost"===location.hostname||"127.0.0.1"===location.hostname),browserInfo=getBrowserInfo();function getBrowserInfo(){const e=new Map([[IS_FIREFOX,["Firefox",FIREFOX_VERSION]],[IS_EDG,["Edg",EDG_VERSION]],[IS_CHROME,["Chrome",CHROME_VERSION]],[IS_SAFARI,["Safari",SAFARI_VERSION]],[IS_TBS,["TBS",TBS_VERSION]],[IS_XWEB,["XWEB",XWEB_VERSION]],[IS_WECHAT&&IS_IPHONE,["WeChat",WECHAT_VERSION]],[IS_WQQB,["QQ(Win)",WQQB_VERSION]],[IS_MQQB,["QQ(Mobile)",MQQB_VERSION]],[IS_X5MQQB,["QQ(Mobile X5)",MQQB_VERSION]],[IS_MACQQB,["QQ(Mac)",MACQQB_VERSION]],[IS_IPADQQB,["QQ(iPad)",IPADQQB_VERSION]],[IS_MIBROWSER,["MI",MI_VERSION]],[IS_HUAWEIBROWSER,["HW",HUAWEI_VERSION]],[IS_SAMSUNGBROWSER,["Samsung",SAMSUNG_VERSION]],[IS_OPPOBROWSER,["OPPO",OPPO_VERSION]],[IS_VIVOBROWSER,["VIVO",VIVO_VERSION]],[IS_EDGE,["EDGE",EDGE_VERSION]],[IS_SOGOUM,["SogouMobile",SOGOUM_VERSION]],[IS_SOGOU,["Sogou",SOGOU_VERSION]]]);let t="unknown",r="unknown";return e.has(!0)&&([t,r]=e.get(!0)),{name:t,version:r}}var KV_REPORT_KEY_VIRTUAL_BACKGROUND_TYPE=570703,vbSeq=0,_VirtualBackground=class e{constructor(e){this.core=e,__publicField(this,"seq"),__publicField(this,"_core"),__publicField(this,"log"),__publicField(this,"preLoadPromise"),__publicField(this,"startResolve"),__publicField(this,"startReject"),__publicField(this,"mediaPipeSolutions"),__publicField(this,"assetsPath"),__publicField(this,"currentType"),__publicField(this,"onAbort"),__publicField(this,"isAborted",!1),vbSeq+=1,this.seq=vbSeq,this._core=e,this.log=e.log.createChild({id:`${this.getAlias()}${vbSeq}`}),this.log.info("created"),e.assetsPath&&(this.preLoadPromise=this.preload(e.assetsPath))}static isSupported(){if(CHROME_MAJOR_VERSION<90)return!1;const e=document.createElement("canvas").getContext("webgl2");return!!(e&&e instanceof WebGL2RenderingContext)}async preload(e="https://web.sdk.qcloud.com/trtc/webrtc/v5/assets/"){try{this._core.room.videoManager.Wasm||(this._core.room.videoManager.Wasm=await allin1_default()),this.assetsPath=`${e}/selfie_segmentation/`;const t=new MediaPipe(this.assetsPath,this._core.fileDownloader);t.onAbort=e=>{var t;this.core.kvStatManager.addEnum({key:KV_REPORT_KEY_VIRTUAL_BACKGROUND_TYPE,value:this.getKVTypeValue(!1,this.isAborted,"ABORT_IN_INFERENCE")}),this.isAborted=!0,this.log.error("mediaPipeSolutions abort",e),this.core.clearStarted(this,this.getGroup()),this.stop(),null==(t=this.onAbort)||t.call(this,e)},t.print=this.log.info.bind(this.log),t.printErr=this.log.warn.bind(this.log),this.mediaPipeSolutions=await(this.core.rtcDectection.isSIMDSupported()?selfie_segmentation_solution_simd_wasm_bin_default:selfie_segmentation_solution_wasm_bin_default)(t),await this.mediaPipeSolutions.initialize(),await this._core.room.videoManager.initVirtualBackground(this.mediaPipeSolutions)}catch(e){const{RtcError:t,ErrorCode:r}=this._core.errorModule;throw new t({code:r.INVALID_OPERATION,message:`VirtualBackground preload error, please check your assetsPath. detail: ${e}`})}}getName(){return e.Name}getAlias(){return"vb"}getValidateRule(e){switch(e){case"start":return startValidateRule(this._core);case"update":return updateValidateRule(this._core);case"stop":return stopValidateRule(this._core)}}getGroup(){return"vb"}getKVTypeValue(e=!1,t=!1,r="NONE"){let n=0;switch(this.currentType){case"blur":n|=0;break;case"image":n|=1;break;case"green":n|=2}switch(e&&(n|=256),t&&(n|=512),r){case"ABORT_IN_INFERENCE":n|=4096;break;case"ABORT_IN_VIDEO_MANAGER":n|=8192;break;case"OTHER":n|=61440}return n}async start(e){const{type:t="blur",src:r,blurLevel:n=3,onAbort:o}=e;this.currentType=t,this.onAbort=o;const{auth:i}=await authEffect({sdkAppId:e.sdkAppId,userId:e.userId,userSig:e.userSig,core:this._core});if(!i){const{RtcError:t,ErrorCodeDictionary:r}=this._core.errorModule,n=this._core.utils.isOverseaSdkAppId(e.sdkAppId)?"https://trtc.io/document/56025":"https://cloud.tencent.com/document/product/647/85386";throw new t({code:r.NEED_TO_BUY,messageParams:{value:"Virtual Background",url:n}})}return this.preLoadPromise||(this.preLoadPromise=this.preload(this._core.assetsPath)),await this.preLoadPromise,this.core.room.videoManager.setVirtualBackground({type:t,imageUrl:r,blurLevel:n,onAbort:e=>{var t;this.core.kvStatManager.addEnum({key:KV_REPORT_KEY_VIRTUAL_BACKGROUND_TYPE,value:this.getKVTypeValue(!0,this.isAborted,"ABORT_IN_VIDEO_MANAGER")}),this.isAborted=!0,this.core.clearStarted(this,this.getGroup()),this.stop(),delete this.preLoadPromise,null==(t=this.onAbort)||t.call(this,e)}}).then((()=>{this.core.kvStatManager.addEnum({key:KV_REPORT_KEY_VIRTUAL_BACKGROUND_TYPE,value:this.getKVTypeValue(!1,this.isAborted,"NONE")})})).catch((()=>{this.core.kvStatManager.addEnum({key:KV_REPORT_KEY_VIRTUAL_BACKGROUND_TYPE,value:this.getKVTypeValue(!0,this.isAborted,"OTHER")})}))}async update(e){const{type:t,src:r}=e;return t!==this.currentType&&(this.currentType=t),this.core.room.videoManager.setVirtualBackground({type:t,imageUrl:r,blurLevel:e.blurLevel}).then((()=>{this.core.kvStatManager.addEnum({key:KV_REPORT_KEY_VIRTUAL_BACKGROUND_TYPE,value:this.getKVTypeValue(!1,!1,"NONE")})})).catch((()=>{this.core.kvStatManager.addEnum({key:KV_REPORT_KEY_VIRTUAL_BACKGROUND_TYPE,value:this.getKVTypeValue(!0,!1,"OTHER")})}))}async stop(){return this.core.room.videoManager.setVirtualBackground()}};__publicField(_VirtualBackground,"Name","VirtualBackground");var VirtualBackground=_VirtualBackground,index_default=VirtualBackground;export{index_default as default};export{VirtualBackground};
1
+ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))__hasOwnProp.call(t,r)&&__defNormalProp(e,r,t[r]);if(__getOwnPropSymbols)for(var r of __getOwnPropSymbols(t))__propIsEnum.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__spreadProps=(e,t)=>__defProps(e,__getOwnPropDescs(t)),__require=(e=>"undefined"!=typeof require?require:"undefined"!=typeof Proxy?new Proxy(e,{get:(e,t)=>("undefined"!=typeof require?require:e)[t]}):e)((function(e){if("undefined"!=typeof require)return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')})),__publicField=(e,t,r)=>__defNormalProp(e,"symbol"!=typeof t?t+"":t,r);async function authEffect({sdkAppId:e,userId:t,userSig:r,core:n}){var o;const i=Math.round((new Date).getTime()/1e3);try{const a=await n.schedule.getAbilityConfig(e,n.schedule.ScheduleRequestType.TRTC_AUTO_CONF,{sdkAppId:e,userId:t,userSig:r,timestamp:i});n.log.info(`virtual background ability response: ${JSON.stringify(a)}`);const{data:s}=a;return(null==(o=null==s?void 0:s.trtcAutoConf)?void 0:o.web_ar)?{auth:!0,timestamp:i}:{auth:!1}}catch(e){return n.log.error("virtual background fetch error",e),{auth:!1}}}var UserRule={sdkAppId:{required:!0,type:"number"},userId:{required:!0,type:"string"},userSig:{required:!0,type:"string"}};function startValidateRule(e){return{name:"VirtualBackgroundOptions",type:"object",required:!0,allowEmpty:!1,properties:__spreadProps(__spreadValues({},UserRule),{type:{required:!1,type:"string",values:["image","blur"]},src:{required:!1,type:"string"},blurLevel:{required:!1,type:"number",min:1,max:10},onAbort:{required:!1}}),validate(t,r,n,o){var i;const{RtcError:a,ErrorCode:s,ErrorCodeDictionary:A}=e.errorModule;if(!t)return;const{type:c,src:g,onAbort:d}=t;if("image"===c&&!g)throw new a({code:s.INVALID_PARAMETER,extraCode:A.INVALID_PARAMETER_REQUIRED,fnName:n,messageParams:{key:"src"}});if(d&&!e.utils.isFunction(d))throw new a({code:s.INVALID_PARAMETER,extraCode:A.INVALID_PARAMETER_TYPE,fnName:n,messageParams:{key:"onAbort",value:typeof d,rule:{type:"Function"}}});if(!(null==(i=e.room.videoManager.cameraTrack)?void 0:i.mediaTrack))throw new a({code:s.INVALID_OPERATION,extraCode:A.INVALID_OPERATION_NEED_VIDEO,fnName:n})}}}function updateValidateRule(e){return{name:"UpdateVirtualBackgroundOptions",type:"object",required:!0,allowEmpty:!1,properties:{type:{required:!0,type:"string",values:["image","blur"]},src:{required:!1,type:"string"},blurLevel:{required:!1,type:"number",min:1,max:10}},validate(t,r,n,o){if(!t)return;const{RtcError:i,ErrorCode:a,ErrorCodeDictionary:s}=e.errorModule,{type:A,src:c}=t;if("image"===A&&!c)throw new i({code:a.INVALID_PARAMETER,extraCode:s.INVALID_PARAMETER_REQUIRED,fnName:n,messageParams:{key:"src"}})}}}function stopValidateRule(e){return{name:"StopVirtualBackgroundOptions",required:!1}}var createMediapipeSolutionsWasm=function(){let e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(e=e||__filename),function(t){const r=void 0!==(t=t||{})?t:{};let n,o;r.ready=new Promise(((e,t)=>{n=e,o=t})),Object.getOwnPropertyDescriptor(r.ready,"_main")||(Object.defineProperty(r.ready,"_main",{configurable:!0,get(){Ce("You are getting _main on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_main",{configurable:!0,set(){Ce("You are setting _main on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_stack_get_end")||(Object.defineProperty(r.ready,"_emscripten_stack_get_end",{configurable:!0,get(){Ce("You are getting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_stack_get_end",{configurable:!0,set(){Ce("You are setting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_stack_get_free")||(Object.defineProperty(r.ready,"_emscripten_stack_get_free",{configurable:!0,get(){Ce("You are getting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_stack_get_free",{configurable:!0,set(){Ce("You are setting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_stack_init")||(Object.defineProperty(r.ready,"_emscripten_stack_init",{configurable:!0,get(){Ce("You are getting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_stack_init",{configurable:!0,set(){Ce("You are setting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_stackSave")||(Object.defineProperty(r.ready,"_stackSave",{configurable:!0,get(){Ce("You are getting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_stackSave",{configurable:!0,set(){Ce("You are setting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_stackRestore")||(Object.defineProperty(r.ready,"_stackRestore",{configurable:!0,get(){Ce("You are getting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_stackRestore",{configurable:!0,set(){Ce("You are setting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_stackAlloc")||(Object.defineProperty(r.ready,"_stackAlloc",{configurable:!0,get(){Ce("You are getting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_stackAlloc",{configurable:!0,set(){Ce("You are setting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"___wasm_call_ctors")||(Object.defineProperty(r.ready,"___wasm_call_ctors",{configurable:!0,get(){Ce("You are getting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"___wasm_call_ctors",{configurable:!0,set(){Ce("You are setting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_fflush")||(Object.defineProperty(r.ready,"_fflush",{configurable:!0,get(){Ce("You are getting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_fflush",{configurable:!0,set(){Ce("You are setting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"___errno_location")||(Object.defineProperty(r.ready,"___errno_location",{configurable:!0,get(){Ce("You are getting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"___errno_location",{configurable:!0,set(){Ce("You are setting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_malloc")||(Object.defineProperty(r.ready,"_malloc",{configurable:!0,get(){Ce("You are getting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_malloc",{configurable:!0,set(){Ce("You are setting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_free")||(Object.defineProperty(r.ready,"_free",{configurable:!0,get(){Ce("You are getting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_free",{configurable:!0,set(){Ce("You are setting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_setThrew")||(Object.defineProperty(r.ready,"_setThrew",{configurable:!0,get(){Ce("You are getting _setThrew on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_setThrew",{configurable:!0,set(){Ce("You are setting _setThrew on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"___cxa_is_pointer_type")||(Object.defineProperty(r.ready,"___cxa_is_pointer_type",{configurable:!0,get(){Ce("You are getting ___cxa_is_pointer_type on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"___cxa_is_pointer_type",{configurable:!0,set(){Ce("You are setting ___cxa_is_pointer_type on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"___cxa_can_catch")||(Object.defineProperty(r.ready,"___cxa_can_catch",{configurable:!0,get(){Ce("You are getting ___cxa_can_catch on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"___cxa_can_catch",{configurable:!0,set(){Ce("You are setting ___cxa_can_catch on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_saveSetjmp")||(Object.defineProperty(r.ready,"_saveSetjmp",{configurable:!0,get(){Ce("You are getting _saveSetjmp on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_saveSetjmp",{configurable:!0,set(){Ce("You are setting _saveSetjmp on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_memalign")||(Object.defineProperty(r.ready,"_memalign",{configurable:!0,get(){Ce("You are getting _memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_memalign",{configurable:!0,set(){Ce("You are setting _memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_main_thread_process_queued_calls")||(Object.defineProperty(r.ready,"_emscripten_main_thread_process_queued_calls",{configurable:!0,get(){Ce("You are getting _emscripten_main_thread_process_queued_calls on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_main_thread_process_queued_calls",{configurable:!0,set(){Ce("You are setting _emscripten_main_thread_process_queued_calls on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_webgl_make_context_current")||(Object.defineProperty(r.ready,"_emscripten_webgl_make_context_current",{configurable:!0,get(){Ce("You are getting _emscripten_webgl_make_context_current on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_webgl_make_context_current",{configurable:!0,set(){Ce("You are setting _emscripten_webgl_make_context_current on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_webgl_get_current_context")||(Object.defineProperty(r.ready,"_emscripten_webgl_get_current_context",{configurable:!0,get(){Ce("You are getting _emscripten_webgl_get_current_context on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_webgl_get_current_context",{configurable:!0,set(){Ce("You are setting _emscripten_webgl_get_current_context on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"__get_tzname")||(Object.defineProperty(r.ready,"__get_tzname",{configurable:!0,get(){Ce("You are getting __get_tzname on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"__get_tzname",{configurable:!0,set(){Ce("You are setting __get_tzname on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"__get_daylight")||(Object.defineProperty(r.ready,"__get_daylight",{configurable:!0,get(){Ce("You are getting __get_daylight on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"__get_daylight",{configurable:!0,set(){Ce("You are setting __get_daylight on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"__get_timezone")||(Object.defineProperty(r.ready,"__get_timezone",{configurable:!0,get(){Ce("You are getting __get_timezone on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"__get_timezone",{configurable:!0,set(){Ce("You are setting __get_timezone on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_builtin_malloc")||(Object.defineProperty(r.ready,"_emscripten_builtin_malloc",{configurable:!0,get(){Ce("You are getting _emscripten_builtin_malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_builtin_malloc",{configurable:!0,set(){Ce("You are setting _emscripten_builtin_malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_builtin_free")||(Object.defineProperty(r.ready,"_emscripten_builtin_free",{configurable:!0,get(){Ce("You are getting _emscripten_builtin_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_builtin_free",{configurable:!0,set(){Ce("You are setting _emscripten_builtin_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"_emscripten_builtin_memalign")||(Object.defineProperty(r.ready,"_emscripten_builtin_memalign",{configurable:!0,get(){Ce("You are getting _emscripten_builtin_memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"_emscripten_builtin_memalign",{configurable:!0,set(){Ce("You are setting _emscripten_builtin_memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"___getTypeName")||(Object.defineProperty(r.ready,"___getTypeName",{configurable:!0,get(){Ce("You are getting ___getTypeName on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"___getTypeName",{configurable:!0,set(){Ce("You are setting ___getTypeName on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"___embind_register_native_and_builtin_types")||(Object.defineProperty(r.ready,"___embind_register_native_and_builtin_types",{configurable:!0,get(){Ce("You are getting ___embind_register_native_and_builtin_types on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"___embind_register_native_and_builtin_types",{configurable:!0,set(){Ce("You are setting ___embind_register_native_and_builtin_types on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(r.ready,"onRuntimeInitialized")||(Object.defineProperty(r.ready,"onRuntimeInitialized",{configurable:!0,get(){Ce("You are getting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(r.ready,"onRuntimeInitialized",{configurable:!0,set(){Ce("You are setting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}));let i,a={};for(i in r)r.hasOwnProperty(i)&&(a[i]=r[i]);let s=[],A="./this.program",c=function(e,t){throw t};const g="object"==typeof window,d="function"==typeof importScripts,u="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,l=!g&&!u&&!d;if(r.ENVIRONMENT)throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -s ENVIRONMENT=web or -s ENVIRONMENT=node)");let E,f,p,h,I="";if(!g&&!d)throw new Error("environment detection error");if(d?I=self.location.href:"undefined"!=typeof document&&document.currentScript&&(I=document.currentScript.src),e&&(I=e),I=0!==I.indexOf("blob:")?I.substr(0,I.lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");E=function(e){const t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},d&&(p=function(e){const t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),f=function(e,t,r){const 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)},h=function(e){document.title=e};let m=r.print||console.log.bind(console),C=r.printErr||console.warn.bind(console);for(i in a)a.hasOwnProperty(i)&&(r[i]=a[i]);function y(e){y.shown||(y.shown={}),y.shown[e]||(y.shown[e]=1,C(e))}a=null,r.arguments&&(s=r.arguments),Object.getOwnPropertyDescriptor(r,"arguments")||Object.defineProperty(r,"arguments",{configurable:!0,get(){Ce("Module.arguments has been replaced with plain arguments_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),r.thisProgram&&(A=r.thisProgram),Object.getOwnPropertyDescriptor(r,"thisProgram")||Object.defineProperty(r,"thisProgram",{configurable:!0,get(){Ce("Module.thisProgram has been replaced with plain thisProgram (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),r.quit&&(c=r.quit),Object.getOwnPropertyDescriptor(r,"quit")||Object.defineProperty(r,"quit",{configurable:!0,get(){Ce("Module.quit has been replaced with plain quit_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),T(void 0===r.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),T(void 0===r.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),T(void 0===r.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),T(void 0===r.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),T(void 0===r.read,"Module.read option was removed (modify read_ in JS)"),T(void 0===r.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),T(void 0===r.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),T(void 0===r.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),T(void 0===r.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),Object.getOwnPropertyDescriptor(r,"read")||Object.defineProperty(r,"read",{configurable:!0,get(){Ce("Module.read has been replaced with plain read_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(r,"readAsync")||Object.defineProperty(r,"readAsync",{configurable:!0,get(){Ce("Module.readAsync has been replaced with plain readAsync (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(r,"readBinary")||Object.defineProperty(r,"readBinary",{configurable:!0,get(){Ce("Module.readBinary has been replaced with plain readBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(r,"setWindowTitle")||Object.defineProperty(r,"setWindowTitle",{configurable:!0,get(){Ce("Module.setWindowTitle has been replaced with plain setWindowTitle (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),T(!l,"shell environment detected but not enabled at build time. Add 'shell' to `-s ENVIRONMENT` to enable.");let _=0;const w=function(e){_=e};let B;r.wasmBinary&&(B=r.wasmBinary),Object.getOwnPropertyDescriptor(r,"wasmBinary")||Object.defineProperty(r,"wasmBinary",{configurable:!0,get(){Ce("Module.wasmBinary has been replaced with plain wasmBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}});const D=r.noExitRuntime||!0;let O;Object.getOwnPropertyDescriptor(r,"noExitRuntime")||Object.defineProperty(r,"noExitRuntime",{configurable:!0,get(){Ce("Module.noExitRuntime has been replaced with plain noExitRuntime (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),"object"!=typeof WebAssembly&&Ce("no native wasm support detected");let b,Q=!1;function T(e,t){e||Ce(`Assertion failed: ${t}`)}const v="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function P(e,t,r){const n=t+r;let o=t;for(;e[o]&&!(o>=n);)++o;if(o-t>16&&e.subarray&&v)return v.decode(e.subarray(t,o));let i="";for(;t<o;){let r=e[t++];if(!(128&r)){i+=String.fromCharCode(r);continue}const n=63&e[t++];if(192==(224&r)){i+=String.fromCharCode((31&r)<<6|n);continue}const o=63&e[t++];if(224==(240&r)?r=(15&r)<<12|n<<6|o:(240!=(248&r)&&y(`Invalid UTF-8 leading byte 0x${r.toString(16)} encountered when deserializing a UTF-8 string in wasm memory to a JS string!`),r=(7&r)<<18|n<<12|o<<6|63&e[t++]),r<65536)i+=String.fromCharCode(r);else{const e=r-65536;i+=String.fromCharCode(55296|e>>10,56320|1023&e)}}return i}function R(e,t){return e?P(W,e,t):""}function M(e,t,r,n){if(!(n>0))return 0;const o=r,i=r+n-1;for(let n=0;n<e.length;++n){let o=e.charCodeAt(n);if(o>=55296&&o<=57343){o=65536+((1023&o)<<10)|1023&e.charCodeAt(++n)}if(o<=127){if(r>=i)break;t[r++]=o}else if(o<=2047){if(r+1>=i)break;t[r++]=192|o>>6,t[r++]=128|63&o}else if(o<=65535){if(r+2>=i)break;t[r++]=224|o>>12,t[r++]=128|o>>6&63,t[r++]=128|63&o}else{if(r+3>=i)break;o>=2097152&&y(`Invalid Unicode code point 0x${o.toString(16)} encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x1FFFFF).`),t[r++]=240|o>>18,t[r++]=128|o>>12&63,t[r++]=128|o>>6&63,t[r++]=128|63&o}}return t[r]=0,r-o}function S(e,t,r){return T("number"==typeof r,"stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),M(e,W,t,r)}function F(e){let t=0;for(let r=0;r<e.length;++r){let n=e.charCodeAt(r);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}const N="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function k(e,t){T(e%2==0,"Pointer passed to UTF16ToString must be aligned to two bytes!");let r=e,n=r>>1;const o=n+t/2;for(;!(n>=o)&&$[n];)++n;if(r=n<<1,r-e>32&&N)return N.decode(W.subarray(e,r));let i="";for(let r=0;!(r>=t/2);++r){const t=z[e+2*r>>1];if(0==t)break;i+=String.fromCharCode(t)}return i}function x(e,t,r){if(T(t%2==0,"Pointer passed to stringToUTF16 must be aligned to two bytes!"),T("number"==typeof r,"stringToUTF16(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),void 0===r&&(r=2147483647),r<2)return 0;const n=t,o=(r-=2)<2*e.length?r/2:e.length;for(let r=0;r<o;++r){const n=e.charCodeAt(r);z[t>>1]=n,t+=2}return z[t>>1]=0,t-n}function U(e){return 2*e.length}function j(e,t){T(e%4==0,"Pointer passed to UTF32ToString must be aligned to four bytes!");let r=0,n="";for(;!(r>=t/4);){const t=K[e+4*r>>2];if(0==t)break;if(++r,t>=65536){const e=t-65536;n+=String.fromCharCode(55296|e>>10,56320|1023&e)}else n+=String.fromCharCode(t)}return n}function L(e,t,r){if(T(t%4==0,"Pointer passed to stringToUTF32 must be aligned to four bytes!"),T("number"==typeof r,"stringToUTF32(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),void 0===r&&(r=2147483647),r<4)return 0;const n=t,o=n+r-4;for(let r=0;r<e.length;++r){let n=e.charCodeAt(r);if(n>=55296&&n<=57343){n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)}if(K[t>>2]=n,(t+=4)+4>o)break}return K[t>>2]=0,t-n}function H(e){let t=0;for(let r=0;r<e.length;++r){const n=e.charCodeAt(r);n>=55296&&n<=57343&&++r,t+=4}return t}function G(e){const t=F(e)+1,r=cn(t);return r&&M(e,V,r,t),r}function Y(e,t){T(e.length>=0,"writeArrayToMemory array must have a length (should be an array or typed array)"),V.set(e,t)}let X,V,W,z,$,K,J,Z,q;function ee(e){X=e,r.HEAP8=V=new Int8Array(e),r.HEAP16=z=new Int16Array(e),r.HEAP32=K=new Int32Array(e),r.HEAPU8=W=new Uint8Array(e),r.HEAPU16=$=new Uint16Array(e),r.HEAPU32=J=new Uint32Array(e),r.HEAPF32=Z=new Float32Array(e),r.HEAPF64=q=new Float64Array(e)}const te=5242880;r.TOTAL_STACK&&T(te===r.TOTAL_STACK,"the stack size can no longer be determined at runtime");const re=r.INITIAL_MEMORY||16777216;let ne;function oe(){const e=un();T(!(3&e)),J[1+(e>>2)]=34821223,J[2+(e>>2)]=2310721022,K[0]=1668509029}function ie(){if(Q)return;const e=un(),t=J[1+(e>>2)],r=J[2+(e>>2)];34821223==t&&2310721022==r||Ce(`Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x2135467, but received 0x${r.toString(16)} ${t.toString(16)}`),1668509029!==K[0]&&Ce("Runtime error: The application has corrupted its heap memory area (address zero)!")}Object.getOwnPropertyDescriptor(r,"INITIAL_MEMORY")||Object.defineProperty(r,"INITIAL_MEMORY",{configurable:!0,get(){Ce("Module.INITIAL_MEMORY has been replaced with plain INITIAL_MEMORY (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),T(re>=te,`INITIAL_MEMORY should be larger than TOTAL_STACK, was ${re}! (TOTAL_STACK=5242880)`),T("undefined"!=typeof Int32Array&&"undefined"!=typeof Float64Array&&void 0!==Int32Array.prototype.subarray&&void 0!==Int32Array.prototype.set,"JS engine does not provide full typed array support"),T(!r.wasmMemory,"Use of `wasmMemory` detected. Use -s IMPORTED_MEMORY to define wasmMemory externally"),T(16777216==re,"Detected runtime INITIAL_MEMORY setting. Use -s IMPORTED_MEMORY to define wasmMemory dynamically"),function(){const e=new Int16Array(1),t=new Int8Array(e.buffer);if(e[0]=25459,115!==t[0]||99!==t[1])throw"Runtime error: expected the system to be little-endian! (Run with -s SUPPORT_BIG_ENDIAN=1 to bypass)"}();const ae=[],se=[],Ae=[],ce=[];let ge=!1,de=!1;function ue(){return D||!1}T(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),T(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),T(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),T(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");let le=0,Ee=null,fe=null;const pe={};function he(e){const t=e;for(;;){if(!pe[e])return e;e=t+Math.random()}}function Ie(e){le++,r.monitorRunDependencies&&r.monitorRunDependencies(le),e?(T(!pe[e]),pe[e]=1,null===Ee&&"undefined"!=typeof setInterval&&(Ee=setInterval((()=>{if(Q)return clearInterval(Ee),void(Ee=null);let e=!1;for(const t in pe)e||(e=!0,C("still waiting on run dependencies:")),C(`dependency: ${t}`);e&&C("(end of list)")}),1e4))):C("warning: run dependency added without ID")}function me(e){if(le--,r.monitorRunDependencies&&r.monitorRunDependencies(le),e?(T(pe[e]),delete pe[e]):C("warning: run dependency removed without ID"),0==le&&(null!==Ee&&(clearInterval(Ee),Ee=null),fe)){const e=fe;fe=null,e()}}function Ce(e){r.onAbort&&r.onAbort(e),C(e+=""),Q=!0,b=1;const t=`abort(${e}) at ${function(){let e=function(){let e=new Error;if(!e.stack){try{throw new Error}catch(t){e=t}if(!e.stack)return"(no stack trace available)"}return e.stack.toString()}();r.extraStackTrace&&(e+=`\n${r.extraStackTrace()}`);return Fe(e)}()}`;e=t;const n=new WebAssembly.RuntimeError(e);throw o(n),n}r.preloadedImages={},r.preloadedAudios={};function ye(e,t){return function(){const n=e;let o=t;return t||(o=r.asm),T(ge,`native function \`${n}\` called before runtime initialization`),T(!de,`native function \`${n}\` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)`),o[e]||T(o[e],`exported native function \`${n}\` not found`),o[e].apply(null,arguments)}}let _e;var we;let Be,De;_e="selfie_segmentation_solution_simd_wasm_bin.wasm",_e.startsWith("data:application/octet-stream;base64,")||(we=_e,_e=r.locateFile?r.locateFile(we,I):I+we);const Oe={460656(){let e=!0;if(e){const t=Tr;if("function"!=typeof t)return void("undefined"!=typeof console&&console.error('Expected Emscripten global function "findCanvasEventTarget" not found. WebGL context creation may fail.'));Tr=function(e){if(0==e){if(r&&r.canvas)return r.canvas;if(r&&r.canvasCssSelector)return t(r.canvasCssSelector);"undefined"!=typeof console&&console.warn("Module properties canvas and canvasCssSelector not found during WebGL context creation.")}return t(e)},e=!1}},461441:()=>"undefined"!=typeof wasmOffsetConverter};function be(e,t){if(Me.mainLoop.timingMode=e,Me.mainLoop.timingValue=t,!Me.mainLoop.func)return C("emscripten_set_main_loop_timing: Cannot set timing mode for main loop since a main loop does not exist! Call emscripten_set_main_loop first to set one up."),1;if(Me.mainLoop.running||(Me.mainLoop.running=!0),0==e)Me.mainLoop.scheduler=function(){const e=0|Math.max(0,Me.mainLoop.tickStartTime+t-Qe());setTimeout(Me.mainLoop.runner,e)},Me.mainLoop.method="timeout";else if(1==e)Me.mainLoop.scheduler=function(){Me.requestAnimationFrame(Me.mainLoop.runner)},Me.mainLoop.method="rAF";else if(2==e){if("undefined"==typeof setImmediate){const e=[],t="setimmediate";addEventListener("message",(function(r){r.data!==t&&r.data.target!==t||(r.stopPropagation(),e.shift()())}),!0),setImmediate=function(n){e.push(n),d?(void 0===r.setImmediates&&(r.setImmediates=[]),r.setImmediates.push(n),postMessage({target:t})):postMessage(t,"*")}}Me.mainLoop.scheduler=function(){setImmediate(Me.mainLoop.runner)},Me.mainLoop.method="immediate"}return 0}let Qe;function Te(e){!function(e,t){if(b=e,function(){const e=m,t=C;let n=!1;m=C=function(e){n=!0};try{const e=r._fflush;e&&e(0),["stdout","stderr"].forEach((e=>{const t=Ke.analyzePath(`/dev/${e}`);if(!t)return;const r=t.object,{rdev:o}=r,i=Xe.ttys[o];i&&i.output&&i.output.length&&(n=!0)}))}catch(e){}m=e,C=t,n&&y("stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the FAQ), or make sure to emit a newline when you printf etc.")}(),ue()){if(!t){const t=`program exited (with status: ${e}), but EXIT_RUNTIME is not set, so halting execution but not exiting the runtime or preventing further async execution (build with EXIT_RUNTIME=1, if you want a true shutdown)`;o(t),C(t)}}else ie(),de=!0;On(e)}(e)}function ve(e,t,n,o,i){T(!Me.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters."),Me.mainLoop.func=e,Me.mainLoop.arg=o;const a=Me.mainLoop.currentlyRunningMainloop;function s(){return!(a<Me.mainLoop.currentlyRunningMainloop)||(function(){if(!ue())try{Te(b)}catch(e){if(e instanceof Bn)return;throw e}}(),!1)}if(Me.mainLoop.running=!1,Me.mainLoop.runner=function(){if(!Q)if(Me.mainLoop.queue.length>0){const e=Date.now(),t=Me.mainLoop.queue.shift();if(t.func(t.arg),Me.mainLoop.remainingBlockers){const e=Me.mainLoop.remainingBlockers;let r=e%1==0?e-1:Math.floor(e);t.counted?Me.mainLoop.remainingBlockers=r:(r+=.5,Me.mainLoop.remainingBlockers=(8*e+r)/9)}if(m(`main loop blocker "${t.name}" took ${Date.now()-e} ms`),Me.mainLoop.updateStatus(),!s())return;setTimeout(Me.mainLoop.runner,0)}else s()&&(Me.mainLoop.currentFrameNumber=Me.mainLoop.currentFrameNumber+1|0,1==Me.mainLoop.timingMode&&Me.mainLoop.timingValue>1&&Me.mainLoop.currentFrameNumber%Me.mainLoop.timingValue!=0?Me.mainLoop.scheduler():(0==Me.mainLoop.timingMode&&(Me.mainLoop.tickStartTime=Qe()),Dr.newRenderingFrameStarted(),void 0!==Dr&&Dr.currentContext&&!Dr.currentContextIsProxied&&!Dr.currentContext.attributes.explicitSwapControl&&Dr.currentContext.GLctx.commit&&Dr.currentContext.GLctx.commit(),"timeout"===Me.mainLoop.method&&r.ctx&&(y("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!"),Me.mainLoop.method=""),Me.mainLoop.runIter(e),ie(),s()&&("object"==typeof SDL&&SDL.audio&&SDL.audio.queueNewAudioData&&SDL.audio.queueNewAudioData(),Me.mainLoop.scheduler())))},i||(t&&t>0?be(0,1e3/t):be(1,1),Me.mainLoop.scheduler()),n)throw"unwind"}function Pe(e,t){if(Q)C("user callback triggered after application aborted. Ignoring.");else if(t)e();else try{e()}catch(e){if(e instanceof Bn)return;if("unwind"!==e)throw e&&"object"==typeof e&&e.stack&&C(`exception thrown: ${[e,e.stack]}`),e}}function Re(e,t){return setTimeout((()=>{Pe(e)}),t)}Qe=u?function(){const e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:function(){return performance.now()};var Me={mainLoop:{running:!1,scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause(){Me.mainLoop.scheduler=null,Me.mainLoop.currentlyRunningMainloop++},resume(){Me.mainLoop.currentlyRunningMainloop++;const{timingMode:e}=Me.mainLoop,{timingValue:t}=Me.mainLoop,{func:r}=Me.mainLoop;Me.mainLoop.func=null,ve(r,0,!1,Me.mainLoop.arg,!0),be(e,t),Me.mainLoop.scheduler()},updateStatus(){if(r.setStatus){const e=r.statusMessage||"Please wait...",t=Me.mainLoop.remainingBlockers,n=Me.mainLoop.expectedBlockers;t?t<n?r.setStatus(`${e} (${n-t}/${n})`):r.setStatus(e):r.setStatus("")}},runIter(e){if(!Q){if(r.preMainLoop){if(!1===r.preMainLoop())return}Pe(e),r.postMainLoop&&r.postMainLoop()}}},isFullscreen:!1,pointerLock:!1,moduleContextCreatedCallbacks:[],workers:[],init(){if(r.preloadPlugins||(r.preloadPlugins=[]),Me.initted)return;Me.initted=!0;try{new Blob,Me.hasBlobConstructor=!0}catch(e){Me.hasBlobConstructor=!1,m("warning: no blob constructor, cannot create blobs with mimetypes")}Me.BlobBuilder="undefined"!=typeof MozBlobBuilder?MozBlobBuilder:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:Me.hasBlobConstructor?null:m("warning: no BlobBuilder"),Me.URLObject="undefined"!=typeof window?window.URL?window.URL:window.webkitURL:void 0,r.noImageDecoding||void 0!==Me.URLObject||(m("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available."),r.noImageDecoding=!0);const e={canHandle:function(e){return!r.noImageDecoding&&/\.(jpg|jpeg|png|bmp)$/i.test(e)},handle:function(e,t,n,o){let i=null;if(Me.hasBlobConstructor)try{i=new Blob([e],{type:Me.getMimetype(t)}),i.size!==e.length&&(i=new Blob([new Uint8Array(e).buffer],{type:Me.getMimetype(t)}))}catch(e){y(`Blob constructor present but fails: ${e}; falling back to blob builder`)}if(!i){const t=new Me.BlobBuilder;t.append(new Uint8Array(e).buffer),i=t.getBlob()}const a=Me.URLObject.createObjectURL(i);T("string"==typeof a,"createObjectURL must return a url as a string");const s=new Image;s.onload=function(){T(s.complete,`Image ${t} could not be decoded`);const o=document.createElement("canvas");o.width=s.width,o.height=s.height;o.getContext("2d").drawImage(s,0,0),r.preloadedImages[t]=o,Me.URLObject.revokeObjectURL(a),n&&n(e)},s.onerror=function(e){m(`Image ${a} could not be decoded`),o&&o()},s.src=a}};r.preloadPlugins.push(e);const t={};t.canHandle=function(e){return!r.noAudioDecoding&&e.substr(-4)in{".ogg":1,".wav":1,".mp3":1}},t.handle=function(e,t,n,o){let i=!1;function a(o){i||(i=!0,r.preloadedAudios[t]=o,n&&n(e))}function s(){i||(i=!0,r.preloadedAudios[t]=new Audio,o&&o())}if(!Me.hasBlobConstructor)return s();{try{var A=new Blob([e],{type:Me.getMimetype(t)})}catch(e){return s()}const r=Me.URLObject.createObjectURL(A);T("string"==typeof r,"createObjectURL must return a url as a string");const n=new Audio;n.addEventListener("canplaythrough",(()=>{a(n)}),!1),n.onerror=function(r){i||(m(`warning: browser could not fully decode audio ${t}, trying slower base64 approach`),n.src=`data:audio/x-${t.substr(-3)};base64,${function(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";let r="",n=0,o=0;for(let i=0;i<e.length;i++)for(n=n<<8|e[i],o+=8;o>=6;){const e=n>>o-6&63;o-=6,r+=t[e]}return 2==o?(r+=t[(3&n)<<4],r+="=="):4==o&&(r+=t[(15&n)<<2],r+="="),r}(e)}`,a(n))},n.src=r,Re((()=>{a(n)}),1e4)}},r.preloadPlugins.push(t);const{canvas:n}=r},createContext(e,t,n,o){if(t&&r.ctx&&e==r.canvas)return r.ctx;let i,a;if(t){const t={antialias:!1,alpha:!1,majorVersion:"undefined"!=typeof WebGL2RenderingContext?2:1};if(o)for(const e in o)t[e]=o[e];void 0!==Dr&&(a=Dr.createContext(e,t),a&&(i=Dr.getContext(a).GLctx))}else i=e.getContext("2d");return i?(n&&(t||T(void 0===tn,"cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),r.ctx=i,t&&Dr.makeContextCurrent(a),r.useWebGL=t,Me.moduleContextCreatedCallbacks.forEach((e=>{e()})),Me.init()),i):null},destroyContext(e,t,r){},fullscreenHandlersInstalled:!1,lockPointer:void 0,resizeCanvas:void 0,requestFullscreen(e,t){Me.lockPointer=e,Me.resizeCanvas=t,void 0===Me.lockPointer&&(Me.lockPointer=!0),void 0===Me.resizeCanvas&&(Me.resizeCanvas=!1);const{canvas:n}=r;Me.fullscreenHandlersInstalled||(Me.fullscreenHandlersInstalled=!0);const o=document.createElement("div");n.parentNode.insertBefore(o,n),o.appendChild(n),o.requestFullscreen=o.requestFullscreen||o.mozRequestFullScreen||o.msRequestFullscreen||(o.webkitRequestFullscreen?function(){o.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)}:null)||(o.webkitRequestFullScreen?function(){o.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}:null),o.requestFullscreen()},requestFullScreen(){Ce("Module.requestFullScreen has been replaced by Module.requestFullscreen (without a capital S)")},exitFullscreen(){if(!Me.isFullscreen)return!1;return(document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.webkitCancelFullScreen||function(){}).apply(document,[]),!0},nextRAF:0,fakeRequestAnimationFrame(e){const t=Date.now();if(0===Me.nextRAF)Me.nextRAF=t+1e3/60;else for(;t+2>=Me.nextRAF;)Me.nextRAF+=1e3/60;const r=Math.max(Me.nextRAF-t,0);setTimeout(e,r)},requestAnimationFrame(e){if("function"==typeof requestAnimationFrame)return void requestAnimationFrame(e);(0,Me.fakeRequestAnimationFrame)(e)},safeSetTimeout:e=>Re(e),safeRequestAnimationFrame:e=>Me.requestAnimationFrame((()=>{Pe(e)})),getMimetype:e=>({jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",bmp:"image/bmp",ogg:"audio/ogg",wav:"audio/wav",mp3:"audio/mpeg"}[e.substr(e.lastIndexOf(".")+1)]),getUserMedia(e){window.getUserMedia||(window.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia),window.getUserMedia(e)},getMovementX:e=>e.movementX||e.mozMovementX||e.webkitMovementX||0,getMovementY:e=>e.movementY||e.mozMovementY||e.webkitMovementY||0,getMouseWheelDelta(e){let t=0;switch(e.type){case"DOMMouseScroll":t=e.detail/3;break;case"mousewheel":t=e.wheelDelta/120;break;case"wheel":switch(t=e.deltaY,e.deltaMode){case 0:t/=100;break;case 1:t/=3;break;case 2:t*=80;break;default:throw`unrecognized mouse wheel delta mode: ${e.deltaMode}`}break;default:throw`unrecognized mouse wheel event: ${e.type}`}return t},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent(e){if(Me.pointerLock)"mousemove"!=e.type&&"mozMovementX"in e?Me.mouseMovementX=Me.mouseMovementY=0:(Me.mouseMovementX=Me.getMovementX(e),Me.mouseMovementY=Me.getMovementY(e)),"undefined"!=typeof SDL?(Me.mouseX=SDL.mouseX+Me.mouseMovementX,Me.mouseY=SDL.mouseY+Me.mouseMovementY):(Me.mouseX+=Me.mouseMovementX,Me.mouseY+=Me.mouseMovementY);else{const t=r.canvas.getBoundingClientRect(),n=r.canvas.width,o=r.canvas.height,i=void 0!==window.scrollX?window.scrollX:window.pageXOffset,a=void 0!==window.scrollY?window.scrollY:window.pageYOffset;if(T(void 0!==i&&void 0!==a,"Unable to retrieve scroll position, mouse positions likely broken."),"touchstart"===e.type||"touchend"===e.type||"touchmove"===e.type){const{touch:r}=e;if(void 0===r)return;let s=r.pageX-(i+t.left),A=r.pageY-(a+t.top);s*=n/t.width,A*=o/t.height;const c={x:s,y:A};if("touchstart"===e.type)Me.lastTouches[r.identifier]=c,Me.touches[r.identifier]=c;else if("touchend"===e.type||"touchmove"===e.type){let e=Me.touches[r.identifier];e||(e=c),Me.lastTouches[r.identifier]=e,Me.touches[r.identifier]=c}return}let s=e.pageX-(i+t.left),A=e.pageY-(a+t.top);s*=n/t.width,A*=o/t.height,Me.mouseMovementX=s-Me.mouseX,Me.mouseMovementY=A-Me.mouseY,Me.mouseX=s,Me.mouseY=A}},resizeListeners:[],updateResizeListeners(){const{canvas:e}=r;Me.resizeListeners.forEach((t=>{t(e.width,e.height)}))},setCanvasSize(e,t,n){const{canvas:o}=r;Me.updateCanvasDimensions(o,e,t),n||Me.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize(){if("undefined"!=typeof SDL){let e=J[SDL.screen>>2];e|=8388608,K[SDL.screen>>2]=e}Me.updateCanvasDimensions(r.canvas),Me.updateResizeListeners()},setWindowedCanvasSize(){if("undefined"!=typeof SDL){let e=J[SDL.screen>>2];e&=-8388609,K[SDL.screen>>2]=e}Me.updateCanvasDimensions(r.canvas),Me.updateResizeListeners()},updateCanvasDimensions(e,t,n){t&&n?(e.widthNative=t,e.heightNative=n):(t=e.widthNative,n=e.heightNative);let o=t,i=n;if(r.forcedAspectRatio&&r.forcedAspectRatio>0&&(o/i<r.forcedAspectRatio?o=Math.round(i*r.forcedAspectRatio):i=Math.round(o/r.forcedAspectRatio)),(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e.parentNode&&"undefined"!=typeof screen){const e=Math.min(screen.width/o,screen.height/i);o=Math.round(o*e),i=Math.round(i*e)}Me.resizeCanvas?(e.width!=o&&(e.width=o),e.height!=i&&(e.height=i),void 0!==e.style&&(e.style.removeProperty("width"),e.style.removeProperty("height"))):(e.width!=t&&(e.width=t),e.height!=n&&(e.height=n),void 0!==e.style&&(o!=t||i!=n?(e.style.setProperty("width",`${o}px`,"important"),e.style.setProperty("height",`${i}px`,"important")):(e.style.removeProperty("width"),e.style.removeProperty("height"))))}};function Se(e){for(;e.length>0;){const t=e.shift();if("function"==typeof t){t(r);continue}const{func:n}=t;"number"==typeof n?void 0===t.arg?ne.get(n)():ne.get(n)(t.arg):n(void 0===t.arg?null:t.arg)}}function Fe(e){return e.replace(/\b_Z[\w\d_]+/g,(e=>{const t=(r=e,y("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling"),r);var r;return e===t?e:`${t} [${e}]`}))}function Ne(e){this.excPtr=e,this.ptr=e-16,this.set_type=function(e){K[this.ptr+4>>2]=e},this.get_type=function(){return K[this.ptr+4>>2]},this.set_destructor=function(e){K[this.ptr+8>>2]=e},this.get_destructor=function(){return K[this.ptr+8>>2]},this.set_refcount=function(e){K[this.ptr>>2]=e},this.set_caught=function(e){e=e?1:0,V[this.ptr+12|0]=e},this.get_caught=function(){return 0!=V[this.ptr+12|0]},this.set_rethrown=function(e){e=e?1:0,V[this.ptr+13|0]=e},this.get_rethrown=function(){return 0!=V[this.ptr+13|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(){const e=K[this.ptr>>2];K[this.ptr>>2]=e+1},this.release_ref=function(){const e=K[this.ptr>>2];return K[this.ptr>>2]=e-1,T(e>0),1===e}}function ke(e){this.free=function(){An(this.ptr),this.ptr=0},this.set_base_ptr=function(e){K[this.ptr>>2]=e},this.get_base_ptr=function(){return K[this.ptr>>2]},this.set_adjusted_ptr=function(e){K[this.ptr+4>>2]=e},this.get_adjusted_ptr_addr=function(){return this.ptr+4},this.get_adjusted_ptr=function(){return K[this.ptr+4>>2]},this.get_exception_ptr=function(){if(yn(this.get_exception_info().get_type()))return K[this.get_base_ptr()>>2];const e=this.get_adjusted_ptr();return 0!==e?e:this.get_base_ptr()},this.get_exception_info=function(){return new Ne(this.get_base_ptr())},void 0===e?(this.ptr=cn(8),this.set_adjusted_ptr(0)):this.ptr=e}const xe=[];let Ue=0;function je(e){try{return An(new Ne(e).ptr)}catch(e){C(`exception during cxa_free_exception: ${e}`)}}function Le(e){return K[gn()>>2]=e,e}var He={splitPath:e=>/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1),normalizeArray(e,t){let r=0;for(let t=e.length-1;t>=0;t--){const n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r;r--)e.unshift("..");return e},normalize(e){const t="/"===e.charAt(0),r="/"===e.substr(-1);return(e=He.normalizeArray(e.split("/").filter((e=>!!e)),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e},dirname(e){const t=He.splitPath(e),r=t[0];let n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},basename(e){if("/"===e)return"/";const t=(e=(e=He.normalize(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===t?e:e.substr(t+1)},extname:e=>He.splitPath(e)[3],join(){const e=Array.prototype.slice.call(arguments,0);return He.normalize(e.join("/"))},join2:(e,t)=>He.normalize(`${e}/${t}`)};function Ge(){if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues){const e=new Uint8Array(1);return function(){return crypto.getRandomValues(e),e[0]}}if(u)try{const e=__require("crypto");return function(){return e.randomBytes(1)[0]}}catch(e){}return function(){Ce("no cryptographic support found for randomDevice. consider polyfilling it if you want to use something insecure like Math.random(), e.g. put this in a --pre-js: var crypto = { getRandomValues: function(array) { for (var i = 0; i < array.length; i++) array[i] = (Math.random()*256)|0 } };")}}var Ye={resolve(){let e="",t=!1;for(let r=arguments.length-1;r>=-1&&!t;r--){const n=r>=0?arguments[r]:Ke.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 e=He.normalizeArray(e.split("/").filter((e=>!!e)),!t).join("/"),(t?"/":"")+e||"."},relative(e,t){function r(e){let t=0;for(;t<e.length&&""===e[t];t++);let r=e.length-1;for(;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=Ye.resolve(e).substr(1),t=Ye.resolve(t).substr(1);const n=r(e.split("/")),o=r(t.split("/")),i=Math.min(n.length,o.length);let a=i;for(var s=0;s<i;s++)if(n[s]!==o[s]){a=s;break}let A=[];for(s=a;s<n.length;s++)A.push("..");return A=A.concat(o.slice(a)),A.join("/")}},Xe={ttys:[],init(){},shutdown(){},register(e,t){Xe.ttys[e]={input:[],output:[],ops:t},Ke.registerDevice(e,Xe.stream_ops)},stream_ops:{open(e){const t=Xe.ttys[e.node.rdev];if(!t)throw new Ke.ErrnoError(43);e.tty=t,e.seekable=!1},close(e){e.tty.ops.flush(e.tty)},flush(e){e.tty.ops.flush(e.tty)},read(e,t,r,n,o){if(!e.tty||!e.tty.ops.get_char)throw new Ke.ErrnoError(60);let i=0;for(let o=0;o<n;o++){var a;try{a=e.tty.ops.get_char(e.tty)}catch(e){throw new Ke.ErrnoError(29)}if(void 0===a&&0===i)throw new Ke.ErrnoError(6);if(null==a)break;i++,t[r+o]=a}return i&&(e.node.timestamp=Date.now()),i},write(e,t,r,n,o){if(!e.tty||!e.tty.ops.put_char)throw new Ke.ErrnoError(60);try{for(var i=0;i<n;i++)e.tty.ops.put_char(e.tty,t[r+i])}catch(e){throw new Ke.ErrnoError(29)}return n&&(e.node.timestamp=Date.now()),i}},default_tty_ops:{get_char(e){if(!e.input.length){let t=null;if(u){const e=256,r=Buffer.alloc(e);let n=0;try{n=undefined.readSync(process.stdin.fd,r,0,e,null)}catch(e){if(!e.toString().includes("EOF"))throw e;n=0}t=n>0?r.slice(0,n).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?(t=window.prompt("Input: "),null!==t&&(t+="\n")):"function"==typeof readline&&(t=readline(),null!==t&&(t+="\n"));if(!t)return null;e.input=an(t,!0)}return e.input.shift()},put_char(e,t){null===t||10===t?(m(P(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush(e){e.output&&e.output.length>0&&(m(P(e.output,0)),e.output=[])}},default_tty1_ops:{put_char(e,t){null===t||10===t?(C(P(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush(e){e.output&&e.output.length>0&&(C(P(e.output,0)),e.output=[])}}};function Ve(e){e=function(e,t){return T(t,"alignment argument is required"),Math.ceil(e/t)*t}(e,65536);const t=_n(65536,e);return t?(function(e,t){W.fill(0,e,e+t)}(t,e),t):0}var We={ops_table:null,mount:e=>We.createNode(null,"/",16895,0),createNode(e,t,r,n){if(Ke.isBlkdev(r)||Ke.isFIFO(r))throw new Ke.ErrnoError(63);We.ops_table||(We.ops_table={dir:{node:{getattr:We.node_ops.getattr,setattr:We.node_ops.setattr,lookup:We.node_ops.lookup,mknod:We.node_ops.mknod,rename:We.node_ops.rename,unlink:We.node_ops.unlink,rmdir:We.node_ops.rmdir,readdir:We.node_ops.readdir,symlink:We.node_ops.symlink},stream:{llseek:We.stream_ops.llseek}},file:{node:{getattr:We.node_ops.getattr,setattr:We.node_ops.setattr},stream:{llseek:We.stream_ops.llseek,read:We.stream_ops.read,write:We.stream_ops.write,allocate:We.stream_ops.allocate,mmap:We.stream_ops.mmap,msync:We.stream_ops.msync}},link:{node:{getattr:We.node_ops.getattr,setattr:We.node_ops.setattr,readlink:We.node_ops.readlink},stream:{}},chrdev:{node:{getattr:We.node_ops.getattr,setattr:We.node_ops.setattr},stream:Ke.chrdev_stream_ops}});const o=Ke.createNode(e,t,r,n);return Ke.isDir(o.mode)?(o.node_ops=We.ops_table.dir.node,o.stream_ops=We.ops_table.dir.stream,o.contents={}):Ke.isFile(o.mode)?(o.node_ops=We.ops_table.file.node,o.stream_ops=We.ops_table.file.stream,o.usedBytes=0,o.contents=null):Ke.isLink(o.mode)?(o.node_ops=We.ops_table.link.node,o.stream_ops=We.ops_table.link.stream):Ke.isChrdev(o.mode)&&(o.node_ops=We.ops_table.chrdev.node,o.stream_ops=We.ops_table.chrdev.stream),o.timestamp=Date.now(),e&&(e.contents[t]=o,e.timestamp=o.timestamp),o},getFileDataAsTypedArray:e=>e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0),expandFileStorage(e,t){const r=e.contents?e.contents.length:0;if(r>=t)return;t=Math.max(t,r*(r<1048576?2:1.125)>>>0),0!=r&&(t=Math.max(t,256));const n=e.contents;e.contents=new Uint8Array(t),e.usedBytes>0&&e.contents.set(n.subarray(0,e.usedBytes),0)},resizeFileStorage(e,t){if(e.usedBytes!=t)if(0==t)e.contents=null,e.usedBytes=0;else{const 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(e){const t={};return t.dev=Ke.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,Ke.isDir(e.mode)?t.size=4096:Ke.isFile(e.mode)?t.size=e.usedBytes:Ke.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(e,t){void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp),void 0!==t.size&&We.resizeFileStorage(e,t.size)},lookup(e,t){throw Ke.genericErrors[44]},mknod:(e,t,r,n)=>We.createNode(e,t,r,n),rename(e,t,r){if(Ke.isDir(e.mode)){let e;try{e=Ke.lookupNode(t,r)}catch(e){}if(e)for(const t in e.contents)throw new Ke.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(e,t){delete e.contents[t],e.timestamp=Date.now()},rmdir(e,t){const r=Ke.lookupNode(e,t);for(const e in r.contents)throw new Ke.ErrnoError(55);delete e.contents[t],e.timestamp=Date.now()},readdir(e){const t=[".",".."];for(const r in e.contents)e.contents.hasOwnProperty(r)&&t.push(r);return t},symlink(e,t,r){const n=We.createNode(e,t,41471,0);return n.link=r,n},readlink(e){if(!Ke.isLink(e.mode))throw new Ke.ErrnoError(28);return e.link}},stream_ops:{read(e,t,r,n,o){const{contents:i}=e.node;if(o>=e.node.usedBytes)return 0;const a=Math.min(e.node.usedBytes-o,n);if(T(a>=0),a>8&&i.subarray)t.set(i.subarray(o,o+a),r);else for(let e=0;e<a;e++)t[r+e]=i[o+e];return a},write(e,t,r,n,o,i){if(T(!(t instanceof ArrayBuffer)),t.buffer===V.buffer&&(i=!1),!n)return 0;const{node:a}=e;if(a.timestamp=Date.now(),t.subarray&&(!a.contents||a.contents.subarray)){if(i)return T(0===o,"canOwn must imply no weird position inside the file"),a.contents=t.subarray(r,r+n),a.usedBytes=n,n;if(0===a.usedBytes&&0===o)return a.contents=t.slice(r,r+n),a.usedBytes=n,n;if(o+n<=a.usedBytes)return a.contents.set(t.subarray(r,r+n),o),n}if(We.expandFileStorage(a,o+n),a.contents.subarray&&t.subarray)a.contents.set(t.subarray(r,r+n),o);else for(let e=0;e<n;e++)a.contents[o+e]=t[r+e];return a.usedBytes=Math.max(a.usedBytes,o+n),n},llseek(e,t,r){let n=t;if(1===r?n+=e.position:2===r&&Ke.isFile(e.node.mode)&&(n+=e.node.usedBytes),n<0)throw new Ke.ErrnoError(28);return n},allocate(e,t,r){We.expandFileStorage(e.node,t+r),e.node.usedBytes=Math.max(e.node.usedBytes,t+r)},mmap(e,t,r,n,o,i){if(0!==t)throw new Ke.ErrnoError(28);if(!Ke.isFile(e.node.mode))throw new Ke.ErrnoError(43);let a,s,{contents:A}=e.node;if(2&i||A.buffer!==X){if((n>0||n+r<A.length)&&(A=A.subarray?A.subarray(n,n+r):Array.prototype.slice.call(A,n,n+r)),s=!0,a=Ve(r),!a)throw new Ke.ErrnoError(48);V.set(A,a)}else s=!1,a=A.byteOffset;return{ptr:a,allocated:s}},msync(e,t,r,n,o){if(!Ke.isFile(e.node.mode))throw new Ke.ErrnoError(43);if(2&o)return 0;We.stream_ops.write(e,t,0,n,r,!1);return 0}}};const ze={0:"Success",1:"Arg list too long",2:"Permission denied",3:"Address already in use",4:"Address not available",5:"Address family not supported by protocol family",6:"No more processes",7:"Socket already connected",8:"Bad file number",9:"Trying to read unreadable message",10:"Mount device busy",11:"Operation canceled",12:"No children",13:"Connection aborted",14:"Connection refused",15:"Connection reset by peer",16:"File locking deadlock error",17:"Destination address required",18:"Math arg out of domain of func",19:"Quota exceeded",20:"File exists",21:"Bad address",22:"File too large",23:"Host is unreachable",24:"Identifier removed",25:"Illegal byte sequence",26:"Connection already in progress",27:"Interrupted system call",28:"Invalid argument",29:"I/O error",30:"Socket is already connected",31:"Is a directory",32:"Too many symbolic links",33:"Too many open files",34:"Too many links",35:"Message too long",36:"Multihop attempted",37:"File or path name too long",38:"Network interface is not configured",39:"Connection reset by network",40:"Network is unreachable",41:"Too many open files in system",42:"No buffer space available",43:"No such device",44:"No such file or directory",45:"Exec format error",46:"No record locks available",47:"The link has been severed",48:"Not enough core",49:"No message of desired type",50:"Protocol not available",51:"No space left on device",52:"Function not implemented",53:"Socket is not connected",54:"Not a directory",55:"Directory not empty",56:"State not recoverable",57:"Socket operation on non-socket",59:"Not a typewriter",60:"No such device or address",61:"Value too large for defined data type",62:"Previous owner died",63:"Not super-user",64:"Broken pipe",65:"Protocol error",66:"Unknown protocol",67:"Protocol wrong type for socket",68:"Math result not representable",69:"Read only file system",70:"Illegal seek",71:"No such process",72:"Stale file handle",73:"Connection timed out",74:"Text file busy",75:"Cross-device link",100:"Device not a stream",101:"Bad font file fmt",102:"Invalid slot",103:"Invalid request code",104:"No anode",105:"Block device required",106:"Channel number out of range",107:"Level 3 halted",108:"Level 3 reset",109:"Link number out of range",110:"Protocol driver not attached",111:"No CSI structure available",112:"Level 2 halted",113:"Invalid exchange",114:"Invalid request descriptor",115:"Exchange full",116:"No data (for no delay io)",117:"Timer expired",118:"Out of streams resources",119:"Machine is not on the network",120:"Package not installed",121:"The object is remote",122:"Advertise error",123:"Srmount error",124:"Communication error on send",125:"Cross mount point (not really error)",126:"Given log. name not unique",127:"f.d. invalid for this operation",128:"Remote address changed",129:"Can access a needed shared lib",130:"Accessing a corrupted shared lib",131:".lib section in a.out corrupted",132:"Attempting to link in too many libs",133:"Attempting to exec a shared library",135:"Streams pipe error",136:"Too many users",137:"Socket type not supported",138:"Not supported",139:"Protocol family not supported",140:"Can't send after socket shutdown",141:"Too many references",142:"Host is down",148:"No medium (in tape drive)",156:"Level 2 not synchronized"},$e={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135};var Ke={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath(e,t){if(t=t||{},!(e=Ye.resolve(Ke.cwd(),e)))return{path:"",node:null};const r={follow_mount:!0,recurse_count:0};for(const e in r)void 0===t[e]&&(t[e]=r[e]);if(t.recurse_count>8)throw new Ke.ErrnoError(32);const n=He.normalizeArray(e.split("/").filter((e=>!!e)),!1);let o=Ke.root,i="/";for(let e=0;e<n.length;e++){const r=e===n.length-1;if(r&&t.parent)break;if(o=Ke.lookupNode(o,n[e]),i=He.join2(i,n[e]),Ke.isMountpoint(o)&&(!r||r&&t.follow_mount)&&(o=o.mounted.root),!r||t.follow){let e=0;for(;Ke.isLink(o.mode);){const r=Ke.readlink(i);i=Ye.resolve(He.dirname(i),r);if(o=Ke.lookupPath(i,{recurse_count:t.recurse_count}).node,e++>40)throw new Ke.ErrnoError(32)}}}return{path:i,node:o}},getPath(e){let t;for(;;){if(Ke.isRoot(e)){const r=e.mount.mountpoint;return t?"/"!==r[r.length-1]?`${r}/${t}`:r+t:r}t=t?`${e.name}/${t}`:e.name,e=e.parent}},hashName(e,t){let r=0;for(let e=0;e<t.length;e++)r=(r<<5)-r+t.charCodeAt(e)|0;return(e+r>>>0)%Ke.nameTable.length},hashAddNode(e){const t=Ke.hashName(e.parent.id,e.name);e.name_next=Ke.nameTable[t],Ke.nameTable[t]=e},hashRemoveNode(e){const t=Ke.hashName(e.parent.id,e.name);if(Ke.nameTable[t]===e)Ke.nameTable[t]=e.name_next;else{let r=Ke.nameTable[t];for(;r;){if(r.name_next===e){r.name_next=e.name_next;break}r=r.name_next}}},lookupNode(e,t){const r=Ke.mayLookup(e);if(r)throw new Ke.ErrnoError(r,e);const n=Ke.hashName(e.id,t);for(let r=Ke.nameTable[n];r;r=r.name_next){const n=r.name;if(r.parent.id===e.id&&n===t)return r}return Ke.lookup(e,t)},createNode(e,t,r,n){T("object"==typeof e);const o=new Ke.FSNode(e,t,r,n);return Ke.hashAddNode(o),o},destroyNode(e){Ke.hashRemoveNode(e)},isRoot:e=>e===e.parent,isMountpoint:e=>!!e.mounted,isFile:e=>32768==(61440&e),isDir:e=>16384==(61440&e),isLink:e=>40960==(61440&e),isChrdev:e=>8192==(61440&e),isBlkdev:e=>24576==(61440&e),isFIFO:e=>4096==(61440&e),isSocket:e=>!(49152&~e),flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags(e){const t=Ke.flagModes[e];if(void 0===t)throw new Error(`Unknown file open mode: ${e}`);return t},flagsToPermissionString(e){let t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t},nodePermissions:(e,t)=>Ke.ignorePermissions||(!t.includes("r")||292&e.mode)&&(!t.includes("w")||146&e.mode)&&(!t.includes("x")||73&e.mode)?0:2,mayLookup(e){const t=Ke.nodePermissions(e,"x");return t||(e.node_ops.lookup?0:2)},mayCreate(e,t){try{Ke.lookupNode(e,t);return 20}catch(e){}return Ke.nodePermissions(e,"wx")},mayDelete(e,t,r){let n;try{n=Ke.lookupNode(e,t)}catch(e){return e.errno}const o=Ke.nodePermissions(e,"wx");if(o)return o;if(r){if(!Ke.isDir(n.mode))return 54;if(Ke.isRoot(n)||Ke.getPath(n)===Ke.cwd())return 10}else if(Ke.isDir(n.mode))return 31;return 0},mayOpen:(e,t)=>e?Ke.isLink(e.mode)?32:Ke.isDir(e.mode)&&("r"!==Ke.flagsToPermissionString(t)||512&t)?31:Ke.nodePermissions(e,Ke.flagsToPermissionString(t)):44,MAX_OPEN_FDS:4096,nextfd(e,t){e=e||0,t=t||Ke.MAX_OPEN_FDS;for(let r=e;r<=t;r++)if(!Ke.streams[r])return r;throw new Ke.ErrnoError(33)},getStream:e=>Ke.streams[e],createStream(e,t,r){Ke.FSStream||(Ke.FSStream=function(){},Ke.FSStream.prototype={object:{get(){return this.node},set(e){this.node=e}},isRead:{get(){return 1!=(2097155&this.flags)}},isWrite:{get(){return!!(2097155&this.flags)}},isAppend:{get(){return 1024&this.flags}}});const n=new Ke.FSStream;for(const t in e)n[t]=e[t];e=n;const o=Ke.nextfd(t,r);return e.fd=o,Ke.streams[o]=e,e},closeStream(e){Ke.streams[e]=null},chrdev_stream_ops:{open(e){const t=Ke.getDevice(e.node.rdev);e.stream_ops=t.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek(){throw new Ke.ErrnoError(70)}},major:e=>e>>8,minor:e=>255&e,makedev:(e,t)=>e<<8|t,registerDevice(e,t){Ke.devices[e]={stream_ops:t}},getDevice:e=>Ke.devices[e],getMounts(e){const t=[],r=[e];for(;r.length;){const e=r.pop();t.push(e),r.push.apply(r,e.mounts)}return t},syncfs(e,t){"function"==typeof e&&(t=e,e=!1),Ke.syncFSRequests++,Ke.syncFSRequests>1&&C(`warning: ${Ke.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`);const r=Ke.getMounts(Ke.root.mount);let n=0;function o(e){return T(Ke.syncFSRequests>0),Ke.syncFSRequests--,t(e)}function i(e){if(e)return i.errored?void 0:(i.errored=!0,o(e));++n>=r.length&&o(null)}r.forEach((t=>{if(!t.type.syncfs)return i(null);t.type.syncfs(t,e,i)}))},mount(e,t,r){if("string"==typeof e)throw e;const n="/"===r,o=!r;let i;if(n&&Ke.root)throw new Ke.ErrnoError(10);if(!n&&!o){const e=Ke.lookupPath(r,{follow_mount:!1});if(r=e.path,i=e.node,Ke.isMountpoint(i))throw new Ke.ErrnoError(10);if(!Ke.isDir(i.mode))throw new Ke.ErrnoError(54)}const a={type:e,opts:t,mountpoint:r,mounts:[]},s=e.mount(a);return s.mount=a,a.root=s,n?Ke.root=s:i&&(i.mounted=a,i.mount&&i.mount.mounts.push(a)),s},unmount(e){const t=Ke.lookupPath(e,{follow_mount:!1});if(!Ke.isMountpoint(t.node))throw new Ke.ErrnoError(28);const{node:r}=t,n=r.mounted,o=Ke.getMounts(n);Object.keys(Ke.nameTable).forEach((e=>{let t=Ke.nameTable[e];for(;t;){const e=t.name_next;o.includes(t.mount)&&Ke.destroyNode(t),t=e}})),r.mounted=null;const i=r.mount.mounts.indexOf(n);T(-1!==i),r.mount.mounts.splice(i,1)},lookup:(e,t)=>e.node_ops.lookup(e,t),mknod(e,t,r){const n=Ke.lookupPath(e,{parent:!0}).node,o=He.basename(e);if(!o||"."===o||".."===o)throw new Ke.ErrnoError(28);const i=Ke.mayCreate(n,o);if(i)throw new Ke.ErrnoError(i);if(!n.node_ops.mknod)throw new Ke.ErrnoError(63);return n.node_ops.mknod(n,o,t,r)},create:(e,t)=>(t=void 0!==t?t:438,t&=4095,t|=32768,Ke.mknod(e,t,0)),mkdir:(e,t)=>(t=void 0!==t?t:511,t&=1023,t|=16384,Ke.mknod(e,t,0)),mkdirTree(e,t){const r=e.split("/");let n="";for(let e=0;e<r.length;++e)if(r[e]){n+=`/${r[e]}`;try{Ke.mkdir(n,t)}catch(e){if(20!=e.errno)throw e}}},mkdev:(e,t,r)=>(void 0===r&&(r=t,t=438),t|=8192,Ke.mknod(e,t,r)),symlink(e,t){if(!Ye.resolve(e))throw new Ke.ErrnoError(44);const r=Ke.lookupPath(t,{parent:!0}).node;if(!r)throw new Ke.ErrnoError(44);const n=He.basename(t),o=Ke.mayCreate(r,n);if(o)throw new Ke.ErrnoError(o);if(!r.node_ops.symlink)throw new Ke.ErrnoError(63);return r.node_ops.symlink(r,n,e)},rename(e,t){const r=He.dirname(e),n=He.dirname(t),o=He.basename(e),i=He.basename(t);let a,s,A;if(a=Ke.lookupPath(e,{parent:!0}),s=a.node,a=Ke.lookupPath(t,{parent:!0}),A=a.node,!s||!A)throw new Ke.ErrnoError(44);if(s.mount!==A.mount)throw new Ke.ErrnoError(75);const c=Ke.lookupNode(s,o);let g,d=Ye.relative(e,n);if("."!==d.charAt(0))throw new Ke.ErrnoError(28);if(d=Ye.relative(t,r),"."!==d.charAt(0))throw new Ke.ErrnoError(55);try{g=Ke.lookupNode(A,i)}catch(e){}if(c===g)return;const u=Ke.isDir(c.mode);let l=Ke.mayDelete(s,o,u);if(l)throw new Ke.ErrnoError(l);if(l=g?Ke.mayDelete(A,i,u):Ke.mayCreate(A,i),l)throw new Ke.ErrnoError(l);if(!s.node_ops.rename)throw new Ke.ErrnoError(63);if(Ke.isMountpoint(c)||g&&Ke.isMountpoint(g))throw new Ke.ErrnoError(10);if(A!==s&&(l=Ke.nodePermissions(s,"w"),l))throw new Ke.ErrnoError(l);try{Ke.trackingDelegate.willMovePath&&Ke.trackingDelegate.willMovePath(e,t)}catch(r){C(`FS.trackingDelegate['willMovePath']('${e}', '${t}') threw an exception: ${r.message}`)}Ke.hashRemoveNode(c);try{s.node_ops.rename(c,A,i)}catch(e){throw e}finally{Ke.hashAddNode(c)}try{Ke.trackingDelegate.onMovePath&&Ke.trackingDelegate.onMovePath(e,t)}catch(r){C(`FS.trackingDelegate['onMovePath']('${e}', '${t}') threw an exception: ${r.message}`)}},rmdir(e){const t=Ke.lookupPath(e,{parent:!0}).node,r=He.basename(e),n=Ke.lookupNode(t,r),o=Ke.mayDelete(t,r,!0);if(o)throw new Ke.ErrnoError(o);if(!t.node_ops.rmdir)throw new Ke.ErrnoError(63);if(Ke.isMountpoint(n))throw new Ke.ErrnoError(10);try{Ke.trackingDelegate.willDeletePath&&Ke.trackingDelegate.willDeletePath(e)}catch(t){C(`FS.trackingDelegate['willDeletePath']('${e}') threw an exception: ${t.message}`)}t.node_ops.rmdir(t,r),Ke.destroyNode(n);try{Ke.trackingDelegate.onDeletePath&&Ke.trackingDelegate.onDeletePath(e)}catch(t){C(`FS.trackingDelegate['onDeletePath']('${e}') threw an exception: ${t.message}`)}},readdir(e){const t=Ke.lookupPath(e,{follow:!0}),{node:r}=t;if(!r.node_ops.readdir)throw new Ke.ErrnoError(54);return r.node_ops.readdir(r)},unlink(e){const t=Ke.lookupPath(e,{parent:!0}).node,r=He.basename(e),n=Ke.lookupNode(t,r),o=Ke.mayDelete(t,r,!1);if(o)throw new Ke.ErrnoError(o);if(!t.node_ops.unlink)throw new Ke.ErrnoError(63);if(Ke.isMountpoint(n))throw new Ke.ErrnoError(10);try{Ke.trackingDelegate.willDeletePath&&Ke.trackingDelegate.willDeletePath(e)}catch(t){C(`FS.trackingDelegate['willDeletePath']('${e}') threw an exception: ${t.message}`)}t.node_ops.unlink(t,r),Ke.destroyNode(n);try{Ke.trackingDelegate.onDeletePath&&Ke.trackingDelegate.onDeletePath(e)}catch(t){C(`FS.trackingDelegate['onDeletePath']('${e}') threw an exception: ${t.message}`)}},readlink(e){const t=Ke.lookupPath(e).node;if(!t)throw new Ke.ErrnoError(44);if(!t.node_ops.readlink)throw new Ke.ErrnoError(28);return Ye.resolve(Ke.getPath(t.parent),t.node_ops.readlink(t))},stat(e,t){const r=Ke.lookupPath(e,{follow:!t}),{node:n}=r;if(!n)throw new Ke.ErrnoError(44);if(!n.node_ops.getattr)throw new Ke.ErrnoError(63);return n.node_ops.getattr(n)},lstat:e=>Ke.stat(e,!0),chmod(e,t,r){let n;if("string"==typeof e){n=Ke.lookupPath(e,{follow:!r}).node}else n=e;if(!n.node_ops.setattr)throw new Ke.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&t|-4096&n.mode,timestamp:Date.now()})},lchmod(e,t){Ke.chmod(e,t,!0)},fchmod(e,t){const r=Ke.getStream(e);if(!r)throw new Ke.ErrnoError(8);Ke.chmod(r.node,t)},chown(e,t,r,n){let o;if("string"==typeof e){o=Ke.lookupPath(e,{follow:!n}).node}else o=e;if(!o.node_ops.setattr)throw new Ke.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown(e,t,r){Ke.chown(e,t,r,!0)},fchown(e,t,r){const n=Ke.getStream(e);if(!n)throw new Ke.ErrnoError(8);Ke.chown(n.node,t,r)},truncate(e,t){if(t<0)throw new Ke.ErrnoError(28);let r;if("string"==typeof e){r=Ke.lookupPath(e,{follow:!0}).node}else r=e;if(!r.node_ops.setattr)throw new Ke.ErrnoError(63);if(Ke.isDir(r.mode))throw new Ke.ErrnoError(31);if(!Ke.isFile(r.mode))throw new Ke.ErrnoError(28);const n=Ke.nodePermissions(r,"w");if(n)throw new Ke.ErrnoError(n);r.node_ops.setattr(r,{size:t,timestamp:Date.now()})},ftruncate(e,t){const r=Ke.getStream(e);if(!r)throw new Ke.ErrnoError(8);if(!(2097155&r.flags))throw new Ke.ErrnoError(28);Ke.truncate(r.node,t)},utime(e,t,r){const n=Ke.lookupPath(e,{follow:!0}),{node:o}=n;o.node_ops.setattr(o,{timestamp:Math.max(t,r)})},open(e,t,n,o,i){if(""===e)throw new Ke.ErrnoError(44);let a;if(n=void 0===n?438:n,n=64&(t="string"==typeof t?Ke.modeStringToFlags(t):t)?4095&n|32768:0,"object"==typeof e)a=e;else{e=He.normalize(e);try{a=Ke.lookupPath(e,{follow:!(131072&t)}).node}catch(e){}}let s=!1;if(64&t)if(a){if(128&t)throw new Ke.ErrnoError(20)}else a=Ke.mknod(e,n,0),s=!0;if(!a)throw new Ke.ErrnoError(44);if(Ke.isChrdev(a.mode)&&(t&=-513),65536&t&&!Ke.isDir(a.mode))throw new Ke.ErrnoError(54);if(!s){const e=Ke.mayOpen(a,t);if(e)throw new Ke.ErrnoError(e)}512&t&&Ke.truncate(a,0),t&=-131713;const A=Ke.createStream({node:a,path:Ke.getPath(a),flags:t,seekable:!0,position:0,stream_ops:a.stream_ops,ungotten:[],error:!1},o,i);A.stream_ops.open&&A.stream_ops.open(A),!r.logReadFiles||1&t||(Ke.readFiles||(Ke.readFiles={}),e in Ke.readFiles||(Ke.readFiles[e]=1,C(`FS.trackingDelegate error on read file: ${e}`)));try{if(Ke.trackingDelegate.onOpenFile){let r=0;1!=(2097155&t)&&(r|=Ke.tracking.openFlags.READ),2097155&t&&(r|=Ke.tracking.openFlags.WRITE),Ke.trackingDelegate.onOpenFile(e,r)}}catch(t){C(`FS.trackingDelegate['onOpenFile']('${e}', flags) threw an exception: ${t.message}`)}return A},close(e){if(Ke.isClosed(e))throw new Ke.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{Ke.closeStream(e.fd)}e.fd=null},isClosed:e=>null===e.fd,llseek(e,t,r){if(Ke.isClosed(e))throw new Ke.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new Ke.ErrnoError(70);if(0!=r&&1!=r&&2!=r)throw new Ke.ErrnoError(28);return e.position=e.stream_ops.llseek(e,t,r),e.ungotten=[],e.position},read(e,t,r,n,o){if(n<0||o<0)throw new Ke.ErrnoError(28);if(Ke.isClosed(e))throw new Ke.ErrnoError(8);if(1==(2097155&e.flags))throw new Ke.ErrnoError(8);if(Ke.isDir(e.node.mode))throw new Ke.ErrnoError(31);if(!e.stream_ops.read)throw new Ke.ErrnoError(28);const i=void 0!==o;if(i){if(!e.seekable)throw new Ke.ErrnoError(70)}else o=e.position;const a=e.stream_ops.read(e,t,r,n,o);return i||(e.position+=a),a},write(e,t,r,n,o,i){if(n<0||o<0)throw new Ke.ErrnoError(28);if(Ke.isClosed(e))throw new Ke.ErrnoError(8);if(!(2097155&e.flags))throw new Ke.ErrnoError(8);if(Ke.isDir(e.node.mode))throw new Ke.ErrnoError(31);if(!e.stream_ops.write)throw new Ke.ErrnoError(28);e.seekable&&1024&e.flags&&Ke.llseek(e,0,2);const a=void 0!==o;if(a){if(!e.seekable)throw new Ke.ErrnoError(70)}else o=e.position;const s=e.stream_ops.write(e,t,r,n,o,i);a||(e.position+=s);try{e.path&&Ke.trackingDelegate.onWriteToFile&&Ke.trackingDelegate.onWriteToFile(e.path)}catch(t){C(`FS.trackingDelegate['onWriteToFile']('${e.path}') threw an exception: ${t.message}`)}return s},allocate(e,t,r){if(Ke.isClosed(e))throw new Ke.ErrnoError(8);if(t<0||r<=0)throw new Ke.ErrnoError(28);if(!(2097155&e.flags))throw new Ke.ErrnoError(8);if(!Ke.isFile(e.node.mode)&&!Ke.isDir(e.node.mode))throw new Ke.ErrnoError(43);if(!e.stream_ops.allocate)throw new Ke.ErrnoError(138);e.stream_ops.allocate(e,t,r)},mmap(e,t,r,n,o,i){if(2&o&&!(2&i)&&2!=(2097155&e.flags))throw new Ke.ErrnoError(2);if(1==(2097155&e.flags))throw new Ke.ErrnoError(2);if(!e.stream_ops.mmap)throw new Ke.ErrnoError(43);return e.stream_ops.mmap(e,t,r,n,o,i)},msync:(e,t,r,n,o)=>e&&e.stream_ops.msync?e.stream_ops.msync(e,t,r,n,o):0,munmap:e=>0,ioctl(e,t,r){if(!e.stream_ops.ioctl)throw new Ke.ErrnoError(59);return e.stream_ops.ioctl(e,t,r)},readFile(e,t){if((t=t||{}).flags=t.flags||0,t.encoding=t.encoding||"binary","utf8"!==t.encoding&&"binary"!==t.encoding)throw new Error(`Invalid encoding type "${t.encoding}"`);let r;const n=Ke.open(e,t.flags),o=Ke.stat(e).size,i=new Uint8Array(o);return Ke.read(n,i,0,o,0),"utf8"===t.encoding?r=P(i,0):"binary"===t.encoding&&(r=i),Ke.close(n),r},writeFile(e,t,r){(r=r||{}).flags=r.flags||577;const n=Ke.open(e,r.flags,r.mode);if("string"==typeof t){const e=new Uint8Array(F(t)+1),o=M(t,e,0,e.length);Ke.write(n,e,0,o,void 0,r.canOwn)}else{if(!ArrayBuffer.isView(t))throw new Error("Unsupported data type");Ke.write(n,t,0,t.byteLength,void 0,r.canOwn)}Ke.close(n)},cwd:()=>Ke.currentPath,chdir(e){const t=Ke.lookupPath(e,{follow:!0});if(null===t.node)throw new Ke.ErrnoError(44);if(!Ke.isDir(t.node.mode))throw new Ke.ErrnoError(54);const r=Ke.nodePermissions(t.node,"x");if(r)throw new Ke.ErrnoError(r);Ke.currentPath=t.path},createDefaultDirectories(){Ke.mkdir("/tmp"),Ke.mkdir("/home"),Ke.mkdir("/home/web_user")},createDefaultDevices(){Ke.mkdir("/dev"),Ke.registerDevice(Ke.makedev(1,3),{read:()=>0,write:(e,t,r,n,o)=>n}),Ke.mkdev("/dev/null",Ke.makedev(1,3)),Xe.register(Ke.makedev(5,0),Xe.default_tty_ops),Xe.register(Ke.makedev(6,0),Xe.default_tty1_ops),Ke.mkdev("/dev/tty",Ke.makedev(5,0)),Ke.mkdev("/dev/tty1",Ke.makedev(6,0));const e=Ge();Ke.createDevice("/dev","random",e),Ke.createDevice("/dev","urandom",e),Ke.mkdir("/dev/shm"),Ke.mkdir("/dev/shm/tmp")},createSpecialDirectories(){Ke.mkdir("/proc");const e=Ke.mkdir("/proc/self");Ke.mkdir("/proc/self/fd"),Ke.mount({mount(){const t=Ke.createNode(e,"fd",16895,73);return t.node_ops={lookup(e,t){const r=+t,n=Ke.getStream(r);if(!n)throw new Ke.ErrnoError(8);const o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>n.path}};return o.parent=o,o}},t}},{},"/proc/self/fd")},createStandardStreams(){r.stdin?Ke.createDevice("/dev","stdin",r.stdin):Ke.symlink("/dev/tty","/dev/stdin"),r.stdout?Ke.createDevice("/dev","stdout",null,r.stdout):Ke.symlink("/dev/tty","/dev/stdout"),r.stderr?Ke.createDevice("/dev","stderr",null,r.stderr):Ke.symlink("/dev/tty1","/dev/stderr");const e=Ke.open("/dev/stdin",0),t=Ke.open("/dev/stdout",1),n=Ke.open("/dev/stderr",1);T(0===e.fd,`invalid handle for stdin (${e.fd})`),T(1===t.fd,`invalid handle for stdout (${t.fd})`),T(2===n.fd,`invalid handle for stderr (${n.fd})`)},ensureErrnoError(){Ke.ErrnoError||(Ke.ErrnoError=function(e,t){this.node=t,this.setErrno=function(e){this.errno=e;for(const t in $e)if($e[t]===e){this.code=t;break}},this.setErrno(e),this.message=ze[e],this.stack&&(Object.defineProperty(this,"stack",{value:(new Error).stack,writable:!0}),this.stack=Fe(this.stack))},Ke.ErrnoError.prototype=new Error,Ke.ErrnoError.prototype.constructor=Ke.ErrnoError,[44].forEach((e=>{Ke.genericErrors[e]=new Ke.ErrnoError(e),Ke.genericErrors[e].stack="<generic error, no stack>"})))},staticInit(){Ke.ensureErrnoError(),Ke.nameTable=new Array(4096),Ke.mount(We,{},"/"),Ke.createDefaultDirectories(),Ke.createDefaultDevices(),Ke.createSpecialDirectories(),Ke.filesystems={MEMFS:We}},init(e,t,n){T(!Ke.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),Ke.init.initialized=!0,Ke.ensureErrnoError(),r.stdin=e||r.stdin,r.stdout=t||r.stdout,r.stderr=n||r.stderr,Ke.createStandardStreams()},quit(){Ke.init.initialized=!1;const e=r._fflush;e&&e(0);for(let e=0;e<Ke.streams.length;e++){const t=Ke.streams[e];t&&Ke.close(t)}},getMode(e,t){let r=0;return e&&(r|=365),t&&(r|=146),r},findObject(e,t){const r=Ke.analyzePath(e,t);return r.exists?r.object:null},analyzePath(e,t){try{e=(n=Ke.lookupPath(e,{follow:!t})).path}catch(e){}const r={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var n=Ke.lookupPath(e,{parent:!0});r.parentExists=!0,r.parentPath=n.path,r.parentObject=n.node,r.name=He.basename(e),n=Ke.lookupPath(e,{follow:!t}),r.exists=!0,r.path=n.path,r.object=n.node,r.name=n.node.name,r.isRoot="/"===n.path}catch(e){r.error=e.errno}return r},createPath(e,t,r,n){e="string"==typeof e?e:Ke.getPath(e);const o=t.split("/").reverse();for(;o.length;){const t=o.pop();if(t){var i=He.join2(e,t);try{Ke.mkdir(i)}catch(e){}e=i}}return i},createFile(e,t,r,n,o){const i=He.join2("string"==typeof e?e:Ke.getPath(e),t),a=Ke.getMode(n,o);return Ke.create(i,a)},createDataFile(e,t,r,n,o,i){const a=t?He.join2("string"==typeof e?e:Ke.getPath(e),t):e,s=Ke.getMode(n,o),A=Ke.create(a,s);if(r){if("string"==typeof r){const e=new Array(r.length);for(let t=0,n=r.length;t<n;++t)e[t]=r.charCodeAt(t);r=e}Ke.chmod(A,146|s);const e=Ke.open(A,577);Ke.write(e,r,0,r.length,0,i),Ke.close(e),Ke.chmod(A,s)}return A},createDevice(e,t,r,n){const o=He.join2("string"==typeof e?e:Ke.getPath(e),t),i=Ke.getMode(!!r,!!n);Ke.createDevice.major||(Ke.createDevice.major=64);const a=Ke.makedev(Ke.createDevice.major++,0);return Ke.registerDevice(a,{open(e){e.seekable=!1},close(e){n&&n.buffer&&n.buffer.length&&n(10)},read(e,t,n,o,i){let a=0;for(let e=0;e<o;e++){var s;try{s=r()}catch(e){throw new Ke.ErrnoError(29)}if(void 0===s&&0===a)throw new Ke.ErrnoError(6);if(null==s)break;a++,t[n+e]=s}return a&&(e.node.timestamp=Date.now()),a},write(e,t,r,o,i){for(var a=0;a<o;a++)try{n(t[r+a])}catch(e){throw new Ke.ErrnoError(29)}return o&&(e.node.timestamp=Date.now()),a}}),Ke.mkdev(o,i,a)},forceLoadFile(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!E)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=an(E(e.url),!0),e.usedBytes=e.contents.length}catch(e){throw new Ke.ErrnoError(29)}},createLazyFile(e,t,r,n,o){function i(){this.lengthKnown=!1,this.chunks=[]}if(i.prototype.get=function(e){if(e>this.length-1||e<0)return;const t=e%this.chunkSize,r=e/this.chunkSize|0;return this.getter(r)[t]},i.prototype.setDataGetter=function(e){this.getter=e},i.prototype.cacheLength=function(){const e=new XMLHttpRequest;if(e.open("HEAD",r,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error(`Couldn't load ${r}. Status: ${e.status}`);let t,n=Number(e.getResponseHeader("Content-length"));const o=(t=e.getResponseHeader("Accept-Ranges"))&&"bytes"===t,i=(t=e.getResponseHeader("Content-Encoding"))&&"gzip"===t;let a=1048576;o||(a=n);const s=this;s.setDataGetter((e=>{const t=e*a;let o=(e+1)*a-1;if(o=Math.min(o,n-1),void 0===s.chunks[e]&&(s.chunks[e]=function(e,t){if(e>t)throw new Error(`invalid range (${e}, ${t}) or no bytes requested!`);if(t>n-1)throw new Error(`only ${n} bytes available! programmer error!`);const o=new XMLHttpRequest;if(o.open("GET",r,!1),n!==a&&o.setRequestHeader("Range",`bytes=${e}-${t}`),"undefined"!=typeof Uint8Array&&(o.responseType="arraybuffer"),o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw new Error(`Couldn't load ${r}. Status: ${o.status}`);return void 0!==o.response?new Uint8Array(o.response||[]):an(o.responseText||"",!0)}(t,o)),void 0===s.chunks[e])throw new Error("doXHR failed!");return s.chunks[e]})),!i&&n||(a=n=1,n=this.getter(0).length,a=n,m("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!d)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";const e=new i;Object.defineProperties(e,{length:{get(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var a={isDevice:!1,contents:e}}else a={isDevice:!1,url:r};const s=Ke.createFile(e,t,a,n,o);a.contents?s.contents=a.contents:a.url&&(s.contents=null,s.url=a.url),Object.defineProperties(s,{usedBytes:{get(){return this.contents.length}}});const A={};return Object.keys(s.stream_ops).forEach((e=>{const t=s.stream_ops[e];A[e]=function(){return Ke.forceLoadFile(s),t.apply(null,arguments)}})),A.read=function(e,t,r,n,o){Ke.forceLoadFile(s);const{contents:i}=e.node;if(o>=i.length)return 0;const a=Math.min(i.length-o,n);if(T(a>=0),i.slice)for(var A=0;A<a;A++)t[r+A]=i[o+A];else for(A=0;A<a;A++)t[r+A]=i.get(o+A);return a},s.stream_ops=A,s},createPreloadedFile(e,t,n,o,i,a,s,A,c,g){Me.init();const d=t?Ye.resolve(He.join2(e,t)):e,u=he(`cp ${d}`);function l(n){function l(r){g&&g(),A||Ke.createDataFile(e,t,r,o,i,c),a&&a(),me(u)}let E=!1;r.preloadPlugins.forEach((e=>{E||e.canHandle(d)&&(e.handle(n,d,l,(()=>{s&&s(),me(u)})),E=!0)})),E||l(n)}Ie(u),"string"==typeof n?function(e,t,r,n){const o=n?"":he(`al ${e}`);f(e,(r=>{T(r,`Loading data file "${e}" failed (no arrayBuffer).`),t(new Uint8Array(r)),o&&me(o)}),(t=>{if(!r)throw`Loading data file "${e}" failed.`;r()})),o&&Ie(o)}(n,(e=>{l(e)}),s):l(n)},indexedDB:()=>window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,DB_NAME:()=>`EM_FS_${window.location.pathname}`,DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB(e,t,r){t=t||function(){},r=r||function(){};const n=Ke.indexedDB();try{var o=n.open(Ke.DB_NAME(),Ke.DB_VERSION)}catch(e){return r(e)}o.onupgradeneeded=function(){m("creating db");o.result.createObjectStore(Ke.DB_STORE_NAME)},o.onsuccess=function(){const n=o.result.transaction([Ke.DB_STORE_NAME],"readwrite"),i=n.objectStore(Ke.DB_STORE_NAME);let a=0,s=0;const A=e.length;function c(){0==s?t():r()}e.forEach((e=>{const t=i.put(Ke.analyzePath(e).object.contents,e);t.onsuccess=function(){a++,a+s==A&&c()},t.onerror=function(){s++,a+s==A&&c()}})),n.onerror=r},o.onerror=r},loadFilesFromDB(e,t,r){t=t||function(){},r=r||function(){};const n=Ke.indexedDB();try{var o=n.open(Ke.DB_NAME(),Ke.DB_VERSION)}catch(e){return r(e)}o.onupgradeneeded=r,o.onsuccess=function(){const n=o.result;try{var i=n.transaction([Ke.DB_STORE_NAME],"readonly")}catch(e){return void r(e)}const a=i.objectStore(Ke.DB_STORE_NAME);let s=0,A=0;const c=e.length;function g(){0==A?t():r()}e.forEach((e=>{const t=a.get(e);t.onsuccess=function(){Ke.analyzePath(e).exists&&Ke.unlink(e),Ke.createDataFile(He.dirname(e),He.basename(e),t.result,!0,!0,!0),s++,s+A==c&&g()},t.onerror=function(){A++,s+A==c&&g()}})),i.onerror=r},o.onerror=r},absolutePath(){Ce("FS.absolutePath has been removed; use PATH_FS.resolve instead")},createFolder(){Ce("FS.createFolder has been removed; use FS.mkdir instead")},createLink(){Ce("FS.createLink has been removed; use FS.symlink instead")},joinPath(){Ce("FS.joinPath has been removed; use PATH.join instead")},mmapAlloc(){Ce("FS.mmapAlloc has been replaced by the top level function mmapAlloc")},standardizePath(){Ce("FS.standardizePath has been removed; use PATH.normalize instead")}},Je={mappings:{},DEFAULT_POLLMASK:5,umask:511,calculateAt(e,t,r){if("/"===t[0])return t;let n;if(-100===e)n=Ke.cwd();else{const t=Ke.getStream(e);if(!t)throw new Ke.ErrnoError(8);n=t.path}if(0==t.length){if(!r)throw new Ke.ErrnoError(44);return n}return He.join2(n,t)},doStat(e,t,r){try{var n=e(t)}catch(e){if(e&&e.node&&He.normalize(t)!==He.normalize(Ke.getPath(e.node)))return-54;throw e}return K[r>>2]=n.dev,K[r+4>>2]=0,K[r+8>>2]=n.ino,K[r+12>>2]=n.mode,K[r+16>>2]=n.nlink,K[r+20>>2]=n.uid,K[r+24>>2]=n.gid,K[r+28>>2]=n.rdev,K[r+32>>2]=0,De=[n.size>>>0,(Be=n.size,+Math.abs(Be)>=1?Be>0?(0|Math.min(+Math.floor(Be/4294967296),4294967295))>>>0:~~+Math.ceil((Be-+(~~Be>>>0))/4294967296)>>>0:0)],K[r+40>>2]=De[0],K[r+44>>2]=De[1],K[r+48>>2]=4096,K[r+52>>2]=n.blocks,K[r+56>>2]=n.atime.getTime()/1e3|0,K[r+60>>2]=0,K[r+64>>2]=n.mtime.getTime()/1e3|0,K[r+68>>2]=0,K[r+72>>2]=n.ctime.getTime()/1e3|0,K[r+76>>2]=0,De=[n.ino>>>0,(Be=n.ino,+Math.abs(Be)>=1?Be>0?(0|Math.min(+Math.floor(Be/4294967296),4294967295))>>>0:~~+Math.ceil((Be-+(~~Be>>>0))/4294967296)>>>0:0)],K[r+80>>2]=De[0],K[r+84>>2]=De[1],0},doMsync(e,t,r,n,o){const i=W.slice(e,e+r);Ke.msync(t,i,o,r,n)},doMkdir:(e,t)=>("/"===(e=He.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),Ke.mkdir(e,t,0),0),doMknod(e,t,r){switch(61440&t){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return Ke.mknod(e,t,r),0},doReadlink(e,t,r){if(r<=0)return-28;const n=Ke.readlink(e),o=Math.min(r,F(n)),i=V[t+o];return S(n,t,r+1),V[t+o]=i,o},doAccess(e,t){if(-8&t)return-28;let r;if(r=Ke.lookupPath(e,{follow:!0}).node,!r)return-44;let n="";return 4&t&&(n+="r"),2&t&&(n+="w"),1&t&&(n+="x"),n&&Ke.nodePermissions(r,n)?-2:0},doDup(e,t,r){const n=Ke.getStream(r);return n&&Ke.close(n),Ke.open(e,t,0,r,r).fd},doReadv(e,t,r,n){let o=0;for(let i=0;i<r;i++){const r=K[t+8*i>>2],a=K[t+(8*i+4)>>2],s=Ke.read(e,V,r,a,n);if(s<0)return-1;if(o+=s,s<a)break}return o},doWritev(e,t,r,n){let o=0;for(let i=0;i<r;i++){const r=K[t+8*i>>2],a=K[t+(8*i+4)>>2],s=Ke.write(e,V,r,a,n);if(s<0)return-1;o+=s}return o},varargs:void 0,get(){T(null!=Je.varargs),Je.varargs+=4;return K[Je.varargs-4>>2]},getStr:e=>R(e),getStreamFromFD(e){const t=Ke.getStream(e);if(!t)throw new Ke.ErrnoError(8);return t},get64:(e,t)=>(T(e>=0?0===t:-1===t),e)};function Ze(e){if(void 0===e)return"_unknown";const t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=48&&t<=57?`_${e}`:e}function qe(e,t){return e=Ze(e),new Function("body",`return function ${e}() {\n "use strict"; return body.apply(this, arguments);\n};\n`)(t)}const et=[],tt=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function rt(){let e=0;for(let t=5;t<tt.length;++t)void 0!==tt[t]&&++e;return e}function nt(){for(let e=5;e<tt.length;++e)if(void 0!==tt[e])return tt[e];return null}function ot(e){switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:{const t=et.length?et.pop():tt.length;return tt[t]={refcount:1,value:e},t}}}function it(e,t){const r=qe(t,(function(e){this.name=t,this.message=e;const{stack:r}=new Error(e);void 0!==r&&(this.stack=`${this.toString()}\n${r.replace(/^Error(:[^\n]*)?\n/,"")}`)}));return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},r}let at;var st=void 0;function At(e){let t="",r=e;for(;W[r];)t+=st[W[r++]];return t}function ct(){return Object.keys(ft).length}function gt(){const e=[];for(const t in ft)ft.hasOwnProperty(t)&&e.push(ft[t]);return e}const dt=[];function ut(){for(;dt.length;){const e=dt.pop();e.$$.deleteScheduled=!1,e.delete()}}let lt;function Et(e){lt=e,dt.length&&lt&&lt(ut)}var ft={};let pt;function ht(e){throw new pt(e)}function It(e,t){for(void 0===t&&ht("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t}function mt(e){return e||ht(`Cannot use deleted val. handle = ${e}`),tt[e].value}const Ct={};function yt(e){const t=dn(e),r=At(t);return An(t),r}function _t(e,t){const r=Ct[e];return void 0===r&&ht(`${t} has unknown type ${yt(e)}`),r}function wt(e){}let Bt=!1;function Dt(e){e.count.value-=1;0===e.count.value&&function(e){e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)}(e)}function Ot(e){return"undefined"==typeof FinalizationGroup?(Ot=function(e){return e},e):(Bt=new FinalizationGroup((e=>{for(let t=e.next();!t.done;t=e.next()){const e=t.value;e.ptr?Dt(e):console.warn(`object already deleted: ${e.ptr}`)}})),wt=function(e){Bt.unregister(e.$$)},(Ot=function(e){return Bt.register(e,e.$$,e.$$),e})(e))}const bt={};function Qt(e){for(;e.length;){const t=e.pop();e.pop()(t)}}function Tt(e){return this.fromWireType(J[e>>2])}const vt={},Pt={};let Rt;function Mt(e){throw new Rt(e)}function St(e,t,r){function n(t){const n=r(t);n.length!==e.length&&Mt("Mismatched type converter count");for(let t=0;t<e.length;++t)Nt(e[t],n[t])}e.forEach((e=>{Pt[e]=t}));const o=new Array(t.length),i=[];let a=0;t.forEach(((e,t)=>{Ct.hasOwnProperty(e)?o[t]=Ct[e]:(i.push(e),vt.hasOwnProperty(e)||(vt[e]=[]),vt[e].push((()=>{o[t]=Ct[e],++a,a===i.length&&n(o)})))})),0===i.length&&n(o)}function Ft(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError(`Unknown type size: ${e}`)}}function Nt(e,t,r){if(r=r||{},!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");const{name:n}=t;if(e||ht(`type "${n}" must have a positive integer typeid pointer`),Ct.hasOwnProperty(e)){if(r.ignoreDuplicateRegistrations)return;ht(`Cannot register type '${n}' twice`)}if(Ct[e]=t,delete Pt[e],vt.hasOwnProperty(e)){const t=vt[e];delete vt[e],t.forEach((e=>{e()}))}}function kt(e){if(!(this instanceof Gt))return!1;if(!(e instanceof Gt))return!1;let t=this.$$.ptrType.registeredClass,r=this.$$.ptr,n=e.$$.ptrType.registeredClass,o=e.$$.ptr;for(;t.baseClass;)r=t.upcast(r),t=t.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return t===n&&r===o}function xt(e){var t;ht(`${t=e,t.$$.ptrType.registeredClass.name} instance already deleted`)}function Ut(){if(this.$$.ptr||xt(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;const e=Ot(Object.create(Object.getPrototypeOf(this),{$$:{value:(t=this.$$,{count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType})}}));var t;return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e}function jt(){this.$$.ptr||xt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&ht("Object already scheduled for deletion"),wt(this),Dt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function Lt(){return!this.$$.ptr}function Ht(){return this.$$.ptr||xt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&ht("Object already scheduled for deletion"),dt.push(this),1===dt.length&&lt&&lt(ut),this.$$.deleteScheduled=!0,this}function Gt(){}const Yt={};function Xt(e,t,r){if(void 0===e[t].overloadTable){const n=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||ht(`Function '${r}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[arguments.length].apply(this,arguments)},e[t].overloadTable=[],e[t].overloadTable[n.argCount]=n}}function Vt(e,t,n){r.hasOwnProperty(e)?((void 0===n||void 0!==r[e].overloadTable&&void 0!==r[e].overloadTable[n])&&ht(`Cannot register public name '${e}' twice`),Xt(r,e,e),r.hasOwnProperty(n)&&ht(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),r[e].overloadTable[n]=t):(r[e]=t,void 0!==n&&(r[e].numArguments=n))}function Wt(e,t,r,n,o,i,a,s){this.name=e,this.constructor=t,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}function zt(e,t,r){for(;t!==r;)t.upcast||ht(`Expected null or instance of ${r.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e}function $t(e,t){if(null===t)return this.isReference&&ht(`null is not a valid ${this.name}`),0;t.$$||ht(`Cannot pass "${fr(t)}" as a ${this.name}`),t.$$.ptr||ht(`Cannot pass deleted object as a pointer of type ${this.name}`);const r=t.$$.ptrType.registeredClass;return zt(t.$$.ptr,r,this.registeredClass)}function Kt(e,t){let r;if(null===t)return this.isReference&&ht(`null is not a valid ${this.name}`),this.isSmartPointer?(r=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,r),r):0;t.$$||ht(`Cannot pass "${fr(t)}" as a ${this.name}`),t.$$.ptr||ht(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&ht(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);const n=t.$$.ptrType.registeredClass;if(r=zt(t.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===t.$$.smartPtr&&ht("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?r=t.$$.smartPtr:ht(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:r=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)r=t.$$.smartPtr;else{const n=t.clone();r=this.rawShare(r,ot((()=>{n.delete()}))),null!==e&&e.push(this.rawDestructor,r)}break;default:ht("Unsupporting sharing policy")}return r}function Jt(e,t){if(null===t)return this.isReference&&ht(`null is not a valid ${this.name}`),0;t.$$||ht(`Cannot pass "${fr(t)}" as a ${this.name}`),t.$$.ptr||ht(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&ht(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);const r=t.$$.ptrType.registeredClass;return zt(t.$$.ptr,r,this.registeredClass)}function Zt(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e}function qt(e){this.rawDestructor&&this.rawDestructor(e)}function er(e){null!==e&&e.delete()}function tr(e,t,r){if(t===r)return e;if(void 0===r.baseClass)return null;const n=tr(e,t,r.baseClass);return null===n?null:r.downcast(n)}function rr(e,t){t.ptrType&&t.ptr||Mt("makeClassHandle requires ptr and ptrType");return!!t.smartPtrType!==!!t.smartPtr&&Mt("Both smartPtrType and smartPtr must be specified"),t.count={value:1},Ot(Object.create(e,{$$:{value:t}}))}function nr(e){const t=this.getPointee(e);if(!t)return this.destructor(e),null;const r=function(e,t){return t=It(e,t),ft[t]}(this.registeredClass,t);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=t,r.$$.smartPtr=e,r.clone();const n=r.clone();return this.destructor(e),n}function n(){return this.isSmartPointer?rr(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):rr(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}const o=this.registeredClass.getActualType(t),i=Yt[o];if(!i)return n.call(this);let a;a=this.isConst?i.constPointerType:i.pointerType;const s=tr(t,this.registeredClass,a.registeredClass);return null===s?n.call(this):this.isSmartPointer?rr(a.registeredClass.instancePrototype,{ptrType:a,ptr:s,smartPtrType:this,smartPtr:e}):rr(a.registeredClass.instancePrototype,{ptrType:a,ptr:s})}function or(e,t,r,n,o,i,a,s,A,c,g){this.name=e,this.registeredClass=t,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=A,this.rawShare=c,this.rawDestructor=g,o||void 0!==t.baseClass?this.toWireType=Kt:n?(this.toWireType=$t,this.destructorFunction=null):(this.toWireType=Jt,this.destructorFunction=null)}function ir(e,t,n){r.hasOwnProperty(e)||Mt("Replacing nonexistant public symbol"),void 0!==r[e].overloadTable&&void 0!==n?r[e].overloadTable[n]=t:(r[e]=t,r[e].argCount=n)}function ar(e,t,n){return e.includes("j")?function(e,t,n){T(`dynCall_${e}`in r,`bad function pointer type - no table for sig '${e}'`),n&&n.length?T(n.length===e.substring(1).replace(/j/g,"--").length):T(1==e.length);const o=r[`dynCall_${e}`];return n&&n.length?o.apply(null,[t].concat(n)):o.call(null,t)}(e,t,n):(T(ne.get(t),`missing table entry in dynCall: ${t}`),ne.get(t).apply(null,n))}function sr(e,t){const r=(e=At(e)).includes("j")?function(e,t){T(e.includes("j"),"getDynCaller should only be called with i64 sigs");const r=[];return function(){r.length=arguments.length;for(let e=0;e<arguments.length;e++)r[e]=arguments[e];return ar(e,t,r)}}(e,t):ne.get(t);return"function"!=typeof r&&ht(`unknown function pointer with signature ${e}: ${t}`),r}let Ar;function cr(e,t){const r=[],n={};throw t.forEach((function e(t){n[t]||Ct[t]||(Pt[t]?Pt[t].forEach(e):(r.push(t),n[t]=!0))})),new Ar(`${e}: ${r.map(yt).join([", "])}`)}function gr(e,t){if(!(e instanceof Function))throw new TypeError(`new_ called with constructor type ${typeof e} which is not a function`);const r=qe(e.name||"unknownFunctionName",(()=>{}));r.prototype=e.prototype;const n=new r,o=e.apply(n,t);return o instanceof Object?o:n}function dr(e,t,r,n,o){const i=t.length;i<2&&ht("argTypes array size mismatch! Must at least get return value and 'this' types!");const a=null!==t[1]&&null!==r;let s=!1;for(var A=1;A<t.length;++A)if(null!==t[A]&&void 0===t[A].destructorFunction){s=!0;break}const c="void"!==t[0].name;let g="",d="";for(A=0;A<i-2;++A)g+=`${0!==A?", ":""}arg${A}`,d+=`${0!==A?", ":""}arg${A}Wired`;let u=`return function ${Ze(e)}(${g}) {\nif (arguments.length !== ${i-2}) {\nthrowBindingError('function ${e} called with ' + arguments.length + ' arguments, expected ${i-2} args!');\n}\n`;s&&(u+="var destructors = [];\n");const l=s?"destructors":"null",E=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],f=[ht,n,o,Qt,t[0],t[1]];a&&(u+=`var thisWired = classParam.toWireType(${l}, this);\n`);for(A=0;A<i-2;++A)u+=`var arg${A}Wired = argType${A}.toWireType(${l}, arg${A}); // ${t[A+2].name}\n`,E.push(`argType${A}`),f.push(t[A+2]);if(a&&(d=`thisWired${d.length>0?", ":""}${d}`),u+=`${c?"var rv = ":""}invoker(fn${d.length>0?", ":""}${d});\n`,s)u+="runDestructors(destructors);\n";else for(A=a?1:2;A<t.length;++A){const e=1===A?"thisWired":`arg${A-2}Wired`;null!==t[A].destructorFunction&&(u+=`${e}_dtor(${e}); // ${t[A].name}\n`,E.push(`${e}_dtor`),f.push(t[A].destructorFunction))}c&&(u+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),u+="}\n",E.push(u);return gr(Function,E).apply(null,f)}function ur(e,t){const r=[];for(let n=0;n<e;n++)r.push(K[(t>>2)+n]);return r}function lr(e,t,r){return e instanceof Object||ht(`${r} with invalid "this": ${e}`),e instanceof t.registeredClass.constructor||ht(`${r} incompatible with "this" of type ${e.constructor.name}`),e.$$.ptr||ht(`cannot call emscripten binding method ${r} on deleted object`),zt(e.$$.ptr,e.$$.ptrType.registeredClass,t.registeredClass)}function Er(e){e>4&&0==--tt[e].refcount&&(tt[e]=void 0,et.push(e))}function fr(e){if(null===e)return"null";const t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():`${e}`}function pr(e,t){switch(t){case 2:return function(e){return this.fromWireType(Z[e>>2])};case 3:return function(e){return this.fromWireType(q[e>>3])};default:throw new TypeError(`Unknown float type: ${e}`)}}function hr(e,t,r){switch(t){case 0:return r?function(e){return V[e]}:function(e){return W[e]};case 1:return r?function(e){return z[e>>1]}:function(e){return $[e>>1]};case 2:return r?function(e){return K[e>>2]}:function(e){return J[e>>2]};default:throw new TypeError(`Unknown integer type: ${e}`)}}const Ir={};const mr=[];const Cr=[];function yr(e){try{return O.grow(e-X.byteLength+65535>>>16),ee(O.buffer),1}catch(t){C(`emscripten_realloc_buffer: Attempted to grow heap from ${X.byteLength} bytes to ${e} bytes, but got error: ${t}`)}}function _r(e){Ce("Cannot use emscripten_generate_pc (needed by __builtin_return_address) without -s USE_OFFSET_CONVERTER")}const wr={};function Br(e){e.forEach((e=>{const t=_r();t&&(wr[t]=e)}))}var Dr={counter:1,buffers:[],mappedBuffers:{},programs:[],framebuffers:[],renderbuffers:[],textures:[],shaders:[],vaos:[],contexts:[],offscreenCanvases:{},queries:[],samplers:[],transformFeedbacks:[],syncs:[],byteSizeByTypeRoot:5120,byteSizeByType:[1,1,2,2,4,4,4,2,3,4,8],stringCache:{},stringiCache:{},unpackAlignment:4,recordError:function(e){Dr.lastError||(Dr.lastError=e)},getNewId(e){const t=Dr.counter++;for(let r=e.length;r<t;r++)e[r]=null;return t},MAX_TEMP_BUFFER_SIZE:2097152,numTempVertexBuffersPerSize:64,log2ceilLookup:e=>32-Math.clz32(0===e?0:e-1),generateTempBuffers(e,t){const r=Dr.log2ceilLookup(Dr.MAX_TEMP_BUFFER_SIZE);t.tempVertexBufferCounters1=[],t.tempVertexBufferCounters2=[],t.tempVertexBufferCounters1.length=t.tempVertexBufferCounters2.length=r+1,t.tempVertexBuffers1=[],t.tempVertexBuffers2=[],t.tempVertexBuffers1.length=t.tempVertexBuffers2.length=r+1,t.tempIndexBuffers=[],t.tempIndexBuffers.length=r+1;for(var n=0;n<=r;++n){t.tempIndexBuffers[n]=null,t.tempVertexBufferCounters1[n]=t.tempVertexBufferCounters2[n]=0;const e=Dr.numTempVertexBuffersPerSize;t.tempVertexBuffers1[n]=[],t.tempVertexBuffers2[n]=[];const r=t.tempVertexBuffers1[n],o=t.tempVertexBuffers2[n];r.length=o.length=e;for(let t=0;t<e;++t)r[t]=o[t]=null}if(e){t.tempQuadIndexBuffer=tn.createBuffer(),t.GLctx.bindBuffer(34963,t.tempQuadIndexBuffer);const e=Dr.MAX_TEMP_BUFFER_SIZE>>1,r=new Uint16Array(e);n=0;let o=0;for(;!(r[n++]=o,n>=e||(r[n++]=o+1,n>=e)||(r[n++]=o+2,n>=e)||(r[n++]=o,n>=e)||(r[n++]=o+2,n>=e)||(r[n++]=o+3,n>=e));)o+=4;t.GLctx.bufferData(34963,r,35044),t.GLctx.bindBuffer(34963,null)}},getTempVertexBuffer:function(e){const t=Dr.log2ceilLookup(e),r=Dr.currentContext.tempVertexBuffers1[t],n=Dr.currentContext.tempVertexBufferCounters1[t];Dr.currentContext.tempVertexBufferCounters1[t]=Dr.currentContext.tempVertexBufferCounters1[t]+1&Dr.numTempVertexBuffersPerSize-1;const o=r[n];if(o)return o;const i=tn.getParameter(34964);return r[n]=tn.createBuffer(),tn.bindBuffer(34962,r[n]),tn.bufferData(34962,1<<t,35048),tn.bindBuffer(34962,i),r[n]},getTempIndexBuffer:function(e){const t=Dr.log2ceilLookup(e),r=Dr.currentContext.tempIndexBuffers[t];if(r)return r;const n=tn.getParameter(34965);return Dr.currentContext.tempIndexBuffers[t]=tn.createBuffer(),tn.bindBuffer(34963,Dr.currentContext.tempIndexBuffers[t]),tn.bufferData(34963,1<<t,35048),tn.bindBuffer(34963,n),Dr.currentContext.tempIndexBuffers[t]},newRenderingFrameStarted:function(){if(!Dr.currentContext)return;let e=Dr.currentContext.tempVertexBuffers1;Dr.currentContext.tempVertexBuffers1=Dr.currentContext.tempVertexBuffers2,Dr.currentContext.tempVertexBuffers2=e,e=Dr.currentContext.tempVertexBufferCounters1,Dr.currentContext.tempVertexBufferCounters1=Dr.currentContext.tempVertexBufferCounters2,Dr.currentContext.tempVertexBufferCounters2=e;const t=Dr.log2ceilLookup(Dr.MAX_TEMP_BUFFER_SIZE);for(let e=0;e<=t;++e)Dr.currentContext.tempVertexBufferCounters1[e]=0},getSource(e,t,r,n){let o="";for(let e=0;e<t;++e){const t=n?K[n+4*e>>2]:-1;o+=R(K[r+4*e>>2],t<0?void 0:t)}return o},calcBufLength:function(e,t,r,n){if(r>0)return n*r;return e*Dr.byteSizeByType[t-Dr.byteSizeByTypeRoot]*n},usedTempBuffers:[],preDrawHandleClientVertexAttribBindings:function(e){Dr.resetBufferBinding=!1;for(let t=0;t<Dr.currentContext.maxVertexAttribs;++t){const r=Dr.currentContext.clientBuffers[t];if(!r.clientside||!r.enabled)continue;Dr.resetBufferBinding=!0;const n=Dr.calcBufLength(r.size,r.type,r.stride,e),o=Dr.getTempVertexBuffer(n);tn.bindBuffer(34962,o),tn.bufferSubData(34962,0,W.subarray(r.ptr,r.ptr+n)),r.vertexAttribPointerAdaptor.call(tn,t,r.size,r.type,r.normalized,r.stride,0)}},postDrawHandleClientVertexAttribBindings:function(){Dr.resetBufferBinding&&tn.bindBuffer(34962,Dr.buffers[tn.currentArrayBufferBinding])},createContext(e,t){t.renderViaOffscreenBackBuffer&&(t.preserveDrawingBuffer=!0);const r=t.majorVersion>1?e.getContext("webgl2",t):e.getContext("webgl",t);if(!r)return 0;return Dr.registerContext(r,t)},enableOffscreenFramebufferAttributes(e){e.renderViaOffscreenBackBuffer=!0,e.preserveDrawingBuffer=!0},createOffscreenFramebuffer(e){const t=e.GLctx,r=t.createFramebuffer();if(t.bindFramebuffer(36160,r),e.defaultFbo=r,e.defaultFboForbidBlitFramebuffer=!1,t.getContextAttributes().antialias)e.defaultFboForbidBlitFramebuffer=!0;else{const t=navigator.userAgent.toLowerCase().match(/firefox\/(\d\d)/);if(null!=t){const r=t[1];e.defaultFboForbidBlitFramebuffer=r<67}}e.defaultColorTarget=t.createTexture(),e.defaultDepthTarget=t.createRenderbuffer(),Dr.resizeOffscreenFramebuffer(e),t.bindTexture(3553,e.defaultColorTarget),t.texParameteri(3553,10241,9728),t.texParameteri(3553,10240,9728),t.texParameteri(3553,10242,33071),t.texParameteri(3553,10243,33071),t.texImage2D(3553,0,6408,t.canvas.width,t.canvas.height,0,6408,5121,null),t.framebufferTexture2D(36160,36064,3553,e.defaultColorTarget,0),t.bindTexture(3553,null);t.createRenderbuffer();t.bindRenderbuffer(36161,e.defaultDepthTarget),t.renderbufferStorage(36161,33189,t.canvas.width,t.canvas.height),t.framebufferRenderbuffer(36160,36096,36161,e.defaultDepthTarget),t.bindRenderbuffer(36161,null);const n=t.createBuffer();t.bindBuffer(34962,n),t.bufferData(34962,new Float32Array([-1,-1,-1,1,1,-1,1,1]),35044),t.bindBuffer(34962,null),e.blitVB=n;const o=t.createShader(35633);t.shaderSource(o,"attribute vec2 pos;varying lowp vec2 tex;void main() { tex = pos * 0.5 + vec2(0.5,0.5); gl_Position = vec4(pos, 0.0, 1.0); }"),t.compileShader(o);const i=t.createShader(35632);t.shaderSource(i,"varying lowp vec2 tex;uniform sampler2D sampler;void main() { gl_FragColor = texture2D(sampler, tex); }"),t.compileShader(i);const a=t.createProgram();t.attachShader(a,o),t.attachShader(a,i),t.linkProgram(a),e.blitProgram=a,e.blitPosLoc=t.getAttribLocation(a,"pos"),t.useProgram(a),t.uniform1i(t.getUniformLocation(a,"sampler"),0),t.useProgram(null),e.defaultVao=void 0,t.createVertexArray&&(e.defaultVao=t.createVertexArray(),t.bindVertexArray(e.defaultVao),t.enableVertexAttribArray(e.blitPosLoc),t.bindVertexArray(null))},resizeOffscreenFramebuffer(e){const t=e.GLctx;if(e.defaultColorTarget){const r=t.getParameter(32873);t.bindTexture(3553,e.defaultColorTarget),t.texImage2D(3553,0,6408,t.drawingBufferWidth,t.drawingBufferHeight,0,6408,5121,null),t.bindTexture(3553,r)}if(e.defaultDepthTarget){const r=t.getParameter(36007);t.bindRenderbuffer(36161,e.defaultDepthTarget),t.renderbufferStorage(36161,33189,t.drawingBufferWidth,t.drawingBufferHeight),t.bindRenderbuffer(36161,r)}},blitOffscreenFramebuffer(e){const t=e.GLctx,r=t.getParameter(3089);r&&t.disable(3089);const n=t.getParameter(36006);if(t.blitFramebuffer&&!e.defaultFboForbidBlitFramebuffer)t.bindFramebuffer(36008,e.defaultFbo),t.bindFramebuffer(36009,null),t.blitFramebuffer(0,0,t.canvas.width,t.canvas.height,0,0,t.canvas.width,t.canvas.height,16384,9728);else{let r=function(){t.vertexAttribPointer(e.blitPosLoc,2,5126,!1,0,0),t.drawArrays(5,0,4)};t.bindFramebuffer(36160,null);const n=t.getParameter(35725);t.useProgram(e.blitProgram);const a=t.getParameter(34964);t.bindBuffer(34962,e.blitVB);const s=t.getParameter(34016);t.activeTexture(33984);const A=t.getParameter(32873);t.bindTexture(3553,e.defaultColorTarget);const c=t.getParameter(3042);c&&t.disable(3042);const g=t.getParameter(2884);g&&t.disable(2884);const d=t.getParameter(2929);d&&t.disable(2929);const u=t.getParameter(2960);if(u&&t.disable(2960),e.defaultVao){const n=t.getParameter(34229);t.bindVertexArray(e.defaultVao),r(),t.bindVertexArray(n)}else{const n={buffer:t.getVertexAttrib(e.blitPosLoc,34975),size:t.getVertexAttrib(e.blitPosLoc,34339),stride:t.getVertexAttrib(e.blitPosLoc,34340),type:t.getVertexAttrib(e.blitPosLoc,34341),normalized:t.getVertexAttrib(e.blitPosLoc,34922),pointer:t.getVertexAttribOffset(e.blitPosLoc,34373)},a=t.getParameter(34921),s=[];for(var o=0;o<a;++o){var i=t.getVertexAttrib(o,34338);const r=o==e.blitPosLoc;i&&!r&&t.disableVertexAttribArray(o),!i&&r&&t.enableVertexAttribArray(o),s[o]=i}r();for(o=0;o<a;++o){i=s[o];const r=o==e.blitPosLoc;i&&!r&&t.enableVertexAttribArray(o),!i&&r&&t.disableVertexAttribArray(o)}t.bindBuffer(34962,n.buffer),t.vertexAttribPointer(e.blitPosLoc,n.size,n.type,n.normalized,n.stride,n.offset)}u&&t.enable(2960),d&&t.enable(2929),g&&t.enable(2884),c&&t.enable(3042),t.bindTexture(3553,A),t.activeTexture(s),t.bindBuffer(34962,a),t.useProgram(n)}t.bindFramebuffer(36160,n),r&&t.enable(3089)},registerContext(e,t){const r=Dr.getNewId(Dr.contexts),n={handle:r,attributes:t,version:t.majorVersion,GLctx:e};e.canvas&&(e.canvas.GLctxObject=n),Dr.contexts[r]=n,(void 0===t.enableExtensionsByDefault||t.enableExtensionsByDefault)&&Dr.initExtensions(n),n.maxVertexAttribs=n.GLctx.getParameter(34921),n.clientBuffers=[];for(let e=0;e<n.maxVertexAttribs;e++)n.clientBuffers[e]={enabled:!1,clientside:!1,size:0,type:0,normalized:0,stride:0,ptr:0,vertexAttribPointerAdaptor:null};return Dr.generateTempBuffers(!1,n),t.renderViaOffscreenBackBuffer&&Dr.createOffscreenFramebuffer(n),r},makeContextCurrent:e=>(Dr.currentContext=Dr.contexts[e],r.ctx=tn=Dr.currentContext&&Dr.currentContext.GLctx,!(e&&!tn)),getContext:e=>Dr.contexts[e],deleteContext(e){Dr.currentContext===Dr.contexts[e]&&(Dr.currentContext=null),"object"==typeof Or&&Or.removeAllHandlersOnTarget(Dr.contexts[e].GLctx.canvas),Dr.contexts[e]&&Dr.contexts[e].GLctx.canvas&&(Dr.contexts[e].GLctx.canvas.GLctxObject=void 0),Dr.contexts[e]=null},initExtensions(e){if(e||(e=Dr.currentContext),e.initExtensionsDone)return;e.initExtensionsDone=!0;const{GLctx:t}=e;var r;!function(e){const t=e.getExtension("ANGLE_instanced_arrays");if(t)e.vertexAttribDivisor=function(e,r){t.vertexAttribDivisorANGLE(e,r)},e.drawArraysInstanced=function(e,r,n,o){t.drawArraysInstancedANGLE(e,r,n,o)},e.drawElementsInstanced=function(e,r,n,o,i){t.drawElementsInstancedANGLE(e,r,n,o,i)}}(t),function(e){const t=e.getExtension("OES_vertex_array_object");if(t)e.createVertexArray=function(){return t.createVertexArrayOES()},e.deleteVertexArray=function(e){t.deleteVertexArrayOES(e)},e.bindVertexArray=function(e){t.bindVertexArrayOES(e)},e.isVertexArray=function(e){return t.isVertexArrayOES(e)}}(t),function(e){const t=e.getExtension("WEBGL_draw_buffers");if(t)e.drawBuffers=function(e,r){t.drawBuffersWEBGL(e,r)}}(t),(r=t).dibvbi=r.getExtension("WEBGL_draw_instanced_base_vertex_base_instance"),function(e){e.mdibvbi=e.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance")}(t),e.version>=2&&(t.disjointTimerQueryExt=t.getExtension("EXT_disjoint_timer_query_webgl2")),(e.version<2||!t.disjointTimerQueryExt)&&(t.disjointTimerQueryExt=t.getExtension("EXT_disjoint_timer_query")),function(e){e.multiDrawWebgl=e.getExtension("WEBGL_multi_draw")}(t);(t.getSupportedExtensions()||[]).forEach((e=>{e.includes("lose_context")||e.includes("debug")||t.getExtension(e)}))}},Or={inEventHandler:0,removeAllEventListeners(){for(let e=Or.eventHandlers.length-1;e>=0;--e)Or._removeHandler(e);Or.eventHandlers=[],Or.deferredCalls=[]},registerRemoveEventListeners(){Or.removeEventListenersRegistered||(Ae.push(Or.removeAllEventListeners),Or.removeEventListenersRegistered=!0)},deferredCalls:[],deferCall(e,t,r){function n(e,t){if(e.length!=t.length)return!1;for(const r in e)if(e[r]!=t[r])return!1;return!0}for(const t in Or.deferredCalls){const o=Or.deferredCalls[t];if(o.targetFunction==e&&n(o.argsList,r))return}Or.deferredCalls.push({targetFunction:e,precedence:t,argsList:r}),Or.deferredCalls.sort(((e,t)=>e.precedence<t.precedence))},removeDeferredCalls(e){for(let t=0;t<Or.deferredCalls.length;++t)Or.deferredCalls[t].targetFunction==e&&(Or.deferredCalls.splice(t,1),--t)},canPerformEventHandlerRequests:()=>Or.inEventHandler&&Or.currentEventHandler.allowsDeferredCalls,runDeferredCalls(){if(Or.canPerformEventHandlerRequests())for(let e=0;e<Or.deferredCalls.length;++e){const t=Or.deferredCalls[e];Or.deferredCalls.splice(e,1),--e,t.targetFunction.apply(null,t.argsList)}},eventHandlers:[],removeAllHandlersOnTarget(e,t){for(let r=0;r<Or.eventHandlers.length;++r)Or.eventHandlers[r].target!=e||t&&t!=Or.eventHandlers[r].eventTypeString||Or._removeHandler(r--)},_removeHandler(e){const t=Or.eventHandlers[e];t.target.removeEventListener(t.eventTypeString,t.eventListenerFunc,t.useCapture),Or.eventHandlers.splice(e,1)},registerOrRemoveHandler(e){const t=function(t){++Or.inEventHandler,Or.currentEventHandler=e,Or.runDeferredCalls(),e.handlerFunc(t),Or.runDeferredCalls(),--Or.inEventHandler};if(e.callbackfunc)e.eventListenerFunc=t,e.target.addEventListener(e.eventTypeString,t,e.useCapture),Or.eventHandlers.push(e),Or.registerRemoveEventListeners();else for(let t=0;t<Or.eventHandlers.length;++t)Or.eventHandlers[t].target==e.target&&Or.eventHandlers[t].eventTypeString==e.eventTypeString&&Or._removeHandler(t--)},getNodeNameForTarget:e=>e?e==window?"#window":e==screen?"#screen":e&&e.nodeName?e.nodeName:"":"",fullscreenEnabled:()=>document.fullscreenEnabled||document.webkitFullscreenEnabled};const br=["default","low-power","high-performance"],Qr=[0,"undefined"!=typeof document?document:0,"undefined"!=typeof window?window:0];function Tr(e){return"number"==typeof e&&(e=R(e)),e&&"#canvas"!==e?void 0!==Dr&&Dr.offscreenCanvases[e]?Dr.offscreenCanvases[e]:function(e){y("Rules for selecting event targets in HTML5 API are changing: instead of using document.getElementById() that only can refer to elements by their DOM ID, new event target selection mechanism uses the more flexible function document.querySelector() that can look up element names, classes, and complex CSS selectors. Build with -s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1 to change to the new lookup rules. See https://github.com/emscripten-core/emscripten/pull/7977 for more details.");try{return e?("number"==typeof e&&(e=Qr[e]||R(e)),"#window"===e?window:"#document"===e?document:"#screen"===e?screen:"#canvas"===e?r.canvas:"string"==typeof e?document.getElementById(e):e):window}catch(e){return null}}(e):void 0!==Dr&&Dr.offscreenCanvases.canvas?Dr.offscreenCanvases.canvas:r.canvas}function vr(){return Dr.currentContext?Dr.currentContext.handle:0}function Pr(e){return Dr.makeContextCurrent(e)?0:-5}r._emscripten_webgl_get_current_context=vr,r._emscripten_webgl_make_context_current=Pr;const Rr={};function Mr(){if(!Mr.strings){const t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:`${("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")}.UTF-8`,_:A||"./this.program"};for(var e in Rr)void 0===Rr[e]?delete t[e]:t[e]=Rr[e];const r=[];for(var e in t)r.push(`${e}=${t[e]}`);Mr.strings=r}return Mr.strings}const Sr=[];function Fr(e,t,r,n){for(let o=0;o<e;o++){const e=tn[r](),i=e&&Dr.getNewId(n);e?(e.name=i,n[i]=e):Dr.recordError(1282),K[t+4*o>>2]=i}}function Nr(e,t){J[e>>2]=t,J[e+4>>2]=(t-J[e>>2])/4294967296;const r=t>=0?function(e){return J[e>>2]+4294967296*J[e+4>>2]}(e):function(e){return J[e>>2]+4294967296*K[e+4>>2]}(e);r!=t&&y(`writeI53ToI64() out of range: serialized JS Number ${t} to Wasm heap as bytes lo=0x${J[e>>2].toString(16)}, hi=0x${J[e+4>>2].toString(16)}, which deserializes back to ${r} instead!`)}function kr(e){const t=F(e)+1,r=cn(t);return S(e,r,t),r}function xr(e){return"]"==e.slice(-1)&&e.lastIndexOf("[")}function Ur(e){return 0==(e-=5120)?V:1==e?W:2==e?z:4==e?K:6==e?Z:5==e||28922==e||28520==e||30779==e||30782==e?J:$}function jr(e){return 31-Math.clz32(e.BYTES_PER_ELEMENT)}function Lr(e,t,r,n,o,i){const a=Ur(e),s=jr(a),A=1<<s,c=function(e){return{5:3,6:4,8:2,29502:3,29504:4,26917:2,26918:2,29846:3,29847:4}[e-6402]||1}(t)*A,g=function(e,t,r,n){var o;return t*(e*r+(o=n)-1&-o)}(r,n,c,Dr.unpackAlignment);return a.subarray(o>>s,o+g>>s)}function Hr(e){const t=tn.currentProgram;if(t){let r=t.uniformLocsById[e];return"number"==typeof r&&(t.uniformLocsById[e]=r=tn.getUniformLocation(t,t.uniformArrayNamesById[e]+(r>0?`[${r}]`:""))),r}Dr.recordError(1282)}const Gr=[];const Yr=[];function Xr(){if(Xr.called)return;Xr.called=!0;const e=(new Date).getFullYear(),t=new Date(e,0,1),r=new Date(e,6,1),n=t.getTimezoneOffset(),o=r.getTimezoneOffset(),i=Math.max(n,o);function a(e){const t=e.toTimeString().match(/\(([A-Za-z ]+)\)$/);return t?t[1]:"GMT"}K[fn()>>2]=60*i,K[En()>>2]=Number(n!=o);const s=a(t),A=a(r),c=G(s),g=G(A);o<n?(K[ln()>>2]=c,K[ln()+4>>2]=g):(K[ln()>>2]=g,K[ln()+4>>2]=c)}function Vr(e){return e%4==0&&(e%100!=0||e%400==0)}function Wr(e,t){let r=0;for(let n=0;n<=t;r+=e[n++]);return r}const zr=[31,29,31,30,31,30,31,31,30,31,30,31],$r=[31,28,31,30,31,30,31,31,30,31,30,31];function Kr(e,t){const r=new Date(e.getTime());for(;t>0;){const e=Vr(r.getFullYear()),n=r.getMonth(),o=(e?zr:$r)[n];if(!(t>o-r.getDate()))return r.setDate(r.getDate()+t),r;t-=o-r.getDate()+1,r.setDate(1),n<11?r.setMonth(n+1):(r.setMonth(0),r.setFullYear(r.getFullYear()+1))}return r}function Jr(e,t,r,n){const o=K[n+40>>2],i={tm_sec:K[n>>2],tm_min:K[n+4>>2],tm_hour:K[n+8>>2],tm_mday:K[n+12>>2],tm_mon:K[n+16>>2],tm_year:K[n+20>>2],tm_wday:K[n+24>>2],tm_yday:K[n+28>>2],tm_isdst:K[n+32>>2],tm_gmtoff:K[n+36>>2],tm_zone:o?R(o):""};let a=R(r);const s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var A in s)a=a.replace(new RegExp(A,"g"),s[A]);const c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],g=["January","February","March","April","May","June","July","August","September","October","November","December"];function d(e,t,r){let n="number"==typeof e?e.toString():e||"";for(;n.length<t;)n=r[0]+n;return n}function u(e,t){return d(e,t,"0")}function l(e,t){function r(e){return e<0?-1:e>0?1:0}let n;return 0===(n=r(e.getFullYear()-t.getFullYear()))&&0===(n=r(e.getMonth()-t.getMonth()))&&(n=r(e.getDate()-t.getDate())),n}function E(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function f(e){const t=Kr(new Date(e.tm_year+1900,0,1),e.tm_yday),r=new Date(t.getFullYear(),0,4),n=new Date(t.getFullYear()+1,0,4),o=E(r),i=E(n);return l(o,t)<=0?l(i,t)<=0?t.getFullYear()+1:t.getFullYear():t.getFullYear()-1}const p={"%a":e=>c[e.tm_wday].substring(0,3),"%A":e=>c[e.tm_wday],"%b":e=>g[e.tm_mon].substring(0,3),"%B":e=>g[e.tm_mon],"%C":e=>u((e.tm_year+1900)/100|0,2),"%d":e=>u(e.tm_mday,2),"%e":e=>d(e.tm_mday,2," "),"%g":e=>f(e).toString().substring(2),"%G":e=>f(e),"%H":e=>u(e.tm_hour,2),"%I"(e){let t=e.tm_hour;return 0==t?t=12:t>12&&(t-=12),u(t,2)},"%j":e=>u(e.tm_mday+Wr(Vr(e.tm_year+1900)?zr:$r,e.tm_mon-1),3),"%m":e=>u(e.tm_mon+1,2),"%M":e=>u(e.tm_min,2),"%n":()=>"\n","%p":e=>e.tm_hour>=0&&e.tm_hour<12?"AM":"PM","%S":e=>u(e.tm_sec,2),"%t":()=>"\t","%u":e=>e.tm_wday||7,"%U"(e){const t=new Date(e.tm_year+1900,0,1),r=0===t.getDay()?t:Kr(t,7-t.getDay()),n=new Date(e.tm_year+1900,e.tm_mon,e.tm_mday);if(l(r,n)<0){const e=Wr(Vr(n.getFullYear())?zr:$r,n.getMonth()-1)-31,t=31-r.getDate()+e+n.getDate();return u(Math.ceil(t/7),2)}return 0===l(r,t)?"01":"00"},"%V"(e){const t=new Date(e.tm_year+1900,0,4),r=new Date(e.tm_year+1901,0,4),n=E(t),o=E(r),i=Kr(new Date(e.tm_year+1900,0,1),e.tm_yday);if(l(i,n)<0)return"53";if(l(o,i)<=0)return"01";let a;return a=n.getFullYear()<e.tm_year+1900?e.tm_yday+32-n.getDate():e.tm_yday+1-n.getDate(),u(Math.ceil(a/7),2)},"%w":e=>e.tm_wday,"%W"(e){const t=new Date(e.tm_year,0,1),r=1===t.getDay()?t:Kr(t,0===t.getDay()?1:7-t.getDay()+1),n=new Date(e.tm_year+1900,e.tm_mon,e.tm_mday);if(l(r,n)<0){const e=Wr(Vr(n.getFullYear())?zr:$r,n.getMonth()-1)-31,t=31-r.getDate()+e+n.getDate();return u(Math.ceil(t/7),2)}return 0===l(r,t)?"01":"00"},"%y":e=>(e.tm_year+1900).toString().substring(2),"%Y":e=>e.tm_year+1900,"%z"(e){let t=e.tm_gmtoff;const r=t>=0;return t=Math.abs(t)/60,t=t/60*100+t%60,(r?"+":"-")+String(`0000${t}`).slice(-4)},"%Z":e=>e.tm_zone,"%%":()=>"%"};for(var A in p)a.includes(A)&&(a=a.replace(new RegExp(A,"g"),p[A](i)));const h=an(a,!1);return h.length>t?0:(Y(h,e),h.length-1)}r.requestFullscreen=function(e,t){Me.requestFullscreen(e,t)},r.requestFullScreen=function(){Me.requestFullScreen()},r.requestAnimationFrame=function(e){Me.requestAnimationFrame(e)},r.setCanvasSize=function(e,t,r){Me.setCanvasSize(e,t,r)},r.pauseMainLoop=function(){Me.mainLoop.pause()},r.resumeMainLoop=function(){Me.mainLoop.resume()},r.getUserMedia=function(){Me.getUserMedia()},r.createContext=function(e,t,r,n){return Me.createContext(e,t,r,n)};const Zr=function(e,t,r,n){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=Ke.nextInode++,this.name=t,this.mode=r,this.node_ops={},this.stream_ops={},this.rdev=n},qr=365,en=146;let tn;Object.defineProperties(Zr.prototype,{read:{get(){return(this.mode&qr)===qr},set(e){e?this.mode|=qr:this.mode&=-366}},write:{get(){return(this.mode&en)===en},set(e){e?this.mode|=en:this.mode&=-147}},isFolder:{get(){return Ke.isDir(this.mode)}},isDevice:{get(){return Ke.isChrdev(this.mode)}}}),Ke.FSNode=Zr,Ke.staticInit(),r.FS_createPath=Ke.createPath,r.FS_createDataFile=Ke.createDataFile,r.FS_createPreloadedFile=Ke.createPreloadedFile,r.FS_createLazyFile=Ke.createLazyFile,r.FS_createDevice=Ke.createDevice,r.FS_unlink=Ke.unlink,r.count_emval_handles=rt,r.get_first_emval=nt,at=r.PureVirtualError=it(Error,"PureVirtualError"),function(){const e=new Array(256);for(let t=0;t<256;++t)e[t]=String.fromCharCode(t);st=e}(),r.getInheritedInstanceCount=ct,r.getLiveInheritedInstances=gt,r.flushPendingDeletes=ut,r.setDelayFunction=Et,pt=r.BindingError=it(Error,"BindingError"),Rt=r.InternalError=it(Error,"InternalError"),Gt.prototype.isAliasOf=kt,Gt.prototype.clone=Ut,Gt.prototype.delete=jt,Gt.prototype.isDeleted=Lt,Gt.prototype.deleteLater=Ht,or.prototype.getPointee=Zt,or.prototype.destructor=qt,or.prototype.argPackAdvance=8,or.prototype.readValueFromPointer=Tt,or.prototype.deleteObject=er,or.prototype.fromWireType=nr,Ar=r.UnboundTypeError=it(Error,"UnboundTypeError");for(var rn=0;rn<32;++rn)Sr.push(new Array(rn));const nn=new Float32Array(288);for(rn=0;rn<288;++rn)Gr[rn]=nn.subarray(0,rn+1);const on=new Int32Array(288);for(rn=0;rn<288;++rn)Yr[rn]=on.subarray(0,rn+1);function an(e,t,r){const n=r>0?r:F(e)+1,o=new Array(n),i=M(e,o,0,o.length);return t&&(o.length=i),o}"function"==typeof atob&&atob;var sn={HaveOffsetConverter:function(){return"undefined"!=typeof wasmOffsetConverter},__cxa_allocate_exception:function(e){return cn(e+16)+16},__cxa_atexit:function(e,t){},__cxa_begin_catch:function(e){const t=new ke(e),r=t.get_exception_info();return r.get_caught()||r.set_caught(!0),r.set_rethrown(!1),xe.push(t),function(e){e.add_ref()}(r),t.get_exception_ptr()},__cxa_end_catch:function(){mn(0),T(xe.length>0);const e=xe.pop();!function(e){if(e.release_ref()&&!e.get_rethrown()){const t=e.get_destructor();t&&ne.get(t)(e.excPtr),je(e.excPtr)}}(e.get_exception_info()),e.free(),Ue=0},__cxa_find_matching_catch_2:function(){const e=Ue;if(!e)return w(0),0;const t=new Ne(e).get_type(),r=new ke;if(r.set_base_ptr(e),r.set_adjusted_ptr(e),!t)return w(0),0|r.ptr;const n=Array.prototype.slice.call(arguments);for(let e=0;e<n.length;e++){const o=n[e];if(0===o||o===t)break;if(Cn(o,t,r.get_adjusted_ptr_addr()))return w(o),0|r.ptr}return w(t),0|r.ptr},__cxa_find_matching_catch_3:function(){const e=Ue;if(!e)return w(0),0;const t=new Ne(e).get_type(),r=new ke;if(r.set_base_ptr(e),r.set_adjusted_ptr(e),!t)return w(0),0|r.ptr;const n=Array.prototype.slice.call(arguments);for(let e=0;e<n.length;e++){const o=n[e];if(0===o||o===t)break;if(Cn(o,t,r.get_adjusted_ptr_addr()))return w(o),0|r.ptr}return w(t),0|r.ptr},__cxa_free_exception:je,__cxa_rethrow:function(){const e=xe.pop();e||Ce("no exception to throw");const t=e.get_exception_info(),r=e.get_base_ptr();throw t.get_rethrown()?e.free():(xe.push(e),t.set_rethrown(!0),t.set_caught(!1)),Ue=r,`${r} - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch.`},__cxa_thread_atexit:function(e,t){},__cxa_throw:function(e,t,r){throw new Ne(e).init(t,r),Ue=e,`${e} - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch.`},__resumeException:function(e){const t=new ke(e),r=t.get_base_ptr();throw Ue||(Ue=r),t.free(),`${r} - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch.`},__sys_fcntl64:function(e,t,r){Je.varargs=r;try{const r=Je.getStreamFromFD(e);switch(t){case 0:{if((n=Je.get())<0)return-28;let e;return e=Ke.open(r.path,r.flags,0,n),e.fd}case 1:case 2:case 13:case 14:return 0;case 3:return r.flags;case 4:var n=Je.get();return r.flags|=n,0;case 12:n=Je.get();return z[n+0>>1]=2,0;case 16:case 8:default:return-28;case 9:return Le(28),-1}}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),-e.errno}},__sys_ioctl:function(e,t,r){Je.varargs=r;try{const r=Je.getStreamFromFD(e);switch(t){case 21509:case 21505:case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:case 21523:case 21524:return r.tty?0:-59;case 21519:if(!r.tty)return-59;var n=Je.get();return K[n>>2]=0,0;case 21520:return r.tty?-28:-59;case 21531:n=Je.get();return Ke.ioctl(r,t,n);default:Ce(`bad ioctl syscall ${t}`)}}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),-e.errno}},__sys_mmap2:function(e,t,r,n,o,i){try{return function(e,t,r,n,o,i){let a;i<<=12;let s=!1;if(16&n&&e%65536!=0)return-28;if(32&n){if(a=Ve(t),!a)return-48;s=!0}else{const A=Ke.getStream(o);if(!A)return-8;const c=Ke.mmap(A,e,t,i,r,n);a=c.ptr,s=c.allocated}return Je.mappings[a]={malloc:a,len:t,allocated:s,fd:o,prot:r,flags:n,offset:i},a}(e,t,r,n,o,i)}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),-e.errno}},__sys_open:function(e,t,r){Je.varargs=r;try{const n=Je.getStr(e),o=r?Je.get():0;return Ke.open(n,t,o).fd}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),-e.errno}},__sys_stat64:function(e,t){try{return e=Je.getStr(e),Je.doStat(Ke.stat,e,t)}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),-e.errno}},_embind_create_inheriting_constructor:function(e,t,r){e=At(e),t=_t(t,"wrapper"),r=mt(r);const n=[].slice,{registeredClass:o}=t,i=o.instancePrototype,{baseClass:a}=o,s=a.instancePrototype,A=o.baseClass.constructor,c=qe(e,(function(){o.baseClass.pureVirtualFunctions.forEach((e=>{if(this[e]===s[e])throw new at(`Pure virtual function ${e} must be implemented in JavaScript`)})),Object.defineProperty(this,"__parent",{value:i}),this.__construct.apply(this,n.call(arguments))}));i.__construct=function(){this===i&&ht("Pass correct 'this' to __construct");const e=A.implement.apply(void 0,[this].concat(n.call(arguments)));wt(e);const{$$:t}=e;var r,a,s;e.notifyOnDestruction(),t.preservePointerOnDelete=!0,Object.defineProperties(this,{$$:{value:t}}),Ot(this),r=o,a=t.ptr,s=this,a=It(r,a),ft.hasOwnProperty(a)?ht(`Tried to register registered instance: ${a}`):ft[a]=s},i.__destruct=function(){var e,t;this===i&&ht("Pass correct 'this' to __destruct"),wt(this),e=o,t=this.$$.ptr,t=It(e,t),ft.hasOwnProperty(t)?delete ft[t]:ht(`Tried to unregister unregistered instance: ${t}`)},c.prototype=Object.create(i);for(const e in r)c.prototype[e]=r[e];return ot(c)},_embind_finalize_value_object:function(e){const t=bt[e];delete bt[e];const{rawConstructor:r}=t,{rawDestructor:n}=t,o=t.fields;St([e],o.map((e=>e.getterReturnType)).concat(o.map((e=>e.setterArgumentType))),(e=>{const i={};return o.forEach(((t,r)=>{const{fieldName:n}=t,a=e[r],{getter:s}=t,{getterContext:A}=t,c=e[r+o.length],{setter:g}=t,{setterContext:d}=t;i[n]={read:e=>a.fromWireType(s(A,e)),write(e,t){const r=[];g(d,e,c.toWireType(r,t)),Qt(r)}}})),[{name:t.name,fromWireType(e){const t={};for(const r in i)t[r]=i[r].read(e);return n(e),t},toWireType(e,t){for(var o in i)if(!(o in t))throw new TypeError(`Missing field: "${o}"`);const a=r();for(o in i)i[o].write(a,t[o]);return null!==e&&e.push(n,a),a},argPackAdvance:8,readValueFromPointer:Tt,destructorFunction:n}]}))},_embind_register_bigint:function(e,t,r,n,o){},_embind_register_bool:function(e,t,r,n,o){const i=Ft(r);Nt(e,{name:t=At(t),fromWireType:e=>!!e,toWireType:(e,t)=>t?n:o,argPackAdvance:8,readValueFromPointer(e){let n;if(1===r)n=V;else if(2===r)n=z;else{if(4!==r)throw new TypeError(`Unknown boolean type size: ${t}`);n=K}return this.fromWireType(n[e>>i])},destructorFunction:null})},_embind_register_class:function(e,t,r,n,o,i,a,s,A,c,g,d,u){g=At(g),i=sr(o,i),s&&(s=sr(a,s)),c&&(c=sr(A,c)),u=sr(d,u);const l=Ze(g);Vt(l,(()=>{cr(`Cannot construct ${g} due to unbound types`,[n])})),St([e,t,r],n?[n]:[],(t=>{let r,o;t=t[0],n?(r=t.registeredClass,o=r.instancePrototype):o=Gt.prototype;const a=qe(l,(function(){if(Object.getPrototypeOf(this)!==A)throw new pt(`Use 'new' to construct ${g}`);if(void 0===d.constructor_body)throw new pt(`${g} has no accessible constructor`);const e=d.constructor_body[arguments.length];if(void 0===e)throw new pt(`Tried to invoke ctor of ${g} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(d.constructor_body).toString()}) parameters instead!`);return e.apply(this,arguments)}));var A=Object.create(o,{constructor:{value:a}});a.prototype=A;var d=new Wt(g,a,A,u,r,i,s,c);const E=new or(g,d,!0,!1,!1),f=new or(`${g}*`,d,!1,!1,!1),p=new or(`${g} const*`,d,!1,!0,!1);return Yt[e]={pointerType:f,constPointerType:p},ir(l,a),[E,f,p]}))},_embind_register_class_class_function:function(e,t,r,n,o,i,a){const s=ur(r,n);t=At(t),i=sr(o,i),St([],[e],(e=>{const n=`${(e=e[0]).name}.${t}`;function o(){cr(`Cannot call ${n} due to unbound types`,s)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]);const A=e.registeredClass.constructor;return void 0===A[t]?(o.argCount=r-1,A[t]=o):(Xt(A,t,n),A[t].overloadTable[r-1]=o),St([],s,(e=>{const o=[e[0],null].concat(e.slice(1)),s=dr(n,o,null,i,a);return void 0===A[t].overloadTable?(s.argCount=r-1,A[t]=s):A[t].overloadTable[r-1]=s,[]})),[]}))},_embind_register_class_constructor:function(e,t,r,n,o,i){T(t>0);const a=ur(t,r);o=sr(n,o),St([],[e],(e=>{const r=`constructor ${(e=e[0]).name}`;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new pt(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.registeredClass.constructor_body[t-1]=function(){cr(`Cannot construct ${e.name} due to unbound types`,a)},St([],a,(n=>(n.splice(1,0,null),e.registeredClass.constructor_body[t-1]=dr(r,n,null,o,i),[]))),[]}))},_embind_register_class_function:function(e,t,r,n,o,i,a,s){const A=ur(r,n);t=At(t),i=sr(o,i),St([],[e],(e=>{const n=`${(e=e[0]).name}.${t}`;function o(){cr(`Cannot call ${n} due to unbound types`,A)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(t);const c=e.registeredClass.instancePrototype,g=c[t];return void 0===g||void 0===g.overloadTable&&g.className!==e.name&&g.argCount===r-2?(o.argCount=r-2,o.className=e.name,c[t]=o):(Xt(c,t,n),c[t].overloadTable[r-2]=o),St([],A,(o=>{const s=dr(n,o,e,i,a);return void 0===c[t].overloadTable?(s.argCount=r-2,c[t]=s):c[t].overloadTable[r-2]=s,[]})),[]}))},_embind_register_class_property:function(e,t,r,n,o,i,a,s,A,c){t=At(t),o=sr(n,o),St([],[e],(e=>{const n=`${(e=e[0]).name}.${t}`,g={get(){cr(`Cannot access ${n} due to unbound types`,[r,a])},enumerable:!0,configurable:!0};return g.set=A?function(){cr(`Cannot access ${n} due to unbound types`,[r,a])}:function(e){ht(`${n} is a read-only property`)},Object.defineProperty(e.registeredClass.instancePrototype,t,g),St([],A?[r,a]:[r],(r=>{const a=r[0],g={get(){const t=lr(this,e,`${n} getter`);return a.fromWireType(o(i,t))},enumerable:!0};if(A){A=sr(s,A);const t=r[1];g.set=function(r){const o=lr(this,e,`${n} setter`),i=[];A(c,o,t.toWireType(i,r)),Qt(i)}}return Object.defineProperty(e.registeredClass.instancePrototype,t,g),[]})),[]}))},_embind_register_emval:function(e,t){Nt(e,{name:t=At(t),fromWireType(e){const t=tt[e].value;return Er(e),t},toWireType:(e,t)=>ot(t),argPackAdvance:8,readValueFromPointer:Tt,destructorFunction:null})},_embind_register_float:function(e,t,r){const n=Ft(r);Nt(e,{name:t=At(t),fromWireType:e=>e,toWireType(e,t){if("number"!=typeof t&&"boolean"!=typeof t)throw new TypeError(`Cannot convert "${fr(t)}" to ${this.name}`);return t},argPackAdvance:8,readValueFromPointer:pr(t,n),destructorFunction:null})},_embind_register_function:function(e,t,r,n,o,i){const a=ur(t,r);e=At(e),o=sr(n,o),Vt(e,(()=>{cr(`Cannot call ${e} due to unbound types`,a)}),t-1),St([],a,(r=>{const n=[r[0],null].concat(r.slice(1));return ir(e,dr(e,n,null,o,i),t-1),[]}))},_embind_register_integer:function(e,t,r,n,o){t=At(t),-1===o&&(o=4294967295);const i=Ft(r);let a=function(e){return e};if(0===n){const e=32-8*r;a=function(t){return t<<e>>>e}}const s=t.includes("unsigned");Nt(e,{name:t,fromWireType:a,toWireType(e,r){if("number"!=typeof r&&"boolean"!=typeof r)throw new TypeError(`Cannot convert "${fr(r)}" to ${this.name}`);if(r<n||r>o)throw new TypeError(`Passing a number "${fr(r)}" from JS side to C/C++ side to an argument of type "${t}", which is outside the valid range [${n}, ${o}]!`);return s?r>>>0:0|r},argPackAdvance:8,readValueFromPointer:hr(t,i,0!==n),destructorFunction:null})},_embind_register_memory_view:function(e,t,r){const n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function o(e){const t=J,r=t[e>>=2],o=t[e+1];return new n(X,o,r)}Nt(e,{name:r=At(r),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},_embind_register_std_string:function(e,t){const r="std::string"===(t=At(t));Nt(e,{name:t,fromWireType(e){const t=J[e>>2];let n;if(r){let r=e+4;for(var o=0;o<=t;++o){const i=e+4+o;if(o==t||0==W[i]){const e=R(r,i-r);void 0===n?n=e:(n+=String.fromCharCode(0),n+=e),r=i+1}}}else{const r=new Array(t);for(o=0;o<t;++o)r[o]=String.fromCharCode(W[e+4+o]);n=r.join("")}return An(e),n},toWireType(e,t){let n;t instanceof ArrayBuffer&&(t=new Uint8Array(t));const o="string"==typeof t;o||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||ht("Cannot pass non-string to std::string"),n=r&&o?function(){return F(t)}:function(){return t.length};const i=n(),a=cn(4+i+1);if(J[a>>2]=i,r&&o)S(t,a+4,i+1);else if(o)for(var s=0;s<i;++s){const e=t.charCodeAt(s);e>255&&(An(a),ht("String has UTF-16 code units that do not fit in 8 bits")),W[a+4+s]=e}else for(s=0;s<i;++s)W[a+4+s]=t[s];return null!==e&&e.push(An,a),a},argPackAdvance:8,readValueFromPointer:Tt,destructorFunction(e){An(e)}})},_embind_register_std_wstring:function(e,t,r){let n,o,i,a,s;r=At(r),2===t?(n=k,o=x,a=U,i=function(){return $},s=1):4===t&&(n=j,o=L,a=H,i=function(){return J},s=2),Nt(e,{name:r,fromWireType(e){const r=J[e>>2],o=i();let a,A=e+4;for(let i=0;i<=r;++i){const c=e+4+i*t;if(i==r||0==o[c>>s]){const e=n(A,c-A);void 0===a?a=e:(a+=String.fromCharCode(0),a+=e),A=c+t}}return An(e),a},toWireType(e,n){"string"!=typeof n&&ht(`Cannot pass non-string to C++ string type ${r}`);const i=a(n),A=cn(4+i+t);return J[A>>2]=i>>s,o(n,A+4,i+t),null!==e&&e.push(An,A),A},argPackAdvance:8,readValueFromPointer:Tt,destructorFunction(e){An(e)}})},_embind_register_value_object:function(e,t,r,n,o,i){bt[e]={name:At(t),rawConstructor:sr(r,n),rawDestructor:sr(o,i),fields:[]}},_embind_register_value_object_field:function(e,t,r,n,o,i,a,s,A,c){bt[e].fields.push({fieldName:At(t),getterReturnType:r,getter:sr(n,o),getterContext:i,setterArgumentType:a,setter:sr(s,A),setterContext:c})},_embind_register_void:function(e,t){Nt(e,{isVoid:!0,name:t=At(t),argPackAdvance:0,fromWireType(){},toWireType(e,t){}})},_emval_call_void_method:function(e,t,r,n){(e=mr[e])(t=mt(t),r=function(e){const t=Ir[e];return void 0===t?At(e):t}(r),null,n)},_emval_decref:Er,_emval_get_method_caller:function(e,t){const r=function(e,t){const r=new Array(e);for(let n=0;n<e;++n)r[n]=_t(K[(t>>2)+n],`parameter ${n}`);return r}(e,t),n=r[0],o=`${n.name}_$${r.slice(1).map((e=>e.name)).join("_")}$`,i=["retType"],a=[n];let s="";for(var A=0;A<e-1;++A)s+=`${0!==A?", ":""}arg${A}`,i.push(`argType${A}`),a.push(r[1+A]);let c=`return function ${Ze(`methodCaller_${o}`)}(handle, name, destructors, args) {\n`,g=0;for(A=0;A<e-1;++A)c+=` var arg${A} = argType${A}.readValueFromPointer(args${g?`+${g}`:""});\n`,g+=r[A+1].argPackAdvance;for(c+=` var rv = handle[name](${s});\n`,A=0;A<e-1;++A)r[A+1].deleteObject&&(c+=` argType${A}.deleteObject(arg${A});\n`);return n.isVoid||(c+=" return retType.toWireType(destructors, rv);\n"),c+="};\n",i.push(c),function(e){const t=mr.length;return mr.push(e),t}(gr(Function,i).apply(null,a))},_emval_incref:function(e){e>4&&(tt[e].refcount+=1)},_emval_take_value:function(e,t){return ot((e=_t(e,"_emval_take_value")).readValueFromPointer(t))},abort:function(){Ce()},clock_gettime:function(e,t){let r;if(0===e)r=Date.now();else{if(1!==e&&4!==e)return Le(28),-1;r=Qe()}return K[t>>2]=r/1e3|0,K[t+4>>2]=r%1e3*1e3*1e3|0,0},dlopen:function(e,t){Ce("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")},dlsym:function(e,t){Ce("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")},emscripten_asm_const_int:function(e,t,r){const n=function(e,t){let r;for(T(Array.isArray(Cr)),T(t%16==0),Cr.length=0,t>>=2;r=W[e++];){T(100===r||102===r||105===r);const e=r<105;e&&1&t&&t++,Cr.push(e?q[t++>>1]:K[t]),++t}return Cr}(t,r);return Oe.hasOwnProperty(e)||Ce(`No EM_ASM constant found at address ${e}`),Oe[e].apply(null,n)},emscripten_get_heap_max:function(){return 2147483648},emscripten_memcpy_big:function(e,t,r){W.copyWithin(e,t,t+r)},emscripten_pc_get_function:function(e){Ce("Cannot use emscripten_pc_get_function without -s USE_OFFSET_CONVERTER")},emscripten_resize_heap:function(e){const t=W.length;T((e>>>=0)>t);const r=2147483648;if(e>r)return C(`Cannot enlarge memory, asked to go up to ${e} bytes, but the limit is 2147483648 bytes!`),!1;for(let a=1;a<=4;a*=2){let s=t*(1+.2/a);s=Math.min(s,e+100663296);var n=Math.min(r,((o=Math.max(e,s))%(i=65536)>0&&(o+=i-o%i),o));if(yr(n))return!0}var o,i;return C(`Failed to grow the heap from ${t} bytes to ${n} bytes, not enough memory!`),!1},emscripten_stack_snapshot:function(){const e=(new Error).stack.split("\n");return"Error"==e[0]&&e.shift(),Br(e),wr.last_addr=_r(e[2]),wr.last_stack=e,wr.last_addr},emscripten_stack_unwind_buffer:function(e,t,r){let n;wr.last_addr==e?n=wr.last_stack:(n=(new Error).stack.split("\n"),"Error"==n[0]&&n.shift(),Br(n));let o=2;for(;n[o]&&_r(n[o])!=e;)++o;for(var i=0;i<r&&n[i+o];++i)K[t+4*i>>2]=_r(n[i+o]);return i},emscripten_thread_sleep:function(e){const t=Qe();for(;Qe()-t<e;);},emscripten_webgl_create_context:function(e,t){return function(e,t){T(t);const r=t>>2,n=K[r+6],o={alpha:!!K[r+0],depth:!!K[r+1],stencil:!!K[r+2],antialias:!!K[r+3],premultipliedAlpha:!!K[r+4],preserveDrawingBuffer:!!K[r+5],powerPreference:br[n],failIfMajorPerformanceCaveat:!!K[r+7],majorVersion:K[r+8],minorVersion:K[r+9],enableExtensionsByDefault:K[r+10],explicitSwapControl:K[r+11],proxyContextToMainThread:K[r+12],renderViaOffscreenBackBuffer:K[r+13]};let i=Tr(e);if(!i)return 0;if(i.offscreenCanvas&&(i=i.offscreenCanvas),o.explicitSwapControl&&(i.transferControlToOffscreen||"undefined"!=typeof OffscreenCanvas&&i instanceof OffscreenCanvas||o.renderViaOffscreenBackBuffer||(o.renderViaOffscreenBackBuffer=!0),i.transferControlToOffscreen)){if(i.controlTransferredOffscreen){if(!Dr.offscreenCanvases[i.id])return 0}else Dr.offscreenCanvases[i.id]={canvas:i.transferControlToOffscreen(),canvasSharedPtr:cn(12),id:i.id},i.controlTransferredOffscreen=!0;i=Dr.offscreenCanvases[i.id]}return Dr.createContext(i,o)}(e,t)},emscripten_webgl_destroy_context:function(e){Dr.currentContext==e&&(Dr.currentContext=0),Dr.deleteContext(e)},emscripten_webgl_get_context_attributes:function(e,t){if(!t)return-5;if(!(e=Dr.contexts[e]))return-3;let r=e.GLctx;if(!r)return-3;r=r.getContextAttributes(),K[t>>2]=r.alpha,K[t+4>>2]=r.depth,K[t+8>>2]=r.stencil,K[t+12>>2]=r.antialias,K[t+16>>2]=r.premultipliedAlpha,K[t+20>>2]=r.preserveDrawingBuffer;const n=r.powerPreference&&br.indexOf(r.powerPreference);return K[t+24>>2]=n,K[t+28>>2]=r.failIfMajorPerformanceCaveat,K[t+32>>2]=e.version,K[t+36>>2]=0,K[t+40>>2]=e.attributes.enableExtensionsByDefault,0},emscripten_webgl_get_current_context:vr,emscripten_webgl_init_context_attributes:function(e){T(e);const t=e>>2;for(let e=0;e<14;++e)K[t+e]=0;K[t+0]=K[t+1]=K[t+3]=K[t+4]=K[t+8]=K[t+10]=1},emscripten_webgl_make_context_current:Pr,environ_get:function(e,t){let r=0;return Mr().forEach(((n,o)=>{const i=t+r;K[e+4*o>>2]=i,function(e,t,r){for(let r=0;r<e.length;++r)T(e.charCodeAt(r)==e.charCodeAt(r)&255),V[0|t++]=e.charCodeAt(r);r||(V[0|t]=0)}(n,i),r+=n.length+1})),0},environ_sizes_get:function(e,t){const r=Mr();K[e>>2]=r.length;let n=0;return r.forEach((e=>{n+=e.length+1})),K[t>>2]=n,0},exit:Te,fd_close:function(e){try{const t=Je.getStreamFromFD(e);return Ke.close(t),0}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),e.errno}},fd_read:function(e,t,r,n){try{const o=Je.getStreamFromFD(e),i=Je.doReadv(o,t,r);return K[n>>2]=i,0}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),e.errno}},fd_seek:function(e,t,r,n,o){try{const i=Je.getStreamFromFD(e),a=r*4294967296+(t>>>0),s=9007199254740992;return a<=-s||a>=s?-61:(Ke.llseek(i,a,n),De=[i.position>>>0,(Be=i.position,+Math.abs(Be)>=1?Be>0?(0|Math.min(+Math.floor(Be/4294967296),4294967295))>>>0:~~+Math.ceil((Be-+(~~Be>>>0))/4294967296)>>>0:0)],K[o>>2]=De[0],K[o+4>>2]=De[1],i.getdents&&0===a&&0===n&&(i.getdents=null),0)}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),e.errno}},fd_write:function(e,t,r,n){try{const o=Je.getStreamFromFD(e),i=Je.doWritev(o,t,r);return K[n>>2]=i,0}catch(e){return void 0!==Ke&&e instanceof Ke.ErrnoError||Ce(e),e.errno}},getTempRet0:function(){return _},getentropy:function e(t,r){e.randomDevice||(e.randomDevice=Ge());for(let n=0;n<r;n++)V[t+n|0]=e.randomDevice();return 0},glActiveTexture:function(e){tn.activeTexture(e)},glAttachShader:function(e,t){tn.attachShader(Dr.programs[e],Dr.shaders[t])},glBindAttribLocation:function(e,t,r){tn.bindAttribLocation(Dr.programs[e],t,R(r))},glBindBuffer:function(e,t){34962==e?tn.currentArrayBufferBinding=t:34963==e&&(tn.currentElementArrayBufferBinding=t),35051==e?tn.currentPixelPackBufferBinding=t:35052==e&&(tn.currentPixelUnpackBufferBinding=t),tn.bindBuffer(e,Dr.buffers[t])},glBindBufferBase:function(e,t,r){tn.bindBufferBase(e,t,Dr.buffers[r])},glBindFramebuffer:function(e,t){tn.bindFramebuffer(e,t?Dr.framebuffers[t]:Dr.currentContext.defaultFbo)},glBindTexture:function(e,t){tn.bindTexture(e,Dr.textures[t])},glBindVertexArray:function(e){tn.bindVertexArray(Dr.vaos[e]);const t=tn.getParameter(34965);tn.currentElementArrayBufferBinding=t?0|t.name:0},glBufferData:function(e,t,r,n){Dr.currentContext.version>=2?r?tn.bufferData(e,W,n,r,t):tn.bufferData(e,t,n):tn.bufferData(e,r?W.subarray(r,r+t):t,n)},glClientWaitSync:function(e,t,r,n){return tn.clientWaitSync(Dr.syncs[e],t,(o=r,T((i=n)===(0|i)),(o>>>0)+4294967296*i));var o,i},glCompileShader:function(e){tn.compileShader(Dr.shaders[e])},glCreateProgram:function(){const e=Dr.getNewId(Dr.programs),t=tn.createProgram();return t.name=e,t.maxUniformLength=t.maxAttributeLength=t.maxUniformBlockNameLength=0,t.uniformIdCounter=1,Dr.programs[e]=t,e},glCreateShader:function(e){const t=Dr.getNewId(Dr.shaders);return Dr.shaders[t]=tn.createShader(e),t},glDeleteBuffers:function(e,t){for(let r=0;r<e;r++){const e=K[t+4*r>>2],n=Dr.buffers[e];n&&(tn.deleteBuffer(n),n.name=0,Dr.buffers[e]=null,e==tn.currentArrayBufferBinding&&(tn.currentArrayBufferBinding=0),e==tn.currentElementArrayBufferBinding&&(tn.currentElementArrayBufferBinding=0),e==tn.currentPixelPackBufferBinding&&(tn.currentPixelPackBufferBinding=0),e==tn.currentPixelUnpackBufferBinding&&(tn.currentPixelUnpackBufferBinding=0))}},glDeleteFramebuffers:function(e,t){for(let r=0;r<e;++r){const e=K[t+4*r>>2],n=Dr.framebuffers[e];n&&(tn.deleteFramebuffer(n),n.name=0,Dr.framebuffers[e]=null)}},glDeleteProgram:function(e){if(!e)return;const t=Dr.programs[e];t?(tn.deleteProgram(t),t.name=0,Dr.programs[e]=null):Dr.recordError(1281)},glDeleteShader:function(e){if(!e)return;const t=Dr.shaders[e];t?(tn.deleteShader(t),Dr.shaders[e]=null):Dr.recordError(1281)},glDeleteSync:function(e){if(!e)return;const t=Dr.syncs[e];t?(tn.deleteSync(t),t.name=0,Dr.syncs[e]=null):Dr.recordError(1281)},glDeleteTextures:function(e,t){for(let r=0;r<e;r++){const e=K[t+4*r>>2],n=Dr.textures[e];n&&(tn.deleteTexture(n),n.name=0,Dr.textures[e]=null)}},glDeleteVertexArrays:function(e,t){for(let r=0;r<e;r++){const e=K[t+4*r>>2];tn.deleteVertexArray(Dr.vaos[e]),Dr.vaos[e]=null}},glDisable:function(e){tn.disable(e)},glDisableVertexAttribArray:function(e){Dr.currentContext.clientBuffers[e].enabled=!1,tn.disableVertexAttribArray(e)},glDrawArrays:function(e,t,r){Dr.preDrawHandleClientVertexAttribBindings(t+r),tn.drawArrays(e,t,r),Dr.postDrawHandleClientVertexAttribBindings()},glDrawBuffers:function(e,t){const r=Sr[e];for(let n=0;n<e;n++)r[n]=K[t+4*n>>2];tn.drawBuffers(r)},glEnableVertexAttribArray:function(e){Dr.currentContext.clientBuffers[e].enabled=!0,tn.enableVertexAttribArray(e)},glFenceSync:function(e,t){const r=tn.fenceSync(e,t);if(r){const e=Dr.getNewId(Dr.syncs);return r.name=e,Dr.syncs[e]=r,e}return 0},glFinish:function(){tn.finish()},glFlush:function(){tn.flush()},glFramebufferTexture2D:function(e,t,r,n,o){tn.framebufferTexture2D(e,t,r,Dr.textures[n],o)},glFramebufferTextureLayer:function(e,t,r,n,o){tn.framebufferTextureLayer(e,t,Dr.textures[r],n,o)},glGenBuffers:function(e,t){Fr(e,t,"createBuffer",Dr.buffers)},glGenFramebuffers:function(e,t){Fr(e,t,"createFramebuffer",Dr.framebuffers)},glGenTextures:function(e,t){Fr(e,t,"createTexture",Dr.textures)},glGenVertexArrays:function(e,t){Fr(e,t,"createVertexArray",Dr.vaos)},glGetAttribLocation:function(e,t){return tn.getAttribLocation(Dr.programs[e],R(t))},glGetError:function(){const e=tn.getError()||Dr.lastError;return Dr.lastError=0,e},glGetIntegerv:function(e,t){!function(e,t,r){if(!t)return void Dr.recordError(1281);let n;switch(e){case 36346:n=1;break;case 36344:return void(0!=r&&1!=r&&Dr.recordError(1280));case 34814:case 36345:n=0;break;case 34466:var o=tn.getParameter(34467);n=o?o.length:0;break;case 33309:if(Dr.currentContext.version<2)return void Dr.recordError(1282);n=2*(tn.getSupportedExtensions()||[]).length;break;case 33307:case 33308:if(Dr.currentContext.version<2)return void Dr.recordError(1280);n=33307==e?3:0}if(void 0===n){const o=tn.getParameter(e);switch(typeof o){case"number":n=o;break;case"boolean":n=o?1:0;break;case"string":return void Dr.recordError(1280);case"object":if(null===o)switch(e){case 34964:case 35725:case 34965:case 36006:case 36007:case 32873:case 34229:case 36662:case 36663:case 35053:case 35055:case 36010:case 35097:case 35869:case 32874:case 36389:case 35983:case 35368:case 34068:n=0;break;default:return void Dr.recordError(1280)}else{if(o instanceof Float32Array||o instanceof Uint32Array||o instanceof Int32Array||o instanceof Array){for(let e=0;e<o.length;++e)switch(r){case 0:K[t+4*e>>2]=o[e];break;case 2:Z[t+4*e>>2]=o[e];break;case 4:V[t+e|0]=o[e]?1:0}return}try{n=0|o.name}catch(t){return Dr.recordError(1280),void C(`GL_INVALID_ENUM in glGet${r}v: Unknown object returned from WebGL getParameter(${e})! (error: ${t})`)}}break;default:return Dr.recordError(1280),void C(`GL_INVALID_ENUM in glGet${r}v: Native code calling glGet${r}v(${e}) and it returns ${o} of type ${typeof o}!`)}}switch(r){case 1:Nr(t,n);break;case 0:K[t>>2]=n;break;case 2:Z[t>>2]=n;break;case 4:V[0|t]=n?1:0}}(e,t,0)},glGetString:function(e){let t=Dr.stringCache[e];if(!t){switch(e){case 7939:var r=tn.getSupportedExtensions()||[];t=kr((r=r.concat(r.map((e=>`GL_${e}`)))).join(" "));break;case 7936:case 7937:case 37445:case 37446:var n=tn.getParameter(e);n||Dr.recordError(1280),t=n&&kr(n);break;case 7938:var o=tn.getParameter(7938);t=kr(o=Dr.currentContext.version>=2?`OpenGL ES 3.0 (${o})`:`OpenGL ES 2.0 (${o})`);break;case 35724:var i=tn.getParameter(35724),a=i.match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);null!==a&&(3==a[1].length&&(a[1]=`${a[1]}0`),i=`OpenGL ES GLSL ES ${a[1]} (${i})`),t=kr(i);break;default:Dr.recordError(1280)}Dr.stringCache[e]=t}return t},glGetUniformBlockIndex:function(e,t){return tn.getUniformBlockIndex(Dr.programs[e],R(t))},glGetUniformLocation:function(e,t){if(t=R(t),e=Dr.programs[e]){!function(e){let{uniformLocsById:t}=e;const{uniformSizeAndIdsByName:r}=e;let n,o;if(!t)for(e.uniformLocsById=t={},e.uniformArrayNamesById={},n=0;n<tn.getProgramParameter(e,35718);++n){const i=tn.getActiveUniform(e,n),a=i.name,s=i.size,A=xr(a),c=A>0?a.slice(0,A):a;let g=e.uniformIdCounter;for(e.uniformIdCounter+=s,r[c]=[s,g],o=0;o<s;++o)t[g]=o,e.uniformArrayNamesById[g++]=c}}(e);const{uniformLocsById:n}=e;let o=0,i=t;const a=xr(t);a>0&&(r=t.slice(a+1),o=parseInt(r)>>>0,i=t.slice(0,a));const s=e.uniformSizeAndIdsByName[i];if(s&&o<s[0]&&(o+=s[1],n[o]=n[o]||tn.getUniformLocation(e,t)))return o}else Dr.recordError(1281);var r;return-1},glLinkProgram:function(e){e=Dr.programs[e],tn.linkProgram(e),e.uniformLocsById=0,e.uniformSizeAndIdsByName={}},glPixelStorei:function(e,t){3317==e&&(Dr.unpackAlignment=t),tn.pixelStorei(e,t)},glReadPixels:function(e,t,r,n,o,i,a){if(Dr.currentContext.version>=2){if(tn.currentPixelPackBufferBinding)tn.readPixels(e,t,r,n,o,i,a);else{const s=Ur(i);tn.readPixels(e,t,r,n,o,i,s,a>>jr(s))}return}const s=Lr(i,o,r,n,a);s?tn.readPixels(e,t,r,n,o,i,s):Dr.recordError(1280)},glShaderSource:function(e,t,r,n){const o=Dr.getSource(e,t,r,n);tn.shaderSource(Dr.shaders[e],o)},glTexImage2D:function(e,t,r,n,o,i,a,s,A){if(Dr.currentContext.version>=2)if(tn.currentPixelUnpackBufferBinding)tn.texImage2D(e,t,r,n,o,i,a,s,A);else if(A){const c=Ur(s);tn.texImage2D(e,t,r,n,o,i,a,s,c,A>>jr(c))}else tn.texImage2D(e,t,r,n,o,i,a,s,null);else tn.texImage2D(e,t,r,n,o,i,a,s,A?Lr(s,a,n,o,A):null)},glTexParameterfv:function(e,t,r){const n=Z[r>>2];tn.texParameterf(e,t,n)},glTexParameteri:function(e,t,r){tn.texParameteri(e,t,r)},glTexStorage2D:function(e,t,r,n,o){tn.texStorage2D(e,t,r,n,o)},glTexStorage3D:function(e,t,r,n,o,i){tn.texStorage3D(e,t,r,n,o,i)},glTexSubImage2D:function(e,t,r,n,o,i,a,s,A){if(Dr.currentContext.version>=2){if(tn.currentPixelUnpackBufferBinding)tn.texSubImage2D(e,t,r,n,o,i,a,s,A);else if(A){const c=Ur(s);tn.texSubImage2D(e,t,r,n,o,i,a,s,c,A>>jr(c))}else tn.texSubImage2D(e,t,r,n,o,i,a,s,null);return}let c=null;A&&(c=Lr(s,a,o,i,A)),tn.texSubImage2D(e,t,r,n,o,i,a,s,c)},glTexSubImage3D:function(e,t,r,n,o,i,a,s,A,c,g){if(tn.currentPixelUnpackBufferBinding)tn.texSubImage3D(e,t,r,n,o,i,a,s,A,c,g);else if(g){const d=Ur(c);tn.texSubImage3D(e,t,r,n,o,i,a,s,A,c,d,g>>jr(d))}else tn.texSubImage3D(e,t,r,n,o,i,a,s,A,c,null)},glUniform1f:function(e,t){tn.uniform1f(Hr(e),t)},glUniform1i:function(e,t){tn.uniform1i(Hr(e),t)},glUniform2fv:function(e,t,r){if(Dr.currentContext.version>=2)tn.uniform2fv(Hr(e),Z,r>>2,2*t);else{if(t<=144){var n=Gr[2*t-1];for(let e=0;e<2*t;e+=2)n[e]=Z[r+4*e>>2],n[e+1]=Z[r+(4*e+4)>>2]}else n=Z.subarray(r>>2,r+8*t>>2);tn.uniform2fv(Hr(e),n)}},glUniform4fv:function(e,t,r){if(Dr.currentContext.version>=2)tn.uniform4fv(Hr(e),Z,r>>2,4*t);else{if(t<=72){var n=Gr[4*t-1];const e=Z;r>>=2;for(let o=0;o<4*t;o+=4){const t=r+o;n[o]=e[t],n[o+1]=e[t+1],n[o+2]=e[t+2],n[o+3]=e[t+3]}}else n=Z.subarray(r>>2,r+16*t>>2);tn.uniform4fv(Hr(e),n)}},glUniform4iv:function(e,t,r){if(Dr.currentContext.version>=2)tn.uniform4iv(Hr(e),K,r>>2,4*t);else{if(t<=72){var n=Yr[4*t-1];for(let e=0;e<4*t;e+=4)n[e]=K[r+4*e>>2],n[e+1]=K[r+(4*e+4)>>2],n[e+2]=K[r+(4*e+8)>>2],n[e+3]=K[r+(4*e+12)>>2]}else n=K.subarray(r>>2,r+16*t>>2);tn.uniform4iv(Hr(e),n)}},glUniformBlockBinding:function(e,t,r){e=Dr.programs[e],tn.uniformBlockBinding(e,t,r)},glUniformMatrix4fv:function(e,t,r,n){if(Dr.currentContext.version>=2)tn.uniformMatrix4fv(Hr(e),!!r,Z,n>>2,16*t);else{if(t<=18){var o=Gr[16*t-1];const e=Z;n>>=2;for(let r=0;r<16*t;r+=16){const t=n+r;o[r]=e[t],o[r+1]=e[t+1],o[r+2]=e[t+2],o[r+3]=e[t+3],o[r+4]=e[t+4],o[r+5]=e[t+5],o[r+6]=e[t+6],o[r+7]=e[t+7],o[r+8]=e[t+8],o[r+9]=e[t+9],o[r+10]=e[t+10],o[r+11]=e[t+11],o[r+12]=e[t+12],o[r+13]=e[t+13],o[r+14]=e[t+14],o[r+15]=e[t+15]}}else o=Z.subarray(n>>2,n+64*t>>2);tn.uniformMatrix4fv(Hr(e),!!r,o)}},glUseProgram:function(e){e=Dr.programs[e],tn.useProgram(e),tn.currentProgram=e},glVertexAttribPointer:function(e,t,r,n,o,i){const a=Dr.currentContext.clientBuffers[e];if(!tn.currentArrayBufferBinding)return a.size=t,a.type=r,a.normalized=n,a.stride=o,a.ptr=i,a.clientside=!0,void(a.vertexAttribPointerAdaptor=function(e,t,r,n,o,i){this.vertexAttribPointer(e,t,r,n,o,i)});a.clientside=!1,tn.vertexAttribPointer(e,t,r,!!n,o,i)},glViewport:function(e,t,r,n){tn.viewport(e,t,r,n)},gmtime_r:function e(t,r){const n=new Date(1e3*K[t>>2]);K[r>>2]=n.getUTCSeconds(),K[r+4>>2]=n.getUTCMinutes(),K[r+8>>2]=n.getUTCHours(),K[r+12>>2]=n.getUTCDate(),K[r+16>>2]=n.getUTCMonth(),K[r+20>>2]=n.getUTCFullYear()-1900,K[r+24>>2]=n.getUTCDay(),K[r+36>>2]=0,K[r+32>>2]=0;const o=Date.UTC(n.getUTCFullYear(),0,1,0,0,0,0),i=(n.getTime()-o)/864e5|0;return K[r+28>>2]=i,e.GMTString||(e.GMTString=G("GMT")),K[r+40>>2]=e.GMTString,r},invoke_diii:function(e,t,r,n){const o=pn();try{return ne.get(e)(t,r,n)}catch(e){if(hn(o),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_i:function(e){const t=pn();try{return ne.get(e)()}catch(e){if(hn(t),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_ii:function(e,t){const r=pn();try{return ne.get(e)(t)}catch(e){if(hn(r),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iii:function(e,t,r){const n=pn();try{return ne.get(e)(t,r)}catch(e){if(hn(n),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iiii:function(e,t,r,n){const o=pn();try{return ne.get(e)(t,r,n)}catch(e){if(hn(o),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iiiii:function(e,t,r,n,o){const i=pn();try{return ne.get(e)(t,r,n,o)}catch(e){if(hn(i),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iiiiii:function(e,t,r,n,o,i){const a=pn();try{return ne.get(e)(t,r,n,o,i)}catch(e){if(hn(a),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iiiiiii:function(e,t,r,n,o,i,a){const s=pn();try{return ne.get(e)(t,r,n,o,i,a)}catch(e){if(hn(s),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c){const g=pn();try{return ne.get(e)(t,r,n,o,i,a,s,A,c)}catch(e){if(hn(g),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iiiiiiii:function(e,t,r,n,o,i,a,s){const A=pn();try{return ne.get(e)(t,r,n,o,i,a,s)}catch(e){if(hn(A),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_iiiiiiiii:function(e,t,r,n,o,i,a,s,A){const c=pn();try{return ne.get(e)(t,r,n,o,i,a,s,A)}catch(e){if(hn(c),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_v:function(e){const t=pn();try{ne.get(e)()}catch(e){if(hn(t),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_vdiii:function(e,t,r,n,o){const i=pn();try{ne.get(e)(t,r,n,o)}catch(e){if(hn(i),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_vi:function(e,t){const r=pn();try{ne.get(e)(t)}catch(e){if(hn(r),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_vididdii:function(e,t,r,n,o,i,a,s){const A=pn();try{ne.get(e)(t,r,n,o,i,a,s)}catch(e){if(hn(A),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_vidii:function(e,t,r,n,o){const i=pn();try{ne.get(e)(t,r,n,o)}catch(e){if(hn(i),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_vii:function(e,t,r){const n=pn();try{ne.get(e)(t,r)}catch(e){if(hn(n),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viid:function(e,t,r,n){const o=pn();try{ne.get(e)(t,r,n)}catch(e){if(hn(o),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viidi:function(e,t,r,n,o){const i=pn();try{ne.get(e)(t,r,n,o)}catch(e){if(hn(i),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viididii:function(e,t,r,n,o,i,a,s){const A=pn();try{ne.get(e)(t,r,n,o,i,a,s)}catch(e){if(hn(A),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viii:function(e,t,r,n){const o=pn();try{ne.get(e)(t,r,n)}catch(e){if(hn(o),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiid:function(e,t,r,n,o){const i=pn();try{ne.get(e)(t,r,n,o)}catch(e){if(hn(i),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiidd:function(e,t,r,n,o,i){const a=pn();try{ne.get(e)(t,r,n,o,i)}catch(e){if(hn(a),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiddi:function(e,t,r,n,o,i,a){const s=pn();try{ne.get(e)(t,r,n,o,i,a)}catch(e){if(hn(s),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiidi:function(e,t,r,n,o,i){const a=pn();try{ne.get(e)(t,r,n,o,i)}catch(e){if(hn(a),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiii:function(e,t,r,n,o){const i=pn();try{ne.get(e)(t,r,n,o)}catch(e){if(hn(i),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiid:function(e,t,r,n,o,i){const a=pn();try{ne.get(e)(t,r,n,o,i)}catch(e){if(hn(a),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiidi:function(e,t,r,n,o,i,a){const s=pn();try{ne.get(e)(t,r,n,o,i,a)}catch(e){if(hn(s),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiidid:function(e,t,r,n,o,i,a,s){const A=pn();try{ne.get(e)(t,r,n,o,i,a,s)}catch(e){if(hn(A),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiidiidiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l,E,f){const p=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l,E,f)}catch(e){if(hn(p),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiifiifiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l,E,f){const p=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l,E,f)}catch(e){if(hn(p),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiii:function(e,t,r,n,o,i){const a=pn();try{ne.get(e)(t,r,n,o,i)}catch(e){if(hn(a),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiid:function(e,t,r,n,o,i,a){const s=pn();try{ne.get(e)(t,r,n,o,i,a)}catch(e){if(hn(s),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiif:function(e,t,r,n,o,i,a){const s=pn();try{ne.get(e)(t,r,n,o,i,a)}catch(e){if(hn(s),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiii:function(e,t,r,n,o,i,a){const s=pn();try{ne.get(e)(t,r,n,o,i,a)}catch(e){if(hn(s),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiid:function(e,t,r,n,o,i,a,s){const A=pn();try{ne.get(e)(t,r,n,o,i,a,s)}catch(e){if(hn(A),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiif:function(e,t,r,n,o,i,a,s){const A=pn();try{ne.get(e)(t,r,n,o,i,a,s)}catch(e){if(hn(A),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiii:function(e,t,r,n,o,i,a,s){const A=pn();try{ne.get(e)(t,r,n,o,i,a,s)}catch(e){if(hn(A),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c,g){const d=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(hn(d),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiidiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u){const l=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(hn(l),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiifiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u){const l=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(hn(l),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiii:function(e,t,r,n,o,i,a,s,A){const c=pn();try{ne.get(e)(t,r,n,o,i,a,s,A)}catch(e){if(hn(c),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiidd:function(e,t,r,n,o,i,a,s,A,c,g){const d=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(hn(d),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiidf:function(e,t,r,n,o,i,a,s,A,c,g){const d=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(hn(d),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiii:function(e,t,r,n,o,i,a,s,A,c){const g=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c)}catch(e){if(hn(g),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiiidd:function(e,t,r,n,o,i,a,s,A,c,g,d){const u=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d)}catch(e){if(hn(u),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c,g,d,u){const l=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(hn(l),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g){const d=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(hn(d),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l){const E=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l)}catch(e){if(hn(E),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d){const u=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d)}catch(e){if(hn(u),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u){const l=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(hn(l),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},invoke_viiiiiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l){const E=pn();try{ne.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l)}catch(e){if(hn(E),e!==e+0&&"longjmp"!==e)throw e;mn(1,0)}},llvm_eh_typeid_for:function(e){return e},localtime_r:function(e,t){Xr();const r=new Date(1e3*K[e>>2]);K[t>>2]=r.getSeconds(),K[t+4>>2]=r.getMinutes(),K[t+8>>2]=r.getHours(),K[t+12>>2]=r.getDate(),K[t+16>>2]=r.getMonth(),K[t+20>>2]=r.getFullYear()-1900,K[t+24>>2]=r.getDay();const n=new Date(r.getFullYear(),0,1),o=(r.getTime()-n.getTime())/864e5|0;K[t+28>>2]=o,K[t+36>>2]=-60*r.getTimezoneOffset();const i=new Date(r.getFullYear(),6,1).getTimezoneOffset(),a=n.getTimezoneOffset(),s=0|(i!=a&&r.getTimezoneOffset()==Math.min(a,i));K[t+32>>2]=s;const A=K[ln()+(s?4:0)>>2];return K[t+40>>2]=A,t},mktime:function(e){Xr();const t=new Date(K[e+20>>2]+1900,K[e+16>>2],K[e+12>>2],K[e+8>>2],K[e+4>>2],K[e>>2],0),r=K[e+32>>2],n=t.getTimezoneOffset(),o=new Date(t.getFullYear(),0,1),i=new Date(t.getFullYear(),6,1).getTimezoneOffset(),a=o.getTimezoneOffset(),s=Math.min(a,i);if(r<0)K[e+32>>2]=Number(i!=a&&s==n);else if(r>0!=(s==n)){const e=Math.max(a,i),o=r>0?s:e;t.setTime(t.getTime()+6e4*(o-n))}K[e+24>>2]=t.getDay();const A=(t.getTime()-o.getTime())/864e5|0;return K[e+28>>2]=A,K[e>>2]=t.getSeconds(),K[e+4>>2]=t.getMinutes(),K[e+8>>2]=t.getHours(),K[e+12>>2]=t.getDate(),K[e+16>>2]=t.getMonth(),t.getTime()/1e3|0},proc_exit:function(e){On(e)},setTempRet0:function(e){w(e)},strftime:Jr,strftime_l:function(e,t,r,n){return Jr(e,t,r,n)}};(function(){const e={env:sn,wasi_snapshot_preview1:sn};function t(e,t){const{exports:n}=e;var o;r.asm=n,O=r.asm.memory,T(O,"memory not found in wasm exports"),ee(O.buffer),ne=r.asm.__indirect_function_table,T(ne,"table not found in wasm exports"),o=r.asm.__wasm_call_ctors,se.unshift(o),me("wasm-instantiate")}Ie("wasm-instantiate");let n=r;if(r.instantiateWasm)try{return r.instantiateWasm(e,t)}catch(e){return C(`Module.instantiateWasm callback failed with error: ${e}`),!1}r.loadWasm(_e,e).then((function(e){T(r===n,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),n=null,t(e)})).catch(o)})(),r.___wasm_call_ctors=ye("__wasm_call_ctors");var An=r._free=ye("free"),cn=r._malloc=ye("malloc"),gn=r.___errno_location=ye("__errno_location");r._fflush=ye("fflush");var dn=r.___getTypeName=ye("__getTypeName");r.___embind_register_native_and_builtin_types=ye("__embind_register_native_and_builtin_types"),r._emscripten_main_thread_process_queued_calls=ye("emscripten_main_thread_process_queued_calls");var un=r._emscripten_stack_get_end=function(){return(un=r._emscripten_stack_get_end=r.asm.emscripten_stack_get_end).apply(null,arguments)},ln=r.__get_tzname=ye("_get_tzname"),En=r.__get_daylight=ye("_get_daylight"),fn=r.__get_timezone=ye("_get_timezone"),pn=r.stackSave=ye("stackSave"),hn=r.stackRestore=ye("stackRestore"),In=(r.stackAlloc=ye("stackAlloc"),r._emscripten_stack_init=function(){return(In=r._emscripten_stack_init=r.asm.emscripten_stack_init).apply(null,arguments)});r._emscripten_stack_get_free=function(){return(r._emscripten_stack_get_free=r.asm.emscripten_stack_get_free).apply(null,arguments)};r._saveSetjmp=ye("saveSetjmp");var mn=r._setThrew=ye("setThrew"),Cn=r.___cxa_can_catch=ye("__cxa_can_catch"),yn=r.___cxa_is_pointer_type=ye("__cxa_is_pointer_type"),_n=r._memalign=ye("memalign");r._emscripten_builtin_malloc=ye("emscripten_builtin_malloc"),r._emscripten_builtin_free=ye("emscripten_builtin_free"),r._emscripten_builtin_memalign=ye("emscripten_builtin_memalign"),r.dynCall_jii=ye("dynCall_jii"),r.dynCall_viji=ye("dynCall_viji"),r.dynCall_jjj=ye("dynCall_jjj"),r.dynCall_iiiijj=ye("dynCall_iiiijj"),r.dynCall_viijj=ye("dynCall_viijj"),r.dynCall_viiijjjj=ye("dynCall_viiijjjj"),r.dynCall_ji=ye("dynCall_ji"),r.dynCall_vij=ye("dynCall_vij"),r.dynCall_viijii=ye("dynCall_viijii"),r.dynCall_vj=ye("dynCall_vj"),r.dynCall_viij=ye("dynCall_viij"),r.dynCall_viiiiij=ye("dynCall_viiiiij"),r.dynCall_iijjiiii=ye("dynCall_iijjiiii"),r.dynCall_jiji=ye("dynCall_jiji"),r.dynCall_iiiiij=ye("dynCall_iiiiij"),r.dynCall_iiiiijj=ye("dynCall_iiiiijj"),r.dynCall_iiiiiijj=ye("dynCall_iiiiiijj");let wn;function Bn(e){this.name="ExitStatus",this.message=`Program terminated with exit(${e})`,this.status=e}function Dn(e){function t(){wn||(wn=!0,r.calledRun=!0,Q||(ie(),T(!ge),ge=!0,r.noFSInit||Ke.init.initialized||Ke.init(),Ke.ignorePermissions=!1,Xe.init(),Se(se),n(r),r.onRuntimeInitialized&&r.onRuntimeInitialized(),T(!r._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),function(){if(ie(),r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)e=r.postRun.shift(),ce.unshift(e);var e;Se(ce)}()))}e=e||s,le>0||(In(),oe(),function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)e=r.preRun.shift(),ae.unshift(e);var e;Se(ae)}(),le>0||(r.setStatus?(r.setStatus("Running..."),setTimeout((()=>{setTimeout((()=>{r.setStatus("")}),1),t()}),1)):t(),ie()))}function On(e){b=e,ue()||(r.onExit&&r.onExit(e),Q=!0),c(e,new Bn(e))}if(Object.getOwnPropertyDescriptor(r,"intArrayFromString")||(r.intArrayFromString=function(){Ce("'intArrayFromString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"intArrayToString")||(r.intArrayToString=function(){Ce("'intArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ccall")||(r.ccall=function(){Ce("'ccall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"cwrap")||(r.cwrap=function(){Ce("'cwrap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setValue")||(r.setValue=function(){Ce("'setValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getValue")||(r.getValue=function(){Ce("'getValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"allocate")||(r.allocate=function(){Ce("'allocate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"UTF8ArrayToString")||(r.UTF8ArrayToString=function(){Ce("'UTF8ArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"UTF8ToString")||(r.UTF8ToString=function(){Ce("'UTF8ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stringToUTF8Array")||(r.stringToUTF8Array=function(){Ce("'stringToUTF8Array' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stringToUTF8")||(r.stringToUTF8=function(){Ce("'stringToUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"lengthBytesUTF8")||(r.lengthBytesUTF8=function(){Ce("'lengthBytesUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stackTrace")||(r.stackTrace=function(){Ce("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"addOnPreRun")||(r.addOnPreRun=function(){Ce("'addOnPreRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"addOnInit")||(r.addOnInit=function(){Ce("'addOnInit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"addOnPreMain")||(r.addOnPreMain=function(){Ce("'addOnPreMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"addOnExit")||(r.addOnExit=function(){Ce("'addOnExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"addOnPostRun")||(r.addOnPostRun=function(){Ce("'addOnPostRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeStringToMemory")||(r.writeStringToMemory=function(){Ce("'writeStringToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeArrayToMemory")||(r.writeArrayToMemory=function(){Ce("'writeArrayToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeAsciiToMemory")||(r.writeAsciiToMemory=function(){Ce("'writeAsciiToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),r.addRunDependency=Ie,r.removeRunDependency=me,Object.getOwnPropertyDescriptor(r,"FS_createFolder")||(r.FS_createFolder=function(){Ce("'FS_createFolder' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),r.FS_createPath=Ke.createPath,r.FS_createDataFile=Ke.createDataFile,r.FS_createPreloadedFile=Ke.createPreloadedFile,r.FS_createLazyFile=Ke.createLazyFile,Object.getOwnPropertyDescriptor(r,"FS_createLink")||(r.FS_createLink=function(){Ce("'FS_createLink' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),r.FS_createDevice=Ke.createDevice,r.FS_unlink=Ke.unlink,Object.getOwnPropertyDescriptor(r,"getLEB")||(r.getLEB=function(){Ce("'getLEB' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getFunctionTables")||(r.getFunctionTables=function(){Ce("'getFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"alignFunctionTables")||(r.alignFunctionTables=function(){Ce("'alignFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerFunctions")||(r.registerFunctions=function(){Ce("'registerFunctions' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"addFunction")||(r.addFunction=function(){Ce("'addFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"removeFunction")||(r.removeFunction=function(){Ce("'removeFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getFuncWrapper")||(r.getFuncWrapper=function(){Ce("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"prettyPrint")||(r.prettyPrint=function(){Ce("'prettyPrint' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"dynCall")||(r.dynCall=function(){Ce("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getCompilerSetting")||(r.getCompilerSetting=function(){Ce("'getCompilerSetting' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"print")||(r.print=function(){Ce("'print' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"printErr")||(r.printErr=function(){Ce("'printErr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getTempRet0")||(r.getTempRet0=function(){Ce("'getTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setTempRet0")||(r.setTempRet0=function(){Ce("'setTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"callMain")||(r.callMain=function(){Ce("'callMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"abort")||(r.abort=function(){Ce("'abort' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"keepRuntimeAlive")||(r.keepRuntimeAlive=function(){Ce("'keepRuntimeAlive' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"zeroMemory")||(r.zeroMemory=function(){Ce("'zeroMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stringToNewUTF8")||(r.stringToNewUTF8=function(){Ce("'stringToNewUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setFileTime")||(r.setFileTime=function(){Ce("'setFileTime' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emscripten_realloc_buffer")||(r.emscripten_realloc_buffer=function(){Ce("'emscripten_realloc_buffer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ENV")||(r.ENV=function(){Ce("'ENV' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ERRNO_CODES")||(r.ERRNO_CODES=function(){Ce("'ERRNO_CODES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ERRNO_MESSAGES")||(r.ERRNO_MESSAGES=function(){Ce("'ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setErrNo")||(r.setErrNo=function(){Ce("'setErrNo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"inetPton4")||(r.inetPton4=function(){Ce("'inetPton4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"inetNtop4")||(r.inetNtop4=function(){Ce("'inetNtop4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"inetPton6")||(r.inetPton6=function(){Ce("'inetPton6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"inetNtop6")||(r.inetNtop6=function(){Ce("'inetNtop6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"readSockaddr")||(r.readSockaddr=function(){Ce("'readSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeSockaddr")||(r.writeSockaddr=function(){Ce("'writeSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"DNS")||(r.DNS=function(){Ce("'DNS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getHostByName")||(r.getHostByName=function(){Ce("'getHostByName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"GAI_ERRNO_MESSAGES")||(r.GAI_ERRNO_MESSAGES=function(){Ce("'GAI_ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"Protocols")||(r.Protocols=function(){Ce("'Protocols' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"Sockets")||(r.Sockets=function(){Ce("'Sockets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getRandomDevice")||(r.getRandomDevice=function(){Ce("'getRandomDevice' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"traverseStack")||(r.traverseStack=function(){Ce("'traverseStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"UNWIND_CACHE")||(r.UNWIND_CACHE=function(){Ce("'UNWIND_CACHE' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"withBuiltinMalloc")||(r.withBuiltinMalloc=function(){Ce("'withBuiltinMalloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"readAsmConstArgsArray")||(r.readAsmConstArgsArray=function(){Ce("'readAsmConstArgsArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"readAsmConstArgs")||(r.readAsmConstArgs=function(){Ce("'readAsmConstArgs' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"mainThreadEM_ASM")||(r.mainThreadEM_ASM=function(){Ce("'mainThreadEM_ASM' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"jstoi_q")||(r.jstoi_q=function(){Ce("'jstoi_q' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"jstoi_s")||(r.jstoi_s=function(){Ce("'jstoi_s' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getExecutableName")||(r.getExecutableName=function(){Ce("'getExecutableName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"listenOnce")||(r.listenOnce=function(){Ce("'listenOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"autoResumeAudioContext")||(r.autoResumeAudioContext=function(){Ce("'autoResumeAudioContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"dynCallLegacy")||(r.dynCallLegacy=function(){Ce("'dynCallLegacy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getDynCaller")||(r.getDynCaller=function(){Ce("'getDynCaller' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"dynCall")||(r.dynCall=function(){Ce("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"callRuntimeCallbacks")||(r.callRuntimeCallbacks=function(){Ce("'callRuntimeCallbacks' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"runtimeKeepalivePush")||(r.runtimeKeepalivePush=function(){Ce("'runtimeKeepalivePush' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"runtimeKeepalivePop")||(r.runtimeKeepalivePop=function(){Ce("'runtimeKeepalivePop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"callUserCallback")||(r.callUserCallback=function(){Ce("'callUserCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"maybeExit")||(r.maybeExit=function(){Ce("'maybeExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"safeSetTimeout")||(r.safeSetTimeout=function(){Ce("'safeSetTimeout' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"asmjsMangle")||(r.asmjsMangle=function(){Ce("'asmjsMangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"asyncLoad")||(r.asyncLoad=function(){Ce("'asyncLoad' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"alignMemory")||(r.alignMemory=function(){Ce("'alignMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"mmapAlloc")||(r.mmapAlloc=function(){Ce("'mmapAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"reallyNegative")||(r.reallyNegative=function(){Ce("'reallyNegative' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"unSign")||(r.unSign=function(){Ce("'unSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"reSign")||(r.reSign=function(){Ce("'reSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"formatString")||(r.formatString=function(){Ce("'formatString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"PATH")||(r.PATH=function(){Ce("'PATH' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"PATH_FS")||(r.PATH_FS=function(){Ce("'PATH_FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"SYSCALLS")||(r.SYSCALLS=function(){Ce("'SYSCALLS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"syscallMmap2")||(r.syscallMmap2=function(){Ce("'syscallMmap2' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"syscallMunmap")||(r.syscallMunmap=function(){Ce("'syscallMunmap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getSocketFromFD")||(r.getSocketFromFD=function(){Ce("'getSocketFromFD' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getSocketAddress")||(r.getSocketAddress=function(){Ce("'getSocketAddress' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"JSEvents")||(r.JSEvents=function(){Ce("'JSEvents' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerKeyEventCallback")||(r.registerKeyEventCallback=function(){Ce("'registerKeyEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"specialHTMLTargets")||(r.specialHTMLTargets=function(){Ce("'specialHTMLTargets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"findEventTarget")||(r.findEventTarget=function(){Ce("'findEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"findCanvasEventTarget")||(r.findCanvasEventTarget=function(){Ce("'findCanvasEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getBoundingClientRect")||(r.getBoundingClientRect=function(){Ce("'getBoundingClientRect' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillMouseEventData")||(r.fillMouseEventData=function(){Ce("'fillMouseEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerMouseEventCallback")||(r.registerMouseEventCallback=function(){Ce("'registerMouseEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerWheelEventCallback")||(r.registerWheelEventCallback=function(){Ce("'registerWheelEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerUiEventCallback")||(r.registerUiEventCallback=function(){Ce("'registerUiEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerFocusEventCallback")||(r.registerFocusEventCallback=function(){Ce("'registerFocusEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillDeviceOrientationEventData")||(r.fillDeviceOrientationEventData=function(){Ce("'fillDeviceOrientationEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerDeviceOrientationEventCallback")||(r.registerDeviceOrientationEventCallback=function(){Ce("'registerDeviceOrientationEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillDeviceMotionEventData")||(r.fillDeviceMotionEventData=function(){Ce("'fillDeviceMotionEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerDeviceMotionEventCallback")||(r.registerDeviceMotionEventCallback=function(){Ce("'registerDeviceMotionEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"screenOrientation")||(r.screenOrientation=function(){Ce("'screenOrientation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillOrientationChangeEventData")||(r.fillOrientationChangeEventData=function(){Ce("'fillOrientationChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerOrientationChangeEventCallback")||(r.registerOrientationChangeEventCallback=function(){Ce("'registerOrientationChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillFullscreenChangeEventData")||(r.fillFullscreenChangeEventData=function(){Ce("'fillFullscreenChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerFullscreenChangeEventCallback")||(r.registerFullscreenChangeEventCallback=function(){Ce("'registerFullscreenChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerRestoreOldStyle")||(r.registerRestoreOldStyle=function(){Ce("'registerRestoreOldStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"hideEverythingExceptGivenElement")||(r.hideEverythingExceptGivenElement=function(){Ce("'hideEverythingExceptGivenElement' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"restoreHiddenElements")||(r.restoreHiddenElements=function(){Ce("'restoreHiddenElements' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setLetterbox")||(r.setLetterbox=function(){Ce("'setLetterbox' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"currentFullscreenStrategy")||(r.currentFullscreenStrategy=function(){Ce("'currentFullscreenStrategy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"restoreOldWindowedStyle")||(r.restoreOldWindowedStyle=function(){Ce("'restoreOldWindowedStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"softFullscreenResizeWebGLRenderTarget")||(r.softFullscreenResizeWebGLRenderTarget=function(){Ce("'softFullscreenResizeWebGLRenderTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"doRequestFullscreen")||(r.doRequestFullscreen=function(){Ce("'doRequestFullscreen' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillPointerlockChangeEventData")||(r.fillPointerlockChangeEventData=function(){Ce("'fillPointerlockChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerPointerlockChangeEventCallback")||(r.registerPointerlockChangeEventCallback=function(){Ce("'registerPointerlockChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerPointerlockErrorEventCallback")||(r.registerPointerlockErrorEventCallback=function(){Ce("'registerPointerlockErrorEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"requestPointerLock")||(r.requestPointerLock=function(){Ce("'requestPointerLock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillVisibilityChangeEventData")||(r.fillVisibilityChangeEventData=function(){Ce("'fillVisibilityChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerVisibilityChangeEventCallback")||(r.registerVisibilityChangeEventCallback=function(){Ce("'registerVisibilityChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerTouchEventCallback")||(r.registerTouchEventCallback=function(){Ce("'registerTouchEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillGamepadEventData")||(r.fillGamepadEventData=function(){Ce("'fillGamepadEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerGamepadEventCallback")||(r.registerGamepadEventCallback=function(){Ce("'registerGamepadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerBeforeUnloadEventCallback")||(r.registerBeforeUnloadEventCallback=function(){Ce("'registerBeforeUnloadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"fillBatteryEventData")||(r.fillBatteryEventData=function(){Ce("'fillBatteryEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"battery")||(r.battery=function(){Ce("'battery' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerBatteryEventCallback")||(r.registerBatteryEventCallback=function(){Ce("'registerBatteryEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setCanvasElementSize")||(r.setCanvasElementSize=function(){Ce("'setCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getCanvasElementSize")||(r.getCanvasElementSize=function(){Ce("'getCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"polyfillSetImmediate")||(r.polyfillSetImmediate=function(){Ce("'polyfillSetImmediate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"demangle")||(r.demangle=function(){Ce("'demangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"demangleAll")||(r.demangleAll=function(){Ce("'demangleAll' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"jsStackTrace")||(r.jsStackTrace=function(){Ce("'jsStackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stackTrace")||(r.stackTrace=function(){Ce("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getEnvStrings")||(r.getEnvStrings=function(){Ce("'getEnvStrings' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"checkWasiClock")||(r.checkWasiClock=function(){Ce("'checkWasiClock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeI53ToI64")||(r.writeI53ToI64=function(){Ce("'writeI53ToI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeI53ToI64Clamped")||(r.writeI53ToI64Clamped=function(){Ce("'writeI53ToI64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeI53ToI64Signaling")||(r.writeI53ToI64Signaling=function(){Ce("'writeI53ToI64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeI53ToU64Clamped")||(r.writeI53ToU64Clamped=function(){Ce("'writeI53ToU64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeI53ToU64Signaling")||(r.writeI53ToU64Signaling=function(){Ce("'writeI53ToU64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"readI53FromI64")||(r.readI53FromI64=function(){Ce("'readI53FromI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"readI53FromU64")||(r.readI53FromU64=function(){Ce("'readI53FromU64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"convertI32PairToI53")||(r.convertI32PairToI53=function(){Ce("'convertI32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"convertU32PairToI53")||(r.convertU32PairToI53=function(){Ce("'convertU32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"uncaughtExceptionCount")||(r.uncaughtExceptionCount=function(){Ce("'uncaughtExceptionCount' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"exceptionLast")||(r.exceptionLast=function(){Ce("'exceptionLast' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"exceptionCaught")||(r.exceptionCaught=function(){Ce("'exceptionCaught' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ExceptionInfo")||(r.ExceptionInfo=function(){Ce("'ExceptionInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"CatchInfo")||(r.CatchInfo=function(){Ce("'CatchInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"exception_addRef")||(r.exception_addRef=function(){Ce("'exception_addRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"exception_decRef")||(r.exception_decRef=function(){Ce("'exception_decRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"Browser")||(r.Browser=function(){Ce("'Browser' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"funcWrappers")||(r.funcWrappers=function(){Ce("'funcWrappers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getFuncWrapper")||(r.getFuncWrapper=function(){Ce("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setMainLoop")||(r.setMainLoop=function(){Ce("'setMainLoop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"wget")||(r.wget=function(){Ce("'wget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"FS")||(r.FS=function(){Ce("'FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"MEMFS")||(r.MEMFS=function(){Ce("'MEMFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"TTY")||(r.TTY=function(){Ce("'TTY' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"PIPEFS")||(r.PIPEFS=function(){Ce("'PIPEFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"SOCKFS")||(r.SOCKFS=function(){Ce("'SOCKFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"_setNetworkCallback")||(r._setNetworkCallback=function(){Ce("'_setNetworkCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"tempFixedLengthArray")||(r.tempFixedLengthArray=function(){Ce("'tempFixedLengthArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"miniTempWebGLFloatBuffers")||(r.miniTempWebGLFloatBuffers=function(){Ce("'miniTempWebGLFloatBuffers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"heapObjectForWebGLType")||(r.heapObjectForWebGLType=function(){Ce("'heapObjectForWebGLType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"heapAccessShiftForWebGLHeap")||(r.heapAccessShiftForWebGLHeap=function(){Ce("'heapAccessShiftForWebGLHeap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),r.GL=Dr,Object.getOwnPropertyDescriptor(r,"emscriptenWebGLGet")||(r.emscriptenWebGLGet=function(){Ce("'emscriptenWebGLGet' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"computeUnpackAlignedImageSize")||(r.computeUnpackAlignedImageSize=function(){Ce("'computeUnpackAlignedImageSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emscriptenWebGLGetTexPixelData")||(r.emscriptenWebGLGetTexPixelData=function(){Ce("'emscriptenWebGLGetTexPixelData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emscriptenWebGLGetUniform")||(r.emscriptenWebGLGetUniform=function(){Ce("'emscriptenWebGLGetUniform' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"webglGetUniformLocation")||(r.webglGetUniformLocation=function(){Ce("'webglGetUniformLocation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"webglPrepareUniformLocationsBeforeFirstUse")||(r.webglPrepareUniformLocationsBeforeFirstUse=function(){Ce("'webglPrepareUniformLocationsBeforeFirstUse' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"webglGetLeftBracePos")||(r.webglGetLeftBracePos=function(){Ce("'webglGetLeftBracePos' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emscriptenWebGLGetVertexAttrib")||(r.emscriptenWebGLGetVertexAttrib=function(){Ce("'emscriptenWebGLGetVertexAttrib' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emscriptenWebGLGetBufferBinding")||(r.emscriptenWebGLGetBufferBinding=function(){Ce("'emscriptenWebGLGetBufferBinding' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emscriptenWebGLValidateMapBufferTarget")||(r.emscriptenWebGLValidateMapBufferTarget=function(){Ce("'emscriptenWebGLValidateMapBufferTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"writeGLArray")||(r.writeGLArray=function(){Ce("'writeGLArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"AL")||(r.AL=function(){Ce("'AL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"SDL_unicode")||(r.SDL_unicode=function(){Ce("'SDL_unicode' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"SDL_ttfContext")||(r.SDL_ttfContext=function(){Ce("'SDL_ttfContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"SDL_audio")||(r.SDL_audio=function(){Ce("'SDL_audio' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"SDL")||(r.SDL=function(){Ce("'SDL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"SDL_gfx")||(r.SDL_gfx=function(){Ce("'SDL_gfx' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"GLUT")||(r.GLUT=function(){Ce("'GLUT' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"EGL")||(r.EGL=function(){Ce("'EGL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"GLFW_Window")||(r.GLFW_Window=function(){Ce("'GLFW_Window' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"GLFW")||(r.GLFW=function(){Ce("'GLFW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"GLEW")||(r.GLEW=function(){Ce("'GLEW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"IDBStore")||(r.IDBStore=function(){Ce("'IDBStore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"runAndAbortIfError")||(r.runAndAbortIfError=function(){Ce("'runAndAbortIfError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emval_handle_array")||(r.emval_handle_array=function(){Ce("'emval_handle_array' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emval_free_list")||(r.emval_free_list=function(){Ce("'emval_free_list' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emval_symbols")||(r.emval_symbols=function(){Ce("'emval_symbols' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"init_emval")||(r.init_emval=function(){Ce("'init_emval' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"count_emval_handles")||(r.count_emval_handles=function(){Ce("'count_emval_handles' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"get_first_emval")||(r.get_first_emval=function(){Ce("'get_first_emval' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getStringOrSymbol")||(r.getStringOrSymbol=function(){Ce("'getStringOrSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"requireHandle")||(r.requireHandle=function(){Ce("'requireHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emval_newers")||(r.emval_newers=function(){Ce("'emval_newers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"craftEmvalAllocator")||(r.craftEmvalAllocator=function(){Ce("'craftEmvalAllocator' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emval_get_global")||(r.emval_get_global=function(){Ce("'emval_get_global' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emval_methodCallers")||(r.emval_methodCallers=function(){Ce("'emval_methodCallers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"InternalError")||(r.InternalError=function(){Ce("'InternalError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"BindingError")||(r.BindingError=function(){Ce("'BindingError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"UnboundTypeError")||(r.UnboundTypeError=function(){Ce("'UnboundTypeError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"PureVirtualError")||(r.PureVirtualError=function(){Ce("'PureVirtualError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"init_embind")||(r.init_embind=function(){Ce("'init_embind' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"throwInternalError")||(r.throwInternalError=function(){Ce("'throwInternalError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"throwBindingError")||(r.throwBindingError=function(){Ce("'throwBindingError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"throwUnboundTypeError")||(r.throwUnboundTypeError=function(){Ce("'throwUnboundTypeError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ensureOverloadTable")||(r.ensureOverloadTable=function(){Ce("'ensureOverloadTable' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"exposePublicSymbol")||(r.exposePublicSymbol=function(){Ce("'exposePublicSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"replacePublicSymbol")||(r.replacePublicSymbol=function(){Ce("'replacePublicSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"extendError")||(r.extendError=function(){Ce("'extendError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"createNamedFunction")||(r.createNamedFunction=function(){Ce("'createNamedFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registeredInstances")||(r.registeredInstances=function(){Ce("'registeredInstances' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getBasestPointer")||(r.getBasestPointer=function(){Ce("'getBasestPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerInheritedInstance")||(r.registerInheritedInstance=function(){Ce("'registerInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"unregisterInheritedInstance")||(r.unregisterInheritedInstance=function(){Ce("'unregisterInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getInheritedInstance")||(r.getInheritedInstance=function(){Ce("'getInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getInheritedInstanceCount")||(r.getInheritedInstanceCount=function(){Ce("'getInheritedInstanceCount' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getLiveInheritedInstances")||(r.getLiveInheritedInstances=function(){Ce("'getLiveInheritedInstances' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registeredTypes")||(r.registeredTypes=function(){Ce("'registeredTypes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"awaitingDependencies")||(r.awaitingDependencies=function(){Ce("'awaitingDependencies' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"typeDependencies")||(r.typeDependencies=function(){Ce("'typeDependencies' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registeredPointers")||(r.registeredPointers=function(){Ce("'registeredPointers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"registerType")||(r.registerType=function(){Ce("'registerType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"whenDependentTypesAreResolved")||(r.whenDependentTypesAreResolved=function(){Ce("'whenDependentTypesAreResolved' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"embind_charCodes")||(r.embind_charCodes=function(){Ce("'embind_charCodes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"embind_init_charCodes")||(r.embind_init_charCodes=function(){Ce("'embind_init_charCodes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"readLatin1String")||(r.readLatin1String=function(){Ce("'readLatin1String' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getTypeName")||(r.getTypeName=function(){Ce("'getTypeName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"heap32VectorToArray")||(r.heap32VectorToArray=function(){Ce("'heap32VectorToArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"requireRegisteredType")||(r.requireRegisteredType=function(){Ce("'requireRegisteredType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"getShiftFromSize")||(r.getShiftFromSize=function(){Ce("'getShiftFromSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"integerReadValueFromPointer")||(r.integerReadValueFromPointer=function(){Ce("'integerReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"enumReadValueFromPointer")||(r.enumReadValueFromPointer=function(){Ce("'enumReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"floatReadValueFromPointer")||(r.floatReadValueFromPointer=function(){Ce("'floatReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"simpleReadValueFromPointer")||(r.simpleReadValueFromPointer=function(){Ce("'simpleReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"runDestructors")||(r.runDestructors=function(){Ce("'runDestructors' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"new_")||(r.new_=function(){Ce("'new_' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"craftInvokerFunction")||(r.craftInvokerFunction=function(){Ce("'craftInvokerFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"embind__requireFunction")||(r.embind__requireFunction=function(){Ce("'embind__requireFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"tupleRegistrations")||(r.tupleRegistrations=function(){Ce("'tupleRegistrations' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"structRegistrations")||(r.structRegistrations=function(){Ce("'structRegistrations' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"genericPointerToWireType")||(r.genericPointerToWireType=function(){Ce("'genericPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"constNoSmartPtrRawPointerToWireType")||(r.constNoSmartPtrRawPointerToWireType=function(){Ce("'constNoSmartPtrRawPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"nonConstNoSmartPtrRawPointerToWireType")||(r.nonConstNoSmartPtrRawPointerToWireType=function(){Ce("'nonConstNoSmartPtrRawPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"init_RegisteredPointer")||(r.init_RegisteredPointer=function(){Ce("'init_RegisteredPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"RegisteredPointer")||(r.RegisteredPointer=function(){Ce("'RegisteredPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"RegisteredPointer_getPointee")||(r.RegisteredPointer_getPointee=function(){Ce("'RegisteredPointer_getPointee' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"RegisteredPointer_destructor")||(r.RegisteredPointer_destructor=function(){Ce("'RegisteredPointer_destructor' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"RegisteredPointer_deleteObject")||(r.RegisteredPointer_deleteObject=function(){Ce("'RegisteredPointer_deleteObject' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"RegisteredPointer_fromWireType")||(r.RegisteredPointer_fromWireType=function(){Ce("'RegisteredPointer_fromWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"runDestructor")||(r.runDestructor=function(){Ce("'runDestructor' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"releaseClassHandle")||(r.releaseClassHandle=function(){Ce("'releaseClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"finalizationGroup")||(r.finalizationGroup=function(){Ce("'finalizationGroup' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"detachFinalizer_deps")||(r.detachFinalizer_deps=function(){Ce("'detachFinalizer_deps' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"detachFinalizer")||(r.detachFinalizer=function(){Ce("'detachFinalizer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"attachFinalizer")||(r.attachFinalizer=function(){Ce("'attachFinalizer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"makeClassHandle")||(r.makeClassHandle=function(){Ce("'makeClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"init_ClassHandle")||(r.init_ClassHandle=function(){Ce("'init_ClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ClassHandle")||(r.ClassHandle=function(){Ce("'ClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ClassHandle_isAliasOf")||(r.ClassHandle_isAliasOf=function(){Ce("'ClassHandle_isAliasOf' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"throwInstanceAlreadyDeleted")||(r.throwInstanceAlreadyDeleted=function(){Ce("'throwInstanceAlreadyDeleted' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ClassHandle_clone")||(r.ClassHandle_clone=function(){Ce("'ClassHandle_clone' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ClassHandle_delete")||(r.ClassHandle_delete=function(){Ce("'ClassHandle_delete' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"deletionQueue")||(r.deletionQueue=function(){Ce("'deletionQueue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ClassHandle_isDeleted")||(r.ClassHandle_isDeleted=function(){Ce("'ClassHandle_isDeleted' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"ClassHandle_deleteLater")||(r.ClassHandle_deleteLater=function(){Ce("'ClassHandle_deleteLater' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"flushPendingDeletes")||(r.flushPendingDeletes=function(){Ce("'flushPendingDeletes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"delayFunction")||(r.delayFunction=function(){Ce("'delayFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"setDelayFunction")||(r.setDelayFunction=function(){Ce("'setDelayFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"RegisteredClass")||(r.RegisteredClass=function(){Ce("'RegisteredClass' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"shallowCopyInternalPointer")||(r.shallowCopyInternalPointer=function(){Ce("'shallowCopyInternalPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"downcastPointer")||(r.downcastPointer=function(){Ce("'downcastPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"upcastPointer")||(r.upcastPointer=function(){Ce("'upcastPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"validateThis")||(r.validateThis=function(){Ce("'validateThis' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"char_0")||(r.char_0=function(){Ce("'char_0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"char_9")||(r.char_9=function(){Ce("'char_9' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"makeLegalFunctionName")||(r.makeLegalFunctionName=function(){Ce("'makeLegalFunctionName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"emscriptenWebGLGetIndexed")||(r.emscriptenWebGLGetIndexed=function(){Ce("'emscriptenWebGLGetIndexed' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"warnOnce")||(r.warnOnce=function(){Ce("'warnOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stackSave")||(r.stackSave=function(){Ce("'stackSave' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stackRestore")||(r.stackRestore=function(){Ce("'stackRestore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stackAlloc")||(r.stackAlloc=function(){Ce("'stackAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"AsciiToString")||(r.AsciiToString=function(){Ce("'AsciiToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stringToAscii")||(r.stringToAscii=function(){Ce("'stringToAscii' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"UTF16ToString")||(r.UTF16ToString=function(){Ce("'UTF16ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stringToUTF16")||(r.stringToUTF16=function(){Ce("'stringToUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"lengthBytesUTF16")||(r.lengthBytesUTF16=function(){Ce("'lengthBytesUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"UTF32ToString")||(r.UTF32ToString=function(){Ce("'UTF32ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"stringToUTF32")||(r.stringToUTF32=function(){Ce("'stringToUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"lengthBytesUTF32")||(r.lengthBytesUTF32=function(){Ce("'lengthBytesUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"allocateUTF8")||(r.allocateUTF8=function(){Ce("'allocateUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(r,"allocateUTF8OnStack")||(r.allocateUTF8OnStack=function(){Ce("'allocateUTF8OnStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),r.writeStackCookie=oe,r.checkStackCookie=ie,Object.getOwnPropertyDescriptor(r,"ALLOC_NORMAL")||Object.defineProperty(r,"ALLOC_NORMAL",{configurable:!0,get(){Ce("'ALLOC_NORMAL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),Object.getOwnPropertyDescriptor(r,"ALLOC_STACK")||Object.defineProperty(r,"ALLOC_STACK",{configurable:!0,get(){Ce("'ALLOC_STACK' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),fe=function e(){wn||Dn(),wn||(fe=e)},r.run=Dn,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();return Dn(),t.ready}}(),selfie_segmentation_solution_simd_wasm_bin_default=createMediapipeSolutionsWasm,createMediapipeSolutionsWasm2=function(){var e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(e=e||__filename),function(t){var r,n,o=void 0!==(t=t||{})?t:{};o.ready=new Promise((function(e,t){r=e,n=t})),Object.getOwnPropertyDescriptor(o.ready,"_main")||(Object.defineProperty(o.ready,"_main",{configurable:!0,get:function(){me("You are getting _main on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_main",{configurable:!0,set:function(){me("You are setting _main on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_stack_get_end")||(Object.defineProperty(o.ready,"_emscripten_stack_get_end",{configurable:!0,get:function(){me("You are getting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_stack_get_end",{configurable:!0,set:function(){me("You are setting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_stack_get_free")||(Object.defineProperty(o.ready,"_emscripten_stack_get_free",{configurable:!0,get:function(){me("You are getting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_stack_get_free",{configurable:!0,set:function(){me("You are setting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_stack_init")||(Object.defineProperty(o.ready,"_emscripten_stack_init",{configurable:!0,get:function(){me("You are getting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_stack_init",{configurable:!0,set:function(){me("You are setting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_stackSave")||(Object.defineProperty(o.ready,"_stackSave",{configurable:!0,get:function(){me("You are getting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_stackSave",{configurable:!0,set:function(){me("You are setting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_stackRestore")||(Object.defineProperty(o.ready,"_stackRestore",{configurable:!0,get:function(){me("You are getting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_stackRestore",{configurable:!0,set:function(){me("You are setting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_stackAlloc")||(Object.defineProperty(o.ready,"_stackAlloc",{configurable:!0,get:function(){me("You are getting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_stackAlloc",{configurable:!0,set:function(){me("You are setting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"___wasm_call_ctors")||(Object.defineProperty(o.ready,"___wasm_call_ctors",{configurable:!0,get:function(){me("You are getting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"___wasm_call_ctors",{configurable:!0,set:function(){me("You are setting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_fflush")||(Object.defineProperty(o.ready,"_fflush",{configurable:!0,get:function(){me("You are getting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_fflush",{configurable:!0,set:function(){me("You are setting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"___errno_location")||(Object.defineProperty(o.ready,"___errno_location",{configurable:!0,get:function(){me("You are getting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"___errno_location",{configurable:!0,set:function(){me("You are setting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_malloc")||(Object.defineProperty(o.ready,"_malloc",{configurable:!0,get:function(){me("You are getting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_malloc",{configurable:!0,set:function(){me("You are setting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_free")||(Object.defineProperty(o.ready,"_free",{configurable:!0,get:function(){me("You are getting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_free",{configurable:!0,set:function(){me("You are setting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_setThrew")||(Object.defineProperty(o.ready,"_setThrew",{configurable:!0,get:function(){me("You are getting _setThrew on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_setThrew",{configurable:!0,set:function(){me("You are setting _setThrew on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"___cxa_is_pointer_type")||(Object.defineProperty(o.ready,"___cxa_is_pointer_type",{configurable:!0,get:function(){me("You are getting ___cxa_is_pointer_type on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"___cxa_is_pointer_type",{configurable:!0,set:function(){me("You are setting ___cxa_is_pointer_type on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"___cxa_can_catch")||(Object.defineProperty(o.ready,"___cxa_can_catch",{configurable:!0,get:function(){me("You are getting ___cxa_can_catch on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"___cxa_can_catch",{configurable:!0,set:function(){me("You are setting ___cxa_can_catch on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_saveSetjmp")||(Object.defineProperty(o.ready,"_saveSetjmp",{configurable:!0,get:function(){me("You are getting _saveSetjmp on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_saveSetjmp",{configurable:!0,set:function(){me("You are setting _saveSetjmp on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_memalign")||(Object.defineProperty(o.ready,"_memalign",{configurable:!0,get:function(){me("You are getting _memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_memalign",{configurable:!0,set:function(){me("You are setting _memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_main_thread_process_queued_calls")||(Object.defineProperty(o.ready,"_emscripten_main_thread_process_queued_calls",{configurable:!0,get:function(){me("You are getting _emscripten_main_thread_process_queued_calls on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_main_thread_process_queued_calls",{configurable:!0,set:function(){me("You are setting _emscripten_main_thread_process_queued_calls on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_webgl_make_context_current")||(Object.defineProperty(o.ready,"_emscripten_webgl_make_context_current",{configurable:!0,get:function(){me("You are getting _emscripten_webgl_make_context_current on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_webgl_make_context_current",{configurable:!0,set:function(){me("You are setting _emscripten_webgl_make_context_current on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_webgl_get_current_context")||(Object.defineProperty(o.ready,"_emscripten_webgl_get_current_context",{configurable:!0,get:function(){me("You are getting _emscripten_webgl_get_current_context on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_webgl_get_current_context",{configurable:!0,set:function(){me("You are setting _emscripten_webgl_get_current_context on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"__get_tzname")||(Object.defineProperty(o.ready,"__get_tzname",{configurable:!0,get:function(){me("You are getting __get_tzname on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"__get_tzname",{configurable:!0,set:function(){me("You are setting __get_tzname on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"__get_daylight")||(Object.defineProperty(o.ready,"__get_daylight",{configurable:!0,get:function(){me("You are getting __get_daylight on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"__get_daylight",{configurable:!0,set:function(){me("You are setting __get_daylight on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"__get_timezone")||(Object.defineProperty(o.ready,"__get_timezone",{configurable:!0,get:function(){me("You are getting __get_timezone on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"__get_timezone",{configurable:!0,set:function(){me("You are setting __get_timezone on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_builtin_malloc")||(Object.defineProperty(o.ready,"_emscripten_builtin_malloc",{configurable:!0,get:function(){me("You are getting _emscripten_builtin_malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_builtin_malloc",{configurable:!0,set:function(){me("You are setting _emscripten_builtin_malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_builtin_free")||(Object.defineProperty(o.ready,"_emscripten_builtin_free",{configurable:!0,get:function(){me("You are getting _emscripten_builtin_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_builtin_free",{configurable:!0,set:function(){me("You are setting _emscripten_builtin_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"_emscripten_builtin_memalign")||(Object.defineProperty(o.ready,"_emscripten_builtin_memalign",{configurable:!0,get:function(){me("You are getting _emscripten_builtin_memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"_emscripten_builtin_memalign",{configurable:!0,set:function(){me("You are setting _emscripten_builtin_memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"___getTypeName")||(Object.defineProperty(o.ready,"___getTypeName",{configurable:!0,get:function(){me("You are getting ___getTypeName on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"___getTypeName",{configurable:!0,set:function(){me("You are setting ___getTypeName on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"___embind_register_native_and_builtin_types")||(Object.defineProperty(o.ready,"___embind_register_native_and_builtin_types",{configurable:!0,get:function(){me("You are getting ___embind_register_native_and_builtin_types on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"___embind_register_native_and_builtin_types",{configurable:!0,set:function(){me("You are setting ___embind_register_native_and_builtin_types on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(o.ready,"onRuntimeInitialized")||(Object.defineProperty(o.ready,"onRuntimeInitialized",{configurable:!0,get:function(){me("You are getting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(o.ready,"onRuntimeInitialized",{configurable:!0,set:function(){me("You are setting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}));var i,a={};for(i in o)o.hasOwnProperty(i)&&(a[i]=o[i]);var s=[],A="./this.program",c=function(e,t){throw t},g="object"==typeof window,d="function"==typeof importScripts,u="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,l=!g&&!u&&!d;if(o.ENVIRONMENT)throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -s ENVIRONMENT=web or -s ENVIRONMENT=node)");var E,f,p,h="";if(!g&&!d)throw new Error("environment detection error");if(d?h=self.location.href:"undefined"!=typeof document&&document.currentScript&&(h=document.currentScript.src),e&&(h=e),h=0!==h.indexOf("blob:")?h.substr(0,h.lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");E=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},d&&(p=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),f=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)};var I=o.print||console.log.bind(console),m=o.printErr||console.warn.bind(console);for(i in a)a.hasOwnProperty(i)&&(o[i]=a[i]);function C(e){C.shown||(C.shown={}),C.shown[e]||(C.shown[e]=1,m(e))}a=null,o.arguments&&(s=o.arguments),Object.getOwnPropertyDescriptor(o,"arguments")||Object.defineProperty(o,"arguments",{configurable:!0,get:function(){me("Module.arguments has been replaced with plain arguments_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),o.thisProgram&&(A=o.thisProgram),Object.getOwnPropertyDescriptor(o,"thisProgram")||Object.defineProperty(o,"thisProgram",{configurable:!0,get:function(){me("Module.thisProgram has been replaced with plain thisProgram (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),o.quit&&(c=o.quit),Object.getOwnPropertyDescriptor(o,"quit")||Object.defineProperty(o,"quit",{configurable:!0,get:function(){me("Module.quit has been replaced with plain quit_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Q(void 0===o.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),Q(void 0===o.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),Q(void 0===o.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),Q(void 0===o.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),Q(void 0===o.read,"Module.read option was removed (modify read_ in JS)"),Q(void 0===o.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),Q(void 0===o.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),Q(void 0===o.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),Q(void 0===o.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),Object.getOwnPropertyDescriptor(o,"read")||Object.defineProperty(o,"read",{configurable:!0,get:function(){me("Module.read has been replaced with plain read_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(o,"readAsync")||Object.defineProperty(o,"readAsync",{configurable:!0,get:function(){me("Module.readAsync has been replaced with plain readAsync (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(o,"readBinary")||Object.defineProperty(o,"readBinary",{configurable:!0,get:function(){me("Module.readBinary has been replaced with plain readBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(o,"setWindowTitle")||Object.defineProperty(o,"setWindowTitle",{configurable:!0,get:function(){me("Module.setWindowTitle has been replaced with plain setWindowTitle (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Q(!l,"shell environment detected but not enabled at build time. Add 'shell' to `-s ENVIRONMENT` to enable.");var y,_=0,w=function(e){_=e};o.wasmBinary&&(y=o.wasmBinary),Object.getOwnPropertyDescriptor(o,"wasmBinary")||Object.defineProperty(o,"wasmBinary",{configurable:!0,get:function(){me("Module.wasmBinary has been replaced with plain wasmBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}});var B,D=o.noExitRuntime||!0;Object.getOwnPropertyDescriptor(o,"noExitRuntime")||Object.defineProperty(o,"noExitRuntime",{configurable:!0,get:function(){me("Module.noExitRuntime has been replaced with plain noExitRuntime (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),"object"!=typeof WebAssembly&&me("no native wasm support detected");var O,b=!1;function Q(e,t){e||me("Assertion failed: "+t)}var T="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function v(e,t,r){for(var n=t+r,o=t;e[o]&&!(o>=n);)++o;if(o-t>16&&e.subarray&&T)return T.decode(e.subarray(t,o));for(var i="";t<o;){var a=e[t++];if(128&a){var s=63&e[t++];if(192!=(224&a)){var A=63&e[t++];if(224==(240&a)?a=(15&a)<<12|s<<6|A:(240!=(248&a)&&C("Invalid UTF-8 leading byte 0x"+a.toString(16)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),a=(7&a)<<18|s<<12|A<<6|63&e[t++]),a<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i}function P(e,t){return e?v(k,e,t):""}function R(e,t,r,n){if(!(n>0))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<=57343)s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a);if(s<=127){if(r>=i)break;t[r++]=s}else if(s<=2047){if(r+1>=i)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=i)break;s>=2097152&&C("Invalid Unicode code point 0x"+s.toString(16)+" encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x1FFFFF)."),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 M(e,t,r){return Q("number"==typeof r,"stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),R(e,k,t,r)}function S(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}var F,N,k,x,U,j,L,H,G,Y="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function X(e,t){Q(e%2==0,"Pointer passed to UTF16ToString must be aligned to two bytes!");for(var r=e,n=r>>1,o=n+t/2;!(n>=o)&&U[n];)++n;if((r=n<<1)-e>32&&Y)return Y.decode(k.subarray(e,r));for(var i="",a=0;!(a>=t/2);++a){var s=x[e+2*a>>1];if(0==s)break;i+=String.fromCharCode(s)}return i}function V(e,t,r){if(Q(t%2==0,"Pointer passed to stringToUTF16 must be aligned to two bytes!"),Q("number"==typeof r,"stringToUTF16(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),void 0===r&&(r=2147483647),r<2)return 0;for(var n=t,o=(r-=2)<2*e.length?r/2:e.length,i=0;i<o;++i){var a=e.charCodeAt(i);x[t>>1]=a,t+=2}return x[t>>1]=0,t-n}function W(e){return 2*e.length}function z(e,t){Q(e%4==0,"Pointer passed to UTF32ToString must be aligned to four bytes!");for(var r=0,n="";!(r>=t/4);){var o=j[e+4*r>>2];if(0==o)break;if(++r,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n}function $(e,t,r){if(Q(t%4==0,"Pointer passed to stringToUTF32 must be aligned to four bytes!"),Q("number"==typeof r,"stringToUTF32(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),void 0===r&&(r=2147483647),r<4)return 0;for(var n=t,o=n+r-4,i=0;i<e.length;++i){var a=e.charCodeAt(i);if(a>=55296&&a<=57343)a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i);if(j[t>>2]=a,(t+=4)+4>o)break}return j[t>>2]=0,t-n}function K(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&++r,t+=4}return t}function J(e){var t=S(e)+1,r=un(t);return r&&R(e,N,r,t),r}function Z(e,t){Q(e.length>=0,"writeArrayToMemory array must have a length (should be an array or typed array)"),N.set(e,t)}function q(e){F=e,o.HEAP8=N=new Int8Array(e),o.HEAP16=x=new Int16Array(e),o.HEAP32=j=new Int32Array(e),o.HEAPU8=k=new Uint8Array(e),o.HEAPU16=U=new Uint16Array(e),o.HEAPU32=L=new Uint32Array(e),o.HEAPF32=H=new Float32Array(e),o.HEAPF64=G=new Float64Array(e)}var ee=5242880;o.TOTAL_STACK&&Q(ee===o.TOTAL_STACK,"the stack size can no longer be determined at runtime");var te,re=o.INITIAL_MEMORY||16777216;function ne(){var e=fn();Q(!(3&e)),L[1+(e>>2)]=34821223,L[2+(e>>2)]=2310721022,j[0]=1668509029}function oe(){if(!b){var e=fn(),t=L[1+(e>>2)],r=L[2+(e>>2)];34821223==t&&2310721022==r||me("Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x2135467, but received 0x"+r.toString(16)+" "+t.toString(16)),1668509029!==j[0]&&me("Runtime error: The application has corrupted its heap memory area (address zero)!")}}Object.getOwnPropertyDescriptor(o,"INITIAL_MEMORY")||Object.defineProperty(o,"INITIAL_MEMORY",{configurable:!0,get:function(){me("Module.INITIAL_MEMORY has been replaced with plain INITIAL_MEMORY (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Q(re>=ee,"INITIAL_MEMORY should be larger than TOTAL_STACK, was "+re+"! (TOTAL_STACK="+ee+")"),Q("undefined"!=typeof Int32Array&&"undefined"!=typeof Float64Array&&void 0!==Int32Array.prototype.subarray&&void 0!==Int32Array.prototype.set,"JS engine does not provide full typed array support"),Q(!o.wasmMemory,"Use of `wasmMemory` detected. Use -s IMPORTED_MEMORY to define wasmMemory externally"),Q(16777216==re,"Detected runtime INITIAL_MEMORY setting. Use -s IMPORTED_MEMORY to define wasmMemory dynamically"),function(){var e=new Int16Array(1),t=new Int8Array(e.buffer);if(e[0]=25459,115!==t[0]||99!==t[1])throw"Runtime error: expected the system to be little-endian! (Run with -s SUPPORT_BIG_ENDIAN=1 to bypass)"}();var ie=[],ae=[],se=[],Ae=[],ce=!1,ge=!1;function de(){return D||!1}Q(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),Q(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),Q(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),Q(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var ue=0,le=null,Ee=null,fe={};function pe(e){for(var t=e;;){if(!fe[e])return e;e=t+Math.random()}}function he(e){ue++,o.monitorRunDependencies&&o.monitorRunDependencies(ue),e?(Q(!fe[e]),fe[e]=1,null===le&&"undefined"!=typeof setInterval&&(le=setInterval((function(){if(b)return clearInterval(le),void(le=null);var e=!1;for(var t in fe)e||(e=!0,m("still waiting on run dependencies:")),m("dependency: "+t);e&&m("(end of list)")}),1e4))):m("warning: run dependency added without ID")}function Ie(e){if(ue--,o.monitorRunDependencies&&o.monitorRunDependencies(ue),e?(Q(fe[e]),delete fe[e]):m("warning: run dependency removed without ID"),0==ue&&(null!==le&&(clearInterval(le),le=null),Ee)){var t=Ee;Ee=null,t()}}function me(e){o.onAbort&&o.onAbort(e),m(e+=""),b=!0,O=1;var t="abort("+e+") at "+function(){var e=function(){var e=new Error;if(!e.stack){try{throw new Error}catch(t){e=t}if(!e.stack)return"(no stack trace available)"}return e.stack.toString()}();o.extraStackTrace&&(e+="\n"+o.extraStackTrace());return ke(e)}();e=t;var r=new WebAssembly.RuntimeError(e);throw n(r),r}o.preloadedImages={},o.preloadedAudios={};var Ce,ye,_e,we;function Be(e){return e.startsWith("data:application/octet-stream;base64,")}function De(e){return e.startsWith("file://")}function Oe(e,t){return function(){var r=e,n=t;return t||(n=o.asm),Q(ce,"native function `"+r+"` called before runtime initialization"),Q(!ge,"native function `"+r+"` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),n[e]||Q(n[e],"exported native function `"+r+"` not found"),n[e].apply(null,arguments)}}function be(e){try{if(e==Ce&&y)return new Uint8Array(y);if(p)return p(e);throw"both async and sync fetching of the wasm failed"}catch(e){me(e)}}Be(Ce="selfie_segmentation_solution_wasm_bin.wasm")||(ye=Ce,Ce=o.locateFile?o.locateFile(ye,h):h+ye);var Qe,Te={460976:function(){let e=!0;if(e){const t=Pr;if("function"!=typeof t)return void("undefined"!=typeof console&&console.error('Expected Emscripten global function "findCanvasEventTarget" not found. WebGL context creation may fail.'));Pr=function(e){if(0==e){if(o&&o.canvas)return o.canvas;if(o&&o.canvasCssSelector)return t(o.canvasCssSelector);"undefined"!=typeof console&&console.warn("Module properties canvas and canvasCssSelector not found during WebGL context creation.")}return t(e)},e=!1}},461761:function(){return"undefined"!=typeof wasmOffsetConverter}};function ve(e,t){if(Fe.mainLoop.timingMode=e,Fe.mainLoop.timingValue=t,!Fe.mainLoop.func)return m("emscripten_set_main_loop_timing: Cannot set timing mode for main loop since a main loop does not exist! Call emscripten_set_main_loop first to set one up."),1;if(Fe.mainLoop.running||(Fe.mainLoop.running=!0),0==e)Fe.mainLoop.scheduler=function(){var e=0|Math.max(0,Fe.mainLoop.tickStartTime+t-Qe());setTimeout(Fe.mainLoop.runner,e)},Fe.mainLoop.method="timeout";else if(1==e)Fe.mainLoop.scheduler=function(){Fe.requestAnimationFrame(Fe.mainLoop.runner)},Fe.mainLoop.method="rAF";else if(2==e){if("undefined"==typeof setImmediate){var r=[],n="setimmediate";addEventListener("message",(function(e){e.data!==n&&e.data.target!==n||(e.stopPropagation(),r.shift()())}),!0),setImmediate=function(e){r.push(e),d?(void 0===o.setImmediates&&(o.setImmediates=[]),o.setImmediates.push(e),postMessage({target:n})):postMessage(n,"*")}}Fe.mainLoop.scheduler=function(){setImmediate(Fe.mainLoop.runner)},Fe.mainLoop.method="immediate"}return 0}function Pe(e){!function(e,t){if(O=e,function(){var e=I,t=m,r=!1;I=m=function(e){r=!0};try{var n=o._fflush;n&&n(0),["stdout","stderr"].forEach((function(e){var t=Ze.analyzePath("/dev/"+e);if(t){var n=t.object.rdev,o=We.ttys[n];o&&o.output&&o.output.length&&(r=!0)}}))}catch(e){}I=e,m=t,r&&C("stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the FAQ), or make sure to emit a newline when you printf etc.")}(),de()){if(!t){var r="program exited (with status: "+e+"), but EXIT_RUNTIME is not set, so halting execution but not exiting the runtime or preventing further async execution (build with EXIT_RUNTIME=1, if you want a true shutdown)";n(r),m(r)}}else oe(),ge=!0;Qn(e)}(e)}function Re(e,t,r,n,i){Q(!Fe.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters."),Fe.mainLoop.func=e,Fe.mainLoop.arg=n;var a=Fe.mainLoop.currentlyRunningMainloop;function s(){return!(a<Fe.mainLoop.currentlyRunningMainloop)||(function(){if(!de())try{Pe(O)}catch(e){if(e instanceof On)return;throw e}}(),!1)}if(Fe.mainLoop.running=!1,Fe.mainLoop.runner=function(){if(!b)if(Fe.mainLoop.queue.length>0){var t=Date.now(),r=Fe.mainLoop.queue.shift();if(r.func(r.arg),Fe.mainLoop.remainingBlockers){var n=Fe.mainLoop.remainingBlockers,i=n%1==0?n-1:Math.floor(n);r.counted?Fe.mainLoop.remainingBlockers=i:(i+=.5,Fe.mainLoop.remainingBlockers=(8*n+i)/9)}if(I('main loop blocker "'+r.name+'" took '+(Date.now()-t)+" ms"),Fe.mainLoop.updateStatus(),!s())return;setTimeout(Fe.mainLoop.runner,0)}else s()&&(Fe.mainLoop.currentFrameNumber=Fe.mainLoop.currentFrameNumber+1|0,1==Fe.mainLoop.timingMode&&Fe.mainLoop.timingValue>1&&Fe.mainLoop.currentFrameNumber%Fe.mainLoop.timingValue!=0?Fe.mainLoop.scheduler():(0==Fe.mainLoop.timingMode&&(Fe.mainLoop.tickStartTime=Qe()),br.newRenderingFrameStarted(),void 0!==br&&br.currentContext&&!br.currentContextIsProxied&&!br.currentContext.attributes.explicitSwapControl&&br.currentContext.GLctx.commit&&br.currentContext.GLctx.commit(),"timeout"===Fe.mainLoop.method&&o.ctx&&(C("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!"),Fe.mainLoop.method=""),Fe.mainLoop.runIter(e),oe(),s()&&("object"==typeof SDL&&SDL.audio&&SDL.audio.queueNewAudioData&&SDL.audio.queueNewAudioData(),Fe.mainLoop.scheduler())))},i||(t&&t>0?ve(0,1e3/t):ve(1,1),Fe.mainLoop.scheduler()),r)throw"unwind"}function Me(e,t){if(b)m("user callback triggered after application aborted. Ignoring.");else if(t)e();else try{e()}catch(e){if(e instanceof On)return;if("unwind"!==e)throw e&&"object"==typeof e&&e.stack&&m("exception thrown: "+[e,e.stack]),e}}function Se(e,t){return setTimeout((function(){Me(e)}),t)}Qe=u?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:function(){return performance.now()};var Fe={mainLoop:{running:!1,scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Fe.mainLoop.scheduler=null,Fe.mainLoop.currentlyRunningMainloop++},resume:function(){Fe.mainLoop.currentlyRunningMainloop++;var e=Fe.mainLoop.timingMode,t=Fe.mainLoop.timingValue,r=Fe.mainLoop.func;Fe.mainLoop.func=null,Re(r,0,!1,Fe.mainLoop.arg,!0),ve(e,t),Fe.mainLoop.scheduler()},updateStatus:function(){if(o.setStatus){var e=o.statusMessage||"Please wait...",t=Fe.mainLoop.remainingBlockers,r=Fe.mainLoop.expectedBlockers;t?t<r?o.setStatus(e+" ("+(r-t)+"/"+r+")"):o.setStatus(e):o.setStatus("")}},runIter:function(e){if(!b){if(o.preMainLoop)if(!1===o.preMainLoop())return;Me(e),o.postMainLoop&&o.postMainLoop()}}},isFullscreen:!1,pointerLock:!1,moduleContextCreatedCallbacks:[],workers:[],init:function(){if(o.preloadPlugins||(o.preloadPlugins=[]),!Fe.initted){Fe.initted=!0;try{new Blob,Fe.hasBlobConstructor=!0}catch(e){Fe.hasBlobConstructor=!1,I("warning: no blob constructor, cannot create blobs with mimetypes")}Fe.BlobBuilder="undefined"!=typeof MozBlobBuilder?MozBlobBuilder:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:Fe.hasBlobConstructor?null:I("warning: no BlobBuilder"),Fe.URLObject="undefined"!=typeof window?window.URL?window.URL:window.webkitURL:void 0,o.noImageDecoding||void 0!==Fe.URLObject||(I("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available."),o.noImageDecoding=!0);var e={canHandle:function(e){return!o.noImageDecoding&&/\.(jpg|jpeg|png|bmp)$/i.test(e)},handle:function(e,t,r,n){var i=null;if(Fe.hasBlobConstructor)try{(i=new Blob([e],{type:Fe.getMimetype(t)})).size!==e.length&&(i=new Blob([new Uint8Array(e).buffer],{type:Fe.getMimetype(t)}))}catch(e){C("Blob constructor present but fails: "+e+"; falling back to blob builder")}if(!i){var a=new Fe.BlobBuilder;a.append(new Uint8Array(e).buffer),i=a.getBlob()}var s=Fe.URLObject.createObjectURL(i);Q("string"==typeof s,"createObjectURL must return a url as a string");var A=new Image;A.onload=function(){Q(A.complete,"Image "+t+" could not be decoded");var n=document.createElement("canvas");n.width=A.width,n.height=A.height,n.getContext("2d").drawImage(A,0,0),o.preloadedImages[t]=n,Fe.URLObject.revokeObjectURL(s),r&&r(e)},A.onerror=function(e){I("Image "+s+" could not be decoded"),n&&n()},A.src=s}};o.preloadPlugins.push(e);var t={canHandle:function(e){return!o.noAudioDecoding&&e.substr(-4)in{".ogg":1,".wav":1,".mp3":1}},handle:function(e,t,r,n){var i=!1;function a(n){i||(i=!0,o.preloadedAudios[t]=n,r&&r(e))}function s(){i||(i=!0,o.preloadedAudios[t]=new Audio,n&&n())}if(!Fe.hasBlobConstructor)return s();try{var A=new Blob([e],{type:Fe.getMimetype(t)})}catch(e){return s()}var c=Fe.URLObject.createObjectURL(A);Q("string"==typeof c,"createObjectURL must return a url as a string");var g=new Audio;g.addEventListener("canplaythrough",(function(){a(g)}),!1),g.onerror=function(r){i||(I("warning: browser could not fully decode audio "+t+", trying slower base64 approach"),g.src="data:audio/x-"+t.substr(-3)+";base64,"+function(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r="",n=0,o=0,i=0;i<e.length;i++)for(n=n<<8|e[i],o+=8;o>=6;){var a=n>>o-6&63;o-=6,r+=t[a]}return 2==o?(r+=t[(3&n)<<4],r+="=="):4==o&&(r+=t[(15&n)<<2],r+="="),r}(e),a(g))},g.src=c,Se((function(){a(g)}),1e4)}};o.preloadPlugins.push(t);var r=o.canvas;r&&(r.requestPointerLock=r.requestPointerLock||r.mozRequestPointerLock||r.webkitRequestPointerLock||r.msRequestPointerLock||function(){},r.exitPointerLock=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock||function(){},r.exitPointerLock=r.exitPointerLock.bind(document),o.elementPointerLock&&r.addEventListener("click",(function(e){!Fe.pointerLock&&o.canvas.requestPointerLock&&(o.canvas.requestPointerLock(),e.preventDefault())}),!1))}},createContext:function(e,t,r,n){if(t&&o.ctx&&e==o.canvas)return o.ctx;var i,a;if(t){var s={antialias:!1,alpha:!1,majorVersion:"undefined"!=typeof WebGL2RenderingContext?2:1};if(n)for(var A in n)s[A]=n[A];void 0!==br&&(a=br.createContext(e,s))&&(i=br.getContext(a).GLctx)}else i=e.getContext("2d");return i?(r&&(t||Q(void 0===en,"cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),o.ctx=i,t&&br.makeContextCurrent(a),o.useWebGL=t,Fe.moduleContextCreatedCallbacks.forEach((function(e){e()})),Fe.init()),i):null},destroyContext:function(e,t,r){},fullscreenHandlersInstalled:!1,lockPointer:void 0,resizeCanvas:void 0,requestFullscreen:function(e,t){Fe.lockPointer=e,Fe.resizeCanvas=t,void 0===Fe.lockPointer&&(Fe.lockPointer=!0),void 0===Fe.resizeCanvas&&(Fe.resizeCanvas=!1);var r=o.canvas;function n(){Fe.isFullscreen=!1;var e=r.parentNode;(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e?(r.exitFullscreen=Fe.exitFullscreen,Fe.lockPointer&&r.requestPointerLock(),Fe.isFullscreen=!0,Fe.resizeCanvas?Fe.setFullscreenCanvasSize():Fe.updateCanvasDimensions(r)):(e.parentNode.insertBefore(r,e),e.parentNode.removeChild(e),Fe.resizeCanvas?Fe.setWindowedCanvasSize():Fe.updateCanvasDimensions(r)),o.onFullScreen&&o.onFullScreen(Fe.isFullscreen),o.onFullscreen&&o.onFullscreen(Fe.isFullscreen)}Fe.fullscreenHandlersInstalled||(Fe.fullscreenHandlersInstalled=!0,document.addEventListener("fullscreenchange",n,!1),document.addEventListener("mozfullscreenchange",n,!1),document.addEventListener("webkitfullscreenchange",n,!1),document.addEventListener("MSFullscreenChange",n,!1));var i=document.createElement("div");r.parentNode.insertBefore(i,r),i.appendChild(r),i.requestFullscreen=i.requestFullscreen||i.mozRequestFullScreen||i.msRequestFullscreen||(i.webkitRequestFullscreen?function(){i.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)}:null)||(i.webkitRequestFullScreen?function(){i.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}:null),i.requestFullscreen()},requestFullScreen:function(){me("Module.requestFullScreen has been replaced by Module.requestFullscreen (without a capital S)")},exitFullscreen:function(){return!!Fe.isFullscreen&&((document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.webkitCancelFullScreen||function(){}).apply(document,[]),!0)},nextRAF:0,fakeRequestAnimationFrame:function(e){var t=Date.now();if(0===Fe.nextRAF)Fe.nextRAF=t+1e3/60;else for(;t+2>=Fe.nextRAF;)Fe.nextRAF+=1e3/60;var r=Math.max(Fe.nextRAF-t,0);setTimeout(e,r)},requestAnimationFrame:function(e){"function"!=typeof requestAnimationFrame?(0,Fe.fakeRequestAnimationFrame)(e):requestAnimationFrame(e)},safeSetTimeout:function(e){return Se(e)},safeRequestAnimationFrame:function(e){return Fe.requestAnimationFrame((function(){Me(e)}))},getMimetype:function(e){return{jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",bmp:"image/bmp",ogg:"audio/ogg",wav:"audio/wav",mp3:"audio/mpeg"}[e.substr(e.lastIndexOf(".")+1)]},getUserMedia:function(e){window.getUserMedia||(window.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia),window.getUserMedia(e)},getMovementX:function(e){return e.movementX||e.mozMovementX||e.webkitMovementX||0},getMovementY:function(e){return e.movementY||e.mozMovementY||e.webkitMovementY||0},getMouseWheelDelta:function(e){var t=0;switch(e.type){case"DOMMouseScroll":t=e.detail/3;break;case"mousewheel":t=e.wheelDelta/120;break;case"wheel":switch(t=e.deltaY,e.deltaMode){case 0:t/=100;break;case 1:t/=3;break;case 2:t*=80;break;default:throw"unrecognized mouse wheel delta mode: "+e.deltaMode}break;default:throw"unrecognized mouse wheel event: "+e.type}return t},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(e){if(Fe.pointerLock)"mousemove"!=e.type&&"mozMovementX"in e?Fe.mouseMovementX=Fe.mouseMovementY=0:(Fe.mouseMovementX=Fe.getMovementX(e),Fe.mouseMovementY=Fe.getMovementY(e)),"undefined"!=typeof SDL?(Fe.mouseX=SDL.mouseX+Fe.mouseMovementX,Fe.mouseY=SDL.mouseY+Fe.mouseMovementY):(Fe.mouseX+=Fe.mouseMovementX,Fe.mouseY+=Fe.mouseMovementY);else{var t=o.canvas.getBoundingClientRect(),r=o.canvas.width,n=o.canvas.height,i=void 0!==window.scrollX?window.scrollX:window.pageXOffset,a=void 0!==window.scrollY?window.scrollY:window.pageYOffset;if(Q(void 0!==i&&void 0!==a,"Unable to retrieve scroll position, mouse positions likely broken."),"touchstart"===e.type||"touchend"===e.type||"touchmove"===e.type){var s=e.touch;if(void 0===s)return;var A=s.pageX-(i+t.left),c=s.pageY-(a+t.top),g={x:A*=r/t.width,y:c*=n/t.height};if("touchstart"===e.type)Fe.lastTouches[s.identifier]=g,Fe.touches[s.identifier]=g;else if("touchend"===e.type||"touchmove"===e.type){var d=Fe.touches[s.identifier];d||(d=g),Fe.lastTouches[s.identifier]=d,Fe.touches[s.identifier]=g}return}var u=e.pageX-(i+t.left),l=e.pageY-(a+t.top);u*=r/t.width,l*=n/t.height,Fe.mouseMovementX=u-Fe.mouseX,Fe.mouseMovementY=l-Fe.mouseY,Fe.mouseX=u,Fe.mouseY=l}},resizeListeners:[],updateResizeListeners:function(){var e=o.canvas;Fe.resizeListeners.forEach((function(t){t(e.width,e.height)}))},setCanvasSize:function(e,t,r){var n=o.canvas;Fe.updateCanvasDimensions(n,e,t),r||Fe.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if("undefined"!=typeof SDL){var e=L[SDL.screen>>2];e|=8388608,j[SDL.screen>>2]=e}Fe.updateCanvasDimensions(o.canvas),Fe.updateResizeListeners()},setWindowedCanvasSize:function(){if("undefined"!=typeof SDL){var e=L[SDL.screen>>2];e&=-8388609,j[SDL.screen>>2]=e}Fe.updateCanvasDimensions(o.canvas),Fe.updateResizeListeners()},updateCanvasDimensions:function(e,t,r){t&&r?(e.widthNative=t,e.heightNative=r):(t=e.widthNative,r=e.heightNative);var n=t,i=r;if(o.forcedAspectRatio&&o.forcedAspectRatio>0&&(n/i<o.forcedAspectRatio?n=Math.round(i*o.forcedAspectRatio):i=Math.round(n/o.forcedAspectRatio)),(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e.parentNode&&"undefined"!=typeof screen){var a=Math.min(screen.width/n,screen.height/i);n=Math.round(n*a),i=Math.round(i*a)}Fe.resizeCanvas?(e.width!=n&&(e.width=n),e.height!=i&&(e.height=i),void 0!==e.style&&(e.style.removeProperty("width"),e.style.removeProperty("height"))):(e.width!=t&&(e.width=t),e.height!=r&&(e.height=r),void 0!==e.style&&(n!=t||i!=r?(e.style.setProperty("width",n+"px","important"),e.style.setProperty("height",i+"px","important")):(e.style.removeProperty("width"),e.style.removeProperty("height"))))}};function Ne(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"==typeof r?void 0===t.arg?te.get(r)():te.get(r)(t.arg):r(void 0===t.arg?null:t.arg)}else t(o)}}function ke(e){return e.replace(/\b_Z[\w\d_]+/g,(function(e){var t,r=(t=e,C("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling"),t);return e===r?e:r+" ["+e+"]"}))}function xe(e){this.excPtr=e,this.ptr=e-16,this.set_type=function(e){j[this.ptr+4>>2]=e},this.get_type=function(){return j[this.ptr+4>>2]},this.set_destructor=function(e){j[this.ptr+8>>2]=e},this.get_destructor=function(){return j[this.ptr+8>>2]},this.set_refcount=function(e){j[this.ptr>>2]=e},this.set_caught=function(e){e=e?1:0,N[this.ptr+12|0]=e},this.get_caught=function(){return 0!=N[this.ptr+12|0]},this.set_rethrown=function(e){e=e?1:0,N[this.ptr+13|0]=e},this.get_rethrown=function(){return 0!=N[this.ptr+13|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=j[this.ptr>>2];j[this.ptr>>2]=e+1},this.release_ref=function(){var e=j[this.ptr>>2];return j[this.ptr>>2]=e-1,Q(e>0),1===e}}function Ue(e){this.free=function(){dn(this.ptr),this.ptr=0},this.set_base_ptr=function(e){j[this.ptr>>2]=e},this.get_base_ptr=function(){return j[this.ptr>>2]},this.set_adjusted_ptr=function(e){j[this.ptr+4>>2]=e},this.get_adjusted_ptr_addr=function(){return this.ptr+4},this.get_adjusted_ptr=function(){return j[this.ptr+4>>2]},this.get_exception_ptr=function(){if(Bn(this.get_exception_info().get_type()))return j[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 xe(this.get_base_ptr())},void 0===e?(this.ptr=un(8),this.set_adjusted_ptr(0)):this.ptr=e}var je=[];var Le=0;function He(e){try{return dn(new xe(e).ptr)}catch(e){m("exception during cxa_free_exception: "+e)}}function Ge(e){return j[ln()>>2]=e,e}var Ye={splitPath:function(e){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1)},normalizeArray:function(e,t){for(var r=0,n=e.length-1;n>=0;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=Ye.normalizeArray(e.split("/").filter((function(e){return!!e})),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e},dirname:function(e){var t=Ye.splitPath(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},basename:function(e){if("/"===e)return"/";var t=(e=(e=Ye.normalize(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===t?e:e.substr(t+1)},extname:function(e){return Ye.splitPath(e)[3]},join:function(){var e=Array.prototype.slice.call(arguments,0);return Ye.normalize(e.join("/"))},join2:function(e,t){return Ye.normalize(e+"/"+t)}};function Xe(){if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues){var e=new Uint8Array(1);return function(){return crypto.getRandomValues(e),e[0]}}if(u)try{var t=__require("crypto");return function(){return t.randomBytes(1)[0]}}catch(e){}return function(){me("no cryptographic support found for randomDevice. consider polyfilling it if you want to use something insecure like Math.random(), e.g. put this in a --pre-js: var crypto = { getRandomValues: function(array) { for (var i = 0; i < array.length; i++) array[i] = (Math.random()*256)|0 } };")}}var Ve={resolve:function(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:Ze.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=Ye.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;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=Ve.resolve(e).substr(1),t=Ve.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}var A=[];for(s=a;s<n.length;s++)A.push("..");return(A=A.concat(o.slice(a))).join("/")}},We={ttys:[],init:function(){},shutdown:function(){},register:function(e,t){We.ttys[e]={input:[],output:[],ops:t},Ze.registerDevice(e,We.stream_ops)},stream_ops:{open:function(e){var t=We.ttys[e.node.rdev];if(!t)throw new Ze.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 Ze.ErrnoError(60);for(var i=0,a=0;a<n;a++){var s;try{s=e.tty.ops.get_char(e.tty)}catch(e){throw new Ze.ErrnoError(29)}if(void 0===s&&0===i)throw new Ze.ErrnoError(6);if(null==s)break;i++,t[r+a]=s}return i&&(e.node.timestamp=Date.now()),i},write:function(e,t,r,n,o){if(!e.tty||!e.tty.ops.put_char)throw new Ze.ErrnoError(60);try{for(var i=0;i<n;i++)e.tty.ops.put_char(e.tty,t[r+i])}catch(e){throw new Ze.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(u){var r=Buffer.alloc(256),n=0;try{n=nodeFS.readSync(process.stdin.fd,r,0,256,null)}catch(e){if(!e.toString().includes("EOF"))throw e;n=0}t=n>0?r.slice(0,n).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?null!==(t=window.prompt("Input: "))&&(t+="\n"):"function"==typeof readline&&null!==(t=readline())&&(t+="\n");if(!t)return null;e.input=An(t,!0)}return e.input.shift()},put_char:function(e,t){null===t||10===t?(I(v(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&e.output.length>0&&(I(v(e.output,0)),e.output=[])}},default_tty1_ops:{put_char:function(e,t){null===t||10===t?(m(v(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&e.output.length>0&&(m(v(e.output,0)),e.output=[])}}};function ze(e){e=function(e,t){return Q(t,"alignment argument is required"),Math.ceil(e/t)*t}(e,65536);var t=Dn(65536,e);return t?(function(e,t){k.fill(0,e,e+t)}(t,e),t):0}var $e={ops_table:null,mount:function(e){return $e.createNode(null,"/",16895,0)},createNode:function(e,t,r,n){if(Ze.isBlkdev(r)||Ze.isFIFO(r))throw new Ze.ErrnoError(63);$e.ops_table||($e.ops_table={dir:{node:{getattr:$e.node_ops.getattr,setattr:$e.node_ops.setattr,lookup:$e.node_ops.lookup,mknod:$e.node_ops.mknod,rename:$e.node_ops.rename,unlink:$e.node_ops.unlink,rmdir:$e.node_ops.rmdir,readdir:$e.node_ops.readdir,symlink:$e.node_ops.symlink},stream:{llseek:$e.stream_ops.llseek}},file:{node:{getattr:$e.node_ops.getattr,setattr:$e.node_ops.setattr},stream:{llseek:$e.stream_ops.llseek,read:$e.stream_ops.read,write:$e.stream_ops.write,allocate:$e.stream_ops.allocate,mmap:$e.stream_ops.mmap,msync:$e.stream_ops.msync}},link:{node:{getattr:$e.node_ops.getattr,setattr:$e.node_ops.setattr,readlink:$e.node_ops.readlink},stream:{}},chrdev:{node:{getattr:$e.node_ops.getattr,setattr:$e.node_ops.setattr},stream:Ze.chrdev_stream_ops}});var o=Ze.createNode(e,t,r,n);return Ze.isDir(o.mode)?(o.node_ops=$e.ops_table.dir.node,o.stream_ops=$e.ops_table.dir.stream,o.contents={}):Ze.isFile(o.mode)?(o.node_ops=$e.ops_table.file.node,o.stream_ops=$e.ops_table.file.stream,o.usedBytes=0,o.contents=null):Ze.isLink(o.mode)?(o.node_ops=$e.ops_table.link.node,o.stream_ops=$e.ops_table.link.stream):Ze.isChrdev(o.mode)&&(o.node_ops=$e.ops_table.chrdev.node,o.stream_ops=$e.ops_table.chrdev.stream),o.timestamp=Date.now(),e&&(e.contents[t]=o,e.timestamp=o.timestamp),o},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;if(!(r>=t)){t=Math.max(t,r*(r<1048576?2:1.125)>>>0),0!=r&&(t=Math.max(t,256));var n=e.contents;e.contents=new Uint8Array(t),e.usedBytes>0&&e.contents.set(n.subarray(0,e.usedBytes),0)}},resizeFileStorage:function(e,t){if(e.usedBytes!=t)if(0==t)e.contents=null,e.usedBytes=0;else{var 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=Ze.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,Ze.isDir(e.mode)?t.size=4096:Ze.isFile(e.mode)?t.size=e.usedBytes:Ze.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&&$e.resizeFileStorage(e,t.size)},lookup:function(e,t){throw Ze.genericErrors[44]},mknod:function(e,t,r,n){return $e.createNode(e,t,r,n)},rename:function(e,t,r){if(Ze.isDir(e.mode)){var n;try{n=Ze.lookupNode(t,r)}catch(e){}if(n)for(var o in n.contents)throw new Ze.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){var r=Ze.lookupNode(e,t);for(var n in r.contents)throw new Ze.ErrnoError(55);delete e.contents[t],e.timestamp=Date.now()},readdir:function(e){var t=[".",".."];for(var r in e.contents)e.contents.hasOwnProperty(r)&&t.push(r);return t},symlink:function(e,t,r){var n=$e.createNode(e,t,41471,0);return n.link=r,n},readlink:function(e){if(!Ze.isLink(e.mode))throw new Ze.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(Q(a>=0),a>8&&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(Q(!(t instanceof ArrayBuffer)),t.buffer===N.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 Q(0===o,"canOwn must imply no weird position inside the file"),a.contents=t.subarray(r,r+n),a.usedBytes=n,n;if(0===a.usedBytes&&0===o)return a.contents=t.slice(r,r+n),a.usedBytes=n,n;if(o+n<=a.usedBytes)return a.contents.set(t.subarray(r,r+n),o),n}if($e.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){var n=t;if(1===r?n+=e.position:2===r&&Ze.isFile(e.node.mode)&&(n+=e.node.usedBytes),n<0)throw new Ze.ErrnoError(28);return n},allocate:function(e,t,r){$e.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 Ze.ErrnoError(28);if(!Ze.isFile(e.node.mode))throw new Ze.ErrnoError(43);var a,s,A=e.node.contents;if(2&i||A.buffer!==F){if((n>0||n+r<A.length)&&(A=A.subarray?A.subarray(n,n+r):Array.prototype.slice.call(A,n,n+r)),s=!0,!(a=ze(r)))throw new Ze.ErrnoError(48);N.set(A,a)}else s=!1,a=A.byteOffset;return{ptr:a,allocated:s}},msync:function(e,t,r,n,o){if(!Ze.isFile(e.node.mode))throw new Ze.ErrnoError(43);if(2&o)return 0;$e.stream_ops.write(e,t,0,n,r,!1);return 0}}};var Ke={0:"Success",1:"Arg list too long",2:"Permission denied",3:"Address already in use",4:"Address not available",5:"Address family not supported by protocol family",6:"No more processes",7:"Socket already connected",8:"Bad file number",9:"Trying to read unreadable message",10:"Mount device busy",11:"Operation canceled",12:"No children",13:"Connection aborted",14:"Connection refused",15:"Connection reset by peer",16:"File locking deadlock error",17:"Destination address required",18:"Math arg out of domain of func",19:"Quota exceeded",20:"File exists",21:"Bad address",22:"File too large",23:"Host is unreachable",24:"Identifier removed",25:"Illegal byte sequence",26:"Connection already in progress",27:"Interrupted system call",28:"Invalid argument",29:"I/O error",30:"Socket is already connected",31:"Is a directory",32:"Too many symbolic links",33:"Too many open files",34:"Too many links",35:"Message too long",36:"Multihop attempted",37:"File or path name too long",38:"Network interface is not configured",39:"Connection reset by network",40:"Network is unreachable",41:"Too many open files in system",42:"No buffer space available",43:"No such device",44:"No such file or directory",45:"Exec format error",46:"No record locks available",47:"The link has been severed",48:"Not enough core",49:"No message of desired type",50:"Protocol not available",51:"No space left on device",52:"Function not implemented",53:"Socket is not connected",54:"Not a directory",55:"Directory not empty",56:"State not recoverable",57:"Socket operation on non-socket",59:"Not a typewriter",60:"No such device or address",61:"Value too large for defined data type",62:"Previous owner died",63:"Not super-user",64:"Broken pipe",65:"Protocol error",66:"Unknown protocol",67:"Protocol wrong type for socket",68:"Math result not representable",69:"Read only file system",70:"Illegal seek",71:"No such process",72:"Stale file handle",73:"Connection timed out",74:"Text file busy",75:"Cross-device link",100:"Device not a stream",101:"Bad font file fmt",102:"Invalid slot",103:"Invalid request code",104:"No anode",105:"Block device required",106:"Channel number out of range",107:"Level 3 halted",108:"Level 3 reset",109:"Link number out of range",110:"Protocol driver not attached",111:"No CSI structure available",112:"Level 2 halted",113:"Invalid exchange",114:"Invalid request descriptor",115:"Exchange full",116:"No data (for no delay io)",117:"Timer expired",118:"Out of streams resources",119:"Machine is not on the network",120:"Package not installed",121:"The object is remote",122:"Advertise error",123:"Srmount error",124:"Communication error on send",125:"Cross mount point (not really error)",126:"Given log. name not unique",127:"f.d. invalid for this operation",128:"Remote address changed",129:"Can access a needed shared lib",130:"Accessing a corrupted shared lib",131:".lib section in a.out corrupted",132:"Attempting to link in too many libs",133:"Attempting to exec a shared library",135:"Streams pipe error",136:"Too many users",137:"Socket type not supported",138:"Not supported",139:"Protocol family not supported",140:"Can't send after socket shutdown",141:"Too many references",142:"Host is down",148:"No medium (in tape drive)",156:"Level 2 not synchronized"},Je={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135},Ze={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:function(e,t){if(t=t||{},!(e=Ve.resolve(Ze.cwd(),e)))return{path:"",node:null};var r={follow_mount:!0,recurse_count:0};for(var n in r)void 0===t[n]&&(t[n]=r[n]);if(t.recurse_count>8)throw new Ze.ErrnoError(32);for(var o=Ye.normalizeArray(e.split("/").filter((function(e){return!!e})),!1),i=Ze.root,a="/",s=0;s<o.length;s++){var A=s===o.length-1;if(A&&t.parent)break;if(i=Ze.lookupNode(i,o[s]),a=Ye.join2(a,o[s]),Ze.isMountpoint(i)&&(!A||A&&t.follow_mount)&&(i=i.mounted.root),!A||t.follow)for(var c=0;Ze.isLink(i.mode);){var g=Ze.readlink(a);if(a=Ve.resolve(Ye.dirname(a),g),i=Ze.lookupPath(a,{recurse_count:t.recurse_count}).node,c++>40)throw new Ze.ErrnoError(32)}}return{path:a,node:i}},getPath:function(e){for(var t;;){if(Ze.isRoot(e)){var r=e.mount.mountpoint;return t?"/"!==r[r.length-1]?r+"/"+t:r+t:r}t=t?e.name+"/"+t:e.name,e=e.parent}},hashName:function(e,t){for(var r=0,n=0;n<t.length;n++)r=(r<<5)-r+t.charCodeAt(n)|0;return(e+r>>>0)%Ze.nameTable.length},hashAddNode:function(e){var t=Ze.hashName(e.parent.id,e.name);e.name_next=Ze.nameTable[t],Ze.nameTable[t]=e},hashRemoveNode:function(e){var t=Ze.hashName(e.parent.id,e.name);if(Ze.nameTable[t]===e)Ze.nameTable[t]=e.name_next;else for(var r=Ze.nameTable[t];r;){if(r.name_next===e){r.name_next=e.name_next;break}r=r.name_next}},lookupNode:function(e,t){var r=Ze.mayLookup(e);if(r)throw new Ze.ErrnoError(r,e);for(var n=Ze.hashName(e.id,t),o=Ze.nameTable[n];o;o=o.name_next){var i=o.name;if(o.parent.id===e.id&&i===t)return o}return Ze.lookup(e,t)},createNode:function(e,t,r,n){Q("object"==typeof e);var o=new Ze.FSNode(e,t,r,n);return Ze.hashAddNode(o),o},destroyNode:function(e){Ze.hashRemoveNode(e)},isRoot:function(e){return e===e.parent},isMountpoint:function(e){return!!e.mounted},isFile:function(e){return 32768==(61440&e)},isDir:function(e){return 16384==(61440&e)},isLink:function(e){return 40960==(61440&e)},isChrdev:function(e){return 8192==(61440&e)},isBlkdev:function(e){return 24576==(61440&e)},isFIFO:function(e){return 4096==(61440&e)},isSocket:function(e){return!(49152&~e)},flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags:function(e){var t=Ze.flagModes[e];if(void 0===t)throw new Error("Unknown file open mode: "+e);return t},flagsToPermissionString:function(e){var t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t},nodePermissions:function(e,t){return Ze.ignorePermissions||(!t.includes("r")||292&e.mode)&&(!t.includes("w")||146&e.mode)&&(!t.includes("x")||73&e.mode)?0:2},mayLookup:function(e){var t=Ze.nodePermissions(e,"x");return t||(e.node_ops.lookup?0:2)},mayCreate:function(e,t){try{Ze.lookupNode(e,t);return 20}catch(e){}return Ze.nodePermissions(e,"wx")},mayDelete:function(e,t,r){var n;try{n=Ze.lookupNode(e,t)}catch(e){return e.errno}var o=Ze.nodePermissions(e,"wx");if(o)return o;if(r){if(!Ze.isDir(n.mode))return 54;if(Ze.isRoot(n)||Ze.getPath(n)===Ze.cwd())return 10}else if(Ze.isDir(n.mode))return 31;return 0},mayOpen:function(e,t){return e?Ze.isLink(e.mode)?32:Ze.isDir(e.mode)&&("r"!==Ze.flagsToPermissionString(t)||512&t)?31:Ze.nodePermissions(e,Ze.flagsToPermissionString(t)):44},MAX_OPEN_FDS:4096,nextfd:function(e,t){e=e||0,t=t||Ze.MAX_OPEN_FDS;for(var r=e;r<=t;r++)if(!Ze.streams[r])return r;throw new Ze.ErrnoError(33)},getStream:function(e){return Ze.streams[e]},createStream:function(e,t,r){Ze.FSStream||(Ze.FSStream=function(){},Ze.FSStream.prototype={object:{get:function(){return this.node},set:function(e){this.node=e}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return!!(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}});var n=new Ze.FSStream;for(var o in e)n[o]=e[o];e=n;var i=Ze.nextfd(t,r);return e.fd=i,Ze.streams[i]=e,e},closeStream:function(e){Ze.streams[e]=null},chrdev_stream_ops:{open:function(e){var t=Ze.getDevice(e.node.rdev);e.stream_ops=t.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek:function(){throw new Ze.ErrnoError(70)}},major:function(e){return e>>8},minor:function(e){return 255&e},makedev:function(e,t){return e<<8|t},registerDevice:function(e,t){Ze.devices[e]={stream_ops:t}},getDevice:function(e){return Ze.devices[e]},getMounts:function(e){for(var t=[],r=[e];r.length;){var n=r.pop();t.push(n),r.push.apply(r,n.mounts)}return t},syncfs:function(e,t){"function"==typeof e&&(t=e,e=!1),Ze.syncFSRequests++,Ze.syncFSRequests>1&&m("warning: "+Ze.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var r=Ze.getMounts(Ze.root.mount),n=0;function o(e){return Q(Ze.syncFSRequests>0),Ze.syncFSRequests--,t(e)}function i(e){if(e)return i.errored?void 0:(i.errored=!0,o(e));++n>=r.length&&o(null)}r.forEach((function(t){if(!t.type.syncfs)return i(null);t.type.syncfs(t,e,i)}))},mount:function(e,t,r){if("string"==typeof e)throw e;var n,o="/"===r,i=!r;if(o&&Ze.root)throw new Ze.ErrnoError(10);if(!o&&!i){var a=Ze.lookupPath(r,{follow_mount:!1});if(r=a.path,n=a.node,Ze.isMountpoint(n))throw new Ze.ErrnoError(10);if(!Ze.isDir(n.mode))throw new Ze.ErrnoError(54)}var s={type:e,opts:t,mountpoint:r,mounts:[]},A=e.mount(s);return A.mount=s,s.root=A,o?Ze.root=A:n&&(n.mounted=s,n.mount&&n.mount.mounts.push(s)),A},unmount:function(e){var t=Ze.lookupPath(e,{follow_mount:!1});if(!Ze.isMountpoint(t.node))throw new Ze.ErrnoError(28);var r=t.node,n=r.mounted,o=Ze.getMounts(n);Object.keys(Ze.nameTable).forEach((function(e){for(var t=Ze.nameTable[e];t;){var r=t.name_next;o.includes(t.mount)&&Ze.destroyNode(t),t=r}})),r.mounted=null;var i=r.mount.mounts.indexOf(n);Q(-1!==i),r.mount.mounts.splice(i,1)},lookup:function(e,t){return e.node_ops.lookup(e,t)},mknod:function(e,t,r){var n=Ze.lookupPath(e,{parent:!0}).node,o=Ye.basename(e);if(!o||"."===o||".."===o)throw new Ze.ErrnoError(28);var i=Ze.mayCreate(n,o);if(i)throw new Ze.ErrnoError(i);if(!n.node_ops.mknod)throw new Ze.ErrnoError(63);return n.node_ops.mknod(n,o,t,r)},create:function(e,t){return t=void 0!==t?t:438,t&=4095,t|=32768,Ze.mknod(e,t,0)},mkdir:function(e,t){return t=void 0!==t?t:511,t&=1023,t|=16384,Ze.mknod(e,t,0)},mkdirTree:function(e,t){for(var r=e.split("/"),n="",o=0;o<r.length;++o)if(r[o]){n+="/"+r[o];try{Ze.mkdir(n,t)}catch(e){if(20!=e.errno)throw e}}},mkdev:function(e,t,r){return void 0===r&&(r=t,t=438),t|=8192,Ze.mknod(e,t,r)},symlink:function(e,t){if(!Ve.resolve(e))throw new Ze.ErrnoError(44);var r=Ze.lookupPath(t,{parent:!0}).node;if(!r)throw new Ze.ErrnoError(44);var n=Ye.basename(t),o=Ze.mayCreate(r,n);if(o)throw new Ze.ErrnoError(o);if(!r.node_ops.symlink)throw new Ze.ErrnoError(63);return r.node_ops.symlink(r,n,e)},rename:function(e,t){var r,n,o=Ye.dirname(e),i=Ye.dirname(t),a=Ye.basename(e),s=Ye.basename(t);if(r=Ze.lookupPath(e,{parent:!0}).node,n=Ze.lookupPath(t,{parent:!0}).node,!r||!n)throw new Ze.ErrnoError(44);if(r.mount!==n.mount)throw new Ze.ErrnoError(75);var A,c=Ze.lookupNode(r,a),g=Ve.relative(e,i);if("."!==g.charAt(0))throw new Ze.ErrnoError(28);if("."!==(g=Ve.relative(t,o)).charAt(0))throw new Ze.ErrnoError(55);try{A=Ze.lookupNode(n,s)}catch(e){}if(c!==A){var d=Ze.isDir(c.mode),u=Ze.mayDelete(r,a,d);if(u)throw new Ze.ErrnoError(u);if(u=A?Ze.mayDelete(n,s,d):Ze.mayCreate(n,s))throw new Ze.ErrnoError(u);if(!r.node_ops.rename)throw new Ze.ErrnoError(63);if(Ze.isMountpoint(c)||A&&Ze.isMountpoint(A))throw new Ze.ErrnoError(10);if(n!==r&&(u=Ze.nodePermissions(r,"w")))throw new Ze.ErrnoError(u);try{Ze.trackingDelegate.willMovePath&&Ze.trackingDelegate.willMovePath(e,t)}catch(r){m("FS.trackingDelegate['willMovePath']('"+e+"', '"+t+"') threw an exception: "+r.message)}Ze.hashRemoveNode(c);try{r.node_ops.rename(c,n,s)}catch(e){throw e}finally{Ze.hashAddNode(c)}try{Ze.trackingDelegate.onMovePath&&Ze.trackingDelegate.onMovePath(e,t)}catch(r){m("FS.trackingDelegate['onMovePath']('"+e+"', '"+t+"') threw an exception: "+r.message)}}},rmdir:function(e){var t=Ze.lookupPath(e,{parent:!0}).node,r=Ye.basename(e),n=Ze.lookupNode(t,r),o=Ze.mayDelete(t,r,!0);if(o)throw new Ze.ErrnoError(o);if(!t.node_ops.rmdir)throw new Ze.ErrnoError(63);if(Ze.isMountpoint(n))throw new Ze.ErrnoError(10);try{Ze.trackingDelegate.willDeletePath&&Ze.trackingDelegate.willDeletePath(e)}catch(t){m("FS.trackingDelegate['willDeletePath']('"+e+"') threw an exception: "+t.message)}t.node_ops.rmdir(t,r),Ze.destroyNode(n);try{Ze.trackingDelegate.onDeletePath&&Ze.trackingDelegate.onDeletePath(e)}catch(t){m("FS.trackingDelegate['onDeletePath']('"+e+"') threw an exception: "+t.message)}},readdir:function(e){var t=Ze.lookupPath(e,{follow:!0}).node;if(!t.node_ops.readdir)throw new Ze.ErrnoError(54);return t.node_ops.readdir(t)},unlink:function(e){var t=Ze.lookupPath(e,{parent:!0}).node,r=Ye.basename(e),n=Ze.lookupNode(t,r),o=Ze.mayDelete(t,r,!1);if(o)throw new Ze.ErrnoError(o);if(!t.node_ops.unlink)throw new Ze.ErrnoError(63);if(Ze.isMountpoint(n))throw new Ze.ErrnoError(10);try{Ze.trackingDelegate.willDeletePath&&Ze.trackingDelegate.willDeletePath(e)}catch(t){m("FS.trackingDelegate['willDeletePath']('"+e+"') threw an exception: "+t.message)}t.node_ops.unlink(t,r),Ze.destroyNode(n);try{Ze.trackingDelegate.onDeletePath&&Ze.trackingDelegate.onDeletePath(e)}catch(t){m("FS.trackingDelegate['onDeletePath']('"+e+"') threw an exception: "+t.message)}},readlink:function(e){var t=Ze.lookupPath(e).node;if(!t)throw new Ze.ErrnoError(44);if(!t.node_ops.readlink)throw new Ze.ErrnoError(28);return Ve.resolve(Ze.getPath(t.parent),t.node_ops.readlink(t))},stat:function(e,t){var r=Ze.lookupPath(e,{follow:!t}).node;if(!r)throw new Ze.ErrnoError(44);if(!r.node_ops.getattr)throw new Ze.ErrnoError(63);return r.node_ops.getattr(r)},lstat:function(e){return Ze.stat(e,!0)},chmod:function(e,t,r){var n;"string"==typeof e?n=Ze.lookupPath(e,{follow:!r}).node:n=e;if(!n.node_ops.setattr)throw new Ze.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&t|-4096&n.mode,timestamp:Date.now()})},lchmod:function(e,t){Ze.chmod(e,t,!0)},fchmod:function(e,t){var r=Ze.getStream(e);if(!r)throw new Ze.ErrnoError(8);Ze.chmod(r.node,t)},chown:function(e,t,r,n){var o;"string"==typeof e?o=Ze.lookupPath(e,{follow:!n}).node:o=e;if(!o.node_ops.setattr)throw new Ze.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown:function(e,t,r){Ze.chown(e,t,r,!0)},fchown:function(e,t,r){var n=Ze.getStream(e);if(!n)throw new Ze.ErrnoError(8);Ze.chown(n.node,t,r)},truncate:function(e,t){if(t<0)throw new Ze.ErrnoError(28);var r;"string"==typeof e?r=Ze.lookupPath(e,{follow:!0}).node:r=e;if(!r.node_ops.setattr)throw new Ze.ErrnoError(63);if(Ze.isDir(r.mode))throw new Ze.ErrnoError(31);if(!Ze.isFile(r.mode))throw new Ze.ErrnoError(28);var n=Ze.nodePermissions(r,"w");if(n)throw new Ze.ErrnoError(n);r.node_ops.setattr(r,{size:t,timestamp:Date.now()})},ftruncate:function(e,t){var r=Ze.getStream(e);if(!r)throw new Ze.ErrnoError(8);if(!(2097155&r.flags))throw new Ze.ErrnoError(28);Ze.truncate(r.node,t)},utime:function(e,t,r){var n=Ze.lookupPath(e,{follow:!0}).node;n.node_ops.setattr(n,{timestamp:Math.max(t,r)})},open:function(e,t,r,n,i){if(""===e)throw new Ze.ErrnoError(44);var a;if(r=void 0===r?438:r,r=64&(t="string"==typeof t?Ze.modeStringToFlags(t):t)?4095&r|32768:0,"object"==typeof e)a=e;else{e=Ye.normalize(e);try{a=Ze.lookupPath(e,{follow:!(131072&t)}).node}catch(e){}}var s=!1;if(64&t)if(a){if(128&t)throw new Ze.ErrnoError(20)}else a=Ze.mknod(e,r,0),s=!0;if(!a)throw new Ze.ErrnoError(44);if(Ze.isChrdev(a.mode)&&(t&=-513),65536&t&&!Ze.isDir(a.mode))throw new Ze.ErrnoError(54);if(!s){var A=Ze.mayOpen(a,t);if(A)throw new Ze.ErrnoError(A)}512&t&&Ze.truncate(a,0),t&=-131713;var c=Ze.createStream({node:a,path:Ze.getPath(a),flags:t,seekable:!0,position:0,stream_ops:a.stream_ops,ungotten:[],error:!1},n,i);c.stream_ops.open&&c.stream_ops.open(c),!o.logReadFiles||1&t||(Ze.readFiles||(Ze.readFiles={}),e in Ze.readFiles||(Ze.readFiles[e]=1,m("FS.trackingDelegate error on read file: "+e)));try{if(Ze.trackingDelegate.onOpenFile){var g=0;1!=(2097155&t)&&(g|=Ze.tracking.openFlags.READ),2097155&t&&(g|=Ze.tracking.openFlags.WRITE),Ze.trackingDelegate.onOpenFile(e,g)}}catch(t){m("FS.trackingDelegate['onOpenFile']('"+e+"', flags) threw an exception: "+t.message)}return c},close:function(e){if(Ze.isClosed(e))throw new Ze.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{Ze.closeStream(e.fd)}e.fd=null},isClosed:function(e){return null===e.fd},llseek:function(e,t,r){if(Ze.isClosed(e))throw new Ze.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new Ze.ErrnoError(70);if(0!=r&&1!=r&&2!=r)throw new Ze.ErrnoError(28);return e.position=e.stream_ops.llseek(e,t,r),e.ungotten=[],e.position},read:function(e,t,r,n,o){if(n<0||o<0)throw new Ze.ErrnoError(28);if(Ze.isClosed(e))throw new Ze.ErrnoError(8);if(1==(2097155&e.flags))throw new Ze.ErrnoError(8);if(Ze.isDir(e.node.mode))throw new Ze.ErrnoError(31);if(!e.stream_ops.read)throw new Ze.ErrnoError(28);var i=void 0!==o;if(i){if(!e.seekable)throw new Ze.ErrnoError(70)}else o=e.position;var a=e.stream_ops.read(e,t,r,n,o);return i||(e.position+=a),a},write:function(e,t,r,n,o,i){if(n<0||o<0)throw new Ze.ErrnoError(28);if(Ze.isClosed(e))throw new Ze.ErrnoError(8);if(!(2097155&e.flags))throw new Ze.ErrnoError(8);if(Ze.isDir(e.node.mode))throw new Ze.ErrnoError(31);if(!e.stream_ops.write)throw new Ze.ErrnoError(28);e.seekable&&1024&e.flags&&Ze.llseek(e,0,2);var a=void 0!==o;if(a){if(!e.seekable)throw new Ze.ErrnoError(70)}else o=e.position;var s=e.stream_ops.write(e,t,r,n,o,i);a||(e.position+=s);try{e.path&&Ze.trackingDelegate.onWriteToFile&&Ze.trackingDelegate.onWriteToFile(e.path)}catch(t){m("FS.trackingDelegate['onWriteToFile']('"+e.path+"') threw an exception: "+t.message)}return s},allocate:function(e,t,r){if(Ze.isClosed(e))throw new Ze.ErrnoError(8);if(t<0||r<=0)throw new Ze.ErrnoError(28);if(!(2097155&e.flags))throw new Ze.ErrnoError(8);if(!Ze.isFile(e.node.mode)&&!Ze.isDir(e.node.mode))throw new Ze.ErrnoError(43);if(!e.stream_ops.allocate)throw new Ze.ErrnoError(138);e.stream_ops.allocate(e,t,r)},mmap:function(e,t,r,n,o,i){if(2&o&&!(2&i)&&2!=(2097155&e.flags))throw new Ze.ErrnoError(2);if(1==(2097155&e.flags))throw new Ze.ErrnoError(2);if(!e.stream_ops.mmap)throw new Ze.ErrnoError(43);return e.stream_ops.mmap(e,t,r,n,o,i)},msync:function(e,t,r,n,o){return e&&e.stream_ops.msync?e.stream_ops.msync(e,t,r,n,o):0},munmap:function(e){return 0},ioctl:function(e,t,r){if(!e.stream_ops.ioctl)throw new Ze.ErrnoError(59);return e.stream_ops.ioctl(e,t,r)},readFile:function(e,t){if((t=t||{}).flags=t.flags||0,t.encoding=t.encoding||"binary","utf8"!==t.encoding&&"binary"!==t.encoding)throw new Error('Invalid encoding type "'+t.encoding+'"');var r,n=Ze.open(e,t.flags),o=Ze.stat(e).size,i=new Uint8Array(o);return Ze.read(n,i,0,o,0),"utf8"===t.encoding?r=v(i,0):"binary"===t.encoding&&(r=i),Ze.close(n),r},writeFile:function(e,t,r){(r=r||{}).flags=r.flags||577;var n=Ze.open(e,r.flags,r.mode);if("string"==typeof t){var o=new Uint8Array(S(t)+1),i=R(t,o,0,o.length);Ze.write(n,o,0,i,void 0,r.canOwn)}else{if(!ArrayBuffer.isView(t))throw new Error("Unsupported data type");Ze.write(n,t,0,t.byteLength,void 0,r.canOwn)}Ze.close(n)},cwd:function(){return Ze.currentPath},chdir:function(e){var t=Ze.lookupPath(e,{follow:!0});if(null===t.node)throw new Ze.ErrnoError(44);if(!Ze.isDir(t.node.mode))throw new Ze.ErrnoError(54);var r=Ze.nodePermissions(t.node,"x");if(r)throw new Ze.ErrnoError(r);Ze.currentPath=t.path},createDefaultDirectories:function(){Ze.mkdir("/tmp"),Ze.mkdir("/home"),Ze.mkdir("/home/web_user")},createDefaultDevices:function(){Ze.mkdir("/dev"),Ze.registerDevice(Ze.makedev(1,3),{read:function(){return 0},write:function(e,t,r,n,o){return n}}),Ze.mkdev("/dev/null",Ze.makedev(1,3)),We.register(Ze.makedev(5,0),We.default_tty_ops),We.register(Ze.makedev(6,0),We.default_tty1_ops),Ze.mkdev("/dev/tty",Ze.makedev(5,0)),Ze.mkdev("/dev/tty1",Ze.makedev(6,0));var e=Xe();Ze.createDevice("/dev","random",e),Ze.createDevice("/dev","urandom",e),Ze.mkdir("/dev/shm"),Ze.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){Ze.mkdir("/proc");var e=Ze.mkdir("/proc/self");Ze.mkdir("/proc/self/fd"),Ze.mount({mount:function(){var t=Ze.createNode(e,"fd",16895,73);return t.node_ops={lookup:function(e,t){var r=+t,n=Ze.getStream(r);if(!n)throw new Ze.ErrnoError(8);var o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return n.path}}};return o.parent=o,o}},t}},{},"/proc/self/fd")},createStandardStreams:function(){o.stdin?Ze.createDevice("/dev","stdin",o.stdin):Ze.symlink("/dev/tty","/dev/stdin"),o.stdout?Ze.createDevice("/dev","stdout",null,o.stdout):Ze.symlink("/dev/tty","/dev/stdout"),o.stderr?Ze.createDevice("/dev","stderr",null,o.stderr):Ze.symlink("/dev/tty1","/dev/stderr");var e=Ze.open("/dev/stdin",0),t=Ze.open("/dev/stdout",1),r=Ze.open("/dev/stderr",1);Q(0===e.fd,"invalid handle for stdin ("+e.fd+")"),Q(1===t.fd,"invalid handle for stdout ("+t.fd+")"),Q(2===r.fd,"invalid handle for stderr ("+r.fd+")")},ensureErrnoError:function(){Ze.ErrnoError||(Ze.ErrnoError=function(e,t){this.node=t,this.setErrno=function(e){for(var t in this.errno=e,Je)if(Je[t]===e){this.code=t;break}},this.setErrno(e),this.message=Ke[e],this.stack&&(Object.defineProperty(this,"stack",{value:(new Error).stack,writable:!0}),this.stack=ke(this.stack))},Ze.ErrnoError.prototype=new Error,Ze.ErrnoError.prototype.constructor=Ze.ErrnoError,[44].forEach((function(e){Ze.genericErrors[e]=new Ze.ErrnoError(e),Ze.genericErrors[e].stack="<generic error, no stack>"})))},staticInit:function(){Ze.ensureErrnoError(),Ze.nameTable=new Array(4096),Ze.mount($e,{},"/"),Ze.createDefaultDirectories(),Ze.createDefaultDevices(),Ze.createSpecialDirectories(),Ze.filesystems={MEMFS:$e}},init:function(e,t,r){Q(!Ze.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),Ze.init.initialized=!0,Ze.ensureErrnoError(),o.stdin=e||o.stdin,o.stdout=t||o.stdout,o.stderr=r||o.stderr,Ze.createStandardStreams()},quit:function(){Ze.init.initialized=!1;var e=o._fflush;e&&e(0);for(var t=0;t<Ze.streams.length;t++){var r=Ze.streams[t];r&&Ze.close(r)}},getMode:function(e,t){var r=0;return e&&(r|=365),t&&(r|=146),r},findObject:function(e,t){var r=Ze.analyzePath(e,t);return r.exists?r.object:null},analyzePath:function(e,t){try{e=(n=Ze.lookupPath(e,{follow:!t})).path}catch(e){}var r={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var n=Ze.lookupPath(e,{parent:!0});r.parentExists=!0,r.parentPath=n.path,r.parentObject=n.node,r.name=Ye.basename(e),n=Ze.lookupPath(e,{follow:!t}),r.exists=!0,r.path=n.path,r.object=n.node,r.name=n.node.name,r.isRoot="/"===n.path}catch(e){r.error=e.errno}return r},createPath:function(e,t,r,n){e="string"==typeof e?e:Ze.getPath(e);for(var o=t.split("/").reverse();o.length;){var i=o.pop();if(i){var a=Ye.join2(e,i);try{Ze.mkdir(a)}catch(e){}e=a}}return a},createFile:function(e,t,r,n,o){var i=Ye.join2("string"==typeof e?e:Ze.getPath(e),t),a=Ze.getMode(n,o);return Ze.create(i,a)},createDataFile:function(e,t,r,n,o,i){var a=t?Ye.join2("string"==typeof e?e:Ze.getPath(e),t):e,s=Ze.getMode(n,o),A=Ze.create(a,s);if(r){if("string"==typeof r){for(var c=new Array(r.length),g=0,d=r.length;g<d;++g)c[g]=r.charCodeAt(g);r=c}Ze.chmod(A,146|s);var u=Ze.open(A,577);Ze.write(u,r,0,r.length,0,i),Ze.close(u),Ze.chmod(A,s)}return A},createDevice:function(e,t,r,n){var o=Ye.join2("string"==typeof e?e:Ze.getPath(e),t),i=Ze.getMode(!!r,!!n);Ze.createDevice.major||(Ze.createDevice.major=64);var a=Ze.makedev(Ze.createDevice.major++,0);return Ze.registerDevice(a,{open:function(e){e.seekable=!1},close:function(e){n&&n.buffer&&n.buffer.length&&n(10)},read:function(e,t,n,o,i){for(var a=0,s=0;s<o;s++){var A;try{A=r()}catch(e){throw new Ze.ErrnoError(29)}if(void 0===A&&0===a)throw new Ze.ErrnoError(6);if(null==A)break;a++,t[n+s]=A}return a&&(e.node.timestamp=Date.now()),a},write:function(e,t,r,o,i){for(var a=0;a<o;a++)try{n(t[r+a])}catch(e){throw new Ze.ErrnoError(29)}return o&&(e.node.timestamp=Date.now()),a}}),Ze.mkdev(o,i,a)},forceLoadFile:function(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!E)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=An(E(e.url),!0),e.usedBytes=e.contents.length}catch(e){throw new Ze.ErrnoError(29)}},createLazyFile:function(e,t,r,n,o){function i(){this.lengthKnown=!1,this.chunks=[]}if(i.prototype.get=function(e){if(!(e>this.length-1||e<0)){var t=e%this.chunkSize,r=e/this.chunkSize|0;return this.getter(r)[t]}},i.prototype.setDataGetter=function(e){this.getter=e},i.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",r,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+r+". Status: "+e.status);var t,n=Number(e.getResponseHeader("Content-length")),o=(t=e.getResponseHeader("Accept-Ranges"))&&"bytes"===t,i=(t=e.getResponseHeader("Content-Encoding"))&&"gzip"===t,a=1048576;o||(a=n);var s=this;s.setDataGetter((function(e){var t=e*a,o=(e+1)*a-1;if(o=Math.min(o,n-1),void 0===s.chunks[e]&&(s.chunks[e]=function(e,t){if(e>t)throw new Error("invalid range ("+e+", "+t+") or no bytes requested!");if(t>n-1)throw new Error("only "+n+" bytes available! programmer error!");var o=new XMLHttpRequest;if(o.open("GET",r,!1),n!==a&&o.setRequestHeader("Range","bytes="+e+"-"+t),"undefined"!=typeof Uint8Array&&(o.responseType="arraybuffer"),o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw new Error("Couldn't load "+r+". Status: "+o.status);return void 0!==o.response?new Uint8Array(o.response||[]):An(o.responseText||"",!0)}(t,o)),void 0===s.chunks[e])throw new Error("doXHR failed!");return s.chunks[e]})),!i&&n||(a=n=1,n=this.getter(0).length,a=n,I("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!d)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a=new i;Object.defineProperties(a,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var s={isDevice:!1,contents:a}}else s={isDevice:!1,url:r};var A=Ze.createFile(e,t,s,n,o);s.contents?A.contents=s.contents:s.url&&(A.contents=null,A.url=s.url),Object.defineProperties(A,{usedBytes:{get:function(){return this.contents.length}}});var c={};return Object.keys(A.stream_ops).forEach((function(e){var t=A.stream_ops[e];c[e]=function(){return Ze.forceLoadFile(A),t.apply(null,arguments)}})),c.read=function(e,t,r,n,o){Ze.forceLoadFile(A);var i=e.node.contents;if(o>=i.length)return 0;var a=Math.min(i.length-o,n);if(Q(a>=0),i.slice)for(var s=0;s<a;s++)t[r+s]=i[o+s];else for(s=0;s<a;s++)t[r+s]=i.get(o+s);return a},A.stream_ops=c,A},createPreloadedFile:function(e,t,r,n,i,a,s,A,c,g){Fe.init();var d=t?Ve.resolve(Ye.join2(e,t)):e,u=pe("cp "+d);function l(r){function l(r){g&&g(),A||Ze.createDataFile(e,t,r,n,i,c),a&&a(),Ie(u)}var E=!1;o.preloadPlugins.forEach((function(e){E||e.canHandle(d)&&(e.handle(r,d,l,(function(){s&&s(),Ie(u)})),E=!0)})),E||l(r)}he(u),"string"==typeof r?function(e,t,r,n){var o=n?"":pe("al "+e);f(e,(function(r){Q(r,'Loading data file "'+e+'" failed (no arrayBuffer).'),t(new Uint8Array(r)),o&&Ie(o)}),(function(t){if(!r)throw'Loading data file "'+e+'" failed.';r()})),o&&he(o)}(r,(function(e){l(e)}),s):l(r)},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:function(){return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function(e,t,r){t=t||function(){},r=r||function(){};var n=Ze.indexedDB();try{var o=n.open(Ze.DB_NAME(),Ze.DB_VERSION)}catch(e){return r(e)}o.onupgradeneeded=function(){I("creating db"),o.result.createObjectStore(Ze.DB_STORE_NAME)},o.onsuccess=function(){var n=o.result.transaction([Ze.DB_STORE_NAME],"readwrite"),i=n.objectStore(Ze.DB_STORE_NAME),a=0,s=0,A=e.length;function c(){0==s?t():r()}e.forEach((function(e){var t=i.put(Ze.analyzePath(e).object.contents,e);t.onsuccess=function(){++a+s==A&&c()},t.onerror=function(){s++,a+s==A&&c()}})),n.onerror=r},o.onerror=r},loadFilesFromDB:function(e,t,r){t=t||function(){},r=r||function(){};var n=Ze.indexedDB();try{var o=n.open(Ze.DB_NAME(),Ze.DB_VERSION)}catch(e){return r(e)}o.onupgradeneeded=r,o.onsuccess=function(){var n=o.result;try{var i=n.transaction([Ze.DB_STORE_NAME],"readonly")}catch(e){return void r(e)}var a=i.objectStore(Ze.DB_STORE_NAME),s=0,A=0,c=e.length;function g(){0==A?t():r()}e.forEach((function(e){var t=a.get(e);t.onsuccess=function(){Ze.analyzePath(e).exists&&Ze.unlink(e),Ze.createDataFile(Ye.dirname(e),Ye.basename(e),t.result,!0,!0,!0),++s+A==c&&g()},t.onerror=function(){A++,s+A==c&&g()}})),i.onerror=r},o.onerror=r},absolutePath:function(){me("FS.absolutePath has been removed; use PATH_FS.resolve instead")},createFolder:function(){me("FS.createFolder has been removed; use FS.mkdir instead")},createLink:function(){me("FS.createLink has been removed; use FS.symlink instead")},joinPath:function(){me("FS.joinPath has been removed; use PATH.join instead")},mmapAlloc:function(){me("FS.mmapAlloc has been replaced by the top level function mmapAlloc")},standardizePath:function(){me("FS.standardizePath has been removed; use PATH.normalize instead")}},qe={mappings:{},DEFAULT_POLLMASK:5,umask:511,calculateAt:function(e,t,r){if("/"===t[0])return t;var n;if(-100===e)n=Ze.cwd();else{var o=Ze.getStream(e);if(!o)throw new Ze.ErrnoError(8);n=o.path}if(0==t.length){if(!r)throw new Ze.ErrnoError(44);return n}return Ye.join2(n,t)},doStat:function(e,t,r){try{var n=e(t)}catch(e){if(e&&e.node&&Ye.normalize(t)!==Ye.normalize(Ze.getPath(e.node)))return-54;throw e}return j[r>>2]=n.dev,j[r+4>>2]=0,j[r+8>>2]=n.ino,j[r+12>>2]=n.mode,j[r+16>>2]=n.nlink,j[r+20>>2]=n.uid,j[r+24>>2]=n.gid,j[r+28>>2]=n.rdev,j[r+32>>2]=0,we=[n.size>>>0,(_e=n.size,+Math.abs(_e)>=1?_e>0?(0|Math.min(+Math.floor(_e/4294967296),4294967295))>>>0:~~+Math.ceil((_e-+(~~_e>>>0))/4294967296)>>>0:0)],j[r+40>>2]=we[0],j[r+44>>2]=we[1],j[r+48>>2]=4096,j[r+52>>2]=n.blocks,j[r+56>>2]=n.atime.getTime()/1e3|0,j[r+60>>2]=0,j[r+64>>2]=n.mtime.getTime()/1e3|0,j[r+68>>2]=0,j[r+72>>2]=n.ctime.getTime()/1e3|0,j[r+76>>2]=0,we=[n.ino>>>0,(_e=n.ino,+Math.abs(_e)>=1?_e>0?(0|Math.min(+Math.floor(_e/4294967296),4294967295))>>>0:~~+Math.ceil((_e-+(~~_e>>>0))/4294967296)>>>0:0)],j[r+80>>2]=we[0],j[r+84>>2]=we[1],0},doMsync:function(e,t,r,n,o){var i=k.slice(e,e+r);Ze.msync(t,i,o,r,n)},doMkdir:function(e,t){return"/"===(e=Ye.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),Ze.mkdir(e,t,0),0},doMknod:function(e,t,r){switch(61440&t){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return Ze.mknod(e,t,r),0},doReadlink:function(e,t,r){if(r<=0)return-28;var n=Ze.readlink(e),o=Math.min(r,S(n)),i=N[t+o];return M(n,t,r+1),N[t+o]=i,o},doAccess:function(e,t){if(-8&t)return-28;var r;if(!(r=Ze.lookupPath(e,{follow:!0}).node))return-44;var n="";return 4&t&&(n+="r"),2&t&&(n+="w"),1&t&&(n+="x"),n&&Ze.nodePermissions(r,n)?-2:0},doDup:function(e,t,r){var n=Ze.getStream(r);return n&&Ze.close(n),Ze.open(e,t,0,r,r).fd},doReadv:function(e,t,r,n){for(var o=0,i=0;i<r;i++){var a=j[t+8*i>>2],s=j[t+(8*i+4)>>2],A=Ze.read(e,N,a,s,n);if(A<0)return-1;if(o+=A,A<s)break}return o},doWritev:function(e,t,r,n){for(var o=0,i=0;i<r;i++){var a=j[t+8*i>>2],s=j[t+(8*i+4)>>2],A=Ze.write(e,N,a,s,n);if(A<0)return-1;o+=A}return o},varargs:void 0,get:function(){return Q(null!=qe.varargs),qe.varargs+=4,j[qe.varargs-4>>2]},getStr:function(e){return P(e)},getStreamFromFD:function(e){var t=Ze.getStream(e);if(!t)throw new Ze.ErrnoError(8);return t},get64:function(e,t){return Q(e>=0?0===t:-1===t),e}};function et(e){if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=48&&t<=57?"_"+e:e}function tt(e,t){return e=et(e),new Function("body","return function "+e+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(t)}var rt=[],nt=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function ot(){for(var e=0,t=5;t<nt.length;++t)void 0!==nt[t]&&++e;return e}function it(){for(var e=5;e<nt.length;++e)if(void 0!==nt[e])return nt[e];return null}function at(e){switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var t=rt.length?rt.pop():nt.length;return nt[t]={refcount:1,value:e},t}}function st(e,t){var r=tt(t,(function(e){this.name=t,this.message=e;var r=new Error(e).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))}));return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},r}var At=void 0;var ct=void 0;function gt(e){for(var t="",r=e;k[r];)t+=ct[k[r++]];return t}function dt(){return Object.keys(ht).length}function ut(){var e=[];for(var t in ht)ht.hasOwnProperty(t)&&e.push(ht[t]);return e}var lt=[];function Et(){for(;lt.length;){var e=lt.pop();e.$$.deleteScheduled=!1,e.delete()}}var ft=void 0;function pt(e){ft=e,lt.length&&ft&&ft(Et)}var ht={},It=void 0;function mt(e){throw new It(e)}function Ct(e,t){for(void 0===t&&mt("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t}function yt(e){return e||mt("Cannot use deleted val. handle = "+e),nt[e].value}var _t={};function wt(e){var t=En(e),r=gt(t);return dn(t),r}function Bt(e,t){var r=_t[e];return void 0===r&&mt(t+" has unknown type "+wt(e)),r}function Dt(e){}var Ot=!1;function bt(e){e.count.value-=1,0===e.count.value&&function(e){e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)}(e)}function Qt(e){return"undefined"==typeof FinalizationGroup?(Qt=function(e){return e},e):(Ot=new FinalizationGroup((function(e){for(var t=e.next();!t.done;t=e.next()){var r=t.value;r.ptr?bt(r):console.warn("object already deleted: "+r.ptr)}})),Dt=function(e){Ot.unregister(e.$$)},(Qt=function(e){return Ot.register(e,e.$$,e.$$),e})(e))}var Tt={};function vt(e){for(;e.length;){var t=e.pop();e.pop()(t)}}function Pt(e){return this.fromWireType(L[e>>2])}var Rt={},Mt={},St=void 0;function Ft(e){throw new St(e)}function Nt(e,t,r){function n(t){var n=r(t);n.length!==e.length&&Ft("Mismatched type converter count");for(var o=0;o<e.length;++o)xt(e[o],n[o])}e.forEach((function(e){Mt[e]=t}));var o=new Array(t.length),i=[],a=0;t.forEach((function(e,t){_t.hasOwnProperty(e)?o[t]=_t[e]:(i.push(e),Rt.hasOwnProperty(e)||(Rt[e]=[]),Rt[e].push((function(){o[t]=_t[e],++a===i.length&&n(o)})))})),0===i.length&&n(o)}function kt(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+e)}}function xt(e,t,r){if(r=r||{},!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=t.name;if(e||mt('type "'+n+'" must have a positive integer typeid pointer'),_t.hasOwnProperty(e)){if(r.ignoreDuplicateRegistrations)return;mt("Cannot register type '"+n+"' twice")}if(_t[e]=t,delete Mt[e],Rt.hasOwnProperty(e)){var o=Rt[e];delete Rt[e],o.forEach((function(e){e()}))}}function Ut(e){if(!(this instanceof Xt))return!1;if(!(e instanceof Xt))return!1;for(var t=this.$$.ptrType.registeredClass,r=this.$$.ptr,n=e.$$.ptrType.registeredClass,o=e.$$.ptr;t.baseClass;)r=t.upcast(r),t=t.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return t===n&&r===o}function jt(e){mt(e.$$.ptrType.registeredClass.name+" instance already deleted")}function Lt(){if(this.$$.ptr||jt(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e,t=Qt(Object.create(Object.getPrototypeOf(this),{$$:{value:(e=this.$$,{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType})}}));return t.$$.count.value+=1,t.$$.deleteScheduled=!1,t}function Ht(){this.$$.ptr||jt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&mt("Object already scheduled for deletion"),Dt(this),bt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function Gt(){return!this.$$.ptr}function Yt(){return this.$$.ptr||jt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&mt("Object already scheduled for deletion"),lt.push(this),1===lt.length&&ft&&ft(Et),this.$$.deleteScheduled=!0,this}function Xt(){}var Vt={};function Wt(e,t,r){if(void 0===e[t].overloadTable){var n=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||mt("Function '"+r+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+e[t].overloadTable+")!"),e[t].overloadTable[arguments.length].apply(this,arguments)},e[t].overloadTable=[],e[t].overloadTable[n.argCount]=n}}function zt(e,t,r){o.hasOwnProperty(e)?((void 0===r||void 0!==o[e].overloadTable&&void 0!==o[e].overloadTable[r])&&mt("Cannot register public name '"+e+"' twice"),Wt(o,e,e),o.hasOwnProperty(r)&&mt("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),o[e].overloadTable[r]=t):(o[e]=t,void 0!==r&&(o[e].numArguments=r))}function $t(e,t,r,n,o,i,a,s){this.name=e,this.constructor=t,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}function Kt(e,t,r){for(;t!==r;)t.upcast||mt("Expected null or instance of "+r.name+", got an instance of "+t.name),e=t.upcast(e),t=t.baseClass;return e}function Jt(e,t){if(null===t)return this.isReference&&mt("null is not a valid "+this.name),0;t.$$||mt('Cannot pass "'+hr(t)+'" as a '+this.name),t.$$.ptr||mt("Cannot pass deleted object as a pointer of type "+this.name);var r=t.$$.ptrType.registeredClass;return Kt(t.$$.ptr,r,this.registeredClass)}function Zt(e,t){var r;if(null===t)return this.isReference&&mt("null is not a valid "+this.name),this.isSmartPointer?(r=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,r),r):0;t.$$||mt('Cannot pass "'+hr(t)+'" as a '+this.name),t.$$.ptr||mt("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&t.$$.ptrType.isConst&&mt("Cannot convert argument of type "+(t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name)+" to parameter type "+this.name);var n=t.$$.ptrType.registeredClass;if(r=Kt(t.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===t.$$.smartPtr&&mt("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?r=t.$$.smartPtr:mt("Cannot convert argument of type "+(t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:r=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)r=t.$$.smartPtr;else{var o=t.clone();r=this.rawShare(r,at((function(){o.delete()}))),null!==e&&e.push(this.rawDestructor,r)}break;default:mt("Unsupporting sharing policy")}return r}function qt(e,t){if(null===t)return this.isReference&&mt("null is not a valid "+this.name),0;t.$$||mt('Cannot pass "'+hr(t)+'" as a '+this.name),t.$$.ptr||mt("Cannot pass deleted object as a pointer of type "+this.name),t.$$.ptrType.isConst&&mt("Cannot convert argument of type "+t.$$.ptrType.name+" to parameter type "+this.name);var r=t.$$.ptrType.registeredClass;return Kt(t.$$.ptr,r,this.registeredClass)}function er(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e}function tr(e){this.rawDestructor&&this.rawDestructor(e)}function rr(e){null!==e&&e.delete()}function nr(e,t,r){if(t===r)return e;if(void 0===r.baseClass)return null;var n=nr(e,t,r.baseClass);return null===n?null:r.downcast(n)}function or(e,t){return t.ptrType&&t.ptr||Ft("makeClassHandle requires ptr and ptrType"),!!t.smartPtrType!==!!t.smartPtr&&Ft("Both smartPtrType and smartPtr must be specified"),t.count={value:1},Qt(Object.create(e,{$$:{value:t}}))}function ir(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var r=function(e,t){return t=Ct(e,t),ht[t]}(this.registeredClass,t);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=t,r.$$.smartPtr=e,r.clone();var n=r.clone();return this.destructor(e),n}function o(){return this.isSmartPointer?or(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):or(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var i,a=this.registeredClass.getActualType(t),s=Vt[a];if(!s)return o.call(this);i=this.isConst?s.constPointerType:s.pointerType;var A=nr(t,this.registeredClass,i.registeredClass);return null===A?o.call(this):this.isSmartPointer?or(i.registeredClass.instancePrototype,{ptrType:i,ptr:A,smartPtrType:this,smartPtr:e}):or(i.registeredClass.instancePrototype,{ptrType:i,ptr:A})}function ar(e,t,r,n,o,i,a,s,A,c,g){this.name=e,this.registeredClass=t,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=A,this.rawShare=c,this.rawDestructor=g,o||void 0!==t.baseClass?this.toWireType=Zt:n?(this.toWireType=Jt,this.destructorFunction=null):(this.toWireType=qt,this.destructorFunction=null)}function sr(e,t,r){o.hasOwnProperty(e)||Ft("Replacing nonexistant public symbol"),void 0!==o[e].overloadTable&&void 0!==r?o[e].overloadTable[r]=t:(o[e]=t,o[e].argCount=r)}function Ar(e,t,r){return e.includes("j")?function(e,t,r){Q("dynCall_"+e in o,"bad function pointer type - no table for sig '"+e+"'"),r&&r.length?Q(r.length===e.substring(1).replace(/j/g,"--").length):Q(1==e.length);var n=o["dynCall_"+e];return r&&r.length?n.apply(null,[t].concat(r)):n.call(null,t)}(e,t,r):(Q(te.get(t),"missing table entry in dynCall: "+t),te.get(t).apply(null,r))}function cr(e,t){var r=(e=gt(e)).includes("j")?function(e,t){Q(e.includes("j"),"getDynCaller should only be called with i64 sigs");var r=[];return function(){r.length=arguments.length;for(var n=0;n<arguments.length;n++)r[n]=arguments[n];return Ar(e,t,r)}}(e,t):te.get(t);return"function"!=typeof r&&mt("unknown function pointer with signature "+e+": "+t),r}var gr=void 0;function dr(e,t){var r=[],n={};throw t.forEach((function e(t){n[t]||_t[t]||(Mt[t]?Mt[t].forEach(e):(r.push(t),n[t]=!0))})),new gr(e+": "+r.map(wt).join([", "]))}function ur(e,t){if(!(e instanceof Function))throw new TypeError("new_ called with constructor type "+typeof e+" which is not a function");var r=tt(e.name||"unknownFunctionName",(function(){}));r.prototype=e.prototype;var n=new r,o=e.apply(n,t);return o instanceof Object?o:n}function lr(e,t,r,n,o){var i=t.length;i<2&&mt("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==t[1]&&null!==r,s=!1,A=1;A<t.length;++A)if(null!==t[A]&&void 0===t[A].destructorFunction){s=!0;break}var c="void"!==t[0].name,g="",d="";for(A=0;A<i-2;++A)g+=(0!==A?", ":"")+"arg"+A,d+=(0!==A?", ":"")+"arg"+A+"Wired";var u="return function "+et(e)+"("+g+") {\nif (arguments.length !== "+(i-2)+") {\nthrowBindingError('function "+e+" called with ' + arguments.length + ' arguments, expected "+(i-2)+" args!');\n}\n";s&&(u+="var destructors = [];\n");var l=s?"destructors":"null",E=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],f=[mt,n,o,vt,t[0],t[1]];a&&(u+="var thisWired = classParam.toWireType("+l+", this);\n");for(A=0;A<i-2;++A)u+="var arg"+A+"Wired = argType"+A+".toWireType("+l+", arg"+A+"); // "+t[A+2].name+"\n",E.push("argType"+A),f.push(t[A+2]);if(a&&(d="thisWired"+(d.length>0?", ":"")+d),u+=(c?"var rv = ":"")+"invoker(fn"+(d.length>0?", ":"")+d+");\n",s)u+="runDestructors(destructors);\n";else for(A=a?1:2;A<t.length;++A){var p=1===A?"thisWired":"arg"+(A-2)+"Wired";null!==t[A].destructorFunction&&(u+=p+"_dtor("+p+"); // "+t[A].name+"\n",E.push(p+"_dtor"),f.push(t[A].destructorFunction))}return c&&(u+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),u+="}\n",E.push(u),ur(Function,E).apply(null,f)}function Er(e,t){for(var r=[],n=0;n<e;n++)r.push(j[(t>>2)+n]);return r}function fr(e,t,r){return e instanceof Object||mt(r+' with invalid "this": '+e),e instanceof t.registeredClass.constructor||mt(r+' incompatible with "this" of type '+e.constructor.name),e.$$.ptr||mt("cannot call emscripten binding method "+r+" on deleted object"),Kt(e.$$.ptr,e.$$.ptrType.registeredClass,t.registeredClass)}function pr(e){e>4&&0==--nt[e].refcount&&(nt[e]=void 0,rt.push(e))}function hr(e){if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e}function Ir(e,t){switch(t){case 2:return function(e){return this.fromWireType(H[e>>2])};case 3:return function(e){return this.fromWireType(G[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function mr(e,t,r){switch(t){case 0:return r?function(e){return N[e]}:function(e){return k[e]};case 1:return r?function(e){return x[e>>1]}:function(e){return U[e>>1]};case 2:return r?function(e){return j[e>>2]}:function(e){return L[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}var Cr={};var yr=[];var _r=[];function wr(e){try{return B.grow(e-F.byteLength+65535>>>16),q(B.buffer),1}catch(t){m("emscripten_realloc_buffer: Attempted to grow heap from "+F.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}function Br(e){me("Cannot use emscripten_generate_pc (needed by __builtin_return_address) without -s USE_OFFSET_CONVERTER")}var Dr={};function Or(e){e.forEach((function(e){var t=Br();t&&(Dr[t]=e)}))}var br={counter:1,buffers:[],mappedBuffers:{},programs:[],framebuffers:[],renderbuffers:[],textures:[],shaders:[],vaos:[],contexts:[],offscreenCanvases:{},queries:[],samplers:[],transformFeedbacks:[],syncs:[],byteSizeByTypeRoot:5120,byteSizeByType:[1,1,2,2,4,4,4,2,3,4,8],stringCache:{},stringiCache:{},unpackAlignment:4,recordError:function(e){br.lastError||(br.lastError=e)},getNewId:function(e){for(var t=br.counter++,r=e.length;r<t;r++)e[r]=null;return t},MAX_TEMP_BUFFER_SIZE:2097152,numTempVertexBuffersPerSize:64,log2ceilLookup:function(e){return 32-Math.clz32(0===e?0:e-1)},generateTempBuffers:function(e,t){var r=br.log2ceilLookup(br.MAX_TEMP_BUFFER_SIZE);t.tempVertexBufferCounters1=[],t.tempVertexBufferCounters2=[],t.tempVertexBufferCounters1.length=t.tempVertexBufferCounters2.length=r+1,t.tempVertexBuffers1=[],t.tempVertexBuffers2=[],t.tempVertexBuffers1.length=t.tempVertexBuffers2.length=r+1,t.tempIndexBuffers=[],t.tempIndexBuffers.length=r+1;for(var n=0;n<=r;++n){t.tempIndexBuffers[n]=null,t.tempVertexBufferCounters1[n]=t.tempVertexBufferCounters2[n]=0;var o=br.numTempVertexBuffersPerSize;t.tempVertexBuffers1[n]=[],t.tempVertexBuffers2[n]=[];var i=t.tempVertexBuffers1[n],a=t.tempVertexBuffers2[n];i.length=a.length=o;for(var s=0;s<o;++s)i[s]=a[s]=null}if(e){t.tempQuadIndexBuffer=en.createBuffer(),t.GLctx.bindBuffer(34963,t.tempQuadIndexBuffer);for(var A=br.MAX_TEMP_BUFFER_SIZE>>1,c=new Uint16Array(A),g=(n=0,0);!(c[n++]=g,n>=A||(c[n++]=g+1,n>=A)||(c[n++]=g+2,n>=A)||(c[n++]=g,n>=A)||(c[n++]=g+2,n>=A)||(c[n++]=g+3,n>=A));)g+=4;t.GLctx.bufferData(34963,c,35044),t.GLctx.bindBuffer(34963,null)}},getTempVertexBuffer:function(e){var t=br.log2ceilLookup(e),r=br.currentContext.tempVertexBuffers1[t],n=br.currentContext.tempVertexBufferCounters1[t];br.currentContext.tempVertexBufferCounters1[t]=br.currentContext.tempVertexBufferCounters1[t]+1&br.numTempVertexBuffersPerSize-1;var o=r[n];if(o)return o;var i=en.getParameter(34964);return r[n]=en.createBuffer(),en.bindBuffer(34962,r[n]),en.bufferData(34962,1<<t,35048),en.bindBuffer(34962,i),r[n]},getTempIndexBuffer:function(e){var t=br.log2ceilLookup(e),r=br.currentContext.tempIndexBuffers[t];if(r)return r;var n=en.getParameter(34965);return br.currentContext.tempIndexBuffers[t]=en.createBuffer(),en.bindBuffer(34963,br.currentContext.tempIndexBuffers[t]),en.bufferData(34963,1<<t,35048),en.bindBuffer(34963,n),br.currentContext.tempIndexBuffers[t]},newRenderingFrameStarted:function(){if(br.currentContext){var e=br.currentContext.tempVertexBuffers1;br.currentContext.tempVertexBuffers1=br.currentContext.tempVertexBuffers2,br.currentContext.tempVertexBuffers2=e,e=br.currentContext.tempVertexBufferCounters1,br.currentContext.tempVertexBufferCounters1=br.currentContext.tempVertexBufferCounters2,br.currentContext.tempVertexBufferCounters2=e;for(var t=br.log2ceilLookup(br.MAX_TEMP_BUFFER_SIZE),r=0;r<=t;++r)br.currentContext.tempVertexBufferCounters1[r]=0}},getSource:function(e,t,r,n){for(var o="",i=0;i<t;++i){var a=n?j[n+4*i>>2]:-1;o+=P(j[r+4*i>>2],a<0?void 0:a)}return o},calcBufLength:function(e,t,r,n){return r>0?n*r:e*br.byteSizeByType[t-br.byteSizeByTypeRoot]*n},usedTempBuffers:[],preDrawHandleClientVertexAttribBindings:function(e){br.resetBufferBinding=!1;for(var t=0;t<br.currentContext.maxVertexAttribs;++t){var r=br.currentContext.clientBuffers[t];if(r.clientside&&r.enabled){br.resetBufferBinding=!0;var n=br.calcBufLength(r.size,r.type,r.stride,e),o=br.getTempVertexBuffer(n);en.bindBuffer(34962,o),en.bufferSubData(34962,0,k.subarray(r.ptr,r.ptr+n)),r.vertexAttribPointerAdaptor.call(en,t,r.size,r.type,r.normalized,r.stride,0)}}},postDrawHandleClientVertexAttribBindings:function(){br.resetBufferBinding&&en.bindBuffer(34962,br.buffers[en.currentArrayBufferBinding])},createContext:function(e,t){t.renderViaOffscreenBackBuffer&&(t.preserveDrawingBuffer=!0);var r=t.majorVersion>1?e.getContext("webgl2",t):e.getContext("webgl",t);return r?br.registerContext(r,t):0},enableOffscreenFramebufferAttributes:function(e){e.renderViaOffscreenBackBuffer=!0,e.preserveDrawingBuffer=!0},createOffscreenFramebuffer:function(e){var t=e.GLctx,r=t.createFramebuffer();if(t.bindFramebuffer(36160,r),e.defaultFbo=r,e.defaultFboForbidBlitFramebuffer=!1,t.getContextAttributes().antialias)e.defaultFboForbidBlitFramebuffer=!0;else{var n=navigator.userAgent.toLowerCase().match(/firefox\/(\d\d)/);if(null!=n){var o=n[1];e.defaultFboForbidBlitFramebuffer=o<67}}e.defaultColorTarget=t.createTexture(),e.defaultDepthTarget=t.createRenderbuffer(),br.resizeOffscreenFramebuffer(e),t.bindTexture(3553,e.defaultColorTarget),t.texParameteri(3553,10241,9728),t.texParameteri(3553,10240,9728),t.texParameteri(3553,10242,33071),t.texParameteri(3553,10243,33071),t.texImage2D(3553,0,6408,t.canvas.width,t.canvas.height,0,6408,5121,null),t.framebufferTexture2D(36160,36064,3553,e.defaultColorTarget,0),t.bindTexture(3553,null);t.createRenderbuffer();t.bindRenderbuffer(36161,e.defaultDepthTarget),t.renderbufferStorage(36161,33189,t.canvas.width,t.canvas.height),t.framebufferRenderbuffer(36160,36096,36161,e.defaultDepthTarget),t.bindRenderbuffer(36161,null);var i=t.createBuffer();t.bindBuffer(34962,i),t.bufferData(34962,new Float32Array([-1,-1,-1,1,1,-1,1,1]),35044),t.bindBuffer(34962,null),e.blitVB=i;var a=t.createShader(35633);t.shaderSource(a,"attribute vec2 pos;varying lowp vec2 tex;void main() { tex = pos * 0.5 + vec2(0.5,0.5); gl_Position = vec4(pos, 0.0, 1.0); }"),t.compileShader(a);var s=t.createShader(35632);t.shaderSource(s,"varying lowp vec2 tex;uniform sampler2D sampler;void main() { gl_FragColor = texture2D(sampler, tex); }"),t.compileShader(s);var A=t.createProgram();t.attachShader(A,a),t.attachShader(A,s),t.linkProgram(A),e.blitProgram=A,e.blitPosLoc=t.getAttribLocation(A,"pos"),t.useProgram(A),t.uniform1i(t.getUniformLocation(A,"sampler"),0),t.useProgram(null),e.defaultVao=void 0,t.createVertexArray&&(e.defaultVao=t.createVertexArray(),t.bindVertexArray(e.defaultVao),t.enableVertexAttribArray(e.blitPosLoc),t.bindVertexArray(null))},resizeOffscreenFramebuffer:function(e){var t=e.GLctx;if(e.defaultColorTarget){var r=t.getParameter(32873);t.bindTexture(3553,e.defaultColorTarget),t.texImage2D(3553,0,6408,t.drawingBufferWidth,t.drawingBufferHeight,0,6408,5121,null),t.bindTexture(3553,r)}if(e.defaultDepthTarget){var n=t.getParameter(36007);t.bindRenderbuffer(36161,e.defaultDepthTarget),t.renderbufferStorage(36161,33189,t.drawingBufferWidth,t.drawingBufferHeight),t.bindRenderbuffer(36161,n)}},blitOffscreenFramebuffer:function(e){var t=e.GLctx,r=t.getParameter(3089);r&&t.disable(3089);var n=t.getParameter(36006);if(t.blitFramebuffer&&!e.defaultFboForbidBlitFramebuffer)t.bindFramebuffer(36008,e.defaultFbo),t.bindFramebuffer(36009,null),t.blitFramebuffer(0,0,t.canvas.width,t.canvas.height,0,0,t.canvas.width,t.canvas.height,16384,9728);else{let r=function(){t.vertexAttribPointer(e.blitPosLoc,2,5126,!1,0,0),t.drawArrays(5,0,4)};t.bindFramebuffer(36160,null);var o=t.getParameter(35725);t.useProgram(e.blitProgram);var i=t.getParameter(34964);t.bindBuffer(34962,e.blitVB);var a=t.getParameter(34016);t.activeTexture(33984);var s=t.getParameter(32873);t.bindTexture(3553,e.defaultColorTarget);var A=t.getParameter(3042);A&&t.disable(3042);var c=t.getParameter(2884);c&&t.disable(2884);var g=t.getParameter(2929);g&&t.disable(2929);var d=t.getParameter(2960);if(d&&t.disable(2960),e.defaultVao){var u=t.getParameter(34229);t.bindVertexArray(e.defaultVao),r(),t.bindVertexArray(u)}else{for(var l={buffer:t.getVertexAttrib(e.blitPosLoc,34975),size:t.getVertexAttrib(e.blitPosLoc,34339),stride:t.getVertexAttrib(e.blitPosLoc,34340),type:t.getVertexAttrib(e.blitPosLoc,34341),normalized:t.getVertexAttrib(e.blitPosLoc,34922),pointer:t.getVertexAttribOffset(e.blitPosLoc,34373)},E=t.getParameter(34921),f=[],p=0;p<E;++p){var h=t.getVertexAttrib(p,34338),I=p==e.blitPosLoc;h&&!I&&t.disableVertexAttribArray(p),!h&&I&&t.enableVertexAttribArray(p),f[p]=h}r();for(p=0;p<E;++p){h=f[p];var m=p==e.blitPosLoc;h&&!m&&t.enableVertexAttribArray(p),!h&&m&&t.disableVertexAttribArray(p)}t.bindBuffer(34962,l.buffer),t.vertexAttribPointer(e.blitPosLoc,l.size,l.type,l.normalized,l.stride,l.offset)}d&&t.enable(2960),g&&t.enable(2929),c&&t.enable(2884),A&&t.enable(3042),t.bindTexture(3553,s),t.activeTexture(a),t.bindBuffer(34962,i),t.useProgram(o)}t.bindFramebuffer(36160,n),r&&t.enable(3089)},registerContext:function(e,t){var r=br.getNewId(br.contexts),n={handle:r,attributes:t,version:t.majorVersion,GLctx:e};e.canvas&&(e.canvas.GLctxObject=n),br.contexts[r]=n,(void 0===t.enableExtensionsByDefault||t.enableExtensionsByDefault)&&br.initExtensions(n),n.maxVertexAttribs=n.GLctx.getParameter(34921),n.clientBuffers=[];for(var o=0;o<n.maxVertexAttribs;o++)n.clientBuffers[o]={enabled:!1,clientside:!1,size:0,type:0,normalized:0,stride:0,ptr:0,vertexAttribPointerAdaptor:null};return br.generateTempBuffers(!1,n),t.renderViaOffscreenBackBuffer&&br.createOffscreenFramebuffer(n),r},makeContextCurrent:function(e){return br.currentContext=br.contexts[e],o.ctx=en=br.currentContext&&br.currentContext.GLctx,!(e&&!en)},getContext:function(e){return br.contexts[e]},deleteContext:function(e){br.currentContext===br.contexts[e]&&(br.currentContext=null),"object"==typeof Qr&&Qr.removeAllHandlersOnTarget(br.contexts[e].GLctx.canvas),br.contexts[e]&&br.contexts[e].GLctx.canvas&&(br.contexts[e].GLctx.canvas.GLctxObject=void 0),br.contexts[e]=null},initExtensions:function(e){if(e||(e=br.currentContext),!e.initExtensionsDone){e.initExtensionsDone=!0;var t,r=e.GLctx;!function(e){var t=e.getExtension("ANGLE_instanced_arrays");if(t)e.vertexAttribDivisor=function(e,r){t.vertexAttribDivisorANGLE(e,r)},e.drawArraysInstanced=function(e,r,n,o){t.drawArraysInstancedANGLE(e,r,n,o)},e.drawElementsInstanced=function(e,r,n,o,i){t.drawElementsInstancedANGLE(e,r,n,o,i)}}(r),function(e){var t=e.getExtension("OES_vertex_array_object");if(t)e.createVertexArray=function(){return t.createVertexArrayOES()},e.deleteVertexArray=function(e){t.deleteVertexArrayOES(e)},e.bindVertexArray=function(e){t.bindVertexArrayOES(e)},e.isVertexArray=function(e){return t.isVertexArrayOES(e)}}(r),function(e){var t=e.getExtension("WEBGL_draw_buffers");if(t)e.drawBuffers=function(e,r){t.drawBuffersWEBGL(e,r)}}(r),(t=r).dibvbi=t.getExtension("WEBGL_draw_instanced_base_vertex_base_instance"),function(e){e.mdibvbi=e.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance")}(r),e.version>=2&&(r.disjointTimerQueryExt=r.getExtension("EXT_disjoint_timer_query_webgl2")),(e.version<2||!r.disjointTimerQueryExt)&&(r.disjointTimerQueryExt=r.getExtension("EXT_disjoint_timer_query")),function(e){e.multiDrawWebgl=e.getExtension("WEBGL_multi_draw")}(r),(r.getSupportedExtensions()||[]).forEach((function(e){e.includes("lose_context")||e.includes("debug")||r.getExtension(e)}))}}},Qr={inEventHandler:0,removeAllEventListeners:function(){for(var e=Qr.eventHandlers.length-1;e>=0;--e)Qr._removeHandler(e);Qr.eventHandlers=[],Qr.deferredCalls=[]},registerRemoveEventListeners:function(){Qr.removeEventListenersRegistered||(se.push(Qr.removeAllEventListeners),Qr.removeEventListenersRegistered=!0)},deferredCalls:[],deferCall:function(e,t,r){function n(e,t){if(e.length!=t.length)return!1;for(var r in e)if(e[r]!=t[r])return!1;return!0}for(var o in Qr.deferredCalls){var i=Qr.deferredCalls[o];if(i.targetFunction==e&&n(i.argsList,r))return}Qr.deferredCalls.push({targetFunction:e,precedence:t,argsList:r}),Qr.deferredCalls.sort((function(e,t){return e.precedence<t.precedence}))},removeDeferredCalls:function(e){for(var t=0;t<Qr.deferredCalls.length;++t)Qr.deferredCalls[t].targetFunction==e&&(Qr.deferredCalls.splice(t,1),--t)},canPerformEventHandlerRequests:function(){return Qr.inEventHandler&&Qr.currentEventHandler.allowsDeferredCalls},runDeferredCalls:function(){if(Qr.canPerformEventHandlerRequests())for(var e=0;e<Qr.deferredCalls.length;++e){var t=Qr.deferredCalls[e];Qr.deferredCalls.splice(e,1),--e,t.targetFunction.apply(null,t.argsList)}},eventHandlers:[],removeAllHandlersOnTarget:function(e,t){for(var r=0;r<Qr.eventHandlers.length;++r)Qr.eventHandlers[r].target!=e||t&&t!=Qr.eventHandlers[r].eventTypeString||Qr._removeHandler(r--)},_removeHandler:function(e){var t=Qr.eventHandlers[e];t.target.removeEventListener(t.eventTypeString,t.eventListenerFunc,t.useCapture),Qr.eventHandlers.splice(e,1)},registerOrRemoveHandler:function(e){var t=function(t){++Qr.inEventHandler,Qr.currentEventHandler=e,Qr.runDeferredCalls(),e.handlerFunc(t),Qr.runDeferredCalls(),--Qr.inEventHandler};if(e.callbackfunc)e.eventListenerFunc=t,e.target.addEventListener(e.eventTypeString,t,e.useCapture),Qr.eventHandlers.push(e),Qr.registerRemoveEventListeners();else for(var r=0;r<Qr.eventHandlers.length;++r)Qr.eventHandlers[r].target==e.target&&Qr.eventHandlers[r].eventTypeString==e.eventTypeString&&Qr._removeHandler(r--)},getNodeNameForTarget:function(e){return e?e==window?"#window":e==screen?"#screen":e&&e.nodeName?e.nodeName:"":""},fullscreenEnabled:function(){return document.fullscreenEnabled||document.webkitFullscreenEnabled}},Tr=["default","low-power","high-performance"],vr=[0,"undefined"!=typeof document?document:0,"undefined"!=typeof window?window:0];function Pr(e){return"number"==typeof e&&(e=P(e)),e&&"#canvas"!==e?void 0!==br&&br.offscreenCanvases[e]?br.offscreenCanvases[e]:function(e){C("Rules for selecting event targets in HTML5 API are changing: instead of using document.getElementById() that only can refer to elements by their DOM ID, new event target selection mechanism uses the more flexible function document.querySelector() that can look up element names, classes, and complex CSS selectors. Build with -s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1 to change to the new lookup rules. See https://github.com/emscripten-core/emscripten/pull/7977 for more details.");try{return e?("number"==typeof e&&(e=vr[e]||P(e)),"#window"===e?window:"#document"===e?document:"#screen"===e?screen:"#canvas"===e?o.canvas:"string"==typeof e?document.getElementById(e):e):window}catch(e){return null}}(e):void 0!==br&&br.offscreenCanvases.canvas?br.offscreenCanvases.canvas:o.canvas}function Rr(){return br.currentContext?br.currentContext.handle:0}function Mr(e){return br.makeContextCurrent(e)?0:-5}o._emscripten_webgl_get_current_context=Rr,o._emscripten_webgl_make_context_current=Mr;var Sr={};function Fr(){if(!Fr.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:A||"./this.program"};for(var t in Sr)void 0===Sr[t]?delete e[t]:e[t]=Sr[t];var r=[];for(var t in e)r.push(t+"="+e[t]);Fr.strings=r}return Fr.strings}var Nr=[];function kr(e,t,r,n){for(var o=0;o<e;o++){var i=en[r](),a=i&&br.getNewId(n);i?(i.name=a,n[a]=i):br.recordError(1282),j[t+4*o>>2]=a}}function xr(e,t){L[e>>2]=t,L[e+4>>2]=(t-L[e>>2])/4294967296;var r=t>=0?function(e){return L[e>>2]+4294967296*L[e+4>>2]}(e):function(e){return L[e>>2]+4294967296*j[e+4>>2]}(e);r!=t&&C("writeI53ToI64() out of range: serialized JS Number "+t+" to Wasm heap as bytes lo=0x"+L[e>>2].toString(16)+", hi=0x"+L[e+4>>2].toString(16)+", which deserializes back to "+r+" instead!")}function Ur(e){var t=S(e)+1,r=un(t);return M(e,r,t),r}function jr(e){return"]"==e.slice(-1)&&e.lastIndexOf("[")}function Lr(e){return 0==(e-=5120)?N:1==e?k:2==e?x:4==e?j:6==e?H:5==e||28922==e||28520==e||30779==e||30782==e?L:U}function Hr(e){return 31-Math.clz32(e.BYTES_PER_ELEMENT)}function Gr(e,t,r,n,o,i){var a=Lr(e),s=Hr(a),A=1<<s,c=function(e){return{5:3,6:4,8:2,29502:3,29504:4,26917:2,26918:2,29846:3,29847:4}[e-6402]||1}(t)*A,g=function(e,t,r,n){var o;return t*(e*r+(o=n)-1&-o)}(r,n,c,br.unpackAlignment);return a.subarray(o>>s,o+g>>s)}function Yr(e){var t=en.currentProgram;if(t){var r=t.uniformLocsById[e];return"number"==typeof r&&(t.uniformLocsById[e]=r=en.getUniformLocation(t,t.uniformArrayNamesById[e]+(r>0?"["+r+"]":""))),r}br.recordError(1282)}var Xr=[];var Vr=[];function Wr(){if(!Wr.called){Wr.called=!0;var e=(new Date).getFullYear(),t=new Date(e,0,1),r=new Date(e,6,1),n=t.getTimezoneOffset(),o=r.getTimezoneOffset(),i=Math.max(n,o);j[In()>>2]=60*i,j[hn()>>2]=Number(n!=o);var a=g(t),s=g(r),A=J(a),c=J(s);o<n?(j[pn()>>2]=A,j[pn()+4>>2]=c):(j[pn()>>2]=c,j[pn()+4>>2]=A)}function g(e){var t=e.toTimeString().match(/\(([A-Za-z ]+)\)$/);return t?t[1]:"GMT"}}function zr(e){return e%4==0&&(e%100!=0||e%400==0)}function $r(e,t){for(var r=0,n=0;n<=t;r+=e[n++]);return r}var Kr=[31,29,31,30,31,30,31,31,30,31,30,31],Jr=[31,28,31,30,31,30,31,31,30,31,30,31];function Zr(e,t){for(var r=new Date(e.getTime());t>0;){var n=zr(r.getFullYear()),o=r.getMonth(),i=(n?Kr:Jr)[o];if(!(t>i-r.getDate()))return r.setDate(r.getDate()+t),r;t-=i-r.getDate()+1,r.setDate(1),o<11?r.setMonth(o+1):(r.setMonth(0),r.setFullYear(r.getFullYear()+1))}return r}function qr(e,t,r,n){var o=j[n+40>>2],i={tm_sec:j[n>>2],tm_min:j[n+4>>2],tm_hour:j[n+8>>2],tm_mday:j[n+12>>2],tm_mon:j[n+16>>2],tm_year:j[n+20>>2],tm_wday:j[n+24>>2],tm_yday:j[n+28>>2],tm_isdst:j[n+32>>2],tm_gmtoff:j[n+36>>2],tm_zone:o?P(o):""},a=P(r),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var A in s)a=a.replace(new RegExp(A,"g"),s[A]);var c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],g=["January","February","March","April","May","June","July","August","September","October","November","December"];function d(e,t,r){for(var n="number"==typeof e?e.toString():e||"";n.length<t;)n=r[0]+n;return n}function u(e,t){return d(e,t,"0")}function l(e,t){function r(e){return e<0?-1:e>0?1:0}var n;return 0===(n=r(e.getFullYear()-t.getFullYear()))&&0===(n=r(e.getMonth()-t.getMonth()))&&(n=r(e.getDate()-t.getDate())),n}function E(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function f(e){var t=Zr(new Date(e.tm_year+1900,0,1),e.tm_yday),r=new Date(t.getFullYear(),0,4),n=new Date(t.getFullYear()+1,0,4),o=E(r),i=E(n);return l(o,t)<=0?l(i,t)<=0?t.getFullYear()+1:t.getFullYear():t.getFullYear()-1}var p={"%a":function(e){return c[e.tm_wday].substring(0,3)},"%A":function(e){return c[e.tm_wday]},"%b":function(e){return g[e.tm_mon].substring(0,3)},"%B":function(e){return g[e.tm_mon]},"%C":function(e){return u((e.tm_year+1900)/100|0,2)},"%d":function(e){return u(e.tm_mday,2)},"%e":function(e){return d(e.tm_mday,2," ")},"%g":function(e){return f(e).toString().substring(2)},"%G":function(e){return f(e)},"%H":function(e){return u(e.tm_hour,2)},"%I":function(e){var t=e.tm_hour;return 0==t?t=12:t>12&&(t-=12),u(t,2)},"%j":function(e){return u(e.tm_mday+$r(zr(e.tm_year+1900)?Kr:Jr,e.tm_mon-1),3)},"%m":function(e){return u(e.tm_mon+1,2)},"%M":function(e){return u(e.tm_min,2)},"%n":function(){return"\n"},"%p":function(e){return e.tm_hour>=0&&e.tm_hour<12?"AM":"PM"},"%S":function(e){return u(e.tm_sec,2)},"%t":function(){return"\t"},"%u":function(e){return e.tm_wday||7},"%U":function(e){var t=new Date(e.tm_year+1900,0,1),r=0===t.getDay()?t:Zr(t,7-t.getDay()),n=new Date(e.tm_year+1900,e.tm_mon,e.tm_mday);if(l(r,n)<0){var o=$r(zr(n.getFullYear())?Kr:Jr,n.getMonth()-1)-31,i=31-r.getDate()+o+n.getDate();return u(Math.ceil(i/7),2)}return 0===l(r,t)?"01":"00"},"%V":function(e){var t,r=new Date(e.tm_year+1900,0,4),n=new Date(e.tm_year+1901,0,4),o=E(r),i=E(n),a=Zr(new Date(e.tm_year+1900,0,1),e.tm_yday);return l(a,o)<0?"53":l(i,a)<=0?"01":(t=o.getFullYear()<e.tm_year+1900?e.tm_yday+32-o.getDate():e.tm_yday+1-o.getDate(),u(Math.ceil(t/7),2))},"%w":function(e){return e.tm_wday},"%W":function(e){var t=new Date(e.tm_year,0,1),r=1===t.getDay()?t:Zr(t,0===t.getDay()?1:7-t.getDay()+1),n=new Date(e.tm_year+1900,e.tm_mon,e.tm_mday);if(l(r,n)<0){var o=$r(zr(n.getFullYear())?Kr:Jr,n.getMonth()-1)-31,i=31-r.getDate()+o+n.getDate();return u(Math.ceil(i/7),2)}return 0===l(r,t)?"01":"00"},"%y":function(e){return(e.tm_year+1900).toString().substring(2)},"%Y":function(e){return e.tm_year+1900},"%z":function(e){var t=e.tm_gmtoff,r=t>=0;return t=(t=Math.abs(t)/60)/60*100+t%60,(r?"+":"-")+String("0000"+t).slice(-4)},"%Z":function(e){return e.tm_zone},"%%":function(){return"%"}};for(var A in p)a.includes(A)&&(a=a.replace(new RegExp(A,"g"),p[A](i)));var h=An(a,!1);return h.length>t?0:(Z(h,e),h.length-1)}o.requestFullscreen=function(e,t){Fe.requestFullscreen(e,t)},o.requestFullScreen=function(){Fe.requestFullScreen()},o.requestAnimationFrame=function(e){Fe.requestAnimationFrame(e)},o.setCanvasSize=function(e,t,r){Fe.setCanvasSize(e,t,r)},o.pauseMainLoop=function(){Fe.mainLoop.pause()},o.resumeMainLoop=function(){Fe.mainLoop.resume()},o.getUserMedia=function(){Fe.getUserMedia()},o.createContext=function(e,t,r,n){return Fe.createContext(e,t,r,n)};var en,tn=function(e,t,r,n){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=Ze.nextInode++,this.name=t,this.mode=r,this.node_ops={},this.stream_ops={},this.rdev=n},rn=365,nn=146;Object.defineProperties(tn.prototype,{read:{get:function(){return(this.mode&rn)===rn},set:function(e){e?this.mode|=rn:this.mode&=-366}},write:{get:function(){return(this.mode&nn)===nn},set:function(e){e?this.mode|=nn:this.mode&=-147}},isFolder:{get:function(){return Ze.isDir(this.mode)}},isDevice:{get:function(){return Ze.isChrdev(this.mode)}}}),Ze.FSNode=tn,Ze.staticInit(),o.FS_createPath=Ze.createPath,o.FS_createDataFile=Ze.createDataFile,o.FS_createPreloadedFile=Ze.createPreloadedFile,o.FS_createLazyFile=Ze.createLazyFile,o.FS_createDevice=Ze.createDevice,o.FS_unlink=Ze.unlink,o.count_emval_handles=ot,o.get_first_emval=it,At=o.PureVirtualError=st(Error,"PureVirtualError"),function(){for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);ct=e}(),o.getInheritedInstanceCount=dt,o.getLiveInheritedInstances=ut,o.flushPendingDeletes=Et,o.setDelayFunction=pt,It=o.BindingError=st(Error,"BindingError"),St=o.InternalError=st(Error,"InternalError"),Xt.prototype.isAliasOf=Ut,Xt.prototype.clone=Lt,Xt.prototype.delete=Ht,Xt.prototype.isDeleted=Gt,Xt.prototype.deleteLater=Yt,ar.prototype.getPointee=er,ar.prototype.destructor=tr,ar.prototype.argPackAdvance=8,ar.prototype.readValueFromPointer=Pt,ar.prototype.deleteObject=rr,ar.prototype.fromWireType=ir,gr=o.UnboundTypeError=st(Error,"UnboundTypeError");for(var on=0;on<32;++on)Nr.push(new Array(on));var an=new Float32Array(288);for(on=0;on<288;++on)Xr[on]=an.subarray(0,on+1);var sn=new Int32Array(288);for(on=0;on<288;++on)Vr[on]=sn.subarray(0,on+1);function An(e,t,r){var n=r>0?r:S(e)+1,o=new Array(n),i=R(e,o,0,o.length);return t&&(o.length=i),o}"function"==typeof atob&&atob;var cn,gn={HaveOffsetConverter:function(){return"undefined"!=typeof wasmOffsetConverter},__cxa_allocate_exception:function(e){return un(e+16)+16},__cxa_atexit:function(e,t){},__cxa_begin_catch:function(e){var t=new Ue(e),r=t.get_exception_info();return r.get_caught()||r.set_caught(!0),r.set_rethrown(!1),je.push(t),function(e){e.add_ref()}(r),t.get_exception_ptr()},__cxa_end_catch:function(){_n(0),Q(je.length>0);var e=je.pop();!function(e){if(e.release_ref()&&!e.get_rethrown()){var t=e.get_destructor();t&&te.get(t)(e.excPtr),He(e.excPtr)}}(e.get_exception_info()),e.free(),Le=0},__cxa_find_matching_catch_2:function(){var e=Le;if(!e)return w(0),0;var t=new xe(e).get_type(),r=new Ue;if(r.set_base_ptr(e),r.set_adjusted_ptr(e),!t)return w(0),0|r.ptr;for(var n=Array.prototype.slice.call(arguments),o=0;o<n.length;o++){var i=n[o];if(0===i||i===t)break;if(wn(i,t,r.get_adjusted_ptr_addr()))return w(i),0|r.ptr}return w(t),0|r.ptr},__cxa_find_matching_catch_3:function(){var e=Le;if(!e)return w(0),0;var t=new xe(e).get_type(),r=new Ue;if(r.set_base_ptr(e),r.set_adjusted_ptr(e),!t)return w(0),0|r.ptr;for(var n=Array.prototype.slice.call(arguments),o=0;o<n.length;o++){var i=n[o];if(0===i||i===t)break;if(wn(i,t,r.get_adjusted_ptr_addr()))return w(i),0|r.ptr}return w(t),0|r.ptr},__cxa_free_exception:He,__cxa_rethrow:function(){var e=je.pop();e||me("no exception to throw");var t=e.get_exception_info(),r=e.get_base_ptr();throw t.get_rethrown()?e.free():(je.push(e),t.set_rethrown(!0),t.set_caught(!1)),Le=r,r+" - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch."},__cxa_thread_atexit:function(e,t){},__cxa_throw:function(e,t,r){throw new xe(e).init(t,r),Le=e,e+" - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch."},__resumeException:function(e){var t=new Ue(e),r=t.get_base_ptr();throw Le||(Le=r),t.free(),r+" - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch."},__sys_fcntl64:function(e,t,r){qe.varargs=r;try{var n=qe.getStreamFromFD(e);switch(t){case 0:return(o=qe.get())<0?-28:Ze.open(n.path,n.flags,0,o).fd;case 1:case 2:case 13:case 14:return 0;case 3:return n.flags;case 4:var o=qe.get();return n.flags|=o,0;case 12:o=qe.get();return x[o+0>>1]=2,0;case 16:case 8:default:return-28;case 9:return Ge(28),-1}}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),-e.errno}},__sys_ioctl:function(e,t,r){qe.varargs=r;try{var n=qe.getStreamFromFD(e);switch(t){case 21509:case 21505:case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:case 21523:case 21524:return n.tty?0:-59;case 21519:if(!n.tty)return-59;var o=qe.get();return j[o>>2]=0,0;case 21520:return n.tty?-28:-59;case 21531:o=qe.get();return Ze.ioctl(n,t,o);default:me("bad ioctl syscall "+t)}}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),-e.errno}},__sys_mmap2:function(e,t,r,n,o,i){try{return function(e,t,r,n,o,i){var a;i<<=12;var s=!1;if(16&n&&e%65536!=0)return-28;if(32&n){if(!(a=ze(t)))return-48;s=!0}else{var A=Ze.getStream(o);if(!A)return-8;var c=Ze.mmap(A,e,t,i,r,n);a=c.ptr,s=c.allocated}return qe.mappings[a]={malloc:a,len:t,allocated:s,fd:o,prot:r,flags:n,offset:i},a}(e,t,r,n,o,i)}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),-e.errno}},__sys_open:function(e,t,r){qe.varargs=r;try{var n=qe.getStr(e),o=r?qe.get():0;return Ze.open(n,t,o).fd}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),-e.errno}},__sys_stat64:function(e,t){try{return e=qe.getStr(e),qe.doStat(Ze.stat,e,t)}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),-e.errno}},_embind_create_inheriting_constructor:function(e,t,r){e=gt(e),t=Bt(t,"wrapper"),r=yt(r);var n=[].slice,o=t.registeredClass,i=o.instancePrototype,a=o.baseClass.instancePrototype,s=o.baseClass.constructor,A=tt(e,(function(){o.baseClass.pureVirtualFunctions.forEach(function(e){if(this[e]===a[e])throw new At("Pure virtual function "+e+" must be implemented in JavaScript")}.bind(this)),Object.defineProperty(this,"__parent",{value:i}),this.__construct.apply(this,n.call(arguments))}));for(var c in i.__construct=function(){this===i&&mt("Pass correct 'this' to __construct");var e=s.implement.apply(void 0,[this].concat(n.call(arguments)));Dt(e);var t,r,a,A=e.$$;e.notifyOnDestruction(),A.preservePointerOnDelete=!0,Object.defineProperties(this,{$$:{value:A}}),Qt(this),t=o,r=A.ptr,a=this,r=Ct(t,r),ht.hasOwnProperty(r)?mt("Tried to register registered instance: "+r):ht[r]=a},i.__destruct=function(){var e,t;this===i&&mt("Pass correct 'this' to __destruct"),Dt(this),e=o,t=this.$$.ptr,t=Ct(e,t),ht.hasOwnProperty(t)?delete ht[t]:mt("Tried to unregister unregistered instance: "+t)},A.prototype=Object.create(i),r)A.prototype[c]=r[c];return at(A)},_embind_finalize_value_object:function(e){var t=Tt[e];delete Tt[e];var r=t.rawConstructor,n=t.rawDestructor,o=t.fields;Nt([e],o.map((function(e){return e.getterReturnType})).concat(o.map((function(e){return e.setterArgumentType}))),(function(e){var i={};return o.forEach((function(t,r){var n=t.fieldName,a=e[r],s=t.getter,A=t.getterContext,c=e[r+o.length],g=t.setter,d=t.setterContext;i[n]={read:function(e){return a.fromWireType(s(A,e))},write:function(e,t){var r=[];g(d,e,c.toWireType(r,t)),vt(r)}}})),[{name:t.name,fromWireType:function(e){var t={};for(var r in i)t[r]=i[r].read(e);return n(e),t},toWireType:function(e,t){for(var o in i)if(!(o in t))throw new TypeError('Missing field: "'+o+'"');var a=r();for(o in i)i[o].write(a,t[o]);return null!==e&&e.push(n,a),a},argPackAdvance:8,readValueFromPointer:Pt,destructorFunction:n}]}))},_embind_register_bigint:function(e,t,r,n,o){},_embind_register_bool:function(e,t,r,n,o){var i=kt(r);xt(e,{name:t=gt(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?n:o},argPackAdvance:8,readValueFromPointer:function(e){var n;if(1===r)n=N;else if(2===r)n=x;else{if(4!==r)throw new TypeError("Unknown boolean type size: "+t);n=j}return this.fromWireType(n[e>>i])},destructorFunction:null})},_embind_register_class:function(e,t,r,n,o,i,a,s,A,c,g,d,u){g=gt(g),i=cr(o,i),s&&(s=cr(a,s)),c&&(c=cr(A,c)),u=cr(d,u);var l=et(g);zt(l,(function(){dr("Cannot construct "+g+" due to unbound types",[n])})),Nt([e,t,r],n?[n]:[],(function(t){var r,o;t=t[0],o=n?(r=t.registeredClass).instancePrototype:Xt.prototype;var a=tt(l,(function(){if(Object.getPrototypeOf(this)!==A)throw new It("Use 'new' to construct "+g);if(void 0===d.constructor_body)throw new It(g+" has no accessible constructor");var e=d.constructor_body[arguments.length];if(void 0===e)throw new It("Tried to invoke ctor of "+g+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(d.constructor_body).toString()+") parameters instead!");return e.apply(this,arguments)})),A=Object.create(o,{constructor:{value:a}});a.prototype=A;var d=new $t(g,a,A,u,r,i,s,c),E=new ar(g,d,!0,!1,!1),f=new ar(g+"*",d,!1,!1,!1),p=new ar(g+" const*",d,!1,!0,!1);return Vt[e]={pointerType:f,constPointerType:p},sr(l,a),[E,f,p]}))},_embind_register_class_class_function:function(e,t,r,n,o,i,a){var s=Er(r,n);t=gt(t),i=cr(o,i),Nt([],[e],(function(e){var n=(e=e[0]).name+"."+t;function o(){dr("Cannot call "+n+" due to unbound types",s)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]);var A=e.registeredClass.constructor;return void 0===A[t]?(o.argCount=r-1,A[t]=o):(Wt(A,t,n),A[t].overloadTable[r-1]=o),Nt([],s,(function(e){var o=[e[0],null].concat(e.slice(1)),s=lr(n,o,null,i,a);return void 0===A[t].overloadTable?(s.argCount=r-1,A[t]=s):A[t].overloadTable[r-1]=s,[]})),[]}))},_embind_register_class_constructor:function(e,t,r,n,o,i){Q(t>0);var a=Er(t,r);o=cr(n,o),Nt([],[e],(function(e){var r="constructor "+(e=e[0]).name;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new It("Cannot register multiple constructors with identical number of parameters ("+(t-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.registeredClass.constructor_body[t-1]=function(){dr("Cannot construct "+e.name+" due to unbound types",a)},Nt([],a,(function(n){return n.splice(1,0,null),e.registeredClass.constructor_body[t-1]=lr(r,n,null,o,i),[]})),[]}))},_embind_register_class_function:function(e,t,r,n,o,i,a,s){var A=Er(r,n);t=gt(t),i=cr(o,i),Nt([],[e],(function(e){var n=(e=e[0]).name+"."+t;function o(){dr("Cannot call "+n+" due to unbound types",A)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(t);var c=e.registeredClass.instancePrototype,g=c[t];return void 0===g||void 0===g.overloadTable&&g.className!==e.name&&g.argCount===r-2?(o.argCount=r-2,o.className=e.name,c[t]=o):(Wt(c,t,n),c[t].overloadTable[r-2]=o),Nt([],A,(function(o){var s=lr(n,o,e,i,a);return void 0===c[t].overloadTable?(s.argCount=r-2,c[t]=s):c[t].overloadTable[r-2]=s,[]})),[]}))},_embind_register_class_property:function(e,t,r,n,o,i,a,s,A,c){t=gt(t),o=cr(n,o),Nt([],[e],(function(e){var n=(e=e[0]).name+"."+t,g={get:function(){dr("Cannot access "+n+" due to unbound types",[r,a])},enumerable:!0,configurable:!0};return g.set=A?function(){dr("Cannot access "+n+" due to unbound types",[r,a])}:function(e){mt(n+" is a read-only property")},Object.defineProperty(e.registeredClass.instancePrototype,t,g),Nt([],A?[r,a]:[r],(function(r){var a=r[0],g={get:function(){var t=fr(this,e,n+" getter");return a.fromWireType(o(i,t))},enumerable:!0};if(A){A=cr(s,A);var d=r[1];g.set=function(t){var r=fr(this,e,n+" setter"),o=[];A(c,r,d.toWireType(o,t)),vt(o)}}return Object.defineProperty(e.registeredClass.instancePrototype,t,g),[]})),[]}))},_embind_register_emval:function(e,t){xt(e,{name:t=gt(t),fromWireType:function(e){var t=nt[e].value;return pr(e),t},toWireType:function(e,t){return at(t)},argPackAdvance:8,readValueFromPointer:Pt,destructorFunction:null})},_embind_register_float:function(e,t,r){var n=kt(r);xt(e,{name:t=gt(t),fromWireType:function(e){return e},toWireType:function(e,t){if("number"!=typeof t&&"boolean"!=typeof t)throw new TypeError('Cannot convert "'+hr(t)+'" to '+this.name);return t},argPackAdvance:8,readValueFromPointer:Ir(t,n),destructorFunction:null})},_embind_register_function:function(e,t,r,n,o,i){var a=Er(t,r);e=gt(e),o=cr(n,o),zt(e,(function(){dr("Cannot call "+e+" due to unbound types",a)}),t-1),Nt([],a,(function(r){var n=[r[0],null].concat(r.slice(1));return sr(e,lr(e,n,null,o,i),t-1),[]}))},_embind_register_integer:function(e,t,r,n,o){t=gt(t),-1===o&&(o=4294967295);var i=kt(r),a=function(e){return e};if(0===n){var s=32-8*r;a=function(e){return e<<s>>>s}}var A=t.includes("unsigned");xt(e,{name:t,fromWireType:a,toWireType:function(e,r){if("number"!=typeof r&&"boolean"!=typeof r)throw new TypeError('Cannot convert "'+hr(r)+'" to '+this.name);if(r<n||r>o)throw new TypeError('Passing a number "'+hr(r)+'" from JS side to C/C++ side to an argument of type "'+t+'", which is outside the valid range ['+n+", "+o+"]!");return A?r>>>0:0|r},argPackAdvance:8,readValueFromPointer:mr(t,i,0!==n),destructorFunction:null})},_embind_register_memory_view:function(e,t,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function o(e){var t=L,r=t[e>>=2],o=t[e+1];return new n(F,o,r)}xt(e,{name:r=gt(r),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},_embind_register_std_string:function(e,t){var r="std::string"===(t=gt(t));xt(e,{name:t,fromWireType:function(e){var t,n=L[e>>2];if(r)for(var o=e+4,i=0;i<=n;++i){var a=e+4+i;if(i==n||0==k[a]){var s=P(o,a-o);void 0===t?t=s:(t+=String.fromCharCode(0),t+=s),o=a+1}}else{var A=new Array(n);for(i=0;i<n;++i)A[i]=String.fromCharCode(k[e+4+i]);t=A.join("")}return dn(e),t},toWireType:function(e,t){t instanceof ArrayBuffer&&(t=new Uint8Array(t));var n="string"==typeof t;n||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||mt("Cannot pass non-string to std::string");var o=(r&&n?function(){return S(t)}:function(){return t.length})(),i=un(4+o+1);if(L[i>>2]=o,r&&n)M(t,i+4,o+1);else if(n)for(var a=0;a<o;++a){var s=t.charCodeAt(a);s>255&&(dn(i),mt("String has UTF-16 code units that do not fit in 8 bits")),k[i+4+a]=s}else for(a=0;a<o;++a)k[i+4+a]=t[a];return null!==e&&e.push(dn,i),i},argPackAdvance:8,readValueFromPointer:Pt,destructorFunction:function(e){dn(e)}})},_embind_register_std_wstring:function(e,t,r){var n,o,i,a,s;r=gt(r),2===t?(n=X,o=V,a=W,i=function(){return U},s=1):4===t&&(n=z,o=$,a=K,i=function(){return L},s=2),xt(e,{name:r,fromWireType:function(e){for(var r,o=L[e>>2],a=i(),A=e+4,c=0;c<=o;++c){var g=e+4+c*t;if(c==o||0==a[g>>s]){var d=n(A,g-A);void 0===r?r=d:(r+=String.fromCharCode(0),r+=d),A=g+t}}return dn(e),r},toWireType:function(e,n){"string"!=typeof n&&mt("Cannot pass non-string to C++ string type "+r);var i=a(n),A=un(4+i+t);return L[A>>2]=i>>s,o(n,A+4,i+t),null!==e&&e.push(dn,A),A},argPackAdvance:8,readValueFromPointer:Pt,destructorFunction:function(e){dn(e)}})},_embind_register_value_object:function(e,t,r,n,o,i){Tt[e]={name:gt(t),rawConstructor:cr(r,n),rawDestructor:cr(o,i),fields:[]}},_embind_register_value_object_field:function(e,t,r,n,o,i,a,s,A,c){Tt[e].fields.push({fieldName:gt(t),getterReturnType:r,getter:cr(n,o),getterContext:i,setterArgumentType:a,setter:cr(s,A),setterContext:c})},_embind_register_void:function(e,t){xt(e,{isVoid:!0,name:t=gt(t),argPackAdvance:0,fromWireType:function(){},toWireType:function(e,t){}})},_emval_call_void_method:function(e,t,r,n){var o,i;(e=yr[e])(t=yt(t),r=void 0===(i=Cr[o=r])?gt(o):i,null,n)},_emval_decref:pr,_emval_get_method_caller:function(e,t){for(var r=function(e,t){for(var r=new Array(e),n=0;n<e;++n)r[n]=Bt(j[(t>>2)+n],"parameter "+n);return r}(e,t),n=r[0],o=n.name+"_$"+r.slice(1).map((function(e){return e.name})).join("_")+"$",i=["retType"],a=[n],s="",A=0;A<e-1;++A)s+=(0!==A?", ":"")+"arg"+A,i.push("argType"+A),a.push(r[1+A]);var c="return function "+et("methodCaller_"+o)+"(handle, name, destructors, args) {\n",g=0;for(A=0;A<e-1;++A)c+=" var arg"+A+" = argType"+A+".readValueFromPointer(args"+(g?"+"+g:"")+");\n",g+=r[A+1].argPackAdvance;for(c+=" var rv = handle[name]("+s+");\n",A=0;A<e-1;++A)r[A+1].deleteObject&&(c+=" argType"+A+".deleteObject(arg"+A+");\n");n.isVoid||(c+=" return retType.toWireType(destructors, rv);\n"),c+="};\n",i.push(c);var d,u,l=ur(Function,i).apply(null,a);return d=l,u=yr.length,yr.push(d),u},_emval_incref:function(e){e>4&&(nt[e].refcount+=1)},_emval_take_value:function(e,t){return at((e=Bt(e,"_emval_take_value")).readValueFromPointer(t))},abort:function(){me()},clock_gettime:function(e,t){var r;if(0===e)r=Date.now();else{if(1!==e&&4!==e)return Ge(28),-1;r=Qe()}return j[t>>2]=r/1e3|0,j[t+4>>2]=r%1e3*1e3*1e3|0,0},dlopen:function(e,t){me("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")},dlsym:function(e,t){me("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")},emscripten_asm_const_int:function(e,t,r){var n=function(e,t){var r;for(Q(Array.isArray(_r)),Q(t%16==0),_r.length=0,t>>=2;r=k[e++];){Q(100===r||102===r||105===r);var n=r<105;n&&1&t&&t++,_r.push(n?G[t++>>1]:j[t]),++t}return _r}(t,r);return Te.hasOwnProperty(e)||me("No EM_ASM constant found at address "+e),Te[e].apply(null,n)},emscripten_get_heap_max:function(){return 2147483648},emscripten_memcpy_big:function(e,t,r){k.copyWithin(e,t,t+r)},emscripten_pc_get_function:function(e){me("Cannot use emscripten_pc_get_function without -s USE_OFFSET_CONVERTER")},emscripten_resize_heap:function(e){var t=k.length;Q((e>>>=0)>t);var r,n,o=2147483648;if(e>o)return m("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is "+o+" bytes!"),!1;for(var i=1;i<=4;i*=2){var a=t*(1+.2/i);a=Math.min(a,e+100663296);var s=Math.min(o,((r=Math.max(e,a))%(n=65536)>0&&(r+=n-r%n),r));if(wr(s))return!0}return m("Failed to grow the heap from "+t+" bytes to "+s+" bytes, not enough memory!"),!1},emscripten_stack_snapshot:function(){var e=(new Error).stack.split("\n");return"Error"==e[0]&&e.shift(),Or(e),Dr.last_addr=Br(e[2]),Dr.last_stack=e,Dr.last_addr},emscripten_stack_unwind_buffer:function(e,t,r){var n;Dr.last_addr==e?n=Dr.last_stack:("Error"==(n=(new Error).stack.split("\n"))[0]&&n.shift(),Or(n));for(var o=2;n[o]&&Br(n[o])!=e;)++o;for(var i=0;i<r&&n[i+o];++i)j[t+4*i>>2]=Br(n[i+o]);return i},emscripten_thread_sleep:function(e){for(var t=Qe();Qe()-t<e;);},emscripten_webgl_create_context:function(e,t){return function(e,t){Q(t);var r=t>>2,n=j[r+6],o={alpha:!!j[r+0],depth:!!j[r+1],stencil:!!j[r+2],antialias:!!j[r+3],premultipliedAlpha:!!j[r+4],preserveDrawingBuffer:!!j[r+5],powerPreference:Tr[n],failIfMajorPerformanceCaveat:!!j[r+7],majorVersion:j[r+8],minorVersion:j[r+9],enableExtensionsByDefault:j[r+10],explicitSwapControl:j[r+11],proxyContextToMainThread:j[r+12],renderViaOffscreenBackBuffer:j[r+13]},i=Pr(e);if(!i)return 0;if(i.offscreenCanvas&&(i=i.offscreenCanvas),o.explicitSwapControl&&(i.transferControlToOffscreen||"undefined"!=typeof OffscreenCanvas&&i instanceof OffscreenCanvas||o.renderViaOffscreenBackBuffer||(o.renderViaOffscreenBackBuffer=!0),i.transferControlToOffscreen)){if(i.controlTransferredOffscreen){if(!br.offscreenCanvases[i.id])return 0}else br.offscreenCanvases[i.id]={canvas:i.transferControlToOffscreen(),canvasSharedPtr:un(12),id:i.id},i.controlTransferredOffscreen=!0;i=br.offscreenCanvases[i.id]}return br.createContext(i,o)}(e,t)},emscripten_webgl_destroy_context:function(e){br.currentContext==e&&(br.currentContext=0),br.deleteContext(e)},emscripten_webgl_get_context_attributes:function(e,t){if(!t)return-5;if(!(e=br.contexts[e]))return-3;var r=e.GLctx;if(!r)return-3;r=r.getContextAttributes(),j[t>>2]=r.alpha,j[t+4>>2]=r.depth,j[t+8>>2]=r.stencil,j[t+12>>2]=r.antialias,j[t+16>>2]=r.premultipliedAlpha,j[t+20>>2]=r.preserveDrawingBuffer;var n=r.powerPreference&&Tr.indexOf(r.powerPreference);return j[t+24>>2]=n,j[t+28>>2]=r.failIfMajorPerformanceCaveat,j[t+32>>2]=e.version,j[t+36>>2]=0,j[t+40>>2]=e.attributes.enableExtensionsByDefault,0},emscripten_webgl_get_current_context:Rr,emscripten_webgl_init_context_attributes:function(e){Q(e);for(var t=e>>2,r=0;r<14;++r)j[t+r]=0;j[t+0]=j[t+1]=j[t+3]=j[t+4]=j[t+8]=j[t+10]=1},emscripten_webgl_make_context_current:Mr,environ_get:function(e,t){var r=0;return Fr().forEach((function(n,o){var i=t+r;j[e+4*o>>2]=i,function(e,t,r){for(var n=0;n<e.length;++n)Q(e.charCodeAt(n)==e.charCodeAt(n)&255),N[0|t++]=e.charCodeAt(n);r||(N[0|t]=0)}(n,i),r+=n.length+1})),0},environ_sizes_get:function(e,t){var r=Fr();j[e>>2]=r.length;var n=0;return r.forEach((function(e){n+=e.length+1})),j[t>>2]=n,0},exit:Pe,fd_close:function(e){try{var t=qe.getStreamFromFD(e);return Ze.close(t),0}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),e.errno}},fd_read:function(e,t,r,n){try{var o=qe.getStreamFromFD(e),i=qe.doReadv(o,t,r);return j[n>>2]=i,0}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),e.errno}},fd_seek:function(e,t,r,n,o){try{var i=qe.getStreamFromFD(e),a=4294967296*r+(t>>>0),s=9007199254740992;return a<=-s||a>=s?-61:(Ze.llseek(i,a,n),we=[i.position>>>0,(_e=i.position,+Math.abs(_e)>=1?_e>0?(0|Math.min(+Math.floor(_e/4294967296),4294967295))>>>0:~~+Math.ceil((_e-+(~~_e>>>0))/4294967296)>>>0:0)],j[o>>2]=we[0],j[o+4>>2]=we[1],i.getdents&&0===a&&0===n&&(i.getdents=null),0)}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),e.errno}},fd_write:function(e,t,r,n){try{var o=qe.getStreamFromFD(e),i=qe.doWritev(o,t,r);return j[n>>2]=i,0}catch(e){return void 0!==Ze&&e instanceof Ze.ErrnoError||me(e),e.errno}},getTempRet0:function(){return _},getentropy:function e(t,r){e.randomDevice||(e.randomDevice=Xe());for(var n=0;n<r;n++)N[t+n|0]=e.randomDevice();return 0},glActiveTexture:function(e){en.activeTexture(e)},glAttachShader:function(e,t){en.attachShader(br.programs[e],br.shaders[t])},glBindAttribLocation:function(e,t,r){en.bindAttribLocation(br.programs[e],t,P(r))},glBindBuffer:function(e,t){34962==e?en.currentArrayBufferBinding=t:34963==e&&(en.currentElementArrayBufferBinding=t),35051==e?en.currentPixelPackBufferBinding=t:35052==e&&(en.currentPixelUnpackBufferBinding=t),en.bindBuffer(e,br.buffers[t])},glBindBufferBase:function(e,t,r){en.bindBufferBase(e,t,br.buffers[r])},glBindFramebuffer:function(e,t){en.bindFramebuffer(e,t?br.framebuffers[t]:br.currentContext.defaultFbo)},glBindTexture:function(e,t){en.bindTexture(e,br.textures[t])},glBindVertexArray:function(e){en.bindVertexArray(br.vaos[e]);var t=en.getParameter(34965);en.currentElementArrayBufferBinding=t?0|t.name:0},glBufferData:function(e,t,r,n){br.currentContext.version>=2?r?en.bufferData(e,k,n,r,t):en.bufferData(e,t,n):en.bufferData(e,r?k.subarray(r,r+t):t,n)},glClientWaitSync:function(e,t,r,n){return en.clientWaitSync(br.syncs[e],t,(o=r,Q((i=n)===(0|i)),(o>>>0)+4294967296*i));var o,i},glCompileShader:function(e){en.compileShader(br.shaders[e])},glCreateProgram:function(){var e=br.getNewId(br.programs),t=en.createProgram();return t.name=e,t.maxUniformLength=t.maxAttributeLength=t.maxUniformBlockNameLength=0,t.uniformIdCounter=1,br.programs[e]=t,e},glCreateShader:function(e){var t=br.getNewId(br.shaders);return br.shaders[t]=en.createShader(e),t},glDeleteBuffers:function(e,t){for(var r=0;r<e;r++){var n=j[t+4*r>>2],o=br.buffers[n];o&&(en.deleteBuffer(o),o.name=0,br.buffers[n]=null,n==en.currentArrayBufferBinding&&(en.currentArrayBufferBinding=0),n==en.currentElementArrayBufferBinding&&(en.currentElementArrayBufferBinding=0),n==en.currentPixelPackBufferBinding&&(en.currentPixelPackBufferBinding=0),n==en.currentPixelUnpackBufferBinding&&(en.currentPixelUnpackBufferBinding=0))}},glDeleteFramebuffers:function(e,t){for(var r=0;r<e;++r){var n=j[t+4*r>>2],o=br.framebuffers[n];o&&(en.deleteFramebuffer(o),o.name=0,br.framebuffers[n]=null)}},glDeleteProgram:function(e){if(e){var t=br.programs[e];t?(en.deleteProgram(t),t.name=0,br.programs[e]=null):br.recordError(1281)}},glDeleteShader:function(e){if(e){var t=br.shaders[e];t?(en.deleteShader(t),br.shaders[e]=null):br.recordError(1281)}},glDeleteSync:function(e){if(e){var t=br.syncs[e];t?(en.deleteSync(t),t.name=0,br.syncs[e]=null):br.recordError(1281)}},glDeleteTextures:function(e,t){for(var r=0;r<e;r++){var n=j[t+4*r>>2],o=br.textures[n];o&&(en.deleteTexture(o),o.name=0,br.textures[n]=null)}},glDeleteVertexArrays:function(e,t){for(var r=0;r<e;r++){var n=j[t+4*r>>2];en.deleteVertexArray(br.vaos[n]),br.vaos[n]=null}},glDisable:function(e){en.disable(e)},glDisableVertexAttribArray:function(e){br.currentContext.clientBuffers[e].enabled=!1,en.disableVertexAttribArray(e)},glDrawArrays:function(e,t,r){br.preDrawHandleClientVertexAttribBindings(t+r),en.drawArrays(e,t,r),br.postDrawHandleClientVertexAttribBindings()},glDrawBuffers:function(e,t){for(var r=Nr[e],n=0;n<e;n++)r[n]=j[t+4*n>>2];en.drawBuffers(r)},glEnableVertexAttribArray:function(e){br.currentContext.clientBuffers[e].enabled=!0,en.enableVertexAttribArray(e)},glFenceSync:function(e,t){var r=en.fenceSync(e,t);if(r){var n=br.getNewId(br.syncs);return r.name=n,br.syncs[n]=r,n}return 0},glFinish:function(){en.finish()},glFlush:function(){en.flush()},glFramebufferTexture2D:function(e,t,r,n,o){en.framebufferTexture2D(e,t,r,br.textures[n],o)},glFramebufferTextureLayer:function(e,t,r,n,o){en.framebufferTextureLayer(e,t,br.textures[r],n,o)},glGenBuffers:function(e,t){kr(e,t,"createBuffer",br.buffers)},glGenFramebuffers:function(e,t){kr(e,t,"createFramebuffer",br.framebuffers)},glGenTextures:function(e,t){kr(e,t,"createTexture",br.textures)},glGenVertexArrays:function(e,t){kr(e,t,"createVertexArray",br.vaos)},glGetAttribLocation:function(e,t){return en.getAttribLocation(br.programs[e],P(t))},glGetError:function(){var e=en.getError()||br.lastError;return br.lastError=0,e},glGetIntegerv:function(e,t){!function(e,t,r){if(t){var n=void 0;switch(e){case 36346:n=1;break;case 36344:return void(0!=r&&1!=r&&br.recordError(1280));case 34814:case 36345:n=0;break;case 34466:var o=en.getParameter(34467);n=o?o.length:0;break;case 33309:if(br.currentContext.version<2)return void br.recordError(1282);n=2*(en.getSupportedExtensions()||[]).length;break;case 33307:case 33308:if(br.currentContext.version<2)return void br.recordError(1280);n=33307==e?3:0}if(void 0===n){var i=en.getParameter(e);switch(typeof i){case"number":n=i;break;case"boolean":n=i?1:0;break;case"string":return void br.recordError(1280);case"object":if(null===i)switch(e){case 34964:case 35725:case 34965:case 36006:case 36007:case 32873:case 34229:case 36662:case 36663:case 35053:case 35055:case 36010:case 35097:case 35869:case 32874:case 36389:case 35983:case 35368:case 34068:n=0;break;default:return void br.recordError(1280)}else{if(i instanceof Float32Array||i instanceof Uint32Array||i instanceof Int32Array||i instanceof Array){for(var a=0;a<i.length;++a)switch(r){case 0:j[t+4*a>>2]=i[a];break;case 2:H[t+4*a>>2]=i[a];break;case 4:N[t+a|0]=i[a]?1:0}return}try{n=0|i.name}catch(t){return br.recordError(1280),void m("GL_INVALID_ENUM in glGet"+r+"v: Unknown object returned from WebGL getParameter("+e+")! (error: "+t+")")}}break;default:return br.recordError(1280),void m("GL_INVALID_ENUM in glGet"+r+"v: Native code calling glGet"+r+"v("+e+") and it returns "+i+" of type "+typeof i+"!")}}switch(r){case 1:xr(t,n);break;case 0:j[t>>2]=n;break;case 2:H[t>>2]=n;break;case 4:N[0|t]=n?1:0}}else br.recordError(1281)}(e,t,0)},glGetString:function(e){var t=br.stringCache[e];if(!t){switch(e){case 7939:var r=en.getSupportedExtensions()||[];t=Ur((r=r.concat(r.map((function(e){return"GL_"+e})))).join(" "));break;case 7936:case 7937:case 37445:case 37446:var n=en.getParameter(e);n||br.recordError(1280),t=n&&Ur(n);break;case 7938:var o=en.getParameter(7938);t=Ur(o=br.currentContext.version>=2?"OpenGL ES 3.0 ("+o+")":"OpenGL ES 2.0 ("+o+")");break;case 35724:var i=en.getParameter(35724),a=i.match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);null!==a&&(3==a[1].length&&(a[1]=a[1]+"0"),i="OpenGL ES GLSL ES "+a[1]+" ("+i+")"),t=Ur(i);break;default:br.recordError(1280)}br.stringCache[e]=t}return t},glGetUniformBlockIndex:function(e,t){return en.getUniformBlockIndex(br.programs[e],P(t))},glGetUniformLocation:function(e,t){if(t=P(t),e=br.programs[e]){!function(e){var t,r,n=e.uniformLocsById,o=e.uniformSizeAndIdsByName;if(!n)for(e.uniformLocsById=n={},e.uniformArrayNamesById={},t=0;t<en.getProgramParameter(e,35718);++t){var i=en.getActiveUniform(e,t),a=i.name,s=i.size,A=jr(a),c=A>0?a.slice(0,A):a,g=e.uniformIdCounter;for(e.uniformIdCounter+=s,o[c]=[s,g],r=0;r<s;++r)n[g]=r,e.uniformArrayNamesById[g++]=c}}(e);var r=e.uniformLocsById,n=0,o=t,i=jr(t);i>0&&(s=t.slice(i+1),n=parseInt(s)>>>0,o=t.slice(0,i));var a=e.uniformSizeAndIdsByName[o];if(a&&n<a[0]&&(r[n+=a[1]]=r[n]||en.getUniformLocation(e,t)))return n}else br.recordError(1281);var s;return-1},glLinkProgram:function(e){e=br.programs[e],en.linkProgram(e),e.uniformLocsById=0,e.uniformSizeAndIdsByName={}},glPixelStorei:function(e,t){3317==e&&(br.unpackAlignment=t),en.pixelStorei(e,t)},glReadPixels:function(e,t,r,n,o,i,a){if(br.currentContext.version>=2)if(en.currentPixelPackBufferBinding)en.readPixels(e,t,r,n,o,i,a);else{var s=Lr(i);en.readPixels(e,t,r,n,o,i,s,a>>Hr(s))}else{var A=Gr(i,o,r,n,a);A?en.readPixels(e,t,r,n,o,i,A):br.recordError(1280)}},glShaderSource:function(e,t,r,n){var o=br.getSource(e,t,r,n);en.shaderSource(br.shaders[e],o)},glTexImage2D:function(e,t,r,n,o,i,a,s,A){if(br.currentContext.version>=2)if(en.currentPixelUnpackBufferBinding)en.texImage2D(e,t,r,n,o,i,a,s,A);else if(A){var c=Lr(s);en.texImage2D(e,t,r,n,o,i,a,s,c,A>>Hr(c))}else en.texImage2D(e,t,r,n,o,i,a,s,null);else en.texImage2D(e,t,r,n,o,i,a,s,A?Gr(s,a,n,o,A):null)},glTexParameterfv:function(e,t,r){var n=H[r>>2];en.texParameterf(e,t,n)},glTexParameteri:function(e,t,r){en.texParameteri(e,t,r)},glTexStorage2D:function(e,t,r,n,o){en.texStorage2D(e,t,r,n,o)},glTexStorage3D:function(e,t,r,n,o,i){en.texStorage3D(e,t,r,n,o,i)},glTexSubImage2D:function(e,t,r,n,o,i,a,s,A){if(br.currentContext.version>=2)if(en.currentPixelUnpackBufferBinding)en.texSubImage2D(e,t,r,n,o,i,a,s,A);else if(A){var c=Lr(s);en.texSubImage2D(e,t,r,n,o,i,a,s,c,A>>Hr(c))}else en.texSubImage2D(e,t,r,n,o,i,a,s,null);else{var g=null;A&&(g=Gr(s,a,o,i,A)),en.texSubImage2D(e,t,r,n,o,i,a,s,g)}},glTexSubImage3D:function(e,t,r,n,o,i,a,s,A,c,g){if(en.currentPixelUnpackBufferBinding)en.texSubImage3D(e,t,r,n,o,i,a,s,A,c,g);else if(g){var d=Lr(c);en.texSubImage3D(e,t,r,n,o,i,a,s,A,c,d,g>>Hr(d))}else en.texSubImage3D(e,t,r,n,o,i,a,s,A,c,null)},glUniform1f:function(e,t){en.uniform1f(Yr(e),t)},glUniform1i:function(e,t){en.uniform1i(Yr(e),t)},glUniform2fv:function(e,t,r){if(br.currentContext.version>=2)en.uniform2fv(Yr(e),H,r>>2,2*t);else{if(t<=144)for(var n=Xr[2*t-1],o=0;o<2*t;o+=2)n[o]=H[r+4*o>>2],n[o+1]=H[r+(4*o+4)>>2];else n=H.subarray(r>>2,r+8*t>>2);en.uniform2fv(Yr(e),n)}},glUniform4fv:function(e,t,r){if(br.currentContext.version>=2)en.uniform4fv(Yr(e),H,r>>2,4*t);else{if(t<=72){var n=Xr[4*t-1],o=H;r>>=2;for(var i=0;i<4*t;i+=4){var a=r+i;n[i]=o[a],n[i+1]=o[a+1],n[i+2]=o[a+2],n[i+3]=o[a+3]}}else n=H.subarray(r>>2,r+16*t>>2);en.uniform4fv(Yr(e),n)}},glUniform4iv:function(e,t,r){if(br.currentContext.version>=2)en.uniform4iv(Yr(e),j,r>>2,4*t);else{if(t<=72)for(var n=Vr[4*t-1],o=0;o<4*t;o+=4)n[o]=j[r+4*o>>2],n[o+1]=j[r+(4*o+4)>>2],n[o+2]=j[r+(4*o+8)>>2],n[o+3]=j[r+(4*o+12)>>2];else n=j.subarray(r>>2,r+16*t>>2);en.uniform4iv(Yr(e),n)}},glUniformBlockBinding:function(e,t,r){e=br.programs[e],en.uniformBlockBinding(e,t,r)},glUniformMatrix4fv:function(e,t,r,n){if(br.currentContext.version>=2)en.uniformMatrix4fv(Yr(e),!!r,H,n>>2,16*t);else{if(t<=18){var o=Xr[16*t-1],i=H;n>>=2;for(var a=0;a<16*t;a+=16){var s=n+a;o[a]=i[s],o[a+1]=i[s+1],o[a+2]=i[s+2],o[a+3]=i[s+3],o[a+4]=i[s+4],o[a+5]=i[s+5],o[a+6]=i[s+6],o[a+7]=i[s+7],o[a+8]=i[s+8],o[a+9]=i[s+9],o[a+10]=i[s+10],o[a+11]=i[s+11],o[a+12]=i[s+12],o[a+13]=i[s+13],o[a+14]=i[s+14],o[a+15]=i[s+15]}}else o=H.subarray(n>>2,n+64*t>>2);en.uniformMatrix4fv(Yr(e),!!r,o)}},glUseProgram:function(e){e=br.programs[e],en.useProgram(e),en.currentProgram=e},glVertexAttribPointer:function(e,t,r,n,o,i){var a=br.currentContext.clientBuffers[e];if(!en.currentArrayBufferBinding)return a.size=t,a.type=r,a.normalized=n,a.stride=o,a.ptr=i,a.clientside=!0,void(a.vertexAttribPointerAdaptor=function(e,t,r,n,o,i){this.vertexAttribPointer(e,t,r,n,o,i)});a.clientside=!1,en.vertexAttribPointer(e,t,r,!!n,o,i)},glViewport:function(e,t,r,n){en.viewport(e,t,r,n)},gmtime_r:function e(t,r){var n=new Date(1e3*j[t>>2]);j[r>>2]=n.getUTCSeconds(),j[r+4>>2]=n.getUTCMinutes(),j[r+8>>2]=n.getUTCHours(),j[r+12>>2]=n.getUTCDate(),j[r+16>>2]=n.getUTCMonth(),j[r+20>>2]=n.getUTCFullYear()-1900,j[r+24>>2]=n.getUTCDay(),j[r+36>>2]=0,j[r+32>>2]=0;var o=Date.UTC(n.getUTCFullYear(),0,1,0,0,0,0),i=(n.getTime()-o)/864e5|0;return j[r+28>>2]=i,e.GMTString||(e.GMTString=J("GMT")),j[r+40>>2]=e.GMTString,r},invoke_diii:function(e,t,r,n){var o=mn();try{return te.get(e)(t,r,n)}catch(e){if(Cn(o),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_i:function(e){var t=mn();try{return te.get(e)()}catch(e){if(Cn(t),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_ii:function(e,t){var r=mn();try{return te.get(e)(t)}catch(e){if(Cn(r),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iii:function(e,t,r){var n=mn();try{return te.get(e)(t,r)}catch(e){if(Cn(n),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iiii:function(e,t,r,n){var o=mn();try{return te.get(e)(t,r,n)}catch(e){if(Cn(o),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iiiii:function(e,t,r,n,o){var i=mn();try{return te.get(e)(t,r,n,o)}catch(e){if(Cn(i),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iiiiii:function(e,t,r,n,o,i){var a=mn();try{return te.get(e)(t,r,n,o,i)}catch(e){if(Cn(a),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iiiiiii:function(e,t,r,n,o,i,a){var s=mn();try{return te.get(e)(t,r,n,o,i,a)}catch(e){if(Cn(s),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c){var g=mn();try{return te.get(e)(t,r,n,o,i,a,s,A,c)}catch(e){if(Cn(g),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iiiiiiii:function(e,t,r,n,o,i,a,s){var A=mn();try{return te.get(e)(t,r,n,o,i,a,s)}catch(e){if(Cn(A),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_iiiiiiiii:function(e,t,r,n,o,i,a,s,A){var c=mn();try{return te.get(e)(t,r,n,o,i,a,s,A)}catch(e){if(Cn(c),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_v:function(e){var t=mn();try{te.get(e)()}catch(e){if(Cn(t),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_vdiii:function(e,t,r,n,o){var i=mn();try{te.get(e)(t,r,n,o)}catch(e){if(Cn(i),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_vi:function(e,t){var r=mn();try{te.get(e)(t)}catch(e){if(Cn(r),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_vididdii:function(e,t,r,n,o,i,a,s){var A=mn();try{te.get(e)(t,r,n,o,i,a,s)}catch(e){if(Cn(A),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_vidii:function(e,t,r,n,o){var i=mn();try{te.get(e)(t,r,n,o)}catch(e){if(Cn(i),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_vii:function(e,t,r){var n=mn();try{te.get(e)(t,r)}catch(e){if(Cn(n),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viid:function(e,t,r,n){var o=mn();try{te.get(e)(t,r,n)}catch(e){if(Cn(o),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viidi:function(e,t,r,n,o){var i=mn();try{te.get(e)(t,r,n,o)}catch(e){if(Cn(i),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viididii:function(e,t,r,n,o,i,a,s){var A=mn();try{te.get(e)(t,r,n,o,i,a,s)}catch(e){if(Cn(A),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viii:function(e,t,r,n){var o=mn();try{te.get(e)(t,r,n)}catch(e){if(Cn(o),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiid:function(e,t,r,n,o){var i=mn();try{te.get(e)(t,r,n,o)}catch(e){if(Cn(i),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiidd:function(e,t,r,n,o,i){var a=mn();try{te.get(e)(t,r,n,o,i)}catch(e){if(Cn(a),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiddi:function(e,t,r,n,o,i,a){var s=mn();try{te.get(e)(t,r,n,o,i,a)}catch(e){if(Cn(s),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiidi:function(e,t,r,n,o,i){var a=mn();try{te.get(e)(t,r,n,o,i)}catch(e){if(Cn(a),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiii:function(e,t,r,n,o){var i=mn();try{te.get(e)(t,r,n,o)}catch(e){if(Cn(i),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiid:function(e,t,r,n,o,i){var a=mn();try{te.get(e)(t,r,n,o,i)}catch(e){if(Cn(a),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiidi:function(e,t,r,n,o,i,a){var s=mn();try{te.get(e)(t,r,n,o,i,a)}catch(e){if(Cn(s),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiidid:function(e,t,r,n,o,i,a,s){var A=mn();try{te.get(e)(t,r,n,o,i,a,s)}catch(e){if(Cn(A),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiidiidiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l,E,f){var p=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l,E,f)}catch(e){if(Cn(p),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiifiifiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l,E,f){var p=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l,E,f)}catch(e){if(Cn(p),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiii:function(e,t,r,n,o,i){var a=mn();try{te.get(e)(t,r,n,o,i)}catch(e){if(Cn(a),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiid:function(e,t,r,n,o,i,a){var s=mn();try{te.get(e)(t,r,n,o,i,a)}catch(e){if(Cn(s),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiif:function(e,t,r,n,o,i,a){var s=mn();try{te.get(e)(t,r,n,o,i,a)}catch(e){if(Cn(s),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiii:function(e,t,r,n,o,i,a){var s=mn();try{te.get(e)(t,r,n,o,i,a)}catch(e){if(Cn(s),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiid:function(e,t,r,n,o,i,a,s){var A=mn();try{te.get(e)(t,r,n,o,i,a,s)}catch(e){if(Cn(A),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiif:function(e,t,r,n,o,i,a,s){var A=mn();try{te.get(e)(t,r,n,o,i,a,s)}catch(e){if(Cn(A),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiii:function(e,t,r,n,o,i,a,s){var A=mn();try{te.get(e)(t,r,n,o,i,a,s)}catch(e){if(Cn(A),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c,g){var d=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(Cn(d),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiidiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u){var l=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(Cn(l),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiifiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u){var l=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(Cn(l),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiii:function(e,t,r,n,o,i,a,s,A){var c=mn();try{te.get(e)(t,r,n,o,i,a,s,A)}catch(e){if(Cn(c),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiidd:function(e,t,r,n,o,i,a,s,A,c,g){var d=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(Cn(d),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiidf:function(e,t,r,n,o,i,a,s,A,c,g){var d=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(Cn(d),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiii:function(e,t,r,n,o,i,a,s,A,c){var g=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c)}catch(e){if(Cn(g),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiiidd:function(e,t,r,n,o,i,a,s,A,c,g,d){var u=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d)}catch(e){if(Cn(u),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c,g,d,u){var l=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(Cn(l),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g){var d=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g)}catch(e){if(Cn(d),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiiiiddi:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l){var E=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l)}catch(e){if(Cn(E),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d){var u=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d)}catch(e){if(Cn(u),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u){var l=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u)}catch(e){if(Cn(l),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},invoke_viiiiiiiiiiiii:function(e,t,r,n,o,i,a,s,A,c,g,d,u,l){var E=mn();try{te.get(e)(t,r,n,o,i,a,s,A,c,g,d,u,l)}catch(e){if(Cn(E),e!==e+0&&"longjmp"!==e)throw e;_n(1,0)}},llvm_eh_typeid_for:function(e){return e},localtime_r:function(e,t){Wr();var r=new Date(1e3*j[e>>2]);j[t>>2]=r.getSeconds(),j[t+4>>2]=r.getMinutes(),j[t+8>>2]=r.getHours(),j[t+12>>2]=r.getDate(),j[t+16>>2]=r.getMonth(),j[t+20>>2]=r.getFullYear()-1900,j[t+24>>2]=r.getDay();var n=new Date(r.getFullYear(),0,1),o=(r.getTime()-n.getTime())/864e5|0;j[t+28>>2]=o,j[t+36>>2]=-60*r.getTimezoneOffset();var i=new Date(r.getFullYear(),6,1).getTimezoneOffset(),a=n.getTimezoneOffset(),s=0|(i!=a&&r.getTimezoneOffset()==Math.min(a,i));j[t+32>>2]=s;var A=j[pn()+(s?4:0)>>2];return j[t+40>>2]=A,t},mktime:function(e){Wr();var t=new Date(j[e+20>>2]+1900,j[e+16>>2],j[e+12>>2],j[e+8>>2],j[e+4>>2],j[e>>2],0),r=j[e+32>>2],n=t.getTimezoneOffset(),o=new Date(t.getFullYear(),0,1),i=new Date(t.getFullYear(),6,1).getTimezoneOffset(),a=o.getTimezoneOffset(),s=Math.min(a,i);if(r<0)j[e+32>>2]=Number(i!=a&&s==n);else if(r>0!=(s==n)){var A=Math.max(a,i),c=r>0?s:A;t.setTime(t.getTime()+6e4*(c-n))}j[e+24>>2]=t.getDay();var g=(t.getTime()-o.getTime())/864e5|0;return j[e+28>>2]=g,j[e>>2]=t.getSeconds(),j[e+4>>2]=t.getMinutes(),j[e+8>>2]=t.getHours(),j[e+12>>2]=t.getDate(),j[e+16>>2]=t.getMonth(),t.getTime()/1e3|0},proc_exit:function(e){Qn(e)},setTempRet0:function(e){w(e)},strftime:qr,strftime_l:function(e,t,r,n){return qr(e,t,r,n)}},dn=(function(){var e={env:gn,wasi_snapshot_preview1:gn};function t(e,t){var r,n=e.exports;o.asm=n,Q(B=o.asm.memory,"memory not found in wasm exports"),q(B.buffer),Q(te=o.asm.__indirect_function_table,"table not found in wasm exports"),r=o.asm.__wasm_call_ctors,ae.unshift(r),Ie("wasm-instantiate")}he("wasm-instantiate");var r=o;function i(e){Q(o===r,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),r=null,t(e.instance)}function a(t){return function(){if(!y&&(g||d)){if("function"==typeof fetch&&!De(Ce))return fetch(Ce,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+Ce+"'";return e.arrayBuffer()})).catch((function(){return be(Ce)}));if(f)return new Promise((function(e,t){f(Ce,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return be(Ce)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){m("failed to asynchronously prepare wasm: "+e),De(Ce)&&m("warning: Loading from a file URI ("+Ce+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),me(e)}))}if(o.instantiateWasm)try{return o.instantiateWasm(e,t)}catch(e){return m("Module.instantiateWasm callback failed with error: "+e),!1}(y||"function"!=typeof WebAssembly.instantiateStreaming||Be(Ce)||De(Ce)||"function"!=typeof fetch?a(i):fetch(Ce,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(i,(function(e){return m("wasm streaming compile failed: "+e),m("falling back to ArrayBuffer instantiation"),a(i)}))}))).catch(n)}(),o.___wasm_call_ctors=Oe("__wasm_call_ctors"),o._free=Oe("free")),un=o._malloc=Oe("malloc"),ln=o.___errno_location=Oe("__errno_location"),En=(o._fflush=Oe("fflush"),o.___getTypeName=Oe("__getTypeName")),fn=(o.___embind_register_native_and_builtin_types=Oe("__embind_register_native_and_builtin_types"),o._emscripten_main_thread_process_queued_calls=Oe("emscripten_main_thread_process_queued_calls"),o._emscripten_stack_get_end=function(){return(fn=o._emscripten_stack_get_end=o.asm.emscripten_stack_get_end).apply(null,arguments)}),pn=o.__get_tzname=Oe("_get_tzname"),hn=o.__get_daylight=Oe("_get_daylight"),In=o.__get_timezone=Oe("_get_timezone"),mn=o.stackSave=Oe("stackSave"),Cn=o.stackRestore=Oe("stackRestore"),yn=(o.stackAlloc=Oe("stackAlloc"),o._emscripten_stack_init=function(){return(yn=o._emscripten_stack_init=o.asm.emscripten_stack_init).apply(null,arguments)}),_n=(o._emscripten_stack_get_free=function(){return(o._emscripten_stack_get_free=o.asm.emscripten_stack_get_free).apply(null,arguments)},o._saveSetjmp=Oe("saveSetjmp"),o._setThrew=Oe("setThrew")),wn=o.___cxa_can_catch=Oe("__cxa_can_catch"),Bn=o.___cxa_is_pointer_type=Oe("__cxa_is_pointer_type"),Dn=o._memalign=Oe("memalign");o._emscripten_builtin_malloc=Oe("emscripten_builtin_malloc"),o._emscripten_builtin_free=Oe("emscripten_builtin_free"),o._emscripten_builtin_memalign=Oe("emscripten_builtin_memalign"),o.dynCall_jii=Oe("dynCall_jii"),o.dynCall_viji=Oe("dynCall_viji"),o.dynCall_jjj=Oe("dynCall_jjj"),o.dynCall_iiiijj=Oe("dynCall_iiiijj"),o.dynCall_viijj=Oe("dynCall_viijj"),o.dynCall_viiijjjj=Oe("dynCall_viiijjjj"),o.dynCall_ji=Oe("dynCall_ji"),o.dynCall_vij=Oe("dynCall_vij"),o.dynCall_viijii=Oe("dynCall_viijii"),o.dynCall_vj=Oe("dynCall_vj"),o.dynCall_viij=Oe("dynCall_viij"),o.dynCall_viiiiij=Oe("dynCall_viiiiij"),o.dynCall_iijjiiii=Oe("dynCall_iijjiiii"),o.dynCall_jiji=Oe("dynCall_jiji"),o.dynCall_iiiiij=Oe("dynCall_iiiiij"),o.dynCall_iiiiijj=Oe("dynCall_iiiiijj"),o.dynCall_iiiiiijj=Oe("dynCall_iiiiiijj");function On(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function bn(e){function t(){cn||(cn=!0,o.calledRun=!0,b||(oe(),Q(!ce),ce=!0,o.noFSInit||Ze.init.initialized||Ze.init(),Ze.ignorePermissions=!1,We.init(),Ne(ae),r(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),Q(!o._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),function(){if(oe(),o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)e=o.postRun.shift(),Ae.unshift(e);var e;Ne(Ae)}()))}e=e||s,ue>0||(yn(),ne(),function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)e=o.preRun.shift(),ie.unshift(e);var e;Ne(ie)}(),ue>0||(o.setStatus?(o.setStatus("Running..."),setTimeout((function(){setTimeout((function(){o.setStatus("")}),1),t()}),1)):t(),oe()))}function Qn(e){O=e,de()||(o.onExit&&o.onExit(e),b=!0),c(e,new On(e))}if(Object.getOwnPropertyDescriptor(o,"intArrayFromString")||(o.intArrayFromString=function(){me("'intArrayFromString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"intArrayToString")||(o.intArrayToString=function(){me("'intArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ccall")||(o.ccall=function(){me("'ccall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"cwrap")||(o.cwrap=function(){me("'cwrap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setValue")||(o.setValue=function(){me("'setValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getValue")||(o.getValue=function(){me("'getValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"allocate")||(o.allocate=function(){me("'allocate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"UTF8ArrayToString")||(o.UTF8ArrayToString=function(){me("'UTF8ArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"UTF8ToString")||(o.UTF8ToString=function(){me("'UTF8ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stringToUTF8Array")||(o.stringToUTF8Array=function(){me("'stringToUTF8Array' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stringToUTF8")||(o.stringToUTF8=function(){me("'stringToUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"lengthBytesUTF8")||(o.lengthBytesUTF8=function(){me("'lengthBytesUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stackTrace")||(o.stackTrace=function(){me("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"addOnPreRun")||(o.addOnPreRun=function(){me("'addOnPreRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"addOnInit")||(o.addOnInit=function(){me("'addOnInit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"addOnPreMain")||(o.addOnPreMain=function(){me("'addOnPreMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"addOnExit")||(o.addOnExit=function(){me("'addOnExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"addOnPostRun")||(o.addOnPostRun=function(){me("'addOnPostRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeStringToMemory")||(o.writeStringToMemory=function(){me("'writeStringToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeArrayToMemory")||(o.writeArrayToMemory=function(){me("'writeArrayToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeAsciiToMemory")||(o.writeAsciiToMemory=function(){me("'writeAsciiToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),o.addRunDependency=he,o.removeRunDependency=Ie,Object.getOwnPropertyDescriptor(o,"FS_createFolder")||(o.FS_createFolder=function(){me("'FS_createFolder' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),o.FS_createPath=Ze.createPath,o.FS_createDataFile=Ze.createDataFile,o.FS_createPreloadedFile=Ze.createPreloadedFile,o.FS_createLazyFile=Ze.createLazyFile,Object.getOwnPropertyDescriptor(o,"FS_createLink")||(o.FS_createLink=function(){me("'FS_createLink' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),o.FS_createDevice=Ze.createDevice,o.FS_unlink=Ze.unlink,Object.getOwnPropertyDescriptor(o,"getLEB")||(o.getLEB=function(){me("'getLEB' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getFunctionTables")||(o.getFunctionTables=function(){me("'getFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"alignFunctionTables")||(o.alignFunctionTables=function(){me("'alignFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerFunctions")||(o.registerFunctions=function(){me("'registerFunctions' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"addFunction")||(o.addFunction=function(){me("'addFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"removeFunction")||(o.removeFunction=function(){me("'removeFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getFuncWrapper")||(o.getFuncWrapper=function(){me("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"prettyPrint")||(o.prettyPrint=function(){me("'prettyPrint' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"dynCall")||(o.dynCall=function(){me("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getCompilerSetting")||(o.getCompilerSetting=function(){me("'getCompilerSetting' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"print")||(o.print=function(){me("'print' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"printErr")||(o.printErr=function(){me("'printErr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getTempRet0")||(o.getTempRet0=function(){me("'getTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setTempRet0")||(o.setTempRet0=function(){me("'setTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"callMain")||(o.callMain=function(){me("'callMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"abort")||(o.abort=function(){me("'abort' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"keepRuntimeAlive")||(o.keepRuntimeAlive=function(){me("'keepRuntimeAlive' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"zeroMemory")||(o.zeroMemory=function(){me("'zeroMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stringToNewUTF8")||(o.stringToNewUTF8=function(){me("'stringToNewUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setFileTime")||(o.setFileTime=function(){me("'setFileTime' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emscripten_realloc_buffer")||(o.emscripten_realloc_buffer=function(){me("'emscripten_realloc_buffer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ENV")||(o.ENV=function(){me("'ENV' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ERRNO_CODES")||(o.ERRNO_CODES=function(){me("'ERRNO_CODES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ERRNO_MESSAGES")||(o.ERRNO_MESSAGES=function(){me("'ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setErrNo")||(o.setErrNo=function(){me("'setErrNo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"inetPton4")||(o.inetPton4=function(){me("'inetPton4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"inetNtop4")||(o.inetNtop4=function(){me("'inetNtop4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"inetPton6")||(o.inetPton6=function(){me("'inetPton6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"inetNtop6")||(o.inetNtop6=function(){me("'inetNtop6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"readSockaddr")||(o.readSockaddr=function(){me("'readSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeSockaddr")||(o.writeSockaddr=function(){me("'writeSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"DNS")||(o.DNS=function(){me("'DNS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getHostByName")||(o.getHostByName=function(){me("'getHostByName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"GAI_ERRNO_MESSAGES")||(o.GAI_ERRNO_MESSAGES=function(){me("'GAI_ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"Protocols")||(o.Protocols=function(){me("'Protocols' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"Sockets")||(o.Sockets=function(){me("'Sockets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getRandomDevice")||(o.getRandomDevice=function(){me("'getRandomDevice' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"traverseStack")||(o.traverseStack=function(){me("'traverseStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"UNWIND_CACHE")||(o.UNWIND_CACHE=function(){me("'UNWIND_CACHE' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"withBuiltinMalloc")||(o.withBuiltinMalloc=function(){me("'withBuiltinMalloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"readAsmConstArgsArray")||(o.readAsmConstArgsArray=function(){me("'readAsmConstArgsArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"readAsmConstArgs")||(o.readAsmConstArgs=function(){me("'readAsmConstArgs' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"mainThreadEM_ASM")||(o.mainThreadEM_ASM=function(){me("'mainThreadEM_ASM' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"jstoi_q")||(o.jstoi_q=function(){me("'jstoi_q' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"jstoi_s")||(o.jstoi_s=function(){me("'jstoi_s' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getExecutableName")||(o.getExecutableName=function(){me("'getExecutableName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"listenOnce")||(o.listenOnce=function(){me("'listenOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"autoResumeAudioContext")||(o.autoResumeAudioContext=function(){me("'autoResumeAudioContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"dynCallLegacy")||(o.dynCallLegacy=function(){me("'dynCallLegacy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getDynCaller")||(o.getDynCaller=function(){me("'getDynCaller' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"dynCall")||(o.dynCall=function(){me("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"callRuntimeCallbacks")||(o.callRuntimeCallbacks=function(){me("'callRuntimeCallbacks' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"runtimeKeepalivePush")||(o.runtimeKeepalivePush=function(){me("'runtimeKeepalivePush' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"runtimeKeepalivePop")||(o.runtimeKeepalivePop=function(){me("'runtimeKeepalivePop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"callUserCallback")||(o.callUserCallback=function(){me("'callUserCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"maybeExit")||(o.maybeExit=function(){me("'maybeExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"safeSetTimeout")||(o.safeSetTimeout=function(){me("'safeSetTimeout' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"asmjsMangle")||(o.asmjsMangle=function(){me("'asmjsMangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"asyncLoad")||(o.asyncLoad=function(){me("'asyncLoad' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"alignMemory")||(o.alignMemory=function(){me("'alignMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"mmapAlloc")||(o.mmapAlloc=function(){me("'mmapAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"reallyNegative")||(o.reallyNegative=function(){me("'reallyNegative' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"unSign")||(o.unSign=function(){me("'unSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"reSign")||(o.reSign=function(){me("'reSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"formatString")||(o.formatString=function(){me("'formatString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"PATH")||(o.PATH=function(){me("'PATH' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"PATH_FS")||(o.PATH_FS=function(){me("'PATH_FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"SYSCALLS")||(o.SYSCALLS=function(){me("'SYSCALLS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"syscallMmap2")||(o.syscallMmap2=function(){me("'syscallMmap2' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"syscallMunmap")||(o.syscallMunmap=function(){me("'syscallMunmap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getSocketFromFD")||(o.getSocketFromFD=function(){me("'getSocketFromFD' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getSocketAddress")||(o.getSocketAddress=function(){me("'getSocketAddress' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"JSEvents")||(o.JSEvents=function(){me("'JSEvents' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerKeyEventCallback")||(o.registerKeyEventCallback=function(){me("'registerKeyEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"specialHTMLTargets")||(o.specialHTMLTargets=function(){me("'specialHTMLTargets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"findEventTarget")||(o.findEventTarget=function(){me("'findEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"findCanvasEventTarget")||(o.findCanvasEventTarget=function(){me("'findCanvasEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getBoundingClientRect")||(o.getBoundingClientRect=function(){me("'getBoundingClientRect' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillMouseEventData")||(o.fillMouseEventData=function(){me("'fillMouseEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerMouseEventCallback")||(o.registerMouseEventCallback=function(){me("'registerMouseEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerWheelEventCallback")||(o.registerWheelEventCallback=function(){me("'registerWheelEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerUiEventCallback")||(o.registerUiEventCallback=function(){me("'registerUiEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerFocusEventCallback")||(o.registerFocusEventCallback=function(){me("'registerFocusEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillDeviceOrientationEventData")||(o.fillDeviceOrientationEventData=function(){me("'fillDeviceOrientationEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerDeviceOrientationEventCallback")||(o.registerDeviceOrientationEventCallback=function(){me("'registerDeviceOrientationEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillDeviceMotionEventData")||(o.fillDeviceMotionEventData=function(){me("'fillDeviceMotionEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerDeviceMotionEventCallback")||(o.registerDeviceMotionEventCallback=function(){me("'registerDeviceMotionEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"screenOrientation")||(o.screenOrientation=function(){me("'screenOrientation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillOrientationChangeEventData")||(o.fillOrientationChangeEventData=function(){me("'fillOrientationChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerOrientationChangeEventCallback")||(o.registerOrientationChangeEventCallback=function(){me("'registerOrientationChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillFullscreenChangeEventData")||(o.fillFullscreenChangeEventData=function(){me("'fillFullscreenChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerFullscreenChangeEventCallback")||(o.registerFullscreenChangeEventCallback=function(){me("'registerFullscreenChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerRestoreOldStyle")||(o.registerRestoreOldStyle=function(){me("'registerRestoreOldStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"hideEverythingExceptGivenElement")||(o.hideEverythingExceptGivenElement=function(){me("'hideEverythingExceptGivenElement' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"restoreHiddenElements")||(o.restoreHiddenElements=function(){me("'restoreHiddenElements' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setLetterbox")||(o.setLetterbox=function(){me("'setLetterbox' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"currentFullscreenStrategy")||(o.currentFullscreenStrategy=function(){me("'currentFullscreenStrategy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"restoreOldWindowedStyle")||(o.restoreOldWindowedStyle=function(){me("'restoreOldWindowedStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"softFullscreenResizeWebGLRenderTarget")||(o.softFullscreenResizeWebGLRenderTarget=function(){me("'softFullscreenResizeWebGLRenderTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"doRequestFullscreen")||(o.doRequestFullscreen=function(){me("'doRequestFullscreen' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillPointerlockChangeEventData")||(o.fillPointerlockChangeEventData=function(){me("'fillPointerlockChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerPointerlockChangeEventCallback")||(o.registerPointerlockChangeEventCallback=function(){me("'registerPointerlockChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerPointerlockErrorEventCallback")||(o.registerPointerlockErrorEventCallback=function(){me("'registerPointerlockErrorEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"requestPointerLock")||(o.requestPointerLock=function(){me("'requestPointerLock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillVisibilityChangeEventData")||(o.fillVisibilityChangeEventData=function(){me("'fillVisibilityChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerVisibilityChangeEventCallback")||(o.registerVisibilityChangeEventCallback=function(){me("'registerVisibilityChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerTouchEventCallback")||(o.registerTouchEventCallback=function(){me("'registerTouchEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillGamepadEventData")||(o.fillGamepadEventData=function(){me("'fillGamepadEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerGamepadEventCallback")||(o.registerGamepadEventCallback=function(){me("'registerGamepadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerBeforeUnloadEventCallback")||(o.registerBeforeUnloadEventCallback=function(){me("'registerBeforeUnloadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"fillBatteryEventData")||(o.fillBatteryEventData=function(){me("'fillBatteryEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"battery")||(o.battery=function(){me("'battery' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerBatteryEventCallback")||(o.registerBatteryEventCallback=function(){me("'registerBatteryEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setCanvasElementSize")||(o.setCanvasElementSize=function(){me("'setCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getCanvasElementSize")||(o.getCanvasElementSize=function(){me("'getCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"polyfillSetImmediate")||(o.polyfillSetImmediate=function(){me("'polyfillSetImmediate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"demangle")||(o.demangle=function(){me("'demangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"demangleAll")||(o.demangleAll=function(){me("'demangleAll' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"jsStackTrace")||(o.jsStackTrace=function(){me("'jsStackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stackTrace")||(o.stackTrace=function(){me("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getEnvStrings")||(o.getEnvStrings=function(){me("'getEnvStrings' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"checkWasiClock")||(o.checkWasiClock=function(){me("'checkWasiClock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeI53ToI64")||(o.writeI53ToI64=function(){me("'writeI53ToI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeI53ToI64Clamped")||(o.writeI53ToI64Clamped=function(){me("'writeI53ToI64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeI53ToI64Signaling")||(o.writeI53ToI64Signaling=function(){me("'writeI53ToI64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeI53ToU64Clamped")||(o.writeI53ToU64Clamped=function(){me("'writeI53ToU64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeI53ToU64Signaling")||(o.writeI53ToU64Signaling=function(){me("'writeI53ToU64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"readI53FromI64")||(o.readI53FromI64=function(){me("'readI53FromI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"readI53FromU64")||(o.readI53FromU64=function(){me("'readI53FromU64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"convertI32PairToI53")||(o.convertI32PairToI53=function(){me("'convertI32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"convertU32PairToI53")||(o.convertU32PairToI53=function(){me("'convertU32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"uncaughtExceptionCount")||(o.uncaughtExceptionCount=function(){me("'uncaughtExceptionCount' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"exceptionLast")||(o.exceptionLast=function(){me("'exceptionLast' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"exceptionCaught")||(o.exceptionCaught=function(){me("'exceptionCaught' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ExceptionInfo")||(o.ExceptionInfo=function(){me("'ExceptionInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"CatchInfo")||(o.CatchInfo=function(){me("'CatchInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"exception_addRef")||(o.exception_addRef=function(){me("'exception_addRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"exception_decRef")||(o.exception_decRef=function(){me("'exception_decRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"Browser")||(o.Browser=function(){me("'Browser' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"funcWrappers")||(o.funcWrappers=function(){me("'funcWrappers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getFuncWrapper")||(o.getFuncWrapper=function(){me("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setMainLoop")||(o.setMainLoop=function(){me("'setMainLoop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"wget")||(o.wget=function(){me("'wget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"FS")||(o.FS=function(){me("'FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"MEMFS")||(o.MEMFS=function(){me("'MEMFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"TTY")||(o.TTY=function(){me("'TTY' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"PIPEFS")||(o.PIPEFS=function(){me("'PIPEFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"SOCKFS")||(o.SOCKFS=function(){me("'SOCKFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"_setNetworkCallback")||(o._setNetworkCallback=function(){me("'_setNetworkCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"tempFixedLengthArray")||(o.tempFixedLengthArray=function(){me("'tempFixedLengthArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"miniTempWebGLFloatBuffers")||(o.miniTempWebGLFloatBuffers=function(){me("'miniTempWebGLFloatBuffers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"heapObjectForWebGLType")||(o.heapObjectForWebGLType=function(){me("'heapObjectForWebGLType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"heapAccessShiftForWebGLHeap")||(o.heapAccessShiftForWebGLHeap=function(){me("'heapAccessShiftForWebGLHeap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),o.GL=br,Object.getOwnPropertyDescriptor(o,"emscriptenWebGLGet")||(o.emscriptenWebGLGet=function(){me("'emscriptenWebGLGet' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"computeUnpackAlignedImageSize")||(o.computeUnpackAlignedImageSize=function(){me("'computeUnpackAlignedImageSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emscriptenWebGLGetTexPixelData")||(o.emscriptenWebGLGetTexPixelData=function(){me("'emscriptenWebGLGetTexPixelData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emscriptenWebGLGetUniform")||(o.emscriptenWebGLGetUniform=function(){me("'emscriptenWebGLGetUniform' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"webglGetUniformLocation")||(o.webglGetUniformLocation=function(){me("'webglGetUniformLocation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"webglPrepareUniformLocationsBeforeFirstUse")||(o.webglPrepareUniformLocationsBeforeFirstUse=function(){me("'webglPrepareUniformLocationsBeforeFirstUse' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"webglGetLeftBracePos")||(o.webglGetLeftBracePos=function(){me("'webglGetLeftBracePos' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emscriptenWebGLGetVertexAttrib")||(o.emscriptenWebGLGetVertexAttrib=function(){me("'emscriptenWebGLGetVertexAttrib' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emscriptenWebGLGetBufferBinding")||(o.emscriptenWebGLGetBufferBinding=function(){me("'emscriptenWebGLGetBufferBinding' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emscriptenWebGLValidateMapBufferTarget")||(o.emscriptenWebGLValidateMapBufferTarget=function(){me("'emscriptenWebGLValidateMapBufferTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"writeGLArray")||(o.writeGLArray=function(){me("'writeGLArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"AL")||(o.AL=function(){me("'AL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"SDL_unicode")||(o.SDL_unicode=function(){me("'SDL_unicode' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"SDL_ttfContext")||(o.SDL_ttfContext=function(){me("'SDL_ttfContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"SDL_audio")||(o.SDL_audio=function(){me("'SDL_audio' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"SDL")||(o.SDL=function(){me("'SDL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"SDL_gfx")||(o.SDL_gfx=function(){me("'SDL_gfx' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"GLUT")||(o.GLUT=function(){me("'GLUT' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"EGL")||(o.EGL=function(){me("'EGL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"GLFW_Window")||(o.GLFW_Window=function(){me("'GLFW_Window' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"GLFW")||(o.GLFW=function(){me("'GLFW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"GLEW")||(o.GLEW=function(){me("'GLEW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"IDBStore")||(o.IDBStore=function(){me("'IDBStore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"runAndAbortIfError")||(o.runAndAbortIfError=function(){me("'runAndAbortIfError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emval_handle_array")||(o.emval_handle_array=function(){me("'emval_handle_array' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emval_free_list")||(o.emval_free_list=function(){me("'emval_free_list' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emval_symbols")||(o.emval_symbols=function(){me("'emval_symbols' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"init_emval")||(o.init_emval=function(){me("'init_emval' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"count_emval_handles")||(o.count_emval_handles=function(){me("'count_emval_handles' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"get_first_emval")||(o.get_first_emval=function(){me("'get_first_emval' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getStringOrSymbol")||(o.getStringOrSymbol=function(){me("'getStringOrSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"requireHandle")||(o.requireHandle=function(){me("'requireHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emval_newers")||(o.emval_newers=function(){me("'emval_newers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"craftEmvalAllocator")||(o.craftEmvalAllocator=function(){me("'craftEmvalAllocator' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emval_get_global")||(o.emval_get_global=function(){me("'emval_get_global' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emval_methodCallers")||(o.emval_methodCallers=function(){me("'emval_methodCallers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"InternalError")||(o.InternalError=function(){me("'InternalError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"BindingError")||(o.BindingError=function(){me("'BindingError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"UnboundTypeError")||(o.UnboundTypeError=function(){me("'UnboundTypeError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"PureVirtualError")||(o.PureVirtualError=function(){me("'PureVirtualError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"init_embind")||(o.init_embind=function(){me("'init_embind' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"throwInternalError")||(o.throwInternalError=function(){me("'throwInternalError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"throwBindingError")||(o.throwBindingError=function(){me("'throwBindingError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"throwUnboundTypeError")||(o.throwUnboundTypeError=function(){me("'throwUnboundTypeError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ensureOverloadTable")||(o.ensureOverloadTable=function(){me("'ensureOverloadTable' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"exposePublicSymbol")||(o.exposePublicSymbol=function(){me("'exposePublicSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"replacePublicSymbol")||(o.replacePublicSymbol=function(){me("'replacePublicSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"extendError")||(o.extendError=function(){me("'extendError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"createNamedFunction")||(o.createNamedFunction=function(){me("'createNamedFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registeredInstances")||(o.registeredInstances=function(){me("'registeredInstances' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getBasestPointer")||(o.getBasestPointer=function(){me("'getBasestPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerInheritedInstance")||(o.registerInheritedInstance=function(){me("'registerInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"unregisterInheritedInstance")||(o.unregisterInheritedInstance=function(){me("'unregisterInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getInheritedInstance")||(o.getInheritedInstance=function(){me("'getInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getInheritedInstanceCount")||(o.getInheritedInstanceCount=function(){me("'getInheritedInstanceCount' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getLiveInheritedInstances")||(o.getLiveInheritedInstances=function(){me("'getLiveInheritedInstances' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registeredTypes")||(o.registeredTypes=function(){me("'registeredTypes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"awaitingDependencies")||(o.awaitingDependencies=function(){me("'awaitingDependencies' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"typeDependencies")||(o.typeDependencies=function(){me("'typeDependencies' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registeredPointers")||(o.registeredPointers=function(){me("'registeredPointers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"registerType")||(o.registerType=function(){me("'registerType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"whenDependentTypesAreResolved")||(o.whenDependentTypesAreResolved=function(){me("'whenDependentTypesAreResolved' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"embind_charCodes")||(o.embind_charCodes=function(){me("'embind_charCodes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"embind_init_charCodes")||(o.embind_init_charCodes=function(){me("'embind_init_charCodes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"readLatin1String")||(o.readLatin1String=function(){me("'readLatin1String' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getTypeName")||(o.getTypeName=function(){me("'getTypeName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"heap32VectorToArray")||(o.heap32VectorToArray=function(){me("'heap32VectorToArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"requireRegisteredType")||(o.requireRegisteredType=function(){me("'requireRegisteredType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"getShiftFromSize")||(o.getShiftFromSize=function(){me("'getShiftFromSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"integerReadValueFromPointer")||(o.integerReadValueFromPointer=function(){me("'integerReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"enumReadValueFromPointer")||(o.enumReadValueFromPointer=function(){me("'enumReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"floatReadValueFromPointer")||(o.floatReadValueFromPointer=function(){me("'floatReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"simpleReadValueFromPointer")||(o.simpleReadValueFromPointer=function(){me("'simpleReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"runDestructors")||(o.runDestructors=function(){me("'runDestructors' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"new_")||(o.new_=function(){me("'new_' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"craftInvokerFunction")||(o.craftInvokerFunction=function(){me("'craftInvokerFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"embind__requireFunction")||(o.embind__requireFunction=function(){me("'embind__requireFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"tupleRegistrations")||(o.tupleRegistrations=function(){me("'tupleRegistrations' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"structRegistrations")||(o.structRegistrations=function(){me("'structRegistrations' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"genericPointerToWireType")||(o.genericPointerToWireType=function(){me("'genericPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"constNoSmartPtrRawPointerToWireType")||(o.constNoSmartPtrRawPointerToWireType=function(){me("'constNoSmartPtrRawPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"nonConstNoSmartPtrRawPointerToWireType")||(o.nonConstNoSmartPtrRawPointerToWireType=function(){me("'nonConstNoSmartPtrRawPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"init_RegisteredPointer")||(o.init_RegisteredPointer=function(){me("'init_RegisteredPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"RegisteredPointer")||(o.RegisteredPointer=function(){me("'RegisteredPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"RegisteredPointer_getPointee")||(o.RegisteredPointer_getPointee=function(){me("'RegisteredPointer_getPointee' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"RegisteredPointer_destructor")||(o.RegisteredPointer_destructor=function(){me("'RegisteredPointer_destructor' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"RegisteredPointer_deleteObject")||(o.RegisteredPointer_deleteObject=function(){me("'RegisteredPointer_deleteObject' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"RegisteredPointer_fromWireType")||(o.RegisteredPointer_fromWireType=function(){me("'RegisteredPointer_fromWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"runDestructor")||(o.runDestructor=function(){me("'runDestructor' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"releaseClassHandle")||(o.releaseClassHandle=function(){me("'releaseClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"finalizationGroup")||(o.finalizationGroup=function(){me("'finalizationGroup' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"detachFinalizer_deps")||(o.detachFinalizer_deps=function(){me("'detachFinalizer_deps' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"detachFinalizer")||(o.detachFinalizer=function(){me("'detachFinalizer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"attachFinalizer")||(o.attachFinalizer=function(){me("'attachFinalizer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"makeClassHandle")||(o.makeClassHandle=function(){me("'makeClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"init_ClassHandle")||(o.init_ClassHandle=function(){me("'init_ClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ClassHandle")||(o.ClassHandle=function(){me("'ClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ClassHandle_isAliasOf")||(o.ClassHandle_isAliasOf=function(){me("'ClassHandle_isAliasOf' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"throwInstanceAlreadyDeleted")||(o.throwInstanceAlreadyDeleted=function(){me("'throwInstanceAlreadyDeleted' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ClassHandle_clone")||(o.ClassHandle_clone=function(){me("'ClassHandle_clone' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ClassHandle_delete")||(o.ClassHandle_delete=function(){me("'ClassHandle_delete' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"deletionQueue")||(o.deletionQueue=function(){me("'deletionQueue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ClassHandle_isDeleted")||(o.ClassHandle_isDeleted=function(){me("'ClassHandle_isDeleted' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"ClassHandle_deleteLater")||(o.ClassHandle_deleteLater=function(){me("'ClassHandle_deleteLater' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"flushPendingDeletes")||(o.flushPendingDeletes=function(){me("'flushPendingDeletes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"delayFunction")||(o.delayFunction=function(){me("'delayFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"setDelayFunction")||(o.setDelayFunction=function(){me("'setDelayFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"RegisteredClass")||(o.RegisteredClass=function(){me("'RegisteredClass' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"shallowCopyInternalPointer")||(o.shallowCopyInternalPointer=function(){me("'shallowCopyInternalPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"downcastPointer")||(o.downcastPointer=function(){me("'downcastPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"upcastPointer")||(o.upcastPointer=function(){me("'upcastPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"validateThis")||(o.validateThis=function(){me("'validateThis' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"char_0")||(o.char_0=function(){me("'char_0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"char_9")||(o.char_9=function(){me("'char_9' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"makeLegalFunctionName")||(o.makeLegalFunctionName=function(){me("'makeLegalFunctionName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"emscriptenWebGLGetIndexed")||(o.emscriptenWebGLGetIndexed=function(){me("'emscriptenWebGLGetIndexed' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"warnOnce")||(o.warnOnce=function(){me("'warnOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stackSave")||(o.stackSave=function(){me("'stackSave' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stackRestore")||(o.stackRestore=function(){me("'stackRestore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stackAlloc")||(o.stackAlloc=function(){me("'stackAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"AsciiToString")||(o.AsciiToString=function(){me("'AsciiToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stringToAscii")||(o.stringToAscii=function(){me("'stringToAscii' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"UTF16ToString")||(o.UTF16ToString=function(){me("'UTF16ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stringToUTF16")||(o.stringToUTF16=function(){me("'stringToUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"lengthBytesUTF16")||(o.lengthBytesUTF16=function(){me("'lengthBytesUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"UTF32ToString")||(o.UTF32ToString=function(){me("'UTF32ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"stringToUTF32")||(o.stringToUTF32=function(){me("'stringToUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"lengthBytesUTF32")||(o.lengthBytesUTF32=function(){me("'lengthBytesUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"allocateUTF8")||(o.allocateUTF8=function(){me("'allocateUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(o,"allocateUTF8OnStack")||(o.allocateUTF8OnStack=function(){me("'allocateUTF8OnStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),o.writeStackCookie=ne,o.checkStackCookie=oe,Object.getOwnPropertyDescriptor(o,"ALLOC_NORMAL")||Object.defineProperty(o,"ALLOC_NORMAL",{configurable:!0,get:function(){me("'ALLOC_NORMAL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),Object.getOwnPropertyDescriptor(o,"ALLOC_STACK")||Object.defineProperty(o,"ALLOC_STACK",{configurable:!0,get:function(){me("'ALLOC_STACK' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),Ee=function e(){cn||bn(),cn||(Ee=e)},o.run=bn,o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return bn(),t.ready}}(),selfie_segmentation_solution_wasm_bin_default=createMediapipeSolutionsWasm2,Module=(()=>{var e,t="undefined"!=typeof document?null==(e=document.currentScript)?void 0:e.src:void 0;return function(e={}){var r,n,o,i=Object.assign({},e),a=new Promise(((e,t)=>{r=e,n=t})),s=Object.assign({},i),A="";"undefined"!=typeof document&&document.currentScript&&(A=document.currentScript.src),t&&(A=t),A=A.startsWith("blob:")?"":A.substr(0,A.replace(/[?#].*/,"").lastIndexOf("/")+1);var c,g,d=i.print||console.log.bind(console),u=i.printErr||console.error.bind(console);function l(e){if(R(e))return function(e){for(var t=atob(e),r=new Uint8Array(t.length),n=0;n<t.length;++n)r[n]=t.charCodeAt(n);return r}(e.slice(P.length))}Object.assign(i,s),s=null,i.arguments&&i.arguments,i.thisProgram&&i.thisProgram,i.quit&&i.quit,i.wasmBinary&&(c=i.wasmBinary);var E,f,p,h,I,m,C,y,_=!1;var w=[],B=[],D=[];var O=0,b=null,Q=null;function T(e){var t;null==(t=i.onAbort)||t.call(i,e),u(e="Aborted("+e+")"),_=!0,e+=". Build with -sASSERTIONS for more info.";var r=new WebAssembly.RuntimeError(e);throw n(r),r}var v,P="data:application/octet-stream;base64,",R=e=>e.startsWith(P);function M(e){return Promise.resolve().then((()=>function(e){if(e==v&&c)return new Uint8Array(c);var t=l(e);if(t)return t;if(o)return o(e);throw"both async and sync fetching of the wasm failed"}(e)))}function S(e,t,r,n){return function(e,t,r){return M(e).then((e=>WebAssembly.instantiate(e,t))).then(r,(e=>{u(`failed to asynchronously prepare wasm: ${e}`),T(e)}))}(t,r,n)}var F=e=>{for(;e.length>0;)e.shift()(i)};i.noExitRuntime;class N{constructor(e){this.excPtr=e,this.ptr=e-24}set_type(e){m[this.ptr+4>>2]=e}get_type(){return m[this.ptr+4>>2]}set_destructor(e){m[this.ptr+8>>2]=e}get_destructor(){return m[this.ptr+8>>2]}set_caught(e){e=e?1:0,E[this.ptr+12]=e}get_caught(){return 0!=E[this.ptr+12]}set_rethrown(e){e=e?1:0,E[this.ptr+13]=e}get_rethrown(){return 0!=E[this.ptr+13]}init(e,t){this.set_adjusted_ptr(0),this.set_type(e),this.set_destructor(t)}set_adjusted_ptr(e){m[this.ptr+16>>2]=e}get_adjusted_ptr(){return m[this.ptr+16>>2]}get_exception_ptr(){if(ut(this.get_type()))return m[this.excPtr>>2];var e=this.get_adjusted_ptr();return 0!==e?e:this.excPtr}}var k,x,U,j=e=>{for(var t="",r=e;f[r];)t+=k[f[r++]];return t},L={},H={},G={},Y=e=>{throw new x(e)},X=e=>{throw new U(e)},V=(e,t,r)=>{function n(t){var n=r(t);n.length!==e.length&&X("Mismatched type converter count");for(var o=0;o<e.length;++o)W(e[o],n[o])}e.forEach((function(e){G[e]=t}));var o=new Array(t.length),i=[],a=0;t.forEach(((e,t)=>{H.hasOwnProperty(e)?o[t]=H[e]:(i.push(e),L.hasOwnProperty(e)||(L[e]=[]),L[e].push((()=>{o[t]=H[e],++a===i.length&&n(o)})))})),0===i.length&&n(o)};function W(e,t,r={}){if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");return function(e,t,r={}){var n=t.name;if(e||Y(`type "${n}" must have a positive integer typeid pointer`),H.hasOwnProperty(e)){if(r.ignoreDuplicateRegistrations)return;Y(`Cannot register type '${n}' twice`)}if(H[e]=t,delete G[e],L.hasOwnProperty(e)){var o=L[e];delete L[e],o.forEach((e=>e()))}}(e,t,r)}var z,$=e=>{Y(e.$$.ptrType.registeredClass.name+" instance already deleted")},K=!1,J=e=>{},Z=e=>{e.count.value-=1,0===e.count.value&&(e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)})(e)},q=(e,t,r)=>{if(t===r)return e;if(void 0===r.baseClass)return null;var n=q(e,t,r.baseClass);return null===n?null:r.downcast(n)},ee={},te=()=>Object.keys(ae).length,re=()=>{var e=[];for(var t in ae)ae.hasOwnProperty(t)&&e.push(ae[t]);return e},ne=[],oe=()=>{for(;ne.length;){var e=ne.pop();e.$$.deleteScheduled=!1,e.delete()}},ie=e=>{z=e,ne.length&&z&&z(oe)},ae={},se=(e,t)=>(t=((e,t)=>{for(void 0===t&&Y("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t})(e,t),ae[t]),Ae=(e,t)=>(t.ptrType&&t.ptr||X("makeClassHandle requires ptr and ptrType"),!!t.smartPtrType!==!!t.smartPtr&&X("Both smartPtrType and smartPtr must be specified"),t.count={value:1},ge(Object.create(e,{$$:{value:t,writable:!0}})));function ce(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var r=se(this.registeredClass,t);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=t,r.$$.smartPtr=e,r.clone();var n=r.clone();return this.destructor(e),n}function o(){return this.isSmartPointer?Ae(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):Ae(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var i,a=this.registeredClass.getActualType(t),s=ee[a];if(!s)return o.call(this);i=this.isConst?s.constPointerType:s.pointerType;var A=q(t,this.registeredClass,i.registeredClass);return null===A?o.call(this):this.isSmartPointer?Ae(i.registeredClass.instancePrototype,{ptrType:i,ptr:A,smartPtrType:this,smartPtr:e}):Ae(i.registeredClass.instancePrototype,{ptrType:i,ptr:A})}var ge=e=>"undefined"==typeof FinalizationRegistry?(ge=e=>e,e):(K=new FinalizationRegistry((e=>{Z(e.$$)})),J=e=>K.unregister(e),(ge=e=>{var t=e.$$;if(!!t.smartPtr){var r={$$:t};K.register(e,r,e)}return e})(e));function de(){}var ue=(e,t)=>Object.defineProperty(t,"name",{value:e}),le=(e,t,r)=>{if(void 0===e[t].overloadTable){var n=e[t];e[t]=function(...n){return e[t].overloadTable.hasOwnProperty(n.length)||Y(`Function '${r}' called with an invalid number of arguments (${n.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[n.length].apply(this,n)},e[t].overloadTable=[],e[t].overloadTable[n.argCount]=n}};function Ee(e,t,r,n,o,i,a,s){this.name=e,this.constructor=t,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}var fe=(e,t,r)=>{for(;t!==r;)t.upcast||Y(`Expected null or instance of ${r.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e};function pe(e,t){if(null===t)return this.isReference&&Y(`null is not a valid ${this.name}`),0;t.$$||Y(`Cannot pass "${He(t)}" as a ${this.name}`),t.$$.ptr||Y(`Cannot pass deleted object as a pointer of type ${this.name}`);var r=t.$$.ptrType.registeredClass;return fe(t.$$.ptr,r,this.registeredClass)}function he(e,t){var r;if(null===t)return this.isReference&&Y(`null is not a valid ${this.name}`),this.isSmartPointer?(r=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,r),r):0;t&&t.$$||Y(`Cannot pass "${He(t)}" as a ${this.name}`),t.$$.ptr||Y(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&Y(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass;if(r=fe(t.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===t.$$.smartPtr&&Y("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?r=t.$$.smartPtr:Y(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:r=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)r=t.$$.smartPtr;else{var o=t.clone();r=this.rawShare(r,je.toHandle((()=>o.delete()))),null!==e&&e.push(this.rawDestructor,r)}break;default:Y("Unsupporting sharing policy")}return r}function Ie(e,t){if(null===t)return this.isReference&&Y(`null is not a valid ${this.name}`),0;t.$$||Y(`Cannot pass "${He(t)}" as a ${this.name}`),t.$$.ptr||Y(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&Y(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var r=t.$$.ptrType.registeredClass;return fe(t.$$.ptr,r,this.registeredClass)}function me(e){return this.fromWireType(m[e>>2])}function Ce(e,t,r,n,o,i,a,s,A,c,g){this.name=e,this.registeredClass=t,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=A,this.rawShare=c,this.rawDestructor=g,o||void 0!==t.baseClass?this.toWireType=he:n?(this.toWireType=pe,this.destructorFunction=null):(this.toWireType=Ie,this.destructorFunction=null)}var ye,_e,we=[],Be=e=>{var t=we[e];return t||(e>=we.length&&(we.length=e+1),we[e]=t=ye.get(e)),t},De=(e,t,r=[])=>e.includes("j")?((e,t,r)=>(e=e.replace(/p/g,"i"),(0,i["dynCall_"+e])(t,...r)))(e,t,r):Be(t)(...r),Oe=(e,t)=>{var r,n,o=(e=j(e)).includes("j")?(r=e,n=t,(...e)=>De(r,n,e)):Be(t);return"function"!=typeof o&&Y(`unknown function pointer with signature ${e}: ${t}`),o},be=e=>{var t=gt(e),r=j(t);return dt(t),r},Qe=(e,t)=>{var r=[],n={};throw t.forEach((function e(t){n[t]||H[t]||(G[t]?G[t].forEach(e):(r.push(t),n[t]=!0))})),new _e(`${e}: `+r.map(be).join([", "]))},Te=(e,t)=>{for(var r=[],n=0;n<e;n++)r.push(m[t+4*n>>2]);return r},ve=e=>{for(;e.length;){var t=e.pop();e.pop()(t)}};function Pe(e,t,r,n,o,i){var a=t.length;a<2&&Y("argTypes array size mismatch! Must at least get return value and 'this' types!");var s=null!==t[1]&&null!==r,A=function(e){for(var t=1;t<e.length;++t)if(null!==e[t]&&void 0===e[t].destructorFunction)return!0;return!1}(t),c="void"!==t[0].name,g=a-2,d=new Array(g),u=[],l=[];return ue(e,(function(...r){var i;r.length!==g&&Y(`function ${e} called with ${r.length} arguments, expected ${g}`),l.length=0,u.length=s?2:1,u[0]=o,s&&(i=t[1].toWireType(l,this),u[1]=i);for(var a=0;a<g;++a)d[a]=t[a+2].toWireType(l,r[a]),u.push(d[a]);return function(e){if(A)ve(l);else for(var r=s?1:2;r<t.length;r++){var n=1===r?i:d[r-2];null!==t[r].destructorFunction&&t[r].destructorFunction(n)}if(c)return t[0].fromWireType(e)}(n(...u))}))}var Re,Me,Se,Fe=(e,t,r)=>(e instanceof Object||Y(`${r} with invalid "this": ${e}`),e instanceof t.registeredClass.constructor||Y(`${r} incompatible with "this" of type ${e.constructor.name}`),e.$$.ptr||Y(`cannot call emscripten binding method ${r} on deleted object`),fe(e.$$.ptr,e.$$.ptrType.registeredClass,t.registeredClass)),Ne=[],ke=[],xe=e=>{e>9&&0==--ke[e+1]&&(ke[e]=void 0,Ne.push(e))},Ue=()=>ke.length/2-5-Ne.length,je={toValue:e=>(e||Y("Cannot use deleted val. handle = "+e),ke[e]),toHandle:e=>{switch(e){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const t=Ne.pop()||ke.length;return ke[t]=e,ke[t+1]=1,t}}}},Le={name:"emscripten::val",fromWireType:e=>{var t=je.toValue(e);return xe(e),t},toWireType:(e,t)=>je.toHandle(t),argPackAdvance:8,readValueFromPointer:me,destructorFunction:null},He=e=>{if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e},Ge=(e,t)=>{switch(t){case 4:return function(e){return this.fromWireType(C[e>>2])};case 8:return function(e){return this.fromWireType(y[e>>3])};default:throw new TypeError(`invalid float width (${t}): ${e}`)}},Ye=(e,t,r)=>{switch(t){case 1:return r?e=>E[e]:e=>f[e];case 2:return r?e=>p[e>>1]:e=>h[e>>1];case 4:return r?e=>I[e>>2]:e=>m[e>>2];default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},Xe="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,Ve=(e,t,r)=>{for(var n=t+r,o=t;e[o]&&!(o>=n);)++o;if(o-t>16&&e.buffer&&Xe)return Xe.decode(e.subarray(t,o));for(var i="";t<o;){var a=e[t++];if(128&a){var s=63&e[t++];if(192!=(224&a)){var A=63&e[t++];if((a=224==(240&a)?(15&a)<<12|s<<6|A:(7&a)<<18|s<<12|A<<6|63&e[t++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i},We="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,ze=(e,t)=>{for(var r=e,n=r>>1,o=n+t/2;!(n>=o)&&h[n];)++n;if((r=n<<1)-e>32&&We)return We.decode(f.subarray(e,r));for(var i="",a=0;!(a>=t/2);++a){var s=p[e+2*a>>1];if(0==s)break;i+=String.fromCharCode(s)}return i},$e=(e,t,r)=>{if(null!=r||(r=2147483647),r<2)return 0;for(var n=t,o=(r-=2)<2*e.length?r/2:e.length,i=0;i<o;++i){var a=e.charCodeAt(i);p[t>>1]=a,t+=2}return p[t>>1]=0,t-n},Ke=e=>2*e.length,Je=(e,t)=>{for(var r=0,n="";!(r>=t/4);){var o=I[e+4*r>>2];if(0==o)break;if(++r,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n},Ze=(e,t,r)=>{if(null!=r||(r=2147483647),r<4)return 0;for(var n=t,o=n+r-4,i=0;i<e.length;++i){var a=e.charCodeAt(i);if(a>=55296&&a<=57343)a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i);if(I[t>>2]=a,(t+=4)+4>o)break}return I[t>>2]=0,t-n},qe=e=>{for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&++r,t+=4}return t},et=(e,t)=>{var r=H[e];return void 0===r&&Y(`${t} has unknown type ${be(e)}`),r},tt=(e,t,r)=>{var n=[],o=e.toWireType(n,r);return n.length&&(m[t>>2]=je.toHandle(n)),o},rt={},nt=[],ot=Reflect.construct,it=[null,[],[]];(()=>{for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);k=e})(),x=i.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},U=i.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},Object.assign(de.prototype,{isAliasOf(e){if(!(this instanceof de))return!1;if(!(e instanceof de))return!1;var t=this.$$.ptrType.registeredClass,r=this.$$.ptr;e.$$=e.$$;for(var n=e.$$.ptrType.registeredClass,o=e.$$.ptr;t.baseClass;)r=t.upcast(r),t=t.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return t===n&&r===o},clone(){if(this.$$.ptr||$(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e,t=ge(Object.create(Object.getPrototypeOf(this),{$$:{value:(e=this.$$,{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType})}}));return t.$$.count.value+=1,t.$$.deleteScheduled=!1,t},delete(){this.$$.ptr||$(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Y("Object already scheduled for deletion"),J(this),Z(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||$(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Y("Object already scheduled for deletion"),ne.push(this),1===ne.length&&z&&z(oe),this.$$.deleteScheduled=!0,this}}),i.getInheritedInstanceCount=te,i.getLiveInheritedInstances=re,i.flushPendingDeletes=oe,i.setDelayFunction=ie,Object.assign(Ce.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){var t;null==(t=this.rawDestructor)||t.call(this,e)},argPackAdvance:8,readValueFromPointer:me,fromWireType:ce}),_e=i.UnboundTypeError=(Re=Error,(Se=ue(Me="UnboundTypeError",(function(e){this.name=Me,this.message=e;var t=new Error(e).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))}))).prototype=Object.create(Re.prototype),Se.prototype.constructor=Se,Se.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},Se),ke.push(0,1,void 0,1,null,1,!0,1,!1,1),i.count_emval_handles=Ue;var at,st={w:(e,t,r)=>{throw new N(e).init(t,r),e},q:()=>{T("")},p:(e,t,r,n,o)=>{},u:(e,t,r,n)=>{W(e,{name:t=j(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?r:n},argPackAdvance:8,readValueFromPointer:function(e){return this.fromWireType(f[e])},destructorFunction:null})},y:(e,t,r,n,o,a,s,A,c,g,d,u,l)=>{d=j(d),a=Oe(o,a),A&&(A=Oe(s,A)),g&&(g=Oe(c,g)),l=Oe(u,l);var E=(e=>{if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=48&&t<=57?`_${e}`:e})(d);((e,t,r)=>{i.hasOwnProperty(e)?((void 0===r||void 0!==i[e].overloadTable&&void 0!==i[e].overloadTable[r])&&Y(`Cannot register public name '${e}' twice`),le(i,e,e),i.hasOwnProperty(r)&&Y(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`),i[e].overloadTable[r]=t):(i[e]=t,void 0!==r&&(i[e].numArguments=r))})(E,(function(){Qe(`Cannot construct ${d} due to unbound types`,[n])})),V([e,t,r],n?[n]:[],(t=>{var r,o,s;t=t[0],s=n?(o=t.registeredClass).instancePrototype:de.prototype;var c=ue(d,(function(...e){if(Object.getPrototypeOf(this)!==u)throw new x("Use 'new' to construct "+d);if(void 0===f.constructor_body)throw new x(d+" has no accessible constructor");var t=f.constructor_body[e.length];if(void 0===t)throw new x(`Tried to invoke ctor of ${d} with invalid number of parameters (${e.length}) - expected (${Object.keys(f.constructor_body).toString()}) parameters instead!`);return t.apply(this,e)})),u=Object.create(s,{constructor:{value:c}});c.prototype=u;var f=new Ee(d,c,u,l,o,a,A,g);f.baseClass&&(null!=(r=f.baseClass).__derivedClasses||(r.__derivedClasses=[]),f.baseClass.__derivedClasses.push(f));var p=new Ce(d,f,!0,!1,!1),h=new Ce(d+"*",f,!1,!1,!1),I=new Ce(d+" const*",f,!1,!0,!1);return ee[e]={pointerType:h,constPointerType:I},((e,t,r)=>{i.hasOwnProperty(e)||X("Replacing nonexistent public symbol"),void 0!==i[e].overloadTable&&void 0!==r?i[e].overloadTable[r]=t:(i[e]=t,i[e].argCount=r)})(E,c),[p,h,I]}))},x:(e,t,r,n,o,i)=>{var a=Te(t,r);o=Oe(n,o),V([],[e],(e=>{var r=`constructor ${(e=e[0]).name}`;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new x(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.registeredClass.constructor_body[t-1]=()=>{Qe(`Cannot construct ${e.name} due to unbound types`,a)},V([],a,(n=>(n.splice(1,0,null),e.registeredClass.constructor_body[t-1]=Pe(r,n,null,o,i),[]))),[]}))},h:(e,t,r,n,o,i,a,s,A)=>{var c=Te(r,n);t=(e=>{const t=(e=e.trim()).indexOf("(");return-1!==t?e.substr(0,t):e})(t=j(t)),i=Oe(o,i),V([],[e],(e=>{var n=`${(e=e[0]).name}.${t}`;function o(){Qe(`Cannot call ${n} due to unbound types`,c)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(t);var A=e.registeredClass.instancePrototype,g=A[t];return void 0===g||void 0===g.overloadTable&&g.className!==e.name&&g.argCount===r-2?(o.argCount=r-2,o.className=e.name,A[t]=o):(le(A,t,n),A[t].overloadTable[r-2]=o),V([],c,(o=>{var s=Pe(n,o,e,i,a);return void 0===A[t].overloadTable?(s.argCount=r-2,A[t]=s):A[t].overloadTable[r-2]=s,[]})),[]}))},k:(e,t,r,n,o,i,a,s,A,c)=>{t=j(t),o=Oe(n,o),V([],[e],(e=>{var n=`${(e=e[0]).name}.${t}`,g={get(){Qe(`Cannot access ${n} due to unbound types`,[r,a])},enumerable:!0,configurable:!0};return g.set=A?()=>Qe(`Cannot access ${n} due to unbound types`,[r,a]):e=>Y(n+" is a read-only property"),Object.defineProperty(e.registeredClass.instancePrototype,t,g),V([],A?[r,a]:[r],(r=>{var a=r[0],g={get(){var t=Fe(this,e,n+" getter");return a.fromWireType(o(i,t))},enumerable:!0};if(A){A=Oe(s,A);var d=r[1];g.set=function(t){var r=Fe(this,e,n+" setter"),o=[];A(c,r,d.toWireType(o,t)),ve(o)}}return Object.defineProperty(e.registeredClass.instancePrototype,t,g),[]})),[]}))},t:e=>W(e,Le),o:(e,t,r)=>{W(e,{name:t=j(t),fromWireType:e=>e,toWireType:(e,t)=>t,argPackAdvance:8,readValueFromPointer:Ge(t,r),destructorFunction:null})},g:(e,t,r,n,o)=>{t=j(t),-1===o&&(o=4294967295);var i=e=>e;if(0===n){var a=32-8*r;i=e=>e<<a>>>a}var s=t.includes("unsigned");W(e,{name:t,fromWireType:i,toWireType:s?function(e,t){return this.name,t>>>0}:function(e,t){return this.name,t},argPackAdvance:8,readValueFromPointer:Ye(t,r,0!==n),destructorFunction:null})},a:(e,t,r)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function o(e){var t=m[e>>2],r=m[e+4>>2];return new n(E.buffer,r,t)}W(e,{name:r=j(r),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},n:(e,t)=>{var r="std::string"===(t=j(t));W(e,{name:t,fromWireType(e){var t,n,o,i=m[e>>2],a=e+4;if(r)for(var s=a,A=0;A<=i;++A){var c=a+A;if(A==i||0==f[c]){var g=(o=c-s,(n=s)?Ve(f,n,o):"");void 0===t?t=g:(t+=String.fromCharCode(0),t+=g),s=c+1}}else{var d=new Array(i);for(A=0;A<i;++A)d[A]=String.fromCharCode(f[a+A]);t=d.join("")}return dt(e),t},toWireType(e,t){var n;t instanceof ArrayBuffer&&(t=new Uint8Array(t));var o="string"==typeof t;o||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||Y("Cannot pass non-string to std::string"),n=r&&o?(e=>{for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n<=127?t++:n<=2047?t+=2:n>=55296&&n<=57343?(t+=4,++r):t+=3}return t})(t):t.length;var i=ct(4+n+1),a=i+4;if(m[i>>2]=n,r&&o)((e,t,r,n)=>{if(!(n>0))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<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a)),s<=127){if(r>=i)break;t[r++]=s}else if(s<=2047){if(r+1>=i)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=i)break;t[r++]=240|s>>18,t[r++]=128|s>>12&63,t[r++]=128|s>>6&63,t[r++]=128|63&s}}t[r]=0})(t,f,a,n+1);else if(o)for(var s=0;s<n;++s){var A=t.charCodeAt(s);A>255&&(dt(a),Y("String has UTF-16 code units that do not fit in 8 bits")),f[a+s]=A}else for(s=0;s<n;++s)f[a+s]=t[s];return null!==e&&e.push(dt,i),i},argPackAdvance:8,readValueFromPointer:me,destructorFunction(e){dt(e)}})},l:(e,t,r)=>{var n,o,i,a;r=j(r),2===t?(n=ze,o=$e,a=Ke,i=e=>h[e>>1]):4===t&&(n=Je,o=Ze,a=qe,i=e=>m[e>>2]),W(e,{name:r,fromWireType:e=>{for(var r,o=m[e>>2],a=e+4,s=0;s<=o;++s){var A=e+4+s*t;if(s==o||0==i(A)){var c=n(a,A-a);void 0===r?r=c:(r+=String.fromCharCode(0),r+=c),a=A+t}}return dt(e),r},toWireType:(e,n)=>{"string"!=typeof n&&Y(`Cannot pass non-string to C++ string type ${r}`);var i=a(n),s=ct(4+i+t);return m[s>>2]=i/t,o(n,s+4,i+t),null!==e&&e.push(dt,s),s},argPackAdvance:8,readValueFromPointer:me,destructorFunction(e){dt(e)}})},v:(e,t)=>{W(e,{isVoid:!0,name:t=j(t),argPackAdvance:0,fromWireType:()=>{},toWireType:(e,t)=>{}})},s:(e,t,r)=>f.copyWithin(e,t,t+r),j:(e,t,r)=>(e=je.toValue(e),t=et(t,"emval::as"),tt(t,r,e)),e:(e,t,r,n,o)=>{var i,a;return(e=nt[e])(t=je.toValue(t),t[r=void 0===(a=rt[i=r])?j(i):a],n,o)},c:xe,f:(e,t,r)=>{var n=((e,t)=>{for(var r=new Array(e),n=0;n<e;++n)r[n]=et(m[t+4*n>>2],"parameter "+n);return r})(e,t),o=n.shift();e--;var i,a,s=new Array(e),A=`methodCaller<(${n.map((e=>e.name)).join(", ")}) => ${o.name}>`;return i=ue(A,((t,i,a,A)=>{for(var c=0,g=0;g<e;++g)s[g]=n[g].readValueFromPointer(A+c),c+=n[g].argPackAdvance;var d=1===r?ot(i,s):i.apply(t,s);return tt(o,a,d)})),a=nt.length,nt.push(i),a},d:e=>{e>9&&(ke[e+1]+=1)},b:e=>{var t=je.toValue(e);ve(t),xe(e)},i:(e,t)=>{var r=(e=et(e,"_emval_take_value")).readValueFromPointer(t);return je.toHandle(r)},r:e=>{f.length;T("OOM")},m:(e,t,r,n)=>{for(var o,i,a,s=0,A=0;A<r;A++){var c=m[t>>2],g=m[t+4>>2];t+=8;for(var l=0;l<g;l++)o=e,i=f[c+l],a=void 0,a=it[o],0===i||10===i?((1===o?d:u)(Ve(a,0)),a.length=0):a.push(i);s+=g}return m[n>>2]=s,0}},At=function(){var e,t={a:st};function r(e,t){var r,n;return At=e.exports,g=At.z,r=g.buffer,i.HEAP8=E=new Int8Array(r),i.HEAP16=p=new Int16Array(r),i.HEAPU8=f=new Uint8Array(r),i.HEAPU16=h=new Uint16Array(r),i.HEAP32=I=new Int32Array(r),i.HEAPU32=m=new Uint32Array(r),i.HEAPF32=C=new Float32Array(r),i.HEAPF64=y=new Float64Array(r),ye=At.C,n=At.A,B.unshift(n),function(){var e;if(O--,null==(e=i.monitorRunDependencies)||e.call(i,O),0==O&&(null!==b&&(clearInterval(b),b=null),Q)){var t=Q;Q=null,t()}}(),At}if(O++,null==(e=i.monitorRunDependencies)||e.call(i,O),i.instantiateWasm)try{return i.instantiateWasm(t,r)}catch(e){u(`Module.instantiateWasm callback failed with error: ${e}`),n(e)}return v||(v="data:application/octet-stream;base64,AGFzbQEAAAAB8gEfYAJ/fwBgAX8Bf2ABfwBgA39/fwF/YAN/f38AYAJ/fwF/YAR/f39/AGAAAGAFf39/f38AYAZ/f39/f38AYAR/f39/AX9g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CCwsgACABIAMgACgCJBEDACADSQ0CIAIgA2shAiAAKAIUIQQMAQsgASEFCyAEIAUgAhAiGiAAIAAoAhQgAmo2AhQLCwt0AQF/IAJFBEAgACgCBCABKAIERg8LIAAgAUYEQEEBDwsgASgCBCICLQAAIQECQCAAKAIEIgMtAAAiAEUNACAAIAFHDQADQCACLQABIQEgAy0AASIARQ0BIAJBAWohAiADQQFqIQMgACABRg0ACwsgACABRgtrAQF/IwBBgAJrIgUkAAJAIAIgA0wNACAEQYDABHENACAFIAEgAiADayIDQYACIANBgAJJIgEbECQaIAFFBEADQCAAIAVBgAIQHSADQYACayIDQf8BSw0ACwsgACAFIAMQHQsgBUGAAmokAAvlAwEFfyMAQRBrIgMkACADIAAoAgAiBEEIaygCACICNgIMIAMgACACajYCBCADIARBBGsoAgA2AgggAygCCCIEIAFBABAeIQIgAygCBCEFAkAgAgRAIAMoAgwhACMAQUBqIgEkACABQUBrJABBACAFIAAbIQIMAQsjAEFAaiICJAAgACAFTgRAIAJCADcCHCACQgA3AiQgAkIANwIsIAJCADcCFCACQQA2AhAgAiABNgIMIAIgBDYCBCACQQA2AjwgAkKBgICAgICAgAE3AjQgAiAANgIIIAQgAkEEaiAFIAVBAUEAIAQoAgAoAhQRCQAgAEEAIAIoAhwbIQYLIAJBQGskACAGIgINACMAQUBqIgIkACACQQA2AhAgAkGsxgA2AgwgAiAANgIIIAIgATYCBEEAIQAgAkEUakEAQScQJBogAkEANgI8IAJBAToAOyAEIAJBBGogBUEBQQAgBCgCACgCGBEIAAJAAkACQCACKAIoDgIAAQILIAIoAhhBACACKAIkQQFGG0EAIAIoAiBBAUYbQQAgAigCLEEBRhshAAwBCyACKAIcQQFHBEAgAigCLA0BIAIoAiBBAUcNASACKAIkQQFHDQELIAIoAhQhAAsgAkFAayQAIAAhAgsgA0EQaiQAIAILtAEBBX8jAEEQayIGJAAgBkEEaiICEEEjAEEQayIFJAACfyACLQALQQd2BEAgAigCBAwBCyACLQALQf8AcQshBANAAkACf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IAUgACgCACIITwRAIAggACgCBGogBUsNAwsgACgCCCIADQALC0EAECgiAkF/Rg0DIAEhBEGY3AAoAgAiAEEBayIFIAJxBEAgASACayACIAVqQQAgAGtxaiEECyAEIAZNDQNB9NsAKAIAIgAEQEHs2wAoAgAiBSAEaiIHIAVNDQQgACAHSQ0ECyAEECgiACACRw0BDAULIAQgAmsgB3EiBBAoIgIgACgCACAAKAIEakYNASACIQALIABBf0YNASAGQTBqIARNBEAgACECDAQLQZzcACgCACICIAMgBGtqQQAgAmtxIgIQKEF/Rg0BIAIgBGohBCAAIQIMAwsgAkF/Rw0CC0H42wBB+NsAKAIAQQRyNgIACyABECghAkEAECghACACQX9GDQUgAEF/Rg0FIAAgAk0NBSAAIAJrIgQgBkEoak0NBQtB7NsAQezbACgCACAEaiIANgIAQfDbACgCACAASQRAQfDbACAANgIACwJAQdTYACgCACIDBEBB/NsAIQADQCACIAAoAgAiASAAKAIEIgVqRg0CIAAoAggiAA0ACwwEC0HM2AAoAgAiAEEAIAAgAk0bRQRAQczYACACNgIAC0EAIQBBgNwAIAQ2AgBB/NsAIAI2AgBB3NgAQX82AgBB4NgAQZTcACgCADYCAEGI3ABBADYCAANAIABBA3QiAUHs2ABqIAFB5NgAaiIFNgIAIAFB8NgAaiAFNgIAIABBAWoiAEEgRw0AC0HI2AAgBEEoayIAQXggAmtBB3EiAWsiBTYCAEHU2AAgASACaiIBNgIAIAEgBUEBcjYCBCAAIAJqQSg2AgRB2NgAQaTcACgCADYCAAwECyACIANNDQIgASADSw0CIAAoAgxBCHENAiAAIAQgBWo2AgRB1NgAIANBeCADa0EHcSIAaiIBNgIAQcjYAEHI2AAoAgAgBGoiAiAAayIANgIAIAEgAEEBcjYCBCACIANqQSg2AgRB2NgAQaTcACgCADYCAAwDC0EAIQAMBgtBACEADAQLQczYACgCACACSwRAQczYACACNgIACyACIARqIQVB/NsAIQACQANAIAUgACgCACIBRwRAIAAoAggiAA0BDAILCyAALQAMQQhxRQ0DC0H82wAhA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ANBAWsiAyADQQtGGwVBCgtBAWoFQff///8HCxAwIAQoAgQhAyAEKAIIGiABBEAgAyAHIAEQIwsgAkEKRwRAIAcQGQsgACADNgIAIAAgACgCCEGAgICAeHEgBCgCCEH/////B3FyNgIIIAAgACgCCEGAgICAeHI2AgggBEEQaiQADAELECcACyAAIAE2AgQLIAECfyAALQALQQd2BEAgACgCAAwBCyAACyICaiAFEEMgACABIAVqIgAQMSAGQQA6AA8gACACaiAGLQAPOgAACyAGQRBqJAAPCwJ/IAAtAAtBB3YEQCAAKAIADAELIAALIQQjAEEQayICJAACfyAALQALQQd2BEAgACgCBAwBCyAALQALCxogACABEDEgAkEAOgAPIAEgBGogAi0ADzoAACACQRBqJAALPQEBfyMAQRBrIgIkACACQQA6AA8DQCABBEAgACACLQAPOgAAIAFBAWshASAAQQFqIQAMAQsLIAJBEGokAAsaACAALQALQQd2BEAgACgCCBogACgCABAZCwvmAQEFfyMAQRBrIgUkACMAQSBrIgMkACMAQRBrIgQkACAEIAA2AgwgBCAAIAFqNgIIIAMgBCgCDDYCGCADIAQoAgg2AhwgBEEQaiQAIAMoAhghBCADKAIcIQYjAEEQayIBJAAgASAGNgIMIAIgBCAGIARrIgQQNiABIAIgBGo2AgggAyABKAIMNgIQIAMgASgCCDYCFCABQRBqJAAgAyAAIAMoAhAgAGtqNgIMIAMgAiADKAIUIAJrajYCCCAFIAMoAgw2AgggBSADKAIINgIMIANBIGokACAFKAIMIQcgBUEQaiQAIAcL8wIBBX8jAEEQayIHJAAgAiABQX9zQff///8Hak0EQAJ/IAAtAAtBB3YEQCAAKAIADAELIAALIQggB0EEaiIJIAFB8////wNJBH8gByABQQF0NgIMIAcgASACajYCBCMAQRBrIgIkACAJKAIAIAdBDGoiCigCAEkhCyACQRBqJAAgCiAJIAsbKAIAIgJBC08EfyACQQhqQXhxIgIgAkEBayICIAJBC0YbBUEKC0EBagVB9////wcLEDAgBygCBCECIAcoAggaIAQEQCACIAggBBAjCyAFBEAgAiAEaiAGIA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g2AgggAEGkyQAgAkEIahAINgIEIABBpM8ANgIAIAJBEGokAAuoAQEFfyAAKAJUIgMoAgAhBSADKAIEIgQgACgCFCAAKAIcIgdrIgYgBCAGSRsiBgRAIAUgByAGECIaIAMgAygCACAGaiIFNgIAIAMgAygCBCAGayIENgIECyAEIAIgAiAESxsiBARAIAUgASAEECIaIAMgAygCACAEaiIFNgIAIAMgAygCBCAEazYCBAsgBUEAOgAAIAAgACgCLCIBNgIcIAAgATYCFCACCwUAEBAAC50BAQJ/IwBBEGsiAiQAQcQAEBwhASAAKAIEIgBBCU8EQCAAEAMLIAIgADYCCCABQZQnIAJBCGoQCDYCBCABQaTPADYCACABQQI2AhwgAUGkzwA2AhggAUECNgIUIAFBpM8ANgIQIAFBAjYCDCABQaTPADYCCCABQQA6ACAgAUKAgICAMDcCPCABQQA7ADcgAUEAOwArIAJBEGokACABC54FAgZ+BH8gASABKAIAQQdqQXhxIgFBEGo2AgAgACELIAEpAwAhAyABKQMIIQcjAEEgayIBJAAgB0L///////8/gyEFAn4gB0IwiEL//wGDIgSnIglBgfgAa0H9D00EQCAFQgSGIANCPIiEIQIgCUGA+ABrrSEEAkAgA0L//////////w+DIgNCgYCAgICAgIAIWgRAIAJCAXwhAgwBCyADQoCAgICAgICACFINACACQgGDIAJ8IQILQgAgAiACQv////////8HViIAGyECIACtIAR8DAELAkAgAyAFhFANACAEQv//AVINACAFQgSGIANCPIiEQoCAgICAgIAEhCECQv8PDAELQv8PIAlB/ocBSw0AGkIAQYD4AEGB+AAgBFAiCBsiCiAJayIAQfAASg0AGiADIQIgBSAFQoCAgICAgMAAhCAIGyIEIQYCQEGAASAAayIIQcAAcQRAIAIgCEFAaq2GIQZCACECDAELIAhFDQAgBiAIrSIFhiACQcAAIAhrrYiEIQYgAiAFhiECCyABIAI3AxAgASAGNwMYAkAgAEHAAHEEQCAEIABBQGqtiCEDQgAhBAwBCyAARQ0AIARBwAAgAGuthiADIACtIgKIhCEDIAQgAoghBAsgASADNwMAIAEgBDcDCCABKQMIQgSGIAEpAwAiA0I8iIQhAgJAIAkgCkcgASkDECABKQMYhEIAUnGtIANC//////////8Pg4QiA0KBgICAgICAgAhaBEAgAkIBfCECDAELIANCgICAgICAgIAIUg0AIAJCAYMgAnwhAgsgAkKAgICAgICACIUgAiACQv////////8HViIAGyECIACtCyEDIAFBIGokACALIAdCgICAgICAgICAf4MgA0I0hoQgAoS/OQMAC0MBAn8jAEEQayICJAAgAiABNgIMIAJBpM8ANgIIIAJBCGogABEBACEDIAIoAgwiAUEJTwRAIAEQAgsgAkEQaiQAIAMLBABCAAsEAEEAC/YCAQh/IwBBIGsiAyQAIAMgACgCHCIENgIQIAAoAhQhBSADIAI2AhwgAyABNgIYIAMgBSAEayIBNgIUIAEgAmohBUECIQcCfwJAAkACQCAAKAI8IANBEGoiAUECIANBDGoQDCIEBH9BuNgAIAQ2AgBBfwVBAAsEQCABIQQMAQsDQCAFIAMoAgwiBkYNAiAGQQBIBEAgASEEDAQLIAEgBiABKAIEIghLIglBA3RqIgQgBiAIQQAgCRtrIgggBCgCAGo2AgAgAUEMQQQgCRtqIgEgASgCACAIazYCACAFIAZrIQUgACgCPCAEIgEgByAJayIHIANBDGoQDCIGBH9BuNgAIAY2AgBBfwVBAAtFDQALCyAFQX9HDQELIAAgACgCLCIBNgIcIAAgATYCFCAAIAEgACgCMGo2AhAgAgwBCyAAQQA2AhwgAEIANwMQIAAgACgCAEEgcjYCAEEAIAdBAkYNABogAiAEKAIEawshCiADQSBqJAAgCguKAQEBfyAABEAgACwAN0EASARAIAAoAiwQGQsgACwAK0EASARAIAAoAiAQGQsgACgCHCIBQQlPBEAgARACIABBADYCHAsgACgCFCIBQQlPBEAgARACIABBADYCFAsgACgCDCIBQQlPBEAgARACIABBADYCDAsgACgCBCIBQQlPBEAgARACCyAAEBkLCyQBAn8gACgCBCIAECpBAWoiARAsIgIEfyACIAAgARAiBUEACwvrHAMMfwJ8AX0jAEFAaiIEJAAgBEHoAhAcIgI2AjAg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AsgCCAJQQN0aiIDIAMrAwAgD6M5AwAgAkEBaiICQQdHDQALIApBEGokACAFQQA6AIgBIAVBADoAkwFBeiEJA0AgCSAMbCEGIAkgCUEfdSICcyACa0EMbCEIQXohAgNAAkAgBSgClAEgCGooAgAgAiACQR91IgNzIANrQQN0aisDALYiEEMAAAAAXkUNACAFQRxqIgMgBhAvIAUgA0GvFRAmIgMoAgg2AjAgBSADKQIANwMoIANCADcCACADQQA2AgggBUFAayAFQShqQbYREBoiAygCCDYCACAFIAMpAgA3AzggA0IANwIAIANBADYCCCAFQRBqIgMgAiAMbBAvIAUgBUE4aiAFKAIQIAMgBSwAGyIHQQBIIgMbIAUoAhQgByADGxAbIgMoAgg2AlAgBSADKQIANwNIIANCADcCACADQQA2AgggBSAFQcgAakG6ERAaIgMoAgg2AmAgBSADKQIANwNYIANCADcCACADQQA2AgggBUEEaiIDIBAQLiAFIAVB2ABqIAUoAgQgAyAFLAAPIgdBAEgiAxsgBSgCCCAHIAMbEBsiAygCCDYCcCAFIAMpAgA3A2ggA0IANwIAIANBADYCCCAFIAVB6ABqQasREBoiAygCCDYCgAEgBSADKQIANwN4IANCADcCACADQQA2AgggBUGIAWogBSgCeCAFQfgAaiAFLACDASIHQQBIIgMbIAUoAnwgByADGxAbGiAFLACDAUEASARAIAUoAngQGQsgBSwAc0EASARAIAUoAmgQGQsgBSwAD0EASARAIAUoAgQQGQsgBSwAY0EASARAIAUoAlgQGQsgBSwAU0EASARAIAUoAkgQGQsgBSwAG0EASARAIAUoAhAQGQsgBSwAQ0EASARAIAUoAjgQGQsgBSwAM0EASARAIAUoAigQGQsgBSwAJ0EATg0AIAUoAhwQGQsgAkEBaiICQQdHDQALIAlBAWoiCUEHRw0ACyMAQRBrIggkAEHzHxAqIQwCfyAFQYgBaiILLQALQQd2BEAgCygCBAwBCyALLQALQf8AcQshBgJ/An8jAEEQayIHJAAgBUH4AGohCiAGIAxqIglB9////wdNBEACQCAJQQtJBEAgCkIANwIAIApBADYCCCA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AAAAGwAAADgoAAAABABB1M0ACwEBAEHkzQALBf////8KAEGozgALAzAuAQ=="),S(0,v,t,(function(e){r(e.instance)})).catch(n),{}}(),ct=e=>(ct=At.B)(e),gt=e=>(gt=At.D)(e),dt=e=>(dt=At.E)(e),ut=e=>(ut=At.F)(e);i.dynCall_jiji=(e,t,r,n,o)=>(i.dynCall_jiji=At.G)(e,t,r,n,o),i._vertexShaderSource=9872;function lt(){function e(){at||(at=!0,i.calledRun=!0,_||(F(B),r(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),function(){if(i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;)e=i.postRun.shift(),D.unshift(e);var e;F(D)}()))}O>0||(!function(){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)e=i.preRun.shift(),w.unshift(e);var e;F(w)}(),O>0||(i.setStatus?(i.setStatus("Running..."),setTimeout((function(){setTimeout((function(){i.setStatus("")}),1),e()}),1)):e()))}if(Q=function e(){at||lt(),at||(Q=e)},i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return lt(),a}})(),allin1_default=Module,MediaPipe=class{constructor(e,t){__publicField(this,"canvas"),__publicField(this,"locateFile"),__publicField(this,"_glName"),__publicField(this,"_solutionWasm"),__publicField(this,"ctx"),__publicField(this,"fileDownloader"),__publicField(this,"startTime"),__publicField(this,"lastTimestamp"),__publicField(this,"pl",{onResults:e=>this.onResults(e.get(0).glName)}),this.locateFile=t=>`${e}/${t}`.replace(/([^:]\/)\/+/g,"$1"),this.fileDownloader=t}bindTexture(){var e;null==(e=this.ctx)||e.activeTexture(this.ctx.TEXTURE0),this.bindTexture2d(this._glName)}async initialize(){this._solutionWasm=new this.SolutionWasm;const e=new this.StringList;e.push_back("segmentation_mask");const t=this.PacketListener.implement(this.pl);return this._solutionWasm.attachMultiListener(e,t),e.delete(),this._solutionWasm.loadGraph(await this.fileDownloader.download(this.locateFile("selfie_segmentation.binarypb"),{type:"arraybuffer"})),this}setCanvas(e){this.canvas=e,this.createContext(e,!0,!0,{}),this._glName=this.createTexture()}fetchResponse(e){return this.fileDownloader.downloadWithFetch(e,"fetch-response")}loadWasm(e,t){return this.fileDownloader.loadWasm(e,t)}async changeModel(e="selfie_segmentation_landscape.tflite"){e="string"==typeof e?await this.fileDownloader.download(this.locateFile(e),{type:"arraybuffer"}):e,this._solutionWasm.overrideFile("third_party/mediapipe/modules/selfie_segmentation/selfie_segmentation_landscape.tflite",e);const t=new this.GraphOptionChangeRequestList;t.push_back({calculatorIndex:1,calculatorName:"",calculatorType:"GlScalerCalculator",fieldName:"flip_horizontal",valueBoolean:!1,valueNumber:0,valueString:""}),t.push_back({calculatorIndex:0,calculatorType:"ConstantSidePacketCalculator",calculatorName:"ConstantSidePacketCalculatorModelSelection",fieldName:"int_value",valueBoolean:!1,valueNumber:1,valueString:""}),t.push_back({calculatorIndex:0,calculatorType:"InferenceCalculator",calculatorName:"",fieldName:"use_cpu_inference",valueBoolean:!1,valueNumber:0,valueString:""}),this._solutionWasm.changeOptions(t),this.startTime=Date.now()}send(e,t){const r=new this.PacketDataList,n=Date.now()-this.startTime;this.lastTimestamp&&this.lastTimestamp>=n?this.lastTimestamp++:this.lastTimestamp=n,r.pushTexture2d({stream:"input_frames_gpu",timestamp:this.lastTimestamp,glName:this._glName,width:e,height:t}),this._solutionWasm.send(r),r.delete()}close(){var e,t,r;null==(e=this.canvas)||delete e.getContext,delete this.readyPromiseResolve,delete this.readyPromiseReject,this.pl.onResults=null,delete this.onResults,null==(t=this.deleteTexture)||t.call(this,this._glName),null==(r=this._solutionWasm)||r.delete();for(const e of Object.keys(this))delete this[e]}},USER_AGENT="undefined"==typeof navigator?"":navigator.userAgent,isUserAgentMatch=e=>new RegExp(e,"i").test(USER_AGENT),getBrowserVersion=e=>{if(isUserAgentMatch(e)){const t=new RegExp(`${e}\\/([\\d.]+)`),r=USER_AGENT.match(t);if(r&&r[1])return r[1]}return""},getBrowserMajorVersion=e=>{if(isUserAgentMatch(e)){const t=new RegExp(`${e}\\/(\\d+)`),r=USER_AGENT.match(t);if(r&&r[1])return parseFloat(r[1])}return NaN},webkitVersionMap=/AppleWebKit\/([\d.]+)/i.exec(USER_AGENT),appleWebkitVersion=webkitVersionMap?parseFloat(webkitVersionMap[1]):NaN,IS_IPAD=isUserAgentMatch("iPad"),IS_IPAD_PRO="undefined"!=typeof navigator&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&isUserAgentMatch("Macintosh"),IS_IPHONE=isUserAgentMatch("iPhone")&&!IS_IPAD,IS_IPOD=isUserAgentMatch("iPod"),IS_IOS=IS_IPHONE||IS_IPAD||IS_IPOD||IS_IPAD_PRO,IS_ANDROID=isUserAgentMatch("Android"),ANDROID_VERSION=function(){if(IS_ANDROID){const e=USER_AGENT.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(e){const t=e[1]&&parseFloat(e[1]),r=e[2]&&parseFloat(e[2]);if(t&&r)return parseFloat(`${e[1]}.${e[2]}`);if(t)return t}}return NaN}(),IS_OLD_ANDROID=IS_ANDROID&&isUserAgentMatch("webkit")&&ANDROID_VERSION<2.3,IS_NATIVE_ANDROID=IS_ANDROID&&ANDROID_VERSION<5&&appleWebkitVersion<537,IS_FIREFOX=isUserAgentMatch("Firefox"),FIREFOX_VERSION=getBrowserVersion("Firefox"),FIREFOX_MAJOR_VERSION=getBrowserMajorVersion("Firefox"),IS_EDGE=isUserAgentMatch("Edge"),EDGE_VERSION=getBrowserVersion("Edge"),IS_EDG=isUserAgentMatch("Edg"),EDG_VERSION=getBrowserVersion("Edg"),EDG_MAJOR_VERSION=getBrowserMajorVersion("Edg"),IS_SOGOUM=isUserAgentMatch("SogouMobileBrowser"),SOGOUM_VERSION=getBrowserVersion("SogouMobileBrowser"),IS_SOGOU=isUserAgentMatch("MetaSr\\s"),SOGOU_VERSION=getBrowserVersion("MetaSr\\s"),IS_TBS=isUserAgentMatch("TBS"),TBS_VERSION=getBrowserVersion("TBS"),IS_XWEB=isUserAgentMatch("XWEB"),XWEB_VERSION=getBrowserVersion("XWEB"),IS_IE8=isUserAgentMatch("MSIE\\s8\\.0"),IS_IE=isUserAgentMatch("MSIE\\/\\d+"),IE_VERSION=function(){if(IS_IE){const e=/MSIE\s(\d+)\.\d/.exec(USER_AGENT);let t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(USER_AGENT)&&/rv:11.0/.test(USER_AGENT)&&(t=11),t}return NaN}(),IS_WECHAT=isUserAgentMatch("(micromessenger|webbrowser)"),WECHAT_VERSION=getBrowserVersion("MicroMessenger"),IS_X5MQQB=!IS_TBS&&isUserAgentMatch("MQQBrowser")&&isUserAgentMatch("COVC"),IS_MQQB=!IS_TBS&&isUserAgentMatch("MQQBrowser")&&!isUserAgentMatch("COVC"),MQQB_VERSION=IS_MQQB||IS_X5MQQB?getBrowserVersion("MQQBrowser"):"",IS_WQQB=!IS_TBS&&isUserAgentMatch(" QQBrowser"),WQQB_VERSION=getBrowserVersion(" QQBrowser"),IS_MACQQB=!IS_TBS&&isUserAgentMatch("QQBrowserLite"),MACQQB_VERSION=getBrowserVersion("QQBrowserLite"),IS_IPADQQB=!IS_TBS&&isUserAgentMatch("MQBHD"),IPADQQB_VERSION=getBrowserVersion("MQBHD"),IS_WIN=isUserAgentMatch("Windows"),IS_MAC=!IS_IOS&&isUserAgentMatch("MAC OS X"),IS_LINUX=!IS_ANDROID&&isUserAgentMatch("Linux"),IS_CHROME_OS=isUserAgentMatch("CrOS"),IS_WX=isUserAgentMatch("MicroMessenger"),IS_UCBROWSER=isUserAgentMatch("UCBrowser"),IS_ELECTRON=isUserAgentMatch("Electron"),IS_MIBROWSER=isUserAgentMatch("MiuiBrowser"),MI_VERSION=getBrowserVersion("MiuiBrowser"),IS_HUAWEIBROWSER=isUserAgentMatch("HuaweiBrowser"),IS_HUAWEI=isUserAgentMatch("Huawei")||isUserAgentMatch("HUAWEI"),IS_HONOR=isUserAgentMatch("Honor")||isUserAgentMatch("HONOR"),HUAWEI_VERSION=getBrowserVersion("HuaweiBrowser"),IS_SAMSUNGBROWSER=isUserAgentMatch("SamsungBrowser"),SAMSUNG_VERSION=getBrowserVersion("SamsungBrowser"),IS_OPPOBROWSER=isUserAgentMatch("HeyTapBrowser"),OPPO_VERSION=getBrowserVersion("HeyTapBrowser"),IS_VIVOBROWSER=isUserAgentMatch("VivoBrowser"),VIVO_VERSION=getBrowserVersion("VivoBrowser"),IS_OPENHARMONY=isUserAgentMatch("OpenHarmony"),OPENHARMONY_VERSION=getBrowserVersion("OpenHarmony"),getChromeMajorVersion=()=>getBrowserMajorVersion("Chrome"),IS_CHROMIUM_BASE=isUserAgentMatch("Chrome"),IS_CHROME=!IS_EDGE&&!IS_SOGOU&&!IS_SOGOUM&&!IS_TBS&&!IS_XWEB&&!IS_EDG&&!IS_WQQB&&!IS_MIBROWSER&&!IS_HUAWEIBROWSER&&!IS_SAMSUNGBROWSER&&!IS_OPPOBROWSER&&!IS_VIVOBROWSER&&IS_CHROMIUM_BASE,IS_HEADLESS_CHROME=isUserAgentMatch("HeadlessChrome"),CHROME_MAJOR_VERSION=getChromeMajorVersion(),CHROME_VERSION=getBrowserVersion("Chrome"),IS_SAFARI=!IS_CHROMIUM_BASE&&!IS_MQQB&&!IS_X5MQQB&&!IS_MACQQB&&!IS_IPADQQB&&isUserAgentMatch("Safari"),SAFARI_VERSION=getBrowserVersion("Version"),IS_ANDROID_WEBVIEW=/Android.*(wv|.0.0.0)/.test(USER_AGENT),IOS_VERSION=(()=>{if(IS_IPAD_PRO)return SAFARI_VERSION;if(IS_IOS){const e=USER_AGENT.match(/OS (\d+)_(\d+)/i);if(e&&e[1]){let t=e[1];return e[2]&&(t+=`.${e[2]}`),t}}return""})(),IOS_MAIN_VERSION=Number(IOS_VERSION.split(".")[0]),IS_IOS_13_OR_14=(()=>{const e=Number(IOS_VERSION.split(".")[0]);return 14===e||13===e})(),IS_IOS_CHROME=isUserAgentMatch("CriOS"),IS_LOCAL="undefined"!=typeof location&&("file:"===location.protocol||"localhost"===location.hostname||"127.0.0.1"===location.hostname),browserInfo=getBrowserInfo();function getBrowserInfo(){const e=new Map([[IS_FIREFOX,["Firefox",FIREFOX_VERSION]],[IS_EDG,["Edg",EDG_VERSION]],[IS_CHROME,["Chrome",CHROME_VERSION]],[IS_SAFARI,["Safari",SAFARI_VERSION]],[IS_TBS,["TBS",TBS_VERSION]],[IS_XWEB,["XWEB",XWEB_VERSION]],[IS_WECHAT&&IS_IPHONE,["WeChat",WECHAT_VERSION]],[IS_WQQB,["QQ(Win)",WQQB_VERSION]],[IS_MQQB,["QQ(Mobile)",MQQB_VERSION]],[IS_X5MQQB,["QQ(Mobile X5)",MQQB_VERSION]],[IS_MACQQB,["QQ(Mac)",MACQQB_VERSION]],[IS_IPADQQB,["QQ(iPad)",IPADQQB_VERSION]],[IS_MIBROWSER,["MI",MI_VERSION]],[IS_HUAWEIBROWSER,["HW",HUAWEI_VERSION]],[IS_SAMSUNGBROWSER,["Samsung",SAMSUNG_VERSION]],[IS_OPPOBROWSER,["OPPO",OPPO_VERSION]],[IS_VIVOBROWSER,["VIVO",VIVO_VERSION]],[IS_EDGE,["EDGE",EDGE_VERSION]],[IS_SOGOUM,["SogouMobile",SOGOUM_VERSION]],[IS_SOGOU,["Sogou",SOGOU_VERSION]]]);let t="unknown",r="unknown";return e.has(!0)&&([t,r]=e.get(!0)),{name:t,version:r}}var getUserAgentDataPromise=navigator.userAgentData.getHighEntropyValues(["architecture","bitness","model","platformVersion","fullVersionList"]),KV_REPORT_KEY_VIRTUAL_BACKGROUND_TYPE=570703,vbSeq=0,_VirtualBackground=class e{constructor(e){this.core=e,__publicField(this,"seq"),__publicField(this,"_core"),__publicField(this,"log"),__publicField(this,"preLoadPromise"),__publicField(this,"startResolve"),__publicField(this,"startReject"),__publicField(this,"mediaPipeSolutions"),__publicField(this,"assetsPath"),__publicField(this,"currentType"),__publicField(this,"onAbort"),__publicField(this,"isAborted",!1),vbSeq+=1,this.seq=vbSeq,this._core=e,this.log=e.log.createChild({id:`${this.getAlias()}${vbSeq}`}),this.log.info("created"),e.assetsPath&&(this.preLoadPromise=this.preload(e.assetsPath))}static isSupported(){if(CHROME_MAJOR_VERSION<90)return!1;const e=document.createElement("canvas").getContext("webgl2");return!!(e&&e instanceof WebGL2RenderingContext)}async preload(e="https://web.sdk.qcloud.com/trtc/webrtc/v5/assets/"){try{this._core.room.videoManager.Wasm||(this._core.room.videoManager.Wasm=await allin1_default()),this.assetsPath=`${e}/selfie_segmentation/`;const t=new MediaPipe(this.assetsPath,this._core.fileDownloader);t.onAbort=e=>{var t;this.core.kvStatManager.addEnum({key:KV_REPORT_KEY_VIRTUAL_BACKGROUND_TYPE,value:this.getKVTypeValue(!1,this.isAborted,"ABORT_IN_INFERENCE")}),this.isAborted=!0,this.log.error("mediaPipeSolutions abort",e),this.core.clearStarted(this,this.getGroup()),this.stop(),null==(t=this.onAbort)||t.call(this,e)},t.print=this.log.info.bind(this.log),t.printErr=this.log.warn.bind(this.log),this.mediaPipeSolutions=await(this.core.rtcDectection.isSIMDSupported()?selfie_segmentation_solution_simd_wasm_bin_default:selfie_segmentation_solution_wasm_bin_default)(t),await this.mediaPipeSolutions.initialize(),await this._core.room.videoManager.initVirtualBackground(this.mediaPipeSolutions)}catch(e){const{RtcError:t,ErrorCode:r}=this._core.errorModule;throw new t({code:r.INVALID_OPERATION,message:`VirtualBackground preload error, please check your assetsPath. detail: ${e}`})}}getName(){return e.Name}getAlias(){return"vb"}getValidateRule(e){switch(e){case"start":return startValidateRule(this._core);case"update":return updateValidateRule(this._core);case"stop":return stopValidateRule(this._core)}}getGroup(){return"vb"}getKVTypeValue(e=!1,t=!1,r="NONE"){let n=0;switch(this.currentType){case"blur":n|=0;break;case"image":n|=1;break;case"green":n|=2}switch(e&&(n|=256),t&&(n|=512),r){case"ABORT_IN_INFERENCE":n|=4096;break;case"ABORT_IN_VIDEO_MANAGER":n|=8192;break;case"OTHER":n|=61440}return n}async start(e){const{type:t="blur",src:r,blurLevel:n=3,onAbort:o}=e;this.currentType=t,this.onAbort=o;const{auth:i}=await authEffect({sdkAppId:e.sdkAppId,userId:e.userId,userSig:e.userSig,core:this._core});if(!i){const{RtcError:t,ErrorCodeDictionary:r}=this._core.errorModule,n=this._core.utils.isOverseaSdkAppId(e.sdkAppId)?"https://trtc.io/document/56025":"https://cloud.tencent.com/document/product/647/85386";throw new t({code:r.NEED_TO_BUY,messageParams:{value:"Virtual Background",url:n}})}return this.preLoadPromise||(this.preLoadPromise=this.preload(this._core.assetsPath)),await this.preLoadPromise,this.core.room.videoManager.setVirtualBackground({type:t,imageUrl:r,blurLevel:n,onAbort:e=>{var t;this.core.kvStatManager.addEnum({key:KV_REPORT_KEY_VIRTUAL_BACKGROUND_TYPE,value:this.getKVTypeValue(!0,this.isAborted,"ABORT_IN_VIDEO_MANAGER")}),this.isAborted=!0,this.core.clearStarted(this,this.getGroup()),this.stop(),delete this.preLoadPromise,null==(t=this.onAbort)||t.call(this,e)}}).then((()=>{this.core.kvStatManager.addEnum({key:KV_REPORT_KEY_VIRTUAL_BACKGROUND_TYPE,value:this.getKVTypeValue(!1,this.isAborted,"NONE")})})).catch((()=>{this.core.kvStatManager.addEnum({key:KV_REPORT_KEY_VIRTUAL_BACKGROUND_TYPE,value:this.getKVTypeValue(!0,this.isAborted,"OTHER")})}))}async update(e){const{type:t,src:r}=e;return t!==this.currentType&&(this.currentType=t),this.core.room.videoManager.setVirtualBackground({type:t,imageUrl:r,blurLevel:e.blurLevel}).then((()=>{this.core.kvStatManager.addEnum({key:KV_REPORT_KEY_VIRTUAL_BACKGROUND_TYPE,value:this.getKVTypeValue(!1,!1,"NONE")})})).catch((()=>{this.core.kvStatManager.addEnum({key:KV_REPORT_KEY_VIRTUAL_BACKGROUND_TYPE,value:this.getKVTypeValue(!0,!1,"OTHER")})}))}async stop(){return this.core.room.videoManager.setVirtualBackground()}};__publicField(_VirtualBackground,"Name","VirtualBackground");var VirtualBackground=_VirtualBackground,index_default=VirtualBackground;export{index_default as default};export{VirtualBackground};