@arcgis/core 5.1.0-next.80 → 5.1.0-next.82

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 (277) hide show
  1. package/analysis/ShadowCast/DiscreteOptions.d.ts +12 -0
  2. package/analysis/ShadowCast/TotalDurationOptions.d.ts +12 -0
  3. package/assets/esri/core/workers/RemoteClient.js +1 -1
  4. package/assets/esri/core/workers/chunks/040884cec4b84dd1bb17.js +1 -0
  5. package/assets/esri/core/workers/chunks/05c5f68e117fc58ae801.js +1 -0
  6. package/assets/esri/core/workers/chunks/074f5e6aaeafca13bf72.js +1 -0
  7. package/assets/esri/core/workers/chunks/{7bd1d624f4f4a11a31e8.js → 086d7cdfa92a649c9f7b.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{0eed2b1b06355ab89013.js → 0c074c46d106ca4d3bad.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{d7324a00ed576e7a37b1.js → 1768f1a7e3caa6074d91.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{85d3475667c503ec4fc6.js → 186bfde8c552e3b42302.js} +1 -1
  11. package/assets/esri/core/workers/chunks/1a35121a0c2595a41fdb.js +1 -0
  12. package/assets/esri/core/workers/chunks/1ab66600579fa4232d7b.js +1 -0
  13. package/assets/esri/core/workers/chunks/{d5fd99ee40bba9b48a54.js → 1e2c0c6d724f7639d4c1.js} +27 -27
  14. package/assets/esri/core/workers/chunks/1e3fe89970c57a883fe5.js +1 -0
  15. package/assets/esri/core/workers/chunks/{824051af00e7a1f05ed0.js → 230e0e43f8e771950397.js} +1 -1
  16. package/assets/esri/core/workers/chunks/26f804c92077c11c626d.js +1 -0
  17. package/assets/esri/core/workers/chunks/28a45bd26eb5c9b3ec7c.js +1 -0
  18. package/assets/esri/core/workers/chunks/38f1a86b8dd9ee684ee5.js +596 -0
  19. package/assets/esri/core/workers/chunks/{c1d4110aa494a1dba3c4.js → 455d08294e0f5c5509ff.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{71fe127734f33d020a44.js → 475394218caaa4cd3e86.js} +1 -1
  21. package/assets/esri/core/workers/chunks/475409026288f0981ce2.js +1 -0
  22. package/assets/esri/core/workers/chunks/4e206957b28253ddc1a3.js +1 -0
  23. package/assets/esri/core/workers/chunks/{87d2021e91d025a2a142.js → 5c7ba4b8a9ec2e2e02b5.js} +1 -1
  24. package/assets/esri/core/workers/chunks/5cc38ac051d3d0557920.js +1 -0
  25. package/assets/esri/core/workers/chunks/{992cd87ba0ab6346f692.js → 64e268ebac0b62076f81.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{003fd7745966fe03510c.js → 65ac73de5bb133c6bf89.js} +1 -1
  27. package/assets/esri/core/workers/chunks/6675d56f49d07a97dc40.js +1 -0
  28. package/assets/esri/core/workers/chunks/{1f82a0f134ea912fc686.js → 66fe1634c6e8f72fc653.js} +1 -1
  29. package/assets/esri/core/workers/chunks/{96b13b6042cdf5833d39.js → 67abbe81c16de26f61d8.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{484d6c1b0fe1633515b7.js → 72f8f4cfa0842d325fb0.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{283d39dfb1625b5a74db.js → 747e258f57f0543c836e.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{dd4f431511edd975a53b.js → 7acf82763aeba44049d0.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{5d8e944b192aad4cf986.js → 7b505112c7e6d9b7a239.js} +1 -1
  34. package/assets/esri/core/workers/chunks/7b8466f892a38a53c600.js +1 -0
  35. package/assets/esri/core/workers/chunks/{6a0352d20596ca3f4b64.js → 88eb1e4320c4ada01711.js} +1 -1
  36. package/assets/esri/core/workers/chunks/{77dd719516138afb1a2a.js → 8af9a78cf316581ea482.js} +1 -1
  37. package/assets/esri/core/workers/chunks/97719271a3e4c9f2b2c9.js +1 -0
  38. package/assets/esri/core/workers/chunks/988e91cc6cf88c34c2de.js +1 -0
  39. package/assets/esri/core/workers/chunks/9c402657f63a4d5668d0.js +1 -0
  40. package/assets/esri/core/workers/chunks/9cac70164d8528c283af.js +1 -0
  41. package/assets/esri/core/workers/chunks/9ea23cd4b2664c08b670.js +1 -0
  42. package/assets/esri/core/workers/chunks/9f51a69b8f1937a8794a.js +1 -0
  43. package/assets/esri/core/workers/chunks/a28124bba6b43efd74cc.js +1 -0
  44. package/assets/esri/core/workers/chunks/ac5999c88c27b49cd760.js +1 -0
  45. package/assets/esri/core/workers/chunks/af762422a65c551dcd54.js +1 -0
  46. package/assets/esri/core/workers/chunks/{056fd7847caaff2c9514.js → af8bc56cf1404afc3028.js} +1 -1
  47. package/assets/esri/core/workers/chunks/b811d62284be95f4beb6.js +1 -0
  48. package/assets/esri/core/workers/chunks/b9e163f4a898e50cc854.js +1 -0
  49. package/assets/esri/core/workers/chunks/{444f0f51b3ee0b9845a5.js → bb2f6b0fcdfb8b158e26.js} +1 -1
  50. package/assets/esri/core/workers/chunks/{3b9100c59a8050f4834e.js → bbc27d9285162696d089.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{5da2051f548c2942e01a.js → bc8a74da48b08309875f.js} +1 -1
  52. package/assets/esri/core/workers/chunks/bd8cb64b6e08839398f3.js +1 -0
  53. package/assets/esri/core/workers/chunks/{026d3fa331caec1ea3d2.js → bf4dd8e50704e4040966.js} +1 -1
  54. package/assets/esri/core/workers/chunks/c19e3f6027b6526de359.js +1 -0
  55. package/assets/esri/core/workers/chunks/c8ef80a7c46d7d2c5172.js +1 -0
  56. package/assets/esri/core/workers/chunks/cbf1a03f54bd8d2a2b47.js +1 -0
  57. package/assets/esri/core/workers/chunks/ce4dfc3a470230ddc9e4.js +1 -0
  58. package/assets/esri/core/workers/chunks/{8ea4584e07ccc85caabd.js → d11de13537b623739e14.js} +1 -1
  59. package/assets/esri/core/workers/chunks/d897412b99b9fba44bb4.js +1 -0
  60. package/assets/esri/core/workers/chunks/d9c3f14eee4db7a7137b.js +1 -0
  61. package/assets/esri/core/workers/chunks/{035dbb0217f83108fa89.js → db86a1119e4e58ecfbda.js} +1 -1
  62. package/assets/esri/core/workers/chunks/dcb7a3ff59677b1cf0f1.js +1 -0
  63. package/assets/esri/core/workers/chunks/{5fe97253f80c797fad7f.js → df8a3d3cac454d42e14d.js} +1 -1
  64. package/assets/esri/core/workers/chunks/dfe1139124fda0d6c059.js +1 -0
  65. package/assets/esri/core/workers/chunks/{8b8f391f27774aec6db9.js → e0b27bceb397482bd0e8.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{fb9e3e7cd532ac4353f1.js → e89dc473f46a5584d2ef.js} +32 -32
  67. package/assets/esri/core/workers/chunks/{01ee18782a50279f907e.js → f4220b6eab0865318033.js} +1 -1
  68. package/assets/esri/core/workers/chunks/{42336e0d1ef88737b078.js → f468c6ea2818a1f97e19.js} +1 -1
  69. package/assets/esri/core/workers/chunks/{3f242f8d092f601c3abf.js → f77d23ee60c876b01e4b.js} +1 -1
  70. package/assets/esri/core/workers/chunks/fce2306a1b31c6680f90.js +1 -0
  71. package/assets/esri/core/workers/chunks/fcf51697c361e0075cc2.js +1 -0
  72. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
  73. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
  74. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +15 -0
  75. package/assets/esri/themes/dark/main.css +1 -1
  76. package/assets/esri/themes/light/main.css +1 -1
  77. package/assets/esri/themes/light/view.css +1 -1
  78. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable.json +1 -1
  79. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_en.json +1 -1
  80. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer.json +1 -1
  81. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_en.json +1 -1
  82. package/chunks/ShadowCastVisualize.glsl.js +33 -15
  83. package/chunks/arcgis-knowledge-client-core-simd.js +1 -1
  84. package/chunks/arcgis-knowledge-client-core.js +1 -1
  85. package/config.js +1 -1
  86. package/core/workers/registry.js +1 -1
  87. package/form/elements/inputs/MultipleChoiceInput.d.ts +6 -6
  88. package/form/elements/inputs/MultipleChoiceInput.js +1 -1
  89. package/form/elements/inputs.js +1 -1
  90. package/geometry/SpatialReference.js +1 -1
  91. package/geometry/support/coordsUtils.js +1 -1
  92. package/kernel.js +1 -1
  93. package/layers/BaseDynamicLayer.js +1 -1
  94. package/layers/BaseTileLayer.js +1 -1
  95. package/layers/ElevationLayer.js +1 -1
  96. package/layers/FeatureLayer.d.ts +2 -2
  97. package/layers/FeatureLayer.js +1 -1
  98. package/layers/MapImageLayer.js +1 -1
  99. package/layers/TileLayer.js +1 -1
  100. package/layers/WMSLayer.js +1 -1
  101. package/layers/WMTSLayer.js +1 -1
  102. package/layers/WebTileLayer.js +1 -1
  103. package/layers/graphics/data/QueryEngine.js +1 -1
  104. package/layers/graphics/data/QueryEngineResult.js +1 -1
  105. package/layers/graphics/sources/MemorySource.js +1 -1
  106. package/layers/graphics/sources/geojson/GeoJSONSourceWorker.js +1 -1
  107. package/layers/graphics/sources/support/CSVSourceWorker.js +1 -1
  108. package/layers/graphics/sources/support/MemorySourceWorker.js +1 -1
  109. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  110. package/layers/graphics/sources/support/clientSideDefaults.js +1 -1
  111. package/layers/mixins/ArcGISImageService.js +1 -1
  112. package/layers/mixins/FeatureLayerBase.js +1 -1
  113. package/layers/mixins/TiledImagery.js +1 -1
  114. package/layers/support/imageBitmapUtils.js +1 -1
  115. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  116. package/package.json +1 -1
  117. package/request/process.js +1 -1
  118. package/rest/knowledgeGraph/CreateReplicaResponse.d.ts +37 -0
  119. package/rest/knowledgeGraph/CreateReplicaResponse.js +2 -0
  120. package/rest/knowledgeGraph/ReplicaDefinition.d.ts +91 -0
  121. package/rest/knowledgeGraph/ReplicaDefinition.js +2 -0
  122. package/rest/knowledgeGraph/ReplicasInformationResponse.d.ts +24 -0
  123. package/rest/knowledgeGraph/ReplicasInformationResponse.js +2 -0
  124. package/rest/knowledgeGraph/UnregisterReplicaResponse.d.ts +44 -0
  125. package/rest/knowledgeGraph/UnregisterReplicaResponse.js +2 -0
  126. package/rest/knowledgeGraph/wasmInterface/replicaToWasmEncodedFactories.js +2 -0
  127. package/rest/knowledgeGraph/wasmInterface/wasmToReplicaFactories.js +2 -0
  128. package/rest/knowledgeGraphService.d.ts +50 -1
  129. package/rest/knowledgeGraphService.js +1 -1
  130. package/support/revision.js +1 -1
  131. package/views/2d/engine/vectorTiles/RenderBucket.js +1 -1
  132. package/views/2d/engine/vectorTiles/VTLPainter3D.js +1 -1
  133. package/views/2d/engine/vectorTiles/VectorTile.js +1 -1
  134. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  135. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
  136. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
  137. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/FillShader.js +1 -1
  138. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/LineShader.js +1 -1
  139. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/OutlineFillShader.js +1 -1
  140. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
  141. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  142. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueCircle.js +1 -1
  143. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueFill.js +1 -1
  144. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueLine.js +1 -1
  145. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
  146. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  147. package/views/2d/input/MapViewInputManager.js +1 -1
  148. package/views/2d/layers/BaseDynamicLayerView2D.js +1 -1
  149. package/views/2d/layers/MapImageLayerView2D.js +1 -1
  150. package/views/2d/layers/MediaLayerView2D.js +1 -1
  151. package/views/2d/layers/TileLayerView2D.js +1 -1
  152. package/views/2d/layers/VectorTileLayerView2D.js +1 -1
  153. package/views/2d/layers/WMSLayerView2D.js +1 -1
  154. package/views/2d/layers/WMTSLayerView2D.js +1 -1
  155. package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
  156. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  157. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  158. package/views/3d/input/SceneInputManager.js +1 -1
  159. package/views/3d/layers/ElevationLayerView3D.js +1 -1
  160. package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
  161. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  162. package/views/3d/layers/IntegratedMesh3DTilesLayerWorker.js +2 -0
  163. package/views/3d/layers/IntegratedMesh3DTilesLayerWorkerHandle.js +2 -0
  164. package/views/3d/layers/TileLayerView3D.js +1 -1
  165. package/views/3d/layers/WMTSLayerView3D.js +1 -1
  166. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  167. package/views/3d/layers/graphics/tessellationUtils.js +1 -1
  168. package/views/3d/layers/support/IntegratedMesh3DTilesVertexProcessing.js +2 -0
  169. package/views/3d/layers/support/makeScheduleFunction.js +1 -1
  170. package/views/3d/support/renderInfoUtils/polygon.js +1 -1
  171. package/views/3d/terrain/TerrainData.js +1 -1
  172. package/views/3d/terrain/TerrainSurface.js +1 -1
  173. package/views/3d/terrain/Tile.js +1 -1
  174. package/views/3d/terrain/TileRenderer.js +1 -1
  175. package/views/3d/terrain/terrainUtils.js +1 -1
  176. package/views/3d/webgl-engine/collections/Component/ComponentObject.js +1 -1
  177. package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
  178. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  179. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialInitParameters.js +2 -0
  180. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialRepository.js +1 -1
  181. package/views/3d/webgl-engine/effects/atmosphere/ChapmanAtmosphere.js +1 -1
  182. package/views/3d/webgl-engine/effects/atmosphere/LocalAtmosphere.js +1 -1
  183. package/views/3d/webgl-engine/effects/atmosphere/MarsAtmosphere.js +1 -1
  184. package/views/3d/webgl-engine/effects/clouds/CloudsComposition.js +1 -1
  185. package/views/3d/webgl-engine/effects/clouds/CloudsRenderer.js +1 -1
  186. package/views/3d/webgl-engine/effects/clouds/NoiseTextureAtlas.js +1 -1
  187. package/views/3d/webgl-engine/effects/focusArea/FocusAreaColorNode.js +1 -1
  188. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
  189. package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
  190. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
  191. package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
  192. package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
  193. package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
  194. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
  195. package/views/3d/webgl-engine/effects/highlight/ShadowHighlightBuffer.js +1 -1
  196. package/views/3d/webgl-engine/effects/magnifier/Magnifier.js +1 -1
  197. package/views/3d/webgl-engine/effects/precipitation/Precipitation.js +1 -1
  198. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  199. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  200. package/views/3d/webgl-engine/effects/stars/Stars.js +1 -1
  201. package/views/3d/webgl-engine/lib/CutFillComputationRenderNode.js +1 -1
  202. package/views/3d/webgl-engine/lib/CutFillVisualizationRenderNode.js +1 -1
  203. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  204. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  205. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  206. package/views/3d/webgl-engine/lib/ShadowCastRenderer.js +1 -1
  207. package/views/3d/webgl-engine/lib/StencilUtils.js +1 -1
  208. package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
  209. package/views/3d/webgl-engine/materials/VisualVariablePassParameters.js +1 -1
  210. package/views/3d/webgl-engine/shaders/ShadowCastAccumulateTechnique.js +1 -1
  211. package/views/3d/webgl-engine/shaders/ShadowCastAccumulateTechniqueConfiguration.js +1 -1
  212. package/views/3d/webgl-engine/shaders/ShadowCastMaskTechnique.js +2 -0
  213. package/views/3d/webgl-engine/shaders/ShadowCastVisualize.glsl.js +1 -1
  214. package/views/3d/webgl-engine/shaders/colorRampParameters.js +2 -0
  215. package/views/VideoView.js +1 -1
  216. package/views/analysis/ElevationProfile/elevationProfileGenerationUtils.js +1 -1
  217. package/views/draw/support/createUtils.js +1 -1
  218. package/views/input/BrowserEventSource.js +1 -1
  219. package/views/input/InputManager.js +1 -1
  220. package/views/input/handlers/LatestPen.js +2 -0
  221. package/views/input/handlers/LatestPointer.js +1 -1
  222. package/views/input/types.d.ts +1 -1
  223. package/views/interactive/Tooltip.js +1 -1
  224. package/views/interactive/editGeometry/EditGeometry.js +1 -1
  225. package/views/support/TextureCompressionWorker.js +1 -1
  226. package/views/support/TextureCompressionWorkerHandle.js +1 -1
  227. package/views/support/unnormalizationUtils.js +2 -0
  228. package/views/webgl/RenderingContext.js +1 -1
  229. package/views/webgl/Texture.js +1 -1
  230. package/views/webgl/renderState.js +1 -1
  231. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  232. package/widgets/ElevationProfile/support/profileUtils.js +1 -1
  233. package/widgets/FeatureTable.js +1 -1
  234. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  235. package/widgets/OrientedImageryViewer/css.js +1 -1
  236. package/widgets/OrientedImageryViewer.js +1 -1
  237. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  238. package/assets/esri/core/workers/chunks/05c3146d87d917606193.js +0 -1
  239. package/assets/esri/core/workers/chunks/0b77c124b743067e4155.js +0 -1
  240. package/assets/esri/core/workers/chunks/11241781baaed346af52.js +0 -1
  241. package/assets/esri/core/workers/chunks/1d9560eb8b21b9e76616.js +0 -1
  242. package/assets/esri/core/workers/chunks/2c87c3112a43db8624f6.js +0 -1
  243. package/assets/esri/core/workers/chunks/2da62687ff678b690839.js +0 -1
  244. package/assets/esri/core/workers/chunks/3a58708217a9c11836ab.js +0 -1
  245. package/assets/esri/core/workers/chunks/3bbf684ee2484eb44c9f.js +0 -1
  246. package/assets/esri/core/workers/chunks/49fb9c47070641bce9a9.js +0 -1
  247. package/assets/esri/core/workers/chunks/4eed175277eb0df3c821.js +0 -1
  248. package/assets/esri/core/workers/chunks/4f9d027055f3a616173c.js +0 -1
  249. package/assets/esri/core/workers/chunks/5417308eba30e668b1ee.js +0 -1
  250. package/assets/esri/core/workers/chunks/62b3e933f548ce354b99.js +0 -1
  251. package/assets/esri/core/workers/chunks/63381d81adce0a0d2089.js +0 -1
  252. package/assets/esri/core/workers/chunks/6dbddf5ab1867ac2ac80.js +0 -1
  253. package/assets/esri/core/workers/chunks/6e70e922331704b92a08.js +0 -1
  254. package/assets/esri/core/workers/chunks/7c7c11c0fde8b63e330b.js +0 -1
  255. package/assets/esri/core/workers/chunks/7f55eef696e9ed717bfc.js +0 -1
  256. package/assets/esri/core/workers/chunks/89dbea6f436d45a3b185.js +0 -1
  257. package/assets/esri/core/workers/chunks/8f6f5dad52747d252aac.js +0 -596
  258. package/assets/esri/core/workers/chunks/99c189e1de2b1f14799b.js +0 -1
  259. package/assets/esri/core/workers/chunks/9aa6b32cb65fbaa93218.js +0 -1
  260. package/assets/esri/core/workers/chunks/9d216e30d04ea21fc8a2.js +0 -1
  261. package/assets/esri/core/workers/chunks/9d434360dfce1e49b7b9.js +0 -1
  262. package/assets/esri/core/workers/chunks/a5d8d6f3c0c8de474efd.js +0 -1
  263. package/assets/esri/core/workers/chunks/a809b811121099a87a98.js +0 -1
  264. package/assets/esri/core/workers/chunks/c02ba921c0a32d2021e3.js +0 -1
  265. package/assets/esri/core/workers/chunks/c3c19b62d948d53118a8.js +0 -1
  266. package/assets/esri/core/workers/chunks/c46a4adea39636a96d03.js +0 -1
  267. package/assets/esri/core/workers/chunks/c5507480344176fad241.js +0 -1
  268. package/assets/esri/core/workers/chunks/c6030271bd6d39b6e1db.js +0 -1
  269. package/assets/esri/core/workers/chunks/d1a7d13e1d48abcd7bf1.js +0 -1
  270. package/assets/esri/core/workers/chunks/dcbc4072c18278c2b67d.js +0 -1
  271. package/assets/esri/core/workers/chunks/e610d24539a675fb054b.js +0 -1
  272. package/assets/esri/core/workers/chunks/ecb7ede6a8e6c05e4c6c.js +0 -1
  273. package/assets/esri/core/workers/chunks/f227b34cce6843df0fb6.js +0 -1
  274. package/assets/esri/core/workers/chunks/fb5a2205f05afc396119.js +0 -1
  275. package/request/ImageWithType.js +0 -2
  276. package/views/3d/layers/support/fetchTile.js +0 -2
  277. package/views/interactive/editGeometry/unnormalizationHelper.js +0 -2
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8358],{73354(e,t,n){n.d(t,{a:()=>f,b:()=>l,c:()=>s,d:()=>i,e:()=>h,f:()=>d,l:()=>c,n:()=>m,t:()=>o});var r=n(40876),a=(n(44208),n(72727));function i(e,t,n){o(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)}function o(e,t,n,r=3,i=r){const o=(0,a.k)(e.length,r,3),s=(0,a.k)(t.length,i,3),l=Math.min(o,s),u=n[0],c=n[1],d=n[2],f=n[4],h=n[5],m=n[6],p=n[8],g=n[9],y=n[10],T=n[12],S=n[13],M=n[14];let A=0,b=0;for(let n=0;n<l;n++){const n=t[A],a=t[A+1],o=t[A+2];e[b]=u*n+f*a+p*o+T,e[b+1]=c*n+h*a+g*o+S,e[b+2]=d*n+m*a+y*o+M,A+=i,b+=r}return e}function s(e,t,n){l(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)}function l(e,t,n,r=3,i=r){const o=(0,a.k)(e.length,r,3),s=(0,a.k)(t.length,i,3),l=Math.min(o,s),u=n[0],c=n[1],d=n[2],f=n[3],h=n[4],m=n[5],p=n[6],g=n[7],y=n[8];let T=0,S=0;for(let n=0;n<l;n++){const n=t[T],a=t[T+1],o=t[T+2];e[S]=u*n+f*a+p*o,e[S+1]=c*n+h*a+g*o,e[S+2]=d*n+m*a+y*o,T+=i,S+=r}}function u(e,t,n,r=3,a=r){const i=Math.min(e.length/r,t.length/a);let o=0,s=0;for(let l=0;l<i;l++)e[s]=n*t[o],e[s+1]=n*t[o+1],e[s+2]=n*t[o+2],o+=a,s+=r;return e}function c(e,t,n,r){d(e.typedBuffer,t.typedBuffer,n,r,e.typedBufferStride,t.typedBufferStride)}function d(e,t,n,a,i=3,o=i){const s=Math.min(e.length/i,t.length/o);let l=0,u=0;const c=1/r.Tf;for(let r=0;r<s;r++)e[u]=a*(n*t[l])**c,e[u+1]=a*(n*t[l+1])**c,e[u+2]=a*(n*t[l+2])**c,l+=o,u+=i}function f(e,t,n,r=3,i=r){const o=(0,a.k)(e.length,r,3),s=(0,a.k)(t.length,i,3),l=Math.min(o,s);let u=0,c=0;for(let a=0;a<l;a++)e[c]=t[u]+n[0],e[c+1]=t[u+1]+n[1],e[c+2]=t[u+2]+n[2],u+=i,c+=r;return e}function h(e,t){m(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)}function m(e,t,n=3,r=n){const a=Math.min(e.length/n,t.length/r);let i=0,o=0;for(let s=0;s<a;s++){const a=t[i],s=t[i+1],l=t[i+2],u=a*a+s*s+l*l;if(u>0){const t=1/Math.sqrt(u);e[o]=t*a,e[o+1]=t*s,e[o+2]=t*l}i+=r,o+=n}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:d,linearToSRGBView:c,normalize:m,normalizeView:h,scale:u,scaleView:function(e,t,n){u(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)},shiftRight:function(e,t,n){const r=Math.min(e.count,t.count),a=e.typedBuffer,i=e.typedBufferStride,o=t.typedBuffer,s=t.typedBufferStride;let l=0,u=0;for(let e=0;e<r;e++)a[u]=o[l]>>n,a[u+1]=o[l+1]>>n,a[u+2]=o[l+2]>>n,l+=s,u+=i},transformMat3:l,transformMat3View:s,transformMat4:o,transformMat4View:i,translate:f},Symbol.toStringTag,{value:"Module"}))},40876(e,t,n){n.d(t,{Eq:()=>h,G1:()=>p,TS:()=>i,Tf:()=>T,V6:()=>a,Vm:()=>m,ay:()=>l,c1:()=>g,c4:()=>o,j5:()=>u,lT:()=>d,oW:()=>c,xV:()=>M});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function a(e){return!!r[e]||!!r[e.toLowerCase()]}function i(e){return r[e]??r[e.toLowerCase()]}function o(e){return[...i(e)]}function s(e,t,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?e+(t-e)*r:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function l(e,t,n,r=1){const a=(e%360+360)%360/360,i=n<=.5?n*(t+1):n+t-n*t,o=2*n-i;return[Math.round(255*s(o,i,a+1/3)),Math.round(255*s(o,i,a)),Math.round(255*s(o,i,a-1/3)),r]}function u(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,a=t?1:17,i=t?9===e.length:5===e.length;let o=Number("0x"+e.slice(1));if(isNaN(o))return null;const s=[0,0,0,1];let l;return i&&(l=o&r,o>>=n,s[3]=a*l/255),l=o&r,o>>=n,s[2]=a*l,l=o&r,o>>=n,s[1]=a*l,l=o&r,o>>=n,s[0]=a*l,s}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),a=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,r+16*r,(a+16*a)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function d(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),f(t)}return f(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function f(e){return e[0]=g(e[0]),e[1]=g(e[1]),e[2]=g(e[2]),e[3]=4===e.length?p(e[3]):1,e}function h(e){let t=a(e)?i(e):null;return t??=d(e),t??=c(e),t}function m(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function p(e){return y(e,0,1)}function g(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const T=2.2,S=1/T;function M(e){return e**S}},69540(e,t,n){n.d(t,{OU:()=>c,Pw:()=>d});var r=n(5482),a=n(69622),i=(n(44208),n(4718)),o=(n(53966),n(97768)),s=n(88620),l=n(64108);const u=Symbol("ClonableMixin"),c=e=>{var t;const n=e;let a=class extends n{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,s.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const n=t.metadata,r=t.store,a={},l=new Map;for(const t in n){const o=n[t],s=r?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==s&&0!==s&&5!==s&&4!==s)continue;const c=this[t];let d=null;if("function"==typeof u)d=u(c,e);else if("reference"===u)d=c;else if(d=(0,i.TU)(c,e),null!=c&&null==d)continue;0===s?l.set(t,d):a[t]=d}const u=new(0,Object.getPrototypeOf(this).constructor)(a);if(l.size){const e=(0,s.oY)(u)?.store;if(e)for(const[t,n]of l)e.set(t,n,0)}return u}};return a=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],a),a},d=c(a.A)},95488(e,t,n){n.d(t,{I:()=>a});var r=n(11406);class a extends r.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function a(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>a,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:a,create:r,fromValues:function(e,t,n,r,a,i,o,s,l,u,c,d,f,h,m,p){return[e,t,n,r,a,i,o,s,l,u,c,d,f,h,m,p]}},Symbol.toStringTag,{value:"Module"}))},51850(e,t,n){function r(){return[0,0,0]}function a(e){return[e[0],e[1],e[2]]}function i(e,t,n){return[e,t,n]}function o(e,t,n){return[e,t,n]}function s(e,t=[0,0,0]){const n=Math.min(3,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function l(){return[0,0,0]}function u(){return i(1,1,1)}function c(){return i(1,0,0)}function d(){return i(0,1,0)}function f(){return i(0,0,1)}n.d(t,{CN:()=>o,Cb:()=>y,Cw:()=>p,JP:()=>g,S:()=>u,Ul:()=>l,Un:()=>m,ci:()=>s,fA:()=>i,o8:()=>a,uY:()=>h,vt:()=>r});const h=[0,0,0],m=u(),p=c(),g=d(),y=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:p,UNIT_Y:g,UNIT_Z:y,ZEROS:h,clone:a,create:r,freeze:o,fromArray:s,fromValues:i,ones:u,unitX:c,unitY:d,unitZ:f,zeros:l},Symbol.toStringTag,{value:"Module"}))},34304(e,t,n){n.d(t,{DF:()=>l,FD:()=>a,Ov:()=>i,ct:()=>u});let r=1e-6;function a(){return r}const i=Math.random,o=Math.PI/180,s=180/Math.PI;function l(e){return e*o}function u(e){return e*s}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:i,equals:function(e,t){return Math.abs(e-t)<=r*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:a,setEpsilon:function(e){r=e},toDegree:u,toRadian:l},Symbol.toStringTag,{value:"Module"}))},35522(e,t,n){n.d(t,{$A:()=>R,Bw:()=>i,C:()=>o,Cc:()=>v,DI:()=>b,Il:()=>z,Io:()=>T,Ln:()=>y,Om:()=>_,Qr:()=>d,Re:()=>u,S8:()=>w,T9:()=>p,WQ:()=>l,Z0:()=>C,_S:()=>h,aI:()=>O,ei:()=>E,fw:()=>N,g7:()=>x,gL:()=>I,hG:()=>S,hZ:()=>s,hs:()=>g,jb:()=>L,jk:()=>m,lo:()=>F,lw:()=>c,m3:()=>M,oW:()=>U,t2:()=>G,tn:()=>f,uE:()=>Z,xg:()=>D,ze:()=>A});var r=n(51850),a=n(34304);function i(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function s(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function l(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function d(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function f(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function h(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function m(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function p(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function g(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function y(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function T(e,t){const n=t[0]-e[0],r=t[1]-e[1],a=t[2]-e[2];return Math.sqrt(n*n+r*r+a*a)}function S(e,t){const n=t[0]-e[0],r=t[1]-e[1],a=t[2]-e[2];return n*n+r*r+a*a}function M(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function A(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function b(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function w(e,t){const n=t[0],r=t[1],a=t[2];let i=n*n+r*r+a*a;return i>0&&(i=1/Math.sqrt(i),e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i),e}function _(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function R(e,t,n){const r=t[0],a=t[1],i=t[2],o=n[0],s=n[1],l=n[2];return e[0]=a*l-i*s,e[1]=i*o-r*l,e[2]=r*s-a*o,e}function v(e,t,n,r){const a=t[0],i=t[1],o=t[2];return e[0]=a+r*(n[0]-a),e[1]=i+r*(n[1]-i),e[2]=o+r*(n[2]-o),e}function C(e,t,n){const r=t[0],a=t[1],i=t[2];return e[0]=n[0]*r+n[4]*a+n[8]*i+n[12],e[1]=n[1]*r+n[5]*a+n[9]*i+n[13],e[2]=n[2]*r+n[6]*a+n[10]*i+n[14],e}function E(e,t,n){const r=t[0],a=t[1],i=t[2];return e[0]=r*n[0]+a*n[3]+i*n[6],e[1]=r*n[1]+a*n[4]+i*n[7],e[2]=r*n[2]+a*n[5]+i*n[8],e}function I(e,t,n){return N(e,t,n[0],n[1],n[2],n[3])}function N(e,t,n,r,a,i){const o=t[0],s=t[1],l=t[2],u=r*l-a*s,c=a*o-n*l,d=n*s-r*o,f=r*d-a*c,h=a*u-n*d,m=n*c-r*u,p=2*i;return e[0]=o+u*p+2*f,e[1]=s+c*p+2*h,e[2]=l+d*p+2*m,e}function x(e,t){w(k,e),w(P,t);const n=_(k,P);return n>1?0:n<-1?Math.PI:Math.acos(n)}const k=(0,r.vt)(),P=(0,r.vt)();function G(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function O(e,t){if(e===t)return!0;const n=e[0],r=e[1],i=e[2],o=t[0],s=t[1],l=t[2],u=(0,a.FD)();return Math.abs(n-o)<=u*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-s)<=u*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(i-l)<=u*Math.max(1,Math.abs(i),Math.abs(l))}function U(e,t,n){const r=n[0]-t[0],a=n[1]-t[1],i=n[2]-t[2];let o=r*r+a*a+i*i;return o>0?(o=1/Math.sqrt(o),e[0]=r*o,e[1]=a*o,e[2]=i*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const L=u,B=c,j=d,D=T,F=S,z=i,Z=M;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:l,angle:x,bezier:function(e,t,n,r,a,i){const o=1-i,s=o*o,l=i*i,u=s*o,c=3*i*s,d=3*l*o,f=l*i;return e[0]=t[0]*u+n[0]*c+r[0]*d+a[0]*f,e[1]=t[1]*u+n[1]*c+r[1]*d+a[1]*f,e[2]=t[2]*u+n[2]*c+r[2]*d+a[2]*f,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:o,cross:R,crossAndNormalize:function(e,t,n){const r=t[0],a=t[1],i=t[2],o=n[0],s=n[1],l=n[2],u=a*l-i*s,c=i*o-r*l,d=r*s-a*o,f=Math.sqrt(u*u+c*c+d*d);return e[0]=u/f,e[1]=c/f,e[2]=d/f,e},direction:U,dist:D,distance:T,div:j,divide:d,dot:_,equals:O,exactEquals:G,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,n,r,a,i){const o=i*i,s=o*(2*i-3)+1,l=o*(i-2)+i,u=o*(i-1),c=o*(3-2*i);return e[0]=t[0]*s+n[0]*l+r[0]*u+a[0]*c,e[1]=t[1]*s+n[1]*l+r[1]*u+a[1]*c,e[2]=t[2]*s+n[2]*l+r[2]*u+a[2]*c,e},inverse:b,len:z,length:i,lerp:v,max:p,min:m,mul:B,multiply:c,negate:A,normalize:w,random:function(e,t=1){const n=a.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*t;return e[0]=Math.cos(r)*o,e[1]=Math.sin(r)*o,e[2]=i*t,e},rotateX:function(e,t,n,r){const a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[0],i[1]=a[1]*Math.cos(r)-a[2]*Math.sin(r),i[2]=a[1]*Math.sin(r)+a[2]*Math.cos(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateY:function(e,t,n,r){const a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[2]*Math.sin(r)+a[0]*Math.cos(r),i[1]=a[1],i[2]=a[2]*Math.cos(r)-a[0]*Math.sin(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateZ:function(e,t,n,r){const a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[0]*Math.cos(r)-a[1]*Math.sin(r),i[1]=a[0]*Math.sin(r)+a[1]*Math.cos(r),i[2]=a[2],e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:g,scaleAndAdd:y,set:s,sign:h,sqrDist:F,sqrLen:Z,squaredDistance:S,squaredLength:M,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:L,subtract:u,transformMat3:E,transformMat4:C,transformQuat:I,transformQuatValues:N},Symbol.toStringTag,{value:"Module"}))},3330(e,t,n){n.d(t,{GB:()=>a,Qo:()=>o,Y4:()=>i});var r=n(92647);class a{static{this.instance=r.mQ.parseSpecifier("UTC")}}function i(e){return e instanceof r.bo?e===a.instance:"unknown"===e?.toString().toLowerCase()}function o(e){return i(e)?a.instance:e}},83027(e,t,n){n.d(t,{h:()=>r});const r=n(29953).ho},35982(e,t,n){n.d(t,{B:()=>c});var r=n(4576),a=n(71511),i=n(36563),o=n(53966),s=n(97768),l=n(17676),u=n(83027);class c{constructor(e,t,n,r,a={}){this._mainMethod=t,this._transferLists=n,this._listeners=[],this._onClientConnectedHandle=null,this._destroyed=!1,this._promise=(0,u.h)(e,{...a,schedule:r}).then(e=>{null!=this._thread||this._destroyed?e.close():(this._thread=e,this._promise=null,this._onClientConnectedHandle=this._thread.onClientConnected(e=>{a.hasInitialize&&e.invoke("initialize",{});for(const t of this._listeners)this._connectListenerToClient(t,e);this._onClientConnected(e)}))}),this._promise.catch(t=>o.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${e} worker: ${t}`))}on(e,t){const n=new d(e,t);return this._listeners.push(n),this._connectListener(n),(0,i.hA)(()=>{(0,r.TF)(this._listeners,n),n.destroy()})}[Symbol.dispose](){this.destroy()}destroy(){this._onClientConnectedHandle=(0,s.xt)(this._onClientConnectedHandle),this._thread&&(this._thread.close(),this._thread=null),this._promise=null;for(const e of this._listeners)e.destroy();this._listeners.length=0,this._transferLists={},this._destroyed=!0}invoke(e,t,n){return this.invokeMethod(this._mainMethod,e,t,n)}invokeMethod(e,t,n,r){if(this._thread){const a=this._transferLists[e],i=a?a(t):[];return this._thread.invoke(e,t,{transferList:i,signal:n,jobPriority:r})}return this._promise?this._promise.then(()=>((0,l.Te)(n),this.invokeMethod(e,t,n))):Promise.reject((0,l.NK)())}broadcast(e,t){return this._thread?Promise.all(this._thread.broadcast(t,e)).then(f):this._promise?this._promise.then(()=>this.broadcast(e,t)):Promise.reject((0,l.NK)())}get promise(){return this._promise}_onClientConnected(e){}_connectListener(e){this._thread&&e.add(this._thread.on(e.eventName,e.callback))}_connectListenerToClient(e,t){e.add(t.on(e.eventName,e.callback))}}class d{constructor(e,t){this.eventName=e,this.callback=t,this._handles=new a.A}add(e){this._handles.add(e)}destroy(){this._handles.destroy()}}function f(){}},91075(e,t,n){n.d(t,{A:()=>l});var r=n(5482),a=n(25482),i=n(91429),o=n(16930),s=n(36005);let l=class extends a.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=o.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof o.A)return e;if(null!=e){const n=new o.A;return n.read(e,t),n}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,r.Cg)([(0,i.MZ)()],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasM",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasZ",void 0),(0,r.Cg)([(0,i.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],l.prototype,"spatialReference",void 0),(0,r.Cg)([(0,s.w)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,r.Cg)([(0,i.$K)("esri.geometry.Geometry")],l)},86738(e,t,n){n.d(t,{A:()=>S});var r=n(5482),a=n(69622),i=n(53966),o=n(91429),s=n(56507),l=n(91075),u=n(16930),c=n(21325),d=n(28735);function f({x:e,y:t,spatialReference:n},r=[0,0]){if(n){if((0,c.K8)(n))return(0,d.tD)(e,t,r);if((0,c.EA)(n))return r[0]=e,r[1]=t,r}return null}const h=[0,0];var m,p=n(43937),g=n(36005);const y=[0,0];function T(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let S=m=class extends l.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const n=e._get("spatialReference");t._set("spatialReference",a.A.isFrozen(n)?n:n.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,n,r,a){let o;if(Array.isArray(e))o=e,a=t,e=o[0],t=o[1],n=o[2],r=o[3];else if(e&&"object"==typeof e){if(o=e,e=null!=o.x?o.x:o.longitude,t=null!=o.y?o.y:o.latitude,n=o.z,r=o.m,(a=o.spatialReference)&&"esri.geometry.SpatialReference"!==a.declaredClass&&(a=new u.A(a)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)i.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)i.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&a?.isWebMercator){const n=(0,d.je)(o.longitude,o.latitude,y);e=n[0],t=n[1]}}else T(n)?(a=n,n=null):T(r)&&(a=r,r=null);const s={x:e,y:t};return null==s.x&&null!=s.y?i.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==s.y&&null!=s.x&&i.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=a&&(s.spatialReference=a),null!=n&&(s.z=n),null!=r&&(s.m=r),s}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return f(this,h)?.[1]??null}set latitude(e){const{spatialReference:t,x:n}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,d.je)(n,e,y)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return f(this,h)?.[0]??null}set longitude(e){const{y:t,spatialReference:n}=this;null!=e&&n&&(n.isWebMercator?this._set("x",(0,d.je)(e,t,y)[0]):n.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,n){t[n]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new m;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return m.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:n,z:r,m:a,spatialReference:i}=this,{z:o,m:s}=e;let{x:l,y:u,spatialReference:c}=e;if(!i.equals(c))if(i.isWebMercator&&c.isWGS84)[l,u]=(0,d.je)(l,u),c=i;else{if(!i.isWGS84||!c.isWebMercator)return!1;[l,u]=(0,d.tD)(l,u),c=i}return t===l&&n===u&&r===o&&a===s&&i.wkid===c.wkid}offset(e,t,n){return this.x+=e,this.y+=t,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const e=(0,c.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[n,r]=e.valid,a=2*r;let i;return t>r?(i=Math.ceil(Math.abs(t-r)/a),t-=i*a):t<n&&(i=Math.ceil(Math.abs(t-n)/a),t+=i*a),this._set("x",t),this}distance(e){return function(e,t){const n=e.x-t.x,r=e.y-t.y,a=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(n*n+r*r+a*a)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],S.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],S.prototype,"hasM",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],S.prototype,"hasZ",null),(0,r.Cg)([(0,o.MZ)({type:Number})],S.prototype,"latitude",null),(0,r.Cg)([(0,o.MZ)({type:Number})],S.prototype,"longitude",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,o.wg)(e=>isNaN(e)?e:(0,s.GB)(e))],S.prototype,"x",void 0),(0,r.Cg)([(0,p.K)("x")],S.prototype,"writeX",null),(0,r.Cg)([(0,g.w)("x")],S.prototype,"readX",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],S.prototype,"y",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],S.prototype,"z",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],S.prototype,"m",void 0),S=m=(0,r.Cg)([(0,o.$K)("esri.geometry.Point")],S),S.prototype.toJSON.isDefaultToJSON=!0},21276(e,t,n){n.d(t,{H:()=>i,f:()=>a});var r=n(49186);function a(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new r.A("internal:mesh","Mesh geometries are not supported for this operation")}function i(e){e.forEach(a)}},159(e,t,n){n.d(t,{A:()=>u});var r,a=n(5482),i=n(69540),o=n(25482),s=n(91429),l=n(99157);let u=r=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,a.Cg)([(0,s.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,a.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>l});var r,a=n(5482),i=n(69540),o=n(25482),s=n(91429);let l=r=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,a.Cg)([(0,s.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],l.prototype,"isInverse",void 0),(0,a.Cg)([(0,s.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,a.Cg)([(0,s.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=r=(0,a.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>a});var r=n(49208);function a(e,t,n,a,i,o,s=Math.floor(e.length/3)){const l=(0,r.jd)(t,i);if(null==l)return!1;if(l===r.pO){if(e===a&&n===o)return!0;const t=n+3*s;for(let r=n,i=o;r<t;r++,i++)a[i]=e[r]??0;return!0}const u=n+3*s;for(let t=n,r=o;t<u;t+=3,r+=3)l(e,t,a,r);return!0}},65806(e,t,n){n.d(t,{g:()=>o});var r=n(51850),a=n(91218),i=n(9762);function o(e,t,n,r){if((0,a.canProjectWithoutEngine)(e.spatialReference,n))return s[0]=e.x,s[1]=e.y,s[2]=e.z??0,(0,i.projectBuffer)(s,e.spatialReference,0,t,n,0);const o=(0,a.tryProject)(e,n,r);return!!o&&(t[0]=o.x,t[1]=o.y,t[2]=o.z??0,!0)}const s=(0,r.vt)()},27993(e,t,n){n.d(t,{F:()=>s});var r=n(91218),a=n(16930),i=n(9762),o=n(65806);function s(e,t,n,a){return!(null==t||null==a||e.length<2)&&((0,r.canProjectWithoutEngine)(t,a)?(0,i.projectBuffer)(e,t,0,n,a,0,1):(l.x=e[0],l.y=e[1],l.z=e[2],l.spatialReference=t,(0,o.g)(l,n,a)))}const l={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:a.A.WGS84,type:"point"}},49208(e,t,n){n.d(t,{Tp:()=>d,jd:()=>c,pO:()=>h,w5:()=>u});var r=n(34727),a=n(86211),i=n(73941),o=n(79258),s=n(34403),l=n(21325);const u={2:{5:h,7:null,9:null,10:h,1:A,6:null,8:null,0:null,3:p,11:g,2:h,4:v},5:{5:h,7:null,9:null,10:h,1:A,6:null,8:null,0:null,3:p,11:g,2:h,4:v},7:{5:null,7:h,9:null,10:h,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:S,0:null,3:null,11:null,2:null,4:null},3:{5:m,7:null,9:null,10:m,1:function(e,t,n,r){const a=e[t]/k,i=x-2*Math.atan(Math.exp(-e[t+1]/k)),o=k+(e[t+2]??0),s=Math.cos(i)*o;n[r]=Math.cos(a)*s,n[r+1]=Math.sin(a)*s,n[r+2]=Math.sin(i)*o},6:null,8:null,0:null,3:h,11:function(e,t,n,r){m(e,t,n,r),g(n,r,n,r)},2:m,4:function(e,t,n,r){m(e,t,n,r),v(n,r,n,r)}},4:{5:C,7:null,9:null,10:C,1:function(e,t,n,r){C(e,t,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){C(e,t,n,r),p(n,r,n,r)},11:function(e,t,n,r){C(e,t,n,r),g(n,r,n,r)},2:C,4:h},1:{5:R,7:null,9:null,10:R,1:h,6:null,8:null,0:null,3:function(e,t,n,r){R(e,t,n,r),p(n,r,n,r)},11:function(e,t,n,r){R(e,t,n,r),g(n,r,n,r)},2:R,4:function(e,t,n,r){R(e,t,n,r),v(n,r,n,r)}},6:{5:null,7:_,9:null,10:_,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:w,10:w,1:null,6:null,8:h,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:A,6:M,8:S,0:null,3:p,11:g,2:h,4:v},11:{5:y,7:null,9:null,10:y,1:function(e,t,n,r){y(e,t,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){y(e,t,n,r),p(n,r,n,r)},11:h,2:y,4:function(e,t,n,r){y(e,t,n,r),v(n,r,n,r)}}};function c(e,t){return d(e,t)?.projector}function d(e,t){if(null==e||null==t)return null;if(E.source.spatialReference===e&&E.dest.spatialReference===t)return E;const n=f(e,E.source),r=f(t,E.dest);return 0===n&&0===r?(0,l.aI)(e,t)?E.projector=h:E.projector=null:E.projector=u[n][r],E}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,a.GA)(e,1)),(0,i.jA)(e)?t.spatialReferenceId=1:(0,l.oT)(e)?t.spatialReferenceId=2:(0,l.K8)(e)?t.spatialReferenceId=3:(0,l.r1)(e)?t.spatialReferenceId=11:e.wkt===i.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===i.FY.wkt?t.spatialReferenceId=6:e.wkt===i.LJ.wkt?t.spatialReferenceId=8:(0,i.q8)(e)?t.spatialReferenceId=7:(0,i.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function h(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function m(e,t,n,r){n[r]=N*(e[t]/k),n[r+1]=N*(x-2*Math.atan(Math.exp(-e[t+1]/k))),n[r+2]=e[t+2]??0}function p(e,t,n,a){!function(e,t,n,a,i){const o=.4999999*Math.PI,s=(0,r.qE)(I*e[t+1],-o,o),l=Math.sin(s);n[a++]=I*e[t]*i.radius,n[a++]=i.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[a]=e[t+2]??0}(e,t,n,a,o.$O)}function g(e,t,n,r){n[r]=e[t]*P,n[r+1]=e[t+1]*P,n[r+2]=e[t+2]??0}function y(e,t,n,r){n[r]=e[t]*G,n[r+1]=e[t+1]*G,n[r+2]=e[t+2]??0}function T(e,t,n,r,a){const i=a+(e[t+2]??0),o=I*e[t],s=I*e[t+1],l=Math.cos(s)*i;n[r]=Math.cos(o)*l,n[r+1]=Math.sin(o)*l,n[r+2]=Math.sin(s)*i}function S(e,t,n,r){T(e,t,n,r,o.Sw.radius)}function M(e,t,n,r){T(e,t,n,r,o.sH.radius)}function A(e,t,n,r){T(e,t,n,r,o.$O.radius)}function b(e,t,n,a,i){const o=e[t],s=e[t+1],l=e[t+2]??0,u=Math.sqrt(o*o+s*s+l*l),c=(0,r.YN)(l/(0===u?1:u)),d=Math.atan2(s,o);n[a++]=N*d,n[a++]=N*c,n[a]=u-i}function w(e,t,n,r){b(e,t,n,r,o.Sw.radius)}function _(e,t,n,r){b(e,t,n,r,o.sH.radius)}function R(e,t,n,r){b(e,t,n,r,o.$O.radius)}function v(e,t,n,r){!function(e,t,n,r,a){const i=I*e[t],o=I*e[t+1],s=e[t+2]??0,l=Math.sin(o),u=Math.cos(o),c=a.radius/Math.sqrt(1-a.eccentricitySquared*l*l);n[r++]=(c+s)*u*Math.cos(i),n[r++]=(c+s)*u*Math.sin(i),n[r++]=(c*(1-a.eccentricitySquared)+s)*l}(e,t,n,r,o.$O)}function C(e,t,n,r){const a=s.TP,i=e[t],l=e[t+1],u=e[t+2]??0;let c,d,f,h,m,p,g,y,T,S,M,A,b,w,_,R,v,C,E,I,x;c=Math.abs(u),d=i*i+l*l,f=Math.sqrt(d),h=d+u*u,m=Math.sqrt(h),I=Math.atan2(l,i),p=u*u/h,g=d/h,w=a.a2/m,_=a.a3-a.a4/m,g>.3?(y=c/m*(1+g*(a.a1+w+p*_)/m),E=Math.asin(y),S=y*y,T=Math.sqrt(1-S)):(T=f/m*(1-p*(a.a5-w-g*_)/m),E=Math.acos(T),S=1-T*T,y=Math.sqrt(S)),M=1-o.$O.eccentricitySquared*S,A=o.$O.radius/Math.sqrt(M),b=a.a6*A,w=f-A*T,_=c-b*y,v=T*w+y*_,R=T*_-y*w,C=R/(b/M+v),E+=C,x=v+R*C/2,u<0&&(E=-E),n[r++]=N*I,n[r++]=N*E,n[r]=x}const E={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},I=(0,r.kU)(1),N=(0,r.KJ)(1),x=.5*Math.PI,k=o.$O.radius,P=k*Math.PI/180,G=180/(k*Math.PI)},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>W,initializeProjection:()=>Y,isEqualBaseGCS:()=>$,isLoaded:()=>k,isLoadedOrLoad:()=>P,isLoadedOrLoadFor:()=>G,load:()=>U,project:()=>L,projectAsync:()=>q,projectExtent:()=>ae,projectMany:()=>B,projectMultipoint:()=>X,projectOrLoad:()=>D,projectOrLoadMany:()=>F,projectPoint:()=>K,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>V,requiresLoad:()=>O,test:()=>H,tryProject:()=>j,unload:()=>Z});var r=n(49186),a=n(17676),i=n(62788),o=n(95488),s=n(51850),l=n(21276),u=n(73941),c=n(5443),d=n(91075),f=n(48526),h=n(86738),m=n(39829),p=n(82799),g=n(16930),y=n(98764),T=n(159),S=n(9762),M=n(49208);function A(e,t,n,r,a,i){return b[0]=e,b[1]=t,b[2]=n,(0,S.projectBuffer)(b,r,0,a,i,0)}const b=(0,s.vt)();var w=n(60408),_=n(21325),R=n(52006);let v=null,C=null,E=null,I=null,N={};const x=new o.I;function k(){return!!(C?.isLoaded()&&E?.isLoaded()&&I?.isLoaded())}function P(){return!!k()||((0,i.gc)(x),U(),!1)}function G(e,t){return!e||!t||W(e,t)||P()}function O(e,t){return!W(e,t)&&!k()}async function U(e){null==v&&(v=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(C=e,C.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(E=e,E.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(I=e,I.load()))])),await v,(0,a.Te)(e),x.notify()}function L(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),B(e,e[0].spatialReference,t,n)):((0,l.f)(e),B([e],e.spatialReference,t,n)[0])}function B(e,t,n,r){if(null==t||null==n)return e;if(W(t,n,r))return e.map(e=>V(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return B(e.map(e=>V(e,t,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return B(e,t,g.A.WGS84).map(e=>V(e,g.A.WGS84,n));if(!k())throw new z;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:I.getTransformation(t,n,r.areaOfInterestExtent)||new T.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let a=N[e];a||(a=I.getTransformation(t,n)||new T.A,N[e]=a),r={geographicTransformation:a,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof d.A?C.executeMany(e,n,r):E.executeMany(e,n,r)}function j(e,t,n){try{return L(e,t,n)}catch(e){return null}}function D(e,t){const n=F([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function F(e,t,n){if(!k())for(const n of e)if(null!=n&&!(0,_.aI)(n.spatialReference,t)&&(0,_.fn)(n.spatialReference)&&(0,_.fn)(t)&&!W(n.spatialReference,t))return(0,i.gc)(x),{pending:U(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,_.aI)(e.spatialReference,t)?e:(0,_.fn)(e.spatialReference)&&(0,_.fn)(t)?L(e,t,n):null)}}class z extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function Z(){v=null,C=null,E=null,I=null,N={}}const H={get loadPromise(){return v}};async function q(e,t,n){if((0,a.Te)(n),!e)return e;const r=F(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,a.Te)(n),q(e,t,n);const i=r.geometries??[];return Array.isArray(e)?i:i[0]}function W(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,_.aI)(e,t)||(0,_.fn)(e)&&(0,_.fn)(t)&&!!(0,M.jd)(e,t))}function $(e,t){if((0,_.aI)(e,t))return!0;if(!(0,_.fn)(e)||!(0,_.fn)(t))return!1;const n=(0,_.oT)(e)||(0,_.K8)(e)||(0,_.x1)(e),r=(0,_.oT)(t)||(0,_.K8)(t)||(0,_.x1)(t);return n&&r}async function Y(e,t,n,r){if(k())return(0,a.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:a}of e)if(t&&n&&!W(t,n,a))return U(r)}else if(e&&t&&!W(e,t,n))return U(r);return(0,a.NO)(r)}function V(e,t,n){return e?(0,w.fT)(e)?J(e,t,new h.A,n,0):(0,w.ZC)(e)?ie(e,t,new c.A,n,0):(0,w.Bi)(e)?re(e,t,new m.A,n,0):(0,w.Rg)(e)?te(e,t,new p.A,n,0):(0,w.U9)(e)?Q(e,t,new f.A,n,0):null:null}function K(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=J(e,e.spatialReference,t,n,r)}function J(e,t,n,r,a){ue[0]=e.x,ue[1]=e.y;const i=e.z;return ue[2]=void 0!==i?i:a,(0,S.projectBuffer)(ue,t,0,ue,r,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=r,void 0!==i||(0,u.xP)(r)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function X(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=Q(e,e.spatialReference,t,n,r)}function Q(e,t,n,r,a){const{points:i,hasZ:o,hasM:s}=e,l=[],u=i.length,c=[];for(const e of i)c.push(e[0],e[1],o?e[2]:a);if(!(0,S.projectBuffer)(c,t,0,c,r,0,u))return null;const d=le(o,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];d&&s?l.push([n,r,c[t+2],i[e][3]]):d?l.push([n,r,c[t+2]]):s?l.push([n,r,i[e][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=o,n.hasM=s,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,a){const{curvePaths:i,paths:o,hasZ:s,hasM:l}=e;if(!(i?se(i,s??!1,l??!1,t,n.curvePaths=[],r,a):oe(o,s??!1,l??!1,t,n.paths,r,a)))return null;const u=le(s,r);return n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,a){const{curveRings:i,rings:o,hasZ:s,hasM:l}=e;return(i?se(i,s??!1,l??!1,t,n.curveRings=[],r,a):oe(o,s??!1,l??!1,t,n.rings,r,a))?(n.spatialReference=r,n.hasZ=le(s,r),n.hasM=l,n):null}function ae(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ie(e,e.spatialReference,t,n,r)}function ie(e,t,n,r,a){const{xmin:i,ymin:o,xmax:s,ymax:l,hasZ:u,hasM:c}=e;if(!A(i,o,u?e.zmin:a,t,ue,r))return null;const d=le(u,r);return n.xmin=ue[0],n.ymin=ue[1],d&&(n.zmin=ue[2]),A(s,l,u?e.zmax:a,t,ue,r)?(n.xmax=ue[0],n.ymax=ue[1],d&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function oe(e,t,n,r,a,i,o=0){const s=new Array;for(const n of e)for(const e of n)s.push(e[0],e[1],t?e[2]:o);if(!(0,S.projectBuffer)(s,r,0,s,i,0))return!1;let l=0;a.length=0;const u=t?3:2,c=le(t,i);for(const t of e){const e=new Array;for(const r of t){const t=s.slice(l,l+=3);c||t.pop(),n&&t.push(r[u]),e.push(t)}a.push(e)}return!0}function se(e,t,n,r,a,i,o=0){const s=new Array;for(const n of e)for(const e of n){if((0,R.FG)(e))return!1;if((0,R.aO)(e)){const[n,r]=e.c;s.push(n[0],n[1],t?n[2]:o,r[0],r[1],o);continue}if((0,R.n1)(e)){const[n,r,a]=e.b;s.push(n[0],n[1],t?n[2]:o,r[0],r[1],o,a[0],a[1],o);continue}const n=e;s.push(n[0],n[1],t?n[2]:o)}if(!(0,S.projectBuffer)(s,r,0,s,i,0))return!1;let l=0;a.length=0;const u=t?3:2,c=le(t,i);for(const t of e){const e=new Array;for(const r of t){const t=s.slice(l,l+=3);if(c||t.pop(),n&&t.push((0,R.yP)(r)[u]),(0,R.FG)(r))return!1;if((0,R.aO)(r)){const n=s[l++],r=s[l++];++l,e.push({c:[t,[n,r]]});continue}if((0,R.n1)(r)){const n=s[l++],r=s[l++];++l;const a=s[l++],i=s[l++];++l,e.push({b:[t,[n,r],[a,i]]});continue}e.push(t)}a.push(e)}return!0}function le(e,t){return e||(0,u.xP)(t)||(0,_.aI)(t,y.Y0)}const ue=(0,s.vt)()},98764(e,t,n){n.d(t,{GD:()=>o,Y0:()=>u,lO:()=>c});var r=n(73941),a=n(16930),i=n(21325);const o=new a.A(r.fv),s=new a.A(r.FY),l=new a.A(r.LJ),u=new a.A(r.Ro);function c(e){const t=d.get(e);if(t)return t;let n=o;if(e)if(e===s)n=s;else if(e===l)n=l;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,i.tl)(t)||(0,i.tl)(r)?n=s:((0,i.ZL)(t)||(0,i.ZL)(r))&&(n=l);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===f?n=s:e===h&&(n=l)}}}return d.set(e,n),n}const d=new Map,f=s.wkt.toUpperCase(),h=l.wkt.toUpperCase()},4197(e,t,n){n.d(t,{Vj:()=>l,cj:()=>s,jh:()=>i,l5:()=>o});var r=n(34275),a=n(9093);function i(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function o(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function s(e){return[...e]}function l(e){const t=(0,a.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},95696(e,t,n){n.d(t,{A:()=>u});var r,a=n(5482),i=n(69540),o=n(25482),s=n(91429),l=n(93223);let u=class extends((0,i.OU)(o.o)){static{r=this}constructor(e){super(e),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,a.Cg)([(0,l.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,a.Cg)([(0,s.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,a.Cg)([(0,s.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},18251(e,t,n){n.r(t),n.d(t,{default:()=>u});var r=n(5482),a=n(69540),i=n(25482),o=n(91429),s=n(51850),l=n(93223);let u=class extends((0,a.OU)(i.o)){constructor(e){super(e),this.type="local",this.origin=(0,s.vt)()}};(0,r.Cg)([(0,l.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,o.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},72727(e,t,n){function r(e,t,n){if(t<=0)return 0;const r=e-n;return r<0?0:Math.floor(r/t)+1}n.d(t,{k:()=>r}),n(53966)},34403(e,t,n){n.d(t,{TP:()=>o});var r=n(79258);Math.PI;const a=r.$O.radius,i=r.$O.eccentricitySquared,o={a1:a*i,a2:a*i*a*i,a3:a*i*i/2,a4:a*i*a*i*2.5,a5:a*i+a*i*i/2,a6:1-i};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},60408(e,t,n){function r(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function a(e){return void 0!==e.points}function i(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function s(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?i(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":s(e)?"esriGeometryPolygon":r(e)?"esriGeometryEnvelope":a(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>u,Bi:()=>s,Pv:()=>c,Rg:()=>o,U9:()=>a,W0:()=>d,ZC:()=>r,fT:()=>i,uW:()=>l})},28735(e,t,n){n.d(t,{Cv:()=>g,Gh:()=>S,ci:()=>M,je:()=>y,jg:()=>d,tD:()=>T,y7:()=>p,yw:()=>c});var r=n(4718),a=n(21276),i=n(16930),o=n(79258),s=n(21325);function l(e){return 57.29577951308232*e}function u(e){return.017453292519943*e}function c(e){return e/o.$O.radius}function d(e){return Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))}function f(e){return null!=e.wkid||null!=e.wkt}const h=[0,0];function m(e,t,n,r,a){const i=e,o=a;if(o.spatialReference=n,"x"in i&&"x"in o)[o.x,o.y]=t(i.x,i.y,h,r);else if("xmin"in i&&"xmin"in o)[o.xmin,o.ymin]=t(i.xmin,i.ymin,h,r),[o.xmax,o.ymax]=t(i.xmax,i.ymax,h,r);else if("paths"in i&&"paths"in o||"rings"in i&&"rings"in o){const e="paths"in i?i.paths:i.rings,n=[];let a;for(let i=0;i<e.length;i++){const o=e[i];a=[],n.push(a);for(let e=0;e<o.length;e++)a.push(t(o[e][0],o[e][1],[0,0],r)),o[e].length>2&&a[e].push(o[e][2]),o[e].length>3&&a[e].push(o[e][3])}"paths"in o?o.paths=n:o.rings=n}else if("points"in i&&"points"in o){const e=i.points,n=[];for(let a=0;a<e.length;a++)n[a]=t(e[a][0],e[a][1],[0,0],r),e[a].length>2&&n[a].push(e[a][2]),e[a].length>3&&n[a].push(e[a][3]);o.points=n}return a}function p(e,t){const n=e&&(f(e)?e:e.spatialReference),r=t&&(f(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!n||!r)&&(!!(0,s.aI)(r,n)||(0,s.K8)(r)&&(0,s.oT)(n)||(0,s.K8)(n)&&(0,s.oT)(r))}function g(e,t){if(null==e)return null;const n=e.spatialReference,a=t&&(f(t)?t:t.spatialReference);return p(n,a)?(0,s.aI)(n,a)?(0,r.o8)(e):(0,s.K8)(a)?m(e,y,i.A.WebMercator,!1,(0,r.o8)(e)):(0,s.oT)(a)?m(e,T,i.A.WGS84,!1,(0,r.o8)(e)):null:null}function y(e,t,n=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const r=u(t);return n[0]=u(e)*o.$O.radius,n[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(r))/(1-Math.sin(r))),n}function T(e,t,n=[0,0],r=!1){if(e===s.Mc[0])n[0]=-180;else if(e===s.Mc[1])n[0]=180;else{const t=l(e/o.$O.radius);n[0]=r?t:t-360*Math.floor((t+180)/360)}return n[1]=l(Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))),n}function S(e,t=!1,n=(0,r.o8)(e)){return(0,a.f)(e),(0,a.f)(n),m(e,y,i.A.WebMercator,t,n)}function M(e,t=!1,n=(0,r.o8)(e)){return(0,a.f)(e),(0,a.f)(n),m(e,T,i.A.WGS84,t,n)}},97770(e,t,n){n.d(t,{Ey:()=>k,F8:()=>x,J2:()=>C,Yq:()=>I,_m:()=>E,_v:()=>M,iS:()=>N,wj:()=>P});var r=n(66552),a=n(73444),i=n(98623),o=(n(56400),n(92647));const s={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},l={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},u={timeZone:i.n$},c={year:"numeric",month:"numeric",day:"numeric"},d={year:"numeric",month:"long",day:"numeric"},f={year:"numeric",month:"short",day:"numeric"},h={year:"numeric",month:"long",weekday:"long",day:"numeric"},m={hour:"numeric",minute:"numeric"},p={...m,second:"numeric"},g={hourCycle:"h23"},y={...m,...g},T={...p,...g},S={"short-date":c,"short-date-short-time":{...c,...m},"short-date-short-time-24":{...c,...y},"short-date-long-time":{...c,...p},"short-date-long-time-24":{...c,...T},"short-date-le":c,"short-date-le-short-time":{...c,...m},"short-date-le-short-time-24":{...c,...y},"short-date-le-long-time":{...c,...p},"short-date-le-long-time-24":{...c,...T},"long-month-day-year":d,"long-month-day-year-short-time":{...d,...m},"long-month-day-year-short-time-24":{...d,...y},"long-month-day-year-long-time":{...d,...p},"long-month-day-year-long-time-24":{...d,...T},"day-short-month-year":f,"day-short-month-year-short-time":{...f,...m},"day-short-month-year-short-time-24":{...f,...y},"day-short-month-year-long-time":{...f,...p},"day-short-month-year-long-time-24":{...f,...T},"long-date":h,"long-date-short-time":{...h,...m},"long-date-short-time-24":{...h,...y},"long-date-long-time":{...h,...p},"long-date-long-time-24":{...h,...T},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":m,"long-time":p},M=(0,r.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),A={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},b=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),w=b.find(({type:e})=>"month"===e)?.value.toLowerCase();function _(){const e=(0,a.lR)();return(e&&A[e])??(0,a.QC)()}"mart"!==w&&(A.bs="sr-Latn-CS");let R=new WeakMap;const v=S["short-date-short-time"];function C(e){return S[e]}function E(e){const{dateStyle:t,timeStyle:n,hour12:r,year:a,month:i}=e,o={};return t?o.dateStyle=t:a&&(o.year=a,o.month=i||void 0),n&&!o.year&&(o.timeStyle=n,o.hour12="auto"===r?void 0:"always"===r),o}function I(e,t=v){return function(e){let t=R.get(e);if(!t){const n=_(),r=P(e.timeZone??i.qU),a={...e,timeZone:r};t=new Intl.DateTimeFormat(n,a),R.set(e,t)}return t}(t).format(e)}function N(e,t=v){return I(new Date(e),{...t,...u,...l})}function x(e,t=v){return I(new Date(`1970-01-01T${e}Z`),{...t,...u,...s})}function k(e,t=v){const n=o.c9.fromISO(e,{setZone:!0});if(!n.isValid)return e;if(t.timeZone)return I(n.toJSDate(),t);const r=0===n.offset?i.n$:t.timeZone,a={...t,timeZone:r};return n.toLocaleString(a,{locale:_()})}function P(e){switch(e){case i.qU:return i.N5;case i.L5:return i.n$;default:return e}}(0,a.Ml)(()=>{R=new WeakMap})},73444(e,t,n){n.d(t,{JK:()=>l,Ml:()=>g,QC:()=>d,lR:()=>c,oQ:()=>m});var r=n(36563);let a;n(44208);const i=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function s(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return i??e??t??"en"}function l(){return void 0===a&&(a=s()),a}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=l()){return f(e)?.language}function d(e=l()){const t=f(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function f(e=l()){return u.exec(e)?.groups}const h=[];function m(e){return h.push(e),(0,r.hA)(()=>{h.splice(h.indexOf(e),1)})}new Map;const p=[];function g(e){return p.push(e),(0,r.hA)(()=>p.splice(p.indexOf(e),1))}function y(){const e=s();a!==e&&([...p].forEach(t=>t(e)),a=e,[...h].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",y),o&&new MutationObserver(()=>{y()}).observe(o,{attributeFilter:["lang"]})},98623(e,t,n){n.d(t,{L5:()=>a,N5:()=>o,n$:()=>i,qU:()=>r});const r="system",a="unknown",i="UTC",o=Intl.DateTimeFormat().resolvedOptions().timeZone},56400(e,t,n){n.d(t,{ZS:()=>u,S3:()=>h,hv:()=>c,wr:()=>d,P6:()=>l});var r=n(91869),a=n(3330),i=n(98623);const o=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var s=n(92647);function l(e,t=!1){return{json:{read:{source:e,reader:(t,n)=>n[e]?u(n[e]):null},write:!!t&&{allowNull:!0,writer(t,n){n[e]=t?function(e){return{timeZoneIANA:e}}(t):null}}}}}function u(e,t=i.qU){return e?function(e){return"timeZoneIANA"in e}(e)?e.timeZoneIANA:function(e,t=i.qU){if(!e||!o.has(e.timeZone))return t;const n=o.get(e.timeZone);return function(e){return e.startsWith("UTC")}(e.timeZone)||e.respectsDaylightSaving?n:function(e){const t=s.c9.local().setZone(e),n=Math.min(t.set({month:1,day:1}).offset,t.set({month:5}).offset);return 0===n?"Etc/UTC":`Etc/GMT${s.mQ.instance(-n).formatOffset(0,"narrow")}`}(n)}(e,t):t}function c(e,t,n,r,a){if(t&&"date"===a)return{timeZone:i.n$,timeZoneName:void 0};const o=r.hour,s=n===i.L5;return{timeZone:s?"timestamp-offset"===a?void 0:e??i.n$:n,timeZoneName:s&&o?"shortOffset":void 0}}function d(e){const t=new Set(["etc/utc","etc/gmt","gmt"]),n=new Set(Intl.supportedValuesOf("timeZone").map(e=>e.toLowerCase()));return e===i.qU||e===i.L5||t.has(e.toLowerCase())||n.has(e.toLowerCase())}const f=new Map;function h(e){return e===i.L5?a.GB.instance:e===i.n$||"Etc/UTC"===e?s.mQ.utcInstance:(0,r.tE)(f,e,()=>s.oh.create(e))}},18003(e,t,n){n.r(t),n.d(t,{destroyContext:()=>P,dracoDecompressPointCloudData:()=>C,filterObbsForModifications:()=>E,filterObbsForModificationsSync:()=>j,initialize:()=>z,interpretObbModificationResults:()=>B,process:()=>v,project:()=>x,setLegacySchema:()=>N,setModifications:()=>I,setModificationsSync:()=>U,test:()=>H,transformNormals:()=>k});var r=n(34727),a=n(77690),i=n(29242),o=n(16930),s=n(4197),l=n(95696),u=n(18251),c=n(73354),d=n(2741);let f;var h=n(35522),m=n(51850),p=n(10614),g=n(63907),y=n(74038);class T{constructor(e,t){this.data=e,this.indices=t}}class S{constructor(e,t,n,r,a){this.indices=e,this.packedNormals=t,this.appendedVertexToOriginal=n,this.outputVertexCount=r,this.appendedVertexCount=a}}function M(e,t,n,r,a){return!r||n.some(({name:e})=>"normal"===e||"normalCompressed"===e)?function(e,t,n,r){const a=new T(e.slice().buffer,t);if(!r)return a;const i=n[0].stride,o=a.data.byteLength/i;for(const e of n)if("normalCompressed"===e.name){const{offset:t}=e,n=new Int16Array(a.data),s=(0,m.vt)();for(let e=0;e<o;++e)(0,p.Tz)(s,n,e,i/2,t/2),(0,h.ei)(s,s,r),(0,p.aT)(n,e,s[0],s[1],s[2],i/2,t/2)}else if("normal"===e.name){const{offset:t}=e,n=new Float32Array(a.data),s=(0,m.vt)();for(let e=0;e<o;++e){const a=(e*i+t)/4;s[0]=n[a],s[1]=n[a+1],s[2]=n[a+2],(0,h.ei)(s,s,r),n[a]=s[0],n[a+1]=s[1],n[a+2]=s[2]}}return a}(e,t,n,a):function(e,t,n,r){const a=n[0].stride,i=a/4,o=new Float32Array(e.buffer,e.byteOffset,e.byteLength/4),s=e.byteLength/a,l=a+4;n.forEach(e=>e.stride=l),n.push(new y._("normalCompressed",2,g.pe.SHORT,a,l,!0));const u=function(e,t,n,r){const a=e.length/3,i=t.length/n,{faceNormals:o,faceAreas:s,faceEdges:l,edgeFaces:u,vertexFaces:c,vertexFaceCountAndOffset:d}=function(e,t,n,r,a,i){const o=new Float32Array(3*a),s=new Float32Array(a),l=new Uint32Array(3*a),u=new Int32Array(3*a*2),c=3*a,d=new Uint32Array(c),f=new Uint32Array(2*n);for(let e=0;e<a;++e){const t=3*e;for(let e=0;e<3;++e)++f[2*r[t+e]]}{let e=0;for(let t=0;t<n;++t){const n=2*t;f[n+1]=e,e+=f[n]}for(let e=0;e<a;++e){const t=3*e;for(let n=0;n<3;++n)d[f[2*r[t+n]+1]++]=e}for(let e=0;e<n;++e)f[2*e+1]-=f[2*e]}let h=0;const m=new Uint32Array(2*c*2),p=new Uint32Array(2*n);for(let e=0;e<n;++e){const t=2*e,n=4*f[t+1];p[t]=n,p[t+1]=n}function g(e,t,n){const r=Math.min(e,t),a=Math.max(e,t),i=e<t?0:1,o=2*r,s=p[o],l=p[o+1];let c=-1;for(let e=s;e<l;e+=2)if(m[e]===a){c=m[e+1];break}return-1===c&&(c=h++,m[l]=a,m[l+1]=c,p[o+1]=l+2,u[2*c+(1-i)]=-1),u[2*c+i]=n,c}for(let n=0;n<r.length;n+=3){const a=r[n],u=a*t,c=e[u],d=e[u+1],f=e[u+2],h=r[n+1],m=h*t,p=e[m],y=e[m+1],T=e[m+2],S=r[n+2],M=S*t,A=c-p,b=d-y,w=f-T,_=c-e[M],R=d-e[M+1],v=f-e[M+2],C=b*v-w*R,E=w*_-A*v,I=A*R-b*_,N=Math.sqrt(C*C+E*E+I*I)||1,x=n/3;s[x]=.5*N;const k=1/N;if(i){const e=i[0]*C+i[3]*E+i[6]*I,t=i[1]*C+i[4]*E+i[7]*I,n=i[2]*C+i[5]*E+i[8]*I;o[3*x]=e*k,o[3*x+1]=t*k,o[3*x+2]=n*k}else o[3*x]=C*k,o[3*x+1]=E*k,o[3*x+2]=I*k;const P=g(a,h,x),G=g(h,S,x),O=g(S,a,x);l[3*x]=P,l[3*x+1]=G,l[3*x+2]=O}return{faceNormals:o,faceAreas:s,faceEdges:l,vertexFaces:d,vertexFaceCountAndOffset:f,edgeFaces:u}}(t,n,i,e,a,r);return function(e,t,n,r,a,i){const o=new Uint8Array(t),s=new Uint32Array(t),l=new Uint32Array(3*t);let u=0;const c=new Uint32Array(t);let d=0;for(let t=0;t<e.length;t+=3){const e=t/3;if(1===o[e])continue;o[e]=1;const f=n[3*e],h=n[3*e+1],m=n[3*e+2];for(d=0,c[d++]=e,l[0]=a[3*e],l[1]=a[3*e+1],l[2]=a[3*e+2],u=3,s[e]=e+1;u>0;){const t=l[--u];for(let r=0;r<2;++r){const p=i[2*t+r];if(-1===p||s[p]===e+1)continue;s[p]=e+1;const g=n[3*p],y=n[3*p+1],T=n[3*p+2];if(Math.abs(1-(f*g+h*y+m*T))<w){c[d++]=p,o[p]=1;for(let e=0;e<3;++e){const n=a[3*p+e];n!==t&&(l[u++]=n)}}}}if(d>1){let e=0,t=0,a=0,i=0;for(let o=0;o<d;++o){const s=c[o],l=r[s];e+=l,t+=n[3*s]*l,a+=n[3*s+1]*l,i+=n[3*s+2]*l}const o=Math.sqrt(t*t+a*a+i*i)||1;t/=o,a/=o,i/=o;for(let o=0;o<d;++o){const s=c[o];n[3*s]=t,n[3*s+1]=a,n[3*s+2]=i,r[s]=e}}}}(e,a,o,s,l,u),b(a,i,e,o,s,c,d)}(t,o,i,r);return A(o,s,a,l,u)}(e,t,n,a)}function A(e,t,n,r,a){const i=n/4,o=r/4,s=a.outputVertexCount,l=new Float32Array(s*o),u=new Uint32Array(l.buffer),c=i,d=new Uint32Array(e.buffer,e.byteOffset,e.length);return function(e,t,n,r,a,i,o){for(let s=0;s<i;++s){const i=s*a,l=s*t;for(let t=0;t<a;++t)e[l+t]=r[i+t];e[l+n]=o[s]}}(u,o,c,d,i,t,a.packedNormals),function(e,t,n,r,a,i,o,s,l){for(let u=i;u<o;++u){const o=s[u-i]*a,c=u*t;for(let t=0;t<a;++t)e[c+t]=r[o+t];e[c+n]=l[u]}}(u,o,c,d,i,t,s,a.appendedVertexToOriginal,a.packedNormals),new T(l.buffer,a.indices)}function b(e,t,n,r,a,i,o){const s=3*e,l=new(s<256?Uint8Array:s<65536?Uint16Array:Uint32Array)(n);let u=t;const c=new(t<256?Uint8Array:t<65536?Uint16Array:Uint32Array)(s-t),d=new ArrayBuffer(4*s),f=new Int16Array(d),h=new Uint32Array(d);let m=0,p=0;const g=new Uint32Array(e);let y=0;const T=1-_;for(let e=0;e<t;++e){m=o[2*e+1],p=m+o[2*e];let n=e;for(;m<p;){{const e=i[--p],t=3*e,o=r[t],s=r[t+1],l=r[t+2];y=0,g[y++]=e;let u=m;for(;u<p;){const e=i[u],t=3*e;if(o*r[t]+s*r[t+1]+l*r[t+2]>T){g[y++]=e;const t=--p;if(u<t){i[u]=i[t];continue}}++u}let c=0,d=0,h=0;if(1===y)c=o,d=s,h=l;else{for(let e=0;e<y;++e){const t=g[e],n=a[t],i=3*t;c+=r[i]*n,d+=r[i+1]*n,h+=r[i+2]*n}const e=Math.sqrt(c*c+d*d+h*h)||1;c/=e,d/=e,h/=e}{const e=1/(Math.abs(c)+Math.abs(d)+Math.abs(h)),t=c*e,r=d*e;let a=t,i=r;h<=0&&(a=(t>=0?1:-1)*(1-Math.abs(r)),i=(r>=0?1:-1)*(1-Math.abs(t)));const o=2*n,s=Math.round(32767*a),l=Math.round(32767*i);f[o]=s<-32767?-32767:s>32767?32767:s,f[o+1]=l<-32767?-32767:l>32767?32767:l}}if(n!==e)for(let t=0;t<y;++t){const r=3*g[t];l[r]===e&&(l[r]=n),l[r+1]===e&&(l[r+1]=n),l[r+2]===e&&(l[r+2]=n)}if(m>=p)break;n=u++,c[n-t]=e}}return new S(l,h,c,u,u-t)}const w=.04,_=.8;var R=n(98697);async function v(e){O=await Z();const t=[e.geometryBuffer];return{result:L(O,e,t),transferList:t}}async function C(e){O=await Z();const t=[e.geometryBuffer],{geometryBuffer:n}=e,r=n.byteLength,a=O._malloc(r),i=new Uint8Array(O.HEAPU8.buffer,a,r);i.set(new Uint8Array(n));const o=O.dracoDecompressPointCloudData(a,i.byteLength);if(O._free(a),o.error.length>0)throw new Error(`i3s.wasm: ${o.error}`);const s=o.featureIds?.length>0?o.featureIds.slice():null,l=o.positions.slice();return s&&t.push(s.buffer),t.push(l.buffer),{result:{positions:l,featureIds:s},transferList:t}}async function E(e){await Z(),j(e);const t={buffer:e.buffer};return{result:t,transferList:[t.buffer]}}async function I(e){await Z(),U(e)}async function N(e){O=await Z(),O.setLegacySchema(e.context,e.jsonSchema)}async function x(e){const{localMatrix:t,origin:r,positions:a,vertexSpace:i}=e,c=o.A.fromJSON(e.inSpatialReference),d=o.A.fromJSON(e.outSpatialReference),f=t?(0,s.Vj)(t):void 0,h=(0,s.cj)(r);let m;const[{projectBuffer:p},{initializeProjection:g}]=await Promise.all([Promise.resolve().then(n.bind(n,9762)),Promise.resolve().then(n.bind(n,91218))]);await g(c,d);const y=[0,0,0];if(!p(h,c,0,y,d,0))throw new Error("Failed to project");if("georeferenced"===i.type&&null==i.origin){if(m=new Float64Array(a.length),!p(a,c,0,m,d,0,m.length/3))throw new Error("Failed to project")}else{const e="georeferenced"===i.type?l.A.fromJSON(i):u.default.fromJSON(i),{projectMeshVertexPositions:t}=await Promise.all([n.e(6860),n.e(4406)]).then(n.bind(n,74594)),r=t({vertexAttributes:{position:a},transform:f?{localMatrix:f}:void 0,vertexSpace:e,spatialReference:c},d);if(!r)throw new Error("Failed to project");m=r}const T=m.length,[S,M,A]=y;for(let e=0;e<T;e+=3)m[e]-=S,m[e+1]-=M,m[e+2]-=A;return{result:{projected:m,original:a,projectedOrigin:y},transferList:[m.buffer,a.buffer]}}async function k({normalMatrix:e,normals:t}){const n=new Float32Array(t.length);return(0,c.b)(n,t,e),(0,r.or)(e)&&(0,c.n)(n,n),{result:{transformed:n,original:t},transferList:[n.buffer,t.buffer]}}function P(e){D(e)}let G,O;function U(e){if(!O)return;const t=e.modifications,n=O._malloc(8*t.length),r=new Float64Array(O.HEAPU8.buffer,n,t.length);for(let e=0;e<t.length;++e)r[e]=t[e];O.setModifications(e.context,n,t.length,e.isGeodetic),O._free(n)}function L(e,t,n){const{context:r,globalTrafo:o,mbs:s,obbData:l,layouts:u,needNormals:c,computeNormals:d,elevationOffset:f,geometryBuffer:h,geometryDescriptor:m,indexToVertexProjector:p,vertexToRenderProjector:g,normalReferenceFrame:y}=t,T=e._malloc(h.byteLength),S=e._malloc(33*Float64Array.BYTES_PER_ELEMENT),A=new Uint8Array(e.HEAPU8.buffer,T,h.byteLength);A.set(new Uint8Array(h));const b=new Float64Array(e.HEAPU8.buffer,S,33);F(b,[NaN,NaN,NaN],0);let w=3;F(b,o,w),w+=16,F(b,s.center,w),w+=3,b[w++]=s.radius,l&&F(b,l,w++);const _={isDraco:!1,isLegacy:!1,color:u.some(e=>e.some(e=>"color"===e.name)),normal:c&&u.some(e=>e.some(e=>"normalCompressed"===e.name)),uv0:u.some(e=>e.some(e=>"uv0"===e.name)),uvRegion:u.some(e=>e.some(e=>"uvRegion"===e.name)),featureIndex:m.featureIndex},v=e.process(r,!!l,T,A.byteLength,m,_,S,f,p,g,y);if(e._free(S),e._free(T),v.error.length>0)throw new Error(`i3s.wasm: ${v.error}`);if(v.discarded)return null;const C=v.componentOffsets.length>0?v.componentOffsets.slice():null,E=v.featureIds.length>0?v.featureIds.slice():null,I=v.anchorIds.length>0?Array.from(v.anchorIds):null,N=v.anchors.length>0?Array.from(v.anchors):null,x=1===v.indicesType?new Uint16Array(v.indices.buffer,v.indices.byteOffset,v.indices.byteLength/2).slice():new Uint32Array(v.indices.buffer,v.indices.byteOffset,v.indices.byteLength/4).slice(),k=u[0].slice(),P=(0,a.z0)((0,i.vt)(),o),G=M(v.interleavedVertedData,x,k,d&&!_.normal,P),O=v.positions.slice(),{buffer:U,byteOffset:L,byteLength:B}=v.positionIndices,j=1===v.positionIndicesType?new Uint16Array(U,L,B/2).slice():new Uint32Array(U,L,B/4).slice(),D=new R._b(k,G.data,G.indices,v.hasColors,v.hasModifications,{data:O,indices:j});return E&&n.push(E.buffer),C&&n.push(C.buffer),n.push(G.data),n.push(G.indices.buffer),n.push(O.buffer),n.push(j.buffer),new R.sQ(C,E,I,N,D,o,v.obb)}function B(e){return 0===e?0:1===e?1:2===e?2:3}function j(e){if(!O)return;const{context:t,buffer:n}=e,r=O._malloc(n.byteLength),a=n.byteLength/Float64Array.BYTES_PER_ELEMENT,i=new Float64Array(O.HEAPU8.buffer,r,a),o=new Float64Array(n);i.set(o),O.filterOBBs(t,r,a),o.set(i),O._free(r)}function D(e){0===O?.destroy(e)&&(O=null,G=null,f=null)}function F(e,t,n){for(let r=0;r<t.length;++r)e[r+n]=t[r]}async function z(){O||await Z()}async function Z(){return O||(O=await(G??=(f??=(async()=>{const e=await n.e(2980).then(n.bind(n,82980));return await e.default({locateFile:e=>(0,d.s)(`esri/libs/i3s/${e}`)})})(),f))),O}const H={transform:(e,t)=>O&&L(O,e,t),destroy:D}},98697(e,t,n){n.d(t,{H1:()=>m,Ir:()=>h,_b:()=>u,sQ:()=>c});var r=n(53966),a=n(15142),i=n(51850),o=n(35982),s=n(91218),l=n(27993);class u{constructor(e,t,n,r,a,i){this.layout=e,this.interleavedVertexData=t,this.indices=n,this.hasColors=r,this.hasModifications=a,this.positionData=i}}class c{constructor(e,t,n,r,a,i,o){this.componentOffsets=e,this.featureIds=t,this.anchorIds=n,this.anchors=r,this.transformedGeometry=a,this.globalTrafo=i,this.obb=o}}o.B;const d=new a.A({deallocator:null}),f=(0,i.vt)();function h(e,t,n){d.clear();let a=1/0,i=1/0,o=-1/0,u=-1/0,c=!1;for(const e of t){const t="clip"===e.type?2:"mask"===e.type?1:0,h=e.geometry;let m=e=>e;if(h.spatialReference){if(!(0,s.canProjectWithoutEngine)(h.spatialReference,n)){r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-projection-failed","Can't project modification polygon into layer spatial reference, ignoring modification",{polygon:h});continue}m=e=>((0,l.F)(e,h.spatialReference,f,n),f)}c=c||1===t;const p=h.rings.length,g=h.rings.some(e=>e.length<3);if(0===p||g)r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-invalid-polygon","Ignoring invalid modification polygon (no rings or rings with less than 3 vertices).",{polygon:h});else{d.push(t),d.push(p);for(const e of h.rings){d.push(e.length);for(const t of e){const e=m(t);d.push(e[0]),d.push(e[1]),d.push(e[2]??0),a=Math.min(a,e[0]),i=Math.min(i,e[1]),o=Math.max(o,e[0]),u=Math.max(u,e[1])}}}}if(null!=e)if(c){const t=1e-4;d.push(2),d.push(2),d.push(4),d.push(a-t),d.push(i-t),d.push(0),d.push(o+t),d.push(i-t),d.push(0),d.push(o+t),d.push(u+t),d.push(0),d.push(a-t),d.push(u+t),d.push(0),d.push(4),d.push(e[0]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[3]),d.push(0),d.push(e[0]),d.push(e[3]),d.push(0)}else d.push(1),d.push(1),d.push(4),d.push(e[0]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[3]),d.push(0),d.push(e[0]),d.push(e[3]),d.push(0);d.push(3);const h=new Float64Array(d.length);for(let e=0;e<d.length;++e)h[e]=d.at(e);return h}function m(e,t){let n=0;for(const r of t){const t=r.geometry,a=t.rings.length,i=t.rings.some(e=>e.length<3);if(0!==a&&!i){n+=1,n+=1;for(let r=0;r<t.rings.length;++r){const a=t.rings[r];n+=1;for(let i=0;i<a.length;++i){const a=[e[n+0],e[n+1],e[n+2]];n+=3,t.setPoint(r,i,a)}}}}}},10614(e,t,n){n.d(t,{Tz:()=>o,aT:()=>i});var r=n(34727),a=n(35522);function i(e,t,n,r,a,i=2,o=0){const l=1/(Math.abs(n)+Math.abs(r)+Math.abs(a)),u=n*l,c=r*l,d=a<=0?(u>=0?1:-1)*(1-Math.abs(c)):u,f=a<=0?(c>=0?1:-1)*(1-Math.abs(u)):c,h=t*i+o;e[h]=s(d),e[h+1]=s(f)}function o(e,t,n,r=2,i=0){const o=n*r+i,s=l(t[o]),u=l(t[o+1]),c=1-Math.abs(s)-Math.abs(u);return e[2]=c,c<0?(e[0]=(s>=0?1:-1)*(1-Math.abs(u)),e[1]=(u>=0?1:-1)*(1-Math.abs(s))):(e[0]=s,e[1]=u),(0,a.S8)(e,e)}function s(e){return(0,r.qE)(Math.round(32767*e),-32767,32767)}function l(e){return(0,r.qE)(e/32767,-1,1)}n(51850)},74038(e,t,n){n.d(t,{_:()=>r});class r{constructor(e,t,n,r,a,i=!1,o=0,s=!1){this.name=e,this.count=t,this.type=n,this.offset=r,this.stride=a,this.normalized=i,this.divisor=o,this.integer=s}}},63907(e,t,n){n.d(t,{$0:()=>f,C5:()=>d,CQ:()=>T,H0:()=>i,SB:()=>l,WR:()=>r,XN:()=>o,iE:()=>s,ld:()=>u,nI:()=>p,pe:()=>a,r6:()=>h,uH:()=>y,vt:()=>c,xL:()=>g,yI:()=>m});const r={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},a={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},i={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},o=Object.values(i),s={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},l={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},u={FLOAT:a.FLOAT,UNSIGNED_BYTE:a.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:a.BYTE,UNSIGNED_SHORT:a.UNSIGNED_SHORT,SHORT:a.SHORT,UNSIGNED_INT:a.UNSIGNED_INT,INT:a.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269},c={Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12},d=1029,f=0,h=36064,m=36065,p=33306,g=36096,y=36128,T={COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3586],{73354(e,t,n){n.d(t,{a:()=>f,b:()=>l,c:()=>s,d:()=>i,e:()=>h,f:()=>d,l:()=>c,n:()=>m,t:()=>o});var r=n(40876),a=(n(44208),n(72727));function i(e,t,n){o(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)}function o(e,t,n,r=3,i=r){const o=(0,a.k)(e.length,r,3),s=(0,a.k)(t.length,i,3),l=Math.min(o,s),u=n[0],c=n[1],d=n[2],f=n[4],h=n[5],m=n[6],p=n[8],g=n[9],y=n[10],T=n[12],S=n[13],M=n[14];let A=0,b=0;for(let n=0;n<l;n++){const n=t[A],a=t[A+1],o=t[A+2];e[b]=u*n+f*a+p*o+T,e[b+1]=c*n+h*a+g*o+S,e[b+2]=d*n+m*a+y*o+M,A+=i,b+=r}return e}function s(e,t,n){l(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)}function l(e,t,n,r=3,i=r){const o=(0,a.k)(e.length,r,3),s=(0,a.k)(t.length,i,3),l=Math.min(o,s),u=n[0],c=n[1],d=n[2],f=n[3],h=n[4],m=n[5],p=n[6],g=n[7],y=n[8];let T=0,S=0;for(let n=0;n<l;n++){const n=t[T],a=t[T+1],o=t[T+2];e[S]=u*n+f*a+p*o,e[S+1]=c*n+h*a+g*o,e[S+2]=d*n+m*a+y*o,T+=i,S+=r}}function u(e,t,n,r=3,a=r){const i=Math.min(e.length/r,t.length/a);let o=0,s=0;for(let l=0;l<i;l++)e[s]=n*t[o],e[s+1]=n*t[o+1],e[s+2]=n*t[o+2],o+=a,s+=r;return e}function c(e,t,n,r){d(e.typedBuffer,t.typedBuffer,n,r,e.typedBufferStride,t.typedBufferStride)}function d(e,t,n,a,i=3,o=i){const s=Math.min(e.length/i,t.length/o);let l=0,u=0;const c=1/r.Tf;for(let r=0;r<s;r++)e[u]=a*(n*t[l])**c,e[u+1]=a*(n*t[l+1])**c,e[u+2]=a*(n*t[l+2])**c,l+=o,u+=i}function f(e,t,n,r=3,i=r){const o=(0,a.k)(e.length,r,3),s=(0,a.k)(t.length,i,3),l=Math.min(o,s);let u=0,c=0;for(let a=0;a<l;a++)e[c]=t[u]+n[0],e[c+1]=t[u+1]+n[1],e[c+2]=t[u+2]+n[2],u+=i,c+=r;return e}function h(e,t){m(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)}function m(e,t,n=3,r=n){const a=Math.min(e.length/n,t.length/r);let i=0,o=0;for(let s=0;s<a;s++){const a=t[i],s=t[i+1],l=t[i+2],u=a*a+s*s+l*l;if(u>0){const t=1/Math.sqrt(u);e[o]=t*a,e[o+1]=t*s,e[o+2]=t*l}i+=r,o+=n}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:d,linearToSRGBView:c,normalize:m,normalizeView:h,scale:u,scaleView:function(e,t,n){u(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)},shiftRight:function(e,t,n){const r=Math.min(e.count,t.count),a=e.typedBuffer,i=e.typedBufferStride,o=t.typedBuffer,s=t.typedBufferStride;let l=0,u=0;for(let e=0;e<r;e++)a[u]=o[l]>>n,a[u+1]=o[l+1]>>n,a[u+2]=o[l+2]>>n,l+=s,u+=i},transformMat3:l,transformMat3View:s,transformMat4:o,transformMat4View:i,translate:f},Symbol.toStringTag,{value:"Module"}))},40876(e,t,n){n.d(t,{Eq:()=>h,G1:()=>p,TS:()=>i,Tf:()=>T,V6:()=>a,Vm:()=>m,ay:()=>l,c1:()=>g,c4:()=>o,j5:()=>u,lT:()=>d,oW:()=>c,xV:()=>M});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function a(e){return!!r[e]||!!r[e.toLowerCase()]}function i(e){return r[e]??r[e.toLowerCase()]}function o(e){return[...i(e)]}function s(e,t,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?e+(t-e)*r:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function l(e,t,n,r=1){const a=(e%360+360)%360/360,i=n<=.5?n*(t+1):n+t-n*t,o=2*n-i;return[Math.round(255*s(o,i,a+1/3)),Math.round(255*s(o,i,a)),Math.round(255*s(o,i,a-1/3)),r]}function u(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,a=t?1:17,i=t?9===e.length:5===e.length;let o=Number("0x"+e.slice(1));if(isNaN(o))return null;const s=[0,0,0,1];let l;return i&&(l=o&r,o>>=n,s[3]=a*l/255),l=o&r,o>>=n,s[2]=a*l,l=o&r,o>>=n,s[1]=a*l,l=o&r,o>>=n,s[0]=a*l,s}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),a=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,r+16*r,(a+16*a)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function d(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),f(t)}return f(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function f(e){return e[0]=g(e[0]),e[1]=g(e[1]),e[2]=g(e[2]),e[3]=4===e.length?p(e[3]):1,e}function h(e){let t=a(e)?i(e):null;return t??=d(e),t??=c(e),t}function m(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function p(e){return y(e,0,1)}function g(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const T=2.2,S=1/T;function M(e){return e**S}},69540(e,t,n){n.d(t,{OU:()=>c,Pw:()=>d});var r=n(5482),a=n(69622),i=(n(44208),n(4718)),o=(n(53966),n(97768)),s=n(88620),l=n(64108);const u=Symbol("ClonableMixin"),c=e=>{var t;const n=e;let a=class extends n{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,s.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const n=t.metadata,r=t.store,a={},l=new Map;for(const t in n){const o=n[t],s=r?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==s&&0!==s&&5!==s&&4!==s)continue;const c=this[t];let d=null;if("function"==typeof u)d=u(c,e);else if("reference"===u)d=c;else if(d=(0,i.TU)(c,e),null!=c&&null==d)continue;0===s?l.set(t,d):a[t]=d}const u=new(0,Object.getPrototypeOf(this).constructor)(a);if(l.size){const e=(0,s.oY)(u)?.store;if(e)for(const[t,n]of l)e.set(t,n,0)}return u}};return a=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],a),a},d=c(a.A)},95488(e,t,n){n.d(t,{I:()=>a});var r=n(11406);class a extends r.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function a(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>a,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:a,create:r,fromValues:function(e,t,n,r,a,i,o,s,l,u,c,d,f,h,m,p){return[e,t,n,r,a,i,o,s,l,u,c,d,f,h,m,p]}},Symbol.toStringTag,{value:"Module"}))},51850(e,t,n){function r(){return[0,0,0]}function a(e){return[e[0],e[1],e[2]]}function i(e,t,n){return[e,t,n]}function o(e,t,n){return[e,t,n]}function s(e,t=[0,0,0]){const n=Math.min(3,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function l(){return[0,0,0]}function u(){return i(1,1,1)}function c(){return i(1,0,0)}function d(){return i(0,1,0)}function f(){return i(0,0,1)}n.d(t,{CN:()=>o,Cb:()=>y,Cw:()=>p,JP:()=>g,S:()=>u,Ul:()=>l,Un:()=>m,ci:()=>s,fA:()=>i,o8:()=>a,uY:()=>h,vt:()=>r});const h=[0,0,0],m=u(),p=c(),g=d(),y=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:p,UNIT_Y:g,UNIT_Z:y,ZEROS:h,clone:a,create:r,freeze:o,fromArray:s,fromValues:i,ones:u,unitX:c,unitY:d,unitZ:f,zeros:l},Symbol.toStringTag,{value:"Module"}))},34304(e,t,n){n.d(t,{DF:()=>l,FD:()=>a,Ov:()=>i,ct:()=>u});let r=1e-6;function a(){return r}const i=Math.random,o=Math.PI/180,s=180/Math.PI;function l(e){return e*o}function u(e){return e*s}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:i,equals:function(e,t){return Math.abs(e-t)<=r*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:a,setEpsilon:function(e){r=e},toDegree:u,toRadian:l},Symbol.toStringTag,{value:"Module"}))},35522(e,t,n){n.d(t,{$A:()=>R,Bw:()=>i,C:()=>o,Cc:()=>v,DI:()=>b,Il:()=>z,Io:()=>T,Ln:()=>y,Om:()=>_,Qr:()=>d,Re:()=>u,S8:()=>w,T9:()=>p,WQ:()=>l,Z0:()=>C,_S:()=>h,aI:()=>O,ei:()=>E,fw:()=>N,g7:()=>x,gL:()=>I,hG:()=>S,hZ:()=>s,hs:()=>g,jb:()=>L,jk:()=>m,lo:()=>F,lw:()=>c,m3:()=>M,oW:()=>U,t2:()=>P,tn:()=>f,uE:()=>Z,xg:()=>D,ze:()=>A});var r=n(51850),a=n(34304);function i(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function s(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function l(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function d(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function f(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function h(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function m(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function p(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function g(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function y(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function T(e,t){const n=t[0]-e[0],r=t[1]-e[1],a=t[2]-e[2];return Math.sqrt(n*n+r*r+a*a)}function S(e,t){const n=t[0]-e[0],r=t[1]-e[1],a=t[2]-e[2];return n*n+r*r+a*a}function M(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function A(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function b(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function w(e,t){const n=t[0],r=t[1],a=t[2];let i=n*n+r*r+a*a;return i>0&&(i=1/Math.sqrt(i),e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i),e}function _(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function R(e,t,n){const r=t[0],a=t[1],i=t[2],o=n[0],s=n[1],l=n[2];return e[0]=a*l-i*s,e[1]=i*o-r*l,e[2]=r*s-a*o,e}function v(e,t,n,r){const a=t[0],i=t[1],o=t[2];return e[0]=a+r*(n[0]-a),e[1]=i+r*(n[1]-i),e[2]=o+r*(n[2]-o),e}function C(e,t,n){const r=t[0],a=t[1],i=t[2];return e[0]=n[0]*r+n[4]*a+n[8]*i+n[12],e[1]=n[1]*r+n[5]*a+n[9]*i+n[13],e[2]=n[2]*r+n[6]*a+n[10]*i+n[14],e}function E(e,t,n){const r=t[0],a=t[1],i=t[2];return e[0]=r*n[0]+a*n[3]+i*n[6],e[1]=r*n[1]+a*n[4]+i*n[7],e[2]=r*n[2]+a*n[5]+i*n[8],e}function I(e,t,n){return N(e,t,n[0],n[1],n[2],n[3])}function N(e,t,n,r,a,i){const o=t[0],s=t[1],l=t[2],u=r*l-a*s,c=a*o-n*l,d=n*s-r*o,f=r*d-a*c,h=a*u-n*d,m=n*c-r*u,p=2*i;return e[0]=o+u*p+2*f,e[1]=s+c*p+2*h,e[2]=l+d*p+2*m,e}function x(e,t){w(k,e),w(G,t);const n=_(k,G);return n>1?0:n<-1?Math.PI:Math.acos(n)}const k=(0,r.vt)(),G=(0,r.vt)();function P(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function O(e,t){if(e===t)return!0;const n=e[0],r=e[1],i=e[2],o=t[0],s=t[1],l=t[2],u=(0,a.FD)();return Math.abs(n-o)<=u*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-s)<=u*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(i-l)<=u*Math.max(1,Math.abs(i),Math.abs(l))}function U(e,t,n){const r=n[0]-t[0],a=n[1]-t[1],i=n[2]-t[2];let o=r*r+a*a+i*i;return o>0?(o=1/Math.sqrt(o),e[0]=r*o,e[1]=a*o,e[2]=i*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const L=u,B=c,j=d,D=T,F=S,z=i,Z=M;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:l,angle:x,bezier:function(e,t,n,r,a,i){const o=1-i,s=o*o,l=i*i,u=s*o,c=3*i*s,d=3*l*o,f=l*i;return e[0]=t[0]*u+n[0]*c+r[0]*d+a[0]*f,e[1]=t[1]*u+n[1]*c+r[1]*d+a[1]*f,e[2]=t[2]*u+n[2]*c+r[2]*d+a[2]*f,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:o,cross:R,crossAndNormalize:function(e,t,n){const r=t[0],a=t[1],i=t[2],o=n[0],s=n[1],l=n[2],u=a*l-i*s,c=i*o-r*l,d=r*s-a*o,f=Math.sqrt(u*u+c*c+d*d);return e[0]=u/f,e[1]=c/f,e[2]=d/f,e},direction:U,dist:D,distance:T,div:j,divide:d,dot:_,equals:O,exactEquals:P,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,n,r,a,i){const o=i*i,s=o*(2*i-3)+1,l=o*(i-2)+i,u=o*(i-1),c=o*(3-2*i);return e[0]=t[0]*s+n[0]*l+r[0]*u+a[0]*c,e[1]=t[1]*s+n[1]*l+r[1]*u+a[1]*c,e[2]=t[2]*s+n[2]*l+r[2]*u+a[2]*c,e},inverse:b,len:z,length:i,lerp:v,max:p,min:m,mul:B,multiply:c,negate:A,normalize:w,random:function(e,t=1){const n=a.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*t;return e[0]=Math.cos(r)*o,e[1]=Math.sin(r)*o,e[2]=i*t,e},rotateX:function(e,t,n,r){const a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[0],i[1]=a[1]*Math.cos(r)-a[2]*Math.sin(r),i[2]=a[1]*Math.sin(r)+a[2]*Math.cos(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateY:function(e,t,n,r){const a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[2]*Math.sin(r)+a[0]*Math.cos(r),i[1]=a[1],i[2]=a[2]*Math.cos(r)-a[0]*Math.sin(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateZ:function(e,t,n,r){const a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[0]*Math.cos(r)-a[1]*Math.sin(r),i[1]=a[0]*Math.sin(r)+a[1]*Math.cos(r),i[2]=a[2],e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:g,scaleAndAdd:y,set:s,sign:h,sqrDist:F,sqrLen:Z,squaredDistance:S,squaredLength:M,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:L,subtract:u,transformMat3:E,transformMat4:C,transformQuat:I,transformQuatValues:N},Symbol.toStringTag,{value:"Module"}))},3330(e,t,n){n.d(t,{GB:()=>a,Qo:()=>o,Y4:()=>i});var r=n(92647);class a{static{this.instance=r.mQ.parseSpecifier("UTC")}}function i(e){return e instanceof r.bo?e===a.instance:"unknown"===e?.toString().toLowerCase()}function o(e){return i(e)?a.instance:e}},83027(e,t,n){n.d(t,{h:()=>r});const r=n(29953).ho},35982(e,t,n){n.d(t,{B:()=>c});var r=n(4576),a=n(71511),i=n(36563),o=n(53966),s=n(97768),l=n(17676),u=n(83027);class c{constructor(e,t,n,r,a={}){this._mainMethod=t,this._transferLists=n,this._listeners=[],this._onClientConnectedHandle=null,this._destroyed=!1,this._promise=(0,u.h)(e,{...a,schedule:r}).then(e=>{null!=this._thread||this._destroyed?e.close():(this._thread=e,this._promise=null,this._onClientConnectedHandle=this._thread.onClientConnected(e=>{a.hasInitialize&&e.invoke("initialize",{});for(const t of this._listeners)this._connectListenerToClient(t,e);this._onClientConnected(e)}))}),this._promise.catch(t=>o.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${e} worker: ${t}`))}on(e,t){const n=new d(e,t);return this._listeners.push(n),this._connectListener(n),(0,i.hA)(()=>{(0,r.TF)(this._listeners,n),n.destroy()})}[Symbol.dispose](){this.destroy()}destroy(){this._onClientConnectedHandle=(0,s.xt)(this._onClientConnectedHandle),this._thread&&(this._thread.close(),this._thread=null),this._promise=null;for(const e of this._listeners)e.destroy();this._listeners.length=0,this._transferLists={},this._destroyed=!0}invoke(e,t,n){return this.invokeMethod(this._mainMethod,e,t,n)}invokeMethod(e,t,n,r){if(this._thread){const a=this._transferLists[e],i=a?a(t):[];return this._thread.invoke(e,t,{transferList:i,signal:n,jobPriority:r})}return this._promise?this._promise.then(()=>((0,l.Te)(n),this.invokeMethod(e,t,n))):Promise.reject((0,l.NK)())}broadcast(e,t){return this._thread?Promise.all(this._thread.broadcast(t,e)).then(f):this._promise?this._promise.then(()=>this.broadcast(e,t)):Promise.reject((0,l.NK)())}get promise(){return this._promise}_onClientConnected(e){}_connectListener(e){this._thread&&e.add(this._thread.on(e.eventName,e.callback))}_connectListenerToClient(e,t){e.add(t.on(e.eventName,e.callback))}}class d{constructor(e,t){this.eventName=e,this.callback=t,this._handles=new a.A}add(e){this._handles.add(e)}destroy(){this._handles.destroy()}}function f(){}},91075(e,t,n){n.d(t,{A:()=>l});var r=n(5482),a=n(25482),i=n(91429),o=n(16930),s=n(36005);let l=class extends a.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=o.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof o.A)return e;if(null!=e){const n=new o.A;return n.read(e,t),n}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,r.Cg)([(0,i.MZ)()],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasM",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasZ",void 0),(0,r.Cg)([(0,i.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],l.prototype,"spatialReference",void 0),(0,r.Cg)([(0,s.w)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,r.Cg)([(0,i.$K)("esri.geometry.Geometry")],l)},86738(e,t,n){n.d(t,{A:()=>S});var r=n(5482),a=n(69622),i=n(53966),o=n(91429),s=n(56507),l=n(91075),u=n(16930),c=n(21325),d=n(28735);function f({x:e,y:t,spatialReference:n},r=[0,0]){if(n){if((0,c.K8)(n))return(0,d.tD)(e,t,r);if((0,c.EA)(n))return r[0]=e,r[1]=t,r}return null}const h=[0,0];var m,p=n(43937),g=n(36005);const y=[0,0];function T(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let S=m=class extends l.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const n=e._get("spatialReference");t._set("spatialReference",a.A.isFrozen(n)?n:n.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,n,r,a){let o;if(Array.isArray(e))o=e,a=t,e=o[0],t=o[1],n=o[2],r=o[3];else if(e&&"object"==typeof e){if(o=e,e=null!=o.x?o.x:o.longitude,t=null!=o.y?o.y:o.latitude,n=o.z,r=o.m,(a=o.spatialReference)&&"esri.geometry.SpatialReference"!==a.declaredClass&&(a=new u.A(a)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)i.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)i.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&a?.isWebMercator){const n=(0,d.je)(o.longitude,o.latitude,y);e=n[0],t=n[1]}}else T(n)?(a=n,n=null):T(r)&&(a=r,r=null);const s={x:e,y:t};return null==s.x&&null!=s.y?i.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==s.y&&null!=s.x&&i.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=a&&(s.spatialReference=a),null!=n&&(s.z=n),null!=r&&(s.m=r),s}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return f(this,h)?.[1]??null}set latitude(e){const{spatialReference:t,x:n}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,d.je)(n,e,y)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return f(this,h)?.[0]??null}set longitude(e){const{y:t,spatialReference:n}=this;null!=e&&n&&(n.isWebMercator?this._set("x",(0,d.je)(e,t,y)[0]):n.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,n){t[n]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new m;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return m.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:n,z:r,m:a,spatialReference:i}=this,{z:o,m:s}=e;let{x:l,y:u,spatialReference:c}=e;if(!i.equals(c))if(i.isWebMercator&&c.isWGS84)[l,u]=(0,d.je)(l,u),c=i;else{if(!i.isWGS84||!c.isWebMercator)return!1;[l,u]=(0,d.tD)(l,u),c=i}return t===l&&n===u&&r===o&&a===s&&i.wkid===c.wkid}offset(e,t,n){return this.x+=e,this.y+=t,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const e=(0,c.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[n,r]=e.valid,a=2*r;let i;return t>r?(i=Math.ceil(Math.abs(t-r)/a),t-=i*a):t<n&&(i=Math.ceil(Math.abs(t-n)/a),t+=i*a),this._set("x",t),this}distance(e){return function(e,t){const n=e.x-t.x,r=e.y-t.y,a=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(n*n+r*r+a*a)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],S.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],S.prototype,"hasM",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],S.prototype,"hasZ",null),(0,r.Cg)([(0,o.MZ)({type:Number})],S.prototype,"latitude",null),(0,r.Cg)([(0,o.MZ)({type:Number})],S.prototype,"longitude",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,o.wg)(e=>isNaN(e)?e:(0,s.GB)(e))],S.prototype,"x",void 0),(0,r.Cg)([(0,p.K)("x")],S.prototype,"writeX",null),(0,r.Cg)([(0,g.w)("x")],S.prototype,"readX",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],S.prototype,"y",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],S.prototype,"z",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],S.prototype,"m",void 0),S=m=(0,r.Cg)([(0,o.$K)("esri.geometry.Point")],S),S.prototype.toJSON.isDefaultToJSON=!0},21276(e,t,n){n.d(t,{H:()=>i,f:()=>a});var r=n(49186);function a(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new r.A("internal:mesh","Mesh geometries are not supported for this operation")}function i(e){e.forEach(a)}},159(e,t,n){n.d(t,{A:()=>u});var r,a=n(5482),i=n(69540),o=n(25482),s=n(91429),l=n(99157);let u=r=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,a.Cg)([(0,s.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,a.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>l});var r,a=n(5482),i=n(69540),o=n(25482),s=n(91429);let l=r=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,a.Cg)([(0,s.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],l.prototype,"isInverse",void 0),(0,a.Cg)([(0,s.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,a.Cg)([(0,s.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=r=(0,a.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>a});var r=n(49208);function a(e,t,n,a,i,o,s=Math.floor(e.length/3)){const l=(0,r.jd)(t,i);if(null==l)return!1;if(l===r.pO){if(e===a&&n===o)return!0;const t=n+3*s;for(let r=n,i=o;r<t;r++,i++)a[i]=e[r]??0;return!0}const u=n+3*s;for(let t=n,r=o;t<u;t+=3,r+=3)l(e,t,a,r);return!0}},65806(e,t,n){n.d(t,{g:()=>o});var r=n(51850),a=n(91218),i=n(9762);function o(e,t,n,r){if((0,a.canProjectWithoutEngine)(e.spatialReference,n))return s[0]=e.x,s[1]=e.y,s[2]=e.z??0,(0,i.projectBuffer)(s,e.spatialReference,0,t,n,0);const o=(0,a.tryProject)(e,n,r);return!!o&&(t[0]=o.x,t[1]=o.y,t[2]=o.z??0,!0)}const s=(0,r.vt)()},27993(e,t,n){n.d(t,{F:()=>s});var r=n(91218),a=n(16930),i=n(9762),o=n(65806);function s(e,t,n,a){return!(null==t||null==a||e.length<2)&&((0,r.canProjectWithoutEngine)(t,a)?(0,i.projectBuffer)(e,t,0,n,a,0,1):(l.x=e[0],l.y=e[1],l.z=e[2],l.spatialReference=t,(0,o.g)(l,n,a)))}const l={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:a.A.WGS84,type:"point"}},49208(e,t,n){n.d(t,{Tp:()=>d,jd:()=>c,pO:()=>h,w5:()=>u});var r=n(34727),a=n(86211),i=n(73941),o=n(79258),s=n(34403),l=n(21325);const u={2:{5:h,7:null,9:null,10:h,1:A,6:null,8:null,0:null,3:p,11:g,2:h,4:v},5:{5:h,7:null,9:null,10:h,1:A,6:null,8:null,0:null,3:p,11:g,2:h,4:v},7:{5:null,7:h,9:null,10:h,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:S,0:null,3:null,11:null,2:null,4:null},3:{5:m,7:null,9:null,10:m,1:function(e,t,n,r){const a=e[t]/k,i=x-2*Math.atan(Math.exp(-e[t+1]/k)),o=k+(e[t+2]??0),s=Math.cos(i)*o;n[r]=Math.cos(a)*s,n[r+1]=Math.sin(a)*s,n[r+2]=Math.sin(i)*o},6:null,8:null,0:null,3:h,11:function(e,t,n,r){m(e,t,n,r),g(n,r,n,r)},2:m,4:function(e,t,n,r){m(e,t,n,r),v(n,r,n,r)}},4:{5:C,7:null,9:null,10:C,1:function(e,t,n,r){C(e,t,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){C(e,t,n,r),p(n,r,n,r)},11:function(e,t,n,r){C(e,t,n,r),g(n,r,n,r)},2:C,4:h},1:{5:R,7:null,9:null,10:R,1:h,6:null,8:null,0:null,3:function(e,t,n,r){R(e,t,n,r),p(n,r,n,r)},11:function(e,t,n,r){R(e,t,n,r),g(n,r,n,r)},2:R,4:function(e,t,n,r){R(e,t,n,r),v(n,r,n,r)}},6:{5:null,7:_,9:null,10:_,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:w,10:w,1:null,6:null,8:h,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:A,6:M,8:S,0:null,3:p,11:g,2:h,4:v},11:{5:y,7:null,9:null,10:y,1:function(e,t,n,r){y(e,t,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){y(e,t,n,r),p(n,r,n,r)},11:h,2:y,4:function(e,t,n,r){y(e,t,n,r),v(n,r,n,r)}}};function c(e,t){return d(e,t)?.projector}function d(e,t){if(null==e||null==t)return null;if(E.source.spatialReference===e&&E.dest.spatialReference===t)return E;const n=f(e,E.source),r=f(t,E.dest);return 0===n&&0===r?(0,l.aI)(e,t)?E.projector=h:E.projector=null:E.projector=u[n][r],E}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,a.GA)(e,1)),(0,i.jA)(e)?t.spatialReferenceId=1:(0,l.oT)(e)?t.spatialReferenceId=2:(0,l.K8)(e)?t.spatialReferenceId=3:(0,l.r1)(e)?t.spatialReferenceId=11:e.wkt===i.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===i.FY.wkt?t.spatialReferenceId=6:e.wkt===i.LJ.wkt?t.spatialReferenceId=8:(0,i.q8)(e)?t.spatialReferenceId=7:(0,i.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function h(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function m(e,t,n,r){n[r]=N*(e[t]/k),n[r+1]=N*(x-2*Math.atan(Math.exp(-e[t+1]/k))),n[r+2]=e[t+2]??0}function p(e,t,n,a){!function(e,t,n,a,i){const o=.4999999*Math.PI,s=(0,r.qE)(I*e[t+1],-o,o),l=Math.sin(s);n[a++]=I*e[t]*i.radius,n[a++]=i.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[a]=e[t+2]??0}(e,t,n,a,o.$O)}function g(e,t,n,r){n[r]=e[t]*G,n[r+1]=e[t+1]*G,n[r+2]=e[t+2]??0}function y(e,t,n,r){n[r]=e[t]*P,n[r+1]=e[t+1]*P,n[r+2]=e[t+2]??0}function T(e,t,n,r,a){const i=a+(e[t+2]??0),o=I*e[t],s=I*e[t+1],l=Math.cos(s)*i;n[r]=Math.cos(o)*l,n[r+1]=Math.sin(o)*l,n[r+2]=Math.sin(s)*i}function S(e,t,n,r){T(e,t,n,r,o.Sw.radius)}function M(e,t,n,r){T(e,t,n,r,o.sH.radius)}function A(e,t,n,r){T(e,t,n,r,o.$O.radius)}function b(e,t,n,a,i){const o=e[t],s=e[t+1],l=e[t+2]??0,u=Math.sqrt(o*o+s*s+l*l),c=(0,r.YN)(l/(0===u?1:u)),d=Math.atan2(s,o);n[a++]=N*d,n[a++]=N*c,n[a]=u-i}function w(e,t,n,r){b(e,t,n,r,o.Sw.radius)}function _(e,t,n,r){b(e,t,n,r,o.sH.radius)}function R(e,t,n,r){b(e,t,n,r,o.$O.radius)}function v(e,t,n,r){!function(e,t,n,r,a){const i=I*e[t],o=I*e[t+1],s=e[t+2]??0,l=Math.sin(o),u=Math.cos(o),c=a.radius/Math.sqrt(1-a.eccentricitySquared*l*l);n[r++]=(c+s)*u*Math.cos(i),n[r++]=(c+s)*u*Math.sin(i),n[r++]=(c*(1-a.eccentricitySquared)+s)*l}(e,t,n,r,o.$O)}function C(e,t,n,r){const a=s.TP,i=e[t],l=e[t+1],u=e[t+2]??0;let c,d,f,h,m,p,g,y,T,S,M,A,b,w,_,R,v,C,E,I,x;c=Math.abs(u),d=i*i+l*l,f=Math.sqrt(d),h=d+u*u,m=Math.sqrt(h),I=Math.atan2(l,i),p=u*u/h,g=d/h,w=a.a2/m,_=a.a3-a.a4/m,g>.3?(y=c/m*(1+g*(a.a1+w+p*_)/m),E=Math.asin(y),S=y*y,T=Math.sqrt(1-S)):(T=f/m*(1-p*(a.a5-w-g*_)/m),E=Math.acos(T),S=1-T*T,y=Math.sqrt(S)),M=1-o.$O.eccentricitySquared*S,A=o.$O.radius/Math.sqrt(M),b=a.a6*A,w=f-A*T,_=c-b*y,v=T*w+y*_,R=T*_-y*w,C=R/(b/M+v),E+=C,x=v+R*C/2,u<0&&(E=-E),n[r++]=N*I,n[r++]=N*E,n[r]=x}const E={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},I=(0,r.kU)(1),N=(0,r.KJ)(1),x=.5*Math.PI,k=o.$O.radius,G=k*Math.PI/180,P=180/(k*Math.PI)},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>W,initializeProjection:()=>Y,isEqualBaseGCS:()=>$,isLoaded:()=>k,isLoadedOrLoad:()=>G,isLoadedOrLoadFor:()=>P,load:()=>U,project:()=>L,projectAsync:()=>q,projectExtent:()=>ae,projectMany:()=>B,projectMultipoint:()=>X,projectOrLoad:()=>D,projectOrLoadMany:()=>F,projectPoint:()=>K,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>V,requiresLoad:()=>O,test:()=>H,tryProject:()=>j,unload:()=>Z});var r=n(49186),a=n(17676),i=n(62788),o=n(95488),s=n(51850),l=n(21276),u=n(73941),c=n(5443),d=n(91075),f=n(48526),h=n(86738),m=n(39829),p=n(82799),g=n(16930),y=n(98764),T=n(159),S=n(9762),M=n(49208);function A(e,t,n,r,a,i){return b[0]=e,b[1]=t,b[2]=n,(0,S.projectBuffer)(b,r,0,a,i,0)}const b=(0,s.vt)();var w=n(60408),_=n(21325),R=n(52006);let v=null,C=null,E=null,I=null,N={};const x=new o.I;function k(){return!!(C?.isLoaded()&&E?.isLoaded()&&I?.isLoaded())}function G(){return!!k()||((0,i.gc)(x),U(),!1)}function P(e,t){return!e||!t||W(e,t)||G()}function O(e,t){return!W(e,t)&&!k()}async function U(e){null==v&&(v=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(C=e,C.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(E=e,E.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(I=e,I.load()))])),await v,(0,a.Te)(e),x.notify()}function L(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),B(e,e[0].spatialReference,t,n)):((0,l.f)(e),B([e],e.spatialReference,t,n)[0])}function B(e,t,n,r){if(null==t||null==n)return e;if(W(t,n,r))return e.map(e=>V(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return B(e.map(e=>V(e,t,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return B(e,t,g.A.WGS84).map(e=>V(e,g.A.WGS84,n));if(!k())throw new z;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:I.getTransformation(t,n,r.areaOfInterestExtent)||new T.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let a=N[e];a||(a=I.getTransformation(t,n)||new T.A,N[e]=a),r={geographicTransformation:a,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof d.A?C.executeMany(e,n,r):E.executeMany(e,n,r)}function j(e,t,n){try{return L(e,t,n)}catch(e){return null}}function D(e,t){const n=F([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function F(e,t,n){if(!k())for(const n of e)if(null!=n&&!(0,_.aI)(n.spatialReference,t)&&(0,_.fn)(n.spatialReference)&&(0,_.fn)(t)&&!W(n.spatialReference,t))return(0,i.gc)(x),{pending:U(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,_.aI)(e.spatialReference,t)?e:(0,_.fn)(e.spatialReference)&&(0,_.fn)(t)?L(e,t,n):null)}}class z extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function Z(){v=null,C=null,E=null,I=null,N={}}const H={get loadPromise(){return v}};async function q(e,t,n){if((0,a.Te)(n),!e)return e;const r=F(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,a.Te)(n),q(e,t,n);const i=r.geometries??[];return Array.isArray(e)?i:i[0]}function W(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,_.aI)(e,t)||(0,_.fn)(e)&&(0,_.fn)(t)&&!!(0,M.jd)(e,t))}function $(e,t){if((0,_.aI)(e,t))return!0;if(!(0,_.fn)(e)||!(0,_.fn)(t))return!1;const n=(0,_.oT)(e)||(0,_.K8)(e)||(0,_.x1)(e),r=(0,_.oT)(t)||(0,_.K8)(t)||(0,_.x1)(t);return n&&r}async function Y(e,t,n,r){if(k())return(0,a.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:a}of e)if(t&&n&&!W(t,n,a))return U(r)}else if(e&&t&&!W(e,t,n))return U(r);return(0,a.NO)(r)}function V(e,t,n){return e?(0,w.fT)(e)?J(e,t,new h.A,n,0):(0,w.ZC)(e)?ie(e,t,new c.A,n,0):(0,w.Bi)(e)?re(e,t,new m.A,n,0):(0,w.Rg)(e)?te(e,t,new p.A,n,0):(0,w.U9)(e)?Q(e,t,new f.A,n,0):null:null}function K(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=J(e,e.spatialReference,t,n,r)}function J(e,t,n,r,a){ue[0]=e.x,ue[1]=e.y;const i=e.z;return ue[2]=void 0!==i?i:a,(0,S.projectBuffer)(ue,t,0,ue,r,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=r,void 0!==i||(0,u.xP)(r)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function X(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=Q(e,e.spatialReference,t,n,r)}function Q(e,t,n,r,a){const{points:i,hasZ:o,hasM:s}=e,l=[],u=i.length,c=[];for(const e of i)c.push(e[0],e[1],o?e[2]:a);if(!(0,S.projectBuffer)(c,t,0,c,r,0,u))return null;const d=le(o,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];d&&s?l.push([n,r,c[t+2],i[e][3]]):d?l.push([n,r,c[t+2]]):s?l.push([n,r,i[e][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=o,n.hasM=s,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,a){const{curvePaths:i,paths:o,hasZ:s,hasM:l}=e;if(!(i?se(i,s??!1,l??!1,t,n.curvePaths=[],r,a):oe(o,s??!1,l??!1,t,n.paths,r,a)))return null;const u=le(s,r);return n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,a){const{curveRings:i,rings:o,hasZ:s,hasM:l}=e;return(i?se(i,s??!1,l??!1,t,n.curveRings=[],r,a):oe(o,s??!1,l??!1,t,n.rings,r,a))?(n.spatialReference=r,n.hasZ=le(s,r),n.hasM=l,n):null}function ae(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ie(e,e.spatialReference,t,n,r)}function ie(e,t,n,r,a){const{xmin:i,ymin:o,xmax:s,ymax:l,hasZ:u,hasM:c}=e;if(!A(i,o,u?e.zmin:a,t,ue,r))return null;const d=le(u,r);return n.xmin=ue[0],n.ymin=ue[1],d&&(n.zmin=ue[2]),A(s,l,u?e.zmax:a,t,ue,r)?(n.xmax=ue[0],n.ymax=ue[1],d&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function oe(e,t,n,r,a,i,o=0){const s=new Array;for(const n of e)for(const e of n)s.push(e[0],e[1],t?e[2]:o);if(!(0,S.projectBuffer)(s,r,0,s,i,0))return!1;let l=0;a.length=0;const u=t?3:2,c=le(t,i);for(const t of e){const e=new Array;for(const r of t){const t=s.slice(l,l+=3);c||t.pop(),n&&t.push(r[u]),e.push(t)}a.push(e)}return!0}function se(e,t,n,r,a,i,o=0){const s=new Array;for(const n of e)for(const e of n){if((0,R.FG)(e))return!1;if((0,R.aO)(e)){const[n,r]=e.c;s.push(n[0],n[1],t?n[2]:o,r[0],r[1],o);continue}if((0,R.n1)(e)){const[n,r,a]=e.b;s.push(n[0],n[1],t?n[2]:o,r[0],r[1],o,a[0],a[1],o);continue}const n=e;s.push(n[0],n[1],t?n[2]:o)}if(!(0,S.projectBuffer)(s,r,0,s,i,0))return!1;let l=0;a.length=0;const u=t?3:2,c=le(t,i);for(const t of e){const e=new Array;for(const r of t){const t=s.slice(l,l+=3);if(c||t.pop(),n&&t.push((0,R.yP)(r)[u]),(0,R.FG)(r))return!1;if((0,R.aO)(r)){const n=s[l++],r=s[l++];++l,e.push({c:[t,[n,r]]});continue}if((0,R.n1)(r)){const n=s[l++],r=s[l++];++l;const a=s[l++],i=s[l++];++l,e.push({b:[t,[n,r],[a,i]]});continue}e.push(t)}a.push(e)}return!0}function le(e,t){return e||(0,u.xP)(t)||(0,_.aI)(t,y.Y0)}const ue=(0,s.vt)()},98764(e,t,n){n.d(t,{GD:()=>o,Y0:()=>u,lO:()=>c});var r=n(73941),a=n(16930),i=n(21325);const o=new a.A(r.fv),s=new a.A(r.FY),l=new a.A(r.LJ),u=new a.A(r.Ro);function c(e){const t=d.get(e);if(t)return t;let n=o;if(e)if(e===s)n=s;else if(e===l)n=l;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,i.tl)(t)||(0,i.tl)(r)?n=s:((0,i.ZL)(t)||(0,i.ZL)(r))&&(n=l);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===f?n=s:e===h&&(n=l)}}}return d.set(e,n),n}const d=new Map,f=s.wkt.toUpperCase(),h=l.wkt.toUpperCase()},4197(e,t,n){n.d(t,{Vj:()=>l,cj:()=>s,jh:()=>i,l5:()=>o});var r=n(34275),a=n(9093);function i(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function o(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function s(e){return[...e]}function l(e){const t=(0,a.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},95696(e,t,n){n.d(t,{A:()=>u});var r,a=n(5482),i=n(69540),o=n(25482),s=n(91429),l=n(93223);let u=class extends((0,i.OU)(o.o)){static{r=this}constructor(e){super(e),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,a.Cg)([(0,l.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,a.Cg)([(0,s.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,a.Cg)([(0,s.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},18251(e,t,n){n.r(t),n.d(t,{default:()=>u});var r=n(5482),a=n(69540),i=n(25482),o=n(91429),s=n(51850),l=n(93223);let u=class extends((0,a.OU)(i.o)){constructor(e){super(e),this.type="local",this.origin=(0,s.vt)()}};(0,r.Cg)([(0,l.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,o.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},72727(e,t,n){function r(e,t,n){if(t<=0)return 0;const r=e-n;return r<0?0:Math.floor(r/t)+1}n.d(t,{k:()=>r}),n(53966)},34403(e,t,n){n.d(t,{TP:()=>o});var r=n(79258);Math.PI;const a=r.$O.radius,i=r.$O.eccentricitySquared,o={a1:a*i,a2:a*i*a*i,a3:a*i*i/2,a4:a*i*a*i*2.5,a5:a*i+a*i*i/2,a6:1-i};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},60408(e,t,n){function r(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function a(e){return void 0!==e.points}function i(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function s(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?i(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":s(e)?"esriGeometryPolygon":r(e)?"esriGeometryEnvelope":a(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>u,Bi:()=>s,Pv:()=>c,Rg:()=>o,U9:()=>a,W0:()=>d,ZC:()=>r,fT:()=>i,uW:()=>l})},28735(e,t,n){n.d(t,{Cv:()=>p,Gh:()=>T,ci:()=>S,je:()=>g,jg:()=>c,tD:()=>y,y7:()=>m});var r=n(4718),a=n(21276),i=n(16930),o=n(79258),s=n(21325);function l(e){return 57.29577951308232*e}function u(e){return.017453292519943*e}function c(e){return Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))}function d(e){return null!=e.wkid||null!=e.wkt}const f=[0,0];function h(e,t,n,r,a){const i=e,o=a;if(o.spatialReference=n,"x"in i&&"x"in o)[o.x,o.y]=t(i.x,i.y,f,r);else if("xmin"in i&&"xmin"in o)[o.xmin,o.ymin]=t(i.xmin,i.ymin,f,r),[o.xmax,o.ymax]=t(i.xmax,i.ymax,f,r);else if("paths"in i&&"paths"in o||"rings"in i&&"rings"in o){const e="paths"in i?i.paths:i.rings,n=[];let a;for(let i=0;i<e.length;i++){const o=e[i];a=[],n.push(a);for(let e=0;e<o.length;e++)a.push(t(o[e][0],o[e][1],[0,0],r)),o[e].length>2&&a[e].push(o[e][2]),o[e].length>3&&a[e].push(o[e][3])}"paths"in o?o.paths=n:o.rings=n}else if("points"in i&&"points"in o){const e=i.points,n=[];for(let a=0;a<e.length;a++)n[a]=t(e[a][0],e[a][1],[0,0],r),e[a].length>2&&n[a].push(e[a][2]),e[a].length>3&&n[a].push(e[a][3]);o.points=n}return a}function m(e,t){const n=e&&(d(e)?e:e.spatialReference),r=t&&(d(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!n||!r)&&(!!(0,s.aI)(r,n)||(0,s.K8)(r)&&(0,s.oT)(n)||(0,s.K8)(n)&&(0,s.oT)(r))}function p(e,t){if(null==e)return null;const n=e.spatialReference,a=t&&(d(t)?t:t.spatialReference);return m(n,a)?(0,s.aI)(n,a)?(0,r.o8)(e):(0,s.K8)(a)?h(e,g,i.A.WebMercator,!1,(0,r.o8)(e)):(0,s.oT)(a)?h(e,y,i.A.WGS84,!1,(0,r.o8)(e)):null:null}function g(e,t,n=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const r=u(t);return n[0]=u(e)*o.$O.radius,n[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(r))/(1-Math.sin(r))),n}function y(e,t,n=[0,0],r=!1){if(e===s.Mc[0])n[0]=-180;else if(e===s.Mc[1])n[0]=180;else{const t=l(e/o.$O.radius);n[0]=r?t:t-360*Math.floor((t+180)/360)}return n[1]=l(Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))),n}function T(e,t=!1,n=(0,r.o8)(e)){return(0,a.f)(e),(0,a.f)(n),h(e,g,i.A.WebMercator,t,n)}function S(e,t=!1,n=(0,r.o8)(e)){return(0,a.f)(e),(0,a.f)(n),h(e,y,i.A.WGS84,t,n)}},97770(e,t,n){n.d(t,{Ey:()=>k,F8:()=>x,J2:()=>C,Yq:()=>I,_m:()=>E,_v:()=>M,iS:()=>N,wj:()=>G});var r=n(66552),a=n(73444),i=n(98623),o=(n(56400),n(92647));const s={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},l={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},u={timeZone:i.n$},c={year:"numeric",month:"numeric",day:"numeric"},d={year:"numeric",month:"long",day:"numeric"},f={year:"numeric",month:"short",day:"numeric"},h={year:"numeric",month:"long",weekday:"long",day:"numeric"},m={hour:"numeric",minute:"numeric"},p={...m,second:"numeric"},g={hourCycle:"h23"},y={...m,...g},T={...p,...g},S={"short-date":c,"short-date-short-time":{...c,...m},"short-date-short-time-24":{...c,...y},"short-date-long-time":{...c,...p},"short-date-long-time-24":{...c,...T},"short-date-le":c,"short-date-le-short-time":{...c,...m},"short-date-le-short-time-24":{...c,...y},"short-date-le-long-time":{...c,...p},"short-date-le-long-time-24":{...c,...T},"long-month-day-year":d,"long-month-day-year-short-time":{...d,...m},"long-month-day-year-short-time-24":{...d,...y},"long-month-day-year-long-time":{...d,...p},"long-month-day-year-long-time-24":{...d,...T},"day-short-month-year":f,"day-short-month-year-short-time":{...f,...m},"day-short-month-year-short-time-24":{...f,...y},"day-short-month-year-long-time":{...f,...p},"day-short-month-year-long-time-24":{...f,...T},"long-date":h,"long-date-short-time":{...h,...m},"long-date-short-time-24":{...h,...y},"long-date-long-time":{...h,...p},"long-date-long-time-24":{...h,...T},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":m,"long-time":p},M=(0,r.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),A={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},b=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),w=b.find(({type:e})=>"month"===e)?.value.toLowerCase();function _(){const e=(0,a.lR)();return(e&&A[e])??(0,a.QC)()}"mart"!==w&&(A.bs="sr-Latn-CS");let R=new WeakMap;const v=S["short-date-short-time"];function C(e){return S[e]}function E(e){const{dateStyle:t,timeStyle:n,hour12:r,year:a,month:i}=e,o={};return t?o.dateStyle=t:a&&(o.year=a,o.month=i||void 0),n&&!o.year&&(o.timeStyle=n,o.hour12="auto"===r?void 0:"always"===r),o}function I(e,t=v){return function(e){let t=R.get(e);if(!t){const n=_(),r=G(e.timeZone??i.qU),a={...e,timeZone:r};t=new Intl.DateTimeFormat(n,a),R.set(e,t)}return t}(t).format(e)}function N(e,t=v){return I(new Date(e),{...t,...u,...l})}function x(e,t=v){return I(new Date(`1970-01-01T${e}Z`),{...t,...u,...s})}function k(e,t=v){const n=o.c9.fromISO(e,{setZone:!0});if(!n.isValid)return e;if(t.timeZone)return I(n.toJSDate(),t);const r=0===n.offset?i.n$:t.timeZone,a={...t,timeZone:r};return n.toLocaleString(a,{locale:_()})}function G(e){switch(e){case i.qU:return i.N5;case i.L5:return i.n$;default:return e}}(0,a.Ml)(()=>{R=new WeakMap})},73444(e,t,n){n.d(t,{JK:()=>l,Ml:()=>g,QC:()=>d,lR:()=>c,oQ:()=>m});var r=n(36563);let a;n(44208);const i=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function s(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return i??e??t??"en"}function l(){return void 0===a&&(a=s()),a}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=l()){return f(e)?.language}function d(e=l()){const t=f(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function f(e=l()){return u.exec(e)?.groups}const h=[];function m(e){return h.push(e),(0,r.hA)(()=>{h.splice(h.indexOf(e),1)})}new Map;const p=[];function g(e){return p.push(e),(0,r.hA)(()=>p.splice(p.indexOf(e),1))}function y(){const e=s();a!==e&&([...p].forEach(t=>t(e)),a=e,[...h].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",y),o&&new MutationObserver(()=>{y()}).observe(o,{attributeFilter:["lang"]})},98623(e,t,n){n.d(t,{L5:()=>a,N5:()=>o,n$:()=>i,qU:()=>r});const r="system",a="unknown",i="UTC",o=Intl.DateTimeFormat().resolvedOptions().timeZone},56400(e,t,n){n.d(t,{ZS:()=>u,S3:()=>h,hv:()=>c,wr:()=>d,P6:()=>l});var r=n(91869),a=n(3330),i=n(98623);const o=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var s=n(92647);function l(e,t=!1){return{json:{read:{source:e,reader:(t,n)=>n[e]?u(n[e]):null},write:!!t&&{allowNull:!0,writer(t,n){n[e]=t?function(e){return{timeZoneIANA:e}}(t):null}}}}}function u(e,t=i.qU){return e?function(e){return"timeZoneIANA"in e}(e)?e.timeZoneIANA:function(e,t=i.qU){if(!e||!o.has(e.timeZone))return t;const n=o.get(e.timeZone);return function(e){return e.startsWith("UTC")}(e.timeZone)||e.respectsDaylightSaving?n:function(e){const t=s.c9.local().setZone(e),n=Math.min(t.set({month:1,day:1}).offset,t.set({month:5}).offset);return 0===n?"Etc/UTC":`Etc/GMT${s.mQ.instance(-n).formatOffset(0,"narrow")}`}(n)}(e,t):t}function c(e,t,n,r,a){if(t&&"date"===a)return{timeZone:i.n$,timeZoneName:void 0};const o=r.hour,s=n===i.L5;return{timeZone:s?"timestamp-offset"===a?void 0:e??i.n$:n,timeZoneName:s&&o?"shortOffset":void 0}}function d(e){const t=new Set(["etc/utc","etc/gmt","gmt"]),n=new Set(Intl.supportedValuesOf("timeZone").map(e=>e.toLowerCase()));return e===i.qU||e===i.L5||t.has(e.toLowerCase())||n.has(e.toLowerCase())}const f=new Map;function h(e){return e===i.L5?a.GB.instance:e===i.n$||"Etc/UTC"===e?s.mQ.utcInstance:(0,r.tE)(f,e,()=>s.oh.create(e))}},89606(e,t,n){n.d(t,{GN:()=>d,MU:()=>c,yf:()=>h});var r=n(35522),a=n(51850),i=n(10614),o=n(63907),s=n(74038);class l{constructor(e,t){this.data=e,this.indices=t}}class u{constructor(e,t,n,r,a){this.indices=e,this.packedNormals=t,this.appendedVertexToOriginal=n,this.outputVertexCount=r,this.appendedVertexCount=a}}function c(e,t,n,u,c){return!u||n.some(({name:e})=>"normal"===e||"normalCompressed"===e)?function(e,t,n,o){const s=new l(e.slice().buffer,t);if(!o)return s;const u=n[0].stride,c=s.data.byteLength/u;for(const e of n)if("normalCompressed"===e.name){const{offset:t}=e,n=new Int16Array(s.data),l=(0,a.vt)();for(let e=0;e<c;++e)(0,i.Tz)(l,n,e,u/2,t/2),(0,r.ei)(l,l,o),(0,i.aT)(n,e,l[0],l[1],l[2],u/2,t/2)}else if("normal"===e.name){const{offset:t}=e,n=new Float32Array(s.data),i=(0,a.vt)();for(let e=0;e<c;++e){const a=(e*u+t)/4;i[0]=n[a],i[1]=n[a+1],i[2]=n[a+2],(0,r.ei)(i,i,o),n[a]=i[0],n[a+1]=i[1],n[a+2]=i[2]}}return s}(e,t,n,c):function(e,t,n,r){const a=n[0].stride,i=a/4,l=new Float32Array(e.buffer,e.byteOffset,e.byteLength/4),u=e.byteLength/a,c=a+4;n.forEach(e=>e.stride=c),n.push(new s._("normalCompressed",2,o.pe.SHORT,a,c,!0));const h=d(t,l,i,r);return f(l,u,a,c,h)}(e,t,n,c)}function d(e,t,n,r){const a=e.length/3,i=t.length/n,{faceNormals:o,faceAreas:s,faceEdges:l,edgeFaces:u,vertexFaces:c,vertexFaceCountAndOffset:d}=function(e,t,n,r,a,i){const o=new Float32Array(3*a),s=new Float32Array(a),l=new Uint32Array(3*a),u=new Int32Array(3*a*2),c=3*a,d=new Uint32Array(c),f=new Uint32Array(2*n);for(let e=0;e<a;++e){const t=3*e;for(let e=0;e<3;++e)++f[2*r[t+e]]}{let e=0;for(let t=0;t<n;++t){const n=2*t;f[n+1]=e,e+=f[n]}for(let e=0;e<a;++e){const t=3*e;for(let n=0;n<3;++n)d[f[2*r[t+n]+1]++]=e}for(let e=0;e<n;++e)f[2*e+1]-=f[2*e]}let h=0;const m=new Uint32Array(2*c*2),p=new Uint32Array(2*n);for(let e=0;e<n;++e){const t=2*e,n=4*f[t+1];p[t]=n,p[t+1]=n}function g(e,t,n){const r=Math.min(e,t),a=Math.max(e,t),i=e<t?0:1,o=2*r,s=p[o],l=p[o+1];let c=-1;for(let e=s;e<l;e+=2)if(m[e]===a){c=m[e+1];break}return-1===c&&(c=h++,m[l]=a,m[l+1]=c,p[o+1]=l+2,u[2*c+(1-i)]=-1),u[2*c+i]=n,c}for(let n=0;n<r.length;n+=3){const a=r[n],u=a*t,c=e[u],d=e[u+1],f=e[u+2],h=r[n+1],m=h*t,p=e[m],y=e[m+1],T=e[m+2],S=r[n+2],M=S*t,A=c-p,b=d-y,w=f-T,_=c-e[M],R=d-e[M+1],v=f-e[M+2],C=b*v-w*R,E=w*_-A*v,I=A*R-b*_,N=Math.sqrt(C*C+E*E+I*I)||1,x=n/3;s[x]=.5*N;const k=1/N;if(i){const e=i[0]*C+i[3]*E+i[6]*I,t=i[1]*C+i[4]*E+i[7]*I,n=i[2]*C+i[5]*E+i[8]*I;o[3*x]=e*k,o[3*x+1]=t*k,o[3*x+2]=n*k}else o[3*x]=C*k,o[3*x+1]=E*k,o[3*x+2]=I*k;const G=g(a,h,x),P=g(h,S,x),O=g(S,a,x);l[3*x]=G,l[3*x+1]=P,l[3*x+2]=O}return{faceNormals:o,faceAreas:s,faceEdges:l,vertexFaces:d,vertexFaceCountAndOffset:f,edgeFaces:u}}(t,n,i,e,a,r);return function(e,t,n,r,a,i){const o=new Uint8Array(t),s=new Uint32Array(t),l=new Uint32Array(3*t);let u=0;const c=new Uint32Array(t);let d=0;for(let t=0;t<e.length;t+=3){const e=t/3;if(1===o[e])continue;o[e]=1;const f=n[3*e],h=n[3*e+1],m=n[3*e+2];for(d=0,c[d++]=e,l[0]=a[3*e],l[1]=a[3*e+1],l[2]=a[3*e+2],u=3,s[e]=e+1;u>0;){const t=l[--u];for(let r=0;r<2;++r){const g=i[2*t+r];if(-1===g||s[g]===e+1)continue;s[g]=e+1;const y=n[3*g],T=n[3*g+1],S=n[3*g+2];if(Math.abs(1-(f*y+h*T+m*S))<p){c[d++]=g,o[g]=1;for(let e=0;e<3;++e){const n=a[3*g+e];n!==t&&(l[u++]=n)}}}}if(d>1){let e=0,t=0,a=0,i=0;for(let o=0;o<d;++o){const s=c[o],l=r[s];e+=l,t+=n[3*s]*l,a+=n[3*s+1]*l,i+=n[3*s+2]*l}const o=Math.sqrt(t*t+a*a+i*i)||1;t/=o,a/=o,i/=o;for(let o=0;o<d;++o){const s=c[o];n[3*s]=t,n[3*s+1]=a,n[3*s+2]=i,r[s]=e}}}}(e,a,o,s,l,u),m(a,i,e,o,s,c,d)}function f(e,t,n,r,a){const i=n/4,o=r/4,s=a.outputVertexCount,u=new Float32Array(s*o),c=new Uint32Array(u.buffer),d=i,f=new Uint32Array(e.buffer,e.byteOffset,e.length);return function(e,t,n,r,a,i,o){for(let s=0;s<i;++s){const i=s*a,l=s*t;for(let t=0;t<a;++t)e[l+t]=r[i+t];e[l+n]=o[s]}}(c,o,d,f,i,t,a.packedNormals),h(c,o,d,f,i,t,s,a.appendedVertexToOriginal,a.packedNormals),new l(u.buffer,a.indices)}function h(e,t,n,r,a,i,o,s,l){for(let u=i;u<o;++u){const o=s[u-i]*a,c=u*t;for(let t=0;t<a;++t)e[c+t]=r[o+t];e[c+n]=l[u]}}function m(e,t,n,r,a,i,o){const s=3*e,l=new(s<256?Uint8Array:s<65536?Uint16Array:Uint32Array)(n);let c=t;const d=new(t<256?Uint8Array:t<65536?Uint16Array:Uint32Array)(s-t),f=new ArrayBuffer(4*s),h=new Int16Array(f),m=new Uint32Array(f);let p=0,y=0;const T=new Uint32Array(e);let S=0;const M=1-g;for(let e=0;e<t;++e){p=o[2*e+1],y=p+o[2*e];let n=e;for(;p<y;){{const e=i[--y],t=3*e,o=r[t],s=r[t+1],l=r[t+2];S=0,T[S++]=e;let u=p;for(;u<y;){const e=i[u],t=3*e;if(o*r[t]+s*r[t+1]+l*r[t+2]>M){T[S++]=e;const t=--y;if(u<t){i[u]=i[t];continue}}++u}let c=0,d=0,f=0;if(1===S)c=o,d=s,f=l;else{for(let e=0;e<S;++e){const t=T[e],n=a[t],i=3*t;c+=r[i]*n,d+=r[i+1]*n,f+=r[i+2]*n}const e=Math.sqrt(c*c+d*d+f*f)||1;c/=e,d/=e,f/=e}{const e=1/(Math.abs(c)+Math.abs(d)+Math.abs(f)),t=c*e,r=d*e;let a=t,i=r;f<=0&&(a=(t>=0?1:-1)*(1-Math.abs(r)),i=(r>=0?1:-1)*(1-Math.abs(t)));const o=2*n,s=Math.round(32767*a),l=Math.round(32767*i);h[o]=s<-32767?-32767:s>32767?32767:s,h[o+1]=l<-32767?-32767:l>32767?32767:l}}if(n!==e)for(let t=0;t<S;++t){const r=3*T[t];l[r]===e&&(l[r]=n),l[r+1]===e&&(l[r+1]=n),l[r+2]===e&&(l[r+2]=n)}if(p>=y)break;n=c++,d[n-t]=e}}return new u(l,m,d,c,c-t)}const p=.04,g=.8},94715(e,t,n){n.r(t),n.d(t,{destroyContext:()=>b,dracoDecompressPointCloudData:()=>g,filterObbsForModifications:()=>y,filterObbsForModificationsSync:()=>E,initialize:()=>x,interpretObbModificationResults:()=>C,process:()=>p,project:()=>M,setLegacySchema:()=>S,setModifications:()=>T,setModificationsSync:()=>R,test:()=>G,transformNormals:()=>A});var r=n(34727),a=n(77690),i=n(29242),o=n(16930),s=n(4197),l=n(95696),u=n(18251),c=n(73354),d=n(2741);let f;var h=n(89606),m=n(98697);async function p(e){_=await k();const t=[e.geometryBuffer];return{result:v(_,e,t),transferList:t}}async function g(e){_=await k();const t=[e.geometryBuffer],{geometryBuffer:n}=e,r=n.byteLength,a=_._malloc(r),i=new Uint8Array(_.HEAPU8.buffer,a,r);i.set(new Uint8Array(n));const o=_.dracoDecompressPointCloudData(a,i.byteLength);if(_._free(a),o.error.length>0)throw new Error(`i3s.wasm: ${o.error}`);const s=o.featureIds?.length>0?o.featureIds.slice():null,l=o.positions.slice();return s&&t.push(s.buffer),t.push(l.buffer),{result:{positions:l,featureIds:s},transferList:t}}async function y(e){await k(),E(e);const t={buffer:e.buffer};return{result:t,transferList:[t.buffer]}}async function T(e){await k(),R(e)}async function S(e){_=await k(),_.setLegacySchema(e.context,e.jsonSchema)}async function M(e){const{localMatrix:t,origin:r,positions:a,vertexSpace:i}=e,c=o.A.fromJSON(e.inSpatialReference),d=o.A.fromJSON(e.outSpatialReference),f=t?(0,s.Vj)(t):void 0,h=(0,s.cj)(r);let m;const[{projectBuffer:p},{initializeProjection:g}]=await Promise.all([Promise.resolve().then(n.bind(n,9762)),Promise.resolve().then(n.bind(n,91218))]);await g(c,d);const y=[0,0,0];if(!p(h,c,0,y,d,0))throw new Error("Failed to project");if("georeferenced"===i.type&&null==i.origin){if(m=new Float64Array(a.length),!p(a,c,0,m,d,0,m.length/3))throw new Error("Failed to project")}else{const e="georeferenced"===i.type?l.A.fromJSON(i):u.default.fromJSON(i),{projectMeshVertexPositions:t}=await n.e(4594).then(n.bind(n,74594)),r=t({vertexAttributes:{position:a},transform:f?{localMatrix:f}:void 0,vertexSpace:e,spatialReference:c},d);if(!r)throw new Error("Failed to project");m=r}const T=m.length,[S,M,A]=y;for(let e=0;e<T;e+=3)m[e]-=S,m[e+1]-=M,m[e+2]-=A;return{result:{projected:m,original:a,projectedOrigin:y},transferList:[m.buffer,a.buffer]}}async function A({normalMatrix:e,normals:t}){const n=new Float32Array(t.length);return(0,c.b)(n,t,e),(0,r.or)(e)&&(0,c.n)(n,n),{result:{transformed:n,original:t},transferList:[n.buffer,t.buffer]}}function b(e){I(e)}let w,_;function R(e){if(!_)return;const t=e.modifications,n=_._malloc(8*t.length),r=new Float64Array(_.HEAPU8.buffer,n,t.length);for(let e=0;e<t.length;++e)r[e]=t[e];_.setModifications(e.context,n,t.length,e.isGeodetic),_._free(n)}function v(e,t,n){const{context:r,globalTrafo:o,mbs:s,obbData:l,layouts:u,needNormals:c,computeNormals:d,elevationOffset:f,geometryBuffer:p,geometryDescriptor:g,indexToVertexProjector:y,vertexToRenderProjector:T,normalReferenceFrame:S}=t,M=e._malloc(p.byteLength),A=e._malloc(33*Float64Array.BYTES_PER_ELEMENT),b=new Uint8Array(e.HEAPU8.buffer,M,p.byteLength);b.set(new Uint8Array(p));const w=new Float64Array(e.HEAPU8.buffer,A,33);N(w,[NaN,NaN,NaN],0);let _=3;N(w,o,_),_+=16,N(w,s.center,_),_+=3,w[_++]=s.radius,l&&N(w,l,_++);const R={isDraco:!1,isLegacy:!1,color:u.some(e=>e.some(e=>"color"===e.name)),normal:c&&u.some(e=>e.some(e=>"normalCompressed"===e.name)),uv0:u.some(e=>e.some(e=>"uv0"===e.name)),uvRegion:u.some(e=>e.some(e=>"uvRegion"===e.name)),featureIndex:g.featureIndex},v=e.process(r,!!l,M,b.byteLength,g,R,A,f,y,T,S);if(e._free(A),e._free(M),v.error.length>0)throw new Error(`i3s.wasm: ${v.error}`);if(v.discarded)return null;const C=v.componentOffsets.length>0?v.componentOffsets.slice():null,E=v.featureIds.length>0?v.featureIds.slice():null,I=v.anchorIds.length>0?Array.from(v.anchorIds):null,x=v.anchors.length>0?Array.from(v.anchors):null,k=1===v.indicesType?new Uint16Array(v.indices.buffer,v.indices.byteOffset,v.indices.byteLength/2).slice():new Uint32Array(v.indices.buffer,v.indices.byteOffset,v.indices.byteLength/4).slice(),G=u[0].slice(),P=(0,a.z0)((0,i.vt)(),o),O=(0,h.MU)(v.interleavedVertedData,k,G,d&&!R.normal,P),U=v.positions.slice(),{buffer:L,byteOffset:B,byteLength:j}=v.positionIndices,D=1===v.positionIndicesType?new Uint16Array(L,B,j/2).slice():new Uint32Array(L,B,j/4).slice(),F=new m._b(G,O.data,O.indices,v.hasColors,v.hasModifications,{data:U,indices:D});return E&&n.push(E.buffer),C&&n.push(C.buffer),n.push(O.data),n.push(O.indices.buffer),n.push(U.buffer),n.push(D.buffer),new m.sQ(C,E,I,x,F,o,v.obb)}function C(e){return 0===e?0:1===e?1:2===e?2:3}function E(e){if(!_)return;const{context:t,buffer:n}=e,r=_._malloc(n.byteLength),a=n.byteLength/Float64Array.BYTES_PER_ELEMENT,i=new Float64Array(_.HEAPU8.buffer,r,a),o=new Float64Array(n);i.set(o),_.filterOBBs(t,r,a),o.set(i),_._free(r)}function I(e){0===_?.destroy(e)&&(_=null,w=null,f=null)}function N(e,t,n){for(let r=0;r<t.length;++r)e[r+n]=t[r]}async function x(){_||await k()}async function k(){return _||(_=await(w??=(f??=(async()=>{const e=await n.e(2980).then(n.bind(n,82980));return await e.default({locateFile:e=>(0,d.s)(`esri/libs/i3s/${e}`)})})(),f))),_}const G={transform:(e,t)=>_&&v(_,e,t),destroy:I}},98697(e,t,n){n.d(t,{H1:()=>m,Ir:()=>h,_b:()=>u,sQ:()=>c});var r=n(53966),a=n(15142),i=n(51850),o=n(35982),s=n(91218),l=n(27993);class u{constructor(e,t,n,r,a,i){this.layout=e,this.interleavedVertexData=t,this.indices=n,this.hasColors=r,this.hasModifications=a,this.positionData=i}}class c{constructor(e,t,n,r,a,i,o){this.componentOffsets=e,this.featureIds=t,this.anchorIds=n,this.anchors=r,this.transformedGeometry=a,this.globalTrafo=i,this.obb=o}}o.B;const d=new a.A({deallocator:null}),f=(0,i.vt)();function h(e,t,n){d.clear();let a=1/0,i=1/0,o=-1/0,u=-1/0,c=!1;for(const e of t){const t="clip"===e.type?2:"mask"===e.type?1:0,h=e.geometry;let m=e=>e;if(h.spatialReference){if(!(0,s.canProjectWithoutEngine)(h.spatialReference,n)){r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-projection-failed","Can't project modification polygon into layer spatial reference, ignoring modification",{polygon:h});continue}m=e=>((0,l.F)(e,h.spatialReference,f,n),f)}c=c||1===t;const p=h.rings.length,g=h.rings.some(e=>e.length<3);if(0===p||g)r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-invalid-polygon","Ignoring invalid modification polygon (no rings or rings with less than 3 vertices).",{polygon:h});else{d.push(t),d.push(p);for(const e of h.rings){d.push(e.length);for(const t of e){const e=m(t);d.push(e[0]),d.push(e[1]),d.push(e[2]??0),a=Math.min(a,e[0]),i=Math.min(i,e[1]),o=Math.max(o,e[0]),u=Math.max(u,e[1])}}}}if(null!=e)if(c){const t=1e-4;d.push(2),d.push(2),d.push(4),d.push(a-t),d.push(i-t),d.push(0),d.push(o+t),d.push(i-t),d.push(0),d.push(o+t),d.push(u+t),d.push(0),d.push(a-t),d.push(u+t),d.push(0),d.push(4),d.push(e[0]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[3]),d.push(0),d.push(e[0]),d.push(e[3]),d.push(0)}else d.push(1),d.push(1),d.push(4),d.push(e[0]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[3]),d.push(0),d.push(e[0]),d.push(e[3]),d.push(0);d.push(3);const h=new Float64Array(d.length);for(let e=0;e<d.length;++e)h[e]=d.at(e);return h}function m(e,t){let n=0;for(const r of t){const t=r.geometry,a=t.rings.length,i=t.rings.some(e=>e.length<3);if(0!==a&&!i){n+=1,n+=1;for(let r=0;r<t.rings.length;++r){const a=t.rings[r];n+=1;for(let i=0;i<a.length;++i){const a=[e[n+0],e[n+1],e[n+2]];n+=3,t.setPoint(r,i,a)}}}}}},10614(e,t,n){n.d(t,{Tz:()=>o,aT:()=>i});var r=n(34727),a=n(35522);function i(e,t,n,r,a,i=2,o=0){const l=1/(Math.abs(n)+Math.abs(r)+Math.abs(a)),u=n*l,c=r*l,d=a<=0?(u>=0?1:-1)*(1-Math.abs(c)):u,f=a<=0?(c>=0?1:-1)*(1-Math.abs(u)):c,h=t*i+o;e[h]=s(d),e[h+1]=s(f)}function o(e,t,n,r=2,i=0){const o=n*r+i,s=l(t[o]),u=l(t[o+1]),c=1-Math.abs(s)-Math.abs(u);return e[2]=c,c<0?(e[0]=(s>=0?1:-1)*(1-Math.abs(u)),e[1]=(u>=0?1:-1)*(1-Math.abs(s))):(e[0]=s,e[1]=u),(0,a.S8)(e,e)}function s(e){return(0,r.qE)(Math.round(32767*e),-32767,32767)}function l(e){return(0,r.qE)(e/32767,-1,1)}n(51850)},74038(e,t,n){n.d(t,{_:()=>r});class r{constructor(e,t,n,r,a,i=!1,o=0,s=!1){this.name=e,this.count=t,this.type=n,this.offset=r,this.stride=a,this.normalized=i,this.divisor=o,this.integer=s}}},63907(e,t,n){n.d(t,{$0:()=>f,C5:()=>d,CQ:()=>T,H0:()=>i,SB:()=>l,WR:()=>r,XN:()=>o,iE:()=>s,ld:()=>u,nI:()=>p,pe:()=>a,r6:()=>h,uH:()=>y,vt:()=>c,xL:()=>g,yI:()=>m});const r={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},a={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},i={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},o=Object.values(i),s={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},l={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},u={FLOAT:a.FLOAT,UNSIGNED_BYTE:a.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:a.BYTE,UNSIGNED_SHORT:a.UNSIGNED_SHORT,SHORT:a.SHORT,UNSIGNED_INT:a.UNSIGNED_INT,INT:a.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269},c={Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12},d=1029,f=0,h=36064,m=36065,p=33306,g=36096,y=36128,T={COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4996],{83290(e,t,r){r.d(t,{P:()=>d,a:()=>c,g:()=>G,h:()=>l,i:()=>a,j:()=>y,l:()=>f,p:()=>B});var o=r(2741),n=r(44208);let i,s=null;function a(){return!!s}function f(){return i||(i=r.e(6187).then(r.bind(r,46187)).then(({default:e})=>e({locateFile:e=>(0,o.s)(`esri/geometry/support/${e}`)})).then(e=>{k(e)}),i)}const l={geogToProj(e,t,r){s.ensureCache.prepare();const o=D(r),n=r===o,i=s.ensureFloat64(o),a=s._pe_geog_to_proj(s.getPointer(e),t,i);return a&&b(r,t,i,n),a},projGeog(e,t,r,o){switch(o){case c.PE_TRANSFORM_P_TO_G:return l.projToGeog(e,t,r);case c.PE_TRANSFORM_G_TO_P:return l.geogToProj(e,t,r)}return 0},projToGeog:(e,t,r)=>l.projToGeogCenter(e,t,r,0),projToGeogCenter(e,t,r,o){s.ensureCache.prepare();const n=D(r),i=r===n,a=s.ensureFloat64(n),f=s._pe_proj_to_geog_center(s.getPointer(e),t,a,o);return f&&b(r,t,a,i),f}};class c{static init(){c.PE_BUFFER_MAX=s.PeDefs.prototype.PE_BUFFER_MAX,c.PE_NAME_MAX=s.PeDefs.prototype.PE_NAME_MAX,c.PE_MGRS_MAX=s.PeDefs.prototype.PE_MGRS_MAX,c.PE_USNG_MAX=s.PeDefs.prototype.PE_USNG_MAX,c.PE_DD_MAX=s.PeDefs.prototype.PE_DD_MAX,c.PE_DDM_MAX=s.PeDefs.prototype.PE_DDM_MAX,c.PE_DMS_MAX=s.PeDefs.prototype.PE_DMS_MAX,c.PE_UTM_MAX=s.PeDefs.prototype.PE_UTM_MAX,c.PE_PARM_MAX=s.PeDefs.prototype.PE_PARM_MAX,c.PE_TYPE_NONE=s.PeDefs.prototype.PE_TYPE_NONE,c.PE_TYPE_GEOGCS=s.PeDefs.prototype.PE_TYPE_GEOGCS,c.PE_TYPE_PROJCS=s.PeDefs.prototype.PE_TYPE_PROJCS,c.PE_TYPE_GEOGTRAN=s.PeDefs.prototype.PE_TYPE_GEOGTRAN,c.PE_TYPE_COORDSYS=s.PeDefs.prototype.PE_TYPE_COORDSYS,c.PE_TYPE_UNIT=s.PeDefs.prototype.PE_TYPE_UNIT,c.PE_TYPE_LINUNIT=s.PeDefs.prototype.PE_TYPE_LINUNIT,c.PE_STR_OPTS_NONE=s.PeDefs.prototype.PE_STR_OPTS_NONE,c.PE_STR_AUTH_NONE=s.PeDefs.prototype.PE_STR_AUTH_NONE,c.PE_STR_AUTH_TOP=s.PeDefs.prototype.PE_STR_AUTH_TOP,c.PE_STR_NAME_CANON=s.PeDefs.prototype.PE_STR_NAME_CANON,c.PE_STR_FMT_WKT=s.PeDefs.prototype.PE_STR_FMT_WKT,c.PE_STR_FMT_WKT2=s.PeDefs.prototype.PE_STR_FMT_WKT2,c.PE_PARM_X0=s.PeDefs.prototype.PE_PARM_X0,c.PE_PARM_ND=s.PeDefs.prototype.PE_PARM_ND,c.PE_TRANSFORM_1_TO_2=s.PeDefs.prototype.PE_TRANSFORM_1_TO_2,c.PE_TRANSFORM_2_TO_1=s.PeDefs.prototype.PE_TRANSFORM_2_TO_1,c.PE_TRANSFORM_P_TO_G=s.PeDefs.prototype.PE_TRANSFORM_P_TO_G,c.PE_TRANSFORM_G_TO_P=s.PeDefs.prototype.PE_TRANSFORM_G_TO_P,c.PE_HORIZON_RECT=s.PeDefs.prototype.PE_HORIZON_RECT,c.PE_HORIZON_POLY=s.PeDefs.prototype.PE_HORIZON_POLY,c.PE_HORIZON_LINE=s.PeDefs.prototype.PE_HORIZON_LINE,c.PE_HORIZON_DELTA=s.PeDefs.prototype.PE_HORIZON_DELTA}}let u=null;const _={},P={},p=e=>{const t=e.getType();switch(t){case c.PE_TYPE_GEOGCS:e=s.castObject(e,s.PeGeogcs);break;case c.PE_TYPE_PROJCS:e=s.castObject(e,s.PeProjcs);break;case c.PE_TYPE_GEOGTRAN:e=s.castObject(e,s.PeGeogtran);break;default:t&c.PE_TYPE_UNIT&&(e=s.castObject(e,s.PeUnit))}return e},d={initialize(){s.PeFactory.prototype.initialize(null)},coordsys:e=>d.factoryByType(c.PE_TYPE_COORDSYS,e),factoryByType(e,t){let r=null,o=_[e];if(o||(o={},_[e]=o),o.hasOwnProperty(String(t))&&(r=o[t],s.compare(r,s.NULL)&&(r=null)),!r){const n=s.PeFactory.prototype.factoryByType(e,t);s.compare(n,s.NULL)||(r=p(n),o[t]=r)}return r},fromString(e,t,r=!1){if(r)switch(e){case c.PE_TYPE_GEOGCS:case c.PE_TYPE_PROJCS:case c.PE_TYPE_COORDSYS:{const r=s.PeFactory.prototype.fromString(e,t);return s.compare(r,s.NULL)?null:p(r)}default:return null}let o=null,n=P[e];if(n||(n={},P[e]=n),n.hasOwnProperty(t)&&(o=n[t],s.compare(o,s.NULL)&&(o=null)),!o){const r=s.PeFactory.prototype.fromString(e,t);s.compare(r,s.NULL)||(o=p(r),n[t]=o)}return o},geogcs:e=>d.factoryByType(c.PE_TYPE_GEOGCS,e),geogtran:e=>d.factoryByType(c.PE_TYPE_GEOGTRAN,e),getCode:e=>s.PeFactory.prototype.getCode(e),projcs:e=>d.factoryByType(c.PE_TYPE_PROJCS,e),unit:e=>d.factoryByType(c.PE_TYPE_UNIT,e)};let E,m=null;const h={PE_GTLIST_OPTS_COMMON:0,init(){h.PE_GTLIST_OPTS_COMMON=s.PeGTlistExtended.prototype.PE_GTLIST_OPTS_COMMON,E=s._pe_getPeGTlistExtendedEntrySize()},getGTlist(e,t,r,o,n,i){let a=null;const f=new s.PeInteger(i);try{const l=s.PeGTlistExtended.prototype.getGTlist(e,t,r,o,n,f);if((i=f.val)&&(a=[l],i>1)){const e=s.getPointer(l);for(let t=1;t<i;t++)a.push(s.wrapPointer(e+E*t,s.PeGTlistExtendedEntry))}}finally{s.destroy(f)}return a}},T={destroy(e){if(e?.length){for(const t of e)w(t),t.getEntries().forEach(e=>{w(e);const t=e.getGeogtran();w(t),t.getParameters().forEach(w),[t.getGeogcs1(),t.getGeogcs2()].forEach(e=>{w(e);const t=e.getDatum();w(t),w(t.getSpheroid()),w(e.getPrimem()),w(e.getUnit())})});s.PeGTlistExtendedEntry.prototype.Delete(e[0])}}},y={geogToGeog(e,t,r,o,n){s.ensureCache.prepare();const i=D(r),a=r===i,f=s.ensureFloat64(i);let l=0;o&&(l=s.ensureFloat64(o));const c=s._pe_geog_to_geog(s.getPointer(e),t,f,l,n);return c&&b(r,t,f,a),c}},g={geodesicCoordinate(e,t,r,o,n,i,a,f){s.PeLineType.prototype.geodesic_coordinate(e,t,r,o,n,i,a,f)},geodeticCoordinate(e,t,r,o,n,i,a,f,l){s.PeLineType.prototype.geodetic_coordinate(e,t,r,o,n,i,a,f,l)},geodeticDistance(e,t,r,o,n,i,a,f,l,c){s.PeLineType.prototype.geodetic_distance(e,t,r,o,n,i,a,f,l,c)},greatEllipticDistance(e,t,r,o,n,i,a,f,l){s.PeLineType.prototype.great_elliptic_distance(e,t,r,o,n,i,a,f,l)}},S={phiToEta:(e,t)=>s.PeMath.prototype.phi_to_eta(e,t),etaToPhi:(e,t)=>s.PeMath.prototype.eta_to_phi(e,t),phiToPhig:(e,t)=>s.PeMath.prototype.phi_to_phig(e,t),q:(e,t,r)=>s.PeMath.prototype.q(e,t,r),q90:(e,t)=>s.PeMath.prototype.q90(e,t)},M=(e,t,r,o,n,i)=>{let a,f;switch(s.ensureCache.prepare(),e){case"dd":a=s._pe_geog_to_dd,f=c.PE_DD_MAX;break;case"ddm":a=s._pe_geog_to_ddm,f=c.PE_DDM_MAX;break;case"dms":a=s._pe_geog_to_dms,f=c.PE_DMS_MAX}let l=0;t&&(l=s.getPointer(t));const u=D(o),_=s.ensureFloat64(u),P=I(r,f),p=a(l,r,_,n,s.ensureInt32(P));if(p)for(let e=0;e<r;e++)i[e]=s.UTF8ToString(P[e]);return p},U=(e,t,r,o,n)=>{let i;switch(s.ensureCache.prepare(),e){case"dd":i=s._pe_dd_to_geog;break;case"ddm":i=s._pe_ddm_to_geog;break;case"dms":i=s._pe_dms_to_geog}let a=0;t&&(a=s.getPointer(t));const f=o.map(e=>s.ensureString(e)),l=s.ensureInt32(f),c=s.ensureFloat64(new Array(2*r)),u=i(a,r,l,c);return u&&b(n,r,c),u},O={geogToDms:(e,t,r,o,n)=>M("dms",e,t,r,o,n),dmsToGeog:(e,t,r,o)=>U("dms",e,t,r,o),geogToDdm:(e,t,r,o,n)=>M("ddm",e,t,r,o,n),ddmToGeog:(e,t,r,o)=>U("ddm",e,t,r,o),geogToDd:(e,t,r,o,n)=>M("dd",e,t,r,o,n),ddToGeog:(e,t,r,o)=>U("dd",e,t,r,o)};class A{static init(){A.PE_MGRS_STYLE_NEW=s.PeNotationMgrs.prototype.PE_MGRS_STYLE_NEW,A.PE_MGRS_STYLE_OLD=s.PeNotationMgrs.prototype.PE_MGRS_STYLE_OLD,A.PE_MGRS_STYLE_AUTO=s.PeNotationMgrs.prototype.PE_MGRS_STYLE_AUTO,A.PE_MGRS_180_ZONE_1_PLUS=s.PeNotationMgrs.prototype.PE_MGRS_180_ZONE_1_PLUS,A.PE_MGRS_ADD_SPACES=s.PeNotationMgrs.prototype.PE_MGRS_ADD_SPACES}static geogToMgrsExtended(e,t,r,o,n,i,a){s.ensureCache.prepare();let f=0;e&&(f=s.getPointer(e));const l=D(r),u=s.ensureFloat64(l),_=I(t,c.PE_MGRS_MAX),P=s.ensureInt32(_),p=s._pe_geog_to_mgrs_extended(f,t,u,o,n,i,P);if(p)for(let e=0;e<t;e++)a[e]=s.UTF8ToString(_[e]);return p}static mgrsToGeogExtended(e,t,r,o,n){s.ensureCache.prepare();let i=0;e&&(i=s.getPointer(e));const a=r.map(e=>s.ensureString(e)),f=s.ensureInt32(a),l=s.ensureFloat64(new Array(2*t)),c=s._pe_mgrs_to_geog_extended(i,t,f,o,l);return c&&b(n,t,l),c}}const R={geogToUsng(e,t,r,o,n,i,a){s.ensureCache.prepare();let f=0;e&&(f=s.getPointer(e));const l=D(r),u=s.ensureFloat64(l),_=I(t,c.PE_MGRS_MAX),P=s.ensureInt32(_),p=s._pe_geog_to_usng(f,t,u,o,n,i,P);if(p)for(let e=0;e<t;e++)a[e]=s.UTF8ToString(_[e]);return p},usngToGeog(e,t,r,o){s.ensureCache.prepare();let n=0;e&&(n=s.getPointer(e));const i=r.map(e=>s.ensureString(e)),a=s.ensureInt32(i),f=s.ensureFloat64(new Array(2*t)),l=s._pe_usng_to_geog(n,t,a,f);return l&&b(o,t,f),l}};class N{static init(){N.PE_UTM_OPTS_NONE=s.PeNotationUtm.prototype.PE_UTM_OPTS_NONE,N.PE_UTM_OPTS_ADD_SPACES=s.PeNotationUtm.prototype.PE_UTM_OPTS_ADD_SPACES,N.PE_UTM_OPTS_NS=s.PeNotationUtm.prototype.PE_UTM_OPTS_NS}static geogToUtm(e,t,r,o,n){s.ensureCache.prepare();let i=0;e&&(i=s.getPointer(e));const a=D(r),f=s.ensureFloat64(a),l=I(t,c.PE_UTM_MAX),u=s.ensureInt32(l),_=s._pe_geog_to_utm(i,t,f,o,u);if(_)for(let e=0;e<t;e++)n[e]=s.UTF8ToString(l[e]);return _}static utmToGeog(e,t,r,o,n){s.ensureCache.prepare();let i=0;e&&(i=s.getPointer(e));const a=r.map(e=>s.ensureString(e)),f=s.ensureInt32(a),l=s.ensureFloat64(new Array(2*t)),c=s._pe_utm_to_geog(i,t,f,o,l);return c&&b(n,t,l),c}}class G{static{this.cache=new Map}static init(){G.PE_PCSINFO_OPTION_NONE=s.PePCSInfo.prototype.PE_PCSINFO_OPTION_NONE,G.PE_PCSINFO_OPTION_DOMAIN=s.PePCSInfo.prototype.PE_PCSINFO_OPTION_DOMAIN,G.PE_POLE_OUTSIDE_BOUNDARY=s.PePCSInfo.prototype.PE_POLE_OUTSIDE_BOUNDARY,G.PE_POLE_POINT=s.PePCSInfo.prototype.PE_POLE_POINT}static generate(e,t=G.PE_PCSINFO_OPTION_DOMAIN){let r=null,o=null;return G.cache.has(e)&&(o=G.cache.get(e),o[t]&&(r=o[t])),r||(r=s.PePCSInfo.prototype.generate(e,t),o||(o=[],G.cache.set(e,o)),o[t]=r),r}}const C={versionString:()=>s.PeVersion.prototype.version_string()};function k(e){function t(e,t,r){e[t]=r(e[t])}s=e,c.init(),h.init(),A.init(),N.init(),G.init(),u=class extends s.PeDouble{constructor(e=NaN){super(e)}destroy(){s.destroy(this)}[Symbol.dispose](){this.destroy()}},m=class extends s.PeGCSExtent{destroy(){s.destroy(this)}[Symbol.dispose](){this.destroy()}};const r=[s.PeAngunit,s.PeDatum,s.PeGeogcs,s.PeGeogtran,s.PeObject,s.PeParameter,s.PePrimem,s.PeProjcs,s.PeSpheroid,s.PeUnit];for(const e of r)t(e.prototype,"getName",e=>function(){return e.call(this,new Array(c.PE_NAME_MAX))});for(const e of[s.PeGeogtran,s.PeProjcs])t(e.prototype,"getParameters",e=>function(){const t=new Array(c.PE_PARM_MAX);let r=e.call(this);for(let e=0;e<t.length;e++){const o=s.getValue(r,"*");t[e]=o?s.wrapPointer(o,s.PeParameter):null,r+=Int32Array.BYTES_PER_ELEMENT}return t});t(s.PeHorizon.prototype,"getCoord",e=>function(t=!1){const r=this.getSize();if(!r)return null;const o=[];return b(o,r,e.call(this),t),o}),t(s.PeGTlistExtendedEntry.prototype,"getEntries",e=>{const t=s._pe_getPeGTlistExtendedGTsSize();return function(){let r=null;const o=e.call(this);if(!s.compare(o,s.NULL)){r=[o];const e=this.getSteps();if(e>1){const n=s.getPointer(o);for(let o=1;o<e;o++)r.push(s.wrapPointer(n+t*o,s.PeGTlistExtendedGTs))}}return r}});const o=s._pe_getPeHorizonSize(),n=e=>function(){let t=this._cache;if(t||(t=new Map,this._cache=t),t.has(e))return t.get(e);let r=null;const n=e.call(this);if(!s.compare(n,s.NULL)){r=[n];const e=n.getNump();if(e>1){const t=s.getPointer(n);for(let n=1;n<e;n++)r.push(s.wrapPointer(t+o*n,s.PeHorizon))}}return t.set(e,r),r};t(s.PeProjcs.prototype,"horizonGcsGenerate",n),t(s.PeProjcs.prototype,"horizonPcsGenerate",n),s.PeObject.prototype.toString=function(e=c.PE_STR_OPTS_NONE){s.ensureCache.prepare();const t=s.getPointer(this),r=s.ensureInt8(new Array(c.PE_BUFFER_MAX));return s.UTF8ToString(s._pe_object_to_string_ext(t,e,r))},s.PeGeogcs.prototype.destroy=function(){this.Delete(),w(this),this.ptr=0},s.PeGeogcs.prototype[Symbol.dispose]=function(){this.destroy()},s.PeProjcs.prototype.destroy=function(){this.Delete(),w(this),this.ptr=0},s.PeProjcs.prototype[Symbol.dispose]=function(){this.destroy()}}function w(e){if(!e)return;const t=s.getClass(e);if(!t)return;const r=s.getCache(t);if(!r)return;const o=s.getPointer(e);o&&delete r[o]}function I(e,t){const r=[],o=new Array(t);for(let t=0;t<e;t++)r.push(s.ensureInt8(o));return r}function D(e){return ArrayBuffer.isView(e)?e:Array.isArray(e[0])?e.flat():e}function b(e,t,r,o=!1){if(o)for(let o=0;o<2*t;o++)e[o]=s.getValue(r+o*Float64Array.BYTES_PER_ELEMENT,"double");else{const o=0===e.length;for(let n=0;n<t;n++)o&&(e[n]=new Array(2)),e[n][0]=s.getValue(r,"double"),e[n][1]=s.getValue(r+Float64Array.BYTES_PER_ELEMENT,"double"),r+=2*Float64Array.BYTES_PER_ELEMENT}}const B=Object.freeze(Object.defineProperty({__proto__:null,PeCSTransformations:l,PeDefs:c,get PeDouble(){return u},PeFactory:d,get PeGCSExtent(){return m},PeGTTransformations:y,PeGTlistExtended:h,PeGTlistExtendedEntry:T,PeLineType:g,PeMath:S,PeNotationDms:O,PeNotationMgrs:A,PeNotationUsng:R,PeNotationUtm:N,PePCSInfo:G,PeVersion:C,_init:k,get _pe(){return s},isLoaded:a,isSupported:function(){return!!(0,n.A)("esri-wasm")},load:f},Symbol.toStringTag,{value:"Module"}))},34727(e,t,r){r.d(t,{$8:()=>U,Cc:()=>a,Hx:()=>E,Io:()=>S,KJ:()=>c,OS:()=>R,Sp:()=>P,XM:()=>u,YN:()=>_,ZH:()=>d,b6:()=>M,cU:()=>n,gg:()=>p,hs:()=>f,kU:()=>l,mP:()=>s,or:()=>A,pF:()=>G,pq:()=>N,qE:()=>i});const o=new Float32Array(1);function n(e){--e;for(let t=1;t<32;t<<=1)e|=e>>t;return e+1}function i(e,t,r){return Math.min(Math.max(e,t),r)}function s(e,t){return 0===t?0:Math.ceil(e/t)*t}function a(e,t,r){return e+(t-e)*r}function f(e,t,r,o,n){return a(o,n,(e-t)/(r-t))}function l(e){return e*Math.PI/180}function c(e){return 180*e/Math.PI}function u(e){return Math.acos(i(e,-1,1))}function _(e){return Math.asin(i(e,-1,1))}function P(e,t,r=1e-6){return e===t||!(!Number.isFinite(e)||!Number.isFinite(t))&&(e>t?e-t:t-e)<=r}function p(e,t,r=1e-6){return!P(e,t,r)&&e>t}function d(e,t,r=1e-6){return!P(e,t,r)&&e<t}function E(e,t,r=1e-6){return P(e,t,r)||e>t}const m=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function h(e){return m.setFloat64(0,e),m.getBigInt64(0)}const T=1000000n,y=g(1);function g(e){const t=h(e=Math.abs(e)),r=function(e){return m.setBigInt64(0,e),m.getFloat64(0)}(t<=T?T:t-T);return Math.abs(e-r)}function S(e,t,r=y){if(e===t)return!0;if(!Number.isFinite(e)||!Number.isFinite(t))return!1;if(null!=r&&g(Math.min(Math.abs(e),Math.abs(t)))<r)return Math.abs(e-t)<=r;const o=h(e),n=h(t);return o<0==n<0&&!((o<n?n-o:o-n)>T)}function M(e,t,r=1e-6){if(e===t)return!0;if(!Number.isFinite(e)||!Number.isFinite(t))return!1;const o=Math.abs(e-t),n=Math.abs(e),i=Math.abs(t);if(0===e||0===t||n<1e-12&&i<1e-12){if(o>.01*r)return!1}else if(o/(n+i)>r)return!1;return!0}function U(e){return O(Math.max(-N,Math.min(e,N)))}function O(e){return o[0]=e,o[0]}function A(e){const t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],r=e[3]*e[3]+e[4]*e[4]+e[5]*e[5],o=e[6]*e[6]+e[7]*e[7]+e[8]*e[8];return!(P(t,1)&&P(r,1)&&P(o,1))}function R(e,t){return(e%t+t)%t}const N=O(34028234663852886e22);function G(e,t,r){if(void 0===r||0===+r)return Math[e](t);if(t=+t,r=+r,isNaN(t)||"number"!=typeof r||r%1!=0)return NaN;let o=t.toString().split("e");return o=(t=Math[e](+(o[0]+"e"+(o[1]?+o[1]-r:-r)))).toString().split("e"),+(o[0]+"e"+(o[1]?+o[1]+r:r))}},86211(e,t,r){r.d(t,{Ao:()=>k,B5:()=>F,Bd:()=>L,G9:()=>N,GA:()=>C,Ij:()=>b,KX:()=>w,LA:()=>R,PQ:()=>U,Sk:()=>j,UW:()=>O,b$:()=>v,dk:()=>W,dy:()=>f,k1:()=>G,mq:()=>B,oU:()=>M,t$:()=>g,vl:()=>A,x1:()=>Y,yD:()=>P});var o=r(66552),n=r(73941),i=r(79258),s=r(21325),a=r(22530);const f=39.37,l=i.$O.radius*Math.PI/200,c=/(?:LENGTH)?UNIT\[([^\]]+)]]$/i,u=a.A,_=/UNIT\[([^\]]+)]/i,P=new Set([4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104025,104026,104139,104140]),p=(0,o.O)()({millimeter:"millimeters",centimeter:"centimeters",meter:"meters",meter_german:"german-meters",kilometer:"kilometers",decimeter:"decimeters",micrometer:"micrometers",nanometer:"nanometers","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",fathom:"fathoms",nautical_mile:"nautical-miles",chain_us:"us-chains",link_us:"us-links",mile_us:"us-miles",yard_clarke:"clarke-yards",chain_clarke:"clarke-chains",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",link_sears:"sears-links",yard_benoit_1895_a:"benoit-1895-a-yards",foot_benoit_1895_a:"benoit-1895-a-feet",chain_benoit_1895_a:"benoit-1895-a-chains",link_benoit_1895_a:"benoit-1895-a-links",yard_benoit_1895_b:"benoit-1895-b-yards",foot_benoit_1895_b:"benoit-1895-b-feet",chain_benoit_1895_b:"benoit-1895-b-chains",link_benoit_1895_b:"benoit-1895-b-links",foot_1865:"1865-feet",foot_indian:"indian-feet",foot_indian_1937:"indian-1937-feet",foot_indian_1962:"indian-1962-feet",foot_indian_1975:"indian-1975-feet",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",yard_indian_1962:"indian-1962-yards",yard_indian_1975:"indian-1975-yards",statute_mile:"statute-miles",foot_gold_coast:"gold-coast-feet",foot_british_1936:"british-1936-feet",yard:"yards",chain:"chains",link:"links",yard_sears_1922_truncated:"sears-1922-truncated-yards",foot_sears_1922_truncated:"sears-1922-truncated-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains",link_sears_1922_truncated:"sears-1922-truncated-links",yard_us:"us-yards",inch:"inches",inch_us:"us-inches",rod:"rods",rod_us:"us-rods",nautical_mile_us:"us-nautical-miles",nautical_mile_uk:"uk-nautical-miles",smoot:"smoots",vara_tx:"tx-vara",point:"points"}),d=e=>e*e,E=e=>e*e*e,m={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},meters:{inBaseUnits:1},feet:{inBaseUnits:.3048},"us-feet":{inBaseUnits:.3048006096012192},"clarke-feet":{inBaseUnits:.3047972654},fathoms:{inBaseUnits:1.8288},"nautical-miles":{inBaseUnits:1852},"german-meters":{inBaseUnits:1.0000135965},"us-chains":{inBaseUnits:20.11684023368047},"us-links":{inBaseUnits:.2011684023368047},"us-miles":{inBaseUnits:1609.347218694438},kilometers:{inBaseUnits:1e3},"clarke-yards":{inBaseUnits:.9143917962},"clarke-chains":{inBaseUnits:20.1166195164},"clarke-links":{inBaseUnits:.201166195164},"sears-yards":{inBaseUnits:.9143984146160287},"sears-feet":{inBaseUnits:.3047994715386762},"sears-chains":{inBaseUnits:20.11676512155263},"sears-links":{inBaseUnits:.2011676512155263},"benoit-1895-a-yards":{inBaseUnits:.9143992},"benoit-1895-a-feet":{inBaseUnits:.3047997333333333},"benoit-1895-a-chains":{inBaseUnits:20.1167824},"benoit-1895-a-links":{inBaseUnits:.201167824},"benoit-1895-b-yards":{inBaseUnits:.9143992042898124},"benoit-1895-b-feet":{inBaseUnits:.3047997347632708},"benoit-1895-b-chains":{inBaseUnits:20.11678249437587},"benoit-1895-b-links":{inBaseUnits:.2011678249437587},"1865-feet":{inBaseUnits:.3048008333333334},"indian-feet":{inBaseUnits:.3047995102481469},"indian-1937-feet":{inBaseUnits:.30479841},"indian-1962-feet":{inBaseUnits:.3047996},"indian-1975-feet":{inBaseUnits:.3047995},"indian-yards":{inBaseUnits:.9143985307444408},"indian-1937-yards":{inBaseUnits:.91439523},"indian-1962-yards":{inBaseUnits:.9143988},"indian-1975-yards":{inBaseUnits:.9143985},miles:{inBaseUnits:1609.344},"statute-miles":{inBaseUnits:1609.344},"gold-coast-feet":{inBaseUnits:.3047997101815088},"british-1936-feet":{inBaseUnits:.3048007491},yards:{inBaseUnits:.9144},chains:{inBaseUnits:20.1168},links:{inBaseUnits:.201168},"sears-1922-truncated-yards":{inBaseUnits:.914398},"sears-1922-truncated-feet":{inBaseUnits:.3047993333333334},"sears-1922-truncated-chains":{inBaseUnits:20.116756},"sears-1922-truncated-links":{inBaseUnits:.20116756},"us-yards":{inBaseUnits:.9144018288036576},decimeters:{inBaseUnits:.1},inches:{inBaseUnits:.0254},"us-inches":{inBaseUnits:.0254000508001016},rods:{inBaseUnits:5.0292},"us-rods":{inBaseUnits:5.029210058420118},"us-nautical-miles":{inBaseUnits:1853.248},"uk-nautical-miles":{inBaseUnits:1853.184},smoots:{inBaseUnits:1.7018},"tx-vara":{inBaseUnits:.8466683600033867},points:{inBaseUnits:.0003527777777777778},micrometers:{inBaseUnits:1e-6},nanometers:{inBaseUnits:1e-9},"50-kilometers":{inBaseUnits:5e4},"150-kilometers":{inBaseUnits:15e4}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:d(.001)},"square-centimeters":{inBaseUnits:d(.01)},"square-decimeters":{inBaseUnits:d(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:d(1e3)},"square-inches":{inBaseUnits:d(.0254)},"square-feet":{inBaseUnits:d(.3048)},"square-yards":{inBaseUnits:d(.9144)},"square-miles":{inBaseUnits:d(1609.344)},"square-nautical-miles":{inBaseUnits:d(1852)},"square-us-feet":{inBaseUnits:d(1200/3937)},acres:{inBaseUnits:.0015625*d(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},megaliters:{inBaseUnits:1e6},gigaliters:{inBaseUnits:1e9},"cubic-millimeters":{inBaseUnits:1e3*E(.001)},"cubic-centimeters":{inBaseUnits:1e3*E(.01)},"cubic-decimeters":{inBaseUnits:1e3*E(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*E(1e3)},"cubic-inches":{inBaseUnits:1e3*E(.0254)},"cubic-feet":{inBaseUnits:1e3*E(.3048)},"cubic-yards":{inBaseUnits:1e3*E(.9144)},"cubic-miles":{inBaseUnits:1e3*E(1609.344)},"cubic-us-feet":{inBaseUnits:1e3*E(1200/3937)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},h=(()=>{const e={};for(const t in m)for(const r in m[t].units)e[r]=t;return e})(),T=["metric","imperial","inches","feet","yards","miles","nautical-miles","us-feet","millimeters","centimeters","decimeters","meters","kilometers"],y=new Map([["meters","square-meters"],["feet","square-feet"],["us-feet","square-us-feet"]]);function g(e){const t=h[e];if(!t)throw new Error("unknown type");return t}function S(e,t=null){return t=t||g(e),m[t].baseUnit===e}function M(e,t,r){if(t===r)return e;const o=g(t);if(o!==g(r))throw new Error("incompatible units");const n=S(t,o)?e:function(e,t,r){return e*m[r].units[t].inBaseUnits}(e,t,o);return S(r,o)?n:function(e,t,r){return e/m[r].units[t].inBaseUnits}(n,r,o)}function U(e,t,r,o=!1){if(!o&&(0,s.EA)(t))throw new Error("Unable to convert from an angular unit to a linear unit.");const n=b(t);return n!==r&&(e=n?M(e,n,r):M(e*=C(t),"meters",r)),e}function O(e,t,r,o=!1){if(!o&&(0,s.EA)(r))throw new Error("Unable to convert from a linear unit to an angular unit.");const n=b(r);return t!==n&&(e=n?M(e,t,n):M(e,t,"meters")/C(r)),e}function A(e,t,r){return M(e,t,"meters")/(r*Math.PI/180)}function R(e){return p.fromJSON(e.toLowerCase())||null}function N(e){return null==e||(0,n.B3)(e)?k(e,!1)??1:1}function G(e){return C(e)>=(0,n.tO)(e).metersPerDegree?"meters":b(e)}function C(e,t=i.$O.metersPerDegree){return k(e,!0)??t}function k(e,t=!1){const r=e?.wkid??null,o=e?.wkt2??e?.wkt??null;let n=null;if(r){if((0,s.tl)(r))return i.sH.metersPerDegree;if((0,s.ZL)(r))return i.Sw.metersPerDegree;n=u.values[u[r]],!n&&t&&P.has(r)&&(n=l)}else o&&(Y(o)?n=I(c.exec(o),n):x(o)&&(n=I(_.exec(o),n)));return n}function w(e){return(0,s.EA)(e)?1:C(e)}function I(e,t){return e?.[1]?D(e[1]):t}function D(e){return parseFloat(e.split(",")[1])}function b(e){const t=e?.wkid??null,r=e?.wkt2??e?.wkt??null;let o=null;if(t)o=u.units[u[t]];else if(r){const e=Y(r)?c:x(r)?_:null;if(e){const t=e.exec(r);t?.[1]&&(o=function(e){const t=/[\\"']([^\\"']+)/.exec(e);let r=t?.[1];if(!r||!R(r)){const t=D(e);r=null;const o=u.values;for(let e=0;e<o.length;++e)if(Math.abs(t-o[e])<1e-7){r=u.units[e];break}}return r}(t[1]))}}return null!=o?R(o):null}function B(e){const t=G(e);return null!=t&&T.includes(t)?t:null}function F(e){const t=b(e);return null==t?null:y.get(t)}function x(e){return/^GEOCCS/i.test(e)}function Y(e){return/^\s*(?:PROJCS|PROJCRS|PROJECTEDCRS)/i.test(e)}const W=(0,o.O)()({esriAcres:"acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-feet",esriSquareInches:"square-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-miles",esriSquareMillimeters:"square-millimeters",esriSquareUsFeet:"square-us-feet",esriSquareYards:"square-yards"}),j=(0,o.O)()({esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"}),v=(0,o.O)()({esriDUDecimalDegrees:"degrees",esriDURadians:"radians"});function L(e){switch(e){case"metric":case"ares":case"hectares":return"metric";case"imperial":case"acres":return"imperial";case"square-inches":return"inches";case"square-feet":return"feet";case"square-yards":return"yards";case"square-miles":return"miles";case"square-nautical-miles":return"nautical-miles";case"square-us-feet":return"us-feet";case"square-millimeters":return"millimeters";case"square-centimeters":return"centimeters";case"square-decimeters":return"decimeters";case"square-meters":return"meters";case"square-kilometers":return"kilometers"}throw new Error("unhandled area unit")}},16930(e,t,r){r.d(t,{A:()=>p});var o,n=r(5482),i=r(69622),s=r(25482),a=r(4718),f=r(86211),l=r(56507),c=r(10107),u=r(64108),_=r(43937),P=r(21325);let p=class extends s.o{static{o=this}static{this.GCS_NAD_1927=null}static{this.WGS84=null}static{this.WebMercator=null}static{this.PlateCarree=null}static fromJSON(e){if(!e)return null;if(102100===e.wkid||4326===e.wkid){const t=Object.keys(e).length;if(1===t||102100===e.wkid&&3857===e.latestWkid&&2===t)return 102100===e.wkid?o.WebMercator:o.WGS84}const t=new o;return t.read(e),t}constructor(e){super(e),this.latestWkid=null,this.wkid=null,this.wkt=null,this.wkt2=null,this.vcsWkid=null,this.latestVcsWkid=null,this.falseM=null,this.falseX=null,this.falseY=null,this.falseZ=null,this.mTolerance=null,this.mUnits=null,this.xyTolerance=null,this.xyUnits=null,this.zTolerance=null,this.zUnits=null,this.imageCoordinateSystem=null}normalizeCtorArgs(e){return e&&"object"==typeof e?e:"string"==typeof e?{wkt:e}:{wkid:e}}get cache(){return this.commitProperty("wkid"),this.commitProperty("latestWkid"),this.commitProperty("vcsWkid"),this.commitProperty("latestVcsWkid"),this.commitProperty("wkt"),this.commitProperty("wkt2"),this.commitProperty("imageCoordinateSystem"),this.commitProperty("falseM"),this.commitProperty("falseX"),this.commitProperty("falseY"),this.commitProperty("falseZ"),this.commitProperty("mTolerance"),this.commitProperty("mUnits"),this.commitProperty("xyTolerance"),this.commitProperty("xyUnits"),this.commitProperty("zTolerance"),this.commitProperty("zUnits"),{}}get isWGS84(){return(0,P.oT)(this)}get isWebMercator(){return(0,P.K8)(this)}get isGeographic(){return(0,P.EA)(this)}get isWrappable(){return(0,P.d9)(this)}get metersPerUnit(){return(0,f.GA)(this)}get unit(){return(0,f.Ij)(this)||(this.isGeographic?"degrees":null)}writeWkt(e,t){this.wkid||(t.wkt=e)}clone(){if(this===o.WGS84)return new o(P.KK);if(this===o.WebMercator)return new o(P.ch);const e=new o;return null!=this.wkid?(e.wkid=this.wkid,null!=this.latestWkid&&(e.latestWkid=this.latestWkid),null!=this.vcsWkid&&(e.vcsWkid=this.vcsWkid),null!=this.latestVcsWkid&&(e.latestVcsWkid=this.latestVcsWkid)):(null!=this.wkt&&(e.wkt=this.wkt),null!=this.wkt2&&(e.wkt2=this.wkt2)),this.imageCoordinateSystem&&(e.imageCoordinateSystem=(0,a.o8)(this.imageCoordinateSystem)),null!=this.falseM&&(e.falseM=this.falseM),null!=this.falseX&&(e.falseX=this.falseX),null!=this.falseY&&(e.falseY=this.falseY),null!=this.falseZ&&(e.falseZ=this.falseZ),null!=this.mTolerance&&(e.mTolerance=this.mTolerance),null!=this.mUnits&&(e.mUnits=this.mUnits),null!=this.xyTolerance&&(e.xyTolerance=this.xyTolerance),null!=this.xyUnits&&(e.xyUnits=this.xyUnits),null!=this.zTolerance&&(e.zTolerance=this.zTolerance),null!=this.zUnits&&(e.zUnits=this.zUnits),e}equals(e){if(null==e)return!1;if(this.imageCoordinateSystem||e.imageCoordinateSystem){if(null==this.imageCoordinateSystem||null==e.imageCoordinateSystem)return!1;const{id:t,referenceServiceName:r}=e.imageCoordinateSystem,{geodataXform:o}=e.imageCoordinateSystem,n=this.imageCoordinateSystem;return null==t||o?JSON.stringify(n)===JSON.stringify(e.imageCoordinateSystem):r?n.id===t&&n.referenceServiceName===r:n.id===t}return(0,P.aI)(this,e)}toJSON(e){return this.write(void 0,e)}};(0,n.Cg)([(0,c.MZ)({readOnly:!0})],p.prototype,"cache",null),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],p.prototype,"isWGS84",null),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],p.prototype,"isWebMercator",null),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],p.prototype,"isGeographic",null),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],p.prototype,"isWrappable",null),(0,n.Cg)([(0,c.MZ)({type:l.jz,json:{write:!0}})],p.prototype,"latestWkid",void 0),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],p.prototype,"metersPerUnit",null),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],p.prototype,"unit",null),(0,n.Cg)([(0,c.MZ)({type:l.jz,json:{write:!0,origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null==this.wkt}}}}}}})],p.prototype,"wkid",void 0),(0,n.Cg)([(0,c.MZ)({type:String,json:{origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null==this.wkid}}}}}}})],p.prototype,"wkt",void 0),(0,n.Cg)([(0,_.K)("wkt"),(0,_.K)("web-scene","wkt")],p.prototype,"writeWkt",null),(0,n.Cg)([(0,c.MZ)({type:String,json:{write:!1}})],p.prototype,"wkt2",void 0),(0,n.Cg)([(0,c.MZ)({type:l.jz,json:{write:!0}})],p.prototype,"vcsWkid",void 0),(0,n.Cg)([(0,c.MZ)({type:l.jz,json:{write:!0}})],p.prototype,"latestVcsWkid",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"falseM",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"falseX",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"falseY",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"falseZ",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"mTolerance",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"mUnits",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"xyTolerance",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"xyUnits",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"zTolerance",void 0),(0,n.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],p.prototype,"zUnits",void 0),(0,n.Cg)([(0,c.MZ)()],p.prototype,"imageCoordinateSystem",void 0),p=o=(0,n.Cg)([(0,u.$)("esri.geometry.SpatialReference")],p),p.prototype.toJSON.isDefaultToJSON=!0,p.GCS_NAD_1927=i.A.freeze(new p({wkid:4267,wkt:'GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]'})),p.WGS84=i.A.freeze(new p(P.KK)),p.WebMercator=i.A.freeze(new p(P.ch)),p.PlateCarree=i.A.freeze(new p(P.tQ))},73941(e,t,r){r.d(t,{B3:()=>E,FY:()=>a,KQ:()=>h,LJ:()=>f,Ro:()=>l,fv:()=>s,jA:()=>p,q8:()=>m,tO:()=>_,xP:()=>d,y7:()=>P});var o=r(79258),n=r(21325);function i(e){return{wkt:`GEOCCS["Spherical geocentric",\n DATUM["Not specified",\n SPHEROID["Sphere",${e.radius},0]],\n PRIMEM["Greenwich",0.0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",EAST],\n AXIS["Geocentric Z",NORTH]\n ]`}}const s=i(o.$O),a=i(o.sH),f=i(o.Sw),l={wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${o.$O.radius},298.257223563,\n AUTHORITY["EPSG","7030"]],\n AUTHORITY["EPSG","6326"]],\n PRIMEM["Greenwich",0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0,\n AUTHORITY["EPSG","9001"]],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",OTHER],\n AXIS["Geocentric Z",NORTH],\n AUTHORITY["EPSG","4978"]\n]`},c=a.wkt.toUpperCase(),u=f.wkt.toUpperCase();function _(e){if(null!=e&&(0,n.fn)(e)){const t=e.wkid,r=e.wkt2??e.wkt;if((0,n.tl)(t))return o.sH;const i=r?.toUpperCase();if(r&&i===c)return o.sH;if((0,n.ZL)(t)||i&&i===u)return o.Sw}return o.$O}function P(e){return(0,n.tl)(e)?o.sH:(0,n.ZL)(e)?o.Sw:o.$O}function p(e){return(0,n.aI)(e,s)}function d(e){return p(e)||(0,n.aI)(e,a)||(0,n.aI)(e,f)}function E(e){return!(m(e)||h(e))}function m(e){return(0,n.tl)(e?.wkid)||(0,n.aI)(e,a)}function h(e){return(0,n.ZL)(e?.wkid)||(0,n.aI)(e,f)}Math.cos(Math.PI/16/16)},79258(e,t,r){r.d(t,{$O:()=>n,Sw:()=>s,sH:()=>i});class o{constructor(e,t,r,o,n,i){this.semiMajorAxis=e,this.flattening=t,this.outerAtmosphereRimWidth=r,this.atmosphereHeight=o,this.scaleHeight=n;const s=1-this.flattening;this.semiMinorAxis=this.semiMajorAxis*s,this.halfSemiMajorAxis=this.semiMajorAxis/2,this.halfCircumference=Math.PI*this.semiMajorAxis,this.metersPerDegree=this.halfCircumference/180,this.inverseFlattening=1/(1-this.flattening)-1,this.eccentricitySquared=i||2*this.flattening-this.flattening*this.flattening,this.meanRadiusSemiAxes=(2*this.semiMajorAxis+this.semiMinorAxis)/3}get radius(){return this.semiMajorAxis}}const n=new o(6378137,1/298.257223563,3e5,1e5,.085,.006694379990137799),i=new o(3396190,1/169.8944472236118,23e4,6e4,.111),s=new o(1737400,0,0,0,0)},22530(e,t,r){let o;r.d(t,{A:()=>n});const n={values:[.001,1,.3048,.3048006096012192,.3047972654,.9143917962,.201166195164,.9143984146160287,.3047994715386762,20.11676512155263,20.11678249437587,.9143985307444408,.91439523,.3047997101815088,20.1168,20.116756,5e4,15e4],units:["Millimeter","Meter","Foot","Foot_US","Foot_Clarke","Yard_Clarke","Link_Clarke","Yard_Sears","Foot_Sears","Chain_Sears","Chain_Benoit_1895_B","Yard_Indian","Yard_Indian_1937","Foot_Gold_Coast","Chain","Chain_Sears_1922_Truncated","50_Kilometers","150_Kilometers"],2066:6,2136:13,2155:3,2157:1,2158:1,2159:13,2160:13,2204:3,2219:1,2220:1,2254:3,2255:3,2256:2,2265:2,2266:2,2267:3,2268:3,2269:2,2270:2,2271:3,2272:3,2273:2,2294:1,2295:1,2314:4,2899:3,2900:3,2901:2,2909:2,2910:2,2911:3,2912:3,2913:2,2914:2,2992:2,2993:1,2994:2,3080:2,3089:3,3090:1,3091:3,3102:3,3141:1,3142:1,3167:15,3359:3,3360:1,3361:2,3362:1,3363:3,3364:1,3365:3,3366:4,3404:3,3405:1,3406:1,3407:4,3439:1,3440:1,3479:2,3480:1,3481:2,3482:1,3483:2,3484:1,3485:3,3486:1,3487:3,3488:1,3489:1,3490:3,3491:1,3492:3,3493:1,3494:3,3495:1,3496:3,3497:1,3498:3,3499:1,3500:3,3501:1,3502:3,3503:1,3504:3,3505:1,3506:3,3507:1,3508:3,3509:1,3510:3,3511:1,3512:3,3513:1,3514:1,3515:3,3516:1,3517:3,3518:1,3519:3,3520:1,3521:3,3522:1,3523:3,3524:1,3525:3,3526:1,3527:3,3528:1,3529:3,3530:1,3531:3,3532:1,3533:3,3534:1,3535:3,3536:1,3537:3,3538:1,3539:3,3540:1,3541:3,3542:1,3543:3,3544:1,3545:3,3546:1,3547:3,3548:1,3549:3,3550:1,3551:3,3552:1,3553:3,3582:3,3583:1,3584:3,3585:1,3586:3,3587:1,3588:2,3589:1,3590:2,3591:1,3592:1,3593:2,3598:3,3599:1,3600:3,3605:2,3606:1,3607:1,3608:3,3609:1,3610:3,3611:1,3612:3,3613:1,3614:3,3615:1,3616:3,3617:1,3618:3,3619:1,3620:3,3621:1,3622:3,3623:1,3624:3,3625:1,3626:3,3627:1,3628:3,3629:1,3630:3,3631:1,3632:3,3633:1,3634:2,3635:1,3636:2,3640:3,3641:1,3642:3,3643:1,3644:2,3645:1,3646:2,3647:1,3648:2,3649:1,3650:3,3651:1,3652:3,3653:1,3654:3,3655:1,3656:2,3657:1,3658:3,3659:1,3660:3,3661:1,3662:3,3663:1,3664:3,3668:3,3669:1,3670:3,3671:1,3672:3,3673:1,3674:3,3675:1,3676:2,3677:3,3678:1,3679:2,3680:3,3681:1,3682:2,3683:3,3684:1,3685:1,3686:3,3687:1,3688:3,3689:1,3690:3,3691:1,3692:3,3696:3,3697:1,3698:3,3699:1,3700:3,3793:1,3794:1,3812:1,3854:1,3857:1,3920:1,3978:1,3979:1,3991:3,3992:3,4026:1,4037:1,4038:1,4071:1,4082:1,4083:1,4087:1,4088:1,4217:3,4414:1,4415:1,4417:1,4434:1,4437:1,4438:3,4439:3,4462:1,4467:1,4471:1,4474:1,4559:1,4647:1,4822:1,4826:1,4839:1,5018:1,5041:1,5042:1,5048:1,5221:1,5223:1,5234:1,5235:1,5243:1,5247:1,5266:1,5316:1,5320:1,5321:1,5325:1,5337:1,5361:1,5362:1,5367:1,5382:1,5383:1,5396:1,5456:1,5457:1,5469:1,5472:5,5490:1,5513:1,5514:1,5523:1,5559:1,5588:2,5589:4,5596:1,5627:1,5629:1,5641:1,5643:1,5644:1,5646:3,5654:3,5655:3,5659:1,5700:1,5825:1,5836:1,5837:1,5839:1,5842:1,5844:1,5858:1,5879:1,5880:1,5887:1,5890:1,6128:2,6129:2,6141:2,6204:1,6210:1,6211:1,6307:1,6312:1,6316:1,6362:1,6391:2,6405:2,6406:1,6407:2,6408:1,6409:2,6410:1,6411:3,6412:1,6413:3,6414:1,6415:1,6416:3,6417:1,6418:3,6419:1,6420:3,6421:1,6422:3,6423:1,6424:3,6425:1,6426:3,6427:1,6428:3,6429:1,6430:3,6431:1,6432:3,6433:1,6434:3,6435:1,6436:3,6437:1,6438:3,6439:1,6440:1,6441:3,6442:1,6443:3,6444:1,6445:3,6446:1,6447:3,6448:1,6449:3,6450:1,6451:3,6452:1,6453:3,6454:1,6455:3,6456:1,6457:3,6458:1,6459:3,6460:1,6461:3,6462:1,6463:3,6464:1,6465:3,6466:1,6467:3,6468:1,6469:3,6470:1,6471:3,6472:1,6473:3,6474:1,6475:3,6476:1,6477:3,6478:1,6479:3,6484:3,6485:1,6486:3,6487:1,6488:3,6489:1,6490:3,6491:1,6492:3,6493:1,6494:2,6495:1,6496:2,6497:1,6498:1,6499:2,6500:1,6501:3,6502:1,6503:3,6504:1,6505:3,6506:1,6507:3,6508:1,6509:1,6510:3,6515:2,6516:1,6518:1,6519:3,6520:1,6521:3,6522:1,6523:3,6524:1,6525:3,6526:1,6527:3,6528:1,6529:3,6530:1,6531:3,6532:1,6533:3,6534:1,6535:3,6536:1,6537:3,6538:1,6539:3,6540:1,6541:3,6542:1,6543:3,6544:1,6545:2,6546:1,6547:2,6548:1,6549:3,6550:1,6551:3,6552:1,6553:3,6554:1,6555:3,6556:1,6557:2,6558:1,6559:2,6560:1,6561:2,6562:1,6563:3,6564:1,6565:3,6566:1,6567:1,6568:3,6569:1,6570:2,6571:1,6572:3,6573:1,6574:3,6575:1,6576:3,6577:1,6578:3,6582:3,6583:1,6584:3,6585:1,6586:3,6587:1,6588:3,6589:1,6590:3,6591:1,6592:1,6593:3,6594:1,6595:3,6596:1,6597:3,6598:1,6599:3,6600:1,6601:3,6602:1,6603:3,6605:3,6606:1,6607:3,6608:1,6609:3,6610:1,6611:1,6612:3,6613:1,6614:3,6615:1,6616:3,6617:1,6618:3,6633:3,6646:1,6703:1,6784:1,6785:2,6786:1,6787:2,6788:1,6789:2,6790:1,6791:2,6792:1,6793:2,6794:1,6795:2,6796:1,6797:2,6798:1,6799:2,6800:1,6801:2,6802:1,6803:2,6804:1,6805:2,6806:1,6807:2,6808:1,6809:2,6810:1,6811:2,6812:1,6813:2,6814:1,6815:2,6816:1,6817:2,6818:1,6819:2,6820:1,6821:2,6822:1,6823:2,6824:1,6825:2,6826:1,6827:2,6828:1,6829:2,6830:1,6831:2,6832:1,6833:2,6834:1,6835:2,6836:1,6837:2,6838:1,6839:2,6840:1,6841:2,6842:1,6843:2,6844:1,6845:2,6846:1,6847:2,6848:1,6849:2,6850:1,6851:2,6852:1,6853:2,6854:1,6855:2,6856:1,6857:2,6858:1,6859:2,6860:1,6861:2,6862:1,6863:2,6867:1,6868:2,6870:1,6875:1,6876:1,6879:1,6880:3,6884:1,6885:2,6886:1,6887:2,6915:1,6922:1,6923:3,6924:1,6925:3,6962:1,6984:1,6991:1,7128:3,7131:1,7132:3,7142:1,7257:1,7258:3,7259:1,7260:3,7261:1,7262:3,7263:1,7264:3,7265:1,7266:3,7267:1,7268:3,7269:1,7270:3,7271:1,7272:3,7273:1,7274:3,7275:1,7276:3,7277:1,7278:3,7279:1,7280:3,7281:1,7282:3,7283:1,7284:3,7285:1,7286:3,7287:1,7288:3,7289:1,7290:3,7291:1,7292:3,7293:1,7294:3,7295:1,7296:3,7297:1,7298:3,7299:1,7300:3,7301:1,7302:3,7303:1,7304:3,7305:1,7306:3,7307:1,7308:3,7309:1,7310:3,7311:1,7312:3,7313:1,7314:3,7315:1,7316:3,7317:1,7318:3,7319:1,7320:3,7321:1,7322:3,7323:1,7324:3,7325:1,7326:3,7327:1,7328:3,7329:1,7330:3,7331:1,7332:3,7333:1,7334:3,7335:1,7336:3,7337:1,7338:3,7339:1,7340:3,7341:1,7342:3,7343:1,7344:3,7345:1,7346:3,7347:1,7348:3,7349:1,7350:3,7351:1,7352:3,7353:1,7354:3,7355:1,7356:3,7357:1,7358:3,7359:1,7360:3,7361:1,7362:3,7363:1,7364:3,7365:1,7366:3,7367:1,7368:3,7369:1,7370:3,7877:1,7878:1,7882:1,7883:1,7887:1,7899:1,7991:1,7992:1,8035:3,8036:3,8058:1,8059:1,8082:1,8083:1,8088:1,8090:1,8091:3,8092:1,8093:3,8095:1,8096:3,8097:1,8098:3,8099:1,8100:3,8101:1,8102:3,8103:1,8104:3,8105:1,8106:3,8107:1,8108:3,8109:1,8110:3,8111:1,8112:3,8113:1,8114:3,8115:1,8116:3,8117:1,8118:3,8119:1,8120:3,8121:1,8122:3,8123:1,8124:3,8125:1,8126:3,8127:1,8128:3,8129:1,8130:3,8131:1,8132:3,8133:1,8134:3,8135:1,8136:3,8137:1,8138:3,8139:1,8140:3,8141:1,8142:3,8143:1,8144:3,8145:1,8146:3,8147:1,8148:3,8149:1,8150:3,8151:1,8152:3,8153:1,8154:3,8155:1,8156:3,8157:1,8158:3,8159:1,8160:3,8161:1,8162:3,8163:1,8164:3,8165:1,8166:3,8167:1,8168:3,8169:1,8170:3,8171:1,8172:3,8173:1,8177:3,8179:1,8180:3,8181:1,8182:3,8184:1,8185:3,8187:1,8189:3,8191:1,8193:3,8196:1,8197:3,8198:1,8200:3,8201:1,8202:3,8203:1,8204:3,8205:1,8206:3,8207:1,8208:3,8209:1,8210:3,8212:1,8213:3,8214:1,8216:3,8218:1,8220:3,8222:1,8224:3,8225:1,8226:3,8311:1,8312:2,8313:1,8314:2,8315:1,8316:2,8317:1,8318:2,8319:1,8320:2,8321:1,8322:2,8323:1,8324:2,8325:1,8326:2,8327:1,8328:2,8329:1,8330:2,8331:1,8332:2,8333:1,8334:2,8335:1,8336:2,8337:1,8338:2,8339:1,8340:2,8341:1,8342:2,8343:1,8344:2,8345:1,8346:2,8347:1,8348:2,8352:1,8353:1,8379:1,8380:3,8381:1,8382:3,8383:1,8384:3,8385:1,8387:3,8391:1,8395:1,8433:1,8441:1,8455:1,8456:1,8531:3,8682:1,8686:1,8687:1,8692:1,8693:1,8826:1,8903:1,8950:1,8951:1,9039:1,9040:1,9141:1,9149:1,9150:1,9191:1,9221:1,9222:1,9249:1,9250:1,9252:1,9254:1,9265:1,9284:1,9285:1,9300:1,9354:1,9367:1,9373:1,9377:1,9387:1,9391:1,9456:1,9473:1,9498:1,9674:1,9678:1,9680:1,9709:1,9712:1,9713:1,9716:1,9741:1,9748:3,9749:3,9761:1,9766:1,9793:1,9794:1,9869:1,9874:1,9875:1,9880:1,9895:1,9943:1,9945:1,9947:1,9967:1,9972:1,9977:1,10160:1,10183:1,10188:1,10194:1,10199:1,10207:1,10212:1,10217:1,10222:1,10227:1,10235:1,10240:1,10250:1,10254:1,10270:1,10275:1,10280:1,10306:1,10329:1,10471:1,10477:1,10481:3,10516:3,10592:1,10594:1,10596:1,10598:1,10601:1,10603:1,10626:1,10632:1,10641:1,10665:1,10674:1,10699:1,10702:1,10744:1,10745:1,10759:1,10773:1,10801:1,10802:1,10820:1,10833:1,10836:1,10837:1,10851:1,10857:1,10863:1,10899:1,10917:1,20002:1,20042:1,20050:2,20499:1,20538:1,20539:1,20790:1,20791:1,21291:1,21292:1,21500:1,21817:1,21818:1,22032:1,22033:1,22091:1,22092:1,22239:1,22240:1,22332:1,22337:1,22338:1,22391:1,22392:1,22639:1,22700:1,22739:1,22770:1,22780:1,22832:1,23090:1,23095:1,23239:1,23240:1,23433:1,23700:1,24047:1,24048:1,24100:4,24200:1,24305:1,24306:1,24382:11,24383:1,24500:1,24547:1,24548:1,24571:10,24600:1,25e3:1,25231:1,25884:1,25932:1,26237:1,26331:1,26332:1,26432:1,26591:1,26592:1,26632:1,26692:1,27120:1,27200:1,27291:7,27292:7,27429:1,27492:1,27493:1,27500:1,28232:1,28600:1,28991:1,28992:1,29100:1,29101:1,29220:1,29221:1,29333:1,29635:1,29636:1,29701:1,29738:1,29739:1,29849:1,29850:1,29871:9,29872:8,29873:1,29874:1,30200:6,30339:1,30340:1,30591:1,30592:1,30791:1,30792:1,30800:1,31028:1,31121:1,31154:1,31170:1,31171:1,31370:1,31528:1,31529:1,31600:1,31700:1,31838:1,31839:1,31900:1,31901:1,32061:1,32062:1,32098:1,32099:3,32100:1,32104:1,32161:1,32766:1,53048:1,53049:1,65061:3,65062:3,102041:3,102064:12,102068:16,102069:17,102118:3,102119:2,102120:3,102121:3,102217:3,102218:1,102219:3,102220:3,102378:2,102379:2,102380:1,102381:2,102589:3,102599:3,102600:3,102604:3,102647:1,102704:3,102705:3,102706:1,102731:1,102732:1,102759:2,102760:2,102761:3,102762:1,102763:3,102764:1,102765:1,102766:3,102970:2,102974:3,102993:1,102994:1,102995:3,102996:3,103015:1,103016:3,103017:1,103018:3,103025:1,103026:1,103027:3,103028:3,103035:1,103036:1,103037:3,103038:3,103039:1,103040:1,103041:3,103042:3,103043:1,103044:1,103045:3,103046:3,103047:1,103048:1,103049:3,103050:3,103051:1,103052:3,103053:1,103054:3,103055:1,103056:3,103057:1,103058:1,103059:3,103060:3,103061:1,103062:1,103063:3,103064:3,103069:3,103070:1,103071:1,103072:3,103073:3,103086:1,103087:1,103088:3,103089:3,103094:2,103095:1,103096:3,103103:1,103104:3,103105:1,103106:3,103121:1,103122:3,103123:1,103124:1,103125:2,103126:2,103127:1,103128:1,103129:3,103130:3,103131:1,103132:1,103133:3,103134:3,103135:1,103136:1,103137:2,103138:2,103139:1,103140:3,103141:1,103142:3,103143:1,103144:3,103145:1,103146:2,103147:1,103148:1,103149:3,103150:3,103151:1,103152:3,103172:1,103173:3,103174:1,103175:1,103176:3,103177:3,103178:1,103179:1,103180:3,103181:3,103182:1,103183:1,103184:3,103185:3,103228:1,103229:1,103230:3,103231:3,103250:1,103251:3,103252:1,103253:3,103260:1,103261:1,103262:3,103263:3,103270:1,103271:1,103272:3,103273:3,103274:1,103275:1,103276:3,103277:3,103278:1,103279:1,103280:3,103281:3,103282:1,103283:1,103284:3,103285:3,103286:1,103287:3,103288:1,103289:3,103290:1,103291:3,103292:1,103293:1,103294:3,103295:3,103296:1,103297:1,103298:3,103299:3,103376:3,103377:1,103378:1,103379:3,103380:3,103393:1,103394:1,103395:3,103396:3,103472:1,103473:2,103474:1,103475:3,103482:1,103483:3,103484:1,103485:3,103500:1,103501:3,103502:1,103503:1,103504:2,103505:2,103506:1,103507:1,103508:3,103509:3,103510:1,103511:1,103512:3,103513:3,103514:1,103515:3,103516:1,103517:3,103518:1,103519:3,103520:1,103521:2,103522:1,103523:1,103524:3,103525:3,103526:1,103527:3,103561:3,103562:3,103563:1,103564:1,103565:3,103566:3,103567:1,103568:1,103569:3,103570:3,103584:1,103585:3,103586:1,103587:3,103588:2,103589:1,103590:3,103591:2,103592:1,103593:3,103594:2,103695:3,103897:2,103898:1,103899:1,103978:3,103979:1,103980:3,103981:1,103982:3,103986:3,103987:3,103988:1,103989:0,103991:1,112111:1};for(o=2e3;o<=2045;o++)n[o]=1;for(o=2056;o<=2065;o++)n[o]=1;for(o=2067;o<=2135;o++)n[o]=1;for(o=2137;o<=2154;o++)n[o]=1;for(o=2161;o<=2170;o++)n[o]=1;for(o=2172;o<=2193;o++)n[o]=1;for(o=2195;o<=2198;o++)n[o]=1;for(o=2200;o<=2203;o++)n[o]=1;for(o=2205;o<=2217;o++)n[o]=1;for(o=2222;o<=2224;o++)n[o]=2;for(o=2225;o<=2250;o++)n[o]=3;for(o=2251;o<=2253;o++)n[o]=2;for(o=2257;o<=2264;o++)n[o]=3;for(o=2274;o<=2279;o++)n[o]=3;for(o=2280;o<=2282;o++)n[o]=2;for(o=2283;o<=2289;o++)n[o]=3;for(o=2290;o<=2292;o++)n[o]=1;for(o=2308;o<=2313;o++)n[o]=1;for(o=2315;o<=2491;o++)n[o]=1;for(o=2494;o<=2866;o++)n[o]=1;for(o=2867;o<=2869;o++)n[o]=2;for(o=2870;o<=2888;o++)n[o]=3;for(o=2891;o<=2895;o++)n[o]=3;for(o=2896;o<=2898;o++)n[o]=2;for(o=2902;o<=2908;o++)n[o]=3;for(o=2915;o<=2920;o++)n[o]=3;for(o=2921;o<=2923;o++)n[o]=2;for(o=2924;o<=2930;o++)n[o]=3;for(o=2931;o<=2962;o++)n[o]=1;for(o=2964;o<=2968;o++)n[o]=3;for(o=2969;o<=2973;o++)n[o]=1;for(o=2975;o<=2991;o++)n[o]=1;for(o=2995;o<=3051;o++)n[o]=1;for(o=3054;o<=3079;o++)n[o]=1;for(o=3081;o<=3088;o++)n[o]=1;for(o=3092;o<=3101;o++)n[o]=1;for(o=3106;o<=3138;o++)n[o]=1;for(o=3146;o<=3151;o++)n[o]=1;for(o=3153;o<=3166;o++)n[o]=1;for(o=3168;o<=3172;o++)n[o]=1;for(o=3174;o<=3203;o++)n[o]=1;for(o=3294;o<=3358;o++)n[o]=1;for(o=3367;o<=3403;o++)n[o]=1;for(o=3408;o<=3416;o++)n[o]=1;for(o=3417;o<=3438;o++)n[o]=3;for(o=3441;o<=3446;o++)n[o]=3;for(o=3447;o<=3450;o++)n[o]=1;for(o=3451;o<=3459;o++)n[o]=3;for(o=3460;o<=3478;o++)n[o]=1;for(o=3554;o<=3559;o++)n[o]=1;for(o=3560;o<=3570;o++)n[o]=3;for(o=3571;o<=3581;o++)n[o]=1;for(o=3594;o<=3597;o++)n[o]=1;for(o=3601;o<=3604;o++)n[o]=1;for(o=3637;o<=3639;o++)n[o]=1;for(o=3665;o<=3667;o++)n[o]=1;for(o=3693;o<=3695;o++)n[o]=1;for(o=3701;o<=3727;o++)n[o]=1;for(o=3728;o<=3739;o++)n[o]=3;for(o=3740;o<=3751;o++)n[o]=1;for(o=3753;o<=3760;o++)n[o]=3;for(o=3761;o<=3773;o++)n[o]=1;for(o=3775;o<=3777;o++)n[o]=1;for(o=3779;o<=3781;o++)n[o]=1;for(o=3783;o<=3785;o++)n[o]=1;for(o=3788;o<=3791;o++)n[o]=1;for(o=3797;o<=3802;o++)n[o]=1;for(o=3814;o<=3816;o++)n[o]=1;for(o=3825;o<=3829;o++)n[o]=1;for(o=3832;o<=3841;o++)n[o]=1;for(o=3844;o<=3852;o++)n[o]=1;for(o=3873;o<=3885;o++)n[o]=1;for(o=3890;o<=3893;o++)n[o]=1;for(o=3907;o<=3912;o++)n[o]=1;for(o=3942;o<=3950;o++)n[o]=1;for(o=3968;o<=3970;o++)n[o]=1;for(o=3973;o<=3976;o++)n[o]=1;for(o=3986;o<=3989;o++)n[o]=1;for(o=3994;o<=3997;o++)n[o]=1;for(o=4048;o<=4051;o++)n[o]=1;for(o=4056;o<=4063;o++)n[o]=1;for(o=4093;o<=4096;o++)n[o]=1;for(o=4390;o<=4398;o++)n[o]=1;for(o=4399;o<=4413;o++)n[o]=3;for(o=4418;o<=4433;o++)n[o]=3;for(o=4455;o<=4457;o++)n[o]=3;for(o=4484;o<=4489;o++)n[o]=1;for(o=4491;o<=4554;o++)n[o]=1;for(o=4568;o<=4589;o++)n[o]=1;for(o=4652;o<=4656;o++)n[o]=1;for(o=4766;o<=4800;o++)n[o]=1;for(o=5014;o<=5016;o++)n[o]=1;for(o=5069;o<=5072;o++)n[o]=1;for(o=5105;o<=5130;o++)n[o]=1;for(o=5167;o<=5188;o++)n[o]=1;for(o=5253;o<=5259;o++)n[o]=1;for(o=5269;o<=5275;o++)n[o]=1;for(o=5292;o<=5311;o++)n[o]=1;for(o=5329;o<=5331;o++)n[o]=1;for(o=5343;o<=5349;o++)n[o]=1;for(o=5355;o<=5357;o++)n[o]=1;for(o=5387;o<=5389;o++)n[o]=1;for(o=5459;o<=5463;o++)n[o]=1;for(o=5479;o<=5482;o++)n[o]=1;for(o=5518;o<=5520;o++)n[o]=1;for(o=5530;o<=5539;o++)n[o]=1;for(o=5550;o<=5552;o++)n[o]=1;for(o=5562;o<=5583;o++)n[o]=1;for(o=5623;o<=5625;o++)n[o]=3;for(o=5631;o<=5639;o++)n[o]=1;for(o=5649;o<=5653;o++)n[o]=1;for(o=5663;o<=5680;o++)n[o]=1;for(o=5682;o<=5685;o++)n[o]=1;for(o=5875;o<=5877;o++)n[o]=1;for(o=5896;o<=5899;o++)n[o]=1;for(o=5921;o<=5940;o++)n[o]=1;for(o=6050;o<=6125;o++)n[o]=1;for(o=6244;o<=6275;o++)n[o]=1;for(o=6328;o<=6348;o++)n[o]=1;for(o=6350;o<=6356;o++)n[o]=1;for(o=6366;o<=6372;o++)n[o]=1;for(o=6381;o<=6387;o++)n[o]=1;for(o=6393;o<=6404;o++)n[o]=1;for(o=6480;o<=6483;o++)n[o]=1;for(o=6511;o<=6514;o++)n[o]=1;for(o=6579;o<=6581;o++)n[o]=1;for(o=6619;o<=6624;o++)n[o]=1;for(o=6625;o<=6627;o++)n[o]=3;for(o=6628;o<=6632;o++)n[o]=1;for(o=6634;o<=6637;o++)n[o]=1;for(o=6669;o<=6692;o++)n[o]=1;for(o=6707;o<=6709;o++)n[o]=1;for(o=6720;o<=6723;o++)n[o]=1;for(o=6732;o<=6738;o++)n[o]=1;for(o=6931;o<=6933;o++)n[o]=1;for(o=6956;o<=6959;o++)n[o]=1;for(o=7005;o<=7007;o++)n[o]=1;for(o=7057;o<=7070;o++)n[o]=3;for(o=7074;o<=7082;o++)n[o]=1;for(o=7109;o<=7118;o++)n[o]=1;for(o=7119;o<=7127;o++)n[o]=2;for(o=7374;o<=7376;o++)n[o]=1;for(o=7528;o<=7586;o++)n[o]=1;for(o=7587;o<=7645;o++)n[o]=3;for(o=7692;o<=7696;o++)n[o]=1;for(o=7755;o<=7787;o++)n[o]=1;for(o=7791;o<=7795;o++)n[o]=1;for(o=7799;o<=7801;o++)n[o]=1;for(o=7803;o<=7805;o++)n[o]=1;for(o=7825;o<=7831;o++)n[o]=1;for(o=7845;o<=7859;o++)n[o]=1;for(o=8013;o<=8032;o++)n[o]=1;for(o=8065;o<=8068;o++)n[o]=2;for(o=8518;o<=8529;o++)n[o]=3;for(o=8533;o<=8536;o++)n[o]=3;for(o=8538;o<=8540;o++)n[o]=3;for(o=8677;o<=8679;o++)n[o]=1;for(o=8836;o<=8840;o++)n[o]=1;for(o=8857;o<=8859;o++)n[o]=1;for(o=8908;o<=8910;o++)n[o]=1;for(o=9154;o<=9159;o++)n[o]=1;for(o=9205;o<=9218;o++)n[o]=1;for(o=9271;o<=9273;o++)n[o]=1;for(o=9295;o<=9297;o++)n[o]=1;for(o=9356;o<=9360;o++)n[o]=1;for(o=9404;o<=9407;o++)n[o]=1;for(o=9476;o<=9482;o++)n[o]=1;for(o=9487;o<=9494;o++)n[o]=1;for(o=9697;o<=9699;o++)n[o]=1;for(o=9821;o<=9865;o++)n[o]=1;for(o=10285;o<=10291;o++)n[o]=1;for(o=10314;o<=10317;o++)n[o]=1;for(o=10448;o<=10465;o++)n[o]=1;for(o=10726;o<=10729;o++)n[o]=1;for(o=10731;o<=10733;o++)n[o]=1;for(o=10792;o<=10795;o++)n[o]=1;for(o=10911;o<=10916;o++)n[o]=3;for(o=10921;o<=10926;o++)n[o]=1;for(o=10942;o<=10949;o++)n[o]=1;for(o=11114;o<=11118;o++)n[o]=1;for(o=20004;o<=20032;o++)n[o]=1;for(o=20047;o<=20049;o++)n[o]=1;for(o=20062;o<=20092;o++)n[o]=1;for(o=20135;o<=20138;o++)n[o]=1;for(o=20248;o<=20258;o++)n[o]=1;for(o=20348;o<=20358;o++)n[o]=1;for(o=20436;o<=20440;o++)n[o]=1;for(o=20822;o<=20824;o++)n[o]=1;for(o=20904;o<=20932;o++)n[o]=1;for(o=20934;o<=20936;o++)n[o]=1;for(o=21004;o<=21032;o++)n[o]=1;for(o=21035;o<=21037;o++)n[o]=1;for(o=21095;o<=21097;o++)n[o]=1;for(o=21148;o<=21150;o++)n[o]=1;for(o=21207;o<=21264;o++)n[o]=1;for(o=21307;o<=21364;o++)n[o]=1;for(o=21413;o<=21423;o++)n[o]=1;for(o=21453;o<=21463;o++)n[o]=1;for(o=21473;o<=21483;o++)n[o]=1;for(o=21780;o<=21782;o++)n[o]=1;for(o=21891;o<=21894;o++)n[o]=1;for(o=21896;o<=21899;o++)n[o]=1;for(o=22171;o<=22177;o++)n[o]=1;for(o=22181;o<=22187;o++)n[o]=1;for(o=22191;o<=22197;o++)n[o]=1;for(o=22207;o<=22222;o++)n[o]=1;for(o=22229;o<=22232;o++)n[o]=1;for(o=22234;o<=22236;o++)n[o]=1;for(o=22243;o<=22250;o++)n[o]=1;for(o=22262;o<=22265;o++)n[o]=1;for(o=22307;o<=22322;o++)n[o]=1;for(o=22348;o<=22357;o++)n[o]=1;for(o=22407;o<=22422;o++)n[o]=1;for(o=22462;o<=22465;o++)n[o]=1;for(o=22521;o<=22525;o++)n[o]=1;for(o=22607;o<=22622;o++)n[o]=1;for(o=22641;o<=22646;o++)n[o]=1;for(o=22648;o<=22657;o++)n[o]=1;for(o=22707;o<=22722;o++)n[o]=1;for(o=22762;o<=22765;o++)n[o]=1;for(o=22807;o<=22822;o++)n[o]=1;for(o=22991;o<=22994;o++)n[o]=1;for(o=23028;o<=23038;o++)n[o]=1;for(o=23301;o<=23333;o++)n[o]=3;for(o=23830;o<=23853;o++)n[o]=1;for(o=23866;o<=23872;o++)n[o]=1;for(o=23877;o<=23884;o++)n[o]=1;for(o=23886;o<=23894;o++)n[o]=1;for(o=23946;o<=23948;o++)n[o]=1;for(o=24311;o<=24313;o++)n[o]=1;for(o=24342;o<=24347;o++)n[o]=1;for(o=24370;o<=24374;o++)n[o]=11;for(o=24375;o<=24381;o++)n[o]=1;for(o=24718;o<=24721;o++)n[o]=1;for(o=24817;o<=24821;o++)n[o]=1;for(o=24877;o<=24882;o++)n[o]=1;for(o=24891;o<=24893;o++)n[o]=1;for(o=25391;o<=25395;o++)n[o]=1;for(o=25828;o<=25838;o++)n[o]=1;for(o=26191;o<=26195;o++)n[o]=1;for(o=26391;o<=26393;o++)n[o]=1;for(o=26701;o<=26722;o++)n[o]=1;for(o=26729;o<=26799;o++)n[o]=3;for(o=26801;o<=26803;o++)n[o]=3;for(o=26811;o<=26813;o++)n[o]=3;for(o=26847;o<=26870;o++)n[o]=3;for(o=26891;o<=26899;o++)n[o]=1;for(o=26901;o<=26923;o++)n[o]=1;for(o=26929;o<=26946;o++)n[o]=1;for(o=26948;o<=26998;o++)n[o]=1;for(o=27037;o<=27040;o++)n[o]=1;for(o=27205;o<=27232;o++)n[o]=1;for(o=27258;o<=27260;o++)n[o]=1;for(o=27391;o<=27398;o++)n[o]=1;for(o=27561;o<=27564;o++)n[o]=1;for(o=27571;o<=27574;o++)n[o]=1;for(o=27581;o<=27584;o++)n[o]=1;for(o=27591;o<=27594;o++)n[o]=1;for(o=27700;o<=27707;o++)n[o]=1;for(o=28191;o<=28193;o++)n[o]=1;for(o=28348;o<=28358;o++)n[o]=1;for(o=28402;o<=28432;o++)n[o]=1;for(o=28462;o<=28492;o++)n[o]=1;for(o=29118;o<=29122;o++)n[o]=1;for(o=29168;o<=29172;o++)n[o]=1;for(o=29177;o<=29185;o++)n[o]=1;for(o=29187;o<=29195;o++)n[o]=1;for(o=29900;o<=29903;o++)n[o]=1;for(o=30161;o<=30179;o++)n[o]=1;for(o=30491;o<=30494;o++)n[o]=1;for(o=30729;o<=30732;o++)n[o]=1;for(o=31251;o<=31259;o++)n[o]=1;for(o=31265;o<=31268;o++)n[o]=1;for(o=31275;o<=31279;o++)n[o]=1;for(o=31281;o<=31297;o++)n[o]=1;for(o=31461;o<=31469;o++)n[o]=1;for(o=31491;o<=31495;o++)n[o]=1;for(o=31917;o<=31922;o++)n[o]=1;for(o=31965;o<=32e3;o++)n[o]=1;for(o=32001;o<=32003;o++)n[o]=3;for(o=32005;o<=32031;o++)n[o]=3;for(o=32033;o<=32060;o++)n[o]=3;for(o=32064;o<=32067;o++)n[o]=3;for(o=32074;o<=32077;o++)n[o]=3;for(o=32081;o<=32086;o++)n[o]=1;for(o=32107;o<=32130;o++)n[o]=1;for(o=32133;o<=32159;o++)n[o]=1;for(o=32164;o<=32167;o++)n[o]=3;for(o=32180;o<=32199;o++)n[o]=1;for(o=32201;o<=32260;o++)n[o]=1;for(o=32301;o<=32360;o++)n[o]=1;for(o=32401;o<=32460;o++)n[o]=1;for(o=32501;o<=32560;o++)n[o]=1;for(o=32601;o<=32662;o++)n[o]=1;for(o=32664;o<=32667;o++)n[o]=3;for(o=32701;o<=32761;o++)n[o]=1;for(o=53001;o<=53004;o++)n[o]=1;for(o=53008;o<=53019;o++)n[o]=1;for(o=53021;o<=53032;o++)n[o]=1;for(o=53034;o<=53037;o++)n[o]=1;for(o=53042;o<=53046;o++)n[o]=1;for(o=53074;o<=53080;o++)n[o]=1;for(o=54001;o<=54004;o++)n[o]=1;for(o=54008;o<=54019;o++)n[o]=1;for(o=54021;o<=54032;o++)n[o]=1;for(o=54034;o<=54037;o++)n[o]=1;for(o=54042;o<=54046;o++)n[o]=1;for(o=54048;o<=54053;o++)n[o]=1;for(o=54074;o<=54080;o++)n[o]=1;for(o=54090;o<=54096;o++)n[o]=1;for(o=54098;o<=54101;o++)n[o]=1;for(o=65161;o<=65163;o++)n[o]=1;for(o=102001;o<=102040;o++)n[o]=1;for(o=102042;o<=102063;o++)n[o]=1;for(o=102065;o<=102067;o++)n[o]=1;for(o=102070;o<=102117;o++)n[o]=1;for(o=102122;o<=102216;o++)n[o]=1;for(o=102221;o<=102377;o++)n[o]=1;for(o=102382;o<=102388;o++)n[o]=1;for(o=102389;o<=102398;o++)n[o]=3;for(o=102399;o<=102444;o++)n[o]=1;for(o=102445;o<=102447;o++)n[o]=3;for(o=102448;o<=102458;o++)n[o]=1;for(o=102459;o<=102468;o++)n[o]=3;for(o=102469;o<=102499;o++)n[o]=1;for(o=102500;o<=102519;o++)n[o]=2;for(o=102520;o<=102524;o++)n[o]=1;for(o=102525;o<=102529;o++)n[o]=3;for(o=102530;o<=102588;o++)n[o]=1;for(o=102590;o<=102598;o++)n[o]=1;for(o=102601;o<=102603;o++)n[o]=1;for(o=102605;o<=102628;o++)n[o]=1;for(o=102629;o<=102646;o++)n[o]=3;for(o=102648;o<=102700;o++)n[o]=3;for(o=102701;o<=102703;o++)n[o]=1;for(o=102707;o<=102730;o++)n[o]=3;for(o=102733;o<=102758;o++)n[o]=3;for(o=102767;o<=102900;o++)n[o]=1;for(o=102901;o<=102933;o++)n[o]=3;for(o=102934;o<=102950;o++)n[o]=14;for(o=102951;o<=102969;o++)n[o]=1;for(o=102971;o<=102973;o++)n[o]=1;for(o=102975;o<=102989;o++)n[o]=1;for(o=102990;o<=102992;o++)n[o]=2;for(o=102997;o<=103002;o++)n[o]=1;for(o=103003;o<=103008;o++)n[o]=3;for(o=103009;o<=103011;o++)n[o]=1;for(o=103012;o<=103014;o++)n[o]=3;for(o=103019;o<=103021;o++)n[o]=1;for(o=103022;o<=103024;o++)n[o]=3;for(o=103029;o<=103031;o++)n[o]=1;for(o=103032;o<=103034;o++)n[o]=3;for(o=103065;o<=103068;o++)n[o]=1;for(o=103074;o<=103076;o++)n[o]=1;for(o=103077;o<=103079;o++)n[o]=2;for(o=103080;o<=103082;o++)n[o]=1;for(o=103083;o<=103085;o++)n[o]=3;for(o=103090;o<=103093;o++)n[o]=1;for(o=103097;o<=103099;o++)n[o]=1;for(o=103100;o<=103102;o++)n[o]=3;for(o=103107;o<=103109;o++)n[o]=1;for(o=103110;o<=103112;o++)n[o]=3;for(o=103113;o<=103116;o++)n[o]=1;for(o=103117;o<=103120;o++)n[o]=3;for(o=103153;o<=103157;o++)n[o]=1;for(o=103158;o<=103162;o++)n[o]=3;for(o=103163;o<=103165;o++)n[o]=1;for(o=103166;o<=103168;o++)n[o]=2;for(o=103169;o<=103171;o++)n[o]=3;for(o=103186;o<=103188;o++)n[o]=1;for(o=103189;o<=103191;o++)n[o]=3;for(o=103192;o<=103195;o++)n[o]=1;for(o=103196;o<=103199;o++)n[o]=3;for(o=103200;o<=103224;o++)n[o]=1;for(o=103225;o<=103227;o++)n[o]=2;for(o=103232;o<=103237;o++)n[o]=1;for(o=103238;o<=103243;o++)n[o]=3;for(o=103244;o<=103246;o++)n[o]=1;for(o=103247;o<=103249;o++)n[o]=3;for(o=103254;o<=103256;o++)n[o]=1;for(o=103257;o<=103259;o++)n[o]=3;for(o=103264;o<=103266;o++)n[o]=1;for(o=103267;o<=103269;o++)n[o]=3;for(o=103300;o<=103375;o++)n[o]=1;for(o=103381;o<=103383;o++)n[o]=1;for(o=103384;o<=103386;o++)n[o]=2;for(o=103387;o<=103389;o++)n[o]=1;for(o=103390;o<=103392;o++)n[o]=3;for(o=103397;o<=103399;o++)n[o]=1;for(o=103400;o<=103471;o++)n[o]=3;for(o=103476;o<=103478;o++)n[o]=1;for(o=103479;o<=103481;o++)n[o]=3;for(o=103486;o<=103488;o++)n[o]=1;for(o=103489;o<=103491;o++)n[o]=3;for(o=103492;o<=103495;o++)n[o]=1;for(o=103496;o<=103499;o++)n[o]=3;for(o=103528;o<=103543;o++)n[o]=1;for(o=103544;o<=103548;o++)n[o]=3;for(o=103549;o<=103551;o++)n[o]=1;for(o=103552;o<=103554;o++)n[o]=2;for(o=103555;o<=103557;o++)n[o]=3;for(o=103558;o<=103560;o++)n[o]=1;for(o=103571;o<=103573;o++)n[o]=1;for(o=103574;o<=103576;o++)n[o]=3;for(o=103577;o<=103580;o++)n[o]=1;for(o=103581;o<=103583;o++)n[o]=3;for(o=103595;o<=103694;o++)n[o]=1;for(o=103696;o<=103699;o++)n[o]=1;for(o=103700;o<=103793;o++)n[o]=3;for(o=103794;o<=103890;o++)n[o]=1;for(o=103891;o<=103896;o++)n[o]=3;for(o=103900;o<=103971;o++)n[o]=3;for(o=103972;o<=103977;o++)n[o]=1;for(o=103983;o<=103985;o++)n[o]=1;for(o=112e3;o<=112101;o++)n[o]=1;for(o=112151;o<=112156;o++)n[o]=1;for(o=112201;o<=112210;o++)n[o]=1;for(o=112212;o<=112235;o++)n[o]=1},21325(e,t,r){r.d(t,{EA:()=>p,K8:()=>h,KK:()=>U,Mc:()=>a,Vp:()=>_,YX:()=>P,ZL:()=>g,aI:()=>u,ch:()=>O,d9:()=>S,fn:()=>M,jp:()=>E,oT:()=>d,r1:()=>T,tQ:()=>A,tl:()=>y,x1:()=>m});var o=r(799),n=(r(83290),r(22530));const i=[102100,102113,3857,3785,900913],s=[4326,...i,104905,104971,104903],a=[-20037508.342788905,20037508.342788905],f=[-20037508.342787,20037508.342787],l={wkTemplate:'PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]',valid:a,origin:f,dx:1e-5},c={102113:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:a,origin:f,dx:1e-5},102100:l,3785:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:a,origin:f,dx:1e-5},3857:l,4326:{wkTemplate:'GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",{Central_Meridian}],UNIT["Degree",0.0174532925199433]]',altTemplate:'PROJCS["WGS_1984_Plate_Carree",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Plate_Carree"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],UNIT["Degrees",111319.491]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104971:{wkTemplate:'GEOGCS["Mars_2000_(Sphere)",DATUM["Mars_2000_(Sphere)",SPHEROID["Mars_2000_(Sphere)",3396190.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104905:{wkTemplate:'GEOGCS["GCS_Mars_2000",DATUM["D_Mars_2000",SPHEROID["Mars_2000_IAU_IAG",3396190.0,169.8944472236118]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5},900913:l,104903:{wkTemplate:'GEOGCS["GCS_Moon_2000",DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400,0,AUTHORITY["ESRI","107903"]],AUTHORITY["ESRI","106903"]],PRIMEM["Reference_Meridian",0,AUTHORITY["ESRI","108900"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["ESRI","104903"]]',valid:[-180,180],origin:[-180,90],dx:1e-5}};function u(e,t){if(e===t)return!0;if(null==e||null==t)return!1;const r=e.wkid,o=t.wkid;if(null!=r||null!=o){if(r===o)return!0;if(h(e)&&h(t))return!0;const n=e.latestWkid;if(null!=n&&o===n)return!0;const i=t.latestWkid;if(null!=i&&r===i)return!0;if(null!=r&&null!=o)return!1}let n,i;return e.wkt2&&t.wkt2?(n=e.wkt2,i=t.wkt2):e.wkt&&t.wkt&&(n=e.wkt,i=t.wkt),!(!n||!i)&&n.toUpperCase()===i.toUpperCase()}function _(e){const t=e?.wkid;return null!=t&&t>=2e3&&c[t]||null}function P(e){if(!e)return;const{wkid:t,vcsWkid:r,falseM:o,falseX:n,falseY:i,falseZ:s,mTolerance:a,mUnits:f,xyTolerance:l,xyUnits:c,zTolerance:u,zUnits:_}=e;if(t&&[r,o,n,i,s,a,f,l,c,u,_].every(e=>null==e))return String(t);const P={wkid:t,wkt:t?void 0:e.wkt||e.wkt2,vcsWkid:r,falseM:o,falseX:n,falseY:i,falseZ:s,mTolerance:a,mUnits:f,xyTolerance:l,xyUnits:c,zTolerance:u,zUnits:_};for(const[e,t]of Object.entries(P))null===t&&delete P[e];return JSON.stringify(P)}function p(e){if(!M(e))return!1;const{wkid:t}=e;if(t)return null==n.A[t];const r=e.wkt2||e.wkt;return!!r&&/^\s*(?:GEOGCS|GEOGCRS|GEOGRAPHICCRS)/i.test(r)}function d(e){return 4326===e?.wkid}function E(e){return/^\s*(?:GEOD|GEODETIC|GEOG|GEOGRAPHIC|PROJ|PROJECTED|VERT|VERTICAL|ENG|ENGINEERING|PARAMETRIC|TIME|DERIVEDPROJ|COMPOUND|BOUND)CRS/i.test(e)}function m(e){return 4490===e?.wkid}function h(e){const t=e?.wkid;return null!=t&&t>=2e3&&i.includes(t)}function T(e){return 32662===e?.wkid}function y(e){return 104971===e||104905===e}function g(e){return 104903===e}function S(e){const t=e?.wkid;return null!=t&&t>=2e3&&s.includes(t)}function M(e){if(null==e)return!1;const t=e.wkid;return null!=t&&t>=2e3||null!=e.wkt2||null!=e.wkt}const U={wkid:4326,wkt:(0,o.HC)(c[4326].wkTemplate,{Central_Meridian:"0.0"})},O={wkid:102100,latestWkid:3857},A={wkid:32662}}}]);