@volter/game-editor 0.5.65 → 0.5.66

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 (544) hide show
  1. package/BUNDLED_NOTICES +1962 -363
  2. package/catalog/entries/bake.json +0 -1
  3. package/catalog/entries/blender.json +2 -2
  4. package/catalog/entries/reflections.json +2 -4
  5. package/catalog/project-source/src/lib/bake/asset-seed.ts +1 -2
  6. package/catalog/project-source/src/lib/bake/clip-layering.ts +3 -4
  7. package/catalog/project-source/src/lib/bake/gltf-bake.ts +1 -1
  8. package/catalog/project-source/src/lib/bake/params.ts +3 -5
  9. package/catalog/project-source/src/lib/bake/rest-relative-animation.ts +2 -3
  10. package/dist/.vite/manifest.json +2406 -2182
  11. package/dist/assets/{AssetBudgetPanel-J9--TZPU.js → AssetBudgetPanel-csYWK2H4.js} +8 -8
  12. package/dist/assets/{AudioViewer-CR7333fe.js → AudioViewer-BH_LUYs5.js} +1 -1
  13. package/dist/assets/{BVHLoader-6bQIXhMX.js → BVHLoader-Jkzh8hMf.js} +1 -1
  14. package/dist/assets/BufferGeometryUtils-CAbuTPOA.js +1 -0
  15. package/dist/assets/{CCDIKSolver-CD7vLpsK.js → CCDIKSolver-D4NvkJ8d.js} +1 -1
  16. package/dist/assets/{CSS3DRenderer-CL7ABLVK.js → CSS3DRenderer-CAS2WZZy.js} +1 -1
  17. package/dist/assets/CanvasSceneViewport-BlsRTk-X.js +1 -0
  18. package/dist/assets/ColladaLoader-DxYB89DA.js +3 -0
  19. package/dist/assets/{ColorInput-DQBNrW-K.js → ColorInput-CPQNsDf1.js} +1 -1
  20. package/dist/assets/{ConvexGeometry-CAzXlPVG.js → ConvexGeometry-Dinf-sev.js} +1 -1
  21. package/dist/assets/{ConvexHull-BINCESFp.js → ConvexHull-CrJ8FY-w.js} +1 -1
  22. package/dist/assets/{DecalGeometry-160KRdfg.js → DecalGeometry-owkbefLa.js} +1 -1
  23. package/dist/assets/EffectComposer-BHDH-NLz.js +1 -0
  24. package/dist/assets/EntityModelDocument-DuQivdvc.js +1 -0
  25. package/dist/assets/EnvironmentAssetDocument-CnTEMn3A.js +1 -0
  26. package/dist/assets/FBXLoader-BMUbIhtE.js +1 -0
  27. package/dist/assets/Fbo-DrK7CWlB.js +1 -0
  28. package/dist/assets/{FontLoader-CvGoVI5a.js → FontLoader-BR_K6Baw.js} +2 -2
  29. package/dist/assets/GLTFExporter-BZqAQJbw.js +1 -0
  30. package/dist/assets/{GameplaySessionTimeline-B52W3FVZ.js → GameplaySessionTimeline-Crqwv2fP.js} +1 -1
  31. package/dist/assets/Gltf-7cVbZUzT.js +2 -0
  32. package/dist/assets/ImageViewer-BkFie7Hm.js +1 -0
  33. package/dist/assets/InspectorObjectPreview-Dl3tyJBn.js +1 -0
  34. package/dist/assets/JsonAssetDocument-BUFzubHM.js +2 -0
  35. package/dist/assets/{LineSegments2-CsOpKSiM.js → LineSegments2-Cicm_Hu1.js} +2 -2
  36. package/dist/assets/LiveModuleDocument-C3OQxiba.js +1 -0
  37. package/dist/assets/LutAssetDocument-DVzd1RZ9.js +1 -0
  38. package/dist/assets/{MTLLoader-_Xzd4_0p.js → MTLLoader-Bg_grNiT.js} +2 -2
  39. package/dist/assets/{MarchingCubes-Bsp4wrzd.js → MarchingCubes-a78AL3HB.js} +1 -1
  40. package/dist/assets/MeshBVH-BCSLNEeP.js +1 -0
  41. package/dist/assets/ModelAssetDocument-pN84goRT.js +1 -0
  42. package/dist/assets/{NonThreeAuthoringBootstrap-C3woOMxX.js → NonThreeAuthoringBootstrap-BKNejRiW.js} +1 -1
  43. package/dist/assets/{OBJLoader-BhIC6Hwo.js → OBJLoader-BiwzVj5b.js} +2 -2
  44. package/dist/assets/Object3DDocumentToolbar-D5Bg5FEf.js +1 -0
  45. package/dist/assets/Object3DDocumentViewport-DFHqru3a.js +2 -0
  46. package/dist/assets/Object3DPreview-BTtZ-41z.js +2 -0
  47. package/dist/assets/OnlineAssetDetail-BAqozdAp.js +1 -0
  48. package/dist/assets/{OrbitControls-DLpayAaK.js → OrbitControls-CzKVCORl.js} +1 -1
  49. package/dist/assets/{OrbitControls-CM3bPray.js → OrbitControls-CzTRRI7x.js} +1 -1
  50. package/dist/assets/{OrthographicCamera-bQozawrh.js → OrthographicCamera-CSDDsvu7.js} +1 -1
  51. package/dist/assets/{PLYLoader-DYQqs5Ik.js → PLYLoader-QxrxxMpE.js} +2 -2
  52. package/dist/assets/{PerspectiveCamera-CQ2lh01o.js → PerspectiveCamera-DzD_NfVh.js} +1 -1
  53. package/dist/assets/PlayBar-qVJpgwJt.js +2 -0
  54. package/dist/assets/QuarksAssetDocument-B4vBlUsS.js +2 -0
  55. package/dist/assets/RGBELoader-WQ7xZofE.js +1 -0
  56. package/dist/assets/RectAreaLightUniformsLib-CwcuoVqt.js +1 -0
  57. package/dist/assets/{RenderPass-DPrn-Uky.js → RenderPass-C_CeQNdh.js} +1 -1
  58. package/dist/assets/{ResolutionPicker-C67vs1F3.js → ResolutionPicker-DpHVJxn5.js} +1 -1
  59. package/dist/assets/RootSelectionOverlay-BxvsunO4.js +1 -0
  60. package/dist/assets/{RoundedBox-BDGBg6QZ.js → RoundedBox-B_cZ0NFy.js} +1 -1
  61. package/dist/assets/{RoundedBoxGeometry-CyUuYPfW.js → RoundedBoxGeometry-Y4rcSIvX.js} +1 -1
  62. package/dist/assets/STLLoader-Bej_Nkpr.js +1 -0
  63. package/dist/assets/{SelectionBox-D_75KrNW.js → SelectionBox-Cn9vm7f9.js} +1 -1
  64. package/dist/assets/ShaderAssetDocument-Dx2x8CLr.js +12 -0
  65. package/dist/assets/{ShaderPass-QYRpPuFJ.js → ShaderPass-qtkA7CQ8.js} +1 -1
  66. package/dist/assets/{ShadowEditor-DkImwu1Y.js → ShadowEditor-BEIUkrHL.js} +1 -1
  67. package/dist/assets/SimplifyModifier-D2EesGr2.js +1 -0
  68. package/dist/assets/{SkeletonUtils-Cps8GOC6.js → SkeletonUtils-C8ayciDc.js} +1 -1
  69. package/dist/assets/{Sky-CQKCgYDs.js → Sky-BBpnAJZV.js} +1 -1
  70. package/dist/assets/SourceAssetViewer-BpMbbuy6.js +1 -0
  71. package/dist/assets/StageHost-lB8f---y.js +2 -0
  72. package/dist/assets/{StoryPreviewMount-DjyxRCXu.js → StoryPreviewMount-BIfxmkYh.js} +1 -1
  73. package/dist/assets/{TDSLoader-D_T8XJ81.js → TDSLoader-rHl5Uwc0.js} +1 -1
  74. package/dist/assets/{TextGeometry-DOWAEUV0.js → TextGeometry-BRHSufuM.js} +1 -1
  75. package/dist/assets/ThreeBoardDocument-BHV92Ia3.js +2 -0
  76. package/dist/assets/{ThreeIsolationSceneContent-C8C8whSF.js → ThreeIsolationSceneContent-BqtgDHBK.js} +1 -1
  77. package/dist/assets/{ToolObject3DPreview-BRoDWe4Q.js → ToolObject3DPreview-CcaPJTyH.js} +1 -1
  78. package/dist/assets/Toolbar-keHcSvDD.js +1 -0
  79. package/dist/assets/{TrackballControls-DfznuQTh.js → TrackballControls-Cce-6Ff5.js} +1 -1
  80. package/dist/assets/{TransientHint-BB1fwrvK.js → TransientHint-Dlslh3oX.js} +1 -1
  81. package/dist/assets/{UnrealBloomPass-CR-cS_K5.js → UnrealBloomPass-DiseEiFK.js} +2 -2
  82. package/dist/assets/{VideoViewer-C6kocgIU.js → VideoViewer-naGSXHd6.js} +1 -1
  83. package/dist/assets/ViewportShadingMenu-C7Hdhtca.js +1 -0
  84. package/dist/assets/{active-ingest-CT6jSGhr.js → active-ingest-DEgq9JiA.js} +3 -3
  85. package/dist/assets/{animation-clock-CnjZqfJp.js → animation-clock-lTIb6nk3.js} +1 -1
  86. package/dist/assets/animation-mixers.service-2O2rVwQf.js +1 -0
  87. package/dist/assets/asset-budget-asset.menu-9NhdHAC9.js +1 -0
  88. package/dist/assets/asset-budget.action-yg6-luUJ.js +1 -0
  89. package/dist/assets/asset-budget.document-B46_VFqa.js +1 -0
  90. package/dist/assets/asset-budget.menu-DuH07N-e.js +1 -0
  91. package/dist/assets/{asset-editor-persistence-BBaONOJt.js → asset-editor-persistence-BVtzjadu.js} +1 -1
  92. package/dist/assets/{asset-loaders-BOy5Ss8k.js → asset-loaders-BxG1LykH.js} +2 -2
  93. package/dist/assets/{assets-BuSoGjBX.js → assets-Do88ZdV_.js} +1 -1
  94. package/dist/assets/{audio-unlock.service-CfUgUQVy.js → audio-unlock.service-BJH0mWvX.js} +1 -1
  95. package/dist/assets/{audio.utility-C6K6jem8.js → audio.utility-Cp4aVYFU.js} +1 -1
  96. package/dist/assets/autoplay.service-FxpRy7Ev.js +1 -0
  97. package/dist/assets/{babylon-authoring-adapter-CL02gWDn.js → babylon-authoring-adapter-B_8iE8fK.js} +1 -1
  98. package/dist/assets/{binding-resolver-Dsh-6Vor.js → binding-resolver-BWwG10zJ.js} +2 -2
  99. package/dist/assets/blender-emscripten-engine-CEsWgnR7.js +2 -0
  100. package/dist/assets/{blender-node-editor.document-iIDkB9sI.js → blender-node-editor.document-DTgwy8KC.js} +1 -1
  101. package/dist/assets/blender-properties-tab-DWSJpkxq.js +3 -0
  102. package/dist/assets/blender-runtime-host-OGjPjTrG.js +4 -0
  103. package/dist/assets/{blender-runtime-skin-DyQ9B6CR.js → blender-runtime-skin-DymtXlpt.js} +37 -39
  104. package/dist/assets/blender-runtime.document-CzH2ohHR.js +8 -0
  105. package/dist/assets/{blender-timeline.document-77fx96N7.js → blender-timeline.document-BRy_QPHt.js} +1 -1
  106. package/dist/assets/{blender-uv-editor.document-fsT7B4gV.js → blender-uv-editor.document-D-AbUCqz.js} +1 -1
  107. package/dist/assets/{blender-version.status-o6dBm3n6.js → blender-version.status-B7flzX_7.js} +1 -1
  108. package/dist/assets/{blender-wali-engine-wTOcrOMC.js → blender-wali-engine-D3iKpzn9.js} +1 -1
  109. package/dist/assets/blender.command-BVHtgTQy.js +1 -0
  110. package/dist/assets/blender.environment-CG-pC7sk.js +1 -0
  111. package/dist/assets/{blender.style-Dcem5f_T.js → blender.style-CxfbTFcE.js} +1 -1
  112. package/dist/assets/{board-guides-DziKSTss.js → board-guides-C3usUZZk.js} +1 -1
  113. package/dist/assets/body-marks-D8iaje6y.js +1 -0
  114. package/dist/assets/bridge.command-BF9u6r0A.js +3 -0
  115. package/dist/assets/browserAll-38aBu-cf.js +1 -0
  116. package/dist/assets/{build-profiles.document-kW8iw8Xj.js → build-profiles.document-DO7oNRuo.js} +2 -2
  117. package/dist/assets/{build-progress.status-BNRLytg2.js → build-progress.status-COeNVhYd.js} +1 -1
  118. package/dist/assets/{build-session-C_sg3CEn.js → build-session-IWIriS5P.js} +1 -1
  119. package/dist/assets/{build.action-lYjTLb7K.js → build.action-DlkFvZf6.js} +1 -1
  120. package/dist/assets/{build.command-DIGgUPU_.js → build.command-DPqQIYj_.js} +1 -1
  121. package/dist/assets/{build.header-CKajx5U3.js → build.header-CNLG-pV8.js} +1 -1
  122. package/dist/assets/{build.menu-BdU0QXny.js → build.menu-hUlH6loi.js} +1 -1
  123. package/dist/assets/{build.service-CbBAyeu3.js → build.service-C86Td3_9.js} +1 -1
  124. package/dist/assets/{camera-KEsKvOL7.js → camera-CKbyBXMe.js} +1 -1
  125. package/dist/assets/camera-authoring-Ci3KnE-W.js +1 -0
  126. package/dist/assets/{camera-runtime.inspector-B7unX4g1.js → camera-runtime.inspector-DdR3P2BF.js} +1 -1
  127. package/dist/assets/canvas-entry-runtime-E5YjSgre.js +2 -0
  128. package/dist/assets/canvas-preview-frames-CiAx7dpV.js +1 -0
  129. package/dist/assets/{capability-coverage-Czas4C18.js → capability-coverage-CfUeULDN.js} +5 -5
  130. package/dist/assets/city-EkhAOo5s.exr +0 -0
  131. package/dist/assets/{collaboration-presence-DLoZ7EA3.js → collaboration-presence-CSLFNT7m.js} +1 -1
  132. package/dist/assets/{collider-Bw0mXlsW.js → collider-DRSaLRM9.js} +1 -1
  133. package/dist/assets/{component-board.service-DCwcUssB.js → component-board.service-B7Sv8b7m.js} +2 -2
  134. package/dist/assets/component-board.service-B8UHw8dn.js +2 -0
  135. package/dist/assets/component-contracts.service-LFGekycZ.js +1 -0
  136. package/dist/assets/{component-verbs.command-7xzfjGMZ.js → component-verbs.command-D4SvFjfG.js} +1 -1
  137. package/dist/assets/component-verbs.service-TGvWxf2b.js +1 -0
  138. package/dist/assets/{config-CEZk921y.js → config-DB_RH-hO.js} +3 -3
  139. package/dist/assets/{configurations-DTBMdaTL.js → configurations-C2qgJNnW.js} +1 -1
  140. package/dist/assets/{connection.status-BifnQdOs.js → connection.status-CG7X2brL.js} +1 -1
  141. package/dist/assets/{console-bridge-CHcb-xk5.js → console-bridge-B5Ltae37.js} +1 -1
  142. package/dist/assets/{constraint-De8f1Uiq.js → constraint-C_Jj7dXy.js} +1 -1
  143. package/dist/assets/constraints.inspector-D6QZJS4b.js +1 -0
  144. package/dist/assets/courtyard-DqlebbpC.exr +0 -0
  145. package/dist/assets/coverage.service-Clo86874.js +3 -0
  146. package/dist/assets/{create-runtime-CVCc1BDx.js → create-runtime-lmA910XT.js} +1 -1
  147. package/dist/assets/{curve-7Q79VgU4.js → curve-6-TR6dNb.js} +1 -1
  148. package/dist/assets/{data-asset-4hjS642k.js → data-asset-BNbd309U.js} +1 -1
  149. package/dist/assets/{data-ref-CQI28C0D.js → data-ref-Dvmd7eb1.js} +1 -1
  150. package/dist/assets/{debug-bridge-CCohG-d-.js → debug-bridge-BUNhgyY6.js} +1 -1
  151. package/dist/assets/{debug-registry-Dgvitx8M.js → debug-registry-B3Cnne3x.js} +1 -1
  152. package/dist/assets/deferred-ingest-play-7V8OrW3e.js +2 -0
  153. package/dist/assets/design-time-layers-g9VS6amb.js +1 -0
  154. package/dist/assets/design-time-mount.service-HtMr_vBd.js +2 -0
  155. package/dist/assets/design-time-react-mount-Dx6fJ-Hg.js +1 -0
  156. package/dist/assets/{directional-shadow-fit-BVkOKAv2.js → directional-shadow-fit-Cjz_Eg2b.js} +1 -1
  157. package/dist/assets/{document-preview-three-Kbg2GCLm.js → document-preview-three-C3y0syYQ.js} +1 -1
  158. package/dist/assets/{dom-authoring-adapter-CY8C7f4T.js → dom-authoring-adapter-CEeFyatF.js} +1 -1
  159. package/dist/assets/{draco3d-BBUTcNkz.js → draco3d-FKy0apkb.js} +1 -1
  160. package/dist/assets/drei-asset-caches-jJoHXbTj.js +2 -0
  161. package/dist/assets/{edit-mode-audio.service-Bzetwd5B.js → edit-mode-audio.service-DZTnrW6t.js} +1 -1
  162. package/dist/assets/edit-mode-authoring-D_BiHCQj.js +1 -0
  163. package/dist/assets/{edit-mode-networking.service-YCX6RRb_.js → edit-mode-networking.service-BzMI2VxO.js} +1 -1
  164. package/dist/assets/editor-api-Bzmo0o8_.js +1 -0
  165. package/dist/assets/{entry-adjudication-Cq8Yeb74.js → entry-adjudication-BYy7TXOB.js} +1 -1
  166. package/dist/assets/{events-156d8d12.esm-ErOhDXXB.js → events-156d8d12.esm-C734MYnx.js} +7 -7
  167. package/dist/assets/{extend-B-eOccUm.js → extend-CLG0ymiX.js} +1 -1
  168. package/dist/assets/forest-P_CQY3b_.exr +0 -0
  169. package/dist/assets/fork-menu-De7HU6_H.js +1 -0
  170. package/dist/assets/{frame-debugger-store-D1Mf_5up.js → frame-debugger-store-BZgIOlU6.js} +1 -1
  171. package/dist/assets/{game-DHOZVb-7.js → game-D5EJoILQ.js} +1 -1
  172. package/dist/assets/{game-contract-seams-a5YXejOu.js → game-contract-seams-TCpIMmHP.js} +1 -1
  173. package/dist/assets/{game-css-scope-transform-Eng4wS8E.js → game-css-scope-transform-NbpajQr-.js} +1 -1
  174. package/dist/assets/game-document.service-6eRlrI-d.js +1 -0
  175. package/dist/assets/game-eval.command-hKnSMlX0.js +2 -0
  176. package/dist/assets/{game-input-seams-CIQdetRw.js → game-input-seams-BC6xhZy3.js} +1 -1
  177. package/dist/assets/{game-module-access-B2mFxv-i.js → game-module-access-ry3xb1Ix.js} +1 -1
  178. package/dist/assets/{gameplay-export-BoKXm51x.js → gameplay-export-DiLQuPpn.js} +1 -1
  179. package/dist/assets/gameplay-replay-Bsre-1K8.js +1 -0
  180. package/dist/assets/{gameplay-rng-trap-CTNhm-UW.js → gameplay-rng-trap-BhRx_CtU.js} +1 -1
  181. package/dist/assets/gameplay.command-BqiyGn-I.js +1 -0
  182. package/dist/assets/{generation-jobs-BQrXbGp_.js → generation-jobs-BYcpgeGk.js} +1 -1
  183. package/dist/assets/generation.service-O81IqA-6.js +1 -0
  184. package/dist/assets/{generations-DzUogZsM.js → generations-CsGQ3twi.js} +1 -1
  185. package/dist/assets/{generations.status-CgOUBCum.js → generations.status-C3YU0_ml.js} +1 -1
  186. package/dist/assets/godot.style-DxJaFWOP.js +1 -0
  187. package/dist/assets/godot.view-BFsHk8b2.js +1 -0
  188. package/dist/assets/{hosted-asset-materialization-CiIvWkGU.js → hosted-asset-materialization-Bk-plQF6.js} +2 -2
  189. package/dist/assets/{ibl-override-material-BlmCxFKq.js → ibl-override-material-BhbGwgS1.js} +1 -1
  190. package/dist/assets/{index-mjWQmGhM.js → index-0n9eSzwT.js} +1 -1
  191. package/dist/assets/index-B4bmKkgY.css +1 -0
  192. package/dist/assets/index-BLo2LE8C.js +3404 -0
  193. package/dist/assets/index-BWW4-DBH.js +1 -0
  194. package/dist/assets/index-CLcsjKUs.js +1 -0
  195. package/dist/assets/index-CU5YUq-x.js +134 -0
  196. package/dist/assets/{index-DUpHH6JR.js → index-Cb6o_Td_.js} +1 -1
  197. package/dist/assets/index-Ckxb31Yz.js +1500 -0
  198. package/dist/assets/index-CnpsJMao.js +1 -0
  199. package/dist/assets/index-Cr23XhNm.js +1 -0
  200. package/dist/assets/index-DO1rWQ_r.js +487 -0
  201. package/dist/assets/{index-BcCBqgM_.js → index-DUh02lTr.js} +1 -1
  202. package/dist/assets/index-DXEHfb0b.js +1 -0
  203. package/dist/assets/{index-V1R-e5Bd.js → index-wRCvCebM.js} +1 -1
  204. package/dist/assets/{inference-diagnostics-Dhmtfbq_.js → inference-diagnostics-YW0yJkKx.js} +1 -1
  205. package/dist/assets/{ingest-BbYMC2vQ.js → ingest-BlQnR7s3.js} +1 -1
  206. package/dist/assets/ingest-boot-viewport-uG9jQ1zm.js +1 -0
  207. package/dist/assets/ingest-siblings-DRQXSWax.js +1 -0
  208. package/dist/assets/{ingest-source-persistence-C_6Hiyra.js → ingest-source-persistence-DH6ioCOu.js} +1 -1
  209. package/dist/assets/{ingest.service-BTDnQfM1.js → ingest.service-GeaWMaZX.js} +1 -1
  210. package/dist/assets/{input-manager-DH_hGW6d.js → input-manager-Cxx3RJgG.js} +1 -1
  211. package/dist/assets/{input-router-BNQvtIqw.js → input-router-FzxO5ld6.js} +1 -1
  212. package/dist/assets/{inspect-BZfi3mmo.js → inspect-BRgDdtVk.js} +1 -1
  213. package/dist/assets/instances.command-CFOMPSj3.js +1 -0
  214. package/dist/assets/{instruments-CKR02Y8I.js → instruments-IKn-vvNb.js} +1 -1
  215. package/dist/assets/interior-Bo_lba15.exr +0 -0
  216. package/dist/assets/{json-history-resource-BbxllWfV.js → json-history-resource-r-9q_hxP.js} +1 -1
  217. package/dist/assets/{light-D-_wsKTq.js → light-CFAor97k.js} +1 -1
  218. package/dist/assets/light-camera-factory-D1sgz3YB.js +1 -0
  219. package/dist/assets/live-mixers-BRkRHd6g.js +1 -0
  220. package/dist/assets/{loader-CaF_I7Yt.js → loader-BbMsvIxP.js} +1 -1
  221. package/dist/assets/machine.document-CgmsOh-s.js +24 -0
  222. package/dist/assets/machines.finder-nxiCgQc2.js +1 -0
  223. package/dist/assets/matcap-texture-Dh65bX5V.js +1 -0
  224. package/dist/assets/{material-CpAdjDxn.js → material-D5kXEZWQ.js} +1 -1
  225. package/dist/assets/{material-factory-Bz6h__6g.js → material-factory-0Qb0VuZ5.js} +1 -1
  226. package/dist/assets/material-preview.view-DqNcpd_b.js +1 -0
  227. package/dist/assets/{mesh-B3WPtNKO.js → mesh-BKPgNTwh.js} +1 -1
  228. package/dist/assets/{mesh-shadow-CZnXrw_l.js → mesh-shadow-BDQP4mHs.js} +1 -1
  229. package/dist/assets/model-asset-sections.service-DWPLmkqa.js +1 -0
  230. package/dist/assets/model-inspection-Cxfg_Fei.js +1 -0
  231. package/dist/assets/model.layout-BpZE1W9V.js +1 -0
  232. package/dist/assets/{models.finder-G2jQgIRu.js → models.finder-DHW17ZEa.js} +1 -1
  233. package/dist/assets/module-mode-CRfHyIMS.js +2 -0
  234. package/dist/assets/mount-canvas-ingest-root-BZZ8M3Lu.js +2 -0
  235. package/dist/assets/mount-dom-ingest-root-D1GV6Jjt.js +2 -0
  236. package/dist/assets/{mount-game-6t9cKNo4.js → mount-game-F9e76auh.js} +1 -1
  237. package/dist/assets/mount-ingest-root-B5D-Lmmk.js +2 -0
  238. package/dist/assets/{mount-manifest-CGVxhmAw.js → mount-manifest-cYRhgHfo.js} +1 -1
  239. package/dist/assets/mount-three-ingest-root-BNnouaBn.js +1 -0
  240. package/dist/assets/{mounted-authoring-Dmg5xmhP.js → mounted-authoring-TIN5EnCb.js} +1 -1
  241. package/dist/assets/{mounted-story-viewport-source-DjP6RA9U.js → mounted-story-viewport-source-CAlEmE0_.js} +1 -1
  242. package/dist/assets/{native-debug-module-CWicoSGD.js → native-debug-module-j-MekcLS.js} +1 -1
  243. package/dist/assets/{navigation-CIiCx-SM.js → navigation-DmR1BDVo.js} +1 -1
  244. package/dist/assets/{navmesh.menu-CAKiH8PW.js → navmesh.menu-FhL1pGx1.js} +1 -1
  245. package/dist/assets/{navmesh.service-jgDWlgj1.js → navmesh.service-usyDeJlm.js} +1 -1
  246. package/dist/assets/{network.utility-CEu5nHf7.js → network.utility-BPh4hTmh.js} +1 -1
  247. package/dist/assets/night-CvV4Gybt.exr +0 -0
  248. package/dist/assets/{object3d-authoring-subject-CH5sI2oP.js → object3d-authoring-subject-CyE4rQ2A.js} +1 -1
  249. package/dist/assets/oid-transform-BOqL6YH6.js +2 -0
  250. package/dist/assets/{particles-Y626p22p.js → particles-C47L-dda.js} +1 -1
  251. package/dist/assets/particles-factory-CRqPLdS7.js +1 -0
  252. package/dist/assets/pixi-authoring-adapter-C5Ikqj5-.js +1 -0
  253. package/dist/assets/{pixi-live-write-target-DuWydlWb.js → pixi-live-write-target-OWBk79dp.js} +1 -1
  254. package/dist/assets/pixi-primitive-D5igywJ_.js +1 -0
  255. package/dist/assets/pixi-react-root-factory-9lZ0Yz-n.js +1 -0
  256. package/dist/assets/play-mode-DomOvQie.js +22 -0
  257. package/dist/assets/play.command-DoqjH-Pp.js +2 -0
  258. package/dist/assets/{playtest-BXIL1JEF.js → playtest-BnFenMBW.js} +1 -1
  259. package/dist/assets/{pose-guard-6Osb2cFu.js → pose-guard-Bb3gZOzk.js} +1 -1
  260. package/dist/assets/{product-DFhyARJj.js → product-CTDJoVo5.js} +1 -1
  261. package/dist/assets/{profiler.action-CaXJDp3t.js → profiler.action-C_OFGkDw.js} +1 -1
  262. package/dist/assets/{profiler.menu-BIMF6Bi4.js → profiler.menu-BJbnVoo4.js} +1 -1
  263. package/dist/assets/{profiler.utility-BExw9wBO.js → profiler.utility-qpfhuwRw.js} +1 -1
  264. package/dist/assets/project-authoring-session-BV-MM8Fl.js +2 -0
  265. package/dist/assets/{project-provenance-BoP3nrle.js → project-provenance-4ldz-EOG.js} +1 -1
  266. package/dist/assets/{properties-bone-constraints.inspector-ByT6p7S-.js → properties-bone-constraints.inspector-C-ByIdg1.js} +1 -1
  267. package/dist/assets/{properties-bone.inspector-z4qJwKO5.js → properties-bone.inspector-CXY0xCQB.js} +1 -1
  268. package/dist/assets/{properties-collection.inspector-D0_3ijWU.js → properties-collection.inspector-DIfkZAel.js} +1 -1
  269. package/dist/assets/{properties-constraints.inspector-CESzjuls.js → properties-constraints.inspector-BaunL5nT.js} +1 -1
  270. package/dist/assets/{properties-data.inspector-hG8Wgyzb.js → properties-data.inspector-DQD-jfO2.js} +1 -1
  271. package/dist/assets/{properties-material.inspector-CzY0JCQ6.js → properties-material.inspector-A0HZ4SX6.js} +1 -1
  272. package/dist/assets/{properties-modifiers.inspector-3dDhwf7g.js → properties-modifiers.inspector-GUnVhVwZ.js} +1 -1
  273. package/dist/assets/{properties-object.inspector-CiarfxkT.js → properties-object.inspector-Chsfa4Xa.js} +1 -1
  274. package/dist/assets/{properties-output.inspector-DKJxmKSD.js → properties-output.inspector-U7ZmD0Me.js} +1 -1
  275. package/dist/assets/{properties-particles.inspector-CCEdYWGm.js → properties-particles.inspector-umkW-OlI.js} +1 -1
  276. package/dist/assets/{properties-physics.inspector-B2c0KUyA.js → properties-physics.inspector-CLVBlWwL.js} +1 -1
  277. package/dist/assets/{properties-render.inspector-Bcm0HLRW.js → properties-render.inspector-D0u9taKy.js} +1 -1
  278. package/dist/assets/{properties-scene.inspector-PIM_eTb_.js → properties-scene.inspector-JwGCZQAx.js} +1 -1
  279. package/dist/assets/{properties-texture.inspector-CgFlnyr8.js → properties-texture.inspector-B1vC28pw.js} +1 -1
  280. package/dist/assets/{properties-view-layer.inspector-DGjF_Aqo.js → properties-view-layer.inspector-BuUKyBFp.js} +1 -1
  281. package/dist/assets/{properties-world.inspector-CrMvaRvB.js → properties-world.inspector-VXUj4dT4.js} +1 -1
  282. package/dist/assets/r3f-design-session-qJ2v5SrB.js +2 -0
  283. package/dist/assets/r3f-physics-binding-C8OqNRG2.js +1 -0
  284. package/dist/assets/{r3f-root-factory-z9llD1OU.js → r3f-root-factory-DjGnbU4n.js} +1 -1
  285. package/dist/assets/r3f-source-authoring-adapter-CG9heazM.js +12 -0
  286. package/dist/assets/{rapier-physics-bridge-CMoeVo3Y.js → rapier-physics-bridge-B-EK7KYV.js} +1 -1
  287. package/dist/assets/react-inspector.service-DWeXDHJq.js +1 -0
  288. package/dist/assets/{react-root-CEz5NTck.js → react-root-DGLRLr-F.js} +1 -1
  289. package/dist/assets/react-story-board-CSqHY0Cg.js +1 -0
  290. package/dist/assets/{react-three-fiber.esm-CycrbDlA.js → react-three-fiber.esm-BxIoqVh1.js} +1 -1
  291. package/dist/assets/{react-three-rapier.esm-CEfKpvxT.js → react-three-rapier.esm-BYzLhdSV.js} +1 -1
  292. package/dist/assets/react-world-authoring-adapter-BMT9kLWU.js +1 -0
  293. package/dist/assets/{realm-services-CobQsq_X.js → realm-services-D25JHoqD.js} +1 -1
  294. package/dist/assets/{reflection-probe-Don-M3Fj.js → reflection-probe-CqXWlicu.js} +1 -1
  295. package/dist/assets/{reflection-probe-capture.inspector-CmFUoJCx.js → reflection-probe-capture.inspector-B7Qa30vB.js} +1 -1
  296. package/dist/assets/regions-DWeEBnE2.js +1 -0
  297. package/dist/assets/{register-render-vitals-BiZk29b2.js → register-render-vitals-BO7x64kR.js} +1 -1
  298. package/dist/assets/{registry-02YZjMNp.js → registry-DlTluc4x.js} +1 -1
  299. package/dist/assets/{render-audio-control-vMRlePWb.js → render-audio-control-DCa_bOBI.js} +1 -1
  300. package/dist/assets/{render-batch-system-0vq7p0VC.js → render-batch-system-CzCp9YKM.js} +1 -1
  301. package/dist/assets/{render-control-Df3yTiyr.js → render-control-BNQr1eNO.js} +1 -1
  302. package/dist/assets/{render-env-D2IV2x5k.js → render-env-emvlfeTG.js} +1 -1
  303. package/dist/assets/{render-features-CPQ_e568.js → render-features-COF7MSQ9.js} +1 -1
  304. package/dist/assets/{render-settings-Bw4W9SYF.js → render-settings-C_kIMq8Y.js} +1 -1
  305. package/dist/assets/{resolve-three-SZE_WWUM.js → resolve-three-C-nx-QdA.js} +13 -13
  306. package/dist/assets/{root-seam-contract-Z0VWX3Bk.js → root-seam-contract-C7GOxf5x.js} +1 -1
  307. package/dist/assets/{run-ticks-settled-C4ksViyA.js → run-ticks-settled-B0cTtmhQ.js} +1 -1
  308. package/dist/assets/{scene-capture-CGYF-Viw.js → scene-capture-CLOc7GXc.js} +1 -1
  309. package/dist/assets/{scene-capture-BQKzU0NT.js → scene-capture-D10Nxkvp.js} +1 -1
  310. package/dist/assets/scene-document.service-B7kAVTko.js +2 -0
  311. package/dist/assets/{scene-framing-Cat0GtyJ.js → scene-framing-50N7SKuX.js} +1 -1
  312. package/dist/assets/{scene-index-B6BZOHMk.js → scene-index-Bce459yu.js} +1 -1
  313. package/dist/assets/{scene-query-C7_N-TpI.js → scene-query-IUZhw6pA.js} +1 -1
  314. package/dist/assets/{schema-kl9-2B_J.js → schema-Iy-mbzll.js} +1 -1
  315. package/dist/assets/sculpt.layout-D-K5cLw6.js +1 -0
  316. package/dist/assets/{seeded-random-i3mtgBKZ.js → seeded-random-CN0scLZj.js} +1 -1
  317. package/dist/assets/{session-CZ5JPg-z.js → session-CsR0lApe.js} +24 -15
  318. package/dist/assets/{setup-audio-S8GQF91f.js → setup-audio-BJ18gvXZ.js} +1 -1
  319. package/dist/assets/setup-particles-B6H-GbAA.js +1 -0
  320. package/dist/assets/{setup-physics-BeZ7-LKD.js → setup-physics-GugbTT0J.js} +1 -1
  321. package/dist/assets/{setup-renderer-DVXaSGin.js → setup-renderer-wt_a-p8r.js} +20 -20
  322. package/dist/assets/shading.layout-CZZHKBer.js +1 -0
  323. package/dist/assets/{sim-clock-CLflx7kg.js → sim-clock-DEfbb_-P.js} +1 -1
  324. package/dist/assets/{soft-particle-depth-DGvfQDi1.js → soft-particle-depth-CKUS1j0Y.js} +1 -1
  325. package/dist/assets/source-object3d-authoring-adapter-CfHQLFAL.js +1 -0
  326. package/dist/assets/{source-persistence-backend-C-aR-B_Y.js → source-persistence-backend-_-JMEXxE.js} +1 -1
  327. package/dist/assets/{spark-renderer-lifecycle-ynWESJcv.js → spark-renderer-lifecycle-9mnMW3Z4.js} +1 -1
  328. package/dist/assets/{spark.module-4pXQoz5d.js → spark.module-CXth-y_a.js} +1 -1
  329. package/dist/assets/stage-keyboard-C0FdDLOQ.js +1 -0
  330. package/dist/assets/stage-overlay-set-CwhCzbOy.js +1 -0
  331. package/dist/assets/stage-presence-markers-DVMDKiB-.js +1 -0
  332. package/dist/assets/stage-transform-tools-B09Z7v0o.js +1 -0
  333. package/dist/assets/standard-viewport-dressing-GUUr6GuK.js +20 -0
  334. package/dist/assets/{state-watch.action-BOvQR2qt.js → state-watch.action-CgF8qoFC.js} +1 -1
  335. package/dist/assets/{state-watch.menu-CNLvDeeY.js → state-watch.menu-CIMncESW.js} +1 -1
  336. package/dist/assets/{state-watch.utility-Bg1tTTQU.js → state-watch.utility-zTHkUALC.js} +1 -1
  337. package/dist/assets/static-batch-advisor-DqfXWRUq.js +1 -0
  338. package/dist/assets/story-capture-COQgezzl.js +1 -0
  339. package/dist/assets/story-documents-DQ0KORmd.js +3 -0
  340. package/dist/assets/story-documents.service-DOSaqPqv.js +1 -0
  341. package/dist/assets/story-documents.service-Gb7oUkbg.js +1 -0
  342. package/dist/assets/{story-media-presence-BHzk2IV5.js → story-media-presence-nW3zJqKv.js} +1 -1
  343. package/dist/assets/story-pixi-preview-COPTEsHo.js +1 -0
  344. package/dist/assets/story-presentation-CxADj5oz.js +1 -0
  345. package/dist/assets/{story-three-preview-BHEDZzcl.js → story-three-preview-C9W__8Or.js} +2 -2
  346. package/dist/assets/{structural-ids-Dc-7rEwi.js → structural-ids-CblajJQK.js} +1 -1
  347. package/dist/assets/studio-CysTBGIb.exr +0 -0
  348. package/dist/assets/sunrise-Dj0psFrf.exr +0 -0
  349. package/dist/assets/sunset-Bw3x2Bot.exr +0 -0
  350. package/dist/assets/{surface-state-DaxyruCj.js → surface-state-BAUJu6GY.js} +1 -1
  351. package/dist/assets/{system-runner-DkOjxEBt.js → system-runner-D_DtVrer.js} +1 -1
  352. package/dist/assets/team-playtest.service--79O6xkx.js +1 -0
  353. package/dist/assets/{three-CDSueJyJ.js → three-DSsr_Lvp.js} +1 -1
  354. package/dist/assets/{three-authoring-adapter-CmSQ3Vui.js → three-authoring-adapter-Yqsank46.js} +1 -1
  355. package/dist/assets/three-authoring.service-BDos-bRt.js +2 -0
  356. package/dist/assets/{three-ingest-runtime-QzDYk6tU.js → three-ingest-runtime-DWijtqQ8.js} +1 -1
  357. package/dist/assets/{three-projection-core-BmKMZ-nf.js → three-projection-core-kubBTx0s.js} +1 -1
  358. package/dist/assets/three-story-model-BraQFA9h.js +1 -0
  359. package/dist/assets/three-viewport-presentation-BL7Uc2i6.js +1 -0
  360. package/dist/assets/{three.module-D396a9Mn.js → three.module-IFn-4i31.js} +1 -1
  361. package/dist/assets/three.quarks.esm-CRKGjKAH.js +1039 -0
  362. package/dist/assets/transform-mode-request-Cu7ewbtr.js +1 -0
  363. package/dist/assets/{transform-writer-BhBBTx33.js → transform-writer-DXxrI4t7.js} +1 -1
  364. package/dist/assets/transport.header-CeND8Vzh.js +1 -0
  365. package/dist/assets/{trigger-volume-BNK2XzPL.js → trigger-volume-BCVRS3NM.js} +1 -1
  366. package/dist/assets/{tuples-CIQ4Bn1U.js → tuples-DKDGrN1t.js} +1 -1
  367. package/dist/assets/ui-board-document-DD2CAEAo.js +2 -0
  368. package/dist/assets/unity.style-vCmLw4gI.js +1 -0
  369. package/dist/assets/unity.view-DIn2S6Do.js +1 -0
  370. package/dist/assets/unreal.style-BQn-HhOX.js +1 -0
  371. package/dist/assets/unreal.view-adNBETZK.js +1 -0
  372. package/dist/assets/user-data-CZqsJDk-.js +1 -0
  373. package/dist/assets/{utility-view-state-BHypxA33.js → utility-view-state-DYJY8V8O.js} +1 -1
  374. package/dist/assets/uv-editing.layout-A8RA-cbM.js +1 -0
  375. package/dist/assets/{vgai-shared-three-Bc5PvpLM.js → vgai-shared-three-D_RAEumG.js} +1 -1
  376. package/dist/assets/{viewport-root-presentation-CWsE56K6.js → viewport-root-presentation-C9M98VNM.js} +1 -1
  377. package/dist/assets/{viewport-shading-BuA88e_A.js → viewport-shading-BzcvgJhK.js} +1 -1
  378. package/dist/assets/viewport-shading-boundary-CBvvzS-p.js +84 -0
  379. package/dist/assets/{viewport-surface-status-B3om4Kcf.js → viewport-surface-status-BFmnWp7z.js} +1 -1
  380. package/dist/assets/voxel-surface-ROWYug7H.js +1 -0
  381. package/dist/assets/webgl-frame-capture-CRKX73E9.js +1 -0
  382. package/dist/assets/webworkerAll-CehoCtFb.js +1 -0
  383. package/dist/assets/{worker-UrMcrc5_.js → worker-B7zhIsFh.js} +2 -2
  384. package/dist/assets/world-documents-DErHq15h.js +1 -0
  385. package/dist/assets/world-root-stage-binding-BIymcQ4K.js +1 -0
  386. package/dist/assets/{world-state-BWG-IcOd.js → world-state-ZGDGY_Xl.js} +1 -1
  387. package/dist/assets/{writer-B-KovzkA.js → writer-BPbm4_my.js} +5 -5
  388. package/dist/assets/xstate-animation-binding-Cvd4JbEY.js +1 -0
  389. package/dist/assets/{xstate-animation-meta-Q3u9zh_m.js → xstate-animation-meta-B3OZR8Q2.js} +1 -1
  390. package/dist/vgai-shared-three.json +1 -1
  391. package/dist-node/cli.js +317 -73
  392. package/dist-node/create.js +59 -19
  393. package/package.json +16 -13
  394. package/src/index.ts +6 -0
  395. package/template/.agents/skills/vgai-3d-models/SKILL.md +3 -3
  396. package/template/.agents/skills/vgai-threejs-authoring/SKILL.md +4 -9
  397. package/template/.claude/skills/vgai-3d-models/SKILL.md +3 -3
  398. package/template/.claude/skills/vgai-threejs-authoring/SKILL.md +4 -9
  399. package/template/.github/skills/vgai-3d-models/SKILL.md +3 -3
  400. package/template/.github/skills/vgai-threejs-authoring/SKILL.md +4 -9
  401. package/template/AGENTS.md +1 -1
  402. package/template/check-idioms.ts +4 -5
  403. package/template/package.json +9 -9
  404. package/template/tsconfig.json +1 -0
  405. package/template/vgai.adapter.ts +1 -0
  406. package/template-dotfiles/gitignore +2 -0
  407. package/workbench/src/media/game-cover.css +1 -1
  408. package/catalog/project-source/src/lib/bake/mesh-slice.ts +0 -157
  409. package/dist/assets/BufferGeometryUtils-Nz37EVXf.js +0 -1
  410. package/dist/assets/CanvasSceneViewport-Bpi6gVTC.js +0 -1
  411. package/dist/assets/ColladaLoader-aVOPIsCh.js +0 -3
  412. package/dist/assets/EXRLoader-Cdans_oJ.js +0 -1
  413. package/dist/assets/EffectComposer-DQxfsXBZ.js +0 -1
  414. package/dist/assets/EntityModelDocument-Ccvw66N9.js +0 -1
  415. package/dist/assets/EnvironmentAssetDocument-Dg-Qq6O6.js +0 -1
  416. package/dist/assets/FBXLoader-B4MoUtAn.js +0 -1
  417. package/dist/assets/Fbo-Dz-Soul3.js +0 -1
  418. package/dist/assets/GLTFExporter-HgrCle4L.js +0 -1
  419. package/dist/assets/Gltf-UHVWKz65.js +0 -2
  420. package/dist/assets/HDRLoader-THU88oVD.js +0 -5
  421. package/dist/assets/ImageViewer-Tn7s_MnW.js +0 -1
  422. package/dist/assets/InspectorObjectPreview-CVejvLRg.js +0 -1
  423. package/dist/assets/JsonAssetDocument-C7VGcLhu.js +0 -3
  424. package/dist/assets/MeshBVH-BiDHDcu-.js +0 -1
  425. package/dist/assets/ModelAssetDocument-F5GACirk.js +0 -1
  426. package/dist/assets/Object3DDocumentViewport-DB7T0NTl.js +0 -2
  427. package/dist/assets/Object3DPreview-DL8oi7Xs.js +0 -2
  428. package/dist/assets/OnlineAssetDetail-C6z9RvYK.js +0 -2
  429. package/dist/assets/PlayBar-BR-Vg3Jb.js +0 -2
  430. package/dist/assets/RGBELoader-BgBcQv8j.js +0 -1
  431. package/dist/assets/RectAreaLightUniformsLib-CMMoWfll.js +0 -1
  432. package/dist/assets/RootSelectionOverlay-BZPlxmXU.js +0 -1
  433. package/dist/assets/STLLoader-Dyv3lsxY.js +0 -1
  434. package/dist/assets/SimplifyModifier-C8ayvRzd.js +0 -1
  435. package/dist/assets/SourceAssetViewer-2SWQoUut.js +0 -12
  436. package/dist/assets/StageHost-BN-IoTef.js +0 -2
  437. package/dist/assets/ThreeBoardDocument-CVncZyIq.js +0 -2
  438. package/dist/assets/asset-budget-asset.menu-Di3KiQCd.js +0 -1
  439. package/dist/assets/asset-budget.action-DCzzcuTh.js +0 -1
  440. package/dist/assets/asset-budget.document-BWU8wnVW.js +0 -1
  441. package/dist/assets/asset-budget.menu-BGZpT_31.js +0 -1
  442. package/dist/assets/autoplay.service-BZBGNSvt.js +0 -1
  443. package/dist/assets/blender-emscripten-engine-9ZIRYNhe.js +0 -2
  444. package/dist/assets/blender-properties-tab-C5CyPydi.js +0 -3
  445. package/dist/assets/blender-runtime-host-BpBwGv7r.js +0 -4
  446. package/dist/assets/blender-runtime.document-lIYhhPtv.js +0 -8
  447. package/dist/assets/blender.command-BtJeWk-A.js +0 -1
  448. package/dist/assets/body-marks-h_xDxiDE.js +0 -1
  449. package/dist/assets/bridge.command-o5gDNEwa.js +0 -3
  450. package/dist/assets/browserAll-DeWblVez.js +0 -1
  451. package/dist/assets/canvas-entry-runtime-SfBxaR9M.js +0 -2
  452. package/dist/assets/component-board.service-DidCyM4O.js +0 -2
  453. package/dist/assets/component-verbs.service-Bv9jId3q.js +0 -1
  454. package/dist/assets/constraints.inspector-B9U9Yj-u.js +0 -1
  455. package/dist/assets/coverage.service-VTX5Mcsx.js +0 -3
  456. package/dist/assets/deferred-ingest-play-DCJi_Pgu.js +0 -2
  457. package/dist/assets/design-time-layers-wYgOTgni.js +0 -1
  458. package/dist/assets/design-time-mount.service-BzY21e1F.js +0 -2
  459. package/dist/assets/design-time-react-mount-DM9WLrF2.js +0 -1
  460. package/dist/assets/edit-mode-authoring-B47TfLqu.js +0 -1
  461. package/dist/assets/editor-api-BoJIcyZG.js +0 -1
  462. package/dist/assets/fflate.module-DPuTF8aG.js +0 -6
  463. package/dist/assets/fork-menu-BoVyw2Wu.js +0 -1
  464. package/dist/assets/game-document.service-DbRfx2V0.js +0 -1
  465. package/dist/assets/game-eval.command-D-7Dxbj_.js +0 -2
  466. package/dist/assets/gameplay-replay-e5umMlXv.js +0 -1
  467. package/dist/assets/gameplay.command-DxcVYX6F.js +0 -1
  468. package/dist/assets/generation.service-CDIgObuw.js +0 -1
  469. package/dist/assets/index-96FBF1Oj.js +0 -1
  470. package/dist/assets/index-BAWkB0dv.js +0 -1
  471. package/dist/assets/index-BDnS2b6S.js +0 -1
  472. package/dist/assets/index-BjTCPEQ7.js +0 -134
  473. package/dist/assets/index-CVCb_ImQ.js +0 -1
  474. package/dist/assets/index-CZd9o7Lu.js +0 -1
  475. package/dist/assets/index-D2fNXpHa.css +0 -1
  476. package/dist/assets/index-GIL7oGEO.js +0 -4894
  477. package/dist/assets/index-OrYXPk3Z.js +0 -487
  478. package/dist/assets/ingest-boot-viewport-D5rI_Kk_.js +0 -1
  479. package/dist/assets/ingest-siblings-Bop2kqVl.js +0 -1
  480. package/dist/assets/instances.command-D6UkZNO8.js +0 -1
  481. package/dist/assets/light-camera-factory-CWbbe9gI.js +0 -1
  482. package/dist/assets/live-behaviors-Bxq49Maz.js +0 -1
  483. package/dist/assets/matcap-texture-CVfalpWT.js +0 -1
  484. package/dist/assets/model-asset-sections.service-CHhFS3ZX.js +0 -1
  485. package/dist/assets/model.layout-BJUEQYUI.js +0 -1
  486. package/dist/assets/module-mode-DVBLT9d-.js +0 -2
  487. package/dist/assets/mount-canvas-ingest-root-DDuAWf_C.js +0 -2
  488. package/dist/assets/mount-dom-ingest-root-D_EiBgpn.js +0 -2
  489. package/dist/assets/mount-ingest-root-glv2SSWf.js +0 -2
  490. package/dist/assets/mount-three-ingest-root-hrUt9VVU.js +0 -1
  491. package/dist/assets/particles-factory-DnLOHXT8.js +0 -1
  492. package/dist/assets/pasteboard-materialize-BqSS4QzV.js +0 -20
  493. package/dist/assets/pasteboard.action-DU3UHtJG.js +0 -2
  494. package/dist/assets/pixi-authoring-adapter-CjibysC3.js +0 -1
  495. package/dist/assets/pixi-primitive-DlWbUPN9.js +0 -1
  496. package/dist/assets/pixi-react-root-factory-DYsznYRQ.js +0 -1
  497. package/dist/assets/play-mode-BFU2PCkG.js +0 -22
  498. package/dist/assets/play.command-BpqqLqkq.js +0 -2
  499. package/dist/assets/project-authoring-session-Bnt6icLr.js +0 -2
  500. package/dist/assets/r3f-design-session-D-4yyDO9.js +0 -2
  501. package/dist/assets/r3f-physics-binding-BBo8oma9.js +0 -1
  502. package/dist/assets/r3f-source-authoring-adapter-w6Bc60K-.js +0 -13
  503. package/dist/assets/react-inspector.service-B_neRnSK.js +0 -1
  504. package/dist/assets/react-story-board-BDDwiE2H.js +0 -1
  505. package/dist/assets/react-world-authoring-adapter-DmrwM3py.js +0 -1
  506. package/dist/assets/runtime-inspection-l2iFQSsg.js +0 -1
  507. package/dist/assets/scene-document.service-qkDjUrlP.js +0 -2
  508. package/dist/assets/sculpt.layout-zJF55yCR.js +0 -1
  509. package/dist/assets/setup-particles-GCXlnkj_.js +0 -1
  510. package/dist/assets/shading.layout-DULYZV6M.js +0 -1
  511. package/dist/assets/source-object3d-authoring-adapter-B-L6Ha6f.js +0 -1
  512. package/dist/assets/stage-invalidation-DBg3C3Ta.js +0 -1
  513. package/dist/assets/stage-keyboard-n-5kKH-m.js +0 -1
  514. package/dist/assets/stage-overlay-set-B9zp2sLB.js +0 -1
  515. package/dist/assets/stage-presence-markers-DiGI6A45.js +0 -1
  516. package/dist/assets/standard-viewport-dressing-CzjAe_0A.js +0 -7
  517. package/dist/assets/static-batch-advisor-B13QEH7d.js +0 -1
  518. package/dist/assets/story-capture-_gC8dXV-.js +0 -1
  519. package/dist/assets/story-documents--TDLaPeL.js +0 -3
  520. package/dist/assets/story-documents.service-BiS_YbNQ.js +0 -1
  521. package/dist/assets/story-documents.service-CxOPYJ2j.js +0 -1
  522. package/dist/assets/story-pixi-preview-BUrOJZXS.js +0 -1
  523. package/dist/assets/story-presentation-j2AVN-mK.js +0 -1
  524. package/dist/assets/team-playtest.service-DqOinFVA.js +0 -1
  525. package/dist/assets/three-authoring.service-iuHLwtf1.js +0 -2
  526. package/dist/assets/three-viewport-presentation-QBQpSdMh.js +0 -1
  527. package/dist/assets/three.quarks.esm-B1C61jGo.js +0 -1039
  528. package/dist/assets/transport.header-B-6HQlU2.js +0 -1
  529. package/dist/assets/ui-board-document-Bwtt--xp.js +0 -2
  530. package/dist/assets/use-live-actor-state-DErbWQWF.js +0 -1
  531. package/dist/assets/user-data-BB2Of6Ht.js +0 -1
  532. package/dist/assets/uv-editing.layout-BEKHxmHw.js +0 -1
  533. package/dist/assets/viewport-shading-boundary-B_-_gABg.js +0 -82
  534. package/dist/assets/voxel-surface-DtcsSWRL.js +0 -1
  535. package/dist/assets/webgl-frame-capture-FlF9zQmW.js +0 -1
  536. package/dist/assets/webworkerAll-CM2o_dnz.js +0 -1
  537. package/dist/assets/world-documents-147tiFZe.js +0 -1
  538. package/dist/assets/world-root-stage-binding-vwTrtBz6.js +0 -1
  539. package/dist/assets/xstate-animation-binding-Brd0NST6.js +0 -1
  540. package/dist/assets/xstate-behavior.action-B8UluFBK.js +0 -1
  541. package/dist/assets/xstate-behavior.document-CKAsE45I.js +0 -1
  542. package/dist/assets/xstate-behavior.inspector-vJJyuifc.js +0 -1
  543. package/dist/assets/xstate-behavior.menu-BXbPICIh.js +0 -1
  544. package/dist/assets/xstate-inspection-BsZv8LS9.js +0 -1
@@ -1 +1 @@
1
- import{c as Ir,g as Dn}from"./_commonjsHelpers-D6-XlEtG.js";import{jS as Tr}from"./index-GIL7oGEO.js";function Mn(ut,Tt){for(var a=0;a<Tt.length;a++){const st=Tt[a];if(typeof st!="string"&&!Array.isArray(st)){for(const l in st)if(l!=="default"&&!(l in ut)){const f=Object.getOwnPropertyDescriptor(st,l);f&&Object.defineProperty(ut,l,f.get?f:{enumerable:!0,get:()=>st[l]})}}}return Object.freeze(Object.defineProperty(ut,Symbol.toStringTag,{value:"Module"}))}var Ar={exports:{}},Pn=Ar.exports,Tn;function Sn(){return Tn||(Tn=1,(function(ut,Tt){var a=a||{};a.scope={},a.arrayIteratorImpl=function(l){var f=0;return function(){return f<l.length?{done:!1,value:l[f++]}:{done:!0}}},a.arrayIterator=function(l){return{next:a.arrayIteratorImpl(l)}},a.makeIterator=function(l){var f=typeof Symbol<"u"&&Symbol.iterator&&l[Symbol.iterator];return f?f.call(l):a.arrayIterator(l)},a.ASSUME_ES5=!1,a.ASSUME_NO_NATIVE_MAP=!1,a.ASSUME_NO_NATIVE_SET=!1,a.SIMPLE_FROUND_POLYFILL=!1,a.ISOLATE_POLYFILLS=!1,a.FORCE_POLYFILL_PROMISE=!1,a.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,a.getGlobal=function(l){l=[typeof globalThis=="object"&&globalThis,l,typeof window=="object"&&window,typeof self=="object"&&self,typeof Ir=="object"&&Ir];for(var f=0;f<l.length;++f){var y=l[f];if(y&&y.Math==Math)return y}throw Error("Cannot find global object")},a.global=a.getGlobal(Pn),a.defineProperty=a.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(l,f,y){return l==Array.prototype||l==Object.prototype||(l[f]=y.value),l},a.IS_SYMBOL_NATIVE=typeof Symbol=="function"&&typeof Symbol("x")=="symbol",a.TRUST_ES6_POLYFILLS=!a.ISOLATE_POLYFILLS||a.IS_SYMBOL_NATIVE,a.polyfills={},a.propertyToPolyfillSymbol={},a.POLYFILL_PREFIX="$jscp$",a.polyfill=function(l,f,y,b){f&&(a.ISOLATE_POLYFILLS?a.polyfillIsolated(l,f,y,b):a.polyfillUnisolated(l,f,y,b))},a.polyfillUnisolated=function(l,f,y,b){for(y=a.global,l=l.split("."),b=0;b<l.length-1;b++){var c=l[b];if(!(c in y))return;y=y[c]}l=l[l.length-1],b=y[l],f=f(b),f!=b&&f!=null&&a.defineProperty(y,l,{configurable:!0,writable:!0,value:f})},a.polyfillIsolated=function(l,f,y,b){var c=l.split(".");l=c.length===1,b=c[0],b=!l&&b in a.polyfills?a.polyfills:a.global;for(var S=0;S<c.length-1;S++){var s=c[S];if(!(s in b))return;b=b[s]}c=c[c.length-1],y=a.IS_SYMBOL_NATIVE&&y==="es6"?b[c]:null,f=f(y),f!=null&&(l?a.defineProperty(a.polyfills,c,{configurable:!0,writable:!0,value:f}):f!==y&&(a.propertyToPolyfillSymbol[c]===void 0&&(y=1e9*Math.random()>>>0,a.propertyToPolyfillSymbol[c]=a.IS_SYMBOL_NATIVE?a.global.Symbol(c):a.POLYFILL_PREFIX+y+"$"+c),a.defineProperty(b,a.propertyToPolyfillSymbol[c],{configurable:!0,writable:!0,value:f})))},a.polyfill("Promise",function(l){function f(){this.batch_=null}function y(s){return s instanceof c?s:new c(function(m,A){m(s)})}if(l&&(!(a.FORCE_POLYFILL_PROMISE||a.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&typeof a.global.PromiseRejectionEvent>"u")||!a.global.Promise||a.global.Promise.toString().indexOf("[native code]")===-1))return l;f.prototype.asyncExecute=function(s){if(this.batch_==null){this.batch_=[];var m=this;this.asyncExecuteFunction(function(){m.executeBatch_()})}this.batch_.push(s)};var b=a.global.setTimeout;f.prototype.asyncExecuteFunction=function(s){b(s,0)},f.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var s=this.batch_;this.batch_=[];for(var m=0;m<s.length;++m){var A=s[m];s[m]=null;try{A()}catch(M){this.asyncThrow_(M)}}}this.batch_=null},f.prototype.asyncThrow_=function(s){this.asyncExecuteFunction(function(){throw s})};var c=function(s){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var m=this.createResolveAndReject_();try{s(m.resolve,m.reject)}catch(A){m.reject(A)}};c.prototype.createResolveAndReject_=function(){function s(M){return function(v){A||(A=!0,M.call(m,v))}}var m=this,A=!1;return{resolve:s(this.resolveTo_),reject:s(this.reject_)}},c.prototype.resolveTo_=function(s){if(s===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(s instanceof c)this.settleSameAsPromise_(s);else{t:switch(typeof s){case"object":var m=s!=null;break t;case"function":m=!0;break t;default:m=!1}m?this.resolveToNonPromiseObj_(s):this.fulfill_(s)}},c.prototype.resolveToNonPromiseObj_=function(s){var m=void 0;try{m=s.then}catch(A){this.reject_(A);return}typeof m=="function"?this.settleSameAsThenable_(m,s):this.fulfill_(s)},c.prototype.reject_=function(s){this.settle_(2,s)},c.prototype.fulfill_=function(s){this.settle_(1,s)},c.prototype.settle_=function(s,m){if(this.state_!=0)throw Error("Cannot settle("+s+", "+m+"): Promise already settled in state"+this.state_);this.state_=s,this.result_=m,this.state_===2&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},c.prototype.scheduleUnhandledRejectionCheck_=function(){var s=this;b(function(){if(s.notifyUnhandledRejection_()){var m=a.global.console;typeof m<"u"&&m.error(s.result_)}},1)},c.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var s=a.global.CustomEvent,m=a.global.Event,A=a.global.dispatchEvent;return typeof A>"u"?!0:(typeof s=="function"?s=new s("unhandledrejection",{cancelable:!0}):typeof m=="function"?s=new m("unhandledrejection",{cancelable:!0}):(s=a.global.document.createEvent("CustomEvent"),s.initCustomEvent("unhandledrejection",!1,!0,s)),s.promise=this,s.reason=this.result_,A(s))},c.prototype.executeOnSettledCallbacks_=function(){if(this.onSettledCallbacks_!=null){for(var s=0;s<this.onSettledCallbacks_.length;++s)S.asyncExecute(this.onSettledCallbacks_[s]);this.onSettledCallbacks_=null}};var S=new f;return c.prototype.settleSameAsPromise_=function(s){var m=this.createResolveAndReject_();s.callWhenSettled_(m.resolve,m.reject)},c.prototype.settleSameAsThenable_=function(s,m){var A=this.createResolveAndReject_();try{s.call(m,A.resolve,A.reject)}catch(M){A.reject(M)}},c.prototype.then=function(s,m){function A(j,O){return typeof j=="function"?function(W){try{M(j(W))}catch(k){v(k)}}:O}var M,v,x=new c(function(j,O){M=j,v=O});return this.callWhenSettled_(A(s,M),A(m,v)),x},c.prototype.catch=function(s){return this.then(void 0,s)},c.prototype.callWhenSettled_=function(s,m){function A(){switch(M.state_){case 1:s(M.result_);break;case 2:m(M.result_);break;default:throw Error("Unexpected state: "+M.state_)}}var M=this;this.onSettledCallbacks_==null?S.asyncExecute(A):this.onSettledCallbacks_.push(A),this.isRejectionHandled_=!0},c.resolve=y,c.reject=function(s){return new c(function(m,A){A(s)})},c.race=function(s){return new c(function(m,A){for(var M=a.makeIterator(s),v=M.next();!v.done;v=M.next())y(v.value).callWhenSettled_(m,A)})},c.all=function(s){var m=a.makeIterator(s),A=m.next();return A.done?y([]):new c(function(M,v){function x(W){return function(k){j[W]=k,O--,O==0&&M(j)}}var j=[],O=0;do j.push(void 0),O++,y(A.value).callWhenSettled_(x(j.length-1),v),A=m.next();while(!A.done)})},c},"es6","es3"),a.owns=function(l,f){return Object.prototype.hasOwnProperty.call(l,f)},a.assign=a.TRUST_ES6_POLYFILLS&&typeof Object.assign=="function"?Object.assign:function(l,f){for(var y=1;y<arguments.length;y++){var b=arguments[y];if(b)for(var c in b)a.owns(b,c)&&(l[c]=b[c])}return l},a.polyfill("Object.assign",function(l){return l||a.assign},"es6","es3"),a.checkStringArgs=function(l,f,y){if(l==null)throw new TypeError("The 'this' value for String.prototype."+y+" must not be null or undefined");if(f instanceof RegExp)throw new TypeError("First argument to String.prototype."+y+" must not be a regular expression");return l+""},a.polyfill("String.prototype.startsWith",function(l){return l||function(f,y){var b=a.checkStringArgs(this,f,"startsWith");f+="";var c=b.length,S=f.length;y=Math.max(0,Math.min(y|0,b.length));for(var s=0;s<S&&y<c;)if(b[y++]!=f[s++])return!1;return s>=S}},"es6","es3"),a.polyfill("Array.prototype.copyWithin",function(l){function f(y){return y=Number(y),y===1/0||y===-1/0?y:y|0}return l||function(y,b,c){var S=this.length;if(y=f(y),b=f(b),c=c===void 0?S:f(c),y=0>y?Math.max(S+y,0):Math.min(y,S),b=0>b?Math.max(S+b,0):Math.min(b,S),c=0>c?Math.max(S+c,0):Math.min(c,S),y<b)for(;b<c;)b in this?this[y++]=this[b++]:(delete this[y++],b++);else for(c=Math.min(c,S+b-y),y+=c-b;c>b;)--c in this?this[--y]=this[c]:delete this[--y];return this}},"es6","es3"),a.typedArrayCopyWithin=function(l){return l||Array.prototype.copyWithin},a.polyfill("Int8Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint8Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint8ClampedArray.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Int16Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint16Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Int32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Float32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Float64Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5");var st=(function(){var l=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return typeof __filename<"u"&&(l=l||__filename),function(f){function y(r){return n.locateFile?n.locateFile(r,Z):Z+r}function b(){var r=mt.buffer;n.HEAP8=ot=new Int8Array(r),n.HEAP16=ht=new Int16Array(r),n.HEAP32=lt=new Int32Array(r),n.HEAPU8=bt=new Uint8Array(r),n.HEAPU16=new Uint16Array(r),n.HEAPU32=rt=new Uint32Array(r),n.HEAPF32=yt=new Float32Array(r),n.HEAPF64=new Float64Array(r)}function c(r){throw n.onAbort&&n.onAbort(r),r="Aborted("+r+")",dt(r),vt=!0,r=new WebAssembly.RuntimeError(r+". Build with -sASSERTIONS for more info."),q(r),r}function S(r){try{if(r==Q&&J)return new Uint8Array(J);if(jt)return jt(r);throw"both async and sync fetching of the wasm failed"}catch(o){c(o)}}function s(){if(!J&&(E||t)){if(typeof fetch=="function"&&!Q.startsWith("file://"))return fetch(Q,{credentials:"same-origin"}).then(function(r){if(!r.ok)throw"failed to load wasm binary file at '"+Q+"'";return r.arrayBuffer()}).catch(function(){return S(Q)});if(ct)return new Promise(function(r,o){ct(Q,function(i){r(new Uint8Array(i))},o)})}return Promise.resolve().then(function(){return S(Q)})}function m(r){for(;0<r.length;)r.shift()(n)}function A(r){this.excPtr=r,this.ptr=r-24,this.set_type=function(o){rt[this.ptr+4>>2]=o},this.get_type=function(){return rt[this.ptr+4>>2]},this.set_destructor=function(o){rt[this.ptr+8>>2]=o},this.get_destructor=function(){return rt[this.ptr+8>>2]},this.set_refcount=function(o){lt[this.ptr>>2]=o},this.set_caught=function(o){ot[this.ptr+12>>0]=o?1:0},this.get_caught=function(){return ot[this.ptr+12>>0]!=0},this.set_rethrown=function(o){ot[this.ptr+13>>0]=o?1:0},this.get_rethrown=function(){return ot[this.ptr+13>>0]!=0},this.init=function(o,i){this.set_adjusted_ptr(0),this.set_type(o),this.set_destructor(i),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){lt[this.ptr>>2]+=1},this.release_ref=function(){var o=lt[this.ptr>>2];return lt[this.ptr>>2]=o-1,o===1},this.set_adjusted_ptr=function(o){rt[this.ptr+16>>2]=o},this.get_adjusted_ptr=function(){return rt[this.ptr+16>>2]},this.get_exception_ptr=function(){if(yr(this.get_type()))return rt[this.excPtr>>2];var o=this.get_adjusted_ptr();return o!==0?o:this.excPtr}}function M(){function r(){if(!Et&&(Et=!0,n.calledRun=!0,!vt)){if(_t=!0,m(Dt),X(n),n.onRuntimeInitialized&&n.onRuntimeInitialized(),n.postRun)for(typeof n.postRun=="function"&&(n.postRun=[n.postRun]);n.postRun.length;)Gt.unshift(n.postRun.shift());m(Gt)}}if(!(0<nt)){if(n.preRun)for(typeof n.preRun=="function"&&(n.preRun=[n.preRun]);n.preRun.length;)At.unshift(n.preRun.shift());m(At),0<nt||(n.setStatus?(n.setStatus("Running..."),setTimeout(function(){setTimeout(function(){n.setStatus("")},1),r()},1)):r())}}function v(){}function x(r){return(r||v).__cache__}function j(r,o){var i=x(o),u=i[r];return u||(u=Object.create((o||v).prototype),u.ptr=r,i[r]=u)}function O(r){if(typeof r=="string"){for(var o=0,i=0;i<r.length;++i){var u=r.charCodeAt(i);127>=u?o++:2047>=u?o+=2:55296<=u&&57343>=u?(o+=4,++i):o+=3}if(o=Array(o+1),i=0,u=o.length,0<u){u=i+u-1;for(var d=0;d<r.length;++d){var I=r.charCodeAt(d);if(55296<=I&&57343>=I){var dr=r.charCodeAt(++d);I=65536+((I&1023)<<10)|dr&1023}if(127>=I){if(i>=u)break;o[i++]=I}else{if(2047>=I){if(i+1>=u)break;o[i++]=192|I>>6}else{if(65535>=I){if(i+2>=u)break;o[i++]=224|I>>12}else{if(i+3>=u)break;o[i++]=240|I>>18,o[i++]=128|I>>12&63}o[i++]=128|I>>6&63}o[i++]=128|I&63}}o[i]=0}return r=T.alloc(o,ot),T.copy(o,ot,r),r}return r}function W(r){if(typeof r=="object"){var o=T.alloc(r,ot);return T.copy(r,ot,o),o}return r}function k(r){if(typeof r=="object"){var o=T.alloc(r,ht);return T.copy(r,ht,o),o}return r}function it(r){if(typeof r=="object"){var o=T.alloc(r,lt);return T.copy(r,lt,o),o}return r}function et(r){if(typeof r=="object"){var o=T.alloc(r,yt);return T.copy(r,yt,o),o}return r}function Y(){throw"cannot construct a VoidPtr, no constructor in IDL"}function H(){this.ptr=Rt(),x(H)[this.ptr]=this}function F(){this.ptr=at(),x(F)[this.ptr]=this}function P(){this.ptr=Bt(),x(P)[this.ptr]=this}function U(){this.ptr=Vt(),x(U)[this.ptr]=this}function V(){this.ptr=Xt(),x(V)[this.ptr]=this}function B(){this.ptr=Kt(),x(B)[this.ptr]=this}function w(){this.ptr=ee(),x(w)[this.ptr]=this}function G(){this.ptr=pe(),x(G)[this.ptr]=this}function g(){this.ptr=Ae(),x(g)[this.ptr]=this}function R(){this.ptr=Ue(),x(R)[this.ptr]=this}function N(r){r&&typeof r=="object"&&(r=r.ptr),this.ptr=Ye(r),x(N)[this.ptr]=this}f=f===void 0?{}:f;var n=typeof f<"u"?f:{},X,q;n.ready=new Promise(function(r,o){X=r,q=o});var $=!1,K=!1;n.onRuntimeInitialized=function(){$=!0,K&&typeof n.onModuleLoaded=="function"&&n.onModuleLoaded(n)},n.onModuleParsed=function(){K=!0,$&&typeof n.onModuleLoaded=="function"&&n.onModuleLoaded(n)},n.isVersionSupported=function(r){return typeof r!="string"?!1:(r=r.split("."),2>r.length||3<r.length?!1:r[0]==1&&0<=r[1]&&5>=r[1]?!0:!(r[0]!=0||10<r[1]))};var z=Object.assign({},n),E=typeof window=="object",t=typeof importScripts=="function",Pt=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string",Z="";if(Pt){var St=Tr,gt=Tr;Z=t?gt.dirname(Z)+"/":__dirname+"/";var Ot=function(r,o){return r=r.startsWith("file://")?new URL(r):gt.normalize(r),St.readFileSync(r,o?void 0:"utf8")},jt=function(r){return r=Ot(r,!0),r.buffer||(r=new Uint8Array(r)),r},ct=function(r,o,i){r=r.startsWith("file://")?new URL(r):gt.normalize(r),St.readFile(r,function(u,d){u?i(u):o(d.buffer)})};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),n.inspect=function(){return"[Emscripten Module object]"}}else(E||t)&&(t?Z=self.location.href:typeof document<"u"&&document.currentScript&&(Z=document.currentScript.src),l&&(Z=l),Z=Z.indexOf("blob:")!==0?Z.substr(0,Z.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Ot=function(r){var o=new XMLHttpRequest;return o.open("GET",r,!1),o.send(null),o.responseText},t&&(jt=function(r){var o=new XMLHttpRequest;return o.open("GET",r,!1),o.responseType="arraybuffer",o.send(null),new Uint8Array(o.response)}),ct=function(r,o,i){var u=new XMLHttpRequest;u.open("GET",r,!0),u.responseType="arraybuffer",u.onload=function(){u.status==200||u.status==0&&u.response?o(u.response):i()},u.onerror=i,u.send(null)});n.print||console.log.bind(console);var dt=n.printErr||console.warn.bind(console);Object.assign(n,z),z=null;var J;n.wasmBinary&&(J=n.wasmBinary),typeof WebAssembly!="object"&&c("no native wasm support detected");var mt,vt=!1,ot,bt,ht,lt,rt,yt,At=[],Dt=[],Gt=[],_t=!1,nt=0,pt=null,Q="draco_encoder.wasm";Q.startsWith("data:application/octet-stream;base64,")||(Q=y(Q));var fr={b:function(r,o,i){throw new A(r).init(o,i),r},a:function(){c("")},d:function(r,o,i){bt.copyWithin(r,o,o+i)},c:function(r){var o=bt.length;if(r>>>=0,2147483648<r)return!1;for(var i=1;4>=i;i*=2){var u=o*(1+.2/i);u=Math.min(u,r+100663296);var d=Math;u=Math.max(r,u),d=d.min.call(d,2147483648,u+(65536-u%65536)%65536);t:{u=mt.buffer;try{mt.grow(d-u.byteLength+65535>>>16),b();var I=1;break t}catch{}I=void 0}if(I)return!0}return!1}};(function(){function r(d,I){n.asm=d.exports,mt=n.asm.e,b(),Dt.unshift(n.asm.f),nt--,n.monitorRunDependencies&&n.monitorRunDependencies(nt),nt==0&&pt&&(d=pt,pt=null,d())}function o(d){r(d.instance)}function i(d){return s().then(function(I){return WebAssembly.instantiate(I,u)}).then(function(I){return I}).then(d,function(I){dt("failed to asynchronously prepare wasm: "+I),c(I)})}var u={a:fr};if(nt++,n.monitorRunDependencies&&n.monitorRunDependencies(nt),n.instantiateWasm)try{return n.instantiateWasm(u,r)}catch(d){dt("Module.instantiateWasm callback failed with error: "+d),q(d)}return(function(){return J||typeof WebAssembly.instantiateStreaming!="function"||Q.startsWith("data:application/octet-stream;base64,")||Q.startsWith("file://")||Pt||typeof fetch!="function"?i(o):fetch(Q,{credentials:"same-origin"}).then(function(d){return WebAssembly.instantiateStreaming(d,u).then(o,function(I){return dt("wasm streaming compile failed: "+I),dt("falling back to ArrayBuffer instantiation"),i(o)})})})().catch(q),{}})();var Mt=n._emscripten_bind_VoidPtr___destroy___0=function(){return(Mt=n._emscripten_bind_VoidPtr___destroy___0=n.asm.h).apply(null,arguments)},Rt=n._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Rt=n._emscripten_bind_GeometryAttribute_GeometryAttribute_0=n.asm.i).apply(null,arguments)},Nt=n._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Nt=n._emscripten_bind_GeometryAttribute___destroy___0=n.asm.j).apply(null,arguments)},at=n._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(at=n._emscripten_bind_PointAttribute_PointAttribute_0=n.asm.k).apply(null,arguments)},ft=n._emscripten_bind_PointAttribute_size_0=function(){return(ft=n._emscripten_bind_PointAttribute_size_0=n.asm.l).apply(null,arguments)},tt=n._emscripten_bind_PointAttribute_attribute_type_0=function(){return(tt=n._emscripten_bind_PointAttribute_attribute_type_0=n.asm.m).apply(null,arguments)},mr=n._emscripten_bind_PointAttribute_data_type_0=function(){return(mr=n._emscripten_bind_PointAttribute_data_type_0=n.asm.n).apply(null,arguments)},br=n._emscripten_bind_PointAttribute_num_components_0=function(){return(br=n._emscripten_bind_PointAttribute_num_components_0=n.asm.o).apply(null,arguments)},Ft=n._emscripten_bind_PointAttribute_normalized_0=function(){return(Ft=n._emscripten_bind_PointAttribute_normalized_0=n.asm.p).apply(null,arguments)},Ut=n._emscripten_bind_PointAttribute_byte_stride_0=function(){return(Ut=n._emscripten_bind_PointAttribute_byte_stride_0=n.asm.q).apply(null,arguments)},Ct=n._emscripten_bind_PointAttribute_byte_offset_0=function(){return(Ct=n._emscripten_bind_PointAttribute_byte_offset_0=n.asm.r).apply(null,arguments)},Lt=n._emscripten_bind_PointAttribute_unique_id_0=function(){return(Lt=n._emscripten_bind_PointAttribute_unique_id_0=n.asm.s).apply(null,arguments)},wt=n._emscripten_bind_PointAttribute___destroy___0=function(){return(wt=n._emscripten_bind_PointAttribute___destroy___0=n.asm.t).apply(null,arguments)},Bt=n._emscripten_bind_PointCloud_PointCloud_0=function(){return(Bt=n._emscripten_bind_PointCloud_PointCloud_0=n.asm.u).apply(null,arguments)},zt=n._emscripten_bind_PointCloud_num_attributes_0=function(){return(zt=n._emscripten_bind_PointCloud_num_attributes_0=n.asm.v).apply(null,arguments)},xt=n._emscripten_bind_PointCloud_num_points_0=function(){return(xt=n._emscripten_bind_PointCloud_num_points_0=n.asm.w).apply(null,arguments)},Wt=n._emscripten_bind_PointCloud___destroy___0=function(){return(Wt=n._emscripten_bind_PointCloud___destroy___0=n.asm.x).apply(null,arguments)},Vt=n._emscripten_bind_Mesh_Mesh_0=function(){return(Vt=n._emscripten_bind_Mesh_Mesh_0=n.asm.y).apply(null,arguments)},Qt=n._emscripten_bind_Mesh_num_faces_0=function(){return(Qt=n._emscripten_bind_Mesh_num_faces_0=n.asm.z).apply(null,arguments)},Ht=n._emscripten_bind_Mesh_num_attributes_0=function(){return(Ht=n._emscripten_bind_Mesh_num_attributes_0=n.asm.A).apply(null,arguments)},Yt=n._emscripten_bind_Mesh_num_points_0=function(){return(Yt=n._emscripten_bind_Mesh_num_points_0=n.asm.B).apply(null,arguments)},kt=n._emscripten_bind_Mesh_set_num_points_1=function(){return(kt=n._emscripten_bind_Mesh_set_num_points_1=n.asm.C).apply(null,arguments)},qt=n._emscripten_bind_Mesh___destroy___0=function(){return(qt=n._emscripten_bind_Mesh___destroy___0=n.asm.D).apply(null,arguments)},Xt=n._emscripten_bind_Metadata_Metadata_0=function(){return(Xt=n._emscripten_bind_Metadata_Metadata_0=n.asm.E).apply(null,arguments)},$t=n._emscripten_bind_Metadata___destroy___0=function(){return($t=n._emscripten_bind_Metadata___destroy___0=n.asm.F).apply(null,arguments)},Kt=n._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Kt=n._emscripten_bind_DracoInt8Array_DracoInt8Array_0=n.asm.G).apply(null,arguments)},Jt=n._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Jt=n._emscripten_bind_DracoInt8Array_GetValue_1=n.asm.H).apply(null,arguments)},Zt=n._emscripten_bind_DracoInt8Array_size_0=function(){return(Zt=n._emscripten_bind_DracoInt8Array_size_0=n.asm.I).apply(null,arguments)},te=n._emscripten_bind_DracoInt8Array___destroy___0=function(){return(te=n._emscripten_bind_DracoInt8Array___destroy___0=n.asm.J).apply(null,arguments)},ee=n._emscripten_bind_MetadataBuilder_MetadataBuilder_0=function(){return(ee=n._emscripten_bind_MetadataBuilder_MetadataBuilder_0=n.asm.K).apply(null,arguments)},re=n._emscripten_bind_MetadataBuilder_AddStringEntry_3=function(){return(re=n._emscripten_bind_MetadataBuilder_AddStringEntry_3=n.asm.L).apply(null,arguments)},ne=n._emscripten_bind_MetadataBuilder_AddIntEntry_3=function(){return(ne=n._emscripten_bind_MetadataBuilder_AddIntEntry_3=n.asm.M).apply(null,arguments)},oe=n._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=function(){return(oe=n._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=n.asm.N).apply(null,arguments)},_e=n._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=function(){return(_e=n._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=n.asm.O).apply(null,arguments)},ie=n._emscripten_bind_MetadataBuilder___destroy___0=function(){return(ie=n._emscripten_bind_MetadataBuilder___destroy___0=n.asm.P).apply(null,arguments)},pe=n._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=function(){return(pe=n._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=n.asm.Q).apply(null,arguments)},ae=n._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=function(){return(ae=n._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=n.asm.R).apply(null,arguments)},ue=n._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=function(){return(ue=n._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=n.asm.S).apply(null,arguments)},se=n._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=function(){return(se=n._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=n.asm.T).apply(null,arguments)},ce=n._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=function(){return(ce=n._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=n.asm.U).apply(null,arguments)},le=n._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=function(){return(le=n._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=n.asm.V).apply(null,arguments)},ye=n._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=function(){return(ye=n._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=n.asm.W).apply(null,arguments)},de=n._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=function(){return(de=n._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=n.asm.X).apply(null,arguments)},fe=n._emscripten_bind_PointCloudBuilder_AddMetadata_2=function(){return(fe=n._emscripten_bind_PointCloudBuilder_AddMetadata_2=n.asm.Y).apply(null,arguments)},me=n._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=function(){return(me=n._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=n.asm.Z).apply(null,arguments)},be=n._emscripten_bind_PointCloudBuilder_SetNormalizedFlagForAttribute_3=function(){return(be=n._emscripten_bind_PointCloudBuilder_SetNormalizedFlagForAttribute_3=n.asm._).apply(null,arguments)},he=n._emscripten_bind_PointCloudBuilder___destroy___0=function(){return(he=n._emscripten_bind_PointCloudBuilder___destroy___0=n.asm.$).apply(null,arguments)},Ae=n._emscripten_bind_MeshBuilder_MeshBuilder_0=function(){return(Ae=n._emscripten_bind_MeshBuilder_MeshBuilder_0=n.asm.aa).apply(null,arguments)},Ee=n._emscripten_bind_MeshBuilder_AddFacesToMesh_3=function(){return(Ee=n._emscripten_bind_MeshBuilder_AddFacesToMesh_3=n.asm.ba).apply(null,arguments)},Ie=n._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=function(){return(Ie=n._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=n.asm.ca).apply(null,arguments)},Te=n._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=function(){return(Te=n._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=n.asm.da).apply(null,arguments)},ge=n._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=function(){return(ge=n._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=n.asm.ea).apply(null,arguments)},je=n._emscripten_bind_MeshBuilder_AddFloatAttribute_5=function(){return(je=n._emscripten_bind_MeshBuilder_AddFloatAttribute_5=n.asm.fa).apply(null,arguments)},ve=n._emscripten_bind_MeshBuilder_AddInt8Attribute_5=function(){return(ve=n._emscripten_bind_MeshBuilder_AddInt8Attribute_5=n.asm.ga).apply(null,arguments)},De=n._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=function(){return(De=n._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=n.asm.ha).apply(null,arguments)},Me=n._emscripten_bind_MeshBuilder_AddInt16Attribute_5=function(){return(Me=n._emscripten_bind_MeshBuilder_AddInt16Attribute_5=n.asm.ia).apply(null,arguments)},Pe=n._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=function(){return(Pe=n._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=n.asm.ja).apply(null,arguments)},Se=n._emscripten_bind_MeshBuilder_AddInt32Attribute_5=function(){return(Se=n._emscripten_bind_MeshBuilder_AddInt32Attribute_5=n.asm.ka).apply(null,arguments)},Oe=n._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=function(){return(Oe=n._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=n.asm.la).apply(null,arguments)},Ge=n._emscripten_bind_MeshBuilder_AddMetadata_2=function(){return(Ge=n._emscripten_bind_MeshBuilder_AddMetadata_2=n.asm.ma).apply(null,arguments)},Re=n._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=function(){return(Re=n._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=n.asm.na).apply(null,arguments)},Ne=n._emscripten_bind_MeshBuilder_SetNormalizedFlagForAttribute_3=function(){return(Ne=n._emscripten_bind_MeshBuilder_SetNormalizedFlagForAttribute_3=n.asm.oa).apply(null,arguments)},Fe=n._emscripten_bind_MeshBuilder___destroy___0=function(){return(Fe=n._emscripten_bind_MeshBuilder___destroy___0=n.asm.pa).apply(null,arguments)},Ue=n._emscripten_bind_Encoder_Encoder_0=function(){return(Ue=n._emscripten_bind_Encoder_Encoder_0=n.asm.qa).apply(null,arguments)},Ce=n._emscripten_bind_Encoder_SetEncodingMethod_1=function(){return(Ce=n._emscripten_bind_Encoder_SetEncodingMethod_1=n.asm.ra).apply(null,arguments)},Le=n._emscripten_bind_Encoder_SetAttributeQuantization_2=function(){return(Le=n._emscripten_bind_Encoder_SetAttributeQuantization_2=n.asm.sa).apply(null,arguments)},we=n._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=function(){return(we=n._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=n.asm.ta).apply(null,arguments)},Be=n._emscripten_bind_Encoder_SetSpeedOptions_2=function(){return(Be=n._emscripten_bind_Encoder_SetSpeedOptions_2=n.asm.ua).apply(null,arguments)},ze=n._emscripten_bind_Encoder_SetTrackEncodedProperties_1=function(){return(ze=n._emscripten_bind_Encoder_SetTrackEncodedProperties_1=n.asm.va).apply(null,arguments)},xe=n._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=function(){return(xe=n._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=n.asm.wa).apply(null,arguments)},We=n._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=function(){return(We=n._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=n.asm.xa).apply(null,arguments)},Ve=n._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=function(){return(Ve=n._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=n.asm.ya).apply(null,arguments)},Qe=n._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=function(){return(Qe=n._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=n.asm.za).apply(null,arguments)},He=n._emscripten_bind_Encoder___destroy___0=function(){return(He=n._emscripten_bind_Encoder___destroy___0=n.asm.Aa).apply(null,arguments)},Ye=n._emscripten_bind_ExpertEncoder_ExpertEncoder_1=function(){return(Ye=n._emscripten_bind_ExpertEncoder_ExpertEncoder_1=n.asm.Ba).apply(null,arguments)},ke=n._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=function(){return(ke=n._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=n.asm.Ca).apply(null,arguments)},qe=n._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=function(){return(qe=n._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=n.asm.Da).apply(null,arguments)},Xe=n._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=function(){return(Xe=n._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=n.asm.Ea).apply(null,arguments)},$e=n._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=function(){return($e=n._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=n.asm.Fa).apply(null,arguments)},Ke=n._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=function(){return(Ke=n._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=n.asm.Ga).apply(null,arguments)},Je=n._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=function(){return(Je=n._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=n.asm.Ha).apply(null,arguments)},Ze=n._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=function(){return(Ze=n._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=n.asm.Ia).apply(null,arguments)},tr=n._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=function(){return(tr=n._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=n.asm.Ja).apply(null,arguments)},er=n._emscripten_bind_ExpertEncoder___destroy___0=function(){return(er=n._emscripten_bind_ExpertEncoder___destroy___0=n.asm.Ka).apply(null,arguments)},rr=n._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(rr=n._emscripten_enum_draco_GeometryAttribute_Type_INVALID=n.asm.La).apply(null,arguments)},nr=n._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(nr=n._emscripten_enum_draco_GeometryAttribute_Type_POSITION=n.asm.Ma).apply(null,arguments)},or=n._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(or=n._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=n.asm.Na).apply(null,arguments)},_r=n._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(_r=n._emscripten_enum_draco_GeometryAttribute_Type_COLOR=n.asm.Oa).apply(null,arguments)},ir=n._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(ir=n._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=n.asm.Pa).apply(null,arguments)},pr=n._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(pr=n._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=n.asm.Qa).apply(null,arguments)},ar=n._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(ar=n._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=n.asm.Ra).apply(null,arguments)},ur=n._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(ur=n._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=n.asm.Sa).apply(null,arguments)},sr=n._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(sr=n._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=n.asm.Ta).apply(null,arguments)},cr=n._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=function(){return(cr=n._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=n.asm.Ua).apply(null,arguments)},lr=n._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=function(){return(lr=n._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=n.asm.Va).apply(null,arguments)};n._malloc=function(){return(n._malloc=n.asm.Wa).apply(null,arguments)},n._free=function(){return(n._free=n.asm.Xa).apply(null,arguments)};var yr=function(){return(yr=n.asm.Ya).apply(null,arguments)};n.___start_em_js=19116,n.___stop_em_js=19214;var Et;if(pt=function r(){Et||M(),Et||(pt=r)},n.preInit)for(typeof n.preInit=="function"&&(n.preInit=[n.preInit]);0<n.preInit.length;)n.preInit.pop()();M(),v.prototype=Object.create(v.prototype),v.prototype.constructor=v,v.prototype.__class__=v,v.__cache__={},n.WrapperObject=v,n.getCache=x,n.wrapPointer=j,n.castObject=function(r,o){return j(r.ptr,o)},n.NULL=j(0),n.destroy=function(r){if(!r.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";r.__destroy__(),delete x(r.__class__)[r.ptr]},n.compare=function(r,o){return r.ptr===o.ptr},n.getPointer=function(r){return r.ptr},n.getClass=function(r){return r.__class__};var T={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(T.needed){for(var r=0;r<T.temps.length;r++)n._free(T.temps[r]);T.temps.length=0,n._free(T.buffer),T.buffer=0,T.size+=T.needed,T.needed=0}T.buffer||(T.size+=128,T.buffer=n._malloc(T.size),T.buffer||c(void 0)),T.pos=0},alloc:function(r,o){return T.buffer||c(void 0),r=r.length*o.BYTES_PER_ELEMENT,r=r+7&-8,T.pos+r>=T.size?(0<r||c(void 0),T.needed+=r,o=n._malloc(r),T.temps.push(o)):(o=T.buffer+T.pos,T.pos+=r),o},copy:function(r,o,i){switch(i>>>=0,o.BYTES_PER_ELEMENT){case 2:i>>>=1;break;case 4:i>>>=2;break;case 8:i>>>=3}for(var u=0;u<r.length;u++)o[i+u]=r[u]}};return Y.prototype=Object.create(v.prototype),Y.prototype.constructor=Y,Y.prototype.__class__=Y,Y.__cache__={},n.VoidPtr=Y,Y.prototype.__destroy__=Y.prototype.__destroy__=function(){Mt(this.ptr)},H.prototype=Object.create(v.prototype),H.prototype.constructor=H,H.prototype.__class__=H,H.__cache__={},n.GeometryAttribute=H,H.prototype.__destroy__=H.prototype.__destroy__=function(){Nt(this.ptr)},F.prototype=Object.create(v.prototype),F.prototype.constructor=F,F.prototype.__class__=F,F.__cache__={},n.PointAttribute=F,F.prototype.size=F.prototype.size=function(){return ft(this.ptr)},F.prototype.attribute_type=F.prototype.attribute_type=function(){return tt(this.ptr)},F.prototype.data_type=F.prototype.data_type=function(){return mr(this.ptr)},F.prototype.num_components=F.prototype.num_components=function(){return br(this.ptr)},F.prototype.normalized=F.prototype.normalized=function(){return!!Ft(this.ptr)},F.prototype.byte_stride=F.prototype.byte_stride=function(){return Ut(this.ptr)},F.prototype.byte_offset=F.prototype.byte_offset=function(){return Ct(this.ptr)},F.prototype.unique_id=F.prototype.unique_id=function(){return Lt(this.ptr)},F.prototype.__destroy__=F.prototype.__destroy__=function(){wt(this.ptr)},P.prototype=Object.create(v.prototype),P.prototype.constructor=P,P.prototype.__class__=P,P.__cache__={},n.PointCloud=P,P.prototype.num_attributes=P.prototype.num_attributes=function(){return zt(this.ptr)},P.prototype.num_points=P.prototype.num_points=function(){return xt(this.ptr)},P.prototype.__destroy__=P.prototype.__destroy__=function(){Wt(this.ptr)},U.prototype=Object.create(v.prototype),U.prototype.constructor=U,U.prototype.__class__=U,U.__cache__={},n.Mesh=U,U.prototype.num_faces=U.prototype.num_faces=function(){return Qt(this.ptr)},U.prototype.num_attributes=U.prototype.num_attributes=function(){return Ht(this.ptr)},U.prototype.num_points=U.prototype.num_points=function(){return Yt(this.ptr)},U.prototype.set_num_points=U.prototype.set_num_points=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),kt(o,r)},U.prototype.__destroy__=U.prototype.__destroy__=function(){qt(this.ptr)},V.prototype=Object.create(v.prototype),V.prototype.constructor=V,V.prototype.__class__=V,V.__cache__={},n.Metadata=V,V.prototype.__destroy__=V.prototype.__destroy__=function(){$t(this.ptr)},B.prototype=Object.create(v.prototype),B.prototype.constructor=B,B.prototype.__class__=B,B.__cache__={},n.DracoInt8Array=B,B.prototype.GetValue=B.prototype.GetValue=function(r){var o=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),Jt(o,r)},B.prototype.size=B.prototype.size=function(){return Zt(this.ptr)},B.prototype.__destroy__=B.prototype.__destroy__=function(){te(this.ptr)},w.prototype=Object.create(v.prototype),w.prototype.constructor=w,w.prototype.__class__=w,w.__cache__={},n.MetadataBuilder=w,w.prototype.AddStringEntry=w.prototype.AddStringEntry=function(r,o,i){var u=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o=o&&typeof o=="object"?o.ptr:O(o),i=i&&typeof i=="object"?i.ptr:O(i),!!re(u,r,o,i)},w.prototype.AddIntEntry=w.prototype.AddIntEntry=function(r,o,i){var u=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o=o&&typeof o=="object"?o.ptr:O(o),i&&typeof i=="object"&&(i=i.ptr),!!ne(u,r,o,i)},w.prototype.AddIntEntryArray=w.prototype.AddIntEntryArray=function(r,o,i,u){var d=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o=o&&typeof o=="object"?o.ptr:O(o),typeof i=="object"&&(i=it(i)),u&&typeof u=="object"&&(u=u.ptr),!!oe(d,r,o,i,u)},w.prototype.AddDoubleEntry=w.prototype.AddDoubleEntry=function(r,o,i){var u=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o=o&&typeof o=="object"?o.ptr:O(o),i&&typeof i=="object"&&(i=i.ptr),!!_e(u,r,o,i)},w.prototype.__destroy__=w.prototype.__destroy__=function(){ie(this.ptr)},G.prototype=Object.create(v.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},n.PointCloudBuilder=G,G.prototype.AddFloatAttribute=G.prototype.AddFloatAttribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=et(d)),ae(I,r,o,i,u,d)},G.prototype.AddInt8Attribute=G.prototype.AddInt8Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=W(d)),ue(I,r,o,i,u,d)},G.prototype.AddUInt8Attribute=G.prototype.AddUInt8Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=W(d)),se(I,r,o,i,u,d)},G.prototype.AddInt16Attribute=G.prototype.AddInt16Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=k(d)),ce(I,r,o,i,u,d)},G.prototype.AddUInt16Attribute=G.prototype.AddUInt16Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=k(d)),le(I,r,o,i,u,d)},G.prototype.AddInt32Attribute=G.prototype.AddInt32Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),ye(I,r,o,i,u,d)},G.prototype.AddUInt32Attribute=G.prototype.AddUInt32Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),de(I,r,o,i,u,d)},G.prototype.AddMetadata=G.prototype.AddMetadata=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),!!fe(i,r,o)},G.prototype.SetMetadataForAttribute=G.prototype.SetMetadataForAttribute=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),!!me(u,r,o,i)},G.prototype.SetNormalizedFlagForAttribute=G.prototype.SetNormalizedFlagForAttribute=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),!!be(u,r,o,i)},G.prototype.__destroy__=G.prototype.__destroy__=function(){he(this.ptr)},g.prototype=Object.create(v.prototype),g.prototype.constructor=g,g.prototype.__class__=g,g.__cache__={},n.MeshBuilder=g,g.prototype.AddFacesToMesh=g.prototype.AddFacesToMesh=function(r,o,i){var u=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),typeof i=="object"&&(i=it(i)),!!Ee(u,r,o,i)},g.prototype.AddFloatAttributeToMesh=g.prototype.AddFloatAttributeToMesh=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=et(d)),Ie(I,r,o,i,u,d)},g.prototype.AddInt32AttributeToMesh=g.prototype.AddInt32AttributeToMesh=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),Te(I,r,o,i,u,d)},g.prototype.AddMetadataToMesh=g.prototype.AddMetadataToMesh=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),!!ge(i,r,o)},g.prototype.AddFloatAttribute=g.prototype.AddFloatAttribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=et(d)),je(I,r,o,i,u,d)},g.prototype.AddInt8Attribute=g.prototype.AddInt8Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=W(d)),ve(I,r,o,i,u,d)},g.prototype.AddUInt8Attribute=g.prototype.AddUInt8Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=W(d)),De(I,r,o,i,u,d)},g.prototype.AddInt16Attribute=g.prototype.AddInt16Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=k(d)),Me(I,r,o,i,u,d)},g.prototype.AddUInt16Attribute=g.prototype.AddUInt16Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=k(d)),Pe(I,r,o,i,u,d)},g.prototype.AddInt32Attribute=g.prototype.AddInt32Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),Se(I,r,o,i,u,d)},g.prototype.AddUInt32Attribute=g.prototype.AddUInt32Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),Oe(I,r,o,i,u,d)},g.prototype.AddMetadata=g.prototype.AddMetadata=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),!!Ge(i,r,o)},g.prototype.SetMetadataForAttribute=g.prototype.SetMetadataForAttribute=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),!!Re(u,r,o,i)},g.prototype.SetNormalizedFlagForAttribute=g.prototype.SetNormalizedFlagForAttribute=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),!!Ne(u,r,o,i)},g.prototype.__destroy__=g.prototype.__destroy__=function(){Fe(this.ptr)},R.prototype=Object.create(v.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},n.Encoder=R,R.prototype.SetEncodingMethod=R.prototype.SetEncodingMethod=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),Ce(o,r)},R.prototype.SetAttributeQuantization=R.prototype.SetAttributeQuantization=function(r,o){var i=this.ptr;r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),Le(i,r,o)},R.prototype.SetAttributeExplicitQuantization=R.prototype.SetAttributeExplicitQuantization=function(r,o,i,u,d){var I=this.ptr;T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),typeof u=="object"&&(u=et(u)),d&&typeof d=="object"&&(d=d.ptr),we(I,r,o,i,u,d)},R.prototype.SetSpeedOptions=R.prototype.SetSpeedOptions=function(r,o){var i=this.ptr;r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),Be(i,r,o)},R.prototype.SetTrackEncodedProperties=R.prototype.SetTrackEncodedProperties=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),ze(o,r)},R.prototype.EncodeMeshToDracoBuffer=R.prototype.EncodeMeshToDracoBuffer=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),xe(i,r,o)},R.prototype.EncodePointCloudToDracoBuffer=R.prototype.EncodePointCloudToDracoBuffer=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),We(u,r,o,i)},R.prototype.GetNumberOfEncodedPoints=R.prototype.GetNumberOfEncodedPoints=function(){return Ve(this.ptr)},R.prototype.GetNumberOfEncodedFaces=R.prototype.GetNumberOfEncodedFaces=function(){return Qe(this.ptr)},R.prototype.__destroy__=R.prototype.__destroy__=function(){He(this.ptr)},N.prototype=Object.create(v.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},n.ExpertEncoder=N,N.prototype.SetEncodingMethod=N.prototype.SetEncodingMethod=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),ke(o,r)},N.prototype.SetAttributeQuantization=N.prototype.SetAttributeQuantization=function(r,o){var i=this.ptr;r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),qe(i,r,o)},N.prototype.SetAttributeExplicitQuantization=N.prototype.SetAttributeExplicitQuantization=function(r,o,i,u,d){var I=this.ptr;T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),typeof u=="object"&&(u=et(u)),d&&typeof d=="object"&&(d=d.ptr),Xe(I,r,o,i,u,d)},N.prototype.SetSpeedOptions=N.prototype.SetSpeedOptions=function(r,o){var i=this.ptr;r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),$e(i,r,o)},N.prototype.SetTrackEncodedProperties=N.prototype.SetTrackEncodedProperties=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),Ke(o,r)},N.prototype.EncodeToDracoBuffer=N.prototype.EncodeToDracoBuffer=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),Je(i,r,o)},N.prototype.GetNumberOfEncodedPoints=N.prototype.GetNumberOfEncodedPoints=function(){return Ze(this.ptr)},N.prototype.GetNumberOfEncodedFaces=N.prototype.GetNumberOfEncodedFaces=function(){return tr(this.ptr)},N.prototype.__destroy__=N.prototype.__destroy__=function(){er(this.ptr)},(function(){function r(){n.INVALID=rr(),n.POSITION=nr(),n.NORMAL=or(),n.COLOR=_r(),n.TEX_COORD=ir(),n.GENERIC=pr(),n.INVALID_GEOMETRY_TYPE=ar(),n.POINT_CLOUD=ur(),n.TRIANGULAR_MESH=sr(),n.MESH_SEQUENTIAL_ENCODING=cr(),n.MESH_EDGEBREAKER_ENCODING=lr()}_t?r():Dt.unshift(r)})(),typeof n.onModuleParsed=="function"&&n.onModuleParsed(),f.ready}})();ut.exports=st})(Ar)),Ar.exports}var Er={exports:{}},On=Er.exports,gn;function Gn(){return gn||(gn=1,(function(ut,Tt){var a=a||{};a.scope={},a.arrayIteratorImpl=function(l){var f=0;return function(){return f<l.length?{done:!1,value:l[f++]}:{done:!0}}},a.arrayIterator=function(l){return{next:a.arrayIteratorImpl(l)}},a.makeIterator=function(l){var f=typeof Symbol<"u"&&Symbol.iterator&&l[Symbol.iterator];return f?f.call(l):a.arrayIterator(l)},a.ASSUME_ES5=!1,a.ASSUME_NO_NATIVE_MAP=!1,a.ASSUME_NO_NATIVE_SET=!1,a.SIMPLE_FROUND_POLYFILL=!1,a.ISOLATE_POLYFILLS=!1,a.FORCE_POLYFILL_PROMISE=!1,a.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,a.getGlobal=function(l){l=[typeof globalThis=="object"&&globalThis,l,typeof window=="object"&&window,typeof self=="object"&&self,typeof Ir=="object"&&Ir];for(var f=0;f<l.length;++f){var y=l[f];if(y&&y.Math==Math)return y}throw Error("Cannot find global object")},a.global=a.getGlobal(On),a.defineProperty=a.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(l,f,y){return l==Array.prototype||l==Object.prototype||(l[f]=y.value),l},a.IS_SYMBOL_NATIVE=typeof Symbol=="function"&&typeof Symbol("x")=="symbol",a.TRUST_ES6_POLYFILLS=!a.ISOLATE_POLYFILLS||a.IS_SYMBOL_NATIVE,a.polyfills={},a.propertyToPolyfillSymbol={},a.POLYFILL_PREFIX="$jscp$",a.polyfill=function(l,f,y,b){f&&(a.ISOLATE_POLYFILLS?a.polyfillIsolated(l,f,y,b):a.polyfillUnisolated(l,f,y,b))},a.polyfillUnisolated=function(l,f,y,b){for(y=a.global,l=l.split("."),b=0;b<l.length-1;b++){var c=l[b];if(!(c in y))return;y=y[c]}l=l[l.length-1],b=y[l],f=f(b),f!=b&&f!=null&&a.defineProperty(y,l,{configurable:!0,writable:!0,value:f})},a.polyfillIsolated=function(l,f,y,b){var c=l.split(".");l=c.length===1,b=c[0],b=!l&&b in a.polyfills?a.polyfills:a.global;for(var S=0;S<c.length-1;S++){var s=c[S];if(!(s in b))return;b=b[s]}c=c[c.length-1],y=a.IS_SYMBOL_NATIVE&&y==="es6"?b[c]:null,f=f(y),f!=null&&(l?a.defineProperty(a.polyfills,c,{configurable:!0,writable:!0,value:f}):f!==y&&(a.propertyToPolyfillSymbol[c]===void 0&&(y=1e9*Math.random()>>>0,a.propertyToPolyfillSymbol[c]=a.IS_SYMBOL_NATIVE?a.global.Symbol(c):a.POLYFILL_PREFIX+y+"$"+c),a.defineProperty(b,a.propertyToPolyfillSymbol[c],{configurable:!0,writable:!0,value:f})))},a.polyfill("Promise",function(l){function f(){this.batch_=null}function y(s){return s instanceof c?s:new c(function(m,A){m(s)})}if(l&&(!(a.FORCE_POLYFILL_PROMISE||a.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&typeof a.global.PromiseRejectionEvent>"u")||!a.global.Promise||a.global.Promise.toString().indexOf("[native code]")===-1))return l;f.prototype.asyncExecute=function(s){if(this.batch_==null){this.batch_=[];var m=this;this.asyncExecuteFunction(function(){m.executeBatch_()})}this.batch_.push(s)};var b=a.global.setTimeout;f.prototype.asyncExecuteFunction=function(s){b(s,0)},f.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var s=this.batch_;this.batch_=[];for(var m=0;m<s.length;++m){var A=s[m];s[m]=null;try{A()}catch(M){this.asyncThrow_(M)}}}this.batch_=null},f.prototype.asyncThrow_=function(s){this.asyncExecuteFunction(function(){throw s})};var c=function(s){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var m=this.createResolveAndReject_();try{s(m.resolve,m.reject)}catch(A){m.reject(A)}};c.prototype.createResolveAndReject_=function(){function s(M){return function(v){A||(A=!0,M.call(m,v))}}var m=this,A=!1;return{resolve:s(this.resolveTo_),reject:s(this.reject_)}},c.prototype.resolveTo_=function(s){if(s===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(s instanceof c)this.settleSameAsPromise_(s);else{t:switch(typeof s){case"object":var m=s!=null;break t;case"function":m=!0;break t;default:m=!1}m?this.resolveToNonPromiseObj_(s):this.fulfill_(s)}},c.prototype.resolveToNonPromiseObj_=function(s){var m=void 0;try{m=s.then}catch(A){this.reject_(A);return}typeof m=="function"?this.settleSameAsThenable_(m,s):this.fulfill_(s)},c.prototype.reject_=function(s){this.settle_(2,s)},c.prototype.fulfill_=function(s){this.settle_(1,s)},c.prototype.settle_=function(s,m){if(this.state_!=0)throw Error("Cannot settle("+s+", "+m+"): Promise already settled in state"+this.state_);this.state_=s,this.result_=m,this.state_===2&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},c.prototype.scheduleUnhandledRejectionCheck_=function(){var s=this;b(function(){if(s.notifyUnhandledRejection_()){var m=a.global.console;typeof m<"u"&&m.error(s.result_)}},1)},c.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var s=a.global.CustomEvent,m=a.global.Event,A=a.global.dispatchEvent;return typeof A>"u"?!0:(typeof s=="function"?s=new s("unhandledrejection",{cancelable:!0}):typeof m=="function"?s=new m("unhandledrejection",{cancelable:!0}):(s=a.global.document.createEvent("CustomEvent"),s.initCustomEvent("unhandledrejection",!1,!0,s)),s.promise=this,s.reason=this.result_,A(s))},c.prototype.executeOnSettledCallbacks_=function(){if(this.onSettledCallbacks_!=null){for(var s=0;s<this.onSettledCallbacks_.length;++s)S.asyncExecute(this.onSettledCallbacks_[s]);this.onSettledCallbacks_=null}};var S=new f;return c.prototype.settleSameAsPromise_=function(s){var m=this.createResolveAndReject_();s.callWhenSettled_(m.resolve,m.reject)},c.prototype.settleSameAsThenable_=function(s,m){var A=this.createResolveAndReject_();try{s.call(m,A.resolve,A.reject)}catch(M){A.reject(M)}},c.prototype.then=function(s,m){function A(j,O){return typeof j=="function"?function(W){try{M(j(W))}catch(k){v(k)}}:O}var M,v,x=new c(function(j,O){M=j,v=O});return this.callWhenSettled_(A(s,M),A(m,v)),x},c.prototype.catch=function(s){return this.then(void 0,s)},c.prototype.callWhenSettled_=function(s,m){function A(){switch(M.state_){case 1:s(M.result_);break;case 2:m(M.result_);break;default:throw Error("Unexpected state: "+M.state_)}}var M=this;this.onSettledCallbacks_==null?S.asyncExecute(A):this.onSettledCallbacks_.push(A),this.isRejectionHandled_=!0},c.resolve=y,c.reject=function(s){return new c(function(m,A){A(s)})},c.race=function(s){return new c(function(m,A){for(var M=a.makeIterator(s),v=M.next();!v.done;v=M.next())y(v.value).callWhenSettled_(m,A)})},c.all=function(s){var m=a.makeIterator(s),A=m.next();return A.done?y([]):new c(function(M,v){function x(W){return function(k){j[W]=k,O--,O==0&&M(j)}}var j=[],O=0;do j.push(void 0),O++,y(A.value).callWhenSettled_(x(j.length-1),v),A=m.next();while(!A.done)})},c},"es6","es3"),a.owns=function(l,f){return Object.prototype.hasOwnProperty.call(l,f)},a.assign=a.TRUST_ES6_POLYFILLS&&typeof Object.assign=="function"?Object.assign:function(l,f){for(var y=1;y<arguments.length;y++){var b=arguments[y];if(b)for(var c in b)a.owns(b,c)&&(l[c]=b[c])}return l},a.polyfill("Object.assign",function(l){return l||a.assign},"es6","es3"),a.checkStringArgs=function(l,f,y){if(l==null)throw new TypeError("The 'this' value for String.prototype."+y+" must not be null or undefined");if(f instanceof RegExp)throw new TypeError("First argument to String.prototype."+y+" must not be a regular expression");return l+""},a.polyfill("String.prototype.startsWith",function(l){return l||function(f,y){var b=a.checkStringArgs(this,f,"startsWith");f+="";var c=b.length,S=f.length;y=Math.max(0,Math.min(y|0,b.length));for(var s=0;s<S&&y<c;)if(b[y++]!=f[s++])return!1;return s>=S}},"es6","es3"),a.polyfill("Array.prototype.copyWithin",function(l){function f(y){return y=Number(y),y===1/0||y===-1/0?y:y|0}return l||function(y,b,c){var S=this.length;if(y=f(y),b=f(b),c=c===void 0?S:f(c),y=0>y?Math.max(S+y,0):Math.min(y,S),b=0>b?Math.max(S+b,0):Math.min(b,S),c=0>c?Math.max(S+c,0):Math.min(c,S),y<b)for(;b<c;)b in this?this[y++]=this[b++]:(delete this[y++],b++);else for(c=Math.min(c,S+b-y),y+=c-b;c>b;)--c in this?this[--y]=this[c]:delete this[--y];return this}},"es6","es3"),a.typedArrayCopyWithin=function(l){return l||Array.prototype.copyWithin},a.polyfill("Int8Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint8Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint8ClampedArray.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Int16Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint16Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Int32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Float32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Float64Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5");var st=(function(){var l=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return typeof __filename<"u"&&(l=l||__filename),function(f){function y(e){return t.locateFile?t.locateFile(e,J):J+e}function b(e,_,p){var h=_+p;for(p=_;e[p]&&!(p>=h);)++p;if(16<p-_&&e.buffer&&Gt)return Gt.decode(e.subarray(_,p));for(h="";_<p;){var D=e[_++];if(D&128){var L=e[_++]&63;if((D&224)==192)h+=String.fromCharCode((D&31)<<6|L);else{var It=e[_++]&63;D=(D&240)==224?(D&15)<<12|L<<6|It:(D&7)<<18|L<<12|It<<6|e[_++]&63,65536>D?h+=String.fromCharCode(D):(D-=65536,h+=String.fromCharCode(55296|D>>10,56320|D&1023))}}else h+=String.fromCharCode(D)}return h}function c(e,_){return e?b(nt,e,_):""}function S(){var e=At.buffer;t.HEAP8=_t=new Int8Array(e),t.HEAP16=new Int16Array(e),t.HEAP32=pt=new Int32Array(e),t.HEAPU8=nt=new Uint8Array(e),t.HEAPU16=new Uint16Array(e),t.HEAPU32=Q=new Uint32Array(e),t.HEAPF32=new Float32Array(e),t.HEAPF64=new Float64Array(e)}function s(e){throw t.onAbort&&t.onAbort(e),e="Aborted("+e+")",rt(e),Dt=!0,e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info."),Z(e),e}function m(e){try{if(e==tt&&yt)return new Uint8Array(yt);if(bt)return bt(e);throw"both async and sync fetching of the wasm failed"}catch(_){s(_)}}function A(){if(!yt&&(jt||ct)){if(typeof fetch=="function"&&!tt.startsWith("file://"))return fetch(tt,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+tt+"'";return e.arrayBuffer()}).catch(function(){return m(tt)});if(ht)return new Promise(function(e,_){ht(tt,function(p){e(new Uint8Array(p))},_)})}return Promise.resolve().then(function(){return m(tt)})}function M(e){for(;0<e.length;)e.shift()(t)}function v(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(_){Q[this.ptr+4>>2]=_},this.get_type=function(){return Q[this.ptr+4>>2]},this.set_destructor=function(_){Q[this.ptr+8>>2]=_},this.get_destructor=function(){return Q[this.ptr+8>>2]},this.set_refcount=function(_){pt[this.ptr>>2]=_},this.set_caught=function(_){_t[this.ptr+12>>0]=_?1:0},this.get_caught=function(){return _t[this.ptr+12>>0]!=0},this.set_rethrown=function(_){_t[this.ptr+13>>0]=_?1:0},this.get_rethrown=function(){return _t[this.ptr+13>>0]!=0},this.init=function(_,p){this.set_adjusted_ptr(0),this.set_type(_),this.set_destructor(p),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){pt[this.ptr>>2]+=1},this.release_ref=function(){var _=pt[this.ptr>>2];return pt[this.ptr>>2]=_-1,_===1},this.set_adjusted_ptr=function(_){Q[this.ptr+16>>2]=_},this.get_adjusted_ptr=function(){return Q[this.ptr+16>>2]},this.get_exception_ptr=function(){if(En(this.get_type()))return Q[this.excPtr>>2];var _=this.get_adjusted_ptr();return _!==0?_:this.excPtr}}function x(){function e(){if(!hr&&(hr=!0,t.calledRun=!0,!Dt)){if(Nt=!0,M(Mt),Pt(t),t.onRuntimeInitialized&&t.onRuntimeInitialized(),t.postRun)for(typeof t.postRun=="function"&&(t.postRun=[t.postRun]);t.postRun.length;)Rt.unshift(t.postRun.shift());M(Rt)}}if(!(0<at)){if(t.preRun)for(typeof t.preRun=="function"&&(t.preRun=[t.preRun]);t.preRun.length;)fr.unshift(t.preRun.shift());M(fr),0<at||(t.setStatus?(t.setStatus("Running..."),setTimeout(function(){setTimeout(function(){t.setStatus("")},1),e()},1)):e())}}function j(){}function O(e){return(e||j).__cache__}function W(e,_){var p=O(_),h=p[e];return h||(h=Object.create((_||j).prototype),h.ptr=e,p[e]=h)}function k(e){if(typeof e=="string"){for(var _=0,p=0;p<e.length;++p){var h=e.charCodeAt(p);127>=h?_++:2047>=h?_+=2:55296<=h&&57343>=h?(_+=4,++p):_+=3}if(_=Array(_+1),p=0,h=_.length,0<h){h=p+h-1;for(var D=0;D<e.length;++D){var L=e.charCodeAt(D);if(55296<=L&&57343>=L){var It=e.charCodeAt(++D);L=65536+((L&1023)<<10)|It&1023}if(127>=L){if(p>=h)break;_[p++]=L}else{if(2047>=L){if(p+1>=h)break;_[p++]=192|L>>6}else{if(65535>=L){if(p+2>=h)break;_[p++]=224|L>>12}else{if(p+3>=h)break;_[p++]=240|L>>18,_[p++]=128|L>>12&63}_[p++]=128|L>>6&63}_[p++]=128|L&63}}_[p]=0}return e=C.alloc(_,_t),C.copy(_,_t,e),e}return e}function it(e){if(typeof e=="object"){var _=C.alloc(e,_t);return C.copy(e,_t,_),_}return e}function et(){throw"cannot construct a VoidPtr, no constructor in IDL"}function Y(){this.ptr=Ut(),O(Y)[this.ptr]=this}function H(){this.ptr=wt(),O(H)[this.ptr]=this}function F(){this.ptr=xt(),O(F)[this.ptr]=this}function P(){this.ptr=Vt(),O(P)[this.ptr]=this}function U(){this.ptr=te(),O(U)[this.ptr]=this}function V(){this.ptr=ie(),O(V)[this.ptr]=this}function B(){this.ptr=se(),O(B)[this.ptr]=this}function w(){this.ptr=de(),O(w)[this.ptr]=this}function G(){this.ptr=Ae(),O(G)[this.ptr]=this}function g(){throw"cannot construct a Status, no constructor in IDL"}function R(){this.ptr=ve(),O(R)[this.ptr]=this}function N(){this.ptr=Se(),O(N)[this.ptr]=this}function n(){this.ptr=Ne(),O(n)[this.ptr]=this}function X(){this.ptr=Le(),O(X)[this.ptr]=this}function q(){this.ptr=xe(),O(q)[this.ptr]=this}function $(){this.ptr=He(),O($)[this.ptr]=this}function K(){this.ptr=Xe(),O(K)[this.ptr]=this}function z(){this.ptr=Ze(),O(z)[this.ptr]=this}function E(){this.ptr=ar(),O(E)[this.ptr]=this}f=f===void 0?{}:f;var t=typeof f<"u"?f:{},Pt,Z;t.ready=new Promise(function(e,_){Pt=e,Z=_});var St=!1,gt=!1;t.onRuntimeInitialized=function(){St=!0,gt&&typeof t.onModuleLoaded=="function"&&t.onModuleLoaded(t)},t.onModuleParsed=function(){gt=!0,St&&typeof t.onModuleLoaded=="function"&&t.onModuleLoaded(t)},t.isVersionSupported=function(e){return typeof e!="string"?!1:(e=e.split("."),2>e.length||3<e.length?!1:e[0]==1&&0<=e[1]&&5>=e[1]?!0:!(e[0]!=0||10<e[1]))};var Ot=Object.assign({},t),jt=typeof window=="object",ct=typeof importScripts=="function",dt=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string",J="";if(dt){var mt=Tr,vt=Tr;J=ct?vt.dirname(J)+"/":__dirname+"/";var ot=function(e,_){return e=e.startsWith("file://")?new URL(e):vt.normalize(e),mt.readFileSync(e,_?void 0:"utf8")},bt=function(e){return e=ot(e,!0),e.buffer||(e=new Uint8Array(e)),e},ht=function(e,_,p){e=e.startsWith("file://")?new URL(e):vt.normalize(e),mt.readFile(e,function(h,D){h?p(h):_(D.buffer)})};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),t.inspect=function(){return"[Emscripten Module object]"}}else(jt||ct)&&(ct?J=self.location.href:typeof document<"u"&&document.currentScript&&(J=document.currentScript.src),l&&(J=l),J=J.indexOf("blob:")!==0?J.substr(0,J.replace(/[?#].*/,"").lastIndexOf("/")+1):"",ot=function(e){var _=new XMLHttpRequest;return _.open("GET",e,!1),_.send(null),_.responseText},ct&&(bt=function(e){var _=new XMLHttpRequest;return _.open("GET",e,!1),_.responseType="arraybuffer",_.send(null),new Uint8Array(_.response)}),ht=function(e,_,p){var h=new XMLHttpRequest;h.open("GET",e,!0),h.responseType="arraybuffer",h.onload=function(){h.status==200||h.status==0&&h.response?_(h.response):p()},h.onerror=p,h.send(null)});var lt=t.print||console.log.bind(console),rt=t.printErr||console.warn.bind(console);Object.assign(t,Ot),Ot=null;var yt;t.wasmBinary&&(yt=t.wasmBinary),typeof WebAssembly!="object"&&s("no native wasm support detected");var At,Dt=!1,Gt=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,_t,nt,pt,Q,fr=[],Mt=[],Rt=[],Nt=!1,at=0,ft=null,tt="draco_decoder.wasm";tt.startsWith("data:application/octet-stream;base64,")||(tt=y(tt));var mr=[null,[],[]],br={b:function(e,_,p){throw new v(e).init(_,p),e},a:function(){s("")},g:function(e,_,p){nt.copyWithin(e,_,_+p)},e:function(e){var _=nt.length;if(e>>>=0,2147483648<e)return!1;for(var p=1;4>=p;p*=2){var h=_*(1+.2/p);h=Math.min(h,e+100663296);var D=Math;h=Math.max(e,h),D=D.min.call(D,2147483648,h+(65536-h%65536)%65536);t:{h=At.buffer;try{At.grow(D-h.byteLength+65535>>>16),S();var L=1;break t}catch{}L=void 0}if(L)return!0}return!1},f:function(e){return 52},d:function(e,_,p,h,D){return 70},c:function(e,_,p,h){for(var D=0,L=0;L<p;L++){var It=Q[_>>2],In=Q[_+4>>2];_+=8;for(var gr=0;gr<In;gr++){var jr=nt[It+gr],vr=mr[e];jr===0||jr===10?((e===1?lt:rt)(b(vr,0)),vr.length=0):vr.push(jr)}D+=In}return Q[h>>2]=D,0}};(function(){function e(D,L){t.asm=D.exports,At=t.asm.h,S(),Mt.unshift(t.asm.i),at--,t.monitorRunDependencies&&t.monitorRunDependencies(at),at==0&&ft&&(D=ft,ft=null,D())}function _(D){e(D.instance)}function p(D){return A().then(function(L){return WebAssembly.instantiate(L,h)}).then(function(L){return L}).then(D,function(L){rt("failed to asynchronously prepare wasm: "+L),s(L)})}var h={a:br};if(at++,t.monitorRunDependencies&&t.monitorRunDependencies(at),t.instantiateWasm)try{return t.instantiateWasm(h,e)}catch(D){rt("Module.instantiateWasm callback failed with error: "+D),Z(D)}return(function(){return yt||typeof WebAssembly.instantiateStreaming!="function"||tt.startsWith("data:application/octet-stream;base64,")||tt.startsWith("file://")||dt||typeof fetch!="function"?p(_):fetch(tt,{credentials:"same-origin"}).then(function(D){return WebAssembly.instantiateStreaming(D,h).then(_,function(L){return rt("wasm streaming compile failed: "+L),rt("falling back to ArrayBuffer instantiation"),p(_)})})})().catch(Z),{}})();var Ft=t._emscripten_bind_VoidPtr___destroy___0=function(){return(Ft=t._emscripten_bind_VoidPtr___destroy___0=t.asm.k).apply(null,arguments)},Ut=t._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Ut=t._emscripten_bind_DecoderBuffer_DecoderBuffer_0=t.asm.l).apply(null,arguments)},Ct=t._emscripten_bind_DecoderBuffer_Init_2=function(){return(Ct=t._emscripten_bind_DecoderBuffer_Init_2=t.asm.m).apply(null,arguments)},Lt=t._emscripten_bind_DecoderBuffer___destroy___0=function(){return(Lt=t._emscripten_bind_DecoderBuffer___destroy___0=t.asm.n).apply(null,arguments)},wt=t._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(wt=t._emscripten_bind_AttributeTransformData_AttributeTransformData_0=t.asm.o).apply(null,arguments)},Bt=t._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(Bt=t._emscripten_bind_AttributeTransformData_transform_type_0=t.asm.p).apply(null,arguments)},zt=t._emscripten_bind_AttributeTransformData___destroy___0=function(){return(zt=t._emscripten_bind_AttributeTransformData___destroy___0=t.asm.q).apply(null,arguments)},xt=t._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(xt=t._emscripten_bind_GeometryAttribute_GeometryAttribute_0=t.asm.r).apply(null,arguments)},Wt=t._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Wt=t._emscripten_bind_GeometryAttribute___destroy___0=t.asm.s).apply(null,arguments)},Vt=t._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Vt=t._emscripten_bind_PointAttribute_PointAttribute_0=t.asm.t).apply(null,arguments)},Qt=t._emscripten_bind_PointAttribute_size_0=function(){return(Qt=t._emscripten_bind_PointAttribute_size_0=t.asm.u).apply(null,arguments)},Ht=t._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(Ht=t._emscripten_bind_PointAttribute_GetAttributeTransformData_0=t.asm.v).apply(null,arguments)},Yt=t._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Yt=t._emscripten_bind_PointAttribute_attribute_type_0=t.asm.w).apply(null,arguments)},kt=t._emscripten_bind_PointAttribute_data_type_0=function(){return(kt=t._emscripten_bind_PointAttribute_data_type_0=t.asm.x).apply(null,arguments)},qt=t._emscripten_bind_PointAttribute_num_components_0=function(){return(qt=t._emscripten_bind_PointAttribute_num_components_0=t.asm.y).apply(null,arguments)},Xt=t._emscripten_bind_PointAttribute_normalized_0=function(){return(Xt=t._emscripten_bind_PointAttribute_normalized_0=t.asm.z).apply(null,arguments)},$t=t._emscripten_bind_PointAttribute_byte_stride_0=function(){return($t=t._emscripten_bind_PointAttribute_byte_stride_0=t.asm.A).apply(null,arguments)},Kt=t._emscripten_bind_PointAttribute_byte_offset_0=function(){return(Kt=t._emscripten_bind_PointAttribute_byte_offset_0=t.asm.B).apply(null,arguments)},Jt=t._emscripten_bind_PointAttribute_unique_id_0=function(){return(Jt=t._emscripten_bind_PointAttribute_unique_id_0=t.asm.C).apply(null,arguments)},Zt=t._emscripten_bind_PointAttribute___destroy___0=function(){return(Zt=t._emscripten_bind_PointAttribute___destroy___0=t.asm.D).apply(null,arguments)},te=t._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(te=t._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=t.asm.E).apply(null,arguments)},ee=t._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(ee=t._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=t.asm.F).apply(null,arguments)},re=t._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(re=t._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=t.asm.G).apply(null,arguments)},ne=t._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(ne=t._emscripten_bind_AttributeQuantizationTransform_min_value_1=t.asm.H).apply(null,arguments)},oe=t._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(oe=t._emscripten_bind_AttributeQuantizationTransform_range_0=t.asm.I).apply(null,arguments)},_e=t._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(_e=t._emscripten_bind_AttributeQuantizationTransform___destroy___0=t.asm.J).apply(null,arguments)},ie=t._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(ie=t._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=t.asm.K).apply(null,arguments)},pe=t._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(pe=t._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=t.asm.L).apply(null,arguments)},ae=t._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(ae=t._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=t.asm.M).apply(null,arguments)},ue=t._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(ue=t._emscripten_bind_AttributeOctahedronTransform___destroy___0=t.asm.N).apply(null,arguments)},se=t._emscripten_bind_PointCloud_PointCloud_0=function(){return(se=t._emscripten_bind_PointCloud_PointCloud_0=t.asm.O).apply(null,arguments)},ce=t._emscripten_bind_PointCloud_num_attributes_0=function(){return(ce=t._emscripten_bind_PointCloud_num_attributes_0=t.asm.P).apply(null,arguments)},le=t._emscripten_bind_PointCloud_num_points_0=function(){return(le=t._emscripten_bind_PointCloud_num_points_0=t.asm.Q).apply(null,arguments)},ye=t._emscripten_bind_PointCloud___destroy___0=function(){return(ye=t._emscripten_bind_PointCloud___destroy___0=t.asm.R).apply(null,arguments)},de=t._emscripten_bind_Mesh_Mesh_0=function(){return(de=t._emscripten_bind_Mesh_Mesh_0=t.asm.S).apply(null,arguments)},fe=t._emscripten_bind_Mesh_num_faces_0=function(){return(fe=t._emscripten_bind_Mesh_num_faces_0=t.asm.T).apply(null,arguments)},me=t._emscripten_bind_Mesh_num_attributes_0=function(){return(me=t._emscripten_bind_Mesh_num_attributes_0=t.asm.U).apply(null,arguments)},be=t._emscripten_bind_Mesh_num_points_0=function(){return(be=t._emscripten_bind_Mesh_num_points_0=t.asm.V).apply(null,arguments)},he=t._emscripten_bind_Mesh___destroy___0=function(){return(he=t._emscripten_bind_Mesh___destroy___0=t.asm.W).apply(null,arguments)},Ae=t._emscripten_bind_Metadata_Metadata_0=function(){return(Ae=t._emscripten_bind_Metadata_Metadata_0=t.asm.X).apply(null,arguments)},Ee=t._emscripten_bind_Metadata___destroy___0=function(){return(Ee=t._emscripten_bind_Metadata___destroy___0=t.asm.Y).apply(null,arguments)},Ie=t._emscripten_bind_Status_code_0=function(){return(Ie=t._emscripten_bind_Status_code_0=t.asm.Z).apply(null,arguments)},Te=t._emscripten_bind_Status_ok_0=function(){return(Te=t._emscripten_bind_Status_ok_0=t.asm._).apply(null,arguments)},ge=t._emscripten_bind_Status_error_msg_0=function(){return(ge=t._emscripten_bind_Status_error_msg_0=t.asm.$).apply(null,arguments)},je=t._emscripten_bind_Status___destroy___0=function(){return(je=t._emscripten_bind_Status___destroy___0=t.asm.aa).apply(null,arguments)},ve=t._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(ve=t._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=t.asm.ba).apply(null,arguments)},De=t._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(De=t._emscripten_bind_DracoFloat32Array_GetValue_1=t.asm.ca).apply(null,arguments)},Me=t._emscripten_bind_DracoFloat32Array_size_0=function(){return(Me=t._emscripten_bind_DracoFloat32Array_size_0=t.asm.da).apply(null,arguments)},Pe=t._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Pe=t._emscripten_bind_DracoFloat32Array___destroy___0=t.asm.ea).apply(null,arguments)},Se=t._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Se=t._emscripten_bind_DracoInt8Array_DracoInt8Array_0=t.asm.fa).apply(null,arguments)},Oe=t._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Oe=t._emscripten_bind_DracoInt8Array_GetValue_1=t.asm.ga).apply(null,arguments)},Ge=t._emscripten_bind_DracoInt8Array_size_0=function(){return(Ge=t._emscripten_bind_DracoInt8Array_size_0=t.asm.ha).apply(null,arguments)},Re=t._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Re=t._emscripten_bind_DracoInt8Array___destroy___0=t.asm.ia).apply(null,arguments)},Ne=t._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Ne=t._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=t.asm.ja).apply(null,arguments)},Fe=t._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Fe=t._emscripten_bind_DracoUInt8Array_GetValue_1=t.asm.ka).apply(null,arguments)},Ue=t._emscripten_bind_DracoUInt8Array_size_0=function(){return(Ue=t._emscripten_bind_DracoUInt8Array_size_0=t.asm.la).apply(null,arguments)},Ce=t._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Ce=t._emscripten_bind_DracoUInt8Array___destroy___0=t.asm.ma).apply(null,arguments)},Le=t._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Le=t._emscripten_bind_DracoInt16Array_DracoInt16Array_0=t.asm.na).apply(null,arguments)},we=t._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(we=t._emscripten_bind_DracoInt16Array_GetValue_1=t.asm.oa).apply(null,arguments)},Be=t._emscripten_bind_DracoInt16Array_size_0=function(){return(Be=t._emscripten_bind_DracoInt16Array_size_0=t.asm.pa).apply(null,arguments)},ze=t._emscripten_bind_DracoInt16Array___destroy___0=function(){return(ze=t._emscripten_bind_DracoInt16Array___destroy___0=t.asm.qa).apply(null,arguments)},xe=t._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(xe=t._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=t.asm.ra).apply(null,arguments)},We=t._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(We=t._emscripten_bind_DracoUInt16Array_GetValue_1=t.asm.sa).apply(null,arguments)},Ve=t._emscripten_bind_DracoUInt16Array_size_0=function(){return(Ve=t._emscripten_bind_DracoUInt16Array_size_0=t.asm.ta).apply(null,arguments)},Qe=t._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(Qe=t._emscripten_bind_DracoUInt16Array___destroy___0=t.asm.ua).apply(null,arguments)},He=t._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(He=t._emscripten_bind_DracoInt32Array_DracoInt32Array_0=t.asm.va).apply(null,arguments)},Ye=t._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(Ye=t._emscripten_bind_DracoInt32Array_GetValue_1=t.asm.wa).apply(null,arguments)},ke=t._emscripten_bind_DracoInt32Array_size_0=function(){return(ke=t._emscripten_bind_DracoInt32Array_size_0=t.asm.xa).apply(null,arguments)},qe=t._emscripten_bind_DracoInt32Array___destroy___0=function(){return(qe=t._emscripten_bind_DracoInt32Array___destroy___0=t.asm.ya).apply(null,arguments)},Xe=t._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Xe=t._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=t.asm.za).apply(null,arguments)},$e=t._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return($e=t._emscripten_bind_DracoUInt32Array_GetValue_1=t.asm.Aa).apply(null,arguments)},Ke=t._emscripten_bind_DracoUInt32Array_size_0=function(){return(Ke=t._emscripten_bind_DracoUInt32Array_size_0=t.asm.Ba).apply(null,arguments)},Je=t._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(Je=t._emscripten_bind_DracoUInt32Array___destroy___0=t.asm.Ca).apply(null,arguments)},Ze=t._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Ze=t._emscripten_bind_MetadataQuerier_MetadataQuerier_0=t.asm.Da).apply(null,arguments)},tr=t._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(tr=t._emscripten_bind_MetadataQuerier_HasEntry_2=t.asm.Ea).apply(null,arguments)},er=t._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(er=t._emscripten_bind_MetadataQuerier_GetIntEntry_2=t.asm.Fa).apply(null,arguments)},rr=t._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(rr=t._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=t.asm.Ga).apply(null,arguments)},nr=t._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(nr=t._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=t.asm.Ha).apply(null,arguments)},or=t._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(or=t._emscripten_bind_MetadataQuerier_GetStringEntry_2=t.asm.Ia).apply(null,arguments)},_r=t._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(_r=t._emscripten_bind_MetadataQuerier_NumEntries_1=t.asm.Ja).apply(null,arguments)},ir=t._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(ir=t._emscripten_bind_MetadataQuerier_GetEntryName_2=t.asm.Ka).apply(null,arguments)},pr=t._emscripten_bind_MetadataQuerier___destroy___0=function(){return(pr=t._emscripten_bind_MetadataQuerier___destroy___0=t.asm.La).apply(null,arguments)},ar=t._emscripten_bind_Decoder_Decoder_0=function(){return(ar=t._emscripten_bind_Decoder_Decoder_0=t.asm.Ma).apply(null,arguments)},ur=t._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(ur=t._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=t.asm.Na).apply(null,arguments)},sr=t._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(sr=t._emscripten_bind_Decoder_DecodeArrayToMesh_3=t.asm.Oa).apply(null,arguments)},cr=t._emscripten_bind_Decoder_GetAttributeId_2=function(){return(cr=t._emscripten_bind_Decoder_GetAttributeId_2=t.asm.Pa).apply(null,arguments)},lr=t._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(lr=t._emscripten_bind_Decoder_GetAttributeIdByName_2=t.asm.Qa).apply(null,arguments)},yr=t._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(yr=t._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=t.asm.Ra).apply(null,arguments)},Et=t._emscripten_bind_Decoder_GetAttribute_2=function(){return(Et=t._emscripten_bind_Decoder_GetAttribute_2=t.asm.Sa).apply(null,arguments)},T=t._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(T=t._emscripten_bind_Decoder_GetAttributeByUniqueId_2=t.asm.Ta).apply(null,arguments)},r=t._emscripten_bind_Decoder_GetMetadata_1=function(){return(r=t._emscripten_bind_Decoder_GetMetadata_1=t.asm.Ua).apply(null,arguments)},o=t._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(o=t._emscripten_bind_Decoder_GetAttributeMetadata_2=t.asm.Va).apply(null,arguments)},i=t._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(i=t._emscripten_bind_Decoder_GetFaceFromMesh_3=t.asm.Wa).apply(null,arguments)},u=t._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(u=t._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=t.asm.Xa).apply(null,arguments)},d=t._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(d=t._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=t.asm.Ya).apply(null,arguments)},I=t._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(I=t._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=t.asm.Za).apply(null,arguments)},dr=t._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(dr=t._emscripten_bind_Decoder_GetAttributeFloat_3=t.asm._a).apply(null,arguments)},Mr=t._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Mr=t._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=t.asm.$a).apply(null,arguments)},Pr=t._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Pr=t._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=t.asm.ab).apply(null,arguments)},Sr=t._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Sr=t._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=t.asm.bb).apply(null,arguments)},Or=t._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Or=t._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=t.asm.cb).apply(null,arguments)},Gr=t._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Gr=t._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=t.asm.db).apply(null,arguments)},Rr=t._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(Rr=t._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=t.asm.eb).apply(null,arguments)},Nr=t._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Nr=t._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=t.asm.fb).apply(null,arguments)},Fr=t._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Fr=t._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=t.asm.gb).apply(null,arguments)},Ur=t._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(Ur=t._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=t.asm.hb).apply(null,arguments)},Cr=t._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Cr=t._emscripten_bind_Decoder_SkipAttributeTransform_1=t.asm.ib).apply(null,arguments)},Lr=t._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Lr=t._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=t.asm.jb).apply(null,arguments)},wr=t._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(wr=t._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=t.asm.kb).apply(null,arguments)},Br=t._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Br=t._emscripten_bind_Decoder_DecodeBufferToMesh_2=t.asm.lb).apply(null,arguments)},zr=t._emscripten_bind_Decoder___destroy___0=function(){return(zr=t._emscripten_bind_Decoder___destroy___0=t.asm.mb).apply(null,arguments)},xr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(xr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=t.asm.nb).apply(null,arguments)},Wr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Wr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=t.asm.ob).apply(null,arguments)},Vr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Vr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=t.asm.pb).apply(null,arguments)},Qr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(Qr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=t.asm.qb).apply(null,arguments)},Hr=t._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Hr=t._emscripten_enum_draco_GeometryAttribute_Type_INVALID=t.asm.rb).apply(null,arguments)},Yr=t._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Yr=t._emscripten_enum_draco_GeometryAttribute_Type_POSITION=t.asm.sb).apply(null,arguments)},kr=t._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(kr=t._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=t.asm.tb).apply(null,arguments)},qr=t._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(qr=t._emscripten_enum_draco_GeometryAttribute_Type_COLOR=t.asm.ub).apply(null,arguments)},Xr=t._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Xr=t._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=t.asm.vb).apply(null,arguments)},$r=t._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return($r=t._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=t.asm.wb).apply(null,arguments)},Kr=t._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(Kr=t._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=t.asm.xb).apply(null,arguments)},Jr=t._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(Jr=t._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=t.asm.yb).apply(null,arguments)},Zr=t._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(Zr=t._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=t.asm.zb).apply(null,arguments)},tn=t._emscripten_enum_draco_DataType_DT_INVALID=function(){return(tn=t._emscripten_enum_draco_DataType_DT_INVALID=t.asm.Ab).apply(null,arguments)},en=t._emscripten_enum_draco_DataType_DT_INT8=function(){return(en=t._emscripten_enum_draco_DataType_DT_INT8=t.asm.Bb).apply(null,arguments)},rn=t._emscripten_enum_draco_DataType_DT_UINT8=function(){return(rn=t._emscripten_enum_draco_DataType_DT_UINT8=t.asm.Cb).apply(null,arguments)},nn=t._emscripten_enum_draco_DataType_DT_INT16=function(){return(nn=t._emscripten_enum_draco_DataType_DT_INT16=t.asm.Db).apply(null,arguments)},on=t._emscripten_enum_draco_DataType_DT_UINT16=function(){return(on=t._emscripten_enum_draco_DataType_DT_UINT16=t.asm.Eb).apply(null,arguments)},_n=t._emscripten_enum_draco_DataType_DT_INT32=function(){return(_n=t._emscripten_enum_draco_DataType_DT_INT32=t.asm.Fb).apply(null,arguments)},pn=t._emscripten_enum_draco_DataType_DT_UINT32=function(){return(pn=t._emscripten_enum_draco_DataType_DT_UINT32=t.asm.Gb).apply(null,arguments)},an=t._emscripten_enum_draco_DataType_DT_INT64=function(){return(an=t._emscripten_enum_draco_DataType_DT_INT64=t.asm.Hb).apply(null,arguments)},un=t._emscripten_enum_draco_DataType_DT_UINT64=function(){return(un=t._emscripten_enum_draco_DataType_DT_UINT64=t.asm.Ib).apply(null,arguments)},sn=t._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(sn=t._emscripten_enum_draco_DataType_DT_FLOAT32=t.asm.Jb).apply(null,arguments)},cn=t._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(cn=t._emscripten_enum_draco_DataType_DT_FLOAT64=t.asm.Kb).apply(null,arguments)},ln=t._emscripten_enum_draco_DataType_DT_BOOL=function(){return(ln=t._emscripten_enum_draco_DataType_DT_BOOL=t.asm.Lb).apply(null,arguments)},yn=t._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(yn=t._emscripten_enum_draco_DataType_DT_TYPES_COUNT=t.asm.Mb).apply(null,arguments)},dn=t._emscripten_enum_draco_StatusCode_OK=function(){return(dn=t._emscripten_enum_draco_StatusCode_OK=t.asm.Nb).apply(null,arguments)},fn=t._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(fn=t._emscripten_enum_draco_StatusCode_DRACO_ERROR=t.asm.Ob).apply(null,arguments)},mn=t._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(mn=t._emscripten_enum_draco_StatusCode_IO_ERROR=t.asm.Pb).apply(null,arguments)},bn=t._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(bn=t._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=t.asm.Qb).apply(null,arguments)},hn=t._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(hn=t._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=t.asm.Rb).apply(null,arguments)},An=t._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(An=t._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=t.asm.Sb).apply(null,arguments)};t._malloc=function(){return(t._malloc=t.asm.Tb).apply(null,arguments)},t._free=function(){return(t._free=t.asm.Ub).apply(null,arguments)};var En=function(){return(En=t.asm.Vb).apply(null,arguments)};t.___start_em_js=15856,t.___stop_em_js=15954;var hr;if(ft=function e(){hr||x(),hr||(ft=e)},t.preInit)for(typeof t.preInit=="function"&&(t.preInit=[t.preInit]);0<t.preInit.length;)t.preInit.pop()();x(),j.prototype=Object.create(j.prototype),j.prototype.constructor=j,j.prototype.__class__=j,j.__cache__={},t.WrapperObject=j,t.getCache=O,t.wrapPointer=W,t.castObject=function(e,_){return W(e.ptr,_)},t.NULL=W(0),t.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete O(e.__class__)[e.ptr]},t.compare=function(e,_){return e.ptr===_.ptr},t.getPointer=function(e){return e.ptr},t.getClass=function(e){return e.__class__};var C={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(C.needed){for(var e=0;e<C.temps.length;e++)t._free(C.temps[e]);C.temps.length=0,t._free(C.buffer),C.buffer=0,C.size+=C.needed,C.needed=0}C.buffer||(C.size+=128,C.buffer=t._malloc(C.size),C.buffer||s(void 0)),C.pos=0},alloc:function(e,_){return C.buffer||s(void 0),e=e.length*_.BYTES_PER_ELEMENT,e=e+7&-8,C.pos+e>=C.size?(0<e||s(void 0),C.needed+=e,_=t._malloc(e),C.temps.push(_)):(_=C.buffer+C.pos,C.pos+=e),_},copy:function(e,_,p){switch(p>>>=0,_.BYTES_PER_ELEMENT){case 2:p>>>=1;break;case 4:p>>>=2;break;case 8:p>>>=3}for(var h=0;h<e.length;h++)_[p+h]=e[h]}};return et.prototype=Object.create(j.prototype),et.prototype.constructor=et,et.prototype.__class__=et,et.__cache__={},t.VoidPtr=et,et.prototype.__destroy__=et.prototype.__destroy__=function(){Ft(this.ptr)},Y.prototype=Object.create(j.prototype),Y.prototype.constructor=Y,Y.prototype.__class__=Y,Y.__cache__={},t.DecoderBuffer=Y,Y.prototype.Init=Y.prototype.Init=function(e,_){var p=this.ptr;C.prepare(),typeof e=="object"&&(e=it(e)),_&&typeof _=="object"&&(_=_.ptr),Ct(p,e,_)},Y.prototype.__destroy__=Y.prototype.__destroy__=function(){Lt(this.ptr)},H.prototype=Object.create(j.prototype),H.prototype.constructor=H,H.prototype.__class__=H,H.__cache__={},t.AttributeTransformData=H,H.prototype.transform_type=H.prototype.transform_type=function(){return Bt(this.ptr)},H.prototype.__destroy__=H.prototype.__destroy__=function(){zt(this.ptr)},F.prototype=Object.create(j.prototype),F.prototype.constructor=F,F.prototype.__class__=F,F.__cache__={},t.GeometryAttribute=F,F.prototype.__destroy__=F.prototype.__destroy__=function(){Wt(this.ptr)},P.prototype=Object.create(j.prototype),P.prototype.constructor=P,P.prototype.__class__=P,P.__cache__={},t.PointAttribute=P,P.prototype.size=P.prototype.size=function(){return Qt(this.ptr)},P.prototype.GetAttributeTransformData=P.prototype.GetAttributeTransformData=function(){return W(Ht(this.ptr),H)},P.prototype.attribute_type=P.prototype.attribute_type=function(){return Yt(this.ptr)},P.prototype.data_type=P.prototype.data_type=function(){return kt(this.ptr)},P.prototype.num_components=P.prototype.num_components=function(){return qt(this.ptr)},P.prototype.normalized=P.prototype.normalized=function(){return!!Xt(this.ptr)},P.prototype.byte_stride=P.prototype.byte_stride=function(){return $t(this.ptr)},P.prototype.byte_offset=P.prototype.byte_offset=function(){return Kt(this.ptr)},P.prototype.unique_id=P.prototype.unique_id=function(){return Jt(this.ptr)},P.prototype.__destroy__=P.prototype.__destroy__=function(){Zt(this.ptr)},U.prototype=Object.create(j.prototype),U.prototype.constructor=U,U.prototype.__class__=U,U.__cache__={},t.AttributeQuantizationTransform=U,U.prototype.InitFromAttribute=U.prototype.InitFromAttribute=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),!!ee(_,e)},U.prototype.quantization_bits=U.prototype.quantization_bits=function(){return re(this.ptr)},U.prototype.min_value=U.prototype.min_value=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),ne(_,e)},U.prototype.range=U.prototype.range=function(){return oe(this.ptr)},U.prototype.__destroy__=U.prototype.__destroy__=function(){_e(this.ptr)},V.prototype=Object.create(j.prototype),V.prototype.constructor=V,V.prototype.__class__=V,V.__cache__={},t.AttributeOctahedronTransform=V,V.prototype.InitFromAttribute=V.prototype.InitFromAttribute=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),!!pe(_,e)},V.prototype.quantization_bits=V.prototype.quantization_bits=function(){return ae(this.ptr)},V.prototype.__destroy__=V.prototype.__destroy__=function(){ue(this.ptr)},B.prototype=Object.create(j.prototype),B.prototype.constructor=B,B.prototype.__class__=B,B.__cache__={},t.PointCloud=B,B.prototype.num_attributes=B.prototype.num_attributes=function(){return ce(this.ptr)},B.prototype.num_points=B.prototype.num_points=function(){return le(this.ptr)},B.prototype.__destroy__=B.prototype.__destroy__=function(){ye(this.ptr)},w.prototype=Object.create(j.prototype),w.prototype.constructor=w,w.prototype.__class__=w,w.__cache__={},t.Mesh=w,w.prototype.num_faces=w.prototype.num_faces=function(){return fe(this.ptr)},w.prototype.num_attributes=w.prototype.num_attributes=function(){return me(this.ptr)},w.prototype.num_points=w.prototype.num_points=function(){return be(this.ptr)},w.prototype.__destroy__=w.prototype.__destroy__=function(){he(this.ptr)},G.prototype=Object.create(j.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},t.Metadata=G,G.prototype.__destroy__=G.prototype.__destroy__=function(){Ee(this.ptr)},g.prototype=Object.create(j.prototype),g.prototype.constructor=g,g.prototype.__class__=g,g.__cache__={},t.Status=g,g.prototype.code=g.prototype.code=function(){return Ie(this.ptr)},g.prototype.ok=g.prototype.ok=function(){return!!Te(this.ptr)},g.prototype.error_msg=g.prototype.error_msg=function(){return c(ge(this.ptr))},g.prototype.__destroy__=g.prototype.__destroy__=function(){je(this.ptr)},R.prototype=Object.create(j.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},t.DracoFloat32Array=R,R.prototype.GetValue=R.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),De(_,e)},R.prototype.size=R.prototype.size=function(){return Me(this.ptr)},R.prototype.__destroy__=R.prototype.__destroy__=function(){Pe(this.ptr)},N.prototype=Object.create(j.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},t.DracoInt8Array=N,N.prototype.GetValue=N.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Oe(_,e)},N.prototype.size=N.prototype.size=function(){return Ge(this.ptr)},N.prototype.__destroy__=N.prototype.__destroy__=function(){Re(this.ptr)},n.prototype=Object.create(j.prototype),n.prototype.constructor=n,n.prototype.__class__=n,n.__cache__={},t.DracoUInt8Array=n,n.prototype.GetValue=n.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Fe(_,e)},n.prototype.size=n.prototype.size=function(){return Ue(this.ptr)},n.prototype.__destroy__=n.prototype.__destroy__=function(){Ce(this.ptr)},X.prototype=Object.create(j.prototype),X.prototype.constructor=X,X.prototype.__class__=X,X.__cache__={},t.DracoInt16Array=X,X.prototype.GetValue=X.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),we(_,e)},X.prototype.size=X.prototype.size=function(){return Be(this.ptr)},X.prototype.__destroy__=X.prototype.__destroy__=function(){ze(this.ptr)},q.prototype=Object.create(j.prototype),q.prototype.constructor=q,q.prototype.__class__=q,q.__cache__={},t.DracoUInt16Array=q,q.prototype.GetValue=q.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),We(_,e)},q.prototype.size=q.prototype.size=function(){return Ve(this.ptr)},q.prototype.__destroy__=q.prototype.__destroy__=function(){Qe(this.ptr)},$.prototype=Object.create(j.prototype),$.prototype.constructor=$,$.prototype.__class__=$,$.__cache__={},t.DracoInt32Array=$,$.prototype.GetValue=$.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Ye(_,e)},$.prototype.size=$.prototype.size=function(){return ke(this.ptr)},$.prototype.__destroy__=$.prototype.__destroy__=function(){qe(this.ptr)},K.prototype=Object.create(j.prototype),K.prototype.constructor=K,K.prototype.__class__=K,K.__cache__={},t.DracoUInt32Array=K,K.prototype.GetValue=K.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),$e(_,e)},K.prototype.size=K.prototype.size=function(){return Ke(this.ptr)},K.prototype.__destroy__=K.prototype.__destroy__=function(){Je(this.ptr)},z.prototype=Object.create(j.prototype),z.prototype.constructor=z,z.prototype.__class__=z,z.__cache__={},t.MetadataQuerier=z,z.prototype.HasEntry=z.prototype.HasEntry=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),!!tr(p,e,_)},z.prototype.GetIntEntry=z.prototype.GetIntEntry=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),er(p,e,_)},z.prototype.GetIntEntryArray=z.prototype.GetIntEntryArray=function(e,_,p){var h=this.ptr;C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),p&&typeof p=="object"&&(p=p.ptr),rr(h,e,_,p)},z.prototype.GetDoubleEntry=z.prototype.GetDoubleEntry=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),nr(p,e,_)},z.prototype.GetStringEntry=z.prototype.GetStringEntry=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),c(or(p,e,_))},z.prototype.NumEntries=z.prototype.NumEntries=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_r(_,e)},z.prototype.GetEntryName=z.prototype.GetEntryName=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),c(ir(p,e,_))},z.prototype.__destroy__=z.prototype.__destroy__=function(){pr(this.ptr)},E.prototype=Object.create(j.prototype),E.prototype.constructor=E,E.prototype.__class__=E,E.__cache__={},t.Decoder=E,E.prototype.DecodeArrayToPointCloud=E.prototype.DecodeArrayToPointCloud=function(e,_,p){var h=this.ptr;return C.prepare(),typeof e=="object"&&(e=it(e)),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),W(ur(h,e,_,p),g)},E.prototype.DecodeArrayToMesh=E.prototype.DecodeArrayToMesh=function(e,_,p){var h=this.ptr;return C.prepare(),typeof e=="object"&&(e=it(e)),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),W(sr(h,e,_,p),g)},E.prototype.GetAttributeId=E.prototype.GetAttributeId=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),cr(p,e,_)},E.prototype.GetAttributeIdByName=E.prototype.GetAttributeIdByName=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),lr(p,e,_)},E.prototype.GetAttributeIdByMetadataEntry=E.prototype.GetAttributeIdByMetadataEntry=function(e,_,p){var h=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),p=p&&typeof p=="object"?p.ptr:k(p),yr(h,e,_,p)},E.prototype.GetAttribute=E.prototype.GetAttribute=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(Et(p,e,_),P)},E.prototype.GetAttributeByUniqueId=E.prototype.GetAttributeByUniqueId=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(T(p,e,_),P)},E.prototype.GetMetadata=E.prototype.GetMetadata=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),W(r(_,e),G)},E.prototype.GetAttributeMetadata=E.prototype.GetAttributeMetadata=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(o(p,e,_),G)},E.prototype.GetFaceFromMesh=E.prototype.GetFaceFromMesh=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!i(h,e,_,p)},E.prototype.GetTriangleStripsFromMesh=E.prototype.GetTriangleStripsFromMesh=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),u(p,e,_)},E.prototype.GetTrianglesUInt16Array=E.prototype.GetTrianglesUInt16Array=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!d(h,e,_,p)},E.prototype.GetTrianglesUInt32Array=E.prototype.GetTrianglesUInt32Array=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!I(h,e,_,p)},E.prototype.GetAttributeFloat=E.prototype.GetAttributeFloat=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!dr(h,e,_,p)},E.prototype.GetAttributeFloatForAllPoints=E.prototype.GetAttributeFloatForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Mr(h,e,_,p)},E.prototype.GetAttributeIntForAllPoints=E.prototype.GetAttributeIntForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Pr(h,e,_,p)},E.prototype.GetAttributeInt8ForAllPoints=E.prototype.GetAttributeInt8ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Sr(h,e,_,p)},E.prototype.GetAttributeUInt8ForAllPoints=E.prototype.GetAttributeUInt8ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Or(h,e,_,p)},E.prototype.GetAttributeInt16ForAllPoints=E.prototype.GetAttributeInt16ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Gr(h,e,_,p)},E.prototype.GetAttributeUInt16ForAllPoints=E.prototype.GetAttributeUInt16ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Rr(h,e,_,p)},E.prototype.GetAttributeInt32ForAllPoints=E.prototype.GetAttributeInt32ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Nr(h,e,_,p)},E.prototype.GetAttributeUInt32ForAllPoints=E.prototype.GetAttributeUInt32ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Fr(h,e,_,p)},E.prototype.GetAttributeDataArrayForAllPoints=E.prototype.GetAttributeDataArrayForAllPoints=function(e,_,p,h,D){var L=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),h&&typeof h=="object"&&(h=h.ptr),D&&typeof D=="object"&&(D=D.ptr),!!Ur(L,e,_,p,h,D)},E.prototype.SkipAttributeTransform=E.prototype.SkipAttributeTransform=function(e){var _=this.ptr;e&&typeof e=="object"&&(e=e.ptr),Cr(_,e)},E.prototype.GetEncodedGeometryType_Deprecated=E.prototype.GetEncodedGeometryType_Deprecated=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Lr(_,e)},E.prototype.DecodeBufferToPointCloud=E.prototype.DecodeBufferToPointCloud=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(wr(p,e,_),g)},E.prototype.DecodeBufferToMesh=E.prototype.DecodeBufferToMesh=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(Br(p,e,_),g)},E.prototype.__destroy__=E.prototype.__destroy__=function(){zr(this.ptr)},(function(){function e(){t.ATTRIBUTE_INVALID_TRANSFORM=xr(),t.ATTRIBUTE_NO_TRANSFORM=Wr(),t.ATTRIBUTE_QUANTIZATION_TRANSFORM=Vr(),t.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Qr(),t.INVALID=Hr(),t.POSITION=Yr(),t.NORMAL=kr(),t.COLOR=qr(),t.TEX_COORD=Xr(),t.GENERIC=$r(),t.INVALID_GEOMETRY_TYPE=Kr(),t.POINT_CLOUD=Jr(),t.TRIANGULAR_MESH=Zr(),t.DT_INVALID=tn(),t.DT_INT8=en(),t.DT_UINT8=rn(),t.DT_INT16=nn(),t.DT_UINT16=on(),t.DT_INT32=_n(),t.DT_UINT32=pn(),t.DT_INT64=an(),t.DT_UINT64=un(),t.DT_FLOAT32=sn(),t.DT_FLOAT64=cn(),t.DT_BOOL=ln(),t.DT_TYPES_COUNT=yn(),t.OK=dn(),t.DRACO_ERROR=fn(),t.IO_ERROR=mn(),t.INVALID_PARAMETER=bn(),t.UNSUPPORTED_VERSION=hn(),t.UNKNOWN_VERSION=An()}Nt?e():Mt.unshift(e)})(),typeof t.onModuleParsed=="function"&&t.onModuleParsed(),t.Decoder.prototype.GetEncodedGeometryType=function(e){if(e.__class__&&e.__class__===t.DecoderBuffer)return t.Decoder.prototype.GetEncodedGeometryType_Deprecated(e);if(8>e.byteLength)return t.INVALID_GEOMETRY_TYPE;switch(e[7]){case 0:return t.POINT_CLOUD;case 1:return t.TRIANGULAR_MESH;default:return t.INVALID_GEOMETRY_TYPE}},f.ready}})();ut.exports=st})(Er)),Er.exports}var Dr,jn;function Rn(){if(jn)return Dr;jn=1;var ut=Sn(),Tt=Gn();return Dr={createEncoderModule:ut,createDecoderModule:Tt},Dr}var vn=Rn();const Nn=Dn(vn),Cn=Mn({__proto__:null,default:Nn},[vn]);export{Cn as d};
1
+ import{c as Ir,g as Dn}from"./_commonjsHelpers-D6-XlEtG.js";import{kv as Tr}from"./index-Ckxb31Yz.js";function Mn(ut,Tt){for(var a=0;a<Tt.length;a++){const st=Tt[a];if(typeof st!="string"&&!Array.isArray(st)){for(const l in st)if(l!=="default"&&!(l in ut)){const f=Object.getOwnPropertyDescriptor(st,l);f&&Object.defineProperty(ut,l,f.get?f:{enumerable:!0,get:()=>st[l]})}}}return Object.freeze(Object.defineProperty(ut,Symbol.toStringTag,{value:"Module"}))}var Ar={exports:{}},Pn=Ar.exports,Tn;function Sn(){return Tn||(Tn=1,(function(ut,Tt){var a=a||{};a.scope={},a.arrayIteratorImpl=function(l){var f=0;return function(){return f<l.length?{done:!1,value:l[f++]}:{done:!0}}},a.arrayIterator=function(l){return{next:a.arrayIteratorImpl(l)}},a.makeIterator=function(l){var f=typeof Symbol<"u"&&Symbol.iterator&&l[Symbol.iterator];return f?f.call(l):a.arrayIterator(l)},a.ASSUME_ES5=!1,a.ASSUME_NO_NATIVE_MAP=!1,a.ASSUME_NO_NATIVE_SET=!1,a.SIMPLE_FROUND_POLYFILL=!1,a.ISOLATE_POLYFILLS=!1,a.FORCE_POLYFILL_PROMISE=!1,a.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,a.getGlobal=function(l){l=[typeof globalThis=="object"&&globalThis,l,typeof window=="object"&&window,typeof self=="object"&&self,typeof Ir=="object"&&Ir];for(var f=0;f<l.length;++f){var y=l[f];if(y&&y.Math==Math)return y}throw Error("Cannot find global object")},a.global=a.getGlobal(Pn),a.defineProperty=a.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(l,f,y){return l==Array.prototype||l==Object.prototype||(l[f]=y.value),l},a.IS_SYMBOL_NATIVE=typeof Symbol=="function"&&typeof Symbol("x")=="symbol",a.TRUST_ES6_POLYFILLS=!a.ISOLATE_POLYFILLS||a.IS_SYMBOL_NATIVE,a.polyfills={},a.propertyToPolyfillSymbol={},a.POLYFILL_PREFIX="$jscp$",a.polyfill=function(l,f,y,b){f&&(a.ISOLATE_POLYFILLS?a.polyfillIsolated(l,f,y,b):a.polyfillUnisolated(l,f,y,b))},a.polyfillUnisolated=function(l,f,y,b){for(y=a.global,l=l.split("."),b=0;b<l.length-1;b++){var c=l[b];if(!(c in y))return;y=y[c]}l=l[l.length-1],b=y[l],f=f(b),f!=b&&f!=null&&a.defineProperty(y,l,{configurable:!0,writable:!0,value:f})},a.polyfillIsolated=function(l,f,y,b){var c=l.split(".");l=c.length===1,b=c[0],b=!l&&b in a.polyfills?a.polyfills:a.global;for(var S=0;S<c.length-1;S++){var s=c[S];if(!(s in b))return;b=b[s]}c=c[c.length-1],y=a.IS_SYMBOL_NATIVE&&y==="es6"?b[c]:null,f=f(y),f!=null&&(l?a.defineProperty(a.polyfills,c,{configurable:!0,writable:!0,value:f}):f!==y&&(a.propertyToPolyfillSymbol[c]===void 0&&(y=1e9*Math.random()>>>0,a.propertyToPolyfillSymbol[c]=a.IS_SYMBOL_NATIVE?a.global.Symbol(c):a.POLYFILL_PREFIX+y+"$"+c),a.defineProperty(b,a.propertyToPolyfillSymbol[c],{configurable:!0,writable:!0,value:f})))},a.polyfill("Promise",function(l){function f(){this.batch_=null}function y(s){return s instanceof c?s:new c(function(m,A){m(s)})}if(l&&(!(a.FORCE_POLYFILL_PROMISE||a.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&typeof a.global.PromiseRejectionEvent>"u")||!a.global.Promise||a.global.Promise.toString().indexOf("[native code]")===-1))return l;f.prototype.asyncExecute=function(s){if(this.batch_==null){this.batch_=[];var m=this;this.asyncExecuteFunction(function(){m.executeBatch_()})}this.batch_.push(s)};var b=a.global.setTimeout;f.prototype.asyncExecuteFunction=function(s){b(s,0)},f.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var s=this.batch_;this.batch_=[];for(var m=0;m<s.length;++m){var A=s[m];s[m]=null;try{A()}catch(M){this.asyncThrow_(M)}}}this.batch_=null},f.prototype.asyncThrow_=function(s){this.asyncExecuteFunction(function(){throw s})};var c=function(s){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var m=this.createResolveAndReject_();try{s(m.resolve,m.reject)}catch(A){m.reject(A)}};c.prototype.createResolveAndReject_=function(){function s(M){return function(v){A||(A=!0,M.call(m,v))}}var m=this,A=!1;return{resolve:s(this.resolveTo_),reject:s(this.reject_)}},c.prototype.resolveTo_=function(s){if(s===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(s instanceof c)this.settleSameAsPromise_(s);else{t:switch(typeof s){case"object":var m=s!=null;break t;case"function":m=!0;break t;default:m=!1}m?this.resolveToNonPromiseObj_(s):this.fulfill_(s)}},c.prototype.resolveToNonPromiseObj_=function(s){var m=void 0;try{m=s.then}catch(A){this.reject_(A);return}typeof m=="function"?this.settleSameAsThenable_(m,s):this.fulfill_(s)},c.prototype.reject_=function(s){this.settle_(2,s)},c.prototype.fulfill_=function(s){this.settle_(1,s)},c.prototype.settle_=function(s,m){if(this.state_!=0)throw Error("Cannot settle("+s+", "+m+"): Promise already settled in state"+this.state_);this.state_=s,this.result_=m,this.state_===2&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},c.prototype.scheduleUnhandledRejectionCheck_=function(){var s=this;b(function(){if(s.notifyUnhandledRejection_()){var m=a.global.console;typeof m<"u"&&m.error(s.result_)}},1)},c.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var s=a.global.CustomEvent,m=a.global.Event,A=a.global.dispatchEvent;return typeof A>"u"?!0:(typeof s=="function"?s=new s("unhandledrejection",{cancelable:!0}):typeof m=="function"?s=new m("unhandledrejection",{cancelable:!0}):(s=a.global.document.createEvent("CustomEvent"),s.initCustomEvent("unhandledrejection",!1,!0,s)),s.promise=this,s.reason=this.result_,A(s))},c.prototype.executeOnSettledCallbacks_=function(){if(this.onSettledCallbacks_!=null){for(var s=0;s<this.onSettledCallbacks_.length;++s)S.asyncExecute(this.onSettledCallbacks_[s]);this.onSettledCallbacks_=null}};var S=new f;return c.prototype.settleSameAsPromise_=function(s){var m=this.createResolveAndReject_();s.callWhenSettled_(m.resolve,m.reject)},c.prototype.settleSameAsThenable_=function(s,m){var A=this.createResolveAndReject_();try{s.call(m,A.resolve,A.reject)}catch(M){A.reject(M)}},c.prototype.then=function(s,m){function A(j,O){return typeof j=="function"?function(W){try{M(j(W))}catch(k){v(k)}}:O}var M,v,x=new c(function(j,O){M=j,v=O});return this.callWhenSettled_(A(s,M),A(m,v)),x},c.prototype.catch=function(s){return this.then(void 0,s)},c.prototype.callWhenSettled_=function(s,m){function A(){switch(M.state_){case 1:s(M.result_);break;case 2:m(M.result_);break;default:throw Error("Unexpected state: "+M.state_)}}var M=this;this.onSettledCallbacks_==null?S.asyncExecute(A):this.onSettledCallbacks_.push(A),this.isRejectionHandled_=!0},c.resolve=y,c.reject=function(s){return new c(function(m,A){A(s)})},c.race=function(s){return new c(function(m,A){for(var M=a.makeIterator(s),v=M.next();!v.done;v=M.next())y(v.value).callWhenSettled_(m,A)})},c.all=function(s){var m=a.makeIterator(s),A=m.next();return A.done?y([]):new c(function(M,v){function x(W){return function(k){j[W]=k,O--,O==0&&M(j)}}var j=[],O=0;do j.push(void 0),O++,y(A.value).callWhenSettled_(x(j.length-1),v),A=m.next();while(!A.done)})},c},"es6","es3"),a.owns=function(l,f){return Object.prototype.hasOwnProperty.call(l,f)},a.assign=a.TRUST_ES6_POLYFILLS&&typeof Object.assign=="function"?Object.assign:function(l,f){for(var y=1;y<arguments.length;y++){var b=arguments[y];if(b)for(var c in b)a.owns(b,c)&&(l[c]=b[c])}return l},a.polyfill("Object.assign",function(l){return l||a.assign},"es6","es3"),a.checkStringArgs=function(l,f,y){if(l==null)throw new TypeError("The 'this' value for String.prototype."+y+" must not be null or undefined");if(f instanceof RegExp)throw new TypeError("First argument to String.prototype."+y+" must not be a regular expression");return l+""},a.polyfill("String.prototype.startsWith",function(l){return l||function(f,y){var b=a.checkStringArgs(this,f,"startsWith");f+="";var c=b.length,S=f.length;y=Math.max(0,Math.min(y|0,b.length));for(var s=0;s<S&&y<c;)if(b[y++]!=f[s++])return!1;return s>=S}},"es6","es3"),a.polyfill("Array.prototype.copyWithin",function(l){function f(y){return y=Number(y),y===1/0||y===-1/0?y:y|0}return l||function(y,b,c){var S=this.length;if(y=f(y),b=f(b),c=c===void 0?S:f(c),y=0>y?Math.max(S+y,0):Math.min(y,S),b=0>b?Math.max(S+b,0):Math.min(b,S),c=0>c?Math.max(S+c,0):Math.min(c,S),y<b)for(;b<c;)b in this?this[y++]=this[b++]:(delete this[y++],b++);else for(c=Math.min(c,S+b-y),y+=c-b;c>b;)--c in this?this[--y]=this[c]:delete this[--y];return this}},"es6","es3"),a.typedArrayCopyWithin=function(l){return l||Array.prototype.copyWithin},a.polyfill("Int8Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint8Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint8ClampedArray.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Int16Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint16Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Int32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Float32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Float64Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5");var st=(function(){var l=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return typeof __filename<"u"&&(l=l||__filename),function(f){function y(r){return n.locateFile?n.locateFile(r,Z):Z+r}function b(){var r=mt.buffer;n.HEAP8=ot=new Int8Array(r),n.HEAP16=ht=new Int16Array(r),n.HEAP32=lt=new Int32Array(r),n.HEAPU8=bt=new Uint8Array(r),n.HEAPU16=new Uint16Array(r),n.HEAPU32=rt=new Uint32Array(r),n.HEAPF32=yt=new Float32Array(r),n.HEAPF64=new Float64Array(r)}function c(r){throw n.onAbort&&n.onAbort(r),r="Aborted("+r+")",dt(r),vt=!0,r=new WebAssembly.RuntimeError(r+". Build with -sASSERTIONS for more info."),q(r),r}function S(r){try{if(r==Q&&J)return new Uint8Array(J);if(jt)return jt(r);throw"both async and sync fetching of the wasm failed"}catch(o){c(o)}}function s(){if(!J&&(E||t)){if(typeof fetch=="function"&&!Q.startsWith("file://"))return fetch(Q,{credentials:"same-origin"}).then(function(r){if(!r.ok)throw"failed to load wasm binary file at '"+Q+"'";return r.arrayBuffer()}).catch(function(){return S(Q)});if(ct)return new Promise(function(r,o){ct(Q,function(i){r(new Uint8Array(i))},o)})}return Promise.resolve().then(function(){return S(Q)})}function m(r){for(;0<r.length;)r.shift()(n)}function A(r){this.excPtr=r,this.ptr=r-24,this.set_type=function(o){rt[this.ptr+4>>2]=o},this.get_type=function(){return rt[this.ptr+4>>2]},this.set_destructor=function(o){rt[this.ptr+8>>2]=o},this.get_destructor=function(){return rt[this.ptr+8>>2]},this.set_refcount=function(o){lt[this.ptr>>2]=o},this.set_caught=function(o){ot[this.ptr+12>>0]=o?1:0},this.get_caught=function(){return ot[this.ptr+12>>0]!=0},this.set_rethrown=function(o){ot[this.ptr+13>>0]=o?1:0},this.get_rethrown=function(){return ot[this.ptr+13>>0]!=0},this.init=function(o,i){this.set_adjusted_ptr(0),this.set_type(o),this.set_destructor(i),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){lt[this.ptr>>2]+=1},this.release_ref=function(){var o=lt[this.ptr>>2];return lt[this.ptr>>2]=o-1,o===1},this.set_adjusted_ptr=function(o){rt[this.ptr+16>>2]=o},this.get_adjusted_ptr=function(){return rt[this.ptr+16>>2]},this.get_exception_ptr=function(){if(yr(this.get_type()))return rt[this.excPtr>>2];var o=this.get_adjusted_ptr();return o!==0?o:this.excPtr}}function M(){function r(){if(!Et&&(Et=!0,n.calledRun=!0,!vt)){if(_t=!0,m(Dt),X(n),n.onRuntimeInitialized&&n.onRuntimeInitialized(),n.postRun)for(typeof n.postRun=="function"&&(n.postRun=[n.postRun]);n.postRun.length;)Gt.unshift(n.postRun.shift());m(Gt)}}if(!(0<nt)){if(n.preRun)for(typeof n.preRun=="function"&&(n.preRun=[n.preRun]);n.preRun.length;)At.unshift(n.preRun.shift());m(At),0<nt||(n.setStatus?(n.setStatus("Running..."),setTimeout(function(){setTimeout(function(){n.setStatus("")},1),r()},1)):r())}}function v(){}function x(r){return(r||v).__cache__}function j(r,o){var i=x(o),u=i[r];return u||(u=Object.create((o||v).prototype),u.ptr=r,i[r]=u)}function O(r){if(typeof r=="string"){for(var o=0,i=0;i<r.length;++i){var u=r.charCodeAt(i);127>=u?o++:2047>=u?o+=2:55296<=u&&57343>=u?(o+=4,++i):o+=3}if(o=Array(o+1),i=0,u=o.length,0<u){u=i+u-1;for(var d=0;d<r.length;++d){var I=r.charCodeAt(d);if(55296<=I&&57343>=I){var dr=r.charCodeAt(++d);I=65536+((I&1023)<<10)|dr&1023}if(127>=I){if(i>=u)break;o[i++]=I}else{if(2047>=I){if(i+1>=u)break;o[i++]=192|I>>6}else{if(65535>=I){if(i+2>=u)break;o[i++]=224|I>>12}else{if(i+3>=u)break;o[i++]=240|I>>18,o[i++]=128|I>>12&63}o[i++]=128|I>>6&63}o[i++]=128|I&63}}o[i]=0}return r=T.alloc(o,ot),T.copy(o,ot,r),r}return r}function W(r){if(typeof r=="object"){var o=T.alloc(r,ot);return T.copy(r,ot,o),o}return r}function k(r){if(typeof r=="object"){var o=T.alloc(r,ht);return T.copy(r,ht,o),o}return r}function it(r){if(typeof r=="object"){var o=T.alloc(r,lt);return T.copy(r,lt,o),o}return r}function et(r){if(typeof r=="object"){var o=T.alloc(r,yt);return T.copy(r,yt,o),o}return r}function Y(){throw"cannot construct a VoidPtr, no constructor in IDL"}function H(){this.ptr=Rt(),x(H)[this.ptr]=this}function F(){this.ptr=at(),x(F)[this.ptr]=this}function P(){this.ptr=Bt(),x(P)[this.ptr]=this}function U(){this.ptr=Vt(),x(U)[this.ptr]=this}function V(){this.ptr=Xt(),x(V)[this.ptr]=this}function B(){this.ptr=Kt(),x(B)[this.ptr]=this}function w(){this.ptr=ee(),x(w)[this.ptr]=this}function G(){this.ptr=pe(),x(G)[this.ptr]=this}function g(){this.ptr=Ae(),x(g)[this.ptr]=this}function R(){this.ptr=Ue(),x(R)[this.ptr]=this}function N(r){r&&typeof r=="object"&&(r=r.ptr),this.ptr=Ye(r),x(N)[this.ptr]=this}f=f===void 0?{}:f;var n=typeof f<"u"?f:{},X,q;n.ready=new Promise(function(r,o){X=r,q=o});var $=!1,K=!1;n.onRuntimeInitialized=function(){$=!0,K&&typeof n.onModuleLoaded=="function"&&n.onModuleLoaded(n)},n.onModuleParsed=function(){K=!0,$&&typeof n.onModuleLoaded=="function"&&n.onModuleLoaded(n)},n.isVersionSupported=function(r){return typeof r!="string"?!1:(r=r.split("."),2>r.length||3<r.length?!1:r[0]==1&&0<=r[1]&&5>=r[1]?!0:!(r[0]!=0||10<r[1]))};var z=Object.assign({},n),E=typeof window=="object",t=typeof importScripts=="function",Pt=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string",Z="";if(Pt){var St=Tr,gt=Tr;Z=t?gt.dirname(Z)+"/":__dirname+"/";var Ot=function(r,o){return r=r.startsWith("file://")?new URL(r):gt.normalize(r),St.readFileSync(r,o?void 0:"utf8")},jt=function(r){return r=Ot(r,!0),r.buffer||(r=new Uint8Array(r)),r},ct=function(r,o,i){r=r.startsWith("file://")?new URL(r):gt.normalize(r),St.readFile(r,function(u,d){u?i(u):o(d.buffer)})};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),n.inspect=function(){return"[Emscripten Module object]"}}else(E||t)&&(t?Z=self.location.href:typeof document<"u"&&document.currentScript&&(Z=document.currentScript.src),l&&(Z=l),Z=Z.indexOf("blob:")!==0?Z.substr(0,Z.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Ot=function(r){var o=new XMLHttpRequest;return o.open("GET",r,!1),o.send(null),o.responseText},t&&(jt=function(r){var o=new XMLHttpRequest;return o.open("GET",r,!1),o.responseType="arraybuffer",o.send(null),new Uint8Array(o.response)}),ct=function(r,o,i){var u=new XMLHttpRequest;u.open("GET",r,!0),u.responseType="arraybuffer",u.onload=function(){u.status==200||u.status==0&&u.response?o(u.response):i()},u.onerror=i,u.send(null)});n.print||console.log.bind(console);var dt=n.printErr||console.warn.bind(console);Object.assign(n,z),z=null;var J;n.wasmBinary&&(J=n.wasmBinary),typeof WebAssembly!="object"&&c("no native wasm support detected");var mt,vt=!1,ot,bt,ht,lt,rt,yt,At=[],Dt=[],Gt=[],_t=!1,nt=0,pt=null,Q="draco_encoder.wasm";Q.startsWith("data:application/octet-stream;base64,")||(Q=y(Q));var fr={b:function(r,o,i){throw new A(r).init(o,i),r},a:function(){c("")},d:function(r,o,i){bt.copyWithin(r,o,o+i)},c:function(r){var o=bt.length;if(r>>>=0,2147483648<r)return!1;for(var i=1;4>=i;i*=2){var u=o*(1+.2/i);u=Math.min(u,r+100663296);var d=Math;u=Math.max(r,u),d=d.min.call(d,2147483648,u+(65536-u%65536)%65536);t:{u=mt.buffer;try{mt.grow(d-u.byteLength+65535>>>16),b();var I=1;break t}catch{}I=void 0}if(I)return!0}return!1}};(function(){function r(d,I){n.asm=d.exports,mt=n.asm.e,b(),Dt.unshift(n.asm.f),nt--,n.monitorRunDependencies&&n.monitorRunDependencies(nt),nt==0&&pt&&(d=pt,pt=null,d())}function o(d){r(d.instance)}function i(d){return s().then(function(I){return WebAssembly.instantiate(I,u)}).then(function(I){return I}).then(d,function(I){dt("failed to asynchronously prepare wasm: "+I),c(I)})}var u={a:fr};if(nt++,n.monitorRunDependencies&&n.monitorRunDependencies(nt),n.instantiateWasm)try{return n.instantiateWasm(u,r)}catch(d){dt("Module.instantiateWasm callback failed with error: "+d),q(d)}return(function(){return J||typeof WebAssembly.instantiateStreaming!="function"||Q.startsWith("data:application/octet-stream;base64,")||Q.startsWith("file://")||Pt||typeof fetch!="function"?i(o):fetch(Q,{credentials:"same-origin"}).then(function(d){return WebAssembly.instantiateStreaming(d,u).then(o,function(I){return dt("wasm streaming compile failed: "+I),dt("falling back to ArrayBuffer instantiation"),i(o)})})})().catch(q),{}})();var Mt=n._emscripten_bind_VoidPtr___destroy___0=function(){return(Mt=n._emscripten_bind_VoidPtr___destroy___0=n.asm.h).apply(null,arguments)},Rt=n._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Rt=n._emscripten_bind_GeometryAttribute_GeometryAttribute_0=n.asm.i).apply(null,arguments)},Nt=n._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Nt=n._emscripten_bind_GeometryAttribute___destroy___0=n.asm.j).apply(null,arguments)},at=n._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(at=n._emscripten_bind_PointAttribute_PointAttribute_0=n.asm.k).apply(null,arguments)},ft=n._emscripten_bind_PointAttribute_size_0=function(){return(ft=n._emscripten_bind_PointAttribute_size_0=n.asm.l).apply(null,arguments)},tt=n._emscripten_bind_PointAttribute_attribute_type_0=function(){return(tt=n._emscripten_bind_PointAttribute_attribute_type_0=n.asm.m).apply(null,arguments)},mr=n._emscripten_bind_PointAttribute_data_type_0=function(){return(mr=n._emscripten_bind_PointAttribute_data_type_0=n.asm.n).apply(null,arguments)},br=n._emscripten_bind_PointAttribute_num_components_0=function(){return(br=n._emscripten_bind_PointAttribute_num_components_0=n.asm.o).apply(null,arguments)},Ft=n._emscripten_bind_PointAttribute_normalized_0=function(){return(Ft=n._emscripten_bind_PointAttribute_normalized_0=n.asm.p).apply(null,arguments)},Ut=n._emscripten_bind_PointAttribute_byte_stride_0=function(){return(Ut=n._emscripten_bind_PointAttribute_byte_stride_0=n.asm.q).apply(null,arguments)},Ct=n._emscripten_bind_PointAttribute_byte_offset_0=function(){return(Ct=n._emscripten_bind_PointAttribute_byte_offset_0=n.asm.r).apply(null,arguments)},Lt=n._emscripten_bind_PointAttribute_unique_id_0=function(){return(Lt=n._emscripten_bind_PointAttribute_unique_id_0=n.asm.s).apply(null,arguments)},wt=n._emscripten_bind_PointAttribute___destroy___0=function(){return(wt=n._emscripten_bind_PointAttribute___destroy___0=n.asm.t).apply(null,arguments)},Bt=n._emscripten_bind_PointCloud_PointCloud_0=function(){return(Bt=n._emscripten_bind_PointCloud_PointCloud_0=n.asm.u).apply(null,arguments)},zt=n._emscripten_bind_PointCloud_num_attributes_0=function(){return(zt=n._emscripten_bind_PointCloud_num_attributes_0=n.asm.v).apply(null,arguments)},xt=n._emscripten_bind_PointCloud_num_points_0=function(){return(xt=n._emscripten_bind_PointCloud_num_points_0=n.asm.w).apply(null,arguments)},Wt=n._emscripten_bind_PointCloud___destroy___0=function(){return(Wt=n._emscripten_bind_PointCloud___destroy___0=n.asm.x).apply(null,arguments)},Vt=n._emscripten_bind_Mesh_Mesh_0=function(){return(Vt=n._emscripten_bind_Mesh_Mesh_0=n.asm.y).apply(null,arguments)},Qt=n._emscripten_bind_Mesh_num_faces_0=function(){return(Qt=n._emscripten_bind_Mesh_num_faces_0=n.asm.z).apply(null,arguments)},Ht=n._emscripten_bind_Mesh_num_attributes_0=function(){return(Ht=n._emscripten_bind_Mesh_num_attributes_0=n.asm.A).apply(null,arguments)},Yt=n._emscripten_bind_Mesh_num_points_0=function(){return(Yt=n._emscripten_bind_Mesh_num_points_0=n.asm.B).apply(null,arguments)},kt=n._emscripten_bind_Mesh_set_num_points_1=function(){return(kt=n._emscripten_bind_Mesh_set_num_points_1=n.asm.C).apply(null,arguments)},qt=n._emscripten_bind_Mesh___destroy___0=function(){return(qt=n._emscripten_bind_Mesh___destroy___0=n.asm.D).apply(null,arguments)},Xt=n._emscripten_bind_Metadata_Metadata_0=function(){return(Xt=n._emscripten_bind_Metadata_Metadata_0=n.asm.E).apply(null,arguments)},$t=n._emscripten_bind_Metadata___destroy___0=function(){return($t=n._emscripten_bind_Metadata___destroy___0=n.asm.F).apply(null,arguments)},Kt=n._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Kt=n._emscripten_bind_DracoInt8Array_DracoInt8Array_0=n.asm.G).apply(null,arguments)},Jt=n._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Jt=n._emscripten_bind_DracoInt8Array_GetValue_1=n.asm.H).apply(null,arguments)},Zt=n._emscripten_bind_DracoInt8Array_size_0=function(){return(Zt=n._emscripten_bind_DracoInt8Array_size_0=n.asm.I).apply(null,arguments)},te=n._emscripten_bind_DracoInt8Array___destroy___0=function(){return(te=n._emscripten_bind_DracoInt8Array___destroy___0=n.asm.J).apply(null,arguments)},ee=n._emscripten_bind_MetadataBuilder_MetadataBuilder_0=function(){return(ee=n._emscripten_bind_MetadataBuilder_MetadataBuilder_0=n.asm.K).apply(null,arguments)},re=n._emscripten_bind_MetadataBuilder_AddStringEntry_3=function(){return(re=n._emscripten_bind_MetadataBuilder_AddStringEntry_3=n.asm.L).apply(null,arguments)},ne=n._emscripten_bind_MetadataBuilder_AddIntEntry_3=function(){return(ne=n._emscripten_bind_MetadataBuilder_AddIntEntry_3=n.asm.M).apply(null,arguments)},oe=n._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=function(){return(oe=n._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=n.asm.N).apply(null,arguments)},_e=n._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=function(){return(_e=n._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=n.asm.O).apply(null,arguments)},ie=n._emscripten_bind_MetadataBuilder___destroy___0=function(){return(ie=n._emscripten_bind_MetadataBuilder___destroy___0=n.asm.P).apply(null,arguments)},pe=n._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=function(){return(pe=n._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=n.asm.Q).apply(null,arguments)},ae=n._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=function(){return(ae=n._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=n.asm.R).apply(null,arguments)},ue=n._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=function(){return(ue=n._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=n.asm.S).apply(null,arguments)},se=n._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=function(){return(se=n._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=n.asm.T).apply(null,arguments)},ce=n._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=function(){return(ce=n._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=n.asm.U).apply(null,arguments)},le=n._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=function(){return(le=n._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=n.asm.V).apply(null,arguments)},ye=n._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=function(){return(ye=n._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=n.asm.W).apply(null,arguments)},de=n._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=function(){return(de=n._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=n.asm.X).apply(null,arguments)},fe=n._emscripten_bind_PointCloudBuilder_AddMetadata_2=function(){return(fe=n._emscripten_bind_PointCloudBuilder_AddMetadata_2=n.asm.Y).apply(null,arguments)},me=n._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=function(){return(me=n._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=n.asm.Z).apply(null,arguments)},be=n._emscripten_bind_PointCloudBuilder_SetNormalizedFlagForAttribute_3=function(){return(be=n._emscripten_bind_PointCloudBuilder_SetNormalizedFlagForAttribute_3=n.asm._).apply(null,arguments)},he=n._emscripten_bind_PointCloudBuilder___destroy___0=function(){return(he=n._emscripten_bind_PointCloudBuilder___destroy___0=n.asm.$).apply(null,arguments)},Ae=n._emscripten_bind_MeshBuilder_MeshBuilder_0=function(){return(Ae=n._emscripten_bind_MeshBuilder_MeshBuilder_0=n.asm.aa).apply(null,arguments)},Ee=n._emscripten_bind_MeshBuilder_AddFacesToMesh_3=function(){return(Ee=n._emscripten_bind_MeshBuilder_AddFacesToMesh_3=n.asm.ba).apply(null,arguments)},Ie=n._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=function(){return(Ie=n._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=n.asm.ca).apply(null,arguments)},Te=n._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=function(){return(Te=n._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=n.asm.da).apply(null,arguments)},ge=n._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=function(){return(ge=n._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=n.asm.ea).apply(null,arguments)},je=n._emscripten_bind_MeshBuilder_AddFloatAttribute_5=function(){return(je=n._emscripten_bind_MeshBuilder_AddFloatAttribute_5=n.asm.fa).apply(null,arguments)},ve=n._emscripten_bind_MeshBuilder_AddInt8Attribute_5=function(){return(ve=n._emscripten_bind_MeshBuilder_AddInt8Attribute_5=n.asm.ga).apply(null,arguments)},De=n._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=function(){return(De=n._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=n.asm.ha).apply(null,arguments)},Me=n._emscripten_bind_MeshBuilder_AddInt16Attribute_5=function(){return(Me=n._emscripten_bind_MeshBuilder_AddInt16Attribute_5=n.asm.ia).apply(null,arguments)},Pe=n._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=function(){return(Pe=n._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=n.asm.ja).apply(null,arguments)},Se=n._emscripten_bind_MeshBuilder_AddInt32Attribute_5=function(){return(Se=n._emscripten_bind_MeshBuilder_AddInt32Attribute_5=n.asm.ka).apply(null,arguments)},Oe=n._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=function(){return(Oe=n._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=n.asm.la).apply(null,arguments)},Ge=n._emscripten_bind_MeshBuilder_AddMetadata_2=function(){return(Ge=n._emscripten_bind_MeshBuilder_AddMetadata_2=n.asm.ma).apply(null,arguments)},Re=n._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=function(){return(Re=n._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=n.asm.na).apply(null,arguments)},Ne=n._emscripten_bind_MeshBuilder_SetNormalizedFlagForAttribute_3=function(){return(Ne=n._emscripten_bind_MeshBuilder_SetNormalizedFlagForAttribute_3=n.asm.oa).apply(null,arguments)},Fe=n._emscripten_bind_MeshBuilder___destroy___0=function(){return(Fe=n._emscripten_bind_MeshBuilder___destroy___0=n.asm.pa).apply(null,arguments)},Ue=n._emscripten_bind_Encoder_Encoder_0=function(){return(Ue=n._emscripten_bind_Encoder_Encoder_0=n.asm.qa).apply(null,arguments)},Ce=n._emscripten_bind_Encoder_SetEncodingMethod_1=function(){return(Ce=n._emscripten_bind_Encoder_SetEncodingMethod_1=n.asm.ra).apply(null,arguments)},Le=n._emscripten_bind_Encoder_SetAttributeQuantization_2=function(){return(Le=n._emscripten_bind_Encoder_SetAttributeQuantization_2=n.asm.sa).apply(null,arguments)},we=n._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=function(){return(we=n._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=n.asm.ta).apply(null,arguments)},Be=n._emscripten_bind_Encoder_SetSpeedOptions_2=function(){return(Be=n._emscripten_bind_Encoder_SetSpeedOptions_2=n.asm.ua).apply(null,arguments)},ze=n._emscripten_bind_Encoder_SetTrackEncodedProperties_1=function(){return(ze=n._emscripten_bind_Encoder_SetTrackEncodedProperties_1=n.asm.va).apply(null,arguments)},xe=n._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=function(){return(xe=n._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=n.asm.wa).apply(null,arguments)},We=n._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=function(){return(We=n._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=n.asm.xa).apply(null,arguments)},Ve=n._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=function(){return(Ve=n._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=n.asm.ya).apply(null,arguments)},Qe=n._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=function(){return(Qe=n._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=n.asm.za).apply(null,arguments)},He=n._emscripten_bind_Encoder___destroy___0=function(){return(He=n._emscripten_bind_Encoder___destroy___0=n.asm.Aa).apply(null,arguments)},Ye=n._emscripten_bind_ExpertEncoder_ExpertEncoder_1=function(){return(Ye=n._emscripten_bind_ExpertEncoder_ExpertEncoder_1=n.asm.Ba).apply(null,arguments)},ke=n._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=function(){return(ke=n._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=n.asm.Ca).apply(null,arguments)},qe=n._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=function(){return(qe=n._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=n.asm.Da).apply(null,arguments)},Xe=n._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=function(){return(Xe=n._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=n.asm.Ea).apply(null,arguments)},$e=n._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=function(){return($e=n._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=n.asm.Fa).apply(null,arguments)},Ke=n._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=function(){return(Ke=n._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=n.asm.Ga).apply(null,arguments)},Je=n._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=function(){return(Je=n._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=n.asm.Ha).apply(null,arguments)},Ze=n._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=function(){return(Ze=n._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=n.asm.Ia).apply(null,arguments)},tr=n._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=function(){return(tr=n._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=n.asm.Ja).apply(null,arguments)},er=n._emscripten_bind_ExpertEncoder___destroy___0=function(){return(er=n._emscripten_bind_ExpertEncoder___destroy___0=n.asm.Ka).apply(null,arguments)},rr=n._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(rr=n._emscripten_enum_draco_GeometryAttribute_Type_INVALID=n.asm.La).apply(null,arguments)},nr=n._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(nr=n._emscripten_enum_draco_GeometryAttribute_Type_POSITION=n.asm.Ma).apply(null,arguments)},or=n._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(or=n._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=n.asm.Na).apply(null,arguments)},_r=n._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(_r=n._emscripten_enum_draco_GeometryAttribute_Type_COLOR=n.asm.Oa).apply(null,arguments)},ir=n._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(ir=n._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=n.asm.Pa).apply(null,arguments)},pr=n._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(pr=n._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=n.asm.Qa).apply(null,arguments)},ar=n._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(ar=n._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=n.asm.Ra).apply(null,arguments)},ur=n._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(ur=n._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=n.asm.Sa).apply(null,arguments)},sr=n._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(sr=n._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=n.asm.Ta).apply(null,arguments)},cr=n._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=function(){return(cr=n._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=n.asm.Ua).apply(null,arguments)},lr=n._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=function(){return(lr=n._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=n.asm.Va).apply(null,arguments)};n._malloc=function(){return(n._malloc=n.asm.Wa).apply(null,arguments)},n._free=function(){return(n._free=n.asm.Xa).apply(null,arguments)};var yr=function(){return(yr=n.asm.Ya).apply(null,arguments)};n.___start_em_js=19116,n.___stop_em_js=19214;var Et;if(pt=function r(){Et||M(),Et||(pt=r)},n.preInit)for(typeof n.preInit=="function"&&(n.preInit=[n.preInit]);0<n.preInit.length;)n.preInit.pop()();M(),v.prototype=Object.create(v.prototype),v.prototype.constructor=v,v.prototype.__class__=v,v.__cache__={},n.WrapperObject=v,n.getCache=x,n.wrapPointer=j,n.castObject=function(r,o){return j(r.ptr,o)},n.NULL=j(0),n.destroy=function(r){if(!r.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";r.__destroy__(),delete x(r.__class__)[r.ptr]},n.compare=function(r,o){return r.ptr===o.ptr},n.getPointer=function(r){return r.ptr},n.getClass=function(r){return r.__class__};var T={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(T.needed){for(var r=0;r<T.temps.length;r++)n._free(T.temps[r]);T.temps.length=0,n._free(T.buffer),T.buffer=0,T.size+=T.needed,T.needed=0}T.buffer||(T.size+=128,T.buffer=n._malloc(T.size),T.buffer||c(void 0)),T.pos=0},alloc:function(r,o){return T.buffer||c(void 0),r=r.length*o.BYTES_PER_ELEMENT,r=r+7&-8,T.pos+r>=T.size?(0<r||c(void 0),T.needed+=r,o=n._malloc(r),T.temps.push(o)):(o=T.buffer+T.pos,T.pos+=r),o},copy:function(r,o,i){switch(i>>>=0,o.BYTES_PER_ELEMENT){case 2:i>>>=1;break;case 4:i>>>=2;break;case 8:i>>>=3}for(var u=0;u<r.length;u++)o[i+u]=r[u]}};return Y.prototype=Object.create(v.prototype),Y.prototype.constructor=Y,Y.prototype.__class__=Y,Y.__cache__={},n.VoidPtr=Y,Y.prototype.__destroy__=Y.prototype.__destroy__=function(){Mt(this.ptr)},H.prototype=Object.create(v.prototype),H.prototype.constructor=H,H.prototype.__class__=H,H.__cache__={},n.GeometryAttribute=H,H.prototype.__destroy__=H.prototype.__destroy__=function(){Nt(this.ptr)},F.prototype=Object.create(v.prototype),F.prototype.constructor=F,F.prototype.__class__=F,F.__cache__={},n.PointAttribute=F,F.prototype.size=F.prototype.size=function(){return ft(this.ptr)},F.prototype.attribute_type=F.prototype.attribute_type=function(){return tt(this.ptr)},F.prototype.data_type=F.prototype.data_type=function(){return mr(this.ptr)},F.prototype.num_components=F.prototype.num_components=function(){return br(this.ptr)},F.prototype.normalized=F.prototype.normalized=function(){return!!Ft(this.ptr)},F.prototype.byte_stride=F.prototype.byte_stride=function(){return Ut(this.ptr)},F.prototype.byte_offset=F.prototype.byte_offset=function(){return Ct(this.ptr)},F.prototype.unique_id=F.prototype.unique_id=function(){return Lt(this.ptr)},F.prototype.__destroy__=F.prototype.__destroy__=function(){wt(this.ptr)},P.prototype=Object.create(v.prototype),P.prototype.constructor=P,P.prototype.__class__=P,P.__cache__={},n.PointCloud=P,P.prototype.num_attributes=P.prototype.num_attributes=function(){return zt(this.ptr)},P.prototype.num_points=P.prototype.num_points=function(){return xt(this.ptr)},P.prototype.__destroy__=P.prototype.__destroy__=function(){Wt(this.ptr)},U.prototype=Object.create(v.prototype),U.prototype.constructor=U,U.prototype.__class__=U,U.__cache__={},n.Mesh=U,U.prototype.num_faces=U.prototype.num_faces=function(){return Qt(this.ptr)},U.prototype.num_attributes=U.prototype.num_attributes=function(){return Ht(this.ptr)},U.prototype.num_points=U.prototype.num_points=function(){return Yt(this.ptr)},U.prototype.set_num_points=U.prototype.set_num_points=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),kt(o,r)},U.prototype.__destroy__=U.prototype.__destroy__=function(){qt(this.ptr)},V.prototype=Object.create(v.prototype),V.prototype.constructor=V,V.prototype.__class__=V,V.__cache__={},n.Metadata=V,V.prototype.__destroy__=V.prototype.__destroy__=function(){$t(this.ptr)},B.prototype=Object.create(v.prototype),B.prototype.constructor=B,B.prototype.__class__=B,B.__cache__={},n.DracoInt8Array=B,B.prototype.GetValue=B.prototype.GetValue=function(r){var o=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),Jt(o,r)},B.prototype.size=B.prototype.size=function(){return Zt(this.ptr)},B.prototype.__destroy__=B.prototype.__destroy__=function(){te(this.ptr)},w.prototype=Object.create(v.prototype),w.prototype.constructor=w,w.prototype.__class__=w,w.__cache__={},n.MetadataBuilder=w,w.prototype.AddStringEntry=w.prototype.AddStringEntry=function(r,o,i){var u=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o=o&&typeof o=="object"?o.ptr:O(o),i=i&&typeof i=="object"?i.ptr:O(i),!!re(u,r,o,i)},w.prototype.AddIntEntry=w.prototype.AddIntEntry=function(r,o,i){var u=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o=o&&typeof o=="object"?o.ptr:O(o),i&&typeof i=="object"&&(i=i.ptr),!!ne(u,r,o,i)},w.prototype.AddIntEntryArray=w.prototype.AddIntEntryArray=function(r,o,i,u){var d=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o=o&&typeof o=="object"?o.ptr:O(o),typeof i=="object"&&(i=it(i)),u&&typeof u=="object"&&(u=u.ptr),!!oe(d,r,o,i,u)},w.prototype.AddDoubleEntry=w.prototype.AddDoubleEntry=function(r,o,i){var u=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o=o&&typeof o=="object"?o.ptr:O(o),i&&typeof i=="object"&&(i=i.ptr),!!_e(u,r,o,i)},w.prototype.__destroy__=w.prototype.__destroy__=function(){ie(this.ptr)},G.prototype=Object.create(v.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},n.PointCloudBuilder=G,G.prototype.AddFloatAttribute=G.prototype.AddFloatAttribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=et(d)),ae(I,r,o,i,u,d)},G.prototype.AddInt8Attribute=G.prototype.AddInt8Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=W(d)),ue(I,r,o,i,u,d)},G.prototype.AddUInt8Attribute=G.prototype.AddUInt8Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=W(d)),se(I,r,o,i,u,d)},G.prototype.AddInt16Attribute=G.prototype.AddInt16Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=k(d)),ce(I,r,o,i,u,d)},G.prototype.AddUInt16Attribute=G.prototype.AddUInt16Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=k(d)),le(I,r,o,i,u,d)},G.prototype.AddInt32Attribute=G.prototype.AddInt32Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),ye(I,r,o,i,u,d)},G.prototype.AddUInt32Attribute=G.prototype.AddUInt32Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),de(I,r,o,i,u,d)},G.prototype.AddMetadata=G.prototype.AddMetadata=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),!!fe(i,r,o)},G.prototype.SetMetadataForAttribute=G.prototype.SetMetadataForAttribute=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),!!me(u,r,o,i)},G.prototype.SetNormalizedFlagForAttribute=G.prototype.SetNormalizedFlagForAttribute=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),!!be(u,r,o,i)},G.prototype.__destroy__=G.prototype.__destroy__=function(){he(this.ptr)},g.prototype=Object.create(v.prototype),g.prototype.constructor=g,g.prototype.__class__=g,g.__cache__={},n.MeshBuilder=g,g.prototype.AddFacesToMesh=g.prototype.AddFacesToMesh=function(r,o,i){var u=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),typeof i=="object"&&(i=it(i)),!!Ee(u,r,o,i)},g.prototype.AddFloatAttributeToMesh=g.prototype.AddFloatAttributeToMesh=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=et(d)),Ie(I,r,o,i,u,d)},g.prototype.AddInt32AttributeToMesh=g.prototype.AddInt32AttributeToMesh=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),Te(I,r,o,i,u,d)},g.prototype.AddMetadataToMesh=g.prototype.AddMetadataToMesh=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),!!ge(i,r,o)},g.prototype.AddFloatAttribute=g.prototype.AddFloatAttribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=et(d)),je(I,r,o,i,u,d)},g.prototype.AddInt8Attribute=g.prototype.AddInt8Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=W(d)),ve(I,r,o,i,u,d)},g.prototype.AddUInt8Attribute=g.prototype.AddUInt8Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=W(d)),De(I,r,o,i,u,d)},g.prototype.AddInt16Attribute=g.prototype.AddInt16Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=k(d)),Me(I,r,o,i,u,d)},g.prototype.AddUInt16Attribute=g.prototype.AddUInt16Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=k(d)),Pe(I,r,o,i,u,d)},g.prototype.AddInt32Attribute=g.prototype.AddInt32Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),Se(I,r,o,i,u,d)},g.prototype.AddUInt32Attribute=g.prototype.AddUInt32Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),Oe(I,r,o,i,u,d)},g.prototype.AddMetadata=g.prototype.AddMetadata=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),!!Ge(i,r,o)},g.prototype.SetMetadataForAttribute=g.prototype.SetMetadataForAttribute=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),!!Re(u,r,o,i)},g.prototype.SetNormalizedFlagForAttribute=g.prototype.SetNormalizedFlagForAttribute=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),!!Ne(u,r,o,i)},g.prototype.__destroy__=g.prototype.__destroy__=function(){Fe(this.ptr)},R.prototype=Object.create(v.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},n.Encoder=R,R.prototype.SetEncodingMethod=R.prototype.SetEncodingMethod=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),Ce(o,r)},R.prototype.SetAttributeQuantization=R.prototype.SetAttributeQuantization=function(r,o){var i=this.ptr;r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),Le(i,r,o)},R.prototype.SetAttributeExplicitQuantization=R.prototype.SetAttributeExplicitQuantization=function(r,o,i,u,d){var I=this.ptr;T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),typeof u=="object"&&(u=et(u)),d&&typeof d=="object"&&(d=d.ptr),we(I,r,o,i,u,d)},R.prototype.SetSpeedOptions=R.prototype.SetSpeedOptions=function(r,o){var i=this.ptr;r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),Be(i,r,o)},R.prototype.SetTrackEncodedProperties=R.prototype.SetTrackEncodedProperties=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),ze(o,r)},R.prototype.EncodeMeshToDracoBuffer=R.prototype.EncodeMeshToDracoBuffer=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),xe(i,r,o)},R.prototype.EncodePointCloudToDracoBuffer=R.prototype.EncodePointCloudToDracoBuffer=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),We(u,r,o,i)},R.prototype.GetNumberOfEncodedPoints=R.prototype.GetNumberOfEncodedPoints=function(){return Ve(this.ptr)},R.prototype.GetNumberOfEncodedFaces=R.prototype.GetNumberOfEncodedFaces=function(){return Qe(this.ptr)},R.prototype.__destroy__=R.prototype.__destroy__=function(){He(this.ptr)},N.prototype=Object.create(v.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},n.ExpertEncoder=N,N.prototype.SetEncodingMethod=N.prototype.SetEncodingMethod=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),ke(o,r)},N.prototype.SetAttributeQuantization=N.prototype.SetAttributeQuantization=function(r,o){var i=this.ptr;r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),qe(i,r,o)},N.prototype.SetAttributeExplicitQuantization=N.prototype.SetAttributeExplicitQuantization=function(r,o,i,u,d){var I=this.ptr;T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),typeof u=="object"&&(u=et(u)),d&&typeof d=="object"&&(d=d.ptr),Xe(I,r,o,i,u,d)},N.prototype.SetSpeedOptions=N.prototype.SetSpeedOptions=function(r,o){var i=this.ptr;r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),$e(i,r,o)},N.prototype.SetTrackEncodedProperties=N.prototype.SetTrackEncodedProperties=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),Ke(o,r)},N.prototype.EncodeToDracoBuffer=N.prototype.EncodeToDracoBuffer=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),Je(i,r,o)},N.prototype.GetNumberOfEncodedPoints=N.prototype.GetNumberOfEncodedPoints=function(){return Ze(this.ptr)},N.prototype.GetNumberOfEncodedFaces=N.prototype.GetNumberOfEncodedFaces=function(){return tr(this.ptr)},N.prototype.__destroy__=N.prototype.__destroy__=function(){er(this.ptr)},(function(){function r(){n.INVALID=rr(),n.POSITION=nr(),n.NORMAL=or(),n.COLOR=_r(),n.TEX_COORD=ir(),n.GENERIC=pr(),n.INVALID_GEOMETRY_TYPE=ar(),n.POINT_CLOUD=ur(),n.TRIANGULAR_MESH=sr(),n.MESH_SEQUENTIAL_ENCODING=cr(),n.MESH_EDGEBREAKER_ENCODING=lr()}_t?r():Dt.unshift(r)})(),typeof n.onModuleParsed=="function"&&n.onModuleParsed(),f.ready}})();ut.exports=st})(Ar)),Ar.exports}var Er={exports:{}},On=Er.exports,gn;function Gn(){return gn||(gn=1,(function(ut,Tt){var a=a||{};a.scope={},a.arrayIteratorImpl=function(l){var f=0;return function(){return f<l.length?{done:!1,value:l[f++]}:{done:!0}}},a.arrayIterator=function(l){return{next:a.arrayIteratorImpl(l)}},a.makeIterator=function(l){var f=typeof Symbol<"u"&&Symbol.iterator&&l[Symbol.iterator];return f?f.call(l):a.arrayIterator(l)},a.ASSUME_ES5=!1,a.ASSUME_NO_NATIVE_MAP=!1,a.ASSUME_NO_NATIVE_SET=!1,a.SIMPLE_FROUND_POLYFILL=!1,a.ISOLATE_POLYFILLS=!1,a.FORCE_POLYFILL_PROMISE=!1,a.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,a.getGlobal=function(l){l=[typeof globalThis=="object"&&globalThis,l,typeof window=="object"&&window,typeof self=="object"&&self,typeof Ir=="object"&&Ir];for(var f=0;f<l.length;++f){var y=l[f];if(y&&y.Math==Math)return y}throw Error("Cannot find global object")},a.global=a.getGlobal(On),a.defineProperty=a.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(l,f,y){return l==Array.prototype||l==Object.prototype||(l[f]=y.value),l},a.IS_SYMBOL_NATIVE=typeof Symbol=="function"&&typeof Symbol("x")=="symbol",a.TRUST_ES6_POLYFILLS=!a.ISOLATE_POLYFILLS||a.IS_SYMBOL_NATIVE,a.polyfills={},a.propertyToPolyfillSymbol={},a.POLYFILL_PREFIX="$jscp$",a.polyfill=function(l,f,y,b){f&&(a.ISOLATE_POLYFILLS?a.polyfillIsolated(l,f,y,b):a.polyfillUnisolated(l,f,y,b))},a.polyfillUnisolated=function(l,f,y,b){for(y=a.global,l=l.split("."),b=0;b<l.length-1;b++){var c=l[b];if(!(c in y))return;y=y[c]}l=l[l.length-1],b=y[l],f=f(b),f!=b&&f!=null&&a.defineProperty(y,l,{configurable:!0,writable:!0,value:f})},a.polyfillIsolated=function(l,f,y,b){var c=l.split(".");l=c.length===1,b=c[0],b=!l&&b in a.polyfills?a.polyfills:a.global;for(var S=0;S<c.length-1;S++){var s=c[S];if(!(s in b))return;b=b[s]}c=c[c.length-1],y=a.IS_SYMBOL_NATIVE&&y==="es6"?b[c]:null,f=f(y),f!=null&&(l?a.defineProperty(a.polyfills,c,{configurable:!0,writable:!0,value:f}):f!==y&&(a.propertyToPolyfillSymbol[c]===void 0&&(y=1e9*Math.random()>>>0,a.propertyToPolyfillSymbol[c]=a.IS_SYMBOL_NATIVE?a.global.Symbol(c):a.POLYFILL_PREFIX+y+"$"+c),a.defineProperty(b,a.propertyToPolyfillSymbol[c],{configurable:!0,writable:!0,value:f})))},a.polyfill("Promise",function(l){function f(){this.batch_=null}function y(s){return s instanceof c?s:new c(function(m,A){m(s)})}if(l&&(!(a.FORCE_POLYFILL_PROMISE||a.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&typeof a.global.PromiseRejectionEvent>"u")||!a.global.Promise||a.global.Promise.toString().indexOf("[native code]")===-1))return l;f.prototype.asyncExecute=function(s){if(this.batch_==null){this.batch_=[];var m=this;this.asyncExecuteFunction(function(){m.executeBatch_()})}this.batch_.push(s)};var b=a.global.setTimeout;f.prototype.asyncExecuteFunction=function(s){b(s,0)},f.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var s=this.batch_;this.batch_=[];for(var m=0;m<s.length;++m){var A=s[m];s[m]=null;try{A()}catch(M){this.asyncThrow_(M)}}}this.batch_=null},f.prototype.asyncThrow_=function(s){this.asyncExecuteFunction(function(){throw s})};var c=function(s){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var m=this.createResolveAndReject_();try{s(m.resolve,m.reject)}catch(A){m.reject(A)}};c.prototype.createResolveAndReject_=function(){function s(M){return function(v){A||(A=!0,M.call(m,v))}}var m=this,A=!1;return{resolve:s(this.resolveTo_),reject:s(this.reject_)}},c.prototype.resolveTo_=function(s){if(s===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(s instanceof c)this.settleSameAsPromise_(s);else{t:switch(typeof s){case"object":var m=s!=null;break t;case"function":m=!0;break t;default:m=!1}m?this.resolveToNonPromiseObj_(s):this.fulfill_(s)}},c.prototype.resolveToNonPromiseObj_=function(s){var m=void 0;try{m=s.then}catch(A){this.reject_(A);return}typeof m=="function"?this.settleSameAsThenable_(m,s):this.fulfill_(s)},c.prototype.reject_=function(s){this.settle_(2,s)},c.prototype.fulfill_=function(s){this.settle_(1,s)},c.prototype.settle_=function(s,m){if(this.state_!=0)throw Error("Cannot settle("+s+", "+m+"): Promise already settled in state"+this.state_);this.state_=s,this.result_=m,this.state_===2&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},c.prototype.scheduleUnhandledRejectionCheck_=function(){var s=this;b(function(){if(s.notifyUnhandledRejection_()){var m=a.global.console;typeof m<"u"&&m.error(s.result_)}},1)},c.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var s=a.global.CustomEvent,m=a.global.Event,A=a.global.dispatchEvent;return typeof A>"u"?!0:(typeof s=="function"?s=new s("unhandledrejection",{cancelable:!0}):typeof m=="function"?s=new m("unhandledrejection",{cancelable:!0}):(s=a.global.document.createEvent("CustomEvent"),s.initCustomEvent("unhandledrejection",!1,!0,s)),s.promise=this,s.reason=this.result_,A(s))},c.prototype.executeOnSettledCallbacks_=function(){if(this.onSettledCallbacks_!=null){for(var s=0;s<this.onSettledCallbacks_.length;++s)S.asyncExecute(this.onSettledCallbacks_[s]);this.onSettledCallbacks_=null}};var S=new f;return c.prototype.settleSameAsPromise_=function(s){var m=this.createResolveAndReject_();s.callWhenSettled_(m.resolve,m.reject)},c.prototype.settleSameAsThenable_=function(s,m){var A=this.createResolveAndReject_();try{s.call(m,A.resolve,A.reject)}catch(M){A.reject(M)}},c.prototype.then=function(s,m){function A(j,O){return typeof j=="function"?function(W){try{M(j(W))}catch(k){v(k)}}:O}var M,v,x=new c(function(j,O){M=j,v=O});return this.callWhenSettled_(A(s,M),A(m,v)),x},c.prototype.catch=function(s){return this.then(void 0,s)},c.prototype.callWhenSettled_=function(s,m){function A(){switch(M.state_){case 1:s(M.result_);break;case 2:m(M.result_);break;default:throw Error("Unexpected state: "+M.state_)}}var M=this;this.onSettledCallbacks_==null?S.asyncExecute(A):this.onSettledCallbacks_.push(A),this.isRejectionHandled_=!0},c.resolve=y,c.reject=function(s){return new c(function(m,A){A(s)})},c.race=function(s){return new c(function(m,A){for(var M=a.makeIterator(s),v=M.next();!v.done;v=M.next())y(v.value).callWhenSettled_(m,A)})},c.all=function(s){var m=a.makeIterator(s),A=m.next();return A.done?y([]):new c(function(M,v){function x(W){return function(k){j[W]=k,O--,O==0&&M(j)}}var j=[],O=0;do j.push(void 0),O++,y(A.value).callWhenSettled_(x(j.length-1),v),A=m.next();while(!A.done)})},c},"es6","es3"),a.owns=function(l,f){return Object.prototype.hasOwnProperty.call(l,f)},a.assign=a.TRUST_ES6_POLYFILLS&&typeof Object.assign=="function"?Object.assign:function(l,f){for(var y=1;y<arguments.length;y++){var b=arguments[y];if(b)for(var c in b)a.owns(b,c)&&(l[c]=b[c])}return l},a.polyfill("Object.assign",function(l){return l||a.assign},"es6","es3"),a.checkStringArgs=function(l,f,y){if(l==null)throw new TypeError("The 'this' value for String.prototype."+y+" must not be null or undefined");if(f instanceof RegExp)throw new TypeError("First argument to String.prototype."+y+" must not be a regular expression");return l+""},a.polyfill("String.prototype.startsWith",function(l){return l||function(f,y){var b=a.checkStringArgs(this,f,"startsWith");f+="";var c=b.length,S=f.length;y=Math.max(0,Math.min(y|0,b.length));for(var s=0;s<S&&y<c;)if(b[y++]!=f[s++])return!1;return s>=S}},"es6","es3"),a.polyfill("Array.prototype.copyWithin",function(l){function f(y){return y=Number(y),y===1/0||y===-1/0?y:y|0}return l||function(y,b,c){var S=this.length;if(y=f(y),b=f(b),c=c===void 0?S:f(c),y=0>y?Math.max(S+y,0):Math.min(y,S),b=0>b?Math.max(S+b,0):Math.min(b,S),c=0>c?Math.max(S+c,0):Math.min(c,S),y<b)for(;b<c;)b in this?this[y++]=this[b++]:(delete this[y++],b++);else for(c=Math.min(c,S+b-y),y+=c-b;c>b;)--c in this?this[--y]=this[c]:delete this[--y];return this}},"es6","es3"),a.typedArrayCopyWithin=function(l){return l||Array.prototype.copyWithin},a.polyfill("Int8Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint8Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint8ClampedArray.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Int16Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint16Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Int32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Float32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Float64Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5");var st=(function(){var l=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return typeof __filename<"u"&&(l=l||__filename),function(f){function y(e){return t.locateFile?t.locateFile(e,J):J+e}function b(e,_,p){var h=_+p;for(p=_;e[p]&&!(p>=h);)++p;if(16<p-_&&e.buffer&&Gt)return Gt.decode(e.subarray(_,p));for(h="";_<p;){var D=e[_++];if(D&128){var L=e[_++]&63;if((D&224)==192)h+=String.fromCharCode((D&31)<<6|L);else{var It=e[_++]&63;D=(D&240)==224?(D&15)<<12|L<<6|It:(D&7)<<18|L<<12|It<<6|e[_++]&63,65536>D?h+=String.fromCharCode(D):(D-=65536,h+=String.fromCharCode(55296|D>>10,56320|D&1023))}}else h+=String.fromCharCode(D)}return h}function c(e,_){return e?b(nt,e,_):""}function S(){var e=At.buffer;t.HEAP8=_t=new Int8Array(e),t.HEAP16=new Int16Array(e),t.HEAP32=pt=new Int32Array(e),t.HEAPU8=nt=new Uint8Array(e),t.HEAPU16=new Uint16Array(e),t.HEAPU32=Q=new Uint32Array(e),t.HEAPF32=new Float32Array(e),t.HEAPF64=new Float64Array(e)}function s(e){throw t.onAbort&&t.onAbort(e),e="Aborted("+e+")",rt(e),Dt=!0,e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info."),Z(e),e}function m(e){try{if(e==tt&&yt)return new Uint8Array(yt);if(bt)return bt(e);throw"both async and sync fetching of the wasm failed"}catch(_){s(_)}}function A(){if(!yt&&(jt||ct)){if(typeof fetch=="function"&&!tt.startsWith("file://"))return fetch(tt,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+tt+"'";return e.arrayBuffer()}).catch(function(){return m(tt)});if(ht)return new Promise(function(e,_){ht(tt,function(p){e(new Uint8Array(p))},_)})}return Promise.resolve().then(function(){return m(tt)})}function M(e){for(;0<e.length;)e.shift()(t)}function v(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(_){Q[this.ptr+4>>2]=_},this.get_type=function(){return Q[this.ptr+4>>2]},this.set_destructor=function(_){Q[this.ptr+8>>2]=_},this.get_destructor=function(){return Q[this.ptr+8>>2]},this.set_refcount=function(_){pt[this.ptr>>2]=_},this.set_caught=function(_){_t[this.ptr+12>>0]=_?1:0},this.get_caught=function(){return _t[this.ptr+12>>0]!=0},this.set_rethrown=function(_){_t[this.ptr+13>>0]=_?1:0},this.get_rethrown=function(){return _t[this.ptr+13>>0]!=0},this.init=function(_,p){this.set_adjusted_ptr(0),this.set_type(_),this.set_destructor(p),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){pt[this.ptr>>2]+=1},this.release_ref=function(){var _=pt[this.ptr>>2];return pt[this.ptr>>2]=_-1,_===1},this.set_adjusted_ptr=function(_){Q[this.ptr+16>>2]=_},this.get_adjusted_ptr=function(){return Q[this.ptr+16>>2]},this.get_exception_ptr=function(){if(En(this.get_type()))return Q[this.excPtr>>2];var _=this.get_adjusted_ptr();return _!==0?_:this.excPtr}}function x(){function e(){if(!hr&&(hr=!0,t.calledRun=!0,!Dt)){if(Nt=!0,M(Mt),Pt(t),t.onRuntimeInitialized&&t.onRuntimeInitialized(),t.postRun)for(typeof t.postRun=="function"&&(t.postRun=[t.postRun]);t.postRun.length;)Rt.unshift(t.postRun.shift());M(Rt)}}if(!(0<at)){if(t.preRun)for(typeof t.preRun=="function"&&(t.preRun=[t.preRun]);t.preRun.length;)fr.unshift(t.preRun.shift());M(fr),0<at||(t.setStatus?(t.setStatus("Running..."),setTimeout(function(){setTimeout(function(){t.setStatus("")},1),e()},1)):e())}}function j(){}function O(e){return(e||j).__cache__}function W(e,_){var p=O(_),h=p[e];return h||(h=Object.create((_||j).prototype),h.ptr=e,p[e]=h)}function k(e){if(typeof e=="string"){for(var _=0,p=0;p<e.length;++p){var h=e.charCodeAt(p);127>=h?_++:2047>=h?_+=2:55296<=h&&57343>=h?(_+=4,++p):_+=3}if(_=Array(_+1),p=0,h=_.length,0<h){h=p+h-1;for(var D=0;D<e.length;++D){var L=e.charCodeAt(D);if(55296<=L&&57343>=L){var It=e.charCodeAt(++D);L=65536+((L&1023)<<10)|It&1023}if(127>=L){if(p>=h)break;_[p++]=L}else{if(2047>=L){if(p+1>=h)break;_[p++]=192|L>>6}else{if(65535>=L){if(p+2>=h)break;_[p++]=224|L>>12}else{if(p+3>=h)break;_[p++]=240|L>>18,_[p++]=128|L>>12&63}_[p++]=128|L>>6&63}_[p++]=128|L&63}}_[p]=0}return e=C.alloc(_,_t),C.copy(_,_t,e),e}return e}function it(e){if(typeof e=="object"){var _=C.alloc(e,_t);return C.copy(e,_t,_),_}return e}function et(){throw"cannot construct a VoidPtr, no constructor in IDL"}function Y(){this.ptr=Ut(),O(Y)[this.ptr]=this}function H(){this.ptr=wt(),O(H)[this.ptr]=this}function F(){this.ptr=xt(),O(F)[this.ptr]=this}function P(){this.ptr=Vt(),O(P)[this.ptr]=this}function U(){this.ptr=te(),O(U)[this.ptr]=this}function V(){this.ptr=ie(),O(V)[this.ptr]=this}function B(){this.ptr=se(),O(B)[this.ptr]=this}function w(){this.ptr=de(),O(w)[this.ptr]=this}function G(){this.ptr=Ae(),O(G)[this.ptr]=this}function g(){throw"cannot construct a Status, no constructor in IDL"}function R(){this.ptr=ve(),O(R)[this.ptr]=this}function N(){this.ptr=Se(),O(N)[this.ptr]=this}function n(){this.ptr=Ne(),O(n)[this.ptr]=this}function X(){this.ptr=Le(),O(X)[this.ptr]=this}function q(){this.ptr=xe(),O(q)[this.ptr]=this}function $(){this.ptr=He(),O($)[this.ptr]=this}function K(){this.ptr=Xe(),O(K)[this.ptr]=this}function z(){this.ptr=Ze(),O(z)[this.ptr]=this}function E(){this.ptr=ar(),O(E)[this.ptr]=this}f=f===void 0?{}:f;var t=typeof f<"u"?f:{},Pt,Z;t.ready=new Promise(function(e,_){Pt=e,Z=_});var St=!1,gt=!1;t.onRuntimeInitialized=function(){St=!0,gt&&typeof t.onModuleLoaded=="function"&&t.onModuleLoaded(t)},t.onModuleParsed=function(){gt=!0,St&&typeof t.onModuleLoaded=="function"&&t.onModuleLoaded(t)},t.isVersionSupported=function(e){return typeof e!="string"?!1:(e=e.split("."),2>e.length||3<e.length?!1:e[0]==1&&0<=e[1]&&5>=e[1]?!0:!(e[0]!=0||10<e[1]))};var Ot=Object.assign({},t),jt=typeof window=="object",ct=typeof importScripts=="function",dt=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string",J="";if(dt){var mt=Tr,vt=Tr;J=ct?vt.dirname(J)+"/":__dirname+"/";var ot=function(e,_){return e=e.startsWith("file://")?new URL(e):vt.normalize(e),mt.readFileSync(e,_?void 0:"utf8")},bt=function(e){return e=ot(e,!0),e.buffer||(e=new Uint8Array(e)),e},ht=function(e,_,p){e=e.startsWith("file://")?new URL(e):vt.normalize(e),mt.readFile(e,function(h,D){h?p(h):_(D.buffer)})};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),t.inspect=function(){return"[Emscripten Module object]"}}else(jt||ct)&&(ct?J=self.location.href:typeof document<"u"&&document.currentScript&&(J=document.currentScript.src),l&&(J=l),J=J.indexOf("blob:")!==0?J.substr(0,J.replace(/[?#].*/,"").lastIndexOf("/")+1):"",ot=function(e){var _=new XMLHttpRequest;return _.open("GET",e,!1),_.send(null),_.responseText},ct&&(bt=function(e){var _=new XMLHttpRequest;return _.open("GET",e,!1),_.responseType="arraybuffer",_.send(null),new Uint8Array(_.response)}),ht=function(e,_,p){var h=new XMLHttpRequest;h.open("GET",e,!0),h.responseType="arraybuffer",h.onload=function(){h.status==200||h.status==0&&h.response?_(h.response):p()},h.onerror=p,h.send(null)});var lt=t.print||console.log.bind(console),rt=t.printErr||console.warn.bind(console);Object.assign(t,Ot),Ot=null;var yt;t.wasmBinary&&(yt=t.wasmBinary),typeof WebAssembly!="object"&&s("no native wasm support detected");var At,Dt=!1,Gt=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,_t,nt,pt,Q,fr=[],Mt=[],Rt=[],Nt=!1,at=0,ft=null,tt="draco_decoder.wasm";tt.startsWith("data:application/octet-stream;base64,")||(tt=y(tt));var mr=[null,[],[]],br={b:function(e,_,p){throw new v(e).init(_,p),e},a:function(){s("")},g:function(e,_,p){nt.copyWithin(e,_,_+p)},e:function(e){var _=nt.length;if(e>>>=0,2147483648<e)return!1;for(var p=1;4>=p;p*=2){var h=_*(1+.2/p);h=Math.min(h,e+100663296);var D=Math;h=Math.max(e,h),D=D.min.call(D,2147483648,h+(65536-h%65536)%65536);t:{h=At.buffer;try{At.grow(D-h.byteLength+65535>>>16),S();var L=1;break t}catch{}L=void 0}if(L)return!0}return!1},f:function(e){return 52},d:function(e,_,p,h,D){return 70},c:function(e,_,p,h){for(var D=0,L=0;L<p;L++){var It=Q[_>>2],In=Q[_+4>>2];_+=8;for(var gr=0;gr<In;gr++){var jr=nt[It+gr],vr=mr[e];jr===0||jr===10?((e===1?lt:rt)(b(vr,0)),vr.length=0):vr.push(jr)}D+=In}return Q[h>>2]=D,0}};(function(){function e(D,L){t.asm=D.exports,At=t.asm.h,S(),Mt.unshift(t.asm.i),at--,t.monitorRunDependencies&&t.monitorRunDependencies(at),at==0&&ft&&(D=ft,ft=null,D())}function _(D){e(D.instance)}function p(D){return A().then(function(L){return WebAssembly.instantiate(L,h)}).then(function(L){return L}).then(D,function(L){rt("failed to asynchronously prepare wasm: "+L),s(L)})}var h={a:br};if(at++,t.monitorRunDependencies&&t.monitorRunDependencies(at),t.instantiateWasm)try{return t.instantiateWasm(h,e)}catch(D){rt("Module.instantiateWasm callback failed with error: "+D),Z(D)}return(function(){return yt||typeof WebAssembly.instantiateStreaming!="function"||tt.startsWith("data:application/octet-stream;base64,")||tt.startsWith("file://")||dt||typeof fetch!="function"?p(_):fetch(tt,{credentials:"same-origin"}).then(function(D){return WebAssembly.instantiateStreaming(D,h).then(_,function(L){return rt("wasm streaming compile failed: "+L),rt("falling back to ArrayBuffer instantiation"),p(_)})})})().catch(Z),{}})();var Ft=t._emscripten_bind_VoidPtr___destroy___0=function(){return(Ft=t._emscripten_bind_VoidPtr___destroy___0=t.asm.k).apply(null,arguments)},Ut=t._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Ut=t._emscripten_bind_DecoderBuffer_DecoderBuffer_0=t.asm.l).apply(null,arguments)},Ct=t._emscripten_bind_DecoderBuffer_Init_2=function(){return(Ct=t._emscripten_bind_DecoderBuffer_Init_2=t.asm.m).apply(null,arguments)},Lt=t._emscripten_bind_DecoderBuffer___destroy___0=function(){return(Lt=t._emscripten_bind_DecoderBuffer___destroy___0=t.asm.n).apply(null,arguments)},wt=t._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(wt=t._emscripten_bind_AttributeTransformData_AttributeTransformData_0=t.asm.o).apply(null,arguments)},Bt=t._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(Bt=t._emscripten_bind_AttributeTransformData_transform_type_0=t.asm.p).apply(null,arguments)},zt=t._emscripten_bind_AttributeTransformData___destroy___0=function(){return(zt=t._emscripten_bind_AttributeTransformData___destroy___0=t.asm.q).apply(null,arguments)},xt=t._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(xt=t._emscripten_bind_GeometryAttribute_GeometryAttribute_0=t.asm.r).apply(null,arguments)},Wt=t._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Wt=t._emscripten_bind_GeometryAttribute___destroy___0=t.asm.s).apply(null,arguments)},Vt=t._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Vt=t._emscripten_bind_PointAttribute_PointAttribute_0=t.asm.t).apply(null,arguments)},Qt=t._emscripten_bind_PointAttribute_size_0=function(){return(Qt=t._emscripten_bind_PointAttribute_size_0=t.asm.u).apply(null,arguments)},Ht=t._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(Ht=t._emscripten_bind_PointAttribute_GetAttributeTransformData_0=t.asm.v).apply(null,arguments)},Yt=t._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Yt=t._emscripten_bind_PointAttribute_attribute_type_0=t.asm.w).apply(null,arguments)},kt=t._emscripten_bind_PointAttribute_data_type_0=function(){return(kt=t._emscripten_bind_PointAttribute_data_type_0=t.asm.x).apply(null,arguments)},qt=t._emscripten_bind_PointAttribute_num_components_0=function(){return(qt=t._emscripten_bind_PointAttribute_num_components_0=t.asm.y).apply(null,arguments)},Xt=t._emscripten_bind_PointAttribute_normalized_0=function(){return(Xt=t._emscripten_bind_PointAttribute_normalized_0=t.asm.z).apply(null,arguments)},$t=t._emscripten_bind_PointAttribute_byte_stride_0=function(){return($t=t._emscripten_bind_PointAttribute_byte_stride_0=t.asm.A).apply(null,arguments)},Kt=t._emscripten_bind_PointAttribute_byte_offset_0=function(){return(Kt=t._emscripten_bind_PointAttribute_byte_offset_0=t.asm.B).apply(null,arguments)},Jt=t._emscripten_bind_PointAttribute_unique_id_0=function(){return(Jt=t._emscripten_bind_PointAttribute_unique_id_0=t.asm.C).apply(null,arguments)},Zt=t._emscripten_bind_PointAttribute___destroy___0=function(){return(Zt=t._emscripten_bind_PointAttribute___destroy___0=t.asm.D).apply(null,arguments)},te=t._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(te=t._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=t.asm.E).apply(null,arguments)},ee=t._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(ee=t._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=t.asm.F).apply(null,arguments)},re=t._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(re=t._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=t.asm.G).apply(null,arguments)},ne=t._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(ne=t._emscripten_bind_AttributeQuantizationTransform_min_value_1=t.asm.H).apply(null,arguments)},oe=t._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(oe=t._emscripten_bind_AttributeQuantizationTransform_range_0=t.asm.I).apply(null,arguments)},_e=t._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(_e=t._emscripten_bind_AttributeQuantizationTransform___destroy___0=t.asm.J).apply(null,arguments)},ie=t._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(ie=t._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=t.asm.K).apply(null,arguments)},pe=t._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(pe=t._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=t.asm.L).apply(null,arguments)},ae=t._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(ae=t._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=t.asm.M).apply(null,arguments)},ue=t._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(ue=t._emscripten_bind_AttributeOctahedronTransform___destroy___0=t.asm.N).apply(null,arguments)},se=t._emscripten_bind_PointCloud_PointCloud_0=function(){return(se=t._emscripten_bind_PointCloud_PointCloud_0=t.asm.O).apply(null,arguments)},ce=t._emscripten_bind_PointCloud_num_attributes_0=function(){return(ce=t._emscripten_bind_PointCloud_num_attributes_0=t.asm.P).apply(null,arguments)},le=t._emscripten_bind_PointCloud_num_points_0=function(){return(le=t._emscripten_bind_PointCloud_num_points_0=t.asm.Q).apply(null,arguments)},ye=t._emscripten_bind_PointCloud___destroy___0=function(){return(ye=t._emscripten_bind_PointCloud___destroy___0=t.asm.R).apply(null,arguments)},de=t._emscripten_bind_Mesh_Mesh_0=function(){return(de=t._emscripten_bind_Mesh_Mesh_0=t.asm.S).apply(null,arguments)},fe=t._emscripten_bind_Mesh_num_faces_0=function(){return(fe=t._emscripten_bind_Mesh_num_faces_0=t.asm.T).apply(null,arguments)},me=t._emscripten_bind_Mesh_num_attributes_0=function(){return(me=t._emscripten_bind_Mesh_num_attributes_0=t.asm.U).apply(null,arguments)},be=t._emscripten_bind_Mesh_num_points_0=function(){return(be=t._emscripten_bind_Mesh_num_points_0=t.asm.V).apply(null,arguments)},he=t._emscripten_bind_Mesh___destroy___0=function(){return(he=t._emscripten_bind_Mesh___destroy___0=t.asm.W).apply(null,arguments)},Ae=t._emscripten_bind_Metadata_Metadata_0=function(){return(Ae=t._emscripten_bind_Metadata_Metadata_0=t.asm.X).apply(null,arguments)},Ee=t._emscripten_bind_Metadata___destroy___0=function(){return(Ee=t._emscripten_bind_Metadata___destroy___0=t.asm.Y).apply(null,arguments)},Ie=t._emscripten_bind_Status_code_0=function(){return(Ie=t._emscripten_bind_Status_code_0=t.asm.Z).apply(null,arguments)},Te=t._emscripten_bind_Status_ok_0=function(){return(Te=t._emscripten_bind_Status_ok_0=t.asm._).apply(null,arguments)},ge=t._emscripten_bind_Status_error_msg_0=function(){return(ge=t._emscripten_bind_Status_error_msg_0=t.asm.$).apply(null,arguments)},je=t._emscripten_bind_Status___destroy___0=function(){return(je=t._emscripten_bind_Status___destroy___0=t.asm.aa).apply(null,arguments)},ve=t._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(ve=t._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=t.asm.ba).apply(null,arguments)},De=t._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(De=t._emscripten_bind_DracoFloat32Array_GetValue_1=t.asm.ca).apply(null,arguments)},Me=t._emscripten_bind_DracoFloat32Array_size_0=function(){return(Me=t._emscripten_bind_DracoFloat32Array_size_0=t.asm.da).apply(null,arguments)},Pe=t._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Pe=t._emscripten_bind_DracoFloat32Array___destroy___0=t.asm.ea).apply(null,arguments)},Se=t._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Se=t._emscripten_bind_DracoInt8Array_DracoInt8Array_0=t.asm.fa).apply(null,arguments)},Oe=t._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Oe=t._emscripten_bind_DracoInt8Array_GetValue_1=t.asm.ga).apply(null,arguments)},Ge=t._emscripten_bind_DracoInt8Array_size_0=function(){return(Ge=t._emscripten_bind_DracoInt8Array_size_0=t.asm.ha).apply(null,arguments)},Re=t._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Re=t._emscripten_bind_DracoInt8Array___destroy___0=t.asm.ia).apply(null,arguments)},Ne=t._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Ne=t._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=t.asm.ja).apply(null,arguments)},Fe=t._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Fe=t._emscripten_bind_DracoUInt8Array_GetValue_1=t.asm.ka).apply(null,arguments)},Ue=t._emscripten_bind_DracoUInt8Array_size_0=function(){return(Ue=t._emscripten_bind_DracoUInt8Array_size_0=t.asm.la).apply(null,arguments)},Ce=t._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Ce=t._emscripten_bind_DracoUInt8Array___destroy___0=t.asm.ma).apply(null,arguments)},Le=t._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Le=t._emscripten_bind_DracoInt16Array_DracoInt16Array_0=t.asm.na).apply(null,arguments)},we=t._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(we=t._emscripten_bind_DracoInt16Array_GetValue_1=t.asm.oa).apply(null,arguments)},Be=t._emscripten_bind_DracoInt16Array_size_0=function(){return(Be=t._emscripten_bind_DracoInt16Array_size_0=t.asm.pa).apply(null,arguments)},ze=t._emscripten_bind_DracoInt16Array___destroy___0=function(){return(ze=t._emscripten_bind_DracoInt16Array___destroy___0=t.asm.qa).apply(null,arguments)},xe=t._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(xe=t._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=t.asm.ra).apply(null,arguments)},We=t._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(We=t._emscripten_bind_DracoUInt16Array_GetValue_1=t.asm.sa).apply(null,arguments)},Ve=t._emscripten_bind_DracoUInt16Array_size_0=function(){return(Ve=t._emscripten_bind_DracoUInt16Array_size_0=t.asm.ta).apply(null,arguments)},Qe=t._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(Qe=t._emscripten_bind_DracoUInt16Array___destroy___0=t.asm.ua).apply(null,arguments)},He=t._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(He=t._emscripten_bind_DracoInt32Array_DracoInt32Array_0=t.asm.va).apply(null,arguments)},Ye=t._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(Ye=t._emscripten_bind_DracoInt32Array_GetValue_1=t.asm.wa).apply(null,arguments)},ke=t._emscripten_bind_DracoInt32Array_size_0=function(){return(ke=t._emscripten_bind_DracoInt32Array_size_0=t.asm.xa).apply(null,arguments)},qe=t._emscripten_bind_DracoInt32Array___destroy___0=function(){return(qe=t._emscripten_bind_DracoInt32Array___destroy___0=t.asm.ya).apply(null,arguments)},Xe=t._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Xe=t._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=t.asm.za).apply(null,arguments)},$e=t._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return($e=t._emscripten_bind_DracoUInt32Array_GetValue_1=t.asm.Aa).apply(null,arguments)},Ke=t._emscripten_bind_DracoUInt32Array_size_0=function(){return(Ke=t._emscripten_bind_DracoUInt32Array_size_0=t.asm.Ba).apply(null,arguments)},Je=t._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(Je=t._emscripten_bind_DracoUInt32Array___destroy___0=t.asm.Ca).apply(null,arguments)},Ze=t._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Ze=t._emscripten_bind_MetadataQuerier_MetadataQuerier_0=t.asm.Da).apply(null,arguments)},tr=t._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(tr=t._emscripten_bind_MetadataQuerier_HasEntry_2=t.asm.Ea).apply(null,arguments)},er=t._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(er=t._emscripten_bind_MetadataQuerier_GetIntEntry_2=t.asm.Fa).apply(null,arguments)},rr=t._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(rr=t._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=t.asm.Ga).apply(null,arguments)},nr=t._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(nr=t._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=t.asm.Ha).apply(null,arguments)},or=t._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(or=t._emscripten_bind_MetadataQuerier_GetStringEntry_2=t.asm.Ia).apply(null,arguments)},_r=t._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(_r=t._emscripten_bind_MetadataQuerier_NumEntries_1=t.asm.Ja).apply(null,arguments)},ir=t._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(ir=t._emscripten_bind_MetadataQuerier_GetEntryName_2=t.asm.Ka).apply(null,arguments)},pr=t._emscripten_bind_MetadataQuerier___destroy___0=function(){return(pr=t._emscripten_bind_MetadataQuerier___destroy___0=t.asm.La).apply(null,arguments)},ar=t._emscripten_bind_Decoder_Decoder_0=function(){return(ar=t._emscripten_bind_Decoder_Decoder_0=t.asm.Ma).apply(null,arguments)},ur=t._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(ur=t._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=t.asm.Na).apply(null,arguments)},sr=t._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(sr=t._emscripten_bind_Decoder_DecodeArrayToMesh_3=t.asm.Oa).apply(null,arguments)},cr=t._emscripten_bind_Decoder_GetAttributeId_2=function(){return(cr=t._emscripten_bind_Decoder_GetAttributeId_2=t.asm.Pa).apply(null,arguments)},lr=t._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(lr=t._emscripten_bind_Decoder_GetAttributeIdByName_2=t.asm.Qa).apply(null,arguments)},yr=t._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(yr=t._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=t.asm.Ra).apply(null,arguments)},Et=t._emscripten_bind_Decoder_GetAttribute_2=function(){return(Et=t._emscripten_bind_Decoder_GetAttribute_2=t.asm.Sa).apply(null,arguments)},T=t._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(T=t._emscripten_bind_Decoder_GetAttributeByUniqueId_2=t.asm.Ta).apply(null,arguments)},r=t._emscripten_bind_Decoder_GetMetadata_1=function(){return(r=t._emscripten_bind_Decoder_GetMetadata_1=t.asm.Ua).apply(null,arguments)},o=t._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(o=t._emscripten_bind_Decoder_GetAttributeMetadata_2=t.asm.Va).apply(null,arguments)},i=t._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(i=t._emscripten_bind_Decoder_GetFaceFromMesh_3=t.asm.Wa).apply(null,arguments)},u=t._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(u=t._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=t.asm.Xa).apply(null,arguments)},d=t._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(d=t._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=t.asm.Ya).apply(null,arguments)},I=t._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(I=t._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=t.asm.Za).apply(null,arguments)},dr=t._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(dr=t._emscripten_bind_Decoder_GetAttributeFloat_3=t.asm._a).apply(null,arguments)},Mr=t._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Mr=t._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=t.asm.$a).apply(null,arguments)},Pr=t._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Pr=t._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=t.asm.ab).apply(null,arguments)},Sr=t._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Sr=t._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=t.asm.bb).apply(null,arguments)},Or=t._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Or=t._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=t.asm.cb).apply(null,arguments)},Gr=t._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Gr=t._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=t.asm.db).apply(null,arguments)},Rr=t._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(Rr=t._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=t.asm.eb).apply(null,arguments)},Nr=t._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Nr=t._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=t.asm.fb).apply(null,arguments)},Fr=t._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Fr=t._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=t.asm.gb).apply(null,arguments)},Ur=t._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(Ur=t._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=t.asm.hb).apply(null,arguments)},Cr=t._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Cr=t._emscripten_bind_Decoder_SkipAttributeTransform_1=t.asm.ib).apply(null,arguments)},Lr=t._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Lr=t._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=t.asm.jb).apply(null,arguments)},wr=t._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(wr=t._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=t.asm.kb).apply(null,arguments)},Br=t._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Br=t._emscripten_bind_Decoder_DecodeBufferToMesh_2=t.asm.lb).apply(null,arguments)},zr=t._emscripten_bind_Decoder___destroy___0=function(){return(zr=t._emscripten_bind_Decoder___destroy___0=t.asm.mb).apply(null,arguments)},xr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(xr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=t.asm.nb).apply(null,arguments)},Wr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Wr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=t.asm.ob).apply(null,arguments)},Vr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Vr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=t.asm.pb).apply(null,arguments)},Qr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(Qr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=t.asm.qb).apply(null,arguments)},Hr=t._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Hr=t._emscripten_enum_draco_GeometryAttribute_Type_INVALID=t.asm.rb).apply(null,arguments)},Yr=t._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Yr=t._emscripten_enum_draco_GeometryAttribute_Type_POSITION=t.asm.sb).apply(null,arguments)},kr=t._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(kr=t._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=t.asm.tb).apply(null,arguments)},qr=t._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(qr=t._emscripten_enum_draco_GeometryAttribute_Type_COLOR=t.asm.ub).apply(null,arguments)},Xr=t._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Xr=t._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=t.asm.vb).apply(null,arguments)},$r=t._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return($r=t._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=t.asm.wb).apply(null,arguments)},Kr=t._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(Kr=t._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=t.asm.xb).apply(null,arguments)},Jr=t._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(Jr=t._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=t.asm.yb).apply(null,arguments)},Zr=t._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(Zr=t._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=t.asm.zb).apply(null,arguments)},tn=t._emscripten_enum_draco_DataType_DT_INVALID=function(){return(tn=t._emscripten_enum_draco_DataType_DT_INVALID=t.asm.Ab).apply(null,arguments)},en=t._emscripten_enum_draco_DataType_DT_INT8=function(){return(en=t._emscripten_enum_draco_DataType_DT_INT8=t.asm.Bb).apply(null,arguments)},rn=t._emscripten_enum_draco_DataType_DT_UINT8=function(){return(rn=t._emscripten_enum_draco_DataType_DT_UINT8=t.asm.Cb).apply(null,arguments)},nn=t._emscripten_enum_draco_DataType_DT_INT16=function(){return(nn=t._emscripten_enum_draco_DataType_DT_INT16=t.asm.Db).apply(null,arguments)},on=t._emscripten_enum_draco_DataType_DT_UINT16=function(){return(on=t._emscripten_enum_draco_DataType_DT_UINT16=t.asm.Eb).apply(null,arguments)},_n=t._emscripten_enum_draco_DataType_DT_INT32=function(){return(_n=t._emscripten_enum_draco_DataType_DT_INT32=t.asm.Fb).apply(null,arguments)},pn=t._emscripten_enum_draco_DataType_DT_UINT32=function(){return(pn=t._emscripten_enum_draco_DataType_DT_UINT32=t.asm.Gb).apply(null,arguments)},an=t._emscripten_enum_draco_DataType_DT_INT64=function(){return(an=t._emscripten_enum_draco_DataType_DT_INT64=t.asm.Hb).apply(null,arguments)},un=t._emscripten_enum_draco_DataType_DT_UINT64=function(){return(un=t._emscripten_enum_draco_DataType_DT_UINT64=t.asm.Ib).apply(null,arguments)},sn=t._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(sn=t._emscripten_enum_draco_DataType_DT_FLOAT32=t.asm.Jb).apply(null,arguments)},cn=t._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(cn=t._emscripten_enum_draco_DataType_DT_FLOAT64=t.asm.Kb).apply(null,arguments)},ln=t._emscripten_enum_draco_DataType_DT_BOOL=function(){return(ln=t._emscripten_enum_draco_DataType_DT_BOOL=t.asm.Lb).apply(null,arguments)},yn=t._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(yn=t._emscripten_enum_draco_DataType_DT_TYPES_COUNT=t.asm.Mb).apply(null,arguments)},dn=t._emscripten_enum_draco_StatusCode_OK=function(){return(dn=t._emscripten_enum_draco_StatusCode_OK=t.asm.Nb).apply(null,arguments)},fn=t._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(fn=t._emscripten_enum_draco_StatusCode_DRACO_ERROR=t.asm.Ob).apply(null,arguments)},mn=t._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(mn=t._emscripten_enum_draco_StatusCode_IO_ERROR=t.asm.Pb).apply(null,arguments)},bn=t._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(bn=t._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=t.asm.Qb).apply(null,arguments)},hn=t._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(hn=t._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=t.asm.Rb).apply(null,arguments)},An=t._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(An=t._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=t.asm.Sb).apply(null,arguments)};t._malloc=function(){return(t._malloc=t.asm.Tb).apply(null,arguments)},t._free=function(){return(t._free=t.asm.Ub).apply(null,arguments)};var En=function(){return(En=t.asm.Vb).apply(null,arguments)};t.___start_em_js=15856,t.___stop_em_js=15954;var hr;if(ft=function e(){hr||x(),hr||(ft=e)},t.preInit)for(typeof t.preInit=="function"&&(t.preInit=[t.preInit]);0<t.preInit.length;)t.preInit.pop()();x(),j.prototype=Object.create(j.prototype),j.prototype.constructor=j,j.prototype.__class__=j,j.__cache__={},t.WrapperObject=j,t.getCache=O,t.wrapPointer=W,t.castObject=function(e,_){return W(e.ptr,_)},t.NULL=W(0),t.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete O(e.__class__)[e.ptr]},t.compare=function(e,_){return e.ptr===_.ptr},t.getPointer=function(e){return e.ptr},t.getClass=function(e){return e.__class__};var C={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(C.needed){for(var e=0;e<C.temps.length;e++)t._free(C.temps[e]);C.temps.length=0,t._free(C.buffer),C.buffer=0,C.size+=C.needed,C.needed=0}C.buffer||(C.size+=128,C.buffer=t._malloc(C.size),C.buffer||s(void 0)),C.pos=0},alloc:function(e,_){return C.buffer||s(void 0),e=e.length*_.BYTES_PER_ELEMENT,e=e+7&-8,C.pos+e>=C.size?(0<e||s(void 0),C.needed+=e,_=t._malloc(e),C.temps.push(_)):(_=C.buffer+C.pos,C.pos+=e),_},copy:function(e,_,p){switch(p>>>=0,_.BYTES_PER_ELEMENT){case 2:p>>>=1;break;case 4:p>>>=2;break;case 8:p>>>=3}for(var h=0;h<e.length;h++)_[p+h]=e[h]}};return et.prototype=Object.create(j.prototype),et.prototype.constructor=et,et.prototype.__class__=et,et.__cache__={},t.VoidPtr=et,et.prototype.__destroy__=et.prototype.__destroy__=function(){Ft(this.ptr)},Y.prototype=Object.create(j.prototype),Y.prototype.constructor=Y,Y.prototype.__class__=Y,Y.__cache__={},t.DecoderBuffer=Y,Y.prototype.Init=Y.prototype.Init=function(e,_){var p=this.ptr;C.prepare(),typeof e=="object"&&(e=it(e)),_&&typeof _=="object"&&(_=_.ptr),Ct(p,e,_)},Y.prototype.__destroy__=Y.prototype.__destroy__=function(){Lt(this.ptr)},H.prototype=Object.create(j.prototype),H.prototype.constructor=H,H.prototype.__class__=H,H.__cache__={},t.AttributeTransformData=H,H.prototype.transform_type=H.prototype.transform_type=function(){return Bt(this.ptr)},H.prototype.__destroy__=H.prototype.__destroy__=function(){zt(this.ptr)},F.prototype=Object.create(j.prototype),F.prototype.constructor=F,F.prototype.__class__=F,F.__cache__={},t.GeometryAttribute=F,F.prototype.__destroy__=F.prototype.__destroy__=function(){Wt(this.ptr)},P.prototype=Object.create(j.prototype),P.prototype.constructor=P,P.prototype.__class__=P,P.__cache__={},t.PointAttribute=P,P.prototype.size=P.prototype.size=function(){return Qt(this.ptr)},P.prototype.GetAttributeTransformData=P.prototype.GetAttributeTransformData=function(){return W(Ht(this.ptr),H)},P.prototype.attribute_type=P.prototype.attribute_type=function(){return Yt(this.ptr)},P.prototype.data_type=P.prototype.data_type=function(){return kt(this.ptr)},P.prototype.num_components=P.prototype.num_components=function(){return qt(this.ptr)},P.prototype.normalized=P.prototype.normalized=function(){return!!Xt(this.ptr)},P.prototype.byte_stride=P.prototype.byte_stride=function(){return $t(this.ptr)},P.prototype.byte_offset=P.prototype.byte_offset=function(){return Kt(this.ptr)},P.prototype.unique_id=P.prototype.unique_id=function(){return Jt(this.ptr)},P.prototype.__destroy__=P.prototype.__destroy__=function(){Zt(this.ptr)},U.prototype=Object.create(j.prototype),U.prototype.constructor=U,U.prototype.__class__=U,U.__cache__={},t.AttributeQuantizationTransform=U,U.prototype.InitFromAttribute=U.prototype.InitFromAttribute=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),!!ee(_,e)},U.prototype.quantization_bits=U.prototype.quantization_bits=function(){return re(this.ptr)},U.prototype.min_value=U.prototype.min_value=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),ne(_,e)},U.prototype.range=U.prototype.range=function(){return oe(this.ptr)},U.prototype.__destroy__=U.prototype.__destroy__=function(){_e(this.ptr)},V.prototype=Object.create(j.prototype),V.prototype.constructor=V,V.prototype.__class__=V,V.__cache__={},t.AttributeOctahedronTransform=V,V.prototype.InitFromAttribute=V.prototype.InitFromAttribute=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),!!pe(_,e)},V.prototype.quantization_bits=V.prototype.quantization_bits=function(){return ae(this.ptr)},V.prototype.__destroy__=V.prototype.__destroy__=function(){ue(this.ptr)},B.prototype=Object.create(j.prototype),B.prototype.constructor=B,B.prototype.__class__=B,B.__cache__={},t.PointCloud=B,B.prototype.num_attributes=B.prototype.num_attributes=function(){return ce(this.ptr)},B.prototype.num_points=B.prototype.num_points=function(){return le(this.ptr)},B.prototype.__destroy__=B.prototype.__destroy__=function(){ye(this.ptr)},w.prototype=Object.create(j.prototype),w.prototype.constructor=w,w.prototype.__class__=w,w.__cache__={},t.Mesh=w,w.prototype.num_faces=w.prototype.num_faces=function(){return fe(this.ptr)},w.prototype.num_attributes=w.prototype.num_attributes=function(){return me(this.ptr)},w.prototype.num_points=w.prototype.num_points=function(){return be(this.ptr)},w.prototype.__destroy__=w.prototype.__destroy__=function(){he(this.ptr)},G.prototype=Object.create(j.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},t.Metadata=G,G.prototype.__destroy__=G.prototype.__destroy__=function(){Ee(this.ptr)},g.prototype=Object.create(j.prototype),g.prototype.constructor=g,g.prototype.__class__=g,g.__cache__={},t.Status=g,g.prototype.code=g.prototype.code=function(){return Ie(this.ptr)},g.prototype.ok=g.prototype.ok=function(){return!!Te(this.ptr)},g.prototype.error_msg=g.prototype.error_msg=function(){return c(ge(this.ptr))},g.prototype.__destroy__=g.prototype.__destroy__=function(){je(this.ptr)},R.prototype=Object.create(j.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},t.DracoFloat32Array=R,R.prototype.GetValue=R.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),De(_,e)},R.prototype.size=R.prototype.size=function(){return Me(this.ptr)},R.prototype.__destroy__=R.prototype.__destroy__=function(){Pe(this.ptr)},N.prototype=Object.create(j.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},t.DracoInt8Array=N,N.prototype.GetValue=N.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Oe(_,e)},N.prototype.size=N.prototype.size=function(){return Ge(this.ptr)},N.prototype.__destroy__=N.prototype.__destroy__=function(){Re(this.ptr)},n.prototype=Object.create(j.prototype),n.prototype.constructor=n,n.prototype.__class__=n,n.__cache__={},t.DracoUInt8Array=n,n.prototype.GetValue=n.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Fe(_,e)},n.prototype.size=n.prototype.size=function(){return Ue(this.ptr)},n.prototype.__destroy__=n.prototype.__destroy__=function(){Ce(this.ptr)},X.prototype=Object.create(j.prototype),X.prototype.constructor=X,X.prototype.__class__=X,X.__cache__={},t.DracoInt16Array=X,X.prototype.GetValue=X.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),we(_,e)},X.prototype.size=X.prototype.size=function(){return Be(this.ptr)},X.prototype.__destroy__=X.prototype.__destroy__=function(){ze(this.ptr)},q.prototype=Object.create(j.prototype),q.prototype.constructor=q,q.prototype.__class__=q,q.__cache__={},t.DracoUInt16Array=q,q.prototype.GetValue=q.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),We(_,e)},q.prototype.size=q.prototype.size=function(){return Ve(this.ptr)},q.prototype.__destroy__=q.prototype.__destroy__=function(){Qe(this.ptr)},$.prototype=Object.create(j.prototype),$.prototype.constructor=$,$.prototype.__class__=$,$.__cache__={},t.DracoInt32Array=$,$.prototype.GetValue=$.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Ye(_,e)},$.prototype.size=$.prototype.size=function(){return ke(this.ptr)},$.prototype.__destroy__=$.prototype.__destroy__=function(){qe(this.ptr)},K.prototype=Object.create(j.prototype),K.prototype.constructor=K,K.prototype.__class__=K,K.__cache__={},t.DracoUInt32Array=K,K.prototype.GetValue=K.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),$e(_,e)},K.prototype.size=K.prototype.size=function(){return Ke(this.ptr)},K.prototype.__destroy__=K.prototype.__destroy__=function(){Je(this.ptr)},z.prototype=Object.create(j.prototype),z.prototype.constructor=z,z.prototype.__class__=z,z.__cache__={},t.MetadataQuerier=z,z.prototype.HasEntry=z.prototype.HasEntry=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),!!tr(p,e,_)},z.prototype.GetIntEntry=z.prototype.GetIntEntry=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),er(p,e,_)},z.prototype.GetIntEntryArray=z.prototype.GetIntEntryArray=function(e,_,p){var h=this.ptr;C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),p&&typeof p=="object"&&(p=p.ptr),rr(h,e,_,p)},z.prototype.GetDoubleEntry=z.prototype.GetDoubleEntry=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),nr(p,e,_)},z.prototype.GetStringEntry=z.prototype.GetStringEntry=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),c(or(p,e,_))},z.prototype.NumEntries=z.prototype.NumEntries=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_r(_,e)},z.prototype.GetEntryName=z.prototype.GetEntryName=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),c(ir(p,e,_))},z.prototype.__destroy__=z.prototype.__destroy__=function(){pr(this.ptr)},E.prototype=Object.create(j.prototype),E.prototype.constructor=E,E.prototype.__class__=E,E.__cache__={},t.Decoder=E,E.prototype.DecodeArrayToPointCloud=E.prototype.DecodeArrayToPointCloud=function(e,_,p){var h=this.ptr;return C.prepare(),typeof e=="object"&&(e=it(e)),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),W(ur(h,e,_,p),g)},E.prototype.DecodeArrayToMesh=E.prototype.DecodeArrayToMesh=function(e,_,p){var h=this.ptr;return C.prepare(),typeof e=="object"&&(e=it(e)),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),W(sr(h,e,_,p),g)},E.prototype.GetAttributeId=E.prototype.GetAttributeId=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),cr(p,e,_)},E.prototype.GetAttributeIdByName=E.prototype.GetAttributeIdByName=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),lr(p,e,_)},E.prototype.GetAttributeIdByMetadataEntry=E.prototype.GetAttributeIdByMetadataEntry=function(e,_,p){var h=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),p=p&&typeof p=="object"?p.ptr:k(p),yr(h,e,_,p)},E.prototype.GetAttribute=E.prototype.GetAttribute=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(Et(p,e,_),P)},E.prototype.GetAttributeByUniqueId=E.prototype.GetAttributeByUniqueId=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(T(p,e,_),P)},E.prototype.GetMetadata=E.prototype.GetMetadata=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),W(r(_,e),G)},E.prototype.GetAttributeMetadata=E.prototype.GetAttributeMetadata=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(o(p,e,_),G)},E.prototype.GetFaceFromMesh=E.prototype.GetFaceFromMesh=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!i(h,e,_,p)},E.prototype.GetTriangleStripsFromMesh=E.prototype.GetTriangleStripsFromMesh=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),u(p,e,_)},E.prototype.GetTrianglesUInt16Array=E.prototype.GetTrianglesUInt16Array=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!d(h,e,_,p)},E.prototype.GetTrianglesUInt32Array=E.prototype.GetTrianglesUInt32Array=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!I(h,e,_,p)},E.prototype.GetAttributeFloat=E.prototype.GetAttributeFloat=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!dr(h,e,_,p)},E.prototype.GetAttributeFloatForAllPoints=E.prototype.GetAttributeFloatForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Mr(h,e,_,p)},E.prototype.GetAttributeIntForAllPoints=E.prototype.GetAttributeIntForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Pr(h,e,_,p)},E.prototype.GetAttributeInt8ForAllPoints=E.prototype.GetAttributeInt8ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Sr(h,e,_,p)},E.prototype.GetAttributeUInt8ForAllPoints=E.prototype.GetAttributeUInt8ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Or(h,e,_,p)},E.prototype.GetAttributeInt16ForAllPoints=E.prototype.GetAttributeInt16ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Gr(h,e,_,p)},E.prototype.GetAttributeUInt16ForAllPoints=E.prototype.GetAttributeUInt16ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Rr(h,e,_,p)},E.prototype.GetAttributeInt32ForAllPoints=E.prototype.GetAttributeInt32ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Nr(h,e,_,p)},E.prototype.GetAttributeUInt32ForAllPoints=E.prototype.GetAttributeUInt32ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Fr(h,e,_,p)},E.prototype.GetAttributeDataArrayForAllPoints=E.prototype.GetAttributeDataArrayForAllPoints=function(e,_,p,h,D){var L=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),h&&typeof h=="object"&&(h=h.ptr),D&&typeof D=="object"&&(D=D.ptr),!!Ur(L,e,_,p,h,D)},E.prototype.SkipAttributeTransform=E.prototype.SkipAttributeTransform=function(e){var _=this.ptr;e&&typeof e=="object"&&(e=e.ptr),Cr(_,e)},E.prototype.GetEncodedGeometryType_Deprecated=E.prototype.GetEncodedGeometryType_Deprecated=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Lr(_,e)},E.prototype.DecodeBufferToPointCloud=E.prototype.DecodeBufferToPointCloud=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(wr(p,e,_),g)},E.prototype.DecodeBufferToMesh=E.prototype.DecodeBufferToMesh=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(Br(p,e,_),g)},E.prototype.__destroy__=E.prototype.__destroy__=function(){zr(this.ptr)},(function(){function e(){t.ATTRIBUTE_INVALID_TRANSFORM=xr(),t.ATTRIBUTE_NO_TRANSFORM=Wr(),t.ATTRIBUTE_QUANTIZATION_TRANSFORM=Vr(),t.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Qr(),t.INVALID=Hr(),t.POSITION=Yr(),t.NORMAL=kr(),t.COLOR=qr(),t.TEX_COORD=Xr(),t.GENERIC=$r(),t.INVALID_GEOMETRY_TYPE=Kr(),t.POINT_CLOUD=Jr(),t.TRIANGULAR_MESH=Zr(),t.DT_INVALID=tn(),t.DT_INT8=en(),t.DT_UINT8=rn(),t.DT_INT16=nn(),t.DT_UINT16=on(),t.DT_INT32=_n(),t.DT_UINT32=pn(),t.DT_INT64=an(),t.DT_UINT64=un(),t.DT_FLOAT32=sn(),t.DT_FLOAT64=cn(),t.DT_BOOL=ln(),t.DT_TYPES_COUNT=yn(),t.OK=dn(),t.DRACO_ERROR=fn(),t.IO_ERROR=mn(),t.INVALID_PARAMETER=bn(),t.UNSUPPORTED_VERSION=hn(),t.UNKNOWN_VERSION=An()}Nt?e():Mt.unshift(e)})(),typeof t.onModuleParsed=="function"&&t.onModuleParsed(),t.Decoder.prototype.GetEncodedGeometryType=function(e){if(e.__class__&&e.__class__===t.DecoderBuffer)return t.Decoder.prototype.GetEncodedGeometryType_Deprecated(e);if(8>e.byteLength)return t.INVALID_GEOMETRY_TYPE;switch(e[7]){case 0:return t.POINT_CLOUD;case 1:return t.TRIANGULAR_MESH;default:return t.INVALID_GEOMETRY_TYPE}},f.ready}})();ut.exports=st})(Er)),Er.exports}var Dr,jn;function Rn(){if(jn)return Dr;jn=1;var ut=Sn(),Tt=Gn();return Dr={createEncoderModule:ut,createDecoderModule:Tt},Dr}var vn=Rn();const Nn=Dn(vn),Cn=Mn({__proto__:null,default:Nn},[vn]);export{Cn as d};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-Cb6o_Td_.js","assets/extends-CF3RwP-h.js","assets/index-nmcBqr7Y.js","assets/_commonjsHelpers-D6-XlEtG.js","assets/index-D_NuPfjr.js","assets/client-DNXj_opT.js","assets/index-CinJrH5C.js","assets/three.module-IFn-4i31.js","assets/events-156d8d12.esm-C734MYnx.js","assets/jsx-runtime-DPjLkJKQ.js","assets/index-bQE2NA0D.js","assets/Gltf-7cVbZUzT.js","assets/BufferGeometryUtils-CAbuTPOA.js","assets/OrthographicCamera-CSDDsvu7.js","assets/Fbo-DrK7CWlB.js","assets/PerspectiveCamera-DzD_NfVh.js","assets/OrbitControls-CzKVCORl.js","assets/index-Ckxb31Yz.js","assets/index-CtzuWnCS.js","assets/index-FUuS4qwW.js","assets/index-B4bmKkgY.css","assets/RoundedBox-B_cZ0NFy.js"])))=>i.map(i=>d[i]);
2
+ import{_ as s}from"./index-Ckxb31Yz.js";async function i(t){if(t.length===0)return;const{useGLTF:r,useTexture:a}=await s(async()=>{const{useGLTF:e,useTexture:o}=await import("./index-Cb6o_Td_.js");return{useGLTF:e,useTexture:o}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]));for(const e of t)r.clear(e),a.clear(e)}export{i as e};
@@ -1 +1 @@
1
- import{dX as i}from"./index-GIL7oGEO.js";import{createAudioSystemAdapter as m,releaseAudioMeters as n}from"./first-party-audio-system-DxnGJOER.js";import{setupAudio as p}from"./setup-audio-S8GQF91f.js";import{aK as s}from"./three.module-D396a9Mn.js";import"./index-nmcBqr7Y.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./bus-mixer-CGfWDP3C.js";import"./pose-guard-6Osb2cFu.js";function d(o=new s){const t=p(o),r=m(t);let e=!1;return i(r),()=>{e||(e=!0,n(r),i(null),t.listener.gain.disconnect(),t.mixer.disconnect(),o.remove(t.listener))}}const C="workspace.service";function K(){return d()}export{C as point,K as start};
1
+ import{eM as i}from"./index-Ckxb31Yz.js";import{createAudioSystemAdapter as m,releaseAudioMeters as n}from"./first-party-audio-system-DxnGJOER.js";import{setupAudio as p}from"./setup-audio-BJ18gvXZ.js";import{aH as s}from"./three.module-IFn-4i31.js";import"./index-nmcBqr7Y.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./bus-mixer-CGfWDP3C.js";import"./pose-guard-Bb3gZOzk.js";function d(o=new s){const t=p(o),r=m(t);let e=!1;return i(r),()=>{e||(e=!0,n(r),i(null),t.listener.gain.disconnect(),t.mixer.disconnect(),o.remove(t.listener))}}const C="workspace.service";function H(){return d()}export{C as point,H as start};
@@ -0,0 +1 @@
1
+ import{gk as z,X as y,ak as I,gl as P,gm as N,f6 as H,gn as _,co as h,b0 as C,go as b,gp as F,gq as W,gr as $,aG as B,gs as A,gt as D,gu as R,cs as x}from"./index-Ckxb31Yz.js";const T={transform:!1,inspectorFields:!1,persist:!1};class G{capabilities=T;provenance={source:"boundary",label:"read-only",detail:"Declared world without a live editing surface in this viewport — disclosed, not simulated; rows are read-only."};world;reason;store;pickable;constructor(e,r,n,i){this.store=e,this.world=r,this.reason=n??null,i&&(this.pickable={pick:i})}get label(){return this.world.entryOrScenePath?.split("/").pop()??this.world.id}get node(){return{id:this.world.id,label:this.label,secondaryLabel:this.reason?"Unavailable":"Read-only",role:"boundary",kind:this.world.kind,parentId:null,childIds:[]}}hierarchy={roots:()=>[this.node],node:e=>e===this.world.id?this.node:null};selection={get:()=>[...this.store.selectedEntityIds],set:e=>this.store.selectMultiple(e)};inspector={properties:e=>{if(e!==this.world.id)return[];const r=[{path:"kind",label:"Kind",type:"string",readonly:!0}];return this.world.adapter!==void 0&&r.push({path:"adapter",label:"Adapter",type:"string",readonly:!0}),this.world.entryOrScenePath!==void 0&&r.push({path:"path",label:"Entry / Scene",type:"string",readonly:!0}),r.push({path:"zOrder",label:"Z Order",type:"number",readonly:!0},{path:"pausable",label:"Pausable",type:"boolean",readonly:!0}),this.reason&&r.push({path:"reason",label:"Reason",type:"string",readonly:!0}),r},get:(e,r)=>{if(e===this.world.id)switch(r){case"kind":return this.world.kind;case"adapter":return this.world.adapter;case"path":return this.world.entryOrScenePath;case"zOrder":return this.world.zOrder;case"pausable":return this.world.pausable;case"reason":return this.reason??void 0;default:return}},set:(e,r,n)=>{}}}const c=new WeakMap,q=new Set;function E(){for(const t of q)t()}function V(t){const e=(c.get(t)?.generation??0)+1;return c.set(t,{generation:e,settled:!1}),E(),()=>{const r=c.get(t);!r||r.generation!==e||r.settled||(c.set(t,{generation:e,settled:!0}),E())}}const J="(invalid manifest)";let m=!1,w=!1,v=!1,l=null;function p(){if(w||v||!m||!l)return;w=!0;const t=l;queueMicrotask(()=>{if(w=!1,l!==t){p();return}m=!1,v=!0,Promise.resolve().then(t).catch(e=>{y.error(`Edit-mode rebuild failed: ${e instanceof Error?e.message:String(e)}`,"authoring")}).finally(()=>{v=!1,p()})})}function te(t){return l=t,p(),()=>{l===t&&(l=null)}}function re(){m=!0,p()}const L=new Set(["three","canvas","dom"]);function d(t){return typeof t=="string"?t:void 0}function K(t){const e=t.world;if(!e||typeof e!="object")return;const r=d(e.entry);if(r)return{entry:r,export:d(e.export)}}function U(t){if(t!=null){if(typeof t=="string")return t;if(typeof t=="object"){const e=t;if(typeof e.module=="string")return`module:${e.module}`;const r=e.ingest;if(r&&typeof r=="object")return"ingest"}}}function Z(t){if(!t||typeof t!="object")return null;const e=t.roots;return e===void 0||!Array.isArray(e)?null:{roots:e.map((n,i)=>{const s=n&&typeof n=="object"?n:{},a=s.zOrder,o=s.pausable;return{id:d(s.id)??`(world ${i})`,surface:(typeof s.adapter=="string"?d(s.adapter):void 0)??d(s.adapter&&typeof s.adapter=="object"?s.adapter.surface:void 0)??"(missing adapter surface)",adapter:U(s.adapter),scene:d(s.scene),entry:d(s.entry),zOrder:typeof a=="number"?a:void 0,pausable:typeof o=="boolean"?o:void 0,dev:s.dev===!0,world:K(s)}})}}function X(t){return L.has(t.surface)?!t.scene&&!t.entry?`World "${t.id}" declares neither \`scene\` nor \`entry\` — nothing to mount.`:null:`Unknown world surface "${t.surface}" — expected one of: three, canvas, react.`}function f(t,e){const r=t.roots;if(Array.isArray(r))return r.find(n=>!!n&&typeof n=="object"&&n.id===e)}function k(t,e){return f(t,e)}class Q{raw;synthesizedValue;store;fileHistory;unsubscribeHistory;constructor(e,r,n){this.raw=e,this.synthesizedValue=r,this.store=n;const i=n.projectHistory;this.fileHistory=i?C(i,b(),"project-manifest"):null,this.unsubscribeHistory=this.fileHistory?this.fileHistory.subscribeAll(s=>{s==="vgai.project.json"&&b().readBytes(s).then(a=>JSON.parse(new TextDecoder().decode(a))).then(a=>{for(const o of Object.keys(this.raw))delete this.raw[o];Object.assign(this.raw,a),this.store.notifyIngestEdit()}).catch(()=>{})}):null}getGameName(){const e=this.raw.name;return typeof e=="string"?e:""}get synthesized(){return this.synthesizedValue}setGameName(e){this.raw.name=e,this.persist("Rename Game")}getRootContentSource(e){const r=f(this.raw,e);if(!r)return;const n=r.scene;if(typeof n=="string")return`Scene · ${n}`;const i=r.entry;return typeof i=="string"?`Entry · ${i}`:"Adapter-owned runtime content"}getRootZOrder(e){const r=f(this.raw,e)?.zOrder;return typeof r=="number"?r:0}setRootZOrder(e,r){const n=k(this.raw,e);n&&(n.zOrder=r,this.persist("Change World Order"))}getRootPausable(e){const r=f(this.raw,e)?.pausable;return typeof r=="boolean"?r:!0}setRootPausable(e,r){const n=k(this.raw,e);n&&(n.pausable=r,this.persist("Change World Pausing"))}async materialize(){const e=await this.write("Create Game Manifest");return e&&(this.synthesizedValue=!1),e}dispose(){this.unsubscribeHistory?.()}persist(e){this.synthesized||this.write(e)}async write(e){const r=JSON.stringify(this.raw,null,2);try{if(this.fileHistory)return await this.fileHistory.write("vgai.project.json",r,{label:e,kind:"manifest",contentType:"application/json"}),this.store.notifyIngestEdit(),!0;const n=async()=>{const i=await fetch("/__editor/manifest",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:"vgai.project.json",content:r,...F()})});W(i,"Write vgai.project.json failed"),i.ok||await $(i,{label:"Write vgai.project.json",attempted:{"vgai.project.json":r},reapply:n})};return await n(),this.store.notifyIngestEdit(),!0}catch(n){return this.fileHistory&&b().readBytes("vgai.project.json").then(i=>JSON.parse(new TextDecoder().decode(i))).then(i=>{for(const s of Object.keys(this.raw))delete this.raw[s];Object.assign(this.raw,i),this.store.notifyIngestEdit()}).catch(()=>{}),y.error(`Failed to write vgai.project.json: ${n}`,"project"),!1}}}let j=null,u=null;function Y(t,e,r){const n=I(e).map(o=>{const g=o.zOrder??0,O=P(o.surface);if(O)return{worldId:o.id,kind:o.surface,adapter:O(t,o.id),zOrder:g};const M=X(o),S={id:o.id,kind:o.surface,adapter:o.adapter,entryOrScenePath:o.scene??o.entry,zOrder:g,pausable:o.pausable??!0};return{worldId:o.id,kind:o.surface,adapter:new G(t,S,M??void 0),zOrder:g}}),i=r&&n.length>=1?new Q(r.raw,r.synthesized,t):void 0;j=i??null;const s=N(B()?.config),a=new H(n,i,s);if(n.length>=1){if(A()&&!D())return y.warn("Edit-mode authoring not installed: a foreign session (ingest/play) owns the authoring override.","authoring"),a;_(a),h(a),t.notifyIngestEdit()}else A()||(u=x(t,"No world yet","Declare a root in vgai.project.json"),h(u),t.notifyIngestEdit());return a}function ne(t){t&&R()===t&&h(null),u&&R()===u&&h(null),u=null,j?.dispose(),j=null}async function ie(t){const e=V(t);let r,n;try{const i=await z(),s=i!==null&&Z(i);if(s)r=s,n={raw:i,synthesized:!1};else throw new Error("manifest has no `roots` array (zero roots is fine; a missing field is not)")}catch(i){const s=i instanceof Error?i.message:String(i);y.error(`Failed to load vgai.project.json: ${s}`,"project"),r={roots:[{id:"manifest",surface:J,adapter:s}]}}try{return Y(t,r,n)}finally{e()}}export{G as B,J as I,te as b,ne as e,ie as i,Z as p,re as q};
@@ -1 +1 @@
1
- import{dY as r,aF as i,dZ as s}from"./index-GIL7oGEO.js";import"./index-nmcBqr7Y.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./three.module-D396a9Mn.js";function c(){const t=(i()?.config.configurations??[]).find(o=>o.kind==="process"&&typeof o.port=="number");return t?{endpoint:`ws://${globalThis.location?.hostname||"localhost"}:${t.port}`}:null}const p=[],a={entities:0,msgsInPerSec:0,msgsOutPerSec:0};function l(t){return{peers:()=>p,networkId:()=>null,authority:()=>"local",editable:()=>!0,getConnectionState:()=>"disconnected",getRoomInfo:()=>null,getReplicationStats:()=>a,subscribe:()=>()=>{},getServerConfig:()=>t}}function n(){const t=c();return t?(r(l(t)),()=>r(null)):()=>{}}const w="workspace.service";function N(){let t=n();const e=s(()=>{t(),t=n()});return()=>{e(),t()}}export{w as point,N as start};
1
+ import{eN as r,aG as i,eO as s}from"./index-Ckxb31Yz.js";import"./index-nmcBqr7Y.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./three.module-IFn-4i31.js";function c(){const t=(i()?.config.configurations??[]).find(o=>o.kind==="process"&&typeof o.port=="number");return t?{endpoint:`ws://${globalThis.location?.hostname||"localhost"}:${t.port}`}:null}const p=[],a={entities:0,msgsInPerSec:0,msgsOutPerSec:0};function l(t){return{peers:()=>p,networkId:()=>null,authority:()=>"local",editable:()=>!0,getConnectionState:()=>"disconnected",getRoomInfo:()=>null,getReplicationStats:()=>a,subscribe:()=>()=>{},getServerConfig:()=>t}}function n(){const t=c();return t?(r(l(t)),()=>r(null)):()=>{}}const k="workspace.service";function w(){let t=n();const e=s(()=>{t(),t=n()});return()=>{e(),t()}}export{k as point,w as start};