@arcgis/core 5.2.0-next.75 → 5.2.0-next.77

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 (295) hide show
  1. package/arcgisGlobal.d.ts +1 -0
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/013c9cc198736a72f7f2.js +1 -0
  4. package/assets/esri/core/workers/chunks/0194244a3f437ad74045.js +1 -0
  5. package/assets/esri/core/workers/chunks/040a73b2a23577e1eabd.js +1 -0
  6. package/assets/esri/core/workers/chunks/{0d3b2d9a19383bb63f0a.js → 05663093b1d2a268b953.js} +1 -1
  7. package/assets/esri/core/workers/chunks/{ad1d06a91121ebfe9162.js → 06c8547521ce9c97b258.js} +2 -2
  8. package/assets/esri/core/workers/chunks/{4dcd4a052b40047a9230.js → 08cac27df6c216ae1995.js} +1 -1
  9. package/assets/esri/core/workers/chunks/08ec5461af74356e7570.js +1 -0
  10. package/assets/esri/core/workers/chunks/0909816f13d25cacf250.js +1 -0
  11. package/assets/esri/core/workers/chunks/0933203eee15ea50e123.js +1 -0
  12. package/assets/esri/core/workers/chunks/{5e1d84e97de0e662aaa9.js → 1142f8e9c80207d6bdae.js} +1 -1
  13. package/assets/esri/core/workers/chunks/16929524565a677db4dc.js +1 -0
  14. package/assets/esri/core/workers/chunks/16a04fc184728d66e6e1.js +1 -0
  15. package/assets/esri/core/workers/chunks/177c3b23c1cbd4737049.js +1 -0
  16. package/assets/esri/core/workers/chunks/{d03e7be74c57c3dbf003.js → 17e9324a02b69733307a.js} +2 -2
  17. package/assets/esri/core/workers/chunks/1a467da4c0b33f655199.js +1 -0
  18. package/assets/esri/core/workers/chunks/1ef28d4457c8c943ad19.js +1 -0
  19. package/assets/esri/core/workers/chunks/{2b93888e61ca638490cf.js → 20b54e7872d967f3be32.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{5f31b375971ab067121e.js → 21f763694a41968ac21a.js} +1 -1
  21. package/assets/esri/core/workers/chunks/230925079cee040a8d77.js +1 -0
  22. package/assets/esri/core/workers/chunks/257f1e8316877f611e11.js +1 -0
  23. package/assets/esri/core/workers/chunks/270ed3070d118edb3f37.js +1 -0
  24. package/assets/esri/core/workers/chunks/29a20a37e7837142fa6b.js +2 -0
  25. package/assets/esri/core/workers/chunks/2e7c830b5b1fe406169f.js +1 -0
  26. package/assets/esri/core/workers/chunks/315031323e11a18154e3.js +1 -0
  27. package/assets/esri/core/workers/chunks/385b23d4bd5275031fb6.js +1 -0
  28. package/assets/esri/core/workers/chunks/393f79843d5a78c1cc37.js +1 -0
  29. package/assets/esri/core/workers/chunks/3958d92c737b3a2a3bc2.js +1 -0
  30. package/assets/esri/core/workers/chunks/3b5c5356353f1a2303a0.js +1 -0
  31. package/assets/esri/core/workers/chunks/{6743d726e45e7b660505.js → 4115bab15c19b4f5ae08.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{99e3aa4832ed87474ab4.js → 44857a76be2c0ac65bb9.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{4491dc227c28e2ab4f8e.js → 484b251fbcbffcb58323.js} +1 -1
  34. package/assets/esri/core/workers/chunks/48e2d0bfb62e1f4f2ad9.js +1 -0
  35. package/assets/esri/core/workers/chunks/{7f2f2a92dce3f68e579b.js → 4b54444c04fbd6f42c18.js} +1 -1
  36. package/assets/esri/core/workers/chunks/4c82f5f23004f905a18f.js +1 -0
  37. package/assets/esri/core/workers/chunks/53eed0941a39b56cc034.js +1 -0
  38. package/assets/esri/core/workers/chunks/56e6d8c4a9ed893ce951.js +1 -0
  39. package/assets/esri/core/workers/chunks/57159bcac86d660dcceb.js +1 -0
  40. package/assets/esri/core/workers/chunks/{36ec5b84e551ab08b24a.js → 57e26a86d46e02c89c4f.js} +1 -1
  41. package/assets/esri/core/workers/chunks/58026fc30d8a0ded4102.js +1 -0
  42. package/assets/esri/core/workers/chunks/59598023c0aea62a6297.js +1 -0
  43. package/assets/esri/core/workers/chunks/5bf2ce280ea35ea4c96b.js +1 -0
  44. package/assets/esri/core/workers/chunks/5fd2aa0be03dfb494efa.js +1 -0
  45. package/assets/esri/core/workers/chunks/619aa1381296172ff47b.js +1 -0
  46. package/assets/esri/core/workers/chunks/62f37d1075390a177ae9.js +1 -0
  47. package/assets/esri/core/workers/chunks/65d1e338612e59063eba.js +1 -0
  48. package/assets/esri/core/workers/chunks/680dd7b7638465eb33de.js +1 -0
  49. package/assets/esri/core/workers/chunks/{b14961a9f1f40028f141.js → 6c982779d6d47ec99899.js} +1 -1
  50. package/assets/esri/core/workers/chunks/{a52c88e2d837b525ff6c.js → 71ee7c51d2c60a180f1e.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{6b783f440c4a5d36e879.js → 75fc0b1db8e2e3fd2458.js} +1 -1
  52. package/assets/esri/core/workers/chunks/79429c8be5da85713200.js +1 -0
  53. package/assets/esri/core/workers/chunks/7b470d6ad182548b9e95.js +1 -0
  54. package/assets/esri/core/workers/chunks/7d8eb4dbea1916320f74.js +1 -0
  55. package/assets/esri/core/workers/chunks/{67f54586156d1ab80257.js → 81cd0cb9ae1371765d32.js} +1 -1
  56. package/assets/esri/core/workers/chunks/83556c9f6f85c2a46779.js +1 -0
  57. package/assets/esri/core/workers/chunks/{d1c7c877edc6948f3801.js → 8762da315cf5086167c3.js} +1 -1
  58. package/assets/esri/core/workers/chunks/87eaed6fdabd482d142e.js +1 -0
  59. package/assets/esri/core/workers/chunks/88d5541679e77117bf03.js +1 -0
  60. package/assets/esri/core/workers/chunks/894ebc64b698e5d7604b.js +1 -0
  61. package/assets/esri/core/workers/chunks/{4046bd65d7d0677f4600.js → 8d9a7fa14489897780d3.js} +1 -1
  62. package/assets/esri/core/workers/chunks/8e225dd0319672103561.js +1 -0
  63. package/assets/esri/core/workers/chunks/9199300ffd225a1bbef1.js +1 -0
  64. package/assets/esri/core/workers/chunks/{3e2b4e734aa20a308f3e.js → 95956d62591d689f1135.js} +1 -1
  65. package/assets/esri/core/workers/chunks/98613fded899c59f34a4.js +1 -0
  66. package/assets/esri/core/workers/chunks/9e1392a0c608a13ab036.js +1 -0
  67. package/assets/esri/core/workers/chunks/{53d165b4f30fd64e5d8a.js → a4e4fa4dd1a122bbf7cd.js} +1 -1
  68. package/assets/esri/core/workers/chunks/a5240c8a47842138f31f.js +1 -0
  69. package/assets/esri/core/workers/chunks/a69c10bfd632a5546b34.js +1 -0
  70. package/assets/esri/core/workers/chunks/a7727a2377470d586ff9.js +1 -0
  71. package/assets/esri/core/workers/chunks/{7a24cc0f3b4eff2bdb8e.js → ac2ba5c3d613d7d5183a.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{6cd6d0cfd313f0475d98.js → ac59218847e5ef4c4160.js} +1 -1
  73. package/assets/esri/core/workers/chunks/ac87be2210f868524996.js +1 -0
  74. package/assets/esri/core/workers/chunks/aed16c3e26652960ad3f.js +1 -0
  75. package/assets/esri/core/workers/chunks/{43713bc6f7eea07259d0.js → b084829a3fd709dc47a8.js} +1 -1
  76. package/assets/esri/core/workers/chunks/{05f6887805d92da03122.js → b24fc7eeda580ef020d2.js} +1 -1
  77. package/assets/esri/core/workers/chunks/{5ba3a30b7cbfa9e3aa62.js → b2812279662f1a5f8d06.js} +1 -1
  78. package/assets/esri/core/workers/chunks/b37a20c5c4a4686257d4.js +1 -0
  79. package/assets/esri/core/workers/chunks/{43a65cab888d43954564.js → b4abf82b8ac974a55ae1.js} +1 -1
  80. package/assets/esri/core/workers/chunks/b82763e9401b16121f8d.js +2 -0
  81. package/assets/esri/core/workers/chunks/bab5f4b2424b487b87ac.js +1 -0
  82. package/assets/esri/core/workers/chunks/bbc6b270d2032189107c.js +1 -0
  83. package/assets/esri/core/workers/chunks/bc6e488f5fbd50f9f3d0.js +1 -0
  84. package/assets/esri/core/workers/chunks/bd7d87d175ba933ab2ce.js +1 -0
  85. package/assets/esri/core/workers/chunks/{1c49c9472167a2e0c923.js → c17dda6fadb8bfad0d51.js} +1 -1
  86. package/assets/esri/core/workers/chunks/c1e5ffe9a251be5a0744.js +1 -0
  87. package/assets/esri/core/workers/chunks/c69cf08da4e4c2c824ee.js +1717 -0
  88. package/assets/esri/core/workers/chunks/ca6652c6304ad0e37e8f.js +1 -0
  89. package/assets/esri/core/workers/chunks/cd74de12005834244a47.js +1 -0
  90. package/assets/esri/core/workers/chunks/{762be5d3e6aeaea33f74.js → cef02ed3942c010da2e8.js} +1 -1
  91. package/assets/esri/core/workers/chunks/d520d407043bc52e5410.js +1 -0
  92. package/assets/esri/core/workers/chunks/da0ef984509057ec8507.js +1 -0
  93. package/assets/esri/core/workers/chunks/dff932682d6386a861ce.js +1 -0
  94. package/assets/esri/core/workers/chunks/{2c31648a4b95275516ee.js → e227eb44cd139fe2bc1b.js} +1 -1
  95. package/assets/esri/core/workers/chunks/e4e5a171a4874c5af4a4.js +1 -0
  96. package/assets/esri/core/workers/chunks/{ddb92c815d17c67a45e6.js → e5d114f2b57d2b8e2f1c.js} +1 -1
  97. package/assets/esri/core/workers/chunks/e89e6eea380ca2c13b64.js +1 -0
  98. package/assets/esri/core/workers/chunks/e9d352d030dcad1619a6.js +1 -0
  99. package/assets/esri/core/workers/chunks/{3de6e54b6ed0feae1940.js → eae51e827f629ab37207.js} +1 -1
  100. package/assets/esri/core/workers/chunks/eee1fd629619021ea279.js +1 -0
  101. package/assets/esri/core/workers/chunks/{b6cd165d0e58598f28a5.js → ef47a5da641cb0d33fdf.js} +1 -1
  102. package/assets/esri/core/workers/chunks/{0eb35e09765fd74eb698.js → ef803fb25741e9f2a0a1.js} +1 -1
  103. package/assets/esri/core/workers/chunks/f35e749bb5be39880cbe.js +1 -0
  104. package/assets/esri/core/workers/chunks/f3bbebedad51f776bb98.js +1 -0
  105. package/assets/esri/core/workers/chunks/{3dff36f6de181d9dcdc5.js → f40e4433e7608d0962a6.js} +1 -1
  106. package/assets/esri/core/workers/chunks/f703bc002c732d1c045d.js +1 -0
  107. package/assets/esri/core/workers/chunks/fdd4f78facec6387cdb0.js +1 -0
  108. package/assets/esri/core/workers/chunks/ffd5285c7b2c83208f87.js +2 -0
  109. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  110. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  111. package/assets/esri/libs/text/pkg/bundle_bg.wasm +0 -0
  112. package/chunks/HeatmapDensity.glsl.js +5 -5
  113. package/chunks/bundle2.js +1 -1
  114. package/chunks/lyr3DMain.js +1 -1
  115. package/chunks/lyr3DWorker.js +1 -1
  116. package/config.js +1 -1
  117. package/geometry/geometryEngine.js +1 -1
  118. package/geometry/support/centroid.js +1 -1
  119. package/geometry/support/extentUtils.js +1 -1
  120. package/geometry/support/frustum.js +1 -1
  121. package/geometry/support/webMercatorUtils.d.ts +38 -14
  122. package/kernel.js +1 -1
  123. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  124. package/layers/VectorTileLayer.d.ts +40 -22
  125. package/layers/graphics/data/QueryEngineResult.js +1 -1
  126. package/layers/graphics/data/projectionSupport.js +1 -1
  127. package/layers/graphics/sources/support/sourceUtils.js +1 -1
  128. package/layers/mixins/RasterJobHandlerMixin.js +1 -1
  129. package/layers/support/RasterJobHandler.js +1 -1
  130. package/layers/video/VideoController.js +1 -1
  131. package/package.json +4 -4
  132. package/support/revision.js +1 -1
  133. package/symbols/cim/animationUtils.js +1 -1
  134. package/symbols/cim/cimAnalyzer.js +1 -1
  135. package/symbols/cim/effects/EffectCircularSector.js +1 -1
  136. package/views/2d/engine/vectorTiles/SpriteMosaic.js +1 -1
  137. package/views/2d/engine/webgl/animations/infos.js +1 -1
  138. package/views/2d/engine/webgl/animations/instructions.js +1 -1
  139. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
  140. package/views/3d/GroundView3D.js +1 -1
  141. package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
  142. package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
  143. package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
  144. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  145. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  146. package/views/3d/layers/MediaLayerView3D.js +1 -1
  147. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  148. package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
  149. package/views/3d/layers/support/HeatmapFeatureProcessor.js +1 -1
  150. package/views/3d/state/HUDOccludedFragmentOpacity.js +1 -1
  151. package/views/3d/state/ViewState.js +1 -1
  152. package/views/3d/state/ViewStateManager.js +1 -1
  153. package/views/3d/support/GaussianSplatSortWorker.js +1 -1
  154. package/views/3d/support/GaussianSplatWorkerHandle.js +1 -1
  155. package/views/3d/support/flow/geometryUtils.js +1 -1
  156. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  157. package/views/3d/support/gaussianSplatting/GaussianTile.js +1 -1
  158. package/views/3d/support/renderInfoUtils/line.js +1 -1
  159. package/views/3d/support/renderInfoUtils/polygon.js +1 -1
  160. package/views/3d/terrain/DrapedZ.js +2 -0
  161. package/views/3d/terrain/OverlayManager.js +1 -1
  162. package/views/3d/terrain/OverlayRenderer.js +1 -1
  163. package/views/3d/terrain/PatchRenderDataWaterproofness.js +1 -1
  164. package/views/3d/terrain/TerrainRenderer.js +1 -1
  165. package/views/3d/terrain/TerrainSurface.js +1 -1
  166. package/views/3d/terrain/TerrainWaterproofnessDiagnostics.js +2 -0
  167. package/views/3d/webgl/RenderCamera.js +1 -1
  168. package/views/3d/webgl/RenderNode.js +1 -1
  169. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBuffer.glsl.js +2 -2
  170. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +2 -2
  171. package/views/3d/webgl-engine/lib/Geometry.js +1 -1
  172. package/views/3d/webgl-engine/lib/PositionReader.js +1 -1
  173. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBuffer.js +1 -1
  174. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFields.js +1 -1
  175. package/views/3d/webgl-engine/lib/screenPolygonOverlapUtils.js +1 -1
  176. package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
  177. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  178. package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
  179. package/views/3d/webgl-engine/parts/Model.js +1 -1
  180. package/views/3d/webgl-engine/shaders/HeatmapDensity.glsl.js +1 -1
  181. package/views/3d/webgl-engine/shaders/HeatmapDensityTechnique.js +1 -1
  182. package/views/support/waitForResources.js +1 -1
  183. package/views/webgl/RenderingContext.js +1 -1
  184. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +20 -6
  185. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  186. package/widgets/BatchAttributeForm/inputs/support/MultipleChoiceController.d.ts +100 -0
  187. package/widgets/BatchAttributeForm/inputs/support/MultipleChoiceController.js +2 -0
  188. package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
  189. package/widgets/BatchAttributeForm/inputs/support/multipleChoiceInputUtils.js +1 -1
  190. package/widgets/BatchAttributeForm.js +1 -1
  191. package/widgets/Feature/FeatureViewModel.d.ts +4 -3
  192. package/widgets/Feature/FeatureViewModel.js +1 -1
  193. package/widgets/Feature.js +1 -1
  194. package/widgets/Features/FeaturesViewModel.d.ts +4 -2
  195. package/widgets/Features/FeaturesViewModel.js +1 -1
  196. package/widgets/Features.js +1 -1
  197. package/widgets/OrientedImageryViewer.js +1 -1
  198. package/widgets/PanoramicViewer/PanoramicVideoViewerViewModel.js +1 -1
  199. package/widgets/PanoramicViewer/PanoramicViewerViewModel.js +1 -1
  200. package/widgets/Popup/PopupViewModel.d.ts +1 -0
  201. package/widgets/Popup/PopupViewModel.js +1 -1
  202. package/widgets/Popup.js +1 -1
  203. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceFeature.js +1 -1
  204. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
  205. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  206. package/widgets/UtilityNetworkTrace/support/ResultAreaHandler.js +1 -1
  207. package/assets/esri/core/workers/chunks/02dd79beb13eff6be85e.js +0 -1
  208. package/assets/esri/core/workers/chunks/0502641d9a214b37ff29.js +0 -1
  209. package/assets/esri/core/workers/chunks/0823961e5d0bdedbf8cf.js +0 -2
  210. package/assets/esri/core/workers/chunks/0aedeb837399d3f92e4a.js +0 -1
  211. package/assets/esri/core/workers/chunks/0bf644f93c180a2bc2f8.js +0 -705
  212. package/assets/esri/core/workers/chunks/0daaa89de339e8ea4b81.js +0 -1
  213. package/assets/esri/core/workers/chunks/1119a33245138e7b3914.js +0 -1
  214. package/assets/esri/core/workers/chunks/12234a63d3fa4bc25e7e.js +0 -1
  215. package/assets/esri/core/workers/chunks/186bedc377cc97731ca2.js +0 -2
  216. package/assets/esri/core/workers/chunks/1cf8fb704c48ac3d3b15.js +0 -1
  217. package/assets/esri/core/workers/chunks/2435ef7d11f8dbb920b7.js +0 -256
  218. package/assets/esri/core/workers/chunks/2791f3fe16ca5ee2f39a.js +0 -1
  219. package/assets/esri/core/workers/chunks/27f574acf52f2c8bc2c9.js +0 -1
  220. package/assets/esri/core/workers/chunks/2d45daacec0d5ed38782.js +0 -1
  221. package/assets/esri/core/workers/chunks/2ea3ca68cfa4d34e8f3b.js +0 -1
  222. package/assets/esri/core/workers/chunks/2f81047790c4890ae625.js +0 -1
  223. package/assets/esri/core/workers/chunks/3235e14fedb19dd94807.js +0 -1
  224. package/assets/esri/core/workers/chunks/32f5112c848efec6c33b.js +0 -1
  225. package/assets/esri/core/workers/chunks/3bc2943035391b44d4cf.js +0 -29
  226. package/assets/esri/core/workers/chunks/3c32471785bc8570e41c.js +0 -1
  227. package/assets/esri/core/workers/chunks/4295822fa6ef743c76f1.js +0 -1
  228. package/assets/esri/core/workers/chunks/42d5ed44111bea77ec71.js +0 -1462
  229. package/assets/esri/core/workers/chunks/46873badbd6ce8ff4e1e.js +0 -1
  230. package/assets/esri/core/workers/chunks/4710f21b138a2c9a0345.js +0 -1
  231. package/assets/esri/core/workers/chunks/4b5bd0c9a55ea2998601.js +0 -1
  232. package/assets/esri/core/workers/chunks/4c2794687aea172775a0.js +0 -1
  233. package/assets/esri/core/workers/chunks/4d9bde9f66817a92ceca.js +0 -1
  234. package/assets/esri/core/workers/chunks/4fe2cca405180af23364.js +0 -1
  235. package/assets/esri/core/workers/chunks/519af918050b47f93516.js +0 -1
  236. package/assets/esri/core/workers/chunks/5600fc334d20c4f0c83d.js +0 -1
  237. package/assets/esri/core/workers/chunks/5627f562dea8bae2f346.js +0 -1
  238. package/assets/esri/core/workers/chunks/5bf4ab72b9634b06cc5d.js +0 -1
  239. package/assets/esri/core/workers/chunks/5e3d5347223f0111f40f.js +0 -1
  240. package/assets/esri/core/workers/chunks/6f58cb9dffe8016397a2.js +0 -1
  241. package/assets/esri/core/workers/chunks/6fc3553c52af6ace926d.js +0 -1
  242. package/assets/esri/core/workers/chunks/7aaa051b51a8e34bbfb0.js +0 -1
  243. package/assets/esri/core/workers/chunks/7dc5aedc964eacd1be5a.js +0 -1
  244. package/assets/esri/core/workers/chunks/7f91e45156bbe88f9a62.js +0 -1
  245. package/assets/esri/core/workers/chunks/8302bffd28cc6720e0fe.js +0 -2
  246. package/assets/esri/core/workers/chunks/8a48a6760c33ed50b650.js +0 -1
  247. package/assets/esri/core/workers/chunks/8d21e2dabc5165f1c8ca.js +0 -1
  248. package/assets/esri/core/workers/chunks/903e1cd8b76eff19ebdf.js +0 -1
  249. package/assets/esri/core/workers/chunks/917c11cb40a7742d7f98.js +0 -1
  250. package/assets/esri/core/workers/chunks/91d133c04ca764d74934.js +0 -1
  251. package/assets/esri/core/workers/chunks/92c4464b67fce6cea134.js +0 -1
  252. package/assets/esri/core/workers/chunks/947f1ea4dbc3e3419ecc.js +0 -1
  253. package/assets/esri/core/workers/chunks/9482a6d7baa24bbf5693.js +0 -1
  254. package/assets/esri/core/workers/chunks/96cec8a02ca96175d602.js +0 -1
  255. package/assets/esri/core/workers/chunks/9902fcd2070c8eb6d043.js +0 -1
  256. package/assets/esri/core/workers/chunks/9b76c8974424a1908e86.js +0 -1
  257. package/assets/esri/core/workers/chunks/9be6827e5756031a56c1.js +0 -1
  258. package/assets/esri/core/workers/chunks/9cff18e6f751d1b3085e.js +0 -1
  259. package/assets/esri/core/workers/chunks/a101152066dd56259619.js +0 -1
  260. package/assets/esri/core/workers/chunks/a2a2c7e274fb32fecffa.js +0 -1
  261. package/assets/esri/core/workers/chunks/a3bf8aa81ee398da5b52.js +0 -1
  262. package/assets/esri/core/workers/chunks/a7a7d3289d4ca95f545f.js +0 -1
  263. package/assets/esri/core/workers/chunks/abb6c76d5dba3559a68e.js +0 -1
  264. package/assets/esri/core/workers/chunks/afeeb11b39e140303b5a.js +0 -1
  265. package/assets/esri/core/workers/chunks/b1a175b3b2d1a7ddde8e.js +0 -1
  266. package/assets/esri/core/workers/chunks/b78f509fd8e95f728178.js +0 -1
  267. package/assets/esri/core/workers/chunks/b858adff7043683fe41c.js +0 -1
  268. package/assets/esri/core/workers/chunks/be1d2c3a61e6447fbbc7.js +0 -1
  269. package/assets/esri/core/workers/chunks/c02ae1d40c1fe95ae6c5.js +0 -1
  270. package/assets/esri/core/workers/chunks/c1189316d24fb4cdb2a0.js +0 -1
  271. package/assets/esri/core/workers/chunks/c53b2be005721591e29b.js +0 -1
  272. package/assets/esri/core/workers/chunks/c82ab4f0908290e70ee9.js +0 -1
  273. package/assets/esri/core/workers/chunks/cc5ec6e99aa09342c704.js +0 -1
  274. package/assets/esri/core/workers/chunks/cd892c9603710d6130a9.js +0 -1
  275. package/assets/esri/core/workers/chunks/d021775cf747556660a5.js +0 -1
  276. package/assets/esri/core/workers/chunks/d633e98b0dfa0490e4de.js +0 -1
  277. package/assets/esri/core/workers/chunks/d79ce047afbc034f6008.js +0 -1
  278. package/assets/esri/core/workers/chunks/d8eca13c127b443141b7.js +0 -1
  279. package/assets/esri/core/workers/chunks/dbc9249dae41096d750d.js +0 -1
  280. package/assets/esri/core/workers/chunks/eb1a86159dbc098f06fe.js +0 -1
  281. package/assets/esri/core/workers/chunks/ec1841e6e498d54012eb.js +0 -1
  282. package/assets/esri/core/workers/chunks/ed1de8b7406269e217b9.js +0 -29
  283. package/assets/esri/core/workers/chunks/ee9eb381e675d2d01260.js +0 -1
  284. package/assets/esri/core/workers/chunks/f2ab8e49c7f17f488aa8.js +0 -1
  285. package/assets/esri/core/workers/chunks/f43a0edf58941e2ac78e.js +0 -1
  286. package/assets/esri/core/workers/chunks/f78acff510ca615d42e4.js +0 -1
  287. package/assets/esri/core/workers/chunks/f7a5c4d22a24e1ac433c.js +0 -1
  288. package/chunks/geometryEngineBase.js +0 -2
  289. package/geometry/geometryAdapters/json.js +0 -2
  290. package/geometry/geometryEngineJSON.js +0 -2
  291. /package/assets/esri/core/workers/chunks/{ad1d06a91121ebfe9162.js.LICENSE.txt → 06c8547521ce9c97b258.js.LICENSE.txt} +0 -0
  292. /package/assets/esri/core/workers/chunks/{d03e7be74c57c3dbf003.js.LICENSE.txt → 17e9324a02b69733307a.js.LICENSE.txt} +0 -0
  293. /package/assets/esri/core/workers/chunks/{0823961e5d0bdedbf8cf.js.LICENSE.txt → 29a20a37e7837142fa6b.js.LICENSE.txt} +0 -0
  294. /package/assets/esri/core/workers/chunks/{8302bffd28cc6720e0fe.js.LICENSE.txt → b82763e9401b16121f8d.js.LICENSE.txt} +0 -0
  295. /package/assets/esri/core/workers/chunks/{186bedc377cc97731ca2.js.LICENSE.txt → ffd5285c7b2c83208f87.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2932,6344],{68197(t,e,i){i.d(e,{A:()=>l});var n=i(40876),r=i(4576),s=i(34727),o=i(56507);function a(t){return(0,s.qE)((0,o.Vr)(t),0,255)}function h(t,e){const i=t.toString(16).padStart(2,"0");return e?i.slice(0,1):i}class l{static blendColors(t,e,i,n=new l){return n.r=Math.round(t.r+(e.r-t.r)*i),n.g=Math.round(t.g+(e.g-t.g)*i),n.b=Math.round(t.b+(e.b-t.b)*i),n.a=t.a+(e.a-t.a)*i,n._sanitize()}static fromRgb(t,e){const i=(0,n.lT)(t);return i?l.fromArray(i,e):null}static fromHex(t,e=new l){const i=(0,n.oW)(t);return i?l.fromArray(i,e):null}static fromArray(t,e=new l){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const i=(0,n.Eq)(t);return i?l.fromArray(i,e):null}static fromJSON(t){return null!=t?new l([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)l.fromString(t,this);else if((0,r.yc)(t))l.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof l||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,i=t?.digits??6,n=3===i||4===i,r=4===i||8===i,s=`#${h(this.r,n)}${h(this.g,n)}${h(this.b,n)}${r?h(Math.round(255*this.a),n):""}`;return e?s.toUpperCase():s}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=a(this.r),i=a(this.g),n=a(this.b);return 0===t||1!==this.a?[e,i,n,a(255*this.a)]:[e,i,n]}clone(){return new l(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,n.c1)(this.r),this.g=(0,n.c1)(this.g),this.b=(0,n.c1)(this.b),this.a=(0,n.G1)(this.a),this}_set(t,e,i,n){this.r=t,this.g=e,this.b=i,this.a=n}}l.prototype.declaredClass="esri.Color"},40876(t,e,i){i.d(e,{Eq:()=>f,G1:()=>d,TS:()=>s,V6:()=>r,Vm:()=>g,ay:()=>h,c1:()=>_,c4:()=>o,j5:()=>l,lT:()=>u,oW:()=>c,xV:()=>p});const n={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 r(t){return!!n[t]||!!n[t.toLowerCase()]}function s(t){return n[t]??n[t.toLowerCase()]}function o(t){return[...s(t)]}function a(t,e,i){i<0&&++i,i>1&&--i;const n=6*i;return n<1?t+(e-t)*n:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function h(t,e,i,n=1){const r=(t%360+360)%360/360,s=i<=.5?i*(e+1):i+e-i*e,o=2*i-s;return[Math.round(255*a(o,s,r+1/3)),Math.round(255*a(o,s,r)),Math.round(255*a(o,s,r-1/3)),n]}function l(t){const e=t.length>5,i=e?8:4,n=(1<<i)-1,r=e?1:17,s=e?9===t.length:5===t.length;let o=Number("0x"+t.slice(1));if(isNaN(o))return null;const a=[0,0,0,1];let h;return s&&(h=o&n,o>>=i,a[3]=r*h/255),h=o&n,o>>=i,a[2]=r*h,h=o&n,o>>=i,a[1]=r*h,h=o&n,o>>=i,a[0]=r*h,a}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),i=parseInt(t.slice(2,3),16),n=parseInt(t.slice(3,4),16),r=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,i+16*i,n+16*n,(r+16*r)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function u(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),i=e[1];if("rgb"===i&&3===t.length||"rgba"===i&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),m(e)}return m(t.map(t=>parseFloat(t)))}if("hsl"===i&&3===t.length||"hsla"===i&&4===t.length)return h(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function m(t){return t[0]=_(t[0]),t[1]=_(t[1]),t[2]=_(t[2]),t[3]=4===t.length?d(t[3]):1,t}function f(t){let e=r(t)?s(t):null;return e??=u(t),e??=c(t),e}function g(t){const e=f(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function d(t){return y(t,0,1)}function _(t){return Math.round(y(t,0,255))}function y(t,e,i){return t=Number(t),isNaN(t)?i:t<e?e:t>i?i:t}const b=1/2.2;function p(t){return t**b}i.d(e,["iw",0,b])},7762(t,e,i){var n,r=i(5482),s=i(98291),o=i(4576),a=i(65529),h=i(36563),l=i(4718),c=i(53966),u=i(93687),m=i(76030),f=i(56507),g=i(62788),d=i(10107),_=i(7695),y=i(64108),b=i(95488),p=i(12195);class v{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(t){this.defaultPrevented=!1,this.item=t}}class M{constructor(t,e,i,n,r){this.target=t,this.added=e,this.removed=i,this.start=n,this.deleteCount=r}}const z=new u.A(()=>new v,void 0,t=>{t.item=null,t.target=null,t.defaultPrevented=!1,t.cancellable=!1});function w(t){t&&"object"==typeof t&&"destroy"in t&&"function"==typeof t.destroy&&t.destroy()}function x(t){return t?t instanceof E?t.toArray():t.length?Array.prototype.slice.apply(t):[]:[]}function S(t){if(t?.length)return t[0]}function C(t,e,i,n){const r=Math.min(t.length-i,e.length-n);let s=0;for(;s<r&&t[i+s]===e[n+s];)s++;return s}function A(t,e,i,n){e&&e.forEach((e,r,s)=>{t.push(e),A(t,i.call(n,e,r,s),i,n)})}const I=new Set,L=new Set,k=new Set,T=new Map;let N=0,E=n=class extends a.nJ{static ofType(t){if(!t)return n;if(T.has(t))return T.get(t);let e=null;if("function"==typeof t)e=t.prototype.declaredClass;else if(t.base)e=t.base.prototype.declaredClass;else for(const i in t.typeMap){const n=t.typeMap[i].prototype.declaredClass;e?e+=` | ${n}`:e=n}let i=class extends n{};return(0,r.Cg)([(0,_.u)({Type:t,ensureType:"function"==typeof t?(0,f.dp)(t):(0,f.aq)(t)})],i.prototype,"itemType",void 0),i=(0,r.Cg)([(0,y.$)(`esri.core.Collection<${e}>`)],i),T.set(t,i),i}static isCollection(t){return null!=t&&t instanceof n}constructor(t){super(t),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new b.I,this._length=0,this._items=[],Object.defineProperty(this,"uid",{value:N++})}normalizeCtorArgs(t){return t?(0,o.yc)(t)||t instanceof n?{items:t}:t:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get length(){return this._length}set length(t){t>this._length?c.A.getLogger(this).error("#length=","Cannot increase the length of the collection by assigning to the length property."):this.splice(t,Math.max(0,this._length-t))}get items(){return(0,g.gc)(this._observable),this._items}set items(t){this._emitBeforeChanges(1)||(this._splice(0,this.length,x(t)),this._emitAfterChanges(1))}hasEventListener(t){return!this.destroyed&&("change"===t?this._chgListeners.length>0:super.hasEventListener(t))}on(t,e){if(this.destroyed)return(0,h.hA)();if("change"===t){const t=this._chgListeners,i={removed:!1,callback:e};return t.push(i),this._notifications&&this._notifications.push({listeners:t.slice(),items:this._items.slice(),changes:[]}),(0,h.hA)(()=>{i.removed=!0,t.splice(t.indexOf(i),1)})}return super.on(t,e)}once(t,e){const i="deref"in e?()=>e.deref():()=>e,n=this.on(t,t=>{i()?.call(null,t),n.remove()});return n}add(t,e){if((0,g.gc)(this._observable),this._emitBeforeChanges(1))return this;const i=this.getNextIndex(e??null);return this._splice(i,0,[t]),this._emitAfterChanges(1),this}addMany(t,e=this._items.length){if((0,g.gc)(this._observable),!t?.length)return this;if(this._emitBeforeChanges(1))return this;const i=this.getNextIndex(e);return this._splice(i,0,x(t)),this._emitAfterChanges(1),this}at(t){if((0,g.gc)(this._observable),(t=Math.trunc(t)||0)<0&&(t+=this.length),!(t<0||t>=this.length))return this._items[t]}removeAll(){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];const t=this._removeAllRaw();return this._emitAfterChanges(2),t}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,g.gc)(this._observable),this._createNewInstance({items:this._items.map(l.o8)})}concat(...t){(0,g.gc)(this._observable);const e=t.map(x);return this._createNewInstance({items:this._items.concat(...e)})}drain(t,e){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const i=this._splice(0,this.length),n=i.length;for(let r=0;r<n;r++)t.call(e,i[r],r,i);this._emitAfterChanges(2)}destroyAll(){this.drain(w)}destroyMany(t){const e=this.removeMany(t);return e.forEach(w),e}every(t,e){return(0,g.gc)(this._observable),this._items.every(t,e)}filter(t,e){(0,g.gc)(this._observable);const i=2===arguments.length?this._items.filter(t,e):this._items.filter(t);return this._createNewInstance({items:i})}find(t,e){return(0,g.gc)(this._observable),this._items.find(t,e)}findIndex(t,e){return(0,g.gc)(this._observable),this._items.findIndex(t,e)}findLast(t,e){return(0,g.gc)(this._observable),this._items.findLast(t,e)}findLastIndex(t,e){return(0,g.gc)(this._observable),this._items.findLastIndex(t,e)}flatten(t,e){(0,g.gc)(this._observable);const i=[];return A(i,this,t,e),new n(i)}forEach(t,e){return(0,g.gc)(this._observable),this._items.forEach(t,e)}getItemAt(t){return(0,g.gc)(this._observable),this._items[t]}getNextIndex(t){(0,g.gc)(this._observable);const e=this.length;return(t=t??e)<0?t=0:t>e&&(t=e),t}includes(t,e=0){return(0,g.gc)(this._observable),this._items.includes(t,e)}indexOf(t,e=0){return(0,g.gc)(this._observable),this._items.indexOf(t,e)}join(t=","){return(0,g.gc)(this._observable),this._items.join(t)}lastIndexOf(t,e=this.length-1){return(0,g.gc)(this._observable),this._items.lastIndexOf(t,e)}map(t,e){(0,g.gc)(this._observable);const i=this._items.map(t,e);return new n({items:i})}reorder(t,e=this.length-1){(0,g.gc)(this._observable);const i=this.indexOf(t);if(-1!==i){if(e<0?e=0:e>=this.length&&(e=this.length-1),i!==e){if(this._emitBeforeChanges(4))return t;this._splice(i,1),this._splice(e,0,[t]),this._emitAfterChanges(4)}return t}}pop(){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const t=S(this._splice(this.length-1,1));return this._emitAfterChanges(2),t}push(...t){return(0,g.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,t),this._emitAfterChanges(1)),this.length}reduce(t,e){(0,g.gc)(this._observable);const i=this._items;return 2===arguments.length?i.reduce(t,e):i.reduce(t)}reduceRight(t,e){(0,g.gc)(this._observable);const i=this._items;return 2===arguments.length?i.reduceRight(t,e):i.reduceRight(t)}remove(t){return(0,g.gc)(this._observable),this.removeAt(this.indexOf(t))}removeAt(t){if((0,g.gc)(this._observable),t<0||t>=this.length||this._emitBeforeChanges(2))return;const e=S(this._splice(t,1));return this._emitAfterChanges(2),e}removeMany(t){if((0,g.gc)(this._observable),!t?.length||this._emitBeforeChanges(2))return[];const e=t instanceof n?t.toArray():t,i=this._items,r=[],s=e.length;for(let t=0;t<s;t++){const n=e[t],s=i.indexOf(n);if(s>-1){const n=1+C(e,i,t+1,s+1),o=this._splice(s,n);o&&o.length>0&&r.push.apply(r,o),t+=n-1}}return this._emitAfterChanges(2),r}reverse(){if((0,g.gc)(this._observable),this._emitBeforeChanges(4))return this;const t=this._splice(0,this.length);return t&&(t.reverse(),this._splice(0,0,t)),this._emitAfterChanges(4),this}shift(){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const t=S(this._splice(0,1));return this._emitAfterChanges(2),t}slice(t=0,e=this.length){return(0,g.gc)(this._observable),this._createNewInstance({items:this._items.slice(t,e)})}some(t,e){return(0,g.gc)(this._observable),this._items.some(t,e)}sort(t){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(t))return this;const e=this._splice(0,this.length);return arguments.length?e.sort(t):e.sort(),this._splice(0,0,e),this._emitAfterChanges(4),this}_requiresSort(t=(t,e)=>t===e?0:t<e?-1:1){const e=this.length-1;for(let i=0;i<e;i++)if(t(this.items[i],this.items[i+1])>0)return!0;return!1}splice(t,e,...i){(0,g.gc)(this._observable),1===arguments.length&&(e=this.length),e??=0;const n=(e?2:0)|(i.length?1:0);if(this._emitBeforeChanges(n))return[];const r=this._splice(t,e,i)||[];return this._emitAfterChanges(n),r}toArray(){return(0,g.gc)(this._observable),this._items.slice()}toJSON(t){return(0,g.gc)(this._observable),this.toArray().map(e=>(0,p.W)(e)?e.toJSON(t):e)}toLocaleString(){return(0,g.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,g.gc)(this._observable),this._items.toString()}unshift(...t){return(0,g.gc)(this._observable),!t.length||this._emitBeforeChanges(1)||(this._splice(0,0,t),this._emitAfterChanges(1)),this.length}_createNewInstance(t){return new this.constructor(t)}_splice(t,e,i){const n=this._items,r=this.itemType;let s,o;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,m._)(()=>this._dispatchChange())),t<0&&(t+=this.length),e){if(o=n.splice(t,e),this.hasEventListener("before-remove")){const e=z.acquire();e.target=this,e.cancellable=!0;for(let i=0,r=o.length;i<r;i++)s=o[i],e.reset(s),this.emit("before-remove",e),e.defaultPrevented&&(o.splice(i,1),n.splice(t,0,s),t+=1,i-=1,r-=1);z.release(e)}if(this._length=this._items.length,this.hasEventListener("after-remove")){const t=z.acquire();t.target=this,t.cancellable=!1;const e=o.length;for(let i=0;i<e;i++)t.reset(o[i]),this.emit("after-remove",t);z.release(t)}}if(i?.length){if(r){const t=[];for(const e of i){const i=r.ensureType(e);null==i&&null!=e||t.push(i)}i=t}const e=this.hasEventListener("before-add"),s=this.hasEventListener("after-add"),o=t===this.length;if(e||s){const r=z.acquire();r.target=this,r.cancellable=!0;const a=z.acquire();a.target=this,a.cancellable=!1;for(const h of i)e?(r.reset(h),this.emit("before-add",r),r.defaultPrevented||(o?n.push(h):n.splice(t++,0,h),this._length=n.length,s&&(a.reset(h),this.emit("after-add",a)))):(o?n.push(h):n.splice(t++,0,h),this._length=n.length,a.reset(h),this.emit("after-add",a));z.release(a),z.release(r)}else{if(o)for(const t of i)n.push(t);else n.splice(t,0,...i);this._length=n.length}}if((i?.length||o?.length)&&this._notifyChangeEvent(i,o),this.hasEventListener("after-splice")){const n=new M(this,i,o,t,e);this.emit("after-splice",n)}return o}_emitBeforeChanges(t){let e=!1;if(this.hasEventListener("before-changes")){const i=z.acquire();i.target=this,i.cancellable=!0,i.type=t,this.emit("before-changes",i),e=i.defaultPrevented,z.release(i)}return e}_emitAfterChanges(t){if(this.hasEventListener("after-changes")){const e=z.acquire();e.target=this,e.cancellable=!1,e.type=t,this.emit("after-changes",e),z.release(e)}this._observable.notify()}_notifyChangeEvent(t,e){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:t,removed:e})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const t=this._notifications;this._notifications=null;for(const e of t){const t=e.changes;I.clear(),L.clear(),k.clear();for(const{added:e,removed:i}of t){if(e)if(0===k.size&&0===L.size)for(const t of e)I.add(t);else for(const t of e)L.has(t)?(k.add(t),L.delete(t)):k.has(t)||I.add(t);if(i)if(0===k.size&&0===I.size)for(const t of i)L.add(t);else for(const t of i)I.has(t)?I.delete(t):(k.delete(t),L.add(t))}const i=s.A.acquire();I.forEach(t=>{i.push(t)});const n=s.A.acquire();L.forEach(t=>{n.push(t)});const r=this._items,o=e.items,a=s.A.acquire();if(k.forEach(t=>{o.indexOf(t)!==r.indexOf(t)&&a.push(t)}),e.listeners&&(i.length||n.length||a.length)){const t={target:this,added:i,removed:n,moved:a},r=e.listeners.length;for(let i=0;i<r;i++){const n=e.listeners[i];n.removed||n.callback.call(this,t)}}s.A.release(i),s.A.release(n),s.A.release(a)}I.clear(),L.clear(),k.clear()}};(0,r.Cg)([(0,d.MZ)()],E.prototype,"_updating",void 0),(0,r.Cg)([(0,d.MZ)()],E.prototype,"_length",void 0),(0,r.Cg)([(0,d.MZ)()],E.prototype,"length",null),(0,r.Cg)([(0,d.MZ)()],E.prototype,"items",null),(0,r.Cg)([(0,d.MZ)({readOnly:!0})],E.prototype,"updating",null),E=n=(0,r.Cg)([(0,y.$)("esri.core.Collection")],E);const q=E;i.d(e,["A",0,q])},69052(t,e,i){i.d(e,{hr:()=>r});var n=i(34727);class r{constructor(t,e){this.min=t,this.max=e,this.range=e-t}normalize(t,e=0,i=!1){return s(this.range,this.min,this.max,t,e,i)}clamp(t,e=0){return(0,n.qE)(t-e,this.min,this.max)+e}monotonic(t,e,i){return t<e?e:e+o(this.range,t-e,i)}minimalMonotonic(t,e,i){return s(this.range,t,t+this.range,e,i)}center(t,e,i){return e=this.monotonic(t,e,i),this.normalize((t+e)/2,i)}diff(t,e,i){return this.monotonic(t,e,i)-t}shortestSignedDiff(t,e){t=this.normalize(t);const i=(e=this.normalize(e))-t,n=e<t?this.minimalMonotonic(t,e)-t:e-this.minimalMonotonic(e,t);return Math.abs(i)<Math.abs(n)?i:n}contains(t,e,i){return e=this.minimalMonotonic(t,e),(i=this.minimalMonotonic(t,i))>t&&i<e}}function s(t,e,i,n,r=0,s=!1){return(n-=r)<e?n+=o(t,e-n):n>i&&(n-=o(t,n-i)),s&&n===i&&(n=e),n+r}function o(t,e,i=0){return Math.ceil((e-i)/t)*t+i}const a=new r(0,2*Math.PI),h=(new r(-Math.PI,Math.PI),new r(0,360));i.d(e,["ie",0,h,"uC",0,a])},4902(t,e,i){var n=i(5482),r=i(64108);let s=0;const o=t=>{const e=t;let i=class extends e{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+s++})}};return i=(0,n.Cg)([(0,r.$)("esri.core.Identifiable")],i),i};o(class{}),i.d(e,["s",0,o])},66344(t,e,i){i.d(e,{q:()=>a});const n=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class r{get size(){return this._size}constructor(t=10485760,e=.3){this._maxSize=t,this._maxClientSizeRatio=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(t){this._clients.set(t.id.slice(0,-1),t)}deregister(t){this.clear(t),this._sizeLimits.delete(t),this._clients.delete(t.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(t){this._maxSize=Math.max(t,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(t,e){const i=this._db.get(t.id+e);return i?.size??0}put(t,e,i,r,o){e=t.id+e;const a=this._db.get(e);if(a&&(this._size-=a.size,t.size-=a.size,this._db.delete(e),a.entry!==i&&this._notifyRemove(e,a.entry,a.size,0)),r>this._maxSize)return void this._notifyRemove(e,i,r,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!r||r<0)return n||console.warn(`Refusing to cache entry with size ${r} for key ${e}`),void this._notifyRemove(e,i,0,0);const h=1+Math.max(o,-4)- -3;this._db.set(e,new s(i,r,h)),this._size+=r,t.size+=r,this._checkSize()}updateSize(t,e){e=t.id+e;const i=this._db.get(e);if(!i)return;this._size-=i.size,t.size-=i.size;let n=i.entry.usedMemory;for(;n>this._maxSize;){const t=this._notifyRemove(e,i.entry,n,1);if(!(null!=t&&t>0))return void this._db.delete(e);n=t}i.size=n,this._size+=n,t.size+=n,this._checkSize()}pop(t,e){e=t.id+e;const i=this._db.get(e);if(i)return this._size-=i.size,t.size-=i.size,this._db.delete(e),++this._hit,i.entry;++this._miss}get(t,e){e=t.id+e;const i=this._db.get(e);if(void 0!==i)return this._db.delete(e),i.lives=i.lifetime,this._db.set(e,i),++this._hit,i.entry;++this._miss}peek(t,e){const i=this._db.get(t.id+e);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const t={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},e={},i=new Array;this._db.forEach((t,n)=>{const r=t.lifetime;i[r]=(i[r]||0)+t.size,this._clients.forEach(i=>{const{id:r,name:s}=i;if(n.startsWith(r)){const i=e[s]||0;e[s]=i+t.size}})});const n={};this._clients.forEach(t=>{const i=t.name;if("hitRate"in t&&"number"==typeof t.hitRate&&!isNaN(t.hitRate)&&t.hitRate>0){const r=e[i]||0;e[i]=r,n[i]=Math.round(100*t.hitRate)+"%"}else n[i]="0%"});const r=Object.keys(e);r.sort((t,i)=>e[i]-e[t]),r.forEach(i=>t[i]=Math.round(e[i]/2**20)+"MB / "+n[i]);for(let e=i.length-1;e>=0;--e){const n=i[e];n&&(t["Priority "+(e+-3-1)]=Math.round(n/this._size*100)+"%")}return t}resetStats(){this._hit=this._miss=0,this._clients.forEach(t=>t.resetHitRate())}clear(t){const e=t.id;this._db.forEach((t,i)=>{i.startsWith(e)&&(this._size-=t.size,this._db.delete(i),this._notifyRemove(i,t.entry,t.size,0))}),t.size=0}clearAll(){this._db.forEach((t,e)=>this._notifyRemove(e,t.entry,t.size,0)),this._clients.forEach(t=>t.size=0),this._size=0,this._db.clear()}*values(t){for(const[e,i]of this._db)e.startsWith(t.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(t,e,i,n){const r=this._clients.get(t.split(o)[0])?.removeFunc,s=r?.(e,n,i);return"number"==typeof s?s:null}_checkSize(){this._sizeLimits.forEach((t,e)=>this._checkSizeLimits(t,e)),this._clients.forEach(t=>this._checkSizeLimits(this._maxClientSize,t)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(t,e){null==e||e<=0?this._sizeLimits.delete(t):this._sizeLimits.set(t,e)}_checkSizeLimits(t,e){const i=e??this;if(i.size<=t)return;const n=e?.id;let r=!0;for(;r;){r=!1;for(const[s,a]of this._db)if(0===a.lifetime&&(!n||s.startsWith(n))){const n=e??this._clients.get(s.split(o)[0]);if(this._purgeItem(s,a,n),i.size<=.9*t)return;r||=this._db.has(s)}}for(const[r,s]of this._db)if(!n||r.startsWith(n)){const n=e??this._clients.get(r.split(o)[0]);if(this._purgeItem(r,s,n),i.size<=.9*t)return}}_purgeItem(t,e,i){if(this._db.delete(t),e.lives<=1){this._size-=e.size,i&&(i.size-=e.size);const n=this._notifyRemove(t,e.entry,e.size,1);null!=n&&n>0&&(this._size+=n,i&&(i.size+=n),e.lives=e.lifetime,e.size=n,this._db.set(t,e))}else--e.lives,this._db.set(t,e)}}new r(0);class s{constructor(t,e,i){this.entry=t,this.size=e,this.lifetime=i,this.lives=i}}const o=":";class a{constructor(t,e){this.removeFunc=e,this.id="",this.name="",this.size=0,this._storage=new r(t,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(t,e,i=1){this._storage.put(this,t,e,i,1)}pop(t){return this._storage.pop(this,t)}get(t){return this._storage.get(this,t)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(t){this._storage.maxSize=t}resetHitRate(){}}},7695(t,e,i){function n(t){return(e,i)=>{e[i]=t}}i.d(e,{u:()=>n})},9093(t,e,i){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function r(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}i.d(e,{o8:()=>r,vt:()=>n});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:r,create:n,fromValues:function(t,e,i,n,r,s,o,a,h,l,c,u,m,f,g,d){return[t,e,i,n,r,s,o,a,h,l,c,u,m,f,g,d]}},Symbol.toStringTag,{value:"Module"})),i.d(e,["zK",0,s])},35522(t,e,i){i.d(e,{$A:()=>S,Bw:()=>s,C:()=>o,Cc:()=>C,DI:()=>z,Io:()=>b,Ln:()=>y,Om:()=>x,Qr:()=>u,Re:()=>l,S8:()=>w,T9:()=>d,WQ:()=>h,Z0:()=>A,_S:()=>f,aI:()=>R,ei:()=>I,fw:()=>k,g7:()=>T,gL:()=>L,hG:()=>p,hZ:()=>a,hs:()=>_,jk:()=>g,lw:()=>c,m3:()=>v,oW:()=>D,t2:()=>q,tn:()=>m,ze:()=>M});var n=i(51850),r=i(34304);function s(t){const e=t[0],i=t[1],n=t[2];return Math.sqrt(e*e+i*i+n*n)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,i,n){return t[0]=e,t[1]=i,t[2]=n,t}function h(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t[2]=e[2]+i[2],t}function l(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t[2]=e[2]-i[2],t}function c(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t[2]=e[2]*i[2],t}function u(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t[2]=e[2]/i[2],t}function m(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function f(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t[2]=Math.min(e[2],i[2]),t}function d(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t[2]=Math.max(e[2],i[2]),t}function _(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i,t}function y(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t[2]=e[2]+i[2]*n,t}function b(t,e){const i=e[0]-t[0],n=e[1]-t[1],r=e[2]-t[2];return Math.sqrt(i*i+n*n+r*r)}function p(t,e){const i=e[0]-t[0],n=e[1]-t[1],r=e[2]-t[2];return i*i+n*n+r*r}function v(t){const e=t[0],i=t[1],n=t[2];return e*e+i*i+n*n}function M(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function z(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function w(t,e){const i=e[0],n=e[1],r=e[2];let s=i*i+n*n+r*r;return s>0&&(s=1/Math.sqrt(s),t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s),t}function x(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function S(t,e,i){const n=e[0],r=e[1],s=e[2],o=i[0],a=i[1],h=i[2];return t[0]=r*h-s*a,t[1]=s*o-n*h,t[2]=n*a-r*o,t}function C(t,e,i,n){const r=e[0],s=e[1],o=e[2];return t[0]=r+n*(i[0]-r),t[1]=s+n*(i[1]-s),t[2]=o+n*(i[2]-o),t}function A(t,e,i){const n=e[0],r=e[1],s=e[2];return t[0]=i[0]*n+i[4]*r+i[8]*s+i[12],t[1]=i[1]*n+i[5]*r+i[9]*s+i[13],t[2]=i[2]*n+i[6]*r+i[10]*s+i[14],t}function I(t,e,i){const n=e[0],r=e[1],s=e[2];return t[0]=n*i[0]+r*i[3]+s*i[6],t[1]=n*i[1]+r*i[4]+s*i[7],t[2]=n*i[2]+r*i[5]+s*i[8],t}function L(t,e,i){return k(t,e,i[0],i[1],i[2],i[3])}function k(t,e,i,n,r,s){const o=e[0],a=e[1],h=e[2],l=n*h-r*a,c=r*o-i*h,u=i*a-n*o,m=n*u-r*c,f=r*l-i*u,g=i*c-n*l,d=2*s;return t[0]=o+l*d+2*m,t[1]=a+c*d+2*f,t[2]=h+u*d+2*g,t}function T(t,e){w(N,t),w(E,e);const i=x(N,E);return i>1?0:i<-1?Math.PI:Math.acos(i)}const N=(0,n.vt)(),E=(0,n.vt)();function q(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function R(t,e){if(t===e)return!0;const i=t[0],n=t[1],s=t[2],o=e[0],a=e[1],h=e[2],l=(0,r.FD)();return Math.abs(i-o)<=l*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(n-a)<=l*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(s-h)<=l*Math.max(1,Math.abs(s),Math.abs(h))}function D(t,e,i){const n=i[0]-e[0],r=i[1]-e[1],s=i[2]-e[2];let o=n*n+r*r+s*s;return o>0?(o=1/Math.sqrt(o),t[0]=n*o,t[1]=r*o,t[2]=s*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const P=l,O=c,F=u,j=b,B=p,G=s,W=v;Object.freeze(Object.defineProperty({__proto__:null,abs:m,add:h,angle:T,bezier:function(t,e,i,n,r,s){const o=1-s,a=o*o,h=s*s,l=a*o,c=3*s*a,u=3*h*o,m=h*s;return t[0]=e[0]*l+i[0]*c+n[0]*u+r[0]*m,t[1]=e[1]*l+i[1]*c+n[1]*u+r[1]*m,t[2]=e[2]*l+i[2]*c+n[2]*u+r[2]*m,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,i=1){return t[0]=Math.min(Math.max(t[0],e),i),t[1]=Math.min(Math.max(t[1],e),i),t[2]=Math.min(Math.max(t[2],e),i),t},copy:o,cross:S,crossAndNormalize:function(t,e,i){const n=e[0],r=e[1],s=e[2],o=i[0],a=i[1],h=i[2],l=r*h-s*a,c=s*o-n*h,u=n*a-r*o,m=Math.sqrt(l*l+c*c+u*u);return t[0]=l/m,t[1]=c/m,t[2]=u/m,t},direction:D,dist:j,distance:b,div:F,divide:u,dot:x,equals:R,exactEquals:q,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,i,n,r,s){const o=s*s,a=o*(2*s-3)+1,h=o*(s-2)+s,l=o*(s-1),c=o*(3-2*s);return t[0]=e[0]*a+i[0]*h+n[0]*l+r[0]*c,t[1]=e[1]*a+i[1]*h+n[1]*l+r[1]*c,t[2]=e[2]*a+i[2]*h+n[2]*l+r[2]*c,t},inverse:z,len:G,length:s,lerp:C,max:d,min:g,mul:O,multiply:c,negate:M,normalize:w,random:function(t,e=1){const i=r.Ov,n=2*i()*Math.PI,s=2*i()-1,o=Math.sqrt(1-s*s)*e;return t[0]=Math.cos(n)*o,t[1]=Math.sin(n)*o,t[2]=s*e,t},rotateX:function(t,e,i,n){const r=[],s=[];return r[0]=e[0]-i[0],r[1]=e[1]-i[1],r[2]=e[2]-i[2],s[0]=r[0],s[1]=r[1]*Math.cos(n)-r[2]*Math.sin(n),s[2]=r[1]*Math.sin(n)+r[2]*Math.cos(n),t[0]=s[0]+i[0],t[1]=s[1]+i[1],t[2]=s[2]+i[2],t},rotateY:function(t,e,i,n){const r=[],s=[];return r[0]=e[0]-i[0],r[1]=e[1]-i[1],r[2]=e[2]-i[2],s[0]=r[2]*Math.sin(n)+r[0]*Math.cos(n),s[1]=r[1],s[2]=r[2]*Math.cos(n)-r[0]*Math.sin(n),t[0]=s[0]+i[0],t[1]=s[1]+i[1],t[2]=s[2]+i[2],t},rotateZ:function(t,e,i,n){const r=[],s=[];return r[0]=e[0]-i[0],r[1]=e[1]-i[1],r[2]=e[2]-i[2],s[0]=r[0]*Math.cos(n)-r[1]*Math.sin(n),s[1]=r[0]*Math.sin(n)+r[1]*Math.cos(n),s[2]=r[2],t[0]=s[0]+i[0],t[1]=s[1]+i[1],t[2]=s[2]+i[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:_,scaleAndAdd:y,set:a,sign:f,sqrDist:B,sqrLen:W,squaredDistance:p,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:P,subtract:l,transformMat3:I,transformMat4:A,transformMat4Z:function(t,e){return e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]},transformQuat:L,transformQuatValues:k},Symbol.toStringTag,{value:"Module"})),i.d(e,["Il",0,G,"jb",0,P,"lo",0,B,"uE",0,W,"xg",0,j])},36708(t,e,i){i.d(e,{C_:()=>m,on:()=>u,wB:()=>h,z7:()=>l});var n=i(37955),r=i(36563),s=i(97768),o=i(17676),a=i(14012);function h(t,e,i={}){return c(t,e,i,f)}function l(t,e,i={}){return c(t,e,i,g)}function c(t,e,i={},n){let r=null;const o=i.once?(t,i)=>{n(t)&&((0,s.xt)(r),e(t,i))}:(t,i)=>{n(t)&&e(t,i)};if(r=(0,a.Cn)(t,o,i.sync,i.equals),i.initial){const e=t();o(e,e)}return r}function u(t,e,i,o={}){let a=null,l=null,c=null;function u(){a&&l&&(l.remove(),o.onListenerRemove?.(a),a=null,l=null)}function m(t){o.once&&o.once&&(0,s.xt)(c),i(t)}const f=h(t,(t,i)=>{u(),(0,n.wb)(t)&&(a=t,l=(0,n.on)(t,e,m),o.onListenerAdd?.(t))},{sync:o.sync,initial:!0});return c=(0,r.hA)(()=>{f.remove(),u()}),c}function m(t,e){return function(t,e,i){if((0,o.G4)(i))return Promise.reject((0,o.NK)());const n=t();if(e?.(n))return Promise.resolve(n);let a=null;function h(){a=(0,s.xt)(a)}return new Promise((n,s)=>{a=(0,r.vE)([(0,o.u7)(i,()=>{h(),s((0,o.NK)())}),c(t,t=>{h(),n(t)},{sync:!1,once:!0},e??f)])})}(t,g,e)}function f(t){return!0}function g(t){return!!t}i(80559),i.d(e,["OH",0,{sync:!0},"Vh",0,{initial:!0},"pc",0,{sync:!0,initial:!0}])},90629(t,e,i){i.d(e,{Lz:()=>r,PN:()=>s,cr:()=>o,gs:()=>h,r_:()=>l,tc:()=>a}),i(39829);const n=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(t){return t?t/72*96:0}function s(t){return t?72*t/96:0}function o(t){if("string"==typeof t){const e=t.match(n);if(e){const i=Number(e[1]),n=e[3]&&e[3].toLowerCase(),r=t.startsWith("-"),o="px"===n?s(i):i;return r?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return t}function a(t=0,e=0){return{x:t,y:e}}function h(t=0,e=0){return[t,e]}function l(t=0,e=0,i=0){return[t,e,i]}},93146(t,e,i){i.d(e,{z:()=>r});class n{constructor(t){this._import=t,this.module=null,this._promise=null}getImportPromise(){return null==this._promise&&(this._promise=this._import().then(async t=>(this.module=t,t))),this._promise}}function r(t){return new n(async()=>{const e=await t();return!1===e.isLoaded?.()&&await e.load(),e})}},4197(t,e,i){i.d(e,{Vj:()=>c,cj:()=>l,jh:()=>s,l5:()=>a,yH:()=>h});var n=i(34275),r=i(9093);function s(t){return t<=1024?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,n.iu)(t)?t.byteLength/8:t.length)<=1024?Array.from(t):new Float64Array(t)}function a(t,e,i){return Array.isArray(t)?t.slice(e,e+i):t.subarray(e,e+i)}function h(t,e){if(0===e.length)return o(t);if(0===t.length)return o(e);const i=s(t.length+e.length);for(let e=0;e<t.length;++e)i[e]=t[e];for(let n=0;n<e.length;++n)i[t.length+n]=e[n];return i}function l(t){return[...t]}function c(t){const e=(0,r.vt)();for(let i=0;i<16;++i)e[i]=t[i];return e}},70328(t,e,i){i.d(e,{BI:()=>A,C:()=>o,DC:()=>m,Ej:()=>p,Ie:()=>S,Jt:()=>C,Lu:()=>M,Ne:()=>z,RF:()=>u,TF:()=>y,VL:()=>g,aI:()=>L,fA:()=>a,gE:()=>l,gX:()=>b,hZ:()=>x,iT:()=>f,is:()=>I,pg:()=>v,uJ:()=>_,vI:()=>w,vY:()=>h,vt:()=>s,w1:()=>c,yr:()=>d}),i(35522);var n=i(5443),r=(i(19419),i(4197));function s(t=T){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e){for(let i=0;i<6;i++)t[i]=e[i];return t}function a(t,e,i,n,r,o,a=s()){return a[0]=t,a[1]=e,a[2]=i,a[3]=n,a[4]=r,a[5]=o,a}function h(t,e=s()){return function(t,e,i,n=s()){return x(n,k),function(t,e,i=0,n=e.length/3){let r=t[0],s=t[1],o=t[2],a=t[3],h=t[4],l=t[5];for(let t=0;t<n;t++)r=Math.min(r,e[i+3*t]),s=Math.min(s,e[i+3*t+1]),o=Math.min(o,e[i+3*t+2]),a=Math.max(a,e[i+3*t]),h=Math.max(h,e[i+3*t+1]),l=Math.max(l,e[i+3*t+2]);t[0]=r,t[1]=s,t[2]=o,t[3]=a,t[4]=h,t[5]=l}(n,t,e,i),n}(t,0,t.length/3,e)}function l(t,e=(0,r.jh)(24)){const[i,n,s,o,a,h]=t;return e[0]=i,e[1]=n,e[2]=s,e[3]=i,e[4]=n,e[5]=h,e[6]=i,e[7]=a,e[8]=s,e[9]=i,e[10]=a,e[11]=h,e[12]=o,e[13]=n,e[14]=s,e[15]=o,e[16]=n,e[17]=h,e[18]=o,e[19]=a,e[20]=s,e[21]=o,e[22]=a,e[23]=h,e}function c(t,e){const i=isFinite(t[2])||isFinite(t[5]);return new n.A(i?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function u(t,e,i=t){i[0]=Math.min(t[0],e[0]),i[1]=Math.min(t[1],e[1]),i[2]=Math.min(t[2],e[2]),i[3]=Math.max(t[3],e[3]),i[4]=Math.max(t[4],e[4]),i[5]=Math.max(t[5],e[5])}function m(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(t,[e,i,n]){!function(t,e,i,n){t[0]=Math.min(t[0],e),t[1]=Math.min(t[1],i),t[2]=Math.min(t[2],n),t[3]=Math.max(t[3],e),t[4]=Math.max(t[4],i),t[5]=Math.max(t[5],n)}(t,e,i,n)}function g(t){return t[0]>=t[3]?0:t[3]-t[0]}function d(t){return t[1]>=t[4]?0:t[4]-t[1]}function _(t){return t[2]>=t[5]?0:t[5]-t[2]}function y(t){const e=g(t),i=_(t),n=d(t);return e*e+i*i+n*n}function b(t,e=[0,0,0]){return e[0]=t[0]+g(t)/2,e[1]=t[1]+d(t)/2,e[2]=t[2]+_(t)/2,e}function p(t,e=[0,0,0]){return e[0]=g(t),e[1]=d(t),e[2]=_(t),e}function v(t,e){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function M(t,e){return e[0]=t[3],e[1]=t[4],e[2]=t[5],e}function z(t,e,i=t){return i[0]=e[0],i[1]=e[1],i[2]=e[2],i!==t&&(i[3]=t[3],i[4]=t[4],i[5]=t[5]),i}function w(t,e,i=t){return i[3]=e[0],i[4]=e[1],i[5]=e[2],i!==t&&(i[0]=t[0],i[1]=t[1],i[2]=t[2]),t}function x(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function S(t){return t?x(t,k):s(k)}function C(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function A(t,e,i,n,r){return t[0]=e,t[1]=i,t[2]=Number.NEGATIVE_INFINITY,t[3]=n,t[4]=r,t[5]=Number.POSITIVE_INFINITY,t}function I(t){return 6===t.length}function L(t,e,i){if(null==t||null==e)return t===e;if(!I(t)||!I(e))return!1;if(i){for(let n=0;n<t.length;n++)if(!i(t[n],e[n]))return!1}else for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}const k=[1/0,1/0,1/0,-1/0,-1/0,-1/0],T=[0,0,0,0,0,0];s(),i.d(e,["qv",0,k,"v_",0,T])},52039(t,e,i){i.d(e,{O7:()=>u,el:()=>h});var n=i(69052),r=(i(49186),i(17676)),s=(i(5443),i(39829),i(82799),i(16930)),o=i(93146),a=(i(80754),i(21325));async function h(t,e,i){Array.isArray(t)||(t=[t]),null!=e&&"object"==typeof e&&"authMode"in e&&(i=e);let n=null;for(const e of t)n??=e?.spatialReference;if(!n)return t;const s=(0,a.Vp)(n);if(!s)return t;const[o,h]=s.valid;let u=!1;for(const e of t){if(!e)continue;if("point"===e.type){u||=e.x>=h,u||=e.x<=o;continue}const{extent:t}=e;if(null==t){u=!0;break}u||=t.xmin>=h,u||=t.xmin<=o,u||=t.xmax>=h,u||=t.xmax<=o}if(!u)return t;const[{foldInto360Range:m},f]=await(0,r.qr)(Promise.all([l.getImportPromise(),c.getImportPromise()]),i),g=f.fromSpatialReference(n);return t.map(t=>{if(null==t||"mesh"===t.type)return t;const e=f.fromGeometry(t),i=f.toGeometry(m(e,g),n);return"extent"===t.type&&1===i?.rings.length?i.extent:i})}const l=(0,o.z)(()=>i.e(4144).then(i.bind(i,4144))),c=(0,o.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(5756),i.e(3299),i.e(1550)]).then(i.bind(i,78125)));function u(t,e,i){const n=(0,a.Vp)(i);if(null==n)return t;const[r,s]=n.valid,o=2*s;let h=0,l=0;e>s?h=Math.ceil(Math.abs(e-s)/o):e<r&&(h=-Math.ceil(Math.abs(e-r)/o)),t>s?l=Math.ceil(Math.abs(t-s)/o):t<r&&(l=-Math.ceil(Math.abs(t-r)/o));let c=t+(h-l)*o;const u=c-e;return u>s?c-=o:u<r&&(c+=o),c}function m(t){const e=(0,a.Vp)(t);if(null==e)return null;const[i,r]=e.valid;return new n.hr(i,r)}const f=m(s.A.WGS84);m(s.A.WebMercator),i.d(e,["Y_",0,f])},80754(t,e,i){i.d(e,{kS:()=>l,kd:()=>h});var n=i(82799),r=i(16930),s=i(60408),o=i(52006);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new n.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator}),minus180Line:new n.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new n.A({paths:[[[180,-180],[180,180]]],spatialReference:r.A.WGS84}),minus180Line:new n.A({paths:[[[-180,-180],[-180,180]]],spatialReference:r.A.WGS84})}};function h(t,e){return Math.ceil((t-e)/(2*e))}function l(t,e){if((0,o.Ed)(t))for(const i of function(t){return(0,s.Bi)(t)?t.curveRings:t.curvePaths}(t))for(const t of i){if((0,o.aO)(t)){const[i,n]=t.c;i[0]+=e,n[0]+=e;continue}if((0,o.FG)(t)){const[i,n]=t.a;i[0]+=e,n[0]+=e;continue}if((0,o.n1)(t)){const[i,n,r]=t.b;i[0]+=e,n[0]+=e,r[0]+=e;continue}t[0]+=e}for(const i of function(t){return(0,s.Bi)(t)?t.rings:t.paths}(t))for(const t of i)t[0]+=e;return t}i.d(e,["j7",0,a])},50498(t,e,i){var n=i(66552),r=i(5443),s=i(91075),o=i(48526),a=i(86738),h=i(39829),l=i(82799);const c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),u=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),m={base:s.A,key:"type",typeMap:{extent:r.A,multipoint:o.A,point:a.A,polyline:l.A,polygon:h.A}},f=new n.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0});i.d(e,["Ye",0,u,"gy",0,c,"iI",0,f,"yR",0,m])},97770(t,e,i){i.d(e,{Ey:()=>N,F8:()=>T,J2:()=>A,Yq:()=>L,_m:()=>I,iS:()=>k,wj:()=>E});var n=i(66552),r=i(73444),s=i(98623),o=i(92647);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},h={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},l={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},u={year:"numeric",month:"long",day:"numeric"},m={year:"numeric",month:"short",day:"numeric"},f={year:"numeric",month:"long",weekday:"long",day:"numeric"},g={hour:"numeric",minute:"numeric"},d={...g,second:"numeric"},_={hourCycle:"h23"},y={...g,..._},b={...d,..._},p={"short-date":c,"short-date-short-time":{...c,...g},"short-date-short-time-24":{...c,...y},"short-date-long-time":{...c,...d},"short-date-long-time-24":{...c,...b},"short-date-le":c,"short-date-le-short-time":{...c,...g},"short-date-le-short-time-24":{...c,...y},"short-date-le-long-time":{...c,...d},"short-date-le-long-time-24":{...c,...b},"long-month-day-year":u,"long-month-day-year-short-time":{...u,...g},"long-month-day-year-short-time-24":{...u,...y},"long-month-day-year-long-time":{...u,...d},"long-month-day-year-long-time-24":{...u,...b},"day-short-month-year":m,"day-short-month-year-short-time":{...m,...g},"day-short-month-year-short-time-24":{...m,...y},"day-short-month-year-long-time":{...m,...d},"day-short-month-year-long-time-24":{...m,...b},"long-date":f,"long-date-short-time":{...f,...g},"long-date-short-time-24":{...f,...y},"long-date-long-time":{...f,...d},"long-date-long-time-24":{...f,...b},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":g,"long-time":d},v=(0,n.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"}),M={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},z=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),w=z.find(({type:t})=>"month"===t)?.value.toLowerCase();function x(){const t=(0,r.lR)();return(t&&M[t])??(0,r.QC)()}"mart"!==w&&(M.bs="sr-Latn-CS");let S=new WeakMap;const C=p["short-date-short-time"];function A(t){return p[t]}function I(t){const{dateStyle:e,timeStyle:i,hour12:n,year:r,month:s}=t,o={};return e?o.dateStyle=e:r&&(o.year=r,o.month=s||void 0),i&&!o.year&&(o.timeStyle=i,o.hour12="auto"===n?void 0:"always"===n),o}function L(t,e=C){return function(t){let e=S.get(t);if(!e){const i=x(),n=E(t.timeZone??"system"),r={...t,timeZone:n};e=new Intl.DateTimeFormat(i,r),S.set(t,e)}return e}(e).format(t)}function k(t,e=C){return L(new Date(t),{...e,...l,...h})}function T(t,e=C){return L(new Date(`1970-01-01T${t}Z`),{...e,...l,...a})}function N(t,e=C){const i=o.c9.fromISO(t,{setZone:!0});if(!i.isValid)return t;if(e.timeZone)return L(i.toJSDate(),e);const n=0===i.offset?"UTC":e.timeZone,r={...e,timeZone:n};return i.toLocaleString(r,{locale:x()})}function E(t){switch(t){case"system":return s.N;case s.L:return"UTC";default:return t}}(0,r.Ml)(()=>{S=new WeakMap}),i.d(e,["_v",0,v])},54339(t,e,i){function n(t,e){switch(e.type){case"object-id":case"unique-id-simple":return t.attributes[e.fieldName];case"unique-id-composite":{const i=[];for(const n of e.fieldNames)i.push(t.attributes[n]??null);return JSON.stringify(i)}}}function r(t,e){if("uniqueIdFields"in e&&e.uniqueIdFields?.length){if(1===e.uniqueIdFields.length)return t.attributes?.[e.uniqueIdFields[0]];const i=e.uniqueIdFields.map(e=>t.attributes?.[e]);return JSON.stringify(i)}return"objectIdField"in e&&e.objectIdField?t.attributes?.[e.objectIdField]:null}i.d(e,{W:()=>n,r:()=>r})},73133(t,e,i){const n=(0,i(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"});i.d(e,["j",0,n])}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2932,6344],{68197(t,e,i){i.d(e,{A:()=>l});var n=i(40876),r=i(4576),s=i(34727),o=i(56507);function a(t){return(0,s.qE)((0,o.Vr)(t),0,255)}function h(t,e){const i=t.toString(16).padStart(2,"0");return e?i.slice(0,1):i}class l{static blendColors(t,e,i,n=new l){return n.r=Math.round(t.r+(e.r-t.r)*i),n.g=Math.round(t.g+(e.g-t.g)*i),n.b=Math.round(t.b+(e.b-t.b)*i),n.a=t.a+(e.a-t.a)*i,n._sanitize()}static fromRgb(t,e){const i=(0,n.lT)(t);return i?l.fromArray(i,e):null}static fromHex(t,e=new l){const i=(0,n.oW)(t);return i?l.fromArray(i,e):null}static fromArray(t,e=new l){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const i=(0,n.Eq)(t);return i?l.fromArray(i,e):null}static fromJSON(t){return null!=t?new l([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)l.fromString(t,this);else if((0,r.yc)(t))l.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof l||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,i=t?.digits??6,n=3===i||4===i,r=4===i||8===i,s=`#${h(this.r,n)}${h(this.g,n)}${h(this.b,n)}${r?h(Math.round(255*this.a),n):""}`;return e?s.toUpperCase():s}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=a(this.r),i=a(this.g),n=a(this.b);return 0===t||1!==this.a?[e,i,n,a(255*this.a)]:[e,i,n]}clone(){return new l(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,n.c1)(this.r),this.g=(0,n.c1)(this.g),this.b=(0,n.c1)(this.b),this.a=(0,n.G1)(this.a),this}_set(t,e,i,n){this.r=t,this.g=e,this.b=i,this.a=n}}l.prototype.declaredClass="esri.Color"},40876(t,e,i){i.d(e,{Eq:()=>f,G1:()=>d,TS:()=>s,V6:()=>r,Vm:()=>g,ay:()=>h,c1:()=>_,c4:()=>o,j5:()=>l,lT:()=>u,oW:()=>c,xV:()=>p});const n={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 r(t){return!!n[t]||!!n[t.toLowerCase()]}function s(t){return n[t]??n[t.toLowerCase()]}function o(t){return[...s(t)]}function a(t,e,i){i<0&&++i,i>1&&--i;const n=6*i;return n<1?t+(e-t)*n:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function h(t,e,i,n=1){const r=(t%360+360)%360/360,s=i<=.5?i*(e+1):i+e-i*e,o=2*i-s;return[Math.round(255*a(o,s,r+1/3)),Math.round(255*a(o,s,r)),Math.round(255*a(o,s,r-1/3)),n]}function l(t){const e=t.length>5,i=e?8:4,n=(1<<i)-1,r=e?1:17,s=e?9===t.length:5===t.length;let o=Number("0x"+t.slice(1));if(isNaN(o))return null;const a=[0,0,0,1];let h;return s&&(h=o&n,o>>=i,a[3]=r*h/255),h=o&n,o>>=i,a[2]=r*h,h=o&n,o>>=i,a[1]=r*h,h=o&n,o>>=i,a[0]=r*h,a}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),i=parseInt(t.slice(2,3),16),n=parseInt(t.slice(3,4),16),r=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,i+16*i,n+16*n,(r+16*r)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function u(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),i=e[1];if("rgb"===i&&3===t.length||"rgba"===i&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),m(e)}return m(t.map(t=>parseFloat(t)))}if("hsl"===i&&3===t.length||"hsla"===i&&4===t.length)return h(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function m(t){return t[0]=_(t[0]),t[1]=_(t[1]),t[2]=_(t[2]),t[3]=4===t.length?d(t[3]):1,t}function f(t){let e=r(t)?s(t):null;return e??=u(t),e??=c(t),e}function g(t){const e=f(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function d(t){return y(t,0,1)}function _(t){return Math.round(y(t,0,255))}function y(t,e,i){return t=Number(t),isNaN(t)?i:t<e?e:t>i?i:t}const b=1/2.2;function p(t){return t**b}i.d(e,["iw",0,b])},7762(t,e,i){var n,r=i(5482),s=i(98291),o=i(4576),a=i(65529),h=i(36563),l=i(4718),c=i(53966),u=i(93687),m=i(76030),f=i(56507),g=i(62788),d=i(10107),_=i(7695),y=i(64108),b=i(95488),p=i(12195);class v{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(t){this.defaultPrevented=!1,this.item=t}}class M{constructor(t,e,i,n,r){this.target=t,this.added=e,this.removed=i,this.start=n,this.deleteCount=r}}const z=new u.A(()=>new v,void 0,t=>{t.item=null,t.target=null,t.defaultPrevented=!1,t.cancellable=!1});function w(t){t&&"object"==typeof t&&"destroy"in t&&"function"==typeof t.destroy&&t.destroy()}function x(t){return t?t instanceof E?t.toArray():t.length?Array.prototype.slice.apply(t):[]:[]}function S(t){if(t?.length)return t[0]}function C(t,e,i,n){const r=Math.min(t.length-i,e.length-n);let s=0;for(;s<r&&t[i+s]===e[n+s];)s++;return s}function A(t,e,i,n){e&&e.forEach((e,r,s)=>{t.push(e),A(t,i.call(n,e,r,s),i,n)})}const I=new Set,L=new Set,k=new Set,T=new Map;let N=0,E=n=class extends a.nJ{static ofType(t){if(!t)return n;if(T.has(t))return T.get(t);let e=null;if("function"==typeof t)e=t.prototype.declaredClass;else if(t.base)e=t.base.prototype.declaredClass;else for(const i in t.typeMap){const n=t.typeMap[i].prototype.declaredClass;e?e+=` | ${n}`:e=n}let i=class extends n{};return(0,r.Cg)([(0,_.u)({Type:t,ensureType:"function"==typeof t?(0,f.dp)(t):(0,f.aq)(t)})],i.prototype,"itemType",void 0),i=(0,r.Cg)([(0,y.$)(`esri.core.Collection<${e}>`)],i),T.set(t,i),i}static isCollection(t){return null!=t&&t instanceof n}constructor(t){super(t),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new b.I,this._length=0,this._items=[],Object.defineProperty(this,"uid",{value:N++})}normalizeCtorArgs(t){return t?(0,o.yc)(t)||t instanceof n?{items:t}:t:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get length(){return this._length}set length(t){t>this._length?c.A.getLogger(this).error("#length=","Cannot increase the length of the collection by assigning to the length property."):this.splice(t,Math.max(0,this._length-t))}get items(){return(0,g.gc)(this._observable),this._items}set items(t){this._emitBeforeChanges(1)||(this._splice(0,this.length,x(t)),this._emitAfterChanges(1))}hasEventListener(t){return!this.destroyed&&("change"===t?this._chgListeners.length>0:super.hasEventListener(t))}on(t,e){if(this.destroyed)return(0,h.hA)();if("change"===t){const t=this._chgListeners,i={removed:!1,callback:e};return t.push(i),this._notifications&&this._notifications.push({listeners:t.slice(),items:this._items.slice(),changes:[]}),(0,h.hA)(()=>{i.removed=!0,t.splice(t.indexOf(i),1)})}return super.on(t,e)}once(t,e){const i="deref"in e?()=>e.deref():()=>e,n=this.on(t,t=>{i()?.call(null,t),n.remove()});return n}add(t,e){if((0,g.gc)(this._observable),this._emitBeforeChanges(1))return this;const i=this.getNextIndex(e??null);return this._splice(i,0,[t]),this._emitAfterChanges(1),this}addMany(t,e=this._items.length){if((0,g.gc)(this._observable),!t?.length)return this;if(this._emitBeforeChanges(1))return this;const i=this.getNextIndex(e);return this._splice(i,0,x(t)),this._emitAfterChanges(1),this}at(t){if((0,g.gc)(this._observable),(t=Math.trunc(t)||0)<0&&(t+=this.length),!(t<0||t>=this.length))return this._items[t]}removeAll(){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];const t=this._removeAllRaw();return this._emitAfterChanges(2),t}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,g.gc)(this._observable),this._createNewInstance({items:this._items.map(l.o8)})}concat(...t){(0,g.gc)(this._observable);const e=t.map(x);return this._createNewInstance({items:this._items.concat(...e)})}drain(t,e){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const i=this._splice(0,this.length),n=i.length;for(let r=0;r<n;r++)t.call(e,i[r],r,i);this._emitAfterChanges(2)}destroyAll(){this.drain(w)}destroyMany(t){const e=this.removeMany(t);return e.forEach(w),e}every(t,e){return(0,g.gc)(this._observable),this._items.every(t,e)}filter(t,e){(0,g.gc)(this._observable);const i=2===arguments.length?this._items.filter(t,e):this._items.filter(t);return this._createNewInstance({items:i})}find(t,e){return(0,g.gc)(this._observable),this._items.find(t,e)}findIndex(t,e){return(0,g.gc)(this._observable),this._items.findIndex(t,e)}findLast(t,e){return(0,g.gc)(this._observable),this._items.findLast(t,e)}findLastIndex(t,e){return(0,g.gc)(this._observable),this._items.findLastIndex(t,e)}flatten(t,e){(0,g.gc)(this._observable);const i=[];return A(i,this,t,e),new n(i)}forEach(t,e){return(0,g.gc)(this._observable),this._items.forEach(t,e)}getItemAt(t){return(0,g.gc)(this._observable),this._items[t]}getNextIndex(t){(0,g.gc)(this._observable);const e=this.length;return(t=t??e)<0?t=0:t>e&&(t=e),t}includes(t,e=0){return(0,g.gc)(this._observable),this._items.includes(t,e)}indexOf(t,e=0){return(0,g.gc)(this._observable),this._items.indexOf(t,e)}join(t=","){return(0,g.gc)(this._observable),this._items.join(t)}lastIndexOf(t,e=this.length-1){return(0,g.gc)(this._observable),this._items.lastIndexOf(t,e)}map(t,e){(0,g.gc)(this._observable);const i=this._items.map(t,e);return new n({items:i})}reorder(t,e=this.length-1){(0,g.gc)(this._observable);const i=this.indexOf(t);if(-1!==i){if(e<0?e=0:e>=this.length&&(e=this.length-1),i!==e){if(this._emitBeforeChanges(4))return t;this._splice(i,1),this._splice(e,0,[t]),this._emitAfterChanges(4)}return t}}pop(){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const t=S(this._splice(this.length-1,1));return this._emitAfterChanges(2),t}push(...t){return(0,g.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,t),this._emitAfterChanges(1)),this.length}reduce(t,e){(0,g.gc)(this._observable);const i=this._items;return 2===arguments.length?i.reduce(t,e):i.reduce(t)}reduceRight(t,e){(0,g.gc)(this._observable);const i=this._items;return 2===arguments.length?i.reduceRight(t,e):i.reduceRight(t)}remove(t){return(0,g.gc)(this._observable),this.removeAt(this.indexOf(t))}removeAt(t){if((0,g.gc)(this._observable),t<0||t>=this.length||this._emitBeforeChanges(2))return;const e=S(this._splice(t,1));return this._emitAfterChanges(2),e}removeMany(t){if((0,g.gc)(this._observable),!t?.length||this._emitBeforeChanges(2))return[];const e=t instanceof n?t.toArray():t,i=this._items,r=[],s=e.length;for(let t=0;t<s;t++){const n=e[t],s=i.indexOf(n);if(s>-1){const n=1+C(e,i,t+1,s+1),o=this._splice(s,n);o&&o.length>0&&r.push.apply(r,o),t+=n-1}}return this._emitAfterChanges(2),r}reverse(){if((0,g.gc)(this._observable),this._emitBeforeChanges(4))return this;const t=this._splice(0,this.length);return t&&(t.reverse(),this._splice(0,0,t)),this._emitAfterChanges(4),this}shift(){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const t=S(this._splice(0,1));return this._emitAfterChanges(2),t}slice(t=0,e=this.length){return(0,g.gc)(this._observable),this._createNewInstance({items:this._items.slice(t,e)})}some(t,e){return(0,g.gc)(this._observable),this._items.some(t,e)}sort(t){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(t))return this;const e=this._splice(0,this.length);return arguments.length?e.sort(t):e.sort(),this._splice(0,0,e),this._emitAfterChanges(4),this}_requiresSort(t=(t,e)=>t===e?0:t<e?-1:1){const e=this.length-1;for(let i=0;i<e;i++)if(t(this.items[i],this.items[i+1])>0)return!0;return!1}splice(t,e,...i){(0,g.gc)(this._observable),1===arguments.length&&(e=this.length),e??=0;const n=(e?2:0)|(i.length?1:0);if(this._emitBeforeChanges(n))return[];const r=this._splice(t,e,i)||[];return this._emitAfterChanges(n),r}toArray(){return(0,g.gc)(this._observable),this._items.slice()}toJSON(t){return(0,g.gc)(this._observable),this.toArray().map(e=>(0,p.W)(e)?e.toJSON(t):e)}toLocaleString(){return(0,g.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,g.gc)(this._observable),this._items.toString()}unshift(...t){return(0,g.gc)(this._observable),!t.length||this._emitBeforeChanges(1)||(this._splice(0,0,t),this._emitAfterChanges(1)),this.length}_createNewInstance(t){return new this.constructor(t)}_splice(t,e,i){const n=this._items,r=this.itemType;let s,o;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,m._)(()=>this._dispatchChange())),t<0&&(t+=this.length),e){if(o=n.splice(t,e),this.hasEventListener("before-remove")){const e=z.acquire();e.target=this,e.cancellable=!0;for(let i=0,r=o.length;i<r;i++)s=o[i],e.reset(s),this.emit("before-remove",e),e.defaultPrevented&&(o.splice(i,1),n.splice(t,0,s),t+=1,i-=1,r-=1);z.release(e)}if(this._length=this._items.length,this.hasEventListener("after-remove")){const t=z.acquire();t.target=this,t.cancellable=!1;const e=o.length;for(let i=0;i<e;i++)t.reset(o[i]),this.emit("after-remove",t);z.release(t)}}if(i?.length){if(r){const t=[];for(const e of i){const i=r.ensureType(e);null==i&&null!=e||t.push(i)}i=t}const e=this.hasEventListener("before-add"),s=this.hasEventListener("after-add"),o=t===this.length;if(e||s){const r=z.acquire();r.target=this,r.cancellable=!0;const a=z.acquire();a.target=this,a.cancellable=!1;for(const h of i)e?(r.reset(h),this.emit("before-add",r),r.defaultPrevented||(o?n.push(h):n.splice(t++,0,h),this._length=n.length,s&&(a.reset(h),this.emit("after-add",a)))):(o?n.push(h):n.splice(t++,0,h),this._length=n.length,a.reset(h),this.emit("after-add",a));z.release(a),z.release(r)}else{if(o)for(const t of i)n.push(t);else n.splice(t,0,...i);this._length=n.length}}if((i?.length||o?.length)&&this._notifyChangeEvent(i,o),this.hasEventListener("after-splice")){const n=new M(this,i,o,t,e);this.emit("after-splice",n)}return o}_emitBeforeChanges(t){let e=!1;if(this.hasEventListener("before-changes")){const i=z.acquire();i.target=this,i.cancellable=!0,i.type=t,this.emit("before-changes",i),e=i.defaultPrevented,z.release(i)}return e}_emitAfterChanges(t){if(this.hasEventListener("after-changes")){const e=z.acquire();e.target=this,e.cancellable=!1,e.type=t,this.emit("after-changes",e),z.release(e)}this._observable.notify()}_notifyChangeEvent(t,e){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:t,removed:e})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const t=this._notifications;this._notifications=null;for(const e of t){const t=e.changes;I.clear(),L.clear(),k.clear();for(const{added:e,removed:i}of t){if(e)if(0===k.size&&0===L.size)for(const t of e)I.add(t);else for(const t of e)L.has(t)?(k.add(t),L.delete(t)):k.has(t)||I.add(t);if(i)if(0===k.size&&0===I.size)for(const t of i)L.add(t);else for(const t of i)I.has(t)?I.delete(t):(k.delete(t),L.add(t))}const i=s.A.acquire();I.forEach(t=>{i.push(t)});const n=s.A.acquire();L.forEach(t=>{n.push(t)});const r=this._items,o=e.items,a=s.A.acquire();if(k.forEach(t=>{o.indexOf(t)!==r.indexOf(t)&&a.push(t)}),e.listeners&&(i.length||n.length||a.length)){const t={target:this,added:i,removed:n,moved:a},r=e.listeners.length;for(let i=0;i<r;i++){const n=e.listeners[i];n.removed||n.callback.call(this,t)}}s.A.release(i),s.A.release(n),s.A.release(a)}I.clear(),L.clear(),k.clear()}};(0,r.Cg)([(0,d.MZ)()],E.prototype,"_updating",void 0),(0,r.Cg)([(0,d.MZ)()],E.prototype,"_length",void 0),(0,r.Cg)([(0,d.MZ)()],E.prototype,"length",null),(0,r.Cg)([(0,d.MZ)()],E.prototype,"items",null),(0,r.Cg)([(0,d.MZ)({readOnly:!0})],E.prototype,"updating",null),E=n=(0,r.Cg)([(0,y.$)("esri.core.Collection")],E);const q=E;i.d(e,["A",0,q])},69052(t,e,i){i.d(e,{hr:()=>r});var n=i(34727);class r{constructor(t,e){this.min=t,this.max=e,this.range=e-t}normalize(t,e=0,i=!1){return s(this.range,this.min,this.max,t,e,i)}clamp(t,e=0){return(0,n.qE)(t-e,this.min,this.max)+e}monotonic(t,e,i){return t<e?e:e+o(this.range,t-e,i)}minimalMonotonic(t,e,i){return s(this.range,t,t+this.range,e,i)}center(t,e,i){return e=this.monotonic(t,e,i),this.normalize((t+e)/2,i)}diff(t,e,i){return this.monotonic(t,e,i)-t}shortestSignedDiff(t,e){t=this.normalize(t);const i=(e=this.normalize(e))-t,n=e<t?this.minimalMonotonic(t,e)-t:e-this.minimalMonotonic(e,t);return Math.abs(i)<Math.abs(n)?i:n}contains(t,e,i){return e=this.minimalMonotonic(t,e),(i=this.minimalMonotonic(t,i))>t&&i<e}}function s(t,e,i,n,r=0,s=!1){return(n-=r)<e?n+=o(t,e-n):n>i&&(n-=o(t,n-i)),s&&n===i&&(n=e),n+r}function o(t,e,i=0){return Math.ceil((e-i)/t)*t+i}const a=new r(0,2*Math.PI),h=(new r(-Math.PI,Math.PI),new r(0,360));i.d(e,["ie",0,h,"uC",0,a])},4902(t,e,i){var n=i(5482),r=i(64108);let s=0;const o=t=>{const e=t;let i=class extends e{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+s++})}};return i=(0,n.Cg)([(0,r.$)("esri.core.Identifiable")],i),i};o(class{}),i.d(e,["s",0,o])},66344(t,e,i){i.d(e,{q:()=>a});const n=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class r{get size(){return this._size}constructor(t=10485760,e=.3){this._maxSize=t,this._maxClientSizeRatio=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(t){this._clients.set(t.id.slice(0,-1),t)}deregister(t){this.clear(t),this._sizeLimits.delete(t),this._clients.delete(t.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(t){this._maxSize=Math.max(t,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(t,e){const i=this._db.get(t.id+e);return i?.size??0}put(t,e,i,r,o){e=t.id+e;const a=this._db.get(e);if(a&&(this._size-=a.size,t.size-=a.size,this._db.delete(e),a.entry!==i&&this._notifyRemove(e,a.entry,a.size,0)),r>this._maxSize)return void this._notifyRemove(e,i,r,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!r||r<0)return n||console.warn(`Refusing to cache entry with size ${r} for key ${e}`),void this._notifyRemove(e,i,0,0);const h=1+Math.max(o,-4)- -3;this._db.set(e,new s(i,r,h)),this._size+=r,t.size+=r,this._checkSize()}updateSize(t,e){e=t.id+e;const i=this._db.get(e);if(!i)return;this._size-=i.size,t.size-=i.size;let n=i.entry.usedMemory;for(;n>this._maxSize;){const t=this._notifyRemove(e,i.entry,n,1);if(!(null!=t&&t>0))return void this._db.delete(e);n=t}i.size=n,this._size+=n,t.size+=n,this._checkSize()}pop(t,e){e=t.id+e;const i=this._db.get(e);if(i)return this._size-=i.size,t.size-=i.size,this._db.delete(e),++this._hit,i.entry;++this._miss}get(t,e){e=t.id+e;const i=this._db.get(e);if(void 0!==i)return this._db.delete(e),i.lives=i.lifetime,this._db.set(e,i),++this._hit,i.entry;++this._miss}peek(t,e){const i=this._db.get(t.id+e);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const t={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},e={},i=new Array;this._db.forEach((t,n)=>{const r=t.lifetime;i[r]=(i[r]||0)+t.size,this._clients.forEach(i=>{const{id:r,name:s}=i;if(n.startsWith(r)){const i=e[s]||0;e[s]=i+t.size}})});const n={};this._clients.forEach(t=>{const i=t.name;if("hitRate"in t&&"number"==typeof t.hitRate&&!isNaN(t.hitRate)&&t.hitRate>0){const r=e[i]||0;e[i]=r,n[i]=Math.round(100*t.hitRate)+"%"}else n[i]="0%"});const r=Object.keys(e);r.sort((t,i)=>e[i]-e[t]),r.forEach(i=>t[i]=Math.round(e[i]/2**20)+"MB / "+n[i]);for(let e=i.length-1;e>=0;--e){const n=i[e];n&&(t["Priority "+(e+-3-1)]=Math.round(n/this._size*100)+"%")}return t}resetStats(){this._hit=this._miss=0,this._clients.forEach(t=>t.resetHitRate())}clear(t){const e=t.id;this._db.forEach((t,i)=>{i.startsWith(e)&&(this._size-=t.size,this._db.delete(i),this._notifyRemove(i,t.entry,t.size,0))}),t.size=0}clearAll(){this._db.forEach((t,e)=>this._notifyRemove(e,t.entry,t.size,0)),this._clients.forEach(t=>t.size=0),this._size=0,this._db.clear()}*values(t){for(const[e,i]of this._db)e.startsWith(t.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(t,e,i,n){const r=this._clients.get(t.split(o)[0])?.removeFunc,s=r?.(e,n,i);return"number"==typeof s?s:null}_checkSize(){this._sizeLimits.forEach((t,e)=>this._checkSizeLimits(t,e)),this._clients.forEach(t=>this._checkSizeLimits(this._maxClientSize,t)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(t,e){null==e||e<=0?this._sizeLimits.delete(t):this._sizeLimits.set(t,e)}_checkSizeLimits(t,e){const i=e??this;if(i.size<=t)return;const n=e?.id;let r=!0;for(;r;){r=!1;for(const[s,a]of this._db)if(0===a.lifetime&&(!n||s.startsWith(n))){const n=e??this._clients.get(s.split(o)[0]);if(this._purgeItem(s,a,n),i.size<=.9*t)return;r||=this._db.has(s)}}for(const[r,s]of this._db)if(!n||r.startsWith(n)){const n=e??this._clients.get(r.split(o)[0]);if(this._purgeItem(r,s,n),i.size<=.9*t)return}}_purgeItem(t,e,i){if(this._db.delete(t),e.lives<=1){this._size-=e.size,i&&(i.size-=e.size);const n=this._notifyRemove(t,e.entry,e.size,1);null!=n&&n>0&&(this._size+=n,i&&(i.size+=n),e.lives=e.lifetime,e.size=n,this._db.set(t,e))}else--e.lives,this._db.set(t,e)}}new r(0);class s{constructor(t,e,i){this.entry=t,this.size=e,this.lifetime=i,this.lives=i}}const o=":";class a{constructor(t,e){this.removeFunc=e,this.id="",this.name="",this.size=0,this._storage=new r(t,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(t,e,i=1){this._storage.put(this,t,e,i,1)}pop(t){return this._storage.pop(this,t)}get(t){return this._storage.get(this,t)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(t){this._storage.maxSize=t}resetHitRate(){}}},7695(t,e,i){function n(t){return(e,i)=>{e[i]=t}}i.d(e,{u:()=>n})},9093(t,e,i){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function r(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}i.d(e,{o8:()=>r,vt:()=>n});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:r,create:n,fromValues:function(t,e,i,n,r,s,o,a,h,l,c,u,m,f,g,d){return[t,e,i,n,r,s,o,a,h,l,c,u,m,f,g,d]}},Symbol.toStringTag,{value:"Module"})),i.d(e,["zK",0,s])},35522(t,e,i){i.d(e,{$A:()=>S,Bw:()=>s,C:()=>o,Cc:()=>C,DI:()=>z,Io:()=>b,Ln:()=>y,Om:()=>x,Qr:()=>u,Re:()=>l,S8:()=>w,T9:()=>d,WQ:()=>h,Z0:()=>A,_S:()=>f,aI:()=>q,ei:()=>I,fw:()=>k,gL:()=>L,hG:()=>p,hZ:()=>a,hs:()=>_,jk:()=>g,lw:()=>c,m3:()=>v,oW:()=>R,t2:()=>E,tn:()=>m,ze:()=>M});var n=i(51850),r=i(34304);function s(t){const e=t[0],i=t[1],n=t[2];return Math.sqrt(e*e+i*i+n*n)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,i,n){return t[0]=e,t[1]=i,t[2]=n,t}function h(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t[2]=e[2]+i[2],t}function l(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t[2]=e[2]-i[2],t}function c(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t[2]=e[2]*i[2],t}function u(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t[2]=e[2]/i[2],t}function m(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function f(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t[2]=Math.min(e[2],i[2]),t}function d(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t[2]=Math.max(e[2],i[2]),t}function _(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i,t}function y(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t[2]=e[2]+i[2]*n,t}function b(t,e){const i=e[0]-t[0],n=e[1]-t[1],r=e[2]-t[2];return Math.sqrt(i*i+n*n+r*r)}function p(t,e){const i=e[0]-t[0],n=e[1]-t[1],r=e[2]-t[2];return i*i+n*n+r*r}function v(t){const e=t[0],i=t[1],n=t[2];return e*e+i*i+n*n}function M(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function z(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function w(t,e){const i=e[0],n=e[1],r=e[2];let s=i*i+n*n+r*r;return s>0&&(s=1/Math.sqrt(s),t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s),t}function x(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function S(t,e,i){const n=e[0],r=e[1],s=e[2],o=i[0],a=i[1],h=i[2];return t[0]=r*h-s*a,t[1]=s*o-n*h,t[2]=n*a-r*o,t}function C(t,e,i,n){const r=e[0],s=e[1],o=e[2];return t[0]=r+n*(i[0]-r),t[1]=s+n*(i[1]-s),t[2]=o+n*(i[2]-o),t}function A(t,e,i){const n=e[0],r=e[1],s=e[2];return t[0]=i[0]*n+i[4]*r+i[8]*s+i[12],t[1]=i[1]*n+i[5]*r+i[9]*s+i[13],t[2]=i[2]*n+i[6]*r+i[10]*s+i[14],t}function I(t,e,i){const n=e[0],r=e[1],s=e[2];return t[0]=n*i[0]+r*i[3]+s*i[6],t[1]=n*i[1]+r*i[4]+s*i[7],t[2]=n*i[2]+r*i[5]+s*i[8],t}function L(t,e,i){return k(t,e,i[0],i[1],i[2],i[3])}function k(t,e,i,n,r,s){const o=e[0],a=e[1],h=e[2],l=n*h-r*a,c=r*o-i*h,u=i*a-n*o,m=n*u-r*c,f=r*l-i*u,g=i*c-n*l,d=2*s;return t[0]=o+l*d+2*m,t[1]=a+c*d+2*f,t[2]=h+u*d+2*g,t}const T=(0,n.vt)(),N=(0,n.vt)();function E(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function q(t,e){if(t===e)return!0;const i=t[0],n=t[1],s=t[2],o=e[0],a=e[1],h=e[2],l=(0,r.FD)();return Math.abs(i-o)<=l*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(n-a)<=l*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(s-h)<=l*Math.max(1,Math.abs(s),Math.abs(h))}function R(t,e,i){const n=i[0]-e[0],r=i[1]-e[1],s=i[2]-e[2];let o=n*n+r*r+s*s;return o>0?(o=1/Math.sqrt(o),t[0]=n*o,t[1]=r*o,t[2]=s*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const D=l,P=c,O=u,F=b,j=p,B=s,G=v;Object.freeze(Object.defineProperty({__proto__:null,abs:m,add:h,angle:function(t,e){w(T,t),w(N,e);const i=x(T,N);return i>1?0:i<-1?Math.PI:Math.acos(i)},bezier:function(t,e,i,n,r,s){const o=1-s,a=o*o,h=s*s,l=a*o,c=3*s*a,u=3*h*o,m=h*s;return t[0]=e[0]*l+i[0]*c+n[0]*u+r[0]*m,t[1]=e[1]*l+i[1]*c+n[1]*u+r[1]*m,t[2]=e[2]*l+i[2]*c+n[2]*u+r[2]*m,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,i=1){return t[0]=Math.min(Math.max(t[0],e),i),t[1]=Math.min(Math.max(t[1],e),i),t[2]=Math.min(Math.max(t[2],e),i),t},copy:o,cross:S,crossAndNormalize:function(t,e,i){const n=e[0],r=e[1],s=e[2],o=i[0],a=i[1],h=i[2],l=r*h-s*a,c=s*o-n*h,u=n*a-r*o,m=Math.sqrt(l*l+c*c+u*u);return t[0]=l/m,t[1]=c/m,t[2]=u/m,t},direction:R,dist:F,distance:b,div:O,divide:u,dot:x,equals:q,exactEquals:E,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,i,n,r,s){const o=s*s,a=o*(2*s-3)+1,h=o*(s-2)+s,l=o*(s-1),c=o*(3-2*s);return t[0]=e[0]*a+i[0]*h+n[0]*l+r[0]*c,t[1]=e[1]*a+i[1]*h+n[1]*l+r[1]*c,t[2]=e[2]*a+i[2]*h+n[2]*l+r[2]*c,t},inverse:z,len:B,length:s,lerp:C,max:d,min:g,mul:P,multiply:c,negate:M,normalize:w,random:function(t,e=1){const i=r.Ov,n=2*i()*Math.PI,s=2*i()-1,o=Math.sqrt(1-s*s)*e;return t[0]=Math.cos(n)*o,t[1]=Math.sin(n)*o,t[2]=s*e,t},rotateX:function(t,e,i,n){const r=[],s=[];return r[0]=e[0]-i[0],r[1]=e[1]-i[1],r[2]=e[2]-i[2],s[0]=r[0],s[1]=r[1]*Math.cos(n)-r[2]*Math.sin(n),s[2]=r[1]*Math.sin(n)+r[2]*Math.cos(n),t[0]=s[0]+i[0],t[1]=s[1]+i[1],t[2]=s[2]+i[2],t},rotateY:function(t,e,i,n){const r=[],s=[];return r[0]=e[0]-i[0],r[1]=e[1]-i[1],r[2]=e[2]-i[2],s[0]=r[2]*Math.sin(n)+r[0]*Math.cos(n),s[1]=r[1],s[2]=r[2]*Math.cos(n)-r[0]*Math.sin(n),t[0]=s[0]+i[0],t[1]=s[1]+i[1],t[2]=s[2]+i[2],t},rotateZ:function(t,e,i,n){const r=[],s=[];return r[0]=e[0]-i[0],r[1]=e[1]-i[1],r[2]=e[2]-i[2],s[0]=r[0]*Math.cos(n)-r[1]*Math.sin(n),s[1]=r[0]*Math.sin(n)+r[1]*Math.cos(n),s[2]=r[2],t[0]=s[0]+i[0],t[1]=s[1]+i[1],t[2]=s[2]+i[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:_,scaleAndAdd:y,set:a,sign:f,sqrDist:j,sqrLen:G,squaredDistance:p,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:D,subtract:l,transformMat3:I,transformMat4:A,transformMat4Z:function(t,e){return e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]},transformQuat:L,transformQuatValues:k},Symbol.toStringTag,{value:"Module"})),i.d(e,["Il",0,B,"jb",0,D,"lo",0,j,"uE",0,G,"xg",0,F])},36708(t,e,i){i.d(e,{C_:()=>m,on:()=>u,wB:()=>h,z7:()=>l});var n=i(37955),r=i(36563),s=i(97768),o=i(17676),a=i(14012);function h(t,e,i={}){return c(t,e,i,f)}function l(t,e,i={}){return c(t,e,i,g)}function c(t,e,i={},n){let r=null;const o=i.once?(t,i)=>{n(t)&&((0,s.xt)(r),e(t,i))}:(t,i)=>{n(t)&&e(t,i)};if(r=(0,a.Cn)(t,o,i.sync,i.equals),i.initial){const e=t();o(e,e)}return r}function u(t,e,i,o={}){let a=null,l=null,c=null;function u(){a&&l&&(l.remove(),o.onListenerRemove?.(a),a=null,l=null)}function m(t){o.once&&o.once&&(0,s.xt)(c),i(t)}const f=h(t,(t,i)=>{u(),(0,n.wb)(t)&&(a=t,l=(0,n.on)(t,e,m),o.onListenerAdd?.(t))},{sync:o.sync,initial:!0});return c=(0,r.hA)(()=>{f.remove(),u()}),c}function m(t,e){return function(t,e,i){if((0,o.G4)(i))return Promise.reject((0,o.NK)());const n=t();if(e?.(n))return Promise.resolve(n);let a=null;function h(){a=(0,s.xt)(a)}return new Promise((n,s)=>{a=(0,r.vE)([(0,o.u7)(i,()=>{h(),s((0,o.NK)())}),c(t,t=>{h(),n(t)},{sync:!1,once:!0},e??f)])})}(t,g,e)}function f(t){return!0}function g(t){return!!t}i(80559),i.d(e,["OH",0,{sync:!0},"Vh",0,{initial:!0},"pc",0,{sync:!0,initial:!0}])},90629(t,e,i){i.d(e,{Lz:()=>r,PN:()=>s,cr:()=>o,gs:()=>h,r_:()=>l,tc:()=>a}),i(39829);const n=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(t){return t?t/72*96:0}function s(t){return t?72*t/96:0}function o(t){if("string"==typeof t){const e=t.match(n);if(e){const i=Number(e[1]),n=e[3]&&e[3].toLowerCase(),r=t.startsWith("-"),o="px"===n?s(i):i;return r?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return t}function a(t=0,e=0){return{x:t,y:e}}function h(t=0,e=0){return[t,e]}function l(t=0,e=0,i=0){return[t,e,i]}},93146(t,e,i){i.d(e,{z:()=>r});class n{constructor(t){this._import=t,this.module=null,this._promise=null}getImportPromise(){return null==this._promise&&(this._promise=this._import().then(async t=>(this.module=t,t))),this._promise}}function r(t){return new n(async()=>{const e=await t();return!1===e.isLoaded?.()&&await e.load(),e})}},4197(t,e,i){i.d(e,{Vj:()=>c,cj:()=>l,jh:()=>s,l5:()=>a,yH:()=>h});var n=i(34275),r=i(9093);function s(t){return t<=1024?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,n.iu)(t)?t.byteLength/8:t.length)<=1024?Array.from(t):new Float64Array(t)}function a(t,e,i){return Array.isArray(t)?t.slice(e,e+i):t.subarray(e,e+i)}function h(t,e){if(0===e.length)return o(t);if(0===t.length)return o(e);const i=s(t.length+e.length);for(let e=0;e<t.length;++e)i[e]=t[e];for(let n=0;n<e.length;++n)i[t.length+n]=e[n];return i}function l(t){return[...t]}function c(t){const e=(0,r.vt)();for(let i=0;i<16;++i)e[i]=t[i];return e}},70328(t,e,i){i.d(e,{BI:()=>A,C:()=>o,DC:()=>m,Ej:()=>p,Ie:()=>S,Jt:()=>C,Lu:()=>M,Ne:()=>z,RF:()=>u,TF:()=>y,VL:()=>g,aI:()=>L,fA:()=>a,gE:()=>l,gX:()=>b,hZ:()=>x,iT:()=>f,is:()=>I,pg:()=>v,uJ:()=>_,vI:()=>w,vY:()=>h,vt:()=>s,w1:()=>c,yr:()=>d}),i(35522);var n=i(5443),r=(i(19419),i(4197));function s(t=T){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e){for(let i=0;i<6;i++)t[i]=e[i];return t}function a(t,e,i,n,r,o,a=s()){return a[0]=t,a[1]=e,a[2]=i,a[3]=n,a[4]=r,a[5]=o,a}function h(t,e=s()){return function(t,e,i,n=s()){return x(n,k),function(t,e,i=0,n=e.length/3){let r=t[0],s=t[1],o=t[2],a=t[3],h=t[4],l=t[5];for(let t=0;t<n;t++)r=Math.min(r,e[i+3*t]),s=Math.min(s,e[i+3*t+1]),o=Math.min(o,e[i+3*t+2]),a=Math.max(a,e[i+3*t]),h=Math.max(h,e[i+3*t+1]),l=Math.max(l,e[i+3*t+2]);t[0]=r,t[1]=s,t[2]=o,t[3]=a,t[4]=h,t[5]=l}(n,t,e,i),n}(t,0,t.length/3,e)}function l(t,e=(0,r.jh)(24)){const[i,n,s,o,a,h]=t;return e[0]=i,e[1]=n,e[2]=s,e[3]=i,e[4]=n,e[5]=h,e[6]=i,e[7]=a,e[8]=s,e[9]=i,e[10]=a,e[11]=h,e[12]=o,e[13]=n,e[14]=s,e[15]=o,e[16]=n,e[17]=h,e[18]=o,e[19]=a,e[20]=s,e[21]=o,e[22]=a,e[23]=h,e}function c(t,e){const i=isFinite(t[2])||isFinite(t[5]);return new n.A(i?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function u(t,e,i=t){i[0]=Math.min(t[0],e[0]),i[1]=Math.min(t[1],e[1]),i[2]=Math.min(t[2],e[2]),i[3]=Math.max(t[3],e[3]),i[4]=Math.max(t[4],e[4]),i[5]=Math.max(t[5],e[5])}function m(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(t,[e,i,n]){!function(t,e,i,n){t[0]=Math.min(t[0],e),t[1]=Math.min(t[1],i),t[2]=Math.min(t[2],n),t[3]=Math.max(t[3],e),t[4]=Math.max(t[4],i),t[5]=Math.max(t[5],n)}(t,e,i,n)}function g(t){return t[0]>=t[3]?0:t[3]-t[0]}function d(t){return t[1]>=t[4]?0:t[4]-t[1]}function _(t){return t[2]>=t[5]?0:t[5]-t[2]}function y(t){const e=g(t),i=_(t),n=d(t);return e*e+i*i+n*n}function b(t,e=[0,0,0]){return e[0]=t[0]+g(t)/2,e[1]=t[1]+d(t)/2,e[2]=t[2]+_(t)/2,e}function p(t,e=[0,0,0]){return e[0]=g(t),e[1]=d(t),e[2]=_(t),e}function v(t,e){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function M(t,e){return e[0]=t[3],e[1]=t[4],e[2]=t[5],e}function z(t,e,i=t){return i[0]=e[0],i[1]=e[1],i[2]=e[2],i!==t&&(i[3]=t[3],i[4]=t[4],i[5]=t[5]),i}function w(t,e,i=t){return i[3]=e[0],i[4]=e[1],i[5]=e[2],i!==t&&(i[0]=t[0],i[1]=t[1],i[2]=t[2]),t}function x(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function S(t){return t?x(t,k):s(k)}function C(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function A(t,e,i,n,r){return t[0]=e,t[1]=i,t[2]=Number.NEGATIVE_INFINITY,t[3]=n,t[4]=r,t[5]=Number.POSITIVE_INFINITY,t}function I(t){return 6===t.length}function L(t,e,i){if(null==t||null==e)return t===e;if(!I(t)||!I(e))return!1;if(i){for(let n=0;n<t.length;n++)if(!i(t[n],e[n]))return!1}else for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}const k=[1/0,1/0,1/0,-1/0,-1/0,-1/0],T=[0,0,0,0,0,0];s(),i.d(e,["qv",0,k,"v_",0,T])},52039(t,e,i){i.d(e,{O7:()=>u,el:()=>h});var n=i(69052),r=(i(49186),i(17676)),s=(i(5443),i(39829),i(82799),i(16930)),o=i(93146),a=(i(80754),i(21325));async function h(t,e,i){Array.isArray(t)||(t=[t]),null!=e&&"object"==typeof e&&"authMode"in e&&(i=e);let n=null;for(const e of t)n??=e?.spatialReference;if(!n)return t;const s=(0,a.Vp)(n);if(!s)return t;const[o,h]=s.valid;let u=!1;for(const e of t){if(!e)continue;if("point"===e.type){u||=e.x>=h,u||=e.x<=o;continue}const{extent:t}=e;if(null==t){u=!0;break}u||=t.xmin>=h,u||=t.xmin<=o,u||=t.xmax>=h,u||=t.xmax<=o}if(!u)return t;const[{foldInto360Range:m},f]=await(0,r.qr)(Promise.all([l.getImportPromise(),c.getImportPromise()]),i),g=f.fromSpatialReference(n);return t.map(t=>{if(null==t||"mesh"===t.type)return t;const e=f.fromGeometry(t),i=f.toGeometry(m(e,g),n);return"extent"===t.type&&1===i?.rings.length?i.extent:i})}const l=(0,o.z)(()=>i.e(4144).then(i.bind(i,4144))),c=(0,o.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(5756),i.e(3299),i.e(1550)]).then(i.bind(i,78125)));function u(t,e,i){const n=(0,a.Vp)(i);if(null==n)return t;const[r,s]=n.valid,o=2*s;let h=0,l=0;e>s?h=Math.ceil(Math.abs(e-s)/o):e<r&&(h=-Math.ceil(Math.abs(e-r)/o)),t>s?l=Math.ceil(Math.abs(t-s)/o):t<r&&(l=-Math.ceil(Math.abs(t-r)/o));let c=t+(h-l)*o;const u=c-e;return u>s?c-=o:u<r&&(c+=o),c}function m(t){const e=(0,a.Vp)(t);if(null==e)return null;const[i,r]=e.valid;return new n.hr(i,r)}const f=m(s.A.WGS84);m(s.A.WebMercator),i.d(e,["Y_",0,f])},80754(t,e,i){i.d(e,{kS:()=>l,kd:()=>h});var n=i(82799),r=i(16930),s=i(60408),o=i(52006);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new n.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator}),minus180Line:new n.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new n.A({paths:[[[180,-180],[180,180]]],spatialReference:r.A.WGS84}),minus180Line:new n.A({paths:[[[-180,-180],[-180,180]]],spatialReference:r.A.WGS84})}};function h(t,e){return Math.ceil((t-e)/(2*e))}function l(t,e){if((0,o.Ed)(t))for(const i of function(t){return(0,s.Bi)(t)?t.curveRings:t.curvePaths}(t))for(const t of i){if((0,o.aO)(t)){const[i,n]=t.c;i[0]+=e,n[0]+=e;continue}if((0,o.FG)(t)){const[i,n]=t.a;i[0]+=e,n[0]+=e;continue}if((0,o.n1)(t)){const[i,n,r]=t.b;i[0]+=e,n[0]+=e,r[0]+=e;continue}t[0]+=e}for(const i of function(t){return(0,s.Bi)(t)?t.rings:t.paths}(t))for(const t of i)t[0]+=e;return t}i.d(e,["j7",0,a])},50498(t,e,i){var n=i(66552),r=i(5443),s=i(91075),o=i(48526),a=i(86738),h=i(39829),l=i(82799);const c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),u=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),m={base:s.A,key:"type",typeMap:{extent:r.A,multipoint:o.A,point:a.A,polyline:l.A,polygon:h.A}},f=new n.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0});i.d(e,["Ye",0,u,"gy",0,c,"iI",0,f,"yR",0,m])},97770(t,e,i){i.d(e,{Ey:()=>N,F8:()=>T,J2:()=>A,Yq:()=>L,_m:()=>I,iS:()=>k,wj:()=>E});var n=i(66552),r=i(73444),s=i(98623),o=i(92647);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},h={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},l={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},u={year:"numeric",month:"long",day:"numeric"},m={year:"numeric",month:"short",day:"numeric"},f={year:"numeric",month:"long",weekday:"long",day:"numeric"},g={hour:"numeric",minute:"numeric"},d={...g,second:"numeric"},_={hourCycle:"h23"},y={...g,..._},b={...d,..._},p={"short-date":c,"short-date-short-time":{...c,...g},"short-date-short-time-24":{...c,...y},"short-date-long-time":{...c,...d},"short-date-long-time-24":{...c,...b},"short-date-le":c,"short-date-le-short-time":{...c,...g},"short-date-le-short-time-24":{...c,...y},"short-date-le-long-time":{...c,...d},"short-date-le-long-time-24":{...c,...b},"long-month-day-year":u,"long-month-day-year-short-time":{...u,...g},"long-month-day-year-short-time-24":{...u,...y},"long-month-day-year-long-time":{...u,...d},"long-month-day-year-long-time-24":{...u,...b},"day-short-month-year":m,"day-short-month-year-short-time":{...m,...g},"day-short-month-year-short-time-24":{...m,...y},"day-short-month-year-long-time":{...m,...d},"day-short-month-year-long-time-24":{...m,...b},"long-date":f,"long-date-short-time":{...f,...g},"long-date-short-time-24":{...f,...y},"long-date-long-time":{...f,...d},"long-date-long-time-24":{...f,...b},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":g,"long-time":d},v=(0,n.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"}),M={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},z=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),w=z.find(({type:t})=>"month"===t)?.value.toLowerCase();function x(){const t=(0,r.lR)();return(t&&M[t])??(0,r.QC)()}"mart"!==w&&(M.bs="sr-Latn-CS");let S=new WeakMap;const C=p["short-date-short-time"];function A(t){return p[t]}function I(t){const{dateStyle:e,timeStyle:i,hour12:n,year:r,month:s}=t,o={};return e?o.dateStyle=e:r&&(o.year=r,o.month=s||void 0),i&&!o.year&&(o.timeStyle=i,o.hour12="auto"===n?void 0:"always"===n),o}function L(t,e=C){return function(t){let e=S.get(t);if(!e){const i=x(),n=E(t.timeZone??"system"),r={...t,timeZone:n};e=new Intl.DateTimeFormat(i,r),S.set(t,e)}return e}(e).format(t)}function k(t,e=C){return L(new Date(t),{...e,...l,...h})}function T(t,e=C){return L(new Date(`1970-01-01T${t}Z`),{...e,...l,...a})}function N(t,e=C){const i=o.c9.fromISO(t,{setZone:!0});if(!i.isValid)return t;if(e.timeZone)return L(i.toJSDate(),e);const n=0===i.offset?"UTC":e.timeZone,r={...e,timeZone:n};return i.toLocaleString(r,{locale:x()})}function E(t){switch(t){case"system":return s.N;case s.L:return"UTC";default:return t}}(0,r.Ml)(()=>{S=new WeakMap}),i.d(e,["_v",0,v])},54339(t,e,i){function n(t,e){switch(e.type){case"object-id":case"unique-id-simple":return t.attributes[e.fieldName];case"unique-id-composite":{const i=[];for(const n of e.fieldNames)i.push(t.attributes[n]??null);return JSON.stringify(i)}}}function r(t,e){if("uniqueIdFields"in e&&e.uniqueIdFields?.length){if(1===e.uniqueIdFields.length)return t.attributes?.[e.uniqueIdFields[0]];const i=e.uniqueIdFields.map(e=>t.attributes?.[e]);return JSON.stringify(i)}return"objectIdField"in e&&e.objectIdField?t.attributes?.[e.objectIdField]:null}i.d(e,{W:()=>n,r:()=>r})},73133(t,e,i){const n=(0,i(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"});i.d(e,["j",0,n])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7539],{68197(t,e,s){s.d(e,{A:()=>l});var i=s(40876),r=s(4576),n=s(34727),o=s(56507);function a(t){return(0,n.qE)((0,o.Vr)(t),0,255)}function h(t,e){const s=t.toString(16).padStart(2,"0");return e?s.slice(0,1):s}class l{static blendColors(t,e,s,i=new l){return i.r=Math.round(t.r+(e.r-t.r)*s),i.g=Math.round(t.g+(e.g-t.g)*s),i.b=Math.round(t.b+(e.b-t.b)*s),i.a=t.a+(e.a-t.a)*s,i._sanitize()}static fromRgb(t,e){const s=(0,i.lT)(t);return s?l.fromArray(s,e):null}static fromHex(t,e=new l){const s=(0,i.oW)(t);return s?l.fromArray(s,e):null}static fromArray(t,e=new l){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const s=(0,i.Eq)(t);return s?l.fromArray(s,e):null}static fromJSON(t){return null!=t?new l([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)l.fromString(t,this);else if((0,r.yc)(t))l.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof l||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,s=t?.digits??6,i=3===s||4===s,r=4===s||8===s,n=`#${h(this.r,i)}${h(this.g,i)}${h(this.b,i)}${r?h(Math.round(255*this.a),i):""}`;return e?n.toUpperCase():n}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=a(this.r),s=a(this.g),i=a(this.b);return 0===t||1!==this.a?[e,s,i,a(255*this.a)]:[e,s,i]}clone(){return new l(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(t,e,s,i){this.r=t,this.g=e,this.b=s,this.a=i}}l.prototype.declaredClass="esri.Color"},40876(t,e,s){s.d(e,{Eq:()=>d,G1:()=>y,TS:()=>n,V6:()=>r,Vm:()=>g,ay:()=>h,c1:()=>f,c4:()=>o,j5:()=>l,lT:()=>u,oW:()=>c,xV:()=>w});const i={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 r(t){return!!i[t]||!!i[t.toLowerCase()]}function n(t){return i[t]??i[t.toLowerCase()]}function o(t){return[...n(t)]}function a(t,e,s){s<0&&++s,s>1&&--s;const i=6*s;return i<1?t+(e-t)*i:2*s<1?e:3*s<2?t+(e-t)*(2/3-s)*6:t}function h(t,e,s,i=1){const r=(t%360+360)%360/360,n=s<=.5?s*(e+1):s+e-s*e,o=2*s-n;return[Math.round(255*a(o,n,r+1/3)),Math.round(255*a(o,n,r)),Math.round(255*a(o,n,r-1/3)),i]}function l(t){const e=t.length>5,s=e?8:4,i=(1<<s)-1,r=e?1:17,n=e?9===t.length:5===t.length;let o=Number("0x"+t.slice(1));if(isNaN(o))return null;const a=[0,0,0,1];let h;return n&&(h=o&i,o>>=s,a[3]=r*h/255),h=o&i,o>>=s,a[2]=r*h,h=o&i,o>>=s,a[1]=r*h,h=o&i,o>>=s,a[0]=r*h,a}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),s=parseInt(t.slice(2,3),16),i=parseInt(t.slice(3,4),16),r=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,s+16*s,i+16*i,(r+16*r)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function u(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),s=e[1];if("rgb"===s&&3===t.length||"rgba"===s&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),p(e)}return p(t.map(t=>parseFloat(t)))}if("hsl"===s&&3===t.length||"hsla"===s&&4===t.length)return h(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function p(t){return t[0]=f(t[0]),t[1]=f(t[1]),t[2]=f(t[2]),t[3]=4===t.length?y(t[3]):1,t}function d(t){let e=r(t)?n(t):null;return e??=u(t),e??=c(t),e}function g(t){const e=d(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function y(t){return _(t,0,1)}function f(t){return Math.round(_(t,0,255))}function _(t,e,s){return t=Number(t),isNaN(t)?s:t<e?e:t>s?s:t}const m=1/2.2;function w(t){return t**m}s.d(e,["iw",0,m])},563(t,e,s){s.d(e,{QueueProcessor:()=>l,SharedConcurrency:()=>u});var i=s(97768),r=s(17676),n=s(9775),o=s(32587),a=s(76030),h=s(44794);class l{constructor(t){this._schedule=null,this._deferreds=new o.A,this._controllers=new o.A,this._processingItems=new o.A,this._pausedSignal=(0,h.v)(!1),this.process=t.process,this.concurrency=t.concurrency,this.sharedConcurrency=t.sharedConcurrency??p,this._queue=new n.A(t.peeker)}destroy(){this.clear(),this._schedule=(0,i.xt)(this._schedule)}get updating(){return this.running}get length(){return this._processingItems.size+this._queue.length}get running(){return!this._pausedSignal.value&&this._queue.length>0&&!this.full}get full(){return this._processingItems.size>=this.concurrency||this.sharedConcurrency.full}abort(t){const e=this._controllers.get(t);e?.abort()}clear(){this._queue.clear();const t=Array.from(this._controllers.values());this._controllers.clear(),t.forEach(t=>t.abort()),this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear(),this._cancelNext()}forEach(t){this._deferreds.forEach((e,s)=>t(s))}_get(t){const e=this._deferreds.get(t);return e?.promise}pause(){this._pausedSignal.value||(this._pausedSignal.value=!0,this._cancelNext())}push(t,e){const s=this._get(t);if(s)return s;const i=new AbortController,n=Promise.withResolvers(),o=e?(0,r.u7)(e,()=>i.abort()):null,a=(0,r.NY)(i.signal,()=>{const e=this._processingItems.get(t);e&&e.controller.abort(),h(),n.reject((0,r.NK)())}),h=()=>{a.remove(),o?.remove(),this._removeItem(t),this._queue.remove(t),this._scheduleNext()};return this._deferreds.set(t,n),this._controllers.set(t,i),n.promise.then(h,h),this._queue.push(t),this._scheduleNext(),n.promise}last(){return this._queue.last()}reset(){const t=Array.from(this._processingItems.values());this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear();for(const e of t)this._queue.push(e.item),e.controller.abort();this._scheduleNext()}resume(){this._pausedSignal.value&&(this._pausedSignal.value=!1,this._scheduleNext())}takeAll(){const t=[];for(;this._queue.length;)t.push(this._queue.pop());return this.clear(),t}_removeItem(t){this._deferreds.delete(t),this._controllers.delete(t),this._processingItems.has(t)&&(this._processingItems.delete(t),this.sharedConcurrency.current.value-=1)}_scheduleNext(){this._pausedSignal.value||this._schedule||(this._schedule=(0,a._)(()=>{this._schedule=null,this._next()}))}_next(){for(;this._queue.length>0&&this._processingItems.size<this.concurrency&&!this.sharedConcurrency.full;)this._process(this._queue.pop())}_cancelNext(){this._schedule&&(this._schedule.remove(),this._schedule=null)}_processResult(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).resolve(e))}_processError(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).reject(e))}_canProcessFulfillment(t){return!!this._deferreds.get(t.item)&&this._processingItems.get(t.item)===t}_process(t){if(null==t)return;let e;const s=new AbortController,i=new c(t,s);this._processingItems.set(t,i),this.sharedConcurrency.current.value+=1;try{e=this.process(t,s.signal)}catch(t){this._processError(i,t)}(0,r.$X)(e)?(i.promise=e,e.then(t=>this._processResult(i,t),t=>this._processError(i,t))):this._processResult(i,e)}}class c{constructor(t,e){this.item=t,this.controller=e,this.promise=null}}class u{constructor(t){this.limit=t,this.current=(0,h.v)(0)}get full(){return this.current.value>=this.limit}}const p=new u(1/0)},32587(t,e,s){s.d(e,{A:()=>n});var i=s(62788),r=s(95488);class n{constructor(t){this._observable=new r.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(t)}get size(){return(0,i.gc)(this._observable),this._map.size}batch(t){try{this._batchDepth++,t()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(t){const e=this._map.delete(t);return e&&this._notify(),e}entries(){return(0,i.gc)(this._observable),this._map.entries()}forEach(t,e){(0,i.gc)(this._observable),this._map.forEach((s,i)=>t.call(e,s,i,this),e)}get(t){return(0,i.gc)(this._observable),this._map.get(t)}has(t){return(0,i.gc)(this._observable),this._map.has(t)}keys(){return(0,i.gc)(this._observable),this._map.keys()}set(t,e){return this._map.set(t,e),this._notify(),this}transformValues(t,e=this._map.keys()){this.batch(()=>{for(const s of e){if(!this._map.has(s))continue;const e=this._map.get(s),i=t(e,s);i!==e&&this.set(s,i)}})}values(){return(0,i.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,i.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},95488(t,e,s){s.d(e,{I:()=>r});var i=s(11406);class r extends i.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},21287(t,e,s){s.d(e,{M5:()=>u,eV:()=>c});var i=s(11254),r=s(49186),n=s(17676),o=s(84952),a=s(26306);let h=null,l=!0;function c(t,e,s,i){if(!e||!s)throw new Error("Cannot construct image data without dimensions");if(l)try{return new ImageData(t,e,s)}catch(t){l=!1}const r=function(t,e,s){return s||(h||(h=document.createElement("canvas"),h.width=1,h.height=1),s=h),s.getContext("2d").createImageData(t,e)}(e,s,i);return r.data.set(t,0),r}async function u(t,e){const{arrayBuffer:h,mediaType:l}=await async function(t,e){const s=(0,o.r$)(t);if(s?.isBase64)return{arrayBuffer:(0,a.M)(s.data),mediaType:s.mediaType};const r=await(0,i.A)(t,{responseType:"array-buffer",...e});return{arrayBuffer:r.data,mediaType:r.getHeader?.("Content-Type")??""}}(t,e),c="image/png"===l;if("image/gif"===l){const{isAnimatedGIF:t,parseGif:i}=await s.e(820).then(s.bind(s,10820));if(t(h))return i(h,e)}if(c){const{isAnimatedPNG:t,parseApng:i}=await s.e(2390).then(s.bind(s,22390));if(t(h))return i(h,e)}return async function(t,e){const s=window.URL.createObjectURL(t);try{const{data:t}=await(0,i.A)(s,{...e,responseType:"image"});return t}catch(t){if(!(0,n.zf)(t))throw new r.A("invalid-image",`Could not fetch requested image at ${s}`);throw t}finally{window.URL.revokeObjectURL(s)}}(new Blob([h],{type:l}),e)}},51624(t,e,s){s.d(e,{A:()=>l});var i=s(44208),r=s(69397),n=s(93687);const o=4294967296,a=new TextDecoder("utf-8"),h=(0,i.A)("safari")||(0,i.A)("ios")?6:(0,i.A)("ff")?12:32;class l{constructor(t,e,s=0,i=t?.byteLength??0){this._tag=0,this._dataType=99,this._init(t,e,s,i)}[Symbol.dispose](){this.release()}_init(t,e,s,i){this._data=t,this._dataView=e,this._pos=s,this._end=i}get usedMemory(){return 64+(0,r.Qf)(this._data)}asUnsafe(){return this}clone(){return new l(this._data,this._dataView,this._pos,this._end)}clonePooled(){return l.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(t,e,s=0,i=t?.byteLength??0){const r=l.pool.acquire();return r._init(t,e,s,i),r}pos(){return this._pos}move(t){this._pos=t}nextTag(t){for(;;){if(this._pos===this._end)return!1;const e=this._decodeVarint();if(this._tag=e>>3,this._dataType=7&e,!t||t===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const t=this._decodeVarint();return this._tag=t>>3,this._dataType=7&t,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let t=4294967295;if(t=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return t;throw new Error("Varint overflow")}getPackedEnd(){const t=this.getUInt32();return this._pos+t}getUInt64(){return this._decodeVarint()}getSInt32(){const t=this.getUInt32();return t>>>1^-(1&t)}getSInt64(){return this._decodeSVarint()}getBool(){const t=0!==this._data[this._pos];return this._skip(1),t}getEnum(){return this._decodeVarint()}getFixed64(){const t=this._dataView,e=this._pos,s=t.getUint32(e,!0)+t.getUint32(e+4,!0)*o;return this._skip(8),s}getSFixed64(){const t=this._dataView,e=this._pos,s=t.getUint32(e,!0)+t.getInt32(e+4,!0)*o;return this._skip(8),s}getDouble(){const t=this._dataView.getFloat64(this._pos,!0);return this._skip(8),t}getFixed32(){const t=this._dataView.getUint32(this._pos,!0);return this._skip(4),t}getSFixed32(){const t=this._dataView.getInt32(this._pos,!0);return this._skip(4),t}getFloat(){const t=this._dataView.getFloat32(this._pos,!0);return this._skip(4),t}getString(){const t=this._getLength(),e=this._pos,s=this._toString(this._data,e,e+t);return this._skip(t),s}getBytes(){const t=this._getLength(),e=this._pos,s=this._toBytes(this._data,e,e+t);return this._skip(t),s}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(t,e,s,i){const r=this.getMessage(),n=t(r,e,s,i);return r.release(),n}processMessage(t){const e=this.getMessage(),s=t(e);return e.release(),s}getMessage(){const t=this._getLength(),e=l.pool.acquire();return e._init(this._data,this._dataView,this._pos,this._pos+t),this._skip(t),e}release(){l.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipToEnd(){for(;this.next();)this.skip()}skipLen(t){this._skip(t)}_skip(t){if(this._pos+t>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=t}_decodeVarint(){const t=this._data;let e=this._pos,s=0,i=0;if(this._end-e>=10)do{if(i=t[e++],s|=127&i,!(128&i))break;if(i=t[e++],s|=(127&i)<<7,!(128&i))break;if(i=t[e++],s|=(127&i)<<14,!(128&i))break;if(i=t[e++],s|=(127&i)<<21,!(128&i))break;if(i=t[e++],s+=268435456*(127&i),!(128&i))break;if(i=t[e++],s+=34359738368*(127&i),!(128&i))break;if(i=t[e++],s+=4398046511104*(127&i),!(128&i))break;if(i=t[e++],s+=562949953421312*(127&i),!(128&i))break;if(i=t[e++],s+=72057594037927940*(127&i),!(128&i))break;if(i=t[e++],s+=0x8000000000000000*(127&i),!(128&i))break;throw new Error("Varint too long!")}while(0);else{let r=1;for(;e!==this._end&&(i=t[e],128&i);)++e,s+=(127&i)*r,r*=128;if(e===this._end)throw new Error("Varint overrun!");++e,s+=i*r}return this._pos=e,s}_decodeSVarint(){const t=this._data;let e,s=0,i=0;const r=1&t[this._pos];if(i=t[this._pos++],s|=127&i,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s|=(127&i)<<7,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s|=(127&i)<<14,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s|=(127&i)<<21,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s+=268435456*(127&i),!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s+=34359738368*(127&i),!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s+=4398046511104*(127&i),!(128&i))return r?-(s+1)/2:s/2;if(e=BigInt(s),i=t[this._pos++],e+=0x2000000000000n*BigInt(127&i),!(128&i))return Number(r?-(e+1n)/2n:e/2n);if(i=t[this._pos++],e+=0x100000000000000n*BigInt(127&i),!(128&i))return Number(r?-(e+1n)/2n:e/2n);if(i=t[this._pos++],e+=0x8000000000000000n*BigInt(127&i),!(128&i))return Number(r?-(e+1n)/2n:e/2n);throw new Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(t,e,s){if((s=Math.min(this._end,s))-e>h){const i=t.subarray(e,s);return a.decode(i)}let i="",r="";for(let n=e;n<s;++n){const e=t[n];128&e?r+="%"+e.toString(16):(i+=decodeURIComponent(r)+String.fromCharCode(e),r="")}return r.length&&(i+=decodeURIComponent(r)),i}_toBytes(t,e,s){return s=Math.min(this._end,s),new Uint8Array(t.buffer,e,s-e)}static{this.pool=new n.A(()=>new l(null,null),void 0,t=>{t._data=null,t._dataView=null})}}},90629(t,e,s){s.d(e,{Lz:()=>r,PN:()=>n,cr:()=>o,gs:()=>h,r_:()=>l,tc:()=>a}),s(39829);const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(t){return t?t/72*96:0}function n(t){return t?72*t/96:0}function o(t){if("string"==typeof t){const e=t.match(i);if(e){const s=Number(e[1]),i=e[3]&&e[3].toLowerCase(),r=t.startsWith("-"),o="px"===i?n(s):s;return r?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return t}function a(t=0,e=0){return{x:t,y:e}}function h(t=0,e=0){return[t,e]}function l(t=0,e=0,s=0){return[t,e,s]}},44794(t,e,s){s.d(e,{v:()=>a});var i=s(4718),r=s(62788),n=s(95488);class o{constructor(t,e){this._observable=new n.I,this._value=t,this._equalityFunction=e}get value(){return(0,r.gc)(this._observable),this._value}set value(t){this._equalityFunction(t,this._value)||(this._value=t,this._observable.notify())}mutate(t){t(this._value),this._observable.notify()}}function a(t,e=i.gh){return new o(t,e)}},83027(t,e,s){const i=s(29953).ho;s.d(e,["h",0,i])},48526(t,e,s){s.d(e,{A:()=>f});var i,r=s(5482),n=s(4576),o=s(4718),a=s(91429),h=s(5443),l=s(91075),c=s(86738),u=s(16930),p=s(90634),d=s(47610),g=s(56993),y=s(43937);let f=i=class extends l.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:s,hasZ:i,spatialReference:r}=t;switch(e??=[],e?.at(0)?.length){case 4:i??=!0,s??=!0;break;case 3:i??=!0!==s,s??=!i;break;default:i??=!1,s??=!1}return r??=u.A.WGS84,{...t,hasM:s,hasZ:i,points:e,spatialReference:r}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,p.ge)(this);return t?new h.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,o.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:s,hasZ:r}=this;return new i({points:(0,o.o8)(t),spatialReference:e.clone(),hasM:s,hasZ:r})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,s=t.spatialReference;return null!=e==(null!=s)&&!(null!=e&&null!=s&&!e.equals(s))&&(0,n.aI)(this.points,t.points,d.v6)}addPoint(t){return(0,g.h)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],s={x:e[0],y:e[1],spatialReference:this.spatialReference};let i=2;return this.hasZ&&(s.z=e[2],i=3),this.hasM&&(s.m=e[i]),new c.A(s)}removePoint(t){if(!this._validateInputs(t))return null;const e=new c.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,g.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.points[t]=e,this.notifyChange("points"),this):this}toJSON(t){return this.write({},t)}_validateInputs(t){return null!=t&&t>=0&&t<this.points.length}};(0,r.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,r.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],f.prototype,"points",void 0),(0,r.Cg)([(0,y.K)("points")],f.prototype,"writePoints",null),f=i=(0,r.Cg)([(0,a.$K)("esri.geometry.Multipoint")],f),f.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,s){s.d(e,{A:()=>g});var i,r=s(5482),n=s(4718),o=s(91429),a=s(5443),h=s(91075),l=s(86738),c=s(16930),u=s(90634),p=s(56993),d=s(43937);let g=i=class extends h.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:s,hasZ:i,spatialReference:r}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:i??=!0,s??=!0;break;case 3:i??=!0!==s,s??=!i;break;default:i??=!1,s??=!1}return r??=c.A.WGS84,{...t,hasM:s,hasZ:i,paths:e,spatialReference:r}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,n.o8)(t)}get extent(){const t=(0,u.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,n.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,s=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const i=[];for(let e=0,s=t.length;e<s;e++)i[e]=t[e].toArray();e[s]=i}else e[s]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new i;return t.spatialReference=this.spatialReference,t.paths=(0,n.o8)(this.paths),t.curvePaths=(0,n.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const s=this.paths[t][e],i=this.hasZ,r=this.hasM;return i&&!r?new l.A(s[0],s[1],s[2],void 0,this.spatialReference):r&&!i?new l.A(s[0],s[1],void 0,s[2],this.spatialReference):i&&r?new l.A(s[0],s[1],s[2],s[3],this.spatialReference):new l.A(s[0],s[1],this.spatialReference)}insertPoint(t,e,s){return this._validateInputs(t,e,!0)?((0,p.h)(this,s),Array.isArray(s)||(s=s.toArray()),this.paths[t].splice(e,0,s),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],s=this.spatialReference,i=e.map(t=>new l.A(t,s));return this.notifyChange("paths"),i}removePoint(t,e){if(!this._validateInputs(t,e))return null;const s=new l.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),s}setPoint(t,e,s){return this._validateInputs(t,e)?((0,p.h)(this,s),Array.isArray(s)||(s=s.toArray()),this.paths[t][e]=s,this.notifyChange("paths"),this):this}_validateInputs(t,e,s=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const i=this.paths[t];if(s&&(e<0||e>i.length))return!1;if(!s&&(e<0||e>=i.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],g.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],g.prototype,"curvePaths",void 0),(0,r.Cg)([(0,d.K)("curvePaths")],g.prototype,"writeCurvePaths",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],g.prototype,"extent",null),(0,r.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],g.prototype,"paths",void 0),(0,r.Cg)([(0,d.K)("paths")],g.prototype,"writePaths",null),g=i=(0,r.Cg)([(0,o.$K)("esri.geometry.Polyline")],g),g.prototype.toJSON.isDefaultToJSON=!0},60408(t,e,s){function i(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function r(t){return void 0!==t.points}function n(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function h(t){return"object"==typeof t&&"vertexAttributes"in t}function l(t){return t?n(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":i(t)?"esriGeometryEnvelope":r(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function u(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}s.d(e,{$B:()=>l,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>r,W0:()=>u,ZC:()=>i,fT:()=>n,uW:()=>h})},65864(t,e,s){s.d(e,{rS:()=>c,xD:()=>p});var i=s(5443),r=s(91075),n=s(48526),o=s(86738),a=s(39829),h=s(82799),l=s(60408);function c(t){return null==t?null:t instanceof r.A?t:(0,l.fT)(t)?o.A.fromJSON(t):(0,l.Rg)(t)?h.A.fromJSON(t):(0,l.Bi)(t)?a.A.fromJSON(t):(0,l.U9)(t)?n.A.fromJSON(t):(0,l.ZC)(t)?i.A.fromJSON(t):null}const u={esriGeometryPoint:o.A,esriGeometryPolyline:h.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:i.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:a.A};function p(t){return t&&u[t]||null}},97770(t,e,s){s.d(e,{Ey:()=>P,F8:()=>k,J2:()=>x,Yq:()=>I,_m:()=>N,iS:()=>T,wj:()=>D});var i=s(66552),r=s(73444),n=s(98623),o=s(92647);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},h={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},l={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},u={year:"numeric",month:"long",day:"numeric"},p={year:"numeric",month:"short",day:"numeric"},d={year:"numeric",month:"long",weekday:"long",day:"numeric"},g={hour:"numeric",minute:"numeric"},y={...g,second:"numeric"},f={hourCycle:"h23"},_={...g,...f},m={...y,...f},w={"short-date":c,"short-date-short-time":{...c,...g},"short-date-short-time-24":{...c,..._},"short-date-long-time":{...c,...y},"short-date-long-time-24":{...c,...m},"short-date-le":c,"short-date-le-short-time":{...c,...g},"short-date-le-short-time-24":{...c,..._},"short-date-le-long-time":{...c,...y},"short-date-le-long-time-24":{...c,...m},"long-month-day-year":u,"long-month-day-year-short-time":{...u,...g},"long-month-day-year-short-time-24":{...u,..._},"long-month-day-year-long-time":{...u,...y},"long-month-day-year-long-time-24":{...u,...m},"day-short-month-year":p,"day-short-month-year-short-time":{...p,...g},"day-short-month-year-short-time-24":{...p,..._},"day-short-month-year-long-time":{...p,...y},"day-short-month-year-long-time-24":{...p,...m},"long-date":d,"long-date-short-time":{...d,...g},"long-date-short-time-24":{...d,..._},"long-date-long-time":{...d,...y},"long-date-long-time-24":{...d,...m},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":g,"long-time":y},S=(0,i.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"}),b={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},C=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),v=C.find(({type:t})=>"month"===t)?.value.toLowerCase();function A(){const t=(0,r.lR)();return(t&&b[t])??(0,r.QC)()}"mart"!==v&&(b.bs="sr-Latn-CS");let M=new WeakMap;const R=w["short-date-short-time"];function x(t){return w[t]}function N(t){const{dateStyle:e,timeStyle:s,hour12:i,year:r,month:n}=t,o={};return e?o.dateStyle=e:r&&(o.year=r,o.month=n||void 0),s&&!o.year&&(o.timeStyle=s,o.hour12="auto"===i?void 0:"always"===i),o}function I(t,e=R){return function(t){let e=M.get(t);if(!e){const s=A(),i=D(t.timeZone??"system"),r={...t,timeZone:i};e=new Intl.DateTimeFormat(s,r),M.set(t,e)}return e}(e).format(t)}function T(t,e=R){return I(new Date(t),{...e,...l,...h})}function k(t,e=R){return I(new Date(`1970-01-01T${t}Z`),{...e,...l,...a})}function P(t,e=R){const s=o.c9.fromISO(t,{setZone:!0});if(!s.isValid)return t;if(e.timeZone)return I(s.toJSDate(),e);const i=0===s.offset?"UTC":e.timeZone,r={...e,timeZone:i};return s.toLocaleString(r,{locale:A()})}function D(t){switch(t){case"system":return n.N;case n.L:return"UTC";default:return t}}(0,r.Ml)(()=>{M=new WeakMap}),s.d(e,["_v",0,S])},73444(t,e,s){s.d(e,{JK:()=>h,Ml:()=>f,QC:()=>u,lR:()=>c,oQ:()=>g});var i=s(36563);let r;s(44208);const n=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const t=o?.getAttribute("lang"),e=globalThis.navigator?.language;return n??t??e??"en"}function h(){return void 0===r&&(r=a()),r}const l=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(t=h()){return p(t)?.language}function u(t=h()){const e=p(t);return e?.language&&e?.extlang?t.replace(`${e.language}-`,""):t}function p(t=h()){return l.exec(t)?.groups}const d=[];function g(t){return d.push(t),(0,i.hA)(()=>{d.splice(d.indexOf(t),1)})}new Map;const y=[];function f(t){return y.push(t),(0,i.hA)(()=>y.splice(y.indexOf(t),1))}function _(){const t=a();r!==t&&([...y].forEach(e=>e(t)),r=t,[...d].forEach(e=>e(t)))}globalThis.addEventListener?.("languagechange",_),o&&new MutationObserver(()=>{_()}).observe(o,{attributeFilter:["lang"]})},65851(t,e,s){s.d(e,{A:()=>a});var i=s(5482),r=s(91429),n=s(31593),o=s(20378);let a=class extends o.A{constructor(t){super(t),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,i.Cg)([(0,r.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":n.A}},json:{default:null,write:!0}})],a.prototype,"outline",void 0),(0,i.Cg)([(0,r.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],a.prototype,"type",void 0),a=(0,i.Cg)([(0,r.$K)("esri.symbols.FillSymbol")],a)},11831(t,e,s){s.d(e,{A:()=>l});var i,r=s(5482),n=s(25482),o=s(90629),a=s(91429),h=s(5760);let l=i=class extends n.o{constructor(t){super(t),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(t){this._set("size",t)}castSize(t){return(0,o.cr)(t)}clone(){return new i({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,r.Cg)([(0,a.MZ)({type:h.h9,json:{default:"none",write:!0}})],l.prototype,"decoration",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],l.prototype,"family",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy:(t,e,s)=>({enabled:!s||!s.textSymbol3D})}}})],l.prototype,"size",null),(0,r.Cg)([(0,a.wg)("size")],l.prototype,"castSize",null),(0,r.Cg)([(0,a.MZ)({type:h._R,json:{default:"normal",write:!0}})],l.prototype,"style",void 0),(0,r.Cg)([(0,a.MZ)({type:h.NM,json:{default:"normal",write:!0}})],l.prototype,"weight",void 0),l=i=(0,r.Cg)([(0,a.$K)("esri.symbols.Font")],l)},89420(t,e,s){s.d(e,{A:()=>h});var i=s(5482),r=s(90629),n=s(91429),o=s(56507),a=s(20378);let h=class extends a.A{constructor(t){super(t),this.angle=0,this.type=null}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get size(){return this._get("size")??9}set size(t){this._set("size",t)}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,i.Cg)([(0,n.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],h.prototype,"angle",void 0),(0,i.Cg)([(0,n.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],h.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"xoffset",null),(0,i.Cg)([(0,n.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"yoffset",null),(0,i.Cg)([(0,n.MZ)({cast:t=>"auto"===t?t:(0,o.GB)((0,r.cr)(t)),json:{write:!0}})],h.prototype,"size",null),h=(0,i.Cg)([(0,n.$K)("esri.symbols.MarkerSymbol")],h)},94985(t,e,s){s.d(e,{A:()=>d});var i,r=s(5482),n=s(68197),o=s(66552),a=s(4718),h=s(91429),l=s(65851),c=s(31593),u=s(93223);const p=new o.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let d=i=class extends l.A{constructor(...t){super(...t),this.color=new n.A([0,0,0,.25]),this.outline=new c.A,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(t,e,s){if(t&&"string"!=typeof t)return t;const i={};return t&&(i.style=t),e&&(i.outline=e),s&&(i.color=s),i}clone(){return new i({color:(0,a.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,r.Cg)([(0,h.MZ)({type:n.A})],d.prototype,"color",void 0),(0,r.Cg)([(0,h.MZ)()],d.prototype,"outline",void 0),(0,r.Cg)([(0,u.e)({esriSFS:"simple-fill"},{readOnly:!0})],d.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({type:p.apiValues,json:{read:p.read,write:p.write}})],d.prototype,"style",void 0),d=i=(0,r.Cg)([(0,h.$K)("esri.symbols.SimpleFillSymbol")],d)},31593(t,e,s){s.d(e,{A:()=>b});var i=s(5482),r=s(66552),n=s(4718),o=s(90629),a=s(91429),h=s(20378),l=s(93223);let c=class extends h.A{constructor(t){super(t),this.type="simple-line"}get width(){return this._get("width")??.75}set width(t){this._set("width",t)}hash(){return`${this.type}.${this.width}`}};(0,i.Cg)([(0,l.e)({esriSLS:"simple-line"},{readOnly:!0})],c.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:o.cr,json:{write:!0}})],c.prototype,"width",null),c=(0,i.Cg)([(0,a.$K)("esri.symbols.LineSymbol")],c);var u,p=s(68197),d=s(25482),g=s(83213),y=s(43937),f=s(36005);let _=u=class extends d.o{constructor(t){super(t),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(t,e,s,i){e[s]="web-map"===i?.origin?"arrow":t}set color(t){this._set("color",t)}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}writeColor(t,e,s,i){"web-map"===i?.origin||(e[s]=t)}clone(){return new u({color:(0,n.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,i.Cg)([(0,a.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],_.prototype,"placement",void 0),(0,i.Cg)([(0,l.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,a.MZ)({json:{origins:{"web-map":{write:!1}}}})],_.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:g.z})],_.prototype,"style",void 0),(0,i.Cg)([(0,y.K)("style")],_.prototype,"writeStyle",null),(0,i.Cg)([(0,a.MZ)({type:p.A,value:null,json:{write:{allowNull:!0}}})],_.prototype,"color",null),(0,i.Cg)([(0,f.w)("color")],_.prototype,"readColor",null),(0,i.Cg)([(0,y.K)("color")],_.prototype,"writeColor",null),_=u=(0,i.Cg)([(0,a.$K)("esri.symbols.LineSymbolMarker")],_);const m=_;var w;const S=new r.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let b=w=class extends c{constructor(...t){super(...t),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(t,e,s,i,r,n){if(t&&"string"!=typeof t)return t;const a={};return null!=t&&(a.style=t),null!=e&&(a.color=e),null!=s&&(a.width=(0,o.cr)(s)),null!=i&&(a.cap=i),null!=r&&(a.join=r),null!=n&&(a.miterLimit=(0,o.cr)(n)),a}clone(){return new w({color:(0,n.o8)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,i.Cg)([(0,l.e)({esriSLS:"simple-line"},{readOnly:!0})],b.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:S.apiValues,json:{read:S.read,write:S.write}})],b.prototype,"style",void 0),(0,i.Cg)([(0,a.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(t,e,s)=>({enabled:"round"!==t&&null==s?.origin})}}})],b.prototype,"cap",void 0),(0,i.Cg)([(0,a.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(t,e,s)=>({enabled:"round"!==t&&null==s?.origin})}}})],b.prototype,"join",void 0),(0,i.Cg)([(0,a.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":m}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],b.prototype,"marker",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:!1,write:!1}})],b.prototype,"miterLimit",void 0),b=w=(0,i.Cg)([(0,a.$K)("esri.symbols.SimpleLineSymbol")],b)},53930(t,e,s){s.d(e,{A:()=>y});var i,r=s(5482),n=s(68197),o=s(66552),a=s(4718),h=s(90629),l=s(91429),c=s(89420),u=s(31593),p=s(43937),d=s(93223);const g=new o.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let y=i=class extends c.A{constructor(...t){super(...t),this.color=new n.A([255,255,255,.25]),this.type="simple-marker",this.style="circle",this.outline=new u.A}normalizeCtorArgs(t,e,s,i){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.style=t),null!=e&&(r.size=(0,h.cr)(e)),s&&(r.outline=s),i&&(r.color=i),r}writeColor(t,e){t&&"x"!==this.style&&"cross"!==this.style&&(e.color=t.toJSON()),null===t&&(e.color=null)}get size(){return this._get("size")??12}set size(t){this._set("size",t)}set path(t){this.style="path",this._set("path",t)}clone(){return new i({angle:this.angle,color:(0,a.o8)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,r.Cg)([(0,l.MZ)({type:n.A})],y.prototype,"color",void 0),(0,r.Cg)([(0,p.K)("color")],y.prototype,"writeColor",null),(0,r.Cg)([(0,d.e)({esriSMS:"simple-marker"},{readOnly:!0})],y.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)()],y.prototype,"size",null),(0,r.Cg)([(0,l.MZ)({type:g.apiValues,json:{read:g.read,write:g.write}})],y.prototype,"style",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],y.prototype,"path",null),(0,r.Cg)([(0,l.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":u.A}},json:{default:null,write:!0}})],y.prototype,"outline",void 0),y=i=(0,r.Cg)([(0,l.$K)("esri.symbols.SimpleMarkerSymbol")],y)},20378(t,e,s){s.d(e,{A:()=>u});var i=s(5482),r=s(68197),n=s(66552),o=s(25482),a=s(91429),h=s(36005);const l=new n.J({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let c=0,u=class extends o.o{constructor(t){super(t),this.id="sym"+c++,this.type=null,this.color=new r.A([0,0,0,1])}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}async collectRequiredFields(t,e){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,i.Cg)([(0,a.MZ)({type:l.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:l.write,isRequired:!0}}})],u.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:r.A,json:{write:{allowNull:!0}}})],u.prototype,"color",void 0),(0,i.Cg)([(0,h.w)("color")],u.prototype,"readColor",null),u=(0,i.Cg)([(0,a.$K)("esri.symbols.Symbol")],u)},68249(t,e,s){s.d(e,{A:()=>g});var i,r=s(5482),n=s(68197),o=s(4718),a=s(90629),h=s(91429),l=s(11831),c=s(20378),u=s(5760),p=s(93223),d=s(43937);let g=i=class extends c.A{constructor(...t){super(...t),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new l.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(t,e,s){if(t&&"string"!=typeof t)return t;const i={};return t&&(i.text=t),e&&(i.font=e),s&&(i.color=s),i}get haloSize(){return this._get("haloSize")??null}set haloSize(t){this._set("haloSize",t)}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(t){this._set("lineWidth",t)}writeLineWidth(t,e,s,i){i&&"string"!=typeof i?i.origin:e[s]=t}castLineWidth(t){return(0,a.cr)(t)}writeLineHeight(t,e,s,i){i&&"string"!=typeof i?i.origin:e[s]=t}clone(){return new i({angle:this.angle,backgroundColor:(0,o.o8)(this.backgroundColor),borderLineColor:(0,o.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,o.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,o.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],g.prototype,"backgroundColor",void 0),(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],g.prototype,"borderLineColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0},cast:a.cr})],g.prototype,"borderLineSize",void 0),(0,r.Cg)([(0,h.MZ)({type:l.A,json:{write:!0}})],g.prototype,"font",void 0),(0,r.Cg)([(0,h.MZ)({...u.rM,json:{write:!0}})],g.prototype,"horizontalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"kerning",void 0),(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],g.prototype,"haloColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],g.prototype,"haloSize",null),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"rightToLeft",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"rotated",void 0),(0,r.Cg)([(0,h.MZ)({type:String,json:{write:!0}})],g.prototype,"text",void 0),(0,r.Cg)([(0,p.e)({esriTS:"text"},{readOnly:!0})],g.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({...u.x0,json:{write:!0}})],g.prototype,"verticalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],g.prototype,"xoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],g.prototype,"yoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],g.prototype,"angle",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0}})],g.prototype,"width",void 0),(0,r.Cg)([(0,h.MZ)({type:Number})],g.prototype,"lineWidth",null),(0,r.Cg)([(0,d.K)("lineWidth")],g.prototype,"writeLineWidth",null),(0,r.Cg)([(0,h.wg)("lineWidth")],g.prototype,"castLineWidth",null),(0,r.Cg)([(0,h.MZ)(u.Tb)],g.prototype,"lineHeight",void 0),(0,r.Cg)([(0,d.K)("lineHeight")],g.prototype,"writeLineHeight",null),g=i=(0,r.Cg)([(0,h.$K)("esri.symbols.TextSymbol")],g)},59868(t,e,s){var i=s(94985),r=s(31593),n=s(53930),o=s(68249),a=s(93470);const h=n.A.fromJSON(a.Cb),l=r.A.fromJSON(a.yM),c=i.A.fromJSON(a.WR),u=o.A.fromJSON(a.JZ);n.A.fromJSON(a.nC),r.A.fromJSON(a.HW),i.A.fromJSON(a.b6),s.d(e,["A7",0,l,"Cx",0,c,"Hk",0,u,"UK",0,h])},93470(t,e,s){const i=[252,146,31,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},n={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i};s.d(e,["Cb",0,r,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,i,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,n])},83213(t,e,s){s.d(e,["x",0,["begin","end","begin-end"],"z",0,["arrow","circle","square","diamond","cross","x"]])},5760(t,e,s){var i=s(34727),r=s(56507);const n={type:Number,cast:t=>{const e=(0,r.GB)(t);return 0===e?1:(0,i.qE)(e,.1,4)},nonNullable:!0};s.d(e,["NM",0,["normal","lighter","bold","bolder"],"Tb",0,n,"_R",0,["normal","italic","oblique"],"h9",0,["none","underline","line-through"],"rM",0,{type:["left","right","center"],nonNullable:!0},"x0",0,{type:["baseline","top","middle","bottom"],nonNullable:!0}])},98623(t,e,s){const i=Intl.DateTimeFormat().resolvedOptions().timeZone;s.d(e,["L",0,"unknown","N",0,i])},93602(t,e,s){s.r(e),s.d(e,{default:()=>x});var i=s(11254),r=s(6371),n=s(57582),o=s(44208),a=s(53966),h=s(17676),l=s(2741);let c=null;var u=s(69754),p=(s(83027),s(18989));s(25530),s(67171);const d={width:5,height:2,left:0,top:0};new p.A(0,0,11,8),new p.A(11,0,11,8);const g=1e20;class y{constructor(t){this.pxDensity=4,this.sdfSizePx=t.sdfSizePx,this.sdfBufferPx=t.sdfBufferPx,this.rasterSizePx=this.pxDensity*this.sdfSizePx,this.rasterBufferPx=this.pxDensity*this.sdfBufferPx,this.radius=t.radius,this.cutoff=t.cutoff;const e=this.pxDensity*t.sdfSizePx*3;this.canvasSize=e;const s=new OffscreenCanvas(e,e);this.context=s.getContext("2d",{willReadFrequently:!0}),this.context.imageSmoothingEnabled=!1,this.gridOuter=new Float64Array(e*e),this.gridInner=new Float64Array(e*e),this.gridValues=new Float64Array(e),this.parabolaBoundaries=new Float64Array(e+1),this.parabolaIndices=new Uint16Array(e)}draw(t,e){const{context:s,gridInner:i,gridOuter:r,rasterSizePx:n,rasterBufferPx:o,canvasSize:a,radius:h,cutoff:l}=this,c=n/t.units_per_em();this.context.fillStyle="black",this.context.strokeStyle="black",this.context.resetTransform(),this.context.clearRect(0,0,a,a),this.context.translate(n,n),this.context.scale(c,c);const u=t.paintCurves(e,s);if(!u)return null;const p=u.xMin*c,d=u.xMax*c,y=u.yMin*c,f=u.yMax*c;u.free();const _=Math.ceil(d-p),m=Math.ceil(f-y),w=Math.floor(n+p-o),S=Math.floor(n+y-o),b=_+2*o,C=m+2*o,v=new Float32Array(Math.max(b*C,0)),A=s.getImageData(w,S,b,C);r.fill(g,0,v.length),i.fill(0,0,v.length);for(let t=0;t<C;t++)for(let e=0;e<b;e++){const s=C-1-t,n=A.data[4*(s*b+e)+3]/255;if(0===n)continue;const o=t*b+e;if(1===n)r[o]=0,i[o]=g;else{const t=.5-n;r[o]=t>0?t*t:0,i[o]=t<0?t*t:0}}this._edt(r,0,0,b,C,b),this._edt(i,0,0,b,C,b);for(let t=0;t<v.length;t++)v[t]=Math.sqrt(r[t])-Math.sqrt(i[t]);const M=Math.ceil(b/this.pxDensity),R=Math.ceil(C/this.pxDensity),x=this.pxDensity*this.pxDensity,N=new Uint8ClampedArray(Math.max(M*R,0));for(let t=0;t<R;t++)for(let e=0;e<M;e++){let s=0;for(let i=0;i<this.pxDensity;i++)for(let r=0;r<this.pxDensity;r++)e+r>b||t+i>C||(s+=v[(this.pxDensity*t+i)*b+(this.pxDensity*e+r)]);const i=s/this.pxDensity/x/h+l;N[t*M+e]=Math.round(255-255*i)}const I=c*t.face_height(),T=Math.round(f-I+2*o),k=Math.round(p-o);return{buffer:N,rect:{width:Math.ceil(_/this.pxDensity),height:Math.ceil(m/this.pxDensity),top:Math.round(T/this.pxDensity),left:Math.round(k/this.pxDensity)}}}_edt(t,e,s,i,r,n){for(let o=e;o<e+i;o++)this._edt1d(t,s*n+o,n,r);for(let o=s;o<s+r;o++)this._edt1d(t,o*n+e,1,i)}_edt1d(t,e,s,i){const r=this.parabolaIndices,n=this.parabolaBoundaries,o=this.gridValues;r[0]=0,n[0]=-g,n[1]=g,o[0]=t[e];let a=0;for(let h=1;h<i;h++){o[h]=t[e+h*s];const i=h*h;let l;do{const t=r[a];l=(o[h]-o[t]+i-t*t)/(h-t)/2}while(l<=n[a]&&--a>-1);a++,r[a]=h,n[a]=l,n[a+1]=g}for(let a=0,h=0;a<i;a++){for(;n[h+1]<a;)h++;const i=r[h],l=a-i;t[e+a*s]=o[i]+l*l}}}var f=s(92602),_=s(51624);class m{constructor(t){this._rects=[],this._shapings=[],this._bitmaps=[];const e=new Map;let s=0;for(;t.next();)switch(t.tag()){case 1:{const i=t.getMessage();for(;i.next();)switch(i.tag()){case 3:{const t=i.getMessage();let r,n,o,a,h,l,c;for(;t.next();)switch(t.tag()){case 1:r=t.getUInt32();break;case 2:n=t.getBytes();break;case 3:o=t.getUInt32();break;case 4:a=t.getUInt32();break;case 5:h=t.getSInt32();break;case 6:l=t.getSInt32();break;case 7:c=t.getUInt32();break;default:t.skip()}if(t.release(),r){const t={width:o,height:a,left:h,top:l};this._rects[r]=t;const i={xOffset:0,yOffset:0,xAdvance:c,yAdvance:0};if(this._shapings[r]=i,n){const t=n.length;e.set(r,n),this._bitmaps[r]={start:s,length:t},s+=t}}break}default:i.skip()}i.release();break}default:t.skip()}this._buffer=new Uint8Array(s);for(const[t,s]of e)this._buffer.set(s,this._bitmaps[t].start)}getRect(t){return this._rects.at(t)}getShaping(t){return this._shapings.at(t)}getBitmap(t){const e=this._bitmaps.at(t);if(void 0!==e&&0!==e.length)return this._buffer.subarray(e.start,e.start+e.length)}}class w{constructor(){this._ranges=[]}getRange(t){return this._ranges.at(t)}addRange(t,e){this._ranges[t]=e}}class S{constructor(t){this._glyphInfo=new Map,this._baseURL=t,this._woff2URL=`${f.A.fontsUrl}/woff2/{fontstack}.woff2`}async fetchRange(t,e,s){const r=this._getFontStack(t);if(r.getRange(e))return;const n=256*e,o=n+255,a=this._baseURL.replace("{fontstack}",t).replace("{range}",n+"-"+o);return(0,i.A)(a,{responseType:"array-buffer",signal:s?.signal}).then(t=>{r.addRange(e,new m(new _.A(new Uint8Array(t.data),new DataView(t.data))))})}async preloadASCIIRange(t){const e=this._getFontStack(t),s=this._baseURL.replace("{fontstack}",t).replace("{range}","0-255"),r=await(0,i.A)(s,{responseType:"array-buffer"}),n=new m(new _.A(new Uint8Array(r.data),new DataView(r.data)));for(let t=0;t<=255;t++)e.getRange(t)||e.addRange(t,n)}getRange(t,e){const s=this._glyphInfo.get(t);return s?.getRange(Math.floor(e/256))}woffURL(t){return this._woff2URL.replace("{fontstack}",t)}_getFontStack(t){return this._glyphInfo.get(t)||this._glyphInfo.set(t,new w),this._glyphInfo.get(t)}}class b{constructor(t,e){this._width=0,this._height=0,this._free=[],this._width=t,this._height=e,this._free.push(new p.A(0,0,t,e))}get width(){return this._width}get height(){return this._height}allocate(t,e){if(t>this._width||e>this._height)return new p.A;let s=null,i=-1;for(let r=0;r<this._free.length;++r){const n=this._free[r];t<=n.width&&e<=n.height&&(null===s||n.y<=s.y&&n.x<=s.x)&&(s=n,i=r)}return null===s?new p.A:(this._free.splice(i,1),s.width<s.height?(s.width>t&&this._free.push(new p.A(s.x+t,s.y,s.width-t,e)),s.height>e&&this._free.push(new p.A(s.x,s.y+e,s.width,s.height-e))):(s.width>t&&this._free.push(new p.A(s.x+t,s.y,s.width-t,s.height)),s.height>e&&this._free.push(new p.A(s.x,s.y+e,t,s.height-e))),new p.A(s.x,s.y,t,e))}release(t){for(let e=0;e<this._free.length;++e){const s=this._free[e];if(s.y===t.y&&s.height===t.height&&s.x+s.width===t.x)s.width+=t.width;else if(s.x===t.x&&s.width===t.width&&s.y+s.height===t.y)s.height+=t.height;else if(t.y===s.y&&t.height===s.height&&t.x+t.width===s.x)s.x=t.x,s.width+=t.width;else{if(t.x!==s.x||t.width!==s.width||t.y+t.height!==s.y)continue;s.y=t.y,s.height+=t.height}this._free.splice(e,1),this.release(t)}this._free.push(t)}}s(49186),s(563),s(90629),s(799),s(21287),s(5427),s(44589),s(40804),s(93397),Math.PI,Math.LN2;var C=s(27071);function v(t,e,s,i){return 1|t<<1|(s?1:0)<<2|("Nearest"===i?1:0)<<3|e<<4}s(46858),s(63907),s(42553);const A="arial-unicode-ms-regular",M=/[\u0695\u0698\u06a9\u06af\u06b5\u06be\u06c6\u06cc\u06ce\u06d5\u06ca]|\p{Script=Thai}|\p{Script=Lao}|\p{Script=Tamil}|\p{Script=Khmer}/u,R=new Set(["Noto Sans Khmer","Noto Sans Lao","Noto Sans Myanmar","Noto Sans Thai"]);class x{constructor(){this._glyphSources=new Map,this._snapCoords=!0,this._currentPage=0,this._faces=new Map,this._facePromises=new Map,this._pbfRangePromises=new Map,this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._invalidFonts=new Set,this._preloadCache={},this._glyphSDFCreator=new y({sdfSizePx:24,sdfBufferPx:3,radius:8,cutoff:.25})}set remoteClient(t){this._client=t.createInvokeProxy();const e=this._client.getOptions();this._inited=this._init(e)}async rasterizeText(t,e,s){await this._inited;const i=e.symbol?(0,u.Z)(e):null;return i?{type:"rich-glyphs",runs:(await Promise.all(i.map(async e=>({fontSize:e.fontSize,characterSpacing:e.characterSpacing,color:e.color,glyphs:await this._rasterizeTextRun(t,e.font,e.text,s)})))).filter(t=>null!=t.glyphs)}:this._rasterizeTextRun(t,e.font,e.textString,s)}async _rasterizeTextRun(t,e,s,i){const r=(0,n.rK)(e),h=this._invalidFonts.has(r),l=!!(0,o.A)("esri-2d-force-complex-shaping"),c=!!(0,o.A)("esri-2d-complex-shaping")&&M.test(s),u=R.has(e.family),p=l||c||u,d=h?A:r;let g=await this.getGlyphItems(s,p,t,d,!1,i);return g||(((t,e="")=>{a.A.getLogger("esri.views.MapView").warnOnce(t,e)})(`Font ${r} is not available on the web, using "Arial Unicode MS Regular"`),this._invalidFonts.add(r),g=await this.getGlyphItems(s,p,t,A,!1,i)),g}async getGlyphItems(t,e,s,i,n,a){await this._inited;const h=this._getSource(s);let l,c,u;if((0,o.A)("esri-2d-stabilize-glyphs")&&await this.preloadASCIIGlyphCache(h,i).catch(()=>{}),e){const e=await this._getFace(h,i);if(!e)return null;let s=this._glyphCache.get(i);s||(s=new Map,this._glyphCache.set(i,s));const{shaping:r,isRTL:n}=this._shape(e,t);u=n,l=r.map(t=>this._getShapedGlyph(e,s,t)),c={baseline:e.baseline()/24,midline:e.midline()/24}}else{let e=this._pbfGlyphCache.get(i);e||(e=new Map,this._pbfGlyphCache.set(i,e));const[s,o,c]=(0,r.y)(t),p=(0,C.bX)(s);try{await this._fetchRanges(h,i,p,a)}catch{return null}u=o,l=p.map(t=>this._getPBFGlyph(e,h,i,t,n)).filter(t=>!!t)}const p=l.filter(t=>t.needsRecord);return p.length>0&&await this._client.recordGlyphs(p),{type:"glyphs",glyphs:l,faceInfo:c,isRightToLeft:u,sdfSize:24,sdfRadius:8,sdfPadding:3}}async _init(t){const{width:e,height:s,snapCoords:i}=await t;this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._binPack=new b(e,s),this._snapCoords=i,this._currentPage=0,this._initDecorationGlyphs()}_getShapedGlyph(t,e,s){let i,r,n=e.get(s.glyphId);if(!n){i=this._glyphSDFCreator.draw(t,s.glyphId);const o=this._glyphSDFCreator.sdfBufferPx;n={mosaicItem:{rect:this._recordGlyph(i?.rect,o),page:this._currentPage,sdf:!0,textureBinding:v(1,this._currentPage,!0)},glyphRect:i?.rect??{width:0,height:0,top:0,left:0}},e.set(s.glyphId,n),r=!0}return{mosaicItem:n.mosaicItem,rect:n.glyphRect,shaping:{xAdvance:s.xAdvance,yAdvance:s.yAdvance,xOffset:s.xOffset,yOffset:s.yOffset},code:s.isNewline?10:s.isWhitespace?32:NaN,sdf:i,needsRecord:r}}_getPBFGlyph(t,e,s,i,r=!1){let n,o,a=t.get(i);if(!a){const h=e.getRange(s,i),l=h?.getRect(i),c=h?.getShaping(i),u=h?.getBitmap(i);if(r&&(!l||!c))return;if(!l||!c)return I(i);n=u&&{buffer:u,rect:l},a={mosaicItem:{rect:u?this._recordGlyph(l,3):new p.A(0,0,0,0),sdf:!0,page:this._currentPage,textureBinding:v(1,this._currentPage,!0)},rect:l,shaping:c,code:i},o=!0,t.set(i,a)}const{mosaicItem:h,rect:l,shaping:c}=a;return{mosaicItem:h,rect:l,shaping:c,code:i,sdf:n,needsRecord:o}}_shape(t,e){const s=this._glyphSDFCreator.sdfSizePx,[i,n,o]=(0,r.y)(e,!1),a=new Uint32Array(Array.from(i).map((t,e)=>o.levels[o.targetToSource[e]]));return{shaping:t.shape(i,a,s),isRTL:n}}async _getFace(t,e,r){if(this._faces.has(e))return this._faces.get(e);const n=t.woffURL(e);return await N(this._facePromises,e,async()=>{const t=await(0,i.A)(n,{responseType:"array-buffer",...r}),o=(await async function(){return c||(c=async function(){const t=await s.e(1687).then(s.bind(s,31687));return await t.default({module_or_path:(0,l.s)("esri/libs/text/pkg/bundle_bg.wasm")}),t}()),c}()).Face.parseWoff2(new Uint8Array(t.data));this._faces.set(e,o)}),this._faces.get(e)}_getSource(t){return this._glyphSources.has(t)||this._glyphSources.set(t,new S(t)),this._glyphSources.get(t)}async _fetchRanges(t,e,s,i){const r=function(t){const e=new Set;for(const s of t)e.add(Math.floor(s/256));return e}(s),n=[];r.forEach(s=>{n.push(this._fetchRange(t,e,s,i))}),await Promise.all(n)}async _fetchRange(t,e,s,i){if(s>256)return;const r=e+s;return N(this._pbfRangePromises,r,()=>t.fetchRange(e,s,i))}_allocNewPage(){this._currentPage++,this._binPack=new b(this._binPack.width,this._binPack.height),this._initDecorationGlyphs()}_recordGlyph(t,e){const s=this._binPack;if(!t||0===t.width)return new p.A;const i=t.width+2*e,r=t.height+2*e;let n=i,o=r;this._snapCoords&&(n+=i%4?4-i%4:4,o+=r%4?4-r%4:4);const a=s.allocate(n,o);return a.isEmpty?(this._allocNewPage(),s.allocate(n,o)):a}_initDecorationGlyphs(){this._recordGlyph(d,3),this._recordGlyph(d,3)}preloadASCIIGlyphCache(t,e){const s=this._preloadCache[e];if(null!=s)return s;const i=t.preloadASCIIRange(e).then(async()=>{let s=this._pbfGlyphCache.get(e);s||(s=new Map,this._pbfGlyphCache.set(e,s));for(let i=0;i<256;i++)this._getPBFGlyph(s,t,e,i);const i=Array.from(this._pbfGlyphCache.get(e).values());await this._client.recordGlyphs(i)},t=>{throw delete this._preloadCache[e],t});return this._preloadCache[e]=i,i}}function N(t,e,s){return t.has(e)||t.set(e,s().finally(()=>{t.delete(e)}).catch(t=>{(0,h.jH)(t)})),t.get(e)}const I=t=>({mosaicItem:{rect:new p.A(0,0,0,0),sdf:!0,page:0},rect:{left:0,width:0,height:0,top:0},shaping:{xAdvance:0,yAdvance:0,xOffset:0,yOffset:0},code:t})},27071(t,e,s){s.d(e,{bX:()=>a,Qz:()=>o});var i=s(49186),r=s(53966),n=s(63907);function o(t){switch(t){case n.ld.UNSIGNED_BYTE:return Uint8Array;case n.ld.UNSIGNED_SHORT_4_4_4_4:return Uint16Array;case n.ld.FLOAT:return Float32Array;default:return void r.A.getLogger("esri.views.2d.engine.webgl.Utils").error(new i.A("webgl-utils",`Unable to handle type ${t}`))}}function a(t){const e=[];for(let s=0;s<t.length;s++)e.push(t.charCodeAt(s));return e}new Map},46858(t,e,s){s.d(e,{A:()=>n,J:()=>r});var i=s(799);function r(t,e){let s;if("string"==typeof t)s=(0,i.Wm)(t+`-seed(${e})`);else{let i=12;s=t^e;do{s=107*(s>>8^s)+i|0}while(0!==--i)}return(1+s/(1<<31))/2}function n(t){return Math.floor(r(t,o)*a)}const o=53290320,a=10},63907(t,e,s){const i={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},r={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},n=Object.values(r),o={FLOAT:i.FLOAT,UNSIGNED_BYTE:i.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:i.BYTE,UNSIGNED_SHORT:i.UNSIGNED_SHORT,SHORT:i.SHORT,UNSIGNED_INT:i.UNSIGNED_INT,INT:i.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};s.d(e,["CQ",0,{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},"H0",0,r,"SB",0,{DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},"WR",0,{POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},"XN",0,n,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,o,"pe",0,i,"vt",0,{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}])}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7539],{68197(t,e,s){s.d(e,{A:()=>l});var i=s(40876),r=s(4576),n=s(34727),o=s(56507);function a(t){return(0,n.qE)((0,o.Vr)(t),0,255)}function h(t,e){const s=t.toString(16).padStart(2,"0");return e?s.slice(0,1):s}class l{static blendColors(t,e,s,i=new l){return i.r=Math.round(t.r+(e.r-t.r)*s),i.g=Math.round(t.g+(e.g-t.g)*s),i.b=Math.round(t.b+(e.b-t.b)*s),i.a=t.a+(e.a-t.a)*s,i._sanitize()}static fromRgb(t,e){const s=(0,i.lT)(t);return s?l.fromArray(s,e):null}static fromHex(t,e=new l){const s=(0,i.oW)(t);return s?l.fromArray(s,e):null}static fromArray(t,e=new l){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const s=(0,i.Eq)(t);return s?l.fromArray(s,e):null}static fromJSON(t){return null!=t?new l([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)l.fromString(t,this);else if((0,r.yc)(t))l.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof l||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,s=t?.digits??6,i=3===s||4===s,r=4===s||8===s,n=`#${h(this.r,i)}${h(this.g,i)}${h(this.b,i)}${r?h(Math.round(255*this.a),i):""}`;return e?n.toUpperCase():n}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=a(this.r),s=a(this.g),i=a(this.b);return 0===t||1!==this.a?[e,s,i,a(255*this.a)]:[e,s,i]}clone(){return new l(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(t,e,s,i){this.r=t,this.g=e,this.b=s,this.a=i}}l.prototype.declaredClass="esri.Color"},40876(t,e,s){s.d(e,{Eq:()=>d,G1:()=>y,TS:()=>n,V6:()=>r,Vm:()=>g,ay:()=>h,c1:()=>f,c4:()=>o,j5:()=>l,lT:()=>u,oW:()=>c,xV:()=>w});const i={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 r(t){return!!i[t]||!!i[t.toLowerCase()]}function n(t){return i[t]??i[t.toLowerCase()]}function o(t){return[...n(t)]}function a(t,e,s){s<0&&++s,s>1&&--s;const i=6*s;return i<1?t+(e-t)*i:2*s<1?e:3*s<2?t+(e-t)*(2/3-s)*6:t}function h(t,e,s,i=1){const r=(t%360+360)%360/360,n=s<=.5?s*(e+1):s+e-s*e,o=2*s-n;return[Math.round(255*a(o,n,r+1/3)),Math.round(255*a(o,n,r)),Math.round(255*a(o,n,r-1/3)),i]}function l(t){const e=t.length>5,s=e?8:4,i=(1<<s)-1,r=e?1:17,n=e?9===t.length:5===t.length;let o=Number("0x"+t.slice(1));if(isNaN(o))return null;const a=[0,0,0,1];let h;return n&&(h=o&i,o>>=s,a[3]=r*h/255),h=o&i,o>>=s,a[2]=r*h,h=o&i,o>>=s,a[1]=r*h,h=o&i,o>>=s,a[0]=r*h,a}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),s=parseInt(t.slice(2,3),16),i=parseInt(t.slice(3,4),16),r=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,s+16*s,i+16*i,(r+16*r)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function u(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),s=e[1];if("rgb"===s&&3===t.length||"rgba"===s&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),p(e)}return p(t.map(t=>parseFloat(t)))}if("hsl"===s&&3===t.length||"hsla"===s&&4===t.length)return h(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function p(t){return t[0]=f(t[0]),t[1]=f(t[1]),t[2]=f(t[2]),t[3]=4===t.length?y(t[3]):1,t}function d(t){let e=r(t)?n(t):null;return e??=u(t),e??=c(t),e}function g(t){const e=d(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function y(t){return m(t,0,1)}function f(t){return Math.round(m(t,0,255))}function m(t,e,s){return t=Number(t),isNaN(t)?s:t<e?e:t>s?s:t}const _=1/2.2;function w(t){return t**_}s.d(e,["iw",0,_])},563(t,e,s){s.d(e,{QueueProcessor:()=>l,SharedConcurrency:()=>u});var i=s(97768),r=s(17676),n=s(9775),o=s(32587),a=s(76030),h=s(44794);class l{constructor(t){this._schedule=null,this._deferreds=new o.A,this._controllers=new o.A,this._processingItems=new o.A,this._pausedSignal=(0,h.v)(!1),this.process=t.process,this.concurrency=t.concurrency,this.sharedConcurrency=t.sharedConcurrency??p,this._queue=new n.A(t.peeker)}destroy(){this.clear(),this._schedule=(0,i.xt)(this._schedule)}get updating(){return this.running}get length(){return this._processingItems.size+this._queue.length}get running(){return!this._pausedSignal.value&&this._queue.length>0&&!this.full}get full(){return this._processingItems.size>=this.concurrency||this.sharedConcurrency.full}abort(t){const e=this._controllers.get(t);e?.abort()}clear(){this._queue.clear();const t=Array.from(this._controllers.values());this._controllers.clear(),t.forEach(t=>t.abort()),this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear(),this._cancelNext()}forEach(t){this._deferreds.forEach((e,s)=>t(s))}_get(t){const e=this._deferreds.get(t);return e?.promise}pause(){this._pausedSignal.value||(this._pausedSignal.value=!0,this._cancelNext())}push(t,e){const s=this._get(t);if(s)return s;const i=new AbortController,n=Promise.withResolvers(),o=e?(0,r.u7)(e,()=>i.abort()):null,a=(0,r.NY)(i.signal,()=>{const e=this._processingItems.get(t);e&&e.controller.abort(),h(),n.reject((0,r.NK)())}),h=()=>{a.remove(),o?.remove(),this._removeItem(t),this._queue.remove(t),this._scheduleNext()};return this._deferreds.set(t,n),this._controllers.set(t,i),n.promise.then(h,h),this._queue.push(t),this._scheduleNext(),n.promise}last(){return this._queue.last()}reset(){const t=Array.from(this._processingItems.values());this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear();for(const e of t)this._queue.push(e.item),e.controller.abort();this._scheduleNext()}resume(){this._pausedSignal.value&&(this._pausedSignal.value=!1,this._scheduleNext())}takeAll(){const t=[];for(;this._queue.length;)t.push(this._queue.pop());return this.clear(),t}_removeItem(t){this._deferreds.delete(t),this._controllers.delete(t),this._processingItems.has(t)&&(this._processingItems.delete(t),this.sharedConcurrency.current.value-=1)}_scheduleNext(){this._pausedSignal.value||this._schedule||(this._schedule=(0,a._)(()=>{this._schedule=null,this._next()}))}_next(){for(;this._queue.length>0&&this._processingItems.size<this.concurrency&&!this.sharedConcurrency.full;)this._process(this._queue.pop())}_cancelNext(){this._schedule&&(this._schedule.remove(),this._schedule=null)}_processResult(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).resolve(e))}_processError(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).reject(e))}_canProcessFulfillment(t){return!!this._deferreds.get(t.item)&&this._processingItems.get(t.item)===t}_process(t){if(null==t)return;let e;const s=new AbortController,i=new c(t,s);this._processingItems.set(t,i),this.sharedConcurrency.current.value+=1;try{e=this.process(t,s.signal)}catch(t){this._processError(i,t)}(0,r.$X)(e)?(i.promise=e,e.then(t=>this._processResult(i,t),t=>this._processError(i,t))):this._processResult(i,e)}}class c{constructor(t,e){this.item=t,this.controller=e,this.promise=null}}class u{constructor(t){this.limit=t,this.current=(0,h.v)(0)}get full(){return this.current.value>=this.limit}}const p=new u(1/0)},32587(t,e,s){s.d(e,{A:()=>n});var i=s(62788),r=s(95488);class n{constructor(t){this._observable=new r.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(t)}get size(){return(0,i.gc)(this._observable),this._map.size}batch(t){try{this._batchDepth++,t()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(t){const e=this._map.delete(t);return e&&this._notify(),e}entries(){return(0,i.gc)(this._observable),this._map.entries()}forEach(t,e){(0,i.gc)(this._observable),this._map.forEach((s,i)=>t.call(e,s,i,this),e)}get(t){return(0,i.gc)(this._observable),this._map.get(t)}has(t){return(0,i.gc)(this._observable),this._map.has(t)}keys(){return(0,i.gc)(this._observable),this._map.keys()}set(t,e){return this._map.set(t,e),this._notify(),this}transformValues(t,e=this._map.keys()){this.batch(()=>{for(const s of e){if(!this._map.has(s))continue;const e=this._map.get(s),i=t(e,s);i!==e&&this.set(s,i)}})}values(){return(0,i.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,i.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},95488(t,e,s){s.d(e,{I:()=>r});var i=s(11406);class r extends i.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},21287(t,e,s){s.d(e,{M5:()=>u,eV:()=>c});var i=s(11254),r=s(49186),n=s(17676),o=s(84952),a=s(26306);let h=null,l=!0;function c(t,e,s,i){if(!e||!s)throw new Error("Cannot construct image data without dimensions");if(l)try{return new ImageData(t,e,s)}catch(t){l=!1}const r=function(t,e,s){return s||(h||(h=document.createElement("canvas"),h.width=1,h.height=1),s=h),s.getContext("2d").createImageData(t,e)}(e,s,i);return r.data.set(t,0),r}async function u(t,e){const{arrayBuffer:h,mediaType:l}=await async function(t,e){const s=(0,o.r$)(t);if(s?.isBase64)return{arrayBuffer:(0,a.M)(s.data),mediaType:s.mediaType};const r=await(0,i.A)(t,{responseType:"array-buffer",...e});return{arrayBuffer:r.data,mediaType:r.getHeader?.("Content-Type")??""}}(t,e),c="image/png"===l;if("image/gif"===l){const{isAnimatedGIF:t,parseGif:i}=await s.e(820).then(s.bind(s,10820));if(t(h))return i(h,e)}if(c){const{isAnimatedPNG:t,parseApng:i}=await s.e(2390).then(s.bind(s,22390));if(t(h))return i(h,e)}return async function(t,e){const s=window.URL.createObjectURL(t);try{const{data:t}=await(0,i.A)(s,{...e,responseType:"image"});return t}catch(t){if(!(0,n.zf)(t))throw new r.A("invalid-image",`Could not fetch requested image at ${s}`);throw t}finally{window.URL.revokeObjectURL(s)}}(new Blob([h],{type:l}),e)}},51624(t,e,s){s.d(e,{A:()=>l});var i=s(44208),r=s(69397),n=s(93687);const o=4294967296,a=new TextDecoder("utf-8"),h=(0,i.A)("safari")||(0,i.A)("ios")?6:(0,i.A)("ff")?12:32;class l{constructor(t,e,s=0,i=t?.byteLength??0){this._tag=0,this._dataType=99,this._init(t,e,s,i)}[Symbol.dispose](){this.release()}_init(t,e,s,i){this._data=t,this._dataView=e,this._pos=s,this._end=i}get usedMemory(){return 64+(0,r.Qf)(this._data)}asUnsafe(){return this}clone(){return new l(this._data,this._dataView,this._pos,this._end)}clonePooled(){return l.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(t,e,s=0,i=t?.byteLength??0){const r=l.pool.acquire();return r._init(t,e,s,i),r}pos(){return this._pos}move(t){this._pos=t}nextTag(t){for(;;){if(this._pos===this._end)return!1;const e=this._decodeVarint();if(this._tag=e>>3,this._dataType=7&e,!t||t===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const t=this._decodeVarint();return this._tag=t>>3,this._dataType=7&t,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let t=4294967295;if(t=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return t;throw new Error("Varint overflow")}getPackedEnd(){const t=this.getUInt32();return this._pos+t}getUInt64(){return this._decodeVarint()}getSInt32(){const t=this.getUInt32();return t>>>1^-(1&t)}getSInt64(){return this._decodeSVarint()}getBool(){const t=0!==this._data[this._pos];return this._skip(1),t}getEnum(){return this._decodeVarint()}getFixed64(){const t=this._dataView,e=this._pos,s=t.getUint32(e,!0)+t.getUint32(e+4,!0)*o;return this._skip(8),s}getSFixed64(){const t=this._dataView,e=this._pos,s=t.getUint32(e,!0)+t.getInt32(e+4,!0)*o;return this._skip(8),s}getDouble(){const t=this._dataView.getFloat64(this._pos,!0);return this._skip(8),t}getFixed32(){const t=this._dataView.getUint32(this._pos,!0);return this._skip(4),t}getSFixed32(){const t=this._dataView.getInt32(this._pos,!0);return this._skip(4),t}getFloat(){const t=this._dataView.getFloat32(this._pos,!0);return this._skip(4),t}getString(){const t=this._getLength(),e=this._pos,s=this._toString(this._data,e,e+t);return this._skip(t),s}getBytes(){const t=this._getLength(),e=this._pos,s=this._toBytes(this._data,e,e+t);return this._skip(t),s}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(t,e,s,i){const r=this.getMessage(),n=t(r,e,s,i);return r.release(),n}processMessage(t){const e=this.getMessage(),s=t(e);return e.release(),s}getMessage(){const t=this._getLength(),e=l.pool.acquire();return e._init(this._data,this._dataView,this._pos,this._pos+t),this._skip(t),e}release(){l.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipToEnd(){for(;this.next();)this.skip()}skipLen(t){this._skip(t)}_skip(t){if(this._pos+t>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=t}_decodeVarint(){const t=this._data;let e=this._pos,s=0,i=0;if(this._end-e>=10)do{if(i=t[e++],s|=127&i,!(128&i))break;if(i=t[e++],s|=(127&i)<<7,!(128&i))break;if(i=t[e++],s|=(127&i)<<14,!(128&i))break;if(i=t[e++],s|=(127&i)<<21,!(128&i))break;if(i=t[e++],s+=268435456*(127&i),!(128&i))break;if(i=t[e++],s+=34359738368*(127&i),!(128&i))break;if(i=t[e++],s+=4398046511104*(127&i),!(128&i))break;if(i=t[e++],s+=562949953421312*(127&i),!(128&i))break;if(i=t[e++],s+=72057594037927940*(127&i),!(128&i))break;if(i=t[e++],s+=0x8000000000000000*(127&i),!(128&i))break;throw new Error("Varint too long!")}while(0);else{let r=1;for(;e!==this._end&&(i=t[e],128&i);)++e,s+=(127&i)*r,r*=128;if(e===this._end)throw new Error("Varint overrun!");++e,s+=i*r}return this._pos=e,s}_decodeSVarint(){const t=this._data;let e,s=0,i=0;const r=1&t[this._pos];if(i=t[this._pos++],s|=127&i,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s|=(127&i)<<7,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s|=(127&i)<<14,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s|=(127&i)<<21,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s+=268435456*(127&i),!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s+=34359738368*(127&i),!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s+=4398046511104*(127&i),!(128&i))return r?-(s+1)/2:s/2;if(e=BigInt(s),i=t[this._pos++],e+=0x2000000000000n*BigInt(127&i),!(128&i))return Number(r?-(e+1n)/2n:e/2n);if(i=t[this._pos++],e+=0x100000000000000n*BigInt(127&i),!(128&i))return Number(r?-(e+1n)/2n:e/2n);if(i=t[this._pos++],e+=0x8000000000000000n*BigInt(127&i),!(128&i))return Number(r?-(e+1n)/2n:e/2n);throw new Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(t,e,s){if((s=Math.min(this._end,s))-e>h){const i=t.subarray(e,s);return a.decode(i)}let i="",r="";for(let n=e;n<s;++n){const e=t[n];128&e?r+="%"+e.toString(16):(i+=decodeURIComponent(r)+String.fromCharCode(e),r="")}return r.length&&(i+=decodeURIComponent(r)),i}_toBytes(t,e,s){return s=Math.min(this._end,s),new Uint8Array(t.buffer,e,s-e)}static{this.pool=new n.A(()=>new l(null,null),void 0,t=>{t._data=null,t._dataView=null})}}},90629(t,e,s){s.d(e,{Lz:()=>r,PN:()=>n,cr:()=>o,gs:()=>h,r_:()=>l,tc:()=>a}),s(39829);const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(t){return t?t/72*96:0}function n(t){return t?72*t/96:0}function o(t){if("string"==typeof t){const e=t.match(i);if(e){const s=Number(e[1]),i=e[3]&&e[3].toLowerCase(),r=t.startsWith("-"),o="px"===i?n(s):s;return r?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return t}function a(t=0,e=0){return{x:t,y:e}}function h(t=0,e=0){return[t,e]}function l(t=0,e=0,s=0){return[t,e,s]}},44794(t,e,s){s.d(e,{v:()=>a});var i=s(4718),r=s(62788),n=s(95488);class o{constructor(t,e){this._observable=new n.I,this._value=t,this._equalityFunction=e}get value(){return(0,r.gc)(this._observable),this._value}set value(t){this._equalityFunction(t,this._value)||(this._value=t,this._observable.notify())}mutate(t){t(this._value),this._observable.notify()}}function a(t,e=i.gh){return new o(t,e)}},83027(t,e,s){const i=s(29953).ho;s.d(e,["h",0,i])},48526(t,e,s){s.d(e,{A:()=>f});var i,r=s(5482),n=s(4576),o=s(4718),a=s(91429),h=s(5443),l=s(91075),c=s(86738),u=s(16930),p=s(90634),d=s(47610),g=s(56993),y=s(43937);let f=i=class extends l.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:s,hasZ:i,spatialReference:r}=t;switch(e??=[],e?.at(0)?.length){case 4:i??=!0,s??=!0;break;case 3:i??=!0!==s,s??=!i;break;default:i??=!1,s??=!1}return r??=u.A.WGS84,{...t,hasM:s,hasZ:i,points:e,spatialReference:r}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,p.ge)(this);return t?new h.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,o.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:s,hasZ:r}=this;return new i({points:(0,o.o8)(t),spatialReference:e.clone(),hasM:s,hasZ:r})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,s=t.spatialReference;return null!=e==(null!=s)&&!(null!=e&&null!=s&&!e.equals(s))&&(0,n.aI)(this.points,t.points,d.v6)}addPoint(t){return(0,g.h)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],s={x:e[0],y:e[1],spatialReference:this.spatialReference};let i=2;return this.hasZ&&(s.z=e[2],i=3),this.hasM&&(s.m=e[i]),new c.A(s)}removePoint(t){if(!this._validateInputs(t))return null;const e=new c.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,g.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.points[t]=e,this.notifyChange("points"),this):this}toJSON(t){return this.write({},t)}_validateInputs(t){return null!=t&&t>=0&&t<this.points.length}};(0,r.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,r.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],f.prototype,"points",void 0),(0,r.Cg)([(0,y.K)("points")],f.prototype,"writePoints",null),f=i=(0,r.Cg)([(0,a.$K)("esri.geometry.Multipoint")],f),f.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,s){s.d(e,{A:()=>g});var i,r=s(5482),n=s(4718),o=s(91429),a=s(5443),h=s(91075),l=s(86738),c=s(16930),u=s(90634),p=s(56993),d=s(43937);let g=i=class extends h.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:s,hasZ:i,spatialReference:r}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:i??=!0,s??=!0;break;case 3:i??=!0!==s,s??=!i;break;default:i??=!1,s??=!1}return r??=c.A.WGS84,{...t,hasM:s,hasZ:i,paths:e,spatialReference:r}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,n.o8)(t)}get extent(){const t=(0,u.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,n.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,s=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const i=[];for(let e=0,s=t.length;e<s;e++)i[e]=t[e].toArray();e[s]=i}else e[s]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new i;return t.spatialReference=this.spatialReference,t.paths=(0,n.o8)(this.paths),t.curvePaths=(0,n.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const s=this.paths[t][e],i=this.hasZ,r=this.hasM;return i&&!r?new l.A(s[0],s[1],s[2],void 0,this.spatialReference):r&&!i?new l.A(s[0],s[1],void 0,s[2],this.spatialReference):i&&r?new l.A(s[0],s[1],s[2],s[3],this.spatialReference):new l.A(s[0],s[1],this.spatialReference)}insertPoint(t,e,s){return this._validateInputs(t,e,!0)?((0,p.h)(this,s),Array.isArray(s)||(s=s.toArray()),this.paths[t].splice(e,0,s),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],s=this.spatialReference,i=e.map(t=>new l.A(t,s));return this.notifyChange("paths"),i}removePoint(t,e){if(!this._validateInputs(t,e))return null;const s=new l.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),s}setPoint(t,e,s){return this._validateInputs(t,e)?((0,p.h)(this,s),Array.isArray(s)||(s=s.toArray()),this.paths[t][e]=s,this.notifyChange("paths"),this):this}_validateInputs(t,e,s=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const i=this.paths[t];if(s&&(e<0||e>i.length))return!1;if(!s&&(e<0||e>=i.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],g.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],g.prototype,"curvePaths",void 0),(0,r.Cg)([(0,d.K)("curvePaths")],g.prototype,"writeCurvePaths",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],g.prototype,"extent",null),(0,r.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],g.prototype,"paths",void 0),(0,r.Cg)([(0,d.K)("paths")],g.prototype,"writePaths",null),g=i=(0,r.Cg)([(0,o.$K)("esri.geometry.Polyline")],g),g.prototype.toJSON.isDefaultToJSON=!0},60408(t,e,s){function i(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function r(t){return void 0!==t.points}function n(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function h(t){return"object"==typeof t&&"vertexAttributes"in t}function l(t){return t?n(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":i(t)?"esriGeometryEnvelope":r(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function u(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}s.d(e,{$B:()=>l,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>r,W0:()=>u,ZC:()=>i,fT:()=>n,uW:()=>h})},65864(t,e,s){s.d(e,{rS:()=>c,xD:()=>p});var i=s(5443),r=s(91075),n=s(48526),o=s(86738),a=s(39829),h=s(82799),l=s(60408);function c(t){return null==t?null:t instanceof r.A?t:(0,l.fT)(t)?o.A.fromJSON(t):(0,l.Rg)(t)?h.A.fromJSON(t):(0,l.Bi)(t)?a.A.fromJSON(t):(0,l.U9)(t)?n.A.fromJSON(t):(0,l.ZC)(t)?i.A.fromJSON(t):null}const u={esriGeometryPoint:o.A,esriGeometryPolyline:h.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:i.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:a.A};function p(t){return t&&u[t]||null}},97770(t,e,s){s.d(e,{Ey:()=>N,F8:()=>R,J2:()=>k,Yq:()=>P,_m:()=>L,iS:()=>I,wj:()=>z});var i=s(66552),r=s(73444),n=s(98623),o=s(92647);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},h={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},l={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},u={year:"numeric",month:"long",day:"numeric"},p={year:"numeric",month:"short",day:"numeric"},d={year:"numeric",month:"long",weekday:"long",day:"numeric"},g={hour:"numeric",minute:"numeric"},y={...g,second:"numeric"},f={hourCycle:"h23"},m={...g,...f},_={...y,...f},w={"short-date":c,"short-date-short-time":{...c,...g},"short-date-short-time-24":{...c,...m},"short-date-long-time":{...c,...y},"short-date-long-time-24":{...c,..._},"short-date-le":c,"short-date-le-short-time":{...c,...g},"short-date-le-short-time-24":{...c,...m},"short-date-le-long-time":{...c,...y},"short-date-le-long-time-24":{...c,..._},"long-month-day-year":u,"long-month-day-year-short-time":{...u,...g},"long-month-day-year-short-time-24":{...u,...m},"long-month-day-year-long-time":{...u,...y},"long-month-day-year-long-time-24":{...u,..._},"day-short-month-year":p,"day-short-month-year-short-time":{...p,...g},"day-short-month-year-short-time-24":{...p,...m},"day-short-month-year-long-time":{...p,...y},"day-short-month-year-long-time-24":{...p,..._},"long-date":d,"long-date-short-time":{...d,...g},"long-date-short-time-24":{...d,...m},"long-date-long-time":{...d,...y},"long-date-long-time-24":{...d,..._},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":g,"long-time":y},b=(0,i.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"}),S={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},v=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),C=v.find(({type:t})=>"month"===t)?.value.toLowerCase();function A(){const t=(0,r.lR)();return(t&&S[t])??(0,r.QC)()}"mart"!==C&&(S.bs="sr-Latn-CS");let x=new WeakMap;const M=w["short-date-short-time"];function k(t){return w[t]}function L(t){const{dateStyle:e,timeStyle:s,hour12:i,year:r,month:n}=t,o={};return e?o.dateStyle=e:r&&(o.year=r,o.month=n||void 0),s&&!o.year&&(o.timeStyle=s,o.hour12="auto"===i?void 0:"always"===i),o}function P(t,e=M){return function(t){let e=x.get(t);if(!e){const s=A(),i=z(t.timeZone??"system"),r={...t,timeZone:i};e=new Intl.DateTimeFormat(s,r),x.set(t,e)}return e}(e).format(t)}function I(t,e=M){return P(new Date(t),{...e,...l,...h})}function R(t,e=M){return P(new Date(`1970-01-01T${t}Z`),{...e,...l,...a})}function N(t,e=M){const s=o.c9.fromISO(t,{setZone:!0});if(!s.isValid)return t;if(e.timeZone)return P(s.toJSDate(),e);const i=0===s.offset?"UTC":e.timeZone,r={...e,timeZone:i};return s.toLocaleString(r,{locale:A()})}function z(t){switch(t){case"system":return n.N;case n.L:return"UTC";default:return t}}(0,r.Ml)(()=>{x=new WeakMap}),s.d(e,["_v",0,b])},73444(t,e,s){s.d(e,{JK:()=>h,Ml:()=>f,QC:()=>u,lR:()=>c,oQ:()=>g});var i=s(36563);let r;s(44208);const n=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const t=o?.getAttribute("lang"),e=globalThis.navigator?.language;return n??t??e??"en"}function h(){return void 0===r&&(r=a()),r}const l=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(t=h()){return p(t)?.language}function u(t=h()){const e=p(t);return e?.language&&e?.extlang?t.replace(`${e.language}-`,""):t}function p(t=h()){return l.exec(t)?.groups}const d=[];function g(t){return d.push(t),(0,i.hA)(()=>{d.splice(d.indexOf(t),1)})}new Map;const y=[];function f(t){return y.push(t),(0,i.hA)(()=>y.splice(y.indexOf(t),1))}function m(){const t=a();r!==t&&([...y].forEach(e=>e(t)),r=t,[...d].forEach(e=>e(t)))}globalThis.addEventListener?.("languagechange",m),o&&new MutationObserver(()=>{m()}).observe(o,{attributeFilter:["lang"]})},65851(t,e,s){s.d(e,{A:()=>a});var i=s(5482),r=s(91429),n=s(31593),o=s(20378);let a=class extends o.A{constructor(t){super(t),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,i.Cg)([(0,r.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":n.A}},json:{default:null,write:!0}})],a.prototype,"outline",void 0),(0,i.Cg)([(0,r.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],a.prototype,"type",void 0),a=(0,i.Cg)([(0,r.$K)("esri.symbols.FillSymbol")],a)},11831(t,e,s){s.d(e,{A:()=>l});var i,r=s(5482),n=s(25482),o=s(90629),a=s(91429),h=s(5760);let l=i=class extends n.o{constructor(t){super(t),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(t){this._set("size",t)}castSize(t){return(0,o.cr)(t)}clone(){return new i({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,r.Cg)([(0,a.MZ)({type:h.h9,json:{default:"none",write:!0}})],l.prototype,"decoration",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],l.prototype,"family",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy:(t,e,s)=>({enabled:!s||!s.textSymbol3D})}}})],l.prototype,"size",null),(0,r.Cg)([(0,a.wg)("size")],l.prototype,"castSize",null),(0,r.Cg)([(0,a.MZ)({type:h._R,json:{default:"normal",write:!0}})],l.prototype,"style",void 0),(0,r.Cg)([(0,a.MZ)({type:h.NM,json:{default:"normal",write:!0}})],l.prototype,"weight",void 0),l=i=(0,r.Cg)([(0,a.$K)("esri.symbols.Font")],l)},89420(t,e,s){s.d(e,{A:()=>h});var i=s(5482),r=s(90629),n=s(91429),o=s(56507),a=s(20378);let h=class extends a.A{constructor(t){super(t),this.angle=0,this.type=null}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get size(){return this._get("size")??9}set size(t){this._set("size",t)}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,i.Cg)([(0,n.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],h.prototype,"angle",void 0),(0,i.Cg)([(0,n.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],h.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"xoffset",null),(0,i.Cg)([(0,n.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"yoffset",null),(0,i.Cg)([(0,n.MZ)({cast:t=>"auto"===t?t:(0,o.GB)((0,r.cr)(t)),json:{write:!0}})],h.prototype,"size",null),h=(0,i.Cg)([(0,n.$K)("esri.symbols.MarkerSymbol")],h)},94985(t,e,s){s.d(e,{A:()=>d});var i,r=s(5482),n=s(68197),o=s(66552),a=s(4718),h=s(91429),l=s(65851),c=s(31593),u=s(93223);const p=new o.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let d=i=class extends l.A{constructor(...t){super(...t),this.color=new n.A([0,0,0,.25]),this.outline=new c.A,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(t,e,s){if(t&&"string"!=typeof t)return t;const i={};return t&&(i.style=t),e&&(i.outline=e),s&&(i.color=s),i}clone(){return new i({color:(0,a.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,r.Cg)([(0,h.MZ)({type:n.A})],d.prototype,"color",void 0),(0,r.Cg)([(0,h.MZ)()],d.prototype,"outline",void 0),(0,r.Cg)([(0,u.e)({esriSFS:"simple-fill"},{readOnly:!0})],d.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({type:p.apiValues,json:{read:p.read,write:p.write}})],d.prototype,"style",void 0),d=i=(0,r.Cg)([(0,h.$K)("esri.symbols.SimpleFillSymbol")],d)},31593(t,e,s){s.d(e,{A:()=>S});var i=s(5482),r=s(66552),n=s(4718),o=s(90629),a=s(91429),h=s(20378),l=s(93223);let c=class extends h.A{constructor(t){super(t),this.type="simple-line"}get width(){return this._get("width")??.75}set width(t){this._set("width",t)}hash(){return`${this.type}.${this.width}`}};(0,i.Cg)([(0,l.e)({esriSLS:"simple-line"},{readOnly:!0})],c.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:o.cr,json:{write:!0}})],c.prototype,"width",null),c=(0,i.Cg)([(0,a.$K)("esri.symbols.LineSymbol")],c);var u,p=s(68197),d=s(25482),g=s(83213),y=s(43937),f=s(36005);let m=u=class extends d.o{constructor(t){super(t),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(t,e,s,i){e[s]="web-map"===i?.origin?"arrow":t}set color(t){this._set("color",t)}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}writeColor(t,e,s,i){"web-map"===i?.origin||(e[s]=t)}clone(){return new u({color:(0,n.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,i.Cg)([(0,a.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],m.prototype,"placement",void 0),(0,i.Cg)([(0,l.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,a.MZ)({json:{origins:{"web-map":{write:!1}}}})],m.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:g.z})],m.prototype,"style",void 0),(0,i.Cg)([(0,y.K)("style")],m.prototype,"writeStyle",null),(0,i.Cg)([(0,a.MZ)({type:p.A,value:null,json:{write:{allowNull:!0}}})],m.prototype,"color",null),(0,i.Cg)([(0,f.w)("color")],m.prototype,"readColor",null),(0,i.Cg)([(0,y.K)("color")],m.prototype,"writeColor",null),m=u=(0,i.Cg)([(0,a.$K)("esri.symbols.LineSymbolMarker")],m);const _=m;var w;const b=new r.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let S=w=class extends c{constructor(...t){super(...t),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(t,e,s,i,r,n){if(t&&"string"!=typeof t)return t;const a={};return null!=t&&(a.style=t),null!=e&&(a.color=e),null!=s&&(a.width=(0,o.cr)(s)),null!=i&&(a.cap=i),null!=r&&(a.join=r),null!=n&&(a.miterLimit=(0,o.cr)(n)),a}clone(){return new w({color:(0,n.o8)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,i.Cg)([(0,l.e)({esriSLS:"simple-line"},{readOnly:!0})],S.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:b.apiValues,json:{read:b.read,write:b.write}})],S.prototype,"style",void 0),(0,i.Cg)([(0,a.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(t,e,s)=>({enabled:"round"!==t&&null==s?.origin})}}})],S.prototype,"cap",void 0),(0,i.Cg)([(0,a.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(t,e,s)=>({enabled:"round"!==t&&null==s?.origin})}}})],S.prototype,"join",void 0),(0,i.Cg)([(0,a.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":_}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],S.prototype,"marker",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:!1,write:!1}})],S.prototype,"miterLimit",void 0),S=w=(0,i.Cg)([(0,a.$K)("esri.symbols.SimpleLineSymbol")],S)},53930(t,e,s){s.d(e,{A:()=>y});var i,r=s(5482),n=s(68197),o=s(66552),a=s(4718),h=s(90629),l=s(91429),c=s(89420),u=s(31593),p=s(43937),d=s(93223);const g=new o.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let y=i=class extends c.A{constructor(...t){super(...t),this.color=new n.A([255,255,255,.25]),this.type="simple-marker",this.style="circle",this.outline=new u.A}normalizeCtorArgs(t,e,s,i){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.style=t),null!=e&&(r.size=(0,h.cr)(e)),s&&(r.outline=s),i&&(r.color=i),r}writeColor(t,e){t&&"x"!==this.style&&"cross"!==this.style&&(e.color=t.toJSON()),null===t&&(e.color=null)}get size(){return this._get("size")??12}set size(t){this._set("size",t)}set path(t){this.style="path",this._set("path",t)}clone(){return new i({angle:this.angle,color:(0,a.o8)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,r.Cg)([(0,l.MZ)({type:n.A})],y.prototype,"color",void 0),(0,r.Cg)([(0,p.K)("color")],y.prototype,"writeColor",null),(0,r.Cg)([(0,d.e)({esriSMS:"simple-marker"},{readOnly:!0})],y.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)()],y.prototype,"size",null),(0,r.Cg)([(0,l.MZ)({type:g.apiValues,json:{read:g.read,write:g.write}})],y.prototype,"style",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],y.prototype,"path",null),(0,r.Cg)([(0,l.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":u.A}},json:{default:null,write:!0}})],y.prototype,"outline",void 0),y=i=(0,r.Cg)([(0,l.$K)("esri.symbols.SimpleMarkerSymbol")],y)},20378(t,e,s){s.d(e,{A:()=>u});var i=s(5482),r=s(68197),n=s(66552),o=s(25482),a=s(91429),h=s(36005);const l=new n.J({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let c=0,u=class extends o.o{constructor(t){super(t),this.id="sym"+c++,this.type=null,this.color=new r.A([0,0,0,1])}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}async collectRequiredFields(t,e){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,i.Cg)([(0,a.MZ)({type:l.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:l.write,isRequired:!0}}})],u.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:r.A,json:{write:{allowNull:!0}}})],u.prototype,"color",void 0),(0,i.Cg)([(0,h.w)("color")],u.prototype,"readColor",null),u=(0,i.Cg)([(0,a.$K)("esri.symbols.Symbol")],u)},68249(t,e,s){s.d(e,{A:()=>g});var i,r=s(5482),n=s(68197),o=s(4718),a=s(90629),h=s(91429),l=s(11831),c=s(20378),u=s(5760),p=s(93223),d=s(43937);let g=i=class extends c.A{constructor(...t){super(...t),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new l.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(t,e,s){if(t&&"string"!=typeof t)return t;const i={};return t&&(i.text=t),e&&(i.font=e),s&&(i.color=s),i}get haloSize(){return this._get("haloSize")??null}set haloSize(t){this._set("haloSize",t)}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(t){this._set("lineWidth",t)}writeLineWidth(t,e,s,i){i&&"string"!=typeof i?i.origin:e[s]=t}castLineWidth(t){return(0,a.cr)(t)}writeLineHeight(t,e,s,i){i&&"string"!=typeof i?i.origin:e[s]=t}clone(){return new i({angle:this.angle,backgroundColor:(0,o.o8)(this.backgroundColor),borderLineColor:(0,o.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,o.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,o.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],g.prototype,"backgroundColor",void 0),(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],g.prototype,"borderLineColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0},cast:a.cr})],g.prototype,"borderLineSize",void 0),(0,r.Cg)([(0,h.MZ)({type:l.A,json:{write:!0}})],g.prototype,"font",void 0),(0,r.Cg)([(0,h.MZ)({...u.rM,json:{write:!0}})],g.prototype,"horizontalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"kerning",void 0),(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],g.prototype,"haloColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],g.prototype,"haloSize",null),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"rightToLeft",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"rotated",void 0),(0,r.Cg)([(0,h.MZ)({type:String,json:{write:!0}})],g.prototype,"text",void 0),(0,r.Cg)([(0,p.e)({esriTS:"text"},{readOnly:!0})],g.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({...u.x0,json:{write:!0}})],g.prototype,"verticalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],g.prototype,"xoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],g.prototype,"yoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],g.prototype,"angle",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0}})],g.prototype,"width",void 0),(0,r.Cg)([(0,h.MZ)({type:Number})],g.prototype,"lineWidth",null),(0,r.Cg)([(0,d.K)("lineWidth")],g.prototype,"writeLineWidth",null),(0,r.Cg)([(0,h.wg)("lineWidth")],g.prototype,"castLineWidth",null),(0,r.Cg)([(0,h.MZ)(u.Tb)],g.prototype,"lineHeight",void 0),(0,r.Cg)([(0,d.K)("lineHeight")],g.prototype,"writeLineHeight",null),g=i=(0,r.Cg)([(0,h.$K)("esri.symbols.TextSymbol")],g)},59868(t,e,s){var i=s(94985),r=s(31593),n=s(53930),o=s(68249),a=s(93470);const h=n.A.fromJSON(a.Cb),l=r.A.fromJSON(a.yM),c=i.A.fromJSON(a.WR),u=o.A.fromJSON(a.JZ);n.A.fromJSON(a.nC),r.A.fromJSON(a.HW),i.A.fromJSON(a.b6),s.d(e,["A7",0,l,"Cx",0,c,"Hk",0,u,"UK",0,h])},93470(t,e,s){const i=[252,146,31,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},n={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i};s.d(e,["Cb",0,r,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,i,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,n])},83213(t,e,s){s.d(e,["x",0,["begin","end","begin-end"],"z",0,["arrow","circle","square","diamond","cross","x"]])},5760(t,e,s){var i=s(34727),r=s(56507);const n={type:Number,cast:t=>{const e=(0,r.GB)(t);return 0===e?1:(0,i.qE)(e,.1,4)},nonNullable:!0};s.d(e,["NM",0,["normal","lighter","bold","bolder"],"Tb",0,n,"_R",0,["normal","italic","oblique"],"h9",0,["none","underline","line-through"],"rM",0,{type:["left","right","center"],nonNullable:!0},"x0",0,{type:["baseline","top","middle","bottom"],nonNullable:!0}])},98623(t,e,s){const i=Intl.DateTimeFormat().resolvedOptions().timeZone;s.d(e,["L",0,"unknown","N",0,i])},93602(t,e,s){s.r(e),s.d(e,{default:()=>k});var i=s(11254),r=s(6371),n=s(57582),o=s(44208),a=s(53966),h=s(17676),l=s(2741);let c=null;var u=s(69754),p=(s(83027),s(18989));s(25530),s(67171);const d={width:5,height:2,left:0,top:0};new p.A(0,0,11,8),new p.A(11,0,11,8);const g=1e20;class y{constructor(t){this.pxDensity=4,this.sdfSizePx=t.sdfSizePx,this.sdfBufferPx=t.sdfBufferPx,this.rasterSizePx=this.pxDensity*this.sdfSizePx,this.rasterBufferPx=this.pxDensity*this.sdfBufferPx,this.radius=t.radius,this.cutoff=t.cutoff;const e=this.pxDensity*t.sdfSizePx*3;this.canvasSize=e;const s=new OffscreenCanvas(e,e);this.context=s.getContext("2d",{willReadFrequently:!0}),this.context.imageSmoothingEnabled=!1,this.gridOuter=new Float64Array(e*e),this.gridInner=new Float64Array(e*e),this.gridValues=new Float64Array(e),this.parabolaBoundaries=new Float64Array(e+1),this.parabolaIndices=new Uint16Array(e)}draw(t,e){const{context:s,gridInner:i,gridOuter:r,rasterSizePx:n,rasterBufferPx:o,canvasSize:a,radius:h,cutoff:l}=this,c=n/t.units_per_em();this.context.fillStyle="black",this.context.strokeStyle="black",this.context.resetTransform(),this.context.clearRect(0,0,a,a),this.context.translate(n,n),this.context.scale(c,c);const u=t.paintCurves(e,s);if(!u)return null;const p=u.xMin*c,d=u.xMax*c,y=u.yMin*c,f=u.yMax*c;u.free();const m=Math.ceil(d-p),_=Math.ceil(f-y),w=Math.floor(n+p-o),b=Math.floor(n+y-o),S=m+2*o,v=_+2*o,C=new Float32Array(Math.max(S*v,0)),A=s.getImageData(w,b,S,v);r.fill(g,0,C.length),i.fill(0,0,C.length);for(let t=0;t<v;t++)for(let e=0;e<S;e++){const s=v-1-t,n=A.data[4*(s*S+e)+3]/255;if(0===n)continue;const o=t*S+e;if(1===n)r[o]=0,i[o]=g;else{const t=.5-n;r[o]=t>0?t*t:0,i[o]=t<0?t*t:0}}this._edt(r,0,0,S,v,S),this._edt(i,0,0,S,v,S);for(let t=0;t<C.length;t++)C[t]=Math.sqrt(r[t])-Math.sqrt(i[t]);const x=Math.ceil(S/this.pxDensity),M=Math.ceil(v/this.pxDensity),k=this.pxDensity*this.pxDensity,L=new Uint8ClampedArray(Math.max(x*M,0));for(let t=0;t<M;t++)for(let e=0;e<x;e++){let s=0;for(let i=0;i<this.pxDensity;i++)for(let r=0;r<this.pxDensity;r++)e+r>S||t+i>v||(s+=C[(this.pxDensity*t+i)*S+(this.pxDensity*e+r)]);const i=s/this.pxDensity/k/h+l;L[t*x+e]=Math.round(255-255*i)}const P=c*t.face_height(),I=Math.round(f-P+2*o),R=Math.round(p-o);return{buffer:L,rect:{width:Math.ceil(m/this.pxDensity),height:Math.ceil(_/this.pxDensity),top:Math.round(I/this.pxDensity),left:Math.round(R/this.pxDensity)}}}_edt(t,e,s,i,r,n){for(let o=e;o<e+i;o++)this._edt1d(t,s*n+o,n,r);for(let o=s;o<s+r;o++)this._edt1d(t,o*n+e,1,i)}_edt1d(t,e,s,i){const r=this.parabolaIndices,n=this.parabolaBoundaries,o=this.gridValues;r[0]=0,n[0]=-g,n[1]=g,o[0]=t[e];let a=0;for(let h=1;h<i;h++){o[h]=t[e+h*s];const i=h*h;let l;do{const t=r[a];l=(o[h]-o[t]+i-t*t)/(h-t)/2}while(l<=n[a]&&--a>-1);a++,r[a]=h,n[a]=l,n[a+1]=g}for(let a=0,h=0;a<i;a++){for(;n[h+1]<a;)h++;const i=r[h],l=a-i;t[e+a*s]=o[i]+l*l}}}var f=s(92602),m=s(51624);class _{constructor(t){this._rects=[],this._shapings=[],this._bitmaps=[];const e=new Map;let s=0;for(;t.next();)switch(t.tag()){case 1:{const i=t.getMessage();for(;i.next();)switch(i.tag()){case 3:{const t=i.getMessage();let r,n,o,a,h,l,c;for(;t.next();)switch(t.tag()){case 1:r=t.getUInt32();break;case 2:n=t.getBytes();break;case 3:o=t.getUInt32();break;case 4:a=t.getUInt32();break;case 5:h=t.getSInt32();break;case 6:l=t.getSInt32();break;case 7:c=t.getUInt32();break;default:t.skip()}if(t.release(),r){const t={width:o,height:a,left:h,top:l};this._rects[r]=t;const i={xOffset:0,yOffset:0,xAdvance:c,yAdvance:0};if(this._shapings[r]=i,n){const t=n.length;e.set(r,n),this._bitmaps[r]={start:s,length:t},s+=t}}break}default:i.skip()}i.release();break}default:t.skip()}this._buffer=new Uint8Array(s);for(const[t,s]of e)this._buffer.set(s,this._bitmaps[t].start)}getRect(t){return this._rects.at(t)}getShaping(t){return this._shapings.at(t)}getBitmap(t){const e=this._bitmaps.at(t);if(void 0!==e&&0!==e.length)return this._buffer.subarray(e.start,e.start+e.length)}}class w{constructor(){this._ranges=[]}getRange(t){return this._ranges.at(t)}addRange(t,e){this._ranges[t]=e}}class b{constructor(t){this._glyphInfo=new Map,this._baseURL=t,this._woff2URL=`${f.A.fontsUrl}/woff2/{fontstack}.woff2`}async fetchRange(t,e,s){const r=this._getFontStack(t);if(r.getRange(e))return;const n=256*e,o=n+255,a=this._baseURL.replace("{fontstack}",t).replace("{range}",n+"-"+o);return(0,i.A)(a,{responseType:"array-buffer",signal:s?.signal}).then(t=>{r.addRange(e,new _(new m.A(new Uint8Array(t.data),new DataView(t.data))))})}async preloadASCIIRange(t){const e=this._getFontStack(t),s=this._baseURL.replace("{fontstack}",t).replace("{range}","0-255"),r=await(0,i.A)(s,{responseType:"array-buffer"}),n=new _(new m.A(new Uint8Array(r.data),new DataView(r.data)));for(let t=0;t<=255;t++)e.getRange(t)||e.addRange(t,n)}getRange(t,e){const s=this._glyphInfo.get(t);return s?.getRange(Math.floor(e/256))}woffURL(t){return this._woff2URL.replace("{fontstack}",t)}_getFontStack(t){return this._glyphInfo.get(t)||this._glyphInfo.set(t,new w),this._glyphInfo.get(t)}}class S{constructor(t,e){this._width=0,this._height=0,this._free=[],this._width=t,this._height=e,this._free.push(new p.A(0,0,t,e))}get width(){return this._width}get height(){return this._height}allocate(t,e){if(t>this._width||e>this._height)return new p.A;let s=null,i=-1;for(let r=0;r<this._free.length;++r){const n=this._free[r];t<=n.width&&e<=n.height&&(null===s||n.y<=s.y&&n.x<=s.x)&&(s=n,i=r)}return null===s?new p.A:(this._free.splice(i,1),s.width<s.height?(s.width>t&&this._free.push(new p.A(s.x+t,s.y,s.width-t,e)),s.height>e&&this._free.push(new p.A(s.x,s.y+e,s.width,s.height-e))):(s.width>t&&this._free.push(new p.A(s.x+t,s.y,s.width-t,s.height)),s.height>e&&this._free.push(new p.A(s.x,s.y+e,t,s.height-e))),new p.A(s.x,s.y,t,e))}release(t){for(let e=0;e<this._free.length;++e){const s=this._free[e];if(s.y===t.y&&s.height===t.height&&s.x+s.width===t.x)s.width+=t.width;else if(s.x===t.x&&s.width===t.width&&s.y+s.height===t.y)s.height+=t.height;else if(t.y===s.y&&t.height===s.height&&t.x+t.width===s.x)s.x=t.x,s.width+=t.width;else{if(t.x!==s.x||t.width!==s.width||t.y+t.height!==s.y)continue;s.y=t.y,s.height+=t.height}this._free.splice(e,1),this.release(t)}this._free.push(t)}}s(49186),s(563),s(90629),s(799),s(21287),s(5427),s(44589),s(40804),s(93397),Math.PI,Math.LN2;var v=s(27071);function C(t,e,s,i){return 1|t<<1|(s?1:0)<<2|("Nearest"===i?1:0)<<3|e<<4}s(46858),s(63907),s(42553);const A="arial-unicode-ms-regular",x=/[\u0695\u0698\u06a9\u06af\u06b5\u06be\u06c6\u06cc\u06ce\u06d5\u06ca]|\p{Script=Thai}|\p{Script=Lao}|\p{Script=Tamil}|\p{Script=Khmer}/u,M=new Set(["Noto Sans Khmer","Noto Sans Lao","Noto Sans Myanmar","Noto Sans Thai"]);class k{constructor(){this._glyphSources=new Map,this._snapCoords=!0,this._currentPage=0,this._faces=new Map,this._facePromises=new Map,this._pbfRangePromises=new Map,this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._invalidFonts=new Set,this._preloadCache={},this._glyphSDFCreator=new y({sdfSizePx:24,sdfBufferPx:3,radius:8,cutoff:.25})}set remoteClient(t){this._client=t.createInvokeProxy();const e=this._client.getOptions();this._inited=this._init(e)}async rasterizeText(t,e,s){await this._inited;const i=e.symbol?(0,u.Z)(e):null;return i?{type:"rich-glyphs",runs:(await Promise.all(i.map(async e=>({fontSize:e.fontSize,characterSpacing:e.characterSpacing,color:e.color,glyphs:await this._rasterizeTextRun(t,e.font,e.text,s)})))).filter(t=>null!=t.glyphs)}:this._rasterizeTextRun(t,e.font,e.textString,s)}async _rasterizeTextRun(t,e,s,i){const r=(0,n.rK)(e),h=this._invalidFonts.has(r),l=!!(0,o.A)("esri-2d-force-complex-shaping"),c=!!(0,o.A)("esri-2d-complex-shaping")&&x.test(s),u=M.has(e.family),p=l||c||u,d=h?A:r;let g=await this.getGlyphItems(s,p,t,d,!1,i);return g||(((t,e="")=>{a.A.getLogger("esri.views.MapView").warnOnce(t,e)})(`Font ${r} is not available on the web, using "Arial Unicode MS Regular"`),this._invalidFonts.add(r),g=await this.getGlyphItems(s,p,t,A,!1,i)),g}async getGlyphItems(t,e,s,i,n,a){await this._inited;const h=this._getSource(s);let l,c,u;if((0,o.A)("esri-2d-stabilize-glyphs")&&await this.preloadASCIIGlyphCache(h,i).catch(()=>{}),e){const e=await this._getFace(h,i);if(!e)return null;let s=this._glyphCache.get(i);s||(s=new Map,this._glyphCache.set(i,s));const{shaping:r,isRTL:n}=this._shape(e,t);u=n,l=r.map(t=>this._getShapedGlyph(e,s,t)),c={baseline:e.baseline()/24,midline:e.midline()/24}}else{let e=this._pbfGlyphCache.get(i);e||(e=new Map,this._pbfGlyphCache.set(i,e));const[s,o,c]=(0,r.y)(t),p=(0,v.bX)(s);try{await this._fetchRanges(h,i,p,a)}catch{return null}u=o,l=p.map(t=>this._getPBFGlyph(e,h,i,t,n)).filter(t=>!!t)}const p=l.filter(t=>t.needsRecord);return p.length>0&&await this._client.recordGlyphs(p),{type:"glyphs",glyphs:l,faceInfo:c,isRightToLeft:u,sdfSize:24,sdfRadius:8,sdfPadding:3}}async _init(t){const{width:e,height:s,snapCoords:i}=await t;this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._binPack=new S(e,s),this._snapCoords=i,this._currentPage=0,this._initDecorationGlyphs()}_getShapedGlyph(t,e,s){let i,r,n=e.get(s.glyphId);if(!n){i=this._glyphSDFCreator.draw(t,s.glyphId);const o=this._glyphSDFCreator.sdfBufferPx;n={mosaicItem:{rect:this._recordGlyph(i?.rect,o),page:this._currentPage,sdf:!0,textureBinding:C(1,this._currentPage,!0)},glyphRect:i?.rect??{width:0,height:0,top:0,left:0}},e.set(s.glyphId,n),r=!0}return{mosaicItem:n.mosaicItem,rect:n.glyphRect,shaping:{xAdvance:s.xAdvance,yAdvance:s.yAdvance,xOffset:s.xOffset,yOffset:s.yOffset},code:s.isNewline?10:s.isWhitespace?32:NaN,sdf:i,needsRecord:r}}_getPBFGlyph(t,e,s,i,r=!1){let n,o,a=t.get(i);if(!a){const h=e.getRange(s,i),l=h?.getRect(i),c=h?.getShaping(i),u=h?.getBitmap(i);if(r&&(!l||!c))return;if(!l||!c)return P(i);n=u&&{buffer:u,rect:l},a={mosaicItem:{rect:u?this._recordGlyph(l,3):new p.A(0,0,0,0),sdf:!0,page:this._currentPage,textureBinding:C(1,this._currentPage,!0)},rect:l,shaping:c,code:i},o=!0,t.set(i,a)}const{mosaicItem:h,rect:l,shaping:c}=a;return{mosaicItem:h,rect:l,shaping:c,code:i,sdf:n,needsRecord:o}}_shape(t,e){const s=this._glyphSDFCreator.sdfSizePx,[i,n,o]=(0,r.y)(e,!1),a=new Uint32Array(Array.from(i).map((t,e)=>o.levels[o.targetToSource[e]]));return{shaping:t.shape(i,a,s),isRTL:n}}async _getFace(t,e,r){if(this._faces.has(e))return this._faces.get(e);const n=t.woffURL(e);return await L(this._facePromises,e,async()=>{const t=await(0,i.A)(n,{responseType:"array-buffer",...r}),o=(await async function(){return c||(c=async function(){const t=await s.e(1687).then(s.bind(s,31687));return await t.default({module_or_path:(0,l.s)("esri/libs/text/pkg/bundle_bg.wasm")}),t}()),c}()).Face.parseWoff2(new Uint8Array(t.data));this._faces.set(e,o)}),this._faces.get(e)}_getSource(t){return this._glyphSources.has(t)||this._glyphSources.set(t,new b(t)),this._glyphSources.get(t)}async _fetchRanges(t,e,s,i){const r=function(t){const e=new Set;for(const s of t)e.add(Math.floor(s/256));return e}(s),n=[];r.forEach(s=>{n.push(this._fetchRange(t,e,s,i))}),await Promise.all(n)}async _fetchRange(t,e,s,i){if(s>256)return;const r=e+s;return L(this._pbfRangePromises,r,()=>t.fetchRange(e,s,i))}_allocNewPage(){this._currentPage++,this._binPack=new S(this._binPack.width,this._binPack.height),this._initDecorationGlyphs()}_recordGlyph(t,e){const s=this._binPack;if(!t||0===t.width)return new p.A;const i=t.width+2*e,r=t.height+2*e;let n=i,o=r;this._snapCoords&&(n+=i%4?4-i%4:4,o+=r%4?4-r%4:4);const a=s.allocate(n,o);return a.isEmpty?(this._allocNewPage(),s.allocate(n,o)):a}_initDecorationGlyphs(){this._recordGlyph(d,3),this._recordGlyph(d,3)}preloadASCIIGlyphCache(t,e){const s=this._preloadCache[e];if(null!=s)return s;const i=t.preloadASCIIRange(e).then(async()=>{let s=this._pbfGlyphCache.get(e);s||(s=new Map,this._pbfGlyphCache.set(e,s));for(let i=0;i<256;i++)this._getPBFGlyph(s,t,e,i);const i=Array.from(this._pbfGlyphCache.get(e).values());await this._client.recordGlyphs(i)},t=>{throw delete this._preloadCache[e],t});return this._preloadCache[e]=i,i}}function L(t,e,s){return t.has(e)||t.set(e,s().finally(()=>{t.delete(e)}).catch(t=>{(0,h.jH)(t)})),t.get(e)}const P=t=>({mosaicItem:{rect:new p.A(0,0,0,0),sdf:!0,page:0},rect:{left:0,width:0,height:0,top:0},shaping:{xAdvance:0,yAdvance:0,xOffset:0,yOffset:0},code:t})},27071(t,e,s){s.d(e,{bX:()=>a,Qz:()=>o});var i=s(49186),r=s(53966),n=s(63907);function o(t){switch(t){case n.ld.UNSIGNED_BYTE:return Uint8Array;case n.ld.UNSIGNED_SHORT_4_4_4_4:return Uint16Array;case n.ld.FLOAT:return Float32Array;default:return void r.A.getLogger("esri.views.2d.engine.webgl.Utils").error(new i.A("webgl-utils",`Unable to handle type ${t}`))}}function a(t){const e=[];for(let s=0;s<t.length;s++)e.push(t.charCodeAt(s));return e}new Map},46858(t,e,s){s.d(e,{A:()=>n,J:()=>r});var i=s(799);function r(t,e){let s;if("string"==typeof t)s=(0,i.Wm)(t+`-seed(${e})`);else{let i=12;s=t^e;do{s=107*(s>>8^s)+i|0}while(0!==--i)}return(1+s/(1<<31))/2}function n(t){return Math.floor(r(t,o)*a)}const o=53290320,a=10}}]);