create-swdg-frontend 0.1.6 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (469) hide show
  1. package/README.md +31 -13
  2. package/bin/index.js +3 -244
  3. package/lib/argv.js +43 -0
  4. package/lib/cli.js +141 -0
  5. package/lib/constants.js +24 -0
  6. package/lib/gis.js +92 -0
  7. package/lib/manifest.js +23 -0
  8. package/lib/prompts.js +55 -0
  9. package/lib/scaffold.js +118 -0
  10. package/package.json +6 -2
  11. package/scripts/sync-template.js +120 -0
  12. package/scripts/validate-template.mjs +74 -0
  13. package/stubs/tsconfig.node.json +11 -0
  14. package/stubs/types-env.d.ts +9 -0
  15. package/stubs/vite.config.ts +64 -0
  16. package/template/.env.example +6 -0
  17. package/template/.github/workflows/ci.yml +23 -0
  18. package/template/.github/workflows/release.yml +69 -0
  19. package/template/.husky/commit-msg +42 -42
  20. package/template/.husky/pre-commit +2 -2
  21. package/template/.husky/prepare-commit-msg +0 -0
  22. package/template/.lintstagedrc +5 -5
  23. package/template/.prettierignore +26 -26
  24. package/template/.prettierrc.cjs +10 -10
  25. package/template/.stylelintignore +1 -1
  26. package/template/.stylelintrc.json +12 -6
  27. package/template/README.md +99 -36
  28. package/template/auto-imports.d.ts +10 -0
  29. package/template/commitlint.config.cjs +64 -64
  30. package/template/docs/MAINTAINER.md +77 -0
  31. package/template/docs/ONBOARDING.md +284 -0
  32. package/template/docs/TESTING.md +104 -0
  33. package/template/eslint.config.js +97 -96
  34. package/template/index.html +17 -17
  35. package/template/interface/user.ts +5 -5
  36. package/template/package.json +88 -86
  37. package/template/pnpm-lock.yaml +6360 -0
  38. package/template/postcss.config.js +5 -0
  39. package/template/scripts/gen-api.cjs +280 -230
  40. package/template/scripts/release.mjs +53 -59
  41. package/template/scripts/set-release-version.mjs +46 -0
  42. package/template/scripts/test-pipeline.mjs +85 -0
  43. package/template/scripts/test-scaffold.mjs +197 -0
  44. package/template/scripts/test-template.mjs +52 -0
  45. package/template/scripts/verify.mjs +28 -0
  46. package/template/scripts/vite-plugin-cesium-dev.ts +56 -0
  47. package/template/src/App.vue +6 -6
  48. package/template/src/api/README.md +7 -3
  49. package/template/src/assets/favicon.svg +49 -49
  50. package/template/src/components/Body/index.vue +80 -16
  51. package/template/src/components/CesiumViewer/index.vue +36 -0
  52. package/template/src/components/Header/index.vue +19 -8
  53. package/template/src/components/OnboardingDeck/index.vue +449 -0
  54. package/template/src/data/onboardingSlides.ts +208 -0
  55. package/template/src/directive/focus.ts +9 -9
  56. package/template/src/layout/BasicLayout.vue +28 -28
  57. package/template/src/main.ts +25 -33
  58. package/template/src/router/index.ts +30 -24
  59. package/template/src/router/routeUtils.ts +13 -0
  60. package/template/src/stores/README.md +3 -3
  61. package/template/src/stores/useCounter.ts +12 -12
  62. package/template/src/styles/alerts.less +85 -85
  63. package/template/src/styles/global.css +326 -326
  64. package/template/src/styles/shell.css +232 -0
  65. package/template/src/utils/alert.ts +58 -58
  66. package/template/src/utils/axios-middleware.js +180 -0
  67. package/template/src/utils/cesium/index.ts +71 -0
  68. package/template/src/utils/components.ts +21 -21
  69. package/template/src/utils/composables/useAlert.ts +14 -14
  70. package/template/src/utils/composables/useFeatureGis.ts +24 -0
  71. package/template/src/utils/http.ts +5 -0
  72. package/template/src/views/examples/cesium/index.vue +85 -0
  73. package/template/src/views/examples/guide/index.vue +42 -0
  74. package/template/src/views/examples/test/index.vue +63 -0
  75. package/template/src/views/index.vue +8 -9
  76. package/template/src/vite-env.d.ts +1 -1
  77. package/template/tests/README.md +7 -6
  78. package/template/tests/e2e/README.md +3 -3
  79. package/template/tests/setup.ts +1 -1
  80. package/template/tests/unit/onboardingSlides.test.ts +20 -0
  81. package/template/tests/unit/router.utils.test.ts +21 -0
  82. package/template/tests/unit/scaffold.lib.test.ts +44 -0
  83. package/template/tests/unit/useFeatureGis.test.ts +14 -0
  84. package/template/tests/utils/helpers.ts +1 -1
  85. package/template/tsconfig.json +51 -51
  86. package/template/tsconfig.node.json +11 -11
  87. package/template/types/README.md +3 -3
  88. package/template/types/env.d.ts +13 -0
  89. package/template/types/global.d.ts +9 -9
  90. package/template/vite.config.ts +89 -75
  91. package/template/vitest.config.ts +22 -9
  92. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_0.json +0 -1012
  93. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_1.json +0 -1012
  94. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_10.json +0 -1012
  95. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_11.json +0 -1012
  96. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_12.json +0 -1012
  97. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_13.json +0 -1012
  98. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_14.json +0 -1012
  99. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_15.json +0 -1012
  100. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_16.json +0 -1012
  101. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_17.json +0 -1012
  102. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_18.json +0 -1012
  103. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_19.json +0 -1012
  104. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_2.json +0 -1012
  105. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_20.json +0 -1012
  106. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_21.json +0 -1012
  107. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_22.json +0 -1012
  108. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_23.json +0 -1012
  109. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_24.json +0 -1012
  110. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_25.json +0 -1012
  111. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_26.json +0 -1012
  112. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_27.json +0 -438
  113. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_3.json +0 -1012
  114. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_4.json +0 -1012
  115. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_5.json +0 -1012
  116. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_6.json +0 -1012
  117. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_7.json +0 -1012
  118. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_8.json +0 -1012
  119. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_9.json +0 -1012
  120. package/template/public/Cesium1.119/Assets/Images/bing_maps_credit.png +0 -0
  121. package/template/public/Cesium1.119/Assets/Images/cesium_credit.png +0 -0
  122. package/template/public/Cesium1.119/Assets/Images/google_earth_credit.png +0 -0
  123. package/template/public/Cesium1.119/Assets/Images/ion-credit.png +0 -0
  124. package/template/public/Cesium1.119/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
  125. package/template/public/Cesium1.119/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
  126. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  127. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  128. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  129. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  130. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  131. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  132. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  133. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  134. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  135. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  136. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  137. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  138. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  139. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  140. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  141. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  142. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  143. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  144. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  145. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  146. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  147. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  148. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  149. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  150. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  151. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  152. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  153. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  154. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  155. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  156. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  157. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  158. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  159. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  160. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  161. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  162. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  163. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  164. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  165. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  166. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  167. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  168. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/tilemapresource.xml +0 -14
  169. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  170. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  171. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  172. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  173. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  174. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  175. package/template/public/Cesium1.119/Assets/Textures/maki/airfield.png +0 -0
  176. package/template/public/Cesium1.119/Assets/Textures/maki/airport.png +0 -0
  177. package/template/public/Cesium1.119/Assets/Textures/maki/alcohol-shop.png +0 -0
  178. package/template/public/Cesium1.119/Assets/Textures/maki/america-football.png +0 -0
  179. package/template/public/Cesium1.119/Assets/Textures/maki/art-gallery.png +0 -0
  180. package/template/public/Cesium1.119/Assets/Textures/maki/bakery.png +0 -0
  181. package/template/public/Cesium1.119/Assets/Textures/maki/bank.png +0 -0
  182. package/template/public/Cesium1.119/Assets/Textures/maki/bar.png +0 -0
  183. package/template/public/Cesium1.119/Assets/Textures/maki/baseball.png +0 -0
  184. package/template/public/Cesium1.119/Assets/Textures/maki/basketball.png +0 -0
  185. package/template/public/Cesium1.119/Assets/Textures/maki/beer.png +0 -0
  186. package/template/public/Cesium1.119/Assets/Textures/maki/bicycle.png +0 -0
  187. package/template/public/Cesium1.119/Assets/Textures/maki/building.png +0 -0
  188. package/template/public/Cesium1.119/Assets/Textures/maki/bus.png +0 -0
  189. package/template/public/Cesium1.119/Assets/Textures/maki/cafe.png +0 -0
  190. package/template/public/Cesium1.119/Assets/Textures/maki/camera.png +0 -0
  191. package/template/public/Cesium1.119/Assets/Textures/maki/campsite.png +0 -0
  192. package/template/public/Cesium1.119/Assets/Textures/maki/car.png +0 -0
  193. package/template/public/Cesium1.119/Assets/Textures/maki/cemetery.png +0 -0
  194. package/template/public/Cesium1.119/Assets/Textures/maki/cesium.png +0 -0
  195. package/template/public/Cesium1.119/Assets/Textures/maki/chemist.png +0 -0
  196. package/template/public/Cesium1.119/Assets/Textures/maki/cinema.png +0 -0
  197. package/template/public/Cesium1.119/Assets/Textures/maki/circle-stroked.png +0 -0
  198. package/template/public/Cesium1.119/Assets/Textures/maki/circle.png +0 -0
  199. package/template/public/Cesium1.119/Assets/Textures/maki/city.png +0 -0
  200. package/template/public/Cesium1.119/Assets/Textures/maki/clothing-store.png +0 -0
  201. package/template/public/Cesium1.119/Assets/Textures/maki/college.png +0 -0
  202. package/template/public/Cesium1.119/Assets/Textures/maki/commercial.png +0 -0
  203. package/template/public/Cesium1.119/Assets/Textures/maki/cricket.png +0 -0
  204. package/template/public/Cesium1.119/Assets/Textures/maki/cross.png +0 -0
  205. package/template/public/Cesium1.119/Assets/Textures/maki/dam.png +0 -0
  206. package/template/public/Cesium1.119/Assets/Textures/maki/danger.png +0 -0
  207. package/template/public/Cesium1.119/Assets/Textures/maki/disability.png +0 -0
  208. package/template/public/Cesium1.119/Assets/Textures/maki/dog-park.png +0 -0
  209. package/template/public/Cesium1.119/Assets/Textures/maki/embassy.png +0 -0
  210. package/template/public/Cesium1.119/Assets/Textures/maki/emergency-telephone.png +0 -0
  211. package/template/public/Cesium1.119/Assets/Textures/maki/entrance.png +0 -0
  212. package/template/public/Cesium1.119/Assets/Textures/maki/farm.png +0 -0
  213. package/template/public/Cesium1.119/Assets/Textures/maki/fast-food.png +0 -0
  214. package/template/public/Cesium1.119/Assets/Textures/maki/ferry.png +0 -0
  215. package/template/public/Cesium1.119/Assets/Textures/maki/fire-station.png +0 -0
  216. package/template/public/Cesium1.119/Assets/Textures/maki/fuel.png +0 -0
  217. package/template/public/Cesium1.119/Assets/Textures/maki/garden.png +0 -0
  218. package/template/public/Cesium1.119/Assets/Textures/maki/gift.png +0 -0
  219. package/template/public/Cesium1.119/Assets/Textures/maki/golf.png +0 -0
  220. package/template/public/Cesium1.119/Assets/Textures/maki/grocery.png +0 -0
  221. package/template/public/Cesium1.119/Assets/Textures/maki/hairdresser.png +0 -0
  222. package/template/public/Cesium1.119/Assets/Textures/maki/harbor.png +0 -0
  223. package/template/public/Cesium1.119/Assets/Textures/maki/heart.png +0 -0
  224. package/template/public/Cesium1.119/Assets/Textures/maki/heliport.png +0 -0
  225. package/template/public/Cesium1.119/Assets/Textures/maki/hospital.png +0 -0
  226. package/template/public/Cesium1.119/Assets/Textures/maki/ice-cream.png +0 -0
  227. package/template/public/Cesium1.119/Assets/Textures/maki/industrial.png +0 -0
  228. package/template/public/Cesium1.119/Assets/Textures/maki/land-use.png +0 -0
  229. package/template/public/Cesium1.119/Assets/Textures/maki/laundry.png +0 -0
  230. package/template/public/Cesium1.119/Assets/Textures/maki/library.png +0 -0
  231. package/template/public/Cesium1.119/Assets/Textures/maki/lighthouse.png +0 -0
  232. package/template/public/Cesium1.119/Assets/Textures/maki/lodging.png +0 -0
  233. package/template/public/Cesium1.119/Assets/Textures/maki/logging.png +0 -0
  234. package/template/public/Cesium1.119/Assets/Textures/maki/london-underground.png +0 -0
  235. package/template/public/Cesium1.119/Assets/Textures/maki/marker-stroked.png +0 -0
  236. package/template/public/Cesium1.119/Assets/Textures/maki/marker.png +0 -0
  237. package/template/public/Cesium1.119/Assets/Textures/maki/minefield.png +0 -0
  238. package/template/public/Cesium1.119/Assets/Textures/maki/mobilephone.png +0 -0
  239. package/template/public/Cesium1.119/Assets/Textures/maki/monument.png +0 -0
  240. package/template/public/Cesium1.119/Assets/Textures/maki/museum.png +0 -0
  241. package/template/public/Cesium1.119/Assets/Textures/maki/music.png +0 -0
  242. package/template/public/Cesium1.119/Assets/Textures/maki/oil-well.png +0 -0
  243. package/template/public/Cesium1.119/Assets/Textures/maki/park.png +0 -0
  244. package/template/public/Cesium1.119/Assets/Textures/maki/park2.png +0 -0
  245. package/template/public/Cesium1.119/Assets/Textures/maki/parking-garage.png +0 -0
  246. package/template/public/Cesium1.119/Assets/Textures/maki/parking.png +0 -0
  247. package/template/public/Cesium1.119/Assets/Textures/maki/pharmacy.png +0 -0
  248. package/template/public/Cesium1.119/Assets/Textures/maki/pitch.png +0 -0
  249. package/template/public/Cesium1.119/Assets/Textures/maki/place-of-worship.png +0 -0
  250. package/template/public/Cesium1.119/Assets/Textures/maki/playground.png +0 -0
  251. package/template/public/Cesium1.119/Assets/Textures/maki/police.png +0 -0
  252. package/template/public/Cesium1.119/Assets/Textures/maki/polling-place.png +0 -0
  253. package/template/public/Cesium1.119/Assets/Textures/maki/post.png +0 -0
  254. package/template/public/Cesium1.119/Assets/Textures/maki/prison.png +0 -0
  255. package/template/public/Cesium1.119/Assets/Textures/maki/rail-above.png +0 -0
  256. package/template/public/Cesium1.119/Assets/Textures/maki/rail-light.png +0 -0
  257. package/template/public/Cesium1.119/Assets/Textures/maki/rail-metro.png +0 -0
  258. package/template/public/Cesium1.119/Assets/Textures/maki/rail-underground.png +0 -0
  259. package/template/public/Cesium1.119/Assets/Textures/maki/rail.png +0 -0
  260. package/template/public/Cesium1.119/Assets/Textures/maki/religious-christian.png +0 -0
  261. package/template/public/Cesium1.119/Assets/Textures/maki/religious-jewish.png +0 -0
  262. package/template/public/Cesium1.119/Assets/Textures/maki/religious-muslim.png +0 -0
  263. package/template/public/Cesium1.119/Assets/Textures/maki/restaurant.png +0 -0
  264. package/template/public/Cesium1.119/Assets/Textures/maki/roadblock.png +0 -0
  265. package/template/public/Cesium1.119/Assets/Textures/maki/rocket.png +0 -0
  266. package/template/public/Cesium1.119/Assets/Textures/maki/school.png +0 -0
  267. package/template/public/Cesium1.119/Assets/Textures/maki/scooter.png +0 -0
  268. package/template/public/Cesium1.119/Assets/Textures/maki/shop.png +0 -0
  269. package/template/public/Cesium1.119/Assets/Textures/maki/skiing.png +0 -0
  270. package/template/public/Cesium1.119/Assets/Textures/maki/slaughterhouse.png +0 -0
  271. package/template/public/Cesium1.119/Assets/Textures/maki/soccer.png +0 -0
  272. package/template/public/Cesium1.119/Assets/Textures/maki/square-stroked.png +0 -0
  273. package/template/public/Cesium1.119/Assets/Textures/maki/square.png +0 -0
  274. package/template/public/Cesium1.119/Assets/Textures/maki/star-stroked.png +0 -0
  275. package/template/public/Cesium1.119/Assets/Textures/maki/star.png +0 -0
  276. package/template/public/Cesium1.119/Assets/Textures/maki/suitcase.png +0 -0
  277. package/template/public/Cesium1.119/Assets/Textures/maki/swimming.png +0 -0
  278. package/template/public/Cesium1.119/Assets/Textures/maki/telephone.png +0 -0
  279. package/template/public/Cesium1.119/Assets/Textures/maki/tennis.png +0 -0
  280. package/template/public/Cesium1.119/Assets/Textures/maki/theatre.png +0 -0
  281. package/template/public/Cesium1.119/Assets/Textures/maki/toilets.png +0 -0
  282. package/template/public/Cesium1.119/Assets/Textures/maki/town-hall.png +0 -0
  283. package/template/public/Cesium1.119/Assets/Textures/maki/town.png +0 -0
  284. package/template/public/Cesium1.119/Assets/Textures/maki/triangle-stroked.png +0 -0
  285. package/template/public/Cesium1.119/Assets/Textures/maki/triangle.png +0 -0
  286. package/template/public/Cesium1.119/Assets/Textures/maki/village.png +0 -0
  287. package/template/public/Cesium1.119/Assets/Textures/maki/warehouse.png +0 -0
  288. package/template/public/Cesium1.119/Assets/Textures/maki/waste-basket.png +0 -0
  289. package/template/public/Cesium1.119/Assets/Textures/maki/water.png +0 -0
  290. package/template/public/Cesium1.119/Assets/Textures/maki/wetland.png +0 -0
  291. package/template/public/Cesium1.119/Assets/Textures/maki/zoo.png +0 -0
  292. package/template/public/Cesium1.119/Assets/Textures/moonSmall.jpg +0 -0
  293. package/template/public/Cesium1.119/Assets/Textures/pin.svg +0 -1
  294. package/template/public/Cesium1.119/Assets/Textures/waterNormals.jpg +0 -0
  295. package/template/public/Cesium1.119/Assets/Textures/waterNormalsSmall.jpg +0 -0
  296. package/template/public/Cesium1.119/Assets/approximateTerrainHeights.json +0 -10924
  297. package/template/public/Cesium1.119/Cesium.js +0 -185772
  298. package/template/public/Cesium1.119/ThirdParty/Workers/package.json +0 -3
  299. package/template/public/Cesium1.119/ThirdParty/Workers/pako_deflate.min.js +0 -1681
  300. package/template/public/Cesium1.119/ThirdParty/Workers/pako_inflate.min.js +0 -1489
  301. package/template/public/Cesium1.119/ThirdParty/Workers/z-worker-pako.js +0 -1070
  302. package/template/public/Cesium1.119/ThirdParty/basis_transcoder.wasm +0 -0
  303. package/template/public/Cesium1.119/ThirdParty/draco_decoder.wasm +0 -0
  304. package/template/public/Cesium1.119/ThirdParty/google-earth-dbroot-parser.js +0 -11424
  305. package/template/public/Cesium1.119/Widgets/Animation/Animation.css +0 -127
  306. package/template/public/Cesium1.119/Widgets/Animation/lighter.css +0 -78
  307. package/template/public/Cesium1.119/Widgets/BaseLayerPicker/BaseLayerPicker.css +0 -112
  308. package/template/public/Cesium1.119/Widgets/BaseLayerPicker/lighter.css +0 -28
  309. package/template/public/Cesium1.119/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +0 -104
  310. package/template/public/Cesium1.119/Widgets/CesiumInspector/CesiumInspector.css +0 -115
  311. package/template/public/Cesium1.119/Widgets/CesiumWidget/CesiumWidget.css +0 -119
  312. package/template/public/Cesium1.119/Widgets/CesiumWidget/lighter.css +0 -14
  313. package/template/public/Cesium1.119/Widgets/FullscreenButton/FullscreenButton.css +0 -8
  314. package/template/public/Cesium1.119/Widgets/Geocoder/Geocoder.css +0 -72
  315. package/template/public/Cesium1.119/Widgets/Geocoder/lighter.css +0 -17
  316. package/template/public/Cesium1.119/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +0 -27
  317. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  318. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  319. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  320. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
  321. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
  322. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
  323. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
  324. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
  325. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  326. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
  327. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
  328. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
  329. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
  330. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
  331. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
  332. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  333. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  334. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
  335. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
  336. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Mouse.svg +0 -84
  337. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseLeft.svg +0 -76
  338. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseMiddle.svg +0 -76
  339. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseRight.svg +0 -76
  340. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Touch.svg +0 -120
  341. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchDrag.svg +0 -129
  342. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchRotate.svg +0 -76
  343. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchTilt.svg +0 -135
  344. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchZoom.svg +0 -74
  345. package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  346. package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
  347. package/template/public/Cesium1.119/Widgets/Images/TimelineIcons.png +0 -0
  348. package/template/public/Cesium1.119/Widgets/Images/info-loading.gif +0 -0
  349. package/template/public/Cesium1.119/Widgets/InfoBox/InfoBox.css +0 -94
  350. package/template/public/Cesium1.119/Widgets/InfoBox/InfoBoxDescription.css +0 -178
  351. package/template/public/Cesium1.119/Widgets/NavigationHelpButton/NavigationHelpButton.css +0 -95
  352. package/template/public/Cesium1.119/Widgets/NavigationHelpButton/lighter.css +0 -38
  353. package/template/public/Cesium1.119/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +0 -15
  354. package/template/public/Cesium1.119/Widgets/ProjectionPicker/ProjectionPicker.css +0 -46
  355. package/template/public/Cesium1.119/Widgets/SceneModePicker/SceneModePicker.css +0 -72
  356. package/template/public/Cesium1.119/Widgets/SelectionIndicator/SelectionIndicator.css +0 -22
  357. package/template/public/Cesium1.119/Widgets/Timeline/Timeline.css +0 -103
  358. package/template/public/Cesium1.119/Widgets/Timeline/lighter.css +0 -18
  359. package/template/public/Cesium1.119/Widgets/VRButton/VRButton.css +0 -8
  360. package/template/public/Cesium1.119/Widgets/Viewer/Viewer.css +0 -107
  361. package/template/public/Cesium1.119/Widgets/VoxelInspector/VoxelInspector.css +0 -18
  362. package/template/public/Cesium1.119/Widgets/lighter.css +0 -246
  363. package/template/public/Cesium1.119/Widgets/lighterShared.css +0 -46
  364. package/template/public/Cesium1.119/Widgets/shared.css +0 -103
  365. package/template/public/Cesium1.119/Widgets/widgets.css +0 -1376
  366. package/template/public/Cesium1.119/Workers/chunk-3C7WC463.js +0 -611
  367. package/template/public/Cesium1.119/Workers/chunk-3JW36LZF.js +0 -166
  368. package/template/public/Cesium1.119/Workers/chunk-4BTGX3WJ.js +0 -264
  369. package/template/public/Cesium1.119/Workers/chunk-4WRMLZA7.js +0 -128
  370. package/template/public/Cesium1.119/Workers/chunk-7Z5IIKOJ.js +0 -8046
  371. package/template/public/Cesium1.119/Workers/chunk-ABGXSJNX.js +0 -341
  372. package/template/public/Cesium1.119/Workers/chunk-AMQUWUD4.js +0 -269
  373. package/template/public/Cesium1.119/Workers/chunk-ATPDRNKI.js +0 -28
  374. package/template/public/Cesium1.119/Workers/chunk-BMHPVZ4H.js +0 -199
  375. package/template/public/Cesium1.119/Workers/chunk-CBEO3SHS.js +0 -1102
  376. package/template/public/Cesium1.119/Workers/chunk-CV7DLCWG.js +0 -485
  377. package/template/public/Cesium1.119/Workers/chunk-DQO6B4EQ.js +0 -76
  378. package/template/public/Cesium1.119/Workers/chunk-ED3TLP6D.js +0 -91
  379. package/template/public/Cesium1.119/Workers/chunk-EFZKO5RU.js +0 -42
  380. package/template/public/Cesium1.119/Workers/chunk-F5IHREXR.js +0 -2678
  381. package/template/public/Cesium1.119/Workers/chunk-FKRG4HDY.js +0 -516
  382. package/template/public/Cesium1.119/Workers/chunk-FYOYUPXG.js +0 -399
  383. package/template/public/Cesium1.119/Workers/chunk-GFN7NNSJ.js +0 -65
  384. package/template/public/Cesium1.119/Workers/chunk-HEEMUCG6.js +0 -92
  385. package/template/public/Cesium1.119/Workers/chunk-HSWA4OEL.js +0 -672
  386. package/template/public/Cesium1.119/Workers/chunk-IAC5XVZV.js +0 -287
  387. package/template/public/Cesium1.119/Workers/chunk-II4VNKYR.js +0 -50
  388. package/template/public/Cesium1.119/Workers/chunk-ILGBPNP6.js +0 -28
  389. package/template/public/Cesium1.119/Workers/chunk-IRH46BDL.js +0 -124
  390. package/template/public/Cesium1.119/Workers/chunk-IUA6FAOZ.js +0 -31
  391. package/template/public/Cesium1.119/Workers/chunk-K4ASOM65.js +0 -331
  392. package/template/public/Cesium1.119/Workers/chunk-KCIZBVXL.js +0 -258
  393. package/template/public/Cesium1.119/Workers/chunk-KF5NF354.js +0 -162
  394. package/template/public/Cesium1.119/Workers/chunk-KRKI6AAO.js +0 -773
  395. package/template/public/Cesium1.119/Workers/chunk-KZNJOCYU.js +0 -162
  396. package/template/public/Cesium1.119/Workers/chunk-O5IJ3OGP.js +0 -857
  397. package/template/public/Cesium1.119/Workers/chunk-OO23RBLX.js +0 -183
  398. package/template/public/Cesium1.119/Workers/chunk-P37AI2DW.js +0 -85
  399. package/template/public/Cesium1.119/Workers/chunk-PDMQLSBL.js +0 -108
  400. package/template/public/Cesium1.119/Workers/chunk-PEYJTJPE.js +0 -73
  401. package/template/public/Cesium1.119/Workers/chunk-POASMU2N.js +0 -2372
  402. package/template/public/Cesium1.119/Workers/chunk-PXCJYT2S.js +0 -73
  403. package/template/public/Cesium1.119/Workers/chunk-Q6L7X3LP.js +0 -538
  404. package/template/public/Cesium1.119/Workers/chunk-QB3MDM4J.js +0 -1670
  405. package/template/public/Cesium1.119/Workers/chunk-R6KGAEF6.js +0 -392
  406. package/template/public/Cesium1.119/Workers/chunk-RXTBM4OI.js +0 -57
  407. package/template/public/Cesium1.119/Workers/chunk-SB224QGV.js +0 -72
  408. package/template/public/Cesium1.119/Workers/chunk-T6BE4RZK.js +0 -37
  409. package/template/public/Cesium1.119/Workers/chunk-TAMCUKAR.js +0 -814
  410. package/template/public/Cesium1.119/Workers/chunk-TMSETF7M.js +0 -579
  411. package/template/public/Cesium1.119/Workers/chunk-TOGHF3VN.js +0 -376
  412. package/template/public/Cesium1.119/Workers/chunk-UH2WFNTA.js +0 -111
  413. package/template/public/Cesium1.119/Workers/chunk-V7JEDBOE.js +0 -573
  414. package/template/public/Cesium1.119/Workers/chunk-VBIROZR5.js +0 -633
  415. package/template/public/Cesium1.119/Workers/chunk-W23CU777.js +0 -271
  416. package/template/public/Cesium1.119/Workers/chunk-X5IHHI6X.js +0 -173
  417. package/template/public/Cesium1.119/Workers/chunk-XHX2UPDO.js +0 -217
  418. package/template/public/Cesium1.119/Workers/combineGeometry.js +0 -53
  419. package/template/public/Cesium1.119/Workers/createBoxGeometry.js +0 -45
  420. package/template/public/Cesium1.119/Workers/createBoxOutlineGeometry.js +0 -189
  421. package/template/public/Cesium1.119/Workers/createCircleGeometry.js +0 -148
  422. package/template/public/Cesium1.119/Workers/createCircleOutlineGeometry.js +0 -105
  423. package/template/public/Cesium1.119/Workers/createCoplanarPolygonGeometry.js +0 -293
  424. package/template/public/Cesium1.119/Workers/createCoplanarPolygonOutlineGeometry.js +0 -143
  425. package/template/public/Cesium1.119/Workers/createCorridorGeometry.js +0 -830
  426. package/template/public/Cesium1.119/Workers/createCorridorOutlineGeometry.js +0 -417
  427. package/template/public/Cesium1.119/Workers/createCylinderGeometry.js +0 -47
  428. package/template/public/Cesium1.119/Workers/createCylinderOutlineGeometry.js +0 -170
  429. package/template/public/Cesium1.119/Workers/createEllipseGeometry.js +0 -58
  430. package/template/public/Cesium1.119/Workers/createEllipseOutlineGeometry.js +0 -51
  431. package/template/public/Cesium1.119/Workers/createEllipsoidGeometry.js +0 -46
  432. package/template/public/Cesium1.119/Workers/createEllipsoidOutlineGeometry.js +0 -45
  433. package/template/public/Cesium1.119/Workers/createFrustumGeometry.js +0 -45
  434. package/template/public/Cesium1.119/Workers/createFrustumOutlineGeometry.js +0 -164
  435. package/template/public/Cesium1.119/Workers/createGeometry.js +0 -159
  436. package/template/public/Cesium1.119/Workers/createGroundPolylineGeometry.js +0 -911
  437. package/template/public/Cesium1.119/Workers/createPlaneGeometry.js +0 -185
  438. package/template/public/Cesium1.119/Workers/createPlaneOutlineGeometry.js +0 -93
  439. package/template/public/Cesium1.119/Workers/createPolygonGeometry.js +0 -884
  440. package/template/public/Cesium1.119/Workers/createPolygonOutlineGeometry.js +0 -359
  441. package/template/public/Cesium1.119/Workers/createPolylineGeometry.js +0 -349
  442. package/template/public/Cesium1.119/Workers/createPolylineVolumeGeometry.js +0 -262
  443. package/template/public/Cesium1.119/Workers/createPolylineVolumeOutlineGeometry.js +0 -177
  444. package/template/public/Cesium1.119/Workers/createRectangleGeometry.js +0 -787
  445. package/template/public/Cesium1.119/Workers/createRectangleOutlineGeometry.js +0 -299
  446. package/template/public/Cesium1.119/Workers/createSimplePolylineGeometry.js +0 -294
  447. package/template/public/Cesium1.119/Workers/createSphereGeometry.js +0 -84
  448. package/template/public/Cesium1.119/Workers/createSphereOutlineGeometry.js +0 -83
  449. package/template/public/Cesium1.119/Workers/createTaskProcessorWorker.js +0 -28
  450. package/template/public/Cesium1.119/Workers/createVectorTileClampedPolylines.js +0 -289
  451. package/template/public/Cesium1.119/Workers/createVectorTileGeometries.js +0 -258
  452. package/template/public/Cesium1.119/Workers/createVectorTilePoints.js +0 -79
  453. package/template/public/Cesium1.119/Workers/createVectorTilePolygons.js +0 -275
  454. package/template/public/Cesium1.119/Workers/createVectorTilePolylines.js +0 -176
  455. package/template/public/Cesium1.119/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +0 -375
  456. package/template/public/Cesium1.119/Workers/createVerticesFromHeightmap.js +0 -1772
  457. package/template/public/Cesium1.119/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -425
  458. package/template/public/Cesium1.119/Workers/createWallGeometry.js +0 -320
  459. package/template/public/Cesium1.119/Workers/createWallOutlineGeometry.js +0 -229
  460. package/template/public/Cesium1.119/Workers/decodeDraco.js +0 -227
  461. package/template/public/Cesium1.119/Workers/decodeGoogleEarthEnterprisePacket.js +0 -1836
  462. package/template/public/Cesium1.119/Workers/decodeI3S.js +0 -924
  463. package/template/public/Cesium1.119/Workers/transcodeKTX2.js +0 -3180
  464. package/template/public/Cesium1.119/Workers/transferTypedArrayTest.js +0 -34
  465. package/template/public/Cesium1.119/Workers/upsampleQuantizedTerrainMesh.js +0 -534
  466. package/template/public/Cesium1.119/index.cjs +0 -185632
  467. package/template/public/Cesium1.119/index.js +0 -182874
  468. package/template/src/views/Test/index.vue +0 -23
  469. package/template/tests/unit/example.test.ts +0 -7
@@ -1,2678 +0,0 @@
1
- /**
2
- * @license
3
- * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.119
5
- *
6
- * Copyright 2011-2022 Cesium Contributors
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- *
20
- * Columbus View (Pat. Pend.)
21
- *
22
- * Portions licensed separately.
23
- * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
- */
25
-
26
- import { a as fn, c as Tn } from "./chunk-PEYJTJPE.js";
27
- var Dn = Tn((nt, bt) => {
28
- var _ = _ || {};
29
- _.scope = {};
30
- _.arrayIteratorImpl = function (p) {
31
- var c = 0;
32
- return function () {
33
- return c < p.length ? { done: !1, value: p[c++] } : { done: !0 };
34
- };
35
- };
36
- _.arrayIterator = function (p) {
37
- return { next: _.arrayIteratorImpl(p) };
38
- };
39
- _.makeIterator = function (p) {
40
- var c = typeof Symbol < "u" && Symbol.iterator && p[Symbol.iterator];
41
- return c ? c.call(p) : _.arrayIterator(p);
42
- };
43
- _.ASSUME_ES5 = !1;
44
- _.ASSUME_NO_NATIVE_MAP = !1;
45
- _.ASSUME_NO_NATIVE_SET = !1;
46
- _.SIMPLE_FROUND_POLYFILL = !1;
47
- _.ISOLATE_POLYFILLS = !1;
48
- _.FORCE_POLYFILL_PROMISE = !1;
49
- _.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION = !1;
50
- _.getGlobal = function (p) {
51
- p = [
52
- typeof globalThis == "object" && globalThis,
53
- p,
54
- typeof window == "object" && window,
55
- typeof self == "object" && self,
56
- typeof global == "object" && global,
57
- ];
58
- for (var c = 0; c < p.length; ++c) {
59
- var s = p[c];
60
- if (s && s.Math == Math) return s;
61
- }
62
- throw Error("Cannot find global object");
63
- };
64
- _.global = _.getGlobal(nt);
65
- _.defineProperty =
66
- _.ASSUME_ES5 || typeof Object.defineProperties == "function"
67
- ? Object.defineProperty
68
- : function (p, c, s) {
69
- return (
70
- p == Array.prototype || p == Object.prototype || (p[c] = s.value),
71
- p
72
- );
73
- };
74
- _.IS_SYMBOL_NATIVE =
75
- typeof Symbol == "function" && typeof Symbol("x") == "symbol";
76
- _.TRUST_ES6_POLYFILLS = !_.ISOLATE_POLYFILLS || _.IS_SYMBOL_NATIVE;
77
- _.polyfills = {};
78
- _.propertyToPolyfillSymbol = {};
79
- _.POLYFILL_PREFIX = "$jscp$";
80
- _.polyfill = function (p, c, s, y) {
81
- c &&
82
- (_.ISOLATE_POLYFILLS
83
- ? _.polyfillIsolated(p, c, s, y)
84
- : _.polyfillUnisolated(p, c, s, y));
85
- };
86
- _.polyfillUnisolated = function (p, c, s, y) {
87
- for (s = _.global, p = p.split("."), y = 0; y < p.length - 1; y++) {
88
- var a = p[y];
89
- if (!(a in s)) return;
90
- s = s[a];
91
- }
92
- ((p = p[p.length - 1]),
93
- (y = s[p]),
94
- (c = c(y)),
95
- c != y &&
96
- c != null &&
97
- _.defineProperty(s, p, { configurable: !0, writable: !0, value: c }));
98
- };
99
- _.polyfillIsolated = function (p, c, s, y) {
100
- var a = p.split(".");
101
- ((p = a.length === 1),
102
- (y = a[0]),
103
- (y = !p && y in _.polyfills ? _.polyfills : _.global));
104
- for (var g = 0; g < a.length - 1; g++) {
105
- var i = a[g];
106
- if (!(i in y)) return;
107
- y = y[i];
108
- }
109
- ((a = a[a.length - 1]),
110
- (s = _.IS_SYMBOL_NATIVE && s === "es6" ? y[a] : null),
111
- (c = c(s)),
112
- c != null &&
113
- (p
114
- ? _.defineProperty(_.polyfills, a, {
115
- configurable: !0,
116
- writable: !0,
117
- value: c,
118
- })
119
- : c !== s &&
120
- (_.propertyToPolyfillSymbol[a] === void 0 &&
121
- ((s = (1e9 * Math.random()) >>> 0),
122
- (_.propertyToPolyfillSymbol[a] = _.IS_SYMBOL_NATIVE
123
- ? _.global.Symbol(a)
124
- : _.POLYFILL_PREFIX + s + "$" + a)),
125
- _.defineProperty(y, _.propertyToPolyfillSymbol[a], {
126
- configurable: !0,
127
- writable: !0,
128
- value: c,
129
- }))));
130
- };
131
- _.polyfill(
132
- "Promise",
133
- function (p) {
134
- function c() {
135
- this.batch_ = null;
136
- }
137
- function s(i) {
138
- return i instanceof a
139
- ? i
140
- : new a(function (l, h) {
141
- l(i);
142
- });
143
- }
144
- if (
145
- p &&
146
- (!(
147
- _.FORCE_POLYFILL_PROMISE ||
148
- (_.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION &&
149
- typeof _.global.PromiseRejectionEvent > "u")
150
- ) ||
151
- !_.global.Promise ||
152
- _.global.Promise.toString().indexOf("[native code]") === -1)
153
- )
154
- return p;
155
- c.prototype.asyncExecute = function (i) {
156
- if (this.batch_ == null) {
157
- this.batch_ = [];
158
- var l = this;
159
- this.asyncExecuteFunction(function () {
160
- l.executeBatch_();
161
- });
162
- }
163
- this.batch_.push(i);
164
- };
165
- var y = _.global.setTimeout;
166
- ((c.prototype.asyncExecuteFunction = function (i) {
167
- y(i, 0);
168
- }),
169
- (c.prototype.executeBatch_ = function () {
170
- for (; this.batch_ && this.batch_.length; ) {
171
- var i = this.batch_;
172
- this.batch_ = [];
173
- for (var l = 0; l < i.length; ++l) {
174
- var h = i[l];
175
- i[l] = null;
176
- try {
177
- h();
178
- } catch (I) {
179
- this.asyncThrow_(I);
180
- }
181
- }
182
- }
183
- this.batch_ = null;
184
- }),
185
- (c.prototype.asyncThrow_ = function (i) {
186
- this.asyncExecuteFunction(function () {
187
- throw i;
188
- });
189
- }));
190
- var a = function (i) {
191
- ((this.state_ = 0),
192
- (this.result_ = void 0),
193
- (this.onSettledCallbacks_ = []),
194
- (this.isRejectionHandled_ = !1));
195
- var l = this.createResolveAndReject_();
196
- try {
197
- i(l.resolve, l.reject);
198
- } catch (h) {
199
- l.reject(h);
200
- }
201
- };
202
- ((a.prototype.createResolveAndReject_ = function () {
203
- function i(I) {
204
- return function (C) {
205
- h || ((h = !0), I.call(l, C));
206
- };
207
- }
208
- var l = this,
209
- h = !1;
210
- return { resolve: i(this.resolveTo_), reject: i(this.reject_) };
211
- }),
212
- (a.prototype.resolveTo_ = function (i) {
213
- if (i === this)
214
- this.reject_(new TypeError("A Promise cannot resolve to itself"));
215
- else if (i instanceof a) this.settleSameAsPromise_(i);
216
- else {
217
- t: switch (typeof i) {
218
- case "object":
219
- var l = i != null;
220
- break t;
221
- case "function":
222
- l = !0;
223
- break t;
224
- default:
225
- l = !1;
226
- }
227
- l ? this.resolveToNonPromiseObj_(i) : this.fulfill_(i);
228
- }
229
- }),
230
- (a.prototype.resolveToNonPromiseObj_ = function (i) {
231
- var l = void 0;
232
- try {
233
- l = i.then;
234
- } catch (h) {
235
- this.reject_(h);
236
- return;
237
- }
238
- typeof l == "function"
239
- ? this.settleSameAsThenable_(l, i)
240
- : this.fulfill_(i);
241
- }),
242
- (a.prototype.reject_ = function (i) {
243
- this.settle_(2, i);
244
- }),
245
- (a.prototype.fulfill_ = function (i) {
246
- this.settle_(1, i);
247
- }),
248
- (a.prototype.settle_ = function (i, l) {
249
- if (this.state_ != 0)
250
- throw Error(
251
- "Cannot settle(" +
252
- i +
253
- ", " +
254
- l +
255
- "): Promise already settled in state" +
256
- this.state_,
257
- );
258
- ((this.state_ = i),
259
- (this.result_ = l),
260
- this.state_ === 2 && this.scheduleUnhandledRejectionCheck_(),
261
- this.executeOnSettledCallbacks_());
262
- }),
263
- (a.prototype.scheduleUnhandledRejectionCheck_ = function () {
264
- var i = this;
265
- y(function () {
266
- if (i.notifyUnhandledRejection_()) {
267
- var l = _.global.console;
268
- typeof l < "u" && l.error(i.result_);
269
- }
270
- }, 1);
271
- }),
272
- (a.prototype.notifyUnhandledRejection_ = function () {
273
- if (this.isRejectionHandled_) return !1;
274
- var i = _.global.CustomEvent,
275
- l = _.global.Event,
276
- h = _.global.dispatchEvent;
277
- return typeof h > "u"
278
- ? !0
279
- : (typeof i == "function"
280
- ? (i = new i("unhandledrejection", { cancelable: !0 }))
281
- : typeof l == "function"
282
- ? (i = new l("unhandledrejection", { cancelable: !0 }))
283
- : ((i = _.global.document.createEvent("CustomEvent")),
284
- i.initCustomEvent("unhandledrejection", !1, !0, i)),
285
- (i.promise = this),
286
- (i.reason = this.result_),
287
- h(i));
288
- }),
289
- (a.prototype.executeOnSettledCallbacks_ = function () {
290
- if (this.onSettledCallbacks_ != null) {
291
- for (var i = 0; i < this.onSettledCallbacks_.length; ++i)
292
- g.asyncExecute(this.onSettledCallbacks_[i]);
293
- this.onSettledCallbacks_ = null;
294
- }
295
- }));
296
- var g = new c();
297
- return (
298
- (a.prototype.settleSameAsPromise_ = function (i) {
299
- var l = this.createResolveAndReject_();
300
- i.callWhenSettled_(l.resolve, l.reject);
301
- }),
302
- (a.prototype.settleSameAsThenable_ = function (i, l) {
303
- var h = this.createResolveAndReject_();
304
- try {
305
- i.call(l, h.resolve, h.reject);
306
- } catch (I) {
307
- h.reject(I);
308
- }
309
- }),
310
- (a.prototype.then = function (i, l) {
311
- function h(f, T) {
312
- return typeof f == "function"
313
- ? function (G) {
314
- try {
315
- I(f(G));
316
- } catch (V) {
317
- C(V);
318
- }
319
- }
320
- : T;
321
- }
322
- var I,
323
- C,
324
- K = new a(function (f, T) {
325
- ((I = f), (C = T));
326
- });
327
- return (this.callWhenSettled_(h(i, I), h(l, C)), K);
328
- }),
329
- (a.prototype.catch = function (i) {
330
- return this.then(void 0, i);
331
- }),
332
- (a.prototype.callWhenSettled_ = function (i, l) {
333
- function h() {
334
- switch (I.state_) {
335
- case 1:
336
- i(I.result_);
337
- break;
338
- case 2:
339
- l(I.result_);
340
- break;
341
- default:
342
- throw Error("Unexpected state: " + I.state_);
343
- }
344
- }
345
- var I = this;
346
- (this.onSettledCallbacks_ == null
347
- ? g.asyncExecute(h)
348
- : this.onSettledCallbacks_.push(h),
349
- (this.isRejectionHandled_ = !0));
350
- }),
351
- (a.resolve = s),
352
- (a.reject = function (i) {
353
- return new a(function (l, h) {
354
- h(i);
355
- });
356
- }),
357
- (a.race = function (i) {
358
- return new a(function (l, h) {
359
- for (var I = _.makeIterator(i), C = I.next(); !C.done; C = I.next())
360
- s(C.value).callWhenSettled_(l, h);
361
- });
362
- }),
363
- (a.all = function (i) {
364
- var l = _.makeIterator(i),
365
- h = l.next();
366
- return h.done
367
- ? s([])
368
- : new a(function (I, C) {
369
- function K(G) {
370
- return function (V) {
371
- ((f[G] = V), T--, T == 0 && I(f));
372
- };
373
- }
374
- var f = [],
375
- T = 0;
376
- do
377
- (f.push(void 0),
378
- T++,
379
- s(h.value).callWhenSettled_(K(f.length - 1), C),
380
- (h = l.next()));
381
- while (!h.done);
382
- });
383
- }),
384
- a
385
- );
386
- },
387
- "es6",
388
- "es3",
389
- );
390
- _.owns = function (p, c) {
391
- return Object.prototype.hasOwnProperty.call(p, c);
392
- };
393
- _.assign =
394
- _.TRUST_ES6_POLYFILLS && typeof Object.assign == "function"
395
- ? Object.assign
396
- : function (p, c) {
397
- for (var s = 1; s < arguments.length; s++) {
398
- var y = arguments[s];
399
- if (y) for (var a in y) _.owns(y, a) && (p[a] = y[a]);
400
- }
401
- return p;
402
- };
403
- _.polyfill(
404
- "Object.assign",
405
- function (p) {
406
- return p || _.assign;
407
- },
408
- "es6",
409
- "es3",
410
- );
411
- _.checkStringArgs = function (p, c, s) {
412
- if (p == null)
413
- throw new TypeError(
414
- "The 'this' value for String.prototype." +
415
- s +
416
- " must not be null or undefined",
417
- );
418
- if (c instanceof RegExp)
419
- throw new TypeError(
420
- "First argument to String.prototype." +
421
- s +
422
- " must not be a regular expression",
423
- );
424
- return p + "";
425
- };
426
- _.polyfill(
427
- "String.prototype.startsWith",
428
- function (p) {
429
- return (
430
- p ||
431
- function (c, s) {
432
- var y = _.checkStringArgs(this, c, "startsWith");
433
- c += "";
434
- var a = y.length,
435
- g = c.length;
436
- s = Math.max(0, Math.min(s | 0, y.length));
437
- for (var i = 0; i < g && s < a; ) if (y[s++] != c[i++]) return !1;
438
- return i >= g;
439
- }
440
- );
441
- },
442
- "es6",
443
- "es3",
444
- );
445
- _.polyfill(
446
- "Array.prototype.copyWithin",
447
- function (p) {
448
- function c(s) {
449
- return ((s = Number(s)), s === 1 / 0 || s === -1 / 0 ? s : s | 0);
450
- }
451
- return (
452
- p ||
453
- function (s, y, a) {
454
- var g = this.length;
455
- if (
456
- ((s = c(s)),
457
- (y = c(y)),
458
- (a = a === void 0 ? g : c(a)),
459
- (s = 0 > s ? Math.max(g + s, 0) : Math.min(s, g)),
460
- (y = 0 > y ? Math.max(g + y, 0) : Math.min(y, g)),
461
- (a = 0 > a ? Math.max(g + a, 0) : Math.min(a, g)),
462
- s < y)
463
- )
464
- for (; y < a; )
465
- y in this ? (this[s++] = this[y++]) : (delete this[s++], y++);
466
- else
467
- for (a = Math.min(a, g + y - s), s += a - y; a > y; )
468
- --a in this ? (this[--s] = this[a]) : delete this[--s];
469
- return this;
470
- }
471
- );
472
- },
473
- "es6",
474
- "es3",
475
- );
476
- _.typedArrayCopyWithin = function (p) {
477
- return p || Array.prototype.copyWithin;
478
- };
479
- _.polyfill(
480
- "Int8Array.prototype.copyWithin",
481
- _.typedArrayCopyWithin,
482
- "es6",
483
- "es5",
484
- );
485
- _.polyfill(
486
- "Uint8Array.prototype.copyWithin",
487
- _.typedArrayCopyWithin,
488
- "es6",
489
- "es5",
490
- );
491
- _.polyfill(
492
- "Uint8ClampedArray.prototype.copyWithin",
493
- _.typedArrayCopyWithin,
494
- "es6",
495
- "es5",
496
- );
497
- _.polyfill(
498
- "Int16Array.prototype.copyWithin",
499
- _.typedArrayCopyWithin,
500
- "es6",
501
- "es5",
502
- );
503
- _.polyfill(
504
- "Uint16Array.prototype.copyWithin",
505
- _.typedArrayCopyWithin,
506
- "es6",
507
- "es5",
508
- );
509
- _.polyfill(
510
- "Int32Array.prototype.copyWithin",
511
- _.typedArrayCopyWithin,
512
- "es6",
513
- "es5",
514
- );
515
- _.polyfill(
516
- "Uint32Array.prototype.copyWithin",
517
- _.typedArrayCopyWithin,
518
- "es6",
519
- "es5",
520
- );
521
- _.polyfill(
522
- "Float32Array.prototype.copyWithin",
523
- _.typedArrayCopyWithin,
524
- "es6",
525
- "es5",
526
- );
527
- _.polyfill(
528
- "Float64Array.prototype.copyWithin",
529
- _.typedArrayCopyWithin,
530
- "es6",
531
- "es5",
532
- );
533
- var dt = (function () {
534
- var p =
535
- typeof document < "u" && document.currentScript
536
- ? document.currentScript.src
537
- : void 0;
538
- return (
539
- typeof __filename < "u" && (p = p || __filename),
540
- function (c) {
541
- function s(e) {
542
- return t.locateFile ? t.locateFile(e, Q) : Q + e;
543
- }
544
- function y(e, r, n) {
545
- var o = r + n;
546
- for (n = r; e[n] && !(n >= o); ) ++n;
547
- if (16 < n - r && e.buffer && Ot) return Ot.decode(e.subarray(r, n));
548
- for (o = ""; r < n; ) {
549
- var m = e[r++];
550
- if (m & 128) {
551
- var b = e[r++] & 63;
552
- if ((m & 224) == 192)
553
- o += String.fromCharCode(((m & 31) << 6) | b);
554
- else {
555
- var X = e[r++] & 63;
556
- ((m =
557
- (m & 240) == 224
558
- ? ((m & 15) << 12) | (b << 6) | X
559
- : ((m & 7) << 18) | (b << 12) | (X << 6) | (e[r++] & 63)),
560
- 65536 > m
561
- ? (o += String.fromCharCode(m))
562
- : ((m -= 65536),
563
- (o += String.fromCharCode(
564
- 55296 | (m >> 10),
565
- 56320 | (m & 1023),
566
- ))));
567
- }
568
- } else o += String.fromCharCode(m);
569
- }
570
- return o;
571
- }
572
- function a(e, r) {
573
- return e ? y(tt, e, r) : "";
574
- }
575
- function g() {
576
- var e = _t.buffer;
577
- ((t.HEAP8 = q = new Int8Array(e)),
578
- (t.HEAP16 = new Int16Array(e)),
579
- (t.HEAP32 = et = new Int32Array(e)),
580
- (t.HEAPU8 = tt = new Uint8Array(e)),
581
- (t.HEAPU16 = new Uint16Array(e)),
582
- (t.HEAPU32 = x = new Uint32Array(e)),
583
- (t.HEAPF32 = new Float32Array(e)),
584
- (t.HEAPF64 = new Float64Array(e)));
585
- }
586
- function i(e) {
587
- throw (
588
- t.onAbort && t.onAbort(e),
589
- (e = "Aborted(" + e + ")"),
590
- J(e),
591
- (Gt = !0),
592
- (e = new WebAssembly.RuntimeError(
593
- e + ". Build with -sASSERTIONS for more info.",
594
- )),
595
- ot(e),
596
- e
597
- );
598
- }
599
- function l(e) {
600
- try {
601
- if (e == z && Z) return new Uint8Array(Z);
602
- if (ut) return ut(e);
603
- throw "both async and sync fetching of the wasm failed";
604
- } catch (r) {
605
- i(r);
606
- }
607
- }
608
- function h() {
609
- if (!Z && (It || $)) {
610
- if (typeof fetch == "function" && !z.startsWith("file://"))
611
- return fetch(z, { credentials: "same-origin" })
612
- .then(function (e) {
613
- if (!e.ok)
614
- throw "failed to load wasm binary file at '" + z + "'";
615
- return e.arrayBuffer();
616
- })
617
- .catch(function () {
618
- return l(z);
619
- });
620
- if (st)
621
- return new Promise(function (e, r) {
622
- st(
623
- z,
624
- function (n) {
625
- e(new Uint8Array(n));
626
- },
627
- r,
628
- );
629
- });
630
- }
631
- return Promise.resolve().then(function () {
632
- return l(z);
633
- });
634
- }
635
- function I(e) {
636
- for (; 0 < e.length; ) e.shift()(t);
637
- }
638
- function C(e) {
639
- ((this.excPtr = e),
640
- (this.ptr = e - 24),
641
- (this.set_type = function (r) {
642
- x[(this.ptr + 4) >> 2] = r;
643
- }),
644
- (this.get_type = function () {
645
- return x[(this.ptr + 4) >> 2];
646
- }),
647
- (this.set_destructor = function (r) {
648
- x[(this.ptr + 8) >> 2] = r;
649
- }),
650
- (this.get_destructor = function () {
651
- return x[(this.ptr + 8) >> 2];
652
- }),
653
- (this.set_refcount = function (r) {
654
- et[this.ptr >> 2] = r;
655
- }),
656
- (this.set_caught = function (r) {
657
- q[(this.ptr + 12) >> 0] = r ? 1 : 0;
658
- }),
659
- (this.get_caught = function () {
660
- return q[(this.ptr + 12) >> 0] != 0;
661
- }),
662
- (this.set_rethrown = function (r) {
663
- q[(this.ptr + 13) >> 0] = r ? 1 : 0;
664
- }),
665
- (this.get_rethrown = function () {
666
- return q[(this.ptr + 13) >> 0] != 0;
667
- }),
668
- (this.init = function (r, n) {
669
- (this.set_adjusted_ptr(0),
670
- this.set_type(r),
671
- this.set_destructor(n),
672
- this.set_refcount(0),
673
- this.set_caught(!1),
674
- this.set_rethrown(!1));
675
- }),
676
- (this.add_ref = function () {
677
- et[this.ptr >> 2] += 1;
678
- }),
679
- (this.release_ref = function () {
680
- var r = et[this.ptr >> 2];
681
- return ((et[this.ptr >> 2] = r - 1), r === 1);
682
- }),
683
- (this.set_adjusted_ptr = function (r) {
684
- x[(this.ptr + 16) >> 2] = r;
685
- }),
686
- (this.get_adjusted_ptr = function () {
687
- return x[(this.ptr + 16) >> 2];
688
- }),
689
- (this.get_exception_ptr = function () {
690
- if (ln(this.get_type())) return x[this.excPtr >> 2];
691
- var r = this.get_adjusted_ptr();
692
- return r !== 0 ? r : this.excPtr;
693
- }));
694
- }
695
- function K() {
696
- function e() {
697
- if (!it && ((it = !0), (t.calledRun = !0), !Gt)) {
698
- if (
699
- ((Rt = !0),
700
- I(ct),
701
- ht(t),
702
- t.onRuntimeInitialized && t.onRuntimeInitialized(),
703
- t.postRun)
704
- )
705
- for (
706
- typeof t.postRun == "function" && (t.postRun = [t.postRun]);
707
- t.postRun.length;
708
- )
709
- Pt.unshift(t.postRun.shift());
710
- I(Pt);
711
- }
712
- }
713
- if (!(0 < k)) {
714
- if (t.preRun)
715
- for (
716
- typeof t.preRun == "function" && (t.preRun = [t.preRun]);
717
- t.preRun.length;
718
- )
719
- jt.unshift(t.preRun.shift());
720
- (I(jt),
721
- 0 < k ||
722
- (t.setStatus
723
- ? (t.setStatus("Running..."),
724
- setTimeout(function () {
725
- (setTimeout(function () {
726
- t.setStatus("");
727
- }, 1),
728
- e());
729
- }, 1))
730
- : e()));
731
- }
732
- }
733
- function f() {}
734
- function T(e) {
735
- return (e || f).__cache__;
736
- }
737
- function G(e, r) {
738
- var n = T(r),
739
- o = n[e];
740
- return (
741
- o ||
742
- ((o = Object.create((r || f).prototype)), (o.ptr = e), (n[e] = o))
743
- );
744
- }
745
- function V(e) {
746
- if (typeof e == "string") {
747
- for (var r = 0, n = 0; n < e.length; ++n) {
748
- var o = e.charCodeAt(n);
749
- 127 >= o
750
- ? r++
751
- : 2047 >= o
752
- ? (r += 2)
753
- : 55296 <= o && 57343 >= o
754
- ? ((r += 4), ++n)
755
- : (r += 3);
756
- }
757
- if (((r = Array(r + 1)), (n = 0), (o = r.length), 0 < o)) {
758
- o = n + o - 1;
759
- for (var m = 0; m < e.length; ++m) {
760
- var b = e.charCodeAt(m);
761
- if (55296 <= b && 57343 >= b) {
762
- var X = e.charCodeAt(++m);
763
- b = (65536 + ((b & 1023) << 10)) | (X & 1023);
764
- }
765
- if (127 >= b) {
766
- if (n >= o) break;
767
- r[n++] = b;
768
- } else {
769
- if (2047 >= b) {
770
- if (n + 1 >= o) break;
771
- r[n++] = 192 | (b >> 6);
772
- } else {
773
- if (65535 >= b) {
774
- if (n + 2 >= o) break;
775
- r[n++] = 224 | (b >> 12);
776
- } else {
777
- if (n + 3 >= o) break;
778
- ((r[n++] = 240 | (b >> 18)),
779
- (r[n++] = 128 | ((b >> 12) & 63)));
780
- }
781
- r[n++] = 128 | ((b >> 6) & 63);
782
- }
783
- r[n++] = 128 | (b & 63);
784
- }
785
- }
786
- r[n] = 0;
787
- }
788
- return ((e = d.alloc(r, q)), d.copy(r, q, e), e);
789
- }
790
- return e;
791
- }
792
- function at(e) {
793
- if (typeof e == "object") {
794
- var r = d.alloc(e, q);
795
- return (d.copy(e, q, r), r);
796
- }
797
- return e;
798
- }
799
- function H() {
800
- throw "cannot construct a VoidPtr, no constructor in IDL";
801
- }
802
- function B() {
803
- ((this.ptr = Mt()), (T(B)[this.ptr] = this));
804
- }
805
- function w() {
806
- ((this.ptr = Ft()), (T(w)[this.ptr] = this));
807
- }
808
- function Y() {
809
- ((this.ptr = wt()), (T(Y)[this.ptr] = this));
810
- }
811
- function A() {
812
- ((this.ptr = Vt()), (T(A)[this.ptr] = this));
813
- }
814
- function E() {
815
- ((this.ptr = Jt()), (T(E)[this.ptr] = this));
816
- }
817
- function j() {
818
- ((this.ptr = ne()), (T(j)[this.ptr] = this));
819
- }
820
- function P() {
821
- ((this.ptr = ae()), (T(P)[this.ptr] = this));
822
- }
823
- function O() {
824
- ((this.ptr = ce()), (T(O)[this.ptr] = this));
825
- }
826
- function W() {
827
- ((this.ptr = de()), (T(W)[this.ptr] = this));
828
- }
829
- function v() {
830
- throw "cannot construct a Status, no constructor in IDL";
831
- }
832
- function R() {
833
- ((this.ptr = Ie()), (T(R)[this.ptr] = this));
834
- }
835
- function S() {
836
- ((this.ptr = Ge()), (T(S)[this.ptr] = this));
837
- }
838
- function M() {
839
- ((this.ptr = Re()), (T(M)[this.ptr] = this));
840
- }
841
- function N() {
842
- ((this.ptr = Ue()), (T(N)[this.ptr] = this));
843
- }
844
- function U() {
845
- ((this.ptr = we()), (T(U)[this.ptr] = this));
846
- }
847
- function F() {
848
- ((this.ptr = We()), (T(F)[this.ptr] = this));
849
- }
850
- function L() {
851
- ((this.ptr = He()), (T(L)[this.ptr] = this));
852
- }
853
- function D() {
854
- ((this.ptr = Ke()), (T(D)[this.ptr] = this));
855
- }
856
- function u() {
857
- ((this.ptr = _r()), (T(u)[this.ptr] = this));
858
- }
859
- c = c === void 0 ? {} : c;
860
- var t = typeof c < "u" ? c : {},
861
- ht,
862
- ot;
863
- t.ready = new Promise(function (e, r) {
864
- ((ht = e), (ot = r));
865
- });
866
- var At = !1,
867
- Tt = !1;
868
- ((t.onRuntimeInitialized = function () {
869
- ((At = !0),
870
- Tt && typeof t.onModuleLoaded == "function" && t.onModuleLoaded(t));
871
- }),
872
- (t.onModuleParsed = function () {
873
- ((Tt = !0),
874
- At &&
875
- typeof t.onModuleLoaded == "function" &&
876
- t.onModuleLoaded(t));
877
- }),
878
- (t.isVersionSupported = function (e) {
879
- return typeof e != "string"
880
- ? !1
881
- : ((e = e.split(".")),
882
- 2 > e.length || 3 < e.length
883
- ? !1
884
- : e[0] == 1 && 0 <= e[1] && 5 >= e[1]
885
- ? !0
886
- : !(e[0] != 0 || 10 < e[1]));
887
- }));
888
- var Dt = Object.assign({}, t),
889
- It = typeof window == "object",
890
- $ = typeof importScripts == "function",
891
- gt =
892
- typeof process == "object" &&
893
- typeof process.versions == "object" &&
894
- typeof process.versions.node == "string",
895
- Q = "";
896
- if (gt) {
897
- var vt = fn("fs"),
898
- pt = fn("path");
899
- Q = $ ? pt.dirname(Q) + "/" : __dirname + "/";
900
- var Et = function (e, r) {
901
- return (
902
- (e = e.startsWith("file://") ? new URL(e) : pt.normalize(e)),
903
- vt.readFileSync(e, r ? void 0 : "utf8")
904
- );
905
- },
906
- ut = function (e) {
907
- return ((e = Et(e, !0)), e.buffer || (e = new Uint8Array(e)), e);
908
- },
909
- st = function (e, r, n) {
910
- ((e = e.startsWith("file://") ? new URL(e) : pt.normalize(e)),
911
- vt.readFile(e, function (o, m) {
912
- o ? n(o) : r(m.buffer);
913
- }));
914
- };
915
- (1 < process.argv.length && process.argv[1].replace(/\\/g, "/"),
916
- process.argv.slice(2),
917
- (t.inspect = function () {
918
- return "[Emscripten Module object]";
919
- }));
920
- } else
921
- (It || $) &&
922
- ($
923
- ? (Q = self.location.href)
924
- : typeof document < "u" &&
925
- document.currentScript &&
926
- (Q = document.currentScript.src),
927
- p && (Q = p),
928
- (Q =
929
- Q.indexOf("blob:") !== 0
930
- ? Q.substr(0, Q.replace(/[?#].*/, "").lastIndexOf("/") + 1)
931
- : ""),
932
- (Et = function (e) {
933
- var r = new XMLHttpRequest();
934
- return (r.open("GET", e, !1), r.send(null), r.responseText);
935
- }),
936
- $ &&
937
- (ut = function (e) {
938
- var r = new XMLHttpRequest();
939
- return (
940
- r.open("GET", e, !1),
941
- (r.responseType = "arraybuffer"),
942
- r.send(null),
943
- new Uint8Array(r.response)
944
- );
945
- }),
946
- (st = function (e, r, n) {
947
- var o = new XMLHttpRequest();
948
- (o.open("GET", e, !0),
949
- (o.responseType = "arraybuffer"),
950
- (o.onload = function () {
951
- o.status == 200 || (o.status == 0 && o.response)
952
- ? r(o.response)
953
- : n();
954
- }),
955
- (o.onerror = n),
956
- o.send(null));
957
- }));
958
- var dn = t.print || console.log.bind(console),
959
- J = t.printErr || console.warn.bind(console);
960
- (Object.assign(t, Dt), (Dt = null));
961
- var Z;
962
- (t.wasmBinary && (Z = t.wasmBinary),
963
- typeof WebAssembly != "object" &&
964
- i("no native wasm support detected"));
965
- var _t,
966
- Gt = !1,
967
- Ot = typeof TextDecoder < "u" ? new TextDecoder("utf8") : void 0,
968
- q,
969
- tt,
970
- et,
971
- x,
972
- jt = [],
973
- ct = [],
974
- Pt = [],
975
- Rt = !1,
976
- k = 0,
977
- yt = null,
978
- rt = null,
979
- z = "draco_decoder.wasm";
980
- z.startsWith("data:application/octet-stream;base64,") || (z = s(z));
981
- var bn = 0,
982
- hn = [null, [], []],
983
- An = {
984
- b: function (e, r, n) {
985
- throw (new C(e).init(r, n), bn++, e);
986
- },
987
- a: function () {
988
- i("");
989
- },
990
- g: function (e, r, n) {
991
- tt.copyWithin(e, r, r + n);
992
- },
993
- e: function (e) {
994
- var r = tt.length;
995
- if (((e >>>= 0), 2147483648 < e)) return !1;
996
- for (var n = 1; 4 >= n; n *= 2) {
997
- var o = r * (1 + 0.2 / n);
998
- o = Math.min(o, e + 100663296);
999
- var m = Math;
1000
- ((o = Math.max(e, o)),
1001
- (m = m.min.call(
1002
- m,
1003
- 2147483648,
1004
- o + ((65536 - (o % 65536)) % 65536),
1005
- )));
1006
- t: {
1007
- o = _t.buffer;
1008
- try {
1009
- (_t.grow((m - o.byteLength + 65535) >>> 16), g());
1010
- var b = 1;
1011
- break t;
1012
- } catch {}
1013
- b = void 0;
1014
- }
1015
- if (b) return !0;
1016
- }
1017
- return !1;
1018
- },
1019
- f: function (e) {
1020
- return 52;
1021
- },
1022
- d: function (e, r, n, o, m) {
1023
- return 70;
1024
- },
1025
- c: function (e, r, n, o) {
1026
- for (var m = 0, b = 0; b < n; b++) {
1027
- var X = x[r >> 2],
1028
- mn = x[(r + 4) >> 2];
1029
- r += 8;
1030
- for (var lt = 0; lt < mn; lt++) {
1031
- var mt = tt[X + lt],
1032
- ft = hn[e];
1033
- mt === 0 || mt === 10
1034
- ? ((e === 1 ? dn : J)(y(ft, 0)), (ft.length = 0))
1035
- : ft.push(mt);
1036
- }
1037
- m += mn;
1038
- }
1039
- return ((x[o >> 2] = m), 0);
1040
- },
1041
- };
1042
- (function () {
1043
- function e(m, b) {
1044
- ((t.asm = m.exports),
1045
- (_t = t.asm.h),
1046
- g(),
1047
- ct.unshift(t.asm.i),
1048
- k--,
1049
- t.monitorRunDependencies && t.monitorRunDependencies(k),
1050
- k == 0 &&
1051
- (yt !== null && (clearInterval(yt), (yt = null)),
1052
- rt && ((m = rt), (rt = null), m())));
1053
- }
1054
- function r(m) {
1055
- e(m.instance);
1056
- }
1057
- function n(m) {
1058
- return h()
1059
- .then(function (b) {
1060
- return WebAssembly.instantiate(b, o);
1061
- })
1062
- .then(function (b) {
1063
- return b;
1064
- })
1065
- .then(m, function (b) {
1066
- (J("failed to asynchronously prepare wasm: " + b), i(b));
1067
- });
1068
- }
1069
- var o = { a: An };
1070
- if (
1071
- (k++,
1072
- t.monitorRunDependencies && t.monitorRunDependencies(k),
1073
- t.instantiateWasm)
1074
- )
1075
- try {
1076
- return t.instantiateWasm(o, e);
1077
- } catch (m) {
1078
- (J("Module.instantiateWasm callback failed with error: " + m),
1079
- ot(m));
1080
- }
1081
- return (
1082
- (function () {
1083
- return Z ||
1084
- typeof WebAssembly.instantiateStreaming != "function" ||
1085
- z.startsWith("data:application/octet-stream;base64,") ||
1086
- z.startsWith("file://") ||
1087
- gt ||
1088
- typeof fetch != "function"
1089
- ? n(r)
1090
- : fetch(z, { credentials: "same-origin" }).then(function (m) {
1091
- return WebAssembly.instantiateStreaming(m, o).then(
1092
- r,
1093
- function (b) {
1094
- return (
1095
- J("wasm streaming compile failed: " + b),
1096
- J("falling back to ArrayBuffer instantiation"),
1097
- n(r)
1098
- );
1099
- },
1100
- );
1101
- });
1102
- })().catch(ot),
1103
- {}
1104
- );
1105
- })();
1106
- var St = (t._emscripten_bind_VoidPtr___destroy___0 = function () {
1107
- return (St = t._emscripten_bind_VoidPtr___destroy___0 =
1108
- t.asm.k).apply(null, arguments);
1109
- }),
1110
- Mt = (t._emscripten_bind_DecoderBuffer_DecoderBuffer_0 = function () {
1111
- return (Mt = t._emscripten_bind_DecoderBuffer_DecoderBuffer_0 =
1112
- t.asm.l).apply(null, arguments);
1113
- }),
1114
- Nt = (t._emscripten_bind_DecoderBuffer_Init_2 = function () {
1115
- return (Nt = t._emscripten_bind_DecoderBuffer_Init_2 =
1116
- t.asm.m).apply(null, arguments);
1117
- }),
1118
- Ut = (t._emscripten_bind_DecoderBuffer___destroy___0 = function () {
1119
- return (Ut = t._emscripten_bind_DecoderBuffer___destroy___0 =
1120
- t.asm.n).apply(null, arguments);
1121
- }),
1122
- Ft =
1123
- (t._emscripten_bind_AttributeTransformData_AttributeTransformData_0 =
1124
- function () {
1125
- return (Ft =
1126
- t._emscripten_bind_AttributeTransformData_AttributeTransformData_0 =
1127
- t.asm.o).apply(null, arguments);
1128
- }),
1129
- Lt = (t._emscripten_bind_AttributeTransformData_transform_type_0 =
1130
- function () {
1131
- return (Lt =
1132
- t._emscripten_bind_AttributeTransformData_transform_type_0 =
1133
- t.asm.p).apply(null, arguments);
1134
- }),
1135
- Ct = (t._emscripten_bind_AttributeTransformData___destroy___0 =
1136
- function () {
1137
- return (Ct =
1138
- t._emscripten_bind_AttributeTransformData___destroy___0 =
1139
- t.asm.q).apply(null, arguments);
1140
- }),
1141
- wt = (t._emscripten_bind_GeometryAttribute_GeometryAttribute_0 =
1142
- function () {
1143
- return (wt =
1144
- t._emscripten_bind_GeometryAttribute_GeometryAttribute_0 =
1145
- t.asm.r).apply(null, arguments);
1146
- }),
1147
- zt = (t._emscripten_bind_GeometryAttribute___destroy___0 =
1148
- function () {
1149
- return (zt = t._emscripten_bind_GeometryAttribute___destroy___0 =
1150
- t.asm.s).apply(null, arguments);
1151
- }),
1152
- Vt = (t._emscripten_bind_PointAttribute_PointAttribute_0 =
1153
- function () {
1154
- return (Vt = t._emscripten_bind_PointAttribute_PointAttribute_0 =
1155
- t.asm.t).apply(null, arguments);
1156
- }),
1157
- Bt = (t._emscripten_bind_PointAttribute_size_0 = function () {
1158
- return (Bt = t._emscripten_bind_PointAttribute_size_0 =
1159
- t.asm.u).apply(null, arguments);
1160
- }),
1161
- Wt = (t._emscripten_bind_PointAttribute_GetAttributeTransformData_0 =
1162
- function () {
1163
- return (Wt =
1164
- t._emscripten_bind_PointAttribute_GetAttributeTransformData_0 =
1165
- t.asm.v).apply(null, arguments);
1166
- }),
1167
- Qt = (t._emscripten_bind_PointAttribute_attribute_type_0 =
1168
- function () {
1169
- return (Qt = t._emscripten_bind_PointAttribute_attribute_type_0 =
1170
- t.asm.w).apply(null, arguments);
1171
- }),
1172
- xt = (t._emscripten_bind_PointAttribute_data_type_0 = function () {
1173
- return (xt = t._emscripten_bind_PointAttribute_data_type_0 =
1174
- t.asm.x).apply(null, arguments);
1175
- }),
1176
- Yt = (t._emscripten_bind_PointAttribute_num_components_0 =
1177
- function () {
1178
- return (Yt = t._emscripten_bind_PointAttribute_num_components_0 =
1179
- t.asm.y).apply(null, arguments);
1180
- }),
1181
- Ht = (t._emscripten_bind_PointAttribute_normalized_0 = function () {
1182
- return (Ht = t._emscripten_bind_PointAttribute_normalized_0 =
1183
- t.asm.z).apply(null, arguments);
1184
- }),
1185
- qt = (t._emscripten_bind_PointAttribute_byte_stride_0 = function () {
1186
- return (qt = t._emscripten_bind_PointAttribute_byte_stride_0 =
1187
- t.asm.A).apply(null, arguments);
1188
- }),
1189
- kt = (t._emscripten_bind_PointAttribute_byte_offset_0 = function () {
1190
- return (kt = t._emscripten_bind_PointAttribute_byte_offset_0 =
1191
- t.asm.B).apply(null, arguments);
1192
- }),
1193
- Xt = (t._emscripten_bind_PointAttribute_unique_id_0 = function () {
1194
- return (Xt = t._emscripten_bind_PointAttribute_unique_id_0 =
1195
- t.asm.C).apply(null, arguments);
1196
- }),
1197
- Kt = (t._emscripten_bind_PointAttribute___destroy___0 = function () {
1198
- return (Kt = t._emscripten_bind_PointAttribute___destroy___0 =
1199
- t.asm.D).apply(null, arguments);
1200
- }),
1201
- Jt =
1202
- (t._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0 =
1203
- function () {
1204
- return (Jt =
1205
- t._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0 =
1206
- t.asm.E).apply(null, arguments);
1207
- }),
1208
- $t =
1209
- (t._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1 =
1210
- function () {
1211
- return ($t =
1212
- t._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1 =
1213
- t.asm.F).apply(null, arguments);
1214
- }),
1215
- Zt =
1216
- (t._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0 =
1217
- function () {
1218
- return (Zt =
1219
- t._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0 =
1220
- t.asm.G).apply(null, arguments);
1221
- }),
1222
- te = (t._emscripten_bind_AttributeQuantizationTransform_min_value_1 =
1223
- function () {
1224
- return (te =
1225
- t._emscripten_bind_AttributeQuantizationTransform_min_value_1 =
1226
- t.asm.H).apply(null, arguments);
1227
- }),
1228
- ee = (t._emscripten_bind_AttributeQuantizationTransform_range_0 =
1229
- function () {
1230
- return (ee =
1231
- t._emscripten_bind_AttributeQuantizationTransform_range_0 =
1232
- t.asm.I).apply(null, arguments);
1233
- }),
1234
- re =
1235
- (t._emscripten_bind_AttributeQuantizationTransform___destroy___0 =
1236
- function () {
1237
- return (re =
1238
- t._emscripten_bind_AttributeQuantizationTransform___destroy___0 =
1239
- t.asm.J).apply(null, arguments);
1240
- }),
1241
- ne =
1242
- (t._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0 =
1243
- function () {
1244
- return (ne =
1245
- t._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0 =
1246
- t.asm.K).apply(null, arguments);
1247
- }),
1248
- oe =
1249
- (t._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1 =
1250
- function () {
1251
- return (oe =
1252
- t._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1 =
1253
- t.asm.L).apply(null, arguments);
1254
- }),
1255
- _e =
1256
- (t._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0 =
1257
- function () {
1258
- return (_e =
1259
- t._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0 =
1260
- t.asm.M).apply(null, arguments);
1261
- }),
1262
- ie = (t._emscripten_bind_AttributeOctahedronTransform___destroy___0 =
1263
- function () {
1264
- return (ie =
1265
- t._emscripten_bind_AttributeOctahedronTransform___destroy___0 =
1266
- t.asm.N).apply(null, arguments);
1267
- }),
1268
- ae = (t._emscripten_bind_PointCloud_PointCloud_0 = function () {
1269
- return (ae = t._emscripten_bind_PointCloud_PointCloud_0 =
1270
- t.asm.O).apply(null, arguments);
1271
- }),
1272
- pe = (t._emscripten_bind_PointCloud_num_attributes_0 = function () {
1273
- return (pe = t._emscripten_bind_PointCloud_num_attributes_0 =
1274
- t.asm.P).apply(null, arguments);
1275
- }),
1276
- ue = (t._emscripten_bind_PointCloud_num_points_0 = function () {
1277
- return (ue = t._emscripten_bind_PointCloud_num_points_0 =
1278
- t.asm.Q).apply(null, arguments);
1279
- }),
1280
- se = (t._emscripten_bind_PointCloud___destroy___0 = function () {
1281
- return (se = t._emscripten_bind_PointCloud___destroy___0 =
1282
- t.asm.R).apply(null, arguments);
1283
- }),
1284
- ce = (t._emscripten_bind_Mesh_Mesh_0 = function () {
1285
- return (ce = t._emscripten_bind_Mesh_Mesh_0 = t.asm.S).apply(
1286
- null,
1287
- arguments,
1288
- );
1289
- }),
1290
- ye = (t._emscripten_bind_Mesh_num_faces_0 = function () {
1291
- return (ye = t._emscripten_bind_Mesh_num_faces_0 = t.asm.T).apply(
1292
- null,
1293
- arguments,
1294
- );
1295
- }),
1296
- le = (t._emscripten_bind_Mesh_num_attributes_0 = function () {
1297
- return (le = t._emscripten_bind_Mesh_num_attributes_0 =
1298
- t.asm.U).apply(null, arguments);
1299
- }),
1300
- me = (t._emscripten_bind_Mesh_num_points_0 = function () {
1301
- return (me = t._emscripten_bind_Mesh_num_points_0 = t.asm.V).apply(
1302
- null,
1303
- arguments,
1304
- );
1305
- }),
1306
- fe = (t._emscripten_bind_Mesh___destroy___0 = function () {
1307
- return (fe = t._emscripten_bind_Mesh___destroy___0 = t.asm.W).apply(
1308
- null,
1309
- arguments,
1310
- );
1311
- }),
1312
- de = (t._emscripten_bind_Metadata_Metadata_0 = function () {
1313
- return (de = t._emscripten_bind_Metadata_Metadata_0 =
1314
- t.asm.X).apply(null, arguments);
1315
- }),
1316
- be = (t._emscripten_bind_Metadata___destroy___0 = function () {
1317
- return (be = t._emscripten_bind_Metadata___destroy___0 =
1318
- t.asm.Y).apply(null, arguments);
1319
- }),
1320
- he = (t._emscripten_bind_Status_code_0 = function () {
1321
- return (he = t._emscripten_bind_Status_code_0 = t.asm.Z).apply(
1322
- null,
1323
- arguments,
1324
- );
1325
- }),
1326
- Ae = (t._emscripten_bind_Status_ok_0 = function () {
1327
- return (Ae = t._emscripten_bind_Status_ok_0 = t.asm._).apply(
1328
- null,
1329
- arguments,
1330
- );
1331
- }),
1332
- Te = (t._emscripten_bind_Status_error_msg_0 = function () {
1333
- return (Te = t._emscripten_bind_Status_error_msg_0 = t.asm.$).apply(
1334
- null,
1335
- arguments,
1336
- );
1337
- }),
1338
- De = (t._emscripten_bind_Status___destroy___0 = function () {
1339
- return (De = t._emscripten_bind_Status___destroy___0 =
1340
- t.asm.aa).apply(null, arguments);
1341
- }),
1342
- Ie = (t._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0 =
1343
- function () {
1344
- return (Ie =
1345
- t._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0 =
1346
- t.asm.ba).apply(null, arguments);
1347
- }),
1348
- ge = (t._emscripten_bind_DracoFloat32Array_GetValue_1 = function () {
1349
- return (ge = t._emscripten_bind_DracoFloat32Array_GetValue_1 =
1350
- t.asm.ca).apply(null, arguments);
1351
- }),
1352
- ve = (t._emscripten_bind_DracoFloat32Array_size_0 = function () {
1353
- return (ve = t._emscripten_bind_DracoFloat32Array_size_0 =
1354
- t.asm.da).apply(null, arguments);
1355
- }),
1356
- Ee = (t._emscripten_bind_DracoFloat32Array___destroy___0 =
1357
- function () {
1358
- return (Ee = t._emscripten_bind_DracoFloat32Array___destroy___0 =
1359
- t.asm.ea).apply(null, arguments);
1360
- }),
1361
- Ge = (t._emscripten_bind_DracoInt8Array_DracoInt8Array_0 =
1362
- function () {
1363
- return (Ge = t._emscripten_bind_DracoInt8Array_DracoInt8Array_0 =
1364
- t.asm.fa).apply(null, arguments);
1365
- }),
1366
- Oe = (t._emscripten_bind_DracoInt8Array_GetValue_1 = function () {
1367
- return (Oe = t._emscripten_bind_DracoInt8Array_GetValue_1 =
1368
- t.asm.ga).apply(null, arguments);
1369
- }),
1370
- je = (t._emscripten_bind_DracoInt8Array_size_0 = function () {
1371
- return (je = t._emscripten_bind_DracoInt8Array_size_0 =
1372
- t.asm.ha).apply(null, arguments);
1373
- }),
1374
- Pe = (t._emscripten_bind_DracoInt8Array___destroy___0 = function () {
1375
- return (Pe = t._emscripten_bind_DracoInt8Array___destroy___0 =
1376
- t.asm.ia).apply(null, arguments);
1377
- }),
1378
- Re = (t._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0 =
1379
- function () {
1380
- return (Re =
1381
- t._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0 =
1382
- t.asm.ja).apply(null, arguments);
1383
- }),
1384
- Se = (t._emscripten_bind_DracoUInt8Array_GetValue_1 = function () {
1385
- return (Se = t._emscripten_bind_DracoUInt8Array_GetValue_1 =
1386
- t.asm.ka).apply(null, arguments);
1387
- }),
1388
- Me = (t._emscripten_bind_DracoUInt8Array_size_0 = function () {
1389
- return (Me = t._emscripten_bind_DracoUInt8Array_size_0 =
1390
- t.asm.la).apply(null, arguments);
1391
- }),
1392
- Ne = (t._emscripten_bind_DracoUInt8Array___destroy___0 = function () {
1393
- return (Ne = t._emscripten_bind_DracoUInt8Array___destroy___0 =
1394
- t.asm.ma).apply(null, arguments);
1395
- }),
1396
- Ue = (t._emscripten_bind_DracoInt16Array_DracoInt16Array_0 =
1397
- function () {
1398
- return (Ue =
1399
- t._emscripten_bind_DracoInt16Array_DracoInt16Array_0 =
1400
- t.asm.na).apply(null, arguments);
1401
- }),
1402
- Fe = (t._emscripten_bind_DracoInt16Array_GetValue_1 = function () {
1403
- return (Fe = t._emscripten_bind_DracoInt16Array_GetValue_1 =
1404
- t.asm.oa).apply(null, arguments);
1405
- }),
1406
- Le = (t._emscripten_bind_DracoInt16Array_size_0 = function () {
1407
- return (Le = t._emscripten_bind_DracoInt16Array_size_0 =
1408
- t.asm.pa).apply(null, arguments);
1409
- }),
1410
- Ce = (t._emscripten_bind_DracoInt16Array___destroy___0 = function () {
1411
- return (Ce = t._emscripten_bind_DracoInt16Array___destroy___0 =
1412
- t.asm.qa).apply(null, arguments);
1413
- }),
1414
- we = (t._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0 =
1415
- function () {
1416
- return (we =
1417
- t._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0 =
1418
- t.asm.ra).apply(null, arguments);
1419
- }),
1420
- ze = (t._emscripten_bind_DracoUInt16Array_GetValue_1 = function () {
1421
- return (ze = t._emscripten_bind_DracoUInt16Array_GetValue_1 =
1422
- t.asm.sa).apply(null, arguments);
1423
- }),
1424
- Ve = (t._emscripten_bind_DracoUInt16Array_size_0 = function () {
1425
- return (Ve = t._emscripten_bind_DracoUInt16Array_size_0 =
1426
- t.asm.ta).apply(null, arguments);
1427
- }),
1428
- Be = (t._emscripten_bind_DracoUInt16Array___destroy___0 =
1429
- function () {
1430
- return (Be = t._emscripten_bind_DracoUInt16Array___destroy___0 =
1431
- t.asm.ua).apply(null, arguments);
1432
- }),
1433
- We = (t._emscripten_bind_DracoInt32Array_DracoInt32Array_0 =
1434
- function () {
1435
- return (We =
1436
- t._emscripten_bind_DracoInt32Array_DracoInt32Array_0 =
1437
- t.asm.va).apply(null, arguments);
1438
- }),
1439
- Qe = (t._emscripten_bind_DracoInt32Array_GetValue_1 = function () {
1440
- return (Qe = t._emscripten_bind_DracoInt32Array_GetValue_1 =
1441
- t.asm.wa).apply(null, arguments);
1442
- }),
1443
- xe = (t._emscripten_bind_DracoInt32Array_size_0 = function () {
1444
- return (xe = t._emscripten_bind_DracoInt32Array_size_0 =
1445
- t.asm.xa).apply(null, arguments);
1446
- }),
1447
- Ye = (t._emscripten_bind_DracoInt32Array___destroy___0 = function () {
1448
- return (Ye = t._emscripten_bind_DracoInt32Array___destroy___0 =
1449
- t.asm.ya).apply(null, arguments);
1450
- }),
1451
- He = (t._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0 =
1452
- function () {
1453
- return (He =
1454
- t._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0 =
1455
- t.asm.za).apply(null, arguments);
1456
- }),
1457
- qe = (t._emscripten_bind_DracoUInt32Array_GetValue_1 = function () {
1458
- return (qe = t._emscripten_bind_DracoUInt32Array_GetValue_1 =
1459
- t.asm.Aa).apply(null, arguments);
1460
- }),
1461
- ke = (t._emscripten_bind_DracoUInt32Array_size_0 = function () {
1462
- return (ke = t._emscripten_bind_DracoUInt32Array_size_0 =
1463
- t.asm.Ba).apply(null, arguments);
1464
- }),
1465
- Xe = (t._emscripten_bind_DracoUInt32Array___destroy___0 =
1466
- function () {
1467
- return (Xe = t._emscripten_bind_DracoUInt32Array___destroy___0 =
1468
- t.asm.Ca).apply(null, arguments);
1469
- }),
1470
- Ke = (t._emscripten_bind_MetadataQuerier_MetadataQuerier_0 =
1471
- function () {
1472
- return (Ke =
1473
- t._emscripten_bind_MetadataQuerier_MetadataQuerier_0 =
1474
- t.asm.Da).apply(null, arguments);
1475
- }),
1476
- Je = (t._emscripten_bind_MetadataQuerier_HasEntry_2 = function () {
1477
- return (Je = t._emscripten_bind_MetadataQuerier_HasEntry_2 =
1478
- t.asm.Ea).apply(null, arguments);
1479
- }),
1480
- $e = (t._emscripten_bind_MetadataQuerier_GetIntEntry_2 = function () {
1481
- return ($e = t._emscripten_bind_MetadataQuerier_GetIntEntry_2 =
1482
- t.asm.Fa).apply(null, arguments);
1483
- }),
1484
- Ze = (t._emscripten_bind_MetadataQuerier_GetIntEntryArray_3 =
1485
- function () {
1486
- return (Ze =
1487
- t._emscripten_bind_MetadataQuerier_GetIntEntryArray_3 =
1488
- t.asm.Ga).apply(null, arguments);
1489
- }),
1490
- tr = (t._emscripten_bind_MetadataQuerier_GetDoubleEntry_2 =
1491
- function () {
1492
- return (tr = t._emscripten_bind_MetadataQuerier_GetDoubleEntry_2 =
1493
- t.asm.Ha).apply(null, arguments);
1494
- }),
1495
- er = (t._emscripten_bind_MetadataQuerier_GetStringEntry_2 =
1496
- function () {
1497
- return (er = t._emscripten_bind_MetadataQuerier_GetStringEntry_2 =
1498
- t.asm.Ia).apply(null, arguments);
1499
- }),
1500
- rr = (t._emscripten_bind_MetadataQuerier_NumEntries_1 = function () {
1501
- return (rr = t._emscripten_bind_MetadataQuerier_NumEntries_1 =
1502
- t.asm.Ja).apply(null, arguments);
1503
- }),
1504
- nr = (t._emscripten_bind_MetadataQuerier_GetEntryName_2 =
1505
- function () {
1506
- return (nr = t._emscripten_bind_MetadataQuerier_GetEntryName_2 =
1507
- t.asm.Ka).apply(null, arguments);
1508
- }),
1509
- or = (t._emscripten_bind_MetadataQuerier___destroy___0 = function () {
1510
- return (or = t._emscripten_bind_MetadataQuerier___destroy___0 =
1511
- t.asm.La).apply(null, arguments);
1512
- }),
1513
- _r = (t._emscripten_bind_Decoder_Decoder_0 = function () {
1514
- return (_r = t._emscripten_bind_Decoder_Decoder_0 = t.asm.Ma).apply(
1515
- null,
1516
- arguments,
1517
- );
1518
- }),
1519
- ir = (t._emscripten_bind_Decoder_DecodeArrayToPointCloud_3 =
1520
- function () {
1521
- return (ir =
1522
- t._emscripten_bind_Decoder_DecodeArrayToPointCloud_3 =
1523
- t.asm.Na).apply(null, arguments);
1524
- }),
1525
- ar = (t._emscripten_bind_Decoder_DecodeArrayToMesh_3 = function () {
1526
- return (ar = t._emscripten_bind_Decoder_DecodeArrayToMesh_3 =
1527
- t.asm.Oa).apply(null, arguments);
1528
- }),
1529
- pr = (t._emscripten_bind_Decoder_GetAttributeId_2 = function () {
1530
- return (pr = t._emscripten_bind_Decoder_GetAttributeId_2 =
1531
- t.asm.Pa).apply(null, arguments);
1532
- }),
1533
- ur = (t._emscripten_bind_Decoder_GetAttributeIdByName_2 =
1534
- function () {
1535
- return (ur = t._emscripten_bind_Decoder_GetAttributeIdByName_2 =
1536
- t.asm.Qa).apply(null, arguments);
1537
- }),
1538
- sr = (t._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3 =
1539
- function () {
1540
- return (sr =
1541
- t._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3 =
1542
- t.asm.Ra).apply(null, arguments);
1543
- }),
1544
- cr = (t._emscripten_bind_Decoder_GetAttribute_2 = function () {
1545
- return (cr = t._emscripten_bind_Decoder_GetAttribute_2 =
1546
- t.asm.Sa).apply(null, arguments);
1547
- }),
1548
- yr = (t._emscripten_bind_Decoder_GetAttributeByUniqueId_2 =
1549
- function () {
1550
- return (yr = t._emscripten_bind_Decoder_GetAttributeByUniqueId_2 =
1551
- t.asm.Ta).apply(null, arguments);
1552
- }),
1553
- lr = (t._emscripten_bind_Decoder_GetMetadata_1 = function () {
1554
- return (lr = t._emscripten_bind_Decoder_GetMetadata_1 =
1555
- t.asm.Ua).apply(null, arguments);
1556
- }),
1557
- mr = (t._emscripten_bind_Decoder_GetAttributeMetadata_2 =
1558
- function () {
1559
- return (mr = t._emscripten_bind_Decoder_GetAttributeMetadata_2 =
1560
- t.asm.Va).apply(null, arguments);
1561
- }),
1562
- fr = (t._emscripten_bind_Decoder_GetFaceFromMesh_3 = function () {
1563
- return (fr = t._emscripten_bind_Decoder_GetFaceFromMesh_3 =
1564
- t.asm.Wa).apply(null, arguments);
1565
- }),
1566
- dr = (t._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2 =
1567
- function () {
1568
- return (dr =
1569
- t._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2 =
1570
- t.asm.Xa).apply(null, arguments);
1571
- }),
1572
- br = (t._emscripten_bind_Decoder_GetTrianglesUInt16Array_3 =
1573
- function () {
1574
- return (br =
1575
- t._emscripten_bind_Decoder_GetTrianglesUInt16Array_3 =
1576
- t.asm.Ya).apply(null, arguments);
1577
- }),
1578
- hr = (t._emscripten_bind_Decoder_GetTrianglesUInt32Array_3 =
1579
- function () {
1580
- return (hr =
1581
- t._emscripten_bind_Decoder_GetTrianglesUInt32Array_3 =
1582
- t.asm.Za).apply(null, arguments);
1583
- }),
1584
- Ar = (t._emscripten_bind_Decoder_GetAttributeFloat_3 = function () {
1585
- return (Ar = t._emscripten_bind_Decoder_GetAttributeFloat_3 =
1586
- t.asm._a).apply(null, arguments);
1587
- }),
1588
- Tr = (t._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3 =
1589
- function () {
1590
- return (Tr =
1591
- t._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3 =
1592
- t.asm.$a).apply(null, arguments);
1593
- }),
1594
- Dr = (t._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3 =
1595
- function () {
1596
- return (Dr =
1597
- t._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3 =
1598
- t.asm.ab).apply(null, arguments);
1599
- }),
1600
- Ir = (t._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3 =
1601
- function () {
1602
- return (Ir =
1603
- t._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3 =
1604
- t.asm.bb).apply(null, arguments);
1605
- }),
1606
- gr = (t._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3 =
1607
- function () {
1608
- return (gr =
1609
- t._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3 =
1610
- t.asm.cb).apply(null, arguments);
1611
- }),
1612
- vr = (t._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3 =
1613
- function () {
1614
- return (vr =
1615
- t._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3 =
1616
- t.asm.db).apply(null, arguments);
1617
- }),
1618
- Er = (t._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3 =
1619
- function () {
1620
- return (Er =
1621
- t._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3 =
1622
- t.asm.eb).apply(null, arguments);
1623
- }),
1624
- Gr = (t._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3 =
1625
- function () {
1626
- return (Gr =
1627
- t._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3 =
1628
- t.asm.fb).apply(null, arguments);
1629
- }),
1630
- Or = (t._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3 =
1631
- function () {
1632
- return (Or =
1633
- t._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3 =
1634
- t.asm.gb).apply(null, arguments);
1635
- }),
1636
- jr = (t._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5 =
1637
- function () {
1638
- return (jr =
1639
- t._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5 =
1640
- t.asm.hb).apply(null, arguments);
1641
- }),
1642
- Pr = (t._emscripten_bind_Decoder_SkipAttributeTransform_1 =
1643
- function () {
1644
- return (Pr = t._emscripten_bind_Decoder_SkipAttributeTransform_1 =
1645
- t.asm.ib).apply(null, arguments);
1646
- }),
1647
- Rr = (t._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1 =
1648
- function () {
1649
- return (Rr =
1650
- t._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1 =
1651
- t.asm.jb).apply(null, arguments);
1652
- }),
1653
- Sr = (t._emscripten_bind_Decoder_DecodeBufferToPointCloud_2 =
1654
- function () {
1655
- return (Sr =
1656
- t._emscripten_bind_Decoder_DecodeBufferToPointCloud_2 =
1657
- t.asm.kb).apply(null, arguments);
1658
- }),
1659
- Mr = (t._emscripten_bind_Decoder_DecodeBufferToMesh_2 = function () {
1660
- return (Mr = t._emscripten_bind_Decoder_DecodeBufferToMesh_2 =
1661
- t.asm.lb).apply(null, arguments);
1662
- }),
1663
- Nr = (t._emscripten_bind_Decoder___destroy___0 = function () {
1664
- return (Nr = t._emscripten_bind_Decoder___destroy___0 =
1665
- t.asm.mb).apply(null, arguments);
1666
- }),
1667
- Ur =
1668
- (t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM =
1669
- function () {
1670
- return (Ur =
1671
- t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM =
1672
- t.asm.nb).apply(null, arguments);
1673
- }),
1674
- Fr =
1675
- (t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM =
1676
- function () {
1677
- return (Fr =
1678
- t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM =
1679
- t.asm.ob).apply(null, arguments);
1680
- }),
1681
- Lr =
1682
- (t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM =
1683
- function () {
1684
- return (Lr =
1685
- t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM =
1686
- t.asm.pb).apply(null, arguments);
1687
- }),
1688
- Cr =
1689
- (t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM =
1690
- function () {
1691
- return (Cr =
1692
- t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM =
1693
- t.asm.qb).apply(null, arguments);
1694
- }),
1695
- wr = (t._emscripten_enum_draco_GeometryAttribute_Type_INVALID =
1696
- function () {
1697
- return (wr =
1698
- t._emscripten_enum_draco_GeometryAttribute_Type_INVALID =
1699
- t.asm.rb).apply(null, arguments);
1700
- }),
1701
- zr = (t._emscripten_enum_draco_GeometryAttribute_Type_POSITION =
1702
- function () {
1703
- return (zr =
1704
- t._emscripten_enum_draco_GeometryAttribute_Type_POSITION =
1705
- t.asm.sb).apply(null, arguments);
1706
- }),
1707
- Vr = (t._emscripten_enum_draco_GeometryAttribute_Type_NORMAL =
1708
- function () {
1709
- return (Vr =
1710
- t._emscripten_enum_draco_GeometryAttribute_Type_NORMAL =
1711
- t.asm.tb).apply(null, arguments);
1712
- }),
1713
- Br = (t._emscripten_enum_draco_GeometryAttribute_Type_COLOR =
1714
- function () {
1715
- return (Br =
1716
- t._emscripten_enum_draco_GeometryAttribute_Type_COLOR =
1717
- t.asm.ub).apply(null, arguments);
1718
- }),
1719
- Wr = (t._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD =
1720
- function () {
1721
- return (Wr =
1722
- t._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD =
1723
- t.asm.vb).apply(null, arguments);
1724
- }),
1725
- Qr = (t._emscripten_enum_draco_GeometryAttribute_Type_GENERIC =
1726
- function () {
1727
- return (Qr =
1728
- t._emscripten_enum_draco_GeometryAttribute_Type_GENERIC =
1729
- t.asm.wb).apply(null, arguments);
1730
- }),
1731
- xr =
1732
- (t._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE =
1733
- function () {
1734
- return (xr =
1735
- t._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE =
1736
- t.asm.xb).apply(null, arguments);
1737
- }),
1738
- Yr = (t._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD =
1739
- function () {
1740
- return (Yr =
1741
- t._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD =
1742
- t.asm.yb).apply(null, arguments);
1743
- }),
1744
- Hr = (t._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH =
1745
- function () {
1746
- return (Hr =
1747
- t._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH =
1748
- t.asm.zb).apply(null, arguments);
1749
- }),
1750
- qr = (t._emscripten_enum_draco_DataType_DT_INVALID = function () {
1751
- return (qr = t._emscripten_enum_draco_DataType_DT_INVALID =
1752
- t.asm.Ab).apply(null, arguments);
1753
- }),
1754
- kr = (t._emscripten_enum_draco_DataType_DT_INT8 = function () {
1755
- return (kr = t._emscripten_enum_draco_DataType_DT_INT8 =
1756
- t.asm.Bb).apply(null, arguments);
1757
- }),
1758
- Xr = (t._emscripten_enum_draco_DataType_DT_UINT8 = function () {
1759
- return (Xr = t._emscripten_enum_draco_DataType_DT_UINT8 =
1760
- t.asm.Cb).apply(null, arguments);
1761
- }),
1762
- Kr = (t._emscripten_enum_draco_DataType_DT_INT16 = function () {
1763
- return (Kr = t._emscripten_enum_draco_DataType_DT_INT16 =
1764
- t.asm.Db).apply(null, arguments);
1765
- }),
1766
- Jr = (t._emscripten_enum_draco_DataType_DT_UINT16 = function () {
1767
- return (Jr = t._emscripten_enum_draco_DataType_DT_UINT16 =
1768
- t.asm.Eb).apply(null, arguments);
1769
- }),
1770
- $r = (t._emscripten_enum_draco_DataType_DT_INT32 = function () {
1771
- return ($r = t._emscripten_enum_draco_DataType_DT_INT32 =
1772
- t.asm.Fb).apply(null, arguments);
1773
- }),
1774
- Zr = (t._emscripten_enum_draco_DataType_DT_UINT32 = function () {
1775
- return (Zr = t._emscripten_enum_draco_DataType_DT_UINT32 =
1776
- t.asm.Gb).apply(null, arguments);
1777
- }),
1778
- tn = (t._emscripten_enum_draco_DataType_DT_INT64 = function () {
1779
- return (tn = t._emscripten_enum_draco_DataType_DT_INT64 =
1780
- t.asm.Hb).apply(null, arguments);
1781
- }),
1782
- en = (t._emscripten_enum_draco_DataType_DT_UINT64 = function () {
1783
- return (en = t._emscripten_enum_draco_DataType_DT_UINT64 =
1784
- t.asm.Ib).apply(null, arguments);
1785
- }),
1786
- rn = (t._emscripten_enum_draco_DataType_DT_FLOAT32 = function () {
1787
- return (rn = t._emscripten_enum_draco_DataType_DT_FLOAT32 =
1788
- t.asm.Jb).apply(null, arguments);
1789
- }),
1790
- nn = (t._emscripten_enum_draco_DataType_DT_FLOAT64 = function () {
1791
- return (nn = t._emscripten_enum_draco_DataType_DT_FLOAT64 =
1792
- t.asm.Kb).apply(null, arguments);
1793
- }),
1794
- on = (t._emscripten_enum_draco_DataType_DT_BOOL = function () {
1795
- return (on = t._emscripten_enum_draco_DataType_DT_BOOL =
1796
- t.asm.Lb).apply(null, arguments);
1797
- }),
1798
- _n = (t._emscripten_enum_draco_DataType_DT_TYPES_COUNT = function () {
1799
- return (_n = t._emscripten_enum_draco_DataType_DT_TYPES_COUNT =
1800
- t.asm.Mb).apply(null, arguments);
1801
- }),
1802
- an = (t._emscripten_enum_draco_StatusCode_OK = function () {
1803
- return (an = t._emscripten_enum_draco_StatusCode_OK =
1804
- t.asm.Nb).apply(null, arguments);
1805
- }),
1806
- pn = (t._emscripten_enum_draco_StatusCode_DRACO_ERROR = function () {
1807
- return (pn = t._emscripten_enum_draco_StatusCode_DRACO_ERROR =
1808
- t.asm.Ob).apply(null, arguments);
1809
- }),
1810
- un = (t._emscripten_enum_draco_StatusCode_IO_ERROR = function () {
1811
- return (un = t._emscripten_enum_draco_StatusCode_IO_ERROR =
1812
- t.asm.Pb).apply(null, arguments);
1813
- }),
1814
- sn = (t._emscripten_enum_draco_StatusCode_INVALID_PARAMETER =
1815
- function () {
1816
- return (sn =
1817
- t._emscripten_enum_draco_StatusCode_INVALID_PARAMETER =
1818
- t.asm.Qb).apply(null, arguments);
1819
- }),
1820
- cn = (t._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION =
1821
- function () {
1822
- return (cn =
1823
- t._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION =
1824
- t.asm.Rb).apply(null, arguments);
1825
- }),
1826
- yn = (t._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION =
1827
- function () {
1828
- return (yn = t._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION =
1829
- t.asm.Sb).apply(null, arguments);
1830
- });
1831
- ((t._malloc = function () {
1832
- return (t._malloc = t.asm.Tb).apply(null, arguments);
1833
- }),
1834
- (t._free = function () {
1835
- return (t._free = t.asm.Ub).apply(null, arguments);
1836
- }));
1837
- var ln = function () {
1838
- return (ln = t.asm.Vb).apply(null, arguments);
1839
- };
1840
- ((t.___start_em_js = 15856), (t.___stop_em_js = 15954));
1841
- var it;
1842
- if (
1843
- ((rt = function e() {
1844
- (it || K(), it || (rt = e));
1845
- }),
1846
- t.preInit)
1847
- )
1848
- for (
1849
- typeof t.preInit == "function" && (t.preInit = [t.preInit]);
1850
- 0 < t.preInit.length;
1851
- )
1852
- t.preInit.pop()();
1853
- (K(),
1854
- (f.prototype = Object.create(f.prototype)),
1855
- (f.prototype.constructor = f),
1856
- (f.prototype.__class__ = f),
1857
- (f.__cache__ = {}),
1858
- (t.WrapperObject = f),
1859
- (t.getCache = T),
1860
- (t.wrapPointer = G),
1861
- (t.castObject = function (e, r) {
1862
- return G(e.ptr, r);
1863
- }),
1864
- (t.NULL = G(0)),
1865
- (t.destroy = function (e) {
1866
- if (!e.__destroy__)
1867
- throw "Error: Cannot destroy object. (Did you create it yourself?)";
1868
- (e.__destroy__(), delete T(e.__class__)[e.ptr]);
1869
- }),
1870
- (t.compare = function (e, r) {
1871
- return e.ptr === r.ptr;
1872
- }),
1873
- (t.getPointer = function (e) {
1874
- return e.ptr;
1875
- }),
1876
- (t.getClass = function (e) {
1877
- return e.__class__;
1878
- }));
1879
- var d = {
1880
- buffer: 0,
1881
- size: 0,
1882
- pos: 0,
1883
- temps: [],
1884
- needed: 0,
1885
- prepare: function () {
1886
- if (d.needed) {
1887
- for (var e = 0; e < d.temps.length; e++) t._free(d.temps[e]);
1888
- ((d.temps.length = 0),
1889
- t._free(d.buffer),
1890
- (d.buffer = 0),
1891
- (d.size += d.needed),
1892
- (d.needed = 0));
1893
- }
1894
- (d.buffer ||
1895
- ((d.size += 128),
1896
- (d.buffer = t._malloc(d.size)),
1897
- d.buffer || i(void 0)),
1898
- (d.pos = 0));
1899
- },
1900
- alloc: function (e, r) {
1901
- return (
1902
- d.buffer || i(void 0),
1903
- (e = e.length * r.BYTES_PER_ELEMENT),
1904
- (e = (e + 7) & -8),
1905
- d.pos + e >= d.size
1906
- ? (0 < e || i(void 0),
1907
- (d.needed += e),
1908
- (r = t._malloc(e)),
1909
- d.temps.push(r))
1910
- : ((r = d.buffer + d.pos), (d.pos += e)),
1911
- r
1912
- );
1913
- },
1914
- copy: function (e, r, n) {
1915
- switch (((n >>>= 0), r.BYTES_PER_ELEMENT)) {
1916
- case 2:
1917
- n >>>= 1;
1918
- break;
1919
- case 4:
1920
- n >>>= 2;
1921
- break;
1922
- case 8:
1923
- n >>>= 3;
1924
- }
1925
- for (var o = 0; o < e.length; o++) r[n + o] = e[o];
1926
- },
1927
- };
1928
- return (
1929
- (H.prototype = Object.create(f.prototype)),
1930
- (H.prototype.constructor = H),
1931
- (H.prototype.__class__ = H),
1932
- (H.__cache__ = {}),
1933
- (t.VoidPtr = H),
1934
- (H.prototype.__destroy__ = H.prototype.__destroy__ =
1935
- function () {
1936
- St(this.ptr);
1937
- }),
1938
- (B.prototype = Object.create(f.prototype)),
1939
- (B.prototype.constructor = B),
1940
- (B.prototype.__class__ = B),
1941
- (B.__cache__ = {}),
1942
- (t.DecoderBuffer = B),
1943
- (B.prototype.Init = B.prototype.Init =
1944
- function (e, r) {
1945
- var n = this.ptr;
1946
- (d.prepare(),
1947
- typeof e == "object" && (e = at(e)),
1948
- r && typeof r == "object" && (r = r.ptr),
1949
- Nt(n, e, r));
1950
- }),
1951
- (B.prototype.__destroy__ = B.prototype.__destroy__ =
1952
- function () {
1953
- Ut(this.ptr);
1954
- }),
1955
- (w.prototype = Object.create(f.prototype)),
1956
- (w.prototype.constructor = w),
1957
- (w.prototype.__class__ = w),
1958
- (w.__cache__ = {}),
1959
- (t.AttributeTransformData = w),
1960
- (w.prototype.transform_type = w.prototype.transform_type =
1961
- function () {
1962
- return Lt(this.ptr);
1963
- }),
1964
- (w.prototype.__destroy__ = w.prototype.__destroy__ =
1965
- function () {
1966
- Ct(this.ptr);
1967
- }),
1968
- (Y.prototype = Object.create(f.prototype)),
1969
- (Y.prototype.constructor = Y),
1970
- (Y.prototype.__class__ = Y),
1971
- (Y.__cache__ = {}),
1972
- (t.GeometryAttribute = Y),
1973
- (Y.prototype.__destroy__ = Y.prototype.__destroy__ =
1974
- function () {
1975
- zt(this.ptr);
1976
- }),
1977
- (A.prototype = Object.create(f.prototype)),
1978
- (A.prototype.constructor = A),
1979
- (A.prototype.__class__ = A),
1980
- (A.__cache__ = {}),
1981
- (t.PointAttribute = A),
1982
- (A.prototype.size = A.prototype.size =
1983
- function () {
1984
- return Bt(this.ptr);
1985
- }),
1986
- (A.prototype.GetAttributeTransformData =
1987
- A.prototype.GetAttributeTransformData =
1988
- function () {
1989
- return G(Wt(this.ptr), w);
1990
- }),
1991
- (A.prototype.attribute_type = A.prototype.attribute_type =
1992
- function () {
1993
- return Qt(this.ptr);
1994
- }),
1995
- (A.prototype.data_type = A.prototype.data_type =
1996
- function () {
1997
- return xt(this.ptr);
1998
- }),
1999
- (A.prototype.num_components = A.prototype.num_components =
2000
- function () {
2001
- return Yt(this.ptr);
2002
- }),
2003
- (A.prototype.normalized = A.prototype.normalized =
2004
- function () {
2005
- return !!Ht(this.ptr);
2006
- }),
2007
- (A.prototype.byte_stride = A.prototype.byte_stride =
2008
- function () {
2009
- return qt(this.ptr);
2010
- }),
2011
- (A.prototype.byte_offset = A.prototype.byte_offset =
2012
- function () {
2013
- return kt(this.ptr);
2014
- }),
2015
- (A.prototype.unique_id = A.prototype.unique_id =
2016
- function () {
2017
- return Xt(this.ptr);
2018
- }),
2019
- (A.prototype.__destroy__ = A.prototype.__destroy__ =
2020
- function () {
2021
- Kt(this.ptr);
2022
- }),
2023
- (E.prototype = Object.create(f.prototype)),
2024
- (E.prototype.constructor = E),
2025
- (E.prototype.__class__ = E),
2026
- (E.__cache__ = {}),
2027
- (t.AttributeQuantizationTransform = E),
2028
- (E.prototype.InitFromAttribute = E.prototype.InitFromAttribute =
2029
- function (e) {
2030
- var r = this.ptr;
2031
- return (e && typeof e == "object" && (e = e.ptr), !!$t(r, e));
2032
- }),
2033
- (E.prototype.quantization_bits = E.prototype.quantization_bits =
2034
- function () {
2035
- return Zt(this.ptr);
2036
- }),
2037
- (E.prototype.min_value = E.prototype.min_value =
2038
- function (e) {
2039
- var r = this.ptr;
2040
- return (e && typeof e == "object" && (e = e.ptr), te(r, e));
2041
- }),
2042
- (E.prototype.range = E.prototype.range =
2043
- function () {
2044
- return ee(this.ptr);
2045
- }),
2046
- (E.prototype.__destroy__ = E.prototype.__destroy__ =
2047
- function () {
2048
- re(this.ptr);
2049
- }),
2050
- (j.prototype = Object.create(f.prototype)),
2051
- (j.prototype.constructor = j),
2052
- (j.prototype.__class__ = j),
2053
- (j.__cache__ = {}),
2054
- (t.AttributeOctahedronTransform = j),
2055
- (j.prototype.InitFromAttribute = j.prototype.InitFromAttribute =
2056
- function (e) {
2057
- var r = this.ptr;
2058
- return (e && typeof e == "object" && (e = e.ptr), !!oe(r, e));
2059
- }),
2060
- (j.prototype.quantization_bits = j.prototype.quantization_bits =
2061
- function () {
2062
- return _e(this.ptr);
2063
- }),
2064
- (j.prototype.__destroy__ = j.prototype.__destroy__ =
2065
- function () {
2066
- ie(this.ptr);
2067
- }),
2068
- (P.prototype = Object.create(f.prototype)),
2069
- (P.prototype.constructor = P),
2070
- (P.prototype.__class__ = P),
2071
- (P.__cache__ = {}),
2072
- (t.PointCloud = P),
2073
- (P.prototype.num_attributes = P.prototype.num_attributes =
2074
- function () {
2075
- return pe(this.ptr);
2076
- }),
2077
- (P.prototype.num_points = P.prototype.num_points =
2078
- function () {
2079
- return ue(this.ptr);
2080
- }),
2081
- (P.prototype.__destroy__ = P.prototype.__destroy__ =
2082
- function () {
2083
- se(this.ptr);
2084
- }),
2085
- (O.prototype = Object.create(f.prototype)),
2086
- (O.prototype.constructor = O),
2087
- (O.prototype.__class__ = O),
2088
- (O.__cache__ = {}),
2089
- (t.Mesh = O),
2090
- (O.prototype.num_faces = O.prototype.num_faces =
2091
- function () {
2092
- return ye(this.ptr);
2093
- }),
2094
- (O.prototype.num_attributes = O.prototype.num_attributes =
2095
- function () {
2096
- return le(this.ptr);
2097
- }),
2098
- (O.prototype.num_points = O.prototype.num_points =
2099
- function () {
2100
- return me(this.ptr);
2101
- }),
2102
- (O.prototype.__destroy__ = O.prototype.__destroy__ =
2103
- function () {
2104
- fe(this.ptr);
2105
- }),
2106
- (W.prototype = Object.create(f.prototype)),
2107
- (W.prototype.constructor = W),
2108
- (W.prototype.__class__ = W),
2109
- (W.__cache__ = {}),
2110
- (t.Metadata = W),
2111
- (W.prototype.__destroy__ = W.prototype.__destroy__ =
2112
- function () {
2113
- be(this.ptr);
2114
- }),
2115
- (v.prototype = Object.create(f.prototype)),
2116
- (v.prototype.constructor = v),
2117
- (v.prototype.__class__ = v),
2118
- (v.__cache__ = {}),
2119
- (t.Status = v),
2120
- (v.prototype.code = v.prototype.code =
2121
- function () {
2122
- return he(this.ptr);
2123
- }),
2124
- (v.prototype.ok = v.prototype.ok =
2125
- function () {
2126
- return !!Ae(this.ptr);
2127
- }),
2128
- (v.prototype.error_msg = v.prototype.error_msg =
2129
- function () {
2130
- return a(Te(this.ptr));
2131
- }),
2132
- (v.prototype.__destroy__ = v.prototype.__destroy__ =
2133
- function () {
2134
- De(this.ptr);
2135
- }),
2136
- (R.prototype = Object.create(f.prototype)),
2137
- (R.prototype.constructor = R),
2138
- (R.prototype.__class__ = R),
2139
- (R.__cache__ = {}),
2140
- (t.DracoFloat32Array = R),
2141
- (R.prototype.GetValue = R.prototype.GetValue =
2142
- function (e) {
2143
- var r = this.ptr;
2144
- return (e && typeof e == "object" && (e = e.ptr), ge(r, e));
2145
- }),
2146
- (R.prototype.size = R.prototype.size =
2147
- function () {
2148
- return ve(this.ptr);
2149
- }),
2150
- (R.prototype.__destroy__ = R.prototype.__destroy__ =
2151
- function () {
2152
- Ee(this.ptr);
2153
- }),
2154
- (S.prototype = Object.create(f.prototype)),
2155
- (S.prototype.constructor = S),
2156
- (S.prototype.__class__ = S),
2157
- (S.__cache__ = {}),
2158
- (t.DracoInt8Array = S),
2159
- (S.prototype.GetValue = S.prototype.GetValue =
2160
- function (e) {
2161
- var r = this.ptr;
2162
- return (e && typeof e == "object" && (e = e.ptr), Oe(r, e));
2163
- }),
2164
- (S.prototype.size = S.prototype.size =
2165
- function () {
2166
- return je(this.ptr);
2167
- }),
2168
- (S.prototype.__destroy__ = S.prototype.__destroy__ =
2169
- function () {
2170
- Pe(this.ptr);
2171
- }),
2172
- (M.prototype = Object.create(f.prototype)),
2173
- (M.prototype.constructor = M),
2174
- (M.prototype.__class__ = M),
2175
- (M.__cache__ = {}),
2176
- (t.DracoUInt8Array = M),
2177
- (M.prototype.GetValue = M.prototype.GetValue =
2178
- function (e) {
2179
- var r = this.ptr;
2180
- return (e && typeof e == "object" && (e = e.ptr), Se(r, e));
2181
- }),
2182
- (M.prototype.size = M.prototype.size =
2183
- function () {
2184
- return Me(this.ptr);
2185
- }),
2186
- (M.prototype.__destroy__ = M.prototype.__destroy__ =
2187
- function () {
2188
- Ne(this.ptr);
2189
- }),
2190
- (N.prototype = Object.create(f.prototype)),
2191
- (N.prototype.constructor = N),
2192
- (N.prototype.__class__ = N),
2193
- (N.__cache__ = {}),
2194
- (t.DracoInt16Array = N),
2195
- (N.prototype.GetValue = N.prototype.GetValue =
2196
- function (e) {
2197
- var r = this.ptr;
2198
- return (e && typeof e == "object" && (e = e.ptr), Fe(r, e));
2199
- }),
2200
- (N.prototype.size = N.prototype.size =
2201
- function () {
2202
- return Le(this.ptr);
2203
- }),
2204
- (N.prototype.__destroy__ = N.prototype.__destroy__ =
2205
- function () {
2206
- Ce(this.ptr);
2207
- }),
2208
- (U.prototype = Object.create(f.prototype)),
2209
- (U.prototype.constructor = U),
2210
- (U.prototype.__class__ = U),
2211
- (U.__cache__ = {}),
2212
- (t.DracoUInt16Array = U),
2213
- (U.prototype.GetValue = U.prototype.GetValue =
2214
- function (e) {
2215
- var r = this.ptr;
2216
- return (e && typeof e == "object" && (e = e.ptr), ze(r, e));
2217
- }),
2218
- (U.prototype.size = U.prototype.size =
2219
- function () {
2220
- return Ve(this.ptr);
2221
- }),
2222
- (U.prototype.__destroy__ = U.prototype.__destroy__ =
2223
- function () {
2224
- Be(this.ptr);
2225
- }),
2226
- (F.prototype = Object.create(f.prototype)),
2227
- (F.prototype.constructor = F),
2228
- (F.prototype.__class__ = F),
2229
- (F.__cache__ = {}),
2230
- (t.DracoInt32Array = F),
2231
- (F.prototype.GetValue = F.prototype.GetValue =
2232
- function (e) {
2233
- var r = this.ptr;
2234
- return (e && typeof e == "object" && (e = e.ptr), Qe(r, e));
2235
- }),
2236
- (F.prototype.size = F.prototype.size =
2237
- function () {
2238
- return xe(this.ptr);
2239
- }),
2240
- (F.prototype.__destroy__ = F.prototype.__destroy__ =
2241
- function () {
2242
- Ye(this.ptr);
2243
- }),
2244
- (L.prototype = Object.create(f.prototype)),
2245
- (L.prototype.constructor = L),
2246
- (L.prototype.__class__ = L),
2247
- (L.__cache__ = {}),
2248
- (t.DracoUInt32Array = L),
2249
- (L.prototype.GetValue = L.prototype.GetValue =
2250
- function (e) {
2251
- var r = this.ptr;
2252
- return (e && typeof e == "object" && (e = e.ptr), qe(r, e));
2253
- }),
2254
- (L.prototype.size = L.prototype.size =
2255
- function () {
2256
- return ke(this.ptr);
2257
- }),
2258
- (L.prototype.__destroy__ = L.prototype.__destroy__ =
2259
- function () {
2260
- Xe(this.ptr);
2261
- }),
2262
- (D.prototype = Object.create(f.prototype)),
2263
- (D.prototype.constructor = D),
2264
- (D.prototype.__class__ = D),
2265
- (D.__cache__ = {}),
2266
- (t.MetadataQuerier = D),
2267
- (D.prototype.HasEntry = D.prototype.HasEntry =
2268
- function (e, r) {
2269
- var n = this.ptr;
2270
- return (
2271
- d.prepare(),
2272
- e && typeof e == "object" && (e = e.ptr),
2273
- (r = r && typeof r == "object" ? r.ptr : V(r)),
2274
- !!Je(n, e, r)
2275
- );
2276
- }),
2277
- (D.prototype.GetIntEntry = D.prototype.GetIntEntry =
2278
- function (e, r) {
2279
- var n = this.ptr;
2280
- return (
2281
- d.prepare(),
2282
- e && typeof e == "object" && (e = e.ptr),
2283
- (r = r && typeof r == "object" ? r.ptr : V(r)),
2284
- $e(n, e, r)
2285
- );
2286
- }),
2287
- (D.prototype.GetIntEntryArray = D.prototype.GetIntEntryArray =
2288
- function (e, r, n) {
2289
- var o = this.ptr;
2290
- (d.prepare(),
2291
- e && typeof e == "object" && (e = e.ptr),
2292
- (r = r && typeof r == "object" ? r.ptr : V(r)),
2293
- n && typeof n == "object" && (n = n.ptr),
2294
- Ze(o, e, r, n));
2295
- }),
2296
- (D.prototype.GetDoubleEntry = D.prototype.GetDoubleEntry =
2297
- function (e, r) {
2298
- var n = this.ptr;
2299
- return (
2300
- d.prepare(),
2301
- e && typeof e == "object" && (e = e.ptr),
2302
- (r = r && typeof r == "object" ? r.ptr : V(r)),
2303
- tr(n, e, r)
2304
- );
2305
- }),
2306
- (D.prototype.GetStringEntry = D.prototype.GetStringEntry =
2307
- function (e, r) {
2308
- var n = this.ptr;
2309
- return (
2310
- d.prepare(),
2311
- e && typeof e == "object" && (e = e.ptr),
2312
- (r = r && typeof r == "object" ? r.ptr : V(r)),
2313
- a(er(n, e, r))
2314
- );
2315
- }),
2316
- (D.prototype.NumEntries = D.prototype.NumEntries =
2317
- function (e) {
2318
- var r = this.ptr;
2319
- return (e && typeof e == "object" && (e = e.ptr), rr(r, e));
2320
- }),
2321
- (D.prototype.GetEntryName = D.prototype.GetEntryName =
2322
- function (e, r) {
2323
- var n = this.ptr;
2324
- return (
2325
- e && typeof e == "object" && (e = e.ptr),
2326
- r && typeof r == "object" && (r = r.ptr),
2327
- a(nr(n, e, r))
2328
- );
2329
- }),
2330
- (D.prototype.__destroy__ = D.prototype.__destroy__ =
2331
- function () {
2332
- or(this.ptr);
2333
- }),
2334
- (u.prototype = Object.create(f.prototype)),
2335
- (u.prototype.constructor = u),
2336
- (u.prototype.__class__ = u),
2337
- (u.__cache__ = {}),
2338
- (t.Decoder = u),
2339
- (u.prototype.DecodeArrayToPointCloud =
2340
- u.prototype.DecodeArrayToPointCloud =
2341
- function (e, r, n) {
2342
- var o = this.ptr;
2343
- return (
2344
- d.prepare(),
2345
- typeof e == "object" && (e = at(e)),
2346
- r && typeof r == "object" && (r = r.ptr),
2347
- n && typeof n == "object" && (n = n.ptr),
2348
- G(ir(o, e, r, n), v)
2349
- );
2350
- }),
2351
- (u.prototype.DecodeArrayToMesh = u.prototype.DecodeArrayToMesh =
2352
- function (e, r, n) {
2353
- var o = this.ptr;
2354
- return (
2355
- d.prepare(),
2356
- typeof e == "object" && (e = at(e)),
2357
- r && typeof r == "object" && (r = r.ptr),
2358
- n && typeof n == "object" && (n = n.ptr),
2359
- G(ar(o, e, r, n), v)
2360
- );
2361
- }),
2362
- (u.prototype.GetAttributeId = u.prototype.GetAttributeId =
2363
- function (e, r) {
2364
- var n = this.ptr;
2365
- return (
2366
- e && typeof e == "object" && (e = e.ptr),
2367
- r && typeof r == "object" && (r = r.ptr),
2368
- pr(n, e, r)
2369
- );
2370
- }),
2371
- (u.prototype.GetAttributeIdByName = u.prototype.GetAttributeIdByName =
2372
- function (e, r) {
2373
- var n = this.ptr;
2374
- return (
2375
- d.prepare(),
2376
- e && typeof e == "object" && (e = e.ptr),
2377
- (r = r && typeof r == "object" ? r.ptr : V(r)),
2378
- ur(n, e, r)
2379
- );
2380
- }),
2381
- (u.prototype.GetAttributeIdByMetadataEntry =
2382
- u.prototype.GetAttributeIdByMetadataEntry =
2383
- function (e, r, n) {
2384
- var o = this.ptr;
2385
- return (
2386
- d.prepare(),
2387
- e && typeof e == "object" && (e = e.ptr),
2388
- (r = r && typeof r == "object" ? r.ptr : V(r)),
2389
- (n = n && typeof n == "object" ? n.ptr : V(n)),
2390
- sr(o, e, r, n)
2391
- );
2392
- }),
2393
- (u.prototype.GetAttribute = u.prototype.GetAttribute =
2394
- function (e, r) {
2395
- var n = this.ptr;
2396
- return (
2397
- e && typeof e == "object" && (e = e.ptr),
2398
- r && typeof r == "object" && (r = r.ptr),
2399
- G(cr(n, e, r), A)
2400
- );
2401
- }),
2402
- (u.prototype.GetAttributeByUniqueId =
2403
- u.prototype.GetAttributeByUniqueId =
2404
- function (e, r) {
2405
- var n = this.ptr;
2406
- return (
2407
- e && typeof e == "object" && (e = e.ptr),
2408
- r && typeof r == "object" && (r = r.ptr),
2409
- G(yr(n, e, r), A)
2410
- );
2411
- }),
2412
- (u.prototype.GetMetadata = u.prototype.GetMetadata =
2413
- function (e) {
2414
- var r = this.ptr;
2415
- return (e && typeof e == "object" && (e = e.ptr), G(lr(r, e), W));
2416
- }),
2417
- (u.prototype.GetAttributeMetadata = u.prototype.GetAttributeMetadata =
2418
- function (e, r) {
2419
- var n = this.ptr;
2420
- return (
2421
- e && typeof e == "object" && (e = e.ptr),
2422
- r && typeof r == "object" && (r = r.ptr),
2423
- G(mr(n, e, r), W)
2424
- );
2425
- }),
2426
- (u.prototype.GetFaceFromMesh = u.prototype.GetFaceFromMesh =
2427
- function (e, r, n) {
2428
- var o = this.ptr;
2429
- return (
2430
- e && typeof e == "object" && (e = e.ptr),
2431
- r && typeof r == "object" && (r = r.ptr),
2432
- n && typeof n == "object" && (n = n.ptr),
2433
- !!fr(o, e, r, n)
2434
- );
2435
- }),
2436
- (u.prototype.GetTriangleStripsFromMesh =
2437
- u.prototype.GetTriangleStripsFromMesh =
2438
- function (e, r) {
2439
- var n = this.ptr;
2440
- return (
2441
- e && typeof e == "object" && (e = e.ptr),
2442
- r && typeof r == "object" && (r = r.ptr),
2443
- dr(n, e, r)
2444
- );
2445
- }),
2446
- (u.prototype.GetTrianglesUInt16Array =
2447
- u.prototype.GetTrianglesUInt16Array =
2448
- function (e, r, n) {
2449
- var o = this.ptr;
2450
- return (
2451
- e && typeof e == "object" && (e = e.ptr),
2452
- r && typeof r == "object" && (r = r.ptr),
2453
- n && typeof n == "object" && (n = n.ptr),
2454
- !!br(o, e, r, n)
2455
- );
2456
- }),
2457
- (u.prototype.GetTrianglesUInt32Array =
2458
- u.prototype.GetTrianglesUInt32Array =
2459
- function (e, r, n) {
2460
- var o = this.ptr;
2461
- return (
2462
- e && typeof e == "object" && (e = e.ptr),
2463
- r && typeof r == "object" && (r = r.ptr),
2464
- n && typeof n == "object" && (n = n.ptr),
2465
- !!hr(o, e, r, n)
2466
- );
2467
- }),
2468
- (u.prototype.GetAttributeFloat = u.prototype.GetAttributeFloat =
2469
- function (e, r, n) {
2470
- var o = this.ptr;
2471
- return (
2472
- e && typeof e == "object" && (e = e.ptr),
2473
- r && typeof r == "object" && (r = r.ptr),
2474
- n && typeof n == "object" && (n = n.ptr),
2475
- !!Ar(o, e, r, n)
2476
- );
2477
- }),
2478
- (u.prototype.GetAttributeFloatForAllPoints =
2479
- u.prototype.GetAttributeFloatForAllPoints =
2480
- function (e, r, n) {
2481
- var o = this.ptr;
2482
- return (
2483
- e && typeof e == "object" && (e = e.ptr),
2484
- r && typeof r == "object" && (r = r.ptr),
2485
- n && typeof n == "object" && (n = n.ptr),
2486
- !!Tr(o, e, r, n)
2487
- );
2488
- }),
2489
- (u.prototype.GetAttributeIntForAllPoints =
2490
- u.prototype.GetAttributeIntForAllPoints =
2491
- function (e, r, n) {
2492
- var o = this.ptr;
2493
- return (
2494
- e && typeof e == "object" && (e = e.ptr),
2495
- r && typeof r == "object" && (r = r.ptr),
2496
- n && typeof n == "object" && (n = n.ptr),
2497
- !!Dr(o, e, r, n)
2498
- );
2499
- }),
2500
- (u.prototype.GetAttributeInt8ForAllPoints =
2501
- u.prototype.GetAttributeInt8ForAllPoints =
2502
- function (e, r, n) {
2503
- var o = this.ptr;
2504
- return (
2505
- e && typeof e == "object" && (e = e.ptr),
2506
- r && typeof r == "object" && (r = r.ptr),
2507
- n && typeof n == "object" && (n = n.ptr),
2508
- !!Ir(o, e, r, n)
2509
- );
2510
- }),
2511
- (u.prototype.GetAttributeUInt8ForAllPoints =
2512
- u.prototype.GetAttributeUInt8ForAllPoints =
2513
- function (e, r, n) {
2514
- var o = this.ptr;
2515
- return (
2516
- e && typeof e == "object" && (e = e.ptr),
2517
- r && typeof r == "object" && (r = r.ptr),
2518
- n && typeof n == "object" && (n = n.ptr),
2519
- !!gr(o, e, r, n)
2520
- );
2521
- }),
2522
- (u.prototype.GetAttributeInt16ForAllPoints =
2523
- u.prototype.GetAttributeInt16ForAllPoints =
2524
- function (e, r, n) {
2525
- var o = this.ptr;
2526
- return (
2527
- e && typeof e == "object" && (e = e.ptr),
2528
- r && typeof r == "object" && (r = r.ptr),
2529
- n && typeof n == "object" && (n = n.ptr),
2530
- !!vr(o, e, r, n)
2531
- );
2532
- }),
2533
- (u.prototype.GetAttributeUInt16ForAllPoints =
2534
- u.prototype.GetAttributeUInt16ForAllPoints =
2535
- function (e, r, n) {
2536
- var o = this.ptr;
2537
- return (
2538
- e && typeof e == "object" && (e = e.ptr),
2539
- r && typeof r == "object" && (r = r.ptr),
2540
- n && typeof n == "object" && (n = n.ptr),
2541
- !!Er(o, e, r, n)
2542
- );
2543
- }),
2544
- (u.prototype.GetAttributeInt32ForAllPoints =
2545
- u.prototype.GetAttributeInt32ForAllPoints =
2546
- function (e, r, n) {
2547
- var o = this.ptr;
2548
- return (
2549
- e && typeof e == "object" && (e = e.ptr),
2550
- r && typeof r == "object" && (r = r.ptr),
2551
- n && typeof n == "object" && (n = n.ptr),
2552
- !!Gr(o, e, r, n)
2553
- );
2554
- }),
2555
- (u.prototype.GetAttributeUInt32ForAllPoints =
2556
- u.prototype.GetAttributeUInt32ForAllPoints =
2557
- function (e, r, n) {
2558
- var o = this.ptr;
2559
- return (
2560
- e && typeof e == "object" && (e = e.ptr),
2561
- r && typeof r == "object" && (r = r.ptr),
2562
- n && typeof n == "object" && (n = n.ptr),
2563
- !!Or(o, e, r, n)
2564
- );
2565
- }),
2566
- (u.prototype.GetAttributeDataArrayForAllPoints =
2567
- u.prototype.GetAttributeDataArrayForAllPoints =
2568
- function (e, r, n, o, m) {
2569
- var b = this.ptr;
2570
- return (
2571
- e && typeof e == "object" && (e = e.ptr),
2572
- r && typeof r == "object" && (r = r.ptr),
2573
- n && typeof n == "object" && (n = n.ptr),
2574
- o && typeof o == "object" && (o = o.ptr),
2575
- m && typeof m == "object" && (m = m.ptr),
2576
- !!jr(b, e, r, n, o, m)
2577
- );
2578
- }),
2579
- (u.prototype.SkipAttributeTransform =
2580
- u.prototype.SkipAttributeTransform =
2581
- function (e) {
2582
- var r = this.ptr;
2583
- (e && typeof e == "object" && (e = e.ptr), Pr(r, e));
2584
- }),
2585
- (u.prototype.GetEncodedGeometryType_Deprecated =
2586
- u.prototype.GetEncodedGeometryType_Deprecated =
2587
- function (e) {
2588
- var r = this.ptr;
2589
- return (e && typeof e == "object" && (e = e.ptr), Rr(r, e));
2590
- }),
2591
- (u.prototype.DecodeBufferToPointCloud =
2592
- u.prototype.DecodeBufferToPointCloud =
2593
- function (e, r) {
2594
- var n = this.ptr;
2595
- return (
2596
- e && typeof e == "object" && (e = e.ptr),
2597
- r && typeof r == "object" && (r = r.ptr),
2598
- G(Sr(n, e, r), v)
2599
- );
2600
- }),
2601
- (u.prototype.DecodeBufferToMesh = u.prototype.DecodeBufferToMesh =
2602
- function (e, r) {
2603
- var n = this.ptr;
2604
- return (
2605
- e && typeof e == "object" && (e = e.ptr),
2606
- r && typeof r == "object" && (r = r.ptr),
2607
- G(Mr(n, e, r), v)
2608
- );
2609
- }),
2610
- (u.prototype.__destroy__ = u.prototype.__destroy__ =
2611
- function () {
2612
- Nr(this.ptr);
2613
- }),
2614
- (function () {
2615
- function e() {
2616
- ((t.ATTRIBUTE_INVALID_TRANSFORM = Ur()),
2617
- (t.ATTRIBUTE_NO_TRANSFORM = Fr()),
2618
- (t.ATTRIBUTE_QUANTIZATION_TRANSFORM = Lr()),
2619
- (t.ATTRIBUTE_OCTAHEDRON_TRANSFORM = Cr()),
2620
- (t.INVALID = wr()),
2621
- (t.POSITION = zr()),
2622
- (t.NORMAL = Vr()),
2623
- (t.COLOR = Br()),
2624
- (t.TEX_COORD = Wr()),
2625
- (t.GENERIC = Qr()),
2626
- (t.INVALID_GEOMETRY_TYPE = xr()),
2627
- (t.POINT_CLOUD = Yr()),
2628
- (t.TRIANGULAR_MESH = Hr()),
2629
- (t.DT_INVALID = qr()),
2630
- (t.DT_INT8 = kr()),
2631
- (t.DT_UINT8 = Xr()),
2632
- (t.DT_INT16 = Kr()),
2633
- (t.DT_UINT16 = Jr()),
2634
- (t.DT_INT32 = $r()),
2635
- (t.DT_UINT32 = Zr()),
2636
- (t.DT_INT64 = tn()),
2637
- (t.DT_UINT64 = en()),
2638
- (t.DT_FLOAT32 = rn()),
2639
- (t.DT_FLOAT64 = nn()),
2640
- (t.DT_BOOL = on()),
2641
- (t.DT_TYPES_COUNT = _n()),
2642
- (t.OK = an()),
2643
- (t.DRACO_ERROR = pn()),
2644
- (t.IO_ERROR = un()),
2645
- (t.INVALID_PARAMETER = sn()),
2646
- (t.UNSUPPORTED_VERSION = cn()),
2647
- (t.UNKNOWN_VERSION = yn()));
2648
- }
2649
- Rt ? e() : ct.unshift(e);
2650
- })(),
2651
- typeof t.onModuleParsed == "function" && t.onModuleParsed(),
2652
- (t.Decoder.prototype.GetEncodedGeometryType = function (e) {
2653
- if (e.__class__ && e.__class__ === t.DecoderBuffer)
2654
- return t.Decoder.prototype.GetEncodedGeometryType_Deprecated(e);
2655
- if (8 > e.byteLength) return t.INVALID_GEOMETRY_TYPE;
2656
- switch (e[7]) {
2657
- case 0:
2658
- return t.POINT_CLOUD;
2659
- case 1:
2660
- return t.TRIANGULAR_MESH;
2661
- default:
2662
- return t.INVALID_GEOMETRY_TYPE;
2663
- }
2664
- }),
2665
- c.ready
2666
- );
2667
- }
2668
- );
2669
- })();
2670
- typeof nt == "object" && typeof bt == "object"
2671
- ? (bt.exports = dt)
2672
- : typeof define == "function" && define.amd
2673
- ? define([], function () {
2674
- return dt;
2675
- })
2676
- : typeof nt == "object" && (nt.DracoDecoderModule = dt);
2677
- });
2678
- export { Dn as a };