create-swdg-frontend 0.1.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 (427) hide show
  1. package/README.md +39 -0
  2. package/bin/index.js +248 -0
  3. package/package.json +29 -0
  4. package/template/.husky/commit-msg +42 -0
  5. package/template/.husky/pre-commit +2 -0
  6. package/template/.husky/prepare-commit-msg +1 -0
  7. package/template/.lintstagedrc +5 -0
  8. package/template/.prettierignore +26 -0
  9. package/template/.prettierrc.cjs +10 -0
  10. package/template/.stylelintignore +1 -0
  11. package/template/.stylelintrc.json +6 -0
  12. package/template/README.md +36 -0
  13. package/template/commitlint.config.cjs +64 -0
  14. package/template/eslint.config.js +96 -0
  15. package/template/index.html +17 -0
  16. package/template/interface/user.ts +5 -0
  17. package/template/package.json +84 -0
  18. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1012 -0
  19. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1012 -0
  20. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1012 -0
  21. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1012 -0
  22. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1012 -0
  23. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1012 -0
  24. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1012 -0
  25. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1012 -0
  26. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1012 -0
  27. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1012 -0
  28. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1012 -0
  29. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1012 -0
  30. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1012 -0
  31. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1012 -0
  32. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1012 -0
  33. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1012 -0
  34. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1012 -0
  35. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1012 -0
  36. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1012 -0
  37. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1012 -0
  38. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_27.json +438 -0
  39. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1012 -0
  40. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1012 -0
  41. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1012 -0
  42. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1012 -0
  43. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1012 -0
  44. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1012 -0
  45. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1012 -0
  46. package/template/public/Cesium1.119/Assets/Images/bing_maps_credit.png +0 -0
  47. package/template/public/Cesium1.119/Assets/Images/cesium_credit.png +0 -0
  48. package/template/public/Cesium1.119/Assets/Images/google_earth_credit.png +0 -0
  49. package/template/public/Cesium1.119/Assets/Images/ion-credit.png +0 -0
  50. package/template/public/Cesium1.119/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
  51. package/template/public/Cesium1.119/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
  52. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  53. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  54. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  55. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  56. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  57. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  58. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  59. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  60. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  61. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  62. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  63. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  64. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  65. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  66. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  67. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  68. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  69. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  70. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  71. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  72. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  73. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  74. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  75. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  76. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  77. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  78. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  79. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  80. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  81. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  82. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  83. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  84. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  85. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  86. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  87. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  88. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  89. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  90. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  91. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  92. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  93. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  94. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
  95. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  96. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  97. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  98. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  99. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  100. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  101. package/template/public/Cesium1.119/Assets/Textures/maki/airfield.png +0 -0
  102. package/template/public/Cesium1.119/Assets/Textures/maki/airport.png +0 -0
  103. package/template/public/Cesium1.119/Assets/Textures/maki/alcohol-shop.png +0 -0
  104. package/template/public/Cesium1.119/Assets/Textures/maki/america-football.png +0 -0
  105. package/template/public/Cesium1.119/Assets/Textures/maki/art-gallery.png +0 -0
  106. package/template/public/Cesium1.119/Assets/Textures/maki/bakery.png +0 -0
  107. package/template/public/Cesium1.119/Assets/Textures/maki/bank.png +0 -0
  108. package/template/public/Cesium1.119/Assets/Textures/maki/bar.png +0 -0
  109. package/template/public/Cesium1.119/Assets/Textures/maki/baseball.png +0 -0
  110. package/template/public/Cesium1.119/Assets/Textures/maki/basketball.png +0 -0
  111. package/template/public/Cesium1.119/Assets/Textures/maki/beer.png +0 -0
  112. package/template/public/Cesium1.119/Assets/Textures/maki/bicycle.png +0 -0
  113. package/template/public/Cesium1.119/Assets/Textures/maki/building.png +0 -0
  114. package/template/public/Cesium1.119/Assets/Textures/maki/bus.png +0 -0
  115. package/template/public/Cesium1.119/Assets/Textures/maki/cafe.png +0 -0
  116. package/template/public/Cesium1.119/Assets/Textures/maki/camera.png +0 -0
  117. package/template/public/Cesium1.119/Assets/Textures/maki/campsite.png +0 -0
  118. package/template/public/Cesium1.119/Assets/Textures/maki/car.png +0 -0
  119. package/template/public/Cesium1.119/Assets/Textures/maki/cemetery.png +0 -0
  120. package/template/public/Cesium1.119/Assets/Textures/maki/cesium.png +0 -0
  121. package/template/public/Cesium1.119/Assets/Textures/maki/chemist.png +0 -0
  122. package/template/public/Cesium1.119/Assets/Textures/maki/cinema.png +0 -0
  123. package/template/public/Cesium1.119/Assets/Textures/maki/circle-stroked.png +0 -0
  124. package/template/public/Cesium1.119/Assets/Textures/maki/circle.png +0 -0
  125. package/template/public/Cesium1.119/Assets/Textures/maki/city.png +0 -0
  126. package/template/public/Cesium1.119/Assets/Textures/maki/clothing-store.png +0 -0
  127. package/template/public/Cesium1.119/Assets/Textures/maki/college.png +0 -0
  128. package/template/public/Cesium1.119/Assets/Textures/maki/commercial.png +0 -0
  129. package/template/public/Cesium1.119/Assets/Textures/maki/cricket.png +0 -0
  130. package/template/public/Cesium1.119/Assets/Textures/maki/cross.png +0 -0
  131. package/template/public/Cesium1.119/Assets/Textures/maki/dam.png +0 -0
  132. package/template/public/Cesium1.119/Assets/Textures/maki/danger.png +0 -0
  133. package/template/public/Cesium1.119/Assets/Textures/maki/disability.png +0 -0
  134. package/template/public/Cesium1.119/Assets/Textures/maki/dog-park.png +0 -0
  135. package/template/public/Cesium1.119/Assets/Textures/maki/embassy.png +0 -0
  136. package/template/public/Cesium1.119/Assets/Textures/maki/emergency-telephone.png +0 -0
  137. package/template/public/Cesium1.119/Assets/Textures/maki/entrance.png +0 -0
  138. package/template/public/Cesium1.119/Assets/Textures/maki/farm.png +0 -0
  139. package/template/public/Cesium1.119/Assets/Textures/maki/fast-food.png +0 -0
  140. package/template/public/Cesium1.119/Assets/Textures/maki/ferry.png +0 -0
  141. package/template/public/Cesium1.119/Assets/Textures/maki/fire-station.png +0 -0
  142. package/template/public/Cesium1.119/Assets/Textures/maki/fuel.png +0 -0
  143. package/template/public/Cesium1.119/Assets/Textures/maki/garden.png +0 -0
  144. package/template/public/Cesium1.119/Assets/Textures/maki/gift.png +0 -0
  145. package/template/public/Cesium1.119/Assets/Textures/maki/golf.png +0 -0
  146. package/template/public/Cesium1.119/Assets/Textures/maki/grocery.png +0 -0
  147. package/template/public/Cesium1.119/Assets/Textures/maki/hairdresser.png +0 -0
  148. package/template/public/Cesium1.119/Assets/Textures/maki/harbor.png +0 -0
  149. package/template/public/Cesium1.119/Assets/Textures/maki/heart.png +0 -0
  150. package/template/public/Cesium1.119/Assets/Textures/maki/heliport.png +0 -0
  151. package/template/public/Cesium1.119/Assets/Textures/maki/hospital.png +0 -0
  152. package/template/public/Cesium1.119/Assets/Textures/maki/ice-cream.png +0 -0
  153. package/template/public/Cesium1.119/Assets/Textures/maki/industrial.png +0 -0
  154. package/template/public/Cesium1.119/Assets/Textures/maki/land-use.png +0 -0
  155. package/template/public/Cesium1.119/Assets/Textures/maki/laundry.png +0 -0
  156. package/template/public/Cesium1.119/Assets/Textures/maki/library.png +0 -0
  157. package/template/public/Cesium1.119/Assets/Textures/maki/lighthouse.png +0 -0
  158. package/template/public/Cesium1.119/Assets/Textures/maki/lodging.png +0 -0
  159. package/template/public/Cesium1.119/Assets/Textures/maki/logging.png +0 -0
  160. package/template/public/Cesium1.119/Assets/Textures/maki/london-underground.png +0 -0
  161. package/template/public/Cesium1.119/Assets/Textures/maki/marker-stroked.png +0 -0
  162. package/template/public/Cesium1.119/Assets/Textures/maki/marker.png +0 -0
  163. package/template/public/Cesium1.119/Assets/Textures/maki/minefield.png +0 -0
  164. package/template/public/Cesium1.119/Assets/Textures/maki/mobilephone.png +0 -0
  165. package/template/public/Cesium1.119/Assets/Textures/maki/monument.png +0 -0
  166. package/template/public/Cesium1.119/Assets/Textures/maki/museum.png +0 -0
  167. package/template/public/Cesium1.119/Assets/Textures/maki/music.png +0 -0
  168. package/template/public/Cesium1.119/Assets/Textures/maki/oil-well.png +0 -0
  169. package/template/public/Cesium1.119/Assets/Textures/maki/park.png +0 -0
  170. package/template/public/Cesium1.119/Assets/Textures/maki/park2.png +0 -0
  171. package/template/public/Cesium1.119/Assets/Textures/maki/parking-garage.png +0 -0
  172. package/template/public/Cesium1.119/Assets/Textures/maki/parking.png +0 -0
  173. package/template/public/Cesium1.119/Assets/Textures/maki/pharmacy.png +0 -0
  174. package/template/public/Cesium1.119/Assets/Textures/maki/pitch.png +0 -0
  175. package/template/public/Cesium1.119/Assets/Textures/maki/place-of-worship.png +0 -0
  176. package/template/public/Cesium1.119/Assets/Textures/maki/playground.png +0 -0
  177. package/template/public/Cesium1.119/Assets/Textures/maki/police.png +0 -0
  178. package/template/public/Cesium1.119/Assets/Textures/maki/polling-place.png +0 -0
  179. package/template/public/Cesium1.119/Assets/Textures/maki/post.png +0 -0
  180. package/template/public/Cesium1.119/Assets/Textures/maki/prison.png +0 -0
  181. package/template/public/Cesium1.119/Assets/Textures/maki/rail-above.png +0 -0
  182. package/template/public/Cesium1.119/Assets/Textures/maki/rail-light.png +0 -0
  183. package/template/public/Cesium1.119/Assets/Textures/maki/rail-metro.png +0 -0
  184. package/template/public/Cesium1.119/Assets/Textures/maki/rail-underground.png +0 -0
  185. package/template/public/Cesium1.119/Assets/Textures/maki/rail.png +0 -0
  186. package/template/public/Cesium1.119/Assets/Textures/maki/religious-christian.png +0 -0
  187. package/template/public/Cesium1.119/Assets/Textures/maki/religious-jewish.png +0 -0
  188. package/template/public/Cesium1.119/Assets/Textures/maki/religious-muslim.png +0 -0
  189. package/template/public/Cesium1.119/Assets/Textures/maki/restaurant.png +0 -0
  190. package/template/public/Cesium1.119/Assets/Textures/maki/roadblock.png +0 -0
  191. package/template/public/Cesium1.119/Assets/Textures/maki/rocket.png +0 -0
  192. package/template/public/Cesium1.119/Assets/Textures/maki/school.png +0 -0
  193. package/template/public/Cesium1.119/Assets/Textures/maki/scooter.png +0 -0
  194. package/template/public/Cesium1.119/Assets/Textures/maki/shop.png +0 -0
  195. package/template/public/Cesium1.119/Assets/Textures/maki/skiing.png +0 -0
  196. package/template/public/Cesium1.119/Assets/Textures/maki/slaughterhouse.png +0 -0
  197. package/template/public/Cesium1.119/Assets/Textures/maki/soccer.png +0 -0
  198. package/template/public/Cesium1.119/Assets/Textures/maki/square-stroked.png +0 -0
  199. package/template/public/Cesium1.119/Assets/Textures/maki/square.png +0 -0
  200. package/template/public/Cesium1.119/Assets/Textures/maki/star-stroked.png +0 -0
  201. package/template/public/Cesium1.119/Assets/Textures/maki/star.png +0 -0
  202. package/template/public/Cesium1.119/Assets/Textures/maki/suitcase.png +0 -0
  203. package/template/public/Cesium1.119/Assets/Textures/maki/swimming.png +0 -0
  204. package/template/public/Cesium1.119/Assets/Textures/maki/telephone.png +0 -0
  205. package/template/public/Cesium1.119/Assets/Textures/maki/tennis.png +0 -0
  206. package/template/public/Cesium1.119/Assets/Textures/maki/theatre.png +0 -0
  207. package/template/public/Cesium1.119/Assets/Textures/maki/toilets.png +0 -0
  208. package/template/public/Cesium1.119/Assets/Textures/maki/town-hall.png +0 -0
  209. package/template/public/Cesium1.119/Assets/Textures/maki/town.png +0 -0
  210. package/template/public/Cesium1.119/Assets/Textures/maki/triangle-stroked.png +0 -0
  211. package/template/public/Cesium1.119/Assets/Textures/maki/triangle.png +0 -0
  212. package/template/public/Cesium1.119/Assets/Textures/maki/village.png +0 -0
  213. package/template/public/Cesium1.119/Assets/Textures/maki/warehouse.png +0 -0
  214. package/template/public/Cesium1.119/Assets/Textures/maki/waste-basket.png +0 -0
  215. package/template/public/Cesium1.119/Assets/Textures/maki/water.png +0 -0
  216. package/template/public/Cesium1.119/Assets/Textures/maki/wetland.png +0 -0
  217. package/template/public/Cesium1.119/Assets/Textures/maki/zoo.png +0 -0
  218. package/template/public/Cesium1.119/Assets/Textures/moonSmall.jpg +0 -0
  219. package/template/public/Cesium1.119/Assets/Textures/pin.svg +1 -0
  220. package/template/public/Cesium1.119/Assets/Textures/waterNormals.jpg +0 -0
  221. package/template/public/Cesium1.119/Assets/Textures/waterNormalsSmall.jpg +0 -0
  222. package/template/public/Cesium1.119/Assets/approximateTerrainHeights.json +10924 -0
  223. package/template/public/Cesium1.119/Cesium.js +185772 -0
  224. package/template/public/Cesium1.119/ThirdParty/Workers/package.json +3 -0
  225. package/template/public/Cesium1.119/ThirdParty/Workers/pako_deflate.min.js +1681 -0
  226. package/template/public/Cesium1.119/ThirdParty/Workers/pako_inflate.min.js +1489 -0
  227. package/template/public/Cesium1.119/ThirdParty/Workers/z-worker-pako.js +1070 -0
  228. package/template/public/Cesium1.119/ThirdParty/basis_transcoder.wasm +0 -0
  229. package/template/public/Cesium1.119/ThirdParty/draco_decoder.wasm +0 -0
  230. package/template/public/Cesium1.119/ThirdParty/google-earth-dbroot-parser.js +11424 -0
  231. package/template/public/Cesium1.119/Widgets/Animation/Animation.css +127 -0
  232. package/template/public/Cesium1.119/Widgets/Animation/lighter.css +78 -0
  233. package/template/public/Cesium1.119/Widgets/BaseLayerPicker/BaseLayerPicker.css +112 -0
  234. package/template/public/Cesium1.119/Widgets/BaseLayerPicker/lighter.css +28 -0
  235. package/template/public/Cesium1.119/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +104 -0
  236. package/template/public/Cesium1.119/Widgets/CesiumInspector/CesiumInspector.css +115 -0
  237. package/template/public/Cesium1.119/Widgets/CesiumWidget/CesiumWidget.css +119 -0
  238. package/template/public/Cesium1.119/Widgets/CesiumWidget/lighter.css +14 -0
  239. package/template/public/Cesium1.119/Widgets/FullscreenButton/FullscreenButton.css +8 -0
  240. package/template/public/Cesium1.119/Widgets/Geocoder/Geocoder.css +72 -0
  241. package/template/public/Cesium1.119/Widgets/Geocoder/lighter.css +17 -0
  242. package/template/public/Cesium1.119/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
  243. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  244. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  245. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  246. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
  247. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
  248. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
  249. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
  250. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
  251. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  252. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
  253. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
  254. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
  255. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
  256. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
  257. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
  258. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  259. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  260. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
  261. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
  262. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
  263. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
  264. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
  265. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
  266. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Touch.svg +120 -0
  267. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
  268. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
  269. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
  270. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
  271. package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  272. package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
  273. package/template/public/Cesium1.119/Widgets/Images/TimelineIcons.png +0 -0
  274. package/template/public/Cesium1.119/Widgets/Images/info-loading.gif +0 -0
  275. package/template/public/Cesium1.119/Widgets/InfoBox/InfoBox.css +94 -0
  276. package/template/public/Cesium1.119/Widgets/InfoBox/InfoBoxDescription.css +178 -0
  277. package/template/public/Cesium1.119/Widgets/NavigationHelpButton/NavigationHelpButton.css +95 -0
  278. package/template/public/Cesium1.119/Widgets/NavigationHelpButton/lighter.css +38 -0
  279. package/template/public/Cesium1.119/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
  280. package/template/public/Cesium1.119/Widgets/ProjectionPicker/ProjectionPicker.css +46 -0
  281. package/template/public/Cesium1.119/Widgets/SceneModePicker/SceneModePicker.css +72 -0
  282. package/template/public/Cesium1.119/Widgets/SelectionIndicator/SelectionIndicator.css +22 -0
  283. package/template/public/Cesium1.119/Widgets/Timeline/Timeline.css +103 -0
  284. package/template/public/Cesium1.119/Widgets/Timeline/lighter.css +18 -0
  285. package/template/public/Cesium1.119/Widgets/VRButton/VRButton.css +8 -0
  286. package/template/public/Cesium1.119/Widgets/Viewer/Viewer.css +107 -0
  287. package/template/public/Cesium1.119/Widgets/VoxelInspector/VoxelInspector.css +18 -0
  288. package/template/public/Cesium1.119/Widgets/lighter.css +246 -0
  289. package/template/public/Cesium1.119/Widgets/lighterShared.css +46 -0
  290. package/template/public/Cesium1.119/Widgets/shared.css +103 -0
  291. package/template/public/Cesium1.119/Widgets/widgets.css +1376 -0
  292. package/template/public/Cesium1.119/Workers/chunk-3C7WC463.js +611 -0
  293. package/template/public/Cesium1.119/Workers/chunk-3JW36LZF.js +166 -0
  294. package/template/public/Cesium1.119/Workers/chunk-4BTGX3WJ.js +264 -0
  295. package/template/public/Cesium1.119/Workers/chunk-4WRMLZA7.js +128 -0
  296. package/template/public/Cesium1.119/Workers/chunk-7Z5IIKOJ.js +8046 -0
  297. package/template/public/Cesium1.119/Workers/chunk-ABGXSJNX.js +341 -0
  298. package/template/public/Cesium1.119/Workers/chunk-AMQUWUD4.js +269 -0
  299. package/template/public/Cesium1.119/Workers/chunk-ATPDRNKI.js +28 -0
  300. package/template/public/Cesium1.119/Workers/chunk-BMHPVZ4H.js +199 -0
  301. package/template/public/Cesium1.119/Workers/chunk-CBEO3SHS.js +1102 -0
  302. package/template/public/Cesium1.119/Workers/chunk-CV7DLCWG.js +485 -0
  303. package/template/public/Cesium1.119/Workers/chunk-DQO6B4EQ.js +76 -0
  304. package/template/public/Cesium1.119/Workers/chunk-ED3TLP6D.js +91 -0
  305. package/template/public/Cesium1.119/Workers/chunk-EFZKO5RU.js +42 -0
  306. package/template/public/Cesium1.119/Workers/chunk-F5IHREXR.js +2678 -0
  307. package/template/public/Cesium1.119/Workers/chunk-FKRG4HDY.js +516 -0
  308. package/template/public/Cesium1.119/Workers/chunk-FYOYUPXG.js +399 -0
  309. package/template/public/Cesium1.119/Workers/chunk-GFN7NNSJ.js +65 -0
  310. package/template/public/Cesium1.119/Workers/chunk-HEEMUCG6.js +92 -0
  311. package/template/public/Cesium1.119/Workers/chunk-HSWA4OEL.js +672 -0
  312. package/template/public/Cesium1.119/Workers/chunk-IAC5XVZV.js +287 -0
  313. package/template/public/Cesium1.119/Workers/chunk-II4VNKYR.js +50 -0
  314. package/template/public/Cesium1.119/Workers/chunk-ILGBPNP6.js +28 -0
  315. package/template/public/Cesium1.119/Workers/chunk-IRH46BDL.js +124 -0
  316. package/template/public/Cesium1.119/Workers/chunk-IUA6FAOZ.js +31 -0
  317. package/template/public/Cesium1.119/Workers/chunk-K4ASOM65.js +331 -0
  318. package/template/public/Cesium1.119/Workers/chunk-KCIZBVXL.js +258 -0
  319. package/template/public/Cesium1.119/Workers/chunk-KF5NF354.js +162 -0
  320. package/template/public/Cesium1.119/Workers/chunk-KRKI6AAO.js +773 -0
  321. package/template/public/Cesium1.119/Workers/chunk-KZNJOCYU.js +162 -0
  322. package/template/public/Cesium1.119/Workers/chunk-O5IJ3OGP.js +857 -0
  323. package/template/public/Cesium1.119/Workers/chunk-OO23RBLX.js +183 -0
  324. package/template/public/Cesium1.119/Workers/chunk-P37AI2DW.js +85 -0
  325. package/template/public/Cesium1.119/Workers/chunk-PDMQLSBL.js +108 -0
  326. package/template/public/Cesium1.119/Workers/chunk-PEYJTJPE.js +73 -0
  327. package/template/public/Cesium1.119/Workers/chunk-POASMU2N.js +2372 -0
  328. package/template/public/Cesium1.119/Workers/chunk-PXCJYT2S.js +73 -0
  329. package/template/public/Cesium1.119/Workers/chunk-Q6L7X3LP.js +538 -0
  330. package/template/public/Cesium1.119/Workers/chunk-QB3MDM4J.js +1670 -0
  331. package/template/public/Cesium1.119/Workers/chunk-R6KGAEF6.js +392 -0
  332. package/template/public/Cesium1.119/Workers/chunk-RXTBM4OI.js +57 -0
  333. package/template/public/Cesium1.119/Workers/chunk-SB224QGV.js +72 -0
  334. package/template/public/Cesium1.119/Workers/chunk-T6BE4RZK.js +37 -0
  335. package/template/public/Cesium1.119/Workers/chunk-TAMCUKAR.js +814 -0
  336. package/template/public/Cesium1.119/Workers/chunk-TMSETF7M.js +579 -0
  337. package/template/public/Cesium1.119/Workers/chunk-TOGHF3VN.js +376 -0
  338. package/template/public/Cesium1.119/Workers/chunk-UH2WFNTA.js +111 -0
  339. package/template/public/Cesium1.119/Workers/chunk-V7JEDBOE.js +573 -0
  340. package/template/public/Cesium1.119/Workers/chunk-VBIROZR5.js +633 -0
  341. package/template/public/Cesium1.119/Workers/chunk-W23CU777.js +271 -0
  342. package/template/public/Cesium1.119/Workers/chunk-X5IHHI6X.js +173 -0
  343. package/template/public/Cesium1.119/Workers/chunk-XHX2UPDO.js +217 -0
  344. package/template/public/Cesium1.119/Workers/combineGeometry.js +53 -0
  345. package/template/public/Cesium1.119/Workers/createBoxGeometry.js +45 -0
  346. package/template/public/Cesium1.119/Workers/createBoxOutlineGeometry.js +189 -0
  347. package/template/public/Cesium1.119/Workers/createCircleGeometry.js +148 -0
  348. package/template/public/Cesium1.119/Workers/createCircleOutlineGeometry.js +105 -0
  349. package/template/public/Cesium1.119/Workers/createCoplanarPolygonGeometry.js +293 -0
  350. package/template/public/Cesium1.119/Workers/createCoplanarPolygonOutlineGeometry.js +143 -0
  351. package/template/public/Cesium1.119/Workers/createCorridorGeometry.js +830 -0
  352. package/template/public/Cesium1.119/Workers/createCorridorOutlineGeometry.js +417 -0
  353. package/template/public/Cesium1.119/Workers/createCylinderGeometry.js +47 -0
  354. package/template/public/Cesium1.119/Workers/createCylinderOutlineGeometry.js +170 -0
  355. package/template/public/Cesium1.119/Workers/createEllipseGeometry.js +58 -0
  356. package/template/public/Cesium1.119/Workers/createEllipseOutlineGeometry.js +51 -0
  357. package/template/public/Cesium1.119/Workers/createEllipsoidGeometry.js +46 -0
  358. package/template/public/Cesium1.119/Workers/createEllipsoidOutlineGeometry.js +45 -0
  359. package/template/public/Cesium1.119/Workers/createFrustumGeometry.js +45 -0
  360. package/template/public/Cesium1.119/Workers/createFrustumOutlineGeometry.js +164 -0
  361. package/template/public/Cesium1.119/Workers/createGeometry.js +159 -0
  362. package/template/public/Cesium1.119/Workers/createGroundPolylineGeometry.js +911 -0
  363. package/template/public/Cesium1.119/Workers/createPlaneGeometry.js +185 -0
  364. package/template/public/Cesium1.119/Workers/createPlaneOutlineGeometry.js +93 -0
  365. package/template/public/Cesium1.119/Workers/createPolygonGeometry.js +884 -0
  366. package/template/public/Cesium1.119/Workers/createPolygonOutlineGeometry.js +359 -0
  367. package/template/public/Cesium1.119/Workers/createPolylineGeometry.js +349 -0
  368. package/template/public/Cesium1.119/Workers/createPolylineVolumeGeometry.js +262 -0
  369. package/template/public/Cesium1.119/Workers/createPolylineVolumeOutlineGeometry.js +177 -0
  370. package/template/public/Cesium1.119/Workers/createRectangleGeometry.js +787 -0
  371. package/template/public/Cesium1.119/Workers/createRectangleOutlineGeometry.js +299 -0
  372. package/template/public/Cesium1.119/Workers/createSimplePolylineGeometry.js +294 -0
  373. package/template/public/Cesium1.119/Workers/createSphereGeometry.js +84 -0
  374. package/template/public/Cesium1.119/Workers/createSphereOutlineGeometry.js +83 -0
  375. package/template/public/Cesium1.119/Workers/createTaskProcessorWorker.js +28 -0
  376. package/template/public/Cesium1.119/Workers/createVectorTileClampedPolylines.js +289 -0
  377. package/template/public/Cesium1.119/Workers/createVectorTileGeometries.js +258 -0
  378. package/template/public/Cesium1.119/Workers/createVectorTilePoints.js +79 -0
  379. package/template/public/Cesium1.119/Workers/createVectorTilePolygons.js +275 -0
  380. package/template/public/Cesium1.119/Workers/createVectorTilePolylines.js +176 -0
  381. package/template/public/Cesium1.119/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +375 -0
  382. package/template/public/Cesium1.119/Workers/createVerticesFromHeightmap.js +1772 -0
  383. package/template/public/Cesium1.119/Workers/createVerticesFromQuantizedTerrainMesh.js +425 -0
  384. package/template/public/Cesium1.119/Workers/createWallGeometry.js +320 -0
  385. package/template/public/Cesium1.119/Workers/createWallOutlineGeometry.js +229 -0
  386. package/template/public/Cesium1.119/Workers/decodeDraco.js +227 -0
  387. package/template/public/Cesium1.119/Workers/decodeGoogleEarthEnterprisePacket.js +1836 -0
  388. package/template/public/Cesium1.119/Workers/decodeI3S.js +924 -0
  389. package/template/public/Cesium1.119/Workers/transcodeKTX2.js +3180 -0
  390. package/template/public/Cesium1.119/Workers/transferTypedArrayTest.js +34 -0
  391. package/template/public/Cesium1.119/Workers/upsampleQuantizedTerrainMesh.js +534 -0
  392. package/template/public/Cesium1.119/index.cjs +185632 -0
  393. package/template/public/Cesium1.119/index.js +182874 -0
  394. package/template/public/vite.svg +1 -0
  395. package/template/scripts/gen-api.cjs +178 -0
  396. package/template/src/App.vue +6 -0
  397. package/template/src/api/README.md +3 -0
  398. package/template/src/assets/favicon.svg +49 -0
  399. package/template/src/components/Body/index.vue +16 -0
  400. package/template/src/components/Header/index.vue +8 -0
  401. package/template/src/directive/focus.ts +9 -0
  402. package/template/src/layout/BasicLayout.vue +28 -0
  403. package/template/src/main.ts +33 -0
  404. package/template/src/router/index.ts +24 -0
  405. package/template/src/stores/README.md +3 -0
  406. package/template/src/stores/useCounter.ts +12 -0
  407. package/template/src/styles/alerts.less +85 -0
  408. package/template/src/styles/global.css +326 -0
  409. package/template/src/utils/alert.ts +58 -0
  410. package/template/src/utils/components.ts +21 -0
  411. package/template/src/utils/composables/useAlert.ts +14 -0
  412. package/template/src/views/Test/index.vue +23 -0
  413. package/template/src/views/index.vue +9 -0
  414. package/template/src/vite-env.d.ts +1 -0
  415. package/template/swdg/bin/index.js +23 -0
  416. package/template/swdg/package.json +27 -0
  417. package/template/tests/README.md +6 -0
  418. package/template/tests/e2e/README.md +3 -0
  419. package/template/tests/setup.ts +1 -0
  420. package/template/tests/unit/example.test.ts +7 -0
  421. package/template/tests/utils/helpers.ts +1 -0
  422. package/template/tsconfig.json +51 -0
  423. package/template/tsconfig.node.json +11 -0
  424. package/template/types/README.md +3 -0
  425. package/template/types/global.d.ts +9 -0
  426. package/template/vite.config.ts +75 -0
  427. package/template/vitest.config.ts +9 -0
@@ -0,0 +1,516 @@
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 $ } from "./chunk-SB224QGV.js";
27
+ import { a as b } from "./chunk-QB3MDM4J.js";
28
+ import { a as U } from "./chunk-P37AI2DW.js";
29
+ import { a as E } from "./chunk-T6BE4RZK.js";
30
+ import { c as z, d as L } from "./chunk-X5IHHI6X.js";
31
+ import { a as D, d as y } from "./chunk-TMSETF7M.js";
32
+ import { b as G } from "./chunk-7Z5IIKOJ.js";
33
+ import { a as k } from "./chunk-KZNJOCYU.js";
34
+ import { d as B } from "./chunk-POASMU2N.js";
35
+ import { a as v } from "./chunk-IUA6FAOZ.js";
36
+ import { a as F, b as I } from "./chunk-UH2WFNTA.js";
37
+ import { e as a } from "./chunk-PEYJTJPE.js";
38
+ function w(e, n, t) {
39
+ ((e = v(e, 0)),
40
+ (n = v(n, 0)),
41
+ (t = v(t, 0)),
42
+ (this.value = new Float32Array([e, n, t])));
43
+ }
44
+ Object.defineProperties(w.prototype, {
45
+ componentDatatype: {
46
+ get: function () {
47
+ return k.FLOAT;
48
+ },
49
+ },
50
+ componentsPerAttribute: {
51
+ get: function () {
52
+ return 3;
53
+ },
54
+ },
55
+ normalize: {
56
+ get: function () {
57
+ return !1;
58
+ },
59
+ },
60
+ });
61
+ w.fromCartesian3 = function (e) {
62
+ return (I.defined("offset", e), new w(e.x, e.y, e.z));
63
+ };
64
+ w.toValue = function (e, n) {
65
+ return (
66
+ I.defined("offset", e),
67
+ a(n) || (n = new Float32Array([e.x, e.y, e.z])),
68
+ (n[0] = e.x),
69
+ (n[1] = e.y),
70
+ (n[2] = e.z),
71
+ n
72
+ );
73
+ };
74
+ var j = w;
75
+ function K(e, n, t) {
76
+ let i = !t,
77
+ r = e.length,
78
+ c;
79
+ if (!i && r > 1) {
80
+ let o = e[0].modelMatrix;
81
+ for (c = 1; c < r; ++c)
82
+ if (!G.equals(o, e[c].modelMatrix)) {
83
+ i = !0;
84
+ break;
85
+ }
86
+ }
87
+ if (i)
88
+ for (c = 0; c < r; ++c)
89
+ a(e[c].geometry) && b.transformToWorldCoordinates(e[c]);
90
+ else G.multiplyTransformation(n, e[0].modelMatrix, n);
91
+ }
92
+ function P(e, n) {
93
+ let t = e.attributes,
94
+ i = t.position,
95
+ r = i.values.length / i.componentsPerAttribute;
96
+ t.batchId = new L({
97
+ componentDatatype: k.FLOAT,
98
+ componentsPerAttribute: 1,
99
+ values: new Float32Array(r),
100
+ });
101
+ let c = t.batchId.values;
102
+ for (let o = 0; o < r; ++o) c[o] = n;
103
+ }
104
+ function N(e) {
105
+ let n = e.length;
106
+ for (let t = 0; t < n; ++t) {
107
+ let i = e[t];
108
+ a(i.geometry)
109
+ ? P(i.geometry, t)
110
+ : a(i.westHemisphereGeometry) &&
111
+ a(i.eastHemisphereGeometry) &&
112
+ (P(i.westHemisphereGeometry, t), P(i.eastHemisphereGeometry, t));
113
+ }
114
+ }
115
+ function Q(e) {
116
+ let n = e.instances,
117
+ t = e.projection,
118
+ i = e.elementIndexUintSupported,
119
+ r = e.scene3DOnly,
120
+ c = e.vertexCacheOptimize,
121
+ o = e.compressVertices,
122
+ g = e.modelMatrix,
123
+ s,
124
+ u,
125
+ m,
126
+ p = n.length;
127
+ for (s = 0; s < p; ++s)
128
+ if (a(n[s].geometry)) {
129
+ m = n[s].geometry.primitiveType;
130
+ break;
131
+ }
132
+ for (s = 1; s < p; ++s)
133
+ if (a(n[s].geometry) && n[s].geometry.primitiveType !== m)
134
+ throw new F("All instance geometries must have the same primitiveType.");
135
+ if ((K(n, g, r), !r))
136
+ for (s = 0; s < p; ++s) a(n[s].geometry) && b.splitLongitude(n[s]);
137
+ if ((N(n), c))
138
+ for (s = 0; s < p; ++s) {
139
+ let f = n[s];
140
+ a(f.geometry)
141
+ ? (b.reorderForPostVertexCache(f.geometry),
142
+ b.reorderForPreVertexCache(f.geometry))
143
+ : a(f.westHemisphereGeometry) &&
144
+ a(f.eastHemisphereGeometry) &&
145
+ (b.reorderForPostVertexCache(f.westHemisphereGeometry),
146
+ b.reorderForPreVertexCache(f.westHemisphereGeometry),
147
+ b.reorderForPostVertexCache(f.eastHemisphereGeometry),
148
+ b.reorderForPreVertexCache(f.eastHemisphereGeometry));
149
+ }
150
+ let l = b.combineInstances(n);
151
+ for (p = l.length, s = 0; s < p; ++s) {
152
+ u = l[s];
153
+ let f = u.attributes;
154
+ if (r)
155
+ for (let d in f)
156
+ f.hasOwnProperty(d) &&
157
+ f[d].componentDatatype === k.DOUBLE &&
158
+ b.encodeAttribute(u, d, `${d}3DHigh`, `${d}3DLow`);
159
+ else
160
+ for (let d in f)
161
+ if (f.hasOwnProperty(d) && f[d].componentDatatype === k.DOUBLE) {
162
+ let h = `${d}3D`,
163
+ x = `${d}2D`;
164
+ (b.projectTo2D(u, d, h, x, t),
165
+ a(u.boundingSphere) &&
166
+ d === "position" &&
167
+ (u.boundingSphereCV = y.fromVertices(
168
+ u.attributes.position2D.values,
169
+ )),
170
+ b.encodeAttribute(u, h, `${h}High`, `${h}Low`),
171
+ b.encodeAttribute(u, x, `${x}High`, `${x}Low`));
172
+ }
173
+ o && b.compressVertices(u);
174
+ }
175
+ if (!i) {
176
+ let f = [];
177
+ for (p = l.length, s = 0; s < p; ++s)
178
+ ((u = l[s]), (f = f.concat(b.fitToUnsignedShortIndices(u))));
179
+ l = f;
180
+ }
181
+ return l;
182
+ }
183
+ function T(e, n, t, i) {
184
+ let r,
185
+ c,
186
+ o,
187
+ g = i.length - 1;
188
+ if (g >= 0) {
189
+ let u = i[g];
190
+ ((r = u.offset + u.count), (o = u.index), (c = t[o].indices.length));
191
+ } else ((r = 0), (o = 0), (c = t[o].indices.length));
192
+ let s = e.length;
193
+ for (let u = 0; u < s; ++u) {
194
+ let p = e[u][n];
195
+ if (!a(p)) continue;
196
+ let l = p.indices.length;
197
+ (r + l > c && ((r = 0), (c = t[++o].indices.length)),
198
+ i.push({ index: o, offset: r, count: l }),
199
+ (r += l));
200
+ }
201
+ }
202
+ function X(e, n) {
203
+ let t = [];
204
+ return (
205
+ T(e, "geometry", n, t),
206
+ T(e, "westHemisphereGeometry", n, t),
207
+ T(e, "eastHemisphereGeometry", n, t),
208
+ t
209
+ );
210
+ }
211
+ var S = {};
212
+ S.combineGeometry = function (e) {
213
+ let n,
214
+ t,
215
+ i = e.instances,
216
+ r = i.length,
217
+ c,
218
+ o,
219
+ g = !1;
220
+ r > 0 &&
221
+ ((n = Q(e)),
222
+ n.length > 0 &&
223
+ ((t = b.createAttributeLocations(n[0])),
224
+ e.createPickOffsets && (c = X(i, n))),
225
+ a(i[0].attributes) &&
226
+ a(i[0].attributes.offset) &&
227
+ ((o = new Array(r)), (g = !0)));
228
+ let s = new Array(r),
229
+ u = new Array(r);
230
+ for (let m = 0; m < r; ++m) {
231
+ let p = i[m],
232
+ l = p.geometry;
233
+ a(l) &&
234
+ ((s[m] = l.boundingSphere),
235
+ (u[m] = l.boundingSphereCV),
236
+ g && (o[m] = p.geometry.offsetAttribute));
237
+ let f = p.eastHemisphereGeometry,
238
+ d = p.westHemisphereGeometry;
239
+ a(f) &&
240
+ a(d) &&
241
+ (a(f.boundingSphere) &&
242
+ a(d.boundingSphere) &&
243
+ (s[m] = y.union(f.boundingSphere, d.boundingSphere)),
244
+ a(f.boundingSphereCV) &&
245
+ a(d.boundingSphereCV) &&
246
+ (u[m] = y.union(f.boundingSphereCV, d.boundingSphereCV)));
247
+ }
248
+ return {
249
+ geometries: n,
250
+ modelMatrix: e.modelMatrix,
251
+ attributeLocations: t,
252
+ pickOffsets: c,
253
+ offsetInstanceExtend: o,
254
+ boundingSpheres: s,
255
+ boundingSpheresCV: u,
256
+ };
257
+ };
258
+ function Y(e, n) {
259
+ let t = e.attributes;
260
+ for (let i in t)
261
+ if (t.hasOwnProperty(i)) {
262
+ let r = t[i];
263
+ a(r) && a(r.values) && n.push(r.values.buffer);
264
+ }
265
+ a(e.indices) && n.push(e.indices.buffer);
266
+ }
267
+ function Z(e, n) {
268
+ let t = e.length;
269
+ for (let i = 0; i < t; ++i) Y(e[i], n);
270
+ }
271
+ function _(e) {
272
+ let n = 1,
273
+ t = e.length;
274
+ for (let i = 0; i < t; i++) {
275
+ let r = e[i];
276
+ if ((++n, !a(r))) continue;
277
+ let c = r.attributes;
278
+ n += 7 + 2 * y.packedLength + (a(r.indices) ? r.indices.length : 0);
279
+ for (let o in c)
280
+ if (c.hasOwnProperty(o) && a(c[o])) {
281
+ let g = c[o];
282
+ n += 5 + g.values.length;
283
+ }
284
+ }
285
+ return n;
286
+ }
287
+ S.packCreateGeometryResults = function (e, n) {
288
+ let t = new Float64Array(_(e)),
289
+ i = [],
290
+ r = {},
291
+ c = e.length,
292
+ o = 0;
293
+ t[o++] = c;
294
+ for (let g = 0; g < c; g++) {
295
+ let s = e[g],
296
+ u = a(s);
297
+ if (((t[o++] = u ? 1 : 0), !u)) continue;
298
+ ((t[o++] = s.primitiveType),
299
+ (t[o++] = s.geometryType),
300
+ (t[o++] = v(s.offsetAttribute, -1)));
301
+ let m = a(s.boundingSphere) ? 1 : 0;
302
+ ((t[o++] = m), m && y.pack(s.boundingSphere, t, o), (o += y.packedLength));
303
+ let p = a(s.boundingSphereCV) ? 1 : 0;
304
+ ((t[o++] = p),
305
+ p && y.pack(s.boundingSphereCV, t, o),
306
+ (o += y.packedLength));
307
+ let l = s.attributes,
308
+ f = [];
309
+ for (let h in l)
310
+ l.hasOwnProperty(h) &&
311
+ a(l[h]) &&
312
+ (f.push(h), a(r[h]) || ((r[h] = i.length), i.push(h)));
313
+ t[o++] = f.length;
314
+ for (let h = 0; h < f.length; h++) {
315
+ let x = f[h],
316
+ C = l[x];
317
+ ((t[o++] = r[x]),
318
+ (t[o++] = C.componentDatatype),
319
+ (t[o++] = C.componentsPerAttribute),
320
+ (t[o++] = C.normalize ? 1 : 0),
321
+ (t[o++] = C.values.length),
322
+ t.set(C.values, o),
323
+ (o += C.values.length));
324
+ }
325
+ let d = a(s.indices) ? s.indices.length : 0;
326
+ ((t[o++] = d), d > 0 && (t.set(s.indices, o), (o += d)));
327
+ }
328
+ return (n.push(t.buffer), { stringTable: i, packedData: t });
329
+ };
330
+ S.unpackCreateGeometryResults = function (e) {
331
+ let n = e.stringTable,
332
+ t = e.packedData,
333
+ i,
334
+ r = new Array(t[0]),
335
+ c = 0,
336
+ o = 1;
337
+ for (; o < t.length; ) {
338
+ if (!(t[o++] === 1)) {
339
+ r[c++] = void 0;
340
+ continue;
341
+ }
342
+ let s = t[o++],
343
+ u = t[o++],
344
+ m = t[o++];
345
+ m === -1 && (m = void 0);
346
+ let p, l;
347
+ (t[o++] === 1 && (p = y.unpack(t, o)),
348
+ (o += y.packedLength),
349
+ t[o++] === 1 && (l = y.unpack(t, o)),
350
+ (o += y.packedLength));
351
+ let h,
352
+ x,
353
+ C,
354
+ H = new E(),
355
+ q = t[o++];
356
+ for (i = 0; i < q; i++) {
357
+ let A = n[t[o++]],
358
+ M = t[o++];
359
+ C = t[o++];
360
+ let J = t[o++] !== 0;
361
+ ((h = t[o++]), (x = k.createTypedArray(M, h)));
362
+ for (let O = 0; O < h; O++) x[O] = t[o++];
363
+ H[A] = new L({
364
+ componentDatatype: M,
365
+ componentsPerAttribute: C,
366
+ normalize: J,
367
+ values: x,
368
+ });
369
+ }
370
+ let V;
371
+ if (((h = t[o++]), h > 0)) {
372
+ let A = x.length / C;
373
+ for (V = U.createTypedArray(A, h), i = 0; i < h; i++) V[i] = t[o++];
374
+ }
375
+ r[c++] = new z({
376
+ primitiveType: s,
377
+ geometryType: u,
378
+ boundingSphere: p,
379
+ boundingSphereCV: l,
380
+ indices: V,
381
+ attributes: H,
382
+ offsetAttribute: m,
383
+ });
384
+ }
385
+ return r;
386
+ };
387
+ function ee(e, n) {
388
+ let t = e.length,
389
+ i = new Float64Array(1 + t * 19),
390
+ r = 0;
391
+ i[r++] = t;
392
+ for (let c = 0; c < t; c++) {
393
+ let o = e[c];
394
+ if (
395
+ (G.pack(o.modelMatrix, i, r),
396
+ (r += G.packedLength),
397
+ a(o.attributes) && a(o.attributes.offset))
398
+ ) {
399
+ let g = o.attributes.offset.value;
400
+ ((i[r] = g[0]), (i[r + 1] = g[1]), (i[r + 2] = g[2]));
401
+ }
402
+ r += 3;
403
+ }
404
+ return (n.push(i.buffer), i);
405
+ }
406
+ function te(e) {
407
+ let n = e,
408
+ t = new Array(n[0]),
409
+ i = 0,
410
+ r = 1;
411
+ for (; r < n.length; ) {
412
+ let c = G.unpack(n, r),
413
+ o;
414
+ ((r += G.packedLength),
415
+ a(n[r]) && (o = { offset: new j(n[r], n[r + 1], n[r + 2]) }),
416
+ (r += 3),
417
+ (t[i++] = { modelMatrix: c, attributes: o }));
418
+ }
419
+ return t;
420
+ }
421
+ S.packCombineGeometryParameters = function (e, n) {
422
+ let t = e.createGeometryResults,
423
+ i = t.length;
424
+ for (let r = 0; r < i; r++) n.push(t[r].packedData.buffer);
425
+ return {
426
+ createGeometryResults: e.createGeometryResults,
427
+ packedInstances: ee(e.instances, n),
428
+ ellipsoid: e.ellipsoid,
429
+ isGeographic: e.projection instanceof D,
430
+ elementIndexUintSupported: e.elementIndexUintSupported,
431
+ scene3DOnly: e.scene3DOnly,
432
+ vertexCacheOptimize: e.vertexCacheOptimize,
433
+ compressVertices: e.compressVertices,
434
+ modelMatrix: e.modelMatrix,
435
+ createPickOffsets: e.createPickOffsets,
436
+ };
437
+ };
438
+ S.unpackCombineGeometryParameters = function (e) {
439
+ let n = te(e.packedInstances),
440
+ t = e.createGeometryResults,
441
+ i = t.length,
442
+ r = 0;
443
+ for (let g = 0; g < i; g++) {
444
+ let s = S.unpackCreateGeometryResults(t[g]),
445
+ u = s.length;
446
+ for (let m = 0; m < u; m++) {
447
+ let p = s[m],
448
+ l = n[r];
449
+ ((l.geometry = p), ++r);
450
+ }
451
+ }
452
+ let c = B.clone(e.ellipsoid),
453
+ o = e.isGeographic ? new D(c) : new $(c);
454
+ return {
455
+ instances: n,
456
+ ellipsoid: c,
457
+ projection: o,
458
+ elementIndexUintSupported: e.elementIndexUintSupported,
459
+ scene3DOnly: e.scene3DOnly,
460
+ vertexCacheOptimize: e.vertexCacheOptimize,
461
+ compressVertices: e.compressVertices,
462
+ modelMatrix: G.clone(e.modelMatrix),
463
+ createPickOffsets: e.createPickOffsets,
464
+ };
465
+ };
466
+ function R(e) {
467
+ let n = e.length,
468
+ t = 1 + (y.packedLength + 1) * n,
469
+ i = new Float32Array(t),
470
+ r = 0;
471
+ i[r++] = n;
472
+ for (let c = 0; c < n; ++c) {
473
+ let o = e[c];
474
+ (a(o) ? ((i[r++] = 1), y.pack(e[c], i, r)) : (i[r++] = 0),
475
+ (r += y.packedLength));
476
+ }
477
+ return i;
478
+ }
479
+ function W(e) {
480
+ let n = new Array(e[0]),
481
+ t = 0,
482
+ i = 1;
483
+ for (; i < e.length; )
484
+ (e[i++] === 1 && (n[t] = y.unpack(e, i)), ++t, (i += y.packedLength));
485
+ return n;
486
+ }
487
+ S.packCombineGeometryResults = function (e, n) {
488
+ a(e.geometries) && Z(e.geometries, n);
489
+ let t = R(e.boundingSpheres),
490
+ i = R(e.boundingSpheresCV);
491
+ return (
492
+ n.push(t.buffer, i.buffer),
493
+ {
494
+ geometries: e.geometries,
495
+ attributeLocations: e.attributeLocations,
496
+ modelMatrix: e.modelMatrix,
497
+ pickOffsets: e.pickOffsets,
498
+ offsetInstanceExtend: e.offsetInstanceExtend,
499
+ boundingSpheres: t,
500
+ boundingSpheresCV: i,
501
+ }
502
+ );
503
+ };
504
+ S.unpackCombineGeometryResults = function (e) {
505
+ return {
506
+ geometries: e.geometries,
507
+ attributeLocations: e.attributeLocations,
508
+ modelMatrix: e.modelMatrix,
509
+ pickOffsets: e.pickOffsets,
510
+ offsetInstanceExtend: e.offsetInstanceExtend,
511
+ boundingSpheres: W(e.boundingSpheres),
512
+ boundingSpheresCV: W(e.boundingSpheresCV),
513
+ };
514
+ };
515
+ var Ge = S;
516
+ export { Ge as a };