@ifc-lite/viewer 1.17.6 → 1.19.0

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.
Files changed (156) hide show
  1. package/.turbo/turbo-build.log +20 -15
  2. package/.turbo/turbo-typecheck.log +1 -1
  3. package/CHANGELOG.md +949 -0
  4. package/dist/assets/{basketViewActivator-86rgogji.js → basketViewActivator-RZy5c3Td.js} +1 -1
  5. package/dist/assets/decode-worker-Collf_X_.js +1320 -0
  6. package/dist/assets/{exporters-CcPS9MK5.js → exporters-BraHBeoi.js} +4194 -3025
  7. package/dist/assets/{geometry.worker-BFUYA08u.js → geometry.worker-DQEZB2rB.js} +1 -1
  8. package/dist/assets/ifc-lite_bg-4yUkDRD8.wasm +0 -0
  9. package/dist/assets/index-0XpVr_S5.css +1 -0
  10. package/dist/assets/{index-Bfms9I4A.js → index-BOi3BuUI.js} +46423 -31181
  11. package/dist/assets/index-XwKzDuw6.js +22 -0
  12. package/dist/assets/{native-bridge-DUyLCMZS.js → native-bridge-CpBeOPQa.js} +1 -1
  13. package/dist/assets/sandbox-Baez7n-t.js +9682 -0
  14. package/dist/assets/{server-client-BuZK7OST.js → server-client-BB6cMAXE.js} +1 -1
  15. package/dist/assets/{wasm-bridge-JsqEGDV8.js → wasm-bridge-CAYCUHbE.js} +1 -1
  16. package/dist/index.html +6 -6
  17. package/package.json +11 -10
  18. package/src/apache-arrow.d.ts +30 -0
  19. package/src/components/viewer/AddElementPanel.tsx +758 -0
  20. package/src/components/viewer/BulkPropertyEditor.tsx +7 -0
  21. package/src/components/viewer/ChatPanel.tsx +64 -2
  22. package/src/components/viewer/CommandPalette.tsx +56 -7
  23. package/src/components/viewer/EntityContextMenu.tsx +168 -4
  24. package/src/components/viewer/ExportChangesButton.tsx +25 -5
  25. package/src/components/viewer/ExportDialog.tsx +19 -1
  26. package/src/components/viewer/MainToolbar.tsx +73 -12
  27. package/src/components/viewer/PointCloudPanel.tsx +174 -0
  28. package/src/components/viewer/PropertiesPanel.tsx +222 -22
  29. package/src/components/viewer/SearchInline.tsx +669 -0
  30. package/src/components/viewer/SearchModal.filter.builder.tsx +766 -0
  31. package/src/components/viewer/SearchModal.filter.tsx +514 -0
  32. package/src/components/viewer/SearchModal.text.tsx +388 -0
  33. package/src/components/viewer/SearchModal.tsx +235 -0
  34. package/src/components/viewer/ToolOverlays.tsx +5 -0
  35. package/src/components/viewer/ViewerLayout.tsx +24 -4
  36. package/src/components/viewer/Viewport.tsx +29 -2
  37. package/src/components/viewer/ViewportContainer.tsx +45 -5
  38. package/src/components/viewer/ViewportOverlays.tsx +13 -2
  39. package/src/components/viewer/annotations/AnnotationDropInput.tsx +203 -0
  40. package/src/components/viewer/annotations/AnnotationLayer.tsx +287 -0
  41. package/src/components/viewer/annotations/AnnotationPin.tsx +90 -0
  42. package/src/components/viewer/annotations/AnnotationPopover.tsx +296 -0
  43. package/src/components/viewer/bcf/BCFTopicDetail.tsx +1 -1
  44. package/src/components/viewer/lists/ListPanel.tsx +14 -21
  45. package/src/components/viewer/properties/RawStepCard.tsx +332 -0
  46. package/src/components/viewer/properties/RawStepRow.tsx +261 -0
  47. package/src/components/viewer/properties/ScheduleCard.tsx +224 -0
  48. package/src/components/viewer/properties/TaskEditCard.tsx +510 -0
  49. package/src/components/viewer/properties/raw-step-format.ts +193 -0
  50. package/src/components/viewer/schedule/AnimationSettingsPopover.tsx +542 -0
  51. package/src/components/viewer/schedule/GanttDependencyArrows.tsx +89 -0
  52. package/src/components/viewer/schedule/GanttDragTooltip.tsx +48 -0
  53. package/src/components/viewer/schedule/GanttEmptyState.tsx +97 -0
  54. package/src/components/viewer/schedule/GanttPanel.tsx +295 -0
  55. package/src/components/viewer/schedule/GanttTaskBar.tsx +199 -0
  56. package/src/components/viewer/schedule/GanttTaskTree.tsx +250 -0
  57. package/src/components/viewer/schedule/GanttTimeline.tsx +305 -0
  58. package/src/components/viewer/schedule/GanttToolbar.tsx +406 -0
  59. package/src/components/viewer/schedule/GenerateAdvancedPanel.tsx +147 -0
  60. package/src/components/viewer/schedule/GenerateScheduleDialog.tsx +392 -0
  61. package/src/components/viewer/schedule/HeightStrategyPanel.tsx +120 -0
  62. package/src/components/viewer/schedule/generate-schedule.test.ts +439 -0
  63. package/src/components/viewer/schedule/generate-schedule.ts +648 -0
  64. package/src/components/viewer/schedule/schedule-animator.test.ts +452 -0
  65. package/src/components/viewer/schedule/schedule-animator.ts +488 -0
  66. package/src/components/viewer/schedule/schedule-selection.test.ts +148 -0
  67. package/src/components/viewer/schedule/schedule-selection.ts +163 -0
  68. package/src/components/viewer/schedule/schedule-utils.ts +223 -0
  69. package/src/components/viewer/schedule/useConstructionSequence.ts +156 -0
  70. package/src/components/viewer/schedule/useGanttBarDrag.test.ts +90 -0
  71. package/src/components/viewer/schedule/useGanttBarDrag.ts +305 -0
  72. package/src/components/viewer/schedule/useGanttSelection3DHighlight.ts +152 -0
  73. package/src/components/viewer/schedule/useOverlayCompositor.ts +108 -0
  74. package/src/components/viewer/selectionHandlers.ts +446 -0
  75. package/src/components/viewer/tools/AddElementOverlay.tsx +581 -0
  76. package/src/components/viewer/useDuplicateShortcut.ts +77 -0
  77. package/src/components/viewer/useMouseControls.ts +9 -1
  78. package/src/components/viewer/usePointCloudLifecycle.ts +64 -0
  79. package/src/components/viewer/usePointCloudSync.ts +98 -0
  80. package/src/hooks/ingest/pointCloudIngest.ts +391 -0
  81. package/src/hooks/ingest/viewerModelIngest.ts +32 -3
  82. package/src/hooks/useIfcFederation.ts +72 -3
  83. package/src/hooks/useIfcLoader.ts +89 -13
  84. package/src/hooks/useKeyboardShortcuts.ts +25 -0
  85. package/src/hooks/useSandbox.ts +1 -1
  86. package/src/hooks/useSearchIndex.ts +125 -0
  87. package/src/index.css +66 -0
  88. package/src/lib/llm/system-prompt.test.ts +14 -0
  89. package/src/lib/llm/system-prompt.ts +102 -1
  90. package/src/lib/llm/types.ts +6 -0
  91. package/src/lib/recent-files.ts +38 -4
  92. package/src/lib/scripts/templates/bim-globals.d.ts +136 -114
  93. package/src/lib/scripts/templates/construction-schedule.ts +223 -0
  94. package/src/lib/scripts/templates.ts +7 -0
  95. package/src/lib/search/common-ifc-types.ts +36 -0
  96. package/src/lib/search/filter-evaluate.test.ts +537 -0
  97. package/src/lib/search/filter-evaluate.ts +610 -0
  98. package/src/lib/search/filter-rules.test.ts +119 -0
  99. package/src/lib/search/filter-rules.ts +198 -0
  100. package/src/lib/search/filter-schema.test.ts +233 -0
  101. package/src/lib/search/filter-schema.ts +146 -0
  102. package/src/lib/search/recent-searches.test.ts +116 -0
  103. package/src/lib/search/recent-searches.ts +93 -0
  104. package/src/lib/search/result-export.test.ts +101 -0
  105. package/src/lib/search/result-export.ts +104 -0
  106. package/src/lib/search/saved-filters.test.ts +118 -0
  107. package/src/lib/search/saved-filters.ts +154 -0
  108. package/src/lib/search/tier0-scan.test.ts +196 -0
  109. package/src/lib/search/tier0-scan.ts +237 -0
  110. package/src/lib/search/tier1-index.test.ts +242 -0
  111. package/src/lib/search/tier1-index.ts +448 -0
  112. package/src/sdk/adapters/export-adapter.test.ts +434 -1
  113. package/src/sdk/adapters/export-adapter.ts +404 -1
  114. package/src/sdk/adapters/export-schedule-splice.test.ts +127 -0
  115. package/src/sdk/adapters/export-schedule-splice.ts +87 -0
  116. package/src/sdk/adapters/model-compat.ts +8 -2
  117. package/src/sdk/adapters/schedule-adapter.ts +73 -0
  118. package/src/sdk/adapters/store-adapter.ts +201 -0
  119. package/src/sdk/adapters/visibility-adapter.ts +3 -0
  120. package/src/sdk/local-backend.ts +16 -8
  121. package/src/services/desktop-export.ts +3 -1
  122. package/src/services/desktop-native-metadata.ts +41 -18
  123. package/src/services/file-dialog.ts +8 -3
  124. package/src/services/tauri-modules.d.ts +25 -0
  125. package/src/store/basketVisibleSet.ts +3 -0
  126. package/src/store/globalId.ts +4 -1
  127. package/src/store/index.ts +79 -1
  128. package/src/store/slices/addElementMeshes.ts +365 -0
  129. package/src/store/slices/addElementSlice.ts +275 -0
  130. package/src/store/slices/annotationsSlice.test.ts +133 -0
  131. package/src/store/slices/annotationsSlice.ts +251 -0
  132. package/src/store/slices/dataSlice.test.ts +23 -4
  133. package/src/store/slices/dataSlice.ts +1 -1
  134. package/src/store/slices/modelSlice.test.ts +67 -9
  135. package/src/store/slices/modelSlice.ts +39 -7
  136. package/src/store/slices/mutationSlice.ts +964 -3
  137. package/src/store/slices/overlayCompositor.test.ts +164 -0
  138. package/src/store/slices/overlaySlice.test.ts +93 -0
  139. package/src/store/slices/overlaySlice.ts +151 -0
  140. package/src/store/slices/pinboardSlice.test.ts +6 -1
  141. package/src/store/slices/playbackSlice.ts +128 -0
  142. package/src/store/slices/pointCloudSlice.ts +102 -0
  143. package/src/store/slices/schedule-edit-helpers.test.ts +97 -0
  144. package/src/store/slices/schedule-edit-helpers.ts +179 -0
  145. package/src/store/slices/scheduleSlice.test.ts +694 -0
  146. package/src/store/slices/scheduleSlice.ts +1330 -0
  147. package/src/store/slices/searchSlice.test.ts +342 -0
  148. package/src/store/slices/searchSlice.ts +341 -0
  149. package/src/store/slices/selectionSlice.test.ts +46 -0
  150. package/src/store/slices/selectionSlice.ts +20 -0
  151. package/src/store/types.ts +7 -0
  152. package/src/store.ts +14 -0
  153. package/vite.config.ts +1 -0
  154. package/dist/assets/ifc-lite_bg-BINvzoCP.wasm +0 -0
  155. package/dist/assets/index-_bfZsDCC.css +0 -1
  156. package/dist/assets/sandbox-C8575tul.js +0 -5951
@@ -0,0 +1,22 @@
1
+ function Dn(D,Je){return Je.forEach(function(H){H&&typeof H!="string"&&!Array.isArray(H)&&Object.keys(H).forEach(function(Y){if(Y!=="default"&&!(Y in D)){var G=Object.getOwnPropertyDescriptor(H,Y);Object.defineProperty(D,Y,G.get?G:{enumerable:!0,get:function(){return H[Y]}})}})}),Object.freeze(D)}var At=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},j={},kt={exports:{}};(function(D,Je){var H=(()=>{var Y=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return function(G){G=G||{};var i=typeof G<"u"?G:{},Ke,Pe;i.ready=new Promise(function(e,t){Ke=e,Pe=t}),["_main","___getTypeName","__embind_initialize_bindings","_fflush","onRuntimeInitialized"].forEach(e=>{Object.getOwnPropertyDescriptor(i.ready,e)||Object.defineProperty(i.ready,e,{get:()=>F("You are getting "+e+" 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"),set:()=>F("You are setting "+e+" 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 qe=Object.assign({},i),Xe="./this.program",Dt=!0;if(i.ENVIRONMENT)throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var W="";function Mt(e){return i.locateFile?i.locateFile(e,W):W+e}var Lt;if(typeof document<"u"&&document.currentScript&&(W=document.currentScript.src),Y&&(W=Y),W.indexOf("blob:")!==0?W=W.substr(0,W.replace(/[?#].*/,"").lastIndexOf("/")+1):W="",!(typeof window=="object"||typeof importScripts=="function"))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?)");var Ut=i.print||console.log.bind(console),P=i.printErr||console.warn.bind(console);Object.assign(i,qe),qe=null,Fn(),i.arguments&&i.arguments,M("arguments","arguments_"),i.thisProgram&&(Xe=i.thisProgram),M("thisProgram","thisProgram"),i.quit&&i.quit,M("quit","quit_"),d(typeof i.memoryInitializerPrefixURL>"u","Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),d(typeof i.pthreadMainPrefixURL>"u","Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),d(typeof i.cdInitializerPrefixURL>"u","Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),d(typeof i.filePackagePrefixURL>"u","Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),d(typeof i.read>"u","Module.read option was removed (modify read_ in JS)"),d(typeof i.readAsync>"u","Module.readAsync option was removed (modify readAsync in JS)"),d(typeof i.readBinary>"u","Module.readBinary option was removed (modify readBinary in JS)"),d(typeof i.setWindowTitle>"u","Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),d(typeof i.TOTAL_MEMORY>"u","Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),M("read","read_"),M("readAsync","readAsync"),M("readBinary","readBinary"),M("setWindowTitle","setWindowTitle"),d(!0,"worker environment detected but not enabled at build time. Add 'worker' to `-sENVIRONMENT` to enable."),d(!0,"node environment detected but not enabled at build time. Add 'node' to `-sENVIRONMENT` to enable."),d(!0,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable.");function M(e,t){Object.getOwnPropertyDescriptor(i,e)||Object.defineProperty(i,e,{configurable:!0,get:function(){F("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}function $t(e){Object.getOwnPropertyDescriptor(i,e)&&F("`Module."+e+"` was supplied but `"+e+"` not included in INCOMING_MODULE_JS_API")}function Qe(e){return e==="FS_createPath"||e==="FS_createDataFile"||e==="FS_createPreloadedFile"||e==="FS_unlink"||e==="addRunDependency"||e==="FS_createLazyFile"||e==="FS_createDevice"||e==="removeRunDependency"}function Wt(e){typeof globalThis<"u"&&!Object.getOwnPropertyDescriptor(globalThis,e)&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line";Qe(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),K(t)}})}function Nt(e){Object.getOwnPropertyDescriptor(i,e)||Object.defineProperty(i,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";Qe(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),F(t)}})}var ne;i.wasmBinary&&(ne=i.wasmBinary),M("wasmBinary","wasmBinary"),i.noExitRuntime,M("noExitRuntime","noExitRuntime"),typeof WebAssembly!="object"&&F("no native wasm support detected");var ie,pe=!1;function d(e,t){e||F("Assertion failed"+(t?": "+t:""))}var Ze=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function et(e,t,r){for(var n=t+r,a=t;e[a]&&!(a>=n);)++a;if(a-t>16&&e.buffer&&Ze)return Ze.decode(e.subarray(t,a));for(var s="";t<a;){var u=e[t++];if(!(u&128)){s+=String.fromCharCode(u);continue}var o=e[t++]&63;if((u&224)==192){s+=String.fromCharCode((u&31)<<6|o);continue}var l=e[t++]&63;if((u&240)==224?u=(u&15)<<12|o<<6|l:((u&248)!=240&&K("Invalid UTF-8 leading byte 0x"+u.toString(16)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),u=(u&7)<<18|o<<12|l<<6|e[t++]&63),u<65536)s+=String.fromCharCode(u);else{var f=u-65536;s+=String.fromCharCode(55296|f>>10,56320|f&1023)}}return s}function Se(e,t){return e?et(S,e,t):""}function tt(e,t,r,n){if(!(n>0))return 0;for(var a=r,s=r+n-1,u=0;u<e.length;++u){var o=e.charCodeAt(u);if(o>=55296&&o<=57343){var l=e.charCodeAt(++u);o=65536+((o&1023)<<10)|l&1023}if(o<=127){if(r>=s)break;t[r++]=o}else if(o<=2047){if(r+1>=s)break;t[r++]=192|o>>6,t[r++]=128|o&63}else if(o<=65535){if(r+2>=s)break;t[r++]=224|o>>12,t[r++]=128|o>>6&63,t[r++]=128|o&63}else{if(r+3>=s)break;o>1114111&&K("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-0x10FFFF)."),t[r++]=240|o>>18,t[r++]=128|o>>12&63,t[r++]=128|o>>6&63,t[r++]=128|o&63}}return t[r]=0,r-a}function xt(e,t,r){return d(typeof r=="number","stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),tt(e,S,t,r)}function rt(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}var ge,L,S,X,me,y,v,nt,it;function at(e){ge=e,i.HEAP8=L=new Int8Array(e),i.HEAP16=X=new Int16Array(e),i.HEAP32=y=new Int32Array(e),i.HEAPU8=S=new Uint8Array(e),i.HEAPU16=me=new Uint16Array(e),i.HEAPU32=v=new Uint32Array(e),i.HEAPF32=nt=new Float32Array(e),i.HEAPF64=it=new Float64Array(e)}var Fe=65536;i.TOTAL_STACK&&d(Fe===i.TOTAL_STACK,"the stack size can no longer be determined at runtime");var Ae=i.INITIAL_MEMORY||262144;M("INITIAL_MEMORY","INITIAL_MEMORY"),d(Ae>=Fe,"INITIAL_MEMORY should be larger than TOTAL_STACK, was "+Ae+"! (TOTAL_STACK="+Fe+")"),d(typeof Int32Array<"u"&&typeof Float64Array<"u"&&Int32Array.prototype.subarray!=null&&Int32Array.prototype.set!=null,"JS engine does not provide full typed array support"),d(!i.wasmMemory,"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),d(Ae==262144,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var _e;function jt(){var e=Be();d((e&3)==0),v[e>>2]=34821223,v[e+4>>2]=2310721022,v[0]=1668509029}function ke(){if(!pe){var e=Be(),t=v[e>>2],r=v[e+4>>2];(t!=34821223||r!=2310721022)&&F("Stack overflow! Stack cookie has been overwritten at 0x"+e.toString(16)+", expected hex dwords 0x89BACDFE and 0x2135467, but received 0x"+r.toString(16)+" 0x"+t.toString(16)),v[0]!==1668509029&&F("Runtime error: The application has corrupted its heap memory area (address zero)!")}}(function(){var e=new Int16Array(1),t=new Int8Array(e.buffer);if(e[0]=25459,t[0]!==115||t[1]!==99)throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)"})();var ot=[],st=[],lt=[],Ie=!1;function Ht(){if(i.preRun)for(typeof i.preRun=="function"&&(i.preRun=[i.preRun]);i.preRun.length;)zt(i.preRun.shift());Oe(ot)}function Yt(){d(!Ie),Ie=!0,ke(),Oe(st)}function Gt(){if(ke(),i.postRun)for(typeof i.postRun=="function"&&(i.postRun=[i.postRun]);i.postRun.length;)Vt(i.postRun.shift());Oe(lt)}function zt(e){ot.unshift(e)}function Bt(e){st.unshift(e)}function Vt(e){lt.unshift(e)}d(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),d(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),d(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),d(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 V=0,J=null,ae=null,oe={};function Jt(e){V++,i.monitorRunDependencies&&i.monitorRunDependencies(V),d(!oe[e]),oe[e]=1,J===null&&typeof setInterval<"u"&&(J=setInterval(function(){if(pe){clearInterval(J),J=null;return}var t=!1;for(var r in oe)t||(t=!0,P("still waiting on run dependencies:")),P("dependency: "+r);t&&P("(end of list)")},1e4))}function Kt(e){if(V--,i.monitorRunDependencies&&i.monitorRunDependencies(V),d(oe[e]),delete oe[e],V==0&&(J!==null&&(clearInterval(J),J=null),ae)){var t=ae;ae=null,t()}}function F(e){i.onAbort&&i.onAbort(e),e="Aborted("+e+")",P(e),pe=!0;var t=new WebAssembly.RuntimeError(e);throw Pe(t),t}var O={error:function(){F("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){O.error()},createDataFile:function(){O.error()},createPreloadedFile:function(){O.error()},createLazyFile:function(){O.error()},open:function(){O.error()},mkdev:function(){O.error()},registerDevice:function(){O.error()},analyzePath:function(){O.error()},loadFilesFromDB:function(){O.error()},ErrnoError:function(){O.error()}};i.FS_createDataFile=O.createDataFile,i.FS_createPreloadedFile=O.createPreloadedFile;var qt="data:application/octet-stream;base64,";function ut(e){return e.startsWith(qt)}function Xt(e){return e.startsWith("file://")}function T(e,t){return function(){var r=e,n=t;return n=i.asm,d(Ie,"native function `"+r+"` called before runtime initialization"),n[e]||d(n[e],"exported native function `"+r+"` not found"),n[e].apply(null,arguments)}}var k;k="laz-perf.wasm",ut(k)||(k=Mt(k));function ct(e){try{if(e==k&&ne)return new Uint8Array(ne);throw"both async and sync fetching of the wasm failed"}catch(t){F(t)}}function Qt(){return!ne&&Dt&&typeof fetch=="function"?fetch(k,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+k+"'";return e.arrayBuffer()}).catch(function(){return ct(k)}):Promise.resolve().then(function(){return ct(k)})}function Zt(){var e={env:Pt,wasi_snapshot_preview1:Pt};function t(o,l){var f=o.exports;i.asm=f,ie=i.asm.memory,d(ie,"memory not found in wasm exports"),at(ie.buffer),_e=i.asm.__indirect_function_table,d(_e,"table not found in wasm exports"),Bt(i.asm.__wasm_call_ctors),Kt("wasm-instantiate")}Jt("wasm-instantiate");var r=i;function n(o){d(i===r,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),r=null,t(o.instance)}function a(o){return Qt().then(function(l){return WebAssembly.instantiate(l,e)}).then(function(l){return l}).then(o,function(l){P("failed to asynchronously prepare wasm: "+l),Xt(k)&&P("warning: Loading from a file URI ("+k+") 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"),F(l)})}function s(){return!ne&&typeof WebAssembly.instantiateStreaming=="function"&&!ut(k)&&typeof fetch=="function"?fetch(k,{credentials:"same-origin"}).then(function(o){var l=WebAssembly.instantiateStreaming(o,e);return l.then(n,function(f){return P("wasm streaming compile failed: "+f),P("falling back to ArrayBuffer instantiation"),a(n)})}):a(n)}if(i.instantiateWasm)try{var u=i.instantiateWasm(e,t);return u}catch(o){return P("Module.instantiateWasm callback failed with error: "+o),!1}return s().catch(Pe),{}}function Oe(e){for(;e.length>0;)e.shift()(i)}function K(e){K.shown||(K.shown={}),K.shown[e]||(K.shown[e]=1,P(e))}function er(e,t){d(e.length>=0,"writeArrayToMemory array must have a length (should be an array or typed array)"),L.set(e,t)}function tr(e){return ze(e+24)+24}function rr(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(t){v[this.ptr+4>>2]=t},this.get_type=function(){return v[this.ptr+4>>2]},this.set_destructor=function(t){v[this.ptr+8>>2]=t},this.get_destructor=function(){return v[this.ptr+8>>2]},this.set_refcount=function(t){y[this.ptr>>2]=t},this.set_caught=function(t){t=t?1:0,L[this.ptr+12>>0]=t},this.get_caught=function(){return L[this.ptr+12>>0]!=0},this.set_rethrown=function(t){t=t?1:0,L[this.ptr+13>>0]=t},this.get_rethrown=function(){return L[this.ptr+13>>0]!=0},this.init=function(t,r){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(r),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var t=y[this.ptr>>2];y[this.ptr>>2]=t+1},this.release_ref=function(){var t=y[this.ptr>>2];return y[this.ptr>>2]=t-1,d(t>0),t===1},this.set_adjusted_ptr=function(t){v[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return v[this.ptr+16>>2]},this.get_exception_ptr=function(){var t=kn(this.get_type());if(t)return v[this.excPtr>>2];var r=this.get_adjusted_ptr();return r!==0?r:this.excPtr}}function nr(e,t,r){var n=new rr(e);throw n.init(t,r),e+" - Exception catching is disabled, this exception cannot be caught. Compile with -sNO_DISABLE_EXCEPTION_CATCHING or -sEXCEPTION_CATCHING_ALLOWED=[..] to catch."}function ir(e,t,r,n,a){}function Re(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 ar(){for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);ft=e}var ft=void 0;function R(e){for(var t="",r=e;S[r];)t+=ft[S[r++]];return t}var Q={},Z={},he={},or=48,sr=57;function De(e){if(e===void 0)return"_unknown";e=e.replace(/[^a-zA-Z0-9_]/g,"$");var t=e.charCodeAt(0);return t>=or&&t<=sr?"_"+e:e}function Me(e,t){return e=De(e),new Function("body","return function "+e+`() {
2
+ "use strict"; return body.apply(this, arguments);
3
+ };
4
+ `)(t)}function Le(e,t){var r=Me(t,function(n){this.name=t,this.message=n;var a=new Error(n).stack;a!==void 0&&(this.stack=this.toString()+`
5
+ `+a.replace(/^Error(:[^\n]*)?\n/,""))});return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return this.message===void 0?this.name:this.name+": "+this.message},r}var ee=void 0;function h(e){throw new ee(e)}var dt=void 0;function ve(e){throw new dt(e)}function se(e,t,r){e.forEach(function(o){he[o]=t});function n(o){var l=r(o);l.length!==e.length&&ve("Mismatched type converter count");for(var f=0;f<e.length;++f)N(e[f],l[f])}var a=new Array(t.length),s=[],u=0;t.forEach((o,l)=>{Z.hasOwnProperty(o)?a[l]=Z[o]:(s.push(o),Q.hasOwnProperty(o)||(Q[o]=[]),Q[o].push(()=>{a[l]=Z[o],++u,u===s.length&&n(a)}))}),s.length===0&&n(a)}function N(e,t,r={}){if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=t.name;if(e||h('type "'+n+'" must have a positive integer typeid pointer'),Z.hasOwnProperty(e)){if(r.ignoreDuplicateRegistrations)return;h("Cannot register type '"+n+"' twice")}if(Z[e]=t,delete he[e],Q.hasOwnProperty(e)){var a=Q[e];delete Q[e],a.forEach(s=>s())}}function lr(e,t,r,n,a){var s=Re(r);t=R(t),N(e,{name:t,fromWireType:function(u){return!!u},toWireType:function(u,o){return o?n:a},argPackAdvance:8,readValueFromPointer:function(u){var o;if(r===1)o=L;else if(r===2)o=X;else if(r===4)o=y;else throw new TypeError("Unknown boolean type size: "+t);return this.fromWireType(o[u>>s])},destructorFunction:null})}function ur(e){if(!(this instanceof z)||!(e instanceof z))return!1;for(var t=this.$$.ptrType.registeredClass,r=this.$$.ptr,n=e.$$.ptrType.registeredClass,a=e.$$.ptr;t.baseClass;)r=t.upcast(r),t=t.baseClass;for(;n.baseClass;)a=n.upcast(a),n=n.baseClass;return t===n&&r===a}function cr(e){return{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}}function Ue(e){function t(r){return r.$$.ptrType.registeredClass.name}h(t(e)+" instance already deleted")}var $e=!1;function pt(e){}function fr(e){e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)}function gt(e){e.count.value-=1;var t=e.count.value===0;t&&fr(e)}function mt(e,t,r){if(t===r)return e;if(r.baseClass===void 0)return null;var n=mt(e,t,r.baseClass);return n===null?null:r.downcast(n)}var _t={};function dr(){return Object.keys(ce).length}function pr(){var e=[];for(var t in ce)ce.hasOwnProperty(t)&&e.push(ce[t]);return e}var le=[];function We(){for(;le.length;){var e=le.pop();e.$$.deleteScheduled=!1,e.delete()}}var ue=void 0;function gr(e){ue=e,le.length&&ue&&ue(We)}function mr(){i.getInheritedInstanceCount=dr,i.getLiveInheritedInstances=pr,i.flushPendingDeletes=We,i.setDelayFunction=gr}var ce={};function _r(e,t){for(t===void 0&&h("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t}function hr(e,t){return t=_r(e,t),ce[t]}function ye(e,t){(!t.ptrType||!t.ptr)&&ve("makeClassHandle requires ptr and ptrType");var r=!!t.smartPtrType,n=!!t.smartPtr;return r!==n&&ve("Both smartPtrType and smartPtr must be specified"),t.count={value:1},fe(Object.create(e,{$$:{value:t}}))}function ht(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var r=hr(this.registeredClass,t);if(r!==void 0){if(r.$$.count.value===0)return r.$$.ptr=t,r.$$.smartPtr=e,r.clone();var n=r.clone();return this.destructor(e),n}function a(){return this.isSmartPointer?ye(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):ye(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var s=this.registeredClass.getActualType(t),u=_t[s];if(!u)return a.call(this);var o;this.isConst?o=u.constPointerType:o=u.pointerType;var l=mt(t,this.registeredClass,o.registeredClass);return l===null?a.call(this):this.isSmartPointer?ye(o.registeredClass.instancePrototype,{ptrType:o,ptr:l,smartPtrType:this,smartPtr:e}):ye(o.registeredClass.instancePrototype,{ptrType:o,ptr:l})}function fe(e){return typeof FinalizationRegistry>"u"?(fe=t=>t,e):($e=new FinalizationRegistry(t=>{console.warn(t.leakWarning.stack.replace(/^Error: /,"")),gt(t.$$)}),fe=t=>{var r=t.$$,n=!!r.smartPtr;if(n){var a={$$:r},s=r.ptrType.registeredClass;a.leakWarning=new Error("Embind found a leaked C++ instance "+s.name+" <0x"+r.ptr.toString(16)+`>.
6
+ We'll free it automatically in this case, but this functionality is not reliable across various environments.
7
+ Make sure to invoke .delete() manually once you're done with the instance instead.
8
+ Originally allocated`),"captureStackTrace"in Error&&Error.captureStackTrace(a.leakWarning,ht),$e.register(t,a,t)}return t},pt=t=>$e.unregister(t),fe(e))}function vr(){if(this.$$.ptr||Ue(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e=fe(Object.create(Object.getPrototypeOf(this),{$$:{value:cr(this.$$)}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e}function yr(){this.$$.ptr||Ue(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&h("Object already scheduled for deletion"),pt(this),gt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function br(){return!this.$$.ptr}function Tr(){return this.$$.ptr||Ue(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&h("Object already scheduled for deletion"),le.push(this),le.length===1&&ue&&ue(We),this.$$.deleteScheduled=!0,this}function wr(){z.prototype.isAliasOf=ur,z.prototype.clone=vr,z.prototype.delete=yr,z.prototype.isDeleted=br,z.prototype.deleteLater=Tr}function z(){}function vt(e,t,r){if(e[t].overloadTable===void 0){var n=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||h("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 Cr(e,t,r){i.hasOwnProperty(e)?(h("Cannot register public name '"+e+"' twice"),vt(i,e,e),i.hasOwnProperty(r)&&h("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),i[e].overloadTable[r]=t):i[e]=t}function Er(e,t,r,n,a,s,u,o){this.name=e,this.constructor=t,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=a,this.getActualType=s,this.upcast=u,this.downcast=o,this.pureVirtualFunctions=[]}function Ne(e,t,r){for(;t!==r;)t.upcast||h("Expected null or instance of "+r.name+", got an instance of "+t.name),e=t.upcast(e),t=t.baseClass;return e}function Pr(e,t){if(t===null)return this.isReference&&h("null is not a valid "+this.name),0;t.$$||h('Cannot pass "'+re(t)+'" as a '+this.name),t.$$.ptr||h("Cannot pass deleted object as a pointer of type "+this.name);var r=t.$$.ptrType.registeredClass,n=Ne(t.$$.ptr,r,this.registeredClass);return n}function Sr(e,t){var r;if(t===null)return this.isReference&&h("null is not a valid "+this.name),this.isSmartPointer?(r=this.rawConstructor(),e!==null&&e.push(this.rawDestructor,r),r):0;t.$$||h('Cannot pass "'+re(t)+'" as a '+this.name),t.$$.ptr||h("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&t.$$.ptrType.isConst&&h("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=Ne(t.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(t.$$.smartPtr===void 0&&h("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?r=t.$$.smartPtr:h("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 a=t.clone();r=this.rawShare(r,Ye.toHandle(function(){a.delete()})),e!==null&&e.push(this.rawDestructor,r)}break;default:h("Unsupporting sharing policy")}return r}function Fr(e,t){if(t===null)return this.isReference&&h("null is not a valid "+this.name),0;t.$$||h('Cannot pass "'+re(t)+'" as a '+this.name),t.$$.ptr||h("Cannot pass deleted object as a pointer of type "+this.name),t.$$.ptrType.isConst&&h("Cannot convert argument of type "+t.$$.ptrType.name+" to parameter type "+this.name);var r=t.$$.ptrType.registeredClass,n=Ne(t.$$.ptr,r,this.registeredClass);return n}function be(e){return this.fromWireType(y[e>>2])}function Ar(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e}function kr(e){this.rawDestructor&&this.rawDestructor(e)}function Ir(e){e!==null&&e.delete()}function Or(){x.prototype.getPointee=Ar,x.prototype.destructor=kr,x.prototype.argPackAdvance=8,x.prototype.readValueFromPointer=be,x.prototype.deleteObject=Ir,x.prototype.fromWireType=ht}function x(e,t,r,n,a,s,u,o,l,f,_){this.name=e,this.registeredClass=t,this.isReference=r,this.isConst=n,this.isSmartPointer=a,this.pointeeType=s,this.sharingPolicy=u,this.rawGetPointee=o,this.rawConstructor=l,this.rawShare=f,this.rawDestructor=_,!a&&t.baseClass===void 0?n?(this.toWireType=Pr,this.destructorFunction=null):(this.toWireType=Fr,this.destructorFunction=null):this.toWireType=Sr}function Rr(e,t,r){i.hasOwnProperty(e)||ve("Replacing nonexistant public symbol"),i[e].overloadTable!==void 0&&r!==void 0||(i[e]=t,i[e].argCount=r)}function Dr(e,t,r){d("dynCall_"+e in i,"bad function pointer type - no table for sig '"+e+"'"),r&&r.length?d(r.length===e.substring(1).replace(/j/g,"--").length):d(e.length==1);var n=i["dynCall_"+e];return r&&r.length?n.apply(null,[t].concat(r)):n.call(null,t)}var Te=[];function xe(e){var t=Te[e];return t||(e>=Te.length&&(Te.length=e+1),Te[e]=t=_e.get(e)),d(_e.get(e)==t,"JavaScript-side Wasm function table mirror is out of date!"),t}function Mr(e,t,r){if(e.includes("j"))return Dr(e,t,r);d(xe(t),"missing table entry in dynCall: "+t);var n=xe(t).apply(null,r);return n}function Lr(e,t){d(e.includes("j")||e.includes("p"),"getDynCaller should only be called with i64 sigs");var r=[];return function(){return r.length=0,Object.assign(r,arguments),Mr(e,t,r)}}function te(e,t){e=R(e);function r(){return e.includes("j")?Lr(e,t):xe(t)}var n=r();return typeof n!="function"&&h("unknown function pointer with signature "+e+": "+t),n}var yt=void 0;function Ur(e){var t=An(e),r=R(t);return B(t),r}function je(e,t){var r=[],n={};function a(s){if(!n[s]&&!Z[s]){if(he[s]){he[s].forEach(a);return}r.push(s),n[s]=!0}}throw t.forEach(a),new yt(e+": "+r.map(Ur).join([", "]))}function $r(e,t,r,n,a,s,u,o,l,f,_,m,g){_=R(_),s=te(a,s),o&&(o=te(u,o)),f&&(f=te(l,f)),g=te(m,g);var b=De(_);Cr(b,function(){je("Cannot construct "+_+" due to unbound types",[n])}),se([e,t,r],n?[n]:[],function(w){w=w[0];var E,I;n?(E=w.registeredClass,I=E.instancePrototype):I=z.prototype;var $=Me(b,function(){if(Object.getPrototypeOf(this)!==c)throw new ee("Use 'new' to construct "+_);if(p.constructor_body===void 0)throw new ee(_+" has no accessible constructor");var Ee=p.constructor_body[arguments.length];if(Ee===void 0)throw new ee("Tried to invoke ctor of "+_+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(p.constructor_body).toString()+") parameters instead!");return Ee.apply(this,arguments)}),c=Object.create(I,{constructor:{value:$}});$.prototype=c;var p=new Er(_,$,c,g,E,s,o,f),A=new x(_,p,!0,!1,!1),C=new x(_+"*",p,!1,!1,!1),q=new x(_+" const*",p,!1,!0,!1);return _t[e]={pointerType:C,constPointerType:q},Rr(b,$),[A,C,q]})}function bt(e,t){for(var r=[],n=0;n<e;n++)r.push(v[t+n*4>>2]);return r}function Wr(e){for(;e.length;){var t=e.pop(),r=e.pop();r(t)}}function Nr(e,t){if(!(e instanceof Function))throw new TypeError("new_ called with constructor type "+typeof e+" which is not a function");var r=Me(e.name||"unknownFunctionName",function(){});r.prototype=e.prototype;var n=new r,a=e.apply(n,t);return a instanceof Object?a:n}function Tt(e,t,r,n,a){var s=t.length;s<2&&h("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var u=t[1]!==null&&r!==null,o=!1,l=1;l<t.length;++l)if(t[l]!==null&&t[l].destructorFunction===void 0){o=!0;break}for(var f=t[0].name!=="void",_="",m="",l=0;l<s-2;++l)_+=(l!==0?", ":"")+"arg"+l,m+=(l!==0?", ":"")+"arg"+l+"Wired";var g="return function "+De(e)+"("+_+`) {
9
+ if (arguments.length !== `+(s-2)+`) {
10
+ throwBindingError('function `+e+" called with ' + arguments.length + ' arguments, expected "+(s-2)+` args!');
11
+ }
12
+ `;o&&(g+=`var destructors = [];
13
+ `);var b=o?"destructors":"null",w=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],E=[h,n,a,Wr,t[0],t[1]];u&&(g+="var thisWired = classParam.toWireType("+b+`, this);
14
+ `);for(var l=0;l<s-2;++l)g+="var arg"+l+"Wired = argType"+l+".toWireType("+b+", arg"+l+"); // "+t[l+2].name+`
15
+ `,w.push("argType"+l),E.push(t[l+2]);if(u&&(m="thisWired"+(m.length>0?", ":"")+m),g+=(f?"var rv = ":"")+"invoker(fn"+(m.length>0?", ":"")+m+`);
16
+ `,o)g+=`runDestructors(destructors);
17
+ `;else for(var l=u?1:2;l<t.length;++l){var I=l===1?"thisWired":"arg"+(l-2)+"Wired";t[l].destructorFunction!==null&&(g+=I+"_dtor("+I+"); // "+t[l].name+`
18
+ `,w.push(I+"_dtor"),E.push(t[l].destructorFunction))}f&&(g+=`var ret = retType.fromWireType(rv);
19
+ return ret;
20
+ `),g+=`}
21
+ `,w.push(g);var $=Nr(Function,w).apply(null,E);return $}function xr(e,t,r,n,a,s){d(t>0);var u=bt(t,r);a=te(n,a),se([],[e],function(o){o=o[0];var l="constructor "+o.name;if(o.registeredClass.constructor_body===void 0&&(o.registeredClass.constructor_body=[]),o.registeredClass.constructor_body[t-1]!==void 0)throw new ee("Cannot register multiple constructors with identical number of parameters ("+(t-1)+") for class '"+o.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return o.registeredClass.constructor_body[t-1]=()=>{je("Cannot construct "+o.name+" due to unbound types",u)},se([],u,function(f){return f.splice(1,0,null),o.registeredClass.constructor_body[t-1]=Tt(l,f,null,a,s),[]}),[]})}function jr(e,t,r,n,a,s,u,o){var l=bt(r,n);t=R(t),s=te(a,s),se([],[e],function(f){f=f[0];var _=f.name+"."+t;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),o&&f.registeredClass.pureVirtualFunctions.push(t);function m(){je("Cannot call "+_+" due to unbound types",l)}var g=f.registeredClass.instancePrototype,b=g[t];return b===void 0||b.overloadTable===void 0&&b.className!==f.name&&b.argCount===r-2?(m.argCount=r-2,m.className=f.name,g[t]=m):(vt(g,t,_),g[t].overloadTable[r-2]=m),se([],l,function(w){var E=Tt(_,w,f,s,u);return g[t].overloadTable===void 0?(E.argCount=r-2,g[t]=E):g[t].overloadTable[r-2]=E,[]}),[]})}var He=[],U=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function Hr(e){e>4&&--U[e].refcount===0&&(U[e]=void 0,He.push(e))}function Yr(){for(var e=0,t=5;t<U.length;++t)U[t]!==void 0&&++e;return e}function Gr(){for(var e=5;e<U.length;++e)if(U[e]!==void 0)return U[e];return null}function zr(){i.count_emval_handles=Yr,i.get_first_emval=Gr}var Ye={toValue:e=>(e||h("Cannot use deleted val. handle = "+e),U[e].value),toHandle:e=>{switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:{var t=He.length?He.pop():U.length;return U[t]={refcount:1,value:e},t}}}};function Br(e,t){t=R(t),N(e,{name:t,fromWireType:function(r){var n=Ye.toValue(r);return Hr(r),n},toWireType:function(r,n){return Ye.toHandle(n)},argPackAdvance:8,readValueFromPointer:be,destructorFunction:null})}function re(e){if(e===null)return"null";var t=typeof e;return t==="object"||t==="array"||t==="function"?e.toString():""+e}function Vr(e,t){switch(t){case 2:return function(r){return this.fromWireType(nt[r>>2])};case 3:return function(r){return this.fromWireType(it[r>>3])};default:throw new TypeError("Unknown float type: "+e)}}function Jr(e,t,r){var n=Re(r);t=R(t),N(e,{name:t,fromWireType:function(a){return a},toWireType:function(a,s){if(typeof s!="number"&&typeof s!="boolean")throw new TypeError('Cannot convert "'+re(s)+'" to '+this.name);return s},argPackAdvance:8,readValueFromPointer:Vr(t,n),destructorFunction:null})}function Kr(e,t,r){switch(t){case 0:return r?function(a){return L[a]}:function(a){return S[a]};case 1:return r?function(a){return X[a>>1]}:function(a){return me[a>>1]};case 2:return r?function(a){return y[a>>2]}:function(a){return v[a>>2]};default:throw new TypeError("Unknown integer type: "+e)}}function qr(e,t,r,n,a){t=R(t),a===-1&&(a=4294967295);var s=Re(r),u=m=>m;if(n===0){var o=32-8*r;u=m=>m<<o>>>o}var l=t.includes("unsigned"),f=(m,g)=>{if(typeof m!="number"&&typeof m!="boolean")throw new TypeError('Cannot convert "'+re(m)+'" to '+g);if(m<n||m>a)throw new TypeError('Passing a number "'+re(m)+'" from JS side to C/C++ side to an argument of type "'+t+'", which is outside the valid range ['+n+", "+a+"]!")},_;l?_=function(m,g){return f(g,this.name),g>>>0}:_=function(m,g){return f(g,this.name),g},N(e,{name:t,fromWireType:u,toWireType:_,argPackAdvance:8,readValueFromPointer:Kr(t,s,n!==0),destructorFunction:null})}function Xr(e,t,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],a=n[t];function s(u){u=u>>2;var o=v,l=o[u],f=o[u+1];return new a(ge,f,l)}r=R(r),N(e,{name:r,fromWireType:s,argPackAdvance:8,readValueFromPointer:s},{ignoreDuplicateRegistrations:!0})}function Qr(e,t){t=R(t);var r=t==="std::string";N(e,{name:t,fromWireType:function(n){var a=v[n>>2],s=n+4,u;if(r)for(var o=s,l=0;l<=a;++l){var f=s+l;if(l==a||S[f]==0){var _=f-o,m=Se(o,_);u===void 0?u=m:(u+="\0",u+=m),o=f+1}}else{for(var g=new Array(a),l=0;l<a;++l)g[l]=String.fromCharCode(S[s+l]);u=g.join("")}return B(n),u},toWireType:function(n,a){a instanceof ArrayBuffer&&(a=new Uint8Array(a));var s,u=typeof a=="string";u||a instanceof Uint8Array||a instanceof Uint8ClampedArray||a instanceof Int8Array||h("Cannot pass non-string to std::string"),r&&u?s=rt(a):s=a.length;var o=ze(4+s+1),l=o+4;if(v[o>>2]=s,r&&u)xt(a,l,s+1);else if(u)for(var f=0;f<s;++f){var _=a.charCodeAt(f);_>255&&(B(l),h("String has UTF-16 code units that do not fit in 8 bits")),S[l+f]=_}else for(var f=0;f<s;++f)S[l+f]=a[f];return n!==null&&n.push(B,o),o},argPackAdvance:8,readValueFromPointer:be,destructorFunction:function(n){B(n)}})}var wt=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0;function Zr(e,t){d(e%2==0,"Pointer passed to UTF16ToString must be aligned to two bytes!");for(var r=e,n=r>>1,a=n+t/2;!(n>=a)&&me[n];)++n;if(r=n<<1,r-e>32&&wt)return wt.decode(S.subarray(e,r));for(var s="",u=0;!(u>=t/2);++u){var o=X[e+u*2>>1];if(o==0)break;s+=String.fromCharCode(o)}return s}function en(e,t,r){if(d(t%2==0,"Pointer passed to stringToUTF16 must be aligned to two bytes!"),d(typeof r=="number","stringToUTF16(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),r===void 0&&(r=2147483647),r<2)return 0;r-=2;for(var n=t,a=r<e.length*2?r/2:e.length,s=0;s<a;++s){var u=e.charCodeAt(s);X[t>>1]=u,t+=2}return X[t>>1]=0,t-n}function tn(e){return e.length*2}function rn(e,t){d(e%4==0,"Pointer passed to UTF32ToString must be aligned to four bytes!");for(var r=0,n="";!(r>=t/4);){var a=y[e+r*4>>2];if(a==0)break;if(++r,a>=65536){var s=a-65536;n+=String.fromCharCode(55296|s>>10,56320|s&1023)}else n+=String.fromCharCode(a)}return n}function nn(e,t,r){if(d(t%4==0,"Pointer passed to stringToUTF32 must be aligned to four bytes!"),d(typeof r=="number","stringToUTF32(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),r===void 0&&(r=2147483647),r<4)return 0;for(var n=t,a=n+r-4,s=0;s<e.length;++s){var u=e.charCodeAt(s);if(u>=55296&&u<=57343){var o=e.charCodeAt(++s);u=65536+((u&1023)<<10)|o&1023}if(y[t>>2]=u,t+=4,t+4>a)break}return y[t>>2]=0,t-n}function an(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 on(e,t,r){r=R(r);var n,a,s,u,o;t===2?(n=Zr,a=en,u=tn,s=()=>me,o=1):t===4&&(n=rn,a=nn,u=an,s=()=>v,o=2),N(e,{name:r,fromWireType:function(l){for(var f=v[l>>2],_=s(),m,g=l+4,b=0;b<=f;++b){var w=l+4+b*t;if(b==f||_[w>>o]==0){var E=w-g,I=n(g,E);m===void 0?m=I:(m+="\0",m+=I),g=w+t}}return B(l),m},toWireType:function(l,f){typeof f!="string"&&h("Cannot pass non-string to C++ string type "+r);var _=u(f),m=ze(4+_+t);return v[m>>2]=_>>o,a(f,m+4,_+t),l!==null&&l.push(B,m),m},argPackAdvance:8,readValueFromPointer:be,destructorFunction:function(l){B(l)}})}function sn(e,t){t=R(t),N(e,{isVoid:!0,name:t,argPackAdvance:0,fromWireType:function(){},toWireType:function(r,n){}})}function ln(){F("native code called abort()")}function un(e,t,r){S.copyWithin(e,t,t+r)}function cn(){return 2147483648}function fn(e){try{return ie.grow(e-ge.byteLength+65535>>>16),at(ie.buffer),1}catch(t){P("emscripten_realloc_buffer: Attempted to grow heap from "+ge.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}function dn(e){var t=S.length;e=e>>>0,d(e>t);var r=cn();if(e>r)return P("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is "+r+" bytes!"),!1;let n=(l,f)=>l+(f-l%f)%f;for(var a=1;a<=4;a*=2){var s=t*(1+.2/a);s=Math.min(s,e+100663296);var u=Math.min(r,n(Math.max(e,s),65536)),o=fn(u);if(o)return!0}return P("Failed to grow the heap from "+t+" bytes to "+u+" bytes, not enough memory!"),!1}var Ge={};function pn(){return Xe||"./this.program"}function de(){if(!de.strings){var e=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:e,_:pn()};for(var r in Ge)Ge[r]===void 0?delete t[r]:t[r]=Ge[r];var n=[];for(var r in t)n.push(r+"="+t[r]);de.strings=n}return de.strings}function gn(e,t,r){for(var n=0;n<e.length;++n)d(e.charCodeAt(n)===(e.charCodeAt(n)&255)),L[t++>>0]=e.charCodeAt(n);L[t>>0]=0}function mn(e,t){var r=0;return de().forEach(function(n,a){var s=t+r;v[e+a*4>>2]=s,gn(n,s),r+=n.length+1}),0}function _n(e,t){var r=de();v[e>>2]=r.length;var n=0;return r.forEach(function(a){n+=a.length+1}),v[t>>2]=n,0}function hn(e){F("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")}function vn(e,t,r,n,a){return 70}var yn=[null,[],[]];function bn(e,t){var r=yn[e];d(r),t===0||t===10?((e===1?Ut:P)(et(r,0)),r.length=0):r.push(t)}function Tn(e,t,r,n){for(var a=0,s=0;s<r;s++){var u=v[t>>2],o=v[t+4>>2];t+=8;for(var l=0;l<o;l++)bn(e,S[u+l]);a+=o}return v[n>>2]=a,0}function we(e){return e%4===0&&(e%100!==0||e%400===0)}function wn(e,t){for(var r=0,n=0;n<=t;r+=e[n++]);return r}var Ct=[31,29,31,30,31,30,31,31,30,31,30,31],Et=[31,28,31,30,31,30,31,31,30,31,30,31];function Cn(e,t){for(var r=new Date(e.getTime());t>0;){var n=we(r.getFullYear()),a=r.getMonth(),s=(n?Ct:Et)[a];if(t>s-r.getDate())t-=s-r.getDate()+1,r.setDate(1),a<11?r.setMonth(a+1):(r.setMonth(0),r.setFullYear(r.getFullYear()+1));else return r.setDate(r.getDate()+t),r}return r}function En(e,t,r){var n=rt(e)+1,a=new Array(n);return tt(e,a,0,a.length),a}function Pn(e,t,r,n){var a=y[n+40>>2],s={tm_sec:y[n>>2],tm_min:y[n+4>>2],tm_hour:y[n+8>>2],tm_mday:y[n+12>>2],tm_mon:y[n+16>>2],tm_year:y[n+20>>2],tm_wday:y[n+24>>2],tm_yday:y[n+28>>2],tm_isdst:y[n+32>>2],tm_gmtoff:y[n+36>>2],tm_zone:a?Se(a):""},u=Se(r),o={"%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 l in o)u=u.replace(new RegExp(l,"g"),o[l]);var f=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],_=["January","February","March","April","May","June","July","August","September","October","November","December"];function m(c,p,A){for(var C=typeof c=="number"?c.toString():c||"";C.length<p;)C=A[0]+C;return C}function g(c,p){return m(c,p,"0")}function b(c,p){function A(q){return q<0?-1:q>0?1:0}var C;return(C=A(c.getFullYear()-p.getFullYear()))===0&&(C=A(c.getMonth()-p.getMonth()))===0&&(C=A(c.getDate()-p.getDate())),C}function w(c){switch(c.getDay()){case 0:return new Date(c.getFullYear()-1,11,29);case 1:return c;case 2:return new Date(c.getFullYear(),0,3);case 3:return new Date(c.getFullYear(),0,2);case 4:return new Date(c.getFullYear(),0,1);case 5:return new Date(c.getFullYear()-1,11,31);case 6:return new Date(c.getFullYear()-1,11,30)}}function E(c){var p=Cn(new Date(c.tm_year+1900,0,1),c.tm_yday),A=new Date(p.getFullYear(),0,4),C=new Date(p.getFullYear()+1,0,4),q=w(A),Ee=w(C);return b(q,p)<=0?b(Ee,p)<=0?p.getFullYear()+1:p.getFullYear():p.getFullYear()-1}var I={"%a":function(c){return f[c.tm_wday].substring(0,3)},"%A":function(c){return f[c.tm_wday]},"%b":function(c){return _[c.tm_mon].substring(0,3)},"%B":function(c){return _[c.tm_mon]},"%C":function(c){var p=c.tm_year+1900;return g(p/100|0,2)},"%d":function(c){return g(c.tm_mday,2)},"%e":function(c){return m(c.tm_mday,2," ")},"%g":function(c){return E(c).toString().substring(2)},"%G":function(c){return E(c)},"%H":function(c){return g(c.tm_hour,2)},"%I":function(c){var p=c.tm_hour;return p==0?p=12:p>12&&(p-=12),g(p,2)},"%j":function(c){return g(c.tm_mday+wn(we(c.tm_year+1900)?Ct:Et,c.tm_mon-1),3)},"%m":function(c){return g(c.tm_mon+1,2)},"%M":function(c){return g(c.tm_min,2)},"%n":function(){return`
22
+ `},"%p":function(c){return c.tm_hour>=0&&c.tm_hour<12?"AM":"PM"},"%S":function(c){return g(c.tm_sec,2)},"%t":function(){return" "},"%u":function(c){return c.tm_wday||7},"%U":function(c){var p=c.tm_yday+7-c.tm_wday;return g(Math.floor(p/7),2)},"%V":function(c){var p=Math.floor((c.tm_yday+7-(c.tm_wday+6)%7)/7);if((c.tm_wday+371-c.tm_yday-2)%7<=2&&p++,p){if(p==53){var C=(c.tm_wday+371-c.tm_yday)%7;C!=4&&(C!=3||!we(c.tm_year))&&(p=1)}}else{p=52;var A=(c.tm_wday+7-c.tm_yday-1)%7;(A==4||A==5&&we(c.tm_year%400-1))&&p++}return g(p,2)},"%w":function(c){return c.tm_wday},"%W":function(c){var p=c.tm_yday+7-(c.tm_wday+6)%7;return g(Math.floor(p/7),2)},"%y":function(c){return(c.tm_year+1900).toString().substring(2)},"%Y":function(c){return c.tm_year+1900},"%z":function(c){var p=c.tm_gmtoff,A=p>=0;return p=Math.abs(p)/60,p=p/60*100+p%60,(A?"+":"-")+("0000"+p).slice(-4)},"%Z":function(c){return c.tm_zone},"%%":function(){return"%"}};u=u.replace(/%%/g,"\0\0");for(var l in I)u.includes(l)&&(u=u.replace(new RegExp(l,"g"),I[l](s)));u=u.replace(/\0\0/g,"%");var $=En(u);return $.length>t?0:(er($,e),$.length-1)}function Sn(e,t,r,n){return Pn(e,t,r,n)}ar(),ee=i.BindingError=Le(Error,"BindingError"),dt=i.InternalError=Le(Error,"InternalError"),wr(),mr(),Or(),yt=i.UnboundTypeError=Le(Error,"UnboundTypeError"),zr();function Fn(){$t("fetchSettings")}var Pt={__cxa_allocate_exception:tr,__cxa_throw:nr,_embind_register_bigint:ir,_embind_register_bool:lr,_embind_register_class:$r,_embind_register_class_constructor:xr,_embind_register_class_function:jr,_embind_register_emval:Br,_embind_register_float:Jr,_embind_register_integer:qr,_embind_register_memory_view:Xr,_embind_register_std_string:Qr,_embind_register_std_wstring:on,_embind_register_void:sn,abort:ln,emscripten_memcpy_big:un,emscripten_resize_heap:dn,environ_get:mn,environ_sizes_get:_n,fd_close:hn,fd_seek:vn,fd_write:Tn,strftime_l:Sn};Zt(),i.___wasm_call_ctors=T("__wasm_call_ctors");var ze=i._malloc=T("malloc"),B=i._free=T("free"),An=i.___getTypeName=T("__getTypeName");i.__embind_initialize_bindings=T("_embind_initialize_bindings"),i.___errno_location=T("__errno_location"),i._fflush=T("fflush");var St=i._emscripten_stack_init=function(){return(St=i._emscripten_stack_init=i.asm.emscripten_stack_init).apply(null,arguments)};i._emscripten_stack_get_free=function(){return(i._emscripten_stack_get_free=i.asm.emscripten_stack_get_free).apply(null,arguments)},i._emscripten_stack_get_base=function(){return(i._emscripten_stack_get_base=i.asm.emscripten_stack_get_base).apply(null,arguments)};var Be=i._emscripten_stack_get_end=function(){return(Be=i._emscripten_stack_get_end=i.asm.emscripten_stack_get_end).apply(null,arguments)};i.stackSave=T("stackSave"),i.stackRestore=T("stackRestore"),i.stackAlloc=T("stackAlloc");var kn=i.___cxa_is_pointer_type=T("__cxa_is_pointer_type");i.dynCall_viijii=T("dynCall_viijii"),i.dynCall_ji=T("dynCall_ji"),i.dynCall_jiji=T("dynCall_jiji"),i.dynCall_iiiiij=T("dynCall_iiiiij"),i.dynCall_iiiiijj=T("dynCall_iiiiijj"),i.dynCall_iiiiiijj=T("dynCall_iiiiiijj");var In=["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","print","printErr","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readAsmConstArgsArray","readAsmConstArgs","mainThreadEM_ASM","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate","InternalError","BindingError","UnboundTypeError","PureVirtualError","init_embind","throwInternalError","throwBindingError","throwUnboundTypeError","ensureOverloadTable","exposePublicSymbol","replacePublicSymbol","extendError","createNamedFunction","embindRepr","registeredInstances","getBasestPointer","registerInheritedInstance","unregisterInheritedInstance","getInheritedInstance","getInheritedInstanceCount","getLiveInheritedInstances","registeredTypes","awaitingDependencies","typeDependencies","registeredPointers","registerType","whenDependentTypesAreResolved","embind_charCodes","embind_init_charCodes","readLatin1String","getTypeName","heap32VectorToArray","requireRegisteredType","getShiftFromSize","integerReadValueFromPointer","enumReadValueFromPointer","floatReadValueFromPointer","simpleReadValueFromPointer","runDestructors","new_","craftInvokerFunction","embind__requireFunction","tupleRegistrations","structRegistrations","genericPointerToWireType","constNoSmartPtrRawPointerToWireType","nonConstNoSmartPtrRawPointerToWireType","init_RegisteredPointer","RegisteredPointer","RegisteredPointer_getPointee","RegisteredPointer_destructor","RegisteredPointer_deleteObject","RegisteredPointer_fromWireType","runDestructor","releaseClassHandle","finalizationRegistry","detachFinalizer_deps","detachFinalizer","attachFinalizer","makeClassHandle","init_ClassHandle","ClassHandle","ClassHandle_isAliasOf","throwInstanceAlreadyDeleted","ClassHandle_clone","ClassHandle_delete","deletionQueue","ClassHandle_isDeleted","ClassHandle_deleteLater","flushPendingDeletes","delayFunction","setDelayFunction","RegisteredClass","shallowCopyInternalPointer","downcastPointer","upcastPointer","validateThis","char_0","char_9","makeLegalFunctionName","emval_handle_array","emval_free_list","emval_symbols","init_emval","count_emval_handles","get_first_emval","getStringOrSymbol","Emval","emval_newers","craftEmvalAllocator","emval_get_global","emval_lookupTypes","emval_allocateDestructors","emval_methodCallers","emval_addMethodCaller","emval_registeredMethods"];In.forEach(Nt);var On=["ptrToString","zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readAsmConstArgs","mainThreadEM_ASM","jstoi_q","jstoi_s","listenOnce","autoResumeAudioContext","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","reallyNegative","unSign","strLen","reSign","formatString","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","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","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","checkWasiClock","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","registerInheritedInstance","unregisterInheritedInstance","requireRegisteredType","enumReadValueFromPointer","validateThis","getStringOrSymbol","craftEmvalAllocator","emval_get_global","emval_lookupTypes","emval_allocateDestructors","emval_addMethodCaller"];On.forEach(Wt);var Ce;ae=function e(){Ce||Ft(),Ce||(ae=e)};function Rn(){St(),jt()}function Ft(e){if(V>0||(Rn(),Ht(),V>0))return;function t(){Ce||(Ce=!0,i.calledRun=!0,!pe&&(Yt(),Ke(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),d(!i._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),Gt()))}i.setStatus?(i.setStatus("Running..."),setTimeout(function(){setTimeout(function(){i.setStatus("")},1),t()},1)):t(),ke()}if(i.preInit)for(typeof i.preInit=="function"&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return Ft(),G.ready}})();D.exports=H})(kt);var Mn=kt.exports,Ln=At&&At.__importDefault||function(D){return D&&D.__esModule?D:{default:D}};Object.defineProperty(j,"__esModule",{value:!0});var It=j.LazPerf=Rt=j.create=Ot=j.createLazPerf=void 0;const Ve=Ln(Mn);var Ot=j.createLazPerf=Ve.default,Rt=j.create=Ve.default;It=j.LazPerf={create:Ve.default};var Un=Dn({__proto__:null,get LazPerf(){return It},get create(){return Rt},get createLazPerf(){return Ot},default:j},[j]);export{Un as i};
@@ -1,4 +1,4 @@
1
- import { _ as $, __tla as __tla_0 } from "./exporters-CcPS9MK5.js";
1
+ import { _ as $, __tla as __tla_0 } from "./exporters-BraHBeoi.js";
2
2
  import "./bcf-DOG9_WPX.js";
3
3
  import "./zip-DBEtpeu6.js";
4
4
  import "./cesium-DUOzBlqv.js";