@ifc-lite/viewer 1.17.2 → 1.17.4

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 (520) hide show
  1. package/.turbo/turbo-build.log +34 -24
  2. package/.turbo/turbo-typecheck.log +1 -42
  3. package/CHANGELOG.md +24 -0
  4. package/DESKTOP_CONTRACT_VERSION +1 -0
  5. package/dist/assets/arrow-CZ5kQ26f.js +20 -0
  6. package/dist/assets/basketViewActivator-BmnNtVfZ.js +1 -0
  7. package/dist/assets/bcf-DOG9_WPX.js +281 -0
  8. package/dist/assets/{browser-BDShTXzi.js → browser-C5TFR7sH.js} +1 -1
  9. package/dist/assets/cesium-ADbP7waU.css +1 -0
  10. package/dist/assets/cesium-DUOzBlqv.js +17817 -0
  11. package/dist/assets/drawing-2d-gWfpdfYe.js +257 -0
  12. package/dist/assets/epsg-index.generated-BjJrt_0S.js +1 -0
  13. package/dist/assets/exporters-ChAtBmlj.js +80367 -0
  14. package/dist/assets/geometry.worker-BQ0rzNo-.js +1 -0
  15. package/dist/assets/ids-B4jTqB1O.js +1 -0
  16. package/dist/assets/ifc-lite_bg-BX4E7TX8.wasm +0 -0
  17. package/dist/assets/index-Co8E2-FE.js +106013 -0
  18. package/dist/assets/index-DckuDqlv.css +1 -0
  19. package/dist/assets/lens-CSASnhAL.js +1 -0
  20. package/dist/assets/maplibre-gl-CGLcoNXc.js +811 -0
  21. package/dist/assets/native-bridge-BRvbckFQ.js +429 -0
  22. package/dist/assets/{arrow2-bb-jcVEo.js → parquet-CEXmQNRO.js} +2 -2
  23. package/dist/assets/sandbox-DZiNLNMk.js +5933 -0
  24. package/dist/assets/server-client-BV8zHZ7Y.js +626 -0
  25. package/dist/assets/tauri-core-stub-D8Fa-u43.js +1 -0
  26. package/dist/assets/tauri-dialog-stub-r7Wksg7o.js +1 -0
  27. package/dist/assets/tauri-fs-stub-BdeRC7aK.js +1 -0
  28. package/dist/assets/wasm-bridge-g01g7T9b.js +1 -0
  29. package/dist/assets/zip-DBEtpeu6.js +12 -0
  30. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
  31. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
  32. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
  33. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
  34. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
  35. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
  36. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
  37. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
  38. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
  39. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
  40. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
  41. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
  42. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
  43. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
  44. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
  45. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
  46. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
  47. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
  48. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
  49. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
  50. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
  51. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
  52. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
  53. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
  54. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
  55. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
  56. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
  57. package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
  58. package/dist/cesium/Assets/Images/bing_maps_credit.png +0 -0
  59. package/dist/cesium/Assets/Images/cesium_credit.png +0 -0
  60. package/dist/cesium/Assets/Images/google_earth_credit.png +0 -0
  61. package/dist/cesium/Assets/Images/ion-credit.png +0 -0
  62. package/dist/cesium/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
  63. package/dist/cesium/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
  64. package/dist/cesium/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  65. package/dist/cesium/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  66. package/dist/cesium/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  67. package/dist/cesium/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  68. package/dist/cesium/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  69. package/dist/cesium/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  70. package/dist/cesium/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  71. package/dist/cesium/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  72. package/dist/cesium/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  73. package/dist/cesium/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  74. package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  75. package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  76. package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  77. package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  78. package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  79. package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  80. package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  81. package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  82. package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  83. package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  84. package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  85. package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  86. package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  87. package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  88. package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  89. package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  90. package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  91. package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  92. package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  93. package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  94. package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  95. package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  96. package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  97. package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  98. package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  99. package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  100. package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  101. package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  102. package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  103. package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  104. package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  105. package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  106. package/dist/cesium/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
  107. package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  108. package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  109. package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  110. package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  111. package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  112. package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  113. package/dist/cesium/Assets/Textures/maki/airfield.png +0 -0
  114. package/dist/cesium/Assets/Textures/maki/airport.png +0 -0
  115. package/dist/cesium/Assets/Textures/maki/alcohol-shop.png +0 -0
  116. package/dist/cesium/Assets/Textures/maki/america-football.png +0 -0
  117. package/dist/cesium/Assets/Textures/maki/art-gallery.png +0 -0
  118. package/dist/cesium/Assets/Textures/maki/bakery.png +0 -0
  119. package/dist/cesium/Assets/Textures/maki/bank.png +0 -0
  120. package/dist/cesium/Assets/Textures/maki/bar.png +0 -0
  121. package/dist/cesium/Assets/Textures/maki/baseball.png +0 -0
  122. package/dist/cesium/Assets/Textures/maki/basketball.png +0 -0
  123. package/dist/cesium/Assets/Textures/maki/beer.png +0 -0
  124. package/dist/cesium/Assets/Textures/maki/bicycle.png +0 -0
  125. package/dist/cesium/Assets/Textures/maki/building.png +0 -0
  126. package/dist/cesium/Assets/Textures/maki/bus.png +0 -0
  127. package/dist/cesium/Assets/Textures/maki/cafe.png +0 -0
  128. package/dist/cesium/Assets/Textures/maki/camera.png +0 -0
  129. package/dist/cesium/Assets/Textures/maki/campsite.png +0 -0
  130. package/dist/cesium/Assets/Textures/maki/car.png +0 -0
  131. package/dist/cesium/Assets/Textures/maki/cemetery.png +0 -0
  132. package/dist/cesium/Assets/Textures/maki/cesium.png +0 -0
  133. package/dist/cesium/Assets/Textures/maki/chemist.png +0 -0
  134. package/dist/cesium/Assets/Textures/maki/cinema.png +0 -0
  135. package/dist/cesium/Assets/Textures/maki/circle-stroked.png +0 -0
  136. package/dist/cesium/Assets/Textures/maki/circle.png +0 -0
  137. package/dist/cesium/Assets/Textures/maki/city.png +0 -0
  138. package/dist/cesium/Assets/Textures/maki/clothing-store.png +0 -0
  139. package/dist/cesium/Assets/Textures/maki/college.png +0 -0
  140. package/dist/cesium/Assets/Textures/maki/commercial.png +0 -0
  141. package/dist/cesium/Assets/Textures/maki/cricket.png +0 -0
  142. package/dist/cesium/Assets/Textures/maki/cross.png +0 -0
  143. package/dist/cesium/Assets/Textures/maki/dam.png +0 -0
  144. package/dist/cesium/Assets/Textures/maki/danger.png +0 -0
  145. package/dist/cesium/Assets/Textures/maki/disability.png +0 -0
  146. package/dist/cesium/Assets/Textures/maki/dog-park.png +0 -0
  147. package/dist/cesium/Assets/Textures/maki/embassy.png +0 -0
  148. package/dist/cesium/Assets/Textures/maki/emergency-telephone.png +0 -0
  149. package/dist/cesium/Assets/Textures/maki/entrance.png +0 -0
  150. package/dist/cesium/Assets/Textures/maki/farm.png +0 -0
  151. package/dist/cesium/Assets/Textures/maki/fast-food.png +0 -0
  152. package/dist/cesium/Assets/Textures/maki/ferry.png +0 -0
  153. package/dist/cesium/Assets/Textures/maki/fire-station.png +0 -0
  154. package/dist/cesium/Assets/Textures/maki/fuel.png +0 -0
  155. package/dist/cesium/Assets/Textures/maki/garden.png +0 -0
  156. package/dist/cesium/Assets/Textures/maki/gift.png +0 -0
  157. package/dist/cesium/Assets/Textures/maki/golf.png +0 -0
  158. package/dist/cesium/Assets/Textures/maki/grocery.png +0 -0
  159. package/dist/cesium/Assets/Textures/maki/hairdresser.png +0 -0
  160. package/dist/cesium/Assets/Textures/maki/harbor.png +0 -0
  161. package/dist/cesium/Assets/Textures/maki/heart.png +0 -0
  162. package/dist/cesium/Assets/Textures/maki/heliport.png +0 -0
  163. package/dist/cesium/Assets/Textures/maki/hospital.png +0 -0
  164. package/dist/cesium/Assets/Textures/maki/ice-cream.png +0 -0
  165. package/dist/cesium/Assets/Textures/maki/industrial.png +0 -0
  166. package/dist/cesium/Assets/Textures/maki/land-use.png +0 -0
  167. package/dist/cesium/Assets/Textures/maki/laundry.png +0 -0
  168. package/dist/cesium/Assets/Textures/maki/library.png +0 -0
  169. package/dist/cesium/Assets/Textures/maki/lighthouse.png +0 -0
  170. package/dist/cesium/Assets/Textures/maki/lodging.png +0 -0
  171. package/dist/cesium/Assets/Textures/maki/logging.png +0 -0
  172. package/dist/cesium/Assets/Textures/maki/london-underground.png +0 -0
  173. package/dist/cesium/Assets/Textures/maki/marker-stroked.png +0 -0
  174. package/dist/cesium/Assets/Textures/maki/marker.png +0 -0
  175. package/dist/cesium/Assets/Textures/maki/minefield.png +0 -0
  176. package/dist/cesium/Assets/Textures/maki/mobilephone.png +0 -0
  177. package/dist/cesium/Assets/Textures/maki/monument.png +0 -0
  178. package/dist/cesium/Assets/Textures/maki/museum.png +0 -0
  179. package/dist/cesium/Assets/Textures/maki/music.png +0 -0
  180. package/dist/cesium/Assets/Textures/maki/oil-well.png +0 -0
  181. package/dist/cesium/Assets/Textures/maki/park.png +0 -0
  182. package/dist/cesium/Assets/Textures/maki/park2.png +0 -0
  183. package/dist/cesium/Assets/Textures/maki/parking-garage.png +0 -0
  184. package/dist/cesium/Assets/Textures/maki/parking.png +0 -0
  185. package/dist/cesium/Assets/Textures/maki/pharmacy.png +0 -0
  186. package/dist/cesium/Assets/Textures/maki/pitch.png +0 -0
  187. package/dist/cesium/Assets/Textures/maki/place-of-worship.png +0 -0
  188. package/dist/cesium/Assets/Textures/maki/playground.png +0 -0
  189. package/dist/cesium/Assets/Textures/maki/police.png +0 -0
  190. package/dist/cesium/Assets/Textures/maki/polling-place.png +0 -0
  191. package/dist/cesium/Assets/Textures/maki/post.png +0 -0
  192. package/dist/cesium/Assets/Textures/maki/prison.png +0 -0
  193. package/dist/cesium/Assets/Textures/maki/rail-above.png +0 -0
  194. package/dist/cesium/Assets/Textures/maki/rail-light.png +0 -0
  195. package/dist/cesium/Assets/Textures/maki/rail-metro.png +0 -0
  196. package/dist/cesium/Assets/Textures/maki/rail-underground.png +0 -0
  197. package/dist/cesium/Assets/Textures/maki/rail.png +0 -0
  198. package/dist/cesium/Assets/Textures/maki/religious-christian.png +0 -0
  199. package/dist/cesium/Assets/Textures/maki/religious-jewish.png +0 -0
  200. package/dist/cesium/Assets/Textures/maki/religious-muslim.png +0 -0
  201. package/dist/cesium/Assets/Textures/maki/restaurant.png +0 -0
  202. package/dist/cesium/Assets/Textures/maki/roadblock.png +0 -0
  203. package/dist/cesium/Assets/Textures/maki/rocket.png +0 -0
  204. package/dist/cesium/Assets/Textures/maki/school.png +0 -0
  205. package/dist/cesium/Assets/Textures/maki/scooter.png +0 -0
  206. package/dist/cesium/Assets/Textures/maki/shop.png +0 -0
  207. package/dist/cesium/Assets/Textures/maki/skiing.png +0 -0
  208. package/dist/cesium/Assets/Textures/maki/slaughterhouse.png +0 -0
  209. package/dist/cesium/Assets/Textures/maki/soccer.png +0 -0
  210. package/dist/cesium/Assets/Textures/maki/square-stroked.png +0 -0
  211. package/dist/cesium/Assets/Textures/maki/square.png +0 -0
  212. package/dist/cesium/Assets/Textures/maki/star-stroked.png +0 -0
  213. package/dist/cesium/Assets/Textures/maki/star.png +0 -0
  214. package/dist/cesium/Assets/Textures/maki/suitcase.png +0 -0
  215. package/dist/cesium/Assets/Textures/maki/swimming.png +0 -0
  216. package/dist/cesium/Assets/Textures/maki/telephone.png +0 -0
  217. package/dist/cesium/Assets/Textures/maki/tennis.png +0 -0
  218. package/dist/cesium/Assets/Textures/maki/theatre.png +0 -0
  219. package/dist/cesium/Assets/Textures/maki/toilets.png +0 -0
  220. package/dist/cesium/Assets/Textures/maki/town-hall.png +0 -0
  221. package/dist/cesium/Assets/Textures/maki/town.png +0 -0
  222. package/dist/cesium/Assets/Textures/maki/triangle-stroked.png +0 -0
  223. package/dist/cesium/Assets/Textures/maki/triangle.png +0 -0
  224. package/dist/cesium/Assets/Textures/maki/village.png +0 -0
  225. package/dist/cesium/Assets/Textures/maki/warehouse.png +0 -0
  226. package/dist/cesium/Assets/Textures/maki/waste-basket.png +0 -0
  227. package/dist/cesium/Assets/Textures/maki/water.png +0 -0
  228. package/dist/cesium/Assets/Textures/maki/wetland.png +0 -0
  229. package/dist/cesium/Assets/Textures/maki/zoo.png +0 -0
  230. package/dist/cesium/Assets/Textures/moonSmall.jpg +0 -0
  231. package/dist/cesium/Assets/Textures/pin.svg +1 -0
  232. package/dist/cesium/Assets/Textures/waterNormals.jpg +0 -0
  233. package/dist/cesium/Assets/Textures/waterNormalsSmall.jpg +0 -0
  234. package/dist/cesium/Assets/approximateTerrainHeights.json +1 -0
  235. package/dist/cesium/ThirdParty/Workers/package.json +1 -0
  236. package/dist/cesium/ThirdParty/Workers/zip-web-worker.js +1 -0
  237. package/dist/cesium/ThirdParty/basis_transcoder.wasm +0 -0
  238. package/dist/cesium/ThirdParty/draco_decoder.wasm +0 -0
  239. package/dist/cesium/ThirdParty/google-earth-dbroot-parser.js +1 -0
  240. package/dist/cesium/ThirdParty/wasm_splats_bg.wasm +0 -0
  241. package/dist/cesium/ThirdParty/zip-module.wasm +0 -0
  242. package/dist/cesium/Widgets/Animation/Animation.css +127 -0
  243. package/dist/cesium/Widgets/Animation/lighter.css +70 -0
  244. package/dist/cesium/Widgets/BaseLayerPicker/BaseLayerPicker.css +108 -0
  245. package/dist/cesium/Widgets/BaseLayerPicker/lighter.css +22 -0
  246. package/dist/cesium/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +102 -0
  247. package/dist/cesium/Widgets/CesiumInspector/CesiumInspector.css +113 -0
  248. package/dist/cesium/Widgets/CesiumWidget/CesiumWidget.css +119 -0
  249. package/dist/cesium/Widgets/CesiumWidget/lighter.css +14 -0
  250. package/dist/cesium/Widgets/FullscreenButton/FullscreenButton.css +8 -0
  251. package/dist/cesium/Widgets/Geocoder/Geocoder.css +70 -0
  252. package/dist/cesium/Widgets/Geocoder/lighter.css +17 -0
  253. package/dist/cesium/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
  254. package/dist/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  255. package/dist/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  256. package/dist/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  257. package/dist/cesium/Widgets/Images/ImageryProviders/azureAerial.png +0 -0
  258. package/dist/cesium/Widgets/Images/ImageryProviders/azureRoads.png +0 -0
  259. package/dist/cesium/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
  260. package/dist/cesium/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
  261. package/dist/cesium/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
  262. package/dist/cesium/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
  263. package/dist/cesium/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
  264. package/dist/cesium/Widgets/Images/ImageryProviders/googleContour.png +0 -0
  265. package/dist/cesium/Widgets/Images/ImageryProviders/googleRoadmap.png +0 -0
  266. package/dist/cesium/Widgets/Images/ImageryProviders/googleSatellite.png +0 -0
  267. package/dist/cesium/Widgets/Images/ImageryProviders/googleSatelliteLabels.png +0 -0
  268. package/dist/cesium/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  269. package/dist/cesium/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
  270. package/dist/cesium/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
  271. package/dist/cesium/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
  272. package/dist/cesium/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
  273. package/dist/cesium/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
  274. package/dist/cesium/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
  275. package/dist/cesium/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  276. package/dist/cesium/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  277. package/dist/cesium/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
  278. package/dist/cesium/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
  279. package/dist/cesium/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
  280. package/dist/cesium/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
  281. package/dist/cesium/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
  282. package/dist/cesium/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
  283. package/dist/cesium/Widgets/Images/NavigationHelp/Touch.svg +120 -0
  284. package/dist/cesium/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
  285. package/dist/cesium/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
  286. package/dist/cesium/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
  287. package/dist/cesium/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
  288. package/dist/cesium/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  289. package/dist/cesium/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
  290. package/dist/cesium/Widgets/Images/TimelineIcons.png +0 -0
  291. package/dist/cesium/Widgets/Images/info-loading.gif +0 -0
  292. package/dist/cesium/Widgets/InfoBox/InfoBox.css +92 -0
  293. package/dist/cesium/Widgets/InfoBox/InfoBoxDescription.css +178 -0
  294. package/dist/cesium/Widgets/NavigationHelpButton/NavigationHelpButton.css +93 -0
  295. package/dist/cesium/Widgets/NavigationHelpButton/lighter.css +38 -0
  296. package/dist/cesium/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
  297. package/dist/cesium/Widgets/ProjectionPicker/ProjectionPicker.css +38 -0
  298. package/dist/cesium/Widgets/SceneModePicker/SceneModePicker.css +56 -0
  299. package/dist/cesium/Widgets/SelectionIndicator/SelectionIndicator.css +20 -0
  300. package/dist/cesium/Widgets/Timeline/Timeline.css +103 -0
  301. package/dist/cesium/Widgets/Timeline/lighter.css +23 -0
  302. package/dist/cesium/Widgets/VRButton/VRButton.css +8 -0
  303. package/dist/cesium/Widgets/Viewer/Viewer.css +107 -0
  304. package/dist/cesium/Widgets/VoxelInspector/VoxelInspector.css +16 -0
  305. package/dist/cesium/Widgets/lighter.css +237 -0
  306. package/dist/cesium/Widgets/lighterShared.css +46 -0
  307. package/dist/cesium/Widgets/shared.css +103 -0
  308. package/dist/cesium/Widgets/widgets.css +1342 -0
  309. package/dist/cesium/Workers/chunk-23ZQ2IVV.js +29 -0
  310. package/dist/cesium/Workers/chunk-2EQO3Q56.js +26 -0
  311. package/dist/cesium/Workers/chunk-2MJIIVP4.js +26 -0
  312. package/dist/cesium/Workers/chunk-2TE5NTVD.js +26 -0
  313. package/dist/cesium/Workers/chunk-2ZBHLJST.js +26 -0
  314. package/dist/cesium/Workers/chunk-5TJMAQVL.js +26 -0
  315. package/dist/cesium/Workers/chunk-6BD4U3VO.js +26 -0
  316. package/dist/cesium/Workers/chunk-7TVGLKQF.js +26 -0
  317. package/dist/cesium/Workers/chunk-BTSYJ5XU.js +26 -0
  318. package/dist/cesium/Workers/chunk-BXMEEOCS.js +63 -0
  319. package/dist/cesium/Workers/chunk-BYLCY7GP.js +29 -0
  320. package/dist/cesium/Workers/chunk-CTHM3W6I.js +26 -0
  321. package/dist/cesium/Workers/chunk-CUUSNIVQ.js +26 -0
  322. package/dist/cesium/Workers/chunk-E3JOOS3S.js +26 -0
  323. package/dist/cesium/Workers/chunk-E7KYDCM5.js +26 -0
  324. package/dist/cesium/Workers/chunk-EDVBB7SS.js +27 -0
  325. package/dist/cesium/Workers/chunk-EFBN7QNX.js +26 -0
  326. package/dist/cesium/Workers/chunk-EQ4YRVWL.js +26 -0
  327. package/dist/cesium/Workers/chunk-F6PRE7D6.js +26 -0
  328. package/dist/cesium/Workers/chunk-FC4ZZ65J.js +26 -0
  329. package/dist/cesium/Workers/chunk-FFBVWF2L.js +26 -0
  330. package/dist/cesium/Workers/chunk-GBAA6GVX.js +26 -0
  331. package/dist/cesium/Workers/chunk-ICALLYLG.js +26 -0
  332. package/dist/cesium/Workers/chunk-ILRYTWTP.js +26 -0
  333. package/dist/cesium/Workers/chunk-IRNLBSEJ.js +26 -0
  334. package/dist/cesium/Workers/chunk-IX4VMHEV.js +26 -0
  335. package/dist/cesium/Workers/chunk-L6QHHACZ.js +26 -0
  336. package/dist/cesium/Workers/chunk-LI2ZSORM.js +26 -0
  337. package/dist/cesium/Workers/chunk-LSLE2RL4.js +26 -0
  338. package/dist/cesium/Workers/chunk-M4HLDBCG.js +26 -0
  339. package/dist/cesium/Workers/chunk-MJHHSGEH.js +26 -0
  340. package/dist/cesium/Workers/chunk-NMVKML6W.js +26 -0
  341. package/dist/cesium/Workers/chunk-OCWJRAXS.js +26 -0
  342. package/dist/cesium/Workers/chunk-OIRKANTH.js +26 -0
  343. package/dist/cesium/Workers/chunk-OIT7J4IC.js +26 -0
  344. package/dist/cesium/Workers/chunk-OLZ3FYUM.js +26 -0
  345. package/dist/cesium/Workers/chunk-Q5BPHJQF.js +26 -0
  346. package/dist/cesium/Workers/chunk-QFM5DCMQ.js +26 -0
  347. package/dist/cesium/Workers/chunk-QKUIYMGC.js +28 -0
  348. package/dist/cesium/Workers/chunk-S44JILQT.js +26 -0
  349. package/dist/cesium/Workers/chunk-SLT4J352.js +26 -0
  350. package/dist/cesium/Workers/chunk-SQMIIXB7.js +26 -0
  351. package/dist/cesium/Workers/chunk-TJ4XLGBQ.js +26 -0
  352. package/dist/cesium/Workers/chunk-TNSUQXWK.js +27 -0
  353. package/dist/cesium/Workers/chunk-UBOGZS7F.js +26 -0
  354. package/dist/cesium/Workers/chunk-V3OSTMM6.js +26 -0
  355. package/dist/cesium/Workers/chunk-V7QEYVP3.js +26 -0
  356. package/dist/cesium/Workers/chunk-VUKYSU4H.js +26 -0
  357. package/dist/cesium/Workers/chunk-W37FE5GR.js +26 -0
  358. package/dist/cesium/Workers/chunk-WBOV35NL.js +26 -0
  359. package/dist/cesium/Workers/chunk-WPMZLB3Y.js +26 -0
  360. package/dist/cesium/Workers/chunk-WWWZVEEH.js +26 -0
  361. package/dist/cesium/Workers/chunk-XFIQ5DEQ.js +28 -0
  362. package/dist/cesium/Workers/chunk-XQHLGIO7.js +26 -0
  363. package/dist/cesium/Workers/chunk-XUSCFAVF.js +26 -0
  364. package/dist/cesium/Workers/chunk-YP7I5QBZ.js +26 -0
  365. package/dist/cesium/Workers/chunk-Z3QF2EHT.js +26 -0
  366. package/dist/cesium/Workers/combineGeometry.js +26 -0
  367. package/dist/cesium/Workers/createBoxGeometry.js +26 -0
  368. package/dist/cesium/Workers/createBoxOutlineGeometry.js +26 -0
  369. package/dist/cesium/Workers/createCircleGeometry.js +26 -0
  370. package/dist/cesium/Workers/createCircleOutlineGeometry.js +26 -0
  371. package/dist/cesium/Workers/createCoplanarPolygonGeometry.js +26 -0
  372. package/dist/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +26 -0
  373. package/dist/cesium/Workers/createCorridorGeometry.js +26 -0
  374. package/dist/cesium/Workers/createCorridorOutlineGeometry.js +26 -0
  375. package/dist/cesium/Workers/createCylinderGeometry.js +26 -0
  376. package/dist/cesium/Workers/createCylinderOutlineGeometry.js +26 -0
  377. package/dist/cesium/Workers/createEllipseGeometry.js +26 -0
  378. package/dist/cesium/Workers/createEllipseOutlineGeometry.js +26 -0
  379. package/dist/cesium/Workers/createEllipsoidGeometry.js +26 -0
  380. package/dist/cesium/Workers/createEllipsoidOutlineGeometry.js +26 -0
  381. package/dist/cesium/Workers/createFrustumGeometry.js +26 -0
  382. package/dist/cesium/Workers/createFrustumOutlineGeometry.js +26 -0
  383. package/dist/cesium/Workers/createGeometry.js +26 -0
  384. package/dist/cesium/Workers/createGroundPolylineGeometry.js +26 -0
  385. package/dist/cesium/Workers/createPlaneGeometry.js +26 -0
  386. package/dist/cesium/Workers/createPlaneOutlineGeometry.js +26 -0
  387. package/dist/cesium/Workers/createPolygonGeometry.js +26 -0
  388. package/dist/cesium/Workers/createPolygonOutlineGeometry.js +26 -0
  389. package/dist/cesium/Workers/createPolylineGeometry.js +26 -0
  390. package/dist/cesium/Workers/createPolylineVolumeGeometry.js +26 -0
  391. package/dist/cesium/Workers/createPolylineVolumeOutlineGeometry.js +26 -0
  392. package/dist/cesium/Workers/createRectangleGeometry.js +26 -0
  393. package/dist/cesium/Workers/createRectangleOutlineGeometry.js +26 -0
  394. package/dist/cesium/Workers/createSimplePolylineGeometry.js +26 -0
  395. package/dist/cesium/Workers/createSphereGeometry.js +26 -0
  396. package/dist/cesium/Workers/createSphereOutlineGeometry.js +26 -0
  397. package/dist/cesium/Workers/createTaskProcessorWorker.js +26 -0
  398. package/dist/cesium/Workers/createVectorTileClampedPolylines.js +26 -0
  399. package/dist/cesium/Workers/createVectorTileGeometries.js +26 -0
  400. package/dist/cesium/Workers/createVectorTilePoints.js +26 -0
  401. package/dist/cesium/Workers/createVectorTilePolygons.js +26 -0
  402. package/dist/cesium/Workers/createVectorTilePolylines.js +26 -0
  403. package/dist/cesium/Workers/createVerticesFromCesium3DTilesTerrain.js +26 -0
  404. package/dist/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +26 -0
  405. package/dist/cesium/Workers/createVerticesFromHeightmap.js +26 -0
  406. package/dist/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +26 -0
  407. package/dist/cesium/Workers/createWallGeometry.js +26 -0
  408. package/dist/cesium/Workers/createWallOutlineGeometry.js +26 -0
  409. package/dist/cesium/Workers/decodeDraco.js +26 -0
  410. package/dist/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +26 -0
  411. package/dist/cesium/Workers/decodeI3S.js +26 -0
  412. package/dist/cesium/Workers/gaussianSplatSorter.js +26 -0
  413. package/dist/cesium/Workers/gaussianSplatTextureGenerator.js +26 -0
  414. package/dist/cesium/Workers/incrementallyBuildTerrainPicker.js +26 -0
  415. package/dist/cesium/Workers/transcodeKTX2.js +56 -0
  416. package/dist/cesium/Workers/transferTypedArrayTest.js +26 -0
  417. package/dist/cesium/Workers/upsampleQuantizedTerrainMesh.js +26 -0
  418. package/dist/cesium/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +26 -0
  419. package/dist/index.html +13 -2
  420. package/package.json +27 -19
  421. package/src/App.tsx +1 -17
  422. package/src/components/viewer/BCFPanel.tsx +46 -4
  423. package/src/components/viewer/CesiumOverlay.tsx +672 -0
  424. package/src/components/viewer/CesiumSettingsDialog.tsx +100 -0
  425. package/src/components/viewer/ChatPanel.tsx +54 -16
  426. package/src/components/viewer/CommandPalette.tsx +6 -1
  427. package/src/components/viewer/DesktopEntitlementBanner.tsx +74 -0
  428. package/src/components/viewer/ExportChangesButton.tsx +24 -4
  429. package/src/components/viewer/ExportDialog.tsx +38 -9
  430. package/src/components/viewer/HierarchyPanel.tsx +202 -6
  431. package/src/components/viewer/IDSPanel.tsx +52 -3
  432. package/src/components/viewer/KeyboardShortcutsDialog.tsx +1 -1
  433. package/src/components/viewer/MainToolbar.tsx +353 -27
  434. package/src/components/viewer/PropertiesPanel.tsx +306 -131
  435. package/src/components/viewer/ScriptPanel.tsx +34 -8
  436. package/src/components/viewer/Section2DPanel.tsx +3 -2
  437. package/src/components/viewer/SettingsPage.tsx +430 -0
  438. package/src/components/viewer/StatusBar.tsx +17 -1
  439. package/src/components/viewer/UpgradePage.tsx +6 -4
  440. package/src/components/viewer/ViewerLayout.tsx +47 -6
  441. package/src/components/viewer/Viewport.tsx +49 -8
  442. package/src/components/viewer/ViewportContainer.tsx +285 -32
  443. package/src/components/viewer/ViewportOverlays.tsx +129 -27
  444. package/src/components/viewer/hierarchy/treeDataBuilder.ts +2 -1
  445. package/src/components/viewer/properties/EpsgLookupDialog.tsx +418 -0
  446. package/src/components/viewer/properties/GeoreferencingPanel.tsx +703 -0
  447. package/src/components/viewer/properties/LocationMap.tsx +730 -0
  448. package/src/components/viewer/properties/ModelMetadataPanel.tsx +3 -70
  449. package/src/components/viewer/selectionHandlers.ts +4 -3
  450. package/src/components/viewer/useAnimationLoop.ts +4 -0
  451. package/src/components/viewer/useGeometryStreaming.ts +127 -40
  452. package/src/components/viewer/useMouseControls.ts +4 -1
  453. package/src/hooks/bcfIdLookup.ts +13 -11
  454. package/src/hooks/ids/idsColorSystem.ts +3 -8
  455. package/src/hooks/ingest/viewerModelIngest.ts +275 -0
  456. package/src/hooks/useIDS.ts +32 -17
  457. package/src/hooks/useIfc.ts +7 -1
  458. package/src/hooks/useIfcCache.ts +28 -15
  459. package/src/hooks/useIfcFederation.ts +59 -227
  460. package/src/hooks/useIfcLoader.ts +1656 -130
  461. package/src/hooks/useIfcServer.ts +0 -69
  462. package/src/lib/desktop/ClerkDesktopEntitlementSync.tsx +175 -0
  463. package/src/lib/desktop/desktopEntitlementEvents.ts +39 -0
  464. package/src/lib/desktop-entitlement.ts +45 -0
  465. package/src/lib/desktop-product.ts +124 -0
  466. package/src/lib/geo/cesium-bridge.ts +310 -0
  467. package/src/lib/geo/kmz-exporter.ts +112 -0
  468. package/src/lib/geo/reproject.ts +370 -0
  469. package/src/lib/lens/adapter.ts +3 -1
  470. package/src/lib/recent-files.ts +2 -1
  471. package/src/main.tsx +1 -0
  472. package/src/sdk/adapters/export-adapter.ts +14 -1
  473. package/src/sdk/adapters/viewer-adapter.ts +5 -9
  474. package/src/sdk/adapters/visibility-adapter.ts +6 -9
  475. package/src/services/analysis-extensions.ts +125 -0
  476. package/src/services/app-navigation.ts +13 -0
  477. package/src/services/bsdd.ts +53 -4
  478. package/src/services/cacheService.ts +1 -1
  479. package/src/services/desktop-cache.ts +43 -0
  480. package/src/services/desktop-export.ts +77 -0
  481. package/src/services/desktop-harness.ts +196 -0
  482. package/src/services/desktop-logger.ts +20 -0
  483. package/src/services/desktop-native-metadata.ts +207 -0
  484. package/src/services/desktop-panel-actions.ts +43 -0
  485. package/src/services/desktop-preferences.ts +44 -0
  486. package/src/services/file-dialog.ts +147 -0
  487. package/src/services/tauri-core-stub.ts +7 -0
  488. package/src/services/tauri-dialog-stub.ts +7 -0
  489. package/src/services/tauri-fs-stub.ts +7 -0
  490. package/src/store/basketVisibleSet.ts +3 -4
  491. package/src/store/globalId.ts +79 -0
  492. package/src/store/index.ts +41 -2
  493. package/src/store/slices/cesiumSlice.ts +122 -0
  494. package/src/store/slices/chatSlice.ts +5 -1
  495. package/src/store/slices/dataSlice.ts +139 -28
  496. package/src/store/slices/desktopEntitlementSlice.ts +86 -0
  497. package/src/store/slices/loadingSlice.ts +14 -2
  498. package/src/store/slices/modelSlice.ts +58 -3
  499. package/src/store/slices/mutationSlice.ts +178 -0
  500. package/src/store/slices/pinboardSlice.ts +4 -8
  501. package/src/store/types.ts +96 -2
  502. package/src/store.ts +1 -1
  503. package/src/utils/desktopModelSnapshot.ts +358 -0
  504. package/src/utils/ifcConfig.ts +6 -1
  505. package/src/utils/nativeSpatialDataStore.ts +250 -0
  506. package/src/utils/serverDataModel.ts +4 -0
  507. package/src/utils/spatialHierarchy.ts +10 -11
  508. package/vite.config.ts +41 -0
  509. package/dist/assets/Arrow.dom-BhOg9lpn.js +0 -20
  510. package/dist/assets/arrow2_bg-BlXl-cSQ.js +0 -1
  511. package/dist/assets/basketViewActivator-BRG5DBmM.js +0 -1
  512. package/dist/assets/desktop-cache-oPzaWXYE.js +0 -1
  513. package/dist/assets/geometry.worker-kgiT_Qhh.js +0 -1
  514. package/dist/assets/ifc-lite_bg-FNRmpSvM.wasm +0 -0
  515. package/dist/assets/index-B1Ecw4AU.js +0 -189756
  516. package/dist/assets/index-Ba4eoTe7.css +0 -1
  517. package/dist/assets/index-CrgYBjTn.js +0 -229
  518. package/dist/assets/module-6F3E5H7Y-tx0BadV3.js +0 -6
  519. package/dist/assets/native-bridge-Crsb7TKz.js +0 -111
  520. package/dist/assets/wasm-bridge-mJUhb7uk.js +0 -1
@@ -0,0 +1,429 @@
1
+ import { _ as $, __tla as __tla_0 } from "./exporters-ChAtBmlj.js";
2
+ import "./bcf-DOG9_WPX.js";
3
+ import "./zip-DBEtpeu6.js";
4
+ import "./cesium-DUOzBlqv.js";
5
+ import "./arrow-CZ5kQ26f.js";
6
+ let K;
7
+ let __tla = Promise.all([
8
+ (()=>{
9
+ try {
10
+ return __tla_0;
11
+ } catch {}
12
+ })()
13
+ ]).then(async ()=>{
14
+ const W = 4, Y = 8192, G = 10;
15
+ function P() {
16
+ const t = globalThis.scheduler;
17
+ return typeof t?.yield == "function" ? t.yield() : new Promise((i)=>{
18
+ const r = new MessageChannel;
19
+ r.port1.onmessage = ()=>i(), r.port2.postMessage(null);
20
+ });
21
+ }
22
+ K = class {
23
+ initialized = !1;
24
+ invoke = null;
25
+ listen = null;
26
+ async init() {
27
+ if (this.initialized) return;
28
+ const i = globalThis;
29
+ if (!i.__TAURI_INTERNALS__?.invoke) throw new Error("Tauri API not available - this bridge should only be used in Tauri apps");
30
+ this.invoke = i.__TAURI_INTERNALS__.invoke;
31
+ try {
32
+ const r = await $(()=>import("./event-DIOks52T.js"), []);
33
+ this.listen = r.listen;
34
+ } catch {
35
+ console.warn("[NativeBridge] Event API not available, streaming will be limited");
36
+ }
37
+ this.initialized = !0;
38
+ }
39
+ isInitialized() {
40
+ return this.initialized;
41
+ }
42
+ toNativeBuffer(i) {
43
+ if (i instanceof Uint8Array) return Array.from(i);
44
+ const r = new TextEncoder;
45
+ return Array.from(r.encode(i));
46
+ }
47
+ async drainDeferredBatches(i, r, o) {
48
+ let s = 0, c = 0, a = performance.now();
49
+ for(; i.length > 0;){
50
+ const n = i.shift(), m = n.type === "mesh-array" ? {
51
+ meshes: n.meshes.map(k),
52
+ progress: {
53
+ processed: n.progress.processed,
54
+ total: n.progress.total,
55
+ currentType: n.progress.currentType
56
+ },
57
+ nativeTelemetry: R(n.telemetry, performance.now() - o)
58
+ } : {
59
+ meshes: q(n.payload),
60
+ progress: {
61
+ processed: n.payload.progress.processed,
62
+ total: n.payload.progress.total,
63
+ currentType: n.payload.progress.currentType
64
+ },
65
+ nativeTelemetry: R(n.payload.telemetry, performance.now() - o)
66
+ };
67
+ r.onBatch?.(m), s += 1, c += m.meshes.length, i.length > 0 && (s >= W || c >= Y || performance.now() - a >= G) && (await P(), s = 0, c = 0, a = performance.now());
68
+ }
69
+ }
70
+ async processEventDrivenNativeStream(i, r, o, s) {
71
+ if (!this.listen) throw new Error(`Event API unavailable, ${i} requires Tauri event support`);
72
+ const c = [];
73
+ let a = null, n = null;
74
+ const m = ()=>{
75
+ a || (a = (async ()=>{
76
+ try {
77
+ await this.drainDeferredBatches(c, o, s);
78
+ } catch (e) {
79
+ n = e instanceof Error ? e : new Error(String(e));
80
+ } finally{
81
+ a = null, c.length > 0 && !n && m();
82
+ }
83
+ })());
84
+ }, d = await this.listen("geometry-batch", (e)=>{
85
+ c.push({
86
+ type: "mesh-array",
87
+ meshes: e.payload.meshes,
88
+ progress: e.payload.progress,
89
+ telemetry: e.payload.telemetry
90
+ }), m();
91
+ }), p = await this.listen("geometry-packed-batch", (e)=>{
92
+ c.push({
93
+ type: "packed",
94
+ payload: e.payload
95
+ }), m();
96
+ }), y = await this.listen("geometry-color-update", (e)=>{
97
+ const l = new Map;
98
+ for (const h of e.payload.updates)l.set(h.expressId, h.color);
99
+ l.size > 0 && o.onColorUpdate?.(l);
100
+ });
101
+ try {
102
+ const e = await this.invoke(i, r), l = {
103
+ totalMeshes: e.totalMeshes,
104
+ totalVertices: e.totalVertices,
105
+ totalTriangles: e.totalTriangles,
106
+ parseTimeMs: e.parseTimeMs,
107
+ entityScanTimeMs: e.entityScanTimeMs,
108
+ lookupTimeMs: e.lookupTimeMs,
109
+ preprocessTimeMs: e.preprocessTimeMs,
110
+ geometryTimeMs: e.geometryTimeMs,
111
+ totalTimeMs: e.totalTimeMs,
112
+ firstChunkReadyTimeMs: e.firstChunkReadyTimeMs,
113
+ firstChunkPackTimeMs: e.firstChunkPackTimeMs,
114
+ firstChunkEmittedTimeMs: e.firstChunkEmittedTimeMs,
115
+ firstChunkEmitTimeMs: e.firstChunkEmitTimeMs
116
+ };
117
+ for(; a;)await a;
118
+ if (n) throw n;
119
+ return l;
120
+ } finally{
121
+ d(), p(), y();
122
+ }
123
+ }
124
+ async processGeometry(i) {
125
+ (!this.initialized || !this.invoke) && await this.init();
126
+ const r = this.toNativeBuffer(i), o = await this.invoke("get_geometry", {
127
+ buffer: r
128
+ }), s = o.meshes.map(k), c = B(o.coordinateInfo);
129
+ return {
130
+ meshes: s,
131
+ totalVertices: o.totalVertices,
132
+ totalTriangles: o.totalTriangles,
133
+ coordinateInfo: c
134
+ };
135
+ }
136
+ async processGeometryPath(i) {
137
+ (!this.initialized || !this.invoke) && await this.init();
138
+ const r = await this.invoke("get_geometry_from_path", {
139
+ path: i
140
+ });
141
+ return {
142
+ meshes: r.meshes.map(k),
143
+ totalVertices: r.totalVertices,
144
+ totalTriangles: r.totalTriangles,
145
+ coordinateInfo: B(r.coordinateInfo)
146
+ };
147
+ }
148
+ async processGeometryStreaming(i, r) {
149
+ if ((!this.initialized || !this.invoke) && await this.init(), !this.listen) {
150
+ console.warn("[NativeBridge] Event API unavailable, falling back to non-streaming mode");
151
+ const e = await this.processGeometry(i), l = {
152
+ totalMeshes: e.meshes.length,
153
+ totalVertices: e.totalVertices,
154
+ totalTriangles: e.totalTriangles,
155
+ parseTimeMs: 0,
156
+ entityScanTimeMs: 0,
157
+ lookupTimeMs: 0,
158
+ preprocessTimeMs: 0,
159
+ geometryTimeMs: 0,
160
+ totalTimeMs: 0,
161
+ firstChunkReadyTimeMs: 0,
162
+ firstChunkPackTimeMs: 0,
163
+ firstChunkEmittedTimeMs: 0,
164
+ firstChunkEmitTimeMs: 0
165
+ };
166
+ return r.onBatch?.({
167
+ meshes: e.meshes,
168
+ progress: {
169
+ processed: e.meshes.length,
170
+ total: e.meshes.length,
171
+ currentType: "complete"
172
+ }
173
+ }), r.onComplete?.(l), l;
174
+ }
175
+ const o = this.toNativeBuffer(i), s = performance.now(), c = [];
176
+ let a = null, n = null;
177
+ const m = ()=>{
178
+ a || (a = (async ()=>{
179
+ try {
180
+ await this.drainDeferredBatches(c, r, s);
181
+ } catch (e) {
182
+ n = e instanceof Error ? e : new Error(String(e));
183
+ } finally{
184
+ a = null, c.length > 0 && !n && m();
185
+ }
186
+ })());
187
+ }, d = await this.listen("geometry-batch", (e)=>{
188
+ c.push({
189
+ type: "mesh-array",
190
+ meshes: e.payload.meshes,
191
+ progress: e.payload.progress,
192
+ telemetry: e.payload.telemetry
193
+ }), m();
194
+ }), p = await this.listen("geometry-packed-batch", (e)=>{
195
+ c.push({
196
+ type: "packed",
197
+ payload: e.payload
198
+ }), m();
199
+ }), y = await this.listen("geometry-color-update", (e)=>{
200
+ const l = new Map;
201
+ for (const h of e.payload.updates)l.set(h.expressId, h.color);
202
+ l.size > 0 && r.onColorUpdate?.(l);
203
+ });
204
+ try {
205
+ const e = await this.invoke("get_geometry_streaming", {
206
+ buffer: o
207
+ }), l = {
208
+ totalMeshes: e.totalMeshes,
209
+ totalVertices: e.totalVertices,
210
+ totalTriangles: e.totalTriangles,
211
+ parseTimeMs: e.parseTimeMs,
212
+ entityScanTimeMs: e.entityScanTimeMs,
213
+ lookupTimeMs: e.lookupTimeMs,
214
+ preprocessTimeMs: e.preprocessTimeMs,
215
+ geometryTimeMs: e.geometryTimeMs,
216
+ totalTimeMs: e.totalTimeMs,
217
+ firstChunkReadyTimeMs: e.firstChunkReadyTimeMs,
218
+ firstChunkPackTimeMs: e.firstChunkPackTimeMs,
219
+ firstChunkEmittedTimeMs: e.firstChunkEmittedTimeMs,
220
+ firstChunkEmitTimeMs: e.firstChunkEmitTimeMs
221
+ };
222
+ for(; a;)await a;
223
+ if (n) throw n;
224
+ return r.onComplete?.(l), l;
225
+ } catch (e) {
226
+ throw r.onError?.(e instanceof Error ? e : new Error(String(e))), e;
227
+ } finally{
228
+ d(), p(), y();
229
+ }
230
+ }
231
+ async processGeometryStreamingPath(i, r, o) {
232
+ (!this.initialized || !this.invoke) && await this.init();
233
+ const s = performance.now();
234
+ if (!o) throw new Error("Packed shard path streaming requires a cache key");
235
+ return this.processPackedShardPathStream(i, o, r, s);
236
+ }
237
+ async processGeometryStreamingCache(i, r) {
238
+ (!this.initialized || !this.invoke) && await this.init();
239
+ const o = performance.now();
240
+ try {
241
+ const s = await this.invoke("get_native_geometry_cache_manifest", {
242
+ cacheKey: i
243
+ });
244
+ if (!s) throw new Error(`Native geometry cache manifest missing for ${i}`);
245
+ let c = 0;
246
+ for(let n = 0; n < s.shardCount; n += 1){
247
+ const m = await this.invoke("get_native_geometry_cache_packed_shard", {
248
+ cacheKey: i,
249
+ shardIndex: n
250
+ }), d = b(m, performance.now() - o, n + 1);
251
+ c = d.progress.processed, r.onBatch?.(d), n + 1 < s.shardCount && await P();
252
+ }
253
+ const a = {
254
+ totalMeshes: s.totalMeshes,
255
+ totalVertices: s.totalVertices,
256
+ totalTriangles: s.totalTriangles,
257
+ parseTimeMs: 0,
258
+ entityScanTimeMs: 0,
259
+ lookupTimeMs: 0,
260
+ preprocessTimeMs: 0,
261
+ geometryTimeMs: Math.round(performance.now() - o),
262
+ totalTimeMs: Math.round(performance.now() - o),
263
+ firstChunkReadyTimeMs: 0,
264
+ firstChunkPackTimeMs: 0,
265
+ firstChunkEmittedTimeMs: 0,
266
+ firstChunkEmitTimeMs: 0
267
+ };
268
+ return c !== s.totalMeshes && console.warn(`[NativeBridge] Cached packed shard stream mesh mismatch for ${i}: received=${c} expected=${s.totalMeshes}`), r.onComplete?.(a), a;
269
+ } catch (s) {
270
+ throw r.onError?.(s instanceof Error ? s : new Error(String(s))), s;
271
+ }
272
+ }
273
+ async processPackedShardPathStream(i, r, o, s) {
274
+ const c = this.invoke("get_geometry_streaming_from_path", {
275
+ path: i,
276
+ cacheKey: r,
277
+ preferPackedShards: !0
278
+ });
279
+ let a = 0, n = performance.now(), m = 0, d = null;
280
+ const p = this.listen ? await this.listen("native-shard-ready", ()=>{
281
+ if (d) {
282
+ const h = d;
283
+ d = null, h();
284
+ }
285
+ }) : null;
286
+ function y(h) {
287
+ return new Promise((T)=>{
288
+ const g = setTimeout(T, h);
289
+ d = ()=>{
290
+ clearTimeout(g), T();
291
+ };
292
+ });
293
+ }
294
+ try {
295
+ for(;;){
296
+ const h = await this.invoke("get_native_geometry_cache_stream_status", {
297
+ cacheKey: r
298
+ });
299
+ if (h?.failed) throw new Error(h.errorMessage ?? `Packed shard stream failed for ${r}`);
300
+ const T = h?.readyShardCount ?? 0;
301
+ for(; a < T;){
302
+ const g = await this.invoke("get_native_geometry_cache_packed_shard", {
303
+ cacheKey: r,
304
+ shardIndex: a
305
+ }), M = b(g, performance.now() - s, a + 1);
306
+ m = Math.max(m, M.progress.processed), n = performance.now(), o.onBatch?.(M), a += 1;
307
+ }
308
+ if (h?.done && a >= T) break;
309
+ if (performance.now() - n > 6e4) throw new Error(`Packed shard path stream stalled for ${r}: shards=${a}/${T} processed=${m}`);
310
+ await y(50);
311
+ }
312
+ } finally{
313
+ p && p();
314
+ }
315
+ const e = await c, l = {
316
+ totalMeshes: e.totalMeshes,
317
+ totalVertices: e.totalVertices,
318
+ totalTriangles: e.totalTriangles,
319
+ parseTimeMs: e.parseTimeMs,
320
+ entityScanTimeMs: e.entityScanTimeMs,
321
+ lookupTimeMs: e.lookupTimeMs,
322
+ preprocessTimeMs: e.preprocessTimeMs,
323
+ geometryTimeMs: e.geometryTimeMs,
324
+ totalTimeMs: e.totalTimeMs,
325
+ firstChunkReadyTimeMs: e.firstChunkReadyTimeMs,
326
+ firstChunkPackTimeMs: e.firstChunkPackTimeMs,
327
+ firstChunkEmittedTimeMs: e.firstChunkEmittedTimeMs,
328
+ firstChunkEmitTimeMs: e.firstChunkEmitTimeMs
329
+ };
330
+ return o.onComplete?.(l), l;
331
+ }
332
+ getApi() {
333
+ return null;
334
+ }
335
+ };
336
+ function k(t) {
337
+ return {
338
+ expressId: t.expressId,
339
+ ifcType: t.ifcType,
340
+ positions: new Float32Array(t.positions),
341
+ normals: new Float32Array(t.normals),
342
+ indices: new Uint32Array(t.indices),
343
+ color: t.color
344
+ };
345
+ }
346
+ function q(t) {
347
+ const i = Float32Array.from(t.positions), r = Float32Array.from(t.normals), o = Uint32Array.from(t.indices);
348
+ return t.meshes.map((s)=>({
349
+ expressId: s.expressId,
350
+ ifcType: s.ifcType,
351
+ positions: i.subarray(s.positionsOffset, s.positionsOffset + s.positionsLen),
352
+ normals: r.subarray(s.normalsOffset, s.normalsOffset + s.normalsLen),
353
+ indices: o.subarray(s.indicesOffset, s.indicesOffset + s.indicesLen),
354
+ color: s.color
355
+ }));
356
+ }
357
+ function X(t) {
358
+ if (t instanceof ArrayBuffer) return t;
359
+ if (t instanceof Uint8Array) return t.byteOffset === 0 && t.byteLength === t.buffer.byteLength && t.buffer instanceof ArrayBuffer ? t.buffer : t.slice().buffer;
360
+ if (Array.isArray(t)) return Uint8Array.from(t).buffer;
361
+ throw new Error(`Unsupported packed geometry shard payload: ${typeof t}`);
362
+ }
363
+ function b(t, i, r) {
364
+ const o = X(t), s = new Uint32Array(o, 0, 8), [c, a, n, m, d, p, y, e] = s;
365
+ if (c !== 1229341506) throw new Error("Invalid packed geometry cache shard magic");
366
+ if (a !== 1) throw new Error(`Unsupported packed geometry cache shard version: ${a}`);
367
+ const l = 11, h = 8, T = n * l, g = (h + T) * Uint32Array.BYTES_PER_ELEMENT, M = m * Float32Array.BYTES_PER_ELEMENT, L = d * Float32Array.BYTES_PER_ELEMENT, E = g, _ = E + M, I = _ + L, N = new Float32Array(o, E, m), U = new Float32Array(o, _, d), x = new Uint32Array(o, I, p), f = new DataView(o, h * Uint32Array.BYTES_PER_ELEMENT, T * Uint32Array.BYTES_PER_ELEMENT), C = [];
368
+ for(let w = 0; w < n; w += 1){
369
+ const u = w * l * Uint32Array.BYTES_PER_ELEMENT, D = f.getUint32(u, !0), v = f.getUint32(u + 4, !0), O = f.getUint32(u + 8, !0), S = f.getUint32(u + 12, !0), V = f.getUint32(u + 16, !0), A = f.getUint32(u + 20, !0), F = f.getUint32(u + 24, !0), z = [
370
+ f.getFloat32(u + 28, !0),
371
+ f.getFloat32(u + 32, !0),
372
+ f.getFloat32(u + 36, !0),
373
+ f.getFloat32(u + 40, !0)
374
+ ];
375
+ C.push({
376
+ expressId: D,
377
+ positions: N.subarray(v, v + O),
378
+ normals: U.subarray(S, S + V),
379
+ indices: x.subarray(A, A + F),
380
+ color: z
381
+ });
382
+ }
383
+ return {
384
+ meshes: C,
385
+ progress: {
386
+ processed: y,
387
+ total: e,
388
+ currentType: "cached"
389
+ },
390
+ nativeTelemetry: {
391
+ batchSequence: r,
392
+ payloadKind: "packed-cache-shard",
393
+ meshCount: n,
394
+ positionsLen: m,
395
+ normalsLen: d,
396
+ indicesLen: p,
397
+ chunkReadyTimeMs: 0,
398
+ packTimeMs: 0,
399
+ emitTimeMs: 0,
400
+ emittedTimeMs: 0,
401
+ jsReceivedTimeMs: i
402
+ }
403
+ };
404
+ }
405
+ function R(t, i) {
406
+ if (t) return {
407
+ batchSequence: t.batchSequence,
408
+ payloadKind: t.payloadKind,
409
+ meshCount: t.meshCount,
410
+ positionsLen: t.positionsLen,
411
+ normalsLen: t.normalsLen,
412
+ indicesLen: t.indicesLen,
413
+ chunkReadyTimeMs: t.chunkReadyTimeMs,
414
+ packTimeMs: t.packTimeMs,
415
+ emitTimeMs: t.emitTimeMs,
416
+ emittedTimeMs: t.emittedTimeMs,
417
+ jsReceivedTimeMs: i
418
+ };
419
+ }
420
+ function B(t) {
421
+ return {
422
+ originShift: t.originShift,
423
+ originalBounds: t.originalBounds,
424
+ shiftedBounds: t.shiftedBounds,
425
+ hasLargeCoordinates: t.hasLargeCoordinates
426
+ };
427
+ }
428
+ });
429
+ export { K as NativeBridge, __tla };
@@ -1,2 +1,2 @@
1
- let r;const H=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};typeof TextDecoder<"u"&&H.decode();let R=null;function m(){return(R===null||R.byteLength===0)&&(R=new Uint8Array(r.memory.buffer)),R}function p(n,t){return n=n>>>0,H.decode(m().subarray(n,n+t))}const l=new Array(128).fill(void 0);l.push(void 0,null,!0,!1);let E=l.length;function i(n){E===l.length&&l.push(l.length+1);const t=E;return E=l[t],l[t]=n,t}function a(n){return l[n]}function Q(n){n<132||(l[n]=E,E=n)}function b(n){const t=a(n);return Q(n),t}let f=0;const M=typeof TextEncoder<"u"?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},X=typeof M.encodeInto=="function"?function(n,t){return M.encodeInto(n,t)}:function(n,t){const e=M.encode(n);return t.set(e),{read:n.length,written:e.length}};function h(n,t,e){if(e===void 0){const w=M.encode(n),g=t(w.length,1)>>>0;return m().subarray(g,g+w.length).set(w),f=w.length,g}let _=n.length,o=t(_,1)>>>0;const c=m();let u=0;for(;u<_;u++){const w=n.charCodeAt(u);if(w>127)break;c[o+u]=w}if(u!==_){u!==0&&(n=n.slice(u)),o=e(o,_,_=u+n.length*3,1)>>>0;const w=m().subarray(o+u,o+_),g=X(n,w);u+=g.written}return f=u,o}function v(n){return n==null}let I=null;function s(){return(I===null||I.byteLength===0)&&(I=new Int32Array(r.memory.buffer)),I}function Y(n){const t=typeof n;if(t=="number"||t=="boolean"||n==null)return`${n}`;if(t=="string")return`"${n}"`;if(t=="symbol"){const o=n.description;return o==null?"Symbol":`Symbol(${o})`}if(t=="function"){const o=n.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(n)){const o=n.length;let c="[";o>0&&(c+=Y(n[0]));for(let u=1;u<o;u++)c+=", "+Y(n[u]);return c+="]",c}const e=/\[object ([^\]]+)\]/.exec(toString.call(n));let _;if(e.length>1)_=e[1];else return toString.call(n);if(_=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message}
2
- ${n.stack}`:_}function tt(n,t,e,_){const o={a:n,b:t,cnt:1,dtor:e},c=(...u)=>{o.cnt++;const w=o.a;o.a=0;try{return _(w,o.b,...u)}finally{--o.cnt===0?r.__wbindgen_export_2.get(o.dtor)(w,o.b):o.a=w}};return c.original=o,c}function et(n,t,e){r._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h896648893be04d51(n,t,i(e))}function C(n,t){const e=t(n.length*1,1)>>>0;return m().set(n,e/1),f=n.length,e}function at(n){try{const o=r.__wbindgen_add_to_stack_pointer(-16),c=C(n,r.__wbindgen_malloc),u=f;r.readParquet(o,c,u);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return k.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function ct(n){try{const o=r.__wbindgen_add_to_stack_pointer(-16),c=C(n,r.__wbindgen_malloc),u=f;r.readMetadata(o,c,u);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return T.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function A(n,t){if(!(n instanceof t))throw new Error(`expected instance of ${t.name}`);return n.ptr}function it(n,t,e){try{const u=r.__wbindgen_add_to_stack_pointer(-16),w=C(n,r.__wbindgen_malloc),g=f;A(t,S),A(e,L),r.readRowGroup(u,w,g,t.__wbg_ptr,e.__wbg_ptr);var _=s()[u/4+0],o=s()[u/4+1],c=s()[u/4+2];if(c)throw b(o);return P.__wrap(_)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function ut(n,t){const e=h(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=f,o=r.readMetadataAsync(e,_,!v(t),v(t)?0:t);return b(o)}function bt(n,t,e){const _=h(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=f;A(t,L),A(e,S);const c=r.readRowGroupAsync(_,o,t.__wbg_ptr,e.__wbg_ptr);return b(c)}function V(n,t){return n=n>>>0,m().subarray(n/1,n/1+t)}function wt(n,t){try{const g=r.__wbindgen_add_to_stack_pointer(-16);A(n,k);var e=n.__destroy_into_raw();let Z=0;v(t)||(A(t,D),Z=t.__destroy_into_raw()),r.writeParquet(g,e,Z);var _=s()[g/4+0],o=s()[g/4+1],c=s()[g/4+2],u=s()[g/4+3];if(u)throw b(c);var w=V(_,o).slice();return r.__wbindgen_free(_,o*1),w}finally{r.__wbindgen_add_to_stack_pointer(16)}}function dt(n){const t=h(n,r.__wbindgen_malloc,r.__wbindgen_realloc),e=f,_=r.readParquetStream(t,e);return b(_)}let O=null;function $(){return(O===null||O.byteLength===0)&&(O=new BigInt64Array(r.memory.buffer)),O}let j=null;function rt(){return(j===null||j.byteLength===0)&&(j=new BigUint64Array(r.memory.buffer)),j}function nt(n,t){return n=n>>>0,rt().subarray(n/8,n/8+t)}function gt(){const n=r.wasmMemory();return b(n)}function ft(){const n=r._functionTable();return b(n)}function d(n,t){try{return n.apply(this,t)}catch(e){r.__wbindgen_exn_store(i(e))}}function _t(n,t,e,_){r.wasm_bindgen__convert__closures__invoke2_mut__h02232cd008ae4dfe(n,t,i(e),i(_))}const pt=Object.freeze({UNCOMPRESSED:0,0:"UNCOMPRESSED",SNAPPY:1,1:"SNAPPY",GZIP:2,2:"GZIP",BROTLI:3,3:"BROTLI",LZ4:4,4:"LZ4",ZSTD:5,5:"ZSTD",LZ4_RAW:6,6:"LZ4_RAW"}),lt=Object.freeze({PLAIN:0,0:"PLAIN",PLAIN_DICTIONARY:1,1:"PLAIN_DICTIONARY",RLE:2,2:"RLE",BIT_PACKED:3,3:"BIT_PACKED",DELTA_BINARY_PACKED:4,4:"DELTA_BINARY_PACKED",DELTA_LENGTH_BYTE_ARRAY:5,5:"DELTA_LENGTH_BYTE_ARRAY",DELTA_BYTE_ARRAY:6,6:"DELTA_BYTE_ARRAY",RLE_DICTIONARY:7,7:"RLE_DICTIONARY",BYTE_STREAM_SPLIT:8,8:"BYTE_STREAM_SPLIT"}),ht=Object.freeze({V1:0,0:"V1",V2:1,1:"V2"});class S{static __wrap(t){t=t>>>0;const e=Object.create(S.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_arrowschema_free(t)}copy(){const t=r.arrowschema_copy(this.__wbg_ptr);return S.__wrap(t)}}class W{static __wrap(t){t=t>>>0;const e=Object.create(W.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_columnchunkmetadata_free(t)}filePath(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_filePath(_,this.__wbg_ptr);var t=s()[_/4+0],e=s()[_/4+1];let o;return t!==0&&(o=p(t,e).slice(),r.__wbindgen_free(t,e*1)),o}finally{r.__wbindgen_add_to_stack_pointer(16)}}fileOffset(){return r.columnchunkmetadata_fileOffset(this.__wbg_ptr)}pathInSchema(){let t,e;try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_pathInSchema(c,this.__wbg_ptr);var _=s()[c/4+0],o=s()[c/4+1];return t=_,e=o,p(_,o)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_free(t,e,1)}}statistics_exist(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_statistics_exist(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return t!==0}finally{r.__wbindgen_add_to_stack_pointer(16)}}getStatisticsMinValue(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_getStatisticsMinValue(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}getStatisticsMaxValue(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_getStatisticsMaxValue(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}getStatisticsNullCount(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_getStatisticsNullCount(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}numValues(){return r.columnchunkmetadata_numValues(this.__wbg_ptr)}compressedSize(){return r.columnchunkmetadata_compressedSize(this.__wbg_ptr)}uncompressedSize(){return r.columnchunkmetadata_uncompressedSize(this.__wbg_ptr)}dataPageOffset(){return r.columnchunkmetadata_dataPageOffset(this.__wbg_ptr)}hasIndexPage(){return r.columnchunkmetadata_hasIndexPage(this.__wbg_ptr)!==0}indexPageOffset(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_indexPageOffset(_,this.__wbg_ptr);var t=s()[_/4+0],e=$()[_/8+1];return t===0?void 0:e}finally{r.__wbindgen_add_to_stack_pointer(16)}}dictionaryPageOffset(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_dictionaryPageOffset(_,this.__wbg_ptr);var t=s()[_/4+0],e=$()[_/8+1];return t===0?void 0:e}finally{r.__wbindgen_add_to_stack_pointer(16)}}numColumnEncodings(){return r.columnchunkmetadata_numColumnEncodings(this.__wbg_ptr)>>>0}byteRange(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_byteRange(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=nt(t,e).slice();return r.__wbindgen_free(t,e*8),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class U{static __wrap(t){t=t>>>0;const e=Object.create(U.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_datatype_free(t)}}class F{static __wrap(t){t=t>>>0;const e=Object.create(F.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_ffirecordbatch_free(t)}arrayAddr(){return r.ffirecordbatch_arrayAddr(this.__wbg_ptr)}schemaAddr(){return r.ffirecordbatch_schemaAddr(this.__wbg_ptr)}}class x{static __wrap(t){t=t>>>0;const e=Object.create(x.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_ffitable_free(t)}numBatches(){return r.ffitable_numBatches(this.__wbg_ptr)>>>0}schemaAddr(){return r.ffitable_schemaAddr(this.__wbg_ptr)}arrayAddr(t){return r.ffitable_arrayAddr(this.__wbg_ptr,t)}drop(){const t=this.__destroy_into_raw();r.ffitable_drop(t)}}class yt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_ffivector_free(t)}array_addr(){return r.ffivector_array_addr(this.__wbg_ptr)}field_addr(){return r.ffivector_field_addr(this.__wbg_ptr)}}class T{static __wrap(t){t=t>>>0;const e=Object.create(T.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_filemetadata_free(t)}copy(){const t=r.filemetadata_copy(this.__wbg_ptr);return T.__wrap(t)}version(){return r.filemetadata_version(this.__wbg_ptr)}numRows(){return r.filemetadata_numRows(this.__wbg_ptr)>>>0}createdBy(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.filemetadata_createdBy(_,this.__wbg_ptr);var t=s()[_/4+0],e=s()[_/4+1];let o;return t!==0&&(o=p(t,e).slice(),r.__wbindgen_free(t,e*1)),o}finally{r.__wbindgen_add_to_stack_pointer(16)}}numRowGroups(){return r.filemetadata_numRowGroups(this.__wbg_ptr)>>>0}rowGroup(t){const e=r.filemetadata_rowGroup(this.__wbg_ptr,t);return L.__wrap(e)}schema(){const t=r.filemetadata_schema(this.__wbg_ptr);return G.__wrap(t)}keyValueMetadata(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.filemetadata_keyValueMetadata(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}arrowSchema(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.filemetadata_arrowSchema(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return S.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class mt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingbytesource_free(t)}get type(){let t,e;try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.intounderlyingbytesource_type(c,this.__wbg_ptr);var _=s()[c/4+0],o=s()[c/4+1];return t=_,e=o,p(_,o)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_free(t,e,1)}}get autoAllocateChunkSize(){return r.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr)>>>0}start(t){r.intounderlyingbytesource_start(this.__wbg_ptr,i(t))}pull(t){const e=r.intounderlyingbytesource_pull(this.__wbg_ptr,i(t));return b(e)}cancel(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingbytesource_free(t)}}class vt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingsink_free(t)}write(t){const e=r.intounderlyingsink_write(this.__wbg_ptr,i(t));return b(e)}close(){const t=this.__destroy_into_raw(),e=r.intounderlyingsink_close(t);return b(e)}abort(t){const e=this.__destroy_into_raw(),_=r.intounderlyingsink_abort(e,i(t));return b(_)}}class q{static __wrap(t){t=t>>>0;const e=Object.create(q.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingsource_free(t)}pull(t){const e=r.intounderlyingsource_pull(this.__wbg_ptr,i(t));return b(e)}cancel(){const t=this.__destroy_into_raw();r.intounderlyingsource_cancel(t)}}class kt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_pipeoptions_free(t)}get preventClose(){return r.pipeoptions_preventClose(this.__wbg_ptr)!==0}get preventCancel(){return r.pipeoptions_preventCancel(this.__wbg_ptr)!==0}get preventAbort(){return r.pipeoptions_preventAbort(this.__wbg_ptr)!==0}get signal(){const t=r.pipeoptions_signal(this.__wbg_ptr);return b(t)}}class z{static __wrap(t){t=t>>>0;const e=Object.create(z.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_queuingstrategy_free(t)}get highWaterMark(){return r.queuingstrategy_highWaterMark(this.__wbg_ptr)}}class At{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_readablestreamgetreaderoptions_free(t)}get mode(){const t=r.readablestreamgetreaderoptions_mode(this.__wbg_ptr);return b(t)}}class P{static __wrap(t){t=t>>>0;const e=Object.create(P.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_recordbatch_free(t)}get numRows(){return r.recordbatch_numRows(this.__wbg_ptr)>>>0}get numColumns(){return r.recordbatch_numColumns(this.__wbg_ptr)>>>0}get schema(){const t=r.recordbatch_schema(this.__wbg_ptr);return N.__wrap(t)}column(t){const e=r.recordbatch_column(this.__wbg_ptr,t);return e===0?void 0:B.__wrap(e)}column_by_name(t){const e=h(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=f,o=r.recordbatch_column_by_name(this.__wbg_ptr,e,_);return o===0?void 0:B.__wrap(o)}toFFI(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.recordbatch_toFFI(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return F.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoFFI(){try{const o=this.__destroy_into_raw(),c=r.__wbindgen_add_to_stack_pointer(-16);r.recordbatch_intoFFI(c,o);var t=s()[c/4+0],e=s()[c/4+1],_=s()[c/4+2];if(_)throw b(e);return F.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoIPCStream(){try{const u=this.__destroy_into_raw(),w=r.__wbindgen_add_to_stack_pointer(-16);r.recordbatch_intoIPCStream(w,u);var t=s()[w/4+0],e=s()[w/4+1],_=s()[w/4+2],o=s()[w/4+3];if(o)throw b(_);var c=V(t,e).slice();return r.__wbindgen_free(t,e*1),c}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class L{static __wrap(t){t=t>>>0;const e=Object.create(L.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_rowgroupmetadata_free(t)}numRows(){return r.rowgroupmetadata_numRows(this.__wbg_ptr)>>>0}numColumns(){return r.rowgroupmetadata_numColumns(this.__wbg_ptr)>>>0}column(t){const e=r.rowgroupmetadata_column(this.__wbg_ptr,t);return W.__wrap(e)}totalByteSize(){return r.rowgroupmetadata_totalByteSize(this.__wbg_ptr)>>>0}compressedSize(){return r.rowgroupmetadata_compressedSize(this.__wbg_ptr)>>>0}}class N{static __wrap(t){t=t>>>0;const e=Object.create(N.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_schema_free(t)}}class G{static __wrap(t){t=t>>>0;const e=Object.create(G.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_schemadescriptor_free(t)}name(){let t,e;try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.schemadescriptor_name(c,this.__wbg_ptr);var _=s()[c/4+0],o=s()[c/4+1];return t=_,e=o,p(_,o)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_free(t,e,1)}}numColumns(){return r.schemadescriptor_numColumns(this.__wbg_ptr)>>>0}numFields(){return r.schemadescriptor_numFields(this.__wbg_ptr)>>>0}}class k{static __wrap(t){t=t>>>0;const e=Object.create(k.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_table_free(t)}get schema(){const t=r.table_schema(this.__wbg_ptr);return N.__wrap(t)}recordBatch(t){const e=r.table_recordBatch(this.__wbg_ptr,t);return e===0?void 0:P.__wrap(e)}get numBatches(){return r.table_numBatches(this.__wbg_ptr)>>>0}toFFI(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.table_toFFI(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return x.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoFFI(){try{const o=this.__destroy_into_raw(),c=r.__wbindgen_add_to_stack_pointer(-16);r.table_intoFFI(c,o);var t=s()[c/4+0],e=s()[c/4+1],_=s()[c/4+2];if(_)throw b(e);return x.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoIPCStream(){try{const u=this.__destroy_into_raw(),w=r.__wbindgen_add_to_stack_pointer(-16);r.table_intoIPCStream(w,u);var t=s()[w/4+0],e=s()[w/4+1],_=s()[w/4+2],o=s()[w/4+3];if(o)throw b(_);var c=V(t,e).slice();return r.__wbindgen_free(t,e*1),c}finally{r.__wbindgen_add_to_stack_pointer(16)}}static fromIPCFile(t){try{const c=r.__wbindgen_add_to_stack_pointer(-16),u=C(t,r.__wbindgen_malloc),w=f;r.table_fromIPCFile(c,u,w);var e=s()[c/4+0],_=s()[c/4+1],o=s()[c/4+2];if(o)throw b(_);return k.__wrap(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}static fromIPCStream(t){try{const c=r.__wbindgen_add_to_stack_pointer(-16),u=C(t,r.__wbindgen_malloc),w=f;r.table_fromIPCStream(c,u,w);var e=s()[c/4+0],_=s()[c/4+1],o=s()[c/4+2];if(o)throw b(_);return k.__wrap(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class B{static __wrap(t){t=t>>>0;const e=Object.create(B.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_vector_free(t)}data_type(){const t=r.vector_data_type(this.__wbg_ptr);return U.__wrap(t)}}class D{static __wrap(t){t=t>>>0;const e=Object.create(D.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_writerproperties_free(t)}}class y{static __wrap(t){t=t>>>0;const e=Object.create(y.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_writerpropertiesbuilder_free(t)}constructor(){const t=r.writerpropertiesbuilder_new();return y.__wrap(t)}build(){const t=this.__destroy_into_raw(),e=r.writerpropertiesbuilder_build(t);return D.__wrap(e)}setWriterVersion(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setWriterVersion(e,t);return y.__wrap(_)}setEncoding(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setEncoding(e,t);return y.__wrap(_)}setCompression(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setCompression(e,t);return y.__wrap(_)}setStatisticsEnabled(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setStatisticsEnabled(e,t);return y.__wrap(_)}}async function ot(n,t){if(typeof Response=="function"&&n instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(n,t)}catch(_){if(n.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",_);else throw _}const e=await n.arrayBuffer();return await WebAssembly.instantiate(e,t)}else{const e=await WebAssembly.instantiate(n,t);return e instanceof WebAssembly.Instance?{instance:e,module:n}:e}}function K(){const n={};return n.wbg={},n.wbg.__wbg_filemetadata_new=function(t){const e=T.__wrap(t);return i(e)},n.wbg.__wbindgen_error_new=function(t,e){const _=new Error(p(t,e));return i(_)},n.wbg.__wbindgen_object_drop_ref=function(t){b(t)},n.wbg.__wbindgen_string_new=function(t,e){const _=p(t,e);return i(_)},n.wbg.__wbindgen_bigint_from_i64=function(t){return i(t)},n.wbg.__wbindgen_number_new=function(t){return i(t)},n.wbg.__wbindgen_object_clone_ref=function(t){const e=a(t);return i(e)},n.wbg.__wbg_fetch_b5d6bebed1e6c2d2=function(t){const e=fetch(a(t));return i(e)},n.wbg.__wbg_newwithsource_620c192b0682807b=function(t,e){const _=new ReadableStream(q.__wrap(t),z.__wrap(e));return i(_)},n.wbg.__wbg_close_e9110ca16e2567db=function(t){a(t).close()},n.wbg.__wbg_enqueue_d71a1a518e21f5c3=function(t,e){a(t).enqueue(a(e))},n.wbg.__wbg_byobRequest_08c18cee35def1f4=function(t){const e=a(t).byobRequest;return v(e)?0:i(e)},n.wbg.__wbg_close_da7e6fb9d9851e5a=function(t){a(t).close()},n.wbg.__wbg_view_231340b0dd8a2484=function(t){const e=a(t).view;return v(e)?0:i(e)},n.wbg.__wbg_respond_8fadc5f5c9d95422=function(t,e){a(t).respond(e>>>0)},n.wbg.__wbg_buffer_4e79326814bdd393=function(t){const e=a(t).buffer;return i(e)},n.wbg.__wbg_byteOffset_b69b0a07afccce19=function(t){return a(t).byteOffset},n.wbg.__wbg_byteLength_5299848ed3264181=function(t){return a(t).byteLength},n.wbg.__wbindgen_string_get=function(t,e){const _=a(e),o=typeof _=="string"?_:void 0;var c=v(o)?0:h(o,r.__wbindgen_malloc,r.__wbindgen_realloc),u=f;s()[t/4+1]=u,s()[t/4+0]=c},n.wbg.__wbg_set_bd72c078edfa51ad=function(t,e,_){a(t)[b(e)]=b(_)},n.wbg.__wbg_String_4370c5505c674d30=function(t,e){const _=String(a(e)),o=h(_,r.__wbindgen_malloc,r.__wbindgen_realloc),c=f;s()[t/4+1]=c,s()[t/4+0]=o},n.wbg.__wbindgen_cb_drop=function(t){const e=b(t).original;return e.cnt--==1?(e.a=0,!0):!1},n.wbg.__wbg_recordbatch_new=function(t){const e=P.__wrap(t);return i(e)},n.wbg.__wbg_randomFillSync_dc1e9a60c158336d=function(){return d(function(t,e){a(t).randomFillSync(b(e))},arguments)},n.wbg.__wbg_getRandomValues_37fa2ca9e4e07fab=function(){return d(function(t,e){a(t).getRandomValues(a(e))},arguments)},n.wbg.__wbg_crypto_c48a774b022d20ac=function(t){const e=a(t).crypto;return i(e)},n.wbg.__wbindgen_is_object=function(t){const e=a(t);return typeof e=="object"&&e!==null},n.wbg.__wbg_process_298734cf255a885d=function(t){const e=a(t).process;return i(e)},n.wbg.__wbg_versions_e2e78e134e3e5d01=function(t){const e=a(t).versions;return i(e)},n.wbg.__wbg_node_1cd7a5d853dbea79=function(t){const e=a(t).node;return i(e)},n.wbg.__wbindgen_is_string=function(t){return typeof a(t)=="string"},n.wbg.__wbg_require_8f08ceecec0f4fee=function(){return d(function(){const t=module.require;return i(t)},arguments)},n.wbg.__wbg_msCrypto_bcb970640f50a1e8=function(t){const e=a(t).msCrypto;return i(e)},n.wbg.__wbg_signal_4bd18fb489af2d4c=function(t){const e=a(t).signal;return i(e)},n.wbg.__wbg_new_55c9955722952374=function(){return d(function(){const t=new AbortController;return i(t)},arguments)},n.wbg.__wbg_abort_654b796176d117aa=function(t){a(t).abort()},n.wbg.__wbg_new_1eead62f64ca15ce=function(){return d(function(){const t=new Headers;return i(t)},arguments)},n.wbg.__wbg_append_fda9e3432e3e88da=function(){return d(function(t,e,_,o,c){a(t).append(p(e,_),p(o,c))},arguments)},n.wbg.__wbg_fetch_8eaf01857a5bb21f=function(t,e){const _=a(t).fetch(a(e));return i(_)},n.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced=function(t){let e;try{e=a(t)instanceof Response}catch{e=!1}return e},n.wbg.__wbg_url_8503de97f69da463=function(t,e){const _=a(e).url,o=h(_,r.__wbindgen_malloc,r.__wbindgen_realloc),c=f;s()[t/4+1]=c,s()[t/4+0]=o},n.wbg.__wbg_status_ac85a3142a84caa2=function(t){return a(t).status},n.wbg.__wbg_headers_b70de86b8e989bc0=function(t){const e=a(t).headers;return i(e)},n.wbg.__wbg_arrayBuffer_288fb3538806e85c=function(){return d(function(t){const e=a(t).arrayBuffer();return i(e)},arguments)},n.wbg.__wbg_newwithstrandinit_cad5cd6038c7ff5d=function(){return d(function(t,e,_){const o=new Request(p(t,e),a(_));return i(o)},arguments)},n.wbg.__wbindgen_is_function=function(t){return typeof a(t)=="function"},n.wbg.__wbg_newnoargs_581967eacc0e2604=function(t,e){const _=new Function(p(t,e));return i(_)},n.wbg.__wbg_new_56693dbed0c32988=function(){return i(new Map)},n.wbg.__wbg_next_526fc47e980da008=function(t){const e=a(t).next;return i(e)},n.wbg.__wbg_next_ddb3312ca1c4e32a=function(){return d(function(t){const e=a(t).next();return i(e)},arguments)},n.wbg.__wbg_done_5c1f01fb660d73b5=function(t){return a(t).done},n.wbg.__wbg_value_1695675138684bd5=function(t){const e=a(t).value;return i(e)},n.wbg.__wbg_iterator_97f0c81209c6c35a=function(){return i(Symbol.iterator)},n.wbg.__wbg_get_97b561fb56f034b5=function(){return d(function(t,e){const _=Reflect.get(a(t),a(e));return i(_)},arguments)},n.wbg.__wbg_call_cb65541d95d71282=function(){return d(function(t,e){const _=a(t).call(a(e));return i(_)},arguments)},n.wbg.__wbg_new_b51585de1b234aff=function(){const t=new Object;return i(t)},n.wbg.__wbg_self_1ff1d729e9aae938=function(){return d(function(){const t=self.self;return i(t)},arguments)},n.wbg.__wbg_window_5f4faef6c12b79ec=function(){return d(function(){const t=window.window;return i(t)},arguments)},n.wbg.__wbg_globalThis_1d39714405582d3c=function(){return d(function(){const t=globalThis.globalThis;return i(t)},arguments)},n.wbg.__wbg_global_651f05c6a0944d1c=function(){return d(function(){const t=global.global;return i(t)},arguments)},n.wbg.__wbindgen_is_undefined=function(t){return a(t)===void 0},n.wbg.__wbg_new_d258248ed531ff54=function(t,e){const _=new Error(p(t,e));return i(_)},n.wbg.__wbg_call_01734de55d61e11d=function(){return d(function(t,e,_){const o=a(t).call(a(e),a(_));return i(o)},arguments)},n.wbg.__wbg_set_bedc3d02d0f05eb0=function(t,e,_){const o=a(t).set(a(e),a(_));return i(o)},n.wbg.__wbg_new_43f1b47c28813cbd=function(t,e){try{var _={a:t,b:e},o=(u,w)=>{const g=_.a;_.a=0;try{return _t(g,_.b,u,w)}finally{_.a=g}};const c=new Promise(o);return i(c)}finally{_.a=_.b=0}},n.wbg.__wbg_resolve_53698b95aaf7fcf8=function(t){const e=Promise.resolve(a(t));return i(e)},n.wbg.__wbg_then_f7e06ee3c11698eb=function(t,e){const _=a(t).then(a(e));return i(_)},n.wbg.__wbg_then_b2267541e2a73865=function(t,e,_){const o=a(t).then(a(e),a(_));return i(o)},n.wbg.__wbg_buffer_085ec1f694018c4f=function(t){const e=a(t).buffer;return i(e)},n.wbg.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa=function(t,e,_){const o=new Uint8Array(a(t),e>>>0,_>>>0);return i(o)},n.wbg.__wbg_new_8125e318e6245eed=function(t){const e=new Uint8Array(a(t));return i(e)},n.wbg.__wbg_set_5cf90238115182c3=function(t,e,_){a(t).set(a(e),_>>>0)},n.wbg.__wbg_length_72e2208bbc0efc61=function(t){return a(t).length},n.wbg.__wbg_newwithlength_e5d69174d6984cd7=function(t){const e=new Uint8Array(t>>>0);return i(e)},n.wbg.__wbg_subarray_13db269f57aa838d=function(t,e,_){const o=a(t).subarray(e>>>0,_>>>0);return i(o)},n.wbg.__wbg_stringify_e25465938f3f611f=function(){return d(function(t){const e=JSON.stringify(a(t));return i(e)},arguments)},n.wbg.__wbg_has_c5fcd020291e56b8=function(){return d(function(t,e){return Reflect.has(a(t),a(e))},arguments)},n.wbg.__wbg_set_092e06b0f9d71865=function(){return d(function(t,e,_){return Reflect.set(a(t),a(e),a(_))},arguments)},n.wbg.__wbindgen_debug_string=function(t,e){const _=Y(a(e)),o=h(_,r.__wbindgen_malloc,r.__wbindgen_realloc),c=f;s()[t/4+1]=c,s()[t/4+0]=o},n.wbg.__wbindgen_throw=function(t,e){throw new Error(p(t,e))},n.wbg.__wbindgen_memory=function(){const t=r.memory;return i(t)},n.wbg.__wbindgen_function_table=function(){const t=r.__wbindgen_export_2;return i(t)},n.wbg.__wbindgen_closure_wrapper1527=function(t,e,_){const o=tt(t,e,304,et);return i(o)},n}function J(n,t){return r=n.exports,st.__wbindgen_wasm_module=t,O=null,j=null,I=null,R=null,r}function St(n){if(r!==void 0)return r;const t=K();n instanceof WebAssembly.Module||(n=new WebAssembly.Module(n));const e=new WebAssembly.Instance(n,t);return J(e,n)}async function st(n){if(r!==void 0)return r;typeof n>"u"&&(n=new URL("/assets/arrow2_bg-4Y7xYo54.wasm",import.meta.url));const t=K();(typeof n=="string"||typeof Request=="function"&&n instanceof Request||typeof URL=="function"&&n instanceof URL)&&(n=fetch(n));const{instance:e,module:_}=await ot(await n,t);return J(e,_)}export{S as ArrowSchema,W as ColumnChunkMetaData,pt as Compression,U as DataType,lt as Encoding,F as FFIRecordBatch,x as FFITable,yt as FFIVector,T as FileMetaData,mt as IntoUnderlyingByteSource,vt as IntoUnderlyingSink,q as IntoUnderlyingSource,kt as PipeOptions,z as QueuingStrategy,At as ReadableStreamGetReaderOptions,P as RecordBatch,L as RowGroupMetaData,N as Schema,G as SchemaDescriptor,k as Table,B as Vector,D as WriterProperties,y as WriterPropertiesBuilder,ht as WriterVersion,ft as _functionTable,st as default,St as initSync,ct as readMetadata,ut as readMetadataAsync,at as readParquet,dt as readParquetStream,it as readRowGroup,bt as readRowGroupAsync,gt as wasmMemory,wt as writeParquet};
1
+ let r;const H=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};typeof TextDecoder<"u"&&H.decode();let j=null;function k(){return(j===null||j.byteLength===0)&&(j=new Uint8Array(r.memory.buffer)),j}function p(n,t){return n=n>>>0,H.decode(k().subarray(n,n+t))}const l=new Array(128).fill(void 0);l.push(void 0,null,!0,!1);let P=l.length;function i(n){P===l.length&&l.push(l.length+1);const t=P;return P=l[t],l[t]=n,t}function a(n){return l[n]}function X(n){n<132||(l[n]=P,P=n)}function b(n){const t=a(n);return X(n),t}let f=0;const D=typeof TextEncoder<"u"?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},tt=typeof D.encodeInto=="function"?function(n,t){return D.encodeInto(n,t)}:function(n,t){const e=D.encode(n);return t.set(e),{read:n.length,written:e.length}};function y(n,t,e){if(e===void 0){const w=D.encode(n),g=t(w.length,1)>>>0;return k().subarray(g,g+w.length).set(w),f=w.length,g}let _=n.length,o=t(_,1)>>>0;const c=k();let u=0;for(;u<_;u++){const w=n.charCodeAt(u);if(w>127)break;c[o+u]=w}if(u!==_){u!==0&&(n=n.slice(u)),o=e(o,_,_=u+n.length*3,1)>>>0;const w=k().subarray(o+u,o+_),g=tt(n,w);u+=g.written}return f=u,o}function A(n){return n==null}let E=null;function s(){return(E===null||E.byteLength===0)&&(E=new Int32Array(r.memory.buffer)),E}function z(n){const t=typeof n;if(t=="number"||t=="boolean"||n==null)return`${n}`;if(t=="string")return`"${n}"`;if(t=="symbol"){const o=n.description;return o==null?"Symbol":`Symbol(${o})`}if(t=="function"){const o=n.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(n)){const o=n.length;let c="[";o>0&&(c+=z(n[0]));for(let u=1;u<o;u++)c+=", "+z(n[u]);return c+="]",c}const e=/\[object ([^\]]+)\]/.exec(toString.call(n));let _;if(e.length>1)_=e[1];else return toString.call(n);if(_=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message}
2
+ ${n.stack}`:_}function et(n,t,e,_){const o={a:n,b:t,cnt:1,dtor:e},c=(...u)=>{o.cnt++;const w=o.a;o.a=0;try{return _(w,o.b,...u)}finally{--o.cnt===0?r.__wbindgen_export_2.get(o.dtor)(w,o.b):o.a=w}};return c.original=o,c}function rt(n,t,e){r._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h896648893be04d51(n,t,i(e))}function M(n,t){const e=t(n.length*1,1)>>>0;return k().set(n,e/1),f=n.length,e}function nt(n){try{const o=r.__wbindgen_add_to_stack_pointer(-16),c=M(n,r.__wbindgen_malloc),u=f;r.readParquet(o,c,u);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return m.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function _t(n){try{const o=r.__wbindgen_add_to_stack_pointer(-16),c=M(n,r.__wbindgen_malloc),u=f;r.readMetadata(o,c,u);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return R.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function S(n,t){if(!(n instanceof t))throw new Error(`expected instance of ${t.name}`);return n.ptr}function ot(n,t,e){try{const u=r.__wbindgen_add_to_stack_pointer(-16),w=M(n,r.__wbindgen_malloc),g=f;S(t,v),S(e,O),r.readRowGroup(u,w,g,t.__wbg_ptr,e.__wbg_ptr);var _=s()[u/4+0],o=s()[u/4+1],c=s()[u/4+2];if(c)throw b(o);return I.__wrap(_)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function st(n,t){const e=y(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=f,o=r.readMetadataAsync(e,_,!A(t),A(t)?0:t);return b(o)}function at(n,t,e){const _=y(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=f;S(t,O),S(e,v);const c=r.readRowGroupAsync(_,o,t.__wbg_ptr,e.__wbg_ptr);return b(c)}function G(n,t){return n=n>>>0,k().subarray(n/1,n/1+t)}function ct(n,t){try{const g=r.__wbindgen_add_to_stack_pointer(-16);S(n,m);var e=n.__destroy_into_raw();let $=0;A(t)||(S(t,N),$=t.__destroy_into_raw()),r.writeParquet(g,e,$);var _=s()[g/4+0],o=s()[g/4+1],c=s()[g/4+2],u=s()[g/4+3];if(u)throw b(c);var w=G(_,o).slice();return r.__wbindgen_free(_,o*1),w}finally{r.__wbindgen_add_to_stack_pointer(16)}}function it(n){const t=y(n,r.__wbindgen_malloc,r.__wbindgen_realloc),e=f,_=r.readParquetStream(t,e);return b(_)}let C=null;function Z(){return(C===null||C.byteLength===0)&&(C=new BigInt64Array(r.memory.buffer)),C}let T=null;function ut(){return(T===null||T.byteLength===0)&&(T=new BigUint64Array(r.memory.buffer)),T}function bt(n,t){return n=n>>>0,ut().subarray(n/8,n/8+t)}function wt(){const n=r.wasmMemory();return b(n)}function dt(){const n=r._functionTable();return b(n)}function d(n,t){try{return n.apply(this,t)}catch(e){r.__wbindgen_exn_store(i(e))}}function gt(n,t,e,_){r.wasm_bindgen__convert__closures__invoke2_mut__h02232cd008ae4dfe(n,t,i(e),i(_))}const ft=Object.freeze({UNCOMPRESSED:0,0:"UNCOMPRESSED",SNAPPY:1,1:"SNAPPY",GZIP:2,2:"GZIP",BROTLI:3,3:"BROTLI",LZ4:4,4:"LZ4",ZSTD:5,5:"ZSTD",LZ4_RAW:6,6:"LZ4_RAW"}),pt=Object.freeze({PLAIN:0,0:"PLAIN",PLAIN_DICTIONARY:1,1:"PLAIN_DICTIONARY",RLE:2,2:"RLE",BIT_PACKED:3,3:"BIT_PACKED",DELTA_BINARY_PACKED:4,4:"DELTA_BINARY_PACKED",DELTA_LENGTH_BYTE_ARRAY:5,5:"DELTA_LENGTH_BYTE_ARRAY",DELTA_BYTE_ARRAY:6,6:"DELTA_BYTE_ARRAY",RLE_DICTIONARY:7,7:"RLE_DICTIONARY",BYTE_STREAM_SPLIT:8,8:"BYTE_STREAM_SPLIT"}),lt=Object.freeze({V1:0,0:"V1",V2:1,1:"V2"});class v{static __wrap(t){t=t>>>0;const e=Object.create(v.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_arrowschema_free(t)}copy(){const t=r.arrowschema_copy(this.__wbg_ptr);return v.__wrap(t)}}class Y{static __wrap(t){t=t>>>0;const e=Object.create(Y.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_columnchunkmetadata_free(t)}filePath(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_filePath(_,this.__wbg_ptr);var t=s()[_/4+0],e=s()[_/4+1];let o;return t!==0&&(o=p(t,e).slice(),r.__wbindgen_free(t,e*1)),o}finally{r.__wbindgen_add_to_stack_pointer(16)}}fileOffset(){return r.columnchunkmetadata_fileOffset(this.__wbg_ptr)}pathInSchema(){let t,e;try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_pathInSchema(c,this.__wbg_ptr);var _=s()[c/4+0],o=s()[c/4+1];return t=_,e=o,p(_,o)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_free(t,e,1)}}statistics_exist(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_statistics_exist(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return t!==0}finally{r.__wbindgen_add_to_stack_pointer(16)}}getStatisticsMinValue(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_getStatisticsMinValue(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}getStatisticsMaxValue(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_getStatisticsMaxValue(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}getStatisticsNullCount(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_getStatisticsNullCount(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}numValues(){return r.columnchunkmetadata_numValues(this.__wbg_ptr)}compressedSize(){return r.columnchunkmetadata_compressedSize(this.__wbg_ptr)}uncompressedSize(){return r.columnchunkmetadata_uncompressedSize(this.__wbg_ptr)}dataPageOffset(){return r.columnchunkmetadata_dataPageOffset(this.__wbg_ptr)}hasIndexPage(){return r.columnchunkmetadata_hasIndexPage(this.__wbg_ptr)!==0}indexPageOffset(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_indexPageOffset(_,this.__wbg_ptr);var t=s()[_/4+0],e=Z()[_/8+1];return t===0?void 0:e}finally{r.__wbindgen_add_to_stack_pointer(16)}}dictionaryPageOffset(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_dictionaryPageOffset(_,this.__wbg_ptr);var t=s()[_/4+0],e=Z()[_/8+1];return t===0?void 0:e}finally{r.__wbindgen_add_to_stack_pointer(16)}}numColumnEncodings(){return r.columnchunkmetadata_numColumnEncodings(this.__wbg_ptr)>>>0}byteRange(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_byteRange(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=bt(t,e).slice();return r.__wbindgen_free(t,e*8),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class V{static __wrap(t){t=t>>>0;const e=Object.create(V.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_datatype_free(t)}}class L{static __wrap(t){t=t>>>0;const e=Object.create(L.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_ffirecordbatch_free(t)}arrayAddr(){return r.ffirecordbatch_arrayAddr(this.__wbg_ptr)}schemaAddr(){return r.ffirecordbatch_schemaAddr(this.__wbg_ptr)}}class F{static __wrap(t){t=t>>>0;const e=Object.create(F.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_ffitable_free(t)}numBatches(){return r.ffitable_numBatches(this.__wbg_ptr)>>>0}schemaAddr(){return r.ffitable_schemaAddr(this.__wbg_ptr)}arrayAddr(t){return r.ffitable_arrayAddr(this.__wbg_ptr,t)}drop(){const t=this.__destroy_into_raw();r.ffitable_drop(t)}}class ht{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_ffivector_free(t)}array_addr(){return r.ffivector_array_addr(this.__wbg_ptr)}field_addr(){return r.ffivector_field_addr(this.__wbg_ptr)}}class R{static __wrap(t){t=t>>>0;const e=Object.create(R.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_filemetadata_free(t)}copy(){const t=r.filemetadata_copy(this.__wbg_ptr);return R.__wrap(t)}version(){return r.filemetadata_version(this.__wbg_ptr)}numRows(){return r.filemetadata_numRows(this.__wbg_ptr)>>>0}createdBy(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.filemetadata_createdBy(_,this.__wbg_ptr);var t=s()[_/4+0],e=s()[_/4+1];let o;return t!==0&&(o=p(t,e).slice(),r.__wbindgen_free(t,e*1)),o}finally{r.__wbindgen_add_to_stack_pointer(16)}}numRowGroups(){return r.filemetadata_numRowGroups(this.__wbg_ptr)>>>0}rowGroup(t){const e=r.filemetadata_rowGroup(this.__wbg_ptr,t);return O.__wrap(e)}schema(){const t=r.filemetadata_schema(this.__wbg_ptr);return q.__wrap(t)}keyValueMetadata(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.filemetadata_keyValueMetadata(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}arrowSchema(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.filemetadata_arrowSchema(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return v.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class yt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingbytesource_free(t)}get type(){let t,e;try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.intounderlyingbytesource_type(c,this.__wbg_ptr);var _=s()[c/4+0],o=s()[c/4+1];return t=_,e=o,p(_,o)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_free(t,e,1)}}get autoAllocateChunkSize(){return r.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr)>>>0}start(t){r.intounderlyingbytesource_start(this.__wbg_ptr,i(t))}pull(t){const e=r.intounderlyingbytesource_pull(this.__wbg_ptr,i(t));return b(e)}cancel(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingbytesource_free(t)}}class mt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingsink_free(t)}write(t){const e=r.intounderlyingsink_write(this.__wbg_ptr,i(t));return b(e)}close(){const t=this.__destroy_into_raw(),e=r.intounderlyingsink_close(t);return b(e)}abort(t){const e=this.__destroy_into_raw(),_=r.intounderlyingsink_abort(e,i(t));return b(_)}}class W{static __wrap(t){t=t>>>0;const e=Object.create(W.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingsource_free(t)}pull(t){const e=r.intounderlyingsource_pull(this.__wbg_ptr,i(t));return b(e)}cancel(){const t=this.__destroy_into_raw();r.intounderlyingsource_cancel(t)}}class vt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_pipeoptions_free(t)}get preventClose(){return r.pipeoptions_preventClose(this.__wbg_ptr)!==0}get preventCancel(){return r.pipeoptions_preventCancel(this.__wbg_ptr)!==0}get preventAbort(){return r.pipeoptions_preventAbort(this.__wbg_ptr)!==0}get signal(){const t=r.pipeoptions_signal(this.__wbg_ptr);return b(t)}}class U{static __wrap(t){t=t>>>0;const e=Object.create(U.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_queuingstrategy_free(t)}get highWaterMark(){return r.queuingstrategy_highWaterMark(this.__wbg_ptr)}}class kt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_readablestreamgetreaderoptions_free(t)}get mode(){const t=r.readablestreamgetreaderoptions_mode(this.__wbg_ptr);return b(t)}}class I{static __wrap(t){t=t>>>0;const e=Object.create(I.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_recordbatch_free(t)}get numRows(){return r.recordbatch_numRows(this.__wbg_ptr)>>>0}get numColumns(){return r.recordbatch_numColumns(this.__wbg_ptr)>>>0}get schema(){const t=r.recordbatch_schema(this.__wbg_ptr);return B.__wrap(t)}column(t){const e=r.recordbatch_column(this.__wbg_ptr,t);return e===0?void 0:x.__wrap(e)}column_by_name(t){const e=y(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=f,o=r.recordbatch_column_by_name(this.__wbg_ptr,e,_);return o===0?void 0:x.__wrap(o)}toFFI(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.recordbatch_toFFI(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return L.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoFFI(){try{const o=this.__destroy_into_raw(),c=r.__wbindgen_add_to_stack_pointer(-16);r.recordbatch_intoFFI(c,o);var t=s()[c/4+0],e=s()[c/4+1],_=s()[c/4+2];if(_)throw b(e);return L.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoIPCStream(){try{const u=this.__destroy_into_raw(),w=r.__wbindgen_add_to_stack_pointer(-16);r.recordbatch_intoIPCStream(w,u);var t=s()[w/4+0],e=s()[w/4+1],_=s()[w/4+2],o=s()[w/4+3];if(o)throw b(_);var c=G(t,e).slice();return r.__wbindgen_free(t,e*1),c}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class O{static __wrap(t){t=t>>>0;const e=Object.create(O.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_rowgroupmetadata_free(t)}numRows(){return r.rowgroupmetadata_numRows(this.__wbg_ptr)>>>0}numColumns(){return r.rowgroupmetadata_numColumns(this.__wbg_ptr)>>>0}column(t){const e=r.rowgroupmetadata_column(this.__wbg_ptr,t);return Y.__wrap(e)}totalByteSize(){return r.rowgroupmetadata_totalByteSize(this.__wbg_ptr)>>>0}compressedSize(){return r.rowgroupmetadata_compressedSize(this.__wbg_ptr)>>>0}}class B{static __wrap(t){t=t>>>0;const e=Object.create(B.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_schema_free(t)}}class q{static __wrap(t){t=t>>>0;const e=Object.create(q.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_schemadescriptor_free(t)}name(){let t,e;try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.schemadescriptor_name(c,this.__wbg_ptr);var _=s()[c/4+0],o=s()[c/4+1];return t=_,e=o,p(_,o)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_free(t,e,1)}}numColumns(){return r.schemadescriptor_numColumns(this.__wbg_ptr)>>>0}numFields(){return r.schemadescriptor_numFields(this.__wbg_ptr)>>>0}}class m{static __wrap(t){t=t>>>0;const e=Object.create(m.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_table_free(t)}get schema(){const t=r.table_schema(this.__wbg_ptr);return B.__wrap(t)}recordBatch(t){const e=r.table_recordBatch(this.__wbg_ptr,t);return e===0?void 0:I.__wrap(e)}get numBatches(){return r.table_numBatches(this.__wbg_ptr)>>>0}toFFI(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.table_toFFI(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return F.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoFFI(){try{const o=this.__destroy_into_raw(),c=r.__wbindgen_add_to_stack_pointer(-16);r.table_intoFFI(c,o);var t=s()[c/4+0],e=s()[c/4+1],_=s()[c/4+2];if(_)throw b(e);return F.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoIPCStream(){try{const u=this.__destroy_into_raw(),w=r.__wbindgen_add_to_stack_pointer(-16);r.table_intoIPCStream(w,u);var t=s()[w/4+0],e=s()[w/4+1],_=s()[w/4+2],o=s()[w/4+3];if(o)throw b(_);var c=G(t,e).slice();return r.__wbindgen_free(t,e*1),c}finally{r.__wbindgen_add_to_stack_pointer(16)}}static fromIPCFile(t){try{const c=r.__wbindgen_add_to_stack_pointer(-16),u=M(t,r.__wbindgen_malloc),w=f;r.table_fromIPCFile(c,u,w);var e=s()[c/4+0],_=s()[c/4+1],o=s()[c/4+2];if(o)throw b(_);return m.__wrap(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}static fromIPCStream(t){try{const c=r.__wbindgen_add_to_stack_pointer(-16),u=M(t,r.__wbindgen_malloc),w=f;r.table_fromIPCStream(c,u,w);var e=s()[c/4+0],_=s()[c/4+1],o=s()[c/4+2];if(o)throw b(_);return m.__wrap(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class x{static __wrap(t){t=t>>>0;const e=Object.create(x.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_vector_free(t)}data_type(){const t=r.vector_data_type(this.__wbg_ptr);return V.__wrap(t)}}class N{static __wrap(t){t=t>>>0;const e=Object.create(N.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_writerproperties_free(t)}}class h{static __wrap(t){t=t>>>0;const e=Object.create(h.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_writerpropertiesbuilder_free(t)}constructor(){const t=r.writerpropertiesbuilder_new();return h.__wrap(t)}build(){const t=this.__destroy_into_raw(),e=r.writerpropertiesbuilder_build(t);return N.__wrap(e)}setWriterVersion(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setWriterVersion(e,t);return h.__wrap(_)}setEncoding(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setEncoding(e,t);return h.__wrap(_)}setCompression(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setCompression(e,t);return h.__wrap(_)}setStatisticsEnabled(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setStatisticsEnabled(e,t);return h.__wrap(_)}}async function At(n,t){if(typeof Response=="function"&&n instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(n,t)}catch(_){if(n.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",_);else throw _}const e=await n.arrayBuffer();return await WebAssembly.instantiate(e,t)}else{const e=await WebAssembly.instantiate(n,t);return e instanceof WebAssembly.Instance?{instance:e,module:n}:e}}function K(){const n={};return n.wbg={},n.wbg.__wbg_filemetadata_new=function(t){const e=R.__wrap(t);return i(e)},n.wbg.__wbindgen_error_new=function(t,e){const _=new Error(p(t,e));return i(_)},n.wbg.__wbindgen_object_drop_ref=function(t){b(t)},n.wbg.__wbindgen_string_new=function(t,e){const _=p(t,e);return i(_)},n.wbg.__wbindgen_bigint_from_i64=function(t){return i(t)},n.wbg.__wbindgen_number_new=function(t){return i(t)},n.wbg.__wbindgen_object_clone_ref=function(t){const e=a(t);return i(e)},n.wbg.__wbg_fetch_b5d6bebed1e6c2d2=function(t){const e=fetch(a(t));return i(e)},n.wbg.__wbg_newwithsource_620c192b0682807b=function(t,e){const _=new ReadableStream(W.__wrap(t),U.__wrap(e));return i(_)},n.wbg.__wbg_close_e9110ca16e2567db=function(t){a(t).close()},n.wbg.__wbg_enqueue_d71a1a518e21f5c3=function(t,e){a(t).enqueue(a(e))},n.wbg.__wbg_byobRequest_08c18cee35def1f4=function(t){const e=a(t).byobRequest;return A(e)?0:i(e)},n.wbg.__wbg_close_da7e6fb9d9851e5a=function(t){a(t).close()},n.wbg.__wbg_view_231340b0dd8a2484=function(t){const e=a(t).view;return A(e)?0:i(e)},n.wbg.__wbg_respond_8fadc5f5c9d95422=function(t,e){a(t).respond(e>>>0)},n.wbg.__wbg_buffer_4e79326814bdd393=function(t){const e=a(t).buffer;return i(e)},n.wbg.__wbg_byteOffset_b69b0a07afccce19=function(t){return a(t).byteOffset},n.wbg.__wbg_byteLength_5299848ed3264181=function(t){return a(t).byteLength},n.wbg.__wbindgen_string_get=function(t,e){const _=a(e),o=typeof _=="string"?_:void 0;var c=A(o)?0:y(o,r.__wbindgen_malloc,r.__wbindgen_realloc),u=f;s()[t/4+1]=u,s()[t/4+0]=c},n.wbg.__wbg_set_bd72c078edfa51ad=function(t,e,_){a(t)[b(e)]=b(_)},n.wbg.__wbg_String_4370c5505c674d30=function(t,e){const _=String(a(e)),o=y(_,r.__wbindgen_malloc,r.__wbindgen_realloc),c=f;s()[t/4+1]=c,s()[t/4+0]=o},n.wbg.__wbindgen_cb_drop=function(t){const e=b(t).original;return e.cnt--==1?(e.a=0,!0):!1},n.wbg.__wbg_recordbatch_new=function(t){const e=I.__wrap(t);return i(e)},n.wbg.__wbg_randomFillSync_dc1e9a60c158336d=function(){return d(function(t,e){a(t).randomFillSync(b(e))},arguments)},n.wbg.__wbg_getRandomValues_37fa2ca9e4e07fab=function(){return d(function(t,e){a(t).getRandomValues(a(e))},arguments)},n.wbg.__wbg_crypto_c48a774b022d20ac=function(t){const e=a(t).crypto;return i(e)},n.wbg.__wbindgen_is_object=function(t){const e=a(t);return typeof e=="object"&&e!==null},n.wbg.__wbg_process_298734cf255a885d=function(t){const e=a(t).process;return i(e)},n.wbg.__wbg_versions_e2e78e134e3e5d01=function(t){const e=a(t).versions;return i(e)},n.wbg.__wbg_node_1cd7a5d853dbea79=function(t){const e=a(t).node;return i(e)},n.wbg.__wbindgen_is_string=function(t){return typeof a(t)=="string"},n.wbg.__wbg_require_8f08ceecec0f4fee=function(){return d(function(){const t=module.require;return i(t)},arguments)},n.wbg.__wbg_msCrypto_bcb970640f50a1e8=function(t){const e=a(t).msCrypto;return i(e)},n.wbg.__wbg_signal_4bd18fb489af2d4c=function(t){const e=a(t).signal;return i(e)},n.wbg.__wbg_new_55c9955722952374=function(){return d(function(){const t=new AbortController;return i(t)},arguments)},n.wbg.__wbg_abort_654b796176d117aa=function(t){a(t).abort()},n.wbg.__wbg_new_1eead62f64ca15ce=function(){return d(function(){const t=new Headers;return i(t)},arguments)},n.wbg.__wbg_append_fda9e3432e3e88da=function(){return d(function(t,e,_,o,c){a(t).append(p(e,_),p(o,c))},arguments)},n.wbg.__wbg_fetch_8eaf01857a5bb21f=function(t,e){const _=a(t).fetch(a(e));return i(_)},n.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced=function(t){let e;try{e=a(t)instanceof Response}catch{e=!1}return e},n.wbg.__wbg_url_8503de97f69da463=function(t,e){const _=a(e).url,o=y(_,r.__wbindgen_malloc,r.__wbindgen_realloc),c=f;s()[t/4+1]=c,s()[t/4+0]=o},n.wbg.__wbg_status_ac85a3142a84caa2=function(t){return a(t).status},n.wbg.__wbg_headers_b70de86b8e989bc0=function(t){const e=a(t).headers;return i(e)},n.wbg.__wbg_arrayBuffer_288fb3538806e85c=function(){return d(function(t){const e=a(t).arrayBuffer();return i(e)},arguments)},n.wbg.__wbg_newwithstrandinit_cad5cd6038c7ff5d=function(){return d(function(t,e,_){const o=new Request(p(t,e),a(_));return i(o)},arguments)},n.wbg.__wbindgen_is_function=function(t){return typeof a(t)=="function"},n.wbg.__wbg_newnoargs_581967eacc0e2604=function(t,e){const _=new Function(p(t,e));return i(_)},n.wbg.__wbg_new_56693dbed0c32988=function(){return i(new Map)},n.wbg.__wbg_next_526fc47e980da008=function(t){const e=a(t).next;return i(e)},n.wbg.__wbg_next_ddb3312ca1c4e32a=function(){return d(function(t){const e=a(t).next();return i(e)},arguments)},n.wbg.__wbg_done_5c1f01fb660d73b5=function(t){return a(t).done},n.wbg.__wbg_value_1695675138684bd5=function(t){const e=a(t).value;return i(e)},n.wbg.__wbg_iterator_97f0c81209c6c35a=function(){return i(Symbol.iterator)},n.wbg.__wbg_get_97b561fb56f034b5=function(){return d(function(t,e){const _=Reflect.get(a(t),a(e));return i(_)},arguments)},n.wbg.__wbg_call_cb65541d95d71282=function(){return d(function(t,e){const _=a(t).call(a(e));return i(_)},arguments)},n.wbg.__wbg_new_b51585de1b234aff=function(){const t=new Object;return i(t)},n.wbg.__wbg_self_1ff1d729e9aae938=function(){return d(function(){const t=self.self;return i(t)},arguments)},n.wbg.__wbg_window_5f4faef6c12b79ec=function(){return d(function(){const t=window.window;return i(t)},arguments)},n.wbg.__wbg_globalThis_1d39714405582d3c=function(){return d(function(){const t=globalThis.globalThis;return i(t)},arguments)},n.wbg.__wbg_global_651f05c6a0944d1c=function(){return d(function(){const t=global.global;return i(t)},arguments)},n.wbg.__wbindgen_is_undefined=function(t){return a(t)===void 0},n.wbg.__wbg_new_d258248ed531ff54=function(t,e){const _=new Error(p(t,e));return i(_)},n.wbg.__wbg_call_01734de55d61e11d=function(){return d(function(t,e,_){const o=a(t).call(a(e),a(_));return i(o)},arguments)},n.wbg.__wbg_set_bedc3d02d0f05eb0=function(t,e,_){const o=a(t).set(a(e),a(_));return i(o)},n.wbg.__wbg_new_43f1b47c28813cbd=function(t,e){try{var _={a:t,b:e},o=(u,w)=>{const g=_.a;_.a=0;try{return gt(g,_.b,u,w)}finally{_.a=g}};const c=new Promise(o);return i(c)}finally{_.a=_.b=0}},n.wbg.__wbg_resolve_53698b95aaf7fcf8=function(t){const e=Promise.resolve(a(t));return i(e)},n.wbg.__wbg_then_f7e06ee3c11698eb=function(t,e){const _=a(t).then(a(e));return i(_)},n.wbg.__wbg_then_b2267541e2a73865=function(t,e,_){const o=a(t).then(a(e),a(_));return i(o)},n.wbg.__wbg_buffer_085ec1f694018c4f=function(t){const e=a(t).buffer;return i(e)},n.wbg.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa=function(t,e,_){const o=new Uint8Array(a(t),e>>>0,_>>>0);return i(o)},n.wbg.__wbg_new_8125e318e6245eed=function(t){const e=new Uint8Array(a(t));return i(e)},n.wbg.__wbg_set_5cf90238115182c3=function(t,e,_){a(t).set(a(e),_>>>0)},n.wbg.__wbg_length_72e2208bbc0efc61=function(t){return a(t).length},n.wbg.__wbg_newwithlength_e5d69174d6984cd7=function(t){const e=new Uint8Array(t>>>0);return i(e)},n.wbg.__wbg_subarray_13db269f57aa838d=function(t,e,_){const o=a(t).subarray(e>>>0,_>>>0);return i(o)},n.wbg.__wbg_stringify_e25465938f3f611f=function(){return d(function(t){const e=JSON.stringify(a(t));return i(e)},arguments)},n.wbg.__wbg_has_c5fcd020291e56b8=function(){return d(function(t,e){return Reflect.has(a(t),a(e))},arguments)},n.wbg.__wbg_set_092e06b0f9d71865=function(){return d(function(t,e,_){return Reflect.set(a(t),a(e),a(_))},arguments)},n.wbg.__wbindgen_debug_string=function(t,e){const _=z(a(e)),o=y(_,r.__wbindgen_malloc,r.__wbindgen_realloc),c=f;s()[t/4+1]=c,s()[t/4+0]=o},n.wbg.__wbindgen_throw=function(t,e){throw new Error(p(t,e))},n.wbg.__wbindgen_memory=function(){const t=r.memory;return i(t)},n.wbg.__wbindgen_function_table=function(){const t=r.__wbindgen_export_2;return i(t)},n.wbg.__wbindgen_closure_wrapper1527=function(t,e,_){const o=et(t,e,304,rt);return i(o)},n}function J(n,t){return r=n.exports,Q.__wbindgen_wasm_module=t,C=null,T=null,E=null,j=null,r}function St(n){if(r!==void 0)return r;const t=K();n instanceof WebAssembly.Module||(n=new WebAssembly.Module(n));const e=new WebAssembly.Instance(n,t);return J(e,n)}async function Q(n){if(r!==void 0)return r;typeof n>"u"&&(n=new URL("/assets/arrow2_bg-4Y7xYo54.wasm",import.meta.url));const t=K();(typeof n=="string"||typeof Request=="function"&&n instanceof Request||typeof URL=="function"&&n instanceof URL)&&(n=fetch(n));const{instance:e,module:_}=await At(await n,t);return J(e,_)}const It=Object.freeze(Object.defineProperty({__proto__:null,ArrowSchema:v,ColumnChunkMetaData:Y,Compression:ft,DataType:V,Encoding:pt,FFIRecordBatch:L,FFITable:F,FFIVector:ht,FileMetaData:R,IntoUnderlyingByteSource:yt,IntoUnderlyingSink:mt,IntoUnderlyingSource:W,PipeOptions:vt,QueuingStrategy:U,ReadableStreamGetReaderOptions:kt,RecordBatch:I,RowGroupMetaData:O,Schema:B,SchemaDescriptor:q,Table:m,Vector:x,WriterProperties:N,WriterPropertiesBuilder:h,WriterVersion:lt,_functionTable:dt,default:Q,initSync:St,readMetadata:_t,readMetadataAsync:st,readParquet:nt,readParquetStream:it,readRowGroup:ot,readRowGroupAsync:at,wasmMemory:wt,writeParquet:ct},Symbol.toStringTag,{value:"Module"})),Rt="/assets/arrow2_bg-4Y7xYo54.wasm",Ot=Object.freeze(Object.defineProperty({__proto__:null,default:Rt},Symbol.toStringTag,{value:"Module"}));export{It as a,Ot as b};