@arcgis/core 5.0.0-next.67 → 5.0.0-next.69

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 (619) hide show
  1. package/Ground.d.ts +3 -4
  2. package/WebDocument2D.d.ts +1 -1
  3. package/WebLinkChart.d.ts +2 -0
  4. package/analysis/ElevationProfile/ElevationProfileLineQuery.d.ts +3 -4
  5. package/analysis/ElevationProfile/ElevationProfileLineViewOptions.d.ts +9 -6
  6. package/analysis/ElevationProfile/ElevationProfileLineViewOptions.js +1 -1
  7. package/analysis/types.d.ts +1 -0
  8. package/applications/Components/analysisUtils.d.ts +1 -3
  9. package/applications/Components/arcadeFeatureUtils.d.ts +1 -1
  10. package/applications/ExperienceBuilder/sketchUtils.d.ts +2 -2
  11. package/applications/KnowledgeStudio/reshape.d.ts +2 -2
  12. package/applications/SceneViewer/sceneViewerUtils.d.ts +11 -0
  13. package/applications/SceneViewer/sceneViewerUtils.js +1 -1
  14. package/arcade/arcadeAsyncRuntime.js +1 -1
  15. package/arcade/arcadeCompiler.js +1 -1
  16. package/arcade/arcadeRuntime.js +1 -1
  17. package/arcade/batchExec.js +1 -1
  18. package/arcade/compilerUtils.js +1 -1
  19. package/arcade/featureset/actions/SpatialFilter.js +1 -1
  20. package/arcade/geometry/unitConversion.js +1 -1
  21. package/arcade/treeAnalysis.js +1 -1
  22. package/arcade.js +1 -1
  23. package/assets/esri/core/libs/libtess/libtess-f32.wasm +0 -0
  24. package/assets/esri/core/libs/libtess/libtess-f64.wasm +0 -0
  25. package/assets/esri/core/workers/RemoteClient.js +1 -1
  26. package/assets/esri/core/workers/chunks/01d7542d85a453384cf1.js +1 -0
  27. package/assets/esri/core/workers/chunks/{251eb6e00f99a816d55c.js → 0326314947734b8e640a.js} +1 -1
  28. package/assets/esri/core/workers/chunks/04176244b0a3539c9681.js +1 -0
  29. package/assets/esri/core/workers/chunks/{168ec8fca2702617a543.js → 09dfec3e097ebbef6a89.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{942fad4ec96295672ce8.js → 10e474d664b20adcd917.js} +1 -1
  31. package/assets/esri/core/workers/chunks/12f9a55253084a910b2e.js +1 -0
  32. package/assets/esri/core/workers/chunks/{0629087bd5bb8048493e.js → 14dedd80fb797303f91f.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{81d89107ff82604a3ea0.js → 1b445981fbc8373f4dd8.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{794960ec36e11f4416c2.js → 1d1e25bb61eeeee8ee94.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{6ba3c2b9f699d94d62b8.js → 1ec1a1997b5577619040.js} +1 -1
  36. package/assets/esri/core/workers/chunks/2085084324cd5a81783f.js +1 -0
  37. package/assets/esri/core/workers/chunks/2c2c0f66cffc521df736.js +1 -0
  38. package/assets/esri/core/workers/chunks/2dd347aa2a061d536e69.js +1 -0
  39. package/assets/esri/core/workers/chunks/2dfa7abf2d39fa5a3874.js +1 -0
  40. package/assets/esri/core/workers/chunks/{6cb44cd319cb6c2539c8.js → 2e2c47f8a80ee9234350.js} +1 -1
  41. package/assets/esri/core/workers/chunks/322085d63719da6e443c.js +1 -0
  42. package/assets/esri/core/workers/chunks/{76086517591d0eb35156.js → 34a2e0462eb05986cdd1.js} +1 -1
  43. package/assets/esri/core/workers/chunks/{a6dcd13c792b6538ac50.js → 35593a9790818b689455.js} +1 -1
  44. package/assets/esri/core/workers/chunks/3a04153ca9d8e4f01185.js +1 -0
  45. package/assets/esri/core/workers/chunks/{4e9a8fce55cad841c731.js → 3b25f5d9c8f78bb6e011.js} +1 -1
  46. package/assets/esri/core/workers/chunks/3e7ea06b342e33bc48a5.js +1 -0
  47. package/assets/esri/core/workers/chunks/3ed317900f0edf635508.js +1 -0
  48. package/assets/esri/core/workers/chunks/401ce5cb98fa14c1a725.js +1 -0
  49. package/assets/esri/core/workers/chunks/4319b89cfa02894a8cae.js +1 -0
  50. package/assets/esri/core/workers/chunks/{7bed14d9bcd7fc5e2eec.js → 4bcd74951477e8977ba1.js} +1 -1
  51. package/assets/esri/core/workers/chunks/4c04c54330b693892cfc.js +314 -0
  52. package/assets/esri/core/workers/chunks/{687d2b761dc5b5cf0c31.js → 4d4d71d24c1a9cb342b8.js} +1 -1
  53. package/assets/esri/core/workers/chunks/4fa230dc6e5e87b0dec1.js +1 -0
  54. package/assets/esri/core/workers/chunks/50f03813fba4b752ca9f.js +1 -0
  55. package/assets/esri/core/workers/chunks/{abc236e99b52be1c83b9.js → 52a14266fe239b95c5ce.js} +1 -1
  56. package/assets/esri/core/workers/chunks/53b5c77832df7df4d4e3.js +1 -0
  57. package/assets/esri/core/workers/chunks/{34178ace79e8dea3567d.js → 562cddaf63985e53ee6e.js} +1 -1
  58. package/assets/esri/core/workers/chunks/563933a84fc9b0e021f6.js +1 -0
  59. package/assets/esri/core/workers/chunks/58b3a776ef129f7f86dc.js +1 -0
  60. package/assets/esri/core/workers/chunks/58e8d41dcc450e6427c9.js +1 -0
  61. package/assets/esri/core/workers/chunks/{6599cc702a46f81a5634.js → 5dd5be91038df8902dc4.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{49a1b7f700b8a42de817.js → 60c7f896f2246a8aa6d7.js} +19 -19
  63. package/assets/esri/core/workers/chunks/60f363ee2add089e8f0b.js +1 -0
  64. package/assets/esri/core/workers/chunks/68074a484d7f9bc713c0.js +1 -0
  65. package/assets/esri/core/workers/chunks/6acfa51b81e6f4255118.js +1 -0
  66. package/assets/esri/core/workers/chunks/{3fe7be535affae31de7e.js → 6b85a8776ec2beff63cb.js} +1 -1
  67. package/assets/esri/core/workers/chunks/{0dc3a04ce717b7ddd957.js → 6c9dac4a869742cc2718.js} +1 -1
  68. package/assets/esri/core/workers/chunks/6df484faf54e90a6cc77.js +1 -0
  69. package/assets/esri/core/workers/chunks/6ea6ad894ac634aa4391.js +1 -0
  70. package/assets/esri/core/workers/chunks/6f8098f9fe233833245a.js +1 -0
  71. package/assets/esri/core/workers/chunks/75fd2ef1236a9364ca7f.js +1 -0
  72. package/assets/esri/core/workers/chunks/7be9bbae23895d1cfa92.js +1 -0
  73. package/assets/esri/core/workers/chunks/7ea48661f1087d06aa41.js +1 -0
  74. package/assets/esri/core/workers/chunks/{47e5149765beee46f208.js → 7ee68f67f9cc48a328f0.js} +1 -1
  75. package/assets/esri/core/workers/chunks/{e5aac523c37d906eece6.js → 827277e5da652bcecaf2.js} +1 -1
  76. package/assets/esri/core/workers/chunks/866477acdf03b8a40bc9.js +1 -0
  77. package/assets/esri/core/workers/chunks/8e83c133b201b9b61e70.js +1 -0
  78. package/assets/esri/core/workers/chunks/9086a4933d3d3d9ffa72.js +1 -0
  79. package/assets/esri/core/workers/chunks/94174d40de39dbe7d0bf.js +1 -0
  80. package/assets/esri/core/workers/chunks/{dd99b77a7c0a052507bb.js → 9d88b4ba8e511da64583.js} +3 -3
  81. package/assets/esri/core/workers/chunks/9f34cf024231f574009c.js +1 -0
  82. package/assets/esri/core/workers/chunks/{e705d041f6c1632bfbcc.js → a10c6dd3bb8b3602de68.js} +1 -1
  83. package/assets/esri/core/workers/chunks/a64cd02ca959d511101c.js +1 -0
  84. package/assets/esri/core/workers/chunks/a808be466812db51813d.js +1 -0
  85. package/assets/esri/core/workers/chunks/{6b4a24248182245167ca.js → a931515a2569713e743b.js} +1 -1
  86. package/assets/esri/core/workers/chunks/a95e28ade258b144cbb5.js +1 -0
  87. package/assets/esri/core/workers/chunks/adc68e2c6d2698a52bfe.js +1 -0
  88. package/assets/esri/core/workers/chunks/{0f8149fdcf0adeca268e.js → b28e0b89603d8b03f9e1.js} +1 -1
  89. package/assets/esri/core/workers/chunks/b5e4a36784d598ae6679.js +1 -0
  90. package/assets/esri/core/workers/chunks/{204d738c8b651314ae64.js → b899b4e7979c13b99526.js} +1 -1
  91. package/assets/esri/core/workers/chunks/bb4574a87ca21e719f0d.js +1 -0
  92. package/assets/esri/core/workers/chunks/{07639f406b71bb49ffd6.js → bdbb5b33f0f49661bf6d.js} +1 -1
  93. package/assets/esri/core/workers/chunks/bf05164b7a3e4f31e9db.js +1 -0
  94. package/assets/esri/core/workers/chunks/c042269586921e337be9.js +1 -0
  95. package/assets/esri/core/workers/chunks/c7391b0b5a9c916a53f7.js +1 -0
  96. package/assets/esri/core/workers/chunks/{43d28c6509c21b8917a8.js → ca7523c14d81c470e92e.js} +1 -1
  97. package/assets/esri/core/workers/chunks/d0ae8752419d5b761190.js +1 -0
  98. package/assets/esri/core/workers/chunks/d445e9399fe4ca3d2a50.js +1 -0
  99. package/assets/esri/core/workers/chunks/d7683a95775c9f401a7e.js +1 -0
  100. package/assets/esri/core/workers/chunks/{9d6945cda99d14af83ac.js → d7d9656b990ce8be2152.js} +1 -1
  101. package/assets/esri/core/workers/chunks/dbfb00fb28b8b9f687a1.js +1 -0
  102. package/assets/esri/core/workers/chunks/df4a0af329ce94a47a7b.js +1 -0
  103. package/assets/esri/core/workers/chunks/e071b912539304564b69.js +1 -0
  104. package/assets/esri/core/workers/chunks/e10d6e511921394474ca.js +1 -0
  105. package/assets/esri/core/workers/chunks/e4b6aa8f67c2bd285020.js +1 -0
  106. package/assets/esri/core/workers/chunks/e6ca02f98f855024f74b.js +1 -0
  107. package/assets/esri/core/workers/chunks/{892157696e8f9e38c472.js → e6e837e43b9348050832.js} +1 -1
  108. package/assets/esri/core/workers/chunks/{d3325ed8d224e2350db7.js → e8a3ad00936f2ccaf362.js} +1 -1
  109. package/assets/esri/core/workers/chunks/ef7063ee790d2d64d4b2.js +1 -0
  110. package/assets/esri/core/workers/chunks/{b65fcfde62d49de1fa54.js → ef977be20a647aeded0a.js} +1 -1
  111. package/assets/esri/core/workers/chunks/efb631371b6bb3f043bb.js +1 -0
  112. package/assets/esri/core/workers/chunks/{0f5693541111fcae0c2f.js → f0914715e90e43466f8c.js} +1 -1
  113. package/assets/esri/core/workers/chunks/{ab71865b94022e78035c.js → f92845eb7df1804fcd6d.js} +1 -1
  114. package/assets/esri/core/workers/chunks/{bfc063d4431bfa162160.js → fd09f38fb4d99bf34988.js} +1 -1
  115. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +108 -0
  116. package/assets/esri/themes/dark/main.css +1 -1
  117. package/assets/esri/themes/light/main.css +1 -1
  118. package/assets/esri/themes/light/view.css +1 -1
  119. package/chunks/GaussianSplat.glsl.js +2 -2
  120. package/chunks/GaussianSplatDepthComposition.glsl.js +4 -5
  121. package/chunks/HUDMaterial.glsl.js +45 -47
  122. package/chunks/LineMarker.glsl.js +33 -34
  123. package/chunks/PointRenderer.glsl.js +6 -6
  124. package/chunks/RibbonLine.glsl.js +62 -54
  125. package/chunks/boundedPlane.js +1 -1
  126. package/chunks/libtess-f32.js +1 -1
  127. package/chunks/libtess-f64.js +1 -1
  128. package/config.js +1 -1
  129. package/core/Collection.d.ts +3 -2
  130. package/core/Identifiable.d.ts +1 -3
  131. package/core/accessorSupport/ensureType.js +1 -1
  132. package/core/accessorSupport/types.d.ts +0 -8
  133. package/core/compilerUtils.js +1 -1
  134. package/core/promiseUtils.d.ts +1 -1
  135. package/core/reactiveUtils.d.ts +2 -2
  136. package/core/typedArrayUtil.js +1 -1
  137. package/core/units.d.ts +8 -2
  138. package/core/units.js +1 -1
  139. package/core/workers/loaderConfig.js +1 -1
  140. package/editing/sharedTemplates/SharedTemplate.js +1 -1
  141. package/geometry/HeightModelInfo.d.ts +3 -3
  142. package/geometry/SpatialReference.d.ts +2 -2
  143. package/geometry/libtess.js +1 -1
  144. package/geometry/support/MeshTexture.js +1 -1
  145. package/geometry/support/aaBoundingRect.js +1 -1
  146. package/geometry/support/boundedPlane.js +1 -1
  147. package/geometry/support/heightModelInfoUtils.js +1 -1
  148. package/geometry/support/meshUtils/External.js +1 -1
  149. package/geometry/support/meshUtils/exporters/gltf/imageutils.js +1 -1
  150. package/geometry/support/meshUtils/loadExternal.js +1 -1
  151. package/geometry/support/meshUtils/types.d.ts +2 -2
  152. package/geometry/support/rotate.js +1 -1
  153. package/geometry/types.d.ts +2 -0
  154. package/identity/IdentityManagerBase.d.ts +4 -4
  155. package/interfaces.d.ts +2937 -2955
  156. package/kernel.js +1 -1
  157. package/layers/BaseElevationLayer.d.ts +3 -4
  158. package/layers/BuildingSceneLayer.d.ts +1 -1
  159. package/layers/ElevationLayer.d.ts +3 -4
  160. package/layers/FeatureLayer.d.ts +12 -11
  161. package/layers/FeatureLayer.js +1 -1
  162. package/layers/GroupLayer.d.ts +3 -3
  163. package/layers/ImageryLayer.d.ts +3 -3
  164. package/layers/ImageryTileLayer.d.ts +3 -4
  165. package/layers/Layer.d.ts +4 -4
  166. package/layers/LineOfSightLayer.d.ts +1 -1
  167. package/layers/LinkChartLayer.js +1 -1
  168. package/layers/MapImageLayer.d.ts +7 -8
  169. package/layers/MediaLayer.d.ts +3 -3
  170. package/layers/OrientedImageryLayer.d.ts +3 -3
  171. package/layers/ParquetLayer.d.ts +1 -1
  172. package/layers/ParquetLayer.js +1 -1
  173. package/layers/RouteLayer.d.ts +2 -3
  174. package/layers/SceneLayer.d.ts +167 -3
  175. package/layers/SceneLayer.js +1 -1
  176. package/layers/StreamLayer.d.ts +3 -3
  177. package/layers/SubtypeGroupLayer.d.ts +3 -3
  178. package/layers/WCSLayer.d.ts +3 -3
  179. package/layers/buildingSublayers/BuildingGroupSublayer.d.ts +1 -1
  180. package/layers/graphics/controllers/FeatureTileController3D.js +1 -1
  181. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  182. package/layers/graphics/dehydratedFeatureComparison.js +1 -1
  183. package/layers/graphics/dehydratedFeatures.js +1 -1
  184. package/layers/graphics/hydratedFeatures.js +1 -1
  185. package/layers/graphics/sources/ParquetSource.d.ts +1 -1
  186. package/layers/graphics/sources/support/QueryTask.js +1 -1
  187. package/layers/mixins/SceneService.d.ts +2 -2
  188. package/layers/orientedImagery/queries.js +1 -1
  189. package/layers/orientedImagery/transformations/imageToWorld.d.ts +2 -2
  190. package/layers/orientedImagery/transformations/rectifyMapPoint.js +1 -1
  191. package/layers/orientedImagery/transformations/types.d.ts +1 -1
  192. package/layers/raster/datasets/pixelReader.d.ts +1 -7
  193. package/layers/raster/functions/changeDetectionUtils.js +1 -1
  194. package/layers/raster/functions/creators/createBandIndexFunctions.d.ts +29 -29
  195. package/layers/raster/functions/customBandIndexUtils.js +1 -1
  196. package/layers/raster/functions/focalStatUtils.js +1 -1
  197. package/layers/raster/functions/pixelTransformUtils.js +1 -1
  198. package/layers/save/featureLayerUtils.js +1 -1
  199. package/layers/support/BuildingFilterMode.d.ts +3 -1
  200. package/layers/support/BuildingFilterMode.js +1 -1
  201. package/layers/support/BuildingFilterModeSolid.js +1 -1
  202. package/layers/support/BuildingFilterModeWireFrame.js +1 -1
  203. package/layers/support/BuildingFilterModeXRay.js +1 -1
  204. package/layers/support/CodedValue.d.ts +1 -1
  205. package/layers/support/ControlPoint.d.ts +6 -20
  206. package/layers/support/ControlPointsGeoreference.d.ts +2 -1
  207. package/layers/support/ElevationSampler.d.ts +2 -2
  208. package/layers/support/ElevationSampler.js +1 -1
  209. package/layers/support/FeatureReductionBinning.d.ts +4 -4
  210. package/layers/support/FeatureReductionBinning.js +1 -1
  211. package/layers/support/FeatureReductionSelection.d.ts +3 -3
  212. package/layers/support/FeatureReductionSelection.js +1 -1
  213. package/layers/support/Field.d.ts +1 -2
  214. package/layers/support/ParquetGeometryEncodingLocation.d.ts +6 -4
  215. package/layers/support/ParquetGeometryEncodingLocation.js +1 -1
  216. package/layers/support/ParquetGeometryEncodingWkb.d.ts +6 -4
  217. package/layers/support/ParquetGeometryEncodingWkb.js +1 -1
  218. package/layers/support/PixelBlock.d.ts +11 -3
  219. package/layers/support/RangeDomain.d.ts +2 -1
  220. package/layers/support/SceneServiceTimeInfo.js +5 -0
  221. package/layers/support/SpriteSource.d.ts +1 -0
  222. package/layers/support/Sublayer.d.ts +17 -16
  223. package/layers/support/Sublayer.js +1 -1
  224. package/layers/support/SubtypeSublayer.js +1 -1
  225. package/layers/support/domains.js +1 -1
  226. package/layers/support/featureReductionUtils.js +1 -1
  227. package/layers/support/rasterFunctionUtils.d.ts +30 -30
  228. package/layers/support/types.d.ts +101 -1
  229. package/layers/types.d.ts +12 -1
  230. package/layers/wms/types.d.ts +0 -4
  231. package/networks/CircuitManager.d.ts +5 -5
  232. package/networks/Network.d.ts +5 -5
  233. package/networks/UtilityNetwork.d.ts +2 -2
  234. package/networks/support/TopologyValidationJobInfo.js +1 -1
  235. package/networks/support/TraceJobInfo.js +1 -1
  236. package/package.json +2 -2
  237. package/popup/content/types.d.ts +1 -3
  238. package/portal/PortalItem.d.ts +8 -8
  239. package/portal/PortalItemResource.d.ts +2 -2
  240. package/portal/PortalUser.d.ts +3 -3
  241. package/portal/support/resourceUtils.d.ts +3 -3
  242. package/portal/types.d.ts +6 -6
  243. package/renderers/support/RasterSymbolizer.js +1 -1
  244. package/renderers/support/pointCloud/types.d.ts +1 -0
  245. package/renderers/support/raster/types.d.ts +1 -0
  246. package/renderers/support/rendererConversion.js +1 -1
  247. package/renderers/types.d.ts +2 -0
  248. package/renderers/visualVariables/support/visualVariableUtils.js +1 -1
  249. package/rest/knowledgeGraph/wasmInterface/WasmDataModelWrapperInterfaces.d.ts +0 -2
  250. package/rest/layerSources/DynamicDataLayer.d.ts +102 -0
  251. package/rest/layerSources/DynamicDataLayer.js +5 -0
  252. package/{layers/support/source/MapLayerSource.d.ts → rest/layerSources/DynamicMapLayer.d.ts} +4 -4
  253. package/rest/layerSources/DynamicMapLayer.js +5 -0
  254. package/rest/layerSources/JoinTableDataSource.d.ts +75 -0
  255. package/rest/layerSources/JoinTableDataSource.js +5 -0
  256. package/{layers/support/source → rest/layerSources}/QueryTableDataSource.d.ts +8 -7
  257. package/rest/layerSources/QueryTableDataSource.js +5 -0
  258. package/{layers/support/source → rest/layerSources}/RasterDataSource.d.ts +2 -2
  259. package/rest/layerSources/RasterDataSource.js +5 -0
  260. package/{layers/support/source → rest/layerSources}/TableDataSource.d.ts +2 -2
  261. package/rest/layerSources/TableDataSource.js +5 -0
  262. package/rest/layerSources/utils.js +5 -0
  263. package/rest/print.js +1 -1
  264. package/rest/query/executeQuery.js +1 -1
  265. package/rest/query/operations/pbfDehydratedFeatureSet.js +1 -1
  266. package/rest/support/JobInfo.js +1 -1
  267. package/rest/support/Query.js +1 -1
  268. package/rest/support/RelationshipQuery.js +1 -1
  269. package/rest/support/ServiceAreaParameters.js +1 -1
  270. package/rest/support/types.d.ts +0 -4
  271. package/smartMapping/heuristics/binLevel.d.ts +2 -2
  272. package/smartMapping/heuristics/scaleRange.d.ts +2 -2
  273. package/smartMapping/heuristics/sizeRange.d.ts +2 -2
  274. package/smartMapping/heuristics/sizeRange.js +1 -1
  275. package/smartMapping/heuristics/types.d.ts +3 -3
  276. package/smartMapping/labels/bins.d.ts +2 -2
  277. package/smartMapping/labels/clusters.d.ts +2 -2
  278. package/smartMapping/renderers/color.d.ts +14 -14
  279. package/smartMapping/renderers/dotDensity.d.ts +2 -2
  280. package/smartMapping/renderers/heatmap.d.ts +4 -4
  281. package/smartMapping/renderers/location.d.ts +2 -2
  282. package/smartMapping/renderers/opacity.d.ts +2 -2
  283. package/smartMapping/renderers/pieChart.d.ts +4 -4
  284. package/smartMapping/renderers/predominance.d.ts +2 -2
  285. package/smartMapping/renderers/relationship.d.ts +4 -4
  286. package/smartMapping/renderers/size.d.ts +15 -15
  287. package/smartMapping/renderers/support/rendererUtils.d.ts +2 -2
  288. package/smartMapping/renderers/support/utils.js +1 -1
  289. package/smartMapping/renderers/type.d.ts +4 -4
  290. package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
  291. package/smartMapping/statistics/classBreaks.d.ts +2 -2
  292. package/smartMapping/statistics/heatmapStatistics.d.ts +2 -2
  293. package/smartMapping/statistics/histogram.d.ts +2 -2
  294. package/smartMapping/statistics/predominantCategories.d.ts +2 -2
  295. package/smartMapping/statistics/summaryStatistics.d.ts +2 -2
  296. package/smartMapping/statistics/summaryStatisticsForAge.d.ts +2 -2
  297. package/smartMapping/statistics/support/ageUtils.d.ts +2 -2
  298. package/smartMapping/statistics/support/statsWorker.js +1 -1
  299. package/smartMapping/statistics/support/utils.js +1 -1
  300. package/smartMapping/statistics/types.d.ts +7 -7
  301. package/smartMapping/statistics/uniqueValues.d.ts +2 -2
  302. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  303. package/smartMapping/support/adapters/InMemoryLayerAdapter.js +1 -1
  304. package/smartMapping/support/adapters/support/histogramUtils.js +1 -1
  305. package/smartMapping/support/utils.js +1 -1
  306. package/smartMapping/symbology/color.d.ts +8 -8
  307. package/smartMapping/symbology/dotDensity.d.ts +6 -6
  308. package/smartMapping/symbology/flow.d.ts +6 -6
  309. package/smartMapping/symbology/heatmap.d.ts +6 -6
  310. package/smartMapping/symbology/location.d.ts +2 -2
  311. package/smartMapping/symbology/pieChart.d.ts +6 -6
  312. package/smartMapping/symbology/predominance.d.ts +6 -6
  313. package/smartMapping/symbology/relationship.d.ts +6 -6
  314. package/smartMapping/symbology/size.d.ts +2 -2
  315. package/smartMapping/symbology/support/colorRamps.d.ts +2 -2
  316. package/smartMapping/symbology/type.d.ts +6 -6
  317. package/support/popupUtils.d.ts +2 -2
  318. package/support/revision.js +1 -1
  319. package/symbols/LineSymbol3D.d.ts +2 -2
  320. package/symbols/PointSymbol3D.d.ts +2 -2
  321. package/symbols/PolygonSymbol3D.d.ts +2 -2
  322. package/symbols/patterns/LinePattern3D.d.ts +8 -0
  323. package/symbols/patterns/LineStylePattern3D.d.ts +1 -2
  324. package/symbols/patterns/Pattern3D.d.ts +9 -0
  325. package/symbols/patterns/StylePattern3D.d.ts +1 -2
  326. package/symbols/support/ElevationInfo.d.ts +2 -2
  327. package/symbols/support/IconSymbol3DLayerResource.d.ts +1 -1
  328. package/symbols/support/defaults.js +1 -1
  329. package/symbols/support/defaults3D.js +1 -1
  330. package/symbols/support/previewSymbol3D.js +1 -1
  331. package/symbols/support/symbolLayerUtils3D.js +1 -1
  332. package/symbols/support/symbolUtils.js +1 -1
  333. package/symbols/support/utils.js +1 -1
  334. package/symbols/types.d.ts +7 -0
  335. package/unionTypes.d.ts +13 -13
  336. package/views/2d/analysis/ElevationProfile/ElevationProfileLineVisualization2D.js +1 -1
  337. package/views/2d/analysis/ElevationProfileAnalysisView2D.d.ts +16 -11
  338. package/views/2d/analysis/ElevationProfileAnalysisView2D.js +1 -1
  339. package/views/2d/analysis/types.d.ts +1 -0
  340. package/views/2d/engine/imagery/RasterVFDisplayObject.js +1 -1
  341. package/views/2d/engine/vectorTiles/VectorTile.js +1 -1
  342. package/views/2d/engine/webgl/TextureUploadManager.js +1 -1
  343. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  344. package/views/2d/input/handlers/DoubleTapDragZoom.js +1 -1
  345. package/views/2d/input/handlers/KeyZoom.js +1 -1
  346. package/views/2d/layers/BaseLayerView2D.d.ts +0 -5
  347. package/views/2d/layers/FeatureLayerView2D.js +1 -1
  348. package/views/2d/layers/StreamLayerView2D.js +1 -1
  349. package/views/2d/layers/TileLayerView2D.js +1 -1
  350. package/views/2d/layers/features/Processor.js +1 -1
  351. package/views/2d/layers/support/MediaLayerInteractionOptions.js +1 -1
  352. package/views/3d/analysis/AreaMeasurement/support/utils.js +1 -1
  353. package/views/3d/analysis/Dimension/lengthDimensionConstraintUtils.js +1 -1
  354. package/views/3d/analysis/ElevationProfile/ElevationProfileLineVisualization3D.js +1 -1
  355. package/views/3d/analysis/ElevationProfileAnalysisView3D.d.ts +16 -11
  356. package/views/3d/analysis/ElevationProfileAnalysisView3D.js +1 -1
  357. package/views/3d/analysis/LineOfSightAnalysisView3D.d.ts +0 -2
  358. package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
  359. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
  360. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementTool.js +1 -1
  361. package/views/3d/analysis/VolumeMeasurementAnalysisView3D.js +1 -1
  362. package/views/3d/analysis/types.d.ts +1 -0
  363. package/views/3d/camera/constraintUtils/tilt.js +1 -1
  364. package/views/3d/environment/CloudsParameters.js +1 -1
  365. package/views/3d/environment/CloudsRenderer.js +1 -1
  366. package/views/3d/environment/SceneViewEnvironment.js +1 -1
  367. package/views/3d/environment/SunLighting.d.ts +1 -3
  368. package/views/3d/glTF/internal/Resource.js +1 -1
  369. package/views/3d/glTF/internal/fillDefaults.js +1 -1
  370. package/views/3d/interactive/Manipulator3D.js +1 -1
  371. package/views/3d/interactive/SnappingVisualizer3D.js +1 -1
  372. package/views/3d/interactive/editingTools/isSupportedObjectUtils.js +1 -1
  373. package/views/3d/interactive/editingTools/move/isSupportedObject.js +1 -1
  374. package/views/3d/interactive/editingTools/transform/isSupportedGraphic.js +1 -1
  375. package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
  376. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  377. package/views/3d/layers/I3SMeshView3D.js +1 -1
  378. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  379. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  380. package/views/3d/layers/graphics/Graphics3DFeatureProcessor.js +1 -1
  381. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  382. package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
  383. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  384. package/views/3d/layers/graphics/LabelInfo.js +1 -1
  385. package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
  386. package/views/3d/layers/graphics/lineUtils.js +1 -1
  387. package/views/3d/layers/graphics/pipeline/rendering/FeaturePipelineRenderManager.js +1 -1
  388. package/views/3d/layers/graphics/pipeline/symbolization/primitiveObjectUtils.js +1 -1
  389. package/views/3d/layers/graphics/primitiveObjectSymbolUtils.js +1 -1
  390. package/views/3d/layers/i3s/BuildingFilterUtil.js +1 -1
  391. package/views/3d/layers/i3s/I3SIntersectionHandler.js +1 -1
  392. package/views/3d/layers/i3s/I3SNode.js +1 -1
  393. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  394. package/views/3d/layers/i3s/PointCloudWorkerUtil.js +1 -1
  395. package/views/3d/layers/i3s/SphereCone.js +5 -0
  396. package/views/3d/layers/support/FastSymbolUpdates.js +1 -1
  397. package/views/3d/layers/support/MediaLayerInteractionOptions.d.ts +4 -0
  398. package/views/3d/layers/support/edgeUtils.js +1 -1
  399. package/views/3d/layers/support/featureReference.js +1 -1
  400. package/views/3d/layers/support/featureTileQuery3D.js +1 -1
  401. package/views/3d/layers/support/patternUtils.js +1 -1
  402. package/views/3d/state/controllers/GamepadKeyboardController.js +1 -1
  403. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  404. package/views/3d/support/FrustumExtentIntersection.js +1 -1
  405. package/views/3d/support/QualityProfile.js +1 -1
  406. package/views/3d/support/QualitySettings.js +1 -1
  407. package/views/3d/support/buffer/glUtil.js +1 -1
  408. package/views/3d/support/engineContent/sdfPrimitives.js +1 -1
  409. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  410. package/views/3d/support/gaussianSplatting/GaussianSplatFadeTexture.js +1 -1
  411. package/views/3d/support/viewpointUtils.js +1 -1
  412. package/views/3d/terrain/isTerrainSurfaceLayer.js +1 -1
  413. package/views/3d/webgl/RenderNode.js +1 -1
  414. package/views/3d/webgl-engine/collections/Component/Material/ComponentData.glsl.js +8 -8
  415. package/views/3d/webgl-engine/collections/Component/Transform.js +1 -1
  416. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +3 -3
  417. package/views/3d/webgl-engine/core/shaderLibrary/attributes/NormalAttribute.glsl.js +4 -4
  418. package/views/3d/webgl-engine/core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js +2 -2
  419. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexNormal.glsl.js +2 -2
  420. package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeFragmentNormals.glsl.js +6 -6
  421. package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js +1 -1
  422. package/views/3d/webgl-engine/core/shaderLibrary/shading/Normals.glsl.js +5 -5
  423. package/views/3d/webgl-engine/core/shaderLibrary/shading/PositionOutsideClipSpace.js +5 -0
  424. package/views/3d/webgl-engine/core/shaderLibrary/terrain/TileBackground.glsl.js +3 -3
  425. package/views/3d/webgl-engine/core/shaderLibrary/util/BlendModes.glsl.js +1 -1
  426. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  427. package/views/3d/webgl-engine/lib/LocalOriginManager.js +1 -1
  428. package/views/3d/webgl-engine/lib/ManagedTexture.js +1 -1
  429. package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
  430. package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
  431. package/views/3d/webgl-engine/lib/edgeRendering/LegacyTransform.js +5 -0
  432. package/views/3d/webgl-engine/materials/lineStippleUtils.js +1 -1
  433. package/views/3d/webgl-engine/shaders/CompositingTechnique.js +1 -1
  434. package/views/3d/webgl-engine/shaders/GaussianSplat.glsl.js +1 -1
  435. package/views/3d/webgl-engine/shaders/GaussianSplatTechniqueConfiguration.js +1 -1
  436. package/views/3d/webgl-engine/shaders/HUDMaterial.glsl.js +1 -1
  437. package/views/3d/webgl-engine/shaders/LineMarker.glsl.js +1 -1
  438. package/views/3d/webgl-engine/shaders/PointRenderer.glsl.js +1 -1
  439. package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
  440. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  441. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/LineAmplitude.glsl.js +4 -4
  442. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/LineOffset.glsl.js +8 -8
  443. package/views/SceneView.js +1 -1
  444. package/views/VideoView.js +1 -1
  445. package/views/View.js +1 -1
  446. package/views/View2D.js +1 -1
  447. package/views/analysis/ElevationProfile/ElevationProfileController.js +1 -1
  448. package/views/analysis/ElevationProfile/ElevationProfileIndicatorPointVisualization.js +5 -0
  449. package/views/analysis/ElevationProfile/ElevationProfileLineComputation.js +1 -1
  450. package/views/analysis/ElevationProfile/ElevationProfileResult.js +1 -1
  451. package/views/analysis/ElevationProfile/ElevationProfileTool.js +1 -1
  452. package/views/analysis/ElevationProfile/constants.js +1 -1
  453. package/views/analysis/types.d.ts +4 -0
  454. package/views/draw/Draw.js +1 -1
  455. package/views/input/ViewEvents.js +1 -1
  456. package/views/input/types.d.ts +2 -4
  457. package/views/interactive/editGeometry/EditGeometry.js +1 -1
  458. package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js +1 -1
  459. package/views/interactive/snapping/featureSources/snappingCandidateElevationAlignment.js +1 -1
  460. package/views/interactive/snapping/featureSources/snappingCandidateElevationFilter.js +1 -1
  461. package/views/interactive/snapping/featureSources/symbologySnappingCandidates.js +1 -1
  462. package/views/layers/CatalogLayerView.d.ts +1 -4
  463. package/views/layers/DimensionLayerView.d.ts +4 -6
  464. package/views/layers/DimensionLayerViewMixin.d.ts +0 -97
  465. package/views/layers/LineOfSightLayerView.d.ts +4 -6
  466. package/views/layers/LineOfSightLayerViewMixin.d.ts +0 -77
  467. package/views/layers/StreamLayerView.d.ts +31 -2
  468. package/views/support/PromiseQueue.js +1 -1
  469. package/views/support/WebAssemblyRequirements.js +5 -0
  470. package/views/support/WebGLRequirements.js +1 -1
  471. package/views/support/screenUtils.js +1 -1
  472. package/views/support/screenshotUtils.js +1 -1
  473. package/views/webgl/FramebufferObject.js +1 -1
  474. package/views/webgl/Uniform.js +1 -1
  475. package/views/webgl/Util.js +1 -1
  476. package/webdoc/support/SlideThumbnail.d.ts +6 -3
  477. package/webdoc/support/SlideThumbnail.js +1 -1
  478. package/webscene/Slide.d.ts +2 -2
  479. package/webscene/spec-certification/api.js +1 -1
  480. package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.d.ts +2 -2
  481. package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.js +1 -1
  482. package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +2 -2
  483. package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.js +1 -1
  484. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  485. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  486. package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +7 -0
  487. package/widgets/BatchAttributeForm/inputs/TextElementInput.js +1 -1
  488. package/widgets/BatchAttributeForm/inputs/support/textInputElementUtils.js +5 -0
  489. package/widgets/BatchAttributeForm/templates/TextElementTemplate.js +1 -1
  490. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  491. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  492. package/widgets/BatchAttributeForm.js +1 -1
  493. package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +2 -2
  494. package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.js +1 -1
  495. package/widgets/Directions/DirectionsViewModel.d.ts +20 -4
  496. package/widgets/Directions/DirectionsViewModel.js +1 -1
  497. package/widgets/Directions.d.ts +2 -3
  498. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.d.ts +2 -2
  499. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.js +1 -1
  500. package/widgets/Editor/EditorViewModel.d.ts +2 -2
  501. package/widgets/Editor/workflowUtils.js +1 -1
  502. package/widgets/Editor.d.ts +2 -2
  503. package/widgets/ElevationProfile/support/HoveredPoints.js +1 -1
  504. package/widgets/ElevationProfile/types.d.ts +3 -4
  505. package/widgets/Feature/support/arcadeFeatureUtils.js +1 -1
  506. package/widgets/Feature/types.d.ts +1 -5
  507. package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
  508. package/widgets/FeatureForm/featureFormUtils.js +1 -1
  509. package/widgets/FeatureForm.js +1 -1
  510. package/widgets/FeatureTable/Grid/types.d.ts +0 -2
  511. package/widgets/FeatureTable/support/types.d.ts +8 -8
  512. package/widgets/Features/FeaturesViewModel.d.ts +3 -3
  513. package/widgets/Features/FeaturesViewModel.js +1 -1
  514. package/widgets/LineOfSight/LineOfSightViewModel.d.ts +2 -2
  515. package/widgets/LineOfSight/LineOfSightViewModel.js +1 -1
  516. package/widgets/OrientedImageryViewer/navigation/queries.js +1 -1
  517. package/widgets/Popup/types.d.ts +0 -2
  518. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  519. package/widgets/ShadowCast/ShadowCastVisibleElements.d.ts +2 -0
  520. package/widgets/Sketch/SketchViewModel.js +1 -1
  521. package/widgets/Sketch/support/OperationHandle.js +1 -1
  522. package/widgets/Sketch/types.d.ts +2 -2
  523. package/widgets/Slice/SliceViewModel.d.ts +2 -2
  524. package/widgets/Slice/SliceViewModel.js +1 -1
  525. package/widgets/Spinner/SpinnerViewModel.js +1 -1
  526. package/widgets/TimeSlider.js +1 -1
  527. package/widgets/support/AnalysisViewModelMixin.js +5 -0
  528. package/widgets/support/AnchorElementViewModel.js +1 -1
  529. package/widgets/support/InteractiveToolViewModelMixin.js +5 -0
  530. package/widgets/support/SelectionList/GroupLayerItem.js +1 -1
  531. package/widgets/support/dateUtils.js +1 -1
  532. package/assets/esri/core/workers/chunks/055fdc5134d54174444d.js +0 -316
  533. package/assets/esri/core/workers/chunks/058fb2cd6387acfd458c.js +0 -1
  534. package/assets/esri/core/workers/chunks/08359ae020238a565955.js +0 -1
  535. package/assets/esri/core/workers/chunks/0ae018098906d6a88904.js +0 -1
  536. package/assets/esri/core/workers/chunks/0cd3acfbf9ee991bdab4.js +0 -1
  537. package/assets/esri/core/workers/chunks/0e5cd0cf6ab7cb37d723.js +0 -1
  538. package/assets/esri/core/workers/chunks/0ee407b8db5c07a00d82.js +0 -1
  539. package/assets/esri/core/workers/chunks/10373885604655f673df.js +0 -1
  540. package/assets/esri/core/workers/chunks/119822a646834c1cebc0.js +0 -1
  541. package/assets/esri/core/workers/chunks/13d61d34e55c80e4ecdf.js +0 -1
  542. package/assets/esri/core/workers/chunks/17dea03fc4eb414f0022.js +0 -1
  543. package/assets/esri/core/workers/chunks/1967239713b58dccfd81.js +0 -1
  544. package/assets/esri/core/workers/chunks/1c350a2c4014146dbcd9.js +0 -1
  545. package/assets/esri/core/workers/chunks/2266a8f2c2ec37c19bb4.js +0 -1
  546. package/assets/esri/core/workers/chunks/226acd251ad7d7ee3b57.js +0 -1
  547. package/assets/esri/core/workers/chunks/22b07c54a5fcc27771b0.js +0 -1
  548. package/assets/esri/core/workers/chunks/22ca80f491e070b2a5e7.js +0 -1
  549. package/assets/esri/core/workers/chunks/2402d305a77fef4694a0.js +0 -1
  550. package/assets/esri/core/workers/chunks/27f096c434f049b8df01.js +0 -1
  551. package/assets/esri/core/workers/chunks/3371935a4fd6346d3a17.js +0 -1
  552. package/assets/esri/core/workers/chunks/3c3d311b88f5400951ef.js +0 -1
  553. package/assets/esri/core/workers/chunks/3c4f8597f602779174f1.js +0 -1
  554. package/assets/esri/core/workers/chunks/3da53c017f9c5d2d778a.js +0 -1
  555. package/assets/esri/core/workers/chunks/4773a358832f87963766.js +0 -1
  556. package/assets/esri/core/workers/chunks/492515860198f38dd698.js +0 -1
  557. package/assets/esri/core/workers/chunks/4f33a2ecb154a2c2449c.js +0 -1
  558. package/assets/esri/core/workers/chunks/4f6f181ee83b4d484518.js +0 -1
  559. package/assets/esri/core/workers/chunks/52726458f590e726d52c.js +0 -1
  560. package/assets/esri/core/workers/chunks/536c492fdda30f2f1288.js +0 -1
  561. package/assets/esri/core/workers/chunks/600e2e6b51e2fb9c598c.js +0 -1
  562. package/assets/esri/core/workers/chunks/62b28f73f814413c10fc.js +0 -1
  563. package/assets/esri/core/workers/chunks/63b8cd7d5cafbaeed894.js +0 -1
  564. package/assets/esri/core/workers/chunks/6925f09d44cc38480d53.js +0 -1
  565. package/assets/esri/core/workers/chunks/7f4fa2f2e85863d3cfb9.js +0 -1
  566. package/assets/esri/core/workers/chunks/8f4c480c418eba299c2b.js +0 -1
  567. package/assets/esri/core/workers/chunks/990341f7c47bd656c782.js +0 -1
  568. package/assets/esri/core/workers/chunks/a3836f6a93924ee4816e.js +0 -1
  569. package/assets/esri/core/workers/chunks/ab520fd1ae917daf07d8.js +0 -1
  570. package/assets/esri/core/workers/chunks/acc7ff44bfcb5c195114.js +0 -1
  571. package/assets/esri/core/workers/chunks/b25a131c04092c3ab75d.js +0 -1
  572. package/assets/esri/core/workers/chunks/b7960ab9a9da7f88184c.js +0 -1
  573. package/assets/esri/core/workers/chunks/b9909264cfea68d5f2a1.js +0 -1
  574. package/assets/esri/core/workers/chunks/ba7f57788847cc0f68df.js +0 -1
  575. package/assets/esri/core/workers/chunks/bb08359610a41e304b55.js +0 -1
  576. package/assets/esri/core/workers/chunks/bf06250be7a7a36306b1.js +0 -1
  577. package/assets/esri/core/workers/chunks/bfbbcaa1fb04f17fc869.js +0 -1
  578. package/assets/esri/core/workers/chunks/d30cfc5fa302cc08d862.js +0 -1
  579. package/assets/esri/core/workers/chunks/d75adfd4acb3c92accc9.js +0 -1
  580. package/assets/esri/core/workers/chunks/da99fd0d3106dd357743.js +0 -1
  581. package/assets/esri/core/workers/chunks/de71db3b0fb947b13c97.js +0 -1
  582. package/assets/esri/core/workers/chunks/dfbbead4c24d13682891.js +0 -1
  583. package/assets/esri/core/workers/chunks/e4ba850e8344ac2c5fc0.js +0 -1
  584. package/assets/esri/core/workers/chunks/f7d93aae350796b88562.js +0 -1
  585. package/assets/esri/core/workers/chunks/f9370830051865a3435b.js +0 -1
  586. package/layers/mixins/TemporalSceneLayer.d.ts +0 -177
  587. package/layers/mixins/TemporalSceneLayer.js +0 -5
  588. package/layers/mixins/properties/ILayerWithSave.d.ts +0 -11
  589. package/layers/support/ContingencyConstraintViolation.d.ts +0 -2
  590. package/layers/support/ContingentValue.d.ts +0 -2
  591. package/layers/support/ContingentValuesResult.d.ts +0 -2
  592. package/layers/support/ElevationQuery.d.ts +0 -35
  593. package/layers/support/ElevationQueryContext.d.ts +0 -37
  594. package/layers/support/FeatureReduction.d.ts +0 -3
  595. package/layers/support/FeatureReduction.js +0 -5
  596. package/layers/support/FieldGroup.d.ts +0 -2
  597. package/layers/support/FieldValueType.d.ts +0 -2
  598. package/layers/support/I3SLayer.d.ts +0 -9
  599. package/layers/support/ParquetGeometryEncodingBase.d.ts +0 -9
  600. package/layers/support/ParquetGeometryEncodingBase.js +0 -5
  601. package/layers/support/SimpleBandStatistics.d.ts +0 -10
  602. package/layers/support/source/DataLayerSource.d.ts +0 -171
  603. package/layers/support/source/DataLayerSource.js +0 -5
  604. package/layers/support/source/MapLayerSource.js +0 -5
  605. package/layers/support/source/QueryTableDataSource.js +0 -5
  606. package/layers/support/source/RasterDataSource.js +0 -5
  607. package/layers/support/source/TableDataSource.js +0 -5
  608. package/layers/support/source/types.d.ts +0 -4
  609. package/views/2d/layers/features/FeaturePipelineWorkerProxy.d.ts +0 -32
  610. package/views/3d/webgl-engine/shaders/GaussianSplatColorTechnique.js +0 -5
  611. package/views/3d/webgl-engine/shaders/GaussianSplatCompositionTechniqueConfiguration.js +0 -5
  612. package/views/3d/webgl-engine/shaders/GaussianSplatDepthTechnique.js +0 -5
  613. package/views/analysis/ElevationProfile/ElevationProfileHoveredPointVisualization.js +0 -5
  614. package/widgets/support/AnalysisViewModel.d.ts +0 -5
  615. package/widgets/support/AnalysisViewModel.js +0 -5
  616. package/widgets/support/AnchorElementViewModel.d.ts +0 -3
  617. package/widgets/support/InteractiveToolViewModel.d.ts +0 -4
  618. package/widgets/support/InteractiveToolViewModel.js +0 -5
  619. /package/webdoc/support/{thumbnailUtils.d.ts → types.d.ts} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8902],{5443:(t,n,i)=>{i.d(n,{A:()=>y});var e,r=i(31635),s=i(799),m=i(91429),a=i(91075),h=i(86738),o=i(16930),x=i(94078),u=i(12176),l=i(21325),c=i(28735);function f(t,n,i){return null==n?i:null==i?n:t(n,i)}let y=e=class extends a.A{constructor(...t){super(...t),this.type="extent",this.xmin=0,this.ymin=0,this.mmin=void 0,this.zmin=void 0,this.xmax=0,this.ymax=0,this.mmax=void 0,this.zmax=void 0}normalizeCtorArgs(t,n,i,e,r){return function(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}(t)?{spatialReference:t,xmin:0,ymin:0,xmax:0,ymax:0}:"object"==typeof t?(t.spatialReference=null==t.spatialReference?o.A.WGS84:t.spatialReference,t):{xmin:t,ymin:n,xmax:i,ymax:e,spatialReference:r??o.A.WGS84}}static fromPoint(t){return new e({xmin:t.x,ymin:t.y,zmin:t.z,xmax:t.x,ymax:t.y,zmax:t.z,spatialReference:t.spatialReference})}get cache(){return this.commitProperty("xmin"),this.commitProperty("ymin"),this.commitProperty("zmin"),this.commitProperty("mmin"),this.commitProperty("xmax"),this.commitProperty("ymax"),this.commitProperty("zmax"),this.commitProperty("mmax"),this.commitProperty("spatialReference"),{}}get center(){const t=new h.A({x:.5*(this.xmin+this.xmax),y:.5*(this.ymin+this.ymax),spatialReference:this.spatialReference});return this.hasZ&&(t.z=.5*(this.zmin+this.zmax)),this.hasM&&(t.m=.5*(this.mmin+this.mmax)),t}get extent(){return this.clone()}get hasM(){return null!=this.mmin&&null!=this.mmax}get hasZ(){return null!=this.zmin&&null!=this.zmax}get height(){return Math.abs(this.ymax-this.ymin)}get width(){return Math.abs(this.xmax-this.xmin)}centerAt(t){const n=this.center;return null!=t.z&&this.hasZ?this.offset(t.x-n.x,t.y-n.y,t.z-n.z):this.offset(t.x-n.x,t.y-n.y)}clone(){const t=new e;return t.xmin=this.xmin,t.ymin=this.ymin,t.xmax=this.xmax,t.ymax=this.ymax,t.spatialReference=this.spatialReference,null!=this.zmin&&(t.zmin=this.zmin,t.zmax=this.zmax),null!=this.mmin&&(t.mmin=this.mmin,t.mmax=this.mmax),t}contains(t){if(!t)return!1;const n=this.spatialReference,i=t.spatialReference;return n&&i&&!n.equals(i)&&(0,c.y7)(n,i)&&(t=n.isWebMercator?(0,c.Gh)(t):(0,c.ci)(t,!0)),"point"===t.type?(0,x.qz)(this,t):"extent"===t.type&&(0,x.gH)(this,t)}equals(t){if(this===t)return!0;if(null==t)return!1;const n=this.spatialReference,i=t.spatialReference;return n&&i&&!n.equals(i)&&(0,c.y7)(n,i)&&(t=n.isWebMercator?(0,c.Gh)(t):(0,c.ci)(t,!0)),this.xmin===t.xmin&&this.ymin===t.ymin&&this.zmin===t.zmin&&this.mmin===t.mmin&&this.xmax===t.xmax&&this.ymax===t.ymax&&this.zmax===t.zmax&&this.mmax===t.mmax}expand(t){const n=.5*(1-t),i=this.width*n,e=this.height*n;if(this.xmin+=i,this.ymin+=e,this.xmax-=i,this.ymax-=e,this.hasZ){const t=(this.zmax-this.zmin)*n;this.zmin+=t,this.zmax-=t}if(this.hasM){const t=(this.mmax-this.mmin)*n;this.mmin+=t,this.mmax-=t}return this}intersects(t){if(null==t)return!1;"mesh"===t.type&&(t=t.extent);const n=this.spatialReference,i=t.spatialReference;return n&&i&&!(0,l.aI)(n,i)&&(0,c.y7)(n,i)&&(t=n.isWebMercator?(0,c.Gh)(t):(0,c.ci)(t,!0)),(0,u.xK)(t.type)(this,t)}normalize(){const t=this._normalize(!1,!0);return Array.isArray(t)?t:[t]}offset(t,n,i){return this.xmin+=t,this.ymin+=n,this.xmax+=t,this.ymax+=n,null!=i&&(this.zmin+=i,this.zmax+=i),this}shiftCentralMeridian(){return this._normalize(!0)}union(t){return this===t||(this.xmin=Math.min(this.xmin,t.xmin),this.ymin=Math.min(this.ymin,t.ymin),this.xmax=Math.max(this.xmax,t.xmax),this.ymax=Math.max(this.ymax,t.ymax),(this.hasZ||t.hasZ)&&(this.zmin=f(Math.min,this.zmin,t.zmin),this.zmax=f(Math.max,this.zmax,t.zmax)),(this.hasM||t.hasM)&&(this.mmin=f(Math.min,this.mmin,t.mmin),this.mmax=f(Math.max,this.mmax,t.mmax))),this}intersection(t){return this===t?this:null!=t&&this.intersects(t)?(this.xmin=Math.max(this.xmin,t.xmin),this.ymin=Math.max(this.ymin,t.ymin),this.xmax=Math.min(this.xmax,t.xmax),this.ymax=Math.min(this.ymax,t.ymax),(this.hasZ||t.hasZ)&&(this.zmin=f(Math.max,this.zmin,t.zmin),this.zmax=f(Math.min,this.zmax,t.zmax)),(this.hasM||t.hasM)&&(this.mmin=f(Math.max,this.mmin,t.mmin),this.mmax=f(Math.min,this.mmax,t.mmax)),this):null}toJSON(t){return this.write({},t)}_shiftCM(t=(0,l.Vp)(this.spatialReference)){if(!t||!this.spatialReference)return this;const n=this.spatialReference,i=this._getCM(t);if(i){const e=n.isWebMercator?(0,c.ci)(i):i;this.xmin-=i.x,this.xmax-=i.x,n.isWebMercator||(e.x=p(e.x,t).x),this.spatialReference=new o.A((0,s.HC)((n.isWGS84?t.altTemplate:null)??t.wkTemplate,{Central_Meridian:e.x}))}return this}_getCM(t){let n=null;const[i,e]=t.valid,r=this.xmin,s=this.xmax;return r>=i&&r<=e&&s>=i&&s<=e||(n=this.center),n}_normalize(t,n,i){const e=this.spatialReference;if(!e)return this;const r=i??(0,l.Vp)(e);if(null==r)return this;const s=this._getParts(r).map(t=>t.extent);if(s.length<2)return s[0]||this;if(s.length>2)return t?this._shiftCM(r):this.set({xmin:r.valid[0],xmax:r.valid[1]});if(t)return this._shiftCM(r);if(n)return s;let m=!0,a=!0;return s.forEach(t=>{t.hasZ||(m=!1),t.hasM||(a=!1)}),{rings:s.map(t=>{const n=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(m){const i=(t.zmax-t.zmin)/2;for(let t=0;t<n.length;t++)n[t].push(i)}if(a){const i=(t.mmax-t.mmin)/2;for(let t=0;t<n.length;t++)n[t].push(i)}return n}),hasZ:m,hasM:a,spatialReference:e}}_getParts(t){let n=this.cache._parts;if(!n){n=[];const{ymin:i,ymax:r,spatialReference:s}=this,m=this.width,a=this.xmin,h=this.xmax;let o;t=t||(0,l.Vp)(s);const[x,u]=t.valid;o=p(this.xmin,t);const c=o.x,f=o.frameId;o=p(this.xmax,t);const y=o.x,M=o.frameId,g=c===y&&m>0;if(m>2*u){const t=new e(a<h?c:y,i,u,r,s),m=new e(x,i,a<h?y:c,r,s),o=new e(0,i,u,r,s),l=new e(x,i,0,r,s),p=[],g=[];t.contains(o)&&p.push(f),t.contains(l)&&g.push(f),m.contains(o)&&p.push(M),m.contains(l)&&g.push(M);for(let t=f+1;t<M;t++)p.push(t),g.push(t);n.push({extent:t,frameIds:[f]},{extent:m,frameIds:[M]},{extent:o,frameIds:p},{extent:l,frameIds:g})}else c>y||g?n.push({extent:new e(c,i,u,r,s),frameIds:[f]},{extent:new e(x,i,y,r,s),frameIds:[M]}):n.push({extent:new e(c,i,y,r,s),frameIds:[f]});this.cache._parts=n}const i=this.hasZ,r=this.hasM;if(i||r){const t={};i&&(t.zmin=this.zmin,t.zmax=this.zmax),r&&(t.mmin=this.mmin,t.mmax=this.mmax);for(let i=0;i<n.length;i++)n[i].extent.set(t)}return n}};function p(t,n){const[i,e]=n.valid,r=2*e;let s,m=0;return t>e?(s=Math.ceil(Math.abs(t-e)/r),t-=s*r,m=s):t<i&&(s=Math.ceil(Math.abs(t-i)/r),t+=s*r,m=-s),{x:t,frameId:m}}(0,r.Cg)([(0,m.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],y.prototype,"center",null),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,r.Cg)([(0,m.MZ)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],y.prototype,"hasM",null),(0,r.Cg)([(0,m.MZ)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],y.prototype,"hasZ",null),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],y.prototype,"height",null),(0,r.Cg)([(0,m.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],y.prototype,"spatialReference",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],y.prototype,"width",null),(0,r.Cg)([(0,m.MZ)({type:Number,json:{type:[Number,String],write:{enabled:!0,allowNull:!0}}})],y.prototype,"xmin",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,json:{write:!0}})],y.prototype,"ymin",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},read:t=>t??void 0,write:{overridePolicy(){return{enabled:this.hasM}}}}})],y.prototype,"mmin",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],y.prototype,"zmin",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,json:{write:!0}})],y.prototype,"xmax",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,json:{write:!0}})],y.prototype,"ymax",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},read:t=>t??void 0,write:{overridePolicy(){return{enabled:this.hasM}}}}})],y.prototype,"mmax",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],y.prototype,"zmax",void 0),y=e=(0,r.Cg)([(0,m.$K)("esri.geometry.Extent")],y),y.prototype.toJSON.isDefaultToJSON=!0},12176:(t,n,i)=>{i.d(n,{A3:()=>p,Ql:()=>g,fA:()=>c,xB:()=>s,xK:()=>z});var e=i(94078);function r(t,n){return(0,e.qz)(t,n)}function s(t,n){const i=t.hasZ&&n.hasZ;let e,r,s;if(t.xmin<=n.xmin){if(e=n.xmin,t.xmax<e)return!1}else if(e=t.xmin,n.xmax<e)return!1;if(t.ymin<=n.ymin){if(r=n.ymin,t.ymax<r)return!1}else if(r=t.ymin,n.ymax<r)return!1;if(i&&n.hasZ)if(t.zmin<=n.zmin){if(s=n.zmin,t.zmax<s)return!1}else if(s=t.zmin,n.zmax<s)return!1;return!0}function m(t,n){const{points:i,hasZ:r}=n,s=r?e.F8:e.CW;for(const n of i)if(s(t,n))return!0;return!1}const a=[0,0],h=[0,0],o=[0,0],x=[0,0],u=[a,h,o,x],l=[[o,a],[a,h],[h,x],[x,o]];function c(t,n){return function(t,n){a[0]=t.xmin,a[1]=t.ymax,h[0]=t.xmax,h[1]=t.ymax,o[0]=t.xmin,o[1]=t.ymin,x[0]=t.xmax,x[1]=t.ymin;for(const t of u)if((0,e.t1)(n,t))return!0;for(const i of n){if(!i.length)continue;let n=i[0];if((0,e.CW)(t,n))return!0;for(let r=1;r<i.length;r++){const s=i[r];if((0,e.CW)(t,s)||M(n,s,l))return!0;n=s}}return!1}(t,n.rings)}function f(t,n){a[0]=t.xmin,a[1]=t.ymax,h[0]=t.xmax,h[1]=t.ymax,o[0]=t.xmin,o[1]=t.ymin,x[0]=t.xmax,x[1]=t.ymin;const i=n.paths;for(const n of i){if(!i.length)continue;let r=n[0];if((0,e.CW)(t,r))return!0;for(let i=1;i<n.length;i++){const s=n[i];if((0,e.CW)(t,s)||M(r,s,l))return!0;r=s}}return!1}const y=[0,0];function p(t){for(let n=0;n<t.length;n++){const i=t[n];for(let e=0;e<i.length-1;e++){const r=i[e],s=i[e+1];for(let i=n+1;i<t.length;i++)for(let n=0;n<t[i].length-1;n++){const e=t[i][n],m=t[i][n+1];if(g(r,s,e,m,y)&&!(y[0]===r[0]&&y[1]===r[1]||y[0]===e[0]&&y[1]===e[1]||y[0]===s[0]&&y[1]===s[1]||y[0]===m[0]&&y[1]===m[1]))return!0}}const e=i.length;if(!(e<=4))for(let t=0;t<e-3;t++){let n=e-1;0===t&&(n=e-2);const r=i[t],s=i[t+1];for(let e=t+2;e<n;e++){const t=i[e],n=i[e+1];if(g(r,s,t,n,y)&&!(y[0]===r[0]&&y[1]===r[1]||y[0]===t[0]&&y[1]===t[1]||y[0]===s[0]&&y[1]===s[1]||y[0]===n[0]&&y[1]===n[1]))return!0}}}return!1}function M(t,n,i){for(let e=0;e<i.length;e++)if(g(t,n,i[e][0],i[e][1]))return!0;return!1}function g(t,n,i,e,r){const[s,m]=t,[a,h]=n,[o,x]=i,[u,l]=e,c=u-o,f=s-o,y=a-s,p=l-x,M=m-x,g=h-m,z=p*y-c*g;if(0===z)return!1;const d=(c*M-p*f)/z,w=(y*M-g*f)/z;return d>=0&&d<=1&&w>=0&&w<=1&&(r&&(r[0]=s+d*(a-s),r[1]=m+d*(h-m)),!0)}function z(t){switch(t){case"esriGeometryEnvelope":case"extent":return s;case"esriGeometryMultipoint":case"multipoint":return m;case"esriGeometryPoint":case"point":return r;case"esriGeometryMultiPatch":case"multipatch":case"esriGeometryPolygon":case"polygon":return c;case"esriGeometryPolyline":case"polyline":return f}}},19419:(t,n,i)=>{i.d(n,{$9:()=>w,HY:()=>d,IO:()=>u,Ie:()=>Z,Rj:()=>z,VL:()=>f,VY:()=>a,Wc:()=>p,aI:()=>v,bx:()=>l,fA:()=>m,fT:()=>c,gR:()=>C,gX:()=>M,ib:()=>g,nw:()=>x,qv:()=>R,tK:()=>o,uJ:()=>y,vt:()=>r,w1:()=>h}),i(44208),i(34727);var e=i(5443);function r(t=P){return[t[0],t[1],t[2],t[3]]}function s(t,n){return t!==n&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3]),t}function m(t,n,i,e,s=r()){return s[0]=t,s[1]=n,s[2]=i,s[3]=e,s}function a(t,n=r()){return n[0]=t.xmin,n[1]=t.ymin,n[2]=t.xmax,n[3]=t.ymax,n}function h(t,n,i=new e.A){return i.xmin=t[0],i.ymin=t[1],i.xmax=t[2],i.ymax=t[3],i.spatialReference=n,i}function o(t,n){n[0]<t[0]&&(t[0]=n[0]),n[0]>t[2]&&(t[2]=n[0]),n[1]<t[1]&&(t[1]=n[1]),n[1]>t[3]&&(t[3]=n[1])}function x(t,n){n<t[0]&&(t[0]=n),n>t[2]&&(t[2]=n)}function u(t,n){n<t[1]&&(t[1]=n),n>t[3]&&(t[3]=n)}function l(t,{xmin:n,ymin:i,xmax:e,ymax:r}){t[0]=Math.min(t[0],n),t[1]=Math.min(t[1],i),t[2]=Math.max(t[2],e),t[3]=Math.max(t[3],r)}function c(t,n,i){if(null!=n)if("length"in n)b(n)?(i[0]=Math.min(t[0],n[0]),i[1]=Math.min(t[1],n[1]),i[2]=Math.max(t[2],n[2]),i[3]=Math.max(t[3],n[3])):2!==n.length&&3!==n.length||(i[0]=Math.min(t[0],n[0]),i[1]=Math.min(t[1],n[1]),i[2]=Math.max(t[2],n[0]),i[3]=Math.max(t[3],n[1]));else switch(n.type){case"extent":i[0]=Math.min(t[0],n.xmin),i[1]=Math.min(t[1],n.ymin),i[2]=Math.max(t[2],n.xmax),i[3]=Math.max(t[3],n.ymax);break;case"point":i[0]=Math.min(t[0],n.x),i[1]=Math.min(t[1],n.y),i[2]=Math.max(t[2],n.x),i[3]=Math.max(t[3],n.y)}else s(i,t)}function f(t){return null==t||t[0]>=t[2]?0:t[2]-t[0]}function y(t){return null==t||t[1]>=t[3]?0:t[3]-t[1]}function p(t){return f(t)*y(t)}function M(t,n=[0,0]){return n[0]=(t[0]+t[2])/2,n[1]=(t[1]+t[3])/2,n}function g(t){const n=f(t),i=y(t);return Math.sqrt(n*n+i*i)}function z(t,n,i){return n>=t[0]&&i>=t[1]&&n<=t[2]&&i<=t[3]}function d(t,n){return Math.max(n[0],t[0])<=Math.min(n[2],t[2])&&Math.max(n[1],t[1])<=Math.min(n[3],t[3])}function w(t,n,i){return Math.max(n[0],t[0])-i<=Math.min(n[2],t[2])&&Math.max(n[1],t[1])-i<=Math.min(n[3],t[3])}function C(t,n){return n[0]>=t[0]&&n[2]<=t[2]&&n[1]>=t[1]&&n[3]<=t[3]}function Z(t){return t?s(t,R):r(R)}function b(t){return null!=t&&4===t.length}function v(t,n){return b(t)&&b(n)?t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]:t===n}const R=[1/0,1/0,-1/0,-1/0],P=[0,0,0,0]},94078:(t,n,i)=>{i.d(n,{CW:()=>a,F8:()=>h,gH:()=>m,m3:()=>x,qz:()=>r,rL:()=>s,t1:()=>u});const e=[0,0];function r(t,n){return null!=n&&o(t,n.x,n.y,n.z)}function s(t,n){if(!n.points?.length)return!1;for(const i of n.points)if(!a(t,i))return!1;return!0}function m(t,n){const{xmin:i,ymin:e,zmin:r,xmax:s,ymax:m,zmax:a}=n;return t.hasZ&&n.hasZ?o(t,i,e,r)&&o(t,i,m,r)&&o(t,s,m,r)&&o(t,s,e,r)&&o(t,i,e,a)&&o(t,i,m,a)&&o(t,s,m,a)&&o(t,s,e,a):o(t,i,e)&&o(t,i,m)&&o(t,s,m)&&o(t,s,e)}function a(t,n){return o(t,n[0],n[1])}function h(t,n){return o(t,n[0],n[1],n[2])}function o(t,n,i,e){return n>=t.xmin&&n<=t.xmax&&i>=t.ymin&&i<=t.ymax&&(null==e||!t.hasZ||e>=t.zmin&&e<=t.zmax)}function x(t,n){return e[1]=n.y,e[0]=n.x,function(t,n){return u(t.rings,n)}(t,e)}function u(t,n){if(!t||t.length<1)return!1;if(function(t){return!Array.isArray(t[0][0])}(t))return l(!1,t,n);let i=!1;for(let e=0,r=t.length;e<r;e++)i=l(i,t[e],n);return i}function l(t,n,i){const[e,r]=i;let s=t,m=0;for(let t=0,i=n.length;t<i;t++){m++,m===i&&(m=0);const[a,h]=n[t],[o,x]=n[m];(h<r&&x>=r||x<r&&h>=r)&&a+(r-h)/(x-h)*(o-a)<e&&(s=!s)}return s}},95108:(t,n,i)=>{i.d(n,{$3:()=>o,Ng:()=>m,R3:()=>r,Yl:()=>h,gR:()=>s,m3:()=>u,t9:()=>a});var e=i(4576);function r(t,n){const i=n[0]-t[0],e=n[1]-t[1];if(t.length>2&&n.length>2){const r=t[2]-n[2];return Math.sqrt(i*i+e*e+r*r)}return Math.sqrt(i*i+e*e)}function s(t,n,i,e){const[r,s]=n,[m,a]=i,[h,o]=e,x=h-m,u=o-a,l=x*x+u*u,c=(r-m)*x+(s-a)*u,f=Math.min(1,Math.max(0,c/l));return t[0]=m+x*f,t[1]=a+u*f,t}function m(t,n,i,e,r,s){let m=i,a=e,h=r-m,o=s-a;if(0!==h||0!==o){const i=((t-m)*h+(n-a)*o)/(h*h+o*o);i>1?(m=r,a=s):i>0&&(m+=h*i,a+=o*i)}return h=t-m,o=n-a,h*h+o*o}function a(t,n){return function(t,n,i){const e=t[0]+i*(n[0]-t[0]),r=t[1]+i*(n[1]-t[1]);return t.length>2&&n.length>2?[e,r,t[2]+i*(n[2]-t[2])]:[e,r]}(t,n,.5)}function h(t){const n=t.length;let i=0;for(let e=0;e<n-1;++e)i+=r(t[e],t[e+1]);return i}function o(t,n=0,i=1){let e=0;const r=t.length;let s=t[0];for(let m=1;m<r;m++){const r=t[m];e+=(r[n]-s[n])*(r[i]+s[i]),s=r}if(x(t)){const r=t[0];e+=(r[n]-s[n])*(r[i]+s[i])}return e>=0}function x(t){const n=t.length;return n>0&&!(0,e.aI)(t[0],t[n-1])}function u(t){if("rings"in t)for(const n of t.rings)x(n)&&n.push(n[0].slice())}i(21325)}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8902],{5443:(t,n,i)=>{i.d(n,{A:()=>y});var e,r=i(31635),s=i(799),m=i(91429),a=i(91075),h=i(86738),o=i(16930),x=i(94078),u=i(12176),l=i(21325),c=i(28735);function f(t,n,i){return null==n?i:null==i?n:t(n,i)}let y=e=class extends a.A{constructor(...t){super(...t),this.type="extent",this.xmin=0,this.ymin=0,this.mmin=void 0,this.zmin=void 0,this.xmax=0,this.ymax=0,this.mmax=void 0,this.zmax=void 0}normalizeCtorArgs(t,n,i,e,r){return function(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}(t)?{spatialReference:t,xmin:0,ymin:0,xmax:0,ymax:0}:"object"==typeof t?(t.spatialReference=null==t.spatialReference?o.A.WGS84:t.spatialReference,t):{xmin:t,ymin:n,xmax:i,ymax:e,spatialReference:r??o.A.WGS84}}static fromPoint(t){return new e({xmin:t.x,ymin:t.y,zmin:t.z,xmax:t.x,ymax:t.y,zmax:t.z,spatialReference:t.spatialReference})}get cache(){return this.commitProperty("xmin"),this.commitProperty("ymin"),this.commitProperty("zmin"),this.commitProperty("mmin"),this.commitProperty("xmax"),this.commitProperty("ymax"),this.commitProperty("zmax"),this.commitProperty("mmax"),this.commitProperty("spatialReference"),{}}get center(){const t=new h.A({x:.5*(this.xmin+this.xmax),y:.5*(this.ymin+this.ymax),spatialReference:this.spatialReference});return this.hasZ&&(t.z=.5*(this.zmin+this.zmax)),this.hasM&&(t.m=.5*(this.mmin+this.mmax)),t}get extent(){return this.clone()}get hasM(){return null!=this.mmin&&null!=this.mmax}get hasZ(){return null!=this.zmin&&null!=this.zmax}get height(){return Math.abs(this.ymax-this.ymin)}get width(){return Math.abs(this.xmax-this.xmin)}centerAt(t){const n=this.center;return null!=t.z&&this.hasZ?this.offset(t.x-n.x,t.y-n.y,t.z-n.z):this.offset(t.x-n.x,t.y-n.y)}clone(){const t=new e;return t.xmin=this.xmin,t.ymin=this.ymin,t.xmax=this.xmax,t.ymax=this.ymax,t.spatialReference=this.spatialReference,null!=this.zmin&&(t.zmin=this.zmin,t.zmax=this.zmax),null!=this.mmin&&(t.mmin=this.mmin,t.mmax=this.mmax),t}contains(t){if(!t)return!1;const n=this.spatialReference,i=t.spatialReference;return n&&i&&!n.equals(i)&&(0,c.y7)(n,i)&&(t=n.isWebMercator?(0,c.Gh)(t):(0,c.ci)(t,!0)),"point"===t.type?(0,x.qz)(this,t):"extent"===t.type&&(0,x.gH)(this,t)}equals(t){if(this===t)return!0;if(null==t)return!1;const n=this.spatialReference,i=t.spatialReference;return n&&i&&!n.equals(i)&&(0,c.y7)(n,i)&&(t=n.isWebMercator?(0,c.Gh)(t):(0,c.ci)(t,!0)),this.xmin===t.xmin&&this.ymin===t.ymin&&this.zmin===t.zmin&&this.mmin===t.mmin&&this.xmax===t.xmax&&this.ymax===t.ymax&&this.zmax===t.zmax&&this.mmax===t.mmax}expand(t){const n=.5*(1-t),i=this.width*n,e=this.height*n;if(this.xmin+=i,this.ymin+=e,this.xmax-=i,this.ymax-=e,this.hasZ){const t=(this.zmax-this.zmin)*n;this.zmin+=t,this.zmax-=t}if(this.hasM){const t=(this.mmax-this.mmin)*n;this.mmin+=t,this.mmax-=t}return this}intersects(t){if(null==t)return!1;"mesh"===t.type&&(t=t.extent);const n=this.spatialReference,i=t.spatialReference;return n&&i&&!(0,l.aI)(n,i)&&(0,c.y7)(n,i)&&(t=n.isWebMercator?(0,c.Gh)(t):(0,c.ci)(t,!0)),(0,u.xK)(t.type)(this,t)}normalize(){const t=this._normalize(!1,!0);return Array.isArray(t)?t:[t]}offset(t,n,i){return this.xmin+=t,this.ymin+=n,this.xmax+=t,this.ymax+=n,null!=i&&(this.zmin+=i,this.zmax+=i),this}shiftCentralMeridian(){return this._normalize(!0)}union(t){return this===t||(this.xmin=Math.min(this.xmin,t.xmin),this.ymin=Math.min(this.ymin,t.ymin),this.xmax=Math.max(this.xmax,t.xmax),this.ymax=Math.max(this.ymax,t.ymax),(this.hasZ||t.hasZ)&&(this.zmin=f(Math.min,this.zmin,t.zmin),this.zmax=f(Math.max,this.zmax,t.zmax)),(this.hasM||t.hasM)&&(this.mmin=f(Math.min,this.mmin,t.mmin),this.mmax=f(Math.max,this.mmax,t.mmax))),this}intersection(t){return this===t?this:null!=t&&this.intersects(t)?(this.xmin=Math.max(this.xmin,t.xmin),this.ymin=Math.max(this.ymin,t.ymin),this.xmax=Math.min(this.xmax,t.xmax),this.ymax=Math.min(this.ymax,t.ymax),(this.hasZ||t.hasZ)&&(this.zmin=f(Math.max,this.zmin,t.zmin),this.zmax=f(Math.min,this.zmax,t.zmax)),(this.hasM||t.hasM)&&(this.mmin=f(Math.max,this.mmin,t.mmin),this.mmax=f(Math.min,this.mmax,t.mmax)),this):null}toJSON(t){return this.write({},t)}_shiftCM(t=(0,l.Vp)(this.spatialReference)){if(!t||!this.spatialReference)return this;const n=this.spatialReference,i=this._getCM(t);if(i){const e=n.isWebMercator?(0,c.ci)(i):i;this.xmin-=i.x,this.xmax-=i.x,n.isWebMercator||(e.x=p(e.x,t).x),this.spatialReference=new o.A((0,s.HC)((n.isWGS84?t.altTemplate:null)??t.wkTemplate,{Central_Meridian:e.x}))}return this}_getCM(t){let n=null;const[i,e]=t.valid,r=this.xmin,s=this.xmax;return r>=i&&r<=e&&s>=i&&s<=e||(n=this.center),n}_normalize(t,n,i){const e=this.spatialReference;if(!e)return this;const r=i??(0,l.Vp)(e);if(null==r)return this;const s=this._getParts(r).map(t=>t.extent);if(s.length<2)return s[0]||this;if(s.length>2)return t?this._shiftCM(r):this.set({xmin:r.valid[0],xmax:r.valid[1]});if(t)return this._shiftCM(r);if(n)return s;let m=!0,a=!0;return s.forEach(t=>{t.hasZ||(m=!1),t.hasM||(a=!1)}),{rings:s.map(t=>{const n=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(m){const i=(t.zmax-t.zmin)/2;for(let t=0;t<n.length;t++)n[t].push(i)}if(a){const i=(t.mmax-t.mmin)/2;for(let t=0;t<n.length;t++)n[t].push(i)}return n}),hasZ:m,hasM:a,spatialReference:e}}_getParts(t){let n=this.cache._parts;if(!n){n=[];const{ymin:i,ymax:r,spatialReference:s}=this,m=this.width,a=this.xmin,h=this.xmax;let o;t=t||(0,l.Vp)(s);const[x,u]=t.valid;o=p(this.xmin,t);const c=o.x,f=o.frameId;o=p(this.xmax,t);const y=o.x,M=o.frameId,g=c===y&&m>0;if(m>2*u){const t=new e(a<h?c:y,i,u,r,s),m=new e(x,i,a<h?y:c,r,s),o=new e(0,i,u,r,s),l=new e(x,i,0,r,s),p=[],g=[];t.contains(o)&&p.push(f),t.contains(l)&&g.push(f),m.contains(o)&&p.push(M),m.contains(l)&&g.push(M);for(let t=f+1;t<M;t++)p.push(t),g.push(t);n.push({extent:t,frameIds:[f]},{extent:m,frameIds:[M]},{extent:o,frameIds:p},{extent:l,frameIds:g})}else c>y||g?n.push({extent:new e(c,i,u,r,s),frameIds:[f]},{extent:new e(x,i,y,r,s),frameIds:[M]}):n.push({extent:new e(c,i,y,r,s),frameIds:[f]});this.cache._parts=n}const i=this.hasZ,r=this.hasM;if(i||r){const t={};i&&(t.zmin=this.zmin,t.zmax=this.zmax),r&&(t.mmin=this.mmin,t.mmax=this.mmax);for(let i=0;i<n.length;i++)n[i].extent.set(t)}return n}};function p(t,n){const[i,e]=n.valid,r=2*e;let s,m=0;return t>e?(s=Math.ceil(Math.abs(t-e)/r),t-=s*r,m=s):t<i&&(s=Math.ceil(Math.abs(t-i)/r),t+=s*r,m=-s),{x:t,frameId:m}}(0,r.Cg)([(0,m.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],y.prototype,"center",null),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,r.Cg)([(0,m.MZ)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],y.prototype,"hasM",null),(0,r.Cg)([(0,m.MZ)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],y.prototype,"hasZ",null),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],y.prototype,"height",null),(0,r.Cg)([(0,m.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],y.prototype,"spatialReference",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],y.prototype,"width",null),(0,r.Cg)([(0,m.MZ)({type:Number,json:{type:[Number,String],write:{enabled:!0,allowNull:!0}}})],y.prototype,"xmin",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,json:{write:!0}})],y.prototype,"ymin",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},read:t=>t??void 0,write:{overridePolicy(){return{enabled:this.hasM}}}}})],y.prototype,"mmin",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],y.prototype,"zmin",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,json:{write:!0}})],y.prototype,"xmax",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,json:{write:!0}})],y.prototype,"ymax",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},read:t=>t??void 0,write:{overridePolicy(){return{enabled:this.hasM}}}}})],y.prototype,"mmax",void 0),(0,r.Cg)([(0,m.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],y.prototype,"zmax",void 0),y=e=(0,r.Cg)([(0,m.$K)("esri.geometry.Extent")],y),y.prototype.toJSON.isDefaultToJSON=!0},12176:(t,n,i)=>{i.d(n,{A3:()=>p,Ql:()=>g,fA:()=>c,xB:()=>s,xK:()=>z});var e=i(94078);function r(t,n){return(0,e.qz)(t,n)}function s(t,n){const i=t.hasZ&&n.hasZ;let e,r,s;if(t.xmin<=n.xmin){if(e=n.xmin,t.xmax<e)return!1}else if(e=t.xmin,n.xmax<e)return!1;if(t.ymin<=n.ymin){if(r=n.ymin,t.ymax<r)return!1}else if(r=t.ymin,n.ymax<r)return!1;if(i&&n.hasZ)if(t.zmin<=n.zmin){if(s=n.zmin,t.zmax<s)return!1}else if(s=t.zmin,n.zmax<s)return!1;return!0}function m(t,n){const{points:i,hasZ:r}=n,s=r?e.F8:e.CW;for(const n of i)if(s(t,n))return!0;return!1}const a=[0,0],h=[0,0],o=[0,0],x=[0,0],u=[a,h,o,x],l=[[o,a],[a,h],[h,x],[x,o]];function c(t,n){return function(t,n){a[0]=t.xmin,a[1]=t.ymax,h[0]=t.xmax,h[1]=t.ymax,o[0]=t.xmin,o[1]=t.ymin,x[0]=t.xmax,x[1]=t.ymin;for(const t of u)if((0,e.t1)(n,t))return!0;for(const i of n){if(!i.length)continue;let n=i[0];if((0,e.CW)(t,n))return!0;for(let r=1;r<i.length;r++){const s=i[r];if((0,e.CW)(t,s)||M(n,s,l))return!0;n=s}}return!1}(t,n.rings)}function f(t,n){a[0]=t.xmin,a[1]=t.ymax,h[0]=t.xmax,h[1]=t.ymax,o[0]=t.xmin,o[1]=t.ymin,x[0]=t.xmax,x[1]=t.ymin;const i=n.paths;for(const n of i){if(!i.length)continue;let r=n[0];if((0,e.CW)(t,r))return!0;for(let i=1;i<n.length;i++){const s=n[i];if((0,e.CW)(t,s)||M(r,s,l))return!0;r=s}}return!1}const y=[0,0];function p(t){for(let n=0;n<t.length;n++){const i=t[n];for(let e=0;e<i.length-1;e++){const r=i[e],s=i[e+1];for(let i=n+1;i<t.length;i++)for(let n=0;n<t[i].length-1;n++){const e=t[i][n],m=t[i][n+1];if(g(r,s,e,m,y)&&!(y[0]===r[0]&&y[1]===r[1]||y[0]===e[0]&&y[1]===e[1]||y[0]===s[0]&&y[1]===s[1]||y[0]===m[0]&&y[1]===m[1]))return!0}}const e=i.length;if(!(e<=4))for(let t=0;t<e-3;t++){let n=e-1;0===t&&(n=e-2);const r=i[t],s=i[t+1];for(let e=t+2;e<n;e++){const t=i[e],n=i[e+1];if(g(r,s,t,n,y)&&!(y[0]===r[0]&&y[1]===r[1]||y[0]===t[0]&&y[1]===t[1]||y[0]===s[0]&&y[1]===s[1]||y[0]===n[0]&&y[1]===n[1]))return!0}}}return!1}function M(t,n,i){for(let e=0;e<i.length;e++)if(g(t,n,i[e][0],i[e][1]))return!0;return!1}function g(t,n,i,e,r){const[s,m]=t,[a,h]=n,[o,x]=i,[u,l]=e,c=u-o,f=s-o,y=a-s,p=l-x,M=m-x,g=h-m,z=p*y-c*g;if(0===z)return!1;const d=(c*M-p*f)/z,w=(y*M-g*f)/z;return d>=0&&d<=1&&w>=0&&w<=1&&(r&&(r[0]=s+d*(a-s),r[1]=m+d*(h-m)),!0)}function z(t){switch(t){case"esriGeometryEnvelope":case"extent":return s;case"esriGeometryMultipoint":case"multipoint":return m;case"esriGeometryPoint":case"point":return r;case"esriGeometryMultiPatch":case"multipatch":case"esriGeometryPolygon":case"polygon":return c;case"esriGeometryPolyline":case"polyline":return f}}},19419:(t,n,i)=>{i.d(n,{$9:()=>w,HY:()=>d,IO:()=>u,Ie:()=>Z,Rj:()=>z,VL:()=>f,VY:()=>a,Wc:()=>p,aI:()=>v,bx:()=>l,fA:()=>m,fT:()=>c,gR:()=>C,gX:()=>M,ib:()=>g,nw:()=>x,qv:()=>R,tK:()=>o,uJ:()=>y,vt:()=>r,w1:()=>h}),i(34727);var e=i(5443);function r(t=P){return[t[0],t[1],t[2],t[3]]}function s(t,n){return t!==n&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3]),t}function m(t,n,i,e,s=r()){return s[0]=t,s[1]=n,s[2]=i,s[3]=e,s}function a(t,n=r()){return n[0]=t.xmin,n[1]=t.ymin,n[2]=t.xmax,n[3]=t.ymax,n}function h(t,n,i=new e.A){return i.xmin=t[0],i.ymin=t[1],i.xmax=t[2],i.ymax=t[3],i.spatialReference=n,i}function o(t,n){n[0]<t[0]&&(t[0]=n[0]),n[0]>t[2]&&(t[2]=n[0]),n[1]<t[1]&&(t[1]=n[1]),n[1]>t[3]&&(t[3]=n[1])}function x(t,n){n<t[0]&&(t[0]=n),n>t[2]&&(t[2]=n)}function u(t,n){n<t[1]&&(t[1]=n),n>t[3]&&(t[3]=n)}function l(t,{xmin:n,ymin:i,xmax:e,ymax:r}){t[0]=Math.min(t[0],n),t[1]=Math.min(t[1],i),t[2]=Math.max(t[2],e),t[3]=Math.max(t[3],r)}function c(t,n,i){if(null!=n)if("length"in n)b(n)?(i[0]=Math.min(t[0],n[0]),i[1]=Math.min(t[1],n[1]),i[2]=Math.max(t[2],n[2]),i[3]=Math.max(t[3],n[3])):2!==n.length&&3!==n.length||(i[0]=Math.min(t[0],n[0]),i[1]=Math.min(t[1],n[1]),i[2]=Math.max(t[2],n[0]),i[3]=Math.max(t[3],n[1]));else switch(n.type){case"extent":i[0]=Math.min(t[0],n.xmin),i[1]=Math.min(t[1],n.ymin),i[2]=Math.max(t[2],n.xmax),i[3]=Math.max(t[3],n.ymax);break;case"point":i[0]=Math.min(t[0],n.x),i[1]=Math.min(t[1],n.y),i[2]=Math.max(t[2],n.x),i[3]=Math.max(t[3],n.y)}else s(i,t)}function f(t){return null==t||t[0]>=t[2]?0:t[2]-t[0]}function y(t){return null==t||t[1]>=t[3]?0:t[3]-t[1]}function p(t){return f(t)*y(t)}function M(t,n=[0,0]){return n[0]=(t[0]+t[2])/2,n[1]=(t[1]+t[3])/2,n}function g(t){const n=f(t),i=y(t);return Math.sqrt(n*n+i*i)}function z(t,n,i){return n>=t[0]&&i>=t[1]&&n<=t[2]&&i<=t[3]}function d(t,n){return Math.max(n[0],t[0])<=Math.min(n[2],t[2])&&Math.max(n[1],t[1])<=Math.min(n[3],t[3])}function w(t,n,i){return Math.max(n[0],t[0])-i<=Math.min(n[2],t[2])&&Math.max(n[1],t[1])-i<=Math.min(n[3],t[3])}function C(t,n){return n[0]>=t[0]&&n[2]<=t[2]&&n[1]>=t[1]&&n[3]<=t[3]}function Z(t){return t?s(t,R):r(R)}function b(t){return null!=t&&4===t.length}function v(t,n){return b(t)&&b(n)?t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]:t===n}const R=[1/0,1/0,-1/0,-1/0],P=[0,0,0,0]},94078:(t,n,i)=>{i.d(n,{CW:()=>a,F8:()=>h,gH:()=>m,m3:()=>x,qz:()=>r,rL:()=>s,t1:()=>u});const e=[0,0];function r(t,n){return null!=n&&o(t,n.x,n.y,n.z)}function s(t,n){if(!n.points?.length)return!1;for(const i of n.points)if(!a(t,i))return!1;return!0}function m(t,n){const{xmin:i,ymin:e,zmin:r,xmax:s,ymax:m,zmax:a}=n;return t.hasZ&&n.hasZ?o(t,i,e,r)&&o(t,i,m,r)&&o(t,s,m,r)&&o(t,s,e,r)&&o(t,i,e,a)&&o(t,i,m,a)&&o(t,s,m,a)&&o(t,s,e,a):o(t,i,e)&&o(t,i,m)&&o(t,s,m)&&o(t,s,e)}function a(t,n){return o(t,n[0],n[1])}function h(t,n){return o(t,n[0],n[1],n[2])}function o(t,n,i,e){return n>=t.xmin&&n<=t.xmax&&i>=t.ymin&&i<=t.ymax&&(null==e||!t.hasZ||e>=t.zmin&&e<=t.zmax)}function x(t,n){return e[1]=n.y,e[0]=n.x,function(t,n){return u(t.rings,n)}(t,e)}function u(t,n){if(!t||t.length<1)return!1;if(function(t){return!Array.isArray(t[0][0])}(t))return l(!1,t,n);let i=!1;for(let e=0,r=t.length;e<r;e++)i=l(i,t[e],n);return i}function l(t,n,i){const[e,r]=i;let s=t,m=0;for(let t=0,i=n.length;t<i;t++){m++,m===i&&(m=0);const[a,h]=n[t],[o,x]=n[m];(h<r&&x>=r||x<r&&h>=r)&&a+(r-h)/(x-h)*(o-a)<e&&(s=!s)}return s}},95108:(t,n,i)=>{i.d(n,{$3:()=>o,Ng:()=>m,R3:()=>r,Yl:()=>h,gR:()=>s,m3:()=>u,t9:()=>a});var e=i(4576);function r(t,n){const i=n[0]-t[0],e=n[1]-t[1];if(t.length>2&&n.length>2){const r=t[2]-n[2];return Math.sqrt(i*i+e*e+r*r)}return Math.sqrt(i*i+e*e)}function s(t,n,i,e){const[r,s]=n,[m,a]=i,[h,o]=e,x=h-m,u=o-a,l=x*x+u*u,c=(r-m)*x+(s-a)*u,f=Math.min(1,Math.max(0,c/l));return t[0]=m+x*f,t[1]=a+u*f,t}function m(t,n,i,e,r,s){let m=i,a=e,h=r-m,o=s-a;if(0!==h||0!==o){const i=((t-m)*h+(n-a)*o)/(h*h+o*o);i>1?(m=r,a=s):i>0&&(m+=h*i,a+=o*i)}return h=t-m,o=n-a,h*h+o*o}function a(t,n){return function(t,n,i){const e=t[0]+i*(n[0]-t[0]),r=t[1]+i*(n[1]-t[1]);return t.length>2&&n.length>2?[e,r,t[2]+i*(n[2]-t[2])]:[e,r]}(t,n,.5)}function h(t){const n=t.length;let i=0;for(let e=0;e<n-1;++e)i+=r(t[e],t[e+1]);return i}function o(t,n=0,i=1){let e=0;const r=t.length;let s=t[0];for(let m=1;m<r;m++){const r=t[m];e+=(r[n]-s[n])*(r[i]+s[i]),s=r}if(x(t)){const r=t[0];e+=(r[n]-s[n])*(r[i]+s[i])}return e>=0}function x(t){const n=t.length;return n>0&&!(0,e.aI)(t[0],t[n-1])}function u(t){if("rings"in t)for(const n of t.rings)x(n)&&n.push(n[0].slice())}i(21325)}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1437,7694],{16494:(e,t,r)=>{r.d(t,{Nd:()=>l,W5:()=>n});var i=r(37330);const s=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),o=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],n=new i.I({whiteList:s,onTagAttr:(e,t,r)=>{const i=`${t}="${r}"`;if(o.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:()=>c});var i=r(31635),s=r(69622),o=r(4576),n=r(60999),l=r(7762),a=r(16494),p=r(91429),u=r(30524),d=r(43668);const y=/<br\s*\/*>/gi;let c=class extends s.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,s=r?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:o}]=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?o({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:n,globalAttributes:this._createFormattedAttributes(e,t,s).global,layer:e,text:l}):"";r?.removeHTML&&(d=a.Nd.sanitize(d).replaceAll(y," ")),i.set(u,d)})}catch{}return i}async _checkAndReQueryGraphics(e,t){const r=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(o.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 s=await e.queryFeatures(i);if(s?.features.length===t.length)return s.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??[],s={};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{s[`expression/${e.name}`]=e.func({vars:{$feature:r}})}catch{}}const o={...t.attributes,...s};return{global:this._featureUtils.formatAttributes({fieldInfos:i,attributes:o,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})],c.prototype,"_arcadeTask",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"_featureUtils",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],c.prototype,"featureUtilsPromise",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],c.prototype,"calculatedExpressions",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"displayField",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"effectivePopupTemplate",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"expressionsUsedInTitle",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"fieldInfoMap",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"fields",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"objectIdField",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"requiredFields",null),c=(0,i.Cg)([(0,p.$K)("esri.layers.support.TitleCreator")],c)},22671:(e,t,r)=>{r.d(t,{A:()=>v});var i,s=r(31635),o=r(52106),n=r(66552),l=r(25482),a=r(4718),p=r(91429),u=r(16930),d=r(60408),y=r(65864),c=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,o.A)}writeGeometryType(e,t,r,i){if(e)return void m.write(e,t,r,i);const{features:s}=this;if(s)for(const e of s)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,y.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,s]}=e,o=this.features,n=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((s-e)/r));for(let e=0,t=o.length;e<t;e++)n?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[i,s],scale:[o,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*o+i,e=>s-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),s=[];for(let t=0;t<e.length;t++){const o=e[t],n=r.fromJSON(o),l=o.geometry?.spatialReference;null==n.geometry||l||(n.geometry.spatialReference=i);const a=o.aggregateGeometries,p=n.aggregateGeometries;if(a&&null!=p)for(const e in p){const t=p[e],r=a[e],s=r?.spatialReference;null==t||s||(t.spatialReference=i)}s.push(n)}return s}_quantizePoints(e,t,r){let i,s;const o=[];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===s||(o.push([e-i,n-s]),i=e,s=n)}else i=t(l[0]),s=r(l[1]),o.push([i,s])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,d.Bi)(e)?e.rings:e.paths,s=[];for(let e=0,o=i.length;e<o;e++){const o=i[e],n=this._quantizePoints(o,t,r);n&&s.push(n)}return s.length>0?((0,d.Bi)(e)?e.rings=s:e.paths=s,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,s){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 o=(0,d.Bi)(e)?e.rings:e.paths;let n,l;for(let e=0,i=o.length;e<i;e++){const i=o[e];for(let e=0,s=i.length;e<s;e++){const s=i[e];e>0?(n+=s[0],l+=s[1]):(n=s[0],l=s[1]),s[0]=t(n),s[1]=r(l)}}if(i&&s)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2]),r[3]=s(r[3])}}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}else if(s)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(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)),s&&null!=e.mmax&&null!=e.mmin&&(e.mmax=s(e.mmax),e.mmin=s(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let n,l;for(let e=0,i=o.length;e<i;e++){const i=o[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&&s)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2]),t[3]=s(t[3])}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2])}else if(s)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=s(t[2])}}:null}};(0,s.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,s.Cg)([(0,p.MZ)({type:[o.A],json:{write:!0}})],v.prototype,"features",void 0),(0,s.Cg)([(0,g.w)("features")],v.prototype,"readFeatures",null),(0,s.Cg)([(0,p.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,s.Cg)([(0,p.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:m.read}}})],v.prototype,"geometryType",void 0),(0,s.Cg)([(0,f.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,s.Cg)([(0,p.MZ)({types:c.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,s.Cg)([(0,g.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,s.Cg)([(0,p.MZ)({type:u.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,s.Cg)([(0,f.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,s.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),s=r(69540),o=r(66552),n=r(25482),l=r(91429);const a=new o.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let p=class extends((0,s.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),s=r(93637),o=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 s=new n.A;return s.read(i,r),[s]}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 o=e.find(e=>!!e.field);o&&(0,s.sM)(r,[o.toJSON()],t)}}}},p=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,o.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.OrderedLayer")],r),r}},33143:(e,t,r)=>{r.d(t,{A:()=>d});var i=r(31635),s=r(69540),o=r(25482),n=r(91429),l=r(8631),a=r(29005),p=r(36005),u=r(43937);let d=class extends((0,s.OU)(o.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)},38961:(e,t,r)=>{r.d(t,{A:()=>u});var i=r(31635),s=r(7762),o=r(36708),n=r(10107),l=r(64108),a=r(80559);let p=class extends s.A{constructor(e){super(e),this.getCollections=null}initialize(){this.addHandles((0,a.fm)(()=>this._refresh(),o.OH))}destroy(){this.getCollections=null}_refresh(){const e=this.getCollections?.();if(null==e)return void this.removeAll();let t=0;for(const r of e)null!=r&&(t=this._processCollection(t,r));this.splice(t)}_createNewInstance(e){return new s.A(e)}_processCollection(e,t){if(!t)return e;const r=this.itemFilterFunction??(e=>!!e);for(const i of t)if(i){if(r(i)){const t=this.indexOf(i,e);t>=0?t!==e&&this.reorder(i,e):this.add(i,e),++e}if(this.getChildrenFunction){const t=this.getChildrenFunction(i);if(Array.isArray(t))for(const r of t)e=this._processCollection(e,r);else e=this._processCollection(e,t)}}return e}};(0,i.Cg)([(0,n.MZ)()],p.prototype,"getCollections",void 0),(0,i.Cg)([(0,n.MZ)()],p.prototype,"getChildrenFunction",void 0),(0,i.Cg)([(0,n.MZ)()],p.prototype,"itemFilterFunction",void 0),p=(0,i.Cg)([(0,l.$)("esri.core.CollectionFlattener")],p);const u=p},41560:(e,t,r)=>{r.d(t,{Ch:()=>n,mW:()=>o});var i=r(34727),s=r(39516);function o(e,t){return{...t,filterMode:e.mode}}function n(e,t,r){const o=function(e){if("manual"===p(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],u(r)),t[1]=Math.min(t[1],d(i));return t}(e);if(o&&((0,i.gg)(t,o[0])||(0,i.ZH)(r,o[1])))return"";const n=Array.from(l(e,t,r)),a=function(e,t,r){if(0===e.length)return!0;const s=u(e.at(0)?.minScale),o=d(e.at(-1)?.maxScale);if((0,i.ZH)(s,t)||(0,i.gg)(o,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],s=e[t+1];if((0,i.ZH)(u(s.minScale),d(r.maxScale)))return!0}return!1}(n,t,r)?"1=1":n.map(e=>e.where||"1=1").reduce((e,t)=>(0,s.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*l(e,t,r){if("manual"===p(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)a(i.minScale,i.maxScale,t,r)&&(yield i)}}function a(e,t,r,s){return e=u(e),r=u(r),t=d(t),!(!(0,i.Sp)(r,e)&&(s??r)>e||(0,i.Hx)(t,r)||void 0!==s&&(0,i.Sp)(s,e))}function p(e){return"mode"in e?e.mode:e.filterMode}function u(e){return e||Number.POSITIVE_INFINITY}function d(e){return e||0}},45067:(e,t,r)=>{r.d(t,{A:()=>u});var i=r(31635),s=r(69540),o=r(66552),n=r(25482),l=r(91429);const a=new o.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),p=new o.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let u=class extends((0,s.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)},58501:(e,t,r)=>{r.d(t,{q:()=>s});var i=r(62815);function s(e,t,r){if(!r?.features||!r.hasZ)return;const s=(0,i.N)(r.geometryType,t,e.outSpatialReference);if(s)for(const e of r.features)s(e.geometry)}},62815:(e,t,r)=>{r.d(t,{N:()=>n});var i=r(86211),s=r(73941),o=r(21325);function n(e,t,r){if(null==t||null==r||r.vcsWkid||(0,o.aI)(t,r)||(0,s.xP)(t)||(0,s.xP)(r))return;const n=(0,i.G9)(t)/(0,i.G9)(r);if(1!==n)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,n);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,n);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,n);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,n);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,n);default:return}}},81583:(e,t,r)=>{r.d(t,{L:()=>l,g:()=>n});var i=r(60999),s=r(7762),o=r(92474);async function n(e,t){return await e.load(),l(e,t)}async function l(e,t){const r=[],n=(...e)=>{for(const t of e)null!=t&&(Array.isArray(t)?n(...t):s.A.isCollection(t)?t.forEach(e=>n(e)):(0,o.Zm)(t)&&r.push(t))};t(n);let l=null;if(await(0,i.Tj)(r,async e=>{const t=await(0,i.Ke)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load());!1!==t.ok||l||(l=t)}),l)throw l.error;return e}},82411:(e,t,r)=>{r.r(t),r.d(t,{default:()=>it});var i=r(31635),s=r(7762),o=r(38961),n=r(49186),l=r(36563),a=r(4718),p=r(81583),u=r(53966),d=r(25728),y=r(74887),c=r(36708),h=r(84952),g=r(91429),f=r(16930),m=r(4146),v=r(52106),b=r(37838),w=r(11254),C=r(66552),M=r(92474),Z=r(61893),F=r(5443),x=r(55156),T=r(60950),S=r(89808),I=r(99959);const A=Symbol("isBuildingGraphicOrigin");var j;class O extends I.A{get[(j=A,T.ym)](){return this.sublayer}get[x.e](){return this.sublayer}get[S.Q](){return this.sublayer}constructor(e){super(),this[j]=!0,this.type="building",this.sublayer=e}get layer(){return this.sublayer.layer}get id(){return`${this.layer.id}:__${this.sublayer.id}__`}}var _=r(68654),L=r(69622),P=r(4902),R=r(56507),E=r(10873),N=r(36005);let k=class extends((0,P.s)((0,d.P)(L.A))){constructor(e){super(e),this.title="",this.id=-1,this.modelName=null,this.isEmpty=null,this.legendEnabled=!0,this.visible=!0,this.opacity=1}readTitle(e,t){return"string"==typeof t.alias?t.alias:"string"==typeof t.name?t.name:""}readIdOnlyOnce(e){return-1!==this.id?this.id:"number"==typeof e?e:-1}};(0,i.Cg)([(0,g.MZ)({type:String,json:{origins:{"web-scene":{write:!0},"portal-item":{write:!0}}}})],k.prototype,"title",void 0),(0,i.Cg)([(0,N.w)("service","title",["alias","name"])],k.prototype,"readTitle",null),(0,i.Cg)([(0,g.MZ)()],k.prototype,"layer",void 0),(0,i.Cg)([(0,g.MZ)({type:R.jz,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],k.prototype,"id",void 0),(0,i.Cg)([(0,N.w)("service","id")],k.prototype,"readIdOnlyOnce",null),(0,i.Cg)([(0,g.MZ)((0,E.Qo)(String))],k.prototype,"modelName",void 0),(0,i.Cg)([(0,g.MZ)((0,E.Qo)(Boolean))],k.prototype,"isEmpty",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,nonNullable:!0})],k.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{name:"visibility",write:!0}})],k.prototype,"visible",void 0),(0,i.Cg)([(0,g.MZ)({type:Number,json:{write:!0}})],k.prototype,"opacity",void 0),k=(0,i.Cg)([(0,g.$K)("esri.layers.buildingSublayers.BuildingSublayer")],k);var q=r(4071),B=r(15426),$=r(17036),K=r(95466),U=r(30524),G=r(83898),Q=r(50805),z=r(41214),D=r(61956),J=r(54218),V=r(30291),W=r(88625),H=r(5682),Y=r(45671),X=r(93223);const ee=(0,$.p)();let te=class extends((0,M.WV)((0,Z.g)(k))){constructor(e){super(e),this.type="building-component",this.nodePages=null,this.materialDefinitions=[],this.textureSetDefinitions=[],this.geometryDefinitions=[],this.indexInfo=null,this.serviceUpdateTimeStamp=null,this.store=null,this.attributeStorageInfo=[],this.fields=[],this.associatedLayer=null,this.outFields=null,this.listMode="show",this.renderer=null,this.definitionExpression=null,this.popupEnabled=!0,this.popupTemplate=null,this.layerType="3d-object"}initialize(){this._set("graphicOrigin",new O(this))}get parsedUrl(){return this.layer?{path:`${this.layer.parsedUrl?.path}/sublayers/${this.id}`,query:this.layer.parsedUrl?.query}:{path:""}}get fieldsIndex(){return new K.A(this.fields)}readAssociatedLayer(e,t){const r=this.layer.associatedFeatureServiceItem,i=t.associatedLayerID;return null!=r&&"number"==typeof i?new _.default({portalItem:r,customParameters:this.customParameters,layerId:i}):null}get objectIdField(){if(null!=this.fields)for(const e of this.fields)if("oid"===e.type)return e.name;return""}get globalIdField(){if(null!=this.fields)for(const e of this.fields)if("global-id"===e.type)return e.name;return""}get displayField(){return null!=this.associatedLayer?this.associatedLayer.displayField:void 0}get apiKey(){return this.layer.apiKey}get customParameters(){return this.layer.customParameters}get fullExtent(){return this.layer.fullExtent}get spatialReference(){return this.layer.spatialReference}get version(){return this.layer.version}get elevationInfo(){return this.layer.elevationInfo}get minScale(){return this.layer.minScale}get maxScale(){return this.layer.maxScale}get effectiveScaleRange(){return this.layer.effectiveScaleRange}get defaultPopupTemplate(){return this.createPopupTemplate()}load(e){const t=null!=e?e.signal:null,r=this._fetchService(t).then(()=>{this.indexInfo=(0,G.F)(this.parsedUrl.path,this.rootNode,this.nodePages,this.customParameters,this.apiKey,u.A.getLogger(this),t)});return this.addResolvingPromise(r),Promise.resolve(this)}createPopupTemplate(e){return(0,V.tn)(this,e)}async _fetchService(e){const t=(await(0,w.A)(this.parsedUrl.path,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e})).data;this.read(t,{origin:"service",url:this.parsedUrl})}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){const r=this.getField(e)?.domain??null;return this.associatedLayer?(0,B.Vq)(this.associatedLayer,e,t,r):r}getFeatureType(e){return e&&null!=this.associatedLayer?this.associatedLayer.getFeatureType(e):null}get types(){return null!=this.associatedLayer?this.associatedLayer.types??[]:[]}get typeIdField(){return null!=this.associatedLayer?this.associatedLayer.typeIdField:null}get geometryType(){return"3d-object"===this.layerType?"mesh":"point"}get profile(){return"3d-object"===this.layerType?"mesh-pyramids":"points"}get capabilities(){const e=null!=this.associatedLayer&&this.associatedLayer.capabilities?this.associatedLayer.capabilities:q.P,{query:t,operations:{supportsQuery:r},data:{supportsZ:i,supportsM:s,isVersioned:o}}=e;return{query:t,operations:{supportsQuery:r},data:{supportsZ:i,supportsM:s,isVersioned:o}}}createQuery(){const e=new D.A;return"mesh"!==this.geometryType&&(e.returnGeometry=!0,e.returnZ=!0),e.where=this.definitionExpression||"1=1",e.sqlFormat="standard",e}queryExtent(e,t){return this._getAssociatedLayerForQuery().then(r=>r.queryExtent(e||this.createQuery(),t))}queryFeatureCount(e,t){return this._getAssociatedLayerForQuery().then(r=>r.queryFeatureCount(e||this.createQuery(),t))}queryFeatures(e,t){return this._getAssociatedLayerForQuery().then(r=>r.queryFeatures(e||this.createQuery(),t)).then(e=>{if(e?.features)for(const t of e.features)t.layer=this.layer,t.sourceLayer=this,t.origin=this.graphicOrigin;return e})}async queryObjectIds(e,t){const r=await this._getAssociatedLayerForQuery();return(await r.queryObjectIds(e||this.createQuery(),t)).filter(J.Et)}async queryCachedAttributes(e,t){const r=(0,U.hL)(this.fieldsIndex,await(0,Y.TO)(this,(0,Y.D8)(this)));return(0,H.s1)(this.parsedUrl.path,this.attributeStorageInfo,e,t,r,this.apiKey,this.customParameters)}async queryCachedFeature(e,t){const r=await this.queryCachedAttributes(e,[t]);if(!r||0===r.length)throw new n.A("scenelayer:feature-not-in-cached-data","Feature not found in cached data");return new v.A({attributes:r[0],layer:this,sourceLayer:this})}getFieldUsageInfo(e){return this.fieldsIndex.has(e)?{supportsLabelingInfo:!1,supportsRenderer:!1,supportsPopupTemplate:!1,supportsLayerQuery:!1}:{supportsLabelingInfo:!1,supportsRenderer:!0,supportsPopupTemplate:!0,supportsLayerQuery:null!=this.associatedLayer}}_getAssociatedLayerForQuery(){const e=this.associatedLayer;return null!=e&&e.loaded?Promise.resolve(e):this._loadAssociatedLayerForQuery()}async _loadAssociatedLayerForQuery(){if(await this.load(),null==this.associatedLayer)throw new n.A("buildingscenelayer:query-not-available","BuildingSceneLayer component layer queries are not available without an associated feature layer",{layer:this});try{await this.associatedLayer.load()}catch(e){throw new n.A("buildingscenelayer:query-not-available","BuildingSceneLayer associated feature layer could not be loaded",{layer:this,error:e})}return this.associatedLayer}};(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"parsedUrl",null),(0,i.Cg)([(0,g.MZ)({type:Q.W4,readOnly:!0})],te.prototype,"nodePages",void 0),(0,i.Cg)([(0,g.MZ)({type:[Q.uV],readOnly:!0})],te.prototype,"materialDefinitions",void 0),(0,i.Cg)([(0,g.MZ)({type:[Q.Ot],readOnly:!0})],te.prototype,"textureSetDefinitions",void 0),(0,i.Cg)([(0,g.MZ)({type:[Q.L0],readOnly:!0})],te.prototype,"geometryDefinitions",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"serviceUpdateTimeStamp",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"store",void 0),(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0,json:{read:{source:"store.rootNode"}}})],te.prototype,"rootNode",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"attributeStorageInfo",void 0),(0,i.Cg)([(0,g.MZ)(ee.fields)],te.prototype,"fields",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"fieldsIndex",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:_.default})],te.prototype,"associatedLayer",void 0),(0,i.Cg)([(0,N.w)("service","associatedLayer",["associatedLayerID"])],te.prototype,"readAssociatedLayer",null),(0,i.Cg)([(0,g.MZ)(ee.outFields)],te.prototype,"outFields",void 0),(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0})],te.prototype,"objectIdField",null),(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0})],te.prototype,"globalIdField",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String,json:{read:!1}})],te.prototype,"displayField",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String})],te.prototype,"apiKey",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String})],te.prototype,"customParameters",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:F.A})],te.prototype,"fullExtent",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:f.A})],te.prototype,"spatialReference",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"version",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:W.A})],te.prototype,"elevationInfo",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Number})],te.prototype,"minScale",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Number})],te.prototype,"maxScale",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Number})],te.prototype,"effectiveScaleRange",null),(0,i.Cg)([(0,g.MZ)({type:["hide","show"],json:{write:!0}})],te.prototype,"listMode",void 0),(0,i.Cg)([(0,g.MZ)({types:z.XJ,json:{origins:{service:{read:{source:"drawingInfo.renderer"}}},name:"layerDefinition.drawingInfo.renderer",write:!0},value:null})],te.prototype,"renderer",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{origins:{service:{read:!1,write:!1}},name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],te.prototype,"definitionExpression",void 0),(0,i.Cg)([(0,g.MZ)(E.M6)],te.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,g.MZ)({type:b.A,json:{read:{source:"popupInfo"},write:{target:"popupInfo"}}})],te.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String,json:{origins:{service:{read:{source:"store.normalReferenceFrame"}}},read:!1}})],te.prototype,"normalReferenceFrame",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],te.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,g.MZ)()],te.prototype,"types",null),(0,i.Cg)([(0,g.MZ)()],te.prototype,"typeIdField",null),(0,i.Cg)([(0,g.MZ)({json:{write:!1}}),(0,X.e)(new C.J({"3DObject":"3d-object",Point:"point"}))],te.prototype,"layerType",void 0),(0,i.Cg)([(0,g.MZ)()],te.prototype,"geometryType",null),(0,i.Cg)([(0,g.MZ)()],te.prototype,"profile",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],te.prototype,"capabilities",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"statisticsInfo",void 0),te=(0,i.Cg)([(0,g.$K)("esri.layers.buildingSublayers.BuildingComponentSublayer")],te);var re=r(67076);function ie(e,t){e.forEach(e=>{t(e),"building-group"===e.type&&ie(e.sublayers,t)})}const se={type:s.A,readOnly:!0,json:{origins:{service:{read:{source:"sublayers",reader:oe}}},read:!1}};function oe(e,t,r){if(e&&Array.isArray(e))return new s.A(e.map(e=>{const t=function(e){return"group"===e.layerType?ne:te}(e);if(t){const i=new t;return i.read(e,r),i}return r?.messages&&e&&r.messages.push(new re.A("building-scene-layer:unsupported-sublayer-type","Building scene sublayer of type '"+(e.type||"unknown")+"' are not supported",{definition:e,context:r})),null}))}let ne=class extends k{constructor(e){super(e),this.type="building-group",this.listMode="show",this.sublayers=null}loadAll(){return(0,p.L)(this,e=>ie(this.sublayers,t=>{"building-group"!==t.type&&e(t)}))}static{this.sublayersProperty=se}static{this.readSublayers=oe}};(0,i.Cg)([(0,g.MZ)({type:["hide","show","hide-children"],json:{write:!0}})],ne.prototype,"listMode",void 0),(0,i.Cg)([(0,g.MZ)(se)],ne.prototype,"sublayers",void 0),ne=(0,i.Cg)([(0,g.$K)("esri.layers.buildingSublayers.BuildingGroupSublayer")],ne);var le=r(52136),ae=r(18768),pe=r(69208),ue=r(16131),de=r(8303),ye=r(25036),ce=r(58947),he=r(92009),ge=r(25482),fe=r(13069);let me=class extends ge.o{constructor(){super(...arguments),this.type=null}};(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0,json:{write:{isRequired:!0}}})],me.prototype,"type",void 0),me=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfo")],me);const ve=me;var be;let we=be=class extends ge.o{constructor(){super(...arguments),this.filterType=null,this.filterValues=null}clone(){return new be({filterType:this.filterType,filterValues:(0,a.o8)(this.filterValues)})}};(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{isRequired:!0}}})],we.prototype,"filterType",void 0),(0,i.Cg)([(0,g.MZ)({type:[String],json:{write:{isRequired:!0}}})],we.prototype,"filterValues",void 0),we=be=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfoType")],we);const Ce=we;var Me;const Ze=s.A.ofType(Ce);let Fe=Me=class extends ge.o{clone(){return new Me({filterTypes:(0,a.o8)(this.filterTypes)})}};(0,i.Cg)([(0,g.MZ)({type:Ze,json:{write:{isRequired:!0}}})],Fe.prototype,"filterTypes",void 0),Fe=Me=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfoBlock")],Fe);const xe=Fe;var Te;const Se=s.A.ofType(xe);let Ie=Te=class extends ve{constructor(){super(...arguments),this.type="checkbox"}clone(){return new Te({filterBlocks:(0,a.o8)(this.filterBlocks)})}};(0,i.Cg)([(0,g.MZ)({type:["checkbox"]})],Ie.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)({type:Se,json:{write:{isRequired:!0}}})],Ie.prototype,"filterBlocks",void 0),Ie=Te=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfoCheckbox")],Ie);const Ae=Ie;let je=class extends ge.o{};(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],je.prototype,"type",void 0),je=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterMode")],je);const Oe=je;var _e;let Le=_e=class extends Oe{constructor(){super(...arguments),this.type="solid"}clone(){return new _e}};(0,i.Cg)([(0,g.MZ)({type:["solid"],readOnly:!0,json:{write:{isRequired:!0}}})],Le.prototype,"type",void 0),Le=_e=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterModeSolid")],Le);const Pe=Le;var Re,Ee=r(51734);let Ne=Re=class extends Oe{constructor(){super(...arguments),this.type="wire-frame",this.edges=null}clone(){return new Re({edges:(0,a.o8)(this.edges)})}};(0,i.Cg)([(0,X.e)({wireFrame:"wire-frame"})],Ne.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)(Ee.J)],Ne.prototype,"edges",void 0),Ne=Re=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterModeWireFrame")],Ne);const ke=Ne;var qe;let Be=qe=class extends Oe{constructor(){super(...arguments),this.type="x-ray"}clone(){return new qe}};(0,i.Cg)([(0,g.MZ)({type:["x-ray"],readOnly:!0,json:{write:{isRequired:!0}}})],Be.prototype,"type",void 0),Be=qe=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterModeXRay")],Be);const $e=Be;var Ke;let Ue=Ke=class extends ge.o{constructor(){super(...arguments),this.filterExpression=null,this.filterMode=new Pe,this.title=""}clone(){return new Ke({filterExpression:this.filterExpression,filterMode:(0,a.o8)(this.filterMode),title:this.title})}};(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],Ue.prototype,"filterExpression",void 0),(0,i.Cg)([(0,g.MZ)({nonNullable:!0,types:{key:"type",base:Oe,typeMap:{solid:Pe,"wire-frame":ke,"x-ray":$e}},json:{read:e=>{switch(e?.type){case"solid":return Pe.fromJSON(e);case"wireFrame":return ke.fromJSON(e);case"x-ray":return $e.fromJSON(e);default:return}},write:{enabled:!0,isRequired:!0}}})],Ue.prototype,"filterMode",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],Ue.prototype,"title",void 0),Ue=Ke=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterBlock")],Ue);const Ge=Ue;var Qe;const ze=s.A.ofType(Ge);let De=Qe=class extends ge.o{constructor(e){super(e),this.description=null,this.filterBlocks=null,this.id=(0,fe.lk)(),this.name=null}clone(){return new Qe({description:this.description,filterBlocks:(0,a.o8)(this.filterBlocks),id:this.id,name:this.name,filterAuthoringInfo:(0,a.o8)(this.filterAuthoringInfo)})}};(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],De.prototype,"description",void 0),(0,i.Cg)([(0,g.MZ)({type:ze,json:{write:{enabled:!0,isRequired:!0}}})],De.prototype,"filterBlocks",void 0),(0,i.Cg)([(0,g.MZ)({types:{key:"type",base:ve,typeMap:{checkbox:Ae}},json:{read:e=>"checkbox"===e?.type?Ae.fromJSON(e):null,write:!0}})],De.prototype,"filterAuthoringInfo",void 0),(0,i.Cg)([(0,g.MZ)({type:String,constructOnly:!0,json:{write:{enabled:!0,isRequired:!0}}})],De.prototype,"id",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],De.prototype,"name",void 0),De=Qe=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilter")],De);let Je=class extends ge.o{constructor(){super(...arguments),this.fieldName=null,this.modelName=null,this.label=null,this.min=null,this.max=null,this.mostFrequentValues=null,this.subLayerIds=null}};(0,i.Cg)([(0,g.MZ)({type:String})],Je.prototype,"fieldName",void 0),(0,i.Cg)([(0,g.MZ)({type:String})],Je.prototype,"modelName",void 0),(0,i.Cg)([(0,g.MZ)({type:String})],Je.prototype,"label",void 0),(0,i.Cg)([(0,g.MZ)({type:Number})],Je.prototype,"min",void 0),(0,i.Cg)([(0,g.MZ)({type:Number})],Je.prototype,"max",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:e=>Array.isArray(e)&&(e.every(e=>"string"==typeof e)||e.every(e=>"number"==typeof e))?e.slice():null}})],Je.prototype,"mostFrequentValues",void 0),(0,i.Cg)([(0,g.MZ)({type:[Number]})],Je.prototype,"subLayerIds",void 0),Je=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFieldStatistics")],Je);const Ve=Je;let We=class extends((0,M.WV)((0,Z.g)(ge.o))){constructor(e){super(e),this.url=null,this.customParameters=null}get fields(){return this.loaded||"loading"===this.loadStatus?this._get("fields"):(u.A.getLogger(this).error("building summary statistics are not loaded"),null)}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._fetchService(t)),Promise.resolve(this)}async _fetchService(e){const t=(await(0,w.A)(this.url,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e})).data;this.read(t,{origin:"service"})}};(0,i.Cg)([(0,g.MZ)({constructOnly:!0,type:String})],We.prototype,"url",void 0),(0,i.Cg)([(0,g.MZ)({constructOnly:!0})],We.prototype,"customParameters",void 0),(0,i.Cg)([(0,g.MZ)({constructOnly:!0})],We.prototype,"apiKey",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:[Ve],json:{read:{source:"summary"}}})],We.prototype,"fields",null),We=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingSummaryStatistics")],We);var He=r(56776);const Ye=s.A.ofType(De),Xe=(0,a.o8)(ne.sublayersProperty),et=Xe.json?.origins;et&&(et["web-scene"]={type:[te],write:{enabled:!0,overridePolicy:()=>({enabled:!1})}},et["portal-item"]={type:[te],write:{enabled:!0,overridePolicy:()=>({enabled:!1})}});let tt=class extends((0,ce.w6)((0,ae.b)((0,ue.q)((0,de.A)((0,ye.j)((0,d.P)((0,pe.d)((0,le.p)(m.A))))))))){constructor(e){super(e),this.operationalLayerType="BuildingSceneLayer",this.allSublayers=new o.A({getCollections:()=>[this.sublayers],getChildrenFunction:e=>"building-group"===e.type?e.sublayers:null}),this.sublayers=null,this._allSublayerOverrides=null,this.filters=new Ye,this.activeFilterId=null,this.summaryStatistics=null,this.outFields=null,this.legendEnabled=!0,this.type="building-scene"}normalizeCtorArgs(e){return"string"==typeof e?{url:e}:e??{}}destroy(){this.allSublayers.destroy()}readSublayers(e,t,r){const i=ne.readSublayers(e,t,r);return ie(i,e=>e.layer=this),this._allSublayerOverrides&&(function(e,t){t.forEach(t=>rt(e,t))}(i,this._allSublayerOverrides),this._allSublayerOverrides=null),i}write(e,t){return e=super.write(e,t),!t||"web-scene"!==t.origin&&"portal-item"!==t.origin||(this.sublayers?function(e,t,r){const i=[];ie(e,e=>{const t=e.write({},r);Object.keys(t).length>1&&i.push(t)}),i.length>0&&(t.sublayers=i)}(this.sublayers,e,t):this._allSublayerOverrides&&function(e,t,r){const i=r?.origin&&e.get(r.origin);i&&(t.sublayers=[],i.overrides.forEach(e=>{t.sublayers.push((0,a.o8)(e))}))}(this._allSublayerOverrides,e,t)),e}read(e,t){if(super.read(e,t),("web-scene"===t?.origin||"portal-item"===t?.origin)&&Array.isArray(e?.sublayers)){const r=function(e,t){const r=new Map;for(const i of e)null!=i&&"object"==typeof i&&"number"==typeof i.id?r.set(i.id,i):t.messages?.push(new n.A("building-scene-layer:invalid-sublayer-override","Invalid value for sublayer override. Not an object or no id specified.",{value:i}));return{overrides:r,context:t}}(e.sublayers,t);this.sublayers?rt(this.sublayers,r):(this._allSublayerOverrides??=new Map,this._allSublayerOverrides.set(t.origin,r))}}readSummaryStatistics(e,t){if("string"==typeof t.statisticsHRef&&this.parsedUrl){const e=(0,h.fj)(this.parsedUrl.path,t.statisticsHRef);return new We({url:e,apiKey:this.apiKey,customParameters:this.customParameters})}return null}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Scene Service"]},e).catch(y.QP).then(()=>this._fetchService(t)).then(()=>this._fetchAssociatedFeatureService(t));return this.addResolvingPromise(r),Promise.resolve(this)}loadAll(){return(0,p.g)(this,e=>{ie(this.sublayers,t=>{"building-group"!==t.type&&e(t)}),this.summaryStatistics&&e(this.summaryStatistics)})}async saveAs(e,t){return this._debouncedSaveOperations(1,{...t,getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"building-scene"},e)}async save(){const e={getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"building-scene"};return this._debouncedSaveOperations(0,e)}validateLayer(e){if(!e.layerType||"Building"!==e.layerType)throw new n.A("buildingscenelayer:layer-type-not-supported","BuildingSceneLayer does not support this layer type",{layerType:e.layerType})}_getTypeKeywords(){return["Building"]}async _fetchAssociatedFeatureService(e){try{const{portalItem:t}=await(0,he.L)(`${this.url}/layers/${this.layerId}`,{sceneLayerItem:this.portalItem,customParameters:this.customParameters,apiKey:this.apiKey,signal:e});this.associatedFeatureServiceItem=t}catch(e){(0,y.QZ)(this._logWarningOnPopupEnabled())}}async _logWarningOnPopupEnabled(){const e=new AbortController;this.addHandles((0,l.rE)(e)),await(0,c.C_)(()=>this.allSublayers.filter(e=>"building-component"===e.type).some(e=>e.popupEnabled&&null!=e.popupTemplate),e.signal);const t=this.allSublayers.filter(e=>"building-component"===e.type).filter(e=>e.popupEnabled&&null!=e.popupTemplate),r=[],i=[];for(const e of t){const t=e.title??`untitled ${e.id}`;e.attributeStorageInfo?r.push(t):i.push(t)}const s="\n ",o=r.length>0?`\nThe following sublayers will fall back to binary attributes for Popups:${s}${r.join(s)}`:"",n=i.length>0?`\nThe following sublayers have no binary attributes and will not work with Popups:${s}${i.join(s)}`:"";u.A.getLogger(this).warn(`Associated FeatureLayer could not be loaded for this BuildingSceneLayer: ${this.title}.`,o,n)}_validateElevationInfo(e){const t="Building scene layers";(0,He.XF)(u.A.getLogger(this),(0,He.B)(t,"absolute-height",e)),(0,He.XF)(u.A.getLogger(this),(0,He.tW)(t,e))}};function rt(e,t){const{overrides:r,context:i}=t;ie(e,e=>e.read(r.get(e.id),i))}(0,i.Cg)([(0,g.MZ)({type:["BuildingSceneLayer"]})],tt.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],tt.prototype,"allSublayers",void 0),(0,i.Cg)([(0,g.MZ)(Xe)],tt.prototype,"sublayers",void 0),(0,i.Cg)([(0,N.w)("service","sublayers")],tt.prototype,"readSublayers",null),(0,i.Cg)([(0,g.MZ)({type:Ye,nonNullable:!0,json:{write:!0}})],tt.prototype,"filters",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],tt.prototype,"activeFilterId",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:We})],tt.prototype,"summaryStatistics",void 0),(0,i.Cg)([(0,N.w)("summaryStatistics",["statisticsHRef"])],tt.prototype,"readSummaryStatistics",null),(0,i.Cg)([(0,g.MZ)({type:[String],json:{read:!1}})],tt.prototype,"outFields",void 0),(0,i.Cg)([(0,g.MZ)(E.Fm)],tt.prototype,"fullExtent",void 0),(0,i.Cg)([(0,g.MZ)(E.fV)],tt.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,g.MZ)({type:["show","hide","hide-children"]})],tt.prototype,"listMode",void 0),(0,i.Cg)([(0,g.MZ)((0,E.Qo)(f.A))],tt.prototype,"spatialReference",void 0),(0,i.Cg)([(0,g.MZ)(E.Yj)],tt.prototype,"elevationInfo",null),(0,i.Cg)([(0,g.MZ)({json:{read:!1},readOnly:!0})],tt.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)()],tt.prototype,"associatedFeatureServiceItem",void 0),tt=(0,i.Cg)([(0,g.$K)("esri.layers.BuildingSceneLayer")],tt);const it=tt},91880:(e,t,r)=>{r.d(t,{A:()=>p});var i,s=r(31635),o=r(66552),n=r(25482),l=r(91429);const a=new o.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,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],p.prototype,"field",void 0),(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],p.prototype,"valueExpression",void 0),(0,s.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,s.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],p)}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1437,7694],{16494:(e,t,r)=>{r.d(t,{Nd:()=>l,W5:()=>n});var i=r(37330);const s=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),o=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],n=new i.I({whiteList:s,onTagAttr:(e,t,r)=>{const i=`${t}="${r}"`;if(o.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:()=>c});var i=r(31635),s=r(69622),o=r(4576),n=r(60999),l=r(7762),a=r(16494),p=r(91429),u=r(30524),d=r(43668);const y=/<br\s*\/*>/gi;let c=class extends s.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,s=r?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:o}]=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?o({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:n,globalAttributes:this._createFormattedAttributes(e,t,s).global,layer:e,text:l}):"";r?.removeHTML&&(d=a.Nd.sanitize(d).replaceAll(y," ")),i.set(u,d)})}catch{}return i}async _checkAndReQueryGraphics(e,t){const r=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(o.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 s=await e.queryFeatures(i);if(s?.features.length===t.length)return s.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??[],s={};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{s[`expression/${e.name}`]=e.func({vars:{$feature:r}})}catch{}}const o={...t.attributes,...s};return{global:this._featureUtils.formatAttributes({fieldInfos:i,attributes:o,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})],c.prototype,"_arcadeTask",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"_featureUtils",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],c.prototype,"featureUtilsPromise",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],c.prototype,"calculatedExpressions",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"displayField",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"effectivePopupTemplate",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"expressionsUsedInTitle",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"fieldInfoMap",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"fields",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"objectIdField",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"requiredFields",null),c=(0,i.Cg)([(0,p.$K)("esri.layers.support.TitleCreator")],c)},22671:(e,t,r)=>{r.d(t,{A:()=>v});var i,s=r(31635),o=r(52106),n=r(66552),l=r(25482),a=r(4718),p=r(91429),u=r(16930),d=r(60408),y=r(65864),c=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,o.A)}writeGeometryType(e,t,r,i){if(e)return void m.write(e,t,r,i);const{features:s}=this;if(s)for(const e of s)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,y.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,s]}=e,o=this.features,n=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((s-e)/r));for(let e=0,t=o.length;e<t;e++)n?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[i,s],scale:[o,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*o+i,e=>s-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),s=[];for(let t=0;t<e.length;t++){const o=e[t],n=r.fromJSON(o),l=o.geometry?.spatialReference;null==n.geometry||l||(n.geometry.spatialReference=i);const a=o.aggregateGeometries,p=n.aggregateGeometries;if(a&&null!=p)for(const e in p){const t=p[e],r=a[e],s=r?.spatialReference;null==t||s||(t.spatialReference=i)}s.push(n)}return s}_quantizePoints(e,t,r){let i,s;const o=[];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===s||(o.push([e-i,n-s]),i=e,s=n)}else i=t(l[0]),s=r(l[1]),o.push([i,s])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,d.Bi)(e)?e.rings:e.paths,s=[];for(let e=0,o=i.length;e<o;e++){const o=i[e],n=this._quantizePoints(o,t,r);n&&s.push(n)}return s.length>0?((0,d.Bi)(e)?e.rings=s:e.paths=s,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,s){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 o=(0,d.Bi)(e)?e.rings:e.paths;let n,l;for(let e=0,i=o.length;e<i;e++){const i=o[e];for(let e=0,s=i.length;e<s;e++){const s=i[e];e>0?(n+=s[0],l+=s[1]):(n=s[0],l=s[1]),s[0]=t(n),s[1]=r(l)}}if(i&&s)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2]),r[3]=s(r[3])}}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}else if(s)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(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)),s&&null!=e.mmax&&null!=e.mmin&&(e.mmax=s(e.mmax),e.mmin=s(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let n,l;for(let e=0,i=o.length;e<i;e++){const i=o[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&&s)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2]),t[3]=s(t[3])}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2])}else if(s)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=s(t[2])}}:null}};(0,s.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,s.Cg)([(0,p.MZ)({type:[o.A],json:{write:!0}})],v.prototype,"features",void 0),(0,s.Cg)([(0,g.w)("features")],v.prototype,"readFeatures",null),(0,s.Cg)([(0,p.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,s.Cg)([(0,p.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:m.read}}})],v.prototype,"geometryType",void 0),(0,s.Cg)([(0,f.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,s.Cg)([(0,p.MZ)({types:c.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,s.Cg)([(0,g.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,s.Cg)([(0,p.MZ)({type:u.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,s.Cg)([(0,f.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,s.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),s=r(69540),o=r(66552),n=r(25482),l=r(91429);const a=new o.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let p=class extends((0,s.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),s=r(93637),o=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 s=new n.A;return s.read(i,r),[s]}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 o=e.find(e=>!!e.field);o&&(0,s.sM)(r,[o.toJSON()],t)}}}},p=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,o.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.OrderedLayer")],r),r}},33143:(e,t,r)=>{r.d(t,{A:()=>d});var i=r(31635),s=r(69540),o=r(25482),n=r(91429),l=r(8631),a=r(29005),p=r(36005),u=r(43937);let d=class extends((0,s.OU)(o.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)},38961:(e,t,r)=>{r.d(t,{A:()=>u});var i=r(31635),s=r(7762),o=r(36708),n=r(10107),l=r(64108),a=r(80559);let p=class extends s.A{constructor(e){super(e),this.getCollections=null}initialize(){this.addHandles((0,a.fm)(()=>this._refresh(),o.OH))}destroy(){this.getCollections=null}_refresh(){const e=this.getCollections?.();if(null==e)return void this.removeAll();let t=0;for(const r of e)null!=r&&(t=this._processCollection(t,r));this.splice(t)}_createNewInstance(e){return new s.A(e)}_processCollection(e,t){if(!t)return e;const r=this.itemFilterFunction??(e=>!!e);for(const i of t)if(i){if(r(i)){const t=this.indexOf(i,e);t>=0?t!==e&&this.reorder(i,e):this.add(i,e),++e}if(this.getChildrenFunction){const t=this.getChildrenFunction(i);if(Array.isArray(t))for(const r of t)e=this._processCollection(e,r);else e=this._processCollection(e,t)}}return e}};(0,i.Cg)([(0,n.MZ)()],p.prototype,"getCollections",void 0),(0,i.Cg)([(0,n.MZ)()],p.prototype,"getChildrenFunction",void 0),(0,i.Cg)([(0,n.MZ)()],p.prototype,"itemFilterFunction",void 0),p=(0,i.Cg)([(0,l.$)("esri.core.CollectionFlattener")],p);const u=p},41560:(e,t,r)=>{r.d(t,{Ch:()=>n,mW:()=>o});var i=r(34727),s=r(39516);function o(e,t){return{...t,filterMode:e.mode}}function n(e,t,r){const o=function(e){if("manual"===p(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],u(r)),t[1]=Math.min(t[1],d(i));return t}(e);if(o&&((0,i.gg)(t,o[0])||(0,i.ZH)(r,o[1])))return"";const n=Array.from(l(e,t,r)),a=function(e,t,r){if(0===e.length)return!0;const s=u(e.at(0)?.minScale),o=d(e.at(-1)?.maxScale);if((0,i.ZH)(s,t)||(0,i.gg)(o,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],s=e[t+1];if((0,i.ZH)(u(s.minScale),d(r.maxScale)))return!0}return!1}(n,t,r)?"1=1":n.map(e=>e.where||"1=1").reduce((e,t)=>(0,s.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*l(e,t,r){if("manual"===p(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)a(i.minScale,i.maxScale,t,r)&&(yield i)}}function a(e,t,r,s){return e=u(e),r=u(r),t=d(t),!(!(0,i.Sp)(r,e)&&(s??r)>e||(0,i.Hx)(t,r)||void 0!==s&&(0,i.Sp)(s,e))}function p(e){return"mode"in e?e.mode:e.filterMode}function u(e){return e||Number.POSITIVE_INFINITY}function d(e){return e||0}},45067:(e,t,r)=>{r.d(t,{A:()=>u});var i=r(31635),s=r(69540),o=r(66552),n=r(25482),l=r(91429);const a=new o.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),p=new o.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let u=class extends((0,s.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)},58501:(e,t,r)=>{r.d(t,{q:()=>s});var i=r(62815);function s(e,t,r){if(!r?.features||!r.hasZ)return;const s=(0,i.N)(r.geometryType,t,e.outSpatialReference);if(s)for(const e of r.features)s(e.geometry)}},62815:(e,t,r)=>{r.d(t,{N:()=>n});var i=r(86211),s=r(73941),o=r(21325);function n(e,t,r){if(null==t||null==r||r.vcsWkid||(0,o.aI)(t,r)||(0,s.xP)(t)||(0,s.xP)(r))return;const n=(0,i.G9)(t)/(0,i.G9)(r);if(1!==n)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,n);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,n);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,n);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,n);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,n);default:return}}},81583:(e,t,r)=>{r.d(t,{L:()=>l,g:()=>n});var i=r(60999),s=r(7762),o=r(92474);async function n(e,t){return await e.load(),l(e,t)}async function l(e,t){const r=[],n=(...e)=>{for(const t of e)null!=t&&(Array.isArray(t)?n(...t):s.A.isCollection(t)?t.forEach(e=>n(e)):(0,o.Zm)(t)&&r.push(t))};t(n);let l=null;if(await(0,i.Tj)(r,async e=>{const t=await(0,i.Ke)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load());!1!==t.ok||l||(l=t)}),l)throw l.error;return e}},82411:(e,t,r)=>{r.r(t),r.d(t,{default:()=>tt});var i=r(31635),s=r(7762),o=r(38961),n=r(49186),l=r(36563),a=r(4718),p=r(81583),u=r(53966),d=r(25728),y=r(74887),c=r(36708),h=r(84952),g=r(91429),f=r(16930),m=r(4146),v=r(52106),b=r(37838),w=r(11254),C=r(66552),M=r(92474),Z=r(61893),F=r(5443),x=r(55156),T=r(60950),S=r(89808),I=r(99959);const A=Symbol("isBuildingGraphicOrigin");var j;class O extends I.A{get[(j=A,T.ym)](){return this.sublayer}get[x.e](){return this.sublayer}get[S.Q](){return this.sublayer}constructor(e){super(),this[j]=!0,this.type="building",this.sublayer=e}get layer(){return this.sublayer.layer}get id(){return`${this.layer.id}:__${this.sublayer.id}__`}}var _=r(68654),L=r(69622),P=r(4902),R=r(56507),E=r(10873),N=r(36005);let k=class extends((0,P.s)((0,d.P)(L.A))){constructor(e){super(e),this.title="",this.id=-1,this.modelName=null,this.isEmpty=null,this.legendEnabled=!0,this.visible=!0,this.opacity=1}readTitle(e,t){return"string"==typeof t.alias?t.alias:"string"==typeof t.name?t.name:""}readIdOnlyOnce(e){return-1!==this.id?this.id:"number"==typeof e?e:-1}};(0,i.Cg)([(0,g.MZ)({type:String,json:{origins:{"web-scene":{write:!0},"portal-item":{write:!0}}}})],k.prototype,"title",void 0),(0,i.Cg)([(0,N.w)("service","title",["alias","name"])],k.prototype,"readTitle",null),(0,i.Cg)([(0,g.MZ)()],k.prototype,"layer",void 0),(0,i.Cg)([(0,g.MZ)({type:R.jz,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],k.prototype,"id",void 0),(0,i.Cg)([(0,N.w)("service","id")],k.prototype,"readIdOnlyOnce",null),(0,i.Cg)([(0,g.MZ)((0,E.Qo)(String))],k.prototype,"modelName",void 0),(0,i.Cg)([(0,g.MZ)((0,E.Qo)(Boolean))],k.prototype,"isEmpty",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,nonNullable:!0})],k.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{name:"visibility",write:!0}})],k.prototype,"visible",void 0),(0,i.Cg)([(0,g.MZ)({type:Number,json:{write:!0}})],k.prototype,"opacity",void 0),k=(0,i.Cg)([(0,g.$K)("esri.layers.buildingSublayers.BuildingSublayer")],k);var q=r(4071),B=r(15426),$=r(17036),K=r(95466),U=r(30524),G=r(83898),Q=r(50805),z=r(41214),D=r(61956),J=r(54218),V=r(30291),W=r(88625),H=r(5682),Y=r(45671),X=r(93223);const ee=(0,$.p)();let te=class extends((0,M.WV)((0,Z.g)(k))){constructor(e){super(e),this.type="building-component",this.nodePages=null,this.materialDefinitions=[],this.textureSetDefinitions=[],this.geometryDefinitions=[],this.indexInfo=null,this.serviceUpdateTimeStamp=null,this.store=null,this.attributeStorageInfo=[],this.fields=[],this.associatedLayer=null,this.outFields=null,this.listMode="show",this.renderer=null,this.definitionExpression=null,this.popupEnabled=!0,this.popupTemplate=null,this.layerType="3d-object"}initialize(){this._set("graphicOrigin",new O(this))}get parsedUrl(){return this.layer?{path:`${this.layer.parsedUrl?.path}/sublayers/${this.id}`,query:this.layer.parsedUrl?.query}:{path:""}}get fieldsIndex(){return new K.A(this.fields)}readAssociatedLayer(e,t){const r=this.layer.associatedFeatureServiceItem,i=t.associatedLayerID;return null!=r&&"number"==typeof i?new _.default({portalItem:r,customParameters:this.customParameters,layerId:i}):null}get objectIdField(){if(null!=this.fields)for(const e of this.fields)if("oid"===e.type)return e.name;return""}get globalIdField(){if(null!=this.fields)for(const e of this.fields)if("global-id"===e.type)return e.name;return""}get displayField(){return null!=this.associatedLayer?this.associatedLayer.displayField:void 0}get apiKey(){return this.layer.apiKey}get customParameters(){return this.layer.customParameters}get fullExtent(){return this.layer.fullExtent}get spatialReference(){return this.layer.spatialReference}get version(){return this.layer.version}get elevationInfo(){return this.layer.elevationInfo}get minScale(){return this.layer.minScale}get maxScale(){return this.layer.maxScale}get effectiveScaleRange(){return this.layer.effectiveScaleRange}get defaultPopupTemplate(){return this.createPopupTemplate()}load(e){const t=null!=e?e.signal:null,r=this._fetchService(t).then(()=>{this.indexInfo=(0,G.F)(this.parsedUrl.path,this.rootNode,this.nodePages,this.customParameters,this.apiKey,u.A.getLogger(this),t)});return this.addResolvingPromise(r),Promise.resolve(this)}createPopupTemplate(e){return(0,V.tn)(this,e)}async _fetchService(e){const t=(await(0,w.A)(this.parsedUrl.path,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e})).data;this.read(t,{origin:"service",url:this.parsedUrl})}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){const r=this.getField(e)?.domain??null;return this.associatedLayer?(0,B.Vq)(this.associatedLayer,e,t,r):r}getFeatureType(e){return e&&null!=this.associatedLayer?this.associatedLayer.getFeatureType(e):null}get types(){return null!=this.associatedLayer?this.associatedLayer.types??[]:[]}get typeIdField(){return null!=this.associatedLayer?this.associatedLayer.typeIdField:null}get geometryType(){return"3d-object"===this.layerType?"mesh":"point"}get profile(){return"3d-object"===this.layerType?"mesh-pyramids":"points"}get capabilities(){const e=null!=this.associatedLayer&&this.associatedLayer.capabilities?this.associatedLayer.capabilities:q.P,{query:t,operations:{supportsQuery:r},data:{supportsZ:i,supportsM:s,isVersioned:o}}=e;return{query:t,operations:{supportsQuery:r},data:{supportsZ:i,supportsM:s,isVersioned:o}}}createQuery(){const e=new D.A;return"mesh"!==this.geometryType&&(e.returnGeometry=!0,e.returnZ=!0),e.where=this.definitionExpression||"1=1",e.sqlFormat="standard",e}queryExtent(e,t){return this._getAssociatedLayerForQuery().then(r=>r.queryExtent(e||this.createQuery(),t))}queryFeatureCount(e,t){return this._getAssociatedLayerForQuery().then(r=>r.queryFeatureCount(e||this.createQuery(),t))}queryFeatures(e,t){return this._getAssociatedLayerForQuery().then(r=>r.queryFeatures(e||this.createQuery(),t)).then(e=>{if(e?.features)for(const t of e.features)t.layer=this.layer,t.sourceLayer=this,t.origin=this.graphicOrigin;return e})}async queryObjectIds(e,t){const r=await this._getAssociatedLayerForQuery();return(await r.queryObjectIds(e||this.createQuery(),t)).filter(J.Et)}async queryCachedAttributes(e,t){const r=(0,U.hL)(this.fieldsIndex,await(0,Y.TO)(this,(0,Y.D8)(this)));return(0,H.s1)(this.parsedUrl.path,this.attributeStorageInfo,e,t,r,this.apiKey,this.customParameters)}async queryCachedFeature(e,t){const r=await this.queryCachedAttributes(e,[t]);if(!r||0===r.length)throw new n.A("scenelayer:feature-not-in-cached-data","Feature not found in cached data");return new v.A({attributes:r[0],layer:this,sourceLayer:this})}getFieldUsageInfo(e){return this.fieldsIndex.has(e)?{supportsLabelingInfo:!1,supportsRenderer:!1,supportsPopupTemplate:!1,supportsLayerQuery:!1}:{supportsLabelingInfo:!1,supportsRenderer:!0,supportsPopupTemplate:!0,supportsLayerQuery:null!=this.associatedLayer}}_getAssociatedLayerForQuery(){const e=this.associatedLayer;return null!=e&&e.loaded?Promise.resolve(e):this._loadAssociatedLayerForQuery()}async _loadAssociatedLayerForQuery(){if(await this.load(),null==this.associatedLayer)throw new n.A("buildingscenelayer:query-not-available","BuildingSceneLayer component layer queries are not available without an associated feature layer",{layer:this});try{await this.associatedLayer.load()}catch(e){throw new n.A("buildingscenelayer:query-not-available","BuildingSceneLayer associated feature layer could not be loaded",{layer:this,error:e})}return this.associatedLayer}};(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"parsedUrl",null),(0,i.Cg)([(0,g.MZ)({type:Q.W4,readOnly:!0})],te.prototype,"nodePages",void 0),(0,i.Cg)([(0,g.MZ)({type:[Q.uV],readOnly:!0})],te.prototype,"materialDefinitions",void 0),(0,i.Cg)([(0,g.MZ)({type:[Q.Ot],readOnly:!0})],te.prototype,"textureSetDefinitions",void 0),(0,i.Cg)([(0,g.MZ)({type:[Q.L0],readOnly:!0})],te.prototype,"geometryDefinitions",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"serviceUpdateTimeStamp",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"store",void 0),(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0,json:{read:{source:"store.rootNode"}}})],te.prototype,"rootNode",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"attributeStorageInfo",void 0),(0,i.Cg)([(0,g.MZ)(ee.fields)],te.prototype,"fields",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"fieldsIndex",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:_.default})],te.prototype,"associatedLayer",void 0),(0,i.Cg)([(0,N.w)("service","associatedLayer",["associatedLayerID"])],te.prototype,"readAssociatedLayer",null),(0,i.Cg)([(0,g.MZ)(ee.outFields)],te.prototype,"outFields",void 0),(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0})],te.prototype,"objectIdField",null),(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0})],te.prototype,"globalIdField",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String,json:{read:!1}})],te.prototype,"displayField",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String})],te.prototype,"apiKey",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String})],te.prototype,"customParameters",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:F.A})],te.prototype,"fullExtent",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:f.A})],te.prototype,"spatialReference",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"version",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:W.A})],te.prototype,"elevationInfo",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Number})],te.prototype,"minScale",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Number})],te.prototype,"maxScale",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Number})],te.prototype,"effectiveScaleRange",null),(0,i.Cg)([(0,g.MZ)({type:["hide","show"],json:{write:!0}})],te.prototype,"listMode",void 0),(0,i.Cg)([(0,g.MZ)({types:z.XJ,json:{origins:{service:{read:{source:"drawingInfo.renderer"}}},name:"layerDefinition.drawingInfo.renderer",write:!0},value:null})],te.prototype,"renderer",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{origins:{service:{read:!1,write:!1}},name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],te.prototype,"definitionExpression",void 0),(0,i.Cg)([(0,g.MZ)(E.M6)],te.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,g.MZ)({type:b.A,json:{read:{source:"popupInfo"},write:{target:"popupInfo"}}})],te.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String,json:{origins:{service:{read:{source:"store.normalReferenceFrame"}}},read:!1}})],te.prototype,"normalReferenceFrame",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],te.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,g.MZ)()],te.prototype,"types",null),(0,i.Cg)([(0,g.MZ)()],te.prototype,"typeIdField",null),(0,i.Cg)([(0,g.MZ)({json:{write:!1}}),(0,X.e)(new C.J({"3DObject":"3d-object",Point:"point"}))],te.prototype,"layerType",void 0),(0,i.Cg)([(0,g.MZ)()],te.prototype,"geometryType",null),(0,i.Cg)([(0,g.MZ)()],te.prototype,"profile",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],te.prototype,"capabilities",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"statisticsInfo",void 0),te=(0,i.Cg)([(0,g.$K)("esri.layers.buildingSublayers.BuildingComponentSublayer")],te);var re=r(67076);function ie(e,t){e.forEach(e=>{t(e),"building-group"===e.type&&ie(e.sublayers,t)})}const se={type:s.A,readOnly:!0,json:{origins:{service:{read:{source:"sublayers",reader:oe}}},read:!1}};function oe(e,t,r){if(e&&Array.isArray(e))return new s.A(e.map(e=>{const t=function(e){return"group"===e.layerType?ne:te}(e);if(t){const i=new t;return i.read(e,r),i}return r?.messages&&e&&r.messages.push(new re.A("building-scene-layer:unsupported-sublayer-type","Building scene sublayer of type '"+(e.type||"unknown")+"' are not supported",{definition:e,context:r})),null}))}let ne=class extends k{constructor(e){super(e),this.type="building-group",this.listMode="show",this.sublayers=null}loadAll(){return(0,p.L)(this,e=>ie(this.sublayers,t=>{"building-group"!==t.type&&e(t)}))}static{this.sublayersProperty=se}static{this.readSublayers=oe}};(0,i.Cg)([(0,g.MZ)({type:["hide","show","hide-children"],json:{write:!0}})],ne.prototype,"listMode",void 0),(0,i.Cg)([(0,g.MZ)(se)],ne.prototype,"sublayers",void 0),ne=(0,i.Cg)([(0,g.$K)("esri.layers.buildingSublayers.BuildingGroupSublayer")],ne);var le=r(52136),ae=r(18768),pe=r(69208),ue=r(16131),de=r(8303),ye=r(25036),ce=r(58947),he=r(92009),ge=r(25482),fe=r(13069);let me=class extends ge.o{constructor(){super(...arguments),this.type=null}};(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0,json:{write:{isRequired:!0}}})],me.prototype,"type",void 0),me=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfo")],me);const ve=me;var be;let we=be=class extends ge.o{constructor(){super(...arguments),this.filterType=null,this.filterValues=null}clone(){return new be({filterType:this.filterType,filterValues:(0,a.o8)(this.filterValues)})}};(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{isRequired:!0}}})],we.prototype,"filterType",void 0),(0,i.Cg)([(0,g.MZ)({type:[String],json:{write:{isRequired:!0}}})],we.prototype,"filterValues",void 0),we=be=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfoType")],we);const Ce=we;var Me;const Ze=s.A.ofType(Ce);let Fe=Me=class extends ge.o{clone(){return new Me({filterTypes:(0,a.o8)(this.filterTypes)})}};(0,i.Cg)([(0,g.MZ)({type:Ze,json:{write:{isRequired:!0}}})],Fe.prototype,"filterTypes",void 0),Fe=Me=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfoBlock")],Fe);const xe=Fe;var Te;const Se=s.A.ofType(xe);let Ie=Te=class extends ve{constructor(){super(...arguments),this.type="checkbox"}clone(){return new Te({filterBlocks:(0,a.o8)(this.filterBlocks)})}};(0,i.Cg)([(0,g.MZ)({type:["checkbox"]})],Ie.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)({type:Se,json:{write:{isRequired:!0}}})],Ie.prototype,"filterBlocks",void 0),Ie=Te=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfoCheckbox")],Ie);const Ae=Ie;var je=r(69540);let Oe=class extends((0,je.OU)(ge.o)){};(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],Oe.prototype,"type",void 0),Oe=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterMode")],Oe);const _e=Oe;let Le=class extends _e{constructor(){super(...arguments),this.type="solid"}};(0,i.Cg)([(0,g.MZ)({type:["solid"],readOnly:!0,json:{write:{isRequired:!0}}})],Le.prototype,"type",void 0),Le=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterModeSolid")],Le);const Pe=Le;var Re=r(51734);let Ee=class extends _e{constructor(){super(...arguments),this.type="wire-frame",this.edges=null}};(0,i.Cg)([(0,X.e)({wireFrame:"wire-frame"})],Ee.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)(Re.J)],Ee.prototype,"edges",void 0),Ee=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterModeWireFrame")],Ee);const Ne=Ee;let ke=class extends _e{constructor(){super(...arguments),this.type="x-ray"}};(0,i.Cg)([(0,g.MZ)({type:["x-ray"],readOnly:!0,json:{write:{isRequired:!0}}})],ke.prototype,"type",void 0),ke=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterModeXRay")],ke);const qe=ke;var Be;let $e=Be=class extends ge.o{constructor(){super(...arguments),this.filterExpression=null,this.filterMode=new Pe,this.title=""}clone(){return new Be({filterExpression:this.filterExpression,filterMode:(0,a.o8)(this.filterMode),title:this.title})}};(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],$e.prototype,"filterExpression",void 0),(0,i.Cg)([(0,g.MZ)({nonNullable:!0,types:{key:"type",base:_e,typeMap:{solid:Pe,"wire-frame":Ne,"x-ray":qe}},json:{read:e=>{switch(e?.type){case"solid":return Pe.fromJSON(e);case"wireFrame":return Ne.fromJSON(e);case"x-ray":return qe.fromJSON(e);default:return}},write:{enabled:!0,isRequired:!0}}})],$e.prototype,"filterMode",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],$e.prototype,"title",void 0),$e=Be=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterBlock")],$e);const Ke=$e;var Ue;const Ge=s.A.ofType(Ke);let Qe=Ue=class extends ge.o{constructor(e){super(e),this.description=null,this.filterBlocks=null,this.id=(0,fe.lk)(),this.name=null}clone(){return new Ue({description:this.description,filterBlocks:(0,a.o8)(this.filterBlocks),id:this.id,name:this.name,filterAuthoringInfo:(0,a.o8)(this.filterAuthoringInfo)})}};(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],Qe.prototype,"description",void 0),(0,i.Cg)([(0,g.MZ)({type:Ge,json:{write:{enabled:!0,isRequired:!0}}})],Qe.prototype,"filterBlocks",void 0),(0,i.Cg)([(0,g.MZ)({types:{key:"type",base:ve,typeMap:{checkbox:Ae}},json:{read:e=>"checkbox"===e?.type?Ae.fromJSON(e):null,write:!0}})],Qe.prototype,"filterAuthoringInfo",void 0),(0,i.Cg)([(0,g.MZ)({type:String,constructOnly:!0,json:{write:{enabled:!0,isRequired:!0}}})],Qe.prototype,"id",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],Qe.prototype,"name",void 0),Qe=Ue=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilter")],Qe);let ze=class extends ge.o{constructor(){super(...arguments),this.fieldName=null,this.modelName=null,this.label=null,this.min=null,this.max=null,this.mostFrequentValues=null,this.subLayerIds=null}};(0,i.Cg)([(0,g.MZ)({type:String})],ze.prototype,"fieldName",void 0),(0,i.Cg)([(0,g.MZ)({type:String})],ze.prototype,"modelName",void 0),(0,i.Cg)([(0,g.MZ)({type:String})],ze.prototype,"label",void 0),(0,i.Cg)([(0,g.MZ)({type:Number})],ze.prototype,"min",void 0),(0,i.Cg)([(0,g.MZ)({type:Number})],ze.prototype,"max",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:e=>Array.isArray(e)&&(e.every(e=>"string"==typeof e)||e.every(e=>"number"==typeof e))?e.slice():null}})],ze.prototype,"mostFrequentValues",void 0),(0,i.Cg)([(0,g.MZ)({type:[Number]})],ze.prototype,"subLayerIds",void 0),ze=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFieldStatistics")],ze);const De=ze;let Je=class extends((0,M.WV)((0,Z.g)(ge.o))){constructor(e){super(e),this.url=null,this.customParameters=null}get fields(){return this.loaded||"loading"===this.loadStatus?this._get("fields"):(u.A.getLogger(this).error("building summary statistics are not loaded"),null)}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._fetchService(t)),Promise.resolve(this)}async _fetchService(e){const t=(await(0,w.A)(this.url,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e})).data;this.read(t,{origin:"service"})}};(0,i.Cg)([(0,g.MZ)({constructOnly:!0,type:String})],Je.prototype,"url",void 0),(0,i.Cg)([(0,g.MZ)({constructOnly:!0})],Je.prototype,"customParameters",void 0),(0,i.Cg)([(0,g.MZ)({constructOnly:!0})],Je.prototype,"apiKey",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:[De],json:{read:{source:"summary"}}})],Je.prototype,"fields",null),Je=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingSummaryStatistics")],Je);var Ve=r(56776);const We=s.A.ofType(Qe),He=(0,a.o8)(ne.sublayersProperty),Ye=He.json?.origins;Ye&&(Ye["web-scene"]={type:[te],write:{enabled:!0,overridePolicy:()=>({enabled:!1})}},Ye["portal-item"]={type:[te],write:{enabled:!0,overridePolicy:()=>({enabled:!1})}});let Xe=class extends((0,ce.w6)((0,ae.b)((0,ue.q)((0,de.A)((0,ye.j)((0,d.P)((0,pe.d)((0,le.p)(m.A))))))))){constructor(e){super(e),this.operationalLayerType="BuildingSceneLayer",this.allSublayers=new o.A({getCollections:()=>[this.sublayers],getChildrenFunction:e=>"building-group"===e.type?e.sublayers:null}),this.sublayers=null,this._allSublayerOverrides=null,this.filters=new We,this.activeFilterId=null,this.summaryStatistics=null,this.outFields=null,this.legendEnabled=!0,this.type="building-scene"}normalizeCtorArgs(e){return"string"==typeof e?{url:e}:e??{}}destroy(){this.allSublayers.destroy()}readSublayers(e,t,r){const i=ne.readSublayers(e,t,r);return ie(i,e=>e.layer=this),this._allSublayerOverrides&&(function(e,t){t.forEach(t=>et(e,t))}(i,this._allSublayerOverrides),this._allSublayerOverrides=null),i}write(e,t){return e=super.write(e,t),!t||"web-scene"!==t.origin&&"portal-item"!==t.origin||(this.sublayers?function(e,t,r){const i=[];ie(e,e=>{const t=e.write({},r);Object.keys(t).length>1&&i.push(t)}),i.length>0&&(t.sublayers=i)}(this.sublayers,e,t):this._allSublayerOverrides&&function(e,t,r){const i=r?.origin&&e.get(r.origin);i&&(t.sublayers=[],i.overrides.forEach(e=>{t.sublayers.push((0,a.o8)(e))}))}(this._allSublayerOverrides,e,t)),e}read(e,t){if(super.read(e,t),("web-scene"===t?.origin||"portal-item"===t?.origin)&&Array.isArray(e?.sublayers)){const r=function(e,t){const r=new Map;for(const i of e)null!=i&&"object"==typeof i&&"number"==typeof i.id?r.set(i.id,i):t.messages?.push(new n.A("building-scene-layer:invalid-sublayer-override","Invalid value for sublayer override. Not an object or no id specified.",{value:i}));return{overrides:r,context:t}}(e.sublayers,t);this.sublayers?et(this.sublayers,r):(this._allSublayerOverrides??=new Map,this._allSublayerOverrides.set(t.origin,r))}}readSummaryStatistics(e,t){if("string"==typeof t.statisticsHRef&&this.parsedUrl){const e=(0,h.fj)(this.parsedUrl.path,t.statisticsHRef);return new Je({url:e,apiKey:this.apiKey,customParameters:this.customParameters})}return null}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Scene Service"]},e).catch(y.QP).then(()=>this._fetchService(t)).then(()=>this._fetchAssociatedFeatureService(t));return this.addResolvingPromise(r),Promise.resolve(this)}loadAll(){return(0,p.g)(this,e=>{ie(this.sublayers,t=>{"building-group"!==t.type&&e(t)}),this.summaryStatistics&&e(this.summaryStatistics)})}async saveAs(e,t){return this._debouncedSaveOperations(1,{...t,getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"building-scene"},e)}async save(){const e={getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"building-scene"};return this._debouncedSaveOperations(0,e)}validateLayer(e){if(!e.layerType||"Building"!==e.layerType)throw new n.A("buildingscenelayer:layer-type-not-supported","BuildingSceneLayer does not support this layer type",{layerType:e.layerType})}_getTypeKeywords(){return["Building"]}async _fetchAssociatedFeatureService(e){try{const{portalItem:t}=await(0,he.L)(`${this.url}/layers/${this.layerId}`,{sceneLayerItem:this.portalItem,customParameters:this.customParameters,apiKey:this.apiKey,signal:e});this.associatedFeatureServiceItem=t}catch(e){(0,y.QZ)(this._logWarningOnPopupEnabled())}}async _logWarningOnPopupEnabled(){const e=new AbortController;this.addHandles((0,l.rE)(e)),await(0,c.C_)(()=>this.allSublayers.filter(e=>"building-component"===e.type).some(e=>e.popupEnabled&&null!=e.popupTemplate),e.signal);const t=this.allSublayers.filter(e=>"building-component"===e.type).filter(e=>e.popupEnabled&&null!=e.popupTemplate),r=[],i=[];for(const e of t){const t=e.title??`untitled ${e.id}`;e.attributeStorageInfo?r.push(t):i.push(t)}const s="\n ",o=r.length>0?`\nThe following sublayers will fall back to binary attributes for Popups:${s}${r.join(s)}`:"",n=i.length>0?`\nThe following sublayers have no binary attributes and will not work with Popups:${s}${i.join(s)}`:"";u.A.getLogger(this).warn(`Associated FeatureLayer could not be loaded for this BuildingSceneLayer: ${this.title}.`,o,n)}_validateElevationInfo(e){const t="Building scene layers";(0,Ve.XF)(u.A.getLogger(this),(0,Ve.B)(t,"absolute-height",e)),(0,Ve.XF)(u.A.getLogger(this),(0,Ve.tW)(t,e))}};function et(e,t){const{overrides:r,context:i}=t;ie(e,e=>e.read(r.get(e.id),i))}(0,i.Cg)([(0,g.MZ)({type:["BuildingSceneLayer"]})],Xe.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],Xe.prototype,"allSublayers",void 0),(0,i.Cg)([(0,g.MZ)(He)],Xe.prototype,"sublayers",void 0),(0,i.Cg)([(0,N.w)("service","sublayers")],Xe.prototype,"readSublayers",null),(0,i.Cg)([(0,g.MZ)({type:We,nonNullable:!0,json:{write:!0}})],Xe.prototype,"filters",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],Xe.prototype,"activeFilterId",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Je})],Xe.prototype,"summaryStatistics",void 0),(0,i.Cg)([(0,N.w)("summaryStatistics",["statisticsHRef"])],Xe.prototype,"readSummaryStatistics",null),(0,i.Cg)([(0,g.MZ)({type:[String],json:{read:!1}})],Xe.prototype,"outFields",void 0),(0,i.Cg)([(0,g.MZ)(E.Fm)],Xe.prototype,"fullExtent",void 0),(0,i.Cg)([(0,g.MZ)(E.fV)],Xe.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,g.MZ)({type:["show","hide","hide-children"]})],Xe.prototype,"listMode",void 0),(0,i.Cg)([(0,g.MZ)((0,E.Qo)(f.A))],Xe.prototype,"spatialReference",void 0),(0,i.Cg)([(0,g.MZ)(E.Yj)],Xe.prototype,"elevationInfo",null),(0,i.Cg)([(0,g.MZ)({json:{read:!1},readOnly:!0})],Xe.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)()],Xe.prototype,"associatedFeatureServiceItem",void 0),Xe=(0,i.Cg)([(0,g.$K)("esri.layers.BuildingSceneLayer")],Xe);const tt=Xe},91880:(e,t,r)=>{r.d(t,{A:()=>p});var i,s=r(31635),o=r(66552),n=r(25482),l=r(91429);const a=new o.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,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],p.prototype,"field",void 0),(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],p.prototype,"valueExpression",void 0),(0,s.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,s.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],p)}}]);