@arcgis/core 4.24.0-next.20220508 → 4.24.0-next.20220511

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 (338) hide show
  1. package/AggregateGraphic.js +1 -1
  2. package/analysis/Analysis.js +1 -1
  3. package/analysis/DimensioningAnalysis.js +1 -1
  4. package/analysis/LengthDimension.d.ts +4 -0
  5. package/analysis/LengthDimension.js +5 -0
  6. package/analysis/dimensionUtils.js +5 -0
  7. package/arcade/Dictionary.js +1 -1
  8. package/arcade/Feature.js +1 -1
  9. package/arcade/arcade.js +1 -1
  10. package/arcade/arcadeAsyncRuntime.js +1 -1
  11. package/arcade/arcadeCompiler.js +1 -1
  12. package/arcade/credentials.js +1 -1
  13. package/arcade/featureSetCollection.js +1 -1
  14. package/arcade/featureSetUtils.js +1 -1
  15. package/arcade/featureset/actions/Adapted.js +1 -1
  16. package/arcade/featureset/actions/AttributeFilter.js +1 -1
  17. package/arcade/featureset/actions/GroupBy.js +1 -1
  18. package/arcade/featureset/actions/OrderBy.js +1 -1
  19. package/arcade/featureset/actions/SpatialFilter.js +1 -1
  20. package/arcade/featureset/actions/Top.js +1 -1
  21. package/arcade/featureset/sources/Empty.js +1 -1
  22. package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
  23. package/arcade/featureset/sources/FeatureLayerMemory.js +1 -1
  24. package/arcade/featureset/sources/FeatureLayerRelated.js +1 -1
  25. package/arcade/featureset/support/FeatureSet.js +1 -1
  26. package/arcade/featureset/support/FeatureSetIterator.js +1 -1
  27. package/arcade/featureset/support/shared.js +1 -1
  28. package/arcade/featureset/support/stats.js +1 -1
  29. package/arcade/functions/featuresetbase.js +1 -1
  30. package/arcade/functions/featuresetgeom.js +1 -1
  31. package/arcade/functions/featuresetstats.js +1 -1
  32. package/arcade/functions/featuresetstring.js +1 -1
  33. package/arcade/functions/geomasync.js +1 -1
  34. package/arcade/languageUtils.js +1 -1
  35. package/arcade/request.js +1 -1
  36. package/assets/esri/core/workers/RemoteClient.js +1 -1
  37. package/assets/esri/core/workers/chunks/0564f1cfa3d17ff1aad3.js +1 -0
  38. package/assets/esri/core/workers/chunks/0806d5d706a864542bfb.js +1 -0
  39. package/assets/esri/core/workers/chunks/0a6977144ea1abf96fbf.js +1 -0
  40. package/assets/esri/core/workers/chunks/13387f56acbc3291561a.js +1 -0
  41. package/assets/esri/core/workers/chunks/16c4e0a32d50d4db984d.js +1 -0
  42. package/assets/esri/core/workers/chunks/{076d1b1101b59af0d389.js → 1c010202b4c7e1d15f23.js} +1 -1
  43. package/assets/esri/core/workers/chunks/26827ec144676e6385f8.js +1 -0
  44. package/assets/esri/core/workers/chunks/287c484fd40eee643f3a.js +1 -0
  45. package/assets/esri/core/workers/chunks/5210f0b42dba27945226.js +1 -0
  46. package/assets/esri/core/workers/chunks/{db6c5b3b4efe8d804f9c.js → 52478ee2d2a1354b6900.js} +1 -1
  47. package/assets/esri/core/workers/chunks/5759af97f96f24c40105.js +1 -0
  48. package/assets/esri/core/workers/chunks/{b85218d44c6094b7e5e6.js → 6d7e2a23a0a5dd9ded1d.js} +1 -1
  49. package/assets/esri/core/workers/chunks/70b6356357e7640c4e8b.js +1 -0
  50. package/assets/esri/core/workers/chunks/7574316b3af61c389e8f.js +1 -0
  51. package/assets/esri/core/workers/chunks/7bc828fbdd54c0b28aac.js +1 -0
  52. package/assets/esri/core/workers/chunks/7e5c22b5a32ac74b1b6e.js +1 -0
  53. package/assets/esri/core/workers/chunks/8102bb78fe96e6197e4e.js +1 -0
  54. package/assets/esri/core/workers/chunks/88384e7cafbfd2348598.js +1 -0
  55. package/assets/esri/core/workers/chunks/9d7533aaeac3b8d145c4.js +1 -0
  56. package/assets/esri/core/workers/chunks/{1eecae5227318f491263.js → 9f4d892abf55e8625bc9.js} +3 -3
  57. package/assets/esri/core/workers/chunks/{98607a0da63626cc4614.js → a054a52712a118c6d505.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{69a20e4d9e28c3e599fc.js → a3bb600bfcb0282622f1.js} +1 -1
  59. package/assets/esri/core/workers/chunks/aa49841b14c6e6df2a07.js +1 -0
  60. package/assets/esri/core/workers/chunks/b089058b64db3912478f.js +1 -0
  61. package/assets/esri/core/workers/chunks/b28539c5a6bedb71b038.js +1 -0
  62. package/assets/esri/core/workers/chunks/b4f171db73355c6f766e.js +1 -0
  63. package/assets/esri/core/workers/chunks/b7572b0921b23aef8b9d.js +1 -0
  64. package/assets/esri/core/workers/chunks/b758f3c419edc2306784.js +1 -0
  65. package/assets/esri/core/workers/chunks/c3e7290fb128d4fefd44.js +1 -0
  66. package/assets/esri/core/workers/chunks/c51c9b5da855f84b9a48.js +1 -0
  67. package/assets/esri/core/workers/chunks/c66ac36da6392b6bf331.js +1 -0
  68. package/assets/esri/core/workers/chunks/d16b328d32a6ddc2fdb9.js +1 -0
  69. package/assets/esri/core/workers/chunks/d94c5f36d52cf71f0bb9.js +1 -0
  70. package/assets/esri/core/workers/chunks/db937849b2c1af87b481.js +1 -0
  71. package/assets/esri/core/workers/chunks/{66cd99e91dad60c5274c.js → dc3ed59f450283d97a19.js} +1 -1
  72. package/assets/esri/core/workers/chunks/dcd0653191cd4a1ccaae.js +2 -0
  73. package/assets/esri/core/workers/chunks/{31df729c17470245288c.js.LICENSE.txt → dcd0653191cd4a1ccaae.js.LICENSE.txt} +2 -2
  74. package/assets/esri/core/workers/chunks/e4fdd1eaf987977d0a51.js +1 -0
  75. package/assets/esri/core/workers/chunks/e51f0e71f2a55af604d3.js +1 -0
  76. package/assets/esri/core/workers/chunks/eb3855d3753d6b8334bd.js +1 -0
  77. package/assets/esri/core/workers/chunks/{7c290763920f52a1f504.js → eeed138930a4a805691d.js} +1 -1
  78. package/assets/esri/core/workers/chunks/f435dc615fdc8917f6ca.js +1 -0
  79. package/assets/esri/core/workers/chunks/{d5c5b9f7f5401f36a3a5.js → f7f3dde4c8f9c687cc1e.js} +1 -1
  80. package/assets/esri/core/workers/chunks/fc6beaf9466ea3898549.js +1 -0
  81. package/assets/esri/libs/vxl/vxlLayer.wasm +0 -0
  82. package/assets/esri/themes/base/widgets/_Tooltip.scss +1 -0
  83. package/assets/esri/themes/base/widgets/_Weather.scss +1 -2
  84. package/assets/esri/themes/dark/main.css +1 -1
  85. package/assets/esri/themes/light/main.css +1 -1
  86. package/assets/esri/themes/light/view.css +1 -1
  87. package/chunks/BlendLayers.glsl.js +6 -6
  88. package/chunks/arcade.js +1 -1
  89. package/chunks/array.js +1 -1
  90. package/chunks/languageUtils.js +1 -1
  91. package/config.js +1 -1
  92. package/core/sql/StandardizedFunctions.js +1 -1
  93. package/geohash/GeohashTree.js +1 -1
  94. package/geometry/support/contains.js +1 -1
  95. package/geometry/support/heightModelInfoUtils.js +1 -1
  96. package/geometry/support/intersects.js +1 -1
  97. package/geometry/support/intersectsBase.js +1 -1
  98. package/geometry/support/normalizeUtilsCommon.js +1 -1
  99. package/geometry/support/spatialReferenceUtils.js +1 -1
  100. package/interfaces.d.ts +685 -37
  101. package/layers/MediaLayer.d.ts +4 -0
  102. package/layers/MediaLayer.js +5 -0
  103. package/layers/VoxelLayer.js +1 -1
  104. package/layers/VoxelWasmPerSceneView.js +5 -0
  105. package/layers/graphics/OptimizedGeometry.js +1 -1
  106. package/layers/graphics/data/BoundsStore.js +1 -1
  107. package/layers/support/CornersGeoreference.d.ts +4 -0
  108. package/layers/support/CornersGeoreference.js +5 -0
  109. package/layers/support/ExtentAndRotationGeoreference.d.ts +4 -0
  110. package/layers/support/ExtentAndRotationGeoreference.js +5 -0
  111. package/layers/support/FeatureReduction.js +1 -1
  112. package/layers/support/FeatureReductionBinning.js +5 -0
  113. package/layers/support/GeoreferenceBase.js +5 -0
  114. package/layers/support/ImageElement.d.ts +4 -0
  115. package/layers/support/ImageElement.js +5 -0
  116. package/layers/support/LocalMediaElementSource.d.ts +4 -0
  117. package/layers/support/LocalMediaElementSource.js +5 -0
  118. package/layers/support/MediaElementBase.d.ts +4 -0
  119. package/layers/support/MediaElementBase.js +5 -0
  120. package/layers/support/RouteStopSymbols.d.ts +4 -0
  121. package/layers/support/RouteSymbols.d.ts +4 -0
  122. package/layers/support/VoxelFormat.d.ts +4 -0
  123. package/layers/support/VoxelStyle.d.ts +4 -0
  124. package/layers/support/VoxelVariable.d.ts +4 -0
  125. package/layers/support/VoxelVolume.d.ts +4 -0
  126. package/layers/support/VoxelVolumeStyle.d.ts +4 -0
  127. package/layers/support/arcgisLayerUrl.js +1 -1
  128. package/layers/support/featureReductionUtils.js +1 -1
  129. package/layers/support/fieldUtils.js +1 -1
  130. package/layers/support/rasterFormats/Lerc.js +1 -1
  131. package/package.json +3 -3
  132. package/request.js +1 -1
  133. package/support/requestUtils.js +1 -1
  134. package/support/revision.js +1 -1
  135. package/symbols/Font.js +1 -1
  136. package/symbols/support/textUtils.js +1 -1
  137. package/views/2d/engine/brushes.js +1 -1
  138. package/views/2d/engine/webgl/FeatureTile.js +1 -1
  139. package/views/2d/engine/webgl/Overlay.js +5 -0
  140. package/views/2d/engine/webgl/OverlayContainer.js +5 -0
  141. package/views/2d/engine/webgl/brushes/BrushOverlay.js +5 -0
  142. package/views/2d/engine/webgl/collisions/CollisionEngine.js +1 -1
  143. package/views/2d/engine/webgl/shaders/OverlayPrograms.js +5 -0
  144. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  145. package/views/2d/layerViewModuleImportUtils.js +1 -1
  146. package/views/2d/layers/FeatureLayerView2D.js +1 -1
  147. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  148. package/views/2d/layers/MapImageLayerView2D.js +1 -1
  149. package/views/2d/layers/MediaLayerView2D.js +5 -0
  150. package/views/2d/layers/StreamLayerView2D.js +1 -1
  151. package/views/2d/layers/WMTSLayerView2D.js +1 -1
  152. package/views/2d/layers/features/FeatureStore2D.js +1 -1
  153. package/views/2d/layers/features/Pipeline.js +1 -1
  154. package/views/2d/layers/features/Store2D.js +1 -1
  155. package/views/2d/layers/features/controllers/FeatureController2D.js +1 -1
  156. package/views/2d/layers/features/processors/SymbolProcessor.js +1 -1
  157. package/views/2d/layers/features/schemaUtils.js +1 -1
  158. package/views/2d/layers/features/sources/GeoEventSource.js +1 -1
  159. package/views/2d/layers/features/support/AttributeStore.js +1 -1
  160. package/views/2d/layers/features/support/BinStore.js +5 -0
  161. package/views/2d/layers/features/support/ClusterStore.js +1 -1
  162. package/views/2d/layers/features/tileRenderers/support/WGLFeatureView.js +1 -1
  163. package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
  164. package/views/2d/layers/support/clusterUtils.js +1 -1
  165. package/views/2d/magnifier/MagnifierView2D.js +1 -1
  166. package/views/2d/navigation/actions/Pinch.js +1 -1
  167. package/views/2d/viewpointUtils.js +1 -1
  168. package/views/3d/analysis/AnalysisView3D.js +1 -1
  169. package/views/3d/analysis/Dimensioning/DimensioningTool.js +5 -0
  170. package/views/3d/analysis/Dimensioning/DimensioningVisualization.js +1 -1
  171. package/views/3d/analysis/Dimensioning/LengthDimensionSubTool.js +5 -0
  172. package/views/3d/analysis/Dimensioning/{LinearDimensionVisualization.js → LengthDimensionVisualization.js} +1 -1
  173. package/views/3d/analysis/Dimensioning/settings.js +5 -0
  174. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  175. package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
  176. package/views/3d/interactive/SegmentLabels3D.js +5 -0
  177. package/views/3d/interactive/SnappingVisualizer3D.js +1 -1
  178. package/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +1 -1
  179. package/views/3d/interactive/editingTools/reshapeGraphic/GraphicReshapeTool.js +1 -1
  180. package/views/3d/interactive/editingTools/reshapeGraphic/ReshapeOperation.js +1 -1
  181. package/views/3d/interactive/editingTools/transformGraphic/GraphicTransformTool.js +1 -1
  182. package/views/3d/interactive/editingTools/transformGraphic/ScaleRotateObjectSymbol3DAdapter.js +1 -1
  183. package/views/3d/interactive/measurementTools/areaMeasurement3D/AreaMeasurement3DView.js +1 -1
  184. package/views/3d/interactive/visualElements/LabelVisualElement.js +1 -1
  185. package/views/3d/layerViewModuleImportUtils.js +1 -1
  186. package/views/3d/layers/I3SMeshView3D.js +1 -1
  187. package/views/3d/layers/MediaLayerView3D.js +5 -0
  188. package/views/3d/layers/VoxelLayerView3D.js +1 -1
  189. package/views/3d/layers/i3s/IDBCache.js +1 -1
  190. package/views/3d/state/controllers/RotateController.js +1 -1
  191. package/views/3d/state/controllers/local/PinchAndPanController.js +1 -1
  192. package/views/3d/state/controllers/local/ZoomController.js +1 -1
  193. package/views/3d/state/controllers/local/ZoomStepController.js +1 -1
  194. package/views/3d/support/ResourceController.js +1 -1
  195. package/views/3d/support/sunUtils.js +1 -1
  196. package/views/3d/terrain/TerrainRenderer.js +1 -1
  197. package/views/3d/terrain/TerrainSurface.js +1 -1
  198. package/views/3d/terrain/TileCompositor.js +1 -1
  199. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  200. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
  201. package/views/3d/webgl-engine/core/shaderLibrary/util/BlendLayers.glsl.js +1 -1
  202. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  203. package/views/3d/webgl-engine/materials/WaterGLMaterial.js +1 -1
  204. package/views/3d/webgl-engine/materials/WaterMaterial.js +1 -1
  205. package/views/3d/webgl-engine/materials/WaterTechnique.js +1 -1
  206. package/views/3d/webgl-engine/shaders/TerrainTechniqueConfiguration.js +1 -1
  207. package/views/DOMContainer.js +1 -1
  208. package/views/GroundView.js +1 -1
  209. package/views/SceneView.js +1 -1
  210. package/views/ToolViewManager.js +1 -1
  211. package/views/View.js +1 -1
  212. package/views/draw/DrawOperation.js +1 -1
  213. package/views/draw/support/Reshape.js +1 -1
  214. package/views/interactive/GraphicManipulator.js +1 -1
  215. package/views/interactive/InteractiveToolBase.js +1 -1
  216. package/views/interactive/SegmentLabels.js +5 -0
  217. package/views/interactive/snapping/FeatureSnappingEngine.js +1 -1
  218. package/views/interactive/snapping/LineSnapper.js +1 -1
  219. package/views/interactive/snapping/ParallelLineSnapper.js +1 -1
  220. package/views/interactive/snapping/RightAngleSnapper.js +1 -1
  221. package/views/interactive/snapping/RightAngleTriangleSnapper.js +1 -1
  222. package/views/interactive/snapping/SnappingAlgorithm.js +1 -1
  223. package/views/interactive/snapping/SnappingManager.js +1 -1
  224. package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceSnappingSourceWorker.js +1 -1
  225. package/views/interactive/snapping/snappingUtils.js +1 -1
  226. package/views/interactive/support/viewUtils.js +5 -0
  227. package/views/interactive/tooltip/DrawPointTooltipInfo.js +5 -0
  228. package/views/interactive/tooltip/DrawPolygonTooltipInfo.js +5 -0
  229. package/views/interactive/tooltip/DrawPolylineTooltipInfo.js +5 -0
  230. package/views/interactive/tooltip/Tooltip.js +1 -1
  231. package/views/interactive/tooltip/content/TooltipContentDrawPolygon.js +1 -1
  232. package/views/interactive/tooltip/support/measurements.js +5 -0
  233. package/views/layers/FeatureLayerView.js +1 -1
  234. package/views/layers/GroupLayerView.js +1 -1
  235. package/views/overlay/TextOverlayItem.js +1 -1
  236. package/views/support/Scheduler.js +1 -1
  237. package/views/support/screenUtils.js +1 -1
  238. package/webscene/Slide.js +1 -1
  239. package/widgets/Attribution/AttributionViewModel.js +1 -1
  240. package/widgets/Bookmarks.js +1 -1
  241. package/widgets/CoordinateConversion/CoordinateConversionViewModel.js +1 -1
  242. package/widgets/Editor/EditorViewModel.js +1 -1
  243. package/widgets/Editor/UpdateWorkflow.js +1 -1
  244. package/widgets/Editor/workflowUtils.js +1 -1
  245. package/widgets/Editor.js +1 -1
  246. package/widgets/ElevationProfile/support/chartUtils.js +1 -1
  247. package/widgets/ElevationProfile.js +1 -1
  248. package/widgets/Feature/FeatureAttachments.js +1 -1
  249. package/widgets/Feature/FeatureContent/FeatureContentViewModel.js +1 -1
  250. package/widgets/Feature/FeatureExpression/FeatureExpressionViewModel.js +1 -1
  251. package/widgets/Feature/FeatureExpression.js +1 -1
  252. package/widgets/Feature/FeatureFields.js +1 -1
  253. package/widgets/Feature/FeatureViewModel.js +1 -1
  254. package/widgets/Feature.js +1 -1
  255. package/widgets/FeatureForm/InputFieldGroup.js +1 -1
  256. package/widgets/FeatureForm.js +1 -1
  257. package/widgets/FeatureTable/FieldColumn.js +1 -1
  258. package/widgets/FeatureTable/Grid/Column.js +1 -1
  259. package/widgets/FeatureTable/Grid/Grid.js +11 -11
  260. package/widgets/FeatureTable/Grid/support/ButtonMenu.js +1 -1
  261. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.js +1 -1
  262. package/widgets/FeatureTemplates/TemplateItem.js +1 -1
  263. package/widgets/FeatureTemplates.js +1 -1
  264. package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
  265. package/widgets/FloorFilter.js +1 -1
  266. package/widgets/HistogramRangeSlider.js +1 -1
  267. package/widgets/LayerList/LayerListViewModel.js +1 -1
  268. package/widgets/LayerList/ListItem.js +1 -1
  269. package/widgets/LayerList/ListItemPanel.js +1 -1
  270. package/widgets/LayerList.js +1 -1
  271. package/widgets/Legend/LegendViewModel.js +1 -1
  272. package/widgets/Legend/styles/Card.js +1 -1
  273. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  274. package/widgets/Legend.js +1 -1
  275. package/widgets/LineOfSight/LineOfSightViewModel.js +1 -1
  276. package/widgets/Measurement.js +1 -1
  277. package/widgets/NavigationToggle/NavigationToggleViewModel.js +1 -1
  278. package/widgets/Popup/PopupViewModel.js +1 -1
  279. package/widgets/Popup.js +1 -1
  280. package/widgets/Print/FileLink.js +1 -1
  281. package/widgets/Print.js +1 -1
  282. package/widgets/ScaleBar.js +1 -1
  283. package/widgets/ScaleRangeSlider/ScaleRangeSliderViewModel.js +1 -1
  284. package/widgets/ScaleRangeSlider.js +1 -1
  285. package/widgets/Search/SearchViewModel.js +1 -1
  286. package/widgets/Search.js +1 -1
  287. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  288. package/widgets/Sketch/SketchViewModel.js +1 -1
  289. package/widgets/Sketch.js +1 -1
  290. package/widgets/TableList/ListItem.js +1 -1
  291. package/widgets/Weather/LabeledSlider.js +1 -1
  292. package/widgets/Weather/VisibleElements.js +5 -0
  293. package/widgets/Weather/css.js +1 -1
  294. package/widgets/Weather.js +1 -1
  295. package/widgets/support/AnalysisViewModel.js +1 -1
  296. package/widgets/support/InteractiveAnalysisViewModel.js +1 -1
  297. package/analysis/LinearDimension.d.ts +0 -4
  298. package/analysis/LinearDimension.js +0 -5
  299. package/assets/esri/core/workers/chunks/0018053ac16a09feba70.js +0 -1
  300. package/assets/esri/core/workers/chunks/042938ca73f0b9e5a7e2.js +0 -1
  301. package/assets/esri/core/workers/chunks/048645611caa28dca7cd.js +0 -1
  302. package/assets/esri/core/workers/chunks/0b72d123386dc4ec7538.js +0 -1
  303. package/assets/esri/core/workers/chunks/13b04d5bf348ab5054c2.js +0 -1
  304. package/assets/esri/core/workers/chunks/215007e7c44811d90777.js +0 -1
  305. package/assets/esri/core/workers/chunks/31df729c17470245288c.js +0 -2
  306. package/assets/esri/core/workers/chunks/36272141b3c33cb19026.js +0 -1
  307. package/assets/esri/core/workers/chunks/36c8e8de9c3f67d32572.js +0 -1
  308. package/assets/esri/core/workers/chunks/37c428489c59df4b597b.js +0 -1
  309. package/assets/esri/core/workers/chunks/493169fd978fd543ef3b.js +0 -1
  310. package/assets/esri/core/workers/chunks/4f378ad6f4299183df85.js +0 -1
  311. package/assets/esri/core/workers/chunks/58e4c6ce1580427e7b55.js +0 -1
  312. package/assets/esri/core/workers/chunks/6c5441da675a8af35be2.js +0 -1
  313. package/assets/esri/core/workers/chunks/6ea16f6a0df946de480b.js +0 -1
  314. package/assets/esri/core/workers/chunks/7dfd70f4fa1096e56641.js +0 -1
  315. package/assets/esri/core/workers/chunks/88193e61072d7bf957f5.js +0 -1
  316. package/assets/esri/core/workers/chunks/8ccbde593c86c872e525.js +0 -1
  317. package/assets/esri/core/workers/chunks/9c6be39f1f21ab8b1c2d.js +0 -1
  318. package/assets/esri/core/workers/chunks/a73795cce722ba15b3da.js +0 -1
  319. package/assets/esri/core/workers/chunks/a8ed1a938dc164b401d9.js +0 -1
  320. package/assets/esri/core/workers/chunks/a9a73bc4875a5aeaf1b9.js +0 -1
  321. package/assets/esri/core/workers/chunks/adcc5bce6c0971c1b592.js +0 -1
  322. package/assets/esri/core/workers/chunks/afddfe620e6539991e6b.js +0 -1
  323. package/assets/esri/core/workers/chunks/b340c9bdabdb37995c8f.js +0 -1
  324. package/assets/esri/core/workers/chunks/b4c23630d6c85f7b59c0.js +0 -1
  325. package/assets/esri/core/workers/chunks/c180c40838246985479d.js +0 -1
  326. package/assets/esri/core/workers/chunks/caed2365bd296fcc8a75.js +0 -1
  327. package/assets/esri/core/workers/chunks/d85b5b73a151c6fbb658.js +0 -1
  328. package/assets/esri/core/workers/chunks/da6261673c3e1537b6a6.js +0 -1
  329. package/assets/esri/core/workers/chunks/dafe120243db6648a4ab.js +0 -1
  330. package/assets/esri/core/workers/chunks/ec6d138e8183e193f977.js +0 -1
  331. package/assets/esri/core/workers/chunks/ed4519ac9533a4d340f1.js +0 -1
  332. package/assets/esri/core/workers/chunks/f206300eef4560611728.js +0 -1
  333. package/assets/esri/core/workers/chunks/f55cbaf5a1d6ee6ac171.js +0 -1
  334. package/layers/GeoreferencedImageLayer.d.ts +0 -4
  335. package/layers/GeoreferencedImageLayer.js +0 -5
  336. package/layers/VoxelWasmManager.js +0 -5
  337. package/layers/VoxelWasmPerScene.js +0 -5
  338. package/views/3d/interactive/measurementTools/support/viewUtils.js +0 -5
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9454],{6352:(t,e,o)=>{o.d(e,{a:()=>c});var r,i=o(43697),s=o(22303),l=o(96674),n=o(22974),a=o(5600),p=(o(75215),o(52011)),y=o(37308);let h=r=class extends l.wq{constructor(){super(...arguments),this.color=new s.Z("white")}clone(){return new r({color:(0,n.d9)(this.color)})}};(0,i._)([(0,a.Cb)(y.a)],h.prototype,"color",void 0),h=r=(0,i._)([(0,p.j)("esri.symbols.callouts.LineCallout3DBorder")],h);const c=h;Object.freeze(Object.defineProperty({__proto__:null,default:c},Symbol.toStringTag,{value:"Module"}))},2368:(t,e,o)=>{o.d(e,{J:()=>h});var r=o(43697),i=o(15923),s=(o(80442),o(22974)),l=o(92604),n=o(70586),a=o(31263),p=o(1153),y=o(52011);l.Z.getLogger("esri.core.Clonable");const h=t=>{let e=class extends t{clone(){const t=(0,n.s3)((0,p.vw)(this),"unable to clone instance of non-accessor class"),e=t.metadatas,o=t.store,r={},i=new Map;for(const t in e){const l=e[t],n=o?.originOf(t),p=l.clonable;if(l.readOnly||!1===p||n!==a.s3.USER&&n!==a.s3.DEFAULTS&&n!==a.s3.WEB_MAP&&n!==a.s3.WEB_SCENE)continue;const y=this[t];let h=null;h="function"==typeof p?p(y):"reference"===p?y:(0,s.Vo)(y),null!=y&&null==h||(n===a.s3.DEFAULTS?i.set(t,h):r[t]=h)}const l=new(0,Object.getPrototypeOf(this).constructor)(r);if(i.size){const t=(0,p.vw)(l)?.store;if(t)for(const[e,o]of i)t.set(e,o,a.s3.DEFAULTS)}return l}};return e=(0,r._)([(0,y.j)("esri.core.Clonable")],e),e};let c=class extends(h(i.Z)){};c=(0,r._)([(0,y.j)("esri.core.Clonable")],c)},10699:(t,e,o)=>{o.d(e,{I:()=>l});var r=o(43697),i=o(52011);let s=0;const l=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+s++})}};return e=(0,r._)([(0,i.j)("esri.core.Identifiable")],e),e};let n=class extends(l(class{})){};n=(0,r._)([(0,i.j)("esri.core.Identifiable")],n)},16453:(t,e,o)=>{o.d(e,{R:()=>g,w:()=>f});var r=o(43697),i=o(15923),s=o(70586),l=o(41103),n=o(22974),a=o(31263);class p{constructor(){this._propertyOriginMap=new Map,this._originStores=new Array(a.kk),this._values=new Map,this.multipleOriginsSupported=!0}clone(t){const e=new p,o=this._originStores[a.s3.DEFAULTS];o&&o.forEach(((t,o)=>{e.set(o,(0,n.d9)(t),a.s3.DEFAULTS)}));for(let o=a.s3.SERVICE;o<a.kk;o++){const r=this._originStores[o];r&&r.forEach(((r,i)=>{t&&t.has(i)||e.set(i,(0,n.d9)(r),o)}))}return e}get(t,e){const o=void 0===e?this._values:this._originStores[e];return o?o.get(t):void 0}keys(t){const e=null==t?this._values:this._originStores[t];return e?[...e.keys()]:[]}set(t,e,o=a.s3.USER){let r=this._originStores[o];if(r||(r=new Map,this._originStores[o]=r),r.set(t,e),!this._values.has(t)||(0,s.j0)(this._propertyOriginMap.get(t))<=o){const r=this._values.get(t);return this._values.set(t,e),this._propertyOriginMap.set(t,o),r!==e}return!1}delete(t,e=a.s3.USER){const o=this._originStores[e];if(!o)return;const r=o.get(t);if(o.delete(t),this._values.has(t)&&this._propertyOriginMap.get(t)===e){this._values.delete(t);for(let o=e-1;o>=0;o--){const e=this._originStores[o];if(e&&e.has(t)){this._values.set(t,e.get(t)),this._propertyOriginMap.set(t,o);break}}}return r}has(t,e){const o=void 0===e?this._values:this._originStores[e];return!!o&&o.has(t)}revert(t,e){for(;e>0&&!this.has(t,e);)--e;const o=this._originStores[e],r=o&&o.get(t),i=this._values.get(t);return this._values.set(t,r),this._propertyOriginMap.set(t,e),i!==r}originOf(t){return this._propertyOriginMap.get(t)||a.s3.DEFAULTS}forEach(t){this._values.forEach(t)}}var y=o(50549),h=o(1153),c=o(52011);const d=t=>{let e=class extends t{constructor(...t){super(...t);const e=(0,s.j0)((0,h.vw)(this)),o=e.store,r=new p;e.store=r,(0,l.M)(e,o,r)}read(t,e){(0,y.i)(this,t,e)}getAtOrigin(t,e){const o=u(this),r=(0,a.M9)(e);if("string"==typeof t)return o.get(t,r);const i={};return t.forEach((t=>{i[t]=o.get(t,r)})),i}originOf(t){return(0,a.x3)(this.originIdOf(t))}originIdOf(t){return u(this).originOf(t)}revert(t,e){const o=u(this),r=(0,a.M9)(e),i=(0,h.vw)(this);let s;s="string"==typeof t?"*"===t?o.keys(r):[t]:t,s.forEach((t=>{i.invalidate(t),o.revert(t,r),i.commit(t)}))}};return e=(0,r._)([(0,c.j)("esri.core.ReadOnlyMultiOriginJSONSupport")],e),e};function u(t){return(0,h.vw)(t).store}let b=class extends(d(i.Z)){};b=(0,r._)([(0,c.j)("esri.core.ReadOnlyMultiOriginJSONSupport")],b);var m=o(76169);const w=t=>{let e=class extends t{constructor(...t){super(...t)}clear(t,e="user"){return v(this).delete(t,(0,a.M9)(e))}write(t={},e){return(0,m.c)(this,t=t||{},e),t}setAtOrigin(t,e,o){(0,h.vw)(this).setAtOrigin(t,e,(0,a.M9)(o))}removeOrigin(t){const e=v(this),o=(0,a.M9)(t),r=e.keys(o);for(const t of r)e.originOf(t)===o&&e.set(t,e.get(t,o),a.s3.USER)}updateOrigin(t,e){const o=v(this),r=(0,a.M9)(e),i=this.get(t);for(let e=r+1;e<a.kk;++e)o.delete(t,e);o.set(t,i,r)}toJSON(t){return this.write({},t)}};return e=(0,r._)([(0,c.j)("esri.core.WriteableMultiOriginJSONSupport")],e),e.prototype.toJSON.isDefaultToJSON=!0,e};function v(t){return(0,h.vw)(t).store}const g=t=>{let e=class extends(w(d(t))){constructor(...t){super(...t)}};return e=(0,r._)([(0,c.j)("esri.core.MultiOriginJSONSupport")],e),e};let f=class extends(g(i.Z)){};f=(0,r._)([(0,c.j)("esri.core.MultiOriginJSONSupport")],f)},70921:(t,e,o)=>{o.d(e,{R:()=>s,Z:()=>i});var r=o(80539);function i(t,e,o=r.Z){return e||(e=new o),e===t||(e.removeAll(),(i=t)&&(Array.isArray(i)||"items"in i&&Array.isArray(i.items))?e.addMany(t):t&&e.add(t)),e;var i}function s(t){return t}},87085:(t,e,o)=>{o.d(e,{Z:()=>f});var r=o(43697),i=(o(66577),o(3172)),s=o(20102),l=o(32448),n=o(10699),a=o(83379),p=o(92604),y=o(95330),h=o(17452),c=o(5600),d=(o(67676),o(80442),o(75215),o(52011)),u=o(68773);const b=p.Z.getLogger("esri.layers.support.fromPortalItem");var m=o(6570),w=o(82971);let v=0,g=class extends(l.Z.EventedMixin((0,n.I)(a.Z))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new m.Z(-180,-90,180,90,w.Z.WGS84),this.id=Date.now().toString(16)+"-layer-"+v++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=w.Z.WGS84,this.title=null,this.type=null,this.url=null,this.visible=!0}static async fromArcGISServerUrl(t){const e="string"==typeof t?{url:t}:t;return(await o.e(3529).then(o.bind(o,63529))).fromUrl(e)}static fromPortalItem(t){return async function(t){const e="portalItem"in t?t:{portalItem:t},r=await Promise.all([o.e(4547),o.e(8008)]).then(o.bind(o,28008));try{return await r.fromItem(e)}catch(t){const o=e&&e.portalItem,r=o&&o.id||"unset",i=o&&o.portal&&o.portal.url||u.Z.portalUrl;throw b.error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+i+"', id: '"+r+"')",t),t}}(t)}initialize(){this.when().catch((t=>{(0,y.D_)(t)||p.Z.getLogger(this.declaredClass).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:t})}))}destroy(){if(this.parent){const t=this,e=this.parent;"layers"in e&&e.layers.includes(t)?e.layers.remove(t):"tables"in e&&e.tables.includes(t)?e.tables.remove(t):"baseLayers"in e&&e.baseLayers.includes(t)?e.baseLayers.remove(t):"baseLayers"in e&&e.referenceLayers.includes(t)&&e.referenceLayers.remove(t)}}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){const t=this.url;return t?(0,h.mN)(t):null}async fetchAttributionData(){const t=this.attributionDataUrl;if(this.hasAttributionData&&t)return(await(0,i.default)(t,{query:{f:"json"},responseType:"json"})).data;throw new s.Z("layer:no-attribution-data","Layer does not have attribution data")}};(0,r._)([(0,c.Cb)({type:String})],g.prototype,"attributionDataUrl",void 0),(0,r._)([(0,c.Cb)({type:m.Z})],g.prototype,"fullExtent",void 0),(0,r._)([(0,c.Cb)({readOnly:!0})],g.prototype,"hasAttributionData",null),(0,r._)([(0,c.Cb)({type:String,clonable:!1})],g.prototype,"id",void 0),(0,r._)([(0,c.Cb)({type:Boolean,nonNullable:!0})],g.prototype,"legendEnabled",void 0),(0,r._)([(0,c.Cb)({type:["show","hide","hide-children"]})],g.prototype,"listMode",void 0),(0,r._)([(0,c.Cb)({type:Number,range:{min:0,max:1},nonNullable:!0})],g.prototype,"opacity",void 0),(0,r._)([(0,c.Cb)({clonable:!1})],g.prototype,"parent",void 0),(0,r._)([(0,c.Cb)({readOnly:!0})],g.prototype,"parsedUrl",null),(0,r._)([(0,c.Cb)({type:Boolean})],g.prototype,"popupEnabled",void 0),(0,r._)([(0,c.Cb)({type:Boolean})],g.prototype,"attributionVisible",void 0),(0,r._)([(0,c.Cb)({type:w.Z})],g.prototype,"spatialReference",void 0),(0,r._)([(0,c.Cb)({type:String})],g.prototype,"title",void 0),(0,r._)([(0,c.Cb)({readOnly:!0,json:{read:!1}})],g.prototype,"type",void 0),(0,r._)([(0,c.Cb)()],g.prototype,"url",void 0),(0,r._)([(0,c.Cb)({type:Boolean,nonNullable:!0})],g.prototype,"visible",void 0),g=(0,r._)([(0,d.j)("esri.layers.Layer")],g);const f=g},78223:(t,e,o)=>{o.d(e,{se:()=>q,cT:()=>$,dU:()=>P,S9:()=>T,LB:()=>J,AH:()=>U,yK:()=>E,S6:()=>F,QT:()=>W,f_:()=>I});var r,i=o(75215),s=o(63213),l=o(17386),n=(o(38445),o(21218)),a=o(95191),p=(o(31134),o(50575),o(20825)),y=o(98587),h=(o(38128),o(40908),o(43697)),c=o(80539),d=o(22974),u=o(5600),b=o(36030),m=o(52011),w=o(87223);const v=c.Z.ofType({base:null,key:"type",typeMap:{fill:a.Z}});let g=r=class extends w.Z{constructor(t){super(t),this.symbolLayers=new v,this.type="mesh-3d"}clone(){return new r({styleOrigin:(0,d.d9)(this.styleOrigin),symbolLayers:(0,d.d9)(this.symbolLayers),thumbnail:(0,d.d9)(this.thumbnail)})}};(0,h._)([(0,u.Cb)({type:v})],g.prototype,"symbolLayers",void 0),(0,h._)([(0,b.J)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],g.prototype,"type",void 0),g=r=(0,h._)([(0,m.j)("esri.symbols.MeshSymbol3D")],g);const f=g;o(17143),o(96742);var _,C=o(62357),S=o(94075);let j=_=class extends n.Z{constructor(...t){super(...t),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(t,e,o,r){if(t&&"string"!=typeof t&&null==t.imageData)return t;const i={};return t&&(i.url=t),e&&(i.outline=e),null!=o&&(i.width=(0,C.t_)(o)),null!=r&&(i.height=(0,C.t_)(r)),i}clone(){const t=new _({color:(0,d.d9)(this.color),height:this.height,outline:this.outline&&this.outline.clone(),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return t._set("source",(0,d.d9)(this.source)),t}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,h._)([(0,b.J)({esriPFS:"picture-fill"},{readOnly:!0})],j.prototype,"type",void 0),(0,h._)([(0,u.Cb)(S.KA)],j.prototype,"url",void 0),(0,h._)([(0,u.Cb)({type:Number,json:{write:!0}})],j.prototype,"xscale",void 0),(0,h._)([(0,u.Cb)({type:Number,json:{write:!0}})],j.prototype,"yscale",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],j.prototype,"width",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],j.prototype,"height",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],j.prototype,"xoffset",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],j.prototype,"yoffset",void 0),(0,h._)([(0,u.Cb)(S.Ds)],j.prototype,"source",void 0),j=_=(0,h._)([(0,m.j)("esri.symbols.PictureFillSymbol")],j);const Z=j;var x=o(37898),L=o(42143),z=o(86114),O=o(20256),k=o(4095),D=o(77987),N=o(89164),M=(o(95868),o(78724)),A=(o(2283),o(44398),o(59390));function $(t){if(!t)return!1;switch(t.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 P(t){if(!t)return!1;switch(t.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}o(69496),o(6352);const J={base:N.Z,key:"type",typeMap:{"simple-fill":O.Z,"picture-fill":Z,"picture-marker":x.Z,"simple-line":k.Z,"simple-marker":D.Z,text:M.Z,"label-3d":p.Z,"line-3d":y.Z,"mesh-3d":f,"point-3d":L.Z,"polygon-3d":z.Z,"web-style":A.Z,cim:l.Z},errorContext:"symbol"},U={base:N.Z,key:"type",typeMap:{"picture-marker":x.Z,"simple-marker":D.Z,text:M.Z,"web-style":A.Z,cim:l.Z},errorContext:"symbol"},T=(0,s.d)({types:J}),W={base:N.Z,key:"type",typeMap:{"simple-fill":O.Z,"picture-fill":Z,"picture-marker":x.Z,"simple-line":k.Z,"simple-marker":D.Z,text:M.Z,"line-3d":y.Z,"mesh-3d":f,"point-3d":L.Z,"polygon-3d":z.Z,"web-style":A.Z,cim:l.Z},errorContext:"symbol"},E={base:N.Z,key:"type",typeMap:{text:M.Z,"label-3d":p.Z},errorContext:"symbol"},I=(N.Z,p.Z,y.Z,L.Z,z.Z,A.Z,{base:N.Z,key:"type",typeMap:{"line-3d":y.Z,"mesh-3d":f,"point-3d":L.Z,"polygon-3d":z.Z,"web-style":A.Z,cim:l.Z},errorContext:"symbol"}),F={base:N.Z,key:"type",typeMap:{"label-3d":p.Z},errorContext:"symbol"},q=(0,i.N7)(J)},17386:(t,e,o)=>{o.d(e,{Z:()=>b});var r,i=o(43697),s=o(22974),l=o(19153),n=o(5600),a=(o(75215),o(36030)),p=o(71715),y=o(52011),h=o(30556),c=o(35671),d=o(89164);let u=r=class extends d.Z{constructor(t){super(t),this.data=null,this.type="cim"}readData(t,e){return e}writeData(t,e){if(t)for(const o in t)e[o]=t[o]}async collectRequiredFields(t,e){if("CIMSymbolReference"===this.data.type){const o=this.data.primitiveOverrides;if(o){const r=o.map((o=>{const r=o.valueExpressionInfo;return(0,c.io)(t,e,r.expression)}));await Promise.all(r)}}}clone(){return new r({data:(0,s.d9)(this.data)})}hash(){return(0,l.hP)(JSON.stringify(this.data)).toString()}};(0,i._)([(0,n.Cb)({json:{write:!1}})],u.prototype,"color",void 0),(0,i._)([(0,n.Cb)({json:{write:!0}})],u.prototype,"data",void 0),(0,i._)([(0,p.r)("data",["symbol"])],u.prototype,"readData",null),(0,i._)([(0,h.c)("data",{})],u.prototype,"writeData",null),(0,i._)([(0,a.J)({CIMSymbolReference:"cim"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,i._)([(0,y.j)("esri.symbols.CIMSymbol")],u);const b=u},38445:(t,e,o)=>{o.d(e,{Z:()=>d});var r,i=o(43697),s=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(56332),h=o(52879);let c=r=class extends p.Z{constructor(t){super(t),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges&&this.edges.clone(),enabled:this.enabled,material:(0,s.pC)(this.material)?this.material.clone():null,castShadows:this.castShadows,size:this.size})}};(0,i._)([(0,n.J)({Extrude:"extrude"},{readOnly:!0})],c.prototype,"type",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],c.prototype,"size",void 0),(0,i._)([(0,l.Cb)({type:h.b,json:{write:!0}})],c.prototype,"material",void 0),(0,i._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,i._)([(0,l.Cb)(y.Z)],c.prototype,"edges",void 0),c=r=(0,i._)([(0,a.j)("esri.symbols.ExtrudeSymbol3DLayer")],c);const d=c},21218:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),i=o(5600),s=(o(67676),o(80442),o(75215),o(52011)),l=o(4095),n=o(89164);let a=class extends n.Z{constructor(t){super(t),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline&&this.outline.hash()}`}};(0,r._)([(0,i.Cb)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":l.Z}},json:{default:null,write:!0}})],a.prototype,"outline",void 0),(0,r._)([(0,i.Cb)({type:["simple-fill","picture-fill"],readOnly:!0})],a.prototype,"type",void 0),a=(0,r._)([(0,s.j)("esri.symbols.FillSymbol")],a);const p=a},95191:(t,e,o)=>{o.d(e,{Z:()=>x});var r,i=o(43697),s=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(56332),h=o(4618),c=o(74721),d=o(17495),u=o(50178),b=(o(92604),o(37697),o(52879));let m=r=class extends b.b{constructor(t){super(t),this.colorMixMode=null}clone(){const t={color:(0,s.pC)(this.color)?this.color.clone():null,colorMixMode:this.colorMixMode};return new r(t)}};(0,i._)([(0,n.J)({multiply:"multiply",replace:"replace",tint:"tint"})],m.prototype,"colorMixMode",void 0),m=r=(0,i._)([(0,a.j)("esri.symbols.support.Symbol3DFillMaterial")],m);var w,v=o(22303),g=o(96674),f=o(62357),_=o(37308),C=o(45119);let S=w=class extends g.wq{constructor(t){super(t),this.color=new v.Z([0,0,0,1]),this.size=(0,f.Wz)(1),this.pattern=null,this.patternCap="butt"}clone(){const t={color:(0,s.pC)(this.color)?this.color.clone():null,size:this.size,pattern:(0,s.pC)(this.pattern)?this.pattern.clone():null,patternCap:this.patternCap};return new w(t)}};var j;(0,i._)([(0,l.Cb)(_.a)],S.prototype,"color",void 0),(0,i._)([(0,l.Cb)(_.y)],S.prototype,"size",void 0),(0,i._)([(0,l.Cb)(d.D)],S.prototype,"pattern",void 0),(0,i._)([(0,l.Cb)({type:C.Hc,json:{default:"butt",write:{overridePolicy(){return{enabled:(0,s.pC)(this.pattern)}}}}})],S.prototype,"patternCap",void 0),S=w=(0,i._)([(0,a.j)("esri.symbols.support.Symbol3DOutline")],S);let Z=j=class extends p.Z{constructor(t){super(t),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const t={edges:(0,s.pC)(this.edges)?this.edges.clone():null,enabled:this.enabled,material:(0,s.pC)(this.material)?this.material.clone():null,pattern:(0,s.pC)(this.pattern)?this.pattern.clone():null,castShadows:this.castShadows,outline:(0,s.pC)(this.outline)?this.outline.clone():null};return new j(t)}static fromSimpleFillSymbol(t){const e=t.outline&&t.outline.style&&"inside-frame"!==t.outline.style&&"solid"!==t.outline.style?new h.Z({style:t.outline.style}):null,o={size:t.outline?.width??0,color:(t.outline?.color??u.ix).clone(),pattern:e};return e&&t.outline?.cap&&(o.patternCap=t.outline.cap),new j({material:new m({color:(t.color??u.l9).clone()}),pattern:t.style&&"solid"!==t.style?new c.Z({style:t.style}):null,outline:o})}};(0,i._)([(0,n.J)({Fill:"fill"},{readOnly:!0})],Z.prototype,"type",void 0),(0,i._)([(0,l.Cb)({type:m,json:{write:!0}})],Z.prototype,"material",void 0),(0,i._)([(0,l.Cb)(d.q)],Z.prototype,"pattern",void 0),(0,i._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],Z.prototype,"castShadows",void 0),(0,i._)([(0,l.Cb)({type:S,json:{write:!0}})],Z.prototype,"outline",void 0),(0,i._)([(0,l.Cb)(y.Z)],Z.prototype,"edges",void 0),Z=j=(0,i._)([(0,a.j)("esri.symbols.FillSymbol3DLayer")],Z);const x=Z},31134:(t,e,o)=>{o.d(e,{Z:()=>c});var r,i=o(43697),s=o(96674),l=o(62357),n=o(5600),a=(o(67676),o(80442),o(90578)),p=o(52011),y=o(61565);let h=r=class extends s.wq{constructor(t){super(t),this.decoration="none",this.family="sans-serif",this.size=9,this.style="normal",this.weight="normal"}castSize(t){return(0,l.t_)(t)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,i._)([(0,n.Cb)({type:y.uC,json:{default:"none",write:!0}})],h.prototype,"decoration",void 0),(0,i._)([(0,n.Cb)({type:String,json:{write:!0}})],h.prototype,"family",void 0),(0,i._)([(0,n.Cb)({type:Number,json:{write:{overridePolicy:(t,e,o)=>({enabled:!o||!o.textSymbol3D})}}})],h.prototype,"size",void 0),(0,i._)([(0,a.p)("size")],h.prototype,"castSize",null),(0,i._)([(0,n.Cb)({type:y.hR,json:{default:"normal",write:!0}})],h.prototype,"style",void 0),(0,i._)([(0,n.Cb)({type:y.Xw,json:{default:"normal",write:!0}})],h.prototype,"weight",void 0),h=r=(0,i._)([(0,p.j)("esri.symbols.Font")],h);const c=h},50575:(t,e,o)=>{o.d(e,{Z:()=>P});var r,i=o(43697),s=o(92604),l=o(70586),n=o(17452),a=o(5600),p=(o(67676),o(80442),o(75215),o(36030)),y=o(52011),h=o(95868),c=o(50178),d=o(35454),u=o(96674),b=o(71715),m=o(30556),w=o(25929);const v=(0,d.w)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let g=r=class extends u.wq{constructor(t){super(t)}readHref(t,e,o){return t?(0,w.f)(t,o):e.dataURI}writeHref(t,e,o,r){t&&((0,n.HK)(t)?e.dataURI=t:(e.href=(0,w.t)(t,r),(0,n.YP)(e.href)&&(e.href=(0,n.Fv)(e.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,i._)([(0,a.Cb)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],g.prototype,"href",void 0),(0,i._)([(0,b.r)("href")],g.prototype,"readHref",null),(0,i._)([(0,m.c)("href",{href:{type:String},dataURI:{type:String}})],g.prototype,"writeHref",null),(0,i._)([(0,p.J)(v)],g.prototype,"primitive",void 0),g=r=(0,i._)([(0,y.j)("esri.symbols.support.IconSymbol3DLayerResource")],g);var f,_=o(37308),C=o(15923);let S=f=class extends C.Z{constructor(){super(...arguments),this.x=0,this.y=0}clone(){return new f({x:this.x,y:this.y})}};(0,i._)([(0,a.Cb)({type:Number})],S.prototype,"x",void 0),(0,i._)([(0,a.Cb)({type:Number})],S.prototype,"y",void 0),S=f=(0,i._)([(0,y.j)("esri.symbols.support.Symbol3DAnchorPosition2D")],S);var j,Z=o(22303),x=o(62357);let L=j=class extends u.wq{constructor(t){super(t),this.color=new Z.Z([0,0,0,1]),this.size=(0,x.Wz)(1)}clone(){const t={color:(0,l.pC)(this.color)?this.color.clone():null,size:this.size};return new j(t)}};(0,i._)([(0,a.Cb)(_.a)],L.prototype,"color",void 0),(0,i._)([(0,a.Cb)(_.y)],L.prototype,"size",void 0),L=j=(0,i._)([(0,y.j)("esri.symbols.support.Symbol3DIconOutline")],L);var z,O=o(52879);const k=s.Z.getLogger("esri.symbols.IconSymbol3DLayer");let D=z=class extends h.Z{constructor(t){super(t),this.material=null,this.resource=null,this.type="icon",this.size=12,this.anchor="center",this.anchorPosition=void 0,this.outline=void 0}clone(){return new z({anchor:this.anchor,anchorPosition:this.anchorPosition&&this.anchorPosition.clone(),enabled:this.enabled,material:(0,l.pC)(this.material)?this.material.clone():null,outline:(0,l.pC)(this.outline)?this.outline.clone():null,resource:this.resource&&this.resource.clone(),size:this.size})}static fromSimpleMarkerSymbol(t){const e=t.color||c.ix,o=N(t),r=t.outline&&t.outline.width>0?{size:t.outline.width,color:(t.outline.color||c.ix).clone()}:null;return new z({size:t.size,resource:{primitive:$(t.style)},material:{color:e},outline:r,anchor:o?"relative":void 0,anchorPosition:o})}static fromPictureMarkerSymbol(t){const e=!t.color||(0,c.rx)(t.color)?c.ix:t.color,o=N(t);return new z({size:t.width<=t.height?t.height:t.width,resource:{href:t.url},material:{color:e.clone()},anchor:o?"relative":void 0,anchorPosition:o})}static fromCIMSymbol(t){return new z({resource:{href:(0,n._l)({mediaType:"application/json",data:JSON.stringify(t.data)})}})}};function N(t){const e="width"in t?t.width:t.size,o="height"in t?t.height:t.size,r=M(t.xoffset),i=M(t.yoffset);return(r||i)&&e&&o?{x:-r/e,y:i/o}:null}function M(t){return isFinite(t)?t:0}(0,i._)([(0,a.Cb)({type:O.b,json:{write:!0}})],D.prototype,"material",void 0),(0,i._)([(0,a.Cb)({type:g,json:{write:!0}})],D.prototype,"resource",void 0),(0,i._)([(0,p.J)({Icon:"icon"},{readOnly:!0})],D.prototype,"type",void 0),(0,i._)([(0,a.Cb)(_.y)],D.prototype,"size",void 0),(0,i._)([(0,p.J)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"}),(0,a.Cb)({json:{default:"center"}})],D.prototype,"anchor",void 0),(0,i._)([(0,a.Cb)({type:S,json:{type:[Number],read:{reader:t=>new S({x:t[0],y:t[1]})},write:{writer:(t,e)=>{e.anchorPosition=[t.x,t.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],D.prototype,"anchorPosition",void 0),(0,i._)([(0,a.Cb)({type:L,json:{write:!0}})],D.prototype,"outline",void 0),D=z=(0,i._)([(0,y.j)("esri.symbols.IconSymbol3DLayer")],D);const A={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function $(t){return A[t]||(k.warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}const P=D},20825:(t,e,o)=>{o.d(e,{Z:()=>m});var r,i=o(43697),s=o(80539),l=o(22974),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(87223),h=o(2283),c=o(84275),d=o(7413);const u=s.Z.ofType({base:null,key:"type",typeMap:{text:h.Z}});let b=r=class extends y.Z{constructor(t){super(t),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.symbolLayers=new u,this.type="label-3d"}supportsCallout(){return!0}hasVisibleCallout(){return(0,c.gv)(this)}hasVisibleVerticalOffset(){return(0,c.Uy)(this)}clone(){return new r({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail),callout:(0,l.d9)(this.callout),verticalOffset:(0,l.d9)(this.verticalOffset)})}static fromTextSymbol(t){return new r({symbolLayers:[h.Z.fromTextSymbol(t)]})}};(0,i._)([(0,n.Cb)({type:d._,json:{write:!0}})],b.prototype,"verticalOffset",void 0),(0,i._)([(0,n.Cb)(c.Y2)],b.prototype,"callout",void 0),(0,i._)([(0,n.Cb)({json:{read:!1,write:!1}})],b.prototype,"styleOrigin",void 0),(0,i._)([(0,n.Cb)({type:u})],b.prototype,"symbolLayers",void 0),(0,i._)([(0,a.J)({LabelSymbol3D:"label-3d"},{readOnly:!0})],b.prototype,"type",void 0),b=r=(0,i._)([(0,p.j)("esri.symbols.LabelSymbol3D")],b);const m=b},98587:(t,e,o)=>{o.d(e,{Z:()=>m});var r,i=o(43697),s=o(80539),l=o(22974),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(38128),h=o(96742),c=o(87223);const d=s.Z.ofType({base:null,key:"type",typeMap:{line:y.Z,path:h.Z}}),u=s.Z.ofType({base:null,key:"type",typeMap:{line:y.Z,path:h.Z}});let b=r=class extends c.Z{constructor(t){super(t),this.symbolLayers=new d,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleLineSymbol(t){return new r({symbolLayers:[y.Z.fromSimpleLineSymbol(t)]})}};(0,i._)([(0,n.Cb)({type:d,json:{type:u}})],b.prototype,"symbolLayers",void 0),(0,i._)([(0,a.J)({LineSymbol3D:"line-3d"},{readOnly:!0})],b.prototype,"type",void 0),b=r=(0,i._)([(0,p.j)("esri.symbols.LineSymbol3D")],b);const m=b},38128:(t,e,o)=>{o.d(e,{Z:()=>Z});var r=o(43697),i=o(70586),s=o(62357),l=o(5600),n=(o(67676),o(80442),o(75215)),a=o(36030),p=o(52011),y=o(22303),h=o(2368),c=o(96674),d=o(57742);let u=class extends((0,h.J)(c.wq)){constructor(t){super(t),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(t){return(0,i.pC)(t)&&t.placement===this.placement&&t.style===this.style&&((0,i.Wi)(this.color)&&(0,i.Wi)(t.color)||(0,i.pC)(this.color)&&(0,i.pC)(t.color)&&this.color.toJSON()===t.color.toJSON())}};(0,r._)([(0,l.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],u.prototype,"type",void 0),(0,r._)([(0,l.Cb)({type:d.J,json:{default:"begin-end",write:!0}})],u.prototype,"placement",void 0),(0,r._)([(0,l.Cb)({type:d.k,json:{default:"arrow",write:!0}})],u.prototype,"style",void 0),(0,r._)([(0,l.Cb)({type:y.Z,json:{type:[n.z8],default:null,write:!0}})],u.prototype,"color",void 0),u=(0,r._)([(0,p.j)("esri.symbols.LineStyleMarker3D")],u);const b=u;var m,w=o(95868),v=o(4618),g=o(17495),f=o(50178),_=o(37308),C=o(52879),S=o(45119);let j=m=class extends w.Z{constructor(t){super(t),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.size=(0,s.Wz)(1),this.pattern=null,this.marker=null}clone(){const t={enabled:this.enabled,material:(0,i.pC)(this.material)?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:(0,i.pC)(this.pattern)?this.pattern.clone():null,marker:(0,i.pC)(this.marker)?this.marker.clone():null};return new m(t)}static fromSimpleLineSymbol(t){const e={enabled:!0,size:t.width??(0,s.Wz)(1),cap:t.cap||"butt",join:t.join||"miter",pattern:t.style&&"inside-frame"!==t.style?new v.Z({style:t.style}):null,material:new C.b({color:(t.color||f.ix).clone()}),marker:t.marker?new b({placement:t.marker.placement,style:t.marker.style,color:t.marker.color?.clone()??null}):null};return new m(e)}};(0,r._)([(0,l.Cb)({type:C.b,json:{write:!0}})],j.prototype,"material",void 0),(0,r._)([(0,a.J)({Line:"line"},{readOnly:!0})],j.prototype,"type",void 0),(0,r._)([(0,l.Cb)({type:S.w2,json:{write:!0,default:"miter"}})],j.prototype,"join",void 0),(0,r._)([(0,l.Cb)({type:S.Hc,json:{write:!0,default:"butt"}})],j.prototype,"cap",void 0),(0,r._)([(0,l.Cb)(_.y)],j.prototype,"size",void 0),(0,r._)([(0,l.Cb)(g.D)],j.prototype,"pattern",void 0),(0,r._)([(0,l.Cb)({types:{key:"type",base:b,typeMap:{style:b}},json:{write:!0}})],j.prototype,"marker",void 0),j=m=(0,r._)([(0,p.j)("esri.symbols.LineSymbol3DLayer")],j);const Z=j},40908:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),i=o(62357),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011)),n=o(89164);let a=class extends n.Z{constructor(t){super(t),this.angle=0,this.type=null,this.xoffset=0,this.yoffset=0,this.size=9}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,r._)([(0,s.Cb)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],a.prototype,"angle",void 0),(0,r._)([(0,s.Cb)({type:["simple-marker","picture-marker"],readOnly:!0})],a.prototype,"type",void 0),(0,r._)([(0,s.Cb)({type:Number,cast:i.t_,json:{write:!0}})],a.prototype,"xoffset",void 0),(0,r._)([(0,s.Cb)({type:Number,cast:i.t_,json:{write:!0}})],a.prototype,"yoffset",void 0),(0,r._)([(0,s.Cb)({type:Number,cast:t=>"auto"===t?t:(0,i.t_)(t),json:{write:!0}})],a.prototype,"size",void 0),a=(0,r._)([(0,l.j)("esri.symbols.MarkerSymbol")],a);const p=a},17143:(t,e,o)=>{o.d(e,{Z:()=>_});var r,i=o(43697),s=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(35454),h=o(96674),c=o(25929);const d=(0,y.w)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let u=r=class extends h.wq{clone(){return new r({href:this.href,primitive:this.primitive})}};(0,i._)([(0,l.Cb)({type:String,json:{read:c.r,write:c.w}})],u.prototype,"href",void 0),(0,i._)([(0,n.J)(d)],u.prototype,"primitive",void 0),u=r=(0,i._)([(0,a.j)("esri.symbols.support.ObjectSymbol3DLayerResource")],u);var b,m=o(15923);let w=b=class extends m.Z{constructor(){super(...arguments),this.x=0,this.y=0,this.z=0}clone(){return new b({x:this.x,y:this.y,z:this.z})}};(0,i._)([(0,l.Cb)({type:Number})],w.prototype,"x",void 0),(0,i._)([(0,l.Cb)({type:Number})],w.prototype,"y",void 0),(0,i._)([(0,l.Cb)({type:Number})],w.prototype,"z",void 0),w=b=(0,i._)([(0,a.j)("esri.symbols.support.Symbol3DAnchorPosition3D")],w);var v,g=o(52879);let f=v=class extends p.Z{constructor(t){super(t),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 v({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition&&this.anchorPosition.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:(0,s.pC)(this.material)?this.material.clone():null,castShadows:this.castShadows,resource:this.resource&&this.resource.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,i._)([(0,l.Cb)({type:g.b,json:{write:!0}})],f.prototype,"material",void 0),(0,i._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],f.prototype,"castShadows",void 0),(0,i._)([(0,l.Cb)({type:u,json:{write:!0}})],f.prototype,"resource",void 0),(0,i._)([(0,n.J)({Object:"object"},{readOnly:!0})],f.prototype,"type",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],f.prototype,"width",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],f.prototype,"height",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],f.prototype,"depth",void 0),(0,i._)([(0,n.J)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"}),(0,l.Cb)({json:{default:"origin"}})],f.prototype,"anchor",void 0),(0,i._)([(0,l.Cb)({type:w,json:{type:[Number],read:{reader:t=>new w({x:t[0],y:t[1],z:t[2]})},write:{writer:(t,e)=>{e.anchorPosition=[t.x,t.y,t.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],f.prototype,"anchorPosition",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],f.prototype,"heading",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],f.prototype,"tilt",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],f.prototype,"roll",void 0),(0,i._)([(0,l.Cb)({readOnly:!0})],f.prototype,"isPrimitive",null),f=v=(0,i._)([(0,a.j)("esri.symbols.ObjectSymbol3DLayer")],f);const _=f},96742:(t,e,o)=>{o.d(e,{Z:()=>u});var r,i=o(43697),s=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(71715),p=o(52011),y=o(95868),h=o(52879),c=o(45119);let d=r=class extends y.Z{constructor(t){super(t),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(t,e){return null!=t?t:null==e.height&&null!=e.size?e.size:void 0}readHeight(t,e){return null!=t?t:null==e.width&&null!=e.size?e.size:void 0}clone(){return new r({enabled:this.enabled,material:(0,s.pC)(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,i._)([(0,l.Cb)({type:h.b,json:{write:!0}})],d.prototype,"material",void 0),(0,i._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],d.prototype,"castShadows",void 0),(0,i._)([(0,n.J)({Path:"path"},{readOnly:!0})],d.prototype,"type",void 0),(0,i._)([(0,l.Cb)({type:["circle","quad"],json:{write:!0,default:"circle"}})],d.prototype,"profile",void 0),(0,i._)([(0,l.Cb)({type:c.w2,json:{write:!0,default:"miter"}})],d.prototype,"join",void 0),(0,i._)([(0,l.Cb)({type:c.KW,json:{write:!0,default:"butt"}})],d.prototype,"cap",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],d.prototype,"width",void 0),(0,i._)([(0,a.r)("width",["width","size","height"])],d.prototype,"readWidth",null),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],d.prototype,"height",void 0),(0,i._)([(0,a.r)("height",["height","size","width"])],d.prototype,"readHeight",null),(0,i._)([(0,l.Cb)({type:["center","bottom","top"],json:{write:!0,default:"center"}})],d.prototype,"anchor",void 0),(0,i._)([(0,l.Cb)({type:["heading","all"],json:{write:!0,default:"all"}})],d.prototype,"profileRotation",void 0),d=r=(0,i._)([(0,p.j)("esri.symbols.PathSymbol3DLayer")],d);const u=d},37898:(t,e,o)=>{o.d(e,{Z:()=>u});var r,i=o(43697),s=o(22974),l=o(62357),n=o(5600),a=(o(75215),o(36030)),p=o(71715),y=o(52011),h=o(40908),c=o(94075);let d=r=class extends h.Z{constructor(...t){super(...t),this.color=null,this.type="picture-marker",this.url=null,this.source=null,this.height=12,this.width=12,this.size=null}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t&&null==t.imageData)return t;const r={};return t&&(r.url=t),null!=e&&(r.width=(0,l.t_)(e)),null!=o&&(r.height=(0,l.t_)(o)),r}readHeight(t,e){return e.size||t}readWidth(t,e){return e.size||t}clone(){const t=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return t._set("source",(0,s.d9)(this.source)),t}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,i._)([(0,n.Cb)({json:{write:!1}})],d.prototype,"color",void 0),(0,i._)([(0,a.J)({esriPMS:"picture-marker"},{readOnly:!0})],d.prototype,"type",void 0),(0,i._)([(0,n.Cb)(c.KA)],d.prototype,"url",void 0),(0,i._)([(0,n.Cb)(c.Ds)],d.prototype,"source",void 0),(0,i._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],d.prototype,"height",void 0),(0,i._)([(0,p.r)("height",["height","size"])],d.prototype,"readHeight",null),(0,i._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],d.prototype,"width",void 0),(0,i._)([(0,n.Cb)({json:{write:!1}})],d.prototype,"size",void 0),d=r=(0,i._)([(0,y.j)("esri.symbols.PictureMarkerSymbol")],d);const u=d},42143:(t,e,o)=>{o.d(e,{Z:()=>v});var r,i=o(43697),s=o(80539),l=o(22974),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(50575),h=o(17143),c=o(87223),d=o(2283),u=o(84275),b=o(7413);const m=s.Z.ofType({base:null,key:"type",typeMap:{icon:y.Z,object:h.Z,text:d.Z}});let w=r=class extends c.Z{constructor(t){super(t),this.verticalOffset=null,this.callout=null,this.symbolLayers=new m,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const t of this.symbolLayers.items)switch(t.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,u.gv)(this)}hasVisibleVerticalOffset(){return(0,u.Uy)(this)}clone(){return new r({verticalOffset:(0,l.d9)(this.verticalOffset),callout:(0,l.d9)(this.callout),styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleMarkerSymbol(t){return new r({symbolLayers:[y.Z.fromSimpleMarkerSymbol(t)]})}static fromPictureMarkerSymbol(t){return new r({symbolLayers:[y.Z.fromPictureMarkerSymbol(t)]})}static fromCIMSymbol(t){const e=t.data?.symbol?.type;return"CIMPointSymbol"!==e?null:t.data.symbol.callout?new r({symbolLayers:[y.Z.fromCIMSymbol(t)],callout:{type:"line",size:.5,color:[0,0,0]},verticalOffset:{screenLength:40}}):new r({symbolLayers:[y.Z.fromCIMSymbol(t)]})}static fromTextSymbol(t){return new r({symbolLayers:[d.Z.fromTextSymbol(t)]})}};(0,i._)([(0,n.Cb)({type:b._,json:{write:!0}})],w.prototype,"verticalOffset",void 0),(0,i._)([(0,n.Cb)(u.Y2)],w.prototype,"callout",void 0),(0,i._)([(0,n.Cb)({type:m,json:{origins:{"web-scene":{write:!0}}}})],w.prototype,"symbolLayers",void 0),(0,i._)([(0,a.J)({PointSymbol3D:"point-3d"},{readOnly:!0})],w.prototype,"type",void 0),w=r=(0,i._)([(0,p.j)("esri.symbols.PointSymbol3D")],w);const v=w},86114:(t,e,o)=>{o.d(e,{Z:()=>_});var r,i=o(43697),s=o(80539),l=o(22974),n=o(70586),a=o(5600),p=(o(75215),o(36030)),y=o(52011),h=o(38445),c=o(95191),d=o(50575),u=o(38128),b=o(17143),m=o(87223),w=o(2283),v=o(44398);const g=s.Z.ofType({base:null,key:"type",typeMap:{extrude:h.Z,fill:c.Z,icon:d.Z,line:u.Z,object:b.Z,text:w.Z,water:v.Z}});let f=r=class extends m.Z{constructor(t){super(t),this.symbolLayers=new g,this.type="polygon-3d"}clone(){return new r({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromJSON(t){const e=new r;if(e.read(t),2===e.symbolLayers.length&&"fill"===e.symbolLayers.getItemAt(0).type&&"line"===e.symbolLayers.getItemAt(1).type){const o=e.symbolLayers.getItemAt(0),r=e.symbolLayers.getItemAt(1);!r.enabled||t.symbolLayers&&t.symbolLayers[1]&&!1===t.symbolLayers[1].enable||(o.outline={size:r.size,color:(0,n.pC)(r.material)?r.material.color:null}),e.symbolLayers.removeAt(1)}return e}static fromSimpleFillSymbol(t){return new r({symbolLayers:[c.Z.fromSimpleFillSymbol(t)]})}};(0,i._)([(0,a.Cb)({type:g,json:{write:!0}})],f.prototype,"symbolLayers",void 0),(0,i._)([(0,p.J)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],f.prototype,"type",void 0),f=r=(0,i._)([(0,y.j)("esri.symbols.PolygonSymbol3D")],f);const _=f},20256:(t,e,o)=>{o.d(e,{Z:()=>b});var r,i=o(43697),s=o(22303),l=o(35454),n=o(22974),a=o(5600),p=(o(75215),o(36030)),y=o(52011),h=o(21218),c=o(4095);const d=new l.X({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let u=r=class extends h.Z{constructor(...t){super(...t),this.color=new s.Z([0,0,0,.25]),this.outline=new c.Z,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.style=t),e&&(r.outline=e),o&&(r.color=o),r}clone(){return new r({color:(0,n.d9)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,i._)([(0,a.Cb)()],u.prototype,"color",void 0),(0,i._)([(0,a.Cb)()],u.prototype,"outline",void 0),(0,i._)([(0,p.J)({esriSFS:"simple-fill"},{readOnly:!0})],u.prototype,"type",void 0),(0,i._)([(0,a.Cb)({type:d.apiValues,json:{read:d.read,write:d.write}})],u.prototype,"style",void 0),u=r=(0,i._)([(0,y.j)("esri.symbols.SimpleFillSymbol")],u);const b=u},4095:(t,e,o)=>{o.d(e,{Z:()=>j});var r=o(43697),i=o(35454),s=o(22974),l=o(62357),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=(o(67676),o(80442),o(89164));let h=class extends y.Z{constructor(t){super(t),this.type="simple-line",this.width=.75}hash(){return`${this.type}.${this.width}`}};(0,r._)([(0,a.J)({esriSLS:"simple-line"},{readOnly:!0})],h.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],h.prototype,"width",void 0),h=(0,r._)([(0,p.j)("esri.symbols.LineSymbol")],h);const c=h;var d,u=o(22303),b=o(96674),m=o(71715),w=o(30556),v=o(57742);let g=d=class extends b.wq{constructor(t){super(t),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(t,e,o,r){e[o]="web-map"===r?.origin?"arrow":t}set color(t){this._set("color",t)}readColor(t){return t&&null!=t[0]?[t[0],t[1],t[2],t[3]/255]:t}writeColor(t,e,o,r){"web-map"===r?.origin||(e[o]=t)}clone(){return new d({color:(0,s.d9)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,r._)([(0,n.Cb)({type:["begin","end","begin-end"],json:{write:!0}})],g.prototype,"placement",void 0),(0,r._)([(0,a.J)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.Cb)({json:{origins:{"web-map":{write:!1}}}})],g.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:v.k})],g.prototype,"style",void 0),(0,r._)([(0,w.c)("style")],g.prototype,"writeStyle",null),(0,r._)([(0,n.Cb)({type:u.Z,value:null,json:{write:{allowNull:!0}}})],g.prototype,"color",null),(0,r._)([(0,m.r)("color")],g.prototype,"readColor",null),(0,r._)([(0,w.c)("color")],g.prototype,"writeColor",null),g=d=(0,r._)([(0,p.j)("esri.symbols.LineSymbolMarker")],g);const f=g;var _;const C=new i.X({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSInsideFrame:"inside-frame",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let S=_=class extends c{constructor(...t){super(...t),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(t,e,o,r,i,s){if(t&&"string"!=typeof t)return t;const n={};return null!=t&&(n.style=t),null!=e&&(n.color=e),null!=o&&(n.width=(0,l.t_)(o)),null!=r&&(n.cap=r),null!=i&&(n.join=i),null!=s&&(n.miterLimit=(0,l.t_)(s)),n}clone(){return new _({color:(0,s.d9)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,r._)([(0,a.J)({esriSLS:"simple-line"},{readOnly:!0})],S.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:C.apiValues,json:{read:C.read,write:C.write}})],S.prototype,"style",void 0),(0,r._)([(0,n.Cb)({type:["butt","round","square"],json:{write:{overridePolicy:(t,e,o)=>({enabled:"round"!==t&&(null==o||null==o.origin)})}}})],S.prototype,"cap",void 0),(0,r._)([(0,n.Cb)({type:["miter","round","bevel"],json:{write:{overridePolicy:(t,e,o)=>({enabled:"round"!==t&&(null==o||null==o.origin)})}}})],S.prototype,"join",void 0),(0,r._)([(0,n.Cb)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":f}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],S.prototype,"marker",void 0),(0,r._)([(0,n.Cb)({type:Number,json:{read:!1,write:!1}})],S.prototype,"miterLimit",void 0),S=_=(0,r._)([(0,p.j)("esri.symbols.SimpleLineSymbol")],S);const j=S},77987:(t,e,o)=>{o.d(e,{Z:()=>w});var r,i=o(43697),s=o(22303),l=o(35454),n=o(22974),a=o(62357),p=o(5600),y=(o(75215),o(36030)),h=o(52011),c=o(30556),d=o(40908),u=o(4095);const b=new l.X({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let m=r=class extends d.Z{constructor(...t){super(...t),this.color=new s.Z([255,255,255,.25]),this.type="simple-marker",this.size=12,this.style="circle",this.outline=new u.Z}normalizeCtorArgs(t,e,o,r){if(t&&"string"!=typeof t)return t;const i={};return t&&(i.style=t),null!=e&&(i.size=(0,a.t_)(e)),o&&(i.outline=o),r&&(i.color=r),i}writeColor(t,e){t&&"x"!==this.style&&"cross"!==this.style&&(e.color=t.toJSON()),null===t&&(e.color=null)}set path(t){this.style="path",this._set("path",t)}clone(){return new r({angle:this.angle,color:(0,n.d9)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,i._)([(0,p.Cb)()],m.prototype,"color",void 0),(0,i._)([(0,c.c)("color")],m.prototype,"writeColor",null),(0,i._)([(0,y.J)({esriSMS:"simple-marker"},{readOnly:!0})],m.prototype,"type",void 0),(0,i._)([(0,p.Cb)()],m.prototype,"size",void 0),(0,i._)([(0,p.Cb)({type:b.apiValues,json:{read:b.read,write:b.write}})],m.prototype,"style",void 0),(0,i._)([(0,p.Cb)({type:String,json:{write:!0}})],m.prototype,"path",null),(0,i._)([(0,p.Cb)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":u.Z}},json:{default:null,write:!0}})],m.prototype,"outline",void 0),m=r=(0,i._)([(0,h.j)("esri.symbols.SimpleMarkerSymbol")],m);const w=m},87223:(t,e,o)=>{o.d(e,{Z:()=>N});var r=o(43697),i=o(80539),s=o(70921),l=o(92604),n=o(17452),a=o(20941),p=o(5600),y=(o(67676),o(80442),o(90578)),h=o(71715),c=o(52011),d=o(30556),u=o(65587),b=o(25929),m=o(38445),w=o(95191),v=o(50575),g=o(38128),f=o(17143),_=o(96742),C=o(89164),S=o(95868),j=o(2283),Z=o(44398),x=o(71144),L=o(23203);const z={icon:v.Z,object:f.Z,line:g.Z,path:_.Z,fill:w.Z,extrude:m.Z,text:j.Z,water:Z.Z},O=i.Z.ofType({base:S.Z,key:"type",typeMap:z,errorContext:"symbol-layer"}),k=l.Z.getLogger("esri.symbols.Symbol3D");let D=class extends C.Z{constructor(t){super(t),this.styleOrigin=null,this.thumbnail=null,this.type=null;const e=this.__accessor__&&this.__accessor__.metadatas&&this.__accessor__.metadatas.symbolLayers,o=e&&e.type||i.Z;this._set("symbolLayers",new o)}get color(){return null}set color(t){this.initialized&&k.error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(t){(0,s.Z)(t,this._get("symbolLayers"))}readStyleOrigin(t,e,o){if(t.styleUrl&&t.name){const e=(0,b.f)(t.styleUrl,o);return new x.Z({styleUrl:e,name:t.name})}if(t.styleName&&t.name)return new x.Z({portal:o&&o.portal||u.Z.getDefault(),styleName:t.styleName,name:t.name});o&&o.messages&&o.messages.push(new a.Z("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:t}))}writeStyleOrigin(t,e,o,r){if(t.styleUrl&&t.name){let o=(0,b.t)(t.styleUrl,r);(0,n.YP)(o)&&(o=(0,n.Fv)(o)),e.styleOrigin={styleUrl:o,name:t.name}}else t.styleName&&t.name&&(t.portal&&r&&r.portal&&!(0,n.tm)(t.portal.restUrl,r.portal.restUrl)?r&&r.messages&&r.messages.push(new a.Z("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})):e.styleOrigin={styleName:t.styleName,name:t.name})}normalizeCtorArgs(t){return t instanceof S.Z||t&&z[t.type]?{symbolLayers:[t]}:Array.isArray(t)?{symbolLayers:t}:t}};(0,r._)([(0,p.Cb)({json:{read:!1,write:!1}})],D.prototype,"color",null),(0,r._)([(0,p.Cb)({type:O,nonNullable:!0,json:{write:!0}}),(0,y.p)(s.R)],D.prototype,"symbolLayers",null),(0,r._)([(0,p.Cb)({type:x.Z})],D.prototype,"styleOrigin",void 0),(0,r._)([(0,h.r)("styleOrigin")],D.prototype,"readStyleOrigin",null),(0,r._)([(0,d.c)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],D.prototype,"writeStyleOrigin",null),(0,r._)([(0,p.Cb)({type:L.p,json:{read:!1}})],D.prototype,"thumbnail",void 0),(0,r._)([(0,p.Cb)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],D.prototype,"type",void 0),D=(0,r._)([(0,c.j)("esri.symbols.Symbol3D")],D);const N=D},95868:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),i=o(96674),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011)),n=o(30556);let a=class extends i.wq{constructor(t){super(t),this.enabled=!0,this.type=null}writeEnabled(t,e,o){t||(e[o]=t)}};(0,r._)([(0,s.Cb)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],a.prototype,"enabled",void 0),(0,r._)([(0,n.c)("enabled")],a.prototype,"writeEnabled",null),(0,r._)([(0,s.Cb)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0})],a.prototype,"type",void 0),a=(0,r._)([(0,l.j)("esri.symbols.Symbol3DLayer")],a);const p=a},78724:(t,e,o)=>{o.d(e,{Z:()=>w});var r,i=o(43697),s=o(22303),l=o(22974),n=o(62357),a=o(5600),p=o(90578),y=o(36030),h=o(52011),c=o(30556),d=o(31134),u=o(89164),b=o(61565);let m=r=class extends u.Z{constructor(...t){super(...t),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new d.Z,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.haloSize=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.xoffset=0,this.yoffset=0,this.angle=0,this.width=null,this.lineWidth=192,this.lineHeight=1}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.text=t),e&&(r.font=e),o&&(r.color=o),r}writeLineWidth(t,e,o,r){r&&"string"!=typeof r?r.origin:e[o]=t}castLineWidth(t){return(0,n.t_)(t)}writeLineHeight(t,e,o,r){r&&"string"!=typeof r?r.origin:e[o]=t}clone(){return new r({angle:this.angle,backgroundColor:(0,l.d9)(this.backgroundColor),borderLineColor:(0,l.d9)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,l.d9)(this.color),font:this.font&&this.font.clone(),haloColor:(0,l.d9)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor&&this.backgroundColor.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color.hash()}.${this.font&&this.font.hash()}.${this.haloColor&&this.haloColor.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,i._)([(0,a.Cb)({type:s.Z,json:{write:!0}})],m.prototype,"backgroundColor",void 0),(0,i._)([(0,a.Cb)({type:s.Z,json:{write:!0}})],m.prototype,"borderLineColor",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{write:!0}})],m.prototype,"borderLineSize",void 0),(0,i._)([(0,a.Cb)({type:d.Z,json:{write:!0}})],m.prototype,"font",void 0),(0,i._)([(0,a.Cb)({...b.x0,json:{write:!0}})],m.prototype,"horizontalAlignment",void 0),(0,i._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"kerning",void 0),(0,i._)([(0,a.Cb)({type:s.Z,json:{write:!0}})],m.prototype,"haloColor",void 0),(0,i._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],m.prototype,"haloSize",void 0),(0,i._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"rightToLeft",void 0),(0,i._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"rotated",void 0),(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],m.prototype,"text",void 0),(0,i._)([(0,y.J)({esriTS:"text"},{readOnly:!0})],m.prototype,"type",void 0),(0,i._)([(0,a.Cb)({...b.Nj,json:{write:!0}})],m.prototype,"verticalAlignment",void 0),(0,i._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],m.prototype,"xoffset",void 0),(0,i._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],m.prototype,"yoffset",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],m.prototype,"angle",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{write:!0}})],m.prototype,"width",void 0),(0,i._)([(0,a.Cb)({type:Number})],m.prototype,"lineWidth",void 0),(0,i._)([(0,c.c)("lineWidth")],m.prototype,"writeLineWidth",null),(0,i._)([(0,p.p)("lineWidth")],m.prototype,"castLineWidth",null),(0,i._)([(0,a.Cb)(b.Ck)],m.prototype,"lineHeight",void 0),(0,i._)([(0,c.c)("lineHeight")],m.prototype,"writeLineHeight",null),m=r=(0,i._)([(0,h.j)("esri.symbols.TextSymbol")],m);const w=m},2283:(t,e,o)=>{o.d(e,{Z:()=>j});var r,i=o(43697),s=o(22974),l=o(70586),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(30556),h=o(31134),c=o(95868),d=o(37308),u=o(22303),b=o(96674);let m=r=class extends b.wq{constructor(){super(...arguments),this.color=new u.Z([0,0,0,1]),this.size=0}clone(){const t={color:(0,s.d9)(this.color),size:this.size};return new r(t)}};(0,i._)([(0,n.Cb)(d.a)],m.prototype,"color",void 0),(0,i._)([(0,n.Cb)(d.y)],m.prototype,"size",void 0),m=r=(0,i._)([(0,p.j)("esri.symbols.support.Symbol3DHalo")],m);var w=o(52879),v=o(2368);o(67676),o(80442);let g=class extends((0,v.J)(b.wq)){constructor(t){super(t),this.color=null}};(0,i._)([(0,n.Cb)(d.a)],g.prototype,"color",void 0),g=(0,i._)([(0,p.j)("esri.symbols.support.Symbol3DTextBackground")],g);var f,_=o(61565);let C=f=class extends c.Z{constructor(t){super(t),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(t){(0,l.pC)(t)&&(0,l.pC)(this._userSize)&&(t.size=this._userSize),this._set("font",t)}writeFont(t,e,o,r){const i={...r,textSymbol3D:!0};e.font=t.write({},i),delete e.font.size}get size(){return(0,l.pC)(this._userSize)?this._userSize:(0,l.pC)(this.font)&&null!=this.font.size?this.font.size:9}set size(t){this._userSize=t,(0,l.pC)(this.font)&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const t=new f({enabled:this.enabled,font:this.font&&(0,s.d9)(this.font),halo:this.halo&&(0,s.d9)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:(0,l.pC)(this.material)?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,s.d9)(this.background)});return t._userSize=this._userSize,t}static fromTextSymbol(t){return new f({font:(0,l.pC)(t.font)?t.font.clone():new h.Z,halo:S(t.haloColor,t.haloSize),horizontalAlignment:t.horizontalAlignment,lineHeight:t.lineHeight,material:t.color?new w.b({color:t.color.clone()}):null,text:t.text,verticalAlignment:t.verticalAlignment,background:t.backgroundColor?new g({color:t.backgroundColor.clone()}):null})}};function S(t,e){return t&&e>0?new m({color:(0,s.d9)(t),size:e}):null}(0,i._)([(0,n.Cb)({type:h.Z,json:{write:!0}})],C.prototype,"font",null),(0,i._)([(0,y.c)("font")],C.prototype,"writeFont",null),(0,i._)([(0,n.Cb)({type:m,json:{write:!0}})],C.prototype,"halo",void 0),(0,i._)([(0,n.Cb)({..._.x0,json:{default:"center",write:!0}})],C.prototype,"horizontalAlignment",void 0),(0,i._)([(0,n.Cb)({..._.Ck,json:{default:1,write:!0}})],C.prototype,"lineHeight",void 0),(0,i._)([(0,n.Cb)({type:w.b,json:{write:!0}})],C.prototype,"material",void 0),(0,i._)([(0,n.Cb)({type:g,json:{write:!0}})],C.prototype,"background",void 0),(0,i._)([(0,n.Cb)(d.y)],C.prototype,"size",null),(0,i._)([(0,n.Cb)({type:String,json:{write:!0}})],C.prototype,"text",void 0),(0,i._)([(0,a.J)({Text:"text"},{readOnly:!0})],C.prototype,"type",void 0),(0,i._)([(0,n.Cb)({..._.Nj,json:{default:"baseline",write:!0}})],C.prototype,"verticalAlignment",void 0),C=f=(0,i._)([(0,p.j)("esri.symbols.TextSymbol3DLayer")],C);const j=C},44398:(t,e,o)=>{o.d(e,{Z:()=>u});var r,i=o(43697),s=o(22303),l=o(22974),n=o(5600),a=o(75215),p=o(36030),y=o(52011),h=o(95868);let c=r=class extends h.Z{constructor(t){super(t),this.color=d.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:(0,l.d9)(this.color),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,i._)([(0,n.Cb)({type:s.Z,nonNullable:!0,json:{type:[a.z8],write:(t,e,o)=>e[o]=t.toArray(s.Z.AlphaMode.UNLESS_OPAQUE),default:()=>d.clone(),defaultEquals:t=>t.toCss(!0)===d.toCss(!0)}})],c.prototype,"color",void 0),(0,i._)([(0,p.J)({Water:"water"},{readOnly:!0})],c.prototype,"type",void 0),(0,i._)([(0,n.Cb)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],c.prototype,"waterbodySize",void 0),(0,i._)([(0,n.Cb)({type:Number,json:{write:!0,default:null}})],c.prototype,"waveDirection",void 0),(0,i._)([(0,n.Cb)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],c.prototype,"waveStrength",void 0),c=r=(0,i._)([(0,y.j)("esri.symbols.WaterSymbol3DLayer")],c);const d=new s.Z([0,119,190]),u=c},59390:(t,e,o)=>{o.d(e,{Z:()=>m});var r,i=o(43697),s=o(92604),l=o(95330),n=o(5600),a=(o(67676),o(80442),o(75215),o(36030)),p=o(52011),y=o(65587),h=o(25929),c=o(89164),d=o(23203);const u=s.Z.getLogger("esri.symbols.WebStyleSymbol");let b=r=class extends c.Z{constructor(t){super(t),this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}read(t,e){this.portal=e?e.portal:void 0,super.read(t,e)}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(t){return this._fetchSymbol("webRef",t)}fetchCIMSymbol(t){return this._fetchSymbol("cimRef",t)}async _fetchSymbol(t,e){const r=await o.e(4499).then(o.bind(o,74499));(0,l.k_)(e);const i=r.resolveWebStyleSymbol(this,{portal:this.portal},t,e);return i.catch((t=>{u.error("#fetchSymbol()","Failed to create symbol from style",t)})),i}};(0,i._)([(0,n.Cb)({json:{write:!1}})],b.prototype,"color",void 0),(0,i._)([(0,n.Cb)({type:String,json:{write:!0}})],b.prototype,"styleName",void 0),(0,i._)([(0,n.Cb)({type:y.Z,json:{write:!1}})],b.prototype,"portal",void 0),(0,i._)([(0,n.Cb)({type:String,json:{read:h.r,write:h.w}})],b.prototype,"styleUrl",void 0),(0,i._)([(0,n.Cb)({type:d.p,json:{read:!1}})],b.prototype,"thumbnail",void 0),(0,i._)([(0,n.Cb)({type:String,json:{write:!0}})],b.prototype,"name",void 0),(0,i._)([(0,a.J)({styleSymbolReference:"web-style"},{readOnly:!0})],b.prototype,"type",void 0),b=r=(0,i._)([(0,p.j)("esri.symbols.WebStyleSymbol")],b);const m=b},27539:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),i=o(96674),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011));let n=class extends i.wq{constructor(t){super(t),this.visible=!0}clone(){}};(0,r._)([(0,s.Cb)({type:["line"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),(0,r._)([(0,s.Cb)({readOnly:!0})],n.prototype,"visible",void 0),n=(0,r._)([(0,l.j)("esri.symbols.callouts.Callout3D")],n);const a=n},69496:(t,e,o)=>{o.d(e,{Z:()=>m});var r,i=o(43697),s=o(22303),l=o(22974),n=o(70586),a=o(62357),p=o(5600),y=(o(75215),o(36030)),h=o(52011),c=o(27539),d=o(6352),u=o(37308);let b=r=class extends c.Z{constructor(t){super(t),this.type="line",this.color=new s.Z([0,0,0,1]),this.size=(0,a.Wz)(1),this.border=null}get visible(){return this.size>0&&(0,n.pC)(this.color)&&this.color.a>0}clone(){return new r({color:(0,l.d9)(this.color),size:this.size,border:(0,l.d9)(this.border)})}};(0,i._)([(0,y.J)({line:"line"},{readOnly:!0})],b.prototype,"type",void 0),(0,i._)([(0,p.Cb)(u.a)],b.prototype,"color",void 0),(0,i._)([(0,p.Cb)(u.y)],b.prototype,"size",void 0),(0,i._)([(0,p.Cb)({type:d.a,json:{write:!0}})],b.prototype,"border",void 0),(0,i._)([(0,p.Cb)({readOnly:!0})],b.prototype,"visible",null),b=r=(0,i._)([(0,h.j)("esri.symbols.callouts.LineCallout3D")],b);const m=b},84275:(t,e,o)=>{o.d(e,{Uy:()=>s,Y2:()=>n,gv:()=>l});var r=o(27539),i=o(69496);function s(t){if(!t)return!1;const e=t.verticalOffset;return!!e&&!(e.screenLength<=0||e.maxWorldLength<=0)}function l(t){if(!t)return!1;if(!t.supportsCallout||!t.supportsCallout())return!1;const e=t.callout;return!!e&&!!e.visible&&!!s(t)}const n={types:{key:"type",base:r.Z,typeMap:{line:i.Z}},json:{write:!0}}},56332:(t,e,o)=>{o.d(e,{Z:()=>g});var r=o(43697),i=o(22303),s=o(96674),l=o(22974),n=o(62357),a=o(5600),p=(o(75215),o(52011)),y=o(37308);let h=class extends s.wq{constructor(t){super(t),this.color=new i.Z([0,0,0,1]),this.extensionLength=0,this.size=(0,n.Wz)(1)}clone(){}cloneProperties(){return{color:(0,l.d9)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r._)([(0,a.Cb)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],h.prototype,"type",void 0),(0,r._)([(0,a.Cb)(y.a)],h.prototype,"color",void 0),(0,r._)([(0,a.Cb)({...y.y,json:{write:{overridePolicy:t=>({enabled:!!t})}}})],h.prototype,"extensionLength",void 0),(0,r._)([(0,a.Cb)(y.y)],h.prototype,"size",void 0),h=(0,r._)([(0,p.j)("esri.symbols.edges.Edges3D")],h);const c=h;o(92604),o(67676),o(80442),o(37697);var d,u=o(36030);let b=d=class extends c{constructor(t){super(t),this.type="sketch"}clone(){return new d(this.cloneProperties())}};(0,r._)([(0,u.J)({sketch:"sketch"},{readOnly:!0})],b.prototype,"type",void 0),b=d=(0,r._)([(0,p.j)("esri.symbols.edges.SketchEdges3D")],b);const m=b;var w;let v=w=class extends c{constructor(t){super(t),this.type="solid"}clone(){return new w(this.cloneProperties())}};(0,r._)([(0,u.J)({solid:"solid"},{readOnly:!0})],v.prototype,"type",void 0),v=w=(0,r._)([(0,p.j)("esri.symbols.support.SolidEdges3D")],v);const g={types:{key:"type",base:c,typeMap:{solid:v,sketch:m}},json:{write:!0}}},32626:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),i=o(96674),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011));let n=class extends i.wq{constructor(t){super(t)}clone(){}};(0,r._)([(0,s.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.j)("esri.symbols.patterns.LinePattern3D")],n);const a=n},4618:(t,e,o)=>{o.d(e,{Z:()=>c});var r,i=o(43697),s=o(35454),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(32626);const y=(0,s.w)()({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 h=r=class extends p.Z{constructor(t){super(t),this.type="style",this.style="solid"}clone(){const t={style:this.style};return new r(t)}};(0,i._)([(0,l.Cb)({type:["style"]})],h.prototype,"type",void 0),(0,i._)([(0,n.J)(y),(0,l.Cb)({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"]})],h.prototype,"style",void 0),h=r=(0,i._)([(0,a.j)("esri.symbols.patterns.LineStylePattern3D")],h);const c=h},41776:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),i=o(96674),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011));let n=class extends i.wq{constructor(t){super(t)}clone(){}};(0,r._)([(0,s.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.j)("esri.symbols.patterns.Pattern3D")],n);const a=n},74721:(t,e,o)=>{o.d(e,{Z:()=>p});var r,i=o(43697),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011)),n=o(41776);let a=r=class extends n.Z{constructor(t){super(t),this.type="style",this.style="solid"}clone(){const t={style:this.style};return new r(t)}};(0,i._)([(0,s.Cb)({type:["style"]})],a.prototype,"type",void 0),(0,i._)([(0,s.Cb)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:!0}})],a.prototype,"style",void 0),a=r=(0,i._)([(0,l.j)("esri.symbols.patterns.StylePattern3D")],a);const p=a},17495:(t,e,o)=>{o.d(e,{D:()=>a,q:()=>n});var r=o(32626),i=o(4618),s=o(41776),l=o(74721);const n={types:{key:"type",base:s.Z,typeMap:{style:l.Z}},json:{write:!0}},a={types:{key:"type",base:r.Z,typeMap:{style:i.Z}},json:{write:!0}}},71144:(t,e,o)=>{o.d(e,{Z:()=>y});var r,i=o(43697),s=o(15923),l=o(5600),n=(o(67676),o(80442),o(75215),o(52011)),a=o(65587);let p=r=class extends s.Z{constructor(){super(...arguments),this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,i._)([(0,l.Cb)({type:String})],p.prototype,"name",void 0),(0,i._)([(0,l.Cb)({type:String})],p.prototype,"styleUrl",void 0),(0,i._)([(0,l.Cb)({type:String})],p.prototype,"styleName",void 0),(0,i._)([(0,l.Cb)({type:a.Z})],p.prototype,"portal",void 0),p=r=(0,i._)([(0,n.j)("esri.symbols.support.StyleOrigin")],p);const y=p},52879:(t,e,o)=>{o.d(e,{b:()=>y});var r,i=o(43697),s=o(96674),l=o(70586),n=o(5600),a=(o(67676),o(80442),o(75215),o(52011)),p=o(37308);let y=r=class extends s.wq{constructor(t){super(t),this.color=null}clone(){const t={color:(0,l.pC)(this.color)?this.color.clone():null};return new r(t)}};(0,i._)([(0,n.Cb)(p.a)],y.prototype,"color",void 0),y=r=(0,i._)([(0,a.j)("esri.symbols.support.Symbol3DMaterial")],y)},7413:(t,e,o)=>{o.d(e,{_:()=>p});var r,i=o(43697),s=o(96674),l=o(5600),n=(o(67676),o(80442),o(75215),o(52011)),a=o(37308);let p=r=class extends s.wq{constructor(){super(...arguments),this.screenLength=0,this.minWorldLength=0}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,i._)([(0,l.Cb)(a.y)],p.prototype,"screenLength",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0,default:0}})],p.prototype,"minWorldLength",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],p.prototype,"maxWorldLength",void 0),p=r=(0,i._)([(0,n.j)("esri.symbols.support.Symbol3DVerticalOffset")],p)},23203:(t,e,o)=>{o.d(e,{p:()=>a});var r,i=o(43697),s=o(15923),l=o(5600),n=(o(67676),o(80442),o(75215),o(52011));let a=r=class extends s.Z{clone(){return new r({url:this.url})}};(0,i._)([(0,l.Cb)({type:String})],a.prototype,"url",void 0),a=r=(0,i._)([(0,n.j)("esri.symbols.support.Thumbnail")],a)},50178:(t,e,o)=>{o.d(e,{ix:()=>i,l9:()=>s,rx:()=>l});var r=o(22303);const i=new r.Z("white"),s=(new r.Z("black"),new r.Z([255,255,255,0]));function l(t){return 0===t.r&&0===t.g&&0===t.b}},57742:(t,e,o)=>{o.d(e,{J:()=>r,k:()=>i});const r=["begin","end","begin-end"],i=["arrow","circle","square","diamond","cross","x"]},37308:(t,e,o)=>{o.d(e,{a:()=>n,y:()=>a});var r=o(22303),i=o(62357),s=o(75215),l=o(65242);const n={type:r.Z,json:{type:[s.z8],default:null,read:{source:["color","transparency"],reader:function(t,e){const o=null!=e.transparency?(0,l.b)(e.transparency):1,i=e.color;return i&&Array.isArray(i)?new r.Z([i[0]||0,i[1]||0,i[2]||0,o]):null}},write:{target:{color:{type:[s.z8]},transparency:{type:s.z8}},writer:function(t,e){e.color=t.toJSON().slice(0,3);const o=(0,l.a)(t.a);0!==o&&(e.transparency=o)}}}},a={type:Number,cast:i.t_,json:{write:!0}}},45119:(t,e,o)=>{o.d(e,{$K:()=>s,Hc:()=>y,KW:()=>h,Uz:()=>p,w2:()=>c}),o(80442);var r=o(65617),i=o(60437);function s(t,{isPrimitive:e,width:o,depth:i,height:s}){const l=e?10:1;if(null==o&&null==s&&null==i)return[l*t[0],l*t[1],l*t[2]];const n=(0,r.f)(o,i,s);let a;for(let e=0;e<3;e++){const o=n[e];if(null!=o){a=o/t[e];break}}for(let e=0;e<3;e++)null==n[e]&&(n[e]=t[e]*a);return n}const l=(0,i.al)(-.5,-.5,-.5,.5,.5,.5),n=(0,i.al)(-.5,-.5,0,.5,.5,1),a=(0,i.al)(-.5,-.5,0,.5,.5,.5);function p(t){switch(t){case"sphere":case"cube":case"diamond":return l;case"cylinder":case"cone":case"inverted-cone":return n;case"tetrahedron":return a;default:return}}const y=["butt","square","round"],h=[...y,"none"],c=["miter","bevel","round"]},61565:(t,e,o)=>{o.d(e,{Ck:()=>a,Nj:()=>y,Xw:()=>n,hR:()=>l,uC:()=>s,x0:()=>p});var r=o(22021),i=o(75215);const s=["none","underline","line-through"],l=["normal","italic","oblique"],n=["normal","lighter","bold","bolder"],a={type:Number,cast:t=>{const e=(0,i.q9)(t);return 0===e?1:(0,r.uZ)(e,.1,4)},nonNullable:!0},p={type:["left","right","center"],nonNullable:!0},y={type:["baseline","top","middle","bottom"],nonNullable:!0}},94075:(t,e,o)=>{o.d(e,{Ds:()=>n,KA:()=>l});var r=o(17452),i=o(25929);function s(t,e){return function(t){return t&&("service"===t.origin||"portal-item"===t.origin)&&t.layer&&("feature"===t.layer.type||"stream"===t.layer.type)}(e)&&!(0,r.YP)(t)&&e.layer.parsedUrl?(0,r.v_)(e.layer.parsedUrl.path,"images",t):(0,i.f)(t,e)}const l={json:{read:{source:["imageData","url"],reader:function(t,e,o){return e.imageData?(0,r._l)({mediaType:e.contentType||"image/png",isBase64:!0,data:e.imageData}):s(e.url,o)}},write:{writer(t,e,o,s){!function(t,e,o,s){if((0,r.HK)(t)){const l=(0,r.sJ)(t);e.contentType=l.mediaType,e.imageData=l.data,o&&o.imageData===e.imageData&&o.url&&(0,i.w)(o.url,e,"url",s)}else(0,i.w)(t,e,"url",s)}(t,e,this.source,s)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(t,e,o){const r={};return e.imageData&&(r.imageData=e.imageData),e.contentType&&(r.contentType=e.contentType),e.url&&(r.url=s(e.url,o)),r}}}}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9454],{6352:(t,e,o)=>{o.d(e,{a:()=>c});var r,i=o(43697),s=o(22303),l=o(96674),n=o(22974),a=o(5600),p=(o(75215),o(52011)),y=o(37308);let h=r=class extends l.wq{constructor(){super(...arguments),this.color=new s.Z("white")}clone(){return new r({color:(0,n.d9)(this.color)})}};(0,i._)([(0,a.Cb)(y.a)],h.prototype,"color",void 0),h=r=(0,i._)([(0,p.j)("esri.symbols.callouts.LineCallout3DBorder")],h);const c=h;Object.freeze(Object.defineProperty({__proto__:null,default:c},Symbol.toStringTag,{value:"Module"}))},2368:(t,e,o)=>{o.d(e,{J:()=>h});var r=o(43697),i=o(15923),s=(o(80442),o(22974)),l=o(92604),n=o(70586),a=o(31263),p=o(1153),y=o(52011);l.Z.getLogger("esri.core.Clonable");const h=t=>{let e=class extends t{clone(){const t=(0,n.s3)((0,p.vw)(this),"unable to clone instance of non-accessor class"),e=t.metadatas,o=t.store,r={},i=new Map;for(const t in e){const l=e[t],n=o?.originOf(t),p=l.clonable;if(l.readOnly||!1===p||n!==a.s3.USER&&n!==a.s3.DEFAULTS&&n!==a.s3.WEB_MAP&&n!==a.s3.WEB_SCENE)continue;const y=this[t];let h=null;h="function"==typeof p?p(y):"reference"===p?y:(0,s.Vo)(y),null!=y&&null==h||(n===a.s3.DEFAULTS?i.set(t,h):r[t]=h)}const l=new(0,Object.getPrototypeOf(this).constructor)(r);if(i.size){const t=(0,p.vw)(l)?.store;if(t)for(const[e,o]of i)t.set(e,o,a.s3.DEFAULTS)}return l}};return e=(0,r._)([(0,y.j)("esri.core.Clonable")],e),e};let c=class extends(h(i.Z)){};c=(0,r._)([(0,y.j)("esri.core.Clonable")],c)},10699:(t,e,o)=>{o.d(e,{I:()=>l});var r=o(43697),i=o(52011);let s=0;const l=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+s++})}};return e=(0,r._)([(0,i.j)("esri.core.Identifiable")],e),e};let n=class extends(l(class{})){};n=(0,r._)([(0,i.j)("esri.core.Identifiable")],n)},16453:(t,e,o)=>{o.d(e,{R:()=>g,w:()=>f});var r=o(43697),i=o(15923),s=o(70586),l=o(41103),n=o(22974),a=o(31263);class p{constructor(){this._propertyOriginMap=new Map,this._originStores=new Array(a.kk),this._values=new Map,this.multipleOriginsSupported=!0}clone(t){const e=new p,o=this._originStores[a.s3.DEFAULTS];o&&o.forEach(((t,o)=>{e.set(o,(0,n.d9)(t),a.s3.DEFAULTS)}));for(let o=a.s3.SERVICE;o<a.kk;o++){const r=this._originStores[o];r&&r.forEach(((r,i)=>{t&&t.has(i)||e.set(i,(0,n.d9)(r),o)}))}return e}get(t,e){const o=void 0===e?this._values:this._originStores[e];return o?o.get(t):void 0}keys(t){const e=null==t?this._values:this._originStores[t];return e?[...e.keys()]:[]}set(t,e,o=a.s3.USER){let r=this._originStores[o];if(r||(r=new Map,this._originStores[o]=r),r.set(t,e),!this._values.has(t)||(0,s.j0)(this._propertyOriginMap.get(t))<=o){const r=this._values.get(t);return this._values.set(t,e),this._propertyOriginMap.set(t,o),r!==e}return!1}delete(t,e=a.s3.USER){const o=this._originStores[e];if(!o)return;const r=o.get(t);if(o.delete(t),this._values.has(t)&&this._propertyOriginMap.get(t)===e){this._values.delete(t);for(let o=e-1;o>=0;o--){const e=this._originStores[o];if(e&&e.has(t)){this._values.set(t,e.get(t)),this._propertyOriginMap.set(t,o);break}}}return r}has(t,e){const o=void 0===e?this._values:this._originStores[e];return!!o&&o.has(t)}revert(t,e){for(;e>0&&!this.has(t,e);)--e;const o=this._originStores[e],r=o&&o.get(t),i=this._values.get(t);return this._values.set(t,r),this._propertyOriginMap.set(t,e),i!==r}originOf(t){return this._propertyOriginMap.get(t)||a.s3.DEFAULTS}forEach(t){this._values.forEach(t)}}var y=o(50549),h=o(1153),c=o(52011);const d=t=>{let e=class extends t{constructor(...t){super(...t);const e=(0,s.j0)((0,h.vw)(this)),o=e.store,r=new p;e.store=r,(0,l.M)(e,o,r)}read(t,e){(0,y.i)(this,t,e)}getAtOrigin(t,e){const o=u(this),r=(0,a.M9)(e);if("string"==typeof t)return o.get(t,r);const i={};return t.forEach((t=>{i[t]=o.get(t,r)})),i}originOf(t){return(0,a.x3)(this.originIdOf(t))}originIdOf(t){return u(this).originOf(t)}revert(t,e){const o=u(this),r=(0,a.M9)(e),i=(0,h.vw)(this);let s;s="string"==typeof t?"*"===t?o.keys(r):[t]:t,s.forEach((t=>{i.invalidate(t),o.revert(t,r),i.commit(t)}))}};return e=(0,r._)([(0,c.j)("esri.core.ReadOnlyMultiOriginJSONSupport")],e),e};function u(t){return(0,h.vw)(t).store}let b=class extends(d(i.Z)){};b=(0,r._)([(0,c.j)("esri.core.ReadOnlyMultiOriginJSONSupport")],b);var m=o(76169);const w=t=>{let e=class extends t{constructor(...t){super(...t)}clear(t,e="user"){return v(this).delete(t,(0,a.M9)(e))}write(t={},e){return(0,m.c)(this,t=t||{},e),t}setAtOrigin(t,e,o){(0,h.vw)(this).setAtOrigin(t,e,(0,a.M9)(o))}removeOrigin(t){const e=v(this),o=(0,a.M9)(t),r=e.keys(o);for(const t of r)e.originOf(t)===o&&e.set(t,e.get(t,o),a.s3.USER)}updateOrigin(t,e){const o=v(this),r=(0,a.M9)(e),i=this.get(t);for(let e=r+1;e<a.kk;++e)o.delete(t,e);o.set(t,i,r)}toJSON(t){return this.write({},t)}};return e=(0,r._)([(0,c.j)("esri.core.WriteableMultiOriginJSONSupport")],e),e.prototype.toJSON.isDefaultToJSON=!0,e};function v(t){return(0,h.vw)(t).store}const g=t=>{let e=class extends(w(d(t))){constructor(...t){super(...t)}};return e=(0,r._)([(0,c.j)("esri.core.MultiOriginJSONSupport")],e),e};let f=class extends(g(i.Z)){};f=(0,r._)([(0,c.j)("esri.core.MultiOriginJSONSupport")],f)},70921:(t,e,o)=>{o.d(e,{R:()=>s,Z:()=>i});var r=o(80539);function i(t,e,o=r.Z){return e||(e=new o),e===t||(e.removeAll(),(i=t)&&(Array.isArray(i)||"items"in i&&Array.isArray(i.items))?e.addMany(t):t&&e.add(t)),e;var i}function s(t){return t}},87085:(t,e,o)=>{o.d(e,{Z:()=>f});var r=o(43697),i=(o(66577),o(3172)),s=o(20102),l=o(32448),n=o(10699),a=o(83379),p=o(92604),y=o(95330),h=o(17452),c=o(5600),d=(o(67676),o(80442),o(75215),o(52011)),u=o(68773);const b=p.Z.getLogger("esri.layers.support.fromPortalItem");var m=o(6570),w=o(82971);let v=0,g=class extends(l.Z.EventedMixin((0,n.I)(a.Z))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new m.Z(-180,-90,180,90,w.Z.WGS84),this.id=Date.now().toString(16)+"-layer-"+v++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=w.Z.WGS84,this.title=null,this.type=null,this.url=null,this.visible=!0}static async fromArcGISServerUrl(t){const e="string"==typeof t?{url:t}:t;return(await o.e(3529).then(o.bind(o,63529))).fromUrl(e)}static fromPortalItem(t){return async function(t){const e="portalItem"in t?t:{portalItem:t},r=await Promise.all([o.e(4547),o.e(8008)]).then(o.bind(o,28008));try{return await r.fromItem(e)}catch(t){const o=e&&e.portalItem,r=o&&o.id||"unset",i=o&&o.portal&&o.portal.url||u.Z.portalUrl;throw b.error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+i+"', id: '"+r+"')",t),t}}(t)}initialize(){this.when().catch((t=>{(0,y.D_)(t)||p.Z.getLogger(this.declaredClass).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:t})}))}destroy(){if(this.parent){const t=this,e=this.parent;"layers"in e&&e.layers.includes(t)?e.layers.remove(t):"tables"in e&&e.tables.includes(t)?e.tables.remove(t):"baseLayers"in e&&e.baseLayers.includes(t)?e.baseLayers.remove(t):"baseLayers"in e&&e.referenceLayers.includes(t)&&e.referenceLayers.remove(t)}}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){const t=this.url;return t?(0,h.mN)(t):null}async fetchAttributionData(){const t=this.attributionDataUrl;if(this.hasAttributionData&&t)return(await(0,i.default)(t,{query:{f:"json"},responseType:"json"})).data;throw new s.Z("layer:no-attribution-data","Layer does not have attribution data")}};(0,r._)([(0,c.Cb)({type:String})],g.prototype,"attributionDataUrl",void 0),(0,r._)([(0,c.Cb)({type:m.Z})],g.prototype,"fullExtent",void 0),(0,r._)([(0,c.Cb)({readOnly:!0})],g.prototype,"hasAttributionData",null),(0,r._)([(0,c.Cb)({type:String,clonable:!1})],g.prototype,"id",void 0),(0,r._)([(0,c.Cb)({type:Boolean,nonNullable:!0})],g.prototype,"legendEnabled",void 0),(0,r._)([(0,c.Cb)({type:["show","hide","hide-children"]})],g.prototype,"listMode",void 0),(0,r._)([(0,c.Cb)({type:Number,range:{min:0,max:1},nonNullable:!0})],g.prototype,"opacity",void 0),(0,r._)([(0,c.Cb)({clonable:!1})],g.prototype,"parent",void 0),(0,r._)([(0,c.Cb)({readOnly:!0})],g.prototype,"parsedUrl",null),(0,r._)([(0,c.Cb)({type:Boolean})],g.prototype,"popupEnabled",void 0),(0,r._)([(0,c.Cb)({type:Boolean})],g.prototype,"attributionVisible",void 0),(0,r._)([(0,c.Cb)({type:w.Z})],g.prototype,"spatialReference",void 0),(0,r._)([(0,c.Cb)({type:String})],g.prototype,"title",void 0),(0,r._)([(0,c.Cb)({readOnly:!0,json:{read:!1}})],g.prototype,"type",void 0),(0,r._)([(0,c.Cb)()],g.prototype,"url",void 0),(0,r._)([(0,c.Cb)({type:Boolean,nonNullable:!0})],g.prototype,"visible",void 0),g=(0,r._)([(0,d.j)("esri.layers.Layer")],g);const f=g},78223:(t,e,o)=>{o.d(e,{se:()=>q,cT:()=>$,dU:()=>P,S9:()=>T,LB:()=>J,AH:()=>U,yK:()=>E,S6:()=>F,QT:()=>W,f_:()=>I});var r,i=o(75215),s=o(63213),l=o(17386),n=(o(38445),o(21218)),a=o(95191),p=(o(31134),o(50575),o(20825)),y=o(98587),h=(o(38128),o(40908),o(43697)),c=o(80539),d=o(22974),u=o(5600),b=o(36030),m=o(52011),w=o(87223);const v=c.Z.ofType({base:null,key:"type",typeMap:{fill:a.Z}});let g=r=class extends w.Z{constructor(t){super(t),this.symbolLayers=new v,this.type="mesh-3d"}clone(){return new r({styleOrigin:(0,d.d9)(this.styleOrigin),symbolLayers:(0,d.d9)(this.symbolLayers),thumbnail:(0,d.d9)(this.thumbnail)})}};(0,h._)([(0,u.Cb)({type:v})],g.prototype,"symbolLayers",void 0),(0,h._)([(0,b.J)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],g.prototype,"type",void 0),g=r=(0,h._)([(0,m.j)("esri.symbols.MeshSymbol3D")],g);const f=g;o(17143),o(96742);var _,C=o(62357),S=o(94075);let j=_=class extends n.Z{constructor(...t){super(...t),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(t,e,o,r){if(t&&"string"!=typeof t&&null==t.imageData)return t;const i={};return t&&(i.url=t),e&&(i.outline=e),null!=o&&(i.width=(0,C.t_)(o)),null!=r&&(i.height=(0,C.t_)(r)),i}clone(){const t=new _({color:(0,d.d9)(this.color),height:this.height,outline:this.outline&&this.outline.clone(),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return t._set("source",(0,d.d9)(this.source)),t}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,h._)([(0,b.J)({esriPFS:"picture-fill"},{readOnly:!0})],j.prototype,"type",void 0),(0,h._)([(0,u.Cb)(S.KA)],j.prototype,"url",void 0),(0,h._)([(0,u.Cb)({type:Number,json:{write:!0}})],j.prototype,"xscale",void 0),(0,h._)([(0,u.Cb)({type:Number,json:{write:!0}})],j.prototype,"yscale",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],j.prototype,"width",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],j.prototype,"height",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],j.prototype,"xoffset",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],j.prototype,"yoffset",void 0),(0,h._)([(0,u.Cb)(S.Ds)],j.prototype,"source",void 0),j=_=(0,h._)([(0,m.j)("esri.symbols.PictureFillSymbol")],j);const Z=j;var x=o(37898),L=o(42143),z=o(86114),O=o(20256),k=o(4095),D=o(77987),N=o(89164),M=(o(95868),o(78724)),A=(o(2283),o(44398),o(59390));function $(t){if(!t)return!1;switch(t.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 P(t){if(!t)return!1;switch(t.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}o(69496),o(6352);const J={base:N.Z,key:"type",typeMap:{"simple-fill":O.Z,"picture-fill":Z,"picture-marker":x.Z,"simple-line":k.Z,"simple-marker":D.Z,text:M.Z,"label-3d":p.Z,"line-3d":y.Z,"mesh-3d":f,"point-3d":L.Z,"polygon-3d":z.Z,"web-style":A.Z,cim:l.Z},errorContext:"symbol"},U={base:N.Z,key:"type",typeMap:{"picture-marker":x.Z,"simple-marker":D.Z,text:M.Z,"web-style":A.Z,cim:l.Z},errorContext:"symbol"},T=(0,s.d)({types:J}),W={base:N.Z,key:"type",typeMap:{"simple-fill":O.Z,"picture-fill":Z,"picture-marker":x.Z,"simple-line":k.Z,"simple-marker":D.Z,text:M.Z,"line-3d":y.Z,"mesh-3d":f,"point-3d":L.Z,"polygon-3d":z.Z,"web-style":A.Z,cim:l.Z},errorContext:"symbol"},E={base:N.Z,key:"type",typeMap:{text:M.Z,"label-3d":p.Z},errorContext:"symbol"},I=(N.Z,p.Z,y.Z,L.Z,z.Z,A.Z,{base:N.Z,key:"type",typeMap:{"line-3d":y.Z,"mesh-3d":f,"point-3d":L.Z,"polygon-3d":z.Z,"web-style":A.Z,cim:l.Z},errorContext:"symbol"}),F={base:N.Z,key:"type",typeMap:{"label-3d":p.Z},errorContext:"symbol"},q=(0,i.N7)(J)},17386:(t,e,o)=>{o.d(e,{Z:()=>b});var r,i=o(43697),s=o(22974),l=o(19153),n=o(5600),a=(o(75215),o(36030)),p=o(71715),y=o(52011),h=o(30556),c=o(35671),d=o(89164);let u=r=class extends d.Z{constructor(t){super(t),this.data=null,this.type="cim"}readData(t,e){return e}writeData(t,e){if(t)for(const o in t)e[o]=t[o]}async collectRequiredFields(t,e){if("CIMSymbolReference"===this.data.type){const o=this.data.primitiveOverrides;if(o){const r=o.map((o=>{const r=o.valueExpressionInfo;return(0,c.io)(t,e,r.expression)}));await Promise.all(r)}}}clone(){return new r({data:(0,s.d9)(this.data)})}hash(){return(0,l.hP)(JSON.stringify(this.data)).toString()}};(0,i._)([(0,n.Cb)({json:{write:!1}})],u.prototype,"color",void 0),(0,i._)([(0,n.Cb)({json:{write:!0}})],u.prototype,"data",void 0),(0,i._)([(0,p.r)("data",["symbol"])],u.prototype,"readData",null),(0,i._)([(0,h.c)("data",{})],u.prototype,"writeData",null),(0,i._)([(0,a.J)({CIMSymbolReference:"cim"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,i._)([(0,y.j)("esri.symbols.CIMSymbol")],u);const b=u},38445:(t,e,o)=>{o.d(e,{Z:()=>d});var r,i=o(43697),s=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(56332),h=o(52879);let c=r=class extends p.Z{constructor(t){super(t),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges&&this.edges.clone(),enabled:this.enabled,material:(0,s.pC)(this.material)?this.material.clone():null,castShadows:this.castShadows,size:this.size})}};(0,i._)([(0,n.J)({Extrude:"extrude"},{readOnly:!0})],c.prototype,"type",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],c.prototype,"size",void 0),(0,i._)([(0,l.Cb)({type:h.b,json:{write:!0}})],c.prototype,"material",void 0),(0,i._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,i._)([(0,l.Cb)(y.Z)],c.prototype,"edges",void 0),c=r=(0,i._)([(0,a.j)("esri.symbols.ExtrudeSymbol3DLayer")],c);const d=c},21218:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),i=o(5600),s=(o(67676),o(80442),o(75215),o(52011)),l=o(4095),n=o(89164);let a=class extends n.Z{constructor(t){super(t),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline&&this.outline.hash()}`}};(0,r._)([(0,i.Cb)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":l.Z}},json:{default:null,write:!0}})],a.prototype,"outline",void 0),(0,r._)([(0,i.Cb)({type:["simple-fill","picture-fill"],readOnly:!0})],a.prototype,"type",void 0),a=(0,r._)([(0,s.j)("esri.symbols.FillSymbol")],a);const p=a},95191:(t,e,o)=>{o.d(e,{Z:()=>x});var r,i=o(43697),s=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(56332),h=o(4618),c=o(74721),d=o(17495),u=o(50178),b=(o(92604),o(37697),o(52879));let m=r=class extends b.b{constructor(t){super(t),this.colorMixMode=null}clone(){const t={color:(0,s.pC)(this.color)?this.color.clone():null,colorMixMode:this.colorMixMode};return new r(t)}};(0,i._)([(0,n.J)({multiply:"multiply",replace:"replace",tint:"tint"})],m.prototype,"colorMixMode",void 0),m=r=(0,i._)([(0,a.j)("esri.symbols.support.Symbol3DFillMaterial")],m);var w,v=o(22303),g=o(96674),f=o(62357),_=o(37308),C=o(45119);let S=w=class extends g.wq{constructor(t){super(t),this.color=new v.Z([0,0,0,1]),this.size=(0,f.Wz)(1),this.pattern=null,this.patternCap="butt"}clone(){const t={color:(0,s.pC)(this.color)?this.color.clone():null,size:this.size,pattern:(0,s.pC)(this.pattern)?this.pattern.clone():null,patternCap:this.patternCap};return new w(t)}};var j;(0,i._)([(0,l.Cb)(_.a)],S.prototype,"color",void 0),(0,i._)([(0,l.Cb)(_.y)],S.prototype,"size",void 0),(0,i._)([(0,l.Cb)(d.D)],S.prototype,"pattern",void 0),(0,i._)([(0,l.Cb)({type:C.Hc,json:{default:"butt",write:{overridePolicy(){return{enabled:(0,s.pC)(this.pattern)}}}}})],S.prototype,"patternCap",void 0),S=w=(0,i._)([(0,a.j)("esri.symbols.support.Symbol3DOutline")],S);let Z=j=class extends p.Z{constructor(t){super(t),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const t={edges:(0,s.pC)(this.edges)?this.edges.clone():null,enabled:this.enabled,material:(0,s.pC)(this.material)?this.material.clone():null,pattern:(0,s.pC)(this.pattern)?this.pattern.clone():null,castShadows:this.castShadows,outline:(0,s.pC)(this.outline)?this.outline.clone():null};return new j(t)}static fromSimpleFillSymbol(t){const e=t.outline&&t.outline.style&&"inside-frame"!==t.outline.style&&"solid"!==t.outline.style?new h.Z({style:t.outline.style}):null,o={size:t.outline?.width??0,color:(t.outline?.color??u.ix).clone(),pattern:e};return e&&t.outline?.cap&&(o.patternCap=t.outline.cap),new j({material:new m({color:(t.color??u.l9).clone()}),pattern:t.style&&"solid"!==t.style?new c.Z({style:t.style}):null,outline:o})}};(0,i._)([(0,n.J)({Fill:"fill"},{readOnly:!0})],Z.prototype,"type",void 0),(0,i._)([(0,l.Cb)({type:m,json:{write:!0}})],Z.prototype,"material",void 0),(0,i._)([(0,l.Cb)(d.q)],Z.prototype,"pattern",void 0),(0,i._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],Z.prototype,"castShadows",void 0),(0,i._)([(0,l.Cb)({type:S,json:{write:!0}})],Z.prototype,"outline",void 0),(0,i._)([(0,l.Cb)(y.Z)],Z.prototype,"edges",void 0),Z=j=(0,i._)([(0,a.j)("esri.symbols.FillSymbol3DLayer")],Z);const x=Z},31134:(t,e,o)=>{o.d(e,{Z:()=>c});var r,i=o(43697),s=o(96674),l=o(62357),n=o(5600),a=(o(67676),o(80442),o(90578)),p=o(52011),y=o(61565);let h=r=class extends s.wq{constructor(t){super(t),this.decoration="none",this.family="sans-serif",this.size=9,this.style="normal",this.weight="normal"}castSize(t){return(0,l.t_)(t)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,i._)([(0,n.Cb)({type:y.JT,json:{default:"none",write:!0}})],h.prototype,"decoration",void 0),(0,i._)([(0,n.Cb)({type:String,json:{write:!0}})],h.prototype,"family",void 0),(0,i._)([(0,n.Cb)({type:Number,json:{write:{overridePolicy:(t,e,o)=>({enabled:!o||!o.textSymbol3D})}}})],h.prototype,"size",void 0),(0,i._)([(0,a.p)("size")],h.prototype,"castSize",null),(0,i._)([(0,n.Cb)({type:y.g6,json:{default:"normal",write:!0}})],h.prototype,"style",void 0),(0,i._)([(0,n.Cb)({type:y.vC,json:{default:"normal",write:!0}})],h.prototype,"weight",void 0),h=r=(0,i._)([(0,p.j)("esri.symbols.Font")],h);const c=h},50575:(t,e,o)=>{o.d(e,{Z:()=>P});var r,i=o(43697),s=o(92604),l=o(70586),n=o(17452),a=o(5600),p=(o(67676),o(80442),o(75215),o(36030)),y=o(52011),h=o(95868),c=o(50178),d=o(35454),u=o(96674),b=o(71715),m=o(30556),w=o(25929);const v=(0,d.w)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let g=r=class extends u.wq{constructor(t){super(t)}readHref(t,e,o){return t?(0,w.f)(t,o):e.dataURI}writeHref(t,e,o,r){t&&((0,n.HK)(t)?e.dataURI=t:(e.href=(0,w.t)(t,r),(0,n.YP)(e.href)&&(e.href=(0,n.Fv)(e.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,i._)([(0,a.Cb)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],g.prototype,"href",void 0),(0,i._)([(0,b.r)("href")],g.prototype,"readHref",null),(0,i._)([(0,m.c)("href",{href:{type:String},dataURI:{type:String}})],g.prototype,"writeHref",null),(0,i._)([(0,p.J)(v)],g.prototype,"primitive",void 0),g=r=(0,i._)([(0,y.j)("esri.symbols.support.IconSymbol3DLayerResource")],g);var f,_=o(37308),C=o(15923);let S=f=class extends C.Z{constructor(){super(...arguments),this.x=0,this.y=0}clone(){return new f({x:this.x,y:this.y})}};(0,i._)([(0,a.Cb)({type:Number})],S.prototype,"x",void 0),(0,i._)([(0,a.Cb)({type:Number})],S.prototype,"y",void 0),S=f=(0,i._)([(0,y.j)("esri.symbols.support.Symbol3DAnchorPosition2D")],S);var j,Z=o(22303),x=o(62357);let L=j=class extends u.wq{constructor(t){super(t),this.color=new Z.Z([0,0,0,1]),this.size=(0,x.Wz)(1)}clone(){const t={color:(0,l.pC)(this.color)?this.color.clone():null,size:this.size};return new j(t)}};(0,i._)([(0,a.Cb)(_.a)],L.prototype,"color",void 0),(0,i._)([(0,a.Cb)(_.y)],L.prototype,"size",void 0),L=j=(0,i._)([(0,y.j)("esri.symbols.support.Symbol3DIconOutline")],L);var z,O=o(52879);const k=s.Z.getLogger("esri.symbols.IconSymbol3DLayer");let D=z=class extends h.Z{constructor(t){super(t),this.material=null,this.resource=null,this.type="icon",this.size=12,this.anchor="center",this.anchorPosition=void 0,this.outline=void 0}clone(){return new z({anchor:this.anchor,anchorPosition:this.anchorPosition&&this.anchorPosition.clone(),enabled:this.enabled,material:(0,l.pC)(this.material)?this.material.clone():null,outline:(0,l.pC)(this.outline)?this.outline.clone():null,resource:this.resource&&this.resource.clone(),size:this.size})}static fromSimpleMarkerSymbol(t){const e=t.color||c.ix,o=N(t),r=t.outline&&t.outline.width>0?{size:t.outline.width,color:(t.outline.color||c.ix).clone()}:null;return new z({size:t.size,resource:{primitive:$(t.style)},material:{color:e},outline:r,anchor:o?"relative":void 0,anchorPosition:o})}static fromPictureMarkerSymbol(t){const e=!t.color||(0,c.rx)(t.color)?c.ix:t.color,o=N(t);return new z({size:t.width<=t.height?t.height:t.width,resource:{href:t.url},material:{color:e.clone()},anchor:o?"relative":void 0,anchorPosition:o})}static fromCIMSymbol(t){return new z({resource:{href:(0,n._l)({mediaType:"application/json",data:JSON.stringify(t.data)})}})}};function N(t){const e="width"in t?t.width:t.size,o="height"in t?t.height:t.size,r=M(t.xoffset),i=M(t.yoffset);return(r||i)&&e&&o?{x:-r/e,y:i/o}:null}function M(t){return isFinite(t)?t:0}(0,i._)([(0,a.Cb)({type:O.b,json:{write:!0}})],D.prototype,"material",void 0),(0,i._)([(0,a.Cb)({type:g,json:{write:!0}})],D.prototype,"resource",void 0),(0,i._)([(0,p.J)({Icon:"icon"},{readOnly:!0})],D.prototype,"type",void 0),(0,i._)([(0,a.Cb)(_.y)],D.prototype,"size",void 0),(0,i._)([(0,p.J)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"}),(0,a.Cb)({json:{default:"center"}})],D.prototype,"anchor",void 0),(0,i._)([(0,a.Cb)({type:S,json:{type:[Number],read:{reader:t=>new S({x:t[0],y:t[1]})},write:{writer:(t,e)=>{e.anchorPosition=[t.x,t.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],D.prototype,"anchorPosition",void 0),(0,i._)([(0,a.Cb)({type:L,json:{write:!0}})],D.prototype,"outline",void 0),D=z=(0,i._)([(0,y.j)("esri.symbols.IconSymbol3DLayer")],D);const A={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function $(t){return A[t]||(k.warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}const P=D},20825:(t,e,o)=>{o.d(e,{Z:()=>m});var r,i=o(43697),s=o(80539),l=o(22974),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(87223),h=o(2283),c=o(84275),d=o(7413);const u=s.Z.ofType({base:null,key:"type",typeMap:{text:h.Z}});let b=r=class extends y.Z{constructor(t){super(t),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.symbolLayers=new u,this.type="label-3d"}supportsCallout(){return!0}hasVisibleCallout(){return(0,c.gv)(this)}hasVisibleVerticalOffset(){return(0,c.Uy)(this)}clone(){return new r({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail),callout:(0,l.d9)(this.callout),verticalOffset:(0,l.d9)(this.verticalOffset)})}static fromTextSymbol(t){return new r({symbolLayers:[h.Z.fromTextSymbol(t)]})}};(0,i._)([(0,n.Cb)({type:d._,json:{write:!0}})],b.prototype,"verticalOffset",void 0),(0,i._)([(0,n.Cb)(c.Y2)],b.prototype,"callout",void 0),(0,i._)([(0,n.Cb)({json:{read:!1,write:!1}})],b.prototype,"styleOrigin",void 0),(0,i._)([(0,n.Cb)({type:u})],b.prototype,"symbolLayers",void 0),(0,i._)([(0,a.J)({LabelSymbol3D:"label-3d"},{readOnly:!0})],b.prototype,"type",void 0),b=r=(0,i._)([(0,p.j)("esri.symbols.LabelSymbol3D")],b);const m=b},98587:(t,e,o)=>{o.d(e,{Z:()=>m});var r,i=o(43697),s=o(80539),l=o(22974),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(38128),h=o(96742),c=o(87223);const d=s.Z.ofType({base:null,key:"type",typeMap:{line:y.Z,path:h.Z}}),u=s.Z.ofType({base:null,key:"type",typeMap:{line:y.Z,path:h.Z}});let b=r=class extends c.Z{constructor(t){super(t),this.symbolLayers=new d,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleLineSymbol(t){return new r({symbolLayers:[y.Z.fromSimpleLineSymbol(t)]})}};(0,i._)([(0,n.Cb)({type:d,json:{type:u}})],b.prototype,"symbolLayers",void 0),(0,i._)([(0,a.J)({LineSymbol3D:"line-3d"},{readOnly:!0})],b.prototype,"type",void 0),b=r=(0,i._)([(0,p.j)("esri.symbols.LineSymbol3D")],b);const m=b},38128:(t,e,o)=>{o.d(e,{Z:()=>Z});var r=o(43697),i=o(70586),s=o(62357),l=o(5600),n=(o(67676),o(80442),o(75215)),a=o(36030),p=o(52011),y=o(22303),h=o(2368),c=o(96674),d=o(57742);let u=class extends((0,h.J)(c.wq)){constructor(t){super(t),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(t){return(0,i.pC)(t)&&t.placement===this.placement&&t.style===this.style&&((0,i.Wi)(this.color)&&(0,i.Wi)(t.color)||(0,i.pC)(this.color)&&(0,i.pC)(t.color)&&this.color.toJSON()===t.color.toJSON())}};(0,r._)([(0,l.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],u.prototype,"type",void 0),(0,r._)([(0,l.Cb)({type:d.J,json:{default:"begin-end",write:!0}})],u.prototype,"placement",void 0),(0,r._)([(0,l.Cb)({type:d.k,json:{default:"arrow",write:!0}})],u.prototype,"style",void 0),(0,r._)([(0,l.Cb)({type:y.Z,json:{type:[n.z8],default:null,write:!0}})],u.prototype,"color",void 0),u=(0,r._)([(0,p.j)("esri.symbols.LineStyleMarker3D")],u);const b=u;var m,w=o(95868),v=o(4618),g=o(17495),f=o(50178),_=o(37308),C=o(52879),S=o(45119);let j=m=class extends w.Z{constructor(t){super(t),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.size=(0,s.Wz)(1),this.pattern=null,this.marker=null}clone(){const t={enabled:this.enabled,material:(0,i.pC)(this.material)?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:(0,i.pC)(this.pattern)?this.pattern.clone():null,marker:(0,i.pC)(this.marker)?this.marker.clone():null};return new m(t)}static fromSimpleLineSymbol(t){const e={enabled:!0,size:t.width??(0,s.Wz)(1),cap:t.cap||"butt",join:t.join||"miter",pattern:t.style&&"inside-frame"!==t.style?new v.Z({style:t.style}):null,material:new C.b({color:(t.color||f.ix).clone()}),marker:t.marker?new b({placement:t.marker.placement,style:t.marker.style,color:t.marker.color?.clone()??null}):null};return new m(e)}};(0,r._)([(0,l.Cb)({type:C.b,json:{write:!0}})],j.prototype,"material",void 0),(0,r._)([(0,a.J)({Line:"line"},{readOnly:!0})],j.prototype,"type",void 0),(0,r._)([(0,l.Cb)({type:S.w2,json:{write:!0,default:"miter"}})],j.prototype,"join",void 0),(0,r._)([(0,l.Cb)({type:S.Hc,json:{write:!0,default:"butt"}})],j.prototype,"cap",void 0),(0,r._)([(0,l.Cb)(_.y)],j.prototype,"size",void 0),(0,r._)([(0,l.Cb)(g.D)],j.prototype,"pattern",void 0),(0,r._)([(0,l.Cb)({types:{key:"type",base:b,typeMap:{style:b}},json:{write:!0}})],j.prototype,"marker",void 0),j=m=(0,r._)([(0,p.j)("esri.symbols.LineSymbol3DLayer")],j);const Z=j},40908:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),i=o(62357),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011)),n=o(89164);let a=class extends n.Z{constructor(t){super(t),this.angle=0,this.type=null,this.xoffset=0,this.yoffset=0,this.size=9}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,r._)([(0,s.Cb)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],a.prototype,"angle",void 0),(0,r._)([(0,s.Cb)({type:["simple-marker","picture-marker"],readOnly:!0})],a.prototype,"type",void 0),(0,r._)([(0,s.Cb)({type:Number,cast:i.t_,json:{write:!0}})],a.prototype,"xoffset",void 0),(0,r._)([(0,s.Cb)({type:Number,cast:i.t_,json:{write:!0}})],a.prototype,"yoffset",void 0),(0,r._)([(0,s.Cb)({type:Number,cast:t=>"auto"===t?t:(0,i.t_)(t),json:{write:!0}})],a.prototype,"size",void 0),a=(0,r._)([(0,l.j)("esri.symbols.MarkerSymbol")],a);const p=a},17143:(t,e,o)=>{o.d(e,{Z:()=>_});var r,i=o(43697),s=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(35454),h=o(96674),c=o(25929);const d=(0,y.w)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let u=r=class extends h.wq{clone(){return new r({href:this.href,primitive:this.primitive})}};(0,i._)([(0,l.Cb)({type:String,json:{read:c.r,write:c.w}})],u.prototype,"href",void 0),(0,i._)([(0,n.J)(d)],u.prototype,"primitive",void 0),u=r=(0,i._)([(0,a.j)("esri.symbols.support.ObjectSymbol3DLayerResource")],u);var b,m=o(15923);let w=b=class extends m.Z{constructor(){super(...arguments),this.x=0,this.y=0,this.z=0}clone(){return new b({x:this.x,y:this.y,z:this.z})}};(0,i._)([(0,l.Cb)({type:Number})],w.prototype,"x",void 0),(0,i._)([(0,l.Cb)({type:Number})],w.prototype,"y",void 0),(0,i._)([(0,l.Cb)({type:Number})],w.prototype,"z",void 0),w=b=(0,i._)([(0,a.j)("esri.symbols.support.Symbol3DAnchorPosition3D")],w);var v,g=o(52879);let f=v=class extends p.Z{constructor(t){super(t),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 v({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition&&this.anchorPosition.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:(0,s.pC)(this.material)?this.material.clone():null,castShadows:this.castShadows,resource:this.resource&&this.resource.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,i._)([(0,l.Cb)({type:g.b,json:{write:!0}})],f.prototype,"material",void 0),(0,i._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],f.prototype,"castShadows",void 0),(0,i._)([(0,l.Cb)({type:u,json:{write:!0}})],f.prototype,"resource",void 0),(0,i._)([(0,n.J)({Object:"object"},{readOnly:!0})],f.prototype,"type",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],f.prototype,"width",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],f.prototype,"height",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],f.prototype,"depth",void 0),(0,i._)([(0,n.J)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"}),(0,l.Cb)({json:{default:"origin"}})],f.prototype,"anchor",void 0),(0,i._)([(0,l.Cb)({type:w,json:{type:[Number],read:{reader:t=>new w({x:t[0],y:t[1],z:t[2]})},write:{writer:(t,e)=>{e.anchorPosition=[t.x,t.y,t.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],f.prototype,"anchorPosition",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],f.prototype,"heading",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],f.prototype,"tilt",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],f.prototype,"roll",void 0),(0,i._)([(0,l.Cb)({readOnly:!0})],f.prototype,"isPrimitive",null),f=v=(0,i._)([(0,a.j)("esri.symbols.ObjectSymbol3DLayer")],f);const _=f},96742:(t,e,o)=>{o.d(e,{Z:()=>u});var r,i=o(43697),s=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(71715),p=o(52011),y=o(95868),h=o(52879),c=o(45119);let d=r=class extends y.Z{constructor(t){super(t),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(t,e){return null!=t?t:null==e.height&&null!=e.size?e.size:void 0}readHeight(t,e){return null!=t?t:null==e.width&&null!=e.size?e.size:void 0}clone(){return new r({enabled:this.enabled,material:(0,s.pC)(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,i._)([(0,l.Cb)({type:h.b,json:{write:!0}})],d.prototype,"material",void 0),(0,i._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],d.prototype,"castShadows",void 0),(0,i._)([(0,n.J)({Path:"path"},{readOnly:!0})],d.prototype,"type",void 0),(0,i._)([(0,l.Cb)({type:["circle","quad"],json:{write:!0,default:"circle"}})],d.prototype,"profile",void 0),(0,i._)([(0,l.Cb)({type:c.w2,json:{write:!0,default:"miter"}})],d.prototype,"join",void 0),(0,i._)([(0,l.Cb)({type:c.KW,json:{write:!0,default:"butt"}})],d.prototype,"cap",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],d.prototype,"width",void 0),(0,i._)([(0,a.r)("width",["width","size","height"])],d.prototype,"readWidth",null),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],d.prototype,"height",void 0),(0,i._)([(0,a.r)("height",["height","size","width"])],d.prototype,"readHeight",null),(0,i._)([(0,l.Cb)({type:["center","bottom","top"],json:{write:!0,default:"center"}})],d.prototype,"anchor",void 0),(0,i._)([(0,l.Cb)({type:["heading","all"],json:{write:!0,default:"all"}})],d.prototype,"profileRotation",void 0),d=r=(0,i._)([(0,p.j)("esri.symbols.PathSymbol3DLayer")],d);const u=d},37898:(t,e,o)=>{o.d(e,{Z:()=>u});var r,i=o(43697),s=o(22974),l=o(62357),n=o(5600),a=(o(75215),o(36030)),p=o(71715),y=o(52011),h=o(40908),c=o(94075);let d=r=class extends h.Z{constructor(...t){super(...t),this.color=null,this.type="picture-marker",this.url=null,this.source=null,this.height=12,this.width=12,this.size=null}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t&&null==t.imageData)return t;const r={};return t&&(r.url=t),null!=e&&(r.width=(0,l.t_)(e)),null!=o&&(r.height=(0,l.t_)(o)),r}readHeight(t,e){return e.size||t}readWidth(t,e){return e.size||t}clone(){const t=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return t._set("source",(0,s.d9)(this.source)),t}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,i._)([(0,n.Cb)({json:{write:!1}})],d.prototype,"color",void 0),(0,i._)([(0,a.J)({esriPMS:"picture-marker"},{readOnly:!0})],d.prototype,"type",void 0),(0,i._)([(0,n.Cb)(c.KA)],d.prototype,"url",void 0),(0,i._)([(0,n.Cb)(c.Ds)],d.prototype,"source",void 0),(0,i._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],d.prototype,"height",void 0),(0,i._)([(0,p.r)("height",["height","size"])],d.prototype,"readHeight",null),(0,i._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],d.prototype,"width",void 0),(0,i._)([(0,n.Cb)({json:{write:!1}})],d.prototype,"size",void 0),d=r=(0,i._)([(0,y.j)("esri.symbols.PictureMarkerSymbol")],d);const u=d},42143:(t,e,o)=>{o.d(e,{Z:()=>v});var r,i=o(43697),s=o(80539),l=o(22974),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(50575),h=o(17143),c=o(87223),d=o(2283),u=o(84275),b=o(7413);const m=s.Z.ofType({base:null,key:"type",typeMap:{icon:y.Z,object:h.Z,text:d.Z}});let w=r=class extends c.Z{constructor(t){super(t),this.verticalOffset=null,this.callout=null,this.symbolLayers=new m,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const t of this.symbolLayers.items)switch(t.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,u.gv)(this)}hasVisibleVerticalOffset(){return(0,u.Uy)(this)}clone(){return new r({verticalOffset:(0,l.d9)(this.verticalOffset),callout:(0,l.d9)(this.callout),styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleMarkerSymbol(t){return new r({symbolLayers:[y.Z.fromSimpleMarkerSymbol(t)]})}static fromPictureMarkerSymbol(t){return new r({symbolLayers:[y.Z.fromPictureMarkerSymbol(t)]})}static fromCIMSymbol(t){const e=t.data?.symbol?.type;return"CIMPointSymbol"!==e?null:t.data.symbol.callout?new r({symbolLayers:[y.Z.fromCIMSymbol(t)],callout:{type:"line",size:.5,color:[0,0,0]},verticalOffset:{screenLength:40}}):new r({symbolLayers:[y.Z.fromCIMSymbol(t)]})}static fromTextSymbol(t){return new r({symbolLayers:[d.Z.fromTextSymbol(t)]})}};(0,i._)([(0,n.Cb)({type:b._,json:{write:!0}})],w.prototype,"verticalOffset",void 0),(0,i._)([(0,n.Cb)(u.Y2)],w.prototype,"callout",void 0),(0,i._)([(0,n.Cb)({type:m,json:{origins:{"web-scene":{write:!0}}}})],w.prototype,"symbolLayers",void 0),(0,i._)([(0,a.J)({PointSymbol3D:"point-3d"},{readOnly:!0})],w.prototype,"type",void 0),w=r=(0,i._)([(0,p.j)("esri.symbols.PointSymbol3D")],w);const v=w},86114:(t,e,o)=>{o.d(e,{Z:()=>_});var r,i=o(43697),s=o(80539),l=o(22974),n=o(70586),a=o(5600),p=(o(75215),o(36030)),y=o(52011),h=o(38445),c=o(95191),d=o(50575),u=o(38128),b=o(17143),m=o(87223),w=o(2283),v=o(44398);const g=s.Z.ofType({base:null,key:"type",typeMap:{extrude:h.Z,fill:c.Z,icon:d.Z,line:u.Z,object:b.Z,text:w.Z,water:v.Z}});let f=r=class extends m.Z{constructor(t){super(t),this.symbolLayers=new g,this.type="polygon-3d"}clone(){return new r({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromJSON(t){const e=new r;if(e.read(t),2===e.symbolLayers.length&&"fill"===e.symbolLayers.getItemAt(0).type&&"line"===e.symbolLayers.getItemAt(1).type){const o=e.symbolLayers.getItemAt(0),r=e.symbolLayers.getItemAt(1);!r.enabled||t.symbolLayers&&t.symbolLayers[1]&&!1===t.symbolLayers[1].enable||(o.outline={size:r.size,color:(0,n.pC)(r.material)?r.material.color:null}),e.symbolLayers.removeAt(1)}return e}static fromSimpleFillSymbol(t){return new r({symbolLayers:[c.Z.fromSimpleFillSymbol(t)]})}};(0,i._)([(0,a.Cb)({type:g,json:{write:!0}})],f.prototype,"symbolLayers",void 0),(0,i._)([(0,p.J)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],f.prototype,"type",void 0),f=r=(0,i._)([(0,y.j)("esri.symbols.PolygonSymbol3D")],f);const _=f},20256:(t,e,o)=>{o.d(e,{Z:()=>b});var r,i=o(43697),s=o(22303),l=o(35454),n=o(22974),a=o(5600),p=(o(75215),o(36030)),y=o(52011),h=o(21218),c=o(4095);const d=new l.X({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let u=r=class extends h.Z{constructor(...t){super(...t),this.color=new s.Z([0,0,0,.25]),this.outline=new c.Z,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.style=t),e&&(r.outline=e),o&&(r.color=o),r}clone(){return new r({color:(0,n.d9)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,i._)([(0,a.Cb)()],u.prototype,"color",void 0),(0,i._)([(0,a.Cb)()],u.prototype,"outline",void 0),(0,i._)([(0,p.J)({esriSFS:"simple-fill"},{readOnly:!0})],u.prototype,"type",void 0),(0,i._)([(0,a.Cb)({type:d.apiValues,json:{read:d.read,write:d.write}})],u.prototype,"style",void 0),u=r=(0,i._)([(0,y.j)("esri.symbols.SimpleFillSymbol")],u);const b=u},4095:(t,e,o)=>{o.d(e,{Z:()=>j});var r=o(43697),i=o(35454),s=o(22974),l=o(62357),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=(o(67676),o(80442),o(89164));let h=class extends y.Z{constructor(t){super(t),this.type="simple-line",this.width=.75}hash(){return`${this.type}.${this.width}`}};(0,r._)([(0,a.J)({esriSLS:"simple-line"},{readOnly:!0})],h.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],h.prototype,"width",void 0),h=(0,r._)([(0,p.j)("esri.symbols.LineSymbol")],h);const c=h;var d,u=o(22303),b=o(96674),m=o(71715),w=o(30556),v=o(57742);let g=d=class extends b.wq{constructor(t){super(t),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(t,e,o,r){e[o]="web-map"===r?.origin?"arrow":t}set color(t){this._set("color",t)}readColor(t){return t&&null!=t[0]?[t[0],t[1],t[2],t[3]/255]:t}writeColor(t,e,o,r){"web-map"===r?.origin||(e[o]=t)}clone(){return new d({color:(0,s.d9)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,r._)([(0,n.Cb)({type:["begin","end","begin-end"],json:{write:!0}})],g.prototype,"placement",void 0),(0,r._)([(0,a.J)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.Cb)({json:{origins:{"web-map":{write:!1}}}})],g.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:v.k})],g.prototype,"style",void 0),(0,r._)([(0,w.c)("style")],g.prototype,"writeStyle",null),(0,r._)([(0,n.Cb)({type:u.Z,value:null,json:{write:{allowNull:!0}}})],g.prototype,"color",null),(0,r._)([(0,m.r)("color")],g.prototype,"readColor",null),(0,r._)([(0,w.c)("color")],g.prototype,"writeColor",null),g=d=(0,r._)([(0,p.j)("esri.symbols.LineSymbolMarker")],g);const f=g;var _;const C=new i.X({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSInsideFrame:"inside-frame",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let S=_=class extends c{constructor(...t){super(...t),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(t,e,o,r,i,s){if(t&&"string"!=typeof t)return t;const n={};return null!=t&&(n.style=t),null!=e&&(n.color=e),null!=o&&(n.width=(0,l.t_)(o)),null!=r&&(n.cap=r),null!=i&&(n.join=i),null!=s&&(n.miterLimit=(0,l.t_)(s)),n}clone(){return new _({color:(0,s.d9)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,r._)([(0,a.J)({esriSLS:"simple-line"},{readOnly:!0})],S.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:C.apiValues,json:{read:C.read,write:C.write}})],S.prototype,"style",void 0),(0,r._)([(0,n.Cb)({type:["butt","round","square"],json:{write:{overridePolicy:(t,e,o)=>({enabled:"round"!==t&&(null==o||null==o.origin)})}}})],S.prototype,"cap",void 0),(0,r._)([(0,n.Cb)({type:["miter","round","bevel"],json:{write:{overridePolicy:(t,e,o)=>({enabled:"round"!==t&&(null==o||null==o.origin)})}}})],S.prototype,"join",void 0),(0,r._)([(0,n.Cb)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":f}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],S.prototype,"marker",void 0),(0,r._)([(0,n.Cb)({type:Number,json:{read:!1,write:!1}})],S.prototype,"miterLimit",void 0),S=_=(0,r._)([(0,p.j)("esri.symbols.SimpleLineSymbol")],S);const j=S},77987:(t,e,o)=>{o.d(e,{Z:()=>w});var r,i=o(43697),s=o(22303),l=o(35454),n=o(22974),a=o(62357),p=o(5600),y=(o(75215),o(36030)),h=o(52011),c=o(30556),d=o(40908),u=o(4095);const b=new l.X({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let m=r=class extends d.Z{constructor(...t){super(...t),this.color=new s.Z([255,255,255,.25]),this.type="simple-marker",this.size=12,this.style="circle",this.outline=new u.Z}normalizeCtorArgs(t,e,o,r){if(t&&"string"!=typeof t)return t;const i={};return t&&(i.style=t),null!=e&&(i.size=(0,a.t_)(e)),o&&(i.outline=o),r&&(i.color=r),i}writeColor(t,e){t&&"x"!==this.style&&"cross"!==this.style&&(e.color=t.toJSON()),null===t&&(e.color=null)}set path(t){this.style="path",this._set("path",t)}clone(){return new r({angle:this.angle,color:(0,n.d9)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,i._)([(0,p.Cb)()],m.prototype,"color",void 0),(0,i._)([(0,c.c)("color")],m.prototype,"writeColor",null),(0,i._)([(0,y.J)({esriSMS:"simple-marker"},{readOnly:!0})],m.prototype,"type",void 0),(0,i._)([(0,p.Cb)()],m.prototype,"size",void 0),(0,i._)([(0,p.Cb)({type:b.apiValues,json:{read:b.read,write:b.write}})],m.prototype,"style",void 0),(0,i._)([(0,p.Cb)({type:String,json:{write:!0}})],m.prototype,"path",null),(0,i._)([(0,p.Cb)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":u.Z}},json:{default:null,write:!0}})],m.prototype,"outline",void 0),m=r=(0,i._)([(0,h.j)("esri.symbols.SimpleMarkerSymbol")],m);const w=m},87223:(t,e,o)=>{o.d(e,{Z:()=>N});var r=o(43697),i=o(80539),s=o(70921),l=o(92604),n=o(17452),a=o(20941),p=o(5600),y=(o(67676),o(80442),o(90578)),h=o(71715),c=o(52011),d=o(30556),u=o(65587),b=o(25929),m=o(38445),w=o(95191),v=o(50575),g=o(38128),f=o(17143),_=o(96742),C=o(89164),S=o(95868),j=o(2283),Z=o(44398),x=o(71144),L=o(23203);const z={icon:v.Z,object:f.Z,line:g.Z,path:_.Z,fill:w.Z,extrude:m.Z,text:j.Z,water:Z.Z},O=i.Z.ofType({base:S.Z,key:"type",typeMap:z,errorContext:"symbol-layer"}),k=l.Z.getLogger("esri.symbols.Symbol3D");let D=class extends C.Z{constructor(t){super(t),this.styleOrigin=null,this.thumbnail=null,this.type=null;const e=this.__accessor__&&this.__accessor__.metadatas&&this.__accessor__.metadatas.symbolLayers,o=e&&e.type||i.Z;this._set("symbolLayers",new o)}get color(){return null}set color(t){this.initialized&&k.error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(t){(0,s.Z)(t,this._get("symbolLayers"))}readStyleOrigin(t,e,o){if(t.styleUrl&&t.name){const e=(0,b.f)(t.styleUrl,o);return new x.Z({styleUrl:e,name:t.name})}if(t.styleName&&t.name)return new x.Z({portal:o&&o.portal||u.Z.getDefault(),styleName:t.styleName,name:t.name});o&&o.messages&&o.messages.push(new a.Z("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:t}))}writeStyleOrigin(t,e,o,r){if(t.styleUrl&&t.name){let o=(0,b.t)(t.styleUrl,r);(0,n.YP)(o)&&(o=(0,n.Fv)(o)),e.styleOrigin={styleUrl:o,name:t.name}}else t.styleName&&t.name&&(t.portal&&r&&r.portal&&!(0,n.tm)(t.portal.restUrl,r.portal.restUrl)?r&&r.messages&&r.messages.push(new a.Z("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})):e.styleOrigin={styleName:t.styleName,name:t.name})}normalizeCtorArgs(t){return t instanceof S.Z||t&&z[t.type]?{symbolLayers:[t]}:Array.isArray(t)?{symbolLayers:t}:t}};(0,r._)([(0,p.Cb)({json:{read:!1,write:!1}})],D.prototype,"color",null),(0,r._)([(0,p.Cb)({type:O,nonNullable:!0,json:{write:!0}}),(0,y.p)(s.R)],D.prototype,"symbolLayers",null),(0,r._)([(0,p.Cb)({type:x.Z})],D.prototype,"styleOrigin",void 0),(0,r._)([(0,h.r)("styleOrigin")],D.prototype,"readStyleOrigin",null),(0,r._)([(0,d.c)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],D.prototype,"writeStyleOrigin",null),(0,r._)([(0,p.Cb)({type:L.p,json:{read:!1}})],D.prototype,"thumbnail",void 0),(0,r._)([(0,p.Cb)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],D.prototype,"type",void 0),D=(0,r._)([(0,c.j)("esri.symbols.Symbol3D")],D);const N=D},95868:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),i=o(96674),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011)),n=o(30556);let a=class extends i.wq{constructor(t){super(t),this.enabled=!0,this.type=null}writeEnabled(t,e,o){t||(e[o]=t)}};(0,r._)([(0,s.Cb)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],a.prototype,"enabled",void 0),(0,r._)([(0,n.c)("enabled")],a.prototype,"writeEnabled",null),(0,r._)([(0,s.Cb)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0})],a.prototype,"type",void 0),a=(0,r._)([(0,l.j)("esri.symbols.Symbol3DLayer")],a);const p=a},78724:(t,e,o)=>{o.d(e,{Z:()=>w});var r,i=o(43697),s=o(22303),l=o(22974),n=o(62357),a=o(5600),p=o(90578),y=o(36030),h=o(52011),c=o(30556),d=o(31134),u=o(89164),b=o(61565);let m=r=class extends u.Z{constructor(...t){super(...t),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new d.Z,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.haloSize=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.xoffset=0,this.yoffset=0,this.angle=0,this.width=null,this.lineWidth=192,this.lineHeight=1}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.text=t),e&&(r.font=e),o&&(r.color=o),r}writeLineWidth(t,e,o,r){r&&"string"!=typeof r?r.origin:e[o]=t}castLineWidth(t){return(0,n.t_)(t)}writeLineHeight(t,e,o,r){r&&"string"!=typeof r?r.origin:e[o]=t}clone(){return new r({angle:this.angle,backgroundColor:(0,l.d9)(this.backgroundColor),borderLineColor:(0,l.d9)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,l.d9)(this.color),font:this.font&&this.font.clone(),haloColor:(0,l.d9)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor&&this.backgroundColor.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color.hash()}.${this.font&&this.font.hash()}.${this.haloColor&&this.haloColor.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,i._)([(0,a.Cb)({type:s.Z,json:{write:!0}})],m.prototype,"backgroundColor",void 0),(0,i._)([(0,a.Cb)({type:s.Z,json:{write:!0}})],m.prototype,"borderLineColor",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{write:!0}})],m.prototype,"borderLineSize",void 0),(0,i._)([(0,a.Cb)({type:d.Z,json:{write:!0}})],m.prototype,"font",void 0),(0,i._)([(0,a.Cb)({...b.x0,json:{write:!0}})],m.prototype,"horizontalAlignment",void 0),(0,i._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"kerning",void 0),(0,i._)([(0,a.Cb)({type:s.Z,json:{write:!0}})],m.prototype,"haloColor",void 0),(0,i._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],m.prototype,"haloSize",void 0),(0,i._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"rightToLeft",void 0),(0,i._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"rotated",void 0),(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],m.prototype,"text",void 0),(0,i._)([(0,y.J)({esriTS:"text"},{readOnly:!0})],m.prototype,"type",void 0),(0,i._)([(0,a.Cb)({...b.Nj,json:{write:!0}})],m.prototype,"verticalAlignment",void 0),(0,i._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],m.prototype,"xoffset",void 0),(0,i._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],m.prototype,"yoffset",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],m.prototype,"angle",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{write:!0}})],m.prototype,"width",void 0),(0,i._)([(0,a.Cb)({type:Number})],m.prototype,"lineWidth",void 0),(0,i._)([(0,c.c)("lineWidth")],m.prototype,"writeLineWidth",null),(0,i._)([(0,p.p)("lineWidth")],m.prototype,"castLineWidth",null),(0,i._)([(0,a.Cb)(b.Ck)],m.prototype,"lineHeight",void 0),(0,i._)([(0,c.c)("lineHeight")],m.prototype,"writeLineHeight",null),m=r=(0,i._)([(0,h.j)("esri.symbols.TextSymbol")],m);const w=m},2283:(t,e,o)=>{o.d(e,{Z:()=>j});var r,i=o(43697),s=o(22974),l=o(70586),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(30556),h=o(31134),c=o(95868),d=o(37308),u=o(22303),b=o(96674);let m=r=class extends b.wq{constructor(){super(...arguments),this.color=new u.Z([0,0,0,1]),this.size=0}clone(){const t={color:(0,s.d9)(this.color),size:this.size};return new r(t)}};(0,i._)([(0,n.Cb)(d.a)],m.prototype,"color",void 0),(0,i._)([(0,n.Cb)(d.y)],m.prototype,"size",void 0),m=r=(0,i._)([(0,p.j)("esri.symbols.support.Symbol3DHalo")],m);var w=o(52879),v=o(2368);o(67676),o(80442);let g=class extends((0,v.J)(b.wq)){constructor(t){super(t),this.color=null}};(0,i._)([(0,n.Cb)(d.a)],g.prototype,"color",void 0),g=(0,i._)([(0,p.j)("esri.symbols.support.Symbol3DTextBackground")],g);var f,_=o(61565);let C=f=class extends c.Z{constructor(t){super(t),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(t){(0,l.pC)(t)&&(0,l.pC)(this._userSize)&&(t.size=this._userSize),this._set("font",t)}writeFont(t,e,o,r){const i={...r,textSymbol3D:!0};e.font=t.write({},i),delete e.font.size}get size(){return(0,l.pC)(this._userSize)?this._userSize:(0,l.pC)(this.font)&&null!=this.font.size?this.font.size:9}set size(t){this._userSize=t,(0,l.pC)(this.font)&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const t=new f({enabled:this.enabled,font:this.font&&(0,s.d9)(this.font),halo:this.halo&&(0,s.d9)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:(0,l.pC)(this.material)?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,s.d9)(this.background)});return t._userSize=this._userSize,t}static fromTextSymbol(t){return new f({font:(0,l.pC)(t.font)?t.font.clone():new h.Z,halo:S(t.haloColor,t.haloSize),horizontalAlignment:t.horizontalAlignment,lineHeight:t.lineHeight,material:t.color?new w.b({color:t.color.clone()}):null,text:t.text,verticalAlignment:t.verticalAlignment,background:t.backgroundColor?new g({color:t.backgroundColor.clone()}):null})}};function S(t,e){return t&&e>0?new m({color:(0,s.d9)(t),size:e}):null}(0,i._)([(0,n.Cb)({type:h.Z,json:{write:!0}})],C.prototype,"font",null),(0,i._)([(0,y.c)("font")],C.prototype,"writeFont",null),(0,i._)([(0,n.Cb)({type:m,json:{write:!0}})],C.prototype,"halo",void 0),(0,i._)([(0,n.Cb)({..._.x0,json:{default:"center",write:!0}})],C.prototype,"horizontalAlignment",void 0),(0,i._)([(0,n.Cb)({..._.Ck,json:{default:1,write:!0}})],C.prototype,"lineHeight",void 0),(0,i._)([(0,n.Cb)({type:w.b,json:{write:!0}})],C.prototype,"material",void 0),(0,i._)([(0,n.Cb)({type:g,json:{write:!0}})],C.prototype,"background",void 0),(0,i._)([(0,n.Cb)(d.y)],C.prototype,"size",null),(0,i._)([(0,n.Cb)({type:String,json:{write:!0}})],C.prototype,"text",void 0),(0,i._)([(0,a.J)({Text:"text"},{readOnly:!0})],C.prototype,"type",void 0),(0,i._)([(0,n.Cb)({..._.Nj,json:{default:"baseline",write:!0}})],C.prototype,"verticalAlignment",void 0),C=f=(0,i._)([(0,p.j)("esri.symbols.TextSymbol3DLayer")],C);const j=C},44398:(t,e,o)=>{o.d(e,{Z:()=>u});var r,i=o(43697),s=o(22303),l=o(22974),n=o(5600),a=o(75215),p=o(36030),y=o(52011),h=o(95868);let c=r=class extends h.Z{constructor(t){super(t),this.color=d.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:(0,l.d9)(this.color),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,i._)([(0,n.Cb)({type:s.Z,nonNullable:!0,json:{type:[a.z8],write:(t,e,o)=>e[o]=t.toArray(s.Z.AlphaMode.UNLESS_OPAQUE),default:()=>d.clone(),defaultEquals:t=>t.toCss(!0)===d.toCss(!0)}})],c.prototype,"color",void 0),(0,i._)([(0,p.J)({Water:"water"},{readOnly:!0})],c.prototype,"type",void 0),(0,i._)([(0,n.Cb)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],c.prototype,"waterbodySize",void 0),(0,i._)([(0,n.Cb)({type:Number,json:{write:!0,default:null}})],c.prototype,"waveDirection",void 0),(0,i._)([(0,n.Cb)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],c.prototype,"waveStrength",void 0),c=r=(0,i._)([(0,y.j)("esri.symbols.WaterSymbol3DLayer")],c);const d=new s.Z([0,119,190]),u=c},59390:(t,e,o)=>{o.d(e,{Z:()=>m});var r,i=o(43697),s=o(92604),l=o(95330),n=o(5600),a=(o(67676),o(80442),o(75215),o(36030)),p=o(52011),y=o(65587),h=o(25929),c=o(89164),d=o(23203);const u=s.Z.getLogger("esri.symbols.WebStyleSymbol");let b=r=class extends c.Z{constructor(t){super(t),this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}read(t,e){this.portal=e?e.portal:void 0,super.read(t,e)}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(t){return this._fetchSymbol("webRef",t)}fetchCIMSymbol(t){return this._fetchSymbol("cimRef",t)}async _fetchSymbol(t,e){const r=await o.e(4499).then(o.bind(o,74499));(0,l.k_)(e);const i=r.resolveWebStyleSymbol(this,{portal:this.portal},t,e);return i.catch((t=>{u.error("#fetchSymbol()","Failed to create symbol from style",t)})),i}};(0,i._)([(0,n.Cb)({json:{write:!1}})],b.prototype,"color",void 0),(0,i._)([(0,n.Cb)({type:String,json:{write:!0}})],b.prototype,"styleName",void 0),(0,i._)([(0,n.Cb)({type:y.Z,json:{write:!1}})],b.prototype,"portal",void 0),(0,i._)([(0,n.Cb)({type:String,json:{read:h.r,write:h.w}})],b.prototype,"styleUrl",void 0),(0,i._)([(0,n.Cb)({type:d.p,json:{read:!1}})],b.prototype,"thumbnail",void 0),(0,i._)([(0,n.Cb)({type:String,json:{write:!0}})],b.prototype,"name",void 0),(0,i._)([(0,a.J)({styleSymbolReference:"web-style"},{readOnly:!0})],b.prototype,"type",void 0),b=r=(0,i._)([(0,p.j)("esri.symbols.WebStyleSymbol")],b);const m=b},27539:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),i=o(96674),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011));let n=class extends i.wq{constructor(t){super(t),this.visible=!0}clone(){}};(0,r._)([(0,s.Cb)({type:["line"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),(0,r._)([(0,s.Cb)({readOnly:!0})],n.prototype,"visible",void 0),n=(0,r._)([(0,l.j)("esri.symbols.callouts.Callout3D")],n);const a=n},69496:(t,e,o)=>{o.d(e,{Z:()=>m});var r,i=o(43697),s=o(22303),l=o(22974),n=o(70586),a=o(62357),p=o(5600),y=(o(75215),o(36030)),h=o(52011),c=o(27539),d=o(6352),u=o(37308);let b=r=class extends c.Z{constructor(t){super(t),this.type="line",this.color=new s.Z([0,0,0,1]),this.size=(0,a.Wz)(1),this.border=null}get visible(){return this.size>0&&(0,n.pC)(this.color)&&this.color.a>0}clone(){return new r({color:(0,l.d9)(this.color),size:this.size,border:(0,l.d9)(this.border)})}};(0,i._)([(0,y.J)({line:"line"},{readOnly:!0})],b.prototype,"type",void 0),(0,i._)([(0,p.Cb)(u.a)],b.prototype,"color",void 0),(0,i._)([(0,p.Cb)(u.y)],b.prototype,"size",void 0),(0,i._)([(0,p.Cb)({type:d.a,json:{write:!0}})],b.prototype,"border",void 0),(0,i._)([(0,p.Cb)({readOnly:!0})],b.prototype,"visible",null),b=r=(0,i._)([(0,h.j)("esri.symbols.callouts.LineCallout3D")],b);const m=b},84275:(t,e,o)=>{o.d(e,{Uy:()=>s,Y2:()=>n,gv:()=>l});var r=o(27539),i=o(69496);function s(t){if(!t)return!1;const e=t.verticalOffset;return!!e&&!(e.screenLength<=0||e.maxWorldLength<=0)}function l(t){if(!t)return!1;if(!t.supportsCallout||!t.supportsCallout())return!1;const e=t.callout;return!!e&&!!e.visible&&!!s(t)}const n={types:{key:"type",base:r.Z,typeMap:{line:i.Z}},json:{write:!0}}},56332:(t,e,o)=>{o.d(e,{Z:()=>g});var r=o(43697),i=o(22303),s=o(96674),l=o(22974),n=o(62357),a=o(5600),p=(o(75215),o(52011)),y=o(37308);let h=class extends s.wq{constructor(t){super(t),this.color=new i.Z([0,0,0,1]),this.extensionLength=0,this.size=(0,n.Wz)(1)}clone(){}cloneProperties(){return{color:(0,l.d9)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r._)([(0,a.Cb)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],h.prototype,"type",void 0),(0,r._)([(0,a.Cb)(y.a)],h.prototype,"color",void 0),(0,r._)([(0,a.Cb)({...y.y,json:{write:{overridePolicy:t=>({enabled:!!t})}}})],h.prototype,"extensionLength",void 0),(0,r._)([(0,a.Cb)(y.y)],h.prototype,"size",void 0),h=(0,r._)([(0,p.j)("esri.symbols.edges.Edges3D")],h);const c=h;o(92604),o(67676),o(80442),o(37697);var d,u=o(36030);let b=d=class extends c{constructor(t){super(t),this.type="sketch"}clone(){return new d(this.cloneProperties())}};(0,r._)([(0,u.J)({sketch:"sketch"},{readOnly:!0})],b.prototype,"type",void 0),b=d=(0,r._)([(0,p.j)("esri.symbols.edges.SketchEdges3D")],b);const m=b;var w;let v=w=class extends c{constructor(t){super(t),this.type="solid"}clone(){return new w(this.cloneProperties())}};(0,r._)([(0,u.J)({solid:"solid"},{readOnly:!0})],v.prototype,"type",void 0),v=w=(0,r._)([(0,p.j)("esri.symbols.support.SolidEdges3D")],v);const g={types:{key:"type",base:c,typeMap:{solid:v,sketch:m}},json:{write:!0}}},32626:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),i=o(96674),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011));let n=class extends i.wq{constructor(t){super(t)}clone(){}};(0,r._)([(0,s.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.j)("esri.symbols.patterns.LinePattern3D")],n);const a=n},4618:(t,e,o)=>{o.d(e,{Z:()=>c});var r,i=o(43697),s=o(35454),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(32626);const y=(0,s.w)()({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 h=r=class extends p.Z{constructor(t){super(t),this.type="style",this.style="solid"}clone(){const t={style:this.style};return new r(t)}};(0,i._)([(0,l.Cb)({type:["style"]})],h.prototype,"type",void 0),(0,i._)([(0,n.J)(y),(0,l.Cb)({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"]})],h.prototype,"style",void 0),h=r=(0,i._)([(0,a.j)("esri.symbols.patterns.LineStylePattern3D")],h);const c=h},41776:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),i=o(96674),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011));let n=class extends i.wq{constructor(t){super(t)}clone(){}};(0,r._)([(0,s.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.j)("esri.symbols.patterns.Pattern3D")],n);const a=n},74721:(t,e,o)=>{o.d(e,{Z:()=>p});var r,i=o(43697),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011)),n=o(41776);let a=r=class extends n.Z{constructor(t){super(t),this.type="style",this.style="solid"}clone(){const t={style:this.style};return new r(t)}};(0,i._)([(0,s.Cb)({type:["style"]})],a.prototype,"type",void 0),(0,i._)([(0,s.Cb)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:!0}})],a.prototype,"style",void 0),a=r=(0,i._)([(0,l.j)("esri.symbols.patterns.StylePattern3D")],a);const p=a},17495:(t,e,o)=>{o.d(e,{D:()=>a,q:()=>n});var r=o(32626),i=o(4618),s=o(41776),l=o(74721);const n={types:{key:"type",base:s.Z,typeMap:{style:l.Z}},json:{write:!0}},a={types:{key:"type",base:r.Z,typeMap:{style:i.Z}},json:{write:!0}}},71144:(t,e,o)=>{o.d(e,{Z:()=>y});var r,i=o(43697),s=o(15923),l=o(5600),n=(o(67676),o(80442),o(75215),o(52011)),a=o(65587);let p=r=class extends s.Z{constructor(){super(...arguments),this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,i._)([(0,l.Cb)({type:String})],p.prototype,"name",void 0),(0,i._)([(0,l.Cb)({type:String})],p.prototype,"styleUrl",void 0),(0,i._)([(0,l.Cb)({type:String})],p.prototype,"styleName",void 0),(0,i._)([(0,l.Cb)({type:a.Z})],p.prototype,"portal",void 0),p=r=(0,i._)([(0,n.j)("esri.symbols.support.StyleOrigin")],p);const y=p},52879:(t,e,o)=>{o.d(e,{b:()=>y});var r,i=o(43697),s=o(96674),l=o(70586),n=o(5600),a=(o(67676),o(80442),o(75215),o(52011)),p=o(37308);let y=r=class extends s.wq{constructor(t){super(t),this.color=null}clone(){const t={color:(0,l.pC)(this.color)?this.color.clone():null};return new r(t)}};(0,i._)([(0,n.Cb)(p.a)],y.prototype,"color",void 0),y=r=(0,i._)([(0,a.j)("esri.symbols.support.Symbol3DMaterial")],y)},7413:(t,e,o)=>{o.d(e,{_:()=>p});var r,i=o(43697),s=o(96674),l=o(5600),n=(o(67676),o(80442),o(75215),o(52011)),a=o(37308);let p=r=class extends s.wq{constructor(){super(...arguments),this.screenLength=0,this.minWorldLength=0}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,i._)([(0,l.Cb)(a.y)],p.prototype,"screenLength",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0,default:0}})],p.prototype,"minWorldLength",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],p.prototype,"maxWorldLength",void 0),p=r=(0,i._)([(0,n.j)("esri.symbols.support.Symbol3DVerticalOffset")],p)},23203:(t,e,o)=>{o.d(e,{p:()=>a});var r,i=o(43697),s=o(15923),l=o(5600),n=(o(67676),o(80442),o(75215),o(52011));let a=r=class extends s.Z{clone(){return new r({url:this.url})}};(0,i._)([(0,l.Cb)({type:String})],a.prototype,"url",void 0),a=r=(0,i._)([(0,n.j)("esri.symbols.support.Thumbnail")],a)},50178:(t,e,o)=>{o.d(e,{ix:()=>i,l9:()=>s,rx:()=>l});var r=o(22303);const i=new r.Z("white"),s=(new r.Z("black"),new r.Z([255,255,255,0]));function l(t){return 0===t.r&&0===t.g&&0===t.b}},57742:(t,e,o)=>{o.d(e,{J:()=>r,k:()=>i});const r=["begin","end","begin-end"],i=["arrow","circle","square","diamond","cross","x"]},37308:(t,e,o)=>{o.d(e,{a:()=>n,y:()=>a});var r=o(22303),i=o(62357),s=o(75215),l=o(65242);const n={type:r.Z,json:{type:[s.z8],default:null,read:{source:["color","transparency"],reader:function(t,e){const o=null!=e.transparency?(0,l.b)(e.transparency):1,i=e.color;return i&&Array.isArray(i)?new r.Z([i[0]||0,i[1]||0,i[2]||0,o]):null}},write:{target:{color:{type:[s.z8]},transparency:{type:s.z8}},writer:function(t,e){e.color=t.toJSON().slice(0,3);const o=(0,l.a)(t.a);0!==o&&(e.transparency=o)}}}},a={type:Number,cast:i.t_,json:{write:!0}}},45119:(t,e,o)=>{o.d(e,{$K:()=>s,Hc:()=>y,KW:()=>h,Uz:()=>p,w2:()=>c}),o(80442);var r=o(65617),i=o(60437);function s(t,{isPrimitive:e,width:o,depth:i,height:s}){const l=e?10:1;if(null==o&&null==s&&null==i)return[l*t[0],l*t[1],l*t[2]];const n=(0,r.f)(o,i,s);let a;for(let e=0;e<3;e++){const o=n[e];if(null!=o){a=o/t[e];break}}for(let e=0;e<3;e++)null==n[e]&&(n[e]=t[e]*a);return n}const l=(0,i.al)(-.5,-.5,-.5,.5,.5,.5),n=(0,i.al)(-.5,-.5,0,.5,.5,1),a=(0,i.al)(-.5,-.5,0,.5,.5,.5);function p(t){switch(t){case"sphere":case"cube":case"diamond":return l;case"cylinder":case"cone":case"inverted-cone":return n;case"tetrahedron":return a;default:return}}const y=["butt","square","round"],h=[...y,"none"],c=["miter","bevel","round"]},61565:(t,e,o)=>{o.d(e,{Ck:()=>a,JT:()=>s,Nj:()=>y,g6:()=>l,vC:()=>n,x0:()=>p});var r=o(22021),i=o(75215);const s=["none","underline","line-through"],l=["normal","italic","oblique"],n=["normal","lighter","bold","bolder"],a={type:Number,cast:t=>{const e=(0,i.q9)(t);return 0===e?1:(0,r.uZ)(e,.1,4)},nonNullable:!0},p={type:["left","right","center"],nonNullable:!0},y={type:["baseline","top","middle","bottom"],nonNullable:!0}},94075:(t,e,o)=>{o.d(e,{Ds:()=>n,KA:()=>l});var r=o(17452),i=o(25929);function s(t,e){return function(t){return t&&("service"===t.origin||"portal-item"===t.origin)&&t.layer&&("feature"===t.layer.type||"stream"===t.layer.type)}(e)&&!(0,r.YP)(t)&&e.layer.parsedUrl?(0,r.v_)(e.layer.parsedUrl.path,"images",t):(0,i.f)(t,e)}const l={json:{read:{source:["imageData","url"],reader:function(t,e,o){return e.imageData?(0,r._l)({mediaType:e.contentType||"image/png",isBase64:!0,data:e.imageData}):s(e.url,o)}},write:{writer(t,e,o,s){!function(t,e,o,s){if((0,r.HK)(t)){const l=(0,r.sJ)(t);e.contentType=l.mediaType,e.imageData=l.data,o&&o.imageData===e.imageData&&o.url&&(0,i.w)(o.url,e,"url",s)}else(0,i.w)(t,e,"url",s)}(t,e,this.source,s)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(t,e,o){const r={};return e.imageData&&(r.imageData=e.imageData),e.contentType&&(r.contentType=e.contentType),e.url&&(r.url=s(e.url,o)),r}}}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8758],{48758:(e,t,n)=>{n.r(t),n.d(t,{registerFunctions:()=>T});var r=n(28228),a=n(33586),i=n(15274),s=n(28924),l=n(42666),o=n(9609),u=n(12384),c=n(61363),f=n(70409),d=n(84328),m=n(85065),p=n(63991),y=n(75148),h=n(17805),g=n(3823),w=n(90658),F=n(36515),E=n(24240),I=n(95330),b=n(41534),D=n(3121),N=n(1231);async function x(e,t,n){const r=e.getVariables();if(r.length>0){const a=[];for(let e=0;e<r.length;e++){const i={name:r[e]};a.push(await t.evaluateIdentifier(n,i))}const i={};for(let e=0;e<r.length;e++)i[r[e]]=a[e];return e.parameters=i,e}return e}function A(e,t,n=null){for(const n in e)if(n.toLowerCase()===t.toLowerCase())return e[n];return n}function S(e){if(null===e)return null;const t={type:A(e,"type",""),name:A(e,"name","")};if("range"===t.type)t.range=A(e,"range",[]);else{t.codedValues=[];for(const n of A(e,"codedValues",[]))t.codedValues.push({name:A(n,"name",""),code:A(n,"code",null)})}return t}function C(e){if(null===e)return null;const t={},n=A(e,"wkt",null);null!==n&&(t.wkt=n);const r=A(e,"wkid",null);return null!==r&&(t.wkid=r),t}function $(e){if(null===e)return null;const t={hasZ:A(e,"hasz",!1),hasM:A(e,"hasm",!1)},n=A(e,"spatialreference",null);n&&(t.spatialReference=C(n));const r=A(e,"x",null);if(null!==r)return t.x=r,t.y=A(e,"y",null),t;const a=A(e,"rings",null);if(null!==a)return t.rings=a,t;const i=A(e,"paths",null);if(null!==i)return t.paths=i,t;const s=A(e,"points",null);if(null!==s)return t.points=s,t;for(const n of["xmin","xmax","ymin","ymax","zmin","zmax","mmin","mmax"]){const r=A(e,n,null);null!==r&&(t[n]=r)}return t}function T(e){"async"===e.mode&&(e.functions.getuser=function(t,n){return e.standardFunctionAsync(t,n,(async(e,n,i)=>{(0,c.p)(i,1,2);let s=(0,c.C)(i[1],""),o=!0===s;if(s=!0===s||!1===s?"":(0,c.d)(s),i[0]instanceof r.Z){let e=null;t.services&&t.services.portal&&(e=t.services.portal),e=(0,l.getPortal)(i[0],e);const n=await(0,l.lookupUser)(e,s,o);if(n){const e=JSON.parse(JSON.stringify(n));for(const t of["lastLogin","created","modified"])void 0!==e[t]&&null!==e[t]&&(e[t]=new Date(e[t]));return a.Z.convertObjectToArcadeDictionary(e)}return null}let u=null;if((0,c.q)(i[0])&&(u=i[0]),u){if(o=!1,s)return null;await u.load();const e=await u.getOwningSystemUrl();if(!e){if(!s){const e=await u.getIdentityUser();return e?a.Z.convertObjectToArcadeDictionary({username:e}):null}return null}let n=null;t.services&&t.services.portal&&(n=t.services.portal),n=(0,l.getPortal)(new r.Z(e),n);const i=await(0,l.lookupUser)(n,s,o);if(i){const e=JSON.parse(JSON.stringify(i));for(const t of["lastLogin","created","modified"])void 0!==e[t]&&null!==e[t]&&(e[t]=new Date(e[t]));return a.Z.convertObjectToArcadeDictionary(e)}return null}throw new Error("Invalid Parameter")}))},e.signatures.push({name:"getuser",min:"1",max:"2"}),e.functions.featuresetbyid=function(t,n){return e.standardFunctionAsync(t,n,((e,t,n)=>{if((0,c.p)(n,2,4),n[0]instanceof s.Z){const e=(0,c.d)(n[1]);let t=(0,c.C)(n[2],null);const r=(0,c.z)((0,c.C)(n[3],!0));if(null===t&&(t=["*"]),!1===(0,c.a)(t))throw new Error("Invalid Parameter");return n[0].featureSetById(e,r,t)}throw new Error("Invalid Parameter")}))},e.signatures.push({name:"featuresetbyid",min:"2",max:"4"}),e.functions.getfeatureset=function(t,n){return e.standardFunctionAsync(t,n,((e,n,r)=>{if((0,c.p)(r,1,2),(0,c.k)(r[0])){let e=(0,c.C)(r[1],"datasource");return null===e&&(e="datasource"),e=(0,c.d)(e).toLowerCase(),(0,l.convertToFeatureSet)(r[0].fullSchema(),e,t.lrucache,t.interceptor,t.spatialReference)}throw new Error("Invalid Parameter")}))},e.signatures.push({name:"getfeatureset",min:"1",max:"2"}),e.functions.featuresetbyportalitem=function(t,n){return e.standardFunctionAsync(t,n,((e,n,a)=>{if((0,c.p)(a,2,5),null===a[0])throw new Error("Portal is required");if(a[0]instanceof r.Z){const e=(0,c.d)(a[1]),n=(0,c.d)(a[2]);let r=(0,c.C)(a[3],null);const i=(0,c.z)((0,c.C)(a[4],!0));if(null===r&&(r=["*"]),!1===(0,c.a)(r))throw new Error("Invalid Parameter");let s=null;return t.services&&t.services.portal&&(s=t.services.portal),s=(0,l.getPortal)(a[0],s),(0,l.constructFeatureSetFromPortalItem)(e,n,t.spatialReference,r,i,s,t.lrucache,t.interceptor)}if(!1===(0,c.f)(a[0]))throw new Error("Portal is required");const i=(0,c.d)(a[0]),s=(0,c.d)(a[1]);let o=(0,c.C)(a[2],null);const u=(0,c.z)((0,c.C)(a[3],!0));if(null===o&&(o=["*"]),!1===(0,c.a)(o))throw new Error("Invalid Parameter");if(t.services&&t.services.portal)return(0,l.constructFeatureSetFromPortalItem)(i,s,t.spatialReference,o,u,t.services.portal,t.lrucache,t.interceptor);throw new Error("Portal is required")}))},e.signatures.push({name:"featuresetbyportalitem",min:"2",max:"5"}),e.functions.featuresetbyname=function(t,n){return e.standardFunctionAsync(t,n,((e,t,n)=>{if((0,c.p)(n,2,4),n[0]instanceof s.Z){const e=(0,c.d)(n[1]);let t=(0,c.C)(n[2],null);const r=(0,c.z)((0,c.C)(n[3],!0));if(null===t&&(t=["*"]),!1===(0,c.a)(t))throw new Error("Invalid Parameter");return n[0].featureSetByName(e,r,t)}throw new Error("Invalid Parameter")}))},e.signatures.push({name:"featuresetbyname",min:"2",max:"4"}),e.functions.featureset=function(t,n){return e.standardFunction(t,n,((e,n,r)=>{(0,c.p)(r,1,1);let i=r[0];const s={layerDefinition:{geometryType:"",objectIdField:"",globalIdField:"",typeIdField:"",fields:[]},featureSet:{geometryType:"",features:[]}};if((0,c.f)(i))i=JSON.parse(i),void 0!==i.layerDefinition?(s.layerDefinition=i.layerDefinition,s.featureSet=i.featureSet,i.layerDefinition.spatialReference&&(s.layerDefinition.spatialReference=i.layerDefinition.spatialReference)):(s.featureSet.features=i.features,s.featureSet.geometryType=i.geometryType,s.layerDefinition.geometryType=s.featureSet.geometryType,s.layerDefinition.objectIdField=i.objectIdFieldName,s.layerDefinition.typeIdField=i.typeIdFieldName,s.layerDefinition.globalIdField=i.globalIdFieldName,s.layerDefinition.fields=i.fields,i.spatialReference&&(s.layerDefinition.spatialReference=i.spatialReference));else{if(!(r[0]instanceof a.Z))throw new Error("Invalid Parameter");{i=JSON.parse(r[0].castToText());const e=A(i,"layerdefinition");if(null!==e){s.layerDefinition.geometryType=A(e,"geometrytype",""),s.featureSet.geometryType=s.layerDefinition.geometryType,s.layerDefinition.globalIdField=A(e,"globalidfield",""),s.layerDefinition.objectIdField=A(e,"objectidfield",""),s.layerDefinition.typeIdField=A(e,"typeidfield","");const t=A(e,"spatialreference",null);t&&(s.layerDefinition.spatialReference=C(t));for(const t of A(e,"fields",[])){const e={name:A(t,"name",""),alias:A(t,"alias",""),type:A(t,"type",""),nullable:A(t,"nullable",!0),editable:A(t,"editable",!0),length:A(t,"length",null),domain:S(A(t,"domain"))};s.layerDefinition.fields.push(e)}const n=A(i,"featureset",null);if(n){const e={};for(const t of s.layerDefinition.fields)e[t.name.toLowerCase()]=t.name;for(const t of A(n,"features",[])){const n={},r=A(t,"attributes",{});for(const t in r)n[e[t.toLowerCase()]]=r[t];s.featureSet.features.push({attributes:n,geometry:$(A(t,"geometry",null))})}}}else{s.layerDefinition.geometryType=A(i,"geometrytype",""),s.featureSet.geometryType=s.layerDefinition.geometryType,s.layerDefinition.objectIdField=A(i,"objectidfieldname",""),s.layerDefinition.typeIdField=A(i,"typeidfieldname","");const e=A(i,"spatialreference",null);e&&(s.layerDefinition.spatialReference=C(e));for(const e of A(i,"fields",[])){const t={name:A(e,"name",""),alias:A(e,"alias",""),type:A(e,"type",""),nullable:A(e,"nullable",!0),editable:A(e,"editable",!0),length:A(e,"length",null),domain:S(A(e,"domain"))};s.layerDefinition.fields.push(t)}const t={};for(const e of s.layerDefinition.fields)t[e.name.toLowerCase()]=e.name;for(const e of A(i,"features",[])){const n={},r=A(e,"attributes",{});for(const e in r)n[t[e.toLowerCase()]]=r[e];s.featureSet.features.push({attributes:n,geometry:$(A(e,"geometry",null))})}}}}if(!1===function(e){return!!e.layerDefinition&&!!e.featureSet&&!1!==function(e,t){for(const t of["","esriGeometryPoint","esriGeometryPolyline","esriGeometryPolygon","esriGeometryMultipoint","esriGeometryEnvelope"])if(t===e)return!0;return!1}(e.layerDefinition.geometryType)&&null!==e.layerDefinition.objectIdField&&""!==e.layerDefinition.objectIdField&&!1!==(0,c.a)(e.layerDefinition.fields)&&!1!==(0,c.a)(e.featureSet.features)}(s))throw new Error("Invalid Parameter");return h.Z.create(s,t.spatialReference)}))},e.signatures.push({name:"featureset",min:"1",max:"1"}),e.functions.filter=function(t,n){return e.standardFunctionAsync(t,n,(async(n,r,a)=>{if((0,c.p)(a,2,2),(0,c.a)(a[0])||(0,c.b)(a[0])){const n=[];let r=a[0];r instanceof u.Z&&(r=r.toArray());let i=null;if(a[1]instanceof o.Z)i=e.arcadeCustomFunctionHandler(a[1]);else if(a[1]instanceof c.N)i=(...e)=>a[1].fn(t,{preparsed:!0,arguments:e});else{if(!(a[1]instanceof c.S))throw new Error("Invalid Parameter");i=(...e)=>{if(e.length!==a[1].paramCount)throw new Error("Invalid parameters");return a[1].fn(...e)}}for(const e of r){const t=i(e);(0,I.y8)(t)?!0===await t&&n.push(e):!0===t&&n.push(e)}return n}if((0,c.q)(a[0])){const n=await a[0].load(),r=b.WhereClause.create(a[1],n.getFieldsIndex()),i=r.getVariables();if(i.length>0){const n=[];for(let r=0;r<i.length;r++){const a={name:i[r]};n.push(await e.evaluateIdentifier(t,a))}const s={};for(let e=0;e<i.length;e++)s[i[e]]=n[e];return r.parameters=s,new d.Z({parentfeatureset:a[0],whereclause:r})}return new d.Z({parentfeatureset:a[0],whereclause:r})}throw new Error("Filter cannot accept this parameter type")}))},e.signatures.push({name:"filter",min:"2",max:"2"}),e.functions.orderby=function(t,n){return e.standardFunctionAsync(t,n,(async(e,t,n)=>{if((0,c.p)(n,2,2),(0,c.q)(n[0])){const e=new g.Z(n[1]);return new m.Z({parentfeatureset:n[0],orderbyclause:e})}throw new Error("Order cannot accept this parameter type")}))},e.signatures.push({name:"orderby",min:"2",max:"2"}),e.functions.top=function(t,n){return e.standardFunctionAsync(t,n,(async(e,t,n)=>{if((0,c.p)(n,2,2),(0,c.q)(n[0]))return new p.Z({parentfeatureset:n[0],topnum:n[1]});if((0,c.a)(n[0]))return(0,c.t)(n[1])>=n[0].length?n[0].slice(0):n[0].slice(0,(0,c.t)(n[1]));if((0,c.b)(n[0]))return(0,c.t)(n[1])>=n[0].length()?n[0].slice(0):n[0].slice(0,(0,c.t)(n[1]));throw new Error("Top cannot accept this parameter type")}))},e.signatures.push({name:"top",min:"2",max:"2"}),e.functions.first=function(t,n){return e.standardFunctionAsync(t,n,(async(e,t,n)=>{if((0,c.p)(n,1,1),(0,c.q)(n[0])){const t=await n[0].first(e.abortSignal);if(null!==t){const e=i.Z.createFromGraphicLikeObject(t.geometry,t.attributes,n[0]);return e._underlyingGraphic=t,e}return t}return(0,c.a)(n[0])?0===n[0].length?null:n[0][0]:(0,c.b)(n[0])?0===n[0].length()?null:n[0].get(0):null}))},e.signatures.push({name:"first",min:"1",max:"1"}),e.functions.attachments=function(t,n){return e.standardFunctionAsync(t,n,(async(e,n,r)=>{(0,c.p)(r,1,2);const i={minsize:-1,maxsize:-1,types:null,returnMetadata:!1};if(r.length>1)if(r[1]instanceof a.Z){if(r[1].hasField("minsize")&&(i.minsize=(0,c.t)(r[1].field("minsize"))),r[1].hasField("metadata")&&(i.returnMetadata=(0,c.z)(r[1].field("metadata"))),r[1].hasField("maxsize")&&(i.maxsize=(0,c.t)(r[1].field("maxsize"))),r[1].hasField("types")){const e=(0,c.Y)(r[1].field("types"),!1);e.length>0&&(i.types=e)}}else if(null!==r[1])throw new Error("Invalid Parameter");if((0,c.k)(r[0])){let e=r[0]._layer;return e instanceof D.default&&(e=(0,l.constructFeatureSet)(e,t.spatialReference,["*"],!0,t.lrucache,t.interceptor)),null===e||!1===(0,c.q)(e)?[]:(await e.load(),e.queryAttachments(r[0].field(e.objectIdField),i.minsize,i.maxsize,i.types,i.returnMetadata))}if(null===r[0])return[];throw new Error("Invalid Parameter")}))},e.signatures.push({name:"attachments",min:"1",max:"2"}),e.functions.featuresetbyrelationshipname=function(t,n){return e.standardFunctionAsync(t,n,(async(e,n,r)=>{(0,c.p)(r,2,4);const a=r[0],i=(0,c.d)(r[1]);let s=(0,c.C)(r[2],null);const o=(0,c.z)((0,c.C)(r[3],!0));if(null===s&&(s=["*"]),!1===(0,c.a)(s))throw new Error("Invalid Parameter");if(null===r[0])return null;if(!(0,c.k)(r[0]))throw new Error("Invalid Parameter");let u=a._layer;if(u instanceof D.default&&(u=(0,l.constructFeatureSet)(u,t.spatialReference,["*"],!0,t.lrucache,t.interceptor)),null===u)return null;if(!1===(0,c.q)(u))return null;u=await u.load();const f=u.relationshipMetaData().filter((e=>e.name===i));if(0===f.length)return null;if(void 0!==f[0].relationshipTableId&&null!==f[0].relationshipTableId&&f[0].relationshipTableId>-1)return(0,l.constructFeatureSetFromRelationship)(u,f[0],a.field(u.objectIdField),u.spatialReference,s,o,t.lrucache,t.interceptor);let d=u.serviceUrl();if(!d)return null;d="/"===d.charAt(d.length-1)?d+f[0].relatedTableId.toString():d+"/"+f[0].relatedTableId.toString();const m=await(0,l.constructFeatureSetFromUrl)(d,u.spatialReference,s,o,t.lrucache,t.interceptor);await m.load();let p=m.relationshipMetaData();if(p=p.filter((e=>e.id===f[0].id)),!1===a.hasField(f[0].keyField)||null===a.field(f[0].keyField)){const e=await u.getFeatureByObjectId(a.field(u.objectIdField),[f[0].keyField]);if(e){const t=b.WhereClause.create(p[0].keyField+"= @id",m.getFieldsIndex());return t.parameters={id:e.attributes[f[0].keyField]},m.filter(t)}return new y.Z({parentfeatureset:m})}const h=b.WhereClause.create(p[0].keyField+"= @id",m.getFieldsIndex());return h.parameters={id:a.field(f[0].keyField)},m.filter(h)}))},e.signatures.push({name:"featuresetbyrelationshipname",min:"2",max:"4"}),e.functions.featuresetbyassociation=function(t,n){return e.standardFunctionAsync(t,n,(async(e,n,r)=>{(0,c.p)(r,2,3);const a=r[0],i=(0,c.d)((0,c.C)(r[1],"")).toLowerCase(),s=(0,c.f)(r[2])?(0,c.d)(r[2]):null;if(null===r[0])return null;if(!(0,c.k)(r[0]))throw new Error("Invalid Parameter");let o=a._layer;if(o instanceof D.default&&(o=(0,l.constructFeatureSet)(o,t.spatialReference,["*"],!0,t.lrucache,t.interceptor)),null===o)return null;if(!1===(0,c.q)(o))return null;await o.load();const u=o.serviceUrl(),d=await(0,l.constructAssociationMetaDataFeatureSetFromUrl)(u,t.spatialReference);let m=null,p=null,y=!1;if(null!==s&&""!==s&&void 0!==s){for(const e of d.terminals)e.terminalName===s&&(p=e.terminalId);null===p&&(y=!0)}const h=d.associations.getFieldsIndex(),g=h.get("TOGLOBALID").name,F=h.get("FROMGLOBALID").name,E=h.get("TOTERMINALID").name,I=h.get("FROMTERMINALID").name,x=h.get("FROMNETWORKSOURCEID").name,A=h.get("TONETWORKSOURCEID").name,S=h.get("ASSOCIATIONTYPE").name,C=h.get("ISCONTENTVISIBLE").name,$=h.get("OBJECTID").name;for(const e of o.fields)if("global-id"===e.type){m=a.field(e.name);break}let T=null,L=new f.yN(new N.Z({name:"percentalong",alias:"percentalong",type:"double"}),b.WhereClause.create("0",d.associations.getFieldsIndex())),v=new f.yN(new N.Z({name:"side",alias:"side",type:"string"}),b.WhereClause.create("''",d.associations.getFieldsIndex()));const R="globalid",O="globalId",P={};for(const e in d.lkp)P[e]=d.lkp[e].sourceId;const Z=new f.TO(new N.Z({name:"classname",alias:"classname",type:"string"}),null,P);let k="";switch(i){case"midspan":{k=`((${g}='${m}') OR ( ${F}='${m}')) AND (${S} IN (5))`,Z.codefield=b.WhereClause.create(`CASE WHEN (${g}='${m}') THEN ${x} ELSE ${A} END`,d.associations.getFieldsIndex());const e=(0,w.JW)(f.Xx.findField(d.associations.fields,F));e.name=R,e.alias=R,T=new f.yN(e,b.WhereClause.create(`CASE WHEN (${F}='${m}') THEN ${g} ELSE ${F} END`,d.associations.getFieldsIndex())),L=d.unVersion>=4?new f.$X(f.Xx.findField(d.associations.fields,h.get("PERCENTALONG").name)):new f.yN(new N.Z({name:"percentalong",alias:"percentalong",type:"double"}),b.WhereClause.create("0",d.associations.getFieldsIndex()));break}case"junctionedge":{k=`((${g}='${m}') OR ( ${F}='${m}')) AND (${S} IN (4,6))`,Z.codefield=b.WhereClause.create(`CASE WHEN (${g}='${m}') THEN ${x} ELSE ${A} END`,d.associations.getFieldsIndex());const e=(0,w.JW)(f.Xx.findField(d.associations.fields,F));e.name=R,e.alias=R,T=new f.yN(e,b.WhereClause.create(`CASE WHEN (${F}='${m}') THEN ${g} ELSE ${F} END`,d.associations.getFieldsIndex())),v=new f.yN(new N.Z({name:"side",alias:"side",type:"string"}),b.WhereClause.create(`CASE WHEN (${S}=4) THEN 'from' ELSE 'to' END`,d.associations.getFieldsIndex()));break}case"connected":{let e=`${g}='@T'`,t=`${F}='@T'`;null!==p&&(e+=` AND ${E}=@A`,t+=` AND ${I}=@A`),k="(("+e+") OR ("+t+"))",k=(0,c.M)(k,"@T",m),e=(0,c.M)(e,"@T",m),null!==p&&(e=(0,c.M)(e,"@A",p.toString()),k=(0,c.M)(k,"@A",p.toString())),Z.codefield=b.WhereClause.create("CASE WHEN "+e+` THEN ${x} ELSE ${A} END`,d.associations.getFieldsIndex());const n=(0,w.JW)(f.Xx.findField(d.associations.fields,F));n.name=R,n.alias=R,T=new f.yN(n,b.WhereClause.create("CASE WHEN "+e+` THEN ${F} ELSE ${g} END`,d.associations.getFieldsIndex()));break}case"container":k=`${g}='${m}' AND ${S} = 2`,null!==p&&(k+=` AND ${E} = `+p.toString()),Z.codefield=x,k="( "+k+" )",T=new f.QP(f.Xx.findField(d.associations.fields,F),R,R);case"content":k=`(${F}='${m}' AND ${S} = 2)`,null!==p&&(k+=` AND ${I} = `+p.toString()),Z.codefield=A,k="( "+k+" )",T=new f.QP(f.Xx.findField(d.associations.fields,g),R,R);break;case"structure":k=`(${g}='${m}' AND ${S} = 3)`,null!==p&&(k+=` AND ${E} = `+p.toString()),Z.codefield=x,k="( "+k+" )",T=new f.QP(f.Xx.findField(d.associations.fields,F),R,O);break;case"attached":k=`(${F}='${m}' AND ${S} = 3)`,null!==p&&(k+=` AND ${I} = `+p.toString()),Z.codefield=A,k="( "+k+" )",T=new f.QP(f.Xx.findField(d.associations.fields,g),R,O);break;default:throw new Error("Invalid Parameter")}return y&&(k="1 <> 1"),new f.Xx({parentfeatureset:d.associations,adaptedFields:[new f.$X(f.Xx.findField(d.associations.fields,$)),new f.$X(f.Xx.findField(d.associations.fields,C)),T,v,Z,L],extraFilter:k?b.WhereClause.create(k,d.associations.getFieldsIndex()):null})}))},e.signatures.push({name:"featuresetbyassociation",min:"2",max:"6"}),e.functions.groupby=function(t,n){return e.standardFunctionAsync(t,n,(async(n,r,i)=>{if((0,c.p)(i,3,3),!(0,c.q)(i[0]))throw new Error("Illegal Value: GroupBy");const s=await i[0].load(),l=[],o=[];let u=!1,f=[];if((0,c.f)(i[1]))f.push(i[1]);else if(i[1]instanceof a.Z)f.push(i[1]);else if((0,c.a)(i[1]))f=i[1];else{if(!(0,c.b)(i[1]))throw new Error("Illegal Value: GroupBy");f=i[1].toArray()}for(const e of f)if((0,c.f)(e)){const t=b.WhereClause.create((0,c.d)(e),s.getFieldsIndex()),n=!0===(0,F.y5)(t)?(0,c.d)(e):"%%%%FIELDNAME";l.push({name:n,expression:t}),"%%%%FIELDNAME"===n&&(u=!0)}else{if(!(e instanceof a.Z))throw new Error("Illegal Value: GroupBy");{const t=e.hasField("name")?e.field("name"):"%%%%FIELDNAME",n=e.hasField("expression")?e.field("expression"):"";if("%%%%FIELDNAME"===t&&(u=!0),!t)throw new Error("Illegal Value: GroupBy");l.push({name:t,expression:b.WhereClause.create(n||t,s.getFieldsIndex())})}}if(f=[],(0,c.f)(i[2]))f.push(i[2]);else if((0,c.a)(i[2]))f=i[2];else if((0,c.b)(i[2]))f=i[2].toArray();else{if(!(i[2]instanceof a.Z))throw new Error("Illegal Value: GroupBy");f.push(i[2])}for(const e of f){if(!(e instanceof a.Z))throw new Error("Illegal Value: GroupBy");{const t=e.hasField("name")?e.field("name"):"",n=e.hasField("statistic")?e.field("statistic"):"",r=e.hasField("expression")?e.field("expression"):"";if(!t||!n||!r)throw new Error("Illegal Value: GroupBy");o.push({name:t,statistic:n.toLowerCase(),expression:b.WhereClause.create(r,s.getFieldsIndex())})}}if(u){const e={};for(const t of s.fields)e[t.name.toLowerCase()]=1;for(const t of l)"%%%%FIELDNAME"!==t.name&&(e[t.name.toLowerCase()]=1);for(const t of o)"%%%%FIELDNAME"!==t.name&&(e[t.name.toLowerCase()]=1);let t=0;for(const n of l)if("%%%%FIELDNAME"===n.name){for(;1===e["field_"+t.toString()];)t++;e["field_"+t.toString()]=1,n.name="FIELD_"+t.toString()}}for(const n of l)await x(n.expression,e,t);for(const n of o)await x(n.expression,e,t);return i[0].groupby(l,o)}))},e.signatures.push({name:"groupby",min:"3",max:"3"}),e.functions.distinct=function(t,n){return e.standardFunctionAsync(t,n,(async(n,r,i)=>{if((0,c.q)(i[0])){(0,c.p)(i,2,2);const n=await i[0].load(),r=[];let s=[];if((0,c.f)(i[1]))s.push(i[1]);else if(i[1]instanceof a.Z)s.push(i[1]);else if((0,c.a)(i[1]))s=i[1];else{if(!(0,c.b)(i[1]))throw new Error("Illegal Value: GroupBy");s=i[1].toArray()}let l=!1;for(const e of s)if((0,c.f)(e)){const t=b.WhereClause.create((0,c.d)(e),n.getFieldsIndex()),a=!0===(0,F.y5)(t)?(0,c.d)(e):"%%%%FIELDNAME";r.push({name:a,expression:t}),"%%%%FIELDNAME"===a&&(l=!0)}else{if(!(e instanceof a.Z))throw new Error("Illegal Value: GroupBy");{const t=e.hasField("name")?e.field("name"):"%%%%FIELDNAME",a=e.hasField("expression")?e.field("expression"):"";if("%%%%FIELDNAME"===t&&(l=!0),!t)throw new Error("Illegal Value: GroupBy");r.push({name:t,expression:b.WhereClause.create(a||t,n.getFieldsIndex())})}}if(l){const e={};for(const t of n.fields)e[t.name.toLowerCase()]=1;for(const t of r)"%%%%FIELDNAME"!==t.name&&(e[t.name.toLowerCase()]=1);let t=0;for(const n of r)if("%%%%FIELDNAME"===n.name){for(;1===e["field_"+t.toString()];)t++;e["field_"+t.toString()]=1,n.name="FIELD_"+t.toString()}}for(const n of r)await x(n.expression,e,t);return i[0].groupby(r,[])}return function(e,t,n,r){if(1===r.length){if((0,c.a)(r[0]))return(0,E.t)(e,r[0],-1);if((0,c.b)(r[0]))return(0,E.t)(e,r[0].toArray(),-1)}return(0,E.t)(e,r,-1)}("distinct",0,0,i)}))})}}}]);