e57-js 1.0.5 → 1.0.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.
- package/README.md +30 -3
- package/dist/index.browser.mjs +1 -0
- package/dist/index.mjs +19 -18
- package/dist/libe57-js.js +416 -7
- package/dist/libe57-js.wasm +0 -0
- package/package.json +3 -3
package/dist/libe57-js.js
CHANGED
|
@@ -233,8 +233,6 @@ var OPFS = "OPFS is no longer included by default; build with -lopfs.js";
|
|
|
233
233
|
// if an assertion fails it cannot print the message
|
|
234
234
|
assert(ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER || ENVIRONMENT_IS_NODE, "pthreads do not work in this environment yet (need Web Workers, or an alternative to them)");
|
|
235
235
|
|
|
236
|
-
assert(!ENVIRONMENT_IS_WEB, "web environment detected but not enabled at build time (add `web` to `-sENVIRONMENT` to enable)");
|
|
237
|
-
|
|
238
236
|
assert(!ENVIRONMENT_IS_SHELL, "shell environment detected but not enabled at build time (add `shell` to `-sENVIRONMENT` to enable)");
|
|
239
237
|
|
|
240
238
|
// end include: shell.js
|
|
@@ -1130,7 +1128,7 @@ var PThread = {
|
|
|
1130
1128
|
}
|
|
1131
1129
|
},
|
|
1132
1130
|
initMainThread() {
|
|
1133
|
-
var pthreadPoolSize =
|
|
1131
|
+
var pthreadPoolSize = 2;
|
|
1134
1132
|
// Start loading up the Worker pool, if requested.
|
|
1135
1133
|
while (pthreadPoolSize--) {
|
|
1136
1134
|
PThread.allocateUnusedWorker();
|
|
@@ -1585,6 +1583,41 @@ var findStringEnd = (heapOrArray, idx, maxBytesToRead, ignoreNul) => {
|
|
|
1585
1583
|
|
|
1586
1584
|
var ___assert_fail = (condition, filename, line, func) => abort(`Assertion failed: ${UTF8ToString(condition)}, at: ` + [ filename ? UTF8ToString(filename) : "unknown filename", line, func ? UTF8ToString(func) : "unknown function" ]);
|
|
1587
1585
|
|
|
1586
|
+
var exceptionCaught = [];
|
|
1587
|
+
|
|
1588
|
+
var uncaughtExceptionCount = 0;
|
|
1589
|
+
|
|
1590
|
+
var ___cxa_begin_catch = ptr => {
|
|
1591
|
+
var info = new ExceptionInfo(ptr);
|
|
1592
|
+
if (!info.get_caught()) {
|
|
1593
|
+
info.set_caught(true);
|
|
1594
|
+
uncaughtExceptionCount--;
|
|
1595
|
+
}
|
|
1596
|
+
info.set_rethrown(false);
|
|
1597
|
+
exceptionCaught.push(info);
|
|
1598
|
+
return ___cxa_get_exception_ptr(ptr);
|
|
1599
|
+
};
|
|
1600
|
+
|
|
1601
|
+
var ___cxa_end_catch = () => {
|
|
1602
|
+
// Clear state flag.
|
|
1603
|
+
_setThrew(0, 0);
|
|
1604
|
+
assert(exceptionCaught.length > 0);
|
|
1605
|
+
// Call destructor if one is registered then clear it.
|
|
1606
|
+
var info = exceptionCaught.pop();
|
|
1607
|
+
___cxa_decrement_exception_refcount(info.excPtr);
|
|
1608
|
+
};
|
|
1609
|
+
|
|
1610
|
+
var findMatchingCatch = args => {
|
|
1611
|
+
setTempRet0(0);
|
|
1612
|
+
return 0;
|
|
1613
|
+
};
|
|
1614
|
+
|
|
1615
|
+
var ___cxa_find_matching_catch_2 = () => findMatchingCatch([]);
|
|
1616
|
+
|
|
1617
|
+
var ___cxa_find_matching_catch_3 = arg0 => findMatchingCatch([ arg0 ]);
|
|
1618
|
+
|
|
1619
|
+
var ___cxa_find_matching_catch_4 = (arg0, arg1) => findMatchingCatch([ arg0, arg1 ]);
|
|
1620
|
+
|
|
1588
1621
|
class ExceptionInfo {
|
|
1589
1622
|
// excPtr - Thrown object pointer to wrap. Metadata pointer is calculated from it.
|
|
1590
1623
|
constructor(excPtr) {
|
|
@@ -1631,8 +1664,6 @@ class ExceptionInfo {
|
|
|
1631
1664
|
}
|
|
1632
1665
|
}
|
|
1633
1666
|
|
|
1634
|
-
var uncaughtExceptionCount = 0;
|
|
1635
|
-
|
|
1636
1667
|
var ___cxa_throw = (ptr, type, destructor) => {
|
|
1637
1668
|
var info = new ExceptionInfo(ptr);
|
|
1638
1669
|
// Initialize ExceptionInfo content after it was allocated in __cxa_allocate_exception.
|
|
@@ -1686,6 +1717,10 @@ var ___pthread_create_js = (pthread_ptr, attr, startRoutine, arg) => {
|
|
|
1686
1717
|
return spawnThread(threadParams);
|
|
1687
1718
|
};
|
|
1688
1719
|
|
|
1720
|
+
var ___resumeException = ptr => {
|
|
1721
|
+
assert(false, "Exception thrown, but exception catching is not enabled. Compile with -sNO_DISABLE_EXCEPTION_CATCHING or -sEXCEPTION_CATCHING_ALLOWED=[..] to catch.");
|
|
1722
|
+
};
|
|
1723
|
+
|
|
1689
1724
|
var initRandomFill = () => {
|
|
1690
1725
|
// This block is not needed on v19+ since crypto.getRandomValues is builtin
|
|
1691
1726
|
if (ENVIRONMENT_IS_NODE) {
|
|
@@ -1912,6 +1947,13 @@ var FS_stdin_getChar = () => {
|
|
|
1912
1947
|
if (bytesRead > 0) {
|
|
1913
1948
|
result = buf.slice(0, bytesRead).toString("utf-8");
|
|
1914
1949
|
}
|
|
1950
|
+
} else if (globalThis.window?.prompt) {
|
|
1951
|
+
// Browser.
|
|
1952
|
+
result = window.prompt("Input: ");
|
|
1953
|
+
// returns null on cancel
|
|
1954
|
+
if (result !== null) {
|
|
1955
|
+
result += "\n";
|
|
1956
|
+
}
|
|
1915
1957
|
} else {}
|
|
1916
1958
|
if (!result) {
|
|
1917
1959
|
return null;
|
|
@@ -7805,6 +7847,12 @@ var __emscripten_thread_set_strongref = thread => {
|
|
|
7805
7847
|
}
|
|
7806
7848
|
};
|
|
7807
7849
|
|
|
7850
|
+
var __emval_array_to_memory_view = (dst, src) => {
|
|
7851
|
+
dst = Emval.toValue(dst);
|
|
7852
|
+
src = Emval.toValue(src);
|
|
7853
|
+
dst.set(src);
|
|
7854
|
+
};
|
|
7855
|
+
|
|
7808
7856
|
var emval_methodCallers = [];
|
|
7809
7857
|
|
|
7810
7858
|
var emval_addMethodCaller = caller => {
|
|
@@ -8383,6 +8431,8 @@ function _getaddrinfo(node, service, hint, out) {
|
|
|
8383
8431
|
return 0;
|
|
8384
8432
|
}
|
|
8385
8433
|
|
|
8434
|
+
var _llvm_eh_typeid_for = type => type;
|
|
8435
|
+
|
|
8386
8436
|
var _random_get = (buffer, size) => randomFill((growMemViews(), HEAPU8).subarray(buffer, buffer + size));
|
|
8387
8437
|
|
|
8388
8438
|
var FS_createPath = (...args) => FS.createPath(...args);
|
|
@@ -8469,11 +8519,11 @@ Module["FS_createDataFile"] = FS_createDataFile;
|
|
|
8469
8519
|
|
|
8470
8520
|
Module["FS_createLazyFile"] = FS_createLazyFile;
|
|
8471
8521
|
|
|
8472
|
-
var missingLibrarySymbols = [ "writeI53ToI64", "writeI53ToI64Clamped", "writeI53ToI64Signaling", "writeI53ToU64Clamped", "writeI53ToU64Signaling", "readI53FromI64", "readI53FromU64", "convertI32PairToI53", "convertI32PairToI53Checked", "convertU32PairToI53", "getTempRet0", "setTempRet0", "withStackSave", "readEmAsmArgs", "jstoi_q", "autoResumeAudioContext", "getDynCaller", "dynCall", "runtimeKeepalivePop", "asmjsMangle", "HandleAllocator", "addOnInit", "addOnPostCtor", "addOnPreMain", "addOnExit", "STACK_SIZE", "STACK_ALIGN", "POINTER_SIZE", "ASSERTIONS", "ccall", "cwrap", "convertJsFunctionToWasm", "getEmptyTableSlot", "updateTableMap", "getFunctionAddress", "addFunction", "removeFunction", "intArrayToString", "stringToAscii", "stringToNewUTF8", "stringToUTF8OnStack", "writeArrayToMemory", "registerKeyEventCallback", "maybeCStringToJsString", "findEventTarget", "getBoundingClientRect", "fillMouseEventData", "registerMouseEventCallback", "registerWheelEventCallback", "registerUiEventCallback", "registerFocusEventCallback", "fillDeviceOrientationEventData", "registerDeviceOrientationEventCallback", "fillDeviceMotionEventData", "registerDeviceMotionEventCallback", "screenOrientation", "fillOrientationChangeEventData", "registerOrientationChangeEventCallback", "fillFullscreenChangeEventData", "registerFullscreenChangeEventCallback", "JSEvents_requestFullscreen", "JSEvents_resizeCanvasForFullscreen", "registerRestoreOldStyle", "hideEverythingExceptGivenElement", "restoreHiddenElements", "setLetterbox", "softFullscreenResizeWebGLRenderTarget", "doRequestFullscreen", "fillPointerlockChangeEventData", "registerPointerlockChangeEventCallback", "registerPointerlockErrorEventCallback", "requestPointerLock", "fillVisibilityChangeEventData", "registerVisibilityChangeEventCallback", "registerTouchEventCallback", "fillGamepadEventData", "registerGamepadEventCallback", "registerBeforeUnloadEventCallback", "fillBatteryEventData", "registerBatteryEventCallback", "setCanvasElementSizeCallingThread", "setCanvasElementSizeMainThread", "setCanvasElementSize", "getCanvasSizeCallingThread", "getCanvasSizeMainThread", "getCanvasElementSize", "jsStackTrace", "getCallstack", "convertPCtoSourceLocation", "wasiRightsToMuslOFlags", "wasiOFlagsToMuslOFlags", "safeSetTimeout", "setImmediateWrapped", "safeRequestAnimationFrame", "clearImmediateWrapped", "registerPostMainLoop", "registerPreMainLoop", "getPromise", "makePromise", "idsToPromises", "makePromiseCallback", "
|
|
8522
|
+
var missingLibrarySymbols = [ "writeI53ToI64", "writeI53ToI64Clamped", "writeI53ToI64Signaling", "writeI53ToU64Clamped", "writeI53ToU64Signaling", "readI53FromI64", "readI53FromU64", "convertI32PairToI53", "convertI32PairToI53Checked", "convertU32PairToI53", "getTempRet0", "setTempRet0", "withStackSave", "readEmAsmArgs", "jstoi_q", "autoResumeAudioContext", "getDynCaller", "dynCall", "runtimeKeepalivePop", "asmjsMangle", "HandleAllocator", "addOnInit", "addOnPostCtor", "addOnPreMain", "addOnExit", "STACK_SIZE", "STACK_ALIGN", "POINTER_SIZE", "ASSERTIONS", "ccall", "cwrap", "convertJsFunctionToWasm", "getEmptyTableSlot", "updateTableMap", "getFunctionAddress", "addFunction", "removeFunction", "intArrayToString", "stringToAscii", "stringToNewUTF8", "stringToUTF8OnStack", "writeArrayToMemory", "registerKeyEventCallback", "maybeCStringToJsString", "findEventTarget", "getBoundingClientRect", "fillMouseEventData", "registerMouseEventCallback", "registerWheelEventCallback", "registerUiEventCallback", "registerFocusEventCallback", "fillDeviceOrientationEventData", "registerDeviceOrientationEventCallback", "fillDeviceMotionEventData", "registerDeviceMotionEventCallback", "screenOrientation", "fillOrientationChangeEventData", "registerOrientationChangeEventCallback", "fillFullscreenChangeEventData", "registerFullscreenChangeEventCallback", "JSEvents_requestFullscreen", "JSEvents_resizeCanvasForFullscreen", "registerRestoreOldStyle", "hideEverythingExceptGivenElement", "restoreHiddenElements", "setLetterbox", "softFullscreenResizeWebGLRenderTarget", "doRequestFullscreen", "fillPointerlockChangeEventData", "registerPointerlockChangeEventCallback", "registerPointerlockErrorEventCallback", "requestPointerLock", "fillVisibilityChangeEventData", "registerVisibilityChangeEventCallback", "registerTouchEventCallback", "fillGamepadEventData", "registerGamepadEventCallback", "registerBeforeUnloadEventCallback", "fillBatteryEventData", "registerBatteryEventCallback", "setCanvasElementSizeCallingThread", "setCanvasElementSizeMainThread", "setCanvasElementSize", "getCanvasSizeCallingThread", "getCanvasSizeMainThread", "getCanvasElementSize", "jsStackTrace", "getCallstack", "convertPCtoSourceLocation", "wasiRightsToMuslOFlags", "wasiOFlagsToMuslOFlags", "safeSetTimeout", "setImmediateWrapped", "safeRequestAnimationFrame", "clearImmediateWrapped", "registerPostMainLoop", "registerPreMainLoop", "getPromise", "makePromise", "idsToPromises", "makePromiseCallback", "incrementUncaughtExceptionCount", "decrementUncaughtExceptionCount", "Browser_asyncPrepareDataCounter", "isLeapYear", "ydayFromDate", "arraySum", "addDays", "FS_mkdirTree", "_setNetworkCallback", "heapObjectForWebGLType", "toTypedArrayIndex", "webgl_enable_ANGLE_instanced_arrays", "webgl_enable_OES_vertex_array_object", "webgl_enable_WEBGL_draw_buffers", "webgl_enable_WEBGL_multi_draw", "webgl_enable_EXT_polygon_offset_clamp", "webgl_enable_EXT_clip_control", "webgl_enable_WEBGL_polygon_mode", "emscriptenWebGLGet", "computeUnpackAlignedImageSize", "colorChannelsInGlTextureFormat", "emscriptenWebGLGetTexPixelData", "emscriptenWebGLGetUniform", "webglGetUniformLocation", "webglPrepareUniformLocationsBeforeFirstUse", "webglGetLeftBracePos", "emscriptenWebGLGetVertexAttrib", "__glGetActiveAttribOrUniform", "writeGLArray", "emscripten_webgl_destroy_context_before_on_calling_thread", "registerWebGlEventCallback", "runAndAbortIfError", "ALLOC_NORMAL", "ALLOC_STACK", "allocate", "writeStringToMemory", "writeAsciiToMemory", "allocateUTF8", "allocateUTF8OnStack", "demangle", "stackTrace", "getNativeTypeSize", "getFunctionArgsName", "createJsInvokerSignature", "PureVirtualError", "registerInheritedInstance", "unregisterInheritedInstance", "getInheritedInstanceCount", "getLiveInheritedInstances", "setDelayFunction", "count_emval_handles" ];
|
|
8473
8523
|
|
|
8474
8524
|
missingLibrarySymbols.forEach(missingLibrarySymbol);
|
|
8475
8525
|
|
|
8476
|
-
var unexportedSymbols = [ "run", "out", "err", "callMain", "abort", "wasmExports", "writeStackCookie", "checkStackCookie", "INT53_MAX", "INT53_MIN", "bigintToI53Checked", "HEAP8", "HEAP16", "HEAPU16", "HEAP32", "HEAPU32", "HEAPF32", "HEAPF64", "HEAP64", "HEAPU64", "stackSave", "stackRestore", "stackAlloc", "createNamedFunction", "ptrToString", "zeroMemory", "exitJS", "getHeapMax", "growMemory", "ENV", "ERRNO_CODES", "strError", "inetPton4", "inetNtop4", "inetPton6", "inetNtop6", "readSockaddr", "writeSockaddr", "DNS", "Protocols", "Sockets", "timers", "warnOnce", "readEmAsmArgsArray", "getExecutableName", "handleException", "keepRuntimeAlive", "runtimeKeepalivePush", "callUserCallback", "maybeExit", "asyncLoad", "alignMemory", "mmapAlloc", "wasmTable", "wasmMemory", "getUniqueRunDependency", "noExitRuntime", "addOnPreRun", "addOnPostRun", "freeTableIndexes", "functionsInTableMap", "setValue", "getValue", "PATH", "PATH_FS", "UTF8Decoder", "UTF8ArrayToString", "UTF8ToString", "stringToUTF8Array", "stringToUTF8", "lengthBytesUTF8", "intArrayFromString", "AsciiToString", "UTF16Decoder", "UTF16ToString", "stringToUTF16", "lengthBytesUTF16", "UTF32ToString", "stringToUTF32", "lengthBytesUTF32", "JSEvents", "specialHTMLTargets", "findCanvasEventTarget", "currentFullscreenStrategy", "restoreOldWindowedStyle", "UNWIND_CACHE", "ExitStatus", "getEnvStrings", "checkWasiClock", "doReadv", "doWritev", "initRandomFill", "randomFill", "emSetImmediate", "emClearImmediate_deps", "emClearImmediate", "promiseMap", "uncaughtExceptionCount", "exceptionCaught", "ExceptionInfo", "Browser", "requestFullscreen", "requestFullScreen", "setCanvasSize", "getUserMedia", "createContext", "getPreloadedImageData__data", "wget", "MONTH_DAYS_REGULAR", "MONTH_DAYS_LEAP", "MONTH_DAYS_REGULAR_CUMULATIVE", "MONTH_DAYS_LEAP_CUMULATIVE", "SYSCALLS", "getSocketFromFD", "getSocketAddress", "preloadPlugins", "FS_createPreloadedFile", "FS_modeStringToFlags", "FS_getMode", "FS_fileDataToTypedArray", "FS_stdin_getChar_buffer", "FS_stdin_getChar", "FS_readFile", "FS_root", "FS_mounts", "FS_devices", "FS_streams", "FS_nextInode", "FS_nameTable", "FS_currentPath", "FS_initialized", "FS_ignorePermissions", "FS_filesystems", "FS_syncFSRequests", "FS_lookupPath", "FS_getPath", "FS_hashName", "FS_hashAddNode", "FS_hashRemoveNode", "FS_lookupNode", "FS_createNode", "FS_destroyNode", "FS_isRoot", "FS_isMountpoint", "FS_isFile", "FS_isDir", "FS_isLink", "FS_isChrdev", "FS_isBlkdev", "FS_isFIFO", "FS_isSocket", "FS_flagsToPermissionString", "FS_nodePermissions", "FS_mayLookup", "FS_mayCreate", "FS_mayDelete", "FS_mayOpen", "FS_checkOpExists", "FS_nextfd", "FS_getStreamChecked", "FS_getStream", "FS_createStream", "FS_closeStream", "FS_dupStream", "FS_doSetAttr", "FS_chrdev_stream_ops", "FS_major", "FS_minor", "FS_makedev", "FS_registerDevice", "FS_getDevice", "FS_getMounts", "FS_syncfs", "FS_mount", "FS_unmount", "FS_lookup", "FS_mknod", "FS_statfs", "FS_statfsStream", "FS_statfsNode", "FS_create", "FS_mkdir", "FS_mkdev", "FS_symlink", "FS_rename", "FS_rmdir", "FS_readdir", "FS_readlink", "FS_stat", "FS_fstat", "FS_lstat", "FS_doChmod", "FS_chmod", "FS_lchmod", "FS_fchmod", "FS_doChown", "FS_chown", "FS_lchown", "FS_fchown", "FS_doTruncate", "FS_truncate", "FS_ftruncate", "FS_utime", "FS_open", "FS_close", "FS_isClosed", "FS_llseek", "FS_read", "FS_write", "FS_mmap", "FS_msync", "FS_ioctl", "FS_writeFile", "FS_cwd", "FS_chdir", "FS_createDefaultDirectories", "FS_createDefaultDevices", "FS_createSpecialDirectories", "FS_createStandardStreams", "FS_staticInit", "FS_init", "FS_quit", "FS_findObject", "FS_analyzePath", "FS_createFile", "FS_forceLoadFile", "MEMFS", "TTY", "PIPEFS", "SOCKFS", "tempFixedLengthArray", "miniTempWebGLFloatBuffers", "miniTempWebGLIntBuffers", "GL", "AL", "GLUT", "EGL", "GLEW", "IDBStore", "SDL", "SDL_gfx", "waitAsyncPolyfilled", "print", "printErr", "jstoi_s", "PThread", "terminateWorker", "cleanupThread", "registerTLSInit", "spawnThread", "exitOnMainThread", "proxyToMainThread", "proxiedJSCallArgs", "invokeEntryPoint", "checkMailbox", "InternalError", "BindingError", "throwInternalError", "throwBindingError", "registeredTypes", "awaitingDependencies", "typeDependencies", "tupleRegistrations", "structRegistrations", "sharedRegisterType", "whenDependentTypesAreResolved", "getTypeName", "getFunctionName", "heap32VectorToArray", "requireRegisteredType", "usesDestructorStack", "checkArgCount", "getEnumValueType", "getRequiredArgCount", "createJsInvoker", "UnboundTypeError", "EmValType", "EmValOptionalType", "throwUnboundTypeError", "ensureOverloadTable", "exposePublicSymbol", "replacePublicSymbol", "embindRepr", "registeredInstances", "getBasestPointer", "getInheritedInstance", "registeredPointers", "registerType", "integerReadValueFromPointer", "enumReadValueFromPointer", "floatReadValueFromPointer", "assertIntegerRange", "readPointer", "installIndexedIterator", "runDestructors", "craftInvokerFunction", "embind__requireFunction", "genericPointerToWireType", "constNoSmartPtrRawPointerToWireType", "nonConstNoSmartPtrRawPointerToWireType", "init_RegisteredPointer", "RegisteredPointer", "RegisteredPointer_fromWireType", "runDestructor", "releaseClassHandle", "finalizationRegistry", "detachFinalizer_deps", "detachFinalizer", "attachFinalizer", "makeClassHandle", "init_ClassHandle", "ClassHandle", "throwInstanceAlreadyDeleted", "deletionQueue", "flushPendingDeletes", "delayFunction", "RegisteredClass", "shallowCopyInternalPointer", "downcastPointer", "upcastPointer", "validateThis", "char_0", "char_9", "makeLegalFunctionName", "emval_freelist", "emval_handles", "emval_symbols", "getStringOrSymbol", "Emval", "emval_returnValue", "emval_lookupTypes", "emval_methodCallers", "emval_addMethodCaller", "NODEFS" ];
|
|
8526
|
+
var unexportedSymbols = [ "run", "out", "err", "callMain", "abort", "wasmExports", "writeStackCookie", "checkStackCookie", "INT53_MAX", "INT53_MIN", "bigintToI53Checked", "HEAP8", "HEAP16", "HEAPU16", "HEAP32", "HEAPU32", "HEAPF32", "HEAPF64", "HEAP64", "HEAPU64", "stackSave", "stackRestore", "stackAlloc", "createNamedFunction", "ptrToString", "zeroMemory", "exitJS", "getHeapMax", "growMemory", "ENV", "ERRNO_CODES", "strError", "inetPton4", "inetNtop4", "inetPton6", "inetNtop6", "readSockaddr", "writeSockaddr", "DNS", "Protocols", "Sockets", "timers", "warnOnce", "readEmAsmArgsArray", "getExecutableName", "handleException", "keepRuntimeAlive", "runtimeKeepalivePush", "callUserCallback", "maybeExit", "asyncLoad", "alignMemory", "mmapAlloc", "wasmTable", "wasmMemory", "getUniqueRunDependency", "noExitRuntime", "addOnPreRun", "addOnPostRun", "freeTableIndexes", "functionsInTableMap", "setValue", "getValue", "PATH", "PATH_FS", "UTF8Decoder", "UTF8ArrayToString", "UTF8ToString", "stringToUTF8Array", "stringToUTF8", "lengthBytesUTF8", "intArrayFromString", "AsciiToString", "UTF16Decoder", "UTF16ToString", "stringToUTF16", "lengthBytesUTF16", "UTF32ToString", "stringToUTF32", "lengthBytesUTF32", "JSEvents", "specialHTMLTargets", "findCanvasEventTarget", "currentFullscreenStrategy", "restoreOldWindowedStyle", "UNWIND_CACHE", "ExitStatus", "getEnvStrings", "checkWasiClock", "doReadv", "doWritev", "initRandomFill", "randomFill", "emSetImmediate", "emClearImmediate_deps", "emClearImmediate", "promiseMap", "uncaughtExceptionCount", "exceptionCaught", "ExceptionInfo", "findMatchingCatch", "Browser", "requestFullscreen", "requestFullScreen", "setCanvasSize", "getUserMedia", "createContext", "getPreloadedImageData__data", "wget", "MONTH_DAYS_REGULAR", "MONTH_DAYS_LEAP", "MONTH_DAYS_REGULAR_CUMULATIVE", "MONTH_DAYS_LEAP_CUMULATIVE", "SYSCALLS", "getSocketFromFD", "getSocketAddress", "preloadPlugins", "FS_createPreloadedFile", "FS_modeStringToFlags", "FS_getMode", "FS_fileDataToTypedArray", "FS_stdin_getChar_buffer", "FS_stdin_getChar", "FS_readFile", "FS_root", "FS_mounts", "FS_devices", "FS_streams", "FS_nextInode", "FS_nameTable", "FS_currentPath", "FS_initialized", "FS_ignorePermissions", "FS_filesystems", "FS_syncFSRequests", "FS_lookupPath", "FS_getPath", "FS_hashName", "FS_hashAddNode", "FS_hashRemoveNode", "FS_lookupNode", "FS_createNode", "FS_destroyNode", "FS_isRoot", "FS_isMountpoint", "FS_isFile", "FS_isDir", "FS_isLink", "FS_isChrdev", "FS_isBlkdev", "FS_isFIFO", "FS_isSocket", "FS_flagsToPermissionString", "FS_nodePermissions", "FS_mayLookup", "FS_mayCreate", "FS_mayDelete", "FS_mayOpen", "FS_checkOpExists", "FS_nextfd", "FS_getStreamChecked", "FS_getStream", "FS_createStream", "FS_closeStream", "FS_dupStream", "FS_doSetAttr", "FS_chrdev_stream_ops", "FS_major", "FS_minor", "FS_makedev", "FS_registerDevice", "FS_getDevice", "FS_getMounts", "FS_syncfs", "FS_mount", "FS_unmount", "FS_lookup", "FS_mknod", "FS_statfs", "FS_statfsStream", "FS_statfsNode", "FS_create", "FS_mkdir", "FS_mkdev", "FS_symlink", "FS_rename", "FS_rmdir", "FS_readdir", "FS_readlink", "FS_stat", "FS_fstat", "FS_lstat", "FS_doChmod", "FS_chmod", "FS_lchmod", "FS_fchmod", "FS_doChown", "FS_chown", "FS_lchown", "FS_fchown", "FS_doTruncate", "FS_truncate", "FS_ftruncate", "FS_utime", "FS_open", "FS_close", "FS_isClosed", "FS_llseek", "FS_read", "FS_write", "FS_mmap", "FS_msync", "FS_ioctl", "FS_writeFile", "FS_cwd", "FS_chdir", "FS_createDefaultDirectories", "FS_createDefaultDevices", "FS_createSpecialDirectories", "FS_createStandardStreams", "FS_staticInit", "FS_init", "FS_quit", "FS_findObject", "FS_analyzePath", "FS_createFile", "FS_forceLoadFile", "MEMFS", "TTY", "PIPEFS", "SOCKFS", "tempFixedLengthArray", "miniTempWebGLFloatBuffers", "miniTempWebGLIntBuffers", "GL", "AL", "GLUT", "EGL", "GLEW", "IDBStore", "SDL", "SDL_gfx", "waitAsyncPolyfilled", "print", "printErr", "jstoi_s", "PThread", "terminateWorker", "cleanupThread", "registerTLSInit", "spawnThread", "exitOnMainThread", "proxyToMainThread", "proxiedJSCallArgs", "invokeEntryPoint", "checkMailbox", "InternalError", "BindingError", "throwInternalError", "throwBindingError", "registeredTypes", "awaitingDependencies", "typeDependencies", "tupleRegistrations", "structRegistrations", "sharedRegisterType", "whenDependentTypesAreResolved", "getTypeName", "getFunctionName", "heap32VectorToArray", "requireRegisteredType", "usesDestructorStack", "checkArgCount", "getEnumValueType", "getRequiredArgCount", "createJsInvoker", "UnboundTypeError", "EmValType", "EmValOptionalType", "throwUnboundTypeError", "ensureOverloadTable", "exposePublicSymbol", "replacePublicSymbol", "embindRepr", "registeredInstances", "getBasestPointer", "getInheritedInstance", "registeredPointers", "registerType", "integerReadValueFromPointer", "enumReadValueFromPointer", "floatReadValueFromPointer", "assertIntegerRange", "readPointer", "installIndexedIterator", "runDestructors", "craftInvokerFunction", "embind__requireFunction", "genericPointerToWireType", "constNoSmartPtrRawPointerToWireType", "nonConstNoSmartPtrRawPointerToWireType", "init_RegisteredPointer", "RegisteredPointer", "RegisteredPointer_fromWireType", "runDestructor", "releaseClassHandle", "finalizationRegistry", "detachFinalizer_deps", "detachFinalizer", "attachFinalizer", "makeClassHandle", "init_ClassHandle", "ClassHandle", "throwInstanceAlreadyDeleted", "deletionQueue", "flushPendingDeletes", "delayFunction", "RegisteredClass", "shallowCopyInternalPointer", "downcastPointer", "upcastPointer", "validateThis", "char_0", "char_9", "makeLegalFunctionName", "emval_freelist", "emval_handles", "emval_symbols", "getStringOrSymbol", "Emval", "emval_returnValue", "emval_lookupTypes", "emval_methodCallers", "emval_addMethodCaller", "NODEFS" ];
|
|
8477
8527
|
|
|
8478
8528
|
unexportedSymbols.forEach(unexportedRuntimeSymbol);
|
|
8479
8529
|
|
|
@@ -8570,6 +8620,8 @@ var __emscripten_thread_exit = makeInvalidEarlyAccess("__emscripten_thread_exit"
|
|
|
8570
8620
|
|
|
8571
8621
|
var __emscripten_check_mailbox = makeInvalidEarlyAccess("__emscripten_check_mailbox");
|
|
8572
8622
|
|
|
8623
|
+
var _setThrew = makeInvalidEarlyAccess("_setThrew");
|
|
8624
|
+
|
|
8573
8625
|
var _emscripten_stack_init = makeInvalidEarlyAccess("_emscripten_stack_init");
|
|
8574
8626
|
|
|
8575
8627
|
var _emscripten_stack_set_limits = makeInvalidEarlyAccess("_emscripten_stack_set_limits");
|
|
@@ -8582,6 +8634,10 @@ var __emscripten_stack_alloc = makeInvalidEarlyAccess("__emscripten_stack_alloc"
|
|
|
8582
8634
|
|
|
8583
8635
|
var _emscripten_stack_get_current = makeInvalidEarlyAccess("_emscripten_stack_get_current");
|
|
8584
8636
|
|
|
8637
|
+
var ___cxa_decrement_exception_refcount = makeInvalidEarlyAccess("___cxa_decrement_exception_refcount");
|
|
8638
|
+
|
|
8639
|
+
var ___cxa_get_exception_ptr = makeInvalidEarlyAccess("___cxa_get_exception_ptr");
|
|
8640
|
+
|
|
8585
8641
|
var __indirect_function_table = makeInvalidEarlyAccess("__indirect_function_table");
|
|
8586
8642
|
|
|
8587
8643
|
var wasmTable = makeInvalidEarlyAccess("wasmTable");
|
|
@@ -8608,12 +8664,15 @@ function assignWasmExports(wasmExports) {
|
|
|
8608
8664
|
assert(typeof wasmExports["_emscripten_thread_free_data"] != "undefined", "missing Wasm export: _emscripten_thread_free_data");
|
|
8609
8665
|
assert(typeof wasmExports["_emscripten_thread_exit"] != "undefined", "missing Wasm export: _emscripten_thread_exit");
|
|
8610
8666
|
assert(typeof wasmExports["_emscripten_check_mailbox"] != "undefined", "missing Wasm export: _emscripten_check_mailbox");
|
|
8667
|
+
assert(typeof wasmExports["setThrew"] != "undefined", "missing Wasm export: setThrew");
|
|
8611
8668
|
assert(typeof wasmExports["emscripten_stack_init"] != "undefined", "missing Wasm export: emscripten_stack_init");
|
|
8612
8669
|
assert(typeof wasmExports["emscripten_stack_set_limits"] != "undefined", "missing Wasm export: emscripten_stack_set_limits");
|
|
8613
8670
|
assert(typeof wasmExports["emscripten_stack_get_free"] != "undefined", "missing Wasm export: emscripten_stack_get_free");
|
|
8614
8671
|
assert(typeof wasmExports["_emscripten_stack_restore"] != "undefined", "missing Wasm export: _emscripten_stack_restore");
|
|
8615
8672
|
assert(typeof wasmExports["_emscripten_stack_alloc"] != "undefined", "missing Wasm export: _emscripten_stack_alloc");
|
|
8616
8673
|
assert(typeof wasmExports["emscripten_stack_get_current"] != "undefined", "missing Wasm export: emscripten_stack_get_current");
|
|
8674
|
+
assert(typeof wasmExports["__cxa_decrement_exception_refcount"] != "undefined", "missing Wasm export: __cxa_decrement_exception_refcount");
|
|
8675
|
+
assert(typeof wasmExports["__cxa_get_exception_ptr"] != "undefined", "missing Wasm export: __cxa_get_exception_ptr");
|
|
8617
8676
|
assert(typeof wasmExports["__indirect_function_table"] != "undefined", "missing Wasm export: __indirect_function_table");
|
|
8618
8677
|
___getTypeName = createExportWrapper("__getTypeName", 1);
|
|
8619
8678
|
__embind_initialize_bindings = createExportWrapper("_embind_initialize_bindings", 0);
|
|
@@ -8636,12 +8695,15 @@ function assignWasmExports(wasmExports) {
|
|
|
8636
8695
|
__emscripten_thread_free_data = createExportWrapper("_emscripten_thread_free_data", 1);
|
|
8637
8696
|
__emscripten_thread_exit = createExportWrapper("_emscripten_thread_exit", 1);
|
|
8638
8697
|
__emscripten_check_mailbox = createExportWrapper("_emscripten_check_mailbox", 0);
|
|
8698
|
+
_setThrew = createExportWrapper("setThrew", 2);
|
|
8639
8699
|
_emscripten_stack_init = wasmExports["emscripten_stack_init"];
|
|
8640
8700
|
_emscripten_stack_set_limits = wasmExports["emscripten_stack_set_limits"];
|
|
8641
8701
|
_emscripten_stack_get_free = wasmExports["emscripten_stack_get_free"];
|
|
8642
8702
|
__emscripten_stack_restore = wasmExports["_emscripten_stack_restore"];
|
|
8643
8703
|
__emscripten_stack_alloc = wasmExports["_emscripten_stack_alloc"];
|
|
8644
8704
|
_emscripten_stack_get_current = wasmExports["emscripten_stack_get_current"];
|
|
8705
|
+
___cxa_decrement_exception_refcount = createExportWrapper("__cxa_decrement_exception_refcount", 1);
|
|
8706
|
+
___cxa_get_exception_ptr = createExportWrapper("__cxa_get_exception_ptr", 1);
|
|
8645
8707
|
__indirect_function_table = wasmTable = wasmExports["__indirect_function_table"];
|
|
8646
8708
|
}
|
|
8647
8709
|
|
|
@@ -8650,8 +8712,14 @@ var wasmImports;
|
|
|
8650
8712
|
function assignWasmImports() {
|
|
8651
8713
|
wasmImports = {
|
|
8652
8714
|
/** @export */ __assert_fail: ___assert_fail,
|
|
8715
|
+
/** @export */ __cxa_begin_catch: ___cxa_begin_catch,
|
|
8716
|
+
/** @export */ __cxa_end_catch: ___cxa_end_catch,
|
|
8717
|
+
/** @export */ __cxa_find_matching_catch_2: ___cxa_find_matching_catch_2,
|
|
8718
|
+
/** @export */ __cxa_find_matching_catch_3: ___cxa_find_matching_catch_3,
|
|
8719
|
+
/** @export */ __cxa_find_matching_catch_4: ___cxa_find_matching_catch_4,
|
|
8653
8720
|
/** @export */ __cxa_throw: ___cxa_throw,
|
|
8654
8721
|
/** @export */ __pthread_create_js: ___pthread_create_js,
|
|
8722
|
+
/** @export */ __resumeException: ___resumeException,
|
|
8655
8723
|
/** @export */ __syscall_connect: ___syscall_connect,
|
|
8656
8724
|
/** @export */ __syscall_dup: ___syscall_dup,
|
|
8657
8725
|
/** @export */ __syscall_fcntl64: ___syscall_fcntl64,
|
|
@@ -8697,6 +8765,7 @@ function assignWasmImports() {
|
|
|
8697
8765
|
/** @export */ _emscripten_thread_cleanup: __emscripten_thread_cleanup,
|
|
8698
8766
|
/** @export */ _emscripten_thread_mailbox_await: __emscripten_thread_mailbox_await,
|
|
8699
8767
|
/** @export */ _emscripten_thread_set_strongref: __emscripten_thread_set_strongref,
|
|
8768
|
+
/** @export */ _emval_array_to_memory_view: __emval_array_to_memory_view,
|
|
8700
8769
|
/** @export */ _emval_create_invoker: __emval_create_invoker,
|
|
8701
8770
|
/** @export */ _emval_decref: __emval_decref,
|
|
8702
8771
|
/** @export */ _emval_get_property: __emval_get_property,
|
|
@@ -8720,11 +8789,351 @@ function assignWasmImports() {
|
|
|
8720
8789
|
/** @export */ fd_seek: _fd_seek,
|
|
8721
8790
|
/** @export */ fd_write: _fd_write,
|
|
8722
8791
|
/** @export */ getaddrinfo: _getaddrinfo,
|
|
8792
|
+
/** @export */ invoke_i,
|
|
8793
|
+
/** @export */ invoke_ii,
|
|
8794
|
+
/** @export */ invoke_iii,
|
|
8795
|
+
/** @export */ invoke_iiii,
|
|
8796
|
+
/** @export */ invoke_iiiii,
|
|
8797
|
+
/** @export */ invoke_iiij,
|
|
8798
|
+
/** @export */ invoke_iiijjj,
|
|
8799
|
+
/** @export */ invoke_iij,
|
|
8800
|
+
/** @export */ invoke_iiji,
|
|
8801
|
+
/** @export */ invoke_iijiiiiiii,
|
|
8802
|
+
/** @export */ invoke_ji,
|
|
8803
|
+
/** @export */ invoke_jiii,
|
|
8804
|
+
/** @export */ invoke_jiiiijijii,
|
|
8805
|
+
/** @export */ invoke_v,
|
|
8806
|
+
/** @export */ invoke_vi,
|
|
8807
|
+
/** @export */ invoke_vii,
|
|
8808
|
+
/** @export */ invoke_viii,
|
|
8809
|
+
/** @export */ invoke_viiii,
|
|
8810
|
+
/** @export */ invoke_viiiii,
|
|
8811
|
+
/** @export */ invoke_viiiiii,
|
|
8812
|
+
/** @export */ invoke_viiiiijijii,
|
|
8813
|
+
/** @export */ invoke_viiiijijii,
|
|
8814
|
+
/** @export */ invoke_viij,
|
|
8815
|
+
/** @export */ invoke_viijii,
|
|
8816
|
+
/** @export */ invoke_vij,
|
|
8817
|
+
/** @export */ invoke_viji,
|
|
8818
|
+
/** @export */ invoke_vijj,
|
|
8819
|
+
/** @export */ invoke_vijjii,
|
|
8820
|
+
/** @export */ llvm_eh_typeid_for: _llvm_eh_typeid_for,
|
|
8723
8821
|
/** @export */ memory: wasmMemory,
|
|
8724
8822
|
/** @export */ random_get: _random_get
|
|
8725
8823
|
};
|
|
8726
8824
|
}
|
|
8727
8825
|
|
|
8826
|
+
function invoke_ii(index, a1) {
|
|
8827
|
+
var sp = stackSave();
|
|
8828
|
+
try {
|
|
8829
|
+
return getWasmTableEntry(index)(a1);
|
|
8830
|
+
} catch (e) {
|
|
8831
|
+
stackRestore(sp);
|
|
8832
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8833
|
+
_setThrew(1, 0);
|
|
8834
|
+
}
|
|
8835
|
+
}
|
|
8836
|
+
|
|
8837
|
+
function invoke_iii(index, a1, a2) {
|
|
8838
|
+
var sp = stackSave();
|
|
8839
|
+
try {
|
|
8840
|
+
return getWasmTableEntry(index)(a1, a2);
|
|
8841
|
+
} catch (e) {
|
|
8842
|
+
stackRestore(sp);
|
|
8843
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8844
|
+
_setThrew(1, 0);
|
|
8845
|
+
}
|
|
8846
|
+
}
|
|
8847
|
+
|
|
8848
|
+
function invoke_viii(index, a1, a2, a3) {
|
|
8849
|
+
var sp = stackSave();
|
|
8850
|
+
try {
|
|
8851
|
+
getWasmTableEntry(index)(a1, a2, a3);
|
|
8852
|
+
} catch (e) {
|
|
8853
|
+
stackRestore(sp);
|
|
8854
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8855
|
+
_setThrew(1, 0);
|
|
8856
|
+
}
|
|
8857
|
+
}
|
|
8858
|
+
|
|
8859
|
+
function invoke_iiji(index, a1, a2, a3) {
|
|
8860
|
+
var sp = stackSave();
|
|
8861
|
+
try {
|
|
8862
|
+
return getWasmTableEntry(index)(a1, a2, a3);
|
|
8863
|
+
} catch (e) {
|
|
8864
|
+
stackRestore(sp);
|
|
8865
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8866
|
+
_setThrew(1, 0);
|
|
8867
|
+
}
|
|
8868
|
+
}
|
|
8869
|
+
|
|
8870
|
+
function invoke_vij(index, a1, a2) {
|
|
8871
|
+
var sp = stackSave();
|
|
8872
|
+
try {
|
|
8873
|
+
getWasmTableEntry(index)(a1, a2);
|
|
8874
|
+
} catch (e) {
|
|
8875
|
+
stackRestore(sp);
|
|
8876
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8877
|
+
_setThrew(1, 0);
|
|
8878
|
+
}
|
|
8879
|
+
}
|
|
8880
|
+
|
|
8881
|
+
function invoke_iijiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
|
|
8882
|
+
var sp = stackSave();
|
|
8883
|
+
try {
|
|
8884
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9);
|
|
8885
|
+
} catch (e) {
|
|
8886
|
+
stackRestore(sp);
|
|
8887
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8888
|
+
_setThrew(1, 0);
|
|
8889
|
+
}
|
|
8890
|
+
}
|
|
8891
|
+
|
|
8892
|
+
function invoke_iij(index, a1, a2) {
|
|
8893
|
+
var sp = stackSave();
|
|
8894
|
+
try {
|
|
8895
|
+
return getWasmTableEntry(index)(a1, a2);
|
|
8896
|
+
} catch (e) {
|
|
8897
|
+
stackRestore(sp);
|
|
8898
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8899
|
+
_setThrew(1, 0);
|
|
8900
|
+
}
|
|
8901
|
+
}
|
|
8902
|
+
|
|
8903
|
+
function invoke_vijj(index, a1, a2, a3) {
|
|
8904
|
+
var sp = stackSave();
|
|
8905
|
+
try {
|
|
8906
|
+
getWasmTableEntry(index)(a1, a2, a3);
|
|
8907
|
+
} catch (e) {
|
|
8908
|
+
stackRestore(sp);
|
|
8909
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8910
|
+
_setThrew(1, 0);
|
|
8911
|
+
}
|
|
8912
|
+
}
|
|
8913
|
+
|
|
8914
|
+
function invoke_vii(index, a1, a2) {
|
|
8915
|
+
var sp = stackSave();
|
|
8916
|
+
try {
|
|
8917
|
+
getWasmTableEntry(index)(a1, a2);
|
|
8918
|
+
} catch (e) {
|
|
8919
|
+
stackRestore(sp);
|
|
8920
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8921
|
+
_setThrew(1, 0);
|
|
8922
|
+
}
|
|
8923
|
+
}
|
|
8924
|
+
|
|
8925
|
+
function invoke_iiij(index, a1, a2, a3) {
|
|
8926
|
+
var sp = stackSave();
|
|
8927
|
+
try {
|
|
8928
|
+
return getWasmTableEntry(index)(a1, a2, a3);
|
|
8929
|
+
} catch (e) {
|
|
8930
|
+
stackRestore(sp);
|
|
8931
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8932
|
+
_setThrew(1, 0);
|
|
8933
|
+
}
|
|
8934
|
+
}
|
|
8935
|
+
|
|
8936
|
+
function invoke_vi(index, a1) {
|
|
8937
|
+
var sp = stackSave();
|
|
8938
|
+
try {
|
|
8939
|
+
getWasmTableEntry(index)(a1);
|
|
8940
|
+
} catch (e) {
|
|
8941
|
+
stackRestore(sp);
|
|
8942
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8943
|
+
_setThrew(1, 0);
|
|
8944
|
+
}
|
|
8945
|
+
}
|
|
8946
|
+
|
|
8947
|
+
function invoke_viijii(index, a1, a2, a3, a4, a5) {
|
|
8948
|
+
var sp = stackSave();
|
|
8949
|
+
try {
|
|
8950
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5);
|
|
8951
|
+
} catch (e) {
|
|
8952
|
+
stackRestore(sp);
|
|
8953
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8954
|
+
_setThrew(1, 0);
|
|
8955
|
+
}
|
|
8956
|
+
}
|
|
8957
|
+
|
|
8958
|
+
function invoke_vijjii(index, a1, a2, a3, a4, a5) {
|
|
8959
|
+
var sp = stackSave();
|
|
8960
|
+
try {
|
|
8961
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5);
|
|
8962
|
+
} catch (e) {
|
|
8963
|
+
stackRestore(sp);
|
|
8964
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8965
|
+
_setThrew(1, 0);
|
|
8966
|
+
}
|
|
8967
|
+
}
|
|
8968
|
+
|
|
8969
|
+
function invoke_iiii(index, a1, a2, a3) {
|
|
8970
|
+
var sp = stackSave();
|
|
8971
|
+
try {
|
|
8972
|
+
return getWasmTableEntry(index)(a1, a2, a3);
|
|
8973
|
+
} catch (e) {
|
|
8974
|
+
stackRestore(sp);
|
|
8975
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8976
|
+
_setThrew(1, 0);
|
|
8977
|
+
}
|
|
8978
|
+
}
|
|
8979
|
+
|
|
8980
|
+
function invoke_viji(index, a1, a2, a3) {
|
|
8981
|
+
var sp = stackSave();
|
|
8982
|
+
try {
|
|
8983
|
+
getWasmTableEntry(index)(a1, a2, a3);
|
|
8984
|
+
} catch (e) {
|
|
8985
|
+
stackRestore(sp);
|
|
8986
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8987
|
+
_setThrew(1, 0);
|
|
8988
|
+
}
|
|
8989
|
+
}
|
|
8990
|
+
|
|
8991
|
+
function invoke_viiiii(index, a1, a2, a3, a4, a5) {
|
|
8992
|
+
var sp = stackSave();
|
|
8993
|
+
try {
|
|
8994
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5);
|
|
8995
|
+
} catch (e) {
|
|
8996
|
+
stackRestore(sp);
|
|
8997
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
8998
|
+
_setThrew(1, 0);
|
|
8999
|
+
}
|
|
9000
|
+
}
|
|
9001
|
+
|
|
9002
|
+
function invoke_viiii(index, a1, a2, a3, a4) {
|
|
9003
|
+
var sp = stackSave();
|
|
9004
|
+
try {
|
|
9005
|
+
getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
9006
|
+
} catch (e) {
|
|
9007
|
+
stackRestore(sp);
|
|
9008
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
9009
|
+
_setThrew(1, 0);
|
|
9010
|
+
}
|
|
9011
|
+
}
|
|
9012
|
+
|
|
9013
|
+
function invoke_iiiii(index, a1, a2, a3, a4) {
|
|
9014
|
+
var sp = stackSave();
|
|
9015
|
+
try {
|
|
9016
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
9017
|
+
} catch (e) {
|
|
9018
|
+
stackRestore(sp);
|
|
9019
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
9020
|
+
_setThrew(1, 0);
|
|
9021
|
+
}
|
|
9022
|
+
}
|
|
9023
|
+
|
|
9024
|
+
function invoke_i(index) {
|
|
9025
|
+
var sp = stackSave();
|
|
9026
|
+
try {
|
|
9027
|
+
return getWasmTableEntry(index)();
|
|
9028
|
+
} catch (e) {
|
|
9029
|
+
stackRestore(sp);
|
|
9030
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
9031
|
+
_setThrew(1, 0);
|
|
9032
|
+
}
|
|
9033
|
+
}
|
|
9034
|
+
|
|
9035
|
+
function invoke_v(index) {
|
|
9036
|
+
var sp = stackSave();
|
|
9037
|
+
try {
|
|
9038
|
+
getWasmTableEntry(index)();
|
|
9039
|
+
} catch (e) {
|
|
9040
|
+
stackRestore(sp);
|
|
9041
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
9042
|
+
_setThrew(1, 0);
|
|
9043
|
+
}
|
|
9044
|
+
}
|
|
9045
|
+
|
|
9046
|
+
function invoke_viiiijijii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
|
|
9047
|
+
var sp = stackSave();
|
|
9048
|
+
try {
|
|
9049
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9);
|
|
9050
|
+
} catch (e) {
|
|
9051
|
+
stackRestore(sp);
|
|
9052
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
9053
|
+
_setThrew(1, 0);
|
|
9054
|
+
}
|
|
9055
|
+
}
|
|
9056
|
+
|
|
9057
|
+
function invoke_ji(index, a1) {
|
|
9058
|
+
var sp = stackSave();
|
|
9059
|
+
try {
|
|
9060
|
+
return getWasmTableEntry(index)(a1);
|
|
9061
|
+
} catch (e) {
|
|
9062
|
+
stackRestore(sp);
|
|
9063
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
9064
|
+
_setThrew(1, 0);
|
|
9065
|
+
return 0n;
|
|
9066
|
+
}
|
|
9067
|
+
}
|
|
9068
|
+
|
|
9069
|
+
function invoke_viij(index, a1, a2, a3) {
|
|
9070
|
+
var sp = stackSave();
|
|
9071
|
+
try {
|
|
9072
|
+
getWasmTableEntry(index)(a1, a2, a3);
|
|
9073
|
+
} catch (e) {
|
|
9074
|
+
stackRestore(sp);
|
|
9075
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
9076
|
+
_setThrew(1, 0);
|
|
9077
|
+
}
|
|
9078
|
+
}
|
|
9079
|
+
|
|
9080
|
+
function invoke_jiii(index, a1, a2, a3) {
|
|
9081
|
+
var sp = stackSave();
|
|
9082
|
+
try {
|
|
9083
|
+
return getWasmTableEntry(index)(a1, a2, a3);
|
|
9084
|
+
} catch (e) {
|
|
9085
|
+
stackRestore(sp);
|
|
9086
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
9087
|
+
_setThrew(1, 0);
|
|
9088
|
+
return 0n;
|
|
9089
|
+
}
|
|
9090
|
+
}
|
|
9091
|
+
|
|
9092
|
+
function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
|
|
9093
|
+
var sp = stackSave();
|
|
9094
|
+
try {
|
|
9095
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6);
|
|
9096
|
+
} catch (e) {
|
|
9097
|
+
stackRestore(sp);
|
|
9098
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
9099
|
+
_setThrew(1, 0);
|
|
9100
|
+
}
|
|
9101
|
+
}
|
|
9102
|
+
|
|
9103
|
+
function invoke_iiijjj(index, a1, a2, a3, a4, a5) {
|
|
9104
|
+
var sp = stackSave();
|
|
9105
|
+
try {
|
|
9106
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5);
|
|
9107
|
+
} catch (e) {
|
|
9108
|
+
stackRestore(sp);
|
|
9109
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
9110
|
+
_setThrew(1, 0);
|
|
9111
|
+
}
|
|
9112
|
+
}
|
|
9113
|
+
|
|
9114
|
+
function invoke_jiiiijijii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
|
|
9115
|
+
var sp = stackSave();
|
|
9116
|
+
try {
|
|
9117
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9);
|
|
9118
|
+
} catch (e) {
|
|
9119
|
+
stackRestore(sp);
|
|
9120
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
9121
|
+
_setThrew(1, 0);
|
|
9122
|
+
return 0n;
|
|
9123
|
+
}
|
|
9124
|
+
}
|
|
9125
|
+
|
|
9126
|
+
function invoke_viiiiijijii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
|
|
9127
|
+
var sp = stackSave();
|
|
9128
|
+
try {
|
|
9129
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
|
|
9130
|
+
} catch (e) {
|
|
9131
|
+
stackRestore(sp);
|
|
9132
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
9133
|
+
_setThrew(1, 0);
|
|
9134
|
+
}
|
|
9135
|
+
}
|
|
9136
|
+
|
|
8728
9137
|
// include: postamble.js
|
|
8729
9138
|
// === Auto-generated postamble setup entry stuff ===
|
|
8730
9139
|
var calledRun;
|
package/dist/libe57-js.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "e57-js",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.7",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"e57",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"exports": {
|
|
33
33
|
".": {
|
|
34
|
+
"browser": "./dist/index.browser.mjs",
|
|
34
35
|
"import": "./dist/index.mjs",
|
|
35
36
|
"require": "./dist/index.cjs"
|
|
36
37
|
}
|
|
@@ -39,8 +40,7 @@
|
|
|
39
40
|
"dist"
|
|
40
41
|
],
|
|
41
42
|
"scripts": {
|
|
42
|
-
"build": "docker compose up --build"
|
|
43
|
-
"test": "node --test --test-concurrency=1 --test-timeout=30000 tests/**/*.test.js"
|
|
43
|
+
"build": "docker compose up --build"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"fs-extra": "^11.3.4",
|