@ifc-lite/viewer 1.22.0 → 1.22.1

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 (564) hide show
  1. package/.turbo/turbo-build.log +71 -44
  2. package/CHANGELOG.md +23 -0
  3. package/dist/assets/__vite-browser-external-B1O5LaIO.js +1 -0
  4. package/dist/assets/{arrow-fie-E7fe.js → arrow-CXWhTnNT.js} +1 -1
  5. package/dist/assets/{basketViewActivator-EHAhHlwN.js → basketViewActivator--cFpU2Q9.js} +10 -10
  6. package/dist/assets/{bcf-Bhx-K17f.js → bcf-Ba2CjHib.js} +2 -2
  7. package/dist/assets/browser-DXS29_v9.js +695 -0
  8. package/dist/assets/{cesium-B4ZIU9jS.js → cesium-BoVuJvTC.js} +5838 -5730
  9. package/dist/assets/{decode-worker-CYqSjk1n.js → decode-worker-CgM1iNSK.js} +1 -1
  10. package/dist/assets/deflate-DCLbV4UE.js +1 -0
  11. package/dist/assets/{drawing-2d-Bjy8YPrg.js → drawing-2d-C71b8Ugx.js} +1 -1
  12. package/dist/assets/emscripten-module-B1g2L2eS.wasm +0 -0
  13. package/dist/assets/emscripten-module-DHbYPfAp.wasm +0 -0
  14. package/dist/assets/emscripten-module-ZrHFMo7O.wasm +0 -0
  15. package/dist/assets/emscripten-module-uFzwHH0Y.wasm +0 -0
  16. package/dist/assets/emscripten-module.browser-BLJD5hhE.js +1 -0
  17. package/dist/assets/{esbuild-Cpd5nU_H.wasm → esbuild-CzsZLPr0.wasm} +0 -0
  18. package/dist/assets/esbuild-FgU11_Eg.js +1 -0
  19. package/dist/assets/event-B0kAzHa-.js +1 -0
  20. package/dist/assets/{exporters-KTio0Tdm.js → exporters-Bf6PTtdW.js} +1011 -1011
  21. package/dist/assets/ffi-Boa1QuFa.js +1 -0
  22. package/dist/assets/{geometry-controller.worker-Cm2P_EJr.js → geometry-controller.worker-CEr00X3X.js} +2 -2
  23. package/dist/assets/{geometry.worker-DchLBqZ8.js → geometry.worker-B4VPDkmL.js} +1 -1
  24. package/dist/assets/geotiff-BN4J8Vt9.js +3354 -0
  25. package/dist/assets/{ids-CS7VCFin.js → ids-XwxE1tK3.js} +6 -6
  26. package/dist/assets/{ifc-lite-C6wEhXa6.js → ifc-lite-DNzkEkIb.js} +2 -2
  27. package/dist/assets/ifc-lite_bg-1IiJN0Zg.wasm +0 -0
  28. package/dist/assets/ifc-lite_bg-B_eUD1Wy.wasm +0 -0
  29. package/dist/assets/index-DMho-JA0.js +6 -0
  30. package/dist/assets/index-DS_xJQfP.css +1 -0
  31. package/dist/assets/{index-8k9h-ANq.js → index-j2x5R7fb.js} +66047 -55202
  32. package/dist/assets/jpeg-BUTmr0Bp.js +1 -0
  33. package/dist/assets/{laz-perf-DnSyzVYH.wasm → laz-perf-CFJp03W6.wasm} +0 -0
  34. package/dist/assets/laz-perf-DgUOSLeU.js +1 -0
  35. package/dist/assets/{laz-source-jj3xI5Y4.js → laz-source-BWjza0Iw.js} +2 -2
  36. package/dist/assets/{lens-CSASnhAL.js → lens-CpjUdqpw.js} +1 -1
  37. package/dist/assets/lerc-DmzRHXn3.js +1 -0
  38. package/dist/assets/lzw-CgyIIzii.js +1 -0
  39. package/dist/assets/maplibre-gl-Do6O5tDc.js +800 -0
  40. package/dist/assets/{native-bridge-DNrEhx2R.js → native-bridge-Q5ACp4QY.js} +3 -3
  41. package/dist/assets/packbits-C1r4AzHj.js +1 -0
  42. package/dist/assets/pako.esm-Cram60i4.js +1 -0
  43. package/dist/assets/parquet_wasm_bg-DcKVfvto.wasm +0 -0
  44. package/dist/assets/{parser.worker-BcjkIo89.js → parser.worker-Cl6XQcXA.js} +2 -2
  45. package/dist/assets/raw-ZqLh7kVQ.js +1 -0
  46. package/dist/assets/{sandbox-BSn5MyEJ.js → sandbox-Bju6ZKJK.js} +1664 -1542
  47. package/dist/assets/{server-client-D-kU2XAF.js → server-client-B8wi3CGx.js} +4 -4
  48. package/dist/assets/three-CQBzFWY2.js +4104 -0
  49. package/dist/assets/wasm-bridge-X-mWRA9Z.js +1 -0
  50. package/dist/assets/webimage-D0MbRMkU.js +1 -0
  51. package/dist/assets/{workerHelpers-pUUnk9Wc.js → workerHelpers-DnNedVRr.js} +1 -1
  52. package/dist/assets/zstd-DA4VQ-ji.js +1 -0
  53. package/dist/cesium/{Workers/chunk-V7QEYVP3.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-236YIEYT.js} +2 -2
  54. package/dist/cesium/{Workers/chunk-5TJMAQVL.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-2ZYB3DYT.js} +2 -2
  55. package/dist/cesium/{Workers/chunk-UBOGZS7F.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-4M56RRIL.js} +2 -2
  56. package/dist/cesium/{Workers/chunk-OCWJRAXS.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-5BC2Q3QW.js} +2 -2
  57. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-5XHUDY37.js +26 -0
  58. package/dist/cesium/{Workers/chunk-Z3QF2EHT.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-6WMLAJJP.js} +2 -2
  59. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-72KUXMWU.js +26 -0
  60. package/dist/cesium/{Workers/chunk-EQ4YRVWL.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-7NQYTTAU.js} +2 -2
  61. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-A35GG5WJ.js +26 -0
  62. package/dist/cesium/{Workers/chunk-FC4ZZ65J.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-AXNBHUAG.js} +2 -2
  63. package/dist/cesium/{Workers/chunk-BTSYJ5XU.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-DC3K7YTH.js} +2 -2
  64. package/dist/cesium/{Workers/chunk-SLT4J352.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-DRBPXGI7.js} +2 -2
  65. package/dist/cesium/{Workers/chunk-2MJIIVP4.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-EARRZPMO.js} +2 -2
  66. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-EHC3BDVP.js +26 -0
  67. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-EYZUSGKM.js +26 -0
  68. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-EZSKHVA2.js +26 -0
  69. package/dist/cesium/{Workers/chunk-ICALLYLG.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-F3WJIFOO.js} +2 -2
  70. package/dist/cesium/{Workers/chunk-LSLE2RL4.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-FB7UV5BI.js} +2 -2
  71. package/dist/cesium/{Workers/chunk-CUUSNIVQ.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-FC6IYMYF.js} +2 -2
  72. package/dist/cesium/{Workers/chunk-TNSUQXWK.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-GF67PEXE.js} +2 -2
  73. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-GXEQRH2R.js +26 -0
  74. package/dist/cesium/{Workers/chunk-M4HLDBCG.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-I5NKQIWE.js} +2 -2
  75. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-IH7GXIUB.js +26 -0
  76. package/dist/cesium/{Workers/chunk-OIT7J4IC.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-IPP3UFGH.js} +2 -2
  77. package/dist/cesium/{Workers/chunk-WWWZVEEH.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-IYRGNBSH.js} +2 -2
  78. package/dist/cesium/{Workers/chunk-WPMZLB3Y.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-J6BM74AD.js} +2 -2
  79. package/dist/cesium/{Workers/chunk-QFM5DCMQ.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-KG2GJUJT.js} +1 -1
  80. package/dist/cesium/{Workers/chunk-XQHLGIO7.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-L7UE5MMF.js} +2 -2
  81. package/dist/cesium/{Workers/chunk-EFBN7QNX.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-LBZ34MHQ.js} +2 -2
  82. package/dist/cesium/{Workers/chunk-YP7I5QBZ.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-LOQDTQMX.js} +2 -2
  83. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-LYLRYC4L.js +29 -0
  84. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-MGPRMLLW.js +26 -0
  85. package/dist/cesium/{Workers/chunk-LI2ZSORM.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-NP26LKQA.js} +2 -2
  86. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-OMUAZ3NM.js +26 -0
  87. package/dist/cesium/{Workers/chunk-S44JILQT.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-PPFUDJN4.js} +2 -2
  88. package/dist/cesium/{Workers/chunk-EDVBB7SS.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-PQ3V63XF.js} +2 -2
  89. package/dist/cesium/{Workers/chunk-Q5BPHJQF.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-PWBQN4GK.js} +2 -2
  90. package/dist/cesium/{Workers/chunk-E7KYDCM5.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-QOTMLO2T.js} +2 -2
  91. package/dist/cesium/{Workers/chunk-XUSCFAVF.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-SP35IT73.js} +2 -2
  92. package/dist/cesium/{Workers/chunk-6BD4U3VO.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-T3ZGSZKA.js} +2 -2
  93. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-TM6SYYHO.js +28 -0
  94. package/dist/cesium/{Workers/chunk-VUKYSU4H.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-TSGIJVWH.js} +2 -2
  95. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-U3YGOX3C.js +63 -0
  96. package/dist/cesium/{Workers/chunk-7TVGLKQF.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-VBYOXOSM.js} +2 -2
  97. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-VCOHJNKB.js +26 -0
  98. package/dist/cesium/{Workers/chunk-WBOV35NL.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-VXAZXMUX.js} +2 -2
  99. package/dist/cesium/{Workers/chunk-IX4VMHEV.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-VXCJOT4W.js} +2 -2
  100. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-WPD3MB6X.js +26 -0
  101. package/dist/cesium/{Workers/chunk-V3OSTMM6.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-X4D5KUN5.js} +2 -2
  102. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-XEC656IT.js +26 -0
  103. package/dist/cesium/{Workers/chunk-MJHHSGEH.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-XR53QRQS.js} +2 -2
  104. package/dist/cesium/{Workers/chunk-XFIQ5DEQ.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-XR7MN4PJ.js} +2 -2
  105. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-XU6O4MRS.js +26 -0
  106. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-XZBHEBLF.js +29 -0
  107. package/dist/cesium/{Workers/chunk-OLZ3FYUM.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-Z2M4BF4E.js} +2 -2
  108. package/dist/cesium/{Workers/chunk-2ZBHLJST.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-Z4ERBZFB.js} +2 -2
  109. package/dist/cesium/{Workers/chunk-W37FE5GR.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-ZY2KCIWI.js} +2 -2
  110. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/combineGeometry.js +2 -2
  111. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createBoxGeometry.js +2 -2
  112. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createBoxOutlineGeometry.js +2 -2
  113. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createCircleGeometry.js +2 -2
  114. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createCircleOutlineGeometry.js +2 -2
  115. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createCoplanarPolygonGeometry.js +2 -2
  116. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +26 -0
  117. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createCorridorGeometry.js +2 -2
  118. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createCorridorOutlineGeometry.js +2 -2
  119. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createCylinderGeometry.js +2 -2
  120. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createCylinderOutlineGeometry.js +2 -2
  121. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createEllipseGeometry.js +2 -2
  122. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createEllipseOutlineGeometry.js +2 -2
  123. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createEllipsoidGeometry.js +2 -2
  124. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createEllipsoidOutlineGeometry.js +2 -2
  125. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createFrustumGeometry.js +2 -2
  126. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createFrustumOutlineGeometry.js +2 -2
  127. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createGeometry.js +2 -2
  128. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/createGroundPolylineGeometry.js +26 -0
  129. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createPlaneGeometry.js +2 -2
  130. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createPlaneOutlineGeometry.js +2 -2
  131. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createPolygonGeometry.js +2 -2
  132. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createPolygonOutlineGeometry.js +2 -2
  133. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createPolylineGeometry.js +2 -2
  134. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createPolylineVolumeGeometry.js +2 -2
  135. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createPolylineVolumeOutlineGeometry.js +2 -2
  136. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createRectangleGeometry.js +2 -2
  137. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createRectangleOutlineGeometry.js +2 -2
  138. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createSimplePolylineGeometry.js +2 -2
  139. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createSphereGeometry.js +2 -2
  140. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createSphereOutlineGeometry.js +2 -2
  141. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createTaskProcessorWorker.js +2 -2
  142. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVectorTileClampedPolylines.js +2 -2
  143. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVectorTileGeometries.js +2 -2
  144. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVectorTilePoints.js +2 -2
  145. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVectorTilePolygons.js +2 -2
  146. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVectorTilePolylines.js +2 -2
  147. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVerticesFromCesium3DTilesTerrain.js +2 -2
  148. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -2
  149. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVerticesFromHeightmap.js +2 -2
  150. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVerticesFromQuantizedTerrainMesh.js +2 -2
  151. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createWallGeometry.js +2 -2
  152. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createWallOutlineGeometry.js +2 -2
  153. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/decodeDraco.js +2 -2
  154. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/decodeGoogleEarthEnterprisePacket.js +2 -2
  155. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/decodeI3S.js +2 -2
  156. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/gaussianSplatSorter.js +2 -2
  157. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/gaussianSplatTextureGenerator.js +2 -2
  158. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/incrementallyBuildTerrainPicker.js +2 -2
  159. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/transcodeKTX2.js +56 -0
  160. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/transferTypedArrayTest.js +1 -1
  161. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +26 -0
  162. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/upsampleVerticesFromCesium3DTilesTerrain.js +2 -2
  163. package/dist/index.html +11 -11
  164. package/package.json +52 -45
  165. package/src/components/mcp/McpLanding.tsx +1 -1
  166. package/src/components/mcp/McpPlayground.tsx +1 -1
  167. package/src/components/viewer/AddElementPanel.tsx +2 -2
  168. package/src/components/viewer/BasepointOverlay.tsx +239 -0
  169. package/src/components/viewer/CesiumOverlay.tsx +15 -59
  170. package/src/components/viewer/CesiumPlacementEditor.tsx +16 -1
  171. package/src/components/viewer/CommandPalette.tsx +25 -0
  172. package/src/components/viewer/GeometryAxisRow.tsx +54 -0
  173. package/src/components/viewer/GeometryEditCard.tsx +392 -0
  174. package/src/components/viewer/HierarchyPanel.tsx +2 -2
  175. package/src/components/viewer/IDSAuditSummary.tsx +2 -2
  176. package/src/components/viewer/KeyboardShortcutsDialog.tsx +58 -4
  177. package/src/components/viewer/MainToolbar.tsx +275 -4
  178. package/src/components/viewer/PropertiesPanel.tsx +28 -31
  179. package/src/components/viewer/StatusBar.tsx +12 -0
  180. package/src/components/viewer/ToolOverlays.tsx +36 -0
  181. package/src/components/viewer/ViewerLayout.tsx +27 -0
  182. package/src/components/viewer/Viewport.tsx +49 -4
  183. package/src/components/viewer/ViewportContainer.tsx +88 -17
  184. package/src/components/viewer/ViewportOverlays.tsx +50 -11
  185. package/src/components/viewer/chat/ByokKeyModal.tsx +1 -1
  186. package/src/components/viewer/properties/FederationAlignmentControls.tsx +180 -0
  187. package/src/components/viewer/properties/GeoreferencingPanel.tsx +6 -0
  188. package/src/components/viewer/properties/PrecisionGridBadge.tsx +125 -0
  189. package/src/components/viewer/properties/raw-step-format.ts +5 -3
  190. package/src/components/viewer/selectionHandlers.ts +301 -10
  191. package/src/components/viewer/tools/GizmoOverlay.tsx +322 -0
  192. package/src/components/viewer/tools/SplitNumericInput.tsx +225 -0
  193. package/src/components/viewer/tools/SplitOverlay.tsx +242 -0
  194. package/src/components/viewer/tools/WallEndpointOverlay.tsx +252 -0
  195. package/src/components/viewer/useGeometryStreaming.ts +100 -1
  196. package/src/components/viewer/useMouseControls.ts +8 -1
  197. package/src/hooks/useBCF.ts +6 -6
  198. package/src/hooks/useCameraTickSubscription.ts +62 -0
  199. package/src/hooks/useIfc.ts +4 -0
  200. package/src/hooks/useIfcFederation.ts +368 -20
  201. package/src/hooks/useKeyboardShortcuts.ts +86 -0
  202. package/src/hooks/useLevelDisplayEffect.ts +160 -0
  203. package/src/hooks/useViewerSelectors.ts +8 -0
  204. package/src/lib/__test__/stubs.ts +110 -0
  205. package/src/lib/geo/cesium-bridge.ts +3 -3
  206. package/src/lib/geo/cesium-placement.test.ts +28 -12
  207. package/src/lib/geo/cesium-placement.ts +16 -10
  208. package/src/lib/geo/effective-georef.test.ts +23 -7
  209. package/src/lib/geo/geo-scale.ts +58 -2
  210. package/src/lib/geo/ifc-origin.test.ts +176 -0
  211. package/src/lib/geo/ifc-origin.ts +144 -0
  212. package/src/lib/geo/precision-grids.ts +444 -0
  213. package/src/lib/geo/reproject.test.ts +88 -0
  214. package/src/lib/geo/reproject.ts +168 -36
  215. package/src/lib/level-offsets.test.ts +153 -0
  216. package/src/lib/level-offsets.ts +140 -0
  217. package/src/lib/linear-element-edit.test.ts +220 -0
  218. package/src/lib/linear-element-edit.ts +327 -0
  219. package/src/lib/metadata-clone.test.ts +173 -0
  220. package/src/lib/metadata-clone.ts +124 -0
  221. package/src/lib/placement-core.ts +340 -0
  222. package/src/lib/placement-edit.boot.ts +21 -0
  223. package/src/lib/placement-edit.test.ts +464 -0
  224. package/src/lib/placement-edit.ts +47 -0
  225. package/src/lib/polygon-clip.test.ts +193 -0
  226. package/src/lib/polygon-clip.ts +199 -0
  227. package/src/lib/slab-edit.test.ts +169 -0
  228. package/src/lib/slab-edit.ts +312 -0
  229. package/src/lib/wall-edit.ts +342 -0
  230. package/src/lib/wall-opening-reassign.test.ts +291 -0
  231. package/src/lib/wall-opening-reassign.ts +241 -0
  232. package/src/main.tsx +4 -0
  233. package/src/store/index.ts +7 -0
  234. package/src/store/slices/cesiumSlice.ts +61 -8
  235. package/src/store/slices/dataSlice.ts +80 -0
  236. package/src/store/slices/levelDisplaySlice.ts +105 -0
  237. package/src/store/slices/modelSlice.test.ts +19 -0
  238. package/src/store/slices/mutationSlice.ts +1138 -1
  239. package/src/store/slices/splitToolSlice.ts +165 -0
  240. package/src/store/slices/uiSlice.edit-mode.test.ts +210 -0
  241. package/src/store/slices/uiSlice.ts +78 -1
  242. package/src/store/types.ts +57 -2
  243. package/src/utils/createBlankIfc.ts +37 -0
  244. package/tsconfig.json +1 -0
  245. package/.turbo/turbo-typecheck.log +0 -4
  246. package/dist/assets/arrow2_bg-BoXCojjR.wasm +0 -0
  247. package/dist/assets/browser-CVf8ATeW.js +0 -694
  248. package/dist/assets/emscripten-module-BTRCZGcB.wasm +0 -0
  249. package/dist/assets/emscripten-module-CGIn_cMh.wasm +0 -0
  250. package/dist/assets/emscripten-module-DYvzWiHh.wasm +0 -0
  251. package/dist/assets/emscripten-module-NWak2PoB.wasm +0 -0
  252. package/dist/assets/emscripten-module.browser-DcFZLAUx.js +0 -1
  253. package/dist/assets/esbuild-COv63sf-.js +0 -1
  254. package/dist/assets/event-DIOks52T.js +0 -1
  255. package/dist/assets/ffi-DlhRHxHv.js +0 -1
  256. package/dist/assets/ifc-lite_bg-CSeT3fNI.wasm +0 -0
  257. package/dist/assets/ifc-lite_bg-ns4cSnX2.wasm +0 -0
  258. package/dist/assets/index-BZC2YaOP.css +0 -1
  259. package/dist/assets/index-HqAIQkr6.js +0 -22
  260. package/dist/assets/laz-perf-Cvr_Lepg.js +0 -1
  261. package/dist/assets/maplibre-gl-C4LXKM6c.js +0 -808
  262. package/dist/assets/three-DwNDHx9-.js +0 -4049
  263. package/dist/assets/wasm-bridge-Cha08LdC.js +0 -1
  264. package/dist/cesium/Workers/chunk-23ZQ2IVV.js +0 -29
  265. package/dist/cesium/Workers/chunk-2EQO3Q56.js +0 -26
  266. package/dist/cesium/Workers/chunk-2TE5NTVD.js +0 -26
  267. package/dist/cesium/Workers/chunk-BXMEEOCS.js +0 -63
  268. package/dist/cesium/Workers/chunk-BYLCY7GP.js +0 -29
  269. package/dist/cesium/Workers/chunk-CTHM3W6I.js +0 -26
  270. package/dist/cesium/Workers/chunk-E3JOOS3S.js +0 -26
  271. package/dist/cesium/Workers/chunk-F6PRE7D6.js +0 -26
  272. package/dist/cesium/Workers/chunk-FFBVWF2L.js +0 -26
  273. package/dist/cesium/Workers/chunk-GBAA6GVX.js +0 -26
  274. package/dist/cesium/Workers/chunk-ILRYTWTP.js +0 -26
  275. package/dist/cesium/Workers/chunk-IRNLBSEJ.js +0 -26
  276. package/dist/cesium/Workers/chunk-L6QHHACZ.js +0 -26
  277. package/dist/cesium/Workers/chunk-NMVKML6W.js +0 -26
  278. package/dist/cesium/Workers/chunk-OIRKANTH.js +0 -26
  279. package/dist/cesium/Workers/chunk-QKUIYMGC.js +0 -28
  280. package/dist/cesium/Workers/chunk-SQMIIXB7.js +0 -26
  281. package/dist/cesium/Workers/chunk-TJ4XLGBQ.js +0 -26
  282. package/dist/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +0 -26
  283. package/dist/cesium/Workers/createGroundPolylineGeometry.js +0 -26
  284. package/dist/cesium/Workers/transcodeKTX2.js +0 -56
  285. package/dist/cesium/Workers/upsampleQuantizedTerrainMesh.js +0 -26
  286. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_0.json +0 -0
  287. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_1.json +0 -0
  288. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_10.json +0 -0
  289. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_11.json +0 -0
  290. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_12.json +0 -0
  291. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_13.json +0 -0
  292. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_14.json +0 -0
  293. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_15.json +0 -0
  294. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_16.json +0 -0
  295. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_17.json +0 -0
  296. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_18.json +0 -0
  297. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_19.json +0 -0
  298. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_2.json +0 -0
  299. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_20.json +0 -0
  300. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_21.json +0 -0
  301. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_22.json +0 -0
  302. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_23.json +0 -0
  303. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_24.json +0 -0
  304. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_25.json +0 -0
  305. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_26.json +0 -0
  306. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_27.json +0 -0
  307. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_3.json +0 -0
  308. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_4.json +0 -0
  309. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_5.json +0 -0
  310. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_6.json +0 -0
  311. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_7.json +0 -0
  312. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_8.json +0 -0
  313. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_9.json +0 -0
  314. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Images/bing_maps_credit.png +0 -0
  315. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Images/cesium_credit.png +0 -0
  316. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Images/google_earth_credit.png +0 -0
  317. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Images/ion-credit.png +0 -0
  318. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/LensFlare/DirtMask.jpg +0 -0
  319. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/LensFlare/StarBurst.jpg +0 -0
  320. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  321. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  322. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  323. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  324. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  325. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  326. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  327. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  328. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  329. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  330. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  331. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  332. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  333. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  334. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  335. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  336. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  337. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  338. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  339. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  340. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  341. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  342. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  343. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  344. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  345. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  346. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  347. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  348. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  349. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  350. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  351. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  352. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  353. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  354. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  355. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  356. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  357. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  358. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  359. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  360. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  361. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  362. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/tilemapresource.xml +0 -0
  363. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  364. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  365. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  366. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  367. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  368. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  369. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/airfield.png +0 -0
  370. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/airport.png +0 -0
  371. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/alcohol-shop.png +0 -0
  372. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/america-football.png +0 -0
  373. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/art-gallery.png +0 -0
  374. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/bakery.png +0 -0
  375. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/bank.png +0 -0
  376. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/bar.png +0 -0
  377. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/baseball.png +0 -0
  378. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/basketball.png +0 -0
  379. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/beer.png +0 -0
  380. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/bicycle.png +0 -0
  381. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/building.png +0 -0
  382. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/bus.png +0 -0
  383. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/cafe.png +0 -0
  384. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/camera.png +0 -0
  385. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/campsite.png +0 -0
  386. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/car.png +0 -0
  387. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/cemetery.png +0 -0
  388. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/cesium.png +0 -0
  389. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/chemist.png +0 -0
  390. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/cinema.png +0 -0
  391. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/circle-stroked.png +0 -0
  392. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/circle.png +0 -0
  393. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/city.png +0 -0
  394. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/clothing-store.png +0 -0
  395. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/college.png +0 -0
  396. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/commercial.png +0 -0
  397. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/cricket.png +0 -0
  398. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/cross.png +0 -0
  399. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/dam.png +0 -0
  400. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/danger.png +0 -0
  401. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/disability.png +0 -0
  402. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/dog-park.png +0 -0
  403. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/embassy.png +0 -0
  404. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/emergency-telephone.png +0 -0
  405. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/entrance.png +0 -0
  406. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/farm.png +0 -0
  407. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/fast-food.png +0 -0
  408. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/ferry.png +0 -0
  409. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/fire-station.png +0 -0
  410. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/fuel.png +0 -0
  411. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/garden.png +0 -0
  412. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/gift.png +0 -0
  413. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/golf.png +0 -0
  414. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/grocery.png +0 -0
  415. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/hairdresser.png +0 -0
  416. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/harbor.png +0 -0
  417. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/heart.png +0 -0
  418. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/heliport.png +0 -0
  419. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/hospital.png +0 -0
  420. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/ice-cream.png +0 -0
  421. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/industrial.png +0 -0
  422. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/land-use.png +0 -0
  423. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/laundry.png +0 -0
  424. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/library.png +0 -0
  425. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/lighthouse.png +0 -0
  426. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/lodging.png +0 -0
  427. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/logging.png +0 -0
  428. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/london-underground.png +0 -0
  429. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/marker-stroked.png +0 -0
  430. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/marker.png +0 -0
  431. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/minefield.png +0 -0
  432. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/mobilephone.png +0 -0
  433. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/monument.png +0 -0
  434. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/museum.png +0 -0
  435. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/music.png +0 -0
  436. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/oil-well.png +0 -0
  437. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/park.png +0 -0
  438. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/park2.png +0 -0
  439. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/parking-garage.png +0 -0
  440. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/parking.png +0 -0
  441. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/pharmacy.png +0 -0
  442. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/pitch.png +0 -0
  443. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/place-of-worship.png +0 -0
  444. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/playground.png +0 -0
  445. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/police.png +0 -0
  446. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/polling-place.png +0 -0
  447. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/post.png +0 -0
  448. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/prison.png +0 -0
  449. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/rail-above.png +0 -0
  450. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/rail-light.png +0 -0
  451. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/rail-metro.png +0 -0
  452. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/rail-underground.png +0 -0
  453. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/rail.png +0 -0
  454. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/religious-christian.png +0 -0
  455. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/religious-jewish.png +0 -0
  456. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/religious-muslim.png +0 -0
  457. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/restaurant.png +0 -0
  458. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/roadblock.png +0 -0
  459. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/rocket.png +0 -0
  460. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/school.png +0 -0
  461. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/scooter.png +0 -0
  462. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/shop.png +0 -0
  463. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/skiing.png +0 -0
  464. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/slaughterhouse.png +0 -0
  465. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/soccer.png +0 -0
  466. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/square-stroked.png +0 -0
  467. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/square.png +0 -0
  468. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/star-stroked.png +0 -0
  469. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/star.png +0 -0
  470. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/suitcase.png +0 -0
  471. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/swimming.png +0 -0
  472. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/telephone.png +0 -0
  473. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/tennis.png +0 -0
  474. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/theatre.png +0 -0
  475. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/toilets.png +0 -0
  476. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/town-hall.png +0 -0
  477. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/town.png +0 -0
  478. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/triangle-stroked.png +0 -0
  479. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/triangle.png +0 -0
  480. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/village.png +0 -0
  481. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/warehouse.png +0 -0
  482. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/waste-basket.png +0 -0
  483. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/water.png +0 -0
  484. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/wetland.png +0 -0
  485. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/zoo.png +0 -0
  486. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/moonSmall.jpg +0 -0
  487. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/pin.svg +0 -0
  488. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/waterNormals.jpg +0 -0
  489. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/waterNormalsSmall.jpg +0 -0
  490. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/approximateTerrainHeights.json +0 -0
  491. /package/dist/cesium/{ThirdParty → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/ThirdParty}/Workers/package.json +0 -0
  492. /package/dist/cesium/{ThirdParty → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/ThirdParty}/Workers/zip-web-worker.js +0 -0
  493. /package/dist/cesium/{ThirdParty → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/ThirdParty}/basis_transcoder.wasm +0 -0
  494. /package/dist/cesium/{ThirdParty → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/ThirdParty}/draco_decoder.wasm +0 -0
  495. /package/dist/cesium/{ThirdParty → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/ThirdParty}/google-earth-dbroot-parser.js +0 -0
  496. /package/dist/cesium/{ThirdParty → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/ThirdParty}/wasm_splats_bg.wasm +0 -0
  497. /package/dist/cesium/{ThirdParty → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/ThirdParty}/zip-module.wasm +0 -0
  498. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Animation/Animation.css +0 -0
  499. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Animation/lighter.css +0 -0
  500. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/BaseLayerPicker/BaseLayerPicker.css +0 -0
  501. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/BaseLayerPicker/lighter.css +0 -0
  502. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Cesium3DTilesInspector/Cesium3DTilesInspector.css +0 -0
  503. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/CesiumInspector/CesiumInspector.css +0 -0
  504. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/CesiumWidget/CesiumWidget.css +0 -0
  505. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/CesiumWidget/lighter.css +0 -0
  506. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/FullscreenButton/FullscreenButton.css +0 -0
  507. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Geocoder/Geocoder.css +0 -0
  508. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Geocoder/lighter.css +0 -0
  509. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +0 -0
  510. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  511. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  512. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  513. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/azureAerial.png +0 -0
  514. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/azureRoads.png +0 -0
  515. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/bingAerial.png +0 -0
  516. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/bingAerialLabels.png +0 -0
  517. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/bingRoads.png +0 -0
  518. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/blueMarble.png +0 -0
  519. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/earthAtNight.png +0 -0
  520. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/googleContour.png +0 -0
  521. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/googleRoadmap.png +0 -0
  522. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/googleSatellite.png +0 -0
  523. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/googleSatelliteLabels.png +0 -0
  524. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  525. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/mapboxSatellite.png +0 -0
  526. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/mapboxStreets.png +0 -0
  527. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/mapboxTerrain.png +0 -0
  528. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/naturalEarthII.png +0 -0
  529. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/openStreetMap.png +0 -0
  530. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/sentinel-2.png +0 -0
  531. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  532. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  533. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/stamenToner.png +0 -0
  534. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/stamenWatercolor.png +0 -0
  535. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/Mouse.svg +0 -0
  536. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/MouseLeft.svg +0 -0
  537. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/MouseMiddle.svg +0 -0
  538. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/MouseRight.svg +0 -0
  539. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/Touch.svg +0 -0
  540. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/TouchDrag.svg +0 -0
  541. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/TouchRotate.svg +0 -0
  542. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/TouchTilt.svg +0 -0
  543. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/TouchZoom.svg +0 -0
  544. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  545. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/TerrainProviders/Ellipsoid.png +0 -0
  546. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/TimelineIcons.png +0 -0
  547. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/info-loading.gif +0 -0
  548. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/InfoBox/InfoBox.css +0 -0
  549. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/InfoBox/InfoBoxDescription.css +0 -0
  550. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/NavigationHelpButton/NavigationHelpButton.css +0 -0
  551. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/NavigationHelpButton/lighter.css +0 -0
  552. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/PerformanceWatchdog/PerformanceWatchdog.css +0 -0
  553. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/ProjectionPicker/ProjectionPicker.css +0 -0
  554. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/SceneModePicker/SceneModePicker.css +0 -0
  555. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/SelectionIndicator/SelectionIndicator.css +0 -0
  556. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Timeline/Timeline.css +0 -0
  557. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Timeline/lighter.css +0 -0
  558. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/VRButton/VRButton.css +0 -0
  559. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Viewer/Viewer.css +0 -0
  560. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/VoxelInspector/VoxelInspector.css +0 -0
  561. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/lighter.css +0 -0
  562. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/lighterShared.css +0 -0
  563. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/shared.css +0 -0
  564. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/widgets.css +0 -0
@@ -1,6 +1,6 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/native-bridge-DNrEhx2R.js","assets/sandbox-BSn5MyEJ.js","assets/lens-CSASnhAL.js","assets/wasm-bridge-Cha08LdC.js"])))=>i.map(i=>d[i]);
2
- import { c as on, _ as Ae, s as bt, e as gn, a as hn, P as tt, Q as Et, b as an, E as In, d as me, f as yn, h as mn, r as bn, i as En, I as be, j as wn, __tla as __tla_0 } from "./sandbox-BSn5MyEJ.js";
3
- let Os, we, Un, Ls, Es, dn, ee, $n, Ee, As, rn, Bs, Ns, xs, Ms;
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/native-bridge-Q5ACp4QY.js","assets/sandbox-Bju6ZKJK.js","assets/lens-CpjUdqpw.js","assets/wasm-bridge-X-mWRA9Z.js"])))=>i.map(i=>d[i]);
2
+ import { J as on, _ as Ae, aD as Z, a1 as gn, a2 as hn, j as et, k as Et, aG as an, E as In, ab as me, af as yn, ac as mn, az as bn, K as En, i as be, h as wn, __tla as __tla_0 } from "./sandbox-Bju6ZKJK.js";
3
+ let xs, Os, rn, Ls, Es, dn, we, $n, Bs, Ee, Un, ee, As, Ms, Ns;
4
4
  let __tla = Promise.all([
5
5
  (()=>{
6
6
  try {
@@ -9,23 +9,23 @@ let __tla = Promise.all([
9
9
  })()
10
10
  ]).then(async ()=>{
11
11
  let o;
12
- function L(i) {
13
- Ut === rt.length && rt.push(rt.length + 1);
12
+ function B(i) {
13
+ Ut === it.length && it.push(it.length + 1);
14
14
  const t = Ut;
15
- return Ut = rt[t], rt[t] = i, t;
15
+ return Ut = it[t], it[t] = i, t;
16
16
  }
17
- function xe(i) {
18
- if (Dt == 1) throw new Error("out of js stack");
19
- return rt[--Dt] = i, Dt;
17
+ function Oe(i) {
18
+ if (vt == 1) throw new Error("out of js stack");
19
+ return it[--vt] = i, vt;
20
20
  }
21
- const Oe = typeof FinalizationRegistry > "u" ? {
21
+ const xe = typeof FinalizationRegistry > "u" ? {
22
22
  register: ()=>{},
23
23
  unregister: ()=>{}
24
24
  } : new FinalizationRegistry((i)=>i.dtor(i.a, i.b));
25
25
  function Cn(i) {
26
- i < 132 || (rt[i] = Ut, Ut = i);
26
+ i < 132 || (it[i] = Ut, Ut = i);
27
27
  }
28
- function pt(i, t) {
28
+ function gt(i, t) {
29
29
  return i = i >>> 0, Tn().subarray(i / 4, i / 4 + t);
30
30
  }
31
31
  function Bt(i, t) {
@@ -34,19 +34,19 @@ let __tla = Promise.all([
34
34
  function cn(i, t) {
35
35
  return i = i >>> 0, ln().subarray(i / 4, i / 4 + t);
36
36
  }
37
- let ut = null;
38
- function R() {
39
- return (ut === null || ut.buffer.detached === !0 || ut.buffer.detached === void 0 && ut.buffer !== o.memory.buffer) && (ut = new DataView(o.memory.buffer)), ut;
37
+ let pt = null;
38
+ function S() {
39
+ return (pt === null || pt.buffer.detached === !0 || pt.buffer.detached === void 0 && pt.buffer !== o.memory.buffer) && (pt = new DataView(o.memory.buffer)), pt;
40
40
  }
41
- let xt = null;
41
+ let Ot = null;
42
42
  function Tn() {
43
- return (xt === null || xt.byteLength === 0) && (xt = new Float32Array(o.memory.buffer)), xt;
43
+ return (Ot === null || Ot.byteLength === 0) && (Ot = new Float32Array(o.memory.buffer)), Ot;
44
44
  }
45
- let Ot = null;
45
+ let xt = null;
46
46
  function Fn() {
47
- return (Ot === null || Ot.byteLength === 0) && (Ot = new Float64Array(o.memory.buffer)), Ot;
47
+ return (xt === null || xt.byteLength === 0) && (xt = new Float64Array(o.memory.buffer)), xt;
48
48
  }
49
- function K(i, t) {
49
+ function tt(i, t) {
50
50
  return i = i >>> 0, Nn(i, t);
51
51
  }
52
52
  let Mt = null;
@@ -57,19 +57,19 @@ let __tla = Promise.all([
57
57
  function Pt() {
58
58
  return (Lt === null || Lt.byteLength === 0) && (Lt = new Uint8Array(o.memory.buffer)), Lt;
59
59
  }
60
- function M(i) {
61
- return rt[i];
60
+ function L(i) {
61
+ return it[i];
62
62
  }
63
63
  function Nt(i, t) {
64
64
  try {
65
65
  return i.apply(this, t);
66
66
  } catch (e) {
67
- o.__wbindgen_export(L(e));
67
+ o.__wbindgen_export(B(e));
68
68
  }
69
69
  }
70
- let rt = new Array(128).fill(void 0);
71
- rt.push(void 0, null, !0, !1);
72
- let Ut = rt.length;
70
+ let it = new Array(128).fill(void 0);
71
+ it.push(void 0, null, !0, !1);
72
+ let Ut = it.length;
73
73
  function wt(i) {
74
74
  return i == null;
75
75
  }
@@ -90,21 +90,21 @@ let __tla = Promise.all([
90
90
  }
91
91
  };
92
92
  return r._wbg_cb_unref = ()=>{
93
- --s.cnt === 0 && (s.dtor(s.a, s.b), s.a = 0, Oe.unregister(s));
94
- }, Oe.register(r, s, s), r;
93
+ --s.cnt === 0 && (s.dtor(s.a, s.b), s.a = 0, xe.unregister(s));
94
+ }, xe.register(r, s, s), r;
95
95
  }
96
- function at(i, t) {
96
+ function ct(i, t) {
97
97
  const e = t(i.length * 4, 4) >>> 0;
98
- return ln().set(i, e / 4), O = i.length, e;
98
+ return ln().set(i, e / 4), x = i.length, e;
99
99
  }
100
- function ct(i, t) {
100
+ function lt(i, t) {
101
101
  const e = t(i.length * 1, 1) >>> 0;
102
- return Pt().set(i, e / 1), O = i.length, e;
102
+ return Pt().set(i, e / 1), x = i.length, e;
103
103
  }
104
- function q(i, t, e) {
104
+ function J(i, t, e) {
105
105
  if (e === void 0) {
106
- const c = vt.encode(i), l = t(c.length, 1) >>> 0;
107
- return Pt().subarray(l, l + c.length).set(c), O = c.length, l;
106
+ const c = Dt.encode(i), l = t(c.length, 1) >>> 0;
107
+ return Pt().subarray(l, l + c.length).set(c), x = c.length, l;
108
108
  }
109
109
  let n = i.length, s = t(n, 1) >>> 0;
110
110
  const r = Pt();
@@ -116,14 +116,14 @@ let __tla = Promise.all([
116
116
  }
117
117
  if (a !== n) {
118
118
  a !== 0 && (i = i.slice(a)), s = e(s, n, n = a + i.length * 3, 1) >>> 0;
119
- const c = Pt().subarray(s + a, s + n), l = vt.encodeInto(i, c);
119
+ const c = Pt().subarray(s + a, s + n), l = Dt.encodeInto(i, c);
120
120
  a += l.written, s = e(s, n, a, 1) >>> 0;
121
121
  }
122
- return O = a, s;
122
+ return x = a, s;
123
123
  }
124
- let Dt = 128;
125
- function v(i) {
126
- const t = M(i);
124
+ let vt = 128;
125
+ function D(i) {
126
+ const t = L(i);
127
127
  return Cn(i), t;
128
128
  }
129
129
  let se = new TextDecoder("utf-8", {
@@ -139,20 +139,20 @@ let __tla = Promise.all([
139
139
  fatal: !0
140
140
  }), se.decode(), ce = t), se.decode(Pt().subarray(i, i + t));
141
141
  }
142
- const vt = new TextEncoder;
143
- "encodeInto" in vt || (vt.encodeInto = function(i, t) {
144
- const e = vt.encode(i);
142
+ const Dt = new TextEncoder;
143
+ "encodeInto" in Dt || (Dt.encodeInto = function(i, t) {
144
+ const e = Dt.encode(i);
145
145
  return t.set(e), {
146
146
  read: i.length,
147
147
  written: e.length
148
148
  };
149
149
  });
150
- let O = 0;
150
+ let x = 0;
151
151
  function An(i, t, e) {
152
- o.__wasm_bindgen_func_elem_1274(i, t, L(e));
152
+ o.__wasm_bindgen_func_elem_1480(i, t, B(e));
153
153
  }
154
- function xn(i, t, e, n) {
155
- o.__wasm_bindgen_func_elem_1314(i, t, L(e), L(n));
154
+ function On(i, t, e, n) {
155
+ o.__wasm_bindgen_func_elem_1520(i, t, B(e), B(n));
156
156
  }
157
157
  const Me = typeof FinalizationRegistry > "u" ? {
158
158
  register: ()=>{},
@@ -178,10 +178,10 @@ let __tla = Promise.all([
178
178
  } : new FinalizationRegistry((i)=>o.__wbg_ifcapi_free(i >>> 0, 1)), Ue = typeof FinalizationRegistry > "u" ? {
179
179
  register: ()=>{},
180
180
  unregister: ()=>{}
181
- } : new FinalizationRegistry((i)=>o.__wbg_instancedata_free(i >>> 0, 1)), De = typeof FinalizationRegistry > "u" ? {
181
+ } : new FinalizationRegistry((i)=>o.__wbg_instancedata_free(i >>> 0, 1)), ve = typeof FinalizationRegistry > "u" ? {
182
182
  register: ()=>{},
183
183
  unregister: ()=>{}
184
- } : new FinalizationRegistry((i)=>o.__wbg_instancedgeometry_free(i >>> 0, 1)), ve = typeof FinalizationRegistry > "u" ? {
184
+ } : new FinalizationRegistry((i)=>o.__wbg_instancedgeometry_free(i >>> 0, 1)), De = typeof FinalizationRegistry > "u" ? {
185
185
  register: ()=>{},
186
186
  unregister: ()=>{}
187
187
  } : new FinalizationRegistry((i)=>o.__wbg_instancedmeshcollection_free(i >>> 0, 1)), Ge = typeof FinalizationRegistry > "u" ? {
@@ -233,7 +233,7 @@ let __tla = Promise.all([
233
233
  try {
234
234
  const c = o.__wbindgen_add_to_stack_pointer(-16);
235
235
  o.georeferencejs_localToMap(c, this.__wbg_ptr, t, e, n);
236
- var s = R().getInt32(c + 0, !0), r = R().getInt32(c + 4, !0), a = Bt(s, r).slice();
236
+ var s = S().getInt32(c + 0, !0), r = S().getInt32(c + 4, !0), a = Bt(s, r).slice();
237
237
  return o.__wbindgen_export2(s, r * 8, 8), a;
238
238
  } finally{
239
239
  o.__wbindgen_add_to_stack_pointer(16);
@@ -243,7 +243,7 @@ let __tla = Promise.all([
243
243
  try {
244
244
  const c = o.__wbindgen_add_to_stack_pointer(-16);
245
245
  o.georeferencejs_mapToLocal(c, this.__wbg_ptr, t, e, n);
246
- var s = R().getInt32(c + 0, !0), r = R().getInt32(c + 4, !0), a = Bt(s, r).slice();
246
+ var s = S().getInt32(c + 0, !0), r = S().getInt32(c + 4, !0), a = Bt(s, r).slice();
247
247
  return o.__wbindgen_export2(s, r * 8, 8), a;
248
248
  } finally{
249
249
  o.__wbindgen_add_to_stack_pointer(16);
@@ -253,9 +253,9 @@ let __tla = Promise.all([
253
253
  try {
254
254
  const n = o.__wbindgen_add_to_stack_pointer(-16);
255
255
  o.georeferencejs_crsName(n, this.__wbg_ptr);
256
- var t = R().getInt32(n + 0, !0), e = R().getInt32(n + 4, !0);
256
+ var t = S().getInt32(n + 0, !0), e = S().getInt32(n + 4, !0);
257
257
  let s;
258
- return t !== 0 && (s = K(t, e).slice(), o.__wbindgen_export2(t, e * 1, 1)), s;
258
+ return t !== 0 && (s = tt(t, e).slice(), o.__wbindgen_export2(t, e * 1, 1)), s;
259
259
  } finally{
260
260
  o.__wbindgen_add_to_stack_pointer(16);
261
261
  }
@@ -267,7 +267,7 @@ let __tla = Promise.all([
267
267
  try {
268
268
  const s = o.__wbindgen_add_to_stack_pointer(-16);
269
269
  o.georeferencejs_toMatrix(s, this.__wbg_ptr);
270
- var t = R().getInt32(s + 0, !0), e = R().getInt32(s + 4, !0), n = Bt(t, e).slice();
270
+ var t = S().getInt32(s + 0, !0), e = S().getInt32(s + 4, !0), n = Bt(t, e).slice();
271
271
  return o.__wbindgen_export2(t, e * 8, 8), n;
272
272
  } finally{
273
273
  o.__wbindgen_add_to_stack_pointer(16);
@@ -359,9 +359,9 @@ let __tla = Promise.all([
359
359
  try {
360
360
  const s = o.__wbindgen_add_to_stack_pointer(-16);
361
361
  o.gpugeometry_getIfcTypeName(s, this.__wbg_ptr, t);
362
- var e = R().getInt32(s + 0, !0), n = R().getInt32(s + 4, !0);
362
+ var e = S().getInt32(s + 0, !0), n = S().getInt32(s + 4, !0);
363
363
  let r;
364
- return e !== 0 && (r = K(e, n).slice(), o.__wbindgen_export2(e, n * 1, 1)), r;
364
+ return e !== 0 && (r = tt(e, n).slice(), o.__wbindgen_export2(e, n * 1, 1)), r;
365
365
  } finally{
366
366
  o.__wbindgen_add_to_stack_pointer(16);
367
367
  }
@@ -574,7 +574,7 @@ let __tla = Promise.all([
574
574
  try {
575
575
  const s = o.__wbindgen_add_to_stack_pointer(-16);
576
576
  o.gpumeshmetadata_color(s, this.__wbg_ptr);
577
- var t = R().getInt32(s + 0, !0), e = R().getInt32(s + 4, !0), n = pt(t, e).slice();
577
+ var t = S().getInt32(s + 0, !0), e = S().getInt32(s + 4, !0), n = gt(t, e).slice();
578
578
  return o.__wbindgen_export2(t, e * 4, 4), n;
579
579
  } finally{
580
580
  o.__wbindgen_add_to_stack_pointer(16);
@@ -592,90 +592,90 @@ let __tla = Promise.all([
592
592
  o.__wbg_ifcapi_free(t, 0);
593
593
  }
594
594
  parseMeshes(t) {
595
- const e = q(t, o.__wbindgen_export3, o.__wbindgen_export4), n = O, s = o.ifcapi_parseMeshes(this.__wbg_ptr, e, n);
596
- return dt.__wrap(s);
595
+ const e = J(t, o.__wbindgen_export3, o.__wbindgen_export4), n = x, s = o.ifcapi_parseMeshes(this.__wbg_ptr, e, n);
596
+ return _t.__wrap(s);
597
597
  }
598
598
  parseMeshesAsync(t, e) {
599
- const n = q(t, o.__wbindgen_export3, o.__wbindgen_export4), s = O, r = o.ifcapi_parseMeshesAsync(this.__wbg_ptr, n, s, L(e));
600
- return v(r);
599
+ const n = J(t, o.__wbindgen_export3, o.__wbindgen_export4), s = x, r = o.ifcapi_parseMeshesAsync(this.__wbg_ptr, n, s, B(e));
600
+ return D(r);
601
601
  }
602
602
  buildPrePassFast(t) {
603
- const e = ct(t, o.__wbindgen_export3), n = O, s = o.ifcapi_buildPrePassFast(this.__wbg_ptr, e, n);
604
- return v(s);
603
+ const e = lt(t, o.__wbindgen_export3), n = x, s = o.ifcapi_buildPrePassFast(this.__wbg_ptr, e, n);
604
+ return D(s);
605
605
  }
606
606
  buildPrePassOnce(t) {
607
- const e = ct(t, o.__wbindgen_export3), n = O, s = o.ifcapi_buildPrePassOnce(this.__wbg_ptr, e, n);
608
- return v(s);
607
+ const e = lt(t, o.__wbindgen_export3), n = x, s = o.ifcapi_buildPrePassOnce(this.__wbg_ptr, e, n);
608
+ return D(s);
609
609
  }
610
610
  parseMeshesSubset(t, e, n, s) {
611
- const r = q(t, o.__wbindgen_export3, o.__wbindgen_export4), a = O, c = o.ifcapi_parseMeshesSubset(this.__wbg_ptr, r, a, e, n, s);
612
- return dt.__wrap(c);
611
+ const r = J(t, o.__wbindgen_export3, o.__wbindgen_export4), a = x, c = o.ifcapi_parseMeshesSubset(this.__wbg_ptr, r, a, e, n, s);
612
+ return _t.__wrap(c);
613
613
  }
614
614
  parseToGpuGeometry(t) {
615
- const e = q(t, o.__wbindgen_export3, o.__wbindgen_export4), n = O, s = o.ifcapi_parseToGpuGeometry(this.__wbg_ptr, e, n);
615
+ const e = J(t, o.__wbindgen_export3, o.__wbindgen_export4), n = x, s = o.ifcapi_parseToGpuGeometry(this.__wbg_ptr, e, n);
616
616
  return Tt.__wrap(s);
617
617
  }
618
618
  parseMeshesInstanced(t) {
619
- const e = q(t, o.__wbindgen_export3, o.__wbindgen_export4), n = O, s = o.ifcapi_parseMeshesInstanced(this.__wbg_ptr, e, n);
619
+ const e = J(t, o.__wbindgen_export3, o.__wbindgen_export4), n = x, s = o.ifcapi_parseMeshesInstanced(this.__wbg_ptr, e, n);
620
620
  return Rt.__wrap(s);
621
621
  }
622
622
  processGeometryBatch(t, e, n, s, r, a, c, l, d, _, f, p) {
623
- const g = ct(t, o.__wbindgen_export3), u = O, y = at(e, o.__wbindgen_export3), m = O, C = at(l, o.__wbindgen_export3), N = O, T = at(d, o.__wbindgen_export3), B = O, G = at(_, o.__wbindgen_export3), b = O, A = at(f, o.__wbindgen_export3), h = O, F = ct(p, o.__wbindgen_export3), S = O, E = o.ifcapi_processGeometryBatch(this.__wbg_ptr, g, u, y, m, n, s, r, a, c, C, N, T, B, G, b, A, h, F, S);
624
- return dt.__wrap(E);
623
+ const g = lt(t, o.__wbindgen_export3), u = x, h = ct(e, o.__wbindgen_export3), b = x, C = ct(l, o.__wbindgen_export3), w = x, A = ct(d, o.__wbindgen_export3), M = x, z = ct(_, o.__wbindgen_export3), m = x, N = ct(f, o.__wbindgen_export3), I = x, F = lt(p, o.__wbindgen_export3), R = x, E = o.ifcapi_processGeometryBatch(this.__wbg_ptr, g, u, h, b, n, s, r, a, c, C, w, A, M, z, m, N, I, F, R);
624
+ return _t.__wrap(E);
625
625
  }
626
626
  scanEntityIndexShard(t, e, n, s) {
627
627
  try {
628
- const l = o.__wbindgen_add_to_stack_pointer(-16), d = ct(t, o.__wbindgen_export3), _ = O;
629
- o.ifcapi_scanEntityIndexShard(l, this.__wbg_ptr, d, _, xe(e), n, s);
630
- var r = R().getInt32(l + 0, !0), a = R().getInt32(l + 4, !0), c = R().getInt32(l + 8, !0);
631
- if (c) throw v(a);
632
- return v(r);
628
+ const l = o.__wbindgen_add_to_stack_pointer(-16), d = lt(t, o.__wbindgen_export3), _ = x;
629
+ o.ifcapi_scanEntityIndexShard(l, this.__wbg_ptr, d, _, Oe(e), n, s);
630
+ var r = S().getInt32(l + 0, !0), a = S().getInt32(l + 4, !0), c = S().getInt32(l + 8, !0);
631
+ if (c) throw D(a);
632
+ return D(r);
633
633
  } finally{
634
- o.__wbindgen_add_to_stack_pointer(16), rt[Dt++] = void 0;
634
+ o.__wbindgen_add_to_stack_pointer(16), it[vt++] = void 0;
635
635
  }
636
636
  }
637
637
  buildPrePassStreaming(t, e, n) {
638
638
  try {
639
- const c = o.__wbindgen_add_to_stack_pointer(-16), l = ct(t, o.__wbindgen_export3), d = O;
640
- o.ifcapi_buildPrePassStreaming(c, this.__wbg_ptr, l, d, xe(e), n);
641
- var s = R().getInt32(c + 0, !0), r = R().getInt32(c + 4, !0), a = R().getInt32(c + 8, !0);
642
- if (a) throw v(r);
643
- return v(s);
639
+ const c = o.__wbindgen_add_to_stack_pointer(-16), l = lt(t, o.__wbindgen_export3), d = x;
640
+ o.ifcapi_buildPrePassStreaming(c, this.__wbg_ptr, l, d, Oe(e), n);
641
+ var s = S().getInt32(c + 0, !0), r = S().getInt32(c + 4, !0), a = S().getInt32(c + 8, !0);
642
+ if (a) throw D(r);
643
+ return D(s);
644
644
  } finally{
645
- o.__wbindgen_add_to_stack_pointer(16), rt[Dt++] = void 0;
645
+ o.__wbindgen_add_to_stack_pointer(16), it[vt++] = void 0;
646
646
  }
647
647
  }
648
648
  parseToGpuGeometryAsync(t, e) {
649
- const n = q(t, o.__wbindgen_export3, o.__wbindgen_export4), s = O, r = o.ifcapi_parseToGpuGeometryAsync(this.__wbg_ptr, n, s, L(e));
650
- return v(r);
649
+ const n = J(t, o.__wbindgen_export3, o.__wbindgen_export4), s = x, r = o.ifcapi_parseToGpuGeometryAsync(this.__wbg_ptr, n, s, B(e));
650
+ return D(r);
651
651
  }
652
652
  parseMeshesInstancedAsync(t, e) {
653
- const n = q(t, o.__wbindgen_export3, o.__wbindgen_export4), s = O, r = o.ifcapi_parseMeshesInstancedAsync(this.__wbg_ptr, n, s, L(e));
654
- return v(r);
653
+ const n = J(t, o.__wbindgen_export3, o.__wbindgen_export4), s = x, r = o.ifcapi_parseMeshesInstancedAsync(this.__wbg_ptr, n, s, B(e));
654
+ return D(r);
655
655
  }
656
656
  parseToGpuInstancedGeometry(t) {
657
- const e = q(t, o.__wbindgen_export3, o.__wbindgen_export4), n = O, s = o.ifcapi_parseToGpuInstancedGeometry(this.__wbg_ptr, e, n);
657
+ const e = J(t, o.__wbindgen_export3, o.__wbindgen_export4), n = x, s = o.ifcapi_parseToGpuInstancedGeometry(this.__wbg_ptr, e, n);
658
658
  return zt.__wrap(s);
659
659
  }
660
660
  processInstancedGeometryBatch(t, e, n, s, r, a, c, l, d) {
661
- const _ = ct(t, o.__wbindgen_export3), f = O, p = at(e, o.__wbindgen_export3), g = O, u = at(l, o.__wbindgen_export3), y = O, m = ct(d, o.__wbindgen_export3), C = O, N = o.ifcapi_processInstancedGeometryBatch(this.__wbg_ptr, _, f, p, g, n, s, r, a, c, u, y, m, C);
662
- return Rt.__wrap(N);
661
+ const _ = lt(t, o.__wbindgen_export3), f = x, p = ct(e, o.__wbindgen_export3), g = x, u = ct(l, o.__wbindgen_export3), h = x, b = lt(d, o.__wbindgen_export3), C = x, w = o.ifcapi_processInstancedGeometryBatch(this.__wbg_ptr, _, f, p, g, n, s, r, a, c, u, h, b, C);
662
+ return Rt.__wrap(w);
663
663
  }
664
664
  parseZeroCopy(t) {
665
- const e = q(t, o.__wbindgen_export3, o.__wbindgen_export4), n = O, s = o.ifcapi_parseZeroCopy(this.__wbg_ptr, e, n);
666
- return Zt.__wrap(s);
665
+ const e = J(t, o.__wbindgen_export3, o.__wbindgen_export4), n = x, s = o.ifcapi_parseZeroCopy(this.__wbg_ptr, e, n);
666
+ return Kt.__wrap(s);
667
667
  }
668
668
  extractProfiles(t, e) {
669
- const n = q(t, o.__wbindgen_export3, o.__wbindgen_export4), s = O, r = o.ifcapi_extractProfiles(this.__wbg_ptr, n, s, e);
669
+ const n = J(t, o.__wbindgen_export3, o.__wbindgen_export4), s = x, r = o.ifcapi_extractProfiles(this.__wbg_ptr, n, s, e);
670
670
  return Yt.__wrap(r);
671
671
  }
672
672
  debugProcessEntity953(t) {
673
673
  let e, n;
674
674
  try {
675
- const a = o.__wbindgen_add_to_stack_pointer(-16), c = q(t, o.__wbindgen_export3, o.__wbindgen_export4), l = O;
675
+ const a = o.__wbindgen_add_to_stack_pointer(-16), c = J(t, o.__wbindgen_export3, o.__wbindgen_export4), l = x;
676
676
  o.ifcapi_debugProcessEntity953(a, this.__wbg_ptr, c, l);
677
- var s = R().getInt32(a + 0, !0), r = R().getInt32(a + 4, !0);
678
- return e = s, n = r, K(s, r);
677
+ var s = S().getInt32(a + 0, !0), r = S().getInt32(a + 4, !0);
678
+ return e = s, n = r, tt(s, r);
679
679
  } finally{
680
680
  o.__wbindgen_add_to_stack_pointer(16), o.__wbindgen_export2(e, n, 1);
681
681
  }
@@ -683,20 +683,20 @@ let __tla = Promise.all([
683
683
  debugProcessFirstWall(t) {
684
684
  let e, n;
685
685
  try {
686
- const a = o.__wbindgen_add_to_stack_pointer(-16), c = q(t, o.__wbindgen_export3, o.__wbindgen_export4), l = O;
686
+ const a = o.__wbindgen_add_to_stack_pointer(-16), c = J(t, o.__wbindgen_export3, o.__wbindgen_export4), l = x;
687
687
  o.ifcapi_debugProcessFirstWall(a, this.__wbg_ptr, c, l);
688
- var s = R().getInt32(a + 0, !0), r = R().getInt32(a + 4, !0);
689
- return e = s, n = r, K(s, r);
688
+ var s = S().getInt32(a + 0, !0), r = S().getInt32(a + 4, !0);
689
+ return e = s, n = r, tt(s, r);
690
690
  } finally{
691
691
  o.__wbindgen_add_to_stack_pointer(16), o.__wbindgen_export2(e, n, 1);
692
692
  }
693
693
  }
694
694
  getMemory() {
695
695
  const t = o.ifcapi_getMemory(this.__wbg_ptr);
696
- return v(t);
696
+ return D(t);
697
697
  }
698
698
  setEntityIndex(t, e, n) {
699
- const s = at(t, o.__wbindgen_export3), r = O, a = at(e, o.__wbindgen_export3), c = O, l = at(n, o.__wbindgen_export3), d = O;
699
+ const s = ct(t, o.__wbindgen_export3), r = x, a = ct(e, o.__wbindgen_export3), c = x, l = ct(n, o.__wbindgen_export3), d = x;
700
700
  o.ifcapi_setEntityIndex(this.__wbg_ptr, s, r, a, c, l, d);
701
701
  }
702
702
  setMergeLayers(t) {
@@ -714,8 +714,8 @@ let __tla = Promise.all([
714
714
  try {
715
715
  const r = o.__wbindgen_add_to_stack_pointer(-16);
716
716
  o.ifcapi_version(r, this.__wbg_ptr);
717
- var n = R().getInt32(r + 0, !0), s = R().getInt32(r + 4, !0);
718
- return t = n, e = s, K(n, s);
717
+ var n = S().getInt32(r + 0, !0), s = S().getInt32(r + 4, !0);
718
+ return t = n, e = s, tt(n, s);
719
719
  } finally{
720
720
  o.__wbindgen_add_to_stack_pointer(16), o.__wbindgen_export2(t, e, 1);
721
721
  }
@@ -724,40 +724,40 @@ let __tla = Promise.all([
724
724
  return o.ifcapi_is_ready(this.__wbg_ptr) !== 0;
725
725
  }
726
726
  getGeoReference(t) {
727
- const e = q(t, o.__wbindgen_export3, o.__wbindgen_export4), n = O, s = o.ifcapi_getGeoReference(this.__wbg_ptr, e, n);
727
+ const e = J(t, o.__wbindgen_export3, o.__wbindgen_export4), n = x, s = o.ifcapi_getGeoReference(this.__wbg_ptr, e, n);
728
728
  return s === 0 ? void 0 : Gt.__wrap(s);
729
729
  }
730
730
  parseMeshesWithRtc(t) {
731
- const e = q(t, o.__wbindgen_export3, o.__wbindgen_export4), n = O, s = o.ifcapi_parseMeshesWithRtc(this.__wbg_ptr, e, n);
731
+ const e = J(t, o.__wbindgen_export3, o.__wbindgen_export4), n = x, s = o.ifcapi_parseMeshesWithRtc(this.__wbg_ptr, e, n);
732
732
  return Wt.__wrap(s);
733
733
  }
734
734
  parseStreaming(t, e) {
735
- const n = q(t, o.__wbindgen_export3, o.__wbindgen_export4), s = O, r = o.ifcapi_parseStreaming(this.__wbg_ptr, n, s, L(e));
736
- return v(r);
735
+ const n = J(t, o.__wbindgen_export3, o.__wbindgen_export4), s = x, r = o.ifcapi_parseStreaming(this.__wbg_ptr, n, s, B(e));
736
+ return D(r);
737
737
  }
738
738
  scanEntitiesFast(t) {
739
- const e = q(t, o.__wbindgen_export3, o.__wbindgen_export4), n = O, s = o.ifcapi_scanEntitiesFast(this.__wbg_ptr, e, n);
740
- return v(s);
739
+ const e = J(t, o.__wbindgen_export3, o.__wbindgen_export4), n = x, s = o.ifcapi_scanEntitiesFast(this.__wbg_ptr, e, n);
740
+ return D(s);
741
741
  }
742
742
  scanEntitiesFastBytes(t) {
743
- const e = ct(t, o.__wbindgen_export3), n = O, s = o.ifcapi_scanEntitiesFastBytes(this.__wbg_ptr, e, n);
744
- return v(s);
743
+ const e = lt(t, o.__wbindgen_export3), n = x, s = o.ifcapi_scanEntitiesFastBytes(this.__wbg_ptr, e, n);
744
+ return D(s);
745
745
  }
746
746
  scanGeometryEntitiesFast(t) {
747
- const e = q(t, o.__wbindgen_export3, o.__wbindgen_export4), n = O, s = o.ifcapi_scanGeometryEntitiesFast(this.__wbg_ptr, e, n);
748
- return v(s);
747
+ const e = J(t, o.__wbindgen_export3, o.__wbindgen_export4), n = x, s = o.ifcapi_scanGeometryEntitiesFast(this.__wbg_ptr, e, n);
748
+ return D(s);
749
749
  }
750
750
  scanRelevantEntitiesFastBytes(t) {
751
- const e = ct(t, o.__wbindgen_export3), n = O, s = o.ifcapi_scanRelevantEntitiesFastBytes(this.__wbg_ptr, e, n);
752
- return v(s);
751
+ const e = lt(t, o.__wbindgen_export3), n = x, s = o.ifcapi_scanRelevantEntitiesFastBytes(this.__wbg_ptr, e, n);
752
+ return D(s);
753
753
  }
754
754
  parse(t) {
755
- const e = q(t, o.__wbindgen_export3, o.__wbindgen_export4), n = O, s = o.ifcapi_parse(this.__wbg_ptr, e, n);
756
- return v(s);
755
+ const e = J(t, o.__wbindgen_export3, o.__wbindgen_export4), n = x, s = o.ifcapi_parse(this.__wbg_ptr, e, n);
756
+ return D(s);
757
757
  }
758
758
  parseSymbolicRepresentations(t) {
759
- const e = q(t, o.__wbindgen_export3, o.__wbindgen_export4), n = O, s = o.ifcapi_parseSymbolicRepresentations(this.__wbg_ptr, e, n);
760
- return Qt.__wrap(s);
759
+ const e = J(t, o.__wbindgen_export3, o.__wbindgen_export4), n = x, s = o.ifcapi_parseSymbolicRepresentations(this.__wbg_ptr, e, n);
760
+ return qt.__wrap(s);
761
761
  }
762
762
  };
763
763
  Symbol.dispose && (Ee.prototype[Symbol.dispose] = Ee.prototype.free);
@@ -782,7 +782,7 @@ let __tla = Promise.all([
782
782
  try {
783
783
  const s = o.__wbindgen_add_to_stack_pointer(-16);
784
784
  o.instancedata_color(s, this.__wbg_ptr);
785
- var t = R().getInt32(s + 0, !0), e = R().getInt32(s + 4, !0), n = pt(t, e).slice();
785
+ var t = S().getInt32(s + 0, !0), e = S().getInt32(s + 4, !0), n = gt(t, e).slice();
786
786
  return o.__wbindgen_export2(t, e * 4, 4), n;
787
787
  } finally{
788
788
  o.__wbindgen_add_to_stack_pointer(16);
@@ -790,7 +790,7 @@ let __tla = Promise.all([
790
790
  }
791
791
  get transform() {
792
792
  const t = o.instancedata_transform(this.__wbg_ptr);
793
- return v(t);
793
+ return D(t);
794
794
  }
795
795
  }
796
796
  Symbol.dispose && (kt.prototype[Symbol.dispose] = kt.prototype.free);
@@ -798,11 +798,11 @@ let __tla = Promise.all([
798
798
  static __wrap(t) {
799
799
  t = t >>> 0;
800
800
  const e = Object.create(Ft.prototype);
801
- return e.__wbg_ptr = t, De.register(e, e.__wbg_ptr, e), e;
801
+ return e.__wbg_ptr = t, ve.register(e, e.__wbg_ptr, e), e;
802
802
  }
803
803
  __destroy_into_raw() {
804
804
  const t = this.__wbg_ptr;
805
- return this.__wbg_ptr = 0, De.unregister(this), t;
805
+ return this.__wbg_ptr = 0, ve.unregister(this), t;
806
806
  }
807
807
  free() {
808
808
  const t = this.__destroy_into_raw();
@@ -821,15 +821,15 @@ let __tla = Promise.all([
821
821
  }
822
822
  get indices() {
823
823
  const t = o.instancedgeometry_indices(this.__wbg_ptr);
824
- return v(t);
824
+ return D(t);
825
825
  }
826
826
  get normals() {
827
827
  const t = o.instancedgeometry_normals(this.__wbg_ptr);
828
- return v(t);
828
+ return D(t);
829
829
  }
830
830
  get positions() {
831
831
  const t = o.instancedgeometry_positions(this.__wbg_ptr);
832
- return v(t);
832
+ return D(t);
833
833
  }
834
834
  }
835
835
  Symbol.dispose && (Ft.prototype[Symbol.dispose] = Ft.prototype.free);
@@ -837,11 +837,11 @@ let __tla = Promise.all([
837
837
  static __wrap(t) {
838
838
  t = t >>> 0;
839
839
  const e = Object.create(Rt.prototype);
840
- return e.__wbg_ptr = t, ve.register(e, e.__wbg_ptr, e), e;
840
+ return e.__wbg_ptr = t, De.register(e, e.__wbg_ptr, e), e;
841
841
  }
842
842
  __destroy_into_raw() {
843
843
  const t = this.__wbg_ptr;
844
- return this.__wbg_ptr = 0, ve.unregister(this), t;
844
+ return this.__wbg_ptr = 0, De.unregister(this), t;
845
845
  }
846
846
  free() {
847
847
  const t = this.__destroy_into_raw();
@@ -862,10 +862,10 @@ let __tla = Promise.all([
862
862
  }
863
863
  }
864
864
  Symbol.dispose && (Rt.prototype[Symbol.dispose] = Rt.prototype.free);
865
- class dt {
865
+ class _t {
866
866
  static __wrap(t) {
867
867
  t = t >>> 0;
868
- const e = Object.create(dt.prototype);
868
+ const e = Object.create(_t.prototype);
869
869
  return e.__wbg_ptr = t, Ge.register(e, e.__wbg_ptr, e), e;
870
870
  }
871
871
  __destroy_into_raw() {
@@ -892,7 +892,7 @@ let __tla = Promise.all([
892
892
  try {
893
893
  const c = o.__wbindgen_add_to_stack_pointer(-16);
894
894
  o.meshcollection_localToWorld(c, this.__wbg_ptr, t, e, n);
895
- var s = R().getInt32(c + 0, !0), r = R().getInt32(c + 4, !0), a = Bt(s, r).slice();
895
+ var s = S().getInt32(c + 0, !0), r = S().getInt32(c + 4, !0), a = Bt(s, r).slice();
896
896
  return o.__wbindgen_export2(s, r * 8, 8), a;
897
897
  } finally{
898
898
  o.__wbindgen_add_to_stack_pointer(16);
@@ -908,7 +908,7 @@ let __tla = Promise.all([
908
908
  try {
909
909
  const n = o.__wbindgen_add_to_stack_pointer(-16);
910
910
  o.meshcollection_buildingRotation(n, this.__wbg_ptr);
911
- var t = R().getInt32(n + 0, !0), e = R().getFloat64(n + 8, !0);
911
+ var t = S().getInt32(n + 0, !0), e = S().getFloat64(n + 8, !0);
912
912
  return t === 0 ? void 0 : e;
913
913
  } finally{
914
914
  o.__wbindgen_add_to_stack_pointer(16);
@@ -916,13 +916,13 @@ let __tla = Promise.all([
916
916
  }
917
917
  get(t) {
918
918
  const e = o.meshcollection_get(this.__wbg_ptr, t);
919
- return e === 0 ? void 0 : gt.__wrap(e);
919
+ return e === 0 ? void 0 : ht.__wrap(e);
920
920
  }
921
921
  get length() {
922
922
  return o.meshcollection_length(this.__wbg_ptr) >>> 0;
923
923
  }
924
924
  }
925
- Symbol.dispose && (dt.prototype[Symbol.dispose] = dt.prototype.free);
925
+ Symbol.dispose && (_t.prototype[Symbol.dispose] = _t.prototype.free);
926
926
  class Wt {
927
927
  static __wrap(t) {
928
928
  t = t >>> 0;
@@ -943,21 +943,21 @@ let __tla = Promise.all([
943
943
  }
944
944
  get(t) {
945
945
  const e = o.meshcollectionwithrtc_get(this.__wbg_ptr, t);
946
- return e === 0 ? void 0 : gt.__wrap(e);
946
+ return e === 0 ? void 0 : ht.__wrap(e);
947
947
  }
948
948
  get length() {
949
949
  return o.meshcollection_length(this.__wbg_ptr) >>> 0;
950
950
  }
951
951
  get meshes() {
952
952
  const t = o.meshcollectionwithrtc_meshes(this.__wbg_ptr);
953
- return dt.__wrap(t);
953
+ return _t.__wrap(t);
954
954
  }
955
955
  }
956
956
  Symbol.dispose && (Wt.prototype[Symbol.dispose] = Wt.prototype.free);
957
- class gt {
957
+ class ht {
958
958
  static __wrap(t) {
959
959
  t = t >>> 0;
960
- const e = Object.create(gt.prototype);
960
+ const e = Object.create(ht.prototype);
961
961
  return e.__wbg_ptr = t, ze.register(e, e.__wbg_ptr, e), e;
962
962
  }
963
963
  __destroy_into_raw() {
@@ -981,7 +981,7 @@ let __tla = Promise.all([
981
981
  try {
982
982
  const s = o.__wbindgen_add_to_stack_pointer(-16);
983
983
  o.meshdatajs_color(s, this.__wbg_ptr);
984
- var t = R().getInt32(s + 0, !0), e = R().getInt32(s + 4, !0), n = pt(t, e).slice();
984
+ var t = S().getInt32(s + 0, !0), e = S().getInt32(s + 4, !0), n = gt(t, e).slice();
985
985
  return o.__wbindgen_export2(t, e * 4, 4), n;
986
986
  } finally{
987
987
  o.__wbindgen_add_to_stack_pointer(16);
@@ -989,29 +989,29 @@ let __tla = Promise.all([
989
989
  }
990
990
  get indices() {
991
991
  const t = o.meshdatajs_indices(this.__wbg_ptr);
992
- return v(t);
992
+ return D(t);
993
993
  }
994
994
  get normals() {
995
995
  const t = o.meshdatajs_normals(this.__wbg_ptr);
996
- return v(t);
996
+ return D(t);
997
997
  }
998
998
  get ifcType() {
999
999
  let t, e;
1000
1000
  try {
1001
1001
  const r = o.__wbindgen_add_to_stack_pointer(-16);
1002
1002
  o.meshdatajs_ifcType(r, this.__wbg_ptr);
1003
- var n = R().getInt32(r + 0, !0), s = R().getInt32(r + 4, !0);
1004
- return t = n, e = s, K(n, s);
1003
+ var n = S().getInt32(r + 0, !0), s = S().getInt32(r + 4, !0);
1004
+ return t = n, e = s, tt(n, s);
1005
1005
  } finally{
1006
1006
  o.__wbindgen_add_to_stack_pointer(16), o.__wbindgen_export2(t, e, 1);
1007
1007
  }
1008
1008
  }
1009
1009
  get positions() {
1010
1010
  const t = o.meshdatajs_positions(this.__wbg_ptr);
1011
- return v(t);
1011
+ return D(t);
1012
1012
  }
1013
1013
  }
1014
- Symbol.dispose && (gt.prototype[Symbol.dispose] = gt.prototype.free);
1014
+ Symbol.dispose && (ht.prototype[Symbol.dispose] = ht.prototype.free);
1015
1015
  class Yt {
1016
1016
  static __wrap(t) {
1017
1017
  t = t >>> 0;
@@ -1054,22 +1054,22 @@ let __tla = Promise.all([
1054
1054
  }
1055
1055
  get holeCounts() {
1056
1056
  const t = o.profileentryjs_holeCounts(this.__wbg_ptr);
1057
- return v(t);
1057
+ return D(t);
1058
1058
  }
1059
1059
  get holePoints() {
1060
1060
  const t = o.profileentryjs_holePoints(this.__wbg_ptr);
1061
- return v(t);
1061
+ return D(t);
1062
1062
  }
1063
1063
  get modelIndex() {
1064
1064
  return o.profileentryjs_modelIndex(this.__wbg_ptr) >>> 0;
1065
1065
  }
1066
1066
  get outerPoints() {
1067
1067
  const t = o.profileentryjs_outerPoints(this.__wbg_ptr);
1068
- return v(t);
1068
+ return D(t);
1069
1069
  }
1070
1070
  get extrusionDir() {
1071
1071
  const t = o.profileentryjs_extrusionDir(this.__wbg_ptr);
1072
- return v(t);
1072
+ return D(t);
1073
1073
  }
1074
1074
  get extrusionDepth() {
1075
1075
  return o.profileentryjs_extrusionDepth(this.__wbg_ptr);
@@ -1079,15 +1079,15 @@ let __tla = Promise.all([
1079
1079
  try {
1080
1080
  const r = o.__wbindgen_add_to_stack_pointer(-16);
1081
1081
  o.profileentryjs_ifcType(r, this.__wbg_ptr);
1082
- var n = R().getInt32(r + 0, !0), s = R().getInt32(r + 4, !0);
1083
- return t = n, e = s, K(n, s);
1082
+ var n = S().getInt32(r + 0, !0), s = S().getInt32(r + 4, !0);
1083
+ return t = n, e = s, tt(n, s);
1084
1084
  } finally{
1085
1085
  o.__wbindgen_add_to_stack_pointer(16), o.__wbindgen_export2(t, e, 1);
1086
1086
  }
1087
1087
  }
1088
1088
  get transform() {
1089
1089
  const t = o.profileentryjs_transform(this.__wbg_ptr);
1090
- return v(t);
1090
+ return D(t);
1091
1091
  }
1092
1092
  }
1093
1093
  Symbol.dispose && (Ht.prototype[Symbol.dispose] = Ht.prototype.free);
@@ -1112,7 +1112,7 @@ let __tla = Promise.all([
1112
1112
  try {
1113
1113
  const c = o.__wbindgen_add_to_stack_pointer(-16);
1114
1114
  o.rtcoffsetjs_toWorld(c, this.__wbg_ptr, t, e, n);
1115
- var s = R().getInt32(c + 0, !0), r = R().getInt32(c + 4, !0), a = Bt(s, r).slice();
1115
+ var s = S().getInt32(c + 0, !0), r = S().getInt32(c + 4, !0), a = Bt(s, r).slice();
1116
1116
  return o.__wbindgen_export2(s, r * 8, 8), a;
1117
1117
  } finally{
1118
1118
  o.__wbindgen_add_to_stack_pointer(16);
@@ -1166,8 +1166,8 @@ let __tla = Promise.all([
1166
1166
  try {
1167
1167
  const r = o.__wbindgen_add_to_stack_pointer(-16);
1168
1168
  o.symboliccircle_repIdentifier(r, this.__wbg_ptr);
1169
- var n = R().getInt32(r + 0, !0), s = R().getInt32(r + 4, !0);
1170
- return t = n, e = s, K(n, s);
1169
+ var n = S().getInt32(r + 0, !0), s = S().getInt32(r + 4, !0);
1170
+ return t = n, e = s, tt(n, s);
1171
1171
  } finally{
1172
1172
  o.__wbindgen_add_to_stack_pointer(16), o.__wbindgen_export2(t, e, 1);
1173
1173
  }
@@ -1186,8 +1186,8 @@ let __tla = Promise.all([
1186
1186
  try {
1187
1187
  const r = o.__wbindgen_add_to_stack_pointer(-16);
1188
1188
  o.symboliccircle_ifcType(r, this.__wbg_ptr);
1189
- var n = R().getInt32(r + 0, !0), s = R().getInt32(r + 4, !0);
1190
- return t = n, e = s, K(n, s);
1189
+ var n = S().getInt32(r + 0, !0), s = S().getInt32(r + 4, !0);
1190
+ return t = n, e = s, tt(n, s);
1191
1191
  } finally{
1192
1192
  o.__wbindgen_add_to_stack_pointer(16), o.__wbindgen_export2(t, e, 1);
1193
1193
  }
@@ -1197,10 +1197,10 @@ let __tla = Promise.all([
1197
1197
  }
1198
1198
  }
1199
1199
  Symbol.dispose && (Jt.prototype[Symbol.dispose] = Jt.prototype.free);
1200
- class qt {
1200
+ class Qt {
1201
1201
  static __wrap(t) {
1202
1202
  t = t >>> 0;
1203
- const e = Object.create(qt.prototype);
1203
+ const e = Object.create(Qt.prototype);
1204
1204
  return e.__wbg_ptr = t, Ye.register(e, e.__wbg_ptr, e), e;
1205
1205
  }
1206
1206
  __destroy_into_raw() {
@@ -1222,23 +1222,23 @@ let __tla = Promise.all([
1222
1222
  try {
1223
1223
  const r = o.__wbindgen_add_to_stack_pointer(-16);
1224
1224
  o.symbolicpolyline_repIdentifier(r, this.__wbg_ptr);
1225
- var n = R().getInt32(r + 0, !0), s = R().getInt32(r + 4, !0);
1226
- return t = n, e = s, K(n, s);
1225
+ var n = S().getInt32(r + 0, !0), s = S().getInt32(r + 4, !0);
1226
+ return t = n, e = s, tt(n, s);
1227
1227
  } finally{
1228
1228
  o.__wbindgen_add_to_stack_pointer(16), o.__wbindgen_export2(t, e, 1);
1229
1229
  }
1230
1230
  }
1231
1231
  get points() {
1232
1232
  const t = o.symbolicpolyline_points(this.__wbg_ptr);
1233
- return v(t);
1233
+ return D(t);
1234
1234
  }
1235
1235
  get ifcType() {
1236
1236
  let t, e;
1237
1237
  try {
1238
1238
  const r = o.__wbindgen_add_to_stack_pointer(-16);
1239
1239
  o.symbolicpolyline_ifcType(r, this.__wbg_ptr);
1240
- var n = R().getInt32(r + 0, !0), s = R().getInt32(r + 4, !0);
1241
- return t = n, e = s, K(n, s);
1240
+ var n = S().getInt32(r + 0, !0), s = S().getInt32(r + 4, !0);
1241
+ return t = n, e = s, tt(n, s);
1242
1242
  } finally{
1243
1243
  o.__wbindgen_add_to_stack_pointer(16), o.__wbindgen_export2(t, e, 1);
1244
1244
  }
@@ -1247,11 +1247,11 @@ let __tla = Promise.all([
1247
1247
  return o.symbolicpolyline_isClosed(this.__wbg_ptr) !== 0;
1248
1248
  }
1249
1249
  }
1250
- Symbol.dispose && (qt.prototype[Symbol.dispose] = qt.prototype.free);
1251
- class Qt {
1250
+ Symbol.dispose && (Qt.prototype[Symbol.dispose] = Qt.prototype.free);
1251
+ class qt {
1252
1252
  static __wrap(t) {
1253
1253
  t = t >>> 0;
1254
- const e = Object.create(Qt.prototype);
1254
+ const e = Object.create(qt.prototype);
1255
1255
  return e.__wbg_ptr = t, He.register(e, e.__wbg_ptr, e), e;
1256
1256
  }
1257
1257
  __destroy_into_raw() {
@@ -1274,7 +1274,7 @@ let __tla = Promise.all([
1274
1274
  }
1275
1275
  getPolyline(t) {
1276
1276
  const e = o.symbolicrepresentationcollection_getPolyline(this.__wbg_ptr, t);
1277
- return e === 0 ? void 0 : qt.__wrap(e);
1277
+ return e === 0 ? void 0 : Qt.__wrap(e);
1278
1278
  }
1279
1279
  get polylineCount() {
1280
1280
  return o.symbolicrepresentationcollection_polylineCount(this.__wbg_ptr) >>> 0;
@@ -1283,7 +1283,7 @@ let __tla = Promise.all([
1283
1283
  try {
1284
1284
  const s = o.__wbindgen_add_to_stack_pointer(-16);
1285
1285
  o.symbolicrepresentationcollection_getExpressIds(s, this.__wbg_ptr);
1286
- var t = R().getInt32(s + 0, !0), e = R().getInt32(s + 4, !0), n = cn(t, e).slice();
1286
+ var t = S().getInt32(s + 0, !0), e = S().getInt32(s + 4, !0), n = cn(t, e).slice();
1287
1287
  return o.__wbindgen_export2(t, e * 4, 4), n;
1288
1288
  } finally{
1289
1289
  o.__wbindgen_add_to_stack_pointer(16);
@@ -1293,11 +1293,11 @@ let __tla = Promise.all([
1293
1293
  return o.symbolicrepresentationcollection_isEmpty(this.__wbg_ptr) !== 0;
1294
1294
  }
1295
1295
  }
1296
- Symbol.dispose && (Qt.prototype[Symbol.dispose] = Qt.prototype.free);
1297
- class Zt {
1296
+ Symbol.dispose && (qt.prototype[Symbol.dispose] = qt.prototype.free);
1297
+ class Kt {
1298
1298
  static __wrap(t) {
1299
1299
  t = t >>> 0;
1300
- const e = Object.create(Zt.prototype);
1300
+ const e = Object.create(Kt.prototype);
1301
1301
  return e.__wbg_ptr = t, fe.register(e, e.__wbg_ptr, e), e;
1302
1302
  }
1303
1303
  __destroy_into_raw() {
@@ -1312,7 +1312,7 @@ let __tla = Promise.all([
1312
1312
  try {
1313
1313
  const s = o.__wbindgen_add_to_stack_pointer(-16);
1314
1314
  o.zerocopymesh_bounds_max(s, this.__wbg_ptr);
1315
- var t = R().getInt32(s + 0, !0), e = R().getInt32(s + 4, !0), n = pt(t, e).slice();
1315
+ var t = S().getInt32(s + 0, !0), e = S().getInt32(s + 4, !0), n = gt(t, e).slice();
1316
1316
  return o.__wbindgen_export2(t, e * 4, 4), n;
1317
1317
  } finally{
1318
1318
  o.__wbindgen_add_to_stack_pointer(16);
@@ -1322,7 +1322,7 @@ let __tla = Promise.all([
1322
1322
  try {
1323
1323
  const s = o.__wbindgen_add_to_stack_pointer(-16);
1324
1324
  o.zerocopymesh_bounds_min(s, this.__wbg_ptr);
1325
- var t = R().getInt32(s + 0, !0), e = R().getInt32(s + 4, !0), n = pt(t, e).slice();
1325
+ var t = S().getInt32(s + 0, !0), e = S().getInt32(s + 4, !0), n = gt(t, e).slice();
1326
1326
  return o.__wbindgen_export2(t, e * 4, 4), n;
1327
1327
  } finally{
1328
1328
  o.__wbindgen_add_to_stack_pointer(16);
@@ -1360,8 +1360,8 @@ let __tla = Promise.all([
1360
1360
  return o.zerocopymesh_is_empty(this.__wbg_ptr) !== 0;
1361
1361
  }
1362
1362
  }
1363
- Symbol.dispose && (Zt.prototype[Symbol.dispose] = Zt.prototype.free);
1364
- const On = new Set([
1363
+ Symbol.dispose && (Kt.prototype[Symbol.dispose] = Kt.prototype.free);
1364
+ const xn = new Set([
1365
1365
  "basic",
1366
1366
  "cors",
1367
1367
  "default"
@@ -1371,7 +1371,7 @@ let __tla = Promise.all([
1371
1371
  if (typeof WebAssembly.instantiateStreaming == "function") try {
1372
1372
  return await WebAssembly.instantiateStreaming(i, t);
1373
1373
  } catch (n) {
1374
- if (i.ok && On.has(i.type) && i.headers.get("Content-Type") !== "application/wasm") console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", n);
1374
+ if (i.ok && xn.has(i.type) && i.headers.get("Content-Type") !== "application/wasm") console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", n);
1375
1375
  else throw n;
1376
1376
  }
1377
1377
  const e = await i.arrayBuffer();
@@ -1387,75 +1387,75 @@ let __tla = Promise.all([
1387
1387
  function Ln() {
1388
1388
  const i = {};
1389
1389
  return i.wbg = {}, i.wbg.__wbg_Error_52673b7de5a0ca89 = function(t, e) {
1390
- const n = Error(K(t, e));
1391
- return L(n);
1390
+ const n = Error(tt(t, e));
1391
+ return B(n);
1392
1392
  }, i.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(t) {
1393
- return typeof M(t) == "function";
1393
+ return typeof L(t) == "function";
1394
1394
  }, i.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(t) {
1395
- return M(t) === void 0;
1395
+ return L(t) === void 0;
1396
1396
  }, i.wbg.__wbg___wbindgen_memory_a342e963fbcabd68 = function() {
1397
1397
  const t = o.memory;
1398
- return L(t);
1398
+ return B(t);
1399
1399
  }, i.wbg.__wbg___wbindgen_number_get_9619185a74197f95 = function(t, e) {
1400
- const n = M(e), s = typeof n == "number" ? n : void 0;
1401
- R().setFloat64(t + 8, wt(s) ? 0 : s, !0), R().setInt32(t + 0, !wt(s), !0);
1400
+ const n = L(e), s = typeof n == "number" ? n : void 0;
1401
+ S().setFloat64(t + 8, wt(s) ? 0 : s, !0), S().setInt32(t + 0, !wt(s), !0);
1402
1402
  }, i.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e = function(t, e) {
1403
- throw new Error(K(t, e));
1403
+ throw new Error(tt(t, e));
1404
1404
  }, i.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7 = function(t) {
1405
- M(t)._wbg_cb_unref();
1405
+ L(t)._wbg_cb_unref();
1406
1406
  }, i.wbg.__wbg_call_3020136f7a2d6e44 = function() {
1407
1407
  return Nt(function(t, e, n) {
1408
- const s = M(t).call(M(e), M(n));
1409
- return L(s);
1408
+ const s = L(t).call(L(e), L(n));
1409
+ return B(s);
1410
1410
  }, arguments);
1411
1411
  }, i.wbg.__wbg_call_abb4ff46ce38be40 = function() {
1412
1412
  return Nt(function(t, e) {
1413
- const n = M(t).call(M(e));
1414
- return L(n);
1413
+ const n = L(t).call(L(e));
1414
+ return B(n);
1415
1415
  }, arguments);
1416
1416
  }, i.wbg.__wbg_call_c8baa5c5e72d274e = function() {
1417
1417
  return Nt(function(t, e, n, s) {
1418
- const r = M(t).call(M(e), M(n), M(s));
1419
- return L(r);
1418
+ const r = L(t).call(L(e), L(n), L(s));
1419
+ return B(r);
1420
1420
  }, arguments);
1421
1421
  }, i.wbg.__wbg_debug_9d0c87ddda3dc485 = function(t) {
1422
- console.debug(M(t));
1422
+ console.debug(L(t));
1423
1423
  }, i.wbg.__wbg_error_7534b8e9a36f1ab4 = function(t, e) {
1424
1424
  let n, s;
1425
1425
  try {
1426
- n = t, s = e, console.error(K(t, e));
1426
+ n = t, s = e, console.error(tt(t, e));
1427
1427
  } finally{
1428
1428
  o.__wbindgen_export2(n, s, 1);
1429
1429
  }
1430
1430
  }, i.wbg.__wbg_get_af9dab7e9603ea93 = function() {
1431
1431
  return Nt(function(t, e) {
1432
- const n = Reflect.get(M(t), M(e));
1433
- return L(n);
1432
+ const n = Reflect.get(L(t), L(e));
1433
+ return B(n);
1434
1434
  }, arguments);
1435
1435
  }, i.wbg.__wbg_gpugeometry_new = function(t) {
1436
1436
  const e = Tt.__wrap(t);
1437
- return L(e);
1437
+ return B(e);
1438
1438
  }, i.wbg.__wbg_info_ce6bcc489c22f6f0 = function(t) {
1439
- console.info(M(t));
1439
+ console.info(L(t));
1440
1440
  }, i.wbg.__wbg_instancedgeometry_new = function(t) {
1441
1441
  const e = Ft.__wrap(t);
1442
- return L(e);
1442
+ return B(e);
1443
1443
  }, i.wbg.__wbg_length_86ce4877baf913bb = function(t) {
1444
- return M(t).length;
1444
+ return L(t).length;
1445
1445
  }, i.wbg.__wbg_length_d45040a40c570362 = function(t) {
1446
- return M(t).length;
1446
+ return L(t).length;
1447
1447
  }, i.wbg.__wbg_meshdatajs_new = function(t) {
1448
- const e = gt.__wrap(t);
1449
- return L(e);
1448
+ const e = ht.__wrap(t);
1449
+ return B(e);
1450
1450
  }, i.wbg.__wbg_new_1ba21ce319a06297 = function() {
1451
1451
  const t = new Object;
1452
- return L(t);
1452
+ return B(t);
1453
1453
  }, i.wbg.__wbg_new_25f239778d6112b9 = function() {
1454
1454
  const t = new Array;
1455
- return L(t);
1455
+ return B(t);
1456
1456
  }, i.wbg.__wbg_new_8a6f238a6ece86ea = function() {
1457
1457
  const t = new Error;
1458
- return L(t);
1458
+ return B(t);
1459
1459
  }, i.wbg.__wbg_new_ff12d2b041fb48f1 = function(t, e) {
1460
1460
  try {
1461
1461
  var n = {
@@ -1465,110 +1465,110 @@ let __tla = Promise.all([
1465
1465
  const l = n.a;
1466
1466
  n.a = 0;
1467
1467
  try {
1468
- return xn(l, n.b, a, c);
1468
+ return On(l, n.b, a, c);
1469
1469
  } finally{
1470
1470
  n.a = l;
1471
1471
  }
1472
1472
  };
1473
1473
  const r = new Promise(s);
1474
- return L(r);
1474
+ return B(r);
1475
1475
  } finally{
1476
1476
  n.a = n.b = 0;
1477
1477
  }
1478
1478
  }, i.wbg.__wbg_new_from_slice_41e2764a343e3cb1 = function(t, e) {
1479
- const n = new Float32Array(pt(t, e));
1480
- return L(n);
1479
+ const n = new Float32Array(gt(t, e));
1480
+ return B(n);
1481
1481
  }, i.wbg.__wbg_new_from_slice_db0691b69e9d3891 = function(t, e) {
1482
1482
  const n = new Uint32Array(cn(t, e));
1483
- return L(n);
1483
+ return B(n);
1484
1484
  }, i.wbg.__wbg_new_no_args_cb138f77cf6151ee = function(t, e) {
1485
- const n = new Function(K(t, e));
1486
- return L(n);
1485
+ const n = new Function(tt(t, e));
1486
+ return B(n);
1487
1487
  }, i.wbg.__wbg_new_with_length_202b3db94ba5fc86 = function(t) {
1488
1488
  const e = new Uint32Array(t >>> 0);
1489
- return L(e);
1489
+ return B(e);
1490
1490
  }, i.wbg.__wbg_new_with_length_806b9e5b8290af7c = function(t) {
1491
1491
  const e = new Float64Array(t >>> 0);
1492
- return L(e);
1492
+ return B(e);
1493
1493
  }, i.wbg.__wbg_new_with_length_aa5eaf41d35235e5 = function(t) {
1494
1494
  const e = new Uint8Array(t >>> 0);
1495
- return L(e);
1495
+ return B(e);
1496
1496
  }, i.wbg.__wbg_prototypesetcall_96cc7097487b926d = function(t, e, n) {
1497
- Float32Array.prototype.set.call(pt(t, e), M(n));
1497
+ Float32Array.prototype.set.call(gt(t, e), L(n));
1498
1498
  }, i.wbg.__wbg_push_7d9be8f38fc13975 = function(t, e) {
1499
- return M(t).push(M(e));
1499
+ return L(t).push(L(e));
1500
1500
  }, i.wbg.__wbg_queueMicrotask_9b549dfce8865860 = function(t) {
1501
- const e = M(t).queueMicrotask;
1502
- return L(e);
1501
+ const e = L(t).queueMicrotask;
1502
+ return B(e);
1503
1503
  }, i.wbg.__wbg_queueMicrotask_fca69f5bfad613a5 = function(t) {
1504
- queueMicrotask(M(t));
1504
+ queueMicrotask(L(t));
1505
1505
  }, i.wbg.__wbg_resolve_fd5bfbaa4ce36e1e = function(t) {
1506
- const e = Promise.resolve(M(t));
1507
- return L(e);
1506
+ const e = Promise.resolve(L(t));
1507
+ return B(e);
1508
1508
  }, i.wbg.__wbg_set_3f1d0b984ed272ed = function(t, e, n) {
1509
- M(t)[v(e)] = v(n);
1509
+ L(t)[D(e)] = D(n);
1510
1510
  }, i.wbg.__wbg_set_781438a03c0c3c81 = function() {
1511
1511
  return Nt(function(t, e, n) {
1512
- return Reflect.set(M(t), M(e), M(n));
1512
+ return Reflect.set(L(t), L(e), L(n));
1513
1513
  }, arguments);
1514
1514
  }, i.wbg.__wbg_set_7df433eea03a5c14 = function(t, e, n) {
1515
- M(t)[e >>> 0] = v(n);
1515
+ L(t)[e >>> 0] = D(n);
1516
1516
  }, i.wbg.__wbg_set_index_021489b2916af13e = function(t, e, n) {
1517
- M(t)[e >>> 0] = n;
1517
+ L(t)[e >>> 0] = n;
1518
1518
  }, i.wbg.__wbg_set_index_04c4b93e64d08a52 = function(t, e, n) {
1519
- M(t)[e >>> 0] = n;
1519
+ L(t)[e >>> 0] = n;
1520
1520
  }, i.wbg.__wbg_set_index_42abe35f117e614e = function(t, e, n) {
1521
- M(t)[e >>> 0] = n >>> 0;
1521
+ L(t)[e >>> 0] = n >>> 0;
1522
1522
  }, i.wbg.__wbg_stack_0ed75d68575b0f3c = function(t, e) {
1523
- const n = M(e).stack, s = q(n, o.__wbindgen_export3, o.__wbindgen_export4), r = O;
1524
- R().setInt32(t + 4, r, !0), R().setInt32(t + 0, s, !0);
1523
+ const n = L(e).stack, s = J(n, o.__wbindgen_export3, o.__wbindgen_export4), r = x;
1524
+ S().setInt32(t + 4, r, !0), S().setInt32(t + 0, s, !0);
1525
1525
  }, i.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function() {
1526
1526
  const t = typeof global > "u" ? null : global;
1527
- return wt(t) ? 0 : L(t);
1527
+ return wt(t) ? 0 : B(t);
1528
1528
  }, i.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function() {
1529
1529
  const t = typeof globalThis > "u" ? null : globalThis;
1530
- return wt(t) ? 0 : L(t);
1530
+ return wt(t) ? 0 : B(t);
1531
1531
  }, i.wbg.__wbg_static_accessor_SELF_08f5a74c69739274 = function() {
1532
1532
  const t = typeof self > "u" ? null : self;
1533
- return wt(t) ? 0 : L(t);
1533
+ return wt(t) ? 0 : B(t);
1534
1534
  }, i.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function() {
1535
1535
  const t = typeof window > "u" ? null : window;
1536
- return wt(t) ? 0 : L(t);
1536
+ return wt(t) ? 0 : B(t);
1537
1537
  }, i.wbg.__wbg_then_4f95312d68691235 = function(t, e) {
1538
- const n = M(t).then(M(e));
1539
- return L(n);
1538
+ const n = L(t).then(L(e));
1539
+ return B(n);
1540
1540
  }, i.wbg.__wbg_warn_6e567d0d926ff881 = function(t) {
1541
- console.warn(M(t));
1541
+ console.warn(L(t));
1542
1542
  }, i.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(t, e) {
1543
- const n = K(t, e);
1544
- return L(n);
1543
+ const n = tt(t, e);
1544
+ return B(n);
1545
1545
  }, i.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(t) {
1546
1546
  const e = BigInt.asUintN(64, t);
1547
- return L(e);
1548
- }, i.wbg.__wbindgen_cast_a7f9b7b12781c1bc = function(t, e) {
1549
- const n = Rn(t, e, o.__wasm_bindgen_func_elem_1273, An);
1550
- return L(n);
1547
+ return B(e);
1548
+ }, i.wbg.__wbindgen_cast_73cbb7b49382c492 = function(t, e) {
1549
+ const n = Rn(t, e, o.__wasm_bindgen_func_elem_1479, An);
1550
+ return B(n);
1551
1551
  }, i.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(t) {
1552
- return L(t);
1552
+ return B(t);
1553
1553
  }, i.wbg.__wbindgen_object_clone_ref = function(t) {
1554
- const e = M(t);
1555
- return L(e);
1554
+ const e = L(t);
1555
+ return B(e);
1556
1556
  }, i.wbg.__wbindgen_object_drop_ref = function(t) {
1557
- v(t);
1557
+ D(t);
1558
1558
  }, i;
1559
1559
  }
1560
1560
  function Bn(i, t) {
1561
- return o = i.exports, dn.__wbindgen_wasm_module = t, ut = null, xt = null, Ot = null, Mt = null, Lt = null, o.__wbindgen_start(), o;
1561
+ return o = i.exports, dn.__wbindgen_wasm_module = t, pt = null, Ot = null, xt = null, Mt = null, Lt = null, o.__wbindgen_start(), o;
1562
1562
  }
1563
1563
  dn = async function(i) {
1564
1564
  if (o !== void 0) return o;
1565
- typeof i < "u" && (Object.getPrototypeOf(i) === Object.prototype ? { module_or_path: i } = i : console.warn("using deprecated parameters for the initialization function; pass a single object instead")), typeof i > "u" && (i = new URL("/assets/ifc-lite_bg-CSeT3fNI.wasm", import.meta.url));
1565
+ typeof i < "u" && (Object.getPrototypeOf(i) === Object.prototype ? { module_or_path: i } = i : console.warn("using deprecated parameters for the initialization function; pass a single object instead")), typeof i > "u" && (i = new URL("/assets/ifc-lite_bg-B_eUD1Wy.wasm", import.meta.url));
1566
1566
  const t = Ln();
1567
1567
  (typeof i == "string" || typeof Request == "function" && i instanceof Request || typeof URL == "function" && i instanceof URL) && (i = fetch(i));
1568
1568
  const { instance: e, module: n } = await Mn(await i, t);
1569
1569
  return Bn(e, n);
1570
1570
  };
1571
- const Q = on("Geometry"), Pn = "IFC-Lite WASM cannot recover from a fatal runtime error within the same document lifetime. Reload the page or recreate the worker process before calling init() again.";
1571
+ const q = on("Geometry"), Pn = "IFC-Lite WASM cannot recover from a fatal runtime error within the same document lifetime. Reload the page or recreate the worker process before calling init() again.";
1572
1572
  let ue = null;
1573
1573
  Un = class {
1574
1574
  ifcApi = null;
@@ -1584,9 +1584,9 @@ let __tla = Promise.all([
1584
1584
  if (!this.initialized) {
1585
1585
  if (ue) throw ue;
1586
1586
  try {
1587
- await dn(), Q.warn("Geometry processing: single-threaded mode (thread pool disabled for Vite compatibility)"), this.ifcApi = new Ee, this.applyMergeLayers(), this.initialized = !0, Q.info("WASM geometry engine initialized");
1587
+ await dn(), q.warn("Geometry processing: single-threaded mode (thread pool disabled for Vite compatibility)"), this.ifcApi = new Ee, this.applyMergeLayers(), this.initialized = !0, q.info("WASM geometry engine initialized");
1588
1588
  } catch (t) {
1589
- throw Q.error("Failed to initialize WASM geometry engine", t, {
1589
+ throw q.error("Failed to initialize WASM geometry engine", t, {
1590
1590
  operation: "init"
1591
1591
  }), this.isWasmRuntimeError(t) ? this.markFatalWasmRuntimeError() : this.reset(), t;
1592
1592
  }
@@ -1599,11 +1599,11 @@ let __tla = Promise.all([
1599
1599
  if (!this.ifcApi) throw new Error("IFC-Lite not initialized. Call init() first.");
1600
1600
  try {
1601
1601
  const e = this.ifcApi.parseMeshes(t);
1602
- return Q.debug(`Parsed ${e.length} meshes`, {
1602
+ return q.debug(`Parsed ${e.length} meshes`, {
1603
1603
  operation: "parseMeshes"
1604
1604
  }), e;
1605
1605
  } catch (e) {
1606
- throw Q.error("Failed to parse IFC geometry", e, {
1606
+ throw q.error("Failed to parse IFC geometry", e, {
1607
1607
  operation: "parseMeshes",
1608
1608
  data: {
1609
1609
  contentLength: t.length
@@ -1615,11 +1615,11 @@ let __tla = Promise.all([
1615
1615
  if (!this.ifcApi) throw new Error("IFC-Lite not initialized. Call init() first.");
1616
1616
  try {
1617
1617
  const e = this.ifcApi.parseMeshesInstanced(t);
1618
- return Q.debug(`Parsed ${e.length} instanced geometries`, {
1618
+ return q.debug(`Parsed ${e.length} instanced geometries`, {
1619
1619
  operation: "parseMeshesInstanced"
1620
1620
  }), e;
1621
1621
  } catch (e) {
1622
- throw Q.error("Failed to parse instanced IFC geometry", e, {
1622
+ throw q.error("Failed to parse instanced IFC geometry", e, {
1623
1623
  operation: "parseMeshesInstanced",
1624
1624
  data: {
1625
1625
  contentLength: t.length
@@ -1632,7 +1632,7 @@ let __tla = Promise.all([
1632
1632
  try {
1633
1633
  return await this.ifcApi.parseMeshesAsync(t, e);
1634
1634
  } catch (n) {
1635
- throw Q.error("Failed to parse IFC geometry (streaming)", n, {
1635
+ throw q.error("Failed to parse IFC geometry (streaming)", n, {
1636
1636
  operation: "parseMeshesAsync",
1637
1637
  data: {
1638
1638
  contentLength: t.length
@@ -1645,7 +1645,7 @@ let __tla = Promise.all([
1645
1645
  try {
1646
1646
  return await this.ifcApi.parseMeshesInstancedAsync(t, e);
1647
1647
  } catch (n) {
1648
- throw Q.error("Failed to parse instanced IFC geometry (streaming)", n, {
1648
+ throw q.error("Failed to parse instanced IFC geometry (streaming)", n, {
1649
1649
  operation: "parseMeshesInstancedAsync",
1650
1650
  data: {
1651
1651
  contentLength: t.length
@@ -1657,11 +1657,11 @@ let __tla = Promise.all([
1657
1657
  if (!this.ifcApi) throw new Error("IFC-Lite not initialized. Call init() first.");
1658
1658
  try {
1659
1659
  const e = this.ifcApi.parseSymbolicRepresentations(t);
1660
- return Q.debug(`Parsed ${e.totalCount} symbolic items (${e.polylineCount} polylines, ${e.circleCount} circles)`, {
1660
+ return q.debug(`Parsed ${e.totalCount} symbolic items (${e.polylineCount} polylines, ${e.circleCount} circles)`, {
1661
1661
  operation: "parseSymbolicRepresentations"
1662
1662
  }), e;
1663
1663
  } catch (e) {
1664
- throw Q.error("Failed to parse symbolic representations", e, {
1664
+ throw q.error("Failed to parse symbolic representations", e, {
1665
1665
  operation: "parseSymbolicRepresentations",
1666
1666
  data: {
1667
1667
  contentLength: t.length
@@ -1673,11 +1673,11 @@ let __tla = Promise.all([
1673
1673
  if (!this.ifcApi) throw new Error("IFC-Lite not initialized. Call init() first.");
1674
1674
  try {
1675
1675
  const n = this.ifcApi.extractProfiles(t, e);
1676
- return Q.debug(`Extracted ${n.length} profiles`, {
1676
+ return q.debug(`Extracted ${n.length} profiles`, {
1677
1677
  operation: "extractProfiles"
1678
1678
  }), n;
1679
1679
  } catch (n) {
1680
- throw Q.error("Failed to extract profiles", n, {
1680
+ throw q.error("Failed to extract profiles", n, {
1681
1681
  operation: "extractProfiles",
1682
1682
  data: {
1683
1683
  contentLength: t.length
@@ -1689,11 +1689,11 @@ let __tla = Promise.all([
1689
1689
  if (!this.ifcApi) throw new Error("IFC-Lite not initialized. Call init() first.");
1690
1690
  try {
1691
1691
  const r = this.ifcApi.parseMeshesSubset(t, e, n, s);
1692
- return Q.debug(`Parsed subset [${e}, ${n}) → ${r.length} meshes`, {
1692
+ return q.debug(`Parsed subset [${e}, ${n}) → ${r.length} meshes`, {
1693
1693
  operation: "parseMeshesSubset"
1694
1694
  }), r;
1695
1695
  } catch (r) {
1696
- throw Q.error("Failed to parse IFC geometry subset", r, {
1696
+ throw q.error("Failed to parse IFC geometry subset", r, {
1697
1697
  operation: "parseMeshesSubset",
1698
1698
  data: {
1699
1699
  contentLength: t.length,
@@ -1723,7 +1723,7 @@ let __tla = Promise.all([
1723
1723
  if (!this.ifcApi) return;
1724
1724
  const t = this.ifcApi;
1725
1725
  if (typeof t.setMergeLayers != "function") {
1726
- Q.warn("setMergeLayers not present on WASM API — flag tracked but suppression is a no-op until WASM is rebuilt", {
1726
+ q.warn("setMergeLayers not present on WASM API — flag tracked but suppression is a no-op until WASM is rebuilt", {
1727
1727
  operation: "setMergeLayers",
1728
1728
  data: {
1729
1729
  requested: this.mergeLayers
@@ -1731,12 +1731,12 @@ let __tla = Promise.all([
1731
1731
  });
1732
1732
  return;
1733
1733
  }
1734
- t.setMergeLayers(this.mergeLayers), Q.debug(`mergeLayers=${this.mergeLayers}`, {
1734
+ t.setMergeLayers(this.mergeLayers), q.debug(`mergeLayers=${this.mergeLayers}`, {
1735
1735
  operation: "setMergeLayers"
1736
1736
  });
1737
1737
  }
1738
1738
  };
1739
- const it = on("MeshCollector");
1739
+ const ot = on("MeshCollector");
1740
1740
  ee = class {
1741
1741
  ifcApi;
1742
1742
  content;
@@ -1772,7 +1772,7 @@ let __tla = Promise.all([
1772
1772
  try {
1773
1773
  t = this.ifcApi.parseMeshes(this.content);
1774
1774
  } catch (r) {
1775
- throw it.error("WASM mesh parsing failed", r, {
1775
+ throw ot.error("WASM mesh parsing failed", r, {
1776
1776
  operation: "collectMeshes"
1777
1777
  }), r;
1778
1778
  }
@@ -1800,7 +1800,7 @@ let __tla = Promise.all([
1800
1800
  color: l
1801
1801
  }), a.free(), a = null;
1802
1802
  } catch (c) {
1803
- if (n++, it.caught(`Failed to process mesh ${r}`, c, {
1803
+ if (n++, ot.caught(`Failed to process mesh ${r}`, c, {
1804
1804
  operation: "collectMeshes"
1805
1805
  }), a) try {
1806
1806
  a.free();
@@ -1808,9 +1808,9 @@ let __tla = Promise.all([
1808
1808
  }
1809
1809
  }
1810
1810
  const s = t.buildingRotation ?? void 0;
1811
- return t.free(), n > 0 && it.warn(`Skipped ${n} meshes due to errors`, {
1811
+ return t.free(), n > 0 && ot.warn(`Skipped ${n} meshes due to errors`, {
1812
1812
  operation: "collectMeshes"
1813
- }), it.debug(`Collected ${e.length} meshes`, {
1813
+ }), ot.debug(`Collected ${e.length} meshes`, {
1814
1814
  operation: "collectMeshes"
1815
1815
  }), this._buildingRotation = s, e;
1816
1816
  }
@@ -1846,22 +1846,22 @@ let __tla = Promise.all([
1846
1846
  onBatch: (f, p)=>{
1847
1847
  const g = [];
1848
1848
  for (const u of f)try {
1849
- const y = u.expressId, m = a.get(y) ?? [
1849
+ const h = u.expressId, b = a.get(h) ?? [
1850
1850
  u.color[0],
1851
1851
  u.color[1],
1852
1852
  u.color[2],
1853
1853
  u.color[3]
1854
1854
  ];
1855
1855
  g.push({
1856
- expressId: y,
1856
+ expressId: h,
1857
1857
  ifcType: u.ifcType,
1858
1858
  positions: u.positions,
1859
1859
  normals: u.normals,
1860
1860
  indices: u.indices,
1861
- color: m
1861
+ color: b
1862
1862
  }), u.free(), c++;
1863
- } catch (y) {
1864
- l++, it.caught(`Failed to process mesh #${u.expressId}`, y, {
1863
+ } catch (h) {
1864
+ l++, ot.caught(`Failed to process mesh #${u.expressId}`, h, {
1865
1865
  operation: "collectMeshesStreaming",
1866
1866
  entityId: u.expressId
1867
1867
  });
@@ -1872,9 +1872,9 @@ let __tla = Promise.all([
1872
1872
  g.length > 0 && e.push(g), n && (n(), n = null);
1873
1873
  },
1874
1874
  onComplete: (f)=>{
1875
- s = !0, f.buildingRotation !== void 0 && (this._buildingRotation = f.buildingRotation), it.debug(`Streaming complete: ${f.totalMeshes} meshes, ${f.totalVertices} vertices, ${f.totalTriangles} triangles`, {
1875
+ s = !0, f.buildingRotation !== void 0 && (this._buildingRotation = f.buildingRotation), ot.debug(`Streaming complete: ${f.totalMeshes} meshes, ${f.totalVertices} vertices, ${f.totalTriangles} triangles`, {
1876
1876
  operation: "collectMeshesStreaming"
1877
- }), l > 0 && it.warn(`Skipped ${l} meshes due to errors`, {
1877
+ }), l > 0 && ot.warn(`Skipped ${l} meshes due to errors`, {
1878
1878
  operation: "collectMeshesStreaming"
1879
1879
  });
1880
1880
  const p = f.csgDiagnostics;
@@ -1888,7 +1888,7 @@ let __tla = Promise.all([
1888
1888
  n && (n(), n = null);
1889
1889
  }
1890
1890
  }).catch((f)=>{
1891
- r = f instanceof Error ? f : new Error(String(f)), it.error("WASM streaming parsing failed", r, {
1891
+ r = f instanceof Error ? f : new Error(String(f)), ot.error("WASM streaming parsing failed", r, {
1892
1892
  operation: "collectMeshesStreaming"
1893
1893
  }), s = !0, n && (n(), n = null);
1894
1894
  });
@@ -1903,7 +1903,7 @@ let __tla = Promise.all([
1903
1903
  }
1904
1904
  if (_ === 0 && this.content.length > 1e3) {
1905
1905
  const f = (this.content.length / 1048576).toFixed(1);
1906
- it.warn(`WASM streaming returned 0 batches for ${f}MB file - this may indicate insufficient memory for large file processing`, {
1906
+ ot.warn(`WASM streaming returned 0 batches for ${f}MB file - this may indicate insufficient memory for large file processing`, {
1907
1907
  operation: "collectMeshesStreaming",
1908
1908
  data: {
1909
1909
  contentLength: this.content.length
@@ -1936,7 +1936,7 @@ let __tla = Promise.all([
1936
1936
  s = !0, n && (n(), n = null);
1937
1937
  }
1938
1938
  }).catch((l)=>{
1939
- r = l instanceof Error ? l : new Error(String(l)), it.error("WASM instanced streaming parsing failed", r, {
1939
+ r = l instanceof Error ? l : new Error(String(l)), ot.error("WASM instanced streaming parsing failed", r, {
1940
1940
  operation: "collectInstancedGeometryStreaming"
1941
1941
  }), s = !0, n && (n(), n = null);
1942
1942
  });
@@ -1951,7 +1951,7 @@ let __tla = Promise.all([
1951
1951
  }
1952
1952
  if (c === 0 && this.content.length > 1e3) {
1953
1953
  const l = (this.content.length / 1048576).toFixed(1);
1954
- it.warn(`WASM instanced streaming returned 0 batches for ${l}MB file - this may indicate insufficient memory for large file processing`, {
1954
+ ot.warn(`WASM instanced streaming returned 0 batches for ${l}MB file - this may indicate insufficient memory for large file processing`, {
1955
1955
  operation: "collectInstancedGeometryStreaming",
1956
1956
  data: {
1957
1957
  contentLength: this.content.length
@@ -1964,10 +1964,10 @@ let __tla = Promise.all([
1964
1964
  function _n() {
1965
1965
  return typeof window < "u" && "__TAURI_INTERNALS__" in window;
1966
1966
  }
1967
- async function Dn() {
1967
+ async function vn() {
1968
1968
  if (_n()) {
1969
1969
  const { NativeBridge: i } = await Ae(async ()=>{
1970
- const { NativeBridge: t } = await import("./native-bridge-DNrEhx2R.js").then(async (m)=>{
1970
+ const { NativeBridge: t } = await import("./native-bridge-Q5ACp4QY.js").then(async (m)=>{
1971
1971
  await m.__tla;
1972
1972
  return m;
1973
1973
  });
@@ -1978,7 +1978,7 @@ let __tla = Promise.all([
1978
1978
  return new i;
1979
1979
  } else {
1980
1980
  const { WasmBridge: i } = await Ae(async ()=>{
1981
- const { WasmBridge: t } = await import("./wasm-bridge-Cha08LdC.js");
1981
+ const { WasmBridge: t } = await import("./wasm-bridge-X-mWRA9Z.js");
1982
1982
  return {
1983
1983
  WasmBridge: t
1984
1984
  };
@@ -1986,7 +1986,7 @@ let __tla = Promise.all([
1986
1986
  return new i;
1987
1987
  }
1988
1988
  }
1989
- class vn {
1989
+ class Dn {
1990
1990
  buildInterleavedBuffer(t) {
1991
1991
  const e = t.positions.length / 3, n = new Float32Array(e * 6);
1992
1992
  for(let s = 0; s < e; s++){
@@ -2051,8 +2051,8 @@ let __tla = Promise.all([
2051
2051
  if (_ < 3) continue;
2052
2052
  const f = d[0], p = d[1], g = d[2];
2053
2053
  if (f < e && (e = f), p < n && (n = p), g < s && (s = g), f > r && (r = f), p > a && (a = p), g > c && (c = g), _ >= 6) {
2054
- const u = d[_ - 3], y = d[_ - 2], m = d[_ - 1];
2055
- u < e && (e = u), y < n && (n = y), m < s && (s = m), u > r && (r = u), y > a && (a = y), m > c && (c = m);
2054
+ const u = d[_ - 3], h = d[_ - 2], b = d[_ - 1];
2055
+ u < e && (e = u), h < n && (n = h), b < s && (s = b), u > r && (r = u), h > a && (a = h), b > c && (c = b);
2056
2056
  }
2057
2057
  }
2058
2058
  return {
@@ -2194,8 +2194,8 @@ let __tla = Promise.all([
2194
2194
  for (const g of t){
2195
2195
  const u = g.positions;
2196
2196
  if (u.length >= 3) {
2197
- const y = Math.abs(u[0]), m = Math.abs(u[1]), C = Math.abs(u[2]);
2198
- Math.max(y, m, C) < _ ? l++ : d++;
2197
+ const h = Math.abs(u[0]), b = Math.abs(u[1]), C = Math.abs(u[2]);
2198
+ Math.max(h, b, C) < _ ? l++ : d++;
2199
2199
  }
2200
2200
  }
2201
2201
  const f = l + d, p = f > 0 && l / f > .5;
@@ -2279,7 +2279,7 @@ let __tla = Promise.all([
2279
2279
  };
2280
2280
  let l;
2281
2281
  e >= 16 && s >= 16 ? l = Math.min(c, Math.floor(e / 2)) : e >= 12 && s >= 8 ? l = t > 512 ? 4 : 5 : e >= 10 && s >= 8 ? l = t > 512 ? 3 : 4 : e >= 8 && s >= 8 ? l = t > 512 ? 2 : 3 : l = Math.max(1, Math.min(2, Math.floor(e / 2)));
2282
- const d = s * 1024, _ = Math.max(1024, d * .25), f = t * 2.5, p = Math.max(64, t * 1.5), g = d - _ - f, u = g > 0 ? Math.max(1, Math.floor(g / p)) : 1, y = [
2282
+ const d = s * 1024, _ = Math.max(1024, d * .25), f = t * 2.5, p = Math.max(64, t * 1.5), g = d - _ - f, u = g > 0 ? Math.max(1, Math.floor(g / p)) : 1, h = [
2283
2283
  {
2284
2284
  value: l,
2285
2285
  reason: "cores"
@@ -2297,25 +2297,25 @@ let __tla = Promise.all([
2297
2297
  reason: "max"
2298
2298
  }
2299
2299
  ];
2300
- let m = y[0];
2301
- for(let C = 1; C < y.length; C++)y[C].value < m.value && (m = y[C]);
2302
- return m.value < a ? {
2300
+ let b = h[0];
2301
+ for(let C = 1; C < h.length; C++)h[C].value < b.value && (b = h[C]);
2302
+ return b.value < a ? {
2303
2303
  count: a,
2304
2304
  reason: "min"
2305
2305
  } : {
2306
- count: m.value,
2307
- reason: m.reason
2306
+ count: b.value,
2307
+ reason: b.reason
2308
2308
  };
2309
2309
  }
2310
2310
  function Vn(i) {
2311
2311
  return zn(i).count;
2312
2312
  }
2313
- const jn = 3e4, kn = 15e3, Wn = 15e3, Yn = 5e3, Hn = 60, Xn = 30, Jn = 30, qn = 15;
2313
+ const jn = 3e4, kn = 15e3, Wn = 15e3, Yn = 5e3, Hn = 60, Xn = 30, Jn = 30, Qn = 15;
2314
2314
  Ns = function(i) {
2315
- const t = i.desktopStableWasm === !0, e = Math.max(0, Math.floor(i.batchCount)), n = Math.max(0, i.fileSizeMB), s = e > 0 ? t ? Yn : Wn : t ? kn : jn, r = e > 0 ? t ? qn : Jn : t ? Xn : Hn;
2315
+ const t = i.desktopStableWasm === !0, e = Math.max(0, Math.floor(i.batchCount)), n = Math.max(0, i.fileSizeMB), s = e > 0 ? t ? Yn : Wn : t ? kn : jn, r = e > 0 ? t ? Qn : Jn : t ? Xn : Hn;
2316
2316
  return Math.max(s, Math.round(s + n * r));
2317
2317
  };
2318
- function Qn(i, t) {
2318
+ function qn(i, t) {
2319
2319
  const e = [
2320
2320
  i.length,
2321
2321
  t.length
@@ -2332,7 +2332,7 @@ let __tla = Promise.all([
2332
2332
  As = function(i) {
2333
2333
  const t = new Map;
2334
2334
  for (const e of i){
2335
- const n = Qn(e.positions, e.indices), s = t.get(n);
2335
+ const n = qn(e.positions, e.indices), s = t.get(n);
2336
2336
  s ? s.instances.push({
2337
2337
  expressId: e.expressId,
2338
2338
  color: e.color
@@ -2356,7 +2356,7 @@ let __tla = Promise.all([
2356
2356
  const e = t.fileSizeMB ? t.fileSizeMB : i.length / (1024 * 1024);
2357
2357
  return e < 10 ? 100 : e < 50 ? 200 : e < 100 ? 300 : e < 300 ? 500 : e < 500 ? 1500 : 3e3;
2358
2358
  }
2359
- function Zn(i) {
2359
+ function Kn(i) {
2360
2360
  const t = [];
2361
2361
  try {
2362
2362
  for(let e = 0; e < i.length; e++){
@@ -2384,7 +2384,7 @@ let __tla = Promise.all([
2384
2384
  }
2385
2385
  return t;
2386
2386
  }
2387
- function Kn(i) {
2387
+ function Zn(i) {
2388
2388
  const t = [];
2389
2389
  try {
2390
2390
  for(let e = 0; e < i.length; e++){
@@ -2426,7 +2426,7 @@ let __tla = Promise.all([
2426
2426
  } else i.push(t);
2427
2427
  e.queuedMeshes += t.meshes.length;
2428
2428
  }
2429
- async function* qe(i, t, e, n) {
2429
+ async function* Qe(i, t, e, n) {
2430
2430
  e.reset(), yield {
2431
2431
  type: "start",
2432
2432
  totalEstimate: t
@@ -2463,7 +2463,7 @@ let __tla = Promise.all([
2463
2463
  }
2464
2464
  });
2465
2465
  for(; !c || s.length > 0;){
2466
- let u = 0, y = 0, m = performance.now();
2466
+ let u = 0, h = 0, b = performance.now();
2467
2467
  for(; s.length > 0;){
2468
2468
  const C = s.shift();
2469
2469
  if (C.type === "colorUpdate") {
@@ -2474,14 +2474,14 @@ let __tla = Promise.all([
2474
2474
  continue;
2475
2475
  }
2476
2476
  r.queuedMeshes = Math.max(0, r.queuedMeshes - C.meshes.length), e.processTrustedMeshesIncremental(C.meshes), _ += C.meshes.length;
2477
- const N = e.getCurrentCoordinateInfo();
2477
+ const w = e.getCurrentCoordinateInfo();
2478
2478
  yield {
2479
2479
  type: "batch",
2480
2480
  meshes: C.meshes,
2481
2481
  totalSoFar: _,
2482
- coordinateInfo: N || void 0,
2482
+ coordinateInfo: w || void 0,
2483
2483
  nativeTelemetry: C.nativeTelemetry
2484
- }, u += 1, y += C.meshes.length, s.length > 0 && (u >= ns || y >= ss || performance.now() - m >= rs) && (await Xe(), u = 0, y = 0, m = performance.now());
2484
+ }, u += 1, h += C.meshes.length, s.length > 0 && (u >= ns || h >= ss || performance.now() - b >= rs) && (await Xe(), u = 0, h = 0, b = performance.now());
2485
2485
  }
2486
2486
  if (l) throw l;
2487
2487
  c || await new Promise((C)=>{
@@ -2507,166 +2507,166 @@ let __tla = Promise.all([
2507
2507
  let r;
2508
2508
  const a = i.buffer;
2509
2509
  n && n.byteLength === i.byteLength ? r = n : typeof SharedArrayBuffer < "u" && a instanceof SharedArrayBuffer && i.byteOffset === 0 && i.byteLength === a.byteLength ? r = a : (r = new SharedArrayBuffer(i.byteLength), new Uint8Array(r).set(i));
2510
- const c = s?.useSingleController === !0, l = ()=>c ? new Worker(new URL("/assets/geometry-controller.worker-Cm2P_EJr.js", import.meta.url), {
2510
+ const c = s?.useSingleController === !0, l = ()=>c ? new Worker(new URL("/assets/geometry-controller.worker-CEr00X3X.js", import.meta.url), {
2511
2511
  type: "module"
2512
- }) : new Worker(new URL("/assets/geometry.worker-DchLBqZ8.js", import.meta.url), {
2512
+ }) : new Worker(new URL("/assets/geometry.worker-B4VPDkmL.js", import.meta.url), {
2513
2513
  type: "module"
2514
- }), d = ()=>new Worker(new URL("/assets/geometry.worker-DchLBqZ8.js", import.meta.url), {
2514
+ }), d = ()=>new Worker(new URL("/assets/geometry.worker-B4VPDkmL.js", import.meta.url), {
2515
2515
  type: "module"
2516
2516
  }), _ = [];
2517
2517
  let f = null;
2518
2518
  const p = ()=>{
2519
2519
  f && (f(), f = null);
2520
2520
  };
2521
- let g = null, u = 0, y = !1, m = null, C = null, N = 0, T = 0, B = !1, G = !1;
2522
- const b = [];
2523
- let A = !1, h = !1;
2524
- const F = [], S = (U, j)=>{
2525
- U.onmessage = ($)=>{
2526
- const D = $.data;
2527
- if (D.type === "ready") {
2528
- console.log(`[stream] worker[${j}] WASM ready @ ${nt()}ms`);
2521
+ let g = null, u = 0, h = !1, b = null, C = null, w = 0, A = 0, M = !1, z = !1;
2522
+ const m = [];
2523
+ let N = !1, I = !1;
2524
+ const F = [], R = (P, j)=>{
2525
+ P.onmessage = (G)=>{
2526
+ const v = G.data;
2527
+ if (v.type === "ready") {
2528
+ console.log(`[stream] worker[${j}] WASM ready @ ${st()}ms`);
2529
2529
  return;
2530
2530
  }
2531
- if (D.type === "memory") {
2531
+ if (v.type === "memory") {
2532
2532
  _.push({
2533
2533
  type: "workerMemory",
2534
2534
  workerIndex: j,
2535
- wasmHeapBytes: D.wasmHeapBytes,
2536
- meshBytes: D.meshBytes
2535
+ wasmHeapBytes: v.wasmHeapBytes,
2536
+ meshBytes: v.meshBytes
2537
2537
  }), p();
2538
2538
  return;
2539
2539
  }
2540
- if (D.type === "batch") {
2541
- F[j] === void 0 && (F[j] = nt(), console.log(`[stream] worker[${j}] first batch @ ${nt()}ms (${D.meshes?.length ?? 0} meshes)`));
2542
- const Y = D.meshes.map((V)=>({
2543
- expressId: V.expressId,
2544
- ifcType: V.ifcType,
2545
- positions: V.positions instanceof Float32Array ? V.positions : new Float32Array(V.positions),
2546
- normals: V.normals instanceof Float32Array ? V.normals : new Float32Array(V.normals),
2547
- indices: V.indices instanceof Uint32Array ? V.indices : new Uint32Array(V.indices),
2548
- color: V.color
2540
+ if (v.type === "batch") {
2541
+ F[j] === void 0 && (F[j] = st(), console.log(`[stream] worker[${j}] first batch @ ${st()}ms (${v.meshes?.length ?? 0} meshes)`));
2542
+ const Y = v.meshes.map(($)=>({
2543
+ expressId: $.expressId,
2544
+ ifcType: $.ifcType,
2545
+ positions: $.positions instanceof Float32Array ? $.positions : new Float32Array($.positions),
2546
+ normals: $.normals instanceof Float32Array ? $.normals : new Float32Array($.normals),
2547
+ indices: $.indices instanceof Uint32Array ? $.indices : new Uint32Array($.indices),
2548
+ color: $.color
2549
2549
  }));
2550
2550
  if (Y.length > 0) {
2551
- T += Y.length, t.processMeshesIncremental(Y);
2552
- const V = t.getCurrentCoordinateInfo();
2551
+ A += Y.length, t.processMeshesIncremental(Y);
2552
+ const $ = t.getCurrentCoordinateInfo();
2553
2553
  _.push({
2554
2554
  type: "batch",
2555
2555
  meshes: Y,
2556
- totalSoFar: T,
2557
- coordinateInfo: V || void 0
2556
+ totalSoFar: A,
2557
+ coordinateInfo: $ || void 0
2558
2558
  }), p();
2559
2559
  }
2560
2560
  return;
2561
2561
  }
2562
- if (D.type === "complete") {
2563
- N++, U.terminate(), p();
2562
+ if (v.type === "complete") {
2563
+ w++, P.terminate(), p();
2564
2564
  return;
2565
2565
  }
2566
- if (D.type === "error") {
2567
- C = new Error(`Geometry worker error: ${D.message}`), N++, U.terminate(), p();
2566
+ if (v.type === "error") {
2567
+ C = new Error(`Geometry worker error: ${v.message}`), w++, P.terminate(), p();
2568
2568
  return;
2569
2569
  }
2570
- }, U.onerror = ($)=>{
2571
- C = new Error(`Geometry worker failed: ${$.message}`), N++, U.terminate(), p();
2570
+ }, P.onerror = (G)=>{
2571
+ C = new Error(`Geometry worker failed: ${G.message}`), w++, P.terminate(), p();
2572
2572
  };
2573
- }, E = typeof navigator < "u" ? navigator.hardwareConcurrency ?? 2 : 2, I = typeof navigator < "u" ? navigator.deviceMemory ?? 8 : 8, w = i.byteLength / (1024 * 1024), x = Math.max(1, Math.ceil(w * 100)), z = c ? 1 : Vn({
2574
- fileSizeMB: w,
2573
+ }, E = typeof navigator < "u" ? navigator.hardwareConcurrency ?? 2 : 2, y = typeof navigator < "u" ? navigator.deviceMemory ?? 8 : 8, T = i.byteLength / (1024 * 1024), O = Math.max(1, Math.ceil(T * 100)), V = c ? 1 : Vn({
2574
+ fileSizeMB: T,
2575
2575
  cores: E,
2576
- deviceMemoryGB: I,
2577
- totalJobs: x
2578
- }), P = [];
2579
- for(let U = 0; U < z; U++){
2576
+ deviceMemoryGB: y,
2577
+ totalJobs: O
2578
+ }), U = [];
2579
+ for(let P = 0; P < V; P++){
2580
2580
  const j = l();
2581
- P.push(j), S(j, U);
2582
- const $ = c ? s?.wasmUrls?.wasmThreaded : s?.wasmUrls?.wasm;
2581
+ U.push(j), R(j, P);
2582
+ const G = c ? s?.wasmUrls?.wasmThreaded : s?.wasmUrls?.wasm;
2583
2583
  j.postMessage({
2584
2584
  type: "init",
2585
- ...$ ? {
2586
- wasmUrl: $
2585
+ ...G ? {
2586
+ wasmUrl: G
2587
2587
  } : {}
2588
2588
  }), j.postMessage({
2589
2589
  type: "set-merge-layers",
2590
2590
  enabled: s?.mergeLayers === !0
2591
2591
  });
2592
2592
  }
2593
- const H = ()=>{
2594
- if (!B) {
2595
- B = !0;
2596
- for (const U of P)try {
2597
- U.postMessage({
2593
+ const Q = ()=>{
2594
+ if (!M) {
2595
+ M = !0;
2596
+ for (const P of U)try {
2597
+ P.postMessage({
2598
2598
  type: "stream-end"
2599
2599
  });
2600
2600
  } catch {}
2601
2601
  }
2602
- }, X = ()=>{
2603
- if (G || !g) return;
2604
- G = !0;
2605
- const U = e != null, j = U ? e.x : g.rtcOffset[0], $ = U ? e.y : g.rtcOffset[1], D = U ? e.z : g.rtcOffset[2], Y = U ? !0 : g.needsShift;
2602
+ }, H = ()=>{
2603
+ if (z || !g) return;
2604
+ z = !0;
2605
+ const P = e != null, j = P ? e.x : g.rtcOffset[0], G = P ? e.y : g.rtcOffset[1], v = P ? e.z : g.rtcOffset[2], Y = P ? !0 : g.needsShift;
2606
2606
  _.push({
2607
2607
  type: "rtcOffset",
2608
2608
  rtcOffset: {
2609
2609
  x: j,
2610
- y: $,
2611
- z: D
2610
+ y: G,
2611
+ z: v
2612
2612
  },
2613
2613
  hasRtc: Y
2614
2614
  }), p();
2615
- const V = new Uint32Array(0), st = new Uint8Array(0);
2616
- for (const ft of P)ft.postMessage({
2615
+ const $ = new Uint32Array(0), rt = new Uint8Array(0);
2616
+ for (const ut of U)ut.postMessage({
2617
2617
  type: "stream-start",
2618
2618
  sharedBuffer: r,
2619
2619
  unitScale: g.unitScale,
2620
2620
  rtcX: j,
2621
- rtcY: $,
2622
- rtcZ: D,
2621
+ rtcY: G,
2622
+ rtcZ: v,
2623
2623
  needsShift: Y,
2624
- voidKeys: V,
2625
- voidCounts: V,
2626
- voidValues: V,
2627
- styleIds: V,
2628
- styleColors: st
2624
+ voidKeys: $,
2625
+ voidCounts: $,
2626
+ voidValues: $,
2627
+ styleIds: $,
2628
+ styleColors: rt
2629
2629
  });
2630
2630
  };
2631
- function k(U) {
2632
- if (P.length === 0 || U.length === 0) return;
2633
- const j = Math.floor(U.length / 3);
2631
+ function k(P) {
2632
+ if (U.length === 0 || P.length === 0) return;
2633
+ const j = Math.floor(P.length / 3);
2634
2634
  if (j === 0) return;
2635
- const $ = Math.ceil(j / P.length);
2635
+ const G = Math.ceil(j / U.length);
2636
2636
  try {
2637
- for(let D = 0; D < P.length; D++){
2638
- const Y = D * $ * 3, V = Math.min(Y + $ * 3, U.length);
2639
- if (Y >= V) continue;
2640
- const st = U.slice(Y, V);
2641
- P[D].postMessage({
2637
+ for(let v = 0; v < U.length; v++){
2638
+ const Y = v * G * 3, $ = Math.min(Y + G * 3, P.length);
2639
+ if (Y >= $) continue;
2640
+ const rt = P.slice(Y, $);
2641
+ U[v].postMessage({
2642
2642
  type: "stream-chunk",
2643
- jobsFlat: st
2643
+ jobsFlat: rt
2644
2644
  }, [
2645
- st.buffer
2645
+ rt.buffer
2646
2646
  ]);
2647
2647
  }
2648
- } catch (D) {
2649
- C = new Error(`Failed to dispatch jobs chunk: ${D instanceof Error ? D.message : String(D)}`), p();
2648
+ } catch (v) {
2649
+ C = new Error(`Failed to dispatch jobs chunk: ${v instanceof Error ? v.message : String(v)}`), p();
2650
2650
  }
2651
2651
  }
2652
- const W = (U)=>{
2653
- if (!G || !A || !h) {
2654
- b.push(U);
2652
+ const W = (P)=>{
2653
+ if (!z || !N || !I) {
2654
+ m.push(P);
2655
2655
  return;
2656
2656
  }
2657
- k(U);
2658
- }, J = ()=>{
2659
- if (!(!G || !A || !h)) for(; b.length > 0;)k(b.shift());
2660
- }, _t = performance.now(), nt = ()=>Math.round(performance.now() - _t);
2661
- console.log(`[stream] processParallel start, fileSizeMB=${w.toFixed(1)} workerCount=${z}`);
2662
- const ot = d();
2663
- s?.wasmUrls?.wasm && ot.postMessage({
2657
+ k(P);
2658
+ }, X = ()=>{
2659
+ if (!(!z || !N || !I)) for(; m.length > 0;)k(m.shift());
2660
+ }, ft = performance.now(), st = ()=>Math.round(performance.now() - ft);
2661
+ console.log(`[stream] processParallel start, fileSizeMB=${T.toFixed(1)} workerCount=${V}`);
2662
+ const at = d();
2663
+ s?.wasmUrls?.wasm && at.postMessage({
2664
2664
  type: "init",
2665
2665
  wasmUrl: s.wasmUrls.wasm
2666
2666
  });
2667
- let ht = 0, Kt = 0, St = -1;
2668
- ot.onmessage = (U)=>{
2669
- const j = U.data;
2667
+ let It = 0, Zt = 0, St = -1;
2668
+ at.onmessage = (P)=>{
2669
+ const j = P.data;
2670
2670
  if (j.type === "prepass-progress") {
2671
2671
  _.push({
2672
2672
  type: "progress",
@@ -2675,91 +2675,91 @@ let __tla = Promise.all([
2675
2675
  return;
2676
2676
  }
2677
2677
  if (j.type === "prepass-stream") {
2678
- const $ = j.event;
2679
- if ($.type === "meta") g = {
2680
- unitScale: $.unitScale,
2681
- rtcOffset: $.rtcOffset,
2682
- needsShift: $.needsShift,
2683
- buildingRotation: $.buildingRotation ?? null
2684
- }, console.log(`[stream] meta @ ${nt()}ms unitScale=${g.unitScale} rtc=[${g.rtcOffset[0].toFixed(0)},${g.rtcOffset[1].toFixed(0)},${g.rtcOffset[2].toFixed(0)}]`), X(), p();
2685
- else if ($.type === "jobs") {
2686
- const D = $.jobs, Y = Math.floor(D.length / 3);
2687
- ht++, Kt += Y, St < 0 && (St = nt(), console.log(`[stream] first jobs chunk @ ${St}ms (${Y} jobs)`)), (ht % 10 === 1 || Y < 1e3) && console.log(`[stream] chunk #${ht} @ ${nt()}ms (+${Y} jobs, total ${Kt})`), W(D);
2688
- } else if ($.type === "styles") {
2689
- const D = $.styleIds, Y = $.styleColors, V = $.voidKeys, st = $.voidCounts, ft = $.voidValues;
2690
- console.log(`[stream] styles @ ${nt()}ms (${D.length} styled, ${V.length} void hosts), draining ${b.length} queued chunks`);
2691
- for (const ae of P)try {
2692
- const lt = D.slice(), It = Y.slice(), yt = V.slice(), mt = st.slice(), te = ft.slice();
2678
+ const G = j.event;
2679
+ if (G.type === "meta") g = {
2680
+ unitScale: G.unitScale,
2681
+ rtcOffset: G.rtcOffset,
2682
+ needsShift: G.needsShift,
2683
+ buildingRotation: G.buildingRotation ?? null
2684
+ }, console.log(`[stream] meta @ ${st()}ms unitScale=${g.unitScale} rtc=[${g.rtcOffset[0].toFixed(0)},${g.rtcOffset[1].toFixed(0)},${g.rtcOffset[2].toFixed(0)}]`), H(), p();
2685
+ else if (G.type === "jobs") {
2686
+ const v = G.jobs, Y = Math.floor(v.length / 3);
2687
+ It++, Zt += Y, St < 0 && (St = st(), console.log(`[stream] first jobs chunk @ ${St}ms (${Y} jobs)`)), (It % 10 === 1 || Y < 1e3) && console.log(`[stream] chunk #${It} @ ${st()}ms (+${Y} jobs, total ${Zt})`), W(v);
2688
+ } else if (G.type === "styles") {
2689
+ const v = G.styleIds, Y = G.styleColors, $ = G.voidKeys, rt = G.voidCounts, ut = G.voidValues;
2690
+ console.log(`[stream] styles @ ${st()}ms (${v.length} styled, ${$.length} void hosts), draining ${m.length} queued chunks`);
2691
+ for (const ae of U)try {
2692
+ const dt = v.slice(), yt = Y.slice(), mt = $.slice(), bt = rt.slice(), te = ut.slice();
2693
2693
  ae.postMessage({
2694
2694
  type: "set-styles",
2695
- styleIds: lt,
2696
- styleColors: It,
2697
- voidKeys: yt,
2698
- voidCounts: mt,
2695
+ styleIds: dt,
2696
+ styleColors: yt,
2697
+ voidKeys: mt,
2698
+ voidCounts: bt,
2699
2699
  voidValues: te
2700
2700
  }, [
2701
- lt.buffer,
2702
- It.buffer,
2701
+ dt.buffer,
2703
2702
  yt.buffer,
2704
2703
  mt.buffer,
2704
+ bt.buffer,
2705
2705
  te.buffer
2706
2706
  ]);
2707
- } catch (lt) {
2708
- console.warn("[stream] set-styles dispatch failed:", lt);
2707
+ } catch (dt) {
2708
+ console.warn("[stream] set-styles dispatch failed:", dt);
2709
2709
  }
2710
- A = !0, J();
2711
- } else if ($.type === "entity-index") {
2712
- const D = $.ids, Y = $.starts, V = $.lengths;
2713
- if (console.log(`[stream] entity-index @ ${nt()}ms (${D.length} entries)`), typeof SharedArrayBuffer < "u") {
2714
- const st = D.byteLength, ft = Y.byteLength, ae = V.byteLength, lt = new SharedArrayBuffer(st), It = new SharedArrayBuffer(ft), yt = new SharedArrayBuffer(ae);
2715
- new Uint32Array(lt).set(D), new Uint32Array(It).set(Y), new Uint32Array(yt).set(V);
2716
- for (const mt of P)try {
2717
- mt.postMessage({
2710
+ N = !0, X();
2711
+ } else if (G.type === "entity-index") {
2712
+ const v = G.ids, Y = G.starts, $ = G.lengths;
2713
+ if (console.log(`[stream] entity-index @ ${st()}ms (${v.length} entries)`), typeof SharedArrayBuffer < "u") {
2714
+ const rt = v.byteLength, ut = Y.byteLength, ae = $.byteLength, dt = new SharedArrayBuffer(rt), yt = new SharedArrayBuffer(ut), mt = new SharedArrayBuffer(ae);
2715
+ new Uint32Array(dt).set(v), new Uint32Array(yt).set(Y), new Uint32Array(mt).set($);
2716
+ for (const bt of U)try {
2717
+ bt.postMessage({
2718
2718
  type: "set-entity-index",
2719
- ids: new Uint32Array(lt),
2720
- starts: new Uint32Array(It),
2721
- lengths: new Uint32Array(yt)
2719
+ ids: new Uint32Array(dt),
2720
+ starts: new Uint32Array(yt),
2721
+ lengths: new Uint32Array(mt)
2722
2722
  });
2723
2723
  } catch (te) {
2724
2724
  console.warn("[stream] set-entity-index dispatch failed:", te);
2725
2725
  }
2726
2726
  if (s?.onEntityIndex) try {
2727
- s.onEntityIndex(new Uint32Array(lt), new Uint32Array(It), new Uint32Array(yt));
2728
- } catch (mt) {
2729
- console.warn("[stream] onEntityIndex callback failed:", mt);
2727
+ s.onEntityIndex(new Uint32Array(dt), new Uint32Array(yt), new Uint32Array(mt));
2728
+ } catch (bt) {
2729
+ console.warn("[stream] onEntityIndex callback failed:", bt);
2730
2730
  }
2731
2731
  } else {
2732
- for (const st of P)try {
2733
- st.postMessage({
2732
+ for (const rt of U)try {
2733
+ rt.postMessage({
2734
2734
  type: "set-entity-index",
2735
- ids: D.slice(),
2735
+ ids: v.slice(),
2736
2736
  starts: Y.slice(),
2737
- lengths: V.slice()
2737
+ lengths: $.slice()
2738
2738
  });
2739
- } catch (ft) {
2740
- console.warn("[stream] set-entity-index dispatch failed:", ft);
2739
+ } catch (ut) {
2740
+ console.warn("[stream] set-entity-index dispatch failed:", ut);
2741
2741
  }
2742
2742
  if (s?.onEntityIndex) try {
2743
- s.onEntityIndex(D.slice(), Y.slice(), V.slice());
2744
- } catch (st) {
2745
- console.warn("[stream] onEntityIndex callback failed:", st);
2743
+ s.onEntityIndex(v.slice(), Y.slice(), $.slice());
2744
+ } catch (rt) {
2745
+ console.warn("[stream] onEntityIndex callback failed:", rt);
2746
2746
  }
2747
2747
  }
2748
- h = !0, J();
2749
- } else $.type === "complete" && (u = $.totalJobs, console.log(`[stream] prepass complete @ ${nt()}ms totalJobs=${u} chunks=${ht}`), Ne || (Ne = !0, oe()));
2748
+ I = !0, X();
2749
+ } else G.type === "complete" && (u = G.totalJobs, console.log(`[stream] prepass complete @ ${st()}ms totalJobs=${u} chunks=${It}`), Ne || (Ne = !0, oe()));
2750
2750
  return;
2751
2751
  }
2752
2752
  if (j.type === "error") {
2753
- m = new Error(j.message), y = !0, ot.terminate(), p();
2753
+ b = new Error(j.message), h = !0, at.terminate(), p();
2754
2754
  return;
2755
2755
  }
2756
- }, ot.onerror = (U)=>{
2757
- m = new Error(`Pre-pass worker failed: ${U.message}`), y = !0, ot.terminate(), p();
2756
+ }, at.onerror = (P)=>{
2757
+ b = new Error(`Pre-pass worker failed: ${P.message}`), h = !0, at.terminate(), p();
2758
2758
  };
2759
2759
  const oe = ()=>{
2760
- y = !0, G && H(), ot.terminate(), p();
2760
+ h = !0, z && Q(), at.terminate(), p();
2761
2761
  };
2762
- ot.postMessage({
2762
+ at.postMessage({
2763
2763
  type: "prepass-streaming",
2764
2764
  sharedBuffer: r,
2765
2765
  chunkSize: 5e4
@@ -2768,22 +2768,22 @@ let __tla = Promise.all([
2768
2768
  for(;;){
2769
2769
  for(; _.length > 0;)yield _.shift();
2770
2770
  if (C) {
2771
- for (const U of P)try {
2772
- U.terminate();
2771
+ for (const P of U)try {
2772
+ P.terminate();
2773
2773
  } catch {}
2774
2774
  try {
2775
- ot.terminate();
2775
+ at.terminate();
2776
2776
  } catch {}
2777
2777
  throw C;
2778
2778
  }
2779
- if (m) {
2780
- for (const U of P)try {
2781
- U.terminate();
2779
+ if (b) {
2780
+ for (const P of U)try {
2781
+ P.terminate();
2782
2782
  } catch {}
2783
- throw m;
2783
+ throw b;
2784
2784
  }
2785
- if (y && !G && u === 0) {
2786
- for (const j of P)try {
2785
+ if (h && !z && u === 0) {
2786
+ for (const j of U)try {
2787
2787
  j.terminate();
2788
2788
  } catch {}
2789
2789
  yield {
@@ -2793,20 +2793,20 @@ let __tla = Promise.all([
2793
2793
  };
2794
2794
  return;
2795
2795
  }
2796
- if (y && G && N >= P.length && _.length === 0) break;
2797
- await new Promise((U)=>{
2798
- f = U;
2796
+ if (h && z && w >= U.length && _.length === 0) break;
2797
+ await new Promise((P)=>{
2798
+ f = P;
2799
2799
  });
2800
2800
  }
2801
2801
  const pn = t.getFinalCoordinateInfo();
2802
2802
  yield {
2803
2803
  type: "complete",
2804
- totalMeshes: T,
2804
+ totalMeshes: A,
2805
2805
  coordinateInfo: pn
2806
2806
  };
2807
2807
  }
2808
2808
  let At = null;
2809
- function Qe(i) {
2809
+ function qe(i) {
2810
2810
  if (At) throw new Error(`GeometryProcessor ${i} cannot start while ${At} is still running. Wait for the active stream to finish, or cancel it before starting another geometry operation.`);
2811
2811
  return At = i, ()=>{
2812
2812
  At === i && (At = null);
@@ -2822,10 +2822,10 @@ let __tla = Promise.all([
2822
2822
  lastNativeStats = null;
2823
2823
  mergeLayers;
2824
2824
  constructor(t = {}){
2825
- this.bufferBuilder = new vn, this.coordinateHandler = new Gn, this.isNative = t.preferNative !== !1 && _n(), this.mergeLayers = t.mergeLayers === !0, t.quality, this.isNative || (this.bridge = new Un, this.bridge.setMergeLayers(this.mergeLayers));
2825
+ this.bufferBuilder = new Dn, this.coordinateHandler = new Gn, this.isNative = t.preferNative !== !1 && _n(), this.mergeLayers = t.mergeLayers === !0, t.quality, this.isNative || (this.bridge = new Un, this.bridge.setMergeLayers(this.mergeLayers));
2826
2826
  }
2827
2827
  async init() {
2828
- this.isNative ? (this.platformBridge = await Dn(), await this.platformBridge.init(), console.log("[GeometryProcessor] Native bridge initialized")) : this.bridge && await this.bridge.init();
2828
+ this.isNative ? (this.platformBridge = await vn(), await this.platformBridge.init(), console.log("[GeometryProcessor] Native bridge initialized")) : this.bridge && await this.bridge.init();
2829
2829
  }
2830
2830
  async process(t, e) {
2831
2831
  let n;
@@ -2866,7 +2866,7 @@ let __tla = Promise.all([
2866
2866
  }
2867
2867
  async collectMeshesMainThread(t, e) {
2868
2868
  if (!this.bridge) throw new Error("WASM bridge not initialized");
2869
- const n = bt(t), s = new ee(this.bridge.getApi(), n, {
2869
+ const n = Z(t), s = new ee(this.bridge.getApi(), n, {
2870
2870
  mergeLayers: this.mergeLayers
2871
2871
  }), r = s.collectMeshes(), a = s.getBuildingRotation();
2872
2872
  return {
@@ -2901,19 +2901,19 @@ let __tla = Promise.all([
2901
2901
  const a = pe(t, e), l = Math.max(a, Math.ceil(s.totalJobs / 30));
2902
2902
  let d = 0;
2903
2903
  for(let f = 0; f < s.totalJobs; f += l){
2904
- const p = Math.min(f + l, s.totalJobs), g = s.jobs.slice(f * 3, p * 3), u = n.processGeometryBatch(t, g, s.unitScale, s.rtcOffset?.[0] ?? 0, s.rtcOffset?.[1] ?? 0, s.rtcOffset?.[2] ?? 0, s.needsShift, s.voidKeys, s.voidCounts, s.voidValues, s.styleIds, s.styleColors), y = Zn(u);
2905
- if (y.length === 0) {
2906
- await new Promise((N)=>setTimeout(N, 0));
2904
+ const p = Math.min(f + l, s.totalJobs), g = s.jobs.slice(f * 3, p * 3), u = n.processGeometryBatch(t, g, s.unitScale, s.rtcOffset?.[0] ?? 0, s.rtcOffset?.[1] ?? 0, s.rtcOffset?.[2] ?? 0, s.needsShift, s.voidKeys, s.voidCounts, s.voidValues, s.styleIds, s.styleColors), h = Kn(u);
2905
+ if (h.length === 0) {
2906
+ await new Promise((w)=>setTimeout(w, 0));
2907
2907
  continue;
2908
2908
  }
2909
- this.coordinateHandler.processMeshesIncremental(y), d += y.length;
2910
- const m = this.coordinateHandler.getCurrentCoordinateInfo(), C = m ? Ct(m, r) : null;
2909
+ this.coordinateHandler.processMeshesIncremental(h), d += h.length;
2910
+ const b = this.coordinateHandler.getCurrentCoordinateInfo(), C = b ? Ct(b, r) : null;
2911
2911
  yield {
2912
2912
  type: "batch",
2913
- meshes: y,
2913
+ meshes: h,
2914
2914
  totalSoFar: d,
2915
2915
  coordinateInfo: C || void 0
2916
- }, await new Promise((N)=>setTimeout(N, 0));
2916
+ }, await new Promise((w)=>setTimeout(w, 0));
2917
2917
  }
2918
2918
  n.clearPrePassCache?.();
2919
2919
  const _ = Ct(this.coordinateHandler.getFinalCoordinateInfo(), r);
@@ -2941,41 +2941,41 @@ let __tla = Promise.all([
2941
2941
  let a = 0, c = 0;
2942
2942
  const d = Math.max(e, Math.ceil(s.totalJobs / 30));
2943
2943
  for(let f = 0; f < s.totalJobs; f += d){
2944
- const p = Math.min(f + d, s.totalJobs), g = s.jobs.slice(f * 3, p * 3), u = n.processInstancedGeometryBatch(t, g, s.unitScale, s.rtcOffset?.[0] ?? 0, s.rtcOffset?.[1] ?? 0, s.rtcOffset?.[2] ?? 0, s.needsShift, s.styleIds, s.styleColors), y = Kn(u);
2945
- if (y.length === 0) {
2946
- await new Promise((T)=>setTimeout(T, 0));
2944
+ const p = Math.min(f + d, s.totalJobs), g = s.jobs.slice(f * 3, p * 3), u = n.processInstancedGeometryBatch(t, g, s.unitScale, s.rtcOffset?.[0] ?? 0, s.rtcOffset?.[1] ?? 0, s.rtcOffset?.[2] ?? 0, s.needsShift, s.styleIds, s.styleColors), h = Zn(u);
2945
+ if (h.length === 0) {
2946
+ await new Promise((A)=>setTimeout(A, 0));
2947
2947
  continue;
2948
2948
  }
2949
- const m = [];
2950
- for (const T of y){
2951
- const B = T.positions, G = T.normals, b = T.indices;
2952
- if (T.instance_count > 0) {
2953
- const A = T.get_instance(0);
2954
- if (A) {
2955
- const h = A.color;
2956
- m.push({
2957
- expressId: A.expressId,
2958
- positions: B,
2959
- normals: G,
2960
- indices: b,
2949
+ const b = [];
2950
+ for (const A of h){
2951
+ const M = A.positions, z = A.normals, m = A.indices;
2952
+ if (A.instance_count > 0) {
2953
+ const N = A.get_instance(0);
2954
+ if (N) {
2955
+ const I = N.color;
2956
+ b.push({
2957
+ expressId: N.expressId,
2958
+ positions: M,
2959
+ normals: z,
2960
+ indices: m,
2961
2961
  color: [
2962
- h[0],
2963
- h[1],
2964
- h[2],
2965
- h[3]
2962
+ I[0],
2963
+ I[1],
2964
+ I[2],
2965
+ I[3]
2966
2966
  ]
2967
2967
  });
2968
2968
  }
2969
2969
  }
2970
2970
  }
2971
- m.length > 0 && this.coordinateHandler.processMeshesIncremental(m), a += y.length, c += y.reduce((T, B)=>T + B.instance_count, 0);
2972
- const C = this.coordinateHandler.getCurrentCoordinateInfo(), N = C ? Ct(C, r) : null;
2971
+ b.length > 0 && this.coordinateHandler.processMeshesIncremental(b), a += h.length, c += h.reduce((A, M)=>A + M.instance_count, 0);
2972
+ const C = this.coordinateHandler.getCurrentCoordinateInfo(), w = C ? Ct(C, r) : null;
2973
2973
  yield {
2974
2974
  type: "batch",
2975
- geometries: y,
2975
+ geometries: h,
2976
2976
  totalSoFar: a,
2977
- coordinateInfo: N || void 0
2978
- }, await new Promise((T)=>setTimeout(T, 0));
2977
+ coordinateInfo: w || void 0
2978
+ }, await new Promise((A)=>setTimeout(A, 0));
2979
2979
  }
2980
2980
  n.clearPrePassCache?.();
2981
2981
  const _ = Ct(this.coordinateHandler.getFinalCoordinateInfo(), r);
@@ -2987,7 +2987,7 @@ let __tla = Promise.all([
2987
2987
  };
2988
2988
  }
2989
2989
  async *processStreaming(t, e, n = 25, s) {
2990
- const r = this.isNative ? null : Qe("processStreaming");
2990
+ const r = this.isNative ? null : qe("processStreaming");
2991
2991
  try {
2992
2992
  yield* this.processStreamingUnlocked(t, e, n, s);
2993
2993
  } finally{
@@ -3039,12 +3039,12 @@ let __tla = Promise.all([
3039
3039
  continue;
3040
3040
  }
3041
3041
  this.coordinateHandler.processMeshesIncremental(u.meshes), _ += u.meshes.length;
3042
- const y = this.coordinateHandler.getCurrentCoordinateInfo();
3042
+ const h = this.coordinateHandler.getCurrentCoordinateInfo();
3043
3043
  yield {
3044
3044
  type: "batch",
3045
3045
  meshes: u.meshes,
3046
3046
  totalSoFar: _,
3047
- coordinateInfo: y || void 0,
3047
+ coordinateInfo: h || void 0,
3048
3048
  nativeTelemetry: u.nativeTelemetry
3049
3049
  };
3050
3050
  }
@@ -3066,7 +3066,7 @@ let __tla = Promise.all([
3066
3066
  yield* this.processStreamingBytes(t, n);
3067
3067
  return;
3068
3068
  }
3069
- const r = bt(t);
3069
+ const r = Z(t);
3070
3070
  yield {
3071
3071
  type: "model-open",
3072
3072
  modelID: 0
@@ -3085,17 +3085,17 @@ let __tla = Promise.all([
3085
3085
  continue;
3086
3086
  }
3087
3087
  if (p && typeof p == "object" && "type" in p && p.type === "rtcOffset") {
3088
- const m = p;
3088
+ const b = p;
3089
3089
  yield {
3090
3090
  type: "rtcOffset",
3091
- rtcOffset: m.rtcOffset,
3092
- hasRtc: m.hasRtc
3091
+ rtcOffset: b.rtcOffset,
3092
+ hasRtc: b.hasRtc
3093
3093
  };
3094
3094
  continue;
3095
3095
  }
3096
3096
  const g = p;
3097
3097
  this.coordinateHandler.processMeshesIncremental(g), c += g.length;
3098
- const u = this.coordinateHandler.getCurrentCoordinateInfo(), y = u && l !== void 0 ? {
3098
+ const u = this.coordinateHandler.getCurrentCoordinateInfo(), h = u && l !== void 0 ? {
3099
3099
  ...u,
3100
3100
  buildingRotation: l
3101
3101
  } : u;
@@ -3103,7 +3103,7 @@ let __tla = Promise.all([
3103
3103
  type: "batch",
3104
3104
  meshes: g,
3105
3105
  totalSoFar: c,
3106
- coordinateInfo: y || void 0
3106
+ coordinateInfo: h || void 0
3107
3107
  };
3108
3108
  }
3109
3109
  l = a.getBuildingRotation();
@@ -3121,19 +3121,19 @@ let __tla = Promise.all([
3121
3121
  async *processStreamingPath(t, e = 0, n) {
3122
3122
  if (!this.isNative) throw new Error("File-path geometry streaming is only available in native desktop builds");
3123
3123
  if (this.platformBridge || await this.init(), !this.platformBridge?.processGeometryStreamingPath) throw new Error("Native platform bridge does not support file-path streaming");
3124
- yield* qe((s)=>this.platformBridge.processGeometryStreamingPath(t, s, n), e > 0 ? e / 1e3 : 0, this.coordinateHandler, (s)=>{
3124
+ yield* Qe((s)=>this.platformBridge.processGeometryStreamingPath(t, s, n), e > 0 ? e / 1e3 : 0, this.coordinateHandler, (s)=>{
3125
3125
  this.lastNativeStats = s;
3126
3126
  });
3127
3127
  }
3128
3128
  async *processStreamingCache(t) {
3129
3129
  if (!this.isNative) throw new Error("Native cached geometry streaming is only available in native desktop builds");
3130
3130
  if (this.platformBridge || await this.init(), !this.platformBridge?.processGeometryStreamingCache) throw new Error("Native platform bridge does not support cached geometry streaming");
3131
- yield* qe((e)=>this.platformBridge.processGeometryStreamingCache(t, e), 0, this.coordinateHandler, (e)=>{
3131
+ yield* Qe((e)=>this.platformBridge.processGeometryStreamingCache(t, e), 0, this.coordinateHandler, (e)=>{
3132
3132
  this.lastNativeStats = e;
3133
3133
  });
3134
3134
  }
3135
3135
  async *processInstancedStreaming(t, e = 25) {
3136
- const n = this.isNative ? null : Qe("processInstancedStreaming");
3136
+ const n = this.isNative ? null : qe("processInstancedStreaming");
3137
3137
  try {
3138
3138
  yield* this.processInstancedStreamingUnlocked(t, e);
3139
3139
  } finally{
@@ -3150,7 +3150,7 @@ let __tla = Promise.all([
3150
3150
  yield* this.processInstancedStreamingBytes(t, r);
3151
3151
  return;
3152
3152
  }
3153
- const a = bt(t);
3153
+ const a = Z(t);
3154
3154
  yield {
3155
3155
  type: "model-open",
3156
3156
  modelID: 0
@@ -3162,27 +3162,27 @@ let __tla = Promise.all([
3162
3162
  for await (const f of c.collectInstancedGeometryStreaming(s)){
3163
3163
  const p = [];
3164
3164
  for (const u of f){
3165
- const y = u.positions, m = u.normals, C = u.indices;
3165
+ const h = u.positions, b = u.normals, C = u.indices;
3166
3166
  if (u.instance_count > 0) {
3167
- const N = u.get_instance(0);
3168
- if (N) {
3169
- const T = N.color;
3167
+ const w = u.get_instance(0);
3168
+ if (w) {
3169
+ const A = w.color;
3170
3170
  p.push({
3171
- expressId: N.expressId,
3172
- positions: y,
3173
- normals: m,
3171
+ expressId: w.expressId,
3172
+ positions: h,
3173
+ normals: b,
3174
3174
  indices: C,
3175
3175
  color: [
3176
- T[0],
3177
- T[1],
3178
- T[2],
3179
- T[3]
3176
+ A[0],
3177
+ A[1],
3178
+ A[2],
3179
+ A[3]
3180
3180
  ]
3181
3181
  });
3182
3182
  }
3183
3183
  }
3184
3184
  }
3185
- p.length > 0 && this.coordinateHandler.processMeshesIncremental(p), l += f.length, d += f.reduce((u, y)=>u + y.instance_count, 0);
3185
+ p.length > 0 && this.coordinateHandler.processMeshesIncremental(p), l += f.length, d += f.reduce((u, h)=>u + h.instance_count, 0);
3186
3186
  const g = this.coordinateHandler.getCurrentCoordinateInfo();
3187
3187
  yield {
3188
3188
  type: "batch",
@@ -3220,7 +3220,7 @@ let __tla = Promise.all([
3220
3220
  let r;
3221
3221
  if (this.isNative && this.platformBridge) console.time("[GeometryProcessor] native-adaptive-sync"), r = (await this.platformBridge.processGeometry(t)).meshes, console.timeEnd("[GeometryProcessor] native-adaptive-sync");
3222
3222
  else {
3223
- const c = bt(t);
3223
+ const c = Z(t);
3224
3224
  r = new ee(this.bridge.getApi(), c, {
3225
3225
  mergeLayers: this.mergeLayers
3226
3226
  }).collectMeshes();
@@ -3247,17 +3247,17 @@ let __tla = Promise.all([
3247
3247
  }
3248
3248
  parseSymbolicRepresentations(t) {
3249
3249
  if (!this.bridge || !this.bridge.isInitialized()) return null;
3250
- const e = bt(t);
3250
+ const e = Z(t);
3251
3251
  return this.bridge.parseSymbolicRepresentations(e);
3252
3252
  }
3253
3253
  extractProfiles(t, e = 0) {
3254
3254
  if (!this.bridge || !this.bridge.isInitialized()) return null;
3255
- const n = bt(t);
3255
+ const n = Z(t);
3256
3256
  return this.bridge.extractProfiles(n, e);
3257
3257
  }
3258
3258
  dispose() {}
3259
3259
  };
3260
- xs = class {
3260
+ Os = class {
3261
3261
  geometryResult;
3262
3262
  constructor(t){
3263
3263
  this.geometryResult = t;
@@ -3301,17 +3301,17 @@ let __tla = Promise.all([
3301
3301
  triangleCount: this.geometryResult.totalTriangles
3302
3302
  });
3303
3303
  const s = new Map, r = [];
3304
- function a(b) {
3305
- const A = `${Math.round(b[0] * 100)},${Math.round(b[1] * 100)},${Math.round(b[2] * 100)},${Math.round(b[3] * 100)}`, h = s.get(A);
3306
- if (h !== void 0) return h;
3304
+ function a(m) {
3305
+ const N = `${Math.round(m[0] * 100)},${Math.round(m[1] * 100)},${Math.round(m[2] * 100)},${Math.round(m[3] * 100)}`, I = s.get(N);
3306
+ if (I !== void 0) return I;
3307
3307
  const F = r.length;
3308
3308
  return r.push({
3309
3309
  pbrMetallicRoughness: {
3310
3310
  baseColorFactor: [
3311
- b[0],
3312
- b[1],
3313
- b[2],
3314
- b[3]
3311
+ m[0],
3312
+ m[1],
3313
+ m[2],
3314
+ m[3]
3315
3315
  ],
3316
3316
  metallicFactor: 0,
3317
3317
  roughnessFactor: 1
@@ -3319,75 +3319,75 @@ let __tla = Promise.all([
3319
3319
  extensions: {
3320
3320
  KHR_materials_unlit: {}
3321
3321
  },
3322
- ...b[3] < 1 ? {
3322
+ ...m[3] < 1 ? {
3323
3323
  alphaMode: "BLEND"
3324
3324
  } : {}
3325
- }), s.set(A, F), F;
3325
+ }), s.set(N, F), F;
3326
3326
  }
3327
3327
  const c = [];
3328
3328
  let l = 0, d = 0, _ = 0;
3329
- for(let b = 0; b < e.length; b++){
3330
- const A = e[b], h = A.positions, F = A.normals, S = A.indices;
3331
- if (!h.length || !F.length || !S.length || h.length % 3 !== 0 || F.length % 3 !== 0 || h.length !== F.length) continue;
3332
- let E = h[0], I = h[1], w = h[2], x = h[0], z = h[1], P = h[2];
3333
- for(let H = 3; H < h.length; H += 3){
3334
- const X = h[H], k = h[H + 1], W = h[H + 2];
3335
- X < E && (E = X), X > x && (x = X), k < I && (I = k), k > z && (z = k), W < w && (w = W), W > P && (P = W);
3329
+ for(let m = 0; m < e.length; m++){
3330
+ const N = e[m], I = N.positions, F = N.normals, R = N.indices;
3331
+ if (!I.length || !F.length || !R.length || I.length % 3 !== 0 || F.length % 3 !== 0 || I.length !== F.length) continue;
3332
+ let E = I[0], y = I[1], T = I[2], O = I[0], V = I[1], U = I[2];
3333
+ for(let Q = 3; Q < I.length; Q += 3){
3334
+ const H = I[Q], k = I[Q + 1], W = I[Q + 2];
3335
+ H < E && (E = H), H > O && (O = H), k < y && (y = k), k > V && (V = k), W < T && (T = W), W > U && (U = W);
3336
3336
  }
3337
3337
  c.push({
3338
- meshIndex: b,
3339
- posCount: h.length,
3338
+ meshIndex: m,
3339
+ posCount: I.length,
3340
3340
  normCount: F.length,
3341
- idxCount: S.length,
3341
+ idxCount: R.length,
3342
3342
  posByteOffset: l * 4,
3343
3343
  normByteOffset: d * 4,
3344
3344
  idxByteOffset: _ * 4,
3345
3345
  bounds: {
3346
3346
  min: [
3347
3347
  E,
3348
- I,
3349
- w
3348
+ y,
3349
+ T
3350
3350
  ],
3351
3351
  max: [
3352
- x,
3353
- z,
3354
- P
3352
+ O,
3353
+ V,
3354
+ U
3355
3355
  ]
3356
3356
  },
3357
- materialIdx: A.color ? a(A.color) : void 0
3358
- }), l += h.length, d += F.length, _ += S.length;
3357
+ materialIdx: N.color ? a(N.color) : void 0
3358
+ }), l += I.length, d += F.length, _ += R.length;
3359
3359
  }
3360
3360
  if (l === 0 || d === 0 || _ === 0) throw new Error("Cannot export GLB: no valid geometry data found");
3361
3361
  const f = new Float32Array(l), p = new Float32Array(d), g = new Uint32Array(_);
3362
- let u = 0, y = 0, m = 0;
3362
+ let u = 0, h = 0, b = 0;
3363
3363
  const C = [];
3364
- for (const b of c){
3365
- const A = e[b.meshIndex];
3366
- f.set(A.positions, u), p.set(A.normals, y), g.set(A.indices, m), u += b.posCount, y += b.normCount, m += b.idxCount;
3367
- const h = n.accessors.length;
3364
+ for (const m of c){
3365
+ const N = e[m.meshIndex];
3366
+ f.set(N.positions, u), p.set(N.normals, h), g.set(N.indices, b), u += m.posCount, h += m.normCount, b += m.idxCount;
3367
+ const I = n.accessors.length;
3368
3368
  n.accessors.push({
3369
3369
  bufferView: 0,
3370
- byteOffset: b.posByteOffset,
3370
+ byteOffset: m.posByteOffset,
3371
3371
  componentType: 5126,
3372
- count: b.posCount / 3,
3372
+ count: m.posCount / 3,
3373
3373
  type: "VEC3",
3374
- min: b.bounds.min,
3375
- max: b.bounds.max
3374
+ min: m.bounds.min,
3375
+ max: m.bounds.max
3376
3376
  });
3377
3377
  const F = n.accessors.length;
3378
3378
  n.accessors.push({
3379
3379
  bufferView: 1,
3380
- byteOffset: b.normByteOffset,
3380
+ byteOffset: m.normByteOffset,
3381
3381
  componentType: 5126,
3382
- count: b.normCount / 3,
3382
+ count: m.normCount / 3,
3383
3383
  type: "VEC3"
3384
3384
  });
3385
- const S = n.accessors.length;
3385
+ const R = n.accessors.length;
3386
3386
  n.accessors.push({
3387
3387
  bufferView: 2,
3388
- byteOffset: b.idxByteOffset,
3388
+ byteOffset: m.idxByteOffset,
3389
3389
  componentType: 5125,
3390
- count: b.idxCount,
3390
+ count: m.idxCount,
3391
3391
  type: "SCALAR"
3392
3392
  });
3393
3393
  const E = n.meshes.length;
@@ -3395,71 +3395,71 @@ let __tla = Promise.all([
3395
3395
  primitives: [
3396
3396
  {
3397
3397
  attributes: {
3398
- POSITION: h,
3398
+ POSITION: I,
3399
3399
  NORMAL: F
3400
3400
  },
3401
- indices: S,
3402
- ...b.materialIdx !== void 0 ? {
3403
- material: b.materialIdx
3401
+ indices: R,
3402
+ ...m.materialIdx !== void 0 ? {
3403
+ material: m.materialIdx
3404
3404
  } : {}
3405
3405
  }
3406
3406
  ]
3407
3407
  });
3408
- const I = n.nodes.length, w = {
3408
+ const y = n.nodes.length, T = {
3409
3409
  mesh: E
3410
3410
  };
3411
- t.includeMetadata && A.expressId !== void 0 && (w.extras = A.modelIndex !== void 0 ? {
3412
- expressId: A.expressId,
3413
- modelIndex: A.modelIndex
3411
+ t.includeMetadata && N.expressId !== void 0 && (T.extras = N.modelIndex !== void 0 ? {
3412
+ expressId: N.expressId,
3413
+ modelIndex: N.modelIndex
3414
3414
  } : {
3415
- expressId: A.expressId
3416
- }), n.nodes.push(w), C.push(I);
3415
+ expressId: N.expressId
3416
+ }), n.nodes.push(T), C.push(y);
3417
3417
  }
3418
3418
  n.scenes[0].nodes = C, r.length > 0 && (n.materials = r, n.extensionsUsed = [
3419
3419
  "KHR_materials_unlit"
3420
3420
  ]);
3421
- const N = f.buffer, T = p.buffer, B = g.buffer, G = N.byteLength + T.byteLength + B.byteLength;
3421
+ const w = f.buffer, A = p.buffer, M = g.buffer, z = w.byteLength + A.byteLength + M.byteLength;
3422
3422
  n.bufferViews.push({
3423
3423
  buffer: 0,
3424
3424
  byteOffset: 0,
3425
- byteLength: N.byteLength,
3425
+ byteLength: w.byteLength,
3426
3426
  byteStride: 12,
3427
3427
  target: 34962
3428
3428
  }), n.bufferViews.push({
3429
3429
  buffer: 0,
3430
- byteOffset: N.byteLength,
3431
- byteLength: T.byteLength,
3430
+ byteOffset: w.byteLength,
3431
+ byteLength: A.byteLength,
3432
3432
  byteStride: 12,
3433
3433
  target: 34962
3434
3434
  }), n.bufferViews.push({
3435
3435
  buffer: 0,
3436
- byteOffset: N.byteLength + T.byteLength,
3437
- byteLength: B.byteLength,
3436
+ byteOffset: w.byteLength + A.byteLength,
3437
+ byteLength: M.byteLength,
3438
3438
  target: 34963
3439
- }), n.buffers[0].byteLength = G;
3440
- for (const b of n.accessors){
3441
- const A = n.bufferViews[b.bufferView];
3442
- if (!A) throw new Error(`Accessor references invalid bufferView ${b.bufferView}`);
3443
- let h = 0;
3444
- if (b.componentType === 5126) h = 4;
3445
- else if (b.componentType === 5125) h = 4;
3446
- else if (b.componentType === 5123) h = 2;
3447
- else if (b.componentType === 5120) h = 1;
3448
- else throw new Error(`Unsupported component type: ${b.componentType}`);
3439
+ }), n.buffers[0].byteLength = z;
3440
+ for (const m of n.accessors){
3441
+ const N = n.bufferViews[m.bufferView];
3442
+ if (!N) throw new Error(`Accessor references invalid bufferView ${m.bufferView}`);
3443
+ let I = 0;
3444
+ if (m.componentType === 5126) I = 4;
3445
+ else if (m.componentType === 5125) I = 4;
3446
+ else if (m.componentType === 5123) I = 2;
3447
+ else if (m.componentType === 5120) I = 1;
3448
+ else throw new Error(`Unsupported component type: ${m.componentType}`);
3449
3449
  let F = 1;
3450
- if (b.type === "VEC3") F = 3;
3451
- else if (b.type === "VEC2") F = 2;
3452
- else if (b.type === "SCALAR") F = 1;
3453
- else throw new Error(`Unsupported accessor type: ${b.type}`);
3454
- const S = b.count * F * h, E = (b.byteOffset || 0) + S;
3455
- if (E > A.byteLength) throw new Error(`Accessor exceeds bufferView bounds: accessor byteOffset=${b.byteOffset || 0}, length=${S}, bufferView byteLength=${A.byteLength}, end=${E}`);
3450
+ if (m.type === "VEC3") F = 3;
3451
+ else if (m.type === "VEC2") F = 2;
3452
+ else if (m.type === "SCALAR") F = 1;
3453
+ else throw new Error(`Unsupported accessor type: ${m.type}`);
3454
+ const R = m.count * F * I, E = (m.byteOffset || 0) + R;
3455
+ if (E > N.byteLength) throw new Error(`Accessor exceeds bufferView bounds: accessor byteOffset=${m.byteOffset || 0}, length=${R}, bufferView byteLength=${N.byteLength}, end=${E}`);
3456
3456
  }
3457
3457
  return {
3458
3458
  json: n,
3459
3459
  buffers: [
3460
- new Uint8Array(N),
3461
- new Uint8Array(T),
3462
- new Uint8Array(B)
3460
+ new Uint8Array(w),
3461
+ new Uint8Array(A),
3462
+ new Uint8Array(M)
3463
3463
  ]
3464
3464
  };
3465
3465
  }
@@ -3473,11 +3473,11 @@ let __tla = Promise.all([
3473
3473
  const n = JSON.stringify(t), s = new TextEncoder().encode(n), r = (4 - s.byteLength % 4) % 4, a = s.byteLength + r, c = this.combineBuffers(e), l = (4 - c.byteLength % 4) % 4, d = c.byteLength + l, _ = 20 + a + 8 + d, f = new ArrayBuffer(_), p = new DataView(f), g = new Uint8Array(f);
3474
3474
  let u = 0;
3475
3475
  p.setUint32(u, 1179937895, !0), u += 4, p.setUint32(u, 2, !0), u += 4, p.setUint32(u, _, !0), u += 4, p.setUint32(u, a, !0), u += 4, p.setUint32(u, 1313821514, !0), u += 4, g.set(s, u), u += s.byteLength;
3476
- for(let y = 0; y < r; y++)g[u++] = 32;
3476
+ for(let h = 0; h < r; h++)g[u++] = 32;
3477
3477
  return p.setUint32(u, d, !0), u += 4, p.setUint32(u, 5130562, !0), u += 4, g.set(c, u), new Uint8Array(f);
3478
3478
  }
3479
3479
  };
3480
- Os = class {
3480
+ xs = class {
3481
3481
  store;
3482
3482
  constructor(t){
3483
3483
  this.store = t;
@@ -3525,12 +3525,12 @@ let __tla = Promise.all([
3525
3525
  if (s && r) {
3526
3526
  const p = this.getPropertiesForEntity(_), g = new Map;
3527
3527
  for (const u of p){
3528
- const y = new Map;
3529
- for (const m of u.properties)y.set(m.name, m.value);
3530
- g.set(u.name, y);
3528
+ const h = new Map;
3529
+ for (const b of u.properties)h.set(b.name, b.value);
3530
+ g.set(u.name, h);
3531
3531
  }
3532
- for (const [u, y] of c)for (const m of y){
3533
- const C = g.get(u)?.get(m) ?? "";
3532
+ for (const [u, h] of c)for (const b of h){
3533
+ const C = g.get(u)?.get(b) ?? "";
3534
3534
  f.push(this.escapeValue(C));
3535
3535
  }
3536
3536
  }
@@ -3591,7 +3591,7 @@ let __tla = Promise.all([
3591
3591
  if (!d || d.length === 0) continue;
3592
3592
  const _ = this.store.entities.getGlobalId(l) || "", f = this.store.entities.getName(l) || "", p = this.store.entities.getTypeName(l) || "";
3593
3593
  for (const g of d)if (!(!g.quantities || g.quantities.length === 0)) for (const u of g.quantities){
3594
- const y = [
3594
+ const h = [
3595
3595
  this.escapeValue(l),
3596
3596
  this.escapeValue(_),
3597
3597
  this.escapeValue(f),
@@ -3601,7 +3601,7 @@ let __tla = Promise.all([
3601
3601
  this.escapeValue(u.value),
3602
3602
  this.escapeValue(u.type ?? "")
3603
3603
  ];
3604
- a.push(this.joinRow(y, n));
3604
+ a.push(this.joinRow(h, n));
3605
3605
  }
3606
3606
  }
3607
3607
  return a.join(`
@@ -3648,7 +3648,7 @@ let __tla = Promise.all([
3648
3648
  return t.join(e);
3649
3649
  }
3650
3650
  };
3651
- const os = 35, ne = 48, Ze = 57, as = new Set([
3651
+ const os = 35, ne = 48, Ke = 57, as = new Set([
3652
3652
  "IFCOWNERHISTORY",
3653
3653
  "IFCAPPLICATION",
3654
3654
  "IFCPERSON",
@@ -3897,9 +3897,9 @@ let __tla = Promise.all([
3897
3897
  const s = t + e;
3898
3898
  let r = t;
3899
3899
  for(; r < s;)if (i[r] === os) {
3900
- if (r++, r < s && i[r] >= ne && i[r] <= Ze) {
3900
+ if (r++, r < s && i[r] >= ne && i[r] <= Ke) {
3901
3901
  let a = i[r] - ne;
3902
- for(r++; r < s && i[r] >= ne && i[r] <= Ze;)a = a * 10 + (i[r] - ne), r++;
3902
+ for(r++; r < s && i[r] >= ne && i[r] <= Ke;)a = a * 10 + (i[r] - ne), r++;
3903
3903
  n.push(a);
3904
3904
  }
3905
3905
  } else r++;
@@ -4003,7 +4003,7 @@ let __tla = Promise.all([
4003
4003
  }
4004
4004
  }
4005
4005
  }
4006
- const Ke = new Map([
4006
+ const Ze = new Map([
4007
4007
  [
4008
4008
  "IFCELECTRICDISTRIBUTIONPOINT",
4009
4009
  "IFCELECTRICDISTRIBUTIONBOARD"
@@ -4382,7 +4382,7 @@ let __tla = Promise.all([
4382
4382
  return fs(t, e)?.get(n) ?? n;
4383
4383
  }
4384
4384
  function fs(i, t) {
4385
- return i === "IFC2X3" && t === "IFC4" ? Ke : i === "IFC4" && t === "IFC2X3" ? tn : i === "IFC4" && t === "IFC4X3" ? ge : i === "IFC4X3" && t === "IFC4" ? he : i === "IFC5" && t === "IFC4X3" || i === "IFC4X3" && t === "IFC5" ? null : i === "IFC5" && t === "IFC4" ? he : i === "IFC4" && t === "IFC5" ? ge : i === "IFC2X3" && (t === "IFC4X3" || t === "IFC5") ? en(Ke, ge) : (i === "IFC4X3" || i === "IFC5") && t === "IFC2X3" ? en(he, tn) : null;
4385
+ return i === "IFC2X3" && t === "IFC4" ? Ze : i === "IFC4" && t === "IFC2X3" ? tn : i === "IFC4" && t === "IFC4X3" ? ge : i === "IFC4X3" && t === "IFC4" ? he : i === "IFC5" && t === "IFC4X3" || i === "IFC4X3" && t === "IFC5" ? null : i === "IFC5" && t === "IFC4" ? he : i === "IFC4" && t === "IFC5" ? ge : i === "IFC2X3" && (t === "IFC4X3" || t === "IFC5") ? en(Ze, ge) : (i === "IFC4X3" || i === "IFC5") && t === "IFC2X3" ? en(he, tn) : null;
4386
4386
  }
4387
4387
  function en(i, t) {
4388
4388
  const e = new Map;
@@ -4443,10 +4443,10 @@ let __tla = Promise.all([
4443
4443
  for(let s = 0; s < 16; s++)e += i[n % 64], n = Math.floor(n / 64) + s;
4444
4444
  return e;
4445
4445
  }
4446
- function et(i) {
4446
+ function nt(i) {
4447
4447
  return i.replace(/\\/g, "\\\\").replace(/'/g, "''");
4448
4448
  }
4449
- function Z(i) {
4449
+ function K(i) {
4450
4450
  if (!Number.isFinite(i)) return "0.";
4451
4451
  const t = i.toString();
4452
4452
  return t.includes(".") ? t : t + ".";
@@ -4472,28 +4472,28 @@ let __tla = Promise.all([
4472
4472
  function un(i, t) {
4473
4473
  if (i == null) return "$";
4474
4474
  switch(t){
4475
- case tt.String:
4476
- case tt.Label:
4477
- case tt.Text:
4478
- return `IFCLABEL('${et(String(i))}')`;
4479
- case tt.Identifier:
4480
- return `IFCIDENTIFIER('${et(String(i))}')`;
4481
- case tt.Real:
4475
+ case et.String:
4476
+ case et.Label:
4477
+ case et.Text:
4478
+ return `IFCLABEL('${nt(String(i))}')`;
4479
+ case et.Identifier:
4480
+ return `IFCIDENTIFIER('${nt(String(i))}')`;
4481
+ case et.Real:
4482
4482
  {
4483
4483
  const e = Number(i);
4484
4484
  return Number.isFinite(e) ? `IFCREAL(${e.toString().includes(".") ? e : e + "."})` : "$";
4485
4485
  }
4486
- case tt.Integer:
4486
+ case et.Integer:
4487
4487
  return `IFCINTEGER(${Math.round(Number(i))})`;
4488
- case tt.Boolean:
4489
- case tt.Logical:
4488
+ case et.Boolean:
4489
+ case et.Logical:
4490
4490
  return i === !0 ? "IFCBOOLEAN(.T.)" : i === !1 ? "IFCBOOLEAN(.F.)" : "IFCLOGICAL(.U.)";
4491
- case tt.Enum:
4491
+ case et.Enum:
4492
4492
  return `.${String(i).toUpperCase()}.`;
4493
- case tt.List:
4494
- return Array.isArray(i) ? `(${i.map((n)=>un(n, tt.String)).join(",")})` : "$";
4493
+ case et.List:
4494
+ return Array.isArray(i) ? `(${i.map((n)=>un(n, et.String)).join(",")})` : "$";
4495
4495
  default:
4496
- return `IFCLABEL('${et(String(i))}')`;
4496
+ return `IFCLABEL('${nt(String(i))}')`;
4497
4497
  }
4498
4498
  }
4499
4499
  function ys(i, t) {
@@ -4507,17 +4507,17 @@ let __tla = Promise.all([
4507
4507
  }
4508
4508
  if (/^-?\d+(?:\.\d+)?(?:E[+-]?\d+)?$/i.test(e) && /^-?\d/.test(n)) {
4509
4509
  const s = Number(e);
4510
- return Number.isFinite(s) ? n.includes(".") || /E/i.test(n) ? Z(s) : String(s) : "$";
4510
+ return Number.isFinite(s) ? n.includes(".") || /E/i.test(n) ? K(s) : String(s) : "$";
4511
4511
  }
4512
4512
  return an(i);
4513
4513
  }
4514
4514
  function Se(i) {
4515
4515
  if (i == null) return "$";
4516
4516
  if (typeof i == "boolean") return i ? ".T." : ".F.";
4517
- if (typeof i == "number") return Number.isFinite(i) ? Number.isInteger(i) ? String(i) : Z(i) : "$";
4517
+ if (typeof i == "number") return Number.isFinite(i) ? Number.isInteger(i) ? String(i) : K(i) : "$";
4518
4518
  if (Array.isArray(i)) return `(${i.map(Se).join(",")})`;
4519
4519
  const t = String(i).trim();
4520
- return t === "$" || t === "*" || /^#\d+$/.test(t) ? t : /^\.[A-Z0-9_]+\.$/i.test(t) ? t.toUpperCase() : `'${et(String(i))}'`;
4520
+ return t === "$" || t === "*" || /^#\d+$/.test(t) ? t : /^\.[A-Z0-9_]+\.$/i.test(t) ? t.toUpperCase() : `'${nt(String(i))}'`;
4521
4521
  }
4522
4522
  function ms(i) {
4523
4523
  return i.map(Se).join(",");
@@ -4594,178 +4594,178 @@ let __tla = Promise.all([
4594
4594
  organization: t.organization || "",
4595
4595
  application: t.application || "ifc-lite",
4596
4596
  filename: t.filename || "export.ifc"
4597
- }), d = new Set, _ = new Map, f = new Map, p = [], g = [], u = new Map, y = new Map, m = new Set, C = new Map, N = new Set, T = new Set;
4597
+ }), d = new Set, _ = new Map, f = new Map, p = [], g = [], u = new Map, h = new Map, b = new Set, C = new Map, w = new Set, A = new Set;
4598
4598
  if (this.mutationView && t.applyMutations !== !1) {
4599
- const h = this.mutationView.getMutations(), F = new Map, S = new Map;
4600
- for (const I of h){
4601
- if (I.type === "UPDATE_ATTRIBUTE" && I.attributeName) {
4602
- d.add(I.entityId), f.has(I.entityId) || f.set(I.entityId, new Map), f.get(I.entityId).set(I.attributeName, I.newValue == null ? "" : String(I.newValue));
4599
+ const I = this.mutationView.getMutations(), F = new Map, R = new Map;
4600
+ for (const y of I){
4601
+ if (y.type === "UPDATE_ATTRIBUTE" && y.attributeName) {
4602
+ d.add(y.entityId), f.has(y.entityId) || f.set(y.entityId, new Map), f.get(y.entityId).set(y.attributeName, y.newValue == null ? "" : String(y.newValue));
4603
4603
  continue;
4604
4604
  }
4605
- if (!I.psetName) continue;
4606
- const x = I.type === "CREATE_QUANTITY" || I.type === "UPDATE_QUANTITY" || I.type === "DELETE_QUANTITY" ? S : F;
4607
- x.has(I.entityId) || x.set(I.entityId, new Set), x.get(I.entityId).add(I.psetName);
4605
+ if (!y.psetName) continue;
4606
+ const O = y.type === "CREATE_QUANTITY" || y.type === "UPDATE_QUANTITY" || y.type === "DELETE_QUANTITY" ? R : F;
4607
+ O.has(y.entityId) || O.set(y.entityId, new Set), O.get(y.entityId).add(y.psetName);
4608
4608
  }
4609
4609
  const E = this.buildRelDefinesByPropertiesIndex();
4610
- for (const [I, w] of F){
4611
- d.add(I), _.set(I, w), s++;
4612
- const z = this.mutationView.getForEntity(I).filter((X)=>w.has(X.name)), P = new Set;
4613
- z.length > 0 && p.push({
4614
- entityId: I,
4615
- psets: z
4610
+ for (const [y, T] of F){
4611
+ d.add(y), _.set(y, T), s++;
4612
+ const V = this.mutationView.getForEntity(y).filter((H)=>T.has(H.name)), U = new Set;
4613
+ V.length > 0 && p.push({
4614
+ entityId: y,
4615
+ psets: V
4616
4616
  });
4617
- const H = E.get(I);
4618
- if (H) for (const { relId: X, psetId: k } of H){
4617
+ const Q = E.get(y);
4618
+ if (Q) for (const { relId: H, psetId: k } of Q){
4619
4619
  const W = this.getPropertySetName(k);
4620
- if (W && P.add(W), W && w.has(W)) {
4621
- T.add(X), N.add(k);
4622
- const J = this.getPropertyIdsInSet(k);
4623
- for (const _t of J)N.add(_t);
4620
+ if (W && U.add(W), W && T.has(W)) {
4621
+ A.add(H), w.add(k);
4622
+ const X = this.getPropertyIdsInSet(k);
4623
+ for (const ft of X)w.add(ft);
4624
4624
  }
4625
4625
  }
4626
- if (this.isTypeEntity(I)) {
4627
- const X = this.getTypeOwnedHasPropertySetIds(I), k = new Set;
4628
- for (const W of X){
4629
- const J = this.getPropertySetName(W);
4630
- if (!J || !w.has(J)) continue;
4631
- k.add(J), N.add(W);
4632
- const _t = this.getPropertyIdsInSet(W);
4633
- for (const nt of _t)N.add(nt);
4626
+ if (this.isTypeEntity(y)) {
4627
+ const H = this.getTypeOwnedHasPropertySetIds(y), k = new Set;
4628
+ for (const W of H){
4629
+ const X = this.getPropertySetName(W);
4630
+ if (!X || !T.has(X)) continue;
4631
+ k.add(X), w.add(W);
4632
+ const ft = this.getPropertyIdsInSet(W);
4633
+ for (const st of ft)w.add(st);
4634
4634
  }
4635
- for (const W of w)P.has(W) || k.add(W);
4636
- k.size > 0 && (u.set(I, k), y.set(I, X), m.add(I));
4635
+ for (const W of T)U.has(W) || k.add(W);
4636
+ k.size > 0 && (u.set(y, k), h.set(y, H), b.add(y));
4637
4637
  }
4638
4638
  }
4639
- t.includeQuantities === !1 && S.clear();
4640
- for (const [I, w] of S){
4641
- d.add(I), _.has(I) || s++;
4642
- const z = this.mutationView.getQuantitiesForEntity(I).filter((H)=>w.has(H.name));
4643
- z.length > 0 && g.push({
4644
- entityId: I,
4645
- qsets: z
4639
+ t.includeQuantities === !1 && R.clear();
4640
+ for (const [y, T] of R){
4641
+ d.add(y), _.has(y) || s++;
4642
+ const V = this.mutationView.getQuantitiesForEntity(y).filter((Q)=>T.has(Q.name));
4643
+ V.length > 0 && g.push({
4644
+ entityId: y,
4645
+ qsets: V
4646
4646
  });
4647
- const P = E.get(I);
4648
- if (P) for (const { relId: H, psetId: X } of P){
4649
- const k = this.getElementQuantityName(X);
4650
- if (k && w.has(k)) {
4651
- T.add(H), N.add(X);
4652
- const W = this.getPropertyIdsInSet(X);
4653
- for (const J of W)N.add(J);
4647
+ const U = E.get(y);
4648
+ if (U) for (const { relId: Q, psetId: H } of U){
4649
+ const k = this.getElementQuantityName(H);
4650
+ if (k && T.has(k)) {
4651
+ A.add(Q), w.add(H);
4652
+ const W = this.getPropertyIdsInSet(H);
4653
+ for (const X of W)w.add(X);
4654
4654
  }
4655
4655
  }
4656
4656
  }
4657
- for (const [I] of f)!F.has(I) && !S.has(I) && s++;
4657
+ for (const [y] of f)!F.has(y) && !R.has(y) && s++;
4658
4658
  }
4659
- const B = [];
4659
+ const M = [];
4660
4660
  if (t.applyMutations !== !1 && t.georefMutations) {
4661
- const h = t.georefMutations, F = this.dataStore.entityIndex.byType.get("IFCPROJECTEDCRS"), S = this.dataStore.entityIndex.byType.get("IFCMAPCONVERSION");
4662
- if (h.projectedCRS && F?.length) {
4661
+ const I = t.georefMutations, F = this.dataStore.entityIndex.byType.get("IFCPROJECTEDCRS"), R = this.dataStore.entityIndex.byType.get("IFCMAPCONVERSION");
4662
+ if (I.projectedCRS && F?.length) {
4663
4663
  const E = F[0];
4664
4664
  f.has(E) || f.set(E, new Map);
4665
- const I = f.get(E), w = h.projectedCRS;
4666
- let x = !1;
4667
- if (w.name !== void 0 && (I.set("Name", String(w.name)), x = !0), w.description !== void 0 && (I.set("Description", String(w.description)), x = !0), w.geodeticDatum !== void 0 && (I.set("GeodeticDatum", String(w.geodeticDatum)), x = !0), w.verticalDatum !== void 0 && (I.set("VerticalDatum", String(w.verticalDatum)), x = !0), w.mapProjection !== void 0 && (I.set("MapProjection", String(w.mapProjection)), x = !0), w.mapZone !== void 0 && (I.set("MapZone", String(w.mapZone)), x = !0), w.mapUnit !== void 0) {
4668
- const z = this.resolveMapUnitReference(String(w.mapUnit), B);
4669
- I.set("MapUnit", `#${z}`), x = !0;
4665
+ const y = f.get(E), T = I.projectedCRS;
4666
+ let O = !1;
4667
+ if (T.name !== void 0 && (y.set("Name", String(T.name)), O = !0), T.description !== void 0 && (y.set("Description", String(T.description)), O = !0), T.geodeticDatum !== void 0 && (y.set("GeodeticDatum", String(T.geodeticDatum)), O = !0), T.verticalDatum !== void 0 && (y.set("VerticalDatum", String(T.verticalDatum)), O = !0), T.mapProjection !== void 0 && (y.set("MapProjection", String(T.mapProjection)), O = !0), T.mapZone !== void 0 && (y.set("MapZone", String(T.mapZone)), O = !0), T.mapUnit !== void 0) {
4668
+ const V = this.resolveMapUnitReference(String(T.mapUnit), M);
4669
+ y.set("MapUnit", `#${V}`), O = !0;
4670
4670
  }
4671
- x && !d.has(E) && (d.add(E), s++);
4671
+ O && !d.has(E) && (d.add(E), s++);
4672
4672
  }
4673
- if (h.mapConversion && S?.length) {
4674
- const E = S[0];
4673
+ if (I.mapConversion && R?.length) {
4674
+ const E = R[0];
4675
4675
  f.has(E) || f.set(E, new Map);
4676
- const I = f.get(E), w = h.mapConversion;
4677
- let x = !1;
4678
- w.eastings !== void 0 && (I.set("Eastings", String(w.eastings)), x = !0), w.northings !== void 0 && (I.set("Northings", String(w.northings)), x = !0), w.orthogonalHeight !== void 0 && (I.set("OrthogonalHeight", String(w.orthogonalHeight)), x = !0), w.xAxisAbscissa !== void 0 && (I.set("XAxisAbscissa", String(w.xAxisAbscissa)), x = !0), w.xAxisOrdinate !== void 0 && (I.set("XAxisOrdinate", String(w.xAxisOrdinate)), x = !0), w.scale !== void 0 && (I.set("Scale", String(w.scale)), x = !0), x && !d.has(E) && (d.add(E), s++);
4676
+ const y = f.get(E), T = I.mapConversion;
4677
+ let O = !1;
4678
+ T.eastings !== void 0 && (y.set("Eastings", String(T.eastings)), O = !0), T.northings !== void 0 && (y.set("Northings", String(T.northings)), O = !0), T.orthogonalHeight !== void 0 && (y.set("OrthogonalHeight", String(T.orthogonalHeight)), O = !0), T.xAxisAbscissa !== void 0 && (y.set("XAxisAbscissa", String(T.xAxisAbscissa)), O = !0), T.xAxisOrdinate !== void 0 && (y.set("XAxisOrdinate", String(T.xAxisOrdinate)), O = !0), T.scale !== void 0 && (y.set("Scale", String(T.scale)), O = !0), O && !d.has(E) && (d.add(E), s++);
4679
4679
  }
4680
- if (h.projectedCRS && !F?.length) {
4681
- const E = h.projectedCRS, I = this.nextExpressId++, w = E.name ? `'${et(String(E.name))}'` : "$", x = E.description ? `'${et(String(E.description))}'` : "$", z = E.geodeticDatum ? `'${et(String(E.geodeticDatum))}'` : "$", P = E.verticalDatum ? `'${et(String(E.verticalDatum))}'` : "$", H = E.mapProjection ? `'${et(String(E.mapProjection))}'` : "$", X = E.mapZone ? `'${et(String(E.mapZone))}'` : "$", k = E.mapUnit ? `#${this.resolveMapUnitReference(String(E.mapUnit), B)}` : "$";
4682
- B.push(`#${I}=IFCPROJECTEDCRS(${w},${x},${z},${P},${H},${X},${k});`), n++;
4680
+ if (I.projectedCRS && !F?.length) {
4681
+ const E = I.projectedCRS, y = this.nextExpressId++, T = E.name ? `'${nt(String(E.name))}'` : "$", O = E.description ? `'${nt(String(E.description))}'` : "$", V = E.geodeticDatum ? `'${nt(String(E.geodeticDatum))}'` : "$", U = E.verticalDatum ? `'${nt(String(E.verticalDatum))}'` : "$", Q = E.mapProjection ? `'${nt(String(E.mapProjection))}'` : "$", H = E.mapZone ? `'${nt(String(E.mapZone))}'` : "$", k = E.mapUnit ? `#${this.resolveMapUnitReference(String(E.mapUnit), M)}` : "$";
4682
+ M.push(`#${y}=IFCPROJECTEDCRS(${T},${O},${V},${U},${Q},${H},${k});`), n++;
4683
4683
  const W = this.findPreferredGeometricRepresentationContextId();
4684
4684
  if (W) {
4685
- const J = h.mapConversion || {}, _t = this.nextExpressId++, nt = Z(Number(J.eastings) || 0), ot = Z(Number(J.northings) || 0), ht = Z(Number(J.orthogonalHeight) || 0), Kt = J.xAxisAbscissa !== void 0 ? Z(Number(J.xAxisAbscissa)) : "$", St = J.xAxisOrdinate !== void 0 ? Z(Number(J.xAxisOrdinate)) : "$", oe = J.scale !== void 0 ? Z(Number(J.scale)) : "$";
4686
- B.push(`#${_t}=IFCMAPCONVERSION(#${W},#${I},${nt},${ot},${ht},${Kt},${St},${oe});`), n++;
4685
+ const X = I.mapConversion || {}, ft = this.nextExpressId++, st = K(Number(X.eastings) || 0), at = K(Number(X.northings) || 0), It = K(Number(X.orthogonalHeight) || 0), Zt = X.xAxisAbscissa !== void 0 ? K(Number(X.xAxisAbscissa)) : "$", St = X.xAxisOrdinate !== void 0 ? K(Number(X.xAxisOrdinate)) : "$", oe = X.scale !== void 0 ? K(Number(X.scale)) : "$";
4686
+ M.push(`#${ft}=IFCMAPCONVERSION(#${W},#${y},${st},${at},${It},${Zt},${St},${oe});`), n++;
4687
4687
  } else console.warn("[StepExporter] Cannot create IfcMapConversion: no IfcGeometricRepresentationContext found in source file");
4688
- } else if (h.mapConversion && !S?.length && F?.length) {
4688
+ } else if (I.mapConversion && !R?.length && F?.length) {
4689
4689
  const E = this.findPreferredGeometricRepresentationContextId();
4690
4690
  if (E) {
4691
- const I = h.mapConversion, w = this.nextExpressId++, x = Z(Number(I.eastings) || 0), z = Z(Number(I.northings) || 0), P = Z(Number(I.orthogonalHeight) || 0), H = I.xAxisAbscissa !== void 0 ? Z(Number(I.xAxisAbscissa)) : "$", X = I.xAxisOrdinate !== void 0 ? Z(Number(I.xAxisOrdinate)) : "$", k = I.scale !== void 0 ? Z(Number(I.scale)) : "$";
4692
- B.push(`#${w}=IFCMAPCONVERSION(#${E},#${F[0]},${x},${z},${P},${H},${X},${k});`), n++;
4691
+ const y = I.mapConversion, T = this.nextExpressId++, O = K(Number(y.eastings) || 0), V = K(Number(y.northings) || 0), U = K(Number(y.orthogonalHeight) || 0), Q = y.xAxisAbscissa !== void 0 ? K(Number(y.xAxisAbscissa)) : "$", H = y.xAxisOrdinate !== void 0 ? K(Number(y.xAxisOrdinate)) : "$", k = y.scale !== void 0 ? K(Number(y.scale)) : "$";
4692
+ M.push(`#${T}=IFCMAPCONVERSION(#${E},#${F[0]},${O},${V},${U},${Q},${H},${k});`), n++;
4693
4693
  } else console.warn("[StepExporter] Cannot create IfcMapConversion: no IfcGeometricRepresentationContext found in source file");
4694
4694
  }
4695
4695
  }
4696
- const G = this.mutationView && t.applyMutations !== !1 && typeof this.mutationView.getNewEntities == "function" ? this.mutationView.getNewEntities().length : 0;
4697
- if (t.deltaOnly && d.size === 0 && G === 0 && B.length === 0) {
4698
- const h = new TextEncoder().encode(l + `DATA;
4696
+ const z = this.mutationView && t.applyMutations !== !1 && typeof this.mutationView.getNewEntities == "function" ? this.mutationView.getNewEntities().length : 0;
4697
+ if (t.deltaOnly && d.size === 0 && z === 0 && M.length === 0) {
4698
+ const I = new TextEncoder().encode(l + `DATA;
4699
4699
  ENDSEC;
4700
4700
  END-ISO-10303-21;
4701
4701
  `);
4702
4702
  return {
4703
- content: h,
4703
+ content: I,
4704
4704
  stats: {
4705
4705
  entityCount: 0,
4706
4706
  newEntityCount: 0,
4707
4707
  modifiedEntityCount: 0,
4708
- fileSize: h.byteLength
4708
+ fileSize: I.byteLength
4709
4709
  }
4710
4710
  };
4711
4711
  }
4712
- let b = null;
4712
+ let m = null;
4713
4713
  if (t.visibleOnly && this.dataStore.source) {
4714
- const { roots: h, hiddenProductIds: F } = Te(this.dataStore, t.hiddenEntityIds ?? new Set, t.isolatedEntityIds ?? null);
4715
- b = Ce(h, this.dataStore.source, this.dataStore.entityIndex.byId, F), Fe(b, this.dataStore.source, this.dataStore.entityIndex);
4714
+ const { roots: I, hiddenProductIds: F } = Te(this.dataStore, t.hiddenEntityIds ?? new Set, t.isolatedEntityIds ?? null);
4715
+ m = Ce(I, this.dataStore.source, this.dataStore.entityIndex.byId, F), Fe(m, this.dataStore.source, this.dataStore.entityIndex);
4716
4716
  }
4717
4717
  if (!t.deltaOnly && this.dataStore.source) {
4718
- const h = new TextDecoder, F = this.dataStore.source, S = !!this.mutationView && t.applyMutations !== !1;
4719
- for (const [E, I] of this.dataStore.entityIndex.byId){
4720
- if (S && typeof this.mutationView.isDeleted == "function" && this.mutationView.isDeleted(E) || I.byteLength === 0 || I.byteOffset < 0 || b !== null && !b.has(E) || N.has(E) || T.has(E) || m.has(E)) continue;
4721
- const w = I.type.toUpperCase();
4722
- if (t.includeGeometry === !1 && this.isGeometryEntity(w)) continue;
4723
- const x = h.decode(F.subarray(I.byteOffset, I.byteOffset + I.byteLength));
4724
- let z = f.has(E) ? this.applyAttributeMutations(x, w, f.get(E)) : x;
4725
- const P = S && typeof this.mutationView.getPositionalMutationsForEntity == "function" ? this.mutationView.getPositionalMutationsForEntity(E) : null;
4726
- if (P && P.size > 0 && (z = this.applyPositionalMutations(z, P), d.has(E) || (d.add(E), s++)), c) {
4727
- const H = ie(z, a, r);
4728
- H !== null && e.push(H);
4729
- } else e.push(z);
4718
+ const I = this.dataStore.source, F = !!this.mutationView && t.applyMutations !== !1;
4719
+ for (const [R, E] of this.dataStore.entityIndex.byId){
4720
+ if (F && typeof this.mutationView.isDeleted == "function" && this.mutationView.isDeleted(R) || E.byteLength === 0 || E.byteOffset < 0 || m !== null && !m.has(R) || w.has(R) || A.has(R) || b.has(R)) continue;
4721
+ const y = E.type.toUpperCase();
4722
+ if (t.includeGeometry === !1 && this.isGeometryEntity(y)) continue;
4723
+ const T = Z(I, E.byteOffset, E.byteOffset + E.byteLength);
4724
+ let O = f.has(R) ? this.applyAttributeMutations(T, y, f.get(R)) : T;
4725
+ const V = F && typeof this.mutationView.getPositionalMutationsForEntity == "function" ? this.mutationView.getPositionalMutationsForEntity(R) : null;
4726
+ if (V && V.size > 0 && (O = this.applyPositionalMutations(O, V), d.has(R) || (d.add(R), s++)), c) {
4727
+ const U = ie(O, a, r);
4728
+ U !== null && e.push(U);
4729
+ } else e.push(O);
4730
4730
  }
4731
4731
  }
4732
- for (const { entityId: h, psets: F } of p){
4733
- const S = this.generatePropertySetEntities(h, F, u.get(h));
4734
- e.push(...S.lines), n += S.count;
4735
- const E = u.get(h);
4732
+ for (const { entityId: I, psets: F } of p){
4733
+ const R = this.generatePropertySetEntities(I, F, u.get(I));
4734
+ e.push(...R.lines), n += R.count;
4735
+ const E = u.get(I);
4736
4736
  if (E && E.size > 0) {
4737
- const I = this.rewriteTypeEntityHasPropertySets(h, y.get(h) ?? [], E, S.generatedTypeOwnedPsetIds);
4738
- I && C.set(h, I);
4737
+ const y = this.rewriteTypeEntityHasPropertySets(I, h.get(I) ?? [], E, R.generatedTypeOwnedPsetIds);
4738
+ y && C.set(I, y);
4739
4739
  }
4740
4740
  }
4741
- for (const [h, F] of u){
4742
- if (C.has(h)) continue;
4743
- const S = this.rewriteTypeEntityHasPropertySets(h, y.get(h) ?? [], F, new Map);
4744
- S && C.set(h, S);
4745
- }
4746
- for (const { entityId: h, qsets: F } of g){
4747
- const S = this.generateQuantitySetEntities(h, F);
4748
- e.push(...S.lines), n += S.count;
4749
- }
4750
- for (const h of C.values())e.push(h);
4751
- for (const h of B)e.push(h);
4752
- if (this.mutationView && t.applyMutations !== !1 && typeof this.mutationView.getNewEntities == "function") for (const h of this.mutationView.getNewEntities()){
4753
- const F = h.type.toUpperCase();
4754
- if (t.includeGeometry === !1 && this.isGeometryEntity(F) || b !== null && !b.has(h.expressId)) continue;
4755
- const S = `#${h.expressId}=${F}(${ms(h.attributes)});`;
4741
+ for (const [I, F] of u){
4742
+ if (C.has(I)) continue;
4743
+ const R = this.rewriteTypeEntityHasPropertySets(I, h.get(I) ?? [], F, new Map);
4744
+ R && C.set(I, R);
4745
+ }
4746
+ for (const { entityId: I, qsets: F } of g){
4747
+ const R = this.generateQuantitySetEntities(I, F);
4748
+ e.push(...R.lines), n += R.count;
4749
+ }
4750
+ for (const I of C.values())e.push(I);
4751
+ for (const I of M)e.push(I);
4752
+ if (this.mutationView && t.applyMutations !== !1 && typeof this.mutationView.getNewEntities == "function") for (const I of this.mutationView.getNewEntities()){
4753
+ const F = I.type.toUpperCase();
4754
+ if (t.includeGeometry === !1 && this.isGeometryEntity(F) || m !== null && !m.has(I.expressId)) continue;
4755
+ const R = `#${I.expressId}=${F}(${ms(I.attributes)});`;
4756
4756
  if (c) {
4757
- const E = ie(S, a, r);
4757
+ const E = ie(R, a, r);
4758
4758
  E !== null && (e.push(E), n++);
4759
- } else e.push(S), n++;
4759
+ } else e.push(R), n++;
4760
4760
  }
4761
- const A = ws(l, e);
4761
+ const N = ws(l, e);
4762
4762
  return {
4763
- content: A,
4763
+ content: N,
4764
4764
  stats: {
4765
4765
  entityCount: e.length,
4766
4766
  newEntityCount: n,
4767
4767
  modifiedEntityCount: s,
4768
- fileSize: A.byteLength
4768
+ fileSize: N.byteLength
4769
4769
  }
4770
4770
  };
4771
4771
  }
@@ -4806,18 +4806,18 @@ END-ISO-10303-21;
4806
4806
  for (const g of c.properties){
4807
4807
  const u = this.nextExpressId++;
4808
4808
  r++;
4809
- const y = un(g.value, g.type), m = g.unit ? this.findUnitId(g.unit) : null, C = m !== null ? bn(m) : null, N = `#${u}=IFCPROPERTYSINGLEVALUE('${et(g.name)}',$,${y},${C ? an(C) : "$"});`;
4810
- s.push(N), l.push(u);
4809
+ const h = un(g.value, g.type), b = g.unit ? this.findUnitId(g.unit) : null, C = b !== null ? bn(b) : null, w = `#${u}=IFCPROPERTYSINGLEVALUE('${nt(g.name)}',$,${h},${C ? an(C) : "$"});`;
4810
+ s.push(w), l.push(u);
4811
4811
  }
4812
4812
  const d = this.nextExpressId++;
4813
4813
  r++;
4814
- const _ = l.map((g)=>`#${g}`).join(","), f = this.generateGlobalId(), p = `#${d}=IFCPROPERTYSET('${f}',$,'${et(c.name)}',$,(${_}));`;
4814
+ const _ = l.map((g)=>`#${g}`).join(","), f = this.generateGlobalId(), p = `#${d}=IFCPROPERTYSET('${f}',$,'${nt(c.name)}',$,(${_}));`;
4815
4815
  if (s.push(p), n?.has(c.name)) a.set(c.name, d);
4816
4816
  else {
4817
4817
  const g = this.nextExpressId++;
4818
4818
  r++;
4819
- const u = this.generateGlobalId(), y = `#${g}=IFCRELDEFINESBYPROPERTIES('${u}',$,$,$,(#${t}),#${d});`;
4820
- s.push(y);
4819
+ const u = this.generateGlobalId(), h = `#${g}=IFCRELDEFINESBYPROPERTIES('${u}',$,$,$,(#${t}),#${d});`;
4820
+ s.push(h);
4821
4821
  }
4822
4822
  }
4823
4823
  return {
@@ -4832,14 +4832,14 @@ END-ISO-10303-21;
4832
4832
  for (const r of e){
4833
4833
  const a = [];
4834
4834
  for (const u of r.quantities){
4835
- const y = this.nextExpressId++;
4835
+ const h = this.nextExpressId++;
4836
4836
  s++;
4837
- const m = Is(u.type), C = Z(u.value), N = `#${y}=${m}('${et(u.name)}',$,$,${C},$);`;
4838
- n.push(N), a.push(y);
4837
+ const b = Is(u.type), C = K(u.value), w = `#${h}=${b}('${nt(u.name)}',$,$,${C},$);`;
4838
+ n.push(w), a.push(h);
4839
4839
  }
4840
4840
  const c = this.nextExpressId++;
4841
4841
  s++;
4842
- const l = a.map((u)=>`#${u}`).join(","), d = this.generateGlobalId(), _ = `#${c}=IFCELEMENTQUANTITY('${d}',$,'${et(r.name)}',$,$,(${l}));`;
4842
+ const l = a.map((u)=>`#${u}`).join(","), d = this.generateGlobalId(), _ = `#${c}=IFCELEMENTQUANTITY('${d}',$,'${nt(r.name)}',$,$,(${l}));`;
4843
4843
  n.push(_);
4844
4844
  const f = this.nextExpressId++;
4845
4845
  s++;
@@ -4881,7 +4881,7 @@ END-ISO-10303-21;
4881
4881
  }
4882
4882
  if (n === "FOOT" || n === "US SURVEY FOOT") {
4883
4883
  const a = this.nextExpressId++, c = this.nextExpressId++, l = this.nextExpressId++, d = this.nextExpressId++, _ = n === "US SURVEY FOOT" ? 1200 / 3937 : .3048, f = n === "US SURVEY FOOT" ? "US SURVEY FOOT" : "FOOT";
4884
- return e.push(`#${a}=IFCDIMENSIONALEXPONENTS(1,0,0,0,0,0,0);`), e.push(`#${c}=IFCSIUNIT(*,.LENGTHUNIT.,$,.METRE.);`), e.push(`#${l}=IFCMEASUREWITHUNIT(IFCLENGTHMEASURE(${Z(_)}),#${c});`), e.push(`#${d}=IFCCONVERSIONBASEDUNIT(#${a},.LENGTHUNIT.,'${f}',#${l});`), d;
4884
+ return e.push(`#${a}=IFCDIMENSIONALEXPONENTS(1,0,0,0,0,0,0);`), e.push(`#${c}=IFCSIUNIT(*,.LENGTHUNIT.,$,.METRE.);`), e.push(`#${l}=IFCMEASUREWITHUNIT(IFCLENGTHMEASURE(${K(_)}),#${c});`), e.push(`#${d}=IFCCONVERSIONBASEDUNIT(#${a},.LENGTHUNIT.,'${f}',#${l});`), d;
4885
4885
  }
4886
4886
  const r = this.nextExpressId++;
4887
4887
  return e.push(`#${r}=IFCSIUNIT(*,.LENGTHUNIT.,$,.METRE.);`), r;
@@ -4903,7 +4903,7 @@ END-ISO-10303-21;
4903
4903
  const p = f.type.toUpperCase(), g = f.attributes ?? [];
4904
4904
  if ((typeof g[1] == "string" ? g[1].replace(/\./g, "").toUpperCase() : "") === "LENGTHUNIT") {
4905
4905
  if (p === "IFCSIUNIT") {
4906
- const y = typeof g[2] == "string" ? g[2].replace(/\./g, "").toUpperCase() : "", m = typeof g[3] == "string" ? g[3].replace(/\./g, "").toUpperCase() : "", C = y ? `${y}${m}` : m;
4906
+ const h = typeof g[2] == "string" ? g[2].replace(/\./g, "").toUpperCase() : "", b = typeof g[3] == "string" ? g[3].replace(/\./g, "").toUpperCase() : "", C = h ? `${h}${b}` : b;
4907
4907
  if (t === "METRE" && (C === "METRE" || C === "METER")) return d;
4908
4908
  }
4909
4909
  if (p === "IFCCONVERSIONBASEDUNIT" && (typeof g[2] == "string" ? this.normalizeMapUnitName(g[2]) : "") === t) return d;
@@ -4987,38 +4987,38 @@ END-ISO-10303-21;
4987
4987
  getRelatedEntities(t) {
4988
4988
  const e = this.dataStore.entityIndex.byId.get(t);
4989
4989
  if (!e || !this.dataStore.source) return [];
4990
- const r = new TextDecoder().decode(this.dataStore.source.subarray(e.byteOffset, e.byteOffset + e.byteLength)).match(/\(([^)]+)\)\s*,\s*#(\d+)\s*\)\s*;/);
4991
- if (!r) return [];
4992
- const a = r[1], c = [], l = a.matchAll(/#(\d+)/g);
4993
- for (const d of l)c.push(parseInt(d[1], 10));
4994
- return c;
4990
+ const s = Z(this.dataStore.source, e.byteOffset, e.byteOffset + e.byteLength).match(/\(([^)]+)\)\s*,\s*#(\d+)\s*\)\s*;/);
4991
+ if (!s) return [];
4992
+ const r = s[1], a = [], c = r.matchAll(/#(\d+)/g);
4993
+ for (const l of c)a.push(parseInt(l[1], 10));
4994
+ return a;
4995
4995
  }
4996
4996
  getRelatedPropertySet(t) {
4997
4997
  const e = this.dataStore.entityIndex.byId.get(t);
4998
4998
  if (!e || !this.dataStore.source) return null;
4999
- const r = new TextDecoder().decode(this.dataStore.source.subarray(e.byteOffset, e.byteOffset + e.byteLength)).match(/,\s*#(\d+)\s*\)\s*;$/);
5000
- return r ? parseInt(r[1], 10) : null;
4999
+ const s = Z(this.dataStore.source, e.byteOffset, e.byteOffset + e.byteLength).match(/,\s*#(\d+)\s*\)\s*;$/);
5000
+ return s ? parseInt(s[1], 10) : null;
5001
5001
  }
5002
5002
  getPropertySetName(t) {
5003
5003
  const e = this.dataStore.entityIndex.byId.get(t);
5004
5004
  if (!e || !this.dataStore.source) return null;
5005
- const r = new TextDecoder().decode(this.dataStore.source.subarray(e.byteOffset, e.byteOffset + e.byteLength)).match(/IFCPROPERTYSET\s*\([^,]*,[^,]*,'([^']*)'/i);
5006
- return r ? r[1] : null;
5005
+ const s = Z(this.dataStore.source, e.byteOffset, e.byteOffset + e.byteLength).match(/IFCPROPERTYSET\s*\([^,]*,[^,]*,'([^']*)'/i);
5006
+ return s ? s[1] : null;
5007
5007
  }
5008
5008
  getElementQuantityName(t) {
5009
5009
  const e = this.dataStore.entityIndex.byId.get(t);
5010
5010
  if (!e || !this.dataStore.source) return null;
5011
- const r = new TextDecoder().decode(this.dataStore.source.subarray(e.byteOffset, e.byteOffset + e.byteLength)).match(/IFCELEMENTQUANTITY\s*\([^,]*,[^,]*,'([^']*)'/i);
5012
- return r ? r[1] : null;
5011
+ const s = Z(this.dataStore.source, e.byteOffset, e.byteOffset + e.byteLength).match(/IFCELEMENTQUANTITY\s*\([^,]*,[^,]*,'([^']*)'/i);
5012
+ return s ? s[1] : null;
5013
5013
  }
5014
5014
  getPropertyIdsInSet(t) {
5015
5015
  const e = this.dataStore.entityIndex.byId.get(t);
5016
5016
  if (!e || !this.dataStore.source) return [];
5017
- const r = new TextDecoder().decode(this.dataStore.source.subarray(e.byteOffset, e.byteOffset + e.byteLength)).match(/\(\s*(#[^)]+)\s*\)\s*\)\s*;$/);
5018
- if (!r) return [];
5019
- const a = r[1], c = [], l = a.matchAll(/#(\d+)/g);
5020
- for (const d of l)c.push(parseInt(d[1], 10));
5021
- return c;
5017
+ const s = Z(this.dataStore.source, e.byteOffset, e.byteOffset + e.byteLength).match(/\(\s*(#[^)]+)\s*\)\s*\)\s*;$/);
5018
+ if (!s) return [];
5019
+ const r = s[1], a = [], c = r.matchAll(/#(\d+)/g);
5020
+ for (const l of c)a.push(parseInt(l[1], 10));
5021
+ return a;
5022
5022
  }
5023
5023
  isTypeEntity(t) {
5024
5024
  return this.dataStore.entityIndex.byId.get(t)?.type.toUpperCase().endsWith("TYPE") ?? !1;
@@ -5048,10 +5048,10 @@ END-ISO-10303-21;
5048
5048
  replaceEntityAttribute(t, e, n) {
5049
5049
  const s = this.dataStore.entityIndex.byId.get(t);
5050
5050
  if (!s || !this.dataStore.source) return null;
5051
- const c = new TextDecoder().decode(this.dataStore.source.subarray(s.byteOffset, s.byteOffset + s.byteLength)).match(/^(#\d+\s*=\s*\w+\()([\s\S]*)(\)\s*;)\s*$/);
5052
- if (!c) return null;
5053
- const [, l, d, _] = c, f = bs(d);
5054
- return e >= f.length ? null : (f[e] = n, `${l}${f.join(",")}${_}`);
5051
+ const a = Z(this.dataStore.source, s.byteOffset, s.byteOffset + s.byteLength).match(/^(#\d+\s*=\s*\w+\()([\s\S]*)(\)\s*;)\s*$/);
5052
+ if (!a) return null;
5053
+ const [, c, l, d] = a, _ = bs(l);
5054
+ return e >= _.length ? null : (_[e] = n, `${c}${_.join(",")}${d}`);
5055
5055
  }
5056
5056
  };
5057
5057
  Ms = function(i, t) {
@@ -5095,48 +5095,48 @@ END-ISO-10303-21;
5095
5095
  organization: t.organization || "",
5096
5096
  application: t.application || "ifc-lite",
5097
5097
  filename: t.filename || "merged.ifc"
5098
- }), r = [], a = new TextDecoder;
5099
- let c = 1;
5100
- const l = new Map;
5101
- for (const m of this.models){
5102
- l.set(m.id, c - 1);
5103
- let C = 0;
5104
- for (const [N] of m.dataStore.entityIndex.byId)N > C && (C = N);
5105
- c += C;
5106
- }
5107
- const d = this.models[0], _ = l.get(d.id), f = this.findInfrastructureEntities(d.dataStore), p = this.findEntitiesByType(d.dataStore, "IFCPROJECT"), g = this.buildSpatialLookup(d.dataStore, a);
5108
- let u = !0;
5109
- for (const m of this.models){
5110
- const C = l.get(m.id), N = m.dataStore.source;
5111
- if (!N || N.length === 0) continue;
5112
- let T = null;
5098
+ }), r = [];
5099
+ let a = 1;
5100
+ const c = new Map;
5101
+ for (const h of this.models){
5102
+ c.set(h.id, a - 1);
5103
+ let b = 0;
5104
+ for (const [C] of h.dataStore.entityIndex.byId)C > b && (b = C);
5105
+ a += b;
5106
+ }
5107
+ const l = this.models[0], d = c.get(l.id), _ = this.findInfrastructureEntities(l.dataStore), f = this.findEntitiesByType(l.dataStore, "IFCPROJECT"), p = this.buildSpatialLookup(l.dataStore);
5108
+ let g = !0;
5109
+ for (const h of this.models){
5110
+ const b = c.get(h.id), C = h.dataStore.source;
5111
+ if (!C || C.length === 0) continue;
5112
+ let w = null;
5113
5113
  if (t.visibleOnly) {
5114
- const b = t.hiddenEntityIdsByModel?.get(m.id) ?? new Set, A = t.isolatedEntityIdsByModel?.get(m.id) ?? null, { roots: h, hiddenProductIds: F } = Te(m.dataStore, b, A);
5115
- T = Ce(h, N, m.dataStore.entityIndex.byId, F), Fe(T, N, m.dataStore.entityIndex);
5114
+ const z = t.hiddenEntityIdsByModel?.get(h.id) ?? new Set, m = t.isolatedEntityIdsByModel?.get(h.id) ?? null, { roots: N, hiddenProductIds: I } = Te(h.dataStore, z, m);
5115
+ w = Ce(N, C, h.dataStore.entityIndex.byId, I), Fe(w, C, h.dataStore.entityIndex);
5116
5116
  }
5117
- const B = new Map, G = new Set;
5118
- if (!u) {
5119
- const b = this.findEntitiesByType(m.dataStore, "IFCPROJECT");
5120
- if (p.length > 0) for (const h of b)B.set(h, p[0] + _), G.add(h);
5121
- const A = this.findInfrastructureEntities(m.dataStore);
5122
- for (const [h, F] of f){
5123
- const S = A.get(h);
5124
- S && F.length > 0 && S.length > 0 && (B.set(S[0], F[0] + _), G.add(S[0]));
5117
+ const A = new Map, M = new Set;
5118
+ if (!g) {
5119
+ const z = this.findEntitiesByType(h.dataStore, "IFCPROJECT");
5120
+ if (f.length > 0) for (const N of z)A.set(N, f[0] + d), M.add(N);
5121
+ const m = this.findInfrastructureEntities(h.dataStore);
5122
+ for (const [N, I] of _){
5123
+ const F = m.get(N);
5124
+ F && I.length > 0 && F.length > 0 && (A.set(F[0], I[0] + d), M.add(F[0]));
5125
5125
  }
5126
- this.unifySpatialEntities(m.dataStore, a, g, _, B, G), this.skipRedundantRelAggregates(m.dataStore, a, B, G);
5126
+ this.unifySpatialEntities(h.dataStore, p, d, A, M), this.skipRedundantRelAggregates(h.dataStore, A, M);
5127
5127
  }
5128
- for (const [b, A] of m.dataStore.entityIndex.byId){
5129
- if (T !== null && !T.has(b) || G.has(b)) continue;
5130
- const h = a.decode(N.subarray(A.byteOffset, A.byteOffset + A.byteLength));
5131
- let F;
5132
- C === 0 && B.size === 0 ? F = h : F = this.remapEntityText(h, C, B);
5133
- const S = m.dataStore.schemaVersion || "IFC4";
5134
- if (Re(S, n)) {
5135
- const E = ie(F, S, n);
5136
- E !== null && r.push(E);
5137
- } else r.push(F);
5128
+ for (const [z, m] of h.dataStore.entityIndex.byId){
5129
+ if (w !== null && !w.has(z) || M.has(z)) continue;
5130
+ const N = Z(C, m.byteOffset, m.byteOffset + m.byteLength);
5131
+ let I;
5132
+ b === 0 && A.size === 0 ? I = N : I = this.remapEntityText(N, b, A);
5133
+ const F = h.dataStore.schemaVersion || "IFC4";
5134
+ if (Re(F, n)) {
5135
+ const R = ie(I, F, n);
5136
+ R !== null && r.push(R);
5137
+ } else r.push(I);
5138
5138
  }
5139
- u = !1;
5139
+ g = !1;
5140
5140
  }
5141
5141
  e && e({
5142
5142
  phase: "assembling",
@@ -5144,13 +5144,13 @@ END-ISO-10303-21;
5144
5144
  entitiesProcessed: r.length,
5145
5145
  entitiesTotal: r.length
5146
5146
  });
5147
- const y = sn(s, r);
5147
+ const u = sn(s, r);
5148
5148
  return {
5149
- content: y,
5149
+ content: u,
5150
5150
  stats: {
5151
5151
  modelCount: this.models.length,
5152
5152
  totalEntityCount: r.length,
5153
- fileSize: y.byteLength
5153
+ fileSize: u.byteLength
5154
5154
  }
5155
5155
  };
5156
5156
  }
@@ -5162,91 +5162,91 @@ END-ISO-10303-21;
5162
5162
  organization: t.organization || "",
5163
5163
  application: t.application || "ifc-lite",
5164
5164
  filename: t.filename || "merged.ifc"
5165
- }), r = [], a = new TextDecoder;
5166
- let c = 0;
5167
- for (const T of this.models)c += T.dataStore.entityIndex.byId.size;
5168
- let l = 1;
5169
- const d = new Map;
5170
- for (const T of this.models){
5171
- d.set(T.id, l - 1);
5172
- let B = 0;
5173
- for (const [G] of T.dataStore.entityIndex.byId)G > B && (B = G);
5174
- l += B;
5175
- }
5176
- const _ = this.models[0], f = d.get(_.id), p = this.findInfrastructureEntities(_.dataStore), g = this.findEntitiesByType(_.dataStore, "IFCPROJECT"), u = this.buildSpatialLookup(_.dataStore, a);
5177
- let y = !0, m = 0;
5178
- const C = 2e3;
5165
+ }), r = [];
5166
+ let a = 0;
5167
+ for (const w of this.models)a += w.dataStore.entityIndex.byId.size;
5168
+ let c = 1;
5169
+ const l = new Map;
5170
+ for (const w of this.models){
5171
+ l.set(w.id, c - 1);
5172
+ let A = 0;
5173
+ for (const [M] of w.dataStore.entityIndex.byId)M > A && (A = M);
5174
+ c += A;
5175
+ }
5176
+ const d = this.models[0], _ = l.get(d.id), f = this.findInfrastructureEntities(d.dataStore), p = this.findEntitiesByType(d.dataStore, "IFCPROJECT"), g = this.buildSpatialLookup(d.dataStore);
5177
+ let u = !0, h = 0;
5178
+ const b = 2e3;
5179
5179
  e && e({
5180
5180
  phase: "preparing",
5181
5181
  percent: 0,
5182
5182
  entitiesProcessed: 0,
5183
- entitiesTotal: c
5183
+ entitiesTotal: a
5184
5184
  });
5185
- for (const T of this.models){
5186
- const B = d.get(T.id), G = T.dataStore.source;
5187
- if (!G || G.length === 0) continue;
5185
+ for (const w of this.models){
5186
+ const A = l.get(w.id), M = w.dataStore.source;
5187
+ if (!M || M.length === 0) continue;
5188
5188
  e && e({
5189
5189
  phase: "entities",
5190
- percent: c > 0 ? m / c * .85 : 0,
5191
- entitiesProcessed: m,
5192
- entitiesTotal: c,
5193
- currentModel: T.name
5190
+ percent: a > 0 ? h / a * .85 : 0,
5191
+ entitiesProcessed: h,
5192
+ entitiesTotal: a,
5193
+ currentModel: w.name
5194
5194
  });
5195
- let b = null;
5195
+ let z = null;
5196
5196
  if (t.visibleOnly) {
5197
- const S = t.hiddenEntityIdsByModel?.get(T.id) ?? new Set, E = t.isolatedEntityIdsByModel?.get(T.id) ?? null, { roots: I, hiddenProductIds: w } = Te(T.dataStore, S, E);
5198
- b = Ce(I, G, T.dataStore.entityIndex.byId, w), Fe(b, G, T.dataStore.entityIndex);
5197
+ const F = t.hiddenEntityIdsByModel?.get(w.id) ?? new Set, R = t.isolatedEntityIdsByModel?.get(w.id) ?? null, { roots: E, hiddenProductIds: y } = Te(w.dataStore, F, R);
5198
+ z = Ce(E, M, w.dataStore.entityIndex.byId, y), Fe(z, M, w.dataStore.entityIndex);
5199
5199
  }
5200
- const A = new Map, h = new Set;
5201
- if (!y) {
5202
- const S = this.findEntitiesByType(T.dataStore, "IFCPROJECT");
5203
- if (g.length > 0) for (const I of S)A.set(I, g[0] + f), h.add(I);
5204
- const E = this.findInfrastructureEntities(T.dataStore);
5205
- for (const [I, w] of p){
5206
- const x = E.get(I);
5207
- x && w.length > 0 && x.length > 0 && (A.set(x[0], w[0] + f), h.add(x[0]));
5200
+ const m = new Map, N = new Set;
5201
+ if (!u) {
5202
+ const F = this.findEntitiesByType(w.dataStore, "IFCPROJECT");
5203
+ if (p.length > 0) for (const E of F)m.set(E, p[0] + _), N.add(E);
5204
+ const R = this.findInfrastructureEntities(w.dataStore);
5205
+ for (const [E, y] of f){
5206
+ const T = R.get(E);
5207
+ T && y.length > 0 && T.length > 0 && (m.set(T[0], y[0] + _), N.add(T[0]));
5208
5208
  }
5209
- this.unifySpatialEntities(T.dataStore, a, u, f, A, h), this.skipRedundantRelAggregates(T.dataStore, a, A, h);
5209
+ this.unifySpatialEntities(w.dataStore, g, _, m, N), this.skipRedundantRelAggregates(w.dataStore, m, N);
5210
5210
  }
5211
- let F = 0;
5212
- for (const [S, E] of T.dataStore.entityIndex.byId){
5213
- if (b !== null && !b.has(S) || h.has(S)) continue;
5214
- const I = a.decode(G.subarray(E.byteOffset, E.byteOffset + E.byteLength));
5215
- let w;
5216
- B === 0 && A.size === 0 ? w = I : w = this.remapEntityText(I, B, A);
5217
- const x = T.dataStore.schemaVersion || "IFC4";
5218
- if (Re(x, n)) {
5219
- const z = ie(w, x, n);
5220
- z !== null && r.push(z);
5221
- } else r.push(w);
5222
- F++, m++, F % C === 0 && (e && e({
5211
+ let I = 0;
5212
+ for (const [F, R] of w.dataStore.entityIndex.byId){
5213
+ if (z !== null && !z.has(F) || N.has(F)) continue;
5214
+ const E = Z(M, R.byteOffset, R.byteOffset + R.byteLength);
5215
+ let y;
5216
+ A === 0 && m.size === 0 ? y = E : y = this.remapEntityText(E, A, m);
5217
+ const T = w.dataStore.schemaVersion || "IFC4";
5218
+ if (Re(T, n)) {
5219
+ const O = ie(y, T, n);
5220
+ O !== null && r.push(O);
5221
+ } else r.push(y);
5222
+ I++, h++, I % b === 0 && (e && e({
5223
5223
  phase: "entities",
5224
- percent: c > 0 ? m / c * .85 : 0,
5225
- entitiesProcessed: m,
5226
- entitiesTotal: c,
5227
- currentModel: T.name
5228
- }), await new Promise((z)=>setTimeout(z, 0)));
5224
+ percent: a > 0 ? h / a * .85 : 0,
5225
+ entitiesProcessed: h,
5226
+ entitiesTotal: a,
5227
+ currentModel: w.name
5228
+ }), await new Promise((O)=>setTimeout(O, 0)));
5229
5229
  }
5230
- y = !1;
5230
+ u = !1;
5231
5231
  }
5232
5232
  e && e({
5233
5233
  phase: "assembling",
5234
5234
  percent: .9,
5235
- entitiesProcessed: c,
5236
- entitiesTotal: c
5237
- }), await new Promise((T)=>setTimeout(T, 0));
5238
- const N = sn(s, r);
5235
+ entitiesProcessed: a,
5236
+ entitiesTotal: a
5237
+ }), await new Promise((w)=>setTimeout(w, 0));
5238
+ const C = sn(s, r);
5239
5239
  return e && e({
5240
5240
  phase: "assembling",
5241
5241
  percent: 1,
5242
- entitiesProcessed: c,
5243
- entitiesTotal: c
5242
+ entitiesProcessed: a,
5243
+ entitiesTotal: a
5244
5244
  }), {
5245
- content: N,
5245
+ content: C,
5246
5246
  stats: {
5247
5247
  modelCount: this.models.length,
5248
5248
  totalEntityCount: r.length,
5249
- fileSize: N.byteLength
5249
+ fileSize: C.byteLength
5250
5250
  }
5251
5251
  };
5252
5252
  }
@@ -5269,8 +5269,8 @@ END-ISO-10303-21;
5269
5269
  findEntitiesByType(t, e) {
5270
5270
  return t.entityIndex.byType.get(e) ?? [];
5271
5271
  }
5272
- buildSpatialLookup(t, e) {
5273
- const n = {
5272
+ buildSpatialLookup(t) {
5273
+ const e = {
5274
5274
  sitesByName: new Map,
5275
5275
  buildingsByName: new Map,
5276
5276
  storeysByName: new Map,
@@ -5278,116 +5278,116 @@ END-ISO-10303-21;
5278
5278
  siteIds: [],
5279
5279
  buildingIds: []
5280
5280
  };
5281
- for (const s of this.findEntitiesByType(t, "IFCSITE")){
5282
- n.siteIds.push(s);
5283
- const r = this.extractEntityName(s, t, e);
5284
- r && n.sitesByName.set(r.toLowerCase(), s);
5285
- }
5286
- for (const s of this.findEntitiesByType(t, "IFCBUILDING")){
5287
- n.buildingIds.push(s);
5288
- const r = this.extractEntityName(s, t, e);
5289
- r && n.buildingsByName.set(r.toLowerCase(), s);
5290
- }
5291
- for (const s of this.findEntitiesByType(t, "IFCBUILDINGSTOREY")){
5292
- const r = this.extractEntityName(s, t, e);
5293
- r && n.storeysByName.set(r.toLowerCase(), s);
5294
- const a = this.extractStoreyElevation(s, t, e);
5295
- a !== void 0 && n.storeysByElevation.push({
5296
- expressId: s,
5297
- elevation: a
5281
+ for (const n of this.findEntitiesByType(t, "IFCSITE")){
5282
+ e.siteIds.push(n);
5283
+ const s = this.extractEntityName(n, t);
5284
+ s && e.sitesByName.set(s.toLowerCase(), n);
5285
+ }
5286
+ for (const n of this.findEntitiesByType(t, "IFCBUILDING")){
5287
+ e.buildingIds.push(n);
5288
+ const s = this.extractEntityName(n, t);
5289
+ s && e.buildingsByName.set(s.toLowerCase(), n);
5290
+ }
5291
+ for (const n of this.findEntitiesByType(t, "IFCBUILDINGSTOREY")){
5292
+ const s = this.extractEntityName(n, t);
5293
+ s && e.storeysByName.set(s.toLowerCase(), n);
5294
+ const r = this.extractStoreyElevation(n, t);
5295
+ r !== void 0 && e.storeysByElevation.push({
5296
+ expressId: n,
5297
+ elevation: r
5298
5298
  });
5299
5299
  }
5300
- return n;
5300
+ return e;
5301
5301
  }
5302
- unifySpatialEntities(t, e, n, s, r, a) {
5303
- const c = this.findEntitiesByType(t, "IFCSITE");
5304
- for (const _ of c){
5305
- const f = this.extractEntityName(_, t, e);
5306
- let p;
5307
- f && (p = n.sitesByName.get(f.toLowerCase())), p === void 0 && c.length === 1 && n.siteIds.length === 1 && (p = n.siteIds[0]), p !== void 0 && (r.set(_, p + s), a.add(_));
5308
- }
5309
- const l = this.findEntitiesByType(t, "IFCBUILDING");
5310
- for (const _ of l){
5311
- const f = this.extractEntityName(_, t, e);
5312
- let p;
5313
- f && (p = n.buildingsByName.get(f.toLowerCase())), p === void 0 && l.length === 1 && n.buildingIds.length === 1 && (p = n.buildingIds[0]), p !== void 0 && (r.set(_, p + s), a.add(_));
5314
- }
5315
- const d = new Set;
5316
- for (const _ of this.findEntitiesByType(t, "IFCBUILDINGSTOREY")){
5317
- const f = this.extractEntityName(_, t, e);
5318
- let p;
5319
- if (f) {
5320
- const g = n.storeysByName.get(f.toLowerCase());
5321
- g !== void 0 && !d.has(g) && (p = g);
5302
+ unifySpatialEntities(t, e, n, s, r) {
5303
+ const a = this.findEntitiesByType(t, "IFCSITE");
5304
+ for (const d of a){
5305
+ const _ = this.extractEntityName(d, t);
5306
+ let f;
5307
+ _ && (f = e.sitesByName.get(_.toLowerCase())), f === void 0 && a.length === 1 && e.siteIds.length === 1 && (f = e.siteIds[0]), f !== void 0 && (s.set(d, f + n), r.add(d));
5308
+ }
5309
+ const c = this.findEntitiesByType(t, "IFCBUILDING");
5310
+ for (const d of c){
5311
+ const _ = this.extractEntityName(d, t);
5312
+ let f;
5313
+ _ && (f = e.buildingsByName.get(_.toLowerCase())), f === void 0 && c.length === 1 && e.buildingIds.length === 1 && (f = e.buildingIds[0]), f !== void 0 && (s.set(d, f + n), r.add(d));
5314
+ }
5315
+ const l = new Set;
5316
+ for (const d of this.findEntitiesByType(t, "IFCBUILDINGSTOREY")){
5317
+ const _ = this.extractEntityName(d, t);
5318
+ let f;
5319
+ if (_) {
5320
+ const p = e.storeysByName.get(_.toLowerCase());
5321
+ p !== void 0 && !l.has(p) && (f = p);
5322
5322
  }
5323
- if (p === void 0) {
5324
- const g = this.extractStoreyElevation(_, t, e);
5325
- if (g !== void 0) for (const u of n.storeysByElevation){
5326
- if (d.has(u.expressId)) continue;
5327
- const y = Math.max(.5, Math.abs(u.elevation) * .01);
5328
- if (Math.abs(g - u.elevation) <= y) {
5329
- p = u.expressId;
5323
+ if (f === void 0) {
5324
+ const p = this.extractStoreyElevation(d, t);
5325
+ if (p !== void 0) for (const g of e.storeysByElevation){
5326
+ if (l.has(g.expressId)) continue;
5327
+ const u = Math.max(.5, Math.abs(g.elevation) * .01);
5328
+ if (Math.abs(p - g.elevation) <= u) {
5329
+ f = g.expressId;
5330
5330
  break;
5331
5331
  }
5332
5332
  }
5333
5333
  }
5334
- p !== void 0 && (d.add(p), r.set(_, p + s), a.add(_));
5335
- }
5336
- }
5337
- skipRedundantRelAggregates(t, e, n, s) {
5338
- for (const r of this.findEntitiesByType(t, "IFCRELAGGREGATES")){
5339
- const a = this.extractStepAttribute(r, t, e, 4);
5340
- if (!a) continue;
5341
- const c = a.match(/^#(\d+)$/);
5342
- if (!c || !n.has(parseInt(c[1], 10))) continue;
5343
- const l = this.extractStepAttribute(r, t, e, 5);
5344
- if (!l) continue;
5345
- const d = [], _ = /#(\d+)/g;
5346
- let f;
5347
- for(; (f = _.exec(l)) !== null;)d.push(parseInt(f[1], 10));
5348
- d.length !== 0 && d.every((p)=>n.has(p)) && s.add(r);
5334
+ f !== void 0 && (l.add(f), s.set(d, f + n), r.add(d));
5349
5335
  }
5350
5336
  }
5351
- extractEntityName(t, e, n) {
5352
- const s = this.extractStepAttribute(t, e, n, 2);
5353
- if (!s || s === "$") return null;
5354
- if (s.startsWith("'") && s.endsWith("'")) {
5355
- const r = s.slice(1, -1).replace(/''/g, "'");
5356
- return En(r);
5337
+ skipRedundantRelAggregates(t, e, n) {
5338
+ for (const s of this.findEntitiesByType(t, "IFCRELAGGREGATES")){
5339
+ const r = this.extractStepAttribute(s, t, 4);
5340
+ if (!r) continue;
5341
+ const a = r.match(/^#(\d+)$/);
5342
+ if (!a || !e.has(parseInt(a[1], 10))) continue;
5343
+ const c = this.extractStepAttribute(s, t, 5);
5344
+ if (!c) continue;
5345
+ const l = [], d = /#(\d+)/g;
5346
+ let _;
5347
+ for(; (_ = d.exec(c)) !== null;)l.push(parseInt(_[1], 10));
5348
+ l.length !== 0 && l.every((f)=>e.has(f)) && n.add(s);
5349
+ }
5350
+ }
5351
+ extractEntityName(t, e) {
5352
+ const n = this.extractStepAttribute(t, e, 2);
5353
+ if (!n || n === "$") return null;
5354
+ if (n.startsWith("'") && n.endsWith("'")) {
5355
+ const s = n.slice(1, -1).replace(/''/g, "'");
5356
+ return En(s);
5357
5357
  }
5358
5358
  return null;
5359
5359
  }
5360
- extractStoreyElevation(t, e, n) {
5361
- const s = this.extractStepAttribute(t, e, n, 9);
5362
- if (!s || s === "$") return;
5363
- const r = s.match(/^[A-Z_]+\(([^)]+)\)$/i), a = r ? r[1] : s, c = parseFloat(a);
5364
- return isNaN(c) ? void 0 : c;
5360
+ extractStoreyElevation(t, e) {
5361
+ const n = this.extractStepAttribute(t, e, 9);
5362
+ if (!n || n === "$") return;
5363
+ const s = n.match(/^[A-Z_]+\(([^)]+)\)$/i), r = s ? s[1] : n, a = parseFloat(r);
5364
+ return isNaN(a) ? void 0 : a;
5365
5365
  }
5366
- extractStepAttribute(t, e, n, s) {
5367
- const r = e.source;
5366
+ extractStepAttribute(t, e, n) {
5367
+ const s = e.source;
5368
+ if (!s) return null;
5369
+ const r = e.entityIndex.byId.get(t);
5368
5370
  if (!r) return null;
5369
- const a = e.entityIndex.byId.get(t);
5370
- if (!a) return null;
5371
- const c = n.decode(r.subarray(a.byteOffset, a.byteOffset + a.byteLength)), l = c.indexOf("(");
5372
- if (l === -1) return null;
5373
- let d = 0, _ = 0, f = l + 1, p = !1;
5374
- for(let g = l + 1; g < c.length; g++){
5375
- const u = c[g];
5376
- if (u === "'" && !p) p = !0;
5377
- else if (u === "'" && p) {
5378
- if (g + 1 < c.length && c[g + 1] === "'") {
5379
- g++;
5371
+ const a = Z(s, r.byteOffset, r.byteOffset + r.byteLength), c = a.indexOf("(");
5372
+ if (c === -1) return null;
5373
+ let l = 0, d = 0, _ = c + 1, f = !1;
5374
+ for(let p = c + 1; p < a.length; p++){
5375
+ const g = a[p];
5376
+ if (g === "'" && !f) f = !0;
5377
+ else if (g === "'" && f) {
5378
+ if (p + 1 < a.length && a[p + 1] === "'") {
5379
+ p++;
5380
5380
  continue;
5381
5381
  }
5382
- p = !1;
5383
- } else if (!p) {
5384
- if (u === "(") d++;
5385
- else if (u === ")") {
5386
- if (d === 0) return _ === s ? c.substring(f, g).trim() : null;
5387
- d--;
5388
- } else if (u === "," && d === 0) {
5389
- if (_ === s) return c.substring(f, g).trim();
5390
- _++, f = g + 1;
5382
+ f = !1;
5383
+ } else if (!f) {
5384
+ if (g === "(") l++;
5385
+ else if (g === ")") {
5386
+ if (l === 0) return d === n ? a.substring(_, p).trim() : null;
5387
+ l--;
5388
+ } else if (g === "," && l === 0) {
5389
+ if (d === n) return a.substring(_, p).trim();
5390
+ d++, _ = p + 1;
5391
5391
  }
5392
5392
  }
5393
5393
  }
@@ -5453,49 +5453,49 @@ END-ISO-10303-21;
5453
5453
  let c = 0, l = 0;
5454
5454
  const { entities: d, strings: _ } = this.dataStore;
5455
5455
  let f = null;
5456
- for(let y = 0; y < d.count; y++){
5457
- const m = d.expressId[y];
5458
- if (s && !s.has(m) || r && !r.has(m)) continue;
5459
- const C = d.typeEnum[y], N = be(C) || "IfcElement", T = fn(N.toUpperCase(), e, "IFC5"), B = Rs(T);
5460
- B === "IfcProject" && (f = m);
5461
- const G = this.entityUuids.get(m) || ye(m), b = {};
5462
- b["bsi::ifc::class"] = {
5463
- code: B,
5464
- uri: `https://identifier.buildingsmart.org/uri/buildingsmart/ifc/5/class/${B}`
5456
+ for(let h = 0; h < d.count; h++){
5457
+ const b = d.expressId[h];
5458
+ if (s && !s.has(b) || r && !r.has(b)) continue;
5459
+ const C = d.typeEnum[h], w = be(C) || "IfcElement", A = fn(w.toUpperCase(), e, "IFC5"), M = Rs(A);
5460
+ M === "IfcProject" && (f = b);
5461
+ const z = this.entityUuids.get(b) || ye(b), m = {};
5462
+ m["bsi::ifc::class"] = {
5463
+ code: M,
5464
+ uri: `https://identifier.buildingsmart.org/uri/buildingsmart/ifc/5/class/${M}`
5465
5465
  };
5466
- const A = _.get(d.name[y]) || this.spatialNodeNames.get(m);
5467
- A && (b["bsi::ifc::prop::Name"] = A);
5468
- const h = _.get(d.description[y]);
5469
- if (h && (b["bsi::ifc::prop::Description"] = h), t.includeProperties !== !1) {
5470
- const E = this.getPropertiesForEntity(m, t);
5471
- for (const [I, w] of Object.entries(E))b[I] = w, c++;
5466
+ const N = _.get(d.name[h]) || this.spatialNodeNames.get(b);
5467
+ N && (m["bsi::ifc::prop::Name"] = N);
5468
+ const I = _.get(d.description[h]);
5469
+ if (I && (m["bsi::ifc::prop::Description"] = I), t.includeProperties !== !1) {
5470
+ const E = this.getPropertiesForEntity(b, t);
5471
+ for (const [y, T] of Object.entries(E))m[y] = T, c++;
5472
5472
  }
5473
5473
  const F = {
5474
- path: G
5475
- }, S = this.getChildrenForEntity(m);
5476
- if (Object.keys(S).length > 0 && (F.children = S), t.includeGeometry !== !1) {
5477
- const E = n.get(m);
5474
+ path: z
5475
+ }, R = this.getChildrenForEntity(b);
5476
+ if (Object.keys(R).length > 0 && (F.children = R), t.includeGeometry !== !1) {
5477
+ const E = n.get(b);
5478
5478
  if (E && E.length > 0) {
5479
- const I = this.convertToUsdMesh(E);
5480
- b["usd::usdgeom::mesh"] = I;
5481
- const [w, x, z, P] = E[0].color;
5482
- b["bsi::ifc::presentation::diffuseColor"] = [
5483
- w,
5484
- x,
5485
- z
5486
- ], P < 1 && (b["bsi::ifc::presentation::opacity"] = P), l++;
5479
+ const y = this.convertToUsdMesh(E);
5480
+ m["usd::usdgeom::mesh"] = y;
5481
+ const [T, O, V, U] = E[0].color;
5482
+ m["bsi::ifc::presentation::diffuseColor"] = [
5483
+ T,
5484
+ O,
5485
+ V
5486
+ ], U < 1 && (m["bsi::ifc::presentation::opacity"] = U), l++;
5487
5487
  }
5488
5488
  }
5489
- Object.keys(b).length > 0 && (F.attributes = b), a.push(F);
5489
+ Object.keys(m).length > 0 && (F.attributes = m), a.push(F);
5490
5490
  }
5491
5491
  if (f !== null) {
5492
- const y = this.entityUuids.get(f);
5493
- if (y) {
5494
- const m = this.childNames.get(f) || _.get(d.name[this.findEntityIndex(f)]) || "Project", C = ye(0);
5492
+ const h = this.entityUuids.get(f);
5493
+ if (h) {
5494
+ const b = this.childNames.get(f) || _.get(d.name[this.findEntityIndex(f)]) || "Project", C = ye(0);
5495
5495
  a.unshift({
5496
5496
  path: C,
5497
5497
  children: {
5498
- [m]: y
5498
+ [b]: h
5499
5499
  },
5500
5500
  attributes: {}
5501
5501
  });
@@ -5606,12 +5606,12 @@ END-ISO-10303-21;
5606
5606
  convertPropertyValue(t, e) {
5607
5607
  if (t == null) return null;
5608
5608
  switch(e){
5609
- case tt.Real:
5609
+ case et.Real:
5610
5610
  return Number(t);
5611
- case tt.Integer:
5611
+ case et.Integer:
5612
5612
  return Math.round(Number(t));
5613
- case tt.Boolean:
5614
- case tt.Logical:
5613
+ case et.Boolean:
5614
+ case et.Logical:
5615
5615
  return !!t;
5616
5616
  default:
5617
5617
  return t;
@@ -5720,4 +5720,4 @@ END-ISO-10303-21;
5720
5720
  return n.startsWith("ifc") ? "Ifc" + n.charAt(3).toUpperCase() + n.slice(4) : i;
5721
5721
  }
5722
5722
  });
5723
- export { Os as C, we as G, Un as I, Ls as M, Es as S, dn as _, ee as a, $n as b, Ee as c, As as d, rn as e, Bs as f, Ns as g, xs as h, Ms as i, __tla };
5723
+ export { xs as C, Os as G, rn as I, Ls as M, Es as S, dn as _, we as a, $n as b, Bs as c, Ee as d, Un as e, ee as f, As as g, Ms as h, Ns as i, __tla };