@arcgis/core 4.33.0-next.20250131 → 4.33.0-next.20250202

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 (317) hide show
  1. package/WebScene.js +1 -1
  2. package/arcade/featureset/support/shared.js +1 -1
  3. package/arcade/geometry/unitConversion.js +1 -1
  4. package/assets/esri/core/workers/RemoteClient.js +1 -1
  5. package/assets/esri/core/workers/chunks/{b68bddd0c4ca91493543.js → 06d489a44d88e38fb140.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{4696278d033907a067c7.js → 085462ba3da7849fc296.js} +1 -1
  7. package/assets/esri/core/workers/chunks/0a19e1aec6a5502e391a.js +1 -0
  8. package/assets/esri/core/workers/chunks/{7a273e6e411f6cc31b3f.js → 326a3f50e585e492b673.js} +1 -1
  9. package/assets/esri/core/workers/chunks/4decfae8bc5e80878bdd.js +1 -0
  10. package/assets/esri/core/workers/chunks/{e0de91eacf3a3b7eda55.js → 5b20ee64248f2d5c937f.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{bef27448b341e429eb31.js → 692b3d03346f030aa649.js} +7 -7
  12. package/assets/esri/core/workers/chunks/6ec108bd955e064256b5.js +1 -0
  13. package/assets/esri/core/workers/chunks/c94ec324ecad77c53a87.js +1 -0
  14. package/assets/esri/core/workers/chunks/{ef6afba80fa2086ec104.js → e9f7953938b9bc8e8abe.js} +1 -1
  15. package/assets/esri/core/workers/chunks/fb1a89f753057f889971.js +314 -0
  16. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +4 -1
  17. package/assets/esri/themes/dark/main.css +1 -1
  18. package/assets/esri/themes/light/main.css +1 -1
  19. package/assets/esri/themes/light/view.css +1 -1
  20. package/assets/esri/widgets/Directions/t9n/Directions.json +1 -1
  21. package/assets/esri/widgets/Directions/t9n/Directions_ar.json +1 -1
  22. package/assets/esri/widgets/Directions/t9n/Directions_bg.json +1 -1
  23. package/assets/esri/widgets/Directions/t9n/Directions_bs.json +1 -1
  24. package/assets/esri/widgets/Directions/t9n/Directions_ca.json +1 -1
  25. package/assets/esri/widgets/Directions/t9n/Directions_cs.json +1 -1
  26. package/assets/esri/widgets/Directions/t9n/Directions_da.json +1 -1
  27. package/assets/esri/widgets/Directions/t9n/Directions_de.json +1 -1
  28. package/assets/esri/widgets/Directions/t9n/Directions_el.json +1 -1
  29. package/assets/esri/widgets/Directions/t9n/Directions_en.json +1 -1
  30. package/assets/esri/widgets/Directions/t9n/Directions_es.json +1 -1
  31. package/assets/esri/widgets/Directions/t9n/Directions_et.json +1 -1
  32. package/assets/esri/widgets/Directions/t9n/Directions_fi.json +1 -1
  33. package/assets/esri/widgets/Directions/t9n/Directions_fr.json +1 -1
  34. package/assets/esri/widgets/Directions/t9n/Directions_he.json +1 -1
  35. package/assets/esri/widgets/Directions/t9n/Directions_hr.json +1 -1
  36. package/assets/esri/widgets/Directions/t9n/Directions_hu.json +1 -1
  37. package/assets/esri/widgets/Directions/t9n/Directions_id.json +1 -1
  38. package/assets/esri/widgets/Directions/t9n/Directions_it.json +1 -1
  39. package/assets/esri/widgets/Directions/t9n/Directions_ja.json +1 -1
  40. package/assets/esri/widgets/Directions/t9n/Directions_ko.json +1 -1
  41. package/assets/esri/widgets/Directions/t9n/Directions_lt.json +1 -1
  42. package/assets/esri/widgets/Directions/t9n/Directions_lv.json +1 -1
  43. package/assets/esri/widgets/Directions/t9n/Directions_nl.json +1 -1
  44. package/assets/esri/widgets/Directions/t9n/Directions_no.json +1 -1
  45. package/assets/esri/widgets/Directions/t9n/Directions_pl.json +1 -1
  46. package/assets/esri/widgets/Directions/t9n/Directions_pt-BR.json +1 -1
  47. package/assets/esri/widgets/Directions/t9n/Directions_pt-PT.json +1 -1
  48. package/assets/esri/widgets/Directions/t9n/Directions_ro.json +1 -1
  49. package/assets/esri/widgets/Directions/t9n/Directions_ru.json +1 -1
  50. package/assets/esri/widgets/Directions/t9n/Directions_sk.json +1 -1
  51. package/assets/esri/widgets/Directions/t9n/Directions_sl.json +1 -1
  52. package/assets/esri/widgets/Directions/t9n/Directions_sr.json +1 -1
  53. package/assets/esri/widgets/Directions/t9n/Directions_sv.json +1 -1
  54. package/assets/esri/widgets/Directions/t9n/Directions_th.json +1 -1
  55. package/assets/esri/widgets/Directions/t9n/Directions_tr.json +1 -1
  56. package/assets/esri/widgets/Directions/t9n/Directions_uk.json +1 -1
  57. package/assets/esri/widgets/Directions/t9n/Directions_vi.json +1 -1
  58. package/assets/esri/widgets/Directions/t9n/Directions_zh-CN.json +1 -1
  59. package/assets/esri/widgets/Directions/t9n/Directions_zh-HK.json +1 -1
  60. package/assets/esri/widgets/Directions/t9n/Directions_zh-TW.json +1 -1
  61. package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
  62. package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
  63. package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
  64. package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
  65. package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
  66. package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
  67. package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
  68. package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
  69. package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
  70. package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
  71. package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
  72. package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
  73. package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
  74. package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
  75. package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
  76. package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
  77. package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
  78. package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
  79. package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
  80. package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
  81. package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
  82. package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
  83. package/assets/esri/widgets/Editor/t9n/Editor_no.json +1 -1
  84. package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
  85. package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
  86. package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
  87. package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
  88. package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
  89. package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
  90. package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
  91. package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
  92. package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
  93. package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
  94. package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
  95. package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
  96. package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
  97. package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
  98. package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
  99. package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
  100. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ar.json +1 -1
  101. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_bg.json +1 -1
  102. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_bs.json +1 -1
  103. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ca.json +1 -1
  104. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_cs.json +1 -1
  105. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_da.json +1 -1
  106. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_de.json +1 -1
  107. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_el.json +1 -1
  108. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_es.json +1 -1
  109. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_et.json +1 -1
  110. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_fi.json +1 -1
  111. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_fr.json +1 -1
  112. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_he.json +1 -1
  113. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_hr.json +1 -1
  114. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_hu.json +1 -1
  115. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_id.json +1 -1
  116. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_it.json +1 -1
  117. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ja.json +1 -1
  118. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ko.json +1 -1
  119. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_lt.json +1 -1
  120. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_lv.json +1 -1
  121. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_nl.json +1 -1
  122. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_no.json +1 -1
  123. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_pl.json +1 -1
  124. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_pt-BR.json +1 -1
  125. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_pt-PT.json +1 -1
  126. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ro.json +1 -1
  127. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ru.json +1 -1
  128. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sk.json +1 -1
  129. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sl.json +1 -1
  130. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sr.json +1 -1
  131. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sv.json +1 -1
  132. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_th.json +1 -1
  133. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_tr.json +1 -1
  134. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_uk.json +1 -1
  135. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_vi.json +1 -1
  136. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_zh-CN.json +1 -1
  137. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_zh-HK.json +1 -1
  138. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_zh-TW.json +1 -1
  139. package/geometry/support/typeUtils.js +1 -1
  140. package/interfaces.d.ts +154 -7
  141. package/layers/FeatureLayer.js +1 -1
  142. package/layers/support/rasterFieldUtils.js +1 -1
  143. package/package.json +1 -1
  144. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  145. package/support/revision.js +1 -1
  146. package/views/2d/layers/FeatureLayerView2D.js +1 -1
  147. package/views/2d/layers/features/layerAdapters/ParquetLayerAdapter.js +1 -1
  148. package/views/2d/layers/features/layerAdapters/geometryUtils.js +1 -1
  149. package/views/2d/layers/features/support/FeatureSetReaderParquet.js +1 -1
  150. package/views/3d/environment/ChapmanAtmosphere.js +1 -1
  151. package/views/3d/environment/ChapmanAtmosphereTechnique.js +1 -1
  152. package/views/3d/environment/CloudsComposition.js +1 -1
  153. package/views/3d/environment/CloudsCompositionTechnique.js +1 -1
  154. package/views/3d/environment/CloudsRenderer.js +1 -1
  155. package/views/3d/environment/CloudsTechnique.js +1 -1
  156. package/views/3d/environment/Fog.js +1 -1
  157. package/views/3d/environment/FogTechnique.js +1 -1
  158. package/views/3d/environment/LocalAtmosphere.js +1 -1
  159. package/views/3d/environment/MarsAtmosphere.js +1 -1
  160. package/views/3d/environment/NoiseTextureAtlas.js +1 -1
  161. package/views/3d/environment/NoiseTextureAtlasTechnique.js +1 -1
  162. package/views/3d/environment/Precipitation.js +1 -1
  163. package/views/3d/environment/PrecipitationTechnique.js +1 -1
  164. package/views/3d/environment/SimpleAtmosphereTechnique.js +1 -1
  165. package/views/3d/interactive/editingTools/media/ControlPointOperations.js +1 -1
  166. package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
  167. package/views/3d/layers/GraphicsLayerView3D.js +1 -1
  168. package/views/3d/layers/GraphicsView3D.js +1 -1
  169. package/views/3d/layers/RouteLayerView3D.js +1 -1
  170. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  171. package/views/3d/layers/graphics/GraphicsProcessor.js +1 -1
  172. package/views/3d/layers/graphics/pipeline/rendering/DirectRenderer.js +1 -1
  173. package/views/3d/layers/graphics/pipeline/rendering/FeaturePipelineRenderManager.js +1 -1
  174. package/views/3d/layers/graphics/pipeline/rendering/LodRenderer.js +1 -1
  175. package/views/3d/layers/graphics/pipeline/rendering/RenderCommandContext.js +1 -1
  176. package/views/3d/layers/graphics/pipeline/rendering/RenderCommandEncoder.js +1 -1
  177. package/views/3d/layers/graphics/pipeline/symbolization/TestSymbol.js +1 -1
  178. package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
  179. package/views/3d/layers/support/MediaLayerInteraction.js +1 -1
  180. package/views/3d/layers/support/MediaLayerInteractionOptions.js +1 -1
  181. package/views/3d/support/hitTest.js +1 -1
  182. package/views/3d/terrain/BlendLayersTechnique.js +1 -1
  183. package/views/3d/terrain/OverlayRenderer.js +1 -1
  184. package/views/3d/terrain/RasterColorizerTechnique.js +1 -1
  185. package/views/3d/terrain/TerrainRenderer.js +1 -1
  186. package/views/3d/terrain/TileCompositor.js +1 -1
  187. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  188. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
  189. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  190. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
  191. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
  192. package/views/3d/webgl-engine/effects/RenderPlugin.js +1 -1
  193. package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
  194. package/views/3d/webgl-engine/effects/blit/Blit.js +1 -1
  195. package/views/3d/webgl-engine/effects/bloom/BloomBlurTechnique.js +1 -1
  196. package/views/3d/webgl-engine/effects/bloom/BloomCompositionTechnique.js +1 -1
  197. package/views/3d/webgl-engine/effects/bloom/BloomDepthAdjustTechnique.js +1 -1
  198. package/views/3d/webgl-engine/effects/bloom/BloomRenderNode.js +1 -1
  199. package/views/3d/webgl-engine/effects/focusArea/FocusAreaColorNode.js +1 -1
  200. package/views/3d/webgl-engine/effects/focusArea/FocusAreaColorTechnique.js +1 -1
  201. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
  202. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskTechnique.js +1 -1
  203. package/views/3d/webgl-engine/effects/geometry/RenderOccludedRenderNode.js +1 -1
  204. package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
  205. package/views/3d/webgl-engine/effects/haze/HazeCompositingTechnique.js +1 -1
  206. package/views/3d/webgl-engine/effects/haze/HazeTechnique.js +1 -1
  207. package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
  208. package/views/3d/webgl-engine/effects/highlight/HighlightApplyTechnique.js +1 -1
  209. package/views/3d/webgl-engine/effects/highlight/HighlightDownsampleTechnique.js +1 -1
  210. package/views/3d/webgl-engine/effects/highlight/HighlightToSingleTechnique.js +1 -1
  211. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
  212. package/views/3d/webgl-engine/effects/highlight/ShadowHighlightTechnique.js +1 -1
  213. package/views/3d/webgl-engine/effects/highlight/SingleHighlightApplyTechnique.js +1 -1
  214. package/views/3d/webgl-engine/effects/highlight/SingleHighlightBlurTechnique.js +1 -1
  215. package/views/3d/webgl-engine/effects/laserlines/LaserLineRenderer.js +1 -1
  216. package/views/3d/webgl-engine/effects/laserlines/LaserlinePathTechnique.js +1 -1
  217. package/views/3d/webgl-engine/effects/laserlines/LaserlineTechnique.js +1 -1
  218. package/views/3d/webgl-engine/effects/magnifier/Magnifier.js +1 -1
  219. package/views/3d/webgl-engine/effects/magnifier/MagnifierTechnique.js +1 -1
  220. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  221. package/views/3d/webgl-engine/effects/smaa/SMAABlendWeightsTechnique.js +1 -1
  222. package/views/3d/webgl-engine/effects/smaa/SMAABlurTechnique.js +1 -1
  223. package/views/3d/webgl-engine/effects/smaa/SMAAEdgeDetectTechnique.js +1 -1
  224. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  225. package/views/3d/webgl-engine/effects/ssao/SSAOBlurTechnique.js +1 -1
  226. package/views/3d/webgl-engine/effects/ssao/SSAOTechnique.js +1 -1
  227. package/views/3d/webgl-engine/effects/stars/Stars.js +1 -1
  228. package/views/3d/webgl-engine/effects/stars/StarsTechnique.js +1 -1
  229. package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
  230. package/views/3d/webgl-engine/effects/transparency/OITBlendTechnique.js +1 -1
  231. package/views/3d/webgl-engine/lib/CompositingHelper.js +1 -1
  232. package/views/3d/webgl-engine/lib/DrapedHeatmapRenderer.js +1 -1
  233. package/views/3d/webgl-engine/lib/GLMaterial.js +1 -1
  234. package/views/3d/webgl-engine/lib/Intersector.js +1 -1
  235. package/views/3d/webgl-engine/lib/IntersectorTarget.js +1 -1
  236. package/views/3d/webgl-engine/lib/Object3D.js +1 -1
  237. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  238. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  239. package/views/3d/webgl-engine/lib/ShadowCastRenderer.js +1 -1
  240. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  241. package/views/3d/webgl-engine/lib/TextureRepository.js +1 -1
  242. package/views/3d/webgl-engine/lib/TextureTechnique.js +1 -1
  243. package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
  244. package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
  245. package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechnique.js +1 -1
  246. package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
  247. package/views/3d/webgl-engine/lib/intersectorUtilsConversions.js +1 -1
  248. package/views/3d/webgl-engine/lib/lodRendering/LodResources.js +1 -1
  249. package/views/3d/webgl-engine/materials/CheckerBoardMaterial.js +1 -1
  250. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  251. package/views/3d/webgl-engine/materials/DefaultBufferWriter.js +1 -1
  252. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  253. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  254. package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
  255. package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
  256. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  257. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  258. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  259. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
  260. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  261. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  262. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  263. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  264. package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
  265. package/views/3d/webgl-engine/materials/SlicePlaneMaterial.js +1 -1
  266. package/views/3d/webgl-engine/materials/WaterGLMaterial.js +1 -1
  267. package/views/3d/webgl-engine/materials/WaterTechnique.js +1 -1
  268. package/views/3d/webgl-engine/shaders/AtmosphereCompositingTechnique.js +1 -1
  269. package/views/3d/webgl-engine/shaders/CheckerBoardTechnique.js +1 -1
  270. package/views/3d/webgl-engine/shaders/ColorMaterialTechnique.js +1 -1
  271. package/views/3d/webgl-engine/shaders/CompositingTechnique.js +1 -1
  272. package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
  273. package/views/3d/webgl-engine/shaders/HUDCompositingTechnique.js +1 -1
  274. package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
  275. package/views/3d/webgl-engine/shaders/HeatmapDensityTechnique.js +1 -1
  276. package/views/3d/webgl-engine/shaders/HeatmapTechnique.js +1 -1
  277. package/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +1 -1
  278. package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
  279. package/views/3d/webgl-engine/shaders/LineMarkerTechnique.js +1 -1
  280. package/views/3d/webgl-engine/shaders/MeasurementArrowTechnique.js +1 -1
  281. package/views/3d/webgl-engine/shaders/NativeLineTechnique.js +1 -1
  282. package/views/3d/webgl-engine/shaders/OverlayCompositingTechnique.js +1 -1
  283. package/views/3d/webgl-engine/shaders/PatternTechnique.js +1 -1
  284. package/views/3d/webgl-engine/shaders/PointRendererTechnique.js +1 -1
  285. package/views/3d/webgl-engine/shaders/RealisticTreeTechnique.js +1 -1
  286. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  287. package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechnique.js +1 -1
  288. package/views/3d/webgl-engine/shaders/ShadowCastAccumulateTechnique.js +1 -1
  289. package/views/3d/webgl-engine/shaders/ShadowCastVisualizeTechnique.js +1 -1
  290. package/views/3d/webgl-engine/shaders/SlicePlaneMaterialTechnique.js +1 -1
  291. package/views/3d/webgl-engine/shaders/TerrainTechnique.js +1 -1
  292. package/views/3d/webgl-engine/shaders/ViewshedTechnique.js +1 -1
  293. package/views/draw/DrawOperation.js +1 -1
  294. package/views/draw/support/helpMessageUtils.js +1 -1
  295. package/views/draw/support/tooltipUtils.js +1 -1
  296. package/views/interactive/keybindings.js +1 -1
  297. package/views/interactive/snapping/featureSources/FeatureCollectionSnappingSource.js +1 -1
  298. package/views/interactive/snapping/featureSources/FeatureServiceSnappingSource.js +1 -1
  299. package/views/interactive/snapping/snappingUtils.js +1 -1
  300. package/views/interactive/tooltip/content/tooltipContentFactory.js +1 -1
  301. package/views/interactive/tooltip/infos/DrawCircleTooltipInfo.js +1 -1
  302. package/views/interactive/tooltip/infos/DrawMultipointTooltipInfo.js +5 -0
  303. package/views/interactive/tooltip/infos/DrawRectangleTooltipInfo.js +1 -1
  304. package/views/layers/FeatureLayerView.js +1 -1
  305. package/views/layers/MediaLayerView.js +1 -1
  306. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  307. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  308. package/widgets/BatchAttributeForm.js +1 -1
  309. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  310. package/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.d.ts +4 -0
  311. package/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.js +1 -1
  312. package/widgets/support/widget.d.ts +9 -0
  313. package/assets/esri/core/workers/chunks/0bafa546602b776caf2f.js +0 -1
  314. package/assets/esri/core/workers/chunks/258b46b58a4860942f7c.js +0 -1
  315. package/assets/esri/core/workers/chunks/69ab4b780f7223cfd7dd.js +0 -1
  316. package/assets/esri/core/workers/chunks/83edac97a52b26ead1ea.js +0 -314
  317. package/assets/esri/core/workers/chunks/9ffa27d0517bad84572e.js +0 -1
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[547],{85935:(e,r,t)=>{t.d(r,{B:()=>f,D$:()=>u,Nh:()=>m,O$:()=>p,TX:()=>n,mT:()=>d,ps:()=>g});var n,a,o=t(799);(a=n||(n={})).AsyncNotEnabled="AsyncNotEnabled",a.ModulesNotSupported="ModulesNotSupported",a.CircularModules="CircularModules",a.CannotCompareDateAndTime="CannotCompareDateAndTime",a.NeverReach="NeverReach",a.UnsupportedHashType="UnsupportedHashType",a.InvalidParameter="InvalidParameter",a.FeatureSetDoesNotHaveSubtypes="FeatureSetDoesNotHaveSubtypes",a.UnexpectedToken="UnexpectedToken",a.Unrecognized="Unrecognized",a.UnrecognizedType="UnrecognizedType",a.MaximumCallDepth="MaximumCallDepth",a.BooleanConditionRequired="BooleanConditionRequired",a.TypeNotAllowedInFeature="TypeNotAllowedInFeature",a.KeyMustBeString="KeyMustBeString",a.WrongNumberOfParameters="WrongNumberOfParameters",a.CallNonFunction="CallNonFunction",a.NoFunctionInTemplateLiteral="NoFunctionInTemplateLiteral",a.NoFunctionInDictionary="NoFunctionInDictionary",a.NoFunctionInArray="NoFunctionInArray",a.AssignModuleFunction="AssignModuleFunction",a.LogicExpressionOrAnd="LogicExpressionOrAnd",a.LogicalExpressionOnlyBoolean="LogicalExpressionOnlyBoolean",a.FunctionNotFound="FunctionNotFound",a.InvalidMemberAccessKey="InvalidMemberAccessKey",a.UnsupportedUnaryOperator="UnsupportUnaryOperator",a.InvalidIdentifier="InvalidIdentifier",a.MemberOfNull="MemberOfNull",a.UnsupportedOperator="UnsupportedOperator",a.Cancelled="Cancelled",a.ModuleAccessorMustBeString="ModuleAccessorMustBeString",a.ModuleExportNotFound="ModuleExportNotFound",a.Immutable="Immutable",a.OutOfBounds="OutOfBounds",a.IllegalResult="IllegalResult",a.FieldNotFound="FieldNotFound",a.PortalRequired="PortalRequired",a.LogicError="LogicError",a.ArrayAccessorMustBeNumber="ArrayAccessMustBeNumber",a.KeyAccessorMustBeString="KeyAccessorMustBeString",a.WrongSpatialReference="WrongSpatialReference",a.CannotChangeTimeZoneTime="CannotChangeTimeZoneTime",a.CannotChangeTimeZoneDateOnly="CannotChangeTimeZoneDateOnly";const s={[n.TypeNotAllowedInFeature]:"Feature attributes only support dates, numbers, strings, guids.",[n.LogicError]:"Logic error - {reason}",[n.CannotCompareDateAndTime]:"Cannot compare date or dateonly with timeonly types",[n.NeverReach]:"Encountered unreachable logic",[n.AsyncNotEnabled]:"Async Arcade must be enabled for this script",[n.ModuleAccessorMustBeString]:"Module accessor must be a string",[n.ModuleExportNotFound]:"Module has no export with provided identifier",[n.ModulesNotSupported]:"Current profile does not support modules",[n.ArrayAccessorMustBeNumber]:"Array accessor must be a number",[n.FunctionNotFound]:"Function not found",[n.FieldNotFound]:"Key not found - {key}",[n.CircularModules]:"Circular module dependencies are not allowed",[n.Cancelled]:"Execution cancelled",[n.UnsupportedHashType]:"Type not supported in hash function",[n.IllegalResult]:"Value is not a supported return type",[n.PortalRequired]:"Portal is required",[n.InvalidParameter]:"Invalid parameter",[n.WrongNumberOfParameters]:"Call with wrong number of parameters",[n.Unrecognized]:"Unrecognized code structure",[n.UnrecognizedType]:"Unrecognized type",[n.WrongSpatialReference]:"Cannot work with geometry in this spatial reference. It is different to the execution spatial reference",[n.BooleanConditionRequired]:"Conditions must use booleans",[n.NoFunctionInDictionary]:"Dictionaries cannot contain functions.",[n.NoFunctionInArray]:"Arrays cannot contain functions.",[n.NoFunctionInTemplateLiteral]:"Template Literals do not expect functions by value.",[n.KeyAccessorMustBeString]:"Accessor must be a string",[n.KeyMustBeString]:"Object keys must be a string",[n.Immutable]:"Object is immutable",[n.UnexpectedToken]:"Unexpected token",[n.MemberOfNull]:"Cannot access property of null object",[n.MaximumCallDepth]:"Exceeded maximum function depth",[n.OutOfBounds]:"Out of bounds",[n.InvalidIdentifier]:"Identifier not recognized",[n.CallNonFunction]:"Expression is not a function",[n.InvalidMemberAccessKey]:"Cannot access value using a key of this type",[n.AssignModuleFunction]:"Cannot assign function to module variable",[n.UnsupportedUnaryOperator]:"Unsupported unary operator",[n.UnsupportedOperator]:"Unsupported operator",[n.LogicalExpressionOnlyBoolean]:"Logical expressions must be boolean",[n.LogicExpressionOrAnd]:"Logical expression can only be combined with || or &&",[n.CannotChangeTimeZoneTime]:"Cannot change the timezone of a Time",[n.CannotChangeTimeZoneDateOnly]:"Cannot change the timezone of a DateOnly",[n.FeatureSetDoesNotHaveSubtypes]:"FeatureSet does not have subtypes"};class c extends Error{constructor(...e){super(...e)}}class i extends c{constructor(e,r){super(l(r)+e.message,{cause:e}),this.loc=null,Error.captureStackTrace&&Error.captureStackTrace(this,i),r?.loc&&(this.loc=r.loc)}}class u extends Error{constructor(e,r,t,n){super("Execution error - "+l(t)+(0,o.HC)(s[r],n)),this.loc=null,this.declaredRootClass="esri.arcade.arcadeexecutionerror",Error.captureStackTrace&&Error.captureStackTrace(this,u),t?.loc&&(this.loc=t.loc)}}function l(e){return e&&e.loc?`Line : ${e.loc.start?.line}, ${e.loc.start?.column}: `:""}class d extends Error{constructor(e,r,t,n){super("Compilation error - "+l(t)+(0,o.HC)(s[r],n)),this.loc=null,this.declaredRootClass="esri.arcade.arcadecompilationerror",Error.captureStackTrace&&Error.captureStackTrace(this,d),t?.loc&&(this.loc=t.loc)}}class p extends Error{constructor(){super("Uncompilable code structures"),this.declaredRootClass="esri.arcade.arcadeuncompilableerror",Error.captureStackTrace&&Error.captureStackTrace(this,p)}}function m(e,r,t){return"esri.arcade.arcadeexecutionerror"===t.declaredRootClass||"esri.arcade.arcadecompilationerror"===t.declaredRootClass?null===t.loc&&r?.loc?new i(t,{cause:t}):t:("esri.arcade.featureset.support.featureseterror"===t.declaredRootClass||"esri.arcade.featureset.support.sqlerror"===t.declaredRootClass||t.declaredRootClass,r?.loc?new i(t,{cause:t}):t)}var f;!function(e){e.UnrecognizedUri="UnrecognizedUri",e.UnsupportedUriProtocol="UnsupportedUriProtocol"}(f||(f={}));const y={[f.UnrecognizedUri]:"Unrecognized uri - {uri}",[f.UnsupportedUriProtocol]:"Unrecognized uri protocol"};class g extends Error{constructor(e,r){super((0,o.HC)(y[e],r)),this.declaredRootClass="esri.arcade.arcademoduleerror",Error.captureStackTrace&&Error.captureStackTrace(this,g)}}},71409:(e,r,t)=>{t.d(r,{A7:()=>p,L2:()=>u,SQ:()=>n,s9:()=>i,y6:()=>d,zD:()=>s});const n=new Map([[1025,109452],[1033,109451],[9001,109404],[9002,109405],[9003,109406],[9005,109407],[9014,109408],[9030,109409],[9031,109410],[9033,109411],[9034,109412],[9035,109413],[9036,109414],[9037,109415],[9038,109416],[9039,109417],[9040,109418],[9041,109419],[9042,109420],[9043,109421],[9050,109422],[9051,109423],[9052,109424],[9053,109425],[9060,109426],[9061,109427],[9062,109428],[9063,109429],[9070,109430],[9080,109431],[9081,109432],[9082,109433],[9083,109434],[9084,109435],[9085,109436],[9086,109437],[9087,109438],[9093,109439],[9094,109440],[9095,109441],[9096,109442],[9097,109444],[9098,109445],[9099,109446],[9300,109447],[9301,109448],[9302,109449],[109001,109442],[109002,109443],[109003,109444],[109004,109445],[109005,109450],[109006,109451],[109007,109452],[109008,109453],[109009,109454],[109010,109455],[109011,109456],[109012,109457],[109013,109458],[109014,109459],[109015,109462],[109016,109464],[109017,109465],[109018,109466],[109030,109460],[109031,109461]]);function a(e){return(r,t)=>[r,{type:e,wkid:r,factor:t}]}const o=a("angular"),s=new Map([o(1031,4.84813681109536e-9),o(9101,1),o(9102,.017453292519943295),o(9103,.0002908882086657216),o(9104,484813681109536e-20),o(9105,.015707963267948967),o(9106,.015707963267948967),o(9109,1e-6),o(9112,.00015707963267948965),o(9113,15707963267948967e-22),o(9114,.0009817477042468104)]),c=a("linear"),i=new Map([c(1025,.001),c(1033,.01),c(9001,1),c(9002,.3048),c(9003,.30480060960121924),c(9005,.3047972654),c(9014,1.8288),c(9030,1852),c(9031,1.0000135965),c(9033,20.11684023368047),c(9034,.2011684023368047),c(9035,1609.3472186944375),c(9036,1e3),c(9037,.9143917962),c(9038,20.1166195164),c(9039,.201166195164),c(9040,.9143984146160287),c(9041,.3047994715386762),c(9042,20.116765121552632),c(9043,.2011676512155263),c(9050,.9143992),c(9051,.3047997333333333),c(9052,20.1167824),c(9053,.201167824),c(9060,.9143992042898124),c(9061,.30479973476327077),c(9062,20.116782494375872),c(9063,.2011678249437587),c(9070,.30480083333333335),c(9080,.30479951024814694),c(9081,.30479841),c(9082,.3047996),c(9083,.3047995),c(9084,.9143985307444408),c(9085,.91439523),c(9086,.9143988),c(9087,.9143985),c(9093,1609.344),c(9094,.3047997101815088),c(9095,.3048007491),c(9096,.9144),c(9097,20.1168),c(9098,.201168),c(9099,.914398),c(9300,.30479933333333337),c(9301,20.116756),c(9302,.20116756),c(109001,.9144),c(109002,.9144018288036576),c(109003,20.1168),c(109004,.201168),c(109005,.1),c(109006,.01),c(109007,.001),c(109008,.0254),c(109009,.025400050800101603),c(109010,5.0292),c(109011,5.029210058420118),c(109012,1853.248),c(109013,1853.184),c(109014,1.7018),c(109015,.8466683600033867),c(109016,.00035277777777777776),c(109017,1e-6),c(109018,1e-9),c(109030,5e4),c(109031,15e4)]),u=i.get(9001),l=a("area"),d=new Map([l(109401,1e4),l(109402,4046.8564224),l(109403,4046.872609874252),l(109404,1),l(109405,.09290304),l(109406,.09290341161327487),l(109407,.09290137299531805),l(109408,3.34450944),l(109409,3429904),l(109410,1.000027193184865),l(109411,404.6872609874253),l(109412,.04046872609874252),l(109413,2589998.470319522),l(109414,1e6),l(109415,.8361123569578626),l(109416,404.6783807676053),l(109417,.04046783807676053),l(109418,.8361244606523066),l(109419,.09290271785025629),l(109420,404.6842389557165),l(109421,.04046842389557164),l(109422,.83612589696064),l(109423,.0929028774400711),l(109424,404.6849341289498),l(109425,.04046849341289498),l(109426,.836125904805842),l(109427,.09290287831176021),l(109428,404.6849379260275),l(109429,.04046849379260275),l(109430,.09290354800069446),l(109431,.09290274144751023),l(109432,.09290207073852812),l(109433,.09290279616016),l(109434,.09290273520025),l(109435,.836124673027592),l(109436,.8361186366467529),l(109437,.8361251654414399),l(109438,.83612461680225),l(109439,2589988.110336),l(109440,.09290286332673177),l(109441,.09290349665192114),l(109442,.83612736),l(109443,.8361307045194736),l(109444,404.68564224),l(109445,.040468564224),l(109446,.836123702404),l(109447,.09290263360044447),l(109448,404.683871963536),l(109449,.0404683871963536),l(109450,.01),l(109451,1e-4),l(109452,1e-6),l(109453,64516e-8),l(109454,.0006451625806477421),l(109455,25.29285264),l(109456,25.29295381171408),l(109457,3434528.149504),l(109458,3434290.937856),l(109459,2.89612324),l(109460,25e8),l(109461,225e8),l(109462,.7168473118308245),l(109463,100),l(109464,1.244521604938271e-7),l(109465,1e-12),l(109466,1e-18)]),p=d.get(109404)},40547:(e,r,t)=>{t.d(r,{convert:()=>k,convertFromSpatialReferenceUnit:()=>b,convertToSpatialReferenceUnit:()=>w,meters:()=>a.L2,squareMeters:()=>a.A7,toAreaUnit:()=>g,toLengthUnit:()=>h});var n=t(85935),a=t(71409);const o=[];function s(e){return 0===e.length?'""':'"'===e[0]||"."===e[0]||e[0]>="0"&&e[0]<="9"?e:'"'+e.trim()+'"'}function c(e){let r="",t="",n=!1;for(let a=0;a<e.length;a++){const o=e[a];n?'"'===o?'"'===e[a+1]?(r+=`\\${o}`,a+=1):n=!1:r+=o:/\s/.test(o)||(","===o?(t+=""!==r?s(r)+",":",",r=""):")"===o||"]"===o?(t+=""!==r?s(r)+"]}":"]}",r=""):"("===o||"["===o?(t+='{ "entity": "'+r.toUpperCase().trim()+'", "values":[',r=""):'"'===o?(n=!0,r=""):r+=o)}return JSON.parse(t)}function i(e){try{for(let r=0;r<o.length;r++)if(o[r].spatialReferenceWkt===e)return o[r].unit;const r=u(c(e));if(null===r)return null;let t=null;for(const e of r.values)if("object"==typeof e&&("UNIT"===e.entity||"ANGLEUNIT"===e.entity||"LENGTHUNIT"===e.entity)){t=e;break}if(null===t)return null;const n=function(e,r,t){if(null!=t)try{if("EPSG"===t.values[0])return{type:e,wkid:Number.parseInt(t.values[1],10),factor:r}}catch(e){}return{type:e,factor:r}}("GEOGCS"===r.entity||"GEOGCRS"===r.entity?"angular":"linear",t.values[1],t.values[2]);return o.push({spatialReferenceWkt:e,unit:n}),o.length>10&&o.shift(),n}catch(e){return null}}function u(e){if(null===e)return null;switch(e.entity){case"GEOGCRS":case"GEOGCS":case"PROJCRS":case"PROJCS":return e}const r=[];for(const t of e.values)if("object"==typeof t&&void 0!==t.entity)switch(t.entity){case"GEOGCRS":case"GEOGCS":case"PROJCRS":case"PROJCS":return t;default:r.push(t)}for(const e of r){const r=u(e);if(null!=r)return r}return null}t(44208);var l=t(83047),d=t(22530);const p=-1;function m(e,r){let t;switch(e){case"linear":t=a.s9;break;case"angular":t=a.zD;break;case"area":t=a.y6;break;default:return null}return t.get(r)}function f(e){const r=e.wkid;if(null!=r){const e=d.A.units[d.A[r]];if(null!=e)switch(e){case"Meter":return m("linear",9001);case"Foot":return m("linear",9002);case"Foot_US":return m("linear",9003);case"Foot_Clarke":return m("linear",9005);case"Yard_Clarke":return m("linear",9037);case"Link_Clarke":return m("linear",9039);case"Yard_Sears":return m("linear",9040);case"Foot_Sears":return m("linear",9041);case"Chain_Sears":return m("linear",9042);case"Chain_Benoit_1895_B":return m("linear",9062);case"Yard_Indian":return m("linear",9084);case"Yard_Indian_1937":return m("linear",9085);case"Foot_Gold_Coast":return m("linear",9094);case"Chain":return m("linear",9097);case"Chain_Sears_1922_Truncated":return m("linear",9301);case"50_Kilometers":return m("linear",109030);case"150_Kilometers":return m("linear",109031);default:throw new Error(`Unknown unit name: ${e}`)}return l.yD.has(r)?m("angular",9105):m("angular",9102)}const t=e.wkt2||e.wkt;if(null!=t){const e=i(t);if(null!=e){if(null!=e.wkid){const r=m(e.type,e.wkid);if(null!=r)return r}return{type:e.type,wkid:p,factor:e.factor}}}return null}function y(e){if("linear"!==e.type)return null;if(e.wkid===p)return{type:"area",wkid:p,factor:e.factor**2};const r=a.SQ.get(e.wkid);return null==r?null:m("area",r)}function g(e){if(null!=e){if("number"==typeof e)return a.y6.get(e)??a.s9.get(e)??a.zD.get(e);if("string"!=typeof e)throw new n.D$(null,n.TX.InvalidParameter,null);switch(e.toLowerCase().replaceAll(/[\s-]+/g,"")){case"meters":case"meter":case"m":case"squaremeters":case"squaremeter":return a.y6.get(109404);case"miles":case"mile":case"squaremile":case"squaremiles":return a.y6.get(109439);case"kilometers":case"kilometer":case"squarekilometers":case"squarekilometer":case"km":return a.y6.get(109414);case"acres":case"acre":case"ac":return a.y6.get(109402);case"hectares":case"hectare":case"ha":return a.y6.get(109401);case"yard":case"yd":case"yards":case"squareyards":case"squareyard":return a.y6.get(109442);case"feet":case"ft":case"foot":case"squarefeet":case"squarefoot":return a.y6.get(109405);case"nmi":case"nauticalmile":case"nauticalmiles":case"squarenauticalmile":case"squarenauticalmiles":return a.y6.get(109409)}}}function h(e){if(null!=e){if("number"==typeof e)return a.s9.get(e)??a.zD.get(e)??a.y6.get(e);if("string"!=typeof e)throw new n.D$(null,n.TX.InvalidParameter,null);switch(e.toLowerCase().replaceAll(/[\s-]+/g,"")){case"meters":case"meter":case"m":case"squaremeters":case"squaremeter":return a.s9.get(9001);case"miles":case"mile":case"squaremile":case"squaremiles":return a.s9.get(9093);case"kilometers":case"kilometer":case"squarekilometers":case"squarekilometer":case"km":return a.s9.get(9036);case"yard":case"yd":case"yards":case"squareyards":case"squareyard":return a.s9.get(9096);case"feet":case"ft":case"foot":case"squarefeet":case"squarefoot":return a.s9.get(9002);case"nmi":case"nauticalmile":case"nauticalmiles":case"squarenauticalmile":case"squarenauticalmiles":return a.s9.get(9030)}}}function C(e,r,t){if(e.type!==r.type)throw new Error(`Incompatible unit types. src=${e.type} dest=${r.type}`);return t*(e.factor/r.factor)}function b(e,r,t){if(null==e||null==r)return t;const n=f(e);if(null==n)throw new Error("Unknown spatial reference unit.");const a="area"===r.type&&"linear"===n.type?y(n):n;if(null==a)throw new Error(`Unknown spatial reference ${r.type} unit.`);return C(a,r,t)}function w(e,r,t){if(null==e||null==r)return t;const n=f(r);if(null==n)throw new Error("Unknown spatial reference unit.");const a="area"===e.type&&"linear"===n.type?y(n):n;if(null==a)throw new Error(`Unknown spatial reference ${e.type} unit.`);return C(e,a,t)}function k(e,r,t){return null==e||null==r?t:C(e,r,t)}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[547],{85935:(e,r,t)=>{t.d(r,{B:()=>f,D$:()=>u,Nh:()=>m,O$:()=>p,TX:()=>n,mT:()=>d,ps:()=>g});var n,a,s=t(799);(a=n||(n={})).AsyncNotEnabled="AsyncNotEnabled",a.ModulesNotSupported="ModulesNotSupported",a.CircularModules="CircularModules",a.CannotCompareDateAndTime="CannotCompareDateAndTime",a.NeverReach="NeverReach",a.UnsupportedHashType="UnsupportedHashType",a.InvalidParameter="InvalidParameter",a.FeatureSetDoesNotHaveSubtypes="FeatureSetDoesNotHaveSubtypes",a.UnexpectedToken="UnexpectedToken",a.Unrecognized="Unrecognized",a.UnrecognizedType="UnrecognizedType",a.MaximumCallDepth="MaximumCallDepth",a.BooleanConditionRequired="BooleanConditionRequired",a.TypeNotAllowedInFeature="TypeNotAllowedInFeature",a.KeyMustBeString="KeyMustBeString",a.WrongNumberOfParameters="WrongNumberOfParameters",a.CallNonFunction="CallNonFunction",a.NoFunctionInTemplateLiteral="NoFunctionInTemplateLiteral",a.NoFunctionInDictionary="NoFunctionInDictionary",a.NoFunctionInArray="NoFunctionInArray",a.AssignModuleFunction="AssignModuleFunction",a.LogicExpressionOrAnd="LogicExpressionOrAnd",a.LogicalExpressionOnlyBoolean="LogicalExpressionOnlyBoolean",a.FunctionNotFound="FunctionNotFound",a.InvalidMemberAccessKey="InvalidMemberAccessKey",a.UnsupportedUnaryOperator="UnsupportUnaryOperator",a.InvalidIdentifier="InvalidIdentifier",a.MemberOfNull="MemberOfNull",a.UnsupportedOperator="UnsupportedOperator",a.Cancelled="Cancelled",a.ModuleAccessorMustBeString="ModuleAccessorMustBeString",a.ModuleExportNotFound="ModuleExportNotFound",a.Immutable="Immutable",a.OutOfBounds="OutOfBounds",a.IllegalResult="IllegalResult",a.FieldNotFound="FieldNotFound",a.PortalRequired="PortalRequired",a.LogicError="LogicError",a.ArrayAccessorMustBeNumber="ArrayAccessMustBeNumber",a.KeyAccessorMustBeString="KeyAccessorMustBeString",a.WrongSpatialReference="WrongSpatialReference",a.CannotChangeTimeZoneTime="CannotChangeTimeZoneTime",a.CannotChangeTimeZoneDateOnly="CannotChangeTimeZoneDateOnly";const o={[n.TypeNotAllowedInFeature]:"Feature attributes only support dates, numbers, strings, guids.",[n.LogicError]:"Logic error - {reason}",[n.CannotCompareDateAndTime]:"Cannot compare date or dateonly with timeonly types",[n.NeverReach]:"Encountered unreachable logic",[n.AsyncNotEnabled]:"Async Arcade must be enabled for this script",[n.ModuleAccessorMustBeString]:"Module accessor must be a string",[n.ModuleExportNotFound]:"Module has no export with provided identifier",[n.ModulesNotSupported]:"Current profile does not support modules",[n.ArrayAccessorMustBeNumber]:"Array accessor must be a number",[n.FunctionNotFound]:"Function not found",[n.FieldNotFound]:"Key not found - {key}",[n.CircularModules]:"Circular module dependencies are not allowed",[n.Cancelled]:"Execution cancelled",[n.UnsupportedHashType]:"Type not supported in hash function",[n.IllegalResult]:"Value is not a supported return type",[n.PortalRequired]:"Portal is required",[n.InvalidParameter]:"Invalid parameter",[n.WrongNumberOfParameters]:"Call with wrong number of parameters",[n.Unrecognized]:"Unrecognized code structure",[n.UnrecognizedType]:"Unrecognized type",[n.WrongSpatialReference]:"Cannot work with geometry in this spatial reference. It is different to the execution spatial reference",[n.BooleanConditionRequired]:"Conditions must use booleans",[n.NoFunctionInDictionary]:"Dictionaries cannot contain functions.",[n.NoFunctionInArray]:"Arrays cannot contain functions.",[n.NoFunctionInTemplateLiteral]:"Template Literals do not expect functions by value.",[n.KeyAccessorMustBeString]:"Accessor must be a string",[n.KeyMustBeString]:"Object keys must be a string",[n.Immutable]:"Object is immutable",[n.UnexpectedToken]:"Unexpected token",[n.MemberOfNull]:"Cannot access property of null object",[n.MaximumCallDepth]:"Exceeded maximum function depth",[n.OutOfBounds]:"Out of bounds",[n.InvalidIdentifier]:"Identifier not recognized",[n.CallNonFunction]:"Expression is not a function",[n.InvalidMemberAccessKey]:"Cannot access value using a key of this type",[n.AssignModuleFunction]:"Cannot assign function to module variable",[n.UnsupportedUnaryOperator]:"Unsupported unary operator",[n.UnsupportedOperator]:"Unsupported operator",[n.LogicalExpressionOnlyBoolean]:"Logical expressions must be boolean",[n.LogicExpressionOrAnd]:"Logical expression can only be combined with || or &&",[n.CannotChangeTimeZoneTime]:"Cannot change the timezone of a Time",[n.CannotChangeTimeZoneDateOnly]:"Cannot change the timezone of a DateOnly",[n.FeatureSetDoesNotHaveSubtypes]:"FeatureSet does not have subtypes"};class c extends Error{constructor(...e){super(...e)}}class i extends c{constructor(e,r){super(l(r)+e.message,{cause:e}),this.loc=null,Error.captureStackTrace&&Error.captureStackTrace(this,i),r?.loc&&(this.loc=r.loc)}}class u extends Error{constructor(e,r,t,n){super("Execution error - "+l(t)+(0,s.HC)(o[r],n)),this.loc=null,this.declaredRootClass="esri.arcade.arcadeexecutionerror",Error.captureStackTrace&&Error.captureStackTrace(this,u),t?.loc&&(this.loc=t.loc)}}function l(e){return e&&e.loc?`Line : ${e.loc.start?.line}, ${e.loc.start?.column}: `:""}class d extends Error{constructor(e,r,t,n){super("Compilation error - "+l(t)+(0,s.HC)(o[r],n)),this.loc=null,this.declaredRootClass="esri.arcade.arcadecompilationerror",Error.captureStackTrace&&Error.captureStackTrace(this,d),t?.loc&&(this.loc=t.loc)}}class p extends Error{constructor(){super("Uncompilable code structures"),this.declaredRootClass="esri.arcade.arcadeuncompilableerror",Error.captureStackTrace&&Error.captureStackTrace(this,p)}}function m(e,r,t){return"esri.arcade.arcadeexecutionerror"===t.declaredRootClass||"esri.arcade.arcadecompilationerror"===t.declaredRootClass?null===t.loc&&r?.loc?new i(t,{cause:t}):t:("esri.arcade.featureset.support.featureseterror"===t.declaredRootClass||"esri.arcade.featureset.support.sqlerror"===t.declaredRootClass||t.declaredRootClass,r?.loc?new i(t,{cause:t}):t)}var f;!function(e){e.UnrecognizedUri="UnrecognizedUri",e.UnsupportedUriProtocol="UnsupportedUriProtocol"}(f||(f={}));const y={[f.UnrecognizedUri]:"Unrecognized uri - {uri}",[f.UnsupportedUriProtocol]:"Unrecognized uri protocol"};class g extends Error{constructor(e,r){super((0,s.HC)(y[e],r)),this.declaredRootClass="esri.arcade.arcademoduleerror",Error.captureStackTrace&&Error.captureStackTrace(this,g)}}},71409:(e,r,t)=>{t.d(r,{A7:()=>p,L2:()=>u,SQ:()=>n,s9:()=>i,y6:()=>d,zD:()=>o});const n=new Map([[1025,109452],[1033,109451],[9001,109404],[9002,109405],[9003,109406],[9005,109407],[9014,109408],[9030,109409],[9031,109410],[9033,109411],[9034,109412],[9035,109413],[9036,109414],[9037,109415],[9038,109416],[9039,109417],[9040,109418],[9041,109419],[9042,109420],[9043,109421],[9050,109422],[9051,109423],[9052,109424],[9053,109425],[9060,109426],[9061,109427],[9062,109428],[9063,109429],[9070,109430],[9080,109431],[9081,109432],[9082,109433],[9083,109434],[9084,109435],[9085,109436],[9086,109437],[9087,109438],[9093,109439],[9094,109440],[9095,109441],[9096,109442],[9097,109444],[9098,109445],[9099,109446],[9300,109447],[9301,109448],[9302,109449],[109001,109442],[109002,109443],[109003,109444],[109004,109445],[109005,109450],[109006,109451],[109007,109452],[109008,109453],[109009,109454],[109010,109455],[109011,109456],[109012,109457],[109013,109458],[109014,109459],[109015,109462],[109016,109464],[109017,109465],[109018,109466],[109030,109460],[109031,109461]]);function a(e){return(r,t)=>[r,{type:e,wkid:r,factor:t}]}const s=a("angular"),o=new Map([s(1031,4.84813681109536e-9),s(9101,1),s(9102,.017453292519943295),s(9103,.0002908882086657216),s(9104,484813681109536e-20),s(9105,.015707963267948967),s(9106,.015707963267948967),s(9109,1e-6),s(9112,.00015707963267948965),s(9113,15707963267948967e-22),s(9114,.0009817477042468104)]),c=a("linear"),i=new Map([c(1025,.001),c(1033,.01),c(9001,1),c(9002,.3048),c(9003,.30480060960121924),c(9005,.3047972654),c(9014,1.8288),c(9030,1852),c(9031,1.0000135965),c(9033,20.11684023368047),c(9034,.2011684023368047),c(9035,1609.3472186944375),c(9036,1e3),c(9037,.9143917962),c(9038,20.1166195164),c(9039,.201166195164),c(9040,.9143984146160287),c(9041,.3047994715386762),c(9042,20.116765121552632),c(9043,.2011676512155263),c(9050,.9143992),c(9051,.3047997333333333),c(9052,20.1167824),c(9053,.201167824),c(9060,.9143992042898124),c(9061,.30479973476327077),c(9062,20.116782494375872),c(9063,.2011678249437587),c(9070,.30480083333333335),c(9080,.30479951024814694),c(9081,.30479841),c(9082,.3047996),c(9083,.3047995),c(9084,.9143985307444408),c(9085,.91439523),c(9086,.9143988),c(9087,.9143985),c(9093,1609.344),c(9094,.3047997101815088),c(9095,.3048007491),c(9096,.9144),c(9097,20.1168),c(9098,.201168),c(9099,.914398),c(9300,.30479933333333337),c(9301,20.116756),c(9302,.20116756),c(109001,.9144),c(109002,.9144018288036576),c(109003,20.1168),c(109004,.201168),c(109005,.1),c(109006,.01),c(109007,.001),c(109008,.0254),c(109009,.025400050800101603),c(109010,5.0292),c(109011,5.029210058420118),c(109012,1853.248),c(109013,1853.184),c(109014,1.7018),c(109015,.8466683600033867),c(109016,.00035277777777777776),c(109017,1e-6),c(109018,1e-9),c(109030,5e4),c(109031,15e4)]),u=i.get(9001),l=a("area"),d=new Map([l(109401,1e4),l(109402,4046.8564224),l(109403,4046.872609874252),l(109404,1),l(109405,.09290304),l(109406,.09290341161327487),l(109407,.09290137299531805),l(109408,3.34450944),l(109409,3429904),l(109410,1.000027193184865),l(109411,404.6872609874253),l(109412,.04046872609874252),l(109413,2589998.470319522),l(109414,1e6),l(109415,.8361123569578626),l(109416,404.6783807676053),l(109417,.04046783807676053),l(109418,.8361244606523066),l(109419,.09290271785025629),l(109420,404.6842389557165),l(109421,.04046842389557164),l(109422,.83612589696064),l(109423,.0929028774400711),l(109424,404.6849341289498),l(109425,.04046849341289498),l(109426,.836125904805842),l(109427,.09290287831176021),l(109428,404.6849379260275),l(109429,.04046849379260275),l(109430,.09290354800069446),l(109431,.09290274144751023),l(109432,.09290207073852812),l(109433,.09290279616016),l(109434,.09290273520025),l(109435,.836124673027592),l(109436,.8361186366467529),l(109437,.8361251654414399),l(109438,.83612461680225),l(109439,2589988.110336),l(109440,.09290286332673177),l(109441,.09290349665192114),l(109442,.83612736),l(109443,.8361307045194736),l(109444,404.68564224),l(109445,.040468564224),l(109446,.836123702404),l(109447,.09290263360044447),l(109448,404.683871963536),l(109449,.0404683871963536),l(109450,.01),l(109451,1e-4),l(109452,1e-6),l(109453,64516e-8),l(109454,.0006451625806477421),l(109455,25.29285264),l(109456,25.29295381171408),l(109457,3434528.149504),l(109458,3434290.937856),l(109459,2.89612324),l(109460,25e8),l(109461,225e8),l(109462,.7168473118308245),l(109463,100),l(109464,1.244521604938271e-7),l(109465,1e-12),l(109466,1e-18)]),p=d.get(109404)},40547:(e,r,t)=>{t.d(r,{convert:()=>k,convertFromSpatialReferenceUnit:()=>b,convertToSpatialReferenceUnit:()=>w,meters:()=>a.L2,squareMeters:()=>a.A7,toAreaUnit:()=>g,toLengthUnit:()=>h});var n=t(85935),a=t(71409);const s=[];function o(e){return 0===e.length?'""':'"'===e[0]||"."===e[0]||e[0]>="0"&&e[0]<="9"?e:'"'+e.trim()+'"'}function c(e){let r="",t="",n=!1;for(let a=0;a<e.length;a++){const s=e[a];n?'"'===s?'"'===e[a+1]?(r+=`\\${s}`,a+=1):n=!1:r+=s:/\s/.test(s)||(","===s?(t+=""!==r?o(r)+",":",",r=""):")"===s||"]"===s?(t+=""!==r?o(r)+"]}":"]}",r=""):"("===s||"["===s?(t+='{ "entity": "'+r.toUpperCase().trim()+'", "values":[',r=""):'"'===s?(n=!0,r=""):r+=s)}return JSON.parse(t)}function i(e){try{for(let r=0;r<s.length;r++)if(s[r].spatialReferenceWkt===e)return s[r].unit;const r=u(c(e));if(null===r)return null;let t=null;for(const e of r.values)if("object"==typeof e&&("UNIT"===e.entity||"ANGLEUNIT"===e.entity||"LENGTHUNIT"===e.entity)){t=e;break}if(null===t)return null;const n=function(e,r,t){if(null!=t)try{if("EPSG"===t.values[0])return{type:e,wkid:Number.parseInt(t.values[1],10),factor:r}}catch(e){}return{type:e,factor:r}}("GEOGCS"===r.entity||"GEOGCRS"===r.entity?"angular":"linear",t.values[1],t.values[2]);return s.push({spatialReferenceWkt:e,unit:n}),s.length>10&&s.shift(),n}catch(e){return null}}function u(e){if(null===e)return null;switch(e.entity){case"GEOGCRS":case"GEOGCS":case"PROJCRS":case"PROJCS":return e}const r=[];for(const t of e.values)if("object"==typeof t&&void 0!==t.entity)switch(t.entity){case"GEOGCRS":case"GEOGCS":case"PROJCRS":case"PROJCS":return t;default:r.push(t)}for(const e of r){const r=u(e);if(null!=r)return r}return null}t(44208);var l=t(83047),d=t(22530);const p=-1;function m(e,r){let t;switch(e){case"linear":t=a.s9;break;case"angular":t=a.zD;break;case"area":t=a.y6;break;default:return null}return t.get(r)}function f(e){const r=e.wkid;if(null!=r){const e=d.A.units[d.A[r]];if(null!=e)switch(e){case"Meter":return m("linear",9001);case"Foot":return m("linear",9002);case"Foot_US":return m("linear",9003);case"Foot_Clarke":return m("linear",9005);case"Yard_Clarke":return m("linear",9037);case"Link_Clarke":return m("linear",9039);case"Yard_Sears":return m("linear",9040);case"Foot_Sears":return m("linear",9041);case"Chain_Sears":return m("linear",9042);case"Chain_Benoit_1895_B":return m("linear",9062);case"Yard_Indian":return m("linear",9084);case"Yard_Indian_1937":return m("linear",9085);case"Foot_Gold_Coast":return m("linear",9094);case"Chain":return m("linear",9097);case"Chain_Sears_1922_Truncated":return m("linear",9301);case"50_Kilometers":return m("linear",109030);case"150_Kilometers":return m("linear",109031);default:throw new Error(`Unknown unit name: ${e}`)}return l.yD.has(r)?m("angular",9105):m("angular",9102)}const t=e.wkt2||e.wkt;if(null!=t){const e=i(t);if(null!=e){if(null!=e.wkid){const r=m(e.type,e.wkid);if(null!=r)return r}return{type:e.type,wkid:p,factor:e.factor}}}return null}function y(e){if("linear"!==e.type)return null;if(e.wkid===p)return{type:"area",wkid:p,factor:e.factor**2};const r=a.SQ.get(e.wkid);return null==r?null:m("area",r)}function g(e){if(null!=e){if("number"==typeof e)return a.y6.get(e)??a.s9.get(e)??a.zD.get(e);if("string"!=typeof e)throw new n.D$(null,n.TX.InvalidParameter,null);switch(e.toLowerCase().replaceAll(/[\s-]+/g,"")){case"meters":case"meter":case"m":case"squaremeters":case"squaremeter":return a.y6.get(109404);case"miles":case"mile":case"squaremile":case"squaremiles":return a.y6.get(109439);case"kilometers":case"kilometer":case"squarekilometers":case"squarekilometer":case"km":return a.y6.get(109414);case"acres":case"acre":case"ac":return a.y6.get(109402);case"hectares":case"hectare":case"ha":return a.y6.get(109401);case"yard":case"yd":case"yards":case"squareyards":case"squareyard":return a.y6.get(109442);case"feet":case"ft":case"foot":case"squarefeet":case"squarefoot":return a.y6.get(109405);case"nmi":case"nauticalmile":case"nauticalmiles":case"squarenauticalmile":case"squarenauticalmiles":return a.y6.get(109409);case"millimeter":case"millimeters":case"squaremillimeter":case"squaremillimeters":return a.y6.get(109452);case"centimeter":case"centimeters":case"squarecentimeter":case"squarecentimeters":return a.y6.get(109451);case"decimeter":case"decimeters":case"squaredecimeter":case"squaredecimeters":return a.y6.get(109450);case"inch":case"inches":case"squareinch":case"squareinches":return a.y6.get(109453);case"usfoot":case"usfeet":case"squareusfoot":case"squareusfeet":return a.y6.get(109406);case"usmile":case"usmiles":case"squareusmile":case"squareusmiles":return a.y6.get(109413)}}}function h(e){if(null!=e){if("number"==typeof e)return a.s9.get(e)??a.zD.get(e)??a.y6.get(e);if("string"!=typeof e)throw new n.D$(null,n.TX.InvalidParameter,null);switch(e.toLowerCase().replaceAll(/[\s-]+/g,"")){case"meters":case"meter":case"m":case"squaremeters":case"squaremeter":case"hectares":case"hectare":case"ha":return a.s9.get(9001);case"miles":case"mile":case"squaremile":case"squaremiles":return a.s9.get(9093);case"kilometers":case"kilometer":case"squarekilometers":case"squarekilometer":case"km":return a.s9.get(9036);case"yard":case"yd":case"yards":case"squareyards":case"squareyard":case"acres":case"acre":case"ac":return a.s9.get(9096);case"feet":case"ft":case"foot":case"squarefeet":case"squarefoot":return a.s9.get(9002);case"nmi":case"nauticalmile":case"nauticalmiles":case"squarenauticalmile":case"squarenauticalmiles":return a.s9.get(9030);case"millimeter":case"millimeters":case"squaremillimeter":case"squaremillimeters":return a.s9.get(109007);case"centimeter":case"centimeters":case"squarecentimeter":case"squarecentimeters":return a.s9.get(109006);case"decimeter":case"decimeters":case"squaredecimeter":case"squaredecimeters":return a.s9.get(109005);case"inch":case"inches":case"squareinch":case"squareinches":return a.s9.get(109008);case"usfoot":case"usfeet":case"squareusfoot":case"squareusfeet":return a.s9.get(9003);case"usmile":case"usmiles":case"squareusmile":case"squareusmiles":return a.s9.get(9035)}}}function C(e,r,t){if(e.type!==r.type)throw new Error(`Incompatible unit types. src=${e.type} dest=${r.type}`);return t*(e.factor/r.factor)}function b(e,r,t){if(null==e||null==r)return t;const n=f(e);if(null==n)throw new Error("Unknown spatial reference unit.");const a="area"===r.type&&"linear"===n.type?y(n):n;if(null==a)throw new Error(`Unknown spatial reference ${r.type} unit.`);return C(a,r,t)}function w(e,r,t){if(null==e||null==r)return t;const n=f(r);if(null==n)throw new Error("Unknown spatial reference unit.");const a="area"===e.type&&"linear"===n.type?y(n):n;if(null==a)throw new Error(`Unknown spatial reference ${e.type} unit.`);return C(e,a,t)}function k(e,r,t){return null==e||null==r?t:C(e,r,t)}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1745,7136],{17136:(e,t,i)=>{i.d(t,{O7:()=>b,el:()=>v});var n=i(92602),r=i(49186),o=i(53966),a=i(39829),s=i(82799),l=i(80754),c=i(21325),u=i(28735),d=i(78888),p=i(65864),m=i(2272),y=i(84952),M=i(92300);const g=()=>o.A.getLogger("esri.geometry.support.normalizeUtils");function h(e){return"polygon"===e[0].type}function f(e){return"polyline"===e[0].type}function w(e,t,i){if(t){const t=function(e,t){if(!(e instanceof s.A||e instanceof a.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw g().error(e),new r.A(e)}const i=(0,l.r8)(e),n=[];for(const e of i){const i=[];n.push(i),i.push([e[0][0],e[0][1]]);for(let n=0;n<e.length-1;n++){const r=e[n][0],o=e[n][1],a=e[n+1][0],s=e[n+1][1],l=Math.sqrt((a-r)*(a-r)+(s-o)*(s-o)),c=(s-o)/l,u=(a-r)/l,d=l/t;if(d>1){for(let e=1;e<=d-1;e++){const n=e*t,a=u*n+r,s=c*n+o;i.push([a,s])}const e=(l+Math.floor(d-1)*t)/2,n=u*e+r,a=c*e+o;i.push([n,a])}i.push([a,s])}}return function(e){return"polygon"===e.type}(e)?new a.A({rings:n,spatialReference:e.spatialReference}):new s.A({paths:n,spatialReference:e.spatialReference})}(e,1e6);e=(0,u.ci)(t,!0)}return i&&(e=(0,l.kS)(e,i)),e}function I(e,t,i){if(Array.isArray(e)){const n=e[0];if(n>t){const i=(0,l.kd)(n,t);e[0]=n+i*(-2*t)}else if(n<i){const t=(0,l.kd)(n,i);e[0]=n+t*(-2*i)}}else{const n=e.x;if(n>t){const i=(0,l.kd)(n,t);e=e.clone().offset(i*(-2*t),0)}else if(n<i){const t=(0,l.kd)(n,i);e=e.clone().offset(t*(-2*i),0)}}return e}function A(e,t){let i=-1;for(let n=0;n<t.cutIndexes.length;n++){const r=t.cutIndexes[n],o=t.geometries[n],a=(0,l.r8)(o);for(let e=0;e<a.length;e++){const t=a[e];t.some((i=>{if(i[0]<180)return!0;{let i=0;for(let e=0;e<t.length;e++){const n=t[e][0];i=n>i?n:i}i=Number(i.toFixed(9));const n=-360*(0,l.kd)(i,180);for(let i=0;i<t.length;i++){const t=o.getPoint(e,i);o.setPoint(e,i,t.clone().offset(n,0))}return!0}}))}if(r===i){if(h(e))for(const t of(0,l.r8)(o))e[r]=e[r].addRing(t);else if(f(e))for(const t of(0,l.r8)(o))e[r]=e[r].addPath(t)}else i=r,e[r]=o}return e}async function v(e,t,i){if(!Array.isArray(e))return v([e],t);t&&"string"!=typeof t&&g().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const r="string"==typeof t?t:t?.url??n.A.geometryServiceUrl;let o,h,f,b,D,S,T,j,C=0;const N=[],x=[];for(const t of e)if(null!=t)if(o||(o=t.spatialReference,h=(0,c.Vp)(o),f=o.isWebMercator,S=f?102100:4326,b=l.j7[S].maxX,D=l.j7[S].minX,T=l.j7[S].plus180Line,j=l.j7[S].minus180Line),h)if("mesh"===t.type)x.push(t);else if("point"===t.type)x.push(I(t.clone(),b,D));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map((e=>I(e,b,D))),x.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,h);x.push(e.rings?new a.A(e):e)}else if(t.extent){const e=t.extent,i=(0,l.kd)(e.xmin,D)*(2*b);let n=0===i?t.clone():(0,l.kS)(t.clone(),i);e.offset(i,0);let{xmin:r,xmax:o}=e;r=Number(r.toFixed(9)),o=Number(o.toFixed(9)),e.intersects(T)&&o!==b?(C=o>C?o:C,n=w(n,f),N.push(n),x.push("cut")):e.intersects(j)&&r!==D?(C=o*(2*b)>C?o*(2*b):C,n=w(n,f,360),N.push(n),x.push("cut")):x.push(n)}else x.push(t.clone());else x.push(t);else x.push(t);let L=(0,l.kd)(C,b),Z=-90;const k=L,U=new s.A;for(;L>0;){const e=360*L-180;U.addPath([[e,Z],[e,-1*Z]]),Z*=-1,L--}if(N.length>0&&k>0){const t=A(N,await async function(e,t,i,n){const r=(0,m.Dl)(e),o=t[0].spatialReference,a={...n,responseType:"json",query:{...r.query,f:"json",sr:(0,c.YX)(o),target:JSON.stringify({geometryType:(0,p.$B)(t[0]),geometries:t}),cutter:JSON.stringify(i)}},s=await(0,d.A)(r.path+"/cut",a),{cutIndexes:l,geometries:u=[]}=s.data;return{cutIndexes:l,geometries:u.map((e=>{const t=(0,p.rS)(e);return t.spatialReference=o,t}))}}(r,N,U,i)),n=[],o=[];for(let i=0;i<x.length;i++){const r=x[i];if("cut"!==r)o.push(r);else{const r=t.shift(),a=e[i];null!=a&&"polygon"===a.type&&a.rings&&a.rings.length>1&&r.rings.length>=a.rings.length?(n.push(r),o.push("simplify")):o.push(f?(0,u.Gh)(r):r)}}if(!n.length)return o;const a=await async function(e,t,i){const n="string"==typeof e?(0,y.An)(e):e,r=t[0].spatialReference,o=(0,p.$B)(t[0]),a={...i,query:{...n.query,f:"json",sr:(0,c.YX)(r),geometries:JSON.stringify((0,M.X)(t))}},{data:s}=await(0,d.A)(n.path+"/simplify",a);return(0,M.V)(s.geometries,o,r)}(r,n,i),s=[];for(let e=0;e<o.length;e++){const t=o[e];"simplify"!==t?s.push(t):s.push(f?(0,u.Gh)(a.shift()):a.shift())}return s}const z=[];for(let e=0;e<x.length;e++){const t=x[e];if("cut"!==t)z.push(t);else{const e=N.shift();z.push(!0===f?(0,u.Gh)(e):e)}}return z}function b(e,t,i){const n=(0,c.Vp)(i);if(null==n)return e;const[r,o]=n.valid,a=2*o;let s=0,l=0;t>o?s=Math.ceil(Math.abs(t-o)/a):t<r&&(s=-Math.ceil(Math.abs(t-r)/a)),e>o?l=Math.ceil(Math.abs(e-o)/a):e<r&&(l=-Math.ceil(Math.abs(e-r)/a));let u=e+(s-l)*a;const d=u-t;return d>o?u-=a:d<r&&(u+=a),u}},80754:(e,t,i)=>{i.d(t,{j7:()=>a,kS:()=>l,kd:()=>s,r8:()=>c});var n=i(82799),r=i(16930),o=i(65864);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 s(e,t){return Math.ceil((e-t)/(2*t))}function l(e,t){const i=c(e);for(const e of i)for(const i of e)i[0]+=t;return e}function c(e){return(0,o.Bi)(e)?e.rings:e.paths}},69208:(e,t,i)=>{i.d(t,{d:()=>a});var n=i(90237),r=i(10107),o=(i(44208),i(53966),i(87811),i(40608));const a=e=>{let t=class extends e{constructor(){super(...arguments),this.customParameters=null}};return(0,n._)([(0,r.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],t.prototype,"customParameters",void 0),t=(0,n._)([(0,o.$)("esri.layers.mixins.CustomParametersMixin")],t),t}},8303:(e,t,i)=>{i.d(t,{A:()=>v});var n=i(90237),r=i(92602),o=i(70333),a=i(78888),s=i(60999),l=i(49186),c=i(53966),u=i(97768),d=i(74887),p=i(84952),m=i(10107),y=(i(44208),i(87811),i(36005)),M=i(40608),g=i(43937),h=i(83531),f=i(20655),w=i(80812),I=i(41318),A=i(10407);const v=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,u.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,i){if(t.itemId)return new w.default({id:t.itemId,portal:i?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:n}=await i.e(1204).then(i.bind(i,41204));return(0,d.Te)(t),await n({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,d.zf)(e)||c.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch((e=>((0,d.QP)(e),!0))))}async setUserPrivileges(e,t){if(!r.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:i,fullEdit:n},content:{updateItem:r}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",i),this._set("userHasFullEditingPrivileges",n),this._set("userHasUpdateItemPrivileges",r)}catch(e){(0,d.QP)(e)}}async _fetchUserPrivileges(e,t){let i=this.portalItem;if(!e||!i||!i.loaded||i.sourceUrl)return this._fetchFallbackUserPrivileges(t);const n=!o.id?.findCredential(this.url),r=e===i.id;if(r&&i.portal.user)return this._getUserPrivileges(i,n);let a,s;if(r)a=i.portal.url;else try{a=await(0,h.wI)(this.url,t)}catch(e){(0,d.QP)(e)}if(!a||!(0,p.b8)(a,i.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;s=await(o.id?.getCredential(`${a}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.QP)(e)}const l=!0,c=!1,u=!1;if(!s)return{features:{edit:l,fullEdit:c},content:{updateItem:u}};try{if(r?await i.reload():(i=new w.default({id:e,portal:{url:a}}),await i.load(t)),i.portal.user)return this._getUserPrivileges(i,n)}catch(e){(0,d.QP)(e)}return{features:{edit:l,fullEdit:c},content:{updateItem:u}}}_getUserPrivileges(e,t){const i=(0,A.It)(e);return t&&(i.features.edit=!0),i}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,d.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?o.id?.findCredential(this.url):null;if(!t)return!0;const i=b.credential===t?b.user:await this._fetchEditingUser(e);return b.credential=t,b.user=i,null==i?.privileges||i.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const i=o.id?.findServerInfo(this.url??"");if(!i?.owningSystemUrl)return null;const n=`${i.owningSystemUrl}/sharing/rest`,r=f.A.getDefault();if(r&&r.loaded&&(0,p.S8)(r.restUrl)===(0,p.S8)(n))return r.user;const l=`${n}/community/self`,c=null!=e?e.signal:null,u=await(0,s.Ke)((0,a.A)(l,{authMode:"no-prompt",query:{f:"json"},signal:c}));return u.ok?I.A.fromJSON(u.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const i=t?.portal,n=this.portalItem?.id&&(this.portalItem.portal||f.A.getDefault());return i&&n&&!(0,p.ut)(n.restUrl,i.restUrl)?(t.messages&&t.messages.push(new l.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n._)([(0,m.MZ)({type:w.default})],t.prototype,"portalItem",null),(0,n._)([(0,y.w)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,n._)([(0,g.K)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,n._)([(0,m.MZ)({clonable:!1})],t.prototype,"resourceReferences",void 0),(0,n._)([(0,m.MZ)({type:Boolean,readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),(0,n._)([(0,m.MZ)({type:Boolean,readOnly:!0})],t.prototype,"userHasFullEditingPrivileges",void 0),(0,n._)([(0,m.MZ)({type:Boolean,readOnly:!0})],t.prototype,"userHasUpdateItemPrivileges",void 0),t=(0,n._)([(0,M.$)("esri.layers.mixins.PortalLayer")],t),t},b={credential:null,user:null}},82935:(e,t,i)=>{i.d(t,{B:()=>m,e:()=>y});var n=i(90237),r=i(10107),o=(i(44208),i(53966),i(87811),i(36005)),a=i(40608),s=i(89317),l=i(30524),c=i(96184),u=i(73133),d=i(79677),p=i(10184);const m={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:s.K}}},y=e=>{let t=class extends e{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const i=t.timeInfo.exportOptions;if(!i)return null;const n=i.timeOffset,r=u.j.fromJSON(i.timeOffsetUnits);return n&&r?new p.A({value:n,unit:r}):null}set timeInfo(e){(0,l.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n._)([(0,r.MZ)({type:d.A,json:{write:!1}})],t.prototype,"timeExtent",void 0),(0,n._)([(0,r.MZ)({type:p.A})],t.prototype,"timeOffset",void 0),(0,n._)([(0,o.w)("service","timeOffset",["timeInfo.exportOptions"])],t.prototype,"readOffset",null),(0,n._)([(0,r.MZ)({value:null,type:c.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],t.prototype,"timeInfo",null),(0,n._)([(0,r.MZ)(m)],t.prototype,"useViewTime",void 0),t=(0,n._)([(0,a.$)("esri.layers.mixins.TemporalLayer")],t),t}},45617:(e,t,i)=>{i.d(t,{A:()=>d});var n,r=i(90237),o=i(25482),a=i(4718),s=i(10107),l=i(56507),c=i(40608);let u=n=class extends o.A{constructor(e){super(e),this.variableName=null,this.dimensionName=null,this.values=[],this.isSlice=!1}clone(){return new n({variableName:this.variableName,dimensionName:this.dimensionName,values:(0,a.o8)(this.values),isSlice:this.isSlice})}};(0,r._)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"variableName",void 0),(0,r._)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"dimensionName",void 0),(0,r._)([(0,s.MZ)({type:l.gK.array(l.gK.oneOf([l.gK.native(Number),l.gK.array(l.gK.native(Number))])),json:{write:!0}})],u.prototype,"values",void 0),(0,r._)([(0,s.MZ)({type:Boolean,json:{write:!0}})],u.prototype,"isSlice",void 0),u=n=(0,r._)([(0,c.$)("esri.layers.support.DimensionalDefinition")],u);const d=u},85675:(e,t,i)=>{i.d(t,{A:()=>I});var n,r=i(90237),o=i(66552),a=i(25482),s=i(4718),l=i(10107),c=i(79901),u=i(36005),d=i(40608),p=i(43937),m=i(56507),y=i(86738),M=i(45617),g=i(22796);const h=(0,o.O)()({MT_FIRST:"first",MT_LAST:"last",MT_MIN:"min",MT_MAX:"max",MT_MEAN:"mean",MT_BLEND:"blend",MT_SUM:"sum"}),f=(0,o.O)()({esriMosaicNone:"none",esriMosaicCenter:"center",esriMosaicNadir:"nadir",esriMosaicViewpoint:"viewpoint",esriMosaicAttribute:"attribute",esriMosaicLockRaster:"lock-raster",esriMosaicNorthwest:"northwest",esriMosaicSeamline:"seamline"});let w=n=class extends a.A{constructor(e){super(e),this.ascending=!0,this.itemRasterFunction=null,this.lockRasterIds=null,this.method="none",this.multidimensionalDefinition=null,this.objectIds=null,this.operation="first",this.sortField=null,this.sortValue=null,this.viewpoint=null,this.where=null}readAscending(e,t){return null!=t.ascending?t.ascending:null==t.sortAscending||t.sortAscending}readMethod(e,t){return function(e){let t;switch(e?e.toLowerCase().replace("esrimosaic",""):""){case"byattribute":case"attribute":t="esriMosaicAttribute";break;case"lockraster":t="esriMosaicLockRaster";break;case"center":t="esriMosaicCenter";break;case"northwest":t="esriMosaicNorthwest";break;case"nadir":t="esriMosaicNadir";break;case"viewpoint":t="esriMosaicViewpoint";break;case"seamline":t="esriMosaicSeamline";break;default:t="esriMosaicNone"}return f.fromJSON(t)}(t.mosaicMethod||t.defaultMosaicMethod)}writeMultidimensionalDefinition(e,t,i){null!=e&&(e=e.filter((({variableName:e,dimensionName:t})=>e&&"*"!==e||t))).length&&(t[i]=e.map((e=>e.toJSON())))}readOperation(e,t){const i=t.mosaicOperation,n=t.mosaicOperator?.toLowerCase(),r=i||(n?h.toJSON(n):null);return h.fromJSON(r)||"first"}castSortValue(e){return null==e||"string"==typeof e||"number"==typeof e?e:`${e}`}clone(){return new n({ascending:this.ascending,itemRasterFunction:(0,s.o8)(this.itemRasterFunction),lockRasterIds:(0,s.o8)(this.lockRasterIds),method:this.method,multidimensionalDefinition:(0,s.o8)(this.multidimensionalDefinition),objectIds:(0,s.o8)(this.objectIds),operation:this.operation,sortField:this.sortField,sortValue:this.sortValue,viewpoint:(0,s.o8)(this.viewpoint),where:this.where})}};(0,r._)([(0,l.MZ)({type:Boolean,json:{write:!0}})],w.prototype,"ascending",void 0),(0,r._)([(0,u.w)("ascending",["ascending","sortAscending"])],w.prototype,"readAscending",null),(0,r._)([(0,l.MZ)({type:g.A,json:{name:"itemRenderingRule",write:!0}})],w.prototype,"itemRasterFunction",void 0),(0,r._)([(0,l.MZ)({type:[m.jz],json:{write:{overridePolicy(){return{enabled:"lock-raster"===this.method}}}}})],w.prototype,"lockRasterIds",void 0),(0,r._)([(0,l.MZ)({type:f.apiValues,json:{type:f.jsonValues,write:{target:"mosaicMethod",writer:f.write,isRequired:!0}}})],w.prototype,"method",void 0),(0,r._)([(0,u.w)("method",["mosaicMethod","defaultMosaicMethod"])],w.prototype,"readMethod",null),(0,r._)([(0,l.MZ)({type:[M.A],json:{write:!0}})],w.prototype,"multidimensionalDefinition",void 0),(0,r._)([(0,p.K)("multidimensionalDefinition")],w.prototype,"writeMultidimensionalDefinition",null),(0,r._)([(0,l.MZ)({type:[m.jz],json:{name:"fids",write:!0}})],w.prototype,"objectIds",void 0),(0,r._)([(0,l.MZ)({type:h.apiValues,json:{type:h.jsonValues,read:{reader:h.read},write:{target:"mosaicOperation",writer:h.write}}})],w.prototype,"operation",void 0),(0,r._)([(0,u.w)("operation",["mosaicOperation","mosaicOperator"])],w.prototype,"readOperation",null),(0,r._)([(0,l.MZ)({type:String,json:{write:{overridePolicy(){return{enabled:"attribute"===this.method}}}}})],w.prototype,"sortField",void 0),(0,r._)([(0,l.MZ)({type:[String,Number],json:{write:{allowNull:!0,overridePolicy(){return{enabled:"attribute"===this.method,allowNull:!0}}}}})],w.prototype,"sortValue",void 0),(0,r._)([(0,c.w)("sortValue")],w.prototype,"castSortValue",null),(0,r._)([(0,l.MZ)({type:y.A,json:{write:!0}})],w.prototype,"viewpoint",void 0),(0,r._)([(0,l.MZ)({type:String,json:{write:!0}})],w.prototype,"where",void 0),w=n=(0,r._)([(0,d.$)("esri.layers.support.MosaicRule")],w);const I=w},43577:(e,t,i)=>{i.d(t,{A:()=>M});var n,r=i(90237),o=i(25482),a=i(10107),s=(i(44208),i(53966),i(87811),i(40608)),l=i(5443),c=i(91075),u=i(39829),d=i(65864),p=i(45617);const m={base:c.A,key:"type",typeMap:{extent:l.A,polygon:u.A}};let y=n=class extends o.A{constructor(e){super(e),this.areaOfInterest=null,this.subsetDefinitions=null}get dimensions(){const{subsetDefinitions:e}=this;if(null==e||0===e.length)return[];const t=new Map;e.forEach((e=>{if(!e.dimensionName)return;let i,n;if(Array.isArray(e.values[0])){const t=e.values;i=t[0][0],n=t[e.values.length-1][1]}else{const t=e.values;i=t[0],n=t[e.values.length-1]}if(t.has(e.dimensionName)){const r=t.get(e.dimensionName);r[0]=Math.min(i,r[0]),r[1]=Math.max(n,r[1])}else t.set(e.dimensionName,[i,n])}));const i=[];for(const e of t)i.push({name:e[0],extent:e[1]});return i}get variables(){const{subsetDefinitions:e}=this;if(null==e||0===e.length)return[];const t=new Set;return e.forEach((e=>{e.variableName&&t.add(e.variableName)})),[...t]}clone(){const e=this.subsetDefinitions?.map((e=>e.clone())),t=this.areaOfInterest?this.areaOfInterest.clone():this.areaOfInterest;return new n({areaOfInterest:t,subsetDefinitions:e})}};(0,r._)([(0,a.MZ)({types:m,json:{read:d.rS,write:!0}})],y.prototype,"areaOfInterest",void 0),(0,r._)([(0,a.MZ)({readOnly:!0})],y.prototype,"dimensions",null),(0,r._)([(0,a.MZ)({readOnly:!0})],y.prototype,"variables",null),(0,r._)([(0,a.MZ)({type:[p.A],json:{write:!0}})],y.prototype,"subsetDefinitions",void 0),y=n=(0,r._)([(0,s.$)("esri.layers.support.MultidimensionalSubset")],y);const M=y},22796:(e,t,i)=>{i.d(t,{A:()=>k});var n=i(90237),r=i(25482),o=i(4718),a=i(10107),s=(i(44208),i(53966),i(93223)),l=i(36005),c=i(40608),u=i(43937),d=i(66552),p=i(56507),m=(i(87811),i(13868));let y=class extends r.A{constructor(){super(...arguments),this.pixelType="unknown"}};(0,n._)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],y.prototype,"name",void 0),(0,n._)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"description",void 0),(0,n._)([(0,a.MZ)({type:p.jz,json:{type:p.jz,write:!0,name:"_object_id"}})],y.prototype,"id",void 0),(0,n._)([(0,a.MZ)({type:String,json:{type:m.e8.jsonValues,read:m.e8.read,write:{writer:m.e8.write,isRequired:!0}}})],y.prototype,"pixelType",void 0),(0,n._)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],y.prototype,"type",void 0),y=(0,n._)([(0,c.$)("esri.layers.support.RasterFunctionInfo")],y);const M=y;let g=class extends r.A{constructor(){super(...arguments),this.isDataset=!1,this.isPublic=!1,this.type="RasterFunctionVariable"}};(0,n._)([(0,a.MZ)({type:String,json:{write:!0}})],g.prototype,"name",void 0),(0,n._)([(0,a.MZ)({type:Number,json:{type:p.jz,write:!0,name:"_object_id"}})],g.prototype,"id",void 0),(0,n._)([(0,a.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"isDataset",void 0),(0,n._)([(0,a.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"isPublic",void 0),(0,n._)([(0,a.MZ)({json:{write:!0}})],g.prototype,"value",void 0),(0,n._)([(0,a.MZ)({type:String,json:{write:!0}})],g.prototype,"type",void 0),g=(0,n._)([(0,c.$)("esri.layers.support.RasterFunctionVariable")],g);const h={key:"type",base:null,typeMap:{RasterFunctionVariable:g}};let f=class extends r.A{};(0,n._)([(0,a.MZ)({types:h,json:{types:h,name:"MatchVariable"}})],f.prototype,"matchVariable",void 0),(0,n._)([(0,a.MZ)({types:h,json:{types:h,name:"UnionDimension"}})],f.prototype,"unionDimension",void 0),(0,n._)([(0,a.MZ)({type:Number,json:{type:p.jz,write:!0,name:"_object_id"}})],f.prototype,"id",void 0),(0,n._)([(0,a.MZ)({type:String,json:{write:!0}})],f.prototype,"type",void 0),f=(0,n._)([(0,c.$)("esri.layers.support.RasterFunctionProperties")],f);const w=f,I=new d.J({0:"mosaic",1:"item",2:"item-group"},{useNumericKeys:!0});let A=class extends r.A{constructor(){super(...arguments),this.functionType="mosaic",this.type="RasterFunctionTemplate"}};(0,n._)([(0,a.MZ)({type:[String],json:{write:!0}})],A.prototype,"aliases",void 0),(0,n._)([(0,a.MZ)({type:Object,json:{write:{isRequired:!0}}})],A.prototype,"arguments",void 0),(0,n._)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],A.prototype,"description",void 0),(0,n._)([(0,a.MZ)({type:M,json:{write:{isRequired:!0},name:"function"}})],A.prototype,"functionInfo",void 0),(0,n._)([(0,a.MZ)({type:I.apiValues,json:{type:[0,1,2],read:I.read,write:{writer:I.write,isRequired:!0}}})],A.prototype,"functionType",void 0),(0,n._)([(0,a.MZ)({type:String,json:{write:!0}})],A.prototype,"group",void 0),(0,n._)([(0,a.MZ)({type:String,json:{write:!0}})],A.prototype,"help",void 0),(0,n._)([(0,a.MZ)({type:Number,json:{type:p.jz,write:!0,name:"_object_id"}})],A.prototype,"id",void 0),(0,n._)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],A.prototype,"name",void 0),(0,n._)([(0,a.MZ)({type:String,json:{write:!0,name:"definition"}})],A.prototype,"queryDefinition",void 0),(0,n._)([(0,a.MZ)({type:String,json:{write:!0}})],A.prototype,"tag",void 0),(0,n._)([(0,a.MZ)({type:w,json:{write:!0}})],A.prototype,"properties",void 0),(0,n._)([(0,a.MZ)({type:String,json:{write:!0}})],A.prototype,"thumbnail",void 0),(0,n._)([(0,a.MZ)({type:String,json:{write:!0}})],A.prototype,"thumbnailEx",void 0),(0,n._)([(0,a.MZ)({json:{type:["RasterFunctionTemplate"],write:!0}})],A.prototype,"type",void 0),A=(0,n._)([(0,c.$)("esri.layers.support.RasterFunctionTemplate")],A);const v=A;var b;const D=new Set(["raster","raster2","dem","fillraster"]),S=new Set(["rasters"]),T=e=>e?.rasterFunction?Z.fromJSON(e):e,j=e=>e&&e instanceof Z?e.toJSON():e,C=e=>e?.functionName&&!e.declaredClass,N=e=>C(e)?new Z(e):e,x=e=>e?v.fromJSON({type:"RasterFunctionTemplate",...e}):void 0,L={types:{key:"type",base:null,typeMap:{RasterFunctionTemplate:v}},json:{write:!0,name:"rasterFunctionDefinition",read:x}};let Z=b=class extends r.A{constructor(e){super(e),this.functionName=null,this.outputPixelType="unknown",this.variableName=null,this.functionDefinition=null}set functionArguments(e){if(e){const t=Object.keys(e);if(t.some((t=>D.has(t.toLowerCase())&&C(e[t])))||t.some((t=>S.has(t.toLowerCase())&&Array.isArray(e[t])&&e[t].some((e=>C(e)))))){e=(0,o.o8)(e);for(const i of t)D.has(i.toLowerCase())?e[i]=N(e[i]):S.has(i.toLowerCase())&&Array.isArray(e[i])&&(e[i]=e[i].map((e=>N(e))))}}this._set("functionArguments",e)}readFunctionArguments(e){return(e=>{if(null==e)return null;e=(0,o.o8)(e);const t={};for(const i of Object.keys(e))D.has(i.toLowerCase())?t[i]=T(e[i]):S.has(i.toLowerCase())&&Array.isArray(e[i])?t[i]=e[i].map(T):t[i]=e[i];return t})(e)}writeFunctionArguments(e,t,i){const n={};for(const t of Object.keys(e))D.has(t.toLowerCase())?n[t]=j(e[t]):S.has(t.toLowerCase())&&Array.isArray(e[t])?n[t]=e[t].map(j):n[t]=j(e[t]);t[i]=n}readFunctionName(e,t){const i=t.rasterFunctionInfos;return t.name||(i?.length&&"None"!==i[0].name?i[0].name:t.rasterFunction||t.rasterFunctionDefinition?.name)}get rasterFunctionDefinition(){return this.functionDefinition?.toJSON()}set rasterFunctionDefinition(e){this.functionDefinition=x(e)}get hasClipFunction(){return this.rasterFunctionDefinition?JSON.stringify(this.rasterFunctionDefinition).includes('"type":"ClipFunction"'):JSON.stringify(this).includes('"rasterFunction":"Clip"')}clone(){return new b({functionName:this.functionName,functionArguments:(0,o.o8)(this.functionArguments),outputPixelType:this.outputPixelType,variableName:this.variableName,rasterFunctionDefinition:(0,o.o8)(this.rasterFunctionDefinition)})}};(0,n._)([(0,a.MZ)({json:{type:Object,name:"rasterFunctionArguments"}})],Z.prototype,"functionArguments",null),(0,n._)([(0,l.w)("functionArguments")],Z.prototype,"readFunctionArguments",null),(0,n._)([(0,u.K)("functionArguments")],Z.prototype,"writeFunctionArguments",null),(0,n._)([(0,a.MZ)({json:{type:String,write:{target:"rasterFunction"}}})],Z.prototype,"functionName",void 0),(0,n._)([(0,l.w)("functionName",["rasterFunction","rasterFunctionInfos","rasterFunctionDefinition"])],Z.prototype,"readFunctionName",null),(0,n._)([(0,s.e)({C128:"c128",C64:"c64",F32:"f32",F64:"f64",S16:"s16",S32:"s32",S8:"s8",U1:"u1",U16:"u16",U2:"u2",U32:"u32",U4:"u4",U8:"u8",UNKNOWN:"unknown"},{ignoreUnknown:!1,default:"unknown"})],Z.prototype,"outputPixelType",void 0),(0,n._)([(0,a.MZ)({type:String,json:{read:!0,write:!0}})],Z.prototype,"variableName",void 0),(0,n._)([(0,a.MZ)()],Z.prototype,"rasterFunctionDefinition",null),(0,n._)([(0,a.MZ)(L)],Z.prototype,"functionDefinition",void 0),(0,n._)([(0,a.MZ)()],Z.prototype,"hasClipFunction",null),Z=b=(0,n._)([(0,c.$)("esri.layers.support.RasterFunction")],Z);const k=Z},69409:(e,t,i)=>{i.d(t,{A:()=>a});var n=i(49186),r=i(29953),o=i(14140);class a{constructor(){this._workerThread=null,this._destroyed=!1}async initialize(){const e=await(0,r.ho)("RasterWorker");this._destroyed?e.close():this._workerThread=e}destroy(){this._destroyed=!0,this._workerThread&&(this._workerThread.close(),this._workerThread=null)}async convertVectorFieldData(e,t){if(!this._workerThread)throw new n.A("raster-jobhandler:no-connection","no available worker connection");const i=await this._workerThread.invoke("convertVectorFieldData",{pixelBlock:e.pixelBlock.toJSON(),type:e.dataType},t);return i?new o.A(i):null}computeStatisticsHistograms(e,t){if(!this._workerThread)throw new n.A("raster-jobhandler:no-connection","no available worker connection");return this._workerThread.invoke("computeStatisticsHistograms",{pixelBlock:e.pixelBlock.toJSON()},t)}async decode(e,t){if(!this._workerThread)throw new n.A("raster-jobhandler:no-connection","no available worker connection");const i=await this._workerThread.invoke("decode",e,t);return i?new o.A(i):null}async symbolize(e,t){if(!this._workerThread)throw new n.A("raster-jobhandler:no-connection","no available worker connection");const i={extent:e.extent?.toJSON(),pixelBlock:e.pixelBlock?.toJSON(),simpleStretchParams:e.simpleStretchParams,bandIds:e.bandIds},r=await this._workerThread.invoke("symbolize",i,t);return r?new o.A(r):null}async updateSymbolizer(e,t){if(!this._workerThread)throw new n.A("raster-jobhandler:no-connection","no available worker connection");const i=e?.rendererJSON?.histograms;await Promise.all(this._workerThread.broadcast("updateSymbolizer",{symbolizerJSON:e.toJSON(),histograms:i},t))}async updateRasterFunction(e,t){if(!this._workerThread)throw new n.A("raster-jobhandler:no-connection","no available worker connection");await Promise.all(this._workerThread.broadcast("updateRasterFunction",{rasterFunctionJSON:e.toJSON()},t))}async process(e,t){if(!this._workerThread)throw new n.A("raster-jobhandler:no-connection","no available worker connection");const i=await this._workerThread.invoke("process",{extent:e.extent?.toJSON(),primaryPixelSizes:e.primaryPixelSizes?.map((e=>null!=e?e.toJSON():null)),primaryPixelBlocks:e.primaryPixelBlocks.map((e=>null!=e?e.toJSON():null)),primaryRasterIds:e.primaryRasterIds},t);return i?new o.A(i):null}async stretch(e,t){if(!this._workerThread)throw new n.A("raster-jobhandler:no-connection","no available worker connection");if(!e?.pixelBlock)return null;const i={srcPixelBlock:e.pixelBlock.toJSON(),stretchParams:e.stretchParams},r=await this._workerThread.invoke("stretch",i,t);return r?new o.A(r):null}async split(e,t){if(!this._workerThread)throw new n.A("raster-jobhandler:no-connection","no available worker connection");if(!e?.pixelBlock)return null;const i={srcPixelBlock:e.pixelBlock.toJSON(),tileSize:e.tileSize,maximumPyramidLevel:e.maximumPyramidLevel,useBilinear:e.useBilinear},r=await this._workerThread.invoke("split",i,t);return r&&r.forEach(((e,t)=>{r.set(t,e?o.A.fromJSON(e):null)})),r}async clipTile(e,t){if(!this._workerThread)throw new n.A("raster-jobhandler:no-connection","no available worker connection");if(!e?.pixelBlock)return null;const i={...e,pixelBlock:e.pixelBlock.toJSON()},r=await this._workerThread.invoke("clipTile",i,t);return r?o.A.fromJSON(r):null}async estimateStatisticsHistograms(e,t){if(!this._workerThread)throw new n.A("raster-jobhandler:no-connection","no available worker connection");if(!e?.pixelBlock)return null;const i={srcPixelBlock:e.pixelBlock.toJSON()};return await this._workerThread.invoke("estimateStatisticsHistograms",i,t)}async mosaicAndTransform(e,t){if(!this._workerThread)throw new n.A("raster-jobhandler:no-connection","no available worker connection");if(!e?.srcPixelBlocks?.length)return{pixelBlock:null};const i={...e,srcPixelBlocks:e.srcPixelBlocks.map((e=>null!=e?e.toJSON():null))},r=await this._workerThread.invoke("mosaicAndTransform",i,t);return{pixelBlock:r.pixelBlock?new o.A(r.pixelBlock):null,localNorthDirections:r.localNorthDirections}}async createFlowMesh(e,t){if(!this._workerThread)throw new n.A("raster-jobhandler:no-connection","no available worker connection");const i={buffer:e.flowData.data.buffer,maskBuffer:e.flowData.mask.buffer,width:e.flowData.width,height:e.flowData.height},{meshType:r,simulationSettings:o}=e,a=await this._workerThread.invoke("createFlowMesh",{meshType:r,flowData:i,simulationSettings:o},{...t,transferList:[i.buffer,i.maskBuffer]});return{vertexData:new Float32Array(a.vertexBuffer),indexData:new Uint32Array(a.indexBuffer)}}getProjectionOffsetGrid(e,t){if(!this._workerThread)throw new n.A("raster-jobhandler:no-connection","no available worker connection");const i=null!=e.datumTransformation?e.datumTransformation.steps.map((e=>({wkid:e.wkid,wkt:e.wkt,isInverse:e.isInverse}))):null,r=null!=e.rasterTransform?e.rasterTransform.toJSON():null,o={projectedExtent:e.projectedExtent.toJSON(),srcBufferExtent:e.srcBufferExtent.toJSON(),pixelSize:e.pixelSize,hasWrapAround:e.hasWrapAround,spacing:e.spacing,datumTransformationSteps:i,rasterTransform:r,isAdaptive:e.isAdaptive,includeGCSGrid:e.includeGCSGrid};return this._workerThread.invoke("getProjectionOffsetGrid",o,t)}}},96184:(e,t,i)=>{i.d(t,{A:()=>M});var n=i(90237),r=i(69540),o=i(25482),a=i(10107),s=(i(44208),i(53966),i(87811),i(36005)),l=i(40608),c=i(43937),u=i(79677),d=i(10184),p=i(56400);function m(e,t){return d.A.fromJSON({value:e,unit:t})}let y=class extends(r.A.ClonableMixin(o.A)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?u.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?m(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?m(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n._)([(0,a.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],y.prototype,"cumulative",void 0),(0,n._)([(0,a.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],y.prototype,"endField",void 0),(0,n._)([(0,a.MZ)({type:u.A,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"fullTimeExtent",void 0),(0,n._)([(0,s.w)("fullTimeExtent",["timeExtent"])],y.prototype,"readFullTimeExtent",null),(0,n._)([(0,c.K)("fullTimeExtent")],y.prototype,"writeFullTimeExtent",null),(0,n._)([(0,a.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"hasLiveData",void 0),(0,n._)([(0,a.MZ)({type:d.A,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"interval",void 0),(0,n._)([(0,s.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],y.prototype,"readInterval",null),(0,n._)([(0,c.K)("interval")],y.prototype,"writeInterval",null),(0,n._)([(0,a.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],y.prototype,"startField",void 0),(0,n._)([(0,a.MZ)((0,p.P6)("timeReference",!0))],y.prototype,"timeZone",void 0),(0,n._)([(0,a.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"trackIdField",void 0),(0,n._)([(0,a.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],y.prototype,"useTime",void 0),(0,n._)([(0,a.MZ)({type:[Date],json:{read:!1}})],y.prototype,"stops",void 0),y=(0,n._)([(0,l.$)("esri.layers.support.TimeInfo")],y);const M=y},77301:(e,t,i)=>{i.d(t,{DY:()=>g,NG:()=>A,QW:()=>a,Rp:()=>m,Xg:()=>I,ct:()=>y,fy:()=>M,sx:()=>p,xx:()=>s,z2:()=>h});var n=i(4576),r=i(45617);function o(e,t,i){const n=t.shift();if(0===i.length){const e=[];i.push({sliceId:-1,multidimensionalDefinition:e})}const r=i.length;for(let t=0;t<r;t++){const t=i.shift().multidimensionalDefinition;n.values?.forEach((r=>{i.push({sliceId:-1,multidimensionalDefinition:[...t,{variableName:e,dimensionName:n.name,values:[r]}]})}))}t.length&&o(e,t,i)}function a(e,t){const i=[];let n=0;return(t?e.variables.filter((e=>e.name.toLowerCase()===t.toLowerCase())):[...e.variables].sort(((e,t)=>e.name>t.name?1:-1))).forEach((e=>{const t=[],r=[...e.dimensions].sort(((e,t)=>e.name>t.name?-1:1));o(e.name,r,t),t.forEach((e=>{i.push({...e,sliceId:n++})}))})),i}function s(e,t,i){let n=e;if(t&&(t=[...t].sort(((e,t)=>e.dimensionName<t.dimensionName?-1:1))).forEach((({dimensionName:e,values:t,isSlice:i})=>{t.length&&(n=n.filter((n=>{const r=n.multidimensionalDefinition.find((t=>t.dimensionName===e));if(null==r)return!1;const o=r.values[0];return"number"==typeof o?"number"==typeof t[0]?t.includes(o):t.some((e=>e[0]<=o&&e[1]>=o)):"number"==typeof t[0]?t.some((e=>o[0]<=e&&o[1]>=e)):i?t.some((e=>e[0]===o[0]&&e[0]===o[1])):t.some((e=>e[0]>=o[0]&&e[0]<=o[1]||e[1]>=o[0]&&e[1]<=o[1]||e[0]<o[0]&&e[1]>o[1]))})))})),n.length&&null!=i?.start&&null!=i.end){const e=i.start.getTime(),t=i.end.getTime(),r=n[0].multidimensionalDefinition.findIndex((e=>"StdTime"===e.dimensionName));r>-1&&(n=n.filter((i=>{const n=i.multidimensionalDefinition[r].values[0];return e<=n&&t>=n})))}return n.map((e=>e.sliceId))}function l(e,t){return Array.isArray(e)?t[0]===t[1]?e[0]===t[0]||e[1]===t[0]:e[0]>=t[0]&&e[0]<=t[1]&&e[1]>=t[0]&&e[1]<=t[1]:e>=t[0]&&e<=t[1]}function c(e,t){return e[0]<=t[0]&&e[1]>=t[0]||e[0]<=t[1]&&e[1]>=t[1]||e[0]>=t[0]&&e[1]<=t[1]}function u(e){return 1===e.length?[e[0],e[0]]:[e[0],e[e.length-1]]}function d(e,t,i){if(!t?.subsetDefinitions?.length)return e;let n;if(i){const{variables:r}=t;if(r.length&&!r.includes(i))return null;const o=t.subsetDefinitions.find((t=>t.dimensionName===e.name&&t.variableName===i));if(!o?.values?.length)return e;n=u(o.values)}else{const i=t.dimensions.find((({name:t})=>t===e.name));n=i?.extent}const r=n;if(!r?.length)return e;const o=e.values.filter((e=>l(e,r)));return{...e,extent:[...r],values:o}}function p(e,t,i){if(!t?.subsetDefinitions?.length)return!1;const{variables:n}=t;if(n.length&&e.some((({variableName:e})=>e&&!n.includes(e))))return!0;for(let n=0;n<e.length;n++){const r=e[n],o=t.subsetDefinitions.find((e=>(""===r.variableName||e.variableName===r.variableName)&&e.dimensionName===r.dimensionName));if(o?.values.length){const e=u(o.values);if(r.isSlice||2!==r.values.length||Array.isArray(r.values[0])||r.values[0]===r.values[1]||!i){if(r.values.some((t=>!l(t,e))))return!0}else if(!c(r.values,e))return!0}}return!1}function m(e,t){if(null==e)return{isOutside:!1};const{geometry:i,timeExtent:n,multidimensionalDefinition:o}=t;let a=null;if(null!=n&&(a=function(e,t){const i=e.dimensions.find((({name:e})=>"StdTime"===e));if(null==i||null==t.start&&null==t.end)return t;t=t.clone();const{start:n,end:o}=t.toJSON(),a=n===o?[n]:null!=n&&null!=o?[n,o]:[n??o];return 2===a.length&&i?.extent.length&&(a[0]=Math.max(a[0],i.extent[0]),a[1]=Math.min(a[1],i.extent[1]??i.extent[0]),a[1]<a[0])||p([new r.A({variableName:"",dimensionName:"StdTime",isSlice:1===a.length,values:a})],e,!0)?null:(t.start=new Date(a[0]),t.end=new Date(a[1]??a[0]),t)}(e,n),null==a))return{isOutside:!0};const{areaOfInterest:s}=e;if(s&&i){const e="point"===i.type?i:"extent"===i.type?i.center:"polygon"===i.type?i.centroid:null;if(e&&!s.contains(e))return{isOutside:!0}}return null!=o&&o.length&&p(o,e,!0)?{isOutside:!0}:{isOutside:!1,intersection:{geometry:i,timeExtent:a,multidimensionalDefinition:o}}}function y(e,t={}){const{multidimensionalInfo:i,keyProperties:n}=e;if(null==i)return null;const{variableName:r,multidimensionalSubset:o,multidimensionalDefinition:a}=t,s=null!=a?a[0]?.variableName:null,l=r||s||n?.DefaultVariable;let{variables:c}=i;return o?.variables?.length&&(c=c.filter((({name:e})=>o.variables.includes(e)))),l?c.find((({name:e})=>e===l))??c[0]:c[0]}function M(e,t={}){const i=y(e,t);if(!i)return null;const n=[],{dimensions:o,name:a}=i;if(0===o.length)return[new r.A({variableName:a,dimensionName:"",values:[],isSlice:!0})];for(let e=0;e<o.length;e++){const i=d(o[e],t.multidimensionalSubset,a);if(!i)return null;const{values:s,extent:l}=i;let c=s?.[0]??l?.[0];"stdz"===i.name.toLowerCase()&&!i.hasRanges&&l&&Math.abs(l[1])<=Math.abs(l[0])&&(c=s?.length?s[s.length-1]:l[1]),n.push(new r.A({variableName:a,dimensionName:i.name,values:[c],isSlice:!t.useRangeForRangedDimensionInfo||!!i.hasRanges}))}return n}function g(e){return!!e?.length&&e.some((e=>{if(null==e.values)return!0;const t=e.values.length;return 0===t||t>1||!e.isSlice&&Array.isArray(e.values[0])}))}function h(e,t){if(null==t||null==e)return null;let i=t.variables.map((e=>({...e})));return e?.variables?.length&&(i=i.filter((({name:t})=>e.variables.includes(t))),i.forEach((t=>{t.dimensions=t.dimensions.map((i=>d(i,e,t.name))).filter(n.Ru)}))),i}function f(e,t){const{values:i}=t;if(i?.length){const t=Array.isArray(i[0]),n=Array.isArray(e);return t!==n?-1:t&&n?i.findIndex((t=>t[0]===e[0]&&t[1]===e[1])):i.indexOf(e)}const{extent:n}=t;if(Array.isArray(e)||!n||e<n[0]||e>n[1])return-1;const r=t.interval||1;if("ISO8601"!==t.unit)return Math.round((e-n[0])/r);const o=n[0];let a=-1;switch(t.intervalUnit?.toLowerCase()||"days"){case"seconds":a=Math.round((e-o)/1e3/r);break;case"minutes":a=Math.round((e-o)/6e4/r);break;case"hours":a=Math.round((e-o)/36e5/r);break;case"days":a=Math.round((e-o)/864e5/r);break;case"months":{const t=new Date(e).getUTCFullYear()-new Date(o).getUTCFullYear(),i=new Date(o).getUTCMonth(),n=new Date(e).getUTCMonth();a=0===t?n-i:n+11-i+12*(t-1)}break;case"years":a=Math.round((new Date(e).getUTCFullYear()-new Date(o).getUTCFullYear())/r);break;case"decades":a=Math.round((new Date(e).getUTCFullYear()-new Date(o).getUTCFullYear())/10/r)}return a}function w(e){let t=e.values?.length;if(t)return t;const{extent:i,unit:n}=e,r=e.interval||1,o=i?i[1]-i[0]:0;if("ISO8601"!==n)return Math.round(o/r);switch(e.intervalUnit?.toLowerCase()??"seconds"){case"seconds":t=Math.round(o/1e3/r);break;case"minutes":t=Math.round(o/6e4/r);break;case"hours":t=Math.round(o/36e5/r);break;case"days":t=Math.round(o/864e5/r);break;case"months":if(i){const e=new Date(i[1]).getUTCFullYear()-new Date(i[0]).getUTCFullYear(),n=new Date(i[0]).getUTCMonth(),r=new Date(i[1]).getUTCMonth();t=0===e?r-n+1:r+11-n+12*(e-1)+1}else t=0;break;case"years":t=i?Math.round((new Date(i[1]).getUTCFullYear()-new Date(i[0]).getUTCFullYear())/r):0;break;case"decades":t=i?Math.round((new Date(i[1]).getUTCFullYear()-new Date(i[0]).getUTCFullYear())/10/r):0;break;default:t=0}return t}function I(e){if(2!==e.extent?.length||!e.interval)return[];const{extent:[t,i],interval:n}=e;if("ISO8601"===e.unit){const r=e.intervalUnit?.toLowerCase()??"days";return["decades","years","months","days","hours","minutes","seconds"].includes(r)?function(e,t,i,n){const r=[];let o=e;const a=new Date(e);for(;o<=t;)switch(r.push(o),n){case"decades":a.setUTCFullYear(a.getUTCFullYear()+10*i),o=a.getTime();break;case"years":a.setUTCFullYear(a.getUTCFullYear()+i),o=a.getTime();break;case"months":a.setUTCMonth(a.getUTCMonth()+i),o=a.getTime();break;case"days":o+=864e5*i;break;case"hours":o+=36e5*i;break;case"minutes":o+=6e4*i;break;case"seconds":o+=1e3*i}return 1===r.length?r[1]=t:r[r.length-1]=t,r}(t,i,n,r):[]}const r=Math.round((i-t)/n);return Array.from({length:r},((e,o)=>o===r-1?i:t+o*n))}function A(e,t){let i=0;const n=e[0].variableName,r=[...t.variables].sort(((e,t)=>e.name>t.name?1:-1));for(let t=0;t<r.length;t++){const o=r[t],a=[...o.dimensions].sort(((e,t)=>e.name>t.name?-1:1));if(o.name!==n){i+=a.map((e=>w(e))).reduce(((e,t)=>e*t));continue}const s=a.map((e=>w(e))),l=a.length;for(let t=0;t<l;t++){const n=e.find((e=>e.dimensionName===a[t].name));if(null==n)return null;const r=f(n.values[0],a[t]);if(-1===r)return null;s.shift(),i+=t===l-1?r:r*s.reduce(((e,t)=>e*t))}break}return i}},74797:(e,t,i)=>{i.d(t,{AL:()=>f,DV:()=>M,ER:()=>r,F_:()=>s,Nd:()=>m,Oo:()=>o,dy:()=>p,eS:()=>v,h4:()=>b,jC:()=>h,nq:()=>y,rZ:()=>d,y6:()=>g});var n=i(20437);const r="Raster.",o="Raster.Dim.",a=".Max",s={servicePixelValue:"Raster.ServicePixelValue",rawServicePixelValue:"Raster.ServicePixelValue.Raw",itemPixelValue:"Raster.ItemPixelValue",magnitude:"Raster.Magnitude",direction:"Raster.Direction",variable:"Raster.Variable"},l=new Map([["quarters","Quarter"],["months","Month"],["weeks","Week of the year"],["days","Day of the year"]]);function c(e,t){return new n.A({name:e,alias:t,domain:null,editable:!1,length:50,type:"string"})}function u(e,t){return new n.A({name:e,alias:t,domain:null,editable:!1,type:"double"})}function d(e){return c(s.servicePixelValue,e??"Service Pixel Value")}function p(e){return c(s.rawServicePixelValue,e??"Raw Service Pixel Value")}function m(){return c(s.itemPixelValue,"Item Pixel Value")}function y(e){return c(`${s.servicePixelValue}.${e}`,e)}function M(e){return u(`${s.magnitude}`,"Magnitude"+(e?` (${e})`:""))}function g(){return u(`${s.direction}`,"Direction (°)")}function h(e){return e.fields.filter((e=>"oid"!==e.type&&"value"!==e.name.toLowerCase())).map((e=>{const t=e.clone();return t.name=`${r}${e.name}`,t}))}function f(e){const t=new Set,i=new Set,r=new Map;return e.variables.forEach((({dimensions:e})=>{e.forEach((e=>{if(e.recurring)r.set(e.name,e.unit);else{const n="ISO8601"===e.unit?.trim()?t:i;n.add(e.name),e.hasRanges&&n.add(`${e.name}${a}`)}}))})),[c(s.variable,"Variable"),...[...t].map((e=>function(e,t){return new n.A({name:e,alias:t,domain:null,editable:!1,type:"date"})}(`${o}${e}`,I(e)))),...[...i].map((e=>u(`${o}${e}`,I(e)))),...[...r].map((([e,t])=>u(`${o}${e}`,w(e,t))))]}function w(e,t){return t=t?.toLowerCase(),t&&l.has(t)?l.get(t):I(e)}function I(e){const t=e.endsWith(a),i=t?e.slice(0,-4):e,n="StdTime"===i?"Standard Time":"StdZ"===i?"Standard Z":i;return t?`${n} Max`:n}function A(e,t){return t?new Date(e):e}function v(e,t,i){i?.length&&(t[s.variable]=i[0].variableName,i.forEach((({dimensionName:i,values:n})=>{if(i&&n?.length){const r=`${o}${i}`,s=e.find((({name:e})=>e===r));if(!s)return;const l="date"===s.type,c=n[0];if(Array.isArray(c)){if(t[`${o}${i}`]=A(c[0],l),null!=c[1]){const n=`${o}${i}${a}`;if(e.some((({name:e})=>e===n))){const e=A(c[1],l);t[n]=e}}}else t[`${o}${i}`]=A(c,l)}})))}function b(e,t){if(t.pixelType.startsWith("f")&&e.forEach((({format:e,fieldName:t})=>{e&&t&&/^raster\.(item|service)pixelvalue/i.test(t)&&(e.places=2)})),t.multidimensionalInfo){const i=t.multidimensionalInfo.variables.flatMap((({dimensions:e})=>e));e.forEach((({format:e,fieldName:t})=>{if(e&&t?.startsWith(o)){const n=t.slice(o.length),r=`${n}${a}`,s=i.find((({name:e})=>e===n||e===r));s?.values?.every((e=>Number.isInteger(e)))&&(e.places=0)}}))}}},73133:(e,t,i)=>{i.d(t,{j:()=>n});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:void 0})},67730:(e,t,i)=>{i.d(t,{A:()=>h});var n,r=i(90237),o=i(68197),a=i(66552),s=i(25482),l=i(90629),c=i(10107),u=(i(44208),i(53966),i(87811),i(93223)),d=i(40608),p=i(63988),m=i(30943),y=i(20061);const M=new a.J({flow_from:"flow-from",flow_to:"flow-to"});let g=n=class extends((0,p.h)(s.A)){constructor(e){super(e),this.density=.8,this.color=new o.A([255,255,255,1]),this.maxPathLength=200,this.trailWidth=1.5,this.flowSpeed=10,this.trailLength=100,this.smoothing=0,this.flowRepresentation="flow-from",this.type="flow",this.authoringInfo=null,this.legendOptions=null,this.trailCap="butt",this.background="none"}clone(){const{density:e,maxPathLength:t,trailWidth:i,flowSpeed:r,trailLength:o,smoothing:a,flowRepresentation:s,trailCap:l,background:c}=this,u=this.color.clone(),d=(this.visualVariables||[]).map((e=>e.clone())),p=this.authoringInfo?.clone(),m=this.legendOptions?.clone();return new n({density:e,color:u,maxPathLength:t,trailWidth:i,flowSpeed:r,trailLength:o,trailCap:l,background:c,smoothing:a,flowRepresentation:s,visualVariables:d,authoringInfo:p,legendOptions:m})}getSymbol(e,t){}async getSymbolAsync(e,t){}getSymbols(){return[]}};(0,r._)([(0,c.MZ)({type:Number,json:{write:!0}})],g.prototype,"density",void 0),(0,r._)([(0,c.MZ)({type:o.A,json:{write:{allowNull:!0}}})],g.prototype,"color",void 0),(0,r._)([(0,c.MZ)({type:Number,cast:l.cr,json:{write:!0}})],g.prototype,"maxPathLength",void 0),(0,r._)([(0,c.MZ)({type:Number,cast:l.cr,json:{write:!0}})],g.prototype,"trailWidth",void 0),(0,r._)([(0,c.MZ)({type:Number,json:{write:!0}})],g.prototype,"flowSpeed",void 0),(0,r._)([(0,c.MZ)({type:Number,json:{write:!0}})],g.prototype,"trailLength",void 0),(0,r._)([(0,c.MZ)({type:Number,cast:l.cr,json:{write:!1}})],g.prototype,"smoothing",void 0),(0,r._)([(0,c.MZ)({type:M.apiValues,json:{type:M.jsonValues,read:{reader:M.read},write:{writer:M.write}}})],g.prototype,"flowRepresentation",void 0),(0,r._)([(0,u.e)({flowRenderer:"flow"})],g.prototype,"type",void 0),(0,r._)([(0,c.MZ)({type:m.A,json:{write:!0}})],g.prototype,"authoringInfo",void 0),(0,r._)([(0,c.MZ)({type:y.A,json:{write:!0}})],g.prototype,"legendOptions",void 0),(0,r._)([(0,c.MZ)({type:String,json:{write:!0}})],g.prototype,"trailCap",void 0),(0,r._)([(0,c.MZ)({type:String,json:{write:!0}})],g.prototype,"background",void 0),g=n=(0,r._)([(0,d.$)("esri.renderers.FlowRenderer")],g);const h=g},80498:(e,t,i)=>{i.d(t,{A:()=>M});var n=i(90237),r=i(25482),o=i(10107),a=(i(44208),i(53966),i(87811),i(93223)),s=i(40608),l=i(68197),c=i(56507);let u=class extends r.A{constructor(){super(...arguments),this.value=null,this.label=null,this.color=null}};(0,n._)([(0,o.MZ)({type:Number,json:{write:{isRequired:!0}}})],u.prototype,"value",void 0),(0,n._)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,n._)([(0,o.MZ)({type:l.A,json:{type:[c.jz],write:{isRequired:!0}}})],u.prototype,"color",void 0),u=(0,n._)([(0,s.$)("esri.renderers.support.ColormapInfo")],u);const d=u;var p,m=i(67369);let y=p=class extends r.A{constructor(e){super(e),this.colormapInfos=null,this.type="raster-colormap"}static createFromColormap(e,t){if(!e)return null;const i=5===e[0].length,n=[...e].sort(((e,t)=>e[0]-t[0])).map((e=>d.fromJSON({value:e[0],color:i?e.slice(1,5):e.slice(1,4).concat([255]),label:t?t[e[0]]??"":e[0]})));return new p({colormapInfos:n})}static createFromColorramp(e){const t=(0,m.R8)(e);return p.createFromColormap(t)}clone(){return new p({colormapInfos:this.colormapInfos.map((e=>e.toJSON()))})}extractColormap(){return this.colormapInfos.map((({value:e,color:t})=>[e,t.r,t.g,t.b,t.a>1?t.a:255*t.a&255])).sort(((e,t)=>e[0]-t[0]))}};(0,n._)([(0,o.MZ)({type:[d],json:{write:{isRequired:!0}}})],y.prototype,"colormapInfos",void 0),(0,n._)([(0,a.e)({rasterColormap:"raster-colormap"}),(0,o.MZ)({json:{write:{isRequired:!0}}})],y.prototype,"type",void 0),y=p=(0,n._)([(0,s.$)("esri.renderers.RasterColormapRenderer")],y);const M=y},46981:(e,t,i)=>{i.d(t,{A:()=>m});var n,r=i(90237),o=i(25482),a=i(4718),s=i(10107),l=(i(44208),i(53966),i(93223)),c=i(36005),u=i(40608),d=i(95349);let p=n=class extends o.A{constructor(e){super(e),this.altitude=45,this.azimuth=315,this.colorRamp=null,this.hillshadeType="traditional",this.pixelSizePower=.664,this.pixelSizeFactor=.024,this.scalingType="none",this.type="raster-shaded-relief",this.zFactor=1}readColorRamp(e){return(0,d.r)(e)}clone(){return new n({hillshadeType:this.hillshadeType,altitude:this.altitude,azimuth:this.azimuth,zFactor:this.zFactor,scalingType:this.scalingType,pixelSizeFactor:this.pixelSizeFactor,pixelSizePower:this.pixelSizePower,colorRamp:(0,a.o8)(this.colorRamp)})}};(0,r._)([(0,s.MZ)({type:Number,json:{write:{isRequired:!0}}})],p.prototype,"altitude",void 0),(0,r._)([(0,s.MZ)({type:Number,json:{write:{isRequired:!0}}})],p.prototype,"azimuth",void 0),(0,r._)([(0,s.MZ)({types:d.g,json:{write:!0}})],p.prototype,"colorRamp",void 0),(0,r._)([(0,c.w)("colorRamp")],p.prototype,"readColorRamp",null),(0,r._)([(0,s.MZ)({type:["traditional","multi-directional"],json:{write:{isRequired:!0}}})],p.prototype,"hillshadeType",void 0),(0,r._)([(0,s.MZ)({type:Number,json:{write:!0}})],p.prototype,"pixelSizePower",void 0),(0,r._)([(0,s.MZ)({type:Number,json:{write:!0}})],p.prototype,"pixelSizeFactor",void 0),(0,r._)([(0,s.MZ)({type:["none","adjusted"],json:{write:{isRequired:!0}}})],p.prototype,"scalingType",void 0),(0,r._)([(0,l.e)({rasterShadedRelief:"raster-shaded-relief"}),(0,s.MZ)({json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,r._)([(0,s.MZ)({type:Number,json:{write:{isRequired:!0}}})],p.prototype,"zFactor",void 0),p=n=(0,r._)([(0,u.$)("esri.renderers.RasterShadedReliefRenderer")],p);const m=p},36280:(e,t,i)=>{i.d(t,{A:()=>h});var n,r=i(90237),o=i(51447),a=i(25482),s=i(4718),l=i(53966),c=i(10107),u=(i(44208),i(93223)),d=i(36005),p=i(40608),m=i(43937),y=i(70274),M=i(95349);let g=n=class extends a.A{constructor(e){super(e),this.colorRamp=null,this.computeGamma=!1,this.dynamicRangeAdjustment=!1,this.gamma=[],this.maxPercent=null,this.minPercent=null,this.numberOfStandardDeviations=null,this.outputMax=null,this.outputMin=null,this.sigmoidStrengthLevel=null,this.histograms=null,this.useGamma=!1,this.stretchType="none",this.type="raster-stretch"}readColorRamp(e){if(e)return(0,M.r)(e)}get statistics(){return this._get("statistics")}set statistics(e){(0,o.Lx)(l.A.getLogger(this),"statistics",{replacement:"customStatistics",version:"4.31",warnOnce:!0}),this._set("statistics",e)}get customStatistics(){const e=this.statistics;return e&&Array.isArray(e[0])?e.map((e=>({min:e[0],max:e[1],avg:e[2],stddev:e[3]}))):e}set customStatistics(e){this._set("statistics",e?.map((e=>[e.min,e.max,e.avg??0,e.stddev??1])))}readCustomStatistics(e){return e?.map((e=>({min:e[0],max:e[1],avg:e[2],stddev:e[3]})))}writeCustomStatistics(e,t,i){e?.length&&(t[i]=e.map((e=>[e.min,e.max,e.avg??0,e.stddev??1])))}readStretchType(e,t){let i=t.stretchType;return"number"==typeof i&&(i=y.x[i]),y.u.read(i)}clone(){const e=new n({stretchType:this.stretchType,outputMin:this.outputMin,outputMax:this.outputMax,useGamma:this.useGamma,computeGamma:this.computeGamma,gamma:(0,s.o8)(this.gamma),sigmoidStrengthLevel:this.sigmoidStrengthLevel,numberOfStandardDeviations:this.numberOfStandardDeviations,minPercent:this.minPercent,maxPercent:this.maxPercent,colorRamp:(0,s.o8)(this.colorRamp),histograms:(0,s.o8)(this.histograms),dynamicRangeAdjustment:this.dynamicRangeAdjustment});return e._set("statistics",(0,s.o8)(this.statistics)),e}};(0,r._)([(0,c.MZ)({types:M.g,json:{write:!0}})],g.prototype,"colorRamp",void 0),(0,r._)([(0,d.w)("colorRamp")],g.prototype,"readColorRamp",null),(0,r._)([(0,c.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"computeGamma",void 0),(0,r._)([(0,c.MZ)({type:Boolean,json:{write:{target:"dra"},read:{source:"dra"}}})],g.prototype,"dynamicRangeAdjustment",void 0),(0,r._)([(0,c.MZ)({type:[Number],json:{write:!0}})],g.prototype,"gamma",void 0),(0,r._)([(0,c.MZ)({type:Number,json:{write:!0}})],g.prototype,"maxPercent",void 0),(0,r._)([(0,c.MZ)({type:Number,json:{write:!0}})],g.prototype,"minPercent",void 0),(0,r._)([(0,c.MZ)({type:Number,json:{write:!0}})],g.prototype,"numberOfStandardDeviations",void 0),(0,r._)([(0,c.MZ)({type:Number,json:{read:{source:"max"},write:{target:"max"}}})],g.prototype,"outputMax",void 0),(0,r._)([(0,c.MZ)({type:Number,json:{read:{source:"min"},write:{target:"min"}}})],g.prototype,"outputMin",void 0),(0,r._)([(0,c.MZ)({type:Number,json:{write:!0}})],g.prototype,"sigmoidStrengthLevel",void 0),(0,r._)([(0,c.MZ)({})],g.prototype,"statistics",null),(0,r._)([(0,c.MZ)()],g.prototype,"histograms",void 0),(0,r._)([(0,c.MZ)({json:{type:[[Number]],name:"statistics",write:!0}})],g.prototype,"customStatistics",null),(0,r._)([(0,d.w)("customStatistics")],g.prototype,"readCustomStatistics",null),(0,r._)([(0,m.K)("customStatistics")],g.prototype,"writeCustomStatistics",null),(0,r._)([(0,c.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"useGamma",void 0),(0,r._)([(0,c.MZ)({type:y.u.apiValues,json:{type:y.u.jsonValues,write:y.u.write}})],g.prototype,"stretchType",void 0),(0,r._)([(0,d.w)("stretchType",["stretchType"])],g.prototype,"readStretchType",null),(0,r._)([(0,u.e)({rasterStretch:"raster-stretch"})],g.prototype,"type",void 0),g=n=(0,r._)([(0,p.$)("esri.renderers.RasterStretchRenderer")],g);const h=g},18031:(e,t,i)=>{i.d(t,{A:()=>L});var n,r=i(90237),o=i(68197),a=i(52106),s=i(66552),l=i(25482),c=i(4718),u=i(10107),d=(i(44208),i(53966),i(93223)),p=i(36005),m=i(40608),y=i(86738),M=i(17136),g=i(14636),h=i(86162),f=i(63988),w=i(88542),I=i(23461),A=i(48940),v=i(29266),b=i(58592),D=i(31593),S=i(53930),T=i(37531);const j=new Set(["esriMetersPerSecond","esriKilometersPerHour","esriKnots","esriFeetPerSecond","esriMilesPerHour"]),C=new s.J({beaufort_ft:"beaufort-ft",beaufort_km:"beaufort-km",beaufort_kn:"beaufort-kn",beaufort_m:"beaufort-m",beaufort_mi:"beaufort-mi",classified_arrow:"classified-arrow",ocean_current_kn:"ocean-current-kn",ocean_current_m:"ocean-current-m",simple_scalar:"simple-scalar",single_arrow:"single-arrow",wind_speed:"wind-barb"}),N=new s.J({flow_from:"flow-from",flow_to:"flow-to"});let x=n=class extends((0,f.h)(l.A)){constructor(e){super(e),this.attributeField="Magnitude",this.flowRepresentation="flow-from",this.rotationType="arithmetic",this.style="single-arrow",this.symbolTileSize=50,this.type="vector-field"}readInputUnit(e,t){return j.has(e)?g.MD.fromJSON(e):null}readOutputUnit(e,t){return j.has(e)?g.MD.fromJSON(e):null}get styleRenderer(){const e=this.style,t=this.attributeField,i=this._createStyleRenderer(e);return i.field=t,i}get sizeVariables(){const e=[];if(this.visualVariables)for(const t of this.visualVariables)"size"===t.type&&e.push(t);if(0===e.length){const t=new A.A({field:"Magnitude",minSize:.2*this.symbolTileSize,maxSize:.8*this.symbolTileSize});this.visualVariables?this.visualVariables.push(t):this._set("visualVariables",[t]),e.push(t)}return e}get rotationVariables(){const e=[];if(this.visualVariables)for(const t of this.visualVariables)"rotation"===t.type&&e.push(t);if(0===e.length){const t=new I.A({field:"Direction",rotationType:this.rotationType});this.visualVariables?this.visualVariables.push(t):this._set("visualVariables",[t]),e.push(t)}return e}clone(){return new n({attributeField:this.attributeField,flowRepresentation:this.flowRepresentation,rotationType:this.rotationType,symbolTileSize:this.symbolTileSize,style:this.style,visualVariables:(0,c.o8)(this.visualVariables),inputUnit:this.inputUnit,outputUnit:this.outputUnit})}async getGraphicsFromPixelData(e,t=!1,i=[]){const n=new Array,r=(0,g.KL)(this.inputUnit,this.outputUnit),o=this.rotationVariables[0]?.rotationType||this.rotationType,s=t?(0,g.FI)(e.pixelBlock,"vector-uv",o,r):(0,g.Rn)(e.pixelBlock,"vector-magdir",r);if(null==s)return n;const l=e.extent,c=null!=s.mask&&s.mask.length>0;let u=0;const d=(l.xmax-l.xmin)/s.width,p=(l.ymax-l.ymin)/s.height;for(let e=0;e<s.height;e++)for(let t=0;t<s.width;t++,u++){let r=new y.A({x:l.xmin+t*d+d/2,y:l.ymax-e*p-p/2,spatialReference:l.spatialReference});r=(await(0,M.el)(r))[0];const o=i.some((e=>e.intersects(r)));if((!c||s.mask[u])&&!o){const e={Magnitude:s.pixels[0][u],Direction:s.pixels[1][u]},t=new a.A({geometry:new y.A({x:r.x,y:r.y,spatialReference:l.spatialReference}),attributes:e});t.symbol=this._getVisualVariablesAppliedSymbol(t),n.push(t)}}return n}getSymbol(e,t){}async getSymbolAsync(e,t){}getSymbols(){return[]}getClassBreakInfos(){return this.styleRenderer?.classBreakInfos}getDefaultSymbol(){return this.styleRenderer?.defaultSymbol}_getDefaultSymbol(e){return new S.A({path:"M14,32 14,18 9,23 16,3 22,23 17,18 17,32 z",outline:new D.A({width:0}),size:20,color:e||new o.A([0,92,230])})}_getVisualVariablesAppliedSymbol(e){if(!e)return;const t=this.styleRenderer?.getSymbol(e)?.clone(),i=this.sizeVariables,n=this.rotationVariables;if(i&&i.length&&this.sizeVariables.forEach((i=>(0,T.UQ)(t,(0,v.Yz)([i],e)))),n&&n.length){const i="flow-to"===this.flowRepresentation==("ocean-current-kn"===this.style||"ocean-current-m"===this.style)?0:180;e.attributes.Direction=e.attributes.Direction+i,this.rotationVariables.forEach((i=>(0,T.GG)(t,(0,v.UT)(i,e),i.axis)))}return t}_createStyleRenderer(e){let t={defaultSymbol:this._getDefaultSymbol(),classBreakInfos:[]};switch(e){case"single-arrow":t=this._createSingleArrowRenderer();break;case"beaufort-kn":t=this._createBeaufortKnotsRenderer();break;case"beaufort-m":t=this._createBeaufortMeterRenderer();break;case"beaufort-ft":t=this._createBeaufortFeetRenderer();break;case"beaufort-mi":t=this._createBeaufortMilesRenderer();break;case"beaufort-km":t=this._createBeaufortKilometersRenderer();break;case"ocean-current-m":t=this._createCurrentMeterRenderer();break;case"ocean-current-kn":t=this._createCurrentKnotsRenderer();break;case"simple-scalar":t=this._createSimpleScalarRenderer();break;case"wind-barb":t=this._createWindBarbsRenderer();break;case"classified-arrow":t=this._createClassifiedArrowRenderer()}return new h.A(t)}_createSingleArrowRenderer(){return{defaultSymbol:this._getDefaultSymbol()}}_createBeaufortKnotsRenderer(){return{defaultSymbol:this._getDefaultSymbol(new o.A([214,47,39])),classBreakInfos:this._getClassBreaks([0,1,3,6,10,16,21,27,33,40,47,55,63],[[40,146,199],[89,162,186],[129,179,171],[160,194,155],[191,212,138],[218,230,119],[250,250,100],[252,213,83],[252,179,102],[250,141,52],[247,110,42],[240,71,29]])}}_createBeaufortMeterRenderer(){return{defaultSymbol:this._getDefaultSymbol(new o.A([214,47,39])),classBreakInfos:this._getClassBreaks([0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7],[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createBeaufortFeetRenderer(){const e=this._getDefaultSymbol(new o.A([214,47,39]));let t=[0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7];return t=t.map((e=>3.28084*e)),{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createBeaufortMilesRenderer(){const e=this._getDefaultSymbol(new o.A([214,47,39]));let t=[0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7];return t=t.map((e=>2.23694*e)),{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createBeaufortKilometersRenderer(){const e=this._getDefaultSymbol(new o.A([214,47,39]));let t=[0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7];return t=t.map((e=>3.6*e)),{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createCurrentMeterRenderer(){return{defaultSymbol:this._getDefaultSymbol(new o.A([177,177,177])),classBreakInfos:this._getClassBreaks([0,.5,1,1.5,2],[[78,26,153],[179,27,26],[202,128,26],[177,177,177]])}}_createCurrentKnotsRenderer(){return{defaultSymbol:this._getDefaultSymbol(new o.A([177,177,177])),classBreakInfos:this._getClassBreaks([0,.25,.5,1,1.5,2,2.5,3,3.5,4],[[0,0,0],[0,37,100],[78,26,153],[151,0,100],[179,27,26],[177,78,26],[202,128,26],[177,179,52],[177,177,177]])}}_createClassifiedArrowRenderer(){const e=this._getDefaultSymbol(new o.A([56,168,0]));let t=[0,1e-6,3.5,7,10.5,14];if(this.sizeVariables?.length){const e=this.sizeVariables[0].minDataValue,i=this.sizeVariables[0].maxDataValue;if(e&&i){const n=(i-e)/5;t=Array.from(Array(6).keys()).map((t=>e+n*t))}}return{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[56,168,0],[139,309,0],[255,255,0],[255,128,0],[255,0,0]])}}_createSimpleScalarRenderer(){return{defaultSymbol:b.A.fromJSON({imageData:"iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAQAAABLVLlLAAAABGdBTUEAAYagMeiWXwAAAAJiS0dEAACqjSMyAAAACXBIWXMAAABIAAAASABGyWs+AAAC3ElEQVRIx9XXvW4cVRQH8N982btpsIREJECyiCXsxX4DKh6AliqGKCBBE2SlwlHgAbBD/AKmyEYUeQ1KahPZSZQvBCkQLTHZ7KGY8Xodz4w3a1NwbzVzz/znfJ//zbStVC5q3icKak9GAs2QIdDx3PtW/S011NW3p+M5Eomh11ipTIKe6+4LQzHaQ+G+63pIZNJJQXMpljwTwj1brpgx5w1zZlyx5Z4QnllEIm2xeeSUHBf0hV0bejo1Uh09G3aFvgXk7cCJFBc9EdaRVuHJJaOdKyTV2TVhYLMduNR0Q9gxL5GaaTDw8GzejrDRBpxWoGsySRW0dttKuattwNkIlFw2YXgzOdYq4Ox49PlM+JrKd5OusjTWhBuVxUfMX/KXXZ3WEmkuqa67wspR4BTbwtKr/5u4fFgStse/T7EifFPnnYl9zPq4vmUOPrRndgoHjDti1gOPqlyXoifcRNGQzUd31lDyfHmob1Gp35vSr+P6vilcQ5Egtyd8YF/ySg9NhPM+9M/IOaHwp5+PSZayXTvCogEUwlatC3J8LLwYtcWB8EuDXQVuCkV5/B4eNHb7wGBs87LBDS+xjdVSn09wq1G8dFM+9tSUhIGneLvUdniKxKpTYljCpu3j7rVWlHj/P23v4NPGUEyeCQnexe9lJjzEQqMjJs+EzNAX6B98dBZVRmroJx95x/A/6gln18EyfCUsl+qdXb/tjvfbw+mwforpUOBz4XLVoBwAn3aWnfeH246NyBXhrq7TTN5lNSP9RkU+puUJm3W2Tsdq0nZWM07srk7MwQrZSRysjjGWBLRJNsNbfj2JMR4AbxpU1XLAb9Mxfpsq5EjMuuiR8L0JiHOOBX3hiUvOmavN0nMueSzcceFk0BK4pMqLo7vDD1Z0qrtDx7Itt4Xwm9UqbMmk8S0Dtuzb2pvOU99Z1nLTOfleNmvfZfP2pYZmPfajwosKdDBNpacNpVGGsWX9CyDI8Xq/Sj6QAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE0LTExLTEwVDAzOjE3OjU4LTA1OjAwF+tHyQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNC0xMS0xMFQwMzoxNzo1OC0wNTowMGa2/3UAAAAASUVORK5CYII=",height:20,width:20,type:"esriPMS",angle:0})}}_createWindBarbsRenderer(){const e=Array.from(Array(31).keys()).map((e=>5*e)),t=[{range:"0-5",path:"M20 20 M5 20 A15 15 0 1 0 35 20 A15 15 0 1 0 5 20 M20 20 M10 20 A10 10 0 1 0 30 20 A10 10 0 1 0 10 20",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTIwIDIwIE01IDIwIEExNSAxNSAwIDEgMCAzNSAyMCBBMTUgMTUgMCAxIDAgNSAyMCBNMjAgMjAgTTEwIDIwIEExMCAxMCAwIDEgMCAzMCAyMCBBMTAgMTAgMCAxIDAgMTAgMjAiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"5-10",path:"M25 0 L25 40 M25 35 L17.5 37.5",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNyA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTTI1IDM1IEwxNy41IDM3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"10-15",path:"M25 0 L25 40 L10 45 L25 40",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNyA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"15-20",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L17.5 37.5",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjEyIDAgMTUgNDUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxNy41IDM3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"20-25",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNiA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCBNMjUgMzUgTDEwIDQwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"25-30",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L17.5 32.5",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNiA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCBNMjUgMzUgTDEwIDQwIEwyNSAzNSBNMjUgMzAgTDE3LjUgMzIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"30-35",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"35-40",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L17.5 27.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxNy41IDI3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"40-45",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"45-50",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L17.5 22.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxNy41IDIyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"50-55",path:"M25 0 L25 40 L10 40 L25 35",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"55-60",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L17.5 32.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxNy41IDMyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"60-65",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"65-70",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L17.5 27.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxNy41IDI3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"70-75",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"75-80",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L17.5 22.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxNy41IDIyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"80-85",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"85-90",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L17.5 17.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxNy41IDE3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"90-95",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L10 20",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxMCAyMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"95-100",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L10 20 L25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxMCAyMCBMMjUgMTUgTTI1IDEwIEwxNy41IDEyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"100-105",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"105-110",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L17.5 27.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDE3LjUgMjcuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"110-115",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"115-120",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L17.5 22.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDE3LjUgMjIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"120-125",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"125-130",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L17.5 17.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDE3LjUgMTcuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"130-135",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"135-140",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDE3LjUgMTIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"140-145",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDEwIDE1IiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"145-150",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDEwIDE1IE0yNSAxMCBNMjUgNSBMMTcuNSA3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="}],i=b.A.fromJSON({imageData:"iVBORw0KGgoAAAANSUhEUgAAACgAAAApCAQAAADtq6NDAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAJiS0dEAP+Hj8y/AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAEY0lEQVRIx5XXWWxWRRQH8N+d+31tUdGAVjGglYJABFEBY91jfDAg7piYaFTccA++uMQEFRcSXlATtxiXqMQt4G4iisYl0ai4sIQYtVFZ1KIFKdTS0l4f7vRCS5fPebozc+bM/2z/Mzcx0AgSiUxXnKfIdMn875FIhX53U2n/B/s+kKM4UINTjTBZImixxnrv+9a2iL6zEoUBXcoudrWj/OtHm3wt02lfU9Qao9OnHvIhgmww84MEl1qnxfNmGrqHxAizLdPpC6chGcAxKGGcL+30gOERf1BSpUqVslQSV8d5ReZFe8VQ9avufJn31cWwlJV7iafKStGOE/1qvfH9qUxxu8ydUdmuSKbGO8YUdT2inKLG69pM70tliktl5qIkCAJGmusDG7Vqsc0WjZa4UBlBiA5YZIcjYzB7qDtH5kaUJFLs7RGZTZ42W4PRRmtwvbdt1+wGiaS4drEtDttdZYIDNVuAclR3vA3+dI3qHqmVSy7U6Tv1MScCPvPR7nIpFlsdCy3FdTLPGhK92e2CUITjMJ9ocwKxnsZqc3O3JwMma3d6UVLnyVxB4aXemZqvPqLdpJhW3KVVbY4yYImPo6M5Urv50fj+0z/FG9YaEiENs8UtMfXUaTeTePNHlhXfA1UU+2lyD1Il3Gtt9+adfpNG7dNlpg2U/T3KYLZ2dUWFdTgp3/rQ4sK973qnInV5TIf40x3dhvrJPBiqyWUo4wAtLqhQYS71qK+QKOFRywmGK/kpikzV6WMKhh58vGWs4TIJNjiEYLIuP8Tt4/zmLyqk+AyrJSbF+Qq1DgqRUPMxyl+9q3IQhX/rMCJ6tEunriDs1oSyQZKlr9AkhT2ZIARbJfaJS1vtVbHB+Rgi0RK/y1q1BWsEEyLoz40xtGKcARPVWB1BTPO7f4LNtpkUl1aoMbViLyZo0GRjPD3BxnxjqXeLYlvhqYrzMMG3HoyJXa3JjfnGlbYYFlP7Jh3qKsKY4hQ7TY0nG+xwRL61n63mxHtqNHosigyMLmClNwvuecFnOZB88nNBDzNkzhxEZaKMBVoKapggMzvHHXBEpNSSFAvtcFRsVn0bW8LlMmcXs+c0Kne3gRR32+zg4uXwjC6zit6Wt4a8LXVfcp/MtQXHn2ynGbuCmb8GvvFeJLEE82ReU9/n6+dkq2x3buG9Wn94smcgAw631RPR7BTH+kbmHReZoEpOdEe7zWqZl40s0JWs9Hmv7hjBHqPDwsjGKVJnWWqjbdZp1KhJi0aPmxYZsIRhlttgeF+Jlke41QcOQKoqilSb6HJzSvNG3G/UoWnxwsmt+sVaYwd63dRbqdnMyCPVeyRPvpYgdavM22oGKoMUVRbJfOWMwidJ8Zzb1UvmWK/VVUXzHaTjjrVYh1897HT7xxYEVUaa5SWb/WO+YUWa9SrwvigzM8YlzlYv2GSdVCYxxlBtVnnFq5olwp5/BEk/OLsf5LUmG2+inRJdVvjZ97ZH9/zP34ug1O91pf4p+D+JYBpvrKxfbwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNC0xMS0xMFQwMzoxMjowOS0wNTowMB9ViV0AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTQtMTEtMTBUMDM6MTI6MDktMDU6MDBuCDHhAAAAAElFTkSuQmCC",height:20,width:20,type:"esriPMS",angle:0}),n=e.map(((n,r)=>{let o;if(r!==e.length-1)if(0===r)o={minValue:n,maxValue:e[r+1],symbol:i};else{const i=b.A.fromJSON({type:"esriPMS",imageData:t[r].imageData,contentType:"image/svg+xml",height:32,width:32,angle:0});o={minValue:n,maxValue:e[r+1],symbol:i}}return new w.A(o)}));return{defaultSymbol:i,classBreakInfos:n}}_getClassBreaks(e,t){return t.map(((t,i)=>new w.A({minValue:e[i],maxValue:e[i+1],symbol:this._getDefaultSymbol(new o.A(t))})))}};(0,r._)([(0,u.MZ)({type:["Magnitude"],json:{write:!0}})],x.prototype,"attributeField",void 0),(0,r._)([(0,u.MZ)({type:N.apiValues,json:{type:N.jsonValues,read:{reader:N.read},write:{writer:N.write}}})],x.prototype,"flowRepresentation",void 0),(0,r._)([(0,u.MZ)({type:["geographic","arithmetic"],json:{write:!0}})],x.prototype,"rotationType",void 0),(0,r._)([(0,u.MZ)({type:C.apiValues,json:{type:C.jsonValues,read:{reader:C.read},write:{writer:C.write}}})],x.prototype,"style",void 0),(0,r._)([(0,u.MZ)({json:{write:!0}})],x.prototype,"symbolTileSize",void 0),(0,r._)([(0,u.MZ)({type:g.MD.apiValues,json:{type:g.MD.jsonValues,write:{writer:g.MD.write}}})],x.prototype,"inputUnit",void 0),(0,r._)([(0,p.w)("inputUnit")],x.prototype,"readInputUnit",null),(0,r._)([(0,u.MZ)({type:g.MD.apiValues,json:{type:g.MD.jsonValues,read:{reader:g.MD.read},write:{writer:g.MD.write}}})],x.prototype,"outputUnit",void 0),(0,r._)([(0,p.w)("outputUnit")],x.prototype,"readOutputUnit",null),(0,r._)([(0,d.e)({vectorField:"vector-field"})],x.prototype,"type",void 0),(0,r._)([(0,u.MZ)({type:h.A})],x.prototype,"styleRenderer",null),(0,r._)([(0,u.MZ)({type:A.A})],x.prototype,"sizeVariables",null),(0,r._)([(0,u.MZ)({type:I.A})],x.prototype,"rotationVariables",null),x=n=(0,r._)([(0,m.$)("esri.renderers.VectorFieldRenderer")],x);const L=x},12711:(e,t,i)=>{i.d(t,{$P:()=>Z,I8:()=>I,Mm:()=>b,PD:()=>A,ci:()=>j,fp:()=>v,m7:()=>T,w6:()=>D});var n=i(68197),r=(i(83047),i(20437)),o=(i(86162),i(67730),i(80498)),a=(i(46981),i(36280)),s=i(93618),l=i(18031),c=i(30943),u=(i(88542),i(67369)),d=i(88178),p=i(94833),m=(i(2024),i(48940)),y=(i(72500),i(9760),i(84892),i(1626)),M=i(94985);const g=.25,h=y.A.fromJSON({type:"multipart",colorRamps:[{fromColor:[0,0,255],toColor:[0,255,255]},{fromColor:[0,255,255],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[255,0,0]}]}),f=y.A.fromJSON(u.vj[0]),w=new Set(["scientific","standard-time","vector-uv","vector-magdir","vector-u","vector-v","vector-magnitude","vector-direction"]);function I(e){return e.presetRenderers?.find((({method:t,value:i})=>"raster-function-template"===t?i===e.rasterFunctionName:"variable"===t&&i===e.variableName))}function A(e,t){const{attributeTable:i,colormap:r}=e;if((0,d.rd)(e)){const t=function(e){if(!(0,d.rd)(e))return null;let t;if(null!=e.statistics&&e.statistics.length&&("vector-magdir"===e.dataType||"vector-uv"===e.dataType)){const{minMagnitude:i,maxMagnitude:n}=function(e,t){let i,n;if("vector-magdir"===e)i=t[0].min,n=t[0].max;else{const e=t[0].min,r=t[0].max,o=t[1].min,a=t[1].max;i=0,n=Math.max(Math.abs(e),Math.abs(o),Math.abs(r),Math.abs(a))}return{minMagnitude:i,maxMagnitude:n}}(e.dataType,e.statistics);t=[new m.A({field:"Magnitude",minSize:10,maxSize:40,minDataValue:i,maxDataValue:n})]}const i=null!=e.multidimensionalInfo?x.get(e.multidimensionalInfo.variables[0].unit):void 0,n=new l.A({visualVariables:t,inputUnit:i,rotationType:"geographic"});return n.visualVariables=[...n.sizeVariables,...n.rotationVariables],n}(e);if(null!=t)return t}if(t?.rasterFunctionColorRamp){const i=S(e,t);return i.colorRamp=t.rasterFunctionColorRamp,i}if(null!=r){const t=function(e){if(!(0,d.FA)(e))return null;let t;const{attributeTable:i,colormap:n}=e;if(null!=i){const e=N(i,"value"),n=C(i,null,!0);"string"===n.type&&(t={},i.features.forEach((i=>{const r=i.attributes;t[r[e.name]]=n?r[n.name]:r[e.name]})))}return o.A.createFromColormap(n,t)}(e);if(null!=t)return t}if(null!=i){const t=function(e,t){if(!(0,d.hu)(e,t))return null;const{attributeTable:i,statistics:r}=e,o=C(i,t),a=N(i,"red"),l=N(i,"green"),m=N(i,"blue"),y=new c.A,g=[],h=new Set,w=!!(a&&l&&m);if(null!=i)i.features.forEach((e=>{const t=e.attributes[o.name];if(!h.has(e.attributes[o.name])&&null!=t){h.add(t);const r=w&&("single"===a.type||"double"===a.type)&&("single"===l.type||"double"===l.type)&&("single"===m.type||"double"===m.type)&&!i.features.some((e=>e.attributes[a.name]>1||e.attributes[l.name]>1||e.attributes[m.name]>1)),s=r?255:1;g.push(new p.A({value:e.attributes[o.name],label:e.attributes[o.name]+"",symbol:new M.A({style:"solid",outline:null,color:new n.A(w?[e.attributes[a.name]*s,e.attributes[l.name]*s,e.attributes[m.name]*s,1]:[0,0,0,0])})}))}}));else if(r?.[0])for(let e=r[0].min;e<=r[0].max;e++)g.push(new p.A({value:e,label:e.toString(),symbol:new M.A({style:"solid",outline:null,color:new n.A([0,0,0,0])})}));if(g.sort(((e,t)=>e.value&&"string"==typeof e.value.valueOf()?0:e.value>t.value?1:-1)),!w){const e=(0,u.R8)(f,{numColors:g.length});g.forEach(((t,i)=>t.symbol.color=new n.A(e[i].slice(1,4)))),y.colorRamp=f}return new s.A({field:o.name,uniqueValueInfos:g,authoringInfo:y})}(e);if(null!=t)return t}return S(e,t)}function v(e,t=!1){const i=["raster-stretch"];return(0,d.FA)(e,t)&&i.push("raster-colormap"),(0,d.hu)(e)&&i.push("unique-value"),(0,d.xX)(e,t)&&i.push("class-breaks"),(0,d.iL)(e)&&i.push("raster-shaded-relief"),(0,d.rd)(e)&&i.push("vector-field"),(0,d.QJ)(e)&&i.push("flow"),i}function b(e){return"Function"===e.datasetFormat&&"Colormap"===e.rasterFunction.functionName?e.rasterFunction.colorRamp:void 0}function D(e,t,i){const n=i?.toLowerCase().replace("bicubic","cubic"),r=["nearest","bilinear","cubic","majority"].find((e=>e===n));return"Map"===t?r??"bilinear":"standard-time"===e.dataType?r??"nearest":"thematic"===e.dataType||e.attributeTable||e.colormap?"nearest"===r||"majority"===r?r:"nearest":r??"bilinear"}function S(e,t){e=T(e,t?.variableName);const{bandCount:i}=e;let{bandIds:n,stretchType:r}=t||{};n?.some((e=>e>=i))&&(n=null);let o=e.statistics,s=e.histograms;i>1?(n=n?.length?n:j(e),o=null==o?null:n?.map((e=>o[e])),s=null==s?null:n?.map((e=>s[e]))):n=[0],null==r&&(r=function(e){let t="percent-clip";const{pixelType:i,dataType:n,histograms:r,statistics:o,multidimensionalInfo:a}=e,s=w.has(n)||"generic"===n&&null!=a;return"u8"!==i||"processed"!==n&&null!=r&&null!=o?"u8"===i||"elevation"===n||s?t="min-max":null!=r?t="percent-clip":null!=o&&(t="min-max"):t="none",t}(e)),t?.includeStatisticsInStretch&&("percent-clip"===r||"histogram-equalization"===r)&&e.statistics?.length&&(r="min-max");let l=!1;switch(r){case"none":l=!1;break;case"percent-clip":l=!s?.length;break;default:l=!o?.length}const{dataType:c}=e,u=1===n?.length&&w.has(c)?h:null,d=new a.A({stretchType:r,dynamicRangeAdjustment:l,colorRamp:u,outputMin:0,outputMax:255,gamma:1===n?.length?[1]:[1,1,1],useGamma:!1});return"percent-clip"===r?d.maxPercent=d.minPercent=g:"standard-deviation"===r&&(d.numberOfStandardDeviations=2),l||null==e.multidimensionalInfo&&!t?.includeStatisticsInStretch||("percent-clip"===r?d.histograms=s:"min-max"!==r&&"standard-deviation"!==r||(d.statistics=o)),d}function T(e,t){const{multidimensionalInfo:i}=e;if(!t||!i)return e;const n=i.variables.find((e=>e.name===t));if(!n)return e;if(e=e.clone(),n){const{statistics:t,histograms:i}=n;t?.length&&(e.statistics=t.map((e=>({min:e.min,max:e.max,avg:e.avg,stddev:e.stddev})))),i?.length&&(e.histograms=i)}return e}function j(e){const t=e.bandCount;if(1===t)return null;if(2===t)return[0];const{bandInfos:i}=e;let n;if(i.length===t){const{red:e,green:t,blue:r,nir:o}=function(e){const t={};for(let i=0;i<e.length;i++){const n=e[i],r=n.name.toLowerCase();if("red"===r)t.red=i;else if("green"===r)t.green=i;else if("blue"===r)t.blue=i;else if("nearinfrared"===r||"nearinfrared_1"===r||"nir"===r)t.nir=i;else if(n.maxWavelength&&n.minWavelength){const e=n.minWavelength,r=n.maxWavelength;null==t.blue&&e>=410&&e<=480&&r>=480&&r<=540?t.blue=i:null==t.green&&e>=490&&e<=560&&r>=560&&r<=610?t.green=i:null==t.red&&e>=595&&e<=670&&r>=660&&r<=730?t.red=i:null==t.nir&&e>=700&&e<=860&&r>=800&&r<=950&&(t.nir=i)}}return t}(i);null!=e&&null!=t&&null!=r?n=[e,t,r]:null!=o&&null!=e&&null!=t&&(n=[o,e,t])}return!n&&t>=3&&(n=[0,1,2]),n}function C(e,t,i){let n;return null!=e?(n=t?e.fields.find((e=>t.toLowerCase()===e.name.toLowerCase())):function(e){let t;for(let i=0;i<e.length;i++){const n=e[i].name.toLowerCase();if("string"===e[i].type){if(n.startsWith("class")){t=e[i];break}null==t&&(n.endsWith("name")||n.endsWith("type"))&&(t=e[i])}}return t}(e.fields),n||(i||(n=e.fields.find((e=>"string"===e.type))),n||(n=N(e,"value")))):n=new r.A({name:"value"}),n}function N(e,t){return null==e?null:e.fields.find((e=>e.name.toLowerCase()===t))}const x=new Map([["m/s","meter-per-second"],["km/h","kilometer-per-hour"],["knots","knots"],["ft/s","feet-per-second"],["mph","mile-per-hour"]]);function L(e){return{color:e.symbolLayers[0].material?.color,type:"esriSFS",style:"esriSFSSolid"}}function Z(e){if("uniqueValue"===e.type){const t=e.uniqueValueInfos,i=t?.[0].symbol;return i?.symbolLayers?.length&&(e.uniqueValueInfos=t?.map((e=>({value:e.value,label:e.label,symbol:e.symbol?L(e.symbol):null})))),e}if("classBreaks"===e.type){const t=e.classBreakInfos,i=t[0].symbol;return i?.symbolLayers?.length&&(e.classBreakInfos=t.map((e=>({classMinValue:e.classMinValue,classMaxValue:e.classMaxValue,label:e.label,symbol:e.symbol?L(e.symbol):null})))),e}return e}},94359:(e,t,i)=>{i.d(t,{Gj:()=>p,LF:()=>y,uy:()=>d});var n=i(67076),r=i(86162),o=i(67730),a=i(80498),s=i(46981),l=i(36280),c=i(93618),u=i(18031);const d={key:"type",base:null,typeMap:{"unique-value":c.A,"class-breaks":r.A,"raster-colormap":a.A,"raster-stretch":l.A,"vector-field":u.A,"raster-shaded-relief":s.A,flow:o.A}},p={...d,typeMap:{...d.typeMap}};delete p.typeMap["vector-field"],delete p.typeMap.flow;const m={uniqueValue:c.A,classBreaks:r.A,rasterStretch:l.A,rasterColormap:a.A,vectorField:u.A,rasterShadedRelief:s.A,flowRenderer:o.A};function y(e,t){if(!e)return null;if("classBreaks"===e.type&&e.classificationMethod){const t=e.authoringInfo||{classificationMethod:""};t.classificationMethod=e.classificationMethod,e.authoringInfo=t}"vectorField"===e.type&&e.visualVariables&&!Array.isArray(e.visualVariables)&&(e.visualVariables=[e.visualVariables]);const i=(r=e)&&m[r.type]||null;var r;if(i){const n=new i;return n.read(e,t),n}return t?.messages&&e&&t.messages.push(new n.A("renderer:unsupported","Renderers of type '"+(e.type||"unknown")+"' are not supported",{definition:e,context:t})),null}},92300:(e,t,i)=>{i.d(t,{V:()=>o,X:()=>r});var n=i(65864);function r(e){return{geometryType:(0,n.$B)(e[0]),geometries:e.map((e=>e.toJSON()))}}function o(e,t,i){const r=(0,n.xD)(t);return e.map((e=>{const t=r.fromJSON(e);return t.spatialReference=i,t}))}},22671:(e,t,i)=>{i.d(t,{A:()=>w});var n,r=i(90237),o=i(52106),a=i(66552),s=i(25482),l=i(4718),c=i(10107),u=(i(44208),i(53966),i(36005)),d=i(40608),p=i(43937),m=i(16930),y=i(65864),M=i(50498),g=i(20437);const h=new a.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let f=n=class extends s.A{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,o.A)}writeGeometryType(e,t,i,n){if(e)return void h.write(e,t,i,n);const{features:r}=this;if(r)for(const e of r)if(null!=e?.geometry)return void h.write(e.geometry.type,t,i,n)}readQueryGeometry(e,t){if(!e)return null;const i=!!e.spatialReference,n=(0,y.rS)(e);return n&&!i&&t.spatialReference&&(n.spatialReference=m.A.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:i}=this;if(i)for(const e of i)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,l.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let i=0;i<t.features.length;i++){const n=t.features[i];if(n.geometry){const t=e?.[i];n.geometry=t?.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,i],translate:[n,r]}=e,o=this.features,a=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-n)/t)),(e=>Math.round((r-e)/i)));for(let e=0,t=o.length;e<t;e++)a?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:i}=this;if(!i)return this;const{translate:[n,r],scale:[o,a]}=i;let s=null,l=null;if(this.hasZ&&null!=i?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=i;s=i=>i*t+e}if(this.hasM&&null!=i?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=i;l=i=>null==i?i:i*t+e}const c=this._getHydrationFunction(e,(e=>e*o+n),(e=>r-e*a),s,l);for(const{geometry:e}of t)null!=e&&c&&c(e);return this.transform=null,this}readFeaturesWithClass(e,t,i){const n=m.A.fromJSON(t.spatialReference),r=[];for(let t=0;t<e.length;t++){const o=e[t],a=i.fromJSON(o),s=o.geometry?.spatialReference;null==a.geometry||s||(a.geometry.spatialReference=n);const l=o.aggregateGeometries,c=a.aggregateGeometries;if(l&&null!=c)for(const e in c){const t=c[e],i=l[e],r=i?.spatialReference;null==t||r||(t.spatialReference=n)}r.push(a)}return r}_quantizePoints(e,t,i){let n,r;const o=[];for(let a=0,s=e.length;a<s;a++){const s=e[a];if(a>0){const e=t(s[0]),a=i(s[1]);e===n&&a===r||(o.push([e-n,a-r]),n=e,r=a)}else n=t(s[0]),r=i(s[1]),o.push([n,r])}return o.length>0?o:null}_getQuantizationFunction(e,t,i){return"point"===e?e=>(e.x=t(e.x),e.y=i(e.y),e):"polyline"===e||"polygon"===e?e=>{const n=(0,y.Bi)(e)?e.rings:e.paths,r=[];for(let e=0,o=n.length;e<o;e++){const o=n[e],a=this._quantizePoints(o,t,i);a&&r.push(a)}return r.length>0?((0,y.Bi)(e)?e.rings=r:e.paths=r,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,i);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,i,n,r){return"point"===e?e=>{e.x=t(e.x),e.y=i(e.y),n&&(e.z=n(e.z))}:"polyline"===e||"polygon"===e?e=>{const o=(0,y.Bi)(e)?e.rings:e.paths;let a,s;for(let e=0,n=o.length;e<n;e++){const n=o[e];for(let e=0,r=n.length;e<r;e++){const r=n[e];e>0?(a+=r[0],s+=r[1]):(a=r[0],s=r[1]),r[0]=t(a),r[1]=i(s)}}if(n&&r)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=n(i[2]),i[3]=r(i[3])}}else if(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=n(i[2])}}else if(r)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=i(e.ymin),e.xmax=t(e.xmax),e.ymax=i(e.ymax),n&&null!=e.zmax&&null!=e.zmin&&(e.zmax=n(e.zmax),e.zmin=n(e.zmin)),r&&null!=e.mmax&&null!=e.mmin&&(e.mmax=r(e.mmax),e.mmin=r(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let a,s;for(let e=0,n=o.length;e<n;e++){const n=o[e];e>0?(a+=n[0],s+=n[1]):(a=n[0],s=n[1]),n[0]=t(a),n[1]=i(s)}if(n&&r)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=n(t[2]),t[3]=r(t[3])}else if(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=n(t[2])}else if(r)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=r(t[2])}}:null}};(0,r._)([(0,c.MZ)({type:String,json:{write:!0}})],f.prototype,"displayFieldName",void 0),(0,r._)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],f.prototype,"exceededTransferLimit",void 0),(0,r._)([(0,c.MZ)({type:[o.A],json:{write:!0}})],f.prototype,"features",void 0),(0,r._)([(0,u.w)("features")],f.prototype,"readFeatures",null),(0,r._)([(0,c.MZ)({type:[g.A],json:{write:!0}})],f.prototype,"fields",void 0),(0,r._)([(0,c.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:h.read}}})],f.prototype,"geometryType",void 0),(0,r._)([(0,p.K)("geometryType")],f.prototype,"writeGeometryType",null),(0,r._)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],f.prototype,"hasM",void 0),(0,r._)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],f.prototype,"hasZ",void 0),(0,r._)([(0,c.MZ)({types:M.yR,json:{write:!0}})],f.prototype,"queryGeometry",void 0),(0,r._)([(0,u.w)("queryGeometry")],f.prototype,"readQueryGeometry",null),(0,r._)([(0,c.MZ)({type:m.A,json:{write:!0}})],f.prototype,"spatialReference",void 0),(0,r._)([(0,p.K)("spatialReference")],f.prototype,"writeSpatialReference",null),(0,r._)([(0,c.MZ)({json:{write:!0}})],f.prototype,"transform",void 0),f=n=(0,r._)([(0,d.$)("esri.rest.support.FeatureSet")],f),f.prototype.toJSON.isDefaultToJSON=!0;const w=f},22048:(e,t,i)=>{i.d(t,{A:()=>h});var n,r=i(90237),o=i(25482),a=i(4718),s=i(10107),l=(i(44208),i(53966),i(40608)),c=i(43937),u=i(86738),d=i(65864),p=i(50498),m=i(85675),y=i(22796),M=i(79677);let g=n=class extends o.A{constructor(){super(...arguments),this.geometry=null,this.mosaicRule=null,this.rasterFunction=null,this.pixelSize=null,this.raster=void 0,this.timeExtent=null}writeGeometry(e,t,i){null!=e&&(t.geometryType=(0,d.$B)(e),t[i]=e.toJSON())}clone(){return new n((0,a.o8)({geometry:this.geometry,mosaicRule:this.mosaicRule,rasterFunction:this.rasterFunction,pixelSize:this.pixelSize,raster:this.raster,timeExtent:this.timeExtent}))}};(0,r._)([(0,s.MZ)({types:p.yR,json:{read:d.rS}})],g.prototype,"geometry",void 0),(0,r._)([(0,c.K)("geometry")],g.prototype,"writeGeometry",null),(0,r._)([(0,s.MZ)({type:m.A,json:{write:!0}})],g.prototype,"mosaicRule",void 0),(0,r._)([(0,s.MZ)({type:y.A,json:{write:!0,name:"renderingRule"}})],g.prototype,"rasterFunction",void 0),(0,r._)([(0,s.MZ)({type:u.A,json:{write:!0}})],g.prototype,"pixelSize",void 0),(0,r._)([(0,s.MZ)({json:{write:!0}})],g.prototype,"raster",void 0),(0,r._)([(0,s.MZ)({type:M.A,json:{read:{source:"time"},write:{target:"time"}}})],g.prototype,"timeExtent",void 0),g=n=(0,r._)([(0,l.$)("esri.rest.support.ImageHistogramParameters")],g);const h=g},2272:(e,t,i)=>{i.d(t,{Dl:()=>a,jV:()=>o,lF:()=>s}),i(92602),i(70333);var n=i(4718),r=i(84952);function o(e,t){return t?{...t,query:{...e??{},...t.query}}:{query:e}}function a(e){return"string"==typeof e?(0,r.An)(e):(0,n.o8)(e)}function s(e,t,i){const n={};for(const r in e){if("declaredClass"===r)continue;const o=e[r];if(null!=o&&"function"!=typeof o)if(Array.isArray(o))n[r]=o.map((e=>s(e)));else if("object"==typeof o)if(o.toJSON){const e=o.toJSON(i?.[r]);n[r]=t?e:JSON.stringify(e)}else n[r]=t?o:JSON.stringify(o);else n[r]=o}return n}i(926)},30291:(e,t,i)=>{i.d(t,{tn:()=>c});var n=i(13874),r=i(30524),o=i(28122),a=(i(84424),i(80737),i(96808),i(66159)),s=(i(67336),i(92094),i(23721),i(47582),i(41227)),l=i(68780);function c({displayField:e,editFieldsInfo:t,fields:i,objectIdField:l,title:c},m){if(!i)return null;const M=function(e,t){const i=t?.visibleFieldNames;return function({fields:e,ignoreFieldTypes:t,sortDisabled:i}){const n=e;return t&&(e=e.filter((e=>!t.includes(e.type)))),e===n&&(e=e.slice()),!0!==i&&e.sort(d),e}({fields:e.fields??[],ignoreFieldTypes:t?.ignoreFieldTypes||y,sortDisabled:t?.sortDisabled}).map((t=>new s.A({fieldName:t.name,isEditable:(0,r.R$)(t,e),label:t.alias,format:p(t),visible:u(t,{...e,visibleFieldNames:i})})))}({editFieldsInfo:t,fields:i,objectIdField:l},m);if(!M.length)return null;const g=function(e){const t=(0,r.mB)(e),{titleBase:i}=e;return t?`${i}: {${t.trim()}}`:i??""}({titleBase:c,fields:i,displayField:e}),h=[new a.A,new o.A];return new n.A({title:g,content:h,fieldInfos:M})}const u=(e,t)=>t.visibleFieldNames?t.visibleFieldNames.has(e.name):(0,r.Bz)(e,t);function d(e,t){return"oid"===e.type?-1:"oid"===t.type?1:m(e)?-1:m(t)?1:(e.alias||e.name).toLocaleLowerCase().localeCompare((t.alias||t.name).toLocaleLowerCase())}function p(e){switch(e.type){case"small-integer":case"integer":case"single":return new l.A({digitSeparator:!0,places:0});case"double":return new l.A({digitSeparator:!0,places:2});case"string":return(0,r.JL)(e.name)?new l.A({digitSeparator:!0,places:0}):void 0;default:return}}function m(e){if("name"===(e.name&&e.name.toLowerCase()))return!0;const t=e.alias?.toLowerCase();return"name"===t}const y=["geometry","blob","raster","guid","xml"]},62046:(e,t,i)=>{i.d(t,{Fe:()=>l,Nk:()=>o});var n=i(68197),r=i(93397);function o(e){const t=[];return a((0,r.lW)(e),t),t.length?new n.A((0,r.e6)(t[0])):null}function a(e,t){if(!e)return;let i;i="CIMTextSymbol"===e.type?e.symbol:e;const n="CIMPolygonSymbol"===e.type;if(i?.symbolLayers)for(const e of i.symbolLayers)if(!(e.colorLocked||n&&((0,r.mA)(e)||(0,r.MM)(e)&&e.markerPlacement&&(0,r.zr)(e.markerPlacement))))switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor&&s(t,e.tintColor);break;case"CIMVectorMarker":e.markerGraphics?.forEach((e=>{a(e.symbol,t)}));break;case"CIMSolidStroke":case"CIMSolidFill":s(t,e.color);break;case"CIMHatchFill":a(e.lineSymbol,t)}}function s(e,t){for(const i of e)if(i.join(".")===t.join("."))return;e.push(t)}function l(e,t,i){t instanceof n.A||(t=new n.A(t));const o=(0,r.lW)(e);o&&c(o,t,i)}function c(e,t,i){if(!e)return;let n;n="CIMTextSymbol"===e.type?e.symbol:e;const o="CIMPolygonSymbol"===n?.type;if(n?.symbolLayers)for(const e of n.symbolLayers){if(e.colorLocked)continue;if(o)if(i){const{layersToColor:t}=i;if(((0,r.mA)(e)||(0,r.MM)(e)&&e.markerPlacement&&(0,r.zr)(e.markerPlacement))&&"fill"===t||(0,r.jn)(e)&&"outline"===t)continue}else if((0,r.mA)(e)||(0,r.MM)(e)&&e.markerPlacement&&(0,r.zr)(e.markerPlacement))continue;const n=t.toArray();switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor=n;break;case"CIMVectorMarker":e.markerGraphics?.forEach((e=>{c(e.symbol,t,i)}));break;case"CIMSolidStroke":case"CIMSolidFill":e.color=n;break;case"CIMHatchFill":c(e.lineSymbol,t,i)}}}},37531:(e,t,i)=>{i.d(t,{dt:()=>m,GG:()=>f,UQ:()=>h,Sx:()=>d});var n=i(68197),r=i(60999),o=(i(44208),i(51850)),a=(i(76369),i(62046)),s=(i(2741),i(78888),i(66344));new Map([["dash",[4,3]],["dashdot",[4,3,1,3]],["dot",[1,3]],["longdash",[8,3]],["longdashdot",[8,3,1,3]],["longdashdotdot",[8,3,1,3,1,3]],["shortdash",[4,1]],["shortdashdot",[4,1,1,1]],["shortdashdotdot",[4,1,1,1,1,1]],["shortdot",[1,1]],["solid",[]]]),new s.q(1e3),new n.A([128,128,128]);var l=i(78504),c=i(33910);const u=new n.A("white");function d(e,t){if(!e)return null;let i=null;return(0,c.wk)(e)?i=function(e){const t=e.symbolLayers;if(!t)return null;let i=null;return t.forEach((e=>{"object"===e.type&&e.resource?.href||(i="water"===e.type?e.color:e.material?e.material.color:null)})),i?new n.A(i):null}(e):(0,c.$y)(e)&&(i="cim"===e.type?(0,a.Nk)(e):e.color?new n.A(e.color):null),i?p(i,t):null}function p(e,t){if(null==t||null==e)return e;const i=e.toRgba();return i[3]=i[3]*t,new n.A(i)}function m(e,t,i){e&&(t||null!=i)&&(t&&(t=new n.A(t)),(0,c.wk)(e)?function(e,t,i){const n=e.symbolLayers;if(!n)return;const r=e=>p(t=t??e??(null!=i?u:null),i);n.forEach((e=>{if("object"!==e.type||!e.resource?.href||t)if("water"===e.type)e.color=r(e.color);else{const t=null!=e.material?e.material.color:null,n=r(t);null==e.material?e.material=new l.N({color:n}):e.material.color=n,null!=i&&"outline"in e&&null!=e.outline?.color&&(e.outline.color=p(e.outline.color,i))}}))}(e,t,i):(0,c.$y)(e)&&function(e,t,i){(t=t??e.color)&&(e.color=p(t,i)),null!=i&&"outline"in e&&e.outline?.color&&(e.outline.color=p(e.outline.color,i))}(e,t,i))}function y(e){for(const t of e)if("number"==typeof t)return t;return null}function M(e,t,i){for(let n=0;n<3;n++){const r=e[n];switch(r){case"symbol-value":{const e=i[n];return null!=e?e/t[n]:1}case"proportional":break;default:if(r&&t[n])return r/t[n]}}return 1}function g(e,t,i,n){switch(e){case"proportional":return i*n;case"symbol-value":return null!=t?t:i;default:return e}}async function h(e,t){if(e&&t)return(0,c.wk)(e)?async function(e,t){const n=e.symbolLayers;n&&await(0,r.jJ)(n,(async e=>async function(e,t){switch(e.type){case"extrude":!function(e,t){e.size="number"==typeof t[2]?t[2]:0}(e,t);break;case"icon":case"line":case"text":!function(e,t){const i=y(t);null!=i&&(e.size=i)}(e,t);break;case"path":!function(e,t){const i=M(t,o.Un,[e.width,void 0,e.height]);e.width=g(t[0],e.width,1,i),e.height=g(t[2],e.height,1,i)}(e,t);break;case"object":await async function(e,t){const{resourceSize:n,symbolSize:r}=await async function(e){const{computeObjectLayerResourceSize:t}=await i.e(5404).then(i.bind(i,95404)),n=await t(e,10),{width:r,height:o,depth:a}=e,s=[r,a,o];let l=1;for(let e=0;e<3;e++){const t=s[e];if(null!=t){l=t/n[e];break}}for(let e=0;e<3;e++)null==s[e]&&(s[e]=n[e]*l);return{resourceSize:n,symbolSize:s}}(e),o=M(t,n,r);e.width=g(t[0],r[0],n[0],o),e.depth=g(t[1],r[1],n[1],o),e.height=g(t[2],r[2],n[2],o)}(e,t)}}(e,t)))}(e,t):void((0,c.$y)(e)&&function(e,t){const i=y(t);if(null!=i)switch(e.type){case"simple-marker":e.size=i;break;case"picture-marker":{const t=e.width/e.height;t>1?(e.width=i,e.height=i*t):(e.width=i*t,e.height=i);break}case"simple-line":e.width=i;break;case"text":e.font.size=i}}(e,t))}function f(e,t,i){if(e&&null!=t)if((0,c.wk)(e)){const n=e.symbolLayers;n&&n.forEach((e=>{if("object"===e.type)switch(i){case"tilt":e.tilt=(e.tilt??0)+t;break;case"roll":e.roll=(e.roll??0)+t;break;default:e.heading=(e.heading??0)+t}"icon"===e.type&&(e.angle+=t)}))}else(0,c.$y)(e)&&("simple-marker"!==e.type&&"picture-marker"!==e.type&&"text"!==e.type||(e.angle+=t))}},10184:(e,t,i)=>{i.d(t,{A:()=>p});var n=i(90237),r=i(69540),o=i(25482),a=i(88930),s=i(10107),l=(i(44208),i(53966),i(87811),i(93223)),c=i(40608),u=i(73133);let d=class extends(r.A.ClonableMixin(o.A)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,a.t)(this.value,this.unit,"milliseconds")}};(0,n._)([(0,l.e)(u.j,{nonNullable:!0})],d.prototype,"unit",void 0),(0,n._)([(0,s.MZ)({type:Number,json:{write:!0},nonNullable:!0})],d.prototype,"value",void 0),d=(0,n._)([(0,c.$)("esri.time.TimeInterval")],d);const p=d},92935:(e,t,i)=>{var n;i.d(t,{X:()=>n}),function(e){e[e.SAVE=0]="SAVE",e[e.SAVE_AS=1]="SAVE_AS"}(n||(n={}))}}]);