v-ol-map 1.4.11 → 1.4.14

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 (376) hide show
  1. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
  2. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
  3. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
  4. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
  5. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
  6. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
  7. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
  8. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
  9. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
  10. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
  11. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
  12. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
  13. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
  14. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
  15. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
  16. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
  17. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
  18. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
  19. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
  20. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
  21. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
  22. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
  23. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
  24. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
  25. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
  26. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
  27. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
  28. package/lib/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
  29. package/lib/Cesium/Assets/Images/bing_maps_credit.png +0 -0
  30. package/lib/Cesium/Assets/Images/cesium_credit.png +0 -0
  31. package/lib/Cesium/Assets/Images/google_earth_credit.png +0 -0
  32. package/lib/Cesium/Assets/Images/ion-credit.png +0 -0
  33. package/lib/Cesium/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
  34. package/lib/Cesium/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
  35. package/lib/Cesium/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  36. package/lib/Cesium/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  37. package/lib/Cesium/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  38. package/lib/Cesium/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  39. package/lib/Cesium/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  40. package/lib/Cesium/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  41. package/lib/Cesium/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  42. package/lib/Cesium/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  43. package/lib/Cesium/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  44. package/lib/Cesium/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  45. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  46. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  47. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  48. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  49. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  50. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  51. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  52. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  53. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  54. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  55. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  56. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  57. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  58. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  59. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  60. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  61. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  62. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  63. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  64. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  65. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  66. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  67. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  68. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  69. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  70. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  71. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  72. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  73. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  74. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  75. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  76. package/lib/Cesium/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  77. package/lib/Cesium/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
  78. package/lib/Cesium/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  79. package/lib/Cesium/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  80. package/lib/Cesium/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  81. package/lib/Cesium/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  82. package/lib/Cesium/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  83. package/lib/Cesium/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  84. package/lib/Cesium/Assets/Textures/maki/airfield.png +0 -0
  85. package/lib/Cesium/Assets/Textures/maki/airport.png +0 -0
  86. package/lib/Cesium/Assets/Textures/maki/alcohol-shop.png +0 -0
  87. package/lib/Cesium/Assets/Textures/maki/america-football.png +0 -0
  88. package/lib/Cesium/Assets/Textures/maki/art-gallery.png +0 -0
  89. package/lib/Cesium/Assets/Textures/maki/bakery.png +0 -0
  90. package/lib/Cesium/Assets/Textures/maki/bank.png +0 -0
  91. package/lib/Cesium/Assets/Textures/maki/bar.png +0 -0
  92. package/lib/Cesium/Assets/Textures/maki/baseball.png +0 -0
  93. package/lib/Cesium/Assets/Textures/maki/basketball.png +0 -0
  94. package/lib/Cesium/Assets/Textures/maki/beer.png +0 -0
  95. package/lib/Cesium/Assets/Textures/maki/bicycle.png +0 -0
  96. package/lib/Cesium/Assets/Textures/maki/building.png +0 -0
  97. package/lib/Cesium/Assets/Textures/maki/bus.png +0 -0
  98. package/lib/Cesium/Assets/Textures/maki/cafe.png +0 -0
  99. package/lib/Cesium/Assets/Textures/maki/camera.png +0 -0
  100. package/lib/Cesium/Assets/Textures/maki/campsite.png +0 -0
  101. package/lib/Cesium/Assets/Textures/maki/car.png +0 -0
  102. package/lib/Cesium/Assets/Textures/maki/cemetery.png +0 -0
  103. package/lib/Cesium/Assets/Textures/maki/cesium.png +0 -0
  104. package/lib/Cesium/Assets/Textures/maki/chemist.png +0 -0
  105. package/lib/Cesium/Assets/Textures/maki/cinema.png +0 -0
  106. package/lib/Cesium/Assets/Textures/maki/circle-stroked.png +0 -0
  107. package/lib/Cesium/Assets/Textures/maki/circle.png +0 -0
  108. package/lib/Cesium/Assets/Textures/maki/city.png +0 -0
  109. package/lib/Cesium/Assets/Textures/maki/clothing-store.png +0 -0
  110. package/lib/Cesium/Assets/Textures/maki/college.png +0 -0
  111. package/lib/Cesium/Assets/Textures/maki/commercial.png +0 -0
  112. package/lib/Cesium/Assets/Textures/maki/cricket.png +0 -0
  113. package/lib/Cesium/Assets/Textures/maki/cross.png +0 -0
  114. package/lib/Cesium/Assets/Textures/maki/dam.png +0 -0
  115. package/lib/Cesium/Assets/Textures/maki/danger.png +0 -0
  116. package/lib/Cesium/Assets/Textures/maki/disability.png +0 -0
  117. package/lib/Cesium/Assets/Textures/maki/dog-park.png +0 -0
  118. package/lib/Cesium/Assets/Textures/maki/embassy.png +0 -0
  119. package/lib/Cesium/Assets/Textures/maki/emergency-telephone.png +0 -0
  120. package/lib/Cesium/Assets/Textures/maki/entrance.png +0 -0
  121. package/lib/Cesium/Assets/Textures/maki/farm.png +0 -0
  122. package/lib/Cesium/Assets/Textures/maki/fast-food.png +0 -0
  123. package/lib/Cesium/Assets/Textures/maki/ferry.png +0 -0
  124. package/lib/Cesium/Assets/Textures/maki/fire-station.png +0 -0
  125. package/lib/Cesium/Assets/Textures/maki/fuel.png +0 -0
  126. package/lib/Cesium/Assets/Textures/maki/garden.png +0 -0
  127. package/lib/Cesium/Assets/Textures/maki/gift.png +0 -0
  128. package/lib/Cesium/Assets/Textures/maki/golf.png +0 -0
  129. package/lib/Cesium/Assets/Textures/maki/grocery.png +0 -0
  130. package/lib/Cesium/Assets/Textures/maki/hairdresser.png +0 -0
  131. package/lib/Cesium/Assets/Textures/maki/harbor.png +0 -0
  132. package/lib/Cesium/Assets/Textures/maki/heart.png +0 -0
  133. package/lib/Cesium/Assets/Textures/maki/heliport.png +0 -0
  134. package/lib/Cesium/Assets/Textures/maki/hospital.png +0 -0
  135. package/lib/Cesium/Assets/Textures/maki/ice-cream.png +0 -0
  136. package/lib/Cesium/Assets/Textures/maki/industrial.png +0 -0
  137. package/lib/Cesium/Assets/Textures/maki/land-use.png +0 -0
  138. package/lib/Cesium/Assets/Textures/maki/laundry.png +0 -0
  139. package/lib/Cesium/Assets/Textures/maki/library.png +0 -0
  140. package/lib/Cesium/Assets/Textures/maki/lighthouse.png +0 -0
  141. package/lib/Cesium/Assets/Textures/maki/lodging.png +0 -0
  142. package/lib/Cesium/Assets/Textures/maki/logging.png +0 -0
  143. package/lib/Cesium/Assets/Textures/maki/london-underground.png +0 -0
  144. package/lib/Cesium/Assets/Textures/maki/marker-stroked.png +0 -0
  145. package/lib/Cesium/Assets/Textures/maki/marker.png +0 -0
  146. package/lib/Cesium/Assets/Textures/maki/minefield.png +0 -0
  147. package/lib/Cesium/Assets/Textures/maki/mobilephone.png +0 -0
  148. package/lib/Cesium/Assets/Textures/maki/monument.png +0 -0
  149. package/lib/Cesium/Assets/Textures/maki/museum.png +0 -0
  150. package/lib/Cesium/Assets/Textures/maki/music.png +0 -0
  151. package/lib/Cesium/Assets/Textures/maki/oil-well.png +0 -0
  152. package/lib/Cesium/Assets/Textures/maki/park.png +0 -0
  153. package/lib/Cesium/Assets/Textures/maki/park2.png +0 -0
  154. package/lib/Cesium/Assets/Textures/maki/parking-garage.png +0 -0
  155. package/lib/Cesium/Assets/Textures/maki/parking.png +0 -0
  156. package/lib/Cesium/Assets/Textures/maki/pharmacy.png +0 -0
  157. package/lib/Cesium/Assets/Textures/maki/pitch.png +0 -0
  158. package/lib/Cesium/Assets/Textures/maki/place-of-worship.png +0 -0
  159. package/lib/Cesium/Assets/Textures/maki/playground.png +0 -0
  160. package/lib/Cesium/Assets/Textures/maki/police.png +0 -0
  161. package/lib/Cesium/Assets/Textures/maki/polling-place.png +0 -0
  162. package/lib/Cesium/Assets/Textures/maki/post.png +0 -0
  163. package/lib/Cesium/Assets/Textures/maki/prison.png +0 -0
  164. package/lib/Cesium/Assets/Textures/maki/rail-above.png +0 -0
  165. package/lib/Cesium/Assets/Textures/maki/rail-light.png +0 -0
  166. package/lib/Cesium/Assets/Textures/maki/rail-metro.png +0 -0
  167. package/lib/Cesium/Assets/Textures/maki/rail-underground.png +0 -0
  168. package/lib/Cesium/Assets/Textures/maki/rail.png +0 -0
  169. package/lib/Cesium/Assets/Textures/maki/religious-christian.png +0 -0
  170. package/lib/Cesium/Assets/Textures/maki/religious-jewish.png +0 -0
  171. package/lib/Cesium/Assets/Textures/maki/religious-muslim.png +0 -0
  172. package/lib/Cesium/Assets/Textures/maki/restaurant.png +0 -0
  173. package/lib/Cesium/Assets/Textures/maki/roadblock.png +0 -0
  174. package/lib/Cesium/Assets/Textures/maki/rocket.png +0 -0
  175. package/lib/Cesium/Assets/Textures/maki/school.png +0 -0
  176. package/lib/Cesium/Assets/Textures/maki/scooter.png +0 -0
  177. package/lib/Cesium/Assets/Textures/maki/shop.png +0 -0
  178. package/lib/Cesium/Assets/Textures/maki/skiing.png +0 -0
  179. package/lib/Cesium/Assets/Textures/maki/slaughterhouse.png +0 -0
  180. package/lib/Cesium/Assets/Textures/maki/soccer.png +0 -0
  181. package/lib/Cesium/Assets/Textures/maki/square-stroked.png +0 -0
  182. package/lib/Cesium/Assets/Textures/maki/square.png +0 -0
  183. package/lib/Cesium/Assets/Textures/maki/star-stroked.png +0 -0
  184. package/lib/Cesium/Assets/Textures/maki/star.png +0 -0
  185. package/lib/Cesium/Assets/Textures/maki/suitcase.png +0 -0
  186. package/lib/Cesium/Assets/Textures/maki/swimming.png +0 -0
  187. package/lib/Cesium/Assets/Textures/maki/telephone.png +0 -0
  188. package/lib/Cesium/Assets/Textures/maki/tennis.png +0 -0
  189. package/lib/Cesium/Assets/Textures/maki/theatre.png +0 -0
  190. package/lib/Cesium/Assets/Textures/maki/toilets.png +0 -0
  191. package/lib/Cesium/Assets/Textures/maki/town-hall.png +0 -0
  192. package/lib/Cesium/Assets/Textures/maki/town.png +0 -0
  193. package/lib/Cesium/Assets/Textures/maki/triangle-stroked.png +0 -0
  194. package/lib/Cesium/Assets/Textures/maki/triangle.png +0 -0
  195. package/lib/Cesium/Assets/Textures/maki/village.png +0 -0
  196. package/lib/Cesium/Assets/Textures/maki/warehouse.png +0 -0
  197. package/lib/Cesium/Assets/Textures/maki/waste-basket.png +0 -0
  198. package/lib/Cesium/Assets/Textures/maki/water.png +0 -0
  199. package/lib/Cesium/Assets/Textures/maki/wetland.png +0 -0
  200. package/lib/Cesium/Assets/Textures/maki/zoo.png +0 -0
  201. package/lib/Cesium/Assets/Textures/moonSmall.jpg +0 -0
  202. package/lib/Cesium/Assets/Textures/pin.svg +1 -0
  203. package/lib/Cesium/Assets/Textures/waterNormals.jpg +0 -0
  204. package/lib/Cesium/Assets/Textures/waterNormalsSmall.jpg +0 -0
  205. package/lib/Cesium/Assets/approximateTerrainHeights.json +1 -0
  206. package/lib/Cesium/Cesium.js +9273 -0
  207. package/lib/Cesium/ThirdParty/Workers/basis_transcoder.js +56 -0
  208. package/lib/Cesium/ThirdParty/Workers/draco_decoder_nodejs.js +26 -0
  209. package/lib/Cesium/ThirdParty/Workers/package.js +26 -0
  210. package/lib/Cesium/ThirdParty/Workers/package.json +1 -0
  211. package/lib/Cesium/ThirdParty/Workers/pako_deflate.min.js +26 -0
  212. package/lib/Cesium/ThirdParty/Workers/pako_inflate.min.js +26 -0
  213. package/lib/Cesium/ThirdParty/Workers/z-worker-pako.js +26 -0
  214. package/lib/Cesium/ThirdParty/basis_transcoder.wasm +0 -0
  215. package/lib/Cesium/ThirdParty/draco_decoder.wasm +0 -0
  216. package/lib/Cesium/ThirdParty/google-earth-dbroot-parser.js +26 -0
  217. package/lib/Cesium/Widgets/Animation/Animation.css +1 -0
  218. package/lib/Cesium/Widgets/Animation/lighter.css +1 -0
  219. package/lib/Cesium/Widgets/BaseLayerPicker/BaseLayerPicker.css +1 -0
  220. package/lib/Cesium/Widgets/BaseLayerPicker/lighter.css +1 -0
  221. package/lib/Cesium/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +1 -0
  222. package/lib/Cesium/Widgets/CesiumInspector/CesiumInspector.css +1 -0
  223. package/lib/Cesium/Widgets/CesiumWidget/CesiumWidget.css +1 -0
  224. package/lib/Cesium/Widgets/CesiumWidget/lighter.css +1 -0
  225. package/lib/Cesium/Widgets/FullscreenButton/FullscreenButton.css +1 -0
  226. package/lib/Cesium/Widgets/Geocoder/Geocoder.css +1 -0
  227. package/lib/Cesium/Widgets/Geocoder/lighter.css +1 -0
  228. package/lib/Cesium/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
  229. package/lib/Cesium/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
  230. package/lib/Cesium/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
  231. package/lib/Cesium/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
  232. package/lib/Cesium/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
  233. package/lib/Cesium/Widgets/Images/ImageryProviders/esriNationalGeographic.png +0 -0
  234. package/lib/Cesium/Widgets/Images/ImageryProviders/esriWorldImagery.png +0 -0
  235. package/lib/Cesium/Widgets/Images/ImageryProviders/esriWorldStreetMap.png +0 -0
  236. package/lib/Cesium/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  237. package/lib/Cesium/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
  238. package/lib/Cesium/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
  239. package/lib/Cesium/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
  240. package/lib/Cesium/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
  241. package/lib/Cesium/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
  242. package/lib/Cesium/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
  243. package/lib/Cesium/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
  244. package/lib/Cesium/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
  245. package/lib/Cesium/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
  246. package/lib/Cesium/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
  247. package/lib/Cesium/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
  248. package/lib/Cesium/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
  249. package/lib/Cesium/Widgets/Images/NavigationHelp/Touch.svg +120 -0
  250. package/lib/Cesium/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
  251. package/lib/Cesium/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
  252. package/lib/Cesium/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
  253. package/lib/Cesium/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
  254. package/lib/Cesium/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  255. package/lib/Cesium/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
  256. package/lib/Cesium/Widgets/Images/TimelineIcons.png +0 -0
  257. package/lib/Cesium/Widgets/Images/info-loading.gif +0 -0
  258. package/lib/Cesium/Widgets/InfoBox/InfoBox.css +1 -0
  259. package/lib/Cesium/Widgets/InfoBox/InfoBoxDescription.css +1 -0
  260. package/lib/Cesium/Widgets/NavigationHelpButton/NavigationHelpButton.css +1 -0
  261. package/lib/Cesium/Widgets/NavigationHelpButton/lighter.css +1 -0
  262. package/lib/Cesium/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +1 -0
  263. package/lib/Cesium/Widgets/ProjectionPicker/ProjectionPicker.css +1 -0
  264. package/lib/Cesium/Widgets/SceneModePicker/SceneModePicker.css +1 -0
  265. package/lib/Cesium/Widgets/SelectionIndicator/SelectionIndicator.css +1 -0
  266. package/lib/Cesium/Widgets/Timeline/Timeline.css +1 -0
  267. package/lib/Cesium/Widgets/Timeline/lighter.css +1 -0
  268. package/lib/Cesium/Widgets/VRButton/VRButton.css +1 -0
  269. package/lib/Cesium/Widgets/Viewer/Viewer.css +1 -0
  270. package/lib/Cesium/Widgets/lighter.css +1 -0
  271. package/lib/Cesium/Widgets/lighterShared.css +1 -0
  272. package/lib/Cesium/Widgets/shared.css +1 -0
  273. package/lib/Cesium/Widgets/widgets.css +1 -0
  274. package/lib/Cesium/Workers/ArcType-f5af12f9.js +25 -0
  275. package/lib/Cesium/Workers/AttributeCompression-b8c8fcdc.js +25 -0
  276. package/lib/Cesium/Workers/AxisAlignedBoundingBox-cd3761c7.js +25 -0
  277. package/lib/Cesium/Workers/BoundingRectangle-da157936.js +25 -0
  278. package/lib/Cesium/Workers/BoxGeometry-e95264c7.js +25 -0
  279. package/lib/Cesium/Workers/Color-9a6f77d5.js +25 -0
  280. package/lib/Cesium/Workers/ComponentDatatype-4028c72d.js +25 -0
  281. package/lib/Cesium/Workers/CoplanarPolygonGeometryLibrary-23e4fbf4.js +25 -0
  282. package/lib/Cesium/Workers/CorridorGeometryLibrary-17a0dde1.js +25 -0
  283. package/lib/Cesium/Workers/CylinderGeometry-38de8def.js +25 -0
  284. package/lib/Cesium/Workers/CylinderGeometryLibrary-af834e78.js +25 -0
  285. package/lib/Cesium/Workers/EllipseGeometry-f371dd78.js +25 -0
  286. package/lib/Cesium/Workers/EllipseGeometryLibrary-187266ea.js +25 -0
  287. package/lib/Cesium/Workers/EllipseOutlineGeometry-0087959a.js +25 -0
  288. package/lib/Cesium/Workers/EllipsoidGeodesic-b1c7082b.js +25 -0
  289. package/lib/Cesium/Workers/EllipsoidGeometry-b2dd57d2.js +25 -0
  290. package/lib/Cesium/Workers/EllipsoidOutlineGeometry-a70465cd.js +25 -0
  291. package/lib/Cesium/Workers/EllipsoidRhumbLine-bf1c0ab0.js +25 -0
  292. package/lib/Cesium/Workers/EllipsoidTangentPlane-69b6e1fd.js +25 -0
  293. package/lib/Cesium/Workers/EncodedCartesian3-f98850c6.js +25 -0
  294. package/lib/Cesium/Workers/FrustumGeometry-d0e37f0a.js +25 -0
  295. package/lib/Cesium/Workers/GeometryAttribute-3c090c07.js +25 -0
  296. package/lib/Cesium/Workers/GeometryAttributes-acac33d2.js +25 -0
  297. package/lib/Cesium/Workers/GeometryInstance-b34e2b9d.js +25 -0
  298. package/lib/Cesium/Workers/GeometryOffsetAttribute-3e5f3e97.js +25 -0
  299. package/lib/Cesium/Workers/GeometryPipeline-b9f29df3.js +25 -0
  300. package/lib/Cesium/Workers/IndexDatatype-20e78e57.js +25 -0
  301. package/lib/Cesium/Workers/IntersectionTests-ef65540c.js +25 -0
  302. package/lib/Cesium/Workers/Matrix2-21f90abf.js +25 -0
  303. package/lib/Cesium/Workers/OrientedBoundingBox-5c06247e.js +25 -0
  304. package/lib/Cesium/Workers/Plane-1c5eb32d.js +25 -0
  305. package/lib/Cesium/Workers/PolygonGeometryLibrary-1c72970e.js +25 -0
  306. package/lib/Cesium/Workers/PolygonPipeline-13d40849.js +25 -0
  307. package/lib/Cesium/Workers/PolylinePipeline-2aac2bf9.js +25 -0
  308. package/lib/Cesium/Workers/PolylineVolumeGeometryLibrary-12682ca2.js +25 -0
  309. package/lib/Cesium/Workers/PrimitivePipeline-2fb60b88.js +25 -0
  310. package/lib/Cesium/Workers/RectangleGeometryLibrary-4fb2ed6b.js +25 -0
  311. package/lib/Cesium/Workers/RuntimeError-cef79f54.js +25 -0
  312. package/lib/Cesium/Workers/TerrainEncoding-85c98f1d.js +25 -0
  313. package/lib/Cesium/Workers/Transforms-c450597e.js +63 -0
  314. package/lib/Cesium/Workers/VertexFormat-75e8069c.js +25 -0
  315. package/lib/Cesium/Workers/WallGeometryLibrary-e223d3bd.js +25 -0
  316. package/lib/Cesium/Workers/WebGLConstants-f100e3dd.js +25 -0
  317. package/lib/Cesium/Workers/WebMercatorProjection-351a8dfc.js +25 -0
  318. package/lib/Cesium/Workers/_commonjsHelpers-a32ac251.js +25 -0
  319. package/lib/Cesium/Workers/arrayRemoveDuplicates-63c6b4d8.js +25 -0
  320. package/lib/Cesium/Workers/cesiumWorkerBootstrapper.js +31 -0
  321. package/lib/Cesium/Workers/combine-fc59ba59.js +25 -0
  322. package/lib/Cesium/Workers/combineGeometry.js +25 -0
  323. package/lib/Cesium/Workers/createBoxGeometry.js +25 -0
  324. package/lib/Cesium/Workers/createBoxOutlineGeometry.js +25 -0
  325. package/lib/Cesium/Workers/createCircleGeometry.js +25 -0
  326. package/lib/Cesium/Workers/createCircleOutlineGeometry.js +25 -0
  327. package/lib/Cesium/Workers/createCoplanarPolygonGeometry.js +25 -0
  328. package/lib/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +25 -0
  329. package/lib/Cesium/Workers/createCorridorGeometry.js +25 -0
  330. package/lib/Cesium/Workers/createCorridorOutlineGeometry.js +25 -0
  331. package/lib/Cesium/Workers/createCylinderGeometry.js +25 -0
  332. package/lib/Cesium/Workers/createCylinderOutlineGeometry.js +25 -0
  333. package/lib/Cesium/Workers/createEllipseGeometry.js +25 -0
  334. package/lib/Cesium/Workers/createEllipseOutlineGeometry.js +25 -0
  335. package/lib/Cesium/Workers/createEllipsoidGeometry.js +25 -0
  336. package/lib/Cesium/Workers/createEllipsoidOutlineGeometry.js +25 -0
  337. package/lib/Cesium/Workers/createFrustumGeometry.js +25 -0
  338. package/lib/Cesium/Workers/createFrustumOutlineGeometry.js +25 -0
  339. package/lib/Cesium/Workers/createGeometry.js +25 -0
  340. package/lib/Cesium/Workers/createGroundPolylineGeometry.js +25 -0
  341. package/lib/Cesium/Workers/createPlaneGeometry.js +25 -0
  342. package/lib/Cesium/Workers/createPlaneOutlineGeometry.js +25 -0
  343. package/lib/Cesium/Workers/createPolygonGeometry.js +25 -0
  344. package/lib/Cesium/Workers/createPolygonOutlineGeometry.js +25 -0
  345. package/lib/Cesium/Workers/createPolylineGeometry.js +25 -0
  346. package/lib/Cesium/Workers/createPolylineVolumeGeometry.js +25 -0
  347. package/lib/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +25 -0
  348. package/lib/Cesium/Workers/createRectangleGeometry.js +25 -0
  349. package/lib/Cesium/Workers/createRectangleOutlineGeometry.js +25 -0
  350. package/lib/Cesium/Workers/createSimplePolylineGeometry.js +25 -0
  351. package/lib/Cesium/Workers/createSphereGeometry.js +25 -0
  352. package/lib/Cesium/Workers/createSphereOutlineGeometry.js +25 -0
  353. package/lib/Cesium/Workers/createTaskProcessorWorker.js +25 -0
  354. package/lib/Cesium/Workers/createVectorTileClampedPolylines.js +25 -0
  355. package/lib/Cesium/Workers/createVectorTileGeometries.js +25 -0
  356. package/lib/Cesium/Workers/createVectorTilePoints.js +25 -0
  357. package/lib/Cesium/Workers/createVectorTilePolygons.js +25 -0
  358. package/lib/Cesium/Workers/createVectorTilePolylines.js +25 -0
  359. package/lib/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +25 -0
  360. package/lib/Cesium/Workers/createVerticesFromHeightmap.js +27 -0
  361. package/lib/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +25 -0
  362. package/lib/Cesium/Workers/createWallGeometry.js +25 -0
  363. package/lib/Cesium/Workers/createWallOutlineGeometry.js +25 -0
  364. package/lib/Cesium/Workers/decodeDraco.js +25 -0
  365. package/lib/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +25 -0
  366. package/lib/Cesium/Workers/defaultValue-4607806f.js +25 -0
  367. package/lib/Cesium/Workers/package.js +26 -0
  368. package/lib/Cesium/Workers/package.json +1 -0
  369. package/lib/Cesium/Workers/transcodeKTX2.js +25 -0
  370. package/lib/Cesium/Workers/transferTypedArrayTest.js +26 -0
  371. package/lib/Cesium/Workers/upsampleQuantizedTerrainMesh.js +25 -0
  372. package/lib/Cesium/index.cjs +9274 -0
  373. package/lib/Cesium/index.js +9273 -0
  374. package/lib/ol-map.umd.js +0 -1
  375. package/package.json +2 -1
  376. package/lib/ol-map.umd.js.map +0 -1
@@ -0,0 +1,56 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.96
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
+ var BASIS=function(){var ae=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return typeof __filename<"u"&&(ae=ae||__filename),function(x){x=x||{};var u=typeof x<"u"?x:{},xe,Ge;u.ready=new Promise(function(e,r){xe=e,readyPromiseRejectza=r});var G={},D;for(D in u)u.hasOwnProperty(D)&&(G[D]=u[D]);var z=[],ze="./this.program",Ae=function(e,r){throw r},se=!1,I=!1,$e=!1,Xe=!1;se=typeof window=="object",I=typeof importScripts=="function",$e=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string",Xe=!se&&!$e&&!I;var w="";function Er(e){return u.locateFile?u.locateFile(e,w):w+e}var ue,Fe,X,Rr,Ee,Re;$e?(I?w=require("path").dirname(w)+"/":w=__dirname+"/",ue=function(r,t){return Ee||(Ee=require("fs")),Re||(Re=require("path")),r=Re.normalize(r),Ee.readFileSync(r,t?null:"utf8")},X=function(r){var t=ue(r,!0);return t.buffer||(t=new Uint8Array(t)),Se(t.buffer),t},process.argv.length>1&&(ze=process.argv[1].replace(/\\/g,"/")),z=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof On))throw e}),process.on("unhandledRejection",L),Ae=function(e){process.exit(e)},u.inspect=function(){return"[Emscripten Module object]"}):Xe?(typeof read<"u"&&(ue=function(r){return read(r)}),X=function(r){var t;return typeof readbuffer=="function"?new Uint8Array(readbuffer(r)):(t=read(r,"binary"),Se(typeof t=="object"),t)},typeof scriptArgs<"u"?z=scriptArgs:typeof arguments<"u"&&(z=arguments),typeof quit=="function"&&(Ae=function(e){quit(e)}),typeof print<"u"&&(typeof console>"u"&&(console={}),console.log=print,console.warn=console.error=typeof printErr<"u"?printErr:print)):(se||I)&&(I?w=self.location.href:typeof document<"u"&&document.currentScript&&(w=document.currentScript.src),ae&&(w=ae),w.indexOf("blob:")!==0?w=w.substr(0,w.lastIndexOf("/")+1):w="",ue=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.send(null),r.responseText},I&&(X=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}),Fe=function(e,r,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){if(n.status==200||n.status==0&&n.response){r(n.response);return}t()},n.onerror=t,n.send(null)},Rr=function(e){document.title=e});var Sr=u.print||console.log.bind(console),V=u.printErr||console.warn.bind(console);for(D in G)G.hasOwnProperty(D)&&(u[D]=G[D]);G=null,u.arguments&&(z=u.arguments),u.thisProgram&&(ze=u.thisProgram),u.quit&&(Ae=u.quit);var Or=0,Wr=function(e){Or=e},Y;u.wasmBinary&&(Y=u.wasmBinary);var Dn=u.noExitRuntime||!0;typeof WebAssembly!="object"&&L("no native wasm support detected");var fe,Ye=!1,Dr;function Se(e,r){e||L("Assertion failed: "+r)}var Je=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function Ke(e,r,t){for(var n=r+t,i=r;e[i]&&!(i>=n);)++i;if(i-r>16&&e.subarray&&Je)return Je.decode(e.subarray(r,i));for(var s="";r<i;){var f=e[r++];if(!(f&128)){s+=String.fromCharCode(f);continue}var o=e[r++]&63;if((f&224)==192){s+=String.fromCharCode((f&31)<<6|o);continue}var a=e[r++]&63;if((f&240)==224?f=(f&15)<<12|o<<6|a:f=(f&7)<<18|o<<12|a<<6|e[r++]&63,f<65536)s+=String.fromCharCode(f);else{var c=f-65536;s+=String.fromCharCode(55296|c>>10,56320|c&1023)}}return s}function Qe(e,r){return e?Ke(_,e,r):""}function Ur(e,r,t,n){if(!(n>0))return 0;for(var i=t,s=t+n-1,f=0;f<e.length;++f){var o=e.charCodeAt(f);if(o>=55296&&o<=57343){var a=e.charCodeAt(++f);o=65536+((o&1023)<<10)|a&1023}if(o<=127){if(t>=s)break;r[t++]=o}else if(o<=2047){if(t+1>=s)break;r[t++]=192|o>>6,r[t++]=128|o&63}else if(o<=65535){if(t+2>=s)break;r[t++]=224|o>>12,r[t++]=128|o>>6&63,r[t++]=128|o&63}else{if(t+3>=s)break;r[t++]=240|o>>18,r[t++]=128|o>>12&63,r[t++]=128|o>>6&63,r[t++]=128|o&63}}return r[t]=0,t-i}function jr(e,r,t){return Ur(e,_,r,t)}function Ir(e){for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n>=55296&&n<=57343&&(n=65536+((n&1023)<<10)|e.charCodeAt(++t)&1023),n<=127?++r:n<=2047?r+=2:n<=65535?r+=3:r+=4}return r}var Ze=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0;function kr(e,r){for(var t=e,n=t>>1,i=n+r/2;!(n>=i)&&J[n];)++n;if(t=n<<1,t-e>32&&Ze)return Ze.decode(_.subarray(e,t));for(var s="",f=0;!(f>=r/2);++f){var o=k[e+f*2>>1];if(o==0)break;s+=String.fromCharCode(o)}return s}function Hr(e,r,t){if(t===void 0&&(t=2147483647),t<2)return 0;t-=2;for(var n=r,i=t<e.length*2?t/2:e.length,s=0;s<i;++s){var f=e.charCodeAt(s);k[r>>1]=f,r+=2}return k[r>>1]=0,r-n}function Mr(e){return e.length*2}function Vr(e,r){for(var t=0,n="";!(t>=r/4);){var i=b[e+t*4>>2];if(i==0)break;if(++t,i>=65536){var s=i-65536;n+=String.fromCharCode(55296|s>>10,56320|s&1023)}else n+=String.fromCharCode(i)}return n}function Lr(e,r,t){if(t===void 0&&(t=2147483647),t<4)return 0;for(var n=r,i=n+t-4,s=0;s<e.length;++s){var f=e.charCodeAt(s);if(f>=55296&&f<=57343){var o=e.charCodeAt(++s);f=65536+((f&1023)<<10)|o&1023}if(b[r>>2]=f,r+=4,r+4>i)break}return b[r>>2]=0,r-n}function Br(e){for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n>=55296&&n<=57343&&++t,r+=4}return r}function qr(e,r){return e%r>0&&(e+=r-e%r),e}var Oe,ce,_,k,J,b,$,er,rr;function tr(e){Oe=e,u.HEAP8=ce=new Int8Array(e),u.HEAP16=k=new Int16Array(e),u.HEAP32=b=new Int32Array(e),u.HEAPU8=_=new Uint8Array(e),u.HEAPU16=J=new Uint16Array(e),u.HEAPU32=$=new Uint32Array(e),u.HEAPF32=er=new Float32Array(e),u.HEAPF64=rr=new Float64Array(e)}var Un=u.INITIAL_MEMORY||16777216,K,nr=[],ir=[],Nr=[],or=[],xr=!1;function Gr(){if(u.preRun)for(typeof u.preRun=="function"&&(u.preRun=[u.preRun]);u.preRun.length;)Jr(u.preRun.shift());le(nr)}function zr(){xr=!0,le(ir)}function Xr(){le(Nr)}function Yr(){if(u.postRun)for(typeof u.postRun=="function"&&(u.postRun=[u.postRun]);u.postRun.length;)Qr(u.postRun.shift());le(or)}function Jr(e){nr.unshift(e)}function Kr(e){ir.unshift(e)}function Qr(e){or.unshift(e)}var H=0,We=null,Q=null;function Zr(e){H++,u.monitorRunDependencies&&u.monitorRunDependencies(H)}function et(e){if(H--,u.monitorRunDependencies&&u.monitorRunDependencies(H),H==0&&(We!==null&&(clearInterval(We),We=null),Q)){var r=Q;Q=null,r()}}u.preloadedImages={},u.preloadedAudios={};function L(e){u.onAbort&&u.onAbort(e),e+="",V(e),Ye=!0,Dr=1,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.";var r=new WebAssembly.RuntimeError(e);throw Ge(r),r}function ar(e,r){return String.prototype.startsWith?e.startsWith(r):e.indexOf(r)===0}var rt="data:application/octet-stream;base64,";function sr(e){return ar(e,rt)}var tt="file://";function ur(e){return ar(e,tt)}var T="basis_transcoder.wasm";sr(T)||(T=Er(T));function fr(e){try{if(e==T&&Y)return new Uint8Array(Y);if(X)return X(e);throw"both async and sync fetching of the wasm failed"}catch(r){L(r)}}function nt(){if(!Y&&(se||I)){if(typeof fetch=="function"&&!ur(T))return fetch(T,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+T+"'";return e.arrayBuffer()}).catch(function(){return fr(T)});if(Fe)return new Promise(function(e,r){Fe(T,function(t){e(new Uint8Array(t))},r)})}return Promise.resolve().then(function(){return fr(T)})}function it(){var e={a:Fn};function r(f,o){var a=f.exports;u.asm=a,fe=u.asm.K,tr(fe.buffer),K=u.asm.O,Kr(u.asm.L),et("wasm-instantiate")}Zr("wasm-instantiate");function t(f){r(f.instance)}function n(f){return nt().then(function(o){var a=WebAssembly.instantiate(o,e);return a}).then(f,function(o){V("failed to asynchronously prepare wasm: "+o),L(o)})}function i(){return!Y&&typeof WebAssembly.instantiateStreaming=="function"&&!sr(T)&&!ur(T)&&typeof fetch=="function"?fetch(T,{credentials:"same-origin"}).then(function(f){var o=WebAssembly.instantiateStreaming(f,e);return o.then(t,function(a){return V("wasm streaming compile failed: "+a),V("falling back to ArrayBuffer instantiation"),n(t)})}):n(t)}if(u.instantiateWasm)try{var s=u.instantiateWasm(e,r);return s}catch(f){return V("Module.instantiateWasm callback failed with error: "+f),!1}return i().catch(Ge),{}}function le(e){for(;e.length>0;){var r=e.shift();if(typeof r=="function"){r(u);continue}var t=r.func;typeof t=="number"?r.arg===void 0?K.get(t)():K.get(t)(r.arg):t(r.arg===void 0?null:r.arg)}}var de={};function pe(e){for(;e.length;){var r=e.pop(),t=e.pop();t(r)}}function Z(e){return this.fromWireType($[e>>2])}var B={},M={},ve={},ot=48,at=57;function ye(e){if(e===void 0)return"_unknown";e=e.replace(/[^a-zA-Z0-9_]/g,"$");var r=e.charCodeAt(0);return r>=ot&&r<=at?"_"+e:e}function he(e,r){return e=ye(e),new Function("body","return function "+e+`() {
27
+ "use strict"; return body.apply(this, arguments);
28
+ };
29
+ `)(r)}function De(e,r){var t=he(r,function(n){this.name=r,this.message=n;var i=new Error(n).stack;i!==void 0&&(this.stack=this.toString()+`
30
+ `+i.replace(/^Error(:[^\n]*)?\n/,""))});return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return this.message===void 0?this.name:this.name+": "+this.message},t}var cr=void 0;function ge(e){throw new cr(e)}function U(e,r,t){e.forEach(function(o){ve[o]=r});function n(o){var a=t(o);a.length!==e.length&&ge("Mismatched type converter count");for(var c=0;c<e.length;++c)F(e[c],a[c])}var i=new Array(r.length),s=[],f=0;r.forEach(function(o,a){M.hasOwnProperty(o)?i[a]=M[o]:(s.push(o),B.hasOwnProperty(o)||(B[o]=[]),B[o].push(function(){i[a]=M[o],++f,f===s.length&&n(i)}))}),s.length===0&&n(i)}function st(e){var r=de[e];delete de[e];var t=r.rawConstructor,n=r.rawDestructor,i=r.fields,s=i.map(function(f){return f.getterReturnType}).concat(i.map(function(f){return f.setterArgumentType}));U([e],s,function(f){var o={};return i.forEach(function(a,c){var l=a.fieldName,d=f[c],v=a.getter,y=a.getterContext,g=f[c+i.length],m=a.setter,C=a.setterContext;o[l]={read:function(E){return d.fromWireType(v(y,E))},write:function(E,oe){var W=[];m(C,E,g.toWireType(W,oe)),pe(W)}}}),[{name:r.name,fromWireType:function(a){var c={};for(var l in o)c[l]=o[l].read(a);return n(a),c},toWireType:function(a,c){for(var l in o)if(!(l in c))throw new TypeError('Missing field: "'+l+'"');var d=t();for(l in o)o[l].write(d,c[l]);return a!==null&&a.push(n,d),d},argPackAdvance:8,readValueFromPointer:Z,destructorFunction:n}]})}function _e(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+e)}}function ut(){for(var e=new Array(256),r=0;r<256;++r)e[r]=String.fromCharCode(r);lr=e}var lr=void 0;function h(e){for(var r="",t=e;_[t];)r+=lr[_[t++]];return r}var q=void 0;function p(e){throw new q(e)}function F(e,r,t){if(t=t||{},!("argPackAdvance"in r))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=r.name;if(e||p('type "'+n+'" must have a positive integer typeid pointer'),M.hasOwnProperty(e)){if(t.ignoreDuplicateRegistrations)return;p("Cannot register type '"+n+"' twice")}if(M[e]=r,delete ve[e],B.hasOwnProperty(e)){var i=B[e];delete B[e],i.forEach(function(s){s()})}}function ft(e,r,t,n,i){var s=_e(t);r=h(r),F(e,{name:r,fromWireType:function(f){return!!f},toWireType:function(f,o){return o?n:i},argPackAdvance:8,readValueFromPointer:function(f){var o;if(t===1)o=ce;else if(t===2)o=k;else if(t===4)o=b;else throw new TypeError("Unknown boolean type size: "+r);return this.fromWireType(o[f>>s])},destructorFunction:null})}function ct(e){if(!(this instanceof j)||!(e instanceof j))return!1;for(var r=this.$$.ptrType.registeredClass,t=this.$$.ptr,n=e.$$.ptrType.registeredClass,i=e.$$.ptr;r.baseClass;)t=r.upcast(t),r=r.baseClass;for(;n.baseClass;)i=n.upcast(i),n=n.baseClass;return r===n&&t===i}function lt(e){return{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}}function Ue(e){function r(t){return t.$$.ptrType.registeredClass.name}p(r(e)+" instance already deleted")}var je=!1;function dr(e){}function dt(e){e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)}function pr(e){e.count.value-=1;var r=e.count.value===0;r&&dt(e)}function ee(e){return typeof FinalizationGroup>"u"?(ee=function(r){return r},e):(je=new FinalizationGroup(function(r){for(var t=r.next();!t.done;t=r.next()){var n=t.value;n.ptr?pr(n):console.warn("object already deleted: "+n.ptr)}}),ee=function(r){return je.register(r,r.$$,r.$$),r},dr=function(r){je.unregister(r.$$)},ee(e))}function pt(){if(this.$$.ptr||Ue(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e=ee(Object.create(Object.getPrototypeOf(this),{$$:{value:lt(this.$$)}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e}function vt(){this.$$.ptr||Ue(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&p("Object already scheduled for deletion"),dr(this),pr(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function yt(){return!this.$$.ptr}var re=void 0,te=[];function Ie(){for(;te.length;){var e=te.pop();e.$$.deleteScheduled=!1,e.delete()}}function ht(){return this.$$.ptr||Ue(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&p("Object already scheduled for deletion"),te.push(this),te.length===1&&re&&re(Ie),this.$$.deleteScheduled=!0,this}function gt(){j.prototype.isAliasOf=ct,j.prototype.clone=pt,j.prototype.delete=vt,j.prototype.isDeleted=yt,j.prototype.deleteLater=ht}function j(){}var vr={};function yr(e,r,t){if(e[r].overloadTable===void 0){var n=e[r];e[r]=function(){return e[r].overloadTable.hasOwnProperty(arguments.length)||p("Function '"+t+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+e[r].overloadTable+")!"),e[r].overloadTable[arguments.length].apply(this,arguments)},e[r].overloadTable=[],e[r].overloadTable[n.argCount]=n}}function ke(e,r,t){u.hasOwnProperty(e)?((t===void 0||u[e].overloadTable!==void 0&&u[e].overloadTable[t]!==void 0)&&p("Cannot register public name '"+e+"' twice"),yr(u,e,e),u.hasOwnProperty(t)&&p("Cannot register multiple overloads of a function with the same number of arguments ("+t+")!"),u[e].overloadTable[t]=r):(u[e]=r,t!==void 0&&(u[e].numArguments=t))}function _t(e,r,t,n,i,s,f,o){this.name=e,this.constructor=r,this.instancePrototype=t,this.rawDestructor=n,this.baseClass=i,this.getActualType=s,this.upcast=f,this.downcast=o,this.pureVirtualFunctions=[]}function He(e,r,t){for(;r!==t;)r.upcast||p("Expected null or instance of "+t.name+", got an instance of "+r.name),e=r.upcast(e),r=r.baseClass;return e}function mt(e,r){if(r===null)return this.isReference&&p("null is not a valid "+this.name),0;r.$$||p('Cannot pass "'+N(r)+'" as a '+this.name),r.$$.ptr||p("Cannot pass deleted object as a pointer of type "+this.name);var t=r.$$.ptrType.registeredClass,n=He(r.$$.ptr,t,this.registeredClass);return n}function bt(e,r){var t;if(r===null)return this.isReference&&p("null is not a valid "+this.name),this.isSmartPointer?(t=this.rawConstructor(),e!==null&&e.push(this.rawDestructor,t),t):0;r.$$||p('Cannot pass "'+N(r)+'" as a '+this.name),r.$$.ptr||p("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&r.$$.ptrType.isConst&&p("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);var n=r.$$.ptrType.registeredClass;if(t=He(r.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(r.$$.smartPtr===void 0&&p("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?t=r.$$.smartPtr:p("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:t=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)t=r.$$.smartPtr;else{var i=r.clone();t=this.rawShare(t,S(function(){i.delete()})),e!==null&&e.push(this.rawDestructor,t)}break;default:p("Unsupporting sharing policy")}return t}function wt(e,r){if(r===null)return this.isReference&&p("null is not a valid "+this.name),0;r.$$||p('Cannot pass "'+N(r)+'" as a '+this.name),r.$$.ptr||p("Cannot pass deleted object as a pointer of type "+this.name),r.$$.ptrType.isConst&&p("Cannot convert argument of type "+r.$$.ptrType.name+" to parameter type "+this.name);var t=r.$$.ptrType.registeredClass,n=He(r.$$.ptr,t,this.registeredClass);return n}function Tt(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e}function Pt(e){this.rawDestructor&&this.rawDestructor(e)}function Ct(e){e!==null&&e.delete()}function hr(e,r,t){if(r===t)return e;if(t.baseClass===void 0)return null;var n=hr(e,r,t.baseClass);return n===null?null:t.downcast(n)}function At(){return Object.keys(ne).length}function $t(){var e=[];for(var r in ne)ne.hasOwnProperty(r)&&e.push(ne[r]);return e}function Ft(e){re=e,te.length&&re&&re(Ie)}function Et(){u.getInheritedInstanceCount=At,u.getLiveInheritedInstances=$t,u.flushPendingDeletes=Ie,u.setDelayFunction=Ft}var ne={};function Rt(e,r){for(r===void 0&&p("ptr should not be undefined");e.baseClass;)r=e.upcast(r),e=e.baseClass;return r}function St(e,r){return r=Rt(e,r),ne[r]}function me(e,r){(!r.ptrType||!r.ptr)&&ge("makeClassHandle requires ptr and ptrType");var t=!!r.smartPtrType,n=!!r.smartPtr;return t!==n&&ge("Both smartPtrType and smartPtr must be specified"),r.count={value:1},ee(Object.create(e,{$$:{value:r}}))}function Ot(e){var r=this.getPointee(e);if(!r)return this.destructor(e),null;var t=St(this.registeredClass,r);if(t!==void 0){if(t.$$.count.value===0)return t.$$.ptr=r,t.$$.smartPtr=e,t.clone();var n=t.clone();return this.destructor(e),n}function i(){return this.isSmartPointer?me(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:e}):me(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var s=this.registeredClass.getActualType(r),f=vr[s];if(!f)return i.call(this);var o;this.isConst?o=f.constPointerType:o=f.pointerType;var a=hr(r,this.registeredClass,o.registeredClass);return a===null?i.call(this):this.isSmartPointer?me(o.registeredClass.instancePrototype,{ptrType:o,ptr:a,smartPtrType:this,smartPtr:e}):me(o.registeredClass.instancePrototype,{ptrType:o,ptr:a})}function Wt(){R.prototype.getPointee=Tt,R.prototype.destructor=Pt,R.prototype.argPackAdvance=8,R.prototype.readValueFromPointer=Z,R.prototype.deleteObject=Ct,R.prototype.fromWireType=Ot}function R(e,r,t,n,i,s,f,o,a,c,l){this.name=e,this.registeredClass=r,this.isReference=t,this.isConst=n,this.isSmartPointer=i,this.pointeeType=s,this.sharingPolicy=f,this.rawGetPointee=o,this.rawConstructor=a,this.rawShare=c,this.rawDestructor=l,!i&&r.baseClass===void 0?n?(this.toWireType=mt,this.destructorFunction=null):(this.toWireType=wt,this.destructorFunction=null):this.toWireType=bt}function gr(e,r,t){u.hasOwnProperty(e)||ge("Replacing nonexistant public symbol"),u[e].overloadTable!==void 0&&t!==void 0?u[e].overloadTable[t]=r:(u[e]=r,u[e].argCount=t)}function Dt(e,r,t){var n=u["dynCall_"+e];return t&&t.length?n.apply(null,[r].concat(t)):n.call(null,r)}function Ut(e,r,t){return e.indexOf("j")!=-1?Dt(e,r,t):K.get(r).apply(null,t)}function jt(e,r){var t=[];return function(){t.length=arguments.length;for(var n=0;n<arguments.length;n++)t[n]=arguments[n];return Ut(e,r,t)}}function A(e,r){e=h(e);function t(){return e.indexOf("j")!=-1?jt(e,r):K.get(r)}var n=t();return typeof n!="function"&&p("unknown function pointer with signature "+e+": "+r),n}var _r=void 0;function mr(e){var r=Cr(e),t=h(r);return O(r),t}function be(e,r){var t=[],n={};function i(s){if(!n[s]&&!M[s]){if(ve[s]){ve[s].forEach(i);return}t.push(s),n[s]=!0}}throw r.forEach(i),new _r(e+": "+t.map(mr).join([", "]))}function It(e,r,t,n,i,s,f,o,a,c,l,d,v){l=h(l),s=A(i,s),o&&(o=A(f,o)),c&&(c=A(a,c)),v=A(d,v);var y=ye(l);ke(y,function(){be("Cannot construct "+l+" due to unbound types",[n])}),U([e,r,t],n?[n]:[],function(g){g=g[0];var m,C;n?(m=g.registeredClass,C=m.instancePrototype):C=j.prototype;var E=he(y,function(){if(Object.getPrototypeOf(this)!==oe)throw new q("Use 'new' to construct "+l);if(W.constructor_body===void 0)throw new q(l+" has no accessible constructor");var Fr=W.constructor_body[arguments.length];if(Fr===void 0)throw new q("Tried to invoke ctor of "+l+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(W.constructor_body).toString()+") parameters instead!");return Fr.apply(this,arguments)}),oe=Object.create(C,{constructor:{value:E}});E.prototype=oe;var W=new _t(l,E,oe,v,m,s,o,c),Wn=new R(l,W,!0,!1,!1),Ar=new R(l+"*",W,!1,!1,!1),$r=new R(l+" const*",W,!1,!0,!1);return vr[e]={pointerType:Ar,constPointerType:$r},gr(y,E),[Wn,Ar,$r]})}function Me(e,r){for(var t=[],n=0;n<e;n++)t.push(b[(r>>2)+n]);return t}function kt(e,r,t,n,i,s){Se(r>0);var f=Me(r,t);i=A(n,i);var o=[s],a=[];U([],[e],function(c){c=c[0];var l="constructor "+c.name;if(c.registeredClass.constructor_body===void 0&&(c.registeredClass.constructor_body=[]),c.registeredClass.constructor_body[r-1]!==void 0)throw new q("Cannot register multiple constructors with identical number of parameters ("+(r-1)+") for class '"+c.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return c.registeredClass.constructor_body[r-1]=function(){be("Cannot construct "+c.name+" due to unbound types",f)},U([],f,function(d){return c.registeredClass.constructor_body[r-1]=function(){arguments.length!==r-1&&p(l+" called with "+arguments.length+" arguments, expected "+(r-1)),a.length=0,o.length=r;for(var y=1;y<r;++y)o[y]=d[y].toWireType(a,arguments[y-1]);var g=i.apply(null,o);return pe(a),d[0].fromWireType(g)},[]}),[]})}function br(e,r){if(!(e instanceof Function))throw new TypeError("new_ called with constructor type "+typeof e+" which is not a function");var t=he(e.name||"unknownFunctionName",function(){});t.prototype=e.prototype;var n=new t,i=e.apply(n,r);return i instanceof Object?i:n}function wr(e,r,t,n,i){var s=r.length;s<2&&p("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var f=r[1]!==null&&t!==null,o=!1,a=1;a<r.length;++a)if(r[a]!==null&&r[a].destructorFunction===void 0){o=!0;break}for(var c=r[0].name!=="void",l="",d="",a=0;a<s-2;++a)l+=(a!==0?", ":"")+"arg"+a,d+=(a!==0?", ":"")+"arg"+a+"Wired";var v="return function "+ye(e)+"("+l+`) {
31
+ if (arguments.length !== `+(s-2)+`) {
32
+ throwBindingError('function `+e+" called with ' + arguments.length + ' arguments, expected "+(s-2)+` args!');
33
+ }
34
+ `;o&&(v+=`var destructors = [];
35
+ `);var y=o?"destructors":"null",g=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],m=[p,n,i,pe,r[0],r[1]];f&&(v+="var thisWired = classParam.toWireType("+y+`, this);
36
+ `);for(var a=0;a<s-2;++a)v+="var arg"+a+"Wired = argType"+a+".toWireType("+y+", arg"+a+"); // "+r[a+2].name+`
37
+ `,g.push("argType"+a),m.push(r[a+2]);if(f&&(d="thisWired"+(d.length>0?", ":"")+d),v+=(c?"var rv = ":"")+"invoker(fn"+(d.length>0?", ":"")+d+`);
38
+ `,o)v+=`runDestructors(destructors);
39
+ `;else for(var a=f?1:2;a<r.length;++a){var C=a===1?"thisWired":"arg"+(a-2)+"Wired";r[a].destructorFunction!==null&&(v+=C+"_dtor("+C+"); // "+r[a].name+`
40
+ `,g.push(C+"_dtor"),m.push(r[a].destructorFunction))}c&&(v+=`var ret = retType.fromWireType(rv);
41
+ return ret;
42
+ `),v+=`}
43
+ `,g.push(v);var E=br(Function,g).apply(null,m);return E}function Ht(e,r,t,n,i,s,f,o){var a=Me(t,n);r=h(r),s=A(i,s),U([],[e],function(c){c=c[0];var l=c.name+"."+r;o&&c.registeredClass.pureVirtualFunctions.push(r);function d(){be("Cannot call "+l+" due to unbound types",a)}var v=c.registeredClass.instancePrototype,y=v[r];return y===void 0||y.overloadTable===void 0&&y.className!==c.name&&y.argCount===t-2?(d.argCount=t-2,d.className=c.name,v[r]=d):(yr(v,r,l),v[r].overloadTable[t-2]=d),U([],a,function(g){var m=wr(l,g,c,s,f);return v[r].overloadTable===void 0?(m.argCount=t-2,v[r]=m):v[r].overloadTable[t-2]=m,[]}),[]})}function Mt(e,r,t){e=h(e),U([],[r],function(n){return n=n[0],u[e]=n.fromWireType(t),[]})}var Ve=[],P=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function Le(e){e>4&&--P[e].refcount===0&&(P[e]=void 0,Ve.push(e))}function Vt(){for(var e=0,r=5;r<P.length;++r)P[r]!==void 0&&++e;return e}function Lt(){for(var e=5;e<P.length;++e)if(P[e]!==void 0)return P[e];return null}function Bt(){u.count_emval_handles=Vt,u.get_first_emval=Lt}function S(e){switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:{var r=Ve.length?Ve.pop():P.length;return P[r]={refcount:1,value:e},r}}}function qt(e,r){r=h(r),F(e,{name:r,fromWireType:function(t){var n=P[t].value;return Le(t),n},toWireType:function(t,n){return S(n)},argPackAdvance:8,readValueFromPointer:Z,destructorFunction:null})}function Nt(e,r,t){switch(r){case 0:return function(n){var i=t?ce:_;return this.fromWireType(i[n])};case 1:return function(n){var i=t?k:J;return this.fromWireType(i[n>>1])};case 2:return function(n){var i=t?b:$;return this.fromWireType(i[n>>2])};default:throw new TypeError("Unknown integer type: "+e)}}function xt(e,r,t,n){var i=_e(t);r=h(r);function s(){}s.values={},F(e,{name:r,constructor:s,fromWireType:function(f){return this.constructor.values[f]},toWireType:function(f,o){return o.value},argPackAdvance:8,readValueFromPointer:Nt(r,i,n),destructorFunction:null}),ke(r,s)}function we(e,r){var t=M[e];return t===void 0&&p(r+" has unknown type "+mr(e)),t}function Gt(e,r,t){var n=we(e,"enum");r=h(r);var i=n.constructor,s=Object.create(n.constructor.prototype,{value:{value:t},constructor:{value:he(n.name+"_"+r,function(){})}});i.values[t]=s,i[r]=s}function N(e){if(e===null)return"null";var r=typeof e;return r==="object"||r==="array"||r==="function"?e.toString():""+e}function zt(e,r){switch(r){case 2:return function(t){return this.fromWireType(er[t>>2])};case 3:return function(t){return this.fromWireType(rr[t>>3])};default:throw new TypeError("Unknown float type: "+e)}}function Xt(e,r,t){var n=_e(t);r=h(r),F(e,{name:r,fromWireType:function(i){return i},toWireType:function(i,s){if(typeof s!="number"&&typeof s!="boolean")throw new TypeError('Cannot convert "'+N(s)+'" to '+this.name);return s},argPackAdvance:8,readValueFromPointer:zt(r,n),destructorFunction:null})}function Yt(e,r,t,n,i,s){var f=Me(r,t);e=h(e),i=A(n,i),ke(e,function(){be("Cannot call "+e+" due to unbound types",f)},r-1),U([],f,function(o){var a=[o[0],null].concat(o.slice(1));return gr(e,wr(e,a,null,i,s),r-1),[]})}function Jt(e,r,t){switch(r){case 0:return t?function(i){return ce[i]}:function(i){return _[i]};case 1:return t?function(i){return k[i>>1]}:function(i){return J[i>>1]};case 2:return t?function(i){return b[i>>2]}:function(i){return $[i>>2]};default:throw new TypeError("Unknown integer type: "+e)}}function Kt(e,r,t,n,i){r=h(r),i===-1&&(i=4294967295);var s=_e(t),f=function(c){return c};if(n===0){var o=32-8*t;f=function(c){return c<<o>>>o}}var a=r.indexOf("unsigned")!=-1;F(e,{name:r,fromWireType:f,toWireType:function(c,l){if(typeof l!="number"&&typeof l!="boolean")throw new TypeError('Cannot convert "'+N(l)+'" to '+this.name);if(l<n||l>i)throw new TypeError('Passing a number "'+N(l)+'" from JS side to C/C++ side to an argument of type "'+r+'", which is outside the valid range ['+n+", "+i+"]!");return a?l>>>0:l|0},argPackAdvance:8,readValueFromPointer:Jt(r,s,n!==0),destructorFunction:null})}function Qt(e,r,t){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],i=n[r];function s(f){f=f>>2;var o=$,a=o[f],c=o[f+1];return new i(Oe,c,a)}t=h(t),F(e,{name:t,fromWireType:s,argPackAdvance:8,readValueFromPointer:s},{ignoreDuplicateRegistrations:!0})}function Zt(e,r){r=h(r);var t=r==="std::string";F(e,{name:r,fromWireType:function(n){var i=$[n>>2],s;if(t)for(var f=n+4,o=0;o<=i;++o){var a=n+4+o;if(o==i||_[a]==0){var c=a-f,l=Qe(f,c);s===void 0?s=l:(s+=String.fromCharCode(0),s+=l),f=a+1}}else{for(var d=new Array(i),o=0;o<i;++o)d[o]=String.fromCharCode(_[n+4+o]);s=d.join("")}return O(n),s},toWireType:function(n,i){i instanceof ArrayBuffer&&(i=new Uint8Array(i));var s,f=typeof i=="string";f||i instanceof Uint8Array||i instanceof Uint8ClampedArray||i instanceof Int8Array||p("Cannot pass non-string to std::string"),t&&f?s=function(){return Ir(i)}:s=function(){return i.length};var o=s(),a=qe(4+o+1);if($[a>>2]=o,t&&f)jr(i,a+4,o+1);else if(f)for(var c=0;c<o;++c){var l=i.charCodeAt(c);l>255&&(O(a),p("String has UTF-16 code units that do not fit in 8 bits")),_[a+4+c]=l}else for(var c=0;c<o;++c)_[a+4+c]=i[c];return n!==null&&n.push(O,a),a},argPackAdvance:8,readValueFromPointer:Z,destructorFunction:function(n){O(n)}})}function en(e,r,t){t=h(t);var n,i,s,f,o;r===2?(n=kr,i=Hr,f=Mr,s=function(){return J},o=1):r===4&&(n=Vr,i=Lr,f=Br,s=function(){return $},o=2),F(e,{name:t,fromWireType:function(a){for(var c=$[a>>2],l=s(),d,v=a+4,y=0;y<=c;++y){var g=a+4+y*r;if(y==c||l[g>>o]==0){var m=g-v,C=n(v,m);d===void 0?d=C:(d+=String.fromCharCode(0),d+=C),v=g+r}}return O(a),d},toWireType:function(a,c){typeof c!="string"&&p("Cannot pass non-string to C++ string type "+t);var l=f(c),d=qe(4+l+r);return $[d>>2]=l>>o,i(c,d+4,l+r),a!==null&&a.push(O,d),d},argPackAdvance:8,readValueFromPointer:Z,destructorFunction:function(a){O(a)}})}function rn(e,r,t,n,i,s){de[e]={name:h(r),rawConstructor:A(t,n),rawDestructor:A(i,s),fields:[]}}function tn(e,r,t,n,i,s,f,o,a,c){de[e].fields.push({fieldName:h(r),getterReturnType:t,getter:A(n,i),getterContext:s,setterArgumentType:f,setter:A(o,a),setterContext:c})}function nn(e,r){r=h(r),F(e,{isVoid:!0,name:r,argPackAdvance:0,fromWireType:function(){},toWireType:function(t,n){}})}function ie(e){return e||p("Cannot use deleted val. handle = "+e),P[e].value}function on(e,r,t){e=ie(e),r=we(r,"emval::as");var n=[],i=S(n);return b[t>>2]=i,r.toWireType(n,e)}var an={};function Te(e){var r=an[e];return r===void 0?h(e):r}var Be=[];function sn(e,r,t,n){e=Be[e],r=ie(r),t=Te(t),e(r,t,null,n)}function Tr(){return typeof globalThis=="object"?globalThis:function(){return Function}()("return this")()}function un(e){return e===0?S(Tr()):(e=Te(e),S(Tr()[e]))}function fn(e){var r=Be.length;return Be.push(e),r}function cn(e,r){for(var t=new Array(e),n=0;n<e;++n)t[n]=we(b[(r>>2)+n],"parameter "+n);return t}function ln(e,r){for(var t=cn(e,r),n=t[0],i=n.name+"_$"+t.slice(1).map(function(y){return y.name}).join("_")+"$",s=["retType"],f=[n],o="",a=0;a<e-1;++a)o+=(a!==0?", ":"")+"arg"+a,s.push("argType"+a),f.push(t[1+a]);for(var c=ye("methodCaller_"+i),l="return function "+c+`(handle, name, destructors, args) {
44
+ `,d=0,a=0;a<e-1;++a)l+=" var arg"+a+" = argType"+a+".readValueFromPointer(args"+(d?"+"+d:"")+`);
45
+ `,d+=t[a+1].argPackAdvance;l+=" var rv = handle[name]("+o+`);
46
+ `;for(var a=0;a<e-1;++a)t[a+1].deleteObject&&(l+=" argType"+a+".deleteObject(arg"+a+`);
47
+ `);n.isVoid||(l+=` return retType.toWireType(destructors, rv);
48
+ `),l+=`};
49
+ `,s.push(l);var v=br(Function,s).apply(null,f);return fn(v)}function dn(e){return e=Te(e),S(u[e])}function pn(e,r){return e=ie(e),r=ie(r),S(e[r])}function vn(e){e>4&&(P[e].refcount+=1)}function yn(e){for(var r="",t=0;t<e;++t)r+=(t!==0?", ":"")+"arg"+t;for(var n="return function emval_allocator_"+e+`(constructor, argTypes, args) {
50
+ `,t=0;t<e;++t)n+="var argType"+t+" = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + "+t+'], "parameter '+t+`");
51
+ var arg`+t+" = argType"+t+`.readValueFromPointer(args);
52
+ args += argType`+t+`['argPackAdvance'];
53
+ `;return n+="var obj = new constructor("+r+`);
54
+ return __emval_register(obj);
55
+ }
56
+ `,new Function("requireRegisteredType","Module","__emval_register",n)(we,u,S)}var Pr={};function hn(e,r,t,n){e=ie(e);var i=Pr[r];return i||(i=yn(r),Pr[r]=i),i(e,t,n)}function gn(e){return S(Te(e))}function _n(e){var r=P[e].value;pe(r),Le(e)}function mn(){L()}function bn(e,r,t){_.copyWithin(e,r,r+t)}function wn(e){try{return fe.grow(e-Oe.byteLength+65535>>>16),tr(fe.buffer),1}catch{}}function Tn(e){var r=_.length;e=e>>>0;var t=2147483648;if(e>t)return!1;for(var n=1;n<=4;n*=2){var i=r*(1+.2/n);i=Math.min(i,e+100663296);var s=Math.min(t,qr(Math.max(e,i),65536)),f=wn(s);if(f)return!0}return!1}var Pe={mappings:{},buffers:[null,[],[]],printChar:function(e,r){var t=Pe.buffers[e];r===0||r===10?((e===1?Sr:V)(Ke(t,0)),t.length=0):t.push(r)},varargs:void 0,get:function(){Pe.varargs+=4;var e=b[Pe.varargs-4>>2];return e},getStr:function(e){var r=Qe(e);return r},get64:function(e,r){return e}};function Pn(e){return 0}function Cn(e,r,t,n,i){}function An(e,r,t,n){for(var i=0,s=0;s<t;s++){for(var f=b[r+s*8>>2],o=b[r+(s*8+4)>>2],a=0;a<o;a++)Pe.printChar(e,_[f+a]);i+=o}return b[n>>2]=i,0}function $n(e){Wr(e|0)}cr=u.InternalError=De(Error,"InternalError"),ut(),q=u.BindingError=De(Error,"BindingError"),gt(),Wt(),Et(),_r=u.UnboundTypeError=De(Error,"UnboundTypeError"),Bt();var Fn={t:st,I:ft,x:It,w:kt,d:Ht,k:Mt,H:qt,n:xt,a:Gt,A:Xt,i:Yt,j:Kt,h:Qt,B:Zt,v:en,u:rn,c:tn,J:nn,m:on,s:sn,b:Le,y:un,p:ln,r:dn,e:pn,g:vn,q:hn,f:gn,l:_n,o:mn,E:bn,F:Tn,G:Pn,C:Cn,z:An,D:$n},jn=it(),En=u.___wasm_call_ctors=function(){return(En=u.___wasm_call_ctors=u.asm.L).apply(null,arguments)},qe=u._malloc=function(){return(qe=u._malloc=u.asm.M).apply(null,arguments)},O=u._free=function(){return(O=u._free=u.asm.N).apply(null,arguments)},Cr=u.___getTypeName=function(){return(Cr=u.___getTypeName=u.asm.P).apply(null,arguments)},Rn=u.___embind_register_native_and_builtin_types=function(){return(Rn=u.___embind_register_native_and_builtin_types=u.asm.Q).apply(null,arguments)},Sn=u.dynCall_jiji=function(){return(Sn=u.dynCall_jiji=u.asm.R).apply(null,arguments)},Ce;function On(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}Q=function e(){Ce||Ne(),Ce||(Q=e)};function Ne(e){if(e=e||z,H>0||(Gr(),H>0))return;function r(){Ce||(Ce=!0,u.calledRun=!0,!Ye&&(zr(),Xr(),xe(u),u.onRuntimeInitialized&&u.onRuntimeInitialized(),Yr()))}u.setStatus?(u.setStatus("Running..."),setTimeout(function(){setTimeout(function(){u.setStatus("")},1),r()},1)):r()}if(u.run=Ne,u.preInit)for(typeof u.preInit=="function"&&(u.preInit=[u.preInit]);u.preInit.length>0;)u.preInit.pop()();return Ne(),x.ready}}();typeof exports=="object"&&typeof module=="object"?module.exports=BASIS:typeof define=="function"&&define.amd?define([],function(){return BASIS}):typeof exports=="object"&&(exports.BASIS=BASIS);
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.96
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
+ var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.arrayIteratorImpl=function(a){var s=0;return function(){return s<a.length?{done:!1,value:a[s++]}:{done:!0}}},$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}},$jscomp.makeIterator=function(a){var s=typeof Symbol<"u"&&Symbol.iterator&&a[Symbol.iterator];return s?s.call(a):$jscomp.arrayIterator(a)},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.ISOLATE_POLYFILLS=!1,$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,$jscomp.getGlobal=function(a){a=[typeof globalThis=="object"&&globalThis,a,typeof window=="object"&&window,typeof self=="object"&&self,typeof global=="object"&&global];for(var s=0;s<a.length;++s){var p=a[s];if(p&&p.Math==Math)return p}throw Error("Cannot find global object")},$jscomp.global=$jscomp.getGlobal(this),$jscomp.defineProperty=$jscomp.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(a,s,p){return a==Array.prototype||a==Object.prototype||(a[s]=p.value),a},$jscomp.IS_SYMBOL_NATIVE=typeof Symbol=="function"&&typeof Symbol("x")=="symbol",$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE,$jscomp.polyfills={},$jscomp.propertyToPolyfillSymbol={},$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(a,s){var p=$jscomp.propertyToPolyfillSymbol[s];return p==null?a[s]:(p=a[p],p!==void 0?p:a[s])};$jscomp.polyfill=function(a,s,p,c){s&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(a,s,p,c):$jscomp.polyfillUnisolated(a,s,p,c))},$jscomp.polyfillUnisolated=function(a,s,p,c){for(p=$jscomp.global,a=a.split("."),c=0;c<a.length-1;c++){var i=a[c];if(!(i in p))return;p=p[i]}a=a[a.length-1],c=p[a],s=s(c),s!=c&&s!=null&&$jscomp.defineProperty(p,a,{configurable:!0,writable:!0,value:s})},$jscomp.polyfillIsolated=function(a,s,p,c){var i=a.split(".");a=i.length===1,c=i[0],c=!a&&c in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var I=0;I<i.length-1;I++){var _=i[I];if(!(_ in c))return;c=c[_]}i=i[i.length-1],p=$jscomp.IS_SYMBOL_NATIVE&&p==="es6"?c[i]:null,s=s(p),s!=null&&(a?$jscomp.defineProperty($jscomp.polyfills,i,{configurable:!0,writable:!0,value:s}):s!==p&&($jscomp.propertyToPolyfillSymbol[i]===void 0&&(p=1e9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[i]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(i):$jscomp.POLYFILL_PREFIX+p+"$"+i),$jscomp.defineProperty(c,$jscomp.propertyToPolyfillSymbol[i],{configurable:!0,writable:!0,value:s})))},$jscomp.polyfill("Promise",function(a){function s(){this.batch_=null}function p(_){return _ instanceof i?_:new i(function(y,b){y(_)})}if(a&&(!($jscomp.FORCE_POLYFILL_PROMISE||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&typeof $jscomp.global.PromiseRejectionEvent>"u")||!$jscomp.global.Promise||$jscomp.global.Promise.toString().indexOf("[native code]")===-1))return a;s.prototype.asyncExecute=function(_){if(this.batch_==null){this.batch_=[];var y=this;this.asyncExecuteFunction(function(){y.executeBatch_()})}this.batch_.push(_)};var c=$jscomp.global.setTimeout;s.prototype.asyncExecuteFunction=function(_){c(_,0)},s.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var _=this.batch_;this.batch_=[];for(var y=0;y<_.length;++y){var b=_[y];_[y]=null;try{b()}catch(D){this.asyncThrow_(D)}}}this.batch_=null},s.prototype.asyncThrow_=function(_){this.asyncExecuteFunction(function(){throw _})};var i=function(_){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var y=this.createResolveAndReject_();try{_(y.resolve,y.reject)}catch(b){y.reject(b)}};i.prototype.createResolveAndReject_=function(){function _(D){return function(O){b||(b=!0,D.call(y,O))}}var y=this,b=!1;return{resolve:_(this.resolveTo_),reject:_(this.reject_)}},i.prototype.resolveTo_=function(_){if(_===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(_ instanceof i)this.settleSameAsPromise_(_);else{t:switch(typeof _){case"object":var y=_!=null;break t;case"function":y=!0;break t;default:y=!1}y?this.resolveToNonPromiseObj_(_):this.fulfill_(_)}},i.prototype.resolveToNonPromiseObj_=function(_){var y=void 0;try{y=_.then}catch(b){this.reject_(b);return}typeof y=="function"?this.settleSameAsThenable_(y,_):this.fulfill_(_)},i.prototype.reject_=function(_){this.settle_(2,_)},i.prototype.fulfill_=function(_){this.settle_(1,_)},i.prototype.settle_=function(_,y){if(this.state_!=0)throw Error("Cannot settle("+_+", "+y+"): Promise already settled in state"+this.state_);this.state_=_,this.result_=y,this.state_===2&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},i.prototype.scheduleUnhandledRejectionCheck_=function(){var _=this;c(function(){if(_.notifyUnhandledRejection_()){var y=$jscomp.global.console;typeof y<"u"&&y.error(_.result_)}},1)},i.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var _=$jscomp.global.CustomEvent,y=$jscomp.global.Event,b=$jscomp.global.dispatchEvent;return typeof b>"u"?!0:(typeof _=="function"?_=new _("unhandledrejection",{cancelable:!0}):typeof y=="function"?_=new y("unhandledrejection",{cancelable:!0}):(_=$jscomp.global.document.createEvent("CustomEvent"),_.initCustomEvent("unhandledrejection",!1,!0,_)),_.promise=this,_.reason=this.result_,b(_))},i.prototype.executeOnSettledCallbacks_=function(){if(this.onSettledCallbacks_!=null){for(var _=0;_<this.onSettledCallbacks_.length;++_)I.asyncExecute(this.onSettledCallbacks_[_]);this.onSettledCallbacks_=null}};var I=new s;return i.prototype.settleSameAsPromise_=function(_){var y=this.createResolveAndReject_();_.callWhenSettled_(y.resolve,y.reject)},i.prototype.settleSameAsThenable_=function(_,y){var b=this.createResolveAndReject_();try{_.call(y,b.resolve,b.reject)}catch(D){b.reject(D)}},i.prototype.then=function(_,y){function b(L,m){return typeof L=="function"?function(A){try{D(L(A))}catch(E){O(E)}}:m}var D,O,$=new i(function(L,m){D=L,O=m});return this.callWhenSettled_(b(_,D),b(y,O)),$},i.prototype.catch=function(_){return this.then(void 0,_)},i.prototype.callWhenSettled_=function(_,y){function b(){switch(D.state_){case 1:_(D.result_);break;case 2:y(D.result_);break;default:throw Error("Unexpected state: "+D.state_)}}var D=this;this.onSettledCallbacks_==null?I.asyncExecute(b):this.onSettledCallbacks_.push(b),this.isRejectionHandled_=!0},i.resolve=p,i.reject=function(_){return new i(function(y,b){b(_)})},i.race=function(_){return new i(function(y,b){for(var D=$jscomp.makeIterator(_),O=D.next();!O.done;O=D.next())p(O.value).callWhenSettled_(y,b)})},i.all=function(_){var y=$jscomp.makeIterator(_),b=y.next();return b.done?p([]):new i(function(D,O){function $(A){return function(E){L[A]=E,m--,m==0&&D(L)}}var L=[],m=0;do L.push(void 0),m++,p(b.value).callWhenSettled_($(L.length-1),O),b=y.next();while(!b.done)})},i},"es6","es3"),$jscomp.owns=function(a,s){return Object.prototype.hasOwnProperty.call(a,s)},$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&typeof Object.assign=="function"?Object.assign:function(a,s){for(var p=1;p<arguments.length;p++){var c=arguments[p];if(c)for(var i in c)$jscomp.owns(c,i)&&(a[i]=c[i])}return a},$jscomp.polyfill("Object.assign",function(a){return a||$jscomp.assign},"es6","es3"),$jscomp.checkStringArgs=function(a,s,p){if(a==null)throw new TypeError("The 'this' value for String.prototype."+p+" must not be null or undefined");if(s instanceof RegExp)throw new TypeError("First argument to String.prototype."+p+" must not be a regular expression");return a+""},$jscomp.polyfill("String.prototype.startsWith",function(a){return a||function(s,p){var c=$jscomp.checkStringArgs(this,s,"startsWith");s+="";var i=c.length,I=s.length;p=Math.max(0,Math.min(p|0,c.length));for(var _=0;_<I&&p<i;)if(c[p++]!=s[_++])return!1;return _>=I}},"es6","es3"),$jscomp.polyfill("Array.prototype.copyWithin",function(a){function s(p){return p=Number(p),p===1/0||p===-1/0?p:p|0}return a||function(p,c,i){var I=this.length;if(p=s(p),c=s(c),i=i===void 0?I:s(i),p=0>p?Math.max(I+p,0):Math.min(p,I),c=0>c?Math.max(I+c,0):Math.min(c,I),i=0>i?Math.max(I+i,0):Math.min(i,I),p<c)for(;c<i;)c in this?this[p++]=this[c++]:(delete this[p++],c++);else for(i=Math.min(i,I+c-p),p+=i-c;i>c;)--i in this?this[--p]=this[i]:delete this[--p];return this}},"es6","es3"),$jscomp.typedArrayCopyWithin=function(a){return a||Array.prototype.copyWithin},$jscomp.polyfill("Int8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint8ClampedArray.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Int16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Int32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Float32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Float64Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");var DracoDecoderModule=function(){var a=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return typeof __filename<"u"&&(a=a||__filename),function(s){function p(e){return t.locateFile?t.locateFile(e,W):W+e}function c(e,r,n){var o=r+n;for(n=r;e[n]&&!(n>=o);)++n;if(16<n-r&&e.buffer&&Gt)return Gt.decode(e.subarray(r,n));for(o="";r<n;){var l=e[r++];if(l&128){var d=e[r++]&63;if((l&224)==192)o+=String.fromCharCode((l&31)<<6|d);else{var X=e[r++]&63;l=(l&240)==224?(l&15)<<12|d<<6|X:(l&7)<<18|d<<12|X<<6|e[r++]&63,65536>l?o+=String.fromCharCode(l):(l-=65536,o+=String.fromCharCode(55296|l>>10,56320|l&1023))}}else o+=String.fromCharCode(l)}return o}function i(e,r){return e?c(tt,e,r):""}function I(e){Ot=e,t.HEAP8=H=new Int8Array(e),t.HEAP16=new Int16Array(e),t.HEAP32=et=new Int32Array(e),t.HEAPU8=tt=new Uint8Array(e),t.HEAPU16=new Uint16Array(e),t.HEAPU32=x=new Uint32Array(e),t.HEAPF32=new Float32Array(e),t.HEAPF64=new Float64Array(e)}function _(e){throw t.onAbort&&t.onAbort(e),e="Aborted("+e+")",K(e),Et=!0,e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info."),pt(e),e}function y(e){try{if(e==z&&Z)return new Uint8Array(Z);if(st)return st(e);throw"both async and sync fetching of the wasm failed"}catch(r){_(r)}}function b(){if(!Z&&(Dt||J)){if(typeof fetch=="function"&&!z.startsWith("file://"))return fetch(z,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+z+"'";return e.arrayBuffer()}).catch(function(){return y(z)});if(ct)return new Promise(function(e,r){ct(z,function(n){e(new Uint8Array(n))},r)})}return Promise.resolve().then(function(){return y(z)})}function D(e){for(;0<e.length;){var r=e.shift();if(typeof r=="function")r(t);else{var n=r.func;typeof n=="number"?r.arg===void 0?O(n)():O(n)(r.arg):n(r.arg===void 0?null:r.arg)}}}function O(e){var r=_t[e];return r||(e>=_t.length&&(_t.length=e+1),_t[e]=r=jt.get(e)),r}function $(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(r){x[this.ptr+4>>2]=r},this.get_type=function(){return x[this.ptr+4>>2]},this.set_destructor=function(r){x[this.ptr+8>>2]=r},this.get_destructor=function(){return x[this.ptr+8>>2]},this.set_refcount=function(r){et[this.ptr>>2]=r},this.set_caught=function(r){H[this.ptr+12>>0]=r?1:0},this.get_caught=function(){return H[this.ptr+12>>0]!=0},this.set_rethrown=function(r){H[this.ptr+13>>0]=r?1:0},this.get_rethrown=function(){return H[this.ptr+13>>0]!=0},this.init=function(r,n){this.set_adjusted_ptr(0),this.set_type(r),this.set_destructor(n),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){et[this.ptr>>2]+=1},this.release_ref=function(){var r=et[this.ptr>>2];return et[this.ptr>>2]=r-1,r===1},this.set_adjusted_ptr=function(r){x[this.ptr+16>>2]=r},this.get_adjusted_ptr=function(){return x[this.ptr+16>>2]},this.get_exception_ptr=function(){if(fn(this.get_type()))return x[this.excPtr>>2];var r=this.get_adjusted_ptr();return r!==0?r:this.excPtr}}function L(e){function r(){if(!it&&(it=!0,t.calledRun=!0,!Et)){if(St=!0,D(yt),bt(t),t.onRuntimeInitialized&&t.onRuntimeInitialized(),t.postRun)for(typeof t.postRun=="function"&&(t.postRun=[t.postRun]);t.postRun.length;)Rt.unshift(t.postRun.shift());D(Rt)}}if(!(0<k)){if(t.preRun)for(typeof t.preRun=="function"&&(t.preRun=[t.preRun]);t.preRun.length;)Pt.unshift(t.preRun.shift());D(Pt),0<k||(t.setStatus?(t.setStatus("Running..."),setTimeout(function(){setTimeout(function(){t.setStatus("")},1),r()},1)):r())}}function m(){}function A(e){return(e||m).__cache__}function E(e,r){var n=A(r),o=n[e];return o||(o=Object.create((r||m).prototype),o.ptr=e,n[e]=o)}function q(e){if(typeof e=="string"){for(var r=0,n=0;n<e.length;++n){var o=e.charCodeAt(n);55296<=o&&57343>=o&&(o=65536+((o&1023)<<10)|e.charCodeAt(++n)&1023),127>=o?++r:r=2047>=o?r+2:65535>=o?r+3:r+4}if(r=Array(r+1),n=0,o=r.length,0<o){o=n+o-1;for(var l=0;l<e.length;++l){var d=e.charCodeAt(l);if(55296<=d&&57343>=d){var X=e.charCodeAt(++l);d=65536+((d&1023)<<10)|X&1023}if(127>=d){if(n>=o)break;r[n++]=d}else{if(2047>=d){if(n+1>=o)break;r[n++]=192|d>>6}else{if(65535>=d){if(n+2>=o)break;r[n++]=224|d>>12}else{if(n+3>=o)break;r[n++]=240|d>>18,r[n++]=128|d>>12&63}r[n++]=128|d>>6&63}r[n++]=128|d&63}}r[n]=0}return e=f.alloc(r,H),f.copy(r,H,e),e}return e}function at(e){if(typeof e=="object"){var r=f.alloc(e,H);return f.copy(e,H,r),r}return e}function Y(){throw"cannot construct a VoidPtr, no constructor in IDL"}function V(){this.ptr=Nt(),A(V)[this.ptr]=this}function w(){this.ptr=Ct(),A(w)[this.ptr]=this}function Q(){this.ptr=zt(),A(Q)[this.ptr]=this}function h(){this.ptr=Bt(),A(h)[this.ptr]=this}function v(){this.ptr=Jt(),A(v)[this.ptr]=this}function j(){this.ptr=oe(),A(j)[this.ptr]=this}function P(){this.ptr=pe(),A(P)[this.ptr]=this}function G(){this.ptr=ye(),A(G)[this.ptr]=this}function B(){this.ptr=be(),A(B)[this.ptr]=this}function g(){throw"cannot construct a Status, no constructor in IDL"}function R(){this.ptr=ge(),A(R)[this.ptr]=this}function S(){this.ptr=Oe(),A(S)[this.ptr]=this}function M(){this.ptr=Se(),A(M)[this.ptr]=this}function N(){this.ptr=Fe(),A(N)[this.ptr]=this}function U(){this.ptr=ze(),A(U)[this.ptr]=this}function F(){this.ptr=xe(),A(F)[this.ptr]=this}function C(){this.ptr=qe(),A(C)[this.ptr]=this}function T(){this.ptr=$e(),A(T)[this.ptr]=this}function u(){this.ptr=ir(),A(u)[this.ptr]=this}s=s||{};var t=typeof s<"u"?s:{},bt,pt;t.ready=new Promise(function(e,r){bt=e,pt=r});var ht=!1,At=!1;t.onRuntimeInitialized=function(){ht=!0,At&&typeof t.onModuleLoaded=="function"&&t.onModuleLoaded(t)},t.onModuleParsed=function(){At=!0,ht&&typeof t.onModuleLoaded=="function"&&t.onModuleLoaded(t)},t.isVersionSupported=function(e){return typeof e!="string"?!1:(e=e.split("."),2>e.length||3<e.length?!1:e[0]==1&&0<=e[1]&&5>=e[1]?!0:!(e[0]!=0||10<e[1]))};var Tt=Object.assign({},t),Dt=typeof window=="object",J=typeof importScripts=="function",It=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string",W="",ut,nt;if(It){W=J?require("path").dirname(W)+"/":__dirname+"/";var gt=function(){nt||(ut=require("fs"),nt=require("path"))},vt=function(e,r){return gt(),e=nt.normalize(e),ut.readFileSync(e,r?void 0:"utf8")},st=function(e){return e=vt(e,!0),e.buffer||(e=new Uint8Array(e)),e},ct=function(e,r,n){gt(),e=nt.normalize(e),ut.readFile(e,function(o,l){o?n(o):r(l.buffer)})};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),t.inspect=function(){return"[Emscripten Module object]"}}else(Dt||J)&&(J?W=self.location.href:typeof document<"u"&&document.currentScript&&(W=document.currentScript.src),a&&(W=a),W=W.indexOf("blob:")!==0?W.substr(0,W.replace(/[?#].*/,"").lastIndexOf("/")+1):"",vt=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.send(null),r.responseText},J&&(st=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}),ct=function(e,r,n){var o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="arraybuffer",o.onload=function(){o.status==200||o.status==0&&o.response?r(o.response):n()},o.onerror=n,o.send(null)});var bn=t.print||console.log.bind(console),K=t.printErr||console.warn.bind(console);Object.assign(t,Tt),Tt=null;var Z;t.wasmBinary&&(Z=t.wasmBinary),typeof WebAssembly!="object"&&_("no native wasm support detected");var ot,Et=!1,Gt=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,Ot,H,tt,et,x,jt,Pt=[],yt=[],Rt=[],St=!1,k=0,lt=null,rt=null,z="draco_decoder.wasm";z.startsWith("data:application/octet-stream;base64,")||(z=p(z));var _t=[],hn=0,An=[null,[],[]],Tn={c:function(e){return mn(e+24)+24},b:function(e,r,n){throw new $(e).init(r,n),hn++,e},a:function(){_("")},h:function(e,r,n){tt.copyWithin(e,r,r+n)},f:function(e){var r=tt.length;if(e>>>=0,2147483648<e)return!1;for(var n=1;4>=n;n*=2){var o=r*(1+.2/n);o=Math.min(o,e+100663296);var l=Math;o=Math.max(e,o),l=l.min.call(l,2147483648,o+(65536-o%65536)%65536);t:{try{ot.grow(l-Ot.byteLength+65535>>>16),I(ot.buffer);var d=1;break t}catch{}d=void 0}if(d)return!0}return!1},g:function(e){return 52},e:function(e,r,n,o,l){return 70},d:function(e,r,n,o){for(var l=0,d=0;d<n;d++){var X=x[r>>2],dn=x[r+4>>2];r+=8;for(var mt=0;mt<dn;mt++){var ft=tt[X+mt],dt=An[e];ft===0||ft===10?((e===1?bn:K)(c(dt,0)),dt.length=0):dt.push(ft)}l+=dn}return x[o>>2]=l,0}};(function(){function e(l,d){t.asm=l.exports,ot=t.asm.i,I(ot.buffer),jt=t.asm.k,yt.unshift(t.asm.j),k--,t.monitorRunDependencies&&t.monitorRunDependencies(k),k==0&&(lt!==null&&(clearInterval(lt),lt=null),rt&&(l=rt,rt=null,l()))}function r(l){e(l.instance)}function n(l){return b().then(function(d){return WebAssembly.instantiate(d,o)}).then(function(d){return d}).then(l,function(d){K("failed to asynchronously prepare wasm: "+d),_(d)})}var o={a:Tn};if(k++,t.monitorRunDependencies&&t.monitorRunDependencies(k),t.instantiateWasm)try{return t.instantiateWasm(o,e)}catch(l){return K("Module.instantiateWasm callback failed with error: "+l),!1}return function(){return Z||typeof WebAssembly.instantiateStreaming!="function"||z.startsWith("data:application/octet-stream;base64,")||z.startsWith("file://")||It||typeof fetch!="function"?n(r):fetch(z,{credentials:"same-origin"}).then(function(l){return WebAssembly.instantiateStreaming(l,o).then(r,function(d){return K("wasm streaming compile failed: "+d),K("falling back to ArrayBuffer instantiation"),n(r)})})}().catch(pt),{}})(),t.___wasm_call_ctors=function(){return(t.___wasm_call_ctors=t.asm.j).apply(null,arguments)};var Mt=t._emscripten_bind_VoidPtr___destroy___0=function(){return(Mt=t._emscripten_bind_VoidPtr___destroy___0=t.asm.l).apply(null,arguments)},Nt=t._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Nt=t._emscripten_bind_DecoderBuffer_DecoderBuffer_0=t.asm.m).apply(null,arguments)},Ut=t._emscripten_bind_DecoderBuffer_Init_2=function(){return(Ut=t._emscripten_bind_DecoderBuffer_Init_2=t.asm.n).apply(null,arguments)},Ft=t._emscripten_bind_DecoderBuffer___destroy___0=function(){return(Ft=t._emscripten_bind_DecoderBuffer___destroy___0=t.asm.o).apply(null,arguments)},Ct=t._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Ct=t._emscripten_bind_AttributeTransformData_AttributeTransformData_0=t.asm.p).apply(null,arguments)},Lt=t._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(Lt=t._emscripten_bind_AttributeTransformData_transform_type_0=t.asm.q).apply(null,arguments)},wt=t._emscripten_bind_AttributeTransformData___destroy___0=function(){return(wt=t._emscripten_bind_AttributeTransformData___destroy___0=t.asm.r).apply(null,arguments)},zt=t._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(zt=t._emscripten_bind_GeometryAttribute_GeometryAttribute_0=t.asm.s).apply(null,arguments)},Vt=t._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Vt=t._emscripten_bind_GeometryAttribute___destroy___0=t.asm.t).apply(null,arguments)},Bt=t._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Bt=t._emscripten_bind_PointAttribute_PointAttribute_0=t.asm.u).apply(null,arguments)},Wt=t._emscripten_bind_PointAttribute_size_0=function(){return(Wt=t._emscripten_bind_PointAttribute_size_0=t.asm.v).apply(null,arguments)},xt=t._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(xt=t._emscripten_bind_PointAttribute_GetAttributeTransformData_0=t.asm.w).apply(null,arguments)},Qt=t._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Qt=t._emscripten_bind_PointAttribute_attribute_type_0=t.asm.x).apply(null,arguments)},Yt=t._emscripten_bind_PointAttribute_data_type_0=function(){return(Yt=t._emscripten_bind_PointAttribute_data_type_0=t.asm.y).apply(null,arguments)},Ht=t._emscripten_bind_PointAttribute_num_components_0=function(){return(Ht=t._emscripten_bind_PointAttribute_num_components_0=t.asm.z).apply(null,arguments)},qt=t._emscripten_bind_PointAttribute_normalized_0=function(){return(qt=t._emscripten_bind_PointAttribute_normalized_0=t.asm.A).apply(null,arguments)},kt=t._emscripten_bind_PointAttribute_byte_stride_0=function(){return(kt=t._emscripten_bind_PointAttribute_byte_stride_0=t.asm.B).apply(null,arguments)},Xt=t._emscripten_bind_PointAttribute_byte_offset_0=function(){return(Xt=t._emscripten_bind_PointAttribute_byte_offset_0=t.asm.C).apply(null,arguments)},Kt=t._emscripten_bind_PointAttribute_unique_id_0=function(){return(Kt=t._emscripten_bind_PointAttribute_unique_id_0=t.asm.D).apply(null,arguments)},$t=t._emscripten_bind_PointAttribute___destroy___0=function(){return($t=t._emscripten_bind_PointAttribute___destroy___0=t.asm.E).apply(null,arguments)},Jt=t._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Jt=t._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=t.asm.F).apply(null,arguments)},Zt=t._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(Zt=t._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=t.asm.G).apply(null,arguments)},te=t._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(te=t._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=t.asm.H).apply(null,arguments)},ee=t._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(ee=t._emscripten_bind_AttributeQuantizationTransform_min_value_1=t.asm.I).apply(null,arguments)},re=t._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(re=t._emscripten_bind_AttributeQuantizationTransform_range_0=t.asm.J).apply(null,arguments)},ne=t._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(ne=t._emscripten_bind_AttributeQuantizationTransform___destroy___0=t.asm.K).apply(null,arguments)},oe=t._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(oe=t._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=t.asm.L).apply(null,arguments)},_e=t._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(_e=t._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=t.asm.M).apply(null,arguments)},ie=t._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(ie=t._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=t.asm.N).apply(null,arguments)},ae=t._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(ae=t._emscripten_bind_AttributeOctahedronTransform___destroy___0=t.asm.O).apply(null,arguments)},pe=t._emscripten_bind_PointCloud_PointCloud_0=function(){return(pe=t._emscripten_bind_PointCloud_PointCloud_0=t.asm.P).apply(null,arguments)},ue=t._emscripten_bind_PointCloud_num_attributes_0=function(){return(ue=t._emscripten_bind_PointCloud_num_attributes_0=t.asm.Q).apply(null,arguments)},se=t._emscripten_bind_PointCloud_num_points_0=function(){return(se=t._emscripten_bind_PointCloud_num_points_0=t.asm.R).apply(null,arguments)},ce=t._emscripten_bind_PointCloud___destroy___0=function(){return(ce=t._emscripten_bind_PointCloud___destroy___0=t.asm.S).apply(null,arguments)},ye=t._emscripten_bind_Mesh_Mesh_0=function(){return(ye=t._emscripten_bind_Mesh_Mesh_0=t.asm.T).apply(null,arguments)},le=t._emscripten_bind_Mesh_num_faces_0=function(){return(le=t._emscripten_bind_Mesh_num_faces_0=t.asm.U).apply(null,arguments)},me=t._emscripten_bind_Mesh_num_attributes_0=function(){return(me=t._emscripten_bind_Mesh_num_attributes_0=t.asm.V).apply(null,arguments)},fe=t._emscripten_bind_Mesh_num_points_0=function(){return(fe=t._emscripten_bind_Mesh_num_points_0=t.asm.W).apply(null,arguments)},de=t._emscripten_bind_Mesh___destroy___0=function(){return(de=t._emscripten_bind_Mesh___destroy___0=t.asm.X).apply(null,arguments)},be=t._emscripten_bind_Metadata_Metadata_0=function(){return(be=t._emscripten_bind_Metadata_Metadata_0=t.asm.Y).apply(null,arguments)},he=t._emscripten_bind_Metadata___destroy___0=function(){return(he=t._emscripten_bind_Metadata___destroy___0=t.asm.Z).apply(null,arguments)},Ae=t._emscripten_bind_Status_code_0=function(){return(Ae=t._emscripten_bind_Status_code_0=t.asm._).apply(null,arguments)},Te=t._emscripten_bind_Status_ok_0=function(){return(Te=t._emscripten_bind_Status_ok_0=t.asm.$).apply(null,arguments)},De=t._emscripten_bind_Status_error_msg_0=function(){return(De=t._emscripten_bind_Status_error_msg_0=t.asm.aa).apply(null,arguments)},Ie=t._emscripten_bind_Status___destroy___0=function(){return(Ie=t._emscripten_bind_Status___destroy___0=t.asm.ba).apply(null,arguments)},ge=t._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(ge=t._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=t.asm.ca).apply(null,arguments)},ve=t._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(ve=t._emscripten_bind_DracoFloat32Array_GetValue_1=t.asm.da).apply(null,arguments)},Ee=t._emscripten_bind_DracoFloat32Array_size_0=function(){return(Ee=t._emscripten_bind_DracoFloat32Array_size_0=t.asm.ea).apply(null,arguments)},Ge=t._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Ge=t._emscripten_bind_DracoFloat32Array___destroy___0=t.asm.fa).apply(null,arguments)},Oe=t._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Oe=t._emscripten_bind_DracoInt8Array_DracoInt8Array_0=t.asm.ga).apply(null,arguments)},je=t._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(je=t._emscripten_bind_DracoInt8Array_GetValue_1=t.asm.ha).apply(null,arguments)},Pe=t._emscripten_bind_DracoInt8Array_size_0=function(){return(Pe=t._emscripten_bind_DracoInt8Array_size_0=t.asm.ia).apply(null,arguments)},Re=t._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Re=t._emscripten_bind_DracoInt8Array___destroy___0=t.asm.ja).apply(null,arguments)},Se=t._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Se=t._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=t.asm.ka).apply(null,arguments)},Me=t._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Me=t._emscripten_bind_DracoUInt8Array_GetValue_1=t.asm.la).apply(null,arguments)},Ne=t._emscripten_bind_DracoUInt8Array_size_0=function(){return(Ne=t._emscripten_bind_DracoUInt8Array_size_0=t.asm.ma).apply(null,arguments)},Ue=t._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Ue=t._emscripten_bind_DracoUInt8Array___destroy___0=t.asm.na).apply(null,arguments)},Fe=t._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Fe=t._emscripten_bind_DracoInt16Array_DracoInt16Array_0=t.asm.oa).apply(null,arguments)},Ce=t._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(Ce=t._emscripten_bind_DracoInt16Array_GetValue_1=t.asm.pa).apply(null,arguments)},Le=t._emscripten_bind_DracoInt16Array_size_0=function(){return(Le=t._emscripten_bind_DracoInt16Array_size_0=t.asm.qa).apply(null,arguments)},we=t._emscripten_bind_DracoInt16Array___destroy___0=function(){return(we=t._emscripten_bind_DracoInt16Array___destroy___0=t.asm.ra).apply(null,arguments)},ze=t._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(ze=t._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=t.asm.sa).apply(null,arguments)},Ve=t._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(Ve=t._emscripten_bind_DracoUInt16Array_GetValue_1=t.asm.ta).apply(null,arguments)},Be=t._emscripten_bind_DracoUInt16Array_size_0=function(){return(Be=t._emscripten_bind_DracoUInt16Array_size_0=t.asm.ua).apply(null,arguments)},We=t._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(We=t._emscripten_bind_DracoUInt16Array___destroy___0=t.asm.va).apply(null,arguments)},xe=t._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(xe=t._emscripten_bind_DracoInt32Array_DracoInt32Array_0=t.asm.wa).apply(null,arguments)},Qe=t._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(Qe=t._emscripten_bind_DracoInt32Array_GetValue_1=t.asm.xa).apply(null,arguments)},Ye=t._emscripten_bind_DracoInt32Array_size_0=function(){return(Ye=t._emscripten_bind_DracoInt32Array_size_0=t.asm.ya).apply(null,arguments)},He=t._emscripten_bind_DracoInt32Array___destroy___0=function(){return(He=t._emscripten_bind_DracoInt32Array___destroy___0=t.asm.za).apply(null,arguments)},qe=t._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(qe=t._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=t.asm.Aa).apply(null,arguments)},ke=t._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(ke=t._emscripten_bind_DracoUInt32Array_GetValue_1=t.asm.Ba).apply(null,arguments)},Xe=t._emscripten_bind_DracoUInt32Array_size_0=function(){return(Xe=t._emscripten_bind_DracoUInt32Array_size_0=t.asm.Ca).apply(null,arguments)},Ke=t._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(Ke=t._emscripten_bind_DracoUInt32Array___destroy___0=t.asm.Da).apply(null,arguments)},$e=t._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return($e=t._emscripten_bind_MetadataQuerier_MetadataQuerier_0=t.asm.Ea).apply(null,arguments)},Je=t._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(Je=t._emscripten_bind_MetadataQuerier_HasEntry_2=t.asm.Fa).apply(null,arguments)},Ze=t._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(Ze=t._emscripten_bind_MetadataQuerier_GetIntEntry_2=t.asm.Ga).apply(null,arguments)},tr=t._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(tr=t._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=t.asm.Ha).apply(null,arguments)},er=t._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(er=t._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=t.asm.Ia).apply(null,arguments)},rr=t._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(rr=t._emscripten_bind_MetadataQuerier_GetStringEntry_2=t.asm.Ja).apply(null,arguments)},nr=t._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(nr=t._emscripten_bind_MetadataQuerier_NumEntries_1=t.asm.Ka).apply(null,arguments)},or=t._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(or=t._emscripten_bind_MetadataQuerier_GetEntryName_2=t.asm.La).apply(null,arguments)},_r=t._emscripten_bind_MetadataQuerier___destroy___0=function(){return(_r=t._emscripten_bind_MetadataQuerier___destroy___0=t.asm.Ma).apply(null,arguments)},ir=t._emscripten_bind_Decoder_Decoder_0=function(){return(ir=t._emscripten_bind_Decoder_Decoder_0=t.asm.Na).apply(null,arguments)},ar=t._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(ar=t._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=t.asm.Oa).apply(null,arguments)},pr=t._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(pr=t._emscripten_bind_Decoder_DecodeArrayToMesh_3=t.asm.Pa).apply(null,arguments)},ur=t._emscripten_bind_Decoder_GetAttributeId_2=function(){return(ur=t._emscripten_bind_Decoder_GetAttributeId_2=t.asm.Qa).apply(null,arguments)},sr=t._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(sr=t._emscripten_bind_Decoder_GetAttributeIdByName_2=t.asm.Ra).apply(null,arguments)},cr=t._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(cr=t._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=t.asm.Sa).apply(null,arguments)},yr=t._emscripten_bind_Decoder_GetAttribute_2=function(){return(yr=t._emscripten_bind_Decoder_GetAttribute_2=t.asm.Ta).apply(null,arguments)},lr=t._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(lr=t._emscripten_bind_Decoder_GetAttributeByUniqueId_2=t.asm.Ua).apply(null,arguments)},mr=t._emscripten_bind_Decoder_GetMetadata_1=function(){return(mr=t._emscripten_bind_Decoder_GetMetadata_1=t.asm.Va).apply(null,arguments)},fr=t._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(fr=t._emscripten_bind_Decoder_GetAttributeMetadata_2=t.asm.Wa).apply(null,arguments)},dr=t._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(dr=t._emscripten_bind_Decoder_GetFaceFromMesh_3=t.asm.Xa).apply(null,arguments)},br=t._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(br=t._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=t.asm.Ya).apply(null,arguments)},hr=t._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(hr=t._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=t.asm.Za).apply(null,arguments)},Ar=t._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(Ar=t._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=t.asm._a).apply(null,arguments)},Tr=t._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Tr=t._emscripten_bind_Decoder_GetAttributeFloat_3=t.asm.$a).apply(null,arguments)},Dr=t._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Dr=t._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=t.asm.ab).apply(null,arguments)},Ir=t._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Ir=t._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=t.asm.bb).apply(null,arguments)},gr=t._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(gr=t._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=t.asm.cb).apply(null,arguments)},vr=t._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(vr=t._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=t.asm.db).apply(null,arguments)},Er=t._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Er=t._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=t.asm.eb).apply(null,arguments)},Gr=t._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(Gr=t._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=t.asm.fb).apply(null,arguments)},Or=t._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Or=t._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=t.asm.gb).apply(null,arguments)},jr=t._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(jr=t._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=t.asm.hb).apply(null,arguments)},Pr=t._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(Pr=t._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=t.asm.ib).apply(null,arguments)},Rr=t._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Rr=t._emscripten_bind_Decoder_SkipAttributeTransform_1=t.asm.jb).apply(null,arguments)},Sr=t._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Sr=t._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=t.asm.kb).apply(null,arguments)},Mr=t._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(Mr=t._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=t.asm.lb).apply(null,arguments)},Nr=t._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Nr=t._emscripten_bind_Decoder_DecodeBufferToMesh_2=t.asm.mb).apply(null,arguments)},Ur=t._emscripten_bind_Decoder___destroy___0=function(){return(Ur=t._emscripten_bind_Decoder___destroy___0=t.asm.nb).apply(null,arguments)},Fr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Fr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=t.asm.ob).apply(null,arguments)},Cr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Cr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=t.asm.pb).apply(null,arguments)},Lr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Lr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=t.asm.qb).apply(null,arguments)},wr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(wr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=t.asm.rb).apply(null,arguments)},zr=t._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(zr=t._emscripten_enum_draco_GeometryAttribute_Type_INVALID=t.asm.sb).apply(null,arguments)},Vr=t._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Vr=t._emscripten_enum_draco_GeometryAttribute_Type_POSITION=t.asm.tb).apply(null,arguments)},Br=t._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(Br=t._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=t.asm.ub).apply(null,arguments)},Wr=t._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Wr=t._emscripten_enum_draco_GeometryAttribute_Type_COLOR=t.asm.vb).apply(null,arguments)},xr=t._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(xr=t._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=t.asm.wb).apply(null,arguments)},Qr=t._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(Qr=t._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=t.asm.xb).apply(null,arguments)},Yr=t._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(Yr=t._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=t.asm.yb).apply(null,arguments)},Hr=t._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(Hr=t._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=t.asm.zb).apply(null,arguments)},qr=t._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(qr=t._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=t.asm.Ab).apply(null,arguments)},kr=t._emscripten_enum_draco_DataType_DT_INVALID=function(){return(kr=t._emscripten_enum_draco_DataType_DT_INVALID=t.asm.Bb).apply(null,arguments)},Xr=t._emscripten_enum_draco_DataType_DT_INT8=function(){return(Xr=t._emscripten_enum_draco_DataType_DT_INT8=t.asm.Cb).apply(null,arguments)},Kr=t._emscripten_enum_draco_DataType_DT_UINT8=function(){return(Kr=t._emscripten_enum_draco_DataType_DT_UINT8=t.asm.Db).apply(null,arguments)},$r=t._emscripten_enum_draco_DataType_DT_INT16=function(){return($r=t._emscripten_enum_draco_DataType_DT_INT16=t.asm.Eb).apply(null,arguments)},Jr=t._emscripten_enum_draco_DataType_DT_UINT16=function(){return(Jr=t._emscripten_enum_draco_DataType_DT_UINT16=t.asm.Fb).apply(null,arguments)},Zr=t._emscripten_enum_draco_DataType_DT_INT32=function(){return(Zr=t._emscripten_enum_draco_DataType_DT_INT32=t.asm.Gb).apply(null,arguments)},tn=t._emscripten_enum_draco_DataType_DT_UINT32=function(){return(tn=t._emscripten_enum_draco_DataType_DT_UINT32=t.asm.Hb).apply(null,arguments)},en=t._emscripten_enum_draco_DataType_DT_INT64=function(){return(en=t._emscripten_enum_draco_DataType_DT_INT64=t.asm.Ib).apply(null,arguments)},rn=t._emscripten_enum_draco_DataType_DT_UINT64=function(){return(rn=t._emscripten_enum_draco_DataType_DT_UINT64=t.asm.Jb).apply(null,arguments)},nn=t._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(nn=t._emscripten_enum_draco_DataType_DT_FLOAT32=t.asm.Kb).apply(null,arguments)},on=t._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(on=t._emscripten_enum_draco_DataType_DT_FLOAT64=t.asm.Lb).apply(null,arguments)},_n=t._emscripten_enum_draco_DataType_DT_BOOL=function(){return(_n=t._emscripten_enum_draco_DataType_DT_BOOL=t.asm.Mb).apply(null,arguments)},an=t._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(an=t._emscripten_enum_draco_DataType_DT_TYPES_COUNT=t.asm.Nb).apply(null,arguments)},pn=t._emscripten_enum_draco_StatusCode_OK=function(){return(pn=t._emscripten_enum_draco_StatusCode_OK=t.asm.Ob).apply(null,arguments)},un=t._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(un=t._emscripten_enum_draco_StatusCode_DRACO_ERROR=t.asm.Pb).apply(null,arguments)},sn=t._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(sn=t._emscripten_enum_draco_StatusCode_IO_ERROR=t.asm.Qb).apply(null,arguments)},cn=t._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(cn=t._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=t.asm.Rb).apply(null,arguments)},yn=t._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(yn=t._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=t.asm.Sb).apply(null,arguments)},ln=t._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(ln=t._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=t.asm.Tb).apply(null,arguments)},mn=t._malloc=function(){return(mn=t._malloc=t.asm.Ub).apply(null,arguments)};t._free=function(){return(t._free=t.asm.Vb).apply(null,arguments)};var fn=t.___cxa_is_pointer_type=function(){return(fn=t.___cxa_is_pointer_type=t.asm.Wb).apply(null,arguments)},it;if(rt=function e(){it||L(),it||(rt=e)},t.run=L,t.preInit)for(typeof t.preInit=="function"&&(t.preInit=[t.preInit]);0<t.preInit.length;)t.preInit.pop()();L(),m.prototype=Object.create(m.prototype),m.prototype.constructor=m,m.prototype.__class__=m,m.__cache__={},t.WrapperObject=m,t.getCache=A,t.wrapPointer=E,t.castObject=function(e,r){return E(e.ptr,r)},t.NULL=E(0),t.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete A(e.__class__)[e.ptr]},t.compare=function(e,r){return e.ptr===r.ptr},t.getPointer=function(e){return e.ptr},t.getClass=function(e){return e.__class__};var f={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(f.needed){for(var e=0;e<f.temps.length;e++)t._free(f.temps[e]);f.temps.length=0,t._free(f.buffer),f.buffer=0,f.size+=f.needed,f.needed=0}f.buffer||(f.size+=128,f.buffer=t._malloc(f.size),f.buffer||_(void 0)),f.pos=0},alloc:function(e,r){return f.buffer||_(void 0),e=e.length*r.BYTES_PER_ELEMENT,e=e+7&-8,f.pos+e>=f.size?(0<e||_(void 0),f.needed+=e,r=t._malloc(e),f.temps.push(r)):(r=f.buffer+f.pos,f.pos+=e),r},copy:function(e,r,n){switch(n>>>=0,r.BYTES_PER_ELEMENT){case 2:n>>>=1;break;case 4:n>>>=2;break;case 8:n>>>=3}for(var o=0;o<e.length;o++)r[n+o]=e[o]}};return Y.prototype=Object.create(m.prototype),Y.prototype.constructor=Y,Y.prototype.__class__=Y,Y.__cache__={},t.VoidPtr=Y,Y.prototype.__destroy__=Y.prototype.__destroy__=function(){Mt(this.ptr)},V.prototype=Object.create(m.prototype),V.prototype.constructor=V,V.prototype.__class__=V,V.__cache__={},t.DecoderBuffer=V,V.prototype.Init=V.prototype.Init=function(e,r){var n=this.ptr;f.prepare(),typeof e=="object"&&(e=at(e)),r&&typeof r=="object"&&(r=r.ptr),Ut(n,e,r)},V.prototype.__destroy__=V.prototype.__destroy__=function(){Ft(this.ptr)},w.prototype=Object.create(m.prototype),w.prototype.constructor=w,w.prototype.__class__=w,w.__cache__={},t.AttributeTransformData=w,w.prototype.transform_type=w.prototype.transform_type=function(){return Lt(this.ptr)},w.prototype.__destroy__=w.prototype.__destroy__=function(){wt(this.ptr)},Q.prototype=Object.create(m.prototype),Q.prototype.constructor=Q,Q.prototype.__class__=Q,Q.__cache__={},t.GeometryAttribute=Q,Q.prototype.__destroy__=Q.prototype.__destroy__=function(){Vt(this.ptr)},h.prototype=Object.create(m.prototype),h.prototype.constructor=h,h.prototype.__class__=h,h.__cache__={},t.PointAttribute=h,h.prototype.size=h.prototype.size=function(){return Wt(this.ptr)},h.prototype.GetAttributeTransformData=h.prototype.GetAttributeTransformData=function(){return E(xt(this.ptr),w)},h.prototype.attribute_type=h.prototype.attribute_type=function(){return Qt(this.ptr)},h.prototype.data_type=h.prototype.data_type=function(){return Yt(this.ptr)},h.prototype.num_components=h.prototype.num_components=function(){return Ht(this.ptr)},h.prototype.normalized=h.prototype.normalized=function(){return!!qt(this.ptr)},h.prototype.byte_stride=h.prototype.byte_stride=function(){return kt(this.ptr)},h.prototype.byte_offset=h.prototype.byte_offset=function(){return Xt(this.ptr)},h.prototype.unique_id=h.prototype.unique_id=function(){return Kt(this.ptr)},h.prototype.__destroy__=h.prototype.__destroy__=function(){$t(this.ptr)},v.prototype=Object.create(m.prototype),v.prototype.constructor=v,v.prototype.__class__=v,v.__cache__={},t.AttributeQuantizationTransform=v,v.prototype.InitFromAttribute=v.prototype.InitFromAttribute=function(e){var r=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),!!Zt(r,e)},v.prototype.quantization_bits=v.prototype.quantization_bits=function(){return te(this.ptr)},v.prototype.min_value=v.prototype.min_value=function(e){var r=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),ee(r,e)},v.prototype.range=v.prototype.range=function(){return re(this.ptr)},v.prototype.__destroy__=v.prototype.__destroy__=function(){ne(this.ptr)},j.prototype=Object.create(m.prototype),j.prototype.constructor=j,j.prototype.__class__=j,j.__cache__={},t.AttributeOctahedronTransform=j,j.prototype.InitFromAttribute=j.prototype.InitFromAttribute=function(e){var r=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),!!_e(r,e)},j.prototype.quantization_bits=j.prototype.quantization_bits=function(){return ie(this.ptr)},j.prototype.__destroy__=j.prototype.__destroy__=function(){ae(this.ptr)},P.prototype=Object.create(m.prototype),P.prototype.constructor=P,P.prototype.__class__=P,P.__cache__={},t.PointCloud=P,P.prototype.num_attributes=P.prototype.num_attributes=function(){return ue(this.ptr)},P.prototype.num_points=P.prototype.num_points=function(){return se(this.ptr)},P.prototype.__destroy__=P.prototype.__destroy__=function(){ce(this.ptr)},G.prototype=Object.create(m.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},t.Mesh=G,G.prototype.num_faces=G.prototype.num_faces=function(){return le(this.ptr)},G.prototype.num_attributes=G.prototype.num_attributes=function(){return me(this.ptr)},G.prototype.num_points=G.prototype.num_points=function(){return fe(this.ptr)},G.prototype.__destroy__=G.prototype.__destroy__=function(){de(this.ptr)},B.prototype=Object.create(m.prototype),B.prototype.constructor=B,B.prototype.__class__=B,B.__cache__={},t.Metadata=B,B.prototype.__destroy__=B.prototype.__destroy__=function(){he(this.ptr)},g.prototype=Object.create(m.prototype),g.prototype.constructor=g,g.prototype.__class__=g,g.__cache__={},t.Status=g,g.prototype.code=g.prototype.code=function(){return Ae(this.ptr)},g.prototype.ok=g.prototype.ok=function(){return!!Te(this.ptr)},g.prototype.error_msg=g.prototype.error_msg=function(){return i(De(this.ptr))},g.prototype.__destroy__=g.prototype.__destroy__=function(){Ie(this.ptr)},R.prototype=Object.create(m.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},t.DracoFloat32Array=R,R.prototype.GetValue=R.prototype.GetValue=function(e){var r=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),ve(r,e)},R.prototype.size=R.prototype.size=function(){return Ee(this.ptr)},R.prototype.__destroy__=R.prototype.__destroy__=function(){Ge(this.ptr)},S.prototype=Object.create(m.prototype),S.prototype.constructor=S,S.prototype.__class__=S,S.__cache__={},t.DracoInt8Array=S,S.prototype.GetValue=S.prototype.GetValue=function(e){var r=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),je(r,e)},S.prototype.size=S.prototype.size=function(){return Pe(this.ptr)},S.prototype.__destroy__=S.prototype.__destroy__=function(){Re(this.ptr)},M.prototype=Object.create(m.prototype),M.prototype.constructor=M,M.prototype.__class__=M,M.__cache__={},t.DracoUInt8Array=M,M.prototype.GetValue=M.prototype.GetValue=function(e){var r=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Me(r,e)},M.prototype.size=M.prototype.size=function(){return Ne(this.ptr)},M.prototype.__destroy__=M.prototype.__destroy__=function(){Ue(this.ptr)},N.prototype=Object.create(m.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},t.DracoInt16Array=N,N.prototype.GetValue=N.prototype.GetValue=function(e){var r=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Ce(r,e)},N.prototype.size=N.prototype.size=function(){return Le(this.ptr)},N.prototype.__destroy__=N.prototype.__destroy__=function(){we(this.ptr)},U.prototype=Object.create(m.prototype),U.prototype.constructor=U,U.prototype.__class__=U,U.__cache__={},t.DracoUInt16Array=U,U.prototype.GetValue=U.prototype.GetValue=function(e){var r=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Ve(r,e)},U.prototype.size=U.prototype.size=function(){return Be(this.ptr)},U.prototype.__destroy__=U.prototype.__destroy__=function(){We(this.ptr)},F.prototype=Object.create(m.prototype),F.prototype.constructor=F,F.prototype.__class__=F,F.__cache__={},t.DracoInt32Array=F,F.prototype.GetValue=F.prototype.GetValue=function(e){var r=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Qe(r,e)},F.prototype.size=F.prototype.size=function(){return Ye(this.ptr)},F.prototype.__destroy__=F.prototype.__destroy__=function(){He(this.ptr)},C.prototype=Object.create(m.prototype),C.prototype.constructor=C,C.prototype.__class__=C,C.__cache__={},t.DracoUInt32Array=C,C.prototype.GetValue=C.prototype.GetValue=function(e){var r=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),ke(r,e)},C.prototype.size=C.prototype.size=function(){return Xe(this.ptr)},C.prototype.__destroy__=C.prototype.__destroy__=function(){Ke(this.ptr)},T.prototype=Object.create(m.prototype),T.prototype.constructor=T,T.prototype.__class__=T,T.__cache__={},t.MetadataQuerier=T,T.prototype.HasEntry=T.prototype.HasEntry=function(e,r){var n=this.ptr;return f.prepare(),e&&typeof e=="object"&&(e=e.ptr),r=r&&typeof r=="object"?r.ptr:q(r),!!Je(n,e,r)},T.prototype.GetIntEntry=T.prototype.GetIntEntry=function(e,r){var n=this.ptr;return f.prepare(),e&&typeof e=="object"&&(e=e.ptr),r=r&&typeof r=="object"?r.ptr:q(r),Ze(n,e,r)},T.prototype.GetIntEntryArray=T.prototype.GetIntEntryArray=function(e,r,n){var o=this.ptr;f.prepare(),e&&typeof e=="object"&&(e=e.ptr),r=r&&typeof r=="object"?r.ptr:q(r),n&&typeof n=="object"&&(n=n.ptr),tr(o,e,r,n)},T.prototype.GetDoubleEntry=T.prototype.GetDoubleEntry=function(e,r){var n=this.ptr;return f.prepare(),e&&typeof e=="object"&&(e=e.ptr),r=r&&typeof r=="object"?r.ptr:q(r),er(n,e,r)},T.prototype.GetStringEntry=T.prototype.GetStringEntry=function(e,r){var n=this.ptr;return f.prepare(),e&&typeof e=="object"&&(e=e.ptr),r=r&&typeof r=="object"?r.ptr:q(r),i(rr(n,e,r))},T.prototype.NumEntries=T.prototype.NumEntries=function(e){var r=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),nr(r,e)},T.prototype.GetEntryName=T.prototype.GetEntryName=function(e,r){var n=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),i(or(n,e,r))},T.prototype.__destroy__=T.prototype.__destroy__=function(){_r(this.ptr)},u.prototype=Object.create(m.prototype),u.prototype.constructor=u,u.prototype.__class__=u,u.__cache__={},t.Decoder=u,u.prototype.DecodeArrayToPointCloud=u.prototype.DecodeArrayToPointCloud=function(e,r,n){var o=this.ptr;return f.prepare(),typeof e=="object"&&(e=at(e)),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),E(ar(o,e,r,n),g)},u.prototype.DecodeArrayToMesh=u.prototype.DecodeArrayToMesh=function(e,r,n){var o=this.ptr;return f.prepare(),typeof e=="object"&&(e=at(e)),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),E(pr(o,e,r,n),g)},u.prototype.GetAttributeId=u.prototype.GetAttributeId=function(e,r){var n=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),ur(n,e,r)},u.prototype.GetAttributeIdByName=u.prototype.GetAttributeIdByName=function(e,r){var n=this.ptr;return f.prepare(),e&&typeof e=="object"&&(e=e.ptr),r=r&&typeof r=="object"?r.ptr:q(r),sr(n,e,r)},u.prototype.GetAttributeIdByMetadataEntry=u.prototype.GetAttributeIdByMetadataEntry=function(e,r,n){var o=this.ptr;return f.prepare(),e&&typeof e=="object"&&(e=e.ptr),r=r&&typeof r=="object"?r.ptr:q(r),n=n&&typeof n=="object"?n.ptr:q(n),cr(o,e,r,n)},u.prototype.GetAttribute=u.prototype.GetAttribute=function(e,r){var n=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),E(yr(n,e,r),h)},u.prototype.GetAttributeByUniqueId=u.prototype.GetAttributeByUniqueId=function(e,r){var n=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),E(lr(n,e,r),h)},u.prototype.GetMetadata=u.prototype.GetMetadata=function(e){var r=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),E(mr(r,e),B)},u.prototype.GetAttributeMetadata=u.prototype.GetAttributeMetadata=function(e,r){var n=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),E(fr(n,e,r),B)},u.prototype.GetFaceFromMesh=u.prototype.GetFaceFromMesh=function(e,r,n){var o=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),!!dr(o,e,r,n)},u.prototype.GetTriangleStripsFromMesh=u.prototype.GetTriangleStripsFromMesh=function(e,r){var n=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),br(n,e,r)},u.prototype.GetTrianglesUInt16Array=u.prototype.GetTrianglesUInt16Array=function(e,r,n){var o=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),!!hr(o,e,r,n)},u.prototype.GetTrianglesUInt32Array=u.prototype.GetTrianglesUInt32Array=function(e,r,n){var o=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),!!Ar(o,e,r,n)},u.prototype.GetAttributeFloat=u.prototype.GetAttributeFloat=function(e,r,n){var o=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),!!Tr(o,e,r,n)},u.prototype.GetAttributeFloatForAllPoints=u.prototype.GetAttributeFloatForAllPoints=function(e,r,n){var o=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),!!Dr(o,e,r,n)},u.prototype.GetAttributeIntForAllPoints=u.prototype.GetAttributeIntForAllPoints=function(e,r,n){var o=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),!!Ir(o,e,r,n)},u.prototype.GetAttributeInt8ForAllPoints=u.prototype.GetAttributeInt8ForAllPoints=function(e,r,n){var o=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),!!gr(o,e,r,n)},u.prototype.GetAttributeUInt8ForAllPoints=u.prototype.GetAttributeUInt8ForAllPoints=function(e,r,n){var o=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),!!vr(o,e,r,n)},u.prototype.GetAttributeInt16ForAllPoints=u.prototype.GetAttributeInt16ForAllPoints=function(e,r,n){var o=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),!!Er(o,e,r,n)},u.prototype.GetAttributeUInt16ForAllPoints=u.prototype.GetAttributeUInt16ForAllPoints=function(e,r,n){var o=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),!!Gr(o,e,r,n)},u.prototype.GetAttributeInt32ForAllPoints=u.prototype.GetAttributeInt32ForAllPoints=function(e,r,n){var o=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),!!Or(o,e,r,n)},u.prototype.GetAttributeUInt32ForAllPoints=u.prototype.GetAttributeUInt32ForAllPoints=function(e,r,n){var o=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),!!jr(o,e,r,n)},u.prototype.GetAttributeDataArrayForAllPoints=u.prototype.GetAttributeDataArrayForAllPoints=function(e,r,n,o,l){var d=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),n&&typeof n=="object"&&(n=n.ptr),o&&typeof o=="object"&&(o=o.ptr),l&&typeof l=="object"&&(l=l.ptr),!!Pr(d,e,r,n,o,l)},u.prototype.SkipAttributeTransform=u.prototype.SkipAttributeTransform=function(e){var r=this.ptr;e&&typeof e=="object"&&(e=e.ptr),Rr(r,e)},u.prototype.GetEncodedGeometryType_Deprecated=u.prototype.GetEncodedGeometryType_Deprecated=function(e){var r=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Sr(r,e)},u.prototype.DecodeBufferToPointCloud=u.prototype.DecodeBufferToPointCloud=function(e,r){var n=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),E(Mr(n,e,r),g)},u.prototype.DecodeBufferToMesh=u.prototype.DecodeBufferToMesh=function(e,r){var n=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),r&&typeof r=="object"&&(r=r.ptr),E(Nr(n,e,r),g)},u.prototype.__destroy__=u.prototype.__destroy__=function(){Ur(this.ptr)},function(){function e(){t.ATTRIBUTE_INVALID_TRANSFORM=Fr(),t.ATTRIBUTE_NO_TRANSFORM=Cr(),t.ATTRIBUTE_QUANTIZATION_TRANSFORM=Lr(),t.ATTRIBUTE_OCTAHEDRON_TRANSFORM=wr(),t.INVALID=zr(),t.POSITION=Vr(),t.NORMAL=Br(),t.COLOR=Wr(),t.TEX_COORD=xr(),t.GENERIC=Qr(),t.INVALID_GEOMETRY_TYPE=Yr(),t.POINT_CLOUD=Hr(),t.TRIANGULAR_MESH=qr(),t.DT_INVALID=kr(),t.DT_INT8=Xr(),t.DT_UINT8=Kr(),t.DT_INT16=$r(),t.DT_UINT16=Jr(),t.DT_INT32=Zr(),t.DT_UINT32=tn(),t.DT_INT64=en(),t.DT_UINT64=rn(),t.DT_FLOAT32=nn(),t.DT_FLOAT64=on(),t.DT_BOOL=_n(),t.DT_TYPES_COUNT=an(),t.OK=pn(),t.DRACO_ERROR=un(),t.IO_ERROR=sn(),t.INVALID_PARAMETER=cn(),t.UNSUPPORTED_VERSION=yn(),t.UNKNOWN_VERSION=ln()}St?e():yt.unshift(e)}(),typeof t.onModuleParsed=="function"&&t.onModuleParsed(),t.Decoder.prototype.GetEncodedGeometryType=function(e){if(e.__class__&&e.__class__===t.DecoderBuffer)return t.Decoder.prototype.GetEncodedGeometryType_Deprecated(e);if(8>e.byteLength)return t.INVALID_GEOMETRY_TYPE;switch(e[7]){case 0:return t.POINT_CLOUD;case 1:return t.TRIANGULAR_MESH;default:return t.INVALID_GEOMETRY_TYPE}},s.ready}}();typeof exports=="object"&&typeof module=="object"?module.exports=DracoDecoderModule:typeof define=="function"&&define.amd?define([],function(){return DracoDecoderModule}):typeof exports=="object"&&(exports.DracoDecoderModule=DracoDecoderModule);
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.96
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
+ module.exports={type:"commonjs"};
@@ -0,0 +1 @@
1
+ {"type":"commonjs"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.96
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
+ (function(D){typeof exports=="object"&&typeof module<"u"?module.exports=D():typeof define=="function"&&define.amd?define([],D):(typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this).pako=D()})(function(){return function D(H,v,E){function w(p,A){if(!v[p]){if(!H[p]){var u=typeof require=="function"&&require;if(!A&&u)return u(p,!0);if(x)return x(p,!0);var f=new Error("Cannot find module '"+p+"'");throw f.code="MODULE_NOT_FOUND",f}var _=v[p]={exports:{}};H[p][0].call(_.exports,function(y){return w(H[p][1][y]||y)},_,_.exports,D,H,v,E)}return v[p].exports}for(var x=typeof require=="function"&&require,g=0;g<E.length;g++)w(E[g]);return w}({1:[function(D,H,v){"use strict";var E=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";v.assign=function(g){for(var p,A,u=Array.prototype.slice.call(arguments,1);u.length;){var f=u.shift();if(f){if(typeof f!="object")throw new TypeError(f+"must be non-object");for(var _ in f)p=f,A=_,Object.prototype.hasOwnProperty.call(p,A)&&(g[_]=f[_])}}return g},v.shrinkBuf=function(g,p){return g.length===p?g:g.subarray?g.subarray(0,p):(g.length=p,g)};var w={arraySet:function(g,p,A,u,f){if(p.subarray&&g.subarray)g.set(p.subarray(A,A+u),f);else for(var _=0;_<u;_++)g[f+_]=p[A+_]},flattenChunks:function(g){var p,A,u,f,_,y;for(p=u=0,A=g.length;p<A;p++)u+=g[p].length;for(y=new Uint8Array(u),p=f=0,A=g.length;p<A;p++)_=g[p],y.set(_,f),f+=_.length;return y}},x={arraySet:function(g,p,A,u,f){for(var _=0;_<u;_++)g[f+_]=p[A+_]},flattenChunks:function(g){return[].concat.apply([],g)}};v.setTyped=function(g){g?(v.Buf8=Uint8Array,v.Buf16=Uint16Array,v.Buf32=Int32Array,v.assign(v,w)):(v.Buf8=Array,v.Buf16=Array,v.Buf32=Array,v.assign(v,x))},v.setTyped(E)},{}],2:[function(D,H,v){"use strict";var E=D("./common"),w=!0,x=!0;try{String.fromCharCode.apply(null,[0])}catch{w=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{x=!1}for(var g=new E.Buf8(256),p=0;p<256;p++)g[p]=252<=p?6:248<=p?5:240<=p?4:224<=p?3:192<=p?2:1;function A(u,f){if(f<65534&&(u.subarray&&x||!u.subarray&&w))return String.fromCharCode.apply(null,E.shrinkBuf(u,f));for(var _="",y=0;y<f;y++)_+=String.fromCharCode(u[y]);return _}g[254]=g[254]=1,v.string2buf=function(u){var f,_,y,k,j,S=u.length,m=0;for(k=0;k<S;k++)(64512&(_=u.charCodeAt(k)))==55296&&k+1<S&&(64512&(y=u.charCodeAt(k+1)))==56320&&(_=65536+(_-55296<<10)+(y-56320),k++),m+=_<128?1:_<2048?2:_<65536?3:4;for(f=new E.Buf8(m),k=j=0;j<m;k++)(64512&(_=u.charCodeAt(k)))==55296&&k+1<S&&(64512&(y=u.charCodeAt(k+1)))==56320&&(_=65536+(_-55296<<10)+(y-56320),k++),_<128?f[j++]=_:(_<2048?f[j++]=192|_>>>6:(_<65536?f[j++]=224|_>>>12:(f[j++]=240|_>>>18,f[j++]=128|_>>>12&63),f[j++]=128|_>>>6&63),f[j++]=128|63&_);return f},v.buf2binstring=function(u){return A(u,u.length)},v.binstring2buf=function(u){for(var f=new E.Buf8(u.length),_=0,y=f.length;_<y;_++)f[_]=u.charCodeAt(_);return f},v.buf2string=function(u,f){var _,y,k,j,S=f||u.length,m=new Array(2*S);for(_=y=0;_<S;)if((k=u[_++])<128)m[y++]=k;else if(4<(j=g[k]))m[y++]=65533,_+=j-1;else{for(k&=j===2?31:j===3?15:7;1<j&&_<S;)k=k<<6|63&u[_++],j--;1<j?m[y++]=65533:k<65536?m[y++]=k:(k-=65536,m[y++]=55296|k>>10&1023,m[y++]=56320|1023&k)}return A(m,y)},v.utf8border=function(u,f){var _;for((f=f||u.length)>u.length&&(f=u.length),_=f-1;0<=_&&(192&u[_])==128;)_--;return _<0||_===0?f:_+g[u[_]]>f?_:f}},{"./common":1}],3:[function(D,H,v){"use strict";H.exports=function(E,w,x,g){for(var p=65535&E|0,A=E>>>16&65535|0,u=0;x!==0;){for(x-=u=2e3<x?2e3:x;A=A+(p=p+w[g++]|0)|0,--u;);p%=65521,A%=65521}return p|A<<16|0}},{}],4:[function(D,H,v){"use strict";var E=function(){for(var w,x=[],g=0;g<256;g++){w=g;for(var p=0;p<8;p++)w=1&w?3988292384^w>>>1:w>>>1;x[g]=w}return x}();H.exports=function(w,x,g,p){var A=E,u=p+g;w^=-1;for(var f=p;f<u;f++)w=w>>>8^A[255&(w^x[f])];return-1^w}},{}],5:[function(D,H,v){"use strict";var E,w=D("../utils/common"),x=D("./trees"),g=D("./adler32"),p=D("./crc32"),A=D("./messages"),u=0,f=4,_=0,y=-2,k=-1,j=4,S=2,m=8,O=9,F=286,I=30,ie=19,_e=2*F+1,te=15,B=3,V=258,T=V+B+1,X=42,K=113,q=1,ee=2,Y=3,ae=4;function W(e,s){return e.msg=A[s],s}function se(e){return(e<<1)-(4<e?9:0)}function G(e){for(var s=e.length;0<=--s;)e[s]=0}function J(e){var s=e.state,t=s.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(w.arraySet(e.output,s.pending_buf,s.pending_out,t,e.next_out),e.next_out+=t,s.pending_out+=t,e.total_out+=t,e.avail_out-=t,s.pending-=t,s.pending===0&&(s.pending_out=0))}function N(e,s){x._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,s),e.block_start=e.strstart,J(e.strm)}function z(e,s){e.pending_buf[e.pending++]=s}function R(e,s){e.pending_buf[e.pending++]=s>>>8&255,e.pending_buf[e.pending++]=255&s}function M(e,s){var t,r,a=e.max_chain_length,n=e.strstart,h=e.prev_length,l=e.nice_match,i=e.strstart>e.w_size-T?e.strstart-(e.w_size-T):0,o=e.window,c=e.w_mask,d=e.prev,b=e.strstart+V,U=o[n+h-1],C=o[n+h];e.prev_length>=e.good_match&&(a>>=2),l>e.lookahead&&(l=e.lookahead);do if(o[(t=s)+h]===C&&o[t+h-1]===U&&o[t]===o[n]&&o[++t]===o[n+1]){n+=2,t++;do;while(o[++n]===o[++t]&&o[++n]===o[++t]&&o[++n]===o[++t]&&o[++n]===o[++t]&&o[++n]===o[++t]&&o[++n]===o[++t]&&o[++n]===o[++t]&&o[++n]===o[++t]&&n<b);if(r=V-(b-n),n=b-V,h<r){if(e.match_start=s,l<=(h=r))break;U=o[n+h-1],C=o[n+h]}}while((s=d[s&c])>i&&--a!=0);return h<=e.lookahead?h:e.lookahead}function Z(e){var s,t,r,a,n,h,l,i,o,c,d=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=d+(d-T)){for(w.arraySet(e.window,e.window,d,d,0),e.match_start-=d,e.strstart-=d,e.block_start-=d,s=t=e.hash_size;r=e.head[--s],e.head[s]=d<=r?r-d:0,--t;);for(s=t=d;r=e.prev[--s],e.prev[s]=d<=r?r-d:0,--t;);a+=d}if(e.strm.avail_in===0)break;if(h=e.strm,l=e.window,i=e.strstart+e.lookahead,o=a,c=void 0,c=h.avail_in,o<c&&(c=o),t=c===0?0:(h.avail_in-=c,w.arraySet(l,h.input,h.next_in,c,i),h.state.wrap===1?h.adler=g(h.adler,l,c,i):h.state.wrap===2&&(h.adler=p(h.adler,l,c,i)),h.next_in+=c,h.total_in+=c,c),e.lookahead+=t,e.lookahead+e.insert>=B)for(n=e.strstart-e.insert,e.ins_h=e.window[n],e.ins_h=(e.ins_h<<e.hash_shift^e.window[n+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[n+B-1])&e.hash_mask,e.prev[n&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=n,n++,e.insert--,!(e.lookahead+e.insert<B)););}while(e.lookahead<T&&e.strm.avail_in!==0)}function he(e,s){for(var t,r;;){if(e.lookahead<T){if(Z(e),e.lookahead<T&&s===u)return q;if(e.lookahead===0)break}if(t=0,e.lookahead>=B&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+B-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-T&&(e.match_length=M(e,t)),e.match_length>=B)if(r=x._tr_tally(e,e.strstart-e.match_start,e.match_length-B),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=B){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+B-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,--e.match_length!=0;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=x._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(N(e,!1),e.strm.avail_out===0))return q}return e.insert=e.strstart<B-1?e.strstart:B-1,s===f?(N(e,!0),e.strm.avail_out===0?Y:ae):e.last_lit&&(N(e,!1),e.strm.avail_out===0)?q:ee}function re(e,s){for(var t,r,a;;){if(e.lookahead<T){if(Z(e),e.lookahead<T&&s===u)return q;if(e.lookahead===0)break}if(t=0,e.lookahead>=B&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+B-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=B-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-T&&(e.match_length=M(e,t),e.match_length<=5&&(e.strategy===1||e.match_length===B&&4096<e.strstart-e.match_start)&&(e.match_length=B-1)),e.prev_length>=B&&e.match_length<=e.prev_length){for(a=e.strstart+e.lookahead-B,r=x._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-B),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=a&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+B-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),--e.prev_length!=0;);if(e.match_available=0,e.match_length=B-1,e.strstart++,r&&(N(e,!1),e.strm.avail_out===0))return q}else if(e.match_available){if((r=x._tr_tally(e,0,e.window[e.strstart-1]))&&N(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return q}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=x._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<B-1?e.strstart:B-1,s===f?(N(e,!0),e.strm.avail_out===0?Y:ae):e.last_lit&&(N(e,!1),e.strm.avail_out===0)?q:ee}function P(e,s,t,r,a){this.good_length=e,this.max_lazy=s,this.nice_length=t,this.max_chain=r,this.func=a}function pe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=m,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new w.Buf16(2*_e),this.dyn_dtree=new w.Buf16(2*(2*I+1)),this.bl_tree=new w.Buf16(2*(2*ie+1)),G(this.dyn_ltree),G(this.dyn_dtree),G(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new w.Buf16(te+1),this.heap=new w.Buf16(2*F+1),G(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new w.Buf16(2*F+1),G(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function le(e){var s;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=S,(s=e.state).pending=0,s.pending_out=0,s.wrap<0&&(s.wrap=-s.wrap),s.status=s.wrap?X:K,e.adler=s.wrap===2?0:1,s.last_flush=u,x._tr_init(s),_):W(e,y)}function de(e){var s,t=le(e);return t===_&&((s=e.state).window_size=2*s.w_size,G(s.head),s.max_lazy_match=E[s.level].max_lazy,s.good_match=E[s.level].good_length,s.nice_match=E[s.level].nice_length,s.max_chain_length=E[s.level].max_chain,s.strstart=0,s.block_start=0,s.lookahead=0,s.insert=0,s.match_length=s.prev_length=B-1,s.match_available=0,s.ins_h=0),t}function oe(e,s,t,r,a,n){if(!e)return y;var h=1;if(s===k&&(s=6),r<0?(h=0,r=-r):15<r&&(h=2,r-=16),a<1||O<a||t!==m||r<8||15<r||s<0||9<s||n<0||j<n)return W(e,y);r===8&&(r=9);var l=new pe;return(e.state=l).strm=e,l.wrap=h,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=a+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+B-1)/B),l.window=new w.Buf8(2*l.w_size),l.head=new w.Buf16(l.hash_size),l.prev=new w.Buf16(l.w_size),l.lit_bufsize=1<<a+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new w.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=s,l.strategy=n,l.method=t,de(e)}E=[new P(0,0,0,0,function(e,s){var t=65535;for(t>e.pending_buf_size-5&&(t=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Z(e),e.lookahead===0&&s===u)return q;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+t;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,N(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-T&&(N(e,!1),e.strm.avail_out===0))return q}return e.insert=0,s===f?(N(e,!0),e.strm.avail_out===0?Y:ae):(e.strstart>e.block_start&&(N(e,!1),e.strm.avail_out),q)}),new P(4,4,8,4,he),new P(4,5,16,8,he),new P(4,6,32,32,he),new P(4,4,16,16,re),new P(8,16,32,32,re),new P(8,16,128,128,re),new P(8,32,128,256,re),new P(32,128,258,1024,re),new P(32,258,258,4096,re)],v.deflateInit=function(e,s){return oe(e,s,m,15,8,0)},v.deflateInit2=oe,v.deflateReset=de,v.deflateResetKeep=le,v.deflateSetHeader=function(e,s){return e&&e.state?e.state.wrap!==2?y:(e.state.gzhead=s,_):y},v.deflate=function(e,s){var t,r,a,n;if(!e||!e.state||5<s||s<0)return e?W(e,y):y;if(r=e.state,!e.output||!e.input&&e.avail_in!==0||r.status===666&&s!==f)return W(e,e.avail_out===0?-5:y);if(r.strm=e,t=r.last_flush,r.last_flush=s,r.status===X)if(r.wrap===2)e.adler=0,z(r,31),z(r,139),z(r,8),r.gzhead?(z(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),z(r,255&r.gzhead.time),z(r,r.gzhead.time>>8&255),z(r,r.gzhead.time>>16&255),z(r,r.gzhead.time>>24&255),z(r,r.level===9?2:2<=r.strategy||r.level<2?4:0),z(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(z(r,255&r.gzhead.extra.length),z(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=p(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(z(r,0),z(r,0),z(r,0),z(r,0),z(r,0),z(r,r.level===9?2:2<=r.strategy||r.level<2?4:0),z(r,3),r.status=K);else{var h=m+(r.w_bits-8<<4)<<8;h|=(2<=r.strategy||r.level<2?0:r.level<6?1:r.level===6?2:3)<<6,r.strstart!==0&&(h|=32),h+=31-h%31,r.status=K,R(r,h),r.strstart!==0&&(R(r,e.adler>>>16),R(r,65535&e.adler)),e.adler=1}if(r.status===69)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(e.adler=p(e.adler,r.pending_buf,r.pending-a,a)),J(e),a=r.pending,r.pending!==r.pending_buf_size));)z(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(e.adler=p(e.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(r.status===73)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(e.adler=p(e.adler,r.pending_buf,r.pending-a,a)),J(e),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}z(r,n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0)}while(n!==0);r.gzhead.hcrc&&r.pending>a&&(e.adler=p(e.adler,r.pending_buf,r.pending-a,a)),n===0&&(r.gzindex=0,r.status=91)}else r.status=91;if(r.status===91)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(e.adler=p(e.adler,r.pending_buf,r.pending-a,a)),J(e),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}z(r,n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0)}while(n!==0);r.gzhead.hcrc&&r.pending>a&&(e.adler=p(e.adler,r.pending_buf,r.pending-a,a)),n===0&&(r.status=103)}else r.status=103;if(r.status===103&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&J(e),r.pending+2<=r.pending_buf_size&&(z(r,255&e.adler),z(r,e.adler>>8&255),e.adler=0,r.status=K)):r.status=K),r.pending!==0){if(J(e),e.avail_out===0)return r.last_flush=-1,_}else if(e.avail_in===0&&se(s)<=se(t)&&s!==f)return W(e,-5);if(r.status===666&&e.avail_in!==0)return W(e,-5);if(e.avail_in!==0||r.lookahead!==0||s!==u&&r.status!==666){var l=r.strategy===2?function(i,o){for(var c;;){if(i.lookahead===0&&(Z(i),i.lookahead===0)){if(o===u)return q;break}if(i.match_length=0,c=x._tr_tally(i,0,i.window[i.strstart]),i.lookahead--,i.strstart++,c&&(N(i,!1),i.strm.avail_out===0))return q}return i.insert=0,o===f?(N(i,!0),i.strm.avail_out===0?Y:ae):i.last_lit&&(N(i,!1),i.strm.avail_out===0)?q:ee}(r,s):r.strategy===3?function(i,o){for(var c,d,b,U,C=i.window;;){if(i.lookahead<=V){if(Z(i),i.lookahead<=V&&o===u)return q;if(i.lookahead===0)break}if(i.match_length=0,i.lookahead>=B&&0<i.strstart&&(d=C[b=i.strstart-1])===C[++b]&&d===C[++b]&&d===C[++b]){U=i.strstart+V;do;while(d===C[++b]&&d===C[++b]&&d===C[++b]&&d===C[++b]&&d===C[++b]&&d===C[++b]&&d===C[++b]&&d===C[++b]&&b<U);i.match_length=V-(U-b),i.match_length>i.lookahead&&(i.match_length=i.lookahead)}if(i.match_length>=B?(c=x._tr_tally(i,1,i.match_length-B),i.lookahead-=i.match_length,i.strstart+=i.match_length,i.match_length=0):(c=x._tr_tally(i,0,i.window[i.strstart]),i.lookahead--,i.strstart++),c&&(N(i,!1),i.strm.avail_out===0))return q}return i.insert=0,o===f?(N(i,!0),i.strm.avail_out===0?Y:ae):i.last_lit&&(N(i,!1),i.strm.avail_out===0)?q:ee}(r,s):E[r.level].func(r,s);if(l!==Y&&l!==ae||(r.status=666),l===q||l===Y)return e.avail_out===0&&(r.last_flush=-1),_;if(l===ee&&(s===1?x._tr_align(r):s!==5&&(x._tr_stored_block(r,0,0,!1),s===3&&(G(r.head),r.lookahead===0&&(r.strstart=0,r.block_start=0,r.insert=0))),J(e),e.avail_out===0))return r.last_flush=-1,_}return s!==f?_:r.wrap<=0?1:(r.wrap===2?(z(r,255&e.adler),z(r,e.adler>>8&255),z(r,e.adler>>16&255),z(r,e.adler>>24&255),z(r,255&e.total_in),z(r,e.total_in>>8&255),z(r,e.total_in>>16&255),z(r,e.total_in>>24&255)):(R(r,e.adler>>>16),R(r,65535&e.adler)),J(e),0<r.wrap&&(r.wrap=-r.wrap),r.pending!==0?_:1)},v.deflateEnd=function(e){var s;return e&&e.state?(s=e.state.status)!==X&&s!==69&&s!==73&&s!==91&&s!==103&&s!==K&&s!==666?W(e,y):(e.state=null,s===K?W(e,-3):_):y},v.deflateSetDictionary=function(e,s){var t,r,a,n,h,l,i,o,c=s.length;if(!e||!e.state||(n=(t=e.state).wrap)===2||n===1&&t.status!==X||t.lookahead)return y;for(n===1&&(e.adler=g(e.adler,s,c,0)),t.wrap=0,c>=t.w_size&&(n===0&&(G(t.head),t.strstart=0,t.block_start=0,t.insert=0),o=new w.Buf8(t.w_size),w.arraySet(o,s,c-t.w_size,t.w_size,0),s=o,c=t.w_size),h=e.avail_in,l=e.next_in,i=e.input,e.avail_in=c,e.next_in=0,e.input=s,Z(t);t.lookahead>=B;){for(r=t.strstart,a=t.lookahead-(B-1);t.ins_h=(t.ins_h<<t.hash_shift^t.window[r+B-1])&t.hash_mask,t.prev[r&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=r,r++,--a;);t.strstart=r,t.lookahead=B-1,Z(t)}return t.strstart+=t.lookahead,t.block_start=t.strstart,t.insert=t.lookahead,t.lookahead=0,t.match_length=t.prev_length=B-1,t.match_available=0,e.next_in=l,e.input=i,e.avail_in=h,t.wrap=n,_},v.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":1,"./adler32":3,"./crc32":4,"./messages":6,"./trees":7}],6:[function(D,H,v){"use strict";H.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],7:[function(D,H,v){"use strict";var E=D("../utils/common"),w=0,x=1;function g(a){for(var n=a.length;0<=--n;)a[n]=0}var p=0,A=29,u=256,f=u+1+A,_=30,y=19,k=2*f+1,j=15,S=16,m=7,O=256,F=16,I=17,ie=18,_e=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],te=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],B=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],V=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],T=new Array(2*(f+2));g(T);var X=new Array(2*_);g(X);var K=new Array(512);g(K);var q=new Array(256);g(q);var ee=new Array(A);g(ee);var Y,ae,W,se=new Array(_);function G(a,n,h,l,i){this.static_tree=a,this.extra_bits=n,this.extra_base=h,this.elems=l,this.max_length=i,this.has_stree=a&&a.length}function J(a,n){this.dyn_tree=a,this.max_code=0,this.stat_desc=n}function N(a){return a<256?K[a]:K[256+(a>>>7)]}function z(a,n){a.pending_buf[a.pending++]=255&n,a.pending_buf[a.pending++]=n>>>8&255}function R(a,n,h){a.bi_valid>S-h?(a.bi_buf|=n<<a.bi_valid&65535,z(a,a.bi_buf),a.bi_buf=n>>S-a.bi_valid,a.bi_valid+=h-S):(a.bi_buf|=n<<a.bi_valid&65535,a.bi_valid+=h)}function M(a,n,h){R(a,h[2*n],h[2*n+1])}function Z(a,n){for(var h=0;h|=1&a,a>>>=1,h<<=1,0<--n;);return h>>>1}function he(a,n,h){var l,i,o=new Array(j+1),c=0;for(l=1;l<=j;l++)o[l]=c=c+h[l-1]<<1;for(i=0;i<=n;i++){var d=a[2*i+1];d!==0&&(a[2*i]=Z(o[d]++,d))}}function re(a){var n;for(n=0;n<f;n++)a.dyn_ltree[2*n]=0;for(n=0;n<_;n++)a.dyn_dtree[2*n]=0;for(n=0;n<y;n++)a.bl_tree[2*n]=0;a.dyn_ltree[2*O]=1,a.opt_len=a.static_len=0,a.last_lit=a.matches=0}function P(a){8<a.bi_valid?z(a,a.bi_buf):0<a.bi_valid&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0}function pe(a,n,h,l){var i=2*n,o=2*h;return a[i]<a[o]||a[i]===a[o]&&l[n]<=l[h]}function le(a,n,h){for(var l=a.heap[h],i=h<<1;i<=a.heap_len&&(i<a.heap_len&&pe(n,a.heap[i+1],a.heap[i],a.depth)&&i++,!pe(n,l,a.heap[i],a.depth));)a.heap[h]=a.heap[i],h=i,i<<=1;a.heap[h]=l}function de(a,n,h){var l,i,o,c,d=0;if(a.last_lit!==0)for(;l=a.pending_buf[a.d_buf+2*d]<<8|a.pending_buf[a.d_buf+2*d+1],i=a.pending_buf[a.l_buf+d],d++,l===0?M(a,i,n):(M(a,(o=q[i])+u+1,n),(c=_e[o])!==0&&R(a,i-=ee[o],c),M(a,o=N(--l),h),(c=te[o])!==0&&R(a,l-=se[o],c)),d<a.last_lit;);M(a,O,n)}function oe(a,n){var h,l,i,o=n.dyn_tree,c=n.stat_desc.static_tree,d=n.stat_desc.has_stree,b=n.stat_desc.elems,U=-1;for(a.heap_len=0,a.heap_max=k,h=0;h<b;h++)o[2*h]!==0?(a.heap[++a.heap_len]=U=h,a.depth[h]=0):o[2*h+1]=0;for(;a.heap_len<2;)o[2*(i=a.heap[++a.heap_len]=U<2?++U:0)]=1,a.depth[i]=0,a.opt_len--,d&&(a.static_len-=c[2*i+1]);for(n.max_code=U,h=a.heap_len>>1;1<=h;h--)le(a,o,h);for(i=b;h=a.heap[1],a.heap[1]=a.heap[a.heap_len--],le(a,o,1),l=a.heap[1],a.heap[--a.heap_max]=h,a.heap[--a.heap_max]=l,o[2*i]=o[2*h]+o[2*l],a.depth[i]=(a.depth[h]>=a.depth[l]?a.depth[h]:a.depth[l])+1,o[2*h+1]=o[2*l+1]=i,a.heap[1]=i++,le(a,o,1),2<=a.heap_len;);a.heap[--a.heap_max]=a.heap[1],function(C,Q){var ue,$,fe,L,ge,be,ne=Q.dyn_tree,ve=Q.max_code,ye=Q.stat_desc.static_tree,ke=Q.stat_desc.has_stree,ze=Q.stat_desc.extra_bits,we=Q.stat_desc.extra_base,ce=Q.stat_desc.max_length,me=0;for(L=0;L<=j;L++)C.bl_count[L]=0;for(ne[2*C.heap[C.heap_max]+1]=0,ue=C.heap_max+1;ue<k;ue++)ce<(L=ne[2*ne[2*($=C.heap[ue])+1]+1]+1)&&(L=ce,me++),ne[2*$+1]=L,ve<$||(C.bl_count[L]++,ge=0,we<=$&&(ge=ze[$-we]),be=ne[2*$],C.opt_len+=be*(L+ge),ke&&(C.static_len+=be*(ye[2*$+1]+ge)));if(me!==0){do{for(L=ce-1;C.bl_count[L]===0;)L--;C.bl_count[L]--,C.bl_count[L+1]+=2,C.bl_count[ce]--,me-=2}while(0<me);for(L=ce;L!==0;L--)for($=C.bl_count[L];$!==0;)ve<(fe=C.heap[--ue])||(ne[2*fe+1]!==L&&(C.opt_len+=(L-ne[2*fe+1])*ne[2*fe],ne[2*fe+1]=L),$--)}}(a,n),he(o,U,a.bl_count)}function e(a,n,h){var l,i,o=-1,c=n[1],d=0,b=7,U=4;for(c===0&&(b=138,U=3),n[2*(h+1)+1]=65535,l=0;l<=h;l++)i=c,c=n[2*(l+1)+1],++d<b&&i===c||(d<U?a.bl_tree[2*i]+=d:i!==0?(i!==o&&a.bl_tree[2*i]++,a.bl_tree[2*F]++):d<=10?a.bl_tree[2*I]++:a.bl_tree[2*ie]++,o=i,(d=0)===c?(b=138,U=3):i===c?(b=6,U=3):(b=7,U=4))}function s(a,n,h){var l,i,o=-1,c=n[1],d=0,b=7,U=4;for(c===0&&(b=138,U=3),l=0;l<=h;l++)if(i=c,c=n[2*(l+1)+1],!(++d<b&&i===c)){if(d<U)for(;M(a,i,a.bl_tree),--d!=0;);else i!==0?(i!==o&&(M(a,i,a.bl_tree),d--),M(a,F,a.bl_tree),R(a,d-3,2)):d<=10?(M(a,I,a.bl_tree),R(a,d-3,3)):(M(a,ie,a.bl_tree),R(a,d-11,7));o=i,(d=0)===c?(b=138,U=3):i===c?(b=6,U=3):(b=7,U=4)}}g(se);var t=!1;function r(a,n,h,l){var i,o,c,d;R(a,(p<<1)+(l?1:0),3),o=n,c=h,d=!0,P(i=a),d&&(z(i,c),z(i,~c)),E.arraySet(i.pending_buf,i.window,o,c,i.pending),i.pending+=c}v._tr_init=function(a){t||(function(){var n,h,l,i,o,c=new Array(j+1);for(i=l=0;i<A-1;i++)for(ee[i]=l,n=0;n<1<<_e[i];n++)q[l++]=i;for(q[l-1]=i,i=o=0;i<16;i++)for(se[i]=o,n=0;n<1<<te[i];n++)K[o++]=i;for(o>>=7;i<_;i++)for(se[i]=o<<7,n=0;n<1<<te[i]-7;n++)K[256+o++]=i;for(h=0;h<=j;h++)c[h]=0;for(n=0;n<=143;)T[2*n+1]=8,n++,c[8]++;for(;n<=255;)T[2*n+1]=9,n++,c[9]++;for(;n<=279;)T[2*n+1]=7,n++,c[7]++;for(;n<=287;)T[2*n+1]=8,n++,c[8]++;for(he(T,f+1,c),n=0;n<_;n++)X[2*n+1]=5,X[2*n]=Z(n,5);Y=new G(T,_e,u+1,f,j),ae=new G(X,te,0,_,j),W=new G(new Array(0),B,0,y,m)}(),t=!0),a.l_desc=new J(a.dyn_ltree,Y),a.d_desc=new J(a.dyn_dtree,ae),a.bl_desc=new J(a.bl_tree,W),a.bi_buf=0,a.bi_valid=0,re(a)},v._tr_stored_block=r,v._tr_flush_block=function(a,n,h,l){var i,o,c=0;0<a.level?(a.strm.data_type===2&&(a.strm.data_type=function(d){var b,U=4093624447;for(b=0;b<=31;b++,U>>>=1)if(1&U&&d.dyn_ltree[2*b]!==0)return w;if(d.dyn_ltree[18]!==0||d.dyn_ltree[20]!==0||d.dyn_ltree[26]!==0)return x;for(b=32;b<u;b++)if(d.dyn_ltree[2*b]!==0)return x;return w}(a)),oe(a,a.l_desc),oe(a,a.d_desc),c=function(d){var b;for(e(d,d.dyn_ltree,d.l_desc.max_code),e(d,d.dyn_dtree,d.d_desc.max_code),oe(d,d.bl_desc),b=y-1;3<=b&&d.bl_tree[2*V[b]+1]===0;b--);return d.opt_len+=3*(b+1)+5+5+4,b}(a),i=a.opt_len+3+7>>>3,(o=a.static_len+3+7>>>3)<=i&&(i=o)):i=o=h+5,h+4<=i&&n!==-1?r(a,n,h,l):a.strategy===4||o===i?(R(a,2+(l?1:0),3),de(a,T,X)):(R(a,4+(l?1:0),3),function(d,b,U,C){var Q;for(R(d,b-257,5),R(d,U-1,5),R(d,C-4,4),Q=0;Q<C;Q++)R(d,d.bl_tree[2*V[Q]+1],3);s(d,d.dyn_ltree,b-1),s(d,d.dyn_dtree,U-1)}(a,a.l_desc.max_code+1,a.d_desc.max_code+1,c+1),de(a,a.dyn_ltree,a.dyn_dtree)),re(a),l&&P(a)},v._tr_tally=function(a,n,h){return a.pending_buf[a.d_buf+2*a.last_lit]=n>>>8&255,a.pending_buf[a.d_buf+2*a.last_lit+1]=255&n,a.pending_buf[a.l_buf+a.last_lit]=255&h,a.last_lit++,n===0?a.dyn_ltree[2*h]++:(a.matches++,n--,a.dyn_ltree[2*(q[h]+u+1)]++,a.dyn_dtree[2*N(n)]++),a.last_lit===a.lit_bufsize-1},v._tr_align=function(a){var n;R(a,2,3),M(a,O,T),(n=a).bi_valid===16?(z(n,n.bi_buf),n.bi_buf=0,n.bi_valid=0):8<=n.bi_valid&&(n.pending_buf[n.pending++]=255&n.bi_buf,n.bi_buf>>=8,n.bi_valid-=8)}},{"../utils/common":1}],8:[function(D,H,v){"use strict";H.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],"/lib/deflate.js":[function(D,H,v){"use strict";var E=D("./zlib/deflate"),w=D("./utils/common"),x=D("./utils/strings"),g=D("./zlib/messages"),p=D("./zlib/zstream"),A=Object.prototype.toString,u=0,f=-1,_=0,y=8;function k(S){if(!(this instanceof k))return new k(S);this.options=w.assign({level:f,method:y,chunkSize:16384,windowBits:15,memLevel:8,strategy:_,to:""},S||{});var m=this.options;m.raw&&0<m.windowBits?m.windowBits=-m.windowBits:m.gzip&&0<m.windowBits&&m.windowBits<16&&(m.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new p,this.strm.avail_out=0;var O=E.deflateInit2(this.strm,m.level,m.method,m.windowBits,m.memLevel,m.strategy);if(O!==u)throw new Error(g[O]);if(m.header&&E.deflateSetHeader(this.strm,m.header),m.dictionary){var F;if(F=typeof m.dictionary=="string"?x.string2buf(m.dictionary):A.call(m.dictionary)==="[object ArrayBuffer]"?new Uint8Array(m.dictionary):m.dictionary,(O=E.deflateSetDictionary(this.strm,F))!==u)throw new Error(g[O]);this._dict_set=!0}}function j(S,m){var O=new k(m);if(O.push(S,!0),O.err)throw O.msg||g[O.err];return O.result}k.prototype.push=function(S,m){var O,F,I=this.strm,ie=this.options.chunkSize;if(this.ended)return!1;F=m===~~m?m:m===!0?4:0,typeof S=="string"?I.input=x.string2buf(S):A.call(S)==="[object ArrayBuffer]"?I.input=new Uint8Array(S):I.input=S,I.next_in=0,I.avail_in=I.input.length;do{if(I.avail_out===0&&(I.output=new w.Buf8(ie),I.next_out=0,I.avail_out=ie),(O=E.deflate(I,F))!==1&&O!==u)return this.onEnd(O),!(this.ended=!0);I.avail_out!==0&&(I.avail_in!==0||F!==4&&F!==2)||(this.options.to==="string"?this.onData(x.buf2binstring(w.shrinkBuf(I.output,I.next_out))):this.onData(w.shrinkBuf(I.output,I.next_out)))}while((0<I.avail_in||I.avail_out===0)&&O!==1);return F===4?(O=E.deflateEnd(this.strm),this.onEnd(O),this.ended=!0,O===u):F!==2||(this.onEnd(u),!(I.avail_out=0))},k.prototype.onData=function(S){this.chunks.push(S)},k.prototype.onEnd=function(S){S===u&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=w.flattenChunks(this.chunks)),this.chunks=[],this.err=S,this.msg=this.strm.msg},v.Deflate=k,v.deflate=j,v.deflateRaw=function(S,m){return(m=m||{}).raw=!0,j(S,m)},v.gzip=function(S,m){return(m=m||{}).gzip=!0,j(S,m)}},{"./utils/common":1,"./utils/strings":2,"./zlib/deflate":5,"./zlib/messages":6,"./zlib/zstream":8}]},{},[])("/lib/deflate.js")});
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.96
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
+ (function(A){typeof exports=="object"&&typeof module<"u"?module.exports=A():typeof define=="function"&&define.amd?define([],A):(typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this).pako=A()})(function(){return function A(O,p,w){function Z(u,h){if(!p[u]){if(!O[u]){var b=typeof require=="function"&&require;if(!h&&b)return b(u,!0);if(k)return k(u,!0);var l=new Error("Cannot find module '"+u+"'");throw l.code="MODULE_NOT_FOUND",l}var r=p[u]={exports:{}};O[u][0].call(r.exports,function(y){return Z(O[u][1][y]||y)},r,r.exports,A,O,p,w)}return p[u].exports}for(var k=typeof require=="function"&&require,s=0;s<w.length;s++)Z(w[s]);return Z}({1:[function(A,O,p){"use strict";var w=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";p.assign=function(s){for(var u,h,b=Array.prototype.slice.call(arguments,1);b.length;){var l=b.shift();if(l){if(typeof l!="object")throw new TypeError(l+"must be non-object");for(var r in l)u=l,h=r,Object.prototype.hasOwnProperty.call(u,h)&&(s[r]=l[r])}}return s},p.shrinkBuf=function(s,u){return s.length===u?s:s.subarray?s.subarray(0,u):(s.length=u,s)};var Z={arraySet:function(s,u,h,b,l){if(u.subarray&&s.subarray)s.set(u.subarray(h,h+b),l);else for(var r=0;r<b;r++)s[l+r]=u[h+r]},flattenChunks:function(s){var u,h,b,l,r,y;for(u=b=0,h=s.length;u<h;u++)b+=s[u].length;for(y=new Uint8Array(b),u=l=0,h=s.length;u<h;u++)r=s[u],y.set(r,l),l+=r.length;return y}},k={arraySet:function(s,u,h,b,l){for(var r=0;r<b;r++)s[l+r]=u[h+r]},flattenChunks:function(s){return[].concat.apply([],s)}};p.setTyped=function(s){s?(p.Buf8=Uint8Array,p.Buf16=Uint16Array,p.Buf32=Int32Array,p.assign(p,Z)):(p.Buf8=Array,p.Buf16=Array,p.Buf32=Array,p.assign(p,k))},p.setTyped(w)},{}],2:[function(A,O,p){"use strict";var w=A("./common"),Z=!0,k=!0;try{String.fromCharCode.apply(null,[0])}catch{Z=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{k=!1}for(var s=new w.Buf8(256),u=0;u<256;u++)s[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function h(b,l){if(l<65534&&(b.subarray&&k||!b.subarray&&Z))return String.fromCharCode.apply(null,w.shrinkBuf(b,l));for(var r="",y=0;y<l;y++)r+=String.fromCharCode(b[y]);return r}s[254]=s[254]=1,p.string2buf=function(b){var l,r,y,_,d,x=b.length,v=0;for(_=0;_<x;_++)(64512&(r=b.charCodeAt(_)))==55296&&_+1<x&&(64512&(y=b.charCodeAt(_+1)))==56320&&(r=65536+(r-55296<<10)+(y-56320),_++),v+=r<128?1:r<2048?2:r<65536?3:4;for(l=new w.Buf8(v),_=d=0;d<v;_++)(64512&(r=b.charCodeAt(_)))==55296&&_+1<x&&(64512&(y=b.charCodeAt(_+1)))==56320&&(r=65536+(r-55296<<10)+(y-56320),_++),r<128?l[d++]=r:(r<2048?l[d++]=192|r>>>6:(r<65536?l[d++]=224|r>>>12:(l[d++]=240|r>>>18,l[d++]=128|r>>>12&63),l[d++]=128|r>>>6&63),l[d++]=128|63&r);return l},p.buf2binstring=function(b){return h(b,b.length)},p.binstring2buf=function(b){for(var l=new w.Buf8(b.length),r=0,y=l.length;r<y;r++)l[r]=b.charCodeAt(r);return l},p.buf2string=function(b,l){var r,y,_,d,x=l||b.length,v=new Array(2*x);for(r=y=0;r<x;)if((_=b[r++])<128)v[y++]=_;else if(4<(d=s[_]))v[y++]=65533,r+=d-1;else{for(_&=d===2?31:d===3?15:7;1<d&&r<x;)_=_<<6|63&b[r++],d--;1<d?v[y++]=65533:_<65536?v[y++]=_:(_-=65536,v[y++]=55296|_>>10&1023,v[y++]=56320|1023&_)}return h(v,y)},p.utf8border=function(b,l){var r;for((l=l||b.length)>b.length&&(l=b.length),r=l-1;0<=r&&(192&b[r])==128;)r--;return r<0||r===0?l:r+s[b[r]]>l?r:l}},{"./common":1}],3:[function(A,O,p){"use strict";O.exports=function(w,Z,k,s){for(var u=65535&w|0,h=w>>>16&65535|0,b=0;k!==0;){for(k-=b=2e3<k?2e3:k;h=h+(u=u+Z[s++]|0)|0,--b;);u%=65521,h%=65521}return u|h<<16|0}},{}],4:[function(A,O,p){"use strict";O.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],5:[function(A,O,p){"use strict";var w=function(){for(var Z,k=[],s=0;s<256;s++){Z=s;for(var u=0;u<8;u++)Z=1&Z?3988292384^Z>>>1:Z>>>1;k[s]=Z}return k}();O.exports=function(Z,k,s,u){var h=w,b=u+s;Z^=-1;for(var l=u;l<b;l++)Z=Z>>>8^h[255&(Z^k[l])];return-1^Z}},{}],6:[function(A,O,p){"use strict";O.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],7:[function(A,O,p){"use strict";O.exports=function(w,Z){var k,s,u,h,b,l,r,y,_,d,x,v,E,F,M,S,L,I,g,R,P,e,a,t,o;k=w.state,s=w.next_in,t=w.input,u=s+(w.avail_in-5),h=w.next_out,o=w.output,b=h-(Z-w.avail_out),l=h+(w.avail_out-257),r=k.dmax,y=k.wsize,_=k.whave,d=k.wnext,x=k.window,v=k.hold,E=k.bits,F=k.lencode,M=k.distcode,S=(1<<k.lenbits)-1,L=(1<<k.distbits)-1;t:do{E<15&&(v+=t[s++]<<E,E+=8,v+=t[s++]<<E,E+=8),I=F[v&S];e:for(;;){if(v>>>=g=I>>>24,E-=g,(g=I>>>16&255)===0)o[h++]=65535&I;else{if(!(16&g)){if((64&g)==0){I=F[(65535&I)+(v&(1<<g)-1)];continue e}if(32&g){k.mode=12;break t}w.msg="invalid literal/length code",k.mode=30;break t}R=65535&I,(g&=15)&&(E<g&&(v+=t[s++]<<E,E+=8),R+=v&(1<<g)-1,v>>>=g,E-=g),E<15&&(v+=t[s++]<<E,E+=8,v+=t[s++]<<E,E+=8),I=M[v&L];i:for(;;){if(v>>>=g=I>>>24,E-=g,!(16&(g=I>>>16&255))){if((64&g)==0){I=M[(65535&I)+(v&(1<<g)-1)];continue i}w.msg="invalid distance code",k.mode=30;break t}if(P=65535&I,E<(g&=15)&&(v+=t[s++]<<E,(E+=8)<g&&(v+=t[s++]<<E,E+=8)),r<(P+=v&(1<<g)-1)){w.msg="invalid distance too far back",k.mode=30;break t}if(v>>>=g,E-=g,(g=h-b)<P){if(_<(g=P-g)&&k.sane){w.msg="invalid distance too far back",k.mode=30;break t}if(a=x,(e=0)===d){if(e+=y-g,g<R){for(R-=g;o[h++]=x[e++],--g;);e=h-P,a=o}}else if(d<g){if(e+=y+d-g,(g-=d)<R){for(R-=g;o[h++]=x[e++],--g;);if(e=0,d<R){for(R-=g=d;o[h++]=x[e++],--g;);e=h-P,a=o}}}else if(e+=d-g,g<R){for(R-=g;o[h++]=x[e++],--g;);e=h-P,a=o}for(;2<R;)o[h++]=a[e++],o[h++]=a[e++],o[h++]=a[e++],R-=3;R&&(o[h++]=a[e++],1<R&&(o[h++]=a[e++]))}else{for(e=h-P;o[h++]=o[e++],o[h++]=o[e++],o[h++]=o[e++],2<(R-=3););R&&(o[h++]=o[e++],1<R&&(o[h++]=o[e++]))}break}}break}}while(s<u&&h<l);s-=R=E>>3,v&=(1<<(E-=R<<3))-1,w.next_in=s,w.next_out=h,w.avail_in=s<u?u-s+5:5-(s-u),w.avail_out=h<l?l-h+257:257-(h-l),k.hold=v,k.bits=E}},{}],8:[function(A,O,p){"use strict";var w=A("../utils/common"),Z=A("./adler32"),k=A("./crc32"),s=A("./inffast"),u=A("./inftrees"),h=1,b=2,l=0,r=-2,y=1,_=852,d=592;function x(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function v(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new w.Buf16(320),this.work=new w.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function E(e){var a;return e&&e.state?(a=e.state,e.total_in=e.total_out=a.total=0,e.msg="",a.wrap&&(e.adler=1&a.wrap),a.mode=y,a.last=0,a.havedict=0,a.dmax=32768,a.head=null,a.hold=0,a.bits=0,a.lencode=a.lendyn=new w.Buf32(_),a.distcode=a.distdyn=new w.Buf32(d),a.sane=1,a.back=-1,l):r}function F(e){var a;return e&&e.state?((a=e.state).wsize=0,a.whave=0,a.wnext=0,E(e)):r}function M(e,a){var t,o;return e&&e.state?(o=e.state,a<0?(t=0,a=-a):(t=1+(a>>4),a<48&&(a&=15)),a&&(a<8||15<a)?r:(o.window!==null&&o.wbits!==a&&(o.window=null),o.wrap=t,o.wbits=a,F(e))):r}function S(e,a){var t,o;return e?(o=new v,(e.state=o).window=null,(t=M(e,a))!==l&&(e.state=null),t):r}var L,I,g=!0;function R(e){if(g){var a;for(L=new w.Buf32(512),I=new w.Buf32(32),a=0;a<144;)e.lens[a++]=8;for(;a<256;)e.lens[a++]=9;for(;a<280;)e.lens[a++]=7;for(;a<288;)e.lens[a++]=8;for(u(h,e.lens,0,288,L,0,e.work,{bits:9}),a=0;a<32;)e.lens[a++]=5;u(b,e.lens,0,32,I,0,e.work,{bits:5}),g=!1}e.lencode=L,e.lenbits=9,e.distcode=I,e.distbits=5}function P(e,a,t,o){var z,f=e.state;return f.window===null&&(f.wsize=1<<f.wbits,f.wnext=0,f.whave=0,f.window=new w.Buf8(f.wsize)),o>=f.wsize?(w.arraySet(f.window,a,t-f.wsize,f.wsize,0),f.wnext=0,f.whave=f.wsize):(o<(z=f.wsize-f.wnext)&&(z=o),w.arraySet(f.window,a,t-o,z,f.wnext),(o-=z)?(w.arraySet(f.window,a,t-o,o,0),f.wnext=o,f.whave=f.wsize):(f.wnext+=z,f.wnext===f.wsize&&(f.wnext=0),f.whave<f.wsize&&(f.whave+=z))),0}p.inflateReset=F,p.inflateReset2=M,p.inflateResetKeep=E,p.inflateInit=function(e){return S(e,15)},p.inflateInit2=S,p.inflate=function(e,a){var t,o,z,f,D,c,N,i,n,J,B,m,X,Q,C,H,Y,K,V,$,T,q,W,G,j=0,U=new w.Buf8(4),tt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return r;(t=e.state).mode===12&&(t.mode=13),D=e.next_out,z=e.output,N=e.avail_out,f=e.next_in,o=e.input,c=e.avail_in,i=t.hold,n=t.bits,J=c,B=N,q=l;t:for(;;)switch(t.mode){case y:if(t.wrap===0){t.mode=13;break}for(;n<16;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}if(2&t.wrap&&i===35615){U[t.check=0]=255&i,U[1]=i>>>8&255,t.check=k(t.check,U,2,0),n=i=0,t.mode=2;break}if(t.flags=0,t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&i)<<8)+(i>>8))%31){e.msg="incorrect header check",t.mode=30;break}if((15&i)!=8){e.msg="unknown compression method",t.mode=30;break}if(n-=4,T=8+(15&(i>>>=4)),t.wbits===0)t.wbits=T;else if(T>t.wbits){e.msg="invalid window size",t.mode=30;break}t.dmax=1<<T,e.adler=t.check=1,t.mode=512&i?10:12,n=i=0;break;case 2:for(;n<16;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}if(t.flags=i,(255&t.flags)!=8){e.msg="unknown compression method",t.mode=30;break}if(57344&t.flags){e.msg="unknown header flags set",t.mode=30;break}t.head&&(t.head.text=i>>8&1),512&t.flags&&(U[0]=255&i,U[1]=i>>>8&255,t.check=k(t.check,U,2,0)),n=i=0,t.mode=3;case 3:for(;n<32;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}t.head&&(t.head.time=i),512&t.flags&&(U[0]=255&i,U[1]=i>>>8&255,U[2]=i>>>16&255,U[3]=i>>>24&255,t.check=k(t.check,U,4,0)),n=i=0,t.mode=4;case 4:for(;n<16;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}t.head&&(t.head.xflags=255&i,t.head.os=i>>8),512&t.flags&&(U[0]=255&i,U[1]=i>>>8&255,t.check=k(t.check,U,2,0)),n=i=0,t.mode=5;case 5:if(1024&t.flags){for(;n<16;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}t.length=i,t.head&&(t.head.extra_len=i),512&t.flags&&(U[0]=255&i,U[1]=i>>>8&255,t.check=k(t.check,U,2,0)),n=i=0}else t.head&&(t.head.extra=null);t.mode=6;case 6:if(1024&t.flags&&(c<(m=t.length)&&(m=c),m&&(t.head&&(T=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),w.arraySet(t.head.extra,o,f,m,T)),512&t.flags&&(t.check=k(t.check,o,m,f)),c-=m,f+=m,t.length-=m),t.length))break t;t.length=0,t.mode=7;case 7:if(2048&t.flags){if(c===0)break t;for(m=0;T=o[f+m++],t.head&&T&&t.length<65536&&(t.head.name+=String.fromCharCode(T)),T&&m<c;);if(512&t.flags&&(t.check=k(t.check,o,m,f)),c-=m,f+=m,T)break t}else t.head&&(t.head.name=null);t.length=0,t.mode=8;case 8:if(4096&t.flags){if(c===0)break t;for(m=0;T=o[f+m++],t.head&&T&&t.length<65536&&(t.head.comment+=String.fromCharCode(T)),T&&m<c;);if(512&t.flags&&(t.check=k(t.check,o,m,f)),c-=m,f+=m,T)break t}else t.head&&(t.head.comment=null);t.mode=9;case 9:if(512&t.flags){for(;n<16;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}if(i!==(65535&t.check)){e.msg="header crc mismatch",t.mode=30;break}n=i=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=12;break;case 10:for(;n<32;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}e.adler=t.check=x(i),n=i=0,t.mode=11;case 11:if(t.havedict===0)return e.next_out=D,e.avail_out=N,e.next_in=f,e.avail_in=c,t.hold=i,t.bits=n,2;e.adler=t.check=1,t.mode=12;case 12:if(a===5||a===6)break t;case 13:if(t.last){i>>>=7&n,n-=7&n,t.mode=27;break}for(;n<3;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}switch(t.last=1&i,n-=1,3&(i>>>=1)){case 0:t.mode=14;break;case 1:if(R(t),t.mode=20,a!==6)break;i>>>=2,n-=2;break t;case 2:t.mode=17;break;case 3:e.msg="invalid block type",t.mode=30}i>>>=2,n-=2;break;case 14:for(i>>>=7&n,n-=7&n;n<32;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}if((65535&i)!=(i>>>16^65535)){e.msg="invalid stored block lengths",t.mode=30;break}if(t.length=65535&i,n=i=0,t.mode=15,a===6)break t;case 15:t.mode=16;case 16:if(m=t.length){if(c<m&&(m=c),N<m&&(m=N),m===0)break t;w.arraySet(z,o,f,m,D),c-=m,f+=m,N-=m,D+=m,t.length-=m;break}t.mode=12;break;case 17:for(;n<14;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}if(t.nlen=257+(31&i),i>>>=5,n-=5,t.ndist=1+(31&i),i>>>=5,n-=5,t.ncode=4+(15&i),i>>>=4,n-=4,286<t.nlen||30<t.ndist){e.msg="too many length or distance symbols",t.mode=30;break}t.have=0,t.mode=18;case 18:for(;t.have<t.ncode;){for(;n<3;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}t.lens[tt[t.have++]]=7&i,i>>>=3,n-=3}for(;t.have<19;)t.lens[tt[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,W={bits:t.lenbits},q=u(0,t.lens,0,19,t.lencode,0,t.work,W),t.lenbits=W.bits,q){e.msg="invalid code lengths set",t.mode=30;break}t.have=0,t.mode=19;case 19:for(;t.have<t.nlen+t.ndist;){for(;H=(j=t.lencode[i&(1<<t.lenbits)-1])>>>16&255,Y=65535&j,!((C=j>>>24)<=n);){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}if(Y<16)i>>>=C,n-=C,t.lens[t.have++]=Y;else{if(Y===16){for(G=C+2;n<G;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}if(i>>>=C,n-=C,t.have===0){e.msg="invalid bit length repeat",t.mode=30;break}T=t.lens[t.have-1],m=3+(3&i),i>>>=2,n-=2}else if(Y===17){for(G=C+3;n<G;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}n-=C,T=0,m=3+(7&(i>>>=C)),i>>>=3,n-=3}else{for(G=C+7;n<G;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}n-=C,T=0,m=11+(127&(i>>>=C)),i>>>=7,n-=7}if(t.have+m>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=30;break}for(;m--;)t.lens[t.have++]=T}}if(t.mode===30)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=30;break}if(t.lenbits=9,W={bits:t.lenbits},q=u(h,t.lens,0,t.nlen,t.lencode,0,t.work,W),t.lenbits=W.bits,q){e.msg="invalid literal/lengths set",t.mode=30;break}if(t.distbits=6,t.distcode=t.distdyn,W={bits:t.distbits},q=u(b,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,W),t.distbits=W.bits,q){e.msg="invalid distances set",t.mode=30;break}if(t.mode=20,a===6)break t;case 20:t.mode=21;case 21:if(6<=c&&258<=N){e.next_out=D,e.avail_out=N,e.next_in=f,e.avail_in=c,t.hold=i,t.bits=n,s(e,B),D=e.next_out,z=e.output,N=e.avail_out,f=e.next_in,o=e.input,c=e.avail_in,i=t.hold,n=t.bits,t.mode===12&&(t.back=-1);break}for(t.back=0;H=(j=t.lencode[i&(1<<t.lenbits)-1])>>>16&255,Y=65535&j,!((C=j>>>24)<=n);){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}if(H&&(240&H)==0){for(K=C,V=H,$=Y;H=(j=t.lencode[$+((i&(1<<K+V)-1)>>K)])>>>16&255,Y=65535&j,!(K+(C=j>>>24)<=n);){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}i>>>=K,n-=K,t.back+=K}if(i>>>=C,n-=C,t.back+=C,t.length=Y,H===0){t.mode=26;break}if(32&H){t.back=-1,t.mode=12;break}if(64&H){e.msg="invalid literal/length code",t.mode=30;break}t.extra=15&H,t.mode=22;case 22:if(t.extra){for(G=t.extra;n<G;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}t.length+=i&(1<<t.extra)-1,i>>>=t.extra,n-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=23;case 23:for(;H=(j=t.distcode[i&(1<<t.distbits)-1])>>>16&255,Y=65535&j,!((C=j>>>24)<=n);){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}if((240&H)==0){for(K=C,V=H,$=Y;H=(j=t.distcode[$+((i&(1<<K+V)-1)>>K)])>>>16&255,Y=65535&j,!(K+(C=j>>>24)<=n);){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}i>>>=K,n-=K,t.back+=K}if(i>>>=C,n-=C,t.back+=C,64&H){e.msg="invalid distance code",t.mode=30;break}t.offset=Y,t.extra=15&H,t.mode=24;case 24:if(t.extra){for(G=t.extra;n<G;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}t.offset+=i&(1<<t.extra)-1,i>>>=t.extra,n-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=30;break}t.mode=25;case 25:if(N===0)break t;if(m=B-N,t.offset>m){if((m=t.offset-m)>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=30;break}m>t.wnext?(m-=t.wnext,X=t.wsize-m):X=t.wnext-m,m>t.length&&(m=t.length),Q=t.window}else Q=z,X=D-t.offset,m=t.length;for(N<m&&(m=N),N-=m,t.length-=m;z[D++]=Q[X++],--m;);t.length===0&&(t.mode=21);break;case 26:if(N===0)break t;z[D++]=t.length,N--,t.mode=21;break;case 27:if(t.wrap){for(;n<32;){if(c===0)break t;c--,i|=o[f++]<<n,n+=8}if(B-=N,e.total_out+=B,t.total+=B,B&&(e.adler=t.check=t.flags?k(t.check,z,B,D-B):Z(t.check,z,B,D-B)),B=N,(t.flags?i:x(i))!==t.check){e.msg="incorrect data check",t.mode=30;break}n=i=0}t.mode=28;case 28:if(t.wrap&&t.flags){for(;n<32;){if(c===0)break t;c--,i+=o[f++]<<n,n+=8}if(i!==(4294967295&t.total)){e.msg="incorrect length check",t.mode=30;break}n=i=0}t.mode=29;case 29:q=1;break t;case 30:q=-3;break t;case 31:return-4;case 32:default:return r}return e.next_out=D,e.avail_out=N,e.next_in=f,e.avail_in=c,t.hold=i,t.bits=n,(t.wsize||B!==e.avail_out&&t.mode<30&&(t.mode<27||a!==4))&&P(e,e.output,e.next_out,B-e.avail_out)?(t.mode=31,-4):(J-=e.avail_in,B-=e.avail_out,e.total_in+=J,e.total_out+=B,t.total+=B,t.wrap&&B&&(e.adler=t.check=t.flags?k(t.check,z,B,e.next_out-B):Z(t.check,z,B,e.next_out-B)),e.data_type=t.bits+(t.last?64:0)+(t.mode===12?128:0)+(t.mode===20||t.mode===15?256:0),(J===0&&B===0||a===4)&&q===l&&(q=-5),q)},p.inflateEnd=function(e){if(!e||!e.state)return r;var a=e.state;return a.window&&(a.window=null),e.state=null,l},p.inflateGetHeader=function(e,a){var t;return e&&e.state?(2&(t=e.state).wrap)==0?r:((t.head=a).done=!1,l):r},p.inflateSetDictionary=function(e,a){var t,o=a.length;return e&&e.state?(t=e.state).wrap!==0&&t.mode!==11?r:t.mode===11&&Z(1,a,o,0)!==t.check?-3:P(e,a,o,o)?(t.mode=31,-4):(t.havedict=1,l):r},p.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":1,"./adler32":3,"./crc32":5,"./inffast":7,"./inftrees":9}],9:[function(A,O,p){"use strict";var w=A("../utils/common"),Z=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],k=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],u=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];O.exports=function(h,b,l,r,y,_,d,x){var v,E,F,M,S,L,I,g,R,P=x.bits,e=0,a=0,t=0,o=0,z=0,f=0,D=0,c=0,N=0,i=0,n=null,J=0,B=new w.Buf16(16),m=new w.Buf16(16),X=null,Q=0;for(e=0;e<=15;e++)B[e]=0;for(a=0;a<r;a++)B[b[l+a]]++;for(z=P,o=15;1<=o&&B[o]===0;o--);if(o<z&&(z=o),o===0)return y[_++]=20971520,y[_++]=20971520,x.bits=1,0;for(t=1;t<o&&B[t]===0;t++);for(z<t&&(z=t),e=c=1;e<=15;e++)if(c<<=1,(c-=B[e])<0)return-1;if(0<c&&(h===0||o!==1))return-1;for(m[1]=0,e=1;e<15;e++)m[e+1]=m[e]+B[e];for(a=0;a<r;a++)b[l+a]!==0&&(d[m[b[l+a]]++]=a);if(h===0?(n=X=d,L=19):h===1?(n=Z,J-=257,X=k,Q-=257,L=256):(n=s,X=u,L=-1),e=t,S=_,D=a=i=0,F=-1,M=(N=1<<(f=z))-1,h===1&&852<N||h===2&&592<N)return 1;for(;;){for(I=e-D,d[a]<L?(g=0,R=d[a]):d[a]>L?(g=X[Q+d[a]],R=n[J+d[a]]):(g=96,R=0),v=1<<e-D,t=E=1<<f;y[S+(i>>D)+(E-=v)]=I<<24|g<<16|R|0,E!==0;);for(v=1<<e-1;i&v;)v>>=1;if(v!==0?(i&=v-1,i+=v):i=0,a++,--B[e]==0){if(e===o)break;e=b[l+d[a]]}if(z<e&&(i&M)!==F){for(D===0&&(D=z),S+=t,c=1<<(f=e-D);f+D<o&&!((c-=B[f+D])<=0);)f++,c<<=1;if(N+=1<<f,h===1&&852<N||h===2&&592<N)return 1;y[F=i&M]=z<<24|f<<16|S-_|0}}return i!==0&&(y[S+i]=e-D<<24|64<<16|0),x.bits=z,0}},{"../utils/common":1}],10:[function(A,O,p){"use strict";O.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],11:[function(A,O,p){"use strict";O.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],"/lib/inflate.js":[function(A,O,p){"use strict";var w=A("./zlib/inflate"),Z=A("./utils/common"),k=A("./utils/strings"),s=A("./zlib/constants"),u=A("./zlib/messages"),h=A("./zlib/zstream"),b=A("./zlib/gzheader"),l=Object.prototype.toString;function r(_){if(!(this instanceof r))return new r(_);this.options=Z.assign({chunkSize:16384,windowBits:0,to:""},_||{});var d=this.options;d.raw&&0<=d.windowBits&&d.windowBits<16&&(d.windowBits=-d.windowBits,d.windowBits===0&&(d.windowBits=-15)),!(0<=d.windowBits&&d.windowBits<16)||_&&_.windowBits||(d.windowBits+=32),15<d.windowBits&&d.windowBits<48&&(15&d.windowBits)==0&&(d.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new h,this.strm.avail_out=0;var x=w.inflateInit2(this.strm,d.windowBits);if(x!==s.Z_OK)throw new Error(u[x]);if(this.header=new b,w.inflateGetHeader(this.strm,this.header),d.dictionary&&(typeof d.dictionary=="string"?d.dictionary=k.string2buf(d.dictionary):l.call(d.dictionary)==="[object ArrayBuffer]"&&(d.dictionary=new Uint8Array(d.dictionary)),d.raw&&(x=w.inflateSetDictionary(this.strm,d.dictionary))!==s.Z_OK))throw new Error(u[x])}function y(_,d){var x=new r(d);if(x.push(_,!0),x.err)throw x.msg||u[x.err];return x.result}r.prototype.push=function(_,d){var x,v,E,F,M,S=this.strm,L=this.options.chunkSize,I=this.options.dictionary,g=!1;if(this.ended)return!1;v=d===~~d?d:d===!0?s.Z_FINISH:s.Z_NO_FLUSH,typeof _=="string"?S.input=k.binstring2buf(_):l.call(_)==="[object ArrayBuffer]"?S.input=new Uint8Array(_):S.input=_,S.next_in=0,S.avail_in=S.input.length;do{if(S.avail_out===0&&(S.output=new Z.Buf8(L),S.next_out=0,S.avail_out=L),(x=w.inflate(S,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&I&&(x=w.inflateSetDictionary(this.strm,I)),x===s.Z_BUF_ERROR&&g===!0&&(x=s.Z_OK,g=!1),x!==s.Z_STREAM_END&&x!==s.Z_OK)return this.onEnd(x),!(this.ended=!0);S.next_out&&(S.avail_out!==0&&x!==s.Z_STREAM_END&&(S.avail_in!==0||v!==s.Z_FINISH&&v!==s.Z_SYNC_FLUSH)||(this.options.to==="string"?(E=k.utf8border(S.output,S.next_out),F=S.next_out-E,M=k.buf2string(S.output,E),S.next_out=F,S.avail_out=L-F,F&&Z.arraySet(S.output,S.output,E,F,0),this.onData(M)):this.onData(Z.shrinkBuf(S.output,S.next_out)))),S.avail_in===0&&S.avail_out===0&&(g=!0)}while((0<S.avail_in||S.avail_out===0)&&x!==s.Z_STREAM_END);return x===s.Z_STREAM_END&&(v=s.Z_FINISH),v===s.Z_FINISH?(x=w.inflateEnd(this.strm),this.onEnd(x),this.ended=!0,x===s.Z_OK):v!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),!(S.avail_out=0))},r.prototype.onData=function(_){this.chunks.push(_)},r.prototype.onEnd=function(_){_===s.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Z.flattenChunks(this.chunks)),this.chunks=[],this.err=_,this.msg=this.strm.msg},p.Inflate=r,p.inflate=y,p.inflateRaw=function(_,d){return(d=d||{}).raw=!0,y(_,d)},p.ungzip=y},{"./utils/common":1,"./utils/strings":2,"./zlib/constants":4,"./zlib/gzheader":6,"./zlib/inflate":8,"./zlib/messages":10,"./zlib/zstream":11}]},{},[])("/lib/inflate.js")});
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.96
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
+ (function(){"use strict";const{Array:L,Object:v,Math:D,Error:T,Uint8Array:d,Uint16Array:Yt,Uint32Array:Q,Int32Array:Zt,DataView:x,Promise:j,TextEncoder:Y,crypto:C,postMessage:V,TransformStream:S,ReadableStream:At,WritableStream:Bt,CompressionStream:Z,DecompressionStream:$}=globalThis,tt=[];for(let t=0;256>t;t++){let e=t;for(let n=0;8>n;n++)1&e?e=e>>>1^3988292384:e>>>=1;tt[t]=e}class F{constructor(e){this.crc=e||-1}append(e){let n=0|this.crc;for(let s=0,i=0|e.length;i>s;s++)n=n>>>8^tt[255&(n^e[s])];this.crc=n}get(){return~this.crc}}class et extends S{constructor(){super({start(){this.crc32=new F},transform(e){this.crc32.append(e)},flush(e){const n=new d(4);new x(n.buffer).setUint32(0,this.crc32.get()),e.enqueue(n)}})}}const _={concat(t,e){if(t.length===0||e.length===0)return t.concat(e);const n=t[t.length-1],s=_.getPartial(n);return s===32?t.concat(e):_._shiftRight(e,s,0|n,t.slice(0,t.length-1))},bitLength(t){const e=t.length;if(e===0)return 0;const n=t[e-1];return 32*(e-1)+_.getPartial(n)},clamp(t,e){if(32*t.length<e)return t;const n=(t=t.slice(0,D.ceil(e/32))).length;return e&=31,n>0&&e&&(t[n-1]=_.partial(e,t[n-1]&2147483648>>e-1,1)),t},partial:(t,e,n)=>t===32?e:(n?0|e:e<<32-t)+1099511627776*t,getPartial:t=>D.round(t/1099511627776)||32,_shiftRight(t,e,n,s){for(s===void 0&&(s=[]);e>=32;e-=32)s.push(n),n=0;if(e===0)return s.concat(t);for(let a=0;a<t.length;a++)s.push(n|t[a]>>>e),n=t[a]<<32-e;const i=t.length?t[t.length-1]:0,r=_.getPartial(i);return s.push(_.partial(e+r&31,e+r>32?n:s.pop(),1)),s}},W={bytes:{fromBits(t){const e=_.bitLength(t)/8,n=new d(e);let s;for(let i=0;e>i;i++)(3&i)==0&&(s=t[i/4]),n[i]=s>>>24,s<<=8;return n},toBits(t){const e=[];let n,s=0;for(n=0;n<t.length;n++)s=s<<8|t[n],(3&n)==3&&(e.push(s),s=0);return 3&n&&e.push(_.partial(8*(3&n),s)),e}}},nt={sha1:function(t){t?(this._h=t._h.slice(0),this._buffer=t._buffer.slice(0),this._length=t._length):this.reset()}};nt.sha1.prototype={blockSize:512,reset(){const t=this;return t._h=this._init.slice(0),t._buffer=[],t._length=0,t},update(t){const e=this;typeof t=="string"&&(t=W.utf8String.toBits(t));const n=e._buffer=_.concat(e._buffer,t),s=e._length,i=e._length=s+_.bitLength(t);if(i>9007199254740991)throw new T("Cannot hash more than 2^53 - 1 bits");const r=new Q(n);let a=0;for(let o=e.blockSize+s-(e.blockSize+s&e.blockSize-1);i>=o;o+=e.blockSize)e._block(r.subarray(16*a,16*(a+1))),a+=1;return n.splice(0,16*a),e},finalize(){const t=this;let e=t._buffer;const n=t._h;e=_.concat(e,[_.partial(1,1)]);for(let s=e.length+2;15&s;s++)e.push(0);for(e.push(D.floor(t._length/4294967296)),e.push(0|t._length);e.length;)t._block(e.splice(0,16));return t.reset(),n},_init:[1732584193,4023233417,2562383102,271733878,3285377520],_key:[1518500249,1859775393,2400959708,3395469782],_f:(t,e,n,s)=>t>19?t>39?t>59?t>79?void 0:e^n^s:e&n|e&s|n&s:e^n^s:e&n|~e&s,_S:(t,e)=>e<<t|e>>>32-t,_block(t){const e=this,n=e._h,s=L(80);for(let c=0;16>c;c++)s[c]=t[c];let i=n[0],r=n[1],a=n[2],o=n[3],l=n[4];for(let c=0;79>=c;c++){16>c||(s[c]=e._S(1,s[c-3]^s[c-8]^s[c-14]^s[c-16]));const h=e._S(5,i)+e._f(c,r,a,o)+l+s[c]+e._key[D.floor(c/20)]|0;l=o,o=a,a=e._S(30,r),r=i,i=h}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+l|0}};const Ht={getRandomValues(t){const e=new Q(t.buffer),n=s=>{let i=987654321;const r=4294967295;return()=>(i=36969*(65535&i)+(i>>16)&r,(((i<<16)+(s=18e3*(65535&s)+(s>>16)&r)&r)/4294967296+.5)*(D.random()>.5?1:-1))};for(let s,i=0;i<t.length;i+=4){const r=n(4294967296*(s||D.random()));s=987654071*r(),e[i/4]=4294967296*r()|0}return t}},P={importKey:t=>new P.hmacSha1(W.bytes.toBits(t)),pbkdf2(t,e,n,s){if(n=n||1e4,0>s||0>n)throw new T("invalid params to pbkdf2");const i=1+(s>>5)<<2;let r,a,o,l,c;const h=new ArrayBuffer(i),u=new x(h);let p=0;const w=_;for(e=W.bytes.toBits(e),c=1;(i||1)>p;c++){for(r=a=t.encrypt(w.concat(e,[c])),o=1;n>o;o++)for(a=t.encrypt(a),l=0;l<a.length;l++)r[l]^=a[l];for(o=0;(i||1)>p&&o<r.length;o++)u.setInt32(p,r[o]),p+=4}return h.slice(0,s/8)},hmacSha1:class{constructor(t){const e=this,n=e._hash=nt.sha1,s=[[],[]],i=n.prototype.blockSize/32;e._baseHash=[new n,new n],t.length>i&&(t=n.hash(t));for(let r=0;i>r;r++)s[0][r]=909522486^t[r],s[1][r]=1549556828^t[r];e._baseHash[0].update(s[0]),e._baseHash[1].update(s[1]),e._resultHash=new n(e._baseHash[0])}reset(){const t=this;t._resultHash=new t._hash(t._baseHash[0]),t._updated=!1}update(t){this._updated=!0,this._resultHash.update(t)}digest(){const t=this,e=t._resultHash.finalize(),n=new t._hash(t._baseHash[1]).update(e).finalize();return t.reset(),n}encrypt(t){if(this._updated)throw new T("encrypt on already updated hmac called!");return this.update(t),this.digest(t)}}},st="Invalid password",q=16,rt={name:"PBKDF2"},Kt=v.assign({hash:{name:"HMAC"}},rt),at=v.assign({iterations:1e3,hash:{name:"SHA-1"}},rt),xt=["deriveBits"],A=[8,12,16],B=[16,24,32],R=10,it=[0,0,0,0],ot="undefined",N="function",U=typeof C!=ot,ct=U&&typeof C.subtle!=ot,Wt=U&&typeof C.getRandomValues==N,Pt=U&&ct&&typeof C.subtle.importKey==N,Ut=U&&ct&&typeof C.subtle.deriveBits==N,z=W.bytes,lt=class{constructor(t){const e=this;e._tables=[[[],[],[],[],[]],[[],[],[],[],[]]],e._tables[0][0][0]||e._precompute();const n=e._tables[0][4],s=e._tables[1],i=t.length;let r,a,o,l=1;if(i!==4&&i!==6&&i!==8)throw new T("invalid aes key size");for(e._key=[a=t.slice(0),o=[]],r=i;4*i+28>r;r++){let c=a[r-1];(r%i==0||i===8&&r%i==4)&&(c=n[c>>>24]<<24^n[c>>16&255]<<16^n[c>>8&255]<<8^n[255&c],r%i==0&&(c=c<<8^c>>>24^l<<24,l=l<<1^283*(l>>7))),a[r]=a[r-i]^c}for(let c=0;r;c++,r--){const h=a[3&c?r:r-4];o[c]=4>=r||4>c?h:s[0][n[h>>>24]]^s[1][n[h>>16&255]]^s[2][n[h>>8&255]]^s[3][n[255&h]]}}encrypt(t){return this._crypt(t,0)}decrypt(t){return this._crypt(t,1)}_precompute(){const t=this._tables[0],e=this._tables[1],n=t[4],s=e[4],i=[],r=[];let a,o,l,c;for(let h=0;256>h;h++)r[(i[h]=h<<1^283*(h>>7))^h]=h;for(let h=a=0;!n[h];h^=o||1,a=r[a]||1){let u=a^a<<1^a<<2^a<<3^a<<4;u=u>>8^255&u^99,n[h]=u,s[u]=h,c=i[l=i[o=i[h]]];let p=16843009*c^65537*l^257*o^16843008*h,w=257*i[u]^16843008*u;for(let g=0;4>g;g++)t[g][h]=w=w<<24^w>>>8,e[g][u]=p=p<<24^p>>>8}for(let h=0;5>h;h++)t[h]=t[h].slice(0),e[h]=e[h].slice(0)}_crypt(t,e){if(t.length!==4)throw new T("invalid aes block size");const n=this._key[e],s=n.length/4-2,i=[0,0,0,0],r=this._tables[e],a=r[0],o=r[1],l=r[2],c=r[3],h=r[4];let u,p,w,g=t[0]^n[0],f=t[e?3:1]^n[1],m=t[2]^n[2],y=t[e?1:3]^n[3],b=4;for(let I=0;s>I;I++)u=a[g>>>24]^o[f>>16&255]^l[m>>8&255]^c[255&y]^n[b],p=a[f>>>24]^o[m>>16&255]^l[y>>8&255]^c[255&g]^n[b+1],w=a[m>>>24]^o[y>>16&255]^l[g>>8&255]^c[255&f]^n[b+2],y=a[y>>>24]^o[g>>16&255]^l[f>>8&255]^c[255&m]^n[b+3],b+=4,g=u,f=p,m=w;for(let I=0;4>I;I++)i[e?3&-I:I]=h[g>>>24]<<24^h[f>>16&255]<<16^h[m>>8&255]<<8^h[255&y]^n[b++],u=g,g=f,f=m,m=y,y=u;return i}},ht=class{constructor(t,e){this._prf=t,this._initIv=e,this._iv=e}reset(){this._iv=this._initIv}update(t){return this.calculate(this._prf,t,this._iv)}incWord(t){if((t>>24&255)==255){let e=t>>16&255,n=t>>8&255,s=255&t;e===255?(e=0,n===255?(n=0,s===255?s=0:++s):++n):++e,t=0,t+=e<<16,t+=n<<8,t+=s}else t+=1<<24;return t}incCounter(t){(t[0]=this.incWord(t[0]))===0&&(t[1]=this.incWord(t[1]))}calculate(t,e,n){let s;if(!(s=e.length))return[];const i=_.bitLength(e);for(let r=0;s>r;r+=4){this.incCounter(n);const a=t.encrypt(n);e[r]^=a[0],e[r+1]^=a[1],e[r+2]^=a[2],e[r+3]^=a[3]}return _.clamp(e,i)}},ut=P.hmacSha1;class Et extends S{constructor(e,n,s){let i;super({start(){v.assign(this,{ready:new j(r=>this.resolveReady=r),password:e,signed:n,strength:s-1,pending:new d})},async transform(r,a){const o=this;if(o.password){const c=o.password;o.password=null;const h=k(r,0,A[o.strength]+2);await(async(u,p,w)=>{await ft(u,w,k(p,0,A[u.strength]));const g=k(p,A[u.strength]),f=u.keys.passwordVerification;if(f[0]!=g[0]||f[1]!=g[1])throw new T(st)})(o,h,c),o.ctr=new ht(new lt(o.keys.key),L.from(it)),o.hmac=new ut(o.keys.authentication),r=k(r,A[o.strength]+2),o.resolveReady()}else await o.ready;const l=new d(r.length-R-(r.length-R)%q);a.enqueue(pt(o,r,l,0,R,!0))},async flush(r){const a=this;await a.ready;const o=a.pending,l=k(o,0,o.length-R),c=k(o,o.length-R);let h=new d;if(l.length){const u=K(z,l);a.hmac.update(u);const p=a.ctr.update(u);h=H(z,p)}if(i.valid=!0,a.signed){const u=k(H(z,a.hmac.digest()),0,R);for(let p=0;R>p;p++)u[p]!=c[p]&&(i.valid=!1)}r.enqueue(h)}}),i=this}}class Mt extends S{constructor(e,n){let s;super({start(){v.assign(this,{ready:new j(i=>this.resolveReady=i),password:e,strength:n-1,pending:new d})},async transform(i,r){const a=this;let o=new d;if(a.password){const c=a.password;a.password=null,o=await(async(h,u)=>{const p=(w=new d(A[h.strength]),Wt?C.getRandomValues(w):Ht.getRandomValues(w));var w;return await ft(h,u,p),O(p,h.keys.passwordVerification)})(a,c),a.ctr=new ht(new lt(a.keys.key),L.from(it)),a.hmac=new ut(a.keys.authentication),a.resolveReady()}else await a.ready;const l=new d(o.length+i.length-i.length%q);l.set(o,0),r.enqueue(pt(a,i,l,o.length,0))},async flush(i){const r=this;await r.ready;let a=new d;if(r.pending.length){const o=r.ctr.update(K(z,r.pending));r.hmac.update(o),a=H(z,o)}s.signature=H(z,r.hmac.digest()).slice(0,R),i.enqueue(O(a,s.signature))}}),s=this}}function pt(t,e,n,s,i,r){const a=e.length-i;let o;for(t.pending.length&&(e=O(t.pending,e),n=((l,c)=>{if(c&&c>l.length){const h=l;(l=new d(c)).set(h,0)}return l})(n,a-a%q)),o=0;a-q>=o;o+=q){const l=K(z,k(e,o,o+q));r&&t.hmac.update(l);const c=t.ctr.update(l);r||t.hmac.update(c),n.set(H(z,c),o+s)}return t.pending=k(e,o),n}async function ft(t,e,n){const s=(o=>{if(Y===void 0){const l=new d((o=unescape(encodeURIComponent(o))).length);for(let c=0;c<l.length;c++)l[c]=o.charCodeAt(c);return l}return new Y().encode(o)})(e),i=await((o,l,c,h,u)=>Pt?C.subtle.importKey("raw",l,c,!1,u):P.importKey(l))(0,s,Kt,0,xt),r=await(async(o,l,c)=>Ut?await C.subtle.deriveBits(o,l,c):P.pbkdf2(l,o.salt,at.iterations,c))(v.assign({salt:n},at),i,8*(2*B[t.strength]+2)),a=new d(r);t.keys={key:K(z,k(a,0,B[t.strength])),authentication:K(z,k(a,B[t.strength],2*B[t.strength])),passwordVerification:k(a,2*B[t.strength])}}function O(t,e){let n=t;return t.length+e.length&&(n=new d(t.length+e.length),n.set(t,0),n.set(e,t.length)),n}function k(t,e,n){return t.subarray(e,n)}function H(t,e){return t.fromBits(e)}function K(t,e){return t.toBits(e)}class Lt extends S{constructor(e,n){let s;super({start(){v.assign(this,{password:e,passwordVerification:n}),wt(this,e)},transform(i,r){const a=this;if(a.password){const o=dt(a,i.subarray(0,12));if(a.password=null,o[11]!=a.passwordVerification)throw new T(st);i=i.subarray(12)}r.enqueue(dt(a,i))},flush(){s.valid=!0}}),s=this}}class jt extends S{constructor(e,n){super({start(){v.assign(this,{password:e,passwordVerification:n}),wt(this,e)},transform(s,i){const r=this;let a,o;if(r.password){r.password=null;const l=C.getRandomValues(new d(12));l[11]=r.passwordVerification,a=new d(s.length+l.length),a.set(gt(r,l),0),o=12}else a=new d(s.length),o=0;a.set(gt(r,s),o),i.enqueue(a)},flush(){}})}}function dt(t,e){const n=new d(e.length);for(let s=0;s<e.length;s++)n[s]=yt(t)^e[s],G(t,n[s]);return n}function gt(t,e){const n=new d(e.length);for(let s=0;s<e.length;s++)n[s]=yt(t)^e[s],G(t,e[s]);return n}function wt(t,e){t.keys=[305419896,591751049,878082192],t.crcKey0=new F(t.keys[0]),t.crcKey2=new F(t.keys[2]);for(let n=0;n<e.length;n++)G(t,e.charCodeAt(n))}function G(t,e){t.crcKey0.append([e]),t.keys[0]=~t.crcKey0.get(),t.keys[1]=mt(t.keys[1]+_t(t.keys[0])),t.keys[1]=mt(D.imul(t.keys[1],134775813)+1),t.crcKey2.append([t.keys[1]>>>24]),t.keys[2]=~t.crcKey2.get()}function yt(t){const e=2|t.keys[2];return _t(D.imul(e,1^e)>>>8)}function _t(t){return 255&t}function mt(t){return 4294967295&t}class Ft extends S{constructor(e,n){let s;super({start(){s=new e(n)},transform(i,r){i=s.append(i),r.enqueue(i)},flush(i){const r=s.flush();r&&i.enqueue(r)}})}}const bt="Invalid signature",kt="deflate-raw",vt="undefined",Nt=typeof Z==vt,Ot=typeof $==vt;let St=!0,zt=!0;class Gt extends S{constructor(e,n,{chunkSize:s},...i){super({},...i);const{compressed:r,encrypted:a,useCompressionStream:o,password:l,passwordVerification:c,encryptionStrength:h,zipCrypto:u,signed:p,level:w}=n,g=this;let f,m,y=Tt(super.readable);if(a&&!u||!p||([y,f]=y.tee(),f=f.pipeThrough(new et)),r)if(o!==void 0&&!o||Nt&&!zt)y=E(e,y,{chunkSize:s,level:w});else try{y=y.pipeThrough(new Z(kt))}catch{zt=!1,y=E(e,y,{chunkSize:s,level:w})}a&&(u?y=y.pipeThrough(new jt(l,c)):(m=new Mt(l,h),y=y.pipeThrough(m))),Ct(g,y,async()=>{let b;a&&!u&&(b=m.signature),a&&!u||!p||(b=await f.getReader().read(),b=new x(b.value.buffer).getUint32(0)),g.signature=b})}}class Xt extends S{constructor(e,n,{chunkSize:s},...i){super({},...i);const{zipCrypto:r,encrypted:a,password:o,passwordVerification:l,signed:c,encryptionStrength:h,compressed:u,useCompressionStream:p}=n;let w,g,f=Tt(super.readable);if(a&&(r?f=f.pipeThrough(new Lt(o,l)):(g=new Et(o,c,h),f=f.pipeThrough(g))),u)if(p!==void 0&&!p||Ot&&!St)f=E(e,f,{chunkSize:s});else try{f=f.pipeThrough(new $(kt))}catch{St=!1,f=E(e,f,{chunkSize:s})}a&&!r||!c||([f,w]=f.tee(),w=w.pipeThrough(new et)),Ct(this,f,async()=>{if(a&&!r&&!g.valid)throw new T(bt);if((!a||r)&&c){const m=await w.getReader().read(),y=new x(m.value.buffer);if(n.signature!=y.getUint32(0,!1))throw new T(bt)}})}}function E(t,e,n){return e.pipeThrough(new Ft(t,n))}function Tt(t){return t.pipeThrough(new S({transform(e,n){e&&e.length&&n.enqueue(e)}}))}function Ct(t,e,n){t.size=0,e=e.pipeThrough(new S({transform(s,i){s&&s.length&&(t.size+=s.length,i.enqueue(s))},flush:n})),v.defineProperty(t,"readable",{get:()=>e})}const Dt="deflate",Rt="inflate",It="data";class Jt{constructor(e,n,s,i,r){const{codecType:a}=i;async function o(l){const c=new l(e,i,r);await n.pipeThrough(c).pipeTo(s,{preventClose:!0});const{size:h,signature:u}=c;return{size:h,signature:u}}a.startsWith(Dt)?this.run=()=>o(Gt):a.startsWith(Rt)&&(this.run=()=>o(Xt))}}const X=new Map;let Vt,M=0;async function Qt(t){try{const{options:e,scripts:n,config:s}=t,{codecType:i}=e;let r;n&&n.length&&importScripts.apply(void 0,n),self.initCodec&&self.initCodec(),i.startsWith(Dt)?r=self.Deflate:i.startsWith(Rt)&&(r=self.Inflate);const a={highWaterMark:1,size:()=>s.chunkSize},o=new At({async pull(c){let h=new j((w,g)=>X.set(M,{resolve:w,reject:g}));J({type:"pull",messageId:M}),M=(M+1)%Number.MAX_SAFE_INTEGER;const{value:u,done:p}=await h;c.enqueue(u),p&&c.close()}},a),l=new Bt({write(c){J({type:It,data:c})}},a);Vt=new Jt(r,o,l,e,s),J({type:"close",result:await Vt.run()})}catch(e){const{message:n,stack:s}=e;V({error:{message:n,stack:s}})}}function J(t){if(t.data){let{data:e}=t;if(e&&e.length)try{e=new d(e),t.data=e.buffer,V(t,[t.data])}catch{V(t)}else V(t)}else V(t)}function qt(t,e,n){return class{constructor(i){const r=this;v.hasOwn(i,"level")&&i.level===void 0&&delete i.level,r.codec=new t(v.assign({},e,i)),n(r.codec,a=>{if(r.pendingData){const{pendingData:o}=r;r.pendingData=new d(o.length+a.length),o.set(o,0),o.set(a,o.length)}else r.pendingData=new d(a)})}append(i){return this.codec.push(i),s(this)}flush(){return this.codec.push(new d,!0),s(this)}};function s(i){if(i.pendingData){const r=i.pendingData;return i.pendingData=null,r}return new d}}addEventListener("message",async t=>{const e=t.data,{type:n,messageId:s,data:i,done:r}=e;try{if(n=="start"&&Qt(e),n==It){const{resolve:a}=X.get(s);X.delete(s),a({value:new d(i),done:r})}}catch(a){V({error:{message:a.message,stack:a.stack}})}}),self.initCodec=()=>{const{Deflate:t,Inflate:e}=((n,s={},i)=>({Deflate:qt(n.Deflate,s.deflate,i),Inflate:qt(n.Inflate,s.inflate,i)}))(pako,{deflate:{raw:!0},inflate:{raw:!0}},(n,s)=>n.onData=s);self.Deflate=t,self.Inflate=e}})();