@arcgis/core 5.0.0-next.84 → 5.0.0-next.86

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 (845) hide show
  1. package/Basemap.d.ts +2 -2
  2. package/Camera.d.ts +3 -3
  3. package/CameraLayout.d.ts +2 -2
  4. package/Graphic.d.ts +3 -3
  5. package/Ground.d.ts +2 -2
  6. package/Map.d.ts +2 -2
  7. package/PopupTemplate.d.ts +3 -3
  8. package/Viewpoint.d.ts +2 -2
  9. package/WebDocument2D.d.ts +3 -3
  10. package/WebScene.d.ts +3 -3
  11. package/analysis/Analysis.d.ts +3 -3
  12. package/analysis/Dimension/types.d.ts +0 -1
  13. package/analysis/DimensionSimpleStyle.d.ts +3 -3
  14. package/analysis/ElevationProfile/ElevationProfileDisplayUnits.d.ts +2 -2
  15. package/analysis/ElevationProfile/ElevationProfileLine.d.ts +2 -2
  16. package/analysis/ElevationProfile/ElevationProfileLineChartOptions.d.ts +2 -2
  17. package/analysis/ElevationProfile/ElevationProfileLineViewOptions.d.ts +2 -2
  18. package/analysis/ElevationProfile/ElevationProfileViewOptions.d.ts +2 -2
  19. package/analysis/LengthDimension.d.ts +3 -3
  20. package/analysis/LineOfSightAnalysisObserver.d.ts +3 -3
  21. package/analysis/LineOfSightAnalysisTarget.d.ts +3 -3
  22. package/analysis/ShadowCast/DiscreteOptions.d.ts +2 -2
  23. package/analysis/ShadowCast/MinDurationOptions.d.ts +2 -2
  24. package/analysis/ShadowCast/TotalDurationOptions.d.ts +2 -2
  25. package/analysis/ShadowCast/types.d.ts +0 -1
  26. package/analysis/SlicePlane.d.ts +3 -3
  27. package/analysis/Viewshed.d.ts +3 -3
  28. package/analysis/VolumeMeasurement/VolumeMeasurementCutFillOptions.d.ts +3 -3
  29. package/analysis/VolumeMeasurement/VolumeMeasurementDisplayUnits.d.ts +3 -3
  30. package/analysis/VolumeMeasurement/VolumeMeasurementInputUnits.d.ts +3 -3
  31. package/analysis/VolumeMeasurement/types.d.ts +0 -1
  32. package/analysis/support/AnalysisOriginWebScene.d.ts +2 -2
  33. package/applications/Components/applySetUtils.d.ts +237 -0
  34. package/applications/Components/applySetUtils.js +5 -0
  35. package/applications/Components/editUtils.d.ts +92 -0
  36. package/applications/Components/editUtils.js +5 -0
  37. package/applications/Components/symbolUtils.d.ts +37 -0
  38. package/applications/Components/symbolUtils.js +5 -0
  39. package/applications/Components/templateUtils.d.ts +135 -0
  40. package/applications/Components/templateUtils.js +5 -0
  41. package/assets/esri/core/workers/RemoteClient.js +1 -1
  42. package/assets/esri/core/workers/chunks/001fd3d30e5bb0d180c6.js +1 -0
  43. package/assets/esri/core/workers/chunks/008a555ce169640e2a35.js.LICENSE.txt +1 -1
  44. package/assets/esri/core/workers/chunks/{9919b3c345785e910c38.js → 03d037f9f04f165aac63.js} +1 -1
  45. package/assets/esri/core/workers/chunks/0402b7996940ba0f8cc8.js +2 -0
  46. package/assets/esri/core/workers/chunks/{534ed6574e4a1613ba05.js.LICENSE.txt → 0402b7996940ba0f8cc8.js.LICENSE.txt} +1 -1
  47. package/assets/esri/core/workers/chunks/0889e3d1a034be031c9e.js +2 -0
  48. package/assets/esri/core/workers/chunks/{21ac84b5c7dedcfd747d.js.LICENSE.txt → 0889e3d1a034be031c9e.js.LICENSE.txt} +1 -1
  49. package/assets/esri/core/workers/chunks/09ca0d05b090e9a70e61.js +1 -0
  50. package/assets/esri/core/workers/chunks/{84a4390b1c277c415d44.js → 0c358199ada2ff71e7d9.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{bbb409e54db77bfabdee.js → 0dcf1f3b6aa84cbe03a9.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{59e7a0215791b2b51180.js → 126183819921e6025c90.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{1a41c9127ca5a260d5ef.js → 15132d36e7ccbb3c009e.js} +1 -1
  54. package/assets/esri/core/workers/chunks/1919ed99166e70021917.js +1 -0
  55. package/assets/esri/core/workers/chunks/{9fac9eda0a41f7f4c2c6.js → 198ae9e02366870d3ec8.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{6de843d1809cba61ded3.js → 1aee859eaffa54ef2515.js} +1 -1
  57. package/assets/esri/core/workers/chunks/1c68befc39d39799fcb8.js +1 -0
  58. package/assets/esri/core/workers/chunks/{df40be5a050b8d20617a.js → 1cf27708d17a4de75b68.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{f3fdf9970b3c7acd071d.js → 21163137e345badb1aaf.js} +1 -1
  60. package/assets/esri/core/workers/chunks/21739c37160061f229ef.js +1 -0
  61. package/assets/esri/core/workers/chunks/{5b0ca8d2154ef59da600.js → 32b09ca094377a305881.js} +1 -1
  62. package/assets/esri/core/workers/chunks/365cb8aab4ca56999b47.js +1 -0
  63. package/assets/esri/core/workers/chunks/{c825ca22894bdb4d01ba.js → 3b434f318fdbbe4111e3.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{98e04c2382fa5ba382fc.js → 3dc1ae04cfa2c06daf48.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{c46a4681cbba638b58c1.js → 3ebd4cdafa7682062447.js} +1 -1
  66. package/assets/esri/core/workers/chunks/45c1a3376b138eeee329.js +1 -0
  67. package/assets/esri/core/workers/chunks/{76d6843d56bff0d4c45e.js → 476e51284e6ed7dc5c99.js} +1 -1
  68. package/assets/esri/core/workers/chunks/{18cdd268fc921ffd92e2.js → 47bea83ae7fe0e1acee0.js} +1 -1
  69. package/assets/esri/core/workers/chunks/{304ea784c28dc78e5e65.js → 4a857a7f5e00dfab2b44.js} +1 -1
  70. package/assets/esri/core/workers/chunks/4c07b2d1a14906371fc5.js +2 -0
  71. package/assets/esri/core/workers/chunks/{e3d3fc87789fd711f161.js.LICENSE.txt → 4c07b2d1a14906371fc5.js.LICENSE.txt} +1 -1
  72. package/assets/esri/core/workers/chunks/{04fddd41a8e6a4c1bc57.js → 5139bbe8f94df01467c7.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{e881629bf230a148963d.js → 52ae2073604deef63ea2.js} +1 -1
  74. package/assets/esri/core/workers/chunks/5734aefbce8b6425630c.js +1 -0
  75. package/assets/esri/core/workers/chunks/{3909217130048b5feeae.js → 5852d291ef41201030d5.js} +12 -12
  76. package/assets/esri/core/workers/chunks/{348560f083350ad0bf2e.js → 5a0c5271304189a2401d.js} +1 -1
  77. package/assets/esri/core/workers/chunks/{1fe1a131be1d5e1e23ed.js → 5a1921c177580f17ff96.js} +1 -1
  78. package/assets/esri/core/workers/chunks/{1a13b472e0cf9f88e8de.js → 5d791bfca20791d8e0af.js} +1 -1
  79. package/assets/esri/core/workers/chunks/5eee48b02e1683f022df.js +2 -0
  80. package/assets/esri/core/workers/chunks/{ef519984fa691aad8d87.js.LICENSE.txt → 5eee48b02e1683f022df.js.LICENSE.txt} +1 -1
  81. package/assets/esri/core/workers/chunks/{3b6fc34b6d92eef030e5.js → 6298e71e6c480d6f46e3.js} +1 -1
  82. package/assets/esri/core/workers/chunks/{854adab6a06af861c104.js → 68d0bae1816061d96307.js} +1 -1
  83. package/assets/esri/core/workers/chunks/6d9e92d9c2503d5dc8dd.js +1 -0
  84. package/assets/esri/core/workers/chunks/{156c73a948bde11f0d53.js → 743165f9bc4d85748a0d.js} +1 -1
  85. package/assets/esri/core/workers/chunks/{9ff1e650ce0912afa780.js → 7449af8f3637c1694660.js} +1 -1
  86. package/assets/esri/core/workers/chunks/7f15d15c7e2c5d3e70c3.js +1 -0
  87. package/assets/esri/core/workers/chunks/{5e3dd05f1ecfdb21350e.js → 7f7c4ffbdf7b20dc7a54.js} +1 -1
  88. package/assets/esri/core/workers/chunks/804c9666d0dc548b9f79.js +1 -0
  89. package/assets/esri/core/workers/chunks/8258b1c8ba6d44ba19c3.js +1 -0
  90. package/assets/esri/core/workers/chunks/890833e98e79b8fd3747.js +1 -0
  91. package/assets/esri/core/workers/chunks/{d6e11f05db698d14f21d.js → 8a7f56139b7de0011a37.js} +1 -1
  92. package/assets/esri/core/workers/chunks/{dc57400b835724204909.js → 8b1fa59d436e2815b2f1.js} +2 -2
  93. package/assets/esri/core/workers/chunks/{dc57400b835724204909.js.LICENSE.txt → 8b1fa59d436e2815b2f1.js.LICENSE.txt} +1 -1
  94. package/assets/esri/core/workers/chunks/{ec03d59984782529031a.js → 8b575ac55bc396c0c477.js} +1 -1
  95. package/assets/esri/core/workers/chunks/{db9a9712038df76e3eda.js → 8ef337e25d65670eb73b.js} +1 -1
  96. package/assets/esri/core/workers/chunks/8f2fc50eb988c0228b05.js +1 -0
  97. package/assets/esri/core/workers/chunks/{c500b59cd7da54fe72ec.js → 8f3abaabc61858e929a5.js} +1 -1
  98. package/assets/esri/core/workers/chunks/9264cce4699284eae97c.js +2 -0
  99. package/assets/esri/core/workers/chunks/{5aee84e827e6fcc9c4c4.js.LICENSE.txt → 9264cce4699284eae97c.js.LICENSE.txt} +1 -1
  100. package/assets/esri/core/workers/chunks/{e201bfe3158c025edc99.js → 93faad2a759b08dce619.js} +1 -1
  101. package/assets/esri/core/workers/chunks/{1779e6eabc299831fc9f.js → 94c4ef224ff38eca7b87.js} +1 -1
  102. package/assets/esri/core/workers/chunks/95e93884b39ca4b312d1.js +2 -0
  103. package/assets/esri/core/workers/chunks/{90a53bfe95ed687c28c1.js.LICENSE.txt → 95e93884b39ca4b312d1.js.LICENSE.txt} +1 -1
  104. package/assets/esri/core/workers/chunks/{e8f6305744f87bbed961.js → 96616126aaf319cd1c6f.js} +1 -1
  105. package/assets/esri/core/workers/chunks/{d8c8f54532714d4db2cd.js → 981f05b5ef6f9c3f7e8a.js} +1 -1
  106. package/assets/esri/core/workers/chunks/{841058de8bc6e328fd68.js → 9d77a7d04872b4535e9e.js} +1 -1
  107. package/assets/esri/core/workers/chunks/{338768f94cc49559b209.js → 9ebc4303e29ee0fc1716.js} +1 -1
  108. package/assets/esri/core/workers/chunks/a270e34bb248114ec280.js +1 -0
  109. package/assets/esri/core/workers/chunks/a6b8ce1c2996ee392bdf.js +1 -0
  110. package/assets/esri/core/workers/chunks/{6610d23d8539f06e64ca.js → adecd31fd64d6753682d.js} +1 -1
  111. package/assets/esri/core/workers/chunks/{b91a157fb5f729de6597.js → b5ca894a6cb1a19676d5.js} +1 -1
  112. package/assets/esri/core/workers/chunks/{a2c0c1bb5e775abefc90.js → b6530c66804bede649d7.js} +1 -1
  113. package/assets/esri/core/workers/chunks/{3849dc35941e569fae5f.js → c12c095937b21e39ad3c.js} +1 -1
  114. package/assets/esri/core/workers/chunks/c18a2948ae3cb527d8bb.js +1 -0
  115. package/assets/esri/core/workers/chunks/{4ff3c03cfbec928c0720.js → c4fb3f0b0cfb21e68413.js} +1 -1
  116. package/assets/esri/core/workers/chunks/{f5b32bc3f7ee911e3c59.js → c5d56b85d34026507902.js} +1 -1
  117. package/assets/esri/core/workers/chunks/{181fab86394f1f912490.js → cc464d5a83f8f405e66c.js} +1 -1
  118. package/assets/esri/core/workers/chunks/cee29c3a94376f6740d7.js +1 -0
  119. package/assets/esri/core/workers/chunks/d6d9d56b3733622deab6.js +1 -0
  120. package/assets/esri/core/workers/chunks/{ce9467dc1ff695d795e5.js → d8b72c6f5f9b2d013b7f.js} +1 -1
  121. package/assets/esri/core/workers/chunks/{f0eb2bfe5a8607b251f5.js → dc2c9b584f8e4627de7f.js} +1 -1
  122. package/assets/esri/core/workers/chunks/{b586d7e608e8ba8b88fe.js → e067bbf12f711fd5b9a6.js} +1 -1
  123. package/assets/esri/core/workers/chunks/e271065410ba5c872f53.js +1 -0
  124. package/assets/esri/core/workers/chunks/{d9d2178d436597b1afaf.js → e7e508258ad27468a6a5.js} +1 -1
  125. package/assets/esri/core/workers/chunks/e8a0654cebafa22b5b56.js +1 -0
  126. package/assets/esri/core/workers/chunks/e95f90d59041640727da.js +1 -0
  127. package/assets/esri/core/workers/chunks/eb063660c37093f85349.js +1 -0
  128. package/assets/esri/core/workers/chunks/{2a1898c5b8d7757e39e3.js → f1e1666bede364c069fc.js} +1 -1
  129. package/assets/esri/core/workers/chunks/{ac0949ea3d2cf3eb7383.js → f25eb512592a84a508c1.js} +1 -1
  130. package/assets/esri/core/workers/chunks/f5ed6953a9255f0bed6a.js.LICENSE.txt +1 -1
  131. package/assets/esri/core/workers/chunks/f64ec13167eb51da2f9b.js +1 -0
  132. package/assets/esri/core/workers/chunks/{14f8215ab716c6d9d5f8.js → fbf21fda283836e8633c.js} +1 -1
  133. package/assets/esri/core/workers/chunks/fc763ce37d631e006199.js +1 -0
  134. package/assets/esri/core/workers/chunks/ff2a170acd98edfd0e06.js +1 -0
  135. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  136. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  137. package/assets/esri/themes/dark/main.css +1 -1
  138. package/assets/esri/themes/light/main.css +1 -1
  139. package/assets/esri/themes/light/view.css +1 -1
  140. package/chunks/HUDMaterial.glsl.js +1 -1
  141. package/config.js +1 -1
  142. package/copyright.txt +2 -2
  143. package/core/Clonable.d.ts +0 -2
  144. package/core/Collection.d.ts +1 -1
  145. package/core/Error.d.ts +0 -1
  146. package/core/Evented.d.ts +0 -2
  147. package/core/Identifiable.d.ts +0 -1
  148. package/core/JSONSupport.d.ts +0 -2
  149. package/core/MultiOriginJSONSupport.d.ts +1 -3
  150. package/core/Promise.d.ts +8 -4
  151. package/core/ReadOnlyMultiOriginJSONSupport.d.ts +0 -2
  152. package/core/Version.d.ts +0 -1
  153. package/core/accessorSupport/types.d.ts +0 -1
  154. package/core/sql/types.d.ts +0 -1
  155. package/core/timeUtils.js +1 -1
  156. package/core/types.d.ts +0 -1
  157. package/core/units.d.ts +1 -1
  158. package/editing/sharedTemplates/templateLoader.js +5 -0
  159. package/editing/sharedTemplates/types.d.ts +0 -1
  160. package/editing/templateUtils.js +1 -1
  161. package/effects/FocusArea.d.ts +3 -3
  162. package/effects/FocusAreaOutline.d.ts +3 -3
  163. package/effects/FocusAreas.d.ts +3 -3
  164. package/effects/types.d.ts +0 -1
  165. package/form/ExpressionInfo.d.ts +2 -2
  166. package/form/FormTemplate.d.ts +2 -2
  167. package/form/elements/Element.d.ts +2 -2
  168. package/form/elements/UtilityNetworkAssociationsElement.d.ts +2 -2
  169. package/geometry/Geometry.d.ts +2 -2
  170. package/geometry/HeightModelInfo.d.ts +2 -2
  171. package/geometry/Mesh.d.ts +3 -3
  172. package/geometry/SpatialReference.d.ts +2 -2
  173. package/geometry/geometryEngineTypes.d.ts +0 -1
  174. package/geometry/support/MeshComponent.d.ts +3 -3
  175. package/geometry/support/MeshGeoreferencedVertexSpace.d.ts +3 -3
  176. package/geometry/support/MeshLocalVertexSpace.d.ts +3 -3
  177. package/geometry/support/MeshMaterial.d.ts +3 -3
  178. package/geometry/support/MeshTexture.d.ts +3 -3
  179. package/geometry/support/MeshTextureTransform.d.ts +3 -3
  180. package/geometry/support/MeshTransform.d.ts +3 -3
  181. package/geometry/support/MeshVertexAttributes.d.ts +3 -3
  182. package/graphic/GraphicOrigin.d.ts +0 -1
  183. package/ground/NavigationConstraint.d.ts +2 -2
  184. package/identity/Credential.d.ts +2 -2
  185. package/identity/OAuthInfo.d.ts +2 -2
  186. package/identity/ServerInfo.d.ts +2 -2
  187. package/interfaces.d.ts +8 -3
  188. package/intl/locale.d.ts +0 -1
  189. package/intl/messages.d.ts +0 -1
  190. package/intl/number.d.ts +0 -1
  191. package/intl/substitute.d.ts +0 -1
  192. package/intl/t9n.d.ts +0 -1
  193. package/kernel.js +1 -1
  194. package/layers/BaseElevationLayer.d.ts +3 -4
  195. package/layers/BingMapsLayer.d.ts +2 -2
  196. package/layers/BuildingSceneLayer.d.ts +5 -4
  197. package/layers/CatalogLayer.d.ts +3 -3
  198. package/layers/DimensionLayer.d.ts +2 -2
  199. package/layers/ElevationLayer.d.ts +3 -4
  200. package/layers/ElevationLayer.js +1 -1
  201. package/layers/FeatureLayer.d.ts +4 -4
  202. package/layers/GaussianSplatLayer.d.ts +2 -2
  203. package/layers/GeoJSONLayer.d.ts +2 -2
  204. package/layers/GeoRSSLayer.d.ts +2 -2
  205. package/layers/GroupLayer.d.ts +2 -2
  206. package/layers/ImageryLayer.d.ts +3 -3
  207. package/layers/ImageryTileLayer.d.ts +3 -3
  208. package/layers/IntegratedMesh3DTilesLayer.d.ts +2 -2
  209. package/layers/IntegratedMeshLayer.d.ts +5 -4
  210. package/layers/KMLLayer.d.ts +2 -2
  211. package/layers/KnowledgeGraphLayer.d.ts +2 -2
  212. package/layers/Layer.d.ts +2 -2
  213. package/layers/LineOfSightLayer.d.ts +2 -2
  214. package/layers/LinkChartLayer.d.ts +2 -2
  215. package/layers/MapImageLayer.d.ts +2 -2
  216. package/layers/MapNotesLayer.d.ts +2 -2
  217. package/layers/MediaLayer.d.ts +2 -2
  218. package/layers/OGCFeatureLayer.d.ts +2 -2
  219. package/layers/ParquetLayer.d.ts +3 -3
  220. package/layers/PointCloudLayer.d.ts +5 -4
  221. package/layers/RouteLayer.d.ts +2 -2
  222. package/layers/SceneLayer.d.ts +6 -5
  223. package/layers/StreamLayer.d.ts +3 -3
  224. package/layers/SubtypeGroupLayer.d.ts +4 -4
  225. package/layers/TileLayer.d.ts +2 -2
  226. package/layers/UnknownLayer.d.ts +2 -2
  227. package/layers/UnsupportedLayer.d.ts +2 -2
  228. package/layers/VectorTileLayer.d.ts +2 -2
  229. package/layers/VideoLayer.d.ts +2 -2
  230. package/layers/ViewshedLayer.d.ts +2 -2
  231. package/layers/VoxelLayer.d.ts +2 -2
  232. package/layers/WCSLayer.d.ts +3 -3
  233. package/layers/WFSLayer.d.ts +2 -2
  234. package/layers/WMSLayer.d.ts +2 -2
  235. package/layers/WMTSLayer.d.ts +2 -2
  236. package/layers/WebTileLayer.d.ts +2 -2
  237. package/layers/buildingSublayers/BuildingComponentSublayer.d.ts +2 -2
  238. package/layers/buildingSublayers/BuildingGroupSublayer.d.ts +1 -1
  239. package/layers/buildingSublayers/BuildingSublayer.d.ts +2 -2
  240. package/layers/catalog/CatalogDynamicGroupLayer.d.ts +2 -2
  241. package/layers/catalog/CatalogFootprintLayer.d.ts +2 -2
  242. package/layers/effects/types.d.ts +0 -1
  243. package/layers/knowledgeGraph/IdTypePair.d.ts +0 -1
  244. package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +2 -2
  245. package/layers/mixins/APIKeyMixin.d.ts +0 -1
  246. package/layers/mixins/CustomParametersMixin.d.ts +0 -1
  247. package/layers/mixins/EditBusLayer.d.ts +0 -2
  248. package/layers/mixins/ImageryTileMixin.js +1 -1
  249. package/layers/mixins/OperationalLayer.d.ts +0 -1
  250. package/layers/mixins/ScaleRangeLayer.d.ts +0 -1
  251. package/layers/mixins/SceneService.d.ts +0 -6
  252. package/layers/pointCloudFilters/PointCloudFilter.d.ts +2 -2
  253. package/layers/raster/datasets/FunctionRaster.js +1 -1
  254. package/layers/raster/datasets/pixelReader.d.ts +0 -1
  255. package/layers/raster/datasets/types.d.ts +0 -1
  256. package/layers/raster/functions/BaseRasterFunction.js +1 -1
  257. package/layers/raster/functions/StretchFunction.js +1 -1
  258. package/layers/raster/functions/changeDetectionUtils.d.ts +0 -1
  259. package/layers/raster/functions/focalStatUtils.d.ts +0 -1
  260. package/layers/scene/types.d.ts +11 -0
  261. package/layers/support/AggregateField.d.ts +2 -2
  262. package/layers/support/BuildingFilter.d.ts +2 -2
  263. package/layers/support/BuildingFilterBlock.d.ts +2 -2
  264. package/layers/support/BuildingSummaryStatistics.d.ts +3 -3
  265. package/layers/support/CodedValue.d.ts +2 -2
  266. package/layers/support/ControlPoint.d.ts +2 -2
  267. package/layers/support/ControlPointsGeoreference.d.ts +2 -2
  268. package/layers/support/DimensionalDefinition.d.ts +2 -2
  269. package/layers/support/DisplayFilter.d.ts +3 -3
  270. package/layers/support/DisplayFilterInfo.d.ts +3 -3
  271. package/layers/support/Domain.d.ts +2 -2
  272. package/layers/support/EditFieldsInfo.d.ts +3 -3
  273. package/layers/support/ElevationQuery.js +1 -1
  274. package/layers/support/ElevationTileData.js +1 -1
  275. package/layers/support/ExpressionInfo.d.ts +3 -3
  276. package/layers/support/FacilityLayerInfo.d.ts +2 -2
  277. package/layers/support/FeatureEffect.d.ts +2 -2
  278. package/layers/support/FeatureFilter.d.ts +2 -2
  279. package/layers/support/FeatureReductionBinning.d.ts +2 -2
  280. package/layers/support/FeatureReductionCluster.d.ts +2 -2
  281. package/layers/support/FeatureReductionSelection.d.ts +2 -2
  282. package/layers/support/FeatureTemplate.d.ts +3 -3
  283. package/layers/support/FeatureType.d.ts +3 -3
  284. package/layers/support/Field.d.ts +2 -2
  285. package/layers/support/FieldConfiguration.d.ts +3 -3
  286. package/layers/support/GeometryFieldsInfo.d.ts +3 -3
  287. package/layers/support/KMLSublayer.d.ts +3 -3
  288. package/layers/support/LOD.d.ts +2 -2
  289. package/layers/support/LabelClass.d.ts +2 -2
  290. package/layers/support/LabelExpressionInfo.d.ts +2 -2
  291. package/layers/support/LayerFloorInfo.d.ts +2 -2
  292. package/layers/support/LevelLayerInfo.d.ts +2 -2
  293. package/layers/support/LocalMediaElementSource.d.ts +3 -3
  294. package/layers/support/MapImage.d.ts +2 -2
  295. package/layers/support/MediaElementBase.d.ts +2 -2
  296. package/layers/support/MosaicRule.d.ts +2 -2
  297. package/layers/support/MultidimensionalSubset.d.ts +13 -4
  298. package/layers/support/OrderByInfo.d.ts +2 -2
  299. package/layers/support/ParquetGeometryEncodingLocation.d.ts +3 -3
  300. package/layers/support/ParquetGeometryEncodingWkb.d.ts +3 -3
  301. package/layers/support/PixelBlock.d.ts +2 -2
  302. package/layers/support/PlaybackInfo.d.ts +3 -3
  303. package/layers/support/PurgeOptions.d.ts +2 -2
  304. package/layers/support/RasterBandInfo.d.ts +2 -2
  305. package/layers/support/RasterFunction.d.ts +2 -2
  306. package/layers/support/RasterInfo.d.ts +2 -2
  307. package/layers/support/RasterJobHandler.js +1 -1
  308. package/layers/support/RasterSensorInfo.d.ts +2 -2
  309. package/layers/support/RasterWorker.js +1 -1
  310. package/layers/support/Relationship.d.ts +5 -3
  311. package/layers/support/RouteStopSymbols.d.ts +2 -2
  312. package/layers/support/RouteSymbols.d.ts +2 -2
  313. package/layers/support/SceneFilter.d.ts +2 -2
  314. package/layers/support/SceneLayerViewFilter.js +5 -0
  315. package/layers/support/SceneModification.d.ts +2 -2
  316. package/layers/support/SceneModifications.d.ts +1 -1
  317. package/layers/support/SiteLayerInfo.d.ts +2 -2
  318. package/layers/support/Sublayer.d.ts +2 -2
  319. package/layers/support/Subtype.d.ts +3 -3
  320. package/layers/support/SubtypeSublayer.d.ts +3 -3
  321. package/layers/support/TelemetryData.d.ts +3 -3
  322. package/layers/support/TelemetryDisplay.d.ts +3 -3
  323. package/layers/support/TileInfo.d.ts +2 -2
  324. package/layers/support/TileMatrixSet.d.ts +2 -2
  325. package/layers/support/TimeInfo.d.ts +3 -3
  326. package/layers/support/TrackInfo.d.ts +3 -3
  327. package/layers/support/TrackPartInfo.d.ts +3 -3
  328. package/layers/support/VideoTimeExtent.d.ts +3 -3
  329. package/layers/support/WMSSublayer.d.ts +2 -2
  330. package/layers/support/WMTSStyle.d.ts +2 -2
  331. package/layers/support/WMTSSublayer.d.ts +2 -2
  332. package/layers/support/types.d.ts +32 -0
  333. package/layers/video/types.d.ts +0 -1
  334. package/layers/voxel/VoxelColorStop.d.ts +3 -3
  335. package/layers/voxel/VoxelDynamicSection.d.ts +3 -3
  336. package/layers/voxel/VoxelIsosurface.d.ts +3 -3
  337. package/layers/voxel/VoxelOpacityStop.d.ts +3 -3
  338. package/layers/voxel/VoxelRangeFilter.d.ts +3 -3
  339. package/layers/voxel/VoxelSlice.d.ts +3 -3
  340. package/layers/voxel/VoxelTransferFunctionStyle.d.ts +3 -3
  341. package/layers/voxel/VoxelUniqueValue.d.ts +3 -3
  342. package/layers/voxel/VoxelVariable.d.ts +2 -2
  343. package/layers/voxel/VoxelVariableStyle.d.ts +2 -2
  344. package/layers/voxel/VoxelVolumeStyle.d.ts +2 -2
  345. package/layers/wms/types.d.ts +0 -1
  346. package/layers/wmts/types.d.ts +0 -1
  347. package/linkChart/ChronologicalLayoutSettings.d.ts +3 -3
  348. package/linkChart/LayoutSettings.d.ts +3 -3
  349. package/linkChart/LinkChartProperties.d.ts +3 -3
  350. package/linkChart/NonspatialDataDisplay.d.ts +3 -3
  351. package/linkChart/OrganicLayoutSettings.d.ts +3 -3
  352. package/linkChart/types.d.ts +0 -1
  353. package/networks/CircuitManager.d.ts +3 -3
  354. package/networks/Network.d.ts +2 -2
  355. package/networks/UnitIdentifierManager.d.ts +2 -2
  356. package/networks/support/Circuit.d.ts +2 -2
  357. package/networks/support/CircuitLocation.d.ts +2 -2
  358. package/networks/support/CircuitPath.d.ts +2 -2
  359. package/networks/support/CircuitPathConnectivityElement.d.ts +2 -2
  360. package/networks/support/CircuitSection.d.ts +2 -2
  361. package/networks/support/NamedTraceConfiguration.d.ts +2 -2
  362. package/networks/support/Subcircuit.d.ts +2 -2
  363. package/networks/support/Terminal.d.ts +2 -2
  364. package/networks/support/TerminalConfiguration.d.ts +2 -2
  365. package/networks/support/TraceConfiguration.d.ts +2 -2
  366. package/networks/support/UNTraceConfiguration.d.ts +2 -2
  367. package/networks/support/jsonTypes.d.ts +65 -0
  368. package/networks/support/typeUtils.d.ts +0 -1
  369. package/package.json +1 -1
  370. package/popup/ElementExpressionInfo.d.ts +2 -2
  371. package/popup/ExpressionInfo.d.ts +2 -2
  372. package/popup/FieldInfo.d.ts +3 -3
  373. package/popup/LayerOptions.d.ts +2 -2
  374. package/popup/RelatedRecordsInfo.d.ts +2 -2
  375. package/popup/content/AttachmentsContent.d.ts +2 -2
  376. package/popup/content/Content.d.ts +2 -2
  377. package/popup/content/RelationshipContent.d.ts +2 -2
  378. package/popup/content/UtilityNetworkAssociationsContent.d.ts +2 -2
  379. package/popup/content/mixins/MediaInfo.d.ts +2 -2
  380. package/popup/content/support/ChartMediaInfoValue.d.ts +2 -2
  381. package/popup/content/support/ImageMediaInfoValue.d.ts +2 -2
  382. package/popup/support/AttachmentsOrderByInfo.d.ts +3 -3
  383. package/popup/support/FieldInfoFormat.d.ts +3 -3
  384. package/popup/support/RelatedRecordsInfoFieldOrder.d.ts +2 -2
  385. package/popup/support/UtilityNetworkAssociationType.d.ts +3 -3
  386. package/portal/Portal.d.ts +2 -2
  387. package/portal/PortalFolder.d.ts +2 -2
  388. package/portal/PortalGroup.d.ts +2 -2
  389. package/portal/PortalItem.d.ts +2 -2
  390. package/portal/PortalUser.d.ts +2 -2
  391. package/portal/timeUnitKebabDictionary.js +1 -1
  392. package/renderers/FlowRenderer.d.ts +2 -2
  393. package/renderers/PieChartRenderer.d.ts +2 -2
  394. package/renderers/PointCloudRenderer.d.ts +2 -2
  395. package/renderers/RasterColormapRenderer.d.ts +2 -2
  396. package/renderers/RasterShadedReliefRenderer.d.ts +2 -2
  397. package/renderers/RasterStretchRenderer.d.ts +2 -2
  398. package/renderers/Renderer.d.ts +2 -2
  399. package/renderers/VectorFieldRenderer.d.ts +2 -2
  400. package/renderers/support/AttributeColorInfo.d.ts +2 -2
  401. package/renderers/support/AuthoringInfo.d.ts +2 -2
  402. package/renderers/support/AuthoringInfoClassBreakInfo.d.ts +2 -2
  403. package/renderers/support/AuthoringInfoFieldInfo.d.ts +2 -2
  404. package/renderers/support/AuthoringInfoVisualVariable.d.ts +2 -2
  405. package/renderers/support/ClassBreakInfo.d.ts +2 -2
  406. package/renderers/support/ColormapInfo.d.ts +2 -2
  407. package/renderers/support/DotDensityLegendOptions.d.ts +2 -2
  408. package/renderers/support/HeatmapColorStop.d.ts +2 -2
  409. package/renderers/support/HeatmapLegendOptions.d.ts +3 -3
  410. package/renderers/support/OthersCategory.d.ts +3 -3
  411. package/renderers/support/RasterPresetRenderer.d.ts +3 -3
  412. package/renderers/support/RendererLegendOptions.d.ts +3 -3
  413. package/renderers/support/UniqueValue.d.ts +3 -3
  414. package/renderers/support/UniqueValueClass.d.ts +3 -3
  415. package/renderers/support/UniqueValueGroup.d.ts +3 -3
  416. package/renderers/support/UniqueValueInfo.d.ts +2 -2
  417. package/renderers/support/pointCloud/ColorClassBreakInfo.d.ts +2 -2
  418. package/renderers/support/pointCloud/ColorModulation.d.ts +2 -2
  419. package/renderers/support/pointCloud/ColorUniqueValueInfo.d.ts +2 -2
  420. package/renderers/visualVariables/VisualVariable.d.ts +2 -2
  421. package/renderers/visualVariables/support/ColorSizeStop.d.ts +2 -2
  422. package/renderers/visualVariables/support/ColorStop.d.ts +2 -2
  423. package/renderers/visualVariables/support/OpacityStop.d.ts +2 -2
  424. package/renderers/visualVariables/support/SizeStop.d.ts +2 -2
  425. package/renderers/visualVariables/support/VisualVariableLegendOptions.d.ts +3 -3
  426. package/rest/featureService/FeatureService.d.ts +2 -2
  427. package/rest/featureService/types.d.ts +42 -5
  428. package/rest/geoprocessor/GPOptions.d.ts +2 -2
  429. package/rest/geoprocessor/utils.js +1 -1
  430. package/rest/knowledgeGraph/DataModel.d.ts +2 -2
  431. package/rest/knowledgeGraph/FieldIndex.d.ts +2 -2
  432. package/rest/knowledgeGraph/GraphObject.d.ts +2 -2
  433. package/rest/knowledgeGraph/GraphObjectType.d.ts +2 -2
  434. package/rest/knowledgeGraph/GraphProperty.d.ts +2 -2
  435. package/rest/knowledgeGraph/KnowledgeGraph.d.ts +2 -2
  436. package/rest/knowledgeGraph/Path.d.ts +2 -2
  437. package/rest/knowledgeGraph/ServiceDefinition.d.ts +2 -2
  438. package/rest/knowledgeGraph/SourceTypeValueBehavior.d.ts +2 -2
  439. package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsConfiguration.d.ts +2 -2
  440. package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsEntity.d.ts +2 -2
  441. package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsPathFilter.d.ts +2 -2
  442. package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsResultJSON.d.ts +0 -1
  443. package/rest/knowledgeGraph/toolService/findPaths/CIMKGTraversalDirection.d.ts +2 -2
  444. package/rest/knowledgeGraph/wasmInterface/WasmDataModelWrapperInterfaces.d.ts +0 -1
  445. package/rest/lastMileDelivery/types.d.ts +0 -1
  446. package/rest/layerSources/DynamicDataLayer.d.ts +2 -2
  447. package/rest/layerSources/DynamicMapLayer.d.ts +2 -2
  448. package/rest/layerSources/JoinTableDataSource.d.ts +2 -2
  449. package/rest/layerSources/QueryTableDataSource.d.ts +2 -2
  450. package/rest/layerSources/RasterDataSource.d.ts +2 -2
  451. package/rest/layerSources/TableDataSource.d.ts +2 -2
  452. package/rest/networks/circuits/exportCircuits.js +1 -1
  453. package/rest/networks/circuits/support/CircuitTraceResult.d.ts +2 -2
  454. package/rest/networks/circuits/support/ExportCircuitsParameters.d.ts +11 -3
  455. package/rest/networks/circuits/support/ExportCircuitsParameters.js +1 -1
  456. package/rest/networks/circuits/support/QueryCircuitsParameters.d.ts +2 -2
  457. package/rest/networks/support/AggregatedGeometry.d.ts +2 -2
  458. package/rest/networks/support/Association.d.ts +2 -2
  459. package/rest/networks/support/AssociationGeometriesResult.d.ts +2 -2
  460. package/rest/networks/support/FunctionResult.d.ts +2 -2
  461. package/rest/networks/support/NetworkElement.d.ts +2 -2
  462. package/rest/networks/support/QueryAssociationsParameters.d.ts +2 -2
  463. package/rest/networks/support/QueryAssociationsResult.d.ts +2 -2
  464. package/rest/networks/support/QueryNamedTraceConfigurationsParameters.d.ts +2 -2
  465. package/rest/networks/support/SynthesizeAssociationGeometriesParameters.d.ts +2 -2
  466. package/rest/networks/support/TraceLocation.d.ts +3 -3
  467. package/rest/networks/support/TraceParameters.d.ts +2 -2
  468. package/rest/networks/support/TraceResult.d.ts +2 -2
  469. package/rest/networks/support/ValidateNetworkTopologyParameters.d.ts +2 -2
  470. package/rest/networks/support/ValidateNetworkTopologyResult.d.ts +2 -2
  471. package/rest/query/support/AttachmentInfo.d.ts +2 -2
  472. package/rest/support/AddressCandidate.d.ts +2 -2
  473. package/rest/support/AddressToLocationsParameters.d.ts +2 -2
  474. package/rest/support/AddressesToLocationsParameters.d.ts +2 -2
  475. package/rest/support/ArealUnit.d.ts +2 -2
  476. package/rest/support/AreasAndLengthsParameters.d.ts +2 -2
  477. package/rest/support/AttachmentQuery.d.ts +2 -2
  478. package/rest/support/AttributeBinsFeatureSet.d.ts +2 -2
  479. package/rest/support/AttributeBinsGrouping.d.ts +3 -3
  480. package/rest/support/AttributeBinsQuery.d.ts +3 -3
  481. package/rest/support/BaseImageMeasureParameters.d.ts +2 -2
  482. package/rest/support/BaseImageMeasureResult.d.ts +2 -2
  483. package/rest/support/BaseImageMeasureResultValue.d.ts +2 -2
  484. package/rest/support/BinParametersBase.d.ts +3 -3
  485. package/rest/support/BufferParameters.d.ts +2 -2
  486. package/rest/support/CameraInfo.d.ts +2 -2
  487. package/rest/support/CameraInfoMixin.d.ts +0 -1
  488. package/rest/support/ClosestFacilityParameters.d.ts +3 -3
  489. package/rest/support/ClosestFacilitySolveResult.d.ts +2 -2
  490. package/rest/support/ColorRamp.d.ts +2 -2
  491. package/rest/support/DataFile.d.ts +2 -2
  492. package/rest/support/DataLayer.d.ts +3 -3
  493. package/rest/support/DateBinTimeInterval.d.ts +3 -3
  494. package/rest/support/DensifyParameters.d.ts +2 -2
  495. package/rest/support/DirectionLine.d.ts +3 -3
  496. package/rest/support/DirectionPoint.d.ts +3 -3
  497. package/rest/support/DirectionsEvent.d.ts +2 -2
  498. package/rest/support/DirectionsString.d.ts +2 -2
  499. package/rest/support/FeatureSet.d.ts +2 -2
  500. package/rest/support/FindImagesParameters.d.ts +3 -3
  501. package/rest/support/FindImagesResult.d.ts +2 -2
  502. package/rest/support/FindParameters.d.ts +2 -2
  503. package/rest/support/FindResult.d.ts +2 -2
  504. package/rest/support/GPMessage.d.ts +2 -2
  505. package/rest/support/GeneralizeParameters.d.ts +2 -2
  506. package/rest/support/IdentifyParameters.d.ts +2 -2
  507. package/rest/support/IdentifyResult.d.ts +2 -2
  508. package/rest/support/ImageAngleParameters.d.ts +2 -2
  509. package/rest/support/ImageAngleResult.d.ts +2 -2
  510. package/rest/support/ImageBoundaryParameters.d.ts +3 -3
  511. package/rest/support/ImageBoundaryResult.d.ts +2 -2
  512. package/rest/support/ImageGPSInfo.d.ts +2 -2
  513. package/rest/support/ImageGPSInfoParameters.d.ts +3 -3
  514. package/rest/support/ImageGPSInfoResult.d.ts +2 -2
  515. package/rest/support/ImageHistogramParameters.d.ts +2 -2
  516. package/rest/support/ImageIdentifyParameters.d.ts +2 -2
  517. package/rest/support/ImageIdentifyResult.d.ts +2 -2
  518. package/rest/support/ImageInspectionInfo.d.ts +2 -2
  519. package/rest/support/ImagePixelLocationParameters.d.ts +2 -2
  520. package/rest/support/ImagePixelLocationResult.d.ts +2 -2
  521. package/rest/support/ImageSample.d.ts +2 -2
  522. package/rest/support/ImageSampleParameters.d.ts +2 -2
  523. package/rest/support/ImageSampleResult.d.ts +2 -2
  524. package/rest/support/ImageToMapMultirayParameters.d.ts +3 -3
  525. package/rest/support/ImageToMapParameters.d.ts +3 -3
  526. package/rest/support/ImageUrlParameters.d.ts +3 -3
  527. package/rest/support/ImageUrlResult.d.ts +2 -2
  528. package/rest/support/ImageVolume.d.ts +2 -2
  529. package/rest/support/ImageVolumeParameters.d.ts +3 -3
  530. package/rest/support/ImageVolumeResult.d.ts +2 -2
  531. package/rest/support/JobInfo.d.ts +2 -2
  532. package/rest/support/LastMileDeliveryParameters.d.ts +3 -3
  533. package/rest/support/LegendLayer.d.ts +2 -2
  534. package/rest/support/LengthsParameters.d.ts +2 -2
  535. package/rest/support/LinearUnit.d.ts +2 -2
  536. package/rest/support/LocateSettingBase.d.ts +3 -3
  537. package/rest/support/LocateSettingSource.d.ts +3 -3
  538. package/rest/support/LocateSettings.d.ts +3 -3
  539. package/rest/support/LocateSettingsOverrides.d.ts +3 -3
  540. package/rest/support/LocationToAddressParameters.d.ts +2 -2
  541. package/rest/support/MapToImageParameters.d.ts +3 -3
  542. package/rest/support/MeasureAreaFromImageResult.d.ts +2 -2
  543. package/rest/support/MeasureFromImageParameters.d.ts +2 -2
  544. package/rest/support/MeasureLengthFromImageResult.d.ts +2 -2
  545. package/rest/support/NetworkUrl.d.ts +3 -3
  546. package/rest/support/NormalizationBinParametersMixin.d.ts +0 -1
  547. package/rest/support/OffsetParameters.d.ts +2 -2
  548. package/rest/support/ParameterValue.d.ts +4 -2
  549. package/rest/support/PointBarrier.d.ts +3 -3
  550. package/rest/support/PolygonBarrier.d.ts +3 -3
  551. package/rest/support/PolylineBarrier.d.ts +3 -3
  552. package/rest/support/ProjectParameters.d.ts +2 -2
  553. package/rest/support/QuantizationParameters.d.ts +2 -2
  554. package/rest/support/Query.d.ts +13 -2
  555. package/rest/support/RasterData.d.ts +2 -2
  556. package/rest/support/RelationParameters.d.ts +2 -2
  557. package/rest/support/RelationshipQuery.d.ts +2 -2
  558. package/rest/support/RouteInfo.d.ts +3 -3
  559. package/rest/support/RouteParameters.d.ts +3 -3
  560. package/rest/support/RouteResult.d.ts +2 -2
  561. package/rest/support/RouteSolveResult.d.ts +2 -2
  562. package/rest/support/ServiceAreaParameters.d.ts +3 -3
  563. package/rest/support/ServiceAreaSolveResult.d.ts +2 -2
  564. package/rest/support/StatisticDefinition.d.ts +2 -2
  565. package/rest/support/Stop.d.ts +3 -3
  566. package/rest/support/SuggestLocationsParameters.d.ts +2 -2
  567. package/rest/support/TimeUnit.d.ts +42 -0
  568. package/rest/support/TimeUnit.js +5 -0
  569. package/rest/support/TopFeaturesQuery.d.ts +2 -2
  570. package/rest/support/TopFilter.d.ts +2 -2
  571. package/rest/support/TravelMode.d.ts +3 -3
  572. package/rest/support/TrimExtendParameters.d.ts +2 -2
  573. package/rest/support/parameterValueUtils.js +1 -1
  574. package/rest/types.d.ts +1 -1
  575. package/rest/versionManagement/gdbVersion/support/AlterVersionParameters.d.ts +2 -2
  576. package/rest/versionManagement/gdbVersion/support/ReconcileParameters.d.ts +2 -2
  577. package/rest/versionManagement/support/CreateVersionParameters.d.ts +2 -2
  578. package/rest/versionManagement/support/GetVersionInfosParameters.d.ts +2 -2
  579. package/statistics/types.d.ts +0 -1
  580. package/support/MapFloorInfo.d.ts +2 -2
  581. package/support/revision.js +1 -1
  582. package/symbols/Font.d.ts +2 -2
  583. package/symbols/LineStyleMarker3D.d.ts +3 -3
  584. package/symbols/LineSymbolMarker.d.ts +2 -2
  585. package/symbols/Symbol.d.ts +2 -2
  586. package/symbols/Symbol3DLayer.d.ts +2 -2
  587. package/symbols/callouts/Callout3D.d.ts +2 -2
  588. package/symbols/callouts/LineCallout3DBorder.d.ts +2 -2
  589. package/symbols/edges/Edges3D.d.ts +2 -2
  590. package/symbols/patterns/LinePattern3D.d.ts +2 -2
  591. package/symbols/patterns/Pattern3D.d.ts +2 -2
  592. package/symbols/support/ElevationInfo.d.ts +10 -4
  593. package/symbols/support/FeatureExpressionInfo.d.ts +2 -2
  594. package/symbols/support/IconSymbol3DLayerResource.d.ts +2 -2
  595. package/symbols/support/ObjectSymbol3DLayerResource.d.ts +2 -2
  596. package/symbols/support/OccludedVisibility.d.ts +3 -3
  597. package/symbols/support/Symbol3DFillMaterial.js +1 -1
  598. package/symbols/support/Symbol3DHalo.d.ts +2 -2
  599. package/symbols/support/Symbol3DIconOutline.d.ts +2 -2
  600. package/symbols/support/Symbol3DMaterial.d.ts +6 -4
  601. package/symbols/support/Symbol3DMaterial.js +1 -1
  602. package/symbols/support/Symbol3DOutline.d.ts +2 -2
  603. package/symbols/support/Symbol3DTextBackground.d.ts +3 -3
  604. package/symbols/support/Symbol3DVerticalOffset.d.ts +2 -2
  605. package/symbols/support/symbolUtils.js +1 -1
  606. package/symbols/support/types.d.ts +0 -1
  607. package/tables/AttributeTableTemplate.d.ts +2 -2
  608. package/tables/elements/AttributeTableAttachmentElement.d.ts +2 -2
  609. package/tables/elements/AttributeTableElement.d.ts +2 -2
  610. package/tables/elements/AttributeTableFieldElement.d.ts +2 -2
  611. package/tables/elements/AttributeTableGroupElement.d.ts +2 -2
  612. package/tables/elements/AttributeTableRelationshipElement.d.ts +2 -2
  613. package/tables/support/FieldOrder.d.ts +3 -3
  614. package/time/TimeExtent.d.ts +2 -2
  615. package/time/TimeExtent.js +1 -1
  616. package/time/TimeInterval.d.ts +3 -3
  617. package/time/types.d.ts +0 -1
  618. package/versionManagement/VersionManagementService.d.ts +2 -2
  619. package/versionManagement/VersioningState.d.ts +2 -2
  620. package/versionManagement/support/type.d.ts +0 -1
  621. package/views/2d/ViewState.d.ts +2 -2
  622. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  623. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  624. package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
  625. package/views/2d/layers/support/MediaLayerInteractionOptions.d.ts +0 -1
  626. package/views/3d/analysis/Dimension/types.d.ts +0 -1
  627. package/views/3d/analysis/Slice/types.d.ts +0 -1
  628. package/views/3d/analysis/Viewshed/types.d.ts +0 -1
  629. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementShiftTool.js +1 -1
  630. package/views/3d/camera/intersectionUtils.js +1 -1
  631. package/views/3d/constraints/AltitudeConstraint.d.ts +2 -2
  632. package/views/3d/constraints/ClipDistanceConstraint.d.ts +2 -2
  633. package/views/3d/constraints/Constraints.d.ts +2 -2
  634. package/views/3d/constraints/TiltConstraint.d.ts +2 -2
  635. package/views/3d/environment/CloudyWeather.d.ts +2 -2
  636. package/views/3d/environment/FoggyWeather.d.ts +2 -2
  637. package/views/3d/environment/RainyWeather.d.ts +2 -2
  638. package/views/3d/environment/SnowyWeather.d.ts +2 -2
  639. package/views/3d/environment/SunLighting.d.ts +2 -2
  640. package/views/3d/environment/SunnyWeather.d.ts +2 -2
  641. package/views/3d/environment/VirtualLighting.d.ts +2 -2
  642. package/views/3d/layers/ElevationLayerView3D.js +1 -1
  643. package/views/3d/layers/FlowSubView3D.js +1 -1
  644. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  645. package/views/3d/support/flow/FlowSubViewTiles3D.js +1 -1
  646. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  647. package/views/3d/support/pointsOfInterest/StableSurfaceCenter.js +1 -1
  648. package/views/3d/webgl/ManagedFBO.js +1 -1
  649. package/views/3d/webgl/ManagedFBOResource.d.ts +0 -1
  650. package/views/3d/webgl/RenderNode.d.ts +1 -1
  651. package/views/3d/webgl/RenderNode.js +1 -1
  652. package/views/3d/webgl/types.d.ts +0 -1
  653. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  654. package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +1 -1
  655. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
  656. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
  657. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  658. package/views/3d/webgl-engine/lib/CutFillColor.js +1 -1
  659. package/views/3d/webgl-engine/lib/CutFillDepth.js +1 -1
  660. package/views/3d/webgl-engine/lib/GPUPointOcclusionQuery.js +1 -1
  661. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  662. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  663. package/views/3d/webgl-engine/statistics/RendererPerformanceInfo.js +1 -1
  664. package/views/3d/webgl.d.ts +16 -8
  665. package/views/3d/webgl.js +1 -1
  666. package/views/Theme.d.ts +2 -2
  667. package/views/VideoView.d.ts +4 -4
  668. package/views/View.d.ts +3 -3
  669. package/views/View2D.d.ts +2 -2
  670. package/views/ViewAnimation.d.ts +2 -2
  671. package/views/Viewport2DMixin.d.ts +0 -2
  672. package/views/analysis/ElevationProfile/ElevationProfileResult.d.ts +2 -2
  673. package/views/animation/types.d.ts +0 -1
  674. package/views/draw/CursorUpdateEvent.d.ts +0 -1
  675. package/views/draw/DrawAction.d.ts +3 -3
  676. package/views/draw/DrawCompleteEvent.d.ts +0 -1
  677. package/views/draw/VertexAddEvent.d.ts +0 -1
  678. package/views/draw/VertexRemoveEvent.d.ts +0 -1
  679. package/views/draw/support/managers/{DrawTooltipManager.js → TooltipManager.js} +1 -1
  680. package/views/draw/types.d.ts +0 -1
  681. package/views/interactive/Tooltip.d.ts +2 -2
  682. package/views/interactive/snapping/SelfSnappingEngine.js +1 -1
  683. package/views/interactive/snapping/SnappingContext.js +1 -1
  684. package/views/interactive/tooltip/types.d.ts +0 -1
  685. package/views/layers/ImageryTileLayerViewMixin.d.ts +0 -1
  686. package/views/layers/LayerView.d.ts +3 -3
  687. package/views/layers/SceneLayerView.js +1 -1
  688. package/views/layers/types.d.ts +0 -1
  689. package/views/navigation/types.d.ts +0 -1
  690. package/views/support/AttributionItem.d.ts +0 -1
  691. package/views/ui/UI.d.ts +2 -2
  692. package/webdoc/GeotriggersInfo.d.ts +3 -3
  693. package/webdoc/IPSInfo.d.ts +3 -3
  694. package/webdoc/Widgets.d.ts +2 -2
  695. package/webdoc/applicationProperties/Search.d.ts +2 -2
  696. package/webdoc/applicationProperties/SearchLayer.d.ts +2 -2
  697. package/webdoc/applicationProperties/SearchLayerField.d.ts +2 -2
  698. package/webdoc/applicationProperties/SearchTable.d.ts +2 -2
  699. package/webdoc/applicationProperties/SearchTableField.d.ts +2 -2
  700. package/webdoc/applicationProperties/Viewing.d.ts +2 -2
  701. package/webdoc/geotriggersInfo/DeviceLocationFeed.d.ts +3 -3
  702. package/webdoc/geotriggersInfo/ExpressionInfo.d.ts +3 -3
  703. package/webdoc/geotriggersInfo/FeatureFenceParameters.d.ts +3 -3
  704. package/webdoc/geotriggersInfo/FeatureFilter.d.ts +3 -3
  705. package/webdoc/geotriggersInfo/FeatureLayerSource.d.ts +3 -3
  706. package/webdoc/geotriggersInfo/Geotrigger.d.ts +3 -3
  707. package/webdoc/geotriggersInfo/GeotriggerNotificationOptions.d.ts +3 -3
  708. package/webdoc/geotriggersInfo/support/typeUtils.d.ts +0 -1
  709. package/webdoc/ips/AppleIPSProperties.d.ts +3 -3
  710. package/webdoc/ips/Configuration.d.ts +3 -3
  711. package/webdoc/ips/GNSSProperties.d.ts +3 -3
  712. package/webdoc/ips/PathSnappingProperties.d.ts +3 -3
  713. package/webdoc/ips/PositioningService.d.ts +3 -3
  714. package/webdoc/ips/SmoothingProperties.d.ts +3 -3
  715. package/webdoc/support/SlideThumbnail.d.ts +3 -3
  716. package/webdoc/support/types.d.ts +0 -1
  717. package/webdoc/widgets/FloorFilter.d.ts +2 -2
  718. package/webdoc/widgets/TimeSlider.d.ts +2 -2
  719. package/webmap/ApplicationProperties.d.ts +2 -2
  720. package/webmap/Bookmark.d.ts +2 -2
  721. package/webmap/InitialViewProperties.d.ts +2 -2
  722. package/webmap/background/ColorBackground.d.ts +2 -2
  723. package/webscene/ApplicationProperties.d.ts +2 -2
  724. package/webscene/Environment.d.ts +2 -2
  725. package/webscene/InitialViewProperties.d.ts +3 -3
  726. package/webscene/Presentation.d.ts +3 -3
  727. package/webscene/Slide.d.ts +4 -4
  728. package/webscene/SlideLegendInfo.d.ts +3 -3
  729. package/webscene/SunLighting.d.ts +2 -2
  730. package/webscene/VirtualLighting.d.ts +2 -2
  731. package/webscene/background/Background.d.ts +2 -2
  732. package/webscene/support/Description.d.ts +3 -3
  733. package/webscene/support/FeatureReference.d.ts +3 -3
  734. package/webscene/support/FeatureReferenceId.d.ts +3 -3
  735. package/webscene/support/LayerReference.d.ts +3 -3
  736. package/webscene/support/SlideElements.d.ts +3 -3
  737. package/webscene/support/SlideEnvironment.d.ts +3 -3
  738. package/webscene/support/SlideGround.d.ts +3 -3
  739. package/webscene/support/SlidePopupInfo.d.ts +3 -3
  740. package/webscene/support/SlideVisibleLayer.d.ts +3 -3
  741. package/webscene/support/Title.d.ts +3 -3
  742. package/widgets/Attachments/types.d.ts +0 -1
  743. package/widgets/BasemapGallery/support/PortalBasemapsSource.d.ts +2 -2
  744. package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +2 -2
  745. package/widgets/BasemapLayerList/types.d.ts +0 -1
  746. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +20 -2
  747. package/widgets/BatchAttributeForm.d.ts +2 -0
  748. package/widgets/BatchAttributeForm.js +1 -1
  749. package/widgets/Bookmarks/BookmarksViewModel.d.ts +2 -2
  750. package/widgets/CatalogLayerList/CatalogLayerListViewModel.d.ts +2 -2
  751. package/widgets/CatalogLayerList/types.d.ts +0 -1
  752. package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +2 -2
  753. package/widgets/Daylight/DaylightViewModel.d.ts +2 -2
  754. package/widgets/Daylight/types.d.ts +0 -1
  755. package/widgets/DirectionalPad/DirectionalPadViewModel.d.ts +2 -2
  756. package/widgets/DirectionalPad/types.d.ts +0 -1
  757. package/widgets/Directions/DirectionsViewModel.d.ts +2 -2
  758. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  759. package/widgets/Editor/EditorViewModel.d.ts +2 -2
  760. package/widgets/Editor/UpdateFeaturesWorkflowData.d.ts +2 -2
  761. package/widgets/Editor/Workflow.d.ts +2 -2
  762. package/widgets/Editor/workflowUtils.js +1 -1
  763. package/widgets/ElevationProfile/ElevationProfileLine.d.ts +2 -2
  764. package/widgets/Feature/support/featureUtils.js +1 -1
  765. package/widgets/FeatureForm/FeatureFormViewModel.d.ts +3 -3
  766. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +43 -4
  767. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  768. package/widgets/FeatureTable/Grid/GridViewModel.d.ts +2 -2
  769. package/widgets/FeatureTable/Grid/types.d.ts +7 -1
  770. package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +3 -3
  771. package/widgets/FeatureTable/support/EditableColumnTemplateMixin.d.ts +0 -1
  772. package/widgets/FeatureTable/support/FeatureStore.js +1 -1
  773. package/widgets/FeatureTable/support/TableTemplate.d.ts +3 -3
  774. package/widgets/FeatureTable.d.ts +43 -4
  775. package/widgets/FeatureTable.js +1 -1
  776. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +2 -2
  777. package/widgets/Features/FeaturesViewModel.d.ts +2 -2
  778. package/widgets/Histogram/types.d.ts +0 -1
  779. package/widgets/HistogramRangeSlider/types.d.ts +0 -1
  780. package/widgets/Home/HomeViewModel.d.ts +2 -2
  781. package/widgets/Home.d.ts +1 -2
  782. package/widgets/LayerList/LayerListViewModel.d.ts +2 -2
  783. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  784. package/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.d.ts +2 -2
  785. package/widgets/Measurement/types.d.ts +0 -1
  786. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.d.ts +3 -3
  787. package/widgets/OrientedImageryViewer/types.d.ts +0 -1
  788. package/widgets/Print/CustomTemplate.d.ts +2 -2
  789. package/widgets/Print/PrintViewModel.d.ts +3 -3
  790. package/widgets/ScaleRangeSlider/types.d.ts +0 -1
  791. package/widgets/Search/SearchSource.d.ts +2 -2
  792. package/widgets/Search/SearchViewModel.d.ts +8 -4
  793. package/widgets/Search/SearchViewModel.js +1 -1
  794. package/widgets/Search/support/layerSearchUtils.js +1 -1
  795. package/widgets/Search.js +1 -1
  796. package/widgets/ShadowCast/types.d.ts +0 -1
  797. package/widgets/Sketch/SketchViewModel.d.ts +2 -2
  798. package/widgets/Swipe/types.d.ts +0 -1
  799. package/widgets/TableList/TableListViewModel.d.ts +2 -2
  800. package/widgets/TimeSlider/TimeSliderViewModel.d.ts +2 -2
  801. package/widgets/Track/types.d.ts +0 -1
  802. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.d.ts +2 -2
  803. package/widgets/ValuePicker/types.d.ts +0 -1
  804. package/widgets/Weather/types.d.ts +0 -1
  805. package/widgets/Widget.d.ts +3 -3
  806. package/widgets/support/GeolocationPositioning.d.ts +2 -2
  807. package/widgets/support/GridControls/GridControlsViewModel.d.ts +2 -2
  808. package/widgets/support/GridControls/types.d.ts +0 -1
  809. package/widgets/support/forms/types.d.ts +0 -1
  810. package/widgets/types.d.ts +1 -2
  811. package/assets/esri/core/workers/chunks/21ac84b5c7dedcfd747d.js +0 -2
  812. package/assets/esri/core/workers/chunks/22503abc06354741d28a.js +0 -1
  813. package/assets/esri/core/workers/chunks/3606fc5537c4d11b9554.js +0 -1
  814. package/assets/esri/core/workers/chunks/3ad7ec46adecf00ae1c2.js +0 -1
  815. package/assets/esri/core/workers/chunks/3b67aa46a60e35469bf8.js +0 -1
  816. package/assets/esri/core/workers/chunks/4b09d92c51c4619b548a.js +0 -1
  817. package/assets/esri/core/workers/chunks/52684c2abc9e8ce793cf.js +0 -1
  818. package/assets/esri/core/workers/chunks/532935f420ed5f13c011.js +0 -1
  819. package/assets/esri/core/workers/chunks/5348e4dc55428de9bba7.js +0 -1
  820. package/assets/esri/core/workers/chunks/534ed6574e4a1613ba05.js +0 -2
  821. package/assets/esri/core/workers/chunks/53a1c6e008287d1f12f0.js +0 -1
  822. package/assets/esri/core/workers/chunks/5aee84e827e6fcc9c4c4.js +0 -2
  823. package/assets/esri/core/workers/chunks/5fc6cada83bf8462d54c.js +0 -1
  824. package/assets/esri/core/workers/chunks/7b2f848947b296c7c785.js +0 -1
  825. package/assets/esri/core/workers/chunks/7f76566d9b3801742387.js +0 -1
  826. package/assets/esri/core/workers/chunks/81e395a93c67749c6487.js +0 -1
  827. package/assets/esri/core/workers/chunks/8deae3a426eceae73186.js +0 -1
  828. package/assets/esri/core/workers/chunks/90a53bfe95ed687c28c1.js +0 -2
  829. package/assets/esri/core/workers/chunks/911912b0ef7ffed875be.js +0 -1
  830. package/assets/esri/core/workers/chunks/a4ee92867ad5cde25aed.js +0 -1
  831. package/assets/esri/core/workers/chunks/ab3e457c82fa9bd0203f.js +0 -1
  832. package/assets/esri/core/workers/chunks/af3d4eba6fe24db3ceba.js +0 -1
  833. package/assets/esri/core/workers/chunks/b1085fa91724e2d3b24f.js +0 -1
  834. package/assets/esri/core/workers/chunks/b48b0f512a1cd7226bdc.js +0 -1
  835. package/assets/esri/core/workers/chunks/c0265669fb616f052b65.js +0 -1
  836. package/assets/esri/core/workers/chunks/c16115cfbca879dd6717.js +0 -1
  837. package/assets/esri/core/workers/chunks/d3c69c9cb3d9c3f5c67a.js +0 -1
  838. package/assets/esri/core/workers/chunks/d477def8bfd8482596d1.js +0 -1
  839. package/assets/esri/core/workers/chunks/dd30c1f5da0af72becd1.js +0 -1
  840. package/assets/esri/core/workers/chunks/dfef6e3d7bbf099de498.js +0 -1
  841. package/assets/esri/core/workers/chunks/e3d3fc87789fd711f161.js +0 -2
  842. package/assets/esri/core/workers/chunks/ef519984fa691aad8d87.js +0 -2
  843. package/layers/support/ElevationTileData.d.ts +0 -32
  844. package/rest/geoprocessor/execute.d.ts +0 -6
  845. /package/layers/buildingSublayers/{utils.d.ts → types.d.ts} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2168],{330(e,t,i){function s(e,t){if(!e||!t)return[];let i=t;t.includes("/")?(i=t.slice(0,t.indexOf("/")),t=t.slice(t.indexOf("/")+1)):t="";const n=[];if(t){const r=s(e,i);for(let e=0;e<r.length;e++)s(r[e],t).forEach(e=>n.push(e));return n}const r=e.getElementsByTagNameNS("*",i);if(!r||0===r.length)return[];for(let e=0;e<r.length;e++)n.push(r[e]||r.item(e));return n}function n(e,t){if(!e||!t)return null;let i=t;t.includes("/")?(i=t.slice(0,t.indexOf("/")),t=t.slice(t.indexOf("/")+1)):t="";const r=s(e,i);return r.length>0?t?n(r[0],t):r[0]:null}function r(e,t=null){const i=t?n(e,t):e;let s;return i?(s=i.textContent||i.nodeValue,s?s.trim():null):null}function o(e,t){const i=s(e,t),n=[];let r;for(let e=0;e<i.length;e++)r=i[e].textContent||i[e].nodeValue,r&&(r=r.trim(),""!==r&&n.push(r));return n}function l(e,t=null){const i=r(e,t);return i?.split(" ").map(e=>Number(e))??[]}function a(e,t){return o(e,t).map(e=>Number(e))}function c(e,t){const i=r(e,t);return Number(i)}function u(e,t){const i=e?.nodeName?.toLowerCase(),s=t.toLowerCase();return i.slice(i.lastIndexOf(":")+1)===s}function h(e){return e.nodeName.slice(e.nodeName.lastIndexOf(":")+1)}i.d(t,{Dy:()=>o,IC:()=>s,Ui:()=>a,V6:()=>n,g7:()=>u,mX:()=>r,pN:()=>l,v7:()=>c,vv:()=>h})},563(e,t,i){i.d(t,{QueueProcessor:()=>c,SharedConcurrency:()=>h});var s=i(97768),n=i(74887),r=i(9775),o=i(32587),l=i(76030),a=i(44794);class c{constructor(e){this._schedule=null,this._deferreds=new o.A,this._controllers=new o.A,this._processingItems=new o.A,this._pausedSignal=(0,a.v)(!1),this.process=e.process,this.concurrency=e.concurrency,this.sharedConcurrency=e.sharedConcurrency??d,this._queue=new r.A(e.peeker)}destroy(){this.clear(),this._schedule=(0,s.xt)(this._schedule)}get updating(){return this.running}get length(){return this._processingItems.size+this._queue.length}get running(){return!this._pausedSignal.value&&this._queue.length>0&&!this.full}get full(){return this._processingItems.size>=this.concurrency||this.sharedConcurrency.full}abort(e){const t=this._controllers.get(e);t?.abort()}clear(){this._queue.clear();const e=Array.from(this._controllers.values());this._controllers.clear(),e.forEach(e=>e.abort()),this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear(),this._cancelNext()}forEach(e){this._deferreds.forEach((t,i)=>e(i))}_get(e){const t=this._deferreds.get(e);return t?.promise}pause(){this._pausedSignal.value||(this._pausedSignal.value=!0,this._cancelNext())}push(e,t){const i=this._get(e);if(i)return i;const s=new AbortController,r=(0,n.Tw)(),o=t?(0,n.u7)(t,()=>s.abort()):null,l=(0,n.NY)(s.signal,()=>{const t=this._processingItems.get(e);t&&t.controller.abort(),a(),r.reject((0,n.NK)())}),a=()=>{l.remove(),o?.remove(),this._removeItem(e),this._queue.remove(e),this._scheduleNext()};return this._deferreds.set(e,r),this._controllers.set(e,s),r.promise.then(a,a),this._queue.push(e),this._scheduleNext(),r.promise}last(){return this._queue.last()}reset(){const e=Array.from(this._processingItems.values());this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear();for(const t of e)this._queue.push(t.item),t.controller.abort();this._scheduleNext()}resume(){this._pausedSignal.value&&(this._pausedSignal.value=!1,this._scheduleNext())}takeAll(){const e=[];for(;this._queue.length;)e.push(this._queue.pop());return this.clear(),e}_removeItem(e){this._deferreds.delete(e),this._controllers.delete(e),this._processingItems.has(e)&&(this._processingItems.delete(e),this.sharedConcurrency.current.value-=1)}_scheduleNext(){this._pausedSignal.value||this._schedule||(this._schedule=(0,l._)(()=>{this._schedule=null,this._next()}))}_next(){for(;this._queue.length>0&&this._processingItems.size<this.concurrency&&!this.sharedConcurrency.full;)this._process(this._queue.pop())}_cancelNext(){this._schedule&&(this._schedule.remove(),this._schedule=null)}_processResult(e,t){this._canProcessFulfillment(e)&&(this._scheduleNext(),this._deferreds.get(e.item).resolve(t))}_processError(e,t){this._canProcessFulfillment(e)&&(this._scheduleNext(),this._deferreds.get(e.item).reject(t))}_canProcessFulfillment(e){return!!this._deferreds.get(e.item)&&this._processingItems.get(e.item)===e}_process(e){if(null==e)return;let t;const i=new AbortController,s=new u(e,i);this._processingItems.set(e,s),this.sharedConcurrency.current.value+=1;try{t=this.process(e,i.signal)}catch(e){this._processError(s,e)}(0,n.$X)(t)?(s.promise=t,t.then(e=>this._processResult(s,e),e=>this._processError(s,e))):this._processResult(s,t)}}class u{constructor(e,t){this.item=e,this.controller=t,this.promise=null}}class h{constructor(e){this.limit=e,this.current=(0,a.v)(0)}get full(){return this.current.value>=this.limit}}const d=new h(1/0)},23636(e,t,i){i.d(t,{A:()=>d});var s=i(31635),n=i(49186),r=i(91429),o=i(39829),l=i(49859),a=i(34930),c=i(47520),u=i(37373),h=i(22671);let d=class extends l.A{constructor(){super(...arguments),this.datasetFormat="Function",this.tileType="Raster",this.rasterFunction=null,this._clippingGeometry=new Map}async fetchPixels(e,t,i,s={}){const{rasters:n,rasterIds:r}=this.primaryRasters;let o=!1;const{interpolation:l}=s,u=this.rasterFunction.flatWebGLFunctionChain?.hasFocalFunction;!s.requestRawData&&u&&(o=1===n.length&&!s.skipRasterFunction,s={...s,interpolation:"bilinear",requestRawData:o}),s.requestRawData&&n.length>1&&!this.hasUniqueSourceStorageInfo&&(o=!1,s={...s,requestRawData:!1});const h=n.map(n=>n.fetchPixels(e,t,i,s)),d=await Promise.all(h),p=d.map(e=>e.pixelBlock),f=o||s.requestRawData?d.map(e=>e.srcTilePixelSize):null;if(s.skipRasterFunction||p.every(e=>null==e))return d[0];const m=d.find(e=>null!=e.pixelBlock)?.extent??e;let g=this.rasterJobHandler?await this.rasterJobHandler.process({extent:m,primaryPixelBlocks:p,primaryPixelSizes:f,primaryRasterIds:r}):this.rasterFunction.process({extent:m,primaryPixelBlocks:p,primaryPixelSizes:f,primaryRasterIds:r});const{transformGrid:y}=d[0];if(!o||null==g||null==y){const e=s.noClip?null:this.getClippingGeometry(m.spatialReference);return!s.noClip&&null!=g&&e&&(g=await(0,a.$Q)(g,m,e)),{...d[0],pixelBlock:g}}const x={rows:y.spacing[0],cols:y.spacing[1]};let _;_=this.rasterJobHandler?(await this.rasterJobHandler.mosaicAndTransform({srcPixelBlocks:[g],srcMosaicSize:{width:g.width,height:g.height},destDimension:{width:t,height:i},coefs:y.coefficients,sampleSpacing:x,projectDirections:!1,gcsGrid:null,isUV:!1,interpolation:l,alignmentInfo:void 0,blockWidths:null},s)).pixelBlock:(0,c.$i)(g,{width:t,height:i},y.coefficients,x,l);const b=s.noClip?null:this.getClippingGeometry(e.spatialReference);return s.noClip||null==_||null==b||(_=await(0,a.$Q)(_,e,b)),{extent:e,srcExtent:d[0].srcExtent,pixelBlock:_}}getClippingGeometry(e){const t=this._clippingGeometry.get("0");if(!e||!t)return t;const i=function(e){return String(e.wkid??e.wkt??e.wkt2)}(e);let s=this._clippingGeometry.get(i);return null!=s||(s=e.equals(t.spatialReference)?t:(0,u.uk)(t,e),this._clippingGeometry.set(i,s)),s}async _open(e){const{rasterFunction:t}=this;t.isRoot=!0,this.primaryRasters?.rasters?.length?t.sourceRasters=this.primaryRasters.rasters:(this.primaryRasters=t.getPrimaryRasters(),this.rasterJobHandler&&this.primaryRasters.rasters?.forEach(e=>e.rasterJobHandler=this.rasterJobHandler));const{rasters:i,rasterIds:s}=this.primaryRasters,r=i.map(t=>t.rasterInfo?void 0:t.open(e));await Promise.all(r);const o=i.map(({rasterInfo:e})=>e),l=t.bind({rasterInfos:o,rasterIds:s});if(t.rawSourceRasterInfos=o,!l.success||0===o.length)throw new n.A("raster-function:open",`cannot bind the function: ${l.error??""}`);const a="Table"===t.functionName?t:t.functionArguments?.raster;"Table"===a?.functionName&&(t.rasterInfo.attributeTable=h.A.fromJSON(a.functionArguments.attributeTableAsRecordSet)),await this.syncJobHandler();const c=o[0];this.hasUniqueSourceStorageInfo=1===o.length||o.slice(1).every(e=>function(e,t){const{storageInfo:i,pixelSize:s,spatialReference:n,extent:r}=e,{storageInfo:o,pixelSize:l,spatialReference:a,extent:c}=t;return s.x===l.x&&s.y===l.y&&n.equals(a)&&r.equals(c)&&i.blockHeight===o.blockHeight&&i.blockWidth===o.blockWidth&&i.maximumPyramidLevel===o.maximumPyramidLevel&&i.firstPyramidLevel===o.firstPyramidLevel&&i.pyramidBlockWidth===o.pyramidBlockWidth&&i.pyramidBlockHeight===o.pyramidBlockHeight&&i.pyramidScalingFactor===o.pyramidScalingFactor}(e,c)),this.set("sourceJSON",i[0].sourceJSON),this.set("rasterInfo",t.rasterInfo),await this._updateClipGeometry()}async syncJobHandler(){return this.rasterJobHandler?.updateRasterFunction(this.rasterFunction)}async _updateClipGeometry(){const e=this.rasterFunction.getClippingGeometries()[0];let t=e?.clippingGeometry;if(t&&"inside"===e.clippingType){const{extent:e}=this.rasterInfo,s=await Promise.all([i.e(3661),i.e(1878),i.e(5756),i.e(3299),i.e(5076)]).then(i.bind(i,88411)),n=await Promise.all([i.e(3661),i.e(1878),i.e(5756),i.e(3299),i.e(5867)]).then(i.bind(i,93054));let r=s.execute(o.A.fromExtent(e),2*(e.width+e.height)/40);r=(0,u.uk)(r,t.spatialReference),t=n.execute(r,t)}this._clippingGeometry.clear(),t&&this._clippingGeometry.set("0",t)}};(0,s.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],d.prototype,"datasetFormat",void 0),(0,s.Cg)([(0,r.MZ)()],d.prototype,"tileType",void 0),(0,s.Cg)([(0,r.MZ)()],d.prototype,"rasterFunction",void 0),(0,s.Cg)([(0,r.MZ)()],d.prototype,"primaryRasters",void 0),d=(0,s.Cg)([(0,r.$K)("esri.layers.raster.datasets.FunctionRaster")],d)},32587(e,t,i){i.d(t,{A:()=>r});var s=i(62788),n=i(95488);class r{constructor(e){this._observable=new n.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(e)}get size(){return(0,s.gc)(this._observable),this._map.size}batch(e){try{this._batchDepth++,e()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(e){const t=this._map.delete(e);return t&&this._notify(),t}entries(){return(0,s.gc)(this._observable),this._map.entries()}forEach(e,t){(0,s.gc)(this._observable),this._map.forEach((i,s)=>e.call(t,i,s,this),t)}get(e){return(0,s.gc)(this._observable),this._map.get(e)}has(e){return(0,s.gc)(this._observable),this._map.has(e)}keys(){return(0,s.gc)(this._observable),this._map.keys()}set(e,t){return this._map.set(e,t),this._notify(),this}transformValues(e,t=this._map.keys()){this.batch(()=>{for(const i of t){if(!this._map.has(i))continue;const t=this._map.get(i),s=e(t,i);s!==t&&this.set(i,s)}})}values(){return(0,s.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,s.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},44794(e,t,i){i.d(t,{v:()=>l});var s=i(4718),n=i(62788),r=i(95488);class o{constructor(e,t){this._observable=new r.I,this._value=e,this._equalityFunction=t}get value(){return(0,n.gc)(this._observable),this._value}set value(e){this._equalityFunction(e,this._value)||(this._value=e,this._observable.notify())}mutate(e){e(this._value),this._observable.notify()}}function l(e,t=s.gh){return new o(e,t)}},49859(e,t,i){i.d(t,{A:()=>D});var s=i(31635),n=i(11254),r=i(49186),o=i(25482),l=i(53966),a=i(74887),c=i(563),u=i(91429),h=i(56507),d=i(5443),p=i(86738),f=i(16930),m=i(7548),g=i(4366),y=i(37373);const x=new Map,_=new class{constructor(e=15e3,t=5e3){this._timer=null,this._cachedBlocks=new Map,this._size=-1,this._duration=e,this._interval=Math.min(e,t)}decreaseRefCount(e,t){const i=e+"/"+t,s=this._cachedBlocks;if(s.has(i)){const e=s.get(i);return e.refCount--,e.refCount<=0&&(s.delete(i),e.controller&&e.controller.abort()),e.refCount}return 0}getBlock(e,t){const i=e+"/"+t,s=this._cachedBlocks;if(s.has(i)){const e=s.get(i);return e.ts=Date.now(),e.refCount++,s.delete(i),s.set(i,e),e.block}return null}putBlock(e,t,i,s){const n=this._cachedBlocks,r=e+"/"+t;if(n.has(r)){const e=n.get(r);e.ts=Date.now(),e.refCount++}else n.set(r,{block:i,ts:Date.now(),refCount:1,controller:s});this._trim(),this._updateTimer()}deleteBlock(e,t){const i=this._cachedBlocks,s=e+"/"+t;i.has(s)&&i.delete(s)}updateMaxSize(e){this._size=e,this._trim()}empty(){this._cachedBlocks.clear(),this._clearTimer()}getCurrentSize(){return this._cachedBlocks.size}_updateTimer(){if(null!=this._timer)return;const e=this._cachedBlocks;this._timer=setInterval(()=>{const t=Array.from(e),i=Date.now();for(let s=0;s<t.length&&t[s][1].ts<=i-this._duration;s++)e.delete(t[s][0]);0===e.size&&this._clearTimer()},this._interval)}_trim(){const e=this._cachedBlocks;if(-1===this._size||this._size>=e.size)return;const t=Array.from(e);for(let i=0;i<t.length-this._size;i++)e.delete(t[i][0])}_clearTimer(){null!=this._timer&&(clearInterval(this._timer),this._timer=null)}};function b(e,t,i){const s=x.get(e);if(!s)return null==t?_.decreaseRefCount(e,i):0;if(null==t||null==s[t])return _.decreaseRefCount(e,i);const n=s[t]?.cache,r=n?.get(i);if(n&&r){if(r.refCount--,0===r.refCount){n.delete(i);for(let e=0;e<s.length;e++)s[e]?.cache.delete(i);r.controller&&r.controller.abort()}return r.refCount}return 0}function w(e,t,i){const s=x.get(e);if(!s)return null==t?_.getBlock(e,i):null;if(null==t||null==s[t]){for(let e=0;e<s.length;e++){const t=s[e]?.cache.get(i);if(t)return t.refCount++,t.block}return _.getBlock(e,i)}const n=s[t]?.cache.get(i);if(n)return n.refCount++,n.block;for(let e=0;e<s.length;e++){if(e===t||!s[e])continue;const n=s[e]?.cache,r=n?.get(i);if(n&&r)return r.refCount++,n.set(i,r),r.block}return null}function v(e,t,i,s,n=null){const r=x.get(e);if(!r)return void(null==t&&_.putBlock(e,i,s,n));if(null==t||null==r[t])return void _.putBlock(e,i,s,n);const o={refCount:1,block:s,isResolved:!1,isRejected:!1,controller:n};s.then(()=>o.isResolved=!0).catch(()=>o.isRejected=!0),r[t]?.cache.set(i,o)}function I(e,t,i){const s=x.get(e);s?null!=t&&null!=s[t]?s[t]?.cache.delete(i):_.deleteBlock(e,i):null==t&&_.deleteBlock(e,i)}var R=i(94778),S=i(20758),C=i(47520),k=i(34251),M=i(60694),T=i(10873),A=i(45617),z=i(91806),P=i(20223),F=i(87045);let B=0,D=class extends o.o{constructor(){super(...arguments),this._tileFetchQueue=new c.QueueProcessor({concurrency:32,process:(e,t)=>this.fetchRawTile(e.pyramidLevel,e.row,e.col,{...e.options,signal:t})}),this.datasetName=null,this.datasetFormat=null,this.hasUniqueSourceStorageInfo=!0,this.rasterInfo=null,this.ioConfig={sampling:"closest"}}normalizeCtorArgs(e){return e?.ioConfig&&(e={...e,ioConfig:{resolution:null,bandIds:null,sampling:"closest",tileInfo:F.A.create(),...e.ioConfig}}),e}get _isGlobalWrappableSource(){const{rasterInfo:e}=this,t=(0,y.FT)(e.spatialReference);return null!=t&&e.extent.width>=t/2}get _hasNoneOrGCSShiftTransform(){const{transform:e}=this.rasterInfo;return null==e||"gcs-shift"===e.type}set rasterJobHandler(e){this._set("rasterJobHandler",e),(0,m.qg)(this)&&this.primaryRasters?.rasters?.forEach(t=>t.rasterJobHandler=e)}get rasterId(){return this.url||"rasterId-"+B++}set url(e){this._set("url",(0,M.Jf)(e,l.A.getLogger(this)))}async open(e){return this._openPromise??=(0,y.Hh)().then(()=>this._open(e)),this._openPromise}async fetchTile(e,t,i,s={}){const n=s.tileInfo||this.rasterInfo.storageInfo.tileInfo,o=this.getTileExtentFromTileInfo(e,t,i,n);if(!o)throw new r.A("imagery-tile:out-of-bounds","Level for fetch tile out of range");return s={noClip:!0,...s},this.fetchPixels(o,n.size[0],n.size[1],s)}async identify(e,t={}){e=(0,h.PZ)(p.A,e).clone().normalize();const{multidimensionalDefinition:i,timeExtent:s}=t,{rasterInfo:n}=this,{hasMultidimensionalTranspose:r,multidimensionalInfo:o}=n;let{transposedVariableName:l}=t;const a=null!=o&&r&&(null!=s||(0,g.DY)(i));a&&!l&&(l=null!=i&&i.length>0?i[0].variableName??void 0:o.variables[0].name,t={...t,transposedVariableName:l}),t=this._getRequestOptionsWithSliceId(t);const{spatialReference:c,extent:u}=n,{datumTransformation:f}=t;let x=(0,y._I)(e,c,f);if(!u.intersects(x))return{location:x,value:null};if(null!=n.transform){const e=n.transform.inverseTransform(x);if(!n.nativeExtent.intersects(e))return{location:e,value:null};x=e}let _=0;const b=null!=l&&null!=o&&n.hasMultidimensionalTranspose;if((0,m.qg)(this)){const e=this.primaryRasters.rasters[0];if(b)return e.identify(x,t);const{pixelSize:s}=n,r=3,o=s.x*r/2,l=s.y*r/2,a=new d.A({xmin:x.x-o,xmax:x.x+o,ymin:x.y-l,ymax:x.y+l,spatialReference:c}),u={interpolation:"nearest",multidimensionalDefinition:i,sliceId:t.sliceId,bandIds:t.bandIds},{pixelBlock:h}=await e.fetchPixels(a,r,r,u),{pixelBlock:p}=await this.fetchPixels(a,r,r,u);if(null==h)return{location:x,value:null};const f=Math.floor(r*r*.5),m=!h.mask||h.mask[f]?h.pixels.map(e=>e[f]):null;let g;return null!=p&&(g=!p.mask||p.mask[f]?p.pixels.map(e=>e[f]):void 0),{location:x,value:m,processedValue:g,pyramidLevel:0}}if(!b)if(t.srcResolution)_=(0,y.t$)(t.srcResolution,n,this.ioConfig.sampling).pyramidLevel;else if(_=await this.computeBestPyramidLevelForLocation(e,t),null==_)return{location:x,value:null};const w=this.identifyPixelLocation(x,_,null,b);if(null===w)return{location:x,value:null};const{row:v,col:I,rowOffset:R,colOffset:S,blockWidth:C}=w,k=await this._fetchRawTile(_,v,I,t);if(!k?.pixels?.length)return{location:x,value:null};const M=R*C+S;return this._processIdentifyResult(k,{srcLocation:x,position:M,pyramidLevel:_,useTransposedTile:!!b,requestSomeSlices:a,identifyOptions:t})}async fetchPixels(e,t,i,s={}){e=(0,y.Ps)(e),s=this._getRequestOptionsWithSliceId(s);const{_hasNoneOrGCSShiftTransform:n}=this;if(s.requestRawData&&n)return this._fetchPixels(e,t,i,s);const r=(0,y.FT)(e.spatialReference),o=(0,y.OM)(e);if(null==r||0===o||1===o&&this._isGlobalWrappableSource&&n)return this._fetchPixels(e,t,i,s);if(o>=3)return{extent:e,pixelBlock:null};const l=[],{xmin:a,xmax:c}=e,u=Math.round(r/(c-a)*t),h=u-Math.round((r/2-a)/(c-a)*t);let p=0;const f=[];for(let n=0;n<=o;n++){const m=new d.A({xmin:0===n?a:-r/2,xmax:n===o?c-r*n:r/2,ymin:e.ymin,ymax:e.ymax,spatialReference:e.spatialReference}),g=0===n?u-h:n===o?t-p:u;p+=g,f.push(g);const y=s.disableWrapAround&&n>0?null:this._fetchPixels(m,g,i,s);l.push(y)}const m=(await Promise.all(l)).map(e=>e?.pixelBlock);let g=null;const x={width:t,height:i};return g=this.rasterJobHandler?(await this.rasterJobHandler.mosaicAndTransform({srcPixelBlocks:m,srcMosaicSize:x,destDimension:null,coefs:null,sampleSpacing:null,interpolation:"nearest",alignmentInfo:null,blockWidths:f},s)).pixelBlock:(0,C.z7)(m,x,{blockWidths:f}),{extent:e,srcExtent:(0,y._l)(e,this.rasterInfo.spatialReference,s.datumTransformation),pixelBlock:g}}async fetchRawPixels(e,t,i,s={}){t={x:Math.floor(t.x),y:Math.floor(t.y)};const n=await this._fetchRawTiles(e,t,i,s),{nativeExtent:r,nativePixelSize:o,storageInfo:l}=this.rasterInfo,a=2**e,c=o.x*a,u=o.y*a,h=new d.A({xmin:r.xmin+c*t.x,xmax:r.xmin+c*(t.x+i.width-1),ymin:r.ymax-u*(t.y+i.height-1),ymax:r.ymax-u*t.y,spatialReference:r.spatialReference});if(!n)return{extent:h,srcExtent:h,pixelBlock:null};const{pixelBlocks:p,mosaicSize:f}=n;if(1===p.length&&null!=p[0]&&p[0].width===i.width&&p[0].height===i.height)return{extent:h,srcExtent:h,pixelBlock:n.pixelBlocks[0]};const m=e>0?l.pyramidBlockWidth:l.blockWidth,g=e>0?l.pyramidBlockHeight:l.blockHeight,y={x:t.x%m,y:t.y%g};let x;return x=this.rasterJobHandler?(await this.rasterJobHandler.mosaicAndTransform({srcPixelBlocks:p,srcMosaicSize:f,destDimension:i,clipOffset:y,clipSize:i,coefs:null,sampleSpacing:null,interpolation:s.interpolation,alignmentInfo:null,blockWidths:null},s)).pixelBlock:(0,C.z7)(p,f,{clipOffset:y,clipSize:i}),{extent:h,srcExtent:h,pixelBlock:x}}fetchRawTile(e,t,i,s){throw new r.A("BaseRaster:read-not-implemented","fetchRawTile() is not implemented")}computeExtent(e){return(0,y._l)(this.rasterInfo.extent,e)}decodePixelBlock(e,t){return!this.rasterJobHandler||t.useCanvas?(0,S.D)(e,t):this.rasterJobHandler.decode({data:e,options:t})}async request(e,t,i=0){const{customFetchParameters:s}=this.ioConfig,{range:r,query:o,headers:l}=t;i=i??t.retryCount??this.ioConfig.retryCount;const a=r?{Range:`bytes=${r.from}-${r.to}`}:null;try{return await(0,n.A)(e,{...t,query:{...o,...s},headers:{...l,...a}})}catch(s){if(i>0)return i--,this.request(e,t,i);throw s}}getSliceIndex(e){const{multidimensionalInfo:t}=this.rasterInfo;return null==t||null==e||0===e.length?null:(0,g.NG)(e,t)}getTileExtentFromTileInfo(e,t,i,s){const n=s.lodAt(e);return n?this.getTileExtent({x:n.resolution,y:n.resolution},t,i,s.origin,s.spatialReference,s.size):null}updateTileInfo(){const{storageInfo:e,spatialReference:t,extent:i,pixelSize:s}=this.rasterInfo,{pyramidResolutions:n}=e;if(!e.tileInfo){const r=[],o=e.maximumPyramidLevel||0;let l=(s.x+s.y)/2,a=1/.0254*96*l;for(let e=0;e<=o&&(r.unshift(new z.A({level:o-e,resolution:l,scale:a})),e!==o);e++)if(n){const t=(n[e].x+n[e].y)/2;a*=t/l,l=t}else l*=2,a*=2;const c=new p.A({x:i.xmin,y:i.ymax,spatialReference:t});e.tileInfo=new F.A({origin:c,size:[e.blockWidth,e.blockHeight],spatialReference:t,lods:r}),e.isVirtualTileInfo=!0}}createRemoteDatasetStorageInfo(e,t=512,i=512,s){const{width:n,height:r,nativeExtent:o,pixelSize:l,spatialReference:a}=e,c=new p.A({x:o.xmin,y:o.ymax,spatialReference:a});null==s&&(s=Math.max(0,Math.round(Math.log(Math.max(n,r))/Math.LN2-8)));const u=this.computeBlockBoundary(o,512,512,{x:o.xmin,y:o.ymax},[l],s);e.storageInfo=new P.A({blockWidth:t,blockHeight:i,pyramidBlockWidth:t,pyramidBlockHeight:i,origin:c,firstPyramidLevel:1,maximumPyramidLevel:s,blockBoundary:u})}async computeBestPyramidLevelForLocation(e,t={}){return 0}computeBlockBoundary(e,t,i,s,n,r=0,o=2){if(1===n.length&&r>0){n=[...n];let{x:e,y:t}=n[0];for(let i=0;i<r;i++)e*=o,t*=o,n.push({x:e,y:t})}const l=[],{x:a,y:c}=s;for(let s=0;s<n.length;s++){const{x:r,y:o}=n[s];l.push({minCol:Math.floor((e.xmin-a+.1*r)/t/r),maxCol:Math.floor((e.xmax-a-.1*r)/t/r),minRow:Math.floor((c-e.ymax+.1*o)/i/o),maxRow:Math.floor((c-e.ymin-.1*o)/i/o)})}return l}getPyramidPixelSize(e){const{nativePixelSize:t}=this.rasterInfo,{pyramidResolutions:i,pyramidScalingFactor:s}=this.rasterInfo.storageInfo;if(0===e)return t;if(null!=i&&i.length)return i[e-1];const n=s**e;return{x:t.x*n,y:t.y*n}}identifyPixelLocation(e,t,i,s){const{spatialReference:n,nativeExtent:r,storageInfo:o}=this.rasterInfo,{maximumPyramidLevel:l,origin:a,transposeInfo:c}=o,u=s&&null!=c?c.tileSize[0]:o.blockWidth,h=s&&null!=c?c.tileSize[1]:o.blockHeight,d=(0,y._I)(e,n,i);if(!r.intersects(d))return null;if(t<0||t>l)return null;const p=this.getPyramidPixelSize(t),{x:f,y:m}=p,g=(a.y-d.y)/m/h,x=(d.x-a.x)/f/u,_=Math.min(h-1,Math.floor((g-Math.floor(g))*h)),b=Math.min(u-1,Math.floor((x-Math.floor(x))*u));return{pyramidLevel:t,row:Math.floor(g),col:Math.floor(x),rowOffset:_,colOffset:b,blockWidth:u,srcLocation:d}}getTileExtent(e,t,i,s,n,r){const[o,l]=r,a=s.x+i*o*e.x,c=a+o*e.x,u=s.y-t*l*e.y,h=u-l*e.y;return new d.A({xmin:a,xmax:c,ymin:h,ymax:u,spatialReference:n})}getBlockWidthHeight(e){return{blockWidth:e>0?this.rasterInfo.storageInfo.pyramidBlockWidth:this.rasterInfo.storageInfo.blockWidth,blockHeight:e>0?this.rasterInfo.storageInfo.pyramidBlockHeight:this.rasterInfo.storageInfo.blockHeight}}isBlockOutside(e,t,i){const s=this.rasterInfo.storageInfo.blockBoundary[e];return!s||s.maxRow<t||s.maxCol<i||s.minRow>t||s.minCol>i}updateImageSpaceRasterInfo(e){const{pixelSize:t}=e,{width:i,height:s}=e,n=f.A.WebMercator;e.spatialReference=n,e.extent=e.nativeExtent=new d.A({xmin:-.5,ymax:.5,xmax:i-.5,ymin:.5-s,spatialReference:n}),e.isPseudoSpatialReference=!0,e.transform=null,e.pixelSize=new p.A({x:1,y:1,spatialReference:n});const{extent:r,storageInfo:o}=e;if(o){o.origin=new p.A({x:r.xmin,y:r.ymax,spatialReference:n});const{pyramidResolutions:i,tileInfo:s}=o;if(i&&i.forEach(e=>{e.x/=t.x,e.y/=t.y}),s){s.origin=o.origin;const t=(e.nativePixelSize.x+e.nativePixelSize.y)/2;s.lods.forEach((e,i)=>{e.resolution=t*2**i,e.scale=96*e.resolution/.0254})}}}async _fetchPixels(e,t,i,s={}){let n=(0,y.OM)(e);if(n>=2)return{extent:e,pixelBlock:null};const r=this._getSourceDataInfo(e,t,i,s),{pyramidLevel:o,srcResolution:l,srcExtent:a,srcWidth:c,srcHeight:u,ul:h}=r;if(0===c||0===u)return{extent:e,srcExtent:a,pixelBlock:null};const{rasterInfo:d}=this,f=d.transform,m="gcs-shift"===f?.type,g=null!=(0,y.FT)(e.spatialReference);!m&&g||(n=(0,y.OM)(r.srcExtent,m));const x=await this._fetchRawTiles(o,h,{width:c,height:u,wrapCount:n},s);if(!x)return{extent:e,srcExtent:a,pixelBlock:null};const _=d.storageInfo,b=o>0?_.pyramidBlockWidth:_.blockWidth,w=o>0?_.pyramidBlockHeight:_.blockHeight;let{x:v,y:I}=d.pixelSize;if(o>0){const{pyramidResolutions:e,pyramidScalingFactor:t}=_;if(null!=e&&e[o-1])({x:v,y:I}=e[o-1]);else{const e=t**o;v*=e,I*=e}}const R=d.spatialReference,S=new p.A({x:v,y:I,spatialReference:R}),M=b===c&&w===u&&h.x%b===0&&h.y%w===0,T=new p.A({x:(e.xmax-e.xmin)/t,y:(e.ymax-e.ymin)/i,spatialReference:e.spatialReference}),A=!e.spatialReference.equals(R),z=R.isGeographic?1e-9:1e-4,{datumTransformation:P}=s;if(!A&&M&&1===x.pixelBlocks.length&&b===t&&w===i&&function(e,t,i){return Math.abs(e.x-t.x)<i&&Math.abs(e.y-t.y)<i}(l,T,z))return{extent:e,srcExtent:a,srcTilePixelSize:S,pixelBlock:x.pixelBlocks[0]};const F=g&&null!=(0,y.FT)(a.spatialReference)&&this._hasNoneOrGCSShiftTransform,B=s.requestProjectedLocalDirections&&this.rasterInfo.dataType.startsWith("vector");B&&!this.rasterJobHandler&&await(0,y.Hh)();const D=this.rasterJobHandler?await this.rasterJobHandler.getProjectionOffsetGrid({projectedExtent:e,srcBufferExtent:x.extent,pixelSize:T.toJSON(),datumTransformation:P,rasterTransform:f,hasWrapAround:n>0||F,isAdaptive:!1!==this.ioConfig.optimizeProjectionAccuracy,includeGCSGrid:B},s):(0,y.l0)({projectedExtent:e,srcBufferExtent:x.extent,pixelSize:T,datumTransformation:P,rasterTransform:f,hasWrapAround:n>0||F,isAdaptive:!1,includeGCSGrid:B});let N;const J=!s.requestRawData,O={rows:D.spacing[0],cols:D.spacing[1]},H=this._hasNoneOrGCSShiftTransform?this._getRasterTileAlignmentInfo(o,x.extent.xmin):void 0,{pixelBlocks:E,mosaicSize:L,isPartiallyFilled:Z}=x;let q=null;if(this.rasterJobHandler){const e=await this.rasterJobHandler.mosaicAndTransform({srcPixelBlocks:E,srcMosaicSize:L,destDimension:J?{width:t,height:i}:null,coefs:J?D.coefficients:null,sampleSpacing:J?O:null,projectDirections:B,gcsGrid:B?D.gcsGrid:null,isUV:"vector-uv"===this.rasterInfo.dataType,interpolation:s.interpolation,alignmentInfo:H,blockWidths:null},s);({pixelBlock:N,localNorthDirections:q}=e)}else{const e=(0,C.z7)(E,L,{alignmentInfo:H});N=J?(0,C.$i)(e,{width:t,height:i},D.coefficients,O,s.interpolation):e,B&&D.gcsGrid&&(q=(0,C.QF)({width:t,height:i},D.gcsGrid),N=(0,k.Y2)(N,this.rasterInfo.dataType,q))}return s.requestRawData||B?{extent:e,srcExtent:a,srcTilePixelSize:S,pixelBlock:N,transformGrid:D,localNorthDirections:q,isPartiallyFilled:Z}:{extent:e,srcExtent:a,srcTilePixelSize:S,pixelBlock:N}}async _fetchRawTiles(e,t,i,s){const{origin:n,blockBoundary:r}=this.rasterInfo.storageInfo,{blockWidth:o,blockHeight:l}=this.getBlockWidthHeight(e);let{x:a,y:c}=t,{width:u,height:h,wrapCount:p}=i;const f=this._getRasterTileAlignmentInfo(e,0);s.buffer&&(a-=s.buffer.cols,c-=s.buffer.rows,u+=2*s.buffer.cols,h+=2*s.buffer.rows);let m=0,g=0,y=0;p&&null!=f&&(({worldColumnCountFromOrigin:g,originColumnOffset:y,rightPadding:m}=f),g*f.blockWidth-m>=a+u&&(m=0));const x=Math.floor(a/o),_=Math.floor(c/l),b=Math.floor((a+u+m-1)/o),w=Math.floor((c+h+m-1)/l),v=r[e];if(!v)return null;const{minRow:I,minCol:R,maxCol:S,maxRow:C}=v;if(0===p&&(w<I||b<R||_>C||x>S))return null;const k=new Array;let M=!1;const T=null==this.ioConfig.allowPartialFill?s.allowPartialFill:this.ioConfig.allowPartialFill;for(let t=_;t<=w;t++)for(let i=x;i<=b;i++){let n=i;if(!s.disableWrapAround&&p&&null!=f&&g<=i&&(n=i-g-y),t>=I&&n>=R&&C>=t&&S>=n){const i=this._fetchRawTile(e,t,n,s);T?k.push(new Promise(e=>{i.then(t=>e(t)).catch(()=>{M=!0,e(null)})})):k.push(i)}else k.push(Promise.resolve(null))}if(0===k.length)return null;const A=await Promise.all(k),z={height:(w-_+1)*l,width:(b-x+1)*o},{spatialReference:P}=this.rasterInfo,F=this.getPyramidPixelSize(e),{x:B,y:D}=F;return{extent:new d.A({xmin:n.x+x*o*B,xmax:n.x+(b+1)*o*B,ymin:n.y-(w+1)*l*D,ymax:n.y-_*l*D,spatialReference:P}),pixelBlocks:A,mosaicSize:z,isPartiallyFilled:M}}_fetchRawTile(e,t,i,s){const{storageInfo:n}=this.rasterInfo,r=null!=n.transposeInfo&&!!s.transposedVariableName;if(!r){const s=n.blockBoundary[e];if(!s)return Promise.resolve(null);const{minRow:r,minCol:o,maxCol:l,maxRow:a}=s;if(t<r||i<o||t>a||i>l)return Promise.resolve(null)}const o=r?s.transposeVariableName:s.sliceId,l=n.isBsqTile?s.bandIds:null,c=function(e,t,i){const s=[];return null!=t&&s.push(`sliceId=${t}`),null!=i&&s.push(`bandIds=${i.join(",")}`),s.length?`${e}?${s.join("&")}`:e}(this.rasterId,o,l),u=`${e}/${t}/${i}`;let h=w(c,s.registryId,u);if(null==h){const r=new AbortController,o=s.bandIds?.slice();if(o?.length&&n.isBsqTile){const n=new Set(o),l=[],a=Array.from(n);for(const n of a)l.push(this._tileFetchQueue.push({pyramidLevel:e,row:t,col:i,options:{...s,bandIds:[n]}},{signal:r.signal}));h=Promise.all(l).then(e=>{if(e.some(e=>null==e))return null;if(a.length!==o.length){const t=[];for(const i of o){let s=e[a.indexOf(i)];t.includes(s)&&(s=s.clone()),t.push(s)}e=t}return this.rasterJobHandler?this.rasterJobHandler.compositeBands({pixelBlocks:e},{signal:r.signal,transferPixelsToWorker:!0}):(0,C.Wy)(e)})}else h=this._tileFetchQueue.push({pyramidLevel:e,row:t,col:i,options:s},{signal:r.signal});v(c,s.registryId,u,h,r),h.catch(()=>I(c,s.registryId,u))}return s.signal&&(0,a.u7)(s,()=>{b(c,s.registryId,u)}),h}_computeMagDirValues(e){const{bandCount:t,dataType:i}=this.rasterInfo;if((2!==t||"vector-magdir"!==i)&&"vector-uv"!==i||2!==e?.length||!e[0]?.length)return null;const s=e[0].length;if("vector-magdir"===i){const t=e[1].map(e=>(e+360)%360);return[e[0],t]}const[n,r]=e,o=[],l=[];for(let e=0;e<s;e++){const[t,i]=(0,k.Lu)([n[e],r[e]]);o.push(t),l.push(i)}return[o,l]}_getRasterTileAlignmentInfo(e,t){return null==this._rasterTileAlignmentInfo&&(this._rasterTileAlignmentInfo=(0,y.DO)(this.rasterInfo)),null==this._rasterTileAlignmentInfo.pyramidsInfo?null:{startX:t,halfWorldWidth:this._rasterTileAlignmentInfo.halfWorldWidth,hasGCSSShiftTransform:this._rasterTileAlignmentInfo.hasGCSSShiftTransform,...this._rasterTileAlignmentInfo.pyramidsInfo[e]}}_getSourceDataInfo(e,t,i,s={}){const n={datumTransformation:s.datumTransformation,pyramidLevel:0,pyramidResolution:null,srcExtent:null,srcHeight:0,srcResolution:null,srcWidth:0,ul:{x:0,y:0}};s.srcResolution&&(n.srcResolution=s.srcResolution,this._updateSourceDataInfo(e,n));const r=this.rasterInfo.storageInfo.maximumPyramidLevel||0,{srcWidth:o,srcHeight:l,pyramidLevel:a}=n,c=o/t,u=l/i,h=a<r&&c*u>=16,d=a===r&&this._requireTooManySrcTiles(o,l,t,i);if(h||d||0===o||0===l){const o=new p.A({x:(e.xmax-e.xmin)/t,y:(e.ymax-e.ymin)/i,spatialReference:e.spatialReference});let l=(0,y.Wo)(o,this.rasterInfo.spatialReference,e,n.datumTransformation);const d=!l||s.srcResolution&&l.x+l.y<s.srcResolution.x+s.srcResolution.y;if(h&&s.srcResolution&&d){const e=Math.round(Math.log(Math.max(c,u))/Math.LN2)-1;if(r-a+3>=e){const t=2**e;l={x:s.srcResolution.x*t,y:s.srcResolution.y*t}}}l&&(n.srcResolution=l,this._updateSourceDataInfo(e,n))}return this._requireTooManySrcTiles(n.srcWidth,n.srcHeight,t,i)&&(n.srcWidth=0,n.srcHeight=0),n}_requireTooManySrcTiles(e,t,i,s){const{tileInfo:n}=this.rasterInfo.storageInfo,r=e/i,o=t/s;return Math.ceil(e/n.size[0])*Math.ceil(t/n.size[1])>=256*Math.max(1,(i+s)/1024)||r>8||o>8}_updateSourceDataInfo(e,t){t.srcWidth=0,t.srcHeight=0;const{rasterInfo:i}=this,s=i.spatialReference,{srcResolution:n,datumTransformation:r}=t,{pyramidLevel:o,pyramidResolution:l,excessiveReading:a}=(0,y.t$)(n,i,this.ioConfig.sampling);if(a)return;let c=t.srcExtent||(0,y._l)(e,s,r);if(null==c)return;const u=i.transform;u&&(c=u.inverseTransform(c)),t.srcExtent=c;const{origin:h}=i.storageInfo,{width:d,height:p,ul:f}=(0,m.$g)(c,h,l,o);t.pyramidLevel=o,t.pyramidResolution=l,t.srcWidth=d,t.srcHeight=p,t.ul=f}_getRequestOptionsWithSliceId(e){return null!=this.rasterInfo.multidimensionalInfo&&null==e.sliceId&&(e={...e,sliceId:this.getSliceIndex(e.multidimensionalDefinition)}),e}_processIdentifyResult(e,t){const{srcLocation:i,position:s,pyramidLevel:n,useTransposedTile:r}=t,o=e.pixels[0].length/e.width/e.height;if(e.mask&&!e.mask[s])return{location:i,value:null};const{multidimensionalInfo:l}=this.rasterInfo;if(null==l||!r){const t=e.pixels.map(e=>e[s]),r={location:i,value:t,pyramidLevel:n},o=this._computeMagDirValues(t.map(e=>[e]));return o?.length&&(r.magdirValue=o.map(e=>e[0])),r}let a=e.pixels.map(e=>e.slice(s*o,s*o+o)),c=this._computeMagDirValues(a);const{requestSomeSlices:u,identifyOptions:h}=t;let d=(0,g.QW)(l,h.transposedVariableName);if(u){const e=(0,g.xx)(d,h.multidimensionalDefinition,h.timeExtent);a=a.map(t=>e.map(e=>t[e])),c=c?.map(t=>e.map(e=>t[e])),d=e.map(e=>d[e])}const p=e.noDataValues||this.rasterInfo.noDataValue,f={pixels:a,pixelType:e.pixelType};let m;return null!=p&&((0,R.Sp)(f,p),m=f.mask),{location:i,value:null,dataSeries:d.map((e,t)=>{const i={value:0===m?.[t]?null:a.map(e=>e[t]),multidimensionalDefinition:e.multidimensionalDefinition.map(e=>new A.A({...e,isSlice:!0}))};return c?.length&&(i.magdirValue=[c[0][t],c[1][t]]),i}),pyramidLevel:n}}};(0,s.Cg)([(0,u.MZ)()],D.prototype,"_rasterTileAlignmentInfo",void 0),(0,s.Cg)([(0,u.MZ)()],D.prototype,"_tileFetchQueue",void 0),(0,s.Cg)([(0,u.MZ)({readOnly:!0})],D.prototype,"_isGlobalWrappableSource",null),(0,s.Cg)([(0,u.MZ)({readOnly:!0})],D.prototype,"_hasNoneOrGCSShiftTransform",null),(0,s.Cg)([(0,u.MZ)()],D.prototype,"_openPromise",void 0),(0,s.Cg)([(0,u.MZ)()],D.prototype,"rasterJobHandler",null),(0,s.Cg)([(0,u.MZ)({readOnly:!0})],D.prototype,"rasterId",null),(0,s.Cg)([(0,u.MZ)(T.OZ)],D.prototype,"url",null),(0,s.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],D.prototype,"datasetName",void 0),(0,s.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],D.prototype,"datasetFormat",void 0),(0,s.Cg)([(0,u.MZ)()],D.prototype,"hasUniqueSourceStorageInfo",void 0),(0,s.Cg)([(0,u.MZ)()],D.prototype,"rasterInfo",void 0),(0,s.Cg)([(0,u.MZ)()],D.prototype,"ioConfig",void 0),(0,s.Cg)([(0,u.MZ)()],D.prototype,"sourceJSON",void 0),D=(0,s.Cg)([(0,u.$K)("esri.layers.raster.datasets.BaseRaster")],D)},72802(e,t,i){i.d(t,{U:()=>n});var s=i(19419);class n{constructor(e,t,i,n=(0,s.vt)()){this._level=e,this._row=t,this._col=i,this.extent=n}get id(){return this._id??=`${this.level}/${this.row}/${this.col}`,this._id}get level(){return this._level}set level(e){this._level=e,this._id=null}get row(){return this._row}set row(e){this._row=e,this._id=null}get col(){return this._col}set col(e){this._col=e,this._id=null}toJSON(){return{level:this._level,row:this._row,col:this._col,extent:this.extent}}static fromJSON(e){return new n(e.level,e.row,e.col,e.extent)}}},87045(e,t,i){i.d(t,{A:()=>_});var s,n=i(31635),r=i(66552),o=i(25482),l=i(86211),a=i(91429),c=i(56507),u=i(86738),h=i(16930),d=i(21325),p=i(28735),f=i(91806),m=i(72802),g=i(36005),y=i(43937);const x=new r.J({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let _=class extends o.o{static{s=this}static create(e={}){const{resolutionFactor:t=1,scales:i,size:n=256,spatialReference:r=h.A.WebMercator,numLODs:o=24}=e;if(!(0,d.fn)(r)){const e=[];if(i)for(let t=0;t<i.length;t++){const s=i[t];e.push(new f.A({level:t,scale:s,resolution:s}))}else{let t=5e-4;for(let i=o-1;i>=0;i--)e.unshift(new f.A({level:i,scale:t,resolution:t})),t*=2}return new s({dpi:96,lods:e,origin:new u.A(0,0,r),size:[n,n],spatialReference:r})}const a=(0,d.Vp)(r),c=e.origin?new u.A({x:e.origin.x,y:e.origin.y,spatialReference:r}):new u.A(a?{x:a.origin[0],y:a.origin[1],spatialReference:r}:{x:0,y:0,spatialReference:r}),p=1/(39.37*(0,l.GA)(r)*96),m=[];if(i)for(let e=0;e<i.length;e++){const t=i[e],s=t*p;m.push(new f.A({level:e,scale:t,resolution:s}))}else{let e=(0,d.EA)(r)?512/n*591657527.5917094:256/n*591657527.591555;const i=Math.ceil(o/t);m.push(new f.A({level:0,scale:e,resolution:e*p}));for(let s=1;s<i;s++){const i=e/2**t,n=i*p;m.push(new f.A({level:s,scale:i,resolution:n})),e=i}}return new s({dpi:96,lods:m,origin:c,size:[n,n],spatialReference:r})}constructor(e){super(e),this.dpi=96,this.format=null,this.origin=null,this.size=null,this.spatialReference=null}get isWrappable(){const{spatialReference:e,origin:t}=this;if(e&&t){const i=(0,d.Vp)(e);return e.isWrappable&&!!i&&Math.abs(i.origin[0]-t.x)<=i.dx}return!1}readOrigin(e,t){return u.A.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,i=0;const s=[],n=this._levelToLOD={};e&&(t=-1/0,i=1/0,e.forEach(e=>{s.push(e.scale),t=e.scale>t?e.scale:t,i=e.scale<i?e.scale:i,n[e.level]=e})),this._set("scales",s),this._set("lods",e),this._initializeUpsampleLevels()}readSize(e,t){return[t.cols,t.rows]}writeSize(e,t){t.cols=e[0],t.rows=e[1]}zoomToScale(e){const t=this.scales;if(e<=0)return t[0];if(e>=t.length-1)return t[t.length-1];const i=Math.floor(e),s=i+1;return t[i]/(t[i]/t[s])**(e-i)}scaleToZoom(e){const t=this.scales,i=t.length-1;let s=0;for(;s<i;s++){const i=t[s],n=t[s+1];if(i<=e)return s;if(n===e)return s+1;if(i>e&&n<e)return s+Math.log(i/e)/Math.log(i/n)}return s}tileAt(e,t,i,s){const n=this.lodAt(e);if(!n)return null;let r,o;if("number"==typeof t)r=t,o=i;else if((0,d.aI)(t.spatialReference,this.spatialReference))r=t.x,o=t.y,s=i;else{const e=(0,p.Cv)(t,this.spatialReference);if(null==e)return null;r=e.x,o=e.y,s=i}const l=n.resolution*this.size[0],a=n.resolution*this.size[1];return s??=new m.U(0,0,0),s.level=e,s.row=Math.floor((this.origin.y-o)/a+.001),s.col=Math.floor((r-this.origin.x)/l+.001),this.updateTileInfo(s),s}updateTileInfo(e,t=0){if(!("extent"in e))return!1;let i=this.lodAt(e.level);if(!i&&1===t){const t=this.lods[this.lods.length-1];t.level<e.level&&(i=t)}if(!i)return!1;const s=e.level-i.level,n=i.resolution*this.size[0]/2**s,r=i.resolution*this.size[1]/2**s;return e.extent[0]=this.origin.x+e.col*n,e.extent[1]=this.origin.y-(e.row+1)*r,e.extent[2]=e.extent[0]+n,e.extent[3]=e.extent[1]+r,!0}upsampleTile(e){const t=this._upsampleLevels[e.level];return!(!t||-1===t.parentLevel||(e.level=t.parentLevel,e.row=Math.floor(e.row/t.factor+.001),e.col=Math.floor(e.col/t.factor+.001),this.updateTileInfo(e),0))}getTileBounds(e,t){const i=this.lodAt(t.level);if(null==i)return null;const{resolution:s}=i,n=s*this.size[0],r=s*this.size[1];return e[0]=this.origin.x+t.col*n,e[1]=this.origin.y-(t.row+1)*r,e[2]=e[0]+n,e[3]=e[1]+r,e}lodAt(e){return this._levelToLOD?.[e]??null}clone(){return s.fromJSON(this.write({}))}getCompatibleForVTL(e){if(this.size[0]!==this.size[1]||256===this.size[0]&&512===e)return null;const t=(512===this.size[0]&&256===e?-1:0)+(this.spatialReference.isGeographic?1:0);if(this.size[0]===e&&0===t)return this;const i=[],n=this.lods.length-t;for(let e=0;e<n;e++){const s=e+t,{scale:n,resolution:r}=s>=0?this.lods[s]:{scale:2*this.lods[0].scale,resolution:2*this.lods[0].resolution};i.push(new f.A({level:e,scale:n,resolution:r}))}return new s({size:[e,e],dpi:this.dpi,format:this.format,compressionQuality:this.compressionQuality,origin:this.origin,spatialReference:this.spatialReference,lods:i})}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let i=0;i<e.length;i++){const s=e[i];this._upsampleLevels[s.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/s.resolution:0},t=s}}};(0,n.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],_.prototype,"compressionQuality",void 0),(0,n.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],_.prototype,"dpi",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{read:x.read,write:x.write,origins:{"web-scene":{read:!1,write:!1}}}})],_.prototype,"format",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],_.prototype,"isWrappable",null),(0,n.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],_.prototype,"origin",void 0),(0,n.Cg)([(0,g.w)("origin")],_.prototype,"readOrigin",null),(0,n.Cg)([(0,a.MZ)({type:[f.A],value:null,json:{write:!0}})],_.prototype,"lods",null),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],_.prototype,"scales",void 0),(0,n.Cg)([(0,a.MZ)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],_.prototype,"size",void 0),(0,n.Cg)([(0,g.w)("size",["rows","cols"])],_.prototype,"readSize",null),(0,n.Cg)([(0,y.K)("size",{cols:{type:c.jz},rows:{type:c.jz}})],_.prototype,"writeSize",null),(0,n.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],_.prototype,"spatialReference",void 0),_=s=(0,n.Cg)([(0,a.$K)("esri.layers.support.TileInfo")],_)},89015(e,t,i){i.d(t,{o:()=>D});var s=i(31635),n=i(11254),r=i(49186),o=i(53966),l=i(91429),a=i(56507),c=i(86738),u=i(16930),h=i(21325),d=i(7548),p=i(23636),f=i(4366),m=i(34930),g=i(8144),y=i(37373),x=i(51927),_=i(60694),b=i(10873),w=i(45617),v=i(43577),I=i(13868),R=i(22796),S=i(87045),C=i(12711),k=i(85676),M=i(94359),T=i(22048),A=i(49410),z=i(34606),P=i(51508),F=i(93223),B=i(36005);const D=e=>{const t=e;let D=class extends t{constructor(...e){super(...e),this._isConstructedFromFunctionRaster=!1,this.bandIds=null,this.copyright=null,this.interpolation=null,this.multidimensionalSubset=null,this.raster=null,this.serviceRasterInfo=null,this.sourceJSON=null,this.spatialReference=null,this.symbolizer=null,this._isConstructedFromFunctionRaster=(0,d.qg)(e[0]?.raster)}destroy(){this._shutdownJobHandler()}get fullExtent(){return this.serviceRasterInfo?.extent}set multidimensionalDefinition(e){this._set("multidimensionalDefinition",e),this.updateRenderer()}set rasterFunction(e){"none"===e?.functionName?.toLowerCase()&&(e=void 0),this._set("rasterFunction",e),this.updateRasterFunction()}set url(e){this._set("url",(0,_.Jf)(e,o.A.getLogger(this)))}get renderer(){if("imagery-tile"!==this.type)return this.internalRenderer;const{activePresetRendererName:e,presetRenderers:t}=this;if(e){const i=t?.find(({name:t})=>t===e);return i?.renderer.clone()}return this.internalRenderer}set renderer(e){"imagery-tile"===this.type&&(this.activePresetRendererName=null),this.internalRenderer=e}set internalRenderer(e){null==e&&null==this.rasterFunction?this._configDefaultRenderer("override"):(this._set("internalRenderer",e),this.updateRenderer())}readRenderer(e,t,i){const s=t?.layerDefinition?.drawingInfo?.renderer;return(0,M.LF)(s,i)||void 0}async computeStatisticsHistograms(e,t){await this.load(t),e=(0,a.PZ)(T.A,e).clone();const{serviceRasterInfo:i}=this;if(null==i)throw new r.A("imagery-tile-mixin:compute-statistics-histograms","serviceRasterInfo must be specified");const{geometry:s}=e;if(null==s)throw new r.A("imagery-tile-mixin:compute-statistics-histograms","geometry must be specified");let n=s;const{spatialReference:o}=i;if(!s.spatialReference.equals(o)){await(0,y.Hh)();const e="extent"===s.type?(0,y._l)(s,o):(0,y.uk)(s,o);if(null==e)throw new r.A("imagery-tile-mixin:compute-statistics-histograms","geometry cannot be projected to the data source");n=e}const l=e.pixelSize??new c.A({x:i.pixelSize.x,y:i.pixelSize.y,spatialReference:o}),{extent:u,width:h,height:d}=(0,m.b7)(i,n,l),p=await this.fetchPixels(u,h,d,{...t,interpolation:"nearest"});if(null==p.pixelBlock)throw new r.A("imagery-tile-mixin:compute-statistics-histograms","failed to fetch pixels");const f=await(0,m.$Q)(p.pixelBlock,u,n),g=this._rasterJobHandler;return g?g.computeStatisticsHistograms({pixelBlock:f},t):(0,x.eH)(f)}normalizeRasterFetchOptions(e){const{multidimensionalInfo:t}=this.serviceRasterInfo??{};if(null==t)return e;const i=(0,f.XU)({rasterInfo:this.raster.rasterInfo,multidimensionalDefinition:e.multidimensionalDefinition||this.multidimensionalDefinition,timeExtent:e.timeExtent??this.timeExtent,multidimensionalSubset:this.multidimensionalSubset});return{...e,multidimensionalDefinition:i,timeExtent:void 0}}async updateRasterFunction(){return this.loaded&&"imagery-tile"===this.type&&(this.rasterFunction||this._cachedRasterFunctionJson)&&JSON.stringify(this.rasterFunction)!==JSON.stringify(this._cachedRasterFunctionJson)?(this._cachedRasterFunctionJson=this.rasterFunction?.toJSON(),this._rasterFunctionUpdatePromise=this._updateRasterFunction(),this._rasterFunctionUpdatePromise):this._rasterFunctionUpdatePromise}async updateRenderer(){const{loaded:e,symbolizer:t,renderer:i}=this;if(!e||!t||!i)return;const{rasterInfo:s}=this.raster,n=(0,f.ct)(s,{multidimensionalDefinition:this.multidimensionalDefinition,multidimensionalSubset:this.multidimensionalSubset}),r=n?.name,o=(0,C.m7)(s,r);return this._updateSymbolizer(t,i,r,o)}async applyRenderer(e,t,i){const s=e?.pixelBlock;if(!(null!=s&&s.pixels&&s.pixels.length>0))return null;await this.updateRenderer();const n=this.bandIds??[],{pixelBlock:r}=await this._symbolize({pixelData:e,simpleStretchParams:t,bandIds:n,symbolizer:this.symbolizer},i);return r}getRawDisplayBandIds(){let{bandIds:e,raster:t}=this;if(this.rasterFunction&&(0,d.qg)(t)){const i=t.rasterFunction.rawInputBandIds;e=e?.length&&i?.length&&1!==t.rasterInfo.bandCount?e.map(e=>i[Math.min(e,i.length-1)]):i}return e&&e.length>3&&e.every((e,t)=>e===t)?null:e}getTileUrl(e,t,i){return"RasterTileServer"===this.raster.datasetFormat?`${this.url}/tile/${e}/${t}/${i}`:""}getCompatibleTileInfo(e,t,i=!1){if(!this.loaded||null==t)return null;if(i&&e.equals(this.spatialReference))return this.tileInfo;const s=(0,h.Vp)(e);return S.A.create({size:256,spatialReference:e,origin:s?{x:s.origin[0],y:s.origin[1]}:{x:t.xmin,y:t.ymax}})}getCompatibleFullExtent(e){return this.loaded?(this._compatibleFullExtent?.spatialReference.equals(e)||(this._compatibleFullExtent=this.raster.computeExtent(e)),this._compatibleFullExtent):null}async fetchTile(e,t,i,s={}){if(N(this),s.requestAsImageElement){const r=this.getTileUrl(e,t,i);return(0,n.A)(r,{responseType:"image",query:{...this.refreshParameters,...this.raster.ioConfig.customFetchParameters},signal:s.signal}).then(e=>e.data)}const{serviceRasterInfo:r}=this;if(null!=r.multidimensionalInfo&&null==(s=this.normalizeRasterFetchOptions(s)).multidimensionalDefinition){const n=s.tileInfo||r.storageInfo.tileInfo,o=this.raster.getTileExtentFromTileInfo(e,t,i,n);if(o)return{extent:o,pixelBlock:null}}return await this._initJobHandler(),await this.updateRasterFunction(),"raster-shaded-relief"===this.renderer?.type&&(s={...s,buffer:{cols:1,rows:1}}),this.raster.fetchTile(e,t,i,s)}async fetchPixels(e,t,i,s={}){if(null!=this.serviceRasterInfo.multidimensionalInfo&&null==(s=this.normalizeRasterFetchOptions(s)).multidimensionalDefinition)return{extent:e,pixelBlock:null};await this._initJobHandler(),await this.updateRasterFunction(),t=Math.round(t),i=Math.round(i);const n=await this.raster.fetchPixels(e,t,i,s);return s.bandIds?.length&&!this.raster.rasterInfo.storageInfo.isBsqTile&&(n.pixelBlock=n.pixelBlock?.extractBands(s.bandIds)),n}async getSamples(e,t){if(await this.load(),(e=(0,a.PZ)(z.A,e).clone()).interpolation&&"nearest"!==e.interpolation)throw new r.A("imagery-tile-mixin:get-samples","only nearest interpolation is currently supported");const i=e.mosaicRule?.multidimensionalDefinition,s={...t,multidimensionalDefinition:i},n=(await this._getSampleLocations(e)).map(e=>this.identify(e,s).then(t=>(t.location=e,t))),o=(await Promise.all(n)).flatMap((e,t)=>this._convertRasterIdentifyResultToSample(e,t));return new P.A({samples:o})}async identify(e,t={}){await this.load(),e=(0,a.PZ)(c.A,e).clone().normalize();const{raster:i,serviceRasterInfo:s}=this;if(null!=s?.multidimensionalInfo&&(!s.hasMultidimensionalTranspose||!(0,f.DY)(t.multidimensionalDefinition)&&!t.transposedVariableName)&&null==(t=this.normalizeRasterFetchOptions(t)).multidimensionalDefinition)return{location:e,value:null};const n=this.multidimensionalSubset?.areaOfInterest;if(n&&!n.contains(e))throw new r.A("imagery-tile-mixin:identify","the request cannot be fulfilled when falling outside of the multidimensional subset");let o;if(this.serviceRasterInfo?.storageInfo.isBsqTile){const e=(0,d.qg)(i)?this.getRawDisplayBandIds():this.bandIds;o=e?.length?e:void 0}return i.identify(e,{...t,bandIds:o})}hasStandardTime(){const e=this.serviceRasterInfo?.multidimensionalInfo;if(null==e||"standard-time"!==this.serviceRasterInfo?.dataType)return!1;const t=this.multidimensionalDefinition,i=t?.[0]?.variableName;return e.variables.some(e=>e.name===i&&(!t?.[0].dimensionName||e.dimensions.some(e=>"StdTime"===e.name)))}getStandardTimeValue(e){return new Date((0,f.$E)(e)).toISOString()}getMultidimensionalSubsetVariables(e){const t=e??this.serviceRasterInfo?.multidimensionalInfo;return(0,f.z2)(this.multidimensionalSubset,t)}_configDefaultSettings(){this._configDefaultInterpolation(),this.multidimensionalDefinition||(this.multidimensionalDefinition=(0,f.fy)(this.raster.rasterInfo,{multidimensionalSubset:this.multidimensionalSubset})),this.rasterFunction&&(0,d.qg)(this.raster)&&(this._cachedRasterFunctionJson=this.rasterFunction.toJSON()),this._configDefaultRenderer()}async _initJobHandler(){if(!this._rasterJobHandler)return super._initJobHandler().then(async()=>{if(!this._rasterJobHandler)return;N(this);const{raster:e}=this;e.rasterJobHandler=this._rasterJobHandler,(0,d.qg)(e)&&e.syncJobHandler(),this.rasterFunction&&await this.updateRasterFunction().catch(()=>{}),this.renderer&&this.updateRenderer()}).catch(()=>{})}_shutdownJobHandler(){super._shutdownJobHandler(),this.raster&&(this.raster.rasterJobHandler=null)}async _getSampleLocations(e){const{geometry:t}=e;if("point"===t.type)return[t];const{spatialReference:s,type:n}=t;if("multipoint"===n)return t.points.map(e=>new c.A({x:e[0],y:e[1],spatialReference:s}));if("polyline"===n){let n=t;if(e.sampleCount||e.sampleDistance){const s=await Promise.all([i.e(3661),i.e(1878),i.e(5756),i.e(3299),i.e(5076)]).then(i.bind(i,88411)),r=(await Promise.all([i.e(3661),i.e(1878),i.e(5756),i.e(3299),i.e(2834)]).then(i.bind(i,965))).execute(t,{unit:"meters"}),o=Math.min(e.sampleCount||100,1e3);let l=e.sampleDistance;l||(l=r/(o+(2===n.paths[0].length?1:0))),n=s.execute(t,l,{unit:"meters"})}return n.paths.flatMap(e=>e.map(e=>new c.A({x:e[0],y:e[1],spatialReference:s})))}const r=Math.min(e.sampleCount||100,1e3),o="extent"===t.type,l=o?t:t.extent,a=Math.sqrt(l.width*l.height/r),u=l.height/a,h=l.width/a,{xmin:d,ymax:p}=l,f=[];for(let e=0;e<u;e++)for(let i=0;i<h;i++){const n=new c.A({x:d+(i+.5)*a,y:p-(e+.5)*a,spatialReference:s});(o||t.contains(n))&&f.push(n)}return f}_configDefaultInterpolation(){if(null==this.interpolation){N(this);const{raster:e}=this,t=(0,C.w6)(e.rasterInfo,e.tileType,this.sourceJSON?.defaultResamplingMethod);this._set("interpolation",t)}}_configDefaultRenderer(e="no"){N(this);const{rasterInfo:t}=this.raster,i=(0,f.ct)(t,{multidimensionalDefinition:this.multidimensionalDefinition,multidimensionalSubset:this.multidimensionalSubset}),s=i?.name,n=(0,C.I8)({variableName:s,rasterFunctionName:this.rasterFunction?.functionName,presetRenderers:this.presetRenderers});if(!this.bandIds&&t.bandCount>1&&(this.bandIds=n?.bandIds??(0,C.ci)(t)),!this.renderer||"override"===e){const e=(0,C.Mm)(this.raster),i=n?.renderer??(0,C.PD)(t,{bandIds:this.bandIds,variableName:s,rasterFunctionColorRamp:e}),r=t.statistics,o=r&&r.length>0?r[0]:null,l=o?.max??0,a=o?.min??0;"WCSServer"===this.raster.datasetFormat&&"raster-stretch"===i.type&&(l>1e24||a<-1e24)&&(i.dynamicRangeAdjustment=!0,i.customStatistics=null,"none"===i.stretchType&&(i.stretchType="min-max")),this.renderer=i}const r=(0,C.$P)({...this.renderer.toJSON(),variableName:s}),l=(0,C.m7)(t,s);this.symbolizer?(this.symbolizer.rendererJSON=r,this.symbolizer.rasterInfo=l):this.symbolizer=new k.A({rendererJSON:r,rasterInfo:l});const a=this.symbolizer.bind();if(a.success){if("auto"===e){const{colormap:e}=this.raster.rasterInfo,t=this.renderer;if(null!=e&&"raster-colormap"===t.type){const e=(0,C.PD)(this.raster.rasterInfo);JSON.stringify(e)!==JSON.stringify(t)&&this._configDefaultRenderer("override")}else if("raster-stretch"===t.type){const e=this.bandIds?.length,i=t.customStatistics?.length;!t.dynamicRangeAdjustment&&i&&e&&i!==e&&this._configDefaultRenderer("override")}}}else o.A.getLogger(this).warn("imagery-tile-mixin",a.error||"The given renderer is not supported by the layer."),"auto"===e&&this._configDefaultRenderer("override")}async _updateRasterFunction(){if(this._isConstructedFromFunctionRaster&&(0,d.qg)(this.raster)){const e=this.raster.rasterFunction.toJSON();return void(!this.rasterFunction&&e&&this._set("rasterFunction",R.A.fromJSON(e)))}let e,t=this.raster,i=!1;(0,d.qg)(t)?(e=t.primaryRasters.rasters,t=e[0],i=!0):e=[t];const{rasterFunction:s}=this;if(s){const i={raster:t};e.length>1&&e.forEach(e=>i[e.url]=e);const n=(0,g.vt)(s.functionDefinition?.toJSON()??s.toJSON(),i),r=new p.A({rasterFunction:n});r.rasterJobHandler=this._rasterJobHandler,await r.open(),this.raster=r}else this.raster=t,await t.open();if(this._cachedRendererJson=void 0,!i&&!s)return;const{bandIds:n}=this,{bandCount:r}=this.raster.rasterInfo,o=n?.length?n.some(e=>e>=r):r>=3;n&&(o||this.renderer&&"raster-stretch"!==this.renderer.type)&&this._set("bandIds",null),this._configDefaultRenderer("auto")}_convertRasterIdentifyResultToSample(e,t){const{rasterInfo:i}=this.raster,s=i.storageInfo.pyramidScalingFactor**(e.pyramidLevel??0),n=(i.pixelSize.x+i.pixelSize.y)/2*s;if(!e.dataSeries?.length)return[new A.A({location:e.location,pixelValue:e.value,locationId:t,resolution:n})];const r=[];return e.dataSeries.forEach(({value:i,multidimensionalDefinition:s},o)=>{const l={Variables:s[0].variableName,Dimensions:s.flatMap(({dimensionName:e})=>e).join(",")};for(const{dimensionName:e,values:t}of s){l[e]=Array.isArray(t[0])?t[0][0]:t[0];const i=t[t.length-1];l[`${e}_Max`]=Array.isArray(i)?i[i.length-1]:i}const a=new A.A({location:e.location,pixelValue:i,rasterId:o,locationId:t,resolution:n,attributes:l});r.push(a)}),r}};function N(e){if(!e.raster||!e.serviceRasterInfo)throw new r.A("imagery-tile","no raster")}return(0,s.Cg)([(0,l.MZ)({clonable:!1})],D.prototype,"_cachedRasterFunctionJson",void 0),(0,s.Cg)([(0,l.MZ)({clonable:!1})],D.prototype,"_compatibleFullExtent",void 0),(0,s.Cg)([(0,l.MZ)({clonable:!1})],D.prototype,"_isConstructedFromFunctionRaster",void 0),(0,s.Cg)([(0,l.MZ)({clonable:!1})],D.prototype,"_rasterFunctionUpdatePromise",void 0),(0,s.Cg)([(0,l.MZ)({type:[a.jz],json:{write:{overridePolicy(){return{enabled:!this.loaded||"Raster"===this.raster.tileType||"0,1,2"!==this.bandIds?.join(",")}}}}})],D.prototype,"bandIds",void 0),(0,s.Cg)([(0,l.MZ)({json:{origins:{service:{read:{source:"copyrightText"}}}}})],D.prototype,"copyright",void 0),(0,s.Cg)([(0,l.MZ)({json:{read:!1}})],D.prototype,"fullExtent",null),(0,s.Cg)([(0,l.MZ)({json:{write:{overridePolicy(){return{enabled:!this.loaded||"Raster"===this.raster.tileType||"bilinear"!==this.interpolation}}}}}),(0,F.e)(I.SZ)],D.prototype,"interpolation",void 0),(0,s.Cg)([(0,l.MZ)()],D.prototype,"ioConfig",void 0),(0,s.Cg)([(0,l.MZ)({type:[w.A],json:{write:!0}})],D.prototype,"multidimensionalDefinition",null),(0,s.Cg)([(0,l.MZ)({type:v.A,json:{write:!0}})],D.prototype,"multidimensionalSubset",void 0),(0,s.Cg)([(0,l.MZ)()],D.prototype,"raster",void 0),(0,s.Cg)([(0,l.MZ)({type:R.A})],D.prototype,"rasterFunction",null),(0,s.Cg)([(0,l.MZ)()],D.prototype,"serviceRasterInfo",void 0),(0,s.Cg)([(0,l.MZ)()],D.prototype,"sourceJSON",void 0),(0,s.Cg)([(0,l.MZ)({readOnly:!0,type:u.A,json:{read:!1}})],D.prototype,"spatialReference",void 0),(0,s.Cg)([(0,l.MZ)({type:S.A})],D.prototype,"tileInfo",void 0),(0,s.Cg)([(0,l.MZ)(b.OZ)],D.prototype,"url",null),(0,s.Cg)([(0,l.MZ)({types:M.uy})],D.prototype,"renderer",null),(0,s.Cg)([(0,l.MZ)({types:M.uy,json:{name:"layerDefinition.drawingInfo.renderer",write:{overridePolicy(){const e="raster-stretch"===this.renderer?.type&&"none"===this.renderer.stretchType&&!this.renderer.useGamma;return{enabled:!this.loaded||"Raster"===this.raster.tileType||!e}}},origins:{"web-scene":{types:M.Gj,name:"layerDefinition.drawingInfo.renderer",write:{overridePolicy:e=>({enabled:e&&"vector-field"!==e.type})}}}}})],D.prototype,"internalRenderer",null),(0,s.Cg)([(0,B.w)("internalRenderer")],D.prototype,"readRenderer",null),(0,s.Cg)([(0,l.MZ)({clonable:!1})],D.prototype,"symbolizer",void 0),D=(0,s.Cg)([(0,l.$K)("esri.layers.mixins.ImageryTileMixin")],D),D}},91806(e,t,i){i.d(t,{A:()=>a});var s,n=i(31635),r=i(25482),o=i(91429),l=i(56507);let a=class extends r.o{static{s=this}constructor(e){super(e),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new s({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,n.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],a.prototype,"cols",void 0),(0,n.Cg)([(0,o.MZ)({type:l.jz,json:{write:!0}})],a.prototype,"level",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"levelValue",void 0),(0,n.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],a.prototype,"origin",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"resolution",void 0),(0,n.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],a.prototype,"rows",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"scale",void 0),a=s=(0,n.Cg)([(0,o.$K)("esri.layers.support.LOD")],a)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2561],{4146(e,t,r){r.d(t,{A:()=>v});var i=r(31635),o=r(11254),s=r(49186),n=r(65529),l=r(4902),a=r(92474),p=r(53966),u=r(74887),d=r(84952),c=r(91429),y=r(5443),h=r(16930),g=r(92602),f=r(79677);let m=0,v=class extends((0,n.Zt)((0,l.s)(a.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new y.A(-180,-90,180,90,h.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+m++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=h.A.WGS84,this.title=null,this.type=null,this.url=null,this.visibilityTimeExtent=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await Promise.all([r.e(812),r.e(7982)]).then(r.bind(r,27982))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},{fromItem:i}=await Promise.all([r.e(812),r.e(5613),r.e(5710)]).then(r.bind(r,45613));try{return await i(t)}catch(e){const r=t?.portalItem,i=r?.id||"unset",o=r?.portal?.url||g.A.portalUrl;throw p.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+o+"', id: '"+i+"')",e),e}}(e)}initialize(){this.when().catch(e=>{(0,u.zf)(e)||p.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})})}destroy(){const{parent:e}=this;e&&(this.parent=null,e.removeChildLayer?.(this))}get effectiveVisible(){return this.visible&&(this.parent?.effectiveVisible??!0)}get hasAttributionData(){return null!=this.attributionDataUrl}get loaded(){return super.loaded}removeFromParent(){const{parent:e}=this;e&&(e.removeChildLayer?.(this),this.parent=null)}get parsedUrl(){return(0,d.An)(this.url)}createLayerView(e,t){return Promise.reject(new s.A("layer:create-layer-view","Layer does not support creating a layer view"))}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,o.A)(e,{query:{f:"json"},responseType:"json"})).data;throw new s.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,i.Cg)([(0,c.MZ)({type:String})],v.prototype,"attributionDataUrl",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],v.prototype,"effectiveVisible",null),(0,i.Cg)([(0,c.MZ)({type:y.A})],v.prototype,"fullExtent",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],v.prototype,"hasAttributionData",null),(0,i.Cg)([(0,c.MZ)({type:String,clonable:!1})],v.prototype,"id",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean,nonNullable:!0})],v.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:["show","hide","hide-children"]})],v.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],v.prototype,"opacity",void 0),(0,i.Cg)([(0,c.MZ)({clonable:!1})],v.prototype,"parent",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],v.prototype,"parsedUrl",null),(0,i.Cg)([(0,c.MZ)({type:Boolean,readOnly:!0})],v.prototype,"persistenceEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean})],v.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean})],v.prototype,"attributionVisible",void 0),(0,i.Cg)([(0,c.MZ)({type:h.A})],v.prototype,"spatialReference",void 0),(0,i.Cg)([(0,c.MZ)({type:String})],v.prototype,"title",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0,json:{read:!1}})],v.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)()],v.prototype,"url",void 0),(0,i.Cg)([(0,c.MZ)({type:f.A})],v.prototype,"visibilityTimeExtent",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean,nonNullable:!0})],v.prototype,"visible",void 0),v=(0,i.Cg)([(0,c.$K)("esri.layers.Layer")],v)},4902(e,t,r){r.d(t,{s:()=>n});var i=r(31635),o=r(64108);let s=0;const n=e=>{const t=e;let r=class extends t{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+s++})}};return r=(0,i.Cg)([(0,o.$)("esri.core.Identifiable")],r),r};n(class{})},16215(e,t,r){r.d(t,{S:()=>o,Y:()=>i});const i=Symbol("BasemapInstance");function o(e){return null!=e&&"object"==typeof e&&i in e}},16494(e,t,r){r.d(t,{Nd:()=>l,W5:()=>n});var i=r(37330);const o=["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"],n=new i.I({whiteList:o,onTagAttr:(e,t,r)=>{const i=`${t}="${r}"`;if(s.includes(t))return i},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),l=new i.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},17311(e,t,r){r.d(t,{A:()=>y});var i=r(31635),o=r(69622),s=r(4576),n=r(60999),l=r(7762),a=r(16494),p=r(91429),u=r(30524),d=r(43668);const c=/<br\s*\/*>/gi;let y=class extends o.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,n.UT)(()=>(0,d.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 l.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const 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("."),i=this.fieldsIndex.get(r.at(-1)??"");i&&e.add(i.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 i=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],r)).get(i)??""}async getTitles(e,t,r){const i=new Map,o=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:n,workingTitle:l}=this,p=l&&n;t.forEach(t=>{const u=t.getObjectId()??t.attributes[e.objectIdField];let d=p?s({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:n,globalAttributes:this._createFormattedAttributes(e,t,o).global,layer:e,text:l}):"";r?.removeHTML&&(d=a.Nd.sanitize(d).replaceAll(c," ")),i.set(u,d)})}catch{}return i}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,u.Kl)(e,this.requiredFields))){const i=e.createQuery();i.where="1=1",i.outFields=[...this.requiredFields],i.objectIds=r;const o=await e.queryFeatures(i);if(o?.features.length===t.length)return o.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),i=e?.name??r.fieldName;r.fieldName=i,t.set(i.toLowerCase(),r)}return t}_createFormattedAttributes(e,t,r="system"){const i=this.effectivePopupTemplate?.fieldInfos??[],o={};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{o[`expression/${e.name}`]=e.func({vars:{$feature:r}})}catch{}}const s={...t.attributes,...o};return{global:this._featureUtils.formatAttributes({fieldInfos:i,attributes:s,graphic:t,timeZone:r,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,u.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,i.Cg)([(0,p.MZ)({readOnly:!0})],y.prototype,"_arcadeTask",null),(0,i.Cg)([(0,p.MZ)()],y.prototype,"_featureUtils",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],y.prototype,"featureUtilsPromise",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],y.prototype,"calculatedExpressions",null),(0,i.Cg)([(0,p.MZ)()],y.prototype,"displayField",void 0),(0,i.Cg)([(0,p.MZ)()],y.prototype,"effectivePopupTemplate",void 0),(0,i.Cg)([(0,p.MZ)()],y.prototype,"expressionsUsedInTitle",null),(0,i.Cg)([(0,p.MZ)()],y.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,p.MZ)()],y.prototype,"fieldInfoMap",null),(0,i.Cg)([(0,p.MZ)()],y.prototype,"fields",void 0),(0,i.Cg)([(0,p.MZ)()],y.prototype,"objectIdField",void 0),(0,i.Cg)([(0,p.MZ)()],y.prototype,"requiredFields",null),y=(0,i.Cg)([(0,p.$K)("esri.layers.support.TitleCreator")],y)},22671(e,t,r){r.d(t,{A:()=>v});var i,o=r(31635),s=r(52106),n=r(66552),l=r(25482),a=r(4718),p=r(91429),u=r(16930),d=r(60408),c=r(65864),y=r(50498),h=r(20437),g=r(36005),f=r(43937);const m=new n.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=i=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,r,i){if(e)return void m.write(e,t,r,i);const{features:o}=this;if(o)for(const e of o)if(null!=e?.geometry)return void m.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,i=(0,c.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=u.A.fromJSON(t.spatialReference)),i}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 i(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const i=t.features[r];if(i.geometry){const t=e?.[r];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,r],translate:[i,o]}=e,s=this.features,n=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((o-e)/r));for(let e=0,t=s.length;e<t;e++)n?.(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:[i,o],scale:[s,n]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const p=this._getHydrationFunction(e,e=>e*s+i,e=>o-e*n,l,a);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const i=u.A.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){const s=e[t],n=r.fromJSON(s),l=s.geometry?.spatialReference;null==n.geometry||l||(n.geometry.spatialReference=i);const a=s.aggregateGeometries,p=n.aggregateGeometries;if(a&&null!=p)for(const e in p){const t=p[e],r=a[e],o=r?.spatialReference;null==t||o||(t.spatialReference=i)}o.push(n)}return o}_quantizePoints(e,t,r){let i,o;const s=[];for(let n=0,l=e.length;n<l;n++){const l=e[n];if(n>0){const e=t(l[0]),n=r(l[1]);e===i&&n===o||(s.push([e-i,n-o]),i=e,o=n)}else i=t(l[0]),o=r(l[1]),s.push([i,o])}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 i=(0,d.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,s=i.length;e<s;e++){const s=i[e],n=this._quantizePoints(s,t,r);n&&o.push(n)}return o.length>0?((0,d.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,o){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,d.Bi)(e)?e.rings:e.paths;let n,l;for(let e=0,i=s.length;e<i;e++){const i=s[e];for(let e=0,o=i.length;e<o;e++){const o=i[e];e>0?(n+=o[0],l+=o[1]):(n=o[0],l=o[1]),o[0]=t(n),o[1]=r(l)}}if(i&&o)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]),r[3]=o(r[3])}}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])}}else if(o)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]=o(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),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let n,l;for(let e=0,i=s.length;e<i;e++){const i=s[e];e>0?(n+=i[0],l+=i[1]):(n=i[0],l=i[1]),i[0]=t(n),i[1]=r(l)}if(i&&o)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2]),t[3]=o(t[3])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}else if(o)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=o(t[2])}}:null}};(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,o.Cg)([(0,p.MZ)({type:[s.A],json:{write:!0}})],v.prototype,"features",void 0),(0,o.Cg)([(0,g.w)("features")],v.prototype,"readFeatures",null),(0,o.Cg)([(0,p.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,o.Cg)([(0,p.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:m.read}}})],v.prototype,"geometryType",void 0),(0,o.Cg)([(0,f.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,o.Cg)([(0,p.MZ)({types:y.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,o.Cg)([(0,g.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,o.Cg)([(0,p.MZ)({type:u.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,o.Cg)([(0,f.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,o.Cg)([(0,p.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},29005(e,t,r){r.d(t,{A:()=>p});var i=r(31635),o=r(69540),s=r(66552),n=r(25482),l=r(91429);const a=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 p=class extends((0,o.OU)(n.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"description",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],p.prototype,"drawingTool",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"prototype",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"thumbnail",void 0),p=(0,i.Cg)([(0,l.$K)("esri.layers.support.FeatureTemplate")],p)},32756(e,t,r){r.d(t,{Rr:()=>l,fY:()=>p,ne:()=>a});var i=r(31635),o=r(93637),s=r(91429),n=r(91880);function l(e,t,r){if(!e)return null;const i=e.find(e=>!!e.field);if(!i)return null;const o=new n.A;return o.read(i,r),[o]}const a={type:[n.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,i){const s=e.find(e=>!!e.field);s&&(0,o.sM)(r,[s.toJSON()],t)}}}},p=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,s.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],r),r}},33143(e,t,r){r.d(t,{A:()=>d});var i=r(31635),o=r(69540),s=r(25482),n=r(91429),l=r(8631),a=r(29005),p=r(36005),u=r(43937);let d=class extends((0,o.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,l.r)(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,i.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,i.Cg)([(0,p.w)("domains")],d.prototype,"readDomains",null),(0,i.Cg)([(0,u.K)("domains")],d.prototype,"writeDomains",null),(0,i.Cg)([(0,n.MZ)({type:[a.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,i.Cg)([(0,n.$K)("esri.layers.support.FeatureType")],d)},37352(e,t,r){r.d(t,{A:()=>a});var i,o=r(31635),s=r(7762),n=r(25482),l=r(91429);let a=i=class extends n.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new s.A}clone(){return new i({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,o.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"floorField",void 0),(0,o.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllMode",void 0),(0,o.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllLevelIds",void 0),a=i=(0,o.Cg)([(0,l.$K)("esri.layers.support.LayerFloorInfo")],a)},45067(e,t,r){r.d(t,{A:()=>u});var i=r(31635),o=r(69540),s=r(66552),n=r(25482),l=r(91429);const a=new s.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),p=new s.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let u=class extends((0,o.OU)(n.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,i.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],u.prototype,"cardinality",void 0),(0,i.Cg)([(0,l.MZ)({json:{name:"catalogID"}})],u.prototype,"catalogId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"composite",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"id",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"keyField",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"keyFieldInRelationshipTable",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"relatedTableId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"relationshipTableId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:p.read,write:p.write}})],u.prototype,"role",void 0),u=(0,i.Cg)([(0,l.$K)("esri.layers.support.Relationship")],u)},52106(e,t,r){r.d(t,{A:()=>M});var i,o=r(31635),s=r(37838),n=r(69540),l=r(51447),a=r(25482),p=r(53966),u=r(36708),d=r(24326),c=r(91429),y=r(12195),h=r(65864),g=r(50498),f=r(55156),m=r(60950),v=r(54339),b=r(33910);function w(e){if(null==e)return null;const t={};for(const r in e){const i=e[r];i&&(t[r]=i.toJSON())}return 0!==Object.keys(t).length?t:null}let M=class extends((0,n.OU)(a.o)){static{i=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,d.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(p.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 i({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,m.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const 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,f.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,f.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:w(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,y.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,i){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const o={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(o.action=i),"attributes"===e&&(o.attributeName=i),this.layer.graphicChanged(o)}_watchMeshGeometryChanges(){this.addHandles([(0,u.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,u.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,o.Cg)([(0,c.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const i=(0,h.rS)(e[r]);i&&(t[r]=i)}return 0!==Object.keys(t).length?t:null}}})],M.prototype,"aggregateGeometries",null),(0,o.Cg)([(0,c.MZ)({value:null})],M.prototype,"attributes",null),(0,o.Cg)([(0,c.MZ)({value:null,types:g.yR,json:{read:h.rS}})],M.prototype,"geometry",null),(0,o.Cg)([(0,c.MZ)({type:Boolean})],M.prototype,"isAggregate",void 0),(0,o.Cg)([(0,c.MZ)({clonable:!1})],M.prototype,"layer",void 0),(0,o.Cg)([(0,c.MZ)({clonable:"reference"})],M.prototype,"origin",void 0),(0,o.Cg)([(0,c.MZ)({type:s.A,value:null})],M.prototype,"popupTemplate",null),(0,o.Cg)([(0,c.MZ)({clonable:"reference"})],M.prototype,"sourceLayer",void 0),(0,o.Cg)([(0,c.MZ)({value:null,types:b.Es})],M.prototype,"symbol",null),(0,o.Cg)([(0,c.MZ)({clonable:!1,json:{read:!1,write:!1}})],M.prototype,"_version",void 0),(0,o.Cg)([(0,c.MZ)({type:Boolean,value:!0})],M.prototype,"visible",null),M=i=(0,o.Cg)([(0,c.$K)("esri.Graphic")],M)},52136(e,t,r){r.d(t,{p:()=>s});var i=r(31635),o=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,i.Cg)([(0,o.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.APIKeyMixin")],r),r}},55156(e,t,r){r.d(t,{I:()=>o,e:()=>i});const i=Symbol("idFieldsProviderSymbol");function o(e){return(t=e)&&i in t?e[i]:void 0;var t}},77548(e,t,r){r.d(t,{Gh:()=>m,tk:()=>y,BR:()=>c,wI:()=>d,G$:()=>g,$x:()=>h,Ov:()=>a,UC:()=>s,W_:()=>p,OP:()=>f,TU:()=>l,XX:()=>n,jy:()=>u});var i=r(70333),o=r(11254);function s(e){return null!=e&&"object"==typeof e&&"type"in e&&"knowledge-graph-sublayer"===e.type}r(7762),r(84952),r(36563),r(36708),r(4146),new WeakMap,r(16215);const n={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function l(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function a(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function p(e){const t=e?.type;return("feature"===t||"subtype-group"===t||"oriented-imagery"===t)&&"feature-layer"===e?.source?.type}function u(e){return function(e){return null!=e&&"object"==typeof e&&"type"in e&&"feature"===e.type}(e)&&function(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}(e)}async function d(e,t){const r=i.id?.findServerInfo(e);if(null!=r?.currentVersion)return r.owningSystemUrl||null;const s=e.toLowerCase().indexOf("/rest/services");if(-1===s)return null;const n=`${e.slice(0,s)}/rest/info`,l=null!=t?t.signal:null,{data:a}=await(0,o.A)(n,{query:{f:"json"},responseType:"json",signal:l});return a?.owningSystemUrl||null}function c(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function y(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":case"knowledge-graph-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}function h(e,t){return null}function g(e){return null}function f(e){return!e||"Feature Service"===e.type&&!e.sourceUrl}function m(e,t){if(!t||!f(e))return;const r=(e.url,null);r&&(e.url=r)}},91880(e,t,r){r.d(t,{A:()=>p});var i,o=r(31635),s=r(66552),n=r(25482),l=r(91429);const a=new s.J({asc:"ascending",desc:"descending"});let p=class extends n.o{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],p.prototype,"field",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],p.prototype,"valueExpression",void 0),(0,o.Cg)([(0,l.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],p.prototype,"order",void 0),p=i=(0,o.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],p)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3910],{3904(e,t,o){o.d(t,{A:()=>n});var r=o(31635),s=o(25482),i=o(91429),l=o(43937);let n=class extends s.o{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,o){e||(t[o]=e)}};(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],n.prototype,"enabled",void 0),(0,r.Cg)([(0,l.K)("enabled")],n.prototype,"writeEnabled",null),(0,r.Cg)([(0,i.MZ)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0,json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,i.$K)("esri.symbols.Symbol3DLayer")],n)},3955(e,t,o){o.d(t,{A:()=>l});var r=o(31635),s=o(25482),i=o(91429);let l=class extends s.o{constructor(e){super(e),this.type="style"}clone(){throw new Error("Subclasses of Pattern3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],l.prototype,"type",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.Pattern3D")],l)},4595(e,t,o){o.d(t,{A:()=>l});var r=o(31635),s=o(25482),i=o(91429);let l=class extends s.o{constructor(e){super(e),this.visible=!0}clone(){throw new Error("Subclasses of Callout3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["line"],constructOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"visible",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.callouts.Callout3D")],l)},4792(e,t,o){o.d(t,{A:()=>c});var r=o(31635),s=o(68197),i=o(25482),l=o(4718),n=o(90629),a=o(91429),y=o(67222);let p=class extends i.o{constructor(e){super(e),this.color=new s.A([0,0,0,1])}get extensionLength(){return this._get("extensionLength")??0}set extensionLength(e){this._set("extensionLength",e)}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r.Cg)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],p.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)((0,y.EW)({colorRequiredOnWrite:!0}))],p.prototype,"color",void 0),(0,r.Cg)([(0,a.MZ)({...y.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],p.prototype,"extensionLength",null),(0,r.Cg)([(0,a.MZ)(y.pI)],p.prototype,"size",null),p=(0,r.Cg)([(0,a.$K)("esri.symbols.edges.Edges3D")],p);const c=p},4900(e,t,o){o.d(t,{A:()=>a});var r,s=o(31635),i=o(25482),l=o(91429),n=o(67222);let a=r=class extends i.o{constructor(e){super(e),this.minWorldLength=0,this.maxWorldLength=null}get screenLength(){return this._get("screenLength")??0}set screenLength(e){this._set("screenLength",e)}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,s.Cg)([(0,l.MZ)({...n.pI,json:{write:{isRequired:!0}}})],a.prototype,"screenLength",null),(0,s.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],a.prototype,"minWorldLength",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxWorldLength",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DVerticalOffset")],a)},8887(e,t,o){o.d(t,{Bb:()=>i,Fq:()=>y,M4:()=>p,Nv:()=>c,e:()=>h});var r=o(51850),s=o(70328);function i(e,{isPrimitive:t,width:o,depth:s,height:i}){const l=t?10:1;if(null==o&&null==i&&null==s)return[l*e[0],l*e[1],l*e[2]];const n=(0,r.fA)(o,s,i);let a;for(let t=0;t<3;t++){const o=n[t];if(null!=o){a=o/e[t];break}}for(let t=0;t<3;t++)null==n[t]&&(n[t]=e[t]*a);return n}const l=(0,s.fA)(-.5,-.5,-.5,.5,.5,.5),n=(0,s.fA)(-.5,-.5,0,.5,.5,1),a=(0,s.fA)(-.5,-.5,0,.5,.5,.5);function y(e){switch(e){case"sphere":case"cube":case"diamond":return l;case"cylinder":case"cone":case"inverted-cone":return n;case"tetrahedron":return a;default:return}}const p=["butt","square","round"],c=[...p,"none"],h=["miter","bevel","round"]},8893(e,t,o){o.d(t,{A:()=>g});var r,s=o(31635),i=o(68197),l=o(4718),n=o(90629),a=o(91429),y=o(4595),p=o(25482),c=o(67222);let h=r=class extends p.o{constructor(e){super(e),this.color=new i.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,s.Cg)([(0,a.MZ)((0,c.EW)({colorRequiredOnWrite:!0}))],h.prototype,"color",void 0),h=r=(0,s.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3DBorder")],h);const u=h;var d,m=o(93223);let g=d=class extends y.A{constructor(e){super(e),this.type="line",this.color=new i.A([0,0,0,1]),this.border=null}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new d({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,s.Cg)([(0,m.e)({line:"line"})],g.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)((0,c.EW)({colorRequiredOnWrite:!0}))],g.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...c.pI,json:{write:{isRequired:!0}}})],g.prototype,"size",null),(0,s.Cg)([(0,a.MZ)({type:u,json:{write:!0}})],g.prototype,"border",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"visible",null),g=d=(0,s.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3D")],g)},10224(e,t,o){o.d(t,{A:()=>C});var r,s=o(31635),i=o(4718),l=o(91429),n=o(11831),a=o(3904),y=o(67222),p=o(97515),c=o(68197),h=o(25482);let u=r=class extends h.o{constructor(){super(...arguments),this.color=new c.A([0,0,0,1])}get size(){return this._get("size")??0}set size(e){this._set("size",e)}clone(){const e={color:(0,i.o8)(this.color),size:this.size};return new r(e)}};(0,s.Cg)([(0,l.MZ)((0,y.EW)())],u.prototype,"color",void 0),(0,s.Cg)([(0,l.MZ)(y.pI)],u.prototype,"size",null),u=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DHalo")],u);var d=o(28975),m=o(69540);let g=class extends((0,m.OU)(h.o)){constructor(e){super(e),this.color=null}};(0,s.Cg)([(0,l.MZ)((0,y.EW)())],g.prototype,"color",void 0),g=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DTextBackground")],g);var b,w=o(5760),v=o(43937),f=o(93223);let C=class extends a.A{static{b=this}constructor(e){super(e),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.lineHeight=1,this.material=null,this.background=null,this.text=null,this.type="text",this.verticalAlignment="baseline",this.occludedVisibility=null}get font(){return this._get("font")||null}set font(e){null!=e&&null!=this._userSize&&(e.size=this._userSize),this._set("font",e)}writeFont(e,t,o,r){const s={...r,textSymbol3D:!0};t.font=e.write({},s),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font?.size?this.font.size:9}set size(e){this._userSize=Number(e),null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new b({enabled:this.enabled,font:(0,i.o8)(this.font),halo:(0,i.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,i.o8)(this.background),occludedVisibility:(0,i.o8)(this.occludedVisibility)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new b({font:null!=e.font?e.font.clone():new n.A,halo:A(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new d.A({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new g({color:e.backgroundColor.clone()}):null})}};function A(e,t){return e&&null!=t&&t>0?new u({color:(0,i.o8)(e),size:t}):null}(0,s.Cg)([(0,l.MZ)({type:n.A,json:{write:!0}})],C.prototype,"font",null),(0,s.Cg)([(0,v.K)("font")],C.prototype,"writeFont",null),(0,s.Cg)([(0,l.MZ)({type:u,json:{write:!0}})],C.prototype,"halo",void 0),(0,s.Cg)([(0,l.MZ)({...w.rM,json:{default:"center",write:!0}})],C.prototype,"horizontalAlignment",void 0),(0,s.Cg)([(0,l.MZ)({...w.Tb,json:{default:1,write:!0}})],C.prototype,"lineHeight",void 0),(0,s.Cg)([(0,l.MZ)({type:d.A,json:{write:!0}})],C.prototype,"material",void 0),(0,s.Cg)([(0,l.MZ)({type:g,json:{write:!0}})],C.prototype,"background",void 0),(0,s.Cg)([(0,l.MZ)(y.pI)],C.prototype,"size",null),(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],C.prototype,"text",void 0),(0,s.Cg)([(0,f.e)({Text:"text"},{readOnly:!0})],C.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({...w.x0,json:{default:"baseline",write:!0}})],C.prototype,"verticalAlignment",void 0),(0,s.Cg)([(0,l.MZ)({type:p.A,json:{write:!0}})],C.prototype,"occludedVisibility",void 0),C=b=(0,s.Cg)([(0,l.$K)("esri.symbols.TextSymbol3DLayer")],C)},11506(e,t,o){o.d(t,{A:()=>C});var r=o(31635),s=o(90629),i=o(91429),l=o(68197),n=o(69540),a=o(25482),y=o(56507),p=o(83213);let c=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(e){return null!=e&&e.placement===this.placement&&e.style===this.style&&(null==this.color&&null==e.color||null!=this.color&&null!=e.color&&this.color.toJSON()===e.color.toJSON())}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],c.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:p.x,json:{default:"begin-end",write:!0}})],c.prototype,"placement",void 0),(0,r.Cg)([(0,i.MZ)({type:p.z,json:{default:"arrow",write:!0}})],c.prototype,"style",void 0),(0,r.Cg)([(0,i.MZ)({type:l.A,json:{type:[y.jz],default:null,write:!0}})],c.prototype,"color",void 0),c=(0,r.Cg)([(0,i.$K)("esri.symbols.LineStyleMarker3D")],c);var h,u=o(3904),d=o(44633),m=o(20603),g=o(33386),b=o(67222),w=o(28975),v=o(8887),f=o(93223);let C=class extends u.A{static{h=this}constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.pattern=null,this.imagePattern=null,this.marker=null}get size(){return this._get("size")??(0,s.PN)(1)}set size(e){this._set("size",e)}clone(){const e={enabled:this.enabled,material:null!=this.material?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:null!=this.pattern?this.pattern.clone():null,imagePattern:null!=this.imagePattern?this.imagePattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new h(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,s.PN)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new d.A({style:e.style}):null,imagePattern:null,material:new w.A({color:(e.color||g.ON).clone()}),marker:e.marker?new c({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new h(t)}};(0,r.Cg)([(0,i.MZ)({type:w.A,json:{write:!0}})],C.prototype,"material",void 0),(0,r.Cg)([(0,f.e)({Line:"line"},{readOnly:!0})],C.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:v.e,json:{write:!0,default:"miter"}})],C.prototype,"join",void 0),(0,r.Cg)([(0,i.MZ)({type:v.M4,json:{write:!0,default:"butt"}})],C.prototype,"cap",void 0),(0,r.Cg)([(0,i.MZ)({...b.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",null),(0,r.Cg)([(0,i.MZ)(m.v)],C.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)()],C.prototype,"imagePattern",void 0),(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:c,typeMap:{style:c}},json:{write:!0}})],C.prototype,"marker",void 0),C=h=(0,r.Cg)([(0,i.$K)("esri.symbols.LineSymbol3DLayer")],C)},13313(e,t,o){o.d(t,{A:()=>m});var r,s=o(31635),i=o(7762),l=o(62885),n=o(4718),a=o(91429),y=o(58185),p=o(10224),c=o(59483),h=o(4900),u=o(93223);const d=i.A.ofType({base:null,key:"type",typeMap:{text:p.A}});let m=r=class extends y.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.type="label-3d",this.symbolLayers=new d}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}supportsCallout(){return!0}hasVisibleCallout(){return(0,c.LH)(this)}hasVisibleVerticalOffset(){return(0,c.Yq)(this)}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail),callout:(0,n.o8)(this.callout),verticalOffset:(0,n.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new i.A([p.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],m.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,a.MZ)(c.oG)],m.prototype,"callout",void 0),(0,s.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],m.prototype,"styleOrigin",void 0),(0,s.Cg)([(0,a.MZ)({type:d})],m.prototype,"symbolLayers",null),(0,s.Cg)([(0,u.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s.Cg)([(0,a.$K)("esri.symbols.LabelSymbol3D")],m)},16264(e,t,o){o.d(t,{A:()=>n});var r,s=o(31635),i=o(91429),l=o(3955);let n=r=class extends l.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){return new r({style:this.style})}};(0,s.Cg)([(0,i.MZ)({type:["style"],json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:{isRequired:!0}}})],n.prototype,"style",void 0),n=r=(0,s.Cg)([(0,i.$K)("esri.symbols.patterns.StylePattern3D")],n)},20603(e,t,o){o.d(t,{r:()=>n,v:()=>a});var r=o(36533),s=o(44633),i=o(3955),l=o(16264);const n={types:{key:"type",base:i.A,typeMap:{style:l.A}},json:{write:!0}},a={types:{key:"type",base:r.A,typeMap:{style:s.A}},json:{write:!0}}},26449(e,t,o){o.d(t,{A:()=>p});var r,s=o(31635),i=o(91429),l=o(3904),n=o(51734),a=o(28975),y=o(93223);let p=class extends l.A{static{r=this}constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges?.clone(),enabled:this.enabled,material:this.material?.clone(),castShadows:this.castShadows,size:this.size})}};(0,s.Cg)([(0,y.e)({Extrude:"extrude"},{readOnly:!0})],p.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],p.prototype,"size",void 0),(0,s.Cg)([(0,i.MZ)({type:a.A,json:{write:!0}})],p.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],p.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)(n.J)],p.prototype,"edges",void 0),p=r=(0,s.Cg)([(0,i.$K)("esri.symbols.ExtrudeSymbol3DLayer")],p)},27845(e,t,o){o.d(t,{A:()=>S});var r,s=o(31635),i=o(91429),l=o(3904),n=o(51734),a=o(44633),y=o(16264),p=o(20603),c=o(33386),h=o(28975),u=o(93223);let d=r=class extends h.A{constructor(e){super(e),this.colorMixMode=null}clone(){const e={color:this.color?.clone(),colorMixMode:this.colorMixMode,emissive:this.emissive?.clone()};return new r(e)}};(0,s.Cg)([(0,u.e)({multiply:"multiply",replace:"replace",tint:"tint"})],d.prototype,"colorMixMode",void 0),d=r=(0,s.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DFillMaterial")],d);var m,g=o(68197),b=o(25482),w=o(90629),v=o(67222),f=o(8887);let C=m=class extends b.o{constructor(e){super(e),this.color=new g.A([0,0,0,1]),this.pattern=null,this.patternCap="butt"}get size(){return this._get("size")??(0,w.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size,pattern:null!=this.pattern?this.pattern.clone():null,patternCap:this.patternCap};return new m(e)}};(0,s.Cg)([(0,i.MZ)((0,v.EW)({colorRequiredOnWrite:!0}))],C.prototype,"color",void 0),(0,s.Cg)([(0,i.MZ)({...v.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",null),(0,s.Cg)([(0,i.MZ)(p.v)],C.prototype,"pattern",void 0),(0,s.Cg)([(0,i.MZ)({type:f.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],C.prototype,"patternCap",void 0),C=m=(0,s.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DOutline")],C);const A=C;var M;let S=class extends l.A{static{M=this}constructor(e){super(e),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const e={edges:null!=this.edges?this.edges.clone():null,enabled:this.enabled,material:null!=this.material?this.material.clone():null,pattern:null!=this.pattern?this.pattern.clone():null,castShadows:this.castShadows,outline:null!=this.outline?this.outline.clone():null};return new M(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new a.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??c.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new M({material:new d({color:(e.color??c.u7).clone()}),pattern:e.style&&"solid"!==e.style?new y.A({style:e.style}):null,outline:o})}};(0,s.Cg)([(0,u.e)({Fill:"fill"},{readOnly:!0})],S.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:d,json:{write:!0}})],S.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)(p.r)],S.prototype,"pattern",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],S.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)({type:A,json:{write:!0}})],S.prototype,"outline",void 0),(0,s.Cg)([(0,i.MZ)(n.J)],S.prototype,"edges",void 0),S=M=(0,s.Cg)([(0,i.$K)("esri.symbols.FillSymbol3DLayer")],S)},28975(e,t,o){o.d(t,{A:()=>p});var r,s=o(31635),i=o(25482),l=o(91429),n=o(67222);let a=r=class extends i.o{constructor(){super(...arguments),this.strength=null,this.source="emissive"}clone(){const e={strength:this.strength,source:this.source};return new r(e)}};var y;(0,s.Cg)([(0,l.MZ)({json:{write:!1}})],a.prototype,"strength",void 0),(0,s.Cg)([(0,l.MZ)({json:{write:!1}})],a.prototype,"source",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DEmissive")],a);let p=y=class extends i.o{constructor(e){super(e),this.color=null,this.emissive=new a({source:"emissive"})}clone(){const e={color:this.color?.clone()??null,emissive:this.emissive?.clone()??null};return new y(e)}};(0,s.Cg)([(0,l.MZ)((0,n.EW)())],p.prototype,"color",void 0),(0,s.Cg)([(0,l.MZ)({type:a,json:{write:!1}})],p.prototype,"emissive",void 0),p=y=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DMaterial")],p)},33386(e,t,o){o.d(t,{ON:()=>s,U9:()=>l,u7:()=>i});var r=o(68197);const s=new r.A("white"),i=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}},33910(e,t,o){o.d(t,{dp:()=>R,$y:()=>j,wk:()=>z,Y7:()=>N,wC:()=>O,Ac:()=>k,Bu:()=>_,Es:()=>L,q8:()=>D,em:()=>P,Rv:()=>q,xK:()=>$,On:()=>K});var r,s=o(56507),i=o(90360),l=o(40863),n=o(13313),a=o(97887),y=o(68548),p=o(31635),c=o(4718),h=o(90629),u=o(91429),d=o(65851),m=o(77040),g=o(93223);let b=r=class extends d.A{constructor(...e){super(...e),this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.source=null}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const s={};return e&&(s.url=e),t&&(s.outline=t),null!=o&&(s.width=(0,h.cr)(o)),null!=r&&(s.height=(0,h.cr)(r)),s}get width(){return this._get("width")??12}set width(e){this._set("width",e)}get height(){return this._get("height")??12}set height(e){this._set("height",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}clone(){const e=new r({color:(0,c.o8)(this.color),height:this.height,outline:(0,c.o8)(this.outline),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return e._set("source",(0,c.o8)(this.source)),e}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,p.Cg)([(0,g.e)({esriPFS:"picture-fill"},{readOnly:!0})],b.prototype,"type",void 0),(0,p.Cg)([(0,u.MZ)(m.ku)],b.prototype,"url",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],b.prototype,"xscale",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],b.prototype,"yscale",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],b.prototype,"width",null),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],b.prototype,"height",null),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],b.prototype,"xoffset",null),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],b.prototype,"yoffset",null),(0,p.Cg)([(0,u.MZ)(m.k7)],b.prototype,"source",void 0),b=r=(0,p.Cg)([(0,u.$K)("esri.symbols.PictureFillSymbol")],b);var w=o(58592),v=o(75981),f=o(65365),C=o(94985),A=o(31593),M=o(53930),S=o(20378),x=o(68249),Z=o(37757);function j(e){if(!e)return!1;switch(e.type){case"picture-fill":case"picture-marker":case"simple-fill":case"simple-line":case"simple-marker":case"text":case"cim":return!0;default:return!1}}function z(e){switch(e?.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}const L={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":M.A,text:x.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":Z.A,cim:l.A},errorContext:"symbol"},O=(S.A,C.A,l.A,{base:S.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":M.A,"point-3d":v.A,cim:l.A},errorContext:"symbol"}),N={base:S.A,key:"type",typeMap:{"simple-line":A.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},k={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"polygon-3d":f.A,cim:l.A},errorContext:"symbol"},D={base:S.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":M.A,text:x.A,"web-style":Z.A,cim:l.A},errorContext:"symbol"},_=(0,i.C)({types:L}),$={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":M.A,text:x.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":Z.A,cim:l.A},errorContext:"symbol"},P={base:S.A,key:"type",typeMap:{text:x.A,"label-3d":n.A},errorContext:"symbol"},K=(S.A,n.A,a.A,y.A,v.A,f.A,Z.A,{base:S.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":y.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":Z.A,cim:l.A},errorContext:"symbol"}),q={base:S.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},R=(0,s.aq)(L)},34723(e,t,o){o.d(t,{A:()=>p});var r,s=o(31635),i=o(68197),l=o(91429),n=o(56507),a=o(3904),y=o(93223);let p=class extends a.A{static{r=this}constructor(e){super(e),this.color=c.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:this.color.clone(),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,s.Cg)([(0,l.MZ)({type:i.A,nonNullable:!0,json:{type:[n.jz],write:(e,t,o)=>t[o]=e.toArray(1),default:()=>c.clone(),defaultEquals:e=>e.toCss(!0)===c.toCss(!0)}})],p.prototype,"color",void 0),(0,s.Cg)([(0,y.e)({Water:"water"},{readOnly:!0})],p.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],p.prototype,"waterbodySize",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0,default:null}})],p.prototype,"waveDirection",void 0),(0,s.Cg)([(0,l.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],p.prototype,"waveStrength",void 0),p=r=(0,s.Cg)([(0,l.$K)("esri.symbols.WaterSymbol3DLayer")],p);const c=new i.A([0,119,190])},36533(e,t,o){o.d(t,{A:()=>l});var r=o(31635),s=o(25482),i=o(91429);let l=class extends s.o{constructor(e){super(e)}clone(){throw new Error("Subclasses of LinePattern3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["style","image"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],l.prototype,"type",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.LinePattern3D")],l)},37757(e,t,o){o.d(t,{A:()=>u});var r,s=o(31635),i=o(53966),l=o(74887),n=o(91429),a=o(20655),y=o(97159),p=o(20378),c=o(57212),h=o(93223);let u=r=class extends p.A{constructor(e){super(e),this.color=null,this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}get _fetchCacheKey(){const e=null!=this.portal?this.portal:a.A.getDefault(),t=e.user?e.user.username:null;return`${this.styleName}:${this.styleUrl}:${this.name}:${t}:${e.url}`}read(e,t){this.portal=t?.portal,super.read(e,t)}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async _fetchSymbol(e){const t=null!=e?e.cache:null,r=t?this._fetchCacheKey:null;if(null!=t){const e=r&&t.get(r);if(e)return e.clone()}const{resolveWebStyleSymbol:s}=await o.e(7883).then(o.bind(o,27883));(0,l.Te)(e);const n=s(this,{portal:this.portal},e);n.catch(e=>{i.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)});const a=await n;return null!=t&&t.set(r,a.clone()),a}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],u.prototype,"styleName",void 0),(0,s.Cg)([(0,n.MZ)({type:a.A,json:{write:!1}})],u.prototype,"portal",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{read:y.r,write:y.w}})],u.prototype,"styleUrl",void 0),(0,s.Cg)([(0,n.MZ)({type:c.V,json:{read:!1}})],u.prototype,"thumbnail",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,s.Cg)([(0,h.e)({styleSymbolReference:"web-style"},{readOnly:!0})],u.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)()],u.prototype,"_fetchCacheKey",null),u=r=(0,s.Cg)([(0,n.$K)("esri.symbols.WebStyleSymbol")],u)},39065(e,t,o){o.d(t,{A:()=>y});var r,s=o(31635),i=o(91429),l=o(4792),n=o(93223);let a=r=class extends l.A{constructor(e){super(e),this.type="solid"}clone(){return new r(this.cloneProperties())}};(0,s.Cg)([(0,n.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s.Cg)([(0,i.$K)("esri.symbols.edges.SolidEdges3D")],a);const y=a},40863(e,t,o){o.d(t,{A:()=>u});var r,s=o(31635),i=o(4718),l=o(799),n=o(91429),a=o(30524),y=o(20378),p=o(36005),c=o(43937),h=o(93223);let u=r=class extends y.A{constructor(e){super(e),this.data=null,this.type="cim"}readData(e,t){return t}writeData(e,t){Object.assign(t,e)}async collectRequiredFields(e,t){if("CIMSymbolReference"===this.data?.type){const o=this.data.primitiveOverrides;if(o){const r=o.map(o=>{const r=o.valueExpressionInfo;return r?(0,a.Dx)(e,t,null,r.expression):null});await Promise.all(r)}}}clone(){return new r({data:(0,i.o8)(this.data)})}hash(){return(0,l.Wm)(JSON.stringify(this.data)).toString()}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,s.Cg)([(0,n.MZ)({json:{write:!0}})],u.prototype,"data",void 0),(0,s.Cg)([(0,p.w)("data",["symbol"])],u.prototype,"readData",null),(0,s.Cg)([(0,c.K)("data",{})],u.prototype,"writeData",null),(0,s.Cg)([(0,h.e)({CIMSymbolReference:"cim"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,s.Cg)([(0,n.$K)("esri.symbols.CIMSymbol")],u)},44633(e,t,o){o.d(t,{A:()=>p});var r,s=o(31635),i=o(66552),l=o(91429),n=o(36533),a=o(93223);const y=(0,i.O)()({dash:"dash","dash-dot":"dash-dot","dash-dot-dot":"long-dash-dot-dot",dot:"dot","long-dash":"long-dash","long-dash-dot":"long-dash-dot",null:"none","short-dash":"short-dash","short-dash-dot":"short-dash-dot","short-dash-dot-dot":"short-dash-dot-dot","short-dot":"short-dot",solid:"solid"});let p=r=class extends n.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){const e={style:this.style};return new r(e)}};(0,s.Cg)([(0,l.MZ)({type:["style"],json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,s.Cg)([(0,a.e)(y),(0,l.MZ)({type:["dash","dash-dot","dot","long-dash","long-dash-dot","long-dash-dot-dot","none","short-dash","short-dash-dot","short-dash-dot-dot","short-dot","solid"],json:{write:{isRequired:!0}}})],p.prototype,"style",void 0),p=r=(0,s.Cg)([(0,l.$K)("esri.symbols.patterns.LineStylePattern3D")],p)},51216(e,t,o){o.d(t,{A:()=>f});var r,s=o(31635),i=o(91429),l=o(3904),n=o(66552),a=o(25482),y=o(97159),p=o(93223);const c=(0,n.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let h=r=class extends a.o{constructor(e){super(e)}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s.Cg)([(0,i.MZ)({type:String,json:{read:y.r,write:y.w}})],h.prototype,"href",void 0),(0,s.Cg)([(0,p.e)(c)],h.prototype,"primitive",void 0),h=r=(0,s.Cg)([(0,i.$K)("esri.symbols.support.ObjectSymbol3DLayerResource")],h);const u=h;var d,m=o(69622);let g=d=class extends m.A{constructor(){super(...arguments),this.x=0,this.y=0,this.z=0}clone(){return new d({x:this.x,y:this.y,z:this.z})}};(0,s.Cg)([(0,i.MZ)({type:Number})],g.prototype,"x",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],g.prototype,"y",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],g.prototype,"z",void 0),g=d=(0,s.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DAnchorPosition3D")],g);const b=g;var w,v=o(28975);let f=class extends l.A{static{w=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.resource=null,this.type="object",this.width=void 0,this.height=void 0,this.depth=void 0,this.anchor=void 0,this.anchorPosition=void 0,this.heading=void 0,this.tilt=void 0,this.roll=void 0}clone(){return new w({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition?.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:this.material?.clone()??null,castShadows:this.castShadows,resource:this.resource?.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,s.Cg)([(0,i.MZ)({type:v.A,json:{write:!0}})],f.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],f.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)({type:u,json:{write:!0}})],f.prototype,"resource",void 0),(0,s.Cg)([(0,p.e)({Object:"object"},{readOnly:!0})],f.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"width",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"height",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"depth",void 0),(0,s.Cg)([(0,p.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],f.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:b,json:{type:[Number],read:{reader:e=>new b({x:e[0],y:e[1],z:e[2]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y,e.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],f.prototype,"anchorPosition",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"heading",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"tilt",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"roll",void 0),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],f.prototype,"isPrimitive",null),f=w=(0,s.Cg)([(0,i.$K)("esri.symbols.ObjectSymbol3DLayer")],f)},51734(e,t,o){o.d(t,{J:()=>c});var r,s=o(4792),i=o(31635),l=o(91429),n=o(93223);let a=r=class extends s.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,i.Cg)([(0,n.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.symbols.edges.SketchEdges3D")],a);const y=a;var p=o(39065);const c={types:{key:"type",base:s.A,typeMap:{solid:p.A,sketch:y}},json:{write:!0}}},57212(e,t,o){o.d(t,{V:()=>n});var r,s=o(31635),i=o(69622),l=o(91429);let n=r=class extends i.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,s.Cg)([(0,l.MZ)({type:String})],n.prototype,"url",void 0),n=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Thumbnail")],n)},58185(e,t,o){o.d(t,{A:()=>z});var r=o(31635),s=o(7762),i=o(62885),l=o(53966),n=o(84952),a=o(67076),y=o(91429),p=o(20655),c=o(97159),h=o(26449),u=o(27845),d=o(80138),m=o(11506),g=o(51216),b=o(66525),w=o(20378),v=o(3904),f=o(10224),C=o(34723),A=o(98751),M=o(57212),S=o(36005),x=o(43937);const Z={icon:d.A,object:g.A,line:m.A,path:b.A,fill:u.A,extrude:h.A,text:f.A,water:C.A},j=s.A.ofType({base:v.A,key:"type",typeMap:Z,errorContext:"symbol-layer"});let z=class extends w.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers,o=t?.type,r=o||s.A;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.A.getLogger(this).error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(e){(0,i.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){const t=(0,c.f)(e.styleUrl,o);return new A.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new A.A({portal:o?.portal||p.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new a.A("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:e}))}writeStyleOrigin(e,t,o,r){if(e.styleUrl&&e.name){let o=(0,c.t)(e.styleUrl,r);(0,n.oP)(o)&&(o=(0,n.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,n.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new a.A("symbol:cross-portal","The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.",{symbol:this})):t.styleOrigin={styleName:e.styleName,name:e.name})}normalizeCtorArgs(e){return e instanceof v.A||e&&Z[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r.Cg)([(0,y.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r.Cg)([(0,y.MZ)({type:j,nonNullable:!0,json:{write:!0}}),(0,y.wg)(i.H)],z.prototype,"symbolLayers",null),(0,r.Cg)([(0,y.MZ)({type:A.A})],z.prototype,"styleOrigin",void 0),(0,r.Cg)([(0,S.w)("styleOrigin")],z.prototype,"readStyleOrigin",null),(0,r.Cg)([(0,x.K)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],z.prototype,"writeStyleOrigin",null),(0,r.Cg)([(0,y.MZ)({type:M.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r.Cg)([(0,y.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r.Cg)([(0,y.$K)("esri.symbols.Symbol3D")],z)},58592(e,t,o){o.d(t,{A:()=>h});var r,s=o(31635),i=o(4718),l=o(90629),n=o(91429),a=o(89420),y=o(77040),p=o(93223),c=o(36005);let h=r=class extends a.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const r={};return e&&(r.url=e),null!=t&&(r.width=(0,l.cr)(t)),null!=o&&(r.height=(0,l.cr)(o)),r}get height(){return this._get("height")??12}set height(e){this._set("height",e)}readHeight(e,t){return t.size||e}get width(){return this._get("width")??12}set width(e){this._set("width",e)}readWidth(e,t){return t.size||e}get size(){return this._get("size")??null}set size(e){this._set("size",e)}clone(){const e=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,i.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],h.prototype,"color",void 0),(0,s.Cg)([(0,p.e)({esriPMS:"picture-marker"},{readOnly:!0})],h.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)(y.ku)],h.prototype,"url",void 0),(0,s.Cg)([(0,n.MZ)(y.k7)],h.prototype,"source",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],h.prototype,"height",null),(0,s.Cg)([(0,c.w)("height",["height","size"])],h.prototype,"readHeight",null),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],h.prototype,"width",null),(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],h.prototype,"size",null),h=r=(0,s.Cg)([(0,n.$K)("esri.symbols.PictureMarkerSymbol")],h)},59483(e,t,o){o.d(t,{LH:()=>l,Yq:()=>i,oG:()=>n});var r=o(4595),s=o(8893);function i(e){if(!e)return!1;const t=e.verticalOffset;return!(!t||t.screenLength<=0||null!=t.maxWorldLength&&t.maxWorldLength<=0)}function l(e){if(!e||!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t?.visible&&!!i(e)}const n={types:{key:"type",base:r.A,typeMap:{line:s.A}},json:{write:!0}}},62885(e,t,o){o.d(t,{H:()=>i,V:()=>s});var r=o(7762);function s(e,t,o=r.A){return t||(t=new o),t===e||t.destroyed||(t.removeAll(),(s=e)&&(Array.isArray(s)||"items"in s&&Array.isArray(s.items))?t.addMany(e):e&&t.add(e)),t;var s}function i(e){return e}},65365(e,t,o){o.d(t,{A:()=>C});var r,s=o(31635),i=o(7762),l=o(51447),n=o(4718),a=o(53966),y=o(36708),p=o(91429),c=o(26449),h=o(27845),u=o(80138),d=o(11506),m=o(51216),g=o(58185),b=o(10224),w=o(34723),v=o(93223);const f=i.A.ofType({base:null,key:"type",typeMap:{extrude:c.A,fill:h.A,icon:u.A,line:d.A,object:m.A,text:b.A,water:w.A}});let C=r=class extends g.A{constructor(e){super(e),this.symbolLayers=new f,this.type="polygon-3d"}initialize(){const e=e=>{"line"===e.type&&(0,l.io)(a.A.getLogger(this),"LineSymbol3DLayer can not be used as a SymbolLayer with a PolygonSymbol3D symbol anymore.",{replacement:"Use FillSymbol3DLayer.outline instead.",version:"4.28"}),"text"===e.type&&(0,l.io)(a.A.getLogger(this),"TextSymbol3DLayer can not be used as a SymbolLayer with a PolygonSymbol3D symbol anymore.",{replacement:"Use Labels instead.",version:"4.28"})};for(const t of this.symbolLayers)e(t);this.addHandles((0,y.on)(()=>this.symbolLayers,"after-add",({item:t})=>e(t),y.OH))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromJSON(e){const t=new r;if(t.read(e),2===t.symbolLayers.length&&"fill"===t.symbolLayers.at(0).type&&"line"===t.symbolLayers.at(1).type){const o=t.symbolLayers.at(0),r=t.symbolLayers.at(1);!r.enabled||e.symbolLayers?.[1]&&!1===e.symbolLayers[1].enable||(o.outline={size:r.size,color:null!=r.material?r.material.color:null}),t.symbolLayers.removeAt(1)}return t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([h.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],C.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,v.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],C.prototype,"type",void 0),C=r=(0,s.Cg)([(0,p.$K)("esri.symbols.PolygonSymbol3D")],C)},66525(e,t,o){o.d(t,{A:()=>c});var r,s=o(31635),i=o(91429),l=o(3904),n=o(28975),a=o(8887),y=o(93223),p=o(36005);let c=class extends l.A{static{r=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.type="path",this.profile="circle",this.join="miter",this.cap="butt",this.width=void 0,this.height=void 0,this.anchor="center",this.profileRotation="all"}readWidth(e,t){return null!=e?e:null==t.height&&null!=t.size?t.size:void 0}readHeight(e,t){return null!=e?e:null==t.width&&null!=t.size?t.size:void 0}clone(){return new r({enabled:this.enabled,material:null!=this.material?this.material.clone():null,castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})}};(0,s.Cg)([(0,i.MZ)({type:n.A,json:{write:!0}})],c.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,s.Cg)([(0,y.e)({Path:"path"},{readOnly:!0})],c.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:["circle","quad"],nonNullable:!0,json:{write:!0,default:"circle"}})],c.prototype,"profile",void 0),(0,s.Cg)([(0,i.MZ)({type:a.e,nonNullable:!0,json:{write:!0,default:"miter"}})],c.prototype,"join",void 0),(0,s.Cg)([(0,i.MZ)({type:a.Nv,nonNullable:!0,json:{write:!0,default:"butt"}})],c.prototype,"cap",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],c.prototype,"width",void 0),(0,s.Cg)([(0,p.w)("width",["width","size","height"])],c.prototype,"readWidth",null),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],c.prototype,"height",void 0),(0,s.Cg)([(0,p.w)("height",["height","size","width"])],c.prototype,"readHeight",null),(0,s.Cg)([(0,i.MZ)({type:["center","bottom","top"],nonNullable:!0,json:{write:!0,default:"center"}})],c.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:["heading","all"],nonNullable:!0,json:{write:!0,default:"all"}})],c.prototype,"profileRotation",void 0),c=r=(0,s.Cg)([(0,i.$K)("esri.symbols.PathSymbol3DLayer")],c)},67222(e,t,o){o.d(t,{EW:()=>y,pI:()=>p});var r=o(68197),s=o(90629),i=o(56507),l=o(78553);function n(e,t){const o=null!=t.transparency?(0,l.D)(t.transparency):1,s=t.color;return s&&Array.isArray(s)?new r.A([s[0]||0,s[1]||0,s[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);const o=(0,l.p)(e.a);0!==o&&(t.transparency=o)}function y(e){return{type:r.A,nonNullable:e?.nonNullable,json:{type:[i.jz],default:null,read:{source:["color","transparency"],reader:n},write:{target:{color:{type:[i.jz],isRequired:e?.colorRequiredOnWrite},transparency:{type:i.jz}},writer:a}}}}const p={type:Number,cast:s.cr,json:{write:!0}}},68548(e,t,o){o.d(t,{A:()=>u});var r,s=o(31635),i=o(7762),l=o(62885),n=o(4718),a=o(91429),y=o(27845),p=o(58185),c=o(93223);const h=i.A.ofType({base:null,key:"type",typeMap:{fill:y.A}});let u=r=class extends p.A{constructor(e){super(e),this.type="mesh-3d",this.symbolLayers=new h}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([y.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:h})],u.prototype,"symbolLayers",null),(0,s.Cg)([(0,c.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,s.Cg)([(0,a.$K)("esri.symbols.MeshSymbol3D")],u)},75981(e,t,o){o.d(t,{A:()=>w});var r,s=o(31635),i=o(68197),l=o(7762),n=o(4718),a=o(91429),y=o(80138),p=o(51216),c=o(58185),h=o(10224),u=o(59483),d=o(8893),m=o(4900),g=o(93223);const b=l.A.ofType({base:null,key:"type",typeMap:{icon:y.A,object:p.A,text:h.A}});let w=r=class extends c.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.symbolLayers=new b,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const e of this.symbolLayers.items)switch(e.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,u.LH)(this)}hasVisibleVerticalOffset(){return(0,u.Yq)(this)}clone(){return new r({verticalOffset:(0,n.o8)(this.verticalOffset),callout:(0,n.o8)(this.callout),styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new l.A([y.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([y.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const o=e.data.symbol;return new r(o?.callout?{symbolLayers:new l.A([y.A.fromCIMSymbol(e)]),callout:new d.A({size:.5,color:new i.A([0,0,0])}),verticalOffset:new m.A({screenLength:40})}:{symbolLayers:new l.A([y.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([h.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:m.A,json:{write:!0}})],w.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,a.MZ)(u.oG)],w.prototype,"callout",void 0),(0,s.Cg)([(0,a.MZ)({type:b,json:{origins:{"web-scene":{write:!0}}}})],w.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,g.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],w.prototype,"type",void 0),w=r=(0,s.Cg)([(0,a.$K)("esri.symbols.PointSymbol3D")],w)},77040(e,t,o){o.d(t,{k7:()=>n,ku:()=>l});var r=o(84952),s=o(97159);function i(e,t){if(!(0,r.oP)(e)){const o=function(e){if(!e)return null;const{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;const r=o?.type;return"feature"===r||"stream"===r?o.parsedUrl?.path:"map-image"===r||"tile"===r?e.url?.path:null}(t);if(o)return(0,r.fj)(o,"images",e)}return(0,s.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,o){return t.imageData?(0,r.Hg)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):i(t.url,o)}},write:{writer(e,t,o,i){!function(e,t,o,i){if((0,r.DB)(e)){const l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,s.w)(o.url,t,"url",i)}else(0,s.w)(e,t,"url",i)}(e,t,this.source,i)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,o){const r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=i(t.url,o)),r}}}}},80138(e,t,o){o.d(t,{A:()=>D});var r,s=o(31635),i=o(4718),l=o(53966),n=o(84952),a=o(91429),y=o(3904),p=o(33386),c=o(66552),h=o(25482),u=o(97159),d=o(36005),m=o(43937),g=o(93223);const b=(0,c.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let w=r=class extends h.o{constructor(e){super(e)}readHref(e,t,o){return e?(0,u.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,u.t)(e,r),(0,n.oP)(t.href)&&(t.href=(0,n.S8)(t.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}equals(e){return e.primitive===this.primitive&&e.href===this.href}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],w.prototype,"href",void 0),(0,s.Cg)([(0,d.w)("href")],w.prototype,"readHref",null),(0,s.Cg)([(0,m.K)("href",{href:{type:String},dataURI:{type:String}})],w.prototype,"writeHref",null),(0,s.Cg)([(0,g.e)(b)],w.prototype,"primitive",void 0),w=r=(0,s.Cg)([(0,a.$K)("esri.symbols.support.IconSymbol3DLayerResource")],w);const v=w;var f,C=o(67222),A=o(97515),M=o(69622);let S=f=class extends M.A{constructor(e){super(e),this.x=0,this.y=0}clone(){return new f({x:this.x,y:this.y})}equals(e){return e.x===this.x&&e.y===this.y}};(0,s.Cg)([(0,a.MZ)({type:Number})],S.prototype,"x",void 0),(0,s.Cg)([(0,a.MZ)({type:Number})],S.prototype,"y",void 0),S=f=(0,s.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DAnchorPosition2D")],S);const x=S;var Z,j=o(68197),z=o(90629);let L=Z=class extends h.o{constructor(e){super(e),this.color=new j.A([0,0,0,1])}get size(){return this._get("size")??(0,z.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new Z(e)}equals(e){return e.size===this.size&&(null==this.color?null==e.color:this.color.equals(e.color))}};(0,s.Cg)([(0,a.MZ)((0,C.EW)({colorRequiredOnWrite:!0}))],L.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...C.pI,json:{write:{isRequired:!0}}})],L.prototype,"size",null),L=Z=(0,s.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DIconOutline")],L);const O=L;var N,k=o(28975);let D=class extends y.A{static{N=this}constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.anchor="center",this.anchorPosition=null,this.outline=null,this.angle=0,this.occludedVisibility=null}get size(){return this._get("size")??12}set size(e){this._set("size",e)}clone(){return new N({anchor:this.anchor,anchorPosition:(0,i.o8)(this.anchorPosition),enabled:this.enabled,material:(0,i.o8)(this.material),outline:(0,i.o8)(this.outline),resource:(0,i.o8)(this.resource),angle:this.angle,size:this.size,occludedVisibility:(0,i.o8)(this.occludedVisibility)})}static fromSimpleMarkerSymbol(e){const t=e.color||p.ON,o=_(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||p.ON).clone()}:null;return new N({size:e.size,angle:e.angle,resource:{primitive:K(()=>l.A.getLogger(this.prototype),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,p.U9)(e.color)?p.ON:e.color,o=_(e);return new N({size:e.width<=e.height?e.height:e.width,angle:e.angle,resource:{href:e.url},material:{color:t.clone()},anchor:o?"relative":void 0,anchorPosition:o})}static fromCIMSymbol(e){return new N({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})}})}};function _(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=$(e.xoffset),s=$(e.yoffset);return(r||s)&&t&&o?{x:-r/t,y:s/o}:null}function $(e){return isFinite(e)?e:0}(0,s.Cg)([(0,a.MZ)({type:k.A,json:{write:!0}})],D.prototype,"material",void 0),(0,s.Cg)([(0,a.MZ)({type:v,json:{write:!0}})],D.prototype,"resource",void 0),(0,s.Cg)([(0,g.e)({Icon:"icon"},{readOnly:!0})],D.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({...C.pI,json:{write:{isRequired:!0}}})],D.prototype,"size",null),(0,s.Cg)([(0,g.e)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"},{default:"center"})],D.prototype,"anchor",void 0),(0,s.Cg)([(0,a.MZ)({type:x,json:{type:[Number],read:{reader:e=>new x({x:e[0],y:e[1]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],D.prototype,"anchorPosition",void 0),(0,s.Cg)([(0,a.MZ)({type:O,json:{write:!0}})],D.prototype,"outline",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],D.prototype,"angle",void 0),(0,s.Cg)([(0,a.MZ)({type:A.A,json:{write:!0}})],D.prototype,"occludedVisibility",void 0),D=N=(0,s.Cg)([(0,a.$K)("esri.symbols.IconSymbol3DLayer")],D);const P={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function K(e,t){return P[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},97515(e,t,o){o.d(t,{A:()=>a});var r=o(31635),s=o(69540),i=o(25482),l=o(91429);let n=class extends((0,s.OU)(i.o)){constructor(e){super(e),this.mode="hidden"}equals(e){return this.mode===e.mode}};(0,r.Cg)([(0,l.MZ)({type:["adaptive","hidden","visible"],json:{write:{isRequired:!0}}})],n.prototype,"mode",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.support.OccludedVisibility")],n);const a=n},97887(e,t,o){o.d(t,{A:()=>d});var r,s=o(31635),i=o(7762),l=o(4718),n=o(91429),a=o(11506),y=o(66525),p=o(58185),c=o(93223);const h=i.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:y.A}}),u=i.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:y.A}});let d=r=class extends p.A{constructor(e){super(e),this.symbolLayers=new h,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new i.A([a.A.fromSimpleLineSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:h,json:{type:u}})],d.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,c.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,s.Cg)([(0,n.$K)("esri.symbols.LineSymbol3D")],d)},98751(e,t,o){o.d(t,{A:()=>a});var r,s=o(31635),i=o(69622),l=o(91429),n=o(20655);let a=r=class extends i.A{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"name",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleUrl",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleName",void 0),(0,s.Cg)([(0,l.MZ)({type:n.A})],a.prototype,"portal",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.StyleOrigin")],a)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5750],{1123(e,t,n){n.r(t),n.d(t,{invokeGeometryOp:()=>a});var r=n(65864);function i(e,t){let n;return{loaded:!1,load:()=>n??=t().then(t=>{o[e]={loaded:!0,execute:t}})}}function s(e){return null==e?null:e.toJSON()}const o={disjoint:i("disjoint",()=>Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(8668)]).then(n.bind(n,7978)).then(e=>e.execute)),intersects:i("intersects",()=>Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(1933)]).then(n.bind(n,55284)).then(e=>e.execute)),touches:i("touches",()=>Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(6815)]).then(n.bind(n,83547)).then(e=>e.execute)),crosses:i("crosses",()=>Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(566)]).then(n.bind(n,85672)).then(e=>e.execute)),within:i("within",()=>Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(8541)]).then(n.bind(n,85445)).then(e=>e.execute)),contains:i("contains",()=>Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(1947)]).then(n.bind(n,29127)).then(e=>e.execute)),overlaps:i("overlaps",()=>Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(8820)]).then(n.bind(n,46178)).then(e=>e.execute)),equals:i("equals",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(974)]).then(n.bind(n,45328));return(t,n)=>e.execute((0,r.rS)(t),(0,r.rS)(n))}),relate:i("relate",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(4170)]).then(n.bind(n,43628));return(t,n,i)=>e.execute((0,r.rS)(t),(0,r.rS)(n),i)}),intersection:i("intersection",()=>Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(7271)]).then(n.bind(n,49263)).then(e=>e.execute)),union:i("union",()=>Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(2163)]).then(n.bind(n,56339)).then(e=>e.executeMany)),difference:i("difference",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(4140)]).then(n.bind(n,93054));return(t,n)=>s(e.execute((0,r.rS)(t),(0,r.rS)(n)))}),symmetricDifference:i("symmetricDifference",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(413)]).then(n.bind(n,89041));return(t,n)=>s(e.execute((0,r.rS)(t),(0,r.rS)(n)))}),clip:i("clip",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(8135)]).then(n.bind(n,24815));return(t,n)=>s(e.execute((0,r.rS)(t),(0,r.rS)(n)))}),cut:i("cut",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(4741)]).then(n.bind(n,37817));return(t,n)=>e.execute((0,r.rS)(t),(0,r.rS)(n)).map(e=>s(e))}),area:i("area",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(1478)]).then(n.bind(n,95624)),{convertFromSpatialReferenceUnit:t,toAreaUnit:i}=await n.e(547).then(n.bind(n,40547));return(n,s)=>{const o=e.execute((0,r.rS)(n));return t(n.spatialReference,i(s),o)}}),geodeticArea:i("geodeticArea",async()=>{const e=await n.e(9506).then(n.bind(n,89506)),{convert:t,squareMeters:i,toAreaUnit:s}=await n.e(547).then(n.bind(n,40547));return await e.load(),(n,o,a)=>{const l=e.execute((0,r.rS)(n),{curveType:a});return t(i,s(o),l)}}),length:i("length",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(5960)]).then(n.bind(n,51190)),{convertFromSpatialReferenceUnit:t,toLengthUnit:r}=await n.e(547).then(n.bind(n,40547));return(n,i)=>{const s=e.execute(n);return t(n.spatialReference,r(i),s)}}),geodeticLength:i("geodeticLength",async()=>{const e=await n.e(427).then(n.bind(n,40427)),{convert:t,meters:i,toLengthUnit:s}=await n.e(547).then(n.bind(n,40547));return await e.load(),(n,o,a)=>{const l=e.execute((0,r.rS)(n),{curveType:a});return t(i,s(o),l)}}),distance:i("distance",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(8616)]).then(n.bind(n,77038)),{convertFromSpatialReferenceUnit:t,toLengthUnit:i}=await n.e(547).then(n.bind(n,40547));return(n,s,o)=>{const a=e.execute((0,r.rS)(n),(0,r.rS)(s));return t(n.spatialReference,i(o),a)}}),densify:i("densify",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(2027)]).then(n.bind(n,88411)),{convertToSpatialReferenceUnit:t,toLengthUnit:i}=await n.e(547).then(n.bind(n,40547));return(n,o,a)=>(o=t(i(a),n.spatialReference,o),s(e.execute((0,r.rS)(n),o)))}),geodeticDensify:i("geodeticDensify",async()=>{const e=await n.e(4097).then(n.bind(n,64097)),{convert:t,meters:i,toLengthUnit:o}=await n.e(547).then(n.bind(n,40547));return await e.load(),(n,a,l,c)=>(a=t(o(l),i,a),s(e.execute((0,r.rS)(n),a,{curveType:c})))}),generalize:i("generalize",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(4423)]).then(n.bind(n,60591)),{convertToSpatialReferenceUnit:t,toLengthUnit:i}=await n.e(547).then(n.bind(n,40547));return(n,o,a,l)=>(o=t(i(a),n.spatialReference,o),s(e.execute((0,r.rS)(n),o,l)))}),buffer:i("buffer",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(1352),n.e(218)]).then(n.bind(n,46160)),{convertToSpatialReferenceUnit:t,toLengthUnit:r}=await n.e(547).then(n.bind(n,40547));return(n,i,s)=>(i=t(r(s),n.spatialReference,i),e.execute(n,i))}),geodesicBuffer:i("geodesicBuffer",async()=>{const e=await n.e(9159).then(n.bind(n,49159)),{convert:t,meters:r,toLengthUnit:i}=await n.e(547).then(n.bind(n,40547));return await e.load(),(n,s,o,a)=>(s=t(i(o),r,s),e.execute(n,s,{curveType:a}))}),offset:i("offset",async()=>{const{executeOffsetJson:e}=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(6225)]).then(n.bind(n,85549));return e}),rotate:i("rotate",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(4303)]).then(n.bind(n,50647)),{default:t}=await Promise.all([n.e(3661),n.e(1878),n.e(8812)]).then(n.bind(n,78812));return(n,i,o,a)=>{const l=(new t).rotate(i,o,a);return s(e.execute((0,r.rS)(n),l))}}),centroid:i("centroid",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(3149)]).then(n.bind(n,17077));return t=>s(e.execute((0,r.rS)(t)))}),labelPoint:i("labelPoint",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(5913),n.e(7809)]).then(n.bind(n,91421));return t=>s(e.execute((0,r.rS)(t)))}),simplify:i("simplify",()=>Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(4377)]).then(n.bind(n,3637)).then(e=>e.execute)),isSelfIntersecting:i("isSelfIntersecting",async()=>{const{NonSimpleResult:e}=await n.e(4383).then(n.bind(n,24383)),t=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(8584)]).then(n.bind(n,5874)),i=new Set([5,6,7,10,11,12]);return n=>{const s=new e;return!t.isSimple((0,r.rS)(n),s)&&i.has(s.m_reason)}}),isSimple:i("isSimple",()=>Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(4377)]).then(n.bind(n,3637)).then(e=>e.isSimple)),convexHull:i("convexHull",()=>Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(2184)]).then(n.bind(n,55666)).then(e=>e.execute)),getNearestCoordinate:i("getNearestCoordinate",async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(2406)]).then(n.bind(n,48032));return(t,n,i)=>{const o=e.getNearestCoordinate((0,r.rS)(t),(0,r.rS)(n),i);return{...o,coordinate:s(o.coordinate)}}}),getNearestVertex:i("getNearestVertex",async()=>{const{executeNearestVertex:e}=await Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(4988)]).then(n.bind(n,64064));return(t,n)=>{const i=e((0,r.rS)(t),(0,r.rS)(n));return null==i?null:{...i,coordinate:s(i.coordinate)}}})};function a(e,t){const n=o[e];return n.loaded?n.execute.apply(void 0,t):n.load().then(()=>a(e,t))}},21276(e,t,n){n.d(t,{H:()=>s,f:()=>i});var r=n(49186);function i(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new r.A("internal:mesh","Mesh geometries are not supported for this operation")}function s(e){e.forEach(i)}},28735(e,t,n){n.d(t,{Cv:()=>y,Gh:()=>w,ci:()=>b,je:()=>m,jg:()=>u,tD:()=>g,y7:()=>f});var r=n(4718),i=n(21276),s=n(16930),o=n(79258),a=n(21325);function l(e){return 57.29577951308232*e}function c(e){return.017453292519943*e}function u(e){return Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))}function h(e){return null!=e.wkid||null!=e.wkt}const p=[0,0];function d(e,t,n,r,i){const s=e,o=i;if(o.spatialReference=n,"x"in s&&"x"in o)[o.x,o.y]=t(s.x,s.y,p,r);else if("xmin"in s&&"xmin"in o)[o.xmin,o.ymin]=t(s.xmin,s.ymin,p,r),[o.xmax,o.ymax]=t(s.xmax,s.ymax,p,r);else if("paths"in s&&"paths"in o||"rings"in s&&"rings"in o){const e="paths"in s?s.paths:s.rings,n=[];let i;for(let s=0;s<e.length;s++){const o=e[s];i=[],n.push(i);for(let e=0;e<o.length;e++)i.push(t(o[e][0],o[e][1],[0,0],r)),o[e].length>2&&i[e].push(o[e][2]),o[e].length>3&&i[e].push(o[e][3])}"paths"in o?o.paths=n:o.rings=n}else if("points"in s&&"points"in o){const e=s.points,n=[];for(let i=0;i<e.length;i++)n[i]=t(e[i][0],e[i][1],[0,0],r),e[i].length>2&&n[i].push(e[i][2]),e[i].length>3&&n[i].push(e[i][3]);o.points=n}return i}function f(e,t){const n=e&&(h(e)?e:e.spatialReference),r=t&&(h(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!n||!r)&&(!!(0,a.aI)(r,n)||(0,a.K8)(r)&&(0,a.oT)(n)||(0,a.K8)(n)&&(0,a.oT)(r))}function y(e,t){if(null==e)return null;const n=e.spatialReference,i=t&&(h(t)?t:t.spatialReference);return f(n,i)?(0,a.aI)(n,i)?(0,r.o8)(e):(0,a.K8)(i)?d(e,m,s.A.WebMercator,!1,(0,r.o8)(e)):(0,a.oT)(i)?d(e,g,s.A.WGS84,!1,(0,r.o8)(e)):null:null}function m(e,t,n=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const r=c(t);return n[0]=c(e)*o.$O.radius,n[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(r))/(1-Math.sin(r))),n}function g(e,t,n=[0,0],r=!1){if(e===a.Mc[0])n[0]=-180;else if(e===a.Mc[1])n[0]=180;else{const t=l(e/o.$O.radius);n[0]=r?t:t-360*Math.floor((t+180)/360)}return n[1]=l(Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))),n}function w(e,t=!1,n=(0,r.o8)(e)){return(0,i.f)(e),(0,i.f)(n),d(e,m,s.A.WebMercator,t,n)}function b(e,t=!1,n=(0,r.o8)(e)){return(0,i.f)(e),(0,i.f)(n),d(e,g,s.A.WGS84,t,n)}},31635(e,t,n){function r(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function i(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,i;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}n.d(t,{Cg:()=>r,hk:()=>o,mS:()=>i}),Object.create,Object.create;var s="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function o(e){function t(t){e.error=e.hasError?new s(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function i(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(i);if(n.dispose){var s=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(s).then(i,function(e){return t(e),i()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},34304(e,t,n){n.d(t,{DF:()=>l,FD:()=>i,Ov:()=>s,ct:()=>c});let r=1e-6;function i(){return r}const s=Math.random,o=Math.PI/180,a=180/Math.PI;function l(e){return e*o}function c(e){return e*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:s,equals:function(e,t){return Math.abs(e-t)<=r*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:i,setEpsilon:function(e){r=e},toDegree:c,toRadian:l},Symbol.toStringTag,{value:"Module"}))},48526(e,t,n){n.d(t,{A:()=>f});var r,i=n(31635),s=n(4718),o=n(91429),a=n(5443),l=n(91075),c=n(86738),u=n(16930),h=n(90634),p=n(56993),d=n(43937);let f=r=class extends l.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:n,hasZ:r,spatialReference:i}=e;switch(t??=[],t?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return i??=u.A.WGS84,{...e,hasM:n,hasZ:r,points:t,spatialReference:i}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,h.ge)(this);return e?new a.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,s.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:n,hasZ:i}=this;return new r({points:(0,s.o8)(e),spatialReference:t.clone(),hasM:n,hasZ:i})}addPoint(e){return(0,p.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],n={x:t[0],y:t[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=t[2],r=3),this.hasM&&(n.m=t[r]),new c.A(n)}removePoint(e){if(!this._validateInputs(e))return null;const t=new c.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,p.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,i.Cg)([(0,o.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,i.Cg)([(0,o.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],f.prototype,"points",void 0),(0,i.Cg)([(0,d.K)("points")],f.prototype,"writePoints",null),f=r=(0,i.Cg)([(0,o.$K)("esri.geometry.Multipoint")],f),f.prototype.toJSON.isDefaultToJSON=!0},60408(e,t,n){function r(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function s(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function c(e){return e?s(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":r(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function u(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function h(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>c,Bi:()=>a,Pv:()=>u,Rg:()=>o,U9:()=>i,W0:()=>h,ZC:()=>r,fT:()=>s,uW:()=>l})},65864(e,t,n){n.d(t,{rS:()=>u,xD:()=>p});var r=n(5443),i=n(91075),s=n(48526),o=n(86738),a=n(39829),l=n(82799),c=n(60408);function u(e){return null==e?null:e instanceof i.A?e:(0,c.fT)(e)?o.A.fromJSON(e):(0,c.Rg)(e)?l.A.fromJSON(e):(0,c.Bi)(e)?a.A.fromJSON(e):(0,c.U9)(e)?s.A.fromJSON(e):(0,c.ZC)(e)?r.A.fromJSON(e):null}const h={esriGeometryPoint:o.A,esriGeometryPolyline:l.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:r.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:a.A};function p(e){return e&&h[e]||null}},86738(e,t,n){n.d(t,{A:()=>b});var r=n(31635),i=n(69622),s=n(53966),o=n(91429),a=n(56507),l=n(91075),c=n(16930),u=n(21325),h=n(28735);function p({x:e,y:t,spatialReference:n},r=[0,0]){if(n){if((0,u.K8)(n))return(0,h.tD)(e,t,r);if((0,u.EA)(n))return r[0]=e,r[1]=t,r}return null}const d=[0,0];var f,y=n(43937),m=n(36005);const g=[0,0];function w(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let b=f=class extends l.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const n=e._get("spatialReference");t._set("spatialReference",i.A.isFrozen(n)?n:n.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,n,r,i){let o;if(Array.isArray(e))o=e,i=t,e=o[0],t=o[1],n=o[2],r=o[3];else if(e&&"object"==typeof e){if(o=e,e=null!=o.x?o.x:o.longitude,t=null!=o.y?o.y:o.latitude,n=o.z,r=o.m,(i=o.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new c.A(i)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)s.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)s.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&i?.isWebMercator){const n=(0,h.je)(o.longitude,o.latitude,g);e=n[0],t=n[1]}}else w(n)?(i=n,n=null):w(r)&&(i=r,r=null);const a={x:e,y:t};return null==a.x&&null!=a.y?s.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==a.y&&null!=a.x&&s.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(a.spatialReference=i),null!=n&&(a.z=n),null!=r&&(a.m=r),a}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(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return p(this,d)?.[1]??null}set latitude(e){const{spatialReference:t,x:n}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,h.je)(n,e,g)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return p(this,d)?.[0]??null}set longitude(e){const{y:t,spatialReference:n}=this;null!=e&&n&&(n.isWebMercator?this._set("x",(0,h.je)(e,t,g)[0]):n.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,n){t[n]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new f;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return f.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:n,z:r,m:i,spatialReference:s}=this,{z:o,m:a}=e;let{x:l,y:c,spatialReference:u}=e;if(!s.equals(u))if(s.isWebMercator&&u.isWGS84)[l,c]=(0,h.je)(l,c),u=s;else{if(!s.isWGS84||!u.isWebMercator)return!1;[l,c]=(0,h.tD)(l,c),u=s}return t===l&&n===c&&r===o&&i===a&&s.wkid===u.wkid}offset(e,t,n){return this.x+=e,this.y+=t,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const e=(0,u.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[n,r]=e.valid,i=2*r;let s;return t>r?(s=Math.ceil(Math.abs(t-r)/i),t-=s*i):t<n&&(s=Math.ceil(Math.abs(t-n)/i),t+=s*i),this._set("x",t),this}distance(e){return function(e,t){const n=e.x-t.x,r=e.y-t.y,i=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(n*n+r*r+i*i)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],b.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],b.prototype,"hasM",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],b.prototype,"hasZ",null),(0,r.Cg)([(0,o.MZ)({type:Number})],b.prototype,"latitude",null),(0,r.Cg)([(0,o.MZ)({type:Number})],b.prototype,"longitude",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,o.wg)(e=>isNaN(e)?e:(0,a.GB)(e))],b.prototype,"x",void 0),(0,r.Cg)([(0,y.K)("x")],b.prototype,"writeX",null),(0,r.Cg)([(0,m.w)("x")],b.prototype,"readX",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],b.prototype,"y",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],b.prototype,"z",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],b.prototype,"m",void 0),b=f=(0,r.Cg)([(0,o.$K)("esri.geometry.Point")],b),b.prototype.toJSON.isDefaultToJSON=!0},91075(e,t,n){n.d(t,{A:()=>l});var r=n(31635),i=n(25482),s=n(91429),o=n(16930),a=n(36005);let l=class extends i.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=o.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof o.A)return e;if(null!=e){const n=new o.A;return n.read(e,t),n}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,r.Cg)([(0,s.MZ)()],l.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,r.Cg)([(0,s.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasM",void 0),(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasZ",void 0),(0,r.Cg)([(0,s.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],l.prototype,"spatialReference",void 0),(0,r.Cg)([(0,a.w)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,r.Cg)([(0,s.$K)("esri.geometry.Geometry")],l)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3548,7548,7694],{4146(e,t,r){r.d(t,{A:()=>w});var i=r(31635),n=r(11254),s=r(49186),o=r(65529),a=r(4902),l=r(92474),u=r(53966),c=r(74887),d=r(84952),p=r(91429),f=r(5443),h=r(16930),y=r(92602),m=r(79677);let g=0,w=class extends((0,o.Zt)((0,a.s)(l.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new f.A(-180,-90,180,90,h.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+g++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=h.A.WGS84,this.title=null,this.type=null,this.url=null,this.visibilityTimeExtent=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await Promise.all([r.e(812),r.e(7982)]).then(r.bind(r,27982))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},{fromItem:i}=await Promise.all([r.e(812),r.e(5613),r.e(5710)]).then(r.bind(r,45613));try{return await i(t)}catch(e){const r=t?.portalItem,i=r?.id||"unset",n=r?.portal?.url||y.A.portalUrl;throw u.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+n+"', id: '"+i+"')",e),e}}(e)}initialize(){this.when().catch(e=>{(0,c.zf)(e)||u.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})})}destroy(){const{parent:e}=this;e&&(this.parent=null,e.removeChildLayer?.(this))}get effectiveVisible(){return this.visible&&(this.parent?.effectiveVisible??!0)}get hasAttributionData(){return null!=this.attributionDataUrl}get loaded(){return super.loaded}removeFromParent(){const{parent:e}=this;e&&(e.removeChildLayer?.(this),this.parent=null)}get parsedUrl(){return(0,d.An)(this.url)}createLayerView(e,t){return Promise.reject(new s.A("layer:create-layer-view","Layer does not support creating a layer view"))}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,n.A)(e,{query:{f:"json"},responseType:"json"})).data;throw new s.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,i.Cg)([(0,p.MZ)({type:String})],w.prototype,"attributionDataUrl",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],w.prototype,"effectiveVisible",null),(0,i.Cg)([(0,p.MZ)({type:f.A})],w.prototype,"fullExtent",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],w.prototype,"hasAttributionData",null),(0,i.Cg)([(0,p.MZ)({type:String,clonable:!1})],w.prototype,"id",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,nonNullable:!0})],w.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,p.MZ)({type:["show","hide","hide-children"]})],w.prototype,"listMode",void 0),(0,i.Cg)([(0,p.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],w.prototype,"opacity",void 0),(0,i.Cg)([(0,p.MZ)({clonable:!1})],w.prototype,"parent",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],w.prototype,"parsedUrl",null),(0,i.Cg)([(0,p.MZ)({type:Boolean,readOnly:!0})],w.prototype,"persistenceEnabled",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean})],w.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean})],w.prototype,"attributionVisible",void 0),(0,i.Cg)([(0,p.MZ)({type:h.A})],w.prototype,"spatialReference",void 0),(0,i.Cg)([(0,p.MZ)({type:String})],w.prototype,"title",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0,json:{read:!1}})],w.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)()],w.prototype,"url",void 0),(0,i.Cg)([(0,p.MZ)({type:m.A})],w.prototype,"visibilityTimeExtent",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,nonNullable:!0})],w.prototype,"visible",void 0),w=(0,i.Cg)([(0,p.$K)("esri.layers.Layer")],w)},6797(e,t,r){r.d(t,{Ui:()=>p});var i=r(69622),n=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 i.A}function l(e){return e instanceof n.A?Object.keys(e.items):a(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof n.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function d(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const i=l(e),n=l(t);if(0===i.length&&0===n.length)return;if(!i.length||!n.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=n.filter(e=>!i.includes(e)),p=i.filter(e=>!n.includes(e)),f=i.filter(r=>n.includes(r)&&u(e,r)!==u(t,r)).concat(s,p).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 i of f){const n=u(e,i),s=u(t,i);let o;if((m||"function"!=typeof n&&"function"!=typeof s)&&n!==s&&(null!=n||null!=s)){if(r&&r[i]&&"function"==typeof r[i])o=r[i]?.(n,s);else if(n instanceof Date&&s instanceof Date){if(n.getTime()===s.getTime())continue;o={type:"complete",oldValue:n,newValue:s}}else o="object"==typeof n&&"object"==typeof s&&c(n)===c(s)?d(n,s):{type:"complete",oldValue:n,newValue:s};null!=o&&(null!=y?y.diff[i]=o:y={type:"partial",diff:{[i]:o}})}}return y}function p(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}:d(e,t)}},16215(e,t,r){r.d(t,{S:()=>n,Y:()=>i});const i=Symbol("BasemapInstance");function n(e){return null!=e&&"object"==typeof e&&i in e}},16494(e,t,r){r.d(t,{Nd:()=>a,W5:()=>o});var i=r(37330);const n=["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 i.I({whiteList:n,onTagAttr:(e,t,r)=>{const i=`${t}="${r}"`;if(s.includes(t))return i},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),a=new i.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},17311(e,t,r){r.d(t,{A:()=>f});var i=r(31635),n=r(69622),s=r(4576),o=r(60999),a=r(7762),l=r(16494),u=r(91429),c=r(30524),d=r(43668);const p=/<br\s*\/*>/gi;let f=class extends n.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,d.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("."),i=this.fieldsIndex.get(r.at(-1)??"");i&&e.add(i.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 i=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],r)).get(i)??""}async getTitles(e,t,r){const i=new Map,n=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 d=u?s({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:o,globalAttributes:this._createFormattedAttributes(e,t,n).global,layer:e,text:a}):"";r?.removeHTML&&(d=l.Nd.sanitize(d).replaceAll(p," ")),i.set(c,d)})}catch{}return i}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 i=e.createQuery();i.where="1=1",i.outFields=[...this.requiredFields],i.objectIds=r;const n=await e.queryFeatures(i);if(n?.features.length===t.length)return n.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),i=e?.name??r.fieldName;r.fieldName=i,t.set(i.toLowerCase(),r)}return t}_createFormattedAttributes(e,t,r="system"){const i=this.effectivePopupTemplate?.fieldInfos??[],n={};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{n[`expression/${e.name}`]=e.func({vars:{$feature:r}})}catch{}}const s={...t.attributes,...n};return{global:this._featureUtils.formatAttributes({fieldInfos:i,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,i.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"_arcadeTask",null),(0,i.Cg)([(0,u.MZ)()],f.prototype,"_featureUtils",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"featureUtilsPromise",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"calculatedExpressions",null),(0,i.Cg)([(0,u.MZ)()],f.prototype,"displayField",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"effectivePopupTemplate",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"expressionsUsedInTitle",null),(0,i.Cg)([(0,u.MZ)()],f.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"fieldInfoMap",null),(0,i.Cg)([(0,u.MZ)()],f.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"objectIdField",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"requiredFields",null),f=(0,i.Cg)([(0,u.$K)("esri.layers.support.TitleCreator")],f)},29005(e,t,r){r.d(t,{A:()=>u});var i=r(31635),n=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,n.OU)(o.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],u.prototype,"drawingTool",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,i.Cg)([(0,a.$K)("esri.layers.support.FeatureTemplate")],u)},32730(e,t,r){r.d(t,{BI:()=>f,D3:()=>d,XJ:()=>p,lc:()=>c,mX:()=>y,rU:()=>h,tH:()=>b});var i=r(799);const n="__begin__",s="__end__",o=new RegExp(n,"ig"),a=new RegExp(s,"ig"),l=new RegExp("^"+n,"i"),u=new RegExp(s+"$","i");function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function d(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function p(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=c(e.labelExpression),t.type="conventional"),t}function f(e){const t=p(e);if(!t)return null;switch(t.type){case"conventional":return y(t.expression);case"arcade":return t.expression}return null}function h(e){const t=p(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(m);return t?.[1].trim()||null}(t.expression);case"arcade":return b(t.expression)}return null}function y(e){let t;return e?(t=(0,i.HC)(e,e=>n+'$feature["'+e+'"]'+s),t=l.test(t)?t.replace(l,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(o,'" + ').replaceAll(a,' + "')):t='""',t}const m=/^\s*\{([^}]+)\}\s*$/i,g=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,w=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,v=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function b(e){if(!e)return null;let t=g.exec(e)||w.exec(e);return t?t[1]||t[3]:(t=v.exec(e),t?t[2]:null)}},32756(e,t,r){r.d(t,{Rr:()=>a,fY:()=>u,ne:()=>l});var i=r(31635),n=r(93637),s=r(91429),o=r(91880);function a(e,t,r){if(!e)return null;const i=e.find(e=>!!e.field);if(!i)return null;const n=new o.A;return n.read(i,r),[n]}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,i){const s=e.find(e=>!!e.field);s&&(0,n.sM)(r,[s.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,s.MZ)(l)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],r),r}},33143(e,t,r){r.d(t,{A:()=>d});var i=r(31635),n=r(69540),s=r(25482),o=r(91429),a=r(8631),l=r(29005),u=r(36005),c=r(43937);let d=class extends((0,n.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.r)(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,i.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,i.Cg)([(0,u.w)("domains")],d.prototype,"readDomains",null),(0,i.Cg)([(0,c.K)("domains")],d.prototype,"writeDomains",null),(0,i.Cg)([(0,o.MZ)({type:[l.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,i.Cg)([(0,o.$K)("esri.layers.support.FeatureType")],d)},37352(e,t,r){r.d(t,{A:()=>l});var i,n=r(31635),s=r(7762),o=r(25482),a=r(91429);let l=i=class extends o.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new s.A}clone(){return new i({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,n.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"floorField",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllMode",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllLevelIds",void 0),l=i=(0,n.Cg)([(0,a.$K)("esri.layers.support.LayerFloorInfo")],l)},41366(e,t,r){r.d(t,{K:()=>d,Q:()=>l});var i=r(31635),n=r(66552),s=r(53966),o=r(91429),a=r(93223);const l=(0,n.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",d=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,i.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,i.Cg)([(0,a.e)(l,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,i.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},41560(e,t,r){r.d(t,{Ch:()=>o,mW:()=>s});var i=r(34727),n=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:i}of e.filters)t[0]=Math.max(t[0],c(r)),t[1]=Math.min(t[1],d(i));return t}(e);if(s&&((0,i.gg)(t,s[0])||(0,i.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 n=c(e.at(0)?.minScale),s=d(e.at(-1)?.maxScale);if((0,i.ZH)(n,t)||(0,i.gg)(s,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],n=e[t+1];if((0,i.ZH)(c(n.minScale),d(r.maxScale)))return!0}return!1}(o,t,r)?"1=1":o.map(e=>e.where||"1=1").reduce((e,t)=>(0,n.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 i of e.filters)l(i.minScale,i.maxScale,t,r)&&(yield i)}}function l(e,t,r,n){return e=c(e),r=c(r),t=d(t),!(!(0,i.Sp)(r,e)&&(n??r)>e||(0,i.Hx)(t,r)||void 0!==n&&(0,i.Sp)(n,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function d(e){return e||0}},45067(e,t,r){r.d(t,{A:()=>c});var i=r(31635),n=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,n.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,i.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],c.prototype,"cardinality",void 0),(0,i.Cg)([(0,a.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,i.Cg)([(0,a.$K)("esri.layers.support.Relationship")],c)},46140(e,t,r){r.d(t,{A:()=>n});var i=r(49186);let n=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 i.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[n,s]=t.split("."),o=/^\s*\d+\s*$/;if(!n?.match||!o.test(n))throw new i.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 i.A((r&&r+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:t});const a=parseInt(n,10),l=parseInt(s,10);return new e(a,l,r)}}},52136(e,t,r){r.d(t,{p:()=>s});var i=r(31635),n=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,i.Cg)([(0,n.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.APIKeyMixin")],r),r}},55674(e,t,r){r.d(t,{Ad:()=>f,Gj:()=>m,QY:()=>p,lL:()=>g,xR:()=>h});var i=r(66131),n=r(49186),s=(r(44208),r(44729)),o=r(15032),a=r(65864),l=r(95466),u=r(43668),c=r(98623);const d=["geometry","scale","timeProperties"];function p(e,t){if(null!=t)for(const r of d)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,i){const{arcade:s,Dictionary:o}=await(0,u.l)();let a;try{a=s.parseScript(e)}catch(t){throw new n.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:i.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},d=s.compileScript(a,c);let p=null;null!=r&&(p=new o(r),p.immutable=!0);const f=new o;return f.immutable=!1,f.setField("scale",0),new y(e,s,a,d,t,f,p,o)}constructor(e,t,r,i,n,s,o,a){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=i,this._spatialReference=n,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:n,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=n?null!=r?i.lY.epochToArcadeDate(n,r):i.lY.unknownEpochToArcadeDate(n):void 0,currentEnd:null!=s?null!=r?i.lY.epochToArcadeDate(s,r):i.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 i=t??new l.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=i.fields,this._boundSchema.fieldsIndex=i,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 i.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?i.lY.unknownEpochToArcadeDate(t):i.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:()=>n});var i=r(62815);function n(e,t,r){if(!r?.features||!r.hasZ)return;const n=(0,i.N)(r.geometryType,t,e.outSpatialReference);if(n)for(const e of r.features)n(e.geometry)}},62815(e,t,r){r.d(t,{N:()=>o});var i=r(86211),n=r(73941),s=r(21325);function o(e,t,r){if(null==t||null==r||r.vcsWkid||(0,s.aI)(t,r)||(0,n.xP)(t)||(0,n.xP)(r))return;const o=(0,i.G9)(t)/(0,i.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}}},73681(e,t,r){r.d(t,{n:()=>l});var i=r(49186),n=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.A.parse(e.dictionary_version):null,c=new Set(e.itemsNames),d={};if(t)for(const e in t)d[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)d.hasOwnProperty(t.name)||(d[t.name]=t.value);const p=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))p.delete(e);p.size&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:p});const f=await(0,a.xR)(e.expression,null,d);if(!f)throw new i.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const h=!o||!o.greaterEqual(4,0);h&&n.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,i){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=i}get itemNames(){return this._itemNames}evaluate(e,t,r,i){try{return this._reader.bind(e,r,i),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){n.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]}}},77548(e,t,r){r.d(t,{Gh:()=>g,tk:()=>f,BR:()=>p,wI:()=>d,G$:()=>y,$x:()=>h,Ov:()=>l,UC:()=>s,W_:()=>u,OP:()=>m,TU:()=>a,XX:()=>o,jy:()=>c});var i=r(70333),n=r(11254);function s(e){return null!=e&&"object"==typeof e&&"type"in e&&"knowledge-graph-sublayer"===e.type}r(7762),r(84952),r(36563),r(36708),r(4146),new WeakMap,r(16215);const o={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function a(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function l(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function u(e){const t=e?.type;return("feature"===t||"subtype-group"===t||"oriented-imagery"===t)&&"feature-layer"===e?.source?.type}function c(e){return function(e){return null!=e&&"object"==typeof e&&"type"in e&&"feature"===e.type}(e)&&function(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}(e)}async function d(e,t){const r=i.id?.findServerInfo(e);if(null!=r?.currentVersion)return r.owningSystemUrl||null;const s=e.toLowerCase().indexOf("/rest/services");if(-1===s)return null;const o=`${e.slice(0,s)}/rest/info`,a=null!=t?t.signal:null,{data:l}=await(0,n.A)(o,{query:{f:"json"},responseType:"json",signal:a});return l?.owningSystemUrl||null}function p(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function f(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":case"knowledge-graph-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}function h(e,t){return null}function y(e){return null}function m(e){return!e||"Feature Service"===e.type&&!e.sourceUrl}function g(e,t){if(!t||!m(e))return;const r=(e.url,null);r&&(e.url=r)}},79677(e,t,r){r.d(t,{A:()=>d});var i,n=r(31635),s=r(25482),o=r(88930),a=r(91429),l=r(98623),u=r(36005),c=r(43937);let d=class extends s.o{static{i=this}static get allTime(){return p}static get empty(){return f}static fromArray(e){return new i({start:null!=e[0]?new Date(e[0]):e[0],end:null!=e[1]?new Date(e[1]):e[1]})}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(i.allTime)}get isEmpty(){return this.equals(i.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new i({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,r=this.end?.getTime()??this.end,i=e.start?.getTime()??e.start,n=e.end?.getTime()??e.end;return t===i&&r===n}expandTo(e,t=l.qU){if(this.isEmpty||this.isAllTime)return this.clone();let r=this.start;r&&(r=(0,o.lL)(r,e,t));let n=this.end;if(n){const r=(0,o.lL)(n,e,t);n=n.getTime()===r.getTime()?r:(0,o.S1)(r,1,e,t)}return new i({start:r,end:n})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return i.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,r=this.end?.getTime()??1/0,n=e.start?.getTime()??-1/0,s=e.end?.getTime()??1/0;let o,a;return n>=t&&n<=r?o=n:t>=n&&t<=s&&(o=t),r>=n&&r<=s?a=r:s>=t&&s<=r&&(a=s),null==o||null==a||isNaN(o)||isNaN(a)?i.empty:new i({start:o===-1/0?null:new Date(o),end:a===1/0?null:new Date(a)})}offset(e,t,r=l.qU){if(this.isEmpty||this.isAllTime)return this.clone();const n=new i,{start:s,end:a}=this;return null!=s&&(n.start=(0,o.S1)(s,e,t,r)),null!=a&&(n.end=(0,o.S1)(a,e,t,r)),n}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return p.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,r=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new i({start:t,end:r})}};(0,n.Cg)([(0,a.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,n.Cg)([(0,u.w)("end")],d.prototype,"readEnd",null),(0,n.Cg)([(0,c.K)("end")],d.prototype,"writeEnd",null),(0,n.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,n.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,n.Cg)([(0,a.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,n.Cg)([(0,u.w)("start")],d.prototype,"readStart",null),(0,n.Cg)([(0,c.K)("start")],d.prototype,"writeStart",null),d=i=(0,n.Cg)([(0,a.$K)("esri.time.TimeExtent")],d);const p=new d,f=new d({start:void 0,end:void 0})},91880(e,t,r){r.d(t,{A:()=>u});var i,n=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{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,n.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,n.Cg)([(0,a.MZ)({type:l.apiValues,json:{type:l.jsonValues,read:l.read,write:l.write}})],u.prototype,"order",void 0),u=i=(0,n.Cg)([(0,a.$K)("esri.layers.support.OrderByInfo")],u)}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see e3d3fc87789fd711f161.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8098],{48098(e,t,o){o.r(t),o.d(t,{Notice:()=>v}),o(65942),o(43474);var i=o(34088),c=o(46337),n=o(48015),a=o(98268),l=o(8348),r=o(79e3);const s={danger:"exclamationMarkTriangleF",info:"informationF",success:"checkCircleF",warning:"exclamationMarkTriangleF"};var d=o(70101),h=o(83623),p=o(75572),g=o(20307);const u=c.AH`:host([scale=s]){--calcite-notice-spacing-token-small: .5rem;--calcite-notice-spacing-token-large: .75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=m]){--calcite-notice-spacing-token-small: .75rem;--calcite-notice-spacing-token-large: 1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small: 1rem;--calcite-notice-spacing-token-large: 1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .notice-close{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=l]) .actions-end{margin-inline-end:var(--calcite-spacing-sm);gap:var(--calcite-spacing-sm)}:host([width=auto]){--calcite-notice-width: auto}:host([width=half]){--calcite-notice-width: 50%}:host([width=full]){--calcite-notice-width: 100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity,max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-radius:var(--calcite-notice-corner-radius, var(--calcite-corner-radius-sm))}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;overflow:visible}:host([open][appearance=outline-fill]) .container{border:var(--calcite-border-width-sm) solid}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-notice-title-text-color, var(--calcite-color-text-1))}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-notice-content-text-color, var(--calcite-color-text-2))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=title]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=title]){color:var(--calcite-notice-title-text-color, var(--calcite-color-text-inverse))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=message]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=message]){color:var(--calcite-notice-content-text-color, var(--calcite-color-text-inverse))}.notice-content{box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-large)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;padding-inline:var(--calcite-notice-spacing-token-small)}.notice-close{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);--calcite-action-text-color: var(--calcite-notice-close-icon-color, var(--calcite-color-text-3));--calcite-action-background-color: var(--calcite-action-background-color, transparent)}.notice-close:hover,.notice-close:focus{--calcite-action-background-color-hover: var( --calcite-notice-close-background-color-focus, var(--calcite-color-foreground-2) );--calcite-action-text-color-press: var(--calcite-notice-close-icon-color-hover, var(--calcite-color-text-1))}.notice-close:active{--calcite-action-background-color-press: var( --calcite-notice-close-background-color-press, var(--calcite-color-foreground-3) )}.actions-end{display:flex;align-items:center;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);gap:var(--calcite-spacing-xs)}:host([kind=brand][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-brand) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-brand) 5%, var(--calcite-color-foreground-1)))}:host([kind=brand][appearance=outline-fill]) .notice-icon,:host([kind=brand][appearance=transparent]) .notice-icon{color:var(--calcite-color-brand)}:host([kind=info][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-info) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-info) 5%, var(--calcite-color-foreground-1)))}:host([kind=info][appearance=outline-fill]) .notice-icon,:host([kind=info][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-danger) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-danger) 5%, var(--calcite-color-foreground-1)))}:host([kind=danger][appearance=outline-fill]) .notice-icon,:host([kind=danger][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-success) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-success) 5%, var(--calcite-color-foreground-1)))}:host([kind=success][appearance=outline-fill]) .notice-icon,:host([kind=success][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-warning) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-warning) 5%, var(--calcite-color-foreground-1)))}:host([kind=warning][appearance=outline-fill]) .notice-icon,:host([kind=warning][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-warning)}:host([kind=neutral][appearance=outline-fill]) .container{border-color:var(--calcite-color-border-2);background-color:var(--calcite-notice-background-color, var(--calcite-color-foreground-1))}:host([kind=neutral]) .notice-icon{color:var(--calcite-color-text-3)}:host([appearance=transparent]) .container{background-color:transparent}:host([hidden]){display:none}[hidden]{display:none}`;class v extends a.WF{constructor(){super(...arguments),this.closeButtonRef=(0,n._)(),this.transitionProp="opacity",this.transitionRef=(0,n._)(),this.messages=(0,p.u)(),this.focusSetter=(0,g.u)()(this),this.hasActionEnd=!1,this.appearance="outline-fill",this.closable=!1,this.iconFlipRtl=!1,this.kind="brand",this.open=!1,this.scale="m",this.width="auto",this.calciteNoticeBeforeClose=(0,l.c)({cancelable:!1}),this.calciteNoticeBeforeOpen=(0,l.c)({cancelable:!1}),this.calciteNoticeClose=(0,l.c)({cancelable:!1}),this.calciteNoticeOpen=(0,l.c)({cancelable:!1})}static{this.properties={hasActionEnd:[16,{},{state:!0}],appearance:[3,{},{reflect:!0}],closable:[7,{},{reflect:!0,type:Boolean}],icon:[3,{converter:a.pf,type:String},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],kind:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=u}async setFocus(e){return this.focusSetter(()=>this.el.querySelector("calcite-link")||this.closeButtonRef.value,e)}async load(){this.kindIcons={...s,brand:"lightbulb"},this.requestedIcon=(0,r.v)(this.kindIcons,this.icon,this.kind)}willUpdate(e){e.has("open")&&(this.hasUpdated||!1!==this.open)&&(0,d.t)(this),(e.has("icon")||e.has("kind")&&(this.hasUpdated||"brand"!==this.kind))&&(this.requestedIcon=(0,r.v)(this.kindIcons,this.icon,this.kind))}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}close(){this.open=!1}handleActionsEndSlotChange(e){this.hasActionEnd=(0,r.a)(e)}render(){const e=c.qy`<calcite-action class=${(0,a.CP)("notice-close")} icon=x @click=${this.close} .scale=${this.scale} .text=${this.messages.close} ${(0,n.K)(this.closeButtonRef)}></calcite-action>`;return c.qy`<div class=${(0,a.CP)("container")} ${(0,n.K)(this.transitionRef)}>${this.requestedIcon?c.qy`<div class=${(0,a.CP)("notice-icon")}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${(0,h.g)(this.scale)}></calcite-icon></div>`:null}<div class=${(0,a.CP)("notice-content")}><slot name=${"title"}></slot><slot name=${"message"}></slot><slot name=${"link"}></slot></div><div class=${(0,a.CP)("actions-end")} .hidden=${!this.hasActionEnd}><slot name=${"actions-end"} @slotchange=${this.handleActionsEndSlotChange}></slot></div>${this.closable?e:null}</div>`}}(0,i.c)("calcite-notice",v)}}]);