@arcgis/core 4.34.0-next.14 → 4.34.0-next.16

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 (308) hide show
  1. package/applications/Components/sanitizerUtils.d.ts +3 -0
  2. package/applications/Components/sanitizerUtils.js +5 -0
  3. package/applications/MapViewer/layerUtils.d.ts +3 -0
  4. package/applications/MapViewer/layerUtils.js +5 -0
  5. package/applications/SceneViewer/layerUtils.d.ts +2 -2
  6. package/arcade.js +1 -1
  7. package/assets/esri/core/workers/RemoteClient.js +1 -1
  8. package/assets/esri/core/workers/chunks/{a08ce98672ab94d19613.js → 04e558a970c6a77f243e.js} +1 -1
  9. package/assets/esri/core/workers/chunks/0512ee54f2259a437fdb.js +1 -0
  10. package/assets/esri/core/workers/chunks/0d99579d8cdeddc0fc9c.js +1 -0
  11. package/assets/esri/core/workers/chunks/0f81a2deb656e8b28eae.js +1 -0
  12. package/assets/esri/core/workers/chunks/{ad4f65d764654c70a117.js → 0f8f217aaf42eb1b9699.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{74276044cb75b51967f2.js → 10eb89a93c8e31f03c95.js} +1 -1
  14. package/assets/esri/core/workers/chunks/1443520c9fb23381f8d5.js +1 -0
  15. package/assets/esri/core/workers/chunks/15d3193576f93586674c.js +1 -0
  16. package/assets/esri/core/workers/chunks/1a7570bd2b79194ff94b.js +42 -0
  17. package/assets/esri/core/workers/chunks/243eb8a317333ec2715b.js +1 -0
  18. package/assets/esri/core/workers/chunks/{0ed4ec00ef16aa58a33d.js → 254c4f7e277ae9915dce.js} +1 -1
  19. package/assets/esri/core/workers/chunks/273beed633cc37416ad7.js +1 -0
  20. package/assets/esri/core/workers/chunks/2990145d7ac3af0d68be.js +1 -0
  21. package/assets/esri/core/workers/chunks/{63852887b3f07d50f7c9.js → 2ad538440cfb3ab94787.js} +1 -1
  22. package/assets/esri/core/workers/chunks/2d51d0a24cdc89bafa1c.js +1 -0
  23. package/assets/esri/core/workers/chunks/2d89e354eeadadca4f7f.js +1 -0
  24. package/assets/esri/core/workers/chunks/3f8cc157b65a9d570921.js +1 -0
  25. package/assets/esri/core/workers/chunks/{2254989ca3ff3960f2fe.js → 400a4c9fa62964f8fa1d.js} +1 -1
  26. package/assets/esri/core/workers/chunks/445ddf57d2f503a0b98b.js +1 -0
  27. package/assets/esri/core/workers/chunks/{aaa564c84ee8ea36fbb4.js → 49a57dc1e6d1048fa949.js} +1 -1
  28. package/assets/esri/core/workers/chunks/513dc2467e9b8b8c6df4.js +1 -0
  29. package/assets/esri/core/workers/chunks/52239e958a82ebcd2e7a.js +1 -0
  30. package/assets/esri/core/workers/chunks/53e43798d08ad2075c1f.js +1 -0
  31. package/assets/esri/core/workers/chunks/{8b93cd4132934b0d7d39.js → 54814a269d44855f0673.js} +1 -1
  32. package/assets/esri/core/workers/chunks/55ce214a10fb6fc2e901.js +1 -0
  33. package/assets/esri/core/workers/chunks/{e7589c39b13295af8f1d.js → 604f8094992bb642378b.js} +1 -1
  34. package/assets/esri/core/workers/chunks/66c8816e91e3f9e214d4.js +346 -0
  35. package/assets/esri/core/workers/chunks/6975929fa91c81c8afc0.js +1 -0
  36. package/assets/esri/core/workers/chunks/7716a9fb380d66ba7292.js +1 -0
  37. package/assets/esri/core/workers/chunks/77ad62ed93f713a909f0.js +1 -0
  38. package/assets/esri/core/workers/chunks/7b9eec0090f48e9cdaf1.js +1 -0
  39. package/assets/esri/core/workers/chunks/7c56740cac444419e5b4.js +1 -0
  40. package/assets/esri/core/workers/chunks/{3b63edcd34f832ac7bd8.js → 7c6b9e2c1dada4668c01.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{af0d7a7cbbaad47a49c6.js → 802c6b1a6cb9264b8e4f.js} +1 -1
  42. package/assets/esri/core/workers/chunks/{0b21651eb93efe9ce089.js → 827919fe23e06e40a330.js} +189 -165
  43. package/assets/esri/core/workers/chunks/87986f31061c426e761b.js +1 -0
  44. package/assets/esri/core/workers/chunks/{7ae88c141a5d85e5bb88.js → 87a743df7d8556d5e253.js} +1 -1
  45. package/assets/esri/core/workers/chunks/8855f1a6224ffbd0bb66.js +1 -0
  46. package/assets/esri/core/workers/chunks/885e8e90dfe5dbd5053d.js +1 -0
  47. package/assets/esri/core/workers/chunks/8865bd8f196556441ce3.js +1 -0
  48. package/assets/esri/core/workers/chunks/8b1842f0f94c18652d4e.js +1 -0
  49. package/assets/esri/core/workers/chunks/932808e485f305b6a26a.js +1 -0
  50. package/assets/esri/core/workers/chunks/93c145a738b3f6cf4ee4.js +1 -0
  51. package/assets/esri/core/workers/chunks/93e66d9c49eaeb503bff.js +1 -0
  52. package/assets/esri/core/workers/chunks/9959a91c8de6fef499c2.js +1 -0
  53. package/assets/esri/core/workers/chunks/9d779891d51d196aa8c8.js +1 -0
  54. package/assets/esri/core/workers/chunks/{6cbe8205a4e0f62da519.js → a5a27e2e9b91fbe12da9.js} +1 -1
  55. package/assets/esri/core/workers/chunks/aeac889d95f34b6d3b72.js +1 -0
  56. package/assets/esri/core/workers/chunks/c1a72e1dbd1ba7b41965.js +1 -0
  57. package/assets/esri/core/workers/chunks/c4065934637b820cad5b.js +1 -0
  58. package/assets/esri/core/workers/chunks/cc1328cacc4ac07eb548.js +1 -0
  59. package/assets/esri/core/workers/chunks/d0876a713079c669995a.js +1 -0
  60. package/assets/esri/core/workers/chunks/{3145218abe59b5e99ff8.js → d2139307f62ea8bf999a.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{d5f770302dc686e55ba7.js → daffceecdc71e74d2629.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{3f58da371633967a61ca.js → ddb66fe6fcd0764daa7a.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{0eeb0dce918e4827309a.js → eac7af86166c09c6a9be.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{998819aade3898f52414.js → ec49e2849766402ad5c7.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{7317346ed8d7c5bb859d.js → f537a02dc2fc9e6435a2.js} +1 -1
  66. package/assets/esri/core/workers/chunks/fa3edfbdaa3b716a3a10.js +1 -0
  67. package/assets/esri/core/workers/chunks/fa5715ca3ce95d005b0a.js +1 -0
  68. package/assets/esri/core/workers/chunks/{7e1906d35a764f7f10b0.js → fe1129f03476825a7344.js} +1 -1
  69. package/assets/esri/themes/base/widgets/_SelectionList.scss +31 -28
  70. package/assets/esri/themes/dark/main.css +1 -1
  71. package/assets/esri/themes/light/main.css +1 -1
  72. package/assets/esri/themes/light/view.css +1 -1
  73. package/chunks/DefaultMaterial.glsl.js +30 -28
  74. package/chunks/RealisticTree.glsl.js +25 -22
  75. package/chunks/aiServices.js +1 -1
  76. package/chunks/chartUtilsAm5.js +1 -1
  77. package/config.js +1 -1
  78. package/core/LRUCache.js +1 -1
  79. package/core/MemCache.js +1 -1
  80. package/core/accessorSupport/utils.js +1 -1
  81. package/core/object.js +1 -1
  82. package/core/urlUtils.js +1 -1
  83. package/core/workers/RemoteClient.js +1 -1
  84. package/core/workers/WorkerHandle.js +1 -1
  85. package/editing/sharedTemplates/executor/builders/bufferPolygonToPolygon.js +1 -1
  86. package/interfaces.d.ts +76 -24
  87. package/intl/date.js +1 -1
  88. package/intl/duration.js +1 -1
  89. package/intl/locale.js +1 -1
  90. package/intl/messages.js +1 -1
  91. package/intl/number.js +1 -1
  92. package/intl.d.ts +1 -0
  93. package/intl.js +1 -1
  94. package/kernel.js +1 -1
  95. package/layers/CatalogLayer.js +1 -1
  96. package/layers/FeatureLayer.js +1 -1
  97. package/layers/GeoJSONLayer.js +1 -1
  98. package/layers/WFSLayer.js +1 -1
  99. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  100. package/layers/graphics/data/QueryEngineResult.js +1 -1
  101. package/layers/graphics/data/queryValidationUtils.js +1 -1
  102. package/layers/mixins/FeatureLayerBase.js +1 -1
  103. package/layers/orientedImagery/core/ExposurePoint.js +1 -1
  104. package/layers/support/arcgisLayers.js +1 -1
  105. package/layers/support/featureLayerUtils.js +1 -1
  106. package/layers/support/fetchService.js +1 -1
  107. package/layers/support/layerUtils.js +1 -1
  108. package/layers/support/rasterDatasets/covJSONParser.js +1 -1
  109. package/layers/support/rasterFormats/TiffDecoder.js +1 -1
  110. package/package.json +1 -1
  111. package/portal/support/layersLoader.js +1 -1
  112. package/portal/support/loadUtils.js +1 -1
  113. package/portal/support/portalLayers.js +1 -1
  114. package/renderers/support/DictionaryScriptEvaluator.js +1 -1
  115. package/renderers/visualVariables/support/visualVariableUtils.js +1 -1
  116. package/rest/networks/circuits/support/CircuitVerifyResult.js +1 -1
  117. package/rest/support/DateBinTimeInterval.js +1 -1
  118. package/rest/support/DateBinUtils.js +5 -0
  119. package/rest/support/TranslateParameters.js +1 -1
  120. package/smartMapping/renderers/size.js +1 -1
  121. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  122. package/smartMapping/support/adapters/support/utils.js +1 -1
  123. package/support/ArcadeExpression.js +1 -1
  124. package/support/revision.js +1 -1
  125. package/symbols/WaterSymbol3DLayer.js +1 -1
  126. package/symbols/cim/effects/EffectTaperedPolygon.js +1 -1
  127. package/symbols/support/symbolUtils.js +1 -1
  128. package/symbols/support/utils.js +1 -1
  129. package/views/2d/engine/vectorTiles/style/StyleProperty.js +1 -1
  130. package/views/2d/layers/features/support/FeatureSetReaderIndirect.js +1 -1
  131. package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -1
  132. package/views/3d/analysis/DimensionAnalysisView3D.js +1 -1
  133. package/views/3d/analysis/DirectLineMeasurementAnalysisView3D.js +1 -1
  134. package/views/3d/analysis/LineOfSightAnalysisView3D.js +1 -1
  135. package/views/3d/analysis/SliceAnalysisView3D.js +1 -1
  136. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  137. package/views/3d/camera/intersectionUtils.js +1 -1
  138. package/views/3d/layers/I3SMeshView3D.js +1 -1
  139. package/views/3d/layers/I3SMeshViewLabeler.js +1 -1
  140. package/views/3d/layers/I3SMeshWorkerHandle.js +1 -1
  141. package/views/3d/layers/RouteLayerView3D.js +1 -1
  142. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  143. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  144. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  145. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  146. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  147. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  148. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  149. package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
  150. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  151. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  152. package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
  153. package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
  154. package/views/3d/layers/graphics/graphicUtils.js +1 -1
  155. package/views/3d/layers/i3s/I3SIndex.js +1 -1
  156. package/views/3d/layers/i3s/I3SLodHandling.js +1 -1
  157. package/views/3d/layers/support/StageLayerElevationProvider.js +1 -1
  158. package/views/3d/layers/support/makeScheduleFunction.js +1 -1
  159. package/views/3d/layers/support/symbolColorUtils.js +1 -1
  160. package/views/3d/state/controllers/FovController.js +1 -1
  161. package/views/3d/state/controllers/PinchAndPanControllerGlobal.js +1 -1
  162. package/views/3d/state/controllers/PinchAndPanControllerLocal.js +1 -1
  163. package/views/3d/state/controllers/RotateController.js +1 -1
  164. package/views/3d/state/controllers/ZoomControllerGlobal.js +1 -1
  165. package/views/3d/state/controllers/ZoomControllerLocal.js +1 -1
  166. package/views/3d/state/controllers/ZoomStepControllerGlobal.js +1 -1
  167. package/views/3d/state/controllers/ZoomStepControllerLocal.js +1 -1
  168. package/views/3d/state/utils/navigationUtils.js +1 -1
  169. package/views/3d/support/StreamDataLoader.js +1 -1
  170. package/views/3d/terrain/OverlayRenderer.js +1 -1
  171. package/views/3d/terrain/TerrainRenderer.js +1 -1
  172. package/views/3d/terrain/TerrainSurface.js +1 -1
  173. package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
  174. package/views/3d/webgl-engine/collections/Component/RenderSubmitSystem.js +1 -1
  175. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  176. package/views/3d/webgl-engine/core/shaderLibrary/attributes/InstanceColor.glsl.js +11 -0
  177. package/views/3d/webgl-engine/core/shaderLibrary/attributes/MaskedColor.glsl.js +18 -0
  178. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +40 -26
  179. package/views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js +35 -24
  180. package/views/3d/webgl-engine/core/shaderLibrary/attributes/SymbolColor.glsl.js +12 -8
  181. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexColor.glsl.js +3 -1
  182. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VerticalOffset.glsl.js +2 -2
  183. package/views/3d/webgl-engine/core/shaderLibrary/shading/VisualVariables.glsl.js +26 -8
  184. package/views/3d/webgl-engine/core/shaderModules/Float2BindUniform.js +1 -1
  185. package/views/3d/webgl-engine/core/shaderModules/Float2DrawUniform.js +1 -1
  186. package/views/3d/webgl-engine/core/shaderModules/Float2PassUniform.js +1 -1
  187. package/views/3d/webgl-engine/core/shaderModules/Float3BindUniform.js +1 -1
  188. package/views/3d/webgl-engine/core/shaderModules/Float3DrawUniform.js +1 -1
  189. package/views/3d/webgl-engine/core/shaderModules/Float3PassUniform.js +1 -1
  190. package/views/3d/webgl-engine/core/shaderModules/Float4BindUniform.js +1 -1
  191. package/views/3d/webgl-engine/core/shaderModules/Float4DrawUniform.js +1 -1
  192. package/views/3d/webgl-engine/core/shaderModules/Float4PassUniform.js +1 -1
  193. package/views/3d/webgl-engine/core/shaderModules/Float4sPassUniform.js +1 -1
  194. package/views/3d/webgl-engine/core/shaderModules/FloatBindUniform.js +1 -1
  195. package/views/3d/webgl-engine/core/shaderModules/FloatDrawUniform.js +1 -1
  196. package/views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js +1 -1
  197. package/views/3d/webgl-engine/core/shaderModules/FloatsPassUniform.js +1 -1
  198. package/views/3d/webgl-engine/core/shaderModules/Matrix3DrawUniform.js +1 -1
  199. package/views/3d/webgl-engine/core/shaderModules/Matrix3PassUniform.js +1 -1
  200. package/views/3d/webgl-engine/core/shaderModules/Matrix4BindUniform.js +1 -1
  201. package/views/3d/webgl-engine/core/shaderModules/Matrix4DrawUniform.js +1 -1
  202. package/views/3d/webgl-engine/core/shaderModules/Matrix4PassUniform.js +1 -1
  203. package/views/3d/webgl-engine/core/shaderModules/Matrix4sDrawUniform.js +1 -1
  204. package/views/3d/webgl-engine/core/shaderModules/Matrix4sPassUniform.js +1 -1
  205. package/views/3d/webgl-engine/effects/bloom/BloomRenderNode.js +1 -1
  206. package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
  207. package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
  208. package/views/3d/webgl-engine/lib/PathGeometryData.js +1 -1
  209. package/views/3d/webgl-engine/lib/Program.js +1 -1
  210. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  211. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  212. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  213. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  214. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  215. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  216. package/views/3d/webgl-engine/materials/internal/MaterialUtil.js +1 -1
  217. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  218. package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
  219. package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
  220. package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
  221. package/views/analysis/analysisViewUtils.js +1 -1
  222. package/views/ui/UI.js +1 -1
  223. package/views/webgl/Program.js +1 -1
  224. package/views/webgl/ShaderBuilder.js +1 -1
  225. package/webscene/Slide.js +1 -1
  226. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  227. package/widgets/BatchAttributeForm.js +1 -1
  228. package/widgets/Directions/DirectionsVisibleElements.js +1 -1
  229. package/widgets/Directions.js +1 -1
  230. package/widgets/Editor/EditorViewModel.js +1 -1
  231. package/widgets/Editor/UpdateFeatureWorkflowData.js +1 -1
  232. package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
  233. package/widgets/Editor/UpdateWorkflow.js +1 -1
  234. package/widgets/Editor/components/PendingFeatureList.js +1 -1
  235. package/widgets/Editor.js +1 -1
  236. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  237. package/widgets/FeatureTable/Grid/Grid.js +1 -1
  238. package/widgets/FeatureTable.js +1 -1
  239. package/widgets/FeatureTemplates.js +1 -1
  240. package/widgets/Features/FeaturesViewModel.js +1 -1
  241. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  242. package/widgets/OrientedImageryViewer/components/ImageViewer.js +1 -1
  243. package/widgets/OrientedImageryViewer/components/NavigationNode.js +1 -1
  244. package/widgets/OrientedImageryViewer/components/NavigationSettings.js +1 -1
  245. package/widgets/OrientedImageryViewer/components/NavigationUI.js +1 -1
  246. package/widgets/OrientedImageryViewer/components/NavigationUI360.js +5 -0
  247. package/widgets/OrientedImageryViewer/components/NavigationUIPanoramicViewModel.js +1 -1
  248. package/widgets/OrientedImageryViewer/components/NavigationUIViewModel.js +1 -1
  249. package/widgets/OrientedImageryViewer/components/imageNavigationUtils.js +1 -1
  250. package/widgets/OrientedImageryViewer/navigation/NavigationManager.js +1 -1
  251. package/widgets/OrientedImageryViewer.js +1 -1
  252. package/widgets/PanoramicViewer.js +1 -1
  253. package/widgets/Print/PrintViewModel.js +1 -1
  254. package/widgets/Print.js +1 -1
  255. package/widgets/ScaleRangeSlider/scalePreviewUtils.js +1 -1
  256. package/widgets/Search/SearchViewModel.js +1 -1
  257. package/widgets/Search/support/layerSearchUtils.js +1 -1
  258. package/widgets/Search.js +1 -1
  259. package/widgets/support/ItemList.js +1 -1
  260. package/widgets/support/SelectionList/FeatureItem.js +1 -1
  261. package/widgets/support/SelectionList/GroupLayerItem.js +1 -1
  262. package/widgets/support/SelectionList/LayerItem.js +1 -1
  263. package/widgets/support/SelectionList/SelectionListViewModel.js +1 -1
  264. package/widgets/support/SelectionList.js +1 -1
  265. package/widgets/support/UtilityNetworkAssociations/FeatureUtilityNetworkAssociationsViewModel.js +1 -1
  266. package/widgets/support/dateUtils.js +1 -1
  267. package/widgets/support/symbolPreviewUtils.js +1 -1
  268. package/widgets/support/timeWidgetUtils.js +1 -1
  269. package/assets/esri/core/workers/chunks/0dbb350ce651bc236ec8.js +0 -1
  270. package/assets/esri/core/workers/chunks/0ff6f15d46d7ddf6fe4d.js +0 -1
  271. package/assets/esri/core/workers/chunks/18011c691e0aca4144dd.js +0 -1
  272. package/assets/esri/core/workers/chunks/183a7dec68c8ba6eb3d6.js +0 -1
  273. package/assets/esri/core/workers/chunks/2ddb776434a93b8d9e63.js +0 -1
  274. package/assets/esri/core/workers/chunks/369978472cc9ee6a00b5.js +0 -346
  275. package/assets/esri/core/workers/chunks/3916879b9ca8c6979011.js +0 -1
  276. package/assets/esri/core/workers/chunks/3cbc498388fb1931a9f8.js +0 -1
  277. package/assets/esri/core/workers/chunks/4079e307a0fce4516aa4.js +0 -1
  278. package/assets/esri/core/workers/chunks/4088f4c25a09932a3eb1.js +0 -1
  279. package/assets/esri/core/workers/chunks/462cc6966d060be59c7c.js +0 -1
  280. package/assets/esri/core/workers/chunks/467cacb501b0417bb4df.js +0 -1
  281. package/assets/esri/core/workers/chunks/49089731ecfe7e8bb2f6.js +0 -1
  282. package/assets/esri/core/workers/chunks/4a805e7a57d25c4b595f.js +0 -66
  283. package/assets/esri/core/workers/chunks/4e0bae3671fe1c7efa76.js +0 -1
  284. package/assets/esri/core/workers/chunks/58f92100b1b2343111c6.js +0 -1
  285. package/assets/esri/core/workers/chunks/5dcc8fa321f0a7c49f36.js +0 -1
  286. package/assets/esri/core/workers/chunks/5df4f2315fae82030e87.js +0 -1
  287. package/assets/esri/core/workers/chunks/5e539ce4751bcfa57145.js +0 -1
  288. package/assets/esri/core/workers/chunks/6194636638b0439fccd8.js +0 -1
  289. package/assets/esri/core/workers/chunks/622c0552ca3cd674d46c.js +0 -1
  290. package/assets/esri/core/workers/chunks/64f5f27e7c5649d79cbc.js +0 -1
  291. package/assets/esri/core/workers/chunks/658e82c9b722852e02d0.js +0 -1
  292. package/assets/esri/core/workers/chunks/679d7baea233faf3fdbc.js +0 -1
  293. package/assets/esri/core/workers/chunks/72ea996b03932c0f004f.js +0 -1
  294. package/assets/esri/core/workers/chunks/7aef81778155be373d3e.js +0 -1
  295. package/assets/esri/core/workers/chunks/97b69fec3e87f11210ba.js +0 -1
  296. package/assets/esri/core/workers/chunks/a1a42b0d7cd47b647f8a.js +0 -1
  297. package/assets/esri/core/workers/chunks/a250a5c6e055e33bd25c.js +0 -1
  298. package/assets/esri/core/workers/chunks/a622ed3f182648ab3ff6.js +0 -1
  299. package/assets/esri/core/workers/chunks/a693cd3af2e995972252.js +0 -1
  300. package/assets/esri/core/workers/chunks/b4273381dc069f4e1fa2.js +0 -1
  301. package/assets/esri/core/workers/chunks/b72137c63b7f2a525d9e.js +0 -1
  302. package/assets/esri/core/workers/chunks/c2264451d12f1fbaad22.js +0 -1
  303. package/assets/esri/core/workers/chunks/c6c86cbe65a58c3093ae.js +0 -1
  304. package/assets/esri/core/workers/chunks/c8856370bae65d9eeb2b.js +0 -1
  305. package/assets/esri/core/workers/chunks/cd4fb107489594c57438.js +0 -1
  306. package/assets/esri/core/workers/chunks/d28d874c1337b69fedc0.js +0 -1
  307. package/assets/esri/core/workers/chunks/ec922f876e1465d36045.js +0 -1
  308. package/assets/esri/core/workers/chunks/fe3703ec198cbfebec30.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5897],{3057:(t,e,r)=>{r.d(e,{lf:()=>Ot,L:()=>Gt,A4:()=>Bt,aR:()=>Mt,tU:()=>Ut,V1:()=>Ct,uU:()=>kt});var n,i,a=r(19419),o=r(83027),s=r(89640),l=r(13195),u=r(80081);!function(t){t[t.R8_SIGNED=0]="R8_SIGNED",t[t.R8_UNSIGNED=1]="R8_UNSIGNED",t[t.R16_SIGNED=2]="R16_SIGNED",t[t.R16_UNSIGNED=3]="R16_UNSIGNED",t[t.R8G8_SIGNED=4]="R8G8_SIGNED",t[t.R8G8_UNSIGNED=5]="R8G8_UNSIGNED",t[t.R16G16_SIGNED=6]="R16G16_SIGNED",t[t.R16G16_UNSIGNED=7]="R16G16_UNSIGNED",t[t.R8G8B8A8_SIGNED=8]="R8G8B8A8_SIGNED",t[t.R8G8B8A8_UNSIGNED=9]="R8G8B8A8_UNSIGNED",t[t.R8G8B8A8_COLOR=10]="R8G8B8A8_COLOR",t[t.R16G16B16A16_DASHARRAY=11]="R16G16B16A16_DASHARRAY",t[t.R16G16B16A16_PATTERN=12]="R16G16B16A16_PATTERN"}(n||(n={})),function(t){t[t.UNIFORM=0]="UNIFORM",t[t.DATA_DRIVEN=1]="DATA_DRIVEN",t[t.INTERPOLATED_DATA_DRIVEN=2]="INTERPOLATED_DATA_DRIVEN",t[t.UNUSED=3]="UNUSED"}(i||(i={}));var c=r(63907),h=r(74038);class p{constructor(t){this._locations=new Map,this._key=t}get key(){return this._key}get type(){return 7&this._key}defines(){return[]}getStride(){return this._layout||this._buildAttributesInfo(),this._stride}getAttributeLocations(){return 0===this._locations.size&&this._buildAttributesInfo(),this._locations}getLayoutInfo(){return this._layout||this._buildAttributesInfo(),this._layout}getEncodingInfos(){return this._propertyEncodingInfo||this._buildAttributesInfo(),this._propertyEncodingInfo}getUniforms(){return this._uniforms||this._buildAttributesInfo(),this._uniforms}getShaderHeader(){return this._shaderHeader||this._buildAttributesInfo(),this._shaderHeader}getShaderMain(){return this._shaderMain||this._buildAttributesInfo(),this._shaderMain}setDataUniforms(t,e,r,n,i){const a=this.getUniforms();for(const o of a){const{name:a,type:s,getValue:l}=o,u=l(r,e,n,i);if(null!==u)switch(s){case"float":t.setUniform1f(a,u);break;case"vec2":t.setUniform2fv(a,u);break;case"vec4":t.setUniform4fv(a,u)}}}encodeAttributes(t,e,r,i){const a=this.attributesInfo(),o=this.getEncodingInfos(),s=[];let l=0,u=0;for(const c of Object.keys(o)){const h=o[c],{type:p,precisionFactor:f,isLayout:y}=a[c],g=y?r.getLayoutProperty(c):r.getPaintProperty(c),d=g.interpolator?.getInterpolationRange(e);let m=0;for(const r of h){const{offset:a,bufferElementsToAdd:o}=r;if(o>0){for(let t=0;t<o;t++)s.push(0);l+=u,u=r.bufferElementsToAdd}const c=i??g.getValue(d?d[m]:e,t);switch(p){case n.R8_SIGNED:case n.R8_UNSIGNED:s[l]|=this._encodeByte(c*(f||1),8*a);break;case n.R16_SIGNED:case n.R16_UNSIGNED:s[l]|=this._encodeShort(c*(f||1),8*a);break;case n.R8G8_SIGNED:case n.R8G8_UNSIGNED:s[l]|=this._encodeByte(c*(f||1),8*a),s[l]|=this._encodeByte(c*(f||1),8*a+8);break;case n.R16G16_SIGNED:case n.R16G16_UNSIGNED:s[l]|=this._encodeShort(c*(f||1),8*a),s[l]|=this._encodeShort(c*(f||1),8*a+16);break;case n.R8G8B8A8_SIGNED:case n.R8G8B8A8_UNSIGNED:s[l]|=this._encodeByte(c*(f||1),8*a),s[l]|=this._encodeByte(c*(f||1),8*a+8),s[l]|=this._encodeByte(c*(f||1),8*a+16),s[l]|=this._encodeByte(c*(f||1),8*a+24);break;case n.R8G8B8A8_COLOR:s[l]=this._encodeColor(c);break;case n.R16G16B16A16_DASHARRAY:case n.R16G16B16A16_PATTERN:this._encodePattern(l,s,c);break;default:throw new Error("Unsupported encoding type")}m++}}return s}getAtributeState(t){let e=0;const r=3+2*t;return e|=this._bit(r),e|=this._bit(r+1)<<1,e}static{this._encodingInfo={[n.R8_SIGNED]:{dataType:c.pe.BYTE,bytesPerElement:1,count:1,normalized:!1},[n.R8_UNSIGNED]:{dataType:c.pe.UNSIGNED_BYTE,bytesPerElement:1,count:1,normalized:!1},[n.R16_SIGNED]:{dataType:c.pe.SHORT,bytesPerElement:2,count:1,normalized:!1},[n.R16_UNSIGNED]:{dataType:c.pe.UNSIGNED_SHORT,bytesPerElement:2,count:1,normalized:!1},[n.R8G8_SIGNED]:{dataType:c.pe.BYTE,bytesPerElement:1,count:2,normalized:!1},[n.R8G8_UNSIGNED]:{dataType:c.pe.UNSIGNED_BYTE,bytesPerElement:1,count:2,normalized:!1},[n.R16G16_SIGNED]:{dataType:c.pe.SHORT,bytesPerElement:2,count:2,normalized:!1},[n.R16G16_UNSIGNED]:{dataType:c.pe.UNSIGNED_SHORT,bytesPerElement:2,count:2,normalized:!1},[n.R8G8B8A8_SIGNED]:{dataType:c.pe.BYTE,bytesPerElement:1,count:4,normalized:!1},[n.R8G8B8A8_UNSIGNED]:{dataType:c.pe.UNSIGNED_BYTE,bytesPerElement:1,count:4,normalized:!1},[n.R8G8B8A8_COLOR]:{dataType:c.pe.UNSIGNED_BYTE,bytesPerElement:1,count:4,normalized:!0},[n.R16G16B16A16_DASHARRAY]:{dataType:c.pe.UNSIGNED_SHORT,bytesPerElement:2,count:4,normalized:!1},[n.R16G16B16A16_PATTERN]:{dataType:c.pe.UNSIGNED_SHORT,bytesPerElement:2,count:4,normalized:!1}}}_buildAttributesInfo(){const t=[],e={},r={};let n=-1;const a=this.attributesInfo(),o=this.attributes();let s=-1;for(const l of o){s++;const o=this.getAtributeState(s);if(o===i.UNIFORM||o===i.UNUSED)continue;const u=a[l],c=[];e[l]=c;const h=u.type;for(let e=0;e<o;e++){const{dataType:e,bytesPerElement:i,count:a,normalized:o}=p._encodingInfo[h],s=i*a,l=`${e}-${!0===o}`;let u=r[l],f=0;if(!u||u.count+a>4)n++,u={dataIndex:n,count:0,offset:0},4!==a&&(r[l]=u),t.push({location:-1,name:"a_data_"+n,count:a,type:e,normalized:o}),f=Math.ceil(Math.max(s/4,1));else{const e=t[u.dataIndex];e.count+=a,f=Math.ceil(Math.max(e.count*i/4,1))-Math.ceil(Math.max(u.offset/4,1))}c.push({dataIndex:u.dataIndex,offset:u.offset,bufferElementsToAdd:f}),u.offset+=s,u.count+=a}}for(const e of t)switch(e.type){case c.pe.BYTE:case c.pe.UNSIGNED_BYTE:e.count=4;break;case c.pe.SHORT:case c.pe.UNSIGNED_SHORT:e.count+=e.count%2}this._buildVertexBufferLayout(t);let l=0;const u=this._layout.get("geometry");for(const t of u)this._locations.set(t.name,l++);const h=this._layout.get("opacity");if(h)for(const t of h)this._locations.set(t.name,l++);this._buildShaderInfo(t,e),this._propertyEncodingInfo=e}_buildVertexBufferLayout(t){const e=new Map,r=this.geometryInfo();let n=r[0].stride;if(0===t.length)e.set("geometry",r);else{const i=[];let a=n;for(const e of t)n+=f(e.type)*e.count;for(const t of r)i.push(new h._(t.name,t.count,t.type,t.offset,n,t.normalized));for(const e of t)i.push(new h._(e.name,e.count,e.type,a,n,e.normalized)),a+=f(e.type)*e.count;e.set("geometry",i)}const i=this.opacityInfo();i&&e.set("opacity",i),this._layout=e,this._stride=n}_buildShaderInfo(t,e){let r="\n",a="\n";const o=[];for(const e of t)r+=`attribute ${this._getType(e.count)} ${e.name};\n`;const s=this.attributes(),l=this.attributesInfo();let u=-1;for(const t of s){u++;const{name:s,type:c,precisionFactor:h,isLayout:f}=l[t],g=h&&1!==h?" * "+1/h:"",{bytesPerElement:d,count:m}=p._encodingInfo[c],_=t=>`a_data_${t.dataIndex}${y(m,t.offset,d)}`;switch(this.getAtributeState(u)){case i.UNIFORM:{const e=this._getType(m),i=`u_${s}`;o.push({name:i,type:e,getValue:(e,r,i,a)=>{const o=f?e.getLayoutValue(t,r):e.getPaintValue(t,r);if(c===n.R16G16B16A16_DASHARRAY){const t=e.getDashKey(o,e.getLayoutValue("line-cap",r)),n=a.getMosaicItemPosition(t,!1);if(null==n)return null;const{tl:i,br:s}=n;return[i[0],s[1],s[0],i[1]]}if(c===n.R16G16B16A16_PATTERN){const e=a.getMosaicItemPosition(o,!t.includes("line-"));if(null==e)return null;const{tl:r,br:n}=e;return[r[0],n[1],n[0],r[1]]}if(c===n.R8G8B8A8_COLOR){const t=o[3];return[t*o[0],t*o[1],t*o[2],t]}return o}}),r+=`uniform ${e} ${i};\n`,a+=`${e} ${s} = ${i};\n`}break;case i.DATA_DRIVEN:{const r=_(e[t][0]);a+=`${this._getType(m)} ${s} = ${r}${g};\n`}break;case i.INTERPOLATED_DATA_DRIVEN:{const n=`u_t_${s}`;o.push({name:n,type:"float",getValue:(e,r,n,i)=>(f?e.getLayoutProperty(t):e.getPaintProperty(t)).interpolator.interpolationUniformValue(n,r)}),r+=`uniform float ${n};\n`;const i=_(e[t][0]),l=_(e[t][1]);a+=`${this._getType(m)} ${s} = mix(${i}${g}, ${l}${g}, ${n});\n`}}}this._shaderHeader=r,this._shaderMain=a,this._uniforms=o}_bit(t){return(this._key&1<<t)>>t}_getType(t){switch(t){case 1:return"float";case 2:return"vec2";case 3:return"vec3";case 4:return"vec4"}throw new Error("Invalid count")}_encodeColor(t){const e=255*t[3];return u.A.i8888to32(t[0]*e,t[1]*e,t[2]*e,e)}_encodePattern(t,e,r){if(!r?.rect)return;const n=r.rect,i=r.width,a=r.height;e[t]=this._encodeShort(n.x+2,0),e[t]|=this._encodeShort(n.y+2+a,16),e[t+1]=this._encodeShort(n.x+2+i,0),e[t+1]|=this._encodeShort(n.y+2,16)}_encodeByte(t,e){return(255&t)<<e}_encodeShort(t,e){return(65535&t)<<e}}const f=t=>{switch(t){case c.pe.FLOAT:case c.pe.INT:case c.pe.UNSIGNED_INT:return 4;case c.pe.SHORT:case c.pe.UNSIGNED_SHORT:case c.pe.HALF_FLOAT:return 2;case c.pe.BYTE:case c.pe.UNSIGNED_BYTE:return 1}},y=(t,e,r)=>{const n=e/r;if(1===t)switch(n){case 0:return".x";case 1:return".y";case 2:return".z";case 3:return".w"}else if(2===t)switch(n){case 0:return".xy";case 1:return".yz";case 2:return".zw"}else if(3===t)switch(n){case 0:return".xyz";case 1:return".yzw"}return""};class g extends p{static{this.ATTRIBUTES=[]}static{this.GEOMETRY_LAYOUT=[new h._("a_pos",2,c.pe.BYTE,0,2)]}static{this.ATTRIBUTES_INFO={}}constructor(t){super(t)}geometryInfo(){return g.GEOMETRY_LAYOUT}opacityInfo(){return null}attributes(){return g.ATTRIBUTES}attributesInfo(){return g.ATTRIBUTES_INFO}}class d extends p{static{this.ATTRIBUTES=["circle-radius","circle-color","circle-opacity","circle-stroke-width","circle-stroke-color","circle-stroke-opacity","circle-blur"]}static{this.GEOMETRY_LAYOUT=[new h._("a_pos",2,c.pe.SHORT,0,4)]}static{this.ATTRIBUTES_INFO={"circle-radius":{name:"radius",type:n.R8_UNSIGNED},"circle-color":{name:"color",type:n.R8G8B8A8_COLOR},"circle-opacity":{name:"opacity",type:n.R8_UNSIGNED,precisionFactor:100},"circle-stroke-width":{name:"stroke_width",type:n.R8_UNSIGNED,precisionFactor:4},"circle-stroke-color":{name:"stroke_color",type:n.R8G8B8A8_COLOR},"circle-stroke-opacity":{name:"stroke_opacity",type:n.R8_UNSIGNED,precisionFactor:100},"circle-blur":{name:"blur",type:n.R8_UNSIGNED,precisionFactor:32}}}constructor(t){super(t)}geometryInfo(){return d.GEOMETRY_LAYOUT}opacityInfo(){return null}attributes(){return d.ATTRIBUTES}attributesInfo(){return d.ATTRIBUTES_INFO}}class m extends p{static{this.ATTRIBUTES=["fill-color","fill-opacity","fill-pattern"]}static{this.GEOMETRY_LAYOUT=[new h._("a_pos",2,c.pe.SHORT,0,4)]}static{this.ATTRIBUTES_INFO={"fill-color":{name:"color",type:n.R8G8B8A8_COLOR},"fill-opacity":{name:"opacity",type:n.R8_UNSIGNED,precisionFactor:100},"fill-pattern":{name:"tlbr",type:n.R16G16B16A16_PATTERN,isOptional:!0}}}constructor(t){super(t)}geometryInfo(){return m.GEOMETRY_LAYOUT}opacityInfo(){return null}attributes(){return m.ATTRIBUTES}attributesInfo(){return m.ATTRIBUTES_INFO}}class _ extends p{static{this.ATTRIBUTES_OUTLINE=["fill-outline-color","fill-opacity"]}static{this.ATTRIBUTES_FILL=["fill-color","fill-opacity"]}static{this.GEOMETRY_LAYOUT=[new h._("a_pos",2,c.pe.SHORT,0,8),new h._("a_offset",2,c.pe.BYTE,4,8),new h._("a_xnormal",2,c.pe.BYTE,6,8)]}static{this.ATTRIBUTES_INFO_OUTLINE={"fill-outline-color":{name:"color",type:n.R8G8B8A8_COLOR},"fill-opacity":{name:"opacity",type:n.R8_UNSIGNED,precisionFactor:100}}}static{this.ATTRIBUTES_INFO_FILL={"fill-color":{name:"color",type:n.R8G8B8A8_COLOR},"fill-opacity":{name:"opacity",type:n.R8_UNSIGNED,precisionFactor:100}}}constructor(t,e){super(t),this._usefillColor=e}geometryInfo(){return _.GEOMETRY_LAYOUT}opacityInfo(){return null}attributes(){return this._usefillColor?_.ATTRIBUTES_FILL:_.ATTRIBUTES_OUTLINE}attributesInfo(){return this._usefillColor?_.ATTRIBUTES_INFO_FILL:_.ATTRIBUTES_INFO_OUTLINE}}class b extends p{static{this.ATTRIBUTES=["line-blur","line-color","line-gap-width","line-offset","line-opacity","line-width","line-pattern","line-dasharray"]}static{this.GEOMETRY_LAYOUT=[new h._("a_pos",2,c.pe.SHORT,0,16),new h._("a_extrude_offset",4,c.pe.BYTE,4,16),new h._("a_dir_normal",4,c.pe.BYTE,8,16),new h._("a_accumulatedDistance",2,c.pe.UNSIGNED_SHORT,12,16)]}static{this.ATTRIBUTES_INFO={"line-width":{name:"width",type:n.R8_UNSIGNED,precisionFactor:2},"line-gap-width":{name:"gap_width",type:n.R8_UNSIGNED,precisionFactor:2},"line-offset":{name:"offset",type:n.R8_SIGNED,precisionFactor:2},"line-color":{name:"color",type:n.R8G8B8A8_COLOR},"line-opacity":{name:"opacity",type:n.R8_UNSIGNED,precisionFactor:100},"line-blur":{name:"blur",type:n.R8_UNSIGNED,precisionFactor:4},"line-pattern":{name:"tlbr",type:n.R16G16B16A16_PATTERN,isOptional:!0},"line-dasharray":{name:"tlbr",type:n.R16G16B16A16_DASHARRAY,isOptional:!0}}}constructor(t){super(t)}geometryInfo(){return b.GEOMETRY_LAYOUT}opacityInfo(){return null}attributes(){return b.ATTRIBUTES}attributesInfo(){return b.ATTRIBUTES_INFO}}const E=[new h._("a_pos",2,c.pe.SHORT,0,16),new h._("a_vertexOffset",2,c.pe.SHORT,4,16),new h._("a_texAngleRange",4,c.pe.UNSIGNED_BYTE,8,16),new h._("a_levelInfo",4,c.pe.UNSIGNED_BYTE,12,16)],T=[new h._("a_opacityInfo",1,c.pe.UNSIGNED_BYTE,0,1)];class I extends p{static{this.ATTRIBUTES=["icon-color","icon-opacity","icon-halo-blur","icon-halo-color","icon-halo-width","icon-size"]}static{this.ATTRIBUTES_INFO={"icon-color":{name:"color",type:n.R8G8B8A8_COLOR},"icon-opacity":{name:"opacity",type:n.R8_UNSIGNED,precisionFactor:100},"icon-halo-color":{name:"halo_color",type:n.R8G8B8A8_COLOR},"icon-halo-width":{name:"halo_width",type:n.R8_UNSIGNED,precisionFactor:4},"icon-halo-blur":{name:"halo_blur",type:n.R8_UNSIGNED,precisionFactor:4},"icon-size":{name:"size",type:n.R8_UNSIGNED,precisionFactor:32,isLayout:!0}}}constructor(t){super(t)}geometryInfo(){return E}opacityInfo(){return T}attributes(){return I.ATTRIBUTES}attributesInfo(){return I.ATTRIBUTES_INFO}}class w extends p{static{this.ATTRIBUTES=["text-color","text-opacity","text-halo-blur","text-halo-color","text-halo-width","text-size"]}static{this.ATTRIBUTES_INFO={"text-color":{name:"color",type:n.R8G8B8A8_COLOR},"text-opacity":{name:"opacity",type:n.R8_UNSIGNED,precisionFactor:100},"text-halo-color":{name:"halo_color",type:n.R8G8B8A8_COLOR},"text-halo-width":{name:"halo_width",type:n.R8_UNSIGNED,precisionFactor:4},"text-halo-blur":{name:"halo_blur",type:n.R8_UNSIGNED,precisionFactor:4},"text-size":{name:"size",type:n.R8_UNSIGNED,isLayout:!0}}}constructor(t){super(t)}geometryInfo(){return E}opacityInfo(){return T}attributes(){return w.ATTRIBUTES}attributesInfo(){return w.ATTRIBUTES_INFO}}var v=r(68197),R=r(85334),A=r(6774);function N(t,e,r,n){const i=3*t,a=3*(r-t)-i,o=1-i-a,s=3*e,l=3*(n-e)-s,u=1-s-l;function c(t){return((o*t+a)*t+i)*t}function h(t){return(3*o*t+2*a)*t+i}return function(t,e=1e-6){return function(t){return((u*t+l)*t+s)*t}(function(t,e){let r,n,i,a,o,s;for(i=t,s=0;s<8;s++){if(a=c(i)-t,Math.abs(a)<e)return i;if(o=h(i),Math.abs(o)<1e-6)break;i-=a/o}if(r=0,n=1,i=t,i<r)return r;if(i>n)return n;for(;r<n;){if(a=c(i),Math.abs(a-t)<e)return i;t>a?r=i:n=i,i=.5*(n-r)+r}return i}(t,e))}}const D={};D.ease=N(.25,.1,.25,1),D.linear=N(0,0,1,1),D.easeIn=D["ease-in"]=N(.42,0,1,1),D.easeOut=D["ease-out"]=N(0,0,.58,1),D.easeInOut=D["ease-in-out"]=N(.42,0,.58,1);const L={kind:"null"},P={kind:"number"},S={kind:"string"},x={kind:"boolean"},O={kind:"color"},B={kind:"object"},U={kind:"value"};function C(t,e){return{kind:"array",itemType:t,n:e}}const G=[L,P,S,x,O,B,C(U)];function M(t){if("array"===t.kind){const e=M(t.itemType);return"number"==typeof t.n?`array<${e}, ${t.n}>`:"value"===t.itemType.kind?"array":`array<${e}>`}return t.kind}function k(t){if(null===t)return L;if("string"==typeof t)return S;if("boolean"==typeof t)return x;if("number"==typeof t)return P;if(t instanceof v.A)return O;if(Array.isArray(t)){let e;for(const r of t){const t=k(r);if(e){if(e!==t){e=U;break}}else e=t}return C(e||U,t.length)}return"object"==typeof t?B:U}function F(t,e){if("array"===e.kind)return"array"===t.kind&&(0===t.n&&"value"===t.itemType.kind||F(t.itemType,e.itemType))&&("number"!=typeof e.n||e.n===t.n);if("value"===e.kind)for(const e of G)if(F(t,e))return!0;return e.kind===t.kind}function V(t){if(null===t)return"";const e=typeof t;return"string"===e?t:"number"===e||"boolean"===e?String(t):t instanceof v.A?t.toString():JSON.stringify(t)}class z{constructor(t){this._parent=t,this._vars={}}add(t,e){this._vars[t]=e}get(t){return this._vars[t]?this._vars[t]:this._parent?this._parent.get(t):null}}class ${constructor(){this.type=U}static parse(t){if(t.length>1)throw new Error('"id" does not expect arguments');return new $}evaluate(t,e){return t?.id}}class H{constructor(){this.type=S}static parse(t){if(t.length>1)throw new Error('"geometry-type" does not expect arguments');return new H}evaluate(t,e){if(!t)return null;switch(t.type){case A.dC.Point:return"Point";case A.dC.LineString:return"LineString";case A.dC.Polygon:return"Polygon";default:return null}}}class W{constructor(){this.type=B}static parse(t){if(t.length>1)throw new Error('"properties" does not expect arguments');return new W}evaluate(t,e){return t?.values}}class Y{constructor(){this.type=P}static parse(t){if(t.length>1)throw new Error('"zoom" does not expect arguments');return new Y}evaluate(t,e){return e}}class q{constructor(t,e,r){this._lhs=t,this._rhs=e,this._compare=r,this.type=x}static parse(t,e,r){if(3!==t.length&&4!==t.length)throw new Error(`"${t[0]}" expects 2 or 3 arguments`);if(4===t.length)throw new Error(`"${t[0]}" collator not supported`);return new q(vt(t[1],e),vt(t[2],e),r)}evaluate(t,e){return this._compare(this._lhs.evaluate(t,e),this._rhs.evaluate(t,e))}}class K{constructor(t){this._arg=t,this.type=x}static parse(t,e){if(2!==t.length)throw new Error('"!" expects 1 argument');return new K(vt(t[1],e))}evaluate(t,e){return!this._arg.evaluate(t,e)}}class j{constructor(t){this._args=t,this.type=x}static parse(t,e){const r=[];for(let n=1;n<t.length;n++)r.push(vt(t[n],e));return new j(r)}evaluate(t,e){for(const r of this._args)if(!r.evaluate(t,e))return!1;return!0}}class Z{constructor(t){this._args=t,this.type=x}static parse(t,e){const r=[];for(let n=1;n<t.length;n++)r.push(vt(t[n],e));return new Z(r)}evaluate(t,e){for(const r of this._args)if(r.evaluate(t,e))return!0;return!1}}class J{constructor(t){this._args=t,this.type=x}static parse(t,e){const r=[];for(let n=1;n<t.length;n++)r.push(vt(t[n],e));return new J(r)}evaluate(t,e){for(const r of this._args)if(r.evaluate(t,e))return!1;return!0}}class X{constructor(t,e,r){this.type=t,this._args=e,this._fallback=r}static parse(t,e,r){if(t.length<4)throw new Error('"case" expects at least 3 arguments');if(t.length%2==1)throw new Error('"case" expects an odd number of arguments');let n;const i=[];for(let a=1;a<t.length-1;a+=2){const o=vt(t[a],e),s=vt(t[a+1],e,r);n||(n=s.type),i.push({condition:o,output:s})}const a=vt(t[t.length-1],e,r);return n||(n=a.type),new X(n,i,a)}evaluate(t,e){for(const r of this._args)if(r.condition.evaluate(t,e))return r.output.evaluate(t,e);return this._fallback.evaluate(t,e)}}class Q{constructor(t,e){this.type=t,this._args=e}static parse(t,e){if(t.length<2)throw new Error('"coalesce" expects at least 1 argument');let r;const n=[];for(let i=1;i<t.length;i++){const a=vt(t[i],e);r||(r=a.type),n.push(a)}return new Q(r,n)}evaluate(t,e){for(const r of this._args){const n=r.evaluate(t,e);if(null!==n)return n}return null}}class tt{constructor(t,e,r,n,i){this.type=t,this._input=e,this._labels=r,this._outputs=n,this._fallback=i}static parse(t,e){if(t.length<3)throw new Error('"match" expects at least 3 arguments');if(t.length%2==0)throw new Error('"case" expects an even number of arguments');let r;const n=vt(t[1],e),i=[],a={};let o;for(let n=2;n<t.length-1;n+=2){let s=t[n];Array.isArray(s)||(s=[s]);for(const t of s){const e=typeof t;if("string"!==e&&"number"!==e)throw new Error('"match" requires string or number literal as labels');if(o){if(e!==o)throw new Error('"match" requires labels to have the same type')}else o=e;a[t]=i.length}const l=vt(t[n+1],e);r||(r=l.type),i.push(l)}return new tt(r,n,a,i,vt(t[t.length-1],e))}evaluate(t,e){const r=this._input.evaluate(t,e);return(this._outputs[this._labels[r]]||this._fallback).evaluate(t,e)}}class et{constructor(t,e,r,n,i){this._operator=t,this.type=e,this.interpolation=r,this.input=n,this._stops=i}static parse(t,e,r){const n=t[0];if(t.length<5)throw new Error(`"${n}" expects at least 4 arguments`);const i=t[1];if(!Array.isArray(i)||0===i.length)throw new Error(`"${i}" is not a valid interpolation`);switch(i[0]){case"linear":if(1!==i.length)throw new Error("Linear interpolation cannot have parameters");break;case"exponential":if(2!==i.length||"number"!=typeof i[1])throw new Error("Exponential interpolation requires one numeric argument");break;case"cubic-bezier":if(5!==i.length)throw new Error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1");for(let t=1;t<5;t++){const e=i[t];if("number"!=typeof e||e<0||e>1)throw new Error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1")}break;default:throw new Error(`"${t[0]}" unknown interpolation type "${i[0]}"`)}if(t.length%2!=1)throw new Error(`"${n}" expects an even number of arguments`);const a=vt(t[2],e,P);let o;"interpolate-hcl"===n||"interpolate-lab"===n?o=O:r&&"value"!==r.kind&&(o=r);const s=[];for(let r=3;r<t.length;r+=2){const i=t[r];if("number"!=typeof i)throw new Error(`"${n}" requires stop inputs as literal numbers`);if(s.length&&s[s.length-1][0]>=i)throw new Error(`"${n}" requires strictly ascending stop inputs`);const a=vt(t[r+1],e,o);o||(o=a.type),s.push([i,a])}if(o&&o!==O&&o!==P&&("array"!==o.kind||o.itemType!==P))throw new Error(`"${n}" cannot interpolate type ${M(o)}`);return new et(n,o,i,a,s)}evaluate(t,e){const r=this._stops;if(1===r.length)return r[0][1].evaluate(t,e);const n=this.input.evaluate(t,e);if(n<=r[0][0])return r[0][1].evaluate(t,e);if(n>=r[r.length-1][0])return r[r.length-1][1].evaluate(t,e);let i=0;for(;++i<r.length&&!(n<r[i][0]););const a=r[i-1][0],o=r[i][0],s=et.interpolationRatio(this.interpolation,n,a,o),u=r[i-1][1].evaluate(t,e),c=r[i][1].evaluate(t,e);if("interpolate"===this._operator){if("array"===this.type.kind&&Array.isArray(u)&&Array.isArray(c))return u.map(((t,e)=>(0,l.GW)(t,c[e],s)));if("color"===this.type.kind&&u instanceof v.A&&c instanceof v.A){const t=new v.A(u),e=new v.A(c);return new v.A([(0,l.GW)(t.r,e.r,s),(0,l.GW)(t.g,e.g,s),(0,l.GW)(t.b,e.b,s),(0,l.GW)(t.a,e.a,s)])}if("number"===this.type.kind&&"number"==typeof u&&"number"==typeof c)return(0,l.GW)(u,c,s);throw new Error(`"${this._operator}" cannot interpolate type ${M(this.type)}`)}if("interpolate-hcl"===this._operator){const t=(0,R.RH)(u),e=(0,R.RH)(c),r=e.h-t.h,n=(0,R.$)({h:t.h+s*(r>180||r<-180?r-360*Math.round(r/360):r),c:(0,l.GW)(t.c,e.c,s),l:(0,l.GW)(t.l,e.l,s)});return new v.A({a:(0,l.GW)(u.a,c.a,s),...n})}if("interpolate-lab"===this._operator){const t=(0,R.ZD)(u),e=(0,R.ZD)(c),r=(0,R.$)({l:(0,l.GW)(t.l,e.l,s),a:(0,l.GW)(t.a,e.a,s),b:(0,l.GW)(t.b,e.b,s)});return new v.A({a:(0,l.GW)(u.a,c.a,s),...r})}throw new Error(`Unexpected operator "${this._operator}"`)}interpolationUniformValue(t,e){const r=this._stops;if(1===r.length)return 0;if(t>=r[r.length-1][0])return 0;let n=0;for(;++n<r.length&&!(t<r[n][0]););const i=r[n-1][0],a=r[n][0];return et.interpolationRatio(this.interpolation,e,i,a)}getInterpolationRange(t){const e=this._stops;if(1===e.length){const t=e[0][0];return[t,t]}const r=e[e.length-1][0];if(t>=r)return[r,r];let n=0;for(;++n<e.length&&!(t<e[n][0]););return[e[n-1][0],e[n][0]]}static interpolationRatio(t,e,r,n){let i=0;return"linear"===t[0]?i=et._exponentialInterpolationRatio(e,1,r,n):"exponential"===t[0]?i=et._exponentialInterpolationRatio(e,t[1],r,n):"cubic-bezier"===t[0]&&(i=N(t[1],t[2],t[3],t[4])(et._exponentialInterpolationRatio(e,1,r,n),1e-5)),i<0?i=0:i>1&&(i=1),i}static _exponentialInterpolationRatio(t,e,r,n){const i=n-r;if(0===i)return 0;const a=t-r;return 1===e?a/i:(e**a-1)/(e**i-1)}}class rt{constructor(t,e,r){this.type=t,this._input=e,this._stops=r}static parse(t,e){if(t.length<5)throw new Error('"step" expects at least 4 arguments');if(t.length%2!=1)throw new Error('"step" expects an even number of arguments');const r=vt(t[1],e,P);let n;const i=[];i.push([-1/0,vt(t[2],e)]);for(let r=3;r<t.length;r+=2){const a=t[r];if("number"!=typeof a)throw new Error('"step" requires stop inputs as literal numbers');if(i.length&&i[i.length-1][0]>=a)throw new Error('"step" requires strictly ascending stop inputs');const o=vt(t[r+1],e);n||(n=o.type),i.push([a,o])}return new rt(n,r,i)}evaluate(t,e){const r=this._stops;if(1===r.length)return r[0][1].evaluate(t,e);const n=this._input.evaluate(t,e);let i=0;for(;++i<r.length&&!(n<r[i][0]););return this._stops[i-1][1].evaluate(t,e)}}class nt{constructor(t,e){this.type=t,this._output=e}static parse(t,e,r){if(t.length<4)throw new Error('"let" expects at least 3 arguments');if(t.length%2==1)throw new Error('"let" expects an odd number of arguments');const n=new z(e);for(let r=1;r<t.length-1;r+=2){const i=t[r];if("string"!=typeof i)throw new Error(`"let" requires a string to define variable names - found ${i}`);n.add(i,vt(t[r+1],e))}const i=vt(t[t.length-1],n,r);return new nt(i.type,i)}evaluate(t,e){return this._output.evaluate(t,e)}}class it{constructor(t,e){this.type=t,this.output=e}static parse(t,e,r){if(2!==t.length||"string"!=typeof t[1])throw new Error('"var" requires just one literal string argument');const n=e.get(t[1]);if(!n)throw new Error(`${t[1]} must be defined before being used in a "var" expression`);return new it(r||U,n)}evaluate(t,e){return this.output.evaluate(t,e)}}class at{constructor(t,e,r){this.type=t,this._index=e,this._array=r}static parse(t,e){if(3!==t.length)throw new Error('"at" expects 2 arguments');const r=vt(t[1],e,P),n=vt(t[2],e);return new at(n.type.itemType,r,n)}evaluate(t,e){const r=this._index.evaluate(t,e),n=this._array.evaluate(t,e);if(r<0||r>=n.length)throw new Error('"at" index out of bounds');if(r!==Math.floor(r))throw new Error('"at" index must be an integer');return n[r]}}class ot{constructor(t,e){this._key=t,this._obj=e,this.type=U}static parse(t,e){let r,n;switch(t.length){case 2:return r=vt(t[1],e),new ot(r);case 3:return r=vt(t[1],e),n=vt(t[2],e),new ot(r,n);default:throw new Error('"get" expects 1 or 2 arguments')}}evaluate(t,e){const r=this._key.evaluate(t,e);return this._obj?this._obj.evaluate(t,e)[r]:t?.values[r]}}class st{constructor(t,e){this._key=t,this._obj=e,this.type=x}static parse(t,e){let r,n;switch(t.length){case 2:return r=vt(t[1],e),new st(r);case 3:return r=vt(t[1],e),n=vt(t[2],e),new st(r,n);default:throw new Error('"has" expects 1 or 2 arguments')}}evaluate(t,e){const r=this._key.evaluate(t,e);return this._obj?r in this._obj.evaluate(t,e):!!t?.values[r]}}class lt{constructor(t,e){this._key=t,this._vals=e,this.type=x}static parse(t,e){if(3!==t.length)throw new Error('"in" expects 2 arguments');return new lt(vt(t[1],e),vt(t[2],e))}evaluate(t,e){const r=this._key.evaluate(t,e);return this._vals.evaluate(t,e).includes(r)}}class ut{constructor(t,e,r){this._item=t,this._array=e,this._from=r,this.type=P}static parse(t,e){if(t.length<3||t.length>4)throw new Error('"index-of" expects 3 or 4 arguments');const r=vt(t[1],e),n=vt(t[2],e);if(4===t.length){const i=vt(t[3],e,P);return new ut(r,n,i)}return new ut(r,n)}evaluate(t,e){const r=this._item.evaluate(t,e),n=this._array.evaluate(t,e);if(this._from){const i=this._from.evaluate(t,e);if(i!==Math.floor(i))throw new Error('"index-of" index must be an integer');return n.indexOf(r,i)}return n.indexOf(r)}}class ct{constructor(t){this._arg=t,this.type=P}static parse(t,e){if(2!==t.length)throw new Error('"length" expects 2 arguments');const r=vt(t[1],e);return new ct(r)}evaluate(t,e){const r=this._arg.evaluate(t,e);if("string"==typeof r)return r.length;if(Array.isArray(r))return r.length;throw new Error('"length" expects string or array')}}class ht{constructor(t,e,r,n){this.type=t,this._array=e,this._from=r,this._to=n}static parse(t,e){if(t.length<3||t.length>4)throw new Error('"slice" expects 2 or 3 arguments');const r=vt(t[1],e),n=vt(t[2],e,P);if(n.type!==P)throw new Error('"slice" index must return a number');if(4===t.length){const i=vt(t[3],e,P);if(i.type!==P)throw new Error('"slice" index must return a number');return new ht(r.type,r,n,i)}return new ht(r.type,r,n)}evaluate(t,e){const r=this._array.evaluate(t,e);if(!Array.isArray(r)&&"string"!=typeof r)throw new Error('"slice" input must be an array or a string');const n=this._from.evaluate(t,e);if(n<0||n>=r.length)throw new Error('"slice" index out of bounds');if(n!==Math.floor(n))throw new Error('"slice" index must be an integer');if(this._to){const i=this._to.evaluate(t,e);if(i<0||i>=r.length)throw new Error('"slice" index out of bounds');if(i!==Math.floor(i))throw new Error('"slice" index must be an integer');return r.slice(n,i)}return r.slice(n)}}class pt{constructor(){this.type=x}static parse(t){if(1!==t.length)throw new Error('"has-id" expects no arguments');return new pt}evaluate(t,e){return void 0!==t?.id}}class ft{constructor(t,e){this._args=t,this._calculate=e,this.type=P}static parse(t,e,r){const n=t.slice(1).map((t=>vt(t,e)));return new ft(n,r)}evaluate(t,e){let r;return this._args&&(r=this._args.map((r=>r.evaluate(t,e)))),this._calculate(r)}}class yt{constructor(t,e){this._args=t,this._calculate=e,this.type=P}static{this.ops={abs:t=>Math.abs(t[0]),acos:t=>Math.acos(t[0]),asin:t=>Math.asin(t[0]),atan:t=>Math.atan(t[0]),ceil:t=>Math.ceil(t[0]),cos:t=>Math.cos(t[0]),e:()=>Math.E,floor:t=>Math.floor(t[0]),ln:t=>Math.log(t[0]),ln2:()=>Math.LN2,log10:t=>Math.log(t[0])/Math.LN10,log2:t=>Math.log(t[0])/Math.LN2,max:t=>Math.max(...t),min:t=>Math.min(...t),pi:()=>Math.PI,round:t=>Math.round(t[0]),sin:t=>Math.sin(t[0]),sqrt:t=>Math.sqrt(t[0]),tan:t=>Math.tan(t[0])}}static parse(t,e){const r=t.slice(1).map((t=>vt(t,e)));return new yt(r,yt.ops[t[0]])}evaluate(t,e){let r;return this._args&&(r=this._args.map((r=>r.evaluate(t,e)))),this._calculate(r)}}class gt{constructor(t){this._args=t,this.type=S}static parse(t,e){return new gt(t.slice(1).map((t=>vt(t,e))))}evaluate(t,e){return this._args.map((r=>r.evaluate(t,e))).join("")}}class dt{constructor(t,e){this._arg=t,this._calculate=e,this.type=S}static{this.ops={downcase:t=>t.toLowerCase(),upcase:t=>t.toUpperCase()}}static parse(t,e){if(2!==t.length)throw new Error(`${t[0]} expects 1 argument`);const r=vt(t[1],e);return new dt(r,dt.ops[t[0]])}evaluate(t,e){return this._calculate(this._arg.evaluate(t,e))}}class mt{constructor(t){this._args=t,this.type=O}static parse(t,e){if(4!==t.length)throw new Error('"rgb" expects 3 arguments');const r=t.slice(1).map((t=>vt(t,e)));return new mt(r)}evaluate(t,e){const r=this._validate(this._args[0].evaluate(t,e)),n=this._validate(this._args[1].evaluate(t,e)),i=this._validate(this._args[2].evaluate(t,e));return new v.A({r,g:n,b:i})}_validate(t){if("number"!=typeof t||t<0||t>255)throw new Error(`${t}: invalid color component`);return Math.round(t)}}class _t{constructor(t){this._args=t,this.type=O}static parse(t,e){if(5!==t.length)throw new Error('"rgba" expects 4 arguments');const r=t.slice(1).map((t=>vt(t,e)));return new _t(r)}evaluate(t,e){const r=this._validate(this._args[0].evaluate(t,e)),n=this._validate(this._args[1].evaluate(t,e)),i=this._validate(this._args[2].evaluate(t,e)),a=this._validateAlpha(this._args[3].evaluate(t,e));return new v.A({r,g:n,b:i,a})}_validate(t){if("number"!=typeof t||t<0||t>255)throw new Error(`${t}: invalid color component`);return Math.round(t)}_validateAlpha(t){if("number"!=typeof t||t<0||t>1)throw new Error(`${t}: invalid alpha color component`);return t}}class bt{constructor(t){this._color=t,this.type=C(P,4)}static parse(t,e){if(2!==t.length)throw new Error('"to-rgba" expects 1 argument');const r=vt(t[1],e);return new bt(r)}evaluate(t,e){return new v.A(this._color.evaluate(t,e)).toRgba()}}class Et{constructor(t,e){this.type=t,this._args=e}static parse(t,e){const r=t[0];if(t.length<2)throw new Error(`${r} expects at least one argument`);let n,i=1;if("array"===r){if(t.length>2){switch(t[1]){case"string":n=S;break;case"number":n=P;break;case"boolean":n=x;break;default:throw new Error('"array" type argument must be string, number or boolean')}i++}else n=U;let e;if(t.length>3){if(e=t[2],null!==e&&("number"!=typeof e||e<0||e!==Math.floor(e)))throw new Error('"array" length argument must be a positive integer literal');i++}n=C(n,e)}else switch(r){case"string":n=S;break;case"number":n=P;break;case"boolean":n=x;break;case"object":n=B}const a=[];for(;i<t.length;i++){const r=vt(t[i],e);a.push(r)}return new Et(n,a)}evaluate(t,e){let r;for(const n of this._args){const i=n.evaluate(t,e);if(r=k(i),F(r,this.type))return i}throw new Error(`Expected ${M(this.type)} but got ${M(r)}`)}}class Tt{static{this.types={"to-boolean":x,"to-color":O,"to-number":P,"to-string":S}}constructor(t,e){this.type=t,this._args=e}static parse(t,e){const r=t[0],n=Tt.types[r];if(n===x||n===S){if(2!==t.length)throw new Error(`${r} expects one argument`)}else if(t.length<2)throw new Error(`${r} expects at least one argument`);const i=[];for(let r=1;r<t.length;r++){const n=vt(t[r],e);i.push(n)}return new Tt(n,i)}evaluate(t,e){if(this.type===x)return Boolean(this._args[0].evaluate(t,e));if(this.type===S)return V(this._args[0].evaluate(t,e));if(this.type===P){for(const r of this._args){const n=Number(r.evaluate(t,e));if(!isNaN(n))return n}return null}if(this.type===O){for(const r of this._args)try{const n=Tt.toColor(r.evaluate(t,e));if(n instanceof v.A)return n}catch{}return null}}static toBoolean(t){return Boolean(t)}static toString(t){return V(t)}static toNumber(t){const e=Number(t);if(isNaN(e))throw new Error(`"${t}" is not a number`);return e}static toColor(t){if(t instanceof v.A)return t;if("string"==typeof t){const e=v.A.fromString(t);if(e)return e;throw new Error(`"${t}" is not a color`)}if(Array.isArray(t))return v.A.fromArray(t);throw new Error(`"${t}" is not a color`)}}class It{constructor(t){this._val=t,this.type=k(t)}static parse(t){if(2!==t.length)throw new Error('"literal" expects 1 argument');return new It(t[1])}evaluate(t,e){return this._val}}class wt{constructor(t){this._arg=t,this.type=S}static parse(t,e){if(2!==t.length)throw new Error('"typeof" expects 1 argument');return new wt(vt(t[1],e))}evaluate(t,e){return M(k(this._arg.evaluate(t,e)))}}function vt(t,e,r){const n=typeof t;if("string"===n||"boolean"===n||"number"===n||null===t){if(r)switch(r.kind){case"string":"string"!==n&&(t=Tt.toString(t));break;case"number":"number"!==n&&(t=Tt.toNumber(t));break;case"color":t=Tt.toColor(t)}t=["literal",t]}if(!Array.isArray(t)||0===t.length)throw new Error("Expression must be a non empty array");const i=t[0];if("string"!=typeof i)throw new Error("First element of expression must be a string");const a=Rt[i];if(void 0===a)throw new Error(`Invalid expression operator "${i}"`);if(!a)throw new Error(`Unimplemented expression operator "${i}"`);return a.parse(t,e,r)}const Rt={array:Et,boolean:Et,collator:null,format:null,image:null,literal:It,number:Et,"number-format":null,object:Et,string:Et,"to-boolean":Tt,"to-color":Tt,"to-number":Tt,"to-string":Tt,typeof:wt,accumulated:null,"feature-state":null,"geometry-type":H,id:$,"line-progress":null,properties:W,at,get:ot,has:st,in:lt,"index-of":ut,length:ct,slice:ht,"!":K,"!=":class extends q{static parse(t,e){return q.parse(t,e,((t,e)=>t!==e))}},"<":class extends q{static parse(t,e){return q.parse(t,e,((t,e)=>t<e))}},"<=":class extends q{static parse(t,e){return q.parse(t,e,((t,e)=>t<=e))}},"==":class extends q{static parse(t,e){return q.parse(t,e,((t,e)=>t===e))}},">":class extends q{static parse(t,e){return q.parse(t,e,((t,e)=>t>e))}},">=":class extends q{static parse(t,e){return q.parse(t,e,((t,e)=>t>=e))}},all:j,any:Z,case:X,coalesce:Q,match:tt,within:null,interpolate:et,"interpolate-hcl":et,"interpolate-lab":et,step:rt,let:nt,var:it,concat:gt,downcase:dt,"is-supported-script":null,"resolved-locale":null,upcase:dt,rgb:mt,rgba:_t,"to-rgba":bt,"-":class extends ft{static parse(t,e){switch(t.length){case 2:return ft.parse(t,e,(t=>-t[0]));case 3:return ft.parse(t,e,(t=>t[0]-t[1]));default:throw new Error('"-" expects 1 or 2 arguments')}}},"*":class extends ft{static parse(t,e){return ft.parse(t,e,(t=>{let e=1;for(const r of t)e*=r;return e}))}},"/":class extends ft{static parse(t,e){if(3===t.length)return ft.parse(t,e,(t=>t[0]/t[1]));throw new Error('"/" expects 2 arguments')}},"%":class extends ft{static parse(t,e){if(3===t.length)return ft.parse(t,e,(t=>t[0]%t[1]));throw new Error('"%" expects 2 arguments')}},"^":class extends ft{static parse(t,e){if(3===t.length)return ft.parse(t,e,(t=>t[0]**t[1]));throw new Error('"^" expects 1 or 2 arguments')}},"+":class extends ft{static parse(t,e){return ft.parse(t,e,(t=>{let e=0;for(const r of t)e+=r;return e}))}},abs:yt,acos:yt,asin:yt,atan:yt,ceil:yt,cos:yt,e:yt,floor:yt,ln:yt,ln2:yt,log10:yt,log2:yt,max:yt,min:yt,pi:yt,round:yt,sin:yt,sqrt:yt,tan:yt,zoom:Y,"heatmap-density":null,"has-id":pt,none:J};class At{constructor(t){this._expression=t}filter(t,e){if(!this._expression)return!0;try{return this._expression.evaluate(t,e)}catch(t){return console.log(t.message),!0}}static createFilter(t){if(!t)return null;this.isLegacyFilter(t)&&(t=this.convertLegacyFilter(t));try{const e=vt(t,null,x);return new At(e)}catch(t){return console.log(t.message),null}}static isLegacyFilter(t){if(!Array.isArray(t))return!0;if(0===t.length)return!0;switch(t[0]){case"==":case"!=":case">":case"<":case">=":case"<=":return 3===t.length&&"string"==typeof t[1]&&!Array.isArray(t[2]);case"in":return t.length>=3&&"string"==typeof t[1]&&!Array.isArray(t[2]);case"!in":case"none":case"!has":return!0;case"any":case"all":for(let e=1;e<t.length;e++)if(this.isLegacyFilter(t[e]))return!0;return!1;case"has":return 2===t.length&&("$id"===t[1]||"$type"===t[1]);default:return!1}}static convertLegacyFilter(t){if(!Array.isArray(t)||0===t.length)return!0;const e=t[0];if(1===t.length)return"any"!==e;switch(e){case"==":return At.convertComparison("==",t[1],t[2]);case"!=":return At.negate(At.convertComparison("==",t[1],t[2]));case">":case"<":case">=":case"<=":return At.convertComparison(e,t[1],t[2]);case"in":return At.convertIn(t[1],t.slice(2));case"!in":return At.negate(At.convertIn(t[1],t.slice(2)));case"any":case"all":case"none":return At.convertCombining(e,t.slice(1));case"has":return At.convertHas(t[1]);case"!has":return At.negate(At.convertHas(t[1]));default:throw new Error("Unexpected legacy filter.")}}static convertComparison(t,e,r){switch(e){case"$type":return[t,["geometry-type"],r];case"$id":return[t,["id"],r];default:return[t,["get",e],r]}}static convertIn(t,e){switch(t){case"$type":return["in",["geometry-type"],["literal",e]];case"$id":return["in",["id"],["literal",e]];default:return["in",["get",t],["literal",e]]}}static convertHas(t){switch(t){case"$type":return!0;case"$id":return["has-id"];default:return["has",t]}}static convertCombining(t,e){return[t].concat(e.map(this.convertLegacyFilter))}static negate(t){return["!",t]}}var Nt=r(4272),Dt=r(40876);class Lt{constructor(t,e){let r;switch(this.isDataDriven=!1,this.interpolator=null,t.type){case"number":case"color":r=!0;break;case"array":r="number"===t.value;break;default:r=!1}if((null==e||""===e&&"color"===t.type)&&(e=t.default),Array.isArray(e)&&e.length>0&&Rt[e[0]]){const r={number:P,color:O,string:S,boolean:x,enum:S};try{const n=vt(e,null,"array"===t.type?C(r[t.value]||U,t.length):r[t.type]);this.getValue=this._buildExpression(n,t),this.isDataDriven=!0,n instanceof et&&n.input instanceof Y&&(this.interpolator=n)}catch(e){console.log(e.message),this.getValue=this._buildSimple(t.default)}return}r&&"interval"===e.type&&(r=!1);const n=e?.stops&&e.stops.length>0;if(n)for(const r of e.stops)r[1]=this._validate(r[1],t);if(this.isDataDriven=!!e&&!!e.property,this.isDataDriven)if(void 0!==e.default&&(e.default=this._validate(e.default,t)),n)switch(e.type){case"identity":this.getValue=this._buildIdentity(e,t);break;case"categorical":this.getValue=this._buildCategorical(e,t);break;default:this.getValue=r?this._buildInterpolate(e,t):this._buildInterval(e,t)}else this.getValue=this._buildIdentity(e,t);else n?this.getValue=r?this._buildZoomInterpolate(e):this._buildZoomInterval(e):(e=this._validate(e,t),this.getValue=this._buildSimple(e))}_validate(t,e){if("number"===e.type){if(null!=e.minimum&&t<e.minimum)return e.minimum;if(null!=e.maximum&&t>e.maximum)return e.maximum}else"color"===e.type?t=Lt._parseColor(t):"enum"===e.type?"string"==typeof t&&(t=e.values.indexOf(t)):"array"===e.type&&"enum"===e.value?t=t.map((t=>"string"==typeof t?e.values.indexOf(t):t)):"string"===e.type&&(t=V(t));return t}_buildSimple(t){return()=>t}_buildExpression(t,e){return(r,n)=>{try{const i=t.evaluate(n,r);return void 0===i?e.default:this._validate(i,e)}catch(t){return console.log(t.message),e.default}}}_buildIdentity(t,e){return(r,n)=>{let i;return n&&(i=n.values[t.property]),void 0!==i&&(i=this._validate(i,e)),null!=i?i:void 0!==t.default?t.default:e.default}}_buildCategorical(t,e){return(r,n)=>{let i;return n&&(i=n.values[t.property]),i=this._categorical(i,t.stops),void 0!==i?i:void 0!==t.default?t.default:e.default}}_buildInterval(t,e){return(r,n)=>{let i;return n&&(i=n.values[t.property]),"number"==typeof i?this._interval(i,t.stops):void 0!==t.default?t.default:e.default}}_buildInterpolate(t,e){return(r,n)=>{let i;return n&&(i=n.values[t.property]),"number"==typeof i?this._interpolate(i,t.stops,t.base||1):void 0!==t.default?t.default:e.default}}_buildZoomInterpolate(t){return e=>this._interpolate(e,t.stops,t.base||1)}_buildZoomInterval(t){return e=>this._interval(e,t.stops)}_categorical(t,e){const r=e.length;for(let n=0;n<r;n++)if(e[n][0]===t)return e[n][1]}_interval(t,e){const r=e.length;let n=0;for(let i=0;i<r&&e[i][0]<=t;i++)n=i;return e[n][1]}_interpolate(t,e,r){let n,i;const a=e.length;for(let r=0;r<a;r++){const a=e[r];if(!(a[0]<=t)){i=a;break}n=a}if(n&&i){const e=i[0]-n[0],a=t-n[0],o=1===r?a/e:(r**a-1)/(r**e-1);if(Array.isArray(n[1])){const t=n[1],e=i[1],r=[];for(let n=0;n<t.length;n++)r.push((0,l.GW)(t[n],e[n],o));return r}return(0,l.GW)(n[1],i[1],o)}return n?n[1]:i?i[1]:void 0}static _isEmpty(t){for(const e in t)if(t.hasOwnProperty(e))return!1;return!0}static _parseColor(t){return Array.isArray(t)?t:"string"==typeof t?(0,Dt.Vm)(t)??void 0:t instanceof v.A&&!this._isEmpty(t)?v.A.toUnitRGBA(t):void 0}}var Pt,St=r(76213);!function(t){t[t.BUTT=0]="BUTT",t[t.ROUND=1]="ROUND",t[t.SQUARE=2]="SQUARE",t[t.UNKNOWN=4]="UNKNOWN"}(Pt||(Pt={}));class xt{constructor(t,e,r,n){switch(this.type=t,this.typeName=e.type,this.id=e.id,this.source=e.source,this.sourceLayer=e["source-layer"],this.minzoom=e.minzoom,this.maxzoom=e.maxzoom,this.filter=e.filter,this.layout=e.layout,this.paint=e.paint,this.z=r,this.uid=n,t){case Nt.Dc.BACKGROUND:this._layoutDefinition=Nt.$u.backgroundLayoutDefinition,this._paintDefinition=Nt.$u.backgroundPaintDefinition;break;case Nt.Dc.FILL:this._layoutDefinition=Nt.$u.fillLayoutDefinition,this._paintDefinition=Nt.$u.fillPaintDefinition;break;case Nt.Dc.LINE:this._layoutDefinition=Nt.$u.lineLayoutDefinition,this._paintDefinition=Nt.$u.linePaintDefinition;break;case Nt.Dc.SYMBOL:this._layoutDefinition=Nt.$u.symbolLayoutDefinition,this._paintDefinition=Nt.$u.symbolPaintDefinition;break;case Nt.Dc.CIRCLE:this._layoutDefinition=Nt.$u.circleLayoutDefinition,this._paintDefinition=Nt.$u.circlePaintDefinition}this._layoutProperties=this._parseLayout(this.layout),this._paintProperties=this._parsePaint(this.paint)}getFeatureFilter(){return void 0!==this._featureFilter?this._featureFilter:this._featureFilter=At.createFilter(this.filter)}getLayoutProperty(t){return this._layoutProperties[t]}getPaintProperty(t){return this._paintProperties[t]}getLayoutValue(t,e,r){let n;const i=this._layoutProperties[t];return i&&(n=i.getValue(e,r)),void 0===n&&(n=this._layoutDefinition[t].default),n}getPaintValue(t,e,r){let n;const i=this._paintProperties[t];return i&&(n=i.getValue(e,r)),void 0===n&&(n=this._paintDefinition[t].default),n}isPainterDataDriven(){const t=this._paintProperties;if(t)for(const e in t)if(t[e].isDataDriven)return!0;return!1}isIntersectingFeature(t,e,r,n,i,a,o){return!1}getFeatureInflatedBounds(t,e,r,n){return null}_parseLayout(t){const e={};for(const r in t){const n=this._layoutDefinition[r];n&&(e[r]=new Lt(n,t[r]))}return e}_parsePaint(t){const e={};for(const r in t){const n=this._paintDefinition[r];n&&(e[r]=new Lt(n,t[r]))}return e}computeAttributesKey(t,e,r,n){let i=0,a=0;for(const t of e){let e=3;if(!t||t!==n){const n=r[t],{isLayout:i,isOptional:a}=n,o=i?this.getLayoutProperty(t):this.getPaintProperty(t);e=o?.interpolator?2:o?.isDataDriven?1:a&&!o?3:0}a|=e<<i,i+=2}return a<<3|t}}class Ot extends xt{constructor(t,e,r,n){super(t,e,r,n),this.backgroundMaterial=new g(this.computeAttributesKey(s.kh.BACKGROUND,g.ATTRIBUTES,g.ATTRIBUTES_INFO))}}class Bt extends xt{constructor(t,e,r,n){super(t,e,r,n);const i=this.getPaintProperty("fill-color"),a=this.getPaintProperty("fill-opacity"),o=this.getPaintProperty("fill-pattern");this.hasDataDrivenColor=i?.isDataDriven,this.hasDataDrivenOpacity=a?.isDataDriven,this.hasDataDrivenFill=this.hasDataDrivenColor||this.hasDataDrivenOpacity||o?.isDataDriven;const l=this.getPaintProperty("fill-outline-color");this.outlineUsesFillColor=!l,this.hasDataDrivenOutlineColor=l?.isDataDriven,this.hasDataDrivenOutline=l?l.isDataDriven:!!i&&i.isDataDriven,this.hasDataDrivenOutline=(l?this.hasDataDrivenOutlineColor:this.hasDataDrivenColor)||this.hasDataDrivenOpacity,this.fillMaterial=new m(this.computeAttributesKey(s.kh.FILL,m.ATTRIBUTES,m.ATTRIBUTES_INFO)),this.outlineMaterial=new _(this.computeAttributesKey(s.kh.OUTLINE,this.outlineUsesFillColor?_.ATTRIBUTES_FILL:_.ATTRIBUTES_OUTLINE,this.outlineUsesFillColor?_.ATTRIBUTES_INFO_FILL:_.ATTRIBUTES_INFO_OUTLINE),this.outlineUsesFillColor)}getFeatureInflatedBounds(t,e,r,n){const i=Ft(t);if(!i)return null;const a=this.getPaintValue("fill-translate",e,t),o=n*Math.max(a[0],a[1]);return i[0]-=o,i[2]-=o,i[1]+=o,i[3]+=o,i}isIntersectingFeature(t,e,r,n,i,a,s){const u=n.getGeometry();if(!u)return!1;const c=o.ih/s.normalizationRatio;t=t/s.normalizationRatio+s.normalizationOffsetX,e=e/s.normalizationRatio+s.normalizationOffsetY;const h=(0,l.yM)(this.getPaintValue("fill-translate",i,n),this.getPaintValue("fill-translate-anchor",i,n),a,o.ih);return t-=c*h.x,e-=c*h.y,!!(0,l.s3)(t,e,u)||(0,l.ru)(t,e,u,c*r)}}class Ut extends xt{constructor(t,e,r,n){super(t,e,r,n);const i=this.getPaintProperty("line-pattern");if(this.lineMaterial=new b(this.computeAttributesKey(s.kh.LINE,b.ATTRIBUTES,b.ATTRIBUTES_INFO,i?"line-dasharray":"")),this.hasDataDrivenLine=this.getPaintProperty("line-blur")?.isDataDriven||this.getPaintProperty("line-color")?.isDataDriven||this.getPaintProperty("line-gap-width")?.isDataDriven||this.getPaintProperty("line-offset")?.isDataDriven||this.getPaintProperty("line-opacity")?.isDataDriven||this.getPaintProperty("line-pattern")?.isDataDriven||this.getPaintProperty("line-dasharray")?.isDataDriven||this.getLayoutProperty("line-cap")?.isDataDriven||this.getPaintProperty("line-width")?.isDataDriven,this.canUseThinTessellation=!1,!this.hasDataDrivenLine){const t=this.getPaintProperty("line-width");if(!t||"number"==typeof t&&.5*t<St.Gh){const t=this.getPaintProperty("line-offset");(!t||"number"==typeof t&&0===t)&&(this.canUseThinTessellation=!0)}}}getDashKey(t,e){let r;switch(e){case Pt.BUTT:r="Butt";break;case Pt.ROUND:r="Round";break;case Pt.SQUARE:r="Square";break;default:r="Butt"}return`dasharray-[${t.toString()}]-${r}`}getFeatureInflatedBounds(t,e,r,n){const i=Ft(t);if(!i)return null;const a=this.getPaintValue("line-translate",e,t),o=n*Math.max(a[0],a[1]);i[0]-=o,i[2]-=o,i[1]+=o,i[3]+=o;const s=n*Math.abs(this.getPaintValue("line-offset",e,t)||0),l=n*(this.getPaintValue("line-width",e,t)/2);return i[0]-=s+l,i[1]-=s+l,i[2]+=s+l,i[3]+=s+l,i}isIntersectingFeature(t,e,r,n,i,a,s){let u=n.getGeometry();if(!u)return!1;const c=o.ih/s.normalizationRatio;t=t/s.normalizationRatio+s.normalizationOffsetX,e=e/s.normalizationRatio+s.normalizationOffsetY;const h=(0,l.yM)(this.getPaintValue("line-translate",i,n),this.getPaintValue("line-translate-anchor",i,n),a,o.ih);t-=c*h.x,e-=c*h.y;const p=c*this.getPaintValue("line-offset",i,n)||0;0!==p&&(u=(0,l.cP)(u,-p));const f=this.getPaintValue("line-width",i,n);return(0,l.ru)(t,e,u,c*(r+f/2))}}class Ct extends xt{constructor(t,e,r,n){super(t,e,r,n),this.iconMaterial=new I(this.computeAttributesKey(s.kh.ICON,I.ATTRIBUTES,I.ATTRIBUTES_INFO)),this.textMaterial=new w(this.computeAttributesKey(s.kh.TEXT,w.ATTRIBUTES,w.ATTRIBUTES_INFO)),this.hasDataDrivenIcon=this.getPaintProperty("icon-color")?.isDataDriven||this.getPaintProperty("icon-halo-blur")?.isDataDriven||this.getPaintProperty("icon-halo-color")?.isDataDriven||this.getPaintProperty("icon-halo-width")?.isDataDriven||this.getPaintProperty("icon-opacity")?.isDataDriven||this.getLayoutProperty("icon-size")?.isDataDriven,this.hasDataDrivenText=this.getPaintProperty("text-color")?.isDataDriven||this.getPaintProperty("text-halo-blur")?.isDataDriven||this.getPaintProperty("text-halo-color")?.isDataDriven||this.getPaintProperty("text-halo-width")?.isDataDriven||this.getPaintProperty("text-opacity")?.isDataDriven||this.getLayoutProperty("text-size")?.isDataDriven}}class Gt extends xt{constructor(t,e,r,n){super(t,e,r,n),this.circleMaterial=new d(this.computeAttributesKey(s.kh.CIRCLE,d.ATTRIBUTES,d.ATTRIBUTES_INFO))}getFeatureInflatedBounds(t,e,r,n){const i=Ft(t);if(!i)return null;const a=this.getPaintValue("circle-translate",e,t),s=Math.max(a[0],a[1]);i[0]-=s,i[2]-=s,i[1]+=s,i[3]+=s;const l=n*(o.ih*(this.getPaintValue("circle-radius",e,t)+this.getPaintValue("circle-stroke-width",e,t))/2);return i[0]-=l,i[1]-=l,i[2]+=l,i[3]+=l,i}isIntersectingFeature(t,e,r,n,i,a,s){const u=n.getGeometry();if(!u)return!1;const c=o.ih/s.normalizationRatio;t=t/s.normalizationRatio+s.normalizationOffsetX,e=e/s.normalizationRatio+s.normalizationOffsetY,r*=c;const h=(0,l.yM)(this.getPaintValue("circle-translate",i,n),this.getPaintValue("circle-translate-anchor",i,n),a,c),p=c*(this.getPaintValue("circle-radius",i,n)+this.getPaintValue("circle-stroke-width",i,n));let f,y;for(const n of u)if(n)for(const i of n)if(f=i.x+h.x,y=i.y+h.y,Math.sqrt((t-f)*(t-f)+(e-y)*(e-y))-r<=p)return!0;return!1}}class Mt{constructor(t,e,r){let n;this.allowOverlap=t.getLayoutValue("icon-allow-overlap",e),this.ignorePlacement=t.getLayoutValue("icon-ignore-placement",e),this.keepUpright=t.getLayoutValue("icon-keep-upright",e),this.optional=t.getLayoutValue("icon-optional",e),this.rotationAlignment=t.getLayoutValue("icon-rotation-alignment",e),this.rotationAlignment===Nt.I5.AUTO&&(this.rotationAlignment=r?Nt.I5.MAP:Nt.I5.VIEWPORT),n=t.getLayoutProperty("icon-anchor"),n?.isDataDriven?this._anchorProp=n:this.anchor=t.getLayoutValue("icon-anchor",e),n=t.getLayoutProperty("icon-offset"),n?.isDataDriven?this._offsetProp=n:this.offset=t.getLayoutValue("icon-offset",e),n=t.getLayoutProperty("icon-padding"),n?.isDataDriven?this._paddingProp=n:this.padding=t.getLayoutValue("icon-padding",e),n=t.getLayoutProperty("icon-rotate"),n?.isDataDriven?this._rotateProp=n:this.rotate=t.getLayoutValue("icon-rotate",e),n=t.getLayoutProperty("icon-size"),n?.isDataDriven?this._sizeProp=n:this.size=t.getLayoutValue("icon-size",e)}update(t,e){this._anchorProp&&(this.anchor=this._anchorProp.getValue(t,e)),this._offsetProp&&(this.offset=this._offsetProp.getValue(t,e)),this._paddingProp&&(this.padding=this._paddingProp.getValue(t,e)),this._rotateProp&&(this.rotate=this._rotateProp.getValue(t,e)),this._sizeProp&&(this.size=this._sizeProp.getValue(t,e))}}class kt{constructor(t,e,r){let n;this.allowOverlap=t.getLayoutValue("text-allow-overlap",e),this.ignorePlacement=t.getLayoutValue("text-ignore-placement",e),this.keepUpright=t.getLayoutValue("text-keep-upright",e),this.optional=t.getLayoutValue("text-optional",e),this.rotationAlignment=t.getLayoutValue("text-rotation-alignment",e),this.rotationAlignment===Nt.I5.AUTO&&(this.rotationAlignment=r?Nt.I5.MAP:Nt.I5.VIEWPORT),n=t.getLayoutProperty("text-anchor"),n?.isDataDriven?this._anchorProp=n:this.anchor=t.getLayoutValue("text-anchor",e),n=t.getLayoutProperty("text-justify"),n?.isDataDriven?this._justifyProp=n:this.justify=t.getLayoutValue("text-justify",e),n=t.getLayoutProperty("text-letter-spacing"),n?.isDataDriven?this._letterSpacingProp=n:this.letterSpacing=t.getLayoutValue("text-letter-spacing",e),n=t.getLayoutProperty("text-line-height"),n?.isDataDriven?this._lineHeightProp=n:this.lineHeight=t.getLayoutValue("text-line-height",e),n=t.getLayoutProperty("text-max-angle"),n?.isDataDriven?this._maxAngleProp=n:this.maxAngle=t.getLayoutValue("text-max-angle",e),n=t.getLayoutProperty("text-max-width"),n?.isDataDriven?this._maxWidthProp=n:this.maxWidth=t.getLayoutValue("text-max-width",e),n=t.getLayoutProperty("text-offset"),n?.isDataDriven?this._offsetProp=n:this.offset=t.getLayoutValue("text-offset",e),n=t.getLayoutProperty("text-padding"),n?.isDataDriven?this._paddingProp=n:this.padding=t.getLayoutValue("text-padding",e),n=t.getLayoutProperty("text-rotate"),n?.isDataDriven?this._rotateProp=n:this.rotate=t.getLayoutValue("text-rotate",e),n=t.getLayoutProperty("text-size"),n?.isDataDriven?this._sizeProp=n:this.size=t.getLayoutValue("text-size",e),n=t.getLayoutProperty("text-writing-mode"),n?.isDataDriven?this._writingModeProp=n:this.writingMode=t.getLayoutValue("text-writing-mode",e)}update(t,e){this._anchorProp&&(this.anchor=this._anchorProp.getValue(t,e)),this._justifyProp&&(this.justify=this._justifyProp.getValue(t,e)),this._letterSpacingProp&&(this.letterSpacing=this._letterSpacingProp.getValue(t,e)),this._lineHeightProp&&(this.lineHeight=this._lineHeightProp.getValue(t,e)),this._maxAngleProp&&(this.maxAngle=this._maxAngleProp.getValue(t,e)),this._maxWidthProp&&(this.maxWidth=this._maxWidthProp.getValue(t,e)),this._offsetProp&&(this.offset=this._offsetProp.getValue(t,e)),this._paddingProp&&(this.padding=this._paddingProp.getValue(t,e)),this._rotateProp&&(this.rotate=this._rotateProp.getValue(t,e)),this._sizeProp&&(this.size=this._sizeProp.getValue(t,e)),this._writingModeProp&&(this.writingMode=this._writingModeProp.getValue(t,e))}}function Ft(t){const e=t?.getGeometry();if(null==e)return null;let r=1/0,n=1/0,i=-1/0,o=-1/0;for(const t of e)if(t)for(const e of t)r=Math.min(r,e.x),n=Math.min(n,e.y),i=Math.max(i,e.x),o=Math.max(o,e.y);return(0,a.fA)(r,n,i,o)}},4272:(t,e,r)=>{r.d(e,{$u:()=>y,Dc:()=>n,I5:()=>o,KI:()=>l,Ms:()=>u,O6:()=>s,kt:()=>a,v9:()=>h});var n,i,a,o,s,l,u,c,h,p,f=r(15294);(p=n||(n={}))[p.BACKGROUND=0]="BACKGROUND",p[p.FILL=1]="FILL",p[p.LINE=2]="LINE",p[p.SYMBOL=3]="SYMBOL",p[p.CIRCLE=4]="CIRCLE",function(t){t[t.VISIBLE=0]="VISIBLE",t[t.NONE=1]="NONE"}(i||(i={})),function(t){t[t.POINT=0]="POINT",t[t.LINE=1]="LINE",t[t.LINE_CENTER=2]="LINE_CENTER"}(a||(a={})),function(t){t[t.MAP=0]="MAP",t[t.VIEWPORT=1]="VIEWPORT",t[t.AUTO=2]="AUTO"}(o||(o={})),function(t){t[t.AUTO=0]="AUTO",t[t.LEFT=1]="LEFT",t[t.CENTER=2]="CENTER",t[t.RIGHT=3]="RIGHT"}(s||(s={})),function(t){t[t.CENTER=0]="CENTER",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t[t.TOP=3]="TOP",t[t.BOTTOM=4]="BOTTOM",t[t.TOP_LEFT=5]="TOP_LEFT",t[t.TOP_RIGHT=6]="TOP_RIGHT",t[t.BOTTOM_LEFT=7]="BOTTOM_LEFT",t[t.BOTTOM_RIGHT=8]="BOTTOM_RIGHT"}(l||(l={})),function(t){t[t.NONE=0]="NONE",t[t.UPPERCASE=1]="UPPERCASE",t[t.LOWERCASE=2]="LOWERCASE"}(u||(u={})),function(t){t[t.MAP=0]="MAP",t[t.VIEWPORT=1]="VIEWPORT"}(c||(c={})),function(t){t[t.HORIZONTAL=0]="HORIZONTAL",t[t.VERTICAL=1]="VERTICAL"}(h||(h={}));class y{static{this.backgroundLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:i.VISIBLE}}}static{this.fillLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:i.VISIBLE}}}static{this.lineLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:i.VISIBLE},"line-cap":{type:"enum",values:["butt","round","square"],default:f.xR.BUTT},"line-join":{type:"enum",values:["bevel","round","miter"],default:f.JO.MITER},"line-miter-limit":{type:"number",default:2},"line-round-limit":{type:"number",default:1.05}}}static{this.symbolLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:i.VISIBLE},"symbol-avoid-edges":{type:"boolean",default:!1},"symbol-placement":{type:"enum",values:["point","line","line-center"],default:a.POINT},"symbol-sort-key":{type:"number",default:-1},"symbol-spacing":{type:"number",minimum:1,default:250},"icon-allow-overlap":{type:"boolean",default:!1},"icon-anchor":{type:"enum",values:["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],default:l.CENTER},"icon-ignore-placement":{type:"boolean",default:!1},"icon-image":{type:"string"},"icon-keep-upright":{type:"boolean",default:!1},"icon-offset":{type:"array",value:"number",length:2,default:[0,0]},"icon-optional":{type:"boolean",default:!1},"icon-padding":{type:"number",minimum:0,default:2},"icon-rotate":{type:"number",default:0},"icon-rotation-alignment":{type:"enum",values:["map","viewport","auto"],default:o.AUTO},"icon-size":{type:"number",minimum:0,default:1},"text-allow-overlap":{type:"boolean",default:!1},"text-anchor":{type:"enum",values:["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],default:l.CENTER},"text-field":{type:"string"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"]},"text-ignore-placement":{type:"boolean",default:!1},"text-justify":{type:"enum",values:["auto","left","center","right"],default:s.CENTER},"text-keep-upright":{type:"boolean",default:!0},"text-letter-spacing":{type:"number",default:0},"text-line-height":{type:"number",default:1.2},"text-max-angle":{type:"number",minimum:0,default:45},"text-max-width":{type:"number",minimum:0,default:10},"text-offset":{type:"array",value:"number",length:2,default:[0,0]},"text-optional":{type:"boolean",default:!1},"text-padding":{type:"number",minimum:0,default:2},"text-rotate":{type:"number",default:0},"text-rotation-alignment":{type:"enum",values:["map","viewport","auto"],default:o.AUTO},"text-size":{type:"number",minimum:0,default:16},"text-transform":{type:"enum",values:["none","uppercase","lowercase"],default:u.NONE},"text-writing-mode":{type:"array",value:"enum",values:["horizontal","vertical"],default:[h.HORIZONTAL]}}}static{this.circleLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:i.VISIBLE}}}static{this.backgroundPaintDefinition={"background-color":{type:"color",default:[0,0,0,1]},"background-opacity":{type:"number",minimum:0,maximum:1,default:1},"background-pattern":{type:"string"}}}static{this.fillPaintDefinition={"fill-antialias":{type:"boolean",default:!0},"fill-color":{type:"color",default:[0,0,0,1]},"fill-opacity":{type:"number",minimum:0,maximum:1,default:1},"fill-outline-color":{type:"color",default:[0,0,0,0]},"fill-pattern":{type:"string"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0]},"fill-translate-anchor":{type:"enum",values:["map","viewport"],default:c.MAP}}}static{this.linePaintDefinition={"line-blur":{type:"number",minimum:0,default:0},"line-color":{type:"color",default:[0,0,0,1]},"line-dasharray":{type:"array",value:"number",default:[]},"line-gap-width":{type:"number",minimum:0,default:0},"line-offset":{type:"number",default:0},"line-opacity":{type:"number",minimum:0,maximum:1,default:1},"line-pattern":{type:"string"},"line-translate":{type:"array",value:"number",length:2,default:[0,0]},"line-translate-anchor":{type:"enum",values:["map","viewport"],default:c.MAP},"line-width":{type:"number",minimum:0,default:1}}}static{this.symbolPaintDefinition={"icon-color":{type:"color",default:[0,0,0,1]},"icon-halo-blur":{type:"number",minimum:0,default:0},"icon-halo-color":{type:"color",default:[0,0,0,0]},"icon-halo-width":{type:"number",minimum:0,default:0},"icon-opacity":{type:"number",minimum:0,maximum:1,default:1},"icon-translate":{type:"array",value:"number",length:2,default:[0,0]},"icon-translate-anchor":{type:"enum",values:["map","viewport"],default:c.MAP},"text-color":{type:"color",default:[0,0,0,1]},"text-halo-blur":{type:"number",minimum:0,default:0},"text-halo-color":{type:"color",default:[0,0,0,0]},"text-halo-width":{type:"number",minimum:0,default:0},"text-opacity":{type:"number",minimum:0,maximum:1,default:1},"text-translate":{type:"array",value:"number",length:2,default:[0,0]},"text-translate-anchor":{type:"enum",values:["map","viewport"],default:c.MAP}}}static{this.rasterPaintDefinition={"raster-opacity":{type:"number",minimum:0,maximum:1,default:1},"raster-hue-rotate":{type:"number",default:0},"raster-brightness-min":{type:"number",minimum:0,maximum:1,default:0},"raster-brightness-max":{type:"number",minimum:0,maximum:1,default:1},"raster-saturation":{type:"number",minimum:-1,maximum:1,default:0},"raster-contrast":{type:"number",minimum:-1,maximum:1,default:0},"raster-fade-duration":{type:"number",minimum:0,default:300}}}static{this.circlePaintDefinition={"circle-blur":{type:"number",minimum:0,default:0},"circle-color":{type:"color",default:[0,0,0,1]},"circle-opacity":{type:"number",minimum:0,maximum:1,default:1},"circle-radius":{type:"number",minimum:0,default:5},"circle-stroke-color":{type:"color",default:[0,0,0,1]},"circle-stroke-opacity":{type:"number",minimum:0,maximum:1,default:1},"circle-stroke-width":{type:"number",minimum:0,default:0},"circle-translate":{type:"array",value:"number",length:2,default:[0,0]},"circle-translate-anchor":{type:"enum",values:["map","viewport"],default:c.MAP}}}}},15294:(t,e,r)=>{var n,i,a,o,s,l,u,c,h,p,f,y,g,d,m,_,b,E,T,I,w,v,R,A,N,D,L,P,S,x,O,B,U,C,G,M,k,F,V,z,$,H,W,Y,q,K,j,Z,J,X,Q,tt,et,rt,nt,it,at,ot,st,lt,ut,ct,ht;r.d(e,{$2:()=>s,Ao:()=>A,C1:()=>a,Hz:()=>y,JO:()=>i,M1:()=>R,OW:()=>it,Q1:()=>Z,WE:()=>S,YI:()=>X,e_:()=>j,fu:()=>f,ip:()=>J,oF:()=>w,uQ:()=>v,uT:()=>F,wd:()=>H,xR:()=>n,xw:()=>D,yS:()=>V}),function(t){t[t.BUTT=0]="BUTT",t[t.ROUND=1]="ROUND",t[t.SQUARE=2]="SQUARE",t[t.UNKNOWN=4]="UNKNOWN"}(n||(n={})),function(t){t[t.BEVEL=0]="BEVEL",t[t.ROUND=1]="ROUND",t[t.MITER=2]="MITER",t[t.UNKNOWN=4]="UNKNOWN"}(i||(i={})),function(t){t[t.SCREEN=0]="SCREEN",t[t.MAP=1]="MAP"}(a||(a={})),function(t){t[t.Tint=0]="Tint",t[t.Ignore=1]="Ignore",t[t.Multiply=99]="Multiply"}(o||(o={})),function(t){t.Both="Both",t.JustBegin="JustBegin",t.JustEnd="JustEnd",t.None="None"}(s||(s={})),function(t){t[t.Mosaic=0]="Mosaic",t[t.Centered=1]="Centered"}(l||(l={})),function(t){t[t.Normal=0]="Normal",t[t.Superscript=1]="Superscript",t[t.Subscript=2]="Subscript"}(u||(u={})),function(t){t[t.MSSymbol=0]="MSSymbol",t[t.Unicode=1]="Unicode"}(c||(c={})),function(t){t[t.Unspecified=0]="Unspecified",t[t.TrueType=1]="TrueType",t[t.PSOpenType=2]="PSOpenType",t[t.TTOpenType=3]="TTOpenType",t[t.Type1=4]="Type1"}(h||(h={})),function(t){t[t.Display=0]="Display",t[t.Map=1]="Map"}(p||(p={})),function(t){t.None="None",t.Loop="Loop",t.Oscillate="Oscillate"}(f||(f={})),function(t){t.Linear="Linear",t.EaseIn="EaseIn",t.EaseOut="EaseOut",t.EaseInOut="EaseInOut"}(y||(y={})),function(t){t[t.Z=0]="Z",t[t.X=1]="X",t[t.Y=2]="Y"}(g||(g={})),function(t){t[t.XYZ=0]="XYZ",t[t.ZXY=1]="ZXY",t[t.YXZ=2]="YXZ"}(d||(d={})),function(t){t[t.Rectangle=0]="Rectangle",t[t.RoundedRectangle=1]="RoundedRectangle",t[t.Oval=2]="Oval"}(m||(m={})),function(t){t[t.None=0]="None",t[t.Alpha=1]="Alpha",t[t.Screen=2]="Screen",t[t.Multiply=3]="Multiply",t[t.Add=4]="Add"}(_||(_={})),function(t){t[t.TTB=0]="TTB",t[t.RTL=1]="RTL",t[t.BTT=2]="BTT"}(b||(b={})),function(t){t[t.None=0]="None",t[t.SignPost=1]="SignPost",t[t.FaceNearPlane=2]="FaceNearPlane"}(E||(E={})),function(t){t[t.Float=0]="Float",t[t.String=1]="String",t[t.Boolean=2]="Boolean"}(T||(T={})),function(t){t[t.Intersect=0]="Intersect",t[t.Subtract=1]="Subtract"}(I||(I={})),function(t){t.OpenEnded="OpenEnded",t.Block="Block",t.Crossed="Crossed"}(w||(w={})),function(t){t.FullGeometry="FullGeometry",t.PerpendicularFromFirstSegment="PerpendicularFromFirstSegment",t.ReversedFirstSegment="ReversedFirstSegment",t.PerpendicularToSecondSegment="PerpendicularToSecondSegment",t.SecondSegmentWithTicks="SecondSegmentWithTicks",t.DoublePerpendicular="DoublePerpendicular",t.OppositeToFirstSegment="OppositeToFirstSegment",t.TriplePerpendicular="TriplePerpendicular",t.HalfCircleFirstSegment="HalfCircleFirstSegment",t.HalfCircleSecondSegment="HalfCircleSecondSegment",t.HalfCircleExtended="HalfCircleExtended",t.OpenCircle="OpenCircle",t.CoverageEdgesWithTicks="CoverageEdgesWithTicks",t.GapExtentWithDoubleTicks="GapExtentWithDoubleTicks",t.GapExtentMidline="GapExtentMidline",t.Chevron="Chevron",t.PerpendicularWithArc="PerpendicularWithArc",t.ClosedHalfCircle="ClosedHalfCircle",t.TripleParallelExtended="TripleParallelExtended",t.ParallelWithTicks="ParallelWithTicks",t.Parallel="Parallel",t.PerpendicularToFirstSegment="PerpendicularToFirstSegment",t.ParallelOffset="ParallelOffset",t.OffsetOpposite="OffsetOpposite",t.OffsetSame="OffsetSame",t.CircleWithArc="CircleWithArc",t.DoubleJog="DoubleJog",t.PerpendicularOffset="PerpendicularOffset",t.LineExcludingLastSegment="LineExcludingLastSegment",t.MultivertexArrow="MultivertexArrow",t.CrossedArrow="CrossedArrow",t.ChevronArrow="ChevronArrow",t.ChevronArrowOffset="ChevronArrowOffset",t.PartialFirstSegment="PartialFirstSegment",t.Arch="Arch",t.CurvedParallelTicks="CurvedParallelTicks",t.Arc90Degrees="Arc90Degrees",t.TipWithPerpendicularAndTicks="TipWithPerpendicularAndTicks",t.ConcentricCircles="ConcentricCircles",t.DoubleJogArrow="DoubleJogArrow",t.LinkedChevrons="LinkedChevrons",t.SegmentThenHalfCircle="SegmentThenHalfCircle",t.LineWithStraightTicks="LineWithStraightTicks",t.DoubleCurve="DoubleCurve",t.ParallelWithTicksByWidth="ParallelWithTicksByWidth",t.EnclosingRoundedRectangle="EnclosingRoundedRectangle"}(v||(v={})),function(t){t.Mitered="Mitered",t.Bevelled="Bevelled",t.Rounded="Rounded",t.Square="Square",t.TrueBuffer="TrueBuffer"}(R||(R={})),function(t){t.ClosePath="ClosePath",t.ConvexHull="ConvexHull",t.RectangularBox="RectangularBox"}(A||(A={})),function(t){t.BeginningOfLine="BeginningOfLine",t.EndOfLine="EndOfLine"}(N||(N={})),function(t){t.Mitered="Mitered",t.Bevelled="Bevelled",t.Rounded="Rounded",t.Square="Square"}(D||(D={})),function(t){t.Fast="Fast",t.Accurate="Accurate"}(L||(L={})),function(t){t.BeginningOfLine="BeginningOfLine",t.EndOfLine="EndOfLine"}(P||(P={})),function(t){t.Sinus="Sinus",t.Square="Square",t.Triangle="Triangle",t.Random="Random"}(S||(S={})),function(t){t[t.None=0]="None",t[t.Default=1]="Default",t[t.Force=2]="Force"}(x||(x={})),function(t){t[t.Buffered=0]="Buffered",t[t.Left=1]="Left",t[t.Right=2]="Right",t[t.AlongLine=3]="AlongLine"}(O||(O={})),function(t){t[t.Linear=0]="Linear",t[t.Rectangular=1]="Rectangular",t[t.Circular=2]="Circular",t[t.Buffered=3]="Buffered"}(B||(B={})),function(t){t[t.Discrete=0]="Discrete",t[t.Continuous=1]="Continuous"}(U||(U={})),function(t){t[t.AcrossLine=0]="AcrossLine",t[t.AlongLine=1]="AlongLine"}(C||(C={})),function(t){t[t.Auto=0]="Auto",t[t.Clockwise=1]="Clockwise",t[t.Counterclockwise=2]="Counterclockwise"}(G||(G={})),function(t){t[t.Left=0]="Left",t[t.Right=1]="Right",t[t.Center=2]="Center",t[t.Justify=3]="Justify"}(M||(M={})),function(t){t[t.Base=0]="Base",t[t.MidPoint=1]="MidPoint",t[t.ThreePoint=2]="ThreePoint",t[t.FourPoint=3]="FourPoint",t[t.Underline=4]="Underline",t[t.CircularCW=5]="CircularCW",t[t.CircularCCW=6]="CircularCCW"}(k||(k={})),function(t){t.Butt="Butt",t.Round="Round",t.Square="Square"}(F||(F={})),function(t){t.NoConstraint="NoConstraint",t.HalfPattern="HalfPattern",t.HalfGap="HalfGap",t.FullPattern="FullPattern",t.FullGap="FullGap",t.Custom="Custom"}(V||(V={})),function(t){t[t.None=-1]="None",t[t.Custom=0]="Custom",t[t.Circle=1]="Circle",t[t.OpenArrow=2]="OpenArrow",t[t.ClosedArrow=3]="ClosedArrow",t[t.Diamond=4]="Diamond"}(z||(z={})),function(t){t[t.ExtraLeading=0]="ExtraLeading",t[t.Multiple=1]="Multiple",t[t.Exact=2]="Exact"}($||($={})),function(t){t.Bevel="Bevel",t.Round="Round",t.Miter="Miter"}(H||(H={})),function(t){t[t.Default=0]="Default",t[t.String=1]="String",t[t.Numeric=2]="Numeric"}(W||(W={})),function(t){t[t.InsidePolygon=0]="InsidePolygon",t[t.PolygonCenter=1]="PolygonCenter",t[t.RandomlyInsidePolygon=2]="RandomlyInsidePolygon"}(Y||(Y={})),function(t){t[t.Tint=0]="Tint",t[t.Replace=1]="Replace",t[t.Multiply=2]="Multiply"}(q||(q={})),function(t){t[t.ClipAtBoundary=0]="ClipAtBoundary",t[t.RemoveIfCenterOutsideBoundary=1]="RemoveIfCenterOutsideBoundary",t[t.DoNotTouchBoundary=2]="DoNotTouchBoundary",t[t.DoNotClip=3]="DoNotClip"}(K||(K={})),function(t){t.NoConstraint="NoConstraint",t.WithMarkers="WithMarkers",t.WithFullGap="WithFullGap",t.WithHalfGap="WithHalfGap",t.Custom="Custom"}(j||(j={})),function(t){t.Fixed="Fixed",t.Random="Random",t.RandomFixedQuantity="RandomFixedQuantity"}(Z||(Z={})),function(t){t.LineMiddle="LineMiddle",t.LineBeginning="LineBeginning",t.LineEnd="LineEnd",t.SegmentMidpoint="SegmentMidpoint"}(J||(J={})),function(t){t.OnPolygon="OnPolygon",t.CenterOfMass="CenterOfMass",t.BoundingBoxCenter="BoundingBoxCenter"}(X||(X={})),function(t){t[t.Low=0]="Low",t[t.Medium=1]="Medium",t[t.High=2]="High"}(Q||(Q={})),function(t){t[t.MarkerCenter=0]="MarkerCenter",t[t.MarkerBounds=1]="MarkerBounds"}(tt||(tt={})),function(t){t[t.None=0]="None",t[t.PropUniform=1]="PropUniform",t[t.PropNonuniform=2]="PropNonuniform",t[t.DifUniform=3]="DifUniform",t[t.DifNonuniform=4]="DifNonuniform"}(et||(et={})),function(t){t.Tube="Tube",t.Strip="Strip",t.Wall="Wall"}(rt||(rt={})),function(t){t[t.Random=0]="Random",t[t.Increasing=1]="Increasing",t[t.Decreasing=2]="Decreasing",t[t.IncreasingThenDecreasing=3]="IncreasingThenDecreasing"}(nt||(nt={})),function(t){t[t.Relative=0]="Relative",t[t.Absolute=1]="Absolute"}(it||(it={})),function(t){t[t.Normal=0]="Normal",t[t.LowerCase=1]="LowerCase",t[t.Allcaps=2]="Allcaps"}(at||(at={})),function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"}(ot||(ot={})),function(t){t.Draft="Draft",t.Picture="Picture",t.Text="Text"}(st||(st={})),function(t){t[t.Top=0]="Top",t[t.Center=1]="Center",t[t.Baseline=2]="Baseline",t[t.Bottom=3]="Bottom"}(lt||(lt={})),function(t){t[t.Right=0]="Right",t[t.Upright=1]="Upright"}(ut||(ut={})),function(t){t[t.Small=0]="Small",t[t.Medium=1]="Medium",t[t.Large=2]="Large"}(ct||(ct={})),function(t){t[t.Calm=0]="Calm",t[t.Rippled=1]="Rippled",t[t.Slight=2]="Slight",t[t.Moderate=3]="Moderate"}(ht||(ht={}))},45013:(t,e,r)=>{r.d(e,{A:()=>a});var n=r(4272),i=r(3057);class a{constructor(t){if(this._style=t,this.backgroundBucketIds=[],this._uidToLayer=new Map,this._layerByName={},this._runningId=0,t.layers||(t.layers=[]),this.version=parseFloat(t.version),this.layers=t.layers.map(((t,e,r)=>this._create(t,e,r))).filter((t=>!!t)),this.layers)for(let t=0;t<this.layers.length;t++){const e=this.layers[t];this._layerByName[e.id]=e,this._uidToLayer.set(e.uid,e),e.type===n.Dc.BACKGROUND&&this.backgroundBucketIds.push(e.id)}this._identifyRefLayers()}getLayerStyleProperties(t,e){const r=this.getStyleLayerByUID(t),i=r?.getLayoutValue("symbol-placement",e)!==n.kt.POINT;let a=r?.getLayoutValue("icon-rotation-alignment",e);a===n.I5.AUTO&&(a=i?n.I5.MAP:n.I5.VIEWPORT);let o=r?.getLayoutValue("text-rotation-alignment",e);o===n.I5.AUTO&&(o=i?n.I5.MAP:n.I5.VIEWPORT);const s=r?.getPaintValue("icon-translate",e),l=r?.getPaintValue("icon-translate-anchor",e),u=r?.getPaintValue("text-translate",e),c=r?.getPaintValue("text-translate-anchor",e);return{geometryType:null,iconAllowOverlap:r?.getLayoutValue("icon-allow-overlap",e),iconIgnorePlacement:r?.getLayoutValue("icon-ignore-placement",e),textAllowOverlap:r?.getLayoutValue("text-allow-overlap",e),textIgnorePlacement:r?.getLayoutValue("text-ignore-placement",e),iconRotationAlignment:a,textRotationAlignment:o,iconTranslateAnchor:l,iconTranslate:s,textTranslateAnchor:c,textTranslate:u}}isPainterDataDriven(t){const e=this._layerByName[t];return!!e&&e.isPainterDataDriven()}getStyleLayerId(t){return t>=this.layers.length?null:this.layers[t].id}getStyleLayerByUID(t){return this._uidToLayer.get(t)??null}getStyleLayerIndex(t){const e=this._layerByName[t];return e?this.layers.indexOf(e):-1}setStyleLayer(t,e){if(!t?.id)return;const r=this._style;null!=e&&e>=this.layers.length&&(e=this.layers.length-1);let n,i=!0;const o=this._layerByName[t.id];if(o){const s=this.layers.indexOf(o);e||(e=s),e===s?(i=!1,n=a._recreateLayer(t,o),this.layers[e]=n,r.layers[e]=t):(this.layers.splice(s,1),r.layers.splice(s,1),n=this._create(t,e,this.layers),this.layers.splice(e,0,n),r.layers.splice(e,0,t))}else n=this._create(t,e,this.layers),!e||e>=this.layers.length?(this.layers.push(n),r.layers.push(t)):(this.layers.splice(e,0,n),r.layers.splice(e,0,t));this._layerByName[t.id]=n,this._uidToLayer.set(n.uid,n),i&&this._recomputeZValues(),this._identifyRefLayers()}getStyleLayer(t){const e=this._layerByName[t];return e?{type:e.typeName,id:e.id,source:e.source,"source-layer":e.sourceLayer,minzoom:e.minzoom,maxzoom:e.maxzoom,filter:e.filter,layout:e.layout,paint:e.paint}:null}deleteStyleLayer(t){const e=this._layerByName[t];if(e){delete this._layerByName[t],this._uidToLayer.delete(e.uid);const r=this.layers.indexOf(e);this.layers.splice(r,1),this._style.layers.splice(r,1),this._recomputeZValues(),this._identifyRefLayers()}}getLayerById(t){return this._layerByName[t]}getLayoutProperties(t){const e=this._layerByName[t];return e?e.layout:null}getPaintProperties(t){const e=this._layerByName[t];return e?e.paint:null}setPaintProperties(t,e){const r=this._layerByName[t];if(!r)return;const n={type:r.typeName,id:r.id,source:r.source,"source-layer":r.sourceLayer,minzoom:r.minzoom,maxzoom:r.maxzoom,filter:r.filter,layout:r.layout,paint:e},i=a._recreateLayer(n,r),o=this.layers.indexOf(r);this.layers[o]=i,this._style.layers[o].paint=e,this._layerByName[r.id]=i,this._uidToLayer.set(r.uid,i)}setLayoutProperties(t,e){const r=this._layerByName[t];if(!r)return;const n={type:r.typeName,id:r.id,source:r.source,"source-layer":r.sourceLayer,minzoom:r.minzoom,maxzoom:r.maxzoom,filter:r.filter,layout:e,paint:r.paint},i=a._recreateLayer(n,r),o=this.layers.indexOf(r);this.layers[o]=i,this._style.layers[o].layout=e,this._layerByName[r.id]=i,this._uidToLayer.set(r.uid,i)}setStyleLayerVisibility(t,e){const r=this._layerByName[t];if(!r)return;const n=r.layout||{};n.visibility=e;const i={type:r.typeName,id:r.id,source:r.source,"source-layer":r.sourceLayer,minzoom:r.minzoom,maxzoom:r.maxzoom,filter:r.filter,layout:n,paint:r.paint},o=a._recreateLayer(i,r),s=this.layers.indexOf(r);this.layers[s]=o,this._style.layers[s].layout=n,this._layerByName[r.id]=o,this._uidToLayer.set(r.uid,o)}getStyleLayerVisibility(t){const e=this._layerByName[t];if(!e)return"none";const r=e.layout;return r?.visibility??"visible"}_recomputeZValues(){const t=this.layers,e=1/(t.length+1);for(let r=0;r<t.length;r++)t[r].z=1-(1+r)*e}_identifyRefLayers(){const t=[],e=[];let r=0;for(const i of this.layers){const a=i.layout;if(i.type===n.Dc.FILL){const e=i;let n=i.source+"|"+i.sourceLayer;n+="|"+(a?.visibility??""),n+="|"+i.minzoom,n+="|"+i.maxzoom,n+="|"+JSON.stringify(i.filter),(e.hasDataDrivenFill||e.hasDataDrivenOutline)&&(n+="|"+r),t.push({key:n,layer:i})}else if(i.type===n.Dc.LINE){const t=i,n=i.paint,o=null!=n&&(null!=n["line-pattern"]||null!=n["line-dasharray"]);let s=i.source+"|"+i.sourceLayer;s+="|"+(a?.visibility??""),s+="|"+i.minzoom,s+="|"+i.maxzoom,s+="|"+JSON.stringify(i.filter),s+="|"+(void 0!==a?a["line-cap"]:""),s+="|"+(void 0!==a?a["line-join"]:""),(t.hasDataDrivenLine||o)&&(s+="|"+r),e.push({key:s,layer:i})}++r}this._assignRefLayers(t),this._assignRefLayers(e)}_assignRefLayers(t){let e,r;t.sort(((t,e)=>t.key<e.key?-1:t.key>e.key?1:0));const i=t.length;for(let a=0;a<i;a++){const o=t[a];if(o.key===e)o.layer.refLayerId=r;else if(e=o.key,r=o.layer.id,o.layer.type===n.Dc.FILL){if(!o.layer.getPaintProperty("fill-outline-color"))for(let n=a+1;n<i;n++){const i=t[n];if(i.key!==e)break;if(i.layer.getPaintProperty("fill-outline-color")){t[a]=i,t[n]=o,r=i.layer.id;break}}}else if(o.layer.type===n.Dc.LINE){let n=o.layer;for(let s=a+1;s<i;s++){const i=t[s];if(i.key!==e)break;const l=i.layer;(n.canUseThinTessellation&&!l.canUseThinTessellation||!n.canUseThinTessellation&&(l.getPaintProperty("line-pattern")||l.getPaintProperty("line-dasharray")))&&(n=l,t[a]=i,t[s]=o,r=i.layer.id)}}}}_create(t,e,r){const a=1-(1+e)*(1/(r.length+1)),o=this._runningId++;switch(t.type){case"background":return new i.lf(n.Dc.BACKGROUND,t,a,o);case"fill":return new i.A4(n.Dc.FILL,t,a,o);case"line":return new i.tU(n.Dc.LINE,t,a,o);case"symbol":return new i.V1(n.Dc.SYMBOL,t,a,o);case"raster":return console.warn(`Unsupported vector tile raster layer ${t.id}`),null;case"circle":return new i.L(n.Dc.CIRCLE,t,a,o)}return null}static _recreateLayer(t,e){switch(t.type){case"background":return new i.lf(n.Dc.BACKGROUND,t,e.z,e.uid);case"fill":return new i.A4(n.Dc.FILL,t,e.z,e.uid);case"line":return new i.tU(n.Dc.LINE,t,e.z,e.uid);case"symbol":return new i.V1(n.Dc.SYMBOL,t,e.z,e.uid);case"raster":return console.warn(`Unsupported vector tile raster layer ${t.id}`),null;case"circle":return new i.L(n.Dc.CIRCLE,t,e.z,e.uid)}return null}}},68197:(t,e,r)=>{r.d(e,{A:()=>h});var n,i,a=r(40876),o=r(34727),s=r(56507);function l(t){return(0,o.qE)((0,s.Vr)(t),0,255)}function u(t,e){const r=t.toString(16).padStart(2,"0");return e?r.slice(0,1):r}class c{static blendColors(t,e,r,n=new c){return n.r=Math.round(t.r+(e.r-t.r)*r),n.g=Math.round(t.g+(e.g-t.g)*r),n.b=Math.round(t.b+(e.b-t.b)*r),n.a=t.a+(e.a-t.a)*r,n._sanitize()}static fromRgb(t,e){const r=(0,a.lT)(t);return r?c.fromArray(r,e):null}static fromHex(t,e=new c){const r=(0,a.oW)(t);return r?c.fromArray(r,e):null}static fromArray(t,e=new c){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const r=(0,a.Eq)(t);return r?c.fromArray(r,e):null}static fromJSON(t){return null!=t?new c([t[0],t[1],t[2],(t[3]??255)/255]):void 0}static toUnitRGB(t){return null!=t?[t.r/255,t.g/255,t.b/255]:null}static toUnitRGBA(t){return null!=t?[t.r/255,t.g/255,t.b/255,null!=t.a?t.a:1]:null}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){return"string"==typeof t?c.fromString(t,this):Array.isArray(t)?c.fromArray(t,this):(this._set(t.r??0,t.g??0,t.b??0,t.a??1),t instanceof c||this._sanitize()),this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,r=t?.digits??6,n=3===r||4===r,i=4===r||8===r,a=`#${u(this.r,n)}${u(this.g,n)}${u(this.b,n)}${i?u(Math.round(255*this.a),n):""}`;return e?a.toUpperCase():a}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=c.AlphaMode.ALWAYS){const e=l(this.r),r=l(this.g),n=l(this.b);return t===c.AlphaMode.ALWAYS||1!==this.a?[e,r,n,l(255*this.a)]:[e,r,n]}clone(){return new c(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,a.c1)(this.r),this.g=(0,a.c1)(this.g),this.b=(0,a.c1)(this.b),this.a=(0,a.G1)(this.a),this}_set(t,e,r,n){this.r=t,this.g=e,this.b=r,this.a=n}}c.prototype.declaredClass="esri.Color",(i=(n=c||(c={})).AlphaMode||(n.AlphaMode={}))[i.ALWAYS=0]="ALWAYS",i[i.UNLESS_OPAQUE=1]="UNLESS_OPAQUE";const h=c},69397:(t,e,r)=>{r.d(e,{$B:()=>i,Qf:()=>u,Qh:()=>s,RS:()=>a,ez:()=>p,lM:()=>o,qK:()=>h});var n=r(34275);function i(t){return 32+t.length}const a=16;function o(t){if(!t)return 0;let e=h;for(const r in t)t.hasOwnProperty(r)&&(e+=l(t[r],!1));return e}function s(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return c(t,8);let r=p;for(let n=0;n<e;n++)r+=l(t[n]);return r}(t);let e=h;for(const r in t)t.hasOwnProperty(r)&&(e+=l(t[r]));return e}function l(t,e=!0){switch(typeof t){case"object":return e?s(t):h;case"string":return i(t);case"number":return a;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce(((t,e)=>t+(e?(0,n.iu)(e)?e.byteLength+f:Array.isArray(e)?c(e,a):0:0)),0)}function c(t,e){return p+t.length*e}const h=32,p=16,f=145},74038:(t,e,r)=>{r.d(e,{_:()=>n});class n{constructor(t,e,r,n,i,a=!1,o=0){this.name=t,this.count=e,this.type=r,this.offset=n,this.stride=i,this.normalized=a,this.divisor=o}}},80081:(t,e,r)=>{r.d(e,{A:()=>n}),r(44208);class n{constructor(t){this._array=[],this._stride=t}get array(){return this._array}get index(){return 4*this._array.length/this._stride}get itemSize(){return this._stride}get sizeInBytes(){return 4*this._array.length}reset(){this.array.length=0}toBuffer(){return new Uint32Array(this._array).buffer}static i1616to32(t,e){return 65535&t|e<<16}static i8888to32(t,e,r,n){return 255&t|(255&e)<<8|(255&r)<<16|n<<24}static i8816to32(t,e,r){return 255&t|(255&e)<<8|r<<16}}},83027:(t,e,r)=>{r.d(e,{ih:()=>i,vA:()=>n});const n=4096,i=8},85334:(t,e,r)=>{r.d(e,{$:()=>m,IB:()=>o,Iy:()=>w,N2:()=>_,RH:()=>E,ZD:()=>b});var n=r(68197),i=r(4576),a=r(4718);function o(t){return"r"in t&&"g"in t&&"b"in t}function s(t){return"h"in t&&"s"in t&&"v"in t}function l(t){return"l"in t&&"a"in t&&"b"in t}function u(t){return"l"in t&&"c"in t&&"h"in t}r(34727),r(87317),r(91829);const c=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],h=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]];function p(t,e){const r=[];let n,i;if(t[0].length!==e.length)throw new Error("dimensions do not match");const a=t.length,o=t[0].length;let s=0;for(n=0;n<a;n++){for(s=0,i=0;i<o;i++)s+=t[n][i]*e[i];r.push(s)}return r}function f(t){const e=[t.r/255,t.g/255,t.b/255].map((t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4)),r=p(c,e);return{x:100*r[0],y:100*r[1],z:100*r[2]}}function y(t){const e=p(h,[t.x/100,t.y/100,t.z/100]).map((t=>{const e=t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055;return Math.min(1,Math.max(e,0))}));return{r:Math.round(255*e[0]),g:Math.round(255*e[1]),b:Math.round(255*e[2])}}function g(t){const e=[t.x/95.047,t.y/100,t.z/108.883].map((t=>t>(6/29)**3?t**(1/3):1/3*(29/6)**2*t+4/29));return{l:116*e[1]-16,a:500*(e[0]-e[1]),b:200*(e[1]-e[2])}}function d(t){const e=t.l,r=[(e+16)/116+t.a/500,(e+16)/116,(e+16)/116-t.b/200].map((t=>t>6/29?t**3:3*(6/29)**2*(t-4/29)));return{x:95.047*r[0],y:100*r[1],z:108.883*r[2]}}function m(t){return o(t)?t:u(t)?function(t){return y(d(function(t){const e=t.l,r=t.c,n=t.h;return{l:e,a:r*Math.cos(n),b:r*Math.sin(n)}}(t)))}(t):l(t)?function(t){return y(d(t))}(t):function(t){return"x"in t&&"y"in t&&"z"in t}(t)?y(t):s(t)?function(t){const e=(t.h+360)%360/60,r=t.s/100,n=t.v/100*255,i=n*r,a=i*(1-Math.abs(e%2-1));let o;switch(Math.floor(e)){case 0:o={r:i,g:a,b:0};break;case 1:o={r:a,g:i,b:0};break;case 2:o={r:0,g:i,b:a};break;case 3:o={r:0,g:a,b:i};break;case 4:o={r:a,g:0,b:i};break;case 5:case 6:o={r:i,g:0,b:a};break;default:o={r:0,g:0,b:0}}return o.r=Math.round(o.r+n-i),o.g=Math.round(o.g+n-i),o.b=Math.round(o.b+n-i),o}(t):t}function _(t){return s(t)?t:function(t){const e=t.r,r=t.g,n=t.b,i=Math.max(e,r,n),a=i-Math.min(e,r,n);let o=i,s=0===a?0:i===e?(r-n)/a%6:i===r?(n-e)/a+2:(e-r)/a+4,l=0===a?0:a/o;return s<0&&(s+=6),s*=60,l*=100,o*=100/255,{h:s,s:l,v:o}}(m(t))}function b(t){return l(t)?t:function(t){return g(f(t))}(m(t))}function E(t){return u(t)?t:function(t){return function(t){const e=t.l,r=t.a,n=t.b,i=Math.sqrt(r*r+n*n);let a=Math.atan2(n,r);return a=a>0?a:a+2*Math.PI,{l:e,c:i,h:a}}(g(f(t)))}(m(t))}var T,I;function w(t,e,r={}){if(0===t.length||e<=0)return[];if(1===(t=t.map((t=>"string"==typeof t?new n.A(t):t))).length||1===e){const r=[],n=t[0];for(let t=0;t<e;t++)r.push(n.clone());return r}if(r.shuffle&&(t=(0,i.k4)((0,a.o8)(t),r.seed)),t.length>=e){const r=[],n=(t.length-1)/(e-1);for(let i=0;i<e;i++){const e=Math.round(i*n);r.push(t[e].clone())}return r}return function(t,e,r={}){const n=[],a=t.length-1,o=Math.ceil((e-t.length)/a);t:for(let i=0;i<a;i++){const a=t[i],s=t[i+1];for(let i=1;i<=o;i++){const l=i/(o+1);if(n.push(R(a,s,l,r)),n.length+t.length===e)break t}}return[...t.map((t=>t.clone())),...(0,i.k4)(n,r.seed??1)]}(t,e,r)}(I=T||(T={}))[I.Low=160]="Low",I[I.High=225]="High";const v=(t,e)=>{const r=Math.floor(10*e())-5;return Math.min(255,Math.max(0,t+r))};function R(t,e,r,a={}){const o=t.r,s=t.g,l=t.b,u=e.r,c=e.g,h=e.b,p=Math.round(o+(u-o)*r),f=Math.round(s+(c-s)*r),y=Math.round(l+(h-l)*r);if(!a.offset)return new n.A([p,f,y]);const g=(0,i.Mo)(a.seed);return new n.A([v(p,g),v(f,g),v(y,g)])}},89640:(t,e,r)=>{var n,i,a;r.d(e,{$q:()=>a,NP:()=>n,kh:()=>i}),function(t){t[t.FILL=1]="FILL",t[t.LINE=2]="LINE",t[t.SYMBOL=3]="SYMBOL",t[t.CIRCLE=4]="CIRCLE"}(n||(n={})),function(t){t[t.BACKGROUND=0]="BACKGROUND",t[t.FILL=1]="FILL",t[t.OUTLINE=2]="OUTLINE",t[t.LINE=3]="LINE",t[t.ICON=4]="ICON",t[t.CIRCLE=5]="CIRCLE",t[t.TEXT=6]="TEXT",t[t.TILEINFO=7]="TILEINFO"}(i||(i={})),function(t){t[t.PAINTER_CHANGED=0]="PAINTER_CHANGED",t[t.LAYOUT_CHANGED=1]="LAYOUT_CHANGED",t[t.LAYER_CHANGED=2]="LAYER_CHANGED",t[t.LAYER_REMOVED=3]="LAYER_REMOVED",t[t.SPRITES_CHANGED=4]="SPRITES_CHANGED"}(a||(a={}))}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3910],{3904:(e,t,o)=>{o.d(t,{A:()=>a});var r=o(90237),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608)),n=o(43937);let a=class extends s.A{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,o){e||(t[o]=e)}};(0,r._)([(0,i.MZ)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],a.prototype,"enabled",void 0),(0,r._)([(0,n.K)("enabled")],a.prototype,"writeEnabled",null),(0,r._)([(0,i.MZ)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0,json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),a=(0,r._)([(0,l.$)("esri.symbols.Symbol3DLayer")],a)},3955:(e,t,o)=>{o.d(t,{A:()=>n});var r=o(90237),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.A{constructor(e){super(e),this.type="style"}clone(){throw new Error("Subclasses of Pattern3D should implement their own clone method.")}};(0,r._)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.$)("esri.symbols.patterns.Pattern3D")],n)},4595:(e,t,o)=>{o.d(t,{A:()=>n});var r=o(90237),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.A{constructor(e){super(e),this.visible=!0}clone(){throw new Error("Subclasses of Callout3D should implement their own clone method.")}};(0,r._)([(0,i.MZ)({type:["line"],constructOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],n.prototype,"type",void 0),(0,r._)([(0,i.MZ)({readOnly:!0})],n.prototype,"visible",void 0),n=(0,r._)([(0,l.$)("esri.symbols.callouts.Callout3D")],n)},4792:(e,t,o)=>{o.d(t,{A:()=>h});var r=o(90237),s=o(68197),i=o(25482),l=o(4718),n=o(90629),a=o(10107),y=(o(44208),o(53966),o(40608)),p=o(67222);let c=class extends i.A{constructor(e){super(e),this.color=new s.A([0,0,0,1]),this.extensionLength=0,this.size=(0,n.PN)(1)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r._)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],c.prototype,"type",void 0),(0,r._)([(0,a.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],c.prototype,"color",void 0),(0,r._)([(0,a.MZ)({...p.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],c.prototype,"extensionLength",void 0),(0,r._)([(0,a.MZ)(p.pI)],c.prototype,"size",void 0),c=(0,r._)([(0,y.$)("esri.symbols.edges.Edges3D")],c);const h=c},4900:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(90237),i=o(25482),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(67222);let y=r=class extends i.A{constructor(e){super(e),this.screenLength=0,this.minWorldLength=0,this.maxWorldLength=null}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,s._)([(0,l.MZ)({...a.pI,json:{write:{isRequired:!0}}})],y.prototype,"screenLength",void 0),(0,s._)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],y.prototype,"minWorldLength",void 0),(0,s._)([(0,l.MZ)({type:Number,json:{write:!0}})],y.prototype,"maxWorldLength",void 0),y=r=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DVerticalOffset")],y)},6847:(e,t,o)=>{o.d(t,{i:()=>m,r:()=>b});var r,s=o(90237),i=o(66552),l=o(25482),n=o(84952),a=o(10107),y=(o(44208),o(53966),o(87811),o(93223)),p=o(36005),c=o(40608),h=o(43937),u=o(97159);const d=(0,i.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let m=r=class extends l.A{constructor(e){super(e)}readHref(e,t,o){return e?(0,u.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,u.t)(e,r),(0,n.oP)(t.href)&&(t.href=(0,n.S8)(t.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s._)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],m.prototype,"href",void 0),(0,s._)([(0,p.w)("href")],m.prototype,"readHref",null),(0,s._)([(0,h.K)("href",{href:{type:String},dataURI:{type:String}})],m.prototype,"writeHref",null),(0,s._)([(0,y.e)(d)],m.prototype,"primitive",void 0),m=r=(0,s._)([(0,c.$)("esri.symbols.support.IconSymbol3DLayerResource")],m);const b="circle"},8887:(e,t,o)=>{o.d(t,{Bb:()=>i,Fq:()=>y,M4:()=>p,Nv:()=>c,e:()=>h}),o(44208);var r=o(51850),s=o(70328);function i(e,{isPrimitive:t,width:o,depth:s,height:i}){const l=t?10:1;if(null==o&&null==i&&null==s)return[l*e[0],l*e[1],l*e[2]];const n=(0,r.fA)(o,s,i);let a;for(let t=0;t<3;t++){const o=n[t];if(null!=o){a=o/e[t];break}}for(let t=0;t<3;t++)null==n[t]&&(n[t]=e[t]*a);return n}const l=(0,s.fA)(-.5,-.5,-.5,.5,.5,.5),n=(0,s.fA)(-.5,-.5,0,.5,.5,1),a=(0,s.fA)(-.5,-.5,0,.5,.5,.5);function y(e){switch(e){case"sphere":case"cube":case"diamond":return l;case"cylinder":case"cone":case"inverted-cone":return n;case"tetrahedron":return a;default:return}}const p=["butt","square","round"],c=[...p,"none"],h=["miter","bevel","round"]},8893:(e,t,o)=>{o.d(t,{A:()=>w});var r,s=o(90237),i=o(68197),l=o(4718),n=o(90629),a=o(10107),y=(o(44208),o(53966),o(93223)),p=o(40608),c=o(4595),h=o(25482),u=o(67222);let d=r=class extends h.A{constructor(e){super(e),this.color=new i.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,s._)([(0,a.MZ)((0,u.EW)({colorRequiredOnWrite:!0}))],d.prototype,"color",void 0),d=r=(0,s._)([(0,p.$)("esri.symbols.callouts.LineCallout3DBorder")],d);const m=d;var b;let w=b=class extends c.A{constructor(e){super(e),this.type="line",this.color=new i.A([0,0,0,1]),this.size=(0,n.PN)(1),this.border=null}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new b({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,s._)([(0,y.e)({line:"line"})],w.prototype,"type",void 0),(0,s._)([(0,a.MZ)((0,u.EW)({colorRequiredOnWrite:!0}))],w.prototype,"color",void 0),(0,s._)([(0,a.MZ)({...u.pI,json:{write:{isRequired:!0}}})],w.prototype,"size",void 0),(0,s._)([(0,a.MZ)({type:m,json:{write:!0}})],w.prototype,"border",void 0),(0,s._)([(0,a.MZ)({readOnly:!0})],w.prototype,"visible",null),w=b=(0,s._)([(0,p.$)("esri.symbols.callouts.LineCallout3D")],w)},10224:(e,t,o)=>{o.d(t,{A:()=>A});var r,s=o(90237),i=o(4718),l=o(10107),n=(o(44208),o(53966),o(93223)),a=o(40608),y=o(43937),p=o(11831),c=o(3904),h=o(67222),u=o(68197),d=o(25482);let m=r=class extends d.A{constructor(){super(...arguments),this.color=new u.A([0,0,0,1]),this.size=0}clone(){const e={color:(0,i.o8)(this.color),size:this.size};return new r(e)}};(0,s._)([(0,l.MZ)((0,h.EW)())],m.prototype,"color",void 0),(0,s._)([(0,l.MZ)(h.pI)],m.prototype,"size",void 0),m=r=(0,s._)([(0,a.$)("esri.symbols.support.Symbol3DHalo")],m);var b=o(28975),w=o(69540);o(87811);let v=class extends(w.A.ClonableMixin(d.A)){constructor(e){super(e),this.color=null}};(0,s._)([(0,l.MZ)((0,h.EW)())],v.prototype,"color",void 0),v=(0,s._)([(0,a.$)("esri.symbols.support.Symbol3DTextBackground")],v);var f,g=o(5760);let A=class extends c.A{static{f=this}constructor(e){super(e),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.lineHeight=1,this.material=null,this.background=null,this.text=null,this.type="text",this.verticalAlignment="baseline"}get font(){return this._get("font")||null}set font(e){null!=e&&null!=this._userSize&&(e.size=this._userSize),this._set("font",e)}writeFont(e,t,o,r){const s={...r,textSymbol3D:!0};t.font=e.write({},s),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font?.size?this.font.size:9}set size(e){this._userSize=e,null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new f({enabled:this.enabled,font:this.font&&(0,i.o8)(this.font),halo:this.halo&&(0,i.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,i.o8)(this.background)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new f({font:null!=e.font?e.font.clone():new p.A,halo:_(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new b.N({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new v({color:e.backgroundColor.clone()}):null})}};function _(e,t){return e&&null!=t&&t>0?new m({color:(0,i.o8)(e),size:t}):null}(0,s._)([(0,l.MZ)({type:p.A,json:{write:!0}})],A.prototype,"font",null),(0,s._)([(0,y.K)("font")],A.prototype,"writeFont",null),(0,s._)([(0,l.MZ)({type:m,json:{write:!0}})],A.prototype,"halo",void 0),(0,s._)([(0,l.MZ)({...g.rM,json:{default:"center",write:!0}})],A.prototype,"horizontalAlignment",void 0),(0,s._)([(0,l.MZ)({...g.Tb,json:{default:1,write:!0}})],A.prototype,"lineHeight",void 0),(0,s._)([(0,l.MZ)({type:b.N,json:{write:!0}})],A.prototype,"material",void 0),(0,s._)([(0,l.MZ)({type:v,json:{write:!0}})],A.prototype,"background",void 0),(0,s._)([(0,l.MZ)(h.pI)],A.prototype,"size",null),(0,s._)([(0,l.MZ)({type:String,json:{write:!0}})],A.prototype,"text",void 0),(0,s._)([(0,n.e)({Text:"text"},{readOnly:!0})],A.prototype,"type",void 0),(0,s._)([(0,l.MZ)({...g.x0,json:{default:"baseline",write:!0}})],A.prototype,"verticalAlignment",void 0),A=f=(0,s._)([(0,a.$)("esri.symbols.TextSymbol3DLayer")],A)},11506:(e,t,o)=>{o.d(t,{A:()=>_});var r=o(90237),s=o(90629),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(68197),y=o(69540),p=o(25482),c=o(56507),h=o(83213);let u=class extends(y.A.ClonableMixin(p.A)){constructor(e){super(e),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(e){return null!=e&&e.placement===this.placement&&e.style===this.style&&(null==this.color&&null==e.color||null!=this.color&&null!=e.color&&this.color.toJSON()===e.color.toJSON())}};(0,r._)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],u.prototype,"type",void 0),(0,r._)([(0,i.MZ)({type:h.x,json:{default:"begin-end",write:!0}})],u.prototype,"placement",void 0),(0,r._)([(0,i.MZ)({type:h.z,json:{default:"arrow",write:!0}})],u.prototype,"style",void 0),(0,r._)([(0,i.MZ)({type:a.A,json:{type:[c.jz],default:null,write:!0}})],u.prototype,"color",void 0),u=(0,r._)([(0,n.$)("esri.symbols.LineStyleMarker3D")],u);var d,m=o(3904),b=o(44633),w=o(20603),v=o(33386),f=o(67222),g=o(28975),A=o(8887);let _=class extends m.A{static{d=this}constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.size=(0,s.PN)(1),this.pattern=null,this.marker=null}clone(){const e={enabled:this.enabled,material:null!=this.material?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:null!=this.pattern?this.pattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new d(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,s.PN)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new b.A({style:e.style}):null,material:new g.N({color:(e.color||v.ON).clone()}),marker:e.marker?new u({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new d(t)}};(0,r._)([(0,i.MZ)({type:g.N,json:{write:!0}})],_.prototype,"material",void 0),(0,r._)([(0,l.e)({Line:"line"},{readOnly:!0})],_.prototype,"type",void 0),(0,r._)([(0,i.MZ)({type:A.e,json:{write:!0,default:"miter"}})],_.prototype,"join",void 0),(0,r._)([(0,i.MZ)({type:A.M4,json:{write:!0,default:"butt"}})],_.prototype,"cap",void 0),(0,r._)([(0,i.MZ)({...f.pI,json:{write:{isRequired:!0}}})],_.prototype,"size",void 0),(0,r._)([(0,i.MZ)(w.v)],_.prototype,"pattern",void 0),(0,r._)([(0,i.MZ)({types:{key:"type",base:u,typeMap:{style:u}},json:{write:!0}})],_.prototype,"marker",void 0),_=d=(0,r._)([(0,n.$)("esri.symbols.LineSymbol3DLayer")],_)},13313:(e,t,o)=>{o.d(t,{A:()=>m});var r,s=o(90237),i=o(5503),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(58185),c=o(10224),h=o(59483),u=o(4900);const d=i.A.ofType({base:null,key:"type",typeMap:{text:c.A}});let m=r=class extends p.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.symbolLayers=new d,this.type="label-3d"}supportsCallout(){return!0}hasVisibleCallout(){return(0,h.LH)(this)}hasVisibleVerticalOffset(){return(0,h.Yq)(this)}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail),callout:(0,l.o8)(this.callout),verticalOffset:(0,l.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new i.A([c.A.fromTextSymbol(e)])})}};(0,s._)([(0,n.MZ)({type:u.A,json:{write:!0}})],m.prototype,"verticalOffset",void 0),(0,s._)([(0,n.MZ)(h.oG)],m.prototype,"callout",void 0),(0,s._)([(0,n.MZ)({json:{read:!1,write:!1}})],m.prototype,"styleOrigin",void 0),(0,s._)([(0,n.MZ)({type:d})],m.prototype,"symbolLayers",void 0),(0,s._)([(0,a.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s._)([(0,y.$)("esri.symbols.LabelSymbol3D")],m)},16264:(e,t,o)=>{o.d(t,{A:()=>a});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608)),n=o(3955);let a=r=class extends n.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){return new r({style:this.style})}};(0,s._)([(0,i.MZ)({type:["style"],json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:{isRequired:!0}}})],a.prototype,"style",void 0),a=r=(0,s._)([(0,l.$)("esri.symbols.patterns.StylePattern3D")],a)},18574:(e,t,o)=>{o.d(t,{A:()=>S});var r,s=o(90237),i=o(4718),l=o(53966),n=o(84952),a=o(10107),y=(o(44208),o(93223)),p=o(40608),c=o(3904),h=o(33386),u=o(6847),d=o(67222),m=o(69622);o(87811);let b=r=class extends m.A{constructor(){super(...arguments),this.x=0,this.y=0}clone(){return new r({x:this.x,y:this.y})}};(0,s._)([(0,a.MZ)({type:Number})],b.prototype,"x",void 0),(0,s._)([(0,a.MZ)({type:Number})],b.prototype,"y",void 0),b=r=(0,s._)([(0,p.$)("esri.symbols.support.Symbol3DAnchorPosition2D")],b);var w,v=o(68197),f=o(25482),g=o(90629);let A=w=class extends f.A{constructor(e){super(e),this.color=new v.A([0,0,0,1]),this.size=(0,g.PN)(1)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new w(e)}};(0,s._)([(0,a.MZ)((0,d.EW)({colorRequiredOnWrite:!0}))],A.prototype,"color",void 0),(0,s._)([(0,a.MZ)({...d.pI,json:{write:{isRequired:!0}}})],A.prototype,"size",void 0),A=w=(0,s._)([(0,p.$)("esri.symbols.support.Symbol3DIconOutline")],A);var _,M=o(28975);let S=class extends c.A{static{_=this}constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.size=12,this.anchor="center",this.anchorPosition=null,this.outline=null,this.angle=0}clone(){return new _({anchor:this.anchor,anchorPosition:(0,i.o8)(this.anchorPosition),enabled:this.enabled,material:(0,i.o8)(this.material),outline:(0,i.o8)(this.outline),resource:(0,i.o8)(this.resource),angle:this.angle,size:this.size})}static fromSimpleMarkerSymbol(e){const t=e.color||h.ON,o=x(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||h.ON).clone()}:null;return new _({size:e.size,angle:e.angle,resource:{primitive:L((()=>l.A.getLogger(this.prototype)),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,h.U9)(e.color)?h.ON:e.color,o=x(e);return new _({size:e.width<=e.height?e.height:e.width,angle:e.angle,resource:{href:e.url},material:{color:t.clone()},anchor:o?"relative":void 0,anchorPosition:o})}static fromCIMSymbol(e){return new _({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})}})}};function x(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=Z(e.xoffset),s=Z(e.yoffset);return(r||s)&&t&&o?{x:-r/t,y:s/o}:null}function Z(e){return isFinite(e)?e:0}(0,s._)([(0,a.MZ)({type:M.N,json:{write:!0}})],S.prototype,"material",void 0),(0,s._)([(0,a.MZ)({type:u.i,json:{write:!0}})],S.prototype,"resource",void 0),(0,s._)([(0,y.e)({Icon:"icon"},{readOnly:!0})],S.prototype,"type",void 0),(0,s._)([(0,a.MZ)({...d.pI,json:{write:{isRequired:!0}}})],S.prototype,"size",void 0),(0,s._)([(0,y.e)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"},{default:"center"})],S.prototype,"anchor",void 0),(0,s._)([(0,a.MZ)({type:b,json:{type:[Number],read:{reader:e=>new b({x:e[0],y:e[1]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],S.prototype,"anchorPosition",void 0),(0,s._)([(0,a.MZ)({type:A,json:{write:!0}})],S.prototype,"outline",void 0),(0,s._)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],S.prototype,"angle",void 0),S=_=(0,s._)([(0,p.$)("esri.symbols.IconSymbol3DLayer")],S);const j={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function L(e,t){return j[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},20603:(e,t,o)=>{o.d(t,{r:()=>n,v:()=>a});var r=o(36533),s=o(44633),i=o(3955),l=o(16264);const n={types:{key:"type",base:i.A,typeMap:{style:l.A}},json:{write:!0}},a={types:{key:"type",base:r.A,typeMap:{style:s.A}},json:{write:!0}}},26449:(e,t,o)=>{o.d(t,{A:()=>c});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(51734),p=o(28975);let c=class extends a.A{static{r=this}constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges?.clone(),enabled:this.enabled,material:this.material?.clone(),castShadows:this.castShadows,size:this.size})}};(0,s._)([(0,l.e)({Extrude:"extrude"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],c.prototype,"size",void 0),(0,s._)([(0,i.MZ)({type:p.N,json:{write:!0}})],c.prototype,"material",void 0),(0,s._)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,s._)([(0,i.MZ)(y.J)],c.prototype,"edges",void 0),c=r=(0,s._)([(0,n.$)("esri.symbols.ExtrudeSymbol3DLayer")],c)},27845:(e,t,o)=>{o.d(t,{A:()=>S});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(51734),p=o(44633),c=o(16264),h=o(20603),u=o(33386),d=(o(49186),o(28975));let m=r=class extends d.N{constructor(e){super(e),this.colorMixMode=null}clone(){const e={color:this.color?.clone()??null,colorMixMode:this.colorMixMode,emissive:this.emissive?.clone()??null};return new r(e)}};(0,s._)([(0,l.e)({multiply:"multiply",replace:"replace",tint:"tint"})],m.prototype,"colorMixMode",void 0),m=r=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DFillMaterial")],m);var b,w=o(68197),v=o(25482),f=o(90629),g=o(67222),A=o(8887);let _=b=class extends v.A{constructor(e){super(e),this.color=new w.A([0,0,0,1]),this.size=(0,f.PN)(1),this.pattern=null,this.patternCap="butt"}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size,pattern:null!=this.pattern?this.pattern.clone():null,patternCap:this.patternCap};return new b(e)}};var M;(0,s._)([(0,i.MZ)((0,g.EW)({colorRequiredOnWrite:!0}))],_.prototype,"color",void 0),(0,s._)([(0,i.MZ)({...g.pI,json:{write:{isRequired:!0}}})],_.prototype,"size",void 0),(0,s._)([(0,i.MZ)(h.v)],_.prototype,"pattern",void 0),(0,s._)([(0,i.MZ)({type:A.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],_.prototype,"patternCap",void 0),_=b=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DOutline")],_);let S=class extends a.A{static{M=this}constructor(e){super(e),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const e={edges:null!=this.edges?this.edges.clone():null,enabled:this.enabled,material:null!=this.material?this.material.clone():null,pattern:null!=this.pattern?this.pattern.clone():null,castShadows:this.castShadows,outline:null!=this.outline?this.outline.clone():null};return new M(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new p.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??u.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new M({material:new m({color:(e.color??u.u7).clone()}),pattern:e.style&&"solid"!==e.style?new c.A({style:e.style}):null,outline:o})}};(0,s._)([(0,l.e)({Fill:"fill"},{readOnly:!0})],S.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:m,json:{write:!0}})],S.prototype,"material",void 0),(0,s._)([(0,i.MZ)(h.r)],S.prototype,"pattern",void 0),(0,s._)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],S.prototype,"castShadows",void 0),(0,s._)([(0,i.MZ)({type:_,json:{write:!0}})],S.prototype,"outline",void 0),(0,s._)([(0,i.MZ)(y.J)],S.prototype,"edges",void 0),S=M=(0,s._)([(0,n.$)("esri.symbols.FillSymbol3DLayer")],S)},28975:(e,t,o)=>{o.d(t,{N:()=>c});var r,s=o(90237),i=o(25482),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(67222);let y=r=class extends i.A{constructor(){super(...arguments),this.strength=null,this.source="emissive"}clone(){const e={strength:this.strength,source:this.source};return new r(e)}};var p;(0,s._)([(0,l.MZ)({json:{write:!1}})],y.prototype,"strength",void 0),(0,s._)([(0,l.MZ)({json:{write:!1}})],y.prototype,"source",void 0),y=r=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DEmissive")],y);let c=p=class extends i.A{constructor(e){super(e),this.color=null,this.emissive=new y({source:"emissive"})}clone(){const e={color:this.color?.clone()??null,emissive:this.emissive?.clone()??null};return new p(e)}};(0,s._)([(0,l.MZ)((0,a.EW)())],c.prototype,"color",void 0),(0,s._)([(0,l.MZ)({type:y,json:{write:!1}})],c.prototype,"emissive",void 0),c=p=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DMaterial")],c)},30809:(e,t,o)=>{o.d(t,{E:()=>h,r:()=>u});var r,s=o(90237),i=o(66552),l=o(25482),n=o(10107),a=(o(44208),o(53966),o(87811),o(93223)),y=o(40608),p=o(97159);const c=(0,i.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let h=r=class extends l.A{clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s._)([(0,n.MZ)({type:String,json:{read:p.r,write:p.w}})],h.prototype,"href",void 0),(0,s._)([(0,a.e)(c)],h.prototype,"primitive",void 0),h=r=(0,s._)([(0,y.$)("esri.symbols.support.ObjectSymbol3DLayerResource")],h);const u="sphere"},33386:(e,t,o)=>{o.d(t,{ON:()=>s,U9:()=>l,u7:()=>i});var r=o(68197);const s=new r.A("white"),i=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}},33910:(e,t,o)=>{o.d(t,{dp:()=>I,$y:()=>L,wk:()=>O,Y7:()=>k,wC:()=>N,Ac:()=>D,Bu:()=>C,Es:()=>z,q8:()=>$,em:()=>R,Rv:()=>W,xK:()=>P,On:()=>q});var r,s=o(56507),i=o(90360),l=o(40863),n=o(13313),a=o(97887),y=o(68548),p=o(90237),c=o(4718),h=o(90629),u=o(10107),d=(o(44208),o(53966),o(93223)),m=o(40608),b=o(65851),w=o(77040);let v=r=class extends b.A{constructor(...e){super(...e),this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.width=12,this.height=12,this.xoffset=0,this.yoffset=0,this.source=null}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const s={};return e&&(s.url=e),t&&(s.outline=t),null!=o&&(s.width=(0,h.cr)(o)),null!=r&&(s.height=(0,h.cr)(r)),s}clone(){const e=new r({color:(0,c.o8)(this.color),height:this.height,outline:(0,c.o8)(this.outline),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return e._set("source",(0,c.o8)(this.source)),e}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,p._)([(0,d.e)({esriPFS:"picture-fill"},{readOnly:!0})],v.prototype,"type",void 0),(0,p._)([(0,u.MZ)(w.ku)],v.prototype,"url",void 0),(0,p._)([(0,u.MZ)({type:Number,json:{write:!0}})],v.prototype,"xscale",void 0),(0,p._)([(0,u.MZ)({type:Number,json:{write:!0}})],v.prototype,"yscale",void 0),(0,p._)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],v.prototype,"width",void 0),(0,p._)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],v.prototype,"height",void 0),(0,p._)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],v.prototype,"xoffset",void 0),(0,p._)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],v.prototype,"yoffset",void 0),(0,p._)([(0,u.MZ)(w.k7)],v.prototype,"source",void 0),v=r=(0,p._)([(0,m.$)("esri.symbols.PictureFillSymbol")],v);var f=o(58592),g=o(75981),A=o(65365),_=o(94985),M=o(31593),S=o(53930),x=o(20378),Z=o(68249),j=o(37757);function L(e){if(!e)return!1;switch(e.type){case"picture-fill":case"picture-marker":case"simple-fill":case"simple-line":case"simple-marker":case"text":case"cim":return!0;default:return!1}}function O(e){switch(e?.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}const z={base:x.A,key:"type",typeMap:{"simple-fill":_.A,"picture-fill":v,"picture-marker":f.A,"simple-line":M.A,"simple-marker":S.A,text:Z.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":g.A,"polygon-3d":A.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},N=(x.A,_.A,l.A,{base:x.A,key:"type",typeMap:{"picture-marker":f.A,"simple-marker":S.A,"point-3d":g.A,cim:l.A},errorContext:"symbol"}),k={base:x.A,key:"type",typeMap:{"simple-line":M.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},D={base:x.A,key:"type",typeMap:{"simple-fill":_.A,"picture-fill":v,"polygon-3d":A.A,cim:l.A},errorContext:"symbol"},$={base:x.A,key:"type",typeMap:{"picture-marker":f.A,"simple-marker":S.A,text:Z.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},C=(0,i.C)({types:z}),P={base:x.A,key:"type",typeMap:{"simple-fill":_.A,"picture-fill":v,"picture-marker":f.A,"simple-line":M.A,"simple-marker":S.A,text:Z.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":g.A,"polygon-3d":A.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},R={base:x.A,key:"type",typeMap:{text:Z.A,"label-3d":n.A},errorContext:"symbol"},q=(x.A,n.A,a.A,y.A,g.A,A.A,j.A,{base:x.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":y.A,"point-3d":g.A,"polygon-3d":A.A,"web-style":j.A,cim:l.A},errorContext:"symbol"}),W={base:x.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},I=(0,s.aq)(z)},34723:(e,t,o)=>{o.d(t,{A:()=>h});var r,s=o(90237),i=o(68197),l=o(4718),n=o(10107),a=o(56507),y=o(93223),p=o(40608),c=o(3904);let h=class extends c.A{static{r=this}constructor(e){super(e),this.color=u.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:(0,l.o8)(this.color),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,s._)([(0,n.MZ)({type:i.A,nonNullable:!0,json:{type:[a.jz],write:(e,t,o)=>t[o]=e.toArray(i.A.AlphaMode.UNLESS_OPAQUE),default:()=>u.clone(),defaultEquals:e=>e.toCss(!0)===u.toCss(!0)}})],h.prototype,"color",void 0),(0,s._)([(0,y.e)({Water:"water"},{readOnly:!0})],h.prototype,"type",void 0),(0,s._)([(0,n.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],h.prototype,"waterbodySize",void 0),(0,s._)([(0,n.MZ)({type:Number,json:{write:!0,default:null}})],h.prototype,"waveDirection",void 0),(0,s._)([(0,n.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],h.prototype,"waveStrength",void 0),h=r=(0,s._)([(0,p.$)("esri.symbols.WaterSymbol3DLayer")],h);const u=new i.A([0,119,190])},36533:(e,t,o)=>{o.d(t,{A:()=>n});var r=o(90237),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.A{constructor(e){super(e)}clone(){throw new Error("Subclasses of LinePattern3D should implement their own clone method.")}};(0,r._)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.$)("esri.symbols.patterns.LinePattern3D")],n)},37757:(e,t,o)=>{o.d(t,{A:()=>b});var r,s=o(90237),i=o(51447),l=o(49186),n=o(53966),a=o(74887),y=o(10107),p=(o(44208),o(87811),o(93223)),c=o(40608),h=o(20655),u=o(97159),d=o(20378),m=o(57212);let b=r=class extends d.A{constructor(e){super(e),this.color=null,this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}get _fetchCacheKey(){const e=null!=this.portal?this.portal:h.A.getDefault(),t=e.user?e.user.username:null;return`${this.styleName}:${this.styleUrl}:${this.name}:${t}:${e.url}`}read(e,t){this.portal=t?.portal,super.read(e,t)}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async fetchCIMSymbol(e){(0,i.eO)(n.A.getLogger(this),"WebStyleSymbol.fetchCIMSymbol is deprecated in favour of WebStyleSymbol.fetchSymbol which now supports both web and cim symbology",{version:"4.33",replacement:"WebStyleSymbol.fetchSymbol",see:"https://arcg.is/0CXPTr#fetchSymbol",warnOnce:!0});const t=await this._fetchSymbol({...e,acceptedFormats:["cim"]});if("cim"!==t?.type)throw new l.A("webstylesymbol:fetchCIMSymbol","Resolved web style symbol is not of type 'cim'");return t}async _fetchSymbol(e){const t=null!=e?e.cache:null,r=t?this._fetchCacheKey:null;if(null!=t){const e=r&&t.get(r);if(e)return e.clone()}const{resolveWebStyleSymbol:s}=await o.e(7883).then(o.bind(o,27883));(0,a.Te)(e);const i=s(this,{portal:this.portal},e);i.catch((e=>{n.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)}));const l=await i;return null!=t&&t.set(r,l.clone()),l}};(0,s._)([(0,y.MZ)({json:{write:!1}})],b.prototype,"color",void 0),(0,s._)([(0,y.MZ)({type:String,json:{write:!0}})],b.prototype,"styleName",void 0),(0,s._)([(0,y.MZ)({type:h.A,json:{write:!1}})],b.prototype,"portal",void 0),(0,s._)([(0,y.MZ)({type:String,json:{read:u.r,write:u.w}})],b.prototype,"styleUrl",void 0),(0,s._)([(0,y.MZ)({type:m.V,json:{read:!1}})],b.prototype,"thumbnail",void 0),(0,s._)([(0,y.MZ)({type:String,json:{write:!0}})],b.prototype,"name",void 0),(0,s._)([(0,p.e)({styleSymbolReference:"web-style"},{readOnly:!0})],b.prototype,"type",void 0),(0,s._)([(0,y.MZ)()],b.prototype,"_fetchCacheKey",null),b=r=(0,s._)([(0,c.$)("esri.symbols.WebStyleSymbol")],b)},39065:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(90237),i=(o(53966),o(44208),o(87811),o(49186),o(93223)),l=o(40608),n=o(4792);let a=r=class extends n.A{constructor(e){super(e),this.type="solid"}clone(){return new r(this.cloneProperties())}};(0,s._)([(0,i.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s._)([(0,l.$)("esri.symbols.edges.SolidEdges3D")],a);const y=a},40863:(e,t,o)=>{o.d(t,{A:()=>d});var r,s=o(90237),i=o(4718),l=o(799),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(36005),p=o(40608),c=o(43937),h=o(30524),u=o(20378);let d=r=class extends u.A{constructor(e){super(e),this.data=null,this.type="cim"}readData(e,t){return t}writeData(e,t){Object.assign(t,e)}async collectRequiredFields(e,t){if("CIMSymbolReference"===this.data?.type){const o=this.data.primitiveOverrides;if(o){const r=o.map((o=>{const r=o.valueExpressionInfo;return r?(0,h.Dx)(e,t,r.expression):null}));await Promise.all(r)}}}clone(){return new r({data:(0,i.o8)(this.data)})}hash(){return(0,l.Wm)(JSON.stringify(this.data)).toString()}};(0,s._)([(0,n.MZ)({json:{write:!1}})],d.prototype,"color",void 0),(0,s._)([(0,n.MZ)({json:{write:!0}})],d.prototype,"data",void 0),(0,s._)([(0,y.w)("data",["symbol"])],d.prototype,"readData",null),(0,s._)([(0,c.K)("data",{})],d.prototype,"writeData",null),(0,s._)([(0,a.e)({CIMSymbolReference:"cim"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,s._)([(0,p.$)("esri.symbols.CIMSymbol")],d)},44633:(e,t,o)=>{o.d(t,{A:()=>c});var r,s=o(90237),i=o(66552),l=o(10107),n=(o(44208),o(53966),o(87811),o(93223)),a=o(40608),y=o(36533);const p=(0,i.O)()({dash:"dash","dash-dot":"dash-dot","dash-dot-dot":"long-dash-dot-dot",dot:"dot","long-dash":"long-dash","long-dash-dot":"long-dash-dot",null:"none","short-dash":"short-dash","short-dash-dot":"short-dash-dot","short-dash-dot-dot":"short-dash-dot-dot","short-dot":"short-dot",solid:"solid"});let c=r=class extends y.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){const e={style:this.style};return new r(e)}};(0,s._)([(0,l.MZ)({type:["style"],json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),(0,s._)([(0,n.e)(p),(0,l.MZ)({type:["dash","dash-dot","dot","long-dash","long-dash-dot","long-dash-dot-dot","none","short-dash","short-dash-dot","short-dash-dot-dot","short-dot","solid"],json:{write:{isRequired:!0}}})],c.prototype,"style",void 0),c=r=(0,s._)([(0,a.$)("esri.symbols.patterns.LineStylePattern3D")],c)},51734:(e,t,o)=>{o.d(t,{J:()=>c});var r,s=o(4792),i=o(90237),l=(o(53966),o(44208),o(87811),o(49186),o(93223)),n=o(40608);let a=r=class extends s.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,i._)([(0,l.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i._)([(0,n.$)("esri.symbols.edges.SketchEdges3D")],a);const y=a;var p=o(39065);const c={types:{key:"type",base:s.A,typeMap:{solid:p.A,sketch:y}},json:{write:!0}}},57212:(e,t,o)=>{o.d(t,{V:()=>a});var r,s=o(90237),i=o(69622),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608));let a=r=class extends i.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,s._)([(0,l.MZ)({type:String})],a.prototype,"url",void 0),a=r=(0,s._)([(0,n.$)("esri.symbols.support.Thumbnail")],a)},58185:(e,t,o)=>{o.d(t,{A:()=>z});var r=o(90237),s=o(5503),i=o(62885),l=o(53966),n=o(84952),a=o(67076),y=o(10107),p=o(79901),c=(o(44208),o(87811),o(36005)),h=o(40608),u=o(43937),d=o(20655),m=o(97159),b=o(26449),w=o(27845),v=o(18574),f=o(11506),g=o(87403),A=o(66525),_=o(20378),M=o(3904),S=o(10224),x=o(34723),Z=o(98751),j=o(57212);const L={icon:v.A,object:g.A,line:f.A,path:A.A,fill:w.A,extrude:b.A,text:S.A,water:x.A},O=s.A.ofType({base:M.A,key:"type",typeMap:L,errorContext:"symbol-layer"});let z=class extends _.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers,o=t?.type,r=o||s.A;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.A.getLogger(this).error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(e){(0,i.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){const t=(0,m.f)(e.styleUrl,o);return new Z.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new Z.A({portal:o?.portal||d.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new a.A("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:e}))}writeStyleOrigin(e,t,o,r){if(e.styleUrl&&e.name){let o=(0,m.t)(e.styleUrl,r);(0,n.oP)(o)&&(o=(0,n.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,n.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new a.A("symbol:cross-portal","The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.",{symbol:this})):t.styleOrigin={styleName:e.styleName,name:e.name})}normalizeCtorArgs(e){return e instanceof M.A||e&&L[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r._)([(0,y.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r._)([(0,y.MZ)({type:O,nonNullable:!0,json:{write:!0}}),(0,p.w)(i.H)],z.prototype,"symbolLayers",null),(0,r._)([(0,y.MZ)({type:Z.A})],z.prototype,"styleOrigin",void 0),(0,r._)([(0,c.w)("styleOrigin")],z.prototype,"readStyleOrigin",null),(0,r._)([(0,u.K)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],z.prototype,"writeStyleOrigin",null),(0,r._)([(0,y.MZ)({type:j.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r._)([(0,y.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r._)([(0,h.$)("esri.symbols.Symbol3D")],z)},58592:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(90237),i=o(4718),l=o(90629),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(36005),p=o(40608),c=o(89420),h=o(77040);let u=r=class extends c.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null,this.height=12,this.width=12,this.size=null}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const r={};return e&&(r.url=e),null!=t&&(r.width=(0,l.cr)(t)),null!=o&&(r.height=(0,l.cr)(o)),r}readHeight(e,t){return t.size||e}readWidth(e,t){return t.size||e}clone(){const e=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,i.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s._)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,s._)([(0,a.e)({esriPMS:"picture-marker"},{readOnly:!0})],u.prototype,"type",void 0),(0,s._)([(0,n.MZ)(h.ku)],u.prototype,"url",void 0),(0,s._)([(0,n.MZ)(h.k7)],u.prototype,"source",void 0),(0,s._)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"height",void 0),(0,s._)([(0,y.w)("height",["height","size"])],u.prototype,"readHeight",null),(0,s._)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"width",void 0),(0,s._)([(0,n.MZ)({json:{write:!1}})],u.prototype,"size",void 0),u=r=(0,s._)([(0,p.$)("esri.symbols.PictureMarkerSymbol")],u)},59483:(e,t,o)=>{o.d(t,{LH:()=>l,Yq:()=>i,oG:()=>n});var r=o(4595),s=o(8893);function i(e){if(!e)return!1;const t=e.verticalOffset;return!(!t||t.screenLength<=0||null!=t.maxWorldLength&&t.maxWorldLength<=0)}function l(e){if(!e||!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t?.visible&&!!i(e)}const n={types:{key:"type",base:r.A,typeMap:{line:s.A}},json:{write:!0}}},62885:(e,t,o)=>{o.d(t,{H:()=>i,V:()=>s});var r=o(5503);function s(e,t,o=r.A){return t||(t=new o),t===e||(t.removeAll(),(s=e)&&(Array.isArray(s)||"items"in s&&Array.isArray(s.items))?t.addMany(e):e&&t.add(e)),t;var s}function i(e){return e}},65365:(e,t,o)=>{o.d(t,{A:()=>_});var r,s=o(90237),i=o(5503),l=o(51447),n=o(4718),a=o(53966),y=o(36708),p=o(10107),c=(o(44208),o(93223)),h=o(40608),u=o(26449),d=o(27845),m=o(18574),b=o(11506),w=o(87403),v=o(58185),f=o(10224),g=o(34723);const A=i.A.ofType({base:null,key:"type",typeMap:{extrude:u.A,fill:d.A,icon:m.A,line:b.A,object:w.A,text:f.A,water:g.A}});let _=r=class extends v.A{constructor(e){super(e),this.symbolLayers=new A,this.type="polygon-3d"}initialize(){const e=e=>{"line"===e.type&&(0,l.io)(a.A.getLogger(this),"LineSymbol3DLayer can not be used as a SymbolLayer with a PolygonSymbol3D symbol anymore.",{replacement:"Use FillSymbol3DLayer.outline instead.",version:"4.28"}),"text"===e.type&&(0,l.io)(a.A.getLogger(this),"TextSymbol3DLayer can not be used as a SymbolLayer with a PolygonSymbol3D symbol anymore.",{replacement:"Use Labels instead.",version:"4.28"})};for(const t of this.symbolLayers)e(t);this.addHandles((0,y.on)((()=>this.symbolLayers),"after-add",(({item:t})=>e(t)),y.OH))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromJSON(e){const t=new r;if(t.read(e),2===t.symbolLayers.length&&"fill"===t.symbolLayers.at(0).type&&"line"===t.symbolLayers.at(1).type){const o=t.symbolLayers.at(0),r=t.symbolLayers.at(1);!r.enabled||e.symbolLayers?.[1]&&!1===e.symbolLayers[1].enable||(o.outline={size:r.size,color:null!=r.material?r.material.color:null}),t.symbolLayers.removeAt(1)}return t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([d.A.fromSimpleFillSymbol(e)])})}};(0,s._)([(0,p.MZ)({type:A,json:{write:!0}})],_.prototype,"symbolLayers",void 0),(0,s._)([(0,c.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],_.prototype,"type",void 0),_=r=(0,s._)([(0,h.$)("esri.symbols.PolygonSymbol3D")],_)},66525:(e,t,o)=>{o.d(t,{A:()=>h});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(36005),a=o(40608),y=o(3904),p=o(28975),c=o(8887);let h=class extends y.A{static{r=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.type="path",this.profile="circle",this.join="miter",this.cap="butt",this.width=void 0,this.height=void 0,this.anchor="center",this.profileRotation="all"}readWidth(e,t){return null!=e?e:null==t.height&&null!=t.size?t.size:void 0}readHeight(e,t){return null!=e?e:null==t.width&&null!=t.size?t.size:void 0}clone(){return new r({enabled:this.enabled,material:null!=this.material?this.material.clone():null,castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})}};(0,s._)([(0,i.MZ)({type:p.N,json:{write:!0}})],h.prototype,"material",void 0),(0,s._)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],h.prototype,"castShadows",void 0),(0,s._)([(0,l.e)({Path:"path"},{readOnly:!0})],h.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:["circle","quad"],json:{write:!0,default:"circle"}})],h.prototype,"profile",void 0),(0,s._)([(0,i.MZ)({type:c.e,json:{write:!0,default:"miter"}})],h.prototype,"join",void 0),(0,s._)([(0,i.MZ)({type:c.Nv,json:{write:!0,default:"butt"}})],h.prototype,"cap",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],h.prototype,"width",void 0),(0,s._)([(0,n.w)("width",["width","size","height"])],h.prototype,"readWidth",null),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],h.prototype,"height",void 0),(0,s._)([(0,n.w)("height",["height","size","width"])],h.prototype,"readHeight",null),(0,s._)([(0,i.MZ)({type:["center","bottom","top"],json:{write:!0,default:"center"}})],h.prototype,"anchor",void 0),(0,s._)([(0,i.MZ)({type:["heading","all"],json:{write:!0,default:"all"}})],h.prototype,"profileRotation",void 0),h=r=(0,s._)([(0,a.$)("esri.symbols.PathSymbol3DLayer")],h)},67222:(e,t,o)=>{o.d(t,{EW:()=>y,YJ:()=>c,pI:()=>p});var r=o(68197),s=o(90629),i=o(56507),l=o(78553);function n(e,t){const o=null!=t.transparency?(0,l.D)(t.transparency):1,s=t.color;return s&&Array.isArray(s)?new r.A([s[0]||0,s[1]||0,s[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);const o=(0,l.p)(e.a);0!==o&&(t.transparency=o)}function y(e){return{type:r.A,nonNullable:e?.nonNullable,json:{type:[i.jz],default:null,read:{source:["color","transparency"],reader:n},write:{target:{color:{type:[i.jz],isRequired:e?.colorRequiredOnWrite},transparency:{type:i.jz}},writer:a}}}}const p={type:Number,cast:s.cr,json:{write:!0}};var c,h;(h=c||(c={}))[h.Emissive=0]="Emissive",h[h.Color=1]="Color"},68548:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(90237),i=o(5503),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(27845),c=o(58185);const h=i.A.ofType({base:null,key:"type",typeMap:{fill:p.A}});let u=r=class extends c.A{constructor(e){super(e),this.symbolLayers=new h,this.type="mesh-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleFillSymbol(e)])})}};(0,s._)([(0,n.MZ)({type:h})],u.prototype,"symbolLayers",void 0),(0,s._)([(0,a.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,s._)([(0,y.$)("esri.symbols.MeshSymbol3D")],u)},75981:(e,t,o)=>{o.d(t,{A:()=>f});var r,s=o(90237),i=o(68197),l=o(5503),n=o(4718),a=o(10107),y=(o(44208),o(53966),o(93223)),p=o(40608),c=o(18574),h=o(87403),u=o(58185),d=o(10224),m=o(59483),b=o(8893),w=o(4900);const v=l.A.ofType({base:null,key:"type",typeMap:{icon:c.A,object:h.A,text:d.A}});let f=r=class extends u.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.symbolLayers=new v,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const e of this.symbolLayers.items)switch(e.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,m.LH)(this)}hasVisibleVerticalOffset(){return(0,m.Yq)(this)}clone(){return new r({verticalOffset:(0,n.o8)(this.verticalOffset),callout:(0,n.o8)(this.callout),styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new l.A([c.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([c.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const o=e.data.symbol;return new r(o?.callout?{symbolLayers:new l.A([c.A.fromCIMSymbol(e)]),callout:new b.A({size:.5,color:new i.A([0,0,0])}),verticalOffset:new w.A({screenLength:40})}:{symbolLayers:new l.A([c.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([d.A.fromTextSymbol(e)])})}};(0,s._)([(0,a.MZ)({type:w.A,json:{write:!0}})],f.prototype,"verticalOffset",void 0),(0,s._)([(0,a.MZ)(m.oG)],f.prototype,"callout",void 0),(0,s._)([(0,a.MZ)({type:v,json:{origins:{"web-scene":{write:!0}}}})],f.prototype,"symbolLayers",void 0),(0,s._)([(0,y.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],f.prototype,"type",void 0),f=r=(0,s._)([(0,p.$)("esri.symbols.PointSymbol3D")],f)},77040:(e,t,o)=>{o.d(t,{k7:()=>n,ku:()=>l});var r=o(84952),s=o(97159);function i(e,t){if(!(0,r.oP)(e)){const o=function(e){if(!e)return null;const{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;const r=o?.type;return"feature"===r||"stream"===r?o.parsedUrl?.path:"map-image"===r||"tile"===r?e.url?.path:null}(t);if(o)return(0,r.fj)(o,"images",e)}return(0,s.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,o){return t.imageData?(0,r.Hg)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):i(t.url,o)}},write:{writer(e,t,o,i){!function(e,t,o,i){if((0,r.DB)(e)){const l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,s.w)(o.url,t,"url",i)}else(0,s.w)(e,t,"url",i)}(e,t,this.source,i)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,o){const r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=i(t.url,o)),r}}}}},87403:(e,t,o)=>{o.d(t,{A:()=>d});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(30809),p=o(69622);let c=r=class extends p.A{constructor(){super(...arguments),this.x=0,this.y=0,this.z=0}clone(){return new r({x:this.x,y:this.y,z:this.z})}};(0,s._)([(0,i.MZ)({type:Number})],c.prototype,"x",void 0),(0,s._)([(0,i.MZ)({type:Number})],c.prototype,"y",void 0),(0,s._)([(0,i.MZ)({type:Number})],c.prototype,"z",void 0),c=r=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DAnchorPosition3D")],c);var h,u=o(28975);let d=class extends a.A{static{h=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.resource=null,this.type="object",this.width=void 0,this.height=void 0,this.depth=void 0,this.anchor=void 0,this.anchorPosition=void 0,this.heading=void 0,this.tilt=void 0,this.roll=void 0}clone(){return new h({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition?.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:this.material?.clone()??null,castShadows:this.castShadows,resource:this.resource?.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,s._)([(0,i.MZ)({type:u.N,json:{write:!0}})],d.prototype,"material",void 0),(0,s._)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],d.prototype,"castShadows",void 0),(0,s._)([(0,i.MZ)({type:y.E,json:{write:!0}})],d.prototype,"resource",void 0),(0,s._)([(0,l.e)({Object:"object"},{readOnly:!0})],d.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"width",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"height",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"depth",void 0),(0,s._)([(0,l.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],d.prototype,"anchor",void 0),(0,s._)([(0,i.MZ)({type:c,json:{type:[Number],read:{reader:e=>new c({x:e[0],y:e[1],z:e[2]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y,e.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],d.prototype,"anchorPosition",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"heading",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"tilt",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"roll",void 0),(0,s._)([(0,i.MZ)({readOnly:!0})],d.prototype,"isPrimitive",null),d=h=(0,s._)([(0,n.$)("esri.symbols.ObjectSymbol3DLayer")],d)},97887:(e,t,o)=>{o.d(t,{A:()=>m});var r,s=o(90237),i=o(5503),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(11506),c=o(66525),h=o(58185);const u=i.A.ofType({base:null,key:"type",typeMap:{line:p.A,path:c.A}}),d=i.A.ofType({base:null,key:"type",typeMap:{line:p.A,path:c.A}});let m=r=class extends h.A{constructor(e){super(e),this.symbolLayers=new u,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleLineSymbol(e)])})}};(0,s._)([(0,n.MZ)({type:u,json:{type:d}})],m.prototype,"symbolLayers",void 0),(0,s._)([(0,a.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s._)([(0,y.$)("esri.symbols.LineSymbol3D")],m)},98751:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(90237),i=o(69622),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(20655);let y=r=class extends i.A{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,s._)([(0,l.MZ)({type:String})],y.prototype,"name",void 0),(0,s._)([(0,l.MZ)({type:String})],y.prototype,"styleUrl",void 0),(0,s._)([(0,l.MZ)({type:String})],y.prototype,"styleName",void 0),(0,s._)([(0,l.MZ)({type:a.A})],y.prototype,"portal",void 0),y=r=(0,s._)([(0,n.$)("esri.symbols.support.StyleOrigin")],y)}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3910],{3904:(e,t,o)=>{o.d(t,{A:()=>a});var r=o(90237),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608)),n=o(43937);let a=class extends s.A{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,o){e||(t[o]=e)}};(0,r._)([(0,i.MZ)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],a.prototype,"enabled",void 0),(0,r._)([(0,n.K)("enabled")],a.prototype,"writeEnabled",null),(0,r._)([(0,i.MZ)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0,json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),a=(0,r._)([(0,l.$)("esri.symbols.Symbol3DLayer")],a)},3955:(e,t,o)=>{o.d(t,{A:()=>n});var r=o(90237),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.A{constructor(e){super(e),this.type="style"}clone(){throw new Error("Subclasses of Pattern3D should implement their own clone method.")}};(0,r._)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.$)("esri.symbols.patterns.Pattern3D")],n)},4595:(e,t,o)=>{o.d(t,{A:()=>n});var r=o(90237),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.A{constructor(e){super(e),this.visible=!0}clone(){throw new Error("Subclasses of Callout3D should implement their own clone method.")}};(0,r._)([(0,i.MZ)({type:["line"],constructOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],n.prototype,"type",void 0),(0,r._)([(0,i.MZ)({readOnly:!0})],n.prototype,"visible",void 0),n=(0,r._)([(0,l.$)("esri.symbols.callouts.Callout3D")],n)},4792:(e,t,o)=>{o.d(t,{A:()=>h});var r=o(90237),s=o(68197),i=o(25482),l=o(4718),n=o(90629),a=o(10107),y=(o(44208),o(53966),o(40608)),p=o(67222);let c=class extends i.A{constructor(e){super(e),this.color=new s.A([0,0,0,1]),this.extensionLength=0,this.size=(0,n.PN)(1)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r._)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],c.prototype,"type",void 0),(0,r._)([(0,a.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],c.prototype,"color",void 0),(0,r._)([(0,a.MZ)({...p.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],c.prototype,"extensionLength",void 0),(0,r._)([(0,a.MZ)(p.pI)],c.prototype,"size",void 0),c=(0,r._)([(0,y.$)("esri.symbols.edges.Edges3D")],c);const h=c},4900:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(90237),i=o(25482),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(67222);let y=r=class extends i.A{constructor(e){super(e),this.screenLength=0,this.minWorldLength=0,this.maxWorldLength=null}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,s._)([(0,l.MZ)({...a.pI,json:{write:{isRequired:!0}}})],y.prototype,"screenLength",void 0),(0,s._)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],y.prototype,"minWorldLength",void 0),(0,s._)([(0,l.MZ)({type:Number,json:{write:!0}})],y.prototype,"maxWorldLength",void 0),y=r=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DVerticalOffset")],y)},6847:(e,t,o)=>{o.d(t,{i:()=>m,r:()=>b});var r,s=o(90237),i=o(66552),l=o(25482),n=o(84952),a=o(10107),y=(o(44208),o(53966),o(87811),o(93223)),p=o(36005),c=o(40608),h=o(43937),u=o(97159);const d=(0,i.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let m=r=class extends l.A{constructor(e){super(e)}readHref(e,t,o){return e?(0,u.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,u.t)(e,r),(0,n.oP)(t.href)&&(t.href=(0,n.S8)(t.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s._)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],m.prototype,"href",void 0),(0,s._)([(0,p.w)("href")],m.prototype,"readHref",null),(0,s._)([(0,h.K)("href",{href:{type:String},dataURI:{type:String}})],m.prototype,"writeHref",null),(0,s._)([(0,y.e)(d)],m.prototype,"primitive",void 0),m=r=(0,s._)([(0,c.$)("esri.symbols.support.IconSymbol3DLayerResource")],m);const b="circle"},8887:(e,t,o)=>{o.d(t,{Bb:()=>i,Fq:()=>y,M4:()=>p,Nv:()=>c,e:()=>h}),o(44208);var r=o(51850),s=o(70328);function i(e,{isPrimitive:t,width:o,depth:s,height:i}){const l=t?10:1;if(null==o&&null==i&&null==s)return[l*e[0],l*e[1],l*e[2]];const n=(0,r.fA)(o,s,i);let a;for(let t=0;t<3;t++){const o=n[t];if(null!=o){a=o/e[t];break}}for(let t=0;t<3;t++)null==n[t]&&(n[t]=e[t]*a);return n}const l=(0,s.fA)(-.5,-.5,-.5,.5,.5,.5),n=(0,s.fA)(-.5,-.5,0,.5,.5,1),a=(0,s.fA)(-.5,-.5,0,.5,.5,.5);function y(e){switch(e){case"sphere":case"cube":case"diamond":return l;case"cylinder":case"cone":case"inverted-cone":return n;case"tetrahedron":return a;default:return}}const p=["butt","square","round"],c=[...p,"none"],h=["miter","bevel","round"]},8893:(e,t,o)=>{o.d(t,{A:()=>w});var r,s=o(90237),i=o(68197),l=o(4718),n=o(90629),a=o(10107),y=(o(44208),o(53966),o(93223)),p=o(40608),c=o(4595),h=o(25482),u=o(67222);let d=r=class extends h.A{constructor(e){super(e),this.color=new i.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,s._)([(0,a.MZ)((0,u.EW)({colorRequiredOnWrite:!0}))],d.prototype,"color",void 0),d=r=(0,s._)([(0,p.$)("esri.symbols.callouts.LineCallout3DBorder")],d);const m=d;var b;let w=b=class extends c.A{constructor(e){super(e),this.type="line",this.color=new i.A([0,0,0,1]),this.size=(0,n.PN)(1),this.border=null}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new b({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,s._)([(0,y.e)({line:"line"})],w.prototype,"type",void 0),(0,s._)([(0,a.MZ)((0,u.EW)({colorRequiredOnWrite:!0}))],w.prototype,"color",void 0),(0,s._)([(0,a.MZ)({...u.pI,json:{write:{isRequired:!0}}})],w.prototype,"size",void 0),(0,s._)([(0,a.MZ)({type:m,json:{write:!0}})],w.prototype,"border",void 0),(0,s._)([(0,a.MZ)({readOnly:!0})],w.prototype,"visible",null),w=b=(0,s._)([(0,p.$)("esri.symbols.callouts.LineCallout3D")],w)},10224:(e,t,o)=>{o.d(t,{A:()=>A});var r,s=o(90237),i=o(4718),l=o(10107),n=(o(44208),o(53966),o(93223)),a=o(40608),y=o(43937),p=o(11831),c=o(3904),h=o(67222),u=o(68197),d=o(25482);let m=r=class extends d.A{constructor(){super(...arguments),this.color=new u.A([0,0,0,1]),this.size=0}clone(){const e={color:(0,i.o8)(this.color),size:this.size};return new r(e)}};(0,s._)([(0,l.MZ)((0,h.EW)())],m.prototype,"color",void 0),(0,s._)([(0,l.MZ)(h.pI)],m.prototype,"size",void 0),m=r=(0,s._)([(0,a.$)("esri.symbols.support.Symbol3DHalo")],m);var b=o(28975),w=o(69540);o(87811);let v=class extends(w.A.ClonableMixin(d.A)){constructor(e){super(e),this.color=null}};(0,s._)([(0,l.MZ)((0,h.EW)())],v.prototype,"color",void 0),v=(0,s._)([(0,a.$)("esri.symbols.support.Symbol3DTextBackground")],v);var f,g=o(5760);let A=class extends c.A{static{f=this}constructor(e){super(e),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.lineHeight=1,this.material=null,this.background=null,this.text=null,this.type="text",this.verticalAlignment="baseline"}get font(){return this._get("font")||null}set font(e){null!=e&&null!=this._userSize&&(e.size=this._userSize),this._set("font",e)}writeFont(e,t,o,r){const s={...r,textSymbol3D:!0};t.font=e.write({},s),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font?.size?this.font.size:9}set size(e){this._userSize=e,null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new f({enabled:this.enabled,font:this.font&&(0,i.o8)(this.font),halo:this.halo&&(0,i.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,i.o8)(this.background)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new f({font:null!=e.font?e.font.clone():new p.A,halo:_(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new b.N({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new v({color:e.backgroundColor.clone()}):null})}};function _(e,t){return e&&null!=t&&t>0?new m({color:(0,i.o8)(e),size:t}):null}(0,s._)([(0,l.MZ)({type:p.A,json:{write:!0}})],A.prototype,"font",null),(0,s._)([(0,y.K)("font")],A.prototype,"writeFont",null),(0,s._)([(0,l.MZ)({type:m,json:{write:!0}})],A.prototype,"halo",void 0),(0,s._)([(0,l.MZ)({...g.rM,json:{default:"center",write:!0}})],A.prototype,"horizontalAlignment",void 0),(0,s._)([(0,l.MZ)({...g.Tb,json:{default:1,write:!0}})],A.prototype,"lineHeight",void 0),(0,s._)([(0,l.MZ)({type:b.N,json:{write:!0}})],A.prototype,"material",void 0),(0,s._)([(0,l.MZ)({type:v,json:{write:!0}})],A.prototype,"background",void 0),(0,s._)([(0,l.MZ)(h.pI)],A.prototype,"size",null),(0,s._)([(0,l.MZ)({type:String,json:{write:!0}})],A.prototype,"text",void 0),(0,s._)([(0,n.e)({Text:"text"},{readOnly:!0})],A.prototype,"type",void 0),(0,s._)([(0,l.MZ)({...g.x0,json:{default:"baseline",write:!0}})],A.prototype,"verticalAlignment",void 0),A=f=(0,s._)([(0,a.$)("esri.symbols.TextSymbol3DLayer")],A)},11506:(e,t,o)=>{o.d(t,{A:()=>_});var r=o(90237),s=o(90629),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(68197),y=o(69540),p=o(25482),c=o(56507),h=o(83213);let u=class extends(y.A.ClonableMixin(p.A)){constructor(e){super(e),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(e){return null!=e&&e.placement===this.placement&&e.style===this.style&&(null==this.color&&null==e.color||null!=this.color&&null!=e.color&&this.color.toJSON()===e.color.toJSON())}};(0,r._)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],u.prototype,"type",void 0),(0,r._)([(0,i.MZ)({type:h.x,json:{default:"begin-end",write:!0}})],u.prototype,"placement",void 0),(0,r._)([(0,i.MZ)({type:h.z,json:{default:"arrow",write:!0}})],u.prototype,"style",void 0),(0,r._)([(0,i.MZ)({type:a.A,json:{type:[c.jz],default:null,write:!0}})],u.prototype,"color",void 0),u=(0,r._)([(0,n.$)("esri.symbols.LineStyleMarker3D")],u);var d,m=o(3904),b=o(44633),w=o(20603),v=o(33386),f=o(67222),g=o(28975),A=o(8887);let _=class extends m.A{static{d=this}constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.size=(0,s.PN)(1),this.pattern=null,this.marker=null}clone(){const e={enabled:this.enabled,material:null!=this.material?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:null!=this.pattern?this.pattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new d(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,s.PN)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new b.A({style:e.style}):null,material:new g.N({color:(e.color||v.ON).clone()}),marker:e.marker?new u({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new d(t)}};(0,r._)([(0,i.MZ)({type:g.N,json:{write:!0}})],_.prototype,"material",void 0),(0,r._)([(0,l.e)({Line:"line"},{readOnly:!0})],_.prototype,"type",void 0),(0,r._)([(0,i.MZ)({type:A.e,json:{write:!0,default:"miter"}})],_.prototype,"join",void 0),(0,r._)([(0,i.MZ)({type:A.M4,json:{write:!0,default:"butt"}})],_.prototype,"cap",void 0),(0,r._)([(0,i.MZ)({...f.pI,json:{write:{isRequired:!0}}})],_.prototype,"size",void 0),(0,r._)([(0,i.MZ)(w.v)],_.prototype,"pattern",void 0),(0,r._)([(0,i.MZ)({types:{key:"type",base:u,typeMap:{style:u}},json:{write:!0}})],_.prototype,"marker",void 0),_=d=(0,r._)([(0,n.$)("esri.symbols.LineSymbol3DLayer")],_)},13313:(e,t,o)=>{o.d(t,{A:()=>m});var r,s=o(90237),i=o(5503),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(58185),c=o(10224),h=o(59483),u=o(4900);const d=i.A.ofType({base:null,key:"type",typeMap:{text:c.A}});let m=r=class extends p.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.symbolLayers=new d,this.type="label-3d"}supportsCallout(){return!0}hasVisibleCallout(){return(0,h.LH)(this)}hasVisibleVerticalOffset(){return(0,h.Yq)(this)}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail),callout:(0,l.o8)(this.callout),verticalOffset:(0,l.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new i.A([c.A.fromTextSymbol(e)])})}};(0,s._)([(0,n.MZ)({type:u.A,json:{write:!0}})],m.prototype,"verticalOffset",void 0),(0,s._)([(0,n.MZ)(h.oG)],m.prototype,"callout",void 0),(0,s._)([(0,n.MZ)({json:{read:!1,write:!1}})],m.prototype,"styleOrigin",void 0),(0,s._)([(0,n.MZ)({type:d})],m.prototype,"symbolLayers",void 0),(0,s._)([(0,a.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s._)([(0,y.$)("esri.symbols.LabelSymbol3D")],m)},16264:(e,t,o)=>{o.d(t,{A:()=>a});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608)),n=o(3955);let a=r=class extends n.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){return new r({style:this.style})}};(0,s._)([(0,i.MZ)({type:["style"],json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:{isRequired:!0}}})],a.prototype,"style",void 0),a=r=(0,s._)([(0,l.$)("esri.symbols.patterns.StylePattern3D")],a)},18574:(e,t,o)=>{o.d(t,{A:()=>S});var r,s=o(90237),i=o(4718),l=o(53966),n=o(84952),a=o(10107),y=(o(44208),o(93223)),p=o(40608),c=o(3904),h=o(33386),u=o(6847),d=o(67222),m=o(69622);o(87811);let b=r=class extends m.A{constructor(){super(...arguments),this.x=0,this.y=0}clone(){return new r({x:this.x,y:this.y})}};(0,s._)([(0,a.MZ)({type:Number})],b.prototype,"x",void 0),(0,s._)([(0,a.MZ)({type:Number})],b.prototype,"y",void 0),b=r=(0,s._)([(0,p.$)("esri.symbols.support.Symbol3DAnchorPosition2D")],b);var w,v=o(68197),f=o(25482),g=o(90629);let A=w=class extends f.A{constructor(e){super(e),this.color=new v.A([0,0,0,1]),this.size=(0,g.PN)(1)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new w(e)}};(0,s._)([(0,a.MZ)((0,d.EW)({colorRequiredOnWrite:!0}))],A.prototype,"color",void 0),(0,s._)([(0,a.MZ)({...d.pI,json:{write:{isRequired:!0}}})],A.prototype,"size",void 0),A=w=(0,s._)([(0,p.$)("esri.symbols.support.Symbol3DIconOutline")],A);var _,M=o(28975);let S=class extends c.A{static{_=this}constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.size=12,this.anchor="center",this.anchorPosition=null,this.outline=null,this.angle=0}clone(){return new _({anchor:this.anchor,anchorPosition:(0,i.o8)(this.anchorPosition),enabled:this.enabled,material:(0,i.o8)(this.material),outline:(0,i.o8)(this.outline),resource:(0,i.o8)(this.resource),angle:this.angle,size:this.size})}static fromSimpleMarkerSymbol(e){const t=e.color||h.ON,o=x(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||h.ON).clone()}:null;return new _({size:e.size,angle:e.angle,resource:{primitive:L((()=>l.A.getLogger(this.prototype)),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,h.U9)(e.color)?h.ON:e.color,o=x(e);return new _({size:e.width<=e.height?e.height:e.width,angle:e.angle,resource:{href:e.url},material:{color:t.clone()},anchor:o?"relative":void 0,anchorPosition:o})}static fromCIMSymbol(e){return new _({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})}})}};function x(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=Z(e.xoffset),s=Z(e.yoffset);return(r||s)&&t&&o?{x:-r/t,y:s/o}:null}function Z(e){return isFinite(e)?e:0}(0,s._)([(0,a.MZ)({type:M.N,json:{write:!0}})],S.prototype,"material",void 0),(0,s._)([(0,a.MZ)({type:u.i,json:{write:!0}})],S.prototype,"resource",void 0),(0,s._)([(0,y.e)({Icon:"icon"},{readOnly:!0})],S.prototype,"type",void 0),(0,s._)([(0,a.MZ)({...d.pI,json:{write:{isRequired:!0}}})],S.prototype,"size",void 0),(0,s._)([(0,y.e)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"},{default:"center"})],S.prototype,"anchor",void 0),(0,s._)([(0,a.MZ)({type:b,json:{type:[Number],read:{reader:e=>new b({x:e[0],y:e[1]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],S.prototype,"anchorPosition",void 0),(0,s._)([(0,a.MZ)({type:A,json:{write:!0}})],S.prototype,"outline",void 0),(0,s._)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],S.prototype,"angle",void 0),S=_=(0,s._)([(0,p.$)("esri.symbols.IconSymbol3DLayer")],S);const j={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function L(e,t){return j[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},20603:(e,t,o)=>{o.d(t,{r:()=>n,v:()=>a});var r=o(36533),s=o(44633),i=o(3955),l=o(16264);const n={types:{key:"type",base:i.A,typeMap:{style:l.A}},json:{write:!0}},a={types:{key:"type",base:r.A,typeMap:{style:s.A}},json:{write:!0}}},26449:(e,t,o)=>{o.d(t,{A:()=>c});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(51734),p=o(28975);let c=class extends a.A{static{r=this}constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges?.clone(),enabled:this.enabled,material:this.material?.clone(),castShadows:this.castShadows,size:this.size})}};(0,s._)([(0,l.e)({Extrude:"extrude"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],c.prototype,"size",void 0),(0,s._)([(0,i.MZ)({type:p.N,json:{write:!0}})],c.prototype,"material",void 0),(0,s._)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,s._)([(0,i.MZ)(y.J)],c.prototype,"edges",void 0),c=r=(0,s._)([(0,n.$)("esri.symbols.ExtrudeSymbol3DLayer")],c)},27845:(e,t,o)=>{o.d(t,{A:()=>S});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(51734),p=o(44633),c=o(16264),h=o(20603),u=o(33386),d=(o(49186),o(28975));let m=r=class extends d.N{constructor(e){super(e),this.colorMixMode=null}clone(){const e={color:this.color?.clone()??null,colorMixMode:this.colorMixMode,emissive:this.emissive?.clone()??null};return new r(e)}};(0,s._)([(0,l.e)({multiply:"multiply",replace:"replace",tint:"tint"})],m.prototype,"colorMixMode",void 0),m=r=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DFillMaterial")],m);var b,w=o(68197),v=o(25482),f=o(90629),g=o(67222),A=o(8887);let _=b=class extends v.A{constructor(e){super(e),this.color=new w.A([0,0,0,1]),this.size=(0,f.PN)(1),this.pattern=null,this.patternCap="butt"}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size,pattern:null!=this.pattern?this.pattern.clone():null,patternCap:this.patternCap};return new b(e)}};var M;(0,s._)([(0,i.MZ)((0,g.EW)({colorRequiredOnWrite:!0}))],_.prototype,"color",void 0),(0,s._)([(0,i.MZ)({...g.pI,json:{write:{isRequired:!0}}})],_.prototype,"size",void 0),(0,s._)([(0,i.MZ)(h.v)],_.prototype,"pattern",void 0),(0,s._)([(0,i.MZ)({type:A.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],_.prototype,"patternCap",void 0),_=b=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DOutline")],_);let S=class extends a.A{static{M=this}constructor(e){super(e),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const e={edges:null!=this.edges?this.edges.clone():null,enabled:this.enabled,material:null!=this.material?this.material.clone():null,pattern:null!=this.pattern?this.pattern.clone():null,castShadows:this.castShadows,outline:null!=this.outline?this.outline.clone():null};return new M(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new p.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??u.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new M({material:new m({color:(e.color??u.u7).clone()}),pattern:e.style&&"solid"!==e.style?new c.A({style:e.style}):null,outline:o})}};(0,s._)([(0,l.e)({Fill:"fill"},{readOnly:!0})],S.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:m,json:{write:!0}})],S.prototype,"material",void 0),(0,s._)([(0,i.MZ)(h.r)],S.prototype,"pattern",void 0),(0,s._)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],S.prototype,"castShadows",void 0),(0,s._)([(0,i.MZ)({type:_,json:{write:!0}})],S.prototype,"outline",void 0),(0,s._)([(0,i.MZ)(y.J)],S.prototype,"edges",void 0),S=M=(0,s._)([(0,n.$)("esri.symbols.FillSymbol3DLayer")],S)},28975:(e,t,o)=>{o.d(t,{N:()=>c});var r,s=o(90237),i=o(25482),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(67222);let y=r=class extends i.A{constructor(){super(...arguments),this.strength=null,this.source="emissive"}clone(){const e={strength:this.strength,source:this.source};return new r(e)}};var p;(0,s._)([(0,l.MZ)({json:{write:!1}})],y.prototype,"strength",void 0),(0,s._)([(0,l.MZ)({json:{write:!1}})],y.prototype,"source",void 0),y=r=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DEmissive")],y);let c=p=class extends i.A{constructor(e){super(e),this.color=null,this.emissive=new y({source:"emissive"})}clone(){const e={color:this.color?.clone()??null,emissive:this.emissive?.clone()??null};return new p(e)}};(0,s._)([(0,l.MZ)((0,a.EW)())],c.prototype,"color",void 0),(0,s._)([(0,l.MZ)({type:y,json:{write:!1}})],c.prototype,"emissive",void 0),c=p=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DMaterial")],c)},30809:(e,t,o)=>{o.d(t,{E:()=>h,r:()=>u});var r,s=o(90237),i=o(66552),l=o(25482),n=o(10107),a=(o(44208),o(53966),o(87811),o(93223)),y=o(40608),p=o(97159);const c=(0,i.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let h=r=class extends l.A{clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s._)([(0,n.MZ)({type:String,json:{read:p.r,write:p.w}})],h.prototype,"href",void 0),(0,s._)([(0,a.e)(c)],h.prototype,"primitive",void 0),h=r=(0,s._)([(0,y.$)("esri.symbols.support.ObjectSymbol3DLayerResource")],h);const u="sphere"},33386:(e,t,o)=>{o.d(t,{ON:()=>s,U9:()=>l,u7:()=>i});var r=o(68197);const s=new r.A("white"),i=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}},33910:(e,t,o)=>{o.d(t,{dp:()=>I,$y:()=>L,wk:()=>O,Y7:()=>k,wC:()=>N,Ac:()=>D,Bu:()=>C,Es:()=>z,q8:()=>$,em:()=>R,Rv:()=>W,xK:()=>P,On:()=>q});var r,s=o(56507),i=o(90360),l=o(40863),n=o(13313),a=o(97887),y=o(68548),p=o(90237),c=o(4718),h=o(90629),u=o(10107),d=(o(44208),o(53966),o(93223)),m=o(40608),b=o(65851),w=o(77040);let v=r=class extends b.A{constructor(...e){super(...e),this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.width=12,this.height=12,this.xoffset=0,this.yoffset=0,this.source=null}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const s={};return e&&(s.url=e),t&&(s.outline=t),null!=o&&(s.width=(0,h.cr)(o)),null!=r&&(s.height=(0,h.cr)(r)),s}clone(){const e=new r({color:(0,c.o8)(this.color),height:this.height,outline:(0,c.o8)(this.outline),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return e._set("source",(0,c.o8)(this.source)),e}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,p._)([(0,d.e)({esriPFS:"picture-fill"},{readOnly:!0})],v.prototype,"type",void 0),(0,p._)([(0,u.MZ)(w.ku)],v.prototype,"url",void 0),(0,p._)([(0,u.MZ)({type:Number,json:{write:!0}})],v.prototype,"xscale",void 0),(0,p._)([(0,u.MZ)({type:Number,json:{write:!0}})],v.prototype,"yscale",void 0),(0,p._)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],v.prototype,"width",void 0),(0,p._)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],v.prototype,"height",void 0),(0,p._)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],v.prototype,"xoffset",void 0),(0,p._)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],v.prototype,"yoffset",void 0),(0,p._)([(0,u.MZ)(w.k7)],v.prototype,"source",void 0),v=r=(0,p._)([(0,m.$)("esri.symbols.PictureFillSymbol")],v);var f=o(58592),g=o(75981),A=o(65365),_=o(94985),M=o(31593),S=o(53930),x=o(20378),Z=o(68249),j=o(37757);function L(e){if(!e)return!1;switch(e.type){case"picture-fill":case"picture-marker":case"simple-fill":case"simple-line":case"simple-marker":case"text":case"cim":return!0;default:return!1}}function O(e){switch(e?.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}const z={base:x.A,key:"type",typeMap:{"simple-fill":_.A,"picture-fill":v,"picture-marker":f.A,"simple-line":M.A,"simple-marker":S.A,text:Z.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":g.A,"polygon-3d":A.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},N=(x.A,_.A,l.A,{base:x.A,key:"type",typeMap:{"picture-marker":f.A,"simple-marker":S.A,"point-3d":g.A,cim:l.A},errorContext:"symbol"}),k={base:x.A,key:"type",typeMap:{"simple-line":M.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},D={base:x.A,key:"type",typeMap:{"simple-fill":_.A,"picture-fill":v,"polygon-3d":A.A,cim:l.A},errorContext:"symbol"},$={base:x.A,key:"type",typeMap:{"picture-marker":f.A,"simple-marker":S.A,text:Z.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},C=(0,i.C)({types:z}),P={base:x.A,key:"type",typeMap:{"simple-fill":_.A,"picture-fill":v,"picture-marker":f.A,"simple-line":M.A,"simple-marker":S.A,text:Z.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":g.A,"polygon-3d":A.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},R={base:x.A,key:"type",typeMap:{text:Z.A,"label-3d":n.A},errorContext:"symbol"},q=(x.A,n.A,a.A,y.A,g.A,A.A,j.A,{base:x.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":y.A,"point-3d":g.A,"polygon-3d":A.A,"web-style":j.A,cim:l.A},errorContext:"symbol"}),W={base:x.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},I=(0,s.aq)(z)},34723:(e,t,o)=>{o.d(t,{A:()=>c});var r,s=o(90237),i=o(68197),l=o(10107),n=o(56507),a=(o(44208),o(87811),o(93223)),y=o(40608),p=o(3904);let c=class extends p.A{static{r=this}constructor(e){super(e),this.color=h.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:this.color.clone(),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,s._)([(0,l.MZ)({type:i.A,nonNullable:!0,json:{type:[n.jz],write:(e,t,o)=>t[o]=e.toArray(i.A.AlphaMode.UNLESS_OPAQUE),default:()=>h.clone(),defaultEquals:e=>e.toCss(!0)===h.toCss(!0)}})],c.prototype,"color",void 0),(0,s._)([(0,a.e)({Water:"water"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,l.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],c.prototype,"waterbodySize",void 0),(0,s._)([(0,l.MZ)({type:Number,json:{write:!0,default:null}})],c.prototype,"waveDirection",void 0),(0,s._)([(0,l.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],c.prototype,"waveStrength",void 0),c=r=(0,s._)([(0,y.$)("esri.symbols.WaterSymbol3DLayer")],c);const h=new i.A([0,119,190])},36533:(e,t,o)=>{o.d(t,{A:()=>n});var r=o(90237),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.A{constructor(e){super(e)}clone(){throw new Error("Subclasses of LinePattern3D should implement their own clone method.")}};(0,r._)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.$)("esri.symbols.patterns.LinePattern3D")],n)},37757:(e,t,o)=>{o.d(t,{A:()=>b});var r,s=o(90237),i=o(51447),l=o(49186),n=o(53966),a=o(74887),y=o(10107),p=(o(44208),o(87811),o(93223)),c=o(40608),h=o(20655),u=o(97159),d=o(20378),m=o(57212);let b=r=class extends d.A{constructor(e){super(e),this.color=null,this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}get _fetchCacheKey(){const e=null!=this.portal?this.portal:h.A.getDefault(),t=e.user?e.user.username:null;return`${this.styleName}:${this.styleUrl}:${this.name}:${t}:${e.url}`}read(e,t){this.portal=t?.portal,super.read(e,t)}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async fetchCIMSymbol(e){(0,i.eO)(n.A.getLogger(this),"WebStyleSymbol.fetchCIMSymbol is deprecated in favour of WebStyleSymbol.fetchSymbol which now supports both web and cim symbology",{version:"4.33",replacement:"WebStyleSymbol.fetchSymbol",see:"https://arcg.is/0CXPTr#fetchSymbol",warnOnce:!0});const t=await this._fetchSymbol({...e,acceptedFormats:["cim"]});if("cim"!==t?.type)throw new l.A("webstylesymbol:fetchCIMSymbol","Resolved web style symbol is not of type 'cim'");return t}async _fetchSymbol(e){const t=null!=e?e.cache:null,r=t?this._fetchCacheKey:null;if(null!=t){const e=r&&t.get(r);if(e)return e.clone()}const{resolveWebStyleSymbol:s}=await o.e(7883).then(o.bind(o,27883));(0,a.Te)(e);const i=s(this,{portal:this.portal},e);i.catch((e=>{n.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)}));const l=await i;return null!=t&&t.set(r,l.clone()),l}};(0,s._)([(0,y.MZ)({json:{write:!1}})],b.prototype,"color",void 0),(0,s._)([(0,y.MZ)({type:String,json:{write:!0}})],b.prototype,"styleName",void 0),(0,s._)([(0,y.MZ)({type:h.A,json:{write:!1}})],b.prototype,"portal",void 0),(0,s._)([(0,y.MZ)({type:String,json:{read:u.r,write:u.w}})],b.prototype,"styleUrl",void 0),(0,s._)([(0,y.MZ)({type:m.V,json:{read:!1}})],b.prototype,"thumbnail",void 0),(0,s._)([(0,y.MZ)({type:String,json:{write:!0}})],b.prototype,"name",void 0),(0,s._)([(0,p.e)({styleSymbolReference:"web-style"},{readOnly:!0})],b.prototype,"type",void 0),(0,s._)([(0,y.MZ)()],b.prototype,"_fetchCacheKey",null),b=r=(0,s._)([(0,c.$)("esri.symbols.WebStyleSymbol")],b)},39065:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(90237),i=(o(53966),o(44208),o(87811),o(49186),o(93223)),l=o(40608),n=o(4792);let a=r=class extends n.A{constructor(e){super(e),this.type="solid"}clone(){return new r(this.cloneProperties())}};(0,s._)([(0,i.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s._)([(0,l.$)("esri.symbols.edges.SolidEdges3D")],a);const y=a},40863:(e,t,o)=>{o.d(t,{A:()=>d});var r,s=o(90237),i=o(4718),l=o(799),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(36005),p=o(40608),c=o(43937),h=o(30524),u=o(20378);let d=r=class extends u.A{constructor(e){super(e),this.data=null,this.type="cim"}readData(e,t){return t}writeData(e,t){Object.assign(t,e)}async collectRequiredFields(e,t){if("CIMSymbolReference"===this.data?.type){const o=this.data.primitiveOverrides;if(o){const r=o.map((o=>{const r=o.valueExpressionInfo;return r?(0,h.Dx)(e,t,r.expression):null}));await Promise.all(r)}}}clone(){return new r({data:(0,i.o8)(this.data)})}hash(){return(0,l.Wm)(JSON.stringify(this.data)).toString()}};(0,s._)([(0,n.MZ)({json:{write:!1}})],d.prototype,"color",void 0),(0,s._)([(0,n.MZ)({json:{write:!0}})],d.prototype,"data",void 0),(0,s._)([(0,y.w)("data",["symbol"])],d.prototype,"readData",null),(0,s._)([(0,c.K)("data",{})],d.prototype,"writeData",null),(0,s._)([(0,a.e)({CIMSymbolReference:"cim"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,s._)([(0,p.$)("esri.symbols.CIMSymbol")],d)},44633:(e,t,o)=>{o.d(t,{A:()=>c});var r,s=o(90237),i=o(66552),l=o(10107),n=(o(44208),o(53966),o(87811),o(93223)),a=o(40608),y=o(36533);const p=(0,i.O)()({dash:"dash","dash-dot":"dash-dot","dash-dot-dot":"long-dash-dot-dot",dot:"dot","long-dash":"long-dash","long-dash-dot":"long-dash-dot",null:"none","short-dash":"short-dash","short-dash-dot":"short-dash-dot","short-dash-dot-dot":"short-dash-dot-dot","short-dot":"short-dot",solid:"solid"});let c=r=class extends y.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){const e={style:this.style};return new r(e)}};(0,s._)([(0,l.MZ)({type:["style"],json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),(0,s._)([(0,n.e)(p),(0,l.MZ)({type:["dash","dash-dot","dot","long-dash","long-dash-dot","long-dash-dot-dot","none","short-dash","short-dash-dot","short-dash-dot-dot","short-dot","solid"],json:{write:{isRequired:!0}}})],c.prototype,"style",void 0),c=r=(0,s._)([(0,a.$)("esri.symbols.patterns.LineStylePattern3D")],c)},51734:(e,t,o)=>{o.d(t,{J:()=>c});var r,s=o(4792),i=o(90237),l=(o(53966),o(44208),o(87811),o(49186),o(93223)),n=o(40608);let a=r=class extends s.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,i._)([(0,l.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i._)([(0,n.$)("esri.symbols.edges.SketchEdges3D")],a);const y=a;var p=o(39065);const c={types:{key:"type",base:s.A,typeMap:{solid:p.A,sketch:y}},json:{write:!0}}},57212:(e,t,o)=>{o.d(t,{V:()=>a});var r,s=o(90237),i=o(69622),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608));let a=r=class extends i.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,s._)([(0,l.MZ)({type:String})],a.prototype,"url",void 0),a=r=(0,s._)([(0,n.$)("esri.symbols.support.Thumbnail")],a)},58185:(e,t,o)=>{o.d(t,{A:()=>z});var r=o(90237),s=o(5503),i=o(62885),l=o(53966),n=o(84952),a=o(67076),y=o(10107),p=o(79901),c=(o(44208),o(87811),o(36005)),h=o(40608),u=o(43937),d=o(20655),m=o(97159),b=o(26449),w=o(27845),v=o(18574),f=o(11506),g=o(87403),A=o(66525),_=o(20378),M=o(3904),S=o(10224),x=o(34723),Z=o(98751),j=o(57212);const L={icon:v.A,object:g.A,line:f.A,path:A.A,fill:w.A,extrude:b.A,text:S.A,water:x.A},O=s.A.ofType({base:M.A,key:"type",typeMap:L,errorContext:"symbol-layer"});let z=class extends _.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers,o=t?.type,r=o||s.A;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.A.getLogger(this).error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(e){(0,i.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){const t=(0,m.f)(e.styleUrl,o);return new Z.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new Z.A({portal:o?.portal||d.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new a.A("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:e}))}writeStyleOrigin(e,t,o,r){if(e.styleUrl&&e.name){let o=(0,m.t)(e.styleUrl,r);(0,n.oP)(o)&&(o=(0,n.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,n.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new a.A("symbol:cross-portal","The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.",{symbol:this})):t.styleOrigin={styleName:e.styleName,name:e.name})}normalizeCtorArgs(e){return e instanceof M.A||e&&L[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r._)([(0,y.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r._)([(0,y.MZ)({type:O,nonNullable:!0,json:{write:!0}}),(0,p.w)(i.H)],z.prototype,"symbolLayers",null),(0,r._)([(0,y.MZ)({type:Z.A})],z.prototype,"styleOrigin",void 0),(0,r._)([(0,c.w)("styleOrigin")],z.prototype,"readStyleOrigin",null),(0,r._)([(0,u.K)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],z.prototype,"writeStyleOrigin",null),(0,r._)([(0,y.MZ)({type:j.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r._)([(0,y.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r._)([(0,h.$)("esri.symbols.Symbol3D")],z)},58592:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(90237),i=o(4718),l=o(90629),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(36005),p=o(40608),c=o(89420),h=o(77040);let u=r=class extends c.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null,this.height=12,this.width=12,this.size=null}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const r={};return e&&(r.url=e),null!=t&&(r.width=(0,l.cr)(t)),null!=o&&(r.height=(0,l.cr)(o)),r}readHeight(e,t){return t.size||e}readWidth(e,t){return t.size||e}clone(){const e=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,i.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s._)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,s._)([(0,a.e)({esriPMS:"picture-marker"},{readOnly:!0})],u.prototype,"type",void 0),(0,s._)([(0,n.MZ)(h.ku)],u.prototype,"url",void 0),(0,s._)([(0,n.MZ)(h.k7)],u.prototype,"source",void 0),(0,s._)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"height",void 0),(0,s._)([(0,y.w)("height",["height","size"])],u.prototype,"readHeight",null),(0,s._)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"width",void 0),(0,s._)([(0,n.MZ)({json:{write:!1}})],u.prototype,"size",void 0),u=r=(0,s._)([(0,p.$)("esri.symbols.PictureMarkerSymbol")],u)},59483:(e,t,o)=>{o.d(t,{LH:()=>l,Yq:()=>i,oG:()=>n});var r=o(4595),s=o(8893);function i(e){if(!e)return!1;const t=e.verticalOffset;return!(!t||t.screenLength<=0||null!=t.maxWorldLength&&t.maxWorldLength<=0)}function l(e){if(!e||!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t?.visible&&!!i(e)}const n={types:{key:"type",base:r.A,typeMap:{line:s.A}},json:{write:!0}}},62885:(e,t,o)=>{o.d(t,{H:()=>i,V:()=>s});var r=o(5503);function s(e,t,o=r.A){return t||(t=new o),t===e||(t.removeAll(),(s=e)&&(Array.isArray(s)||"items"in s&&Array.isArray(s.items))?t.addMany(e):e&&t.add(e)),t;var s}function i(e){return e}},65365:(e,t,o)=>{o.d(t,{A:()=>_});var r,s=o(90237),i=o(5503),l=o(51447),n=o(4718),a=o(53966),y=o(36708),p=o(10107),c=(o(44208),o(93223)),h=o(40608),u=o(26449),d=o(27845),m=o(18574),b=o(11506),w=o(87403),v=o(58185),f=o(10224),g=o(34723);const A=i.A.ofType({base:null,key:"type",typeMap:{extrude:u.A,fill:d.A,icon:m.A,line:b.A,object:w.A,text:f.A,water:g.A}});let _=r=class extends v.A{constructor(e){super(e),this.symbolLayers=new A,this.type="polygon-3d"}initialize(){const e=e=>{"line"===e.type&&(0,l.io)(a.A.getLogger(this),"LineSymbol3DLayer can not be used as a SymbolLayer with a PolygonSymbol3D symbol anymore.",{replacement:"Use FillSymbol3DLayer.outline instead.",version:"4.28"}),"text"===e.type&&(0,l.io)(a.A.getLogger(this),"TextSymbol3DLayer can not be used as a SymbolLayer with a PolygonSymbol3D symbol anymore.",{replacement:"Use Labels instead.",version:"4.28"})};for(const t of this.symbolLayers)e(t);this.addHandles((0,y.on)((()=>this.symbolLayers),"after-add",(({item:t})=>e(t)),y.OH))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromJSON(e){const t=new r;if(t.read(e),2===t.symbolLayers.length&&"fill"===t.symbolLayers.at(0).type&&"line"===t.symbolLayers.at(1).type){const o=t.symbolLayers.at(0),r=t.symbolLayers.at(1);!r.enabled||e.symbolLayers?.[1]&&!1===e.symbolLayers[1].enable||(o.outline={size:r.size,color:null!=r.material?r.material.color:null}),t.symbolLayers.removeAt(1)}return t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([d.A.fromSimpleFillSymbol(e)])})}};(0,s._)([(0,p.MZ)({type:A,json:{write:!0}})],_.prototype,"symbolLayers",void 0),(0,s._)([(0,c.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],_.prototype,"type",void 0),_=r=(0,s._)([(0,h.$)("esri.symbols.PolygonSymbol3D")],_)},66525:(e,t,o)=>{o.d(t,{A:()=>h});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(36005),a=o(40608),y=o(3904),p=o(28975),c=o(8887);let h=class extends y.A{static{r=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.type="path",this.profile="circle",this.join="miter",this.cap="butt",this.width=void 0,this.height=void 0,this.anchor="center",this.profileRotation="all"}readWidth(e,t){return null!=e?e:null==t.height&&null!=t.size?t.size:void 0}readHeight(e,t){return null!=e?e:null==t.width&&null!=t.size?t.size:void 0}clone(){return new r({enabled:this.enabled,material:null!=this.material?this.material.clone():null,castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})}};(0,s._)([(0,i.MZ)({type:p.N,json:{write:!0}})],h.prototype,"material",void 0),(0,s._)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],h.prototype,"castShadows",void 0),(0,s._)([(0,l.e)({Path:"path"},{readOnly:!0})],h.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:["circle","quad"],json:{write:!0,default:"circle"}})],h.prototype,"profile",void 0),(0,s._)([(0,i.MZ)({type:c.e,json:{write:!0,default:"miter"}})],h.prototype,"join",void 0),(0,s._)([(0,i.MZ)({type:c.Nv,json:{write:!0,default:"butt"}})],h.prototype,"cap",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],h.prototype,"width",void 0),(0,s._)([(0,n.w)("width",["width","size","height"])],h.prototype,"readWidth",null),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],h.prototype,"height",void 0),(0,s._)([(0,n.w)("height",["height","size","width"])],h.prototype,"readHeight",null),(0,s._)([(0,i.MZ)({type:["center","bottom","top"],json:{write:!0,default:"center"}})],h.prototype,"anchor",void 0),(0,s._)([(0,i.MZ)({type:["heading","all"],json:{write:!0,default:"all"}})],h.prototype,"profileRotation",void 0),h=r=(0,s._)([(0,a.$)("esri.symbols.PathSymbol3DLayer")],h)},67222:(e,t,o)=>{o.d(t,{EW:()=>y,YJ:()=>c,pI:()=>p});var r=o(68197),s=o(90629),i=o(56507),l=o(78553);function n(e,t){const o=null!=t.transparency?(0,l.D)(t.transparency):1,s=t.color;return s&&Array.isArray(s)?new r.A([s[0]||0,s[1]||0,s[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);const o=(0,l.p)(e.a);0!==o&&(t.transparency=o)}function y(e){return{type:r.A,nonNullable:e?.nonNullable,json:{type:[i.jz],default:null,read:{source:["color","transparency"],reader:n},write:{target:{color:{type:[i.jz],isRequired:e?.colorRequiredOnWrite},transparency:{type:i.jz}},writer:a}}}}const p={type:Number,cast:s.cr,json:{write:!0}};var c,h;(h=c||(c={}))[h.Emissive=0]="Emissive",h[h.Color=1]="Color"},68548:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(90237),i=o(5503),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(27845),c=o(58185);const h=i.A.ofType({base:null,key:"type",typeMap:{fill:p.A}});let u=r=class extends c.A{constructor(e){super(e),this.symbolLayers=new h,this.type="mesh-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleFillSymbol(e)])})}};(0,s._)([(0,n.MZ)({type:h})],u.prototype,"symbolLayers",void 0),(0,s._)([(0,a.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,s._)([(0,y.$)("esri.symbols.MeshSymbol3D")],u)},75981:(e,t,o)=>{o.d(t,{A:()=>f});var r,s=o(90237),i=o(68197),l=o(5503),n=o(4718),a=o(10107),y=(o(44208),o(53966),o(93223)),p=o(40608),c=o(18574),h=o(87403),u=o(58185),d=o(10224),m=o(59483),b=o(8893),w=o(4900);const v=l.A.ofType({base:null,key:"type",typeMap:{icon:c.A,object:h.A,text:d.A}});let f=r=class extends u.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.symbolLayers=new v,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const e of this.symbolLayers.items)switch(e.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,m.LH)(this)}hasVisibleVerticalOffset(){return(0,m.Yq)(this)}clone(){return new r({verticalOffset:(0,n.o8)(this.verticalOffset),callout:(0,n.o8)(this.callout),styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new l.A([c.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([c.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const o=e.data.symbol;return new r(o?.callout?{symbolLayers:new l.A([c.A.fromCIMSymbol(e)]),callout:new b.A({size:.5,color:new i.A([0,0,0])}),verticalOffset:new w.A({screenLength:40})}:{symbolLayers:new l.A([c.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([d.A.fromTextSymbol(e)])})}};(0,s._)([(0,a.MZ)({type:w.A,json:{write:!0}})],f.prototype,"verticalOffset",void 0),(0,s._)([(0,a.MZ)(m.oG)],f.prototype,"callout",void 0),(0,s._)([(0,a.MZ)({type:v,json:{origins:{"web-scene":{write:!0}}}})],f.prototype,"symbolLayers",void 0),(0,s._)([(0,y.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],f.prototype,"type",void 0),f=r=(0,s._)([(0,p.$)("esri.symbols.PointSymbol3D")],f)},77040:(e,t,o)=>{o.d(t,{k7:()=>n,ku:()=>l});var r=o(84952),s=o(97159);function i(e,t){if(!(0,r.oP)(e)){const o=function(e){if(!e)return null;const{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;const r=o?.type;return"feature"===r||"stream"===r?o.parsedUrl?.path:"map-image"===r||"tile"===r?e.url?.path:null}(t);if(o)return(0,r.fj)(o,"images",e)}return(0,s.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,o){return t.imageData?(0,r.Hg)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):i(t.url,o)}},write:{writer(e,t,o,i){!function(e,t,o,i){if((0,r.DB)(e)){const l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,s.w)(o.url,t,"url",i)}else(0,s.w)(e,t,"url",i)}(e,t,this.source,i)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,o){const r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=i(t.url,o)),r}}}}},87403:(e,t,o)=>{o.d(t,{A:()=>d});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(30809),p=o(69622);let c=r=class extends p.A{constructor(){super(...arguments),this.x=0,this.y=0,this.z=0}clone(){return new r({x:this.x,y:this.y,z:this.z})}};(0,s._)([(0,i.MZ)({type:Number})],c.prototype,"x",void 0),(0,s._)([(0,i.MZ)({type:Number})],c.prototype,"y",void 0),(0,s._)([(0,i.MZ)({type:Number})],c.prototype,"z",void 0),c=r=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DAnchorPosition3D")],c);var h,u=o(28975);let d=class extends a.A{static{h=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.resource=null,this.type="object",this.width=void 0,this.height=void 0,this.depth=void 0,this.anchor=void 0,this.anchorPosition=void 0,this.heading=void 0,this.tilt=void 0,this.roll=void 0}clone(){return new h({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition?.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:this.material?.clone()??null,castShadows:this.castShadows,resource:this.resource?.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,s._)([(0,i.MZ)({type:u.N,json:{write:!0}})],d.prototype,"material",void 0),(0,s._)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],d.prototype,"castShadows",void 0),(0,s._)([(0,i.MZ)({type:y.E,json:{write:!0}})],d.prototype,"resource",void 0),(0,s._)([(0,l.e)({Object:"object"},{readOnly:!0})],d.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"width",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"height",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"depth",void 0),(0,s._)([(0,l.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],d.prototype,"anchor",void 0),(0,s._)([(0,i.MZ)({type:c,json:{type:[Number],read:{reader:e=>new c({x:e[0],y:e[1],z:e[2]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y,e.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],d.prototype,"anchorPosition",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"heading",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"tilt",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"roll",void 0),(0,s._)([(0,i.MZ)({readOnly:!0})],d.prototype,"isPrimitive",null),d=h=(0,s._)([(0,n.$)("esri.symbols.ObjectSymbol3DLayer")],d)},97887:(e,t,o)=>{o.d(t,{A:()=>m});var r,s=o(90237),i=o(5503),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(11506),c=o(66525),h=o(58185);const u=i.A.ofType({base:null,key:"type",typeMap:{line:p.A,path:c.A}}),d=i.A.ofType({base:null,key:"type",typeMap:{line:p.A,path:c.A}});let m=r=class extends h.A{constructor(e){super(e),this.symbolLayers=new u,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleLineSymbol(e)])})}};(0,s._)([(0,n.MZ)({type:u,json:{type:d}})],m.prototype,"symbolLayers",void 0),(0,s._)([(0,a.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s._)([(0,y.$)("esri.symbols.LineSymbol3D")],m)},98751:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(90237),i=o(69622),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(20655);let y=r=class extends i.A{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,s._)([(0,l.MZ)({type:String})],y.prototype,"name",void 0),(0,s._)([(0,l.MZ)({type:String})],y.prototype,"styleUrl",void 0),(0,s._)([(0,l.MZ)({type:String})],y.prototype,"styleName",void 0),(0,s._)([(0,l.MZ)({type:a.A})],y.prototype,"portal",void 0),y=r=(0,s._)([(0,n.$)("esri.symbols.support.StyleOrigin")],y)}}]);
@@ -5,44 +5,51 @@
5
5
  width: 100%;
6
6
  height: 100%;
7
7
 
8
+ &__flow-item,
9
+ &__panel,
8
10
  &__container {
9
11
  display: flex;
12
+ }
13
+
14
+ &__flow-item {
10
15
  overflow: auto;
11
16
 
12
- .esri-selection-list__layer-dropdown {
13
- background-color: var(--calcite-color-foreground-1);
17
+ &[scale="s"] .esri-selection-list__container {
18
+ gap: var(--calcite-spacing-sm);
19
+ padding: var(--calcite-spacing-sm) 0;
14
20
  }
15
21
 
16
- &[scale="s"] {
17
- .esri-selection-list__item-count,
18
- .esri-selection-list__layer-dropdown {
19
- font-size: var(--calcite-font-size-sm);
20
- }
22
+ &[scale="m"] .esri-selection-list__container {
23
+ gap: var(--calcite-spacing-md);
24
+ padding: var(--calcite-spacing-md) 0;
25
+ }
21
26
 
22
- .esri-selection-list__layer-dropdown {
23
- padding: var(--calcite-spacing-sm) var(--calcite-spacing-sm) 0 var(--calcite-spacing-sm);
24
- }
27
+ &[scale="l"] .esri-selection-list__container {
28
+ gap: var(--calcite-spacing-lg);
29
+ padding: var(--calcite-spacing-lg) 0;
25
30
  }
31
+ }
26
32
 
27
- &[scale="m"] {
28
- .esri-selection-list__item-count,
29
- .esri-selection-list__layer-dropdown {
30
- font-size: var(--calcite-font-size-md);
31
- }
33
+ &__container {
34
+ flex-direction: column;
35
+ background-color: var(--calcite-color-foreground-1);
36
+
37
+ > * {
38
+ background-color: var(--calcite-color-foreground-1);
32
39
 
33
- .esri-selection-list__layer-dropdown {
34
- padding: var(--calcite-spacing-md) var(--calcite-spacing-md) 0 var(--calcite-spacing-md);
40
+ &[scale="s"] {
41
+ padding: 0 var(--calcite-spacing-sm) 0 var(--calcite-spacing-sm);
42
+ font-size: var(--calcite-font-size-sm);
35
43
  }
36
- }
37
44
 
38
- &[scale="l"] {
39
- .esri-selection-list__item-count,
40
- .esri-selection-list__layer-dropdown {
41
- font-size: var(--calcite-font-size-lg);
45
+ &[scale="m"] {
46
+ padding: 0 var(--calcite-spacing-md) 0 var(--calcite-spacing-md);
47
+ font-size: var(--calcite-font-size-md);
42
48
  }
43
49
 
44
- .esri-selection-list__layer-dropdown {
45
- padding: var(--calcite-spacing-lg) var(--calcite-spacing-lg) 0 var(--calcite-spacing-lg);
50
+ &[scale="l"] {
51
+ padding: 0 var(--calcite-spacing-lg) 0 var(--calcite-spacing-lg);
52
+ font-size: var(--calcite-font-size-lg);
46
53
  }
47
54
  }
48
55
  }
@@ -81,10 +88,6 @@
81
88
  gap: 0.5em;
82
89
  align-items: center;
83
90
  }
84
-
85
- &__notice {
86
- margin-bottom: var(--calcite-spacing-md);
87
- }
88
91
  }
89
92
  }
90
93