@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 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5845],{159:(t,e,n)=>{n.d(e,{A:()=>s});var r,i=n(31635),o=n(69622),a=n(91429),l=n(99157);let s=r=class extends o.A{constructor(t){super(t),this.steps=[]}getInverse(){const t=new r;for(let e=this.steps.length-1;e>=0;e--){const n=this.steps[e];t.steps.push(n.getInverse())}return t}};(0,i.Cg)([(0,a.MZ)({type:[l.A],nonNullable:!0})],s.prototype,"steps",void 0),s=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],s)},9093:(t,e,n)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{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(t,e,n,r,i,o,a,l,s,u,c,f,h,p,d,m){return[t,e,n,r,i,o,a,l,s,u,c,f,h,p,d,m]}},Symbol.toStringTag,{value:"Module"}))},9762:(t,e,n)=>{n.r(e),n.d(e,{projectBuffer:()=>i});var r=n(37539);function i(t,e,n,i,o,a,l=Math.floor(t.length/3)){const s=(0,r.jd)(e,o);if(null==s)return!1;if(s===r.pO){if(t===i&&n===a)return!0;const e=n+3*l;for(let r=n,o=a;r<e;r++,o++)i[o]=t[r]??0;return!0}const u=n+3*l;for(let e=n,r=a;e<u;e+=3,r+=3)s(t,e,i,r);return!0}},11006:(t,e,n)=>{function r(t,e,n,r,o){i(t,e,n||0,r||t.length-1,o||a)}function i(t,e,n,r,a){for(;r>n;){if(r-n>600){var l=r-n+1,s=e-n+1,u=Math.log(l),c=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*c*(l-c)/l)*(s-l/2<0?-1:1);i(t,e,Math.max(n,Math.floor(e-s*c/l+f)),Math.min(r,Math.floor(e+(l-s)*c/l+f)),a)}var h=t[e],p=n,d=r;for(o(t,n,e),a(t[r],h)>0&&o(t,n,r);p<d;){for(o(t,p,d),p++,d--;a(t[p],h)<0;)p++;for(;a(t[d],h)>0;)d--}0===a(t[n],h)?o(t,n,d):o(t,++d,r),d<=e&&(n=d+1),e<=d&&(r=d-1)}}function o(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function a(t,e){return t<e?-1:t>e?1:0}n.d(e,{q:()=>r})},18251:(t,e,n)=>{n.d(e,{A:()=>u});var r=n(31635),i=n(69540),o=n(25482),a=n(91429),l=n(51850),s=n(93223);let u=class extends((0,i.OU)(o.o)){constructor(t){super(t),this.type="local",this.origin=(0,l.vt)()}};(0,r.Cg)([(0,s.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,a.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},21276:(t,e,n)=>{n.d(e,{H:()=>o,f:()=>i});var r=n(49186);function i(t){if(t&&"object"==typeof t&&"type"in t&&"mesh"===t.type)throw new r.A("internal:mesh","Mesh geometries are not supported for this operation")}function o(t){t.forEach(i)}},22141:(t,e,n)=>{n.d(e,{$5:()=>b,CN:()=>M,JP:()=>y,KM:()=>_,Mv:()=>S,X4:()=>x,gr:()=>v,qs:()=>A,si:()=>w,xA:()=>R});var r=n(34727),i=n(77690),o=n(29242),a=n(58083),l=n(9093),s=n(38954),u=n(51850),c=n(48353),f=n(9762),h=(n(79258),n(21325)),p=n(28735),d=n(13030),m=n(73354),g=n(65686);const y="Projection may be possible after calling projection.load().";function M(t,e,n,r){t.error(`Failed to project from (wkid:${e.wkid}) to (wkid:${n.wkid}).${r?" ":""}${r}`)}function x(t,e,n,r,i,o){return k(0,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o))?o:null}function w(t,e,n,r,i,o){return k(1,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o))?o:null}function v(t,e,n,r){return(0,f.projectBuffer)(t,e,0,n,r,0)?n:null}function b(t,e,n,r){return(0,f.projectBuffer)(t,e,0,n,r,0)?n:null}function A(t,e,n){return(0,i.Ge)(I,n),(0,m.b)(e,t,I),(0,r.or)(I)&&(0,m.n)(e,e),e}function _(t,e,n){return(0,i.z0)(I,n),(0,g.t)(e,t,I),(0,r.or)(I)&&(0,m.n)(e,e,4),e}function R(t,e,n,r,i,o){if(!k(0,d.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let e=3;e<t.length;e+=4)o[e]=t[e];return o}function S(t,e,n,r,i,o){if(!k(1,d.xs.fromTypedArray(t,16),1,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o,16)))return null;for(let e=3;e<t.length;e+=4)o[e]=t[e];return o}function j(t,e,n,r,o){switch((0,c.l)(r,n,O,r),1===t&&(0,a.B8)(O,O),e){case 0:return(0,i.Ge)(o,O);case 1:return(0,i.z0)(o,O)}}function k(t,e,n,r,i,o,a,l){if(!e)return;const u=r.count;if(function(t){return t.isWGS84||(0,h.x1)(t)||(0,h.q8)(t)||(0,h.KQ)(t)}(i))for(let r=0;r<u;r++)o.getVec(r,B),e.getVec(r,C),(0,s.t)(C,C,j(t,n,B,a,I)),l.setVec(r,C);else for(let i=0;i<u;i++){o.getVec(i,B),e.getVec(i,C);const u=(0,p.jg)(r.get(i,1));let c=Math.cos(u);1===n!=(0===t)&&(c=1/c),j(t,n,B,a,I),0===t?(I[0]*=c,I[1]*=c,I[2]*=c,I[3]*=c,I[4]*=c,I[5]*=c):(I[0]*=c,I[3]*=c,I[6]*=c,I[1]*=c,I[4]*=c,I[7]*=c),(0,s.t)(C,C,I),(0,s.n)(C,C),l.setVec(i,C)}return l}const B=(0,u.vt)(),C=(0,u.vt)(),O=(0,l.vt)(),I=(0,o.vt)()},27615:(t,e,n)=>{n.d(e,{CK:()=>s,Hq:()=>l,MW:()=>u,TE:()=>c,yJ:()=>f});var r=n(38954),i=n(86738),o=n(95696),a=n(18251);function l(t){return null!=t.origin}function s(t){return l(t.vertexSpace)}function u(t,e){if(!l(t))return null;const[n,r,o]=t.origin;return new i.A({x:n,y:r,z:o,spatialReference:e})}function c(t,e){const{x:n,y:r,z:i,spatialReference:l}=t,s=[n,r,i??0];return"local"===(e?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(l))?new a.A({origin:s}):new o.A({origin:s})}function f(t,e){return t.type===e.type&&(t.origin===e.origin||null!=t.origin&&null!=e.origin&&(0,r.m)(t.origin,e.origin))}},28735:(t,e,n)=>{n.d(e,{Cv:()=>y,Gh:()=>w,ci:()=>v,je:()=>M,jg:()=>h,tD:()=>x,y7:()=>g});var r=n(4718),i=n(21276),o=n(16930),a=n(79258),l=n(21325);const s=57.29577951308232,u=.017453292519943;function c(t){return t*s}function f(t){return t*u}function h(t){return Math.PI/2-2*Math.atan(Math.exp(-t/a.$O.radius))}function p(t){return null!=t.wkid||null!=t.wkt}const d=[0,0];function m(t,e,n,r,i){const o=t,a=i;if(a.spatialReference=n,"x"in o&&"x"in a)[a.x,a.y]=e(o.x,o.y,d,r);else if("xmin"in o&&"xmin"in a)[a.xmin,a.ymin]=e(o.xmin,o.ymin,d,r),[a.xmax,a.ymax]=e(o.xmax,o.ymax,d,r);else if("paths"in o&&"paths"in a||"rings"in o&&"rings"in a){const t="paths"in o?o.paths:o.rings,n=[];let i;for(let o=0;o<t.length;o++){const a=t[o];i=[],n.push(i);for(let t=0;t<a.length;t++)i.push(e(a[t][0],a[t][1],[0,0],r)),a[t].length>2&&i[t].push(a[t][2]),a[t].length>3&&i[t].push(a[t][3])}"paths"in a?a.paths=n:a.rings=n}else if("points"in o&&"points"in a){const t=o.points,n=[];for(let i=0;i<t.length;i++)n[i]=e(t[i][0],t[i][1],[0,0],r),t[i].length>2&&n[i].push(t[i][2]),t[i].length>3&&n[i].push(t[i][3]);a.points=n}return i}function g(t,e){const n=t&&(p(t)?t:t.spatialReference),r=e&&(p(e)?e:e.spatialReference);return!(t&&"type"in t&&"mesh"===t.type||e&&"type"in e&&"mesh"===e.type||!n||!r)&&(!!(0,l.aI)(r,n)||(0,l.K8)(r)&&(0,l.oT)(n)||(0,l.K8)(n)&&(0,l.oT)(r))}function y(t,e){if(null==t)return null;const n=t.spatialReference,i=e&&(p(e)?e:e.spatialReference);return g(n,i)?(0,l.aI)(n,i)?(0,r.o8)(t):(0,l.K8)(i)?m(t,M,o.A.WebMercator,!1,(0,r.o8)(t)):(0,l.oT)(i)?m(t,x,o.A.WGS84,!1,(0,r.o8)(t)):null:null}function M(t,e,n=[0,0]){e>89.99999?e=89.99999:e<-89.99999&&(e=-89.99999);const r=f(e);return n[0]=f(t)*a.$O.radius,n[1]=a.$O.halfSemiMajorAxis*Math.log((1+Math.sin(r))/(1-Math.sin(r))),n}function x(t,e,n=[0,0],r=!1){if(t===l.Mc[0])n[0]=-180;else if(t===l.Mc[1])n[0]=180;else{const e=c(t/a.$O.radius);n[0]=r?e:e-360*Math.floor((e+180)/360)}return n[1]=c(Math.PI/2-2*Math.atan(Math.exp(-e/a.$O.radius))),n}function w(t,e=!1,n=(0,r.o8)(t)){return(0,i.f)(t),(0,i.f)(n),m(t,M,o.A.WebMercator,e,n)}function v(t,e=!1,n=(0,r.o8)(t)){return(0,i.f)(t),(0,i.f)(n),m(t,x,o.A.WGS84,e,n)}},31635:(t,e,n)=>{function r(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function i(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,i;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>a,mS:()=>i}),Object.create,Object.create;var o="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function a(t){function e(e){t.error=t.hasError?new o(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function i(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,function(t){return e(t),i()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},34304:(t,e,n)=>{n.d(e,{DF:()=>s,FD:()=>i,Ov:()=>o,ct:()=>u});let r=1e-6;function i(){return r}const o=Math.random,a=Math.PI/180,l=180/Math.PI;function s(t){return t*a}function u(t){return t*l}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:o,equals:function(t,e){return Math.abs(t-e)<=r*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:i,setEpsilon:function(t){r=t},toDegree:u,toRadian:s},Symbol.toStringTag,{value:"Module"}))},37539:(t,e,n)=>{n.d(e,{pO:()=>m,jd:()=>h,Tp:()=>p,w5:()=>f});var r=n(34727),i=n(86211),o=n(73941),a=n(79258);Math.PI;const l=a.$O.radius,s=a.$O.eccentricitySquared,u={a1:l*s,a2:l*s*l*s,a3:l*s*s/2,a4:l*s*l*s*2.5,a5:l*s+l*s*s/2,a6:1-s};a.$O.radius,a.$O.flattening,a.Sw.radius,a.Sw.flattening,a.sH.radius,a.sH.flattening,a.sH.radius;var c=n(21325);const f={2:{5:m,7:null,9:null,10:m,1:A,6:null,8:null,0:null,3:y,11:M,2:m,4:k},5:{5:m,7:null,9:null,10:m,1:A,6:null,8:null,0:null,3:y,11:M,2:m,4:k},7:{5:null,7:m,9:null,10:m,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:m,10:m,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(t,e,n,r){const i=t[e]/N,o=T-2*Math.atan(Math.exp(-t[e+1]/N)),a=N+(t[e+2]??0),l=Math.cos(o)*a;n[r]=Math.cos(i)*l,n[r+1]=Math.sin(i)*l,n[r+2]=Math.sin(o)*a},6:null,8:null,0:null,3:m,11:function(t,e,n,r){g(t,e,n,r),M(n,r,n,r)},2:g,4:function(t,e,n,r){g(t,e,n,r),k(n,r,n,r)}},4:{5:B,7:null,9:null,10:B,1:function(t,e,n,r){B(t,e,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){B(t,e,n,r),y(n,r,n,r)},11:function(t,e,n,r){B(t,e,n,r),M(n,r,n,r)},2:B,4:m},1:{5:j,7:null,9:null,10:j,1:m,6:null,8:null,0:null,3:function(t,e,n,r){j(t,e,n,r),y(n,r,n,r)},11:function(t,e,n,r){j(t,e,n,r),M(n,r,n,r)},2:j,4:function(t,e,n,r){j(t,e,n,r),k(n,r,n,r)}},6:{5:null,7:S,9:null,10:S,1:null,6:m,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:R,10:R,1:null,6:null,8:m,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:m,3:null,11:null,2:null,4:null},10:{5:m,7:m,9:m,10:m,1:A,6:b,8:v,0:null,3:y,11:M,2:m,4:k},11:{5:x,7:null,9:null,10:x,1:function(t,e,n,r){x(t,e,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){x(t,e,n,r),y(n,r,n,r)},11:m,2:x,4:function(t,e,n,r){x(t,e,n,r),k(n,r,n,r)}}};function h(t,e){return p(t,e)?.projector}function p(t,e){if(null==t||null==e)return null;if(C.source.spatialReference===t&&C.dest.spatialReference===e)return C;const n=d(t,C.source),r=d(e,C.dest);return 0===n&&0===r?(0,c.aI)(t,e)?C.projector=m:C.projector=null:C.projector=f[n][r],C}function d(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,i.GA)(t,1)),(0,o.jA)(t)?e.spatialReferenceId=1:(0,c.oT)(t)?e.spatialReferenceId=2:(0,c.K8)(t)?e.spatialReferenceId=3:(0,c.r1)(t)?e.spatialReferenceId=11:t.wkt===o.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===o.FY.wkt?e.spatialReferenceId=6:t.wkt===o.LJ.wkt?e.spatialReferenceId=8:(0,c.q8)(t)?e.spatialReferenceId=7:(0,c.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function m(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e]??0)}function g(t,e,n,r){n[r]=I*(t[e]/N),n[r+1]=I*(T-2*Math.atan(Math.exp(-t[e+1]/N))),n[r+2]=t[e+2]??0}function y(t,e,n,i){!function(t,e,n,i,o){const a=.4999999*Math.PI,l=(0,r.qE)(O*t[e+1],-a,a),s=Math.sin(l);n[i++]=O*t[e]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+s)/(1-s)),n[i]=t[e+2]??0}(t,e,n,i,a.$O)}function M(t,e,n,r){n[r]=t[e]*z,n[r+1]=t[e+1]*z,n[r+2]=t[e+2]??0}function x(t,e,n,r){n[r]=t[e]*P,n[r+1]=t[e+1]*P,n[r+2]=t[e+2]??0}function w(t,e,n,r,i){const o=i+(t[e+2]??0),a=O*t[e],l=O*t[e+1],s=Math.cos(l)*o;n[r]=Math.cos(a)*s,n[r+1]=Math.sin(a)*s,n[r+2]=Math.sin(l)*o}function v(t,e,n,r){w(t,e,n,r,a.Sw.radius)}function b(t,e,n,r){w(t,e,n,r,a.sH.radius)}function A(t,e,n,r){w(t,e,n,r,a.$O.radius)}function _(t,e,n,i,o){const a=t[e],l=t[e+1],s=t[e+2]??0,u=Math.sqrt(a*a+l*l+s*s),c=(0,r.YN)(s/(0===u?1:u)),f=Math.atan2(l,a);n[i++]=I*f,n[i++]=I*c,n[i]=u-o}function R(t,e,n,r){_(t,e,n,r,a.Sw.radius)}function S(t,e,n,r){_(t,e,n,r,a.sH.radius)}function j(t,e,n,r){_(t,e,n,r,a.$O.radius)}function k(t,e,n,r){!function(t,e,n,r,i){const o=O*t[e],a=O*t[e+1],l=t[e+2]??0,s=Math.sin(a),u=Math.cos(a),c=i.radius/Math.sqrt(1-i.eccentricitySquared*s*s);n[r++]=(c+l)*u*Math.cos(o),n[r++]=(c+l)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+l)*s}(t,e,n,r,a.$O)}function B(t,e,n,r){const i=u,o=t[e],l=t[e+1],s=t[e+2]??0;let c,f,h,p,d,m,g,y,M,x,w,v,b,A,_,R,S,j,k,B,C;c=Math.abs(s),f=o*o+l*l,h=Math.sqrt(f),p=f+s*s,d=Math.sqrt(p),B=Math.atan2(l,o),m=s*s/p,g=f/p,A=i.a2/d,_=i.a3-i.a4/d,g>.3?(y=c/d*(1+g*(i.a1+A+m*_)/d),k=Math.asin(y),x=y*y,M=Math.sqrt(1-x)):(M=h/d*(1-m*(i.a5-A-g*_)/d),k=Math.acos(M),x=1-M*M,y=Math.sqrt(x)),w=1-a.$O.eccentricitySquared*x,v=a.$O.radius/Math.sqrt(w),b=i.a6*v,A=h-v*M,_=c-b*y,S=M*A+y*_,R=M*_-y*A,j=R/(b/w+S),k+=j,C=S+R*j/2,s<0&&(k=-k),n[r++]=I*B,n[r++]=I*k,n[r]=C}const C={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:m},O=(0,r.kU)(1),I=(0,r.KJ)(1),T=.5*Math.PI,N=a.$O.radius,z=N*Math.PI/180,P=180/(N*Math.PI)},38419:(t,e,n)=>{n.r(e),n.d(e,{default:()=>l});var r=n(44208),i=n(75503),o=n(95696),a=n(72258);class l{async createIndex(t,e){const n=new Array;if(!t.vertexAttributes?.position)return new i.wq;const r=function(t){const{vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:i}=t,l=(0,a.UR)({vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:i},o.A.absolute,{allowBufferReuse:!0})?.position;return l?!t.components||t.components.some(t=>!t.faces)?{position:l.buffer}:{position:l.buffer,components:t.components.map(t=>t.faces)}:null}(t),l=null!=e?await e.invoke("createIndexThread",r,{transferList:n}):this.createIndexThread(r).result;return s().fromJSON(l)}createIndexThread(t){const e=s();if(!t)return{result:e.toJSON()};const n=new Float64Array(t.position);return t.components?function(t,e,n){let r=0;for(const t of n)r+=t.length/3;const i=new Array(r);let o=0;for(const t of n)for(let n=0;n<t.length;n+=3)i[o++]=u(e,3*t[n],3*t[n+1],3*t[n+2]);return t.load(i),{result:t.toJSON()}}(e,n,t.components.map(t=>new Uint32Array(t))):function(t,e){const n=new Array(e.length/9);let r=0;for(let t=0;t<e.length;t+=9)n[r++]=u(e,t,t+3,t+6);return t.load(n),{result:t.toJSON()}}(e,n)}}function s(){return new i.wq(9,(0,r.A)("esri-csp-restrictions")?t=>t:[".minX",".minY",".maxX",".maxY"])}function u(t,e,n,r){return{minX:Math.min(t[e],t[n],t[r]),maxX:Math.max(t[e],t[n],t[r]),minY:Math.min(t[e+1],t[n+1],t[r+1]),maxY:Math.max(t[e+1],t[n+1],t[r+1]),p0:[t[e],t[e+1],t[e+2]],p1:[t[n],t[n+1],t[n+2]],p2:[t[r],t[r+1],t[r+2]]}}},38954:(t,e,n)=>{n.d(e,{A:()=>p,B:()=>c,C:()=>f,D:()=>M,E:()=>N,F:()=>w,G:()=>T,H:()=>q,a:()=>z,b:()=>o,c:()=>y,d:()=>a,e:()=>u,f:()=>R,g:()=>_,h:()=>l,i:()=>s,j:()=>g,l:()=>S,m:()=>I,n:()=>A,o:()=>b,p:()=>j,q:()=>v,r:()=>B,s:()=>x,t:()=>k,u:()=>E,v:()=>h,w:()=>Y,x:()=>Z,y:()=>m,z:()=>d});var r=n(51850),i=n(34304);function o(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function l(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function s(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function h(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function p(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function d(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function m(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function g(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return Math.sqrt(n*n+r*r+i*i)}function x(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}function w(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function v(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function b(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function A(t,e){const n=e[0],r=e[1],i=e[2];let o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o),t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function R(t,e,n){const r=e[0],i=e[1],o=e[2],a=n[0],l=n[1],s=n[2];return t[0]=i*s-o*l,t[1]=o*a-r*s,t[2]=r*l-i*a,t}function S(t,e,n,r){const i=e[0],o=e[1],a=e[2];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t[2]=a+r*(n[2]-a),t}function j(t,e,n){const r=e[0],i=e[1],o=e[2];return t[0]=n[0]*r+n[4]*i+n[8]*o+n[12],t[1]=n[1]*r+n[5]*i+n[9]*o+n[13],t[2]=n[2]*r+n[6]*i+n[10]*o+n[14],t}function k(t,e,n){const r=e[0],i=e[1],o=e[2];return t[0]=r*n[0]+i*n[3]+o*n[6],t[1]=r*n[1]+i*n[4]+o*n[7],t[2]=r*n[2]+i*n[5]+o*n[8],t}function B(t,e,n){const r=n[0],i=n[1],o=n[2],a=n[3],l=e[0],s=e[1],u=e[2],c=i*u-o*s,f=o*l-r*u,h=r*s-i*l,p=i*h-o*f,d=o*c-r*h,m=r*f-i*c,g=2*a;return t[0]=l+c*g+2*p,t[1]=s+f*g+2*d,t[2]=u+h*g+2*m,t}const C=(0,r.vt)(),O=(0,r.vt)();function I(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function T(t,e){if(t===e)return!0;const n=t[0],r=t[1],o=t[2],a=e[0],l=e[1],s=e[2],u=(0,i.FD)();return Math.abs(n-a)<=u*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-l)<=u*Math.max(1,Math.abs(r),Math.abs(l))&&Math.abs(o-s)<=u*Math.max(1,Math.abs(o),Math.abs(s))}function N(t,e,n){const r=n[0]-e[0],i=n[1]-e[1],o=n[2]-e[2];let a=r*r+i*i+o*o;return a>0?(a=1/Math.sqrt(a),t[0]=r*a,t[1]=i*a,t[2]=o*a,t):(t[0]=0,t[1]=0,t[2]=0,t)}const z=u,P=c,X=f,q=M,Y=x,E=o,Z=w;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:s,angle:function(t,e){A(C,t),A(O,e);const n=_(C,O);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,i,o){const a=1-o,l=a*a,s=o*o,u=l*a,c=3*o*l,f=3*s*a,h=s*o;return t[0]=e[0]*u+n[0]*c+r[0]*f+i[0]*h,t[1]=e[1]*u+n[1]*c+r[1]*f+i[1]*h,t[2]=e[2]*u+n[2]*c+r[2]*f+i[2]*h,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:a,cross:R,crossAndNormalize:function(t,e,n){const r=e[0],i=e[1],o=e[2],a=n[0],l=n[1],s=n[2],u=i*s-o*l,c=o*a-r*s,f=r*l-i*a,h=Math.sqrt(u*u+c*c+f*f);return t[0]=u/h,t[1]=c/h,t[2]=f/h,t},direction:N,dist:q,distance:M,div:X,divide:f,dot:_,equals:T,exactEquals:I,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,i,o){const a=o*o,l=a*(2*o-3)+1,s=a*(o-2)+o,u=a*(o-1),c=a*(3-2*o);return t[0]=e[0]*l+n[0]*s+r[0]*u+i[0]*c,t[1]=e[1]*l+n[1]*s+r[1]*u+i[1]*c,t[2]=e[2]*l+n[2]*s+r[2]*u+i[2]*c,t},inverse:b,len:E,length:o,lerp:S,max:m,min:d,mul:P,multiply:c,negate:v,normalize:A,random:function(t,e=1){const n=i.Ov,r=2*n()*Math.PI,o=2*n()-1,a=Math.sqrt(1-o*o)*e;return t[0]=Math.cos(r)*a,t[1]=Math.sin(r)*a,t[2]=o*e,t},rotateX:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateY:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateZ:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:g,scaleAndAdd:y,set:l,sign:p,sqrDist:Y,sqrLen:Z,squaredDistance:x,squaredLength:w,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:z,subtract:u,transformMat3:k,transformMat4:j,transformQuat:B},Symbol.toStringTag,{value:"Module"}))},40876:(t,e,n)=>{n.d(e,{Eq:()=>p,G1:()=>m,TS:()=>o,Tf:()=>M,V6:()=>i,Vm:()=>d,ay:()=>s,c1:()=>g,c4:()=>a,j5:()=>u,lT:()=>f,oW:()=>c,xV:()=>w});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(t){return!!r[t]||!!r[t.toLowerCase()]}function o(t){return r[t]??r[t.toLowerCase()]}function a(t){return[...o(t)]}function l(t,e,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?t+(e-t)*r:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function s(t,e,n,r=1){const i=(t%360+360)%360/360,o=n<=.5?n*(e+1):n+e-n*e,a=2*n-o;return[Math.round(255*l(a,o,i+1/3)),Math.round(255*l(a,o,i)),Math.round(255*l(a,o,i-1/3)),r]}function u(t){const e=t.length>5,n=e?8:4,r=(1<<n)-1,i=e?1:17,o=e?9===t.length:5===t.length;let a=Number("0x"+t.slice(1));if(isNaN(a))return null;const l=[0,0,0,1];let s;return o&&(s=a&r,a>>=n,l[3]=i*s/255),s=a&r,a>>=n,l[2]=i*s,s=a&r,a>>=n,l[1]=i*s,s=a&r,a>>=n,l[0]=i*s,l}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),n=parseInt(t.slice(2,3),16),r=parseInt(t.slice(3,4),16),i=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,n+16*n,r+16*r,(i+16*i)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function f(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),n=e[1];if("rgb"===n&&3===t.length||"rgba"===n&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),h(e)}return h(t.map(t=>parseFloat(t)))}if("hsl"===n&&3===t.length||"hsla"===n&&4===t.length)return s(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function h(t){return t[0]=g(t[0]),t[1]=g(t[1]),t[2]=g(t[2]),t[3]=4===t.length?m(t[3]):1,t}function p(t){let e=i(t)?o(t):null;return e??=f(t),e??=c(t),e}function d(t){const e=p(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function m(t){return y(t,0,1)}function g(t){return Math.round(y(t,0,255))}function y(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t}const M=2.2,x=1/M;function w(t){return t**x}},48163:(t,e,n)=>{function r(){return[0,0]}function i(t){return[t[0],t[1]]}function o(t,e){return[t,e]}function a(){return o(1,1)}function l(){return o(1,0)}function s(){return o(0,1)}n.d(e,{Un:()=>u,fA:()=>o,o8:()=>i,vt:()=>r});const u=a(),c=l(),f=s();Object.freeze(Object.defineProperty({__proto__:null,ONES:u,UNIT_X:c,UNIT_Y:f,ZEROS:[0,0],clone:i,create:r,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const n=Math.min(2,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:o,ones:a,unitX:l,unitY:s,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},48353:(t,e,n)=>{n.d(e,{l:()=>u});var r=n(34727),i=n(58083),o=n(51850);function a(t,e,n){const r=Math.sin(t),i=Math.cos(t),o=Math.sin(e),a=Math.cos(e),l=n;return l[0]=-r,l[4]=-o*i,l[8]=a*i,l[12]=0,l[1]=i,l[5]=-o*r,l[9]=a*r,l[13]=0,l[2]=0,l[6]=a,l[10]=o,l[14]=0,l[3]=0,l[7]=0,l[11]=0,l[15]=1,l}var l=n(37539),s=n(21325);function u(t,e,n,r){const o=(0,l.Tp)(t,r);if(null==o)return!1;const u=o.source.spatialReferenceId,d=o.dest.spatialReferenceId;if(u===d&&!c(d)&&(0!==u||(0,s.aI)(t,r)))return(0,i.kN)(n,e),!0;if(c(d)){const t=l.w5[u][10],r=l.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),a(f*h[0],f*h[1],n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}const m=c(u);if((3===d||11===d||2===d||5===d)&&(2===u||m||3===u||5===u)){const t=l.w5[u][10],r=l.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),m?function(t,e,n){a(t,e,n),(0,i.mg)(n,n)}(f*h[0],f*h[1],n):(0,i.D_)(n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}return!1}function c(t){return 1===t||6===t||8===t||4===t}const f=(0,r.kU)(1),h=(0,o.vt)(),p=(0,o.vt)()},51850:(t,e,n)=>{function r(){return[0,0,0]}function i(t){return[t[0],t[1],t[2]]}function o(t,e,n){return[t,e,n]}function a(t,e,n){return[t,e,n]}function l(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function s(){return o(1,1,1)}function u(){return o(1,0,0)}function c(){return o(0,1,0)}function f(){return o(0,0,1)}n.d(e,{CN:()=>a,Cb:()=>g,Cw:()=>d,JP:()=>m,Un:()=>p,ci:()=>l,fA:()=>o,o8:()=>i,uY:()=>h,vt:()=>r});const h=[0,0,0],p=s(),d=u(),m=c(),g=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:d,UNIT_Y:m,UNIT_Z:g,ZEROS:h,clone:i,create:r,freeze:a,fromArray:l,fromValues:o,ones:s,unitX:u,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},65806:(t,e,n)=>{n.d(e,{g:()=>a});var r=n(51850),i=n(91218),o=n(9762);function a(t,e,n){if((0,i.canProjectWithoutEngine)(t.spatialReference,n))return l[0]=t.x,l[1]=t.y,l[2]=t.z??0,(0,o.projectBuffer)(l,t.spatialReference,0,e,n,0);const r=(0,i.tryProject)(t,n);return!!r&&(e[0]=r.x,e[1]=r.y,e[2]=r.z??0,!0)}const l=(0,r.vt)()},69540:(t,e,n)=>{n.d(e,{OU:()=>c,Pw:()=>f});var r=n(31635),i=n(69622),o=(n(44208),n(4718)),a=(n(53966),n(97768)),l=n(88620),s=n(64108);const u=Symbol("ClonableMixin"),c=t=>{var e;const n=t;let i=class extends n{constructor(){super(...arguments),this[e]=!0}static{e=u}clone(t){const e=(0,l.oY)(this);(0,a.Lw)(e,"unable to clone instance of non-accessor class");const n=e.metadata,r=e.store,i={},s=new Map;for(const e in n){const a=n[e],l=r?.originOf(e),u=a.clonable;if(a.readOnly||!1===u||7!==l&&0!==l&&5!==l&&4!==l)continue;const c=this[e];let f=null;if("function"==typeof u)f=u(c,t);else if("reference"===u)f=c;else if(f=(0,o.TU)(c,t),null!=c&&null==f)continue;0===l?s.set(e,f):i[e]=f}const u=new(0,Object.getPrototypeOf(this).constructor)(i);if(s.size){const t=(0,l.oY)(u)?.store;if(t)for(const[e,n]of s)t.set(e,n,0)}return u}};return i=(0,r.Cg)([(0,s.$)("esri.core.Clonable")],i),i},f=c(i.A)},72258:(t,e,n)=>{n.d(e,{UR:()=>v,p5:()=>w,xK:()=>j});var r=n(53966),i=n(34727),o=n(86211),a=n(77690),l=n(29242),s=n(58083),u=n(9093),c=n(38954),f=n(51850),h=n(98764),p=n(48353),d=n(65806),m=n(27615),g=n(21325),y=n(73354),M=n(22141);const x=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function w(t,e,{vertexSpace:n,spatialReference:r}){if("georeferenced"===n.type){const i=t;if(!(0,d.g)(e,i,r))return!1;const{origin:o}=n;return(0,c.e)(t,i,o),!0}const i=(0,h.lO)(r),o=t;if(!(0,d.g)(e,o,i))return!1;const{origin:a}=n,l=I;if(!(0,p.l)(r,a,l,i))return!1;const u=(0,s.B8)(I,l);return null!=u&&((0,c.p)(t,o,u),!0)}function v(t,e,n){const{vertexSpace:r,transform:i,vertexAttributes:o}=t,l=(0,m.Hq)(r)?i:null,f=R(t.spatialReference,n,3);if((0,m.yJ)(r,e)&&(!l||(0,s.t2)(l.localMatrix,u.zK))&&S(f)){const{position:t,normal:e,tangent:r}=o,i=n?.allowBufferReuse;return{position:i?t:t.slice(),normal:i?e:e?.slice(),tangent:i?r:r?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},i,o){const a=b(e,o);if(!(0,p.l)(e,r,k,a))return(0,M.CN)(x(),e,a),null;if(n&&(0,s.lw)(k,k,n.localMatrix),!(0,p.l)(e,i,B,a))return(0,M.CN)(x(),a,e),null;(0,s.B8)(B,B);const l=(0,s.lw)(k,B,k);return _(l,e,o,3),A(t,l)}(t,t.vertexSpace,e.origin,n):function({spatialReference:t,vertexAttributes:e,transform:n},{origin:r},i,o){const a=b(t,o);if(!(0,p.l)(t,r,k,a))return(0,M.CN)(x(),t,a),null;n&&(0,s.lw)(k,k,n.localMatrix),_(k,t,o,1);const l=new Float64Array(e.position.length),u=function(t,e,n,r,i){(0,y.t)(r,t,e);const o=new Float64Array(t.length);return(0,M.$5)(r,i,o,n)?o:((0,M.CN)(x(),i,n),null)}(e.position,k,t,l,a);if(!u)return null;const f=function(t,e,n,r,i,o){if(null==i)return null;const a=new Float32Array(i.length);return(0,M.qs)(i,a,o),(0,M.si)(a,t,e,n,r,a)?a:((0,M.CN)(x(),r,e),null)}(u,t,l,a,e.normal,k);if(e.normal&&!f)return null;const h=function(t,e,n,r,i,o){if(null==i)return null;const a=new Float32Array(i.length);return(0,M.KM)(i,a,o),(0,M.Mv)(a,t,e,n,r,a)?a:((0,M.CN)(x(),r,e),null)}(u,t,l,a,e.tangent,k);if(e.tangent&&!h)return null;if(i){const t=(0,c.q)(O,i);(0,y.a)(u,u,t)}return{position:u,normal:f,tangent:h}}(t,t.vertexSpace,e.origin,n);case"georeferenced":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},i,o){const l=b(e,o);if(!(0,p.l)(e,i,k,l))return(0,M.CN)(x(),e,l),null;const u=1/R(e,o,2);(0,s.hs)(k,k,[u,u,u]);const c=(0,s.B8)(B,k),{position:f,normal:h,tangent:d}=function(t,e,n){if(!e)return t;if(!n){const{position:n,normal:r,tangent:i}=t;return{position:(0,y.a)(new Float64Array(n.length),n,e),tangent:i,normal:r}}const r=A(t,n.localMatrix);return(0,y.a)(r.position,r.position,e),r}(t,r,n),m=new Float64Array(f.length),g=function(t,e,n,r,i){const o=(0,M.gr)(t,e,r,i);if(!o)return(0,M.CN)(x(),e,i),null;const a=new Float64Array(o.length);return(0,y.t)(a,o,n),a}(f,e,c,m,l);if(!g)return null;const w=(0,a.Ge)(C,c),v=function(t,e,n,r,i,o,a){if(null==t)return null;const l=a??new Float32Array(t.length);return(0,M.X4)(t,e,n,r,i,l)?((0,y.b)(l,l,o),l):((0,M.CN)(x(),n,i),null)}(h,f,e,m,l,w,h!==t.normal?h:void 0);if(!v&&h)return null;const _=function(t,e,n,r,i,o,a){if(null==t)return null;const l=a??new Float32Array(t.length);return(0,M.xA)(t,e,n,r,i,l)?((0,y.b)(l,l,o,4),l):((0,M.CN)(x(),n,i),null)}(d,f,e,m,l,w,d!==t.tangent?d:void 0);return!_&&d?null:{position:g,normal:v,tangent:_}}(t,t.vertexSpace,e.origin,n):function({vertexAttributes:t,transform:e,spatialReference:n},{origin:r},i,o){const a=R(n,o,3),l=r||!S(a)?(0,s.C)(k,e?.localMatrix??u.zK):null;l&&_(l,n,o,3);const{position:f,normal:h,tangent:p}=l?A(t,l):t,d=o?.allowBufferReuse,m=d?f:new Float64Array(f.length);let g=f;if(r&&(g=(0,y.a)(m,g,r)),i){const t=(0,c.q)(O,i);g=(0,y.a)(m,g,t)}return{position:g!==t.position||d?g:g.slice(),normal:h!==t.normal||d?h:h?.slice(),tangent:p!==t.tangent||d?p:p?.slice()}}(t,t.vertexSpace,e.origin,n)}}function b(t,e){return e?.useEllipsoid&&(0,g.B3)(t)?h.Y0:(0,h.lO)(t)}function A(t,e){const n=new Float64Array(t.position.length);(0,y.t)(n,t.position,e);const r=t.normal?new Float32Array(t.normal.length):null,i=t.tangent?new Float32Array(t.tangent.length):null;return r&&t.normal&&(0,M.qs)(t.normal,r,e),i&&t.tangent&&(0,M.KM)(t.tangent,i,e),{position:n,normal:r,tangent:i}}function _(t,e,n,r){const i=R(e,n,r);S(i)||(0,s.hs)(t,t,[i,i,i])}function R(t,e,n){const r=!!(1&n),i=!!(2&n),o=e?.sourceUnit,a=e?.targetUnit;if(!o&&!a)return 1;let l=j(o,t);r||!o||S(l)||(x().warn("source unit conversion not supported"),l=1);let s=1/j(a,t);return i||!a||S(s)||(x().warn("target unit conversion not supported"),s=1),l*s}function S(t){return(0,i.Io)(t,1)}function j(t,e){if(null==t)return 1;const n=(0,o.KX)(e);return 1/(0,o.oU)(n,"meters",t)}const k=(0,u.vt)(),B=(0,u.vt)(),C=(0,l.vt)(),O=(0,f.vt)(),I=(0,u.vt)()},73354:(t,e,n)=>{n.d(e,{a:()=>f,b:()=>l,c:()=>a,d:()=>i,e:()=>h,f:()=>c,l:()=>u,n:()=>p,t:()=>o});var r=n(40876);function i(t,e,n){o(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function o(t,e,n,r=3,i=r){if(t.length/r!==Math.ceil(e.length/i))return t;const o=t.length/r,a=n[0],l=n[1],s=n[2],u=n[4],c=n[5],f=n[6],h=n[8],p=n[9],d=n[10],m=n[12],g=n[13],y=n[14];let M=0,x=0;for(let n=0;n<o;n++){const n=e[M],o=e[M+1],w=e[M+2];t[x]=a*n+u*o+h*w+m,t[x+1]=l*n+c*o+p*w+g,t[x+2]=s*n+f*o+d*w+y,M+=i,x+=r}return t}function a(t,e,n){l(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function l(t,e,n,r=3,i=r){if(t.length/r!==Math.ceil(e.length/i))return;const o=t.length/r,a=n[0],l=n[1],s=n[2],u=n[3],c=n[4],f=n[5],h=n[6],p=n[7],d=n[8];let m=0,g=0;for(let n=0;n<o;n++){const n=e[m],o=e[m+1],y=e[m+2];t[g]=a*n+u*o+h*y,t[g+1]=l*n+c*o+p*y,t[g+2]=s*n+f*o+d*y,m+=i,g+=r}}function s(t,e,n,r=3,i=r){const o=Math.min(t.length/r,e.length/i);let a=0,l=0;for(let s=0;s<o;s++)t[l]=n*e[a],t[l+1]=n*e[a+1],t[l+2]=n*e[a+2],a+=i,l+=r;return t}function u(t,e,n,r){c(t.typedBuffer,e.typedBuffer,n,r,t.typedBufferStride,e.typedBufferStride)}function c(t,e,n,i,o=3,a=o){const l=Math.min(t.length/o,e.length/a);let s=0,u=0;const c=1/r.Tf;for(let r=0;r<l;r++)t[u]=i*(n*e[s])**c,t[u+1]=i*(n*e[s+1])**c,t[u+2]=i*(n*e[s+2])**c,s+=a,u+=o}function f(t,e,n,r=3,i=r){const o=t.length/r;if(o!==Math.ceil(e.length/i))return t;let a=0,l=0;for(let s=0;s<o;s++)t[l]=e[a]+n[0],t[l+1]=e[a+1]+n[1],t[l+2]=e[a+2]+n[2],a+=i,l+=r;return t}function h(t,e){p(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function p(t,e,n=3,r=n){const i=Math.min(t.length/n,e.length/r);let o=0,a=0;for(let l=0;l<i;l++){const i=e[o],l=e[o+1],s=e[o+2],u=i*i+l*l+s*s;if(u>0){const e=1/Math.sqrt(u);t[a]=e*i,t[a+1]=e*l,t[a+2]=e*s}o+=r,a+=n}}n(44208),n(53966),Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:u,normalize:p,normalizeView:h,scale:s,scaleView:function(t,e,n){s(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const r=Math.min(t.count,e.count),i=t.typedBuffer,o=t.typedBufferStride,a=e.typedBuffer,l=e.typedBufferStride;let s=0,u=0;for(let t=0;t<r;t++)i[u]=a[s]>>n,i[u+1]=a[s+1]>>n,i[u+2]=a[s+2]>>n,s+=l,u+=o},transformMat3:l,transformMat3View:a,transformMat4:o,transformMat4View:i,translate:f},Symbol.toStringTag,{value:"Module"}))},75503:(t,e,n)=>{n.d(e,{EC:()=>R,wq:()=>l});var r=n(4576),i=n(21818),o=(n(44208),n(15142)),a=n(11006);class l{constructor(t=9,e){this._compareMinX=h,this._compareMinY=p,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),v.prune(),b.prune(),A.prune(),_.prune()}all(t){s(this._data,t)}search(t,e){let n=this._data;const r=this._toBBox;if(x(t,n))for(v.clear();n;){for(let i=0,o=n.children.length;i<o;i++){const o=n.children[i],a=n.leaf?r(o):o;x(t,a)&&(n.leaf?e(o):M(t,a)?s(o,e):v.push(o))}n=v.pop()}}collides(t){let e=this._data;const n=this._toBBox;if(!x(t,e))return!1;for(v.clear();e;){for(let r=0,i=e.children.length;r<i;r++){const i=e.children[r],o=e.leaf?n(i):i;if(x(t,o)){if(e.leaf||M(t,o))return!0;v.push(i)}}e=v.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){const t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new j([]),this}remove(t){if(!t)return this;let e,n=this._data,o=null,a=0,l=!1;const s=this._toBBox(t);for(A.clear(),_.clear();n||A.length>0;){if(n||(n=A.pop(),o=A.data[A.length-1],a=_.pop()??0,l=!0),n.leaf&&(e=(0,r.qh)(n.children,(0,i.zI)(t),n.children.length,n.indexHint),-1!==e))return n.children.splice(e,1),A.push(n),this._condense(A),this;l||n.leaf||!M(n,s)?o?(a++,n=o.children[a],l=!1):n=null:(A.push(n),_.push(a),a=0,o=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,e,n,r){const i=n-e+1;let o=this._maxEntries;if(i<=o){const r=new j(t.slice(e,n+1));return u(r,this._toBBox),r}r||(r=Math.ceil(Math.log(i)/Math.log(o)),o=Math.ceil(i/o**(r-1)));const a=new k([]);a.height=r;const l=Math.ceil(i/o),s=l*Math.ceil(Math.sqrt(o));w(t,e,n,s,this._compareMinX);for(let i=e;i<=n;i+=s){const e=Math.min(i+s-1,n);w(t,i,e,l,this._compareMinY);for(let n=i;n<=e;n+=l){const i=Math.min(n+l-1,e);a.children.push(this._build(t,n,i,r-1))}}return u(a,this._toBBox),a}_insert(t,e,n){const r=this._toBBox,i=n?t:r(t);A.clear();const o=function(t,e,n,r){for(;r.push(e),!0!==e.leaf&&r.length-1!==n;){let n,r=1/0,i=1/0;for(let o=0,a=e.children.length;o<a;o++){const a=e.children[o],l=d(a),s=g(t,a)-l;s<i?(i=s,r=l<r?l:r,n=a):s===i&&l<r&&(r=l,n=a)}e=n||e.children[0]}return e}(i,this._data,e,A);for(o.children.push(t),f(o,i);e>=0&&A.data[e].children.length>this._maxEntries;)this._split(A,e),e--;!function(t,e,n){for(let r=n;r>=0;r--)f(e.data[r],t)}(i,A,e)}_split(t,e){const n=t.data[e],r=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,r);const o=this._chooseSplitIndex(n,i,r);if(!o)return;const a=n.children.splice(o,n.children.length-o),l=n.leaf?new j(a):new k(a);l.height=n.height,u(n,this._toBBox),u(l,this._toBBox),e?t.data[e-1].children.push(l):this._splitRoot(n,l)}_splitRoot(t,e){this._data=new k([t,e]),this._data.height=t.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(t,e,n){let r,i,o;r=i=1/0;for(let a=e;a<=n-e;a++){const e=c(t,0,a,this._toBBox),l=c(t,a,n,this._toBBox),s=y(e,l),u=d(e)+d(l);s<r?(r=s,o=a,i=u<i?u:i):s===r&&u<i&&(i=u,o=a)}return o}_chooseSplitAxis(t,e,n){const r=t.leaf?this._compareMinX:h,i=t.leaf?this._compareMinY:p;this._allDistMargin(t,e,n,r)<this._allDistMargin(t,e,n,i)&&t.children.sort(r)}_allDistMargin(t,e,n,r){t.children.sort(r);const i=this._toBBox,o=c(t,0,e,i),a=c(t,n-e,n,i);let l=m(o)+m(a);for(let r=e;r<n-e;r++){const e=t.children[r];f(o,t.leaf?i(e):e),l+=m(o)}for(let r=n-e-1;r>=e;r--){const e=t.children[r];f(a,t.leaf?i(e):e),l+=m(a)}return l}_condense(t){for(let e=t.length-1;e>=0;e--){const n=t.data[e];if(0===n.children.length)if(e>0){const i=t.data[e-1],o=i.children;o.splice((0,r.qh)(o,n,o.length,i.indexHint),1)}else this.clear();else u(n,this._toBBox)}}_initFormat(t){const e=["return a"," - b",";"];this._compareMinX=new Function("a","b",e.join(t[0])),this._compareMinY=new Function("a","b",e.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function s(t,e){let n=t;for(b.clear();n;){if(!0===n.leaf)for(const t of n.children)e((0,i.zI)(t));else b.pushArray(n.children);n=b.pop()??null}}function u(t,e){c(t,0,t.children.length,e,t)}function c(t,e,n,r,i){i||(i=new j([])),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(let o,a=e;a<n;a++)o=t.children[a],f(i,t.leaf?r(o):o);return i}function f(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function h(t,e){return t.minX-e.minX}function p(t,e){return t.minY-e.minY}function d(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function m(t){return t.maxX-t.minX+(t.maxY-t.minY)}function g(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function y(t,e){const n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),o=Math.min(t.maxY,e.maxY);return Math.max(0,i-n)*Math.max(0,o-r)}function M(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function x(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function w(t,e,n,r,i){const o=[e,n];for(;o.length;){const e=o.pop(),n=o.pop();if(e-n<=r)continue;const l=n+Math.ceil((e-n)/r/2)*r;(0,a.q)(t,l,n,e,i),o.push(n,l,l,e)}}const v=new o.A,b=new o.A,A=new o.A,_=new o.A({deallocator:void 0});class R{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class S extends R{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class j extends S{constructor(t){super(),this.children=t,this.leaf=!0}}class k extends S{constructor(t){super(),this.children=t,this.leaf=!1}}},86738:(t,e,n)=>{n.d(e,{A:()=>x});var r=n(31635),i=n(69622),o=n(53966),a=n(91429),l=n(56507),s=n(91075),u=n(16930),c=n(21325),f=n(28735);function h({x:t,y:e,spatialReference:n},r=[0,0]){if(n){if((0,c.K8)(n))return(0,f.tD)(t,e,r);if((0,c.EA)(n))return r[0]=t,r[1]=e,r}return null}const p=[0,0];var d,m=n(43937),g=n(36005);const y=[0,0];function M(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}let x=d=class extends s.A{static copy(t,e){e._set("x",t._get("x")),e._set("y",t._get("y")),e._set("z",t._get("z")),e._set("m",t._get("m"));const n=t._get("spatialReference");e._set("spatialReference",i.A.isFrozen(n)?n:n.clone())}constructor(...t){super(...t),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(t,e,n,r,i){let a;if(Array.isArray(t))a=t,i=e,t=a[0],e=a[1],n=a[2],r=a[3];else if(t&&"object"==typeof t){if(a=t,t=null!=a.x?a.x:a.longitude,e=null!=a.y?a.y:a.latitude,n=a.z,r=a.m,(i=a.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new u.A(i)),null!=a.longitude||null!=a.latitude)if(null==a.longitude)o.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==a.latitude)o.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!a.declaredClass&&i?.isWebMercator){const n=(0,f.je)(a.longitude,a.latitude,y);t=n[0],e=n[1]}}else M(n)?(i=n,n=null):M(r)&&(i=r,r=null);const l={x:t,y:e};return null==l.x&&null!=l.y?o.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==l.y&&null!=l.x&&o.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(l.spatialReference=i),null!=n&&(l.z=n),null!=r&&(l.m=r),l}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(t){t!==(void 0!==this._get("m"))&&(this._set("m",t?0:void 0),this._set("hasM",t))}get hasZ(){return void 0!==this.z}set hasZ(t){t!==(void 0!==this._get("z"))&&(this._set("z",t?0:void 0),this._set("hasZ",t))}get latitude(){return h(this,p)?.[1]??null}set latitude(t){const{spatialReference:e,x:n}=this;null!=t&&e&&(e.isWebMercator?this._set("y",(0,f.je)(n,t,y)[1]):e.isGeographic&&this._set("y",t),this._set("latitude",t))}get longitude(){return h(this,p)?.[0]??null}set longitude(t){const{y:e,spatialReference:n}=this;null!=t&&n&&(n.isWebMercator?this._set("x",(0,f.je)(t,e,y)[0]):n.isGeographic&&this._set("x",t),this._set("longitude",t))}writeX(t,e,n){e[n]=isNaN(t)?"NaN":t}readX(t){return"string"==typeof t?NaN:t}clone(){const t=new d;return t.x=this.x,t.y=this.y,t.z=this.z,t.m=this.m,t.spatialReference=this.spatialReference,t}copy(t){return d.copy(t,this),this}equals(t){if(null==t)return!1;const{x:e,y:n,z:r,m:i,spatialReference:o}=this,{z:a,m:l}=t;let{x:s,y:u,spatialReference:c}=t;if(!o.equals(c))if(o.isWebMercator&&c.isWGS84)[s,u]=(0,f.je)(s,u),c=o;else{if(!o.isWGS84||!c.isWebMercator)return!1;[s,u]=(0,f.tD)(s,u),c=o}return e===s&&n===u&&r===a&&i===l&&o.wkid===c.wkid}offset(t,e,n){return this.x+=t,this.y+=e,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const t=(0,c.Vp)(this.spatialReference);if(!t)return this;let e=this.x;const[n,r]=t.valid,i=2*r;let o;return e>r?(o=Math.ceil(Math.abs(e-r)/i),e-=o*i):e<n&&(o=Math.ceil(Math.abs(e-n)/i),e+=o*i),this._set("x",e),this}distance(t){return function(t,e){const n=t.x-e.x,r=t.y-e.y,i=null!=t.z&&null!=e.z?t.z-e.z:0;return Math.sqrt(n*n+r*r+i*i)}(this,t)}toArray(){const t=this.hasZ,e=this.hasM;return t&&e?[this.x,this.y,this.z,this.m]:t?[this.x,this.y,this.z]:e?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(t){return this.write({},t)}};(0,r.Cg)([(0,a.MZ)({readOnly:!0})],x.prototype,"cache",null),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasM",null),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasZ",null),(0,r.Cg)([(0,a.MZ)({type:Number})],x.prototype,"latitude",null),(0,r.Cg)([(0,a.MZ)({type:Number})],x.prototype,"longitude",null),(0,r.Cg)([(0,a.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,a.wg)(t=>isNaN(t)?t:(0,l.GB)(t))],x.prototype,"x",void 0),(0,r.Cg)([(0,m.K)("x")],x.prototype,"writeX",null),(0,r.Cg)([(0,g.w)("x")],x.prototype,"readX",null),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"y",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],x.prototype,"z",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],x.prototype,"m",void 0),x=d=(0,r.Cg)([(0,a.$K)("esri.geometry.Point")],x),x.prototype.toJSON.isDefaultToJSON=!0},91075:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(31635),i=n(25482),o=n(91429),a=n(16930),l=n(36005);let s=class extends i.o{constructor(...t){super(...t),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=a.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(t,e){if(t instanceof a.A)return t;if(null!=t){const n=new a.A;return n.read(t,e),n}return t}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(t){return this.cache[t]}setCacheValue(t,e){this.cache[t]=e}};(0,r.Cg)([(0,o.MZ)()],s.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],s.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],s.prototype,"extent",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],s.prototype,"hasM",void 0),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],s.prototype,"hasZ",void 0),(0,r.Cg)([(0,o.MZ)({type:a.A,json:{write:!0},value:a.A.WGS84})],s.prototype,"spatialReference",void 0),(0,r.Cg)([(0,l.w)("spatialReference")],s.prototype,"readSpatialReference",null),s=(0,r.Cg)([(0,o.$K)("esri.geometry.Geometry")],s)},91218:(t,e,n)=>{n.r(e),n.d(e,{canProjectWithoutEngine:()=>L,initializeProjection:()=>G,isEqualBaseGCS:()=>$,isLoaded:()=>B,isLoadedOrLoad:()=>C,isLoadedOrLoadFor:()=>O,load:()=>T,project:()=>N,projectAsync:()=>F,projectExtent:()=>et,projectMany:()=>z,projectMultipoint:()=>D,projectOrLoad:()=>X,projectOrLoadMany:()=>q,projectPoint:()=>U,projectPolygon:()=>Q,projectPolyline:()=>J,projectWithoutEngine:()=>W,requiresLoad:()=>I,test:()=>Z,tryProject:()=>P,unload:()=>E});var r=n(49186),i=n(74887),o=n(62788),a=n(95488),l=n(51850),s=n(21276),u=n(73941),c=n(5443),f=n(91075),h=n(48526),p=n(86738),d=n(39829),m=n(82799),g=n(16930),y=n(159),M=n(9762),x=n(37539);function w(t,e,n,r,i,o){return v[0]=t,v[1]=e,v[2]=n,(0,M.projectBuffer)(v,r,0,i,o,0)}const v=(0,l.vt)();var b=n(21325);let A=null,_=null,R=null,S=null,j={};const k=new a.I;function B(){return!!(_?.isLoaded()&&R?.isLoaded()&&S?.isLoaded())}function C(){return!!B()||((0,o.gc)(k),T(),!1)}function O(t,e){return!t||!e||L(t,e)||C()}function I(t,e){return!L(t,e)&&!B()}async function T(t){null==A&&(A=Promise.all([n.e(3276).then(n.bind(n,83276)).then(t=>(_=t,_.load())),n.e(8377).then(n.bind(n,8377)).then(t=>(R=t,R.load())),n.e(2158).then(n.bind(n,12158)).then(t=>(S=t,S.load()))])),await A,(0,i.Te)(t),k.notify()}function N(t,e,n){return Array.isArray(t)?0===t.length?[]:((0,s.H)(t),z(t,t[0].spatialReference,e,n)):((0,s.f)(t),z([t],t.spatialReference,e,n)[0])}function z(t,e,n,r){if(null==e||null==n)return t;if(L(e,n,r))return t.map(t=>W(t,e,n));if(null==r?.geographicTransformation&&(0,u.jA)(e))return z(t.map(t=>W(t,e,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return z(t,e,g.A.WGS84).map(t=>W(t,g.A.WGS84,n));if(!B())throw new Y;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:S.getTransformation(e,n,r.areaOfInterestExtent)||new y.A};else if(!r?.areaOfInterestExtent){const t=function(t,e){return[t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,n);let i=j[t];i||(i=S.getTransformation(e,n)||new y.A,j[t]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return t[0].spatialReference||(t[0].spatialReference=e),t[0]instanceof f.A?_.executeMany(t,n,r):R.executeMany(t,n,r)}function P(t,e,n){try{return N(t,e,n)}catch(t){if(t instanceof Y)return null;throw t}}function X(t,e){const n=q([t],e);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function q(t,e,n){if(!B())for(const n of t)if(null!=n&&!(0,b.aI)(n.spatialReference,e)&&(0,b.fn)(n.spatialReference)&&(0,b.fn)(e)&&!L(n.spatialReference,e))return(0,o.gc)(k),{pending:T(),geometries:null};return{pending:null,geometries:t.map(t=>null==t?null:(0,b.aI)(t.spatialReference,e)?t:(0,b.fn)(t.spatialReference)&&(0,b.fn)(e)?N(t,e,n):null)}}class Y extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function E(){A=null,_=null,R=null,S=null,j={}}const Z={get loadPromise(){return A}};async function F(t,e,n){if((0,i.Te)(n),!t)return t;const r=q(Array.isArray(t)?t:[t],e,n);if(r.pending)return await r.pending,(0,i.Te)(n),F(t,e,n);const o=r.geometries??[];return Array.isArray(t)?o:o[0]}function L(t,e,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,b.aI)(t,e)||(0,b.fn)(t)&&(0,b.fn)(e)&&!!(0,x.jd)(t,e))}function $(t,e){if((0,b.aI)(t,e))return!0;if(!(0,b.fn)(t)||!(0,b.fn)(e))return!1;const n=(0,b.oT)(t)||(0,b.K8)(t)||(0,b.x1)(t),r=(0,b.oT)(e)||(0,b.K8)(e)||(0,b.x1)(e);return n&&r}async function G(t,e,n,r){if(B())return(0,i.NO)(r);if(Array.isArray(t)){for(const{source:e,dest:n,options:i}of t)if(e&&n&&!L(e,n,i))return T(r)}else if(t&&e&&!L(t,e,n))return T(r);return(0,i.NO)(r)}function W(t,e,n){return t?"x"in t?K(t,e,new p.A,n,0):"xmin"in t?nt(t,e,new c.A,n,0):"rings"in t?tt(t,e,new d.A,n,0):"paths"in t?H(t,e,new m.A,n,0):"points"in t?V(t,e,new h.A,n,0):null:null}function U(t,e,n=e.spatialReference,r=0){return null!=n&&null!=t.spatialReference&&null!=K(t,t.spatialReference,e,n,r)}function K(t,e,n,r,i){it[0]=t.x,it[1]=t.y;const o=t.z;return it[2]=void 0!==o?o:i,(0,M.projectBuffer)(it,e,0,it,r,0)?(n.x=it[0],n.y=it[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=it[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===t.m?(n.m=void 0,n.hasM=!1):(n.m=t.m,n.hasM=!0),n):null}function D(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=V(t,t.spatialReference,e,n,r)}function V(t,e,n,r,i){const{points:o,hasZ:a,hasM:l}=t,s=[],c=o.length,f=[];for(const t of o)f.push(t[0],t[1],a?t[2]:i);if(!(0,M.projectBuffer)(f,e,0,f,r,0,c))return null;const h=a||(0,u.xP)(r);for(let t=0;t<c;++t){const e=3*t,n=f[e],r=f[e+1];h&&l?s.push([n,r,f[e+2],o[t][3]]):h?s.push([n,r,f[e+2]]):l?s.push([n,r,o[t][2]]):s.push([n,r])}return n.points=s,n.spatialReference=r,n.hasZ=a,n.hasM=l,n}function J(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=H(t,t.spatialReference,e,n,r)}function H(t,e,n,r,i){const{paths:o,hasZ:a,hasM:l}=t,s=[];if(!rt(o,a??!1,l??!1,e,s,r,i))return null;const c=a||(0,u.xP)(r);return n.paths=s,n.spatialReference=r,n.hasZ=c,n.hasM=l,n}function Q(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=tt(t,t.spatialReference,e,n,r)}function tt(t,e,n,r,i){const{rings:o,hasZ:a,hasM:l}=t,s=[];if(!rt(o,a??!1,l??!1,e,s,r,i))return null;const c=a||(0,u.xP)(r);return n.rings=s,n.spatialReference=r,n.hasZ=c,n.hasM=l,n}function et(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=nt(t,t.spatialReference,e,n,r)}function nt(t,e,n,r,i){const{xmin:o,ymin:a,xmax:l,ymax:s,hasZ:c,hasM:f}=t;if(!w(o,a,c?t.zmin:i,e,it,r))return null;const h=c||(0,u.xP)(r);return n.xmin=it[0],n.ymin=it[1],h&&(n.zmin=it[2]),w(l,s,c?t.zmax:i,e,it,r)?(n.xmax=it[0],n.ymax=it[1],h&&(n.zmax=it[2]),f&&(n.mmin=t.mmin,n.mmax=t.mmax),n.spatialReference=r,n):null}function rt(t,e,n,r,i,o,a=0){const l=new Array;for(const n of t)for(const t of n)l.push(t[0],t[1],e?t[2]:a);if(!(0,M.projectBuffer)(l,r,0,l,o,0))return!1;let s=0;i.length=0;const c=e||(0,u.xP)(o);for(const e of t){const t=new Array;for(const r of e)c&&n?t.push([l[s++],l[s++],l[s++],r[3]]):c?t.push([l[s++],l[s++],l[s++]]):n?(t.push([l[s++],l[s++],r[2]]),s++):(t.push([l[s++],l[s++]]),s++);i.push(t)}return!0}const it=(0,l.vt)()},95488:(t,e,n)=>{n.d(e,{I:()=>i});var r=n(11406);class i extends r.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},95696:(t,e,n)=>{n.d(e,{A:()=>u});var r,i=n(31635),o=n(69540),a=n(25482),l=n(91429),s=n(93223);let u=class extends((0,o.OU)(a.o)){static{r=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,i.Cg)([(0,s.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,i.Cg)([(0,l.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},98764:(t,e,n)=>{n.d(e,{Y0:()=>u,lO:()=>c});var r=n(73941),i=n(16930),o=n(21325);const a=new i.A(r.fv),l=new i.A(r.FY),s=new i.A(r.LJ),u=new i.A(r.Ro);function c(t){const e=f.get(t);if(e)return e;let n=a;if(t)if(t===l)n=l;else if(t===s)n=s;else{const e=t.wkid,r=t.latestWkid;if(null!=e||null!=r)(0,o.tl)(e)||(0,o.tl)(r)?n=l:((0,o.ZL)(e)||(0,o.ZL)(r))&&(n=s);else{const e=t.wkt2??t.wkt;if(e){const t=e.toUpperCase();t===h?n=l:t===p&&(n=s)}}}return f.set(t,n),n}const f=new Map,h=l.wkt.toUpperCase(),p=s.wkt.toUpperCase()},99157:(t,e,n)=>{n.d(e,{A:()=>l});var r,i=n(31635),o=n(69622),a=n(91429);let l=r=class extends o.A{constructor(t){super(t),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,a.MZ)()],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,a.MZ)()],l.prototype,"wkt",void 0),(0,i.Cg)([(0,a.MZ)()],l.prototype,"wkid",void 0),l=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5845],{159:(t,e,n)=>{n.d(e,{A:()=>s});var r,i=n(31635),o=n(69622),a=n(91429),l=n(99157);let s=r=class extends o.A{constructor(t){super(t),this.steps=[]}getInverse(){const t=new r;for(let e=this.steps.length-1;e>=0;e--){const n=this.steps[e];t.steps.push(n.getInverse())}return t}};(0,i.Cg)([(0,a.MZ)({type:[l.A],nonNullable:!0})],s.prototype,"steps",void 0),s=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],s)},9093:(t,e,n)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{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(t,e,n,r,i,o,a,l,s,u,c,f,h,p,d,m){return[t,e,n,r,i,o,a,l,s,u,c,f,h,p,d,m]}},Symbol.toStringTag,{value:"Module"}))},9762:(t,e,n)=>{n.r(e),n.d(e,{projectBuffer:()=>i});var r=n(37539);function i(t,e,n,i,o,a,l=Math.floor(t.length/3)){const s=(0,r.jd)(e,o);if(null==s)return!1;if(s===r.pO){if(t===i&&n===a)return!0;const e=n+3*l;for(let r=n,o=a;r<e;r++,o++)i[o]=t[r]??0;return!0}const u=n+3*l;for(let e=n,r=a;e<u;e+=3,r+=3)s(t,e,i,r);return!0}},11006:(t,e,n)=>{function r(t,e,n,r,o){i(t,e,n||0,r||t.length-1,o||a)}function i(t,e,n,r,a){for(;r>n;){if(r-n>600){var l=r-n+1,s=e-n+1,u=Math.log(l),c=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*c*(l-c)/l)*(s-l/2<0?-1:1);i(t,e,Math.max(n,Math.floor(e-s*c/l+f)),Math.min(r,Math.floor(e+(l-s)*c/l+f)),a)}var h=t[e],p=n,d=r;for(o(t,n,e),a(t[r],h)>0&&o(t,n,r);p<d;){for(o(t,p,d),p++,d--;a(t[p],h)<0;)p++;for(;a(t[d],h)>0;)d--}0===a(t[n],h)?o(t,n,d):o(t,++d,r),d<=e&&(n=d+1),e<=d&&(r=d-1)}}function o(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function a(t,e){return t<e?-1:t>e?1:0}n.d(e,{q:()=>r})},18251:(t,e,n)=>{n.d(e,{A:()=>u});var r=n(31635),i=n(69540),o=n(25482),a=n(91429),l=n(51850),s=n(93223);let u=class extends((0,i.OU)(o.o)){constructor(t){super(t),this.type="local",this.origin=(0,l.vt)()}};(0,r.Cg)([(0,s.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,a.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},21276:(t,e,n)=>{n.d(e,{H:()=>o,f:()=>i});var r=n(49186);function i(t){if(t&&"object"==typeof t&&"type"in t&&"mesh"===t.type)throw new r.A("internal:mesh","Mesh geometries are not supported for this operation")}function o(t){t.forEach(i)}},22141:(t,e,n)=>{n.d(e,{$5:()=>b,CN:()=>M,JP:()=>y,KM:()=>_,Mv:()=>S,X4:()=>x,gr:()=>v,qs:()=>A,si:()=>w,xA:()=>R});var r=n(34727),i=n(77690),o=n(29242),a=n(58083),l=n(9093),s=n(38954),u=n(51850),c=n(48353),f=n(9762),h=(n(79258),n(21325)),p=n(28735),d=n(13030),m=n(73354),g=n(65686);const y="Projection may be possible after calling projection.load().";function M(t,e,n,r){t.error(`Failed to project from (wkid:${e.wkid}) to (wkid:${n.wkid}).${r?" ":""}${r}`)}function x(t,e,n,r,i,o){return k(0,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o))?o:null}function w(t,e,n,r,i,o){return k(1,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o))?o:null}function v(t,e,n,r){return(0,f.projectBuffer)(t,e,0,n,r,0)?n:null}function b(t,e,n,r){return(0,f.projectBuffer)(t,e,0,n,r,0)?n:null}function A(t,e,n){return(0,i.Ge)(I,n),(0,m.b)(e,t,I),(0,r.or)(I)&&(0,m.n)(e,e),e}function _(t,e,n){return(0,i.z0)(I,n),(0,g.t)(e,t,I),(0,r.or)(I)&&(0,m.n)(e,e,4),e}function R(t,e,n,r,i,o){if(!k(0,d.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let e=3;e<t.length;e+=4)o[e]=t[e];return o}function S(t,e,n,r,i,o){if(!k(1,d.xs.fromTypedArray(t,16),1,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o,16)))return null;for(let e=3;e<t.length;e+=4)o[e]=t[e];return o}function j(t,e,n,r,o){switch((0,c.l)(r,n,O,r),1===t&&(0,a.B8)(O,O),e){case 0:return(0,i.Ge)(o,O);case 1:return(0,i.z0)(o,O)}}function k(t,e,n,r,i,o,a,l){if(!e)return;const u=r.count;if(function(t){return t.isWGS84||(0,h.x1)(t)||(0,h.q8)(t)||(0,h.KQ)(t)}(i))for(let r=0;r<u;r++)o.getVec(r,B),e.getVec(r,C),(0,s.t)(C,C,j(t,n,B,a,I)),l.setVec(r,C);else for(let i=0;i<u;i++){o.getVec(i,B),e.getVec(i,C);const u=(0,p.jg)(r.get(i,1));let c=Math.cos(u);1===n!=(0===t)&&(c=1/c),j(t,n,B,a,I),0===t?(I[0]*=c,I[1]*=c,I[2]*=c,I[3]*=c,I[4]*=c,I[5]*=c):(I[0]*=c,I[3]*=c,I[6]*=c,I[1]*=c,I[4]*=c,I[7]*=c),(0,s.t)(C,C,I),(0,s.n)(C,C),l.setVec(i,C)}return l}const B=(0,u.vt)(),C=(0,u.vt)(),O=(0,l.vt)(),I=(0,o.vt)()},27615:(t,e,n)=>{n.d(e,{CK:()=>s,Hq:()=>l,MW:()=>u,TE:()=>c,yJ:()=>f});var r=n(38954),i=n(86738),o=n(95696),a=n(18251);function l(t){return null!=t.origin}function s(t){return l(t.vertexSpace)}function u(t,e){if(!l(t))return null;const[n,r,o]=t.origin;return new i.A({x:n,y:r,z:o,spatialReference:e})}function c(t,e){const{x:n,y:r,z:i,spatialReference:l}=t,s=[n,r,i??0];return"local"===(e?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(l))?new a.A({origin:s}):new o.A({origin:s})}function f(t,e){return t.type===e.type&&(t.origin===e.origin||null!=t.origin&&null!=e.origin&&(0,r.m)(t.origin,e.origin))}},28735:(t,e,n)=>{n.d(e,{Cv:()=>y,Gh:()=>w,ci:()=>v,je:()=>M,jg:()=>h,tD:()=>x,y7:()=>g});var r=n(4718),i=n(21276),o=n(16930),a=n(79258),l=n(21325);const s=57.29577951308232,u=.017453292519943;function c(t){return t*s}function f(t){return t*u}function h(t){return Math.PI/2-2*Math.atan(Math.exp(-t/a.$O.radius))}function p(t){return null!=t.wkid||null!=t.wkt}const d=[0,0];function m(t,e,n,r,i){const o=t,a=i;if(a.spatialReference=n,"x"in o&&"x"in a)[a.x,a.y]=e(o.x,o.y,d,r);else if("xmin"in o&&"xmin"in a)[a.xmin,a.ymin]=e(o.xmin,o.ymin,d,r),[a.xmax,a.ymax]=e(o.xmax,o.ymax,d,r);else if("paths"in o&&"paths"in a||"rings"in o&&"rings"in a){const t="paths"in o?o.paths:o.rings,n=[];let i;for(let o=0;o<t.length;o++){const a=t[o];i=[],n.push(i);for(let t=0;t<a.length;t++)i.push(e(a[t][0],a[t][1],[0,0],r)),a[t].length>2&&i[t].push(a[t][2]),a[t].length>3&&i[t].push(a[t][3])}"paths"in a?a.paths=n:a.rings=n}else if("points"in o&&"points"in a){const t=o.points,n=[];for(let i=0;i<t.length;i++)n[i]=e(t[i][0],t[i][1],[0,0],r),t[i].length>2&&n[i].push(t[i][2]),t[i].length>3&&n[i].push(t[i][3]);a.points=n}return i}function g(t,e){const n=t&&(p(t)?t:t.spatialReference),r=e&&(p(e)?e:e.spatialReference);return!(t&&"type"in t&&"mesh"===t.type||e&&"type"in e&&"mesh"===e.type||!n||!r)&&(!!(0,l.aI)(r,n)||(0,l.K8)(r)&&(0,l.oT)(n)||(0,l.K8)(n)&&(0,l.oT)(r))}function y(t,e){if(null==t)return null;const n=t.spatialReference,i=e&&(p(e)?e:e.spatialReference);return g(n,i)?(0,l.aI)(n,i)?(0,r.o8)(t):(0,l.K8)(i)?m(t,M,o.A.WebMercator,!1,(0,r.o8)(t)):(0,l.oT)(i)?m(t,x,o.A.WGS84,!1,(0,r.o8)(t)):null:null}function M(t,e,n=[0,0]){e>89.99999?e=89.99999:e<-89.99999&&(e=-89.99999);const r=f(e);return n[0]=f(t)*a.$O.radius,n[1]=a.$O.halfSemiMajorAxis*Math.log((1+Math.sin(r))/(1-Math.sin(r))),n}function x(t,e,n=[0,0],r=!1){if(t===l.Mc[0])n[0]=-180;else if(t===l.Mc[1])n[0]=180;else{const e=c(t/a.$O.radius);n[0]=r?e:e-360*Math.floor((e+180)/360)}return n[1]=c(Math.PI/2-2*Math.atan(Math.exp(-e/a.$O.radius))),n}function w(t,e=!1,n=(0,r.o8)(t)){return(0,i.f)(t),(0,i.f)(n),m(t,M,o.A.WebMercator,e,n)}function v(t,e=!1,n=(0,r.o8)(t)){return(0,i.f)(t),(0,i.f)(n),m(t,x,o.A.WGS84,e,n)}},31635:(t,e,n)=>{function r(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function i(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,i;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>a,mS:()=>i}),Object.create,Object.create;var o="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function a(t){function e(e){t.error=t.hasError?new o(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function i(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,function(t){return e(t),i()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},34304:(t,e,n)=>{n.d(e,{DF:()=>s,FD:()=>i,Ov:()=>o,ct:()=>u});let r=1e-6;function i(){return r}const o=Math.random,a=Math.PI/180,l=180/Math.PI;function s(t){return t*a}function u(t){return t*l}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:o,equals:function(t,e){return Math.abs(t-e)<=r*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:i,setEpsilon:function(t){r=t},toDegree:u,toRadian:s},Symbol.toStringTag,{value:"Module"}))},37539:(t,e,n)=>{n.d(e,{pO:()=>m,jd:()=>h,Tp:()=>p,w5:()=>f});var r=n(34727),i=n(86211),o=n(73941),a=n(79258);Math.PI;const l=a.$O.radius,s=a.$O.eccentricitySquared,u={a1:l*s,a2:l*s*l*s,a3:l*s*s/2,a4:l*s*l*s*2.5,a5:l*s+l*s*s/2,a6:1-s};a.$O.radius,a.$O.flattening,a.Sw.radius,a.Sw.flattening,a.sH.radius,a.sH.flattening,a.sH.radius;var c=n(21325);const f={2:{5:m,7:null,9:null,10:m,1:A,6:null,8:null,0:null,3:y,11:M,2:m,4:k},5:{5:m,7:null,9:null,10:m,1:A,6:null,8:null,0:null,3:y,11:M,2:m,4:k},7:{5:null,7:m,9:null,10:m,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:m,10:m,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(t,e,n,r){const i=t[e]/N,o=T-2*Math.atan(Math.exp(-t[e+1]/N)),a=N+(t[e+2]??0),l=Math.cos(o)*a;n[r]=Math.cos(i)*l,n[r+1]=Math.sin(i)*l,n[r+2]=Math.sin(o)*a},6:null,8:null,0:null,3:m,11:function(t,e,n,r){g(t,e,n,r),M(n,r,n,r)},2:g,4:function(t,e,n,r){g(t,e,n,r),k(n,r,n,r)}},4:{5:B,7:null,9:null,10:B,1:function(t,e,n,r){B(t,e,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){B(t,e,n,r),y(n,r,n,r)},11:function(t,e,n,r){B(t,e,n,r),M(n,r,n,r)},2:B,4:m},1:{5:j,7:null,9:null,10:j,1:m,6:null,8:null,0:null,3:function(t,e,n,r){j(t,e,n,r),y(n,r,n,r)},11:function(t,e,n,r){j(t,e,n,r),M(n,r,n,r)},2:j,4:function(t,e,n,r){j(t,e,n,r),k(n,r,n,r)}},6:{5:null,7:S,9:null,10:S,1:null,6:m,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:R,10:R,1:null,6:null,8:m,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:m,3:null,11:null,2:null,4:null},10:{5:m,7:m,9:m,10:m,1:A,6:b,8:v,0:null,3:y,11:M,2:m,4:k},11:{5:x,7:null,9:null,10:x,1:function(t,e,n,r){x(t,e,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){x(t,e,n,r),y(n,r,n,r)},11:m,2:x,4:function(t,e,n,r){x(t,e,n,r),k(n,r,n,r)}}};function h(t,e){return p(t,e)?.projector}function p(t,e){if(null==t||null==e)return null;if(C.source.spatialReference===t&&C.dest.spatialReference===e)return C;const n=d(t,C.source),r=d(e,C.dest);return 0===n&&0===r?(0,c.aI)(t,e)?C.projector=m:C.projector=null:C.projector=f[n][r],C}function d(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,i.GA)(t,1)),(0,o.jA)(t)?e.spatialReferenceId=1:(0,c.oT)(t)?e.spatialReferenceId=2:(0,c.K8)(t)?e.spatialReferenceId=3:(0,c.r1)(t)?e.spatialReferenceId=11:t.wkt===o.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===o.FY.wkt?e.spatialReferenceId=6:t.wkt===o.LJ.wkt?e.spatialReferenceId=8:(0,c.q8)(t)?e.spatialReferenceId=7:(0,c.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function m(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e]??0)}function g(t,e,n,r){n[r]=I*(t[e]/N),n[r+1]=I*(T-2*Math.atan(Math.exp(-t[e+1]/N))),n[r+2]=t[e+2]??0}function y(t,e,n,i){!function(t,e,n,i,o){const a=.4999999*Math.PI,l=(0,r.qE)(O*t[e+1],-a,a),s=Math.sin(l);n[i++]=O*t[e]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+s)/(1-s)),n[i]=t[e+2]??0}(t,e,n,i,a.$O)}function M(t,e,n,r){n[r]=t[e]*z,n[r+1]=t[e+1]*z,n[r+2]=t[e+2]??0}function x(t,e,n,r){n[r]=t[e]*P,n[r+1]=t[e+1]*P,n[r+2]=t[e+2]??0}function w(t,e,n,r,i){const o=i+(t[e+2]??0),a=O*t[e],l=O*t[e+1],s=Math.cos(l)*o;n[r]=Math.cos(a)*s,n[r+1]=Math.sin(a)*s,n[r+2]=Math.sin(l)*o}function v(t,e,n,r){w(t,e,n,r,a.Sw.radius)}function b(t,e,n,r){w(t,e,n,r,a.sH.radius)}function A(t,e,n,r){w(t,e,n,r,a.$O.radius)}function _(t,e,n,i,o){const a=t[e],l=t[e+1],s=t[e+2]??0,u=Math.sqrt(a*a+l*l+s*s),c=(0,r.YN)(s/(0===u?1:u)),f=Math.atan2(l,a);n[i++]=I*f,n[i++]=I*c,n[i]=u-o}function R(t,e,n,r){_(t,e,n,r,a.Sw.radius)}function S(t,e,n,r){_(t,e,n,r,a.sH.radius)}function j(t,e,n,r){_(t,e,n,r,a.$O.radius)}function k(t,e,n,r){!function(t,e,n,r,i){const o=O*t[e],a=O*t[e+1],l=t[e+2]??0,s=Math.sin(a),u=Math.cos(a),c=i.radius/Math.sqrt(1-i.eccentricitySquared*s*s);n[r++]=(c+l)*u*Math.cos(o),n[r++]=(c+l)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+l)*s}(t,e,n,r,a.$O)}function B(t,e,n,r){const i=u,o=t[e],l=t[e+1],s=t[e+2]??0;let c,f,h,p,d,m,g,y,M,x,w,v,b,A,_,R,S,j,k,B,C;c=Math.abs(s),f=o*o+l*l,h=Math.sqrt(f),p=f+s*s,d=Math.sqrt(p),B=Math.atan2(l,o),m=s*s/p,g=f/p,A=i.a2/d,_=i.a3-i.a4/d,g>.3?(y=c/d*(1+g*(i.a1+A+m*_)/d),k=Math.asin(y),x=y*y,M=Math.sqrt(1-x)):(M=h/d*(1-m*(i.a5-A-g*_)/d),k=Math.acos(M),x=1-M*M,y=Math.sqrt(x)),w=1-a.$O.eccentricitySquared*x,v=a.$O.radius/Math.sqrt(w),b=i.a6*v,A=h-v*M,_=c-b*y,S=M*A+y*_,R=M*_-y*A,j=R/(b/w+S),k+=j,C=S+R*j/2,s<0&&(k=-k),n[r++]=I*B,n[r++]=I*k,n[r]=C}const C={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:m},O=(0,r.kU)(1),I=(0,r.KJ)(1),T=.5*Math.PI,N=a.$O.radius,z=N*Math.PI/180,P=180/(N*Math.PI)},38419:(t,e,n)=>{n.r(e),n.d(e,{default:()=>l});var r=n(44208),i=n(75503),o=n(95696),a=n(72258);class l{async createIndex(t,e){const n=new Array;if(!t.vertexAttributes?.position)return new i.wq;const r=function(t){const{vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:i}=t,l=(0,a.UR)({vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:i},o.A.absolute,{allowBufferReuse:!0})?.position;return l?!t.components||t.components.some(t=>!t.faces)?{position:l.buffer}:{position:l.buffer,components:t.components.map(t=>t.faces)}:null}(t),l=null!=e?await e.invoke("createIndexThread",r,{transferList:n}):this.createIndexThread(r).result;return s().fromJSON(l)}createIndexThread(t){const e=s();if(!t)return{result:e.toJSON()};const n=new Float64Array(t.position);return t.components?function(t,e,n){let r=0;for(const t of n)r+=t.length/3;const i=new Array(r);let o=0;for(const t of n)for(let n=0;n<t.length;n+=3)i[o++]=u(e,3*t[n],3*t[n+1],3*t[n+2]);return t.load(i),{result:t.toJSON()}}(e,n,t.components.map(t=>new Uint32Array(t))):function(t,e){const n=new Array(e.length/9);let r=0;for(let t=0;t<e.length;t+=9)n[r++]=u(e,t,t+3,t+6);return t.load(n),{result:t.toJSON()}}(e,n)}}function s(){return new i.wq(9,(0,r.A)("esri-csp-restrictions")?t=>t:[".minX",".minY",".maxX",".maxY"])}function u(t,e,n,r){return{minX:Math.min(t[e],t[n],t[r]),maxX:Math.max(t[e],t[n],t[r]),minY:Math.min(t[e+1],t[n+1],t[r+1]),maxY:Math.max(t[e+1],t[n+1],t[r+1]),p0:[t[e],t[e+1],t[e+2]],p1:[t[n],t[n+1],t[n+2]],p2:[t[r],t[r+1],t[r+2]]}}},38954:(t,e,n)=>{n.d(e,{A:()=>p,B:()=>c,C:()=>f,D:()=>M,E:()=>N,F:()=>w,G:()=>T,H:()=>q,a:()=>z,b:()=>o,c:()=>y,d:()=>a,e:()=>u,f:()=>R,g:()=>_,h:()=>l,i:()=>s,j:()=>g,l:()=>S,m:()=>I,n:()=>A,o:()=>b,p:()=>j,q:()=>v,r:()=>B,s:()=>x,t:()=>k,u:()=>E,v:()=>h,w:()=>Y,x:()=>Z,y:()=>m,z:()=>d});var r=n(51850),i=n(34304);function o(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function l(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function s(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function h(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function p(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function d(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function m(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function g(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return Math.sqrt(n*n+r*r+i*i)}function x(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}function w(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function v(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function b(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function A(t,e){const n=e[0],r=e[1],i=e[2];let o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o),t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function R(t,e,n){const r=e[0],i=e[1],o=e[2],a=n[0],l=n[1],s=n[2];return t[0]=i*s-o*l,t[1]=o*a-r*s,t[2]=r*l-i*a,t}function S(t,e,n,r){const i=e[0],o=e[1],a=e[2];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t[2]=a+r*(n[2]-a),t}function j(t,e,n){const r=e[0],i=e[1],o=e[2];return t[0]=n[0]*r+n[4]*i+n[8]*o+n[12],t[1]=n[1]*r+n[5]*i+n[9]*o+n[13],t[2]=n[2]*r+n[6]*i+n[10]*o+n[14],t}function k(t,e,n){const r=e[0],i=e[1],o=e[2];return t[0]=r*n[0]+i*n[3]+o*n[6],t[1]=r*n[1]+i*n[4]+o*n[7],t[2]=r*n[2]+i*n[5]+o*n[8],t}function B(t,e,n){const r=n[0],i=n[1],o=n[2],a=n[3],l=e[0],s=e[1],u=e[2],c=i*u-o*s,f=o*l-r*u,h=r*s-i*l,p=i*h-o*f,d=o*c-r*h,m=r*f-i*c,g=2*a;return t[0]=l+c*g+2*p,t[1]=s+f*g+2*d,t[2]=u+h*g+2*m,t}const C=(0,r.vt)(),O=(0,r.vt)();function I(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function T(t,e){if(t===e)return!0;const n=t[0],r=t[1],o=t[2],a=e[0],l=e[1],s=e[2],u=(0,i.FD)();return Math.abs(n-a)<=u*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-l)<=u*Math.max(1,Math.abs(r),Math.abs(l))&&Math.abs(o-s)<=u*Math.max(1,Math.abs(o),Math.abs(s))}function N(t,e,n){const r=n[0]-e[0],i=n[1]-e[1],o=n[2]-e[2];let a=r*r+i*i+o*o;return a>0?(a=1/Math.sqrt(a),t[0]=r*a,t[1]=i*a,t[2]=o*a,t):(t[0]=0,t[1]=0,t[2]=0,t)}const z=u,P=c,X=f,q=M,Y=x,E=o,Z=w;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:s,angle:function(t,e){A(C,t),A(O,e);const n=_(C,O);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,i,o){const a=1-o,l=a*a,s=o*o,u=l*a,c=3*o*l,f=3*s*a,h=s*o;return t[0]=e[0]*u+n[0]*c+r[0]*f+i[0]*h,t[1]=e[1]*u+n[1]*c+r[1]*f+i[1]*h,t[2]=e[2]*u+n[2]*c+r[2]*f+i[2]*h,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:a,cross:R,crossAndNormalize:function(t,e,n){const r=e[0],i=e[1],o=e[2],a=n[0],l=n[1],s=n[2],u=i*s-o*l,c=o*a-r*s,f=r*l-i*a,h=Math.sqrt(u*u+c*c+f*f);return t[0]=u/h,t[1]=c/h,t[2]=f/h,t},direction:N,dist:q,distance:M,div:X,divide:f,dot:_,equals:T,exactEquals:I,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,i,o){const a=o*o,l=a*(2*o-3)+1,s=a*(o-2)+o,u=a*(o-1),c=a*(3-2*o);return t[0]=e[0]*l+n[0]*s+r[0]*u+i[0]*c,t[1]=e[1]*l+n[1]*s+r[1]*u+i[1]*c,t[2]=e[2]*l+n[2]*s+r[2]*u+i[2]*c,t},inverse:b,len:E,length:o,lerp:S,max:m,min:d,mul:P,multiply:c,negate:v,normalize:A,random:function(t,e=1){const n=i.Ov,r=2*n()*Math.PI,o=2*n()-1,a=Math.sqrt(1-o*o)*e;return t[0]=Math.cos(r)*a,t[1]=Math.sin(r)*a,t[2]=o*e,t},rotateX:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateY:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateZ:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:g,scaleAndAdd:y,set:l,sign:p,sqrDist:Y,sqrLen:Z,squaredDistance:x,squaredLength:w,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:z,subtract:u,transformMat3:k,transformMat4:j,transformQuat:B},Symbol.toStringTag,{value:"Module"}))},40876:(t,e,n)=>{n.d(e,{Eq:()=>p,G1:()=>m,TS:()=>o,Tf:()=>M,V6:()=>i,Vm:()=>d,ay:()=>s,c1:()=>g,c4:()=>a,j5:()=>u,lT:()=>f,oW:()=>c,xV:()=>w});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(t){return!!r[t]||!!r[t.toLowerCase()]}function o(t){return r[t]??r[t.toLowerCase()]}function a(t){return[...o(t)]}function l(t,e,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?t+(e-t)*r:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function s(t,e,n,r=1){const i=(t%360+360)%360/360,o=n<=.5?n*(e+1):n+e-n*e,a=2*n-o;return[Math.round(255*l(a,o,i+1/3)),Math.round(255*l(a,o,i)),Math.round(255*l(a,o,i-1/3)),r]}function u(t){const e=t.length>5,n=e?8:4,r=(1<<n)-1,i=e?1:17,o=e?9===t.length:5===t.length;let a=Number("0x"+t.slice(1));if(isNaN(a))return null;const l=[0,0,0,1];let s;return o&&(s=a&r,a>>=n,l[3]=i*s/255),s=a&r,a>>=n,l[2]=i*s,s=a&r,a>>=n,l[1]=i*s,s=a&r,a>>=n,l[0]=i*s,l}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),n=parseInt(t.slice(2,3),16),r=parseInt(t.slice(3,4),16),i=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,n+16*n,r+16*r,(i+16*i)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function f(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),n=e[1];if("rgb"===n&&3===t.length||"rgba"===n&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),h(e)}return h(t.map(t=>parseFloat(t)))}if("hsl"===n&&3===t.length||"hsla"===n&&4===t.length)return s(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function h(t){return t[0]=g(t[0]),t[1]=g(t[1]),t[2]=g(t[2]),t[3]=4===t.length?m(t[3]):1,t}function p(t){let e=i(t)?o(t):null;return e??=f(t),e??=c(t),e}function d(t){const e=p(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function m(t){return y(t,0,1)}function g(t){return Math.round(y(t,0,255))}function y(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t}const M=2.2,x=1/M;function w(t){return t**x}},48163:(t,e,n)=>{function r(){return[0,0]}function i(t){return[t[0],t[1]]}function o(t,e){return[t,e]}function a(){return o(1,1)}function l(){return o(1,0)}function s(){return o(0,1)}n.d(e,{Un:()=>u,fA:()=>o,o8:()=>i,vt:()=>r});const u=a(),c=l(),f=s();Object.freeze(Object.defineProperty({__proto__:null,ONES:u,UNIT_X:c,UNIT_Y:f,ZEROS:[0,0],clone:i,create:r,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const n=Math.min(2,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:o,ones:a,unitX:l,unitY:s,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},48353:(t,e,n)=>{n.d(e,{l:()=>u});var r=n(34727),i=n(58083),o=n(51850);function a(t,e,n){const r=Math.sin(t),i=Math.cos(t),o=Math.sin(e),a=Math.cos(e),l=n;return l[0]=-r,l[4]=-o*i,l[8]=a*i,l[12]=0,l[1]=i,l[5]=-o*r,l[9]=a*r,l[13]=0,l[2]=0,l[6]=a,l[10]=o,l[14]=0,l[3]=0,l[7]=0,l[11]=0,l[15]=1,l}var l=n(37539),s=n(21325);function u(t,e,n,r){const o=(0,l.Tp)(t,r);if(null==o)return!1;const u=o.source.spatialReferenceId,d=o.dest.spatialReferenceId;if(u===d&&!c(d)&&(0!==u||(0,s.aI)(t,r)))return(0,i.kN)(n,e),!0;if(c(d)){const t=l.w5[u][10],r=l.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),a(f*h[0],f*h[1],n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}const m=c(u);if((3===d||11===d||2===d||5===d)&&(2===u||m||3===u||5===u)){const t=l.w5[u][10],r=l.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),m?function(t,e,n){a(t,e,n),(0,i.mg)(n,n)}(f*h[0],f*h[1],n):(0,i.D_)(n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}return!1}function c(t){return 1===t||6===t||8===t||4===t}const f=(0,r.kU)(1),h=(0,o.vt)(),p=(0,o.vt)()},51850:(t,e,n)=>{function r(){return[0,0,0]}function i(t){return[t[0],t[1],t[2]]}function o(t,e,n){return[t,e,n]}function a(t,e,n){return[t,e,n]}function l(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function s(){return o(1,1,1)}function u(){return o(1,0,0)}function c(){return o(0,1,0)}function f(){return o(0,0,1)}n.d(e,{CN:()=>a,Cb:()=>g,Cw:()=>d,JP:()=>m,Un:()=>p,ci:()=>l,fA:()=>o,o8:()=>i,uY:()=>h,vt:()=>r});const h=[0,0,0],p=s(),d=u(),m=c(),g=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:d,UNIT_Y:m,UNIT_Z:g,ZEROS:h,clone:i,create:r,freeze:a,fromArray:l,fromValues:o,ones:s,unitX:u,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},65806:(t,e,n)=>{n.d(e,{g:()=>a});var r=n(51850),i=n(91218),o=n(9762);function a(t,e,n){if((0,i.canProjectWithoutEngine)(t.spatialReference,n))return l[0]=t.x,l[1]=t.y,l[2]=t.z??0,(0,o.projectBuffer)(l,t.spatialReference,0,e,n,0);const r=(0,i.tryProject)(t,n);return!!r&&(e[0]=r.x,e[1]=r.y,e[2]=r.z??0,!0)}const l=(0,r.vt)()},69540:(t,e,n)=>{n.d(e,{OU:()=>c,Pw:()=>f});var r=n(31635),i=n(69622),o=(n(44208),n(4718)),a=(n(53966),n(97768)),l=n(88620),s=n(64108);const u=Symbol("ClonableMixin"),c=t=>{var e;const n=t;let i=class extends n{constructor(){super(...arguments),this[e]=!0}static{e=u}clone(t){const e=(0,l.oY)(this);(0,a.Lw)(e,"unable to clone instance of non-accessor class");const n=e.metadata,r=e.store,i={},s=new Map;for(const e in n){const a=n[e],l=r?.originOf(e),u=a.clonable;if(a.readOnly||!1===u||7!==l&&0!==l&&5!==l&&4!==l)continue;const c=this[e];let f=null;if("function"==typeof u)f=u(c,t);else if("reference"===u)f=c;else if(f=(0,o.TU)(c,t),null!=c&&null==f)continue;0===l?s.set(e,f):i[e]=f}const u=new(0,Object.getPrototypeOf(this).constructor)(i);if(s.size){const t=(0,l.oY)(u)?.store;if(t)for(const[e,n]of s)t.set(e,n,0)}return u}};return i=(0,r.Cg)([(0,s.$)("esri.core.Clonable")],i),i},f=c(i.A)},72258:(t,e,n)=>{n.d(e,{UR:()=>v,p5:()=>w,xK:()=>j});var r=n(53966),i=n(34727),o=n(86211),a=n(77690),l=n(29242),s=n(58083),u=n(9093),c=n(38954),f=n(51850),h=n(98764),p=n(48353),d=n(65806),m=n(27615),g=n(21325),y=n(73354),M=n(22141);const x=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function w(t,e,{vertexSpace:n,spatialReference:r}){if("georeferenced"===n.type){const i=t;if(!(0,d.g)(e,i,r))return!1;const{origin:o}=n;return(0,c.e)(t,i,o),!0}const i=(0,h.lO)(r),o=t;if(!(0,d.g)(e,o,i))return!1;const{origin:a}=n,l=I;if(!(0,p.l)(r,a,l,i))return!1;const u=(0,s.B8)(I,l);return null!=u&&((0,c.p)(t,o,u),!0)}function v(t,e,n){const{vertexSpace:r,transform:i,vertexAttributes:o}=t,l=(0,m.Hq)(r)?i:null,f=R(t.spatialReference,n,3);if((0,m.yJ)(r,e)&&(!l||(0,s.t2)(l.localMatrix,u.zK))&&S(f)){const{position:t,normal:e,tangent:r}=o,i=n?.allowBufferReuse;return{position:i?t:t.slice(),normal:i?e:e?.slice(),tangent:i?r:r?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},i,o){const a=b(e,o);if(!(0,p.l)(e,r,k,a))return(0,M.CN)(x(),e,a),null;if(n&&(0,s.lw)(k,k,n.localMatrix),!(0,p.l)(e,i,B,a))return(0,M.CN)(x(),a,e),null;(0,s.B8)(B,B);const l=(0,s.lw)(k,B,k);return _(l,e,o,3),A(t,l)}(t,t.vertexSpace,e.origin,n):function({spatialReference:t,vertexAttributes:e,transform:n},{origin:r},i,o){const a=b(t,o);if(!(0,p.l)(t,r,k,a))return(0,M.CN)(x(),t,a),null;n&&(0,s.lw)(k,k,n.localMatrix),_(k,t,o,1);const l=new Float64Array(e.position.length),u=function(t,e,n,r,i){(0,y.t)(r,t,e);const o=new Float64Array(t.length);return(0,M.$5)(r,i,o,n)?o:((0,M.CN)(x(),i,n),null)}(e.position,k,t,l,a);if(!u)return null;const f=function(t,e,n,r,i,o){if(null==i)return null;const a=new Float32Array(i.length);return(0,M.qs)(i,a,o),(0,M.si)(a,t,e,n,r,a)?a:((0,M.CN)(x(),r,e),null)}(u,t,l,a,e.normal,k);if(e.normal&&!f)return null;const h=function(t,e,n,r,i,o){if(null==i)return null;const a=new Float32Array(i.length);return(0,M.KM)(i,a,o),(0,M.Mv)(a,t,e,n,r,a)?a:((0,M.CN)(x(),r,e),null)}(u,t,l,a,e.tangent,k);if(e.tangent&&!h)return null;if(i){const t=(0,c.q)(O,i);(0,y.a)(u,u,t)}return{position:u,normal:f,tangent:h}}(t,t.vertexSpace,e.origin,n);case"georeferenced":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},i,o){const l=b(e,o);if(!(0,p.l)(e,i,k,l))return(0,M.CN)(x(),e,l),null;const u=1/R(e,o,2);(0,s.hs)(k,k,[u,u,u]);const c=(0,s.B8)(B,k),{position:f,normal:h,tangent:d}=function(t,e,n){if(!e)return t;if(!n){const{position:n,normal:r,tangent:i}=t;return{position:(0,y.a)(new Float64Array(n.length),n,e),tangent:i,normal:r}}const r=A(t,n.localMatrix);return(0,y.a)(r.position,r.position,e),r}(t,r,n),m=new Float64Array(f.length),g=function(t,e,n,r,i){const o=(0,M.gr)(t,e,r,i);if(!o)return(0,M.CN)(x(),e,i),null;const a=new Float64Array(o.length);return(0,y.t)(a,o,n),a}(f,e,c,m,l);if(!g)return null;const w=(0,a.Ge)(C,c),v=function(t,e,n,r,i,o,a){if(null==t)return null;const l=a??new Float32Array(t.length);return(0,M.X4)(t,e,n,r,i,l)?((0,y.b)(l,l,o),l):((0,M.CN)(x(),n,i),null)}(h,f,e,m,l,w,h!==t.normal?h:void 0);if(!v&&h)return null;const _=function(t,e,n,r,i,o,a){if(null==t)return null;const l=a??new Float32Array(t.length);return(0,M.xA)(t,e,n,r,i,l)?((0,y.b)(l,l,o,4),l):((0,M.CN)(x(),n,i),null)}(d,f,e,m,l,w,d!==t.tangent?d:void 0);return!_&&d?null:{position:g,normal:v,tangent:_}}(t,t.vertexSpace,e.origin,n):function({vertexAttributes:t,transform:e,spatialReference:n},{origin:r},i,o){const a=R(n,o,3),l=r||!S(a)?(0,s.C)(k,e?.localMatrix??u.zK):null;l&&_(l,n,o,3);const{position:f,normal:h,tangent:p}=l?A(t,l):t,d=o?.allowBufferReuse,m=d?f:new Float64Array(f.length);let g=f;if(r&&(g=(0,y.a)(m,g,r)),i){const t=(0,c.q)(O,i);g=(0,y.a)(m,g,t)}return{position:g!==t.position||d?g:g.slice(),normal:h!==t.normal||d?h:h?.slice(),tangent:p!==t.tangent||d?p:p?.slice()}}(t,t.vertexSpace,e.origin,n)}}function b(t,e){return e?.useEllipsoid&&(0,g.B3)(t)?h.Y0:(0,h.lO)(t)}function A(t,e){const n=new Float64Array(t.position.length);(0,y.t)(n,t.position,e);const r=t.normal?new Float32Array(t.normal.length):null,i=t.tangent?new Float32Array(t.tangent.length):null;return r&&t.normal&&(0,M.qs)(t.normal,r,e),i&&t.tangent&&(0,M.KM)(t.tangent,i,e),{position:n,normal:r,tangent:i}}function _(t,e,n,r){const i=R(e,n,r);S(i)||(0,s.hs)(t,t,[i,i,i])}function R(t,e,n){const r=!!(1&n),i=!!(2&n),o=e?.sourceUnit,a=e?.targetUnit;if(!o&&!a)return 1;let l=j(o,t);r||!o||S(l)||(x().warn("source unit conversion not supported"),l=1);let s=1/j(a,t);return i||!a||S(s)||(x().warn("target unit conversion not supported"),s=1),l*s}function S(t){return(0,i.Io)(t,1)}function j(t,e){if(null==t)return 1;const n=(0,o.KX)(e);return 1/(0,o.oU)(n,"meters",t)}const k=(0,u.vt)(),B=(0,u.vt)(),C=(0,l.vt)(),O=(0,f.vt)(),I=(0,u.vt)()},73354:(t,e,n)=>{n.d(e,{a:()=>f,b:()=>l,c:()=>a,d:()=>i,e:()=>h,f:()=>c,l:()=>u,n:()=>p,t:()=>o});var r=n(40876);function i(t,e,n){o(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function o(t,e,n,r=3,i=r){if(t.length/r!==Math.ceil(e.length/i))return t;const o=t.length/r,a=n[0],l=n[1],s=n[2],u=n[4],c=n[5],f=n[6],h=n[8],p=n[9],d=n[10],m=n[12],g=n[13],y=n[14];let M=0,x=0;for(let n=0;n<o;n++){const n=e[M],o=e[M+1],w=e[M+2];t[x]=a*n+u*o+h*w+m,t[x+1]=l*n+c*o+p*w+g,t[x+2]=s*n+f*o+d*w+y,M+=i,x+=r}return t}function a(t,e,n){l(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function l(t,e,n,r=3,i=r){if(t.length/r!==Math.ceil(e.length/i))return;const o=t.length/r,a=n[0],l=n[1],s=n[2],u=n[3],c=n[4],f=n[5],h=n[6],p=n[7],d=n[8];let m=0,g=0;for(let n=0;n<o;n++){const n=e[m],o=e[m+1],y=e[m+2];t[g]=a*n+u*o+h*y,t[g+1]=l*n+c*o+p*y,t[g+2]=s*n+f*o+d*y,m+=i,g+=r}}function s(t,e,n,r=3,i=r){const o=Math.min(t.length/r,e.length/i);let a=0,l=0;for(let s=0;s<o;s++)t[l]=n*e[a],t[l+1]=n*e[a+1],t[l+2]=n*e[a+2],a+=i,l+=r;return t}function u(t,e,n,r){c(t.typedBuffer,e.typedBuffer,n,r,t.typedBufferStride,e.typedBufferStride)}function c(t,e,n,i,o=3,a=o){const l=Math.min(t.length/o,e.length/a);let s=0,u=0;const c=1/r.Tf;for(let r=0;r<l;r++)t[u]=i*(n*e[s])**c,t[u+1]=i*(n*e[s+1])**c,t[u+2]=i*(n*e[s+2])**c,s+=a,u+=o}function f(t,e,n,r=3,i=r){const o=t.length/r;if(o!==Math.ceil(e.length/i))return t;let a=0,l=0;for(let s=0;s<o;s++)t[l]=e[a]+n[0],t[l+1]=e[a+1]+n[1],t[l+2]=e[a+2]+n[2],a+=i,l+=r;return t}function h(t,e){p(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function p(t,e,n=3,r=n){const i=Math.min(t.length/n,e.length/r);let o=0,a=0;for(let l=0;l<i;l++){const i=e[o],l=e[o+1],s=e[o+2],u=i*i+l*l+s*s;if(u>0){const e=1/Math.sqrt(u);t[a]=e*i,t[a+1]=e*l,t[a+2]=e*s}o+=r,a+=n}}n(44208),n(53966),Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:u,normalize:p,normalizeView:h,scale:s,scaleView:function(t,e,n){s(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const r=Math.min(t.count,e.count),i=t.typedBuffer,o=t.typedBufferStride,a=e.typedBuffer,l=e.typedBufferStride;let s=0,u=0;for(let t=0;t<r;t++)i[u]=a[s]>>n,i[u+1]=a[s+1]>>n,i[u+2]=a[s+2]>>n,s+=l,u+=o},transformMat3:l,transformMat3View:a,transformMat4:o,transformMat4View:i,translate:f},Symbol.toStringTag,{value:"Module"}))},75503:(t,e,n)=>{n.d(e,{EC:()=>R,wq:()=>l});var r=n(4576),i=n(21818),o=(n(44208),n(15142)),a=n(11006);class l{constructor(t=9,e){this._compareMinX=h,this._compareMinY=p,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),v.prune(),b.prune(),A.prune(),_.prune()}all(t){s(this._data,t)}search(t,e){let n=this._data;const r=this._toBBox;if(x(t,n))for(v.clear();n;){for(let i=0,o=n.children.length;i<o;i++){const o=n.children[i],a=n.leaf?r(o):o;x(t,a)&&(n.leaf?e(o):M(t,a)?s(o,e):v.push(o))}n=v.pop()}}collides(t){let e=this._data;const n=this._toBBox;if(!x(t,e))return!1;for(v.clear();e;){for(let r=0,i=e.children.length;r<i;r++){const i=e.children[r],o=e.leaf?n(i):i;if(x(t,o)){if(e.leaf||M(t,o))return!0;v.push(i)}}e=v.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){const t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new j([]),this}remove(t){if(!t)return this;let e,n=this._data,o=null,a=0,l=!1;const s=this._toBBox(t);for(A.clear(),_.clear();n||A.length>0;){if(n||(n=A.pop(),o=A.data[A.length-1],a=_.pop()??0,l=!0),n.leaf&&(e=(0,r.qh)(n.children,(0,i.zI)(t),n.children.length,n.indexHint),-1!==e))return n.children.splice(e,1),A.push(n),this._condense(A),this;l||n.leaf||!M(n,s)?o?(a++,n=o.children[a],l=!1):n=null:(A.push(n),_.push(a),a=0,o=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,e,n,r){const i=n-e+1;let o=this._maxEntries;if(i<=o){const r=new j(t.slice(e,n+1));return u(r,this._toBBox),r}r||(r=Math.ceil(Math.log(i)/Math.log(o)),o=Math.ceil(i/o**(r-1)));const a=new k([]);a.height=r;const l=Math.ceil(i/o),s=l*Math.ceil(Math.sqrt(o));w(t,e,n,s,this._compareMinX);for(let i=e;i<=n;i+=s){const e=Math.min(i+s-1,n);w(t,i,e,l,this._compareMinY);for(let n=i;n<=e;n+=l){const i=Math.min(n+l-1,e);a.children.push(this._build(t,n,i,r-1))}}return u(a,this._toBBox),a}_insert(t,e,n){const r=this._toBBox,i=n?t:r(t);A.clear();const o=function(t,e,n,r){for(;r.push(e),!0!==e.leaf&&r.length-1!==n;){let n,r=1/0,i=1/0;for(let o=0,a=e.children.length;o<a;o++){const a=e.children[o],l=d(a),s=g(t,a)-l;s<i?(i=s,r=l<r?l:r,n=a):s===i&&l<r&&(r=l,n=a)}e=n||e.children[0]}return e}(i,this._data,e,A);for(o.children.push(t),f(o,i);e>=0&&A.data[e].children.length>this._maxEntries;)this._split(A,e),e--;!function(t,e,n){for(let r=n;r>=0;r--)f(e.data[r],t)}(i,A,e)}_split(t,e){const n=t.data[e],r=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,r);const o=this._chooseSplitIndex(n,i,r);if(!o)return;const a=n.children.splice(o,n.children.length-o),l=n.leaf?new j(a):new k(a);l.height=n.height,u(n,this._toBBox),u(l,this._toBBox),e?t.data[e-1].children.push(l):this._splitRoot(n,l)}_splitRoot(t,e){this._data=new k([t,e]),this._data.height=t.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(t,e,n){let r,i,o;r=i=1/0;for(let a=e;a<=n-e;a++){const e=c(t,0,a,this._toBBox),l=c(t,a,n,this._toBBox),s=y(e,l),u=d(e)+d(l);s<r?(r=s,o=a,i=u<i?u:i):s===r&&u<i&&(i=u,o=a)}return o}_chooseSplitAxis(t,e,n){const r=t.leaf?this._compareMinX:h,i=t.leaf?this._compareMinY:p;this._allDistMargin(t,e,n,r)<this._allDistMargin(t,e,n,i)&&t.children.sort(r)}_allDistMargin(t,e,n,r){t.children.sort(r);const i=this._toBBox,o=c(t,0,e,i),a=c(t,n-e,n,i);let l=m(o)+m(a);for(let r=e;r<n-e;r++){const e=t.children[r];f(o,t.leaf?i(e):e),l+=m(o)}for(let r=n-e-1;r>=e;r--){const e=t.children[r];f(a,t.leaf?i(e):e),l+=m(a)}return l}_condense(t){for(let e=t.length-1;e>=0;e--){const n=t.data[e];if(0===n.children.length)if(e>0){const i=t.data[e-1],o=i.children;o.splice((0,r.qh)(o,n,o.length,i.indexHint),1)}else this.clear();else u(n,this._toBBox)}}_initFormat(t){const e=["return a"," - b",";"];this._compareMinX=new Function("a","b",e.join(t[0])),this._compareMinY=new Function("a","b",e.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function s(t,e){let n=t;for(b.clear();n;){if(!0===n.leaf)for(const t of n.children)e((0,i.zI)(t));else b.pushArray(n.children);n=b.pop()??null}}function u(t,e){c(t,0,t.children.length,e,t)}function c(t,e,n,r,i){i||(i=new j([])),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(let o,a=e;a<n;a++)o=t.children[a],f(i,t.leaf?r(o):o);return i}function f(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function h(t,e){return t.minX-e.minX}function p(t,e){return t.minY-e.minY}function d(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function m(t){return t.maxX-t.minX+(t.maxY-t.minY)}function g(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function y(t,e){const n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),o=Math.min(t.maxY,e.maxY);return Math.max(0,i-n)*Math.max(0,o-r)}function M(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function x(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function w(t,e,n,r,i){const o=[e,n];for(;o.length;){const e=o.pop(),n=o.pop();if(e-n<=r)continue;const l=n+Math.ceil((e-n)/r/2)*r;(0,a.q)(t,l,n,e,i),o.push(n,l,l,e)}}const v=new o.A,b=new o.A,A=new o.A,_=new o.A({deallocator:void 0});class R{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class S extends R{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class j extends S{constructor(t){super(),this.children=t,this.leaf=!0}}class k extends S{constructor(t){super(),this.children=t,this.leaf=!1}}},86738:(t,e,n)=>{n.d(e,{A:()=>x});var r=n(31635),i=n(69622),o=n(53966),a=n(91429),l=n(56507),s=n(91075),u=n(16930),c=n(21325),f=n(28735);function h({x:t,y:e,spatialReference:n},r=[0,0]){if(n){if((0,c.K8)(n))return(0,f.tD)(t,e,r);if((0,c.EA)(n))return r[0]=t,r[1]=e,r}return null}const p=[0,0];var d,m=n(43937),g=n(36005);const y=[0,0];function M(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}let x=d=class extends s.A{static copy(t,e){e._set("x",t._get("x")),e._set("y",t._get("y")),e._set("z",t._get("z")),e._set("m",t._get("m"));const n=t._get("spatialReference");e._set("spatialReference",i.A.isFrozen(n)?n:n.clone())}constructor(...t){super(...t),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(t,e,n,r,i){let a;if(Array.isArray(t))a=t,i=e,t=a[0],e=a[1],n=a[2],r=a[3];else if(t&&"object"==typeof t){if(a=t,t=null!=a.x?a.x:a.longitude,e=null!=a.y?a.y:a.latitude,n=a.z,r=a.m,(i=a.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new u.A(i)),null!=a.longitude||null!=a.latitude)if(null==a.longitude)o.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==a.latitude)o.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!a.declaredClass&&i?.isWebMercator){const n=(0,f.je)(a.longitude,a.latitude,y);t=n[0],e=n[1]}}else M(n)?(i=n,n=null):M(r)&&(i=r,r=null);const l={x:t,y:e};return null==l.x&&null!=l.y?o.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==l.y&&null!=l.x&&o.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(l.spatialReference=i),null!=n&&(l.z=n),null!=r&&(l.m=r),l}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(t){t!==(void 0!==this._get("m"))&&(this._set("m",t?0:void 0),this._set("hasM",t))}get hasZ(){return void 0!==this.z}set hasZ(t){t!==(void 0!==this._get("z"))&&(this._set("z",t?0:void 0),this._set("hasZ",t))}get latitude(){return h(this,p)?.[1]??null}set latitude(t){const{spatialReference:e,x:n}=this;null!=t&&e&&(e.isWebMercator?this._set("y",(0,f.je)(n,t,y)[1]):e.isGeographic&&this._set("y",t),this._set("latitude",t))}get longitude(){return h(this,p)?.[0]??null}set longitude(t){const{y:e,spatialReference:n}=this;null!=t&&n&&(n.isWebMercator?this._set("x",(0,f.je)(t,e,y)[0]):n.isGeographic&&this._set("x",t),this._set("longitude",t))}writeX(t,e,n){e[n]=isNaN(t)?"NaN":t}readX(t){return"string"==typeof t?NaN:t}clone(){const t=new d;return t.x=this.x,t.y=this.y,t.z=this.z,t.m=this.m,t.spatialReference=this.spatialReference,t}copy(t){return d.copy(t,this),this}equals(t){if(null==t)return!1;const{x:e,y:n,z:r,m:i,spatialReference:o}=this,{z:a,m:l}=t;let{x:s,y:u,spatialReference:c}=t;if(!o.equals(c))if(o.isWebMercator&&c.isWGS84)[s,u]=(0,f.je)(s,u),c=o;else{if(!o.isWGS84||!c.isWebMercator)return!1;[s,u]=(0,f.tD)(s,u),c=o}return e===s&&n===u&&r===a&&i===l&&o.wkid===c.wkid}offset(t,e,n){return this.x+=t,this.y+=e,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const t=(0,c.Vp)(this.spatialReference);if(!t)return this;let e=this.x;const[n,r]=t.valid,i=2*r;let o;return e>r?(o=Math.ceil(Math.abs(e-r)/i),e-=o*i):e<n&&(o=Math.ceil(Math.abs(e-n)/i),e+=o*i),this._set("x",e),this}distance(t){return function(t,e){const n=t.x-e.x,r=t.y-e.y,i=null!=t.z&&null!=e.z?t.z-e.z:0;return Math.sqrt(n*n+r*r+i*i)}(this,t)}toArray(){const t=this.hasZ,e=this.hasM;return t&&e?[this.x,this.y,this.z,this.m]:t?[this.x,this.y,this.z]:e?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(t){return this.write({},t)}};(0,r.Cg)([(0,a.MZ)({readOnly:!0})],x.prototype,"cache",null),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasM",null),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasZ",null),(0,r.Cg)([(0,a.MZ)({type:Number})],x.prototype,"latitude",null),(0,r.Cg)([(0,a.MZ)({type:Number})],x.prototype,"longitude",null),(0,r.Cg)([(0,a.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,a.wg)(t=>isNaN(t)?t:(0,l.GB)(t))],x.prototype,"x",void 0),(0,r.Cg)([(0,m.K)("x")],x.prototype,"writeX",null),(0,r.Cg)([(0,g.w)("x")],x.prototype,"readX",null),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"y",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],x.prototype,"z",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],x.prototype,"m",void 0),x=d=(0,r.Cg)([(0,a.$K)("esri.geometry.Point")],x),x.prototype.toJSON.isDefaultToJSON=!0},91075:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(31635),i=n(25482),o=n(91429),a=n(16930),l=n(36005);let s=class extends i.o{constructor(...t){super(...t),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=a.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(t,e){if(t instanceof a.A)return t;if(null!=t){const n=new a.A;return n.read(t,e),n}return t}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(t){return this.cache[t]}setCacheValue(t,e){this.cache[t]=e}};(0,r.Cg)([(0,o.MZ)()],s.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],s.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],s.prototype,"extent",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],s.prototype,"hasM",void 0),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],s.prototype,"hasZ",void 0),(0,r.Cg)([(0,o.MZ)({type:a.A,json:{write:!0},value:a.A.WGS84})],s.prototype,"spatialReference",void 0),(0,r.Cg)([(0,l.w)("spatialReference")],s.prototype,"readSpatialReference",null),s=(0,r.Cg)([(0,o.$K)("esri.geometry.Geometry")],s)},91218:(t,e,n)=>{n.r(e),n.d(e,{canProjectWithoutEngine:()=>L,initializeProjection:()=>G,isEqualBaseGCS:()=>$,isLoaded:()=>B,isLoadedOrLoad:()=>C,isLoadedOrLoadFor:()=>O,load:()=>T,project:()=>N,projectAsync:()=>F,projectExtent:()=>et,projectMany:()=>z,projectMultipoint:()=>D,projectOrLoad:()=>X,projectOrLoadMany:()=>q,projectPoint:()=>U,projectPolygon:()=>Q,projectPolyline:()=>J,projectWithoutEngine:()=>W,requiresLoad:()=>I,test:()=>Z,tryProject:()=>P,unload:()=>E});var r=n(49186),i=n(74887),o=n(62788),a=n(95488),l=n(51850),s=n(21276),u=n(73941),c=n(5443),f=n(91075),h=n(48526),p=n(86738),d=n(39829),m=n(82799),g=n(16930),y=n(159),M=n(9762),x=n(37539);function w(t,e,n,r,i,o){return v[0]=t,v[1]=e,v[2]=n,(0,M.projectBuffer)(v,r,0,i,o,0)}const v=(0,l.vt)();var b=n(21325);let A=null,_=null,R=null,S=null,j={};const k=new a.I;function B(){return!!(_?.isLoaded()&&R?.isLoaded()&&S?.isLoaded())}function C(){return!!B()||((0,o.gc)(k),T(),!1)}function O(t,e){return!t||!e||L(t,e)||C()}function I(t,e){return!L(t,e)&&!B()}async function T(t){null==A&&(A=Promise.all([n.e(3276).then(n.bind(n,83276)).then(t=>(_=t,_.load())),n.e(8377).then(n.bind(n,8377)).then(t=>(R=t,R.load())),n.e(2158).then(n.bind(n,12158)).then(t=>(S=t,S.load()))])),await A,(0,i.Te)(t),k.notify()}function N(t,e,n){return Array.isArray(t)?0===t.length?[]:((0,s.H)(t),z(t,t[0].spatialReference,e,n)):((0,s.f)(t),z([t],t.spatialReference,e,n)[0])}function z(t,e,n,r){if(null==e||null==n)return t;if(L(e,n,r))return t.map(t=>W(t,e,n));if(null==r?.geographicTransformation&&(0,u.jA)(e))return z(t.map(t=>W(t,e,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return z(t,e,g.A.WGS84).map(t=>W(t,g.A.WGS84,n));if(!B())throw new Y;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:S.getTransformation(e,n,r.areaOfInterestExtent)||new y.A};else if(!r?.areaOfInterestExtent){const t=function(t,e){return[t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,n);let i=j[t];i||(i=S.getTransformation(e,n)||new y.A,j[t]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return t[0].spatialReference||(t[0].spatialReference=e),t[0]instanceof f.A?_.executeMany(t,n,r):R.executeMany(t,n,r)}function P(t,e,n){try{return N(t,e,n)}catch(t){return null}}function X(t,e){const n=q([t],e);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function q(t,e,n){if(!B())for(const n of t)if(null!=n&&!(0,b.aI)(n.spatialReference,e)&&(0,b.fn)(n.spatialReference)&&(0,b.fn)(e)&&!L(n.spatialReference,e))return(0,o.gc)(k),{pending:T(),geometries:null};return{pending:null,geometries:t.map(t=>null==t?null:(0,b.aI)(t.spatialReference,e)?t:(0,b.fn)(t.spatialReference)&&(0,b.fn)(e)?N(t,e,n):null)}}class Y extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function E(){A=null,_=null,R=null,S=null,j={}}const Z={get loadPromise(){return A}};async function F(t,e,n){if((0,i.Te)(n),!t)return t;const r=q(Array.isArray(t)?t:[t],e,n);if(r.pending)return await r.pending,(0,i.Te)(n),F(t,e,n);const o=r.geometries??[];return Array.isArray(t)?o:o[0]}function L(t,e,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,b.aI)(t,e)||(0,b.fn)(t)&&(0,b.fn)(e)&&!!(0,x.jd)(t,e))}function $(t,e){if((0,b.aI)(t,e))return!0;if(!(0,b.fn)(t)||!(0,b.fn)(e))return!1;const n=(0,b.oT)(t)||(0,b.K8)(t)||(0,b.x1)(t),r=(0,b.oT)(e)||(0,b.K8)(e)||(0,b.x1)(e);return n&&r}async function G(t,e,n,r){if(B())return(0,i.NO)(r);if(Array.isArray(t)){for(const{source:e,dest:n,options:i}of t)if(e&&n&&!L(e,n,i))return T(r)}else if(t&&e&&!L(t,e,n))return T(r);return(0,i.NO)(r)}function W(t,e,n){return t?"x"in t?K(t,e,new p.A,n,0):"xmin"in t?nt(t,e,new c.A,n,0):"rings"in t?tt(t,e,new d.A,n,0):"paths"in t?H(t,e,new m.A,n,0):"points"in t?V(t,e,new h.A,n,0):null:null}function U(t,e,n=e.spatialReference,r=0){return null!=n&&null!=t.spatialReference&&null!=K(t,t.spatialReference,e,n,r)}function K(t,e,n,r,i){it[0]=t.x,it[1]=t.y;const o=t.z;return it[2]=void 0!==o?o:i,(0,M.projectBuffer)(it,e,0,it,r,0)?(n.x=it[0],n.y=it[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=it[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===t.m?(n.m=void 0,n.hasM=!1):(n.m=t.m,n.hasM=!0),n):null}function D(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=V(t,t.spatialReference,e,n,r)}function V(t,e,n,r,i){const{points:o,hasZ:a,hasM:l}=t,s=[],c=o.length,f=[];for(const t of o)f.push(t[0],t[1],a?t[2]:i);if(!(0,M.projectBuffer)(f,e,0,f,r,0,c))return null;const h=a||(0,u.xP)(r);for(let t=0;t<c;++t){const e=3*t,n=f[e],r=f[e+1];h&&l?s.push([n,r,f[e+2],o[t][3]]):h?s.push([n,r,f[e+2]]):l?s.push([n,r,o[t][2]]):s.push([n,r])}return n.points=s,n.spatialReference=r,n.hasZ=a,n.hasM=l,n}function J(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=H(t,t.spatialReference,e,n,r)}function H(t,e,n,r,i){const{paths:o,hasZ:a,hasM:l}=t,s=[];if(!rt(o,a??!1,l??!1,e,s,r,i))return null;const c=a||(0,u.xP)(r);return n.paths=s,n.spatialReference=r,n.hasZ=c,n.hasM=l,n}function Q(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=tt(t,t.spatialReference,e,n,r)}function tt(t,e,n,r,i){const{rings:o,hasZ:a,hasM:l}=t,s=[];if(!rt(o,a??!1,l??!1,e,s,r,i))return null;const c=a||(0,u.xP)(r);return n.rings=s,n.spatialReference=r,n.hasZ=c,n.hasM=l,n}function et(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=nt(t,t.spatialReference,e,n,r)}function nt(t,e,n,r,i){const{xmin:o,ymin:a,xmax:l,ymax:s,hasZ:c,hasM:f}=t;if(!w(o,a,c?t.zmin:i,e,it,r))return null;const h=c||(0,u.xP)(r);return n.xmin=it[0],n.ymin=it[1],h&&(n.zmin=it[2]),w(l,s,c?t.zmax:i,e,it,r)?(n.xmax=it[0],n.ymax=it[1],h&&(n.zmax=it[2]),f&&(n.mmin=t.mmin,n.mmax=t.mmax),n.spatialReference=r,n):null}function rt(t,e,n,r,i,o,a=0){const l=new Array;for(const n of t)for(const t of n)l.push(t[0],t[1],e?t[2]:a);if(!(0,M.projectBuffer)(l,r,0,l,o,0))return!1;let s=0;i.length=0;const c=e||(0,u.xP)(o);for(const e of t){const t=new Array;for(const r of e)c&&n?t.push([l[s++],l[s++],l[s++],r[3]]):c?t.push([l[s++],l[s++],l[s++]]):n?(t.push([l[s++],l[s++],r[2]]),s++):(t.push([l[s++],l[s++]]),s++);i.push(t)}return!0}const it=(0,l.vt)()},95488:(t,e,n)=>{n.d(e,{I:()=>i});var r=n(11406);class i extends r.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},95696:(t,e,n)=>{n.d(e,{A:()=>u});var r,i=n(31635),o=n(69540),a=n(25482),l=n(91429),s=n(93223);let u=class extends((0,o.OU)(a.o)){static{r=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,i.Cg)([(0,s.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,i.Cg)([(0,l.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},98764:(t,e,n)=>{n.d(e,{Y0:()=>u,lO:()=>c});var r=n(73941),i=n(16930),o=n(21325);const a=new i.A(r.fv),l=new i.A(r.FY),s=new i.A(r.LJ),u=new i.A(r.Ro);function c(t){const e=f.get(t);if(e)return e;let n=a;if(t)if(t===l)n=l;else if(t===s)n=s;else{const e=t.wkid,r=t.latestWkid;if(null!=e||null!=r)(0,o.tl)(e)||(0,o.tl)(r)?n=l:((0,o.ZL)(e)||(0,o.ZL)(r))&&(n=s);else{const e=t.wkt2??t.wkt;if(e){const t=e.toUpperCase();t===h?n=l:t===p&&(n=s)}}}return f.set(t,n),n}const f=new Map,h=l.wkt.toUpperCase(),p=s.wkt.toUpperCase()},99157:(t,e,n)=>{n.d(e,{A:()=>l});var r,i=n(31635),o=n(69622),a=n(91429);let l=r=class extends o.A{constructor(t){super(t),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,a.MZ)()],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,a.MZ)()],l.prototype,"wkt",void 0),(0,i.Cg)([(0,a.MZ)()],l.prototype,"wkid",void 0),l=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1197,1874,4342,7694,9247,9644],{159:(e,t,r)=>{r.d(t,{A:()=>l});var n,i=r(31635),s=r(69622),o=r(91429),a=r(99157);let l=n=class extends s.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,i.Cg)([(0,o.MZ)({type:[a.A],nonNullable:!0})],l.prototype,"steps",void 0),l=n=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},4197:(e,t,r)=>{r.d(t,{Vj:()=>u,cj:()=>l,jh:()=>s,l5:()=>a,xm:()=>o});var n=r(34275),i=r(9093);function s(e){return e<=n.y9?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,n.iu)(e)?e.byteLength/8:e.length)<=n.y9?Array.from(e):new Float64Array(e)}function a(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function l(e){return[...e]}function u(e){const t=(0,i.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},6797:(e,t,r)=>{r.d(t,{Ui:()=>d});var n=r(69622),i=r(7762),s=r(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function a(e){return e instanceof n.A}function l(e){return e instanceof i.A?Object.keys(e.items):a(e)?(0,s.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=l(e),i=l(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 s=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(s,d).sort(),h=c(e);if(h&&o.has(h)&&f.length)return{type:"complete",oldValue:e,newValue:t};let y;const m=a(e)&&a(t);for(const n of f){const i=u(e,n),s=u(t,n);let o;if((m||"function"!=typeof i&&"function"!=typeof s)&&i!==s&&(null!=i||null!=s)){if(r&&r[n]&&"function"==typeof r[n])o=r[n]?.(i,s);else if(i instanceof Date&&s instanceof Date){if(i.getTime()===s.getTime())continue;o={type:"complete",oldValue:i,newValue:s}}else o="object"==typeof i&&"object"==typeof s&&c(i)===c(s)?p(i,s):{type:"complete",oldValue:i,newValue:s};null!=o&&(null!=y?y.diff[n]=o:y={type:"partial",diff:{[n]:o}})}}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:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:n,fromValues:function(e,t,r,n,i,s,o,a,l,u,c,p,d,f,h,y){return[e,t,r,n,i,s,o,a,l,u,c,p,d,f,h,y]}},Symbol.toStringTag,{value:"Module"}))},9762:(e,t,r)=>{r.r(t),r.d(t,{projectBuffer:()=>i});var n=r(37539);function i(e,t,r,i,s,o,a=Math.floor(e.length/3)){const l=(0,n.jd)(t,s);if(null==l)return!1;if(l===n.pO){if(e===i&&r===o)return!0;const t=r+3*a;for(let n=r,s=o;n<t;n++,s++)i[s]=e[n]??0;return!0}const u=r+3*a;for(let t=r,n=o;t<u;t+=3,n+=3)l(e,t,i,n);return!0}},13069:(e,t,r)=>{r.d(t,{AG:()=>a,lk:()=>i,vD:()=>o,yS:()=>s});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 s(){return`{${i().toUpperCase()}}`}function o(){return`{${i()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},16494:(e,t,r)=>{r.d(t,{Nd:()=>a,W5:()=>o});var n=r(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),{}),s=["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"],o=new n.I({whiteList:i,onTagAttr:(e,t,r)=>{const n=`${t}="${r}"`;if(s.includes(t))return n},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),a=new n.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},17311:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(31635),i=r(69622),s=r(4576),o=r(60999),a=r(7762),l=r(16494),u=r(91429),c=r(30524),p=r(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,o.UT)(()=>(0,p.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??r.e(9926).then(r.bind(r,29926)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new a.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 r=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(r.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:r,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(r,{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 r=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of r){const r=t.split("."),n=this.fieldsIndex.get(r.at(-1)??"");n&&e.add(n.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const r of t){const t=this.fieldsIndex.get(r);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,r){const n=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],r)).get(n)??""}async getTitles(e,t,r){const n=new Map,i=r?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:s}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);r?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:o,workingTitle:a}=this,u=a&&o;t.forEach(t=>{const c=t.getObjectId()??t.attributes[e.objectIdField];let p=u?s({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:o,globalAttributes:this._createFormattedAttributes(e,t,i).global,layer:e,text:a}):"";r?.removeHTML&&(p=l.Nd.sanitize(p).replaceAll(d," ")),n.set(c,p)})}catch{}return n}async _checkAndReQueryGraphics(e,t){const r=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(s.Ru);if(r.length!==t.length)return t;if(t.some(e=>!(0,c.Kl)(e,this.requiredFields))){const n=e.createQuery();n.where="1=1",n.outFields=[...this.requiredFields],n.objectIds=r;const i=await e.queryFeatures(n);if(i?.features.length===t.length)return i.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const r of e){if(!r.fieldName)continue;const e=this.fieldsIndex.get(r.fieldName),n=e?.name??r.fieldName;r.fieldName=n,t.set(n.toLowerCase(),r)}return t}_createFormattedAttributes(e,t,r="system"){const n=this.effectivePopupTemplate?.fieldInfos??[],i={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const r=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:r}})}catch{}}const s={...t.attributes,...i};return{global:this._featureUtils.formatAttributes({fieldInfos:n,attributes:s,graphic:t,timeZone:r,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,c.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,n.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"_arcadeTask",null),(0,n.Cg)([(0,u.MZ)()],f.prototype,"_featureUtils",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"featureUtilsPromise",null),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"calculatedExpressions",null),(0,n.Cg)([(0,u.MZ)()],f.prototype,"displayField",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"effectivePopupTemplate",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"expressionsUsedInTitle",null),(0,n.Cg)([(0,u.MZ)()],f.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"fieldInfoMap",null),(0,n.Cg)([(0,u.MZ)()],f.prototype,"fields",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"objectIdField",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"requiredFields",null),f=(0,n.Cg)([(0,u.$K)("esri.layers.support.TitleCreator")],f)},22671:(e,t,r)=>{r.d(t,{A:()=>v});var n,i=r(31635),s=r(52106),o=r(66552),a=r(25482),l=r(4718),u=r(91429),c=r(16930),p=r(60408),d=r(65864),f=r(50498),h=r(20437),y=r(36005),m=r(43937);const g=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=n=class extends a.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,s.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,l.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let 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,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-n)/t),e=>Math.round((i-e)/r));for(let e=0,t=s.length;e<t;e++)o?.(s[e].geometry)||(s.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:[s,o]}=r;let a=null,l=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;a=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;l=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,e=>e*s+n,e=>i-e*o,a,l);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 s=e[t],o=r.fromJSON(s),a=s.geometry?.spatialReference;null==o.geometry||a||(o.geometry.spatialReference=n);const l=s.aggregateGeometries,u=o.aggregateGeometries;if(l&&null!=u)for(const e in u){const t=u[e],r=l[e],i=r?.spatialReference;null==t||i||(t.spatialReference=n)}i.push(o)}return i}_quantizePoints(e,t,r){let n,i;const s=[];for(let o=0,a=e.length;o<a;o++){const a=e[o];if(o>0){const e=t(a[0]),o=r(a[1]);e===n&&o===i||(s.push([e-n,o-i]),n=e,i=o)}else n=t(a[0]),i=r(a[1]),s.push([n,i])}return s.length>0?s: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,s=n.length;e<s;e++){const s=n[e],o=this._quantizePoints(s,t,r);o&&i.push(o)}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 s=(0,p.Bi)(e)?e.rings:e.paths;let o,a;for(let e=0,n=s.length;e<n;e++){const n=s[e];for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(o+=i[0],a+=i[1]):(o=i[0],a=i[1]),i[0]=t(o),i[1]=r(a)}}if(n&&i)for(let e=0,t=s.length;e<t;e++){const t=s[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=s.length;e<t;e++){const t=s[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=s.length;e<t;e++){const t=s[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 s=e.points;let o,a;for(let e=0,n=s.length;e<n;e++){const n=s[e];e>0?(o+=n[0],a+=n[1]):(o=n[0],a=n[1]),n[0]=t(o),n[1]=r(a)}if(n&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2]),t[3]=i(t[3])}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[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:[s.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:[h.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,m.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,m.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},29005:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(31635),i=r(69540),s=r(66552),o=r(25482),a=r(91429);const l=new s.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)(o.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,n.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,n.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],u.prototype,"drawingTool",void 0),(0,n.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,n.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,n.Cg)([(0,a.$K)("esri.layers.support.FeatureTemplate")],u)},32730:(e,t,r)=>{r.d(t,{BI:()=>m,D3:()=>h,XJ:()=>y,lc:()=>f,mX:()=>v,rU:()=>g,tH:()=>M});var n=r(799);const i="__begin__",s="__end__",o=new RegExp(i,"ig"),a=new RegExp(s,"ig"),l=new RegExp("^"+i,"i"),u=new RegExp(s+"$","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 m(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 M(t.expression)}return null}function v(e){let t;return e?(t=(0,n.HC)(e,e=>i+'$feature["'+e+'"]'+s),t=l.test(t)?t.replace(l,""):c+t,t=u.test(t)?t.replace(u,""):t+c,t=t.replaceAll(o,p).replaceAll(a,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 M(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:()=>a,fY:()=>u,ne:()=>l});var n=r(31635),i=r(93637),s=r(91429),o=r(91880);function a(e,t,r){if(!e)return null;const n=e.find(e=>!!e.field);if(!n)return null;const i=new o.A;return i.read(n,r),[i]}const l={type:[o.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,r,n){const s=e.find(e=>!!e.field);s&&(0,i.sM)(r,[s.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,n.Cg)([(0,s.MZ)(l)],r.prototype,"orderBy",void 0),r=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],r),r}},33143:(e,t,r)=>{r.d(t,{A:()=>p});var n=r(31635),i=r(69540),s=r(25482),o=r(91429),a=r(8631),l=r(29005),u=r(36005),c=r(43937);let p=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,a.rS)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,n.Cg)([(0,o.MZ)({json:{write:!0}})],p.prototype,"id",void 0),(0,n.Cg)([(0,o.MZ)({json:{write:!0}})],p.prototype,"name",void 0),(0,n.Cg)([(0,o.MZ)({json:{write:!0}})],p.prototype,"domains",void 0),(0,n.Cg)([(0,u.w)("domains")],p.prototype,"readDomains",null),(0,n.Cg)([(0,c.K)("domains")],p.prototype,"writeDomains",null),(0,n.Cg)([(0,o.MZ)({type:[l.A],json:{write:!0}})],p.prototype,"templates",void 0),p=(0,n.Cg)([(0,o.$K)("esri.layers.support.FeatureType")],p)},37352:(e,t,r)=>{r.d(t,{A:()=>l});var n,i=r(31635),s=r(7762),o=r(25482),a=r(91429);let l=n=class extends o.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new s.A}clone(){return new n({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"floorField",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllLevelIds",void 0),l=n=(0,i.Cg)([(0,a.$K)("esri.layers.support.LayerFloorInfo")],l)},37539:(e,t,r)=>{r.d(t,{pO:()=>y,jd:()=>d,Tp:()=>f,w5:()=>p});var n=r(34727),i=r(86211),s=r(73941),o=r(79258);Math.PI;const a=o.$O.radius,l=o.$O.eccentricitySquared,u={a1:a*l,a2:a*l*a*l,a3:a*l*l/2,a4:a*l*a*l*2.5,a5:a*l+a*l*l/2,a6:1-l};o.$O.radius,o.$O.flattening,o.Sw.radius,o.Sw.flattening,o.sH.radius,o.sH.flattening,o.sH.radius;var c=r(21325);const p={2:{5:y,7:null,9:null,10:y,1:M,6:null,8:null,0:null,3:g,11:v,2:y,4:S},5:{5:y,7:null,9:null,10:y,1:M,6:null,8:null,0:null,3:g,11:v,2:y,4:S},7:{5:null,7:y,9:null,10:y,1:null,6:T,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:x,0:null,3:null,11:null,2:null,4:null},3:{5:m,7:null,9:null,10:m,1:function(e,t,r,n){const i=e[t]/N,s=Z-2*Math.atan(Math.exp(-e[t+1]/N)),o=N+(e[t+2]??0),a=Math.cos(s)*o;r[n]=Math.cos(i)*a,r[n+1]=Math.sin(i)*a,r[n+2]=Math.sin(s)*o},6:null,8:null,0:null,3:y,11:function(e,t,r,n){m(e,t,r,n),v(r,n,r,n)},2:m,4:function(e,t,r,n){m(e,t,r,n),S(r,n,r,n)}},4:{5:A,7:null,9:null,10:A,1:function(e,t,r,n){A(e,t,r,n),M(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){A(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){A(e,t,r,n),v(r,n,r,n)},2:A,4:y},1:{5:C,7:null,9:null,10:C,1:y,6:null,8:null,0:null,3:function(e,t,r,n){C(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){C(e,t,r,n),v(r,n,r,n)},2:C,4:function(e,t,r,n){C(e,t,r,n),S(r,n,r,n)}},6:{5:null,7:I,9:null,10:I,1:null,6:y,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:_,10:_,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:M,6:T,8:x,0:null,3:g,11:v,2:y,4:S},11:{5:w,7:null,9:null,10:w,1:function(e,t,r,n){w(e,t,r,n),M(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){w(e,t,r,n),g(r,n,r,n)},11:y,2:w,4:function(e,t,r,n){w(e,t,r,n),S(r,n,r,n)}}};function d(e,t){return f(e,t)?.projector}function f(e,t){if(null==e||null==t)return null;if(R.source.spatialReference===e&&R.dest.spatialReference===t)return R;const r=h(e,R.source),n=h(t,R.dest);return 0===r&&0===n?(0,c.aI)(e,t)?R.projector=y:R.projector=null:R.projector=p[r][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,s.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===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.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,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function m(e,t,r,n){r[n]=j*(e[t]/N),r[n+1]=j*(Z-2*Math.atan(Math.exp(-e[t+1]/N))),r[n+2]=e[t+2]??0}function g(e,t,r,i){!function(e,t,r,i,s){const o=.4999999*Math.PI,a=(0,n.qE)(O*e[t+1],-o,o),l=Math.sin(a);r[i++]=O*e[t]*s.radius,r[i++]=s.halfSemiMajorAxis*Math.log((1+l)/(1-l)),r[i]=e[t+2]??0}(e,t,r,i,o.$O)}function v(e,t,r,n){r[n]=e[t]*P,r[n+1]=e[t+1]*P,r[n+2]=e[t+2]??0}function w(e,t,r,n){r[n]=e[t]*E,r[n+1]=e[t+1]*E,r[n+2]=e[t+2]??0}function b(e,t,r,n,i){const s=i+(e[t+2]??0),o=O*e[t],a=O*e[t+1],l=Math.cos(a)*s;r[n]=Math.cos(o)*l,r[n+1]=Math.sin(o)*l,r[n+2]=Math.sin(a)*s}function x(e,t,r,n){b(e,t,r,n,o.Sw.radius)}function T(e,t,r,n){b(e,t,r,n,o.sH.radius)}function M(e,t,r,n){b(e,t,r,n,o.$O.radius)}function F(e,t,r,i,s){const o=e[t],a=e[t+1],l=e[t+2]??0,u=Math.sqrt(o*o+a*a+l*l),c=(0,n.YN)(l/(0===u?1:u)),p=Math.atan2(a,o);r[i++]=j*p,r[i++]=j*c,r[i]=u-s}function _(e,t,r,n){F(e,t,r,n,o.Sw.radius)}function I(e,t,r,n){F(e,t,r,n,o.sH.radius)}function C(e,t,r,n){F(e,t,r,n,o.$O.radius)}function S(e,t,r,n){!function(e,t,r,n,i){const s=O*e[t],o=O*e[t+1],a=e[t+2]??0,l=Math.sin(o),u=Math.cos(o),c=i.radius/Math.sqrt(1-i.eccentricitySquared*l*l);r[n++]=(c+a)*u*Math.cos(s),r[n++]=(c+a)*u*Math.sin(s),r[n++]=(c*(1-i.eccentricitySquared)+a)*l}(e,t,r,n,o.$O)}function A(e,t,r,n){const i=u,s=e[t],a=e[t+1],l=e[t+2]??0;let c,p,d,f,h,y,m,g,v,w,b,x,T,M,F,_,I,C,S,A,R;c=Math.abs(l),p=s*s+a*a,d=Math.sqrt(p),f=p+l*l,h=Math.sqrt(f),A=Math.atan2(a,s),y=l*l/f,m=p/f,M=i.a2/h,F=i.a3-i.a4/h,m>.3?(g=c/h*(1+m*(i.a1+M+y*F)/h),S=Math.asin(g),w=g*g,v=Math.sqrt(1-w)):(v=d/h*(1-y*(i.a5-M-m*F)/h),S=Math.acos(v),w=1-v*v,g=Math.sqrt(w)),b=1-o.$O.eccentricitySquared*w,x=o.$O.radius/Math.sqrt(b),T=i.a6*x,M=d-x*v,F=c-T*g,I=v*M+g*F,_=v*F-g*M,C=_/(T/b+I),S+=C,R=I+_*C/2,l<0&&(S=-S),r[n++]=j*A,r[n++]=j*S,r[n]=R}const R={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:y},O=(0,n.kU)(1),j=(0,n.KJ)(1),Z=.5*Math.PI,N=o.$O.radius,P=N*Math.PI/180,E=180/(N*Math.PI)},41366:(e,t,r)=>{r.d(t,{K:()=>p,Q:()=>l});var n=r(31635),i=r(66552),s=r(53966),o=r(91429),a=r(93223);const l=(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&&s.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,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,n.Cg)([(0,a.e)(l,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,n.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},41560:(e,t,r)=>{r.d(t,{Ch:()=>o,mW:()=>s});var n=r(34727),i=r(39516);function s(e,t){return{...t,filterMode:e.mode}}function o(e,t,r){const s=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(s&&((0,n.gg)(t,s[0])||(0,n.ZH)(r,s[1])))return"";const o=Array.from(a(e,t,r)),l=function(e,t,r){if(0===e.length)return!0;const i=c(e.at(0)?.minScale),s=p(e.at(-1)?.maxScale);if((0,n.ZH)(i,t)||(0,n.gg)(s,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}(o,t,r)?"1=1":o.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(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)l(n.minScale,n.maxScale,t,r)&&(yield n)}}function l(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}},45067:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(31635),i=r(69540),s=r(66552),o=r(25482),a=r(91429);const l=new s.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new s.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,i.OU)(o.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,n.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],c.prototype,"cardinality",void 0),(0,n.Cg)([(0,a.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,n.Cg)([(0,a.$K)("esri.layers.support.Relationship")],c)},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,s]=t.split("."),o=/^\s*\d+\s*$/;if(!i?.match||!o.test(i))throw new n.A((r&&r+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:t});if(!s?.match||!o.test(s))throw new n.A((r&&r+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:t});const a=parseInt(i,10),l=parseInt(s,10);return new e(a,l,r)}}},52106:(e,t,r)=>{r.d(t,{A:()=>x});var n,i=r(31635),s=r(37838),o=r(69540),a=r(51447),l=r(25482),u=r(53966),c=r(36708),p=r(24326),d=r(91429),f=r(12195),h=r(65864),y=r(50498),m=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,o.OU)(l.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,a.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,m.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,m.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,h.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:h.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:s.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)},52136:(e,t,r)=>{r.d(t,{p:()=>s});var n=r(31635),i=r(91429);const s=e=>{const t=e;let r=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,n.Cg)([(0,i.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.APIKeyMixin")],r),r}},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})},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:()=>m,QY:()=>d,lL:()=>g,xR:()=>h});var n=r(66131),i=r(49186),s=(r(44208),r(44729)),o=r(15032),a=r(65864),l=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 h(e,t,r){return y.create(e,t,r,["$feature","$view","$config"])}class y{static async create(e,t,r,n){const{arcade:s,Dictionary:o}=await(0,u.l)();let a;try{a=s.parseScript(e)}catch(t){throw new i.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const l=s.scriptUsesGeometryEngine(a);l&&await s.enableGeometrySupport(),await s.loadDependentModules(new Set,a,null,!1,l);const c={vars:n.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},p=s.compileScript(a,c);let d=null;null!=r&&(d=new o(r),d.immutable=!0);const f=new o;return f.immutable=!1,f.setField("scale",0),new y(e,s,a,p,t,f,d,o)}constructor(e,t,r,n,i,s,o,a){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=n,this._spatialReference=i,this._viewDict=s,this._configDict=o,this._dictionaryCtor=a,this._dependencies=new Map,this._featureReader=new m,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:s}=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!=s?null!=r?n.lY.epochToArcadeDate(s,r):n.lY.unknownEpochToArcadeDate(s):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 m{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 l.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,a.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 s.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return o.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}},58501:(e,t,r)=>{r.d(t,{q:()=>i});var n=r(62815);function i(e,t,r){if(!r?.features||!r.hasZ)return;const i=(0,n.N)(r.geometryType,t,e.outSpatialReference);if(i)for(const e of r.features)i(e.geometry)}},62815:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(86211),i=r(73941),s=r(21325);function o(e,t,r){if(null==t||null==r||r.vcsWkid||(0,s.aI)(t,r)||(0,i.xP)(t)||(0,i.xP)(r))return;const o=(0,n.G9)(t)/(0,n.G9)(r);if(1!==o)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,o);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}(e,o);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}(e,o);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,o);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,o);default:return}}},64714:(e,t,r)=>{r.d(t,{F0:()=>a,Vx:()=>c,e2:()=>d,f:()=>f});var n=r(44208),i=r(4718),s=r(99352),o=r(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 c(e,t){if((0,n.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this${p(t)} = null;`;for(const t in e)r+=`this${p(t)} = ${JSON.stringify(e[t])};`;const n=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new n}catch(r){return()=>({[t]:null,...e})}}function p(e){return l.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function d(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.o8)(e)}}]}function f(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!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:s.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:s.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},68695:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Z});var n=r(31635),i=r(49186),s=r(74887),o=r(84952),a=r(91429),l=r(16930),u=r(55156),c=r(60950),p=r(89808),d=r(99959);const f=Symbol("isCSVGraphicOrigin");var h;class y extends d.A{get[(h=f,c.ym)](){return this.layer}get[u.e](){return this.layer}get[p.Q](){return this.layer}constructor(e){super(),this[h]=!0,this.type="csv",this.layer=e}get id(){return this.layer.id}}var m=r(68654),g=r(44208),v=r(92474),w=r(83027),b=r(5443),x=r(22671);let T=class extends v.x_{constructor(e){super(e),this.type="csv",this.refresh=(0,s.sg)(async e=>{await this.load();const{extent:t,timeExtent:r}=await this._connection.invoke("refresh",e);return t&&(this.sourceJSON.extent=t),r&&(this.sourceJSON.timeInfo.timeExtent=[r.start,r.end]),{dataChanged:!0,updates:{extent:this.sourceJSON.extent,timeInfo:this.sourceJSON.timeInfo}}})}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._startWorker(t)),Promise.resolve(this)}destroy(){this._connection?.close(),this._connection=null}async openPorts(){return await this.load(),this._connection.openPorts()}async queryFeatures(e,t={}){await this.load(t);const r=await this._connection.invoke("queryFeatures",e?e.toJSON():null,t);return x.A.fromJSON(r)}async queryFeaturesJSON(e,t={}){return await this.load(t),this._connection.invoke("queryFeatures",e?e.toJSON():null,t)}async queryFeatureCount(e,t={}){return await this.load(t),this._connection.invoke("queryFeatureCount",e?e.toJSON():null,t)}async queryObjectIds(e,t={}){return await this.load(t),this._connection.invoke("queryObjectIds",e?e.toJSON():null,t)}async queryExtent(e,t={}){await this.load(t);const r=await this._connection.invoke("queryExtent",e?e.toJSON():null,t);return{count:r.count,extent:b.A.fromJSON(r.extent)}}async querySnapping(e,t={}){return await this.load(t),this._connection.invoke("querySnapping",e,t)}async queryAttributeBins(e,t={}){return await this.load(),this._connection.invoke("queryAttributeBins",e?e.toJSON():null,t)}async _startWorker(e){this._connection=await(0,w.h)("CSVSourceWorker",{strategy:(0,g.A)("feature-layers-workers")?"dedicated":"local",signal:e,registryTarget:this});const{url:t,delimiter:r,fields:n,latitudeField:i,longitudeField:s,spatialReference:o,timeInfo:a}=this.loadOptions,l=await this._connection.invoke("load",{url:t,customParameters:this.customParameters,parsingOptions:{delimiter:r,fields:n?.map(e=>e.toJSON()),latitudeField:i,longitudeField:s,spatialReference:o?.toJSON(),timeInfo:a?.toJSON()}},{signal:e});this.locationInfo=l.locationInfo,this.sourceJSON=l.layerDefinition,this.delimiter=l.delimiter}};(0,n.Cg)([(0,a.MZ)()],T.prototype,"type",void 0),(0,n.Cg)([(0,a.MZ)()],T.prototype,"loadOptions",void 0),(0,n.Cg)([(0,a.MZ)()],T.prototype,"customParameters",void 0),(0,n.Cg)([(0,a.MZ)()],T.prototype,"locationInfo",void 0),(0,n.Cg)([(0,a.MZ)()],T.prototype,"sourceJSON",void 0),(0,n.Cg)([(0,a.MZ)()],T.prototype,"delimiter",void 0),T=(0,n.Cg)([(0,a.$K)("esri.layers.graphics.sources.CSVSource")],T);var M=r(64714),F=r(10873),_=r(20437),I=r(61956),C=r(97159),S=r(88625),A=r(36005),R=r(43937);function O(e,t){throw new i.A(t,`CSVLayer (title: ${e.title}, id: ${e.id}) cannot be saved to a portal item`)}let j=class extends m.default{constructor(...e){super(...e),this.geometryType="point",this.capabilities=(0,M.f)(!1,!1),this.delimiter=null,this.editingEnabled=!1,this.fields=null,this.graphicOrigin=new y(this),this.latitudeField=null,this.locationType="coordinates",this.longitudeField=null,this.operationalLayerType="CSV",this.outFields=["*"],this.path=null,this.spatialReference=l.A.WGS84,this.source=null,this.type="csv"}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["CSV"],supportsData:!1},e).catch(s.QP).then(async()=>this.initLayerProperties(await this.createGraphicsSource(t)));return this.addResolvingPromise(r),Promise.resolve(this)}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}set fieldConfigurations(e){}get fieldConfigurations(){}get isTable(){return this.loaded&&null==this.geometryType}readWebMapLabelsVisible(e,t){return null!=t.showLabels?t.showLabels:!!t.layerDefinition?.drawingInfo?.labelingInfo}writePopupTemplate(e,t,r,n){e&&(t[r]=e.toJSON(n))}set url(e){if(!e)return void this._set("url",e);const t=(0,o.An)(e);this._set("url",t.path),t.query&&(this.customParameters={...this.customParameters,...t.query})}async createGraphicsSource(e){const t=new T({loadOptions:{delimiter:this.delimiter,fields:this.fields,latitudeField:this.latitudeField??void 0,longitudeField:this.longitudeField??void 0,spatialReference:this.spatialReference??void 0,timeInfo:this.timeInfo??void 0,url:this.url},customParameters:this.customParameters??void 0});return this._set("source",t),await t.load({signal:e}),this.read({locationInfo:t.locationInfo,columnDelimiter:t.delimiter},{origin:"service",url:this.parsedUrl}),t}queryFeatures(e,t){return this.load().then(()=>this.source.queryFeatures(I.A.from(e)||this.createQuery())).then(e=>{if(e?.features)for(const t of e.features)t.layer=t.sourceLayer=this,t.origin=this.graphicOrigin;return e})}async queryObjectIds(e,t){return await this.load(),this.source.queryObjectIds(I.A.from(e)||this.createQuery())}queryFeatureCount(e,t){return this.load().then(()=>this.source.queryFeatureCount(I.A.from(e)||this.createQuery()))}queryExtent(e,t){return this.load().then(()=>this.source.queryExtent(I.A.from(e)||this.createQuery()))}read(e,t){super.read(e,t),"service"===t?.origin&&this.revert(["latitudeField","longitudeField"],"service")}write(e,t){return super.write(e,{...t,writeLayerSchema:!0})}clone(){throw new i.A("csv-layer:clone",`CSVLayer (title: ${this.title}, id: ${this.id}) cannot be cloned`)}async save(e){return O(this,"csv-layer:save")}async saveAs(e,t){return O(this,"csv-layer:save-as")}async hasDataChanged(){try{const{dataChanged:e,updates:t}=await this.source.refresh(this.customParameters);return null!=t&&this.read(t,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0}),e}catch{}return!1}_verifyFields(){}_verifySource(){}_hasMemorySource(){return!1}};(0,n.Cg)([(0,a.MZ)(F.zQ)],j.prototype,"attributeTableTemplate",void 0),(0,n.Cg)([(0,a.MZ)({type:S.A})],j.prototype,"elevationInfo",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1,write:!1}})],j.prototype,"capabilities",void 0),(0,n.Cg)([(0,a.MZ)({type:[","," ",";","|","\t"],json:{read:{source:"columnDelimiter"},write:{target:"columnDelimiter",ignoreOrigin:!0}}})],j.prototype,"delimiter",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0,type:Boolean,json:{origins:{"web-scene":{read:!1,write:!1}}}})],j.prototype,"editingEnabled",void 0),(0,n.Cg)([(0,a.MZ)({json:{write:!1}})],j.prototype,"fieldConfigurations",null),(0,n.Cg)([(0,a.MZ)({type:[_.A],json:{read:{source:"layerDefinition.fields"},write:{target:"layerDefinition.fields"}}})],j.prototype,"fields",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],j.prototype,"graphicOrigin",void 0),(0,n.Cg)([(0,a.MZ)({type:Boolean,readOnly:!0})],j.prototype,"isTable",null),(0,n.Cg)([(0,A.w)("web-map","labelsVisible",["layerDefinition.drawingInfo.labelingInfo","showLabels"])],j.prototype,"readWebMapLabelsVisible",null),(0,n.Cg)([(0,a.MZ)({type:String,json:{read:{source:"locationInfo.latitudeFieldName"},write:{target:"locationInfo.latitudeFieldName",ignoreOrigin:!0}}})],j.prototype,"latitudeField",void 0),(0,n.Cg)([(0,a.MZ)({type:["show","hide"]})],j.prototype,"listMode",void 0),(0,n.Cg)([(0,a.MZ)({type:["coordinates"],json:{read:{source:"locationInfo.locationType"},write:{target:"locationInfo.locationType",ignoreOrigin:!0,isRequired:!0}}})],j.prototype,"locationType",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{read:{source:"locationInfo.longitudeFieldName"},write:{target:"locationInfo.longitudeFieldName",ignoreOrigin:!0}}})],j.prototype,"longitudeField",void 0),(0,n.Cg)([(0,a.MZ)({type:["CSV"]})],j.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,a.MZ)()],j.prototype,"outFields",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{origins:{"web-scene":{read:!1,write:!1}},read:!1,write:!1}})],j.prototype,"path",void 0),(0,n.Cg)([(0,R.K)("popupTemplate")],j.prototype,"writePopupTemplate",null),(0,n.Cg)([(0,a.MZ)({type:l.A})],j.prototype,"spatialReference",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!1},cast:null,type:T,readOnly:!0})],j.prototype,"source",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!1},value:"csv",readOnly:!0})],j.prototype,"type",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:C.r,write:{isRequired:!0,ignoreOrigin:!0,writer:C.w}}})],j.prototype,"url",null),j=(0,n.Cg)([(0,a.$K)("esri.layers.CSVLayer")],j);const Z=j},70328:(e,t,r)=>{r.d(t,{BI:()=>w,DC:()=>p,Ej:()=>f,Ie:()=>g,Jt:()=>v,Ne:()=>h,RF:()=>c,aI:()=>x,fA:()=>o,gE:()=>l,hZ:()=>m,iT:()=>d,is:()=>b,qv:()=>T,vI:()=>y,vY:()=>a,v_:()=>M,vt:()=>s,w1:()=>u});var n=r(5443),i=(r(19419),r(4197));function s(e=M){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,r,n,i,o,a=s()){return a[0]=e,a[1]=t,a[2]=r,a[3]=n,a[4]=i,a[5]=o,a}function a(e,t=s()){return function(e,t,r,n=s()){return m(n,T),function(e,t,r=0,n=t.length/3){let i=e[0],s=e[1],o=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<n;e++)i=Math.min(i,t[r+3*e]),s=Math.min(s,t[r+3*e+1]),o=Math.min(o,t[r+3*e+2]),a=Math.max(a,t[r+3*e]),l=Math.max(l,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=i,e[1]=s,e[2]=o,e[3]=a,e[4]=l,e[5]=u}(n,e,t,r),n}(e,0,e.length/3,t)}function l(e,t=(0,i.jh)(24)){const[r,n,s,o,a,l]=e;return t[0]=r,t[1]=n,t[2]=s,t[3]=r,t[4]=n,t[5]=l,t[6]=r,t[7]=a,t[8]=s,t[9]=r,t[10]=a,t[11]=l,t[12]=o,t[13]=n,t[14]=s,t[15]=o,t[16]=n,t[17]=l,t[18]=o,t[19]=a,t[20]=s,t[21]=o,t[22]=a,t[23]=l,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 h(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 m(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?m(e,T):s(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],M=[0,0,0,0,0,0];s()},73681:(e,t,r)=>{r.d(t,{n:()=>l});var n=r(49186),i=r(53966),s=r(46140),o=r(95466),a=r(55674);class l{static async from(e,t,r){const o=e.dictionary_version?s.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,a.xR)(e.expression,null,p);if(!f)throw new n.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const h=!o||!o.greaterEqual(4,0);h&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const y=new u(r,h);return new l(h,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 o.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new o.A(t)}}class u extends a.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]}}},91218:(e,t,r)=>{r.r(t),r.d(t,{canProjectWithoutEngine:()=>G,initializeProjection:()=>U,isEqualBaseGCS:()=>J,isLoaded:()=>A,isLoadedOrLoad:()=>R,isLoadedOrLoadFor:()=>O,load:()=>Z,project:()=>N,projectAsync:()=>L,projectExtent:()=>te,projectMany:()=>P,projectMultipoint:()=>Q,projectOrLoad:()=>$,projectOrLoadMany:()=>q,projectPoint:()=>V,projectPolygon:()=>X,projectPolyline:()=>H,projectWithoutEngine:()=>B,requiresLoad:()=>j,test:()=>z,tryProject:()=>E,unload:()=>D});var n=r(49186),i=r(74887),s=r(62788),o=r(95488),a=r(51850),l=r(21276),u=r(73941),c=r(5443),p=r(91075),d=r(48526),f=r(86738),h=r(39829),y=r(82799),m=r(16930),g=r(159),v=r(9762),w=r(37539);function b(e,t,r,n,i,s){return x[0]=e,x[1]=t,x[2]=r,(0,v.projectBuffer)(x,n,0,i,s,0)}const x=(0,a.vt)();var T=r(21325);let M=null,F=null,_=null,I=null,C={};const S=new o.I;function A(){return!!(F?.isLoaded()&&_?.isLoaded()&&I?.isLoaded())}function R(){return!!A()||((0,s.gc)(S),Z(),!1)}function O(e,t){return!e||!t||G(e,t)||R()}function j(e,t){return!G(e,t)&&!A()}async function Z(e){null==M&&(M=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(F=e,F.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(_=e,_.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(I=e,I.load()))])),await M,(0,i.Te)(e),S.notify()}function N(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),P(e,e[0].spatialReference,t,r)):((0,l.f)(e),P([e],e.spatialReference,t,r)[0])}function P(e,t,r,n){if(null==t||null==r)return e;if(G(t,r,n))return e.map(e=>B(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return P(e.map(e=>B(e,t,m.A.WGS84)),m.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return P(e,t,m.A.WGS84).map(e=>B(e,m.A.WGS84,r));if(!A())throw new k;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:I.getTransformation(t,r,n.areaOfInterestExtent)||new g.A};else if(!n?.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,r);let i=C[e];i||(i=I.getTransformation(t,r)||new g.A,C[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?F.executeMany(e,r,n):_.executeMany(e,r,n)}function E(e,t,r){try{return N(e,t,r)}catch(e){return null}}function $(e,t){const r=q([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function q(e,t,r){if(!A())for(const r of e)if(null!=r&&!(0,T.aI)(r.spatialReference,t)&&(0,T.fn)(r.spatialReference)&&(0,T.fn)(t)&&!G(r.spatialReference,t))return(0,s.gc)(S),{pending:Z(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,T.aI)(e.spatialReference,t)?e:(0,T.fn)(e.spatialReference)&&(0,T.fn)(t)?N(e,t,r):null)}}class k extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function D(){M=null,F=null,_=null,I=null,C={}}const z={get loadPromise(){return M}};async function L(e,t,r){if((0,i.Te)(r),!e)return e;const n=q(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),L(e,t,r);const s=n.geometries??[];return Array.isArray(e)?s:s[0]}function G(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,T.aI)(e,t)||(0,T.fn)(e)&&(0,T.fn)(t)&&!!(0,w.jd)(e,t))}function J(e,t){if((0,T.aI)(e,t))return!0;if(!(0,T.fn)(e)||!(0,T.fn)(t))return!1;const r=(0,T.oT)(e)||(0,T.K8)(e)||(0,T.x1)(e),n=(0,T.oT)(t)||(0,T.K8)(t)||(0,T.x1)(t);return r&&n}async function U(e,t,r,n){if(A())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!G(t,r,i))return Z(n)}else if(e&&t&&!G(e,t,r))return Z(n);return(0,i.NO)(n)}function B(e,t,r){return e?"x"in e?K(e,t,new f.A,r,0):"xmin"in e?re(e,t,new c.A,r,0):"rings"in e?ee(e,t,new h.A,r,0):"paths"in e?Y(e,t,new y.A,r,0):"points"in e?W(e,t,new d.A,r,0):null:null}function V(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=K(e,e.spatialReference,t,r,n)}function K(e,t,r,n,i){ie[0]=e.x,ie[1]=e.y;const s=e.z;return ie[2]=void 0!==s?s:i,(0,v.projectBuffer)(ie,t,0,ie,n,0)?(r.x=ie[0],r.y=ie[1],r.spatialReference=n,void 0!==s||(0,u.xP)(n)?(r.z=ie[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function Q(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=W(e,e.spatialReference,t,r,n)}function W(e,t,r,n,i){const{points:s,hasZ:o,hasM:a}=e,l=[],c=s.length,p=[];for(const e of s)p.push(e[0],e[1],o?e[2]:i);if(!(0,v.projectBuffer)(p,t,0,p,n,0,c))return null;const d=o||(0,u.xP)(n);for(let e=0;e<c;++e){const t=3*e,r=p[t],n=p[t+1];d&&a?l.push([r,n,p[t+2],s[e][3]]):d?l.push([r,n,p[t+2]]):a?l.push([r,n,s[e][2]]):l.push([r,n])}return r.points=l,r.spatialReference=n,r.hasZ=o,r.hasM=a,r}function H(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=Y(e,e.spatialReference,t,r,n)}function Y(e,t,r,n,i){const{paths:s,hasZ:o,hasM:a}=e,l=[];if(!ne(s,o??!1,a??!1,t,l,n,i))return null;const c=o||(0,u.xP)(n);return r.paths=l,r.spatialReference=n,r.hasZ=c,r.hasM=a,r}function X(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ee(e,e.spatialReference,t,r,n)}function ee(e,t,r,n,i){const{rings:s,hasZ:o,hasM:a}=e,l=[];if(!ne(s,o??!1,a??!1,t,l,n,i))return null;const c=o||(0,u.xP)(n);return r.rings=l,r.spatialReference=n,r.hasZ=c,r.hasM=a,r}function te(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=re(e,e.spatialReference,t,r,n)}function re(e,t,r,n,i){const{xmin:s,ymin:o,xmax:a,ymax:l,hasZ:c,hasM:p}=e;if(!b(s,o,c?e.zmin:i,t,ie,n))return null;const d=c||(0,u.xP)(n);return r.xmin=ie[0],r.ymin=ie[1],d&&(r.zmin=ie[2]),b(a,l,c?e.zmax:i,t,ie,n)?(r.xmax=ie[0],r.ymax=ie[1],d&&(r.zmax=ie[2]),p&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function ne(e,t,r,n,i,s,o=0){const a=new Array;for(const r of e)for(const e of r)a.push(e[0],e[1],t?e[2]:o);if(!(0,v.projectBuffer)(a,n,0,a,s,0))return!1;let l=0;i.length=0;const c=t||(0,u.xP)(s);for(const t of e){const e=new Array;for(const n of t)c&&r?e.push([a[l++],a[l++],a[l++],n[3]]):c?e.push([a[l++],a[l++],a[l++]]):r?(e.push([a[l++],a[l++],n[2]]),l++):(e.push([a[l++],a[l++]]),l++);i.push(e)}return!0}const ie=(0,a.vt)()},91880:(e,t,r)=>{r.d(t,{A:()=>u});var n,i=r(31635),s=r(66552),o=r(25482),a=r(91429);const l=new s.J({asc:"ascending",desc:"descending"});let u=class extends o.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,a.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,i.Cg)([(0,a.MZ)({type:l.apiValues,json:{type:l.jsonValues,read:l.read,write:l.write}})],u.prototype,"order",void 0),u=n=(0,i.Cg)([(0,a.$K)("esri.layers.support.OrderByInfo")],u)},95466:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(49186),i=r(53966),s=r(91869),o=r(3330),a=r(12195),l=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=h(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,l.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,l.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,l.te)(e)||(0,l.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,l.te)(e)||(0,l.Xz)(e)||e.nullable||void 0!==(0,l.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 n.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),u.n$):m.has(t.type)?u.L5:null:null}getLuxonTimeZone(e){const t=this.getTimeZone(e);return t?t===u.L5?o.GB.instance:t===u.n$?p.mQ.utcInstance:(0,s.tE)(d,t,()=>p.oh.create(t)):null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,l.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,a.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,l.rS)(e)?.toLowerCase()??""}const m=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,s=(n?"startField"in n?n.startField:n.startTimeField:"")??"",o=(n?"endField"in n?n.endField:n.endTimeField:"")??"",a=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,c.ZS)(e.dateFieldsTimeReference):null,l=i?function(e){return"timeZone"in e}(i)?i.timeZone??a:i.dateFieldsTimeReference?(0,c.ZS)(i.dateFieldsTimeReference):a??u.n$:null,p=n?function(e){return"timeZone"in e}(n)?n.timeZone??a:n.timeReference?(0,c.ZS)(n.timeReference):a:null,d=new Map([[h(i?.creationDateField??""),l],[h(i?.editDateField??""),l],[h(s),p],[h(o),p]]);for(const{name:n,type:i}of e.fields)if(m.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(h(n??""))??a;t.set(n,e)}return t}},99157:(e,t,r)=>{r.d(t,{A:()=>a});var n,i=r(31635),s=r(69622),o=r(91429);let a=n=class extends s.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,o.MZ)()],a.prototype,"isInverse",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"wkt",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"wkid",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},99352:(e,t,r)=>{r.d(t,{F:()=>n,P:()=>i});const n={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCentroidOnDegeneratedQuantizedGeometry:!0,supportsCacheHint:!0,supportsCurrentUser:!1,supportsDegeneratedQuantizedGeometry:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsPaginationOnAggregatedQueries:!1,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!0,supportsReturnMesh:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,maxUniqueIDCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1},i={supportsDate:!0,supportsFixedInterval:!0,supportsAutoInterval:!0,supportsFixedBoundaries:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!0,supportedStatistics:{count:!0,sum:!0,avg:!0,var:!0,stddev:!0,min:!0,max:!0,percentileContinuous:!0,percentileDiscrete:!0,envelope:!0,centroid:!0,convexHull:!0},supportedNormalizationTypes:{field:!0,log:!0,naturalLog:!0,percentOfTotal:!0,squareRoot:!0}}}}]);