@arcgis/core 5.0.0-next.53 → 5.0.0-next.54

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 (724) hide show
  1. package/Basemap.d.ts +1 -1
  2. package/Color.js +1 -1
  3. package/PopupTemplate.d.ts +2 -2
  4. package/WebLinkChart.d.ts +1 -1
  5. package/applications/Components/QuantityFormatter.d.ts +7 -7
  6. package/applications/Components/analysisUtils.d.ts +28 -53
  7. package/applications/Components/baUtils.d.ts +8 -0
  8. package/applications/Components/featureUtils.d.ts +1 -1
  9. package/applications/Components/imageryUtils.d.ts +2 -2
  10. package/applications/Components/layerOriginUtils.d.ts +3 -3
  11. package/applications/Components/reactiveUtils.d.ts +24 -5
  12. package/applications/Excalibur/videoViewUtils.d.ts +2 -2
  13. package/applications/ExperienceBuilder/sketchUtils.d.ts +6 -6
  14. package/applications/KnowledgeStudio/generalSdkInternalAccess.d.ts +7 -13
  15. package/applications/KnowledgeStudio/generalSharedKgUtils.d.ts +7 -7
  16. package/applications/KnowledgeStudio/reshape.d.ts +6 -15
  17. package/applications/MapViewer/mediaUtils.d.ts +4 -4
  18. package/applications/MapViewer/templateUtils.d.ts +3 -3
  19. package/applications/PortalApp/layerUtils.d.ts +10 -0
  20. package/applications/PortalApp/layerUtils.js +5 -0
  21. package/arcade/featureSetUtils.js +1 -1
  22. package/arcade/featureset/support/shared.js +1 -1
  23. package/arcade.d.ts +33 -17
  24. package/assets/esri/core/workers/RemoteClient.js +1 -1
  25. package/assets/esri/core/workers/chunks/{5aa354854219361f722b.js → 0099f4729c94c779ba35.js} +1 -1
  26. package/assets/esri/core/workers/chunks/00e407d262c49890afa8.js +1 -0
  27. package/assets/esri/core/workers/chunks/{15a0750c10b510564a42.js → 01d38a9ca9e88c38aab9.js} +1 -1
  28. package/assets/esri/core/workers/chunks/087cf25ca211836a084a.js +1 -0
  29. package/assets/esri/core/workers/chunks/{a3f23f08337e101e4e64.js → 097001462d93b78b64f4.js} +1 -1
  30. package/assets/esri/core/workers/chunks/0a39c6dc57bd60d5587e.js +1 -0
  31. package/assets/esri/core/workers/chunks/0d1e8d5d9abee38e275e.js +316 -0
  32. package/assets/esri/core/workers/chunks/{cef873da468668eb95cb.js → 18cc131fd63d8c15df54.js} +3 -4
  33. package/assets/esri/core/workers/chunks/{da922e861d5845ae0979.js → 1ab98591d2f2bc604505.js} +1 -1
  34. package/assets/esri/core/workers/chunks/1b2e17c04c34cfa671a1.js +1 -0
  35. package/assets/esri/core/workers/chunks/211837df0edada4414c5.js +1 -0
  36. package/assets/esri/core/workers/chunks/22b07c54a5fcc27771b0.js +1 -0
  37. package/assets/esri/core/workers/chunks/{cd8fec3500e6503ae020.js → 23a9dd9454d5249bbd59.js} +1 -1
  38. package/assets/esri/core/workers/chunks/311c4914a4f69f3c1525.js +1 -0
  39. package/assets/esri/core/workers/chunks/316f3e93aa0db48ef129.js +1 -0
  40. package/assets/esri/core/workers/chunks/{108675a17e432a02cf66.js → 35cbc61a006351620ead.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{1bf4b5e5402790ccb450.js → 369f37060608342a4262.js} +1 -1
  42. package/assets/esri/core/workers/chunks/3b5e71b156244789f624.js +1 -0
  43. package/assets/esri/core/workers/chunks/3f0959b1abafe516146e.js +1 -0
  44. package/assets/esri/core/workers/chunks/{553ca1e55e9f1359839c.js → 44c228388a95fa958827.js} +1 -1
  45. package/assets/esri/core/workers/chunks/454c15367cccbf63af7a.js +1 -0
  46. package/assets/esri/core/workers/chunks/{f3d8d5fe15501220792d.js → 495b11fdecc3ba90d454.js} +1 -1
  47. package/assets/esri/core/workers/chunks/4f33a2ecb154a2c2449c.js +1 -0
  48. package/assets/esri/core/workers/chunks/{b1d3d2c93c189e215f67.js → 5047acfd66539eefe353.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{cddce67919e13e2f365e.js → 51fd6662245b920af652.js} +1 -1
  50. package/assets/esri/core/workers/chunks/52726458f590e726d52c.js +1 -0
  51. package/assets/esri/core/workers/chunks/{d677b378449257103ec4.js → 58cf5b9a6aa685fc3367.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{395a0773ccafd1f24c4d.js → 5d31fbabaa875f8627c0.js} +1 -1
  53. package/assets/esri/core/workers/chunks/67a45faa80316f43c51b.js +1 -0
  54. package/assets/esri/core/workers/chunks/6d09965ab2bff9da88b6.js +1 -0
  55. package/assets/esri/core/workers/chunks/{521aac8a665e98e4ca78.js → 700122f775b98a7ed353.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{a92c1171314a68504c1b.js → 7353d78feba7e6302b6e.js} +1 -1
  57. package/assets/esri/core/workers/chunks/{13ce8e8d45779b11ee12.js → 7f4fa2f2e85863d3cfb9.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{a4f89568205d78d91cfe.js → 80c36f1786ae0be00962.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{549f4ab9e285deaf04fb.js → 81d89107ff82604a3ea0.js} +1 -1
  60. package/assets/esri/core/workers/chunks/8208c073e606973ea1ad.js +1 -0
  61. package/assets/esri/core/workers/chunks/{62ed6b45482e39d67785.js → 893a5ab0c2df9262efd8.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{1f0c7ab33e466a37c7f9.js → 8c1f1eb36198ce40ef13.js} +1 -1
  63. package/assets/esri/core/workers/chunks/92928c56b312e1514600.js +1 -0
  64. package/assets/esri/core/workers/chunks/94929cf2b9fc66a93882.js +1 -0
  65. package/assets/esri/core/workers/chunks/94f02082a006003ef5a9.js +1 -0
  66. package/assets/esri/core/workers/chunks/951e3c911a3486b1e609.js +1 -0
  67. package/assets/esri/core/workers/chunks/{54666586754949bfa584.js → 983356eb4fd0a0dcf3fd.js} +1 -1
  68. package/assets/esri/core/workers/chunks/a16e75ff5cd9b22be197.js +1 -0
  69. package/assets/esri/core/workers/chunks/{36d9208895abd1ba4ff1.js → a623676c74745e040a2a.js} +1 -1
  70. package/assets/esri/core/workers/chunks/{1065fd655bb7cee243fd.js → a624dd283d264dce35a8.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{2dfaead2ec6434513d45.js → a6742abe3ebe371e85f1.js} +1 -1
  72. package/assets/esri/core/workers/chunks/acc7ff44bfcb5c195114.js +1 -0
  73. package/assets/esri/core/workers/chunks/ad92427bf597a6e0a299.js +1 -0
  74. package/assets/esri/core/workers/chunks/{640085b5ade5c7f16228.js → b285de471ca90f38ec25.js} +1 -1
  75. package/assets/esri/core/workers/chunks/b8f83a272fc41765031d.js +1 -0
  76. package/assets/esri/core/workers/chunks/{19270a2de33f2662005b.js → b93f2bd6429879f92143.js} +1 -1
  77. package/assets/esri/core/workers/chunks/be6cc8a1485961f22372.js +1 -0
  78. package/assets/esri/core/workers/chunks/{bf5a120bc0c4851dbb69.js → bef2a70d382515b3c84e.js} +1 -1
  79. package/assets/esri/core/workers/chunks/{e2973e5626e5039209f9.js → c448540065690cac0744.js} +1 -1
  80. package/assets/esri/core/workers/chunks/cc67f066c3c0c2a1a37c.js +33 -0
  81. package/assets/esri/core/workers/chunks/{95057105f1b3bf805140.js → cd2ea924cb91cdb6dde9.js} +1 -1
  82. package/assets/esri/core/workers/chunks/d199deff988eaefe18b4.js +1 -0
  83. package/assets/esri/core/workers/chunks/{2ef4c0092c59a98a5532.js → d54988c21ea5667d00b7.js} +1 -1
  84. package/assets/esri/core/workers/chunks/d94a2ad5a91de7086fbe.js +1 -0
  85. package/assets/esri/core/workers/chunks/{23396a6318edf9264c1f.js → dcf6f7001f470f76bd3e.js} +1 -1
  86. package/assets/esri/core/workers/chunks/{cd39a53ef74f47604977.js → e03c706e327f4989280a.js} +1 -1
  87. package/assets/esri/core/workers/chunks/e47535f795b15608a6cb.js +1 -0
  88. package/assets/esri/core/workers/chunks/e572ffc1d000e4e6325f.js +1 -0
  89. package/assets/esri/core/workers/chunks/ed38c1043e6a83f49f93.js +1 -0
  90. package/assets/esri/core/workers/chunks/{11ab10668632648b2ba7.js → f2e8abb556a380cc2941.js} +1 -1
  91. package/assets/esri/core/workers/chunks/f44f358db5c56d5bbc0c.js +1 -0
  92. package/assets/esri/core/workers/chunks/fa95c9248fbfab338f2e.js +1 -0
  93. package/chunks/ComponentShader.glsl.js +29 -29
  94. package/chunks/Haze.glsl.js +15 -21
  95. package/config.d.ts +1 -1
  96. package/config.js +1 -1
  97. package/core/Collection.d.ts +1 -1
  98. package/core/Error.d.ts +1 -1
  99. package/core/Evented.d.ts +1 -1
  100. package/core/accessorSupport/decorators.d.ts +1 -1
  101. package/core/colorUtils.js +1 -1
  102. package/editing/sharedTemplates/SharedTemplate.d.ts +1 -1
  103. package/editing/sharedTemplates/SharedTemplateMetadata.d.ts +1 -1
  104. package/geometry/Mesh.d.ts +1 -2
  105. package/geometry/coordinateFormatter.d.ts +1 -1
  106. package/geometry/projectionUtils.js +1 -1
  107. package/geometry/support/MeshMaterial.d.ts +1 -1
  108. package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
  109. package/geometry/support/MeshTexture.d.ts +1 -1
  110. package/geometry/support/meshUtils/{interfaces.d.ts → types.d.ts} +10 -1
  111. package/geometry/support/meshUtils.d.ts +1 -1
  112. package/geometry/support/normalizeUtils.d.ts +1 -1
  113. package/geometry/support/typeUtils.d.ts +3 -1
  114. package/geometry/support/typeUtils.js +1 -1
  115. package/geometry/types.d.ts +5 -0
  116. package/interfaces.d.ts +758 -786
  117. package/intl/date.d.ts +1 -1
  118. package/kernel.js +1 -1
  119. package/layers/CSVLayer.d.ts +3 -3
  120. package/layers/CatalogLayer.d.ts +1 -1
  121. package/layers/FeatureLayer.d.ts +1 -1
  122. package/layers/GaussianSplatLayer.d.ts +22 -0
  123. package/layers/GeoJSONLayer.d.ts +3 -3
  124. package/layers/ImageryTileLayer.d.ts +9 -9
  125. package/layers/MapImageLayer.d.ts +2 -2
  126. package/layers/OrientedImageryLayer.d.ts +2 -2
  127. package/layers/ParquetLayer.d.ts +1 -1
  128. package/layers/RouteLayer.d.ts +3 -3
  129. package/layers/SceneLayer.d.ts +3 -3
  130. package/layers/SubtypeGroupLayer.d.ts +1 -1
  131. package/layers/VectorTileLayer.d.ts +3 -3
  132. package/layers/VideoLayer.d.ts +2 -2
  133. package/layers/WCSLayer.d.ts +1 -1
  134. package/layers/WFSLayer.d.ts +3 -3
  135. package/layers/catalog/CatalogFootprintLayer.d.ts +3 -3
  136. package/layers/graphics/sources/OGCFeatureSource.js +1 -1
  137. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  138. package/layers/graphics/sources/support/clientSideDefaults.js +1 -1
  139. package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +2 -2
  140. package/layers/knowledgeGraph/layerUtils.js +1 -1
  141. package/layers/mixins/ArcGISImageService.d.ts +7 -7
  142. package/layers/mixins/BlendLayer.d.ts +2 -2
  143. package/layers/mixins/EditBusLayer.d.ts +6 -0
  144. package/layers/mixins/FeatureLayerBase.d.ts +2 -2
  145. package/layers/mixins/ImageryTileMixin.d.ts +4 -4
  146. package/layers/mixins/properties/ILayerWithGetFeatureTitle.d.ts +1 -1
  147. package/layers/ogc/wcsUtils.d.ts +1 -1
  148. package/layers/orientedImagery/transformations/imageToWorld.d.ts +2 -2
  149. package/layers/orientedImagery/transformations/{interfaces.d.ts → types.d.ts} +1 -1
  150. package/layers/orientedImagery/transformations/worldToImage.d.ts +2 -2
  151. package/layers/raster/datasets/wcsCapabilitiesParser.d.ts +1 -1
  152. package/layers/raster/datasets/wcsCoverageParser.d.ts +1 -1
  153. package/layers/raster/functions/creators/createAppearenceFunctions.d.ts +2 -2
  154. package/layers/raster/functions/creators/createBandIndexFunctions.d.ts +1 -1
  155. package/layers/raster/functions/creators/createChangeFunctions.d.ts +1 -1
  156. package/layers/raster/functions/creators/createConversionFunctions.d.ts +1 -1
  157. package/layers/raster/functions/creators/createDataManagementFunctions.d.ts +2 -2
  158. package/layers/raster/functions/creators/createLocalFunctions.d.ts +1 -1
  159. package/layers/raster/functions/creators/createMultiRasterAnalysisFunctions.d.ts +1 -1
  160. package/layers/raster/functions/creators/createStatisticsFunctions.d.ts +1 -1
  161. package/layers/raster/functions/creators/createSurfaceFunctions.d.ts +1 -1
  162. package/layers/support/ControlPoint.d.ts +3 -3
  163. package/layers/support/ControlPointsGeoreference.d.ts +6 -6
  164. package/layers/support/EditingCapabilities.d.ts +2 -2
  165. package/layers/support/FeatureEffect.d.ts +3 -3
  166. package/layers/support/LabelClass.d.ts +1 -1
  167. package/layers/support/RasterInfo.d.ts +1 -1
  168. package/layers/support/SpriteSource.d.ts +1 -1
  169. package/layers/support/StreamConnection.d.ts +1 -1
  170. package/layers/support/Sublayer.d.ts +1 -1
  171. package/layers/support/SubtypeSublayer.d.ts +2 -2
  172. package/layers/support/TimeInfo.d.ts +1 -1
  173. package/layers/support/capabilities.js +1 -1
  174. package/layers/support/layerUtils.js +1 -1
  175. package/layers/support/rasterFunctionUtils.d.ts +1 -1
  176. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  177. package/layers/support/{interfaces.d.ts → types.d.ts} +6 -6
  178. package/layers/{interfaces.d.ts → types.d.ts} +18 -1
  179. package/linkChart/ChronologicalLayoutSettings.d.ts +1 -1
  180. package/linkChart/OrganicLayoutSettings.d.ts +1 -1
  181. package/networks/Network.d.ts +4 -4
  182. package/networks/UtilityNetwork.d.ts +8 -8
  183. package/networks/support/TopologyValidationJobInfo.d.ts +1 -1
  184. package/networks/support/TraceJobInfo.d.ts +1 -1
  185. package/package.json +1 -1
  186. package/popup/content/CustomContent.d.ts +1 -1
  187. package/portal/PortalItem.d.ts +1 -1
  188. package/portal/PortalItemResource.d.ts +1 -1
  189. package/portal/PortalUser.d.ts +2 -2
  190. package/renderers/FlowRenderer.d.ts +1 -1
  191. package/renderers/RasterStretchRenderer.d.ts +2 -2
  192. package/renderers/Renderer.d.ts +1 -1
  193. package/renderers/VectorFieldRenderer.d.ts +1 -1
  194. package/renderers/mixins/VisualVariablesMixin.d.ts +3 -3
  195. package/renderers/support/AuthoringInfo.d.ts +1 -1
  196. package/renderers/support/rasterRendererHelper.d.ts +1 -1
  197. package/renderers/support/renderingInfoUtils.js +1 -1
  198. package/renderers/{interfaces.d.ts → types.d.ts} +3 -1
  199. package/renderers/visualVariables/SizeVariable.d.ts +1 -1
  200. package/renderers/visualVariables/VisualVariable.d.ts +1 -1
  201. package/request/{interfaces.d.ts → types.d.ts} +10 -10
  202. package/request.d.ts +4 -4
  203. package/rest/closestFacility.d.ts +1 -1
  204. package/rest/featureService/FeatureService.d.ts +1 -1
  205. package/rest/featureService/FeatureService.js +1 -1
  206. package/rest/featureService/{interfaces.d.ts → types.d.ts} +16 -3
  207. package/rest/featureService/utils.d.ts +1 -1
  208. package/rest/find.d.ts +1 -1
  209. package/rest/geometryService.d.ts +1 -1
  210. package/rest/geoprocessor.d.ts +1 -1
  211. package/rest/identify.d.ts +1 -1
  212. package/rest/imageService.d.ts +5 -5
  213. package/rest/knowledgeGraphService.d.ts +19 -19
  214. package/rest/lastMileDelivery.d.ts +1 -1
  215. package/rest/locator.d.ts +1 -1
  216. package/rest/networkService.d.ts +1 -1
  217. package/rest/networks/queryAssociations.d.ts +1 -1
  218. package/rest/networks/synthesizeAssociationGeometries.d.ts +1 -1
  219. package/rest/networks/trace.d.ts +1 -1
  220. package/rest/places.d.ts +1 -1
  221. package/rest/print.d.ts +2 -2
  222. package/rest/query.d.ts +2 -2
  223. package/rest/route.d.ts +1 -1
  224. package/rest/serviceArea.d.ts +1 -1
  225. package/rest/support/AddressToLocationsParameters.d.ts +1 -1
  226. package/rest/support/AddressesToLocationsParameters.d.ts +1 -1
  227. package/rest/support/AttributeBinsQuery.d.ts +3 -3
  228. package/rest/support/JobInfo.d.ts +2 -2
  229. package/rest/support/LastMileDeliveryParameters.d.ts +1 -1
  230. package/rest/support/LocationToAddressParameters.d.ts +1 -1
  231. package/rest/support/ParameterValue.d.ts +1 -1
  232. package/rest/support/ProjectParameters.d.ts +1 -1
  233. package/rest/symbolService.d.ts +3 -3
  234. package/smartMapping/heuristics/binLevel.d.ts +1 -1
  235. package/smartMapping/heuristics/scaleRange.d.ts +1 -1
  236. package/smartMapping/heuristics/sizeRange.d.ts +1 -1
  237. package/smartMapping/heuristics/{interfaces.d.ts → types.d.ts} +1 -1
  238. package/smartMapping/popup/clusters.d.ts +1 -1
  239. package/smartMapping/popup/templates.d.ts +1 -1
  240. package/smartMapping/raster/renderers/classBreaks.d.ts +2 -2
  241. package/smartMapping/raster/renderers/colormap.d.ts +1 -1
  242. package/smartMapping/raster/renderers/flow.d.ts +4 -4
  243. package/smartMapping/raster/renderers/rgb.d.ts +2 -2
  244. package/smartMapping/raster/renderers/shadedRelief.d.ts +1 -1
  245. package/smartMapping/raster/renderers/stretch.d.ts +2 -2
  246. package/smartMapping/raster/renderers/{interfaces.d.ts → types.d.ts} +1 -1
  247. package/smartMapping/raster/renderers/uniqueValue.d.ts +1 -1
  248. package/smartMapping/raster/renderers/vectorField.d.ts +1 -1
  249. package/smartMapping/raster/support/utils.d.ts +1 -1
  250. package/smartMapping/renderers/color.d.ts +4 -4
  251. package/smartMapping/renderers/dotDensity.d.ts +3 -3
  252. package/smartMapping/renderers/heatmap.d.ts +3 -3
  253. package/smartMapping/renderers/location.d.ts +2 -2
  254. package/smartMapping/renderers/opacity.d.ts +3 -3
  255. package/smartMapping/renderers/pieChart.d.ts +3 -3
  256. package/smartMapping/renderers/predominance.d.ts +2 -2
  257. package/smartMapping/renderers/relationship.d.ts +4 -4
  258. package/smartMapping/renderers/size.d.ts +4 -4
  259. package/smartMapping/renderers/support/rendererUtils.d.ts +1 -1
  260. package/smartMapping/renderers/type.d.ts +3 -3
  261. package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
  262. package/smartMapping/statistics/classBreaks.d.ts +2 -2
  263. package/smartMapping/statistics/heatmapStatistics.d.ts +2 -2
  264. package/smartMapping/statistics/histogram.d.ts +1 -2
  265. package/smartMapping/statistics/predominantCategories.d.ts +2 -2
  266. package/smartMapping/statistics/summaryStatistics.d.ts +2 -2
  267. package/smartMapping/statistics/summaryStatisticsForAge.d.ts +1 -1
  268. package/smartMapping/statistics/support/ageUtils.d.ts +1 -1
  269. package/smartMapping/statistics/types.d.ts +571 -0
  270. package/smartMapping/statistics/uniqueValues.d.ts +2 -2
  271. package/smartMapping/symbology/color.d.ts +1 -1
  272. package/smartMapping/symbology/dotDensity.d.ts +1 -1
  273. package/smartMapping/symbology/flow.d.ts +1 -1
  274. package/smartMapping/symbology/heatmap.d.ts +1 -1
  275. package/smartMapping/symbology/location.d.ts +1 -1
  276. package/smartMapping/symbology/pieChart.d.ts +1 -1
  277. package/smartMapping/symbology/predominance.d.ts +1 -1
  278. package/smartMapping/symbology/relationship.d.ts +1 -1
  279. package/smartMapping/symbology/size.d.ts +1 -1
  280. package/smartMapping/symbology/support/colorRamps.d.ts +1 -1
  281. package/smartMapping/symbology/type.d.ts +1 -1
  282. package/smartMapping/types.d.ts +18 -0
  283. package/support/revision.js +1 -1
  284. package/support/tests/setupServiceMocksMesh.js +1 -1
  285. package/support/timeUtils.d.ts +1 -1
  286. package/symbols/LineStyleMarker3D.d.ts +1 -1
  287. package/symbols/LineSymbol3DLayer.d.ts +1 -1
  288. package/symbols/LineSymbolMarker.d.ts +1 -1
  289. package/symbols/PathSymbol3DLayer.d.ts +1 -1
  290. package/symbols/SimpleLineSymbol.d.ts +1 -1
  291. package/symbols/patterns/LineStylePattern3D.d.ts +1 -1
  292. package/symbols/patterns/StylePattern3D.d.ts +1 -1
  293. package/symbols/support/ElevationInfo.d.ts +1 -1
  294. package/symbols/support/Symbol3DOutline.d.ts +1 -1
  295. package/symbols/support/symbolUtils.d.ts +2 -2
  296. package/time/TimeExtent.d.ts +1 -1
  297. package/unionTypes.d.ts +3 -3
  298. package/versionManagement/VersionManagementService.d.ts +1 -1
  299. package/versionManagement/VersionManager.d.ts +3 -3
  300. package/versionManagement/VersioningState.d.ts +1 -1
  301. package/versionManagement/utils.d.ts +1 -1
  302. package/versionManagement/versionAdapters/utils.d.ts +7 -7
  303. package/views/2d/analysis/ElevationProfile/ElevationProfileLineVisualization2D.js +1 -1
  304. package/views/2d/analysis/ElevationProfile/ElevationProfileVisualization2D.js +1 -1
  305. package/views/2d/analysis/ElevationProfileAnalysisView2D.d.ts +1 -2
  306. package/views/2d/engine/vectorTiles/style/StyleProperty.js +1 -1
  307. package/views/2d/layers/BaseLayerView2D.d.ts +2 -2
  308. package/views/2d/layers/BaseLayerViewGL2D.d.ts +9 -9
  309. package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
  310. package/views/2d/{layers/support/interfaces.d.ts → types.d.ts} +68 -1
  311. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementVisualization.js +1 -1
  312. package/views/3d/analysis/Dimension/DimensionVisualization.js +1 -1
  313. package/views/3d/analysis/Dimension/LengthDimensionSubTool.js +1 -1
  314. package/views/3d/analysis/Dimension/lengthDimensionManipulatorUtils.js +1 -1
  315. package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementVisualization.js +1 -1
  316. package/views/3d/analysis/ElevationProfile/ElevationProfileLineVisualization3D.js +1 -1
  317. package/views/3d/analysis/ElevationProfile/ElevationProfileVisualization3D.js +1 -1
  318. package/views/3d/analysis/ElevationProfileAnalysisView3D.d.ts +1 -2
  319. package/views/3d/analysis/LineOfSight/LineOfSightManipulators.js +1 -1
  320. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  321. package/views/3d/analysis/LineOfSight/LineOfSightVisualization.js +1 -1
  322. package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +2 -2
  323. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  324. package/views/3d/analysis/Slice/ResizeManipulator.js +1 -1
  325. package/views/3d/analysis/Slice/RotateManipulator.js +1 -1
  326. package/views/3d/analysis/Slice/ShiftManipulator.js +1 -1
  327. package/views/3d/analysis/Viewshed/ViewshedArrowManipulator.js +1 -1
  328. package/views/3d/analysis/Viewshed/ViewshedConfiguration.js +1 -1
  329. package/views/3d/analysis/Viewshed/ViewshedFieldOfViewManipulation.js +1 -1
  330. package/views/3d/analysis/Viewshed/ViewshedSubVisualization.js +1 -1
  331. package/views/3d/analysis/Viewshed/viewshedToolManipulatorUtils.js +1 -1
  332. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  333. package/views/3d/environment/ChapmanAtmosphere.js +1 -1
  334. package/views/3d/environment/ChapmanAtmosphereTechnique.js +1 -1
  335. package/views/3d/environment/ChapmanRaymarching.glsl.js +6 -7
  336. package/views/3d/environment/PrecipitationTechnique.js +1 -1
  337. package/views/3d/environment/SimpleAtmosphereTechnique.js +1 -1
  338. package/views/3d/interactive/SnappingVisualizer3D.js +1 -1
  339. package/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +1 -1
  340. package/views/3d/interactive/editingTools/manipulations/MoveXYAxisManipulation.js +1 -1
  341. package/views/3d/interactive/editingTools/manipulations/MoveXYDiscManipulation.js +1 -1
  342. package/views/3d/interactive/editingTools/manipulations/MoveZManipulation.js +1 -1
  343. package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
  344. package/views/3d/interactive/editingTools/settings.js +1 -1
  345. package/views/3d/interactive/measurementTools/areaMeasurement3D/AreaMeasurement3DView.js +1 -1
  346. package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DView.js +1 -1
  347. package/views/3d/layers/I3SMeshView3D.js +1 -1
  348. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  349. package/views/3d/layers/SceneLayerWorker.js +1 -1
  350. package/views/3d/layers/{I3SMeshWorkerHandle.js → SceneLayerWorkerHandle.js} +1 -1
  351. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  352. package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
  353. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  354. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  355. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  356. package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
  357. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  358. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  359. package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
  360. package/views/3d/layers/graphics/pipeline/symbolization/IconSymbolLayerRenderer.js +1 -1
  361. package/views/3d/layers/i3s/I3SClientMaterialUtil.js +1 -1
  362. package/views/3d/layers/support/edgeUtils.js +1 -1
  363. package/views/3d/support/flow/geometryUtils.js +1 -1
  364. package/views/3d/support/viewpointUtils.js +1 -1
  365. package/views/3d/terrain/BlendLayersTechnique.js +1 -1
  366. package/views/3d/terrain/RasterColorizerTechnique.js +1 -1
  367. package/views/3d/terrain/TerrainRenderer.js +1 -1
  368. package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
  369. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  370. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
  371. package/views/3d/webgl-engine/collections/Component/SourceGeometry.js +1 -1
  372. package/views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js +1 -2
  373. package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +18 -27
  374. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
  375. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
  376. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskTechnique.js +1 -1
  377. package/views/3d/webgl-engine/effects/focusArea/FocusAreaOutlineItem.js +1 -1
  378. package/views/3d/webgl-engine/effects/haze/HazeTechnique.js +1 -1
  379. package/views/3d/webgl-engine/effects/highlight/HighlightApplyTechnique.js +1 -1
  380. package/views/3d/webgl-engine/effects/highlight/HighlightBlurTechnique.js +1 -1
  381. package/views/3d/webgl-engine/effects/highlight/HighlightToSingleTechnique.js +1 -1
  382. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
  383. package/views/3d/webgl-engine/effects/laserlines/LaserlinePathData.js +1 -1
  384. package/views/3d/webgl-engine/effects/laserlines/LaserlinePathTechnique.js +1 -1
  385. package/views/3d/webgl-engine/effects/stars/StarsTechnique.js +1 -1
  386. package/views/3d/webgl-engine/lib/CutFillColor.js +1 -1
  387. package/views/3d/webgl-engine/lib/DefaultVertexBufferLayouts.js +1 -1
  388. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  389. package/views/3d/webgl-engine/lib/TextRenderParameters.js +1 -1
  390. package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechnique.js +1 -1
  391. package/views/3d/webgl-engine/lib/edgeRendering/bufferLayouts.js +1 -1
  392. package/views/3d/webgl-engine/materials/DefaultLayouts.js +1 -1
  393. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  394. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  395. package/views/3d/webgl-engine/materials/WaterTechnique.js +1 -1
  396. package/views/3d/webgl-engine/shaders/CheckerBoardTechnique.js +1 -1
  397. package/views/3d/webgl-engine/shaders/ColorMaterialTechnique.js +1 -1
  398. package/views/3d/webgl-engine/shaders/CutFillMaskTechnique.js +1 -1
  399. package/views/3d/webgl-engine/shaders/CutFillTargetDepthTechnique.js +1 -1
  400. package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
  401. package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
  402. package/views/3d/webgl-engine/shaders/HeatmapDensityTechnique.js +1 -1
  403. package/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +1 -1
  404. package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
  405. package/views/3d/webgl-engine/shaders/LineMarkerTechnique.js +1 -1
  406. package/views/3d/webgl-engine/shaders/MeasurementArrowTechnique.js +1 -1
  407. package/views/3d/webgl-engine/shaders/NativeLineTechnique.js +1 -1
  408. package/views/3d/webgl-engine/shaders/PatternTechnique.js +1 -1
  409. package/views/3d/webgl-engine/shaders/PointRendererTechnique.js +1 -1
  410. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  411. package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechnique.js +1 -1
  412. package/views/3d/webgl-engine/shaders/SlicePlaneMaterialTechnique.js +1 -1
  413. package/views/3d/webgl-engine/shaders/TerrainTechnique.js +1 -1
  414. package/views/LinkChartView.d.ts +5 -5
  415. package/views/Magnifier.d.ts +1 -1
  416. package/views/MapView.d.ts +11 -12
  417. package/views/PopupView.d.ts +1 -1
  418. package/views/SceneView.d.ts +6 -7
  419. package/views/SceneViewHitTestResult.d.ts +1 -1
  420. package/views/View2D.d.ts +8 -8
  421. package/views/analysis/ElevationProfile/ElevationProfileHoveredPointVisualization.js +1 -1
  422. package/views/analysis/ElevationProfile/ElevationProfileResult.d.ts +1 -1
  423. package/views/analysis/ElevationProfile/types.d.ts +68 -0
  424. package/views/analysis/types.d.ts +2 -2
  425. package/views/draw/Draw.d.ts +1 -1
  426. package/views/draw/DrawAction.d.ts +1 -1
  427. package/views/input/IViewEvents.d.ts +1 -1
  428. package/views/interactive/Tooltip.d.ts +1 -1
  429. package/views/interactive/sketch/SketchValueOptions.d.ts +1 -1
  430. package/views/interactive/tooltip/types.d.ts +4 -0
  431. package/views/layers/BuildingComponentSublayerView.d.ts +1 -1
  432. package/views/layers/BuildingSceneLayerView.d.ts +1 -1
  433. package/views/layers/ImageryLayerViewMixin.d.ts +1 -1
  434. package/views/layers/PointCloudLayerView.d.ts +1 -1
  435. package/views/navigation/NavigationActionMap.d.ts +1 -1
  436. package/views/support/colorUtils.d.ts +1 -1
  437. package/views/{interfaces.d.ts → types.d.ts} +91 -5
  438. package/views/ui/DefaultUI.d.ts +1 -1
  439. package/views/ui/UI.d.ts +1 -1
  440. package/webdoc/widgets/FloorFilter.d.ts +2 -2
  441. package/webdoc/widgets/TimeSlider.d.ts +5 -5
  442. package/webmap/InitialViewProperties.d.ts +2 -2
  443. package/webscene/Environment.d.ts +3 -3
  444. package/webscene/InitialViewProperties.d.ts +0 -1
  445. package/webscene/Slide.d.ts +36 -4
  446. package/webscene/Slide.js +1 -1
  447. package/webscene/support/SlidePopupInfo.d.ts +2 -2
  448. package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.d.ts +1 -1
  449. package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +7 -1
  450. package/widgets/AreaMeasurement3D.d.ts +1 -0
  451. package/widgets/Attachments/AttachmentsViewModel.d.ts +1 -1
  452. package/widgets/Attachments.d.ts +1 -1
  453. package/widgets/Attribution/AttributionViewModel.d.ts +2 -2
  454. package/widgets/BasemapGallery/support/LocalBasemapsSource.d.ts +1 -1
  455. package/widgets/BasemapGallery/support/PortalBasemapsSource.d.ts +1 -1
  456. package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +2 -2
  457. package/widgets/BasemapLayerList.d.ts +1 -1
  458. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +4 -4
  459. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.d.ts +1 -1
  460. package/widgets/BatchAttributeForm/inputs/EditableInput.d.ts +1 -1
  461. package/widgets/BatchAttributeForm/inputs/GroupInput.d.ts +1 -1
  462. package/widgets/BatchAttributeForm/inputs/InputBase.d.ts +1 -1
  463. package/widgets/BatchAttributeForm/inputs/SingleFeatureInput.d.ts +1 -1
  464. package/widgets/BatchAttributeForm.d.ts +1 -1
  465. package/widgets/Bookmarks/BookmarksViewModel.d.ts +5 -5
  466. package/widgets/Bookmarks/{interfaces.d.ts → types.d.ts} +1 -1
  467. package/widgets/Bookmarks.d.ts +5 -5
  468. package/widgets/BuildingExplorer/BuildingExplorerViewModel.d.ts +1 -0
  469. package/widgets/BuildingExplorer/BuildingLevel.d.ts +1 -0
  470. package/widgets/BuildingExplorer/BuildingNumericFilterViewModel.d.ts +1 -0
  471. package/widgets/BuildingExplorer/BuildingPhase.d.ts +1 -0
  472. package/widgets/BuildingExplorer.d.ts +3 -0
  473. package/widgets/CatalogLayerList/CatalogLayerListViewModel.d.ts +2 -2
  474. package/widgets/CatalogLayerList.d.ts +1 -1
  475. package/widgets/Compass/CompassViewModel.d.ts +1 -1
  476. package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +4 -4
  477. package/widgets/CoordinateConversion/support/Conversion.d.ts +1 -1
  478. package/widgets/CoordinateConversion/support/Format.d.ts +2 -2
  479. package/widgets/CoordinateConversion.d.ts +1 -1
  480. package/widgets/Daylight/DaylightViewModel.d.ts +3 -1
  481. package/widgets/Daylight/VisibleElements.d.ts +3 -0
  482. package/widgets/Daylight/types.d.ts +6 -0
  483. package/widgets/Daylight.d.ts +4 -2
  484. package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +7 -1
  485. package/widgets/DirectLineMeasurement3D.d.ts +1 -0
  486. package/widgets/Directions/DirectionsViewModel.d.ts +3 -3
  487. package/widgets/Directions.d.ts +3 -3
  488. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.d.ts +1 -1
  489. package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
  490. package/widgets/Editor/CreateFeaturesWorkflowData.d.ts +2 -2
  491. package/widgets/Editor/EditorViewModel.d.ts +5 -5
  492. package/widgets/Editor/MergeFeaturesWorkflow.d.ts +1 -1
  493. package/widgets/Editor/SplitFeatureWorkflow.d.ts +1 -1
  494. package/widgets/Editor/SplitFeatureWorkflowData.d.ts +1 -1
  495. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  496. package/widgets/Editor/UpdateFeaturesWorkflow.d.ts +1 -1
  497. package/widgets/Editor/UpdateFeaturesWorkflowData.d.ts +1 -1
  498. package/widgets/Editor/UpdateWorkflow.d.ts +1 -1
  499. package/widgets/Editor/Workflow.d.ts +1 -1
  500. package/widgets/Editor/support/EditorEditingCapabilities.d.ts +9 -9
  501. package/widgets/Editor/support/EditorItem.d.ts +4 -4
  502. package/widgets/Editor/support/SketchController.js +1 -1
  503. package/widgets/Editor/{interfaces.d.ts → types.d.ts} +1 -1
  504. package/widgets/Editor.d.ts +9 -9
  505. package/widgets/ElevationProfile/ElevationProfileLine.d.ts +2 -1
  506. package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -0
  507. package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -0
  508. package/widgets/ElevationProfile/ElevationProfileLineQuery.d.ts +2 -1
  509. package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +2 -0
  510. package/widgets/ElevationProfile/ElevationProfileViewModel.d.ts +3 -5
  511. package/widgets/ElevationProfile/ElevationProfileVisibleElements.d.ts +3 -0
  512. package/widgets/ElevationProfile/support/ProfileLines3D.js +1 -1
  513. package/widgets/ElevationProfile/types.d.ts +149 -0
  514. package/widgets/ElevationProfile.d.ts +6 -5
  515. package/widgets/Expand/ExpandViewModel.d.ts +1 -1
  516. package/widgets/Expand.d.ts +2 -2
  517. package/widgets/Feature/FeatureViewModel.d.ts +5 -5
  518. package/widgets/Feature.d.ts +2 -2
  519. package/widgets/FeatureForm/EditableInput.d.ts +1 -1
  520. package/widgets/FeatureForm/FeatureFormViewModel.d.ts +3 -3
  521. package/widgets/FeatureForm/GroupInput.d.ts +1 -1
  522. package/widgets/FeatureForm.d.ts +2 -2
  523. package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
  524. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +3 -4
  525. package/widgets/FeatureTable/Grid/Column.d.ts +2 -3
  526. package/widgets/FeatureTable/Grid/{support/interfaces.d.ts → types.d.ts} +57 -0
  527. package/widgets/FeatureTable/RelationshipColumn.d.ts +1 -1
  528. package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +2 -3
  529. package/widgets/FeatureTable/support/interfaces.d.ts +2 -3
  530. package/widgets/FeatureTable.d.ts +3 -4
  531. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +4 -4
  532. package/widgets/FeatureTemplates/TemplateItem.d.ts +1 -1
  533. package/widgets/FeatureTemplates/{interfaces.d.ts → types.d.ts} +1 -1
  534. package/widgets/FeatureTemplates.d.ts +3 -3
  535. package/widgets/Features/FeaturesViewModel.d.ts +11 -11
  536. package/widgets/Features.d.ts +10 -10
  537. package/widgets/Histogram/HistogramViewModel.d.ts +3 -3
  538. package/widgets/Histogram.d.ts +3 -3
  539. package/widgets/HistogramRangeSlider/HistogramRangeSliderViewModel.d.ts +3 -3
  540. package/widgets/HistogramRangeSlider.d.ts +11 -11
  541. package/widgets/LayerList/LayerListViewModel.d.ts +1 -1
  542. package/widgets/LayerList/ListItem.d.ts +1 -1
  543. package/widgets/LayerList.d.ts +1 -1
  544. package/widgets/Legend/LegendViewModel.d.ts +1 -1
  545. package/widgets/Legend/support/ActiveLayerInfo.d.ts +1 -1
  546. package/widgets/Legend.d.ts +1 -1
  547. package/widgets/LineOfSight/LineOfSightTarget.d.ts +1 -0
  548. package/widgets/LineOfSight/LineOfSightViewModel.d.ts +1 -0
  549. package/widgets/LineOfSight.d.ts +1 -0
  550. package/widgets/Locate/LocateViewModel.d.ts +1 -1
  551. package/widgets/Locate.d.ts +1 -1
  552. package/widgets/Measurement/MeasurementViewModel.d.ts +2 -2
  553. package/widgets/Measurement.d.ts +1 -1
  554. package/widgets/Popup.d.ts +7 -7
  555. package/widgets/Print/CustomTemplate.d.ts +1 -1
  556. package/widgets/Print/PrintViewModel.d.ts +2 -2
  557. package/widgets/Print.d.ts +1 -1
  558. package/widgets/ScaleRangeSlider.d.ts +2 -2
  559. package/widgets/Search/LocatorSearchSource.d.ts +2 -2
  560. package/widgets/Search/SearchSource.d.ts +3 -3
  561. package/widgets/Search/types.d.ts +64 -0
  562. package/widgets/Search.d.ts +1 -1
  563. package/widgets/ShadowCast/ShadowCastViewModel.d.ts +1 -1
  564. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  565. package/widgets/Sketch/SketchViewModel.d.ts +5 -5
  566. package/widgets/Sketch/{support/interfaces.d.ts → types.d.ts} +17 -17
  567. package/widgets/Sketch.d.ts +1 -1
  568. package/widgets/Slice/SliceViewModel.d.ts +1 -0
  569. package/widgets/Slice.d.ts +1 -0
  570. package/widgets/Slider/SliderViewModel.d.ts +3 -3
  571. package/widgets/Slider/{interfaces.d.ts → types.d.ts} +2 -2
  572. package/widgets/Slider.d.ts +4 -4
  573. package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
  574. package/widgets/Swipe.d.ts +1 -1
  575. package/widgets/TableList/ListItem.d.ts +1 -1
  576. package/widgets/TableList/TableListViewModel.d.ts +2 -2
  577. package/widgets/TableList.d.ts +1 -1
  578. package/widgets/TimeSlider/TimeSliderViewModel.d.ts +5 -5
  579. package/widgets/TimeSlider.d.ts +14 -15
  580. package/widgets/TimeZoneLabel.d.ts +1 -2
  581. package/widgets/Track/TrackViewModel.d.ts +1 -1
  582. package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.js +1 -1
  583. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.d.ts +2 -2
  584. package/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js +1 -1
  585. package/widgets/ValuePicker/ValuePickerSlider.d.ts +1 -1
  586. package/widgets/ValuePicker.d.ts +2 -2
  587. package/widgets/VersionManagement/VersionManagementViewModel.d.ts +3 -3
  588. package/widgets/Weather/VisibleElements.d.ts +3 -0
  589. package/widgets/Weather/WeatherViewModel.d.ts +2 -1
  590. package/widgets/Weather/types.d.ts +9 -0
  591. package/widgets/Weather.d.ts +1 -0
  592. package/widgets/Widget.d.ts +2 -1
  593. package/widgets/smartMapping/BinaryColorSizeSlider.d.ts +0 -3
  594. package/widgets/smartMapping/ClassedColorSlider/ClassedColorSliderViewModel.d.ts +1 -3
  595. package/widgets/smartMapping/ClassedColorSlider.d.ts +2 -2
  596. package/widgets/smartMapping/ClassedSizeSlider/ClassedSizeSliderViewModel.d.ts +1 -2
  597. package/widgets/smartMapping/ClassedSizeSlider.d.ts +2 -2
  598. package/widgets/smartMapping/ColorSizeSlider/ColorSizeSliderViewModel.d.ts +5 -5
  599. package/widgets/smartMapping/ColorSizeSlider.d.ts +3 -2
  600. package/widgets/smartMapping/ColorSlider/ColorSliderViewModel.d.ts +1 -1
  601. package/widgets/smartMapping/ColorSlider.d.ts +1 -1
  602. package/widgets/smartMapping/HeatmapSlider/HeatmapSliderViewModel.d.ts +2 -4
  603. package/widgets/smartMapping/HeatmapSlider.d.ts +2 -4
  604. package/widgets/smartMapping/OpacitySlider/OpacitySliderViewModel.d.ts +1 -1
  605. package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
  606. package/widgets/smartMapping/SizeSlider.d.ts +2 -2
  607. package/widgets/smartMapping/SmartMappingPrimaryHandleSliderViewModel.d.ts +2 -2
  608. package/widgets/smartMapping/SmartMappingSliderBase.d.ts +11 -14
  609. package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +5 -6
  610. package/widgets/smartMapping/{support/interfaces.d.ts → types.d.ts} +52 -5
  611. package/widgets/support/GeolocationPositioning.d.ts +1 -1
  612. package/widgets/support/GridControls/GridControlsViewModel.d.ts +1 -1
  613. package/widgets/support/goToUtils.d.ts +1 -1
  614. package/widgets/{interfaces.d.ts → types.d.ts} +71 -15
  615. package/arcade/featureset/support/shared.d.ts +0 -16
  616. package/assets/esri/core/workers/chunks/0359ac6d938e0df936d0.js +0 -1
  617. package/assets/esri/core/workers/chunks/1db058f91a8e17b24db6.js +0 -1
  618. package/assets/esri/core/workers/chunks/1e286fb7bb833f00dd88.js +0 -1
  619. package/assets/esri/core/workers/chunks/262232437d37a7460b11.js +0 -1
  620. package/assets/esri/core/workers/chunks/2d6fa00273a73d44297d.js +0 -1
  621. package/assets/esri/core/workers/chunks/2fae37f34b28a46841e3.js +0 -1
  622. package/assets/esri/core/workers/chunks/3b1471f908fdecec2815.js +0 -1
  623. package/assets/esri/core/workers/chunks/48b3906ac3ec57253d90.js +0 -1
  624. package/assets/esri/core/workers/chunks/49b581782f63abb6dd9f.js +0 -1
  625. package/assets/esri/core/workers/chunks/4abe2c56aecc9e9b8e86.js +0 -1
  626. package/assets/esri/core/workers/chunks/51b78eca012eac92dd07.js +0 -1
  627. package/assets/esri/core/workers/chunks/5ce524e0060053f35592.js +0 -316
  628. package/assets/esri/core/workers/chunks/5d244fcf5c075afccdc6.js +0 -1
  629. package/assets/esri/core/workers/chunks/6b8c15f3970289e73a47.js +0 -1
  630. package/assets/esri/core/workers/chunks/6cfcfebe9a4c491e453a.js +0 -1
  631. package/assets/esri/core/workers/chunks/710b29729f252f11115d.js +0 -1
  632. package/assets/esri/core/workers/chunks/72a520802b8accfd4512.js +0 -1
  633. package/assets/esri/core/workers/chunks/73892ac79b24b05e6863.js +0 -33
  634. package/assets/esri/core/workers/chunks/75d8244b725a2aee2003.js +0 -1
  635. package/assets/esri/core/workers/chunks/93b139be6488a1b4ba19.js +0 -1
  636. package/assets/esri/core/workers/chunks/a5e7c9517939f762c518.js +0 -1
  637. package/assets/esri/core/workers/chunks/a63ff3e9a9f3853d12f3.js +0 -1
  638. package/assets/esri/core/workers/chunks/a81a7cba815adb575c36.js +0 -1
  639. package/assets/esri/core/workers/chunks/a8fd635d1165db8616ab.js +0 -1
  640. package/assets/esri/core/workers/chunks/b638ce18b93d3cfb9967.js +0 -1
  641. package/assets/esri/core/workers/chunks/ba7e97b1e324118b8156.js +0 -1
  642. package/assets/esri/core/workers/chunks/c0d6336c10b4081c4e32.js +0 -1
  643. package/assets/esri/core/workers/chunks/cc4ae105e727d9211d82.js +0 -1
  644. package/assets/esri/core/workers/chunks/d7a62504e00989202c45.js +0 -1
  645. package/assets/esri/core/workers/chunks/e25be3b6b67ce6b03011.js +0 -1
  646. package/assets/esri/core/workers/chunks/e5ac9b048b16fef9840c.js +0 -1
  647. package/assets/esri/core/workers/chunks/efa95c50d1ed8e74219f.js +0 -1
  648. package/assets/esri/core/workers/chunks/f379fd459a103f42d447.js +0 -1
  649. package/assets/esri/core/workers/chunks/ffcdc7ae03b0570e0db8.js +0 -1
  650. package/geometry/interfaces.d.ts +0 -2
  651. package/geometry/support/interfaces.d.ts +0 -3
  652. package/geometry/support/meshUtils/exporters/gltf/interfaces.d.ts +0 -11
  653. package/renderers/support/interfaces.d.ts +0 -2
  654. package/smartMapping/statistics/interfaces.d.ts +0 -571
  655. package/smartMapping/support/adapters/interfaces.d.ts +0 -18
  656. package/views/2d/interfaces.d.ts +0 -67
  657. package/views/analysis/ElevationProfile/ElevationProfileHoveredPointsVisualization.js +0 -5
  658. package/views/analysis/ElevationProfile/interfaces.d.ts +0 -73
  659. package/views/interactive/sketch/interfaces.d.ts +0 -2
  660. package/views/interactive/tooltip/interfaces.d.ts +0 -2
  661. package/views/support/interfaces.d.ts +0 -87
  662. package/widgets/Daylight/support/daylightUtils.d.ts +0 -4
  663. package/widgets/ElevationProfile/ElevationProfileInteraction.d.ts +0 -13
  664. package/widgets/ElevationProfile/elevationProfileLineTypes.d.ts +0 -6
  665. package/widgets/ElevationProfile/interfaces.d.ts +0 -103
  666. package/widgets/ElevationProfile/support/constants.d.ts +0 -14
  667. package/widgets/FeatureTable/Grid/interfaces.d.ts +0 -57
  668. package/widgets/Search/support/interfaces.d.ts +0 -67
  669. package/widgets/Weather/enums.d.ts +0 -9
  670. package/widgets/smartMapping/ClassedColorSlider/interfaces.d.ts +0 -19
  671. package/widgets/smartMapping/ClassedSizeSlider/interfaces.d.ts +0 -18
  672. package/widgets/smartMapping/interfaces.d.ts +0 -13
  673. package/widgets/support/interfaces.d.ts +0 -56
  674. /package/analysis/{interfaces.d.ts → types.d.ts} +0 -0
  675. /package/core/accessorSupport/{interfaces.d.ts → types.d.ts} +0 -0
  676. /package/core/{interfaces.d.ts → types.d.ts} +0 -0
  677. /package/editing/sharedTemplates/{interfaces.d.ts → types.d.ts} +0 -0
  678. /package/editing/{interfaces.d.ts → types.d.ts} +0 -0
  679. /package/layers/effects/{interfaces.d.ts → types.d.ts} +0 -0
  680. /package/layers/orientedImagery/{interfaces.d.ts → types.d.ts} +0 -0
  681. /package/layers/raster/datasets/{interfaces.d.ts → types.d.ts} +0 -0
  682. /package/layers/raster/functions/{interfaces.d.ts → types.d.ts} +0 -0
  683. /package/linkChart/{interfaces.d.ts → types.d.ts} +0 -0
  684. /package/popup/{interfaces.d.ts → types.d.ts} +0 -0
  685. /package/rest/lastMileDelivery/{interfaces.d.ts → types.d.ts} +0 -0
  686. /package/rest/{interfaces.d.ts → types.d.ts} +0 -0
  687. /package/smartMapping/popup/{interfaces.d.ts → types.d.ts} +0 -0
  688. /package/smartMapping/raster/support/adapters/{interfaces.d.ts → types.d.ts} +0 -0
  689. /package/smartMapping/symbology/{interfaces.d.ts → types.d.ts} +0 -0
  690. /package/statistics/{interfaces.d.ts → types.d.ts} +0 -0
  691. /package/symbols/support/{interfaces.d.ts → types.d.ts} +0 -0
  692. /package/symbols/{interfaces.d.ts → types.d.ts} +0 -0
  693. /package/time/{interfaces.d.ts → types.d.ts} +0 -0
  694. /package/versionManagement/versionAdapters/{interfaces.d.ts → types.d.ts} +0 -0
  695. /package/views/2d/analysis/{interfaces.d.ts → types.d.ts} +0 -0
  696. /package/views/3d/analysis/{interfaces.d.ts → types.d.ts} +0 -0
  697. /package/views/3d/{interfaces.d.ts → types.d.ts} +0 -0
  698. /package/views/draw/{interfaces.d.ts → types.d.ts} +0 -0
  699. /package/views/input/{interfaces.d.ts → types.d.ts} +0 -0
  700. /package/views/navigation/{interfaces.d.ts → types.d.ts} +0 -0
  701. /package/views/ui/{interfaces.d.ts → types.d.ts} +0 -0
  702. /package/widgets/Attachments/{interfaces.d.ts → types.d.ts} +0 -0
  703. /package/widgets/BasemapGallery/{interfaces.d.ts → types.d.ts} +0 -0
  704. /package/widgets/BasemapLayerList/{interfaces.d.ts → types.d.ts} +0 -0
  705. /package/widgets/BatchAttributeForm/inputs/{interfaces.d.ts → types.d.ts} +0 -0
  706. /package/widgets/BatchAttributeForm/{interfaces.d.ts → types.d.ts} +0 -0
  707. /package/widgets/CatalogLayerList/{interfaces.d.ts → types.d.ts} +0 -0
  708. /package/widgets/Feature/{interfaces.d.ts → types.d.ts} +0 -0
  709. /package/widgets/FeatureForm/{interfaces.d.ts → types.d.ts} +0 -0
  710. /package/widgets/Histogram/{interfaces.d.ts → types.d.ts} +0 -0
  711. /package/widgets/HistogramRangeSlider/{interfaces.d.ts → types.d.ts} +0 -0
  712. /package/widgets/LayerList/{interfaces.d.ts → types.d.ts} +0 -0
  713. /package/widgets/Measurement/{interfaces.d.ts → types.d.ts} +0 -0
  714. /package/widgets/OrientedImageryViewer/{interfaces.d.ts → types.d.ts} +0 -0
  715. /package/widgets/Popup/{interfaces.d.ts → types.d.ts} +0 -0
  716. /package/widgets/Print/{interfaces.d.ts → types.d.ts} +0 -0
  717. /package/widgets/ScaleRangeSlider/{interfaces.d.ts → types.d.ts} +0 -0
  718. /package/widgets/Swipe/{interfaces.d.ts → types.d.ts} +0 -0
  719. /package/widgets/TableList/{interfaces.d.ts → types.d.ts} +0 -0
  720. /package/widgets/TimeSlider/{interfaces.d.ts → types.d.ts} +0 -0
  721. /package/widgets/Track/{interfaces.d.ts → types.d.ts} +0 -0
  722. /package/widgets/ValuePicker/{interfaces.d.ts → types.d.ts} +0 -0
  723. /package/widgets/support/GridControls/{interfaces.d.ts → types.d.ts} +0 -0
  724. /package/widgets/support/forms/{interfaces.d.ts → types.d.ts} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7229],{2272:(e,t,i)=>{i.d(t,{Dl:()=>u,gf:()=>h,jV:()=>l,lF:()=>d});var s=i(92602),n=i(70333),r=i(4718),o=i(84952),a=i(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,r.o8)(e)}function d(e,t,i){const s={};for(const n in e){if("declaredClass"===n)continue;const r=e[n];if(null!=r&&"function"!=typeof r)if(Array.isArray(r))s[n]=r.map(e=>d(e));else if("object"==typeof r)if(r.toJSON){const e=r.toJSON(i?.[n]);s[n]=t?e:JSON.stringify(e)}else s[n]=t?r:JSON.stringify(r);else s[n]=r}return s}async function h(e,t,r){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.CG)(e)??n.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!n.id&&s.A.request.useIdentity&&await Promise.all([i.e(7330),i.e(168),i.e(148)]).then(i.bind(i,50148));const l=await n.id.getCredential(e,r);return l?.token}},6518:(e,t,i)=>{i.d(t,{F:()=>a});var s=i(44208),n=i(75503),r=i(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new n.wq(9,(0,s.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((i,s)=>{e[t++]=s}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,r.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,i){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,i)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},29432:(e,t,i)=>{i.r(t),i.d(t,{default:()=>S});var s=i(49186),n=i(60408),r=i(21325),o=i(90708),a=i(33032),l=i(83221),u=i(31464),d=i(56390),h=i(64714),c=i(82832),f=i(95466),m=i(98453),p=i(30524),y=i(98623);const _=r.KK,g={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:r.KK},b={hasAttachments:!1,capabilities:"query, editing, create, delete, update",useStandardizedQueries:!0,supportsCoordinatesQuantization:!0,supportsReturningQueryGeometry:!0,advancedQueryCapabilities:{supportsQueryAttachments:!1,supportsQueryAttachmentOrderByFields:!1,supportsQueryAttachmentWithTypeWildcard:!1,supportsQueryBins:!0,supportsQueryPivot:!1,supportsStatistics:!0,supportsPercentileStatistics:!0,supportsReturningGeometryCentroid:!0,supportsQueryWithDistance:!0,supportsDistinct:!0,supportsReturningQueryExtent:!0,supportsReturningGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQueryWithResultType:!0,supportsSqlExpression:!0,supportsDisjointSpatialRel:!0,supportsQueryWithCacheHint:!0},queryBinsCapabilities:c.PC};function x(e){return(0,n.fT)(e)?null!=e.z:!!e.hasZ}function I(e){return(0,n.fT)(e)?null!=e.m:!!e.hasM}class S{constructor(){this._queryEngine=null,this._nextObjectId=null}destroy(){this._queryEngine?.destroy(),this._queryEngine=this._createDefaultAttributes=null}async load(e){const t=[],{features:i}=e,n=this._inferLayerProperties(i,e.fields),r=e.fields||[],o=null!=e.hasM?e.hasM:!!n.hasM,c=null!=e.hasZ?e.hasZ:!!n.hasZ,x=!e.spatialReference&&!n.spatialReference,I=x?_:e.spatialReference||n.spatialReference,S=x?g:null,B=e.geometryType||n.geometryType,v=!B;let M=e.objectIdField||n.objectIdField,F=e.timeInfo;const z=new f.A(r);if(!v&&(x&&t.push({name:"feature-layer:spatial-reference-not-found",message:"Spatial reference not provided or found in features. Defaults to WGS84"}),!B))throw new s.A("feature-layer:missing-property","geometryType not set and couldn't be inferred from the provided features");if(!M)throw new s.A("feature-layer:missing-property","objectIdField not set and couldn't be found in the provided fields");if(n.objectIdField&&M!==n.objectIdField&&(t.push({name:"feature-layer:duplicated-oid-field",message:`Provided objectIdField "${M}" doesn't match the field name "${n.objectIdField}", found in the provided fields`}),M=n.objectIdField),M&&!n.objectIdField){const e=z.get(M);e?(M=e.name,e.type="esriFieldTypeOID",e.editable=!1,e.nullable=!1):r.unshift({alias:M,name:M,type:"esriFieldTypeOID",editable:!1,nullable:!1})}for(const e of r){if(null==e.name&&(e.name=e.alias),null==e.alias&&(e.alias=e.name),!e.name)throw new s.A("feature-layer:invalid-field-name","field name is missing",{field:e});if(e.name===M&&(e.type="esriFieldTypeOID"),!m.m.jsonValues.includes(e.type))throw new s.A("feature-layer:invalid-field-type",`invalid type for field "${e.name}"`,{field:e});null==e.length&&(e.length=(0,p._b)(e))}const T={};for(const e of r)if("esriFieldTypeOID"!==e.type&&"esriFieldTypeGlobalID"!==e.type){const t=(0,p.lD)(e);void 0!==t&&(T[e.name]=t)}if(F){if(F.startTimeField){const e=z.get(F.startTimeField);e?(F.startTimeField=e.name,e.type="esriFieldTypeDate"):F.startTimeField=null}if(F.endTimeField){const e=z.get(F.endTimeField);e?(F.endTimeField=e.name,e.type="esriFieldTypeDate"):F.endTimeField=null}if(F.trackIdField){const e=z.get(F.trackIdField);e?F.trackIdField=e.name:(F.trackIdField=null,t.push({name:"feature-layer:invalid-timeInfo-trackIdField",message:"trackIdField is missing",details:{timeInfo:F}}))}F.startTimeField||F.endTimeField||(t.push({name:"feature-layer:invalid-timeInfo",message:"startTimeField and endTimeField are missing or invalid",details:{timeInfo:F}}),F=null)}const A=z.dateFields.length?{timeZoneIANA:e.dateFieldsTimeZone??y.n$}:null;this._createDefaultAttributes=(0,h.Vx)(T,M);const w={warnings:t,featureErrors:[],layerDefinition:{...b,drawingInfo:(0,h.F0)(B),templates:(0,h.e2)(T),extent:S,geometryType:B,objectIdField:M,fields:r,hasZ:c,hasM:o,timeInfo:F,dateFieldsTimeReference:A},assignedObjectIds:{}},E={type:"object-id",fieldName:M};if(this._queryEngine=new d.do({fieldsIndex:f.A.fromLayerJSON({fields:r,timeInfo:F,dateFieldsTimeReference:A}),geometryType:B,hasM:o,hasZ:c,featureIdInfo:E,spatialReference:I,featureStore:new l.A({geometryType:B,hasM:o,hasZ:c}),timeInfo:F}),!i?.length)return this._nextObjectId=a.L,w;const R=(0,a.H)(M,i);return this._nextObjectId=R+1,await(0,u.Nk)(i,I),this._loadInitialFeatures(w,i)}async applyEdits(e){const{spatialReference:t,geometryType:i}=this._queryEngine;return await Promise.all([(0,c.$1)(t,i),(0,u.Nk)(e.adds,t),(0,u.Nk)(e.updates,t)]),this._applyEdits(e)}queryFeatures(e,t={}){return this._queryEngine.executeQuery(e,t.signal)}queryFeatureCount(e,t={}){return this._queryEngine.executeQueryForCount(e,t.signal)}queryObjectIds(e,t={}){return this._queryEngine.executeQueryForIds(e,t.signal)}queryExtent(e,t={}){return this._queryEngine.executeQueryForExtent(e,t.signal)}querySnapping(e,t={}){return this._queryEngine.executeQueryForSnapping(e,t.signal)}queryAttributeBins(e,t={}){return this._queryEngine.executeAttributeBinsQuery(e,t.signal)}_inferLayerProperties(e,t){let i,s,r=null,o=null,a=null;for(const t of e){const e=t.geometry;if(null!=e&&(r||(r=(0,n.$B)(e)),o||(o=e.spatialReference),null==i&&(i=x(e)),null==s&&(s=I(e)),r&&o&&null!=i&&null!=s))break}if(t&&t.length){let e=null;t.some(t=>{const i="esriFieldTypeOID"===t.type,s=!t.type&&t.name&&"objectid"===t.name.toLowerCase();return e=t,i||s})&&(a=e.name)}return{geometryType:r,spatialReference:o,objectIdField:a,hasM:s,hasZ:i}}async _loadInitialFeatures(e,t){const{geometryType:i,hasM:s,hasZ:r,objectIdField:a,spatialReference:l,featureStore:d,fieldsIndex:h}=this._queryEngine,f=[],m={type:"object-id",fieldName:a};for(const s of t){if(null!=s.uid&&(e.assignedObjectIds[s.uid]=-1),s.geometry&&i!==(0,n.$B)(s.geometry)){e.featureErrors.push((0,c.Yx)("Incorrect geometry type."));continue}const t=this._createDefaultAttributes(),r=(0,c.MB)(h,t,s.attributes,!0);r?e.featureErrors.push(r):(this._assignObjectId(t,s.attributes,!0),s.attributes=t,null!=s.uid&&(e.assignedObjectIds[s.uid]=s.attributes[a]),null!=s.geometry&&(s.geometry=(0,u.Cv)(s.geometry,s.geometry.spatialReference,l)),f.push(s))}d.addMany((0,o.Di)([],f,i,r,s,m));const{fullExtent:p,timeExtent:y}=await this._queryEngine.fetchRecomputedExtents();if(e.layerDefinition.extent=p,y){const{start:t,end:i}=y;e.layerDefinition.timeInfo.timeExtent=[t,i]}return e}async _applyEdits(e){const{adds:t,updates:i,deletes:s}=e,n={addResults:[],deleteResults:[],updateResults:[],uidToObjectId:{}};if(t?.length&&this._applyAddEdits(n,t),i?.length&&this._applyUpdateEdits(n,i),s?.length){for(const e of s)n.deleteResults.push((0,c.bP)(e));this._queryEngine.featureStore.removeManyById(s)}const{fullExtent:r,timeExtent:o}=await this._queryEngine.fetchRecomputedExtents();return{extent:r,timeExtent:o,featureEditResults:n}}_applyAddEdits(e,t){const{addResults:i}=e,{geometryType:s,hasM:r,hasZ:a,objectIdField:l,spatialReference:d,featureStore:h,featureIdInfo:f,fieldsIndex:m}=this._queryEngine,p=[];for(const r of t){if(r.geometry&&s!==(0,n.$B)(r.geometry)){i.push((0,c.Yx)("Incorrect geometry type."));continue}const t=this._createDefaultAttributes(),o=(0,c.MB)(m,t,r.attributes);if(o)i.push(o);else{if(this._assignObjectId(t,r.attributes),r.attributes=t,null!=r.uid){const t=r.attributes[l];e.uidToObjectId[r.uid]=t}if(null!=r.geometry){const e=r.geometry.spatialReference??d;r.geometry=(0,u.Cv)((0,c.CR)(r.geometry,e),e,d)}p.push(r),i.push((0,c.bP)(r.attributes[l]))}}h.addMany((0,o.Di)([],p,s,a,r,f))}_applyUpdateEdits({updateResults:e},t){const{geometryType:i,hasM:s,hasZ:r,objectIdField:a,spatialReference:l,featureStore:d,fieldsIndex:h,featureIdInfo:f}=this._queryEngine;for(const m of t){const{attributes:t,geometry:p}=m,y=t?.[a];if(null==y){e.push((0,c.Yx)(`Identifier field ${a} missing`));continue}if(!d.has(y)){e.push((0,c.Yx)(`Feature with object id ${y} missing`));continue}const _=(0,o.oN)(d.getFeature(y),i,r,s);if(null!=p){if(i!==(0,n.$B)(p)){e.push((0,c.Yx)("Incorrect geometry type."));continue}const t=p.spatialReference??l;_.geometry=(0,u.Cv)((0,c.CR)(p,t),t,l)}if(t){const i=(0,c.MB)(h,_.attributes,t);if(i){e.push(i);continue}}d.add((0,o.E2)(_,i,r,s,f)),e.push((0,c.bP)(y))}}_assignObjectId(e,t,i=!1){const s=this._queryEngine.objectIdField;i&&t&&isFinite(t[s])?e[s]=t[s]:e[s]=this._nextObjectId++}}},33032:(e,t,i)=>{i.d(t,{H:()=>n,L:()=>s});const s=1;function n(e,t){let i=0;for(const s of t){const t=s.attributes?.[e];"number"==typeof t&&isFinite(t)&&(i=Math.max(i,t))}return i}},36708:(e,t,i)=>{i.d(t,{C_:()=>c,OH:()=>p,Vh:()=>y,on:()=>h,pc:()=>_,wB:()=>l,z7:()=>u});var s=i(37955),n=i(36563),r=i(97768),o=i(74887),a=i(14012);function l(e,t,i={}){return d(e,t,i,f)}function u(e,t,i={}){return d(e,t,i,m)}function d(e,t,i={},s){let n=null;const o=i.once?(e,i)=>{s(e)&&((0,r.xt)(n),t(e,i))}:(e,i)=>{s(e)&&t(e,i)};if(n=(0,a.Cn)(e,o,i.sync,i.equals),i.initial){const t=e();o(t,t)}return n}function h(e,t,i,o={}){let a=null,u=null,d=null;function h(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function c(e){o.once&&o.once&&(0,r.xt)(d),i(e)}const f=l(e,(e,i)=>{h(),(0,s.wb)(e)&&(a=e,u=(0,s.on)(e,t,c),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return d=(0,n.hA)(()=>{f.remove(),h()}),d}function c(e,t){return function(e,t,i){if((0,o.G4)(i))return Promise.reject((0,o.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let a=null;function l(){a=(0,r.xt)(a)}return new Promise((s,r)=>{a=(0,n.vE)([(0,o.u7)(i,()=>{l(),r((0,o.NK)())}),d(e,e=>{l(),s(e)},{sync:!1,once:!0},t??f)])})}(e,m,t)}function f(e){return!0}function m(e){return!!e}i(80559);const p={sync:!0},y={initial:!0},_={sync:!0,initial:!0}},37730:(e,t,i)=>{i.d(t,{T:()=>n});var s=i(43334);const n={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t)=>new s.Om(t,e.attributes,null,e.objectId),getGeometry:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)}},60408:(e,t,i)=>{function s(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function n(e){return void 0!==e.points}function r(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?r(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":s(e)?"esriGeometryEnvelope":n(e)?"esriGeometryMultipoint":null:null}function d(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function h(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}i.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>d,Rg:()=>o,U9:()=>n,W0:()=>h,ZC:()=>s,fT:()=>r,uW:()=>l})},64714:(e,t,i)=>{i.d(t,{F0:()=>a,Vx:()=>d,e2:()=>c,f:()=>f});var s=i(44208),n=i(4718),r=i(99352),o=i(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function d(e,t){if((0,s.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let i=`this${h(t)} = null;`;for(const t in e)i+=`this${h(t)} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${i};\n }\n }\n `)();return()=>new s}catch(i){return()=>({[t]:null,...e})}}function h(e){return l.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,n.o8)(e)}}]}function f(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:r.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:r.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},65864:(e,t,i)=>{i.d(t,{rS:()=>d,xD:()=>c});var s=i(5443),n=i(91075),r=i(48526),o=i(86738),a=i(39829),l=i(82799),u=i(60408);function d(e){return null==e?null:e instanceof n.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?l.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?r.A.fromJSON(e):(0,u.ZC)(e)?s.A.fromJSON(e):null}const h={esriGeometryPoint:o.A,esriGeometryPolyline:l.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:r.A,esriGeometryMultiPatch:a.A};function c(e){return e&&h[e]||null}},66344:(e,t,i)=>{i.d(t,{q:()=>a});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class n{get size(){return this._size}constructor(e=10485760){this._maxSize=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._users=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._users.clear(),this._db.clear()}register(e){this._users.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._users.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}getSize(e,t){const i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,n,o){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==i&&this._notifyRemove(t,a.entry,a.size,0)),n>this._maxSize)return void this._notifyRemove(t,i,n,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return s||console.warn(`Refusing to cache entry with size ${n} for key ${t}`),void this._notifyRemove(t,i,0,0);const l=1+Math.max(o,-4)- -3;this._db.set(t,new r(i,n,l)),this._size+=n,e.size+=n,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const e=this._notifyRemove(t,i.entry,s,1);if(!(null!=e&&e>0))return void this._db.delete(t);s=e}i.size=s,this._size+=s,e.size+=s,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,s)=>{const n=e.lifetime;i[n]=(i[n]||0)+e.size,this._users.forEach(i=>{const{id:n,name:r}=i;if(s.startsWith(n)){const i=t[r]||0;t[r]=i+e.size}})});const s={};this._users.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[i]||0;t[i]=n,s[i]=Math.round(100*e.hitRate)+"%"}else s[i]="0%"});const n=Object.keys(t);n.sort((e,i)=>t[i]-t[e]),n.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+s[i]);for(let t=i.length-1;t>=0;--t){const s=i[t];s&&(e["Priority "+(t+-3-1)]=Math.round(s/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._users.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._users.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,s){const n=this._users.get(e.split(o)[0])?.removeFunc,r=n?.(t,s,i);return"number"==typeof r?r:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._checkSizeLimits(this.maxSize)}setMaxSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const i=t??this;if(i.size<=e)return;const s=t?.id;let n=!0;for(;n;){n=!1;for(const[r,a]of this._db)if(0===a.lifetime&&(!s||r.startsWith(s))){const s=t??this._users.get(r.split(o)[0]);if(this._purgeItem(r,a,s),i.size<=.9*e)return;n||=this._db.has(r)}}for(const[n,r]of this._db)if(!s||n.startsWith(s)){const s=t??this._users.get(n.split(o)[0]);if(this._purgeItem(n,r,s),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const s=this._notifyRemove(e,t.entry,t.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),t.lives=t.lifetime,t.size=s,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new n(0);class r{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class a{constructor(e,t){this.removeFunc=t,this._storage=new n,this.id="",this.name="",this.size=0,this._storage.maxSize=e,this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy(),this._storage=null}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},67482:(e,t,i)=>{function s(e){return null!=a(e)||null!=o(e)}function n(e){return l.test(e)}function r(e){return a(e)??o(e)}function o(e){const t=new Date(e);return function(e,t){if(Number.isNaN(e.getTime()))return!1;let i=!0;if(d&&/\d+\W*$/.test(t)){const e=t.match(/[a-zA-Z]{2,}/);if(e){let t=!1,s=0;for(;!t&&s<=e.length;)t=!u.test(e[s]),s++;i=!t}}return i}(t,e)?Number.isNaN(t.getTime())?null:t.getTime()-6e4*t.getTimezoneOffset():null}function a(e){const t=l.exec(e);if(!t?.groups)return null;const i=t.groups,s=+i.year,n=+i.month-1,r=+i.day,o=+(i.hours??"0"),a=+(i.minutes??"0"),u=+(i.seconds??"0");if(o>23)return null;if(a>59)return null;if(u>59)return null;const d=i.ms??"0",h=d?+d.padEnd(3,"0").slice(0,3):0;let c;if(i.isUTC||!i.offsetSign)c=Date.UTC(s,n,r,o,a,u,h);else{const e=+i.offsetHours,t=+i.offsetMinutes;c=6e4*("+"===i.offsetSign?-1:1)*(60*e+t)+Date.UTC(s,n,r,o,a,u,h)}return Number.isNaN(c)?null:c}i.d(t,{Br:()=>n,Cq:()=>s,_U:()=>r});const l=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,u=/^((jan(uary)?)|(feb(ruary)?)|(mar(ch)?)|(apr(il)?)|(may)|(jun(e)?)|(jul(y)?)|(aug(ust)?)|(sep(tember)?)|(oct(ober)?)|(nov(ember)?)|(dec(ember)?)|(am)|(pm)|(gmt)|(utc))$/i,d=!Number.isNaN(new Date("technology 10").getTime())},69540:(e,t,i)=>{i.d(t,{OU:()=>d,Pw:()=>h});var s=i(31635),n=i(69622),r=(i(44208),i(4718)),o=(i(53966),i(97768)),a=i(88620),l=i(64108);const u=Symbol("ClonableMixin"),d=e=>{var t;const i=e;let n=class extends i{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const i=t.metadata,s=t.store,n={},l=new Map;for(const t in i){const o=i[t],a=s?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const d=this[t];let h=null;if("function"==typeof u)h=u(d,e);else if("reference"===u)h=d;else if(h=(0,r.TU)(d,e),null!=d&&null==h)continue;0===a?l.set(t,h):n[t]=h}const u=new(0,Object.getPrototypeOf(this).constructor)(n);if(l.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,i]of l)e.set(t,i,0)}return u}};return n=(0,s.Cg)([(0,l.$)("esri.core.Clonable")],n),n},h=d(n.A)},75503:(e,t,i)=>{i.d(t,{EC:()=>M,wq:()=>a});var s=i(4576),n=i(21818),r=(i(44208),i(15142)),o=i(11006);class a{constructor(e=9,t){this._compareMinX=c,this._compareMinY=f,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),I.prune(),S.prune(),B.prune(),v.prune()}all(e){l(this._data,e)}search(e,t){let i=this._data;const s=this._toBBox;if(b(e,i))for(I.clear();i;){for(let n=0,r=i.children.length;n<r;n++){const r=i.children[n],o=i.leaf?s(r):r;b(e,o)&&(i.leaf?t(r):g(e,o)?l(r,t):I.push(r))}i=I.pop()}}collides(e){let t=this._data;const i=this._toBBox;if(!b(e,t))return!1;for(I.clear();t;){for(let s=0,n=t.children.length;s<n;s++){const n=t.children[s],r=t.leaf?i(n):n;if(b(e,r)){if(t.leaf||g(e,r))return!0;I.push(n)}}t=I.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,i=e.length;t<i;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new z([]),this}remove(e){if(!e)return this;let t,i=this._data,r=null,o=0,a=!1;const l=this._toBBox(e);for(B.clear(),v.clear();i||B.length>0;){if(i||(i=B.pop(),r=B.data[B.length-1],o=v.pop()??0,a=!0),i.leaf&&(t=(0,s.qh)(i.children,(0,n.zI)(e),i.children.length,i.indexHint),-1!==t))return i.children.splice(t,1),B.push(i),this._condense(B),this;a||i.leaf||!g(i,l)?r?(o++,i=r.children[o],a=!1):i=null:(B.push(i),v.push(o),o=0,r=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,i,s){const n=i-t+1;let r=this._maxEntries;if(n<=r){const s=new z(e.slice(t,i+1));return u(s,this._toBBox),s}s||(s=Math.ceil(Math.log(n)/Math.log(r)),r=Math.ceil(n/r**(s-1)));const o=new T([]);o.height=s;const a=Math.ceil(n/r),l=a*Math.ceil(Math.sqrt(r));x(e,t,i,l,this._compareMinX);for(let n=t;n<=i;n+=l){const t=Math.min(n+l-1,i);x(e,n,t,a,this._compareMinY);for(let i=n;i<=t;i+=a){const n=Math.min(i+a-1,t);o.children.push(this._build(e,i,n,s-1))}}return u(o,this._toBBox),o}_insert(e,t,i){const s=this._toBBox,n=i?e:s(e);B.clear();const r=function(e,t,i,s){for(;s.push(t),!0!==t.leaf&&s.length-1!==i;){let i,s=1/0,n=1/0;for(let r=0,o=t.children.length;r<o;r++){const o=t.children[r],a=m(o),l=y(e,o)-a;l<n?(n=l,s=a<s?a:s,i=o):l===n&&a<s&&(s=a,i=o)}t=i||t.children[0]}return t}(n,this._data,t,B);for(r.children.push(e),h(r,n);t>=0&&B.data[t].children.length>this._maxEntries;)this._split(B,t),t--;!function(e,t,i){for(let s=i;s>=0;s--)h(t.data[s],e)}(n,B,t)}_split(e,t){const i=e.data[t],s=i.children.length,n=this._minEntries;this._chooseSplitAxis(i,n,s);const r=this._chooseSplitIndex(i,n,s);if(!r)return;const o=i.children.splice(r,i.children.length-r),a=i.leaf?new z(o):new T(o);a.height=i.height,u(i,this._toBBox),u(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,t){this._data=new T([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,i){let s,n,r;s=n=1/0;for(let o=t;o<=i-t;o++){const t=d(e,0,o,this._toBBox),a=d(e,o,i,this._toBBox),l=_(t,a),u=m(t)+m(a);l<s?(s=l,r=o,n=u<n?u:n):l===s&&u<n&&(n=u,r=o)}return r}_chooseSplitAxis(e,t,i){const s=e.leaf?this._compareMinX:c,n=e.leaf?this._compareMinY:f;this._allDistMargin(e,t,i,s)<this._allDistMargin(e,t,i,n)&&e.children.sort(s)}_allDistMargin(e,t,i,s){e.children.sort(s);const n=this._toBBox,r=d(e,0,t,n),o=d(e,i-t,i,n);let a=p(r)+p(o);for(let s=t;s<i-t;s++){const t=e.children[s];h(r,e.leaf?n(t):t),a+=p(r)}for(let s=i-t-1;s>=t;s--){const t=e.children[s];h(o,e.leaf?n(t):t),a+=p(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const i=e.data[t];if(0===i.children.length)if(t>0){const n=e.data[t-1],r=n.children;r.splice((0,s.qh)(r,i,r.length,n.indexHint),1)}else this.clear();else u(i,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let i=e;for(S.clear();i;){if(!0===i.leaf)for(const e of i.children)t((0,n.zI)(e));else S.pushArray(i.children);i=S.pop()??null}}function u(e,t){d(e,0,e.children.length,t,e)}function d(e,t,i,s,n){n||(n=new z([])),n.minX=1/0,n.minY=1/0,n.maxX=-1/0,n.maxY=-1/0;for(let r,o=t;o<i;o++)r=e.children[o],h(n,e.leaf?s(r):r);return n}function h(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function c(e,t){return e.minX-t.minX}function f(e,t){return e.minY-t.minY}function m(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function p(e){return e.maxX-e.minX+(e.maxY-e.minY)}function y(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function _(e,t){const i=Math.max(e.minX,t.minX),s=Math.max(e.minY,t.minY),n=Math.min(e.maxX,t.maxX),r=Math.min(e.maxY,t.maxY);return Math.max(0,n-i)*Math.max(0,r-s)}function g(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function b(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function x(e,t,i,s,n){const r=[t,i];for(;r.length;){const t=r.pop(),i=r.pop();if(t-i<=s)continue;const a=i+Math.ceil((t-i)/s/2)*s;(0,o.q)(e,a,i,t,n),r.push(i,a,a,t)}}const I=new r.A,S=new r.A,B=new r.A,v=new r.A({deallocator:void 0});class M{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class F extends M{constructor(){super(...arguments),this.height=1,this.indexHint=new s.vW}}class z extends F{constructor(e){super(),this.children=e,this.leaf=!0}}class T extends F{constructor(e){super(),this.children=e,this.leaf=!1}}},82832:(e,t,i)=>{i.d(t,{$1:()=>y,CR:()=>p,MB:()=>c,PC:()=>_,Yx:()=>l,bP:()=>d});var s=i(67482),n=i(21325),r=i(30524);class o{constructor(e){this.description=e,this.code=null}}class a{constructor(e){this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error=new o(e)}}function l(e){return new a(e)}class u{constructor(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e}}function d(e){return new u(e)}const h=new Set;function c(e,t,i,s=!1){h.clear();for(const n in i){const o=e.get(n);if(!o)continue;const a=f(o,i[n]);if(h.add(o.name),o&&(s||o.editable)){const e=(0,r.CJ)(o,a);if(e)return l((0,r.uo)(e,o,a));t[o.name]=a}}for(const t of e.requiredFields??[])if(!h.has(t.name))return l(`missing required field "${t.name}"`);return null}function f(e,t){let i=t;return(0,r.WA)(e)&&"string"==typeof t?i=parseFloat(t):(0,r.yM)(e)&&null!=t&&"string"!=typeof t?i=String(t):(0,r.vE)(e)&&"string"==typeof t&&(i=(0,s._U)(t)),(0,r.WX)(i)}let m;function p(e,t){if(!e||!(0,n.fn)(t))return e;if("rings"in e||"paths"in e){if(null==m)throw new TypeError("geometry engine not loaded");return m.simplify(t,e)}return e}async function y(e,t){!(0,n.fn)(e)||"esriGeometryPolygon"!==t&&"esriGeometryPolyline"!==t||await async function(){return null==m&&(m=await i.e(1023).then(i.bind(i,81023))),m}()}const _={supportsAutoIntervalBin:!0,supportsFixedIntervalBin:!0,supportsFixedBoundariesBin:!0,supportsDateBin:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsNormalization:!0,supportedStatisticTypes:["COUNT","SUM","AVG","VAR","STDDEV","MIN","MAX","PERCENTILE_CONT","PERCENTILE_DISC","CentroidAggregate","EnvelopeAggregate","ConvexHullAggregate"],supportedNormalizationTypes:["field","log","naturalLog","percentOfTotal","squareRoot"]}},83221:(e,t,i)=>{i.d(t,{A:()=>m});var s=i(4576),n=i(49186),r=i(65529),o=i(53966),a=i(70328),l=i(19419),u=i(90708),d=i(6518),h=i(51441),c=i(37730);const f=(0,a.vt)();class m{constructor(e){this.geometryInfo=e,this._boundsStore=new d.F,this._featuresById=new Map,this._usedMemory=0,this.events=new r.bk,this.featureAdapter=c.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach(t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;const[t,i,s,n]=this.fullBounds;return{xmin:t,ymin:i,xmax:s,ymax:n,spatialReference:(0,h.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(s.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const i of e){const e=this._boundsStore.get(i.objectId);e&&t((0,a.Jt)(f,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:e}));const i=this._featuresById.get(t);let s;if(i?(e.displayId=i.displayId,s=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);s=(0,u.jQ)(null!=s?s:(0,l.vt)(),e.geometry),null!=s&&this._boundsStore.set(t,s),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const i=this._featuresById.get(t);if(!i)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0;const{geometry:s,attributes:r}=e;for(const e in r)i.attributes[e]=r[e];return s&&(i.geometry=s,this._boundsStore.set(t,(0,u.jQ)((0,l.vt)(),s)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(i)??0,i}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);const t=e.objectId;return this._boundsStore.delete(t),this._featuresById.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(e)??0,e}}},93470:(e,t,i)=>{i.d(t,{Cb:()=>r,HW:()=>d,JR:()=>n,JZ:()=>l,WR:()=>a,b6:()=>h,fT:()=>s,nC:()=>u,yM:()=>o});const s=[252,146,31,255],n=[153,153,153,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:s,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},o={type:"esriSLS",style:"esriSLSSolid",width:.75,color:s},a={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},l={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},u={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},d={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},h={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}},98453:(e,t,i)=>{i.d(t,{m:()=>s});const s=new(i(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1874,7694,9644,9645],{159:(e,t,n)=>{n.d(t,{A:()=>a});var r,i=n(31635),o=n(69622),s=n(91429),l=n(99157);let a=r=class extends o.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,i.Cg)([(0,s.MZ)({type:[l.A],nonNullable:!0})],a.prototype,"steps",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},4197:(e,t,n)=>{n.d(t,{Vj:()=>u,cj:()=>a,jh:()=>o,l5:()=>l,xm:()=>s});var r=n(34275),i=n(9093);function o(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function s(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=r.y9?Array.from(e):new Float64Array(e)}function l(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function a(e){return[...e]}function u(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},6797:(e,t,n)=>{n.d(t,{Ui:()=>d});var r=n(69622),i=n(7762),o=n(88620);const s=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof r.A}function a(e){return e instanceof i.A?Object.keys(e.items):l(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function p(e,t){const n=e.diff;if(n&&"function"==typeof n)return n(e,t);const r=a(e),i=a(t);if(0===r.length&&0===i.length)return;if(!r.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const o=i.filter(e=>!r.includes(e)),d=r.filter(e=>!i.includes(e)),f=r.filter(n=>i.includes(n)&&u(e,n)!==u(t,n)).concat(o,d).sort(),h=c(e);if(h&&s.has(h)&&f.length)return{type:"complete",oldValue:e,newValue:t};let y;const g=l(e)&&l(t);for(const r of f){const i=u(e,r),o=u(t,r);let s;if((g||"function"!=typeof i&&"function"!=typeof o)&&i!==o&&(null!=i||null!=o)){if(n&&n[r]&&"function"==typeof n[r])s=n[r]?.(i,o);else if(i instanceof Date&&o instanceof Date){if(i.getTime()===o.getTime())continue;s={type:"complete",oldValue:i,newValue:o}}else s="object"==typeof i&&"object"==typeof o&&c(i)===c(o)?p(i,o):{type:"complete",oldValue:i,newValue:o};null!=s&&(null!=y?y.diff[r]=s:y={type:"partial",diff:{[r]:s}})}}return y}function d(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:p(e,t)}},9093:(e,t,n)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>i,vt:()=>r,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:r,fromValues:function(e,t,n,r,i,o,s,l,a,u,c,p,d,f,h,y){return[e,t,n,r,i,o,s,l,a,u,c,p,d,f,h,y]}},Symbol.toStringTag,{value:"Module"}))},9762:(e,t,n)=>{n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(37539);function i(e,t,n,i,o,s,l=Math.floor(e.length/3)){const a=(0,r.jd)(t,o);if(null==a)return!1;if(a===r.pO){if(e===i&&n===s)return!0;const t=n+3*l;for(let r=n,o=s;r<t;r++,o++)i[o]=e[r]??0;return!0}const u=n+3*l;for(let t=n,r=s;t<u;t+=3,r+=3)a(e,t,i,r);return!0}},13069:(e,t,n)=>{n.d(t,{AG:()=>l,lk:()=>i,vD:()=>s,yS:()=>o});const r="randomUUID"in crypto;function i(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${i().toUpperCase()}}`}function s(){return`{${i()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},16494:(e,t,n)=>{n.d(t,{Nd:()=>l,W5:()=>s});var r=n(37330);const i=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),o=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],s=new r.I({whiteList:i,onTagAttr:(e,t,n)=>{const r=`${t}="${n}"`;if(o.includes(t))return r},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),l=new r.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},17311:(e,t,n)=>{n.d(t,{A:()=>f});var r=n(31635),i=n(69622),o=n(4576),s=n(60999),l=n(7762),a=n(16494),u=n(91429),c=n(30524),p=n(43668);const d=/<br\s*\/*>/gi;let f=class extends i.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,s.UT)(()=>(0,p.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??n.e(9926).then(n.bind(n,29926)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new l.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const n=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(n.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:n,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(n,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const n=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of n){const n=t.split("."),r=this.fieldsIndex.get(n.at(-1)??"");r&&e.add(r.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const n of t){const t=this.fieldsIndex.get(n);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,n){const r=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],n)).get(r)??""}async getTitles(e,t,n){const r=new Map,i=n?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:o}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);n?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:s,workingTitle:l}=this,u=l&&s;t.forEach(t=>{const c=t.getObjectId()??t.attributes[e.objectIdField];let p=u?o({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:s,globalAttributes:this._createFormattedAttributes(e,t,i).global,layer:e,text:l}):"";n?.removeHTML&&(p=a.Nd.sanitize(p).replaceAll(d," ")),r.set(c,p)})}catch{}return r}async _checkAndReQueryGraphics(e,t){const n=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(o.Ru);if(n.length!==t.length)return t;if(t.some(e=>!(0,c.Kl)(e,this.requiredFields))){const r=e.createQuery();r.where="1=1",r.outFields=[...this.requiredFields],r.objectIds=n;const i=await e.queryFeatures(r);if(i?.features.length===t.length)return i.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const n of e){if(!n.fieldName)continue;const e=this.fieldsIndex.get(n.fieldName),r=e?.name??n.fieldName;n.fieldName=r,t.set(r.toLowerCase(),n)}return t}_createFormattedAttributes(e,t,n="system"){const r=this.effectivePopupTemplate?.fieldInfos??[],i={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const n=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{i[`expression/${e.name}`]=e.func({vars:{$feature:n}})}catch{}}const o={...t.attributes,...i};return{global:this._featureUtils.formatAttributes({fieldInfos:r,attributes:o,graphic:t,timeZone:n,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,c.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,r.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"_arcadeTask",null),(0,r.Cg)([(0,u.MZ)()],f.prototype,"_featureUtils",void 0),(0,r.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"featureUtilsPromise",null),(0,r.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"calculatedExpressions",null),(0,r.Cg)([(0,u.MZ)()],f.prototype,"displayField",void 0),(0,r.Cg)([(0,u.MZ)()],f.prototype,"effectivePopupTemplate",void 0),(0,r.Cg)([(0,u.MZ)()],f.prototype,"expressionsUsedInTitle",null),(0,r.Cg)([(0,u.MZ)()],f.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,u.MZ)()],f.prototype,"fieldInfoMap",null),(0,r.Cg)([(0,u.MZ)()],f.prototype,"fields",void 0),(0,r.Cg)([(0,u.MZ)()],f.prototype,"objectIdField",void 0),(0,r.Cg)([(0,u.MZ)()],f.prototype,"requiredFields",null),f=(0,r.Cg)([(0,u.$K)("esri.layers.support.TitleCreator")],f)},29005:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(31635),i=n(69540),o=n(66552),s=n(25482),l=n(91429);const a=new o.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,r.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,r.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],u.prototype,"drawingTool",void 0),(0,r.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,r.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,r.Cg)([(0,l.$K)("esri.layers.support.FeatureTemplate")],u)},32730:(e,t,n)=>{n.d(t,{BI:()=>g,D3:()=>h,XJ:()=>y,lc:()=>f,mX:()=>b,rU:()=>m,tH:()=>F});var r=n(799);const i="__begin__",o="__end__",s=new RegExp(i,"ig"),l=new RegExp(o,"ig"),a=new RegExp("^"+i,"i"),u=new RegExp(o+"$","i"),c='"',p=c+" + ",d=" + "+c;function f(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function h(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function y(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=f(e.labelExpression),t.type="conventional"),t}function g(e){const t=y(e);if(!t)return null;switch(t.type){case"conventional":return b(t.expression);case"arcade":return t.expression}return null}function m(e){const t=y(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(w);return t?.[1].trim()||null}(t.expression);case"arcade":return F(t.expression)}return null}function b(e){let t;return e?(t=(0,r.HC)(e,e=>i+'$feature["'+e+'"]'+o),t=a.test(t)?t.replace(a,""):c+t,t=u.test(t)?t.replace(u,""):t+c,t=t.replaceAll(s,p).replaceAll(l,d)):t='""',t}const w=/^\s*\{([^}]+)\}\s*$/i,M=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,C=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function F(e){if(!e)return null;let t=M.exec(e)||v.exec(e);return t?t[1]||t[3]:(t=C.exec(e),t?t[2]:null)}},37352:(e,t,n)=>{n.d(t,{A:()=>a});var r,i=n(31635),o=n(7762),s=n(25482),l=n(91429);let a=r=class extends s.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new o.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"floorField",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllLevelIds",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.layers.support.LayerFloorInfo")],a)},37531:(e,t,n)=>{n.d(t,{dt:()=>d,GG:()=>m,UQ:()=>g,Sx:()=>c});var r=n(68197),i=n(60999),o=(n(44208),n(51850)),s=(n(76369),n(62046)),l=(n(2741),n(11254),n(66344));new Map([["dash",[4,3]],["dashdot",[4,3,1,3]],["dot",[1,3]],["longdash",[8,3]],["longdashdot",[8,3,1,3]],["longdashdotdot",[8,3,1,3,1,3]],["shortdash",[4,1]],["shortdashdot",[4,1,1,1]],["shortdashdotdot",[4,1,1,1,1,1]],["shortdot",[1,1]],["solid",[]]]),new l.q(1e3),new r.A([128,128,128]);var a=n(28975),u=n(33910);function c(e,t){if(!e)return null;let n=null;return(0,u.wk)(e)?n=function(e){const t=e.symbolLayers;if(!t)return null;let n=null;return t.forEach(e=>{"object"===e.type&&e.resource?.href||(n="water"===e.type?e.color:e.material?e.material.color:null)}),n?new r.A(n):null}(e):(0,u.$y)(e)&&(n="cim"===e.type?(0,s.Nk)(e):e.color?new r.A(e.color):null),n?p(n,t):null}function p(e,t){if(null==t||null==e)return e;const n=e.toRgba();return n[3]=n[3]*t,new r.A(n)}function d(e,t,n){e&&(t||null!=n)&&(t&&(t=new r.A(t)),(0,u.wk)(e)?function(e,t,n){const i=e.symbolLayers;if(!i)return;const o=(e,i=!1)=>{let o=t??e??null;return null!=n?.override&&(!o&&i&&(o=new r.A([255,255,255])),o&&(o.a=n.override)),p(o,n?.add)};i.forEach(e=>{if("water"===e.type)return void(e.color=p(e.color,n?.add));const t=null!=e.material?e.material.color:null,r=o(t,"icon"===e.type&&null!=e.resource?.href);null==e.material?e.material=new a.N({color:r}):e.material.color=r,"outline"in e&&e.outline?.color&&null!=n?.add&&(e.outline.color=p(e.outline.color,n.add)),"marker"in e&&null!=e.marker&&(e.marker.color=o(e.marker.color))})}(e,t,n):(0,u.$y)(e)&&function(e,t,n){t=t??e.color,null!=n?.override&&t&&(t.a=n.override),t&&(e.color=p(t,n?.add)),"outline"in e&&e.outline?.color&&(e.outline.color=p(e.outline.color,n?.add))}(e,t,n))}function f(e){for(const t of e)if("number"==typeof t)return t;return null}function h(e,t,n){for(let r=0;r<3;r++){const i=e[r];switch(i){case"symbol-value":{const e=n[r];return null!=e?e/t[r]:1}case"proportional":break;default:if(i&&t[r])return i/t[r]}}return null}function y(e,t,n,r){switch(e){case"proportional":return n*r;case"symbol-value":return null!=t?t:n;default:return e}}async function g(e,t){if(e&&t)return(0,u.wk)(e)?async function(e,t){const r=e.symbolLayers;r&&await(0,i.jJ)(r,async e=>async function(e,t){switch(e.type){case"extrude":!function(e,t){const n=t[2];"number"==typeof n&&(e.size=n)}(e,t);break;case"icon":case"line":case"text":!function(e,t){const n=f(t);null!=n&&(e.size=n)}(e,t);break;case"path":!function(e,t){const n=h(t,o.Un,[e.width,void 0,e.height]);null!=n&&(e.width=y(t[0],e.width,1,n),e.height=y(t[2],e.height,1,n))}(e,t);break;case"object":await async function(e,t){const{resourceSize:r,symbolSize:i}=await async function(e){const{computeObjectLayerResourceSize:t}=await n.e(5404).then(n.bind(n,95404)),r=await t(e,10),{width:i,height:o,depth:s}=e,l=[i,s,o];let a=1;for(let e=0;e<3;e++){const t=l[e];if(null!=t){a=t/r[e];break}}for(let e=0;e<3;e++)null==l[e]&&(l[e]=r[e]*a);return{resourceSize:r,symbolSize:l}}(e),o=h(t,r,i);null!=o&&(e.width=y(t[0],i[0],r[0],o),e.depth=y(t[1],i[1],r[1],o),e.height=y(t[2],i[2],r[2],o))}(e,t)}}(e,t))}(e,t):void((0,u.$y)(e)&&function(e,t){const n=f(t);if(null!=n)switch(e.type){case"simple-marker":e.size=n;break;case"picture-marker":{const t=e.width/e.height;t>1?(e.width=n,e.height=n*t):(e.width=n*t,e.height=n);break}case"simple-line":e.width=n;break;case"text":e.font.size=n}}(e,t))}function m(e,t,n){if(e&&null!=t)if((0,u.wk)(e)){const r=e.symbolLayers;r&&r.forEach(e=>{if("object"===e.type)switch(n){case"tilt":e.tilt=(e.tilt??0)+t;break;case"roll":e.roll=(e.roll??0)+t;break;default:e.heading=(e.heading??0)+t}"icon"===e.type&&(e.angle+=t)})}else if((0,u.$y)(e))switch(e.type){case"simple-marker":case"picture-marker":case"text":e.angle+=t;break;case"cim":(0,s.KU)(e,t,!0)}}},37539:(e,t,n)=>{n.d(t,{pO:()=>y,jd:()=>d,Tp:()=>f,w5:()=>p});var r=n(34727),i=n(86211),o=n(73941),s=n(79258);Math.PI;const l=s.$O.radius,a=s.$O.eccentricitySquared,u={a1:l*a,a2:l*a*l*a,a3:l*a*a/2,a4:l*a*l*a*2.5,a5:l*a+l*a*a/2,a6:1-a};s.$O.radius,s.$O.flattening,s.Sw.radius,s.Sw.flattening,s.sH.radius,s.sH.flattening,s.sH.radius;var c=n(21325);const p={2:{5:y,7:null,9:null,10:y,1:F,6:null,8:null,0:null,3:m,11:b,2:y,4:S},5:{5:y,7:null,9:null,10:y,1:F,6:null,8:null,0:null,3:m,11:b,2:y,4:S},7:{5:null,7:y,9:null,10:y,1:null,6:C,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:y,10:y,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:g,7:null,9:null,10:g,1:function(e,t,n,r){const i=e[t]/R,o=k-2*Math.atan(Math.exp(-e[t+1]/R)),s=R+(e[t+2]??0),l=Math.cos(o)*s;n[r]=Math.cos(i)*l,n[r+1]=Math.sin(i)*l,n[r+2]=Math.sin(o)*s},6:null,8:null,0:null,3:y,11:function(e,t,n,r){g(e,t,n,r),b(n,r,n,r)},2:g,4:function(e,t,n,r){g(e,t,n,r),S(n,r,n,r)}},4:{5:j,7:null,9:null,10:j,1:function(e,t,n,r){j(e,t,n,r),F(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){j(e,t,n,r),m(n,r,n,r)},11:function(e,t,n,r){j(e,t,n,r),b(n,r,n,r)},2:j,4:y},1:{5:x,7:null,9:null,10:x,1:y,6:null,8:null,0:null,3:function(e,t,n,r){x(e,t,n,r),m(n,r,n,r)},11:function(e,t,n,r){x(e,t,n,r),b(n,r,n,r)},2:x,4:function(e,t,n,r){x(e,t,n,r),S(n,r,n,r)}},6:{5:null,7:A,9:null,10:A,1:null,6:y,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:T,10:T,1:null,6:null,8:y,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:y,3:null,11:null,2:null,4:null},10:{5:y,7:y,9:y,10:y,1:F,6:C,8:v,0:null,3:m,11:b,2:y,4:S},11:{5:w,7:null,9:null,10:w,1:function(e,t,n,r){w(e,t,n,r),F(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){w(e,t,n,r),m(n,r,n,r)},11:y,2:w,4:function(e,t,n,r){w(e,t,n,r),S(n,r,n,r)}}};function d(e,t){return f(e,t)?.projector}function f(e,t){if(null==e||null==t)return null;if(_.source.spatialReference===e&&_.dest.spatialReference===t)return _;const n=h(e,_.source),r=h(t,_.dest);return 0===n&&0===r?(0,c.aI)(e,t)?_.projector=y:_.projector=null:_.projector=p[n][r],_}function h(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,c.oT)(e)?t.spatialReferenceId=2:(0,c.K8)(e)?t.spatialReferenceId=3:(0,c.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(e)?t.spatialReferenceId=7:(0,c.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function y(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function g(e,t,n,r){n[r]=O*(e[t]/R),n[r+1]=O*(k-2*Math.atan(Math.exp(-e[t+1]/R))),n[r+2]=e[t+2]??0}function m(e,t,n,i){!function(e,t,n,i,o){const s=.4999999*Math.PI,l=(0,r.qE)(Z*e[t+1],-s,s),a=Math.sin(l);n[i++]=Z*e[t]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[i]=e[t+2]??0}(e,t,n,i,s.$O)}function b(e,t,n,r){n[r]=e[t]*E,n[r+1]=e[t+1]*E,n[r+2]=e[t+2]??0}function w(e,t,n,r){n[r]=e[t]*P,n[r+1]=e[t+1]*P,n[r+2]=e[t+2]??0}function M(e,t,n,r,i){const o=i+(e[t+2]??0),s=Z*e[t],l=Z*e[t+1],a=Math.cos(l)*o;n[r]=Math.cos(s)*a,n[r+1]=Math.sin(s)*a,n[r+2]=Math.sin(l)*o}function v(e,t,n,r){M(e,t,n,r,s.Sw.radius)}function C(e,t,n,r){M(e,t,n,r,s.sH.radius)}function F(e,t,n,r){M(e,t,n,r,s.$O.radius)}function I(e,t,n,i,o){const s=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(s*s+l*l+a*a),c=(0,r.YN)(a/(0===u?1:u)),p=Math.atan2(l,s);n[i++]=O*p,n[i++]=O*c,n[i]=u-o}function T(e,t,n,r){I(e,t,n,r,s.Sw.radius)}function A(e,t,n,r){I(e,t,n,r,s.sH.radius)}function x(e,t,n,r){I(e,t,n,r,s.$O.radius)}function S(e,t,n,r){!function(e,t,n,r,i){const o=Z*e[t],s=Z*e[t+1],l=e[t+2]??0,a=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);n[r++]=(c+l)*u*Math.cos(o),n[r++]=(c+l)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+l)*a}(e,t,n,r,s.$O)}function j(e,t,n,r){const i=u,o=e[t],l=e[t+1],a=e[t+2]??0;let c,p,d,f,h,y,g,m,b,w,M,v,C,F,I,T,A,x,S,j,_;c=Math.abs(a),p=o*o+l*l,d=Math.sqrt(p),f=p+a*a,h=Math.sqrt(f),j=Math.atan2(l,o),y=a*a/f,g=p/f,F=i.a2/h,I=i.a3-i.a4/h,g>.3?(m=c/h*(1+g*(i.a1+F+y*I)/h),S=Math.asin(m),w=m*m,b=Math.sqrt(1-w)):(b=d/h*(1-y*(i.a5-F-g*I)/h),S=Math.acos(b),w=1-b*b,m=Math.sqrt(w)),M=1-s.$O.eccentricitySquared*w,v=s.$O.radius/Math.sqrt(M),C=i.a6*v,F=d-v*b,I=c-C*m,A=b*F+m*I,T=b*I-m*F,x=T/(C/M+A),S+=x,_=A+T*x/2,a<0&&(S=-S),n[r++]=O*j,n[r++]=O*S,n[r]=_}const _={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:y},Z=(0,r.kU)(1),O=(0,r.KJ)(1),k=.5*Math.PI,R=s.$O.radius,E=R*Math.PI/180,P=180/(R*Math.PI)},41366:(e,t,n)=>{n.d(t,{K:()=>p,Q:()=>a});var r=n(31635),i=n(66552),o=n(53966),s=n(91429),l=n(93223);const a=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",p=e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,n=null!=this.normalizationTotal;return t||n?(e=t&&c||n&&u||null,t&&n&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],n.prototype,"normalizationField",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],n.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],n.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],n.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,l.e)(a,{name:"parameters.normalizationType"})],n.prototype,"normalizationType",null),n=(0,r.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],n),n}},41560:(e,t,n)=>{n.d(t,{Ch:()=>s,mW:()=>o});var r=n(34727),i=n(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,n){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:n,maxScale:r}of e.filters)t[0]=Math.max(t[0],c(n)),t[1]=Math.min(t[1],p(r));return t}(e);if(o&&((0,r.gg)(t,o[0])||(0,r.ZH)(n,o[1])))return"";const s=Array.from(l(e,t,n)),a=function(e,t,n){if(0===e.length)return!0;const i=c(e.at(0)?.minScale),o=p(e.at(-1)?.maxScale);if((0,r.ZH)(i,t)||(0,r.gg)(o,n))return!0;for(let t=0;t<e.length-1;t++){const n=e[t],i=e[t+1];if((0,r.ZH)(c(i.minScale),p(n.maxScale)))return!0}return!1}(s,t,n)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*l(e,t,n){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const r of e.filters)a(r.minScale,r.maxScale,t,n)&&(yield r)}}function a(e,t,n,i){return e=c(e),n=c(n),t=p(t),!(!(0,r.Sp)(n,e)&&(i??n)>e||(0,r.Hx)(t,n)||void 0!==i&&(0,r.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function p(e){return e||0}},45067:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(31635),i=n(69540),o=n(66552),s=n(25482),l=n(91429);const a=new o.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new o.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,r.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],c.prototype,"cardinality",void 0),(0,r.Cg)([(0,l.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,r.Cg)([(0,l.$K)("esri.layers.support.Relationship")],c)},50498:(e,t,n)=>{n.d(t,{Ye:()=>p,gy:()=>c,yR:()=>d});var r=n(66552),i=n(5443),o=n(91075),s=n(48526),l=n(86738),a=n(39829),u=n(82799);const c=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),p=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),d={base:o.A,key:"type",typeMap:{extent:i.A,multipoint:s.A,point:l.A,polyline:u.A,polygon:a.A}}},52106:(e,t,n)=>{n.d(t,{A:()=>v});var r,i=n(31635),o=n(37838),s=n(69540),l=n(51447),a=n(25482),u=n(53966),c=n(36708),p=n(24326),d=n(91429),f=n(12195),h=n(65864),y=n(50498),g=n(55156),m=n(60950),b=n(54339),w=n(33910);function M(e){if(null==e)return null;const t={};for(const n in e){const r=e[n];r&&(t[n]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let v=class extends((0,s.OU)(a.o)){static{r=this}constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,p.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new r({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,m.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,g.I)(this.origin);if(e)return(0,b.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,b.r)(this,t):null}getGlobalId(){const e=(0,g.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:M(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,f.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(i.action=r),"attributes"===e&&(i.attributeName=r),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,c.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,c.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,i.Cg)([(0,d.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const r=(0,h.rS)(e[n]);r&&(t[n]=r)}return 0!==Object.keys(t).length?t:null}}})],v.prototype,"aggregateGeometries",null),(0,i.Cg)([(0,d.MZ)({value:null})],v.prototype,"attributes",null),(0,i.Cg)([(0,d.MZ)({value:null,types:y.yR,json:{read:h.rS}})],v.prototype,"geometry",null),(0,i.Cg)([(0,d.MZ)({type:Boolean})],v.prototype,"isAggregate",void 0),(0,i.Cg)([(0,d.MZ)({clonable:!1})],v.prototype,"layer",void 0),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],v.prototype,"origin",void 0),(0,i.Cg)([(0,d.MZ)({type:o.A,value:null})],v.prototype,"popupTemplate",null),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],v.prototype,"sourceLayer",void 0),(0,i.Cg)([(0,d.MZ)({value:null,types:w.Es})],v.prototype,"symbol",null),(0,i.Cg)([(0,d.MZ)({clonable:!1,json:{read:!1,write:!1}})],v.prototype,"_version",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,value:!0})],v.prototype,"visible",null),v=r=(0,i.Cg)([(0,d.$K)("esri.Graphic")],v)},52136:(e,t,n)=>{n.d(t,{p:()=>o});var r=n(31635),i=n(91429);const o=e=>{const t=e;let n=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,r.Cg)([(0,i.MZ)({type:String})],n.prototype,"apiKey",null),n=(0,r.Cg)([(0,i.$K)("esri.layers.mixins.APIKeyMixin")],n),n}},54339:(e,t,n)=>{function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},55156:(e,t,n)=>{n.d(t,{I:()=>i,e:()=>r});const r=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&r in t?e[r]:void 0;var t}},62046:(e,t,n)=>{n.d(t,{Fe:()=>c,KU:()=>h,Nk:()=>o});var r=n(68197),i=n(93397);function o(e){const t=[];return s((0,i.lW)(e),t),t.length?new r.A((0,i.e6)(t[0])):null}function s(e,t){if(!e)return;let n;n="CIMTextSymbol"===e.type?e.symbol:e;const r="CIMPolygonSymbol"===e.type;if(n?.symbolLayers)for(const e of n.symbolLayers)if(!(e.colorLocked||r&&((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))))switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor&&l(t,e.tintColor);break;case"CIMVectorMarker":e.markerGraphics?.forEach(e=>{s(e.symbol,t)});break;case"CIMSolidStroke":case"CIMSolidFill":l(t,e.color);break;case"CIMGradientFill":a(t,e);break;case"CIMHatchFill":s(e.lineSymbol,t)}}function l(e,t){for(const n of e)if(n.join(".")===t.join("."))return;e.push(t)}function a(e,t){const n=t.colorRamp?.type;switch(n){case"CIMMultipartColorRamp":t.colorRamp.colorRamps?.forEach(t=>{"CIMLinearContinuousColorRamp"===t.type&&u(e,t)});break;case"CIMLinearContinuousColorRamp":case"CIMPolarContinuousColorRamp":u(e,t.colorRamp)}}function u(e,t){t&&(t.fromColor&&l(e,t.fromColor),t.toColor&&l(e,t.toColor))}function c(e,t,n){t instanceof r.A||(t=new r.A(t));const o=(0,i.lW)(e);o&&p(o,t,n)}function p(e,t,n){if(!e)return;let r;r="CIMTextSymbol"===e.type?e.symbol:e;const o="CIMPolygonSymbol"===r?.type;if(r?.symbolLayers)for(const e of r.symbolLayers){if(e.colorLocked)continue;if(o)if(n){const{layersToColor:t}=n;if(((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))&&"fill"===t||(0,i.jn)(e)&&"outline"===t)continue}else if((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))continue;const r=t.toArray();switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor=r;break;case"CIMVectorMarker":e.markerGraphics?.forEach(e=>{p(e.symbol,t,n)});break;case"CIMSolidStroke":case"CIMSolidFill":e.color=r;break;case"CIMGradientFill":d(e,t);break;case"CIMHatchFill":p(e.lineSymbol,t,n)}}}function d(e,t){const n=e.colorRamp?.type;switch(n){case"CIMMultipartColorRamp":e.colorRamp.colorRamps?.forEach(e=>{"CIMLinearContinuousColorRamp"===e.type&&f(e,t)});break;case"CIMLinearContinuousColorRamp":case"CIMPolarContinuousColorRamp":f(e.colorRamp,t)}}function f(e,t){if(e&&(e.fromColor&&(e.fromColor=t.toArray()),e.toColor)){const n=t.clone();n.a=0,e.toColor=n.toArray()}}function h(e,t,n=!1){const r=(0,i.lW)(e);if(n&&(t=360-t),"CIMTextSymbol"!==r?.type){if("CIMPointSymbol"===r?.type&&r.symbolLayers){const e=t-(r.angle||0);for(const t of r.symbolLayers)if((0,i.MM)(t)){let n=t.rotation||0;t.rotateClockwise?n-=e:n+=e,t.rotation=n}r.angle=t}}else r.angle=t}},70328:(e,t,n)=>{n.d(t,{BI:()=>w,DC:()=>p,Ej:()=>f,Ie:()=>m,Jt:()=>b,Ne:()=>h,RF:()=>c,aI:()=>v,fA:()=>s,gE:()=>a,hZ:()=>g,iT:()=>d,is:()=>M,qv:()=>C,vI:()=>y,vY:()=>l,v_:()=>F,vt:()=>o,w1:()=>u});var r=n(5443),i=(n(19419),n(4197));function o(e=F){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,n,r,i,s,l=o()){return l[0]=e,l[1]=t,l[2]=n,l[3]=r,l[4]=i,l[5]=s,l}function l(e,t=o()){return function(e,t,n,r=o()){return g(r,C),function(e,t,n=0,r=t.length/3){let i=e[0],o=e[1],s=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),o=Math.min(o,t[n+3*e+1]),s=Math.min(s,t[n+3*e+2]),l=Math.max(l,t[n+3*e]),a=Math.max(a,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=i,e[1]=o,e[2]=s,e[3]=l,e[4]=a,e[5]=u}(r,e,t,n),r}(e,0,e.length/3,t)}function a(e,t=(0,i.jh)(24)){const[n,r,o,s,l,a]=e;return t[0]=n,t[1]=r,t[2]=o,t[3]=n,t[4]=r,t[5]=a,t[6]=n,t[7]=l,t[8]=o,t[9]=n,t[10]=l,t[11]=a,t[12]=s,t[13]=r,t[14]=o,t[15]=s,t[16]=r,t[17]=a,t[18]=s,t[19]=l,t[20]=o,t[21]=s,t[22]=l,t[23]=a,t}function u(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function f(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function h(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function y(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function g(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function m(e){return e?g(e,C):o(C)}function b(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function w(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function M(e){return 6===e.length}function v(e,t,n){if(null==e||null==t)return e===t;if(!M(e)||!M(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const C=[1/0,1/0,1/0,-1/0,-1/0,-1/0],F=[0,0,0,0,0,0];o()},81583:(e,t,n)=>{n.d(t,{L:()=>l,g:()=>s});var r=n(60999),i=n(7762),o=n(92474);async function s(e,t){return await e.load(),l(e,t)}async function l(e,t){const n=[],s=(...e)=>{for(const t of e)null!=t&&(Array.isArray(t)?s(...t):i.A.isCollection(t)?t.forEach(e=>s(e)):(0,o.Zm)(t)&&n.push(t))};t(s);let l=null;if(await(0,r.Tj)(n,async e=>{const t=await(0,r.Ke)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load());!1!==t.ok||l||(l=t)}),l)throw l.error;return e}},85334:(e,t,n)=>{n.d(t,{$:()=>m,IB:()=>s,Iy:()=>v,N2:()=>b,RH:()=>M,ZD:()=>w});var r=n(68197),i=n(4576),o=n(4718);function s(e){return"r"in e&&"g"in e&&"b"in e}function l(e){return"h"in e&&"s"in e&&"v"in e}function a(e){return"l"in e&&"a"in e&&"b"in e}function u(e){return"l"in e&&"c"in e&&"h"in e}n(34727),n(87317),n(91829);const c=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],p=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]];function d(e,t){const n=[];let r,i;if(e[0].length!==t.length)throw new Error("dimensions do not match");const o=e.length,s=e[0].length;let l=0;for(r=0;r<o;r++){for(l=0,i=0;i<s;i++)l+=e[r][i]*t[i];n.push(l)}return n}function f(e){const t=[e.r/255,e.g/255,e.b/255].map(e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4),n=d(c,t);return{x:100*n[0],y:100*n[1],z:100*n[2]}}function h(e){const t=d(p,[e.x/100,e.y/100,e.z/100]).map(e=>{const t=e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055;return Math.min(1,Math.max(t,0))});return{r:Math.round(255*t[0]),g:Math.round(255*t[1]),b:Math.round(255*t[2])}}function y(e){const t=[e.x/95.047,e.y/100,e.z/108.883].map(e=>e>(6/29)**3?e**(1/3):1/3*(29/6)**2*e+4/29);return{l:116*t[1]-16,a:500*(t[0]-t[1]),b:200*(t[1]-t[2])}}function g(e){const t=e.l,n=[(t+16)/116+e.a/500,(t+16)/116,(t+16)/116-e.b/200].map(e=>e>6/29?e**3:3*(6/29)**2*(e-4/29));return{x:95.047*n[0],y:100*n[1],z:108.883*n[2]}}function m(e){return s(e)?e:u(e)?function(e){return h(g(function(e){const t=e.l,n=e.c,r=e.h;return{l:t,a:n*Math.cos(r),b:n*Math.sin(r)}}(e)))}(e):a(e)?function(e){return h(g(e))}(e):function(e){return"x"in e&&"y"in e&&"z"in e}(e)?h(e):l(e)?function(e){const t=(e.h+360)%360/60,n=e.s/100,r=e.v/100*255,i=r*n,o=i*(1-Math.abs(t%2-1));let s;switch(Math.floor(t)){case 0:s={r:i,g:o,b:0};break;case 1:s={r:o,g:i,b:0};break;case 2:s={r:0,g:i,b:o};break;case 3:s={r:0,g:o,b:i};break;case 4:s={r:o,g:0,b:i};break;case 5:case 6:s={r:i,g:0,b:o};break;default:s={r:0,g:0,b:0}}return s.r=Math.round(s.r+r-i),s.g=Math.round(s.g+r-i),s.b=Math.round(s.b+r-i),s}(e):e}function b(e){return l(e)?e:function(e){const t=e.r,n=e.g,r=e.b,i=Math.max(t,n,r),o=i-Math.min(t,n,r);let s=i,l=0===o?0:i===t?(n-r)/o%6:i===n?(r-t)/o+2:(t-n)/o+4,a=0===o?0:o/s;return l<0&&(l+=6),l*=60,a*=100,s*=100/255,{h:l,s:a,v:s}}(m(e))}function w(e){return a(e)?e:function(e){return y(f(e))}(m(e))}function M(e){return u(e)?e:function(e){return function(e){const t=e.l,n=e.a,r=e.b,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o=o>0?o:o+2*Math.PI,{l:t,c:i,h:o}}(y(f(e)))}(m(e))}function v(e,t,n={}){if(0===e.length||t<=0)return[];if(1===(e=e.map(e=>"string"==typeof e?new r.A(e):e)).length||1===t){const n=[],r=e[0];for(let e=0;e<t;e++)n.push(r.clone());return n}if(n.shuffle&&(e=(0,i.k4)((0,o.o8)(e),n.seed)),e.length>=t){const n=[],r=(e.length-1)/(t-1);for(let i=0;i<t;i++){const t=Math.round(i*r);n.push(e[t].clone())}return n}return function(e,t,n={}){const r=[],o=e.length-1,s=Math.ceil((t-e.length)/o);e:for(let i=0;i<o;i++){const o=e[i],l=e[i+1];for(let i=1;i<=s;i++){const a=i/(s+1);if(r.push(F(o,l,a,n)),r.length+e.length===t)break e}}return[...e.map(e=>e.clone()),...(0,i.k4)(r,n.seed??1)]}(e,t,n)}const C=(e,t)=>{const n=Math.floor(10*t())-5;return Math.min(255,Math.max(0,e+n))};function F(e,t,n,o={}){const s=e.r,l=e.g,a=e.b,u=t.r,c=t.g,p=t.b,d=Math.round(s+(u-s)*n),f=Math.round(l+(c-l)*n),h=Math.round(a+(p-a)*n);if(!o.offset)return new r.A([d,f,h]);const y=(0,i.Mo)(o.seed);return new r.A([C(d,y),C(f,y),C(h,y)])}},91218:(e,t,n)=>{n.r(t),n.d(t,{canProjectWithoutEngine:()=>D,initializeProjection:()=>V,isEqualBaseGCS:()=>U,isLoaded:()=>j,isLoadedOrLoad:()=>_,isLoadedOrLoadFor:()=>Z,load:()=>k,project:()=>R,projectAsync:()=>z,projectExtent:()=>te,projectMany:()=>E,projectMultipoint:()=>J,projectOrLoad:()=>L,projectOrLoadMany:()=>N,projectPoint:()=>B,projectPolygon:()=>X,projectPolyline:()=>Q,projectWithoutEngine:()=>K,requiresLoad:()=>O,test:()=>G,tryProject:()=>P,unload:()=>$});var r=n(49186),i=n(74887),o=n(62788),s=n(95488),l=n(51850),a=n(21276),u=n(73941),c=n(5443),p=n(91075),d=n(48526),f=n(86738),h=n(39829),y=n(82799),g=n(16930),m=n(159),b=n(9762),w=n(37539);function M(e,t,n,r,i,o){return v[0]=e,v[1]=t,v[2]=n,(0,b.projectBuffer)(v,r,0,i,o,0)}const v=(0,l.vt)();var C=n(21325);let F=null,I=null,T=null,A=null,x={};const S=new s.I;function j(){return!!(I?.isLoaded()&&T?.isLoaded()&&A?.isLoaded())}function _(){return!!j()||((0,o.gc)(S),k(),!1)}function Z(e,t){return!e||!t||D(e,t)||_()}function O(e,t){return!D(e,t)&&!j()}async function k(e){null==F&&(F=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(I=e,I.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(T=e,T.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(A=e,A.load()))])),await F,(0,i.Te)(e),S.notify()}function R(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),E(e,e[0].spatialReference,t,n)):((0,a.f)(e),E([e],e.spatialReference,t,n)[0])}function E(e,t,n,r){if(null==t||null==n)return e;if(D(t,n,r))return e.map(e=>K(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return E(e.map(e=>K(e,t,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return E(e,t,g.A.WGS84).map(e=>K(e,g.A.WGS84,n));if(!j())throw new q;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:A.getTransformation(t,n,r.areaOfInterestExtent)||new m.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let i=x[e];i||(i=A.getTransformation(t,n)||new m.A,x[e]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?I.executeMany(e,n,r):T.executeMany(e,n,r)}function P(e,t,n){try{return R(e,t,n)}catch(e){if(e instanceof q)return null;throw e}}function L(e,t){const n=N([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function N(e,t,n){if(!j())for(const n of e)if(null!=n&&!(0,C.aI)(n.spatialReference,t)&&(0,C.fn)(n.spatialReference)&&(0,C.fn)(t)&&!D(n.spatialReference,t))return(0,o.gc)(S),{pending:k(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,C.aI)(e.spatialReference,t)?e:(0,C.fn)(e.spatialReference)&&(0,C.fn)(t)?R(e,t,n):null)}}class q extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function $(){F=null,I=null,T=null,A=null,x={}}const G={get loadPromise(){return F}};async function z(e,t,n){if((0,i.Te)(n),!e)return e;const r=N(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,i.Te)(n),z(e,t,n);const o=r.geometries??[];return Array.isArray(e)?o:o[0]}function D(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,C.aI)(e,t)||(0,C.fn)(e)&&(0,C.fn)(t)&&!!(0,w.jd)(e,t))}function U(e,t){if((0,C.aI)(e,t))return!0;if(!(0,C.fn)(e)||!(0,C.fn)(t))return!1;const n=(0,C.oT)(e)||(0,C.K8)(e)||(0,C.x1)(e),r=(0,C.oT)(t)||(0,C.K8)(t)||(0,C.x1)(t);return n&&r}async function V(e,t,n,r){if(j())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:i}of e)if(t&&n&&!D(t,n,i))return k(r)}else if(e&&t&&!D(e,t,n))return k(r);return(0,i.NO)(r)}function K(e,t,n){return e?"x"in e?H(e,t,new f.A,n,0):"xmin"in e?ne(e,t,new c.A,n,0):"rings"in e?ee(e,t,new h.A,n,0):"paths"in e?Y(e,t,new y.A,n,0):"points"in e?W(e,t,new d.A,n,0):null:null}function B(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=H(e,e.spatialReference,t,n,r)}function H(e,t,n,r,i){ie[0]=e.x,ie[1]=e.y;const o=e.z;return ie[2]=void 0!==o?o:i,(0,b.projectBuffer)(ie,t,0,ie,r,0)?(n.x=ie[0],n.y=ie[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=ie[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function J(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=W(e,e.spatialReference,t,n,r)}function W(e,t,n,r,i){const{points:o,hasZ:s,hasM:l}=e,a=[],c=o.length,p=[];for(const e of o)p.push(e[0],e[1],s?e[2]:i);if(!(0,b.projectBuffer)(p,t,0,p,r,0,c))return null;const d=s||(0,u.xP)(r);for(let e=0;e<c;++e){const t=3*e,n=p[t],r=p[t+1];d&&l?a.push([n,r,p[t+2],o[e][3]]):d?a.push([n,r,p[t+2]]):l?a.push([n,r,o[e][2]]):a.push([n,r])}return n.points=a,n.spatialReference=r,n.hasZ=s,n.hasM=l,n}function Q(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=Y(e,e.spatialReference,t,n,r)}function Y(e,t,n,r,i){const{paths:o,hasZ:s,hasM:l}=e,a=[];if(!re(o,s??!1,l??!1,t,a,r,i))return null;const c=s||(0,u.xP)(r);return n.paths=a,n.spatialReference=r,n.hasZ=c,n.hasM=l,n}function X(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ee(e,e.spatialReference,t,n,r)}function ee(e,t,n,r,i){const{rings:o,hasZ:s,hasM:l}=e,a=[];if(!re(o,s??!1,l??!1,t,a,r,i))return null;const c=s||(0,u.xP)(r);return n.rings=a,n.spatialReference=r,n.hasZ=c,n.hasM=l,n}function te(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ne(e,e.spatialReference,t,n,r)}function ne(e,t,n,r,i){const{xmin:o,ymin:s,xmax:l,ymax:a,hasZ:c,hasM:p}=e;if(!M(o,s,c?e.zmin:i,t,ie,r))return null;const d=c||(0,u.xP)(r);return n.xmin=ie[0],n.ymin=ie[1],d&&(n.zmin=ie[2]),M(l,a,c?e.zmax:i,t,ie,r)?(n.xmax=ie[0],n.ymax=ie[1],d&&(n.zmax=ie[2]),p&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function re(e,t,n,r,i,o,s=0){const l=new Array;for(const n of e)for(const e of n)l.push(e[0],e[1],t?e[2]:s);if(!(0,b.projectBuffer)(l,r,0,l,o,0))return!1;let a=0;i.length=0;const c=t||(0,u.xP)(o);for(const t of e){const e=new Array;for(const r of t)c&&n?e.push([l[a++],l[a++],l[a++],r[3]]):c?e.push([l[a++],l[a++],l[a++]]):n?(e.push([l[a++],l[a++],r[2]]),a++):(e.push([l[a++],l[a++]]),a++);i.push(e)}return!0}const ie=(0,l.vt)()},95466:(e,t,n)=>{n.d(t,{A:()=>f});var r=n(49186),i=n(53966),o=n(91869),s=n(3330),l=n(12195),a=n(30524),u=n(98623),c=n(56400),p=n(28097);const d=new Map;class f{static fromJSON(e){return new f(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new f(e.fields??[],m(e))}static fromLayerJSON(e){return new f(e.fields??[],m(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;const n=[];for(const e of this.fields){const t=e?.name,r=y(t);if(t&&r){const i=h(t);this._fieldsMap.set(t,e),this._fieldsMap.set(i,e),this._normalizedFieldsMap.set(r,e),n.push(`${i}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,a.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,a.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,a.te)(e)||(0,a.Xz)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}n.sort(),this.uid=n.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,a.te)(e)||(0,a.Xz)(e)||e.nullable||void 0!==(0,a.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){if(!e)return;let t=this._fieldsMap.get(e);return t||(t=this._fieldsMap.get(h(e))??this._normalizedFieldsMap.get(y(e)),t&&this._fieldsMap.set(e,t),t)}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(i.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new r.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),u.n$):g.has(t.type)?u.L5:null:null}getLuxonTimeZone(e){const t=this.getTimeZone(e);return t?t===u.L5?s.GB.instance:t===u.n$?p.mQ.utcInstance:(0,o.tE)(d,t,()=>p.oh.create(t)):null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,a.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,l.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}function h(e){return e.trim().toLowerCase()}function y(e){return(0,a.rS)(e)?.toLowerCase()??""}const g=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function m(e){const t=new Map;if(!e.fields)return t;const n=!0===e.datesInUnknownTimezone,{timeInfo:r,editFieldsInfo:i}=e,o=(r?"startField"in r?r.startField:r.startTimeField:"")??"",s=(r?"endField"in r?r.endField:r.endTimeField:"")??"",l=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,c.ZS)(e.dateFieldsTimeReference):null,a=i?function(e){return"timeZone"in e}(i)?i.timeZone??l:i.dateFieldsTimeReference?(0,c.ZS)(i.dateFieldsTimeReference):l??u.n$:null,p=r?function(e){return"timeZone"in e}(r)?r.timeZone??l:r.timeReference?(0,c.ZS)(r.timeReference):l:null,d=new Map([[h(i?.creationDateField??""),a],[h(i?.editDateField??""),a],[h(o),p],[h(s),p]]);for(const{name:r,type:i}of e.fields)if(g.has(i))t.set(r,u.L5);else if("date"!==i&&"esriFieldTypeDate"!==i)t.set(r,null);else if(n)t.set(r,u.L5);else{const e=d.get(h(r??""))??l;t.set(r,e)}return t}},97483:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Pe});var r=n(31635),i=n(69540),o=n(7762),s=n(49186),l=n(81583),a=n(91869),u=n(25728),c=n(74887),p=n(36708),d=n(39516),f=n(91429),h=n(4146),y=n(52136),g=n(18768),m=n(63074),b=n(69208),w=n(6455),M=n(47685),v=n(87796),C=n(16131),F=n(8303),I=n(54310),T=n(25036),A=n(82935),x=n(60694),S=n(10873),j=n(15426),_=n(17036),Z=n(30524),O=n(85334),k=n(90360),R=n(86162),E=n(92438),P=n(96576),L=n(93618),N=n(62046),q=n(37531);const $={key:"type",base:E.A,errorContext:"renderer",typeMap:{simple:P.A,"unique-value":L.A,"class-breaks":R.A}},G=(0,k.C)({types:$}),z=["#ed5151","#149ece","#a7c636","#9e559c","#fc921f","#ffde3e","#f789d8","#b7814a","#3caf99","#6b6bd6","#b54779","#7f7f7f"];var D=n(37838),U=(n(44208),n(4902)),V=n(4718),K=n(92474),B=n(53966),H=n(97768),J=n(93637),W=n(89317),Q=n(965),Y=n(16930),X=n(55156),ee=n(60950),te=n(89808),ne=n(99959);const re=Symbol("isSubtypeGroupGraphicOriginSymbol");var ie;class oe extends ne.A{get[(ie=re,ee.ym)](){return this.sublayer}get[X.e](){return this.sublayer}get[te.Q](){return this.layer}constructor(e){super(),this[ie]=!0,this.type="subtype-group",this.sublayer=e}get layer(){return this.sublayer.parent}get id(){return`${this.layer.id}:__${this.sublayer.id}__`}}var se=n(29005),le=n(46499),ae=n(39383),ue=n(17311),ce=n(54546),pe=n(61956),de=n(30291),fe=n(59868),he=n(43440),ye=n(43937),ge=n(36005);const me=(0,_.p)();let be=0;function we(e,t){let n=e.json.write;return"object"!=typeof n&&(n=e.json.write={}),n.ignoreOrigin=!0,t?.spatialOnly&&(n.layerContainerTypes=W.K),e}function Me(e){const t={write:{ignoreOrigin:!0}};return e?.name&&(t.name=e.name),"object"==typeof t.write&&(e?.spatialOnly&&(t.write.layerContainerTypes=W.K),e?.target&&(t.write.target=e.target)),t}function ve(e){switch(e){case"point":case"multipoint":return fe.UK.clone();case"polyline":return fe.A7.clone();case"polygon":case"multipatch":return fe.Cx.clone();default:return null}}function Ce(e,t){return null==e?null:t.subtypes?.find(t=>t.code===e)}function Fe(e,t){let n=null;switch(t.geometryType){case"esriGeometryPoint":case"esriGeometryMultipoint":n="point";break;case"esriGeometryPolyline":n="line";break;case"esriGeometryPolygon":case"esriGeometryMultiPatch":n="polygon";break;default:t.type,n=null}const r={},i=Ce(e,t);if(null!=i){const{defaultValues:e}=i;for(const t in e)r[t]=e[t]}return r[t.subtypeField]=e,new se.A({name:"New Feature",drawingTool:n,prototype:{attributes:r}})}let Ie=class extends((0,u.P)((0,i.OU)((0,U.s)(K.x_)))){constructor(e){super(e),this.attributeTableTemplate=null,this.charts=null,this.editingEnabled=!0,this.fieldOverrides=null,this.fieldsIndex=null,this.formTemplate=null,this.graphicOrigin=new oe(this),this.id=`${Date.now().toString(16)}-subtype-sublayer-${be++}`,this.type="subtype-sublayer",this.labelsVisible=!0,this.labelingInfo=null,this.layerType="ArcGISFeatureLayer",this.legendEnabled=!0,this.listMode="show",this.minScale=0,this.maxScale=0,this.opacity=1,this.parent=null,this.popupEnabled=!0,this.popupTemplate=null,this.subtypeCode=null,this.templates=null,this.title=null,this.visible=!0}load(e){return(0,Z.yp)(this.renderer,this.fieldsIndex),Promise.resolve(this)}get _titleCreator(){const e=this._get("_titleCreator");return(0,H.pR)(e),new ue.A({fieldsIndex:this.fieldsIndex,objectIdField:this.objectIdField,displayField:this.parent?.displayField??"",fields:this.fields,effectivePopupTemplate:this.popupTemplate??this.defaultPopupTemplate})}get capabilities(){return this.parent?.capabilities}get effectiveCapabilities(){return this.parent?.effectiveCapabilities}get effectiveEditingEnabled(){const{parent:e}=this;return e?e.effectiveEditingEnabled&&this.editingEnabled:this.editingEnabled}get elevationInfo(){return this.parent?.elevationInfo}get featureTitleFields(){return[...this._titleCreator.requiredFields]}writeFieldOverrides(e,t,n){const{fields:r,parent:i}=this;let o;if(r){o=[];let e=0;r.forEach(({name:t,alias:n,editable:r,visible:s})=>{if(!s)return;const l=i?.fields?.find(e=>e.name===t);if(!l)return;const a={name:t};let u=!1;n!==l.alias&&(a.alias=n,u=!0),r!==l.editable&&(a.editable=r,u=!0),o.push(a),u&&e++}),0===e&&o.length===r.length&&(o=null)}else o=(0,V.o8)(e);o?.length&&(0,J.sM)(n,o,t)}get fields(){const{parent:e,fieldOverrides:t,subtypeCode:n}=this,r=e?.fields;if(!e||!r?.length)return null;const{subtypes:i,subtypeField:o}=e,s=i?.find(e=>e.code===n),l=s?.defaultValues,a=s?.domains,u=[];for(const e of r){const r=e.clone(),{name:i}=r,s=t?.find(e=>e.name===i);if(r.visible=!t?.length||!!s,s){const{alias:e,editable:t}=s;e&&(r.alias=e),!1===t&&(r.editable=!1)}const c=l?.[i]??null;r.defaultValue=i===o?n:c;const p=a?.[i]??null;r.domain=i===o?null:p?"inherited"===p.type?r.domain:p.clone():null,u.push(r)}return u}get floorInfo(){return this.parent?.floorInfo}get isTable(){return!!this.parent?.isTable}get geometryType(){return this.parent?.geometryType}get globalIdField(){return this.parent?this.parent.globalIdField:(B.A.getLogger(this).error(xe("globalIdField")),null)}get effectiveScaleRange(){const{minScale:e,maxScale:t}=this;return{minScale:e,maxScale:t}}get objectIdField(){return this.parent||B.A.getLogger(this).error(xe("objectIdField")),this.parent?.objectIdField}get defaultPopupTemplate(){return this.createPopupTemplate()}get relationships(){return this.parent?.relationships}set renderer(e){(0,Z.yp)(e,this.fieldsIndex),this._override("renderer",e)}get renderer(){if(this._isOverridden("renderer"))return this._get("renderer");const{parent:e}=this;return e&&!e.isTable&&"mesh"!==e.geometryType?function(e){return new P.A({symbol:ve(e)})}(e.geometryType):null}readRendererFromService(e,t,n){if("Table"===t.type)return null;const r=t.drawingInfo?.renderer,i=G(r,t,n);let o;const{subtypeCode:s}=this;if(null!=s&&function(e,t){return!(!t||"unique-value"!==e?.type||null==e.field||e.field.toLowerCase()!==t.toLowerCase()||e.field2||e.field3||e.valueExpression)}(i,t.subtypeField)){const e=i.uniqueValueInfos?.find(({value:e})=>(e="number"==typeof e?String(e):e)===String(s));e&&(o=new P.A({symbol:e.symbol}))}else"simple"!==i?.type||i.visualVariables?.length||(o=i);return o}readRenderer(e,t,n){const r=t?.layerDefinition?.drawingInfo?.renderer;if(r)return G(r,t,n)||void 0}get spatialReference(){return this.parent?.spatialReference??Y.A.WGS84}get subtypeField(){return this.parent?.subtypeField}readTemplatesFromService(e,t){return[Fe(this.subtypeCode,t)]}readTitleFromService(e,t){const n=Ce(this.subtypeCode,t);return null!=n?n.name:null}get url(){return this.parent?.url}get userHasUpdateItemPrivileges(){return!!this.parent?.userHasUpdateItemPrivileges}async addAttachment(e,t){const{parent:n}=this;if(!n)throw xe("addAttachment");if(e.getAttribute(n.subtypeField)!==this.subtypeCode)throw new s.A("subtype-sublayer:addAttachment","The feature provided does not belong to this SubtypeSublayer");return n.addAttachment(e,t)}async updateAttachment(e,t,n){const{parent:r}=this;if(!r)throw xe("updateAttachment");if(e.getAttribute(r.subtypeField)!==this.subtypeCode)throw new s.A("subtype-sublayer:updateAttachment","The feature provided does not belong to this SubtypeSublayer");return r.updateAttachment(e,t,n)}async deleteAttachments(e,t){const{parent:n}=this;if(!n)throw xe("deleteAttachments");if(e.getAttribute(n.subtypeField)!==this.subtypeCode)throw new s.A("subtype-sublayer:deleteAttachments","The feature provided does not belong to this SubtypeSublayer");return n.deleteAttachments(e,t)}async applyEdits(e,t){if(!this.parent)throw xe("applyEdits");return this.parent.applyEdits(e,t)}createPopupTemplate(e){let t=this;const{parent:n,fields:r,title:i}=this;if(n){const{displayField:e,editFieldsInfo:o,objectIdField:s}=n;t={displayField:e,editFieldsInfo:o,fields:r,objectIdField:s,title:i}}return(0,de.tn)(t,e)}createQuery(){if(!this.parent)throw xe("createQuery");const e=(0,j.VZ)(this.parent),t=`${this.parent.subtypeField}=${this.subtypeCode}`;return e.where=(0,d.mA)(t,this.parent.definitionExpression),e}getFeatureTitle(e,t){return this._titleCreator.getTitle(this,e,t)}getFeatureTitles(e,t){return this._titleCreator.getTitles(this,e,t)}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){if(!t?.excludeImpliedDomains&&this.parent){const t=(0,j.pc)(this.parent,e);if(t)return t}return this._getLayerDomain(e)}async queryAttachments(e,t){const n=await this.load();if(!n.parent)throw xe("queryAttachments");const r=e instanceof ce.A?e.clone():new ce.A(e);return r.where=Ae(r.where,n.parent.subtypeField,n.subtypeCode),n.parent.queryAttachments(r,t)}async queryFeatureCount(e,t){const n=await this.load();if(!n.parent)throw xe("queryFeatureCount");return n.parent.queryFeatureCount(Te(n.parent,n,e),t)}async queryFeatures(e,t){const n=await this.load();if(!n.parent)throw xe("queryFeatures");return n.parent.queryFeatures(Te(n.parent,n,e),t)}async queryObjectIds(e,t){const n=await this.load();if(!n.parent)throw xe("queryObjectIds");return n.parent.queryObjectIds(Te(n.parent,n,e),t)}async queryRelatedFeatures(e,t){const n=await this.load();if(!n.parent)throw xe("queryRelatedFeatures");return n.parent.queryRelatedFeatures(e,t)}async queryRelatedFeaturesCount(e,t){const n=await this.load();if(!n.parent)throw xe("queryRelatedFeaturesCount");return n.parent.queryRelatedFeaturesCount(e,t)}_getLayerDomain(e){const t=this.fieldsIndex.get(e);return t?t.domain:null}};(0,r.Cg)([(0,f.MZ)({clonable:!1,readOnly:!0})],Ie.prototype,"_titleCreator",null),(0,r.Cg)([(0,f.MZ)({type:he.A,json:Me({name:"attributeTableInfo"})})],Ie.prototype,"attributeTableTemplate",void 0),(0,r.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Ie.prototype,"capabilities",null),(0,r.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Ie.prototype,"effectiveCapabilities",null),(0,r.Cg)([(0,f.MZ)({json:Me()})],Ie.prototype,"charts",void 0),(0,r.Cg)([(0,f.MZ)({type:Boolean,nonNullable:!0,json:Me({name:"enableEditing"})})],Ie.prototype,"editingEnabled",void 0),(0,r.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],Ie.prototype,"effectiveEditingEnabled",null),(0,r.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Ie.prototype,"elevationInfo",null),(0,r.Cg)([(0,f.MZ)({clonable:!1,readOnly:!0})],Ie.prototype,"featureTitleFields",null),(0,r.Cg)([(0,f.MZ)({json:{name:"layerDefinition.fieldOverrides",origins:{service:{read:!1}},write:{ignoreOrigin:!0,allowNull:!0}}})],Ie.prototype,"fieldOverrides",void 0),(0,r.Cg)([(0,ye.K)("fieldOverrides")],Ie.prototype,"writeFieldOverrides",null),(0,r.Cg)([(0,f.MZ)({...me.fields,readOnly:!0,json:{read:!1}})],Ie.prototype,"fields",null),(0,r.Cg)([(0,f.MZ)(me.fieldsIndex)],Ie.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Ie.prototype,"floorInfo",null),(0,r.Cg)([(0,f.MZ)({type:Q.A,json:Me({name:"formInfo"})})],Ie.prototype,"formTemplate",void 0),(0,r.Cg)([(0,f.MZ)({readOnly:!0,clonable:!1})],Ie.prototype,"graphicOrigin",void 0),(0,r.Cg)([(0,f.MZ)({type:String,clonable:!1,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0}}})],Ie.prototype,"id",void 0),(0,r.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Ie.prototype,"isTable",null),(0,r.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Ie.prototype,"geometryType",null),(0,r.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Ie.prototype,"globalIdField",null),(0,r.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Ie.prototype,"type",void 0),(0,r.Cg)([(0,f.MZ)(we((0,V.o8)(S.kF)))],Ie.prototype,"labelsVisible",void 0),(0,r.Cg)([(0,f.MZ)({type:[le.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",origins:{service:{read:!1}},read:{reader:ae.w},write:{ignoreOrigin:!0,layerContainerTypes:W.K}}})],Ie.prototype,"labelingInfo",void 0),(0,r.Cg)([(0,f.MZ)({type:["ArcGISFeatureLayer"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,layerContainerTypes:W.K}}})],Ie.prototype,"layerType",void 0),(0,r.Cg)([(0,f.MZ)(we((0,V.o8)(S.fV)))],Ie.prototype,"legendEnabled",void 0),(0,r.Cg)([(0,f.MZ)({type:["show","hide"]})],Ie.prototype,"listMode",void 0),(0,r.Cg)([(0,f.MZ)((()=>{const e=(0,V.o8)(S.hn);return e.json.origins.service.read=!1,we(e,{spatialOnly:!0})})())],Ie.prototype,"minScale",void 0),(0,r.Cg)([(0,f.MZ)((()=>{const e=(0,V.o8)(S.hG);return e.json.origins.service.read=!1,we(e,{spatialOnly:!0})})())],Ie.prototype,"maxScale",void 0),(0,r.Cg)([(0,f.MZ)({readOnly:!0})],Ie.prototype,"effectiveScaleRange",null),(0,r.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Ie.prototype,"objectIdField",null),(0,r.Cg)([(0,f.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0,json:Me({spatialOnly:!0})})],Ie.prototype,"opacity",void 0),(0,r.Cg)([(0,f.MZ)({clonable:!1})],Ie.prototype,"parent",void 0),(0,r.Cg)([(0,f.MZ)(we((0,V.o8)(S.M6)))],Ie.prototype,"popupEnabled",void 0),(0,r.Cg)([(0,f.MZ)({type:D.A,json:Me({name:"popupInfo"})})],Ie.prototype,"popupTemplate",void 0),(0,r.Cg)([(0,f.MZ)({readOnly:!0})],Ie.prototype,"defaultPopupTemplate",null),(0,r.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Ie.prototype,"relationships",null),(0,r.Cg)([(0,f.MZ)({types:$,json:Me({target:"layerDefinition.drawingInfo.renderer",spatialOnly:!0})})],Ie.prototype,"renderer",null),(0,r.Cg)([(0,ge.w)("service","renderer",["drawingInfo.renderer","subtypeField","type"])],Ie.prototype,"readRendererFromService",null),(0,r.Cg)([(0,ge.w)("renderer",["layerDefinition.drawingInfo.renderer"])],Ie.prototype,"readRenderer",null),(0,r.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Ie.prototype,"spatialReference",null),(0,r.Cg)([(0,f.MZ)({type:Number,json:{origins:{service:{read:!1}},write:{ignoreOrigin:!0}}})],Ie.prototype,"subtypeCode",void 0),(0,r.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Ie.prototype,"subtypeField",null),(0,r.Cg)([(0,f.MZ)({type:[se.A],json:Me({name:"layerDefinition.templates"})})],Ie.prototype,"templates",void 0),(0,r.Cg)([(0,ge.w)("service","templates",["geometryType","subtypeField","subtypes","type"])],Ie.prototype,"readTemplatesFromService",null),(0,r.Cg)([(0,f.MZ)({type:String,json:Me()})],Ie.prototype,"title",void 0),(0,r.Cg)([(0,ge.w)("service","title",["subtypes"])],Ie.prototype,"readTitleFromService",null),(0,r.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Ie.prototype,"url",null),(0,r.Cg)([(0,f.MZ)({readOnly:!0})],Ie.prototype,"userHasUpdateItemPrivileges",null),(0,r.Cg)([(0,f.MZ)({type:Boolean,nonNullable:!0,json:Me({name:"visibility",spatialOnly:!0})})],Ie.prototype,"visible",void 0),Ie=(0,r.Cg)([(0,f.$K)("esri.layers.support.SubtypeSublayer")],Ie);const Te=(e,t,n)=>{if(!n)return t.createQuery();const r=pe.A.from(n);return r.where=Ae(r.where,e.subtypeField,t.subtypeCode),r},Ae=(e,t,n)=>{const r=new RegExp(`${t}\\s*=\\s*\\d+`),i=`${t}=${n}`,o=e??"";return r.test(o)?o.replace(r,i):(0,d.mA)(i,o)},xe=e=>new s.A("subtype-sublayer:parent-missing",`This sublayer must have a parent SubtypeGroupLayer in order to use ${e}`);var Se=n(96184),je=n(91908),_e=n(54218);const Ze="SubtypeGroupLayer";function Oe(e,t){return new s.A("layer:unsupported",`Layer (${e.title}, ${e.id}) of type '${e.declaredClass}' ${t}`,{layer:e})}function ke(e,t){const n=[];for(const r of e){const e=new Ie;e.read(r,t),n.push(e)}return n}const Re=(0,_.p)();let Ee=class extends((0,v.j)((0,w.FJ)((0,M.w6)((0,m.dM)((0,A.e)((0,T.j)((0,I.J)((0,g.b)((0,C.q)((0,F.A)((0,u.P)((0,b.d)((0,y.p)((0,i.OU)(h.A))))))))))))))){constructor(...e){super(...e),this._sublayerLookup=new Map,this.fields=null,this.fieldsIndex=null,this.outFields=null,this.sublayers=new(o.A.ofType(Ie)),this.useUniqueColorsForSublayers=!0,this.supportedSourceTypes=new Set(["Feature Layer","Table"]),this.timeInfo=null,this.title="Layer",this.type="subtype-group",this._debouncedSaveOperations=(0,c.sg)(async(e,t,r)=>{const{save:i,saveAs:o}=await n.e(5740).then(n.bind(n,33359));switch(e){case 0:return i(this,t);case 1:return o(this,r,t)}}),this.addHandles((0,p.wB)(()=>this.sublayers,(e,t)=>this._handleSublayersChange(e,t),p.OH))}destroy(){this.source?.destroy()}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null,n=this.loadFromPortal({supportedTypes:["Feature Service"]},e).catch(c.QP).then(async()=>{if(!this.url)throw new s.A("subtype-grouplayer:missing-url-or-source","SubtypeGroupLayer must be created with either a url or a portal item");if(null==this.layerId)throw new s.A("subtype-grouplayer:missing-layerid","layerId is required for a SubtypeGroupLayer created with url");this._initLayerProperties(await this.createGraphicsSource(t))}).then(()=>(0,j.VA)(this,"load",e));return this.addResolvingPromise(n),Promise.resolve(this)}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("gdbVersion"),this.commitProperty("historicMoment"),this.commitProperty("returnZ"),this.commitProperty("capabilities"),this.commitProperty("returnM"),(this._get("createQueryVersion")??0)+1}get editingEnabled(){return this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}get effectiveEditingEnabled(){return(0,j.C$)(this)}get operationalLayerType(){return this.isTable?"SubtypeGroupTable":"SubtypeGroupLayer"}set source(e){this._get("source")!==e&&this._set("source",e)}readTitleFromService(e,{name:t}){return this.url?(0,x.yG)(this.url,t):t}async addAttachment(e,t){const n=await(0,j.Xl)(this,e,t,Ze);return this.lastEditsEventDate=new Date,n}async updateAttachment(e,t,n){const r=await(0,j.bt)(this,e,t,n,Ze);return this.lastEditsEventDate=new Date,r}async applyEdits(e,t){return(0,j.ct)(this,e,t)}async createGraphicsSource(e){const{default:t}=await(0,c.qr)(Promise.all([n.e(708),n.e(893),n.e(8628),n.e(2593),n.e(9062)]).then(n.bind(n,72593)),e);return new t({layer:this,supportedSourceTypes:this.supportedSourceTypes}).load({signal:e})}createQuery(){const e=(0,j.VZ)(this),t=this.sublayers.map(e=>e.subtypeCode);return e.where=(0,d.mA)(`${this.subtypeField} IN (${t.join(",")})`,this.definitionExpression),e}async deleteAttachments(e,t){const n=await(0,j.mm)(this,e,t,Ze);return this.lastEditsEventDate=new Date,n}async fetchRecomputedExtents(e){return(0,j.WP)(this,e,Ze)}findSublayerForFeature(e){const t=this.fieldsIndex.get(this.subtypeField),n=e.attributes[t.name];return this.findSublayerForSubtypeCode(n)}findSublayerForSubtypeCode(e){return this._sublayerLookup.get(e)}getFieldDomain(e,t){if(!t?.excludeImpliedDomains){const t=(0,j.pc)(this,e);if(t)return t}const n=(0,j.Nv)(this,t?.feature);if(n){const t=n.domains?.[e];return"inherited"===t?.type?this._getLayerDomain(e):t}return this._getLayerDomain(e)}loadAll(){return(0,l.g)(this,e=>{e(this.sublayers)})}async queryAttachments(e,t){return(0,j.lV)(this,e,t,Ze)}async queryFeatures(e,t){const n=await this.load(),r=pe.A.from(e)??n.createQuery(),i=r.outFields??[];i.includes(this.subtypeField)||(i.push(this.subtypeField),r.outFields=i);const o=await n.source.queryFeatures(r,t);if(o?.features)for(const e of o.features){const t=this.findSublayerForFeature(e);e.origin=t?.graphicOrigin,e.layer=e.sourceLayer=this.findSublayerForFeature(e)}return o}async queryObjectIds(e,t){return(await(0,j.sg)(this,e,t,Ze)).filter(_e.Et)}async queryFeatureCount(e,t){return(0,j.Ye)(this,e,t,Ze)}async queryExtent(e,t){return(0,j.B5)(this,e,t,Ze)}async queryRelatedFeatures(e,t){return(0,j.hM)(this,e,t,Ze)}async queryRelatedFeaturesCount(e,t){return(0,j.S2)(this,e,t,Ze)}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}write(e,t){const{origin:n,layerContainerType:r,messages:i}=t;if(this.isTable){if("web-scene"===n||"web-map"===n&&"tables"!==r)return i?.push(Oe(this,"using a table source cannot be written to web scenes and web maps")),null}else if(this.loaded&&"web-map"===n&&"tables"===r)return i?.push(Oe(this,"using a non-table source cannot be written to tables in web maps")),null;return this.sublayers?.length?super.write(e,t):(i?.push(new s.A("web-document-write:invalid-property",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' has invalid value for 'sublayers' property. 'sublayers' collection should contain at least one sublayer`,{layer:this})),null)}serviceSupportsSpatialReference(e){return!!this.loaded&&(0,je.D)(this,e)}async getFeatureTitle(e,t){const n=this.findSublayerForFeature(e);return n?await n.getFeatureTitle(e,t):this._getFeatureTitleForUnknownSublayer(e)}async getFeatureTitles(e,t){const n=new Map,r=new Map,i=[r];e.forEach(e=>{const t=this.findSublayerForFeature(e);if(t)(0,a.tE)(n,t,()=>[]).push(e);else{const t=e.getObjectId()??e.attributes[this.objectIdField];r.set(t,this._getFeatureTitleForUnknownSublayer(e))}});const o=await Promise.all(Array.from(n).map(([e,n])=>e.getFeatureTitles(n,t)));return o.forEach(e=>i.push(e)),new Map(i.flatMap(e=>[...e]))}get featureTitleFields(){const e=new Set;for(const t of this.sublayers){const n=t.featureTitleFields;for(const t of n)e.add(t)}return[...e]}_getLayerDomain(e){const t=this.fieldsIndex.get(e);return t?t.domain:null}_initLayerProperties(e){this._set("source",e);const{sourceJSON:t}=e;if(t&&(this.sourceJSON=t,this.read(t,{origin:"service",url:this.parsedUrl})),!this.subtypes?.length)throw new s.A("subtype-grouplayer:missing-subtypes","SubtypeGroupLayer must be created using a layer with subtypes");this._verifyFields(),(0,Z.sv)(this.timeInfo,this.fieldsIndex)}async hasDataChanged(){return(0,j.jp)(this)}_verifyFields(){const e=this.parsedUrl?.path??"undefined";this.objectIdField||console.log("SubtypeGroupLayer: 'objectIdField' property is not defined (url: "+e+")"),this.isTable||-1!==e.search(/\/FeatureServer\//i)||this.fields?.some(e=>"geometry"===e.type)||console.log("SubtypeGroupLayer: unable to find field of type 'geometry' in the layer 'fields' list. If you are using a map service layer, features will not have geometry (url: "+e+")")}_handleSublayersChange(e,t){t&&(t.forEach(e=>{e.parent=null}),this.removeHandles("sublayers-owner"),this._sublayerLookup.clear()),e&&(e.forEach(e=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)}),this.addHandles([e.on("after-add",({item:e})=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)}),e.on("after-remove",({item:e})=>{e.parent=null,this._sublayerLookup.delete(e.subtypeCode)})],"sublayers-owner"))}_getFeatureTitleForUnknownSublayer(e){const{displayField:t,fieldsIndex:n,objectIdField:r}=this;if(t&&n.has(t))return e.attributes[n.get(t).name]??"";const i=e.getObjectId();return null!=i?i.toString():r&&n.has(r)?e.attributes[n.get(r).name]??"":""}};(0,r.Cg)([(0,f.MZ)({readOnly:!0})],Ee.prototype,"createQueryVersion",null),(0,r.Cg)([(0,f.MZ)({readOnly:!0})],Ee.prototype,"editingEnabled",null),(0,r.Cg)([(0,f.MZ)({readOnly:!0})],Ee.prototype,"effectiveEditingEnabled",null),(0,r.Cg)([(0,f.MZ)({...Re.fields,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}})],Ee.prototype,"fields",void 0),(0,r.Cg)([(0,f.MZ)(Re.fieldsIndex)],Ee.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,f.MZ)(S.id)],Ee.prototype,"id",void 0),(0,r.Cg)([(0,f.MZ)({type:["show","hide","hide-children"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],Ee.prototype,"listMode",void 0),(0,r.Cg)([(0,f.MZ)({type:["SubtypeGroupLayer","SubtypeGroupTable"],json:{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0},origins:{"web-document":{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0}},"portal-item":{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0}}}}})],Ee.prototype,"operationalLayerType",null),(0,r.Cg)([(0,f.MZ)(Re.outFields)],Ee.prototype,"outFields",void 0),(0,r.Cg)([(0,f.MZ)({clonable:!1})],Ee.prototype,"source",null),(0,r.Cg)([(0,f.MZ)({type:o.A.ofType(Ie),json:{origins:{service:{read:{source:"subtypes",reader(e,t,n){let r=null;if(this.useUniqueColorsForSublayers){const i=function(e,t){const n=e.drawingInfo?.renderer,r=n?G(n,e,t):null;if("simple"===r?.type)return(0,q.Sx)(r.symbol,null)?r.symbol.clone():null}(t,n);r=i?function(e,t){return(0,O.Iy)(z,e,{offset:!0,shuffle:!0}).reverse().map(e=>{const n=t.clone();return"cim"===n.type?(0,N.Fe)(n,e):(0,q.dt)(n,e),new P.A({symbol:n})})}(e.length,i):null}const i=e.map(({code:e},i)=>{const o=new Ie({subtypeCode:e});o.read(t,n);const s=r?.[i];return s&&o.read({drawingInfo:{renderer:s.toJSON()}},n),o});return new(o.A.ofType(Ie))(i)}}}},read:{source:["layers","tables"],reader(e,t,n){let r;return"SubtypeGroupLayer"===t.layerType&&t.layers?.length?r=ke(t.layers,n):"SubtypeGroupTable"===t.layerType&&t.tables?.length&&(r=ke(t.tables,n)),new(o.A.ofType(Ie))(r)}},write:{ignoreOrigin:!0,writer(e,t,n,r){const i=[];for(const t of e){const e=t.write({},r);i.push(e)}this.isTable?t.tables=i:t.layers=i}}}})],Ee.prototype,"sublayers",void 0),(0,r.Cg)([(0,f.MZ)()],Ee.prototype,"useUniqueColorsForSublayers",void 0),(0,r.Cg)([(0,f.MZ)({type:Se.A})],Ee.prototype,"timeInfo",void 0),(0,r.Cg)([(0,f.MZ)({json:{origins:{"portal-item":{write:{enabled:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}}}}})],Ee.prototype,"title",void 0),(0,r.Cg)([(0,ge.w)("service","title",["name"])],Ee.prototype,"readTitleFromService",null),(0,r.Cg)([(0,f.MZ)({json:{read:!1}})],Ee.prototype,"type",void 0),(0,r.Cg)([(0,f.MZ)({clonable:!1,readOnly:!0})],Ee.prototype,"featureTitleFields",null),Ee=(0,r.Cg)([(0,f.$K)("esri.layers.SubtypeGroupLayer")],Ee);const Pe=Ee},99157:(e,t,n)=>{n.d(t,{A:()=>l});var r,i=n(31635),o=n(69622),s=n(91429);let l=r=class extends o.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,s.MZ)()],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,s.MZ)()],l.prototype,"wkt",void 0),(0,i.Cg)([(0,s.MZ)()],l.prototype,"wkid",void 0),l=r=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6673],{159:(n,e,t)=>{t.d(e,{A:()=>i});var r,l=t(31635),o=t(69622),u=t(91429),a=t(99157);let i=r=class extends o.A{constructor(n){super(n),this.steps=[]}getInverse(){const n=new r;for(let e=this.steps.length-1;e>=0;e--){const t=this.steps[e];n.steps.push(t.getInverse())}return n}};(0,l.Cg)([(0,u.MZ)({type:[a.A],nonNullable:!0})],i.prototype,"steps",void 0),i=r=(0,l.Cg)([(0,u.$K)("esri.geometry.operators.support.GeographicTransformation")],i)},9762:(n,e,t)=>{t.r(e),t.d(e,{projectBuffer:()=>l});var r=t(37539);function l(n,e,t,l,o,u,a=Math.floor(n.length/3)){const i=(0,r.jd)(e,o);if(null==i)return!1;if(i===r.pO){if(n===l&&t===u)return!0;const e=t+3*a;for(let r=t,o=u;r<e;r++,o++)l[o]=n[r]??0;return!0}const s=t+3*a;for(let e=t,r=u;e<s;e+=3,r+=3)i(n,e,l,r);return!0}},37539:(n,e,t)=>{t.d(e,{pO:()=>g,jd:()=>p,Tp:()=>d,w5:()=>f});var r=t(34727),l=t(86211),o=t(73941),u=t(79258);Math.PI;const a=u.$O.radius,i=u.$O.eccentricitySquared,s={a1:a*i,a2:a*i*a*i,a3:a*i*i/2,a4:a*i*a*i*2.5,a5:a*i+a*i*i/2,a6:1-i};u.$O.radius,u.$O.flattening,u.Sw.radius,u.Sw.flattening,u.sH.radius,u.sH.flattening,u.sH.radius;var c=t(21325);const f={2:{5:g,7:null,9:null,10:g,1:j,6:null,8:null,0:null,3:M,11:R,2:g,4:O},5:{5:g,7:null,9:null,10:g,1:j,6:null,8:null,0:null,3:M,11:R,2:g,4:O},7:{5:null,7:g,9:null,10:g,1:null,6:I,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:g,10:g,1:null,6:null,8:x,0:null,3:null,11:null,2:null,4:null},3:{5:m,7:null,9:null,10:m,1:function(n,e,t,r){const l=n[e]/Z,o=C-2*Math.atan(Math.exp(-n[e+1]/Z)),u=Z+(n[e+2]??0),a=Math.cos(o)*u;t[r]=Math.cos(l)*a,t[r+1]=Math.sin(l)*a,t[r+2]=Math.sin(o)*u},6:null,8:null,0:null,3:g,11:function(n,e,t,r){m(n,e,t,r),R(t,r,t,r)},2:m,4:function(n,e,t,r){m(n,e,t,r),O(t,r,t,r)}},4:{5:S,7:null,9:null,10:S,1:function(n,e,t,r){S(n,e,t,r),j(t,r,t,r)},6:null,8:null,0:null,3:function(n,e,t,r){S(n,e,t,r),M(t,r,t,r)},11:function(n,e,t,r){S(n,e,t,r),R(t,r,t,r)},2:S,4:g},1:{5:P,7:null,9:null,10:P,1:g,6:null,8:null,0:null,3:function(n,e,t,r){P(n,e,t,r),M(t,r,t,r)},11:function(n,e,t,r){P(n,e,t,r),R(t,r,t,r)},2:P,4:function(n,e,t,r){P(n,e,t,r),O(t,r,t,r)}},6:{5:null,7:k,9:null,10:k,1:null,6:g,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:v,10:v,1:null,6:null,8:g,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:g,3:null,11:null,2:null,4:null},10:{5:g,7:g,9:g,10:g,1:j,6:I,8:x,0:null,3:M,11:R,2:g,4:O},11:{5:w,7:null,9:null,10:w,1:function(n,e,t,r){w(n,e,t,r),j(t,r,t,r)},6:null,8:null,0:null,3:function(n,e,t,r){w(n,e,t,r),M(t,r,t,r)},11:g,2:w,4:function(n,e,t,r){w(n,e,t,r),O(t,r,t,r)}}};function p(n,e){return d(n,e)?.projector}function d(n,e){if(null==n||null==e)return null;if($.source.spatialReference===n&&$.dest.spatialReference===e)return $;const t=h(n,$.source),r=h(e,$.dest);return 0===t&&0===r?(0,c.aI)(n,e)?$.projector=g:$.projector=null:$.projector=f[t][r],$}function h(n,e){return n?e.spatialReference===n?e.spatialReferenceId:(e.spatialReference=n,"metersPerUnit"in e&&(e.metersPerUnit=(0,l.GA)(n,1)),(0,o.jA)(n)?e.spatialReferenceId=1:(0,c.oT)(n)?e.spatialReferenceId=2:(0,c.K8)(n)?e.spatialReferenceId=3:(0,c.r1)(n)?e.spatialReferenceId=11:n.wkt===o.Ro.wkt?e.spatialReferenceId=4:4490===n.wkid?e.spatialReferenceId=5:n.wkt===o.FY.wkt?e.spatialReferenceId=6:n.wkt===o.LJ.wkt?e.spatialReferenceId=8:(0,c.q8)(n)?e.spatialReferenceId=7:(0,c.KQ)(n)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function g(n,e,t,r){n!==t&&(t[r++]=n[e++],t[r++]=n[e++],t[r]=n[e]??0)}function m(n,e,t,r){t[r]=q*(n[e]/Z),t[r+1]=q*(C-2*Math.atan(Math.exp(-n[e+1]/Z))),t[r+2]=n[e+2]??0}function M(n,e,t,l){!function(n,e,t,l,o){const u=.4999999*Math.PI,a=(0,r.qE)(T*n[e+1],-u,u),i=Math.sin(a);t[l++]=T*n[e]*o.radius,t[l++]=o.halfSemiMajorAxis*Math.log((1+i)/(1-i)),t[l]=n[e+2]??0}(n,e,t,l,u.$O)}function R(n,e,t,r){t[r]=n[e]*b,t[r+1]=n[e+1]*b,t[r+2]=n[e+2]??0}function w(n,e,t,r){t[r]=n[e]*z,t[r+1]=n[e+1]*z,t[r+2]=n[e+2]??0}function y(n,e,t,r,l){const o=l+(n[e+2]??0),u=T*n[e],a=T*n[e+1],i=Math.cos(a)*o;t[r]=Math.cos(u)*i,t[r+1]=Math.sin(u)*i,t[r+2]=Math.sin(a)*o}function x(n,e,t,r){y(n,e,t,r,u.Sw.radius)}function I(n,e,t,r){y(n,e,t,r,u.sH.radius)}function j(n,e,t,r){y(n,e,t,r,u.$O.radius)}function A(n,e,t,l,o){const u=n[e],a=n[e+1],i=n[e+2]??0,s=Math.sqrt(u*u+a*a+i*i),c=(0,r.YN)(i/(0===s?1:s)),f=Math.atan2(a,u);t[l++]=q*f,t[l++]=q*c,t[l]=s-o}function v(n,e,t,r){A(n,e,t,r,u.Sw.radius)}function k(n,e,t,r){A(n,e,t,r,u.sH.radius)}function P(n,e,t,r){A(n,e,t,r,u.$O.radius)}function O(n,e,t,r){!function(n,e,t,r,l){const o=T*n[e],u=T*n[e+1],a=n[e+2]??0,i=Math.sin(u),s=Math.cos(u),c=l.radius/Math.sqrt(1-l.eccentricitySquared*i*i);t[r++]=(c+a)*s*Math.cos(o),t[r++]=(c+a)*s*Math.sin(o),t[r++]=(c*(1-l.eccentricitySquared)+a)*i}(n,e,t,r,u.$O)}function S(n,e,t,r){const l=s,o=n[e],a=n[e+1],i=n[e+2]??0;let c,f,p,d,h,g,m,M,R,w,y,x,I,j,A,v,k,P,O,S,$;c=Math.abs(i),f=o*o+a*a,p=Math.sqrt(f),d=f+i*i,h=Math.sqrt(d),S=Math.atan2(a,o),g=i*i/d,m=f/d,j=l.a2/h,A=l.a3-l.a4/h,m>.3?(M=c/h*(1+m*(l.a1+j+g*A)/h),O=Math.asin(M),w=M*M,R=Math.sqrt(1-w)):(R=p/h*(1-g*(l.a5-j-m*A)/h),O=Math.acos(R),w=1-R*R,M=Math.sqrt(w)),y=1-u.$O.eccentricitySquared*w,x=u.$O.radius/Math.sqrt(y),I=l.a6*x,j=p-x*R,A=c-I*M,k=R*j+M*A,v=R*A-M*j,P=v/(I/y+k),O+=P,$=k+v*P/2,i<0&&(O=-O),t[r++]=q*S,t[r++]=q*O,t[r]=$}const $={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:g},T=(0,r.kU)(1),q=(0,r.KJ)(1),C=.5*Math.PI,Z=u.$O.radius,b=Z*Math.PI/180,z=180/(Z*Math.PI)},56776:(n,e,t)=>{t.d(e,{B:()=>l,$7:()=>o,tW:()=>u,w7:()=>r,XF:()=>a});t(86211);function r(n,e){return function(n,e){return e?.mode?e.mode:function(n){return n?i:s}(n).mode}(null==n||(n.hasZ??!1),e)}function l(n,e,t){return t&&t.mode!==e?`${n} only support ${e} elevation mode`:null}function o(n,e,t){return t?.mode===e?`${n} do not support ${e} elevation mode`:null}function u(n,e){return null!=e?.featureExpressionInfo&&"0"!==e.featureExpressionInfo.expression?`${n} do not support featureExpressionInfo`:null}function a(n,e){e&&n.warn(".elevationInfo=",e)}t(16271);const i={mode:"absolute-height",offset:0},s={mode:"on-the-ground",offset:null}},91218:(n,e,t)=>{t.r(e),t.d(e,{canProjectWithoutEngine:()=>H,initializeProjection:()=>D,isEqualBaseGCS:()=>U,isLoaded:()=>S,isLoadedOrLoad:()=>$,isLoadedOrLoadFor:()=>T,load:()=>C,project:()=>Z,projectAsync:()=>W,projectExtent:()=>en,projectMany:()=>b,projectMultipoint:()=>Y,projectOrLoad:()=>L,projectOrLoadMany:()=>E,projectPoint:()=>F,projectPolygon:()=>_,projectPolyline:()=>X,projectWithoutEngine:()=>N,requiresLoad:()=>q,test:()=>K,tryProject:()=>z,unload:()=>B});var r=t(49186),l=t(74887),o=t(62788),u=t(95488),a=t(51850),i=t(21276),s=t(73941),c=t(5443),f=t(91075),p=t(48526),d=t(86738),h=t(39829),g=t(82799),m=t(16930),M=t(159),R=t(9762),w=t(37539);function y(n,e,t,r,l,o){return x[0]=n,x[1]=e,x[2]=t,(0,R.projectBuffer)(x,r,0,l,o,0)}const x=(0,a.vt)();var I=t(21325);let j=null,A=null,v=null,k=null,P={};const O=new u.I;function S(){return!!(A?.isLoaded()&&v?.isLoaded()&&k?.isLoaded())}function $(){return!!S()||((0,o.gc)(O),C(),!1)}function T(n,e){return!n||!e||H(n,e)||$()}function q(n,e){return!H(n,e)&&!S()}async function C(n){null==j&&(j=Promise.all([t.e(3276).then(t.bind(t,83276)).then(n=>(A=n,A.load())),t.e(8377).then(t.bind(t,8377)).then(n=>(v=n,v.load())),t.e(2158).then(t.bind(t,12158)).then(n=>(k=n,k.load()))])),await j,(0,l.Te)(n),O.notify()}function Z(n,e,t){return Array.isArray(n)?0===n.length?[]:((0,i.H)(n),b(n,n[0].spatialReference,e,t)):((0,i.f)(n),b([n],n.spatialReference,e,t)[0])}function b(n,e,t,r){if(null==e||null==t)return n;if(H(e,t,r))return n.map(n=>N(n,e,t));if(null==r?.geographicTransformation&&(0,s.jA)(e))return b(n.map(n=>N(n,e,m.A.WGS84)),m.A.WGS84,t,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,s.jA)(t))return b(n,e,m.A.WGS84).map(n=>N(n,m.A.WGS84,t));if(!S())throw new G;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:k.getTransformation(e,t,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const n=function(n,e){return[n.wkid?.toString()??"-1",n.wkt?.toString()??"",n.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,t);let l=P[n];l||(l=k.getTransformation(e,t)||new M.A,P[n]=l),r={geographicTransformation:l,zConversionDisabled:r?.zConversionDisabled}}return n[0].spatialReference||(n[0].spatialReference=e),n[0]instanceof f.A?A.executeMany(n,t,r):v.executeMany(n,t,r)}function z(n,e,t){try{return Z(n,e,t)}catch(n){if(n instanceof G)return null;throw n}}function L(n,e){const t=E([n],e);return null!=t.pending?{pending:t.pending,geometry:null}:null!=t.geometries?{pending:null,geometry:t.geometries[0]}:{pending:null,geometry:null}}function E(n,e,t){if(!S())for(const t of n)if(null!=t&&!(0,I.aI)(t.spatialReference,e)&&(0,I.fn)(t.spatialReference)&&(0,I.fn)(e)&&!H(t.spatialReference,e))return(0,o.gc)(O),{pending:C(),geometries:null};return{pending:null,geometries:n.map(n=>null==n?null:(0,I.aI)(n.spatialReference,e)?n:(0,I.fn)(n.spatialReference)&&(0,I.fn)(e)?Z(n,e,t):null)}}class G extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function B(){j=null,A=null,v=null,k=null,P={}}const K={get loadPromise(){return j}};async function W(n,e,t){if((0,l.Te)(t),!n)return n;const r=E(Array.isArray(n)?n:[n],e,t);if(r.pending)return await r.pending,(0,l.Te)(t),W(n,e,t);const o=r.geometries??[];return Array.isArray(n)?o:o[0]}function H(n,e,t){return!(t?.areaOfInterestExtent||t?.extendedParams||t?.geographicTransformation)&&(!!(0,I.aI)(n,e)||(0,I.fn)(n)&&(0,I.fn)(e)&&!!(0,w.jd)(n,e))}function U(n,e){if((0,I.aI)(n,e))return!0;if(!(0,I.fn)(n)||!(0,I.fn)(e))return!1;const t=(0,I.oT)(n)||(0,I.K8)(n)||(0,I.x1)(n),r=(0,I.oT)(e)||(0,I.K8)(e)||(0,I.x1)(e);return t&&r}async function D(n,e,t,r){if(S())return(0,l.NO)(r);if(Array.isArray(n)){for(const{source:e,dest:t,options:l}of n)if(e&&t&&!H(e,t,l))return C(r)}else if(n&&e&&!H(n,e,t))return C(r);return(0,l.NO)(r)}function N(n,e,t){return n?"x"in n?J(n,e,new d.A,t,0):"xmin"in n?tn(n,e,new c.A,t,0):"rings"in n?nn(n,e,new h.A,t,0):"paths"in n?V(n,e,new g.A,t,0):"points"in n?Q(n,e,new p.A,t,0):null:null}function F(n,e,t=e.spatialReference,r=0){return null!=t&&null!=n.spatialReference&&null!=J(n,n.spatialReference,e,t,r)}function J(n,e,t,r,l){ln[0]=n.x,ln[1]=n.y;const o=n.z;return ln[2]=void 0!==o?o:l,(0,R.projectBuffer)(ln,e,0,ln,r,0)?(t.x=ln[0],t.y=ln[1],t.spatialReference=r,void 0!==o||(0,s.xP)(r)?(t.z=ln[2],t.hasZ=!0):(t.z=void 0,t.hasZ=!1),void 0===n.m?(t.m=void 0,t.hasM=!1):(t.m=n.m,t.hasM=!0),t):null}function Y(n,e,t=e.spatialReference,r=0){return null!=n.spatialReference&&null!=t&&null!=Q(n,n.spatialReference,e,t,r)}function Q(n,e,t,r,l){const{points:o,hasZ:u,hasM:a}=n,i=[],c=o.length,f=[];for(const n of o)f.push(n[0],n[1],u?n[2]:l);if(!(0,R.projectBuffer)(f,e,0,f,r,0,c))return null;const p=u||(0,s.xP)(r);for(let n=0;n<c;++n){const e=3*n,t=f[e],r=f[e+1];p&&a?i.push([t,r,f[e+2],o[n][3]]):p?i.push([t,r,f[e+2]]):a?i.push([t,r,o[n][2]]):i.push([t,r])}return t.points=i,t.spatialReference=r,t.hasZ=u,t.hasM=a,t}function X(n,e,t=e.spatialReference,r=0){return null!=n.spatialReference&&null!=t&&null!=V(n,n.spatialReference,e,t,r)}function V(n,e,t,r,l){const{paths:o,hasZ:u,hasM:a}=n,i=[];if(!rn(o,u??!1,a??!1,e,i,r,l))return null;const c=u||(0,s.xP)(r);return t.paths=i,t.spatialReference=r,t.hasZ=c,t.hasM=a,t}function _(n,e,t=e.spatialReference,r=0){return null!=n.spatialReference&&null!=t&&null!=nn(n,n.spatialReference,e,t,r)}function nn(n,e,t,r,l){const{rings:o,hasZ:u,hasM:a}=n,i=[];if(!rn(o,u??!1,a??!1,e,i,r,l))return null;const c=u||(0,s.xP)(r);return t.rings=i,t.spatialReference=r,t.hasZ=c,t.hasM=a,t}function en(n,e,t=e.spatialReference,r=0){return null!=n.spatialReference&&null!=t&&null!=tn(n,n.spatialReference,e,t,r)}function tn(n,e,t,r,l){const{xmin:o,ymin:u,xmax:a,ymax:i,hasZ:c,hasM:f}=n;if(!y(o,u,c?n.zmin:l,e,ln,r))return null;const p=c||(0,s.xP)(r);return t.xmin=ln[0],t.ymin=ln[1],p&&(t.zmin=ln[2]),y(a,i,c?n.zmax:l,e,ln,r)?(t.xmax=ln[0],t.ymax=ln[1],p&&(t.zmax=ln[2]),f&&(t.mmin=n.mmin,t.mmax=n.mmax),t.spatialReference=r,t):null}function rn(n,e,t,r,l,o,u=0){const a=new Array;for(const t of n)for(const n of t)a.push(n[0],n[1],e?n[2]:u);if(!(0,R.projectBuffer)(a,r,0,a,o,0))return!1;let i=0;l.length=0;const c=e||(0,s.xP)(o);for(const e of n){const n=new Array;for(const r of e)c&&t?n.push([a[i++],a[i++],a[i++],r[3]]):c?n.push([a[i++],a[i++],a[i++]]):t?(n.push([a[i++],a[i++],r[2]]),i++):(n.push([a[i++],a[i++]]),i++);l.push(n)}return!0}const ln=(0,a.vt)()},99157:(n,e,t)=>{t.d(e,{A:()=>a});var r,l=t(31635),o=t(69622),u=t(91429);let a=r=class extends o.A{constructor(n){super(n),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,l.Cg)([(0,u.MZ)()],a.prototype,"isInverse",void 0),(0,l.Cg)([(0,u.MZ)()],a.prototype,"wkt",void 0),(0,l.Cg)([(0,u.MZ)()],a.prototype,"wkid",void 0),a=r=(0,l.Cg)([(0,u.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[940],{4197:(e,t,r)=>{r.d(t,{Vj:()=>u,cj:()=>a,jh:()=>o,l5:()=>l,xm:()=>s});var n=r(34275),i=r(9093);function o(e){return e<=n.y9?new Array(e).fill(0):new Float64Array(e)}function s(e){return((0,n.iu)(e)?e.byteLength/8:e.length)<=n.y9?Array.from(e):new Float64Array(e)}function l(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function a(e){return[...e]}function u(e){const t=(0,i.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},6455:(e,t,r)=>{r.d(t,{FJ:()=>g,Dp:()=>v,KV:()=>w});var n=r(31635),i=r(93637),o=r(91429),s=r(89317),l=r(69540),a=r(7762),u=r(25482),c=r(83960),p=r(13069);const d={write:{overridePolicy:(e,t,r)=>({enabled:!r||"scale"===r.filterMode})}};let f=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.id=(0,p.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],f.prototype,"id",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:d})],f.prototype,"maxScale",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:d})],f.prototype,"minScale",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],f.prototype,"title",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],f.prototype,"where",void 0),f=(0,n.Cg)([(0,o.$K)("esri.layers.support.DisplayFilter")],f);var m=r(41560),y=r(43937);let h=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(a.A.ofType(f)),this.mode="manual"}writeFilters(e,t,r,n){const i=e.toArray();"scale"===this.mode&&i.sort((e,t)=>{const r=(0,c.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===r?n:r}),t[r]=i.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,m.mW)(this,t))}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:{overridePolicy:(e,t,r)=>({enabled:"manual"===r.filterMode,isRequired:!0})}}})],h.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,o.MZ)({type:a.A.ofType(f),nonNullable:!0,json:{write:!0}})],h.prototype,"filters",void 0),(0,n.Cg)([(0,y.K)("filters")],h.prototype,"writeFilters",null),(0,n.Cg)([(0,o.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],h.prototype,"mode",void 0),h=(0,n.Cg)([(0,o.$K)("esri.layers.support.DisplayFilterInfo")],h);const g=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,o.MZ)(v)],r.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,o.MZ)(w)],r.prototype,"displayFilterInfo",void 0),r=(0,n.Cg)([(0,o.$K)("esri.layers.mixins.DisplayFilteredLayer")],r),r},v={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:s.K,writer(e,t,r){(0,i.sM)(r,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},w={type:h,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:s.K},origins:{"web-scene":{write:!1,read:!1}}}}},6797:(e,t,r)=>{r.d(t,{Ui:()=>d});var n=r(69622),i=r(7762),o=r(88620);const s=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof n.A}function a(e){return e instanceof i.A?Object.keys(e.items):l(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function p(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const n=a(e),i=a(t);if(0===n.length&&0===i.length)return;if(!n.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const o=i.filter(e=>!n.includes(e)),d=n.filter(e=>!i.includes(e)),f=n.filter(r=>i.includes(r)&&u(e,r)!==u(t,r)).concat(o,d).sort(),m=c(e);if(m&&s.has(m)&&f.length)return{type:"complete",oldValue:e,newValue:t};let y;const h=l(e)&&l(t);for(const n of f){const i=u(e,n),o=u(t,n);let s;if((h||"function"!=typeof i&&"function"!=typeof o)&&i!==o&&(null!=i||null!=o)){if(r&&r[n]&&"function"==typeof r[n])s=r[n]?.(i,o);else if(i instanceof Date&&o instanceof Date){if(i.getTime()===o.getTime())continue;s={type:"complete",oldValue:i,newValue:o}}else s="object"==typeof i&&"object"==typeof o&&c(i)===c(o)?p(i,o):{type:"complete",oldValue:i,newValue:o};null!=s&&(null!=y?y.diff[n]=s:y={type:"partial",diff:{[n]:s}})}}return y}function d(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:p(e,t)}},9093:(e,t,r)=>{function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>i,vt:()=>n,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:n,fromValues:function(e,t,r,n,i,o,s,l,a,u,c,p,d,f,m,y){return[e,t,r,n,i,o,s,l,a,u,c,p,d,f,m,y]}},Symbol.toStringTag,{value:"Module"}))},10184:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(31635),i=r(69540),o=r(25482),s=r(88930),l=r(91429),a=r(73133),u=r(93223);let c=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,s.t)(this.value,this.unit,"milliseconds")}};(0,n.Cg)([(0,u.e)(a.j,{nonNullable:!0})],c.prototype,"unit",void 0),(0,n.Cg)([(0,l.MZ)({type:Number,json:{write:!0},nonNullable:!0})],c.prototype,"value",void 0),c=(0,n.Cg)([(0,l.$K)("esri.time.TimeInterval")],c)},10427:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(31635),i=r(91429),o=r(35625);let s=class extends o.R{constructor(e){super(e),this.type="location",this.xField=null,this.yField=null}};(0,n.Cg)([(0,i.MZ)({type:["location"]})],s.prototype,"type",void 0),(0,n.Cg)([(0,i.MZ)({type:String,json:{write:{isRequired:!0}}})],s.prototype,"xField",void 0),(0,n.Cg)([(0,i.MZ)({type:String,json:{write:{isRequired:!0}}})],s.prototype,"yField",void 0),s=(0,n.Cg)([(0,i.$K)("esri.layers.support.ParquetGeometryEncodingLocation")],s)},13069:(e,t,r)=>{r.d(t,{AG:()=>l,lk:()=>i,vD:()=>s,yS:()=>o});const n="randomUUID"in crypto;function i(){if(n)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${i().toUpperCase()}}`}function s(){return`{${i()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},16238:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(31635),i=r(91429),o=r(35625);let s=class extends o.R{constructor(e){super(e),this.type="wkb",this.field=null}};(0,n.Cg)([(0,i.MZ)({type:["wkb"]})],s.prototype,"type",void 0),(0,n.Cg)([(0,i.MZ)({type:["counter-clockwise"],json:{write:!0}})],s.prototype,"orientation",void 0),(0,n.Cg)([(0,i.MZ)({type:String,json:{write:{isRequired:!0}}})],s.prototype,"field",void 0),s=(0,n.Cg)([(0,i.$K)("esri.layers.support.ParquetGeometryEncodingWkb")],s)},17036:(e,t,r)=>{r.d(t,{p:()=>a});var n=r(44208),i=r(53966),o=r(20437),s=r(95466),l=r(30524);function a(){return{fields:{type:[o.A],value:null,set:function(e){if(e&&(0,n.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");i.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return s.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const r=this.fieldsIndex?.has(t);r||i.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,l.DB)(this.fieldsIndex,e)}}}}},22671:(e,t,r)=>{r.d(t,{A:()=>v});var n,i=r(31635),o=r(52106),s=r(66552),l=r(25482),a=r(4718),u=r(91429),c=r(16930),p=r(60408),d=r(65864),f=r(50498),m=r(20437),y=r(36005),h=r(43937);const g=new s.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=n=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,o.A)}writeGeometryType(e,t,r,n){if(e)return void g.write(e,t,r,n);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,n=(0,d.rS)(e);return n&&!r&&t.spatialReference&&(n.spatialReference=c.A.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const n=t.features[r];if(n.geometry){const t=e?.[r];n.geometry=t?.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,r],translate:[n,i]}=e,o=this.features,s=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-n)/t),e=>Math.round((i-e)/r));for(let e=0,t=o.length;e<t;e++)s?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[n,i],scale:[o,s]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,e=>e*o+n,e=>i-e*s,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const n=c.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const o=e[t],s=r.fromJSON(o),l=o.geometry?.spatialReference;null==s.geometry||l||(s.geometry.spatialReference=n);const a=o.aggregateGeometries,u=s.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],r=a[e],i=r?.spatialReference;null==t||i||(t.spatialReference=n)}i.push(s)}return i}_quantizePoints(e,t,r){let n,i;const o=[];for(let s=0,l=e.length;s<l;s++){const l=e[s];if(s>0){const e=t(l[0]),s=r(l[1]);e===n&&s===i||(o.push([e-n,s-i]),n=e,i=s)}else n=t(l[0]),i=r(l[1]),o.push([n,i])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const n=(0,p.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,o=n.length;e<o;e++){const o=n[e],s=this._quantizePoints(o,t,r);s&&i.push(s)}return i.length>0?((0,p.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,r);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,n,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),n&&(e.z=n(e.z))}:"polyline"===e||"polygon"===e?e=>{const o=(0,p.Bi)(e)?e.rings:e.paths;let s,l;for(let e=0,n=o.length;e<n;e++){const n=o[e];for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(s+=i[0],l+=i[1]):(s=i[0],l=i[1]),i[0]=t(s),i[1]=r(l)}}if(n&&i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2]),r[3]=i(r[3])}}else if(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),n&&null!=e.zmax&&null!=e.zmin&&(e.zmax=n(e.zmax),e.zmin=n(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let s,l;for(let e=0,n=o.length;e<n;e++){const n=o[e];e>0?(s+=n[0],l+=n[1]):(s=n[0],l=n[1]),n[0]=t(s),n[1]=r(l)}if(n&&i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=n(t[2]),t[3]=i(t[3])}else if(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=n(t[2])}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,u.MZ)({type:[o.A],json:{write:!0}})],v.prototype,"features",void 0),(0,i.Cg)([(0,y.w)("features")],v.prototype,"readFeatures",null),(0,i.Cg)([(0,u.MZ)({type:[m.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,i.Cg)([(0,h.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,i.Cg)([(0,u.MZ)({types:f.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,y.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,u.MZ)({type:c.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,i.Cg)([(0,h.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=n=(0,i.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},25036:(e,t,r)=>{r.d(t,{j:()=>o});var n=r(31635),i=r(91429);const o=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.minScale=0,this.maxScale=0}get effectiveScaleRange(){const e={minScale:this.minScale,maxScale:this.maxScale},t=this.parent;void 0!==t?.effectiveScaleRange&&function(e,t){e.minScale=e.minScale>0?t.minScale>0?Math.min(e.minScale,t.minScale):e.minScale:t.minScale,e.maxScale=e.maxScale>0?t.maxScale>0?Math.max(e.maxScale,t.maxScale):e.maxScale:t.maxScale}(e,t.effectiveScaleRange);const r=this._get("effectiveScaleRange");return r&&r.minScale===e.minScale&&r.maxScale===e.maxScale?r:e}};return(0,n.Cg)([(0,i.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"minScale",void 0),(0,n.Cg)([(0,i.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"maxScale",void 0),(0,n.Cg)([(0,i.MZ)({readOnly:!0})],r.prototype,"effectiveScaleRange",null),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.ScaleRangeLayer")],r),r}},29005:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(31635),i=r(69540),o=r(66552),s=r(25482),l=r(91429);const a=new o.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],u.prototype,"drawingTool",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,n.Cg)([(0,l.$K)("esri.layers.support.FeatureTemplate")],u)},32730:(e,t,r)=>{r.d(t,{BI:()=>h,D3:()=>m,XJ:()=>y,lc:()=>f,mX:()=>v,rU:()=>g,tH:()=>F});var n=r(799);const i="__begin__",o="__end__",s=new RegExp(i,"ig"),l=new RegExp(o,"ig"),a=new RegExp("^"+i,"i"),u=new RegExp(o+"$","i"),c='"',p=c+" + ",d=" + "+c;function f(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function m(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function y(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=f(e.labelExpression),t.type="conventional"),t}function h(e){const t=y(e);if(!t)return null;switch(t.type){case"conventional":return v(t.expression);case"arcade":return t.expression}return null}function g(e){const t=y(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(w);return t?.[1].trim()||null}(t.expression);case"arcade":return F(t.expression)}return null}function v(e){let t;return e?(t=(0,n.HC)(e,e=>i+'$feature["'+e+'"]'+o),t=a.test(t)?t.replace(a,""):c+t,t=u.test(t)?t.replace(u,""):t+c,t=t.replaceAll(s,p).replaceAll(l,d)):t='""',t}const w=/^\s*\{([^}]+)\}\s*$/i,b=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,x=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,T=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function F(e){if(!e)return null;let t=b.exec(e)||x.exec(e);return t?t[1]||t[3]:(t=T.exec(e),t?t[2]:null)}},32756:(e,t,r)=>{r.d(t,{Rr:()=>l,fY:()=>u,ne:()=>a});var n=r(31635),i=r(93637),o=r(91429),s=r(91880);function l(e,t,r){if(!e)return null;const n=e.find(e=>!!e.field);if(!n)return null;const i=new s.A;return i.read(n,r),[i]}const a={type:[s.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,n){const o=e.find(e=>!!e.field);o&&(0,i.sM)(r,[o.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,n.Cg)([(0,o.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,n.Cg)([(0,o.$K)("esri.layers.mixins.OrderedLayer")],r),r}},35625:(e,t,r)=>{r.d(t,{R:()=>l});var n=r(31635),i=r(69540),o=r(25482),s=r(91429);let l=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.type=null}};(0,n.Cg)([(0,s.MZ)({type:["wkb","location"],nonNullable:!0,readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],l.prototype,"type",void 0),l=(0,n.Cg)([(0,s.$K)("esri.layers.support.ParquetGeometryEncodingBase")],l)},41366:(e,t,r)=>{r.d(t,{K:()=>p,Q:()=>a});var n=r(31635),i=r(66552),o=r(53966),s=r(91429),l=r(93223);const a=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",p=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&c||r&&u||null,t&&r&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,n.Cg)([(0,l.e)(a,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,n.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},41560:(e,t,r)=>{r.d(t,{Ch:()=>s,mW:()=>o});var n=r(34727),i=r(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,r){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:n}of e.filters)t[0]=Math.max(t[0],c(r)),t[1]=Math.min(t[1],p(n));return t}(e);if(o&&((0,n.gg)(t,o[0])||(0,n.ZH)(r,o[1])))return"";const s=Array.from(l(e,t,r)),a=function(e,t,r){if(0===e.length)return!0;const i=c(e.at(0)?.minScale),o=p(e.at(-1)?.maxScale);if((0,n.ZH)(i,t)||(0,n.gg)(o,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],i=e[t+1];if((0,n.ZH)(c(i.minScale),p(r.maxScale)))return!0}return!1}(s,t,r)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*l(e,t,r){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const n of e.filters)a(n.minScale,n.maxScale,t,r)&&(yield n)}}function a(e,t,r,i){return e=c(e),r=c(r),t=p(t),!(!(0,n.Sp)(r,e)&&(i??r)>e||(0,n.Hx)(t,r)||void 0!==i&&(0,n.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function p(e){return e||0}},42760:(e,t,r)=>{r.d(t,{hG:()=>f,nc:()=>m,sA:()=>d,ye:()=>p}),r(7762);var n=r(49186),i=r(66552),o=r(16930),s=r(20437),l=r(54625),a=r(10427),u=r(16238),c=r(70581);const p=new i.J({esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint"});function d(e){return p.toJSON(e)}function f(e){return p.fromJSON(e)}async function m(e,t={}){if(e.urls.length<1)throw new n.A("parquet:bad-input","At least one url must be specified",e);if(e.geometryType&&e.spatialReference&&e.geometryEncoding&&e.fields)return e;const r=await(0,c.DV)(e.urls.getItemAt(0),{getCustomParameters:()=>t.customParameters}),i=(0,c.hD)(r),p={...e,file:r};null==p.fields&&(p.fields=r.fields().map(e=>s.A.fromJSON({name:e.name,alias:e.name,type:e.type}))),null==p.geometryEncoding&&(p.geometryEncoding=function(e,t){if(null!=e){const t=e.primary_column,r=e.columns[t];return new u.A({field:t,orientation:"counterclockwise"===r.orientation?"counter-clockwise":null})}const r=(0,l.i_)(t.map(e=>e.name));return r.latitudeFieldName&&r.longitudeFieldName?new a.A({xField:r.longitudeFieldName,yField:r.latitudeFieldName}):null}(i,p.fields));const d=(0,c.Hj)(r);if(d)switch(d.mode){case"z":p.displayOptimization={mode:"z"};break;case"xz":{const e=d.multiscale;if(!e)throw new n.A("parquet:bad-format","XZ display optimization requires multiscale geometries");p.displayOptimization={mode:"xz",multiscale:e};break}}if(!p.geometryEncoding)return p;switch(p.geometryEncoding.type){case"location":null==p.spatialReference&&(p.spatialReference=o.A.WGS84),null==p.geometryType&&(p.geometryType="point");break;case"wkb":{if(!i)return p;const e=i.primary_column,t=i.columns[e];if(p.geometryType||(p.geometryType=function(e){const{geometry_types:t}=e,r=new Set;for(const e of t){const t=y(e);t&&r.add(t)}if(r.size>1)throw new n.A("parquet:unsupported","Parquet mixed geometry types are not supported",{geometryTypes:r});return 1===r.size?r.values().next().value:void 0}(t)),p.spatialReference||(p.spatialReference=function(e){const t=e.crs?.id?.code;return t&&"number"==typeof t?new o.A({wkid:t}):void 0}(t)),p.fields)for(const e of Object.keys(i.columns))p.fields=p.fields.filter(t=>t.name!==e)}}return p}function y(e){switch(e){case"Point":return"point";case"Polygon":case"MultiPolygon":return"polygon";case"LineString":return"polyline";case"MultiPoint":return"multipoint";default:return null}}},44794:(e,t,r)=>{r.d(t,{v:()=>l});var n=r(4718),i=r(62788),o=r(95488);class s{constructor(e,t){this._observable=new o.I,this._value=e,this._equalityFunction=t}get value(){return(0,i.gc)(this._observable),this._value}set value(e){this._equalityFunction(e,this._value)||(this._value=e,this._observable.notify())}mutate(e){e(this._value),this._observable.notify()}}function l(e,t=n.gh){return new s(e,t)}},46140:(e,t,r)=>{r.d(t,{R:()=>i});var n=r(49186);let i=class e{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new n.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new e(this.major,this.minor,this._context)}static parse(t,r=""){const[i,o]=t.split("."),s=/^\s*\d+\s*$/;if(!i?.match||!s.test(i))throw new n.A((r&&r+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:t});if(!o?.match||!s.test(o))throw new n.A((r&&r+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:t});const l=parseInt(i,10),a=parseInt(o,10);return new e(l,a,r)}}},50498:(e,t,r)=>{r.d(t,{Ye:()=>p,gy:()=>c,yR:()=>d});var n=r(66552),i=r(5443),o=r(91075),s=r(48526),l=r(86738),a=r(39829),u=r(82799);const c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),p=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),d={base:o.A,key:"type",typeMap:{extent:i.A,multipoint:s.A,point:l.A,polyline:u.A,polygon:a.A}}},52106:(e,t,r)=>{r.d(t,{A:()=>x});var n,i=r(31635),o=r(37838),s=r(69540),l=r(51447),a=r(25482),u=r(53966),c=r(36708),p=r(24326),d=r(91429),f=r(12195),m=r(65864),y=r(50498),h=r(55156),g=r(60950),v=r(54339),w=r(33910);function b(e){if(null==e)return null;const t={};for(const r in e){const n=e[r];n&&(t[r]=n.toJSON())}return 0!==Object.keys(t).length?t:null}let x=class extends((0,s.OU)(a.o)){static{n=this}constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,p.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new n({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,g.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,h.I)(this.origin);if(e)return(0,v.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,v.r)(this,t):null}getGlobalId(){const e=(0,h.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:b(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,f.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,n){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(i.action=n),"attributes"===e&&(i.attributeName=n),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,c.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,c.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,i.Cg)([(0,d.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const n=(0,m.rS)(e[r]);n&&(t[r]=n)}return 0!==Object.keys(t).length?t:null}}})],x.prototype,"aggregateGeometries",null),(0,i.Cg)([(0,d.MZ)({value:null})],x.prototype,"attributes",null),(0,i.Cg)([(0,d.MZ)({value:null,types:y.yR,json:{read:m.rS}})],x.prototype,"geometry",null),(0,i.Cg)([(0,d.MZ)({type:Boolean})],x.prototype,"isAggregate",void 0),(0,i.Cg)([(0,d.MZ)({clonable:!1})],x.prototype,"layer",void 0),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],x.prototype,"origin",void 0),(0,i.Cg)([(0,d.MZ)({type:o.A,value:null})],x.prototype,"popupTemplate",null),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],x.prototype,"sourceLayer",void 0),(0,i.Cg)([(0,d.MZ)({value:null,types:w.Es})],x.prototype,"symbol",null),(0,i.Cg)([(0,d.MZ)({clonable:!1,json:{read:!1,write:!1}})],x.prototype,"_version",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,value:!0})],x.prototype,"visible",null),x=n=(0,i.Cg)([(0,d.$K)("esri.Graphic")],x)},54339:(e,t,r)=>{function n(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const n of t.fieldNames)r.push(e.attributes[n]??null);return JSON.stringify(r)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>n,r:()=>i})},54625:(e,t,r)=>{r.d(t,{i_:()=>i});var n=r(30524);function i(e,t,r){t=(0,n.rS)(t)?.toLowerCase(),r=(0,n.rS)(r)?.toLowerCase();const i=e.map(e=>e.toLowerCase()),l=t?e[i.indexOf(t)]:null,a=r?e[i.indexOf(r)]:null;return{longitudeFieldName:l||e[i.indexOf(s.find(e=>i.includes(e)))],latitudeFieldName:a||e[i.indexOf(o.find(e=>i.includes(e)))]}}const o=["lat","lat83","latitude","latitude83","latdecdeg","lat_dd","y","ycenter","point_y"],s=["lon","lng","lng83","long","long83","longitude","longitude83","longdecdeg","long_dd","x","xcenter","point_x"]},55156:(e,t,r)=>{r.d(t,{I:()=>i,e:()=>n});const n=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&n in t?e[n]:void 0;var t}},55674:(e,t,r)=>{r.d(t,{Ad:()=>f,Gj:()=>h,QY:()=>d,lL:()=>g,xR:()=>m});var n=r(66131),i=r(49186),o=(r(44208),r(44729)),s=r(15032),l=r(65864),a=r(95466),u=r(43668),c=r(98623);const p=["geometry","scale","timeProperties"];function d(e,t){if(null!=t)for(const r of p)t.hasArcadeDependency(r)&&e.add(r);return e}function f(e,t){return y.create(e,t,null,["$feature","$view"])}function m(e,t,r){return y.create(e,t,r,["$feature","$view","$config"])}class y{static async create(e,t,r,n){const{arcade:o,Dictionary:s}=await(0,u.l)();let l;try{l=o.parseScript(e)}catch(t){throw new i.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const a=o.scriptUsesGeometryEngine(l);a&&await o.enableGeometrySupport(),await o.loadDependentModules(new Set,l,null,!1,a);const c={vars:n.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},p=o.compileScript(l,c);let d=null;null!=r&&(d=new s(r),d.immutable=!0);const f=new s;return f.immutable=!1,f.setField("scale",0),new y(e,o,l,p,t,f,d,s)}constructor(e,t,r,n,i,o,s,l){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=n,this._spatialReference=i,this._viewDict=o,this._configDict=s,this._dictionaryCtor=l,this._dependencies=new Map,this._featureReader=new h,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:i,currentEnd:o}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=i?null!=r?n.lY.epochToArcadeDate(i,r):n.lY.unknownEpochToArcadeDate(i):void 0,currentEnd:null!=o?null!=r?n.lY.epochToArcadeDate(o,r):n.lY.unknownEpochToArcadeDate(o):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class h{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const n=t??new a.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=n.fields,this._boundSchema.fieldsIndex=n,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,l.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===c.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return s.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return n.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?n.lY.unknownEpochToArcadeDate(t):n.lY.epochToArcadeDate(t,this.contextTimeZone??c.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},63074:(e,t,r)=>{r.d(t,{LF:()=>u,dM:()=>c,sU:()=>l});var n=r(31635),i=r(91429),o=r(89317),s=r(76369);const l={type:["average","color-burn","color-dodge","color","darken","destination-atop","destination-in","destination-out","destination-over","difference","exclusion","hard-light","hue","invert","lighten","lighter","luminosity","minus","multiply","normal","overlay","plus","reflect","saturation","screen","soft-light","source-atop","source-in","source-out","vivid-light","xor"],nonNullable:!0,json:{read:!1,write:!1,origins:{"web-map":{read:!0,write:{layerContainerTypes:o.K}},"portal-item":{read:!0,write:{layerContainerTypes:o.K}}}}},a={read:{reader:s.LF},write:{allowNull:!0,writer:s.M9,layerContainerTypes:o.K}},u={json:{read:!1,write:!1,origins:{"web-map":a,"portal-item":a}}},c=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.blendMode="normal",this.effect=null}};return(0,n.Cg)([(0,i.MZ)(l)],r.prototype,"blendMode",void 0),(0,n.Cg)([(0,i.MZ)(u)],r.prototype,"effect",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.BlendLayer")],r),r}},69208:(e,t,r)=>{r.d(t,{d:()=>o});var n=r(31635),i=r(91429);const o=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,n.Cg)([(0,i.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}},70328:(e,t,r)=>{r.d(t,{BI:()=>w,DC:()=>p,Ej:()=>f,Ie:()=>g,Jt:()=>v,Ne:()=>m,RF:()=>c,aI:()=>x,fA:()=>s,gE:()=>a,hZ:()=>h,iT:()=>d,is:()=>b,qv:()=>T,vI:()=>y,vY:()=>l,v_:()=>F,vt:()=>o,w1:()=>u});var n=r(5443),i=(r(19419),r(4197));function o(e=F){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,r,n,i,s,l=o()){return l[0]=e,l[1]=t,l[2]=r,l[3]=n,l[4]=i,l[5]=s,l}function l(e,t=o()){return function(e,t,r,n=o()){return h(n,T),function(e,t,r=0,n=t.length/3){let i=e[0],o=e[1],s=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<n;e++)i=Math.min(i,t[r+3*e]),o=Math.min(o,t[r+3*e+1]),s=Math.min(s,t[r+3*e+2]),l=Math.max(l,t[r+3*e]),a=Math.max(a,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=i,e[1]=o,e[2]=s,e[3]=l,e[4]=a,e[5]=u}(n,e,t,r),n}(e,0,e.length/3,t)}function a(e,t=(0,i.jh)(24)){const[r,n,o,s,l,a]=e;return t[0]=r,t[1]=n,t[2]=o,t[3]=r,t[4]=n,t[5]=a,t[6]=r,t[7]=l,t[8]=o,t[9]=r,t[10]=l,t[11]=a,t[12]=s,t[13]=n,t[14]=o,t[15]=s,t[16]=n,t[17]=a,t[18]=s,t[19]=l,t[20]=o,t[21]=s,t[22]=l,t[23]=a,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new n.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function f(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function m(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function y(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function h(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function g(e){return e?h(e,T):o(T)}function v(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function w(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=n,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function b(e){return 6===e.length}function x(e,t,r){if(null==e||null==t)return e===t;if(!b(e)||!b(t))return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const T=[1/0,1/0,1/0,-1/0,-1/0,-1/0],F=[0,0,0,0,0,0];o()},73133:(e,t,r)=>{r.d(t,{j:()=>n});const n=(0,r(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:void 0})},73681:(e,t,r)=>{r.d(t,{n:()=>a});var n=r(49186),i=r(53966),o=r(46140),s=r(95466),l=r(55674);class a{static async from(e,t,r){const s=e.dictionary_version?o.R.parse(e.dictionary_version):null,c=new Set(e.itemsNames),p={};if(t)for(const e in t)p[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)p.hasOwnProperty(t.name)||(p[t.name]=t.value);const d=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))d.delete(e);d.size&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:d});const f=await(0,l.xR)(e.expression,null,p);if(!f)throw new n.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const m=!s||!s.greaterEqual(4,0);m&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:s});const y=new u(r,m);return new a(m,c,f,y)}constructor(e,t,r,n){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=n}get itemNames(){return this._itemNames}evaluate(e,t,r,n){try{return this._reader.bind(e,r,n),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new s.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new s.A(t)}}class u extends l.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},76369:(e,t,r)=>{r.d(t,{LF:()=>T,M9:()=>F});var n=r(49186),i=r(93637),o=r(40876),s=r(59247),l=r(27865);class a extends SyntaxError{constructor(e,t,r,n){super(e),this.expected=t,this.found=r,this.location=n,this.name="SyntaxError"}format(e){let t="Error: "+this.message;if(this.location){let r=null;const n=e.find(e=>e.source===this.location.source);n&&(r=n.text.split(/\r\n|\n|\r/g));const i=this.location.start,o=this.location.source&&"function"==typeof this.location.source.offset?this.location.source.offset(i):i,s=this.location.source+":"+o.line+":"+o.column;if(r){const e=this.location.end,n="".padEnd(o.line.toString().length," "),l=r[i.line-1],a=(i.line===e.line?e.column:l.length+1)-i.column||1;t+="\n --\x3e "+s+"\n"+n+" |\n"+o.line+" | "+l+"\n"+n+" | "+"".padEnd(i.column-1," ")+"".padEnd(a,"^")}else t+="\n at "+s}return t}static buildMessage(e,t){function r(e){return e.codePointAt(0).toString(16).toUpperCase()}const n=Object.prototype.hasOwnProperty.call(RegExp.prototype,"unicode")?new RegExp("[\\p{C}\\p{Mn}\\p{Mc}]","gu"):null;function i(e){return n?e.replace(n,e=>"\\u{"+r(e)+"}"):e}function o(e){return i(e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,e=>"\\x0"+r(e)).replace(/[\x10-\x1F\x7F-\x9F]/g,e=>"\\x"+r(e)))}function s(e){return i(e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,e=>"\\x0"+r(e)).replace(/[\x10-\x1F\x7F-\x9F]/g,e=>"\\x"+r(e)))}const l={literal:e=>'"'+o(e.text)+'"',class(e){const t=e.parts.map(e=>Array.isArray(e)?s(e[0])+"-"+s(e[1]):s(e));return"["+(e.inverted?"^":"")+t.join("")+"]"+(e.unicode?"u":"")},any:()=>"any character",end:()=>"end of input",other:e=>e.description};function a(e){return l[e.type](e)}return"Expected "+function(e){const t=e.map(a);if(t.sort(),t.length>0){let e=1;for(let r=1;r<t.length;r++)t[r-1]!==t[r]&&(t[e]=t[r],e++);t.length=e}switch(t.length){case 1:return t[0];case 2:return t[0]+" or "+t[1];default:return t.slice(0,-1).join(", ")+", or "+t[t.length-1]}}(e)+" but "+function(e){return e?'"'+o(e)+'"':"end of input"}(t)+" found."}}function u(e){if(!e||0===e.length)return null;if("string"==typeof e){const t=c(e);return t&&0!==t.length?t:null}const t=e.map(e=>{if(!Number.isFinite(e.scale)||e.scale<=0)throw new n.A("effect:invalid-scale","scale must be finite and greater than 0",{stop:e});return{scale:e.scale,effects:c(e.value)}});t.sort((e,t)=>t.effects.length-e.effects.length);for(let e=0;e<t.length-1;e++){if(!(0,l.mj)(t[e].effects,t[e+1].effects))throw new n.A("effect:interpolation-impossible","Cannot interpolate by scale between 2 lists of mixed effects",{a:t[e].effects,b:t[e+1].effects});(0,l.O9)(t[e].effects,t[e+1].effects)}return t.sort((e,t)=>t.scale-e.scale),t}function c(e){let t;if(!e)return[];try{t=function(e,t){const r={},n=(t=void 0!==t?t:{}).grammarSource,i={start:xe};let o=xe;const s="none",l=")",u=",",c="(",p="%",d="px",f="cm",m="mm",y="in",h="pt",g="pc",v="deg",w="rad",b="grad",x="turn",T="#",F=".",_="e",M=/^[ \t\n\r]/,A=/^[a-z\-]/,S=/^[0-9a-fA-F]/,C=/^[+\-]/,I=/^[0-9]/,O=ge("none"),E=ye("none",!1),N=ye(")",!1),Z=ye(",",!1),j=he([" ","\t","\n","\r"],!1,!1,!1),R=ge("function"),$=ye("(",!1),P=ge("identifier"),q=he([["a","z"],"-"],!1,!1,!1),z=ge("percentage"),D=ye("%",!1),L=ge("length"),G=ye("px",!1),J=ye("cm",!1),k=ye("mm",!1),U=ye("in",!1),V=ye("pt",!1),B=ye("pc",!1),K=ge("angle"),Y=ye("deg",!1),W=ye("rad",!1),Q=ye("grad",!1),H=ye("turn",!1),X=ge("number"),ee=ge("color"),te=ye("#",!1),re=he([["0","9"],["a","f"],["A","F"]],!1,!1,!1),ne=he(["+","-"],!1,!1,!1),ie=he([["0","9"]],!1,!1,!1),oe=ye(".",!1),se=ye("e",!1);let le=0|t.peg$currPos,ae=le;const ue=[{line:1,column:1}];let ce,pe=le,de=t.peg$maxFailExpected||[],fe=0|t.peg$silentFails;if(t.startRule){if(!(t.startRule in i))throw new Error("Can't start parsing from rule \""+t.startRule+'".');o=i[t.startRule]}function me(){return e.substring(ae,le)}function ye(e,t){return{type:"literal",text:e,ignoreCase:t}}function he(e,t,r,n){return{type:"class",parts:e,inverted:t,ignoreCase:r,unicode:n}}function ge(e){return{type:"other",description:e}}function ve(t){let r,n=ue[t];if(n)return n;if(t>=ue.length)r=ue.length-1;else for(r=t;!ue[--r];);for(n=ue[r],n={line:n.line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return ue[t]=n,n}function we(e,t,r){const i=ve(e),o=ve(t);return{source:n,start:{offset:e,line:i.line,column:i.column},end:{offset:t,line:o.line,column:o.column}}}function be(e){le<pe||(le>pe&&(pe=le,de=[]),de.push(e))}function xe(){let e;return e=Te(),e===r&&(e=function(){let e,t;if(e=[],t=Fe(),t!==r)for(;t!==r;)e.push(t),t=Fe();else e=r;return e}()),e}function Te(){let t,n;return fe++,t=le,Me(),e.substr(le,4)===s?(n=s,le+=4):(n=r,0===fe&&be(E)),n!==r?(Me(),ae=t,t=[]):(le=t,t=r),fe--,t===r&&0===fe&&be(O),t}function Fe(){let t,n,i,o;return t=le,Me(),n=function(){let t,n,i;return fe++,t=le,n=Ae(),n!==r?(40===e.charCodeAt(le)?(i=c,le++):(i=r,0===fe&&be($)),i!==r?(ae=t,t=n):(le=t,t=r)):(le=t,t=r),fe--,t===r&&(n=r,0===fe&&be(R)),t}(),n!==r?(Me(),i=function(){let t,n,i,o,s,l,a,c;if(t=le,n=_e(),n!==r){for(i=[],o=le,s=Me(),44===e.charCodeAt(le)?(l=u,le++):(l=r,0===fe&&be(Z)),l===r&&(l=null),a=Me(),c=_e(),c!==r?(s=[s,l,a,c],o=s):(le=o,o=r);o!==r;)i.push(o),o=le,s=Me(),44===e.charCodeAt(le)?(l=u,le++):(l=r,0===fe&&be(Z)),l===r&&(l=null),a=Me(),c=_e(),c!==r?(s=[s,l,a,c],o=s):(le=o,o=r);ae=t,t=function(e,t){return t.length>0?function(e,t){return[e].concat(function(e){return e.map(function(e){return e[3]})}(t))}(e,t):[e]}(n,i)}else le=t,t=r;return t}(),i===r&&(i=null),Me(),41===e.charCodeAt(le)?(o=l,le++):(o=r,0===fe&&be(N)),o!==r?(Me(),ae=t,t=function(e,t){return{type:"function",name:e,parameters:t||[]}}(n,i)):(le=t,t=r)):(le=t,t=r),t}function _e(){let e,t;return e=le,t=Se(),t===r&&(t=Ce(),t===r&&(t=Ie(),t===r&&(t=function(){let e,t;return fe++,e=le,Me(),t=Ee(),t!==r?(ae=e,e=function(e){return{value:e,unit:null}}(t)):(le=e,e=r),fe--,e===r&&0===fe&&be(X),e}()))),t!==r&&(ae=e,t=function(e){return{type:"quantity",value:e.value,unit:e.unit}}(t)),e=t,e===r&&(e=le,t=Oe(),t!==r&&(ae=e,t=function(e){return{type:"color",colorType:e.type,value:e.value}}(t)),e=t),e}function Me(){let t,n;for(fe++,t=[],n=e.charAt(le),M.test(n)?le++:(n=r,0===fe&&be(j));n!==r;)t.push(n),n=e.charAt(le),M.test(n)?le++:(n=r,0===fe&&be(j));return fe--,t}function Ae(){let t,n,i;if(fe++,t=le,n=[],i=e.charAt(le),A.test(i)?le++:(i=r,0===fe&&be(q)),i!==r)for(;i!==r;)n.push(i),i=e.charAt(le),A.test(i)?le++:(i=r,0===fe&&be(q));else n=r;return n!==r&&(ae=t,n=me()),t=n,fe--,t===r&&(n=r,0===fe&&be(P)),t}function Se(){let t,n,i;return fe++,t=le,Me(),n=Ee(),n!==r?(37===e.charCodeAt(le)?(i=p,le++):(i=r,0===fe&&be(D)),i!==r?(ae=t,t=function(e){return{value:e,unit:"%"}}(n)):(le=t,t=r)):(le=t,t=r),fe--,t===r&&0===fe&&be(z),t}function Ce(){let t,n,i;return fe++,t=le,Me(),n=Ee(),n!==r?(e.substr(le,2)===d?(i=d,le+=2):(i=r,0===fe&&be(G)),i!==r?(ae=t,t=function(e){return{value:e,unit:"px"}}(n)):(le=t,t=r)):(le=t,t=r),t===r&&(t=le,Me(),n=Ee(),n!==r?(e.substr(le,2)===f?(i=f,le+=2):(i=r,0===fe&&be(J)),i!==r?(ae=t,t=function(e){return{value:e,unit:"cm"}}(n)):(le=t,t=r)):(le=t,t=r),t===r&&(t=le,Me(),n=Ee(),n!==r?(e.substr(le,2)===m?(i=m,le+=2):(i=r,0===fe&&be(k)),i!==r?(ae=t,t=function(e){return{value:e,unit:"mm"}}(n)):(le=t,t=r)):(le=t,t=r),t===r&&(t=le,Me(),n=Ee(),n!==r?(e.substr(le,2)===y?(i=y,le+=2):(i=r,0===fe&&be(U)),i!==r?(ae=t,t=function(e){return{value:e,unit:"in"}}(n)):(le=t,t=r)):(le=t,t=r),t===r&&(t=le,Me(),n=Ee(),n!==r?(e.substr(le,2)===h?(i=h,le+=2):(i=r,0===fe&&be(V)),i!==r?(ae=t,t=function(e){return{value:e,unit:"pt"}}(n)):(le=t,t=r)):(le=t,t=r),t===r&&(t=le,Me(),n=Ee(),n!==r?(e.substr(le,2)===g?(i=g,le+=2):(i=r,0===fe&&be(B)),i!==r?(ae=t,t=function(e){return{value:e,unit:"pc"}}(n)):(le=t,t=r)):(le=t,t=r)))))),fe--,t===r&&0===fe&&be(L),t}function Ie(){let t,n,i;return fe++,t=le,n=Ee(),n!==r?(e.substr(le,3)===v?(i=v,le+=3):(i=r,0===fe&&be(Y)),i!==r?(ae=t,t=function(e){return{value:e,unit:"deg"}}(n)):(le=t,t=r)):(le=t,t=r),t===r&&(t=le,n=Ee(),n!==r?(e.substr(le,3)===w?(i=w,le+=3):(i=r,0===fe&&be(W)),i!==r?(ae=t,t=function(e){return{value:e,unit:"rad"}}(n)):(le=t,t=r)):(le=t,t=r),t===r&&(t=le,n=Ee(),n!==r?(e.substr(le,4)===b?(i=b,le+=4):(i=r,0===fe&&be(Q)),i!==r?(ae=t,t=function(e){return{value:e,unit:"grad"}}(n)):(le=t,t=r)):(le=t,t=r),t===r&&(t=le,n=Ee(),n!==r?(e.substr(le,4)===x?(i=x,le+=4):(i=r,0===fe&&be(H)),i!==r?(ae=t,t=function(e){return{value:e,unit:"turn"}}(n)):(le=t,t=r)):(le=t,t=r)))),fe--,t===r&&(n=r,0===fe&&be(K)),t}function Oe(){let t,n,i,o;if(fe++,t=le,35===e.charCodeAt(le)?(n=T,le++):(n=r,0===fe&&be(te)),n!==r){if(i=[],o=e.charAt(le),S.test(o)?le++:(o=r,0===fe&&be(re)),o!==r)for(;o!==r;)i.push(o),o=e.charAt(le),S.test(o)?le++:(o=r,0===fe&&be(re));else i=r;i!==r?(ae=t,t={type:"hex",value:me()}):(le=t,t=r)}else le=t,t=r;return t===r&&(t=le,n=Fe(),n!==r&&(ae=t,n=function(e){return{type:"function",value:e}}(n)),t=n,t===r&&(t=le,n=Ae(),n!==r&&(ae=t,n={type:"named",value:me()}),t=n)),fe--,t===r&&(n=r,0===fe&&be(ee)),t}function Ee(){let t,n,i,o,s,l,a,u;for(t=le,n=e.charAt(le),C.test(n)?le++:(n=r,0===fe&&be(ne)),n===r&&(n=null),i=le,o=[],s=e.charAt(le),I.test(s)?le++:(s=r,0===fe&&be(ie));s!==r;)o.push(s),s=e.charAt(le),I.test(s)?le++:(s=r,0===fe&&be(ie));if(46===e.charCodeAt(le)?(s=F,le++):(s=r,0===fe&&be(oe)),s!==r){if(l=[],a=e.charAt(le),I.test(a)?le++:(a=r,0===fe&&be(ie)),a!==r)for(;a!==r;)l.push(a),a=e.charAt(le),I.test(a)?le++:(a=r,0===fe&&be(ie));else l=r;l!==r?(o=[o,s,l],i=o):(le=i,i=r)}else le=i,i=r;if(i===r)if(i=[],o=e.charAt(le),I.test(o)?le++:(o=r,0===fe&&be(ie)),o!==r)for(;o!==r;)i.push(o),o=e.charAt(le),I.test(o)?le++:(o=r,0===fe&&be(ie));else i=r;if(i!==r){if(o=le,101===e.charCodeAt(le)?(s=_,le++):(s=r,0===fe&&be(se)),s!==r){if(l=e.charAt(le),C.test(l)?le++:(l=r,0===fe&&be(ne)),l===r&&(l=null),a=[],u=e.charAt(le),I.test(u)?le++:(u=r,0===fe&&be(ie)),u!==r)for(;u!==r;)a.push(u),u=e.charAt(le),I.test(u)?le++:(u=r,0===fe&&be(ie));else a=r;a!==r?(s=[s,l,a],o=s):(le=o,o=r)}else le=o,o=r;o===r&&(o=null),ae=t,t=parseFloat(me())}else le=t,t=r;return t}ce=o();const Ne=ce!==r&&le===e.length;function Ze(){throw ce!==r&&le<e.length&&be({type:"end"}),function(e,t,r){return new a(a.buildMessage(e,t),e,t,r)}(de,pe<e.length?function(t=le){const r=e.codePointAt(t);return void 0===r?"":String.fromCodePoint(r)}(pe):null,pe<e.length?we(pe,pe+1):we(pe,pe))}return t.peg$library?{peg$result:ce,peg$currPos:le,peg$FAILED:r,peg$maxFailExpected:de,peg$maxFailPos:pe,peg$success:Ne,peg$throw:Ne?void 0:Ze}:Ne?ce:void Ze()}(e)}catch(t){throw new n.A("effect:invalid-syntax","Invalid effect syntax",{value:e,error:t})}return t.map(e=>function(e){try{switch(e.name){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":return function(e){let t=1;return p(e.parameters,1),1===e.parameters.length&&(t=h(e.parameters[0])),new s.yG(e.name,t)}(e);case"opacity":return function(e){let t=1;return p(e.parameters,1),1===e.parameters.length&&(t=h(e.parameters[0])),new s.jm(t)}(e);case"hue-rotate":return function(e){let t=0;return p(e.parameters,1),1===e.parameters.length&&(t=function(e){return function(e){if("quantity"!==e.type||!(0===e.value&&null===e.unit||e.unit&&null!=m[e.unit]))throw new n.A("effect:type-error",`Expected <angle>, Actual: ${d(e)}`,{term:e})}(e),e.value*m[e.unit]||0}(e.parameters[0])),new s.Nd(t)}(e);case"blur":return function(e){let t=0;return p(e.parameters,1),1===e.parameters.length&&(t=g(e.parameters[0]),f(t,e.parameters[0])),new s.Fk(t)}(e);case"drop-shadow":return function(e){const t=[];let r=null;for(const i of e.parameters)if("color"===i.type){if(t.length&&Object.freeze(t),r)throw new n.A("effect:type-error","Accepts only one color",{});r=v(i)}else{const e=g(i);if(Object.isFrozen(t))throw new n.A("effect:type-error","<length> parameters not consecutive",{lengths:t});t.push(e),3===t.length&&f(e,i)}if(t.length<2||t.length>3)throw new n.A("effect:type-error",`Expected <length>{2,3}, Actual: <length>{${t.length}}`,{lengths:t});return new s.$b(t[0],t[1],t[2]||0,r||w("black"))}(e);case"bloom":return function(e){let t=1,r=0,n=0;return p(e.parameters,3),e.parameters[0]&&(t=h(e.parameters[0])),e.parameters[1]&&(r=g(e.parameters[1]),f(r,e.parameters[1])),e.parameters[2]&&(n=h(e.parameters[2])),new s.bv(t,r,n)}(e)}}catch(t){throw t.details.filter=e,t}throw new n.A("effect:unknown-effect",`Effect '${e.name}' is not supported`,{effect:e})}(e))}function p(e,t){if(e.length>t)throw new n.A("effect:type-error",`Function supports up to ${t} parameters, Actual: ${e.length}`,{parameters:e})}function d(e){if("color"===e.type)return"<color>";if(e.unit){if(e.unit in y)return"<length>";if(e.unit in m)return"<angle>";if("%"===e.unit)return"<percentage>"}return"<double>"}function f(e,t){if(e<0)throw new n.A("effect:type-error",`Negative values are not allowed, Actual: ${e}`,{term:t})}const m={deg:1,grad:.9,rad:180/Math.PI,turn:360},y={px:1,cm:96/2.54,mm:96/2.54/10,in:96,pc:16,pt:96/72};function h(e){!function(e){if("quantity"!==e.type||null!==e.unit&&"%"!==e.unit)throw new n.A("effect:type-error",`Expected <double> or <percentage>, Actual: ${d(e)}`,{term:e})}(e);const t=e.value;return f(t,e),"%"===e.unit?.01*t:t}function g(e){return function(e){if("quantity"!==e.type||!(0===e.value&&null===e.unit||e.unit&&null!=y[e.unit]))throw new n.A("effect:type-error",`Expected <length>, Actual: ${d(e)}`,{term:e})}(e),e.value*y[e.unit]||0}function v(e){switch(e.colorType){case"hex":return(0,o.j5)(e.value);case"named":return w(e.value);case"function":return function(e){if(p(e.parameters,4),b.test(e.name))return[h(e.parameters[0]),h(e.parameters[1]),h(e.parameters[2]),e.parameters[3]?h(e.parameters[3]):1];if(x.test(e.name))return(0,o.ay)(function(e){return function(e){if("quantity"!==e.type||null!==e.unit)throw new n.A("effect:type-error",`Expected <double>, Actual: ${d(e)}`,{term:e})}(e),f(e.value,e),e.value}(e.parameters[0]),h(e.parameters[1]),h(e.parameters[2]),e.parameters[3]?h(e.parameters[3]):1);throw new n.A("effect:syntax-error",`Invalid color function '${e.name}'`,{colorFunction:e})}(e.value)}}function w(e){if(!(0,o.V6)(e))throw new n.A("effect:unknown-color",`color '${e}' isn't valid`,{namedColor:e});return(0,o.c4)(e)}const b=/^rgba?/i,x=/^hsla?/i;function T(e,t,r){try{return function(e){if(!e||0===e.length)return null;if(function(e){const t=e[0];return!!t&&"scale"in t}(e)){const t=[];for(const r of e)t.push({scale:r.scale,value:_(r.value)});return t}return _(e)}(e)}catch(e){r?.messages?.push(e)}return null}function F(e,t,r,n){try{const n=function(e){const t=u(e);return t?(0,l.dw)(t)?t.map(e=>e.toJSON()):t.map(({scale:e,effects:t})=>({scale:e,value:t.map(e=>e.toJSON())})):null}(e);(0,i.sM)(r,n,t)}catch(e){n.messages&&n.messages.push(e)}}function _(e){if(!e?.length)return"";const t=[];for(const r of e){let e=[];switch(r.type){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":case"opacity":e=[M(r,"amount")];break;case"blur":e=[M(r,"radius","pt")];break;case"hue-rotate":e=[M(r,"angle","deg")];break;case"drop-shadow":e=[M(r,"xoffset","pt"),M(r,"yoffset","pt"),M(r,"blurRadius","pt"),A(r,"color")];break;case"bloom":e=[M(r,"strength"),M(r,"radius","pt"),M(r,"threshold")]}const n=`${r.type}(${e.filter(Boolean).join(" ")})`;u(n),t.push(n)}return t.join(" ")}function M(e,t,r){if(null==e[t])throw new n.A("effect:missing-parameter",`Missing parameter '${t}' in ${e.type} effect`,{effect:e});return r?e[t]+r:""+e[t]}function A(e,t){if(null==e[t])throw new n.A("effect:missing-parameter",`Missing parameter '${t}' in ${e.type} effect`,{effect:e});const r=e[t];return`rgba(${r[0]||0}, ${r[1]||0}, ${r[2]||0}, ${r[3]/255||0})`}},82935:(e,t,r)=>{r.d(t,{B:()=>d,e:()=>f});var n=r(31635),i=r(91429),o=r(89317),s=r(30524),l=r(96184),a=r(73133),u=r(79677),c=r(10184),p=r(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:o.K}}},f=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const n=r.timeOffset,i=a.j.fromJSON(r.timeOffsetUnits);return n&&i?new c.A({value:n,unit:i}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,s.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n.Cg)([(0,i.MZ)({type:u.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,n.Cg)([(0,i.MZ)({type:c.A})],r.prototype,"timeOffset",void 0),(0,n.Cg)([(0,p.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,n.Cg)([(0,i.MZ)({value:null,type:l.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,n.Cg)([(0,i.MZ)(d)],r.prototype,"useViewTime",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.TemporalLayer")],r),r}},83027:(e,t,r)=>{r.d(t,{h:()=>n});const n=r(29953).ho},83960:(e,t,r)=>{r.d(t,{X_:()=>s,oW:()=>a,zx:()=>l});var n=r(34727),i=r(86211);const o=96;function s(e,t){const r=t||e.extent,n=e.width,s=(0,i.GA)(r?.spatialReference);return r&&n?r.width/n*s*i.dy*o:0}function l(e,t,r){return function(e,t){return 0===t||(0,n.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,n.Sp)(e,t)||e>t}(e,r)}function a(e,t){return(0,n.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},91880:(e,t,r)=>{r.d(t,{A:()=>u});var n,i=r(31635),o=r(66552),s=r(25482),l=r(91429);const a=new o.J({asc:"ascending",desc:"descending"});let u=class extends s.o{static{n=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new n({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,i.Cg)([(0,l.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],u.prototype,"order",void 0),u=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],u)},95466:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(49186),i=r(53966),o=r(91869),s=r(3330),l=r(12195),a=r(30524),u=r(98623),c=r(56400),p=r(28097);const d=new Map;class f{static fromJSON(e){return new f(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new f(e.fields??[],g(e))}static fromLayerJSON(e){return new f(e.fields??[],g(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;const r=[];for(const e of this.fields){const t=e?.name,n=y(t);if(t&&n){const i=m(t);this._fieldsMap.set(t,e),this._fieldsMap.set(i,e),this._normalizedFieldsMap.set(n,e),r.push(`${i}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,a.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,a.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,a.te)(e)||(0,a.Xz)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}r.sort(),this.uid=r.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,a.te)(e)||(0,a.Xz)(e)||e.nullable||void 0!==(0,a.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){if(!e)return;let t=this._fieldsMap.get(e);return t||(t=this._fieldsMap.get(m(e))??this._normalizedFieldsMap.get(y(e)),t&&this._fieldsMap.set(e,t),t)}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(i.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new n.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),u.n$):h.has(t.type)?u.L5:null:null}getLuxonTimeZone(e){const t=this.getTimeZone(e);return t?t===u.L5?s.GB.instance:t===u.n$?p.mQ.utcInstance:(0,o.tE)(d,t,()=>p.oh.create(t)):null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,a.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,l.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}function m(e){return e.trim().toLowerCase()}function y(e){return(0,a.rS)(e)?.toLowerCase()??""}const h=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function g(e){const t=new Map;if(!e.fields)return t;const r=!0===e.datesInUnknownTimezone,{timeInfo:n,editFieldsInfo:i}=e,o=(n?"startField"in n?n.startField:n.startTimeField:"")??"",s=(n?"endField"in n?n.endField:n.endTimeField:"")??"",l=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,c.ZS)(e.dateFieldsTimeReference):null,a=i?function(e){return"timeZone"in e}(i)?i.timeZone??l:i.dateFieldsTimeReference?(0,c.ZS)(i.dateFieldsTimeReference):l??u.n$:null,p=n?function(e){return"timeZone"in e}(n)?n.timeZone??l:n.timeReference?(0,c.ZS)(n.timeReference):l:null,d=new Map([[m(i?.creationDateField??""),a],[m(i?.editDateField??""),a],[m(o),p],[m(s),p]]);for(const{name:n,type:i}of e.fields)if(h.has(i))t.set(n,u.L5);else if("date"!==i&&"esriFieldTypeDate"!==i)t.set(n,null);else if(r)t.set(n,u.L5);else{const e=d.get(m(n??""))??l;t.set(n,e)}return t}},96184:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(31635),i=r(69540),o=r(25482),s=r(91429),l=r(79677),a=r(10184),u=r(56400),c=r(36005),p=r(43937);function d(e,t){return a.A.fromJSON({value:e,unit:t})}let f=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?l.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],f.prototype,"cumulative",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],f.prototype,"endField",void 0),(0,n.Cg)([(0,s.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"fullTimeExtent",void 0),(0,n.Cg)([(0,c.w)("fullTimeExtent",["timeExtent"])],f.prototype,"readFullTimeExtent",null),(0,n.Cg)([(0,p.K)("fullTimeExtent")],f.prototype,"writeFullTimeExtent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"hasLiveData",void 0),(0,n.Cg)([(0,s.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"interval",void 0),(0,n.Cg)([(0,c.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],f.prototype,"readInterval",null),(0,n.Cg)([(0,p.K)("interval")],f.prototype,"writeInterval",null),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],f.prototype,"startField",void 0),(0,n.Cg)([(0,s.MZ)((0,u.P6)("timeReference",!0))],f.prototype,"timeZone",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"trackIdField",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],f.prototype,"useTime",void 0),(0,n.Cg)([(0,s.MZ)({type:[Date],json:{read:!1}})],f.prototype,"stops",void 0),f=(0,n.Cg)([(0,s.$K)("esri.layers.support.TimeInfo")],f)},99680:(e,t,r)=>{r.r(t),r.d(t,{default:()=>se});var n=r(31635),i=r(37838),o=r(69540),s=r(7762),l=r(49186),a=r(44208),u=r(25728),c=r(93637),p=r(36708),d=r(10107),f=r(36005),m=r(64108),y=r(43937),h=r(5443),g=r(16930),v=r(55156),w=r(60950),b=r(89808),x=r(99959);const T=Symbol("isParquetGraphicOrigin");var F;class _ extends x.A{get[(F=T,w.ym)](){return this.layer}get[v.e](){return this.layer}get[b.Q](){return this.layer}constructor(e){super(),this[F]=!0,this.type="parquet",this.layer=e}get id(){return this.layer.id}}var M=r(4146),A=r(92474),S=r(53966),C=r(74887),I=r(83027),O=r(42760),E=r(22671);let N=class extends A.x_{constructor(e){super(e),this.type="parquet"}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._initialize(t)),Promise.resolve(this)}destroy(){this._connection?.destroy()}setCustomParameters(e){this._proxy.setCustomParameters(e).catch(()=>{S.A.getLogger(this).warn("Failed to update customParameters")})}async updateFiles(e){await this._proxy.updateFiles(e)}async queryFeaturesJSON(e,t={}){return await this.load(t),this._proxy.queryFeatures(e.toJSON(),{signal:t?.signal})}async queryFeatures(e,t={}){const r=await this.queryFeaturesJSON(e,{signal:t?.signal});return E.A.fromJSON(r)}async queryObjectIds(e,t){return await this._proxy.queryObjectIds(e.toJSON(),{signal:t?.signal})}async queryFeatureCount(e,t){return this._proxy.queryFeatureCount(e.toJSON(),{signal:t?.signal})}async queryExtent(e,t){if(null==this.layer.geometryEncoding)return S.A.getLogger(this).warn("Tried to queryExtent, but source does not have a geometry. Returning null extent."),{count:0,extent:null};const r=await this._proxy.queryExtent(e.toJSON(),{signal:t?.signal});return{count:r.count,extent:h.A.fromJSON(r.extent)}}async _initialize(e){this._connection=await(0,I.h)("ParquetSourceWorker",{strategy:"dedicated",signal:e,registryTarget:this}),(0,C.Te)(e),this._proxy=this._connection.createInvokeProxy();const{layerDefinition:t,capabilities:r}=await this._proxy.load({urls:this.layer.urls.items,fields:this.layer.fields?.map(e=>e.toJSON()),geometryType:this.layer.geometryType?(0,O.sA)(this.layer.geometryType):null,spatialReference:this.layer.spatialReference?.toJSON(),geometryEncoding:this.layer.geometryEncoding?.toJSON(),displayOptimization:this.layer.displayOptimization,customParameters:this.layer.customParameters});(0,C.Te)(e),this.sourceJSON=t,this.capabilities=r}};(0,n.Cg)([(0,d.MZ)()],N.prototype,"type",void 0),(0,n.Cg)([(0,d.MZ)({constructOnly:!0})],N.prototype,"layer",void 0),(0,n.Cg)([(0,d.MZ)()],N.prototype,"sourceJSON",void 0),(0,n.Cg)([(0,d.MZ)()],N.prototype,"capabilities",void 0),N=(0,n.Cg)([(0,m.$)("esri.layers.graphics.sources.ParquetSource")],N);var Z=r(63074),j=r(69208),R=r(6455),$=r(87718),P=r(56658),q=r(16131),z=r(32756),D=r(25036),L=r(82935),G=r(10873),J=r(29005),k=r(20437),U=r(17036),V=r(30524),B=r(46499),K=r(39383),Y=r(35625),W=r(10427),Q=r(16238),H=r(41214),X=r(61956),ee=r(97159),te=r(30291);const re=(0,U.p)(),ne="__OBJECTID",ie={types:{key:"type",base:Y.R,typeMap:{wkb:Q.A,location:W.A}},json:{name:"layerDefinition.geometryEncoding",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{read:{source:"geometryEncoding"}}}}};let oe=class extends((0,R.FJ)((0,P.J)((0,$.F)((0,Z.dM)((0,z.fY)((0,L.e)((0,D.j)((0,q.q)((0,u.P)((0,j.d)((0,o.OU)(M.A)))))))))))){constructor(e){super(e),this.copyright=null,this.displayOptimization=null,this.fields=null,this.fieldsIndex=null,this.geometryEncoding=null,this.fullExtent=null,this.geometryType=null,this.graphicOrigin=new _(this),this.labelsVisible=!0,this.labelingInfo=null,this.objectIdField=ne,this.operationalLayerType="ParquetLayer",this.outFields=null,this.persistenceEnabled=!!(0,a.A)("parquetlayer-persistence-enabled"),this.popupTemplate=null,this.source=null,this.spatialReference=null,this.templates=null,this.title="Parquet",this.type="parquet",this.urls=new s.A}destroy(){this.source?.destroy()}async load(e){return this.addResolvingPromise(this._load(e)),this.addHandles([(0,p.wB)(()=>this.urls,e=>this.source?.updateFiles(e.items)),(0,p.wB)(()=>this.customParameters,e=>this.source?.setCustomParameters(e))]),this}get capabilities(){return this.source?.capabilities}get defaultPopupTemplate(){return this.createPopupTemplate()}writeFields(e,t,r,n){const i=e.filter(e=>!(e.name===ne&&"oid"===e.type)).map(e=>e.toJSON(n));(0,c.sM)(r,i,t)}get isTable(){return null==this.geometryEncoding}set renderer(e){(0,V.yp)(e,this.fieldsIndex),this._set("renderer",e)}readUrls(e){return new s.A("files"===e.type?e.urls:[])}writeUrls(e,t,r,n){const i=[];if(e?.length){n={blockedRelativeUrls:n?.blockedRelativeUrls};for(let t of e)t=(0,ee.t)(t,n),t&&i.push(t)}i.length?t.source={type:"files",urls:i}:n.messages?.push(new l.A("parquet-layer:missing-urls","Missing or empty 'urls'",{layer:this}))}createPopupTemplate(e){return(0,te.tn)(this,e)}createQuery(){const e=new X.A;return e.returnGeometry=!0,e.outFields=["*"],e}async createSource(e){const t=new N({layer:this});return await t.load(e),t}getFieldDomain(e,t){return null}getField(e){return this.fieldsIndex.get(e)}async queryFeatures(e,t){await this.load();const r=await this.source.queryFeatures(this._normalizeQuery(e),t),n=this.graphicOrigin;if(r?.features)for(const e of r.features)e.layer=e.sourceLayer=this,e.origin=n;return r}async queryObjectIds(e,t){return await this.load(),this.source.queryObjectIds(this._normalizeQuery(e),t)}async queryFeatureCount(e,t){return await this.load(),this.source.queryFeatureCount(this._normalizeQuery(e),t)}async queryExtent(e,t){return await this.load(),this.source.queryExtent(this._normalizeQuery(e),t)}_normalizeQuery(e){return X.A.from(e)??this.createQuery()}async _load(e){const t=await this.createSource(e);this._set("source",t),this.read(t.sourceJSON,{origin:"service"}),this.revert(["fields","timeInfo"],"service"),(0,V.yp)(this.renderer,this.fieldsIndex),(0,V.sv)(this.timeInfo,this.fieldsIndex),null==this.spatialReference&&(this.spatialReference=g.A.WGS84)}};(0,n.Cg)([(0,d.MZ)({readOnly:!0,json:{read:!1,write:!1}})],oe.prototype,"capabilities",null),(0,n.Cg)([(0,d.MZ)({type:String})],oe.prototype,"copyright",void 0),(0,n.Cg)([(0,d.MZ)({readOnly:!0})],oe.prototype,"defaultPopupTemplate",null),(0,n.Cg)([(0,d.MZ)()],oe.prototype,"displayOptimization",void 0),(0,n.Cg)([(0,d.MZ)({type:[k.A],json:{name:"layerDefinition.fields",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"fields"}}}})],oe.prototype,"fields",void 0),(0,n.Cg)([(0,y.K)("fields")],oe.prototype,"writeFields",null),(0,n.Cg)([(0,d.MZ)(re.fieldsIndex)],oe.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,d.MZ)(ie)],oe.prototype,"geometryEncoding",void 0),(0,n.Cg)([(0,d.MZ)({type:h.A,json:{name:"extent"}})],oe.prototype,"fullExtent",void 0),(0,n.Cg)([(0,d.MZ)({type:O.ye.apiValues,json:{name:"layerDefinition.geometryType",read:{reader:O.ye.read},write:{writer:O.ye.write,ignoreOrigin:!0,isRequired:!0},origins:{service:{read:{source:"geometryType",reader:O.ye.read}}}}})],oe.prototype,"geometryType",void 0),(0,n.Cg)([(0,d.MZ)({readOnly:!0,clonable:!1})],oe.prototype,"graphicOrigin",void 0),(0,n.Cg)([(0,d.MZ)(G.kF)],oe.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,d.MZ)({type:[B.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:K.w},write:!0}})],oe.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,d.MZ)(G.fV)],oe.prototype,"legendEnabled",void 0),(0,n.Cg)([(0,d.MZ)()],oe.prototype,"file",void 0),(0,n.Cg)([(0,d.MZ)({type:String,readOnly:!0})],oe.prototype,"objectIdField",void 0),(0,n.Cg)([(0,d.MZ)({type:["ParquetLayer"]})],oe.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,d.MZ)(re.outFields)],oe.prototype,"outFields",void 0),(0,n.Cg)([(0,d.MZ)(G.M6)],oe.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,d.MZ)({type:i.A,json:{name:"popupInfo",write:!0}})],oe.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,d.MZ)({types:H.Hg,json:{name:"layerDefinition.drawingInfo.renderer",write:!0,origins:{service:{read:{source:"drawingInfo.renderer"}}}}})],oe.prototype,"renderer",null),(0,n.Cg)([(0,d.MZ)({type:N,readOnly:!0,cast:null,json:{read:!1}})],oe.prototype,"source",void 0),(0,n.Cg)([(0,d.MZ)({type:g.A,json:{name:"layerDefinition.spatialReference",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{read:{source:"extent.spatialReference"}}}}})],oe.prototype,"spatialReference",void 0),(0,n.Cg)([(0,d.MZ)({type:[J.A]})],oe.prototype,"templates",void 0),(0,n.Cg)([(0,d.MZ)()],oe.prototype,"title",void 0),(0,n.Cg)([(0,d.MZ)({json:{read:!1},readOnly:!0})],oe.prototype,"type",void 0),(0,n.Cg)([(0,d.MZ)({type:s.A.ofType(String),json:{name:"source",write:{isRequired:!0,ignoreOrigin:!0}}})],oe.prototype,"urls",void 0),(0,n.Cg)([(0,f.w)("urls")],oe.prototype,"readUrls",null),(0,n.Cg)([(0,y.K)("urls")],oe.prototype,"writeUrls",null),oe=(0,n.Cg)([(0,m.$)("esri.layers.ParquetLayer")],oe);const se=oe}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5323],{5760:(t,e,i)=>{i.d(e,{NM:()=>n,Tb:()=>h,_R:()=>l,h9:()=>s,rM:()=>a,x0:()=>p,y7:()=>y});var o=i(34727),r=i(56507);const s=["none","underline","line-through"],l=["normal","italic","oblique"],n=["normal","lighter","bold","bolder"],h={type:Number,cast:t=>{const e=(0,r.GB)(t);return 0===e?1:(0,o.qE)(e,.1,4)},nonNullable:!0},a={type:["left","right","center"],nonNullable:!0},p={type:["baseline","top","middle","bottom"],nonNullable:!0},y=8},11831:(t,e,i)=>{i.d(e,{A:()=>a});var o,r=i(31635),s=i(25482),l=i(90629),n=i(91429),h=i(5760);let a=o=class extends s.o{constructor(t){super(t),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(t){this._set("size",t)}castSize(t){return(0,l.cr)(t)}clone(){return new o({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,r.Cg)([(0,n.MZ)({type:h.h9,json:{default:"none",write:!0}})],a.prototype,"decoration",void 0),(0,r.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],a.prototype,"family",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{write:{overridePolicy:(t,e,i)=>({enabled:!i||!i.textSymbol3D})}}})],a.prototype,"size",null),(0,r.Cg)([(0,n.wg)("size")],a.prototype,"castSize",null),(0,r.Cg)([(0,n.MZ)({type:h._R,json:{default:"normal",write:!0}})],a.prototype,"style",void 0),(0,r.Cg)([(0,n.MZ)({type:h.NM,json:{default:"normal",write:!0}})],a.prototype,"weight",void 0),a=o=(0,r.Cg)([(0,n.$K)("esri.symbols.Font")],a)},20378:(t,e,i)=>{i.d(e,{A:()=>y});var o=i(31635),r=i(68197),s=i(66552),l=i(25482),n=i(91429),h=i(36005);const a=new s.J({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let p=0,y=class extends l.o{constructor(t){super(t),this.id="sym"+p++,this.type=null,this.color=new r.A([0,0,0,1])}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}async collectRequiredFields(t,e){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,o.Cg)([(0,n.MZ)({type:a.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:a.write,isRequired:!0}}})],y.prototype,"type",void 0),(0,o.Cg)([(0,n.MZ)({type:r.A,json:{write:{allowNull:!0}}})],y.prototype,"color",void 0),(0,o.Cg)([(0,h.w)("color")],y.prototype,"readColor",null),y=(0,o.Cg)([(0,n.$K)("esri.symbols.Symbol")],y)},31593:(t,e,i)=>{i.d(e,{A:()=>C});var o=i(31635),r=i(66552),s=i(4718),l=i(90629),n=i(91429),h=i(20378),a=i(93223);let p=class extends h.A{constructor(t){super(t),this.type="simple-line"}get width(){return this._get("width")??.75}set width(t){this._set("width",t)}hash(){return`${this.type}.${this.width}`}};(0,o.Cg)([(0,a.e)({esriSLS:"simple-line"},{readOnly:!0})],p.prototype,"type",void 0),(0,o.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],p.prototype,"width",null),p=(0,o.Cg)([(0,n.$K)("esri.symbols.LineSymbol")],p);var y,u=i(68197),c=i(25482),g=i(83213),d=i(43937),m=i(36005);let f=y=class extends c.o{constructor(t){super(t),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(t,e,i,o){e[i]="web-map"===o?.origin?"arrow":t}set color(t){this._set("color",t)}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}writeColor(t,e,i,o){"web-map"===o?.origin||(e[i]=t)}clone(){return new y({color:(0,s.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,o.Cg)([(0,n.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],f.prototype,"placement",void 0),(0,o.Cg)([(0,a.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.MZ)({json:{origins:{"web-map":{write:!1}}}})],f.prototype,"type",void 0),(0,o.Cg)([(0,n.MZ)({type:g.z})],f.prototype,"style",void 0),(0,o.Cg)([(0,d.K)("style")],f.prototype,"writeStyle",null),(0,o.Cg)([(0,n.MZ)({type:u.A,value:null,json:{write:{allowNull:!0}}})],f.prototype,"color",null),(0,o.Cg)([(0,m.w)("color")],f.prototype,"readColor",null),(0,o.Cg)([(0,d.K)("color")],f.prototype,"writeColor",null),f=y=(0,o.Cg)([(0,n.$K)("esri.symbols.LineSymbolMarker")],f);const S=f;var b;const w=new r.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let C=b=class extends p{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,i,o,r,s){if(t&&"string"!=typeof t)return t;const n={};return null!=t&&(n.style=t),null!=e&&(n.color=e),null!=i&&(n.width=(0,l.cr)(i)),null!=o&&(n.cap=o),null!=r&&(n.join=r),null!=s&&(n.miterLimit=(0,l.cr)(s)),n}clone(){return new b({color:(0,s.o8)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,o.Cg)([(0,a.e)({esriSLS:"simple-line"},{readOnly:!0})],C.prototype,"type",void 0),(0,o.Cg)([(0,n.MZ)({type:w.apiValues,json:{read:w.read,write:w.write}})],C.prototype,"style",void 0),(0,o.Cg)([(0,n.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(t,e,i)=>({enabled:"round"!==t&&null==i?.origin})}}})],C.prototype,"cap",void 0),(0,o.Cg)([(0,n.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(t,e,i)=>({enabled:"round"!==t&&null==i?.origin})}}})],C.prototype,"join",void 0),(0,o.Cg)([(0,n.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":S}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],C.prototype,"marker",void 0),(0,o.Cg)([(0,n.MZ)({type:Number,json:{read:!1,write:!1}})],C.prototype,"miterLimit",void 0),C=b=(0,o.Cg)([(0,n.$K)("esri.symbols.SimpleLineSymbol")],C)},53930:(t,e,i)=>{i.d(e,{A:()=>d});var o,r=i(31635),s=i(68197),l=i(66552),n=i(4718),h=i(90629),a=i(91429),p=i(89420),y=i(31593),u=i(43937),c=i(93223);const g=new l.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let d=o=class extends p.A{constructor(...t){super(...t),this.color=new s.A([255,255,255,.25]),this.type="simple-marker",this.style="circle",this.outline=new y.A}normalizeCtorArgs(t,e,i,o){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.style=t),null!=e&&(r.size=(0,h.cr)(e)),i&&(r.outline=i),o&&(r.color=o),r}writeColor(t,e){t&&"x"!==this.style&&"cross"!==this.style&&(e.color=t.toJSON()),null===t&&(e.color=null)}get size(){return this._get("size")??12}set size(t){this._set("size",t)}set path(t){this.style="path",this._set("path",t)}clone(){return new o({angle:this.angle,color:(0,n.o8)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,r.Cg)([(0,a.MZ)({type:s.A})],d.prototype,"color",void 0),(0,r.Cg)([(0,u.K)("color")],d.prototype,"writeColor",null),(0,r.Cg)([(0,c.e)({esriSMS:"simple-marker"},{readOnly:!0})],d.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)()],d.prototype,"size",null),(0,r.Cg)([(0,a.MZ)({type:g.apiValues,json:{read:g.read,write:g.write}})],d.prototype,"style",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"path",null),(0,r.Cg)([(0,a.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":y.A}},json:{default:null,write:!0}})],d.prototype,"outline",void 0),d=o=(0,r.Cg)([(0,a.$K)("esri.symbols.SimpleMarkerSymbol")],d)},65851:(t,e,i)=>{i.d(e,{A:()=>n});var o=i(31635),r=i(91429),s=i(31593),l=i(20378);let n=class extends l.A{constructor(t){super(t),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,o.Cg)([(0,r.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":s.A}},json:{default:null,write:!0}})],n.prototype,"outline",void 0),(0,o.Cg)([(0,r.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],n.prototype,"type",void 0),n=(0,o.Cg)([(0,r.$K)("esri.symbols.FillSymbol")],n)},68197:(t,e,i)=>{i.d(e,{A:()=>a});var o=i(40876),r=i(4576),s=i(34727),l=i(56507);function n(t){return(0,s.qE)((0,l.Vr)(t),0,255)}function h(t,e){const i=t.toString(16).padStart(2,"0");return e?i.slice(0,1):i}class a{static blendColors(t,e,i,o=new a){return o.r=Math.round(t.r+(e.r-t.r)*i),o.g=Math.round(t.g+(e.g-t.g)*i),o.b=Math.round(t.b+(e.b-t.b)*i),o.a=t.a+(e.a-t.a)*i,o._sanitize()}static fromRgb(t,e){const i=(0,o.lT)(t);return i?a.fromArray(i,e):null}static fromHex(t,e=new a){const i=(0,o.oW)(t);return i?a.fromArray(i,e):null}static fromArray(t,e=new a){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const i=(0,o.Eq)(t);return i?a.fromArray(i,e):null}static fromJSON(t){return null!=t?new a([t[0],t[1],t[2],(t[3]??255)/255]):void 0}static toUnitRGB(t){return null!=t?[t.r/255,t.g/255,t.b/255]:null}static toUnitRGBA(t,e){return null==t?null:(e??=[0,0,0,0],e[0]=t.r/255,e[1]=t.g/255,e[2]=t.b/255,e[3]=null!=t.a?t.a:1,e)}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)a.fromString(t,this);else if((0,r.yc)(t))a.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof a||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,i=t?.digits??6,o=3===i||4===i,r=4===i||8===i,s=`#${h(this.r,o)}${h(this.g,o)}${h(this.b,o)}${r?h(Math.round(255*this.a),o):""}`;return e?s.toUpperCase():s}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=n(this.r),i=n(this.g),o=n(this.b);return 0===t||1!==this.a?[e,i,o,n(255*this.a)]:[e,i,o]}clone(){return new a(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,o.c1)(this.r),this.g=(0,o.c1)(this.g),this.b=(0,o.c1)(this.b),this.a=(0,o.G1)(this.a),this}_set(t,e,i,o){this.r=t,this.g=e,this.b=i,this.a=o}}a.prototype.declaredClass="esri.Color"},68249:(t,e,i)=>{i.d(e,{A:()=>g});var o,r=i(31635),s=i(68197),l=i(4718),n=i(90629),h=i(91429),a=i(11831),p=i(20378),y=i(5760),u=i(93223),c=i(43937);let g=o=class extends p.A{constructor(...t){super(...t),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new a.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(t,e,i){if(t&&"string"!=typeof t)return t;const o={};return t&&(o.text=t),e&&(o.font=e),i&&(o.color=i),o}get haloSize(){return this._get("haloSize")??null}set haloSize(t){this._set("haloSize",t)}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(t){this._set("lineWidth",t)}writeLineWidth(t,e,i,o){o&&"string"!=typeof o?o.origin:e[i]=t}castLineWidth(t){return(0,n.cr)(t)}writeLineHeight(t,e,i,o){o&&"string"!=typeof o?o.origin:e[i]=t}clone(){return new o({angle:this.angle,backgroundColor:(0,l.o8)(this.backgroundColor),borderLineColor:(0,l.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,l.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,l.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,r.Cg)([(0,h.MZ)({type:s.A,json:{write:!0}})],g.prototype,"backgroundColor",void 0),(0,r.Cg)([(0,h.MZ)({type:s.A,json:{write:!0}})],g.prototype,"borderLineColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0},cast:n.cr})],g.prototype,"borderLineSize",void 0),(0,r.Cg)([(0,h.MZ)({type:a.A,json:{write:!0}})],g.prototype,"font",void 0),(0,r.Cg)([(0,h.MZ)({...y.rM,json:{write:!0}})],g.prototype,"horizontalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"kerning",void 0),(0,r.Cg)([(0,h.MZ)({type:s.A,json:{write:!0}})],g.prototype,"haloColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:n.cr,json:{write:!0}})],g.prototype,"haloSize",null),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"rightToLeft",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"rotated",void 0),(0,r.Cg)([(0,h.MZ)({type:String,json:{write:!0}})],g.prototype,"text",void 0),(0,r.Cg)([(0,u.e)({esriTS:"text"},{readOnly:!0})],g.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({...y.x0,json:{write:!0}})],g.prototype,"verticalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:n.cr,json:{write:!0}})],g.prototype,"xoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,cast:n.cr,json:{write:!0}})],g.prototype,"yoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],g.prototype,"angle",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0}})],g.prototype,"width",void 0),(0,r.Cg)([(0,h.MZ)({type:Number})],g.prototype,"lineWidth",null),(0,r.Cg)([(0,c.K)("lineWidth")],g.prototype,"writeLineWidth",null),(0,r.Cg)([(0,h.wg)("lineWidth")],g.prototype,"castLineWidth",null),(0,r.Cg)([(0,h.MZ)(y.Tb)],g.prototype,"lineHeight",void 0),(0,r.Cg)([(0,c.K)("lineHeight")],g.prototype,"writeLineHeight",null),g=o=(0,r.Cg)([(0,h.$K)("esri.symbols.TextSymbol")],g)},69540:(t,e,i)=>{i.d(e,{OU:()=>p,Pw:()=>y});var o=i(31635),r=i(69622),s=(i(44208),i(4718)),l=(i(53966),i(97768)),n=i(88620),h=i(64108);const a=Symbol("ClonableMixin"),p=t=>{var e;const i=t;let r=class extends i{constructor(){super(...arguments),this[e]=!0}static{e=a}clone(t){const e=(0,n.oY)(this);(0,l.Lw)(e,"unable to clone instance of non-accessor class");const i=e.metadata,o=e.store,r={},h=new Map;for(const e in i){const l=i[e],n=o?.originOf(e),a=l.clonable;if(l.readOnly||!1===a||7!==n&&0!==n&&5!==n&&4!==n)continue;const p=this[e];let y=null;if("function"==typeof a)y=a(p,t);else if("reference"===a)y=p;else if(y=(0,s.TU)(p,t),null!=p&&null==y)continue;0===n?h.set(e,y):r[e]=y}const a=new(0,Object.getPrototypeOf(this).constructor)(r);if(h.size){const t=(0,n.oY)(a)?.store;if(t)for(const[e,i]of h)t.set(e,i,0)}return a}};return r=(0,o.Cg)([(0,h.$)("esri.core.Clonable")],r),r},y=p(r.A)},83213:(t,e,i)=>{i.d(e,{x:()=>o,z:()=>r});const o=["begin","end","begin-end"],r=["arrow","circle","square","diamond","cross","x"]},89420:(t,e,i)=>{i.d(e,{A:()=>h});var o=i(31635),r=i(90629),s=i(91429),l=i(56507),n=i(20378);let h=class extends n.A{constructor(t){super(t),this.angle=0,this.type=null}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get size(){return this._get("size")??9}set size(t){this._set("size",t)}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,o.Cg)([(0,s.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],h.prototype,"angle",void 0),(0,o.Cg)([(0,s.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],h.prototype,"type",void 0),(0,o.Cg)([(0,s.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"xoffset",null),(0,o.Cg)([(0,s.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"yoffset",null),(0,o.Cg)([(0,s.MZ)({cast:t=>"auto"===t?t:(0,l.GB)((0,r.cr)(t)),json:{write:!0}})],h.prototype,"size",null),h=(0,o.Cg)([(0,s.$K)("esri.symbols.MarkerSymbol")],h)},94985:(t,e,i)=>{i.d(e,{A:()=>c});var o,r=i(31635),s=i(68197),l=i(66552),n=i(4718),h=i(91429),a=i(65851),p=i(31593),y=i(93223);const u=new l.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let c=o=class extends a.A{constructor(...t){super(...t),this.color=new s.A([0,0,0,.25]),this.outline=new p.A,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(t,e,i){if(t&&"string"!=typeof t)return t;const o={};return t&&(o.style=t),e&&(o.outline=e),i&&(o.color=i),o}clone(){return new o({color:(0,n.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,r.Cg)([(0,h.MZ)({type:s.A})],c.prototype,"color",void 0),(0,r.Cg)([(0,h.MZ)()],c.prototype,"outline",void 0),(0,r.Cg)([(0,y.e)({esriSFS:"simple-fill"},{readOnly:!0})],c.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({type:u.apiValues,json:{read:u.read,write:u.write}})],c.prototype,"style",void 0),c=o=(0,r.Cg)([(0,h.$K)("esri.symbols.SimpleFillSymbol")],c)}}]);